@streamlayer/react 1.12.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/lib/app/app.d.ts +1 -0
  2. package/lib/app/masters.d.ts +11 -18
  3. package/lib/app/provider.d.ts +2 -0
  4. package/lib/app/useStreamLayerApp.d.ts +3 -1
  5. package/lib/cjs/advertisement.js +1 -1
  6. package/lib/cjs/bet-pack.js +1 -1
  7. package/lib/cjs/gamification-feature2.js +1 -1
  8. package/lib/cjs/index2.js +6 -2
  9. package/lib/cjs/masters.js +1 -1
  10. package/lib/cjs/masters2.js +3 -3
  11. package/lib/cjs/notification.js +1 -1
  12. package/lib/cjs/points.js +1 -1
  13. package/lib/cjs/provider.js +28 -162
  14. package/lib/cjs/useStreamLayerApp2.js +9 -9
  15. package/lib/classic/app/app.d.ts +1 -0
  16. package/lib/classic/app/masters.d.ts +11 -18
  17. package/lib/classic/app/provider.d.ts +2 -0
  18. package/lib/classic/app/useStreamLayerApp.d.ts +3 -1
  19. package/lib/classic/cjs/advertisement.js +1 -1
  20. package/lib/classic/cjs/bet-pack.js +1 -1
  21. package/lib/classic/cjs/gamification-feature2.js +1 -1
  22. package/lib/classic/cjs/index2.js +6 -2
  23. package/lib/classic/cjs/masters.js +1 -1
  24. package/lib/classic/cjs/masters2.js +3 -3
  25. package/lib/classic/cjs/notification.js +1 -1
  26. package/lib/classic/cjs/points.js +1 -1
  27. package/lib/classic/cjs/provider.js +28 -162
  28. package/lib/classic/cjs/useStreamLayerApp2.js +9 -9
  29. package/lib/classic/es/advertisement.js +30 -30
  30. package/lib/classic/es/bet-pack.js +1 -1
  31. package/lib/classic/es/gamification-feature2.js +1 -1
  32. package/lib/classic/es/index.js +1 -1
  33. package/lib/classic/es/index2.js +1160 -1055
  34. package/lib/classic/es/masters.js +5 -4
  35. package/lib/classic/es/masters2.js +467 -580
  36. package/lib/classic/es/notification.js +42 -42
  37. package/lib/classic/es/points.js +5 -5
  38. package/lib/classic/es/provider.js +8535 -22157
  39. package/lib/classic/es/useStreamLayerApp2.js +2321 -2232
  40. package/lib/classic/style.css +1 -1
  41. package/lib/dist/cjs/gamification-feature.js +1 -1
  42. package/lib/dist/cjs/gamification-feature2.js +1 -1
  43. package/lib/dist/cjs/index.js +1 -1
  44. package/lib/dist/cjs/masters.js +53 -183
  45. package/lib/dist/es/gamification-feature.js +1 -1
  46. package/lib/dist/es/gamification-feature2.js +231 -77
  47. package/lib/dist/es/index.js +3 -2
  48. package/lib/dist/es/masters.js +19314 -32998
  49. package/lib/dist/style.css +1 -1
  50. package/lib/es/advertisement.js +30 -30
  51. package/lib/es/bet-pack.js +1 -1
  52. package/lib/es/gamification-feature2.js +1 -1
  53. package/lib/es/index.js +1 -1
  54. package/lib/es/index2.js +1160 -1055
  55. package/lib/es/masters.js +5 -4
  56. package/lib/es/masters2.js +467 -580
  57. package/lib/es/notification.js +42 -42
  58. package/lib/es/points.js +5 -5
  59. package/lib/es/provider.js +8524 -22146
  60. package/lib/es/useStreamLayerApp2.js +2321 -2232
  61. package/lib/style.css +1 -1
  62. package/package.json +17 -15
