@streamlayer/react 0.27.0 → 0.27.2
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-bc994186.cjs → app-8f6a0c0b.cjs} +1 -1
- package/lib/{app-15ce925d.js → app-ce9ea1e1.js} +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/es/auth.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/es/masters.js +128 -338
- package/lib/es/points.js +2 -2
- package/lib/{index-e9cf1c5b.cjs → index-6ab0a925.cjs} +4 -4
- package/lib/index-b7b4d84f.js +228 -0
- package/lib/{index-ad42babc.js → index-ed4f12f6.js} +929 -841
- package/lib/index-f77b7ac2.cjs +1 -0
- package/lib/style.css +1 -1
- package/package.json +12 -11
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { jsx as p, jsxs as
|
|
1
|
+
import { jsx as p, jsxs as L, Fragment as Ue } from "react/jsx-runtime";
|
|
2
2
|
import * as M from "react";
|
|
3
|
-
import Ke, { createContext as ki, useMemo as De, useCallback as He, useState as
|
|
4
|
-
import { useStreamLayerApp as
|
|
3
|
+
import Ke, { createContext as ki, useMemo as De, useCallback as He, useState as J, useEffect as kt, useRef as fi, Component as Ri, createElement as rt, PureComponent as gi } from "react";
|
|
4
|
+
import { useStreamLayerApp as _i } from "./es/useStreamLayerApp.js";
|
|
5
5
|
import { FeatureStatus as Ve } from "@streamlayer/sdk-web-interfaces";
|
|
6
6
|
import { QuestionType as H, PickHistoryStatus as et, QuestionStatus as Rt, QuestionImages as Me, FeatureType as Yt } from "@streamlayer/sdk-web-types";
|
|
7
|
-
import { AvailableFeatures as
|
|
7
|
+
import { AvailableFeatures as Oi } from "@streamlayer/sdk-web-features";
|
|
8
8
|
import "@streamlayer/sdk-web-api";
|
|
9
|
-
import { Storage as
|
|
9
|
+
import { Storage as Ui } from "@streamlayer/sdk-web-storage";
|
|
10
10
|
import { useStore as Z } from "@nanostores/react";
|
|
11
11
|
import { NotificationType as Vt } from "@streamlayer/sdk-web-notifications";
|
|
12
|
-
import { CountdownCircleTimer as
|
|
12
|
+
import { CountdownCircleTimer as $i } from "react-countdown-circle-timer";
|
|
13
13
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
14
14
|
import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
15
15
|
import { SdkOverlayType as tt } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
16
16
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
17
17
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
18
18
|
import { Users as _t } from "@streamlayer/sl-eslib/users/users_connect";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import Fi from "react-auth-code-input";
|
|
20
|
+
import Pi, { isValidPhoneNumber as Yi, formatPhoneNumberIntl as Vi } from "react-phone-number-input";
|
|
21
21
|
import { createPromiseClient as Ot } from "@connectrpc/connect";
|
|
22
22
|
import { createGrpcWebTransport as Ut } from "@connectrpc/connect-web";
|
|
23
|
-
var
|
|
24
|
-
const
|
|
23
|
+
var Zi = /* @__PURE__ */ ((r) => (r[r.UNSET = 0] = "UNSET", r[r.CONNECTED = 1] = "CONNECTED", r[r.READY = 2] = "READY", r))(Zi || {});
|
|
24
|
+
const Qi = ki({
|
|
25
25
|
status: 0,
|
|
26
26
|
sdk: null
|
|
27
|
-
}),
|
|
27
|
+
}), oa = ({
|
|
28
28
|
sdkKey: r,
|
|
29
29
|
plugins: o,
|
|
30
30
|
children: l,
|
|
31
31
|
production: u = !0,
|
|
32
32
|
autoEnable: d = !0
|
|
33
33
|
}) => {
|
|
34
|
-
const g =
|
|
34
|
+
const g = _i(r, o, u, d), f = De(() => g ? {
|
|
35
35
|
sdk: g,
|
|
36
36
|
status: 2
|
|
37
37
|
/* READY */
|
|
38
38
|
} : { status: 1, sdk: null }, [g]);
|
|
39
|
-
return /* @__PURE__ */ p(
|
|
39
|
+
return /* @__PURE__ */ p(Qi.Provider, { value: f, children: l });
|
|
40
40
|
}, $t = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
41
|
-
function
|
|
41
|
+
function Hi(r) {
|
|
42
42
|
var o = /* @__PURE__ */ Object.create(null);
|
|
43
43
|
return function(l) {
|
|
44
44
|
return o[l] === void 0 && (o[l] = r(l)), o[l];
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var Gi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, mt = /* @__PURE__ */ Hi(
|
|
48
48
|
function(r) {
|
|
49
|
-
return
|
|
49
|
+
return Gi.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
50
50
|
}
|
|
51
51
|
/* Z+1 */
|
|
52
|
-
),
|
|
52
|
+
), Wi = function() {
|
|
53
53
|
const o = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, u = [];
|
|
54
54
|
o.forEach((g) => {
|
|
55
55
|
(g ? g.split(" ") : []).forEach((s) => {
|
|
@@ -64,14 +64,14 @@ var Wi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
64
64
|
for (const g in l)
|
|
65
65
|
Object.prototype.hasOwnProperty.call(l, g) && d.push(l[g]);
|
|
66
66
|
return d.push(...u), d.join(" ");
|
|
67
|
-
}, Zt =
|
|
67
|
+
}, Zt = Wi, qi = (r) => r.toUpperCase() === r, Ji = (r) => (o) => r.indexOf(o) === -1, mi = (r, o) => {
|
|
68
68
|
const l = {};
|
|
69
|
-
return Object.keys(r).filter(
|
|
69
|
+
return Object.keys(r).filter(Ji(o)).forEach((u) => {
|
|
70
70
|
l[u] = r[u];
|
|
71
71
|
}), l;
|
|
72
72
|
};
|
|
73
|
-
function
|
|
74
|
-
const u =
|
|
73
|
+
function Xi(r, o, l) {
|
|
74
|
+
const u = mi(o, l);
|
|
75
75
|
if (!r) {
|
|
76
76
|
const d = typeof mt == "function" ? { default: mt } : mt;
|
|
77
77
|
Object.keys(u).forEach((g) => {
|
|
@@ -80,35 +80,35 @@ function Ki(r, o, l) {
|
|
|
80
80
|
}
|
|
81
81
|
return u;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var Ki = (r, o) => {
|
|
84
84
|
};
|
|
85
|
-
function
|
|
85
|
+
function er(r) {
|
|
86
86
|
let o = "";
|
|
87
87
|
return (l) => {
|
|
88
88
|
const u = (g, f) => {
|
|
89
|
-
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !
|
|
89
|
+
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !qi(s[0])) : l.propsAsIs, E = Xi(N, g, [
|
|
90
90
|
"as",
|
|
91
91
|
"class"
|
|
92
92
|
]);
|
|
93
93
|
E.ref = f, E.className = l.atomic ? Zt(l.class, E.className || I) : Zt(E.className || I, l.class);
|
|
94
94
|
const { vars: x } = l;
|
|
95
95
|
if (x) {
|
|
96
|
-
const
|
|
96
|
+
const w = {};
|
|
97
97
|
for (const y in x) {
|
|
98
|
-
const A = x[y],
|
|
99
|
-
|
|
98
|
+
const A = x[y], C = A[0], T = A[1] || "", S = typeof C == "function" ? C(g) : C;
|
|
99
|
+
Ki(S, l.name), w[`--${y}`] = `${S}${T}`;
|
|
100
100
|
}
|
|
101
|
-
const v = E.style || {},
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}), E.style =
|
|
101
|
+
const v = E.style || {}, z = Object.keys(v);
|
|
102
|
+
z.length > 0 && z.forEach((y) => {
|
|
103
|
+
w[y] = v[y];
|
|
104
|
+
}), E.style = w;
|
|
105
105
|
}
|
|
106
106
|
return r.__linaria && r !== s ? (E.as = s, Ke.createElement(r, E)) : Ke.createElement(s, E);
|
|
107
107
|
}, d = Ke.forwardRef ? Ke.forwardRef(u) : (
|
|
108
108
|
// React.forwardRef won't available on older React versions and in Preact
|
|
109
109
|
// Fallback to a innerRef prop in that case
|
|
110
110
|
(g) => {
|
|
111
|
-
const f =
|
|
111
|
+
const f = mi(g, ["innerRef"]);
|
|
112
112
|
return u(f, g.innerRef);
|
|
113
113
|
}
|
|
114
114
|
);
|
|
@@ -118,58 +118,58 @@ function tr(r) {
|
|
|
118
118
|
}, d;
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
var m =
|
|
122
|
-
const
|
|
121
|
+
var m = er;
|
|
122
|
+
const tr = /* @__PURE__ */ m("div")({
|
|
123
123
|
name: "o",
|
|
124
124
|
class: "o1gwxd13",
|
|
125
125
|
propsAsIs: !1
|
|
126
|
-
}),
|
|
126
|
+
}), ir = /* @__PURE__ */ m("div")({
|
|
127
127
|
name: "n",
|
|
128
128
|
class: "nsmzrlg",
|
|
129
129
|
propsAsIs: !1
|
|
130
|
-
}),
|
|
130
|
+
}), rr = /* @__PURE__ */ m("img")({
|
|
131
131
|
name: "i",
|
|
132
132
|
class: "i81s9fc",
|
|
133
133
|
propsAsIs: !1
|
|
134
|
-
}),
|
|
134
|
+
}), nr = /* @__PURE__ */ m("div")({
|
|
135
135
|
name: "r",
|
|
136
136
|
class: "rlmx6cw",
|
|
137
137
|
propsAsIs: !1
|
|
138
|
-
}),
|
|
138
|
+
}), or = /* @__PURE__ */ m("div")({
|
|
139
139
|
name: "d",
|
|
140
140
|
class: "dqb0kgq",
|
|
141
141
|
propsAsIs: !1
|
|
142
|
-
}),
|
|
142
|
+
}), sr = /* @__PURE__ */ m("div")({
|
|
143
143
|
name: "l",
|
|
144
144
|
class: "l1tjaqbq",
|
|
145
145
|
propsAsIs: !1
|
|
146
|
-
}),
|
|
146
|
+
}), ar = /* @__PURE__ */ m("div")({
|
|
147
147
|
name: "a",
|
|
148
148
|
class: "a1tb5jb7",
|
|
149
149
|
propsAsIs: !1
|
|
150
|
-
}),
|
|
150
|
+
}), lr = /* @__PURE__ */ m("button")({
|
|
151
151
|
name: "c",
|
|
152
152
|
class: "c11xpv3i",
|
|
153
153
|
propsAsIs: !1
|
|
154
|
-
}),
|
|
154
|
+
}), cr = /* @__PURE__ */ m("img")({
|
|
155
155
|
name: "s",
|
|
156
156
|
class: "s12ztjhk",
|
|
157
157
|
propsAsIs: !1
|
|
158
|
-
}),
|
|
158
|
+
}), Ii = ({ close: r, action: o, data: { color: l, icon: u, title: d } }) => {
|
|
159
159
|
const g = He(
|
|
160
160
|
(f) => {
|
|
161
161
|
f.stopPropagation(), r == null || r();
|
|
162
162
|
},
|
|
163
163
|
[r]
|
|
164
164
|
);
|
|
165
|
-
return /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */ p(
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */ p(
|
|
169
|
-
/* @__PURE__ */ p(
|
|
165
|
+
return /* @__PURE__ */ L(tr, { onClick: o, children: [
|
|
166
|
+
/* @__PURE__ */ p(ir, { style: l ? { backgroundColor: l } : {}, children: u && /* @__PURE__ */ p(rr, { alt: "in-app-icon", src: u }) }),
|
|
167
|
+
/* @__PURE__ */ L(nr, { children: [
|
|
168
|
+
/* @__PURE__ */ p(or, { children: /* @__PURE__ */ p(sr, { id: "in-app-title", children: d || "" }) }),
|
|
169
|
+
/* @__PURE__ */ p(ar, { children: /* @__PURE__ */ p(lr, { onClick: g, children: /* @__PURE__ */ p(cr, { alt: "close-in-app-icon", src: $t }) }) })
|
|
170
170
|
] })
|
|
171
171
|
] });
|
|
172
|
-
},
|
|
172
|
+
}, ur = {
|
|
173
173
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
174
174
|
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
175
175
|
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
@@ -198,7 +198,7 @@ const ir = /* @__PURE__ */ m("div")({
|
|
|
198
198
|
GREY_PRIMARY: "#909395",
|
|
199
199
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
200
200
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
201
|
-
},
|
|
201
|
+
}, hr = {
|
|
202
202
|
PRIMARY_GREEN1: "#107D57",
|
|
203
203
|
PRIMARY_GREEN2: "#006747",
|
|
204
204
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -220,7 +220,7 @@ const ir = /* @__PURE__ */ m("div")({
|
|
|
220
220
|
NEUTRALS_GRAY8: "#53565A",
|
|
221
221
|
NEUTRALS_GRAY9: "#25282A",
|
|
222
222
|
NEUTRALS_BLACK: "#000000"
|
|
223
|
-
}, Le = Object.assign({},
|
|
223
|
+
}, Le = Object.assign({}, ur, hr);
|
|
224
224
|
Object.keys(Le).reduce((r, o) => {
|
|
225
225
|
const l = Le[o];
|
|
226
226
|
return `
|
|
@@ -228,29 +228,29 @@ Object.keys(Le).reduce((r, o) => {
|
|
|
228
228
|
--color-${o.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
229
229
|
`;
|
|
230
230
|
}, "");
|
|
231
|
-
const
|
|
231
|
+
const dr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], pr = [10, 10, 0], fr = /* @__PURE__ */ m("div")({
|
|
232
232
|
name: "A",
|
|
233
233
|
class: "a1f928zy",
|
|
234
234
|
propsAsIs: !1
|
|
235
|
-
}),
|
|
235
|
+
}), gr = Le.SECONDARY_GREEN6, Qt = Le.SECONDARY_RED3, mr = Le.NEUTRALS_GRAY3, yi = ({
|
|
236
236
|
isPlaying: r = !0,
|
|
237
237
|
duration: o = 30,
|
|
238
238
|
onTimerExpired: l
|
|
239
239
|
}) => {
|
|
240
|
-
const [u, d] =
|
|
240
|
+
const [u, d] = J(o > 10 ? gr : Qt), g = ({
|
|
241
241
|
remainingTime: I
|
|
242
|
-
}) => /* @__PURE__ */ p(
|
|
242
|
+
}) => /* @__PURE__ */ p(fr, {
|
|
243
243
|
children: I
|
|
244
244
|
}), f = He(() => {
|
|
245
|
-
l == null || l(), d(
|
|
245
|
+
l == null || l(), d(mr);
|
|
246
246
|
}, [l, d]), s = He((I) => {
|
|
247
247
|
I === 10 && d(Qt);
|
|
248
248
|
}, [d]);
|
|
249
|
-
return /* @__PURE__ */ p(
|
|
249
|
+
return /* @__PURE__ */ p($i, {
|
|
250
250
|
isPlaying: r,
|
|
251
251
|
duration: o,
|
|
252
|
-
colors:
|
|
253
|
-
colorsTime:
|
|
252
|
+
colors: dr,
|
|
253
|
+
colorsTime: pr,
|
|
254
254
|
size: 32,
|
|
255
255
|
strokeWidth: 2,
|
|
256
256
|
trailStrokeWidth: 2,
|
|
@@ -259,17 +259,17 @@ const pr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], fr = [10,
|
|
|
259
259
|
onUpdate: s,
|
|
260
260
|
children: g
|
|
261
261
|
});
|
|
262
|
-
},
|
|
262
|
+
}, Ir = async (r, o) => {
|
|
263
263
|
const l = Ut({
|
|
264
264
|
baseUrl: r
|
|
265
265
|
});
|
|
266
266
|
return await Ot(_t, l).requestPassword({ id: o }), !0;
|
|
267
|
-
},
|
|
267
|
+
}, yr = async (r, o) => {
|
|
268
268
|
const l = Ut({
|
|
269
269
|
baseUrl: r
|
|
270
270
|
});
|
|
271
271
|
return await Ot(_t, l).register({ id: o }), !0;
|
|
272
|
-
},
|
|
272
|
+
}, Mr = async (r, o, l) => {
|
|
273
273
|
var u;
|
|
274
274
|
const d = Ut({
|
|
275
275
|
baseUrl: r
|
|
@@ -296,193 +296,193 @@ const wr = /* @__PURE__ */ m("div")({
|
|
|
296
296
|
name: "a",
|
|
297
297
|
class: "a1ifs31v",
|
|
298
298
|
propsAsIs: !1
|
|
299
|
-
}),
|
|
299
|
+
}), Cr = /* @__PURE__ */ m("div")({
|
|
300
300
|
name: "p",
|
|
301
301
|
class: "p10d4aqp",
|
|
302
302
|
propsAsIs: !1
|
|
303
|
-
}),
|
|
303
|
+
}), Er = /* @__PURE__ */ m("div")({
|
|
304
304
|
name: "d",
|
|
305
305
|
class: "dje8inq",
|
|
306
306
|
propsAsIs: !1
|
|
307
|
-
}),
|
|
308
|
-
const [u, d] =
|
|
307
|
+
}), Ar = ({ login: r, anonymousLogin: o, host: l }) => {
|
|
308
|
+
const [u, d] = J(""), [g, f] = J(""), [s, I] = J(""), N = async (x) => {
|
|
309
309
|
x.preventDefault();
|
|
310
310
|
try {
|
|
311
|
-
const
|
|
311
|
+
const w = u.replaceAll("+", "");
|
|
312
312
|
try {
|
|
313
|
-
await
|
|
313
|
+
await Ir(l, w);
|
|
314
314
|
} catch {
|
|
315
|
-
await
|
|
315
|
+
await yr(l, w);
|
|
316
316
|
}
|
|
317
|
-
f(
|
|
318
|
-
} catch (
|
|
319
|
-
window.alert(
|
|
317
|
+
f(w);
|
|
318
|
+
} catch (w) {
|
|
319
|
+
window.alert(w);
|
|
320
320
|
}
|
|
321
321
|
}, E = async (x) => {
|
|
322
322
|
if (x.preventDefault(), g && s)
|
|
323
323
|
try {
|
|
324
|
-
const
|
|
325
|
-
|
|
326
|
-
} catch (
|
|
327
|
-
window.alert(
|
|
324
|
+
const w = await Mr(l, g, s);
|
|
325
|
+
w && r ? await r(w) : console.log("token", w);
|
|
326
|
+
} catch (w) {
|
|
327
|
+
window.alert(w);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
return /* @__PURE__ */
|
|
331
|
-
!g && /* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
330
|
+
return /* @__PURE__ */ L(wr, { children: [
|
|
331
|
+
!g && /* @__PURE__ */ L("div", { children: [
|
|
332
|
+
/* @__PURE__ */ L(Ht, { onSubmit: N, children: [
|
|
333
333
|
/* @__PURE__ */ p(Gt, { children: "Enter your phone number" }),
|
|
334
334
|
/* @__PURE__ */ p(It, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
335
|
-
/* @__PURE__ */ p(
|
|
336
|
-
/* @__PURE__ */ p(yt, { disabled: !
|
|
335
|
+
/* @__PURE__ */ p(Cr, { children: /* @__PURE__ */ p(Pi, { value: u, onChange: (x) => d(`${x}`) }) }),
|
|
336
|
+
/* @__PURE__ */ p(yt, { disabled: !Yi(u), type: "submit", children: "request code" })
|
|
337
337
|
] }),
|
|
338
338
|
o && /* @__PURE__ */ p(yt, { style: { display: "block", margin: "auto" }, onClick: o, children: "anonymous login" })
|
|
339
339
|
] }),
|
|
340
|
-
g && /* @__PURE__ */
|
|
340
|
+
g && /* @__PURE__ */ L(Ht, { onSubmit: E, children: [
|
|
341
341
|
/* @__PURE__ */ p(Gt, { children: "Enter Verification Code" }),
|
|
342
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ L(It, { children: [
|
|
343
343
|
"Please enter the verification code ",
|
|
344
344
|
/* @__PURE__ */ p("br", {}),
|
|
345
345
|
"sent to ",
|
|
346
|
-
/* @__PURE__ */ p("b", { children:
|
|
346
|
+
/* @__PURE__ */ p("b", { children: Vi(u) })
|
|
347
347
|
] }),
|
|
348
|
-
/* @__PURE__ */ p(
|
|
348
|
+
/* @__PURE__ */ p(Er, { children: /* @__PURE__ */ p(Fi, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
349
349
|
/* @__PURE__ */ p(yt, { disabled: s.length !== 4, type: "submit", children: "login" }),
|
|
350
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ L(It, { children: [
|
|
351
351
|
"Didn't get 59 the code? ",
|
|
352
352
|
/* @__PURE__ */ p("br", {}),
|
|
353
353
|
"Resend Code in",
|
|
354
|
-
/* @__PURE__ */ p(
|
|
354
|
+
/* @__PURE__ */ p(yi, { duration: 30, isPlaying: !0 })
|
|
355
355
|
] })
|
|
356
356
|
] })
|
|
357
357
|
] });
|
|
358
358
|
};
|
|
359
|
-
const
|
|
359
|
+
const Nr = /* @__PURE__ */ m("div")({
|
|
360
360
|
name: "i",
|
|
361
361
|
class: "i1grt8h",
|
|
362
362
|
propsAsIs: !1
|
|
363
|
-
}),
|
|
363
|
+
}), xr = /* @__PURE__ */ m("div")({
|
|
364
364
|
name: "n",
|
|
365
365
|
class: "n1rozou",
|
|
366
366
|
propsAsIs: !1
|
|
367
|
-
}),
|
|
367
|
+
}), Tr = /* @__PURE__ */ m("img")({
|
|
368
368
|
name: "o",
|
|
369
369
|
class: "o81ls6z",
|
|
370
370
|
propsAsIs: !1
|
|
371
|
-
}),
|
|
371
|
+
}), vr = /* @__PURE__ */ m("div")({
|
|
372
372
|
name: "d",
|
|
373
373
|
class: "d9l6z9i",
|
|
374
374
|
propsAsIs: !1
|
|
375
|
-
}),
|
|
376
|
-
/* @__PURE__ */ p(
|
|
377
|
-
/* @__PURE__ */ p(
|
|
375
|
+
}), Dr = ({ graphic: r, headline: o }) => /* @__PURE__ */ p(Nr, { children: /* @__PURE__ */ L(xr, { children: [
|
|
376
|
+
/* @__PURE__ */ p(Tr, { alt: "graphic-img-instructions", src: r }),
|
|
377
|
+
/* @__PURE__ */ p(vr, { children: o })
|
|
378
378
|
] }) });
|
|
379
|
-
const
|
|
379
|
+
const Lr = /* @__PURE__ */ m("div")({
|
|
380
380
|
name: "e",
|
|
381
381
|
class: "e1o3lzmc",
|
|
382
382
|
propsAsIs: !1
|
|
383
|
-
}),
|
|
383
|
+
}), zr = /* @__PURE__ */ m("div")({
|
|
384
384
|
name: "o",
|
|
385
385
|
class: "otjo97h",
|
|
386
386
|
propsAsIs: !1
|
|
387
|
-
}),
|
|
387
|
+
}), Sr = /* @__PURE__ */ m("div")({
|
|
388
388
|
name: "i",
|
|
389
389
|
class: "ivk43vg",
|
|
390
390
|
propsAsIs: !1
|
|
391
|
-
}),
|
|
391
|
+
}), jr = /* @__PURE__ */ m("img")({
|
|
392
392
|
name: "r",
|
|
393
393
|
class: "r1w33akz",
|
|
394
394
|
propsAsIs: !1
|
|
395
|
-
}),
|
|
395
|
+
}), Br = /* @__PURE__ */ m("div")({
|
|
396
396
|
name: "c",
|
|
397
397
|
class: "c1a3ssoy",
|
|
398
398
|
propsAsIs: !1
|
|
399
|
-
}),
|
|
399
|
+
}), br = /* @__PURE__ */ m("div")({
|
|
400
400
|
name: "a",
|
|
401
401
|
class: "ayzr5mb",
|
|
402
402
|
propsAsIs: !1
|
|
403
|
-
}),
|
|
403
|
+
}), kr = /* @__PURE__ */ m("button")({
|
|
404
404
|
name: "p",
|
|
405
405
|
class: "p30t8qv",
|
|
406
406
|
propsAsIs: !1
|
|
407
|
-
}),
|
|
407
|
+
}), Rr = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwLjgwNzcgMTIuMjQ4NkMyMi4zMzY1IDEyLjI0ODYgMjMuNTc2OSAxMS4wODAyIDIzLjU3NjkgOS42Mzk5NEMyMy41NzY5IDguMTk5NzMgMjIuMzM2NSA3LjAzMTI1IDIwLjgwNzcgNy4wMzEyNVpNMjAuODA3NyAxMi4yNDg2QzE4Ljc3NzYgMTIuMjQ4NiAxNy4xMTU0IDEzLjgxNDUgMTcuMTE1NCAxNS43MjY5VjE3LjYyOUMxNy4xMTU0IDE3LjYyOSAxOC4wMzg1IDE4LjMzNTYgMjAuODA3NyAxOC4zMzU2QzIzLjU3NjkgMTguMzM1NiAyNC41IDE3LjYyOSAyNC41IDE3LjYyOVYxNS43MjY5QzI0LjUgMTMuODE0NSAyMi44Mzc3IDEyLjI0ODYgMjAuODA3NyAxMi4yNDg2Wk0xMi41IDEwLjUwOTVDMTAuOTcxMiAxMC41MDk1IDkuNzMwNzcgMTEuNjc4IDkuNzMwNzcgMTMuMTE4MkM5LjczMDc3IDE0LjU1ODQgMTAuOTcxMiAxNS43MjY5IDEyLjUgMTUuNzI2OUMxNC4wMjg4IDE1LjcyNjkgMTUuMjY5MiAxNC41NTg0IDE1LjI2OTIgMTMuMTE4MkMxNS4yNjkyIDExLjY3OCAxNC4wMjg4IDEwLjUwOTUgMTIuNSAxMC41MDk1Wk0xMi41IDE1LjcyNjlDMTAuNDcgMTUuNzI2OSA4LjgwNzY5IDE3LjI5MjggOC44MDc2OSAxOS4yMDUxVjIxLjEwNzNDOC44MDc2OSAyMS4xMDczIDkuNzMwNzcgMjEuODEzOCAxMi41IDIxLjgxMzhDMTUuMjY5MiAyMS44MTM4IDE2LjE5MjMgMjEuMTA3MyAxNi4xOTIzIDIxLjEwNzNWMTkuMjA1MUMxNi4xOTIzIDE3LjI5MjggMTQuNTMgMTUuNzI2OSAxMi41IDE1LjcyNjlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik04LjU4NDczIDEuNUM2Ljk2MzkyIDEuNSA1LjY0ODkzIDIuNzM4NzYgNS42NDg5MyA0LjI2NTZDNS42NDg5MyA1Ljc5MjQ1IDYuOTYzOTIgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFDMTAuMjA1NSA3LjAzMTIxIDExLjUyMDUgNS43OTI0NSAxMS41MjA1IDQuMjY1NkMxMS41MjA1IDIuNzM4NzYgMTAuMjA1NSAxLjUgOC41ODQ3MyAxLjVaTTguNTg0NzMgNy4wMzEyMUM4LjI5MDM4IDcuMDMxMjEgNy45OTIyMSA3LjAyNCA3LjY5Nzg3IDcuMTE3NjNDOC4yODY1NiA3Ljg1NTg0IDguNTg0NzMgOC43ODEzMSA4LjU4NDczIDkuNzk2ODFDOC41ODQ3MyAxMC4xNjQxIDguNDkyOTggMTAuNTI0MiA4LjQ5Mjk4IDEwLjg5MTVDOS4yNzY2MyA5Ljc4NjAxIDEwLjU0MTkgOS4wNTg1OSAxMi4wMDk4IDguODc0OTRDMTEuMzI1NiA3Ljc2OTQyIDEwLjA1MjYgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFaTTE2LjQxMzUgMS41QzE0Ljc5MjcgMS41IDEzLjQ3NzcgMi43Mzg3NiAxMy40Nzc3IDQuMjY1NkMxMy40Nzc3IDUuNzkyNDUgMTQuNzkyNyA3LjAzMTIxIDE2LjQxMzUgNy4wMzEyMUMxOC4wMzQzIDcuMDMxMjEgMTkuMzQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", _r = ({
|
|
408
408
|
inviteCardTitle: r,
|
|
409
409
|
inviteCardSubtext: o,
|
|
410
410
|
primaryColor: l
|
|
411
|
-
}) => /* @__PURE__ */ p(
|
|
412
|
-
/* @__PURE__ */ p(
|
|
413
|
-
/* @__PURE__ */ p(
|
|
414
|
-
/* @__PURE__ */ p(
|
|
415
|
-
/* @__PURE__ */ p(
|
|
411
|
+
}) => /* @__PURE__ */ p(Lr, { children: /* @__PURE__ */ L(zr, { children: [
|
|
412
|
+
/* @__PURE__ */ p(Sr, { style: { backgroundColor: l }, children: /* @__PURE__ */ p(jr, { alt: "invite-game-icon", src: Rr }) }),
|
|
413
|
+
/* @__PURE__ */ p(Br, { children: r || "" }),
|
|
414
|
+
/* @__PURE__ */ p(br, { children: o || "" }),
|
|
415
|
+
/* @__PURE__ */ p(kr, { onClick: () => {
|
|
416
416
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
417
417
|
] }) });
|
|
418
|
-
const
|
|
418
|
+
const Or = /* @__PURE__ */ m("div")({
|
|
419
419
|
name: "t",
|
|
420
420
|
class: "ty54o42",
|
|
421
421
|
propsAsIs: !1
|
|
422
|
-
}),
|
|
422
|
+
}), Ur = /* @__PURE__ */ m("div")({
|
|
423
423
|
name: "o",
|
|
424
424
|
class: "oqyp1qa",
|
|
425
425
|
propsAsIs: !1
|
|
426
|
-
}),
|
|
426
|
+
}), $r = /* @__PURE__ */ m("div")({
|
|
427
427
|
name: "r",
|
|
428
428
|
class: "rf1d3db",
|
|
429
429
|
propsAsIs: !1
|
|
430
|
-
}),
|
|
430
|
+
}), Fr = /* @__PURE__ */ m("div")({
|
|
431
431
|
name: "n",
|
|
432
432
|
class: "n187jgct",
|
|
433
433
|
propsAsIs: !1
|
|
434
|
-
}),
|
|
434
|
+
}), Pr = /* @__PURE__ */ m("div")({
|
|
435
435
|
name: "d",
|
|
436
436
|
class: "d1i3t4lw",
|
|
437
437
|
propsAsIs: !1
|
|
438
|
-
}),
|
|
438
|
+
}), Yr = /* @__PURE__ */ m("div")({
|
|
439
439
|
name: "l",
|
|
440
440
|
class: "l1heulx5",
|
|
441
441
|
propsAsIs: !1
|
|
442
|
-
}),
|
|
443
|
-
/* @__PURE__ */ p(
|
|
444
|
-
/* @__PURE__ */ p(
|
|
445
|
-
/* @__PURE__ */ p(
|
|
446
|
-
/* @__PURE__ */ p(
|
|
442
|
+
}), Vr = ({ rules: r, rulesTitle: o, primaryColor: l }) => /* @__PURE__ */ L(Or, { children: [
|
|
443
|
+
/* @__PURE__ */ p(Ur, { children: o }),
|
|
444
|
+
/* @__PURE__ */ p($r, { children: r == null ? void 0 : r.map((u, d) => /* @__PURE__ */ L(Fr, { children: [
|
|
445
|
+
/* @__PURE__ */ p(Pr, { style: { backgroundColor: l }, children: d + 1 }),
|
|
446
|
+
/* @__PURE__ */ p(Yr, { children: u })
|
|
447
447
|
] }, d)) })
|
|
448
448
|
] });
|
|
449
|
-
const
|
|
449
|
+
const Zr = /* @__PURE__ */ m("div")({
|
|
450
450
|
name: "n",
|
|
451
451
|
class: "n1cm2rh8",
|
|
452
452
|
propsAsIs: !1
|
|
453
|
-
}),
|
|
453
|
+
}), Qr = /* @__PURE__ */ m("div")({
|
|
454
454
|
name: "e",
|
|
455
455
|
class: "e9j28tc",
|
|
456
456
|
propsAsIs: !1
|
|
457
|
-
}),
|
|
457
|
+
}), Hr = /* @__PURE__ */ m("div")({
|
|
458
458
|
name: "i",
|
|
459
459
|
class: "iu1o1a8",
|
|
460
460
|
propsAsIs: !1
|
|
461
|
-
}),
|
|
461
|
+
}), Gr = /* @__PURE__ */ m("div")({
|
|
462
462
|
name: "r",
|
|
463
463
|
class: "r14ailyk",
|
|
464
464
|
propsAsIs: !1
|
|
465
|
-
}),
|
|
465
|
+
}), Wr = /* @__PURE__ */ m("div")({
|
|
466
466
|
name: "c",
|
|
467
467
|
class: "c11ybl5c",
|
|
468
468
|
propsAsIs: !1
|
|
469
|
-
}),
|
|
469
|
+
}), qr = /* @__PURE__ */ m("img")({
|
|
470
470
|
name: "s",
|
|
471
471
|
class: "sd9s97",
|
|
472
472
|
propsAsIs: !1
|
|
473
|
-
}),
|
|
473
|
+
}), Jr = /* @__PURE__ */ m("img")({
|
|
474
474
|
name: "l",
|
|
475
475
|
class: "l1ddowgh",
|
|
476
476
|
propsAsIs: !1
|
|
477
|
-
}),
|
|
477
|
+
}), Xr = /* @__PURE__ */ m("button")({
|
|
478
478
|
name: "d",
|
|
479
479
|
class: "d1s3ug7g",
|
|
480
480
|
propsAsIs: !1
|
|
481
|
-
}),
|
|
481
|
+
}), Kr = /* @__PURE__ */ m("img")({
|
|
482
482
|
name: "p",
|
|
483
483
|
class: "p17kmhv2",
|
|
484
484
|
propsAsIs: !1
|
|
485
|
-
}),
|
|
485
|
+
}), en = /* @__PURE__ */ m("button")({
|
|
486
486
|
name: "a",
|
|
487
487
|
class: "a1qucmt7",
|
|
488
488
|
propsAsIs: !1
|
|
@@ -490,7 +490,7 @@ const Qr = /* @__PURE__ */ m("div")({
|
|
|
490
490
|
steps: !1,
|
|
491
491
|
rules: !1,
|
|
492
492
|
inviteCard: !1
|
|
493
|
-
},
|
|
493
|
+
}, tn = ({
|
|
494
494
|
gamification: r,
|
|
495
495
|
closeFeature: o,
|
|
496
496
|
steps: l,
|
|
@@ -504,30 +504,30 @@ const Qr = /* @__PURE__ */ m("div")({
|
|
|
504
504
|
inviteCardSubtext: E,
|
|
505
505
|
inviteCardBtnLabel: x
|
|
506
506
|
}) => {
|
|
507
|
-
const
|
|
507
|
+
const w = async () => {
|
|
508
508
|
await r.submitInplay();
|
|
509
509
|
}, v = () => {
|
|
510
510
|
o();
|
|
511
|
-
}, [
|
|
511
|
+
}, [z, y] = J(0), [A, C] = J($e);
|
|
512
512
|
kt(() => {
|
|
513
|
-
l != null && l.length ?
|
|
513
|
+
l != null && l.length ? C({ ...$e, steps: !0 }) : g != null && g.length ? C({ ...$e, rules: !0 }) : C({ ...$e, inviteCard: !0 });
|
|
514
514
|
}, []);
|
|
515
515
|
const T = He(() => {
|
|
516
|
-
l != null && l.length &&
|
|
517
|
-
}, [
|
|
518
|
-
return /* @__PURE__ */
|
|
519
|
-
/* @__PURE__ */
|
|
520
|
-
/* @__PURE__ */ p(
|
|
521
|
-
/* @__PURE__ */
|
|
522
|
-
d && /* @__PURE__ */ p(
|
|
523
|
-
/* @__PURE__ */ p(
|
|
516
|
+
l != null && l.length && z < l.length - 1 ? y((S) => ++S) : g != null && g.length && A.steps ? C({ ...$e, rules: !0 }) : A.rules && C({ ...$e, inviteCard: !0 });
|
|
517
|
+
}, [z, l == null ? void 0 : l.length, g == null ? void 0 : g.length, A, y, C]);
|
|
518
|
+
return /* @__PURE__ */ L(Zr, { children: [
|
|
519
|
+
/* @__PURE__ */ L(Hr, { children: [
|
|
520
|
+
/* @__PURE__ */ p(Gr, { children: u && /* @__PURE__ */ p(qr, { alt: "sponsor-one-onboarding-icon", src: u }) }),
|
|
521
|
+
/* @__PURE__ */ L(Wr, { children: [
|
|
522
|
+
d && /* @__PURE__ */ p(Jr, { alt: "sponsor-two-onboarding-icon", src: d }),
|
|
523
|
+
/* @__PURE__ */ p(Xr, { onClick: v, children: /* @__PURE__ */ p(Kr, { alt: "icon-close-onboarding", src: $t }) })
|
|
524
524
|
] })
|
|
525
525
|
] }),
|
|
526
|
-
/* @__PURE__ */
|
|
527
|
-
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(
|
|
528
|
-
A.rules && /* @__PURE__ */ p(
|
|
526
|
+
/* @__PURE__ */ L(Qr, { children: [
|
|
527
|
+
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(Dr, { graphic: l[z].graphic, headline: l[z].headline }),
|
|
528
|
+
A.rules && /* @__PURE__ */ p(Vr, { rules: g, rulesTitle: s, primaryColor: I }),
|
|
529
529
|
A.inviteCard && /* @__PURE__ */ p(
|
|
530
|
-
|
|
530
|
+
_r,
|
|
531
531
|
{
|
|
532
532
|
inviteCardTitle: N,
|
|
533
533
|
inviteCardSubtext: E,
|
|
@@ -535,28 +535,28 @@ const Qr = /* @__PURE__ */ m("div")({
|
|
|
535
535
|
}
|
|
536
536
|
)
|
|
537
537
|
] }),
|
|
538
|
-
/* @__PURE__ */ p(
|
|
538
|
+
/* @__PURE__ */ p(en, { onClick: A.inviteCard ? w : T, children: A.rules ? f || "Got it!" : A.inviteCard ? x || "Play now!" : "Next" })
|
|
539
539
|
] });
|
|
540
540
|
};
|
|
541
|
-
const
|
|
541
|
+
const rn = /* @__PURE__ */ m("div")({
|
|
542
542
|
name: "t",
|
|
543
543
|
class: "tcim9sm",
|
|
544
544
|
propsAsIs: !1
|
|
545
|
-
}),
|
|
545
|
+
}), nn = /* @__PURE__ */ m("div")({
|
|
546
546
|
name: "e",
|
|
547
547
|
class: "e8wco6o",
|
|
548
548
|
propsAsIs: !1
|
|
549
|
-
}),
|
|
549
|
+
}), on = /* @__PURE__ */ m("button")({
|
|
550
550
|
name: "n",
|
|
551
551
|
class: "n1ardwzl",
|
|
552
552
|
propsAsIs: !1
|
|
553
|
-
}),
|
|
553
|
+
}), sn = /* @__PURE__ */ m("span")({
|
|
554
554
|
name: "i",
|
|
555
555
|
class: "i1vk8ojx",
|
|
556
556
|
propsAsIs: !1
|
|
557
557
|
});
|
|
558
558
|
var nt = /* @__PURE__ */ ((r) => (r.HOME = "home", r.LEADERBOARD = "leaderboard", r))(nt || {});
|
|
559
|
-
const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(
|
|
559
|
+
const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(on, { onClick: l, "data-selected": o, children: /* @__PURE__ */ p(sn, { children: r }) }), an = ({ activePage: r = "home", toggleActivePage: o }) => /* @__PURE__ */ p(rn, { children: /* @__PURE__ */ L(nn, { "data-position": r === "home" ? "left" : "right", children: [
|
|
560
560
|
/* @__PURE__ */ p(Wt, { title: "Home", active: r === "home", onClick: () => o(
|
|
561
561
|
"home"
|
|
562
562
|
/* HOME */
|
|
@@ -573,15 +573,15 @@ const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(sn, { onCl
|
|
|
573
573
|
}
|
|
574
574
|
)
|
|
575
575
|
] }) });
|
|
576
|
-
const
|
|
576
|
+
const ln = /* @__PURE__ */ m("button")({
|
|
577
577
|
name: "a",
|
|
578
578
|
class: "akly9h2",
|
|
579
579
|
propsAsIs: !1
|
|
580
|
-
}),
|
|
580
|
+
}), cn = /* @__PURE__ */ m("span")({
|
|
581
581
|
name: "e",
|
|
582
582
|
class: "eptoiz9",
|
|
583
583
|
propsAsIs: !1
|
|
584
|
-
}),
|
|
584
|
+
}), un = ({ disabled: r, variant: o = "primary", onClick: l, children: u }) => /* @__PURE__ */ p(ln, { onClick: l, disabled: r, "data-variant": o, children: /* @__PURE__ */ p(cn, { children: u }) }), hn = {
|
|
585
585
|
[H.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
586
586
|
[H.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
587
587
|
[H.UNSET]: void 0,
|
|
@@ -590,7 +590,7 @@ const cn = /* @__PURE__ */ m("button")({
|
|
|
590
590
|
[H.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
591
591
|
[H.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
592
592
|
};
|
|
593
|
-
const
|
|
593
|
+
const dn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
594
594
|
width: 24,
|
|
595
595
|
height: 24,
|
|
596
596
|
viewBox: "0 0 24 24",
|
|
@@ -603,7 +603,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
603
603
|
strokeWidth: 1.5,
|
|
604
604
|
strokeLinecap: "round",
|
|
605
605
|
strokeLinejoin: "round"
|
|
606
|
-
})),
|
|
606
|
+
})), pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
607
607
|
width: 24,
|
|
608
608
|
height: 24,
|
|
609
609
|
viewBox: "0 0 24 24",
|
|
@@ -619,7 +619,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
619
619
|
strokeWidth: 1.5,
|
|
620
620
|
strokeLinecap: "round",
|
|
621
621
|
strokeLinejoin: "round"
|
|
622
|
-
}))),
|
|
622
|
+
}))), fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
623
623
|
width: 24,
|
|
624
624
|
height: 24,
|
|
625
625
|
viewBox: "0 0 24 24",
|
|
@@ -635,7 +635,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
635
635
|
strokeWidth: 1.5,
|
|
636
636
|
strokeLinecap: "round",
|
|
637
637
|
strokeLinejoin: "round"
|
|
638
|
-
}))),
|
|
638
|
+
}))), gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
639
639
|
width: 16,
|
|
640
640
|
height: 16,
|
|
641
641
|
viewBox: "0 0 16 16",
|
|
@@ -648,7 +648,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
648
648
|
clipRule: "evenodd",
|
|
649
649
|
d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",
|
|
650
650
|
fill: "#107D57"
|
|
651
|
-
})),
|
|
651
|
+
})), mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
652
652
|
width: 24,
|
|
653
653
|
height: 24,
|
|
654
654
|
viewBox: "0 0 24 24",
|
|
@@ -663,7 +663,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
663
663
|
clipRule: "evenodd",
|
|
664
664
|
d: "M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",
|
|
665
665
|
fill: "#FFFFFF"
|
|
666
|
-
}))),
|
|
666
|
+
}))), In = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
667
667
|
width: 12,
|
|
668
668
|
height: 20,
|
|
669
669
|
viewBox: "0 0 12 20",
|
|
@@ -675,7 +675,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
675
675
|
d: "M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",
|
|
676
676
|
fill: "white",
|
|
677
677
|
fillOpacity: 0.6
|
|
678
|
-
})),
|
|
678
|
+
})), yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
679
679
|
width: 24,
|
|
680
680
|
height: 24,
|
|
681
681
|
viewBox: "0 0 24 24",
|
|
@@ -688,7 +688,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
688
688
|
id: "Chevron_2",
|
|
689
689
|
d: "M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",
|
|
690
690
|
fill: "white"
|
|
691
|
-
}))),
|
|
691
|
+
}))), Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
692
692
|
width: 16,
|
|
693
693
|
height: 17,
|
|
694
694
|
viewBox: "0 0 16 17",
|
|
@@ -716,7 +716,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
716
716
|
}), /* @__PURE__ */ M.createElement("path", {
|
|
717
717
|
d: "M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",
|
|
718
718
|
fill: "white"
|
|
719
|
-
})),
|
|
719
|
+
})), Cn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
720
720
|
width: 10,
|
|
721
721
|
height: 10,
|
|
722
722
|
viewBox: "0 0 10 10",
|
|
@@ -741,7 +741,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
741
741
|
rx: 0.883884,
|
|
742
742
|
transform: "rotate(-45 0 8.75)",
|
|
743
743
|
fill: "white"
|
|
744
|
-
}))),
|
|
744
|
+
}))), En = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
745
745
|
width: 24,
|
|
746
746
|
height: 24,
|
|
747
747
|
viewBox: "0 0 24 24",
|
|
@@ -770,7 +770,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
770
770
|
rx: 0.883884,
|
|
771
771
|
transform: "rotate(-45 7 15.752)",
|
|
772
772
|
fill: "white"
|
|
773
|
-
})),
|
|
773
|
+
})), An = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
774
774
|
width: 40,
|
|
775
775
|
height: 40,
|
|
776
776
|
viewBox: "0 0 40 40",
|
|
@@ -789,7 +789,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
789
789
|
id: "Vector_2",
|
|
790
790
|
d: "M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",
|
|
791
791
|
fill: "white"
|
|
792
|
-
})))),
|
|
792
|
+
})))), Nn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
793
793
|
width: 24,
|
|
794
794
|
height: 24,
|
|
795
795
|
viewBox: "0 0 24 24",
|
|
@@ -818,7 +818,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
818
818
|
rx: 0.883884,
|
|
819
819
|
transform: "rotate(-45 7 15.75)",
|
|
820
820
|
fill: "white"
|
|
821
|
-
})),
|
|
821
|
+
})), xn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
822
822
|
width: 17,
|
|
823
823
|
height: 17,
|
|
824
824
|
viewBox: "0 0 17 17",
|
|
@@ -830,7 +830,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
830
830
|
stroke: "#107D57",
|
|
831
831
|
strokeLinecap: "round",
|
|
832
832
|
strokeLinejoin: "round"
|
|
833
|
-
})),
|
|
833
|
+
})), Tn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
834
834
|
width: 32,
|
|
835
835
|
height: 32,
|
|
836
836
|
viewBox: "0 0 32 32",
|
|
@@ -849,7 +849,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
849
849
|
opacity: 0.5,
|
|
850
850
|
d: "M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",
|
|
851
851
|
fill: "#107D57"
|
|
852
|
-
})),
|
|
852
|
+
})), vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
853
853
|
width: 18,
|
|
854
854
|
height: 18,
|
|
855
855
|
viewBox: "0 0 18 18",
|
|
@@ -862,7 +862,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
862
862
|
id: "Vector",
|
|
863
863
|
d: "M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",
|
|
864
864
|
fill: "white"
|
|
865
|
-
}))),
|
|
865
|
+
}))), Dn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
866
866
|
width: 17,
|
|
867
867
|
height: 16,
|
|
868
868
|
viewBox: "0 0 17 16",
|
|
@@ -888,7 +888,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
888
888
|
strokeWidth: 1.5,
|
|
889
889
|
strokeLinecap: "round",
|
|
890
890
|
strokeLinejoin: "round"
|
|
891
|
-
})),
|
|
891
|
+
})), Ln = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
892
892
|
width: 17,
|
|
893
893
|
height: 18,
|
|
894
894
|
viewBox: "0 0 17 18",
|
|
@@ -918,7 +918,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
918
918
|
strokeWidth: 1.5,
|
|
919
919
|
strokeLinecap: "round",
|
|
920
920
|
strokeLinejoin: "round"
|
|
921
|
-
}))),
|
|
921
|
+
}))), zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
922
922
|
width: 99,
|
|
923
923
|
height: 96,
|
|
924
924
|
viewBox: "0 0 99 96",
|
|
@@ -935,7 +935,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
935
935
|
id: "Vector_2",
|
|
936
936
|
d: "M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",
|
|
937
937
|
fill: "white"
|
|
938
|
-
}))),
|
|
938
|
+
}))), Sn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
939
939
|
width: 48,
|
|
940
940
|
height: 48,
|
|
941
941
|
viewBox: "0 0 48 48",
|
|
@@ -953,7 +953,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
953
953
|
clipRule: "evenodd",
|
|
954
954
|
d: "M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",
|
|
955
955
|
fill: "white"
|
|
956
|
-
})),
|
|
956
|
+
})), jn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
957
957
|
width: 16,
|
|
958
958
|
height: 15,
|
|
959
959
|
viewBox: "0 0 16 15",
|
|
@@ -964,7 +964,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
964
964
|
id: "Start - You",
|
|
965
965
|
d: "M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",
|
|
966
966
|
fill: "#F4D22A"
|
|
967
|
-
})),
|
|
967
|
+
})), Bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
968
968
|
xmlns: "http://www.w3.org/2000/svg",
|
|
969
969
|
width: 22,
|
|
970
970
|
height: 22,
|
|
@@ -974,7 +974,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
974
974
|
}, /* @__PURE__ */ M.createElement("path", {
|
|
975
975
|
d: "M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",
|
|
976
976
|
fill: "white"
|
|
977
|
-
})),
|
|
977
|
+
})), bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
978
978
|
width: 12,
|
|
979
979
|
height: 12,
|
|
980
980
|
viewBox: "0 0 12 12",
|
|
@@ -989,7 +989,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
989
989
|
clipRule: "evenodd",
|
|
990
990
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
991
991
|
fill: "white"
|
|
992
|
-
}))),
|
|
992
|
+
}))), kn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
993
993
|
width: 16,
|
|
994
994
|
height: 16,
|
|
995
995
|
viewBox: "0 0 16 16",
|
|
@@ -1004,7 +1004,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1004
1004
|
clipRule: "evenodd",
|
|
1005
1005
|
d: "M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",
|
|
1006
1006
|
fill: "#F2C94C"
|
|
1007
|
-
}))),
|
|
1007
|
+
}))), Rn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1008
1008
|
width: 25,
|
|
1009
1009
|
height: 24,
|
|
1010
1010
|
viewBox: "0 0 25 24",
|
|
@@ -1022,7 +1022,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1022
1022
|
d: "M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",
|
|
1023
1023
|
fill: "white",
|
|
1024
1024
|
fillOpacity: 0.4
|
|
1025
|
-
}))),
|
|
1025
|
+
}))), _n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1026
1026
|
width: 18,
|
|
1027
1027
|
height: 18,
|
|
1028
1028
|
viewBox: "0 0 18 18",
|
|
@@ -1045,7 +1045,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1045
1045
|
clipRule: "evenodd",
|
|
1046
1046
|
d: "M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",
|
|
1047
1047
|
fill: "#107D57"
|
|
1048
|
-
})))),
|
|
1048
|
+
})))), On = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1049
1049
|
width: 14,
|
|
1050
1050
|
height: 17,
|
|
1051
1051
|
viewBox: "0 0 14 17",
|
|
@@ -1063,7 +1063,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1063
1063
|
id: "Icon / Games_3",
|
|
1064
1064
|
d: "M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",
|
|
1065
1065
|
fill: "#107D57"
|
|
1066
|
-
}))),
|
|
1066
|
+
}))), Un = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1067
1067
|
width: 19,
|
|
1068
1068
|
height: 14,
|
|
1069
1069
|
viewBox: "0 0 19 14",
|
|
@@ -1078,7 +1078,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1078
1078
|
clipRule: "evenodd",
|
|
1079
1079
|
d: "M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",
|
|
1080
1080
|
fill: "#107D57"
|
|
1081
|
-
}))),
|
|
1081
|
+
}))), $n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1082
1082
|
width: 20,
|
|
1083
1083
|
height: 20,
|
|
1084
1084
|
viewBox: "0 0 20 20",
|
|
@@ -1094,7 +1094,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1094
1094
|
strokeWidth: 1.2,
|
|
1095
1095
|
strokeLinecap: "round",
|
|
1096
1096
|
strokeLinejoin: "round"
|
|
1097
|
-
}))),
|
|
1097
|
+
}))), Fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1098
1098
|
width: 20,
|
|
1099
1099
|
height: 20,
|
|
1100
1100
|
viewBox: "0 0 20 20",
|
|
@@ -1110,7 +1110,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1110
1110
|
strokeWidth: 1.2,
|
|
1111
1111
|
strokeLinecap: "round",
|
|
1112
1112
|
strokeLinejoin: "round"
|
|
1113
|
-
}))),
|
|
1113
|
+
}))), Pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1114
1114
|
width: 16,
|
|
1115
1115
|
height: 16,
|
|
1116
1116
|
viewBox: "0 0 16 16",
|
|
@@ -1177,7 +1177,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1177
1177
|
clipRule: "evenodd",
|
|
1178
1178
|
d: "M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",
|
|
1179
1179
|
fill: "#107D57"
|
|
1180
|
-
}))),
|
|
1180
|
+
}))), Yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1181
1181
|
width: 16,
|
|
1182
1182
|
height: 16,
|
|
1183
1183
|
viewBox: "0 0 16 16",
|
|
@@ -1193,7 +1193,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1193
1193
|
d: "M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",
|
|
1194
1194
|
fill: "white",
|
|
1195
1195
|
fillOpacity: 0.5
|
|
1196
|
-
}))),
|
|
1196
|
+
}))), Vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1197
1197
|
width: 16,
|
|
1198
1198
|
height: 16,
|
|
1199
1199
|
viewBox: "0 0 16 16",
|
|
@@ -1209,7 +1209,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1209
1209
|
d: "M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",
|
|
1210
1210
|
fill: "white",
|
|
1211
1211
|
fillOpacity: 0.5
|
|
1212
|
-
}))),
|
|
1212
|
+
}))), Zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1213
1213
|
width: 16,
|
|
1214
1214
|
height: 16,
|
|
1215
1215
|
viewBox: "0 0 16 16",
|
|
@@ -1225,7 +1225,7 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1225
1225
|
d: "M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",
|
|
1226
1226
|
fill: "white",
|
|
1227
1227
|
fillOpacity: 0.5
|
|
1228
|
-
}))),
|
|
1228
|
+
}))), Qn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1229
1229
|
width: 16,
|
|
1230
1230
|
height: 16,
|
|
1231
1231
|
viewBox: "0 0 16 16",
|
|
@@ -1239,42 +1239,42 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1239
1239
|
d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",
|
|
1240
1240
|
fill: "#107D57"
|
|
1241
1241
|
})), qt = {
|
|
1242
|
-
"invite-game-icon":
|
|
1243
|
-
"icon-trophy":
|
|
1244
|
-
"icon-play":
|
|
1245
|
-
"icon-trophy-green":
|
|
1246
|
-
"icon-trivia":
|
|
1247
|
-
"icon-thumb-down":
|
|
1248
|
-
"icon-star":
|
|
1249
|
-
"icon-prediction":
|
|
1250
|
-
"icon-insight":
|
|
1251
|
-
"icon-poll":
|
|
1252
|
-
"icon-masters-logo":
|
|
1253
|
-
"icon-logout":
|
|
1254
|
-
"icon-link":
|
|
1255
|
-
"icon-external-link":
|
|
1256
|
-
"icon-invite-arrow":
|
|
1257
|
-
"icon-friends":
|
|
1258
|
-
"icon-exit":
|
|
1259
|
-
"icon-default-user-avatar":
|
|
1260
|
-
"icon-cross":
|
|
1261
|
-
"icon-close":
|
|
1262
|
-
"icon-close-btn-white":
|
|
1242
|
+
"invite-game-icon": Rn,
|
|
1243
|
+
"icon-trophy": kn,
|
|
1244
|
+
"icon-play": Sn,
|
|
1245
|
+
"icon-trophy-green": bn,
|
|
1246
|
+
"icon-trivia": Zn,
|
|
1247
|
+
"icon-thumb-down": Bn,
|
|
1248
|
+
"icon-star": jn,
|
|
1249
|
+
"icon-prediction": Vn,
|
|
1250
|
+
"icon-insight": Pn,
|
|
1251
|
+
"icon-poll": Yn,
|
|
1252
|
+
"icon-masters-logo": zn,
|
|
1253
|
+
"icon-logout": Ln,
|
|
1254
|
+
"icon-link": Dn,
|
|
1255
|
+
"icon-external-link": xn,
|
|
1256
|
+
"icon-invite-arrow": vn,
|
|
1257
|
+
"icon-friends": Tn,
|
|
1258
|
+
"icon-exit": Nn,
|
|
1259
|
+
"icon-default-user-avatar": An,
|
|
1260
|
+
"icon-cross": fn,
|
|
1261
|
+
"icon-close": En,
|
|
1262
|
+
"icon-close-btn-white": Cn,
|
|
1263
1263
|
"icon-circle-arrow-right": wn,
|
|
1264
|
-
"icon-chevron":
|
|
1265
|
-
"icon-chevron-white-left":
|
|
1266
|
-
"icon-chevron-left":
|
|
1267
|
-
"icon-check-white":
|
|
1268
|
-
"icon-check-green":
|
|
1269
|
-
"icon-btn-channels":
|
|
1270
|
-
"icon-btn-feature-groups":
|
|
1271
|
-
"icon-btn-leaderboard":
|
|
1272
|
-
"icon-check":
|
|
1273
|
-
"icon-arrow":
|
|
1274
|
-
correct:
|
|
1275
|
-
incorrect:
|
|
1276
|
-
selected:
|
|
1277
|
-
},
|
|
1264
|
+
"icon-chevron": Mn,
|
|
1265
|
+
"icon-chevron-white-left": yn,
|
|
1266
|
+
"icon-chevron-left": In,
|
|
1267
|
+
"icon-check-white": mn,
|
|
1268
|
+
"icon-check-green": gn,
|
|
1269
|
+
"icon-btn-channels": _n,
|
|
1270
|
+
"icon-btn-feature-groups": On,
|
|
1271
|
+
"icon-btn-leaderboard": Un,
|
|
1272
|
+
"icon-check": pn,
|
|
1273
|
+
"icon-arrow": dn,
|
|
1274
|
+
correct: $n,
|
|
1275
|
+
incorrect: Fn,
|
|
1276
|
+
selected: Qn
|
|
1277
|
+
}, ze = ({
|
|
1278
1278
|
name: r,
|
|
1279
1279
|
style: o,
|
|
1280
1280
|
className: l,
|
|
@@ -1291,44 +1291,44 @@ const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1291
1291
|
...u
|
|
1292
1292
|
});
|
|
1293
1293
|
};
|
|
1294
|
-
const
|
|
1294
|
+
const Hn = () => ze, Gn = () => ze, Wn = /* @__PURE__ */ m("div")({
|
|
1295
1295
|
name: "s",
|
|
1296
1296
|
class: "s1lblda3",
|
|
1297
1297
|
propsAsIs: !1
|
|
1298
|
-
}),
|
|
1298
|
+
}), qn = /* @__PURE__ */ m("div")({
|
|
1299
1299
|
name: "a",
|
|
1300
1300
|
class: "ascvb2g",
|
|
1301
1301
|
propsAsIs: !1
|
|
1302
|
-
}),
|
|
1302
|
+
}), Jn = /* @__PURE__ */ m("div")({
|
|
1303
1303
|
name: "p",
|
|
1304
1304
|
class: "p17rl8zy",
|
|
1305
1305
|
propsAsIs: !1
|
|
1306
|
-
}),
|
|
1306
|
+
}), Xn = /* @__PURE__ */ m("div")({
|
|
1307
1307
|
name: "l",
|
|
1308
1308
|
class: "l1vvttbn",
|
|
1309
1309
|
propsAsIs: !1
|
|
1310
|
-
}), Mt = /* @__PURE__ */ m(
|
|
1310
|
+
}), Mt = /* @__PURE__ */ m(Hn())({
|
|
1311
1311
|
name: "c",
|
|
1312
1312
|
class: "c6fk2ph",
|
|
1313
1313
|
propsAsIs: !0
|
|
1314
|
-
}),
|
|
1314
|
+
}), Kn = /* @__PURE__ */ m(Gn())({
|
|
1315
1315
|
name: "d",
|
|
1316
1316
|
class: "d1rdm136",
|
|
1317
1317
|
propsAsIs: !0
|
|
1318
|
-
}),
|
|
1318
|
+
}), e1 = /* @__PURE__ */ m("div")({
|
|
1319
1319
|
name: "f",
|
|
1320
1320
|
class: "fwqnnel",
|
|
1321
1321
|
propsAsIs: !1
|
|
1322
|
-
}),
|
|
1322
|
+
}), t1 = /* @__PURE__ */ m("div")({
|
|
1323
1323
|
name: "u",
|
|
1324
1324
|
class: "ucyxnlg",
|
|
1325
1325
|
propsAsIs: !1
|
|
1326
|
-
}),
|
|
1326
|
+
}), i1 = {
|
|
1327
1327
|
[et.LOST]: /* @__PURE__ */ p(Mt, { name: "icon-cross" }),
|
|
1328
1328
|
[et.WON]: /* @__PURE__ */ p(Mt, { name: "icon-check" }),
|
|
1329
1329
|
[et.UNSET]: void 0,
|
|
1330
1330
|
[et.DNP]: /* @__PURE__ */ p(Mt, { name: "icon-arrow" })
|
|
1331
|
-
},
|
|
1331
|
+
}, r1 = ({
|
|
1332
1332
|
questionId: r,
|
|
1333
1333
|
questionType: o,
|
|
1334
1334
|
questionStatus: l,
|
|
@@ -1337,188 +1337,225 @@ const Gn = () => Ue, Wn = () => Ue, qn = /* @__PURE__ */ m("div")({
|
|
|
1337
1337
|
openQuestion: g,
|
|
1338
1338
|
status: f
|
|
1339
1339
|
}) => {
|
|
1340
|
-
const s =
|
|
1341
|
-
return s ? /* @__PURE__ */
|
|
1342
|
-
/* @__PURE__ */
|
|
1343
|
-
/* @__PURE__ */
|
|
1344
|
-
/* @__PURE__ */ p(
|
|
1345
|
-
/* @__PURE__ */
|
|
1340
|
+
const s = hn[o], I = i1[f];
|
|
1341
|
+
return s ? /* @__PURE__ */ L(Wn, { onClick: () => g == null ? void 0 : g(r), children: [
|
|
1342
|
+
/* @__PURE__ */ L(t1, { children: [
|
|
1343
|
+
/* @__PURE__ */ L(qn, { children: [
|
|
1344
|
+
/* @__PURE__ */ p(Kn, { name: s.iconName }),
|
|
1345
|
+
/* @__PURE__ */ L(e1, { children: [
|
|
1346
1346
|
s.label,
|
|
1347
1347
|
o === H.TRIVIA && l === Rt.RESOLVED && " • Expired"
|
|
1348
1348
|
] })
|
|
1349
1349
|
] }),
|
|
1350
|
-
/* @__PURE__ */ p(
|
|
1350
|
+
/* @__PURE__ */ p(Jn, { children: u || "" })
|
|
1351
1351
|
] }),
|
|
1352
|
-
/* @__PURE__ */ p(
|
|
1352
|
+
/* @__PURE__ */ p(Xn, { children: I || (d ? /* @__PURE__ */ p(un, { children: "Play" }) : null) })
|
|
1353
1353
|
] }) : null;
|
|
1354
1354
|
};
|
|
1355
|
-
const
|
|
1356
|
-
name: "
|
|
1357
|
-
class: "
|
|
1358
|
-
propsAsIs: !1
|
|
1359
|
-
}), s1 = /* @__PURE__ */ m("div")({
|
|
1360
|
-
name: "o",
|
|
1361
|
-
class: "ouyy0pt",
|
|
1355
|
+
const n1 = /* @__PURE__ */ m("div")({
|
|
1356
|
+
name: "i",
|
|
1357
|
+
class: "i1bwjtdb",
|
|
1362
1358
|
propsAsIs: !1
|
|
1363
|
-
}),
|
|
1364
|
-
name: "
|
|
1365
|
-
class: "
|
|
1359
|
+
}), o1 = /* @__PURE__ */ m("video")({
|
|
1360
|
+
name: "e",
|
|
1361
|
+
class: "enb7moc",
|
|
1366
1362
|
propsAsIs: !1
|
|
1367
|
-
}),
|
|
1363
|
+
}), s1 = /* @__PURE__ */ m("img")({
|
|
1368
1364
|
name: "r",
|
|
1369
|
-
class: "
|
|
1365
|
+
class: "r1ws5lyh",
|
|
1370
1366
|
propsAsIs: !1
|
|
1371
|
-
}),
|
|
1372
|
-
name: "l",
|
|
1373
|
-
class: "l5j3lzi",
|
|
1374
|
-
propsAsIs: !1
|
|
1375
|
-
}), u1 = /* @__PURE__ */ m("img")({
|
|
1367
|
+
}), a1 = /* @__PURE__ */ m("div")({
|
|
1376
1368
|
name: "s",
|
|
1377
|
-
class: "
|
|
1369
|
+
class: "soibf55",
|
|
1370
|
+
propsAsIs: !1
|
|
1371
|
+
}), l1 = ({ poster: r, source: o }) => {
|
|
1372
|
+
const l = fi(null), [u, d] = J(!1), [g, f] = J(!0);
|
|
1373
|
+
return /* @__PURE__ */ L(n1, { onClick: () => {
|
|
1374
|
+
const s = l == null ? void 0 : l.current;
|
|
1375
|
+
s && d((I) => I ? (s.pause(), !1) : (s.play(), f(!1), !0));
|
|
1376
|
+
}, children: [
|
|
1377
|
+
/* @__PURE__ */ p(
|
|
1378
|
+
o1,
|
|
1379
|
+
{
|
|
1380
|
+
ref: l,
|
|
1381
|
+
src: o,
|
|
1382
|
+
onEnded: () => {
|
|
1383
|
+
var s;
|
|
1384
|
+
(s = l == null ? void 0 : l.current) == null || s.load(), d(!1), f(!0);
|
|
1385
|
+
},
|
|
1386
|
+
style: { visibility: g ? "hidden" : "visible" }
|
|
1387
|
+
}
|
|
1388
|
+
),
|
|
1389
|
+
/* @__PURE__ */ p(s1, { src: r, style: { visibility: g ? "visible" : "hidden" } }),
|
|
1390
|
+
/* @__PURE__ */ p(a1, { children: !u && /* @__PURE__ */ p(ze, { name: "icon-play" }) })
|
|
1391
|
+
] });
|
|
1392
|
+
};
|
|
1393
|
+
const c1 = /* @__PURE__ */ m("div")({
|
|
1394
|
+
name: "e",
|
|
1395
|
+
class: "e1jcgove",
|
|
1396
|
+
propsAsIs: !1
|
|
1397
|
+
}), u1 = /* @__PURE__ */ m("div")({
|
|
1398
|
+
name: "t",
|
|
1399
|
+
class: "t1bwp7hh",
|
|
1378
1400
|
propsAsIs: !1
|
|
1379
1401
|
}), h1 = /* @__PURE__ */ m("div")({
|
|
1380
|
-
name: "
|
|
1381
|
-
class: "
|
|
1402
|
+
name: "i",
|
|
1403
|
+
class: "i1xav4cl",
|
|
1382
1404
|
propsAsIs: !1
|
|
1383
|
-
}), d1 = /* @__PURE__ */ m("
|
|
1405
|
+
}), d1 = /* @__PURE__ */ m("h3")({
|
|
1406
|
+
name: "n",
|
|
1407
|
+
class: "n3qb30y",
|
|
1408
|
+
propsAsIs: !1
|
|
1409
|
+
}), p1 = /* @__PURE__ */ m("div")({
|
|
1384
1410
|
name: "a",
|
|
1385
|
-
class: "
|
|
1411
|
+
class: "ap5d9g7",
|
|
1386
1412
|
propsAsIs: !1
|
|
1387
|
-
}),
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1413
|
+
}), f1 = /* @__PURE__ */ m("button")({
|
|
1414
|
+
name: "l",
|
|
1415
|
+
class: "lvdbmlu",
|
|
1416
|
+
propsAsIs: !1
|
|
1417
|
+
}), g1 = ({
|
|
1418
|
+
title: r,
|
|
1419
|
+
instantView: o,
|
|
1420
|
+
openInsight: l,
|
|
1421
|
+
questionId: u
|
|
1422
|
+
}) => {
|
|
1423
|
+
const d = /* @__PURE__ */ new Date(), g = d.toLocaleDateString("en-US", {
|
|
1424
|
+
weekday: "short",
|
|
1425
|
+
month: "short",
|
|
1426
|
+
day: "numeric"
|
|
1427
|
+
}), f = d.toLocaleTimeString("en-US", { hour: "2-digit", minute: "2-digit" });
|
|
1428
|
+
return /* @__PURE__ */ L(c1, { children: [
|
|
1429
|
+
/* @__PURE__ */ L(u1, { children: [
|
|
1430
|
+
g,
|
|
1431
|
+
"・",
|
|
1432
|
+
f
|
|
1433
|
+
] }),
|
|
1434
|
+
(o == null ? void 0 : o.video) && /* @__PURE__ */ p(l1, { source: o.video.url, poster: o.video.thumbnailUrl }),
|
|
1435
|
+
/* @__PURE__ */ L(h1, { children: [
|
|
1436
|
+
/* @__PURE__ */ p(d1, { children: (o == null ? void 0 : o.heading) || r }),
|
|
1437
|
+
/* @__PURE__ */ p(p1, { children: o == null ? void 0 : o.body }),
|
|
1438
|
+
l && /* @__PURE__ */ p(f1, { onClick: () => l(u), children: "View Insight" })
|
|
1439
|
+
] })
|
|
1440
|
+
] });
|
|
1441
|
+
};
|
|
1442
|
+
const m1 = /* @__PURE__ */ m("div")({
|
|
1406
1443
|
name: "t",
|
|
1407
1444
|
class: "t19vr3p1",
|
|
1408
1445
|
propsAsIs: !1
|
|
1409
|
-
}),
|
|
1446
|
+
}), I1 = ({ questions: r, openQuestion: o }) => /* @__PURE__ */ p(m1, { children: r == null ? void 0 : r.map((l) => {
|
|
1410
1447
|
var u, d;
|
|
1411
1448
|
if (l.type === "question" && ((u = l.attributes) == null ? void 0 : u.attributes.case) === "question") {
|
|
1412
1449
|
const g = l.attributes.attributes.value;
|
|
1413
|
-
return /* @__PURE__ */ p(
|
|
1450
|
+
return /* @__PURE__ */ p(r1, { openQuestion: o, ...g }, g.questionId);
|
|
1414
1451
|
}
|
|
1415
1452
|
if (l.type === "insight" && ((d = l.attributes) == null ? void 0 : d.attributes.case) === "insight") {
|
|
1416
1453
|
const g = l.attributes.attributes.value;
|
|
1417
|
-
return /* @__PURE__ */ p(
|
|
1454
|
+
return /* @__PURE__ */ p(g1, { openInsight: o, ...g }, g.questionId);
|
|
1418
1455
|
}
|
|
1419
1456
|
return null;
|
|
1420
|
-
}) }), Mi = (r) => r.split(/\s+/).map((o) => o[0]).join("").toUpperCase(),
|
|
1421
|
-
const
|
|
1457
|
+
}) }), Mi = (r) => r.split(/\s+/).map((o) => o[0]).join("").toUpperCase(), wi = (r) => r ? r.toLocaleString("en-US") : "0";
|
|
1458
|
+
const y1 = /* @__PURE__ */ m("div")({
|
|
1422
1459
|
name: "t",
|
|
1423
1460
|
class: "taj61ja",
|
|
1424
1461
|
propsAsIs: !1
|
|
1425
|
-
}),
|
|
1462
|
+
}), M1 = /* @__PURE__ */ m("div")({
|
|
1426
1463
|
name: "r",
|
|
1427
1464
|
class: "r19fxewd",
|
|
1428
1465
|
propsAsIs: !1
|
|
1429
|
-
}),
|
|
1466
|
+
}), w1 = /* @__PURE__ */ m("div")({
|
|
1430
1467
|
name: "i",
|
|
1431
1468
|
class: "i1whkbqh",
|
|
1432
1469
|
propsAsIs: !1
|
|
1433
|
-
}), Jt = ({ indicator: r, title: o }) => /* @__PURE__ */
|
|
1434
|
-
/* @__PURE__ */ p(
|
|
1435
|
-
/* @__PURE__ */ p(
|
|
1470
|
+
}), Jt = ({ indicator: r, title: o }) => /* @__PURE__ */ L(y1, { children: [
|
|
1471
|
+
/* @__PURE__ */ p(M1, { children: o }),
|
|
1472
|
+
/* @__PURE__ */ p(w1, { children: r })
|
|
1436
1473
|
] });
|
|
1437
1474
|
const C1 = /* @__PURE__ */ m("div")({
|
|
1438
1475
|
name: "i",
|
|
1439
1476
|
class: "i4lbhzs",
|
|
1440
1477
|
propsAsIs: !1
|
|
1441
|
-
}),
|
|
1478
|
+
}), E1 = /* @__PURE__ */ m("div")({
|
|
1442
1479
|
name: "o",
|
|
1443
1480
|
class: "ordquhq",
|
|
1444
1481
|
propsAsIs: !1
|
|
1445
|
-
}),
|
|
1482
|
+
}), A1 = /* @__PURE__ */ m("div")({
|
|
1446
1483
|
name: "n",
|
|
1447
1484
|
class: "nwzed99",
|
|
1448
1485
|
propsAsIs: !1
|
|
1449
|
-
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */
|
|
1450
|
-
/* @__PURE__ */ p(
|
|
1451
|
-
/* @__PURE__ */ p(
|
|
1486
|
+
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */ L(C1, { children: [
|
|
1487
|
+
/* @__PURE__ */ p(E1, { children: r }),
|
|
1488
|
+
/* @__PURE__ */ p(A1, { children: o })
|
|
1452
1489
|
] });
|
|
1453
|
-
const
|
|
1490
|
+
const N1 = /* @__PURE__ */ m("div")({
|
|
1454
1491
|
name: "o",
|
|
1455
1492
|
class: "o15y0waw",
|
|
1456
1493
|
propsAsIs: !1
|
|
1457
|
-
}),
|
|
1494
|
+
}), x1 = /* @__PURE__ */ m("div")({
|
|
1458
1495
|
name: "i",
|
|
1459
1496
|
class: "ihjewwf",
|
|
1460
1497
|
propsAsIs: !1
|
|
1461
|
-
}),
|
|
1498
|
+
}), T1 = /* @__PURE__ */ m("div")({
|
|
1462
1499
|
name: "n",
|
|
1463
1500
|
class: "n10e9lv8",
|
|
1464
1501
|
propsAsIs: !1
|
|
1465
|
-
}),
|
|
1502
|
+
}), v1 = /* @__PURE__ */ m("div")({
|
|
1466
1503
|
name: "r",
|
|
1467
1504
|
class: "r13bxv",
|
|
1468
1505
|
propsAsIs: !1
|
|
1469
|
-
}),
|
|
1506
|
+
}), D1 = /* @__PURE__ */ m("img")({
|
|
1470
1507
|
name: "a",
|
|
1471
1508
|
class: "a1fi59c9",
|
|
1472
1509
|
propsAsIs: !1
|
|
1473
|
-
}),
|
|
1510
|
+
}), L1 = /* @__PURE__ */ m("div")({
|
|
1474
1511
|
name: "s",
|
|
1475
1512
|
class: "s1kkihge",
|
|
1476
1513
|
propsAsIs: !1
|
|
1477
|
-
}),
|
|
1514
|
+
}), z1 = /* @__PURE__ */ m("div")({
|
|
1478
1515
|
name: "c",
|
|
1479
1516
|
class: "cy4f4t",
|
|
1480
1517
|
propsAsIs: !1
|
|
1481
|
-
}),
|
|
1518
|
+
}), S1 = /* @__PURE__ */ m("div")({
|
|
1482
1519
|
name: "p",
|
|
1483
1520
|
class: "p18cnlx1",
|
|
1484
1521
|
propsAsIs: !1
|
|
1485
|
-
}),
|
|
1522
|
+
}), j1 = /* @__PURE__ */ m("img")({
|
|
1486
1523
|
name: "l",
|
|
1487
1524
|
class: "lboqgs5",
|
|
1488
1525
|
propsAsIs: !1
|
|
1489
|
-
}),
|
|
1526
|
+
}), B1 = /* @__PURE__ */ m("div")({
|
|
1490
1527
|
name: "d",
|
|
1491
1528
|
class: "d1oaal4",
|
|
1492
1529
|
propsAsIs: !1
|
|
1493
|
-
}),
|
|
1530
|
+
}), b1 = /* @__PURE__ */ m("div")({
|
|
1494
1531
|
name: "x",
|
|
1495
1532
|
class: "x1yzgo0u",
|
|
1496
1533
|
propsAsIs: !1
|
|
1497
|
-
}),
|
|
1534
|
+
}), k1 = /* @__PURE__ */ m("div")({
|
|
1498
1535
|
name: "f",
|
|
1499
1536
|
class: "f1l9i8s8",
|
|
1500
1537
|
propsAsIs: !1
|
|
1501
|
-
}),
|
|
1538
|
+
}), R1 = /* @__PURE__ */ m("div")({
|
|
1502
1539
|
name: "g",
|
|
1503
1540
|
class: "g4cgl4u",
|
|
1504
1541
|
propsAsIs: !1
|
|
1505
|
-
}),
|
|
1542
|
+
}), _1 = /* @__PURE__ */ m("div")({
|
|
1506
1543
|
name: "h",
|
|
1507
1544
|
class: "h1qn1tmd",
|
|
1508
1545
|
propsAsIs: !1
|
|
1509
|
-
}),
|
|
1546
|
+
}), O1 = /* @__PURE__ */ m("div")({
|
|
1510
1547
|
name: "u",
|
|
1511
1548
|
class: "u1gsbhq4",
|
|
1512
1549
|
propsAsIs: !1
|
|
1513
|
-
}),
|
|
1550
|
+
}), U1 = /* @__PURE__ */ m("div")({
|
|
1514
1551
|
name: "m",
|
|
1515
1552
|
class: "mvj8oco",
|
|
1516
1553
|
propsAsIs: !1
|
|
1517
|
-
}),
|
|
1554
|
+
}), $1 = /* @__PURE__ */ m("button")({
|
|
1518
1555
|
name: "v",
|
|
1519
1556
|
class: "viqiaf2",
|
|
1520
1557
|
propsAsIs: !1
|
|
1521
|
-
}),
|
|
1558
|
+
}), F1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5OTY2IDguMDI0NTEgMi43NDQ4NyA3LjY2NDg2IDIuMTM5MSA3LjEzMDE0QzEuNTMzMzMgNi41OTU0MiAxLjIzMDQ2IDYuMDc5OCAxLjIzMDQ2IDUuNTgzMjhWNC42NjY2MkgzLjY5MTk3Wk0xNC43Njg2IDQuNjY2NjJWNS41ODMyOEMxNC43Njg2IDYuMDc5OCAxNC40NjU4IDYuNTk1NDIgMTMuODYgNy4xMzAxNEMxMy4yNTQyIDcuNjY0ODYgMTIuNDk5NCA4LjAyNDUxIDExLjU5NTYgOC4yMDkxMkMxMi4wNjk5IDcuMTc3ODcgMTIuMzA3MSA1Ljk5NzA1IDEyLjMwNzEgNC42NjY2MkgxNC43Njg2Wk0xNS45OTk4IDUuNTgzMjlWNC4zNjEwOEMxNS45OTk4IDQuMTA2NDUgMTUuOTEwMSAzLjg5MDAyIDE1LjczMDYgMy43MTE3OEMxNS41NTExIDMuNTMzNTQgMTUuMzMzMiAzLjQ0NDQyIDE1LjA3NjggMy40NDQ0MkgxMi4zMDc2VjIuNTI3NzZDMTIuMzA3NiAyLjEwNzYzIDEyLjE1NjkgMS43NDc5NyAxMS44NTU2IDEuNDQ4NzhDMTEuNTU0NCAxLjE0OTU5IDExLjE5MjIgMSAxMC43NjkxIDFINS4yMzA3MkM0LjgwNzY0IDEgNC40NDU0NyAxLjE0OTU5IDQuMTQ0MTkgMS40NDg3OEMzLjg0MjkxIDEuNzQ3OTcgMy42OTIyNyAyLjEwNzYzIDMuNjkyMjcgMi41Mjc3NlYzLjQ0NDQySDAuOTIzMDY4QzAuNjY2NjU5IDMuNDQ0NDIgMC40NDg3MTQgMy41MzM1NCAwLjI2OTIyOCAzLjcxMTc4QzAuMDg5NzQxOCAzLjg5MDAyIDAgNC4xMDY0NSAwIDQuMzYxMDhWNS41ODMyOUMwIDYuMDM1MjUgMC4xMzMwMSA2LjQ5MDM5IDAuMzk5MDM0IDYuOTQ4NzJDMC42NjUwNTkgNy40MDcwNSAxLjAyNDAzIDcuODIwODIgMS40NzU5NSA4LjE5MDAzQzEuOTI3ODcgOC41NTkyNCAyLjQ4MjM0IDguODY5NTcgMy4xMzkzOSA5LjEyMTAxQzMuNzk2NDQgOS4zNzI0NiA0LjQ4NzEzIDkuNTE0MDkgNS4yMTE0OSA5LjU0NTkyQzUuNDgwNzEgOS44ODk2NyA1Ljc4NTIgMTAuMTkyIDYuMTI0OTQgMTAuNDUzQzYuMzY4NTMgMTAuNjY5NSA2LjUzNjc5IDEwLjkwMDIgNi42Mjk3NCAxMS4xNDUzQzYuNzIyNjkgMTEuMzkwNCA2Ljc2OTE2IDExLjY3NTIgNi43NjkxNiAxMS45OTk5QzYuNzY5MTYgMTIuMzQzNiA2LjY3MTQxIDEyLjYzMzMgNi40NzU5IDEyLjg2ODhDNi4yODAzOCAxMy4xMDQzIDUuOTY3ODkgMTMuMjIyMSA1LjUzODQxIDEzLjIyMjFDNS4wNTc2NCAxMy4yMjIxIDQuNjI5NzYgMTMuMzY2OSA0LjI1NDc2IDEzLjY1NjZDMy44Nzk3NyAxMy45NDYyIDMuNjkyMjcgMTQuMzEwNiAzLjY5MjI3IDE0Ljc0OTlWMTUuMzYxQzMuNjkyMjcgMTUuNDUwMSAzLjcyMTEyIDE1LjUyMzMgMy43Nzg4MSAxNS41ODA2QzMuODM2NSAxNS42Mzc5IDMuOTEwMjIgMTUuNjY2NSAzLjk5OTk2IDE1LjY2NjVIMTEuOTk5OUMxMi4wODk2IDE1LjY2NjUgMTIuMTYzMyAxNS42Mzc5IDEyLjIyMSAxNS41ODA2QzEyLjI3ODcgMTUuNTIzMyAxMi4zMDc2IDE1LjQ1MDEgMTIuMzA3NiAxNS4zNjFWMTQuNzQ5OUMxMi4zMDc2IDE0LjMxMDYgMTIuMTIwMSAxMy45NDYyIDExLjc0NTEgMTMuNjU2NkMxMS4zNzAxIDEzLjM2NjkgMTAuOTQyMiAxMy4yMjIxIDEwLjQ2MTQgMTMuMjIyMUMxMC4wMzE5IDEzLjIyMjEgOS43MTk0NSAxMy4xMDQzIDkuNTIzOTQgMTIuODY4OEM5LjMyODQzIDEyLjYzMzMgOS4yMzA2OCAxMi4zNDM2IDkuMjMwNjggMTEuOTk5OUM5LjIzMDY4IDExLjY3NTIgOS4yNzcxNSAxMS4zOTA0IDkuMzcwMSAxMS4xNDUzQzkuNDYzMDUgMTAuOTAwMiA5LjYzMTMxIDEwLjY2OTUgOS44NzQ5IDEwLjQ1M0MxMC4yMTQ2IDEwLjE5MiAxMC41MTkxIDkuODg5NjcgMTAuNzg4NCA5LjU0NTkyQzExLjUxMjcgOS41MTQwOSAxMi4yMDM0IDkuMzcyNDYgMTIuODYwNCA5LjEyMTAxQzEzLjUxNzUgOC44Njk1NyAxNC4wNzIgOC41NTkyNCAxNC41MjM5IDguMTkwMDNDMTQuOTc1OCA3LjgyMDgyIDE1LjMzNDggNy40MDcwNSAxNS42MDA4IDYuOTQ4NzJDMTUuODY2OCA2LjQ5MDM5IDE1Ljk5OTggNi4wMzUyNSAxNS45OTk4IDUuNTgzMjlaTTYuNzYwNDcgNy4xNzk4TDguMDUxMDkgNi40OTk5N0w5LjM0MTcgNy4xNzk4TDkuMDk1MjEgNS43Mzk4OUwxMC4xMzkzIDQuNzIwMTVMOC42OTYzOSA0LjUxMDA3TDguMDUxMDkgMy4yTDcuNDA1NzggNC41MTAwN0w1Ljk2MjgzIDQuNzIwMTVMNy4wMDY5NiA1LjczOTg5TDYuNzYwNDcgNy4xNzk4WiIgZmlsbD0iI0YyQzk0QyIvPgo8L2c+Cjwvc3ZnPgo=", P1 = ({
|
|
1522
1559
|
avatar: r,
|
|
1523
1560
|
name: o,
|
|
1524
1561
|
points: l,
|
|
@@ -1529,24 +1566,24 @@ const A1 = /* @__PURE__ */ m("div")({
|
|
|
1529
1566
|
incorrect: s,
|
|
1530
1567
|
inTop: I,
|
|
1531
1568
|
average: N
|
|
1532
|
-
}) => /* @__PURE__ */
|
|
1533
|
-
/* @__PURE__ */ p(
|
|
1534
|
-
/* @__PURE__ */
|
|
1535
|
-
r && /* @__PURE__ */ p(
|
|
1536
|
-
!r && /* @__PURE__ */ p(
|
|
1569
|
+
}) => /* @__PURE__ */ L(N1, { children: [
|
|
1570
|
+
/* @__PURE__ */ p(x1, { children: /* @__PURE__ */ L(v1, { children: [
|
|
1571
|
+
/* @__PURE__ */ L($1, { children: [
|
|
1572
|
+
r && /* @__PURE__ */ p(D1, { alt: "avatar", src: r }),
|
|
1573
|
+
!r && /* @__PURE__ */ p(U1, { children: Mi(o || "") })
|
|
1537
1574
|
] }),
|
|
1538
|
-
/* @__PURE__ */
|
|
1539
|
-
/* @__PURE__ */ p(
|
|
1540
|
-
/* @__PURE__ */
|
|
1541
|
-
/* @__PURE__ */
|
|
1542
|
-
/* @__PURE__ */ p(
|
|
1543
|
-
/* @__PURE__ */
|
|
1544
|
-
|
|
1545
|
-
/* @__PURE__ */ p(
|
|
1575
|
+
/* @__PURE__ */ L(L1, { children: [
|
|
1576
|
+
/* @__PURE__ */ p(z1, { children: o }),
|
|
1577
|
+
/* @__PURE__ */ L(S1, { children: [
|
|
1578
|
+
/* @__PURE__ */ L(B1, { children: [
|
|
1579
|
+
/* @__PURE__ */ p(j1, { alt: "rank-icon", src: F1 }),
|
|
1580
|
+
/* @__PURE__ */ L(b1, { children: [
|
|
1581
|
+
wi(l),
|
|
1582
|
+
/* @__PURE__ */ p(k1, { children: "PTS" })
|
|
1546
1583
|
] })
|
|
1547
1584
|
] }),
|
|
1548
|
-
/* @__PURE__ */ p(
|
|
1549
|
-
/* @__PURE__ */
|
|
1585
|
+
/* @__PURE__ */ p(R1, {}),
|
|
1586
|
+
/* @__PURE__ */ L("div", { children: [
|
|
1550
1587
|
"TOP ",
|
|
1551
1588
|
I || 0,
|
|
1552
1589
|
"%"
|
|
@@ -1554,12 +1591,12 @@ const A1 = /* @__PURE__ */ m("div")({
|
|
|
1554
1591
|
] })
|
|
1555
1592
|
] })
|
|
1556
1593
|
] }) }),
|
|
1557
|
-
/* @__PURE__ */
|
|
1558
|
-
/* @__PURE__ */
|
|
1594
|
+
/* @__PURE__ */ L(T1, { children: [
|
|
1595
|
+
/* @__PURE__ */ L(_1, { children: [
|
|
1559
1596
|
/* @__PURE__ */ p(Jt, { indicator: u || 0, title: "Friends rank" }),
|
|
1560
1597
|
/* @__PURE__ */ p(Jt, { indicator: d || 0, title: "Global rank" })
|
|
1561
1598
|
] }),
|
|
1562
|
-
/* @__PURE__ */
|
|
1599
|
+
/* @__PURE__ */ L(O1, { children: [
|
|
1563
1600
|
/* @__PURE__ */ p(it, { indicator: g || 0, title: "Win streak" }),
|
|
1564
1601
|
/* @__PURE__ */ p(it, { indicator: f || 0, title: "Correct" }),
|
|
1565
1602
|
/* @__PURE__ */ p(it, { indicator: s || 0, title: "Incorrect" }),
|
|
@@ -1567,40 +1604,40 @@ const A1 = /* @__PURE__ */ m("div")({
|
|
|
1567
1604
|
] })
|
|
1568
1605
|
] })
|
|
1569
1606
|
] });
|
|
1570
|
-
const
|
|
1607
|
+
const Y1 = () => Z1, sa = /* @__PURE__ */ m("div")({
|
|
1571
1608
|
name: "i",
|
|
1572
1609
|
class: "idhrx8x",
|
|
1573
1610
|
propsAsIs: !1
|
|
1574
|
-
}),
|
|
1611
|
+
}), V1 = /* @__PURE__ */ m("div")({
|
|
1575
1612
|
name: "r",
|
|
1576
1613
|
class: "r1k6v4ep",
|
|
1577
1614
|
propsAsIs: !1
|
|
1578
|
-
}),
|
|
1615
|
+
}), Z1 = /* @__PURE__ */ m("div")({
|
|
1579
1616
|
name: "a",
|
|
1580
1617
|
class: "a1v8kucd",
|
|
1581
1618
|
propsAsIs: !1
|
|
1582
|
-
}),
|
|
1619
|
+
}), aa = /* @__PURE__ */ m(Y1())({
|
|
1583
1620
|
name: "e",
|
|
1584
1621
|
class: "e16yw7z1",
|
|
1585
1622
|
propsAsIs: !0
|
|
1586
1623
|
});
|
|
1587
|
-
const
|
|
1624
|
+
const Q1 = () => ze, H1 = /* @__PURE__ */ m("div")({
|
|
1588
1625
|
name: "c",
|
|
1589
1626
|
class: "ciyeb68",
|
|
1590
1627
|
propsAsIs: !1
|
|
1591
|
-
}),
|
|
1628
|
+
}), G1 = /* @__PURE__ */ m(Q1())({
|
|
1592
1629
|
name: "n",
|
|
1593
1630
|
class: "nfic4xc",
|
|
1594
1631
|
propsAsIs: !0
|
|
1595
|
-
}),
|
|
1632
|
+
}), W1 = /* @__PURE__ */ m("div")({
|
|
1596
1633
|
name: "d",
|
|
1597
1634
|
class: "d1pd1p66",
|
|
1598
1635
|
propsAsIs: !1
|
|
1599
|
-
}),
|
|
1636
|
+
}), q1 = /* @__PURE__ */ m("div")({
|
|
1600
1637
|
name: "p",
|
|
1601
1638
|
class: "p132yxcv",
|
|
1602
1639
|
propsAsIs: !1
|
|
1603
|
-
}),
|
|
1640
|
+
}), J1 = /* @__PURE__ */ m("span")({
|
|
1604
1641
|
name: "l",
|
|
1605
1642
|
class: "l4a8aw",
|
|
1606
1643
|
propsAsIs: !1
|
|
@@ -1608,7 +1645,7 @@ const Z1 = () => Ue, Q1 = /* @__PURE__ */ m("div")({
|
|
|
1608
1645
|
name: "g",
|
|
1609
1646
|
class: "gzdx7pk",
|
|
1610
1647
|
propsAsIs: !1
|
|
1611
|
-
}),
|
|
1648
|
+
}), X1 = ({
|
|
1612
1649
|
feedbackMessages: r,
|
|
1613
1650
|
questionVotedCorrectly: o,
|
|
1614
1651
|
questionVoted: l,
|
|
@@ -1618,92 +1655,92 @@ const Z1 = () => Ue, Q1 = /* @__PURE__ */ m("div")({
|
|
|
1618
1655
|
if (!(l && (u === H.TRIVIA || u === H.PREDICTION)))
|
|
1619
1656
|
return null;
|
|
1620
1657
|
const g = u === H.PREDICTION && !d, f = o ? "correct" : "incorrect", s = o ? r.correctFeedback : r.incorrectFeedback;
|
|
1621
|
-
return /* @__PURE__ */
|
|
1622
|
-
g && /* @__PURE__ */
|
|
1623
|
-
/* @__PURE__ */ p(
|
|
1658
|
+
return /* @__PURE__ */ L(H1, { "data-isPrediction": g, children: [
|
|
1659
|
+
g && /* @__PURE__ */ L(Ue, { children: [
|
|
1660
|
+
/* @__PURE__ */ p(G1, { name: "icon-prediction" }),
|
|
1624
1661
|
/* @__PURE__ */ p(Xt, { children: "Stay tuned to see if your prediction was correct." })
|
|
1625
1662
|
] }),
|
|
1626
|
-
d && /* @__PURE__ */
|
|
1627
|
-
/* @__PURE__ */ p(
|
|
1628
|
-
/* @__PURE__ */ p("div", { children: /* @__PURE__ */
|
|
1629
|
-
/* @__PURE__ */ p(
|
|
1663
|
+
d && /* @__PURE__ */ L(Ue, { children: [
|
|
1664
|
+
/* @__PURE__ */ p(W1, { "data-feedbackType": f, children: /* @__PURE__ */ p(ze, { name: f }) }),
|
|
1665
|
+
/* @__PURE__ */ p("div", { children: /* @__PURE__ */ L(q1, { children: [
|
|
1666
|
+
/* @__PURE__ */ p(J1, { "data-feedbackType": f, children: s == null ? void 0 : s.title }),
|
|
1630
1667
|
/* @__PURE__ */ p(Xt, { children: s == null ? void 0 : s.description })
|
|
1631
1668
|
] }) })
|
|
1632
1669
|
] })
|
|
1633
1670
|
] });
|
|
1634
1671
|
};
|
|
1635
|
-
const
|
|
1672
|
+
const K1 = /* @__PURE__ */ m("div")({
|
|
1636
1673
|
name: "o",
|
|
1637
1674
|
class: "olc1eph",
|
|
1638
1675
|
propsAsIs: !1
|
|
1639
|
-
}),
|
|
1676
|
+
}), eo = /* @__PURE__ */ m("div")({
|
|
1640
1677
|
name: "n",
|
|
1641
1678
|
class: "n1yoh29a",
|
|
1642
1679
|
propsAsIs: !1
|
|
1643
|
-
}),
|
|
1680
|
+
}), to = /* @__PURE__ */ m("div")({
|
|
1644
1681
|
name: "p",
|
|
1645
1682
|
class: "pjkr5mb",
|
|
1646
1683
|
propsAsIs: !1
|
|
1647
|
-
}),
|
|
1684
|
+
}), io = /* @__PURE__ */ m("div")({
|
|
1648
1685
|
name: "r",
|
|
1649
1686
|
class: "r82wnnx",
|
|
1650
1687
|
propsAsIs: !1
|
|
1651
1688
|
});
|
|
1652
|
-
const
|
|
1689
|
+
const ro = () => Ci, no = () => Ci, oo = () => ze, so = /* @__PURE__ */ m("button")({
|
|
1653
1690
|
name: "c",
|
|
1654
1691
|
class: "cpm4u8k",
|
|
1655
1692
|
propsAsIs: !1
|
|
1656
|
-
}),
|
|
1693
|
+
}), ao = /* @__PURE__ */ m("div")({
|
|
1657
1694
|
name: "l",
|
|
1658
1695
|
class: "lwfomc3",
|
|
1659
1696
|
propsAsIs: !1
|
|
1660
|
-
}),
|
|
1697
|
+
}), lo = /* @__PURE__ */ m("span")({
|
|
1661
1698
|
name: "d",
|
|
1662
1699
|
class: "dmltvg2",
|
|
1663
1700
|
propsAsIs: !1
|
|
1664
|
-
}),
|
|
1701
|
+
}), co = /* @__PURE__ */ m("div")({
|
|
1665
1702
|
name: "s",
|
|
1666
1703
|
class: "stfjpqz",
|
|
1667
1704
|
propsAsIs: !1
|
|
1668
|
-
}),
|
|
1705
|
+
}), uo = /* @__PURE__ */ m("div")({
|
|
1669
1706
|
name: "p",
|
|
1670
1707
|
class: "p198m24r",
|
|
1671
1708
|
propsAsIs: !1
|
|
1672
|
-
}),
|
|
1709
|
+
}), Ci = /* @__PURE__ */ m("img")({
|
|
1673
1710
|
name: "r",
|
|
1674
1711
|
class: "rbq5eu7",
|
|
1675
1712
|
propsAsIs: !1
|
|
1676
|
-
}),
|
|
1713
|
+
}), ho = /* @__PURE__ */ m(ro())({
|
|
1677
1714
|
name: "g",
|
|
1678
1715
|
class: "g1iv6oeb",
|
|
1679
1716
|
propsAsIs: !0
|
|
1680
|
-
}),
|
|
1717
|
+
}), po = /* @__PURE__ */ m(no())({
|
|
1681
1718
|
name: "h",
|
|
1682
1719
|
class: "h1qtxlqc",
|
|
1683
1720
|
propsAsIs: !0
|
|
1684
|
-
}),
|
|
1721
|
+
}), fo = /* @__PURE__ */ m("span")({
|
|
1685
1722
|
name: "u",
|
|
1686
1723
|
class: "udm736q",
|
|
1687
1724
|
propsAsIs: !1
|
|
1688
|
-
}),
|
|
1725
|
+
}), go = /* @__PURE__ */ m("span")({
|
|
1689
1726
|
name: "b",
|
|
1690
1727
|
class: "b1da34tx",
|
|
1691
1728
|
propsAsIs: !1
|
|
1692
|
-
}),
|
|
1729
|
+
}), mo = /* @__PURE__ */ m("span")({
|
|
1693
1730
|
name: "x",
|
|
1694
1731
|
class: "x1dqwq83",
|
|
1695
1732
|
propsAsIs: !1
|
|
1696
|
-
}),
|
|
1733
|
+
}), Io = /* @__PURE__ */ m(oo())({
|
|
1697
1734
|
name: "v",
|
|
1698
1735
|
class: "v10s9my2",
|
|
1699
1736
|
propsAsIs: !0
|
|
1700
1737
|
}), Kt = {
|
|
1701
|
-
[Me.CENTERED]: (r) => /* @__PURE__ */ p(
|
|
1702
|
-
[Me.TRANSPARENT]: (r) => /* @__PURE__ */ p(
|
|
1703
|
-
[Me.ROUNDED]: (r) => /* @__PURE__ */ p(
|
|
1738
|
+
[Me.CENTERED]: (r) => /* @__PURE__ */ p(ho, { alt: "option-icon", src: r }),
|
|
1739
|
+
[Me.TRANSPARENT]: (r) => /* @__PURE__ */ p(co, { children: /* @__PURE__ */ p(uo, { style: { backgroundImage: `url(${r})` } }) }),
|
|
1740
|
+
[Me.ROUNDED]: (r) => /* @__PURE__ */ p(po, { alt: "option-icon", src: r }),
|
|
1704
1741
|
[Me.NONE]: () => null,
|
|
1705
1742
|
[Me.UNSET]: () => null
|
|
1706
|
-
},
|
|
1743
|
+
}, yo = ({ questionType: r, hasCorrectAnswer: o, correct: l, youVoted: u, questionVoted: d }) => {
|
|
1707
1744
|
if (r === H.POLL && u)
|
|
1708
1745
|
return "correct";
|
|
1709
1746
|
if (r === H.PREDICTION) {
|
|
@@ -1713,13 +1750,13 @@ const io = () => wi, ro = () => wi, no = () => Ue, oo = /* @__PURE__ */ m("butto
|
|
|
1713
1750
|
return "correct";
|
|
1714
1751
|
}
|
|
1715
1752
|
return r === H.TRIVIA && d ? u ? l ? "correct" : "incorrect" : l ? "correct" : "unset" : "unset";
|
|
1716
|
-
},
|
|
1753
|
+
}, Mo = ({
|
|
1717
1754
|
questionType: r,
|
|
1718
1755
|
questionVoted: o,
|
|
1719
1756
|
correct: l,
|
|
1720
1757
|
hasCorrectAnswer: u,
|
|
1721
1758
|
questionStatus: d
|
|
1722
|
-
}) => r === H.TRIVIA ? o && l : r === H.PREDICTION ? o && l && u || d === Rt.RESOLVED && l : !1,
|
|
1759
|
+
}) => r === H.TRIVIA ? o && l : r === H.PREDICTION ? o && l && u || d === Rt.RESOLVED && l : !1, wo = (r) => {
|
|
1723
1760
|
var o;
|
|
1724
1761
|
const {
|
|
1725
1762
|
// option props
|
|
@@ -1735,27 +1772,27 @@ const io = () => wi, ro = () => wi, no = () => Ue, oo = /* @__PURE__ */ m("butto
|
|
|
1735
1772
|
imageMode: N = Me.ROUNDED,
|
|
1736
1773
|
answerTimeExpired: E,
|
|
1737
1774
|
questionStatus: x,
|
|
1738
|
-
isLoading:
|
|
1775
|
+
isLoading: w,
|
|
1739
1776
|
questionType: v,
|
|
1740
|
-
correct:
|
|
1777
|
+
correct: z,
|
|
1741
1778
|
hasCorrectAnswer: y
|
|
1742
|
-
} = r, A =
|
|
1743
|
-
return /* @__PURE__ */
|
|
1744
|
-
|
|
1779
|
+
} = r, A = yo(r), C = Mo({ questionType: v, questionVoted: I, correct: z, hasCorrectAnswer: y, questionStatus: x }), T = I || x === Rt.RESOLVED && v === H.PREDICTION;
|
|
1780
|
+
return /* @__PURE__ */ L(
|
|
1781
|
+
so,
|
|
1745
1782
|
{
|
|
1746
1783
|
value: l,
|
|
1747
1784
|
"data-selected": s,
|
|
1748
1785
|
"data-answerState": A,
|
|
1749
|
-
disabled: I ||
|
|
1786
|
+
disabled: I || w || E,
|
|
1750
1787
|
onClick: f,
|
|
1751
1788
|
children: [
|
|
1752
|
-
T && /* @__PURE__ */ p(
|
|
1753
|
-
/* @__PURE__ */
|
|
1789
|
+
T && /* @__PURE__ */ p(ao, { "data-answerState": A, style: { width: `${g}%` } }),
|
|
1790
|
+
/* @__PURE__ */ L(lo, { children: [
|
|
1754
1791
|
u && ((o = Kt[N]) == null ? void 0 : o.call(Kt, u)),
|
|
1755
|
-
/* @__PURE__ */ p(
|
|
1756
|
-
T && /* @__PURE__ */
|
|
1757
|
-
|
|
1758
|
-
/* @__PURE__ */
|
|
1792
|
+
/* @__PURE__ */ p(fo, { children: d }),
|
|
1793
|
+
T && /* @__PURE__ */ L(go, { children: [
|
|
1794
|
+
C && /* @__PURE__ */ p(Io, { name: "selected" }),
|
|
1795
|
+
/* @__PURE__ */ L(mo, { children: [
|
|
1759
1796
|
g,
|
|
1760
1797
|
"%"
|
|
1761
1798
|
] })
|
|
@@ -1765,57 +1802,57 @@ const io = () => wi, ro = () => wi, no = () => Ue, oo = /* @__PURE__ */ m("butto
|
|
|
1765
1802
|
}
|
|
1766
1803
|
);
|
|
1767
1804
|
};
|
|
1768
|
-
const Co = () =>
|
|
1805
|
+
const Co = () => ze, Eo = /* @__PURE__ */ m("div")({
|
|
1769
1806
|
name: "a",
|
|
1770
1807
|
class: "a1r7f3z4",
|
|
1771
1808
|
propsAsIs: !1
|
|
1772
|
-
}),
|
|
1809
|
+
}), Ao = /* @__PURE__ */ m("div")({
|
|
1773
1810
|
name: "s",
|
|
1774
1811
|
class: "sblndl",
|
|
1775
1812
|
propsAsIs: !1
|
|
1776
|
-
}),
|
|
1813
|
+
}), No = /* @__PURE__ */ m("div")({
|
|
1777
1814
|
name: "l",
|
|
1778
1815
|
class: "l7ka1tv",
|
|
1779
1816
|
propsAsIs: !1
|
|
1780
|
-
}),
|
|
1817
|
+
}), xo = /* @__PURE__ */ m(Co())({
|
|
1781
1818
|
name: "p",
|
|
1782
1819
|
class: "p1edlxt3",
|
|
1783
1820
|
propsAsIs: !0
|
|
1784
|
-
}),
|
|
1821
|
+
}), To = /* @__PURE__ */ m("div")({
|
|
1785
1822
|
name: "g",
|
|
1786
1823
|
class: "ghm08u2",
|
|
1787
1824
|
propsAsIs: !1
|
|
1788
|
-
}),
|
|
1825
|
+
}), vo = /* @__PURE__ */ m("span")({
|
|
1789
1826
|
name: "c",
|
|
1790
1827
|
class: "c12nsh46",
|
|
1791
1828
|
propsAsIs: !1
|
|
1792
|
-
}),
|
|
1829
|
+
}), Do = /* @__PURE__ */ m("span")({
|
|
1793
1830
|
name: "d",
|
|
1794
1831
|
class: "dlr9eoc",
|
|
1795
1832
|
propsAsIs: !1
|
|
1796
|
-
}),
|
|
1797
|
-
/* @__PURE__ */
|
|
1798
|
-
r && /* @__PURE__ */ p(
|
|
1799
|
-
o !== void 0 && /* @__PURE__ */
|
|
1800
|
-
/* @__PURE__ */ p(
|
|
1801
|
-
/* @__PURE__ */
|
|
1802
|
-
/* @__PURE__ */ p(
|
|
1803
|
-
/* @__PURE__ */ p(
|
|
1833
|
+
}), Lo = ({ title: r, points: o, isPlayingTimer: l, isTimer: u, onTimerExpired: d }) => /* @__PURE__ */ L(Eo, { children: [
|
|
1834
|
+
/* @__PURE__ */ L(Ao, { children: [
|
|
1835
|
+
r && /* @__PURE__ */ p(No, { children: r }),
|
|
1836
|
+
o !== void 0 && /* @__PURE__ */ L(Ue, { children: [
|
|
1837
|
+
/* @__PURE__ */ p(xo, { name: "icon-trophy" }),
|
|
1838
|
+
/* @__PURE__ */ L(To, { children: [
|
|
1839
|
+
/* @__PURE__ */ p(vo, { children: o }),
|
|
1840
|
+
/* @__PURE__ */ p(Do, { children: "PTS" })
|
|
1804
1841
|
] })
|
|
1805
1842
|
] })
|
|
1806
1843
|
] }),
|
|
1807
|
-
u && /* @__PURE__ */ p(
|
|
1808
|
-
] }),
|
|
1844
|
+
u && /* @__PURE__ */ p(yi, { isPlaying: l, onTimerExpired: d })
|
|
1845
|
+
] }), zo = ({ openedQuestion: r, vote: o }) => {
|
|
1809
1846
|
var l;
|
|
1810
|
-
const u = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] =
|
|
1847
|
+
const u = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = J(!1), [I, N] = J(!1), [E, x] = J(""), w = r == null ? void 0 : r.id, v = He(
|
|
1811
1848
|
async (T) => {
|
|
1812
|
-
if (
|
|
1849
|
+
if (w) {
|
|
1813
1850
|
const S = T.currentTarget.value;
|
|
1814
|
-
x(S), N(!0), await o(
|
|
1851
|
+
x(S), N(!0), await o(w, S), N(!1);
|
|
1815
1852
|
}
|
|
1816
1853
|
},
|
|
1817
|
-
[
|
|
1818
|
-
),
|
|
1854
|
+
[w, x, o]
|
|
1855
|
+
), z = De(
|
|
1819
1856
|
() => r == null ? void 0 : r.answers.find((T) => T.youVoted === !0),
|
|
1820
1857
|
[r]
|
|
1821
1858
|
), y = De(
|
|
@@ -1823,7 +1860,7 @@ const Co = () => Ue, wo = /* @__PURE__ */ m("div")({
|
|
|
1823
1860
|
[r]
|
|
1824
1861
|
), A = De(() => r ? r.answers.map((T) => ({
|
|
1825
1862
|
...T,
|
|
1826
|
-
questionVoted: !!
|
|
1863
|
+
questionVoted: !!z,
|
|
1827
1864
|
youSelected: E === T.id,
|
|
1828
1865
|
isLoading: I,
|
|
1829
1866
|
hasCorrectAnswer: y,
|
|
@@ -1832,20 +1869,20 @@ const Co = () => Ue, wo = /* @__PURE__ */ m("div")({
|
|
|
1832
1869
|
questionStatus: r.status,
|
|
1833
1870
|
// ToDo: Figure out why imageMode is not in the response
|
|
1834
1871
|
onVote: v
|
|
1835
|
-
})) : [], [y, f, I, r,
|
|
1836
|
-
return /* @__PURE__ */ p(
|
|
1837
|
-
|
|
1838
|
-
|
|
1872
|
+
})) : [], [y, f, I, r, z, v, E]), C = g && (g.case === "trivia" || g.case === "prediction") ? g.value : void 0;
|
|
1873
|
+
return /* @__PURE__ */ p(V1, { "data-question-header": "true", children: /* @__PURE__ */ p(K1, { children: /* @__PURE__ */ L(eo, { children: [
|
|
1874
|
+
C && /* @__PURE__ */ p(
|
|
1875
|
+
X1,
|
|
1839
1876
|
{
|
|
1840
|
-
feedbackMessages:
|
|
1841
|
-
questionVoted: !!
|
|
1842
|
-
questionVotedCorrectly:
|
|
1877
|
+
feedbackMessages: C,
|
|
1878
|
+
questionVoted: !!z,
|
|
1879
|
+
questionVotedCorrectly: z == null ? void 0 : z.correct,
|
|
1843
1880
|
questionType: d,
|
|
1844
1881
|
hasCorrectAnswer: y
|
|
1845
1882
|
}
|
|
1846
1883
|
),
|
|
1847
1884
|
/* @__PURE__ */ p(
|
|
1848
|
-
|
|
1885
|
+
Lo,
|
|
1849
1886
|
{
|
|
1850
1887
|
title: f ? "Expired" : "To win",
|
|
1851
1888
|
points: f ? void 0 : 100,
|
|
@@ -1853,93 +1890,93 @@ const Co = () => Ue, wo = /* @__PURE__ */ m("div")({
|
|
|
1853
1890
|
isTimer: !0
|
|
1854
1891
|
}
|
|
1855
1892
|
),
|
|
1856
|
-
/* @__PURE__ */ p(
|
|
1857
|
-
/* @__PURE__ */ p(
|
|
1893
|
+
/* @__PURE__ */ p(to, { children: u }),
|
|
1894
|
+
/* @__PURE__ */ p(io, { children: A.map((T) => /* @__PURE__ */ p(wo, { ...T }, T.id)) })
|
|
1858
1895
|
] }) }) });
|
|
1859
1896
|
};
|
|
1860
|
-
const
|
|
1897
|
+
const So = /* @__PURE__ */ m("div")({
|
|
1861
1898
|
name: "n",
|
|
1862
1899
|
class: "nyaglcf",
|
|
1863
1900
|
propsAsIs: !1
|
|
1864
|
-
}),
|
|
1901
|
+
}), jo = /* @__PURE__ */ m("div")({
|
|
1865
1902
|
name: "r",
|
|
1866
1903
|
class: "rn5nzbc",
|
|
1867
1904
|
propsAsIs: !1
|
|
1868
|
-
}),
|
|
1905
|
+
}), Bo = /* @__PURE__ */ m("img")({
|
|
1869
1906
|
name: "e",
|
|
1870
1907
|
class: "e6i73qc",
|
|
1871
1908
|
propsAsIs: !1
|
|
1872
|
-
}),
|
|
1909
|
+
}), bo = /* @__PURE__ */ m("div")({
|
|
1873
1910
|
name: "i",
|
|
1874
1911
|
class: "iu0veuw",
|
|
1875
1912
|
propsAsIs: !1
|
|
1876
|
-
}),
|
|
1913
|
+
}), ko = /* @__PURE__ */ m("img")({
|
|
1877
1914
|
name: "p",
|
|
1878
1915
|
class: "ph41hsa",
|
|
1879
1916
|
propsAsIs: !1
|
|
1880
|
-
}),
|
|
1917
|
+
}), Ro = /* @__PURE__ */ m("span")({
|
|
1881
1918
|
name: "a",
|
|
1882
1919
|
class: "a1doo0j",
|
|
1883
1920
|
propsAsIs: !1
|
|
1884
|
-
}),
|
|
1921
|
+
}), _o = /* @__PURE__ */ m("div")({
|
|
1885
1922
|
name: "s",
|
|
1886
1923
|
class: "s1y6mmdj",
|
|
1887
1924
|
propsAsIs: !1
|
|
1888
|
-
}),
|
|
1925
|
+
}), Oo = /* @__PURE__ */ m("div")({
|
|
1889
1926
|
name: "c",
|
|
1890
1927
|
class: "cr7s6d2",
|
|
1891
1928
|
propsAsIs: !1
|
|
1892
|
-
}),
|
|
1929
|
+
}), Uo = /* @__PURE__ */ m("button")({
|
|
1893
1930
|
name: "d",
|
|
1894
1931
|
class: "dn2ogfd",
|
|
1895
1932
|
propsAsIs: !1
|
|
1896
|
-
}),
|
|
1933
|
+
}), $o = /* @__PURE__ */ m("button")({
|
|
1897
1934
|
name: "x",
|
|
1898
1935
|
class: "xvt3fwn",
|
|
1899
1936
|
propsAsIs: !1
|
|
1900
|
-
}),
|
|
1937
|
+
}), Fo = /* @__PURE__ */ m("img")({
|
|
1901
1938
|
name: "g",
|
|
1902
1939
|
class: "g4rp2wp",
|
|
1903
1940
|
propsAsIs: !1
|
|
1904
|
-
}),
|
|
1941
|
+
}), Po = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", Yo = ({
|
|
1905
1942
|
close: r,
|
|
1906
1943
|
action: o,
|
|
1907
1944
|
data: { icon: l, header: u, title: d, subtitle: g, graphicBg: f, sponsorLogo: s }
|
|
1908
|
-
}) => /* @__PURE__ */
|
|
1909
|
-
/* @__PURE__ */ p(
|
|
1910
|
-
/* @__PURE__ */ p(
|
|
1911
|
-
/* @__PURE__ */
|
|
1912
|
-
/* @__PURE__ */
|
|
1913
|
-
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */
|
|
1914
|
-
/* @__PURE__ */ p(
|
|
1915
|
-
/* @__PURE__ */ p(
|
|
1945
|
+
}) => /* @__PURE__ */ L(So, { children: [
|
|
1946
|
+
/* @__PURE__ */ p($o, { onClick: r, children: /* @__PURE__ */ p(Fo, { alt: "icon-close-onboarding-inapp", src: Po }) }),
|
|
1947
|
+
/* @__PURE__ */ p(jo, { style: { backgroundImage: `url(${f || ""})` }, children: l && /* @__PURE__ */ p(Bo, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1948
|
+
/* @__PURE__ */ L(bo, { children: [
|
|
1949
|
+
/* @__PURE__ */ L("div", { children: [
|
|
1950
|
+
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */ L(Ue, { children: [
|
|
1951
|
+
/* @__PURE__ */ p(ko, { alt: "sponsor-logo", src: s }),
|
|
1952
|
+
/* @__PURE__ */ p(Ro, { children: "Presents" })
|
|
1916
1953
|
] }) : u || "" }),
|
|
1917
|
-
/* @__PURE__ */ p(
|
|
1918
|
-
/* @__PURE__ */ p(
|
|
1954
|
+
/* @__PURE__ */ p(_o, { children: d || "" }),
|
|
1955
|
+
/* @__PURE__ */ p(Oo, { children: g || "" })
|
|
1919
1956
|
] }),
|
|
1920
|
-
/* @__PURE__ */ p(
|
|
1957
|
+
/* @__PURE__ */ p(Uo, { onClick: o, children: "Play" })
|
|
1921
1958
|
] })
|
|
1922
1959
|
] });
|
|
1923
|
-
const
|
|
1960
|
+
const Vo = /* @__PURE__ */ m("div")({
|
|
1924
1961
|
name: "r",
|
|
1925
1962
|
class: "r1li8aub",
|
|
1926
1963
|
propsAsIs: !1
|
|
1927
|
-
}),
|
|
1928
|
-
[Vt.ONBOARDING]:
|
|
1929
|
-
[Vt.QUESTION]:
|
|
1930
|
-
},
|
|
1964
|
+
}), Zo = {
|
|
1965
|
+
[Vt.ONBOARDING]: Yo,
|
|
1966
|
+
[Vt.QUESTION]: Ii
|
|
1967
|
+
}, Qo = ({
|
|
1931
1968
|
index: r,
|
|
1932
1969
|
total: o,
|
|
1933
1970
|
...l
|
|
1934
1971
|
}) => {
|
|
1935
|
-
const u =
|
|
1972
|
+
const u = fi(null), d = Zo[l.type] || Ii;
|
|
1936
1973
|
return kt(() => {
|
|
1937
1974
|
u.current !== null && l.hiding && u.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1938
1975
|
duration: 300,
|
|
1939
1976
|
fill: "forwards"
|
|
1940
1977
|
});
|
|
1941
1978
|
}, [l.hiding]), /* @__PURE__ */ p(
|
|
1942
|
-
|
|
1979
|
+
Vo,
|
|
1943
1980
|
{
|
|
1944
1981
|
ref: u,
|
|
1945
1982
|
style: { zIndex: r + 1, transform: `translateY(${100 * (o - r - 1)}%)` },
|
|
@@ -1947,14 +1984,14 @@ const Yo = /* @__PURE__ */ m("div")({
|
|
|
1947
1984
|
}
|
|
1948
1985
|
);
|
|
1949
1986
|
};
|
|
1950
|
-
const
|
|
1987
|
+
const Ho = /* @__PURE__ */ m("div")({
|
|
1951
1988
|
name: "o",
|
|
1952
1989
|
class: "oc6h1al",
|
|
1953
1990
|
propsAsIs: !1
|
|
1954
|
-
}),
|
|
1991
|
+
}), Go = ({ notificationsStore: r }) => {
|
|
1955
1992
|
const o = Z(r);
|
|
1956
|
-
return /* @__PURE__ */ p(
|
|
1957
|
-
|
|
1993
|
+
return /* @__PURE__ */ p(Ho, { children: o == null ? void 0 : o.map((l, u) => /* @__PURE__ */ p(
|
|
1994
|
+
Qo,
|
|
1958
1995
|
{
|
|
1959
1996
|
index: u,
|
|
1960
1997
|
total: o.length,
|
|
@@ -1962,32 +1999,32 @@ const Qo = /* @__PURE__ */ m("div")({
|
|
|
1962
1999
|
},
|
|
1963
2000
|
l.id
|
|
1964
2001
|
)) });
|
|
1965
|
-
},
|
|
2002
|
+
}, Wo = ({ store: r }) => {
|
|
1966
2003
|
const { data: o } = Z(r);
|
|
1967
|
-
return o != null && o.summary ? /* @__PURE__ */ p(
|
|
1968
|
-
},
|
|
2004
|
+
return o != null && o.summary ? /* @__PURE__ */ p(P1, { ...o.summary, ...o.percentage }) : /* @__PURE__ */ p("div", { children: "wait user..." });
|
|
2005
|
+
}, qo = ({ store: r, openQuestion: o }) => {
|
|
1969
2006
|
const l = Z(r);
|
|
1970
|
-
return l != null && l.data ? /* @__PURE__ */ p(
|
|
2007
|
+
return l != null && l.data ? /* @__PURE__ */ p(I1, { openQuestion: o, questions: l.data }) : /* @__PURE__ */ p("div", { children: "wait questions..." });
|
|
1971
2008
|
};
|
|
1972
|
-
const
|
|
2009
|
+
const Jo = /* @__PURE__ */ m("div")({
|
|
1973
2010
|
name: "y",
|
|
1974
2011
|
class: "y1qd1atw",
|
|
1975
2012
|
propsAsIs: !1
|
|
1976
|
-
}),
|
|
2013
|
+
}), Xo = ({
|
|
1977
2014
|
openedQuestion: r,
|
|
1978
2015
|
closeQuestion: o,
|
|
1979
2016
|
vote: l
|
|
1980
2017
|
}) => {
|
|
1981
2018
|
var u;
|
|
1982
|
-
const [d, g] =
|
|
2019
|
+
const [d, g] = J(!1);
|
|
1983
2020
|
He((I) => {
|
|
1984
2021
|
g(I);
|
|
1985
2022
|
}, [g]);
|
|
1986
2023
|
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]);
|
|
1987
|
-
return r ? /* @__PURE__ */ p(
|
|
2024
|
+
return r ? /* @__PURE__ */ p(Jo, {
|
|
1988
2025
|
children: /* @__PURE__ */ p("div", {
|
|
1989
2026
|
children: /* @__PURE__ */ p("div", {
|
|
1990
|
-
children: /* @__PURE__ */ p(
|
|
2027
|
+
children: /* @__PURE__ */ p(zo, {
|
|
1991
2028
|
title: r.subject,
|
|
1992
2029
|
feedbackMessages: (u = r.options) == null ? void 0 : u.options.value,
|
|
1993
2030
|
questionType: r.type,
|
|
@@ -2013,16 +2050,49 @@ const qo = /* @__PURE__ */ m("div")({
|
|
|
2013
2050
|
})
|
|
2014
2051
|
}) : null;
|
|
2015
2052
|
};
|
|
2016
|
-
const
|
|
2053
|
+
const Ko = /* @__PURE__ */ m("div")({
|
|
2054
|
+
name: "e",
|
|
2055
|
+
class: "e1q4ysxt",
|
|
2056
|
+
propsAsIs: !1
|
|
2057
|
+
}), es = /* @__PURE__ */ m("div")({
|
|
2058
|
+
name: "o",
|
|
2059
|
+
class: "ouyy0pt",
|
|
2060
|
+
propsAsIs: !1
|
|
2061
|
+
}), ts = /* @__PURE__ */ m("div")({
|
|
2062
|
+
name: "n",
|
|
2063
|
+
class: "n19nxf9u",
|
|
2064
|
+
propsAsIs: !1
|
|
2065
|
+
}), is = /* @__PURE__ */ m("img")({
|
|
2066
|
+
name: "r",
|
|
2067
|
+
class: "r1k9ayhp",
|
|
2068
|
+
propsAsIs: !1
|
|
2069
|
+
}), rs = /* @__PURE__ */ m("img")({
|
|
2070
|
+
name: "l",
|
|
2071
|
+
class: "l5j3lzi",
|
|
2072
|
+
propsAsIs: !1
|
|
2073
|
+
}), ns = /* @__PURE__ */ m("img")({
|
|
2074
|
+
name: "s",
|
|
2075
|
+
class: "sm6ggfo",
|
|
2076
|
+
propsAsIs: !1
|
|
2077
|
+
}), os = /* @__PURE__ */ m("div")({
|
|
2078
|
+
name: "p",
|
|
2079
|
+
class: "p1dhscaj",
|
|
2080
|
+
propsAsIs: !1
|
|
2081
|
+
}), ss = /* @__PURE__ */ m("img")({
|
|
2082
|
+
name: "a",
|
|
2083
|
+
class: "a1f5isrh",
|
|
2084
|
+
propsAsIs: !1
|
|
2085
|
+
});
|
|
2086
|
+
const as = /* @__PURE__ */ m("div")({
|
|
2017
2087
|
name: "e",
|
|
2018
2088
|
class: "e1javwmj",
|
|
2019
2089
|
propsAsIs: !1
|
|
2020
|
-
}),
|
|
2090
|
+
}), ls = /* @__PURE__ */ m("div")({
|
|
2021
2091
|
name: "t",
|
|
2022
2092
|
class: "t1qosv8q",
|
|
2023
2093
|
propsAsIs: !1
|
|
2024
2094
|
});
|
|
2025
|
-
const
|
|
2095
|
+
const cs = /* @__PURE__ */ m("div")({
|
|
2026
2096
|
name: "o",
|
|
2027
2097
|
class: "oa5apdf",
|
|
2028
2098
|
propsAsIs: !1
|
|
@@ -2030,47 +2100,47 @@ const es = /* @__PURE__ */ m("div")({
|
|
|
2030
2100
|
name: "n",
|
|
2031
2101
|
class: "n1wh5guy",
|
|
2032
2102
|
propsAsIs: !1
|
|
2033
|
-
}),
|
|
2103
|
+
}), us = /* @__PURE__ */ m("img")({
|
|
2034
2104
|
name: "r",
|
|
2035
2105
|
class: "ro3ktps",
|
|
2036
2106
|
propsAsIs: !1
|
|
2037
2107
|
});
|
|
2038
|
-
const
|
|
2108
|
+
const hs = /* @__PURE__ */ m("div")({
|
|
2039
2109
|
name: "t",
|
|
2040
2110
|
class: "t16hl500",
|
|
2041
2111
|
propsAsIs: !1
|
|
2042
|
-
}),
|
|
2112
|
+
}), ds = /* @__PURE__ */ m("img")({
|
|
2043
2113
|
name: "e",
|
|
2044
2114
|
class: "e18ymslp",
|
|
2045
2115
|
propsAsIs: !1
|
|
2046
|
-
}),
|
|
2116
|
+
}), ps = /* @__PURE__ */ m("div")({
|
|
2047
2117
|
name: "n",
|
|
2048
2118
|
class: "n1kdd00k",
|
|
2049
2119
|
propsAsIs: !1
|
|
2050
|
-
}),
|
|
2120
|
+
}), fs = /* @__PURE__ */ m("div")({
|
|
2051
2121
|
name: "r",
|
|
2052
2122
|
class: "rwwgdkm",
|
|
2053
2123
|
propsAsIs: !1
|
|
2054
|
-
}),
|
|
2124
|
+
}), gs = /* @__PURE__ */ m("div")({
|
|
2055
2125
|
name: "d",
|
|
2056
2126
|
class: "dvazwa9",
|
|
2057
2127
|
propsAsIs: !1
|
|
2058
|
-
}),
|
|
2128
|
+
}), ms = /* @__PURE__ */ m("a")({
|
|
2059
2129
|
name: "c",
|
|
2060
2130
|
class: "cd3vh14",
|
|
2061
2131
|
propsAsIs: !1
|
|
2062
|
-
}),
|
|
2132
|
+
}), Is = /* @__PURE__ */ m("img")({
|
|
2063
2133
|
name: "l",
|
|
2064
2134
|
class: "l19zo16x",
|
|
2065
2135
|
propsAsIs: !1
|
|
2066
2136
|
});
|
|
2067
2137
|
var Ei = {}, Ai = {}, at = {};
|
|
2068
|
-
at.byteLength =
|
|
2069
|
-
at.toByteArray =
|
|
2070
|
-
at.fromByteArray =
|
|
2071
|
-
var fe = [], ee = [],
|
|
2072
|
-
for (var Fe = 0,
|
|
2073
|
-
fe[Fe] =
|
|
2138
|
+
at.byteLength = ws;
|
|
2139
|
+
at.toByteArray = Es;
|
|
2140
|
+
at.fromByteArray = xs;
|
|
2141
|
+
var fe = [], ee = [], ys = typeof Uint8Array < "u" ? Uint8Array : Array, wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2142
|
+
for (var Fe = 0, Ms = wt.length; Fe < Ms; ++Fe)
|
|
2143
|
+
fe[Fe] = wt[Fe], ee[wt.charCodeAt(Fe)] = Fe;
|
|
2074
2144
|
ee["-".charCodeAt(0)] = 62;
|
|
2075
2145
|
ee["_".charCodeAt(0)] = 63;
|
|
2076
2146
|
function Ni(r) {
|
|
@@ -2082,30 +2152,30 @@ function Ni(r) {
|
|
|
2082
2152
|
var u = l === o ? 0 : 4 - l % 4;
|
|
2083
2153
|
return [l, u];
|
|
2084
2154
|
}
|
|
2085
|
-
function
|
|
2155
|
+
function ws(r) {
|
|
2086
2156
|
var o = Ni(r), l = o[0], u = o[1];
|
|
2087
2157
|
return (l + u) * 3 / 4 - u;
|
|
2088
2158
|
}
|
|
2089
|
-
function
|
|
2159
|
+
function Cs(r, o, l) {
|
|
2090
2160
|
return (o + l) * 3 / 4 - l;
|
|
2091
2161
|
}
|
|
2092
|
-
function
|
|
2093
|
-
var o, l = Ni(r), u = l[0], d = l[1], g = new
|
|
2162
|
+
function Es(r) {
|
|
2163
|
+
var o, l = Ni(r), u = l[0], d = l[1], g = new ys(Cs(r, u, d)), f = 0, s = d > 0 ? u - 4 : u, I;
|
|
2094
2164
|
for (I = 0; I < s; I += 4)
|
|
2095
2165
|
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;
|
|
2096
2166
|
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;
|
|
2097
2167
|
}
|
|
2098
|
-
function
|
|
2168
|
+
function As(r) {
|
|
2099
2169
|
return fe[r >> 18 & 63] + fe[r >> 12 & 63] + fe[r >> 6 & 63] + fe[r & 63];
|
|
2100
2170
|
}
|
|
2101
|
-
function
|
|
2171
|
+
function Ns(r, o, l) {
|
|
2102
2172
|
for (var u, d = [], g = o; g < l; g += 3)
|
|
2103
|
-
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
2173
|
+
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(As(u));
|
|
2104
2174
|
return d.join("");
|
|
2105
2175
|
}
|
|
2106
|
-
function
|
|
2176
|
+
function xs(r) {
|
|
2107
2177
|
for (var o, l = r.length, u = l % 3, d = [], g = 16383, f = 0, s = l - u; f < s; f += g)
|
|
2108
|
-
d.push(
|
|
2178
|
+
d.push(Ns(r, f, f + g > s ? s : f + g));
|
|
2109
2179
|
return u === 1 ? (o = r[l - 1], d.push(
|
|
2110
2180
|
fe[o >> 2] + fe[o << 4 & 63] + "=="
|
|
2111
2181
|
)) : u === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -2115,10 +2185,10 @@ function ms(r) {
|
|
|
2115
2185
|
var Ft = {};
|
|
2116
2186
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2117
2187
|
Ft.read = function(r, o, l, u, d) {
|
|
2118
|
-
var g, f, s = d * 8 - u - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0,
|
|
2119
|
-
for (x +=
|
|
2188
|
+
var g, f, s = d * 8 - u - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, v = r[o + x];
|
|
2189
|
+
for (x += w, g = v & (1 << -E) - 1, v >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
2120
2190
|
;
|
|
2121
|
-
for (f = g & (1 << -E) - 1, g >>= -E, E += u; E > 0; f = f * 256 + r[o + x], x +=
|
|
2191
|
+
for (f = g & (1 << -E) - 1, g >>= -E, E += u; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
2122
2192
|
;
|
|
2123
2193
|
if (g === 0)
|
|
2124
2194
|
g = 1 - N;
|
|
@@ -2130,12 +2200,12 @@ Ft.read = function(r, o, l, u, d) {
|
|
|
2130
2200
|
return (v ? -1 : 1) * f * Math.pow(2, g - u);
|
|
2131
2201
|
};
|
|
2132
2202
|
Ft.write = function(r, o, l, u, d, g) {
|
|
2133
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1,
|
|
2134
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o +=
|
|
2203
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1, z = u ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
2204
|
+
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 + v] = s & 255, v += z, s /= 256, d -= 8)
|
|
2135
2205
|
;
|
|
2136
|
-
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v +=
|
|
2206
|
+
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v += z, f /= 256, N -= 8)
|
|
2137
2207
|
;
|
|
2138
|
-
r[l + v -
|
|
2208
|
+
r[l + v - z] |= y * 128;
|
|
2139
2209
|
};
|
|
2140
2210
|
/*!
|
|
2141
2211
|
* The buffer module from node.js, for the browser.
|
|
@@ -2192,9 +2262,9 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2192
2262
|
s.poolSize = 8192;
|
|
2193
2263
|
function I(i, e, t) {
|
|
2194
2264
|
if (typeof i == "string")
|
|
2195
|
-
return
|
|
2265
|
+
return w(i, e);
|
|
2196
2266
|
if (ArrayBuffer.isView(i))
|
|
2197
|
-
return
|
|
2267
|
+
return z(i);
|
|
2198
2268
|
if (i == null)
|
|
2199
2269
|
throw new TypeError(
|
|
2200
2270
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
@@ -2233,14 +2303,14 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2233
2303
|
return E(i, e, t);
|
|
2234
2304
|
};
|
|
2235
2305
|
function x(i) {
|
|
2236
|
-
return N(i), f(i < 0 ? 0 :
|
|
2306
|
+
return N(i), f(i < 0 ? 0 : C(i) | 0);
|
|
2237
2307
|
}
|
|
2238
2308
|
s.allocUnsafe = function(i) {
|
|
2239
2309
|
return x(i);
|
|
2240
2310
|
}, s.allocUnsafeSlow = function(i) {
|
|
2241
2311
|
return x(i);
|
|
2242
2312
|
};
|
|
2243
|
-
function
|
|
2313
|
+
function w(i, e) {
|
|
2244
2314
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
2245
2315
|
throw new TypeError("Unknown encoding: " + e);
|
|
2246
2316
|
const t = S(i, e) | 0;
|
|
@@ -2249,12 +2319,12 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2249
2319
|
return a !== t && (n = n.slice(0, a)), n;
|
|
2250
2320
|
}
|
|
2251
2321
|
function v(i) {
|
|
2252
|
-
const e = i.length < 0 ? 0 :
|
|
2322
|
+
const e = i.length < 0 ? 0 : C(i.length) | 0, t = f(e);
|
|
2253
2323
|
for (let n = 0; n < e; n += 1)
|
|
2254
2324
|
t[n] = i[n] & 255;
|
|
2255
2325
|
return t;
|
|
2256
2326
|
}
|
|
2257
|
-
function
|
|
2327
|
+
function z(i) {
|
|
2258
2328
|
if (P(i, Uint8Array)) {
|
|
2259
2329
|
const e = new Uint8Array(i);
|
|
2260
2330
|
return y(e.buffer, e.byteOffset, e.byteLength);
|
|
@@ -2271,15 +2341,15 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2271
2341
|
}
|
|
2272
2342
|
function A(i) {
|
|
2273
2343
|
if (s.isBuffer(i)) {
|
|
2274
|
-
const e =
|
|
2344
|
+
const e = C(i.length) | 0, t = f(e);
|
|
2275
2345
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
2276
2346
|
}
|
|
2277
2347
|
if (i.length !== void 0)
|
|
2278
|
-
return typeof i.length != "number" ||
|
|
2348
|
+
return typeof i.length != "number" || be(i.length) ? f(0) : v(i);
|
|
2279
2349
|
if (i.type === "Buffer" && Array.isArray(i.data))
|
|
2280
2350
|
return v(i.data);
|
|
2281
2351
|
}
|
|
2282
|
-
function
|
|
2352
|
+
function C(i) {
|
|
2283
2353
|
if (i >= d)
|
|
2284
2354
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
2285
2355
|
return i | 0;
|
|
@@ -2368,7 +2438,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2368
2438
|
return t;
|
|
2369
2439
|
case "utf8":
|
|
2370
2440
|
case "utf-8":
|
|
2371
|
-
return
|
|
2441
|
+
return Be(i).length;
|
|
2372
2442
|
case "ucs2":
|
|
2373
2443
|
case "ucs-2":
|
|
2374
2444
|
case "utf16le":
|
|
@@ -2380,7 +2450,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2380
2450
|
return Xe(i).length;
|
|
2381
2451
|
default:
|
|
2382
2452
|
if (a)
|
|
2383
|
-
return n ? -1 :
|
|
2453
|
+
return n ? -1 : Be(i).length;
|
|
2384
2454
|
e = ("" + e).toLowerCase(), a = !0;
|
|
2385
2455
|
}
|
|
2386
2456
|
}
|
|
@@ -2478,7 +2548,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2478
2548
|
function U(i, e, t, n, a) {
|
|
2479
2549
|
if (i.length === 0)
|
|
2480
2550
|
return -1;
|
|
2481
|
-
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t,
|
|
2551
|
+
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, be(t) && (t = a ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
|
|
2482
2552
|
if (a)
|
|
2483
2553
|
return -1;
|
|
2484
2554
|
t = i.length - 1;
|
|
@@ -2541,14 +2611,14 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2541
2611
|
let h;
|
|
2542
2612
|
for (h = 0; h < n; ++h) {
|
|
2543
2613
|
const D = parseInt(e.substr(h * 2, 2), 16);
|
|
2544
|
-
if (
|
|
2614
|
+
if (be(D))
|
|
2545
2615
|
return h;
|
|
2546
2616
|
i[t + h] = D;
|
|
2547
2617
|
}
|
|
2548
2618
|
return h;
|
|
2549
2619
|
}
|
|
2550
2620
|
function q(i, e, t, n) {
|
|
2551
|
-
return ye(
|
|
2621
|
+
return ye(Be(e, i.length - t), i, t, n);
|
|
2552
2622
|
}
|
|
2553
2623
|
function le(i, e, t, n) {
|
|
2554
2624
|
return ye(dt(e), i, t, n);
|
|
@@ -2632,10 +2702,10 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2632
2702
|
}
|
|
2633
2703
|
h === null ? (h = 65533, D = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), a += D;
|
|
2634
2704
|
}
|
|
2635
|
-
return
|
|
2705
|
+
return Se(n);
|
|
2636
2706
|
}
|
|
2637
2707
|
const me = 4096;
|
|
2638
|
-
function
|
|
2708
|
+
function Se(i) {
|
|
2639
2709
|
const e = i.length;
|
|
2640
2710
|
if (e <= me)
|
|
2641
2711
|
return String.fromCharCode.apply(String, i);
|
|
@@ -2711,13 +2781,13 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2711
2781
|
}, s.prototype.readUint32BE = s.prototype.readUInt32BE = function(e, t) {
|
|
2712
2782
|
return e = e >>> 0, t || _(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
2713
2783
|
}, s.prototype.readBigUInt64LE = Q(function(e) {
|
|
2714
|
-
e = e >>> 0,
|
|
2784
|
+
e = e >>> 0, K(e, "offset");
|
|
2715
2785
|
const t = this[e], n = this[e + 7];
|
|
2716
2786
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
2717
2787
|
const a = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, c = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
|
|
2718
2788
|
return BigInt(a) + (BigInt(c) << BigInt(32));
|
|
2719
2789
|
}), s.prototype.readBigUInt64BE = Q(function(e) {
|
|
2720
|
-
e = e >>> 0,
|
|
2790
|
+
e = e >>> 0, K(e, "offset");
|
|
2721
2791
|
const t = this[e], n = this[e + 7];
|
|
2722
2792
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
2723
2793
|
const a = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], c = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
|
|
@@ -2749,13 +2819,13 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2749
2819
|
}, s.prototype.readInt32BE = function(e, t) {
|
|
2750
2820
|
return e = e >>> 0, t || _(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
2751
2821
|
}, s.prototype.readBigInt64LE = Q(function(e) {
|
|
2752
|
-
e = e >>> 0,
|
|
2822
|
+
e = e >>> 0, K(e, "offset");
|
|
2753
2823
|
const t = this[e], n = this[e + 7];
|
|
2754
2824
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
2755
2825
|
const a = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
|
|
2756
2826
|
return (BigInt(a) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
2757
2827
|
}), s.prototype.readBigInt64BE = Q(function(e) {
|
|
2758
|
-
e = e >>> 0,
|
|
2828
|
+
e = e >>> 0, K(e, "offset");
|
|
2759
2829
|
const t = this[e], n = this[e + 7];
|
|
2760
2830
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
2761
2831
|
const a = (t << 24) + // Overflow
|
|
@@ -2927,9 +2997,9 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2927
2997
|
}
|
|
2928
2998
|
return this;
|
|
2929
2999
|
};
|
|
2930
|
-
const
|
|
2931
|
-
function
|
|
2932
|
-
|
|
3000
|
+
const X = {};
|
|
3001
|
+
function je(i, e, t) {
|
|
3002
|
+
X[i] = class extends t {
|
|
2933
3003
|
constructor() {
|
|
2934
3004
|
super(), Object.defineProperty(this, "message", {
|
|
2935
3005
|
value: e.apply(this, arguments),
|
|
@@ -2953,19 +3023,19 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2953
3023
|
}
|
|
2954
3024
|
};
|
|
2955
3025
|
}
|
|
2956
|
-
|
|
3026
|
+
je(
|
|
2957
3027
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
2958
3028
|
function(i) {
|
|
2959
3029
|
return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
2960
3030
|
},
|
|
2961
3031
|
RangeError
|
|
2962
|
-
),
|
|
3032
|
+
), je(
|
|
2963
3033
|
"ERR_INVALID_ARG_TYPE",
|
|
2964
3034
|
function(i, e) {
|
|
2965
3035
|
return `The "${i}" argument must be of type number. Received type ${typeof e}`;
|
|
2966
3036
|
},
|
|
2967
3037
|
TypeError
|
|
2968
|
-
),
|
|
3038
|
+
), je(
|
|
2969
3039
|
"ERR_OUT_OF_RANGE",
|
|
2970
3040
|
function(i, e, t) {
|
|
2971
3041
|
let n = `The value of "${i}" is out of range.`, a = t;
|
|
@@ -2981,22 +3051,22 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2981
3051
|
return `${i.slice(0, t)}${e}`;
|
|
2982
3052
|
}
|
|
2983
3053
|
function ct(i, e, t) {
|
|
2984
|
-
|
|
3054
|
+
K(e, "offset"), (i[e] === void 0 || i[e + t] === void 0) && ae(e, i.length - (t + 1));
|
|
2985
3055
|
}
|
|
2986
3056
|
function Je(i, e, t, n, a, c) {
|
|
2987
3057
|
if (i > t || i < e) {
|
|
2988
3058
|
const h = typeof e == "bigint" ? "n" : "";
|
|
2989
3059
|
let D;
|
|
2990
|
-
throw c > 3 ? e === 0 || e === BigInt(0) ? D = `>= 0${h} and < 2${h} ** ${(c + 1) * 8}${h}` : D = `>= -(2${h} ** ${(c + 1) * 8 - 1}${h}) and < 2 ** ${(c + 1) * 8 - 1}${h}` : D = `>= ${e}${h} and <= ${t}${h}`, new
|
|
3060
|
+
throw c > 3 ? e === 0 || e === BigInt(0) ? D = `>= 0${h} and < 2${h} ** ${(c + 1) * 8}${h}` : D = `>= -(2${h} ** ${(c + 1) * 8 - 1}${h}) and < 2 ** ${(c + 1) * 8 - 1}${h}` : D = `>= ${e}${h} and <= ${t}${h}`, new X.ERR_OUT_OF_RANGE("value", D, i);
|
|
2991
3061
|
}
|
|
2992
3062
|
ct(n, a, c);
|
|
2993
3063
|
}
|
|
2994
|
-
function
|
|
3064
|
+
function K(i, e) {
|
|
2995
3065
|
if (typeof i != "number")
|
|
2996
|
-
throw new
|
|
3066
|
+
throw new X.ERR_INVALID_ARG_TYPE(e, "number", i);
|
|
2997
3067
|
}
|
|
2998
3068
|
function ae(i, e, t) {
|
|
2999
|
-
throw Math.floor(i) !== i ? (
|
|
3069
|
+
throw Math.floor(i) !== i ? (K(i, t), new X.ERR_OUT_OF_RANGE(t || "offset", "an integer", i)) : e < 0 ? new X.ERR_BUFFER_OUT_OF_BOUNDS() : new X.ERR_OUT_OF_RANGE(
|
|
3000
3070
|
t || "offset",
|
|
3001
3071
|
`>= ${t ? 1 : 0} and <= ${e}`,
|
|
3002
3072
|
i
|
|
@@ -3010,7 +3080,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
3010
3080
|
i = i + "=";
|
|
3011
3081
|
return i;
|
|
3012
3082
|
}
|
|
3013
|
-
function
|
|
3083
|
+
function Be(i, e) {
|
|
3014
3084
|
e = e || 1 / 0;
|
|
3015
3085
|
let t;
|
|
3016
3086
|
const n = i.length;
|
|
@@ -3094,7 +3164,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
3094
3164
|
function P(i, e) {
|
|
3095
3165
|
return i instanceof e || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === e.name;
|
|
3096
3166
|
}
|
|
3097
|
-
function
|
|
3167
|
+
function be(i) {
|
|
3098
3168
|
return i !== i;
|
|
3099
3169
|
}
|
|
3100
3170
|
const ft = function() {
|
|
@@ -3147,7 +3217,7 @@ function Ti(r) {
|
|
|
3147
3217
|
}
|
|
3148
3218
|
}
|
|
3149
3219
|
}
|
|
3150
|
-
function
|
|
3220
|
+
function Ts(r) {
|
|
3151
3221
|
if (he === clearTimeout)
|
|
3152
3222
|
return clearTimeout(r);
|
|
3153
3223
|
if ((he === Dt || !he) && clearTimeout)
|
|
@@ -3162,20 +3232,20 @@ function Is(r) {
|
|
|
3162
3232
|
}
|
|
3163
3233
|
}
|
|
3164
3234
|
}
|
|
3165
|
-
var
|
|
3166
|
-
function
|
|
3167
|
-
!Ze || !
|
|
3235
|
+
var we = [], Ze = !1, Re, ot = -1;
|
|
3236
|
+
function vs() {
|
|
3237
|
+
!Ze || !Re || (Ze = !1, Re.length ? we = Re.concat(we) : ot = -1, we.length && vi());
|
|
3168
3238
|
}
|
|
3169
3239
|
function vi() {
|
|
3170
3240
|
if (!Ze) {
|
|
3171
|
-
var r = Ti(
|
|
3241
|
+
var r = Ti(vs);
|
|
3172
3242
|
Ze = !0;
|
|
3173
|
-
for (var o =
|
|
3174
|
-
for (
|
|
3175
|
-
|
|
3176
|
-
ot = -1, o =
|
|
3243
|
+
for (var o = we.length; o; ) {
|
|
3244
|
+
for (Re = we, we = []; ++ot < o; )
|
|
3245
|
+
Re && Re[ot].run();
|
|
3246
|
+
ot = -1, o = we.length;
|
|
3177
3247
|
}
|
|
3178
|
-
|
|
3248
|
+
Re = null, Ze = !1, Ts(r);
|
|
3179
3249
|
}
|
|
3180
3250
|
}
|
|
3181
3251
|
Y.nextTick = function(r) {
|
|
@@ -3183,7 +3253,7 @@ Y.nextTick = function(r) {
|
|
|
3183
3253
|
if (arguments.length > 1)
|
|
3184
3254
|
for (var l = 1; l < arguments.length; l++)
|
|
3185
3255
|
o[l - 1] = arguments[l];
|
|
3186
|
-
|
|
3256
|
+
we.push(new Di(r, o)), we.length === 1 && !Ze && Ti(vi);
|
|
3187
3257
|
};
|
|
3188
3258
|
function Di(r, o) {
|
|
3189
3259
|
this.fun = r, this.array = o;
|
|
@@ -3223,101 +3293,101 @@ Y.chdir = function(r) {
|
|
|
3223
3293
|
Y.umask = function() {
|
|
3224
3294
|
return 0;
|
|
3225
3295
|
};
|
|
3226
|
-
var
|
|
3296
|
+
var Ds = xi.exports;
|
|
3227
3297
|
(function(r) {
|
|
3228
3298
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
3229
|
-
const o = Ai, l =
|
|
3299
|
+
const o = Ai, l = Ds, u = (f) => f && f.__esModule ? f : { default: f }, d = u(l), g = globalThis || void 0 || self;
|
|
3230
3300
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
3231
3301
|
})(Ei);
|
|
3232
3302
|
let ie;
|
|
3233
3303
|
typeof window < "u" ? ie = window : typeof self < "u" ? ie = self : ie = Ei.global;
|
|
3234
3304
|
let Lt = null, zt = null;
|
|
3235
|
-
const ti = 20,
|
|
3236
|
-
Et == null || ri == null ? (Lt =
|
|
3305
|
+
const ti = 20, Ct = ie.clearTimeout, ii = ie.setTimeout, Et = ie.cancelAnimationFrame || ie.mozCancelAnimationFrame || ie.webkitCancelAnimationFrame, ri = ie.requestAnimationFrame || ie.mozRequestAnimationFrame || ie.webkitRequestAnimationFrame;
|
|
3306
|
+
Et == null || ri == null ? (Lt = Ct, zt = function(o) {
|
|
3237
3307
|
return ii(o, ti);
|
|
3238
3308
|
}) : (Lt = function([o, l]) {
|
|
3239
|
-
Et(o),
|
|
3309
|
+
Et(o), Ct(l);
|
|
3240
3310
|
}, zt = function(o) {
|
|
3241
3311
|
const l = ri(function() {
|
|
3242
|
-
|
|
3312
|
+
Ct(u), o();
|
|
3243
3313
|
}), u = ii(function() {
|
|
3244
3314
|
Et(l), o();
|
|
3245
3315
|
}, ti);
|
|
3246
3316
|
return [l, u];
|
|
3247
3317
|
});
|
|
3248
|
-
function
|
|
3318
|
+
function Ls(r) {
|
|
3249
3319
|
let o, l, u, d, g, f, s;
|
|
3250
3320
|
const I = typeof document < "u" && document.attachEvent;
|
|
3251
3321
|
if (!I) {
|
|
3252
|
-
f = function(
|
|
3253
|
-
const T =
|
|
3322
|
+
f = function(C) {
|
|
3323
|
+
const T = C.__resizeTriggers__, S = T.firstElementChild, O = T.lastElementChild, B = S.firstElementChild;
|
|
3254
3324
|
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;
|
|
3255
|
-
}, g = function(
|
|
3256
|
-
return
|
|
3257
|
-
}, s = function(
|
|
3258
|
-
if (
|
|
3325
|
+
}, g = function(C) {
|
|
3326
|
+
return C.offsetWidth !== C.__resizeLast__.width || C.offsetHeight !== C.__resizeLast__.height;
|
|
3327
|
+
}, s = function(C) {
|
|
3328
|
+
if (C.target.className && typeof C.target.className.indexOf == "function" && C.target.className.indexOf("contract-trigger") < 0 && C.target.className.indexOf("expand-trigger") < 0)
|
|
3259
3329
|
return;
|
|
3260
3330
|
const T = this;
|
|
3261
3331
|
f(this), this.__resizeRAF__ && Lt(this.__resizeRAF__), this.__resizeRAF__ = zt(function() {
|
|
3262
3332
|
g(T) && (T.__resizeLast__.width = T.offsetWidth, T.__resizeLast__.height = T.offsetHeight, T.__resizeListeners__.forEach(function(B) {
|
|
3263
|
-
B.call(T,
|
|
3333
|
+
B.call(T, C);
|
|
3264
3334
|
}));
|
|
3265
3335
|
});
|
|
3266
3336
|
};
|
|
3267
|
-
let
|
|
3337
|
+
let w = !1, v = "";
|
|
3268
3338
|
u = "animationstart";
|
|
3269
|
-
const
|
|
3339
|
+
const z = "Webkit Moz O ms".split(" ");
|
|
3270
3340
|
let y = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), A = "";
|
|
3271
3341
|
{
|
|
3272
|
-
const
|
|
3273
|
-
if (
|
|
3274
|
-
for (let T = 0; T <
|
|
3275
|
-
if (
|
|
3276
|
-
A =
|
|
3342
|
+
const C = document.createElement("fakeelement");
|
|
3343
|
+
if (C.style.animationName !== void 0 && (w = !0), w === !1) {
|
|
3344
|
+
for (let T = 0; T < z.length; T++)
|
|
3345
|
+
if (C.style[z[T] + "AnimationName"] !== void 0) {
|
|
3346
|
+
A = z[T], v = "-" + A.toLowerCase() + "-", u = y[T], w = !0;
|
|
3277
3347
|
break;
|
|
3278
3348
|
}
|
|
3279
3349
|
}
|
|
3280
3350
|
}
|
|
3281
3351
|
l = "resizeanim", o = "@" + v + "keyframes " + l + " { from { opacity: 0; } to { opacity: 0; } } ", d = v + "animation: 1ms " + l + "; ";
|
|
3282
3352
|
}
|
|
3283
|
-
const N = function(
|
|
3284
|
-
if (!
|
|
3285
|
-
const v = (o || "") + ".resize-triggers { " + (d || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',
|
|
3286
|
-
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = v : y.appendChild(
|
|
3353
|
+
const N = function(w) {
|
|
3354
|
+
if (!w.getElementById("detectElementResize")) {
|
|
3355
|
+
const v = (o || "") + ".resize-triggers { " + (d || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', z = w.head || w.getElementsByTagName("head")[0], y = w.createElement("style");
|
|
3356
|
+
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = v : y.appendChild(w.createTextNode(v)), z.appendChild(y);
|
|
3287
3357
|
}
|
|
3288
3358
|
};
|
|
3289
3359
|
return {
|
|
3290
|
-
addResizeListener: function(
|
|
3360
|
+
addResizeListener: function(w, v) {
|
|
3291
3361
|
if (I)
|
|
3292
|
-
|
|
3362
|
+
w.attachEvent("onresize", v);
|
|
3293
3363
|
else {
|
|
3294
|
-
if (!
|
|
3295
|
-
const
|
|
3296
|
-
y && y.position === "static" && (
|
|
3297
|
-
const A =
|
|
3298
|
-
A.className = "expand-trigger", A.appendChild(
|
|
3299
|
-
const
|
|
3300
|
-
|
|
3301
|
-
S.animationName === l && f(
|
|
3302
|
-
},
|
|
3364
|
+
if (!w.__resizeTriggers__) {
|
|
3365
|
+
const z = w.ownerDocument, y = ie.getComputedStyle(w);
|
|
3366
|
+
y && y.position === "static" && (w.style.position = "relative"), N(z), w.__resizeLast__ = {}, w.__resizeListeners__ = [], (w.__resizeTriggers__ = z.createElement("div")).className = "resize-triggers";
|
|
3367
|
+
const A = z.createElement("div");
|
|
3368
|
+
A.className = "expand-trigger", A.appendChild(z.createElement("div"));
|
|
3369
|
+
const C = z.createElement("div");
|
|
3370
|
+
C.className = "contract-trigger", w.__resizeTriggers__.appendChild(A), w.__resizeTriggers__.appendChild(C), w.appendChild(w.__resizeTriggers__), f(w), w.addEventListener("scroll", s, !0), u && (w.__resizeTriggers__.__animationListener__ = function(S) {
|
|
3371
|
+
S.animationName === l && f(w);
|
|
3372
|
+
}, w.__resizeTriggers__.addEventListener(u, w.__resizeTriggers__.__animationListener__));
|
|
3303
3373
|
}
|
|
3304
|
-
|
|
3374
|
+
w.__resizeListeners__.push(v);
|
|
3305
3375
|
}
|
|
3306
3376
|
},
|
|
3307
|
-
removeResizeListener: function(
|
|
3377
|
+
removeResizeListener: function(w, v) {
|
|
3308
3378
|
if (I)
|
|
3309
|
-
|
|
3310
|
-
else if (
|
|
3311
|
-
|
|
3379
|
+
w.detachEvent("onresize", v);
|
|
3380
|
+
else if (w.__resizeListeners__.splice(w.__resizeListeners__.indexOf(v), 1), !w.__resizeListeners__.length) {
|
|
3381
|
+
w.removeEventListener("scroll", s, !0), w.__resizeTriggers__.__animationListener__ && (w.__resizeTriggers__.removeEventListener(u, w.__resizeTriggers__.__animationListener__), w.__resizeTriggers__.__animationListener__ = null);
|
|
3312
3382
|
try {
|
|
3313
|
-
|
|
3383
|
+
w.__resizeTriggers__ = !w.removeChild(w.__resizeTriggers__);
|
|
3314
3384
|
} catch {
|
|
3315
3385
|
}
|
|
3316
3386
|
}
|
|
3317
3387
|
}
|
|
3318
3388
|
};
|
|
3319
3389
|
}
|
|
3320
|
-
class
|
|
3390
|
+
class zs extends Ri {
|
|
3321
3391
|
constructor(...o) {
|
|
3322
3392
|
super(...o), this.state = {
|
|
3323
3393
|
height: this.props.defaultHeight || 0,
|
|
@@ -3333,14 +3403,14 @@ class ws extends _i {
|
|
|
3333
3403
|
} = this.props;
|
|
3334
3404
|
if (this._parentNode) {
|
|
3335
3405
|
var g, f, s, I;
|
|
3336
|
-
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"),
|
|
3337
|
-
(!l && (this.state.height !==
|
|
3338
|
-
height:
|
|
3406
|
+
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"), w = parseFloat((s = N.paddingTop) !== null && s !== void 0 ? s : "0"), v = parseFloat((I = N.paddingBottom) !== null && I !== void 0 ? I : "0"), z = this._parentNode.getBoundingClientRect(), y = z.height - w - v, A = z.width - E - x, C = this._parentNode.offsetHeight - w - v, T = this._parentNode.offsetWidth - E - x;
|
|
3407
|
+
(!l && (this.state.height !== C || this.state.scaledHeight !== y) || !u && (this.state.width !== T || this.state.scaledWidth !== A)) && (this.setState({
|
|
3408
|
+
height: C,
|
|
3339
3409
|
width: T,
|
|
3340
3410
|
scaledHeight: y,
|
|
3341
3411
|
scaledWidth: A
|
|
3342
3412
|
}), typeof d == "function" && d({
|
|
3343
|
-
height:
|
|
3413
|
+
height: C,
|
|
3344
3414
|
scaledHeight: y,
|
|
3345
3415
|
scaledWidth: A,
|
|
3346
3416
|
width: T
|
|
@@ -3356,7 +3426,7 @@ class ws extends _i {
|
|
|
3356
3426
|
} = this.props;
|
|
3357
3427
|
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(() => {
|
|
3358
3428
|
this._timeoutId = setTimeout(this._onResize, 0);
|
|
3359
|
-
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize =
|
|
3429
|
+
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = Ls(o), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
|
|
3360
3430
|
}
|
|
3361
3431
|
componentWillUnmount() {
|
|
3362
3432
|
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()));
|
|
@@ -3375,21 +3445,21 @@ class ws extends _i {
|
|
|
3375
3445
|
...E
|
|
3376
3446
|
} = this.props, {
|
|
3377
3447
|
height: x,
|
|
3378
|
-
scaledHeight:
|
|
3448
|
+
scaledHeight: w,
|
|
3379
3449
|
scaledWidth: v,
|
|
3380
|
-
width:
|
|
3450
|
+
width: z
|
|
3381
3451
|
} = this.state, y = {
|
|
3382
3452
|
overflow: "visible"
|
|
3383
3453
|
}, A = {};
|
|
3384
|
-
let
|
|
3385
|
-
return d || (x === 0 && (
|
|
3454
|
+
let C = !1;
|
|
3455
|
+
return d || (x === 0 && (C = !0), y.height = 0, A.height = x, A.scaledHeight = w), g || (z === 0 && (C = !0), y.width = 0, A.width = z, A.scaledWidth = v), rt(N, {
|
|
3386
3456
|
ref: this._setRef,
|
|
3387
3457
|
style: {
|
|
3388
3458
|
...y,
|
|
3389
3459
|
...I
|
|
3390
3460
|
},
|
|
3391
3461
|
...E
|
|
3392
|
-
}, !
|
|
3462
|
+
}, !C && o(A));
|
|
3393
3463
|
}
|
|
3394
3464
|
}
|
|
3395
3465
|
function St() {
|
|
@@ -3412,25 +3482,25 @@ function jt(r, o) {
|
|
|
3412
3482
|
return u.__proto__ = d, u;
|
|
3413
3483
|
}, jt(r, o);
|
|
3414
3484
|
}
|
|
3415
|
-
function
|
|
3485
|
+
function Ss(r, o) {
|
|
3416
3486
|
r.prototype = Object.create(o.prototype), r.prototype.constructor = r, jt(r, o);
|
|
3417
3487
|
}
|
|
3418
3488
|
var oi = Number.isNaN || function(o) {
|
|
3419
3489
|
return typeof o == "number" && o !== o;
|
|
3420
3490
|
};
|
|
3421
|
-
function
|
|
3491
|
+
function js(r, o) {
|
|
3422
3492
|
return !!(r === o || oi(r) && oi(o));
|
|
3423
3493
|
}
|
|
3424
|
-
function
|
|
3494
|
+
function Bs(r, o) {
|
|
3425
3495
|
if (r.length !== o.length)
|
|
3426
3496
|
return !1;
|
|
3427
3497
|
for (var l = 0; l < r.length; l++)
|
|
3428
|
-
if (!
|
|
3498
|
+
if (!js(r[l], o[l]))
|
|
3429
3499
|
return !1;
|
|
3430
3500
|
return !0;
|
|
3431
3501
|
}
|
|
3432
3502
|
function At(r, o) {
|
|
3433
|
-
o === void 0 && (o =
|
|
3503
|
+
o === void 0 && (o = Bs);
|
|
3434
3504
|
var l, u = [], d, g = !1;
|
|
3435
3505
|
function f() {
|
|
3436
3506
|
for (var s = [], I = 0; I < arguments.length; I++)
|
|
@@ -3439,7 +3509,7 @@ function At(r, o) {
|
|
|
3439
3509
|
}
|
|
3440
3510
|
return f;
|
|
3441
3511
|
}
|
|
3442
|
-
var
|
|
3512
|
+
var bs = typeof performance == "object" && typeof performance.now == "function", si = bs ? function() {
|
|
3443
3513
|
return performance.now();
|
|
3444
3514
|
} : function() {
|
|
3445
3515
|
return Date.now();
|
|
@@ -3447,7 +3517,7 @@ var xs = typeof performance == "object" && typeof performance.now == "function",
|
|
|
3447
3517
|
function ai(r) {
|
|
3448
3518
|
cancelAnimationFrame(r.id);
|
|
3449
3519
|
}
|
|
3450
|
-
function
|
|
3520
|
+
function ks(r, o) {
|
|
3451
3521
|
var l = si();
|
|
3452
3522
|
function u() {
|
|
3453
3523
|
si() - l >= o ? r.call(null) : d.id = requestAnimationFrame(u);
|
|
@@ -3475,36 +3545,36 @@ function ci(r) {
|
|
|
3475
3545
|
}
|
|
3476
3546
|
return Pe;
|
|
3477
3547
|
}
|
|
3478
|
-
var
|
|
3548
|
+
var Rs = 150, _s = function(o, l) {
|
|
3479
3549
|
return o;
|
|
3480
3550
|
};
|
|
3481
|
-
function
|
|
3551
|
+
function Os(r) {
|
|
3482
3552
|
var o, l = r.getItemOffset, u = r.getEstimatedTotalSize, d = r.getItemSize, g = r.getOffsetForIndexAndAlignment, f = r.getStartIndexForOffset, s = r.getStopIndexForStartIndex, I = r.initInstanceProps, N = r.shouldResetStyleCacheOnItemSizeChange, E = r.validateProps;
|
|
3483
3553
|
return o = /* @__PURE__ */ function(x) {
|
|
3484
|
-
|
|
3485
|
-
function
|
|
3554
|
+
Ss(w, x);
|
|
3555
|
+
function w(z) {
|
|
3486
3556
|
var y;
|
|
3487
|
-
return y = x.call(this,
|
|
3557
|
+
return y = x.call(this, z) || this, y._instanceProps = I(y.props, ni(y)), y._outerRef = void 0, y._resetIsScrollingTimeoutId = null, y.state = {
|
|
3488
3558
|
instance: ni(y),
|
|
3489
3559
|
isScrolling: !1,
|
|
3490
3560
|
scrollDirection: "forward",
|
|
3491
3561
|
scrollOffset: typeof y.props.initialScrollOffset == "number" ? y.props.initialScrollOffset : 0,
|
|
3492
3562
|
scrollUpdateWasRequested: !1
|
|
3493
|
-
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(A,
|
|
3563
|
+
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(A, C, T, S) {
|
|
3494
3564
|
return y.props.onItemsRendered({
|
|
3495
3565
|
overscanStartIndex: A,
|
|
3496
|
-
overscanStopIndex:
|
|
3566
|
+
overscanStopIndex: C,
|
|
3497
3567
|
visibleStartIndex: T,
|
|
3498
3568
|
visibleStopIndex: S
|
|
3499
3569
|
});
|
|
3500
|
-
}), y._callOnScroll = void 0, y._callOnScroll = At(function(A,
|
|
3570
|
+
}), y._callOnScroll = void 0, y._callOnScroll = At(function(A, C, T) {
|
|
3501
3571
|
return y.props.onScroll({
|
|
3502
3572
|
scrollDirection: A,
|
|
3503
|
-
scrollOffset:
|
|
3573
|
+
scrollOffset: C,
|
|
3504
3574
|
scrollUpdateWasRequested: T
|
|
3505
3575
|
});
|
|
3506
3576
|
}), y._getItemStyle = void 0, y._getItemStyle = function(A) {
|
|
3507
|
-
var
|
|
3577
|
+
var C = y.props, T = C.direction, S = C.itemSize, O = C.layout, B = y._getItemStyleCache(N && S, N && O, N && T), U;
|
|
3508
3578
|
if (B.hasOwnProperty(A))
|
|
3509
3579
|
U = B[A];
|
|
3510
3580
|
else {
|
|
@@ -3519,10 +3589,10 @@ function Ls(r) {
|
|
|
3519
3589
|
};
|
|
3520
3590
|
}
|
|
3521
3591
|
return U;
|
|
3522
|
-
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(A,
|
|
3592
|
+
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(A, C, T) {
|
|
3523
3593
|
return {};
|
|
3524
3594
|
}), y._onScrollHorizontal = function(A) {
|
|
3525
|
-
var
|
|
3595
|
+
var C = A.currentTarget, T = C.clientWidth, S = C.scrollLeft, O = C.scrollWidth;
|
|
3526
3596
|
y.setState(function(B) {
|
|
3527
3597
|
if (B.scrollOffset === S)
|
|
3528
3598
|
return null;
|
|
@@ -3544,7 +3614,7 @@ function Ls(r) {
|
|
|
3544
3614
|
};
|
|
3545
3615
|
}, y._resetIsScrollingDebounced);
|
|
3546
3616
|
}, y._onScrollVertical = function(A) {
|
|
3547
|
-
var
|
|
3617
|
+
var C = A.currentTarget, T = C.clientHeight, S = C.scrollHeight, O = C.scrollTop;
|
|
3548
3618
|
y.setState(function(B) {
|
|
3549
3619
|
if (B.scrollOffset === O)
|
|
3550
3620
|
return null;
|
|
@@ -3557,10 +3627,10 @@ function Ls(r) {
|
|
|
3557
3627
|
};
|
|
3558
3628
|
}, y._resetIsScrollingDebounced);
|
|
3559
3629
|
}, y._outerRefSetter = function(A) {
|
|
3560
|
-
var
|
|
3561
|
-
y._outerRef = A, typeof
|
|
3630
|
+
var C = y.props.outerRef;
|
|
3631
|
+
y._outerRef = A, typeof C == "function" ? C(A) : C != null && typeof C == "object" && C.hasOwnProperty("current") && (C.current = A);
|
|
3562
3632
|
}, y._resetIsScrollingDebounced = function() {
|
|
3563
|
-
y._resetIsScrollingTimeoutId !== null && ai(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId =
|
|
3633
|
+
y._resetIsScrollingTimeoutId !== null && ai(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId = ks(y._resetIsScrolling, Rs);
|
|
3564
3634
|
}, y._resetIsScrolling = function() {
|
|
3565
3635
|
y._resetIsScrollingTimeoutId = null, y.setState({
|
|
3566
3636
|
isScrolling: !1
|
|
@@ -3569,10 +3639,10 @@ function Ls(r) {
|
|
|
3569
3639
|
});
|
|
3570
3640
|
}, y;
|
|
3571
3641
|
}
|
|
3572
|
-
|
|
3573
|
-
return
|
|
3642
|
+
w.getDerivedStateFromProps = function(y, A) {
|
|
3643
|
+
return Us(y, A), E(y), null;
|
|
3574
3644
|
};
|
|
3575
|
-
var v =
|
|
3645
|
+
var v = w.prototype;
|
|
3576
3646
|
return v.scrollTo = function(y) {
|
|
3577
3647
|
y = Math.max(0, y), this.setState(function(A) {
|
|
3578
3648
|
return A.scrollOffset === y ? null : {
|
|
@@ -3583,7 +3653,7 @@ function Ls(r) {
|
|
|
3583
3653
|
}, this._resetIsScrollingDebounced);
|
|
3584
3654
|
}, v.scrollToItem = function(y, A) {
|
|
3585
3655
|
A === void 0 && (A = "auto");
|
|
3586
|
-
var
|
|
3656
|
+
var C = this.props, T = C.itemCount, S = C.layout, O = this.state.scrollOffset;
|
|
3587
3657
|
y = Math.max(0, Math.min(y, T - 1));
|
|
3588
3658
|
var B = 0;
|
|
3589
3659
|
if (this._outerRef) {
|
|
@@ -3592,17 +3662,17 @@ function Ls(r) {
|
|
|
3592
3662
|
}
|
|
3593
3663
|
this.scrollTo(g(this.props, y, A, O, this._instanceProps, B));
|
|
3594
3664
|
}, v.componentDidMount = function() {
|
|
3595
|
-
var y = this.props, A = y.direction,
|
|
3596
|
-
if (typeof
|
|
3665
|
+
var y = this.props, A = y.direction, C = y.initialScrollOffset, T = y.layout;
|
|
3666
|
+
if (typeof C == "number" && this._outerRef != null) {
|
|
3597
3667
|
var S = this._outerRef;
|
|
3598
|
-
A === "horizontal" || T === "horizontal" ? S.scrollLeft =
|
|
3668
|
+
A === "horizontal" || T === "horizontal" ? S.scrollLeft = C : S.scrollTop = C;
|
|
3599
3669
|
}
|
|
3600
3670
|
this._callPropsCallbacks();
|
|
3601
3671
|
}, v.componentDidUpdate = function() {
|
|
3602
|
-
var y = this.props, A = y.direction,
|
|
3672
|
+
var y = this.props, A = y.direction, C = y.layout, T = this.state, S = T.scrollOffset, O = T.scrollUpdateWasRequested;
|
|
3603
3673
|
if (O && this._outerRef != null) {
|
|
3604
3674
|
var B = this._outerRef;
|
|
3605
|
-
if (A === "horizontal" ||
|
|
3675
|
+
if (A === "horizontal" || C === "horizontal")
|
|
3606
3676
|
if (A === "rtl")
|
|
3607
3677
|
switch (ci()) {
|
|
3608
3678
|
case "negative":
|
|
@@ -3625,7 +3695,7 @@ function Ls(r) {
|
|
|
3625
3695
|
}, v.componentWillUnmount = function() {
|
|
3626
3696
|
this._resetIsScrollingTimeoutId !== null && ai(this._resetIsScrollingTimeoutId);
|
|
3627
3697
|
}, v.render = function() {
|
|
3628
|
-
var y = this.props, A = y.children,
|
|
3698
|
+
var y = this.props, A = y.children, C = y.className, T = y.direction, S = y.height, O = y.innerRef, B = y.innerElementType, U = y.innerTagName, F = y.itemCount, G = y.itemData, q = y.itemKey, le = q === void 0 ? _s : q, re = y.layout, ce = y.outerElementType, W = y.outerTagName, ne = y.style, me = y.useIsScrolling, Se = y.width, Ne = this.state.isScrolling, Ie = T === "horizontal" || re === "horizontal", oe = Ie ? this._onScrollHorizontal : this._onScrollVertical, xe = this._getRangeToRender(), _ = xe[0], $ = xe[1], Te = [];
|
|
3629
3699
|
if (F > 0)
|
|
3630
3700
|
for (var se = _; se <= $; se++)
|
|
3631
3701
|
Te.push(rt(A, {
|
|
@@ -3637,13 +3707,13 @@ function Ls(r) {
|
|
|
3637
3707
|
}));
|
|
3638
3708
|
var ve = u(this.props, this._instanceProps);
|
|
3639
3709
|
return rt(ce || W || "div", {
|
|
3640
|
-
className:
|
|
3710
|
+
className: C,
|
|
3641
3711
|
onScroll: oe,
|
|
3642
3712
|
ref: this._outerRefSetter,
|
|
3643
3713
|
style: St({
|
|
3644
3714
|
position: "relative",
|
|
3645
3715
|
height: S,
|
|
3646
|
-
width:
|
|
3716
|
+
width: Se,
|
|
3647
3717
|
overflow: "auto",
|
|
3648
3718
|
WebkitOverflowScrolling: "touch",
|
|
3649
3719
|
willChange: "transform",
|
|
@@ -3662,8 +3732,8 @@ function Ls(r) {
|
|
|
3662
3732
|
if (typeof this.props.onItemsRendered == "function") {
|
|
3663
3733
|
var y = this.props.itemCount;
|
|
3664
3734
|
if (y > 0) {
|
|
3665
|
-
var A = this._getRangeToRender(),
|
|
3666
|
-
this._callOnItemsRendered(
|
|
3735
|
+
var A = this._getRangeToRender(), C = A[0], T = A[1], S = A[2], O = A[3];
|
|
3736
|
+
this._callOnItemsRendered(C, T, S, O);
|
|
3667
3737
|
}
|
|
3668
3738
|
}
|
|
3669
3739
|
if (typeof this.props.onScroll == "function") {
|
|
@@ -3671,13 +3741,13 @@ function Ls(r) {
|
|
|
3671
3741
|
this._callOnScroll(U, F, G);
|
|
3672
3742
|
}
|
|
3673
3743
|
}, v._getRangeToRender = function() {
|
|
3674
|
-
var y = this.props, A = y.itemCount,
|
|
3744
|
+
var y = this.props, A = y.itemCount, C = y.overscanCount, T = this.state, S = T.isScrolling, O = T.scrollDirection, B = T.scrollOffset;
|
|
3675
3745
|
if (A === 0)
|
|
3676
3746
|
return [0, 0, 0, 0];
|
|
3677
|
-
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), G = !S || O === "backward" ? Math.max(1,
|
|
3747
|
+
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), G = !S || O === "backward" ? Math.max(1, C) : 1, q = !S || O === "forward" ? Math.max(1, C) : 1;
|
|
3678
3748
|
return [Math.max(0, U - G), Math.max(0, Math.min(A - 1, F + q)), U, F];
|
|
3679
|
-
},
|
|
3680
|
-
}(
|
|
3749
|
+
}, w;
|
|
3750
|
+
}(gi), o.defaultProps = {
|
|
3681
3751
|
direction: "ltr",
|
|
3682
3752
|
itemData: void 0,
|
|
3683
3753
|
layout: "vertical",
|
|
@@ -3685,9 +3755,9 @@ function Ls(r) {
|
|
|
3685
3755
|
useIsScrolling: !1
|
|
3686
3756
|
}, o;
|
|
3687
3757
|
}
|
|
3688
|
-
var
|
|
3758
|
+
var Us = function(o, l) {
|
|
3689
3759
|
o.children, o.direction, o.height, o.layout, o.innerTagName, o.outerTagName, o.width, l.instance;
|
|
3690
|
-
},
|
|
3760
|
+
}, $s = /* @__PURE__ */ Os({
|
|
3691
3761
|
getItemOffset: function(o, l) {
|
|
3692
3762
|
var u = o.itemSize;
|
|
3693
3763
|
return l * u;
|
|
@@ -3701,19 +3771,19 @@ var zs = function(o, l) {
|
|
|
3701
3771
|
return u * l;
|
|
3702
3772
|
},
|
|
3703
3773
|
getOffsetForIndexAndAlignment: function(o, l, u, d, g, f) {
|
|
3704
|
-
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout,
|
|
3705
|
-
switch (u === "smart" && (d >=
|
|
3774
|
+
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout, w = o.width, v = s === "horizontal" || x === "horizontal", z = v ? w : I, y = Math.max(0, N * E - z), A = Math.min(y, l * E), C = Math.max(0, l * E - z + E + f);
|
|
3775
|
+
switch (u === "smart" && (d >= C - z && d <= A + z ? u = "auto" : u = "center"), u) {
|
|
3706
3776
|
case "start":
|
|
3707
3777
|
return A;
|
|
3708
3778
|
case "end":
|
|
3709
|
-
return
|
|
3779
|
+
return C;
|
|
3710
3780
|
case "center": {
|
|
3711
|
-
var T = Math.round(
|
|
3712
|
-
return T < Math.ceil(
|
|
3781
|
+
var T = Math.round(C + (A - C) / 2);
|
|
3782
|
+
return T < Math.ceil(z / 2) ? 0 : T > y + Math.floor(z / 2) ? y : T;
|
|
3713
3783
|
}
|
|
3714
3784
|
case "auto":
|
|
3715
3785
|
default:
|
|
3716
|
-
return d >=
|
|
3786
|
+
return d >= C && d <= A ? d : d < C ? C : A;
|
|
3717
3787
|
}
|
|
3718
3788
|
},
|
|
3719
3789
|
getStartIndexForOffset: function(o, l) {
|
|
@@ -3721,7 +3791,7 @@ var zs = function(o, l) {
|
|
|
3721
3791
|
return Math.max(0, Math.min(u - 1, Math.floor(l / d)));
|
|
3722
3792
|
},
|
|
3723
3793
|
getStopIndexForStartIndex: function(o, l, u) {
|
|
3724
|
-
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout, N = o.width, E = d === "horizontal" || I === "horizontal", x = l * s,
|
|
3794
|
+
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout, N = o.width, E = d === "horizontal" || I === "horizontal", x = l * s, w = E ? N : g, v = Math.ceil((w + u - x) / s);
|
|
3725
3795
|
return Math.max(0, Math.min(
|
|
3726
3796
|
f - 1,
|
|
3727
3797
|
l + v - 1
|
|
@@ -3735,18 +3805,18 @@ var zs = function(o, l) {
|
|
|
3735
3805
|
o.itemSize;
|
|
3736
3806
|
}
|
|
3737
3807
|
});
|
|
3738
|
-
function
|
|
3808
|
+
function Fs(r) {
|
|
3739
3809
|
var o = r.lastRenderedStartIndex, l = r.lastRenderedStopIndex, u = r.startIndex, d = r.stopIndex;
|
|
3740
3810
|
return !(u > l || d < o);
|
|
3741
3811
|
}
|
|
3742
|
-
function
|
|
3812
|
+
function Ps(r) {
|
|
3743
3813
|
for (var o = r.isItemLoaded, l = r.itemCount, u = r.minimumBatchSize, d = r.startIndex, g = r.stopIndex, f = [], s = null, I = null, N = d; N <= g; N++) {
|
|
3744
3814
|
var E = o(N);
|
|
3745
3815
|
E ? I !== null && (f.push(s, I), s = I = null) : (I = N, s === null && (s = N));
|
|
3746
3816
|
}
|
|
3747
3817
|
if (I !== null) {
|
|
3748
|
-
for (var x = Math.min(Math.max(I, s + u - 1), l - 1),
|
|
3749
|
-
I =
|
|
3818
|
+
for (var x = Math.min(Math.max(I, s + u - 1), l - 1), w = I + 1; w <= x && !o(w); w++)
|
|
3819
|
+
I = w;
|
|
3750
3820
|
f.push(s, I);
|
|
3751
3821
|
}
|
|
3752
3822
|
if (f.length)
|
|
@@ -3759,10 +3829,10 @@ function Bs(r) {
|
|
|
3759
3829
|
}
|
|
3760
3830
|
return f;
|
|
3761
3831
|
}
|
|
3762
|
-
var
|
|
3832
|
+
var Ys = function(r, o) {
|
|
3763
3833
|
if (!(r instanceof o))
|
|
3764
3834
|
throw new TypeError("Cannot call a class as a function");
|
|
3765
|
-
},
|
|
3835
|
+
}, Vs = function() {
|
|
3766
3836
|
function r(o, l) {
|
|
3767
3837
|
for (var u = 0; u < l.length; u++) {
|
|
3768
3838
|
var d = l[u];
|
|
@@ -3772,7 +3842,7 @@ var bs = function(r, o) {
|
|
|
3772
3842
|
return function(o, l, u) {
|
|
3773
3843
|
return l && r(o.prototype, l), u && r(o, u), o;
|
|
3774
3844
|
};
|
|
3775
|
-
}(),
|
|
3845
|
+
}(), Zs = function(r, o) {
|
|
3776
3846
|
if (typeof o != "function" && o !== null)
|
|
3777
3847
|
throw new TypeError("Super expression must either be null or a function, not " + typeof o);
|
|
3778
3848
|
r.prototype = Object.create(o && o.prototype, {
|
|
@@ -3787,11 +3857,11 @@ var bs = function(r, o) {
|
|
|
3787
3857
|
if (!r)
|
|
3788
3858
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3789
3859
|
return o && (typeof o == "object" || typeof o == "function") ? o : r;
|
|
3790
|
-
},
|
|
3791
|
-
|
|
3860
|
+
}, Qs = function(r) {
|
|
3861
|
+
Zs(o, r);
|
|
3792
3862
|
function o() {
|
|
3793
3863
|
var l, u, d, g;
|
|
3794
|
-
|
|
3864
|
+
Ys(this, o);
|
|
3795
3865
|
for (var f = arguments.length, s = Array(f), I = 0; I < f; I++)
|
|
3796
3866
|
s[I] = arguments[I];
|
|
3797
3867
|
return g = (u = (d = ui(this, (l = o.__proto__ || Object.getPrototypeOf(o)).call.apply(l, [this].concat(s))), d), d._lastRenderedStartIndex = -1, d._lastRenderedStopIndex = -1, d._memoizedUnloadedRanges = [], d._onItemsRendered = function(N) {
|
|
@@ -3801,7 +3871,7 @@ var bs = function(r, o) {
|
|
|
3801
3871
|
d._listRef = N;
|
|
3802
3872
|
}, u), ui(d, g);
|
|
3803
3873
|
}
|
|
3804
|
-
return
|
|
3874
|
+
return Vs(o, [{
|
|
3805
3875
|
key: "resetloadMoreItemsCache",
|
|
3806
3876
|
value: function() {
|
|
3807
3877
|
var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -3823,24 +3893,24 @@ var bs = function(r, o) {
|
|
|
3823
3893
|
}, {
|
|
3824
3894
|
key: "_ensureRowsLoaded",
|
|
3825
3895
|
value: function(u, d) {
|
|
3826
|
-
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E,
|
|
3896
|
+
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E, w = Ps({
|
|
3827
3897
|
isItemLoaded: f,
|
|
3828
3898
|
itemCount: s,
|
|
3829
3899
|
minimumBatchSize: N,
|
|
3830
3900
|
startIndex: Math.max(0, u - x),
|
|
3831
3901
|
stopIndex: Math.min(s - 1, d + x)
|
|
3832
3902
|
});
|
|
3833
|
-
(this._memoizedUnloadedRanges.length !==
|
|
3834
|
-
return
|
|
3835
|
-
})) && (this._memoizedUnloadedRanges =
|
|
3903
|
+
(this._memoizedUnloadedRanges.length !== w.length || this._memoizedUnloadedRanges.some(function(v, z) {
|
|
3904
|
+
return w[z] !== v;
|
|
3905
|
+
})) && (this._memoizedUnloadedRanges = w, this._loadUnloadedRanges(w));
|
|
3836
3906
|
}
|
|
3837
3907
|
}, {
|
|
3838
3908
|
key: "_loadUnloadedRanges",
|
|
3839
3909
|
value: function(u) {
|
|
3840
3910
|
for (var d = this, g = this.props.loadMoreItems || this.props.loadMoreRows, f = function(N) {
|
|
3841
|
-
var E = u[N], x = u[N + 1],
|
|
3842
|
-
|
|
3843
|
-
if (
|
|
3911
|
+
var E = u[N], x = u[N + 1], w = g(E, x);
|
|
3912
|
+
w != null && w.then(function() {
|
|
3913
|
+
if (Fs({
|
|
3844
3914
|
lastRenderedStartIndex: d._lastRenderedStartIndex,
|
|
3845
3915
|
lastRenderedStopIndex: d._lastRenderedStopIndex,
|
|
3846
3916
|
startIndex: E,
|
|
@@ -3855,40 +3925,40 @@ var bs = function(r, o) {
|
|
|
3855
3925
|
f(s);
|
|
3856
3926
|
}
|
|
3857
3927
|
}]), o;
|
|
3858
|
-
}(
|
|
3859
|
-
const
|
|
3928
|
+
}(gi);
|
|
3929
|
+
const Hs = () => ze, Gs = /* @__PURE__ */ m("div")({
|
|
3860
3930
|
name: "a",
|
|
3861
3931
|
class: "a1w9zony",
|
|
3862
3932
|
propsAsIs: !1
|
|
3863
|
-
}),
|
|
3933
|
+
}), Ws = /* @__PURE__ */ m("div")({
|
|
3864
3934
|
name: "l",
|
|
3865
3935
|
class: "l16qcfv8",
|
|
3866
3936
|
propsAsIs: !1
|
|
3867
|
-
}),
|
|
3937
|
+
}), qs = /* @__PURE__ */ m("img")({
|
|
3868
3938
|
name: "p",
|
|
3869
3939
|
class: "p1gmcc5f",
|
|
3870
3940
|
propsAsIs: !1
|
|
3871
|
-
}),
|
|
3941
|
+
}), Js = /* @__PURE__ */ m("div")({
|
|
3872
3942
|
name: "s",
|
|
3873
3943
|
class: "s1doddh0",
|
|
3874
3944
|
propsAsIs: !1
|
|
3875
|
-
}),
|
|
3945
|
+
}), Xs = /* @__PURE__ */ m("div")({
|
|
3876
3946
|
name: "c",
|
|
3877
3947
|
class: "c1js9xhe",
|
|
3878
3948
|
propsAsIs: !1
|
|
3879
|
-
}),
|
|
3949
|
+
}), Ks = /* @__PURE__ */ m("div")({
|
|
3880
3950
|
name: "d",
|
|
3881
3951
|
class: "d1tmnqsh",
|
|
3882
3952
|
propsAsIs: !1
|
|
3883
|
-
}),
|
|
3953
|
+
}), e0 = /* @__PURE__ */ m("span")({
|
|
3884
3954
|
name: "g",
|
|
3885
3955
|
class: "gi9h87j",
|
|
3886
3956
|
propsAsIs: !1
|
|
3887
|
-
}),
|
|
3957
|
+
}), t0 = /* @__PURE__ */ m(Hs())({
|
|
3888
3958
|
name: "x",
|
|
3889
3959
|
class: "x13mk3z6",
|
|
3890
3960
|
propsAsIs: !0
|
|
3891
|
-
}),
|
|
3961
|
+
}), i0 = ({
|
|
3892
3962
|
rank: r,
|
|
3893
3963
|
avatar: o,
|
|
3894
3964
|
name: l,
|
|
@@ -3896,24 +3966,24 @@ const Os = () => Ue, Us = /* @__PURE__ */ m("div")({
|
|
|
3896
3966
|
isCurrentUser: d,
|
|
3897
3967
|
openItemDetail: g,
|
|
3898
3968
|
style: f
|
|
3899
|
-
}) => /* @__PURE__ */
|
|
3900
|
-
/* @__PURE__ */ p(
|
|
3901
|
-
/* @__PURE__ */
|
|
3902
|
-
o ? /* @__PURE__ */ p(
|
|
3903
|
-
/* @__PURE__ */
|
|
3904
|
-
/* @__PURE__ */ p(
|
|
3905
|
-
d && /* @__PURE__ */ p(
|
|
3969
|
+
}) => /* @__PURE__ */ L(Gs, { onClick: g, style: f, children: [
|
|
3970
|
+
/* @__PURE__ */ p(Ws, { children: r || 0 }),
|
|
3971
|
+
/* @__PURE__ */ L(Xs, { children: [
|
|
3972
|
+
o ? /* @__PURE__ */ p(qs, { alt: "leaderboard-item-avatar", src: o }) : /* @__PURE__ */ p(Js, { children: Mi(l || "") }),
|
|
3973
|
+
/* @__PURE__ */ L(Ks, { children: [
|
|
3974
|
+
/* @__PURE__ */ p(e0, { children: l || "" }),
|
|
3975
|
+
d && /* @__PURE__ */ p(t0, { name: "icon-star" })
|
|
3906
3976
|
] })
|
|
3907
3977
|
] }),
|
|
3908
|
-
/* @__PURE__ */ p("div", { children:
|
|
3909
|
-
] }),
|
|
3910
|
-
|
|
3978
|
+
/* @__PURE__ */ p("div", { children: wi(u) })
|
|
3979
|
+
] }), r0 = ({ items: r, openItemDetail: o, fetchMore: l }) => /* @__PURE__ */ p(zs, { children: ({ width: u, height: d }) => /* @__PURE__ */ p(
|
|
3980
|
+
Qs,
|
|
3911
3981
|
{
|
|
3912
3982
|
isItemLoaded: (g) => g < r.length,
|
|
3913
3983
|
itemCount: r.length + 1,
|
|
3914
3984
|
loadMoreItems: l,
|
|
3915
3985
|
children: ({ onItemsRendered: g, ref: f }) => /* @__PURE__ */ p(
|
|
3916
|
-
|
|
3986
|
+
$s,
|
|
3917
3987
|
{
|
|
3918
3988
|
itemSize: 56,
|
|
3919
3989
|
onItemsRendered: g,
|
|
@@ -3922,7 +3992,7 @@ const Os = () => Ue, Us = /* @__PURE__ */ m("div")({
|
|
|
3922
3992
|
width: u,
|
|
3923
3993
|
height: d,
|
|
3924
3994
|
children: ({ index: s, style: I }) => /* @__PURE__ */ p(
|
|
3925
|
-
|
|
3995
|
+
i0,
|
|
3926
3996
|
{
|
|
3927
3997
|
style: { ...I, maxHeight: 48 },
|
|
3928
3998
|
...r[s],
|
|
@@ -3933,8 +4003,8 @@ const Os = () => Ue, Us = /* @__PURE__ */ m("div")({
|
|
|
3933
4003
|
}
|
|
3934
4004
|
)
|
|
3935
4005
|
}
|
|
3936
|
-
) }),
|
|
3937
|
-
const { data: o } = Z(r), [l, u] =
|
|
4006
|
+
) }), n0 = ({ store: r }) => {
|
|
4007
|
+
const { data: o } = Z(r), [l, u] = J(void 0);
|
|
3938
4008
|
if (!o)
|
|
3939
4009
|
return /* @__PURE__ */ p("div", { children: "wait leader board..." });
|
|
3940
4010
|
const d = (g) => {
|
|
@@ -3945,27 +4015,27 @@ const Os = () => Ue, Us = /* @__PURE__ */ m("div")({
|
|
|
3945
4015
|
})) == null ? void 0 : f.attributes;
|
|
3946
4016
|
u(s);
|
|
3947
4017
|
};
|
|
3948
|
-
return /* @__PURE__ */ p(
|
|
3949
|
-
|
|
4018
|
+
return /* @__PURE__ */ p(Ue, { children: !l && /* @__PURE__ */ p(
|
|
4019
|
+
r0,
|
|
3950
4020
|
{
|
|
3951
4021
|
items: o.filter((g) => g.attributes).map((g) => g.attributes),
|
|
3952
4022
|
openItemDetail: d
|
|
3953
4023
|
}
|
|
3954
4024
|
) });
|
|
3955
4025
|
};
|
|
3956
|
-
const
|
|
4026
|
+
const _e = /* @__PURE__ */ m("div")({
|
|
3957
4027
|
name: "e",
|
|
3958
4028
|
class: "e6qv3to",
|
|
3959
4029
|
propsAsIs: !1
|
|
3960
|
-
}),
|
|
4030
|
+
}), o0 = /* @__PURE__ */ m("div")({
|
|
3961
4031
|
name: "i",
|
|
3962
4032
|
class: "i1jak95i",
|
|
3963
4033
|
propsAsIs: !1
|
|
3964
|
-
}),
|
|
4034
|
+
}), s0 = /* @__PURE__ */ m("div")({
|
|
3965
4035
|
name: "r",
|
|
3966
4036
|
class: "r1qp3jjx",
|
|
3967
4037
|
propsAsIs: !1
|
|
3968
|
-
}),
|
|
4038
|
+
}), a0 = /* @__PURE__ */ m("div")({
|
|
3969
4039
|
name: "n",
|
|
3970
4040
|
class: "naeizu7",
|
|
3971
4041
|
propsAsIs: !1
|
|
@@ -3973,21 +4043,21 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3973
4043
|
name: "a",
|
|
3974
4044
|
class: "a4zecne",
|
|
3975
4045
|
propsAsIs: !1
|
|
3976
|
-
}),
|
|
4046
|
+
}), l0 = ({
|
|
3977
4047
|
gamification: r,
|
|
3978
4048
|
sdk: o
|
|
3979
4049
|
}) => {
|
|
3980
|
-
var l, u, d, g, f, s, I, N, E, x,
|
|
3981
|
-
const q = Z(r.status), le = Z(r.onboardingStatus), re = Z(r.openedQuestion), { slStreamId: ce } = Z(o.sdkStore), W = Z(r.featureSettings), [ne, me] =
|
|
4050
|
+
var l, u, d, g, f, s, I, N, E, x, w, v, z, y, A, C, T, S, O, B, U, F, G;
|
|
4051
|
+
const q = Z(r.status), le = Z(r.onboardingStatus), re = Z(r.openedQuestion), { slStreamId: ce } = Z(o.sdkStore), W = Z(r.featureSettings), [ne, me] = J(nt.HOME);
|
|
3982
4052
|
if (q !== Ve.Ready)
|
|
3983
4053
|
return /* @__PURE__ */ p("div", { children: "wait..." });
|
|
3984
4054
|
if (ce != null && ce.loading)
|
|
3985
|
-
return /* @__PURE__ */ p(
|
|
4055
|
+
return /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) });
|
|
3986
4056
|
if (!(ce != null && ce.data))
|
|
3987
|
-
return /* @__PURE__ */ p(
|
|
4057
|
+
return /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
3988
4058
|
if (!le)
|
|
3989
|
-
return /* @__PURE__ */ p(
|
|
3990
|
-
|
|
4059
|
+
return /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p(
|
|
4060
|
+
tn,
|
|
3991
4061
|
{
|
|
3992
4062
|
closeFeature: o.closeFeature,
|
|
3993
4063
|
gamification: r,
|
|
@@ -3995,44 +4065,61 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3995
4065
|
gameIcon: (f = (g = (d = W.inplayGame) == null ? void 0 : d.overview) == null ? void 0 : g.media) == null ? void 0 : f.gameIcon,
|
|
3996
4066
|
sponsorLogo: (N = (I = (s = W.inplayGame) == null ? void 0 : s.overview) == null ? void 0 : I.media) == null ? void 0 : N.sponsorLogo,
|
|
3997
4067
|
rules: (x = (E = W.inplayGame) == null ? void 0 : E.rules) == null ? void 0 : x.rules,
|
|
3998
|
-
rulesBtnLabel: (v = (
|
|
3999
|
-
rulesTitle: (y = (
|
|
4000
|
-
primaryColor: (T = (
|
|
4068
|
+
rulesBtnLabel: (v = (w = W.inplayGame) == null ? void 0 : w.rules) == null ? void 0 : v.buttonLabel,
|
|
4069
|
+
rulesTitle: (y = (z = W.inplayGame) == null ? void 0 : z.rules) == null ? void 0 : y.heading,
|
|
4070
|
+
primaryColor: (T = (C = (A = W.inplayGame) == null ? void 0 : A.overview) == null ? void 0 : C.appearance) == null ? void 0 : T.primaryColor,
|
|
4001
4071
|
inviteCardTitle: (O = (S = W.inplayGame) == null ? void 0 : S.inviteCard) == null ? void 0 : O.heading,
|
|
4002
4072
|
inviteCardSubtext: (U = (B = W.inplayGame) == null ? void 0 : B.inviteCard) == null ? void 0 : U.subtext,
|
|
4003
4073
|
inviteCardBtnLabel: (G = (F = W.inplayGame) == null ? void 0 : F.inviteCard) == null ? void 0 : G.buttonLabel
|
|
4004
4074
|
}
|
|
4005
4075
|
) });
|
|
4006
|
-
const
|
|
4076
|
+
const Se = (oe) => {
|
|
4007
4077
|
r.openQuestion(oe);
|
|
4008
4078
|
}, Ne = () => {
|
|
4009
4079
|
r.closeQuestion();
|
|
4010
4080
|
}, Ie = (oe, xe) => {
|
|
4011
4081
|
r.submitAnswer(oe, xe);
|
|
4012
4082
|
};
|
|
4013
|
-
return /* @__PURE__ */
|
|
4014
|
-
/* @__PURE__ */ p(
|
|
4083
|
+
return /* @__PURE__ */ L(_e, { children: [
|
|
4084
|
+
/* @__PURE__ */ p(an, { activePage: ne, toggleActivePage: (oe) => {
|
|
4015
4085
|
me(oe);
|
|
4016
4086
|
} }),
|
|
4017
|
-
ne === nt.HOME && /* @__PURE__ */
|
|
4018
|
-
/* @__PURE__ */ p(
|
|
4019
|
-
/* @__PURE__ */
|
|
4020
|
-
r.questions && /* @__PURE__ */ p(
|
|
4021
|
-
re && /* @__PURE__ */ p(
|
|
4087
|
+
ne === nt.HOME && /* @__PURE__ */ L(Ue, { children: [
|
|
4088
|
+
/* @__PURE__ */ p(o0, { children: r.userSummary && /* @__PURE__ */ p(Wo, { store: r.userSummary.getStore() }) }),
|
|
4089
|
+
/* @__PURE__ */ L(s0, { children: [
|
|
4090
|
+
r.questions && /* @__PURE__ */ p(qo, { openQuestion: Se, store: r.questions.getStore() }),
|
|
4091
|
+
re && /* @__PURE__ */ p(Xo, { closeQuestion: Ne, vote: Ie, openedQuestion: re })
|
|
4022
4092
|
] })
|
|
4023
4093
|
] }),
|
|
4024
|
-
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(
|
|
4094
|
+
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(n0, { store: r.leaderboardList.getStore() })
|
|
4025
4095
|
] });
|
|
4026
|
-
},
|
|
4096
|
+
}, c0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNMTIgOC4xNzIyMkMxMiA4LjI4NzgzIDExLjk3ODEgOC4zOTU1MyAxMS45MzQyIDguNDk1MzNDMTEuODkwMyA4LjU5NTEzIDExLjgyMiA4LjY4OTkyIDExLjcyOTIgOC43Nzk3TDYuMzY5NDkgMTMuOTQzOUM2LjIxNDYyIDE0LjA5NjUgNi4wMjc0MiAxNC4xNzI5IDUuODA3ODcgMTQuMTcyOUM1LjY1NzUyIDE0LjE3MjkgNS41MjE5MSAxNC4xMzc5IDUuNDAxMDQgMTQuMDY3OUM1LjI4MDE2IDEzLjk5OCA1LjE4MzEgMTMuOTAzOSA1LjEwOTg2IDEzLjc4NTZDNS4wMzY2MiAxMy42NjczIDUgMTMuNTM0NSA1IDEzLjM4NzNDNSAxMy4xNzIxIDUuMDgyODggMTIuOTgxOCA1LjI0ODYzIDEyLjgxNjRMMTAuMDgwNyA4LjE3MDk1TDUuMjQ4NjMgMy41Mjc5OUM1LjA4Mjg4IDMuMzY0MjUgNSAzLjE3NDM5IDUgMi45NTg0MUM1IDIuODExMTggNS4wMzY2MiAyLjY3ODQyIDUuMTA5ODYgMi41NjAxM0M1LjE4MzEgMi40NDE4MyA1LjI4MDE2IDIuMzQ3NzEgNS40MDEwNCAyLjI3Nzc3QzUuNTIxOTEgMi4yMDc4MiA1LjY1NzUyIDIuMTcyODUgNS44MDc4NyAyLjE3Mjg1QzYuMDI3NDIgMi4xNzI4NSA2LjIxNDYyIDIuMjQ3MzEgNi4zNjk0OSAyLjM5NjI0TDExLjcyOTIgNy41NjQ3M0MxMS44MjExIDcuNjU0NTEgMTEuODg5IDcuNzQ5MDkgMTEuOTMyOSA3Ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", u0 = (r, o) => {
|
|
4097
|
+
switch (r) {
|
|
4098
|
+
case Me.ROUNDED:
|
|
4099
|
+
return /* @__PURE__ */ p(rs, { alt: "insight-icon", src: o });
|
|
4100
|
+
case Me.TRANSPARENT:
|
|
4101
|
+
return /* @__PURE__ */ p(ns, { alt: "insight-icon", src: o });
|
|
4102
|
+
case Me.CENTERED:
|
|
4103
|
+
return /* @__PURE__ */ p(is, { alt: "insight-icon", src: o });
|
|
4104
|
+
default:
|
|
4105
|
+
return null;
|
|
4106
|
+
}
|
|
4107
|
+
}, h0 = ({ title: r, image: o, questionId: l, imageMode: u, openInsight: d }) => /* @__PURE__ */ L(Ko, { onClick: () => d(l), children: [
|
|
4108
|
+
/* @__PURE__ */ p(ts, { children: o && u0(u, o) }),
|
|
4109
|
+
/* @__PURE__ */ L(es, { children: [
|
|
4110
|
+
/* @__PURE__ */ p(os, { children: r || "" }),
|
|
4111
|
+
/* @__PURE__ */ p(ss, { alt: "next-icon", src: c0 })
|
|
4112
|
+
] })
|
|
4113
|
+
] }), d0 = ({ insights: r, openInsight: o, className: l }) => /* @__PURE__ */ p(as, { className: l, children: /* @__PURE__ */ p(ls, { children: r == null ? void 0 : r.map((u) => /* @__PURE__ */ p(h0, { openInsight: o, ...u }, u.questionId)) }) }), p0 = ({ highlights: r, store: o, className: l }) => {
|
|
4027
4114
|
const { data: u } = Z(o);
|
|
4028
|
-
return u ? /* @__PURE__ */ p(
|
|
4029
|
-
},
|
|
4030
|
-
/* @__PURE__ */
|
|
4031
|
-
o && /* @__PURE__ */ p(ei, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src:
|
|
4032
|
-
r && /* @__PURE__ */ p(
|
|
4115
|
+
return u ? /* @__PURE__ */ p(d0, { className: l, insights: u, openInsight: r.openHighlight }) : /* @__PURE__ */ p("div", { className: l, children: "wait insights..." });
|
|
4116
|
+
}, f0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", g0 = ({ icon: r, comeBack: o, close: l }) => /* @__PURE__ */ L(cs, { children: [
|
|
4117
|
+
/* @__PURE__ */ L("div", { children: [
|
|
4118
|
+
o && /* @__PURE__ */ p(ei, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src: f0 }) }),
|
|
4119
|
+
r && /* @__PURE__ */ p(us, { alt: "header-icon", src: r })
|
|
4033
4120
|
] }),
|
|
4034
4121
|
/* @__PURE__ */ p("div", { children: l && /* @__PURE__ */ p(ei, { onClick: l, children: /* @__PURE__ */ p("img", { alt: "header-close-icon", src: $t }) }) })
|
|
4035
|
-
] }),
|
|
4122
|
+
] }), m0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", I0 = ({
|
|
4036
4123
|
image: r,
|
|
4037
4124
|
title: o,
|
|
4038
4125
|
description: l,
|
|
@@ -4041,18 +4128,18 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4041
4128
|
closeHighlights: g,
|
|
4042
4129
|
closeInsight: f,
|
|
4043
4130
|
className: s
|
|
4044
|
-
}) => /* @__PURE__ */
|
|
4045
|
-
/* @__PURE__ */ p(
|
|
4046
|
-
r && /* @__PURE__ */ p(
|
|
4047
|
-
/* @__PURE__ */
|
|
4048
|
-
o && /* @__PURE__ */ p(
|
|
4049
|
-
l && /* @__PURE__ */ p(
|
|
4131
|
+
}) => /* @__PURE__ */ L(hs, { className: s, children: [
|
|
4132
|
+
/* @__PURE__ */ p(g0, { close: g, comeBack: f }),
|
|
4133
|
+
r && /* @__PURE__ */ p(ds, { alt: "detail-insight-image", src: r }),
|
|
4134
|
+
/* @__PURE__ */ L(ps, { children: [
|
|
4135
|
+
o && /* @__PURE__ */ p(fs, { children: o }),
|
|
4136
|
+
l && /* @__PURE__ */ p(gs, { children: l })
|
|
4050
4137
|
] }),
|
|
4051
|
-
d && u && /* @__PURE__ */
|
|
4138
|
+
d && u && /* @__PURE__ */ L(ms, { href: d, target: "_blank", children: [
|
|
4052
4139
|
u,
|
|
4053
|
-
/* @__PURE__ */ p(
|
|
4140
|
+
/* @__PURE__ */ p(Is, { alt: "link-icon", src: m0 })
|
|
4054
4141
|
] })
|
|
4055
|
-
] }),
|
|
4142
|
+
] }), y0 = ({ openedInsight: r, closeHighlights: o, closeInsight: l, className: u }) => {
|
|
4056
4143
|
var d, g, f, s, I;
|
|
4057
4144
|
const N = ((d = r.options) == null ? void 0 : d.options.case) === "factoid" ? {
|
|
4058
4145
|
image: r.options.options.value.image,
|
|
@@ -4061,7 +4148,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4061
4148
|
webLinkLabel: (f = r.options.options.value.webLink) == null ? void 0 : f.label
|
|
4062
4149
|
} : {}, E = r.subject || ((s = r.notification) == null ? void 0 : s.title), x = N.body || ((I = r.notification) == null ? void 0 : I.body);
|
|
4063
4150
|
return /* @__PURE__ */ p(
|
|
4064
|
-
|
|
4151
|
+
I0,
|
|
4065
4152
|
{
|
|
4066
4153
|
className: u,
|
|
4067
4154
|
image: N.image,
|
|
@@ -4073,26 +4160,26 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4073
4160
|
closeHighlights: o
|
|
4074
4161
|
}
|
|
4075
4162
|
);
|
|
4076
|
-
},
|
|
4163
|
+
}, M0 = ({ highlights: r, sdk: o }) => {
|
|
4077
4164
|
const l = Z(r.status), u = Z(r.openedInsight), { slStreamId: d } = Z(o.sdkStore);
|
|
4078
|
-
return l !== Ve.Ready ? /* @__PURE__ */ p("div", { children: "wait..." }) : d != null && d.loading ? /* @__PURE__ */ p(
|
|
4079
|
-
!u && /* @__PURE__ */ p(
|
|
4165
|
+
return l !== Ve.Ready ? /* @__PURE__ */ p("div", { children: "wait..." }) : d != null && d.loading ? /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) }) : d != null && d.data ? r.insights === void 0 ? /* @__PURE__ */ p("div", { children: "wait insights..." }) : /* @__PURE__ */ L(_e, { children: [
|
|
4166
|
+
!u && /* @__PURE__ */ p(p0, { highlights: r, store: r.insights.getStore() }),
|
|
4080
4167
|
u && /* @__PURE__ */ p(
|
|
4081
|
-
|
|
4168
|
+
y0,
|
|
4082
4169
|
{
|
|
4083
4170
|
openedInsight: u,
|
|
4084
4171
|
closeHighlights: r.closeFeature,
|
|
4085
4172
|
closeInsight: r.closeHighlight
|
|
4086
4173
|
}
|
|
4087
4174
|
)
|
|
4088
|
-
] }) : /* @__PURE__ */ p(
|
|
4175
|
+
] }) : /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
4089
4176
|
};
|
|
4090
|
-
var
|
|
4091
|
-
lt.byteLength =
|
|
4092
|
-
lt.toByteArray =
|
|
4093
|
-
lt.fromByteArray =
|
|
4094
|
-
var ge = [], te = [],
|
|
4095
|
-
for (var Ye = 0,
|
|
4177
|
+
var w0 = {}, Li = {}, lt = {};
|
|
4178
|
+
lt.byteLength = A0;
|
|
4179
|
+
lt.toByteArray = x0;
|
|
4180
|
+
lt.fromByteArray = D0;
|
|
4181
|
+
var ge = [], te = [], C0 = typeof Uint8Array < "u" ? Uint8Array : Array, Tt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
4182
|
+
for (var Ye = 0, E0 = Tt.length; Ye < E0; ++Ye)
|
|
4096
4183
|
ge[Ye] = Tt[Ye], te[Tt.charCodeAt(Ye)] = Ye;
|
|
4097
4184
|
te["-".charCodeAt(0)] = 62;
|
|
4098
4185
|
te["_".charCodeAt(0)] = 63;
|
|
@@ -4105,30 +4192,30 @@ function zi(r) {
|
|
|
4105
4192
|
var u = l === o ? 0 : 4 - l % 4;
|
|
4106
4193
|
return [l, u];
|
|
4107
4194
|
}
|
|
4108
|
-
function
|
|
4195
|
+
function A0(r) {
|
|
4109
4196
|
var o = zi(r), l = o[0], u = o[1];
|
|
4110
4197
|
return (l + u) * 3 / 4 - u;
|
|
4111
4198
|
}
|
|
4112
|
-
function
|
|
4199
|
+
function N0(r, o, l) {
|
|
4113
4200
|
return (o + l) * 3 / 4 - l;
|
|
4114
4201
|
}
|
|
4115
|
-
function
|
|
4116
|
-
var o, l = zi(r), u = l[0], d = l[1], g = new
|
|
4202
|
+
function x0(r) {
|
|
4203
|
+
var o, l = zi(r), u = l[0], d = l[1], g = new C0(N0(r, u, d)), f = 0, s = d > 0 ? u - 4 : u, I;
|
|
4117
4204
|
for (I = 0; I < s; I += 4)
|
|
4118
4205
|
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;
|
|
4119
4206
|
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;
|
|
4120
4207
|
}
|
|
4121
|
-
function
|
|
4208
|
+
function T0(r) {
|
|
4122
4209
|
return ge[r >> 18 & 63] + ge[r >> 12 & 63] + ge[r >> 6 & 63] + ge[r & 63];
|
|
4123
4210
|
}
|
|
4124
|
-
function
|
|
4211
|
+
function v0(r, o, l) {
|
|
4125
4212
|
for (var u, d = [], g = o; g < l; g += 3)
|
|
4126
|
-
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
4213
|
+
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(T0(u));
|
|
4127
4214
|
return d.join("");
|
|
4128
4215
|
}
|
|
4129
|
-
function
|
|
4216
|
+
function D0(r) {
|
|
4130
4217
|
for (var o, l = r.length, u = l % 3, d = [], g = 16383, f = 0, s = l - u; f < s; f += g)
|
|
4131
|
-
d.push(
|
|
4218
|
+
d.push(v0(r, f, f + g > s ? s : f + g));
|
|
4132
4219
|
return u === 1 ? (o = r[l - 1], d.push(
|
|
4133
4220
|
ge[o >> 2] + ge[o << 4 & 63] + "=="
|
|
4134
4221
|
)) : u === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -4138,10 +4225,10 @@ function m0(r) {
|
|
|
4138
4225
|
var Pt = {};
|
|
4139
4226
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
4140
4227
|
Pt.read = function(r, o, l, u, d) {
|
|
4141
|
-
var g, f, s = d * 8 - u - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0,
|
|
4142
|
-
for (x +=
|
|
4228
|
+
var g, f, s = d * 8 - u - 1, I = (1 << s) - 1, N = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, v = r[o + x];
|
|
4229
|
+
for (x += w, g = v & (1 << -E) - 1, v >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
4143
4230
|
;
|
|
4144
|
-
for (f = g & (1 << -E) - 1, g >>= -E, E += u; E > 0; f = f * 256 + r[o + x], x +=
|
|
4231
|
+
for (f = g & (1 << -E) - 1, g >>= -E, E += u; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
4145
4232
|
;
|
|
4146
4233
|
if (g === 0)
|
|
4147
4234
|
g = 1 - N;
|
|
@@ -4153,12 +4240,12 @@ Pt.read = function(r, o, l, u, d) {
|
|
|
4153
4240
|
return (v ? -1 : 1) * f * Math.pow(2, g - u);
|
|
4154
4241
|
};
|
|
4155
4242
|
Pt.write = function(r, o, l, u, d, g) {
|
|
4156
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1,
|
|
4157
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o +=
|
|
4243
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1, z = u ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
4244
|
+
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 + v] = s & 255, v += z, s /= 256, d -= 8)
|
|
4158
4245
|
;
|
|
4159
|
-
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v +=
|
|
4246
|
+
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v += z, f /= 256, N -= 8)
|
|
4160
4247
|
;
|
|
4161
|
-
r[l + v -
|
|
4248
|
+
r[l + v - z] |= y * 128;
|
|
4162
4249
|
};
|
|
4163
4250
|
/*!
|
|
4164
4251
|
* The buffer module from node.js, for the browser.
|
|
@@ -4215,9 +4302,9 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4215
4302
|
s.poolSize = 8192;
|
|
4216
4303
|
function I(i, e, t) {
|
|
4217
4304
|
if (typeof i == "string")
|
|
4218
|
-
return
|
|
4305
|
+
return w(i, e);
|
|
4219
4306
|
if (ArrayBuffer.isView(i))
|
|
4220
|
-
return
|
|
4307
|
+
return z(i);
|
|
4221
4308
|
if (i == null)
|
|
4222
4309
|
throw new TypeError(
|
|
4223
4310
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
@@ -4256,14 +4343,14 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4256
4343
|
return E(i, e, t);
|
|
4257
4344
|
};
|
|
4258
4345
|
function x(i) {
|
|
4259
|
-
return N(i), f(i < 0 ? 0 :
|
|
4346
|
+
return N(i), f(i < 0 ? 0 : C(i) | 0);
|
|
4260
4347
|
}
|
|
4261
4348
|
s.allocUnsafe = function(i) {
|
|
4262
4349
|
return x(i);
|
|
4263
4350
|
}, s.allocUnsafeSlow = function(i) {
|
|
4264
4351
|
return x(i);
|
|
4265
4352
|
};
|
|
4266
|
-
function
|
|
4353
|
+
function w(i, e) {
|
|
4267
4354
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
4268
4355
|
throw new TypeError("Unknown encoding: " + e);
|
|
4269
4356
|
const t = S(i, e) | 0;
|
|
@@ -4272,12 +4359,12 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4272
4359
|
return a !== t && (n = n.slice(0, a)), n;
|
|
4273
4360
|
}
|
|
4274
4361
|
function v(i) {
|
|
4275
|
-
const e = i.length < 0 ? 0 :
|
|
4362
|
+
const e = i.length < 0 ? 0 : C(i.length) | 0, t = f(e);
|
|
4276
4363
|
for (let n = 0; n < e; n += 1)
|
|
4277
4364
|
t[n] = i[n] & 255;
|
|
4278
4365
|
return t;
|
|
4279
4366
|
}
|
|
4280
|
-
function
|
|
4367
|
+
function z(i) {
|
|
4281
4368
|
if (P(i, Uint8Array)) {
|
|
4282
4369
|
const e = new Uint8Array(i);
|
|
4283
4370
|
return y(e.buffer, e.byteOffset, e.byteLength);
|
|
@@ -4294,15 +4381,15 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4294
4381
|
}
|
|
4295
4382
|
function A(i) {
|
|
4296
4383
|
if (s.isBuffer(i)) {
|
|
4297
|
-
const e =
|
|
4384
|
+
const e = C(i.length) | 0, t = f(e);
|
|
4298
4385
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
4299
4386
|
}
|
|
4300
4387
|
if (i.length !== void 0)
|
|
4301
|
-
return typeof i.length != "number" ||
|
|
4388
|
+
return typeof i.length != "number" || be(i.length) ? f(0) : v(i);
|
|
4302
4389
|
if (i.type === "Buffer" && Array.isArray(i.data))
|
|
4303
4390
|
return v(i.data);
|
|
4304
4391
|
}
|
|
4305
|
-
function
|
|
4392
|
+
function C(i) {
|
|
4306
4393
|
if (i >= d)
|
|
4307
4394
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
4308
4395
|
return i | 0;
|
|
@@ -4391,7 +4478,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4391
4478
|
return t;
|
|
4392
4479
|
case "utf8":
|
|
4393
4480
|
case "utf-8":
|
|
4394
|
-
return
|
|
4481
|
+
return Be(i).length;
|
|
4395
4482
|
case "ucs2":
|
|
4396
4483
|
case "ucs-2":
|
|
4397
4484
|
case "utf16le":
|
|
@@ -4403,7 +4490,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4403
4490
|
return Xe(i).length;
|
|
4404
4491
|
default:
|
|
4405
4492
|
if (a)
|
|
4406
|
-
return n ? -1 :
|
|
4493
|
+
return n ? -1 : Be(i).length;
|
|
4407
4494
|
e = ("" + e).toLowerCase(), a = !0;
|
|
4408
4495
|
}
|
|
4409
4496
|
}
|
|
@@ -4501,7 +4588,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4501
4588
|
function U(i, e, t, n, a) {
|
|
4502
4589
|
if (i.length === 0)
|
|
4503
4590
|
return -1;
|
|
4504
|
-
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t,
|
|
4591
|
+
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, be(t) && (t = a ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
|
|
4505
4592
|
if (a)
|
|
4506
4593
|
return -1;
|
|
4507
4594
|
t = i.length - 1;
|
|
@@ -4564,14 +4651,14 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4564
4651
|
let h;
|
|
4565
4652
|
for (h = 0; h < n; ++h) {
|
|
4566
4653
|
const D = parseInt(e.substr(h * 2, 2), 16);
|
|
4567
|
-
if (
|
|
4654
|
+
if (be(D))
|
|
4568
4655
|
return h;
|
|
4569
4656
|
i[t + h] = D;
|
|
4570
4657
|
}
|
|
4571
4658
|
return h;
|
|
4572
4659
|
}
|
|
4573
4660
|
function q(i, e, t, n) {
|
|
4574
|
-
return ye(
|
|
4661
|
+
return ye(Be(e, i.length - t), i, t, n);
|
|
4575
4662
|
}
|
|
4576
4663
|
function le(i, e, t, n) {
|
|
4577
4664
|
return ye(dt(e), i, t, n);
|
|
@@ -4655,10 +4742,10 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4655
4742
|
}
|
|
4656
4743
|
h === null ? (h = 65533, D = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), a += D;
|
|
4657
4744
|
}
|
|
4658
|
-
return
|
|
4745
|
+
return Se(n);
|
|
4659
4746
|
}
|
|
4660
4747
|
const me = 4096;
|
|
4661
|
-
function
|
|
4748
|
+
function Se(i) {
|
|
4662
4749
|
const e = i.length;
|
|
4663
4750
|
if (e <= me)
|
|
4664
4751
|
return String.fromCharCode.apply(String, i);
|
|
@@ -4734,13 +4821,13 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4734
4821
|
}, s.prototype.readUint32BE = s.prototype.readUInt32BE = function(e, t) {
|
|
4735
4822
|
return e = e >>> 0, t || _(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
4736
4823
|
}, s.prototype.readBigUInt64LE = Q(function(e) {
|
|
4737
|
-
e = e >>> 0,
|
|
4824
|
+
e = e >>> 0, K(e, "offset");
|
|
4738
4825
|
const t = this[e], n = this[e + 7];
|
|
4739
4826
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
4740
4827
|
const a = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, c = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
|
|
4741
4828
|
return BigInt(a) + (BigInt(c) << BigInt(32));
|
|
4742
4829
|
}), s.prototype.readBigUInt64BE = Q(function(e) {
|
|
4743
|
-
e = e >>> 0,
|
|
4830
|
+
e = e >>> 0, K(e, "offset");
|
|
4744
4831
|
const t = this[e], n = this[e + 7];
|
|
4745
4832
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
4746
4833
|
const a = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], c = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
|
|
@@ -4772,13 +4859,13 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4772
4859
|
}, s.prototype.readInt32BE = function(e, t) {
|
|
4773
4860
|
return e = e >>> 0, t || _(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
4774
4861
|
}, s.prototype.readBigInt64LE = Q(function(e) {
|
|
4775
|
-
e = e >>> 0,
|
|
4862
|
+
e = e >>> 0, K(e, "offset");
|
|
4776
4863
|
const t = this[e], n = this[e + 7];
|
|
4777
4864
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
4778
4865
|
const a = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
|
|
4779
4866
|
return (BigInt(a) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
4780
4867
|
}), s.prototype.readBigInt64BE = Q(function(e) {
|
|
4781
|
-
e = e >>> 0,
|
|
4868
|
+
e = e >>> 0, K(e, "offset");
|
|
4782
4869
|
const t = this[e], n = this[e + 7];
|
|
4783
4870
|
(t === void 0 || n === void 0) && ae(e, this.length - 8);
|
|
4784
4871
|
const a = (t << 24) + // Overflow
|
|
@@ -4950,9 +5037,9 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4950
5037
|
}
|
|
4951
5038
|
return this;
|
|
4952
5039
|
};
|
|
4953
|
-
const
|
|
4954
|
-
function
|
|
4955
|
-
|
|
5040
|
+
const X = {};
|
|
5041
|
+
function je(i, e, t) {
|
|
5042
|
+
X[i] = class extends t {
|
|
4956
5043
|
constructor() {
|
|
4957
5044
|
super(), Object.defineProperty(this, "message", {
|
|
4958
5045
|
value: e.apply(this, arguments),
|
|
@@ -4976,19 +5063,19 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4976
5063
|
}
|
|
4977
5064
|
};
|
|
4978
5065
|
}
|
|
4979
|
-
|
|
5066
|
+
je(
|
|
4980
5067
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
4981
5068
|
function(i) {
|
|
4982
5069
|
return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
4983
5070
|
},
|
|
4984
5071
|
RangeError
|
|
4985
|
-
),
|
|
5072
|
+
), je(
|
|
4986
5073
|
"ERR_INVALID_ARG_TYPE",
|
|
4987
5074
|
function(i, e) {
|
|
4988
5075
|
return `The "${i}" argument must be of type number. Received type ${typeof e}`;
|
|
4989
5076
|
},
|
|
4990
5077
|
TypeError
|
|
4991
|
-
),
|
|
5078
|
+
), je(
|
|
4992
5079
|
"ERR_OUT_OF_RANGE",
|
|
4993
5080
|
function(i, e, t) {
|
|
4994
5081
|
let n = `The value of "${i}" is out of range.`, a = t;
|
|
@@ -5004,22 +5091,22 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
5004
5091
|
return `${i.slice(0, t)}${e}`;
|
|
5005
5092
|
}
|
|
5006
5093
|
function ct(i, e, t) {
|
|
5007
|
-
|
|
5094
|
+
K(e, "offset"), (i[e] === void 0 || i[e + t] === void 0) && ae(e, i.length - (t + 1));
|
|
5008
5095
|
}
|
|
5009
5096
|
function Je(i, e, t, n, a, c) {
|
|
5010
5097
|
if (i > t || i < e) {
|
|
5011
5098
|
const h = typeof e == "bigint" ? "n" : "";
|
|
5012
5099
|
let D;
|
|
5013
|
-
throw c > 3 ? e === 0 || e === BigInt(0) ? D = `>= 0${h} and < 2${h} ** ${(c + 1) * 8}${h}` : D = `>= -(2${h} ** ${(c + 1) * 8 - 1}${h}) and < 2 ** ${(c + 1) * 8 - 1}${h}` : D = `>= ${e}${h} and <= ${t}${h}`, new
|
|
5100
|
+
throw c > 3 ? e === 0 || e === BigInt(0) ? D = `>= 0${h} and < 2${h} ** ${(c + 1) * 8}${h}` : D = `>= -(2${h} ** ${(c + 1) * 8 - 1}${h}) and < 2 ** ${(c + 1) * 8 - 1}${h}` : D = `>= ${e}${h} and <= ${t}${h}`, new X.ERR_OUT_OF_RANGE("value", D, i);
|
|
5014
5101
|
}
|
|
5015
5102
|
ct(n, a, c);
|
|
5016
5103
|
}
|
|
5017
|
-
function
|
|
5104
|
+
function K(i, e) {
|
|
5018
5105
|
if (typeof i != "number")
|
|
5019
|
-
throw new
|
|
5106
|
+
throw new X.ERR_INVALID_ARG_TYPE(e, "number", i);
|
|
5020
5107
|
}
|
|
5021
5108
|
function ae(i, e, t) {
|
|
5022
|
-
throw Math.floor(i) !== i ? (
|
|
5109
|
+
throw Math.floor(i) !== i ? (K(i, t), new X.ERR_OUT_OF_RANGE(t || "offset", "an integer", i)) : e < 0 ? new X.ERR_BUFFER_OUT_OF_BOUNDS() : new X.ERR_OUT_OF_RANGE(
|
|
5023
5110
|
t || "offset",
|
|
5024
5111
|
`>= ${t ? 1 : 0} and <= ${e}`,
|
|
5025
5112
|
i
|
|
@@ -5033,7 +5120,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
5033
5120
|
i = i + "=";
|
|
5034
5121
|
return i;
|
|
5035
5122
|
}
|
|
5036
|
-
function
|
|
5123
|
+
function Be(i, e) {
|
|
5037
5124
|
e = e || 1 / 0;
|
|
5038
5125
|
let t;
|
|
5039
5126
|
const n = i.length;
|
|
@@ -5117,7 +5204,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
5117
5204
|
function P(i, e) {
|
|
5118
5205
|
return i instanceof e || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === e.name;
|
|
5119
5206
|
}
|
|
5120
|
-
function
|
|
5207
|
+
function be(i) {
|
|
5121
5208
|
return i !== i;
|
|
5122
5209
|
}
|
|
5123
5210
|
const ft = function() {
|
|
@@ -5170,7 +5257,7 @@ function ji(r) {
|
|
|
5170
5257
|
}
|
|
5171
5258
|
}
|
|
5172
5259
|
}
|
|
5173
|
-
function
|
|
5260
|
+
function L0(r) {
|
|
5174
5261
|
if (pe === clearTimeout)
|
|
5175
5262
|
return clearTimeout(r);
|
|
5176
5263
|
if ((pe === bt || !pe) && clearTimeout)
|
|
@@ -5185,20 +5272,20 @@ function I0(r) {
|
|
|
5185
5272
|
}
|
|
5186
5273
|
}
|
|
5187
5274
|
}
|
|
5188
|
-
var
|
|
5189
|
-
function
|
|
5190
|
-
!Qe || !
|
|
5275
|
+
var Ce = [], Qe = !1, Oe, st = -1;
|
|
5276
|
+
function z0() {
|
|
5277
|
+
!Qe || !Oe || (Qe = !1, Oe.length ? Ce = Oe.concat(Ce) : st = -1, Ce.length && Bi());
|
|
5191
5278
|
}
|
|
5192
5279
|
function Bi() {
|
|
5193
5280
|
if (!Qe) {
|
|
5194
|
-
var r = ji(
|
|
5281
|
+
var r = ji(z0);
|
|
5195
5282
|
Qe = !0;
|
|
5196
|
-
for (var o =
|
|
5197
|
-
for (
|
|
5198
|
-
|
|
5199
|
-
st = -1, o =
|
|
5283
|
+
for (var o = Ce.length; o; ) {
|
|
5284
|
+
for (Oe = Ce, Ce = []; ++st < o; )
|
|
5285
|
+
Oe && Oe[st].run();
|
|
5286
|
+
st = -1, o = Ce.length;
|
|
5200
5287
|
}
|
|
5201
|
-
|
|
5288
|
+
Oe = null, Qe = !1, L0(r);
|
|
5202
5289
|
}
|
|
5203
5290
|
}
|
|
5204
5291
|
V.nextTick = function(r) {
|
|
@@ -5206,7 +5293,7 @@ V.nextTick = function(r) {
|
|
|
5206
5293
|
if (arguments.length > 1)
|
|
5207
5294
|
for (var l = 1; l < arguments.length; l++)
|
|
5208
5295
|
o[l - 1] = arguments[l];
|
|
5209
|
-
|
|
5296
|
+
Ce.push(new bi(r, o)), Ce.length === 1 && !Qe && ji(Bi);
|
|
5210
5297
|
};
|
|
5211
5298
|
function bi(r, o) {
|
|
5212
5299
|
this.fun = r, this.array = o;
|
|
@@ -5246,12 +5333,12 @@ V.chdir = function(r) {
|
|
|
5246
5333
|
V.umask = function() {
|
|
5247
5334
|
return 0;
|
|
5248
5335
|
};
|
|
5249
|
-
var
|
|
5336
|
+
var S0 = Si.exports;
|
|
5250
5337
|
(function(r) {
|
|
5251
5338
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
5252
|
-
const o = Li, l =
|
|
5339
|
+
const o = Li, l = S0, u = (f) => f && f.__esModule ? f : { default: f }, d = u(l), g = globalThis || void 0 || self;
|
|
5253
5340
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
5254
|
-
})(
|
|
5341
|
+
})(w0);
|
|
5255
5342
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
5256
5343
|
var hi;
|
|
5257
5344
|
(function(r) {
|
|
@@ -5267,32 +5354,32 @@ var pi;
|
|
|
5267
5354
|
(function(r) {
|
|
5268
5355
|
r.Init = "init", r.Ready = "ready", r.Connecting = "connecting", r.Connected = "connected", r.Disconnected = "disconnected", r.Failed = "failed", r.Reconnecting = "reconnecting";
|
|
5269
5356
|
})(pi || (pi = {}));
|
|
5270
|
-
const
|
|
5357
|
+
const j0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button", { onClick: r.logout, children: "logout" }) : /* @__PURE__ */ p(Ar, { login: async (o) => {
|
|
5271
5358
|
try {
|
|
5272
5359
|
await r.authorizationBypass("streamlayer:streamlayer", o);
|
|
5273
5360
|
} catch (l) {
|
|
5274
5361
|
throw console.log("login err", l), l;
|
|
5275
5362
|
}
|
|
5276
5363
|
}, anonymousLogin: r.anonymousAuthorization, host: r.host });
|
|
5277
|
-
var
|
|
5278
|
-
class
|
|
5364
|
+
var B0 = Object.defineProperty, b0 = (r, o, l) => o in r ? B0(r, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[o] = l, ke = (r, o, l) => (b0(r, typeof o != "symbol" ? o + "" : o, l), l);
|
|
5365
|
+
class k0 extends Ui {
|
|
5279
5366
|
constructor() {
|
|
5280
|
-
super("user"),
|
|
5367
|
+
super("user"), ke(this, "setSchema", (o) => {
|
|
5281
5368
|
this.write("schema", o);
|
|
5282
|
-
}),
|
|
5369
|
+
}), ke(this, "getSchema", () => this.read(
|
|
5283
5370
|
"schema"
|
|
5284
5371
|
/* SCHEMA */
|
|
5285
|
-
)),
|
|
5372
|
+
)), ke(this, "setToken", (o) => {
|
|
5286
5373
|
this.write("token", o);
|
|
5287
|
-
}),
|
|
5374
|
+
}), ke(this, "getToken", () => this.read(
|
|
5288
5375
|
"token"
|
|
5289
5376
|
/* TOKEN */
|
|
5290
|
-
)),
|
|
5377
|
+
)), ke(this, "setExternalToken", (o) => {
|
|
5291
5378
|
this.write("eToken", o);
|
|
5292
|
-
}),
|
|
5379
|
+
}), ke(this, "getExternalToken", () => this.read(
|
|
5293
5380
|
"eToken"
|
|
5294
5381
|
/* EXTERNAL_TOKEN */
|
|
5295
|
-
)),
|
|
5382
|
+
)), ke(this, "removeToken", () => {
|
|
5296
5383
|
this.remove(
|
|
5297
5384
|
"token"
|
|
5298
5385
|
/* TOKEN */
|
|
@@ -5300,9 +5387,9 @@ class A0 extends $i {
|
|
|
5300
5387
|
});
|
|
5301
5388
|
}
|
|
5302
5389
|
}
|
|
5303
|
-
new
|
|
5304
|
-
const
|
|
5305
|
-
const [l, u] =
|
|
5390
|
+
new k0();
|
|
5391
|
+
const R0 = ({ activeFeature: r, sdk: o }) => {
|
|
5392
|
+
const [l, u] = J(null), { organizationSettings: d, streamSettings: g } = Z(o.sdkStore), f = De(() => {
|
|
5306
5393
|
const I = (g == null ? void 0 : g.data) || (d == null ? void 0 : d.data);
|
|
5307
5394
|
return I != null && I.overlays ? I.overlays : [];
|
|
5308
5395
|
}, [d, g]);
|
|
@@ -5321,16 +5408,16 @@ const N0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5321
5408
|
N.status.get() === Ve.Ready && N.disable();
|
|
5322
5409
|
};
|
|
5323
5410
|
}, [r, o]);
|
|
5324
|
-
const s = De(() => l ? l.featureConfig.get().type === Yt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
|
|
5325
|
-
return /* @__PURE__ */
|
|
5326
|
-
/* @__PURE__ */
|
|
5411
|
+
const s = De(() => l ? l.featureConfig.get().type === Yt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(l0, { gamification: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait gamification..." }) : l.featureConfig.get().type === Yt.HIGHLIGHTS ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(M0, { highlights: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait highlights..." }) : /* @__PURE__ */ p("div", { children: "unknown feature" }) : null, [o, l]);
|
|
5412
|
+
return /* @__PURE__ */ L("div", { children: [
|
|
5413
|
+
/* @__PURE__ */ L(a0, { children: [
|
|
5327
5414
|
/* @__PURE__ */ p(xt, { onClick: () => o.closeFeature(), disabled: !s, children: "close" }),
|
|
5328
5415
|
/* @__PURE__ */ p(xt, { onClick: () => o.logout(), children: "logout" }),
|
|
5329
|
-
f.map((I) => /* @__PURE__ */
|
|
5416
|
+
f.map((I) => /* @__PURE__ */ L(
|
|
5330
5417
|
xt,
|
|
5331
5418
|
{
|
|
5332
5419
|
onClick: () => o.openFeature(I.type),
|
|
5333
|
-
disabled: !(I.type in
|
|
5420
|
+
disabled: !(I.type in Oi),
|
|
5334
5421
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
5335
5422
|
"data-selected": I.type === r,
|
|
5336
5423
|
children: [
|
|
@@ -5343,34 +5430,35 @@ const N0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5343
5430
|
] }),
|
|
5344
5431
|
s
|
|
5345
5432
|
] });
|
|
5346
|
-
},
|
|
5433
|
+
}, ua = ({ sdk: r }) => {
|
|
5347
5434
|
const o = Z(r.organizationStore()), l = Z(r.getUserStore()), u = Z(r.getActiveFeature());
|
|
5348
|
-
return o.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : o.data ? l.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */
|
|
5349
|
-
/* @__PURE__ */ p(
|
|
5350
|
-
/* @__PURE__ */ p(
|
|
5351
|
-
] }) : /* @__PURE__ */ p(
|
|
5435
|
+
return o.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : o.data ? l.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ L(Ue, { children: [
|
|
5436
|
+
/* @__PURE__ */ p(Go, { notificationsStore: r.getNotificationsStore() }),
|
|
5437
|
+
/* @__PURE__ */ p(R0, { sdk: r, activeFeature: u })
|
|
5438
|
+
] }) : /* @__PURE__ */ p(j0, { sdk: r }) : /* @__PURE__ */ p("div", { children: "wrong sdk key..." });
|
|
5352
5439
|
};
|
|
5353
|
-
const
|
|
5354
|
-
const
|
|
5440
|
+
const ha = "StreamLayerCSSReset", _0 = "pedqibx";
|
|
5441
|
+
const da = ({ children: r, style: o }) => /* @__PURE__ */ p("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ p("div", { className: _0, style: o, children: r }) });
|
|
5355
5442
|
export {
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
Qi as
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
Y1 as r,
|
|
5443
|
+
I1 as C,
|
|
5444
|
+
oa as S,
|
|
5445
|
+
zo as Y,
|
|
5446
|
+
Qi as a,
|
|
5447
|
+
Zi as b,
|
|
5448
|
+
wi as c,
|
|
5449
|
+
an as d,
|
|
5450
|
+
aa as e,
|
|
5451
|
+
ha as f,
|
|
5452
|
+
Z1 as g,
|
|
5453
|
+
nt as h,
|
|
5454
|
+
sa as i,
|
|
5455
|
+
r0 as j,
|
|
5456
|
+
hn as o,
|
|
5457
|
+
da as p,
|
|
5458
|
+
ze as q,
|
|
5459
|
+
V1 as r,
|
|
5374
5460
|
m as s,
|
|
5375
|
-
|
|
5461
|
+
P1 as v,
|
|
5462
|
+
l1 as w,
|
|
5463
|
+
ua as y
|
|
5376
5464
|
};
|