@streamlayer/react 1.14.8 → 1.15.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.
- package/lib/app/bet-pack.d.ts +1 -11
- package/lib/cjs/advertisement.js +2 -2
- package/lib/cjs/bet-pack.js +1 -1
- package/lib/cjs/index2.js +3 -3
- package/lib/cjs/masters2.js +2 -2
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/provider.js +13 -13
- package/lib/cjs/useStreamLayerApp2.js +9 -9
- package/lib/classic/app/bet-pack.d.ts +1 -11
- package/lib/classic/cjs/advertisement.js +2 -2
- package/lib/classic/cjs/bet-pack.js +1 -1
- package/lib/classic/cjs/index2.js +3 -3
- package/lib/classic/cjs/masters2.js +2 -2
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/points.js +1 -1
- package/lib/classic/cjs/provider.js +10 -10
- package/lib/classic/cjs/useStreamLayerApp2.js +9 -9
- package/lib/classic/es/advertisement.js +5 -5
- package/lib/classic/es/bet-pack.js +16 -11
- package/lib/classic/es/index2.js +198 -194
- package/lib/classic/es/masters2.js +18 -18
- package/lib/classic/es/notification.js +49 -48
- package/lib/classic/es/points.js +18 -12
- package/lib/classic/es/provider.js +405 -390
- package/lib/classic/es/useStreamLayerApp2.js +535 -515
- package/lib/classic/masters.d.ts +1 -2
- package/lib/classic/style.css +1 -1
- package/lib/dist/cjs/gamification-feature2.js +1 -1
- package/lib/dist/cjs/index.js +1 -1
- package/lib/dist/cjs/masters.js +32 -32
- package/lib/dist/es/gamification-feature2.js +91 -89
- package/lib/dist/es/index.js +7 -8
- package/lib/dist/es/masters.js +3114 -3067
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +5 -5
- package/lib/es/bet-pack.js +16 -11
- package/lib/es/index2.js +198 -194
- package/lib/es/masters2.js +18 -18
- package/lib/es/notification.js +49 -48
- package/lib/es/points.js +18 -12
- package/lib/es/provider.js +405 -390
- package/lib/es/useStreamLayerApp2.js +535 -515
- package/lib/masters.d.ts +1 -2
- package/lib/style.css +1 -1
- package/package.json +14 -14
|
@@ -6,28 +6,28 @@ function Jc(e) {
|
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
8
|
var Hr = { exports: {} }, se = Hr.exports = {}, Pe, Me;
|
|
9
|
-
function
|
|
9
|
+
function Ga() {
|
|
10
10
|
throw new Error("setTimeout has not been defined");
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Va() {
|
|
13
13
|
throw new Error("clearTimeout has not been defined");
|
|
14
14
|
}
|
|
15
15
|
(function() {
|
|
16
16
|
try {
|
|
17
|
-
typeof setTimeout == "function" ? Pe = setTimeout : Pe =
|
|
17
|
+
typeof setTimeout == "function" ? Pe = setTimeout : Pe = Ga;
|
|
18
18
|
} catch {
|
|
19
|
-
Pe =
|
|
19
|
+
Pe = Ga;
|
|
20
20
|
}
|
|
21
21
|
try {
|
|
22
|
-
typeof clearTimeout == "function" ? Me = clearTimeout : Me =
|
|
22
|
+
typeof clearTimeout == "function" ? Me = clearTimeout : Me = Va;
|
|
23
23
|
} catch {
|
|
24
|
-
Me =
|
|
24
|
+
Me = Va;
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
27
|
function Qr(e) {
|
|
28
28
|
if (Pe === setTimeout)
|
|
29
29
|
return setTimeout(e, 0);
|
|
30
|
-
if ((Pe ===
|
|
30
|
+
if ((Pe === Ga || !Pe) && setTimeout)
|
|
31
31
|
return Pe = setTimeout, setTimeout(e, 0);
|
|
32
32
|
try {
|
|
33
33
|
return Pe(e, 0);
|
|
@@ -42,7 +42,7 @@ function Qr(e) {
|
|
|
42
42
|
function Xc(e) {
|
|
43
43
|
if (Me === clearTimeout)
|
|
44
44
|
return clearTimeout(e);
|
|
45
|
-
if ((Me ===
|
|
45
|
+
if ((Me === Va || !Me) && clearTimeout)
|
|
46
46
|
return Me = clearTimeout, clearTimeout(e);
|
|
47
47
|
try {
|
|
48
48
|
return Me(e);
|
|
@@ -189,9 +189,9 @@ ps.exports = Je;
|
|
|
189
189
|
const nn = kl().console || {}, sl = {
|
|
190
190
|
mapHttpRequest: un,
|
|
191
191
|
mapHttpResponse: un,
|
|
192
|
-
wrapRequestSerializer:
|
|
193
|
-
wrapResponseSerializer:
|
|
194
|
-
wrapErrorSerializer:
|
|
192
|
+
wrapRequestSerializer: la,
|
|
193
|
+
wrapResponseSerializer: la,
|
|
194
|
+
wrapErrorSerializer: la,
|
|
195
195
|
req: un,
|
|
196
196
|
res: un,
|
|
197
197
|
err: Zs,
|
|
@@ -200,7 +200,7 @@ const nn = kl().console || {}, sl = {
|
|
|
200
200
|
function Dn(e, t) {
|
|
201
201
|
return e === "silent" ? 1 / 0 : t.levels.values[e];
|
|
202
202
|
}
|
|
203
|
-
const Ts = Symbol("pino.logFuncs"),
|
|
203
|
+
const Ts = Symbol("pino.logFuncs"), qa = Symbol("pino.hierarchy"), ol = {
|
|
204
204
|
error: "log",
|
|
205
205
|
fatal: "error",
|
|
206
206
|
warn: "error",
|
|
@@ -211,9 +211,9 @@ const Ts = Symbol("pino.logFuncs"), Va = Symbol("pino.hierarchy"), ol = {
|
|
|
211
211
|
function Xs(e, t) {
|
|
212
212
|
const n = {
|
|
213
213
|
logger: t,
|
|
214
|
-
parent: e[
|
|
214
|
+
parent: e[qa]
|
|
215
215
|
};
|
|
216
|
-
t[
|
|
216
|
+
t[qa] = n;
|
|
217
217
|
}
|
|
218
218
|
function rl(e, t, n) {
|
|
219
219
|
const a = {};
|
|
@@ -259,7 +259,7 @@ function Je(e) {
|
|
|
259
259
|
};
|
|
260
260
|
m.levels = cl(e), m.level = l, m.setMaxListeners = m.getMaxListeners = m.emit = m.addListener = m.on = m.prependListener = m.once = m.prependOnceListener = m.removeListener = m.removeAllListeners = m.listeners = m.listenerCount = m.eventNames = m.write = m.flush = Pt, m.serializers = a, m._serialize = s, m._stdErrSerialize = o, m.child = function(...f) {
|
|
261
261
|
return g.call(this, u, ...f);
|
|
262
|
-
}, t && (m._logEvent =
|
|
262
|
+
}, t && (m._logEvent = xa());
|
|
263
263
|
function d() {
|
|
264
264
|
return Dn(this.level, this);
|
|
265
265
|
}
|
|
@@ -279,11 +279,11 @@ function Je(e) {
|
|
|
279
279
|
h = h || {}, s && _.serializers && (h.serializers = _.serializers);
|
|
280
280
|
const O = h.serializers;
|
|
281
281
|
if (s && O) {
|
|
282
|
-
var
|
|
283
|
-
delete _.serializers, ys([_],
|
|
282
|
+
var R = Object.assign({}, a, O), w = e.browser.serialize === !0 ? Object.keys(R) : s;
|
|
283
|
+
delete _.serializers, ys([_], w, R, this._stdErrSerialize);
|
|
284
284
|
}
|
|
285
285
|
function v(I) {
|
|
286
|
-
this._childLevel = (I._childLevel | 0) + 1, this.bindings = _,
|
|
286
|
+
this._childLevel = (I._childLevel | 0) + 1, this.bindings = _, R && (this.serializers = R, this._serialize = w), t && (this._logEvent = xa(
|
|
287
287
|
[].concat(I._logEvent.bindings, _)
|
|
288
288
|
));
|
|
289
289
|
}
|
|
@@ -331,7 +331,7 @@ Je.stdTimeFunctions = Object.assign({}, { nullTime: $r, epochTime: Kr, unixTime:
|
|
|
331
331
|
function ml(e) {
|
|
332
332
|
const t = [];
|
|
333
333
|
e.bindings && t.push(e.bindings);
|
|
334
|
-
let n = e[
|
|
334
|
+
let n = e[qa];
|
|
335
335
|
for (; n.parent; )
|
|
336
336
|
n = n.parent, n.logger.bindings && t.push(n.logger.bindings);
|
|
337
337
|
return t.reverse();
|
|
@@ -415,9 +415,9 @@ function Tl(e, t, n, a = !1) {
|
|
|
415
415
|
e._stdErrSerialize === void 0 ? !0 : e._stdErrSerialize
|
|
416
416
|
), e._logEvent.ts = o, e._logEvent.messages = n.filter(function(u) {
|
|
417
417
|
return m.indexOf(u) === -1;
|
|
418
|
-
}), e._logEvent.level.label = r, e._logEvent.level.value = c, s(r, e._logEvent, l), e._logEvent =
|
|
418
|
+
}), e._logEvent.level.label = r, e._logEvent.level.value = c, s(r, e._logEvent, l), e._logEvent = xa(m);
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function xa(e) {
|
|
421
421
|
return {
|
|
422
422
|
ts: 0,
|
|
423
423
|
messages: [],
|
|
@@ -441,7 +441,7 @@ function yl(e) {
|
|
|
441
441
|
function un() {
|
|
442
442
|
return {};
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function la(e) {
|
|
445
445
|
return e;
|
|
446
446
|
}
|
|
447
447
|
function Pt() {
|
|
@@ -486,7 +486,7 @@ function Sn(e) {
|
|
|
486
486
|
if (!Number.isInteger(e) || e > bl || e < Il)
|
|
487
487
|
throw new Error("invalid int 32: " + e);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Ha(e) {
|
|
490
490
|
if (typeof e != "number")
|
|
491
491
|
throw new Error("invalid uint 32: " + typeof e);
|
|
492
492
|
if (!Number.isInteger(e) || e > El || e < 0)
|
|
@@ -680,7 +680,7 @@ function Al() {
|
|
|
680
680
|
}
|
|
681
681
|
throw new Error("invalid varint");
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function ma(e, t, n) {
|
|
684
684
|
for (let o = 0; o < 28; o = o + 7) {
|
|
685
685
|
const r = e >>> o, c = !(!(r >>> 7) && t == 0), l = (c ? r | 128 : r) & 255;
|
|
686
686
|
if (n.push(l), !c)
|
|
@@ -708,7 +708,7 @@ function eo(e) {
|
|
|
708
708
|
}
|
|
709
709
|
return o(-24, -18), o(-18, -12), o(-12, -6), o(-6), t ? ti(a, s) : gs(a, s);
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function Rl(e, t) {
|
|
712
712
|
let n = gs(e, t);
|
|
713
713
|
const a = n.hi & 2147483648;
|
|
714
714
|
a && (n = ti(n.lo, n.hi));
|
|
@@ -716,14 +716,14 @@ function wl(e, t) {
|
|
|
716
716
|
return a ? "-" + s : s;
|
|
717
717
|
}
|
|
718
718
|
function ei(e, t) {
|
|
719
|
-
if ({ lo: e, hi: t } =
|
|
719
|
+
if ({ lo: e, hi: t } = wl(e, t), t <= 2097151)
|
|
720
720
|
return String(En * t + e);
|
|
721
721
|
const n = e & 16777215, a = (e >>> 24 | t << 8) & 16777215, s = t >> 16 & 65535;
|
|
722
722
|
let o = n + a * 6777216 + s * 6710656, r = a + s * 8147497, c = s * 2;
|
|
723
723
|
const l = 1e7;
|
|
724
724
|
return o >= l && (r += Math.floor(o / l), o %= l), r >= l && (c += Math.floor(r / l), r %= l), c.toString() + to(r) + to(o);
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function wl(e, t) {
|
|
727
727
|
return { lo: e >>> 0, hi: t >>> 0 };
|
|
728
728
|
}
|
|
729
729
|
function gs(e, t) {
|
|
@@ -820,7 +820,7 @@ function Pl() {
|
|
|
820
820
|
return typeof s != "string" && (s = s.toString()), a(s), eo(s);
|
|
821
821
|
},
|
|
822
822
|
dec(s, o) {
|
|
823
|
-
return
|
|
823
|
+
return Rl(s, o);
|
|
824
824
|
},
|
|
825
825
|
uDec(s, o) {
|
|
826
826
|
return ei(s, o);
|
|
@@ -890,10 +890,10 @@ function ni(e, t) {
|
|
|
890
890
|
return t == 0;
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
var
|
|
893
|
+
var ae;
|
|
894
894
|
(function(e) {
|
|
895
895
|
e[e.Varint = 0] = "Varint", e[e.Bit64 = 1] = "Bit64", e[e.LengthDelimited = 2] = "LengthDelimited", e[e.StartGroup = 3] = "StartGroup", e[e.EndGroup = 4] = "EndGroup", e[e.Bit32 = 5] = "Bit32";
|
|
896
|
-
})(
|
|
896
|
+
})(ae || (ae = {}));
|
|
897
897
|
class Ml {
|
|
898
898
|
constructor(t) {
|
|
899
899
|
this.stack = [], this.textEncoder = t ?? new TextEncoder(), this.chunks = [], this.buf = [];
|
|
@@ -950,7 +950,7 @@ class Ml {
|
|
|
950
950
|
* Write a `uint32` value, an unsigned 32 bit varint.
|
|
951
951
|
*/
|
|
952
952
|
uint32(t) {
|
|
953
|
-
for (
|
|
953
|
+
for (Ha(t); t > 127; )
|
|
954
954
|
this.buf.push(t & 127 | 128), t = t >>> 7;
|
|
955
955
|
return this.buf.push(t), this;
|
|
956
956
|
}
|
|
@@ -998,7 +998,7 @@ class Ml {
|
|
|
998
998
|
* Write a `fixed32` value, an unsigned, fixed-length 32-bit integer.
|
|
999
999
|
*/
|
|
1000
1000
|
fixed32(t) {
|
|
1001
|
-
|
|
1001
|
+
Ha(t);
|
|
1002
1002
|
let n = new Uint8Array(4);
|
|
1003
1003
|
return new DataView(n.buffer).setUint32(0, t, !0), this.raw(n);
|
|
1004
1004
|
}
|
|
@@ -1035,21 +1035,21 @@ class Ml {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
int64(t) {
|
|
1037
1037
|
let n = ye.enc(t);
|
|
1038
|
-
return
|
|
1038
|
+
return ma(n.lo, n.hi, this.buf), this;
|
|
1039
1039
|
}
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.
|
|
1042
1042
|
*/
|
|
1043
1043
|
sint64(t) {
|
|
1044
1044
|
let n = ye.enc(t), a = n.hi >> 31, s = n.lo << 1 ^ a, o = (n.hi << 1 | n.lo >>> 31) ^ a;
|
|
1045
|
-
return
|
|
1045
|
+
return ma(s, o, this.buf), this;
|
|
1046
1046
|
}
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Write a `uint64` value, an unsigned 64-bit varint.
|
|
1049
1049
|
*/
|
|
1050
1050
|
uint64(t) {
|
|
1051
1051
|
let n = ye.uEnc(t);
|
|
1052
|
-
return
|
|
1052
|
+
return ma(n.lo, n.hi, this.buf), this;
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
class Dl {
|
|
@@ -1074,23 +1074,23 @@ class Dl {
|
|
|
1074
1074
|
skip(t, n) {
|
|
1075
1075
|
let a = this.pos;
|
|
1076
1076
|
switch (t) {
|
|
1077
|
-
case
|
|
1077
|
+
case ae.Varint:
|
|
1078
1078
|
for (; this.buf[this.pos++] & 128; )
|
|
1079
1079
|
;
|
|
1080
1080
|
break;
|
|
1081
|
-
case
|
|
1081
|
+
case ae.Bit64:
|
|
1082
1082
|
this.pos += 4;
|
|
1083
|
-
case
|
|
1083
|
+
case ae.Bit32:
|
|
1084
1084
|
this.pos += 4;
|
|
1085
1085
|
break;
|
|
1086
|
-
case
|
|
1086
|
+
case ae.LengthDelimited:
|
|
1087
1087
|
let s = this.uint32();
|
|
1088
1088
|
this.pos += s;
|
|
1089
1089
|
break;
|
|
1090
|
-
case
|
|
1090
|
+
case ae.StartGroup:
|
|
1091
1091
|
for (; ; ) {
|
|
1092
1092
|
const [o, r] = this.tag();
|
|
1093
|
-
if (r ===
|
|
1093
|
+
if (r === ae.EndGroup) {
|
|
1094
1094
|
if (n !== void 0 && o !== n)
|
|
1095
1095
|
throw new Error("invalid end group tag");
|
|
1096
1096
|
break;
|
|
@@ -1245,11 +1245,11 @@ function Fl(e, t) {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
return e.filter((n) => n.no === t.no);
|
|
1247
1247
|
}
|
|
1248
|
-
let He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
|
|
1248
|
+
let He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), Kn = [];
|
|
1249
1249
|
for (let e = 0; e < He.length; e++)
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1250
|
+
Kn[He[e].charCodeAt(0)] = e;
|
|
1251
|
+
Kn[45] = He.indexOf("+");
|
|
1252
|
+
Kn[95] = He.indexOf("/");
|
|
1253
1253
|
const fs = {
|
|
1254
1254
|
/**
|
|
1255
1255
|
* Decodes a base64 string to a byte array.
|
|
@@ -1267,7 +1267,7 @@ const fs = {
|
|
|
1267
1267
|
e[e.length - 2] == "=" ? t -= 2 : e[e.length - 1] == "=" && (t -= 1);
|
|
1268
1268
|
let n = new Uint8Array(t), a = 0, s = 0, o, r = 0;
|
|
1269
1269
|
for (let c = 0; c < e.length; c++) {
|
|
1270
|
-
if (o =
|
|
1270
|
+
if (o = Kn[e.charCodeAt(c)], o === void 0)
|
|
1271
1271
|
switch (e[c]) {
|
|
1272
1272
|
case "=":
|
|
1273
1273
|
s = 0;
|
|
@@ -1518,7 +1518,7 @@ function ro(e, t, n, a, s) {
|
|
|
1518
1518
|
r.push(n.T.fromJson(c, a));
|
|
1519
1519
|
break;
|
|
1520
1520
|
case "enum":
|
|
1521
|
-
const l =
|
|
1521
|
+
const l = ua(n.T, c, a.ignoreUnknownFields, !0);
|
|
1522
1522
|
l !== bn && r.push(l);
|
|
1523
1523
|
break;
|
|
1524
1524
|
case "scalar":
|
|
@@ -1552,7 +1552,7 @@ function ro(e, t, n, a, s) {
|
|
|
1552
1552
|
r[m] = n.V.T.fromJson(l, a);
|
|
1553
1553
|
break;
|
|
1554
1554
|
case "enum":
|
|
1555
|
-
const u =
|
|
1555
|
+
const u = ua(n.V.T, l, a.ignoreUnknownFields, !0);
|
|
1556
1556
|
u !== bn && (r[m] = u);
|
|
1557
1557
|
break;
|
|
1558
1558
|
case "scalar":
|
|
@@ -1575,7 +1575,7 @@ function ro(e, t, n, a, s) {
|
|
|
1575
1575
|
gt(c) ? c.fromJson(t, a) : (e[o] = c = r.fromJson(t, a), r.fieldWrapper && !n.oneof && (e[o] = r.fieldWrapper.unwrapField(c)));
|
|
1576
1576
|
break;
|
|
1577
1577
|
case "enum":
|
|
1578
|
-
const l =
|
|
1578
|
+
const l = ua(n.T, t, a.ignoreUnknownFields, !1);
|
|
1579
1579
|
switch (l) {
|
|
1580
1580
|
case Cn:
|
|
1581
1581
|
ao(n, e);
|
|
@@ -1643,7 +1643,7 @@ function Jt(e, t, n, a) {
|
|
|
1643
1643
|
let o;
|
|
1644
1644
|
if (typeof t == "number" ? o = t : typeof t == "string" && t.length > 0 && t.trim().length === t.length && (o = Number(t)), o === void 0)
|
|
1645
1645
|
break;
|
|
1646
|
-
return e == E.UINT32 || e == E.FIXED32 ?
|
|
1646
|
+
return e == E.UINT32 || e == E.FIXED32 ? Ha(o) : Sn(o), o;
|
|
1647
1647
|
case E.INT64:
|
|
1648
1648
|
case E.SFIXED64:
|
|
1649
1649
|
case E.SINT64:
|
|
@@ -1679,7 +1679,7 @@ function Jt(e, t, n, a) {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
throw new Error();
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function ua(e, t, n, a) {
|
|
1683
1683
|
if (t === null)
|
|
1684
1684
|
return e.typeName == "google.protobuf.NullValue" ? 0 : a ? e.values[0].no : Cn;
|
|
1685
1685
|
switch (typeof t) {
|
|
@@ -1716,7 +1716,7 @@ function io(e, t, n) {
|
|
|
1716
1716
|
case "enum":
|
|
1717
1717
|
const o = e.V.T;
|
|
1718
1718
|
for (const [r, c] of s)
|
|
1719
|
-
a[r.toString()] =
|
|
1719
|
+
a[r.toString()] = da(o, c, n.enumAsInteger);
|
|
1720
1720
|
break;
|
|
1721
1721
|
}
|
|
1722
1722
|
return n.emitDefaultValues || s.length > 0 ? a : void 0;
|
|
@@ -1731,7 +1731,7 @@ function io(e, t, n) {
|
|
|
1731
1731
|
break;
|
|
1732
1732
|
case "enum":
|
|
1733
1733
|
for (let s = 0; s < t.length; s++)
|
|
1734
|
-
a.push(
|
|
1734
|
+
a.push(da(e.T, t[s], n.enumAsInteger));
|
|
1735
1735
|
break;
|
|
1736
1736
|
case "message":
|
|
1737
1737
|
for (let s = 0; s < t.length; s++)
|
|
@@ -1744,12 +1744,12 @@ function io(e, t, n) {
|
|
|
1744
1744
|
case "scalar":
|
|
1745
1745
|
return In(e.T, t);
|
|
1746
1746
|
case "enum":
|
|
1747
|
-
return
|
|
1747
|
+
return da(e.T, t, n.enumAsInteger);
|
|
1748
1748
|
case "message":
|
|
1749
1749
|
return ii(e.T, t).toJson(n);
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
|
-
function
|
|
1752
|
+
function da(e, t, n) {
|
|
1753
1753
|
var a;
|
|
1754
1754
|
if (ee(typeof t == "number"), e.typeName == "google.protobuf.NullValue")
|
|
1755
1755
|
return null;
|
|
@@ -1820,7 +1820,7 @@ function $l() {
|
|
|
1820
1820
|
readMessage(e, t, n, a, s) {
|
|
1821
1821
|
const o = e.getType(), r = s ? t.len : t.pos + n;
|
|
1822
1822
|
let c, l;
|
|
1823
|
-
for (; t.pos < r && ([c, l] = t.tag(), !(s === !0 && l ==
|
|
1823
|
+
for (; t.pos < r && ([c, l] = t.tag(), !(s === !0 && l == ae.EndGroup)); ) {
|
|
1824
1824
|
const m = o.fields.find(c);
|
|
1825
1825
|
if (!m) {
|
|
1826
1826
|
const u = t.skip(l, c);
|
|
@@ -1830,7 +1830,7 @@ function $l() {
|
|
|
1830
1830
|
mo(e, t, m, l, a);
|
|
1831
1831
|
}
|
|
1832
1832
|
if (s && // eslint-disable-line @typescript-eslint/strict-boolean-expressions
|
|
1833
|
-
(l !=
|
|
1833
|
+
(l != ae.EndGroup || c !== n))
|
|
1834
1834
|
throw new Error("invalid end group tag");
|
|
1835
1835
|
},
|
|
1836
1836
|
readField: mo,
|
|
@@ -1861,7 +1861,7 @@ function mo(e, t, n, a, s) {
|
|
|
1861
1861
|
let l = Un;
|
|
1862
1862
|
if (n.kind == "scalar" && n.L > 0 && (l = Wl), o) {
|
|
1863
1863
|
let y = e[r];
|
|
1864
|
-
if (a ==
|
|
1864
|
+
if (a == ae.LengthDelimited && c != E.STRING && c != E.BYTES) {
|
|
1865
1865
|
let g = t.uint32() + t.pos;
|
|
1866
1866
|
for (; t.pos < g; )
|
|
1867
1867
|
y.push(l(t, c));
|
|
@@ -1999,7 +1999,7 @@ function uo(e, t, n, a) {
|
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
2001
|
function zl(e, t, n, a, s) {
|
|
2002
|
-
e.tag(n.no,
|
|
2002
|
+
e.tag(n.no, ae.LengthDelimited), e.fork();
|
|
2003
2003
|
let o = a;
|
|
2004
2004
|
switch (n.K) {
|
|
2005
2005
|
case E.INT32:
|
|
@@ -2021,14 +2021,14 @@ function zl(e, t, n, a, s) {
|
|
|
2021
2021
|
Xt(e, E.INT32, 2, s);
|
|
2022
2022
|
break;
|
|
2023
2023
|
case "message":
|
|
2024
|
-
ee(s !== void 0), e.tag(2,
|
|
2024
|
+
ee(s !== void 0), e.tag(2, ae.LengthDelimited).bytes(s.toBinary(t));
|
|
2025
2025
|
break;
|
|
2026
2026
|
}
|
|
2027
2027
|
e.join();
|
|
2028
2028
|
}
|
|
2029
2029
|
function po(e, t, n, a) {
|
|
2030
2030
|
const s = ii(n.T, a);
|
|
2031
|
-
n.delimited ? e.tag(n.no,
|
|
2031
|
+
n.delimited ? e.tag(n.no, ae.StartGroup).raw(s.toBinary(t)).tag(n.no, ae.EndGroup) : e.tag(n.no, ae.LengthDelimited).bytes(s.toBinary(t));
|
|
2032
2032
|
}
|
|
2033
2033
|
function Xt(e, t, n, a) {
|
|
2034
2034
|
ee(a !== void 0);
|
|
@@ -2038,28 +2038,28 @@ function Xt(e, t, n, a) {
|
|
|
2038
2038
|
function Jl(e, t, n, a) {
|
|
2039
2039
|
if (!a.length)
|
|
2040
2040
|
return;
|
|
2041
|
-
e.tag(n,
|
|
2041
|
+
e.tag(n, ae.LengthDelimited).fork();
|
|
2042
2042
|
let [, s] = ci(t);
|
|
2043
2043
|
for (let o = 0; o < a.length; o++)
|
|
2044
2044
|
e[s](a[o]);
|
|
2045
2045
|
e.join();
|
|
2046
2046
|
}
|
|
2047
2047
|
function ci(e) {
|
|
2048
|
-
let t =
|
|
2048
|
+
let t = ae.Varint;
|
|
2049
2049
|
switch (e) {
|
|
2050
2050
|
case E.BYTES:
|
|
2051
2051
|
case E.STRING:
|
|
2052
|
-
t =
|
|
2052
|
+
t = ae.LengthDelimited;
|
|
2053
2053
|
break;
|
|
2054
2054
|
case E.DOUBLE:
|
|
2055
2055
|
case E.FIXED64:
|
|
2056
2056
|
case E.SFIXED64:
|
|
2057
|
-
t =
|
|
2057
|
+
t = ae.Bit64;
|
|
2058
2058
|
break;
|
|
2059
2059
|
case E.FIXED32:
|
|
2060
2060
|
case E.SFIXED32:
|
|
2061
2061
|
case E.FLOAT:
|
|
2062
|
-
t =
|
|
2062
|
+
t = ae.Bit32;
|
|
2063
2063
|
break;
|
|
2064
2064
|
}
|
|
2065
2065
|
const n = E[e].toLowerCase();
|
|
@@ -2651,7 +2651,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
2651
2651
|
{ no: 32, name: "CATEGORY_PUBLIC_CHAT_HOME", localName: "PUBLIC_CHAT_HOME" },
|
|
2652
2652
|
{ no: 33, name: "CATEGORY_PUBLIC_CHAT", localName: "PUBLIC_CHAT" }
|
|
2653
2653
|
]
|
|
2654
|
-
),
|
|
2654
|
+
), Qa = /* @__PURE__ */ i.makeEnum(
|
|
2655
2655
|
"streamlayer.analytics.v1.common.ScreenOrientation",
|
|
2656
2656
|
[
|
|
2657
2657
|
{ no: 0, name: "SCREEN_ORIENTATION_UNSET", localName: "UNSET" },
|
|
@@ -3259,14 +3259,14 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
3259
3259
|
{ no: 4, name: "NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID", localName: "SOLID" },
|
|
3260
3260
|
{ no: 5, name: "NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE", localName: "MIDDLE" }
|
|
3261
3261
|
]
|
|
3262
|
-
),
|
|
3262
|
+
), Rm = /* @__PURE__ */ i.makeEnum(
|
|
3263
3263
|
"streamlayer.interactive.NotificationSponsorLogoMode",
|
|
3264
3264
|
[
|
|
3265
3265
|
{ no: 0, name: "NOTIFICATION_SPONSOR_LOGO_UNSET" },
|
|
3266
3266
|
{ no: 1, name: "NOTIFICATION_SPONSOR_LOGO_NONE" },
|
|
3267
3267
|
{ no: 2, name: "NOTIFICATION_SPONSOR_LOGO_TRANSPARENT" }
|
|
3268
3268
|
]
|
|
3269
|
-
),
|
|
3269
|
+
), wm = /* @__PURE__ */ i.makeEnum(
|
|
3270
3270
|
"streamlayer.interactive.CtaIconMode",
|
|
3271
3271
|
[
|
|
3272
3272
|
{ no: 0, name: "CTA_ICON_UNSET" },
|
|
@@ -3335,7 +3335,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
3335
3335
|
{ no: 1, name: "USE_AS_NOTIFICATION_ENABLED", localName: "ENABLED" },
|
|
3336
3336
|
{ no: 2, name: "USE_AS_NOTIFICATION_DISABLED", localName: "DISABLED" }
|
|
3337
3337
|
]
|
|
3338
|
-
),
|
|
3338
|
+
), Ya = /* @__PURE__ */ i.makeEnum(
|
|
3339
3339
|
"streamlayer.interactive.NotificationEnabled",
|
|
3340
3340
|
[
|
|
3341
3341
|
{ no: 0, name: "NOTIFICATION_ENABLED_UNSET" },
|
|
@@ -3471,7 +3471,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
3471
3471
|
T: 9
|
|
3472
3472
|
/* ScalarType.STRING */
|
|
3473
3473
|
},
|
|
3474
|
-
{ no: 2, name: "sponsor_logo_mode", kind: "enum", T: i.getEnumType(
|
|
3474
|
+
{ no: 2, name: "sponsor_logo_mode", kind: "enum", T: i.getEnumType(Rm) },
|
|
3475
3475
|
{ no: 3, name: "cta_button", kind: "message", T: gi },
|
|
3476
3476
|
{ no: 4, name: "image_position", kind: "enum", T: i.getEnumType(Am) },
|
|
3477
3477
|
{ no: 5, name: "mode", kind: "enum", T: i.getEnumType(vm) }
|
|
@@ -3510,7 +3510,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
3510
3510
|
},
|
|
3511
3511
|
{ no: 6, name: "image_mode", kind: "enum", T: i.getEnumType(_t) },
|
|
3512
3512
|
{ no: 7, name: "promotion", kind: "message", T: xm },
|
|
3513
|
-
{ no: 8, name: "enabled", kind: "enum", T: i.getEnumType(
|
|
3513
|
+
{ no: 8, name: "enabled", kind: "enum", T: i.getEnumType(Ya) }
|
|
3514
3514
|
]
|
|
3515
3515
|
), Hm = /* @__PURE__ */ i.makeMessageType(
|
|
3516
3516
|
"streamlayer.interactive.QuestionAnswer",
|
|
@@ -3704,7 +3704,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
3704
3704
|
T: 9
|
|
3705
3705
|
/* ScalarType.STRING */
|
|
3706
3706
|
},
|
|
3707
|
-
{ no: 5, name: "cta_icon_mode", kind: "enum", T: i.getEnumType(
|
|
3707
|
+
{ no: 5, name: "cta_icon_mode", kind: "enum", T: i.getEnumType(wm) }
|
|
3708
3708
|
]
|
|
3709
3709
|
), yo = /* @__PURE__ */ i.makeMessageType(
|
|
3710
3710
|
"streamlayer.interactive.Banner",
|
|
@@ -4398,7 +4398,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
4398
4398
|
}
|
|
4399
4399
|
],
|
|
4400
4400
|
{ localName: "QuestionAutoPostStartOptions_ScheduleOptions" }
|
|
4401
|
-
),
|
|
4401
|
+
), Wn = /* @__PURE__ */ i.makeMessageType(
|
|
4402
4402
|
"streamlayer.interactive.Pagination",
|
|
4403
4403
|
() => [
|
|
4404
4404
|
{
|
|
@@ -4505,7 +4505,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
4505
4505
|
{ no: 1, name: "question", kind: "message", T: ki },
|
|
4506
4506
|
{ no: 2, name: "notification", kind: "message", T: bs },
|
|
4507
4507
|
{ no: 3, name: "moderation", kind: "message", T: hi },
|
|
4508
|
-
{ no: 4, name: "feed_item", kind: "message", T:
|
|
4508
|
+
{ no: 4, name: "feed_item", kind: "message", T: zn }
|
|
4509
4509
|
]
|
|
4510
4510
|
), Su = /* @__PURE__ */ i.makeMessageType(
|
|
4511
4511
|
"streamlayer.interactive.feed.SubscriptionRequest",
|
|
@@ -4609,12 +4609,12 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
4609
4609
|
/* ScalarType.STRING */
|
|
4610
4610
|
}
|
|
4611
4611
|
]
|
|
4612
|
-
),
|
|
4612
|
+
), Ru = /* @__PURE__ */ i.makeMessageType(
|
|
4613
4613
|
"streamlayer.interactive.feed.QuestionSubscriptionResponse",
|
|
4614
4614
|
() => [
|
|
4615
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
4615
|
+
{ no: 1, name: "data", kind: "message", T: wu }
|
|
4616
4616
|
]
|
|
4617
|
-
),
|
|
4617
|
+
), wu = /* @__PURE__ */ i.makeMessageType(
|
|
4618
4618
|
"streamlayer.interactive.feed.QuestionSubscriptionResponse.QuestionSubscriptionResponseData",
|
|
4619
4619
|
() => [
|
|
4620
4620
|
{
|
|
@@ -4945,7 +4945,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
4945
4945
|
T: 9
|
|
4946
4946
|
/* ScalarType.STRING */
|
|
4947
4947
|
},
|
|
4948
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
4948
|
+
{ no: 2, name: "pagination", kind: "message", T: Wn }
|
|
4949
4949
|
]
|
|
4950
4950
|
), bi = /* @__PURE__ */ i.makeMessageType(
|
|
4951
4951
|
"streamlayer.interactive.feed.PickHistory",
|
|
@@ -5339,7 +5339,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
5339
5339
|
{ no: 6, name: "insight", kind: "message", T: Ii, oneof: "attributes" },
|
|
5340
5340
|
{ no: 7, name: "promotion", kind: "message", T: Oi, oneof: "attributes" }
|
|
5341
5341
|
]
|
|
5342
|
-
),
|
|
5342
|
+
), zn = /* @__PURE__ */ i.makeMessageType(
|
|
5343
5343
|
"streamlayer.interactive.feed.FeedItem",
|
|
5344
5344
|
() => [
|
|
5345
5345
|
{
|
|
@@ -5369,7 +5369,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
5369
5369
|
/* ScalarType.STRING */
|
|
5370
5370
|
},
|
|
5371
5371
|
{ no: 2, name: "filter", kind: "message", T: bd },
|
|
5372
|
-
{ no: 3, name: "pagination", kind: "message", T:
|
|
5372
|
+
{ no: 3, name: "pagination", kind: "message", T: Wn }
|
|
5373
5373
|
]
|
|
5374
5374
|
), bd = /* @__PURE__ */ i.makeMessageType(
|
|
5375
5375
|
"streamlayer.interactive.feed.FeedListRequest.FeedListFilter",
|
|
@@ -5381,7 +5381,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
5381
5381
|
), Id = /* @__PURE__ */ i.makeMessageType(
|
|
5382
5382
|
"streamlayer.interactive.feed.FeedListResponse",
|
|
5383
5383
|
() => [
|
|
5384
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
5384
|
+
{ no: 1, name: "data", kind: "message", T: zn, repeated: !0 },
|
|
5385
5385
|
{ no: 2, name: "meta", kind: "message", T: Nd }
|
|
5386
5386
|
]
|
|
5387
5387
|
), Nd = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -5424,7 +5424,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
5424
5424
|
), vd = /* @__PURE__ */ i.makeMessageType(
|
|
5425
5425
|
"streamlayer.interactive.feed.FeedItemResponse",
|
|
5426
5426
|
() => [
|
|
5427
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
5427
|
+
{ no: 1, name: "data", kind: "message", T: zn }
|
|
5428
5428
|
]
|
|
5429
5429
|
), Ad = /* @__PURE__ */ i.makeMessageType(
|
|
5430
5430
|
"streamlayer.interactive.feed.FeedSubscriptionRequest",
|
|
@@ -5437,13 +5437,13 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
5437
5437
|
/* ScalarType.STRING */
|
|
5438
5438
|
}
|
|
5439
5439
|
]
|
|
5440
|
-
),
|
|
5440
|
+
), Rd = /* @__PURE__ */ i.makeMessageType(
|
|
5441
5441
|
"streamlayer.interactive.feed.FeedSubscriptionResponse",
|
|
5442
5442
|
() => [
|
|
5443
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
5444
|
-
{ no: 2, name: "meta", kind: "message", T:
|
|
5443
|
+
{ no: 1, name: "data", kind: "message", T: zn },
|
|
5444
|
+
{ no: 2, name: "meta", kind: "message", T: wd }
|
|
5445
5445
|
]
|
|
5446
|
-
),
|
|
5446
|
+
), wd = /* @__PURE__ */ i.makeMessageType(
|
|
5447
5447
|
"streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",
|
|
5448
5448
|
() => [
|
|
5449
5449
|
{ no: 1, name: "type", kind: "enum", T: i.getEnumType(_u) }
|
|
@@ -6196,7 +6196,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
6196
6196
|
{ no: 5, name: "default_channel", kind: "message", T: Fn },
|
|
6197
6197
|
{ no: 6, name: "channels", kind: "message", T: Fn, repeated: !0 }
|
|
6198
6198
|
]
|
|
6199
|
-
),
|
|
6199
|
+
), Ri = /* @__PURE__ */ i.makeMessageType(
|
|
6200
6200
|
"streamlayer.sdkSettings.StreamSettings",
|
|
6201
6201
|
() => [
|
|
6202
6202
|
{ no: 1, name: "overlays", kind: "message", T: Li, repeated: !0 },
|
|
@@ -6286,7 +6286,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
6286
6286
|
{ no: 3, name: "t", kind: "scalar", T: 9, opt: !0 }
|
|
6287
6287
|
],
|
|
6288
6288
|
{ localName: "JWK_OTH" }
|
|
6289
|
-
),
|
|
6289
|
+
), wi = /* @__PURE__ */ i.makeMessageType(
|
|
6290
6290
|
"streamlayer.sdkSettings.OrganizationSettings",
|
|
6291
6291
|
() => [
|
|
6292
6292
|
{ no: 1, name: "overlays", kind: "message", T: Li, repeated: !0 },
|
|
@@ -6573,7 +6573,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
6573
6573
|
},
|
|
6574
6574
|
{ no: 2, name: "overlay_settings", kind: "map", K: 9, V: { kind: "message", T: gp } }
|
|
6575
6575
|
]
|
|
6576
|
-
),
|
|
6576
|
+
), ja = /* @__PURE__ */ i.makeEnum(
|
|
6577
6577
|
"streamlayer.analytics.v1.invitations.InvitationCategory",
|
|
6578
6578
|
[
|
|
6579
6579
|
{ no: 0, name: "INVITATION_CATEGORY_UNSET", localName: "UNSET" },
|
|
@@ -6582,7 +6582,7 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
6582
6582
|
{ no: 3, name: "INVITATION_CATEGORY_VOICING", localName: "VOICING" },
|
|
6583
6583
|
{ no: 4, name: "INVITATION_CATEGORY_GAMES", localName: "GAMES" }
|
|
6584
6584
|
]
|
|
6585
|
-
),
|
|
6585
|
+
), $a = /* @__PURE__ */ i.makeEnum(
|
|
6586
6586
|
"streamlayer.analytics.v1.invitations.InvitationFrom",
|
|
6587
6587
|
[
|
|
6588
6588
|
{ no: 0, name: "INVITATION_FROM_UNSET", localName: "UNSET" },
|
|
@@ -6590,10 +6590,10 @@ const lm = /* @__PURE__ */ i.makeEnum(
|
|
|
6590
6590
|
{ no: 2, name: "INVITATION_FROM_MENU", localName: "MENU" }
|
|
6591
6591
|
]
|
|
6592
6592
|
);
|
|
6593
|
-
let
|
|
6593
|
+
let pa = 0, ko = [];
|
|
6594
6594
|
function kp() {
|
|
6595
|
-
return
|
|
6596
|
-
if (
|
|
6595
|
+
return pa += 1, () => {
|
|
6596
|
+
if (pa -= 1, pa === 0) {
|
|
6597
6597
|
let e = ko;
|
|
6598
6598
|
ko = [];
|
|
6599
6599
|
for (let t of e) t();
|
|
@@ -6654,7 +6654,7 @@ let On = 0, it = (e) => {
|
|
|
6654
6654
|
return n;
|
|
6655
6655
|
};
|
|
6656
6656
|
const hp = 0, _p = 1, Sp = 5, yn = 6, gn = 10;
|
|
6657
|
-
let
|
|
6657
|
+
let Rs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + gn] || (e.events[n + gn] = a((s) => {
|
|
6658
6658
|
e.events[n].reduceRight((o, r) => (r(o), o), {
|
|
6659
6659
|
shared: {},
|
|
6660
6660
|
...s
|
|
@@ -6662,19 +6662,19 @@ let ws = (e, t, n, a) => (e.events = e.events || {}, e.events[n + gn] || (e.even
|
|
|
6662
6662
|
})), e.events[n] = e.events[n] || [], e.events[n].push(t), () => {
|
|
6663
6663
|
let s = e.events[n], o = s.indexOf(t);
|
|
6664
6664
|
s.splice(o, 1), s.length || (delete e.events[n], e.events[n + gn](), delete e.events[n + gn]);
|
|
6665
|
-
}), Ep = (e, t) =>
|
|
6665
|
+
}), Ep = (e, t) => Rs(e, t, hp, (n) => {
|
|
6666
6666
|
let a = e.listen;
|
|
6667
6667
|
return e.listen = (s) => (!e.lc && !e.starting && (e.starting = !0, n(), delete e.starting), a(s)), () => {
|
|
6668
6668
|
e.listen = a;
|
|
6669
6669
|
};
|
|
6670
|
-
}), bp = (e, t) =>
|
|
6670
|
+
}), bp = (e, t) => Rs(e, t, _p, (n) => {
|
|
6671
6671
|
let a = e.off;
|
|
6672
6672
|
return e.off = () => {
|
|
6673
6673
|
n(), a();
|
|
6674
6674
|
}, () => {
|
|
6675
6675
|
e.off = a;
|
|
6676
6676
|
};
|
|
6677
|
-
}), Ip = 1e3,
|
|
6677
|
+
}), Ip = 1e3, Jn = (e, t) => Rs(e, (a) => {
|
|
6678
6678
|
let s = t(a);
|
|
6679
6679
|
s && e.events[yn].push(s);
|
|
6680
6680
|
}, Sp, (a) => {
|
|
@@ -6710,13 +6710,13 @@ let ws = (e, t, n, a) => (e.events = e.events || {}, e.events[n + gn] || (e.even
|
|
|
6710
6710
|
let l, m = n ? () => {
|
|
6711
6711
|
clearTimeout(l), l = setTimeout(o);
|
|
6712
6712
|
} : o;
|
|
6713
|
-
return
|
|
6713
|
+
return Jn(r, () => {
|
|
6714
6714
|
let u = e.map((d) => d.listen(m));
|
|
6715
6715
|
return o(), () => {
|
|
6716
6716
|
for (let d of u) d();
|
|
6717
6717
|
};
|
|
6718
6718
|
}), r;
|
|
6719
|
-
}, Np = (e, t) => Pi(e, t), ho = (e, t) => Pi(e, t, !0),
|
|
6719
|
+
}, Np = (e, t) => Pi(e, t), ho = (e, t) => Pi(e, t, !0), Ka = (e = {}) => {
|
|
6720
6720
|
let t = it(e);
|
|
6721
6721
|
return t.setKey = function(n, a) {
|
|
6722
6722
|
let s = t.value;
|
|
@@ -6732,18 +6732,18 @@ for (let e = 0; e < 256; ++e)
|
|
|
6732
6732
|
function Op(e, t = 0) {
|
|
6733
6733
|
return (pe[e[t + 0]] + pe[e[t + 1]] + pe[e[t + 2]] + pe[e[t + 3]] + "-" + pe[e[t + 4]] + pe[e[t + 5]] + "-" + pe[e[t + 6]] + pe[e[t + 7]] + "-" + pe[e[t + 8]] + pe[e[t + 9]] + "-" + pe[e[t + 10]] + pe[e[t + 11]] + pe[e[t + 12]] + pe[e[t + 13]] + pe[e[t + 14]] + pe[e[t + 15]]).toLowerCase();
|
|
6734
6734
|
}
|
|
6735
|
-
let
|
|
6735
|
+
let Ta;
|
|
6736
6736
|
const vp = new Uint8Array(16);
|
|
6737
6737
|
function Ap() {
|
|
6738
|
-
if (!
|
|
6738
|
+
if (!Ta) {
|
|
6739
6739
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
6740
6740
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
6741
|
-
|
|
6741
|
+
Ta = crypto.getRandomValues.bind(crypto);
|
|
6742
6742
|
}
|
|
6743
|
-
return
|
|
6743
|
+
return Ta(vp);
|
|
6744
6744
|
}
|
|
6745
|
-
const
|
|
6746
|
-
function
|
|
6745
|
+
const Rp = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), _o = { randomUUID: Rp };
|
|
6746
|
+
function Bn(e, t, n) {
|
|
6747
6747
|
var s;
|
|
6748
6748
|
if (_o.randomUUID && !t && !e)
|
|
6749
6749
|
return _o.randomUUID();
|
|
@@ -6770,7 +6770,7 @@ class $ extends Error {
|
|
|
6770
6770
|
* to encode and send the details along with error.
|
|
6771
6771
|
*/
|
|
6772
6772
|
constructor(t, n = U.Unknown, a, s, o) {
|
|
6773
|
-
super(
|
|
6773
|
+
super(wp(t, n)), this.name = "ConnectError", Object.setPrototypeOf(this, new.target.prototype), this.rawMessage = t, this.code = n, this.metadata = new Headers(a ?? {}), this.details = s ?? [], this.cause = o;
|
|
6774
6774
|
}
|
|
6775
6775
|
/**
|
|
6776
6776
|
* Convert any value - typically a caught error into a ConnectError,
|
|
@@ -6809,7 +6809,7 @@ class $ extends Error {
|
|
|
6809
6809
|
return a;
|
|
6810
6810
|
}
|
|
6811
6811
|
}
|
|
6812
|
-
function
|
|
6812
|
+
function wp(e, t) {
|
|
6813
6813
|
return e.length ? `[${So(t)}] ${e}` : `[${So(t)}]`;
|
|
6814
6814
|
}
|
|
6815
6815
|
function Lp(e, t, n) {
|
|
@@ -7147,7 +7147,7 @@ function Wa() {
|
|
|
7147
7147
|
function Oo(e, t) {
|
|
7148
7148
|
return { id: Symbol(t == null ? void 0 : t.description), defaultValue: e };
|
|
7149
7149
|
}
|
|
7150
|
-
const
|
|
7150
|
+
const ya = 128;
|
|
7151
7151
|
function vo(e) {
|
|
7152
7152
|
const t = new Headers(), n = new TextDecoder().decode(e).split(`\r
|
|
7153
7153
|
`);
|
|
@@ -7257,11 +7257,11 @@ function eT(e) {
|
|
|
7257
7257
|
const n = Object.assign({}, e);
|
|
7258
7258
|
return (t = n.ignoreUnknownFields) !== null && t !== void 0 || (n.ignoreUnknownFields = !0), n;
|
|
7259
7259
|
}
|
|
7260
|
-
function
|
|
7261
|
-
const s = t ?
|
|
7262
|
-
return { parse: (t ?
|
|
7260
|
+
function Ro(e, t, n, a) {
|
|
7261
|
+
const s = t ? wo(e.I, a) : Lo(e.I, n);
|
|
7262
|
+
return { parse: (t ? wo(e.O, a) : Lo(e.O, n)).parse, serialize: s.serialize };
|
|
7263
7263
|
}
|
|
7264
|
-
function
|
|
7264
|
+
function wo(e, t) {
|
|
7265
7265
|
return {
|
|
7266
7266
|
parse(n) {
|
|
7267
7267
|
try {
|
|
@@ -7439,7 +7439,7 @@ function Co(e) {
|
|
|
7439
7439
|
return {
|
|
7440
7440
|
async unary(a, s, o, r, c, l, m) {
|
|
7441
7441
|
var u;
|
|
7442
|
-
const { serialize: d, parse: y } =
|
|
7442
|
+
const { serialize: d, parse: y } = Ro(s, n, e.jsonOptions, e.binaryOptions);
|
|
7443
7443
|
return r = r === void 0 ? e.defaultTimeoutMs : r <= 0 ? void 0 : r, await tT({
|
|
7444
7444
|
interceptors: e.interceptors,
|
|
7445
7445
|
signal: o,
|
|
@@ -7465,7 +7465,7 @@ function Co(e) {
|
|
|
7465
7465
|
if (!_.body)
|
|
7466
7466
|
throw h !== void 0 ? h : "missing response body";
|
|
7467
7467
|
const O = bo(_.body).getReader();
|
|
7468
|
-
let
|
|
7468
|
+
let R, w;
|
|
7469
7469
|
for (; ; ) {
|
|
7470
7470
|
const v = await O.read();
|
|
7471
7471
|
if (v.done)
|
|
@@ -7473,35 +7473,35 @@ function Co(e) {
|
|
|
7473
7473
|
const { flags: P, data: I } = v.value;
|
|
7474
7474
|
if ((P & Eo) === Eo)
|
|
7475
7475
|
throw new $("protocol error: received unsupported compressed output", U.Internal);
|
|
7476
|
-
if (P ===
|
|
7477
|
-
if (
|
|
7476
|
+
if (P === ya) {
|
|
7477
|
+
if (R !== void 0)
|
|
7478
7478
|
throw "extra trailer";
|
|
7479
|
-
|
|
7479
|
+
R = vo(I);
|
|
7480
7480
|
continue;
|
|
7481
7481
|
}
|
|
7482
|
-
if (
|
|
7482
|
+
if (w !== void 0)
|
|
7483
7483
|
throw new $("extra message", U.Unimplemented);
|
|
7484
|
-
|
|
7484
|
+
w = y(I);
|
|
7485
7485
|
}
|
|
7486
|
-
if (
|
|
7486
|
+
if (R === void 0)
|
|
7487
7487
|
throw h !== void 0 ? h : new $("missing trailer", _.headers.has(Gt) ? U.Unimplemented : U.Unknown);
|
|
7488
|
-
if (Po(
|
|
7489
|
-
throw new $("missing message",
|
|
7488
|
+
if (Po(R, _.headers), w === void 0)
|
|
7489
|
+
throw new $("missing message", R.has(Gt) ? U.Unimplemented : U.Unknown);
|
|
7490
7490
|
return {
|
|
7491
7491
|
stream: !1,
|
|
7492
7492
|
service: a,
|
|
7493
7493
|
method: s,
|
|
7494
7494
|
header: _.headers,
|
|
7495
|
-
message:
|
|
7496
|
-
trailer:
|
|
7495
|
+
message: w,
|
|
7496
|
+
trailer: R
|
|
7497
7497
|
};
|
|
7498
7498
|
}
|
|
7499
7499
|
});
|
|
7500
7500
|
},
|
|
7501
7501
|
async stream(a, s, o, r, c, l, m) {
|
|
7502
7502
|
var u;
|
|
7503
|
-
const { serialize: d, parse: y } =
|
|
7504
|
-
function T(f, _, h, O,
|
|
7503
|
+
const { serialize: d, parse: y } = Ro(s, n, e.jsonOptions, e.binaryOptions);
|
|
7504
|
+
function T(f, _, h, O, R) {
|
|
7505
7505
|
return oT(this, arguments, function* () {
|
|
7506
7506
|
const v = bo(f).getReader();
|
|
7507
7507
|
if (_) {
|
|
@@ -7515,7 +7515,7 @@ function Co(e) {
|
|
|
7515
7515
|
if (I.done)
|
|
7516
7516
|
break;
|
|
7517
7517
|
const { flags: B, data: A } = I.value;
|
|
7518
|
-
if ((B &
|
|
7518
|
+
if ((B & ya) === ya) {
|
|
7519
7519
|
if (P)
|
|
7520
7520
|
throw "extra trailer";
|
|
7521
7521
|
P = !0;
|
|
@@ -7527,7 +7527,7 @@ function Co(e) {
|
|
|
7527
7527
|
throw "extra message";
|
|
7528
7528
|
yield yield Tt(y(A));
|
|
7529
7529
|
}
|
|
7530
|
-
if ("throwIfAborted" in
|
|
7530
|
+
if ("throwIfAborted" in R && R.throwIfAborted(), !P)
|
|
7531
7531
|
throw "missing trailer";
|
|
7532
7532
|
});
|
|
7533
7533
|
}
|
|
@@ -7560,13 +7560,13 @@ function Co(e) {
|
|
|
7560
7560
|
},
|
|
7561
7561
|
next: async (f) => {
|
|
7562
7562
|
var _;
|
|
7563
|
-
const O = await ((_ = e.fetch) !== null && _ !== void 0 ? _ : globalThis.fetch)(f.url, Object.assign(Object.assign({}, f.init), { headers: f.header, signal: f.signal, body: await g(f.message) })), { foundStatus:
|
|
7564
|
-
if (
|
|
7565
|
-
throw
|
|
7563
|
+
const O = await ((_ = e.fetch) !== null && _ !== void 0 ? _ : globalThis.fetch)(f.url, Object.assign(Object.assign({}, f.init), { headers: f.header, signal: f.signal, body: await g(f.message) })), { foundStatus: R, headerError: w } = Do(O.status, O.headers);
|
|
7564
|
+
if (w != null)
|
|
7565
|
+
throw w;
|
|
7566
7566
|
if (!O.body)
|
|
7567
7567
|
throw "missing response body";
|
|
7568
7568
|
const v = new Headers();
|
|
7569
|
-
return Object.assign(Object.assign({}, f), { header: O.headers, trailer: v, message: T(O.body,
|
|
7569
|
+
return Object.assign(Object.assign({}, f), { header: O.headers, trailer: v, message: T(O.body, R, v, O.headers, f.signal) });
|
|
7570
7570
|
}
|
|
7571
7571
|
});
|
|
7572
7572
|
}
|
|
@@ -7599,29 +7599,29 @@ const Uo = ({
|
|
|
7599
7599
|
}), qo("online", () => a.emit(Go));
|
|
7600
7600
|
const o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
|
|
7601
7601
|
let l = {};
|
|
7602
|
-
const m = async ([h, O],
|
|
7602
|
+
const m = async ([h, O], R, w, v) => {
|
|
7603
7603
|
var P;
|
|
7604
7604
|
if (!s)
|
|
7605
7605
|
return;
|
|
7606
7606
|
const I = (D) => {
|
|
7607
|
-
|
|
7607
|
+
R.key === h && (R.set(D), a.emit(ga, h, D, !0));
|
|
7608
7608
|
}, B = () => {
|
|
7609
7609
|
I({
|
|
7610
|
-
...
|
|
7610
|
+
...R.value,
|
|
7611
7611
|
...Ho,
|
|
7612
7612
|
promise: c.get(h)
|
|
7613
7613
|
});
|
|
7614
7614
|
}, { dedupeTime: A = 4e3, fetcher: H } = {
|
|
7615
|
-
...
|
|
7615
|
+
...w,
|
|
7616
7616
|
...l
|
|
7617
7617
|
}, Q = xo();
|
|
7618
7618
|
if (c.has(h)) {
|
|
7619
|
-
|
|
7619
|
+
R.value.loading || B();
|
|
7620
7620
|
return;
|
|
7621
7621
|
}
|
|
7622
7622
|
if (!v) {
|
|
7623
7623
|
const D = e.get(h);
|
|
7624
|
-
D &&
|
|
7624
|
+
D && R.value.data !== D && I({ data: D, ...at });
|
|
7625
7625
|
const F = r.get(h);
|
|
7626
7626
|
if (F && F + A > Q)
|
|
7627
7627
|
return;
|
|
@@ -7633,33 +7633,33 @@ const Uo = ({
|
|
|
7633
7633
|
const F = await D;
|
|
7634
7634
|
e.set(h, F), I({ data: F, ...at }), r.set(h, xo());
|
|
7635
7635
|
} catch (D) {
|
|
7636
|
-
(P =
|
|
7636
|
+
(P = w.onError) == null || P.call(w, D), I({ data: R.value.data, error: D, ...at });
|
|
7637
7637
|
} finally {
|
|
7638
7638
|
V(), c.delete(h);
|
|
7639
7639
|
}
|
|
7640
7640
|
}, u = (h, {
|
|
7641
7641
|
fetcher: O = t,
|
|
7642
|
-
...
|
|
7642
|
+
...R
|
|
7643
7643
|
} = {}) => {
|
|
7644
|
-
const
|
|
7644
|
+
const w = Ka({
|
|
7645
7645
|
...at
|
|
7646
|
-
}), v = { ...n, ...
|
|
7647
|
-
|
|
7648
|
-
const { key: F } =
|
|
7646
|
+
}), v = { ...n, ...R, fetcher: O };
|
|
7647
|
+
w._ = qi, w.invalidate = () => {
|
|
7648
|
+
const { key: F } = w;
|
|
7649
7649
|
F && T(F);
|
|
7650
|
-
},
|
|
7651
|
-
const { key: J } =
|
|
7650
|
+
}, w.mutate = (F) => {
|
|
7651
|
+
const { key: J } = w;
|
|
7652
7652
|
J && g(J, F);
|
|
7653
7653
|
};
|
|
7654
7654
|
let P, I, B, A, H, Q = [];
|
|
7655
|
-
Ep(
|
|
7655
|
+
Ep(w, () => {
|
|
7656
7656
|
const F = !P;
|
|
7657
7657
|
[H, P] = iT(h), A = H.subscribe((Se) => {
|
|
7658
7658
|
if (Se) {
|
|
7659
7659
|
const [Ee, k] = Se;
|
|
7660
|
-
|
|
7660
|
+
w.key = Ee, m([Ee, k], w, v), I = Ee, B = k;
|
|
7661
7661
|
} else
|
|
7662
|
-
|
|
7662
|
+
w.key = I = B = void 0, w.set({ ...at });
|
|
7663
7663
|
});
|
|
7664
7664
|
const J = H.get();
|
|
7665
7665
|
J && ([I, B] = J, F && V());
|
|
@@ -7668,56 +7668,56 @@ const Uo = ({
|
|
|
7668
7668
|
refetchOnFocus: jt,
|
|
7669
7669
|
refetchOnReconnect: et
|
|
7670
7670
|
} = v, _e = () => {
|
|
7671
|
-
I && m([I, B],
|
|
7671
|
+
I && m([I, B], w, v);
|
|
7672
7672
|
};
|
|
7673
7673
|
qe > 0 && o.set(
|
|
7674
7674
|
h,
|
|
7675
7675
|
setInterval(_e, qe)
|
|
7676
7676
|
), jt && Q.push(a.on(Bo, _e)), et && Q.push(a.on(Go, _e)), Q.push(
|
|
7677
7677
|
a.on(Vo, (Se) => {
|
|
7678
|
-
I &&
|
|
7678
|
+
I && fa(I, Se) && m([I, B], w, v, !0);
|
|
7679
7679
|
}),
|
|
7680
|
-
a.on(
|
|
7681
|
-
I &&
|
|
7680
|
+
a.on(ga, (Se, Ee, k) => {
|
|
7681
|
+
I && fa(I, Se) && w.value !== Ee && w.value.data !== Ee && w.set(
|
|
7682
7682
|
k ? Ee : { data: Ee, ...at }
|
|
7683
7683
|
);
|
|
7684
7684
|
})
|
|
7685
7685
|
);
|
|
7686
7686
|
});
|
|
7687
7687
|
const V = () => {
|
|
7688
|
-
I && B && m([I, B],
|
|
7689
|
-
}, D =
|
|
7690
|
-
return
|
|
7688
|
+
I && B && m([I, B], w, v);
|
|
7689
|
+
}, D = w.listen;
|
|
7690
|
+
return w.listen = (F) => {
|
|
7691
7691
|
const J = D(F);
|
|
7692
|
-
return F(
|
|
7693
|
-
}, bp(
|
|
7694
|
-
|
|
7695
|
-
}),
|
|
7692
|
+
return F(w.value), V(), J;
|
|
7693
|
+
}, bp(w, () => {
|
|
7694
|
+
w.value = { ...at }, P == null || P(), Q.forEach((F) => F()), Q = [], A == null || A(), clearInterval(o.get(h));
|
|
7695
|
+
}), w;
|
|
7696
7696
|
}, d = (h) => {
|
|
7697
7697
|
e.delete(h), r.delete(h);
|
|
7698
7698
|
}, y = (h, O) => {
|
|
7699
|
-
for (const
|
|
7700
|
-
|
|
7699
|
+
for (const R of e.keys())
|
|
7700
|
+
fa(R, h) && O(R);
|
|
7701
7701
|
}, T = (h) => {
|
|
7702
7702
|
y(h, d), a.emit(Vo, h);
|
|
7703
7703
|
}, g = (h, O) => {
|
|
7704
|
-
y(h, (
|
|
7705
|
-
O === void 0 ? d(
|
|
7706
|
-
}), a.emit(
|
|
7704
|
+
y(h, (R) => {
|
|
7705
|
+
O === void 0 ? d(R) : e.set(R, O);
|
|
7706
|
+
}), a.emit(ga, h, O);
|
|
7707
7707
|
};
|
|
7708
7708
|
function f(h) {
|
|
7709
|
-
const O = async (
|
|
7709
|
+
const O = async (w) => {
|
|
7710
7710
|
var v;
|
|
7711
7711
|
const P = l.fetcher ?? h, I = [];
|
|
7712
7712
|
try {
|
|
7713
|
-
|
|
7713
|
+
R.set({
|
|
7714
7714
|
error: void 0,
|
|
7715
7715
|
data: void 0,
|
|
7716
7716
|
mutate: O,
|
|
7717
7717
|
...Ho
|
|
7718
7718
|
});
|
|
7719
7719
|
const B = await P({
|
|
7720
|
-
data:
|
|
7720
|
+
data: w,
|
|
7721
7721
|
invalidate: (A) => {
|
|
7722
7722
|
I.push(A);
|
|
7723
7723
|
},
|
|
@@ -7728,17 +7728,17 @@ const Uo = ({
|
|
|
7728
7728
|
e.get(A)
|
|
7729
7729
|
]
|
|
7730
7730
|
});
|
|
7731
|
-
return
|
|
7731
|
+
return R.setKey("data", B), B;
|
|
7732
7732
|
} catch (B) {
|
|
7733
|
-
(v = n == null ? void 0 : n.onError) == null || v.call(n, B),
|
|
7733
|
+
(v = n == null ? void 0 : n.onError) == null || v.call(n, B), R.setKey("error", B);
|
|
7734
7734
|
} finally {
|
|
7735
|
-
|
|
7735
|
+
R.setKey("loading", !1), I.forEach(T);
|
|
7736
7736
|
}
|
|
7737
|
-
},
|
|
7737
|
+
}, R = Ka({
|
|
7738
7738
|
mutate: O,
|
|
7739
7739
|
...at
|
|
7740
7740
|
});
|
|
7741
|
-
return
|
|
7741
|
+
return R.mutate = O, R;
|
|
7742
7742
|
}
|
|
7743
7743
|
return [
|
|
7744
7744
|
u,
|
|
@@ -7774,9 +7774,9 @@ const iT = (e) => {
|
|
|
7774
7774
|
function cT(e) {
|
|
7775
7775
|
return e._ === qi;
|
|
7776
7776
|
}
|
|
7777
|
-
const Bo = 1, Go = 2, Vo = 3,
|
|
7777
|
+
const Bo = 1, Go = 2, Vo = 3, ga = 4, qo = (e, t) => {
|
|
7778
7778
|
typeof window > "u" || addEventListener(e, t);
|
|
7779
|
-
},
|
|
7779
|
+
}, fa = (e, t) => Array.isArray(t) ? t.includes(e) : typeof t == "function" ? t(e) : e === t, xo = () => (/* @__PURE__ */ new Date()).getTime(), qi = Symbol(), Ho = { loading: !0 }, at = { loading: !1 }, xi = /* @__PURE__ */ i.makeEnum(
|
|
7780
7780
|
"streamlayer.sports.EventStatus",
|
|
7781
7781
|
[
|
|
7782
7782
|
{ no: 0, name: "EVENT_STATUS_UNSET", localName: "UNSET" },
|
|
@@ -7795,7 +7795,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
7795
7795
|
{ no: 1, name: "EVENT_ENDLESS_ENABLED", localName: "ENABLED" },
|
|
7796
7796
|
{ no: 2, name: "EVENT_ENDLESS_DISABLED", localName: "DISABLED" }
|
|
7797
7797
|
]
|
|
7798
|
-
),
|
|
7798
|
+
), Xn = /* @__PURE__ */ i.makeMessageType(
|
|
7799
7799
|
"streamlayer.sports.Pagination",
|
|
7800
7800
|
() => [
|
|
7801
7801
|
{
|
|
@@ -7831,7 +7831,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
7831
7831
|
/* ScalarType.STRING */
|
|
7832
7832
|
}
|
|
7833
7833
|
]
|
|
7834
|
-
),
|
|
7834
|
+
), Zn = /* @__PURE__ */ i.makeMessageType(
|
|
7835
7835
|
"streamlayer.sports.Meta",
|
|
7836
7836
|
() => [
|
|
7837
7837
|
{
|
|
@@ -7881,7 +7881,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
7881
7881
|
/* ScalarType.STRING */
|
|
7882
7882
|
}
|
|
7883
7883
|
]
|
|
7884
|
-
),
|
|
7884
|
+
), ea = /* @__PURE__ */ i.makeMessageType(
|
|
7885
7885
|
"streamlayer.sports.EventTime",
|
|
7886
7886
|
() => [
|
|
7887
7887
|
{
|
|
@@ -8189,7 +8189,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
8189
8189
|
/* ScalarType.INT32 */
|
|
8190
8190
|
},
|
|
8191
8191
|
{ no: 5, name: "venue", kind: "message", T: Yi },
|
|
8192
|
-
{ no: 6, name: "event_time", kind: "message", T:
|
|
8192
|
+
{ no: 6, name: "event_time", kind: "message", T: ea },
|
|
8193
8193
|
{ no: 7, name: "home_team", kind: "message", T: lt },
|
|
8194
8194
|
{ no: 8, name: "away_team", kind: "message", T: lt },
|
|
8195
8195
|
{ no: 9, name: "status", kind: "enum", T: i.getEnumType(xi) },
|
|
@@ -8702,7 +8702,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
8702
8702
|
() => [
|
|
8703
8703
|
{ no: 1, name: "standings", kind: "message", T: NT, repeated: !0 }
|
|
8704
8704
|
]
|
|
8705
|
-
),
|
|
8705
|
+
), RT = /* @__PURE__ */ i.makeEnum(
|
|
8706
8706
|
"streamlayer.sports.basketball.BasketballPerformerCategory",
|
|
8707
8707
|
[
|
|
8708
8708
|
{ no: 0, name: "BASKETBALL_PERFORMER_CATEGORY_UNSET", localName: "UNSET" },
|
|
@@ -8710,7 +8710,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
8710
8710
|
{ no: 2, name: "BASKETBALL_PERFORMER_CATEGORY_REBOUNDS", localName: "REBOUNDS" },
|
|
8711
8711
|
{ no: 3, name: "BASKETBALL_PERFORMER_CATEGORY_ASSISTS", localName: "ASSISTS" }
|
|
8712
8712
|
]
|
|
8713
|
-
),
|
|
8713
|
+
), wT = /* @__PURE__ */ i.makeMessageType(
|
|
8714
8714
|
"streamlayer.sports.basketball.EventScore",
|
|
8715
8715
|
() => [
|
|
8716
8716
|
{ no: 8, name: "home_team_record", kind: "message", T: ct },
|
|
@@ -8783,7 +8783,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
8783
8783
|
), LT = /* @__PURE__ */ i.makeMessageType(
|
|
8784
8784
|
"streamlayer.sports.basketball.BasketballPerformers",
|
|
8785
8785
|
() => [
|
|
8786
|
-
{ no: 1, name: "category", kind: "enum", T: i.getEnumType(
|
|
8786
|
+
{ no: 1, name: "category", kind: "enum", T: i.getEnumType(RT) },
|
|
8787
8787
|
{ no: 2, name: "home_player", kind: "message", T: $o },
|
|
8788
8788
|
{ no: 3, name: "away_player", kind: "message", T: $o }
|
|
8789
8789
|
]
|
|
@@ -8804,7 +8804,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
8804
8804
|
"streamlayer.sports.basketball.BasketballPlayByPlayStatistics",
|
|
8805
8805
|
() => [
|
|
8806
8806
|
{ no: 1, name: "team", kind: "message", T: lt },
|
|
8807
|
-
{ no: 2, name: "event_time", kind: "message", T:
|
|
8807
|
+
{ no: 2, name: "event_time", kind: "message", T: ea },
|
|
8808
8808
|
{
|
|
8809
8809
|
no: 3,
|
|
8810
8810
|
name: "score_home",
|
|
@@ -9083,7 +9083,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9083
9083
|
{ no: 1, name: "home_team", kind: "message", T: zo },
|
|
9084
9084
|
{ no: 2, name: "away_team", kind: "message", T: zo }
|
|
9085
9085
|
]
|
|
9086
|
-
),
|
|
9086
|
+
), ka = /* @__PURE__ */ i.makeMessageType(
|
|
9087
9087
|
"streamlayer.sports.basketball.BasketballLastGame",
|
|
9088
9088
|
() => [
|
|
9089
9089
|
{
|
|
@@ -9145,9 +9145,9 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9145
9145
|
), $i = /* @__PURE__ */ i.makeMessageType(
|
|
9146
9146
|
"streamlayer.sports.basketball.BasketballLastGames",
|
|
9147
9147
|
() => [
|
|
9148
|
-
{ no: 1, name: "home", kind: "message", T:
|
|
9149
|
-
{ no: 2, name: "away", kind: "message", T:
|
|
9150
|
-
{ no: 3, name: "head_to_head", kind: "message", T:
|
|
9148
|
+
{ no: 1, name: "home", kind: "message", T: ka, repeated: !0 },
|
|
9149
|
+
{ no: 2, name: "away", kind: "message", T: ka, repeated: !0 },
|
|
9150
|
+
{ no: 3, name: "head_to_head", kind: "message", T: ka, repeated: !0 }
|
|
9151
9151
|
]
|
|
9152
9152
|
), HT = /* @__PURE__ */ i.makeEnum(
|
|
9153
9153
|
"streamlayer.sports.hockey.HockeyPerformerCategory",
|
|
@@ -9282,7 +9282,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9282
9282
|
"streamlayer.sports.hockey.HockeyPlayByPlayStatistics",
|
|
9283
9283
|
() => [
|
|
9284
9284
|
{ no: 1, name: "team", kind: "message", T: lt },
|
|
9285
|
-
{ no: 2, name: "event_time", kind: "message", T:
|
|
9285
|
+
{ no: 2, name: "event_time", kind: "message", T: ea },
|
|
9286
9286
|
{
|
|
9287
9287
|
no: 3,
|
|
9288
9288
|
name: "score_home",
|
|
@@ -9324,7 +9324,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9324
9324
|
() => [
|
|
9325
9325
|
{ no: 1, name: "statistics", kind: "message", T: KT, repeated: !0 }
|
|
9326
9326
|
]
|
|
9327
|
-
),
|
|
9327
|
+
), ha = /* @__PURE__ */ i.makeMessageType(
|
|
9328
9328
|
"streamlayer.sports.hockey.PlayerScore",
|
|
9329
9329
|
() => [
|
|
9330
9330
|
{
|
|
@@ -9435,10 +9435,10 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9435
9435
|
), er = /* @__PURE__ */ i.makeMessageType(
|
|
9436
9436
|
"streamlayer.sports.hockey.PlayerScores",
|
|
9437
9437
|
() => [
|
|
9438
|
-
{ no: 1, name: "skaters", kind: "message", T:
|
|
9438
|
+
{ no: 1, name: "skaters", kind: "message", T: ha, repeated: !0 },
|
|
9439
9439
|
{ no: 2, name: "goaltender", kind: "message", T: Zo },
|
|
9440
|
-
{ no: 3, name: "forwards", kind: "message", T:
|
|
9441
|
-
{ no: 4, name: "defensemen", kind: "message", T:
|
|
9440
|
+
{ no: 3, name: "forwards", kind: "message", T: ha, repeated: !0 },
|
|
9441
|
+
{ no: 4, name: "defensemen", kind: "message", T: ha, repeated: !0 },
|
|
9442
9442
|
{ no: 5, name: "goaltenders", kind: "message", T: Zo, repeated: !0 }
|
|
9443
9443
|
]
|
|
9444
9444
|
), zT = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -9592,7 +9592,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9592
9592
|
{ no: 8, name: "home_team_record", kind: "message", T: ct },
|
|
9593
9593
|
{ no: 9, name: "away_team_record", kind: "message", T: ct }
|
|
9594
9594
|
]
|
|
9595
|
-
),
|
|
9595
|
+
), ws = /* @__PURE__ */ i.makeMessageType(
|
|
9596
9596
|
"streamlayer.sports.soccer.SoccerPerformer",
|
|
9597
9597
|
() => [
|
|
9598
9598
|
{
|
|
@@ -9620,19 +9620,19 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
9620
9620
|
), sy = /* @__PURE__ */ i.makeMessageType(
|
|
9621
9621
|
"streamlayer.sports.soccer.SoccerAttackPerfomer",
|
|
9622
9622
|
() => [
|
|
9623
|
-
{ no: 1, name: "perfomer", kind: "message", T:
|
|
9623
|
+
{ no: 1, name: "perfomer", kind: "message", T: ws },
|
|
9624
9624
|
{ no: 2, name: "attack_stats", kind: "message", T: py }
|
|
9625
9625
|
]
|
|
9626
9626
|
), oy = /* @__PURE__ */ i.makeMessageType(
|
|
9627
9627
|
"streamlayer.sports.soccer.SoccerMidfieldPerformer",
|
|
9628
9628
|
() => [
|
|
9629
|
-
{ no: 1, name: "perfomer", kind: "message", T:
|
|
9629
|
+
{ no: 1, name: "perfomer", kind: "message", T: ws },
|
|
9630
9630
|
{ no: 2, name: "midfield_stats", kind: "message", T: Ty }
|
|
9631
9631
|
]
|
|
9632
9632
|
), ry = /* @__PURE__ */ i.makeMessageType(
|
|
9633
9633
|
"streamlayer.sports.soccer.SoccerDefensePerfomer",
|
|
9634
9634
|
() => [
|
|
9635
|
-
{ no: 1, name: "perfomer", kind: "message", T:
|
|
9635
|
+
{ no: 1, name: "perfomer", kind: "message", T: ws },
|
|
9636
9636
|
{ no: 2, name: "defense_stats", kind: "message", T: yy }
|
|
9637
9637
|
]
|
|
9638
9638
|
), iy = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10018,7 +10018,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10018
10018
|
"streamlayer.sports.soccer.SoccerPlayByPlayStatistics",
|
|
10019
10019
|
() => [
|
|
10020
10020
|
{ no: 1, name: "team", kind: "message", T: lt },
|
|
10021
|
-
{ no: 2, name: "event_time", kind: "message", T:
|
|
10021
|
+
{ no: 2, name: "event_time", kind: "message", T: ea },
|
|
10022
10022
|
{
|
|
10023
10023
|
no: 3,
|
|
10024
10024
|
name: "score_home",
|
|
@@ -10162,7 +10162,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10162
10162
|
() => [
|
|
10163
10163
|
{ no: 1, name: "standings", kind: "message", T: Sy, repeated: !0 }
|
|
10164
10164
|
]
|
|
10165
|
-
),
|
|
10165
|
+
), _a = /* @__PURE__ */ i.makeMessageType(
|
|
10166
10166
|
"streamlayer.sports.soccer.SoccerLastGame",
|
|
10167
10167
|
() => [
|
|
10168
10168
|
{
|
|
@@ -10224,9 +10224,9 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10224
10224
|
), Wi = /* @__PURE__ */ i.makeMessageType(
|
|
10225
10225
|
"streamlayer.sports.soccer.SoccerLastGames",
|
|
10226
10226
|
() => [
|
|
10227
|
-
{ no: 1, name: "home", kind: "message", T:
|
|
10228
|
-
{ no: 2, name: "away", kind: "message", T:
|
|
10229
|
-
{ no: 3, name: "head_to_head", kind: "message", T:
|
|
10227
|
+
{ no: 1, name: "home", kind: "message", T: _a, repeated: !0 },
|
|
10228
|
+
{ no: 2, name: "away", kind: "message", T: _a, repeated: !0 },
|
|
10229
|
+
{ no: 3, name: "head_to_head", kind: "message", T: _a, repeated: !0 }
|
|
10230
10230
|
]
|
|
10231
10231
|
), Et = /* @__PURE__ */ i.makeEnum(
|
|
10232
10232
|
"streamlayer.sports.events.EventType",
|
|
@@ -10243,7 +10243,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10243
10243
|
() => [
|
|
10244
10244
|
{ no: 1, name: "summary", kind: "message", T: St },
|
|
10245
10245
|
{ no: 2, name: "baseball", kind: "message", T: ET, oneof: "sport" },
|
|
10246
|
-
{ no: 3, name: "basketball", kind: "message", T:
|
|
10246
|
+
{ no: 3, name: "basketball", kind: "message", T: wT, oneof: "sport" },
|
|
10247
10247
|
{ no: 4, name: "hockey", kind: "message", T: QT, oneof: "sport" },
|
|
10248
10248
|
{ no: 5, name: "soccer", kind: "message", T: ay, oneof: "sport" }
|
|
10249
10249
|
]
|
|
@@ -10281,7 +10281,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10281
10281
|
"streamlayer.sports.events.ListRequest",
|
|
10282
10282
|
() => [
|
|
10283
10283
|
{ no: 1, name: "filter", kind: "message", T: Ay },
|
|
10284
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
10284
|
+
{ no: 2, name: "pagination", kind: "message", T: Xn },
|
|
10285
10285
|
{ no: 3, name: "sort", kind: "message", T: Qi },
|
|
10286
10286
|
{ no: 4, name: "ids", kind: "scalar", T: 4, repeated: !0 },
|
|
10287
10287
|
{
|
|
@@ -10340,14 +10340,14 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10340
10340
|
{ no: 7, name: "endless", kind: "enum", T: i.getEnumType(Hi) }
|
|
10341
10341
|
],
|
|
10342
10342
|
{ localName: "ListRequest_Filter" }
|
|
10343
|
-
),
|
|
10343
|
+
), Ry = /* @__PURE__ */ i.makeMessageType(
|
|
10344
10344
|
"streamlayer.sports.events.DemoListRequest",
|
|
10345
10345
|
() => [
|
|
10346
|
-
{ no: 1, name: "filter", kind: "message", T:
|
|
10347
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
10346
|
+
{ no: 1, name: "filter", kind: "message", T: wy },
|
|
10347
|
+
{ no: 2, name: "pagination", kind: "message", T: Xn },
|
|
10348
10348
|
{ no: 3, name: "sort", kind: "message", T: Qi }
|
|
10349
10349
|
]
|
|
10350
|
-
),
|
|
10350
|
+
), wy = /* @__PURE__ */ i.makeMessageType(
|
|
10351
10351
|
"streamlayer.sports.events.DemoListRequest.Filter",
|
|
10352
10352
|
() => [
|
|
10353
10353
|
{
|
|
@@ -10369,13 +10369,13 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10369
10369
|
), Ly = /* @__PURE__ */ i.makeMessageType(
|
|
10370
10370
|
"streamlayer.sports.events.DemoListResponse",
|
|
10371
10371
|
() => [
|
|
10372
|
-
{ no: 1, name: "meta", kind: "message", T:
|
|
10372
|
+
{ no: 1, name: "meta", kind: "message", T: Zn },
|
|
10373
10373
|
{ no: 2, name: "data", kind: "message", T: zi, repeated: !0 }
|
|
10374
10374
|
]
|
|
10375
10375
|
), Py = /* @__PURE__ */ i.makeMessageType(
|
|
10376
10376
|
"streamlayer.sports.events.ListResponse",
|
|
10377
10377
|
() => [
|
|
10378
|
-
{ no: 1, name: "meta", kind: "message", T:
|
|
10378
|
+
{ no: 1, name: "meta", kind: "message", T: Zn },
|
|
10379
10379
|
{ no: 2, name: "data", kind: "message", T: zi, repeated: !0 }
|
|
10380
10380
|
]
|
|
10381
10381
|
), sr = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10484,7 +10484,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10484
10484
|
T: 4
|
|
10485
10485
|
/* ScalarType.UINT64 */
|
|
10486
10486
|
},
|
|
10487
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
10487
|
+
{ no: 2, name: "pagination", kind: "message", T: Xn },
|
|
10488
10488
|
{
|
|
10489
10489
|
no: 3,
|
|
10490
10490
|
name: "order",
|
|
@@ -10497,7 +10497,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10497
10497
|
"streamlayer.sports.events.PlayByPlayResponse",
|
|
10498
10498
|
() => [
|
|
10499
10499
|
{ no: 1, name: "data", kind: "message", T: qy },
|
|
10500
|
-
{ no: 2, name: "meta", kind: "message", T:
|
|
10500
|
+
{ no: 2, name: "meta", kind: "message", T: Zn }
|
|
10501
10501
|
]
|
|
10502
10502
|
), qy = /* @__PURE__ */ i.makeMessageType(
|
|
10503
10503
|
"streamlayer.sports.events.PlayByPlayResponse.ResponseData",
|
|
@@ -10527,7 +10527,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10527
10527
|
"streamlayer.sports.events.ScheduleRequest",
|
|
10528
10528
|
() => [
|
|
10529
10529
|
{ no: 1, name: "filter", kind: "message", T: Qy },
|
|
10530
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
10530
|
+
{ no: 2, name: "pagination", kind: "message", T: Xn }
|
|
10531
10531
|
]
|
|
10532
10532
|
), Qy = /* @__PURE__ */ i.makeMessageType(
|
|
10533
10533
|
"streamlayer.sports.events.ScheduleRequest.Filter",
|
|
@@ -10552,7 +10552,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10552
10552
|
"streamlayer.sports.events.ScheduleResponse",
|
|
10553
10553
|
() => [
|
|
10554
10554
|
{ no: 1, name: "data", kind: "message", T: Ny, repeated: !0 },
|
|
10555
|
-
{ no: 2, name: "meta", kind: "message", T:
|
|
10555
|
+
{ no: 2, name: "meta", kind: "message", T: Zn }
|
|
10556
10556
|
]
|
|
10557
10557
|
), jy = /* @__PURE__ */ i.makeMessageType(
|
|
10558
10558
|
"streamlayer.sports.events.ScheduleDatesRequest",
|
|
@@ -10767,7 +10767,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10767
10767
|
*/
|
|
10768
10768
|
demoList: {
|
|
10769
10769
|
name: "DemoList",
|
|
10770
|
-
I:
|
|
10770
|
+
I: Ry,
|
|
10771
10771
|
O: Ly,
|
|
10772
10772
|
kind: L.Unary
|
|
10773
10773
|
},
|
|
@@ -10958,7 +10958,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10958
10958
|
() => [
|
|
10959
10959
|
{ no: 1, name: "allow", kind: "enum", T: i.getEnumType(Xi) }
|
|
10960
10960
|
]
|
|
10961
|
-
),
|
|
10961
|
+
), Sa = /* @__PURE__ */ i.makeMessageType(
|
|
10962
10962
|
"streamlayer.sdkSettings.client.ClientSettingsNotifications",
|
|
10963
10963
|
() => [
|
|
10964
10964
|
{ no: 1, name: "notify", kind: "message", T: Ig },
|
|
@@ -10975,9 +10975,9 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
10975
10975
|
{ no: 6, name: "friends_sound", kind: "enum", T: i.getEnumType(_g) },
|
|
10976
10976
|
{ no: 7, name: "twitter_notify", kind: "enum", T: i.getEnumType(fg) },
|
|
10977
10977
|
{ no: 8, name: "twitter_sound", kind: "enum", T: i.getEnumType(Sg) },
|
|
10978
|
-
{ no: 9, name: "gamification", kind: "message", T:
|
|
10979
|
-
{ no: 10, name: "watch_party_invitation", kind: "message", T:
|
|
10980
|
-
{ no: 11, name: "twitter_question", kind: "message", T:
|
|
10978
|
+
{ no: 9, name: "gamification", kind: "message", T: Sa },
|
|
10979
|
+
{ no: 10, name: "watch_party_invitation", kind: "message", T: Sa },
|
|
10980
|
+
{ no: 11, name: "twitter_question", kind: "message", T: Sa }
|
|
10981
10981
|
]
|
|
10982
10982
|
), Og = /* @__PURE__ */ i.makeMessageType(
|
|
10983
10983
|
"streamlayer.sdkSettings.client.GetRequest",
|
|
@@ -11007,12 +11007,12 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11007
11007
|
{ no: 3, name: "attributes", kind: "message", T: Ls }
|
|
11008
11008
|
],
|
|
11009
11009
|
{ localName: "GetResponse_GetResponseData" }
|
|
11010
|
-
),
|
|
11010
|
+
), Rg = /* @__PURE__ */ i.makeMessageType(
|
|
11011
11011
|
"streamlayer.sdkSettings.client.UpdateRequest",
|
|
11012
11012
|
() => [
|
|
11013
11013
|
{ no: 2, name: "settings", kind: "message", T: Ls }
|
|
11014
11014
|
]
|
|
11015
|
-
),
|
|
11015
|
+
), wg = /* @__PURE__ */ i.makeMessageType(
|
|
11016
11016
|
"streamlayer.sdkSettings.client.UpdateResponse",
|
|
11017
11017
|
() => [
|
|
11018
11018
|
{ no: 1, name: "data", kind: "message", T: Lg }
|
|
@@ -11070,7 +11070,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11070
11070
|
T: 9
|
|
11071
11071
|
/* ScalarType.STRING */
|
|
11072
11072
|
},
|
|
11073
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
11073
|
+
{ no: 3, name: "attributes", kind: "message", T: Ri }
|
|
11074
11074
|
],
|
|
11075
11075
|
{ localName: "GetStreamResponse_GetResponseData" }
|
|
11076
11076
|
), Cg = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -11098,7 +11098,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11098
11098
|
T: 9
|
|
11099
11099
|
/* ScalarType.STRING */
|
|
11100
11100
|
},
|
|
11101
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
11101
|
+
{ no: 3, name: "attributes", kind: "message", T: wi }
|
|
11102
11102
|
],
|
|
11103
11103
|
{ localName: "GetOrganizationResponse_GetResponseData" }
|
|
11104
11104
|
), Bg = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -11261,7 +11261,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11261
11261
|
T: 9
|
|
11262
11262
|
/* ScalarType.STRING */
|
|
11263
11263
|
},
|
|
11264
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
11264
|
+
{ no: 3, name: "attributes", kind: "message", T: Ri }
|
|
11265
11265
|
],
|
|
11266
11266
|
{ localName: "StreamSubscriptionResponse_ResponseData" }
|
|
11267
11267
|
), Jg = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -11286,7 +11286,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11286
11286
|
T: 9
|
|
11287
11287
|
/* ScalarType.STRING */
|
|
11288
11288
|
},
|
|
11289
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
11289
|
+
{ no: 3, name: "attributes", kind: "message", T: wi }
|
|
11290
11290
|
],
|
|
11291
11291
|
{ localName: "OrganizationSubscriptionResponse_ResponseData" }
|
|
11292
11292
|
), on = {
|
|
@@ -11306,8 +11306,8 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11306
11306
|
*/
|
|
11307
11307
|
update: {
|
|
11308
11308
|
name: "Update",
|
|
11309
|
-
I:
|
|
11310
|
-
O:
|
|
11309
|
+
I: Rg,
|
|
11310
|
+
O: wg,
|
|
11311
11311
|
kind: L.Unary
|
|
11312
11312
|
},
|
|
11313
11313
|
/**
|
|
@@ -11710,7 +11710,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11710
11710
|
), vf = /* @__PURE__ */ i.makeMessageType(
|
|
11711
11711
|
"streamlayer.users.GetFriendsResponse",
|
|
11712
11712
|
() => [
|
|
11713
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
11713
|
+
{ no: 1, name: "data", kind: "message", T: Rf, repeated: !0 },
|
|
11714
11714
|
{ no: 2, name: "metadata", kind: "message", T: Af }
|
|
11715
11715
|
]
|
|
11716
11716
|
), Af = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -11725,7 +11725,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11725
11725
|
}
|
|
11726
11726
|
],
|
|
11727
11727
|
{ localName: "GetFriendsResponse_ResponseMeta" }
|
|
11728
|
-
),
|
|
11728
|
+
), Rf = /* @__PURE__ */ i.makeMessageType(
|
|
11729
11729
|
"streamlayer.users.GetFriendsResponse.FriendData",
|
|
11730
11730
|
() => [
|
|
11731
11731
|
{
|
|
@@ -11890,7 +11890,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
11890
11890
|
questionSubscription: {
|
|
11891
11891
|
name: "QuestionSubscription",
|
|
11892
11892
|
I: Au,
|
|
11893
|
-
O:
|
|
11893
|
+
O: Ru,
|
|
11894
11894
|
kind: L.ServerStreaming
|
|
11895
11895
|
},
|
|
11896
11896
|
/**
|
|
@@ -12018,7 +12018,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12018
12018
|
feedSubscription: {
|
|
12019
12019
|
name: "FeedSubscription",
|
|
12020
12020
|
I: Ad,
|
|
12021
|
-
O:
|
|
12021
|
+
O: Rd,
|
|
12022
12022
|
kind: L.ServerStreaming
|
|
12023
12023
|
},
|
|
12024
12024
|
/**
|
|
@@ -12031,7 +12031,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12031
12031
|
kind: L.Unary
|
|
12032
12032
|
}
|
|
12033
12033
|
}
|
|
12034
|
-
},
|
|
12034
|
+
}, wf = /* @__PURE__ */ i.makeEnum(
|
|
12035
12035
|
"streamlayer.interactive.leaderboard.LeaderboardType",
|
|
12036
12036
|
[
|
|
12037
12037
|
{ no: 0, name: "LEADERBOARD_TYPE_UNSET", localName: "UNSET" },
|
|
@@ -12048,7 +12048,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12048
12048
|
T: 9
|
|
12049
12049
|
/* ScalarType.STRING */
|
|
12050
12050
|
},
|
|
12051
|
-
{ no: 2, name: "type", kind: "enum", T: i.getEnumType(
|
|
12051
|
+
{ no: 2, name: "type", kind: "enum", T: i.getEnumType(wf) },
|
|
12052
12052
|
{
|
|
12053
12053
|
no: 3,
|
|
12054
12054
|
name: "name",
|
|
@@ -12182,7 +12182,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12182
12182
|
), Mf = /* @__PURE__ */ i.makeMessageType(
|
|
12183
12183
|
"streamlayer.interactive.leaderboard.ListRequest",
|
|
12184
12184
|
() => [
|
|
12185
|
-
{ no: 1, name: "pagination", kind: "message", T:
|
|
12185
|
+
{ no: 1, name: "pagination", kind: "message", T: Wn },
|
|
12186
12186
|
{ no: 2, name: "users_ids", kind: "scalar", T: 9, repeated: !0 },
|
|
12187
12187
|
{
|
|
12188
12188
|
no: 3,
|
|
@@ -12362,7 +12362,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12362
12362
|
T: 9
|
|
12363
12363
|
/* ScalarType.STRING */
|
|
12364
12364
|
},
|
|
12365
|
-
{ no: 3, name: "pagination", kind: "message", T:
|
|
12365
|
+
{ no: 3, name: "pagination", kind: "message", T: Wn },
|
|
12366
12366
|
{ no: 4, name: "sort", kind: "message", T: _i }
|
|
12367
12367
|
]
|
|
12368
12368
|
), Qf = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -12566,7 +12566,7 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12566
12566
|
{ no: 1, name: "event_id", kind: "scalar", T: 4, opt: !0 },
|
|
12567
12567
|
{ no: 2, name: "category", kind: "enum", T: i.getEnumType(de), opt: !0 },
|
|
12568
12568
|
{ no: 3, name: "kind", kind: "enum", T: i.getEnumType(ce), opt: !0 },
|
|
12569
|
-
{ no: 4, name: "screen_orientation", kind: "enum", T: i.getEnumType(
|
|
12569
|
+
{ no: 4, name: "screen_orientation", kind: "enum", T: i.getEnumType(Qa), opt: !0 },
|
|
12570
12570
|
{ no: 5, name: "session_id", kind: "scalar", T: 9, opt: !0 },
|
|
12571
12571
|
{ no: 6, name: "overlay_session_id", kind: "scalar", T: 9, opt: !0 },
|
|
12572
12572
|
{ no: 7, name: "topic_id", kind: "scalar", T: 9, opt: !0 },
|
|
@@ -12609,8 +12609,8 @@ const Bo = 1, Go = 2, Vo = 3, ya = 4, qo = (e, t) => {
|
|
|
12609
12609
|
"streamlayer.analytics.v2.streaming.SendInvitationsMessage",
|
|
12610
12610
|
() => [
|
|
12611
12611
|
{ no: 1, name: "common", kind: "message", T: ke },
|
|
12612
|
-
{ no: 2, name: "category", kind: "enum", T: i.getEnumType(
|
|
12613
|
-
{ no: 3, name: "from", kind: "enum", T: i.getEnumType(
|
|
12612
|
+
{ no: 2, name: "category", kind: "enum", T: i.getEnumType(ja) },
|
|
12613
|
+
{ no: 3, name: "from", kind: "enum", T: i.getEnumType($a) }
|
|
12614
12614
|
]
|
|
12615
12615
|
), rk = /* @__PURE__ */ i.makeMessageType(
|
|
12616
12616
|
"streamlayer.analytics.v2.streaming.LaunchButtonMessage",
|
|
@@ -12878,7 +12878,7 @@ var ze;
|
|
|
12878
12878
|
e[e.ONBOARDING = 1] = "ONBOARDING", e[e.QUESTION = 2] = "QUESTION", e[e.QUESTION_RESOLVED = 3] = "QUESTION_RESOLVED";
|
|
12879
12879
|
})(ze || (ze = {}));
|
|
12880
12880
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
12881
|
-
class
|
|
12881
|
+
class ta {
|
|
12882
12882
|
constructor(t, n) {
|
|
12883
12883
|
/**
|
|
12884
12884
|
* store instance (nanostores)
|
|
@@ -12898,7 +12898,7 @@ const Ik = (e) => {
|
|
|
12898
12898
|
const t = Object.keys(e);
|
|
12899
12899
|
return Np(t.map((n) => e[n].getStore()), (...n) => Object.fromEntries(t.map((a, s) => [a, n[s]])));
|
|
12900
12900
|
};
|
|
12901
|
-
class ft extends
|
|
12901
|
+
class ft extends ta {
|
|
12902
12902
|
constructor() {
|
|
12903
12903
|
super(...arguments);
|
|
12904
12904
|
p(this, "getValues", () => this.getStore().get());
|
|
@@ -12908,7 +12908,7 @@ class ft extends ea {
|
|
|
12908
12908
|
p(this, "unsubscribe", () => this.getStore().off());
|
|
12909
12909
|
}
|
|
12910
12910
|
}
|
|
12911
|
-
const be = (e) =>
|
|
12911
|
+
const be = (e) => Ka(e);
|
|
12912
12912
|
var Qe;
|
|
12913
12913
|
(function(e) {
|
|
12914
12914
|
e.ORGANIZATION = "ORGANIZATION", e.STREAM = "STREAM";
|
|
@@ -12974,7 +12974,7 @@ class rc {
|
|
|
12974
12974
|
}
|
|
12975
12975
|
}
|
|
12976
12976
|
}
|
|
12977
|
-
class Oe extends
|
|
12977
|
+
class Oe extends ta {
|
|
12978
12978
|
constructor() {
|
|
12979
12979
|
super(...arguments);
|
|
12980
12980
|
p(this, "getValue", () => this.getStore().get());
|
|
@@ -12993,7 +12993,7 @@ class Oe extends ea {
|
|
|
12993
12993
|
}
|
|
12994
12994
|
}
|
|
12995
12995
|
const le = (e) => it(e);
|
|
12996
|
-
class
|
|
12996
|
+
class Re extends ta {
|
|
12997
12997
|
constructor(n, a, s) {
|
|
12998
12998
|
super(n, `api:${a}`);
|
|
12999
12999
|
p(this, "atomStore");
|
|
@@ -13025,7 +13025,7 @@ class we extends ea {
|
|
|
13025
13025
|
throw new Error("not implemented");
|
|
13026
13026
|
}
|
|
13027
13027
|
}
|
|
13028
|
-
const
|
|
13028
|
+
const te = new Ek();
|
|
13029
13029
|
async function* Ok(e, t) {
|
|
13030
13030
|
for await (const n of t) {
|
|
13031
13031
|
e.response.message = n, e.received_at = Date.now(), e.id = Date.now();
|
|
@@ -13243,7 +13243,7 @@ class Ak {
|
|
|
13243
13243
|
})), this.updateState(Ae.Ready);
|
|
13244
13244
|
}
|
|
13245
13245
|
}
|
|
13246
|
-
const
|
|
13246
|
+
const Rk = /* @__PURE__ */ new Set([
|
|
13247
13247
|
U.Unknown,
|
|
13248
13248
|
U.Internal,
|
|
13249
13249
|
U.DeadlineExceeded,
|
|
@@ -13251,7 +13251,7 @@ const wk = /* @__PURE__ */ new Set([
|
|
|
13251
13251
|
U.FailedPrecondition,
|
|
13252
13252
|
U.Unavailable,
|
|
13253
13253
|
U.DataLoss
|
|
13254
|
-
]), mr = Ve("grpc:retry"),
|
|
13254
|
+
]), mr = Ve("grpc:retry"), wk = (e) => async (t) => {
|
|
13255
13255
|
const n = t.contextValues.get(es.retryAttempts), a = 300, s = t.contextValues.get(es.retryDelay);
|
|
13256
13256
|
if (t.stream || n === 0)
|
|
13257
13257
|
return e(t);
|
|
@@ -13262,7 +13262,7 @@ const wk = /* @__PURE__ */ new Set([
|
|
|
13262
13262
|
} catch (r) {
|
|
13263
13263
|
mr.trace({ attempt: o, error: r, url: t.url }, "retry attempt");
|
|
13264
13264
|
const c = $.from(r);
|
|
13265
|
-
if (o >= n || !(c instanceof $) || !
|
|
13265
|
+
if (o >= n || !(c instanceof $) || !Rk.has(c.code))
|
|
13266
13266
|
throw r;
|
|
13267
13267
|
const l = Math.min(s, Math.pow(2, o) * a), m = Math.round(l * (1 + Math.random()) / 2);
|
|
13268
13268
|
await new Promise((u) => setTimeout(u, m));
|
|
@@ -13274,7 +13274,7 @@ const wk = /* @__PURE__ */ new Set([
|
|
|
13274
13274
|
const e = localStorage.getItem("sl-device-id");
|
|
13275
13275
|
if (e)
|
|
13276
13276
|
return e;
|
|
13277
|
-
const t =
|
|
13277
|
+
const t = Bn();
|
|
13278
13278
|
return localStorage.setItem("sl-device-id", t), t;
|
|
13279
13279
|
}, Pk = () => {
|
|
13280
13280
|
var e;
|
|
@@ -13381,7 +13381,7 @@ class ur {
|
|
|
13381
13381
|
s.header.set(r, o[r]);
|
|
13382
13382
|
return a(s);
|
|
13383
13383
|
};
|
|
13384
|
-
this.interceptors.push(t), this.interceptors.push(vk()), (n = this.opts) != null && n.retryable && this.interceptors.push(
|
|
13384
|
+
this.interceptors.push(t), this.interceptors.push(vk()), (n = this.opts) != null && n.retryable && this.interceptors.push(wk);
|
|
13385
13385
|
});
|
|
13386
13386
|
this.host = t, this.opts = n, this.$headers = new ft(be({
|
|
13387
13387
|
"sl-device-id": Lk(),
|
|
@@ -13501,7 +13501,7 @@ var xe;
|
|
|
13501
13501
|
(function(e) {
|
|
13502
13502
|
e.SCHEMA = "schema", e.EXTERNAL_TOKEN = "eToken", e.TOKEN = "token";
|
|
13503
13503
|
})(xe || (xe = {}));
|
|
13504
|
-
class
|
|
13504
|
+
class Rt extends Qt {
|
|
13505
13505
|
constructor() {
|
|
13506
13506
|
super("user");
|
|
13507
13507
|
// Schema
|
|
@@ -13529,11 +13529,11 @@ var Ye;
|
|
|
13529
13529
|
e.DISABLED = "disabled", e.INITIALIZATION = "initialization", e.READY = "ready", e.FAILED = "failed", e.SUSPENDED = "suspended";
|
|
13530
13530
|
})(Ye || (Ye = {}));
|
|
13531
13531
|
const xk = (e) => {
|
|
13532
|
-
const t = new
|
|
13532
|
+
const t = new Rt(), n = new Oe(le(t.getExternalToken()), "userKey"), a = new Oe(le(t.getToken()), "userToken"), s = new Re(Uk(a.getStore(), e), "user", ({ data: r, error: c, loading: l }, m) => {
|
|
13533
13533
|
var u;
|
|
13534
13534
|
if (!c)
|
|
13535
13535
|
return (u = r == null ? void 0 : r.data) != null && u.id ? r.data.id : l === !1 ? void 0 : m;
|
|
13536
|
-
}), o = new
|
|
13536
|
+
}), o = new Re(Bk(a.getStore(), e), "userSettings");
|
|
13537
13537
|
return {
|
|
13538
13538
|
userKey: n,
|
|
13539
13539
|
userToken: a,
|
|
@@ -13541,7 +13541,7 @@ const xk = (e) => {
|
|
|
13541
13541
|
userSettings: o
|
|
13542
13542
|
};
|
|
13543
13543
|
}, Hk = (e) => {
|
|
13544
|
-
const t = new Oe(le(void 0), "providerStreamId"), n = new
|
|
13544
|
+
const t = new Oe(le(void 0), "providerStreamId"), n = new Re(Mk(t.getStore(), e), "slStreamId", (o) => o == null ? void 0 : o.data), a = new Re(Dk(n.getAtomStore(), e), "streamSettings"), s = new Re(Ck(n.getAtomStore(), e), "streamSettings");
|
|
13545
13545
|
return n.getAtomStore().listen((o) => {
|
|
13546
13546
|
(o === "" || o === void 0) && (a.getStore().mutate(void 0), s.getStore().mutate(void 0));
|
|
13547
13547
|
}), {
|
|
@@ -13551,10 +13551,10 @@ const xk = (e) => {
|
|
|
13551
13551
|
streamSummary: s
|
|
13552
13552
|
};
|
|
13553
13553
|
}, Qk = (e) => {
|
|
13554
|
-
const t = new Oe(le(void 0), "enabled"), n = new Oe(le(Ye.DISABLED), "status"), a = new
|
|
13554
|
+
const t = new Oe(le(void 0), "enabled"), n = new Oe(le(Ye.DISABLED), "status"), a = new Re(Gk(t.getStore(), e), "organizationSettings", (c) => {
|
|
13555
13555
|
var l;
|
|
13556
13556
|
return (l = c == null ? void 0 : c.data) == null ? void 0 : l.id;
|
|
13557
|
-
}), s = new
|
|
13557
|
+
}), s = new Re(Vk(a.getAtomStore(), e), "organizationAdvertising"), o = xk(e), r = Hk(e);
|
|
13558
13558
|
return {
|
|
13559
13559
|
enabled: t,
|
|
13560
13560
|
status: n,
|
|
@@ -13570,7 +13570,7 @@ const xk = (e) => {
|
|
|
13570
13570
|
organizationAdvertising: s
|
|
13571
13571
|
};
|
|
13572
13572
|
};
|
|
13573
|
-
class Yk extends
|
|
13573
|
+
class Yk extends ta {
|
|
13574
13574
|
constructor(n) {
|
|
13575
13575
|
const a = Qk(n), s = Ik(a);
|
|
13576
13576
|
super(s, "core");
|
|
@@ -13696,19 +13696,37 @@ const jk = (e, t, n) => {
|
|
|
13696
13696
|
return;
|
|
13697
13697
|
const { options: s, notification: o, ...r } = a.data.attributes, c = (s == null ? void 0 : s.options.case) === "promotion" ? s == null ? void 0 : s.options.value : void 0;
|
|
13698
13698
|
return { id: r.id, question: r, promotion: c, notification: o };
|
|
13699
|
-
}, eh = (e, t, n, a) => {
|
|
13700
|
-
const { client:
|
|
13699
|
+
}, eh = (e, t, n, a, s, o, r) => {
|
|
13700
|
+
const { client: c, queryKey: l } = r.createPromiseClient(Ie, {
|
|
13701
13701
|
method: "list",
|
|
13702
|
-
params: [e, t,
|
|
13702
|
+
params: [e, t, o ? "true" : ""]
|
|
13703
13703
|
});
|
|
13704
|
-
return
|
|
13705
|
-
fetcher: async (
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13704
|
+
return r.nanoquery.createFetcherStore(l, {
|
|
13705
|
+
fetcher: async (m, u, d, y, T) => {
|
|
13706
|
+
var _;
|
|
13707
|
+
if (!d || T)
|
|
13708
|
+
return [];
|
|
13709
|
+
const g = await c.list({
|
|
13710
|
+
eventId: d,
|
|
13711
|
+
filter: {
|
|
13712
|
+
types: y === st.ALLOWED ? [] : [M.FACTOID, M.PROMOTION, M.TWEET],
|
|
13713
|
+
statuses: [Z.ACTIVE, Z.RESOLVED]
|
|
13714
|
+
}
|
|
13715
|
+
}), f = {
|
|
13716
|
+
eventId: d,
|
|
13717
|
+
userId: n.get(),
|
|
13718
|
+
organizationId: a.get()
|
|
13719
|
+
};
|
|
13720
|
+
for (const h of g.data)
|
|
13721
|
+
s.isQuestionReceived(f, h.id) || (te.emit("poll", {
|
|
13722
|
+
action: "received",
|
|
13723
|
+
payload: {
|
|
13724
|
+
questionId: h.id,
|
|
13725
|
+
questionType: (_ = h.attributes) == null ? void 0 : _.type
|
|
13726
|
+
}
|
|
13727
|
+
}), s.saveQuestionReceived(f, h.id));
|
|
13728
|
+
return g.data;
|
|
13729
|
+
},
|
|
13712
13730
|
dedupeTime: 0,
|
|
13713
13731
|
refetchInterval: 0
|
|
13714
13732
|
});
|
|
@@ -13777,13 +13795,13 @@ const jk = (e, t, n) => {
|
|
|
13777
13795
|
userId: u,
|
|
13778
13796
|
organizationId: d
|
|
13779
13797
|
};
|
|
13780
|
-
return a.
|
|
13798
|
+
return a.isQuestionReceived(h, _.id) || (te.emit("poll", {
|
|
13781
13799
|
action: "received",
|
|
13782
13800
|
payload: {
|
|
13783
13801
|
questionId: _.id,
|
|
13784
13802
|
questionType: _.type
|
|
13785
13803
|
}
|
|
13786
|
-
}), a.
|
|
13804
|
+
}), a.saveQuestionReceived(h, _.id)), { ...g, [_.id]: _ };
|
|
13787
13805
|
}, {})
|
|
13788
13806
|
};
|
|
13789
13807
|
},
|
|
@@ -13823,17 +13841,17 @@ const jk = (e, t, n) => {
|
|
|
13823
13841
|
});
|
|
13824
13842
|
} };
|
|
13825
13843
|
};
|
|
13826
|
-
var
|
|
13844
|
+
var Gn;
|
|
13827
13845
|
(function(e) {
|
|
13828
13846
|
e.SHOWED = "showed";
|
|
13829
|
-
})(
|
|
13847
|
+
})(Gn || (Gn = {}));
|
|
13830
13848
|
class sh extends Qt {
|
|
13831
13849
|
constructor() {
|
|
13832
13850
|
super("advertisement");
|
|
13833
13851
|
p(this, "setShowed", (n) => {
|
|
13834
|
-
this.write(
|
|
13852
|
+
this.write(Gn.SHOWED, n, "true");
|
|
13835
13853
|
});
|
|
13836
|
-
p(this, "isViewed", (n) => this.read(
|
|
13854
|
+
p(this, "isViewed", (n) => this.read(Gn.SHOWED, n));
|
|
13837
13855
|
}
|
|
13838
13856
|
}
|
|
13839
13857
|
const oh = (e) => {
|
|
@@ -13869,9 +13887,9 @@ const oh = (e) => {
|
|
|
13869
13887
|
}, ih = (e, t, n) => {
|
|
13870
13888
|
let a = !1;
|
|
13871
13889
|
const s = n.transport, o = Ve("advertisement"), r = new sh(), c = be({}), l = th(e, s), m = (g) => {
|
|
13872
|
-
var O,
|
|
13873
|
-
const f = c.get(), _ = (O = f.data) == null ? void 0 : O.question.id, h = (
|
|
13874
|
-
_ && (
|
|
13890
|
+
var O, R, w;
|
|
13891
|
+
const f = c.get(), _ = (O = f.data) == null ? void 0 : O.question.id, h = (w = (R = f.data) == null ? void 0 : R.promotion) == null ? void 0 : w.type;
|
|
13892
|
+
_ && (te.emit("advertisement", {
|
|
13875
13893
|
action: "opened",
|
|
13876
13894
|
payload: {
|
|
13877
13895
|
id: _,
|
|
@@ -13879,7 +13897,7 @@ const oh = (e) => {
|
|
|
13879
13897
|
hasBanner: Nt(f.data),
|
|
13880
13898
|
openedFrom: g != null && g.fromNotification ? "notification" : "auto"
|
|
13881
13899
|
}
|
|
13882
|
-
}), g != null && g.fromNotification && (c.setKey("hasNotification", !1),
|
|
13900
|
+
}), g != null && g.fromNotification && (c.setKey("hasNotification", !1), te.emit("advertisement", {
|
|
13883
13901
|
action: "notification-opened",
|
|
13884
13902
|
payload: {
|
|
13885
13903
|
id: _,
|
|
@@ -13888,9 +13906,9 @@ const oh = (e) => {
|
|
|
13888
13906
|
}
|
|
13889
13907
|
})));
|
|
13890
13908
|
}, u = () => {
|
|
13891
|
-
var O,
|
|
13892
|
-
const g = c.get(), f = (O = g.data) == null ? void 0 : O.question.id, _ = (
|
|
13893
|
-
f && !h && (o.debug({ id: f }, "markAsViewed: %o"), r.setShowed(f), c.setKey("isOpened", !0),
|
|
13909
|
+
var O, R, w, v;
|
|
13910
|
+
const g = c.get(), f = (O = g.data) == null ? void 0 : O.question.id, _ = (w = (R = g.data) == null ? void 0 : R.promotion) == null ? void 0 : w.type, h = (v = c.get()) == null ? void 0 : v.isOpened;
|
|
13911
|
+
f && !h && (o.debug({ id: f }, "markAsViewed: %o"), r.setShowed(f), c.setKey("isOpened", !0), te.emit("advertisement", {
|
|
13894
13912
|
action: "viewed",
|
|
13895
13913
|
payload: {
|
|
13896
13914
|
id: f,
|
|
@@ -13904,7 +13922,7 @@ const oh = (e) => {
|
|
|
13904
13922
|
loading: !1,
|
|
13905
13923
|
error: void 0,
|
|
13906
13924
|
data: f,
|
|
13907
|
-
hasNotification: ((_ = f == null ? void 0 : f.notification) == null ? void 0 : _.enabled) ===
|
|
13925
|
+
hasNotification: ((_ = f == null ? void 0 : f.notification) == null ? void 0 : _.enabled) === Ya.NOTIFICATION_ENABLED,
|
|
13908
13926
|
close: () => y(f.question.id),
|
|
13909
13927
|
togglePause: (h) => T(f.question.id, h),
|
|
13910
13928
|
isViewed: !!r.isViewed(f.question.id)
|
|
@@ -13914,9 +13932,9 @@ const oh = (e) => {
|
|
|
13914
13932
|
loading: !1,
|
|
13915
13933
|
error: void 0,
|
|
13916
13934
|
data: h,
|
|
13917
|
-
hasNotification: ((O = h == null ? void 0 : h.notification) == null ? void 0 : O.enabled) ===
|
|
13935
|
+
hasNotification: ((O = h == null ? void 0 : h.notification) == null ? void 0 : O.enabled) === Ya.NOTIFICATION_ENABLED,
|
|
13918
13936
|
close: () => y(h == null ? void 0 : h.question.id),
|
|
13919
|
-
togglePause: (
|
|
13937
|
+
togglePause: (R) => T(h == null ? void 0 : h.question.id, R),
|
|
13920
13938
|
isViewed: h && !!r.isViewed(h.question.id)
|
|
13921
13939
|
});
|
|
13922
13940
|
}).catch((h) => c.set({
|
|
@@ -13926,13 +13944,13 @@ const oh = (e) => {
|
|
|
13926
13944
|
})));
|
|
13927
13945
|
};
|
|
13928
13946
|
c.subscribe((g, f) => {
|
|
13929
|
-
var _, h, O,
|
|
13947
|
+
var _, h, O, R, w, v, P, I, B, A;
|
|
13930
13948
|
if (!(((_ = g.data) == null ? void 0 : _.id) === ((h = f == null ? void 0 : f.data) == null ? void 0 : h.id) && g.isPaused !== (f == null ? void 0 : f.isPaused))) {
|
|
13931
|
-
if (((
|
|
13949
|
+
if (((R = (O = g.data) == null ? void 0 : O.promotion) == null ? void 0 : R.type) === ie.EXTERNAL_AD && !(g != null && g.externalAd) && ((w = g.data.promotion.adCampaigns) != null && w.gamOptions) && ((v = g.data.promotion.adCampaigns) != null && v.gamBaseUrl)) {
|
|
13932
13950
|
const H = rh(g.data.promotion.adCampaigns);
|
|
13933
13951
|
c.setKey("externalAd", { type: "gam", url: H });
|
|
13934
13952
|
}
|
|
13935
|
-
(P = g.data) != null && P.promotion && !g.isOpened && (
|
|
13953
|
+
(P = g.data) != null && P.promotion && !g.isOpened && (te.emit("advertisement", {
|
|
13936
13954
|
action: "received",
|
|
13937
13955
|
payload: {
|
|
13938
13956
|
id: g.data.question.id,
|
|
@@ -13942,7 +13960,7 @@ const oh = (e) => {
|
|
|
13942
13960
|
isViewed: !!r.isViewed(g.data.question.id)
|
|
13943
13961
|
},
|
|
13944
13962
|
skipAnalytics: g.data.question.id === ((I = f == null ? void 0 : f.data) == null ? void 0 : I.question.id)
|
|
13945
|
-
}), g.data.question.id !== ((B = f == null ? void 0 : f.data) == null ? void 0 : B.question.id) && !r.isViewed(g.data.question.id) &&
|
|
13963
|
+
}), g.data.question.id !== ((B = f == null ? void 0 : f.data) == null ? void 0 : B.question.id) && !r.isViewed(g.data.question.id) && te.emit("advertisement", {
|
|
13946
13964
|
action: "notification-received",
|
|
13947
13965
|
payload: {
|
|
13948
13966
|
id: g.data.question.id,
|
|
@@ -13951,7 +13969,7 @@ const oh = (e) => {
|
|
|
13951
13969
|
hasBanner: Nt(g.data),
|
|
13952
13970
|
isViewed: !1
|
|
13953
13971
|
}
|
|
13954
|
-
})), !(g != null && g.data) && (f != null && f.data) &&
|
|
13972
|
+
})), !(g != null && g.data) && (f != null && f.data) && te.emit("advertisement", {
|
|
13955
13973
|
action: "closed",
|
|
13956
13974
|
payload: {
|
|
13957
13975
|
id: f.data.question.id,
|
|
@@ -13991,7 +14009,7 @@ const oh = (e) => {
|
|
|
13991
14009
|
};
|
|
13992
14010
|
var Le;
|
|
13993
14011
|
(function(e) {
|
|
13994
|
-
e.ONBOARDING = "onboarding", e.ONBOARDING_IO = "onboarding_io", e.
|
|
14012
|
+
e.ONBOARDING = "onboarding", e.ONBOARDING_IO = "onboarding_io", e.QUESTION_RECEIVED = "q-received", e.QUESTION_OPENED = "q-opened";
|
|
13995
14013
|
})(Le || (Le = {}));
|
|
13996
14014
|
class ch extends Qt {
|
|
13997
14015
|
constructor() {
|
|
@@ -14006,10 +14024,10 @@ class lh extends Qt {
|
|
|
14006
14024
|
constructor() {
|
|
14007
14025
|
super("gamification");
|
|
14008
14026
|
p(this, "sessionStorage");
|
|
14009
|
-
p(this, "
|
|
14010
|
-
this.write(Le.
|
|
14027
|
+
p(this, "saveQuestionReceived", ({ userId: n, eventId: a, organizationId: s }, o) => {
|
|
14028
|
+
this.write(Le.QUESTION_RECEIVED, s, n, a, o, "1");
|
|
14011
14029
|
});
|
|
14012
|
-
p(this, "
|
|
14030
|
+
p(this, "isQuestionReceived", ({ userId: n, eventId: a, organizationId: s }, o) => !!this.read(Le.QUESTION_RECEIVED, s, n, a, o));
|
|
14013
14031
|
p(this, "saveQuestionOpened", ({ userId: n, eventId: a, organizationId: s }, o) => {
|
|
14014
14032
|
this.write(Le.QUESTION_OPENED, s, n, a, o, "1");
|
|
14015
14033
|
});
|
|
@@ -14092,9 +14110,9 @@ class mh {
|
|
|
14092
14110
|
p(this, "closeQuestion", (t) => {
|
|
14093
14111
|
this.openedQuestionId.set(void 0), t && this.notifications.markAsViewed(this.getCurrentSessionId({ prefix: "notification", entity: t }));
|
|
14094
14112
|
});
|
|
14095
|
-
this.transport = t.transport, this.log = Ve("gamification-background"), this.storage = new lh(), this.slStreamId = t.stores.slStreamId.getAtomStore(), this.organizationId = t.stores.organizationSettings.getAtomStore(), this.userId = t.stores.user.getAtomStore(), this.moderationId = new Oe(le(void 0), "moderationId").getStore(), this.interactiveAllowed = new Oe(le(st.DISALLOWED), "interactiveAllowed").getStore(), this.openedQuestionId = new Oe(le(void 0), "openedQuestionId").getStore(), this.notifications = t.notifications, this.moderation = new
|
|
14113
|
+
this.transport = t.transport, this.log = Ve("gamification-background"), this.storage = new lh(), this.slStreamId = t.stores.slStreamId.getAtomStore(), this.organizationId = t.stores.organizationSettings.getAtomStore(), this.userId = t.stores.user.getAtomStore(), this.moderationId = new Oe(le(void 0), "moderationId").getStore(), this.interactiveAllowed = new Oe(le(st.DISALLOWED), "interactiveAllowed").getStore(), this.openedQuestionId = new Oe(le(void 0), "openedQuestionId").getStore(), this.notifications = t.notifications, this.moderation = new Re(Wk(this.slStreamId, t.transport), "gamification:moderation");
|
|
14096
14114
|
const n = !!t.sdk.options.get().betPack;
|
|
14097
|
-
this.feedList = new
|
|
14115
|
+
this.feedList = new Re(eh(this.slStreamId, this.interactiveAllowed, this.userId, this.organizationId, this.storage, n, t.transport), "gamification:feedList"), this.betPack = new Re(nh(this.slStreamId, this.userId, this.organizationId, this.storage, t.transport), "gamification:betPack"), this.activeQuestionId = zk(this.slStreamId, n, t.transport), this.openedQuestion = ah(t.transport, this.openedQuestionId, this.feedList.getStore()), this.cancels.add(this.openedQuestionId.listen((a) => {
|
|
14098
14116
|
this.log.debug({ item: a }, "received question"), a != null && a.questionId ? (this.questionSubscription = Zk(a.questionId, t.transport), this.questionSubscription.addListener("feed-subscription-opened-question", async (s) => {
|
|
14099
14117
|
var r, c, l;
|
|
14100
14118
|
const o = (c = (r = s.data) == null ? void 0 : r.attributes) == null ? void 0 : c.question;
|
|
@@ -14240,7 +14258,7 @@ class uh {
|
|
|
14240
14258
|
this.logger.debug({ notificationId: t }, "active queue tick skipped, notification not exist");
|
|
14241
14259
|
return;
|
|
14242
14260
|
}
|
|
14243
|
-
|
|
14261
|
+
te.emit("notification", {
|
|
14244
14262
|
action: "received",
|
|
14245
14263
|
payload: {
|
|
14246
14264
|
type: n.type,
|
|
@@ -14266,7 +14284,7 @@ class uh {
|
|
|
14266
14284
|
const r = new Map(this.notificationsList.get());
|
|
14267
14285
|
r.delete(t), this.notificationsList.set(r);
|
|
14268
14286
|
const c = this.timeouts.get(t);
|
|
14269
|
-
c !== void 0 && (clearTimeout(c), this.timeouts.delete(t)), this.logger.debug({ notificationId: t }, "notification hidden"), s.hiding &&
|
|
14287
|
+
c !== void 0 && (clearTimeout(c), this.timeouts.delete(t)), this.logger.debug({ notificationId: t }, "notification hidden"), s.hiding && te.emit("notification", {
|
|
14270
14288
|
action: "closed",
|
|
14271
14289
|
payload: {
|
|
14272
14290
|
type: s.type,
|
|
@@ -14285,17 +14303,17 @@ class uh {
|
|
|
14285
14303
|
this.options = t, this.logger = Ve("notifications"), this.store = /* @__PURE__ */ new Map(), this.timeouts = /* @__PURE__ */ new Map(), this.waitingQueue = /* @__PURE__ */ new Set(), this.activeQueue = /* @__PURE__ */ new Set(), this.notificationsList = le(/* @__PURE__ */ new Map());
|
|
14286
14304
|
}
|
|
14287
14305
|
}
|
|
14288
|
-
var
|
|
14306
|
+
var Vn;
|
|
14289
14307
|
(function(e) {
|
|
14290
14308
|
e.OPENED = "opened";
|
|
14291
|
-
})(
|
|
14309
|
+
})(Vn || (Vn = {}));
|
|
14292
14310
|
class dh extends Qt {
|
|
14293
14311
|
constructor() {
|
|
14294
14312
|
super("notification");
|
|
14295
14313
|
p(this, "setOpened", (n) => {
|
|
14296
|
-
this.write(
|
|
14314
|
+
this.write(Vn.OPENED, n, "true");
|
|
14297
14315
|
});
|
|
14298
|
-
p(this, "isOpened", (n) => this.read(
|
|
14316
|
+
p(this, "isOpened", (n) => this.read(Vn.OPENED, n));
|
|
14299
14317
|
p(this, "clearNotification", () => {
|
|
14300
14318
|
this.clear();
|
|
14301
14319
|
});
|
|
@@ -14311,7 +14329,7 @@ class ph {
|
|
|
14311
14329
|
if (t.data && t.emitEvent) {
|
|
14312
14330
|
const n = t.action;
|
|
14313
14331
|
t.action = (...a) => {
|
|
14314
|
-
n && n(...a),
|
|
14332
|
+
n && n(...a), te.emit("notification", {
|
|
14315
14333
|
action: "opened",
|
|
14316
14334
|
payload: {
|
|
14317
14335
|
questionId: t.data.questionId,
|
|
@@ -14398,7 +14416,7 @@ const dr = async (e, t) => {
|
|
|
14398
14416
|
const T = r.get(), g = y || T.page + 1;
|
|
14399
14417
|
g <= o && r.set({ ...T, page: g });
|
|
14400
14418
|
};
|
|
14401
|
-
return
|
|
14419
|
+
return Jn(c, () => {
|
|
14402
14420
|
const y = t.listen(m), T = a == null ? void 0 : a.listen(m);
|
|
14403
14421
|
return () => {
|
|
14404
14422
|
y(), T == null || T();
|
|
@@ -14413,7 +14431,7 @@ class fh extends Qt {
|
|
|
14413
14431
|
p(this, "del", this.remove);
|
|
14414
14432
|
}
|
|
14415
14433
|
}
|
|
14416
|
-
const pr = "sldl",
|
|
14434
|
+
const pr = "sldl", na = "sldl_uid", uc = "sldl_eid", dc = "sldl_e_eid", kh = /* @__PURE__ */ new Set([na, uc, dc]), Tr = (e) => {
|
|
14417
14435
|
const t = {}, n = {};
|
|
14418
14436
|
for (const [a, s] of e)
|
|
14419
14437
|
kh.has(a) ? t[a] = s : n[a] = s;
|
|
@@ -14479,7 +14497,7 @@ const pr = "sldl", ta = "sldl_uid", uc = "sldl_eid", dc = "sldl_e_eid", kh = /*
|
|
|
14479
14497
|
onDeepLinkHandlers: /* @__PURE__ */ new Set()
|
|
14480
14498
|
}, e.sdk.getInviter = () => {
|
|
14481
14499
|
const { data: c, used: l } = e.deepLink.getDeepLinkData();
|
|
14482
|
-
return l ? c == null ? void 0 : c[
|
|
14500
|
+
return l ? c == null ? void 0 : c[na] : void 0;
|
|
14483
14501
|
}, e.sdk.inviteDisplayed = () => {
|
|
14484
14502
|
e.deepLink.$store.getStore().set({}), e.deepLink.$store.getStore().off(), a.del("sl-deep-link-store");
|
|
14485
14503
|
}, e.deepLink.$store.subscribe((c) => a.set("sl-deep-link-store", JSON.stringify(c))), e.sdk.addDeepLinkHandler = (c) => {
|
|
@@ -14518,7 +14536,7 @@ class bh extends bk {
|
|
|
14518
14536
|
p(this, "login", async (n, a) => {
|
|
14519
14537
|
var u, d, y;
|
|
14520
14538
|
this.$coreStore.getValues().userKey.setValue(a);
|
|
14521
|
-
const { used: s, data: o } = this.deepLink.getDeepLinkData(), r = s ? "" : o == null ? void 0 : o[
|
|
14539
|
+
const { used: s, data: o } = this.deepLink.getDeepLinkData(), r = s ? "" : o == null ? void 0 : o[na];
|
|
14522
14540
|
Eh.debug({ inviterKey: r }, "login with inviterKey");
|
|
14523
14541
|
const c = await this.bypassLogin({
|
|
14524
14542
|
schema: n,
|
|
@@ -14535,14 +14553,14 @@ class bh extends bk {
|
|
|
14535
14553
|
* Logout user. Clears the all user data from the store.
|
|
14536
14554
|
*/
|
|
14537
14555
|
p(this, "logout", () => {
|
|
14538
|
-
this.$coreStore.getValues().user.setValue(), this.$coreStore.getValues().userKey.setValue(), this.$coreStore.getValues().userToken.setValue(), this.transport.setAuth("", ""), new
|
|
14556
|
+
this.$coreStore.getValues().user.setValue(), this.$coreStore.getValues().userKey.setValue(), this.$coreStore.getValues().userToken.setValue(), this.transport.setAuth("", ""), new Rt().clear();
|
|
14539
14557
|
});
|
|
14540
14558
|
/**
|
|
14541
14559
|
* Soft logout, only clears the StreamLayer user data from the store.
|
|
14542
14560
|
* Does not clear the external token. And automatically tries to re-login by external token.
|
|
14543
14561
|
*/
|
|
14544
14562
|
p(this, "softLogout", () => {
|
|
14545
|
-
const n = new
|
|
14563
|
+
const n = new Rt();
|
|
14546
14564
|
this.transport.setAuth("", ""), n.setToken(""), this.reLogin();
|
|
14547
14565
|
});
|
|
14548
14566
|
/**
|
|
@@ -14553,7 +14571,7 @@ class bh extends bk {
|
|
|
14553
14571
|
* - If no one of the above is true, then logout.
|
|
14554
14572
|
*/
|
|
14555
14573
|
p(this, "reLogin", ({ skipLogin: n } = { skipLogin: !1 }) => {
|
|
14556
|
-
const a = new
|
|
14574
|
+
const a = new Rt(), s = a.getToken(), o = a.getExternalToken();
|
|
14557
14575
|
if (this.$coreStore.getValues().userKey.setValue(o), s)
|
|
14558
14576
|
return this.saveUser(s, ""), this.me().then((r) => {
|
|
14559
14577
|
if (r != null && r.id) {
|
|
@@ -14573,7 +14591,7 @@ class bh extends bk {
|
|
|
14573
14591
|
* Write token to the Transport and UserStore
|
|
14574
14592
|
*/
|
|
14575
14593
|
p(this, "saveUser", (n, a) => {
|
|
14576
|
-
this.transport.setAuth(n, a), this.$coreStore.getValues().userToken.setValue(n), new
|
|
14594
|
+
this.transport.setAuth(n, a), this.$coreStore.getValues().userToken.setValue(n), new Rt().setToken(n);
|
|
14577
14595
|
});
|
|
14578
14596
|
/**
|
|
14579
14597
|
* Add interceptor to the Transport to handle 401 and 403 errors.
|
|
@@ -14591,7 +14609,7 @@ class bh extends bk {
|
|
|
14591
14609
|
this.$coreStore = n, this.deepLink = s, this.transport = a, this.bypassLogin = Fk(this.transport), this.connect();
|
|
14592
14610
|
}
|
|
14593
14611
|
}
|
|
14594
|
-
const Kt = new
|
|
14612
|
+
const Kt = new Rt(), Ih = (e, t, n) => {
|
|
14595
14613
|
e.auth = new bh(e.store, e.transport, e.deepLink), e.stores.status.listen((a) => {
|
|
14596
14614
|
a === Ye.READY && e.auth.reLogin();
|
|
14597
14615
|
}), e.sdk.userId = e.stores.user.getAtomStore, e.sdk.authorizationBypass = async (a, s) => {
|
|
@@ -14763,7 +14781,7 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14763
14781
|
break;
|
|
14764
14782
|
}
|
|
14765
14783
|
}
|
|
14766
|
-
}, o =
|
|
14784
|
+
}, o = te.listen(s), r = e.activeFeature.subscribe((c) => {
|
|
14767
14785
|
c ? (e.ui.enableApp(), e.sdk.uiState.set({ app: !0 })) : e.ui.disableApp();
|
|
14768
14786
|
});
|
|
14769
14787
|
return () => {
|
|
@@ -14798,7 +14816,7 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14798
14816
|
}, e.sdk.createEventSession = (r, c) => {
|
|
14799
14817
|
c ? e.stores.slStreamId.getStore().set({ loading: !1, data: r }) : e.stores.providerStreamId.setValue(r);
|
|
14800
14818
|
}, n();
|
|
14801
|
-
},
|
|
14819
|
+
}, Rh = (e, t) => {
|
|
14802
14820
|
const { client: n, queryKey: a } = e.createPromiseClient(on, {
|
|
14803
14821
|
method: "generateDeepLink",
|
|
14804
14822
|
params: t
|
|
@@ -14820,7 +14838,7 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14820
14838
|
// 24 hours
|
|
14821
14839
|
refetchInterval: 0
|
|
14822
14840
|
});
|
|
14823
|
-
},
|
|
14841
|
+
}, wh = (e, { web: t, mobile: n }) => {
|
|
14824
14842
|
const { client: a } = e.createPromiseClient(zf, { method: "generate" });
|
|
14825
14843
|
return a.generate({ web: t, mobile: n });
|
|
14826
14844
|
}, fr = (e, t) => {
|
|
@@ -14830,10 +14848,10 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14830
14848
|
return n.toString();
|
|
14831
14849
|
}, Lh = (e, t, n, a) => {
|
|
14832
14850
|
const s = be({});
|
|
14833
|
-
return
|
|
14851
|
+
return Jn(s, () => Rh(e, [t, n]).subscribe(async ({ data: o, loading: r }) => {
|
|
14834
14852
|
var y;
|
|
14835
14853
|
const c = o === void 0 && r === !1 ? "https://streamlayer.io" : o == null ? void 0 : o.url, l = a.get() || "", m = t.get() || "", u = n.get() || "", d = {
|
|
14836
|
-
[
|
|
14854
|
+
[na]: l,
|
|
14837
14855
|
[uc]: m,
|
|
14838
14856
|
[dc]: u
|
|
14839
14857
|
};
|
|
@@ -14843,7 +14861,7 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14843
14861
|
T && g || g ? T = `?${fr(T, d)}` : g = `#${fr("", d)}`;
|
|
14844
14862
|
const f = window.location.origin + window.location.pathname + T + g;
|
|
14845
14863
|
try {
|
|
14846
|
-
const _ = await
|
|
14864
|
+
const _ = await wh(e, { web: f, mobile: c });
|
|
14847
14865
|
s.set({
|
|
14848
14866
|
data: (y = _.data) == null ? void 0 : y.link,
|
|
14849
14867
|
loading: !1
|
|
@@ -14859,10 +14877,10 @@ const Kt = new wt(), Ih = (e, t, n) => {
|
|
|
14859
14877
|
s.setKey("loading", !0);
|
|
14860
14878
|
})), { $store: s, fetch };
|
|
14861
14879
|
};
|
|
14862
|
-
var
|
|
14880
|
+
var ne;
|
|
14863
14881
|
(function(e) {
|
|
14864
14882
|
e.Unset = "unset", e.Required = "required", e.Optional = "optional", e.Completed = "completed", e.Disabled = "disabled", e.Unavailable = "unavailable";
|
|
14865
|
-
})(
|
|
14883
|
+
})(ne || (ne = {}));
|
|
14866
14884
|
const Ph = (e, t, n, a) => {
|
|
14867
14885
|
const { inplayGame: s } = e.featureSettings.get(), o = t.getCurrentSessionId({ prefix: "onboarding" });
|
|
14868
14886
|
s && n.add({
|
|
@@ -14898,37 +14916,37 @@ const Ph = (e, t, n, a) => {
|
|
|
14898
14916
|
organizationId: y,
|
|
14899
14917
|
eventId: T
|
|
14900
14918
|
});
|
|
14901
|
-
if (g ===
|
|
14902
|
-
e.set(
|
|
14903
|
-
for (const
|
|
14904
|
-
|
|
14905
|
-
c != null && c.skipOnboarding && g !==
|
|
14919
|
+
if (g === ne.Completed || c != null && c.skipOnboarding) {
|
|
14920
|
+
e.set(ne.Completed);
|
|
14921
|
+
for (const R of o)
|
|
14922
|
+
R();
|
|
14923
|
+
c != null && c.skipOnboarding && g !== ne.Completed && (s.saveOnboardingStatus({
|
|
14906
14924
|
organizationId: y,
|
|
14907
14925
|
userId: d,
|
|
14908
14926
|
eventId: T
|
|
14909
|
-
},
|
|
14927
|
+
}, ne.Completed), mc(r, T));
|
|
14910
14928
|
return;
|
|
14911
14929
|
}
|
|
14912
14930
|
const f = (l = t.moderation.getStore().value) == null ? void 0 : l.data, _ = n.featureSettings.get().inplayGame;
|
|
14913
14931
|
if (f === void 0 || _ === void 0)
|
|
14914
14932
|
return;
|
|
14915
14933
|
const h = (m = f == null ? void 0 : f.options) == null ? void 0 : m.onboardingEnabled, O = (u = _ == null ? void 0 : _.titleCard) == null ? void 0 : u.optIn;
|
|
14916
|
-
h ? O ? e.set(
|
|
14934
|
+
h ? O ? e.set(ne.Required) : e.set(ne.Optional) : (O ? e.set(ne.Unavailable) : e.set(ne.Disabled), a.close(t.getCurrentSessionId({ prefix: "onboarding" }), { markAsViewed: !1 }));
|
|
14917
14935
|
} catch (d) {
|
|
14918
14936
|
console.error(d);
|
|
14919
14937
|
}
|
|
14920
14938
|
}, kr = (e, t, n, a, s) => {
|
|
14921
14939
|
let o = !!(s != null && s.skipOnboarding);
|
|
14922
|
-
const r = t.storage, c = le(
|
|
14940
|
+
const r = t.storage, c = le(ne.Unset);
|
|
14923
14941
|
c.subscribe((m) => {
|
|
14924
|
-
m !==
|
|
14942
|
+
m !== ne.Unset && (m === ne.Optional || m === ne.Required ? o === !1 && (Ph(e, t, a, r), o = !0) : e.onboardingProcessed.set(!0), m === ne.Completed && t.activeQuestionId.invalidate(), r.setOnboardingInstantOpen({
|
|
14925
14943
|
userId: t.userId.get() || "",
|
|
14926
14944
|
organizationId: t.organizationId.get() || "",
|
|
14927
14945
|
eventId: t.slStreamId.get() || ""
|
|
14928
14946
|
}));
|
|
14929
14947
|
});
|
|
14930
14948
|
const l = [];
|
|
14931
|
-
return c.get() !==
|
|
14949
|
+
return c.get() !== ne.Completed && (l.push(t.userId.listen((m) => {
|
|
14932
14950
|
m && hn(c, t, e, a, r, l, n, s);
|
|
14933
14951
|
})), l.push(t.moderation.listen((m) => {
|
|
14934
14952
|
m.data && hn(c, t, e, a, r, l, n, s);
|
|
@@ -14937,11 +14955,11 @@ const Ph = (e, t, n, a) => {
|
|
|
14937
14955
|
}))), hn(c, t, e, a, r, l, n, s), { $store: c, submitInplay: async () => {
|
|
14938
14956
|
const m = t.slStreamId.get();
|
|
14939
14957
|
if (m) {
|
|
14940
|
-
await mc(n, m), c.set(
|
|
14958
|
+
await mc(n, m), c.set(ne.Completed), r.saveOnboardingStatus({
|
|
14941
14959
|
organizationId: t.organizationId.get() || "",
|
|
14942
14960
|
userId: t.userId.get() || "",
|
|
14943
14961
|
eventId: m
|
|
14944
|
-
},
|
|
14962
|
+
}, ne.Completed), te.emit("poll", {
|
|
14945
14963
|
action: "onboardingPassed",
|
|
14946
14964
|
payload: {}
|
|
14947
14965
|
}), e.openFeature();
|
|
@@ -14964,7 +14982,7 @@ const Ph = (e, t, n, a) => {
|
|
|
14964
14982
|
}, c = () => {
|
|
14965
14983
|
r();
|
|
14966
14984
|
};
|
|
14967
|
-
return
|
|
14985
|
+
return Jn(s, () => {
|
|
14968
14986
|
c();
|
|
14969
14987
|
const l = e.listen(r), m = n == null ? void 0 : n.listen(r), u = t.listen(r);
|
|
14970
14988
|
return () => {
|
|
@@ -15027,7 +15045,7 @@ class Ch extends rc {
|
|
|
15027
15045
|
if (this.skipOnboarding)
|
|
15028
15046
|
this.background.interactiveAllowed.set(st.ALLOWED);
|
|
15029
15047
|
else {
|
|
15030
|
-
const c = this.onboardingStatus.$store.get(), l = (s = (a = (n = this.background.moderation.getStore().value) == null ? void 0 : n.data) == null ? void 0 : a.options) == null ? void 0 : s.onboardingEnabled, m = (r = (o = this.settings.getValues().inplayGame) == null ? void 0 : o.titleCard) == null ? void 0 : r.optIn, u = c ===
|
|
15048
|
+
const c = this.onboardingStatus.$store.get(), l = (s = (a = (n = this.background.moderation.getStore().value) == null ? void 0 : n.data) == null ? void 0 : a.options) == null ? void 0 : s.onboardingEnabled, m = (r = (o = this.settings.getValues().inplayGame) == null ? void 0 : o.titleCard) == null ? void 0 : r.optIn, u = c === ne.Completed, d = !l || u || m !== !0;
|
|
15031
15049
|
this.background.interactiveAllowed.set(d ? st.ALLOWED : st.DISALLOWED);
|
|
15032
15050
|
}
|
|
15033
15051
|
});
|
|
@@ -15035,7 +15053,7 @@ class Ch extends rc {
|
|
|
15035
15053
|
this.onboardingProcessed.subscribe((n) => {
|
|
15036
15054
|
n && this.advertisement && this.advertisement.connect();
|
|
15037
15055
|
}), this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-prediction-close", async (n) => {
|
|
15038
|
-
var m, u, d, y, T, g, f, _, h, O,
|
|
15056
|
+
var m, u, d, y, T, g, f, _, h, O, R;
|
|
15039
15057
|
if (!this.isInteractiveAllowed)
|
|
15040
15058
|
return;
|
|
15041
15059
|
const a = (u = (m = n.data) == null ? void 0 : m.attributes) == null ? void 0 : u.question, s = (y = (d = n.data) == null ? void 0 : d.attributes) == null ? void 0 : y.feedItem;
|
|
@@ -15043,7 +15061,7 @@ class Ch extends rc {
|
|
|
15043
15061
|
return;
|
|
15044
15062
|
const { status: o, type: r, id: c, answers: l } = a;
|
|
15045
15063
|
if (o === Z.RESOLVED && r === M.PREDICTION) {
|
|
15046
|
-
const
|
|
15064
|
+
const w = this.background.getCurrentSessionId({
|
|
15047
15065
|
prefix: `notification-id:${c}`
|
|
15048
15066
|
}), v = [...this.feedList.getValues().data || []], P = v.findIndex((J) => J.id === c), I = v[P];
|
|
15049
15067
|
let B = (f = (g = (T = I == null ? void 0 : I.attributes) == null ? void 0 : T.attributes) == null ? void 0 : g.value) == null ? void 0 : f.answerId;
|
|
@@ -15064,12 +15082,12 @@ class Ch extends rc {
|
|
|
15064
15082
|
}
|
|
15065
15083
|
if (!D || !V)
|
|
15066
15084
|
return;
|
|
15067
|
-
((
|
|
15085
|
+
((R = this.openedQuestionId.get()) == null ? void 0 : R.questionId) !== a.id && this.notifications.add({
|
|
15068
15086
|
type: ze.QUESTION_RESOLVED,
|
|
15069
15087
|
action: () => this.openQuestion(a.id, s),
|
|
15070
15088
|
close: () => this.closeQuestion(c),
|
|
15071
15089
|
autoHideDuration: F ? 15e3 : 12e3,
|
|
15072
|
-
id:
|
|
15090
|
+
id: w,
|
|
15073
15091
|
emitEvent: !1,
|
|
15074
15092
|
data: {
|
|
15075
15093
|
questionId: c,
|
|
@@ -15137,7 +15155,7 @@ class Ch extends rc {
|
|
|
15137
15155
|
}
|
|
15138
15156
|
});
|
|
15139
15157
|
}
|
|
15140
|
-
o === -1 && (a.unshift(s),
|
|
15158
|
+
o === -1 && (a.unshift(s), te.emit("poll", {
|
|
15141
15159
|
action: "received",
|
|
15142
15160
|
payload: {
|
|
15143
15161
|
questionId: s.id,
|
|
@@ -15164,7 +15182,7 @@ class Ch extends rc {
|
|
|
15164
15182
|
throw c;
|
|
15165
15183
|
}
|
|
15166
15184
|
const s = { ...(r = this.betPack.getValues().data) == null ? void 0 : r.data }, o = s == null ? void 0 : s[n];
|
|
15167
|
-
o && (
|
|
15185
|
+
o && (te.emit("poll", {
|
|
15168
15186
|
action: "voted",
|
|
15169
15187
|
payload: {
|
|
15170
15188
|
questionId: n,
|
|
@@ -15184,7 +15202,7 @@ class Ch extends rc {
|
|
|
15184
15202
|
return;
|
|
15185
15203
|
const m = l.findIndex((T) => T.id === n), u = l[m], d = ((y = u == null ? void 0 : u.attributes) == null ? void 0 : y.attributes.case) === "question" && u.attributes.attributes.value;
|
|
15186
15204
|
if (d) {
|
|
15187
|
-
|
|
15205
|
+
te.emit("poll", {
|
|
15188
15206
|
action: "voted",
|
|
15189
15207
|
payload: {
|
|
15190
15208
|
questionId: n,
|
|
@@ -15193,7 +15211,7 @@ class Ch extends rc {
|
|
|
15193
15211
|
});
|
|
15194
15212
|
const T = s.get().data;
|
|
15195
15213
|
if (o(), T) {
|
|
15196
|
-
const g = T.answers.find((O) => O.correct === !0), f = T.answers.findIndex((O) => O.id === a), _ = T.answers[f], h = T.answers.every(({ percentageDecimal: O },
|
|
15214
|
+
const g = T.answers.find((O) => O.correct === !0), f = T.answers.findIndex((O) => O.id === a), _ = T.answers[f], h = T.answers.every(({ percentageDecimal: O }, R) => O === (r == null ? void 0 : r.answers[R].percentageDecimal));
|
|
15197
15215
|
l[m].attributes.attributes.value.answerId = a, l[m].attributes.attributes.value.openForVoting = !1, l[m].attributes.attributes.value.text = (_ == null ? void 0 : _.text) || "", g && (l[m].attributes.attributes.value.status = g.id === a ? Wt.WON : Wt.LOST), this.feedList.getStore().mutate([...l]), T.answers[f].correct = (g == null ? void 0 : g.id) === a, T.answers[f].youVoted = !0, h && T.answers.forEach((O) => {
|
|
15198
15216
|
O.percentageDecimal = 0;
|
|
15199
15217
|
}), (g == null ? void 0 : g.id) === a && (T.answers[f].pointsEarned = T.status === Z.RESOLVED ? 0 : g.points), s.mutate({ ...T });
|
|
@@ -15234,7 +15252,7 @@ class Ch extends rc {
|
|
|
15234
15252
|
userId: this.background.userId.get() || "",
|
|
15235
15253
|
organizationId: this.background.organizationId.get() || ""
|
|
15236
15254
|
};
|
|
15237
|
-
return this.storage.isQuestionOpened(r, n) || (
|
|
15255
|
+
return this.storage.isQuestionOpened(r, n) || (te.emit("poll", {
|
|
15238
15256
|
action: "opened",
|
|
15239
15257
|
payload: {
|
|
15240
15258
|
questionId: n,
|
|
@@ -15289,9 +15307,9 @@ class Ch extends rc {
|
|
|
15289
15307
|
* skipping questions with inAppSilence === ON
|
|
15290
15308
|
*/
|
|
15291
15309
|
p(this, "showInApp", (n) => {
|
|
15292
|
-
var s, o, r, c, l, m, u, d, y, T, g, f, _, h, O,
|
|
15310
|
+
var s, o, r, c, l, m, u, d, y, T, g, f, _, h, O, R, w, v, P, I, B;
|
|
15293
15311
|
const a = this.onboardingStatus.$store.get();
|
|
15294
|
-
if (n && n.data && a && a !==
|
|
15312
|
+
if (n && n.data && a && a !== ne.Unset && ((s = n.data.question) == null ? void 0 : s.id) !== void 0 && ((r = (o = n.data.question) == null ? void 0 : o.bypassNotifications) == null ? void 0 : r.inAppSilence) !== Ti.ON && n.data.question.status === Z.ACTIVE && !n.data.question.marketClosed) {
|
|
15295
15313
|
if (hr.has(n.data.question.type))
|
|
15296
15314
|
this.isInteractiveAllowed && n.data.question.notification !== void 0 && this.notifications.add({
|
|
15297
15315
|
type: ze.QUESTION,
|
|
@@ -15376,8 +15394,8 @@ class Ch extends rc {
|
|
|
15376
15394
|
}
|
|
15377
15395
|
}
|
|
15378
15396
|
const Q = {
|
|
15379
|
-
title: (
|
|
15380
|
-
body: (
|
|
15397
|
+
title: (R = n.data.question.notification) == null ? void 0 : R.title,
|
|
15398
|
+
body: (w = n.data.question.notification) == null ? void 0 : w.body,
|
|
15381
15399
|
image: (v = n.data.question.notification) == null ? void 0 : v.image,
|
|
15382
15400
|
account: ((P = A == null ? void 0 : A.tweetMeta) == null ? void 0 : P.account) || "",
|
|
15383
15401
|
accountVerified: !!((I = A == null ? void 0 : A.tweetMeta) != null && I.accountVerified),
|
|
@@ -15413,7 +15431,7 @@ class Ch extends rc {
|
|
|
15413
15431
|
}
|
|
15414
15432
|
});
|
|
15415
15433
|
if (this.background = new mh(s), this.advertisement = this.background.advertisement, this.onQuestionActivate = s.onQuestionActivate, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = this.background.storage, this.feedList = this.background.feedList, this.betPack = this.background.betPack, this.currentUserId = this.background.userId, this.onboardingProcessed = le(!s.sdk.withAuth), this.leaderboardId = new Oe(le(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = (o = !0) => s.sdk.closeFeature(o), this.openFeature = () => s.sdk.openFeature(W.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = Lh(this.transport, this.background.slStreamId, s.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = Mh(this.background.slStreamId, this.background.userId, this.friends, this.transport), !s.sdk.options.get().hideFriends) {
|
|
15416
|
-
this.friends = new
|
|
15434
|
+
this.friends = new Re(Kk(this.background.userId, s.transport), "gamification:friends"), this.openedUser = le(void 0);
|
|
15417
15435
|
const o = this.leaderboardList = gh(this.transport, this.background.slStreamId, this.background.userId, this.friends);
|
|
15418
15436
|
this.cancels.add(this.userSummary.$store.listen((r, c) => {
|
|
15419
15437
|
c != null && c.summary && (r != null && r.summary) && o.invalidate();
|
|
@@ -15424,7 +15442,7 @@ class Ch extends rc {
|
|
|
15424
15442
|
}), s.sdk.options.get().skipOnboarding || (this.onboardingStatus = kr(this, this.background, s.transport, s.notifications, {
|
|
15425
15443
|
skipOnboarding: s.sdk.options.get().skipOnboarding
|
|
15426
15444
|
})), this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)), this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)), this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)), this.cancels.add(this.onboardingStatus.$store.listen((o, r) => {
|
|
15427
|
-
(r === void 0 || o !==
|
|
15445
|
+
(r === void 0 || o !== ne.Unset) && this.background.activeQuestionId.invalidate();
|
|
15428
15446
|
})), this.background.activeQuestionId.listen(this.showInApp), this.friendsTabEnabled = le(!1), this.cancels.add(s.sdk.options.subscribe((o) => {
|
|
15429
15447
|
o.friendsTab === "disabled" ? this.friendsTabEnabled.set(!1) : o.friendsTab === "enabled" && this.friendsTabEnabled.set(!0);
|
|
15430
15448
|
})), this.cancels.add(this.settings.subscribe((o) => {
|
|
@@ -15525,8 +15543,8 @@ class Vh {
|
|
|
15525
15543
|
...this.analytics.commonStore.getValues(),
|
|
15526
15544
|
kind: ce.INVITATION_ACCEPTED
|
|
15527
15545
|
},
|
|
15528
|
-
category:
|
|
15529
|
-
from:
|
|
15546
|
+
category: ja.GAMES,
|
|
15547
|
+
from: $a.UNSET
|
|
15530
15548
|
});
|
|
15531
15549
|
});
|
|
15532
15550
|
p(this, "sent", ({ from: t }) => {
|
|
@@ -15535,8 +15553,8 @@ class Vh {
|
|
|
15535
15553
|
...this.analytics.commonStore.getValues(),
|
|
15536
15554
|
kind: ce.INVITATION_SENT
|
|
15537
15555
|
},
|
|
15538
|
-
category:
|
|
15539
|
-
from: t ||
|
|
15556
|
+
category: ja.GAMES,
|
|
15557
|
+
from: t || $a.UNSET
|
|
15540
15558
|
});
|
|
15541
15559
|
});
|
|
15542
15560
|
this.analytics = t, this.analytics.onConnect(() => {
|
|
@@ -15549,7 +15567,7 @@ class Vh {
|
|
|
15549
15567
|
break;
|
|
15550
15568
|
}
|
|
15551
15569
|
};
|
|
15552
|
-
return
|
|
15570
|
+
return te.listen(n);
|
|
15553
15571
|
});
|
|
15554
15572
|
}
|
|
15555
15573
|
}
|
|
@@ -15587,7 +15605,7 @@ class qh {
|
|
|
15587
15605
|
break;
|
|
15588
15606
|
}
|
|
15589
15607
|
};
|
|
15590
|
-
return
|
|
15608
|
+
return te.listen(n);
|
|
15591
15609
|
});
|
|
15592
15610
|
}
|
|
15593
15611
|
}
|
|
@@ -15707,7 +15725,7 @@ class Hh {
|
|
|
15707
15725
|
}
|
|
15708
15726
|
}
|
|
15709
15727
|
};
|
|
15710
|
-
return
|
|
15728
|
+
return te.listen(n);
|
|
15711
15729
|
});
|
|
15712
15730
|
}
|
|
15713
15731
|
}
|
|
@@ -15800,7 +15818,7 @@ class Yh {
|
|
|
15800
15818
|
break;
|
|
15801
15819
|
}
|
|
15802
15820
|
};
|
|
15803
|
-
return
|
|
15821
|
+
return te.listen(n);
|
|
15804
15822
|
});
|
|
15805
15823
|
}
|
|
15806
15824
|
}
|
|
@@ -15885,7 +15903,7 @@ class jh {
|
|
|
15885
15903
|
break;
|
|
15886
15904
|
}
|
|
15887
15905
|
};
|
|
15888
|
-
return
|
|
15906
|
+
return te.listen(n);
|
|
15889
15907
|
});
|
|
15890
15908
|
}
|
|
15891
15909
|
}
|
|
@@ -15941,7 +15959,7 @@ class Kh {
|
|
|
15941
15959
|
p(this, "listenersCancels");
|
|
15942
15960
|
p(this, "connected", !1);
|
|
15943
15961
|
p(this, "connect", () => {
|
|
15944
|
-
this.writeCommon("sessionId",
|
|
15962
|
+
this.writeCommon("sessionId", Bn()), this.heartbeat.enable(), this.listeners.forEach((t) => this.listenersCancels.add(t())), this.connected = !0, je.debug("analytics connected");
|
|
15945
15963
|
});
|
|
15946
15964
|
p(this, "disconnect", () => {
|
|
15947
15965
|
this.writeCommon("sessionId", ""), this.writeCommon("overlaySessionId", ""), this.heartbeat.unmount(), this.listenersCancels.forEach((t) => t()), this.connected = !1, je.debug("analytics disconnected");
|
|
@@ -15964,10 +15982,10 @@ class Kh {
|
|
|
15964
15982
|
this.onConnect(() => t.stores.slStreamId.getAtomStore().subscribe((n) => {
|
|
15965
15983
|
this.writeCommon("eventId", n);
|
|
15966
15984
|
})), this.onConnect(() => t.sdk.getActiveFeature().subscribe((n) => {
|
|
15967
|
-
n && this.writeCommon("category", Qh[n]), n !== W.UNSET ? this.writeCommon("overlaySessionId",
|
|
15985
|
+
n && this.writeCommon("category", Qh[n]), n !== W.UNSET ? this.writeCommon("overlaySessionId", Bn()) : this.writeCommon("overlaySessionId", "");
|
|
15968
15986
|
})), this.onConnect(() => {
|
|
15969
15987
|
const n = window.matchMedia("(orientation: portrait)"), a = (s) => {
|
|
15970
|
-
this.writeCommon("screenOrientation", s.matches ?
|
|
15988
|
+
this.writeCommon("screenOrientation", s.matches ? Qa.PORTRAIT : Qa.LANDSCAPE);
|
|
15971
15989
|
};
|
|
15972
15990
|
return n.addEventListener("change", a), () => {
|
|
15973
15991
|
n.removeEventListener("change", a);
|
|
@@ -15984,7 +16002,9 @@ class Kh {
|
|
|
15984
16002
|
}
|
|
15985
16003
|
}
|
|
15986
16004
|
const Wh = (e, t, n) => {
|
|
15987
|
-
e.analytics = new Kh(e), e.sdk.onMount({ name: "analytics" }, () => (e.analytics.connect(), () => {
|
|
16005
|
+
e.analytics = new Kh(e), e.sdk.onMount({ name: "analytics" }, () => (e.analytics.connect(), e.sdk.writeOverlaySessionId = (a) => {
|
|
16006
|
+
a === "" ? e.analytics.writeCommon("overlaySessionId", "") : e.analytics.writeCommon("overlaySessionId", Bn());
|
|
16007
|
+
}, () => {
|
|
15988
16008
|
e.analytics.disconnect();
|
|
15989
16009
|
})), n();
|
|
15990
16010
|
};
|
|
@@ -16035,8 +16055,8 @@ function pc(e, t, n) {
|
|
|
16035
16055
|
unshift: _,
|
|
16036
16056
|
empty: Ne,
|
|
16037
16057
|
kill: O,
|
|
16038
|
-
killAndDrain:
|
|
16039
|
-
error:
|
|
16058
|
+
killAndDrain: R,
|
|
16059
|
+
error: w
|
|
16040
16060
|
};
|
|
16041
16061
|
return l;
|
|
16042
16062
|
function m() {
|
|
@@ -16084,10 +16104,10 @@ function pc(e, t, n) {
|
|
|
16084
16104
|
function O() {
|
|
16085
16105
|
s = null, o = null, l.drain = Ne;
|
|
16086
16106
|
}
|
|
16087
|
-
function
|
|
16107
|
+
function R() {
|
|
16088
16108
|
s = null, o = null, l.drain(), l.drain = Ne;
|
|
16089
16109
|
}
|
|
16090
|
-
function
|
|
16110
|
+
function w(v) {
|
|
16091
16111
|
c = v;
|
|
16092
16112
|
}
|
|
16093
16113
|
}
|
|
@@ -16173,7 +16193,7 @@ z.prototype._events = void 0;
|
|
|
16173
16193
|
z.prototype._eventsCount = 0;
|
|
16174
16194
|
z.prototype._maxListeners = void 0;
|
|
16175
16195
|
var Sr = 10;
|
|
16176
|
-
function
|
|
16196
|
+
function aa(e) {
|
|
16177
16197
|
if (typeof e != "function")
|
|
16178
16198
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
16179
16199
|
}
|
|
@@ -16228,7 +16248,7 @@ z.prototype.emit = function(e) {
|
|
|
16228
16248
|
};
|
|
16229
16249
|
function fc(e, t, n, a) {
|
|
16230
16250
|
var s, o, r;
|
|
16231
|
-
if (
|
|
16251
|
+
if (aa(n), o = e._events, o === void 0 ? (o = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (o.newListener !== void 0 && (e.emit(
|
|
16232
16252
|
"newListener",
|
|
16233
16253
|
t,
|
|
16234
16254
|
n.listener ? n.listener : n
|
|
@@ -16257,14 +16277,14 @@ function kc(e, t, n) {
|
|
|
16257
16277
|
return s.listener = n, a.wrapFn = s, s;
|
|
16258
16278
|
}
|
|
16259
16279
|
z.prototype.once = function(e, t) {
|
|
16260
|
-
return
|
|
16280
|
+
return aa(t), this.on(e, kc(this, e, t)), this;
|
|
16261
16281
|
};
|
|
16262
16282
|
z.prototype.prependOnceListener = function(e, t) {
|
|
16263
|
-
return
|
|
16283
|
+
return aa(t), this.prependListener(e, kc(this, e, t)), this;
|
|
16264
16284
|
};
|
|
16265
16285
|
z.prototype.removeListener = function(e, t) {
|
|
16266
16286
|
var n, a, s, o, r;
|
|
16267
|
-
if (
|
|
16287
|
+
if (aa(t), a = this._events, a === void 0)
|
|
16268
16288
|
return this;
|
|
16269
16289
|
if (n = a[e], n === void 0)
|
|
16270
16290
|
return this;
|
|
@@ -16372,7 +16392,7 @@ function Ec(e, t, n, a) {
|
|
|
16372
16392
|
else
|
|
16373
16393
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
16374
16394
|
}
|
|
16375
|
-
var bc = Bs.exports,
|
|
16395
|
+
var bc = Bs.exports, sa = {}, Ic = {}, Nc = function() {
|
|
16376
16396
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
16377
16397
|
return !1;
|
|
16378
16398
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -16395,15 +16415,15 @@ var bc = Bs.exports, aa = {}, Ic = {}, Nc = function() {
|
|
|
16395
16415
|
return !1;
|
|
16396
16416
|
}
|
|
16397
16417
|
return !0;
|
|
16398
|
-
}, c_ = Nc,
|
|
16418
|
+
}, c_ = Nc, oa = function() {
|
|
16399
16419
|
return c_() && !!Symbol.toStringTag;
|
|
16400
|
-
}, l_ = Error, m_ = EvalError, u_ = RangeError, d_ = ReferenceError, Oc = SyntaxError,
|
|
16420
|
+
}, l_ = Error, m_ = EvalError, u_ = RangeError, d_ = ReferenceError, Oc = SyntaxError, ra = TypeError, p_ = URIError, Er = typeof Symbol < "u" && Symbol, T_ = Nc, y_ = function() {
|
|
16401
16421
|
return typeof Er != "function" || typeof Symbol != "function" || typeof Er("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : T_();
|
|
16402
|
-
},
|
|
16422
|
+
}, Ea = {
|
|
16403
16423
|
__proto__: null,
|
|
16404
16424
|
foo: {}
|
|
16405
16425
|
}, g_ = Object, f_ = function() {
|
|
16406
|
-
return { __proto__:
|
|
16426
|
+
return { __proto__: Ea }.foo === Ea.foo && !(Ea instanceof g_);
|
|
16407
16427
|
}, k_ = "Function.prototype.bind called on incompatible ", h_ = Object.prototype.toString, __ = Math.max, S_ = "[object Function]", br = function(e, t) {
|
|
16408
16428
|
for (var n = [], a = 0; a < e.length; a += 1)
|
|
16409
16429
|
n[a] = e[a];
|
|
@@ -16442,7 +16462,7 @@ var bc = Bs.exports, aa = {}, Ic = {}, Nc = function() {
|
|
|
16442
16462
|
l.prototype = t.prototype, a.prototype = new l(), l.prototype = null;
|
|
16443
16463
|
}
|
|
16444
16464
|
return a;
|
|
16445
|
-
}, N_ = I_, Gs = Function.prototype.bind || N_, O_ = Function.prototype.call, v_ = Object.prototype.hasOwnProperty, A_ = Gs,
|
|
16465
|
+
}, N_ = I_, Gs = Function.prototype.bind || N_, O_ = Function.prototype.call, v_ = Object.prototype.hasOwnProperty, A_ = Gs, R_ = A_.call(O_, v_), x, w_ = l_, L_ = m_, P_ = u_, M_ = d_, qt = Oc, Ut = ra, D_ = p_, vc = Function, ba = function(e) {
|
|
16446
16466
|
try {
|
|
16447
16467
|
return vc('"use strict"; return (' + e + ").constructor;")();
|
|
16448
16468
|
} catch {
|
|
@@ -16454,19 +16474,19 @@ if (kt)
|
|
|
16454
16474
|
} catch {
|
|
16455
16475
|
kt = null;
|
|
16456
16476
|
}
|
|
16457
|
-
var
|
|
16477
|
+
var Ia = function() {
|
|
16458
16478
|
throw new Ut();
|
|
16459
16479
|
}, C_ = kt ? function() {
|
|
16460
16480
|
try {
|
|
16461
|
-
return arguments.callee,
|
|
16481
|
+
return arguments.callee, Ia;
|
|
16462
16482
|
} catch {
|
|
16463
16483
|
try {
|
|
16464
16484
|
return kt(arguments, "callee").get;
|
|
16465
16485
|
} catch {
|
|
16466
|
-
return
|
|
16486
|
+
return Ia;
|
|
16467
16487
|
}
|
|
16468
16488
|
}
|
|
16469
|
-
}() :
|
|
16489
|
+
}() : Ia, Ot = y_(), U_ = f_(), me = Object.getPrototypeOf || (U_ ? function(e) {
|
|
16470
16490
|
return e.__proto__;
|
|
16471
16491
|
} : null), At = {}, F_ = typeof Uint8Array > "u" || !me ? x : me(Uint8Array), ht = {
|
|
16472
16492
|
__proto__: null,
|
|
@@ -16490,7 +16510,7 @@ var ba = function() {
|
|
|
16490
16510
|
"%decodeURIComponent%": decodeURIComponent,
|
|
16491
16511
|
"%encodeURI%": encodeURI,
|
|
16492
16512
|
"%encodeURIComponent%": encodeURIComponent,
|
|
16493
|
-
"%Error%":
|
|
16513
|
+
"%Error%": w_,
|
|
16494
16514
|
"%eval%": eval,
|
|
16495
16515
|
// eslint-disable-line no-eval
|
|
16496
16516
|
"%EvalError%": L_,
|
|
@@ -16548,11 +16568,11 @@ if (me)
|
|
|
16548
16568
|
var G_ = function e(t) {
|
|
16549
16569
|
var n;
|
|
16550
16570
|
if (t === "%AsyncFunction%")
|
|
16551
|
-
n =
|
|
16571
|
+
n = ba("async function () {}");
|
|
16552
16572
|
else if (t === "%GeneratorFunction%")
|
|
16553
|
-
n =
|
|
16573
|
+
n = ba("function* () {}");
|
|
16554
16574
|
else if (t === "%AsyncGeneratorFunction%")
|
|
16555
|
-
n =
|
|
16575
|
+
n = ba("async function* () {}");
|
|
16556
16576
|
else if (t === "%AsyncGenerator%") {
|
|
16557
16577
|
var a = e("%AsyncGeneratorFunction%");
|
|
16558
16578
|
a && (n = a.prototype);
|
|
@@ -16614,8 +16634,8 @@ var G_ = function e(t) {
|
|
|
16614
16634
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
16615
16635
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
16616
16636
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
16617
|
-
}, rn = Gs,
|
|
16618
|
-
var t =
|
|
16637
|
+
}, rn = Gs, qn = R_, V_ = rn.call(Function.call, Array.prototype.concat), q_ = rn.call(Function.apply, Array.prototype.splice), Nr = rn.call(Function.call, String.prototype.replace), xn = rn.call(Function.call, String.prototype.slice), x_ = rn.call(Function.call, RegExp.prototype.exec), H_ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Q_ = /\\(\\)?/g, Y_ = function(e) {
|
|
16638
|
+
var t = xn(e, 0, 1), n = xn(e, -1);
|
|
16619
16639
|
if (t === "%" && n !== "%")
|
|
16620
16640
|
throw new qt("invalid intrinsic syntax, expected closing `%`");
|
|
16621
16641
|
if (n === "%" && t !== "%")
|
|
@@ -16626,7 +16646,7 @@ var G_ = function e(t) {
|
|
|
16626
16646
|
}), a;
|
|
16627
16647
|
}, j_ = function(e, t) {
|
|
16628
16648
|
var n = e, a;
|
|
16629
|
-
if (
|
|
16649
|
+
if (qn(Ir, n) && (a = Ir[n], n = "%" + a[0] + "%"), qn(ht, n)) {
|
|
16630
16650
|
var s = ht[n];
|
|
16631
16651
|
if (s === At && (s = G_(n)), typeof s > "u" && !t)
|
|
16632
16652
|
throw new Ut("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
@@ -16647,10 +16667,10 @@ var G_ = function e(t) {
|
|
|
16647
16667
|
var n = Y_(e), a = n.length > 0 ? n[0] : "", s = j_("%" + a + "%", t), o = s.name, r = s.value, c = !1, l = s.alias;
|
|
16648
16668
|
l && (a = l[0], q_(n, V_([0, 1], l)));
|
|
16649
16669
|
for (var m = 1, u = !0; m < n.length; m += 1) {
|
|
16650
|
-
var d = n[m], y =
|
|
16670
|
+
var d = n[m], y = xn(d, 0, 1), T = xn(d, -1);
|
|
16651
16671
|
if ((y === '"' || y === "'" || y === "`" || T === '"' || T === "'" || T === "`") && y !== T)
|
|
16652
16672
|
throw new qt("property names with quotes must have matching quotes");
|
|
16653
|
-
if ((d === "constructor" || !u) && (c = !0), a += "." + d, o = "%" + a + "%",
|
|
16673
|
+
if ((d === "constructor" || !u) && (c = !0), a += "." + d, o = "%" + a + "%", qn(ht, o))
|
|
16654
16674
|
r = ht[o];
|
|
16655
16675
|
else if (r != null) {
|
|
16656
16676
|
if (!(d in r)) {
|
|
@@ -16662,14 +16682,14 @@ var G_ = function e(t) {
|
|
|
16662
16682
|
var g = kt(r, d);
|
|
16663
16683
|
u = !!g, u && "get" in g && !("originalValue" in g.get) ? r = g.get : r = r[d];
|
|
16664
16684
|
} else
|
|
16665
|
-
u =
|
|
16685
|
+
u = qn(r, d), r = r[d];
|
|
16666
16686
|
u && !c && (ht[o] = r);
|
|
16667
16687
|
}
|
|
16668
16688
|
}
|
|
16669
16689
|
return r;
|
|
16670
|
-
}, Ac = { exports: {} },
|
|
16690
|
+
}, Ac = { exports: {} }, Na, Or;
|
|
16671
16691
|
function Vs() {
|
|
16672
|
-
if (Or) return
|
|
16692
|
+
if (Or) return Na;
|
|
16673
16693
|
Or = 1;
|
|
16674
16694
|
var e = cn, t = e("%Object.defineProperty%", !0) || !1;
|
|
16675
16695
|
if (t)
|
|
@@ -16678,16 +16698,16 @@ function Vs() {
|
|
|
16678
16698
|
} catch {
|
|
16679
16699
|
t = !1;
|
|
16680
16700
|
}
|
|
16681
|
-
return
|
|
16701
|
+
return Na = t, Na;
|
|
16682
16702
|
}
|
|
16683
|
-
var $_ = cn,
|
|
16684
|
-
if (
|
|
16703
|
+
var $_ = cn, Rn = $_("%Object.getOwnPropertyDescriptor%", !0);
|
|
16704
|
+
if (Rn)
|
|
16685
16705
|
try {
|
|
16686
|
-
|
|
16706
|
+
Rn([], "length");
|
|
16687
16707
|
} catch {
|
|
16688
|
-
|
|
16708
|
+
Rn = null;
|
|
16689
16709
|
}
|
|
16690
|
-
var
|
|
16710
|
+
var ia = Rn, vr = Vs(), K_ = Oc, vt = ra, Ar = ia, W_ = function(e, t, n) {
|
|
16691
16711
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
16692
16712
|
throw new vt("`obj` must be an object or a function`");
|
|
16693
16713
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -16712,10 +16732,10 @@ var ra = wn, vr = Vs(), K_ = Oc, vt = oa, Ar = ra, W_ = function(e, t, n) {
|
|
|
16712
16732
|
e[t] = n;
|
|
16713
16733
|
else
|
|
16714
16734
|
throw new K_("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
16715
|
-
}, as = Vs(),
|
|
16735
|
+
}, as = Vs(), Rc = function() {
|
|
16716
16736
|
return !!as;
|
|
16717
16737
|
};
|
|
16718
|
-
|
|
16738
|
+
Rc.hasArrayLengthDefineBug = function() {
|
|
16719
16739
|
if (!as)
|
|
16720
16740
|
return null;
|
|
16721
16741
|
try {
|
|
@@ -16724,24 +16744,24 @@ wc.hasArrayLengthDefineBug = function() {
|
|
|
16724
16744
|
return !0;
|
|
16725
16745
|
}
|
|
16726
16746
|
};
|
|
16727
|
-
var z_ =
|
|
16747
|
+
var z_ = Rc, J_ = cn, Rr = W_, X_ = z_(), wr = ia, Lr = ra, Z_ = J_("%Math.floor%"), eS = function(e, t) {
|
|
16728
16748
|
if (typeof e != "function")
|
|
16729
16749
|
throw new Lr("`fn` is not a function");
|
|
16730
16750
|
if (typeof t != "number" || t < 0 || t > 4294967295 || Z_(t) !== t)
|
|
16731
16751
|
throw new Lr("`length` must be a positive 32-bit integer");
|
|
16732
16752
|
var n = arguments.length > 2 && !!arguments[2], a = !0, s = !0;
|
|
16733
|
-
if ("length" in e &&
|
|
16734
|
-
var o =
|
|
16753
|
+
if ("length" in e && wr) {
|
|
16754
|
+
var o = wr(e, "length");
|
|
16735
16755
|
o && !o.configurable && (a = !1), o && !o.writable && (s = !1);
|
|
16736
16756
|
}
|
|
16737
|
-
return (a || s || !n) && (X_ ?
|
|
16757
|
+
return (a || s || !n) && (X_ ? Rr(
|
|
16738
16758
|
/** @type {Parameters<define>[0]} */
|
|
16739
16759
|
e,
|
|
16740
16760
|
"length",
|
|
16741
16761
|
t,
|
|
16742
16762
|
!0,
|
|
16743
16763
|
!0
|
|
16744
|
-
) :
|
|
16764
|
+
) : Rr(
|
|
16745
16765
|
/** @type {Parameters<define>[0]} */
|
|
16746
16766
|
e,
|
|
16747
16767
|
"length",
|
|
@@ -16749,7 +16769,7 @@ var z_ = wc, J_ = cn, wr = W_, X_ = z_(), Rr = ra, Lr = oa, Z_ = J_("%Math.floor
|
|
|
16749
16769
|
)), e;
|
|
16750
16770
|
};
|
|
16751
16771
|
(function(e) {
|
|
16752
|
-
var t = Gs, n = cn, a = eS, s =
|
|
16772
|
+
var t = Gs, n = cn, a = eS, s = ra, o = n("%Function.prototype.apply%"), r = n("%Function.prototype.call%"), c = n("%Reflect.apply%", !0) || t.call(r, o), l = Vs(), m = n("%Math.max%");
|
|
16753
16773
|
e.exports = function(d) {
|
|
16754
16774
|
if (typeof d != "function")
|
|
16755
16775
|
throw new s("a function is required");
|
|
@@ -16765,25 +16785,25 @@ var z_ = wc, J_ = cn, wr = W_, X_ = z_(), Rr = ra, Lr = oa, Z_ = J_("%Math.floor
|
|
|
16765
16785
|
};
|
|
16766
16786
|
l ? l(e.exports, "apply", { value: u }) : e.exports.apply = u;
|
|
16767
16787
|
})(Ac);
|
|
16768
|
-
var qs = Ac.exports,
|
|
16769
|
-
var n =
|
|
16788
|
+
var qs = Ac.exports, wc = cn, Lc = qs, tS = Lc(wc("String.prototype.indexOf")), xs = function(e, t) {
|
|
16789
|
+
var n = wc(e, !!t);
|
|
16770
16790
|
return typeof n == "function" && tS(e, ".prototype.") > -1 ? Lc(n) : n;
|
|
16771
|
-
}, nS =
|
|
16791
|
+
}, nS = oa(), aS = xs, ss = aS("Object.prototype.toString"), ca = function(e) {
|
|
16772
16792
|
return nS && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : ss(e) === "[object Arguments]";
|
|
16773
16793
|
}, Pc = function(e) {
|
|
16774
|
-
return
|
|
16794
|
+
return ca(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && ss(e) !== "[object Array]" && ss(e.callee) === "[object Function]";
|
|
16775
16795
|
}, sS = function() {
|
|
16776
|
-
return
|
|
16796
|
+
return ca(arguments);
|
|
16777
16797
|
}();
|
|
16778
|
-
|
|
16779
|
-
var oS = sS ?
|
|
16798
|
+
ca.isLegacyArguments = Pc;
|
|
16799
|
+
var oS = sS ? ca : Pc, rS = Object.prototype.toString, iS = Function.prototype.toString, cS = /^\s*(?:function)?\*/, Mc = oa(), Oa = Object.getPrototypeOf, lS = function() {
|
|
16780
16800
|
if (!Mc)
|
|
16781
16801
|
return !1;
|
|
16782
16802
|
try {
|
|
16783
16803
|
return Function("return function*() {}")();
|
|
16784
16804
|
} catch {
|
|
16785
16805
|
}
|
|
16786
|
-
},
|
|
16806
|
+
}, va, mS = function(e) {
|
|
16787
16807
|
if (typeof e != "function")
|
|
16788
16808
|
return !1;
|
|
16789
16809
|
if (cS.test(iS.call(e)))
|
|
@@ -16792,28 +16812,28 @@ var oS = sS ? ia : Pc, rS = Object.prototype.toString, iS = Function.prototype.t
|
|
|
16792
16812
|
var t = rS.call(e);
|
|
16793
16813
|
return t === "[object GeneratorFunction]";
|
|
16794
16814
|
}
|
|
16795
|
-
if (!
|
|
16815
|
+
if (!Oa)
|
|
16796
16816
|
return !1;
|
|
16797
|
-
if (typeof
|
|
16817
|
+
if (typeof va > "u") {
|
|
16798
16818
|
var n = lS();
|
|
16799
|
-
|
|
16819
|
+
va = n ? Oa(n) : !1;
|
|
16800
16820
|
}
|
|
16801
|
-
return
|
|
16802
|
-
}, Dc = Function.prototype.toString,
|
|
16803
|
-
if (typeof
|
|
16821
|
+
return Oa(e) === va;
|
|
16822
|
+
}, Dc = Function.prototype.toString, wt = typeof Reflect == "object" && Reflect !== null && Reflect.apply, os, wn;
|
|
16823
|
+
if (typeof wt == "function" && typeof Object.defineProperty == "function")
|
|
16804
16824
|
try {
|
|
16805
16825
|
os = Object.defineProperty({}, "length", {
|
|
16806
16826
|
get: function() {
|
|
16807
|
-
throw
|
|
16827
|
+
throw wn;
|
|
16808
16828
|
}
|
|
16809
|
-
}),
|
|
16829
|
+
}), wn = {}, wt(function() {
|
|
16810
16830
|
throw 42;
|
|
16811
16831
|
}, null, os);
|
|
16812
16832
|
} catch (e) {
|
|
16813
|
-
e !==
|
|
16833
|
+
e !== wn && (wt = null);
|
|
16814
16834
|
}
|
|
16815
16835
|
else
|
|
16816
|
-
|
|
16836
|
+
wt = null;
|
|
16817
16837
|
var uS = /^\s*class\b/, rs = function(e) {
|
|
16818
16838
|
try {
|
|
16819
16839
|
var t = Dc.call(e);
|
|
@@ -16821,7 +16841,7 @@ var uS = /^\s*class\b/, rs = function(e) {
|
|
|
16821
16841
|
} catch {
|
|
16822
16842
|
return !1;
|
|
16823
16843
|
}
|
|
16824
|
-
},
|
|
16844
|
+
}, Aa = function(e) {
|
|
16825
16845
|
try {
|
|
16826
16846
|
return rs(e) ? !1 : (Dc.call(e), !0);
|
|
16827
16847
|
} catch {
|
|
@@ -16842,29 +16862,29 @@ if (typeof document == "object") {
|
|
|
16842
16862
|
return !1;
|
|
16843
16863
|
});
|
|
16844
16864
|
}
|
|
16845
|
-
var SS =
|
|
16865
|
+
var SS = wt ? function(e) {
|
|
16846
16866
|
if (is(e))
|
|
16847
16867
|
return !0;
|
|
16848
16868
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
16849
16869
|
return !1;
|
|
16850
16870
|
try {
|
|
16851
|
-
|
|
16871
|
+
wt(e, null, os);
|
|
16852
16872
|
} catch (t) {
|
|
16853
|
-
if (t !==
|
|
16873
|
+
if (t !== wn)
|
|
16854
16874
|
return !1;
|
|
16855
16875
|
}
|
|
16856
|
-
return !rs(e) &&
|
|
16876
|
+
return !rs(e) && Aa(e);
|
|
16857
16877
|
} : function(e) {
|
|
16858
16878
|
if (is(e))
|
|
16859
16879
|
return !0;
|
|
16860
16880
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
16861
16881
|
return !1;
|
|
16862
16882
|
if (kS)
|
|
16863
|
-
return
|
|
16883
|
+
return Aa(e);
|
|
16864
16884
|
if (rs(e))
|
|
16865
16885
|
return !1;
|
|
16866
16886
|
var t = Ln.call(e);
|
|
16867
|
-
return t !== pS && t !== TS && !/^\[object HTML/.test(t) ? !1 :
|
|
16887
|
+
return t !== pS && t !== TS && !/^\[object HTML/.test(t) ? !1 : Aa(e);
|
|
16868
16888
|
}, ES = SS, bS = Object.prototype.toString, Cc = Object.prototype.hasOwnProperty, IS = function(e, t, n) {
|
|
16869
16889
|
for (var a = 0, s = e.length; a < s; a++)
|
|
16870
16890
|
Cc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
|
|
@@ -16891,17 +16911,17 @@ var SS = Rt ? function(e) {
|
|
|
16891
16911
|
"Uint32Array",
|
|
16892
16912
|
"BigInt64Array",
|
|
16893
16913
|
"BigUint64Array"
|
|
16894
|
-
],
|
|
16895
|
-
for (var e = [], t = 0; t <
|
|
16896
|
-
typeof
|
|
16914
|
+
], Ra = AS, RS = typeof globalThis > "u" ? Cs : globalThis, Fc = function() {
|
|
16915
|
+
for (var e = [], t = 0; t < Ra.length; t++)
|
|
16916
|
+
typeof RS[Ra[t]] == "function" && (e[e.length] = Ra[t]);
|
|
16897
16917
|
return e;
|
|
16898
|
-
},
|
|
16918
|
+
}, Hn = Uc, wS = Fc, Pr = qs, Hs = xs, Pn = ia, LS = Hs("Object.prototype.toString"), Bc = oa(), Mr = typeof globalThis > "u" ? Cs : globalThis, cs = wS(), Qs = Hs("String.prototype.slice"), wa = Object.getPrototypeOf, PS = Hs("Array.prototype.indexOf", !0) || function(e, t) {
|
|
16899
16919
|
for (var n = 0; n < e.length; n += 1)
|
|
16900
16920
|
if (e[n] === t)
|
|
16901
16921
|
return n;
|
|
16902
16922
|
return -1;
|
|
16903
|
-
},
|
|
16904
|
-
Bc && Pn && wa ?
|
|
16923
|
+
}, Qn = { __proto__: null };
|
|
16924
|
+
Bc && Pn && wa ? Hn(cs, function(e) {
|
|
16905
16925
|
var t = new Mr[e]();
|
|
16906
16926
|
if (Symbol.toStringTag in t) {
|
|
16907
16927
|
var n = wa(t), a = Pn(n, Symbol.toStringTag);
|
|
@@ -16909,15 +16929,15 @@ Bc && Pn && wa ? xn(cs, function(e) {
|
|
|
16909
16929
|
var s = wa(n);
|
|
16910
16930
|
a = Pn(s, Symbol.toStringTag);
|
|
16911
16931
|
}
|
|
16912
|
-
|
|
16932
|
+
Qn["$" + e] = Pr(a.get);
|
|
16913
16933
|
}
|
|
16914
|
-
}) :
|
|
16934
|
+
}) : Hn(cs, function(e) {
|
|
16915
16935
|
var t = new Mr[e](), n = t.slice || t.set;
|
|
16916
|
-
n && (
|
|
16936
|
+
n && (Qn["$" + e] = Pr(n));
|
|
16917
16937
|
});
|
|
16918
16938
|
var MS = function(e) {
|
|
16919
16939
|
var t = !1;
|
|
16920
|
-
return
|
|
16940
|
+
return Hn(Qn, function(n, a) {
|
|
16921
16941
|
if (!t)
|
|
16922
16942
|
try {
|
|
16923
16943
|
"$" + n(e) === a && (t = Qs(a, 1));
|
|
@@ -16926,7 +16946,7 @@ var MS = function(e) {
|
|
|
16926
16946
|
}), t;
|
|
16927
16947
|
}, DS = function(e) {
|
|
16928
16948
|
var t = !1;
|
|
16929
|
-
return
|
|
16949
|
+
return Hn(Qn, function(n, a) {
|
|
16930
16950
|
if (!t)
|
|
16931
16951
|
try {
|
|
16932
16952
|
n(e), t = Qs(a, 1);
|
|
@@ -16941,33 +16961,33 @@ var MS = function(e) {
|
|
|
16941
16961
|
return PS(cs, t) > -1 ? t : t !== "Object" ? !1 : DS(e);
|
|
16942
16962
|
}
|
|
16943
16963
|
return Pn ? MS(e) : null;
|
|
16944
|
-
},
|
|
16964
|
+
}, Yn = Uc, US = Fc, Dr = qs, Ys = xs, Mn = ia, FS = Ys("Object.prototype.toString"), Gc = oa(), Cr = typeof globalThis > "u" ? Cs : globalThis, ls = US(), js = Ys("String.prototype.slice"), La = Object.getPrototypeOf, BS = Ys("Array.prototype.indexOf", !0) || function(e, t) {
|
|
16945
16965
|
for (var n = 0; n < e.length; n += 1)
|
|
16946
16966
|
if (e[n] === t)
|
|
16947
16967
|
return n;
|
|
16948
16968
|
return -1;
|
|
16949
|
-
},
|
|
16950
|
-
Gc && Mn &&
|
|
16969
|
+
}, jn = { __proto__: null };
|
|
16970
|
+
Gc && Mn && La ? Yn(ls, function(e) {
|
|
16951
16971
|
var t = new Cr[e]();
|
|
16952
16972
|
if (Symbol.toStringTag in t) {
|
|
16953
|
-
var n =
|
|
16973
|
+
var n = La(t), a = Mn(n, Symbol.toStringTag);
|
|
16954
16974
|
if (!a) {
|
|
16955
|
-
var s =
|
|
16975
|
+
var s = La(n);
|
|
16956
16976
|
a = Mn(s, Symbol.toStringTag);
|
|
16957
16977
|
}
|
|
16958
|
-
|
|
16978
|
+
jn["$" + e] = Dr(a.get);
|
|
16959
16979
|
}
|
|
16960
|
-
}) :
|
|
16980
|
+
}) : Yn(ls, function(e) {
|
|
16961
16981
|
var t = new Cr[e](), n = t.slice || t.set;
|
|
16962
|
-
n && (
|
|
16982
|
+
n && (jn["$" + e] = Dr(n));
|
|
16963
16983
|
});
|
|
16964
16984
|
var GS = function(e) {
|
|
16965
16985
|
var t = !1;
|
|
16966
|
-
return
|
|
16986
|
+
return Yn(
|
|
16967
16987
|
// eslint-disable-next-line no-extra-parens
|
|
16968
16988
|
/** @type {Record<`\$${TypedArrayName}`, Getter>} */
|
|
16969
16989
|
/** @type {any} */
|
|
16970
|
-
|
|
16990
|
+
jn,
|
|
16971
16991
|
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
16972
16992
|
function(n, a) {
|
|
16973
16993
|
if (!t)
|
|
@@ -16979,11 +16999,11 @@ var GS = function(e) {
|
|
|
16979
16999
|
), t;
|
|
16980
17000
|
}, VS = function(e) {
|
|
16981
17001
|
var t = !1;
|
|
16982
|
-
return
|
|
17002
|
+
return Yn(
|
|
16983
17003
|
// eslint-disable-next-line no-extra-parens
|
|
16984
17004
|
/** @type {Record<`\$${TypedArrayName}`, Getter>} */
|
|
16985
17005
|
/** @type {any} */
|
|
16986
|
-
|
|
17006
|
+
jn,
|
|
16987
17007
|
/** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
16988
17008
|
function(n, a) {
|
|
16989
17009
|
if (!t)
|
|
@@ -17040,14 +17060,14 @@ var GS = function(e) {
|
|
|
17040
17060
|
return a(b) === "Uint8ClampedArray";
|
|
17041
17061
|
}
|
|
17042
17062
|
e.isUint8ClampedArray = O;
|
|
17043
|
-
function
|
|
17063
|
+
function R(b) {
|
|
17044
17064
|
return a(b) === "Uint16Array";
|
|
17045
17065
|
}
|
|
17046
|
-
e.isUint16Array =
|
|
17047
|
-
function
|
|
17066
|
+
e.isUint16Array = R;
|
|
17067
|
+
function w(b) {
|
|
17048
17068
|
return a(b) === "Uint32Array";
|
|
17049
17069
|
}
|
|
17050
|
-
e.isUint32Array =
|
|
17070
|
+
e.isUint32Array = w;
|
|
17051
17071
|
function v(b) {
|
|
17052
17072
|
return a(b) === "Int8Array";
|
|
17053
17073
|
}
|
|
@@ -17148,10 +17168,10 @@ var GS = function(e) {
|
|
|
17148
17168
|
return l(b) === "[object Generator]";
|
|
17149
17169
|
}
|
|
17150
17170
|
e.isGeneratorObject = K;
|
|
17151
|
-
function
|
|
17171
|
+
function we(b) {
|
|
17152
17172
|
return l(b) === "[object WebAssembly.Module]";
|
|
17153
17173
|
}
|
|
17154
|
-
e.isWebAssemblyCompiledModule =
|
|
17174
|
+
e.isWebAssemblyCompiledModule = we;
|
|
17155
17175
|
function mt(b) {
|
|
17156
17176
|
return g(b, m);
|
|
17157
17177
|
}
|
|
@@ -17347,19 +17367,19 @@ var YS = ms.exports;
|
|
|
17347
17367
|
if (Q(S))
|
|
17348
17368
|
return y(S);
|
|
17349
17369
|
}
|
|
17350
|
-
var K = "",
|
|
17351
|
-
if (_(S) && (
|
|
17370
|
+
var K = "", we = !1, mt = ["{", "}"];
|
|
17371
|
+
if (_(S) && (we = !0, mt = ["[", "]"]), V(S)) {
|
|
17352
17372
|
var ln = S.name ? ": " + S.name : "";
|
|
17353
17373
|
K = " [Function" + ln + "]";
|
|
17354
17374
|
}
|
|
17355
|
-
if (B(S) && (K = " " + RegExp.prototype.toString.call(S)), H(S) && (K = " " + Date.prototype.toUTCString.call(S)), Q(S) && (K = " " + y(S)), Y.length === 0 && (!
|
|
17375
|
+
if (B(S) && (K = " " + RegExp.prototype.toString.call(S)), H(S) && (K = " " + Date.prototype.toUTCString.call(S)), Q(S) && (K = " " + y(S)), Y.length === 0 && (!we || S.length == 0))
|
|
17356
17376
|
return mt[0] + K + mt[1];
|
|
17357
17377
|
if (N < 0)
|
|
17358
17378
|
return B(S) ? k.stylize(RegExp.prototype.toString.call(S), "regexp") : k.stylize("[Object]", "special");
|
|
17359
17379
|
k.seen.push(S);
|
|
17360
17380
|
var bt;
|
|
17361
|
-
return
|
|
17362
|
-
return g(k, S, N, q, mn,
|
|
17381
|
+
return we ? bt = T(k, S, N, q, Y) : bt = Y.map(function(mn) {
|
|
17382
|
+
return g(k, S, N, q, mn, we);
|
|
17363
17383
|
}), k.seen.pop(), f(bt, K, mt);
|
|
17364
17384
|
}
|
|
17365
17385
|
function d(k, S) {
|
|
@@ -17369,7 +17389,7 @@ var YS = ms.exports;
|
|
|
17369
17389
|
var N = "'" + JSON.stringify(S).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
17370
17390
|
return k.stylize(N, "string");
|
|
17371
17391
|
}
|
|
17372
|
-
if (
|
|
17392
|
+
if (w(S))
|
|
17373
17393
|
return k.stylize("" + S, "number");
|
|
17374
17394
|
if (h(S))
|
|
17375
17395
|
return k.stylize("" + S, "boolean");
|
|
@@ -17404,13 +17424,13 @@ var YS = ms.exports;
|
|
|
17404
17424
|
var q, j, K;
|
|
17405
17425
|
if (K = Object.getOwnPropertyDescriptor(S, X) || { value: S[X] }, K.get ? K.set ? j = k.stylize("[Getter/Setter]", "special") : j = k.stylize("[Getter]", "special") : K.set && (j = k.stylize("[Setter]", "special")), et(C, X) || (q = "[" + X + "]"), j || (k.seen.indexOf(K.value) < 0 ? (O(N) ? j = u(k, K.value, null) : j = u(k, K.value, N - 1), j.indexOf(`
|
|
17406
17426
|
`) > -1 && (Y ? j = j.split(`
|
|
17407
|
-
`).map(function(
|
|
17408
|
-
return " " +
|
|
17427
|
+
`).map(function(we) {
|
|
17428
|
+
return " " + we;
|
|
17409
17429
|
}).join(`
|
|
17410
17430
|
`).slice(2) : j = `
|
|
17411
17431
|
` + j.split(`
|
|
17412
|
-
`).map(function(
|
|
17413
|
-
return " " +
|
|
17432
|
+
`).map(function(we) {
|
|
17433
|
+
return " " + we;
|
|
17414
17434
|
}).join(`
|
|
17415
17435
|
`))) : j = k.stylize("[Circular]", "special")), I(q)) {
|
|
17416
17436
|
if (Y && X.match(/^\d+$/))
|
|
@@ -17441,14 +17461,14 @@ var YS = ms.exports;
|
|
|
17441
17461
|
return k === null;
|
|
17442
17462
|
}
|
|
17443
17463
|
e.isNull = O;
|
|
17444
|
-
function
|
|
17464
|
+
function R(k) {
|
|
17445
17465
|
return k == null;
|
|
17446
17466
|
}
|
|
17447
|
-
e.isNullOrUndefined =
|
|
17448
|
-
function
|
|
17467
|
+
e.isNullOrUndefined = R;
|
|
17468
|
+
function w(k) {
|
|
17449
17469
|
return typeof k == "number";
|
|
17450
17470
|
}
|
|
17451
|
-
e.isNumber =
|
|
17471
|
+
e.isNumber = w;
|
|
17452
17472
|
function v(k) {
|
|
17453
17473
|
return typeof k == "string";
|
|
17454
17474
|
}
|
|
@@ -17599,15 +17619,15 @@ var YS = ms.exports;
|
|
|
17599
17619
|
), S;
|
|
17600
17620
|
}
|
|
17601
17621
|
e.callbackify = Ee;
|
|
17602
|
-
})(
|
|
17603
|
-
const { inherits: jS, format:
|
|
17622
|
+
})(sa);
|
|
17623
|
+
const { inherits: jS, format: Pa } = sa;
|
|
17604
17624
|
function dt(e, t, n = Error) {
|
|
17605
17625
|
if (!e) throw new Error("Avvio error code must not be empty");
|
|
17606
17626
|
if (!t) throw new Error("Avvio base error message must not be empty");
|
|
17607
17627
|
function a(s, o, r) {
|
|
17608
17628
|
if (!new.target)
|
|
17609
17629
|
return new a(s, o, r);
|
|
17610
|
-
Error.captureStackTrace(this, a), this.code = e, this.message = t, this.name = "AvvioError", s && o && r ? this.message =
|
|
17630
|
+
Error.captureStackTrace(this, a), this.code = e, this.message = t, this.name = "AvvioError", s && o && r ? this.message = Pa(t, s, o, r) : s && o ? this.message = Pa(t, s, o) : s ? this.message = Pa(t, s) : this.message = t;
|
|
17611
17631
|
}
|
|
17612
17632
|
return a.prototype[Symbol.toStringTag] = "Error", a.prototype.toString = function() {
|
|
17613
17633
|
return `${this.name} [${this.code}]: ${this.message}`;
|
|
@@ -17661,12 +17681,12 @@ var Vc = {
|
|
|
17661
17681
|
return n + s(u ? "└" : "├") + s("─") + s(d ? "┬" : "─") + " " + e(l, y, a).slice(n.length + 2);
|
|
17662
17682
|
}).join("");
|
|
17663
17683
|
};
|
|
17664
|
-
const KS = $S, Ur = Symbol("avvio.TimeTree.untrackNode"),
|
|
17684
|
+
const KS = $S, Ur = Symbol("avvio.TimeTree.untrackNode"), Ma = Symbol("avvio.TimeTree.trackNode"), Fr = Symbol("avvio.TimeTree.getParent"), Br = Symbol("avvio.TimeTree.getNode"), Gr = Symbol("avvio.TimeTree.addNode");
|
|
17665
17685
|
let WS = class {
|
|
17666
17686
|
constructor() {
|
|
17667
17687
|
this.root = null, this.tableId = /* @__PURE__ */ new Map(), this.tableLabel = /* @__PURE__ */ new Map();
|
|
17668
17688
|
}
|
|
17669
|
-
[
|
|
17689
|
+
[Ma](e) {
|
|
17670
17690
|
this.tableId.set(e.id, e), this.tableLabel.has(e.label) ? this.tableLabel.get(e.label).push(e) : this.tableLabel.set(e.label, [e]);
|
|
17671
17691
|
}
|
|
17672
17692
|
[Ur](e) {
|
|
@@ -17694,7 +17714,7 @@ let WS = class {
|
|
|
17694
17714
|
label: t,
|
|
17695
17715
|
start: n,
|
|
17696
17716
|
nodes: []
|
|
17697
|
-
}, this[
|
|
17717
|
+
}, this[Ma](this.root), this.root.id;
|
|
17698
17718
|
const a = this[Fr](e), s = `${t}-${Math.random()}`, o = {
|
|
17699
17719
|
id: s,
|
|
17700
17720
|
parent: e,
|
|
@@ -17702,7 +17722,7 @@ let WS = class {
|
|
|
17702
17722
|
label: t,
|
|
17703
17723
|
nodes: []
|
|
17704
17724
|
};
|
|
17705
|
-
return a.nodes.push(o), this[
|
|
17725
|
+
return a.nodes.push(o), this[Ma](o), s;
|
|
17706
17726
|
}
|
|
17707
17727
|
start(e, t, n = Date.now()) {
|
|
17708
17728
|
return this[Gr](e, t, n);
|
|
@@ -17719,12 +17739,12 @@ let WS = class {
|
|
|
17719
17739
|
return KS(t);
|
|
17720
17740
|
}
|
|
17721
17741
|
};
|
|
17722
|
-
var zS = WS, $s = { exports: {} }, us = { exports: {} },
|
|
17742
|
+
var zS = WS, $s = { exports: {} }, us = { exports: {} }, Da, Vr;
|
|
17723
17743
|
function JS() {
|
|
17724
|
-
if (Vr) return
|
|
17744
|
+
if (Vr) return Da;
|
|
17725
17745
|
Vr = 1;
|
|
17726
17746
|
var e = 1e3, t = e * 60, n = t * 60, a = n * 24, s = a * 7, o = a * 365.25;
|
|
17727
|
-
|
|
17747
|
+
Da = function(u, d) {
|
|
17728
17748
|
d = d || {};
|
|
17729
17749
|
var y = typeof u;
|
|
17730
17750
|
if (y === "string" && u.length > 0)
|
|
@@ -17799,7 +17819,7 @@ function JS() {
|
|
|
17799
17819
|
var g = d >= y * 1.5;
|
|
17800
17820
|
return Math.round(u / y) + " " + T + (g ? "s" : "");
|
|
17801
17821
|
}
|
|
17802
|
-
return
|
|
17822
|
+
return Da;
|
|
17803
17823
|
}
|
|
17804
17824
|
function XS(e) {
|
|
17805
17825
|
n.debug = n, n.default = n, n.coerce = l, n.disable = o, n.enable = s, n.enabled = r, n.humanize = JS(), n.destroy = m, Object.keys(e).forEach((u) => {
|
|
@@ -17817,17 +17837,17 @@ function XS(e) {
|
|
|
17817
17837
|
function f(..._) {
|
|
17818
17838
|
if (!f.enabled)
|
|
17819
17839
|
return;
|
|
17820
|
-
const h = f, O = Number(/* @__PURE__ */ new Date()),
|
|
17821
|
-
h.diff =
|
|
17822
|
-
let
|
|
17840
|
+
const h = f, O = Number(/* @__PURE__ */ new Date()), R = O - (d || O);
|
|
17841
|
+
h.diff = R, h.prev = d, h.curr = O, d = O, _[0] = n.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
|
|
17842
|
+
let w = 0;
|
|
17823
17843
|
_[0] = _[0].replace(/%([a-zA-Z%])/g, (v, P) => {
|
|
17824
17844
|
if (v === "%%")
|
|
17825
17845
|
return "%";
|
|
17826
|
-
|
|
17846
|
+
w++;
|
|
17827
17847
|
const I = n.formatters[P];
|
|
17828
17848
|
if (typeof I == "function") {
|
|
17829
|
-
const B = _[
|
|
17830
|
-
v = I.call(h, B), _.splice(
|
|
17849
|
+
const B = _[w];
|
|
17850
|
+
v = I.call(h, B), _.splice(w, 1), w--;
|
|
17831
17851
|
}
|
|
17832
17852
|
return v;
|
|
17833
17853
|
}), n.formatArgs.call(h, _), (h.log || n.log).apply(h, _);
|
|
@@ -18017,9 +18037,9 @@ var ZS = XS;
|
|
|
18017
18037
|
};
|
|
18018
18038
|
})(us, us.exports);
|
|
18019
18039
|
var qc = us.exports;
|
|
18020
|
-
const eE = Tc, tE = bc.EventEmitter, nE =
|
|
18040
|
+
const eE = Tc, tE = bc.EventEmitter, nE = sa.inherits, Te = qc("avvio"), { AVV_ERR_READY_TIMEOUT: aE } = Vc, Ca = Symbol.for("plugin-meta");
|
|
18021
18041
|
function sE(e, t) {
|
|
18022
|
-
return e[
|
|
18042
|
+
return e[Ca] && e[Ca].name ? e[Ca].name : typeof t < "u" && typeof t != "function" && t.name ? t.name : e.name ? e.name : e.toString().split(`
|
|
18023
18043
|
`).slice(0, 2).map((n) => n.trim()).join(" -- ");
|
|
18024
18044
|
}
|
|
18025
18045
|
function oE() {
|
|
@@ -18130,29 +18150,29 @@ function iE() {
|
|
|
18130
18150
|
$s.exports = Yt;
|
|
18131
18151
|
$s.exports.loadPlugin = Ks;
|
|
18132
18152
|
var cE = $s.exports;
|
|
18133
|
-
const qr = Tc, lE = bc.EventEmitter, mE =
|
|
18134
|
-
AVV_ERR_EXPOSE_ALREADY_DEFINED:
|
|
18153
|
+
const qr = Tc, lE = bc.EventEmitter, mE = sa.inherits, {
|
|
18154
|
+
AVV_ERR_EXPOSE_ALREADY_DEFINED: Ua,
|
|
18135
18155
|
AVV_ERR_CALLBACK_NOT_FN: tn,
|
|
18136
18156
|
AVV_ERR_PLUGIN_NOT_VALID: uE,
|
|
18137
18157
|
AVV_ERR_ROOT_PLG_BOOTED: dE,
|
|
18138
18158
|
AVV_ERR_READY_TIMEOUT: pE
|
|
18139
|
-
} = Vc, TE = zS, ds = cE, xt = qc("avvio"),
|
|
18159
|
+
} = Vc, TE = zS, ds = cE, xt = qc("avvio"), $n = Symbol("kAvvio"), Fa = Symbol("kThenifyDoNotWrap");
|
|
18140
18160
|
function yE(e, t, n) {
|
|
18141
18161
|
const a = t.expose || {}, s = a.use || "use", o = a.after || "after", r = a.ready || "ready", c = a.onClose || "onClose", l = a.close || "close";
|
|
18142
18162
|
if (e[s])
|
|
18143
|
-
throw new
|
|
18163
|
+
throw new Ua(s);
|
|
18144
18164
|
if (e[o])
|
|
18145
|
-
throw new
|
|
18165
|
+
throw new Ua(o);
|
|
18146
18166
|
if (e[r])
|
|
18147
|
-
throw new
|
|
18167
|
+
throw new Ua(r);
|
|
18148
18168
|
e[s] = function(m, u) {
|
|
18149
18169
|
return n.use(m, u), this;
|
|
18150
|
-
}, Object.defineProperty(e, "then", { get: xc.bind(n) }), e[
|
|
18151
|
-
return typeof m != "function" ? n._loadRegistered() : (n.after(
|
|
18170
|
+
}, Object.defineProperty(e, "then", { get: xc.bind(n) }), e[$n] = !0, e[o] = function(m) {
|
|
18171
|
+
return typeof m != "function" ? n._loadRegistered() : (n.after(Ba(m, this)), this);
|
|
18152
18172
|
}, e[r] = function(m) {
|
|
18153
18173
|
if (m && typeof m != "function")
|
|
18154
18174
|
throw new tn(r, typeof m);
|
|
18155
|
-
return n.ready(m ?
|
|
18175
|
+
return n.ready(m ? Ba(m, this) : void 0);
|
|
18156
18176
|
}, e[c] = function(m) {
|
|
18157
18177
|
if (typeof m != "function")
|
|
18158
18178
|
throw new tn(c, typeof m);
|
|
@@ -18160,7 +18180,7 @@ function yE(e, t, n) {
|
|
|
18160
18180
|
}, e[l] = function(m) {
|
|
18161
18181
|
if (m && typeof m != "function")
|
|
18162
18182
|
throw new tn(l, typeof m);
|
|
18163
|
-
return m ? (n.close(
|
|
18183
|
+
return m ? (n.close(Ba(m, this)), this) : n.close();
|
|
18164
18184
|
};
|
|
18165
18185
|
}
|
|
18166
18186
|
function ue(e, t, n) {
|
|
@@ -18207,7 +18227,7 @@ function fE(e) {
|
|
|
18207
18227
|
throw new uE(typeof e);
|
|
18208
18228
|
return e;
|
|
18209
18229
|
}
|
|
18210
|
-
ue.prototype[
|
|
18230
|
+
ue.prototype[$n] = !0;
|
|
18211
18231
|
ue.prototype.use = function(e, t) {
|
|
18212
18232
|
return this._lastUsed = this._addPlugin(e, t, !1), this;
|
|
18213
18233
|
};
|
|
@@ -18294,19 +18314,19 @@ function xc() {
|
|
|
18294
18314
|
xt("thenify returning null because we are already booted");
|
|
18295
18315
|
return;
|
|
18296
18316
|
}
|
|
18297
|
-
if (this[
|
|
18298
|
-
this[
|
|
18317
|
+
if (this[Fa]) {
|
|
18318
|
+
this[Fa] = !1;
|
|
18299
18319
|
return;
|
|
18300
18320
|
}
|
|
18301
|
-
return xt("thenify"), (e, t) => this._loadRegistered().then(() => (this[
|
|
18321
|
+
return xt("thenify"), (e, t) => this._loadRegistered().then(() => (this[Fa] = !0, e(this._server)), t);
|
|
18302
18322
|
}
|
|
18303
18323
|
function Hc(e, t) {
|
|
18304
18324
|
const n = this._server, a = this._error;
|
|
18305
18325
|
let s;
|
|
18306
18326
|
if (this._error = null, e.length === 0)
|
|
18307
|
-
this._error = a, s = e(), s && !s[
|
|
18327
|
+
this._error = a, s = e(), s && !s[$n] && typeof s.then == "function" ? s.then(() => G.nextTick(t), (o) => G.nextTick(t, o)) : G.nextTick(t);
|
|
18308
18328
|
else if (e.length === 1)
|
|
18309
|
-
s = e(a), s && !s[
|
|
18329
|
+
s = e(a), s && !s[$n] && typeof s.then == "function" ? s.then(() => G.nextTick(t), (o) => G.nextTick(t, o)) : G.nextTick(t);
|
|
18310
18330
|
else if (this._timeout === 0) {
|
|
18311
18331
|
const o = (r) => {
|
|
18312
18332
|
this._error = r, t(this._error);
|
|
@@ -18349,7 +18369,7 @@ function _E(e, t) {
|
|
|
18349
18369
|
}, s) : G.nextTick(s)) : e(this, s);
|
|
18350
18370
|
}
|
|
18351
18371
|
}
|
|
18352
|
-
function
|
|
18372
|
+
function Ba(e, t) {
|
|
18353
18373
|
return n.bind(t);
|
|
18354
18374
|
function n(a, s) {
|
|
18355
18375
|
let o;
|
|
@@ -18435,7 +18455,7 @@ const OE = ({
|
|
|
18435
18455
|
f = !0;
|
|
18436
18456
|
};
|
|
18437
18457
|
const _ = bE(e, n, a, {
|
|
18438
|
-
version: "1.
|
|
18458
|
+
version: "1.15.1",
|
|
18439
18459
|
onDeepLinkHandled: s,
|
|
18440
18460
|
videoPlayerController: o,
|
|
18441
18461
|
onContentActivate: r,
|
|
@@ -18461,15 +18481,15 @@ const OE = ({
|
|
|
18461
18481
|
export {
|
|
18462
18482
|
_s as A,
|
|
18463
18483
|
$ as C,
|
|
18464
|
-
|
|
18484
|
+
$a as I,
|
|
18465
18485
|
Am as N,
|
|
18466
18486
|
Dm as P,
|
|
18467
18487
|
M as Q,
|
|
18468
18488
|
W as S,
|
|
18469
18489
|
U as a,
|
|
18470
|
-
|
|
18471
|
-
|
|
18472
|
-
|
|
18490
|
+
Ya as b,
|
|
18491
|
+
Rm as c,
|
|
18492
|
+
wm as d,
|
|
18473
18493
|
vm as e,
|
|
18474
18494
|
ie as f,
|
|
18475
18495
|
Pm as g,
|
|
@@ -18482,5 +18502,5 @@ export {
|
|
|
18482
18502
|
OE as n,
|
|
18483
18503
|
hl as p,
|
|
18484
18504
|
Op as u,
|
|
18485
|
-
|
|
18505
|
+
Bn as v
|
|
18486
18506
|
};
|