@streamlayer/react 0.31.3 → 0.31.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/index3.js +1 -1
- package/lib/cjs/index4.js +1 -1
- package/lib/cjs/masters2.js +2 -2
- package/lib/cjs/points.js +1 -1
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/masters.js +13 -13
- package/lib/dist/es/gamification-feature.js +65 -51
- package/lib/dist/es/index.js +1 -1
- package/lib/dist/es/masters.js +467 -448
- package/lib/dist/index.d.ts +4 -0
- package/lib/dist/style.css +1 -1
- package/lib/es/gamification-feature.js +92 -78
- package/lib/es/index3.js +16 -6
- package/lib/es/index4.js +19 -18
- package/lib/es/masters2.js +673 -679
- package/lib/es/points.js +5 -5
- package/lib/style.css +1 -1
- package/package.json +8 -8
package/lib/es/masters2.js
CHANGED
|
@@ -1,308 +1,308 @@
|
|
|
1
1
|
import { jsx as c, jsxs as I, Fragment as me } from "react/jsx-runtime";
|
|
2
|
-
import { d as
|
|
3
|
-
import { lazy as
|
|
4
|
-
import { FeatureType as
|
|
2
|
+
import { d as Qe, S as Pt, a as Mt, b as qt, s as jt } from "./index2.js";
|
|
3
|
+
import { lazy as Gt, useMemo as Le, Suspense as Wt, useRef as ht, useState as V, useEffect as he, Component as Ht, createElement as Yt, useCallback as pt, useContext as Vt } from "react";
|
|
4
|
+
import { FeatureType as Ne, QuestionType as D } from "@streamlayer/sdk-web-types";
|
|
5
5
|
import { useStore as Z } from "@nanostores/react";
|
|
6
|
-
import { FeatureStatus as
|
|
7
|
-
import { s as h,
|
|
8
|
-
import { NotificationType as
|
|
9
|
-
import { Player as
|
|
10
|
-
const
|
|
11
|
-
const m = Z(s.status), g = Z(
|
|
12
|
-
return g != null && g.loading ? /* @__PURE__ */ c("div", { className: d, children: "event is loading..." }) : g != null && g.data ? m !==
|
|
13
|
-
},
|
|
6
|
+
import { FeatureStatus as de } from "@streamlayer/sdk-web-interfaces";
|
|
7
|
+
import { s as h, n as z, c as Qt } from "./index4.js";
|
|
8
|
+
import { NotificationType as we } from "@streamlayer/sdk-web-notifications";
|
|
9
|
+
import { Player as Kt } from "@lottiefiles/react-lottie-player";
|
|
10
|
+
const Xt = ({ feature: s, sdk: n, children: l, className: d }) => {
|
|
11
|
+
const m = Z(s.status), g = Z(n.sdkStore.slStreamId);
|
|
12
|
+
return g != null && g.loading ? /* @__PURE__ */ c("div", { className: d, children: "event is loading..." }) : g != null && g.data ? m !== de.Ready ? /* @__PURE__ */ c("div", { className: d, children: "wait feature..." }) : l : /* @__PURE__ */ c("div", { className: d, children: "event is forbidden..." });
|
|
13
|
+
}, Jt = Gt(() => import("./gamification-feature.js")), Zt = ({
|
|
14
14
|
sdk: s,
|
|
15
|
-
feature:
|
|
15
|
+
feature: n,
|
|
16
16
|
className: l
|
|
17
17
|
}) => {
|
|
18
|
-
const d =
|
|
18
|
+
const d = Le(() => n && n.featureConfig.get().type === Ne.GAMES ? /* @__PURE__ */ c(Xt, { className: l, sdk: s, feature: n, children: /* @__PURE__ */ c(Jt, { className: l, gamification: n, sdk: s }) }) : null, [s, n, l]);
|
|
19
19
|
return /* @__PURE__ */ c(
|
|
20
|
-
|
|
20
|
+
Wt,
|
|
21
21
|
{
|
|
22
22
|
fallback: /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
|
|
23
23
|
children: d
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
|
-
},
|
|
26
|
+
}, er = /* @__PURE__ */ h("button")({
|
|
27
27
|
name: "SButton",
|
|
28
28
|
class: "sxxa0c",
|
|
29
29
|
propsAsIs: !1
|
|
30
|
-
}),
|
|
30
|
+
}), tr = /* @__PURE__ */ h("span")({
|
|
31
31
|
name: "ButtonIcon",
|
|
32
32
|
class: "b193dcyu",
|
|
33
33
|
propsAsIs: !1
|
|
34
|
-
}),
|
|
34
|
+
}), rr = /* @__PURE__ */ h("span")({
|
|
35
35
|
name: "ButtonLabel",
|
|
36
36
|
class: "b40tuix",
|
|
37
37
|
propsAsIs: !1
|
|
38
|
-
}),
|
|
39
|
-
m && /* @__PURE__ */ c(
|
|
40
|
-
/* @__PURE__ */ c(
|
|
41
|
-
] }) }),
|
|
38
|
+
}), Re = ({ disabled: s, active: n, onClick: l, label: d, icon: m }) => /* @__PURE__ */ c(er, { onClick: l, disabled: s, "data-selected": n, children: /* @__PURE__ */ I(me, { children: [
|
|
39
|
+
m && /* @__PURE__ */ c(tr, { children: m }),
|
|
40
|
+
/* @__PURE__ */ c(rr, { children: d })
|
|
41
|
+
] }) }), ir = () => z, nr = /* @__PURE__ */ h(ir())({
|
|
42
42
|
name: "ButtonIcon",
|
|
43
43
|
class: "b1whzxvd",
|
|
44
44
|
propsAsIs: !0
|
|
45
|
-
}), ce = "channels",
|
|
46
|
-
var
|
|
47
|
-
return /* @__PURE__ */ c(
|
|
45
|
+
}), ce = "channels", sr = (s) => {
|
|
46
|
+
var n;
|
|
47
|
+
return /* @__PURE__ */ c(Re, {
|
|
48
48
|
...s,
|
|
49
49
|
id: "channels",
|
|
50
50
|
label: "Channels",
|
|
51
|
-
icon: /* @__PURE__ */ c(
|
|
51
|
+
icon: /* @__PURE__ */ c(nr, {
|
|
52
52
|
name: "icon-btn-channels",
|
|
53
|
-
"data-selected": (
|
|
53
|
+
"data-selected": (n = s.active) == null ? void 0 : n.toString()
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
},
|
|
56
|
+
}, or = () => z, ar = /* @__PURE__ */ h(or())({
|
|
57
57
|
name: "ButtonIcon",
|
|
58
58
|
class: "b11des7c",
|
|
59
59
|
propsAsIs: !0
|
|
60
|
-
}), ee = "featuredGroups",
|
|
61
|
-
var
|
|
62
|
-
return /* @__PURE__ */ c(
|
|
60
|
+
}), ee = "featuredGroups", lr = (s) => {
|
|
61
|
+
var n;
|
|
62
|
+
return /* @__PURE__ */ c(Re, {
|
|
63
63
|
...s,
|
|
64
64
|
label: "FG+",
|
|
65
65
|
id: "featuredGroups",
|
|
66
|
-
icon: /* @__PURE__ */ c(
|
|
66
|
+
icon: /* @__PURE__ */ c(ar, {
|
|
67
67
|
name: "icon-btn-feature-groups",
|
|
68
|
-
"data-selected": (
|
|
68
|
+
"data-selected": (n = s.active) == null ? void 0 : n.toString()
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
|
-
},
|
|
71
|
+
}, cr = () => z, ur = /* @__PURE__ */ h(cr())({
|
|
72
72
|
name: "ButtonIcon",
|
|
73
73
|
class: "b180jd7l",
|
|
74
74
|
propsAsIs: !0
|
|
75
|
-
}), Ae = "leaderboard",
|
|
76
|
-
var
|
|
77
|
-
return /* @__PURE__ */ c(
|
|
75
|
+
}), Ae = "leaderboard", hr = (s) => {
|
|
76
|
+
var n;
|
|
77
|
+
return /* @__PURE__ */ c(Re, {
|
|
78
78
|
...s,
|
|
79
79
|
label: "Leader Board",
|
|
80
80
|
id: "leaderboard",
|
|
81
|
-
icon: /* @__PURE__ */ c(
|
|
81
|
+
icon: /* @__PURE__ */ c(ur, {
|
|
82
82
|
name: "icon-btn-leaderboard",
|
|
83
|
-
"data-selected": (
|
|
83
|
+
"data-selected": (n = s.active) == null ? void 0 : n.toString()
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}, pr = /* @__PURE__ */ h("div")({
|
|
87
87
|
name: "Buttons",
|
|
88
88
|
class: "b6tbwuy",
|
|
89
89
|
propsAsIs: !1
|
|
90
|
-
}),
|
|
90
|
+
}), dr = ({
|
|
91
91
|
children: s,
|
|
92
|
-
className:
|
|
92
|
+
className: n
|
|
93
93
|
}) => /* @__PURE__ */ c(pr, {
|
|
94
|
-
className:
|
|
94
|
+
className: n,
|
|
95
95
|
children: s
|
|
96
|
-
}),
|
|
96
|
+
}), fr = () => dr, mr = /* @__PURE__ */ h(fr())({
|
|
97
97
|
name: "Navigation",
|
|
98
98
|
class: "n19lpak2",
|
|
99
99
|
propsAsIs: !0
|
|
100
|
-
}),
|
|
101
|
-
/* @__PURE__ */ c(
|
|
100
|
+
}), gr = ({ activeOverlay: s, setActiveOverlay: n, sdkReady: l, className: d }) => /* @__PURE__ */ I(mr, { className: d, children: [
|
|
101
|
+
/* @__PURE__ */ c(sr, { active: s === ce, onClick: () => n(ce) }),
|
|
102
102
|
/* @__PURE__ */ c(
|
|
103
|
-
|
|
103
|
+
lr,
|
|
104
104
|
{
|
|
105
105
|
active: s === ee,
|
|
106
106
|
disabled: !l,
|
|
107
107
|
onClick: () => {
|
|
108
|
-
|
|
108
|
+
n(ee);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
),
|
|
112
112
|
/* @__PURE__ */ c(
|
|
113
|
-
|
|
113
|
+
hr,
|
|
114
114
|
{
|
|
115
115
|
active: s === Ae,
|
|
116
|
-
onClick: () =>
|
|
116
|
+
onClick: () => n(Ae)
|
|
117
117
|
}
|
|
118
118
|
)
|
|
119
|
-
] }),
|
|
120
|
-
[
|
|
121
|
-
[
|
|
122
|
-
[
|
|
123
|
-
[
|
|
124
|
-
[
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
},
|
|
119
|
+
] }), yr = {
|
|
120
|
+
[D.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
121
|
+
[D.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
122
|
+
[D.UNSET]: void 0,
|
|
123
|
+
[D.FACTOID]: { label: "Insight", iconName: "icon-insight" },
|
|
124
|
+
[D.POLL]: { label: "Poll", iconName: "icon-poll" },
|
|
125
|
+
[D.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
126
|
+
[D.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
127
|
+
}, wr = /* @__PURE__ */ h("div")({
|
|
128
128
|
name: "Container",
|
|
129
129
|
class: "c1bgb86j",
|
|
130
130
|
propsAsIs: !1
|
|
131
|
-
}),
|
|
131
|
+
}), Ir = /* @__PURE__ */ h("video")({
|
|
132
132
|
name: "Player",
|
|
133
133
|
class: "p6703cq",
|
|
134
134
|
propsAsIs: !1
|
|
135
|
-
}),
|
|
135
|
+
}), Ar = /* @__PURE__ */ h("img")({
|
|
136
136
|
name: "Poster",
|
|
137
137
|
class: "p12ow7zo",
|
|
138
138
|
propsAsIs: !1
|
|
139
|
-
}),
|
|
139
|
+
}), xr = /* @__PURE__ */ h("div")({
|
|
140
140
|
name: "Control",
|
|
141
141
|
class: "cdpal9o",
|
|
142
142
|
propsAsIs: !1
|
|
143
|
-
}),
|
|
144
|
-
const l =
|
|
145
|
-
return /* @__PURE__ */ I(
|
|
146
|
-
const
|
|
147
|
-
|
|
143
|
+
}), br = ({ poster: s, source: n }) => {
|
|
144
|
+
const l = ht(null), [d, m] = V(!1), [g, f] = V(!0);
|
|
145
|
+
return /* @__PURE__ */ I(wr, { onClick: () => {
|
|
146
|
+
const o = l == null ? void 0 : l.current;
|
|
147
|
+
o && m((w) => w ? (o.pause(), !1) : (o.play(), f(!1), !0));
|
|
148
148
|
}, children: [
|
|
149
149
|
/* @__PURE__ */ c(
|
|
150
|
-
|
|
150
|
+
Ir,
|
|
151
151
|
{
|
|
152
152
|
ref: l,
|
|
153
|
-
src:
|
|
153
|
+
src: n,
|
|
154
154
|
onEnded: () => {
|
|
155
|
-
var
|
|
156
|
-
(
|
|
155
|
+
var o;
|
|
156
|
+
(o = l == null ? void 0 : l.current) == null || o.load(), m(!1), f(!0);
|
|
157
157
|
},
|
|
158
158
|
style: { visibility: g ? "hidden" : "visible" }
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
|
-
/* @__PURE__ */ c(
|
|
162
|
-
/* @__PURE__ */ c(
|
|
161
|
+
/* @__PURE__ */ c(Ar, { src: s, style: { visibility: g ? "visible" : "hidden" } }),
|
|
162
|
+
/* @__PURE__ */ c(xr, { children: !d && /* @__PURE__ */ c(z, { name: "icon-play" }) })
|
|
163
163
|
] });
|
|
164
|
-
},
|
|
164
|
+
}, Er = /* @__PURE__ */ h("div")({
|
|
165
165
|
name: "InsightContainer",
|
|
166
166
|
class: "i1pqqgpo",
|
|
167
167
|
propsAsIs: !1
|
|
168
|
-
}),
|
|
168
|
+
}), Br = /* @__PURE__ */ h("img")({
|
|
169
169
|
name: "Image",
|
|
170
170
|
class: "igj7luu",
|
|
171
171
|
propsAsIs: !1
|
|
172
|
-
}),
|
|
172
|
+
}), vr = /* @__PURE__ */ h("div")({
|
|
173
173
|
name: "InsightContent",
|
|
174
174
|
class: "i1qne9g6",
|
|
175
175
|
propsAsIs: !1
|
|
176
|
-
}),
|
|
176
|
+
}), _r = /* @__PURE__ */ h("h3")({
|
|
177
177
|
name: "Title",
|
|
178
178
|
class: "ttpr98r",
|
|
179
179
|
propsAsIs: !1
|
|
180
|
-
}),
|
|
180
|
+
}), Cr = /* @__PURE__ */ h("div")({
|
|
181
181
|
name: "Description",
|
|
182
182
|
class: "d17iaqp8",
|
|
183
183
|
propsAsIs: !1
|
|
184
|
-
}),
|
|
184
|
+
}), Tr = /* @__PURE__ */ h("button")({
|
|
185
185
|
name: "ActionBtn",
|
|
186
186
|
class: "a16t3y7s",
|
|
187
187
|
propsAsIs: !1
|
|
188
|
-
}),
|
|
188
|
+
}), Fr = ({
|
|
189
189
|
video: s,
|
|
190
|
-
image:
|
|
190
|
+
image: n,
|
|
191
191
|
heading: l,
|
|
192
192
|
body: d,
|
|
193
193
|
action: m
|
|
194
|
-
}) => /* @__PURE__ */ I(
|
|
195
|
-
(s == null ? void 0 : s.url) && /* @__PURE__ */ c(
|
|
196
|
-
|
|
197
|
-
/* @__PURE__ */ I(
|
|
198
|
-
/* @__PURE__ */ c(
|
|
199
|
-
/* @__PURE__ */ c(
|
|
200
|
-
m && /* @__PURE__ */ c(
|
|
194
|
+
}) => /* @__PURE__ */ I(Er, { children: [
|
|
195
|
+
(s == null ? void 0 : s.url) && /* @__PURE__ */ c(br, { source: s.url, poster: s.thumbnailUrl }),
|
|
196
|
+
n && /* @__PURE__ */ c(Br, { src: n }),
|
|
197
|
+
/* @__PURE__ */ I(vr, { children: [
|
|
198
|
+
/* @__PURE__ */ c(_r, { children: l }),
|
|
199
|
+
/* @__PURE__ */ c(Cr, { children: d }),
|
|
200
|
+
m && /* @__PURE__ */ c(Tr, { onClick: m, children: "View Insight" })
|
|
201
201
|
] })
|
|
202
202
|
] }), ne = /* @__PURE__ */ h("div")({
|
|
203
203
|
name: "BGWrap",
|
|
204
204
|
class: "b1dqe0sz",
|
|
205
205
|
propsAsIs: !1
|
|
206
|
-
}),
|
|
206
|
+
}), P = /* @__PURE__ */ h("div")({
|
|
207
207
|
name: "BGLineBase",
|
|
208
208
|
class: "b1v6w7ni",
|
|
209
209
|
propsAsIs: !1
|
|
210
|
-
}),
|
|
210
|
+
}), $r = () => P, kr = /* @__PURE__ */ h($r())({
|
|
211
211
|
name: "BGOneLineOne",
|
|
212
212
|
class: "b2nqb1p",
|
|
213
213
|
propsAsIs: !0
|
|
214
|
-
}),
|
|
214
|
+
}), Sr = () => P, Lr = /* @__PURE__ */ h(Sr())({
|
|
215
215
|
name: "BGOneLineTwo",
|
|
216
216
|
class: "b1xxgmbk",
|
|
217
217
|
propsAsIs: !0
|
|
218
|
-
}),
|
|
218
|
+
}), Nr = () => P, Rr = /* @__PURE__ */ h(Nr())({
|
|
219
219
|
name: "BGOneLineThree",
|
|
220
220
|
class: "b63lwcb",
|
|
221
221
|
propsAsIs: !0
|
|
222
|
-
}),
|
|
222
|
+
}), Ur = () => P, Ke = /* @__PURE__ */ h(Ur())({
|
|
223
223
|
name: "BGTwoLineOne",
|
|
224
224
|
class: "b2iah4",
|
|
225
225
|
propsAsIs: !0
|
|
226
|
-
}),
|
|
226
|
+
}), zr = () => P, Xe = /* @__PURE__ */ h(zr())({
|
|
227
227
|
name: "BGTwoLineTwo",
|
|
228
228
|
class: "b1xezvf6",
|
|
229
229
|
propsAsIs: !0
|
|
230
|
-
}),
|
|
230
|
+
}), Or = () => P, Je = /* @__PURE__ */ h(Or())({
|
|
231
231
|
name: "BGTwoLineThree",
|
|
232
232
|
class: "b1jz1hg0",
|
|
233
233
|
propsAsIs: !0
|
|
234
|
-
}),
|
|
234
|
+
}), Dr = () => P, Ze = /* @__PURE__ */ h(Dr())({
|
|
235
235
|
name: "BGThreeLineOne",
|
|
236
236
|
class: "b18ho1tk",
|
|
237
237
|
propsAsIs: !0
|
|
238
|
-
}),
|
|
238
|
+
}), Pr = () => P, et = /* @__PURE__ */ h(Pr())({
|
|
239
239
|
name: "BGThreeLineTwo",
|
|
240
240
|
class: "b14uvjfm",
|
|
241
241
|
propsAsIs: !0
|
|
242
|
-
}),
|
|
242
|
+
}), Mr = () => P, tt = /* @__PURE__ */ h(Mr())({
|
|
243
243
|
name: "BGThreeLineThree",
|
|
244
244
|
class: "b11c3ns7",
|
|
245
245
|
propsAsIs: !0
|
|
246
|
-
}),
|
|
246
|
+
}), qr = () => P, rt = /* @__PURE__ */ h(qr())({
|
|
247
247
|
name: "BGThreeLineFour",
|
|
248
248
|
class: "b1bqhhet",
|
|
249
249
|
propsAsIs: !0
|
|
250
|
-
}),
|
|
250
|
+
}), jr = () => P, Gr = /* @__PURE__ */ h(jr())({
|
|
251
251
|
name: "BGFourLineOne",
|
|
252
252
|
class: "b1xyzi7o",
|
|
253
253
|
propsAsIs: !0
|
|
254
|
-
}),
|
|
254
|
+
}), Wr = () => P, Hr = /* @__PURE__ */ h(Wr())({
|
|
255
255
|
name: "BGFourLineTwo",
|
|
256
256
|
class: "byo0rup",
|
|
257
257
|
propsAsIs: !0
|
|
258
|
-
}),
|
|
258
|
+
}), Yr = () => P, Vr = /* @__PURE__ */ h(Yr())({
|
|
259
259
|
name: "BGFourLineThree",
|
|
260
260
|
class: "b1oyiqgv",
|
|
261
261
|
propsAsIs: !0
|
|
262
|
-
}),
|
|
262
|
+
}), Qr = () => P, Kr = /* @__PURE__ */ h(Qr())({
|
|
263
263
|
name: "BGFourLineFour",
|
|
264
264
|
class: "bx3ddqw",
|
|
265
265
|
propsAsIs: !0
|
|
266
|
-
}),
|
|
266
|
+
}), Xr = ({ step: s, correct: n }) => /* @__PURE__ */ I(me, { children: [
|
|
267
267
|
/* @__PURE__ */ I(ne, { "data-active": s === 1, "data-first-screen": "true", children: [
|
|
268
|
-
/* @__PURE__ */ c(
|
|
269
|
-
/* @__PURE__ */ c(
|
|
270
|
-
/* @__PURE__ */ c(
|
|
268
|
+
/* @__PURE__ */ c(kr, {}),
|
|
269
|
+
/* @__PURE__ */ c(Lr, {}),
|
|
270
|
+
/* @__PURE__ */ c(Rr, {})
|
|
271
271
|
] }),
|
|
272
272
|
/* @__PURE__ */ I(ne, { "data-active": s === 2, children: [
|
|
273
|
+
/* @__PURE__ */ c(Ke, {}),
|
|
273
274
|
/* @__PURE__ */ c(Xe, {}),
|
|
274
|
-
/* @__PURE__ */ c(Je, {})
|
|
275
|
-
/* @__PURE__ */ c(Ze, {})
|
|
275
|
+
/* @__PURE__ */ c(Je, {})
|
|
276
276
|
] }),
|
|
277
277
|
/* @__PURE__ */ I(ne, { "data-active": s === 3, children: [
|
|
278
|
+
/* @__PURE__ */ c(Ke, {}),
|
|
278
279
|
/* @__PURE__ */ c(Xe, {}),
|
|
279
|
-
/* @__PURE__ */ c(Je, {})
|
|
280
|
-
/* @__PURE__ */ c(Ze, {})
|
|
280
|
+
/* @__PURE__ */ c(Je, {})
|
|
281
281
|
] }),
|
|
282
|
-
|
|
282
|
+
n ? /* @__PURE__ */ I(me, { children: [
|
|
283
283
|
/* @__PURE__ */ I(ne, { "data-active": s === 4, "data-correct": "false", children: [
|
|
284
|
+
/* @__PURE__ */ c(Ze, {}),
|
|
284
285
|
/* @__PURE__ */ c(et, {}),
|
|
285
286
|
/* @__PURE__ */ c(tt, {}),
|
|
286
|
-
/* @__PURE__ */ c(rt, {})
|
|
287
|
-
/* @__PURE__ */ c(it, {})
|
|
287
|
+
/* @__PURE__ */ c(rt, {})
|
|
288
288
|
] }),
|
|
289
289
|
/* @__PURE__ */ I(ne, { "data-active": s === 5, "data-correct": "false", "data-last-screen": "true", children: [
|
|
290
|
+
/* @__PURE__ */ c(Ze, {}),
|
|
290
291
|
/* @__PURE__ */ c(et, {}),
|
|
291
292
|
/* @__PURE__ */ c(tt, {}),
|
|
292
|
-
/* @__PURE__ */ c(rt, {})
|
|
293
|
-
/* @__PURE__ */ c(it, {})
|
|
293
|
+
/* @__PURE__ */ c(rt, {})
|
|
294
294
|
] })
|
|
295
295
|
] }) : /* @__PURE__ */ I(ne, { "data-active": s === 4, "data-correct": "false", "data-last-screen": "true", children: [
|
|
296
|
-
/* @__PURE__ */ c(
|
|
297
|
-
/* @__PURE__ */ c(
|
|
298
|
-
/* @__PURE__ */ c(
|
|
299
|
-
/* @__PURE__ */ c(
|
|
296
|
+
/* @__PURE__ */ c(Gr, {}),
|
|
297
|
+
/* @__PURE__ */ c(Hr, {}),
|
|
298
|
+
/* @__PURE__ */ c(Vr, {}),
|
|
299
|
+
/* @__PURE__ */ c(Kr, {})
|
|
300
300
|
] })
|
|
301
|
-
] }),
|
|
301
|
+
] }), Jr = /* @__PURE__ */ h("div")({
|
|
302
302
|
name: "Container",
|
|
303
303
|
class: "c10131zw",
|
|
304
304
|
propsAsIs: !1
|
|
305
|
-
}),
|
|
305
|
+
}), Zr = /* @__PURE__ */ h("div")({
|
|
306
306
|
name: "AnimateContent",
|
|
307
307
|
class: "ar6k2eo",
|
|
308
308
|
propsAsIs: !1
|
|
@@ -318,54 +318,54 @@ const Jt = ({ feature: s, sdk: o, children: l, className: d }) => {
|
|
|
318
318
|
name: "Subtitle",
|
|
319
319
|
class: "s1pjil1h",
|
|
320
320
|
propsAsIs: !1
|
|
321
|
-
}),
|
|
321
|
+
}), ei = () => fe, it = /* @__PURE__ */ h(ei())({
|
|
322
322
|
name: "SubtitleFG",
|
|
323
323
|
class: "s1iorwr9",
|
|
324
324
|
propsAsIs: !0
|
|
325
|
-
}),
|
|
325
|
+
}), ye = /* @__PURE__ */ h("div")({
|
|
326
326
|
name: "AnswerText",
|
|
327
327
|
class: "a51sv9d",
|
|
328
328
|
propsAsIs: !1
|
|
329
|
-
}),
|
|
329
|
+
}), ti = () => z, ve = /* @__PURE__ */ h(ti())({
|
|
330
330
|
name: "FeedbackIcon",
|
|
331
331
|
class: "f1lbk2ye",
|
|
332
332
|
propsAsIs: !0
|
|
333
|
-
}),
|
|
333
|
+
}), nt = /* @__PURE__ */ h("button")({
|
|
334
334
|
name: "CloseButton",
|
|
335
335
|
class: "crcvk3t",
|
|
336
336
|
propsAsIs: !1
|
|
337
|
-
}),
|
|
337
|
+
}), ri = () => z, st = /* @__PURE__ */ h(ri())({
|
|
338
338
|
name: "CloseIcon",
|
|
339
339
|
class: "c33p82r",
|
|
340
340
|
propsAsIs: !0
|
|
341
|
-
}),
|
|
341
|
+
}), ii = ({
|
|
342
342
|
close: s,
|
|
343
|
-
votedAnswer:
|
|
343
|
+
votedAnswer: n,
|
|
344
344
|
correct: l,
|
|
345
345
|
correctAnswerTitle: d
|
|
346
346
|
}) => {
|
|
347
|
-
const [m, g] =
|
|
347
|
+
const [m, g] = V(1);
|
|
348
348
|
return he(() => {
|
|
349
349
|
const f = setInterval(() => {
|
|
350
|
-
g((
|
|
350
|
+
g((o) => l && o > 4 || !l && o > 3 ? o : ++o);
|
|
351
351
|
}, 6e3);
|
|
352
352
|
return () => clearInterval(f);
|
|
353
|
-
}, [l]), /* @__PURE__ */ I(
|
|
354
|
-
/* @__PURE__ */ c(
|
|
355
|
-
/* @__PURE__ */ I(
|
|
353
|
+
}, [l]), /* @__PURE__ */ I(Jr, { "data-bg-color-white": m > 3, children: [
|
|
354
|
+
/* @__PURE__ */ c(Xr, { step: m, correct: l }),
|
|
355
|
+
/* @__PURE__ */ I(Zr, { "data-active-number": m, children: [
|
|
356
356
|
/* @__PURE__ */ I(se, { children: [
|
|
357
357
|
/* @__PURE__ */ c(oe, { children: "Master" }),
|
|
358
|
-
/* @__PURE__ */ c(
|
|
358
|
+
/* @__PURE__ */ c(it, { children: "FEATURED GROUPS +" })
|
|
359
359
|
] }),
|
|
360
360
|
/* @__PURE__ */ I(se, { children: [
|
|
361
361
|
/* @__PURE__ */ c(oe, { children: "Prediction results are in!" }),
|
|
362
|
-
/* @__PURE__ */ c(
|
|
362
|
+
/* @__PURE__ */ c(it, { children: "FEATURED GROUPS +" })
|
|
363
363
|
] }),
|
|
364
364
|
/* @__PURE__ */ I(se, { children: [
|
|
365
365
|
/* @__PURE__ */ c(oe, { children: "Who holds the most birdies in golf?" }),
|
|
366
366
|
/* @__PURE__ */ I(fe, { children: [
|
|
367
367
|
"Your Pick: ",
|
|
368
|
-
/* @__PURE__ */ c(
|
|
368
|
+
/* @__PURE__ */ c(ye, { children: n == null ? void 0 : n.title })
|
|
369
369
|
] })
|
|
370
370
|
] }),
|
|
371
371
|
l ? /* @__PURE__ */ I(me, { children: [
|
|
@@ -374,24 +374,24 @@ const Jt = ({ feature: s, sdk: o, children: l, className: d }) => {
|
|
|
374
374
|
/* @__PURE__ */ I(fe, { children: [
|
|
375
375
|
/* @__PURE__ */ c(ve, { name: "selected" }),
|
|
376
376
|
"Your Pick: ",
|
|
377
|
-
/* @__PURE__ */ c(
|
|
377
|
+
/* @__PURE__ */ c(ye, { children: n == null ? void 0 : n.title })
|
|
378
378
|
] })
|
|
379
379
|
] }),
|
|
380
380
|
/* @__PURE__ */ I(se, { "data-color-green": "true", children: [
|
|
381
|
-
/* @__PURE__ */ c(
|
|
381
|
+
/* @__PURE__ */ c(nt, { onClick: s, children: /* @__PURE__ */ c(st, { name: "icon-cross" }) }),
|
|
382
382
|
/* @__PURE__ */ I(oe, { children: [
|
|
383
383
|
"+",
|
|
384
|
-
|
|
384
|
+
n == null ? void 0 : n.points,
|
|
385
385
|
" points"
|
|
386
386
|
] }),
|
|
387
387
|
/* @__PURE__ */ I(fe, { children: [
|
|
388
388
|
/* @__PURE__ */ c(ve, { name: "selected" }),
|
|
389
389
|
"Your Pick: ",
|
|
390
|
-
/* @__PURE__ */ c(
|
|
390
|
+
/* @__PURE__ */ c(ye, { children: n == null ? void 0 : n.title })
|
|
391
391
|
] })
|
|
392
392
|
] })
|
|
393
393
|
] }) : /* @__PURE__ */ I(se, { children: [
|
|
394
|
-
/* @__PURE__ */ c(
|
|
394
|
+
/* @__PURE__ */ c(nt, { onClick: s, children: /* @__PURE__ */ c(st, { name: "icon-cross" }) }),
|
|
395
395
|
/* @__PURE__ */ I(oe, { "data-incorrect": "true", children: [
|
|
396
396
|
"Better luck next time! Correct: ",
|
|
397
397
|
d,
|
|
@@ -400,32 +400,32 @@ const Jt = ({ feature: s, sdk: o, children: l, className: d }) => {
|
|
|
400
400
|
/* @__PURE__ */ I(fe, { "data-incorrect": "true", children: [
|
|
401
401
|
/* @__PURE__ */ c(ve, { name: "circleClose" }),
|
|
402
402
|
"Your Pick: ",
|
|
403
|
-
/* @__PURE__ */ c(
|
|
403
|
+
/* @__PURE__ */ c(ye, { children: n == null ? void 0 : n.title })
|
|
404
404
|
] })
|
|
405
405
|
] })
|
|
406
406
|
] })
|
|
407
407
|
] });
|
|
408
|
-
},
|
|
408
|
+
}, ni = /* @__PURE__ */ h("div")({
|
|
409
409
|
name: "Container",
|
|
410
410
|
class: "c1eptrjd",
|
|
411
411
|
propsAsIs: !1
|
|
412
|
-
}),
|
|
412
|
+
}), si = /* @__PURE__ */ h("div")({
|
|
413
413
|
name: "CloseIconWrap",
|
|
414
414
|
class: "crylm65",
|
|
415
415
|
propsAsIs: !1
|
|
416
|
-
}),
|
|
416
|
+
}), oi = () => z, ai = /* @__PURE__ */ h(oi())({
|
|
417
417
|
name: "CloseIcon",
|
|
418
418
|
class: "c9mrcz7",
|
|
419
419
|
propsAsIs: !0
|
|
420
|
-
}),
|
|
420
|
+
}), li = /* @__PURE__ */ h("div")({
|
|
421
421
|
name: "Header",
|
|
422
422
|
class: "hw3lzv4",
|
|
423
423
|
propsAsIs: !1
|
|
424
|
-
}),
|
|
424
|
+
}), ci = () => z, ui = /* @__PURE__ */ h(ci())({
|
|
425
425
|
name: "TypeIcon",
|
|
426
426
|
class: "t1rrb3kf",
|
|
427
427
|
propsAsIs: !0
|
|
428
|
-
}),
|
|
428
|
+
}), hi = /* @__PURE__ */ h("span")({
|
|
429
429
|
name: "TypeName",
|
|
430
430
|
class: "t1ydnjov",
|
|
431
431
|
propsAsIs: !1
|
|
@@ -433,164 +433,171 @@ const Jt = ({ feature: s, sdk: o, children: l, className: d }) => {
|
|
|
433
433
|
name: "Question",
|
|
434
434
|
class: "qlf90cl",
|
|
435
435
|
propsAsIs: !1
|
|
436
|
-
}),
|
|
436
|
+
}), di = /* @__PURE__ */ h("button")({
|
|
437
437
|
name: "AnswerButton",
|
|
438
438
|
class: "a1e0nhcl",
|
|
439
439
|
propsAsIs: !1
|
|
440
|
-
}),
|
|
440
|
+
}), fi = /* @__PURE__ */ h("div")({
|
|
441
441
|
name: "Container",
|
|
442
442
|
class: "cjq447q",
|
|
443
443
|
propsAsIs: !1
|
|
444
|
-
}),
|
|
444
|
+
}), mi = /* @__PURE__ */ h("div")({
|
|
445
445
|
name: "ImageContainer",
|
|
446
446
|
class: "i14egogb",
|
|
447
447
|
propsAsIs: !1
|
|
448
|
-
}),
|
|
448
|
+
}), gi = /* @__PURE__ */ h("img")({
|
|
449
449
|
name: "Image",
|
|
450
450
|
class: "i2g9g4l",
|
|
451
451
|
propsAsIs: !1
|
|
452
|
-
}),
|
|
452
|
+
}), yi = /* @__PURE__ */ h("div")({
|
|
453
453
|
name: "Details",
|
|
454
454
|
class: "d1c454nm",
|
|
455
455
|
propsAsIs: !1
|
|
456
|
-
}),
|
|
456
|
+
}), wi = /* @__PURE__ */ h("div")({
|
|
457
457
|
name: "Name",
|
|
458
458
|
class: "n11nigc3",
|
|
459
459
|
propsAsIs: !1
|
|
460
|
-
}),
|
|
460
|
+
}), Ii = /* @__PURE__ */ h("div")({
|
|
461
461
|
name: "UserName",
|
|
462
462
|
class: "urxa4k8",
|
|
463
463
|
propsAsIs: !1
|
|
464
|
-
}),
|
|
465
|
-
/* @__PURE__ */ c(
|
|
466
|
-
/* @__PURE__ */ I(
|
|
467
|
-
/* @__PURE__ */ I(
|
|
468
|
-
|
|
464
|
+
}), Ai = ({ image: s, name: n, userName: l, verified: d }) => /* @__PURE__ */ I(fi, { children: [
|
|
465
|
+
/* @__PURE__ */ c(mi, { children: /* @__PURE__ */ c(gi, { src: s }) }),
|
|
466
|
+
/* @__PURE__ */ I(yi, { children: [
|
|
467
|
+
/* @__PURE__ */ I(wi, { children: [
|
|
468
|
+
n,
|
|
469
469
|
" ",
|
|
470
470
|
d && /* @__PURE__ */ c(z, { name: "icon-twitter-verified" })
|
|
471
471
|
] }),
|
|
472
|
-
/* @__PURE__ */ c(
|
|
472
|
+
/* @__PURE__ */ c(Ii, { children: l })
|
|
473
473
|
] })
|
|
474
|
-
] }),
|
|
474
|
+
] }), xi = /* @__PURE__ */ h("div")({
|
|
475
475
|
name: "Container",
|
|
476
476
|
class: "c1t4f0x4",
|
|
477
477
|
propsAsIs: !1
|
|
478
|
-
}),
|
|
478
|
+
}), bi = /* @__PURE__ */ h("button")({
|
|
479
479
|
name: "ActionBtn",
|
|
480
480
|
class: "a16w1nl6",
|
|
481
481
|
propsAsIs: !1
|
|
482
|
-
}),
|
|
482
|
+
}), Ei = /* @__PURE__ */ h("div")({
|
|
483
483
|
name: "Body",
|
|
484
484
|
class: "b14u54rf",
|
|
485
485
|
propsAsIs: !1
|
|
486
|
-
}),
|
|
486
|
+
}), Bi = /* @__PURE__ */ h("img")({
|
|
487
487
|
name: "Image",
|
|
488
488
|
class: "i1hxm6zo",
|
|
489
489
|
propsAsIs: !1
|
|
490
|
-
}),
|
|
490
|
+
}), vi = /* @__PURE__ */ h("div")({
|
|
491
491
|
name: "Details",
|
|
492
492
|
class: "d1s19yop",
|
|
493
493
|
propsAsIs: !1
|
|
494
|
-
}),
|
|
494
|
+
}), _i = /* @__PURE__ */ h("div")({
|
|
495
495
|
name: "QuoteWrap",
|
|
496
496
|
class: "q1qyx94r",
|
|
497
497
|
propsAsIs: !1
|
|
498
|
-
}),
|
|
498
|
+
}), Ci = /* @__PURE__ */ h("blockquote")({
|
|
499
499
|
name: "Quote",
|
|
500
500
|
class: "qs97clu",
|
|
501
501
|
propsAsIs: !1
|
|
502
|
-
}),
|
|
502
|
+
}), Ti = ({
|
|
503
503
|
account: s,
|
|
504
|
-
body:
|
|
504
|
+
body: n,
|
|
505
505
|
image: l,
|
|
506
506
|
title: d,
|
|
507
507
|
action: m
|
|
508
|
-
}) => /* @__PURE__ */ I(
|
|
509
|
-
/* @__PURE__ */ c(
|
|
510
|
-
/* @__PURE__ */ I(
|
|
511
|
-
/* @__PURE__ */ c(
|
|
512
|
-
/* @__PURE__ */ c(
|
|
513
|
-
l && /* @__PURE__ */ c(
|
|
508
|
+
}) => /* @__PURE__ */ I(xi, { children: [
|
|
509
|
+
/* @__PURE__ */ c(_i, { children: /* @__PURE__ */ c(Ci, { children: d }) }),
|
|
510
|
+
/* @__PURE__ */ I(vi, { children: [
|
|
511
|
+
/* @__PURE__ */ c(Ai, { ...s }),
|
|
512
|
+
/* @__PURE__ */ c(Ei, { children: n }),
|
|
513
|
+
l && /* @__PURE__ */ c(Bi, { src: l })
|
|
514
514
|
] }),
|
|
515
|
-
m && /* @__PURE__ */ c(
|
|
516
|
-
] }),
|
|
515
|
+
m && /* @__PURE__ */ c(bi, { onClick: m, children: "View Tweet" })
|
|
516
|
+
] }), ot = ({
|
|
517
517
|
close: s,
|
|
518
|
-
action:
|
|
518
|
+
action: n,
|
|
519
519
|
data: { questionType: l, question: d, insight: m, tweet: g }
|
|
520
520
|
}) => {
|
|
521
|
-
const f =
|
|
522
|
-
return f ? d != null && d.predictionResult ? /* @__PURE__ */ c(
|
|
523
|
-
/* @__PURE__ */ c(
|
|
524
|
-
l !==
|
|
525
|
-
/* @__PURE__ */ c(
|
|
526
|
-
|
|
521
|
+
const f = yr[l];
|
|
522
|
+
return f ? d != null && d.predictionResult ? /* @__PURE__ */ c(ii, { close: s, ...d }) : /* @__PURE__ */ I(ni, { children: [
|
|
523
|
+
/* @__PURE__ */ c(si, { onClick: s, children: /* @__PURE__ */ c(ai, { name: "icon-cross" }) }),
|
|
524
|
+
l !== D.TWEET && /* @__PURE__ */ I(li, { children: [
|
|
525
|
+
/* @__PURE__ */ c(
|
|
526
|
+
ui,
|
|
527
|
+
{
|
|
528
|
+
"data-type-trivia": l === D.TRIVIA,
|
|
529
|
+
"data-type-poll": l === D.POLL,
|
|
530
|
+
name: f.iconName
|
|
531
|
+
}
|
|
532
|
+
),
|
|
533
|
+
/* @__PURE__ */ c(hi, { children: f.label })
|
|
527
534
|
] }),
|
|
528
|
-
l ===
|
|
529
|
-
l ===
|
|
535
|
+
l === D.FACTOID && /* @__PURE__ */ c(Fr, { ...m, action: n }),
|
|
536
|
+
l === D.TWEET && // ToDo: connect with real Api data
|
|
530
537
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
531
538
|
// @ts-ignore
|
|
532
|
-
/* @__PURE__ */ c(
|
|
533
|
-
l !==
|
|
539
|
+
/* @__PURE__ */ c(Ti, { ...g, action: n }),
|
|
540
|
+
l !== D.FACTOID && l !== D.TWEET && /* @__PURE__ */ I(me, { children: [
|
|
534
541
|
/* @__PURE__ */ c(pi, { children: d == null ? void 0 : d.title }),
|
|
535
|
-
/* @__PURE__ */ c(
|
|
542
|
+
/* @__PURE__ */ c(di, { onClick: n, children: "Answer" })
|
|
536
543
|
] })
|
|
537
544
|
] }) : null;
|
|
538
545
|
};
|
|
539
|
-
var
|
|
540
|
-
xe.byteLength =
|
|
541
|
-
xe.toByteArray =
|
|
542
|
-
xe.fromByteArray =
|
|
543
|
-
var Y = [],
|
|
544
|
-
for (var ae = 0,
|
|
545
|
-
Y[ae] = _e[ae],
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
function
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
546
|
+
var dt = {}, ft = {}, xe = {};
|
|
547
|
+
xe.byteLength = ki;
|
|
548
|
+
xe.toByteArray = Li;
|
|
549
|
+
xe.fromByteArray = Ui;
|
|
550
|
+
var Y = [], q = [], Fi = typeof Uint8Array < "u" ? Uint8Array : Array, _e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
551
|
+
for (var ae = 0, $i = _e.length; ae < $i; ++ae)
|
|
552
|
+
Y[ae] = _e[ae], q[_e.charCodeAt(ae)] = ae;
|
|
553
|
+
q["-".charCodeAt(0)] = 62;
|
|
554
|
+
q["_".charCodeAt(0)] = 63;
|
|
555
|
+
function mt(s) {
|
|
556
|
+
var n = s.length;
|
|
557
|
+
if (n % 4 > 0)
|
|
551
558
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
552
559
|
var l = s.indexOf("=");
|
|
553
|
-
l === -1 && (l =
|
|
554
|
-
var d = l ===
|
|
560
|
+
l === -1 && (l = n);
|
|
561
|
+
var d = l === n ? 0 : 4 - l % 4;
|
|
555
562
|
return [l, d];
|
|
556
563
|
}
|
|
557
|
-
function
|
|
558
|
-
var
|
|
564
|
+
function ki(s) {
|
|
565
|
+
var n = mt(s), l = n[0], d = n[1];
|
|
559
566
|
return (l + d) * 3 / 4 - d;
|
|
560
567
|
}
|
|
561
|
-
function
|
|
562
|
-
return (
|
|
568
|
+
function Si(s, n, l) {
|
|
569
|
+
return (n + l) * 3 / 4 - l;
|
|
563
570
|
}
|
|
564
|
-
function
|
|
565
|
-
var
|
|
566
|
-
for (w = 0; w <
|
|
567
|
-
|
|
568
|
-
return m === 2 && (
|
|
571
|
+
function Li(s) {
|
|
572
|
+
var n, l = mt(s), d = l[0], m = l[1], g = new Fi(Si(s, d, m)), f = 0, o = m > 0 ? d - 4 : d, w;
|
|
573
|
+
for (w = 0; w < o; w += 4)
|
|
574
|
+
n = q[s.charCodeAt(w)] << 18 | q[s.charCodeAt(w + 1)] << 12 | q[s.charCodeAt(w + 2)] << 6 | q[s.charCodeAt(w + 3)], g[f++] = n >> 16 & 255, g[f++] = n >> 8 & 255, g[f++] = n & 255;
|
|
575
|
+
return m === 2 && (n = q[s.charCodeAt(w)] << 2 | q[s.charCodeAt(w + 1)] >> 4, g[f++] = n & 255), m === 1 && (n = q[s.charCodeAt(w)] << 10 | q[s.charCodeAt(w + 1)] << 4 | q[s.charCodeAt(w + 2)] >> 2, g[f++] = n >> 8 & 255, g[f++] = n & 255), g;
|
|
569
576
|
}
|
|
570
|
-
function
|
|
577
|
+
function Ni(s) {
|
|
571
578
|
return Y[s >> 18 & 63] + Y[s >> 12 & 63] + Y[s >> 6 & 63] + Y[s & 63];
|
|
572
579
|
}
|
|
573
|
-
function
|
|
574
|
-
for (var d, m = [], g =
|
|
575
|
-
d = (s[g] << 16 & 16711680) + (s[g + 1] << 8 & 65280) + (s[g + 2] & 255), m.push(
|
|
580
|
+
function Ri(s, n, l) {
|
|
581
|
+
for (var d, m = [], g = n; g < l; g += 3)
|
|
582
|
+
d = (s[g] << 16 & 16711680) + (s[g + 1] << 8 & 65280) + (s[g + 2] & 255), m.push(Ni(d));
|
|
576
583
|
return m.join("");
|
|
577
584
|
}
|
|
578
|
-
function
|
|
579
|
-
for (var
|
|
580
|
-
m.push(
|
|
581
|
-
return d === 1 ? (
|
|
582
|
-
Y[
|
|
583
|
-
)) : d === 2 && (
|
|
584
|
-
Y[
|
|
585
|
+
function Ui(s) {
|
|
586
|
+
for (var n, l = s.length, d = l % 3, m = [], g = 16383, f = 0, o = l - d; f < o; f += g)
|
|
587
|
+
m.push(Ri(s, f, f + g > o ? o : f + g));
|
|
588
|
+
return d === 1 ? (n = s[l - 1], m.push(
|
|
589
|
+
Y[n >> 2] + Y[n << 4 & 63] + "=="
|
|
590
|
+
)) : d === 2 && (n = (s[l - 2] << 8) + s[l - 1], m.push(
|
|
591
|
+
Y[n >> 10] + Y[n >> 4 & 63] + Y[n << 2 & 63] + "="
|
|
585
592
|
)), m.join("");
|
|
586
593
|
}
|
|
587
|
-
var
|
|
594
|
+
var Ue = {};
|
|
588
595
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
589
|
-
|
|
590
|
-
var g, f,
|
|
591
|
-
for (C += y, g = A & (1 << -E) - 1, A >>= -E, E +=
|
|
596
|
+
Ue.read = function(s, n, l, d, m) {
|
|
597
|
+
var g, f, o = m * 8 - d - 1, w = (1 << o) - 1, v = w >> 1, E = -7, C = l ? m - 1 : 0, y = l ? -1 : 1, A = s[n + C];
|
|
598
|
+
for (C += y, g = A & (1 << -E) - 1, A >>= -E, E += o; E > 0; g = g * 256 + s[n + C], C += y, E -= 8)
|
|
592
599
|
;
|
|
593
|
-
for (f = g & (1 << -E) - 1, g >>= -E, E += d; E > 0; f = f * 256 + s[
|
|
600
|
+
for (f = g & (1 << -E) - 1, g >>= -E, E += d; E > 0; f = f * 256 + s[n + C], C += y, E -= 8)
|
|
594
601
|
;
|
|
595
602
|
if (g === 0)
|
|
596
603
|
g = 1 - v;
|
|
@@ -601,11 +608,11 @@ ze.read = function(s, o, l, d, m) {
|
|
|
601
608
|
}
|
|
602
609
|
return (A ? -1 : 1) * f * Math.pow(2, g - d);
|
|
603
610
|
};
|
|
604
|
-
|
|
605
|
-
var f,
|
|
606
|
-
for (
|
|
611
|
+
Ue.write = function(s, n, l, d, m, g) {
|
|
612
|
+
var f, o, w, v = g * 8 - m - 1, E = (1 << v) - 1, C = E >> 1, y = m === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, A = d ? 0 : g - 1, x = d ? 1 : -1, B = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
|
|
613
|
+
for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (o = isNaN(n) ? 1 : 0, f = E) : (f = Math.floor(Math.log(n) / Math.LN2), n * (w = Math.pow(2, -f)) < 1 && (f--, w *= 2), f + C >= 1 ? n += y / w : n += y * Math.pow(2, 1 - C), n * w >= 2 && (f++, w /= 2), f + C >= E ? (o = 0, f = E) : f + C >= 1 ? (o = (n * w - 1) * Math.pow(2, m), f = f + C) : (o = n * Math.pow(2, C - 1) * Math.pow(2, m), f = 0)); m >= 8; s[l + A] = o & 255, A += x, o /= 256, m -= 8)
|
|
607
614
|
;
|
|
608
|
-
for (f = f << m |
|
|
615
|
+
for (f = f << m | o, v += m; v > 0; s[l + A] = f & 255, A += x, f /= 256, v -= 8)
|
|
609
616
|
;
|
|
610
617
|
s[l + A - x] |= B * 128;
|
|
611
618
|
};
|
|
@@ -616,10 +623,10 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
616
623
|
* @license MIT
|
|
617
624
|
*/
|
|
618
625
|
(function(s) {
|
|
619
|
-
const
|
|
620
|
-
s.Buffer =
|
|
626
|
+
const n = xe, l = Ue, d = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
627
|
+
s.Buffer = o, s.SlowBuffer = F, s.INSPECT_MAX_BYTES = 50;
|
|
621
628
|
const m = 2147483647;
|
|
622
|
-
s.kMaxLength = m,
|
|
629
|
+
s.kMaxLength = m, o.TYPED_ARRAY_SUPPORT = g(), !o.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
623
630
|
"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
|
|
624
631
|
);
|
|
625
632
|
function g() {
|
|
@@ -632,16 +639,16 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
632
639
|
return !1;
|
|
633
640
|
}
|
|
634
641
|
}
|
|
635
|
-
Object.defineProperty(
|
|
642
|
+
Object.defineProperty(o.prototype, "parent", {
|
|
636
643
|
enumerable: !0,
|
|
637
644
|
get: function() {
|
|
638
|
-
if (
|
|
645
|
+
if (o.isBuffer(this))
|
|
639
646
|
return this.buffer;
|
|
640
647
|
}
|
|
641
|
-
}), Object.defineProperty(
|
|
648
|
+
}), Object.defineProperty(o.prototype, "offset", {
|
|
642
649
|
enumerable: !0,
|
|
643
650
|
get: function() {
|
|
644
|
-
if (
|
|
651
|
+
if (o.isBuffer(this))
|
|
645
652
|
return this.byteOffset;
|
|
646
653
|
}
|
|
647
654
|
});
|
|
@@ -649,9 +656,9 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
649
656
|
if (r > m)
|
|
650
657
|
throw new RangeError('The value "' + r + '" is invalid for option "size"');
|
|
651
658
|
const e = new Uint8Array(r);
|
|
652
|
-
return Object.setPrototypeOf(e,
|
|
659
|
+
return Object.setPrototypeOf(e, o.prototype), e;
|
|
653
660
|
}
|
|
654
|
-
function
|
|
661
|
+
function o(r, e, t) {
|
|
655
662
|
if (typeof r == "number") {
|
|
656
663
|
if (typeof e == "string")
|
|
657
664
|
throw new TypeError(
|
|
@@ -661,7 +668,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
661
668
|
}
|
|
662
669
|
return w(r, e, t);
|
|
663
670
|
}
|
|
664
|
-
|
|
671
|
+
o.poolSize = 8192;
|
|
665
672
|
function w(r, e, t) {
|
|
666
673
|
if (typeof r == "string")
|
|
667
674
|
return y(r, e);
|
|
@@ -679,19 +686,19 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
679
686
|
);
|
|
680
687
|
const i = r.valueOf && r.valueOf();
|
|
681
688
|
if (i != null && i !== r)
|
|
682
|
-
return
|
|
689
|
+
return o.from(i, e, t);
|
|
683
690
|
const a = N(r);
|
|
684
691
|
if (a)
|
|
685
692
|
return a;
|
|
686
693
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof r[Symbol.toPrimitive] == "function")
|
|
687
|
-
return
|
|
694
|
+
return o.from(r[Symbol.toPrimitive]("string"), e, t);
|
|
688
695
|
throw new TypeError(
|
|
689
696
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof r
|
|
690
697
|
);
|
|
691
698
|
}
|
|
692
|
-
|
|
699
|
+
o.from = function(r, e, t) {
|
|
693
700
|
return w(r, e, t);
|
|
694
|
-
}, Object.setPrototypeOf(
|
|
701
|
+
}, Object.setPrototypeOf(o.prototype, Uint8Array.prototype), Object.setPrototypeOf(o, Uint8Array);
|
|
695
702
|
function v(r) {
|
|
696
703
|
if (typeof r != "number")
|
|
697
704
|
throw new TypeError('"size" argument must be of type number');
|
|
@@ -701,19 +708,19 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
701
708
|
function E(r, e, t) {
|
|
702
709
|
return v(r), r <= 0 ? f(r) : e !== void 0 ? typeof t == "string" ? f(r).fill(e, t) : f(r).fill(e) : f(r);
|
|
703
710
|
}
|
|
704
|
-
|
|
711
|
+
o.alloc = function(r, e, t) {
|
|
705
712
|
return E(r, e, t);
|
|
706
713
|
};
|
|
707
714
|
function C(r) {
|
|
708
715
|
return v(r), f(r < 0 ? 0 : _(r) | 0);
|
|
709
716
|
}
|
|
710
|
-
|
|
717
|
+
o.allocUnsafe = function(r) {
|
|
711
718
|
return C(r);
|
|
712
|
-
},
|
|
719
|
+
}, o.allocUnsafeSlow = function(r) {
|
|
713
720
|
return C(r);
|
|
714
721
|
};
|
|
715
722
|
function y(r, e) {
|
|
716
|
-
if ((typeof e != "string" || e === "") && (e = "utf8"), !
|
|
723
|
+
if ((typeof e != "string" || e === "") && (e = "utf8"), !o.isEncoding(e))
|
|
717
724
|
throw new TypeError("Unknown encoding: " + e);
|
|
718
725
|
const t = U(r, e) | 0;
|
|
719
726
|
let i = f(t);
|
|
@@ -739,10 +746,10 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
739
746
|
if (r.byteLength < e + (t || 0))
|
|
740
747
|
throw new RangeError('"length" is outside of buffer bounds');
|
|
741
748
|
let i;
|
|
742
|
-
return e === void 0 && t === void 0 ? i = new Uint8Array(r) : t === void 0 ? i = new Uint8Array(r, e) : i = new Uint8Array(r, e, t), Object.setPrototypeOf(i,
|
|
749
|
+
return e === void 0 && t === void 0 ? i = new Uint8Array(r) : t === void 0 ? i = new Uint8Array(r, e) : i = new Uint8Array(r, e, t), Object.setPrototypeOf(i, o.prototype), i;
|
|
743
750
|
}
|
|
744
751
|
function N(r) {
|
|
745
|
-
if (
|
|
752
|
+
if (o.isBuffer(r)) {
|
|
746
753
|
const e = _(r.length) | 0, t = f(e);
|
|
747
754
|
return t.length === 0 || r.copy(t, 0, 0, e), t;
|
|
748
755
|
}
|
|
@@ -757,12 +764,12 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
757
764
|
return r | 0;
|
|
758
765
|
}
|
|
759
766
|
function F(r) {
|
|
760
|
-
return +r != r && (r = 0),
|
|
767
|
+
return +r != r && (r = 0), o.alloc(+r);
|
|
761
768
|
}
|
|
762
|
-
|
|
763
|
-
return e != null && e._isBuffer === !0 && e !==
|
|
764
|
-
},
|
|
765
|
-
if (G(e, Uint8Array) && (e =
|
|
769
|
+
o.isBuffer = function(e) {
|
|
770
|
+
return e != null && e._isBuffer === !0 && e !== o.prototype;
|
|
771
|
+
}, o.compare = function(e, t) {
|
|
772
|
+
if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), G(t, Uint8Array) && (t = o.from(t, t.offset, t.byteLength)), !o.isBuffer(e) || !o.isBuffer(t))
|
|
766
773
|
throw new TypeError(
|
|
767
774
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
768
775
|
);
|
|
@@ -775,7 +782,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
775
782
|
break;
|
|
776
783
|
}
|
|
777
784
|
return i < a ? -1 : a < i ? 1 : 0;
|
|
778
|
-
},
|
|
785
|
+
}, o.isEncoding = function(e) {
|
|
779
786
|
switch (String(e).toLowerCase()) {
|
|
780
787
|
case "hex":
|
|
781
788
|
case "utf8":
|
|
@@ -792,26 +799,26 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
792
799
|
default:
|
|
793
800
|
return !1;
|
|
794
801
|
}
|
|
795
|
-
},
|
|
802
|
+
}, o.concat = function(e, t) {
|
|
796
803
|
if (!Array.isArray(e))
|
|
797
804
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
798
805
|
if (e.length === 0)
|
|
799
|
-
return
|
|
806
|
+
return o.alloc(0);
|
|
800
807
|
let i;
|
|
801
808
|
if (t === void 0)
|
|
802
809
|
for (t = 0, i = 0; i < e.length; ++i)
|
|
803
810
|
t += e[i].length;
|
|
804
|
-
const a =
|
|
811
|
+
const a = o.allocUnsafe(t);
|
|
805
812
|
let u = 0;
|
|
806
813
|
for (i = 0; i < e.length; ++i) {
|
|
807
814
|
let p = e[i];
|
|
808
815
|
if (G(p, Uint8Array))
|
|
809
|
-
u + p.length > a.length ? (
|
|
816
|
+
u + p.length > a.length ? (o.isBuffer(p) || (p = o.from(p)), p.copy(a, u)) : Uint8Array.prototype.set.call(
|
|
810
817
|
a,
|
|
811
818
|
p,
|
|
812
819
|
u
|
|
813
820
|
);
|
|
814
|
-
else if (
|
|
821
|
+
else if (o.isBuffer(p))
|
|
815
822
|
p.copy(a, u);
|
|
816
823
|
else
|
|
817
824
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
@@ -820,7 +827,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
820
827
|
return a;
|
|
821
828
|
};
|
|
822
829
|
function U(r, e) {
|
|
823
|
-
if (
|
|
830
|
+
if (o.isBuffer(r))
|
|
824
831
|
return r.length;
|
|
825
832
|
if (ArrayBuffer.isView(r) || G(r, ArrayBuffer))
|
|
826
833
|
return r.byteLength;
|
|
@@ -849,82 +856,82 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
849
856
|
case "hex":
|
|
850
857
|
return t >>> 1;
|
|
851
858
|
case "base64":
|
|
852
|
-
return
|
|
859
|
+
return Ve(r).length;
|
|
853
860
|
default:
|
|
854
861
|
if (a)
|
|
855
862
|
return i ? -1 : Ee(r).length;
|
|
856
863
|
e = ("" + e).toLowerCase(), a = !0;
|
|
857
864
|
}
|
|
858
865
|
}
|
|
859
|
-
|
|
860
|
-
function
|
|
866
|
+
o.byteLength = U;
|
|
867
|
+
function Q(r, e, t) {
|
|
861
868
|
let i = !1;
|
|
862
869
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
|
|
863
870
|
return "";
|
|
864
871
|
for (r || (r = "utf8"); ; )
|
|
865
872
|
switch (r) {
|
|
866
873
|
case "hex":
|
|
867
|
-
return
|
|
874
|
+
return kt(this, e, t);
|
|
868
875
|
case "utf8":
|
|
869
876
|
case "utf-8":
|
|
870
|
-
return
|
|
877
|
+
return De(this, e, t);
|
|
871
878
|
case "ascii":
|
|
872
|
-
return
|
|
879
|
+
return Ft(this, e, t);
|
|
873
880
|
case "latin1":
|
|
874
881
|
case "binary":
|
|
875
|
-
return
|
|
882
|
+
return $t(this, e, t);
|
|
876
883
|
case "base64":
|
|
877
|
-
return
|
|
884
|
+
return Ct(this, e, t);
|
|
878
885
|
case "ucs2":
|
|
879
886
|
case "ucs-2":
|
|
880
887
|
case "utf16le":
|
|
881
888
|
case "utf-16le":
|
|
882
|
-
return
|
|
889
|
+
return St(this, e, t);
|
|
883
890
|
default:
|
|
884
891
|
if (i)
|
|
885
892
|
throw new TypeError("Unknown encoding: " + r);
|
|
886
893
|
r = (r + "").toLowerCase(), i = !0;
|
|
887
894
|
}
|
|
888
895
|
}
|
|
889
|
-
|
|
890
|
-
function
|
|
896
|
+
o.prototype._isBuffer = !0;
|
|
897
|
+
function M(r, e, t) {
|
|
891
898
|
const i = r[e];
|
|
892
899
|
r[e] = r[t], r[t] = i;
|
|
893
900
|
}
|
|
894
|
-
|
|
901
|
+
o.prototype.swap16 = function() {
|
|
895
902
|
const e = this.length;
|
|
896
903
|
if (e % 2 !== 0)
|
|
897
904
|
throw new RangeError("Buffer size must be a multiple of 16-bits");
|
|
898
905
|
for (let t = 0; t < e; t += 2)
|
|
899
|
-
|
|
906
|
+
M(this, t, t + 1);
|
|
900
907
|
return this;
|
|
901
|
-
},
|
|
908
|
+
}, o.prototype.swap32 = function() {
|
|
902
909
|
const e = this.length;
|
|
903
910
|
if (e % 4 !== 0)
|
|
904
911
|
throw new RangeError("Buffer size must be a multiple of 32-bits");
|
|
905
912
|
for (let t = 0; t < e; t += 4)
|
|
906
|
-
|
|
913
|
+
M(this, t, t + 3), M(this, t + 1, t + 2);
|
|
907
914
|
return this;
|
|
908
|
-
},
|
|
915
|
+
}, o.prototype.swap64 = function() {
|
|
909
916
|
const e = this.length;
|
|
910
917
|
if (e % 8 !== 0)
|
|
911
918
|
throw new RangeError("Buffer size must be a multiple of 64-bits");
|
|
912
919
|
for (let t = 0; t < e; t += 8)
|
|
913
|
-
|
|
920
|
+
M(this, t, t + 7), M(this, t + 1, t + 6), M(this, t + 2, t + 5), M(this, t + 3, t + 4);
|
|
914
921
|
return this;
|
|
915
|
-
},
|
|
922
|
+
}, o.prototype.toString = function() {
|
|
916
923
|
const e = this.length;
|
|
917
|
-
return e === 0 ? "" : arguments.length === 0 ?
|
|
918
|
-
},
|
|
919
|
-
if (!
|
|
924
|
+
return e === 0 ? "" : arguments.length === 0 ? De(this, 0, e) : Q.apply(this, arguments);
|
|
925
|
+
}, o.prototype.toLocaleString = o.prototype.toString, o.prototype.equals = function(e) {
|
|
926
|
+
if (!o.isBuffer(e))
|
|
920
927
|
throw new TypeError("Argument must be a Buffer");
|
|
921
|
-
return this === e ? !0 :
|
|
922
|
-
},
|
|
928
|
+
return this === e ? !0 : o.compare(this, e) === 0;
|
|
929
|
+
}, o.prototype.inspect = function() {
|
|
923
930
|
let e = "";
|
|
924
931
|
const t = s.INSPECT_MAX_BYTES;
|
|
925
932
|
return e = this.toString("hex", 0, t).replace(/(.{2})/g, "$1 ").trim(), this.length > t && (e += " ... "), "<Buffer " + e + ">";
|
|
926
|
-
}, d && (
|
|
927
|
-
if (G(e, Uint8Array) && (e =
|
|
933
|
+
}, d && (o.prototype[d] = o.prototype.inspect), o.prototype.compare = function(e, t, i, a, u) {
|
|
934
|
+
if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), !o.isBuffer(e))
|
|
928
935
|
throw new TypeError(
|
|
929
936
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e
|
|
930
937
|
);
|
|
@@ -947,7 +954,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
947
954
|
}
|
|
948
955
|
return p < b ? -1 : b < p ? 1 : 0;
|
|
949
956
|
};
|
|
950
|
-
function
|
|
957
|
+
function ze(r, e, t, i, a) {
|
|
951
958
|
if (r.length === 0)
|
|
952
959
|
return -1;
|
|
953
960
|
if (typeof t == "string" ? (i = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, Be(t) && (t = a ? 0 : r.length - 1), t < 0 && (t = r.length + t), t >= r.length) {
|
|
@@ -959,13 +966,13 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
959
966
|
t = 0;
|
|
960
967
|
else
|
|
961
968
|
return -1;
|
|
962
|
-
if (typeof e == "string" && (e =
|
|
963
|
-
return e.length === 0 ? -1 :
|
|
969
|
+
if (typeof e == "string" && (e = o.from(e, i)), o.isBuffer(e))
|
|
970
|
+
return e.length === 0 ? -1 : Oe(r, e, t, i, a);
|
|
964
971
|
if (typeof e == "number")
|
|
965
|
-
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? a ? Uint8Array.prototype.indexOf.call(r, e, t) : Uint8Array.prototype.lastIndexOf.call(r, e, t) :
|
|
972
|
+
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? a ? Uint8Array.prototype.indexOf.call(r, e, t) : Uint8Array.prototype.lastIndexOf.call(r, e, t) : Oe(r, [e], t, i, a);
|
|
966
973
|
throw new TypeError("val must be string, number or Buffer");
|
|
967
974
|
}
|
|
968
|
-
function
|
|
975
|
+
function Oe(r, e, t, i, a) {
|
|
969
976
|
let u = 1, p = r.length, b = e.length;
|
|
970
977
|
if (i !== void 0 && (i = String(i).toLowerCase(), i === "ucs2" || i === "ucs-2" || i === "utf16le" || i === "utf-16le")) {
|
|
971
978
|
if (r.length < 2 || e.length < 2)
|
|
@@ -997,14 +1004,14 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
997
1004
|
}
|
|
998
1005
|
return -1;
|
|
999
1006
|
}
|
|
1000
|
-
|
|
1007
|
+
o.prototype.includes = function(e, t, i) {
|
|
1001
1008
|
return this.indexOf(e, t, i) !== -1;
|
|
1002
|
-
},
|
|
1003
|
-
return
|
|
1004
|
-
},
|
|
1005
|
-
return
|
|
1009
|
+
}, o.prototype.indexOf = function(e, t, i) {
|
|
1010
|
+
return ze(this, e, t, i, !0);
|
|
1011
|
+
}, o.prototype.lastIndexOf = function(e, t, i) {
|
|
1012
|
+
return ze(this, e, t, i, !1);
|
|
1006
1013
|
};
|
|
1007
|
-
function
|
|
1014
|
+
function bt(r, e, t, i) {
|
|
1008
1015
|
t = Number(t) || 0;
|
|
1009
1016
|
const a = r.length - t;
|
|
1010
1017
|
i ? (i = Number(i), i > a && (i = a)) : i = a;
|
|
@@ -1019,19 +1026,19 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1019
1026
|
}
|
|
1020
1027
|
return p;
|
|
1021
1028
|
}
|
|
1022
|
-
function
|
|
1029
|
+
function Et(r, e, t, i) {
|
|
1023
1030
|
return ge(Ee(e, r.length - t), r, t, i);
|
|
1024
1031
|
}
|
|
1032
|
+
function Bt(r, e, t, i) {
|
|
1033
|
+
return ge(Ut(e), r, t, i);
|
|
1034
|
+
}
|
|
1025
1035
|
function vt(r, e, t, i) {
|
|
1026
|
-
return ge(
|
|
1036
|
+
return ge(Ve(e), r, t, i);
|
|
1027
1037
|
}
|
|
1028
1038
|
function _t(r, e, t, i) {
|
|
1029
|
-
return ge(
|
|
1039
|
+
return ge(zt(e, r.length - t), r, t, i);
|
|
1030
1040
|
}
|
|
1031
|
-
function
|
|
1032
|
-
return ge(Ot(e, r.length - t), r, t, i);
|
|
1033
|
-
}
|
|
1034
|
-
n.prototype.write = function(e, t, i, a) {
|
|
1041
|
+
o.prototype.write = function(e, t, i, a) {
|
|
1035
1042
|
if (t === void 0)
|
|
1036
1043
|
a = "utf8", i = this.length, t = 0;
|
|
1037
1044
|
else if (i === void 0 && typeof t == "string")
|
|
@@ -1050,36 +1057,36 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1050
1057
|
for (; ; )
|
|
1051
1058
|
switch (a) {
|
|
1052
1059
|
case "hex":
|
|
1053
|
-
return
|
|
1060
|
+
return bt(this, e, t, i);
|
|
1054
1061
|
case "utf8":
|
|
1055
1062
|
case "utf-8":
|
|
1056
|
-
return
|
|
1063
|
+
return Et(this, e, t, i);
|
|
1057
1064
|
case "ascii":
|
|
1058
1065
|
case "latin1":
|
|
1059
1066
|
case "binary":
|
|
1060
|
-
return
|
|
1067
|
+
return Bt(this, e, t, i);
|
|
1061
1068
|
case "base64":
|
|
1062
|
-
return
|
|
1069
|
+
return vt(this, e, t, i);
|
|
1063
1070
|
case "ucs2":
|
|
1064
1071
|
case "ucs-2":
|
|
1065
1072
|
case "utf16le":
|
|
1066
1073
|
case "utf-16le":
|
|
1067
|
-
return
|
|
1074
|
+
return _t(this, e, t, i);
|
|
1068
1075
|
default:
|
|
1069
1076
|
if (p)
|
|
1070
1077
|
throw new TypeError("Unknown encoding: " + a);
|
|
1071
1078
|
a = ("" + a).toLowerCase(), p = !0;
|
|
1072
1079
|
}
|
|
1073
|
-
},
|
|
1080
|
+
}, o.prototype.toJSON = function() {
|
|
1074
1081
|
return {
|
|
1075
1082
|
type: "Buffer",
|
|
1076
1083
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
1077
1084
|
};
|
|
1078
1085
|
};
|
|
1079
|
-
function
|
|
1080
|
-
return e === 0 && t === r.length ?
|
|
1086
|
+
function Ct(r, e, t) {
|
|
1087
|
+
return e === 0 && t === r.length ? n.fromByteArray(r) : n.fromByteArray(r.slice(e, t));
|
|
1081
1088
|
}
|
|
1082
|
-
function
|
|
1089
|
+
function De(r, e, t) {
|
|
1083
1090
|
t = Math.min(r.length, t);
|
|
1084
1091
|
const i = [];
|
|
1085
1092
|
let a = e;
|
|
@@ -1104,55 +1111,55 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1104
1111
|
}
|
|
1105
1112
|
p === null ? (p = 65533, b = 1) : p > 65535 && (p -= 65536, i.push(p >>> 10 & 1023 | 55296), p = 56320 | p & 1023), i.push(p), a += b;
|
|
1106
1113
|
}
|
|
1107
|
-
return
|
|
1114
|
+
return Tt(i);
|
|
1108
1115
|
}
|
|
1109
|
-
const
|
|
1110
|
-
function
|
|
1116
|
+
const Pe = 4096;
|
|
1117
|
+
function Tt(r) {
|
|
1111
1118
|
const e = r.length;
|
|
1112
|
-
if (e <=
|
|
1119
|
+
if (e <= Pe)
|
|
1113
1120
|
return String.fromCharCode.apply(String, r);
|
|
1114
1121
|
let t = "", i = 0;
|
|
1115
1122
|
for (; i < e; )
|
|
1116
1123
|
t += String.fromCharCode.apply(
|
|
1117
1124
|
String,
|
|
1118
|
-
r.slice(i, i +=
|
|
1125
|
+
r.slice(i, i += Pe)
|
|
1119
1126
|
);
|
|
1120
1127
|
return t;
|
|
1121
1128
|
}
|
|
1122
|
-
function
|
|
1129
|
+
function Ft(r, e, t) {
|
|
1123
1130
|
let i = "";
|
|
1124
1131
|
t = Math.min(r.length, t);
|
|
1125
1132
|
for (let a = e; a < t; ++a)
|
|
1126
1133
|
i += String.fromCharCode(r[a] & 127);
|
|
1127
1134
|
return i;
|
|
1128
1135
|
}
|
|
1129
|
-
function
|
|
1136
|
+
function $t(r, e, t) {
|
|
1130
1137
|
let i = "";
|
|
1131
1138
|
t = Math.min(r.length, t);
|
|
1132
1139
|
for (let a = e; a < t; ++a)
|
|
1133
1140
|
i += String.fromCharCode(r[a]);
|
|
1134
1141
|
return i;
|
|
1135
1142
|
}
|
|
1136
|
-
function
|
|
1143
|
+
function kt(r, e, t) {
|
|
1137
1144
|
const i = r.length;
|
|
1138
1145
|
(!e || e < 0) && (e = 0), (!t || t < 0 || t > i) && (t = i);
|
|
1139
1146
|
let a = "";
|
|
1140
1147
|
for (let u = e; u < t; ++u)
|
|
1141
|
-
a +=
|
|
1148
|
+
a += Ot[r[u]];
|
|
1142
1149
|
return a;
|
|
1143
1150
|
}
|
|
1144
|
-
function
|
|
1151
|
+
function St(r, e, t) {
|
|
1145
1152
|
const i = r.slice(e, t);
|
|
1146
1153
|
let a = "";
|
|
1147
1154
|
for (let u = 0; u < i.length - 1; u += 2)
|
|
1148
1155
|
a += String.fromCharCode(i[u] + i[u + 1] * 256);
|
|
1149
1156
|
return a;
|
|
1150
1157
|
}
|
|
1151
|
-
|
|
1158
|
+
o.prototype.slice = function(e, t) {
|
|
1152
1159
|
const i = this.length;
|
|
1153
1160
|
e = ~~e, t = t === void 0 ? i : ~~t, e < 0 ? (e += i, e < 0 && (e = 0)) : e > i && (e = i), t < 0 ? (t += i, t < 0 && (t = 0)) : t > i && (t = i), t < e && (t = e);
|
|
1154
1161
|
const a = this.subarray(e, t);
|
|
1155
|
-
return Object.setPrototypeOf(a,
|
|
1162
|
+
return Object.setPrototypeOf(a, o.prototype), a;
|
|
1156
1163
|
};
|
|
1157
1164
|
function R(r, e, t) {
|
|
1158
1165
|
if (r % 1 !== 0 || r < 0)
|
|
@@ -1160,97 +1167,97 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1160
1167
|
if (r + e > t)
|
|
1161
1168
|
throw new RangeError("Trying to access beyond buffer length");
|
|
1162
1169
|
}
|
|
1163
|
-
|
|
1170
|
+
o.prototype.readUintLE = o.prototype.readUIntLE = function(e, t, i) {
|
|
1164
1171
|
e = e >>> 0, t = t >>> 0, i || R(e, t, this.length);
|
|
1165
1172
|
let a = this[e], u = 1, p = 0;
|
|
1166
1173
|
for (; ++p < t && (u *= 256); )
|
|
1167
1174
|
a += this[e + p] * u;
|
|
1168
1175
|
return a;
|
|
1169
|
-
},
|
|
1176
|
+
}, o.prototype.readUintBE = o.prototype.readUIntBE = function(e, t, i) {
|
|
1170
1177
|
e = e >>> 0, t = t >>> 0, i || R(e, t, this.length);
|
|
1171
1178
|
let a = this[e + --t], u = 1;
|
|
1172
1179
|
for (; t > 0 && (u *= 256); )
|
|
1173
1180
|
a += this[e + --t] * u;
|
|
1174
1181
|
return a;
|
|
1175
|
-
},
|
|
1182
|
+
}, o.prototype.readUint8 = o.prototype.readUInt8 = function(e, t) {
|
|
1176
1183
|
return e = e >>> 0, t || R(e, 1, this.length), this[e];
|
|
1177
|
-
},
|
|
1184
|
+
}, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(e, t) {
|
|
1178
1185
|
return e = e >>> 0, t || R(e, 2, this.length), this[e] | this[e + 1] << 8;
|
|
1179
|
-
},
|
|
1186
|
+
}, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(e, t) {
|
|
1180
1187
|
return e = e >>> 0, t || R(e, 2, this.length), this[e] << 8 | this[e + 1];
|
|
1181
|
-
},
|
|
1188
|
+
}, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(e, t) {
|
|
1182
1189
|
return e = e >>> 0, t || R(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
|
|
1183
|
-
},
|
|
1190
|
+
}, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(e, t) {
|
|
1184
1191
|
return e = e >>> 0, t || R(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
1185
|
-
},
|
|
1192
|
+
}, o.prototype.readBigUInt64LE = J(function(e) {
|
|
1186
1193
|
e = e >>> 0, ie(e, "offset");
|
|
1187
1194
|
const t = this[e], i = this[e + 7];
|
|
1188
|
-
(t === void 0 || i === void 0) &&
|
|
1195
|
+
(t === void 0 || i === void 0) && pe(e, this.length - 8);
|
|
1189
1196
|
const a = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, u = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + i * 2 ** 24;
|
|
1190
1197
|
return BigInt(a) + (BigInt(u) << BigInt(32));
|
|
1191
|
-
}),
|
|
1198
|
+
}), o.prototype.readBigUInt64BE = J(function(e) {
|
|
1192
1199
|
e = e >>> 0, ie(e, "offset");
|
|
1193
1200
|
const t = this[e], i = this[e + 7];
|
|
1194
|
-
(t === void 0 || i === void 0) &&
|
|
1201
|
+
(t === void 0 || i === void 0) && pe(e, this.length - 8);
|
|
1195
1202
|
const a = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], u = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + i;
|
|
1196
1203
|
return (BigInt(a) << BigInt(32)) + BigInt(u);
|
|
1197
|
-
}),
|
|
1204
|
+
}), o.prototype.readIntLE = function(e, t, i) {
|
|
1198
1205
|
e = e >>> 0, t = t >>> 0, i || R(e, t, this.length);
|
|
1199
1206
|
let a = this[e], u = 1, p = 0;
|
|
1200
1207
|
for (; ++p < t && (u *= 256); )
|
|
1201
1208
|
a += this[e + p] * u;
|
|
1202
1209
|
return u *= 128, a >= u && (a -= Math.pow(2, 8 * t)), a;
|
|
1203
|
-
},
|
|
1210
|
+
}, o.prototype.readIntBE = function(e, t, i) {
|
|
1204
1211
|
e = e >>> 0, t = t >>> 0, i || R(e, t, this.length);
|
|
1205
1212
|
let a = t, u = 1, p = this[e + --a];
|
|
1206
1213
|
for (; a > 0 && (u *= 256); )
|
|
1207
1214
|
p += this[e + --a] * u;
|
|
1208
1215
|
return u *= 128, p >= u && (p -= Math.pow(2, 8 * t)), p;
|
|
1209
|
-
},
|
|
1216
|
+
}, o.prototype.readInt8 = function(e, t) {
|
|
1210
1217
|
return e = e >>> 0, t || R(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
1211
|
-
},
|
|
1218
|
+
}, o.prototype.readInt16LE = function(e, t) {
|
|
1212
1219
|
e = e >>> 0, t || R(e, 2, this.length);
|
|
1213
1220
|
const i = this[e] | this[e + 1] << 8;
|
|
1214
1221
|
return i & 32768 ? i | 4294901760 : i;
|
|
1215
|
-
},
|
|
1222
|
+
}, o.prototype.readInt16BE = function(e, t) {
|
|
1216
1223
|
e = e >>> 0, t || R(e, 2, this.length);
|
|
1217
1224
|
const i = this[e + 1] | this[e] << 8;
|
|
1218
1225
|
return i & 32768 ? i | 4294901760 : i;
|
|
1219
|
-
},
|
|
1226
|
+
}, o.prototype.readInt32LE = function(e, t) {
|
|
1220
1227
|
return e = e >>> 0, t || R(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
|
|
1221
|
-
},
|
|
1228
|
+
}, o.prototype.readInt32BE = function(e, t) {
|
|
1222
1229
|
return e = e >>> 0, t || R(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
1223
|
-
},
|
|
1230
|
+
}, o.prototype.readBigInt64LE = J(function(e) {
|
|
1224
1231
|
e = e >>> 0, ie(e, "offset");
|
|
1225
1232
|
const t = this[e], i = this[e + 7];
|
|
1226
|
-
(t === void 0 || i === void 0) &&
|
|
1233
|
+
(t === void 0 || i === void 0) && pe(e, this.length - 8);
|
|
1227
1234
|
const a = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (i << 24);
|
|
1228
1235
|
return (BigInt(a) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
1229
|
-
}),
|
|
1236
|
+
}), o.prototype.readBigInt64BE = J(function(e) {
|
|
1230
1237
|
e = e >>> 0, ie(e, "offset");
|
|
1231
1238
|
const t = this[e], i = this[e + 7];
|
|
1232
|
-
(t === void 0 || i === void 0) &&
|
|
1239
|
+
(t === void 0 || i === void 0) && pe(e, this.length - 8);
|
|
1233
1240
|
const a = (t << 24) + // Overflow
|
|
1234
1241
|
this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
|
|
1235
1242
|
return (BigInt(a) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + i);
|
|
1236
|
-
}),
|
|
1243
|
+
}), o.prototype.readFloatLE = function(e, t) {
|
|
1237
1244
|
return e = e >>> 0, t || R(e, 4, this.length), l.read(this, e, !0, 23, 4);
|
|
1238
|
-
},
|
|
1245
|
+
}, o.prototype.readFloatBE = function(e, t) {
|
|
1239
1246
|
return e = e >>> 0, t || R(e, 4, this.length), l.read(this, e, !1, 23, 4);
|
|
1240
|
-
},
|
|
1247
|
+
}, o.prototype.readDoubleLE = function(e, t) {
|
|
1241
1248
|
return e = e >>> 0, t || R(e, 8, this.length), l.read(this, e, !0, 52, 8);
|
|
1242
|
-
},
|
|
1249
|
+
}, o.prototype.readDoubleBE = function(e, t) {
|
|
1243
1250
|
return e = e >>> 0, t || R(e, 8, this.length), l.read(this, e, !1, 52, 8);
|
|
1244
1251
|
};
|
|
1245
1252
|
function O(r, e, t, i, a, u) {
|
|
1246
|
-
if (!
|
|
1253
|
+
if (!o.isBuffer(r))
|
|
1247
1254
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1248
1255
|
if (e > a || e < u)
|
|
1249
1256
|
throw new RangeError('"value" argument is out of bounds');
|
|
1250
1257
|
if (t + i > r.length)
|
|
1251
1258
|
throw new RangeError("Index out of range");
|
|
1252
1259
|
}
|
|
1253
|
-
|
|
1260
|
+
o.prototype.writeUintLE = o.prototype.writeUIntLE = function(e, t, i, a) {
|
|
1254
1261
|
if (e = +e, t = t >>> 0, i = i >>> 0, !a) {
|
|
1255
1262
|
const b = Math.pow(2, 8 * i) - 1;
|
|
1256
1263
|
O(this, e, t, i, b, 0);
|
|
@@ -1259,7 +1266,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1259
1266
|
for (this[t] = e & 255; ++p < i && (u *= 256); )
|
|
1260
1267
|
this[t + p] = e / u & 255;
|
|
1261
1268
|
return t + i;
|
|
1262
|
-
},
|
|
1269
|
+
}, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(e, t, i, a) {
|
|
1263
1270
|
if (e = +e, t = t >>> 0, i = i >>> 0, !a) {
|
|
1264
1271
|
const b = Math.pow(2, 8 * i) - 1;
|
|
1265
1272
|
O(this, e, t, i, b, 0);
|
|
@@ -1268,36 +1275,36 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1268
1275
|
for (this[t + u] = e & 255; --u >= 0 && (p *= 256); )
|
|
1269
1276
|
this[t + u] = e / p & 255;
|
|
1270
1277
|
return t + i;
|
|
1271
|
-
},
|
|
1278
|
+
}, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(e, t, i) {
|
|
1272
1279
|
return e = +e, t = t >>> 0, i || O(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
|
|
1273
|
-
},
|
|
1280
|
+
}, o.prototype.writeUint16LE = o.prototype.writeUInt16LE = function(e, t, i) {
|
|
1274
1281
|
return e = +e, t = t >>> 0, i || O(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
|
|
1275
|
-
},
|
|
1282
|
+
}, o.prototype.writeUint16BE = o.prototype.writeUInt16BE = function(e, t, i) {
|
|
1276
1283
|
return e = +e, t = t >>> 0, i || O(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
|
|
1277
|
-
},
|
|
1284
|
+
}, o.prototype.writeUint32LE = o.prototype.writeUInt32LE = function(e, t, i) {
|
|
1278
1285
|
return e = +e, t = t >>> 0, i || O(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
|
|
1279
|
-
},
|
|
1286
|
+
}, o.prototype.writeUint32BE = o.prototype.writeUInt32BE = function(e, t, i) {
|
|
1280
1287
|
return e = +e, t = t >>> 0, i || O(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
1281
1288
|
};
|
|
1282
|
-
function
|
|
1283
|
-
|
|
1289
|
+
function Me(r, e, t, i, a) {
|
|
1290
|
+
Ye(e, i, a, r, t, 7);
|
|
1284
1291
|
let u = Number(e & BigInt(4294967295));
|
|
1285
1292
|
r[t++] = u, u = u >> 8, r[t++] = u, u = u >> 8, r[t++] = u, u = u >> 8, r[t++] = u;
|
|
1286
1293
|
let p = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
1287
1294
|
return r[t++] = p, p = p >> 8, r[t++] = p, p = p >> 8, r[t++] = p, p = p >> 8, r[t++] = p, t;
|
|
1288
1295
|
}
|
|
1289
|
-
function
|
|
1290
|
-
|
|
1296
|
+
function qe(r, e, t, i, a) {
|
|
1297
|
+
Ye(e, i, a, r, t, 7);
|
|
1291
1298
|
let u = Number(e & BigInt(4294967295));
|
|
1292
1299
|
r[t + 7] = u, u = u >> 8, r[t + 6] = u, u = u >> 8, r[t + 5] = u, u = u >> 8, r[t + 4] = u;
|
|
1293
1300
|
let p = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
1294
1301
|
return r[t + 3] = p, p = p >> 8, r[t + 2] = p, p = p >> 8, r[t + 1] = p, p = p >> 8, r[t] = p, t + 8;
|
|
1295
1302
|
}
|
|
1296
|
-
|
|
1303
|
+
o.prototype.writeBigUInt64LE = J(function(e, t = 0) {
|
|
1304
|
+
return Me(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
1305
|
+
}), o.prototype.writeBigUInt64BE = J(function(e, t = 0) {
|
|
1297
1306
|
return qe(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
1298
|
-
}),
|
|
1299
|
-
return je(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
1300
|
-
}), n.prototype.writeIntLE = function(e, t, i, a) {
|
|
1307
|
+
}), o.prototype.writeIntLE = function(e, t, i, a) {
|
|
1301
1308
|
if (e = +e, t = t >>> 0, !a) {
|
|
1302
1309
|
const k = Math.pow(2, 8 * i - 1);
|
|
1303
1310
|
O(this, e, t, i, k - 1, -k);
|
|
@@ -1306,7 +1313,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1306
1313
|
for (this[t] = e & 255; ++u < i && (p *= 256); )
|
|
1307
1314
|
e < 0 && b === 0 && this[t + u - 1] !== 0 && (b = 1), this[t + u] = (e / p >> 0) - b & 255;
|
|
1308
1315
|
return t + i;
|
|
1309
|
-
},
|
|
1316
|
+
}, o.prototype.writeIntBE = function(e, t, i, a) {
|
|
1310
1317
|
if (e = +e, t = t >>> 0, !a) {
|
|
1311
1318
|
const k = Math.pow(2, 8 * i - 1);
|
|
1312
1319
|
O(this, e, t, i, k - 1, -k);
|
|
@@ -1315,44 +1322,44 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1315
1322
|
for (this[t + u] = e & 255; --u >= 0 && (p *= 256); )
|
|
1316
1323
|
e < 0 && b === 0 && this[t + u + 1] !== 0 && (b = 1), this[t + u] = (e / p >> 0) - b & 255;
|
|
1317
1324
|
return t + i;
|
|
1318
|
-
},
|
|
1325
|
+
}, o.prototype.writeInt8 = function(e, t, i) {
|
|
1319
1326
|
return e = +e, t = t >>> 0, i || O(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
1320
|
-
},
|
|
1327
|
+
}, o.prototype.writeInt16LE = function(e, t, i) {
|
|
1321
1328
|
return e = +e, t = t >>> 0, i || O(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
|
|
1322
|
-
},
|
|
1329
|
+
}, o.prototype.writeInt16BE = function(e, t, i) {
|
|
1323
1330
|
return e = +e, t = t >>> 0, i || O(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
|
|
1324
|
-
},
|
|
1331
|
+
}, o.prototype.writeInt32LE = function(e, t, i) {
|
|
1325
1332
|
return e = +e, t = t >>> 0, i || O(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
|
|
1326
|
-
},
|
|
1333
|
+
}, o.prototype.writeInt32BE = function(e, t, i) {
|
|
1327
1334
|
return e = +e, t = t >>> 0, i || O(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
1328
|
-
},
|
|
1335
|
+
}, o.prototype.writeBigInt64LE = J(function(e, t = 0) {
|
|
1336
|
+
return Me(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
1337
|
+
}), o.prototype.writeBigInt64BE = J(function(e, t = 0) {
|
|
1329
1338
|
return qe(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
1330
|
-
}), n.prototype.writeBigInt64BE = J(function(e, t = 0) {
|
|
1331
|
-
return je(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
1332
1339
|
});
|
|
1333
|
-
function
|
|
1340
|
+
function je(r, e, t, i, a, u) {
|
|
1334
1341
|
if (t + i > r.length)
|
|
1335
1342
|
throw new RangeError("Index out of range");
|
|
1336
1343
|
if (t < 0)
|
|
1337
1344
|
throw new RangeError("Index out of range");
|
|
1338
1345
|
}
|
|
1346
|
+
function Ge(r, e, t, i, a) {
|
|
1347
|
+
return e = +e, t = t >>> 0, a || je(r, e, t, 4), l.write(r, e, t, i, 23, 4), t + 4;
|
|
1348
|
+
}
|
|
1349
|
+
o.prototype.writeFloatLE = function(e, t, i) {
|
|
1350
|
+
return Ge(this, e, t, !0, i);
|
|
1351
|
+
}, o.prototype.writeFloatBE = function(e, t, i) {
|
|
1352
|
+
return Ge(this, e, t, !1, i);
|
|
1353
|
+
};
|
|
1339
1354
|
function We(r, e, t, i, a) {
|
|
1340
|
-
return e = +e, t = t >>> 0, a ||
|
|
1355
|
+
return e = +e, t = t >>> 0, a || je(r, e, t, 8), l.write(r, e, t, i, 52, 8), t + 8;
|
|
1341
1356
|
}
|
|
1342
|
-
|
|
1357
|
+
o.prototype.writeDoubleLE = function(e, t, i) {
|
|
1343
1358
|
return We(this, e, t, !0, i);
|
|
1344
|
-
},
|
|
1359
|
+
}, o.prototype.writeDoubleBE = function(e, t, i) {
|
|
1345
1360
|
return We(this, e, t, !1, i);
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
return e = +e, t = t >>> 0, a || Ge(r, e, t, 8), l.write(r, e, t, i, 52, 8), t + 8;
|
|
1349
|
-
}
|
|
1350
|
-
n.prototype.writeDoubleLE = function(e, t, i) {
|
|
1351
|
-
return He(this, e, t, !0, i);
|
|
1352
|
-
}, n.prototype.writeDoubleBE = function(e, t, i) {
|
|
1353
|
-
return He(this, e, t, !1, i);
|
|
1354
|
-
}, n.prototype.copy = function(e, t, i, a) {
|
|
1355
|
-
if (!n.isBuffer(e))
|
|
1361
|
+
}, o.prototype.copy = function(e, t, i, a) {
|
|
1362
|
+
if (!o.isBuffer(e))
|
|
1356
1363
|
throw new TypeError("argument should be a Buffer");
|
|
1357
1364
|
if (i || (i = 0), !a && a !== 0 && (a = this.length), t >= e.length && (t = e.length), t || (t = 0), a > 0 && a < i && (a = i), a === i || e.length === 0 || this.length === 0)
|
|
1358
1365
|
return 0;
|
|
@@ -1369,11 +1376,11 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1369
1376
|
this.subarray(i, a),
|
|
1370
1377
|
t
|
|
1371
1378
|
), u;
|
|
1372
|
-
},
|
|
1379
|
+
}, o.prototype.fill = function(e, t, i, a) {
|
|
1373
1380
|
if (typeof e == "string") {
|
|
1374
1381
|
if (typeof t == "string" ? (a = t, t = 0, i = this.length) : typeof i == "string" && (a = i, i = this.length), a !== void 0 && typeof a != "string")
|
|
1375
1382
|
throw new TypeError("encoding must be a string");
|
|
1376
|
-
if (typeof a == "string" && !
|
|
1383
|
+
if (typeof a == "string" && !o.isEncoding(a))
|
|
1377
1384
|
throw new TypeError("Unknown encoding: " + a);
|
|
1378
1385
|
if (e.length === 1) {
|
|
1379
1386
|
const p = e.charCodeAt(0);
|
|
@@ -1391,7 +1398,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1391
1398
|
for (u = t; u < i; ++u)
|
|
1392
1399
|
this[u] = e;
|
|
1393
1400
|
else {
|
|
1394
|
-
const p =
|
|
1401
|
+
const p = o.isBuffer(e) ? e : o.from(e, a), b = p.length;
|
|
1395
1402
|
if (b === 0)
|
|
1396
1403
|
throw new TypeError('The value "' + e + '" is invalid for argument "value"');
|
|
1397
1404
|
for (u = 0; u < i - t; ++u)
|
|
@@ -1441,42 +1448,42 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1441
1448
|
"ERR_OUT_OF_RANGE",
|
|
1442
1449
|
function(r, e, t) {
|
|
1443
1450
|
let i = `The value of "${r}" is out of range.`, a = t;
|
|
1444
|
-
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? a =
|
|
1451
|
+
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? a = He(String(t)) : typeof t == "bigint" && (a = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (a = He(a)), a += "n"), i += ` It must be ${e}. Received ${a}`, i;
|
|
1445
1452
|
},
|
|
1446
1453
|
RangeError
|
|
1447
1454
|
);
|
|
1448
|
-
function
|
|
1455
|
+
function He(r) {
|
|
1449
1456
|
let e = "", t = r.length;
|
|
1450
1457
|
const i = r[0] === "-" ? 1 : 0;
|
|
1451
1458
|
for (; t >= i + 4; t -= 3)
|
|
1452
1459
|
e = `_${r.slice(t - 3, t)}${e}`;
|
|
1453
1460
|
return `${r.slice(0, t)}${e}`;
|
|
1454
1461
|
}
|
|
1455
|
-
function
|
|
1456
|
-
ie(e, "offset"), (r[e] === void 0 || r[e + t] === void 0) &&
|
|
1462
|
+
function Lt(r, e, t) {
|
|
1463
|
+
ie(e, "offset"), (r[e] === void 0 || r[e + t] === void 0) && pe(e, r.length - (t + 1));
|
|
1457
1464
|
}
|
|
1458
|
-
function
|
|
1465
|
+
function Ye(r, e, t, i, a, u) {
|
|
1459
1466
|
if (r > t || r < e) {
|
|
1460
1467
|
const p = typeof e == "bigint" ? "n" : "";
|
|
1461
1468
|
let b;
|
|
1462
1469
|
throw u > 3 ? e === 0 || e === BigInt(0) ? b = `>= 0${p} and < 2${p} ** ${(u + 1) * 8}${p}` : b = `>= -(2${p} ** ${(u + 1) * 8 - 1}${p}) and < 2 ** ${(u + 1) * 8 - 1}${p}` : b = `>= ${e}${p} and <= ${t}${p}`, new re.ERR_OUT_OF_RANGE("value", b, r);
|
|
1463
1470
|
}
|
|
1464
|
-
|
|
1471
|
+
Lt(i, a, u);
|
|
1465
1472
|
}
|
|
1466
1473
|
function ie(r, e) {
|
|
1467
1474
|
if (typeof r != "number")
|
|
1468
1475
|
throw new re.ERR_INVALID_ARG_TYPE(e, "number", r);
|
|
1469
1476
|
}
|
|
1470
|
-
function
|
|
1477
|
+
function pe(r, e, t) {
|
|
1471
1478
|
throw Math.floor(r) !== r ? (ie(r, t), new re.ERR_OUT_OF_RANGE(t || "offset", "an integer", r)) : e < 0 ? new re.ERR_BUFFER_OUT_OF_BOUNDS() : new re.ERR_OUT_OF_RANGE(
|
|
1472
1479
|
t || "offset",
|
|
1473
1480
|
`>= ${t ? 1 : 0} and <= ${e}`,
|
|
1474
1481
|
r
|
|
1475
1482
|
);
|
|
1476
1483
|
}
|
|
1477
|
-
const
|
|
1478
|
-
function
|
|
1479
|
-
if (r = r.split("=")[0], r = r.trim().replace(
|
|
1484
|
+
const Nt = /[^+/0-9A-Za-z-_]/g;
|
|
1485
|
+
function Rt(r) {
|
|
1486
|
+
if (r = r.split("=")[0], r = r.trim().replace(Nt, ""), r.length < 2)
|
|
1480
1487
|
return "";
|
|
1481
1488
|
for (; r.length % 4 !== 0; )
|
|
1482
1489
|
r = r + "=";
|
|
@@ -1541,21 +1548,21 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1541
1548
|
}
|
|
1542
1549
|
return u;
|
|
1543
1550
|
}
|
|
1544
|
-
function
|
|
1551
|
+
function Ut(r) {
|
|
1545
1552
|
const e = [];
|
|
1546
1553
|
for (let t = 0; t < r.length; ++t)
|
|
1547
1554
|
e.push(r.charCodeAt(t) & 255);
|
|
1548
1555
|
return e;
|
|
1549
1556
|
}
|
|
1550
|
-
function
|
|
1557
|
+
function zt(r, e) {
|
|
1551
1558
|
let t, i, a;
|
|
1552
1559
|
const u = [];
|
|
1553
1560
|
for (let p = 0; p < r.length && !((e -= 2) < 0); ++p)
|
|
1554
1561
|
t = r.charCodeAt(p), i = t >> 8, a = t % 256, u.push(a), u.push(i);
|
|
1555
1562
|
return u;
|
|
1556
1563
|
}
|
|
1557
|
-
function
|
|
1558
|
-
return
|
|
1564
|
+
function Ve(r) {
|
|
1565
|
+
return n.toByteArray(Rt(r));
|
|
1559
1566
|
}
|
|
1560
1567
|
function ge(r, e, t, i) {
|
|
1561
1568
|
let a;
|
|
@@ -1569,7 +1576,7 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1569
1576
|
function Be(r) {
|
|
1570
1577
|
return r !== r;
|
|
1571
1578
|
}
|
|
1572
|
-
const
|
|
1579
|
+
const Ot = function() {
|
|
1573
1580
|
const r = "0123456789abcdef", e = new Array(256);
|
|
1574
1581
|
for (let t = 0; t < 16; ++t) {
|
|
1575
1582
|
const i = t * 16;
|
|
@@ -1579,35 +1586,35 @@ ze.write = function(s, o, l, d, m, g) {
|
|
|
1579
1586
|
return e;
|
|
1580
1587
|
}();
|
|
1581
1588
|
function J(r) {
|
|
1582
|
-
return typeof BigInt > "u" ?
|
|
1589
|
+
return typeof BigInt > "u" ? Dt : r;
|
|
1583
1590
|
}
|
|
1584
|
-
function
|
|
1591
|
+
function Dt() {
|
|
1585
1592
|
throw new Error("BigInt not supported");
|
|
1586
1593
|
}
|
|
1587
|
-
})(
|
|
1588
|
-
var
|
|
1589
|
-
function
|
|
1594
|
+
})(ft);
|
|
1595
|
+
var gt = { exports: {} }, L = gt.exports = {}, W, H;
|
|
1596
|
+
function Fe() {
|
|
1590
1597
|
throw new Error("setTimeout has not been defined");
|
|
1591
1598
|
}
|
|
1592
|
-
function
|
|
1599
|
+
function $e() {
|
|
1593
1600
|
throw new Error("clearTimeout has not been defined");
|
|
1594
1601
|
}
|
|
1595
1602
|
(function() {
|
|
1596
1603
|
try {
|
|
1597
|
-
typeof setTimeout == "function" ? W = setTimeout : W =
|
|
1604
|
+
typeof setTimeout == "function" ? W = setTimeout : W = Fe;
|
|
1598
1605
|
} catch {
|
|
1599
|
-
W =
|
|
1606
|
+
W = Fe;
|
|
1600
1607
|
}
|
|
1601
1608
|
try {
|
|
1602
|
-
typeof clearTimeout == "function" ? H = clearTimeout : H =
|
|
1609
|
+
typeof clearTimeout == "function" ? H = clearTimeout : H = $e;
|
|
1603
1610
|
} catch {
|
|
1604
|
-
H =
|
|
1611
|
+
H = $e;
|
|
1605
1612
|
}
|
|
1606
1613
|
})();
|
|
1607
|
-
function
|
|
1614
|
+
function yt(s) {
|
|
1608
1615
|
if (W === setTimeout)
|
|
1609
1616
|
return setTimeout(s, 0);
|
|
1610
|
-
if ((W ===
|
|
1617
|
+
if ((W === Fe || !W) && setTimeout)
|
|
1611
1618
|
return W = setTimeout, setTimeout(s, 0);
|
|
1612
1619
|
try {
|
|
1613
1620
|
return W(s, 0);
|
|
@@ -1619,10 +1626,10 @@ function wt(s) {
|
|
|
1619
1626
|
}
|
|
1620
1627
|
}
|
|
1621
1628
|
}
|
|
1622
|
-
function
|
|
1629
|
+
function zi(s) {
|
|
1623
1630
|
if (H === clearTimeout)
|
|
1624
1631
|
return clearTimeout(s);
|
|
1625
|
-
if ((H ===
|
|
1632
|
+
if ((H === $e || !H) && clearTimeout)
|
|
1626
1633
|
return H = clearTimeout, clearTimeout(s);
|
|
1627
1634
|
try {
|
|
1628
1635
|
return H(s);
|
|
@@ -1634,33 +1641,33 @@ function Oi(s) {
|
|
|
1634
1641
|
}
|
|
1635
1642
|
}
|
|
1636
1643
|
}
|
|
1637
|
-
var
|
|
1638
|
-
function
|
|
1639
|
-
!ue || !te || (ue = !1, te.length ?
|
|
1644
|
+
var K = [], ue = !1, te, Ie = -1;
|
|
1645
|
+
function Oi() {
|
|
1646
|
+
!ue || !te || (ue = !1, te.length ? K = te.concat(K) : Ie = -1, K.length && wt());
|
|
1640
1647
|
}
|
|
1641
|
-
function
|
|
1648
|
+
function wt() {
|
|
1642
1649
|
if (!ue) {
|
|
1643
|
-
var s =
|
|
1650
|
+
var s = yt(Oi);
|
|
1644
1651
|
ue = !0;
|
|
1645
|
-
for (var
|
|
1646
|
-
for (te =
|
|
1652
|
+
for (var n = K.length; n; ) {
|
|
1653
|
+
for (te = K, K = []; ++Ie < n; )
|
|
1647
1654
|
te && te[Ie].run();
|
|
1648
|
-
Ie = -1,
|
|
1655
|
+
Ie = -1, n = K.length;
|
|
1649
1656
|
}
|
|
1650
|
-
te = null, ue = !1,
|
|
1657
|
+
te = null, ue = !1, zi(s);
|
|
1651
1658
|
}
|
|
1652
1659
|
}
|
|
1653
1660
|
L.nextTick = function(s) {
|
|
1654
|
-
var
|
|
1661
|
+
var n = new Array(arguments.length - 1);
|
|
1655
1662
|
if (arguments.length > 1)
|
|
1656
1663
|
for (var l = 1; l < arguments.length; l++)
|
|
1657
|
-
|
|
1658
|
-
|
|
1664
|
+
n[l - 1] = arguments[l];
|
|
1665
|
+
K.push(new It(s, n)), K.length === 1 && !ue && yt(wt);
|
|
1659
1666
|
};
|
|
1660
|
-
function
|
|
1661
|
-
this.fun = s, this.array =
|
|
1667
|
+
function It(s, n) {
|
|
1668
|
+
this.fun = s, this.array = n;
|
|
1662
1669
|
}
|
|
1663
|
-
|
|
1670
|
+
It.prototype.run = function() {
|
|
1664
1671
|
this.fun.apply(null, this.array);
|
|
1665
1672
|
};
|
|
1666
1673
|
L.title = "browser";
|
|
@@ -1695,44 +1702,44 @@ L.chdir = function(s) {
|
|
|
1695
1702
|
L.umask = function() {
|
|
1696
1703
|
return 0;
|
|
1697
1704
|
};
|
|
1698
|
-
var
|
|
1705
|
+
var Di = gt.exports;
|
|
1699
1706
|
(function(s) {
|
|
1700
1707
|
Object.defineProperty(s, Symbol.toStringTag, { value: "Module" });
|
|
1701
|
-
const
|
|
1702
|
-
Object.defineProperty(s, "Buffer", { enumerable: !0, get: () =>
|
|
1703
|
-
})(
|
|
1708
|
+
const n = ft, l = Di, d = (f) => f && f.__esModule ? f : { default: f }, m = d(l), g = globalThis || void 0 || self;
|
|
1709
|
+
Object.defineProperty(s, "Buffer", { enumerable: !0, get: () => n.Buffer }), Object.defineProperty(s, "process", { enumerable: !0, get: () => m.default }), s.global = g;
|
|
1710
|
+
})(dt);
|
|
1704
1711
|
let j;
|
|
1705
|
-
typeof window < "u" ? j = window : typeof self < "u" ? j = self : j =
|
|
1706
|
-
let
|
|
1707
|
-
const
|
|
1708
|
-
Te == null ||
|
|
1709
|
-
return
|
|
1710
|
-
}) : (
|
|
1711
|
-
Te(
|
|
1712
|
-
},
|
|
1713
|
-
const l =
|
|
1714
|
-
Ce(d),
|
|
1715
|
-
}), d =
|
|
1716
|
-
Te(l),
|
|
1717
|
-
},
|
|
1712
|
+
typeof window < "u" ? j = window : typeof self < "u" ? j = self : j = dt.global;
|
|
1713
|
+
let ke = null, Se = null;
|
|
1714
|
+
const at = 20, Ce = j.clearTimeout, lt = j.setTimeout, Te = j.cancelAnimationFrame || j.mozCancelAnimationFrame || j.webkitCancelAnimationFrame, ct = j.requestAnimationFrame || j.mozRequestAnimationFrame || j.webkitRequestAnimationFrame;
|
|
1715
|
+
Te == null || ct == null ? (ke = Ce, Se = function(n) {
|
|
1716
|
+
return lt(n, at);
|
|
1717
|
+
}) : (ke = function([n, l]) {
|
|
1718
|
+
Te(n), Ce(l);
|
|
1719
|
+
}, Se = function(n) {
|
|
1720
|
+
const l = ct(function() {
|
|
1721
|
+
Ce(d), n();
|
|
1722
|
+
}), d = lt(function() {
|
|
1723
|
+
Te(l), n();
|
|
1724
|
+
}, at);
|
|
1718
1725
|
return [l, d];
|
|
1719
1726
|
});
|
|
1720
|
-
function
|
|
1721
|
-
let
|
|
1727
|
+
function Pi(s) {
|
|
1728
|
+
let n, l, d, m, g, f, o;
|
|
1722
1729
|
const w = typeof document < "u" && document.attachEvent;
|
|
1723
1730
|
if (!w) {
|
|
1724
1731
|
f = function(_) {
|
|
1725
|
-
const F = _.__resizeTriggers__, U = F.firstElementChild,
|
|
1726
|
-
|
|
1732
|
+
const F = _.__resizeTriggers__, U = F.firstElementChild, Q = F.lastElementChild, M = U.firstElementChild;
|
|
1733
|
+
Q.scrollLeft = Q.scrollWidth, Q.scrollTop = Q.scrollHeight, M.style.width = U.offsetWidth + 1 + "px", M.style.height = U.offsetHeight + 1 + "px", U.scrollLeft = U.scrollWidth, U.scrollTop = U.scrollHeight;
|
|
1727
1734
|
}, g = function(_) {
|
|
1728
1735
|
return _.offsetWidth !== _.__resizeLast__.width || _.offsetHeight !== _.__resizeLast__.height;
|
|
1729
|
-
},
|
|
1736
|
+
}, o = function(_) {
|
|
1730
1737
|
if (_.target.className && typeof _.target.className.indexOf == "function" && _.target.className.indexOf("contract-trigger") < 0 && _.target.className.indexOf("expand-trigger") < 0)
|
|
1731
1738
|
return;
|
|
1732
1739
|
const F = this;
|
|
1733
|
-
f(this), this.__resizeRAF__ &&
|
|
1734
|
-
g(F) && (F.__resizeLast__.width = F.offsetWidth, F.__resizeLast__.height = F.offsetHeight, F.__resizeListeners__.forEach(function(
|
|
1735
|
-
|
|
1740
|
+
f(this), this.__resizeRAF__ && ke(this.__resizeRAF__), this.__resizeRAF__ = Se(function() {
|
|
1741
|
+
g(F) && (F.__resizeLast__.width = F.offsetWidth, F.__resizeLast__.height = F.offsetHeight, F.__resizeListeners__.forEach(function(M) {
|
|
1742
|
+
M.call(F, _);
|
|
1736
1743
|
}));
|
|
1737
1744
|
});
|
|
1738
1745
|
};
|
|
@@ -1750,11 +1757,11 @@ function Mi(s) {
|
|
|
1750
1757
|
}
|
|
1751
1758
|
}
|
|
1752
1759
|
}
|
|
1753
|
-
l = "resizeanim",
|
|
1760
|
+
l = "resizeanim", n = "@" + A + "keyframes " + l + " { from { opacity: 0; } to { opacity: 0; } } ", m = A + "animation: 1ms " + l + "; ";
|
|
1754
1761
|
}
|
|
1755
1762
|
const v = function(y) {
|
|
1756
1763
|
if (!y.getElementById("detectElementResize")) {
|
|
1757
|
-
const A = (
|
|
1764
|
+
const A = (n || "") + ".resize-triggers { " + (m || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', x = y.head || y.getElementsByTagName("head")[0], B = y.createElement("style");
|
|
1758
1765
|
B.id = "detectElementResize", B.type = "text/css", s != null && B.setAttribute("nonce", s), B.styleSheet ? B.styleSheet.cssText = A : B.appendChild(y.createTextNode(A)), x.appendChild(B);
|
|
1759
1766
|
}
|
|
1760
1767
|
};
|
|
@@ -1769,7 +1776,7 @@ function Mi(s) {
|
|
|
1769
1776
|
const N = x.createElement("div");
|
|
1770
1777
|
N.className = "expand-trigger", N.appendChild(x.createElement("div"));
|
|
1771
1778
|
const _ = x.createElement("div");
|
|
1772
|
-
_.className = "contract-trigger", y.__resizeTriggers__.appendChild(N), y.__resizeTriggers__.appendChild(_), y.appendChild(y.__resizeTriggers__), f(y), y.addEventListener("scroll",
|
|
1779
|
+
_.className = "contract-trigger", y.__resizeTriggers__.appendChild(N), y.__resizeTriggers__.appendChild(_), y.appendChild(y.__resizeTriggers__), f(y), y.addEventListener("scroll", o, !0), d && (y.__resizeTriggers__.__animationListener__ = function(U) {
|
|
1773
1780
|
U.animationName === l && f(y);
|
|
1774
1781
|
}, y.__resizeTriggers__.addEventListener(d, y.__resizeTriggers__.__animationListener__));
|
|
1775
1782
|
}
|
|
@@ -1780,7 +1787,7 @@ function Mi(s) {
|
|
|
1780
1787
|
if (w)
|
|
1781
1788
|
y.detachEvent("onresize", A);
|
|
1782
1789
|
else if (y.__resizeListeners__.splice(y.__resizeListeners__.indexOf(A), 1), !y.__resizeListeners__.length) {
|
|
1783
|
-
y.removeEventListener("scroll",
|
|
1790
|
+
y.removeEventListener("scroll", o, !0), y.__resizeTriggers__.__animationListener__ && (y.__resizeTriggers__.removeEventListener(d, y.__resizeTriggers__.__animationListener__), y.__resizeTriggers__.__animationListener__ = null);
|
|
1784
1791
|
try {
|
|
1785
1792
|
y.__resizeTriggers__ = !y.removeChild(y.__resizeTriggers__);
|
|
1786
1793
|
} catch {
|
|
@@ -1789,9 +1796,9 @@ function Mi(s) {
|
|
|
1789
1796
|
}
|
|
1790
1797
|
};
|
|
1791
1798
|
}
|
|
1792
|
-
class
|
|
1793
|
-
constructor(...
|
|
1794
|
-
super(...
|
|
1799
|
+
class At extends Ht {
|
|
1800
|
+
constructor(...n) {
|
|
1801
|
+
super(...n), this.state = {
|
|
1795
1802
|
height: this.props.defaultHeight || 0,
|
|
1796
1803
|
scaledHeight: this.props.defaultHeight || 0,
|
|
1797
1804
|
scaledWidth: this.props.defaultWidth || 0,
|
|
@@ -1804,8 +1811,8 @@ class xt extends Yt {
|
|
|
1804
1811
|
onResize: m
|
|
1805
1812
|
} = this.props;
|
|
1806
1813
|
if (this._parentNode) {
|
|
1807
|
-
var g, f,
|
|
1808
|
-
const v = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = v.paddingLeft) !== null && g !== void 0 ? g : "0"), C = parseFloat((f = v.paddingRight) !== null && f !== void 0 ? f : "0"), y = parseFloat((
|
|
1814
|
+
var g, f, o, w;
|
|
1815
|
+
const v = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = v.paddingLeft) !== null && g !== void 0 ? g : "0"), C = parseFloat((f = v.paddingRight) !== null && f !== void 0 ? f : "0"), y = parseFloat((o = v.paddingTop) !== null && o !== void 0 ? o : "0"), A = parseFloat((w = v.paddingBottom) !== null && w !== void 0 ? w : "0"), x = this._parentNode.getBoundingClientRect(), B = x.height - y - A, N = x.width - E - C, _ = this._parentNode.offsetHeight - y - A, F = this._parentNode.offsetWidth - E - C;
|
|
1809
1816
|
(!l && (this.state.height !== _ || this.state.scaledHeight !== B) || !d && (this.state.width !== F || this.state.scaledWidth !== N)) && (this.setState({
|
|
1810
1817
|
height: _,
|
|
1811
1818
|
width: F,
|
|
@@ -1824,24 +1831,24 @@ class xt extends Yt {
|
|
|
1824
1831
|
}
|
|
1825
1832
|
componentDidMount() {
|
|
1826
1833
|
const {
|
|
1827
|
-
nonce:
|
|
1834
|
+
nonce: n
|
|
1828
1835
|
} = this.props;
|
|
1829
1836
|
this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && (this._parentNode = this._autoSizer.parentNode, this._parentNode != null && (typeof ResizeObserver < "u" ? (this._resizeObserver = new ResizeObserver(() => {
|
|
1830
1837
|
this._timeoutId = setTimeout(this._onResize, 0);
|
|
1831
|
-
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize =
|
|
1838
|
+
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = Pi(n), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
|
|
1832
1839
|
}
|
|
1833
1840
|
componentWillUnmount() {
|
|
1834
1841
|
this._parentNode && (this._detectElementResize && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize), this._timeoutId !== null && clearTimeout(this._timeoutId), this._resizeObserver && (this._resizeObserver.observe(this._parentNode), this._resizeObserver.disconnect()));
|
|
1835
1842
|
}
|
|
1836
1843
|
render() {
|
|
1837
1844
|
const {
|
|
1838
|
-
children:
|
|
1845
|
+
children: n,
|
|
1839
1846
|
defaultHeight: l,
|
|
1840
1847
|
defaultWidth: d,
|
|
1841
1848
|
disableHeight: m = !1,
|
|
1842
1849
|
disableWidth: g = !1,
|
|
1843
1850
|
nonce: f,
|
|
1844
|
-
onResize:
|
|
1851
|
+
onResize: o,
|
|
1845
1852
|
style: w = {},
|
|
1846
1853
|
tagName: v = "div",
|
|
1847
1854
|
...E
|
|
@@ -1854,22 +1861,22 @@ class xt extends Yt {
|
|
|
1854
1861
|
overflow: "visible"
|
|
1855
1862
|
}, N = {};
|
|
1856
1863
|
let _ = !1;
|
|
1857
|
-
return m || (C === 0 && (_ = !0), B.height = 0, N.height = C, N.scaledHeight = y), g || (x === 0 && (_ = !0), B.width = 0, N.width = x, N.scaledWidth = A),
|
|
1864
|
+
return m || (C === 0 && (_ = !0), B.height = 0, N.height = C, N.scaledHeight = y), g || (x === 0 && (_ = !0), B.width = 0, N.width = x, N.scaledWidth = A), Yt(v, {
|
|
1858
1865
|
ref: this._setRef,
|
|
1859
1866
|
style: {
|
|
1860
1867
|
...B,
|
|
1861
1868
|
...w
|
|
1862
1869
|
},
|
|
1863
1870
|
...E
|
|
1864
|
-
}, !_ &&
|
|
1871
|
+
}, !_ && n(N));
|
|
1865
1872
|
}
|
|
1866
1873
|
}
|
|
1867
|
-
const
|
|
1874
|
+
const Mi = ({
|
|
1868
1875
|
src: s,
|
|
1869
|
-
className:
|
|
1876
|
+
className: n,
|
|
1870
1877
|
style: l
|
|
1871
|
-
}) => /* @__PURE__ */ c(
|
|
1872
|
-
|
|
1878
|
+
}) => /* @__PURE__ */ c(At, { className: n, style: l, children: ({ height: d, width: m }) => /* @__PURE__ */ c(
|
|
1879
|
+
Kt,
|
|
1873
1880
|
{
|
|
1874
1881
|
autoplay: !0,
|
|
1875
1882
|
loop: !1,
|
|
@@ -1877,111 +1884,111 @@ const qi = ({
|
|
|
1877
1884
|
src: `https://url-proxy.streamlayer.io?${s}`,
|
|
1878
1885
|
style: { height: d, width: m }
|
|
1879
1886
|
}
|
|
1880
|
-
) }),
|
|
1887
|
+
) }), qi = /* @__PURE__ */ h("div")({
|
|
1881
1888
|
name: "Container",
|
|
1882
1889
|
class: "c1htq1lb",
|
|
1883
1890
|
propsAsIs: !1
|
|
1884
|
-
}),
|
|
1891
|
+
}), ji = /* @__PURE__ */ h("div")({
|
|
1885
1892
|
name: "Content",
|
|
1886
1893
|
class: "cjyzpp7",
|
|
1887
1894
|
propsAsIs: !1
|
|
1888
|
-
}),
|
|
1895
|
+
}), Gi = /* @__PURE__ */ h("div")({
|
|
1889
1896
|
name: "Graphic",
|
|
1890
1897
|
class: "g16mldgz",
|
|
1891
1898
|
propsAsIs: !1
|
|
1892
|
-
}),
|
|
1899
|
+
}), Wi = /* @__PURE__ */ h("div")({
|
|
1893
1900
|
name: "Headline",
|
|
1894
1901
|
class: "h69js65",
|
|
1895
1902
|
propsAsIs: !1
|
|
1896
|
-
}),
|
|
1903
|
+
}), Hi = /* @__PURE__ */ h("div")({
|
|
1897
1904
|
name: "StepsContainer",
|
|
1898
1905
|
class: "smm7qmo",
|
|
1899
1906
|
propsAsIs: !1
|
|
1900
|
-
}),
|
|
1907
|
+
}), Yi = /* @__PURE__ */ h("span")({
|
|
1901
1908
|
name: "StepIndicator",
|
|
1902
1909
|
class: "s17knuw2",
|
|
1903
1910
|
propsAsIs: !1
|
|
1904
|
-
}),
|
|
1911
|
+
}), Vi = ({
|
|
1905
1912
|
graphicSrc: s,
|
|
1906
|
-
headline:
|
|
1913
|
+
headline: n,
|
|
1907
1914
|
stepsCount: l,
|
|
1908
1915
|
currentStep: d
|
|
1909
|
-
}) => /* @__PURE__ */ I(
|
|
1910
|
-
/* @__PURE__ */ I(
|
|
1911
|
-
/* @__PURE__ */ c(
|
|
1912
|
-
|
|
1916
|
+
}) => /* @__PURE__ */ I(qi, { children: [
|
|
1917
|
+
/* @__PURE__ */ I(ji, { children: [
|
|
1918
|
+
/* @__PURE__ */ c(Gi, { children: /* @__PURE__ */ c(Mi, { src: s }) }),
|
|
1919
|
+
n && /* @__PURE__ */ c(Wi, { children: n })
|
|
1913
1920
|
] }),
|
|
1914
|
-
/* @__PURE__ */ c(
|
|
1915
|
-
] }),
|
|
1921
|
+
/* @__PURE__ */ c(Hi, { children: Array.from({ length: l }).map((m, g) => /* @__PURE__ */ c(Yi, { "data-active": d === g }, g)) })
|
|
1922
|
+
] }), Qi = /* @__PURE__ */ h("div")({
|
|
1916
1923
|
name: "Container",
|
|
1917
1924
|
class: "c1itm4k7",
|
|
1918
1925
|
propsAsIs: !1
|
|
1919
|
-
}),
|
|
1926
|
+
}), Ki = /* @__PURE__ */ h("div")({
|
|
1920
1927
|
name: "IconContainer",
|
|
1921
1928
|
class: "i1w4fsni",
|
|
1922
1929
|
propsAsIs: !1
|
|
1923
|
-
}),
|
|
1930
|
+
}), Xi = () => z, Ji = /* @__PURE__ */ h(Xi())({
|
|
1924
1931
|
name: "InviteGameIcon",
|
|
1925
1932
|
class: "i19m85r1",
|
|
1926
1933
|
propsAsIs: !0
|
|
1927
|
-
}),
|
|
1934
|
+
}), Zi = /* @__PURE__ */ h("div")({
|
|
1928
1935
|
name: "Content",
|
|
1929
1936
|
class: "c1mbu204",
|
|
1930
1937
|
propsAsIs: !1
|
|
1931
|
-
}),
|
|
1938
|
+
}), en = /* @__PURE__ */ h("div")({
|
|
1932
1939
|
name: "Heading",
|
|
1933
1940
|
class: "h1amdqtv",
|
|
1934
1941
|
propsAsIs: !1
|
|
1935
|
-
}),
|
|
1942
|
+
}), tn = /* @__PURE__ */ h("div")({
|
|
1936
1943
|
name: "Subtext",
|
|
1937
1944
|
class: "s1lhlj9j",
|
|
1938
1945
|
propsAsIs: !1
|
|
1939
|
-
}),
|
|
1946
|
+
}), rn = /* @__PURE__ */ h("div")({
|
|
1940
1947
|
name: "LinkContainer",
|
|
1941
1948
|
class: "l1wot35e",
|
|
1942
1949
|
propsAsIs: !1
|
|
1943
|
-
}),
|
|
1950
|
+
}), nn = /* @__PURE__ */ h("div")({
|
|
1944
1951
|
name: "LinkInfo",
|
|
1945
1952
|
class: "l1jdw39q",
|
|
1946
1953
|
propsAsIs: !1
|
|
1947
|
-
}),
|
|
1954
|
+
}), sn = /* @__PURE__ */ h("span")({
|
|
1948
1955
|
name: "LinkTitle",
|
|
1949
1956
|
class: "l1cr5mk",
|
|
1950
1957
|
propsAsIs: !1
|
|
1951
|
-
}),
|
|
1958
|
+
}), on = /* @__PURE__ */ h("span")({
|
|
1952
1959
|
name: "LinkAddress",
|
|
1953
1960
|
class: "lvi87q4",
|
|
1954
1961
|
propsAsIs: !1
|
|
1955
|
-
}),
|
|
1962
|
+
}), an = () => z, ln = /* @__PURE__ */ h(an())({
|
|
1956
1963
|
name: "LinkIcon",
|
|
1957
1964
|
class: "l1pqlvw3",
|
|
1958
1965
|
propsAsIs: !0
|
|
1959
|
-
}),
|
|
1966
|
+
}), cn = /* @__PURE__ */ h("div")({
|
|
1960
1967
|
name: "SocialLinksContainer",
|
|
1961
1968
|
class: "s1n7kzeh",
|
|
1962
1969
|
propsAsIs: !1
|
|
1963
|
-
}),
|
|
1970
|
+
}), un = /* @__PURE__ */ h("a")({
|
|
1964
1971
|
name: "SocialLink",
|
|
1965
1972
|
class: "s2m9o9y",
|
|
1966
1973
|
propsAsIs: !1
|
|
1967
|
-
}),
|
|
1974
|
+
}), hn = /* @__PURE__ */ h("span")({
|
|
1968
1975
|
name: "SocialLinkLabel",
|
|
1969
1976
|
class: "sewjbbn",
|
|
1970
1977
|
propsAsIs: !1
|
|
1971
1978
|
}), pn = ({
|
|
1972
1979
|
inviteLink: s,
|
|
1973
|
-
socialLinks:
|
|
1980
|
+
socialLinks: n,
|
|
1974
1981
|
inviteCardTitle: l,
|
|
1975
1982
|
inviteCardSubtext: d,
|
|
1976
1983
|
primaryColor: m,
|
|
1977
1984
|
className: g
|
|
1978
|
-
}) => /* @__PURE__ */ I(
|
|
1979
|
-
/* @__PURE__ */ c(
|
|
1980
|
-
/* @__PURE__ */ I(
|
|
1981
|
-
/* @__PURE__ */ c(
|
|
1982
|
-
/* @__PURE__ */ c(
|
|
1985
|
+
}) => /* @__PURE__ */ I(Qi, { className: g, children: [
|
|
1986
|
+
/* @__PURE__ */ c(Ki, { style: { backgroundColor: m }, children: /* @__PURE__ */ c(Ji, { name: "invite-game-icon" }) }),
|
|
1987
|
+
/* @__PURE__ */ I(Zi, { children: [
|
|
1988
|
+
/* @__PURE__ */ c(en, { children: l || "" }),
|
|
1989
|
+
/* @__PURE__ */ c(tn, { children: d || "" })
|
|
1983
1990
|
] }),
|
|
1984
|
-
s && /* @__PURE__ */ I(
|
|
1991
|
+
s && /* @__PURE__ */ I(rn, { onClick: async () => {
|
|
1985
1992
|
if (s)
|
|
1986
1993
|
try {
|
|
1987
1994
|
await navigator.clipboard.writeText(s);
|
|
@@ -1989,90 +1996,90 @@ const qi = ({
|
|
|
1989
1996
|
console.error("Unable to copy to clipboard", f);
|
|
1990
1997
|
}
|
|
1991
1998
|
}, children: [
|
|
1992
|
-
/* @__PURE__ */ I(
|
|
1993
|
-
/* @__PURE__ */ c(
|
|
1994
|
-
/* @__PURE__ */ c(
|
|
1999
|
+
/* @__PURE__ */ I(nn, { children: [
|
|
2000
|
+
/* @__PURE__ */ c(sn, { children: "Invite link" }),
|
|
2001
|
+
/* @__PURE__ */ c(on, { children: s })
|
|
1995
2002
|
] }),
|
|
1996
|
-
/* @__PURE__ */ c(
|
|
2003
|
+
/* @__PURE__ */ c(ln, { name: "icon-copy" })
|
|
1997
2004
|
] }),
|
|
1998
|
-
|
|
2005
|
+
n && n.length > 0 && /* @__PURE__ */ c(cn, { children: n.map(({ icon: f, link: o, label: w }) => /* @__PURE__ */ I(un, { href: o, target: "_blank", children: [
|
|
1999
2006
|
/* @__PURE__ */ c(z, { name: f }),
|
|
2000
|
-
/* @__PURE__ */ c(
|
|
2001
|
-
] },
|
|
2002
|
-
] }),
|
|
2007
|
+
/* @__PURE__ */ c(hn, { children: w })
|
|
2008
|
+
] }, o)) })
|
|
2009
|
+
] }), dn = /* @__PURE__ */ h("div")({
|
|
2003
2010
|
name: "Container",
|
|
2004
2011
|
class: "cm0bev",
|
|
2005
2012
|
propsAsIs: !1
|
|
2006
|
-
}),
|
|
2013
|
+
}), fn = /* @__PURE__ */ h("div")({
|
|
2007
2014
|
name: "Content",
|
|
2008
2015
|
class: "ce7x737",
|
|
2009
2016
|
propsAsIs: !1
|
|
2010
|
-
}),
|
|
2017
|
+
}), mn = /* @__PURE__ */ h("div")({
|
|
2011
2018
|
name: "Title",
|
|
2012
2019
|
class: "tc2tor6",
|
|
2013
2020
|
propsAsIs: !1
|
|
2014
|
-
}),
|
|
2021
|
+
}), gn = /* @__PURE__ */ h("div")({
|
|
2015
2022
|
name: "RulesList",
|
|
2016
2023
|
class: "r1k5klql",
|
|
2017
2024
|
propsAsIs: !1
|
|
2018
|
-
}),
|
|
2025
|
+
}), yn = /* @__PURE__ */ h("div")({
|
|
2019
2026
|
name: "RulesItem",
|
|
2020
2027
|
class: "r1tf3ft2",
|
|
2021
2028
|
propsAsIs: !1
|
|
2022
|
-
}),
|
|
2029
|
+
}), wn = /* @__PURE__ */ h("div")({
|
|
2023
2030
|
name: "RuleIcon",
|
|
2024
2031
|
class: "rwpvg1k",
|
|
2025
2032
|
propsAsIs: !1
|
|
2026
|
-
}),
|
|
2033
|
+
}), In = /* @__PURE__ */ h("div")({
|
|
2027
2034
|
name: "RuleText",
|
|
2028
2035
|
class: "rbxiag0",
|
|
2029
2036
|
propsAsIs: !1
|
|
2030
|
-
}),
|
|
2037
|
+
}), An = /* @__PURE__ */ h("button")({
|
|
2031
2038
|
name: "TermsButton",
|
|
2032
2039
|
class: "t6cyrry",
|
|
2033
2040
|
propsAsIs: !1
|
|
2034
|
-
}),
|
|
2035
|
-
/* @__PURE__ */ I(
|
|
2036
|
-
/* @__PURE__ */ c(
|
|
2037
|
-
/* @__PURE__ */ c(
|
|
2038
|
-
m && /* @__PURE__ */ c(
|
|
2039
|
-
/* @__PURE__ */ c(
|
|
2041
|
+
}), xn = ({ rules: s, rulesTitle: n, primaryColor: l }) => /* @__PURE__ */ I(dn, { children: [
|
|
2042
|
+
/* @__PURE__ */ I(fn, { children: [
|
|
2043
|
+
/* @__PURE__ */ c(mn, { children: n }),
|
|
2044
|
+
/* @__PURE__ */ c(gn, { children: s == null ? void 0 : s.map(({ label: d, icon: m }, g) => /* @__PURE__ */ I(yn, { children: [
|
|
2045
|
+
m && /* @__PURE__ */ c(wn, { style: { backgroundColor: l }, children: /* @__PURE__ */ c(z, { name: m, "data-icon": m }) }),
|
|
2046
|
+
/* @__PURE__ */ c(In, { children: d })
|
|
2040
2047
|
] }, g)) })
|
|
2041
2048
|
] }),
|
|
2042
|
-
/* @__PURE__ */ c(
|
|
2043
|
-
] }),
|
|
2049
|
+
/* @__PURE__ */ c(An, { children: "See Terms and Conditions" })
|
|
2050
|
+
] }), bn = /* @__PURE__ */ h("button")({
|
|
2044
2051
|
name: "SButton",
|
|
2045
2052
|
class: "s1nve60q",
|
|
2046
2053
|
propsAsIs: !1
|
|
2047
|
-
}),
|
|
2054
|
+
}), En = /* @__PURE__ */ h("span")({
|
|
2048
2055
|
name: "ButtonLabel",
|
|
2049
2056
|
class: "b1xoswwx",
|
|
2050
2057
|
propsAsIs: !1
|
|
2051
|
-
}),
|
|
2058
|
+
}), Bn = ({ disabled: s, variant: n = "primary", onClick: l, children: d, ...m }) => /* @__PURE__ */ c(bn, { onClick: l, disabled: s, "data-variant": n, ...m, children: /* @__PURE__ */ c(En, { children: d }) }), vn = /* @__PURE__ */ h("div")({
|
|
2052
2059
|
name: "Container",
|
|
2053
2060
|
class: "c18uddbs",
|
|
2054
2061
|
propsAsIs: !1
|
|
2055
|
-
}),
|
|
2062
|
+
}), _n = /* @__PURE__ */ h("div")({
|
|
2056
2063
|
name: "Content",
|
|
2057
2064
|
class: "cvcfjf6",
|
|
2058
2065
|
propsAsIs: !1
|
|
2059
|
-
}),
|
|
2066
|
+
}), Cn = /* @__PURE__ */ h("div")({
|
|
2060
2067
|
name: "OnboardingHeader",
|
|
2061
2068
|
class: "o1ie27lw",
|
|
2062
2069
|
propsAsIs: !1
|
|
2063
|
-
}),
|
|
2070
|
+
}), Tn = /* @__PURE__ */ h("button")({
|
|
2064
2071
|
name: "CloseBtn",
|
|
2065
2072
|
class: "c15cjkwi",
|
|
2066
2073
|
propsAsIs: !1
|
|
2067
|
-
}),
|
|
2074
|
+
}), Fn = () => z, $n = /* @__PURE__ */ h(Fn())({
|
|
2068
2075
|
name: "IconClose",
|
|
2069
2076
|
class: "i1mavjt2",
|
|
2070
2077
|
propsAsIs: !0
|
|
2071
|
-
}),
|
|
2078
|
+
}), kn = /* @__PURE__ */ h("div")({
|
|
2072
2079
|
name: "OnboardingFooter",
|
|
2073
2080
|
class: "o1x0dyzv",
|
|
2074
2081
|
propsAsIs: !1
|
|
2075
|
-
}),
|
|
2082
|
+
}), Sn = () => Bn, Ln = /* @__PURE__ */ h(Sn())({
|
|
2076
2083
|
name: "OnboardingActionBtn",
|
|
2077
2084
|
class: "o1jfi9c3",
|
|
2078
2085
|
propsAsIs: !0
|
|
@@ -2080,34 +2087,34 @@ const qi = ({
|
|
|
2080
2087
|
steps: !1,
|
|
2081
2088
|
rules: !1,
|
|
2082
2089
|
inviteCard: !1
|
|
2083
|
-
},
|
|
2090
|
+
}, Nn = ({
|
|
2084
2091
|
gamification: s,
|
|
2085
|
-
steps:
|
|
2092
|
+
steps: n,
|
|
2086
2093
|
rules: l,
|
|
2087
2094
|
rulesBtnLabel: d,
|
|
2088
2095
|
rulesTitle: m,
|
|
2089
2096
|
primaryColor: g,
|
|
2090
2097
|
inviteLink: f,
|
|
2091
|
-
socialLinks:
|
|
2098
|
+
socialLinks: o,
|
|
2092
2099
|
inviteCardTitle: w,
|
|
2093
2100
|
inviteCardSubtext: v,
|
|
2094
2101
|
inviteCardBtnLabel: E,
|
|
2095
2102
|
onClose: C
|
|
2096
2103
|
}) => {
|
|
2097
|
-
const [y, A] =
|
|
2104
|
+
const [y, A] = V(0), [x, B] = V(le);
|
|
2098
2105
|
he(() => {
|
|
2099
|
-
|
|
2106
|
+
n != null && n.length ? B({ ...le, steps: !0 }) : l != null && l.length ? B({ ...le, rules: !0 }) : B({ ...le, inviteCard: !0 });
|
|
2100
2107
|
}, []);
|
|
2101
|
-
const N =
|
|
2102
|
-
|
|
2103
|
-
}, [y,
|
|
2108
|
+
const N = Le(() => x.steps && y === 0 ? "Continue" : x.rules ? d || "Got it" : x.inviteCard ? E || "Play Now" : "Next", [x, y, d, E]), _ = pt(() => {
|
|
2109
|
+
n != null && n.length && y < n.length - 1 ? A((U) => ++U) : l != null && l.length && x.steps ? B({ ...le, rules: !0 }) : x.rules && B({ ...le, inviteCard: !0 });
|
|
2110
|
+
}, [y, n == null ? void 0 : n.length, l == null ? void 0 : l.length, x, A, B]), F = async () => {
|
|
2104
2111
|
await s.onboardingStatus.submitInplay();
|
|
2105
2112
|
};
|
|
2106
|
-
return /* @__PURE__ */ c(
|
|
2107
|
-
/* @__PURE__ */ c(
|
|
2108
|
-
/* @__PURE__ */ I(
|
|
2109
|
-
x.steps && (
|
|
2110
|
-
x.rules && /* @__PURE__ */ c(
|
|
2113
|
+
return /* @__PURE__ */ c(At, { children: ({ width: U, height: Q }) => /* @__PURE__ */ I(vn, { style: { width: U, height: Q }, children: [
|
|
2114
|
+
/* @__PURE__ */ c(Cn, { children: /* @__PURE__ */ c(Tn, { onClick: C, children: /* @__PURE__ */ c($n, { name: "icon-close-btn-gray" }) }) }),
|
|
2115
|
+
/* @__PURE__ */ I(_n, { children: [
|
|
2116
|
+
x.steps && (n == null ? void 0 : n.length) && /* @__PURE__ */ c(Vi, { stepsCount: n.length, currentStep: y, ...n[y] }),
|
|
2117
|
+
x.rules && /* @__PURE__ */ c(xn, { rules: l, rulesTitle: m, primaryColor: g }),
|
|
2111
2118
|
x.inviteCard && /* @__PURE__ */ c(
|
|
2112
2119
|
pn,
|
|
2113
2120
|
{
|
|
@@ -2115,92 +2122,92 @@ const qi = ({
|
|
|
2115
2122
|
inviteCardTitle: w,
|
|
2116
2123
|
inviteCardSubtext: v,
|
|
2117
2124
|
primaryColor: g,
|
|
2118
|
-
socialLinks:
|
|
2125
|
+
socialLinks: o
|
|
2119
2126
|
}
|
|
2120
2127
|
)
|
|
2121
2128
|
] }),
|
|
2122
|
-
/* @__PURE__ */ c(
|
|
2129
|
+
/* @__PURE__ */ c(kn, { children: /* @__PURE__ */ c(Ln, { onClick: x.inviteCard ? F : _, children: N }) })
|
|
2123
2130
|
] }) });
|
|
2124
|
-
},
|
|
2131
|
+
}, Rn = /* @__PURE__ */ h("div")({
|
|
2125
2132
|
name: "Container",
|
|
2126
2133
|
class: "c1pgyo67",
|
|
2127
2134
|
propsAsIs: !1
|
|
2128
|
-
}),
|
|
2135
|
+
}), Un = "hx17qu6", xt = ({
|
|
2129
2136
|
children: s,
|
|
2130
|
-
style:
|
|
2137
|
+
style: n,
|
|
2131
2138
|
className: l,
|
|
2132
2139
|
hiding: d
|
|
2133
|
-
}) => /* @__PURE__ */ c(
|
|
2134
|
-
style:
|
|
2135
|
-
className:
|
|
2140
|
+
}) => /* @__PURE__ */ c(Rn, {
|
|
2141
|
+
style: n,
|
|
2142
|
+
className: Qt(l, d && Un),
|
|
2136
2143
|
children: s
|
|
2137
|
-
}),
|
|
2144
|
+
}), zn = /* @__PURE__ */ h("div")({
|
|
2138
2145
|
name: "Container",
|
|
2139
2146
|
class: "cocfo2g",
|
|
2140
2147
|
propsAsIs: !1
|
|
2141
|
-
}),
|
|
2148
|
+
}), On = /* @__PURE__ */ h("div")({
|
|
2142
2149
|
name: "CloseIconWrap",
|
|
2143
2150
|
class: "c1pdhxdk",
|
|
2144
2151
|
propsAsIs: !1
|
|
2145
|
-
}),
|
|
2152
|
+
}), Dn = () => z, Pn = /* @__PURE__ */ h(Dn())({
|
|
2146
2153
|
name: "CloseIcon",
|
|
2147
2154
|
class: "c1funj3r",
|
|
2148
2155
|
propsAsIs: !0
|
|
2149
|
-
}),
|
|
2156
|
+
}), Mn = /* @__PURE__ */ h("div")({
|
|
2150
2157
|
name: "Title",
|
|
2151
2158
|
class: "t1okg06y",
|
|
2152
2159
|
propsAsIs: !1
|
|
2153
|
-
}),
|
|
2160
|
+
}), qn = /* @__PURE__ */ h("img")({
|
|
2154
2161
|
name: "SponsorLogo",
|
|
2155
2162
|
class: "sb1n923",
|
|
2156
2163
|
propsAsIs: !1
|
|
2157
|
-
}),
|
|
2164
|
+
}), jn = /* @__PURE__ */ h("div")({
|
|
2158
2165
|
name: "PresentsTitle",
|
|
2159
2166
|
class: "p1stllxd",
|
|
2160
2167
|
propsAsIs: !1
|
|
2161
|
-
}),
|
|
2168
|
+
}), Gn = /* @__PURE__ */ h("div")({
|
|
2162
2169
|
name: "Subtitle",
|
|
2163
2170
|
class: "s13kvdzw",
|
|
2164
2171
|
propsAsIs: !1
|
|
2165
|
-
}),
|
|
2172
|
+
}), Wn = /* @__PURE__ */ h("div")({
|
|
2166
2173
|
name: "Description",
|
|
2167
2174
|
class: "dfvmv3t",
|
|
2168
2175
|
propsAsIs: !1
|
|
2169
|
-
}),
|
|
2176
|
+
}), Hn = /* @__PURE__ */ h("button")({
|
|
2170
2177
|
name: "ActionButton",
|
|
2171
2178
|
class: "ay8e3j9",
|
|
2172
2179
|
propsAsIs: !1
|
|
2173
|
-
}),
|
|
2174
|
-
var d, m, g, f,
|
|
2175
|
-
return /* @__PURE__ */ I(
|
|
2176
|
-
/* @__PURE__ */ c(
|
|
2177
|
-
((m = (d = l == null ? void 0 : l.titleCard) == null ? void 0 : d.media) == null ? void 0 : m.sponsorLogo) && /* @__PURE__ */ I(
|
|
2178
|
-
/* @__PURE__ */ c(
|
|
2179
|
-
/* @__PURE__ */ c(
|
|
2180
|
+
}), Yn = ({ close: s, action: n, onboarding: l }) => {
|
|
2181
|
+
var d, m, g, f, o, w, v, E;
|
|
2182
|
+
return /* @__PURE__ */ I(zn, { children: [
|
|
2183
|
+
/* @__PURE__ */ c(On, { onClick: s, children: /* @__PURE__ */ c(Pn, { name: "icon-cross" }) }),
|
|
2184
|
+
((m = (d = l == null ? void 0 : l.titleCard) == null ? void 0 : d.media) == null ? void 0 : m.sponsorLogo) && /* @__PURE__ */ I(Mn, { children: [
|
|
2185
|
+
/* @__PURE__ */ c(qn, { alt: "sponsor-logo", src: (f = (g = l == null ? void 0 : l.titleCard) == null ? void 0 : g.media) == null ? void 0 : f.sponsorLogo }),
|
|
2186
|
+
/* @__PURE__ */ c(jn, { children: "PRESENTS" })
|
|
2180
2187
|
] }),
|
|
2181
|
-
((
|
|
2182
|
-
((v = l == null ? void 0 : l.titleCard) == null ? void 0 : v.subtitle) && /* @__PURE__ */ c(
|
|
2183
|
-
/* @__PURE__ */ c(
|
|
2188
|
+
((o = l == null ? void 0 : l.titleCard) == null ? void 0 : o.title) && /* @__PURE__ */ c(Gn, { children: (w = l == null ? void 0 : l.titleCard) == null ? void 0 : w.title }),
|
|
2189
|
+
((v = l == null ? void 0 : l.titleCard) == null ? void 0 : v.subtitle) && /* @__PURE__ */ c(Wn, { children: (E = l == null ? void 0 : l.titleCard) == null ? void 0 : E.subtitle }),
|
|
2190
|
+
/* @__PURE__ */ c(Hn, { onClick: n, children: "Play Now" })
|
|
2184
2191
|
] });
|
|
2185
|
-
},
|
|
2192
|
+
}, Vn = () => xt, Qn = /* @__PURE__ */ h(Vn())({
|
|
2186
2193
|
name: "OnboardingContainer",
|
|
2187
2194
|
class: "o9squag",
|
|
2188
2195
|
propsAsIs: !0
|
|
2189
|
-
}),
|
|
2196
|
+
}), Kn = ({
|
|
2190
2197
|
hiding: s,
|
|
2191
|
-
deepLink:
|
|
2198
|
+
deepLink: n,
|
|
2192
2199
|
onboardingOpts: l,
|
|
2193
2200
|
setOpened: d,
|
|
2194
2201
|
notification: m,
|
|
2195
2202
|
gamification: g
|
|
2196
2203
|
}) => {
|
|
2197
|
-
var f,
|
|
2204
|
+
var f, o, w, v, E, C;
|
|
2198
2205
|
const {
|
|
2199
2206
|
data: y
|
|
2200
|
-
} = Z(
|
|
2201
|
-
return /* @__PURE__ */ c(
|
|
2207
|
+
} = Z(n.$store);
|
|
2208
|
+
return /* @__PURE__ */ c(Qn, {
|
|
2202
2209
|
hiding: s,
|
|
2203
|
-
children: /* @__PURE__ */ c(
|
|
2210
|
+
children: /* @__PURE__ */ c(Nn, {
|
|
2204
2211
|
rules: [{
|
|
2205
2212
|
label: "Answer as many questions as you like.",
|
|
2206
2213
|
icon: "icon-btn-feature-groups"
|
|
@@ -2212,7 +2219,7 @@ const qi = ({
|
|
|
2212
2219
|
icon: "icon-trophy"
|
|
2213
2220
|
}],
|
|
2214
2221
|
rulesBtnLabel: (f = l.rules) == null ? void 0 : f.buttonLabel,
|
|
2215
|
-
rulesTitle: (
|
|
2222
|
+
rulesTitle: (o = l.rules) == null ? void 0 : o.heading,
|
|
2216
2223
|
steps: [{
|
|
2217
2224
|
graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_01.json",
|
|
2218
2225
|
headline: "Welcome to the Featured Groups +"
|
|
@@ -2250,79 +2257,66 @@ const qi = ({
|
|
|
2250
2257
|
gamification: g
|
|
2251
2258
|
})
|
|
2252
2259
|
});
|
|
2253
|
-
},
|
|
2260
|
+
}, Xn = ({
|
|
2254
2261
|
sdk: s,
|
|
2255
|
-
|
|
2256
|
-
notification: l,
|
|
2257
|
-
NotificationContainer: d
|
|
2262
|
+
notification: n
|
|
2258
2263
|
}) => {
|
|
2259
|
-
const [
|
|
2260
|
-
return
|
|
2261
|
-
notification:
|
|
2262
|
-
setOpened:
|
|
2263
|
-
gamification:
|
|
2264
|
-
onboardingOpts:
|
|
2265
|
-
deepLink:
|
|
2266
|
-
}) : /* @__PURE__ */ c(
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
action: () => g(!0),
|
|
2272
|
-
onboarding: n
|
|
2273
|
-
})
|
|
2264
|
+
const [l, d] = V(!1), m = s.getFeature(Ne.GAMES), g = n.data.onboarding;
|
|
2265
|
+
return l && m && g ? /* @__PURE__ */ c(Kn, {
|
|
2266
|
+
notification: n,
|
|
2267
|
+
setOpened: d,
|
|
2268
|
+
gamification: m,
|
|
2269
|
+
onboardingOpts: g,
|
|
2270
|
+
deepLink: m.deepLink
|
|
2271
|
+
}) : /* @__PURE__ */ c("div", {
|
|
2272
|
+
children: /* @__PURE__ */ c(Yn, {
|
|
2273
|
+
close: n.close,
|
|
2274
|
+
action: () => d(!0),
|
|
2275
|
+
onboarding: g
|
|
2274
2276
|
})
|
|
2275
2277
|
});
|
|
2276
|
-
},
|
|
2278
|
+
}, Jn = () => xt, Zn = /* @__PURE__ */ h(Jn())({
|
|
2277
2279
|
name: "Container",
|
|
2278
2280
|
class: "ctckejh",
|
|
2279
2281
|
propsAsIs: !0
|
|
2280
|
-
}), es = ({ sdk: s }) => {
|
|
2281
|
-
const
|
|
2282
|
+
}), es = ({ sdk: s, notification: n }) => n.type === we.QUESTION ? /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(ot, { ...n }) }) : n.type === we.QUESTION_RESOLVED ? /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(ot, { ...n }) }) : n.type === we.ONBOARDING ? /* @__PURE__ */ c(Xn, { sdk: s, notification: n, hiding: n.hiding }) : null, ts = ({ sdk: s }) => {
|
|
2283
|
+
const [n] = V(s.getNotificationsStore()), l = Z(n), d = Le(() => {
|
|
2282
2284
|
if (!(l != null && l.size))
|
|
2283
2285
|
return null;
|
|
2284
2286
|
for (const m of l.values())
|
|
2285
|
-
if (m.type ===
|
|
2287
|
+
if (m.type === we.ONBOARDING)
|
|
2286
2288
|
return m;
|
|
2287
2289
|
return l.values().next().value;
|
|
2288
2290
|
}, [l]);
|
|
2289
|
-
return
|
|
2290
|
-
|
|
2291
|
-
{
|
|
2292
|
-
NotificationContainer: Fe,
|
|
2293
|
-
sdk: s,
|
|
2294
|
-
notification: d,
|
|
2295
|
-
hiding: d.hiding
|
|
2296
|
-
}
|
|
2297
|
-
) : null;
|
|
2298
|
-
}, ts = /* @__PURE__ */ h("div")({
|
|
2291
|
+
return d ? /* @__PURE__ */ c(Zn, { hiding: d.hiding, children: /* @__PURE__ */ c(es, { sdk: s, notification: d }) }) : null;
|
|
2292
|
+
}, rs = /* @__PURE__ */ h("div")({
|
|
2299
2293
|
name: "SDKContainer",
|
|
2300
2294
|
class: "stu11h7",
|
|
2301
2295
|
propsAsIs: !1
|
|
2302
|
-
}),
|
|
2296
|
+
}), ut = /* @__PURE__ */ h("div")({
|
|
2303
2297
|
name: "SDKScrollContainer",
|
|
2304
2298
|
class: "s1ucohr1",
|
|
2305
2299
|
propsAsIs: !1
|
|
2306
|
-
}),
|
|
2300
|
+
}), is = /* @__PURE__ */ h("div")({
|
|
2307
2301
|
name: "SDKContentContainer",
|
|
2308
2302
|
class: "s1el4wvm",
|
|
2309
2303
|
propsAsIs: !1
|
|
2310
|
-
}),
|
|
2304
|
+
}), ns = () => is, Is = /* @__PURE__ */ h(ns())({
|
|
2311
2305
|
name: "SDKWhiteContainer",
|
|
2312
2306
|
class: "s1oe3036",
|
|
2313
2307
|
propsAsIs: !0
|
|
2314
|
-
}),
|
|
2315
|
-
const
|
|
2308
|
+
}), ss = (s) => {
|
|
2309
|
+
const n = ht(""), [l, d] = V(!1), m = Z(s.status), g = Z(s.userId()), f = m === "ready", [o, w] = V(ee), v = pt(
|
|
2316
2310
|
(y, A) => {
|
|
2317
|
-
w(A), A === ee ? (y && s.createEventSession(y), s.openFeature(
|
|
2311
|
+
w(A), A === ee ? (y && s.createEventSession(y), s.openFeature(Ne.GAMES)) : s.closeFeature();
|
|
2318
2312
|
},
|
|
2319
2313
|
[s]
|
|
2320
2314
|
);
|
|
2321
2315
|
he(() => {
|
|
2322
|
-
!f &&
|
|
2323
|
-
}, [f,
|
|
2316
|
+
!f && o === ee && (w(ce), s.closeFeature());
|
|
2317
|
+
}, [f, o, s]);
|
|
2324
2318
|
const E = (y) => {
|
|
2325
|
-
|
|
2319
|
+
n.current = y, s.initializeApp().then(({ enabled: A, err: x }) => {
|
|
2326
2320
|
if (d(!0), x) {
|
|
2327
2321
|
v(y, ce);
|
|
2328
2322
|
return;
|
|
@@ -2346,93 +2340,93 @@ const qi = ({
|
|
|
2346
2340
|
f && (w(ce), s.disableApp());
|
|
2347
2341
|
return;
|
|
2348
2342
|
}
|
|
2349
|
-
g &&
|
|
2350
|
-
s.createEventSession(
|
|
2343
|
+
g && n.current && l && s.initializeApp().then(() => {
|
|
2344
|
+
s.createEventSession(n.current);
|
|
2351
2345
|
});
|
|
2352
2346
|
}, [g]), {
|
|
2353
2347
|
sdkEnabled: l,
|
|
2354
2348
|
sdkReady: f,
|
|
2355
|
-
activeOverlay:
|
|
2349
|
+
activeOverlay: o,
|
|
2356
2350
|
activateAndLoadOverlay: v,
|
|
2357
2351
|
enableSdk: E,
|
|
2358
2352
|
disableSdk: C,
|
|
2359
2353
|
isLogged: !!g
|
|
2360
2354
|
};
|
|
2361
|
-
},
|
|
2362
|
-
const
|
|
2355
|
+
}, os = (s) => {
|
|
2356
|
+
const n = Z(s.getActiveFeature()), l = Z(s.streamStore()), [d, m] = V(null);
|
|
2363
2357
|
return he(() => {
|
|
2364
2358
|
const g = s.getFeatures();
|
|
2365
|
-
if (
|
|
2366
|
-
for (const [f,
|
|
2367
|
-
f ===
|
|
2359
|
+
if (n)
|
|
2360
|
+
for (const [f, o] of g)
|
|
2361
|
+
f === n ? o.status.get() === de.Suspended && (o.enable(), m(o)) : o.status.get() === de.Ready && o.disable();
|
|
2368
2362
|
else {
|
|
2369
2363
|
for (const [, f] of g)
|
|
2370
|
-
f.status.get() ===
|
|
2364
|
+
f.status.get() === de.Ready && f.disable();
|
|
2371
2365
|
m(null);
|
|
2372
2366
|
}
|
|
2373
2367
|
return () => {
|
|
2374
2368
|
for (const [, f] of g)
|
|
2375
|
-
f.status.get() ===
|
|
2369
|
+
f.status.get() === de.Ready && f.disable();
|
|
2376
2370
|
};
|
|
2377
|
-
}, [
|
|
2378
|
-
},
|
|
2379
|
-
const [, l] =
|
|
2380
|
-
return /* @__PURE__ */ c(
|
|
2381
|
-
},
|
|
2382
|
-
const { sdkEnabled: d, sdkReady: m, activeOverlay: g, activateAndLoadOverlay: f, enableSdk:
|
|
2371
|
+
}, [n, s, l]), [n, d];
|
|
2372
|
+
}, as = ({ sdk: s, className: n }) => {
|
|
2373
|
+
const [, l] = os(s);
|
|
2374
|
+
return /* @__PURE__ */ c(Zt, { className: n, feature: l, sdk: s });
|
|
2375
|
+
}, ls = ({ sdk: s, overlays: n, children: l }) => {
|
|
2376
|
+
const { sdkEnabled: d, sdkReady: m, activeOverlay: g, activateAndLoadOverlay: f, enableSdk: o, disableSdk: w, isLogged: v } = ss(s);
|
|
2383
2377
|
return he(() => {
|
|
2384
2378
|
import("./gamification-feature.js");
|
|
2385
|
-
}, []), /* @__PURE__ */ I(
|
|
2379
|
+
}, []), /* @__PURE__ */ I(rs, { children: [
|
|
2386
2380
|
d && /* @__PURE__ */ c(
|
|
2387
|
-
|
|
2381
|
+
gr,
|
|
2388
2382
|
{
|
|
2389
2383
|
sdkReady: m,
|
|
2390
2384
|
activeOverlay: g,
|
|
2391
|
-
className:
|
|
2385
|
+
className: Qe,
|
|
2392
2386
|
setActiveOverlay: (E) => f("", E)
|
|
2393
2387
|
}
|
|
2394
2388
|
),
|
|
2395
|
-
m && /* @__PURE__ */ c(
|
|
2389
|
+
m && /* @__PURE__ */ c(ts, { sdk: s }),
|
|
2396
2390
|
/* @__PURE__ */ c(
|
|
2397
|
-
|
|
2391
|
+
ut,
|
|
2398
2392
|
{
|
|
2399
2393
|
"data-nav": d.toString(),
|
|
2400
2394
|
style: { display: !d || g === ce ? "block" : "none" },
|
|
2401
|
-
children: l && l({ enableSdk:
|
|
2395
|
+
children: l && l({ enableSdk: o, disableSdk: w })
|
|
2402
2396
|
}
|
|
2403
2397
|
),
|
|
2404
2398
|
/* @__PURE__ */ c(
|
|
2405
|
-
|
|
2399
|
+
ut,
|
|
2406
2400
|
{
|
|
2407
2401
|
"data-nav": d.toString(),
|
|
2408
2402
|
style: { display: g === Ae ? "block" : "none" },
|
|
2409
|
-
children:
|
|
2403
|
+
children: n && g === Ae && n[g]
|
|
2410
2404
|
}
|
|
2411
2405
|
),
|
|
2412
|
-
m && g === ee && /* @__PURE__ */ c(
|
|
2406
|
+
m && g === ee && /* @__PURE__ */ c(as, { className: Qe, sdk: s }),
|
|
2413
2407
|
!v && /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "You are not logged in." })
|
|
2414
2408
|
] });
|
|
2415
2409
|
};
|
|
2416
|
-
const
|
|
2410
|
+
const As = ({
|
|
2417
2411
|
sdkKey: s,
|
|
2418
|
-
plugins:
|
|
2412
|
+
plugins: n,
|
|
2419
2413
|
children: l,
|
|
2420
2414
|
production: d = !0
|
|
2421
|
-
}) => /* @__PURE__ */ c(
|
|
2422
|
-
const { sdk: l, status: d } =
|
|
2423
|
-
if (d ===
|
|
2415
|
+
}) => /* @__PURE__ */ c(Pt, { sdkKey: s, plugins: n, production: d, autoEnable: !1, children: l }), xs = ({ children: s, overlays: n }) => {
|
|
2416
|
+
const { sdk: l, status: d } = Vt(Mt);
|
|
2417
|
+
if (d === qt.UNSET)
|
|
2424
2418
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
2425
|
-
return l ? /* @__PURE__ */ c("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ c(
|
|
2419
|
+
return l ? /* @__PURE__ */ c("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ c(jt, { style: { height: "100%" }, children: /* @__PURE__ */ c(ls, { sdk: l, overlays: n, children: s }) }) }) : s({});
|
|
2426
2420
|
};
|
|
2427
2421
|
export {
|
|
2428
|
-
|
|
2429
|
-
|
|
2422
|
+
At as A,
|
|
2423
|
+
As as M,
|
|
2430
2424
|
pn as O,
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2425
|
+
Is as a,
|
|
2426
|
+
xs as b,
|
|
2427
|
+
xt as d,
|
|
2428
|
+
is as n,
|
|
2429
|
+
yr as o,
|
|
2430
|
+
ut as r,
|
|
2431
|
+
br as w
|
|
2438
2432
|
};
|