@allior/wmake-streamelements-events 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/index.js +12 -10
- package/dist/react/index.js.map +1 -1
- package/dist/root/index.js +4 -2
- package/dist/root/sources/alerts.js +158 -0
- package/dist/root/sources/alerts.js.map +1 -0
- package/dist/{root-DJod-F4M.js → root/sources/messages.js} +4 -1385
- package/dist/root/sources/messages.js.map +1 -0
- package/dist/root-CowOS1ts.js +1237 -0
- package/dist/root-CowOS1ts.js.map +1 -0
- package/package.json +2 -2
- package/dist/root-DJod-F4M.js.map +0 -1
|
@@ -0,0 +1,1237 @@
|
|
|
1
|
+
import { testAlerts as e } from "./root/sources/alerts.js";
|
|
2
|
+
import { testMessages as t } from "./root/sources/messages.js";
|
|
3
|
+
//#region src/root/classifier.ts
|
|
4
|
+
function n(e) {
|
|
5
|
+
if (e == null) return {
|
|
6
|
+
tier: 0,
|
|
7
|
+
tierText: ""
|
|
8
|
+
};
|
|
9
|
+
let t = typeof e == "string" ? e : String(e), n = parseInt(t, 10);
|
|
10
|
+
return Number.isNaN(n) ? {
|
|
11
|
+
tier: 0,
|
|
12
|
+
tierText: t
|
|
13
|
+
} : {
|
|
14
|
+
tier: n >= 3e3 ? 3 : n >= 2e3 ? 2 : +(n >= 1e3),
|
|
15
|
+
tierText: t
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function r(e) {
|
|
19
|
+
let t = e.listener, n = e.event ?? {}, r = n.activityGroup, i = n.activityId ?? n._id;
|
|
20
|
+
return r ? String(r) : i ? String(i) : t === "subscriber-latest" && n.bulkGifted ? "sl-bulk-" + (n.sender ?? "") + "-" + (n.amount ?? "") + "-" + (n.tier ?? "") + "-" + (n._id ?? "") : `sl-${n._id ?? n.activityId ?? ""}`;
|
|
21
|
+
}
|
|
22
|
+
function i(e) {
|
|
23
|
+
let t = e.listener, r = e.event ?? {}, i = r.data ?? r, a = n(i.tier ?? r.tier);
|
|
24
|
+
if (t === "event") {
|
|
25
|
+
if (r.type === "communityGiftPurchase") {
|
|
26
|
+
let e = i.username && String(i.username).toLowerCase() === "anonymous" || i.sender === "Anonymous";
|
|
27
|
+
return {
|
|
28
|
+
type: e ? "community-gift-anonymous" : "community-gift",
|
|
29
|
+
tier: a.tier,
|
|
30
|
+
tierText: a.tierText,
|
|
31
|
+
totalAmount: parseInt(String(i.amount), 10) || 1,
|
|
32
|
+
recipients: [],
|
|
33
|
+
sender: e ? void 0 : i.sender ?? i.displayName ?? i.username,
|
|
34
|
+
anonymousDisplayName: e ? i.displayName ?? "Anonymous" : void 0
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
if (r.type === "subscriber") {
|
|
38
|
+
let t = i.gifted === !0, n = i.sender, o = parseInt(String(i.amount), 10) || 1, s = i.username ?? i.displayName, c = r.activityGroup;
|
|
39
|
+
if (n === "Anonymous" && c) return {
|
|
40
|
+
type: "community-gift-anonymous",
|
|
41
|
+
_role: "recipient",
|
|
42
|
+
activityGroup: c,
|
|
43
|
+
recipient: s ?? i.displayName,
|
|
44
|
+
tier: a.tier,
|
|
45
|
+
tierText: a.tierText
|
|
46
|
+
};
|
|
47
|
+
if (t && n && n !== "Anonymous") {
|
|
48
|
+
if (!(i.communityGifted === !0 || c != null && c !== "")) {
|
|
49
|
+
let e = String(i.message ?? "").indexOf("first Gift Sub") !== -1;
|
|
50
|
+
return {
|
|
51
|
+
type: "solo-sub-to-someone",
|
|
52
|
+
sender: n,
|
|
53
|
+
recipient: s ?? i.displayName,
|
|
54
|
+
tier: a.tier,
|
|
55
|
+
tierText: a.tierText,
|
|
56
|
+
firstGiftInChannel: e
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
type: "community-gift",
|
|
61
|
+
_role: "recipient",
|
|
62
|
+
activityGroup: c ?? "",
|
|
63
|
+
recipient: s ?? i.displayName,
|
|
64
|
+
tier: a.tier,
|
|
65
|
+
tierText: a.tierText
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
return !t && o > 1 ? {
|
|
69
|
+
type: "sub-renewal",
|
|
70
|
+
name: s ?? i.displayName,
|
|
71
|
+
months: o,
|
|
72
|
+
tier: a.tier,
|
|
73
|
+
tierText: a.tierText
|
|
74
|
+
} : !t && o === 1 ? {
|
|
75
|
+
type: "self-sub",
|
|
76
|
+
name: s ?? i.displayName,
|
|
77
|
+
tier: a.tier,
|
|
78
|
+
tierText: a.tierText
|
|
79
|
+
} : c ? {
|
|
80
|
+
type: "community-gift",
|
|
81
|
+
_role: "recipient",
|
|
82
|
+
activityGroup: c,
|
|
83
|
+
recipient: s ?? i.displayName,
|
|
84
|
+
tier: a.tier,
|
|
85
|
+
tierText: a.tierText
|
|
86
|
+
} : {
|
|
87
|
+
type: "unknown",
|
|
88
|
+
detail: e
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
type: "unknown",
|
|
93
|
+
detail: e
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
if (t === "subscriber-latest") {
|
|
97
|
+
let t = r.bulkGifted === !0, n = r.sender, i = r.name, o = parseInt(String(r.amount), 10) || 1, s = r.gifted === !0, c = r.isCommunityGift === !0 || r.communityGifted === !0;
|
|
98
|
+
if (t && n === "Anonymous") return {
|
|
99
|
+
type: "community-gift-anonymous",
|
|
100
|
+
tier: a.tier,
|
|
101
|
+
tierText: a.tierText,
|
|
102
|
+
totalAmount: o,
|
|
103
|
+
recipients: []
|
|
104
|
+
};
|
|
105
|
+
if (t && n) return {
|
|
106
|
+
type: "community-gift",
|
|
107
|
+
sender: n,
|
|
108
|
+
tier: a.tier,
|
|
109
|
+
tierText: a.tierText,
|
|
110
|
+
totalAmount: o,
|
|
111
|
+
recipients: []
|
|
112
|
+
};
|
|
113
|
+
if (s && !c && n) {
|
|
114
|
+
let e = String(r.message ?? "").indexOf("first Gift Sub") !== -1;
|
|
115
|
+
return {
|
|
116
|
+
type: "solo-sub-to-someone",
|
|
117
|
+
sender: n,
|
|
118
|
+
recipient: i ?? "",
|
|
119
|
+
tier: a.tier,
|
|
120
|
+
tierText: a.tierText,
|
|
121
|
+
firstGiftInChannel: e
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
return !s && o > 1 ? {
|
|
125
|
+
type: "sub-renewal",
|
|
126
|
+
name: i ?? "",
|
|
127
|
+
months: o,
|
|
128
|
+
tier: a.tier,
|
|
129
|
+
tierText: a.tierText
|
|
130
|
+
} : !s && o === 1 && (n == null || i === n) ? {
|
|
131
|
+
type: "self-sub",
|
|
132
|
+
name: i ?? "",
|
|
133
|
+
tier: a.tier,
|
|
134
|
+
tierText: a.tierText
|
|
135
|
+
} : {
|
|
136
|
+
type: "unknown",
|
|
137
|
+
detail: e
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
if (t === "follower-latest") return {
|
|
141
|
+
type: "follow",
|
|
142
|
+
name: r.name ?? ""
|
|
143
|
+
};
|
|
144
|
+
if (t === "cheer-latest") {
|
|
145
|
+
let e = parseInt(String(r.amount), 10) || 0;
|
|
146
|
+
return {
|
|
147
|
+
type: "cheer",
|
|
148
|
+
name: r.name ?? "",
|
|
149
|
+
amount: e
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
if (t === "raid-latest") {
|
|
153
|
+
let e = parseInt(String(r.amount), 10) || 0;
|
|
154
|
+
return {
|
|
155
|
+
type: "raid",
|
|
156
|
+
name: r.name ?? "",
|
|
157
|
+
viewers: e
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
return t === "delete-message" ? {
|
|
161
|
+
type: "delete-message",
|
|
162
|
+
messageId: r.msgId ?? ""
|
|
163
|
+
} : t === "delete-messages" ? {
|
|
164
|
+
type: "delete-messages",
|
|
165
|
+
userName: r.userId ?? ""
|
|
166
|
+
} : t === "event:test" && r.listener === "widget-button" ? {
|
|
167
|
+
type: "button",
|
|
168
|
+
field: r.field
|
|
169
|
+
} : {
|
|
170
|
+
type: "unknown",
|
|
171
|
+
detail: e
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/root/aggregator/index.ts
|
|
176
|
+
var a = 2500, o = {}, s = {};
|
|
177
|
+
function c(e, t) {
|
|
178
|
+
if (!e) return null;
|
|
179
|
+
if (typeof e._has == "function" && typeof e._set == "function") return e;
|
|
180
|
+
let n = e[t];
|
|
181
|
+
return n && typeof n._has == "function" ? n : null;
|
|
182
|
+
}
|
|
183
|
+
function l(e, t, n, r) {
|
|
184
|
+
let i = c(n, t.type);
|
|
185
|
+
i?._has(e) || (i && i._set(e, !0), r(t));
|
|
186
|
+
}
|
|
187
|
+
function u(e, t, n, r) {
|
|
188
|
+
let i = o[e];
|
|
189
|
+
if (!i) return;
|
|
190
|
+
delete o[e], s[e] && (clearTimeout(s[e]), delete s[e]);
|
|
191
|
+
let a = i.purchase, c = i.subscribers ?? [], u = i.type, d = i.tier, f = i.tierText, p = i.totalAmount ?? c.length, m = c.map((e) => e.recipient ?? e.username ?? e.name).filter(Boolean), h = c[0]?.sender, g = a?.sender ?? i.sender ?? h;
|
|
192
|
+
u === "community-gift" && r && g === r || (u === "community-gift-anonymous" ? l(e, {
|
|
193
|
+
type: "community-gift-anonymous",
|
|
194
|
+
tier: d,
|
|
195
|
+
tierText: f,
|
|
196
|
+
totalAmount: p,
|
|
197
|
+
recipients: m,
|
|
198
|
+
anonymousDisplayName: a?.anonymousDisplayName
|
|
199
|
+
}, t, n) : l(e, {
|
|
200
|
+
type: "community-gift",
|
|
201
|
+
sender: g,
|
|
202
|
+
tier: d,
|
|
203
|
+
tierText: f,
|
|
204
|
+
totalAmount: p,
|
|
205
|
+
recipients: m
|
|
206
|
+
}, t, n));
|
|
207
|
+
}
|
|
208
|
+
function d(e, t, n) {
|
|
209
|
+
let c = t?.cacheSubs, l = t?.broadcasterLogin ?? "", d = i(e);
|
|
210
|
+
if (!d) {
|
|
211
|
+
n(null);
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
let f = r(e), p = e.event ?? {}, m = p.data ?? p;
|
|
215
|
+
if (d._role === "recipient") {
|
|
216
|
+
let e = d, t = e.activityGroup ?? f;
|
|
217
|
+
o[t] || (o[t] = {
|
|
218
|
+
type: e.type,
|
|
219
|
+
subscribers: [],
|
|
220
|
+
tier: e.tier,
|
|
221
|
+
tierText: e.tierText,
|
|
222
|
+
totalAmount: 0
|
|
223
|
+
}), s[t] && clearTimeout(s[t]), s[t] = setTimeout(() => {
|
|
224
|
+
u(t, c, n, l);
|
|
225
|
+
}, a), o[t].subscribers.push({
|
|
226
|
+
recipient: e.recipient,
|
|
227
|
+
username: m.username,
|
|
228
|
+
name: m.displayName,
|
|
229
|
+
sender: m.sender
|
|
230
|
+
}), o[t].totalAmount === 0 && (o[t].totalAmount = 1);
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
if (d.type === "community-gift-anonymous" || d.type === "community-gift") {
|
|
234
|
+
if (e.listener === "event" && p.type === "communityGiftPurchase") {
|
|
235
|
+
let e = p.activityGroup ?? m?.activityGroup ?? f, t = d;
|
|
236
|
+
o[e] ? (o[e].purchase = t, o[e].tier = t.tier, o[e].tierText = t.tierText, o[e].totalAmount = t.totalAmount ?? o[e].totalAmount, o[e].sender = t.sender, s[e] && clearTimeout(s[e]), s[e] = setTimeout(() => {
|
|
237
|
+
u(e, c, n, l);
|
|
238
|
+
}, a)) : (o[e] = {
|
|
239
|
+
type: t.type,
|
|
240
|
+
purchase: t,
|
|
241
|
+
subscribers: [],
|
|
242
|
+
tier: t.tier,
|
|
243
|
+
tierText: t.tierText,
|
|
244
|
+
totalAmount: Number(t.totalAmount) || 0,
|
|
245
|
+
sender: t.sender
|
|
246
|
+
}, s[e] = setTimeout(() => {
|
|
247
|
+
u(e, c, n, l);
|
|
248
|
+
}, a));
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
if (e.listener === "subscriber-latest") {
|
|
252
|
+
let e = d;
|
|
253
|
+
if (d.type === "community-gift" && l && e.sender === l) {
|
|
254
|
+
n(null);
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/root/sources/on-widget-load-detail.ts
|
|
264
|
+
var f = {
|
|
265
|
+
session: {
|
|
266
|
+
data: {
|
|
267
|
+
"follower-latest": { name: "imacanadiannn" },
|
|
268
|
+
"follower-session": { count: 0 },
|
|
269
|
+
"follower-week": { count: 0 },
|
|
270
|
+
"follower-month": { count: 0 },
|
|
271
|
+
"follower-goal": { amount: 137 },
|
|
272
|
+
"follower-total": {
|
|
273
|
+
count: 118,
|
|
274
|
+
activityId: "",
|
|
275
|
+
sessionTop: !1
|
|
276
|
+
},
|
|
277
|
+
"subscriber-latest": {
|
|
278
|
+
name: "",
|
|
279
|
+
amount: 0,
|
|
280
|
+
tier: "",
|
|
281
|
+
message: ""
|
|
282
|
+
},
|
|
283
|
+
"subscriber-new-latest": {
|
|
284
|
+
name: "",
|
|
285
|
+
amount: 0,
|
|
286
|
+
message: ""
|
|
287
|
+
},
|
|
288
|
+
"subscriber-resub-latest": {
|
|
289
|
+
name: "",
|
|
290
|
+
amount: 0,
|
|
291
|
+
message: ""
|
|
292
|
+
},
|
|
293
|
+
"subscriber-gifted-latest": {
|
|
294
|
+
name: "",
|
|
295
|
+
amount: 0,
|
|
296
|
+
message: "",
|
|
297
|
+
tier: "",
|
|
298
|
+
sender: ""
|
|
299
|
+
},
|
|
300
|
+
"subscriber-session": { count: 0 },
|
|
301
|
+
"subscriber-new-session": { count: 0 },
|
|
302
|
+
"subscriber-resub-session": { count: 0 },
|
|
303
|
+
"subscriber-gifted-session": { count: 0 },
|
|
304
|
+
"subscriber-week": { count: 0 },
|
|
305
|
+
"subscriber-month": { count: 0 },
|
|
306
|
+
"subscriber-goal": { amount: 0 },
|
|
307
|
+
"subscriber-total": {
|
|
308
|
+
count: 0,
|
|
309
|
+
activityId: "",
|
|
310
|
+
sessionTop: !1
|
|
311
|
+
},
|
|
312
|
+
"subscriber-points": {
|
|
313
|
+
amount: 0,
|
|
314
|
+
activityId: "",
|
|
315
|
+
sessionTop: !1
|
|
316
|
+
},
|
|
317
|
+
"subscriber-alltime-gifter": {
|
|
318
|
+
name: "",
|
|
319
|
+
amount: 0
|
|
320
|
+
},
|
|
321
|
+
"host-latest": {
|
|
322
|
+
name: "",
|
|
323
|
+
amount: 0
|
|
324
|
+
},
|
|
325
|
+
"raid-latest": {
|
|
326
|
+
name: "agnascor2",
|
|
327
|
+
amount: 6
|
|
328
|
+
},
|
|
329
|
+
"cheer-session": { amount: 0 },
|
|
330
|
+
"cheer-week": { amount: 0 },
|
|
331
|
+
"cheer-month": { amount: 0 },
|
|
332
|
+
"cheer-total": { amount: 0 },
|
|
333
|
+
"cheer-count": { count: 0 },
|
|
334
|
+
"cheer-goal": { amount: 0 },
|
|
335
|
+
"cheer-latest": {
|
|
336
|
+
name: "",
|
|
337
|
+
amount: 0
|
|
338
|
+
},
|
|
339
|
+
"cheer-session-top-donation": {
|
|
340
|
+
amount: 0,
|
|
341
|
+
name: ""
|
|
342
|
+
},
|
|
343
|
+
"cheer-weekly-top-donation": {
|
|
344
|
+
amount: 0,
|
|
345
|
+
name: ""
|
|
346
|
+
},
|
|
347
|
+
"cheer-monthly-top-donation": {
|
|
348
|
+
amount: 0,
|
|
349
|
+
name: ""
|
|
350
|
+
},
|
|
351
|
+
"cheer-alltime-top-donation": {
|
|
352
|
+
amount: 0,
|
|
353
|
+
name: ""
|
|
354
|
+
},
|
|
355
|
+
"cheer-session-top-donator": {
|
|
356
|
+
amount: 0,
|
|
357
|
+
name: ""
|
|
358
|
+
},
|
|
359
|
+
"cheer-weekly-top-donator": {
|
|
360
|
+
amount: 0,
|
|
361
|
+
name: ""
|
|
362
|
+
},
|
|
363
|
+
"cheer-monthly-top-donator": {
|
|
364
|
+
amount: 0,
|
|
365
|
+
name: ""
|
|
366
|
+
},
|
|
367
|
+
"cheer-alltime-top-donator": {
|
|
368
|
+
amount: 0,
|
|
369
|
+
name: ""
|
|
370
|
+
},
|
|
371
|
+
"tip-latest": {
|
|
372
|
+
name: "",
|
|
373
|
+
amount: 0
|
|
374
|
+
},
|
|
375
|
+
"tip-session-top-donation": {
|
|
376
|
+
amount: 0,
|
|
377
|
+
name: ""
|
|
378
|
+
},
|
|
379
|
+
"tip-weekly-top-donation": {
|
|
380
|
+
name: "",
|
|
381
|
+
amount: 0
|
|
382
|
+
},
|
|
383
|
+
"tip-monthly-top-donation": {
|
|
384
|
+
name: "",
|
|
385
|
+
amount: 0
|
|
386
|
+
},
|
|
387
|
+
"tip-alltime-top-donation": {
|
|
388
|
+
name: "",
|
|
389
|
+
amount: 0
|
|
390
|
+
},
|
|
391
|
+
"tip-session-top-donator": {
|
|
392
|
+
amount: 0,
|
|
393
|
+
name: ""
|
|
394
|
+
},
|
|
395
|
+
"tip-weekly-top-donator": {
|
|
396
|
+
name: "",
|
|
397
|
+
amount: 0
|
|
398
|
+
},
|
|
399
|
+
"tip-monthly-top-donator": {
|
|
400
|
+
name: "",
|
|
401
|
+
amount: 0
|
|
402
|
+
},
|
|
403
|
+
"tip-alltime-top-donator": {
|
|
404
|
+
name: "",
|
|
405
|
+
amount: 0
|
|
406
|
+
},
|
|
407
|
+
"tip-session": { amount: 0 },
|
|
408
|
+
"tip-week": { amount: 0 },
|
|
409
|
+
"tip-month": { amount: 0 },
|
|
410
|
+
"tip-total": { amount: 0 },
|
|
411
|
+
"tip-count": { count: 0 },
|
|
412
|
+
"tip-goal": { amount: 0 },
|
|
413
|
+
"merch-goal-orders": { amount: 0 },
|
|
414
|
+
"merch-goal-items": { amount: 0 },
|
|
415
|
+
"merch-goal-total": { amount: 0 },
|
|
416
|
+
"merch-latest": {
|
|
417
|
+
name: "",
|
|
418
|
+
amount: 0,
|
|
419
|
+
items: []
|
|
420
|
+
},
|
|
421
|
+
"charityCampaignDonation-latest": {
|
|
422
|
+
name: "",
|
|
423
|
+
amount: 0
|
|
424
|
+
},
|
|
425
|
+
"charityCampaignDonation-weekly-top-donation": {
|
|
426
|
+
name: "",
|
|
427
|
+
amount: 0
|
|
428
|
+
},
|
|
429
|
+
"charityCampaignDonation-monthly-top-donation": {
|
|
430
|
+
name: "",
|
|
431
|
+
amount: 0
|
|
432
|
+
},
|
|
433
|
+
"charityCampaignDonation-alltime-top-donation": {
|
|
434
|
+
name: "",
|
|
435
|
+
amount: 0
|
|
436
|
+
},
|
|
437
|
+
"charityCampaignDonation-weekly-top-donator": {
|
|
438
|
+
name: "",
|
|
439
|
+
amount: 0
|
|
440
|
+
},
|
|
441
|
+
"charityCampaignDonation-monthly-top-donator": {
|
|
442
|
+
name: "",
|
|
443
|
+
amount: 0
|
|
444
|
+
},
|
|
445
|
+
"charityCampaignDonation-alltime-top-donator": {
|
|
446
|
+
name: "",
|
|
447
|
+
amount: 0
|
|
448
|
+
},
|
|
449
|
+
"cheerPurchase-latest": {
|
|
450
|
+
name: "",
|
|
451
|
+
amount: 0
|
|
452
|
+
},
|
|
453
|
+
"cheerPurchase-weekly-top-donation": {
|
|
454
|
+
name: "",
|
|
455
|
+
amount: 0
|
|
456
|
+
},
|
|
457
|
+
"cheerPurchase-monthly-top-donation": {
|
|
458
|
+
name: "",
|
|
459
|
+
amount: 0
|
|
460
|
+
},
|
|
461
|
+
"cheerPurchase-alltime-top-donation": {
|
|
462
|
+
name: "",
|
|
463
|
+
amount: 0
|
|
464
|
+
},
|
|
465
|
+
"cheerPurchase-weekly-top-donator": {
|
|
466
|
+
name: "",
|
|
467
|
+
amount: 0
|
|
468
|
+
},
|
|
469
|
+
"cheerPurchase-monthly-top-donator": {
|
|
470
|
+
name: "",
|
|
471
|
+
amount: 0
|
|
472
|
+
},
|
|
473
|
+
"cheerPurchase-alltime-top-donator": {
|
|
474
|
+
name: "",
|
|
475
|
+
amount: 0
|
|
476
|
+
},
|
|
477
|
+
"superchat-latest": {
|
|
478
|
+
name: "",
|
|
479
|
+
amount: 0
|
|
480
|
+
},
|
|
481
|
+
"superchat-weekly-top-donation": {
|
|
482
|
+
name: "",
|
|
483
|
+
amount: 0
|
|
484
|
+
},
|
|
485
|
+
"superchat-monthly-top-donation": {
|
|
486
|
+
name: "",
|
|
487
|
+
amount: 0
|
|
488
|
+
},
|
|
489
|
+
"superchat-alltime-top-donation": {
|
|
490
|
+
name: "",
|
|
491
|
+
amount: 0
|
|
492
|
+
},
|
|
493
|
+
"superchat-weekly-top-donator": {
|
|
494
|
+
name: "",
|
|
495
|
+
amount: 0
|
|
496
|
+
},
|
|
497
|
+
"superchat-monthly-top-donator": {
|
|
498
|
+
name: "",
|
|
499
|
+
amount: 0
|
|
500
|
+
},
|
|
501
|
+
"superchat-alltime-top-donator": {
|
|
502
|
+
name: "",
|
|
503
|
+
amount: 0
|
|
504
|
+
},
|
|
505
|
+
"superchat-session": { amount: 0 },
|
|
506
|
+
"superchat-week": { amount: 0 },
|
|
507
|
+
"superchat-month": { amount: 0 },
|
|
508
|
+
"superchat-total": { amount: 0 },
|
|
509
|
+
"superchat-count": { count: 0 },
|
|
510
|
+
"superchat-goal": { amount: 0 },
|
|
511
|
+
"purchase-latest": {
|
|
512
|
+
name: "",
|
|
513
|
+
amount: 0,
|
|
514
|
+
avatar: "",
|
|
515
|
+
message: "",
|
|
516
|
+
items: []
|
|
517
|
+
},
|
|
518
|
+
"follower-recent": [
|
|
519
|
+
{
|
|
520
|
+
name: "imacanadiannn",
|
|
521
|
+
createdAt: "2026-01-13T01:53:50.296Z",
|
|
522
|
+
type: "follower"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: "piwo143",
|
|
526
|
+
createdAt: "2026-01-13T01:51:39.472Z",
|
|
527
|
+
type: "follower"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "latvan_",
|
|
531
|
+
createdAt: "2026-01-12T23:54:29.235Z",
|
|
532
|
+
type: "follower"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
name: "wheinwait",
|
|
536
|
+
createdAt: "2026-01-12T23:11:28.946Z",
|
|
537
|
+
type: "follower"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: "agnascor2",
|
|
541
|
+
createdAt: "2026-01-12T23:11:14.880Z",
|
|
542
|
+
type: "follower"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: "sunlitetuts",
|
|
546
|
+
createdAt: "2026-01-12T21:03:59.207Z",
|
|
547
|
+
type: "follower"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
name: "ayanamya",
|
|
551
|
+
createdAt: "2026-01-12T20:00:55.509Z",
|
|
552
|
+
type: "follower"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: "hopeless28",
|
|
556
|
+
createdAt: "2026-01-12T18:35:21.731Z",
|
|
557
|
+
type: "follower"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
name: "kakoytoclown",
|
|
561
|
+
createdAt: "2026-01-11T18:39:36.843Z",
|
|
562
|
+
type: "follower"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
name: "dababe__jq1",
|
|
566
|
+
createdAt: "2024-10-10T23:27:49.699Z",
|
|
567
|
+
type: "follower"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
name: "jjjllkmf",
|
|
571
|
+
createdAt: "2024-05-05T09:44:16.287Z",
|
|
572
|
+
type: "follower"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
name: "d4c_valintine",
|
|
576
|
+
createdAt: "2024-05-03T15:13:28.365Z",
|
|
577
|
+
type: "follower"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: "angelbliss_",
|
|
581
|
+
createdAt: "2024-04-30T20:07:23.132Z",
|
|
582
|
+
type: "follower"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
name: "o1zich",
|
|
586
|
+
createdAt: "2024-04-22T16:23:26.139Z",
|
|
587
|
+
type: "follower"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
name: "nearbuziky",
|
|
591
|
+
createdAt: "2024-04-19T19:21:27.569Z",
|
|
592
|
+
type: "follower"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
name: "samirkasamsa",
|
|
596
|
+
createdAt: "2024-04-19T17:06:38.963Z",
|
|
597
|
+
type: "follower"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
name: "flip1mip",
|
|
601
|
+
createdAt: "2024-04-19T17:06:18.276Z",
|
|
602
|
+
type: "follower"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
name: "valerie_solo",
|
|
606
|
+
createdAt: "2024-04-19T17:06:07.473Z",
|
|
607
|
+
type: "follower"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: "sxaelence",
|
|
611
|
+
createdAt: "2024-04-19T07:06:46.330Z",
|
|
612
|
+
type: "follower"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: "avokadik99",
|
|
616
|
+
createdAt: "2024-04-17T16:11:29.604Z",
|
|
617
|
+
type: "follower"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
name: "blackvoronstream",
|
|
621
|
+
createdAt: "2024-04-16T21:29:33.306Z",
|
|
622
|
+
type: "follower"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
name: "baldejniyy",
|
|
626
|
+
createdAt: "2024-04-16T21:29:09.647Z",
|
|
627
|
+
type: "follower"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
name: "p3ch4n_ka",
|
|
631
|
+
createdAt: "2024-04-16T16:37:31.841Z",
|
|
632
|
+
type: "follower"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
name: "kakosik_bee",
|
|
636
|
+
createdAt: "2024-04-16T15:56:27.435Z",
|
|
637
|
+
type: "follower"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
name: "hikotoru",
|
|
641
|
+
createdAt: "2024-04-16T15:13:25.226Z",
|
|
642
|
+
type: "follower"
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"subscriber-recent": [],
|
|
646
|
+
"host-recent": [],
|
|
647
|
+
"raid-recent": [
|
|
648
|
+
{
|
|
649
|
+
name: "agnascor2",
|
|
650
|
+
amount: 6,
|
|
651
|
+
createdAt: "2026-01-12T23:08:21.815Z",
|
|
652
|
+
type: "raid"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
name: "justduckomgg",
|
|
656
|
+
amount: 7,
|
|
657
|
+
createdAt: "2024-04-19T17:05:53.185Z",
|
|
658
|
+
type: "raid"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
name: "veessmk",
|
|
662
|
+
amount: 6,
|
|
663
|
+
createdAt: "2024-04-17T15:40:43.945Z",
|
|
664
|
+
type: "raid"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
name: "night_sculptor",
|
|
668
|
+
amount: 12,
|
|
669
|
+
createdAt: "2024-04-16T18:07:40.040Z",
|
|
670
|
+
type: "raid"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
name: "pixiemays",
|
|
674
|
+
amount: 6,
|
|
675
|
+
createdAt: "2024-04-16T16:37:24.433Z",
|
|
676
|
+
type: "raid"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: "night_sculptor",
|
|
680
|
+
amount: 8,
|
|
681
|
+
createdAt: "2024-04-14T18:31:20.049Z",
|
|
682
|
+
type: "raid"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
name: "pixiemays",
|
|
686
|
+
amount: 19,
|
|
687
|
+
createdAt: "2024-04-14T13:22:05.794Z",
|
|
688
|
+
type: "raid"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
name: "pixiemays",
|
|
692
|
+
amount: 15,
|
|
693
|
+
createdAt: "2024-04-12T17:03:36.115Z",
|
|
694
|
+
type: "raid"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
name: "alechkavt",
|
|
698
|
+
amount: 9,
|
|
699
|
+
createdAt: "2024-04-11T17:54:47.691Z",
|
|
700
|
+
type: "raid"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: "pixiemays",
|
|
704
|
+
amount: 8,
|
|
705
|
+
createdAt: "2024-04-11T14:10:49.548Z",
|
|
706
|
+
type: "raid"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: "night_sculptor",
|
|
710
|
+
amount: 22,
|
|
711
|
+
createdAt: "2024-04-09T16:13:41.195Z",
|
|
712
|
+
type: "raid"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
name: "pixiemays",
|
|
716
|
+
amount: 5,
|
|
717
|
+
createdAt: "2024-04-08T09:54:01.603Z",
|
|
718
|
+
type: "raid"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "aki_neki",
|
|
722
|
+
amount: 5,
|
|
723
|
+
createdAt: "2024-04-07T21:52:45.919Z",
|
|
724
|
+
type: "raid"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: "alechkavt",
|
|
728
|
+
amount: 11,
|
|
729
|
+
createdAt: "2024-04-07T18:59:39.286Z",
|
|
730
|
+
type: "raid"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
name: "veessmk",
|
|
734
|
+
amount: 15,
|
|
735
|
+
createdAt: "2024-04-07T16:13:25.172Z",
|
|
736
|
+
type: "raid"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
name: "veessmk",
|
|
740
|
+
amount: 10,
|
|
741
|
+
createdAt: "2024-03-17T16:11:38.631Z",
|
|
742
|
+
type: "raid"
|
|
743
|
+
}
|
|
744
|
+
],
|
|
745
|
+
"charityCampaignDonation-recent": [],
|
|
746
|
+
"cheer-recent": [],
|
|
747
|
+
"cheerPurchase-recent": [],
|
|
748
|
+
"superchat-recent": [],
|
|
749
|
+
"tip-recent": [],
|
|
750
|
+
"merch-recent": [],
|
|
751
|
+
"channel-points-latest": {
|
|
752
|
+
amount: 0,
|
|
753
|
+
message: "",
|
|
754
|
+
name: "",
|
|
755
|
+
redemption: ""
|
|
756
|
+
},
|
|
757
|
+
"community-gift-latest": {
|
|
758
|
+
amount: 0,
|
|
759
|
+
name: "",
|
|
760
|
+
tier: ""
|
|
761
|
+
},
|
|
762
|
+
"charityCampaignDonation-session-top-donation": {
|
|
763
|
+
amount: 0,
|
|
764
|
+
name: ""
|
|
765
|
+
},
|
|
766
|
+
"charityCampaignDonation-session-top-donator": {
|
|
767
|
+
amount: 0,
|
|
768
|
+
name: ""
|
|
769
|
+
},
|
|
770
|
+
"cheerPurchase-session-top-donation": {
|
|
771
|
+
amount: 0,
|
|
772
|
+
name: ""
|
|
773
|
+
},
|
|
774
|
+
"cheerPurchase-session-top-donator": {
|
|
775
|
+
amount: 0,
|
|
776
|
+
name: ""
|
|
777
|
+
},
|
|
778
|
+
"hypetrain-latest": {
|
|
779
|
+
active: 0,
|
|
780
|
+
amount: 0,
|
|
781
|
+
level: 0,
|
|
782
|
+
levelChanged: 0,
|
|
783
|
+
name: "",
|
|
784
|
+
type: ""
|
|
785
|
+
},
|
|
786
|
+
"hypetrain-latest-top-contributors": [],
|
|
787
|
+
"hypetrain-level-goal": { amount: 0 },
|
|
788
|
+
"hypetrain-level-progress": {
|
|
789
|
+
amount: 0,
|
|
790
|
+
percent: 0
|
|
791
|
+
},
|
|
792
|
+
"hypetrain-total": { amount: 0 },
|
|
793
|
+
"superchat-session-top-donation": {
|
|
794
|
+
amount: 0,
|
|
795
|
+
name: ""
|
|
796
|
+
},
|
|
797
|
+
"superchat-session-top-donator": {
|
|
798
|
+
amount: 0,
|
|
799
|
+
name: ""
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
settings: {
|
|
803
|
+
autoReset: !0,
|
|
804
|
+
calendar: !1,
|
|
805
|
+
resetOnStart: !1
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
recents: [
|
|
809
|
+
{
|
|
810
|
+
name: "imacanadiannn",
|
|
811
|
+
createdAt: "2026-01-13T01:53:50.296Z",
|
|
812
|
+
type: "follower"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
name: "piwo143",
|
|
816
|
+
createdAt: "2026-01-13T01:51:39.472Z",
|
|
817
|
+
type: "follower"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
name: "latvan_",
|
|
821
|
+
createdAt: "2026-01-12T23:54:29.235Z",
|
|
822
|
+
type: "follower"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
name: "wheinwait",
|
|
826
|
+
createdAt: "2026-01-12T23:11:28.946Z",
|
|
827
|
+
type: "follower"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
name: "agnascor2",
|
|
831
|
+
createdAt: "2026-01-12T23:11:14.880Z",
|
|
832
|
+
type: "follower"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
name: "sunlitetuts",
|
|
836
|
+
createdAt: "2026-01-12T21:03:59.207Z",
|
|
837
|
+
type: "follower"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: "ayanamya",
|
|
841
|
+
createdAt: "2026-01-12T20:00:55.509Z",
|
|
842
|
+
type: "follower"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
name: "hopeless28",
|
|
846
|
+
createdAt: "2026-01-12T18:35:21.731Z",
|
|
847
|
+
type: "follower"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
name: "kakoytoclown",
|
|
851
|
+
createdAt: "2026-01-11T18:39:36.843Z",
|
|
852
|
+
type: "follower"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
name: "dababe__jq1",
|
|
856
|
+
createdAt: "2024-10-10T23:27:49.699Z",
|
|
857
|
+
type: "follower"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
name: "jjjllkmf",
|
|
861
|
+
createdAt: "2024-05-05T09:44:16.287Z",
|
|
862
|
+
type: "follower"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
name: "d4c_valintine",
|
|
866
|
+
createdAt: "2024-05-03T15:13:28.365Z",
|
|
867
|
+
type: "follower"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
name: "angelbliss_",
|
|
871
|
+
createdAt: "2024-04-30T20:07:23.132Z",
|
|
872
|
+
type: "follower"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
name: "o1zich",
|
|
876
|
+
createdAt: "2024-04-22T16:23:26.139Z",
|
|
877
|
+
type: "follower"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "nearbuziky",
|
|
881
|
+
createdAt: "2024-04-19T19:21:27.569Z",
|
|
882
|
+
type: "follower"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
name: "samirkasamsa",
|
|
886
|
+
createdAt: "2024-04-19T17:06:38.963Z",
|
|
887
|
+
type: "follower"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
name: "flip1mip",
|
|
891
|
+
createdAt: "2024-04-19T17:06:18.276Z",
|
|
892
|
+
type: "follower"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
name: "valerie_solo",
|
|
896
|
+
createdAt: "2024-04-19T17:06:07.473Z",
|
|
897
|
+
type: "follower"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
name: "sxaelence",
|
|
901
|
+
createdAt: "2024-04-19T07:06:46.330Z",
|
|
902
|
+
type: "follower"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
name: "avokadik99",
|
|
906
|
+
createdAt: "2024-04-17T16:11:29.604Z",
|
|
907
|
+
type: "follower"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
name: "blackvoronstream",
|
|
911
|
+
createdAt: "2024-04-16T21:29:33.306Z",
|
|
912
|
+
type: "follower"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
name: "baldejniyy",
|
|
916
|
+
createdAt: "2024-04-16T21:29:09.647Z",
|
|
917
|
+
type: "follower"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
name: "p3ch4n_ka",
|
|
921
|
+
createdAt: "2024-04-16T16:37:31.841Z",
|
|
922
|
+
type: "follower"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
name: "kakosik_bee",
|
|
926
|
+
createdAt: "2024-04-16T15:56:27.435Z",
|
|
927
|
+
type: "follower"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
name: "hikotoru",
|
|
931
|
+
createdAt: "2024-04-16T15:13:25.226Z",
|
|
932
|
+
type: "follower"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
name: "agnascor2",
|
|
936
|
+
amount: 6,
|
|
937
|
+
createdAt: "2026-01-12T23:08:21.815Z",
|
|
938
|
+
type: "raid"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
name: "justduckomgg",
|
|
942
|
+
amount: 7,
|
|
943
|
+
createdAt: "2024-04-19T17:05:53.185Z",
|
|
944
|
+
type: "raid"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
name: "veessmk",
|
|
948
|
+
amount: 6,
|
|
949
|
+
createdAt: "2024-04-17T15:40:43.945Z",
|
|
950
|
+
type: "raid"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
name: "night_sculptor",
|
|
954
|
+
amount: 12,
|
|
955
|
+
createdAt: "2024-04-16T18:07:40.040Z",
|
|
956
|
+
type: "raid"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
name: "pixiemays",
|
|
960
|
+
amount: 6,
|
|
961
|
+
createdAt: "2024-04-16T16:37:24.433Z",
|
|
962
|
+
type: "raid"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
name: "night_sculptor",
|
|
966
|
+
amount: 8,
|
|
967
|
+
createdAt: "2024-04-14T18:31:20.049Z",
|
|
968
|
+
type: "raid"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
name: "pixiemays",
|
|
972
|
+
amount: 19,
|
|
973
|
+
createdAt: "2024-04-14T13:22:05.794Z",
|
|
974
|
+
type: "raid"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
name: "pixiemays",
|
|
978
|
+
amount: 15,
|
|
979
|
+
createdAt: "2024-04-12T17:03:36.115Z",
|
|
980
|
+
type: "raid"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
name: "alechkavt",
|
|
984
|
+
amount: 9,
|
|
985
|
+
createdAt: "2024-04-11T17:54:47.691Z",
|
|
986
|
+
type: "raid"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
name: "pixiemays",
|
|
990
|
+
amount: 8,
|
|
991
|
+
createdAt: "2024-04-11T14:10:49.548Z",
|
|
992
|
+
type: "raid"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
name: "night_sculptor",
|
|
996
|
+
amount: 22,
|
|
997
|
+
createdAt: "2024-04-09T16:13:41.195Z",
|
|
998
|
+
type: "raid"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
name: "pixiemays",
|
|
1002
|
+
amount: 5,
|
|
1003
|
+
createdAt: "2024-04-08T09:54:01.603Z",
|
|
1004
|
+
type: "raid"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
name: "aki_neki",
|
|
1008
|
+
amount: 5,
|
|
1009
|
+
createdAt: "2024-04-07T21:52:45.919Z",
|
|
1010
|
+
type: "raid"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: "alechkavt",
|
|
1014
|
+
amount: 11,
|
|
1015
|
+
createdAt: "2024-04-07T18:59:39.286Z",
|
|
1016
|
+
type: "raid"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
name: "veessmk",
|
|
1020
|
+
amount: 15,
|
|
1021
|
+
createdAt: "2024-04-07T16:13:25.172Z",
|
|
1022
|
+
type: "raid"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
name: "veessmk",
|
|
1026
|
+
amount: 10,
|
|
1027
|
+
createdAt: "2024-03-17T16:11:38.631Z",
|
|
1028
|
+
type: "raid"
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
1031
|
+
currency: {
|
|
1032
|
+
code: "USD",
|
|
1033
|
+
name: "U.S. Dollar",
|
|
1034
|
+
symbol: "$"
|
|
1035
|
+
},
|
|
1036
|
+
channel: {
|
|
1037
|
+
username: "encry_s",
|
|
1038
|
+
apiToken: "HAHANOTNOW",
|
|
1039
|
+
id: "65ba7503dc0415cb368947b1",
|
|
1040
|
+
providerId: "485678132",
|
|
1041
|
+
avatar: "https://static-cdn.jtvnw.net/jtv_user_pictures/6fe93724-803a-4e5a-b58a-1d42fbc84661-profile_image-300x300.jpeg"
|
|
1042
|
+
},
|
|
1043
|
+
fieldData: {
|
|
1044
|
+
testMessageButton: "zaytri_dynamicchatbubbles",
|
|
1045
|
+
previewMode: !1,
|
|
1046
|
+
previewType: "random",
|
|
1047
|
+
previewMessage: "",
|
|
1048
|
+
theme: "animal-crossing",
|
|
1049
|
+
corner: "round",
|
|
1050
|
+
darkMode: !1,
|
|
1051
|
+
highlightStyle: "normal",
|
|
1052
|
+
actionStyle: "italics",
|
|
1053
|
+
maxWidth: 400,
|
|
1054
|
+
maxHeight: 300,
|
|
1055
|
+
fixedWidth: !1,
|
|
1056
|
+
positionMode: "list",
|
|
1057
|
+
listDirection: "bottom",
|
|
1058
|
+
listAlignment: "center",
|
|
1059
|
+
topEdge: !0,
|
|
1060
|
+
bottomEdge: !0,
|
|
1061
|
+
leftEdge: !0,
|
|
1062
|
+
rightEdge: !0,
|
|
1063
|
+
edgeDeviation: 0,
|
|
1064
|
+
padding: 30,
|
|
1065
|
+
animation: "dynamic",
|
|
1066
|
+
dynamicModifier: 1.75,
|
|
1067
|
+
maxMessages: 25,
|
|
1068
|
+
hideOutOfBounds: !0,
|
|
1069
|
+
lifetime: 0,
|
|
1070
|
+
delay: 1,
|
|
1071
|
+
googleFont: "Nunito",
|
|
1072
|
+
customFont: "",
|
|
1073
|
+
fontSize: 18,
|
|
1074
|
+
fontWeight: "bold",
|
|
1075
|
+
textDirection: "ltr",
|
|
1076
|
+
useCustomBorderColors: !0,
|
|
1077
|
+
borderColor: "#fed400",
|
|
1078
|
+
nameColor: "#000000",
|
|
1079
|
+
useCustomMessageColors: !0,
|
|
1080
|
+
backgroundColor: "#fff3c0",
|
|
1081
|
+
textColor: "#000000",
|
|
1082
|
+
pronounsMode: "suffix",
|
|
1083
|
+
pronounsLowercase: !0,
|
|
1084
|
+
pronounsBadgeCustomColors: !1,
|
|
1085
|
+
pronounsBadgeBackgroundColor: "#000000",
|
|
1086
|
+
pronounsBadgeBorderColor: "#FFFFFF",
|
|
1087
|
+
pronounsBadgeTextColor: "#FFFFFF",
|
|
1088
|
+
showBadges: !0,
|
|
1089
|
+
largeEmotes: !0,
|
|
1090
|
+
ffzGlobal: !1,
|
|
1091
|
+
bttvGlobal: !1,
|
|
1092
|
+
emoteOnly: !1,
|
|
1093
|
+
highlightOnly: !1,
|
|
1094
|
+
allowedStrings: [],
|
|
1095
|
+
minMessages: 0,
|
|
1096
|
+
messageCooldown: 0,
|
|
1097
|
+
raidCooldown: 0,
|
|
1098
|
+
raidMin: 0,
|
|
1099
|
+
includeEveryone: !0,
|
|
1100
|
+
includeFollowers: "true",
|
|
1101
|
+
minFollowTime: 1,
|
|
1102
|
+
includeSubs: !0,
|
|
1103
|
+
includeVIPs: !0,
|
|
1104
|
+
includeMods: !0,
|
|
1105
|
+
allowUserList: [],
|
|
1106
|
+
ignoreUserList: [
|
|
1107
|
+
"StreamElements",
|
|
1108
|
+
"Streamlabs",
|
|
1109
|
+
"Nightbot",
|
|
1110
|
+
"Sery_Bot"
|
|
1111
|
+
],
|
|
1112
|
+
ignorePrefixList: ["!"],
|
|
1113
|
+
volume: 50,
|
|
1114
|
+
soundGroup1: [],
|
|
1115
|
+
userLevelSoundGroup1: "everyone",
|
|
1116
|
+
specificUsersSoundGroup1: [],
|
|
1117
|
+
messageTypeSoundGroup1: "all",
|
|
1118
|
+
soundGroup2: [],
|
|
1119
|
+
userLevelSoundGroup2: "everyone",
|
|
1120
|
+
specificUsersSoundGroup2: [],
|
|
1121
|
+
messageTypeSoundGroup2: "all",
|
|
1122
|
+
soundGroup3: [],
|
|
1123
|
+
userLevelSoundGroup3: "everyone",
|
|
1124
|
+
specificUsersSoundGroup3: [],
|
|
1125
|
+
messageTypeSoundGroup3: "all",
|
|
1126
|
+
soundGroup4: [],
|
|
1127
|
+
userLevelSoundGroup4: "everyone",
|
|
1128
|
+
specificUsersSoundGroup4: [],
|
|
1129
|
+
messageTypeSoundGroup4: "all",
|
|
1130
|
+
soundGroup5: [],
|
|
1131
|
+
userLevelSoundGroup5: "everyone",
|
|
1132
|
+
specificUsersSoundGroup5: [],
|
|
1133
|
+
messageTypeSoundGroup5: "all",
|
|
1134
|
+
soundGroup6: [],
|
|
1135
|
+
userLevelSoundGroup6: "everyone",
|
|
1136
|
+
specificUsersSoundGroup6: [],
|
|
1137
|
+
messageTypeSoundGroup6: "all",
|
|
1138
|
+
soundGroup7: [],
|
|
1139
|
+
userLevelSoundGroup7: "everyone",
|
|
1140
|
+
specificUsersSoundGroup7: [],
|
|
1141
|
+
messageTypeSoundGroup7: "all",
|
|
1142
|
+
soundGroup8: [],
|
|
1143
|
+
userLevelSoundGroup8: "everyone",
|
|
1144
|
+
specificUsersSoundGroup8: [],
|
|
1145
|
+
messageTypeSoundGroup8: "all",
|
|
1146
|
+
soundGroup9: [],
|
|
1147
|
+
userLevelSoundGroup9: "everyone",
|
|
1148
|
+
specificUsersSoundGroup9: [],
|
|
1149
|
+
messageTypeSoundGroup9: "all",
|
|
1150
|
+
soundGroup10: [],
|
|
1151
|
+
userLevelSoundGroup10: "everyone",
|
|
1152
|
+
specificUsersSoundGroup10: [],
|
|
1153
|
+
messageTypeSoundGroup10: "all",
|
|
1154
|
+
widgetName: "Chat Bubbles",
|
|
1155
|
+
widgetAuthor: "Zaytri",
|
|
1156
|
+
widgetVersion: "2.12.0",
|
|
1157
|
+
widgetUpdateUrl: "https://github.com/zaytri/stream-elements-widgets/blob/main/DynamicChatBubbles",
|
|
1158
|
+
ignoreFirst: !0
|
|
1159
|
+
},
|
|
1160
|
+
overlay: {
|
|
1161
|
+
isEditorMode: !0,
|
|
1162
|
+
muted: !1
|
|
1163
|
+
}
|
|
1164
|
+
}, p = "onEventReceived";
|
|
1165
|
+
function m(e) {
|
|
1166
|
+
if (typeof window > "u") return;
|
|
1167
|
+
let n = t[e.startsWith("testMessage_") ? e.replace("testMessage_", "") : e];
|
|
1168
|
+
n && window.dispatchEvent(new CustomEvent(p, { detail: n }));
|
|
1169
|
+
}
|
|
1170
|
+
function h(t) {
|
|
1171
|
+
if (typeof window > "u") return;
|
|
1172
|
+
let n = e[t.startsWith("testAlert_") ? t.replace("testAlert_", "") : t];
|
|
1173
|
+
n && window.dispatchEvent(new CustomEvent(p, { detail: n }));
|
|
1174
|
+
}
|
|
1175
|
+
//#endregion
|
|
1176
|
+
//#region src/root/keys.ts
|
|
1177
|
+
function g(e) {
|
|
1178
|
+
if (!e.startsWith("testMessage")) return null;
|
|
1179
|
+
let t = e.replace("testMessage", "");
|
|
1180
|
+
return t.charAt(0).toLowerCase() + t.slice(1);
|
|
1181
|
+
}
|
|
1182
|
+
function _(e) {
|
|
1183
|
+
if (!e.startsWith("testAlert")) return null;
|
|
1184
|
+
let t = e.replace("testAlert", "");
|
|
1185
|
+
return t.charAt(0).toLowerCase() + t.slice(1);
|
|
1186
|
+
}
|
|
1187
|
+
//#endregion
|
|
1188
|
+
//#region src/root/message/twitch/user-message-data.ts
|
|
1189
|
+
var v = /* @__PURE__ */ function(e) {
|
|
1190
|
+
return e.BROADCASTER = "broadcaster", e.LEAD_MODERATOR = "lead_moderator", e.MODERATOR = "moderator", e.VIP = "vip", e.ARTIST = "artist", e.FOUNDER = "founder", e.SUBSCRIBER = "subscriber", e.TURBO = "turbo", e.DEFAULT = "default", e;
|
|
1191
|
+
}({}), y = ({ badges: e = [], tags: t = {} }) => {
|
|
1192
|
+
let n = (t) => !!e.find((e) => e.type === t), r = t.badges ?? "", i = t["user-type"] ?? "", a = r.includes("subscriber/1") || t.subscriber === "1" || n("subscriber"), o = r.includes("founder/1") || n("founder"), s = r.includes("broadcaster/1") || n("broadcaster"), c = t["first-msg"] === "1", l = t.turbo === "1", u = t.vip === "1" || r.includes("vip/1") || n("vip"), d = r.includes("lead_moderator/1") || n("lead_moderator"), f = (t.mod === "1" || r.includes("moderator/1") || i === "mod") && !d || n("moderator"), p = f || d, m = r.includes("artist-badge/1") || n("artist-badge"), h = [];
|
|
1193
|
+
return s && h.push(v.BROADCASTER), d && h.push(v.LEAD_MODERATOR), f && h.push(v.MODERATOR), u && h.push(v.VIP), m && h.push(v.ARTIST), o && h.push(v.FOUNDER), a && h.push(v.SUBSCRIBER), l && h.push(v.TURBO), h.push(v.DEFAULT), {
|
|
1194
|
+
isSubscriber: a,
|
|
1195
|
+
isBroadcaster: s,
|
|
1196
|
+
isFirstMessageChatter: c,
|
|
1197
|
+
isFounder: o,
|
|
1198
|
+
isTurbo: l,
|
|
1199
|
+
isVip: u,
|
|
1200
|
+
isAnyModerator: p,
|
|
1201
|
+
isModerator: f,
|
|
1202
|
+
isLeadModerator: d,
|
|
1203
|
+
isArtist: m,
|
|
1204
|
+
roles: h,
|
|
1205
|
+
includesBadgeType: n,
|
|
1206
|
+
getSubscriberMonths: () => {
|
|
1207
|
+
for (let e of ["badge-info", "badges"]) {
|
|
1208
|
+
let n = t[e];
|
|
1209
|
+
if (n) {
|
|
1210
|
+
let e = n.match(/^subscriber\/(\d+)$/);
|
|
1211
|
+
if (e) return parseInt(e[1], 10);
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
return 0;
|
|
1215
|
+
},
|
|
1216
|
+
getBadgeUrlByType: (t) => e.find((e) => e.type === t)?.url
|
|
1217
|
+
};
|
|
1218
|
+
}, b = class {
|
|
1219
|
+
queue = [];
|
|
1220
|
+
isShowingAlert = !1;
|
|
1221
|
+
onNextAlert;
|
|
1222
|
+
constructor(e) {
|
|
1223
|
+
this.onNextAlert = e;
|
|
1224
|
+
}
|
|
1225
|
+
push(e) {
|
|
1226
|
+
this.queue.push(e);
|
|
1227
|
+
}
|
|
1228
|
+
processNextAlert() {
|
|
1229
|
+
if (this.queue.length === 0 || this.isShowingAlert) return;
|
|
1230
|
+
let e = this.queue.shift();
|
|
1231
|
+
e && (this.isShowingAlert = !0, this.onNextAlert(this, e));
|
|
1232
|
+
}
|
|
1233
|
+
};
|
|
1234
|
+
//#endregion
|
|
1235
|
+
export { g as a, f as c, r as d, n as f, _ as i, d as l, y as n, h as o, v as r, m as s, b as t, i as u };
|
|
1236
|
+
|
|
1237
|
+
//# sourceMappingURL=root-CowOS1ts.js.map
|