@allior/wmake-streamelements-events 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +46 -0
  2. package/README_RU.md +46 -0
  3. package/dist/react/hooks/index.d.ts +4 -0
  4. package/dist/react/hooks/index.d.ts.map +1 -0
  5. package/dist/react/hooks/use-event-listener.d.ts +4 -0
  6. package/dist/react/hooks/use-event-listener.d.ts.map +1 -0
  7. package/dist/react/hooks/use-on-event-received.d.ts +44 -0
  8. package/dist/react/hooks/use-on-event-received.d.ts.map +1 -0
  9. package/dist/react/hooks/use-on-widget-load.d.ts +4 -0
  10. package/dist/react/hooks/use-on-widget-load.d.ts.map +1 -0
  11. package/dist/react/index.d.ts +4 -0
  12. package/dist/react/index.d.ts.map +1 -0
  13. package/dist/react/index.iife.js +2 -0
  14. package/dist/react/index.iife.js.map +1 -0
  15. package/dist/react/index.js +179 -0
  16. package/dist/react/index.js.map +1 -0
  17. package/dist/react/types/index.d.ts +2 -0
  18. package/dist/react/types/index.d.ts.map +1 -0
  19. package/dist/react/types/window-events.d.ts +3 -0
  20. package/dist/react/types/window-events.d.ts.map +1 -0
  21. package/dist/root/aggregate.d.ts +12 -0
  22. package/dist/root/aggregate.d.ts.map +1 -0
  23. package/dist/root/classifier.d.ts +9 -0
  24. package/dist/root/classifier.d.ts.map +1 -0
  25. package/dist/root/commands.d.ts +9 -0
  26. package/dist/root/commands.d.ts.map +1 -0
  27. package/dist/root/data/event-detail.d.ts +10 -0
  28. package/dist/root/data/event-detail.d.ts.map +1 -0
  29. package/dist/root/data/field-value.d.ts +3 -0
  30. package/dist/root/data/field-value.d.ts.map +1 -0
  31. package/dist/root/data/index.d.ts +3 -0
  32. package/dist/root/data/index.d.ts.map +1 -0
  33. package/dist/root/data/widget-load.d.ts +5 -0
  34. package/dist/root/data/widget-load.d.ts.map +1 -0
  35. package/dist/root/index.d.ts +10 -0
  36. package/dist/root/index.d.ts.map +1 -0
  37. package/dist/root/index.iife.js +2 -0
  38. package/dist/root/index.iife.js.map +1 -0
  39. package/dist/root/index.js +2692 -0
  40. package/dist/root/index.js.map +1 -0
  41. package/dist/root/keys.d.ts +6 -0
  42. package/dist/root/keys.d.ts.map +1 -0
  43. package/dist/root/message/event.d.ts +7 -0
  44. package/dist/root/message/event.d.ts.map +1 -0
  45. package/dist/root/message/index.d.ts +5 -0
  46. package/dist/root/message/index.d.ts.map +1 -0
  47. package/dist/root/message/message.d.ts +37 -0
  48. package/dist/root/message/message.d.ts.map +1 -0
  49. package/dist/root/message/roles.d.ts +4 -0
  50. package/dist/root/message/roles.d.ts.map +1 -0
  51. package/dist/root/message/tags.d.ts +69 -0
  52. package/dist/root/message/tags.d.ts.map +1 -0
  53. package/dist/root/sources/alerts.d.ts +162 -0
  54. package/dist/root/sources/alerts.d.ts.map +1 -0
  55. package/dist/root/sources/index.d.ts +5 -0
  56. package/dist/root/sources/index.d.ts.map +1 -0
  57. package/dist/root/sources/messages.d.ts +963 -0
  58. package/dist/root/sources/messages.d.ts.map +1 -0
  59. package/dist/root/sources/on-widget-load-detail.d.ts +542 -0
  60. package/dist/root/sources/on-widget-load-detail.d.ts.map +1 -0
  61. package/dist/root/types/index.d.ts +3 -0
  62. package/dist/root/types/index.d.ts.map +1 -0
  63. package/dist/root/types/on-event-received.d.ts +170 -0
  64. package/dist/root/types/on-event-received.d.ts.map +1 -0
  65. package/dist/root/types/on-widget-load.d.ts +135 -0
  66. package/dist/root/types/on-widget-load.d.ts.map +1 -0
  67. package/dist/root/window-event-map.d.ts +10 -0
  68. package/dist/root/window-event-map.d.ts.map +1 -0
  69. package/package.json +48 -0
  70. package/src/react/hooks/index.ts +3 -0
  71. package/src/react/hooks/use-event-listener.ts +17 -0
  72. package/src/react/hooks/use-on-event-received.ts +206 -0
  73. package/src/react/hooks/use-on-widget-load.ts +15 -0
  74. package/src/react/index.ts +3 -0
  75. package/src/react/types/index.ts +1 -0
  76. package/src/react/types/window-events.ts +6 -0
  77. package/src/root/aggregate.ts +258 -0
  78. package/src/root/classifier.ts +208 -0
  79. package/src/root/commands.ts +33 -0
  80. package/src/root/data/event-detail.ts +14 -0
  81. package/src/root/data/field-value.ts +2 -0
  82. package/src/root/data/index.ts +2 -0
  83. package/src/root/data/widget-load.ts +5 -0
  84. package/src/root/index.ts +9 -0
  85. package/src/root/keys.ts +14 -0
  86. package/src/root/message/event.ts +7 -0
  87. package/src/root/message/index.ts +4 -0
  88. package/src/root/message/message.ts +40 -0
  89. package/src/root/message/roles.ts +43 -0
  90. package/src/root/message/tags.ts +119 -0
  91. package/src/root/sources/alerts.ts +163 -0
  92. package/src/root/sources/index.ts +5 -0
  93. package/src/root/sources/messages.ts +1245 -0
  94. package/src/root/sources/on-widget-load-detail.ts +969 -0
  95. package/src/root/types/index.ts +2 -0
  96. package/src/root/types/on-event-received.ts +198 -0
  97. package/src/root/types/on-widget-load.ts +171 -0
  98. package/src/root/window-event-map.ts +11 -0
