@streamlayer/react 1.14.3 → 1.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/advertisement.js +1 -1
- package/lib/cjs/bet-pack.js +1 -1
- package/lib/cjs/index2.js +5 -5
- package/lib/cjs/masters2.js +8 -3
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/provider.js +32 -16
- package/lib/cjs/useStreamLayerApp2.js +2 -2
- package/lib/classic/cjs/advertisement.js +1 -1
- package/lib/classic/cjs/bet-pack.js +1 -1
- package/lib/classic/cjs/index2.js +5 -5
- package/lib/classic/cjs/masters2.js +8 -3
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/provider.js +32 -16
- package/lib/classic/cjs/useStreamLayerApp2.js +2 -2
- package/lib/classic/es/advertisement.js +3 -3
- package/lib/classic/es/bet-pack.js +5 -5
- package/lib/classic/es/index.js +4 -4
- package/lib/classic/es/index2.js +1228 -1344
- package/lib/classic/es/masters2.js +404 -399
- package/lib/classic/es/notification.js +42 -40
- package/lib/classic/es/provider.js +3847 -3786
- package/lib/classic/es/useStreamLayerApp2.js +65 -49
- package/lib/classic/style.css +1 -1
- package/lib/dist/cjs/masters.js +48 -27
- package/lib/dist/es/masters.js +11377 -11416
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +3 -3
- package/lib/es/bet-pack.js +5 -5
- package/lib/es/index.js +4 -4
- package/lib/es/index2.js +1228 -1344
- package/lib/es/masters2.js +404 -399
- package/lib/es/notification.js +42 -40
- package/lib/es/provider.js +3844 -3783
- package/lib/es/useStreamLayerApp2.js +65 -49
- package/lib/style.css +1 -1
- package/package.json +14 -14
package/lib/es/masters2.js
CHANGED
|
@@ -1,167 +1,167 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { s as c, i as
|
|
3
|
-
import { useRef as
|
|
4
|
-
import {
|
|
5
|
-
import { Q as
|
|
6
|
-
const
|
|
1
|
+
import { jsx as s, jsxs as f, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { s as c, i as Y, a as u, A as S, f as $, F as a2, g as l2, j as d2, p as c2, l as p2, m as C2, H as u2, n as m2, o as f2, q as g2, r as j, t as P, v as w, k as X, I as h2, w as v2, x as E2, e as L2, N as k, y as M, B as S2, D as _2, C as T2, R as N2, E as N, G as z, J, K as e2, c as F, L as I2, M as b2, S as R2, O as A2, Q as k2 } from "./provider.js";
|
|
3
|
+
import { useRef as I, useState as _, useEffect as h, createContext as y2, useContext as t2, lazy as w2, useMemo as R, Suspense as D2, forwardRef as x2, useLayoutEffect as F2, useCallback as V, Component as O2 } from "react";
|
|
4
|
+
import { e as B2 } from "./index2.js";
|
|
5
|
+
import { Q as $2, S as A } from "./useStreamLayerApp2.js";
|
|
6
|
+
const V2 = /* @__PURE__ */ c("div")({
|
|
7
7
|
name: "SDKContainer",
|
|
8
8
|
class: "s8zgqze",
|
|
9
9
|
propsAsIs: !1
|
|
10
|
-
}),
|
|
10
|
+
}), H2 = /* @__PURE__ */ c("div")({
|
|
11
11
|
name: "SDKScrollContainer",
|
|
12
12
|
class: "s6t897k",
|
|
13
13
|
propsAsIs: !1
|
|
14
|
-
}),
|
|
14
|
+
}), n2 = /* @__PURE__ */ c("div")({
|
|
15
15
|
name: "SDKContentContainer",
|
|
16
16
|
class: "sw7pkvp",
|
|
17
17
|
propsAsIs: !1
|
|
18
|
-
}),
|
|
18
|
+
}), P2 = () => n2, U2 = /* @__PURE__ */ c(P2())({
|
|
19
19
|
name: "SDKWhiteContainer",
|
|
20
20
|
class: "s14gkn7u",
|
|
21
21
|
propsAsIs: !0
|
|
22
|
-
}),
|
|
22
|
+
}), G2 = /* @__PURE__ */ c("div")({
|
|
23
23
|
name: "TabsContainer",
|
|
24
24
|
class: "t1yxstm9",
|
|
25
25
|
propsAsIs: !1
|
|
26
|
-
}),
|
|
26
|
+
}), M2 = /* @__PURE__ */ c("div")({
|
|
27
27
|
name: "UserSummaryContainer",
|
|
28
28
|
class: "udpty1s",
|
|
29
29
|
propsAsIs: !1
|
|
30
|
-
}),
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
top:
|
|
30
|
+
}), s2 = (t, e, n) => {
|
|
31
|
+
const i = e >= S.lg && e < S.xl ? 75 : 52;
|
|
32
|
+
t.current && window.scrollTo({
|
|
33
|
+
top: t.current.offsetTop - i,
|
|
34
34
|
...n
|
|
35
35
|
});
|
|
36
|
-
},
|
|
37
|
-
const n =
|
|
38
|
-
|
|
36
|
+
}, z2 = 15, K2 = (t, e) => {
|
|
37
|
+
const n = I(null), i = I(0), [o] = _(
|
|
38
|
+
Y({
|
|
39
39
|
scrollPosition: 0,
|
|
40
40
|
tabsShown: !0,
|
|
41
41
|
scrollDirection: "forward"
|
|
42
42
|
})
|
|
43
|
-
), a =
|
|
44
|
-
return
|
|
45
|
-
const
|
|
46
|
-
if (!
|
|
43
|
+
), a = u(e);
|
|
44
|
+
return h(() => {
|
|
45
|
+
const r = window.innerWidth < S.lg ? window : n.current;
|
|
46
|
+
if (!r)
|
|
47
47
|
return () => {
|
|
48
48
|
};
|
|
49
|
-
const d =
|
|
50
|
-
var
|
|
51
|
-
const
|
|
52
|
-
if (!
|
|
49
|
+
const d = $((l) => {
|
|
50
|
+
var C;
|
|
51
|
+
const p = l.target;
|
|
52
|
+
if (!p)
|
|
53
53
|
return;
|
|
54
|
-
let
|
|
55
|
-
a.screen.size <
|
|
56
|
-
const
|
|
57
|
-
if (
|
|
54
|
+
let m = 0;
|
|
55
|
+
a.screen.size < S.lg ? m = ((C = t.current) == null ? void 0 : C.getBoundingClientRect().y) || 0 : m = p.scrollTop;
|
|
56
|
+
const v = i.current - m;
|
|
57
|
+
if (z2 > Math.abs(v))
|
|
58
58
|
return;
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
scrollPosition: Math.round(
|
|
62
|
-
scrollDirection:
|
|
63
|
-
tabsShown:
|
|
59
|
+
const E = i.current < m ? "forward" : "backward";
|
|
60
|
+
i.current = m, o.set({
|
|
61
|
+
scrollPosition: Math.round(m),
|
|
62
|
+
scrollDirection: E,
|
|
63
|
+
tabsShown: o.get().tabsShown
|
|
64
64
|
});
|
|
65
65
|
}, 200);
|
|
66
|
-
return
|
|
67
|
-
|
|
66
|
+
return r.addEventListener("scroll", d), () => {
|
|
67
|
+
r.removeEventListener("scroll", d);
|
|
68
68
|
};
|
|
69
|
-
}, [
|
|
70
|
-
},
|
|
69
|
+
}, [o, t, a.screen]), [n, o];
|
|
70
|
+
}, O = /* @__PURE__ */ c("div")({
|
|
71
71
|
name: "LoadingContainer",
|
|
72
72
|
class: "l7wseip",
|
|
73
73
|
propsAsIs: !1
|
|
74
|
-
}),
|
|
75
|
-
feature:
|
|
74
|
+
}), q2 = ({
|
|
75
|
+
feature: t,
|
|
76
76
|
sdk: e,
|
|
77
77
|
children: n,
|
|
78
|
-
className:
|
|
79
|
-
noWait:
|
|
78
|
+
className: i,
|
|
79
|
+
noWait: o
|
|
80
80
|
}) => {
|
|
81
|
-
const a =
|
|
82
|
-
if (!
|
|
83
|
-
if (
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
className:
|
|
81
|
+
const a = u(t.status), r = u(e.sdkStore.slStreamId);
|
|
82
|
+
if (!o) {
|
|
83
|
+
if (r != null && r.loading && !r.data)
|
|
84
|
+
return /* @__PURE__ */ s(O, {
|
|
85
|
+
className: i,
|
|
86
86
|
children: "Event is loading..."
|
|
87
87
|
});
|
|
88
|
-
if (!(
|
|
89
|
-
return /* @__PURE__ */
|
|
90
|
-
className:
|
|
88
|
+
if (!(r != null && r.data))
|
|
89
|
+
return /* @__PURE__ */ s(O, {
|
|
90
|
+
className: i,
|
|
91
91
|
children: "Event is forbidden..."
|
|
92
92
|
});
|
|
93
|
-
if (a !==
|
|
94
|
-
return /* @__PURE__ */
|
|
95
|
-
className:
|
|
93
|
+
if (a !== a2.Ready)
|
|
94
|
+
return /* @__PURE__ */ s(O, {
|
|
95
|
+
className: i,
|
|
96
96
|
children: "Wait feature..."
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
return n;
|
|
100
|
-
},
|
|
100
|
+
}, i2 = y2({
|
|
101
101
|
sdk: null
|
|
102
|
-
}),
|
|
102
|
+
}), U = () => t2(i2), Q2 = /* @__PURE__ */ c("div")({
|
|
103
103
|
name: "QuestionContainer",
|
|
104
104
|
class: "qwgkhsv",
|
|
105
105
|
propsAsIs: !1
|
|
106
|
-
}),
|
|
107
|
-
openedQuestion:
|
|
106
|
+
}), Z2 = ({
|
|
107
|
+
openedQuestion: t
|
|
108
108
|
}) => {
|
|
109
109
|
var e, n;
|
|
110
110
|
const {
|
|
111
|
-
sdk:
|
|
112
|
-
} =
|
|
113
|
-
return ((e =
|
|
114
|
-
...
|
|
115
|
-
controlVideo:
|
|
116
|
-
}) : ((n =
|
|
117
|
-
...
|
|
118
|
-
controlVideo:
|
|
111
|
+
sdk: i
|
|
112
|
+
} = U();
|
|
113
|
+
return ((e = t == null ? void 0 : t.attributes) == null ? void 0 : e.attributes.case) === "insight" ? /* @__PURE__ */ s(c2, {
|
|
114
|
+
...t.attributes.attributes.value,
|
|
115
|
+
controlVideo: i == null ? void 0 : i.controlVideoPlayer
|
|
116
|
+
}) : ((n = t == null ? void 0 : t.attributes) == null ? void 0 : n.attributes.case) === "tweet" ? /* @__PURE__ */ s(p2, {
|
|
117
|
+
...t.attributes.attributes.value,
|
|
118
|
+
controlVideo: i == null ? void 0 : i.controlVideoPlayer
|
|
119
119
|
}) : null;
|
|
120
|
-
},
|
|
121
|
-
extendedQuestion:
|
|
120
|
+
}, W2 = ({
|
|
121
|
+
extendedQuestion: t,
|
|
122
122
|
vote: e,
|
|
123
123
|
close: n
|
|
124
124
|
}) => {
|
|
125
125
|
const {
|
|
126
|
-
loading:
|
|
127
|
-
data:
|
|
128
|
-
} =
|
|
129
|
-
return
|
|
126
|
+
loading: i,
|
|
127
|
+
data: o
|
|
128
|
+
} = t;
|
|
129
|
+
return o ? /* @__PURE__ */ s(C2, {
|
|
130
130
|
vote: e,
|
|
131
131
|
close: n,
|
|
132
|
-
openedQuestion:
|
|
133
|
-
isLoading: !!
|
|
134
|
-
}) : /* @__PURE__ */
|
|
135
|
-
},
|
|
136
|
-
gamification:
|
|
132
|
+
openedQuestion: o,
|
|
133
|
+
isLoading: !!i
|
|
134
|
+
}) : /* @__PURE__ */ s(u2, {});
|
|
135
|
+
}, Y2 = ({
|
|
136
|
+
gamification: t
|
|
137
137
|
}) => {
|
|
138
138
|
var e;
|
|
139
|
-
const n =
|
|
139
|
+
const n = u(t.openedQuestion.$store), i = u(t.openedQuestion.$extendedStore);
|
|
140
140
|
if (!n)
|
|
141
141
|
return null;
|
|
142
|
-
const
|
|
143
|
-
return /* @__PURE__ */
|
|
144
|
-
children: [/* @__PURE__ */
|
|
145
|
-
close:
|
|
146
|
-
type: ((e = n.attributes) == null ? void 0 : e.type) ||
|
|
147
|
-
}),
|
|
148
|
-
vote:
|
|
149
|
-
close:
|
|
150
|
-
extendedQuestion:
|
|
151
|
-
}),
|
|
142
|
+
const o = n.type;
|
|
143
|
+
return /* @__PURE__ */ f(Q2, {
|
|
144
|
+
children: [/* @__PURE__ */ s(l2, {
|
|
145
|
+
close: t.closeQuestion,
|
|
146
|
+
type: ((e = n.attributes) == null ? void 0 : e.type) || $2.UNSET
|
|
147
|
+
}), o === "question" && /* @__PURE__ */ s(W2, {
|
|
148
|
+
vote: t.submitAnswer,
|
|
149
|
+
close: t.closeQuestion,
|
|
150
|
+
extendedQuestion: i
|
|
151
|
+
}), o !== "question" && /* @__PURE__ */ s(Z2, {
|
|
152
152
|
openedQuestion: n
|
|
153
|
-
}), /* @__PURE__ */
|
|
153
|
+
}), /* @__PURE__ */ s(d2, {
|
|
154
154
|
mastersApp: !0
|
|
155
155
|
})]
|
|
156
156
|
});
|
|
157
|
-
},
|
|
158
|
-
const { sdk: n } =
|
|
159
|
-
return /* @__PURE__ */
|
|
160
|
-
},
|
|
157
|
+
}, j2 = ({ store: t, openQuestion: e }) => {
|
|
158
|
+
const { sdk: n } = U(), i = u(t);
|
|
159
|
+
return /* @__PURE__ */ s(m2, { openQuestion: e, questions: i.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
|
|
160
|
+
}, X2 = ({ userSummary: t }) => {
|
|
161
161
|
var e;
|
|
162
|
-
const n =
|
|
163
|
-
return /* @__PURE__ */
|
|
164
|
-
|
|
162
|
+
const n = u(t.$store);
|
|
163
|
+
return /* @__PURE__ */ s(
|
|
164
|
+
f2,
|
|
165
165
|
{
|
|
166
166
|
hideFriendsRank: !0,
|
|
167
167
|
loading: !(n != null && n.summary),
|
|
@@ -169,140 +169,140 @@ const B2 = /* @__PURE__ */ c("div")({
|
|
|
169
169
|
successRate: (e = n == null ? void 0 : n.percentage) == null ? void 0 : e.correct
|
|
170
170
|
}
|
|
171
171
|
);
|
|
172
|
-
},
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
] }),
|
|
172
|
+
}, J2 = ({ gamification: t, className: e, style: n }) => /* @__PURE__ */ f(G2, { className: e, style: n, children: [
|
|
173
|
+
/* @__PURE__ */ s(U2, { style: { paddingTop: "16px" }, children: /* @__PURE__ */ s(M2, { children: /* @__PURE__ */ s(X2, { userSummary: t.userSummary }) }) }),
|
|
174
|
+
/* @__PURE__ */ s(n2, { style: { flex: 1 }, children: /* @__PURE__ */ s(j2, { openQuestion: t.openQuestion, store: t.feedList.getStore() }) })
|
|
175
|
+
] }), e0 = () => P, t0 = /* @__PURE__ */ c(e0())({
|
|
176
176
|
name: "OpenedContainer",
|
|
177
177
|
class: "o1seszvt",
|
|
178
178
|
propsAsIs: !0
|
|
179
|
-
}),
|
|
180
|
-
gamification:
|
|
179
|
+
}), t1 = ({
|
|
180
|
+
gamification: t,
|
|
181
181
|
className: e
|
|
182
|
-
}) => /* @__PURE__ */
|
|
182
|
+
}) => /* @__PURE__ */ s(J2, {
|
|
183
183
|
className: e,
|
|
184
|
-
gamification:
|
|
185
|
-
}),
|
|
186
|
-
gamification:
|
|
184
|
+
gamification: t
|
|
185
|
+
}), n0 = ({
|
|
186
|
+
gamification: t,
|
|
187
187
|
responsiveStore: e,
|
|
188
188
|
className: n,
|
|
189
|
-
appNode:
|
|
189
|
+
appNode: i
|
|
190
190
|
}) => {
|
|
191
|
-
const
|
|
191
|
+
const o = u(t.openedQuestion.$store), {
|
|
192
192
|
sdkInDesktopView: a
|
|
193
|
-
} =
|
|
193
|
+
} = u(e, {
|
|
194
194
|
keys: ["sdkInDesktopView"]
|
|
195
195
|
}), {
|
|
196
|
-
hiding:
|
|
196
|
+
hiding: r,
|
|
197
197
|
onAnimationEnd: d
|
|
198
|
-
} =
|
|
199
|
-
return !
|
|
200
|
-
container:
|
|
198
|
+
} = g2();
|
|
199
|
+
return !i.current || !o ? null : /* @__PURE__ */ s(j, {
|
|
200
|
+
container: i,
|
|
201
201
|
useContainer: !a,
|
|
202
|
-
children: /* @__PURE__ */
|
|
202
|
+
children: /* @__PURE__ */ s(t0, {
|
|
203
203
|
className: n,
|
|
204
|
-
hiding:
|
|
204
|
+
hiding: r,
|
|
205
205
|
onAnimationEnd: d,
|
|
206
|
-
children: /* @__PURE__ */
|
|
207
|
-
gamification:
|
|
206
|
+
children: /* @__PURE__ */ s(Y2, {
|
|
207
|
+
gamification: t
|
|
208
208
|
})
|
|
209
209
|
})
|
|
210
210
|
});
|
|
211
|
-
},
|
|
212
|
-
const
|
|
213
|
-
return /* @__PURE__ */
|
|
214
|
-
|
|
211
|
+
}, s0 = w2(() => import("./gamification-feature2.js")), i0 = ({ sdk: t, feature: e, className: n }) => {
|
|
212
|
+
const i = R(() => e && e.featureConfig.get().type === A.GAMES ? /* @__PURE__ */ s(q2, { className: n, sdk: t, feature: e, children: /* @__PURE__ */ s(s0, { className: n, gamification: e }) }) : null, [t, e, n]);
|
|
213
|
+
return /* @__PURE__ */ s(
|
|
214
|
+
D2,
|
|
215
215
|
{
|
|
216
|
-
fallback: /* @__PURE__ */
|
|
217
|
-
children:
|
|
216
|
+
fallback: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
|
|
217
|
+
children: i
|
|
218
218
|
}
|
|
219
219
|
);
|
|
220
|
-
},
|
|
221
|
-
|
|
220
|
+
}, o0 = ({ feature: t, className: e, appNode: n, responsiveStore: i }) => t && t.featureConfig.get().type === A.GAMES ? /* @__PURE__ */ s(
|
|
221
|
+
n0,
|
|
222
222
|
{
|
|
223
|
-
responsiveStore:
|
|
223
|
+
responsiveStore: i,
|
|
224
224
|
className: e,
|
|
225
225
|
appNode: n,
|
|
226
|
-
gamification:
|
|
226
|
+
gamification: t
|
|
227
227
|
}
|
|
228
|
-
) : null,
|
|
228
|
+
) : null, r0 = /* @__PURE__ */ c("div")({
|
|
229
229
|
name: "Navigation",
|
|
230
230
|
class: "n1o1tw60",
|
|
231
231
|
propsAsIs: !1
|
|
232
|
-
}),
|
|
232
|
+
}), a0 = /* @__PURE__ */ c("div")({
|
|
233
233
|
name: "Container",
|
|
234
234
|
class: "co2rstw",
|
|
235
235
|
propsAsIs: !1
|
|
236
|
-
}),
|
|
236
|
+
}), l0 = /* @__PURE__ */ c("div")({
|
|
237
237
|
name: "Title",
|
|
238
238
|
class: "t1bqnx9c",
|
|
239
239
|
propsAsIs: !1
|
|
240
|
-
}),
|
|
241
|
-
className:
|
|
242
|
-
}, e) => /* @__PURE__ */
|
|
243
|
-
className:
|
|
244
|
-
children: [/* @__PURE__ */
|
|
245
|
-
children: /* @__PURE__ */
|
|
246
|
-
children: [/* @__PURE__ */
|
|
240
|
+
}), d0 = "hlc2pcy", c0 = x2(({
|
|
241
|
+
className: t
|
|
242
|
+
}, e) => /* @__PURE__ */ f(r0, {
|
|
243
|
+
className: w(t, d0),
|
|
244
|
+
children: [/* @__PURE__ */ s(a0, {
|
|
245
|
+
children: /* @__PURE__ */ f(l0, {
|
|
246
|
+
children: [/* @__PURE__ */ s(X, {
|
|
247
247
|
name: "fgIcon"
|
|
248
248
|
}), "FG+ Game Center", " "]
|
|
249
249
|
})
|
|
250
|
-
}), /* @__PURE__ */
|
|
250
|
+
}), /* @__PURE__ */ s("div", {
|
|
251
251
|
ref: e
|
|
252
252
|
})]
|
|
253
|
-
})),
|
|
253
|
+
})), p0 = /* @__PURE__ */ c("div")({
|
|
254
254
|
name: "Container",
|
|
255
255
|
class: "czz4rjk",
|
|
256
256
|
propsAsIs: !1
|
|
257
|
-
}),
|
|
257
|
+
}), C0 = /* @__PURE__ */ c("div")({
|
|
258
258
|
name: "CloseIconWrap",
|
|
259
259
|
class: "cxmojsy",
|
|
260
260
|
propsAsIs: !1
|
|
261
|
-
}),
|
|
261
|
+
}), u0 = () => X, m0 = /* @__PURE__ */ c(u0())({
|
|
262
262
|
name: "CloseIcon",
|
|
263
263
|
class: "c1urm3yx",
|
|
264
264
|
propsAsIs: !0
|
|
265
|
-
}),
|
|
265
|
+
}), f0 = /* @__PURE__ */ c("div")({
|
|
266
266
|
name: "Title",
|
|
267
267
|
class: "tme976v",
|
|
268
268
|
propsAsIs: !1
|
|
269
|
-
}),
|
|
269
|
+
}), g0 = /* @__PURE__ */ c("img")({
|
|
270
270
|
name: "SponsorLogo",
|
|
271
271
|
class: "s1lal9yz",
|
|
272
272
|
propsAsIs: !1
|
|
273
|
-
}),
|
|
273
|
+
}), h0 = /* @__PURE__ */ c("div")({
|
|
274
274
|
name: "PresentsTitle",
|
|
275
275
|
class: "pnn1sv1",
|
|
276
276
|
propsAsIs: !1
|
|
277
|
-
}),
|
|
277
|
+
}), v0 = /* @__PURE__ */ c("div")({
|
|
278
278
|
name: "Subtitle",
|
|
279
279
|
class: "s1hjj1y8",
|
|
280
280
|
propsAsIs: !1
|
|
281
|
-
}),
|
|
281
|
+
}), E0 = /* @__PURE__ */ c("div")({
|
|
282
282
|
name: "Description",
|
|
283
283
|
class: "dz7yjzw",
|
|
284
284
|
propsAsIs: !1
|
|
285
|
-
}),
|
|
285
|
+
}), L0 = /* @__PURE__ */ c("button")({
|
|
286
286
|
name: "ActionButton",
|
|
287
287
|
class: "avpowqk",
|
|
288
288
|
propsAsIs: !1
|
|
289
|
-
}), K = ({ close:
|
|
290
|
-
var
|
|
291
|
-
return /* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
((
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
/* @__PURE__ */
|
|
289
|
+
}), K = ({ close: t, action: e, onboarding: n }) => {
|
|
290
|
+
var i, o, a, r, d, l, C, p;
|
|
291
|
+
return /* @__PURE__ */ f(p0, { children: [
|
|
292
|
+
/* @__PURE__ */ s(C0, { onClick: t, children: /* @__PURE__ */ s(m0, { name: "icon-cross" }) }),
|
|
293
|
+
((o = (i = n == null ? void 0 : n.titleCard) == null ? void 0 : i.media) == null ? void 0 : o.sponsorLogo) && /* @__PURE__ */ f(f0, { children: [
|
|
294
|
+
/* @__PURE__ */ s(g0, { alt: "sponsor-logo", src: (r = (a = n == null ? void 0 : n.titleCard) == null ? void 0 : a.media) == null ? void 0 : r.sponsorLogo }),
|
|
295
|
+
/* @__PURE__ */ s(h0, { children: "PRESENTS" })
|
|
296
296
|
] }),
|
|
297
|
-
((d = n == null ? void 0 : n.titleCard) == null ? void 0 : d.title) && /* @__PURE__ */
|
|
298
|
-
((
|
|
299
|
-
/* @__PURE__ */
|
|
297
|
+
((d = n == null ? void 0 : n.titleCard) == null ? void 0 : d.title) && /* @__PURE__ */ s(v0, { children: (l = n == null ? void 0 : n.titleCard) == null ? void 0 : l.title }),
|
|
298
|
+
((C = n == null ? void 0 : n.titleCard) == null ? void 0 : C.subtitle) && /* @__PURE__ */ s(E0, { children: (p = n == null ? void 0 : n.titleCard) == null ? void 0 : p.subtitle }),
|
|
299
|
+
/* @__PURE__ */ s(L0, { onClick: e, children: "Play Now" })
|
|
300
300
|
] });
|
|
301
|
-
}, h0 = "data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e", H = [{
|
|
301
|
+
}, S0 = "data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e", H = [{
|
|
302
302
|
graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
|
|
303
303
|
tagline: "Featured groups+ experience",
|
|
304
|
-
headline: /* @__PURE__ */
|
|
305
|
-
children: ["Welcome to ", /* @__PURE__ */
|
|
304
|
+
headline: /* @__PURE__ */ f(y, {
|
|
305
|
+
children: ["Welcome to ", /* @__PURE__ */ s("br", {}), " Featured Groups +"]
|
|
306
306
|
})
|
|
307
307
|
}, {
|
|
308
308
|
graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",
|
|
@@ -316,44 +316,44 @@ const B2 = /* @__PURE__ */ c("div")({
|
|
|
316
316
|
}, {
|
|
317
317
|
graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
|
|
318
318
|
headline: "Compete against friends on the leaderboard"
|
|
319
|
-
}],
|
|
319
|
+
}], _0 = /* @__PURE__ */ c("div")({
|
|
320
320
|
name: "OnboardingContainer",
|
|
321
321
|
class: "on59ra",
|
|
322
322
|
propsAsIs: !1
|
|
323
|
-
}),
|
|
323
|
+
}), T0 = () => P, N0 = /* @__PURE__ */ c(T0())({
|
|
324
324
|
name: "OnboardingNotificationContainer",
|
|
325
325
|
class: "op1wk5d",
|
|
326
326
|
propsAsIs: !0
|
|
327
|
-
}),
|
|
327
|
+
}), q = /* @__PURE__ */ c("div")({
|
|
328
328
|
name: "InnerContainer",
|
|
329
329
|
class: "i1i1g2vj",
|
|
330
330
|
propsAsIs: !1
|
|
331
|
-
}),
|
|
332
|
-
deepLink:
|
|
331
|
+
}), I0 = ({
|
|
332
|
+
deepLink: t,
|
|
333
333
|
onboardingOpts: e,
|
|
334
334
|
notification: n,
|
|
335
|
-
gamification:
|
|
336
|
-
loading:
|
|
335
|
+
gamification: i,
|
|
336
|
+
loading: o,
|
|
337
337
|
sdk: a
|
|
338
338
|
}) => {
|
|
339
|
-
var
|
|
340
|
-
const
|
|
341
|
-
var
|
|
342
|
-
const
|
|
343
|
-
return
|
|
344
|
-
slId:
|
|
345
|
-
}) =>
|
|
346
|
-
}, [
|
|
347
|
-
return
|
|
348
|
-
const
|
|
349
|
-
|
|
339
|
+
var r, d, l, C, p, m, v;
|
|
340
|
+
const E = u(i.friends.getStore()), [D, x] = _(void 0), L = R(() => {
|
|
341
|
+
var T, b;
|
|
342
|
+
const G = a.getInviter();
|
|
343
|
+
return G ? (b = (T = E.data) == null ? void 0 : T.find(({
|
|
344
|
+
slId: r2
|
|
345
|
+
}) => r2 === G)) == null ? void 0 : b.name : "";
|
|
346
|
+
}, [E.data, a]);
|
|
347
|
+
return h(() => {
|
|
348
|
+
const T = t.$store.subscribe((b) => {
|
|
349
|
+
b && x(b.data);
|
|
350
350
|
});
|
|
351
351
|
return () => {
|
|
352
|
-
|
|
352
|
+
T();
|
|
353
353
|
};
|
|
354
|
-
}, [
|
|
355
|
-
children: /* @__PURE__ */
|
|
356
|
-
loading:
|
|
354
|
+
}, [t.$store]), /* @__PURE__ */ s(_0, {
|
|
355
|
+
children: /* @__PURE__ */ s(v2, {
|
|
356
|
+
loading: o,
|
|
357
357
|
rules: [{
|
|
358
358
|
label: "Answer as many questions as you like.",
|
|
359
359
|
icon: "icon-btn-feature-groups"
|
|
@@ -364,84 +364,84 @@ const B2 = /* @__PURE__ */ c("div")({
|
|
|
364
364
|
label: "Top the leader board and best your friends.",
|
|
365
365
|
icon: "icon-trophy"
|
|
366
366
|
}],
|
|
367
|
-
rulesBtnLabel: (
|
|
367
|
+
rulesBtnLabel: (r = e.rules) == null ? void 0 : r.buttonLabel,
|
|
368
368
|
rulesTitle: (d = e.rules) == null ? void 0 : d.heading,
|
|
369
369
|
termsTitle: "Terms and Conditions",
|
|
370
370
|
termsText: (l = e.rules) == null ? void 0 : l.terms,
|
|
371
371
|
steps: H,
|
|
372
|
-
primaryColor: (
|
|
373
|
-
inviteLink:
|
|
374
|
-
inviteCardTitle: (
|
|
375
|
-
inviteCardSubtext: (
|
|
376
|
-
inviteCardBtnLabel: (
|
|
372
|
+
primaryColor: (C = e.inviteCard) == null ? void 0 : C.iconColor,
|
|
373
|
+
inviteLink: D,
|
|
374
|
+
inviteCardTitle: (p = e.inviteCard) == null ? void 0 : p.heading,
|
|
375
|
+
inviteCardSubtext: (m = e.inviteCard) == null ? void 0 : m.subtext,
|
|
376
|
+
inviteCardBtnLabel: (v = e.inviteCard) == null ? void 0 : v.buttonLabel,
|
|
377
377
|
onClose: () => {
|
|
378
|
-
var
|
|
379
|
-
(
|
|
378
|
+
var T;
|
|
379
|
+
(T = n.close) == null || T.call(n);
|
|
380
380
|
},
|
|
381
|
-
gamification:
|
|
381
|
+
gamification: i,
|
|
382
382
|
sdk: a,
|
|
383
|
-
inviterName:
|
|
383
|
+
inviterName: L
|
|
384
384
|
})
|
|
385
385
|
});
|
|
386
|
-
},
|
|
387
|
-
sdk:
|
|
386
|
+
}, b0 = ({
|
|
387
|
+
sdk: t,
|
|
388
388
|
notification: e,
|
|
389
389
|
saveHeight: n,
|
|
390
|
-
style:
|
|
391
|
-
appNode:
|
|
390
|
+
style: i,
|
|
391
|
+
appNode: o,
|
|
392
392
|
responsiveStore: a
|
|
393
393
|
}) => {
|
|
394
|
-
var
|
|
395
|
-
const d =
|
|
396
|
-
graphicSrc:
|
|
397
|
-
}) =>
|
|
398
|
-
screen:
|
|
399
|
-
} =
|
|
394
|
+
var r;
|
|
395
|
+
const d = I(null), l = e.data.onboarding, [C, p] = _(l == null ? void 0 : l.instantOpen), m = t.getFeature(A.GAMES), v = R(() => H == null ? void 0 : H.map(({
|
|
396
|
+
graphicSrc: L
|
|
397
|
+
}) => L), []), {
|
|
398
|
+
screen: E
|
|
399
|
+
} = u(a, {
|
|
400
400
|
keys: ["screen"]
|
|
401
401
|
});
|
|
402
|
-
(
|
|
403
|
-
var
|
|
404
|
-
n(((
|
|
402
|
+
(r = l == null ? void 0 : l.titleCard) != null && r.media && (l.titleCard.media.sponsorLogo = S0), F2(() => {
|
|
403
|
+
var L;
|
|
404
|
+
n(((L = d.current) == null ? void 0 : L.getBoundingClientRect().height) || 0);
|
|
405
405
|
}, [n]);
|
|
406
406
|
const {
|
|
407
|
-
loading:
|
|
408
|
-
throttled:
|
|
409
|
-
} =
|
|
410
|
-
return
|
|
411
|
-
container:
|
|
407
|
+
loading: D,
|
|
408
|
+
throttled: x
|
|
409
|
+
} = h2(v);
|
|
410
|
+
return C && m && l && o.current && !x ? /* @__PURE__ */ s(j, {
|
|
411
|
+
container: o,
|
|
412
412
|
useContainer: !1,
|
|
413
|
-
children: /* @__PURE__ */
|
|
413
|
+
children: /* @__PURE__ */ s(I0, {
|
|
414
414
|
notification: e,
|
|
415
|
-
setOpened:
|
|
416
|
-
gamification:
|
|
415
|
+
setOpened: p,
|
|
416
|
+
gamification: m,
|
|
417
417
|
onboardingOpts: l,
|
|
418
|
-
deepLink:
|
|
419
|
-
loading:
|
|
420
|
-
sdk:
|
|
418
|
+
deepLink: m.deepLink,
|
|
419
|
+
loading: D,
|
|
420
|
+
sdk: t
|
|
421
421
|
})
|
|
422
|
-
}) : /* @__PURE__ */
|
|
423
|
-
children: [/* @__PURE__ */
|
|
422
|
+
}) : /* @__PURE__ */ f(y, {
|
|
423
|
+
children: [/* @__PURE__ */ s(q, {
|
|
424
424
|
ref: d,
|
|
425
425
|
style: {
|
|
426
426
|
position: "absolute",
|
|
427
427
|
visibility: "hidden"
|
|
428
428
|
},
|
|
429
|
-
children: /* @__PURE__ */
|
|
429
|
+
children: /* @__PURE__ */ s(K, {
|
|
430
430
|
close: () => {
|
|
431
431
|
},
|
|
432
432
|
action: () => {
|
|
433
433
|
},
|
|
434
434
|
onboarding: l
|
|
435
435
|
})
|
|
436
|
-
}), /* @__PURE__ */
|
|
437
|
-
style:
|
|
436
|
+
}), /* @__PURE__ */ s(N0, {
|
|
437
|
+
style: i,
|
|
438
438
|
hiding: e.hiding,
|
|
439
|
-
children: /* @__PURE__ */
|
|
440
|
-
children: /* @__PURE__ */
|
|
439
|
+
children: /* @__PURE__ */ s(q, {
|
|
440
|
+
children: /* @__PURE__ */ s(K, {
|
|
441
441
|
close: e.close,
|
|
442
442
|
action: () => {
|
|
443
|
-
var
|
|
444
|
-
|
|
443
|
+
var L;
|
|
444
|
+
p(!0), (((L = o.current) == null ? void 0 : L.getBoundingClientRect().y) || 0) < 0 && s2(o, E.size, {
|
|
445
445
|
behavior: "smooth"
|
|
446
446
|
});
|
|
447
447
|
},
|
|
@@ -450,206 +450,206 @@ const B2 = /* @__PURE__ */ c("div")({
|
|
|
450
450
|
})
|
|
451
451
|
})]
|
|
452
452
|
});
|
|
453
|
-
},
|
|
453
|
+
}, R0 = () => P, A0 = /* @__PURE__ */ c(R0())({
|
|
454
454
|
name: "Container",
|
|
455
455
|
class: "c1f0y7nw",
|
|
456
456
|
propsAsIs: !0
|
|
457
|
-
}),
|
|
457
|
+
}), o2 = /* @__PURE__ */ c("div")({
|
|
458
458
|
name: "InnerContainer",
|
|
459
459
|
class: "i1qa3p7a",
|
|
460
460
|
propsAsIs: !1
|
|
461
|
-
}),
|
|
461
|
+
}), k0 = () => o2, y0 = /* @__PURE__ */ c(k0())({
|
|
462
462
|
name: "HiddenContainer",
|
|
463
463
|
class: "hrthymv",
|
|
464
464
|
propsAsIs: !0
|
|
465
|
-
}),
|
|
465
|
+
}), w0 = /* @__PURE__ */ c("div")({
|
|
466
466
|
name: "NotificationRefreshing",
|
|
467
467
|
class: "n13rok4i",
|
|
468
468
|
propsAsIs: !1
|
|
469
|
-
}),
|
|
469
|
+
}), D0 = () => E2, x0 = /* @__PURE__ */ c(D0())({
|
|
470
470
|
name: "Pill",
|
|
471
471
|
class: "pht79xf",
|
|
472
472
|
propsAsIs: !0
|
|
473
|
-
}),
|
|
474
|
-
const [e, n] = _(0),
|
|
475
|
-
|
|
473
|
+
}), F0 = (t) => {
|
|
474
|
+
const [e, n] = _(0), i = I(null), o = V((r) => {
|
|
475
|
+
i.current = r;
|
|
476
476
|
}, []);
|
|
477
|
-
|
|
478
|
-
var
|
|
479
|
-
const d = (
|
|
477
|
+
h(() => {
|
|
478
|
+
var r;
|
|
479
|
+
const d = (r = i.current) == null ? void 0 : r.getBoundingClientRect();
|
|
480
480
|
d && n(d.height);
|
|
481
|
-
}, [
|
|
482
|
-
const a =
|
|
483
|
-
n(
|
|
481
|
+
}, [t]);
|
|
482
|
+
const a = V((r) => {
|
|
483
|
+
n(r);
|
|
484
484
|
}, []);
|
|
485
|
-
return [
|
|
486
|
-
},
|
|
487
|
-
sdk:
|
|
485
|
+
return [o, e, a];
|
|
486
|
+
}, O0 = ({
|
|
487
|
+
sdk: t,
|
|
488
488
|
notification: e,
|
|
489
489
|
appNode: n,
|
|
490
|
-
responsiveStore:
|
|
490
|
+
responsiveStore: i
|
|
491
491
|
}) => {
|
|
492
|
-
var
|
|
492
|
+
var o, a;
|
|
493
493
|
const {
|
|
494
|
-
sdk:
|
|
495
|
-
} =
|
|
496
|
-
return e.type ===
|
|
497
|
-
children: [/* @__PURE__ */
|
|
494
|
+
sdk: r
|
|
495
|
+
} = U(), [d, l, C] = F0(e.id);
|
|
496
|
+
return e.type === k.QUESTION ? /* @__PURE__ */ f(y, {
|
|
497
|
+
children: [/* @__PURE__ */ s(y0, {
|
|
498
498
|
ref: d,
|
|
499
|
-
children: /* @__PURE__ */
|
|
499
|
+
children: /* @__PURE__ */ s(M, {
|
|
500
500
|
...e
|
|
501
501
|
})
|
|
502
|
-
}), /* @__PURE__ */
|
|
502
|
+
}), /* @__PURE__ */ f(A0, {
|
|
503
503
|
style: {
|
|
504
504
|
height: e.hiding ? 0 : l
|
|
505
505
|
},
|
|
506
506
|
hiding: e.hiding,
|
|
507
|
-
children: [/* @__PURE__ */
|
|
507
|
+
children: [/* @__PURE__ */ s(o2, {
|
|
508
508
|
style: {
|
|
509
509
|
height: "100%"
|
|
510
510
|
},
|
|
511
|
-
children: /* @__PURE__ */
|
|
511
|
+
children: /* @__PURE__ */ s(M, {
|
|
512
512
|
...e,
|
|
513
|
-
controlVideo:
|
|
513
|
+
controlVideo: r == null ? void 0 : r.controlVideoPlayer
|
|
514
514
|
})
|
|
515
|
-
}), /* @__PURE__ */
|
|
515
|
+
}), /* @__PURE__ */ s(w0, {}, e.id)]
|
|
516
516
|
})]
|
|
517
|
-
}) : e.type ===
|
|
517
|
+
}) : e.type === k.QUESTION_RESOLVED && (a = (o = e.data) == null ? void 0 : o.question) != null && a.predictionResult ? /* @__PURE__ */ s(S2, {
|
|
518
518
|
style: {
|
|
519
519
|
height: e.hiding ? 0 : l
|
|
520
520
|
},
|
|
521
|
-
saveHeight:
|
|
521
|
+
saveHeight: C,
|
|
522
522
|
close: e.close,
|
|
523
523
|
hiding: e.hiding,
|
|
524
524
|
...e.data.question,
|
|
525
525
|
mastersApp: !0
|
|
526
|
-
}) : e.type ===
|
|
526
|
+
}) : e.type === k.ONBOARDING ? /* @__PURE__ */ s(b0, {
|
|
527
527
|
style: {
|
|
528
528
|
height: e.hiding ? 0 : l
|
|
529
529
|
},
|
|
530
|
-
saveHeight:
|
|
531
|
-
sdk:
|
|
530
|
+
saveHeight: C,
|
|
531
|
+
sdk: t,
|
|
532
532
|
notification: e,
|
|
533
533
|
appNode: n,
|
|
534
|
-
responsiveStore:
|
|
534
|
+
responsiveStore: i
|
|
535
535
|
}) : null;
|
|
536
|
-
},
|
|
537
|
-
pill:
|
|
536
|
+
}, B0 = "p1co32q0", $0 = ({
|
|
537
|
+
pill: t,
|
|
538
538
|
setPill: e,
|
|
539
539
|
appNode: n,
|
|
540
|
-
headerNode:
|
|
541
|
-
scrollNode:
|
|
540
|
+
headerNode: i,
|
|
541
|
+
scrollNode: o,
|
|
542
542
|
responsiveStore: a,
|
|
543
|
-
scrollStore:
|
|
543
|
+
scrollStore: r
|
|
544
544
|
}) => {
|
|
545
545
|
var d, l;
|
|
546
546
|
const {
|
|
547
|
-
screen:
|
|
548
|
-
} =
|
|
547
|
+
screen: C
|
|
548
|
+
} = u(a, {
|
|
549
549
|
keys: ["screen"]
|
|
550
550
|
}), {
|
|
551
|
-
tabsShown:
|
|
552
|
-
scrollPosition:
|
|
553
|
-
} =
|
|
551
|
+
tabsShown: p,
|
|
552
|
+
scrollPosition: m
|
|
553
|
+
} = u(r, {
|
|
554
554
|
keys: ["tabsShown", "scrollPosition"]
|
|
555
555
|
});
|
|
556
|
-
|
|
557
|
-
a.get().sdkInDesktopView ?
|
|
558
|
-
}, [
|
|
559
|
-
const
|
|
560
|
-
return !
|
|
561
|
-
title:
|
|
556
|
+
h(() => {
|
|
557
|
+
a.get().sdkInDesktopView ? m < 50 && e(null) : m > -50 && e(null);
|
|
558
|
+
}, [m, a, e]);
|
|
559
|
+
const v = a.get().sdkInDesktopView ? n : i;
|
|
560
|
+
return !t || !v.current ? null : _2.createPortal(/* @__PURE__ */ s(x0, {
|
|
561
|
+
title: t.type === k.QUESTION_RESOLVED ? "Prediction result" : `New ${((l = T2[(d = t.data) == null ? void 0 : d.questionType]) == null ? void 0 : l.label) || "notification"}`,
|
|
562
562
|
onClick: () => {
|
|
563
|
-
var
|
|
564
|
-
a.get().sdkInDesktopView ? (
|
|
563
|
+
var E;
|
|
564
|
+
a.get().sdkInDesktopView ? (E = o.current) == null || E.scrollTo({
|
|
565
565
|
top: 0,
|
|
566
566
|
behavior: "smooth"
|
|
567
|
-
}) :
|
|
567
|
+
}) : s2(n, C.size, {
|
|
568
568
|
behavior: "smooth"
|
|
569
569
|
}), e(null);
|
|
570
570
|
},
|
|
571
|
-
className:
|
|
572
|
-
}),
|
|
573
|
-
},
|
|
574
|
-
sdk:
|
|
571
|
+
className: w(p && B0, "sl-pill-button")
|
|
572
|
+
}), v.current);
|
|
573
|
+
}, V0 = ({
|
|
574
|
+
sdk: t,
|
|
575
575
|
headerNode: e,
|
|
576
576
|
scrollNode: n,
|
|
577
|
-
responsiveStore:
|
|
578
|
-
appNode:
|
|
577
|
+
responsiveStore: i,
|
|
578
|
+
appNode: o,
|
|
579
579
|
scrollStore: a
|
|
580
580
|
}) => {
|
|
581
|
-
const [
|
|
582
|
-
return
|
|
583
|
-
|
|
581
|
+
const [r] = _(t.getNotificationsStore()), d = u(r), [l, C] = _(null), p = R(() => t.getActiveNotification(), [t, d]);
|
|
582
|
+
return h(() => {
|
|
583
|
+
p && L2.emit("notification", {
|
|
584
584
|
action: "rendered",
|
|
585
585
|
payload: {
|
|
586
|
-
questionId:
|
|
587
|
-
questionType:
|
|
586
|
+
questionId: p.data.questionId,
|
|
587
|
+
questionType: p.data.questionType
|
|
588
588
|
}
|
|
589
589
|
});
|
|
590
|
-
}, [
|
|
591
|
-
|
|
592
|
-
a.get().scrollPosition !== 0 &&
|
|
590
|
+
}, [p]), h(() => {
|
|
591
|
+
p && (i.get().sdkInDesktopView || i.get().sdkInView) && (!i.get().sdkInDesktopView && i.get().sdkInView && C(p), i.get().sdkInDesktopView && window.requestAnimationFrame(() => {
|
|
592
|
+
a.get().scrollPosition !== 0 && C(p);
|
|
593
593
|
}));
|
|
594
|
-
}, [
|
|
595
|
-
|
|
596
|
-
}, [
|
|
597
|
-
children: [!l &&
|
|
594
|
+
}, [p]), h(() => {
|
|
595
|
+
p || C(null);
|
|
596
|
+
}, [p]), /* @__PURE__ */ f(y, {
|
|
597
|
+
children: [!l && p && /* @__PURE__ */ s(O0, {
|
|
598
598
|
headerNode: e,
|
|
599
|
-
appNode:
|
|
600
|
-
sdk:
|
|
601
|
-
notification:
|
|
602
|
-
responsiveStore:
|
|
603
|
-
}), l && /* @__PURE__ */
|
|
599
|
+
appNode: o,
|
|
600
|
+
sdk: t,
|
|
601
|
+
notification: p,
|
|
602
|
+
responsiveStore: i
|
|
603
|
+
}), l && /* @__PURE__ */ s($0, {
|
|
604
604
|
pill: l,
|
|
605
|
-
setPill:
|
|
606
|
-
appNode:
|
|
607
|
-
notification:
|
|
605
|
+
setPill: C,
|
|
606
|
+
appNode: o,
|
|
607
|
+
notification: p,
|
|
608
608
|
headerNode: e,
|
|
609
609
|
scrollNode: n,
|
|
610
610
|
scrollStore: a,
|
|
611
|
-
responsiveStore:
|
|
611
|
+
responsiveStore: i
|
|
612
612
|
})]
|
|
613
613
|
});
|
|
614
|
-
}, Q = Object.keys(
|
|
615
|
-
const
|
|
614
|
+
}, Q = Object.keys(S), B = () => {
|
|
615
|
+
const t = window.innerWidth;
|
|
616
616
|
let e = "sm";
|
|
617
617
|
for (let n = Q.length - 1; n > 0; n--) {
|
|
618
|
-
const
|
|
619
|
-
if (!(
|
|
620
|
-
e =
|
|
618
|
+
const i = Q[n];
|
|
619
|
+
if (!(t < S[i]) && t >= S[i]) {
|
|
620
|
+
e = i;
|
|
621
621
|
break;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
return {
|
|
625
625
|
name: e,
|
|
626
|
-
size:
|
|
626
|
+
size: S[e]
|
|
627
627
|
};
|
|
628
|
-
},
|
|
628
|
+
}, Z = (t) => {
|
|
629
629
|
var e;
|
|
630
|
-
return (((e =
|
|
631
|
-
},
|
|
630
|
+
return (((e = t.current) == null ? void 0 : e.getBoundingClientRect().y) || 0) < -68;
|
|
631
|
+
}, W = (t) => t >= S.lg, H0 = (t) => {
|
|
632
632
|
const [e] = _(() => {
|
|
633
|
-
const n =
|
|
634
|
-
return
|
|
635
|
-
screen:
|
|
636
|
-
sdkInView:
|
|
637
|
-
sdkInDesktopView:
|
|
633
|
+
const n = B();
|
|
634
|
+
return Y({
|
|
635
|
+
screen: B(),
|
|
636
|
+
sdkInView: Z(t),
|
|
637
|
+
sdkInDesktopView: W(n.size)
|
|
638
638
|
});
|
|
639
639
|
});
|
|
640
|
-
return
|
|
641
|
-
const n =
|
|
642
|
-
e.setKey("sdkInView",
|
|
643
|
-
}, 200),
|
|
644
|
-
const
|
|
645
|
-
e.setKey("screen",
|
|
640
|
+
return h(() => {
|
|
641
|
+
const n = $(() => {
|
|
642
|
+
e.setKey("sdkInView", Z(t));
|
|
643
|
+
}, 200), i = $(() => {
|
|
644
|
+
const o = B();
|
|
645
|
+
e.setKey("screen", o), e.setKey("sdkInDesktopView", W(o.size));
|
|
646
646
|
}, 200);
|
|
647
|
-
return window.addEventListener("scroll", n), window.addEventListener("resize",
|
|
648
|
-
window.removeEventListener("scroll", n), window.removeEventListener("resize",
|
|
647
|
+
return window.addEventListener("scroll", n), window.addEventListener("resize", i), () => {
|
|
648
|
+
window.removeEventListener("scroll", n), window.removeEventListener("resize", i);
|
|
649
649
|
};
|
|
650
|
-
}, [e,
|
|
651
|
-
},
|
|
652
|
-
...
|
|
650
|
+
}, [e, t]), [e];
|
|
651
|
+
}, P0 = {
|
|
652
|
+
...N2,
|
|
653
653
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
654
654
|
// @ts-expect-error
|
|
655
655
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
@@ -714,109 +714,114 @@ const B2 = /* @__PURE__ */ c("div")({
|
|
|
714
714
|
IN_APP_QUESTION_QUOTE: "rgba(10, 14, 19, 0.70)",
|
|
715
715
|
IN_APP_QUESTION_RESULT_SUBTITLE_BG: "#1D7BFF",
|
|
716
716
|
IN_APP_QUESTION_RESULT_LINE: "#babfc5"
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
|
|
717
|
+
}, g = {
|
|
718
|
+
...N,
|
|
719
|
+
REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
|
|
720
|
+
REGULAR1: N.REGULAR,
|
|
721
|
+
SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
|
|
722
|
+
SERIF1: "'Tiempos', 'Tiempos Headline', Times New Roman, serif",
|
|
723
|
+
COLOR: "#fff",
|
|
724
|
+
WEIGHT_DEFAULT: "500"
|
|
725
|
+
}, U0 = Object.entries(P0).reduce((t, [e, n]) => `
|
|
726
|
+
${t}
|
|
720
727
|
--color-${e.toLowerCase().replaceAll("_", "-")}: ${n};
|
|
721
728
|
`, "");
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
729
|
+
`${U0}${g.REGULAR}${g.REGULAR}${g.REGULAR1}${g.COLOR}${g.SERIF}${g.SERIF1}${g.WEIGHT_DEFAULT}${g.WEIGHT_DEFAULT1}${g.WEIGHT_DEFAULT2}${g.WEIGHT_DEFAULT3}${N.SIZE_DEFAULT}${N.SIZE_DEFAULT1}${N.SIZE_DEFAULT2}${N.LINE_HEIGHT}${N.MARGIN_TITLE_DEFAULT}${z.down("xl")`
|
|
730
|
+
--header-offset: 0px;
|
|
731
|
+
--watch-live-header: 0px;
|
|
732
|
+
`}${z.intermediate("xl", "lg")`
|
|
733
|
+
--header-offset: 0px;
|
|
734
|
+
`}`, 12 / 2;
|
|
735
|
+
const G0 = "m1ojpy2l", M0 = ({ children: t, style: e }) => /* @__PURE__ */ s("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ s("div", { className: w("masters-theme", G0), style: e, children: t }) }), z0 = ({ sdk: t, className: e }) => {
|
|
736
|
+
const [, n] = I2(t);
|
|
737
|
+
return /* @__PURE__ */ s(i0, { className: e, feature: n, sdk: t });
|
|
738
|
+
}, K0 = ({ sdk: t, className: e, appNode: n, responsiveStore: i }) => {
|
|
739
|
+
const o = u(t.featuresList.getStore());
|
|
740
|
+
return o ? Array.from(o, (a) => {
|
|
741
|
+
const r = t.getFeature(a);
|
|
742
|
+
return r ? /* @__PURE__ */ s(
|
|
743
|
+
o0,
|
|
731
744
|
{
|
|
732
|
-
responsiveStore:
|
|
745
|
+
responsiveStore: i,
|
|
733
746
|
className: e,
|
|
734
747
|
appNode: n,
|
|
735
|
-
feature:
|
|
736
|
-
sdk:
|
|
748
|
+
feature: r,
|
|
749
|
+
sdk: t
|
|
737
750
|
},
|
|
738
751
|
a
|
|
739
752
|
) : null;
|
|
740
753
|
}) : null;
|
|
741
|
-
},
|
|
742
|
-
const
|
|
743
|
-
return
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
}, 200);
|
|
748
|
-
return window.addEventListener("resize", r), () => {
|
|
749
|
-
window.removeEventListener("resize", r);
|
|
750
|
-
};
|
|
751
|
-
}, []), W(o, { enabled: !0, event: "click", listener: j }), /* @__PURE__ */ t(O2, { ref: o, ...s, isMobile: e });
|
|
752
|
-
}, K0 = ({ sdk: s }) => {
|
|
753
|
-
const e = f(null), n = p(s.status), o = p(s.sdkStore.slStreamId), r = f(null), [a] = w0(e), [i, d] = M2(e, a), l = n === "ready" && !!o.data;
|
|
754
|
-
return L(() => {
|
|
754
|
+
}, q0 = (t) => {
|
|
755
|
+
const e = I(null);
|
|
756
|
+
return J(e, { enabled: !0, event: "click", listener: e2 }), /* @__PURE__ */ s(B2, { ref: e, ...t });
|
|
757
|
+
}, Q0 = ({ sdk: t }) => {
|
|
758
|
+
const e = I(null), n = u(t.status), i = u(t.sdkStore.slStreamId), o = I(null), [a] = H0(e), [r, d] = K2(e, a), l = n === "ready" && !!i.data;
|
|
759
|
+
return h(() => {
|
|
755
760
|
window.requestAnimationFrame(() => {
|
|
756
|
-
|
|
757
|
-
|
|
761
|
+
t.initializeApp().then(() => {
|
|
762
|
+
t.openFeature(A.GAMES);
|
|
758
763
|
});
|
|
759
764
|
});
|
|
760
|
-
}, [
|
|
765
|
+
}, [t]), J(e, { enabled: !0, event: "click", listener: e2 }), h(() => {
|
|
761
766
|
import("./gamification-feature2.js");
|
|
762
|
-
}, []), /* @__PURE__ */
|
|
763
|
-
/* @__PURE__ */
|
|
764
|
-
/* @__PURE__ */
|
|
765
|
-
l && /* @__PURE__ */
|
|
766
|
-
|
|
767
|
+
}, []), /* @__PURE__ */ f(V2, { ref: e, children: [
|
|
768
|
+
/* @__PURE__ */ s(c0, { className: w(F), ref: o }),
|
|
769
|
+
/* @__PURE__ */ f(H2, { className: "sl-hide-on-modal", ref: r, children: [
|
|
770
|
+
l && /* @__PURE__ */ s(
|
|
771
|
+
V0,
|
|
767
772
|
{
|
|
768
|
-
sdk:
|
|
769
|
-
scrollNode:
|
|
770
|
-
headerNode:
|
|
773
|
+
sdk: t,
|
|
774
|
+
scrollNode: r,
|
|
775
|
+
headerNode: o,
|
|
771
776
|
appNode: e,
|
|
772
777
|
scrollStore: d,
|
|
773
778
|
responsiveStore: a
|
|
774
779
|
}
|
|
775
780
|
),
|
|
776
|
-
l && /* @__PURE__ */
|
|
777
|
-
l && /* @__PURE__ */
|
|
781
|
+
l && /* @__PURE__ */ s(z0, { className: F, sdk: t }),
|
|
782
|
+
l && /* @__PURE__ */ s(K0, { responsiveStore: a, appNode: e, className: F, sdk: t })
|
|
778
783
|
] })
|
|
779
784
|
] });
|
|
780
|
-
},
|
|
781
|
-
const [n,
|
|
782
|
-
|
|
783
|
-
const d =
|
|
785
|
+
}, Z0 = ({ sdk: t, betPack: e }) => {
|
|
786
|
+
const [n, i] = _(e), o = !!u(t.userId()), a = R(() => ({ sdk: t }), [t]), r = V(() => {
|
|
787
|
+
i(!1);
|
|
788
|
+
const d = t == null ? void 0 : t.getFeature(A.GAMES);
|
|
784
789
|
d == null || d.closeQuestion();
|
|
785
|
-
}, [
|
|
786
|
-
return /* @__PURE__ */
|
|
787
|
-
n &&
|
|
788
|
-
|
|
790
|
+
}, [t]);
|
|
791
|
+
return /* @__PURE__ */ f(i2.Provider, { value: a, children: [
|
|
792
|
+
n && o && /* @__PURE__ */ s(
|
|
793
|
+
q0,
|
|
789
794
|
{
|
|
790
|
-
sdk:
|
|
791
|
-
onEvent: ({ type: d }) => d === "slOpenGameCenter" ?
|
|
795
|
+
sdk: t,
|
|
796
|
+
onEvent: ({ type: d }) => d === "slOpenGameCenter" ? r() : () => {
|
|
792
797
|
},
|
|
793
|
-
close: () =>
|
|
798
|
+
close: () => r()
|
|
794
799
|
}
|
|
795
800
|
),
|
|
796
|
-
!n && /* @__PURE__ */
|
|
801
|
+
!n && /* @__PURE__ */ s(Q0, { sdk: t })
|
|
797
802
|
] });
|
|
798
|
-
},
|
|
799
|
-
|
|
803
|
+
}, n1 = ({ sdkKey: t, plugins: e, children: n, event: i, onDeepLinkHandled: o, videoPlayerController: a, production: r = !0 }) => /* @__PURE__ */ f(
|
|
804
|
+
b2,
|
|
800
805
|
{
|
|
801
|
-
sdkKey:
|
|
806
|
+
sdkKey: t,
|
|
802
807
|
plugins: e,
|
|
803
|
-
production:
|
|
808
|
+
production: r,
|
|
804
809
|
autoEnable: !0,
|
|
805
|
-
onDeepLinkHandled:
|
|
810
|
+
onDeepLinkHandled: o,
|
|
806
811
|
videoPlayerController: a,
|
|
807
812
|
friendsTab: "disabled",
|
|
808
813
|
skipOnboarding: !0,
|
|
809
814
|
hideFriends: !0,
|
|
810
815
|
children: [
|
|
811
|
-
/* @__PURE__ */
|
|
816
|
+
/* @__PURE__ */ s(R2, { event: i }),
|
|
812
817
|
n
|
|
813
818
|
]
|
|
814
819
|
}
|
|
815
|
-
),
|
|
816
|
-
const { sdk: e, status: n } =
|
|
817
|
-
return n ===
|
|
820
|
+
), W0 = ({ betPack: t }) => {
|
|
821
|
+
const { sdk: e, status: n } = t2(A2);
|
|
822
|
+
return n === k2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : e ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(M0, { style: { height: "100%" }, children: /* @__PURE__ */ s(Z0, { sdk: e, betPack: t }) }) }) : null;
|
|
818
823
|
};
|
|
819
|
-
class
|
|
824
|
+
class s1 extends O2 {
|
|
820
825
|
constructor(e) {
|
|
821
826
|
super(e), this.state = { hasError: !1 };
|
|
822
827
|
}
|
|
@@ -827,11 +832,11 @@ class J0 extends F2 {
|
|
|
827
832
|
console.error(e, n.componentStack);
|
|
828
833
|
}
|
|
829
834
|
render() {
|
|
830
|
-
return this.state.hasError ? null : /* @__PURE__ */
|
|
835
|
+
return this.state.hasError ? null : /* @__PURE__ */ s(W0, { ...this.props });
|
|
831
836
|
}
|
|
832
837
|
}
|
|
833
838
|
export {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
839
|
+
t1 as A,
|
|
840
|
+
n1 as M,
|
|
841
|
+
s1 as a
|
|
837
842
|
};
|