@@ -1,413 +1,312 @@
1
- import { jsx as t, jsxs as E, Fragment as k } from "react/jsx-runtime";
2
- import { s as C, j as e2, a as u, A as N, k as x, F as c2, l as s2, m as p2, p as C2, n as u2, B as h2, o as m2, M as v2, T as E2, q as L2, C as g2, r as S2, O as n2, t as F, v as f2, w as N2, x as I2, y as t2, D as U, E as _2, I as T2, G as R2, H as A2, g as k2, N as D, J as K, K as y2, Q as b2, R as D2, c as o2, U as w2, V as A, W as z, L as O, X as $2, Z as F2, _ as O2, f as Q, $ as V2, a0 as B2, a1 as x2, a2 as H2 } from "./provider.js";
3
- import { useRef as T, useState as S, useEffect as g, createContext as U2, useContext as r2, lazy as P2, useMemo as b, Suspense as G2, useLayoutEffect as M2, useCallback as Z, Component as K2 } from "react";
4
- import { Q as z2, S as w } from "./useStreamLayerApp2.js";
5
- import { r as Q2 } from "./index2.js";
6
- const Z2 = /* @__PURE__ */ C("div")({
1
+ import { jsx as s, jsxs as v, Fragment as y } from "react/jsx-runtime";
2
+ import { s as c, p as j, a as u, A as L, j as $, F as r2, k as a2, l as l2, m as d2, n as c2, H as p2, o as C2, q as u2, r as f2, t as m2, x as X, v as P, e as A, Z as J, I as g2, w as v2, y as h2, g as b2, N as R, B as z, C as E2, D as L2, E as S2, R as T2, G as T, J as M, L as F, K as _2, M as k2, O as I2, c as O, Q as N2, T as R2, S as y2, U as A2, V as w2 } from "./provider.js";
3
+ import { useRef as _, useState as S, useEffect as b, createContext as x2, useContext as e2, lazy as D2, useMemo as N, Suspense as F2, forwardRef as O2, useLayoutEffect as V2, useCallback as q, Component as B2 } from "react";
4
+ import { n as $2 } from "./index2.js";
5
+ import { Q as H2, S as w } from "./useStreamLayerApp2.js";
6
+ const P2 = /* @__PURE__ */ c("div")({
7
7
  name: "SDKContainer",
8
8
  class: "s8zgqze",
9
9
  propsAsIs: !1
10
- }), W2 = /* @__PURE__ */ C("div")({
10
+ }), U2 = /* @__PURE__ */ c("div")({
11
11
  name: "SDKScrollContainer",
12
12
  class: "s6t897k",
13
13
  propsAsIs: !1
14
- }), i2 = /* @__PURE__ */ C("div")({
14
+ }), t2 = /* @__PURE__ */ c("div")({
15
15
  name: "SDKContentContainer",
16
16
  class: "sw7pkvp",
17
17
  propsAsIs: !1
18
- }), q2 = () => i2, $ = /* @__PURE__ */ C(q2())({
18
+ }), G2 = () => t2, z2 = /* @__PURE__ */ c(G2())({
19
19
  name: "SDKWhiteContainer",
20
20
  class: "s14gkn7u",
21
21
  propsAsIs: !0
22
- }), Y2 = /* @__PURE__ */ C("div")({
22
+ }), M2 = /* @__PURE__ */ c("div")({
23
23
  name: "TabsContainer",
24
24
  class: "t1yxstm9",
25
25
  propsAsIs: !1
26
- }), j2 = () => $, X2 = /* @__PURE__ */ C(j2())({
27
- name: "LeaderboardContainer",
28
- class: "ldpty1s",
29
- propsAsIs: !0
30
- }), J2 = () => $, e0 = /* @__PURE__ */ C(J2())({
31
- name: "TabsNavContainer",
32
- class: "t136a59y",
33
- propsAsIs: !0
34
- }), s0 = /* @__PURE__ */ C("div")({
26
+ }), q2 = /* @__PURE__ */ c("div")({
35
27
  name: "UserSummaryContainer",
36
- class: "u11vnm9m",
28
+ class: "udpty1s",
37
29
  propsAsIs: !1
38
- }), P = (e, s, n) => {
39
- const o = s >= N.lg && s < N.xl ? 75 : 52;
40
- e.current && window.scrollTo({
41
- top: e.current.offsetTop - o,
30
+ }), n2 = (t, e, n) => {
31
+ const o = e >= L.lg && e < L.xl ? 75 : 52;
32
+ t.current && window.scrollTo({
33
+ top: t.current.offsetTop - o,
42
34
  ...n
43
35
  });
44
- }, n0 = 15, t0 = (e, s) => {
45
- const n = T(null), o = T(0), [r] = S(
46
- e2({
36
+ }, K2 = 15, Q2 = (t, e) => {
37
+ const n = _(null), o = _(0), [i] = S(
38
+ j({
47
39
  scrollPosition: 0,
48
40
  tabsShown: !0,
49
41
  scrollDirection: "forward"
50
42
  })
51
- ), i = u(s);
52
- return g(() => {
53
- const a = window.innerWidth < N.xl ? window : n.current;
54
- if (!a)
43
+ ), a = u(e);
44
+ return b(() => {
45
+ const r = window.innerWidth < L.xl ? window : n.current;
46
+ if (!r)
55
47
  return () => {
56
48
  };
57
- const c = x((p) => {
49
+ const p = $((C) => {
58
50
  var l;
59
- const d = p.target;
51
+ const d = C.target;
60
52
  if (!d)
61
53
  return;
62
- let h = 0;
63
- i.screen.size < N.xl ? h = ((l = e.current) == null ? void 0 : l.getBoundingClientRect().y) || 0 : h = d.scrollTop;
64
- const m = o.current - h;
65
- if (n0 > Math.abs(m))
54
+ let f = 0;
55
+ a.screen.size < L.xl ? f = ((l = t.current) == null ? void 0 : l.getBoundingClientRect().y) || 0 : f = d.scrollTop;
56
+ const m = o.current - f;
57
+ if (K2 > Math.abs(m))
66
58
  return;
67
- const L = o.current < h ? "forward" : "backward";
68
- o.current = h, r.set({
69
- scrollPosition: Math.round(h),
70
- scrollDirection: L,
71
- tabsShown: r.get().tabsShown
59
+ const h = o.current < f ? "forward" : "backward";
60
+ o.current = f, i.set({
61
+ scrollPosition: Math.round(f),
62
+ scrollDirection: h,
63
+ tabsShown: i.get().tabsShown
72
64
  });
73
65
  }, 200);
74
- return a.addEventListener("scroll", c), () => {
75
- a.removeEventListener("scroll", c);
66
+ return r.addEventListener("scroll", p), () => {
67
+ r.removeEventListener("scroll", p);
76
68
  };
77
- }, [r, e, i.screen]), [n, r];
78
- }, V = /* @__PURE__ */ C("div")({
69
+ }, [i, t, a.screen]), [n, i];
70
+ }, V = /* @__PURE__ */ c("div")({
79
71
  name: "LoadingContainer",
80
72
  class: "l7wseip",
81
73
  propsAsIs: !1
82
- }), o0 = ({
83
- feature: e,
84
- sdk: s,
74
+ }), Z2 = ({
75
+ feature: t,
76
+ sdk: e,
85
77
  children: n,
86
78
  className: o,
87
- noWait: r
79
+ noWait: i
88
80
  }) => {
89
- const i = u(e.status), a = u(s.sdkStore.slStreamId);
90
- if (!r) {
91
- if (a != null && a.loading && !a.data)
92
- return /* @__PURE__ */ t(V, {
81
+ const a = u(t.status), r = u(e.sdkStore.slStreamId);
82
+ if (!i) {
83
+ if (r != null && r.loading && !r.data)
84
+ return /* @__PURE__ */ s(V, {
93
85
  className: o,
94
86
  children: "Event is loading..."
95
87
  });
96
- if (!(a != null && a.data))
97
- return /* @__PURE__ */ t(V, {
88
+ if (!(r != null && r.data))
89
+ return /* @__PURE__ */ s(V, {
98
90
  className: o,
99
91
  children: "Event is forbidden..."
100
92
  });
101
- if (i !== c2.Ready)
102
- return /* @__PURE__ */ t(V, {
93
+ if (a !== r2.Ready)
94
+ return /* @__PURE__ */ s(V, {
103
95
  className: o,
104
96
  children: "Wait feature..."
105
97
  });
106
98
  }
107
99
  return n;
108
- }, a2 = U2({
100
+ }, s2 = x2({
109
101
  sdk: null
110
- }), G = () => r2(a2), r0 = /* @__PURE__ */ C("div")({
102
+ }), U = () => e2(s2), W2 = /* @__PURE__ */ c("div")({
111
103
  name: "QuestionContainer",
112
104
  class: "qwgkhsv",
113
105
  propsAsIs: !1
114
- }), i0 = ({
115
- openedQuestion: e
106
+ }), Y2 = ({
107
+ openedQuestion: t
116
108
  }) => {
117
- var s, n;
109
+ var e, n;
118
110
  const {
119
111
  sdk: o
120
- } = G();
121
- return ((s = e == null ? void 0 : e.attributes) == null ? void 0 : s.attributes.case) === "insight" ? /* @__PURE__ */ t(C2, {
122
- ...e.attributes.attributes.value,
112
+ } = U();
113
+ return ((e = t == null ? void 0 : t.attributes) == null ? void 0 : e.attributes.case) === "insight" ? /* @__PURE__ */ s(d2, {
114
+ ...t.attributes.attributes.value,
123
115
  controlVideo: o == null ? void 0 : o.controlVideoPlayer
124
- }) : ((n = e == null ? void 0 : e.attributes) == null ? void 0 : n.attributes.case) === "tweet" ? /* @__PURE__ */ t(u2, {
125
- ...e.attributes.attributes.value,
116
+ }) : ((n = t == null ? void 0 : t.attributes) == null ? void 0 : n.attributes.case) === "tweet" ? /* @__PURE__ */ s(c2, {
117
+ ...t.attributes.attributes.value,
126
118
  controlVideo: o == null ? void 0 : o.controlVideoPlayer
127
119
  }) : null;
128
- }, a0 = ({
129
- extendedQuestion: e,
130
- vote: s,
120
+ }, j2 = ({
121
+ extendedQuestion: t,
122
+ vote: e,
131
123
  close: n
132
124
  }) => {
133
125
  const {
134
126
  loading: o,
135
- data: r
136
- } = e;
137
- return r ? /* @__PURE__ */ t(h2, {
138
- vote: s,
127
+ data: i
128
+ } = t;
129
+ return i ? /* @__PURE__ */ s(p2, {
130
+ vote: e,
139
131
  close: n,
140
- openedQuestion: r,
132
+ openedQuestion: i,
141
133
  isLoading: !!o
142
- }) : /* @__PURE__ */ t(m2, {});
143
- }, l0 = ({
144
- gamification: e
134
+ }) : /* @__PURE__ */ s(C2, {});
135
+ }, X2 = ({
136
+ gamification: t
145
137
  }) => {
146
- var s;
147
- const n = u(e.openedQuestion.$store), o = u(e.openedQuestion.$extendedStore);
138
+ var e;
139
+ const n = u(t.openedQuestion.$store), o = u(t.openedQuestion.$extendedStore);
148
140
  if (!n)
149
141
  return null;
150
- const r = n.type;
151
- return /* @__PURE__ */ E(r0, {
152
- children: [/* @__PURE__ */ t(s2, {
153
- close: e.closeQuestion,
154
- type: ((s = n.attributes) == null ? void 0 : s.type) || z2.UNSET
155
- }), r === "question" && /* @__PURE__ */ t(a0, {
156
- vote: e.submitAnswer,
157
- close: e.closeQuestion,
142
+ const i = n.type;
143
+ return /* @__PURE__ */ v(W2, {
144
+ children: [/* @__PURE__ */ s(a2, {
145
+ close: t.closeQuestion,
146
+ type: ((e = n.attributes) == null ? void 0 : e.type) || H2.UNSET
147
+ }), i === "question" && /* @__PURE__ */ s(j2, {
148
+ vote: t.submitAnswer,
149
+ close: t.closeQuestion,
158
150
  extendedQuestion: o
159
- }), r !== "question" && /* @__PURE__ */ t(i0, {
151
+ }), i !== "question" && /* @__PURE__ */ s(Y2, {
160
152
  openedQuestion: n
161
- }), /* @__PURE__ */ t(p2, {
162
- mastersLogo: !0
153
+ }), /* @__PURE__ */ s(l2, {
154
+ mastersApp: !0
163
155
  })]
164
156
  });
165
- }, d0 = /* @__PURE__ */ C("div")({
166
- name: "InviteFriendsContainer",
167
- class: "i1b9agwt",
168
- propsAsIs: !1
169
- }), c0 = ({
170
- deepLink: e
171
- }) => /* @__PURE__ */ t(d0, {
172
- children: /* @__PURE__ */ t(v2, {
173
- inviteLink: e,
174
- inviteCardTitle: "It’s More Fun With Friends",
175
- inviteCardSubtext: "Invite and compete against your friends for the top spot on the leaderboard."
176
- })
177
- }), p0 = /* @__PURE__ */ C("div")({
178
- name: "InviteLinkContainer",
179
- class: "ij36hcn",
180
- propsAsIs: !1
181
- }), C0 = ({
182
- gamification: e,
183
- scrollNode: s,
184
- scrollStore: n
185
- }) => {
186
- const o = T(null), {
187
- data: r,
188
- hasMore: i,
189
- loading: a,
190
- key: c
191
- } = u(e.leaderboardList.$store), {
192
- data: p
193
- } = u(e.deepLink.$store), [l, d] = E2(o);
194
- return !r.length && !a ? /* @__PURE__ */ t(c0, {
195
- deepLink: p
196
- }) : /* @__PURE__ */ E(k, {
197
- children: [/* @__PURE__ */ t(L2, {
198
- items: r,
199
- scrollNode: s,
200
- scrollStore: n,
201
- fetchMore: e.leaderboardList.fetchMore,
202
- hasMore: i,
203
- openItemDetail: e.openUser,
204
- currentUserId: e.currentUserId.get()
205
- }, c), p && /* @__PURE__ */ t(p0, {
206
- ref: o,
207
- children: /* @__PURE__ */ t(g2, {
208
- onClick: () => l(p),
209
- title: "Invite Friends",
210
- description: "Challenge them now!"
211
- })
212
- }), d]
213
- });
214
- }, u0 = ({ store: e, openQuestion: s }) => {
215
- const { sdk: n } = G(), o = u(e);
216
- return /* @__PURE__ */ t(S2, { openQuestion: s, questions: o.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
217
- }, h0 = ({ userSummary: e }) => {
218
- var s;
219
- const [n, o] = S(void 0);
220
- return g(() => {
221
- const r = e.$store.subscribe((i) => {
222
- i && o(i);
223
- });
224
- return () => {
225
- r();
226
- };
227
- }, [e]), /* @__PURE__ */ t(n2, { loading: !(n != null && n.summary), ...n == null ? void 0 : n.summary, successRate: (s = n == null ? void 0 : n.percentage) == null ? void 0 : s.correct });
228
- }, m0 = ({ gamification: e, className: s, scrollStore: n, scrollNode: o, appNode: r, style: i, responsiveStore: a }) => {
229
- const { tabsShown: c } = u(n, { keys: ["tabsShown"] }), [p, l] = S(F.HOME), [, d] = N2(), { sdkInDesktopView: h, screen: m } = u(a, { keys: ["sdkInDesktopView"] }), L = (f) => {
230
- d(() => {
231
- var R;
232
- l(f), h === !1 && (((R = r.current) == null ? void 0 : R.getBoundingClientRect().y) || 0) < 0 && P(r, m.size, { behavior: "instant" });
233
- });
234
- };
235
- g(() => n.subscribe((f) => {
236
- if (f.scrollPosition === 0) {
237
- n.setKey("tabsShown", !0);
238
- return;
157
+ }, J2 = ({ store: t, openQuestion: e }) => {
158
+ const { sdk: n } = U(), o = u(t);
159
+ return /* @__PURE__ */ s(u2, { openQuestion: e, questions: o.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
160
+ }, e0 = ({ userSummary: t }) => {
161
+ var e;
162
+ const n = u(t.$store);
163
+ return /* @__PURE__ */ s(
164
+ f2,
165
+ {
166
+ hideFriendsRank: !0,
167
+ loading: !(n != null && n.summary),
168
+ ...n == null ? void 0 : n.summary,
169
+ successRate: (e = n == null ? void 0 : n.percentage) == null ? void 0 : e.correct
239
170
  }
240
- a.get().sdkInDesktopView ? n.setKey("tabsShown", f.scrollDirection === "backward") : n.setKey("tabsShown", f.scrollDirection === "forward");
241
- }), [n, a]);
242
- let _ = "0px";
243
- return h ? _ = c ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : _ = c ? "calc(var(--header-height) + var(--header-offset) - 2px)" : "0px", /* @__PURE__ */ E(Y2, { className: s, style: i, children: [
244
- /* @__PURE__ */ t(
245
- e0,
246
- {
247
- style: {
248
- top: _
249
- },
250
- children: /* @__PURE__ */ t(f2, { activePage: p, toggleActivePage: L })
251
- }
252
- ),
253
- p === F.HOME && /* @__PURE__ */ E(k, { children: [
254
- /* @__PURE__ */ t($, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ t(s0, { children: /* @__PURE__ */ t(h0, { userSummary: e.userSummary }) }) }),
255
- /* @__PURE__ */ t(i2, { style: { flex: 1 }, children: /* @__PURE__ */ t(u0, { openQuestion: e.openQuestion, store: e.feedList.getStore() }) })
256
- ] }),
257
- p === F.LEADERBOARD && /* @__PURE__ */ t(X2, { children: /* @__PURE__ */ t(C0, { scrollStore: n, scrollNode: o, gamification: e }) })
258
- ] });
259
- }, v0 = () => U, W = /* @__PURE__ */ C(v0())({
171
+ );
172
+ }, t0 = ({ gamification: t, className: e, style: n }) => /* @__PURE__ */ v(M2, { className: e, style: n, children: [
173
+ /* @__PURE__ */ s(z2, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ s(q2, { children: /* @__PURE__ */ s(e0, { userSummary: t.userSummary }) }) }),
174
+ /* @__PURE__ */ s(t2, { style: { flex: 1 }, children: /* @__PURE__ */ s(J2, { openQuestion: t.openQuestion, store: t.feedList.getStore() }) })
175
+ ] }), n0 = () => P, s0 = /* @__PURE__ */ c(n0())({
260
176
  name: "OpenedContainer",
261
177
  class: "o1seszvt",
262
178
  propsAsIs: !0
263
- }), E0 = /* @__PURE__ */ C("div")({
264
- name: "UserContainer",
265
- class: "u1pbry50",
266
- propsAsIs: !1
267
- }), L0 = ({
268
- correct: e,
269
- incorrect: s
270
- }) => {
271
- const n = e + s;
272
- return n === 0 ? 0 : Math.round(e / n * 100);
273
- }, C1 = ({
274
- gamification: e,
275
- scrollStore: s,
276
- className: n,
277
- appNode: o,
278
- scrollNode: r,
279
- responsiveStore: i
280
- }) => /* @__PURE__ */ t(m0, {
281
- appNode: o,
282
- scrollStore: s,
283
- scrollNode: r,
284
- className: n,
285
- gamification: e,
286
- responsiveStore: i
287
- }), g0 = ({
288
- gamification: e,
289
- className: s,
179
+ }), o1 = ({
180
+ gamification: t,
181
+ className: e
182
+ }) => /* @__PURE__ */ s(t0, {
183
+ className: e,
184
+ gamification: t
185
+ }), o0 = ({
186
+ gamification: t,
187
+ className: e,
290
188
  appNode: n,
291
189
  responsiveStore: o
292
190
  }) => {
293
- const r = u(e.openedQuestion.$store), i = u(e.openedUser), {
191
+ const i = u(t.openedQuestion.$store), {
294
192
  sdkInDesktopView: a
295
193
  } = u(o, {
296
194
  keys: ["sdkInDesktopView"]
297
195
  }), {
298
- hiding: c,
196
+ hiding: r,
299
197
  onAnimationEnd: p
300
- } = I2();
301
- if (!n.current || !r && !i)
302
- return null;
303
- const l = r ? /* @__PURE__ */ t(W, {
304
- className: s,
305
- hiding: c,
306
- onAnimationEnd: p,
307
- children: /* @__PURE__ */ t(l0, {
308
- gamification: e
309
- })
310
- }) : i ? /* @__PURE__ */ t(W, {
311
- className: s,
312
- hiding: c,
313
- onAnimationEnd: p,
314
- children: /* @__PURE__ */ E(E0, {
315
- children: [/* @__PURE__ */ t(s2, {
316
- label: "Friend's Rank",
317
- close: e.closeUser
318
- }), /* @__PURE__ */ t($, {
319
- children: /* @__PURE__ */ t(n2, {
320
- ...i,
321
- successRate: L0(i)
322
- })
323
- })]
324
- })
325
- }) : null;
326
- return /* @__PURE__ */ t(t2, {
198
+ } = m2();
199
+ return !n.current || !i ? null : /* @__PURE__ */ s(X, {
327
200
  container: n,
328
201
  useContainer: !a,
329
- children: l
202
+ children: /* @__PURE__ */ s(s0, {
203
+ className: e,
204
+ hiding: r,
205
+ onAnimationEnd: p,
206
+ children: /* @__PURE__ */ s(X2, {
207
+ gamification: t
208
+ })
209
+ })
330
210
  });
331
- }, S0 = P2(() => import("./gamification-feature2.js")), f0 = ({ sdk: e, feature: s, className: n, scrollStore: o, appNode: r, scrollNode: i, responsiveStore: a }) => {
332
- const c = b(() => s && s.featureConfig.get().type === w.GAMES ? /* @__PURE__ */ t(o0, { className: n, sdk: e, feature: s, children: /* @__PURE__ */ t(
333
- S0,
334
- {
335
- appNode: r,
336
- scrollStore: o,
337
- scrollNode: i,
338
- className: n,
339
- responsiveStore: a,
340
- gamification: s
341
- }
342
- ) }) : null, [e, s, n, a, o, i, r]);
343
- return /* @__PURE__ */ t(
344
- G2,
211
+ }, i0 = D2(() => import("./gamification-feature2.js")), r0 = ({ sdk: t, feature: e, className: n }) => {
212
+ const o = N(() => e && e.featureConfig.get().type === w.GAMES ? /* @__PURE__ */ s(Z2, { className: n, sdk: t, feature: e, children: /* @__PURE__ */ s(i0, { className: n, gamification: e }) }) : null, [t, e, n]);
213
+ return /* @__PURE__ */ s(
214
+ F2,
345
215
  {
346
- fallback: /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
347
- children: c
216
+ fallback: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
217
+ children: o
348
218
  }
349
219
  );
350
- }, N0 = ({ feature: e, className: s, appNode: n, responsiveStore: o }) => e && e.featureConfig.get().type === w.GAMES ? /* @__PURE__ */ t(
351
- g0,
220
+ }, a0 = ({ feature: t, className: e, appNode: n, responsiveStore: o }) => t && t.featureConfig.get().type === w.GAMES ? /* @__PURE__ */ s(
221
+ o0,
352
222
  {
353
- className: s,
223
+ className: e,
354
224
  appNode: n,
355
225
  responsiveStore: o,
356
- gamification: e
226
+ gamification: t
357
227
  }
358
- ) : null, I0 = /* @__PURE__ */ C("div")({
228
+ ) : null, l0 = /* @__PURE__ */ c("div")({
229
+ name: "Navigation",
230
+ class: "n1o1tw60",
231
+ propsAsIs: !1
232
+ }), d0 = /* @__PURE__ */ c("div")({
233
+ name: "Container",
234
+ class: "co2rstw",
235
+ propsAsIs: !1
236
+ }), c0 = /* @__PURE__ */ c("div")({
237
+ name: "Title",
238
+ class: "t1bqnx9c",
239
+ propsAsIs: !1
240
+ }), p0 = () => J, C0 = /* @__PURE__ */ c(p0())({
241
+ name: "HeaderIcon",
242
+ class: "hlc2pcy",
243
+ propsAsIs: !0
244
+ }), u0 = "h1aqxe8k", f0 = O2(({
245
+ className: t
246
+ }, e) => /* @__PURE__ */ v(l0, {
247
+ className: A(t, u0),
248
+ children: [/* @__PURE__ */ s(d0, {
249
+ children: /* @__PURE__ */ v(c0, {
250
+ children: [/* @__PURE__ */ s(C0, {
251
+ name: "icon-trivia-transparent"
252
+ }), "Game Center"]
253
+ })
254
+ }), /* @__PURE__ */ s("div", {
255
+ ref: e
256
+ })]
257
+ })), m0 = /* @__PURE__ */ c("div")({
359
258
  name: "Container",
360
259
  class: "czz4rjk",
361
260
  propsAsIs: !1
362
- }), _0 = /* @__PURE__ */ C("div")({
261
+ }), g0 = /* @__PURE__ */ c("div")({
363
262
  name: "CloseIconWrap",
364
263
  class: "cxmojsy",
365
264
  propsAsIs: !1
366
- }), T0 = () => _2, R0 = /* @__PURE__ */ C(T0())({
265
+ }), v0 = () => J, h0 = /* @__PURE__ */ c(v0())({
367
266
  name: "CloseIcon",
368
267
  class: "c1urm3yx",
369
268
  propsAsIs: !0
370
- }), A0 = /* @__PURE__ */ C("div")({
269
+ }), b0 = /* @__PURE__ */ c("div")({
371
270
  name: "Title",
372
271
  class: "tme976v",
373
272
  propsAsIs: !1
374
- }), k0 = /* @__PURE__ */ C("img")({
273
+ }), E0 = /* @__PURE__ */ c("img")({
375
274
  name: "SponsorLogo",
376
275
  class: "s1lal9yz",
377
276
  propsAsIs: !1
378
- }), y0 = /* @__PURE__ */ C("div")({
277
+ }), L0 = /* @__PURE__ */ c("div")({
379
278
  name: "PresentsTitle",
380
279
  class: "pnn1sv1",
381
280
  propsAsIs: !1
382
- }), b0 = /* @__PURE__ */ C("div")({
281
+ }), S0 = /* @__PURE__ */ c("div")({
383
282
  name: "Subtitle",
384
283
  class: "s1hjj1y8",
385
284
  propsAsIs: !1
386
- }), D0 = /* @__PURE__ */ C("div")({
285
+ }), T0 = /* @__PURE__ */ c("div")({
387
286
  name: "Description",
388
287
  class: "dz7yjzw",
389
288
  propsAsIs: !1
390
- }), w0 = /* @__PURE__ */ C("button")({
289
+ }), _0 = /* @__PURE__ */ c("button")({
391
290
  name: "ActionButton",
392
291
  class: "avpowqk",
393
292
  propsAsIs: !1
394
- }), q = ({ close: e, action: s, onboarding: n }) => {
395
- var o, r, i, a, c, p, l, d;
396
- return /* @__PURE__ */ E(I0, { children: [
397
- /* @__PURE__ */ t(_0, { onClick: e, children: /* @__PURE__ */ t(R0, { name: "icon-cross" }) }),
398
- ((r = (o = n == null ? void 0 : n.titleCard) == null ? void 0 : o.media) == null ? void 0 : r.sponsorLogo) && /* @__PURE__ */ E(A0, { children: [
399
- /* @__PURE__ */ t(k0, { alt: "sponsor-logo", src: (a = (i = n == null ? void 0 : n.titleCard) == null ? void 0 : i.media) == null ? void 0 : a.sponsorLogo }),
400
- /* @__PURE__ */ t(y0, { children: "PRESENTS" })
293
+ }), K = ({ close: t, action: e, onboarding: n }) => {
294
+ var o, i, a, r, p, C, l, d;
295
+ return /* @__PURE__ */ v(m0, { children: [
296
+ /* @__PURE__ */ s(g0, { onClick: t, children: /* @__PURE__ */ s(h0, { name: "icon-cross" }) }),
297
+ ((i = (o = n == null ? void 0 : n.titleCard) == null ? void 0 : o.media) == null ? void 0 : i.sponsorLogo) && /* @__PURE__ */ v(b0, { children: [
298
+ /* @__PURE__ */ s(E0, { alt: "sponsor-logo", src: (r = (a = n == null ? void 0 : n.titleCard) == null ? void 0 : a.media) == null ? void 0 : r.sponsorLogo }),
299
+ /* @__PURE__ */ s(L0, { children: "PRESENTS" })
401
300
  ] }),
402
- ((c = n == null ? void 0 : n.titleCard) == null ? void 0 : c.title) && /* @__PURE__ */ t(b0, { children: (p = n == null ? void 0 : n.titleCard) == null ? void 0 : p.title }),
403
- ((l = n == null ? void 0 : n.titleCard) == null ? void 0 : l.subtitle) && /* @__PURE__ */ t(D0, { children: (d = n == null ? void 0 : n.titleCard) == null ? void 0 : d.subtitle }),
404
- /* @__PURE__ */ t(w0, { onClick: s, children: "Play Now" })
301
+ ((p = n == null ? void 0 : n.titleCard) == null ? void 0 : p.title) && /* @__PURE__ */ s(S0, { children: (C = n == null ? void 0 : n.titleCard) == null ? void 0 : C.title }),
302
+ ((l = n == null ? void 0 : n.titleCard) == null ? void 0 : l.subtitle) && /* @__PURE__ */ s(T0, { children: (d = n == null ? void 0 : n.titleCard) == null ? void 0 : d.subtitle }),
303
+ /* @__PURE__ */ s(_0, { onClick: e, children: "Play Now" })
405
304
  ] });
406
- }, $0 = "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 = [{
305
+ }, k0 = "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 = [{
407
306
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
408
307
  tagline: "Featured groups+ experience",
409
- headline: /* @__PURE__ */ E(k, {
410
- children: ["Welcome to ", /* @__PURE__ */ t("br", {}), " Featured Groups +"]
308
+ headline: /* @__PURE__ */ v(y, {
309
+ children: ["Welcome to ", /* @__PURE__ */ s("br", {}), " Featured Groups +"]
411
310
  })
412
311
  }, {
413
312
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",
@@ -421,44 +320,44 @@ const Z2 = /* @__PURE__ */ C("div")({
421
320
  }, {
422
321
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
423
322
  headline: "Compete against friends on the leaderboard"
424
- }], F0 = /* @__PURE__ */ C("div")({
323
+ }], I0 = /* @__PURE__ */ c("div")({
425
324
  name: "OnboardingContainer",
426
325
  class: "on59ra",
427
326
  propsAsIs: !1
428
- }), O0 = () => U, V0 = /* @__PURE__ */ C(O0())({
327
+ }), N0 = () => P, R0 = /* @__PURE__ */ c(N0())({
429
328
  name: "OnboardingNotificationContainer",
430
329
  class: "op1wk5d",
431
330
  propsAsIs: !0
432
- }), Y = /* @__PURE__ */ C("div")({
331
+ }), Q = /* @__PURE__ */ c("div")({
433
332
  name: "InnerContainer",
434
333
  class: "i1i1g2vj",
435
334
  propsAsIs: !1
436
- }), B0 = ({
437
- deepLink: e,
438
- onboardingOpts: s,
335
+ }), y0 = ({
336
+ deepLink: t,
337
+ onboardingOpts: e,
439
338
  notification: n,
440
339
  gamification: o,
441
- loading: r,
442
- sdk: i
340
+ loading: i,
341
+ sdk: a
443
342
  }) => {
444
- var a, c, p, l, d, h, m;
445
- const L = u(o.friends.getStore()), [_, f] = S(void 0), R = b(() => {
446
- var v, y;
447
- const M = i.getInviter();
448
- return M ? (y = (v = L.data) == null ? void 0 : v.find(({
449
- slId: d2
450
- }) => d2 === M)) == null ? void 0 : y.name : "";
451
- }, [L.data, i]);
452
- return g(() => {
453
- const v = e.$store.subscribe((y) => {
454
- y && f(y.data);
343
+ var r, p, C, l, d, f, m;
344
+ const h = u(o.friends.getStore()), [k, x] = S(void 0), D = N(() => {
345
+ var g, I;
346
+ const G = a.getInviter();
347
+ return G ? (I = (g = h.data) == null ? void 0 : g.find(({
348
+ slId: i2
349
+ }) => i2 === G)) == null ? void 0 : I.name : "";
350
+ }, [h.data, a]);
351
+ return b(() => {
352
+ const g = t.$store.subscribe((I) => {
353
+ I && x(I.data);
455
354
  });
456
355
  return () => {
457
- v();
356
+ g();
458
357
  };
459
- }, [e.$store]), /* @__PURE__ */ t(F0, {
460
- children: /* @__PURE__ */ t(R2, {
461
- loading: r,
358
+ }, [t.$store]), /* @__PURE__ */ s(I0, {
359
+ children: /* @__PURE__ */ s(v2, {
360
+ loading: i,
462
361
  rules: [{
463
362
  label: "Answer as many questions as you like.",
464
363
  icon: "icon-btn-feature-groups"
@@ -469,85 +368,85 @@ const Z2 = /* @__PURE__ */ C("div")({
469
368
  label: "Top the leader board and best your friends.",
470
369
  icon: "icon-trophy"
471
370
  }],
472
- rulesBtnLabel: (a = s.rules) == null ? void 0 : a.buttonLabel,
473
- rulesTitle: (c = s.rules) == null ? void 0 : c.heading,
371
+ rulesBtnLabel: (r = e.rules) == null ? void 0 : r.buttonLabel,
372
+ rulesTitle: (p = e.rules) == null ? void 0 : p.heading,
474
373
  termsTitle: "Terms and Conditions",
475
- termsText: (p = s.rules) == null ? void 0 : p.terms,
374
+ termsText: (C = e.rules) == null ? void 0 : C.terms,
476
375
  steps: H,
477
- primaryColor: (l = s.inviteCard) == null ? void 0 : l.iconColor,
478
- inviteLink: _,
479
- inviteCardTitle: (d = s.inviteCard) == null ? void 0 : d.heading,
480
- inviteCardSubtext: (h = s.inviteCard) == null ? void 0 : h.subtext,
481
- inviteCardBtnLabel: (m = s.inviteCard) == null ? void 0 : m.buttonLabel,
376
+ primaryColor: (l = e.inviteCard) == null ? void 0 : l.iconColor,
377
+ inviteLink: k,
378
+ inviteCardTitle: (d = e.inviteCard) == null ? void 0 : d.heading,
379
+ inviteCardSubtext: (f = e.inviteCard) == null ? void 0 : f.subtext,
380
+ inviteCardBtnLabel: (m = e.inviteCard) == null ? void 0 : m.buttonLabel,
482
381
  onClose: () => {
483
- var v;
484
- (v = n.close) == null || v.call(n);
382
+ var g;
383
+ (g = n.close) == null || g.call(n);
485
384
  },
486
385
  gamification: o,
487
- sdk: i,
488
- inviterName: R
386
+ sdk: a,
387
+ inviterName: D
489
388
  })
490
389
  });
491
- }, x0 = ({
492
- sdk: e,
493
- notification: s,
390
+ }, A0 = ({
391
+ sdk: t,
392
+ notification: e,
494
393
  saveHeight: n,
495
394
  style: o,
496
- appNode: r,
497
- sdkInDesktopView: i,
498
- responsiveStore: a
395
+ appNode: i,
396
+ sdkInDesktopView: a,
397
+ responsiveStore: r
499
398
  }) => {
500
- var c;
501
- const p = T(null), l = s.data.onboarding, [d, h] = S(l == null ? void 0 : l.instantOpen), m = e.getFeature(w.GAMES), L = b(() => H == null ? void 0 : H.map(({
502
- graphicSrc: v
503
- }) => v), []), {
504
- screen: _
505
- } = u(a, {
399
+ var p;
400
+ const C = _(null), l = e.data.onboarding, [d, f] = S(l == null ? void 0 : l.instantOpen), m = t.getFeature(w.GAMES), h = N(() => H == null ? void 0 : H.map(({
401
+ graphicSrc: g
402
+ }) => g), []), {
403
+ screen: k
404
+ } = u(r, {
506
405
  keys: ["screen"]
507
406
  });
508
- (c = l == null ? void 0 : l.titleCard) != null && c.media && (l.titleCard.media.sponsorLogo = $0), M2(() => {
509
- var v;
510
- n(((v = p.current) == null ? void 0 : v.getBoundingClientRect().height) || 0);
407
+ (p = l == null ? void 0 : l.titleCard) != null && p.media && (l.titleCard.media.sponsorLogo = k0), V2(() => {
408
+ var g;
409
+ n(((g = C.current) == null ? void 0 : g.getBoundingClientRect().height) || 0);
511
410
  }, [n]);
512
411
  const {
513
- loading: f,
514
- throttled: R
515
- } = T2(L);
516
- return d && m && l && r.current && !R ? /* @__PURE__ */ t(t2, {
517
- container: r,
518
- useContainer: !i,
519
- children: /* @__PURE__ */ t(B0, {
520
- notification: s,
521
- setOpened: h,
412
+ loading: x,
413
+ throttled: D
414
+ } = g2(h);
415
+ return d && m && l && i.current && !D ? /* @__PURE__ */ s(X, {
416
+ container: i,
417
+ useContainer: !a,
418
+ children: /* @__PURE__ */ s(y0, {
419
+ notification: e,
420
+ setOpened: f,
522
421
  gamification: m,
523
422
  onboardingOpts: l,
524
423
  deepLink: m.deepLink,
525
- loading: f,
526
- sdk: e
424
+ loading: x,
425
+ sdk: t
527
426
  })
528
- }) : /* @__PURE__ */ E(k, {
529
- children: [/* @__PURE__ */ t(Y, {
530
- ref: p,
427
+ }) : /* @__PURE__ */ v(y, {
428
+ children: [/* @__PURE__ */ s(Q, {
429
+ ref: C,
531
430
  style: {
532
431
  position: "absolute",
533
432
  visibility: "hidden"
534
433
  },
535
- children: /* @__PURE__ */ t(q, {
434
+ children: /* @__PURE__ */ s(K, {
536
435
  close: () => {
537
436
  },
538
437
  action: () => {
539
438
  },
540
439
  onboarding: l
541
440
  })
542
- }), /* @__PURE__ */ t(V0, {
441
+ }), /* @__PURE__ */ s(R0, {
543
442
  style: o,
544
- hiding: s.hiding,
545
- children: /* @__PURE__ */ t(Y, {
546
- children: /* @__PURE__ */ t(q, {
547
- close: s.close,
443
+ hiding: e.hiding,
444
+ children: /* @__PURE__ */ s(Q, {
445
+ children: /* @__PURE__ */ s(K, {
446
+ close: e.close,
548
447
  action: () => {
549
- var v;
550
- h(!0), (((v = r.current) == null ? void 0 : v.getBoundingClientRect().y) || 0) < 0 && P(r, _.size, {
448
+ var g;
449
+ f(!0), (((g = i.current) == null ? void 0 : g.getBoundingClientRect().y) || 0) < 0 && n2(i, k.size, {
551
450
  behavior: "smooth"
552
451
  });
553
452
  },
@@ -556,211 +455,211 @@ const Z2 = /* @__PURE__ */ C("div")({
556
455
  })
557
456
  })]
558
457
  });
559
- }, H0 = () => U, U0 = /* @__PURE__ */ C(H0())({
458
+ }, w0 = () => P, x0 = /* @__PURE__ */ c(w0())({
560
459
  name: "Container",
561
460
  class: "c1f0y7nw",
562
461
  propsAsIs: !0
563
- }), l2 = /* @__PURE__ */ C("div")({
462
+ }), o2 = /* @__PURE__ */ c("div")({
564
463
  name: "InnerContainer",
565
464
  class: "i1qa3p7a",
566
465
  propsAsIs: !1
567
- }), P0 = () => l2, G0 = /* @__PURE__ */ C(P0())({
466
+ }), D0 = () => o2, F0 = /* @__PURE__ */ c(D0())({
568
467
  name: "HiddenContainer",
569
468
  class: "hrthymv",
570
469
  propsAsIs: !0
571
- }), M0 = /* @__PURE__ */ C("div")({
470
+ }), O0 = /* @__PURE__ */ c("div")({
572
471
  name: "NotificationRefreshing",
573
472
  class: "n13rok4i",
574
473
  propsAsIs: !1
575
- }), K0 = () => A2, z0 = /* @__PURE__ */ C(K0())({
474
+ }), V0 = () => h2, B0 = /* @__PURE__ */ c(V0())({
576
475
  name: "Pill",
577
476
  class: "pht79xf",
578
477
  propsAsIs: !0
579
- }), Q0 = (e) => {
580
- const [s, n] = S(0), o = T(null), r = Z((a) => {
581
- o.current = a;
478
+ }), $0 = (t) => {
479
+ const [e, n] = S(0), o = _(null), i = q((r) => {
480
+ o.current = r;
582
481
  }, []);
583
- g(() => {
584
- var a;
585
- const c = (a = o.current) == null ? void 0 : a.getBoundingClientRect();
586
- c && n(c.height);
587
- }, [e]);
588
- const i = Z((a) => {
589
- n(a);
482
+ b(() => {
483
+ var r;
484
+ const p = (r = o.current) == null ? void 0 : r.getBoundingClientRect();
485
+ p && n(p.height);
486
+ }, [t]);
487
+ const a = q((r) => {
488
+ n(r);
590
489
  }, []);
591
- return [r, s, i];
592
- }, Z0 = ({
593
- sdk: e,
594
- notification: s,
490
+ return [i, e, a];
491
+ }, H0 = ({
492
+ sdk: t,
493
+ notification: e,
595
494
  appNode: n,
596
495
  responsiveStore: o
597
496
  }) => {
598
- var r, i;
497
+ var i, a;
599
498
  const {
600
- sdkInDesktopView: a
499
+ sdkInDesktopView: r
601
500
  } = u(o, {
602
501
  keys: ["sdkInDesktopView"]
603
502
  }), {
604
- sdk: c
605
- } = G(), [p, l, d] = Q0(s.id);
606
- return s.type === D.QUESTION ? /* @__PURE__ */ E(k, {
607
- children: [/* @__PURE__ */ t(G0, {
608
- ref: p,
609
- children: /* @__PURE__ */ t(K, {
610
- ...s
503
+ sdk: p
504
+ } = U(), [C, l, d] = $0(e.id);
505
+ return e.type === R.QUESTION ? /* @__PURE__ */ v(y, {
506
+ children: [/* @__PURE__ */ s(F0, {
507
+ ref: C,
508
+ children: /* @__PURE__ */ s(z, {
509
+ ...e
611
510
  })
612
- }), /* @__PURE__ */ E(U0, {
511
+ }), /* @__PURE__ */ v(x0, {
613
512
  style: {
614
- height: s.hiding ? 0 : l
513
+ height: e.hiding ? 0 : l
615
514
  },
616
- hiding: s.hiding,
617
- children: [/* @__PURE__ */ t(l2, {
515
+ hiding: e.hiding,
516
+ children: [/* @__PURE__ */ s(o2, {
618
517
  style: {
619
518
  height: "100%"
620
519
  },
621
- children: /* @__PURE__ */ t(K, {
622
- ...s,
623
- controlVideo: c == null ? void 0 : c.controlVideoPlayer
520
+ children: /* @__PURE__ */ s(z, {
521
+ ...e,
522
+ controlVideo: p == null ? void 0 : p.controlVideoPlayer
624
523
  })
625
- }), /* @__PURE__ */ t(M0, {}, s.id)]
524
+ }), /* @__PURE__ */ s(O0, {}, e.id)]
626
525
  })]
627
- }) : s.type === D.QUESTION_RESOLVED && (i = (r = s.data) == null ? void 0 : r.question) != null && i.predictionResult ? /* @__PURE__ */ t(y2, {
526
+ }) : e.type === R.QUESTION_RESOLVED && (a = (i = e.data) == null ? void 0 : i.question) != null && a.predictionResult ? /* @__PURE__ */ s(E2, {
628
527
  style: {
629
- height: s.hiding ? 0 : l
528
+ height: e.hiding ? 0 : l
630
529
  },
631
530
  saveHeight: d,
632
- close: s.close,
633
- hiding: s.hiding,
634
- ...s.data.question,
531
+ close: e.close,
532
+ hiding: e.hiding,
533
+ ...e.data.question,
635
534
  mastersApp: !0
636
- }) : s.type === D.ONBOARDING ? /* @__PURE__ */ t(x0, {
535
+ }) : e.type === R.ONBOARDING ? /* @__PURE__ */ s(A0, {
637
536
  style: {
638
- height: s.hiding ? 0 : l
537
+ height: e.hiding ? 0 : l
639
538
  },
640
539
  saveHeight: d,
641
- sdk: e,
642
- notification: s,
643
- sdkInDesktopView: a,
540
+ sdk: t,
541
+ notification: e,
542
+ sdkInDesktopView: r,
644
543
  appNode: n,
645
544
  responsiveStore: o
646
545
  }) : null;
647
- }, W0 = "p1co32q0", q0 = ({
648
- pill: e,
649
- setPill: s,
546
+ }, P0 = "p1co32q0", U0 = ({
547
+ pill: t,
548
+ setPill: e,
650
549
  appNode: n,
651
550
  headerNode: o,
652
- scrollNode: r,
653
- responsiveStore: i,
654
- scrollStore: a
551
+ scrollNode: i,
552
+ responsiveStore: a,
553
+ scrollStore: r
655
554
  }) => {
656
- var c, p;
555
+ var p, C;
657
556
  const {
658
557
  screen: l
659
- } = u(i, {
558
+ } = u(a, {
660
559
  keys: ["screen"]
661
560
  }), {
662
561
  tabsShown: d,
663
- scrollPosition: h
664
- } = u(a, {
562
+ scrollPosition: f
563
+ } = u(r, {
665
564
  keys: ["tabsShown", "scrollPosition"]
666
565
  });
667
- g(() => {
668
- i.get().sdkInDesktopView ? h < 50 && s(null) : h > -50 && s(null);
669
- }, [h, i, s]);
670
- const m = i.get().sdkInDesktopView ? n : o;
671
- return !e || !m.current ? null : b2.createPortal(/* @__PURE__ */ t(z0, {
672
- title: e.type === D.QUESTION_RESOLVED ? "Prediction result" : `New ${((p = D2[(c = e.data) == null ? void 0 : c.questionType]) == null ? void 0 : p.label) || "notification"}`,
566
+ b(() => {
567
+ a.get().sdkInDesktopView ? f < 50 && e(null) : f > -50 && e(null);
568
+ }, [f, a, e]);
569
+ const m = a.get().sdkInDesktopView ? n : o;
570
+ return !t || !m.current ? null : L2.createPortal(/* @__PURE__ */ s(B0, {
571
+ title: t.type === R.QUESTION_RESOLVED ? "Prediction result" : `New ${((C = S2[(p = t.data) == null ? void 0 : p.questionType]) == null ? void 0 : C.label) || "notification"}`,
673
572
  onClick: () => {
674
- var L;
675
- i.get().sdkInDesktopView ? (L = r.current) == null || L.scrollTo({
573
+ var h;
574
+ a.get().sdkInDesktopView ? (h = i.current) == null || h.scrollTo({
676
575
  top: 0,
677
576
  behavior: "smooth"
678
- }) : P(n, l.size, {
577
+ }) : n2(n, l.size, {
679
578
  behavior: "smooth"
680
- }), s(null);
579
+ }), e(null);
681
580
  },
682
- className: o2(d && W0, "sl-pill-button")
581
+ className: A(d && P0, "sl-pill-button")
683
582
  }), m.current);
684
- }, Y0 = ({
685
- sdk: e,
686
- headerNode: s,
583
+ }, G0 = ({
584
+ sdk: t,
585
+ headerNode: e,
687
586
  scrollNode: n,
688
587
  responsiveStore: o,
689
- appNode: r,
690
- scrollStore: i
588
+ appNode: i,
589
+ scrollStore: a
691
590
  }) => {
692
- const [a] = S(e.getNotificationsStore()), c = u(a), [p, l] = S(null), d = b(() => e.getActiveNotification(), [e, c]);
693
- return g(() => {
694
- d && k2.emit("notification", {
591
+ const [r] = S(t.getNotificationsStore()), p = u(r), [C, l] = S(null), d = N(() => t.getActiveNotification(), [t, p]);
592
+ return b(() => {
593
+ d && b2.emit("notification", {
695
594
  action: "rendered",
696
595
  payload: {
697
596
  questionId: d.data.questionId,
698
597
  questionType: d.data.questionType
699
598
  }
700
599
  });
701
- }, [d]), g(() => {
600
+ }, [d]), b(() => {
702
601
  d && (o.get().sdkInDesktopView || o.get().sdkInView) && (!o.get().sdkInDesktopView && o.get().sdkInView && l(d), o.get().sdkInDesktopView && window.requestAnimationFrame(() => {
703
- i.get().scrollPosition !== 0 && l(d);
602
+ a.get().scrollPosition !== 0 && l(d);
704
603
  }));
705
- }, [d]), g(() => {
604
+ }, [d]), b(() => {
706
605
  d || l(null);
707
- }, [d]), /* @__PURE__ */ E(k, {
708
- children: [!p && d && /* @__PURE__ */ t(Z0, {
709
- headerNode: s,
710
- appNode: r,
711
- sdk: e,
606
+ }, [d]), /* @__PURE__ */ v(y, {
607
+ children: [!C && d && /* @__PURE__ */ s(H0, {
608
+ headerNode: e,
609
+ appNode: i,
610
+ sdk: t,
712
611
  notification: d,
713
612
  responsiveStore: o
714
- }), p && /* @__PURE__ */ t(q0, {
715
- pill: p,
613
+ }), C && /* @__PURE__ */ s(U0, {
614
+ pill: C,
716
615
  setPill: l,
717
- appNode: r,
616
+ appNode: i,
718
617
  notification: d,
719
- headerNode: s,
618
+ headerNode: e,
720
619
  scrollNode: n,
721
- scrollStore: i,
620
+ scrollStore: a,
722
621
  responsiveStore: o
723
622
  })]
724
623
  });
725
- }, j = Object.keys(N), B = () => {
726
- const e = window.innerWidth;
727
- let s = "sm";
728
- for (let n = j.length - 1; n > 0; n--) {
729
- const o = j[n];
730
- if (!(e < N[o]) && e >= N[o]) {
731
- s = o;
624
+ }, Z = Object.keys(L), B = () => {
625
+ const t = window.innerWidth;
626
+ let e = "sm";
627
+ for (let n = Z.length - 1; n > 0; n--) {
628
+ const o = Z[n];
629
+ if (!(t < L[o]) && t >= L[o]) {
630
+ e = o;
732
631
  break;
733
632
  }
734
633
  }
735
634
  return {
736
- name: s,
737
- size: N[s]
635
+ name: e,
636
+ size: L[e]
738
637
  };
739
- }, X = (e) => {
740
- var s;
741
- return (((s = e.current) == null ? void 0 : s.getBoundingClientRect().y) || 0) < -68;
742
- }, J = (e) => e >= N.xl, j0 = (e) => {
743
- const [s] = S(() => {
638
+ }, W = (t) => {
639
+ var e;
640
+ return (((e = t.current) == null ? void 0 : e.getBoundingClientRect().y) || 0) < -68;
641
+ }, Y = (t) => t >= L.xl, z0 = (t) => {
642
+ const [e] = S(() => {
744
643
  const n = B();
745
- return e2({
644
+ return j({
746
645
  screen: B(),
747
- sdkInView: X(e),
748
- sdkInDesktopView: J(n.size)
646
+ sdkInView: W(t),
647
+ sdkInDesktopView: Y(n.size)
749
648
  });
750
649
  });
751
- return g(() => {
752
- const n = x(() => {
753
- s.setKey("sdkInView", X(e));
754
- }, 200), o = x(() => {
755
- const r = B();
756
- s.setKey("screen", r), s.setKey("sdkInDesktopView", J(r.size));
650
+ return b(() => {
651
+ const n = $(() => {
652
+ e.setKey("sdkInView", W(t));
653
+ }, 200), o = $(() => {
654
+ const i = B();
655
+ e.setKey("screen", i), e.setKey("sdkInDesktopView", Y(i.size));
757
656
  }, 200);
758
657
  return window.addEventListener("scroll", n), window.addEventListener("resize", o), () => {
759
658
  window.removeEventListener("scroll", n), window.removeEventListener("resize", o);
760
659
  };
761
- }, [s, e]), [s];
762
- }, X0 = {
763
- ...w2,
660
+ }, [e, t]), [e];
661
+ }, M0 = {
662
+ ...T2,
764
663
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
765
664
  // @ts-expect-error
766
665
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
@@ -825,157 +724,145 @@ const Z2 = /* @__PURE__ */ C("div")({
825
724
  IN_APP_QUESTION_QUOTE: "rgba(10, 14, 19, 0.70)",
826
725
  IN_APP_QUESTION_RESULT_SUBTITLE_BG: "#1D7BFF",
827
726
  IN_APP_QUESTION_RESULT_LINE: "#babfc5"
828
- }, I = {
829
- ...A,
727
+ }, E = {
728
+ ...T,
830
729
  REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
831
730
  SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
731
+ SERIF1: "'Tiempos', 'Tiempos Headline', Times New Roman, serif",
832
732
  COLOR: "#fff",
833
733
  WEIGHT_DEFAULT: "500"
834
- }, J0 = Object.entries(X0).reduce((e, [s, n]) => `
835
- ${e}
836
- --color-${s.toLowerCase().replaceAll("_", "-")}: ${n};
734
+ }, q0 = Object.entries(M0).reduce((t, [e, n]) => `
735
+ ${t}
736
+ --color-${e.toLowerCase().replaceAll("_", "-")}: ${n};
837
737
  `, "");
838
- `${J0}${I.REGULAR}${I.REGULAR}${I.COLOR}${I.SERIF}${I.WEIGHT_DEFAULT}${I.WEIGHT_DEFAULT1}${I.WEIGHT_DEFAULT2}${I.WEIGHT_DEFAULT3}${A.SIZE_DEFAULT}${A.SIZE_DEFAULT1}${A.SIZE_DEFAULT2}${A.LINE_HEIGHT}${A.MARGIN_TITLE_DEFAULT}${z.down("xl")`
738
+ `${q0}${E.REGULAR}${E.REGULAR}${E.COLOR}${E.SERIF}${E.SERIF1}${E.WEIGHT_DEFAULT}${E.WEIGHT_DEFAULT1}${E.WEIGHT_DEFAULT2}${E.WEIGHT_DEFAULT3}${T.SIZE_DEFAULT}${T.SIZE_DEFAULT1}${T.SIZE_DEFAULT2}${T.LINE_HEIGHT}${T.MARGIN_TITLE_DEFAULT}${M.down("xl")`
839
739
  --header-offset: 0px;
840
740
  --watch-live-header: 0px;
841
- `}${z.intermediate("xl", "lg")`
741
+ `}${M.intermediate("xl", "lg")`
842
742
  --header-offset: 0px;
843
743
  `}`;
844
- const e1 = "m1ojpy2l", s1 = ({ children: e, style: s }) => /* @__PURE__ */ t("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ t("div", { className: o2("masters-theme", e1), style: s, children: e }) }), n1 = ({ sdk: e, className: s, scrollStore: n, appNode: o, scrollNode: r, responsiveStore: i }) => {
845
- const [, a] = V2(e);
846
- return /* @__PURE__ */ t(
847
- f0,
848
- {
849
- className: s,
850
- scrollNode: r,
851
- appNode: o,
852
- scrollStore: n,
853
- feature: a,
854
- responsiveStore: i,
855
- sdk: e
856
- }
857
- );
858
- }, t1 = ({ sdk: e, className: s, appNode: n, responsiveStore: o }) => {
859
- const r = u(e.featuresList.getStore());
860
- return r ? Array.from(r, (i) => {
861
- const a = e.getFeature(i);
862
- return a ? /* @__PURE__ */ t(
863
- N0,
744
+ const K0 = "m1ojpy2l", Q0 = ({ children: t, style: e }) => /* @__PURE__ */ s("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ s("div", { className: A("masters-theme", K0), style: e, children: t }) }), Z0 = ({ sdk: t, className: e }) => {
745
+ const [, n] = N2(t);
746
+ return /* @__PURE__ */ s(r0, { className: e, feature: n, sdk: t });
747
+ }, W0 = ({ sdk: t, className: e, appNode: n, responsiveStore: o }) => {
748
+ const i = u(t.featuresList.getStore());
749
+ return i ? Array.from(i, (a) => {
750
+ const r = t.getFeature(a);
751
+ return r ? /* @__PURE__ */ s(
752
+ a0,
864
753
  {
865
- className: s,
754
+ className: e,
866
755
  appNode: n,
867
- feature: a,
756
+ feature: r,
868
757
  responsiveStore: o,
869
- sdk: e
758
+ sdk: t
870
759
  },
871
- i
760
+ a
872
761
  ) : null;
873
762
  }) : null;
874
- }, o1 = ({
875
- responsiveStore: e,
876
- ...s
763
+ }, Y0 = ({
764
+ responsiveStore: t,
765
+ ...e
877
766
  }) => {
878
- const { sdkInDesktopView: n } = u(e);
879
- return /* @__PURE__ */ t(Q2, { ...s, isMobile: !n });
880
- }, r1 = ({ sdk: e }) => {
881
- const s = T(null), [n, o] = S(!0), r = T(null), [i] = j0(s), [a, c] = t0(s, i), p = u(e.status), l = u(e.sdkStore.slStreamId), d = !!u(e.userId()), h = p === "ready" && !!l.data;
882
- g(() => {
767
+ const { sdkInDesktopView: n } = u(t);
768
+ return /* @__PURE__ */ s($2, { ...e, isMobile: !n });
769
+ }, j0 = ({ sdk: t, betPack: e }) => {
770
+ const n = _(null), [o, i] = S(e), a = _(null), [r] = z0(n), [p, C] = Q2(n, r), l = u(t.status), d = u(t.sdkStore.slStreamId), f = !!u(t.userId()), m = l === "ready" && !!d.data;
771
+ b(() => {
883
772
  window.requestAnimationFrame(() => {
884
- e.initializeApp().then(() => {
885
- e.openFeature(w.GAMES);
773
+ t.initializeApp().then(() => {
774
+ t.openFeature(w.GAMES);
886
775
  });
887
776
  });
888
- }, [e]), O(s, { enabled: !0, event: "click", listener: $2 }), O(a, {
777
+ }, [t]), F(n, { enabled: !0, event: "click", listener: _2 }), F(p, {
889
778
  enabled: !0,
890
779
  event: "scrollend",
891
- listener: F2,
780
+ listener: k2,
892
781
  useDomNode: !0
893
- }), O(a, {
782
+ }), F(p, {
894
783
  enabled: !0,
895
784
  event: "click",
896
- listener: O2,
785
+ listener: I2,
897
786
  useDomNode: !0
898
787
  });
899
- const m = b(() => ({ sdk: e }), [e]);
900
- return g(() => {
788
+ const h = N(() => ({ sdk: t }), [t]);
789
+ return b(() => {
901
790
  import("./gamification-feature2.js");
902
- }, []), /* @__PURE__ */ E(a2.Provider, { value: m, children: [
903
- n && d && /* @__PURE__ */ t(
904
- o1,
791
+ }, []), /* @__PURE__ */ v(s2.Provider, { value: h, children: [
792
+ o && f && /* @__PURE__ */ s(
793
+ Y0,
905
794
  {
906
- sdk: e,
907
- onEvent: ({ type: L }) => L === "slOpenGameCenter" ? o(!1) : () => {
795
+ sdk: t,
796
+ onEvent: ({ type: k }) => k === "slOpenGameCenter" ? i(!1) : () => {
908
797
  },
909
- close: () => o(!1),
910
- responsiveStore: i
798
+ close: () => i(!1),
799
+ responsiveStore: r
911
800
  }
912
801
  ),
913
- !n && d && /* @__PURE__ */ t(Z2, { ref: s, children: /* @__PURE__ */ E(W2, { className: "sl-hide-on-modal", ref: a, children: [
914
- h && /* @__PURE__ */ t(
915
- Y0,
916
- {
917
- sdk: e,
918
- scrollNode: a,
919
- headerNode: r,
920
- appNode: s,
921
- scrollStore: c,
922
- responsiveStore: i
923
- }
924
- ),
925
- h && /* @__PURE__ */ t(
926
- n1,
927
- {
928
- scrollStore: c,
929
- responsiveStore: i,
930
- scrollNode: a,
931
- appNode: s,
932
- className: Q,
933
- sdk: e
934
- }
935
- ),
936
- h && /* @__PURE__ */ t(
937
- t1,
938
- {
939
- responsiveStore: i,
940
- appNode: s,
941
- className: Q,
942
- sdk: e
943
- }
944
- )
945
- ] }) }),
946
- !d && /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "You are not logged in." })
802
+ !o && /* @__PURE__ */ v(P2, { ref: n, children: [
803
+ /* @__PURE__ */ s(f0, { className: A(O, "sl-hide-on-modal"), ref: a }),
804
+ /* @__PURE__ */ v(U2, { "data-nav": !0, className: "sl-hide-on-modal", ref: p, children: [
805
+ m && /* @__PURE__ */ s(
806
+ G0,
807
+ {
808
+ sdk: t,
809
+ scrollNode: p,
810
+ headerNode: a,
811
+ appNode: n,
812
+ scrollStore: C,
813
+ responsiveStore: r
814
+ }
815
+ ),
816
+ m && /* @__PURE__ */ s(Z0, { className: O, sdk: t }),
817
+ m && /* @__PURE__ */ s(
818
+ W0,
819
+ {
820
+ responsiveStore: r,
821
+ appNode: n,
822
+ className: O,
823
+ sdk: t
824
+ }
825
+ )
826
+ ] })
827
+ ] })
947
828
  ] });
948
- }, u1 = ({ sdkKey: e, plugins: s, children: n, onDeepLinkHandled: o, videoPlayerController: r, production: i = !0 }) => /* @__PURE__ */ t(
949
- B2,
829
+ }, i1 = ({ sdkKey: t, plugins: e, children: n, event: o, onDeepLinkHandled: i, videoPlayerController: a, production: r = !0 }) => /* @__PURE__ */ v(
830
+ R2,
950
831
  {
951
- sdkKey: e,
952
- plugins: s,
953
- production: i,
954
- autoEnable: !1,
955
- onDeepLinkHandled: o,
956
- videoPlayerController: r,
957
- children: n
832
+ sdkKey: t,
833
+ plugins: e,
834
+ production: r,
835
+ autoEnable: !0,
836
+ onDeepLinkHandled: i,
837
+ videoPlayerController: a,
838
+ friendsTab: "disabled",
839
+ skipOnboarding: !0,
840
+ hideFriends: !0,
841
+ children: [
842
+ /* @__PURE__ */ s(y2, { event: o }),
843
+ n
844
+ ]
958
845
  }
959
- ), i1 = ({ children: e, overlays: s }) => {
960
- const { sdk: n, status: o } = r2(x2);
961
- return o === H2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), e({})) : n ? /* @__PURE__ */ t("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ t(s1, { style: { height: "100%" }, children: /* @__PURE__ */ t(r1, { sdk: n, overlays: s, children: e }) }) }) : e({});
846
+ ), X0 = ({ betPack: t }) => {
847
+ const { sdk: e, status: n } = e2(A2);
848
+ return n === w2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : e ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(Q0, { style: { height: "100%" }, children: /* @__PURE__ */ s(j0, { sdk: e, betPack: t }) }) }) : null;
962
849
  };
963
- class h1 extends K2 {
964
- constructor(s) {
965
- super(s), this.state = { hasError: !1 };
850
+ class r1 extends B2 {
851
+ constructor(e) {
852
+ super(e), this.state = { hasError: !1 };
966
853
  }
967
854
  static getDerivedStateFromError() {
968
855
  return { hasError: !0 };
969
856
  }
970
- componentDidCatch(s, n) {
971
- console.error(s, n.componentStack);
857
+ componentDidCatch(e, n) {
858
+ console.error(e, n.componentStack);
972
859
  }
973
860
  render() {
974
- return this.state.hasError ? this.props.children({}) : /* @__PURE__ */ t(i1, { ...this.props });
861
+ return this.state.hasError ? null : /* @__PURE__ */ s(X0, { ...this.props });
975
862
  }
976
863
  }
977
864
  export {
978
- u1 as M,
979
- h1 as a,
980
- C1 as z
865
+ o1 as A,
866
+ i1 as M,
867
+ r1 as a
981
868
  };