@@ -0,0 +1,2692 @@
1
+ function x(e) {
2
+ if (e == null) return { tier: 0, tierText: "" };
3
+ const a = typeof e == "string" ? e : String(e), t = parseInt(a, 10);
4
+ return isNaN(t) ? { tier: 0, tierText: a } : { tier: t >= 3e3 ? 3 : t >= 2e3 ? 2 : t >= 1e3 ? 1 : 0, tierText: a };
5
+ }
6
+ function R(e) {
7
+ const a = e.listener, t = e.event ?? {}, r = t.activityGroup, s = t.activityId ?? t._id;
8
+ return r ? String(r) : s ? String(s) : a === "subscriber-latest" && t.bulkGifted ? "sl-bulk-" + (t.sender ?? "") + "-" + (t.amount ?? "") + "-" + (t.tier ?? "") + "-" + (t._id ?? "") : "sl-" + (t._id ?? t.activityId ?? "");
9
+ }
10
+ function B(e) {
11
+ const a = e.listener, t = e.event ?? {}, r = t.data ?? t, s = x(
12
+ r.tier ?? t.tier
13
+ );
14
+ if (a === "event") {
15
+ if (t.type === "communityGiftPurchase") {
16
+ const n = r.username && String(r.username).toLowerCase() === "anonymous" || r.sender === "Anonymous";
17
+ return {
18
+ type: n ? "community-gift-anonymous" : "community-gift",
19
+ tier: s.tier,
20
+ tierText: s.tierText,
21
+ totalAmount: parseInt(String(r.amount), 10) || 1,
22
+ recipients: [],
23
+ sender: n ? void 0 : r.sender ?? r.displayName ?? r.username,
24
+ anonymousDisplayName: n ? r.displayName ?? "Anonymous" : void 0
25
+ };
26
+ }
27
+ if (t.type === "subscriber") {
28
+ const n = r.gifted === !0, o = r.sender, p = parseInt(String(r.amount), 10) || 1, c = r.username ?? r.displayName, d = t.activityGroup;
29
+ if (o === "Anonymous" && d)
30
+ return {
31
+ type: "community-gift-anonymous",
32
+ _role: "recipient",
33
+ activityGroup: d,
34
+ recipient: c ?? r.displayName,
35
+ tier: s.tier,
36
+ tierText: s.tierText
37
+ };
38
+ if (n && o && o !== "Anonymous") {
39
+ if (!(r.communityGifted === !0 || d != null && d !== "")) {
40
+ const i = String(r.message ?? "").indexOf("first Gift Sub") !== -1;
41
+ return {
42
+ type: "solo-sub-to-someone",
43
+ sender: o,
44
+ recipient: c ?? r.displayName,
45
+ tier: s.tier,
46
+ tierText: s.tierText,
47
+ firstGiftInChannel: i
48
+ };
49
+ }
50
+ return {
51
+ type: "community-gift",
52
+ _role: "recipient",
53
+ activityGroup: d,
54
+ recipient: c ?? r.displayName,
55
+ tier: s.tier,
56
+ tierText: s.tierText
57
+ };
58
+ }
59
+ return !n && p > 1 ? {
60
+ type: "sub-renewal",
61
+ name: c ?? r.displayName,
62
+ months: p,
63
+ tier: s.tier,
64
+ tierText: s.tierText
65
+ } : !n && p === 1 ? {
66
+ type: "self-sub",
67
+ name: c ?? r.displayName,
68
+ tier: s.tier,
69
+ tierText: s.tierText
70
+ } : d ? {
71
+ type: "community-gift",
72
+ _role: "recipient",
73
+ activityGroup: d,
74
+ recipient: c ?? r.displayName,
75
+ tier: s.tier,
76
+ tierText: s.tierText
77
+ } : null;
78
+ }
79
+ return null;
80
+ }
81
+ if (a === "subscriber-latest") {
82
+ const n = t.bulkGifted === !0, o = t.sender, p = t.name, c = parseInt(String(t.amount), 10) || 1, d = t.gifted === !0, m = t.isCommunityGift === !0 || t.communityGifted === !0;
83
+ if (n && o === "Anonymous")
84
+ return {
85
+ type: "community-gift-anonymous",
86
+ tier: s.tier,
87
+ tierText: s.tierText,
88
+ totalAmount: c,
89
+ recipients: []
90
+ };
91
+ if (n && o)
92
+ return {
93
+ type: "community-gift",
94
+ sender: o,
95
+ tier: s.tier,
96
+ tierText: s.tierText,
97
+ totalAmount: c,
98
+ recipients: []
99
+ };
100
+ if (d && !m && o) {
101
+ const i = String(t.message ?? "").indexOf("first Gift Sub") !== -1;
102
+ return {
103
+ type: "solo-sub-to-someone",
104
+ sender: o,
105
+ recipient: p ?? "",
106
+ tier: s.tier,
107
+ tierText: s.tierText,
108
+ firstGiftInChannel: i
109
+ };
110
+ }
111
+ return !d && c > 1 ? {
112
+ type: "sub-renewal",
113
+ name: p ?? "",
114
+ months: c,
115
+ tier: s.tier,
116
+ tierText: s.tierText
117
+ } : !d && c === 1 && (o == null || p === o) ? {
118
+ type: "self-sub",
119
+ name: p ?? "",
120
+ tier: s.tier,
121
+ tierText: s.tierText
122
+ } : null;
123
+ }
124
+ return null;
125
+ }
126
+ const y = 2500, l = {}, u = {};
127
+ function w(e, a) {
128
+ if (!e) return null;
129
+ if (typeof e._has == "function" && typeof e._set == "function")
130
+ return e;
131
+ const t = e[a];
132
+ return t && typeof t._has == "function" ? t : null;
133
+ }
134
+ function g(e, a, t, r) {
135
+ const s = w(t, a.type);
136
+ s && s._has(e) || (s && s._set(e, !0), r(a));
137
+ }
138
+ function h(e, a, t, r) {
139
+ const s = l[e];
140
+ if (!s) return;
141
+ delete l[e], u[e] && (clearTimeout(u[e]), delete u[e]);
142
+ const n = s.purchase, o = s.subscribers ?? [], p = s.type, c = s.tier, d = s.tierText, m = s.totalAmount ?? o.length, i = o.map((f) => f.recipient ?? f.username ?? f.name).filter(Boolean), b = o[0], A = b == null ? void 0 : b.sender, v = (n == null ? void 0 : n.sender) ?? s.sender ?? A;
143
+ p === "community-gift" && r && v === r || (p === "community-gift-anonymous" ? g(
144
+ e,
145
+ {
146
+ type: "community-gift-anonymous",
147
+ tier: c,
148
+ tierText: d,
149
+ totalAmount: m,
150
+ recipients: i,
151
+ anonymousDisplayName: n == null ? void 0 : n.anonymousDisplayName
152
+ },
153
+ a,
154
+ t
155
+ ) : g(
156
+ e,
157
+ {
158
+ type: "community-gift",
159
+ sender: v,
160
+ tier: c,
161
+ tierText: d,
162
+ totalAmount: m,
163
+ recipients: i
164
+ },
165
+ a,
166
+ t
167
+ ));
168
+ }
169
+ function N(e, a, t) {
170
+ const r = a == null ? void 0 : a.cacheSubs, s = (a == null ? void 0 : a.broadcasterLogin) ?? "", n = B(e);
171
+ if (!n) {
172
+ t(null);
173
+ return;
174
+ }
175
+ const o = w(r, n.type), p = R(e), c = e.event ?? {}, d = c.data ?? c;
176
+ if (n._role === "recipient") {
177
+ const m = n.activityGroup ?? p;
178
+ l[m] || (l[m] = {
179
+ type: n.type,
180
+ subscribers: [],
181
+ tier: n.tier,
182
+ tierText: n.tierText,
183
+ totalAmount: 0
184
+ }), u[m] && clearTimeout(u[m]), u[m] = setTimeout(() => {
185
+ h(m, r, t, s);
186
+ }, y), l[m].subscribers.push({
187
+ recipient: n.recipient,
188
+ username: d.username,
189
+ name: d.displayName,
190
+ sender: d.sender
191
+ }), l[m].totalAmount === 0 && (l[m].totalAmount = 1);
192
+ return;
193
+ }
194
+ if (n.type === "community-gift-anonymous" || n.type === "community-gift") {
195
+ if (e.listener === "event" && c.type === "communityGiftPurchase") {
196
+ const i = c.activityGroup ?? (d && d.activityGroup) ?? p;
197
+ l[i] ? (l[i].purchase = n, l[i].tier = n.tier, l[i].tierText = n.tierText, l[i].totalAmount = n.totalAmount ?? l[i].totalAmount, l[i].sender = n.sender, u[i] && clearTimeout(u[i]), u[i] = setTimeout(() => {
198
+ h(i, r, t, s);
199
+ }, y)) : (l[i] = {
200
+ type: n.type,
201
+ purchase: n,
202
+ subscribers: [],
203
+ tier: n.tier,
204
+ tierText: n.tierText,
205
+ totalAmount: Number(n.totalAmount) || 0,
206
+ sender: n.sender
207
+ }, u[i] = setTimeout(() => {
208
+ h(i, r, t, s);
209
+ }, y));
210
+ return;
211
+ }
212
+ if (e.listener === "subscriber-latest") {
213
+ const i = n;
214
+ if (n.type === "community-gift" && s && i.sender === s) {
215
+ t(null);
216
+ return;
217
+ }
218
+ return;
219
+ }
220
+ return;
221
+ }
222
+ if (n.type === "self-sub" || n.type === "solo-sub-to-someone" || n.type === "sub-renewal") {
223
+ if (o != null && o._has(p)) {
224
+ t(null);
225
+ return;
226
+ }
227
+ o && o._set(p, !0);
228
+ const m = n;
229
+ if (n.type === "solo-sub-to-someone" && s && m.sender === s) {
230
+ t(null);
231
+ return;
232
+ }
233
+ t(n);
234
+ }
235
+ }
236
+ const H = {
237
+ session: {
238
+ data: {
239
+ "follower-latest": {
240
+ name: "imacanadiannn"
241
+ },
242
+ "follower-session": {
243
+ count: 0
244
+ },
245
+ "follower-week": {
246
+ count: 0
247
+ },
248
+ "follower-month": {
249
+ count: 0
250
+ },
251
+ "follower-goal": {
252
+ amount: 137
253
+ },
254
+ "follower-total": {
255
+ count: 118,
256
+ activityId: "",
257
+ sessionTop: !1
258
+ },
259
+ "subscriber-latest": {
260
+ name: "",
261
+ amount: 0,
262
+ tier: "",
263
+ message: ""
264
+ },
265
+ "subscriber-new-latest": {
266
+ name: "",
267
+ amount: 0,
268
+ message: ""
269
+ },
270
+ "subscriber-resub-latest": {
271
+ name: "",
272
+ amount: 0,
273
+ message: ""
274
+ },
275
+ "subscriber-gifted-latest": {
276
+ name: "",
277
+ amount: 0,
278
+ message: "",
279
+ tier: "",
280
+ sender: ""
281
+ },
282
+ "subscriber-session": {
283
+ count: 0
284
+ },
285
+ "subscriber-new-session": {
286
+ count: 0
287
+ },
288
+ "subscriber-resub-session": {
289
+ count: 0
290
+ },
291
+ "subscriber-gifted-session": {
292
+ count: 0
293
+ },
294
+ "subscriber-week": {
295
+ count: 0
296
+ },
297
+ "subscriber-month": {
298
+ count: 0
299
+ },
300
+ "subscriber-goal": {
301
+ amount: 0
302
+ },
303
+ "subscriber-total": {
304
+ count: 0,
305
+ activityId: "",
306
+ sessionTop: !1
307
+ },
308
+ "subscriber-points": {
309
+ amount: 0,
310
+ activityId: "",
311
+ sessionTop: !1
312
+ },
313
+ "subscriber-alltime-gifter": {
314
+ name: "",
315
+ amount: 0
316
+ },
317
+ "host-latest": {
318
+ name: "",
319
+ amount: 0
320
+ },
321
+ "raid-latest": {
322
+ name: "agnascor2",
323
+ amount: 6
324
+ },
325
+ "cheer-session": {
326
+ amount: 0
327
+ },
328
+ "cheer-week": {
329
+ amount: 0
330
+ },
331
+ "cheer-month": {
332
+ amount: 0
333
+ },
334
+ "cheer-total": {
335
+ amount: 0
336
+ },
337
+ "cheer-count": {
338
+ count: 0
339
+ },
340
+ "cheer-goal": {
341
+ amount: 0
342
+ },
343
+ "cheer-latest": {
344
+ name: "",
345
+ amount: 0
346
+ },
347
+ "cheer-session-top-donation": {
348
+ amount: 0,
349
+ name: ""
350
+ },
351
+ "cheer-weekly-top-donation": {
352
+ amount: 0,
353
+ name: ""
354
+ },
355
+ "cheer-monthly-top-donation": {
356
+ amount: 0,
357
+ name: ""
358
+ },
359
+ "cheer-alltime-top-donation": {
360
+ amount: 0,
361
+ name: ""
362
+ },
363
+ "cheer-session-top-donator": {
364
+ amount: 0,
365
+ name: ""
366
+ },
367
+ "cheer-weekly-top-donator": {
368
+ amount: 0,
369
+ name: ""
370
+ },
371
+ "cheer-monthly-top-donator": {
372
+ amount: 0,
373
+ name: ""
374
+ },
375
+ "cheer-alltime-top-donator": {
376
+ amount: 0,
377
+ name: ""
378
+ },
379
+ "tip-latest": {
380
+ name: "",
381
+ amount: 0
382
+ },
383
+ "tip-session-top-donation": {
384
+ amount: 0,
385
+ name: ""
386
+ },
387
+ "tip-weekly-top-donation": {
388
+ name: "",
389
+ amount: 0
390
+ },
391
+ "tip-monthly-top-donation": {
392
+ name: "",
393
+ amount: 0
394
+ },
395
+ "tip-alltime-top-donation": {
396
+ name: "",
397
+ amount: 0
398
+ },
399
+ "tip-session-top-donator": {
400
+ amount: 0,
401
+ name: ""
402
+ },
403
+ "tip-weekly-top-donator": {
404
+ name: "",
405
+ amount: 0
406
+ },
407
+ "tip-monthly-top-donator": {
408
+ name: "",
409
+ amount: 0
410
+ },
411
+ "tip-alltime-top-donator": {
412
+ name: "",
413
+ amount: 0
414
+ },
415
+ "tip-session": {
416
+ amount: 0
417
+ },
418
+ "tip-week": {
419
+ amount: 0
420
+ },
421
+ "tip-month": {
422
+ amount: 0
423
+ },
424
+ "tip-total": {
425
+ amount: 0
426
+ },
427
+ "tip-count": {
428
+ count: 0
429
+ },
430
+ "tip-goal": {
431
+ amount: 0
432
+ },
433
+ "merch-goal-orders": {
434
+ amount: 0
435
+ },
436
+ "merch-goal-items": {
437
+ amount: 0
438
+ },
439
+ "merch-goal-total": {
440
+ amount: 0
441
+ },
442
+ "merch-latest": {
443
+ name: "",
444
+ amount: 0,
445
+ items: []
446
+ },
447
+ "charityCampaignDonation-latest": {
448
+ name: "",
449
+ amount: 0
450
+ },
451
+ "charityCampaignDonation-weekly-top-donation": {
452
+ name: "",
453
+ amount: 0
454
+ },
455
+ "charityCampaignDonation-monthly-top-donation": {
456
+ name: "",
457
+ amount: 0
458
+ },
459
+ "charityCampaignDonation-alltime-top-donation": {
460
+ name: "",
461
+ amount: 0
462
+ },
463
+ "charityCampaignDonation-weekly-top-donator": {
464
+ name: "",
465
+ amount: 0
466
+ },
467
+ "charityCampaignDonation-monthly-top-donator": {
468
+ name: "",
469
+ amount: 0
470
+ },
471
+ "charityCampaignDonation-alltime-top-donator": {
472
+ name: "",
473
+ amount: 0
474
+ },
475
+ "cheerPurchase-latest": {
476
+ name: "",
477
+ amount: 0
478
+ },
479
+ "cheerPurchase-weekly-top-donation": {
480
+ name: "",
481
+ amount: 0
482
+ },
483
+ "cheerPurchase-monthly-top-donation": {
484
+ name: "",
485
+ amount: 0
486
+ },
487
+ "cheerPurchase-alltime-top-donation": {
488
+ name: "",
489
+ amount: 0
490
+ },
491
+ "cheerPurchase-weekly-top-donator": {
492
+ name: "",
493
+ amount: 0
494
+ },
495
+ "cheerPurchase-monthly-top-donator": {
496
+ name: "",
497
+ amount: 0
498
+ },
499
+ "cheerPurchase-alltime-top-donator": {
500
+ name: "",
501
+ amount: 0
502
+ },
503
+ "superchat-latest": {
504
+ name: "",
505
+ amount: 0
506
+ },
507
+ "superchat-weekly-top-donation": {
508
+ name: "",
509
+ amount: 0
510
+ },
511
+ "superchat-monthly-top-donation": {
512
+ name: "",
513
+ amount: 0
514
+ },
515
+ "superchat-alltime-top-donation": {
516
+ name: "",
517
+ amount: 0
518
+ },
519
+ "superchat-weekly-top-donator": {
520
+ name: "",
521
+ amount: 0
522
+ },
523
+ "superchat-monthly-top-donator": {
524
+ name: "",
525
+ amount: 0
526
+ },
527
+ "superchat-alltime-top-donator": {
528
+ name: "",
529
+ amount: 0
530
+ },
531
+ "superchat-session": {
532
+ amount: 0
533
+ },
534
+ "superchat-week": {
535
+ amount: 0
536
+ },
537
+ "superchat-month": {
538
+ amount: 0
539
+ },
540
+ "superchat-total": {
541
+ amount: 0
542
+ },
543
+ "superchat-count": {
544
+ count: 0
545
+ },
546
+ "superchat-goal": {
547
+ amount: 0
548
+ },
549
+ "purchase-latest": {
550
+ name: "",
551
+ amount: 0,
552
+ avatar: "",
553
+ message: "",
554
+ items: []
555
+ },
556
+ "follower-recent": [
557
+ {
558
+ name: "imacanadiannn",
559
+ createdAt: "2026-01-13T01:53:50.296Z",
560
+ type: "follower"
561
+ },
562
+ {
563
+ name: "piwo143",
564
+ createdAt: "2026-01-13T01:51:39.472Z",
565
+ type: "follower"
566
+ },
567
+ {
568
+ name: "latvan_",
569
+ createdAt: "2026-01-12T23:54:29.235Z",
570
+ type: "follower"
571
+ },
572
+ {
573
+ name: "wheinwait",
574
+ createdAt: "2026-01-12T23:11:28.946Z",
575
+ type: "follower"
576
+ },
577
+ {
578
+ name: "agnascor2",
579
+ createdAt: "2026-01-12T23:11:14.880Z",
580
+ type: "follower"
581
+ },
582
+ {
583
+ name: "sunlitetuts",
584
+ createdAt: "2026-01-12T21:03:59.207Z",
585
+ type: "follower"
586
+ },
587
+ {
588
+ name: "ayanamya",
589
+ createdAt: "2026-01-12T20:00:55.509Z",
590
+ type: "follower"
591
+ },
592
+ {
593
+ name: "hopeless28",
594
+ createdAt: "2026-01-12T18:35:21.731Z",
595
+ type: "follower"
596
+ },
597
+ {
598
+ name: "kakoytoclown",
599
+ createdAt: "2026-01-11T18:39:36.843Z",
600
+ type: "follower"
601
+ },
602
+ {
603
+ name: "dababe__jq1",
604
+ createdAt: "2024-10-10T23:27:49.699Z",
605
+ type: "follower"
606
+ },
607
+ {
608
+ name: "jjjllkmf",
609
+ createdAt: "2024-05-05T09:44:16.287Z",
610
+ type: "follower"
611
+ },
612
+ {
613
+ name: "d4c_valintine",
614
+ createdAt: "2024-05-03T15:13:28.365Z",
615
+ type: "follower"
616
+ },
617
+ {
618
+ name: "angelbliss_",
619
+ createdAt: "2024-04-30T20:07:23.132Z",
620
+ type: "follower"
621
+ },
622
+ {
623
+ name: "o1zich",
624
+ createdAt: "2024-04-22T16:23:26.139Z",
625
+ type: "follower"
626
+ },
627
+ {
628
+ name: "nearbuziky",
629
+ createdAt: "2024-04-19T19:21:27.569Z",
630
+ type: "follower"
631
+ },
632
+ {
633
+ name: "samirkasamsa",
634
+ createdAt: "2024-04-19T17:06:38.963Z",
635
+ type: "follower"
636
+ },
637
+ {
638
+ name: "flip1mip",
639
+ createdAt: "2024-04-19T17:06:18.276Z",
640
+ type: "follower"
641
+ },
642
+ {
643
+ name: "valerie_solo",
644
+ createdAt: "2024-04-19T17:06:07.473Z",
645
+ type: "follower"
646
+ },
647
+ {
648
+ name: "sxaelence",
649
+ createdAt: "2024-04-19T07:06:46.330Z",
650
+ type: "follower"
651
+ },
652
+ {
653
+ name: "avokadik99",
654
+ createdAt: "2024-04-17T16:11:29.604Z",
655
+ type: "follower"
656
+ },
657
+ {
658
+ name: "blackvoronstream",
659
+ createdAt: "2024-04-16T21:29:33.306Z",
660
+ type: "follower"
661
+ },
662
+ {
663
+ name: "baldejniyy",
664
+ createdAt: "2024-04-16T21:29:09.647Z",
665
+ type: "follower"
666
+ },
667
+ {
668
+ name: "p3ch4n_ka",
669
+ createdAt: "2024-04-16T16:37:31.841Z",
670
+ type: "follower"
671
+ },
672
+ {
673
+ name: "kakosik_bee",
674
+ createdAt: "2024-04-16T15:56:27.435Z",
675
+ type: "follower"
676
+ },
677
+ {
678
+ name: "hikotoru",
679
+ createdAt: "2024-04-16T15:13:25.226Z",
680
+ type: "follower"
681
+ }
682
+ ],
683
+ "subscriber-recent": [],
684
+ "host-recent": [],
685
+ "raid-recent": [
686
+ {
687
+ name: "agnascor2",
688
+ amount: 6,
689
+ createdAt: "2026-01-12T23:08:21.815Z",
690
+ type: "raid"
691
+ },
692
+ {
693
+ name: "justduckomgg",
694
+ amount: 7,
695
+ createdAt: "2024-04-19T17:05:53.185Z",
696
+ type: "raid"
697
+ },
698
+ {
699
+ name: "veessmk",
700
+ amount: 6,
701
+ createdAt: "2024-04-17T15:40:43.945Z",
702
+ type: "raid"
703
+ },
704
+ {
705
+ name: "night_sculptor",
706
+ amount: 12,
707
+ createdAt: "2024-04-16T18:07:40.040Z",
708
+ type: "raid"
709
+ },
710
+ {
711
+ name: "pixiemays",
712
+ amount: 6,
713
+ createdAt: "2024-04-16T16:37:24.433Z",
714
+ type: "raid"
715
+ },
716
+ {
717
+ name: "night_sculptor",
718
+ amount: 8,
719
+ createdAt: "2024-04-14T18:31:20.049Z",
720
+ type: "raid"
721
+ },
722
+ {
723
+ name: "pixiemays",
724
+ amount: 19,
725
+ createdAt: "2024-04-14T13:22:05.794Z",
726
+ type: "raid"
727
+ },
728
+ {
729
+ name: "pixiemays",
730
+ amount: 15,
731
+ createdAt: "2024-04-12T17:03:36.115Z",
732
+ type: "raid"
733
+ },
734
+ {
735
+ name: "alechkavt",
736
+ amount: 9,
737
+ createdAt: "2024-04-11T17:54:47.691Z",
738
+ type: "raid"
739
+ },
740
+ {
741
+ name: "pixiemays",
742
+ amount: 8,
743
+ createdAt: "2024-04-11T14:10:49.548Z",
744
+ type: "raid"
745
+ },
746
+ {
747
+ name: "night_sculptor",
748
+ amount: 22,
749
+ createdAt: "2024-04-09T16:13:41.195Z",
750
+ type: "raid"
751
+ },
752
+ {
753
+ name: "pixiemays",
754
+ amount: 5,
755
+ createdAt: "2024-04-08T09:54:01.603Z",
756
+ type: "raid"
757
+ },
758
+ {
759
+ name: "aki_neki",
760
+ amount: 5,
761
+ createdAt: "2024-04-07T21:52:45.919Z",
762
+ type: "raid"
763
+ },
764
+ {
765
+ name: "alechkavt",
766
+ amount: 11,
767
+ createdAt: "2024-04-07T18:59:39.286Z",
768
+ type: "raid"
769
+ },
770
+ {
771
+ name: "veessmk",
772
+ amount: 15,
773
+ createdAt: "2024-04-07T16:13:25.172Z",
774
+ type: "raid"
775
+ },
776
+ {
777
+ name: "veessmk",
778
+ amount: 10,
779
+ createdAt: "2024-03-17T16:11:38.631Z",
780
+ type: "raid"
781
+ }
782
+ ],
783
+ "charityCampaignDonation-recent": [],
784
+ "cheer-recent": [],
785
+ "cheerPurchase-recent": [],
786
+ "superchat-recent": [],
787
+ "tip-recent": [],
788
+ "merch-recent": [],
789
+ "channel-points-latest": {
790
+ amount: 0,
791
+ message: "",
792
+ name: "",
793
+ redemption: ""
794
+ },
795
+ "community-gift-latest": {
796
+ amount: 0,
797
+ name: "",
798
+ tier: ""
799
+ },
800
+ "charityCampaignDonation-session-top-donation": {
801
+ amount: 0,
802
+ name: ""
803
+ },
804
+ "charityCampaignDonation-session-top-donator": {
805
+ amount: 0,
806
+ name: ""
807
+ },
808
+ "cheerPurchase-session-top-donation": {
809
+ amount: 0,
810
+ name: ""
811
+ },
812
+ "cheerPurchase-session-top-donator": {
813
+ amount: 0,
814
+ name: ""
815
+ },
816
+ "hypetrain-latest": {
817
+ active: 0,
818
+ amount: 0,
819
+ level: 0,
820
+ levelChanged: 0,
821
+ name: "",
822
+ type: ""
823
+ },
824
+ "hypetrain-latest-top-contributors": [],
825
+ "hypetrain-level-goal": {
826
+ amount: 0
827
+ },
828
+ "hypetrain-level-progress": {
829
+ amount: 0,
830
+ percent: 0
831
+ },
832
+ "hypetrain-total": {
833
+ amount: 0
834
+ },
835
+ "superchat-session-top-donation": {
836
+ amount: 0,
837
+ name: ""
838
+ },
839
+ "superchat-session-top-donator": {
840
+ amount: 0,
841
+ name: ""
842
+ }
843
+ },
844
+ settings: {
845
+ autoReset: !0,
846
+ calendar: !1,
847
+ resetOnStart: !1
848
+ }
849
+ },
850
+ recents: [
851
+ {
852
+ name: "imacanadiannn",
853
+ createdAt: "2026-01-13T01:53:50.296Z",
854
+ type: "follower"
855
+ },
856
+ {
857
+ name: "piwo143",
858
+ createdAt: "2026-01-13T01:51:39.472Z",
859
+ type: "follower"
860
+ },
861
+ {
862
+ name: "latvan_",
863
+ createdAt: "2026-01-12T23:54:29.235Z",
864
+ type: "follower"
865
+ },
866
+ {
867
+ name: "wheinwait",
868
+ createdAt: "2026-01-12T23:11:28.946Z",
869
+ type: "follower"
870
+ },
871
+ {
872
+ name: "agnascor2",
873
+ createdAt: "2026-01-12T23:11:14.880Z",
874
+ type: "follower"
875
+ },
876
+ {
877
+ name: "sunlitetuts",
878
+ createdAt: "2026-01-12T21:03:59.207Z",
879
+ type: "follower"
880
+ },
881
+ {
882
+ name: "ayanamya",
883
+ createdAt: "2026-01-12T20:00:55.509Z",
884
+ type: "follower"
885
+ },
886
+ {
887
+ name: "hopeless28",
888
+ createdAt: "2026-01-12T18:35:21.731Z",
889
+ type: "follower"
890
+ },
891
+ {
892
+ name: "kakoytoclown",
893
+ createdAt: "2026-01-11T18:39:36.843Z",
894
+ type: "follower"
895
+ },
896
+ {
897
+ name: "dababe__jq1",
898
+ createdAt: "2024-10-10T23:27:49.699Z",
899
+ type: "follower"
900
+ },
901
+ {
902
+ name: "jjjllkmf",
903
+ createdAt: "2024-05-05T09:44:16.287Z",
904
+ type: "follower"
905
+ },
906
+ {
907
+ name: "d4c_valintine",
908
+ createdAt: "2024-05-03T15:13:28.365Z",
909
+ type: "follower"
910
+ },
911
+ {
912
+ name: "angelbliss_",
913
+ createdAt: "2024-04-30T20:07:23.132Z",
914
+ type: "follower"
915
+ },
916
+ {
917
+ name: "o1zich",
918
+ createdAt: "2024-04-22T16:23:26.139Z",
919
+ type: "follower"
920
+ },
921
+ {
922
+ name: "nearbuziky",
923
+ createdAt: "2024-04-19T19:21:27.569Z",
924
+ type: "follower"
925
+ },
926
+ {
927
+ name: "samirkasamsa",
928
+ createdAt: "2024-04-19T17:06:38.963Z",
929
+ type: "follower"
930
+ },
931
+ {
932
+ name: "flip1mip",
933
+ createdAt: "2024-04-19T17:06:18.276Z",
934
+ type: "follower"
935
+ },
936
+ {
937
+ name: "valerie_solo",
938
+ createdAt: "2024-04-19T17:06:07.473Z",
939
+ type: "follower"
940
+ },
941
+ {
942
+ name: "sxaelence",
943
+ createdAt: "2024-04-19T07:06:46.330Z",
944
+ type: "follower"
945
+ },
946
+ {
947
+ name: "avokadik99",
948
+ createdAt: "2024-04-17T16:11:29.604Z",
949
+ type: "follower"
950
+ },
951
+ {
952
+ name: "blackvoronstream",
953
+ createdAt: "2024-04-16T21:29:33.306Z",
954
+ type: "follower"
955
+ },
956
+ {
957
+ name: "baldejniyy",
958
+ createdAt: "2024-04-16T21:29:09.647Z",
959
+ type: "follower"
960
+ },
961
+ {
962
+ name: "p3ch4n_ka",
963
+ createdAt: "2024-04-16T16:37:31.841Z",
964
+ type: "follower"
965
+ },
966
+ {
967
+ name: "kakosik_bee",
968
+ createdAt: "2024-04-16T15:56:27.435Z",
969
+ type: "follower"
970
+ },
971
+ {
972
+ name: "hikotoru",
973
+ createdAt: "2024-04-16T15:13:25.226Z",
974
+ type: "follower"
975
+ },
976
+ {
977
+ name: "agnascor2",
978
+ amount: 6,
979
+ createdAt: "2026-01-12T23:08:21.815Z",
980
+ type: "raid"
981
+ },
982
+ {
983
+ name: "justduckomgg",
984
+ amount: 7,
985
+ createdAt: "2024-04-19T17:05:53.185Z",
986
+ type: "raid"
987
+ },
988
+ {
989
+ name: "veessmk",
990
+ amount: 6,
991
+ createdAt: "2024-04-17T15:40:43.945Z",
992
+ type: "raid"
993
+ },
994
+ {
995
+ name: "night_sculptor",
996
+ amount: 12,
997
+ createdAt: "2024-04-16T18:07:40.040Z",
998
+ type: "raid"
999
+ },
1000
+ {
1001
+ name: "pixiemays",
1002
+ amount: 6,
1003
+ createdAt: "2024-04-16T16:37:24.433Z",
1004
+ type: "raid"
1005
+ },
1006
+ {
1007
+ name: "night_sculptor",
1008
+ amount: 8,
1009
+ createdAt: "2024-04-14T18:31:20.049Z",
1010
+ type: "raid"
1011
+ },
1012
+ {
1013
+ name: "pixiemays",
1014
+ amount: 19,
1015
+ createdAt: "2024-04-14T13:22:05.794Z",
1016
+ type: "raid"
1017
+ },
1018
+ {
1019
+ name: "pixiemays",
1020
+ amount: 15,
1021
+ createdAt: "2024-04-12T17:03:36.115Z",
1022
+ type: "raid"
1023
+ },
1024
+ {
1025
+ name: "alechkavt",
1026
+ amount: 9,
1027
+ createdAt: "2024-04-11T17:54:47.691Z",
1028
+ type: "raid"
1029
+ },
1030
+ {
1031
+ name: "pixiemays",
1032
+ amount: 8,
1033
+ createdAt: "2024-04-11T14:10:49.548Z",
1034
+ type: "raid"
1035
+ },
1036
+ {
1037
+ name: "night_sculptor",
1038
+ amount: 22,
1039
+ createdAt: "2024-04-09T16:13:41.195Z",
1040
+ type: "raid"
1041
+ },
1042
+ {
1043
+ name: "pixiemays",
1044
+ amount: 5,
1045
+ createdAt: "2024-04-08T09:54:01.603Z",
1046
+ type: "raid"
1047
+ },
1048
+ {
1049
+ name: "aki_neki",
1050
+ amount: 5,
1051
+ createdAt: "2024-04-07T21:52:45.919Z",
1052
+ type: "raid"
1053
+ },
1054
+ {
1055
+ name: "alechkavt",
1056
+ amount: 11,
1057
+ createdAt: "2024-04-07T18:59:39.286Z",
1058
+ type: "raid"
1059
+ },
1060
+ {
1061
+ name: "veessmk",
1062
+ amount: 15,
1063
+ createdAt: "2024-04-07T16:13:25.172Z",
1064
+ type: "raid"
1065
+ },
1066
+ {
1067
+ name: "veessmk",
1068
+ amount: 10,
1069
+ createdAt: "2024-03-17T16:11:38.631Z",
1070
+ type: "raid"
1071
+ }
1072
+ ],
1073
+ currency: {
1074
+ code: "USD",
1075
+ name: "U.S. Dollar",
1076
+ symbol: "$"
1077
+ },
1078
+ channel: {
1079
+ username: "encry_s",
1080
+ apiToken: "HAHANOTNOW",
1081
+ id: "65ba7503dc0415cb368947b1",
1082
+ providerId: "485678132",
1083
+ avatar: "https://static-cdn.jtvnw.net/jtv_user_pictures/6fe93724-803a-4e5a-b58a-1d42fbc84661-profile_image-300x300.jpeg"
1084
+ },
1085
+ fieldData: {
1086
+ testMessageButton: "zaytri_dynamicchatbubbles",
1087
+ previewMode: !1,
1088
+ previewType: "random",
1089
+ previewMessage: "",
1090
+ theme: "animal-crossing",
1091
+ corner: "round",
1092
+ darkMode: !1,
1093
+ highlightStyle: "normal",
1094
+ actionStyle: "italics",
1095
+ maxWidth: 400,
1096
+ maxHeight: 300,
1097
+ fixedWidth: !1,
1098
+ positionMode: "list",
1099
+ listDirection: "bottom",
1100
+ listAlignment: "center",
1101
+ topEdge: !0,
1102
+ bottomEdge: !0,
1103
+ leftEdge: !0,
1104
+ rightEdge: !0,
1105
+ edgeDeviation: 0,
1106
+ padding: 30,
1107
+ animation: "dynamic",
1108
+ dynamicModifier: 1.75,
1109
+ maxMessages: 25,
1110
+ hideOutOfBounds: !0,
1111
+ lifetime: 0,
1112
+ delay: 1,
1113
+ googleFont: "Nunito",
1114
+ customFont: "",
1115
+ fontSize: 18,
1116
+ fontWeight: "bold",
1117
+ textDirection: "ltr",
1118
+ useCustomBorderColors: !0,
1119
+ borderColor: "#fed400",
1120
+ nameColor: "#000000",
1121
+ useCustomMessageColors: !0,
1122
+ backgroundColor: "#fff3c0",
1123
+ textColor: "#000000",
1124
+ pronounsMode: "suffix",
1125
+ pronounsLowercase: !0,
1126
+ pronounsBadgeCustomColors: !1,
1127
+ pronounsBadgeBackgroundColor: "#000000",
1128
+ pronounsBadgeBorderColor: "#FFFFFF",
1129
+ pronounsBadgeTextColor: "#FFFFFF",
1130
+ showBadges: !0,
1131
+ largeEmotes: !0,
1132
+ ffzGlobal: !1,
1133
+ bttvGlobal: !1,
1134
+ emoteOnly: !1,
1135
+ highlightOnly: !1,
1136
+ allowedStrings: [],
1137
+ minMessages: 0,
1138
+ messageCooldown: 0,
1139
+ raidCooldown: 0,
1140
+ raidMin: 0,
1141
+ includeEveryone: !0,
1142
+ includeFollowers: "true",
1143
+ minFollowTime: 1,
1144
+ includeSubs: !0,
1145
+ includeVIPs: !0,
1146
+ includeMods: !0,
1147
+ allowUserList: [],
1148
+ ignoreUserList: ["StreamElements", "Streamlabs", "Nightbot", "Sery_Bot"],
1149
+ ignorePrefixList: ["!"],
1150
+ volume: 50,
1151
+ soundGroup1: [],
1152
+ userLevelSoundGroup1: "everyone",
1153
+ specificUsersSoundGroup1: [],
1154
+ messageTypeSoundGroup1: "all",
1155
+ soundGroup2: [],
1156
+ userLevelSoundGroup2: "everyone",
1157
+ specificUsersSoundGroup2: [],
1158
+ messageTypeSoundGroup2: "all",
1159
+ soundGroup3: [],
1160
+ userLevelSoundGroup3: "everyone",
1161
+ specificUsersSoundGroup3: [],
1162
+ messageTypeSoundGroup3: "all",
1163
+ soundGroup4: [],
1164
+ userLevelSoundGroup4: "everyone",
1165
+ specificUsersSoundGroup4: [],
1166
+ messageTypeSoundGroup4: "all",
1167
+ soundGroup5: [],
1168
+ userLevelSoundGroup5: "everyone",
1169
+ specificUsersSoundGroup5: [],
1170
+ messageTypeSoundGroup5: "all",
1171
+ soundGroup6: [],
1172
+ userLevelSoundGroup6: "everyone",
1173
+ specificUsersSoundGroup6: [],
1174
+ messageTypeSoundGroup6: "all",
1175
+ soundGroup7: [],
1176
+ userLevelSoundGroup7: "everyone",
1177
+ specificUsersSoundGroup7: [],
1178
+ messageTypeSoundGroup7: "all",
1179
+ soundGroup8: [],
1180
+ userLevelSoundGroup8: "everyone",
1181
+ specificUsersSoundGroup8: [],
1182
+ messageTypeSoundGroup8: "all",
1183
+ soundGroup9: [],
1184
+ userLevelSoundGroup9: "everyone",
1185
+ specificUsersSoundGroup9: [],
1186
+ messageTypeSoundGroup9: "all",
1187
+ soundGroup10: [],
1188
+ userLevelSoundGroup10: "everyone",
1189
+ specificUsersSoundGroup10: [],
1190
+ messageTypeSoundGroup10: "all",
1191
+ widgetName: "Chat Bubbles",
1192
+ widgetAuthor: "Zaytri",
1193
+ widgetVersion: "2.12.0",
1194
+ widgetUpdateUrl: "https://github.com/zaytri/stream-elements-widgets/blob/main/DynamicChatBubbles",
1195
+ ignoreFirst: !0
1196
+ },
1197
+ overlay: {
1198
+ isEditorMode: !0,
1199
+ muted: !1
1200
+ }
1201
+ }, G = {
1202
+ follower: {
1203
+ listener: "follower-latest",
1204
+ event: {
1205
+ name: "An1by"
1206
+ }
1207
+ },
1208
+ communityGiftAnonymous: {
1209
+ listener: "event",
1210
+ event: {
1211
+ type: "communityGiftPurchase",
1212
+ provider: "twitch",
1213
+ channel: "663b10ba6cd449c4162a2230",
1214
+ activityGroup: "41a50a915794e4ae7cf5e600fd3445d4",
1215
+ data: {
1216
+ amount: 2,
1217
+ username: "anonymous",
1218
+ displayName: "AnAnonymousGifter",
1219
+ tier: "2000",
1220
+ sender: "Anonymous"
1221
+ },
1222
+ _id: "699868d7df734989ec85d393",
1223
+ activityId: "699868d7df734989ec85d393"
1224
+ }
1225
+ },
1226
+ communityGift: {
1227
+ listener: "event",
1228
+ event: {
1229
+ type: "communityGiftPurchase",
1230
+ provider: "twitch",
1231
+ channel: "663b10ba6cd449c4162a2230",
1232
+ activityGroup: "841592c0bccbf3e1e7de71e1c8f4d9f0",
1233
+ data: {
1234
+ amount: 1,
1235
+ username: "rishamon",
1236
+ displayName: "rishamon",
1237
+ tier: "1000",
1238
+ sender: "rishamon"
1239
+ },
1240
+ _id: "699867c7fef23197a6a089f5",
1241
+ activityId: "699867c7fef23197a6a089f5"
1242
+ }
1243
+ },
1244
+ sub: {
1245
+ listener: "subscriber-latest",
1246
+ event: {
1247
+ name: "An1by",
1248
+ amount: 1
1249
+ }
1250
+ },
1251
+ selfSub: {
1252
+ listener: "event",
1253
+ event: {
1254
+ type: "subscriber",
1255
+ provider: "twitch",
1256
+ channel: "663b10ba6cd449c4162a2230",
1257
+ data: {
1258
+ amount: 1,
1259
+ username: "rishamon",
1260
+ displayName: "rishamon",
1261
+ tier: "1000"
1262
+ },
1263
+ _id: "6998676317aed69e62b8f283",
1264
+ activityId: "6998676317aed69e62b8f283"
1265
+ }
1266
+ },
1267
+ soloSubToSomeone: {
1268
+ listener: "event",
1269
+ event: {
1270
+ type: "subscriber",
1271
+ provider: "twitch",
1272
+ channel: "663b10ba6cd449c4162a2230",
1273
+ data: {
1274
+ amount: 1,
1275
+ username: "encry_s",
1276
+ displayName: "encry_s",
1277
+ message: "rishamon gifted a Tier 1 sub to encry_s! This is their first Gift Sub in the channel!",
1278
+ tier: "1000",
1279
+ sender: "rishamon",
1280
+ gifted: !0
1281
+ },
1282
+ _id: "699866e82d9cd9a70854baf2",
1283
+ activityId: "699866e82d9cd9a70854baf2"
1284
+ }
1285
+ },
1286
+ subRenewal: {
1287
+ listener: "event",
1288
+ event: {
1289
+ type: "subscriber",
1290
+ provider: "twitch",
1291
+ channel: "663b10ba6cd449c4162a2230",
1292
+ data: {
1293
+ amount: 8,
1294
+ username: "silgestian",
1295
+ displayName: "SilgeStian",
1296
+ tier: "1000"
1297
+ },
1298
+ _id: "69986dfaf25724ff4162bd1a",
1299
+ activityId: "69986dfaf25724ff4162bd1a"
1300
+ }
1301
+ },
1302
+ bits: {
1303
+ listener: "cheer-latest",
1304
+ event: {
1305
+ name: "An1by",
1306
+ amount: 30
1307
+ }
1308
+ },
1309
+ raid: {
1310
+ listener: "raid-latest",
1311
+ event: {
1312
+ name: "An1by",
1313
+ amount: 50
1314
+ }
1315
+ },
1316
+ donationShortText: {
1317
+ listener: "donation",
1318
+ event: {
1319
+ data: {
1320
+ alert_type: "1",
1321
+ currency: "RUB",
1322
+ billing_system: "CARD",
1323
+ id: 5,
1324
+ amount_main: 500,
1325
+ amount: 500,
1326
+ username: "An1by",
1327
+ message: "Simple message text"
1328
+ }
1329
+ }
1330
+ },
1331
+ donationLongText: {
1332
+ listener: "donation",
1333
+ event: {
1334
+ data: {
1335
+ alert_type: "1",
1336
+ currency: "RUB",
1337
+ billing_system: "CARD",
1338
+ id: 5,
1339
+ amount_main: 500,
1340
+ amount: 500,
1341
+ username: "An1by",
1342
+ message: `A plain gray stone lay on the shore, basking in the sun's warmth. A shove broke its peace—a thoughtless toss sent it flying. The stone splashed into water. Ripples spread, yet none noticed. It sank to the bottom, heavy with loneliness. "Didn't I deserve to stay where I was happy still?" it wondered.`
1343
+ }
1344
+ }
1345
+ },
1346
+ donation: {
1347
+ listener: "donation",
1348
+ event: {
1349
+ data: {
1350
+ alert_type: "1",
1351
+ currency: "RUB",
1352
+ billing_system: "CARD",
1353
+ id: 5,
1354
+ amount_main: 500,
1355
+ amount: 500,
1356
+ username: "An1by",
1357
+ message: ""
1358
+ }
1359
+ }
1360
+ }
1361
+ }, D = {
1362
+ zeroWidthEmotesInRow: {
1363
+ listener: "message",
1364
+ event: {
1365
+ service: "twitch",
1366
+ data: {
1367
+ time: 1768317417111,
1368
+ tags: {
1369
+ "badge-info": "subscriber/23",
1370
+ badges: "broadcaster/1,subscriber/0",
1371
+ "client-nonce": "f70c4cd8b6034d1f805298246ee1bc35",
1372
+ color: "#DAA520",
1373
+ "display-name": "An1by",
1374
+ emotes: "",
1375
+ "first-msg": "0",
1376
+ flags: "",
1377
+ id: "5f752ae3-4be9-4f93-82d1-d78575ba07fd",
1378
+ mod: "0",
1379
+ "returning-chatter": "0",
1380
+ "room-id": "958683839",
1381
+ subscriber: "1",
1382
+ "tmi-sent-ts": "1768317416862",
1383
+ turbo: "0",
1384
+ "user-id": "958683839",
1385
+ "user-type": ""
1386
+ },
1387
+ nick: "an1by",
1388
+ userId: "958683839",
1389
+ displayName: "An1by",
1390
+ displayColor: "#DAA520",
1391
+ badges: [
1392
+ {
1393
+ type: "broadcaster",
1394
+ version: "1",
1395
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
1396
+ description: "Broadcaster"
1397
+ },
1398
+ {
1399
+ type: "subscriber",
1400
+ version: "0",
1401
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
1402
+ description: "Subscriber"
1403
+ }
1404
+ ],
1405
+ channel: "an1by",
1406
+ text: "Censored Censored Censored emotes in row",
1407
+ isAction: !1,
1408
+ emotes: [
1409
+ {
1410
+ type: "7tv",
1411
+ name: "Censored",
1412
+ id: "01GC2KBETR0009QMKQRDSHDTVB",
1413
+ gif: !0,
1414
+ animated: !0,
1415
+ urls: {
1416
+ 1: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp",
1417
+ 2: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp",
1418
+ 3: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/3x.webp",
1419
+ 4: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp"
1420
+ },
1421
+ start: 0,
1422
+ end: 8
1423
+ },
1424
+ {
1425
+ type: "7tv",
1426
+ name: "Censored",
1427
+ id: "01GC2KBETR0009QMKQRDSHDTVB",
1428
+ gif: !0,
1429
+ animated: !0,
1430
+ urls: {
1431
+ 1: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp",
1432
+ 2: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp",
1433
+ 3: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/3x.webp",
1434
+ 4: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp"
1435
+ },
1436
+ start: 9,
1437
+ end: 17
1438
+ },
1439
+ {
1440
+ type: "7tv",
1441
+ name: "Censored",
1442
+ id: "01GC2KBETR0009QMKQRDSHDTVB",
1443
+ gif: !0,
1444
+ animated: !0,
1445
+ urls: {
1446
+ 1: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp",
1447
+ 2: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp",
1448
+ 3: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/3x.webp",
1449
+ 4: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp"
1450
+ },
1451
+ start: 18,
1452
+ end: 26
1453
+ }
1454
+ ],
1455
+ msgId: "5f752ae3-4be9-4f93-82d1-d78575ba07fd"
1456
+ },
1457
+ renderedText: '<img src="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp" srcset="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp 1x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp 2x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp 4x" title="Censored" class="emote"><img src="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp" srcset="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp 1x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp 2x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp 4x" title="Censored" class="emote"><img src="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp" srcset="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp 1x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp 2x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp 4x" title="Censored" class="emote">emotes in row'
1458
+ }
1459
+ },
1460
+ zeroWidthEmoteInMiddle: {
1461
+ listener: "message",
1462
+ event: {
1463
+ service: "twitch",
1464
+ data: {
1465
+ time: 1768317383248,
1466
+ tags: {
1467
+ "badge-info": "subscriber/23",
1468
+ badges: "broadcaster/1,subscriber/0",
1469
+ "client-nonce": "847f9c27722340d090eddcb0d0662b5b",
1470
+ color: "#DAA520",
1471
+ "display-name": "An1by",
1472
+ emotes: "",
1473
+ "first-msg": "0",
1474
+ flags: "",
1475
+ id: "3dea1e1e-89f7-4a5f-b743-13ba0386492f",
1476
+ mod: "0",
1477
+ "returning-chatter": "0",
1478
+ "room-id": "958683839",
1479
+ subscriber: "1",
1480
+ "tmi-sent-ts": "1768317382987",
1481
+ turbo: "0",
1482
+ "user-id": "958683839",
1483
+ "user-type": ""
1484
+ },
1485
+ nick: "an1by",
1486
+ userId: "958683839",
1487
+ displayName: "An1by",
1488
+ displayColor: "#DAA520",
1489
+ badges: [
1490
+ {
1491
+ type: "broadcaster",
1492
+ version: "1",
1493
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
1494
+ description: "Broadcaster"
1495
+ },
1496
+ {
1497
+ type: "subscriber",
1498
+ version: "0",
1499
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
1500
+ description: "Subscriber"
1501
+ }
1502
+ ],
1503
+ channel: "an1by",
1504
+ text: "text and Censored emote",
1505
+ isAction: !1,
1506
+ emotes: [
1507
+ {
1508
+ type: "7tv",
1509
+ name: "Censored",
1510
+ id: "01GC2KBETR0009QMKQRDSHDTVB",
1511
+ gif: !0,
1512
+ animated: !0,
1513
+ urls: {
1514
+ 1: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp",
1515
+ 2: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp",
1516
+ 3: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/3x.webp",
1517
+ 4: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp"
1518
+ },
1519
+ start: 9,
1520
+ end: 17
1521
+ }
1522
+ ],
1523
+ msgId: "3dea1e1e-89f7-4a5f-b743-13ba0386492f"
1524
+ },
1525
+ renderedText: 'text and <img src="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp" srcset="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp 1x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp 2x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp 4x" title="Censored" class="emote">emote'
1526
+ }
1527
+ },
1528
+ zeroWidthEmoteFirst: {
1529
+ listener: "message",
1530
+ event: {
1531
+ service: "twitch",
1532
+ data: {
1533
+ time: 1768317236883,
1534
+ tags: {
1535
+ "badge-info": "subscriber/23",
1536
+ badges: "broadcaster/1,subscriber/0",
1537
+ "client-nonce": "e9d0621827184c1b940fd700ae599d60",
1538
+ color: "#DAA520",
1539
+ "display-name": "An1by",
1540
+ emotes: "",
1541
+ "first-msg": "0",
1542
+ flags: "",
1543
+ id: "6f347337-354a-42e5-bab0-935e19d74152",
1544
+ mod: "0",
1545
+ "returning-chatter": "0",
1546
+ "room-id": "958683839",
1547
+ subscriber: "1",
1548
+ "tmi-sent-ts": "1768317236625",
1549
+ turbo: "0",
1550
+ "user-id": "958683839",
1551
+ "user-type": ""
1552
+ },
1553
+ nick: "an1by",
1554
+ userId: "958683839",
1555
+ displayName: "An1by",
1556
+ displayColor: "#DAA520",
1557
+ badges: [
1558
+ {
1559
+ type: "broadcaster",
1560
+ version: "1",
1561
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
1562
+ description: "Broadcaster"
1563
+ },
1564
+ {
1565
+ type: "subscriber",
1566
+ version: "0",
1567
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
1568
+ description: "Subscriber"
1569
+ }
1570
+ ],
1571
+ channel: "an1by",
1572
+ text: "Censored <- zeroWidth emote on the first place",
1573
+ isAction: !1,
1574
+ emotes: [
1575
+ {
1576
+ type: "7tv",
1577
+ name: "Censored",
1578
+ id: "01GC2KBETR0009QMKQRDSHDTVB",
1579
+ gif: !0,
1580
+ animated: !0,
1581
+ urls: {
1582
+ 1: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp",
1583
+ 2: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp",
1584
+ 3: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/3x.webp",
1585
+ 4: "https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp"
1586
+ },
1587
+ start: 0,
1588
+ end: 8
1589
+ }
1590
+ ],
1591
+ msgId: "6f347337-354a-42e5-bab0-935e19d74152"
1592
+ },
1593
+ renderedText: '<img src="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp" srcset="https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/1x.webp 1x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/2x.webp 2x, https://cdn.7tv.app/emote/01GC2KBETR0009QMKQRDSHDTVB/4x.webp 4x" title="Censored" class="emote">&lt;- zeroWidth emote on the first place'
1594
+ }
1595
+ },
1596
+ veryShort: {
1597
+ listener: "message",
1598
+ event: {
1599
+ service: "twitch",
1600
+ data: {
1601
+ time: 1749743750546,
1602
+ tags: {
1603
+ "badge-info": "",
1604
+ badges: "",
1605
+ "client-nonce": "a3fe71a5771d0c31466dd333c963231e",
1606
+ color: "",
1607
+ "display-name": "An1by",
1608
+ emotes: "",
1609
+ "first-msg": "0",
1610
+ flags: "",
1611
+ id: "3d0d1a43-45e5-4652-be59-0b31dfeba796",
1612
+ mod: "0",
1613
+ "returning-chatter": "0",
1614
+ "room-id": "958683839",
1615
+ subscriber: "0",
1616
+ "tmi-sent-ts": "1749743749437",
1617
+ turbo: "0",
1618
+ "user-id": "958683839",
1619
+ "user-type": ""
1620
+ },
1621
+ nick: "IHaveVeryBigNickname",
1622
+ userId: "958683839",
1623
+ displayName: "IHaveVeryBigNickname",
1624
+ displayColor: "",
1625
+ badges: [],
1626
+ channel: "IHaveVeryBigNickname",
1627
+ text: "A!",
1628
+ isAction: !1,
1629
+ emotes: [],
1630
+ msgId: "3d0d1a43-45e5-4652-be59-0b31dfeba796"
1631
+ },
1632
+ renderedText: "A!"
1633
+ }
1634
+ },
1635
+ viewer: {
1636
+ listener: "message",
1637
+ event: {
1638
+ service: "twitch",
1639
+ data: {
1640
+ time: 1749743750546,
1641
+ tags: {
1642
+ "badge-info": "",
1643
+ badges: "",
1644
+ "client-nonce": "a3fe71a5771d0c31466dd333c963231e",
1645
+ color: "",
1646
+ "display-name": "An1by",
1647
+ emotes: "",
1648
+ "first-msg": "0",
1649
+ flags: "",
1650
+ id: "3d0d1a43-45e5-4652-be59-0b31dfeba796",
1651
+ mod: "0",
1652
+ "returning-chatter": "0",
1653
+ "room-id": "958683839",
1654
+ subscriber: "0",
1655
+ "tmi-sent-ts": "1749743749437",
1656
+ turbo: "0",
1657
+ "user-id": "958683839",
1658
+ "user-type": ""
1659
+ },
1660
+ nick: "SimpleViewer",
1661
+ userId: "958683839",
1662
+ displayName: "SimpleViewer",
1663
+ displayColor: "",
1664
+ badges: [],
1665
+ channel: "SimpleViewer",
1666
+ text: "I finally finished it...",
1667
+ isAction: !1,
1668
+ emotes: [],
1669
+ msgId: "3d0d1a43-45e5-4652-be59-0b31dfeba796"
1670
+ },
1671
+ renderedText: "I finally finished it..."
1672
+ }
1673
+ },
1674
+ vip: {
1675
+ listener: "message",
1676
+ event: {
1677
+ service: "twitch",
1678
+ data: {
1679
+ time: 1749743844261,
1680
+ tags: {
1681
+ "badge-info": "",
1682
+ badges: "vip/1",
1683
+ "client-nonce": "fd72ba163a9cc1a6486b2eddb0f5d893",
1684
+ color: "",
1685
+ "display-name": "An1by",
1686
+ emotes: "",
1687
+ "first-msg": "0",
1688
+ flags: "",
1689
+ id: "51cac44b-9908-49d2-b424-489276e1e521",
1690
+ mod: "0",
1691
+ "returning-chatter": "0",
1692
+ "room-id": "958683839",
1693
+ subscriber: "0",
1694
+ "tmi-sent-ts": "1749743843170",
1695
+ turbo: "0",
1696
+ "user-id": "958683839",
1697
+ "user-type": "",
1698
+ vip: "1"
1699
+ },
1700
+ nick: "VipPersona",
1701
+ userId: "958683839",
1702
+ displayName: "VipPersona",
1703
+ displayColor: "",
1704
+ badges: [
1705
+ {
1706
+ type: "vip",
1707
+ version: "1",
1708
+ url: "https://static-cdn.jtvnw.net/badges/v1/b817aba4-fad8-49e2-b88a-7cc744dfa6ec/3",
1709
+ description: "VIP"
1710
+ }
1711
+ ],
1712
+ channel: "VipPersona",
1713
+ text: "I am a VIP persona!",
1714
+ isAction: !1,
1715
+ emotes: [],
1716
+ msgId: "51cac44b-9908-49d2-b424-489276e1e521"
1717
+ },
1718
+ renderedText: "I am a VIP persona!"
1719
+ }
1720
+ },
1721
+ vipLong: {
1722
+ listener: "message",
1723
+ event: {
1724
+ service: "twitch",
1725
+ data: {
1726
+ time: 1749743844261,
1727
+ tags: {
1728
+ "badge-info": "",
1729
+ badges: "vip/1",
1730
+ "client-nonce": "fd72ba163a9cc1a6486b2eddb0f5d893",
1731
+ color: "",
1732
+ "display-name": "An1by",
1733
+ emotes: "",
1734
+ "first-msg": "0",
1735
+ flags: "",
1736
+ id: "51cac44b-9908-49d2-b424-489276e1e521",
1737
+ mod: "0",
1738
+ "returning-chatter": "0",
1739
+ "room-id": "958683839",
1740
+ subscriber: "0",
1741
+ "tmi-sent-ts": "1749743843170",
1742
+ turbo: "0",
1743
+ "user-id": "958683839",
1744
+ "user-type": "",
1745
+ vip: "1"
1746
+ },
1747
+ nick: "VipPersona",
1748
+ userId: "958683839",
1749
+ displayName: "VipPersona",
1750
+ displayColor: "",
1751
+ badges: [
1752
+ {
1753
+ type: "vip",
1754
+ version: "1",
1755
+ url: "https://static-cdn.jtvnw.net/badges/v1/b817aba4-fad8-49e2-b88a-7cc744dfa6ec/3",
1756
+ description: "VIP"
1757
+ }
1758
+ ],
1759
+ channel: "VipPersona",
1760
+ text: "I am a VIP persona! Are you see this?",
1761
+ isAction: !1,
1762
+ emotes: [],
1763
+ msgId: "51cac44b-9908-49d2-b424-489276e1e521"
1764
+ },
1765
+ renderedText: "I am a VIP persona! Are you see this?"
1766
+ }
1767
+ },
1768
+ artist: {
1769
+ listener: "message",
1770
+ event: {
1771
+ service: "twitch",
1772
+ data: {
1773
+ time: 1749743916482,
1774
+ tags: {
1775
+ "badge-info": "",
1776
+ badges: "artist-badge/1",
1777
+ "client-nonce": "54128d734d44e28ffc32e1ce236993f5",
1778
+ color: "",
1779
+ "display-name": "An1by",
1780
+ emotes: "",
1781
+ "first-msg": "0",
1782
+ flags: "",
1783
+ id: "8ee7e71a-3608-486a-bd82-a82b65982ca7",
1784
+ mod: "0",
1785
+ "returning-chatter": "0",
1786
+ "room-id": "958683839",
1787
+ subscriber: "0",
1788
+ "tmi-sent-ts": "1749743915371",
1789
+ turbo: "0",
1790
+ "user-id": "958683839",
1791
+ "user-type": ""
1792
+ },
1793
+ nick: "StarArtist",
1794
+ userId: "958683839",
1795
+ displayName: "StarArtist",
1796
+ displayColor: "",
1797
+ badges: [
1798
+ {
1799
+ type: "artist-badge",
1800
+ version: "1",
1801
+ url: "https://static-cdn.jtvnw.net/badges/v1/4300a897-03dc-4e83-8c0e-c332fee7057f/3",
1802
+ description: "Artist"
1803
+ }
1804
+ ],
1805
+ channel: "StarArtist",
1806
+ text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
1807
+ isAction: !1,
1808
+ emotes: [],
1809
+ msgId: "8ee7e71a-3608-486a-bd82-a82b65982ca7"
1810
+ },
1811
+ renderedText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
1812
+ }
1813
+ },
1814
+ subscriber: {
1815
+ listener: "message",
1816
+ event: {
1817
+ data: {
1818
+ tags: {
1819
+ badges: "subscriber/1",
1820
+ color: "#ff69b4",
1821
+ vip: "0",
1822
+ subscriber: "1",
1823
+ "user-id": "100135110",
1824
+ "user-type": "subscriber"
1825
+ },
1826
+ userId: "100135110",
1827
+ displayName: "YourSub",
1828
+ displayColor: "#ff69b4",
1829
+ badges: [
1830
+ {
1831
+ type: "partner",
1832
+ version: "1",
1833
+ url: "https://static-cdn.jtvnw.net/badges/v1/d12a2e27-16f6-41d0-ab77-b780518f00a3/3",
1834
+ description: "Verified"
1835
+ }
1836
+ ],
1837
+ text: "This is a subscriber's test message. I'm just a subscriber, srsly.",
1838
+ emotes: [],
1839
+ msgId: "43285909-412c-4eee-b80d-89f1482ba53142"
1840
+ },
1841
+ renderedText: "This is a subscriber's test message. I'm just a subscriber, srsly."
1842
+ }
1843
+ },
1844
+ founder: {
1845
+ listener: "message",
1846
+ event: {
1847
+ service: "twitch",
1848
+ data: {
1849
+ time: 1749743750546,
1850
+ tags: {
1851
+ "badge-info": "",
1852
+ badges: "founder/1,subscriber/1",
1853
+ "client-nonce": "a3fe71a5771d0c31466dd333c963231e",
1854
+ color: "",
1855
+ "display-name": "sub__founder",
1856
+ emotes: "",
1857
+ "first-msg": "0",
1858
+ flags: "",
1859
+ id: "3d0d1a43-45e5-4652-be59-0b31dfeba796",
1860
+ mod: "0",
1861
+ "returning-chatter": "0",
1862
+ "room-id": "958683839",
1863
+ subscriber: "1",
1864
+ "tmi-sent-ts": "1749743749437",
1865
+ turbo: "0",
1866
+ "user-id": "958683839",
1867
+ "user-type": ""
1868
+ },
1869
+ nick: "sub__founder",
1870
+ userId: "958683839",
1871
+ displayName: "sub__founder",
1872
+ displayColor: "",
1873
+ badges: [
1874
+ {
1875
+ type: "founder"
1876
+ }
1877
+ ],
1878
+ channel: "an1by",
1879
+ text: "I finally finished it...",
1880
+ isAction: !1,
1881
+ emotes: [],
1882
+ msgId: "3d0d1a43-45e5-4652-be59-0b31dfeba796"
1883
+ },
1884
+ renderedText: "I finally finished it..."
1885
+ }
1886
+ },
1887
+ moderator: {
1888
+ listener: "message",
1889
+ event: {
1890
+ service: "twitch",
1891
+ data: {
1892
+ time: 1749743997223,
1893
+ tags: {
1894
+ "badge-info": "",
1895
+ badges: "moderator/1",
1896
+ color: "",
1897
+ "display-name": "An1by",
1898
+ emotes: "",
1899
+ "first-msg": "0",
1900
+ flags: "",
1901
+ id: "3e7ba532-f181-4bcc-90f1-a3c48ca3c820",
1902
+ mod: "1",
1903
+ "returning-chatter": "0",
1904
+ "room-id": "958683839",
1905
+ subscriber: "0",
1906
+ "tmi-sent-ts": "1749743996136",
1907
+ turbo: "0",
1908
+ "user-id": "958683839",
1909
+ "user-type": "mod"
1910
+ },
1911
+ nick: "mediator",
1912
+ userId: "958683839",
1913
+ displayName: "mediator",
1914
+ displayColor: "",
1915
+ badges: [
1916
+ {
1917
+ type: "moderator",
1918
+ version: "1",
1919
+ url: "https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/3",
1920
+ description: "Moderator"
1921
+ }
1922
+ ],
1923
+ channel: "mediator",
1924
+ text: "Did someone say... MODERATOR!?",
1925
+ isAction: !1,
1926
+ emotes: [],
1927
+ msgId: "3e7ba532-f181-4bcc-90f1-a3c48ca3c820"
1928
+ },
1929
+ renderedText: "Did someone say... MODERATOR!?"
1930
+ }
1931
+ },
1932
+ moderatorLong: {
1933
+ listener: "message",
1934
+ event: {
1935
+ service: "twitch",
1936
+ data: {
1937
+ time: 1749743997223,
1938
+ tags: {
1939
+ "badge-info": "",
1940
+ badges: "moderator/1",
1941
+ color: "",
1942
+ "display-name": "An1by",
1943
+ emotes: "",
1944
+ "first-msg": "0",
1945
+ flags: "",
1946
+ id: "3e7ba532-f181-4bcc-90f1-a3c48ca3c820",
1947
+ mod: "1",
1948
+ "returning-chatter": "0",
1949
+ "room-id": "958683839",
1950
+ subscriber: "0",
1951
+ "tmi-sent-ts": "1749743996136",
1952
+ turbo: "0",
1953
+ "user-id": "958683839",
1954
+ "user-type": "mod"
1955
+ },
1956
+ nick: "mediator",
1957
+ userId: "958683839",
1958
+ displayName: "mediator",
1959
+ displayColor: "",
1960
+ badges: [
1961
+ {
1962
+ type: "moderator",
1963
+ version: "1",
1964
+ url: "https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/3",
1965
+ description: "Moderator"
1966
+ }
1967
+ ],
1968
+ channel: "mediator",
1969
+ text: "Did someone say... MODERATOR!? Yes, I am moderator!",
1970
+ isAction: !1,
1971
+ emotes: [],
1972
+ msgId: "3e7ba532-f181-4bcc-90f1-a3c48ca3c820"
1973
+ },
1974
+ renderedText: "Did someone say... MODERATOR!? Yes, I am moderator!"
1975
+ }
1976
+ },
1977
+ broadcaster: {
1978
+ listener: "message",
1979
+ event: {
1980
+ service: "twitch",
1981
+ data: {
1982
+ time: 1749744800809,
1983
+ tags: {
1984
+ "badge-info": "subscriber/16",
1985
+ badges: "broadcaster/1,subscriber/0,minecraft-15th-anniversary-celebration/1",
1986
+ "client-nonce": "6989104421ee14c0a8c216ef1c6bb5ed",
1987
+ color: "#DAA520",
1988
+ "display-name": "An1by",
1989
+ emotes: "",
1990
+ "first-msg": "0",
1991
+ flags: "",
1992
+ id: "35a9bea7-076e-4d17-8cb7-7e65c8111b3d",
1993
+ mod: "0",
1994
+ "returning-chatter": "0",
1995
+ "room-id": "958683839",
1996
+ subscriber: "1",
1997
+ "tmi-sent-ts": "1749744799706",
1998
+ turbo: "0",
1999
+ "user-id": "958683839",
2000
+ "user-type": ""
2001
+ },
2002
+ nick: "an1by",
2003
+ userId: "958683839",
2004
+ displayName: "An1by",
2005
+ displayColor: "#DAA520",
2006
+ badges: [
2007
+ {
2008
+ type: "broadcaster",
2009
+ version: "1",
2010
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
2011
+ description: "Broadcaster"
2012
+ },
2013
+ {
2014
+ type: "subscriber",
2015
+ version: "0",
2016
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
2017
+ description: "Subscriber"
2018
+ },
2019
+ {
2020
+ type: "minecraft-15th-anniversary-celebration",
2021
+ version: "1",
2022
+ url: "https://static-cdn.jtvnw.net/badges/v1/178077b2-8b86-4f8d-927c-66ed6c1b025f/3",
2023
+ description: "Minecraft 15th Anniversary Celebration"
2024
+ }
2025
+ ],
2026
+ channel: "an1by",
2027
+ text: "I made this chat Besplatno",
2028
+ isAction: !1,
2029
+ emotes: [
2030
+ {
2031
+ type: "7tv",
2032
+ name: "Besplatno",
2033
+ id: "01FE70VRT00009TR6M9N941A28",
2034
+ gif: !0,
2035
+ animated: !0,
2036
+ urls: {
2037
+ 1: "https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/1x.webp",
2038
+ 2: "https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/2x.webp",
2039
+ 3: "https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/3x.webp",
2040
+ 4: "https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/4x.webp"
2041
+ },
2042
+ start: 17,
2043
+ end: 26
2044
+ }
2045
+ ],
2046
+ msgId: "35a9bea7-076e-4d17-8cb7-7e65c8111b3d"
2047
+ },
2048
+ renderedText: 'I made this chat <img src="https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/1x.webp" srcset="https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/1x.webp 1x, https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/2x.webp 2x, https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/4x.webp 4x" title="Besplatno" class="emote">'
2049
+ }
2050
+ },
2051
+ broadcasterShort: {
2052
+ listener: "message",
2053
+ event: {
2054
+ service: "twitch",
2055
+ data: {
2056
+ time: 1749744800809,
2057
+ tags: {
2058
+ "badge-info": "subscriber/16",
2059
+ badges: "broadcaster/1,subscriber/0,minecraft-15th-anniversary-celebration/1",
2060
+ "client-nonce": "6989104421ee14c0a8c216ef1c6bb5ed",
2061
+ color: "#DAA520",
2062
+ "display-name": "An1by",
2063
+ emotes: "",
2064
+ "first-msg": "0",
2065
+ flags: "",
2066
+ id: "35a9bea7-076e-4d17-8cb7-7e65c8111b3d",
2067
+ mod: "0",
2068
+ "returning-chatter": "0",
2069
+ "room-id": "958683839",
2070
+ subscriber: "1",
2071
+ "tmi-sent-ts": "1749744799706",
2072
+ turbo: "0",
2073
+ "user-id": "958683839",
2074
+ "user-type": ""
2075
+ },
2076
+ nick: "an1by",
2077
+ userId: "958683839",
2078
+ displayName: "An1by",
2079
+ displayColor: "#DAA520",
2080
+ badges: [
2081
+ {
2082
+ type: "broadcaster",
2083
+ version: "1",
2084
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
2085
+ description: "Broadcaster"
2086
+ },
2087
+ {
2088
+ type: "subscriber",
2089
+ version: "0",
2090
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
2091
+ description: "Subscriber"
2092
+ },
2093
+ {
2094
+ type: "minecraft-15th-anniversary-celebration",
2095
+ version: "1",
2096
+ url: "https://static-cdn.jtvnw.net/badges/v1/178077b2-8b86-4f8d-927c-66ed6c1b025f/3",
2097
+ description: "Minecraft 15th Anniversary Celebration"
2098
+ }
2099
+ ],
2100
+ channel: "an1by",
2101
+ text: "okak",
2102
+ isAction: !1,
2103
+ emotes: [],
2104
+ msgId: "35a9bea7-076e-4d17-8cb7-7e65c8111b3d"
2105
+ },
2106
+ renderedText: 'I made this chat <img src="https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/1x.webp" srcset="https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/1x.webp 1x, https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/2x.webp 2x, https://cdn.7tv.app/emote/01FE70VRT00009TR6M9N941A28/4x.webp 4x" title="Besplatno" class="emote">'
2107
+ }
2108
+ },
2109
+ emoteSolo: {
2110
+ listener: "message",
2111
+ event: {
2112
+ service: "twitch",
2113
+ data: {
2114
+ time: 1749744097330,
2115
+ tags: {
2116
+ "badge-info": "",
2117
+ badges: "",
2118
+ color: "",
2119
+ "display-name": "An1by",
2120
+ emotes: "",
2121
+ "first-msg": "0",
2122
+ flags: "",
2123
+ id: "9ab645b9-7c27-4c6f-99fd-f63727ca3700",
2124
+ mod: "0",
2125
+ "returning-chatter": "0",
2126
+ "room-id": "958683839",
2127
+ subscriber: "0",
2128
+ "tmi-sent-ts": "1749744096217",
2129
+ turbo: "0",
2130
+ "user-id": "958683839",
2131
+ "user-type": ""
2132
+ },
2133
+ nick: "tr0l1",
2134
+ userId: "958683839",
2135
+ displayName: "tr0l1",
2136
+ displayColor: "",
2137
+ badges: [],
2138
+ channel: "tr0l1",
2139
+ text: "🤤😮💀👈👉",
2140
+ isAction: !1,
2141
+ emotes: [
2142
+ {
2143
+ type: "emoji",
2144
+ name: "1f62e",
2145
+ id: "1f62e",
2146
+ gif: !1,
2147
+ urls: {
2148
+ 1: "https://twemoji.maxcdn.com/36x36/1f62e.png"
2149
+ }
2150
+ },
2151
+ {
2152
+ type: "emoji",
2153
+ name: "1f480",
2154
+ id: "1f480",
2155
+ gif: !1,
2156
+ urls: {
2157
+ 1: "https://twemoji.maxcdn.com/36x36/1f480.png"
2158
+ }
2159
+ },
2160
+ {
2161
+ type: "emoji",
2162
+ name: "1f448",
2163
+ id: "1f448",
2164
+ gif: !1,
2165
+ urls: {
2166
+ 1: "https://twemoji.maxcdn.com/36x36/1f448.png"
2167
+ }
2168
+ },
2169
+ {
2170
+ type: "emoji",
2171
+ name: "1f449",
2172
+ id: "1f449",
2173
+ gif: !1,
2174
+ urls: {
2175
+ 1: "https://twemoji.maxcdn.com/36x36/1f449.png"
2176
+ }
2177
+ }
2178
+ ],
2179
+ msgId: "9ab645b9-7c27-4c6f-99fd-f63727ca3700"
2180
+ },
2181
+ renderedText: "🤤😮💀👈👉"
2182
+ }
2183
+ },
2184
+ emoteOne: {
2185
+ listener: "message",
2186
+ event: {
2187
+ service: "twitch",
2188
+ data: {
2189
+ time: 1749744131183,
2190
+ tags: {
2191
+ "badge-info": "",
2192
+ badges: "",
2193
+ color: "",
2194
+ "display-name": "An1by",
2195
+ emotes: "41:20-27/245:29-43/28087:45-51/58765:53-63/555555584:65-66/64138:10-18",
2196
+ "first-msg": "0",
2197
+ flags: "",
2198
+ id: "beb957ea-dfbd-4184-82a3-458121f44867",
2199
+ mod: "0",
2200
+ "returning-chatter": "0",
2201
+ "room-id": "958683839",
2202
+ subscriber: "0",
2203
+ "tmi-sent-ts": "1749744130018",
2204
+ turbo: "0",
2205
+ "user-id": "958683839",
2206
+ "user-type": ""
2207
+ },
2208
+ nick: "tr0l1",
2209
+ userId: "958683839",
2210
+ displayName: "tr0l1",
2211
+ displayColor: "",
2212
+ badges: [],
2213
+ channel: "tr0l1",
2214
+ text: "SeemsGood",
2215
+ isAction: !1,
2216
+ emotes: [
2217
+ {
2218
+ type: "twitch",
2219
+ name: "SeemsGood",
2220
+ id: "64138",
2221
+ gif: !1,
2222
+ animated: !1,
2223
+ urls: {
2224
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0",
2225
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/2.0",
2226
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/3.0"
2227
+ },
2228
+ start: 0,
2229
+ end: 9
2230
+ }
2231
+ ],
2232
+ msgId: "beb957ea-dfbd-4184-82a3-458121f44867"
2233
+ },
2234
+ renderedText: '<img src="https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/3.0 4x" title="SeemsGood" class="emote">'
2235
+ }
2236
+ },
2237
+ emoteText: {
2238
+ listener: "message",
2239
+ event: {
2240
+ service: "twitch",
2241
+ data: {
2242
+ time: 1749744131183,
2243
+ tags: {
2244
+ "badge-info": "",
2245
+ badges: "",
2246
+ color: "",
2247
+ "display-name": "7TVUser",
2248
+ emotes: "41:20-27/245:29-43/28087:45-51/58765:53-63/555555584:65-66/64138:10-18",
2249
+ "first-msg": "0",
2250
+ flags: "",
2251
+ id: "beb957ea-dfbd-4184-82a3-458121f44867",
2252
+ mod: "0",
2253
+ "returning-chatter": "0",
2254
+ "room-id": "958683839",
2255
+ subscriber: "0",
2256
+ "tmi-sent-ts": "1749744130018",
2257
+ turbo: "0",
2258
+ "user-id": "958683839",
2259
+ "user-type": ""
2260
+ },
2261
+ nick: "7TVUser",
2262
+ userId: "958683839",
2263
+ displayName: "7TVUser",
2264
+ displayColor: "",
2265
+ badges: [],
2266
+ channel: "7TVUser",
2267
+ text: "Not emote SeemsGood Kreygasm ResidentSleeper WutFace NotLikeThis <3",
2268
+ isAction: !1,
2269
+ emotes: [
2270
+ {
2271
+ type: "twitch",
2272
+ name: "SeemsGood",
2273
+ id: "64138",
2274
+ gif: !1,
2275
+ animated: !1,
2276
+ urls: {
2277
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0",
2278
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/2.0",
2279
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/3.0"
2280
+ },
2281
+ start: 10,
2282
+ end: 19
2283
+ },
2284
+ {
2285
+ type: "twitch",
2286
+ name: "Kreygasm",
2287
+ id: "41",
2288
+ gif: !1,
2289
+ animated: !1,
2290
+ urls: {
2291
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/1.0",
2292
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/2.0",
2293
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/3.0"
2294
+ },
2295
+ start: 20,
2296
+ end: 28
2297
+ },
2298
+ {
2299
+ type: "twitch",
2300
+ name: "ResidentSleeper",
2301
+ id: "245",
2302
+ gif: !1,
2303
+ animated: !1,
2304
+ urls: {
2305
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/1.0",
2306
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/2.0",
2307
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/3.0"
2308
+ },
2309
+ start: 29,
2310
+ end: 44
2311
+ },
2312
+ {
2313
+ type: "twitch",
2314
+ name: "WutFace",
2315
+ id: "28087",
2316
+ gif: !1,
2317
+ animated: !1,
2318
+ urls: {
2319
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/1.0",
2320
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/2.0",
2321
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/3.0"
2322
+ },
2323
+ start: 45,
2324
+ end: 52
2325
+ },
2326
+ {
2327
+ type: "twitch",
2328
+ name: "NotLikeThis",
2329
+ id: "58765",
2330
+ gif: !1,
2331
+ animated: !1,
2332
+ urls: {
2333
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/1.0",
2334
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/2.0",
2335
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/3.0"
2336
+ },
2337
+ start: 53,
2338
+ end: 64
2339
+ },
2340
+ {
2341
+ type: "twitch",
2342
+ name: "<3",
2343
+ id: "9",
2344
+ gif: !1,
2345
+ animated: !1,
2346
+ urls: {
2347
+ 1: "https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/1.0",
2348
+ 2: "https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/2.0",
2349
+ 4: "https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/3.0"
2350
+ },
2351
+ start: 65,
2352
+ end: 67
2353
+ }
2354
+ ],
2355
+ msgId: "beb957ea-dfbd-4184-82a3-458121f44867"
2356
+ },
2357
+ renderedText: 'Not emote <img src="https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/64138/static/dark/3.0 4x" title="SeemsGood" class="emote"><img src="https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/41/static/dark/3.0 4x" title="Kreygasm" class="emote"><img src="https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/245/static/dark/3.0 4x" title="ResidentSleeper" class="emote"><img src="https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/28087/static/dark/3.0 4x" title="WutFace" class="emote"><img src="https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/58765/static/dark/3.0 4x" title="NotLikeThis" class="emote"><img src="https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/1.0" srcset="https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/1.0 1x, https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/2.0 2x, https://static-cdn.jtvnw.net/emoticons/v2/9/static/dark/3.0 4x" title="<3" class="emote">'
2358
+ }
2359
+ },
2360
+ zeroWidthEmotes: {
2361
+ listener: "message",
2362
+ event: {
2363
+ service: "twitch",
2364
+ data: {
2365
+ time: 1759956619137,
2366
+ tags: {
2367
+ "badge-info": "subscriber/20",
2368
+ badges: "",
2369
+ "client-nonce": "f7b17aea5c07c5c08fd920278fb52b5a",
2370
+ color: "#DAA520",
2371
+ "display-name": "7TVUser",
2372
+ emotes: "",
2373
+ "first-msg": "0",
2374
+ flags: "",
2375
+ id: "b44d1c53-1de9-454c-a269-bd8849cbcd2d",
2376
+ mod: "0",
2377
+ "returning-chatter": "0",
2378
+ "room-id": "958683839",
2379
+ subscriber: "1",
2380
+ "tmi-sent-ts": "1759956618295",
2381
+ turbo: "0",
2382
+ "user-id": "958683839",
2383
+ "user-type": ""
2384
+ },
2385
+ nick: "7TVUser",
2386
+ userId: "958683839",
2387
+ displayName: "7TVUser",
2388
+ displayColor: "#DAA520",
2389
+ badges: [
2390
+ {
2391
+ type: "minecraft-15th-anniversary-celebration",
2392
+ version: "1",
2393
+ url: "https://static-cdn.jtvnw.net/badges/v1/178077b2-8b86-4f8d-927c-66ed6c1b025f/3",
2394
+ description: "Minecraft 15th Anniversary Celebration"
2395
+ }
2396
+ ],
2397
+ channel: "7TVUser",
2398
+ text: "Zero-width emotes AYAYA PETPET right there!!",
2399
+ isAction: !1,
2400
+ emotes: [
2401
+ {
2402
+ type: "7tv",
2403
+ name: "AYAYA",
2404
+ id: "01GB32XE6R00018VJGJ4A9BNCV",
2405
+ gif: !1,
2406
+ animated: !1,
2407
+ urls: {
2408
+ 1: "https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/1x.webp",
2409
+ 2: "https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/2x.webp",
2410
+ 3: "https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/3x.webp",
2411
+ 4: "https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/4x.webp"
2412
+ },
2413
+ start: 18,
2414
+ end: 23
2415
+ },
2416
+ {
2417
+ type: "7tv",
2418
+ name: "PETPET",
2419
+ id: "01FE3XY508000AA32JP519W2EW",
2420
+ gif: !0,
2421
+ animated: !0,
2422
+ urls: {
2423
+ 1: "https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/1x.webp",
2424
+ 2: "https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/2x.webp",
2425
+ 3: "https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/3x.webp",
2426
+ 4: "https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/4x.webp"
2427
+ },
2428
+ start: 24,
2429
+ end: 30
2430
+ }
2431
+ ],
2432
+ msgId: "b44d1c53-1de9-454c-a269-bd8849cbcd2d"
2433
+ },
2434
+ renderedText: 'Zero-width emotes <img src="https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/1x.webp" srcset="https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/1x.webp 1x, https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/2x.webp 2x, https://cdn.7tv.app/emote/01GB32XE6R00018VJGJ4A9BNCV/4x.webp 4x" title="AYAYA" class="emote"><img src="https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/1x.webp" srcset="https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/1x.webp 1x, https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/2x.webp 2x, https://cdn.7tv.app/emote/01FE3XY508000AA32JP519W2EW/4x.webp 4x" title="PETPET" class="emote">right there!!'
2435
+ }
2436
+ },
2437
+ sevenTv: {
2438
+ listener: "message",
2439
+ event: {
2440
+ service: "twitch",
2441
+ data: {
2442
+ time: 1749744413746,
2443
+ tags: {
2444
+ "badge-info": "",
2445
+ badges: "",
2446
+ "client-nonce": "2bd56e3c058b5a4fc4e46c3e369891e6",
2447
+ color: "",
2448
+ "display-name": "An1by",
2449
+ emotes: "",
2450
+ "first-msg": "0",
2451
+ flags: "",
2452
+ id: "4c71789c-8c02-4e25-a71f-3a7d0ef19a33",
2453
+ mod: "0",
2454
+ "returning-chatter": "0",
2455
+ "room-id": "958683839",
2456
+ subscriber: "0",
2457
+ "tmi-sent-ts": "1749744412641",
2458
+ turbo: "0",
2459
+ "user-id": "958683839",
2460
+ "user-type": ""
2461
+ },
2462
+ nick: "tr0l1",
2463
+ userId: "958683839",
2464
+ displayName: "tr0l1",
2465
+ displayColor: "",
2466
+ badges: [],
2467
+ channel: "tr0l1",
2468
+ text: "ало ало Инса Каори Hello everyone! Hello everyone! Hello everyone!Hello everyone! Hello everyone! Hello everyone! Hello everyone! Hello everyone!",
2469
+ isAction: !1,
2470
+ emotes: [
2471
+ {
2472
+ type: "7tv",
2473
+ name: "ало",
2474
+ id: "01F6PRA3N80003BH8AEY9DWKDQ",
2475
+ gif: !0,
2476
+ animated: !0,
2477
+ urls: {
2478
+ 1: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp",
2479
+ 2: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/2x.webp",
2480
+ 3: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/3x.webp",
2481
+ 4: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/4x.webp"
2482
+ },
2483
+ start: 0,
2484
+ end: 3
2485
+ },
2486
+ {
2487
+ type: "7tv",
2488
+ name: "ало",
2489
+ id: "01F6PRA3N80003BH8AEY9DWKDQ",
2490
+ gif: !0,
2491
+ animated: !0,
2492
+ urls: {
2493
+ 1: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp",
2494
+ 2: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/2x.webp",
2495
+ 3: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/3x.webp",
2496
+ 4: "https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/4x.webp"
2497
+ },
2498
+ start: 4,
2499
+ end: 7
2500
+ },
2501
+ {
2502
+ type: "7tv",
2503
+ name: "Инса",
2504
+ id: "01JRE4VRRXWF0922HA3F9BZG6M",
2505
+ gif: !1,
2506
+ animated: !1,
2507
+ urls: {
2508
+ 1: "https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/1x.webp",
2509
+ 2: "https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/2x.webp",
2510
+ 3: "https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/3x.webp",
2511
+ 4: "https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/4x.webp"
2512
+ },
2513
+ start: 8,
2514
+ end: 12
2515
+ },
2516
+ {
2517
+ type: "7tv",
2518
+ name: "Каори",
2519
+ id: "01GY6TCEFG000BGHWA5T6NGBRA",
2520
+ gif: !1,
2521
+ animated: !1,
2522
+ urls: {
2523
+ 1: "https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/1x.webp",
2524
+ 2: "https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/2x.webp",
2525
+ 3: "https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/3x.webp",
2526
+ 4: "https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/4x.webp"
2527
+ },
2528
+ start: 13,
2529
+ end: 18
2530
+ }
2531
+ ],
2532
+ msgId: "4c71789c-8c02-4e25-a71f-3a7d0ef19a33"
2533
+ },
2534
+ renderedText: '<img src="https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp" srcset="https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp 1x, https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/2x.webp 2x, https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/4x.webp 4x" title="ало" class="emote"><img src="https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp" srcset="https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/1x.webp 1x, https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/2x.webp 2x, https://cdn.7tv.app/emote/01F6PRA3N80003BH8AEY9DWKDQ/4x.webp 4x" title="ало" class="emote"><img src="https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/1x.webp" srcset="https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/1x.webp 1x, https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/2x.webp 2x, https://cdn.7tv.app/emote/01JRE4VRRXWF0922HA3F9BZG6M/4x.webp 4x" title="Инса" class="emote"><img src="https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/1x.webp" srcset="https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/1x.webp 1x, https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/2x.webp 2x, https://cdn.7tv.app/emote/01GY6TCEFG000BGHWA5T6NGBRA/4x.webp 4x" title="Каори" class="emote">Hello everyone!'
2535
+ }
2536
+ },
2537
+ sevenTvSolo: {
2538
+ listener: "message",
2539
+ event: {
2540
+ service: "twitch",
2541
+ data: {
2542
+ time: 1768321684253,
2543
+ tags: {
2544
+ "badge-info": "subscriber/23",
2545
+ badges: "broadcaster/1,subscriber/0",
2546
+ "client-nonce": "51cc77206bf346eda20774b75aac675d",
2547
+ color: "#DAA520",
2548
+ "display-name": "An1by",
2549
+ emotes: "",
2550
+ "first-msg": "0",
2551
+ flags: "",
2552
+ id: "e30a02bf-a3c7-40f2-9325-cdc2690d3631",
2553
+ mod: "0",
2554
+ "returning-chatter": "0",
2555
+ "room-id": "958683839",
2556
+ subscriber: "1",
2557
+ "tmi-sent-ts": "1768321684074",
2558
+ turbo: "0",
2559
+ "user-id": "958683839",
2560
+ "user-type": ""
2561
+ },
2562
+ nick: "an1by",
2563
+ userId: "958683839",
2564
+ displayName: "An1by",
2565
+ displayColor: "#DAA520",
2566
+ badges: [
2567
+ {
2568
+ type: "broadcaster",
2569
+ version: "1",
2570
+ url: "https://static-cdn.jtvnw.net/badges/v1/5527c58c-fb7d-422d-b71b-f309dcb85cc1/3",
2571
+ description: "Broadcaster"
2572
+ },
2573
+ {
2574
+ type: "subscriber",
2575
+ version: "0",
2576
+ url: "https://static-cdn.jtvnw.net/badges/v1/5d9f2208-5dd8-11e7-8513-2ff4adfae661/3",
2577
+ description: "Subscriber"
2578
+ }
2579
+ ],
2580
+ channel: "an1by",
2581
+ text: "DurkaDance ͏",
2582
+ isAction: !1,
2583
+ emotes: [
2584
+ {
2585
+ type: "7tv",
2586
+ name: "DurkaDance",
2587
+ id: "01JQBC7K2FX7HE4SFZFJEN6CWY",
2588
+ gif: !0,
2589
+ animated: !0,
2590
+ urls: {
2591
+ 1: "https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/1x.webp",
2592
+ 2: "https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/2x.webp",
2593
+ 3: "https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/3x.webp",
2594
+ 4: "https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/4x.webp"
2595
+ },
2596
+ start: 0,
2597
+ end: 10
2598
+ }
2599
+ ],
2600
+ msgId: "e30a02bf-a3c7-40f2-9325-cdc2690d3631"
2601
+ },
2602
+ renderedText: '<img src="https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/1x.webp" srcset="https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/1x.webp 1x, https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/2x.webp 2x, https://cdn.7tv.app/emote/01JQBC7K2FX7HE4SFZFJEN6CWY/4x.webp 4x" title="DurkaDance" class="emote"> ͏'
2603
+ }
2604
+ }
2605
+ }, T = "onEventReceived";
2606
+ function Z(e) {
2607
+ if (typeof window > "u")
2608
+ return;
2609
+ const a = D[e];
2610
+ a && window.dispatchEvent(new CustomEvent(T, { detail: a }));
2611
+ }
2612
+ function M(e) {
2613
+ if (typeof window > "u")
2614
+ return;
2615
+ const a = G[e];
2616
+ a && window.dispatchEvent(new CustomEvent(T, { detail: a }));
2617
+ }
2618
+ function j(e) {
2619
+ if (!e.startsWith("testMessage")) return null;
2620
+ const a = e.replace("testMessage", "");
2621
+ return a.charAt(0).toLowerCase() + a.slice(1);
2622
+ }
2623
+ function I(e) {
2624
+ if (!e.startsWith("testAlert")) return null;
2625
+ const a = e.replace("testAlert", "");
2626
+ return a.charAt(0).toLowerCase() + a.slice(1);
2627
+ }
2628
+ function E(e) {
2629
+ const t = (e["badge-info"] ?? "").match(/^subscriber\/(\d+)$/);
2630
+ if (!t)
2631
+ return null;
2632
+ const r = parseInt(t[1], 10);
2633
+ return Number.isNaN(r) ? null : r;
2634
+ }
2635
+ function C(e) {
2636
+ const a = E(e);
2637
+ return a !== null && a !== 0 ? !0 : (e.badges ?? "").includes("broadcaster/1");
2638
+ }
2639
+ const k = C;
2640
+ function S(e) {
2641
+ return (e.badges ?? "").includes("broadcaster/1");
2642
+ }
2643
+ function W(e) {
2644
+ return e["first-msg"] === "1";
2645
+ }
2646
+ function F(e) {
2647
+ return e.turbo === "1";
2648
+ }
2649
+ function K(e) {
2650
+ const a = e.badges ?? "";
2651
+ return e.vip === "1" || a.includes("vip/1");
2652
+ }
2653
+ function Q(e) {
2654
+ const a = e.badges ?? "", t = e["user-type"] ?? "";
2655
+ return e.mod === "1" || a.includes("moderator/1") || t === "mod";
2656
+ }
2657
+ function V(e) {
2658
+ return (e.badges ?? "").includes("artist-badge/1");
2659
+ }
2660
+ function _(e, a) {
2661
+ const t = e.find((r) => r.type === a);
2662
+ return t == null ? void 0 : t.url;
2663
+ }
2664
+ function P(e) {
2665
+ const a = ["default"];
2666
+ return S(e) && a.push("broadcaster"), Q(e) && a.push("moderator"), K(e) && a.push("vip"), V(e) && a.push("artist"), k(e) && a.push("subscriber"), F(e) && a.push("turbo"), a;
2667
+ }
2668
+ export {
2669
+ B as classifyEvent,
2670
+ P as determineUserRoles,
2671
+ _ as getBadgeUrlByType,
2672
+ R as getCacheKey,
2673
+ I as getTestAlertKey,
2674
+ j as getTestMessageKey,
2675
+ V as isArtist,
2676
+ S as isBroadcaster,
2677
+ W as isFirstMessageChatter,
2678
+ Q as isModerator,
2679
+ k as isSubscriber,
2680
+ C as isSubscriptionActive,
2681
+ F as isTurbo,
2682
+ K as isVip,
2683
+ N as normalizeIncomingEvent,
2684
+ E as parseSubscriberMonth,
2685
+ x as parseTier,
2686
+ M as testAlert,
2687
+ G as testAlerts,
2688
+ Z as testMessage,
2689
+ D as testMessages,
2690
+ H as testOnWidgetLoadDetail
2691
+ };
2692
+ //# sourceMappingURL=index.js.map