@streamlayer/react 1.20.6 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/pause-ad.d.ts +1 -1
- package/lib/cjs/advertisement.js +29 -29
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index2.js +4 -4
- package/lib/cjs/insight.js +1 -1
- package/lib/cjs/masters2.js +7 -7
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/pause-ad.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/provider.js +15 -39
- package/lib/cjs/useStreamLayerApp2.js +14 -15
- package/lib/classic/app/pause-ad.d.ts +1 -1
- package/lib/classic/cjs/advertisement.js +29 -29
- package/lib/classic/cjs/bet-pack.js +4 -4
- package/lib/classic/cjs/index.js +1 -1
- package/lib/classic/cjs/insight.js +1 -1
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/pause-ad.js +1 -1
- package/lib/classic/cjs/points.js +1 -1
- package/lib/classic/cjs/provider.js +10 -34
- package/lib/classic/cjs/useStreamLayerApp2.js +14 -15
- package/lib/classic/es/advertisement.js +2193 -2265
- package/lib/classic/es/bet-pack.js +14 -12
- package/lib/classic/es/index.js +16 -11
- package/lib/classic/es/insight.js +35 -30
- package/lib/classic/es/notification.js +108 -103
- package/lib/classic/es/pause-ad.js +196 -148
- package/lib/classic/es/points.js +28 -23
- package/lib/classic/es/provider.js +4290 -10434
- package/lib/classic/es/useStreamLayerApp.js +1 -1
- package/lib/classic/es/useStreamLayerApp2.js +3249 -5821
- package/lib/classic/index.d.ts +1 -1
- package/lib/classic/masters.d.ts +1 -1
- package/lib/dist/cjs/gamification-feature2.js +1 -1
- package/lib/dist/cjs/index.js +1 -1
- package/lib/dist/cjs/masters.js +35 -60
- package/lib/dist/es/gamification-feature2.js +112 -105
- package/lib/dist/es/index.js +12 -7
- package/lib/dist/es/masters.js +9837 -18573
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +2193 -2265
- package/lib/es/index.js +16 -11
- package/lib/es/index2.js +12 -10
- package/lib/es/insight.js +35 -30
- package/lib/es/masters2.js +28 -25
- package/lib/es/notification.js +135 -130
- package/lib/es/pause-ad.js +196 -148
- package/lib/es/points.js +28 -23
- package/lib/es/provider.js +4317 -10469
- package/lib/es/useStreamLayerApp.js +1 -1
- package/lib/es/useStreamLayerApp2.js +3249 -5821
- package/lib/index.d.ts +1 -1
- package/lib/masters.d.ts +1 -1
- package/lib/style.css +1 -1
- package/package.json +15 -15
|
@@ -1,209 +1,216 @@
|
|
|
1
|
-
import { jsx as s, jsxs as p, Fragment as
|
|
2
|
-
import { A as C, s as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as s, jsxs as p, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { A as C, s as r, B as b, f as M, I as D, a as L, b as T, M as E, u as m, T as P, p as R, k as F, z, c as B, l as U, d as O, S as j, m as q, e as H, n as V, g as Q } from "./masters.js";
|
|
3
|
+
import "@nanostores/react";
|
|
4
|
+
import { useCallback as K, useRef as W, useState as S, useEffect as f } from "react";
|
|
5
|
+
import "nanostores";
|
|
6
|
+
import "react-countdown-circle-timer";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "react-countup";
|
|
9
|
+
import "lodash.throttle";
|
|
10
|
+
import _ from "react-infinite-scroller";
|
|
11
|
+
const G = (e, a, t) => {
|
|
12
|
+
const o = a >= C.lg && a < C.xl ? 75 : 52;
|
|
6
13
|
e.current && window.scrollTo({
|
|
7
|
-
top: e.current.offsetTop -
|
|
8
|
-
...
|
|
14
|
+
top: e.current.offsetTop - o,
|
|
15
|
+
...t
|
|
9
16
|
});
|
|
10
|
-
}, J = /* @__PURE__ */
|
|
17
|
+
}, J = /* @__PURE__ */ r("div")({
|
|
11
18
|
name: "Container",
|
|
12
19
|
class: "c115qtkr",
|
|
13
20
|
propsAsIs: !1
|
|
14
|
-
}), X = /* @__PURE__ */
|
|
21
|
+
}), X = /* @__PURE__ */ r("div")({
|
|
15
22
|
name: "STabs",
|
|
16
23
|
class: "sxnslc8",
|
|
17
24
|
propsAsIs: !1
|
|
18
|
-
}), Y = /* @__PURE__ */
|
|
25
|
+
}), Y = /* @__PURE__ */ r("button")({
|
|
19
26
|
name: "Button",
|
|
20
27
|
class: "b1umzux0",
|
|
21
28
|
propsAsIs: !1
|
|
22
|
-
}), Z = /* @__PURE__ */
|
|
29
|
+
}), Z = /* @__PURE__ */ r("span")({
|
|
23
30
|
name: "Title",
|
|
24
31
|
class: "tspsaas",
|
|
25
32
|
propsAsIs: !1
|
|
26
33
|
});
|
|
27
34
|
var v = /* @__PURE__ */ ((e) => (e.HOME = "home", e.LEADERBOARD = "leaderboard", e))(v || {});
|
|
28
|
-
const
|
|
29
|
-
/* @__PURE__ */ s(
|
|
35
|
+
const $ = ({ title: e, active: a, onClick: t }) => /* @__PURE__ */ s(Y, { "data-a": "intr", onClick: t, "data-selected": a, children: /* @__PURE__ */ s(Z, { "data-a": "intr", children: e }) }), ee = ({ activePage: e = "home", toggleActivePage: a }) => /* @__PURE__ */ s(J, { children: /* @__PURE__ */ p(X, { "data-position": e === "home" ? "left" : "right", children: [
|
|
36
|
+
/* @__PURE__ */ s($, { title: "Home", active: e === "home", onClick: () => a(
|
|
30
37
|
"home"
|
|
31
38
|
/* HOME */
|
|
32
39
|
) }),
|
|
33
40
|
/* @__PURE__ */ s(
|
|
34
|
-
|
|
41
|
+
$,
|
|
35
42
|
{
|
|
36
43
|
title: "Friends",
|
|
37
44
|
active: e === "leaderboard",
|
|
38
|
-
onClick: () =>
|
|
45
|
+
onClick: () => a(
|
|
39
46
|
"leaderboard"
|
|
40
47
|
/* LEADERBOARD */
|
|
41
48
|
)
|
|
42
49
|
}
|
|
43
50
|
)
|
|
44
|
-
] }) }), se = /* @__PURE__ */
|
|
51
|
+
] }) }), se = /* @__PURE__ */ r("div")({
|
|
45
52
|
name: "Container",
|
|
46
53
|
class: "c1ux29ft",
|
|
47
54
|
propsAsIs: !1
|
|
48
|
-
}),
|
|
55
|
+
}), te = () => b, ae = /* @__PURE__ */ r(te())({
|
|
49
56
|
name: "FriendsIcon",
|
|
50
57
|
class: "f10ncfg2",
|
|
51
58
|
propsAsIs: !0
|
|
52
|
-
}),
|
|
59
|
+
}), re = /* @__PURE__ */ r("div")({
|
|
53
60
|
name: "Content",
|
|
54
61
|
class: "c1yc07bd",
|
|
55
62
|
propsAsIs: !1
|
|
56
|
-
}),
|
|
63
|
+
}), oe = /* @__PURE__ */ r("div")({
|
|
57
64
|
name: "Title",
|
|
58
65
|
class: "tj6cq7w",
|
|
59
66
|
propsAsIs: !1
|
|
60
|
-
}),
|
|
67
|
+
}), ne = /* @__PURE__ */ r("div")({
|
|
61
68
|
name: "Description",
|
|
62
69
|
class: "d1ag78xo",
|
|
63
70
|
propsAsIs: !1
|
|
64
|
-
}), ie = () => b, ce = /* @__PURE__ */
|
|
71
|
+
}), ie = () => b, ce = /* @__PURE__ */ r(ie())({
|
|
65
72
|
name: "ArrowInviteIcon",
|
|
66
73
|
class: "awohrz6",
|
|
67
74
|
propsAsIs: !0
|
|
68
|
-
}), le = ({ title: e, description:
|
|
69
|
-
const [
|
|
75
|
+
}), le = ({ title: e, description: a, onClick: t, className: o }) => {
|
|
76
|
+
const [n] = M({
|
|
70
77
|
type: "invitation",
|
|
71
78
|
action: "sent",
|
|
72
79
|
payload: {
|
|
73
80
|
from: D.TITLE_CARD
|
|
74
81
|
}
|
|
75
82
|
});
|
|
76
|
-
return /* @__PURE__ */ p(se, { "data-a": "intr", onClick:
|
|
77
|
-
/* @__PURE__ */ s(
|
|
78
|
-
/* @__PURE__ */ p(
|
|
79
|
-
/* @__PURE__ */ s(
|
|
80
|
-
/* @__PURE__ */ s(
|
|
83
|
+
return /* @__PURE__ */ p(se, { "data-a": "intr", onClick: n(t), className: o, children: [
|
|
84
|
+
/* @__PURE__ */ s(ae, { name: "icon-friends" }),
|
|
85
|
+
/* @__PURE__ */ p(re, { children: [
|
|
86
|
+
/* @__PURE__ */ s(oe, { children: e }),
|
|
87
|
+
/* @__PURE__ */ s(ne, { children: a })
|
|
81
88
|
] }),
|
|
82
89
|
/* @__PURE__ */ s(ce, { name: "icon-copy" })
|
|
83
90
|
] });
|
|
84
|
-
}, de = /* @__PURE__ */
|
|
91
|
+
}, de = /* @__PURE__ */ r("div")({
|
|
85
92
|
name: "Container",
|
|
86
93
|
class: "culdu4a",
|
|
87
94
|
propsAsIs: !1
|
|
88
|
-
}), pe = /* @__PURE__ */
|
|
95
|
+
}), pe = /* @__PURE__ */ r("div")({
|
|
89
96
|
name: "Position",
|
|
90
97
|
class: "pwf8e69",
|
|
91
98
|
propsAsIs: !1
|
|
92
|
-
}), me = /* @__PURE__ */
|
|
99
|
+
}), me = /* @__PURE__ */ r("img")({
|
|
93
100
|
name: "Avatar",
|
|
94
101
|
class: "atf4yh4",
|
|
95
102
|
propsAsIs: !1
|
|
96
|
-
}), ue = /* @__PURE__ */
|
|
103
|
+
}), ue = /* @__PURE__ */ r("div")({
|
|
97
104
|
name: "AvatarPlaceholder",
|
|
98
105
|
class: "a1dg29ja",
|
|
99
106
|
propsAsIs: !1
|
|
100
|
-
}), he = /* @__PURE__ */
|
|
107
|
+
}), he = /* @__PURE__ */ r("div")({
|
|
101
108
|
name: "Content",
|
|
102
109
|
class: "c10a68rc",
|
|
103
110
|
propsAsIs: !1
|
|
104
|
-
}), ve = /* @__PURE__ */
|
|
111
|
+
}), ve = /* @__PURE__ */ r("div")({
|
|
105
112
|
name: "NameContainer",
|
|
106
113
|
class: "nc4kck5",
|
|
107
114
|
propsAsIs: !1
|
|
108
|
-
}), Ie = /* @__PURE__ */
|
|
115
|
+
}), Ie = /* @__PURE__ */ r("span")({
|
|
109
116
|
name: "Name",
|
|
110
117
|
class: "njsrqgr",
|
|
111
118
|
propsAsIs: !1
|
|
112
|
-
}), ge = () => b, fe = /* @__PURE__ */
|
|
119
|
+
}), ge = () => b, fe = /* @__PURE__ */ r(ge())({
|
|
113
120
|
name: "CurrentUserBadge",
|
|
114
121
|
class: "c17uc4zr",
|
|
115
122
|
propsAsIs: !0
|
|
116
123
|
}), be = ({
|
|
117
124
|
friendsRank: e,
|
|
118
|
-
avatar:
|
|
119
|
-
name:
|
|
120
|
-
userId:
|
|
121
|
-
points:
|
|
125
|
+
avatar: a,
|
|
126
|
+
name: t,
|
|
127
|
+
userId: o,
|
|
128
|
+
points: n,
|
|
122
129
|
isCurrentUser: i,
|
|
123
130
|
style: d
|
|
124
|
-
}) => /* @__PURE__ */ p(de, { "data-name":
|
|
131
|
+
}) => /* @__PURE__ */ p(de, { "data-name": o, style: d, children: [
|
|
125
132
|
/* @__PURE__ */ s(pe, { children: e || 0 }),
|
|
126
133
|
/* @__PURE__ */ p(he, { children: [
|
|
127
|
-
|
|
134
|
+
a ? /* @__PURE__ */ s(me, { alt: "leaderboard-item-avatar", src: a }) : /* @__PURE__ */ s(ue, { children: L(t || "") }),
|
|
128
135
|
/* @__PURE__ */ p(ve, { children: [
|
|
129
|
-
/* @__PURE__ */ s(Ie, { children:
|
|
136
|
+
/* @__PURE__ */ s(Ie, { children: t || "" }),
|
|
130
137
|
i && /* @__PURE__ */ s(fe, { name: "icon-star" })
|
|
131
138
|
] })
|
|
132
139
|
] }),
|
|
133
|
-
/* @__PURE__ */ s("div", { children: T(
|
|
134
|
-
] }), Ae = /* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ s("div", { children: T(n) })
|
|
141
|
+
] }), Ae = /* @__PURE__ */ r("div")({
|
|
135
142
|
name: "Container",
|
|
136
143
|
class: "c16btbfp",
|
|
137
144
|
propsAsIs: !1
|
|
138
145
|
}), ke = ({
|
|
139
146
|
items: e,
|
|
140
|
-
currentUserId:
|
|
141
|
-
openItemDetail:
|
|
142
|
-
fetchMore:
|
|
143
|
-
scrollNode:
|
|
147
|
+
currentUserId: a,
|
|
148
|
+
openItemDetail: t,
|
|
149
|
+
fetchMore: o,
|
|
150
|
+
scrollNode: n,
|
|
144
151
|
hasMore: i
|
|
145
152
|
}) => {
|
|
146
|
-
const d =
|
|
153
|
+
const d = K((c) => {
|
|
147
154
|
const l = c.target.getAttribute("data-name");
|
|
148
|
-
l &&
|
|
149
|
-
}, [
|
|
150
|
-
return /* @__PURE__ */ s(
|
|
151
|
-
loadMore:
|
|
155
|
+
l && t(l);
|
|
156
|
+
}, [t]);
|
|
157
|
+
return /* @__PURE__ */ s(_, {
|
|
158
|
+
loadMore: o,
|
|
152
159
|
initialLoad: !1,
|
|
153
160
|
hasMore: i,
|
|
154
161
|
useWindow: !1,
|
|
155
|
-
getScrollParent: () =>
|
|
162
|
+
getScrollParent: () => n.current,
|
|
156
163
|
children: /* @__PURE__ */ s(Ae, {
|
|
157
164
|
"data-a": "intr",
|
|
158
165
|
onClick: d,
|
|
159
166
|
children: e.map((c) => /* @__PURE__ */ s(be, {
|
|
160
167
|
...c,
|
|
161
|
-
isCurrentUser: !!
|
|
168
|
+
isCurrentUser: !!a && a === c.userId
|
|
162
169
|
}, c.userId))
|
|
163
170
|
})
|
|
164
171
|
});
|
|
165
|
-
}, Ce = /* @__PURE__ */
|
|
172
|
+
}, Ce = /* @__PURE__ */ r("div")({
|
|
166
173
|
name: "InviteFriendsContainer",
|
|
167
174
|
class: "i1c9dygq",
|
|
168
175
|
propsAsIs: !1
|
|
169
|
-
}),
|
|
176
|
+
}), $e = ({
|
|
170
177
|
deepLink: e
|
|
171
178
|
}) => /* @__PURE__ */ s(Ce, {
|
|
172
|
-
children: /* @__PURE__ */ s(
|
|
179
|
+
children: /* @__PURE__ */ s(E, {
|
|
173
180
|
inviteLink: e,
|
|
174
181
|
inviteCardTitle: "It’s More Fun With Friends",
|
|
175
182
|
inviteCardSubtext: "Invite and compete against your friends for the top spot on the leaderboard."
|
|
176
183
|
})
|
|
177
|
-
}),
|
|
184
|
+
}), ye = /* @__PURE__ */ r("div")({
|
|
178
185
|
name: "InviteLinkContainer",
|
|
179
186
|
class: "i1odbhm4",
|
|
180
187
|
propsAsIs: !1
|
|
181
|
-
}),
|
|
188
|
+
}), Se = ({
|
|
182
189
|
gamification: e,
|
|
183
|
-
scrollNode:
|
|
184
|
-
scrollStore:
|
|
190
|
+
scrollNode: a,
|
|
191
|
+
scrollStore: t
|
|
185
192
|
}) => {
|
|
186
|
-
const
|
|
187
|
-
data:
|
|
193
|
+
const o = W(null), {
|
|
194
|
+
data: n,
|
|
188
195
|
hasMore: i,
|
|
189
196
|
loading: d,
|
|
190
197
|
key: c
|
|
191
198
|
} = m(e.leaderboardList.$store), {
|
|
192
199
|
data: l
|
|
193
|
-
} = m(e.deepLink.$store), [u, I] =
|
|
194
|
-
return !
|
|
200
|
+
} = m(e.deepLink.$store), [u, I] = P(o);
|
|
201
|
+
return !n.length && !d ? /* @__PURE__ */ s($e, {
|
|
195
202
|
deepLink: l
|
|
196
|
-
}) : /* @__PURE__ */ p(
|
|
203
|
+
}) : /* @__PURE__ */ p(y, {
|
|
197
204
|
children: [/* @__PURE__ */ s(ke, {
|
|
198
|
-
items:
|
|
199
|
-
scrollNode:
|
|
200
|
-
scrollStore:
|
|
205
|
+
items: n,
|
|
206
|
+
scrollNode: a,
|
|
207
|
+
scrollStore: t,
|
|
201
208
|
fetchMore: e.leaderboardList.fetchMore,
|
|
202
209
|
hasMore: i,
|
|
203
210
|
openItemDetail: e.openUser,
|
|
204
211
|
currentUserId: e.currentUserId.get()
|
|
205
|
-
}, c), l && /* @__PURE__ */ s(
|
|
206
|
-
ref:
|
|
212
|
+
}, c), l && /* @__PURE__ */ s(ye, {
|
|
213
|
+
ref: o,
|
|
207
214
|
children: /* @__PURE__ */ s(le, {
|
|
208
215
|
"data-a": "intr",
|
|
209
216
|
onClick: () => u(l),
|
|
@@ -212,40 +219,40 @@ const S = ({ title: e, active: n, onClick: a }) => /* @__PURE__ */ s(Y, { "data-
|
|
|
212
219
|
})
|
|
213
220
|
}), I]
|
|
214
221
|
});
|
|
215
|
-
}, Ne = ({ store: e, openQuestion:
|
|
216
|
-
const { sdk:
|
|
217
|
-
return /* @__PURE__ */ s(
|
|
222
|
+
}, Ne = ({ store: e, openQuestion: a }) => {
|
|
223
|
+
const { sdk: t } = R(), o = m(e);
|
|
224
|
+
return /* @__PURE__ */ s(F, { openQuestion: a, questions: o.data, controlVideo: t == null ? void 0 : t.controlVideoPlayer });
|
|
218
225
|
}, we = ({ userSummary: e }) => {
|
|
219
|
-
var
|
|
220
|
-
const [
|
|
226
|
+
var a;
|
|
227
|
+
const [t, o] = S(void 0);
|
|
221
228
|
return f(() => {
|
|
222
|
-
const
|
|
223
|
-
i &&
|
|
229
|
+
const n = e.$store.subscribe((i) => {
|
|
230
|
+
i && o(i);
|
|
224
231
|
});
|
|
225
232
|
return () => {
|
|
226
|
-
|
|
233
|
+
n();
|
|
227
234
|
};
|
|
228
|
-
}, [e]), /* @__PURE__ */ s(
|
|
229
|
-
}, xe = ({ gamification: e, className:
|
|
230
|
-
const { tabsShown: c } = m(
|
|
235
|
+
}, [e]), /* @__PURE__ */ s(z, { loading: !(t != null && t.summary), ...t == null ? void 0 : t.summary, successRate: (a = t == null ? void 0 : t.percentage) == null ? void 0 : a.correct });
|
|
236
|
+
}, xe = ({ gamification: e, className: a, scrollStore: t, scrollNode: o, appNode: n, style: i, responsiveStore: d }) => {
|
|
237
|
+
const { tabsShown: c } = m(t, { keys: ["tabsShown"] }), l = m(e.friendsTabEnabled), [u, I] = S(v.HOME), [, N] = B(), { sdkInDesktopView: A, screen: w } = m(d, { keys: ["sdkInDesktopView"] }), x = (h) => {
|
|
231
238
|
N(() => {
|
|
232
239
|
var k;
|
|
233
|
-
I(h), A === !1 && (((k =
|
|
240
|
+
I(h), A === !1 && (((k = n.current) == null ? void 0 : k.getBoundingClientRect().y) || 0) < 0 && G(n, w.size, { behavior: "instant" });
|
|
234
241
|
});
|
|
235
242
|
};
|
|
236
|
-
f(() =>
|
|
243
|
+
f(() => t.subscribe((h) => {
|
|
237
244
|
if (h.scrollPosition === 0) {
|
|
238
|
-
|
|
245
|
+
t.setKey("tabsShown", !0);
|
|
239
246
|
return;
|
|
240
247
|
}
|
|
241
|
-
d.get().sdkInDesktopView ?
|
|
242
|
-
}), [
|
|
248
|
+
d.get().sdkInDesktopView ? t.setKey("tabsShown", h.scrollDirection === "backward") : t.setKey("tabsShown", h.scrollDirection === "forward");
|
|
249
|
+
}), [t, d]), f(() => {
|
|
243
250
|
l || I(v.HOME);
|
|
244
251
|
}, [l]);
|
|
245
252
|
let g = "0px";
|
|
246
|
-
return A ? g = c ? "0px" : "calc(0px - var(--header-height))" : g = c ? "var(--header-height)" : "0px", /* @__PURE__ */ p(
|
|
253
|
+
return A ? g = c ? "0px" : "calc(0px - var(--header-height))" : g = c ? "var(--header-height)" : "0px", /* @__PURE__ */ p(U, { className: O(a, "SL-Tabs", "sl-hide-on-modal"), style: i, children: [
|
|
247
254
|
l && /* @__PURE__ */ s(
|
|
248
|
-
|
|
255
|
+
j,
|
|
249
256
|
{
|
|
250
257
|
style: {
|
|
251
258
|
top: g
|
|
@@ -253,27 +260,27 @@ const S = ({ title: e, active: n, onClick: a }) => /* @__PURE__ */ s(Y, { "data-
|
|
|
253
260
|
children: /* @__PURE__ */ s(ee, { activePage: u, toggleActivePage: x })
|
|
254
261
|
}
|
|
255
262
|
),
|
|
256
|
-
u === v.HOME && /* @__PURE__ */ p(
|
|
257
|
-
/* @__PURE__ */ s(
|
|
258
|
-
/* @__PURE__ */ s(
|
|
263
|
+
u === v.HOME && /* @__PURE__ */ p(y, { children: [
|
|
264
|
+
/* @__PURE__ */ s(q, { children: /* @__PURE__ */ s(H, { children: /* @__PURE__ */ s(we, { userSummary: e.userSummary }) }) }),
|
|
265
|
+
/* @__PURE__ */ s(V, { style: { flex: 1 }, children: /* @__PURE__ */ s(Ne, { openQuestion: e.openQuestion, store: e.feedList.getStore() }) })
|
|
259
266
|
] }),
|
|
260
|
-
u === v.LEADERBOARD && /* @__PURE__ */ s(
|
|
267
|
+
u === v.LEADERBOARD && /* @__PURE__ */ s(Q, { children: /* @__PURE__ */ s(Se, { scrollStore: t, scrollNode: o, gamification: e }) })
|
|
261
268
|
] });
|
|
262
|
-
},
|
|
269
|
+
}, Ue = ({
|
|
263
270
|
gamification: e,
|
|
264
|
-
scrollStore:
|
|
265
|
-
className:
|
|
266
|
-
appNode:
|
|
267
|
-
scrollNode:
|
|
271
|
+
scrollStore: a,
|
|
272
|
+
className: t,
|
|
273
|
+
appNode: o,
|
|
274
|
+
scrollNode: n,
|
|
268
275
|
responsiveStore: i
|
|
269
276
|
}) => /* @__PURE__ */ s(xe, {
|
|
270
|
-
appNode:
|
|
271
|
-
scrollStore:
|
|
272
|
-
scrollNode:
|
|
273
|
-
className:
|
|
277
|
+
appNode: o,
|
|
278
|
+
scrollStore: a,
|
|
279
|
+
scrollNode: n,
|
|
280
|
+
className: t,
|
|
274
281
|
gamification: e,
|
|
275
282
|
responsiveStore: i
|
|
276
283
|
});
|
|
277
284
|
export {
|
|
278
|
-
|
|
285
|
+
Ue as default
|
|
279
286
|
};
|
package/lib/dist/es/index.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import "lodash.throttle";
|
|
3
3
|
import "react";
|
|
4
|
+
import "@nanostores/react";
|
|
5
|
+
import "nanostores";
|
|
6
|
+
import { h as S, j as L, o as y, r as n, i as P, q as c } from "./masters.js";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "react-countup";
|
|
4
9
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
S as BetPackStandalone,
|
|
11
|
+
L as MastersStreamLayerProvider,
|
|
12
|
+
y as MastersStreamLayerSDKReact,
|
|
13
|
+
n as StreamLayerLogin,
|
|
14
|
+
P as StreamLayerSDKPoints,
|
|
15
|
+
c as useStreamLayer
|
|
11
16
|
};
|