@streamlayer/react 1.3.2 → 1.3.4
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/provider.d.ts +14 -2
- package/lib/cjs/advertisement.js +1 -1
- package/lib/cjs/useStreamLayerApp2.js +7 -7
- package/lib/dist/cjs/masters.js +42 -42
- package/lib/dist/es/masters.js +1135 -1140
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +107 -104
- package/lib/es/useStreamLayerApp2.js +787 -792
- package/lib/index.d.ts +1 -1
- package/lib/style.css +1 -1
- package/package.json +13 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var p = (e, t, n) =>
|
|
4
|
-
import { useState as
|
|
5
|
-
function
|
|
1
|
+
var Ac = Object.defineProperty;
|
|
2
|
+
var wc = (e, t, n) => t in e ? Ac(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var p = (e, t, n) => wc(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { useState as Rc, useEffect as Lc } from "react";
|
|
5
|
+
function Mc(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
8
|
var No = { exports: {} }, te = No.exports = {}, Oe, Ae;
|
|
@@ -39,7 +39,7 @@ function vo(e) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Pc(e) {
|
|
43
43
|
if (Ae === clearTimeout)
|
|
44
44
|
return clearTimeout(e);
|
|
45
45
|
if ((Ae === La || !Ae) && clearTimeout)
|
|
@@ -55,19 +55,19 @@ function Mc(e) {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
var Qe = [], At = !1, lt, yn = -1;
|
|
58
|
-
function
|
|
58
|
+
function Dc() {
|
|
59
59
|
!At || !lt || (At = !1, lt.length ? Qe = lt.concat(Qe) : yn = -1, Qe.length && Oo());
|
|
60
60
|
}
|
|
61
61
|
function Oo() {
|
|
62
62
|
if (!At) {
|
|
63
|
-
var e = vo(
|
|
63
|
+
var e = vo(Dc);
|
|
64
64
|
At = !0;
|
|
65
65
|
for (var t = Qe.length; t; ) {
|
|
66
66
|
for (lt = Qe, Qe = []; ++yn < t; )
|
|
67
67
|
lt && lt[yn].run();
|
|
68
68
|
yn = -1, t = Qe.length;
|
|
69
69
|
}
|
|
70
|
-
lt = null, At = !1,
|
|
70
|
+
lt = null, At = !1, Pc(e);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
te.nextTick = function(e) {
|
|
@@ -89,17 +89,17 @@ te.env = {};
|
|
|
89
89
|
te.argv = [];
|
|
90
90
|
te.version = "";
|
|
91
91
|
te.versions = {};
|
|
92
|
-
function
|
|
92
|
+
function Ke() {
|
|
93
93
|
}
|
|
94
|
-
te.on =
|
|
95
|
-
te.addListener =
|
|
96
|
-
te.once =
|
|
97
|
-
te.off =
|
|
98
|
-
te.removeListener =
|
|
99
|
-
te.removeAllListeners =
|
|
100
|
-
te.emit =
|
|
101
|
-
te.prependListener =
|
|
102
|
-
te.prependOnceListener =
|
|
94
|
+
te.on = Ke;
|
|
95
|
+
te.addListener = Ke;
|
|
96
|
+
te.once = Ke;
|
|
97
|
+
te.off = Ke;
|
|
98
|
+
te.removeListener = Ke;
|
|
99
|
+
te.removeAllListeners = Ke;
|
|
100
|
+
te.emit = Ke;
|
|
101
|
+
te.prependListener = Ke;
|
|
102
|
+
te.prependOnceListener = Ke;
|
|
103
103
|
te.listeners = function(e) {
|
|
104
104
|
return [];
|
|
105
105
|
};
|
|
@@ -115,19 +115,19 @@ te.chdir = function(e) {
|
|
|
115
115
|
te.umask = function() {
|
|
116
116
|
return 0;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
119
|
-
const Fs = /* @__PURE__ */
|
|
118
|
+
var Cc = No.exports;
|
|
119
|
+
const Fs = /* @__PURE__ */ Mc(Cc);
|
|
120
120
|
var as = { exports: {} };
|
|
121
|
-
function
|
|
121
|
+
function Uc(e) {
|
|
122
122
|
try {
|
|
123
123
|
return JSON.stringify(e);
|
|
124
124
|
} catch {
|
|
125
125
|
return '"[Circular]"';
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
130
|
-
var a = n && n.stringify ||
|
|
128
|
+
var Fc = Gc;
|
|
129
|
+
function Gc(e, t, n) {
|
|
130
|
+
var a = n && n.stringify || Uc, s = 1;
|
|
131
131
|
if (typeof e == "object" && e !== null) {
|
|
132
132
|
var r = t.length + s;
|
|
133
133
|
if (r === 1) return e;
|
|
@@ -184,9 +184,9 @@ function Fc(e, t, n) {
|
|
|
184
184
|
}
|
|
185
185
|
return d === -1 ? e : (d < y && (m += e.slice(d)), m);
|
|
186
186
|
}
|
|
187
|
-
const Gs =
|
|
188
|
-
as.exports =
|
|
189
|
-
const Xt =
|
|
187
|
+
const Gs = Fc;
|
|
188
|
+
as.exports = $e;
|
|
189
|
+
const Xt = Zc().console || {}, Bc = {
|
|
190
190
|
mapHttpRequest: cn,
|
|
191
191
|
mapHttpResponse: cn,
|
|
192
192
|
wrapRequestSerializer: ta,
|
|
@@ -200,7 +200,7 @@ const Xt = Xc().console || {}, Gc = {
|
|
|
200
200
|
function An(e, t) {
|
|
201
201
|
return e === "silent" ? 1 / 0 : t.levels.values[e];
|
|
202
202
|
}
|
|
203
|
-
const ss = Symbol("pino.logFuncs"), Ma = Symbol("pino.hierarchy"),
|
|
203
|
+
const ss = Symbol("pino.logFuncs"), Ma = Symbol("pino.hierarchy"), Vc = {
|
|
204
204
|
error: "log",
|
|
205
205
|
fatal: "error",
|
|
206
206
|
warn: "error",
|
|
@@ -215,33 +215,33 @@ function Bs(e, t) {
|
|
|
215
215
|
};
|
|
216
216
|
t[Ma] = n;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function xc(e, t, n) {
|
|
219
219
|
const a = {};
|
|
220
220
|
t.forEach((s) => {
|
|
221
|
-
a[s] = n[s] ? n[s] : Xt[s] || Xt[
|
|
221
|
+
a[s] = n[s] ? n[s] : Xt[s] || Xt[Vc[s] || "log"] || wt;
|
|
222
222
|
}), e[ss] = a;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function qc(e, t) {
|
|
225
225
|
return Array.isArray(e) ? e.filter(function(a) {
|
|
226
226
|
return a !== "!stdSerializers.err";
|
|
227
227
|
}) : e === !0 ? Object.keys(t) : !1;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function $e(e) {
|
|
230
230
|
e = e || {}, e.browser = e.browser || {};
|
|
231
231
|
const t = e.browser.transmit;
|
|
232
232
|
if (t && typeof t.send != "function")
|
|
233
233
|
throw Error("pino: transmit option must have a send function");
|
|
234
234
|
const n = e.browser.write || Xt;
|
|
235
235
|
e.browser.write && (e.browser.asObject = !0);
|
|
236
|
-
const a = e.serializers || {}, s =
|
|
236
|
+
const a = e.serializers || {}, s = qc(e.browser.serialize, a);
|
|
237
237
|
let r = e.browser.serialize;
|
|
238
238
|
Array.isArray(e.browser.serialize) && e.browser.serialize.indexOf("!stdSerializers.err") > -1 && (r = !1);
|
|
239
239
|
const o = Object.keys(e.customLevels || {}), c = ["error", "fatal", "warn", "info", "debug", "trace"].concat(o);
|
|
240
|
-
typeof n == "function" && c.forEach(function(
|
|
241
|
-
n[
|
|
240
|
+
typeof n == "function" && c.forEach(function(h) {
|
|
241
|
+
n[h] = n;
|
|
242
242
|
}), (e.enabled === !1 || e.browser.disabled) && (e.level = "silent");
|
|
243
243
|
const l = e.level || "info", m = Object.create(n);
|
|
244
|
-
m.log || (m.log = wt),
|
|
244
|
+
m.log || (m.log = wt), xc(m, c, n), Bs({}, m), Object.defineProperty(m, "levelVal", {
|
|
245
245
|
get: d
|
|
246
246
|
}), Object.defineProperty(m, "level", {
|
|
247
247
|
get: y,
|
|
@@ -253,12 +253,12 @@ function Ke(e) {
|
|
|
253
253
|
asObject: e.browser.asObject,
|
|
254
254
|
formatters: e.browser.formatters,
|
|
255
255
|
levels: c,
|
|
256
|
-
timestamp:
|
|
256
|
+
timestamp: zc(e),
|
|
257
257
|
messageKey: e.messageKey || "msg",
|
|
258
258
|
onChild: e.onChild || wt
|
|
259
259
|
};
|
|
260
|
-
m.levels =
|
|
261
|
-
return f.call(this, u, ...
|
|
260
|
+
m.levels = Hc(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 = wt, m.serializers = a, m._serialize = s, m._stdErrSerialize = r, m.child = function(...h) {
|
|
261
|
+
return f.call(this, u, ...h);
|
|
262
262
|
}, t && (m._logEvent = Pa());
|
|
263
263
|
function d() {
|
|
264
264
|
return An(this.level, this);
|
|
@@ -266,14 +266,14 @@ function Ke(e) {
|
|
|
266
266
|
function y() {
|
|
267
267
|
return this._level;
|
|
268
268
|
}
|
|
269
|
-
function T(
|
|
270
|
-
if (
|
|
271
|
-
throw Error("unknown level " +
|
|
272
|
-
this._level =
|
|
269
|
+
function T(h) {
|
|
270
|
+
if (h !== "silent" && !this.levels.values[h])
|
|
271
|
+
throw Error("unknown level " + h);
|
|
272
|
+
this._level = h, it(this, u, m, "error"), it(this, u, m, "fatal"), it(this, u, m, "warn"), it(this, u, m, "info"), it(this, u, m, "debug"), it(this, u, m, "trace"), o.forEach((I) => {
|
|
273
273
|
it(this, u, m, I);
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
|
-
function f(
|
|
276
|
+
function f(h, I, b) {
|
|
277
277
|
if (!I)
|
|
278
278
|
throw new Error("missing bindings for child Pino");
|
|
279
279
|
b = b || {}, s && I.serializers && (b.serializers = I.serializers);
|
|
@@ -290,25 +290,25 @@ function Ke(e) {
|
|
|
290
290
|
A.prototype = this;
|
|
291
291
|
const L = new A(this);
|
|
292
292
|
return Bs(this, L), L.child = function(...N) {
|
|
293
|
-
return f.call(this,
|
|
294
|
-
}, L.level = b.level || this.level,
|
|
293
|
+
return f.call(this, h, ...N);
|
|
294
|
+
}, L.level = b.level || this.level, h.onChild(L), L;
|
|
295
295
|
}
|
|
296
296
|
return m;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
const t = e.customLevels || {}, n = Object.assign({},
|
|
298
|
+
function Hc(e) {
|
|
299
|
+
const t = e.customLevels || {}, n = Object.assign({}, $e.levels.values, t), a = Object.assign({}, $e.levels.labels, Qc(t));
|
|
300
300
|
return {
|
|
301
301
|
values: n,
|
|
302
302
|
labels: a
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Qc(e) {
|
|
306
306
|
const t = {};
|
|
307
307
|
return Object.keys(e).forEach(function(n) {
|
|
308
308
|
t[e[n]] = n;
|
|
309
309
|
}), t;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
$e.levels = {
|
|
312
312
|
values: {
|
|
313
313
|
fatal: 60,
|
|
314
314
|
error: 50,
|
|
@@ -326,9 +326,9 @@ Ke.levels = {
|
|
|
326
326
|
60: "fatal"
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
function
|
|
329
|
+
$e.stdSerializers = Bc;
|
|
330
|
+
$e.stdTimeFunctions = Object.assign({}, { nullTime: wo, epochTime: Ro, unixTime: Jc, isoTime: Xc });
|
|
331
|
+
function Yc(e) {
|
|
332
332
|
const t = [];
|
|
333
333
|
e.bindings && t.push(e.bindings);
|
|
334
334
|
let n = e[Ma];
|
|
@@ -347,16 +347,16 @@ function it(e, t, n, a) {
|
|
|
347
347
|
const r = t.transmit.level || e.level, o = n.levels.values[r];
|
|
348
348
|
if (n.levels.values[a] < o) return;
|
|
349
349
|
}
|
|
350
|
-
e[a] =
|
|
351
|
-
const s =
|
|
352
|
-
s.length !== 0 && (e[a] =
|
|
350
|
+
e[a] = $c(e, t, n, a);
|
|
351
|
+
const s = Yc(e);
|
|
352
|
+
s.length !== 0 && (e[a] = jc(s, e[a]));
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function jc(e, t) {
|
|
355
355
|
return function() {
|
|
356
356
|
return t.apply(this, [...e, ...arguments]);
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function $c(e, t, n, a) {
|
|
360
360
|
return /* @__PURE__ */ function(s) {
|
|
361
361
|
return function() {
|
|
362
362
|
const o = t.timestamp(), c = new Array(arguments.length), l = Object.getPrototypeOf && Object.getPrototypeOf(this) === Xt ? Xt : this;
|
|
@@ -365,7 +365,7 @@ function jc(e, t, n, a) {
|
|
|
365
365
|
if (t.serialize && (rs(c, this._serialize, this.serializers, this._stdErrSerialize), u = !0), t.asObject || t.formatters ? s.call(l, Kc(this, a, c, o, t)) : s.apply(l, c), t.transmit) {
|
|
366
366
|
const d = t.transmit.level || e._level, y = n.levels.values[d], T = n.levels.values[a];
|
|
367
367
|
if (T < y) return;
|
|
368
|
-
|
|
368
|
+
Wc(this, {
|
|
369
369
|
ts: o,
|
|
370
370
|
methodLevel: a,
|
|
371
371
|
methodValue: T,
|
|
@@ -401,12 +401,12 @@ function Kc(e, t, n, a, s) {
|
|
|
401
401
|
function rs(e, t, n, a) {
|
|
402
402
|
for (const s in e)
|
|
403
403
|
if (a && e[s] instanceof Error)
|
|
404
|
-
e[s] =
|
|
404
|
+
e[s] = $e.stdSerializers.err(e[s]);
|
|
405
405
|
else if (typeof e[s] == "object" && !Array.isArray(e[s]) && t)
|
|
406
406
|
for (const r in e[s])
|
|
407
407
|
t.indexOf(r) > -1 && r in n && (e[s][r] = n[r](e[s][r]));
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Wc(e, t, n, a = !1) {
|
|
410
410
|
const s = t.send, r = t.ts, o = t.methodLevel, c = t.methodValue, l = t.val, m = e._logEvent.bindings;
|
|
411
411
|
a || rs(
|
|
412
412
|
n,
|
|
@@ -435,7 +435,7 @@ function Vs(e) {
|
|
|
435
435
|
t[n] === void 0 && (t[n] = e[n]);
|
|
436
436
|
return t;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function zc(e) {
|
|
439
439
|
return typeof e.timestamp == "function" ? e.timestamp : e.timestamp === !1 ? wo : Ro;
|
|
440
440
|
}
|
|
441
441
|
function cn() {
|
|
@@ -452,13 +452,13 @@ function wo() {
|
|
|
452
452
|
function Ro() {
|
|
453
453
|
return Date.now();
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function Jc() {
|
|
456
456
|
return Math.round(Date.now() / 1e3);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Xc() {
|
|
459
459
|
return new Date(Date.now()).toISOString();
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Zc() {
|
|
462
462
|
function e(t) {
|
|
463
463
|
return typeof t < "u" && t;
|
|
464
464
|
}
|
|
@@ -473,33 +473,33 @@ function Xc() {
|
|
|
473
473
|
return e(self) || e(window) || e(this) || {};
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
as.exports.default =
|
|
477
|
-
var
|
|
476
|
+
as.exports.default = $e;
|
|
477
|
+
var el = as.exports.pino = $e;
|
|
478
478
|
function X(e, t) {
|
|
479
479
|
if (!e)
|
|
480
480
|
throw new Error(t);
|
|
481
481
|
}
|
|
482
|
-
const
|
|
482
|
+
const tl = 34028234663852886e22, nl = -34028234663852886e22, al = 4294967295, sl = 2147483647, rl = -2147483648;
|
|
483
483
|
function gn(e) {
|
|
484
484
|
if (typeof e != "number")
|
|
485
485
|
throw new Error("invalid int 32: " + typeof e);
|
|
486
|
-
if (!Number.isInteger(e) || e >
|
|
486
|
+
if (!Number.isInteger(e) || e > sl || e < rl)
|
|
487
487
|
throw new Error("invalid int 32: " + e);
|
|
488
488
|
}
|
|
489
489
|
function Da(e) {
|
|
490
490
|
if (typeof e != "number")
|
|
491
491
|
throw new Error("invalid uint 32: " + typeof e);
|
|
492
|
-
if (!Number.isInteger(e) || e >
|
|
492
|
+
if (!Number.isInteger(e) || e > al || e < 0)
|
|
493
493
|
throw new Error("invalid uint 32: " + e);
|
|
494
494
|
}
|
|
495
495
|
function Lo(e) {
|
|
496
496
|
if (typeof e != "number")
|
|
497
497
|
throw new Error("invalid float 32: " + typeof e);
|
|
498
|
-
if (Number.isFinite(e) && (e >
|
|
498
|
+
if (Number.isFinite(e) && (e > tl || e < nl))
|
|
499
499
|
throw new Error("invalid float 32: " + e);
|
|
500
500
|
}
|
|
501
501
|
const Mo = Symbol("@bufbuild/protobuf/enum-type");
|
|
502
|
-
function
|
|
502
|
+
function ol(e) {
|
|
503
503
|
const t = e[Mo];
|
|
504
504
|
return X(t, "missing enum type on enum object"), t;
|
|
505
505
|
}
|
|
@@ -529,7 +529,7 @@ function Do(e, t, n) {
|
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function il(e, t, n) {
|
|
533
533
|
const a = {};
|
|
534
534
|
for (const s of t) {
|
|
535
535
|
const r = Co(s);
|
|
@@ -638,7 +638,7 @@ class tn {
|
|
|
638
638
|
return Object.getPrototypeOf(this).constructor;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function cl(e, t, n, a) {
|
|
642
642
|
var s;
|
|
643
643
|
const r = (s = a == null ? void 0 : a.localName) !== null && s !== void 0 ? s : t.substring(t.lastIndexOf(".") + 1), o = {
|
|
644
644
|
[r]: function(c) {
|
|
@@ -663,7 +663,7 @@ function il(e, t, n, a) {
|
|
|
663
663
|
}
|
|
664
664
|
}), o;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function ll() {
|
|
667
667
|
let e = 0, t = 0;
|
|
668
668
|
for (let a = 0; a < 28; a += 7) {
|
|
669
669
|
let s = this.buf[this.pos++];
|
|
@@ -708,7 +708,7 @@ function xs(e) {
|
|
|
708
708
|
}
|
|
709
709
|
return r(-24, -18), r(-18, -12), r(-12, -6), r(-6), t ? Fo(a, s) : os(a, s);
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function ml(e, t) {
|
|
712
712
|
let n = os(e, t);
|
|
713
713
|
const a = n.hi & 2147483648;
|
|
714
714
|
a && (n = Fo(n.lo, n.hi));
|
|
@@ -716,14 +716,14 @@ function ll(e, t) {
|
|
|
716
716
|
return a ? "-" + s : s;
|
|
717
717
|
}
|
|
718
718
|
function Uo(e, t) {
|
|
719
|
-
if ({ lo: e, hi: t } =
|
|
719
|
+
if ({ lo: e, hi: t } = ul(e, t), t <= 2097151)
|
|
720
720
|
return String(fn * t + e);
|
|
721
721
|
const n = e & 16777215, a = (e >>> 24 | t << 8) & 16777215, s = t >> 16 & 65535;
|
|
722
722
|
let r = n + a * 6777216 + s * 6710656, o = a + s * 8147497, c = s * 2;
|
|
723
723
|
const l = 1e7;
|
|
724
724
|
return r >= l && (o += Math.floor(r / l), r %= l), o >= l && (c += Math.floor(o / l), o %= l), c.toString() + qs(o) + qs(r);
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function ul(e, t) {
|
|
727
727
|
return { lo: e >>> 0, hi: t >>> 0 };
|
|
728
728
|
}
|
|
729
729
|
function os(e, t) {
|
|
@@ -747,7 +747,7 @@ function Hs(e, t) {
|
|
|
747
747
|
t.push(1);
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function dl() {
|
|
751
751
|
let e = this.buf[this.pos++], t = e & 127;
|
|
752
752
|
if (!(e & 128))
|
|
753
753
|
return this.assertBounds(), t;
|
|
@@ -764,7 +764,7 @@ function ul() {
|
|
|
764
764
|
throw new Error("invalid varint");
|
|
765
765
|
return this.assertBounds(), t >>> 0;
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function pl() {
|
|
768
768
|
const e = new DataView(new ArrayBuffer(8));
|
|
769
769
|
if (typeof BigInt == "function" && typeof e.getBigInt64 == "function" && typeof e.getBigUint64 == "function" && typeof e.setBigInt64 == "function" && typeof e.setBigUint64 == "function" && (typeof Fs != "object" || typeof Fs.env != "object" || !1)) {
|
|
770
770
|
const s = BigInt("-9223372036854775808"), r = BigInt("9223372036854775807"), o = BigInt("0"), c = BigInt("18446744073709551615");
|
|
@@ -820,18 +820,18 @@ function dl() {
|
|
|
820
820
|
return typeof s != "string" && (s = s.toString()), a(s), xs(s);
|
|
821
821
|
},
|
|
822
822
|
dec(s, r) {
|
|
823
|
-
return
|
|
823
|
+
return ml(s, r);
|
|
824
824
|
},
|
|
825
825
|
uDec(s, r) {
|
|
826
826
|
return Uo(s, r);
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
const pe =
|
|
831
|
-
var
|
|
830
|
+
const pe = pl();
|
|
831
|
+
var S;
|
|
832
832
|
(function(e) {
|
|
833
833
|
e[e.DOUBLE = 1] = "DOUBLE", e[e.FLOAT = 2] = "FLOAT", e[e.INT64 = 3] = "INT64", e[e.UINT64 = 4] = "UINT64", e[e.INT32 = 5] = "INT32", e[e.FIXED64 = 6] = "FIXED64", e[e.FIXED32 = 7] = "FIXED32", e[e.BOOL = 8] = "BOOL", e[e.STRING = 9] = "STRING", e[e.BYTES = 12] = "BYTES", e[e.UINT32 = 13] = "UINT32", e[e.SFIXED32 = 15] = "SFIXED32", e[e.SFIXED64 = 16] = "SFIXED64", e[e.SINT32 = 17] = "SINT32", e[e.SINT64 = 18] = "SINT64";
|
|
834
|
-
})(
|
|
834
|
+
})(S || (S = {}));
|
|
835
835
|
var tt;
|
|
836
836
|
(function(e) {
|
|
837
837
|
e[e.BIGINT = 0] = "BIGINT", e[e.STRING = 1] = "STRING";
|
|
@@ -839,7 +839,7 @@ var tt;
|
|
|
839
839
|
function Je(e, t, n) {
|
|
840
840
|
if (t === n)
|
|
841
841
|
return !0;
|
|
842
|
-
if (e ==
|
|
842
|
+
if (e == S.BYTES) {
|
|
843
843
|
if (!(t instanceof Uint8Array) || !(n instanceof Uint8Array) || t.length !== n.length)
|
|
844
844
|
return !1;
|
|
845
845
|
for (let a = 0; a < t.length; a++)
|
|
@@ -848,31 +848,31 @@ function Je(e, t, n) {
|
|
|
848
848
|
return !0;
|
|
849
849
|
}
|
|
850
850
|
switch (e) {
|
|
851
|
-
case
|
|
852
|
-
case
|
|
853
|
-
case
|
|
854
|
-
case
|
|
855
|
-
case
|
|
851
|
+
case S.UINT64:
|
|
852
|
+
case S.FIXED64:
|
|
853
|
+
case S.INT64:
|
|
854
|
+
case S.SFIXED64:
|
|
855
|
+
case S.SINT64:
|
|
856
856
|
return t == n;
|
|
857
857
|
}
|
|
858
858
|
return !1;
|
|
859
859
|
}
|
|
860
860
|
function Pt(e, t) {
|
|
861
861
|
switch (e) {
|
|
862
|
-
case
|
|
862
|
+
case S.BOOL:
|
|
863
863
|
return !1;
|
|
864
|
-
case
|
|
865
|
-
case
|
|
866
|
-
case
|
|
867
|
-
case
|
|
868
|
-
case
|
|
864
|
+
case S.UINT64:
|
|
865
|
+
case S.FIXED64:
|
|
866
|
+
case S.INT64:
|
|
867
|
+
case S.SFIXED64:
|
|
868
|
+
case S.SINT64:
|
|
869
869
|
return t == 0 ? pe.zero : "0";
|
|
870
|
-
case
|
|
871
|
-
case
|
|
870
|
+
case S.DOUBLE:
|
|
871
|
+
case S.FLOAT:
|
|
872
872
|
return 0;
|
|
873
|
-
case
|
|
873
|
+
case S.BYTES:
|
|
874
874
|
return new Uint8Array(0);
|
|
875
|
-
case
|
|
875
|
+
case S.STRING:
|
|
876
876
|
return "";
|
|
877
877
|
default:
|
|
878
878
|
return 0;
|
|
@@ -880,11 +880,11 @@ function Pt(e, t) {
|
|
|
880
880
|
}
|
|
881
881
|
function Go(e, t) {
|
|
882
882
|
switch (e) {
|
|
883
|
-
case
|
|
883
|
+
case S.BOOL:
|
|
884
884
|
return t === !1;
|
|
885
|
-
case
|
|
885
|
+
case S.STRING:
|
|
886
886
|
return t === "";
|
|
887
|
-
case
|
|
887
|
+
case S.BYTES:
|
|
888
888
|
return t instanceof Uint8Array && !t.byteLength;
|
|
889
889
|
default:
|
|
890
890
|
return t == 0;
|
|
@@ -894,7 +894,7 @@ var ee;
|
|
|
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
|
})(ee || (ee = {}));
|
|
897
|
-
class
|
|
897
|
+
class Tl {
|
|
898
898
|
constructor(t) {
|
|
899
899
|
this.stack = [], this.textEncoder = t ?? new TextEncoder(), this.chunks = [], this.buf = [];
|
|
900
900
|
}
|
|
@@ -1052,9 +1052,9 @@ class pl {
|
|
|
1052
1052
|
return na(n.lo, n.hi, this.buf), this;
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
|
-
class
|
|
1055
|
+
class yl {
|
|
1056
1056
|
constructor(t, n) {
|
|
1057
|
-
this.varint64 =
|
|
1057
|
+
this.varint64 = ll, this.uint32 = dl, this.buf = t, this.len = t.length, this.pos = 0, this.view = new DataView(t.buffer, t.byteOffset, t.byteLength), this.textDecoder = n ?? new TextDecoder();
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Reads a tag - field number and wire type.
|
|
@@ -1199,7 +1199,7 @@ class Tl {
|
|
|
1199
1199
|
return this.textDecoder.decode(this.bytes());
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function gl(e, t, n, a) {
|
|
1203
1203
|
let s;
|
|
1204
1204
|
return {
|
|
1205
1205
|
typeName: t,
|
|
@@ -1216,9 +1216,9 @@ function yl(e, t, n, a) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
function Bo(e) {
|
|
1218
1218
|
const t = e.field.localName, n = /* @__PURE__ */ Object.create(null);
|
|
1219
|
-
return n[t] =
|
|
1219
|
+
return n[t] = fl(e), [n, () => n[t]];
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function fl(e) {
|
|
1222
1222
|
const t = e.field;
|
|
1223
1223
|
if (t.repeated)
|
|
1224
1224
|
return [];
|
|
@@ -1236,7 +1236,7 @@ function gl(e) {
|
|
|
1236
1236
|
throw "map fields are not allowed to be extensions";
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function kl(e, t) {
|
|
1240
1240
|
if (!t.repeated && (t.kind == "enum" || t.kind == "scalar")) {
|
|
1241
1241
|
for (let n = e.length - 1; n >= 0; --n)
|
|
1242
1242
|
if (e[n].no == t.no)
|
|
@@ -1319,14 +1319,14 @@ const is = {
|
|
|
1319
1319
|
return n && (t += Ve[s], t += "=", n == 1 && (t += "=")), t;
|
|
1320
1320
|
}
|
|
1321
1321
|
};
|
|
1322
|
-
function
|
|
1322
|
+
function hl(e, t, n) {
|
|
1323
1323
|
xo(t, e);
|
|
1324
|
-
const a = t.runtime.bin.makeReadOptions(n), s =
|
|
1324
|
+
const a = t.runtime.bin.makeReadOptions(n), s = kl(e.getType().runtime.bin.listUnknownFields(e), t.field), [r, o] = Bo(t);
|
|
1325
1325
|
for (const c of s)
|
|
1326
1326
|
t.runtime.bin.readField(r, a.readerFactory(c.data), t.field, c.wireType, a);
|
|
1327
1327
|
return o();
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1329
|
+
function Sl(e, t, n, a) {
|
|
1330
1330
|
xo(t, e);
|
|
1331
1331
|
const s = t.runtime.bin.makeReadOptions(a), r = t.runtime.bin.makeWriteOptions(a);
|
|
1332
1332
|
if (Vo(e, t)) {
|
|
@@ -1398,7 +1398,7 @@ function dt(e, t) {
|
|
|
1398
1398
|
function Ho(e, t) {
|
|
1399
1399
|
return dt(t) || !e.fieldWrapper ? t : e.fieldWrapper.wrapField(t);
|
|
1400
1400
|
}
|
|
1401
|
-
|
|
1401
|
+
S.DOUBLE, S.FLOAT, S.INT64, S.UINT64, S.INT32, S.UINT32, S.BOOL, S.STRING, S.BYTES;
|
|
1402
1402
|
const Ys = {
|
|
1403
1403
|
ignoreUnknownFields: !1
|
|
1404
1404
|
}, js = {
|
|
@@ -1407,17 +1407,17 @@ const Ys = {
|
|
|
1407
1407
|
useProtoFieldName: !1,
|
|
1408
1408
|
prettySpaces: 0
|
|
1409
1409
|
};
|
|
1410
|
-
function
|
|
1410
|
+
function _l(e) {
|
|
1411
1411
|
return e ? Object.assign(Object.assign({}, Ys), e) : Ys;
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function El(e) {
|
|
1414
1414
|
return e ? Object.assign(Object.assign({}, js), e) : js;
|
|
1415
1415
|
}
|
|
1416
1416
|
const wn = Symbol(), kn = Symbol();
|
|
1417
|
-
function
|
|
1417
|
+
function bl() {
|
|
1418
1418
|
return {
|
|
1419
|
-
makeReadOptions:
|
|
1420
|
-
makeWriteOptions:
|
|
1419
|
+
makeReadOptions: _l,
|
|
1420
|
+
makeWriteOptions: El,
|
|
1421
1421
|
readMessage(e, t, n, a) {
|
|
1422
1422
|
if (t == null || Array.isArray(t) || typeof t != "object")
|
|
1423
1423
|
throw new Error(`cannot decode message ${e.typeName} from JSON: ${we(t)}`);
|
|
@@ -1434,7 +1434,7 @@ function El() {
|
|
|
1434
1434
|
throw new Error(`cannot decode message ${e.typeName} from JSON: multiple keys for oneof "${l.oneof.name}" present: "${m}", "${o}"`);
|
|
1435
1435
|
s.set(l.oneof, o);
|
|
1436
1436
|
}
|
|
1437
|
-
|
|
1437
|
+
$s(a, c, l, n, e);
|
|
1438
1438
|
} else {
|
|
1439
1439
|
let m = !1;
|
|
1440
1440
|
if (r != null && r.findExtension && o.startsWith("[") && o.endsWith("]")) {
|
|
@@ -1442,7 +1442,7 @@ function El() {
|
|
|
1442
1442
|
if (u && u.extendee.typeName == e.typeName) {
|
|
1443
1443
|
m = !0;
|
|
1444
1444
|
const [d, y] = Bo(u);
|
|
1445
|
-
|
|
1445
|
+
$s(d, c, u.field, n, u), Sl(a, u, y(), n);
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
if (!m && !n.ignoreUnknownFields)
|
|
@@ -1459,10 +1459,10 @@ function El() {
|
|
|
1459
1459
|
if (!qo(s, e)) {
|
|
1460
1460
|
if (s.req)
|
|
1461
1461
|
throw "required field not set";
|
|
1462
|
-
if (!t.emitDefaultValues || !
|
|
1462
|
+
if (!t.emitDefaultValues || !Nl(s))
|
|
1463
1463
|
continue;
|
|
1464
1464
|
}
|
|
1465
|
-
const o = s.oneof ? e[s.oneof.localName].value : e[s.localName], c =
|
|
1465
|
+
const o = s.oneof ? e[s.oneof.localName].value : e[s.localName], c = Ks(s, o, t);
|
|
1466
1466
|
c !== void 0 && (a[t.useProtoFieldName ? s.name : s.jsonName] = c);
|
|
1467
1467
|
}
|
|
1468
1468
|
const r = t.typeRegistry;
|
|
@@ -1470,7 +1470,7 @@ function El() {
|
|
|
1470
1470
|
for (const o of n.runtime.bin.listUnknownFields(e)) {
|
|
1471
1471
|
const c = r.findExtensionFor(n.typeName, o.no);
|
|
1472
1472
|
if (c && Vo(e, c)) {
|
|
1473
|
-
const l =
|
|
1473
|
+
const l = hl(e, c, t), m = Ks(c.field, l, t);
|
|
1474
1474
|
m !== void 0 && (a[c.field.jsonName] = m);
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
@@ -1481,7 +1481,7 @@ function El() {
|
|
|
1481
1481
|
return a;
|
|
1482
1482
|
},
|
|
1483
1483
|
readScalar(e, t, n) {
|
|
1484
|
-
return
|
|
1484
|
+
return $t(e, t, n ?? tt.BIGINT, !0);
|
|
1485
1485
|
},
|
|
1486
1486
|
writeScalar(e, t, n) {
|
|
1487
1487
|
if (t !== void 0 && (n || Go(e, t)))
|
|
@@ -1502,7 +1502,7 @@ function we(e) {
|
|
|
1502
1502
|
return String(e);
|
|
1503
1503
|
}
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1505
|
+
function $s(e, t, n, a, s) {
|
|
1506
1506
|
let r = n.localName;
|
|
1507
1507
|
if (n.repeated) {
|
|
1508
1508
|
if (X(n.kind != "map"), t === null)
|
|
@@ -1523,7 +1523,7 @@ function Ks(e, t, n, a, s) {
|
|
|
1523
1523
|
break;
|
|
1524
1524
|
case "scalar":
|
|
1525
1525
|
try {
|
|
1526
|
-
o.push(
|
|
1526
|
+
o.push($t(n.T, c, n.L, !0));
|
|
1527
1527
|
} catch (m) {
|
|
1528
1528
|
let u = `cannot decode field ${s.typeName}.${n.name} from JSON: ${we(c)}`;
|
|
1529
1529
|
throw m instanceof Error && m.message.length > 0 && (u += `: ${m.message}`), new Error(u);
|
|
@@ -1542,7 +1542,7 @@ function Ks(e, t, n, a, s) {
|
|
|
1542
1542
|
throw new Error(`cannot decode field ${s.typeName}.${n.name} from JSON: map value null`);
|
|
1543
1543
|
let m;
|
|
1544
1544
|
try {
|
|
1545
|
-
m =
|
|
1545
|
+
m = Il(n.K, c);
|
|
1546
1546
|
} catch (u) {
|
|
1547
1547
|
let d = `cannot decode map key for field ${s.typeName}.${n.name} from JSON: ${we(t)}`;
|
|
1548
1548
|
throw u instanceof Error && u.message.length > 0 && (d += `: ${u.message}`), new Error(d);
|
|
@@ -1557,7 +1557,7 @@ function Ks(e, t, n, a, s) {
|
|
|
1557
1557
|
break;
|
|
1558
1558
|
case "scalar":
|
|
1559
1559
|
try {
|
|
1560
|
-
o[m] =
|
|
1560
|
+
o[m] = $t(n.V.T, l, tt.BIGINT, !0);
|
|
1561
1561
|
} catch (d) {
|
|
1562
1562
|
let y = `cannot decode map value for field ${s.typeName}.${n.name} from JSON: ${we(t)}`;
|
|
1563
1563
|
throw d instanceof Error && d.message.length > 0 && (y += `: ${d.message}`), new Error(y);
|
|
@@ -1589,7 +1589,7 @@ function Ks(e, t, n, a, s) {
|
|
|
1589
1589
|
break;
|
|
1590
1590
|
case "scalar":
|
|
1591
1591
|
try {
|
|
1592
|
-
const m =
|
|
1592
|
+
const m = $t(n.T, t, n.L, !1);
|
|
1593
1593
|
switch (m) {
|
|
1594
1594
|
case wn:
|
|
1595
1595
|
Qs(n, e);
|
|
@@ -1605,8 +1605,8 @@ function Ks(e, t, n, a, s) {
|
|
|
1605
1605
|
break;
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1609
|
-
if (e ===
|
|
1608
|
+
function Il(e, t) {
|
|
1609
|
+
if (e === S.BOOL)
|
|
1610
1610
|
switch (t) {
|
|
1611
1611
|
case "true":
|
|
1612
1612
|
t = !0;
|
|
@@ -1615,14 +1615,14 @@ function bl(e, t) {
|
|
|
1615
1615
|
t = !1;
|
|
1616
1616
|
break;
|
|
1617
1617
|
}
|
|
1618
|
-
return
|
|
1618
|
+
return $t(e, t, tt.BIGINT, !0).toString();
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function $t(e, t, n, a) {
|
|
1621
1621
|
if (t === null)
|
|
1622
1622
|
return a ? Pt(e, n) : wn;
|
|
1623
1623
|
switch (e) {
|
|
1624
|
-
case
|
|
1625
|
-
case
|
|
1624
|
+
case S.DOUBLE:
|
|
1625
|
+
case S.FLOAT:
|
|
1626
1626
|
if (t === "NaN")
|
|
1627
1627
|
return Number.NaN;
|
|
1628
1628
|
if (t === "Infinity")
|
|
@@ -1634,34 +1634,34 @@ function Kt(e, t, n, a) {
|
|
|
1634
1634
|
const s = Number(t);
|
|
1635
1635
|
if (Number.isNaN(s) || !Number.isFinite(s))
|
|
1636
1636
|
break;
|
|
1637
|
-
return e ==
|
|
1638
|
-
case
|
|
1639
|
-
case
|
|
1640
|
-
case
|
|
1641
|
-
case
|
|
1642
|
-
case
|
|
1637
|
+
return e == S.FLOAT && Lo(s), s;
|
|
1638
|
+
case S.INT32:
|
|
1639
|
+
case S.FIXED32:
|
|
1640
|
+
case S.SFIXED32:
|
|
1641
|
+
case S.SINT32:
|
|
1642
|
+
case S.UINT32:
|
|
1643
1643
|
let r;
|
|
1644
1644
|
if (typeof t == "number" ? r = t : typeof t == "string" && t.length > 0 && t.trim().length === t.length && (r = Number(t)), r === void 0)
|
|
1645
1645
|
break;
|
|
1646
|
-
return e ==
|
|
1647
|
-
case
|
|
1648
|
-
case
|
|
1649
|
-
case
|
|
1646
|
+
return e == S.UINT32 || e == S.FIXED32 ? Da(r) : gn(r), r;
|
|
1647
|
+
case S.INT64:
|
|
1648
|
+
case S.SFIXED64:
|
|
1649
|
+
case S.SINT64:
|
|
1650
1650
|
if (typeof t != "number" && typeof t != "string")
|
|
1651
1651
|
break;
|
|
1652
1652
|
const o = pe.parse(t);
|
|
1653
1653
|
return n ? o.toString() : o;
|
|
1654
|
-
case
|
|
1655
|
-
case
|
|
1654
|
+
case S.FIXED64:
|
|
1655
|
+
case S.UINT64:
|
|
1656
1656
|
if (typeof t != "number" && typeof t != "string")
|
|
1657
1657
|
break;
|
|
1658
1658
|
const c = pe.uParse(t);
|
|
1659
1659
|
return n ? c.toString() : c;
|
|
1660
|
-
case
|
|
1660
|
+
case S.BOOL:
|
|
1661
1661
|
if (typeof t != "boolean")
|
|
1662
1662
|
break;
|
|
1663
1663
|
return t;
|
|
1664
|
-
case
|
|
1664
|
+
case S.STRING:
|
|
1665
1665
|
if (typeof t != "string")
|
|
1666
1666
|
break;
|
|
1667
1667
|
try {
|
|
@@ -1670,7 +1670,7 @@ function Kt(e, t, n, a) {
|
|
|
1670
1670
|
throw new Error("invalid UTF8");
|
|
1671
1671
|
}
|
|
1672
1672
|
return t;
|
|
1673
|
-
case
|
|
1673
|
+
case S.BYTES:
|
|
1674
1674
|
if (t === "")
|
|
1675
1675
|
return new Uint8Array(0);
|
|
1676
1676
|
if (typeof t != "string")
|
|
@@ -1697,10 +1697,10 @@ function aa(e, t, n, a) {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
throw new Error(`cannot decode enum ${e.typeName} from JSON: ${we(t)}`);
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function Nl(e) {
|
|
1701
1701
|
return e.repeated || e.kind == "map" ? !0 : !(e.oneof || e.kind == "message" || e.opt || e.req);
|
|
1702
1702
|
}
|
|
1703
|
-
function
|
|
1703
|
+
function Ks(e, t, n) {
|
|
1704
1704
|
if (e.kind == "map") {
|
|
1705
1705
|
X(typeof t == "object" && t != null);
|
|
1706
1706
|
const a = {}, s = Object.entries(t);
|
|
@@ -1760,46 +1760,46 @@ function sa(e, t, n) {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
function hn(e, t) {
|
|
1762
1762
|
switch (e) {
|
|
1763
|
-
case
|
|
1764
|
-
case
|
|
1765
|
-
case
|
|
1766
|
-
case
|
|
1767
|
-
case
|
|
1763
|
+
case S.INT32:
|
|
1764
|
+
case S.SFIXED32:
|
|
1765
|
+
case S.SINT32:
|
|
1766
|
+
case S.FIXED32:
|
|
1767
|
+
case S.UINT32:
|
|
1768
1768
|
return X(typeof t == "number"), t;
|
|
1769
|
-
case
|
|
1770
|
-
case
|
|
1769
|
+
case S.FLOAT:
|
|
1770
|
+
case S.DOUBLE:
|
|
1771
1771
|
return X(typeof t == "number"), Number.isNaN(t) ? "NaN" : t === Number.POSITIVE_INFINITY ? "Infinity" : t === Number.NEGATIVE_INFINITY ? "-Infinity" : t;
|
|
1772
|
-
case
|
|
1772
|
+
case S.STRING:
|
|
1773
1773
|
return X(typeof t == "string"), t;
|
|
1774
|
-
case
|
|
1774
|
+
case S.BOOL:
|
|
1775
1775
|
return X(typeof t == "boolean"), t;
|
|
1776
|
-
case
|
|
1777
|
-
case
|
|
1778
|
-
case
|
|
1779
|
-
case
|
|
1780
|
-
case
|
|
1776
|
+
case S.UINT64:
|
|
1777
|
+
case S.FIXED64:
|
|
1778
|
+
case S.INT64:
|
|
1779
|
+
case S.SFIXED64:
|
|
1780
|
+
case S.SINT64:
|
|
1781
1781
|
return X(typeof t == "bigint" || typeof t == "string" || typeof t == "number"), t.toString();
|
|
1782
|
-
case
|
|
1782
|
+
case S.BYTES:
|
|
1783
1783
|
return X(t instanceof Uint8Array), is.enc(t);
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
1786
1786
|
const _t = Symbol("@bufbuild/protobuf/unknown-fields"), Ws = {
|
|
1787
1787
|
readUnknownFields: !0,
|
|
1788
|
-
readerFactory: (e) => new
|
|
1788
|
+
readerFactory: (e) => new yl(e)
|
|
1789
1789
|
}, zs = {
|
|
1790
1790
|
writeUnknownFields: !0,
|
|
1791
|
-
writerFactory: () => new
|
|
1791
|
+
writerFactory: () => new Tl()
|
|
1792
1792
|
};
|
|
1793
|
-
function
|
|
1793
|
+
function vl(e) {
|
|
1794
1794
|
return e ? Object.assign(Object.assign({}, Ws), e) : Ws;
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1796
|
+
function Ol(e) {
|
|
1797
1797
|
return e ? Object.assign(Object.assign({}, zs), e) : zs;
|
|
1798
1798
|
}
|
|
1799
|
-
function
|
|
1799
|
+
function Al() {
|
|
1800
1800
|
return {
|
|
1801
|
-
makeReadOptions:
|
|
1802
|
-
makeWriteOptions:
|
|
1801
|
+
makeReadOptions: vl,
|
|
1802
|
+
makeWriteOptions: Ol,
|
|
1803
1803
|
listUnknownFields(e) {
|
|
1804
1804
|
var t;
|
|
1805
1805
|
return (t = e[_t]) !== null && t !== void 0 ? t : [];
|
|
@@ -1857,11 +1857,11 @@ function Js(e, t, n, a, s) {
|
|
|
1857
1857
|
switch (n.oneof && (e = e[n.oneof.localName], e.case != o && delete e.value, e.case = o, o = "value"), n.kind) {
|
|
1858
1858
|
case "scalar":
|
|
1859
1859
|
case "enum":
|
|
1860
|
-
const c = n.kind == "enum" ?
|
|
1860
|
+
const c = n.kind == "enum" ? S.INT32 : n.T;
|
|
1861
1861
|
let l = Rn;
|
|
1862
|
-
if (n.kind == "scalar" && n.L > 0 && (l =
|
|
1862
|
+
if (n.kind == "scalar" && n.L > 0 && (l = Rl), r) {
|
|
1863
1863
|
let y = e[o];
|
|
1864
|
-
if (a == ee.LengthDelimited && c !=
|
|
1864
|
+
if (a == ee.LengthDelimited && c != S.STRING && c != S.BYTES) {
|
|
1865
1865
|
let f = t.uint32() + t.pos;
|
|
1866
1866
|
for (; t.pos < f; )
|
|
1867
1867
|
y.push(l(t, c));
|
|
@@ -1875,7 +1875,7 @@ function Js(e, t, n, a, s) {
|
|
|
1875
1875
|
r ? e[o].push(Sn(t, new m(), s, n)) : dt(e[o]) ? Sn(t, e[o], s, n) : (e[o] = Sn(t, new m(), s, n), m.fieldWrapper && !n.oneof && !n.repeated && (e[o] = m.fieldWrapper.unwrapField(e[o])));
|
|
1876
1876
|
break;
|
|
1877
1877
|
case "map":
|
|
1878
|
-
let [u, d] =
|
|
1878
|
+
let [u, d] = wl(n, t, s);
|
|
1879
1879
|
e[o][u] = d;
|
|
1880
1880
|
break;
|
|
1881
1881
|
}
|
|
@@ -1891,7 +1891,7 @@ function Sn(e, t, n, a) {
|
|
|
1891
1891
|
r
|
|
1892
1892
|
), t;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function wl(e, t, n) {
|
|
1895
1895
|
const a = t.uint32(), s = t.pos + a;
|
|
1896
1896
|
let r, o;
|
|
1897
1897
|
for (; t.pos < s; ) {
|
|
@@ -1929,41 +1929,41 @@ function Al(e, t, n) {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
return [r, o];
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function Rl(e, t) {
|
|
1933
1933
|
const n = Rn(e, t);
|
|
1934
1934
|
return typeof n == "bigint" ? n.toString() : n;
|
|
1935
1935
|
}
|
|
1936
1936
|
function Rn(e, t) {
|
|
1937
1937
|
switch (t) {
|
|
1938
|
-
case
|
|
1938
|
+
case S.STRING:
|
|
1939
1939
|
return e.string();
|
|
1940
|
-
case
|
|
1940
|
+
case S.BOOL:
|
|
1941
1941
|
return e.bool();
|
|
1942
|
-
case
|
|
1942
|
+
case S.DOUBLE:
|
|
1943
1943
|
return e.double();
|
|
1944
|
-
case
|
|
1944
|
+
case S.FLOAT:
|
|
1945
1945
|
return e.float();
|
|
1946
|
-
case
|
|
1946
|
+
case S.INT32:
|
|
1947
1947
|
return e.int32();
|
|
1948
|
-
case
|
|
1948
|
+
case S.INT64:
|
|
1949
1949
|
return e.int64();
|
|
1950
|
-
case
|
|
1950
|
+
case S.UINT64:
|
|
1951
1951
|
return e.uint64();
|
|
1952
|
-
case
|
|
1952
|
+
case S.FIXED64:
|
|
1953
1953
|
return e.fixed64();
|
|
1954
|
-
case
|
|
1954
|
+
case S.BYTES:
|
|
1955
1955
|
return e.bytes();
|
|
1956
|
-
case
|
|
1956
|
+
case S.FIXED32:
|
|
1957
1957
|
return e.fixed32();
|
|
1958
|
-
case
|
|
1958
|
+
case S.SFIXED32:
|
|
1959
1959
|
return e.sfixed32();
|
|
1960
|
-
case
|
|
1960
|
+
case S.SFIXED64:
|
|
1961
1961
|
return e.sfixed64();
|
|
1962
|
-
case
|
|
1962
|
+
case S.SINT64:
|
|
1963
1963
|
return e.sint64();
|
|
1964
|
-
case
|
|
1964
|
+
case S.UINT32:
|
|
1965
1965
|
return e.uint32();
|
|
1966
|
-
case
|
|
1966
|
+
case S.SINT32:
|
|
1967
1967
|
return e.sint32();
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
@@ -1973,15 +1973,15 @@ function Xs(e, t, n, a) {
|
|
|
1973
1973
|
switch (e.kind) {
|
|
1974
1974
|
case "scalar":
|
|
1975
1975
|
case "enum":
|
|
1976
|
-
let r = e.kind == "enum" ?
|
|
1976
|
+
let r = e.kind == "enum" ? S.INT32 : e.T;
|
|
1977
1977
|
if (s)
|
|
1978
1978
|
if (X(Array.isArray(t)), e.packed)
|
|
1979
|
-
|
|
1979
|
+
Ml(n, r, e.no, t);
|
|
1980
1980
|
else
|
|
1981
1981
|
for (const o of t)
|
|
1982
|
-
|
|
1982
|
+
Kt(n, r, e.no, o);
|
|
1983
1983
|
else
|
|
1984
|
-
|
|
1984
|
+
Kt(n, r, e.no, t);
|
|
1985
1985
|
break;
|
|
1986
1986
|
case "message":
|
|
1987
1987
|
if (s) {
|
|
@@ -1994,31 +1994,31 @@ function Xs(e, t, n, a) {
|
|
|
1994
1994
|
case "map":
|
|
1995
1995
|
X(typeof t == "object" && t != null);
|
|
1996
1996
|
for (const [o, c] of Object.entries(t))
|
|
1997
|
-
|
|
1997
|
+
Ll(n, a, e, o, c);
|
|
1998
1998
|
break;
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function Ll(e, t, n, a, s) {
|
|
2002
2002
|
e.tag(n.no, ee.LengthDelimited), e.fork();
|
|
2003
2003
|
let r = a;
|
|
2004
2004
|
switch (n.K) {
|
|
2005
|
-
case
|
|
2006
|
-
case
|
|
2007
|
-
case
|
|
2008
|
-
case
|
|
2009
|
-
case
|
|
2005
|
+
case S.INT32:
|
|
2006
|
+
case S.FIXED32:
|
|
2007
|
+
case S.UINT32:
|
|
2008
|
+
case S.SFIXED32:
|
|
2009
|
+
case S.SINT32:
|
|
2010
2010
|
r = Number.parseInt(a);
|
|
2011
2011
|
break;
|
|
2012
|
-
case
|
|
2012
|
+
case S.BOOL:
|
|
2013
2013
|
X(a == "true" || a == "false"), r = a == "true";
|
|
2014
2014
|
break;
|
|
2015
2015
|
}
|
|
2016
|
-
switch (
|
|
2016
|
+
switch (Kt(e, n.K, 1, r), n.V.kind) {
|
|
2017
2017
|
case "scalar":
|
|
2018
|
-
|
|
2018
|
+
Kt(e, n.V.T, 2, s);
|
|
2019
2019
|
break;
|
|
2020
2020
|
case "enum":
|
|
2021
|
-
|
|
2021
|
+
Kt(e, S.INT32, 2, s);
|
|
2022
2022
|
break;
|
|
2023
2023
|
case "message":
|
|
2024
2024
|
X(s !== void 0), e.tag(2, ee.LengthDelimited).bytes(s.toBinary(t));
|
|
@@ -2030,12 +2030,12 @@ function Zs(e, t, n, a) {
|
|
|
2030
2030
|
const s = Ho(n.T, a);
|
|
2031
2031
|
n.delimited ? e.tag(n.no, ee.StartGroup).raw(s.toBinary(t)).tag(n.no, ee.EndGroup) : e.tag(n.no, ee.LengthDelimited).bytes(s.toBinary(t));
|
|
2032
2032
|
}
|
|
2033
|
-
function
|
|
2033
|
+
function Kt(e, t, n, a) {
|
|
2034
2034
|
X(a !== void 0);
|
|
2035
2035
|
let [s, r] = Qo(t);
|
|
2036
2036
|
e.tag(n, s)[r](a);
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2038
|
+
function Ml(e, t, n, a) {
|
|
2039
2039
|
if (!a.length)
|
|
2040
2040
|
return;
|
|
2041
2041
|
e.tag(n, ee.LengthDelimited).fork();
|
|
@@ -2047,25 +2047,25 @@ function Ll(e, t, n, a) {
|
|
|
2047
2047
|
function Qo(e) {
|
|
2048
2048
|
let t = ee.Varint;
|
|
2049
2049
|
switch (e) {
|
|
2050
|
-
case
|
|
2051
|
-
case
|
|
2050
|
+
case S.BYTES:
|
|
2051
|
+
case S.STRING:
|
|
2052
2052
|
t = ee.LengthDelimited;
|
|
2053
2053
|
break;
|
|
2054
|
-
case
|
|
2055
|
-
case
|
|
2056
|
-
case
|
|
2054
|
+
case S.DOUBLE:
|
|
2055
|
+
case S.FIXED64:
|
|
2056
|
+
case S.SFIXED64:
|
|
2057
2057
|
t = ee.Bit64;
|
|
2058
2058
|
break;
|
|
2059
|
-
case
|
|
2060
|
-
case
|
|
2061
|
-
case
|
|
2059
|
+
case S.FIXED32:
|
|
2060
|
+
case S.SFIXED32:
|
|
2061
|
+
case S.FLOAT:
|
|
2062
2062
|
t = ee.Bit32;
|
|
2063
2063
|
break;
|
|
2064
2064
|
}
|
|
2065
|
-
const n =
|
|
2065
|
+
const n = S[e].toLowerCase();
|
|
2066
2066
|
return [t, n];
|
|
2067
2067
|
}
|
|
2068
|
-
function
|
|
2068
|
+
function Pl() {
|
|
2069
2069
|
return {
|
|
2070
2070
|
setEnumType: Po,
|
|
2071
2071
|
initPartial(e, t) {
|
|
@@ -2082,18 +2082,18 @@ function Ml() {
|
|
|
2082
2082
|
continue;
|
|
2083
2083
|
const l = a.findField(c);
|
|
2084
2084
|
let m = o[s].value;
|
|
2085
|
-
l && l.kind == "message" && !dt(m, l.T) ? m = new l.T(m) : l && l.kind === "scalar" && l.T ===
|
|
2085
|
+
l && l.kind == "message" && !dt(m, l.T) ? m = new l.T(m) : l && l.kind === "scalar" && l.T === S.BYTES && (m = Ht(m)), r[s] = { case: c, value: m };
|
|
2086
2086
|
break;
|
|
2087
2087
|
case "scalar":
|
|
2088
2088
|
case "enum":
|
|
2089
2089
|
let u = o[s];
|
|
2090
|
-
a.T ===
|
|
2090
|
+
a.T === S.BYTES && (u = a.repeated ? u.map(Ht) : Ht(u)), r[s] = u;
|
|
2091
2091
|
break;
|
|
2092
2092
|
case "map":
|
|
2093
2093
|
switch (a.V.kind) {
|
|
2094
2094
|
case "scalar":
|
|
2095
2095
|
case "enum":
|
|
2096
|
-
if (a.V.T ===
|
|
2096
|
+
if (a.V.T === S.BYTES)
|
|
2097
2097
|
for (const [T, f] of Object.entries(o[s]))
|
|
2098
2098
|
r[s][T] = Ht(f);
|
|
2099
2099
|
else
|
|
@@ -2133,7 +2133,7 @@ function Ml() {
|
|
|
2133
2133
|
case "scalar":
|
|
2134
2134
|
return s.every((o, c) => Je(a.T, o, r[c]));
|
|
2135
2135
|
case "enum":
|
|
2136
|
-
return s.every((o, c) => Je(
|
|
2136
|
+
return s.every((o, c) => Je(S.INT32, o, r[c]));
|
|
2137
2137
|
}
|
|
2138
2138
|
throw new Error(`repeated cannot contain ${a.kind}`);
|
|
2139
2139
|
}
|
|
@@ -2141,7 +2141,7 @@ function Ml() {
|
|
|
2141
2141
|
case "message":
|
|
2142
2142
|
return a.T.equals(s, r);
|
|
2143
2143
|
case "enum":
|
|
2144
|
-
return Je(
|
|
2144
|
+
return Je(S.INT32, s, r);
|
|
2145
2145
|
case "scalar":
|
|
2146
2146
|
return Je(a.T, s, r);
|
|
2147
2147
|
case "oneof":
|
|
@@ -2154,7 +2154,7 @@ function Ml() {
|
|
|
2154
2154
|
case "message":
|
|
2155
2155
|
return o.T.equals(s.value, r.value);
|
|
2156
2156
|
case "enum":
|
|
2157
|
-
return Je(
|
|
2157
|
+
return Je(S.INT32, s.value, r.value);
|
|
2158
2158
|
case "scalar":
|
|
2159
2159
|
return Je(o.T, s.value, r.value);
|
|
2160
2160
|
}
|
|
@@ -2166,7 +2166,7 @@ function Ml() {
|
|
|
2166
2166
|
const l = a.V.T;
|
|
2167
2167
|
return c.every((u) => l.equals(s[u], r[u]));
|
|
2168
2168
|
case "enum":
|
|
2169
|
-
return c.every((u) => Je(
|
|
2169
|
+
return c.every((u) => Je(S.INT32, s[u], r[u]));
|
|
2170
2170
|
case "scalar":
|
|
2171
2171
|
const m = a.V.T;
|
|
2172
2172
|
return c.every((u) => Je(m, s[u], r[u]));
|
|
@@ -2210,27 +2210,27 @@ function ln(e) {
|
|
|
2210
2210
|
function Ht(e) {
|
|
2211
2211
|
return e instanceof Uint8Array ? e : new Uint8Array(e);
|
|
2212
2212
|
}
|
|
2213
|
-
function
|
|
2213
|
+
function Dl(e, t, n) {
|
|
2214
2214
|
return {
|
|
2215
2215
|
syntax: e,
|
|
2216
|
-
json:
|
|
2217
|
-
bin:
|
|
2218
|
-
util: Object.assign(Object.assign({},
|
|
2216
|
+
json: bl(),
|
|
2217
|
+
bin: Al(),
|
|
2218
|
+
util: Object.assign(Object.assign({}, Pl()), {
|
|
2219
2219
|
newFieldList: t,
|
|
2220
2220
|
initFields: n
|
|
2221
2221
|
}),
|
|
2222
2222
|
makeMessageType(a, s, r) {
|
|
2223
|
-
return
|
|
2223
|
+
return cl(this, a, s, r);
|
|
2224
2224
|
},
|
|
2225
|
-
makeEnum:
|
|
2225
|
+
makeEnum: il,
|
|
2226
2226
|
makeEnumType: Do,
|
|
2227
|
-
getEnumType:
|
|
2227
|
+
getEnumType: ol,
|
|
2228
2228
|
makeExtension(a, s, r) {
|
|
2229
|
-
return
|
|
2229
|
+
return gl(this, a, s, r);
|
|
2230
2230
|
}
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
|
-
class
|
|
2233
|
+
class Cl {
|
|
2234
2234
|
constructor(t, n) {
|
|
2235
2235
|
this._fields = t, this._normalizer = n;
|
|
2236
2236
|
}
|
|
@@ -2271,12 +2271,12 @@ class Dl {
|
|
|
2271
2271
|
}
|
|
2272
2272
|
function Yo(e, t) {
|
|
2273
2273
|
const n = jo(e);
|
|
2274
|
-
return t ? n : Vl(
|
|
2274
|
+
return t ? n : xl(Vl(n));
|
|
2275
2275
|
}
|
|
2276
|
-
function
|
|
2276
|
+
function Ul(e) {
|
|
2277
2277
|
return Yo(e, !1);
|
|
2278
2278
|
}
|
|
2279
|
-
const
|
|
2279
|
+
const Fl = jo;
|
|
2280
2280
|
function jo(e) {
|
|
2281
2281
|
let t = !1;
|
|
2282
2282
|
const n = [];
|
|
@@ -2305,13 +2305,13 @@ function jo(e) {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
return n.join("");
|
|
2307
2307
|
}
|
|
2308
|
-
const
|
|
2308
|
+
const Gl = /* @__PURE__ */ new Set([
|
|
2309
2309
|
// names reserved by JavaScript
|
|
2310
2310
|
"constructor",
|
|
2311
2311
|
"toString",
|
|
2312
2312
|
"toJSON",
|
|
2313
2313
|
"valueOf"
|
|
2314
|
-
]),
|
|
2314
|
+
]), Bl = /* @__PURE__ */ new Set([
|
|
2315
2315
|
// names reserved by the runtime
|
|
2316
2316
|
"getType",
|
|
2317
2317
|
"clone",
|
|
@@ -2324,10 +2324,10 @@ const Fl = /* @__PURE__ */ new Set([
|
|
|
2324
2324
|
"toJsonString",
|
|
2325
2325
|
// names reserved by the runtime for the future
|
|
2326
2326
|
"toObject"
|
|
2327
|
-
]),
|
|
2328
|
-
class
|
|
2327
|
+
]), $o = (e) => `${e}$`, Vl = (e) => Bl.has(e) ? $o(e) : e, xl = (e) => Gl.has(e) ? $o(e) : e;
|
|
2328
|
+
class ql {
|
|
2329
2329
|
constructor(t) {
|
|
2330
|
-
this.kind = "oneof", this.repeated = !1, this.packed = !1, this.opt = !1, this.req = !1, this.default = void 0, this.fields = [], this.name = t, this.localName =
|
|
2330
|
+
this.kind = "oneof", this.repeated = !1, this.packed = !1, this.opt = !1, this.req = !1, this.default = void 0, this.fields = [], this.name = t, this.localName = Ul(t);
|
|
2331
2331
|
}
|
|
2332
2332
|
addField(t) {
|
|
2333
2333
|
X(t.oneof === this, `field ${t.name} not one of ${this.name}`), this.fields.push(t);
|
|
@@ -2341,23 +2341,23 @@ class xl {
|
|
|
2341
2341
|
return this._lookup[t];
|
|
2342
2342
|
}
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function Hl(e, t) {
|
|
2345
2345
|
var n, a, s, r, o, c;
|
|
2346
2346
|
const l = [];
|
|
2347
2347
|
let m;
|
|
2348
2348
|
for (const u of typeof e == "function" ? e() : e) {
|
|
2349
2349
|
const d = u;
|
|
2350
|
-
if (d.localName = Yo(u.name, u.oneof !== void 0), d.jsonName = (n = u.jsonName) !== null && n !== void 0 ? n :
|
|
2350
|
+
if (d.localName = Yo(u.name, u.oneof !== void 0), d.jsonName = (n = u.jsonName) !== null && n !== void 0 ? n : Fl(u.name), d.repeated = (a = u.repeated) !== null && a !== void 0 ? a : !1, u.kind == "scalar" && (d.L = (s = u.L) !== null && s !== void 0 ? s : tt.BIGINT), d.delimited = (r = u.delimited) !== null && r !== void 0 ? r : !1, d.req = (o = u.req) !== null && o !== void 0 ? o : !1, d.opt = (c = u.opt) !== null && c !== void 0 ? c : !1, u.packed === void 0 && (d.packed = u.kind == "enum" || u.kind == "scalar" && u.T != S.BYTES && u.T != S.STRING), u.oneof !== void 0) {
|
|
2351
2351
|
const y = typeof u.oneof == "string" ? u.oneof : u.oneof.name;
|
|
2352
|
-
(!m || m.name != y) && (m = new
|
|
2352
|
+
(!m || m.name != y) && (m = new ql(y)), d.oneof = m, m.addField(d);
|
|
2353
2353
|
}
|
|
2354
2354
|
l.push(d);
|
|
2355
2355
|
}
|
|
2356
2356
|
return l;
|
|
2357
2357
|
}
|
|
2358
|
-
const i =
|
|
2358
|
+
const i = Dl(
|
|
2359
2359
|
"proto3",
|
|
2360
|
-
(e) => new
|
|
2360
|
+
(e) => new Cl(e, (t) => Hl(t)),
|
|
2361
2361
|
// TODO merge with proto2 and initExtensionField, also see initPartial, equals, clone
|
|
2362
2362
|
(e) => {
|
|
2363
2363
|
for (const t of e.getType().fields.byMember()) {
|
|
@@ -2568,7 +2568,7 @@ Ce.fields = i.util.newFieldList(() => [
|
|
|
2568
2568
|
/* ScalarType.BYTES */
|
|
2569
2569
|
}
|
|
2570
2570
|
]);
|
|
2571
|
-
const
|
|
2571
|
+
const Ql = /* @__PURE__ */ i.makeEnum(
|
|
2572
2572
|
"streamlayer.analytics.v1.common.ResultStatus",
|
|
2573
2573
|
[
|
|
2574
2574
|
{ no: 0, name: "RESULT_STATUS_UNSET", localName: "UNSET" },
|
|
@@ -2700,7 +2700,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2700
2700
|
{ no: 5, name: "POLL_OPENED_FROM_TWEETS_HISTORY", localName: "TWEETS_HISTORY" },
|
|
2701
2701
|
{ no: 6, name: "POLL_OPENED_FROM_PROMOTION_HISTORY", localName: "PROMOTION_HISTORY" }
|
|
2702
2702
|
]
|
|
2703
|
-
),
|
|
2703
|
+
), Yl = /* @__PURE__ */ i.makeMessageType(
|
|
2704
2704
|
"streamlayer.social.TweetHashtags",
|
|
2705
2705
|
() => [
|
|
2706
2706
|
{
|
|
@@ -2712,7 +2712,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2712
2712
|
},
|
|
2713
2713
|
{ no: 2, name: "indices", kind: "scalar", T: 5, repeated: !0 }
|
|
2714
2714
|
]
|
|
2715
|
-
),
|
|
2715
|
+
), jl = /* @__PURE__ */ i.makeMessageType(
|
|
2716
2716
|
"streamlayer.social.TweetUrls",
|
|
2717
2717
|
() => [
|
|
2718
2718
|
{
|
|
@@ -2738,7 +2738,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2738
2738
|
},
|
|
2739
2739
|
{ no: 4, name: "indices", kind: "scalar", T: 5, repeated: !0 }
|
|
2740
2740
|
]
|
|
2741
|
-
),
|
|
2741
|
+
), $l = /* @__PURE__ */ i.makeMessageType(
|
|
2742
2742
|
"streamlayer.social.TweetMedia",
|
|
2743
2743
|
() => [
|
|
2744
2744
|
{
|
|
@@ -2825,7 +2825,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2825
2825
|
T: 9
|
|
2826
2826
|
/* ScalarType.STRING */
|
|
2827
2827
|
},
|
|
2828
|
-
{ no: 13, name: "sizes", kind: "message", T:
|
|
2828
|
+
{ no: 13, name: "sizes", kind: "message", T: Ko },
|
|
2829
2829
|
{ no: 14, name: "indices", kind: "scalar", T: 5, repeated: !0 }
|
|
2830
2830
|
]
|
|
2831
2831
|
), Kl = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -2887,12 +2887,12 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2887
2887
|
T: 9
|
|
2888
2888
|
/* ScalarType.STRING */
|
|
2889
2889
|
},
|
|
2890
|
-
{ no: 9, name: "sizes", kind: "message", T:
|
|
2890
|
+
{ no: 9, name: "sizes", kind: "message", T: Ko },
|
|
2891
2891
|
{ no: 10, name: "indices", kind: "scalar", T: 5, repeated: !0 },
|
|
2892
|
-
{ no: 11, name: "video_info", kind: "message", T:
|
|
2893
|
-
{ no: 12, name: "additional_media_info", kind: "message", T:
|
|
2892
|
+
{ no: 11, name: "video_info", kind: "message", T: zl },
|
|
2893
|
+
{ no: 12, name: "additional_media_info", kind: "message", T: Wl }
|
|
2894
2894
|
]
|
|
2895
|
-
),
|
|
2895
|
+
), Wl = /* @__PURE__ */ i.makeMessageType(
|
|
2896
2896
|
"streamlayer.social.TweetExtendedMedia.TweetAdditionalMediaInfo",
|
|
2897
2897
|
() => [
|
|
2898
2898
|
{
|
|
@@ -2925,7 +2925,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2925
2925
|
}
|
|
2926
2926
|
],
|
|
2927
2927
|
{ localName: "TweetExtendedMedia_TweetAdditionalMediaInfo" }
|
|
2928
|
-
),
|
|
2928
|
+
), zl = /* @__PURE__ */ i.makeMessageType(
|
|
2929
2929
|
"streamlayer.social.TweetMediaVideoInfo",
|
|
2930
2930
|
() => [
|
|
2931
2931
|
{ no: 1, name: "aspect_ratio", kind: "scalar", T: 5, repeated: !0 },
|
|
@@ -2936,9 +2936,9 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2936
2936
|
T: 5
|
|
2937
2937
|
/* ScalarType.INT32 */
|
|
2938
2938
|
},
|
|
2939
|
-
{ no: 3, name: "variants", kind: "message", T:
|
|
2939
|
+
{ no: 3, name: "variants", kind: "message", T: Jl, repeated: !0 }
|
|
2940
2940
|
]
|
|
2941
|
-
),
|
|
2941
|
+
), Jl = /* @__PURE__ */ i.makeMessageType(
|
|
2942
2942
|
"streamlayer.social.TweetMediaVideoInfo.TweetVideoVariants",
|
|
2943
2943
|
() => [
|
|
2944
2944
|
{
|
|
@@ -2964,7 +2964,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2964
2964
|
}
|
|
2965
2965
|
],
|
|
2966
2966
|
{ localName: "TweetMediaVideoInfo_TweetVideoVariants" }
|
|
2967
|
-
),
|
|
2967
|
+
), Ko = /* @__PURE__ */ i.makeMessageType(
|
|
2968
2968
|
"streamlayer.social.TweetMediaSizes",
|
|
2969
2969
|
() => [
|
|
2970
2970
|
{ no: 1, name: "thumb", kind: "message", T: mn },
|
|
@@ -2997,7 +2997,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
2997
2997
|
/* ScalarType.STRING */
|
|
2998
2998
|
}
|
|
2999
2999
|
]
|
|
3000
|
-
),
|
|
3000
|
+
), Xl = /* @__PURE__ */ i.makeMessageType(
|
|
3001
3001
|
"streamlayer.social.TweetUserMentions",
|
|
3002
3002
|
() => [
|
|
3003
3003
|
{
|
|
@@ -3030,7 +3030,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3030
3030
|
},
|
|
3031
3031
|
{ no: 5, name: "indices", kind: "scalar", T: 5, repeated: !0 }
|
|
3032
3032
|
]
|
|
3033
|
-
),
|
|
3033
|
+
), Zl = /* @__PURE__ */ i.makeMessageType(
|
|
3034
3034
|
"streamlayer.social.TweetSymbol",
|
|
3035
3035
|
() => [
|
|
3036
3036
|
{
|
|
@@ -3042,7 +3042,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3042
3042
|
},
|
|
3043
3043
|
{ no: 2, name: "indices", kind: "scalar", T: 5, repeated: !0 }
|
|
3044
3044
|
]
|
|
3045
|
-
),
|
|
3045
|
+
), em = /* @__PURE__ */ i.makeMessageType(
|
|
3046
3046
|
"streamlayer.social.TweetPoll",
|
|
3047
3047
|
() => [
|
|
3048
3048
|
{
|
|
@@ -3059,9 +3059,9 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3059
3059
|
T: 9
|
|
3060
3060
|
/* ScalarType.STRING */
|
|
3061
3061
|
},
|
|
3062
|
-
{ no: 3, name: "options", kind: "message", T:
|
|
3062
|
+
{ no: 3, name: "options", kind: "message", T: tm, repeated: !0 }
|
|
3063
3063
|
]
|
|
3064
|
-
),
|
|
3064
|
+
), tm = /* @__PURE__ */ i.makeMessageType(
|
|
3065
3065
|
"streamlayer.social.TweetPoll.TweetPollOption",
|
|
3066
3066
|
() => [
|
|
3067
3067
|
{
|
|
@@ -3080,7 +3080,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3080
3080
|
}
|
|
3081
3081
|
],
|
|
3082
3082
|
{ localName: "TweetPoll_TweetPollOption" }
|
|
3083
|
-
),
|
|
3083
|
+
), nm = /* @__PURE__ */ i.makeMessageType(
|
|
3084
3084
|
"streamlayer.social.TweetMetadata",
|
|
3085
3085
|
() => [
|
|
3086
3086
|
{
|
|
@@ -3126,8 +3126,8 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3126
3126
|
/* ScalarType.BOOL */
|
|
3127
3127
|
},
|
|
3128
3128
|
{ no: 5, name: "retweeted_status", kind: "message", T: cs },
|
|
3129
|
-
{ no: 6, name: "entities", kind: "message", T:
|
|
3130
|
-
{ no: 7, name: "extended_entities", kind: "message", T:
|
|
3129
|
+
{ no: 6, name: "entities", kind: "message", T: am },
|
|
3130
|
+
{ no: 7, name: "extended_entities", kind: "message", T: sm },
|
|
3131
3131
|
{
|
|
3132
3132
|
no: 10,
|
|
3133
3133
|
name: "retweet_count",
|
|
@@ -3143,18 +3143,18 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3143
3143
|
/* ScalarType.UINT64 */
|
|
3144
3144
|
}
|
|
3145
3145
|
]
|
|
3146
|
-
),
|
|
3146
|
+
), am = /* @__PURE__ */ i.makeMessageType(
|
|
3147
3147
|
"streamlayer.social.TweetMetadata.TweetEntities",
|
|
3148
3148
|
() => [
|
|
3149
|
-
{ no: 1, name: "urls", kind: "message", T:
|
|
3150
|
-
{ no: 2, name: "hashtags", kind: "message", T:
|
|
3151
|
-
{ no: 3, name: "media", kind: "message", T:
|
|
3152
|
-
{ no: 4, name: "user_mentions", kind: "message", T:
|
|
3153
|
-
{ no: 5, name: "symbols", kind: "message", T:
|
|
3154
|
-
{ no: 6, name: "polls", kind: "message", T:
|
|
3149
|
+
{ no: 1, name: "urls", kind: "message", T: jl, repeated: !0 },
|
|
3150
|
+
{ no: 2, name: "hashtags", kind: "message", T: Yl, repeated: !0 },
|
|
3151
|
+
{ no: 3, name: "media", kind: "message", T: $l, repeated: !0 },
|
|
3152
|
+
{ no: 4, name: "user_mentions", kind: "message", T: Xl, repeated: !0 },
|
|
3153
|
+
{ no: 5, name: "symbols", kind: "message", T: Zl, repeated: !0 },
|
|
3154
|
+
{ no: 6, name: "polls", kind: "message", T: em, repeated: !0 }
|
|
3155
3155
|
],
|
|
3156
3156
|
{ localName: "TweetMetadata_TweetEntities" }
|
|
3157
|
-
),
|
|
3157
|
+
), sm = /* @__PURE__ */ i.makeMessageType(
|
|
3158
3158
|
"streamlayer.social.TweetMetadata.TweetExtendedEntities",
|
|
3159
3159
|
() => [
|
|
3160
3160
|
{ no: 1, name: "media", kind: "message", T: Kl, repeated: !0 }
|
|
@@ -3184,7 +3184,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3184
3184
|
T: 9
|
|
3185
3185
|
/* ScalarType.STRING */
|
|
3186
3186
|
},
|
|
3187
|
-
{ no: 4, name: "meta", kind: "message", T:
|
|
3187
|
+
{ no: 4, name: "meta", kind: "message", T: nm }
|
|
3188
3188
|
]
|
|
3189
3189
|
), G = /* @__PURE__ */ i.makeEnum(
|
|
3190
3190
|
"streamlayer.interactive.QuestionType",
|
|
@@ -3197,7 +3197,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3197
3197
|
{ no: 5, name: "QUESTION_TYPE_TWEET", localName: "TWEET" },
|
|
3198
3198
|
{ no: 6, name: "QUESTION_TYPE_PROMOTION", localName: "PROMOTION" }
|
|
3199
3199
|
]
|
|
3200
|
-
),
|
|
3200
|
+
), rm = /* @__PURE__ */ i.makeEnum(
|
|
3201
3201
|
"streamlayer.interactive.QuestionSource",
|
|
3202
3202
|
[
|
|
3203
3203
|
{ no: 0, name: "QUESTION_SOURCE_UNSET", localName: "UNSET" },
|
|
@@ -3213,14 +3213,14 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3213
3213
|
{ no: 3, name: "QUESTION_STATUS_ACTIVE", localName: "ACTIVE" },
|
|
3214
3214
|
{ no: 4, name: "QUESTION_STATUS_RESOLVED", localName: "RESOLVED" }
|
|
3215
3215
|
]
|
|
3216
|
-
),
|
|
3216
|
+
), om = /* @__PURE__ */ i.makeEnum(
|
|
3217
3217
|
"streamlayer.interactive.QuestionPosition",
|
|
3218
3218
|
[
|
|
3219
3219
|
{ no: 0, name: "QUESTION_POSITION_UNSET", localName: "UNSET" },
|
|
3220
3220
|
{ no: 1, name: "QUESTION_POSITION_DEFAULT", localName: "DEFAULT" },
|
|
3221
3221
|
{ no: 2, name: "QUESTION_POSITION_FIXED_BOTTOM", localName: "FIXED_BOTTOM" }
|
|
3222
3222
|
]
|
|
3223
|
-
),
|
|
3223
|
+
), im = /* @__PURE__ */ i.makeEnum(
|
|
3224
3224
|
"streamlayer.interactive.QuestionLayout",
|
|
3225
3225
|
[
|
|
3226
3226
|
{ no: 0, name: "QUESTION_LAYOUT_UNSET", localName: "UNSET" },
|
|
@@ -3236,7 +3236,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3236
3236
|
{ no: 3, name: "QUESTION_IMAGES_TRANSPARENT", localName: "TRANSPARENT" },
|
|
3237
3237
|
{ no: 4, name: "QUESTION_IMAGES_CENTERED", localName: "CENTERED" }
|
|
3238
3238
|
]
|
|
3239
|
-
),
|
|
3239
|
+
), cm = /* @__PURE__ */ i.makeEnum(
|
|
3240
3240
|
"streamlayer.interactive.NotificationPromotionMode",
|
|
3241
3241
|
[
|
|
3242
3242
|
{ no: 0, name: "NOTIFICATION_PROMOTION_MODE_UNSET", localName: "UNSET" },
|
|
@@ -3244,7 +3244,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3244
3244
|
{ no: 2, name: "NOTIFICATION_PROMOTION_MODE_LOWER_THIRD", localName: "LOWER_THIRD" },
|
|
3245
3245
|
{ no: 3, name: "NOTIFICATION_PROMOTION_MODE_RICH_NOTIFICATION", localName: "RICH_NOTIFICATION" }
|
|
3246
3246
|
]
|
|
3247
|
-
),
|
|
3247
|
+
), lm = /* @__PURE__ */ i.makeEnum(
|
|
3248
3248
|
"streamlayer.interactive.NotificationPromotionImagePosition",
|
|
3249
3249
|
[
|
|
3250
3250
|
{ no: 0, name: "NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET", localName: "UNSET" },
|
|
@@ -3254,14 +3254,14 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3254
3254
|
{ no: 4, name: "NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID", localName: "SOLID" },
|
|
3255
3255
|
{ no: 5, name: "NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE", localName: "MIDDLE" }
|
|
3256
3256
|
]
|
|
3257
|
-
),
|
|
3257
|
+
), mm = /* @__PURE__ */ i.makeEnum(
|
|
3258
3258
|
"streamlayer.interactive.NotificationSponsorLogoMode",
|
|
3259
3259
|
[
|
|
3260
3260
|
{ no: 0, name: "NOTIFICATION_SPONSOR_LOGO_UNSET" },
|
|
3261
3261
|
{ no: 1, name: "NOTIFICATION_SPONSOR_LOGO_NONE" },
|
|
3262
3262
|
{ no: 2, name: "NOTIFICATION_SPONSOR_LOGO_TRANSPARENT" }
|
|
3263
3263
|
]
|
|
3264
|
-
),
|
|
3264
|
+
), um = /* @__PURE__ */ i.makeEnum(
|
|
3265
3265
|
"streamlayer.interactive.CtaIconMode",
|
|
3266
3266
|
[
|
|
3267
3267
|
{ no: 0, name: "CTA_ICON_UNSET" },
|
|
@@ -3286,14 +3286,14 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3286
3286
|
{ no: 5, name: "PROMOTION_TYPE_INGAME_IAB21_LBAR", localName: "INGAME_IAB21_LBAR" },
|
|
3287
3287
|
{ no: 6, name: "PROMOTION_TYPE_EXTERNAL_AD", localName: "EXTERNAL_AD" }
|
|
3288
3288
|
]
|
|
3289
|
-
),
|
|
3289
|
+
), dm = /* @__PURE__ */ i.makeEnum(
|
|
3290
3290
|
"streamlayer.interactive.PromotionWallet",
|
|
3291
3291
|
[
|
|
3292
3292
|
{ no: 0, name: "PROMOTION_WALLET_UNSET", localName: "UNSET" },
|
|
3293
3293
|
{ no: 1, name: "PROMOTION_WALLET_ENABLED", localName: "ENABLED" },
|
|
3294
3294
|
{ no: 2, name: "PROMOTION_WALLET_DISABLED", localName: "DISABLED" }
|
|
3295
3295
|
]
|
|
3296
|
-
),
|
|
3296
|
+
), pm = /* @__PURE__ */ i.makeEnum(
|
|
3297
3297
|
"streamlayer.interactive.PromotionButtonType",
|
|
3298
3298
|
[
|
|
3299
3299
|
{ no: 0, name: "PROMOTION_BUTTON_TYPE_UNSET", localName: "UNSET" },
|
|
@@ -3302,7 +3302,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3302
3302
|
{ no: 4, name: "PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO", localName: "RETURN_TO_VIDEO" },
|
|
3303
3303
|
{ no: 5, name: "PROMOTION_BUTTON_TYPE_NO_BUTTON", localName: "NO_BUTTON" }
|
|
3304
3304
|
]
|
|
3305
|
-
),
|
|
3305
|
+
), Tm = /* @__PURE__ */ i.makeEnum(
|
|
3306
3306
|
"streamlayer.interactive.PromotionLogoMode",
|
|
3307
3307
|
[
|
|
3308
3308
|
{ no: 0, name: "PROMOTION_LOGO_MODE_UNSET", localName: "UNSET" },
|
|
@@ -3317,7 +3317,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3317
3317
|
{ no: 1, name: "USE_AS_NOTIFICATION_ENABLED", localName: "ENABLED" },
|
|
3318
3318
|
{ no: 2, name: "USE_AS_NOTIFICATION_DISABLED", localName: "DISABLED" }
|
|
3319
3319
|
]
|
|
3320
|
-
),
|
|
3320
|
+
), Jo = /* @__PURE__ */ i.makeEnum(
|
|
3321
3321
|
"streamlayer.interactive.NotificationEnabled",
|
|
3322
3322
|
[
|
|
3323
3323
|
{ no: 0, name: "NOTIFICATION_ENABLED_UNSET" },
|
|
@@ -3347,7 +3347,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3347
3347
|
{ no: 0, name: "QUESTION_SKIP_REASON_UNSET", localName: "UNSET" },
|
|
3348
3348
|
{ no: 1, name: "QUESTION_SKIP_REASON_OVERDUE", localName: "OVERDUE" }
|
|
3349
3349
|
]
|
|
3350
|
-
),
|
|
3350
|
+
), Xo = /* @__PURE__ */ i.makeEnum(
|
|
3351
3351
|
"streamlayer.interactive.SilenceSetting",
|
|
3352
3352
|
[
|
|
3353
3353
|
{ no: 0, name: "SILENCE_SETTING_UNSET", localName: "UNSET" },
|
|
@@ -3366,7 +3366,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3366
3366
|
), ls = /* @__PURE__ */ i.makeMessageType(
|
|
3367
3367
|
"streamlayer.interactive.QuestionAppearance",
|
|
3368
3368
|
() => [
|
|
3369
|
-
{ no: 1, name: "layout", kind: "enum", T: i.getEnumType(
|
|
3369
|
+
{ no: 1, name: "layout", kind: "enum", T: i.getEnumType(im) },
|
|
3370
3370
|
{ no: 2, name: "images", kind: "enum", T: i.getEnumType(ft) },
|
|
3371
3371
|
{
|
|
3372
3372
|
no: 3,
|
|
@@ -3375,7 +3375,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3375
3375
|
T: 9
|
|
3376
3376
|
/* ScalarType.STRING */
|
|
3377
3377
|
},
|
|
3378
|
-
{ no: 4, name: "position", kind: "enum", T: i.getEnumType(
|
|
3378
|
+
{ no: 4, name: "position", kind: "enum", T: i.getEnumType(om) },
|
|
3379
3379
|
{
|
|
3380
3380
|
no: 5,
|
|
3381
3381
|
name: "auto_hide_interval",
|
|
@@ -3412,10 +3412,10 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3412
3412
|
T: 9
|
|
3413
3413
|
/* ScalarType.STRING */
|
|
3414
3414
|
},
|
|
3415
|
-
{ no: 2, name: "sponsor_logo_mode", kind: "enum", T: i.getEnumType(
|
|
3416
|
-
{ no: 3, name: "cta_button", kind: "message", T:
|
|
3417
|
-
{ no: 4, name: "image_position", kind: "enum", T: i.getEnumType(
|
|
3418
|
-
{ no: 5, name: "mode", kind: "enum", T: i.getEnumType(
|
|
3415
|
+
{ no: 2, name: "sponsor_logo_mode", kind: "enum", T: i.getEnumType(mm) },
|
|
3416
|
+
{ no: 3, name: "cta_button", kind: "message", T: ei },
|
|
3417
|
+
{ no: 4, name: "image_position", kind: "enum", T: i.getEnumType(lm) },
|
|
3418
|
+
{ no: 5, name: "mode", kind: "enum", T: i.getEnumType(cm) }
|
|
3419
3419
|
]
|
|
3420
3420
|
), ms = /* @__PURE__ */ i.makeMessageType(
|
|
3421
3421
|
"streamlayer.interactive.QuestionNotification",
|
|
@@ -3451,7 +3451,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3451
3451
|
},
|
|
3452
3452
|
{ no: 6, name: "image_mode", kind: "enum", T: i.getEnumType(ft) },
|
|
3453
3453
|
{ no: 7, name: "promotion", kind: "message", T: hm },
|
|
3454
|
-
{ no: 8, name: "enabled", kind: "enum", T: i.getEnumType(
|
|
3454
|
+
{ no: 8, name: "enabled", kind: "enum", T: i.getEnumType(Jo) }
|
|
3455
3455
|
]
|
|
3456
3456
|
), Sm = /* @__PURE__ */ i.makeMessageType(
|
|
3457
3457
|
"streamlayer.interactive.QuestionAnswer",
|
|
@@ -3602,7 +3602,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3602
3602
|
/* ScalarType.STRING */
|
|
3603
3603
|
}
|
|
3604
3604
|
]
|
|
3605
|
-
),
|
|
3605
|
+
), Zo = /* @__PURE__ */ i.makeMessageType(
|
|
3606
3606
|
"streamlayer.interactive.WebLink",
|
|
3607
3607
|
() => [
|
|
3608
3608
|
{
|
|
@@ -3620,7 +3620,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3620
3620
|
/* ScalarType.STRING */
|
|
3621
3621
|
}
|
|
3622
3622
|
]
|
|
3623
|
-
),
|
|
3623
|
+
), ei = /* @__PURE__ */ i.makeMessageType(
|
|
3624
3624
|
"streamlayer.interactive.CTAButton",
|
|
3625
3625
|
() => [
|
|
3626
3626
|
{
|
|
@@ -3645,7 +3645,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3645
3645
|
T: 9
|
|
3646
3646
|
/* ScalarType.STRING */
|
|
3647
3647
|
},
|
|
3648
|
-
{ no: 5, name: "cta_icon_mode", kind: "enum", T: i.getEnumType(
|
|
3648
|
+
{ no: 5, name: "cta_icon_mode", kind: "enum", T: i.getEnumType(um) }
|
|
3649
3649
|
]
|
|
3650
3650
|
), tr = /* @__PURE__ */ i.makeMessageType(
|
|
3651
3651
|
"streamlayer.interactive.Banner",
|
|
@@ -3664,7 +3664,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3664
3664
|
T: 9
|
|
3665
3665
|
/* ScalarType.STRING */
|
|
3666
3666
|
},
|
|
3667
|
-
{ no: 3, name: "cta_button", kind: "message", T:
|
|
3667
|
+
{ no: 3, name: "cta_button", kind: "message", T: ei },
|
|
3668
3668
|
{ no: 4, name: "video", kind: "message", T: us },
|
|
3669
3669
|
{ no: 5, name: "body", kind: "scalar", T: 9, opt: !0 },
|
|
3670
3670
|
{ no: 6, name: "analytics_topic_sub_type", kind: "enum", T: i.getEnumType(Re), opt: !0 },
|
|
@@ -3675,7 +3675,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3675
3675
|
() => [
|
|
3676
3676
|
{ no: 1, name: "interval", kind: "scalar", T: 5, opt: !0 }
|
|
3677
3677
|
]
|
|
3678
|
-
),
|
|
3678
|
+
), ti = /* @__PURE__ */ i.makeMessageType(
|
|
3679
3679
|
"streamlayer.interactive.QuestionOptions",
|
|
3680
3680
|
() => [
|
|
3681
3681
|
{ no: 1, name: "poll", kind: "message", T: bm, oneof: "options" },
|
|
@@ -3728,7 +3728,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3728
3728
|
/* ScalarType.STRING */
|
|
3729
3729
|
},
|
|
3730
3730
|
{ no: 3, name: "video", kind: "message", T: us },
|
|
3731
|
-
{ no: 4, name: "web_link", kind: "message", T:
|
|
3731
|
+
{ no: 4, name: "web_link", kind: "message", T: Zo },
|
|
3732
3732
|
{ no: 5, name: "image_mode", kind: "enum", T: i.getEnumType(ft) },
|
|
3733
3733
|
{ no: 6, name: "use_as_notification", kind: "enum", T: i.getEnumType(zo) }
|
|
3734
3734
|
],
|
|
@@ -3875,7 +3875,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3875
3875
|
{ no: 1, name: "type", kind: "enum", T: i.getEnumType(Ze) },
|
|
3876
3876
|
{ no: 2, name: "sponsor", kind: "message", T: Gt },
|
|
3877
3877
|
{ no: 3, name: "banner", kind: "message", T: tr },
|
|
3878
|
-
{ no: 4, name: "enable_wallet", kind: "enum", T: i.getEnumType(
|
|
3878
|
+
{ no: 4, name: "enable_wallet", kind: "enum", T: i.getEnumType(dm) },
|
|
3879
3879
|
{ no: 5, name: "additional_banner", kind: "message", T: tr },
|
|
3880
3880
|
{
|
|
3881
3881
|
no: 6,
|
|
@@ -3884,7 +3884,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3884
3884
|
T: 9
|
|
3885
3885
|
/* ScalarType.STRING */
|
|
3886
3886
|
},
|
|
3887
|
-
{ no: 7, name: "logo_mode", kind: "enum", T: i.getEnumType(
|
|
3887
|
+
{ no: 7, name: "logo_mode", kind: "enum", T: i.getEnumType(Tm) },
|
|
3888
3888
|
{
|
|
3889
3889
|
no: 8,
|
|
3890
3890
|
name: "coupon_zip",
|
|
@@ -3899,7 +3899,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3899
3899
|
T: 9
|
|
3900
3900
|
/* ScalarType.STRING */
|
|
3901
3901
|
},
|
|
3902
|
-
{ no: 10, name: "button_type", kind: "enum", T: i.getEnumType(
|
|
3902
|
+
{ no: 10, name: "button_type", kind: "enum", T: i.getEnumType(pm), opt: !0 },
|
|
3903
3903
|
{ no: 11, name: "ad_campaigns", kind: "message", T: Rm, opt: !0 }
|
|
3904
3904
|
],
|
|
3905
3905
|
{ localName: "QuestionOptions_PromotionOptions" }
|
|
@@ -3939,7 +3939,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3939
3939
|
/* ScalarType.BOOL */
|
|
3940
3940
|
}
|
|
3941
3941
|
]
|
|
3942
|
-
),
|
|
3942
|
+
), ni = /* @__PURE__ */ i.makeMessageType(
|
|
3943
3943
|
"streamlayer.interactive.Question",
|
|
3944
3944
|
() => [
|
|
3945
3945
|
{
|
|
@@ -3951,7 +3951,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
3951
3951
|
},
|
|
3952
3952
|
{ no: 2, name: "type", kind: "enum", T: i.getEnumType(G) },
|
|
3953
3953
|
{ no: 3, name: "subject", kind: "scalar", T: 9, opt: !0 },
|
|
3954
|
-
{ no: 4, name: "options", kind: "message", T:
|
|
3954
|
+
{ no: 4, name: "options", kind: "message", T: ti },
|
|
3955
3955
|
{ no: 5, name: "appearance", kind: "message", T: ls },
|
|
3956
3956
|
{ no: 6, name: "sponsorship", kind: "message", T: Gt },
|
|
3957
3957
|
{ no: 7, name: "notification", kind: "message", T: ms },
|
|
@@ -4002,7 +4002,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4002
4002
|
/* ScalarType.STRING */
|
|
4003
4003
|
},
|
|
4004
4004
|
{ no: 20, name: "activation_trigger_count", kind: "scalar", T: 13, opt: !0 },
|
|
4005
|
-
{ no: 21, name: "source", kind: "enum", T: i.getEnumType(
|
|
4005
|
+
{ no: 21, name: "source", kind: "enum", T: i.getEnumType(rm) },
|
|
4006
4006
|
{ no: 22, name: "ai", kind: "message", T: Pm },
|
|
4007
4007
|
{ no: 23, name: "has_triggers", kind: "scalar", T: 8, opt: !0 }
|
|
4008
4008
|
]
|
|
@@ -4024,7 +4024,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4024
4024
|
T: 9
|
|
4025
4025
|
/* ScalarType.STRING */
|
|
4026
4026
|
},
|
|
4027
|
-
{ no: 4, name: "options", kind: "message", T:
|
|
4027
|
+
{ no: 4, name: "options", kind: "message", T: ti },
|
|
4028
4028
|
{ no: 5, name: "appearance", kind: "message", T: ls },
|
|
4029
4029
|
{ no: 6, name: "sponsorship", kind: "message", T: Gt },
|
|
4030
4030
|
{ no: 7, name: "notification", kind: "message", T: ms },
|
|
@@ -4067,7 +4067,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4067
4067
|
},
|
|
4068
4068
|
{ no: 15, name: "bypass_notifications", kind: "message", T: ps }
|
|
4069
4069
|
]
|
|
4070
|
-
),
|
|
4070
|
+
), ai = /* @__PURE__ */ i.makeMessageType(
|
|
4071
4071
|
"streamlayer.interactive.EventModeration",
|
|
4072
4072
|
() => [
|
|
4073
4073
|
{
|
|
@@ -4240,7 +4240,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4240
4240
|
), ps = /* @__PURE__ */ i.makeMessageType(
|
|
4241
4241
|
"streamlayer.interactive.BypassNotifications",
|
|
4242
4242
|
() => [
|
|
4243
|
-
{ no: 1, name: "in_app_silence", kind: "enum", T: i.getEnumType(
|
|
4243
|
+
{ no: 1, name: "in_app_silence", kind: "enum", T: i.getEnumType(Xo) }
|
|
4244
4244
|
]
|
|
4245
4245
|
), Hm = /* @__PURE__ */ i.makeMessageType(
|
|
4246
4246
|
"streamlayer.interactive.ImportError",
|
|
@@ -4295,15 +4295,15 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4295
4295
|
{ no: 2, name: "UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER" },
|
|
4296
4296
|
{ no: 3, name: "UPDATE_TYPE_QUESTION_RESOLVE" }
|
|
4297
4297
|
]
|
|
4298
|
-
),
|
|
4298
|
+
), si = /* @__PURE__ */ i.makeMessageType(
|
|
4299
4299
|
"streamlayer.interactive.feed.FeedQuestion",
|
|
4300
4300
|
() => [
|
|
4301
|
-
{ no: 1, name: "question", kind: "message", T:
|
|
4301
|
+
{ no: 1, name: "question", kind: "message", T: ni },
|
|
4302
4302
|
{ no: 2, name: "notification", kind: "message", T: ms },
|
|
4303
|
-
{ no: 3, name: "moderation", kind: "message", T:
|
|
4303
|
+
{ no: 3, name: "moderation", kind: "message", T: ai },
|
|
4304
4304
|
{ no: 4, name: "feed_item", kind: "message", T: Hn }
|
|
4305
4305
|
]
|
|
4306
|
-
),
|
|
4306
|
+
), $m = /* @__PURE__ */ i.makeMessageType(
|
|
4307
4307
|
"streamlayer.interactive.feed.SubscriptionRequest",
|
|
4308
4308
|
() => [
|
|
4309
4309
|
{
|
|
@@ -4321,7 +4321,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4321
4321
|
/* ScalarType.STRING */
|
|
4322
4322
|
}
|
|
4323
4323
|
]
|
|
4324
|
-
),
|
|
4324
|
+
), Km = /* @__PURE__ */ i.makeMessageType(
|
|
4325
4325
|
"streamlayer.interactive.feed.SubscriptionResponse",
|
|
4326
4326
|
() => [
|
|
4327
4327
|
{ no: 1, name: "data", kind: "message", T: Wm }
|
|
@@ -4343,7 +4343,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4343
4343
|
T: 9
|
|
4344
4344
|
/* ScalarType.STRING */
|
|
4345
4345
|
},
|
|
4346
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
4346
|
+
{ no: 3, name: "attributes", kind: "message", T: si }
|
|
4347
4347
|
],
|
|
4348
4348
|
{ localName: "SubscriptionResponse_SubscriptionResponseData" }
|
|
4349
4349
|
), zm = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4510,7 +4510,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4510
4510
|
T: 9
|
|
4511
4511
|
/* ScalarType.STRING */
|
|
4512
4512
|
},
|
|
4513
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
4513
|
+
{ no: 3, name: "attributes", kind: "message", T: si }
|
|
4514
4514
|
],
|
|
4515
4515
|
{ localName: "SyncQuestionResponse_SyncQuestionResponseData" }
|
|
4516
4516
|
), uu = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4546,7 +4546,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4546
4546
|
T: 9
|
|
4547
4547
|
/* ScalarType.STRING */
|
|
4548
4548
|
},
|
|
4549
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
4549
|
+
{ no: 3, name: "attributes", kind: "message", T: ni }
|
|
4550
4550
|
],
|
|
4551
4551
|
{ localName: "GetQuestionResponse_GetQuestionResponseData" }
|
|
4552
4552
|
), Tu = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4742,7 +4742,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4742
4742
|
},
|
|
4743
4743
|
{ no: 2, name: "pagination", kind: "message", T: qn }
|
|
4744
4744
|
]
|
|
4745
|
-
),
|
|
4745
|
+
), ri = /* @__PURE__ */ i.makeMessageType(
|
|
4746
4746
|
"streamlayer.interactive.feed.PickHistory",
|
|
4747
4747
|
() => [
|
|
4748
4748
|
{
|
|
@@ -4793,7 +4793,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4793
4793
|
), Ru = /* @__PURE__ */ i.makeMessageType(
|
|
4794
4794
|
"streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",
|
|
4795
4795
|
() => [
|
|
4796
|
-
{ no: 1, name: "attributes", kind: "message", T:
|
|
4796
|
+
{ no: 1, name: "attributes", kind: "message", T: ri }
|
|
4797
4797
|
],
|
|
4798
4798
|
{ localName: "PickHistoryResponse_PickHistoryResponseData" }
|
|
4799
4799
|
), Lu = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4840,7 +4840,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4840
4840
|
{ no: 2, name: "body", kind: "scalar", T: 9, opt: !0 },
|
|
4841
4841
|
{ no: 3, name: "image", kind: "scalar", T: 9, opt: !0 },
|
|
4842
4842
|
{ no: 4, name: "video", kind: "message", T: us, opt: !0 },
|
|
4843
|
-
{ no: 5, name: "web_link", kind: "message", T:
|
|
4843
|
+
{ no: 5, name: "web_link", kind: "message", T: Zo, opt: !0 },
|
|
4844
4844
|
{ no: 6, name: "image_mode", kind: "enum", T: i.getEnumType(ft) }
|
|
4845
4845
|
]
|
|
4846
4846
|
), Du = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4850,7 +4850,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4850
4850
|
{ no: 2, name: "body", kind: "scalar", T: 9, opt: !0 },
|
|
4851
4851
|
{ no: 3, name: "image_position", kind: "scalar", T: 5, opt: !0 }
|
|
4852
4852
|
]
|
|
4853
|
-
),
|
|
4853
|
+
), oi = /* @__PURE__ */ i.makeMessageType(
|
|
4854
4854
|
"streamlayer.interactive.feed.InsightHistory",
|
|
4855
4855
|
() => [
|
|
4856
4856
|
{
|
|
@@ -4901,7 +4901,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4901
4901
|
T: 9
|
|
4902
4902
|
/* ScalarType.STRING */
|
|
4903
4903
|
},
|
|
4904
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
4904
|
+
{ no: 3, name: "attributes", kind: "message", T: oi }
|
|
4905
4905
|
],
|
|
4906
4906
|
{ localName: "InsightHistoryResponse_InsightHistoryResponseData" }
|
|
4907
4907
|
), Fu = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4915,7 +4915,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4915
4915
|
/* ScalarType.STRING */
|
|
4916
4916
|
}
|
|
4917
4917
|
]
|
|
4918
|
-
),
|
|
4918
|
+
), ii = /* @__PURE__ */ i.makeMessageType(
|
|
4919
4919
|
"streamlayer.interactive.feed.TweetHistory",
|
|
4920
4920
|
() => [
|
|
4921
4921
|
{
|
|
@@ -4984,7 +4984,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4984
4984
|
T: 9
|
|
4985
4985
|
/* ScalarType.STRING */
|
|
4986
4986
|
},
|
|
4987
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
4987
|
+
{ no: 3, name: "attributes", kind: "message", T: ii }
|
|
4988
4988
|
],
|
|
4989
4989
|
{ localName: "TweetHistoryResponse_TweetHistoryResponseData" }
|
|
4990
4990
|
), Vu = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -4998,7 +4998,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
4998
4998
|
/* ScalarType.STRING */
|
|
4999
4999
|
},
|
|
5000
5000
|
{ no: 2, name: "options", kind: "message", T: xu },
|
|
5001
|
-
{ no: 3, name: "moderation", kind: "message", T:
|
|
5001
|
+
{ no: 3, name: "moderation", kind: "message", T: ai }
|
|
5002
5002
|
]
|
|
5003
5003
|
), xu = /* @__PURE__ */ i.makeMessageType(
|
|
5004
5004
|
"streamlayer.interactive.feed.FeedOptions",
|
|
@@ -5058,7 +5058,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5058
5058
|
/* ScalarType.STRING */
|
|
5059
5059
|
}
|
|
5060
5060
|
]
|
|
5061
|
-
),
|
|
5061
|
+
), ci = /* @__PURE__ */ i.makeMessageType(
|
|
5062
5062
|
"streamlayer.interactive.feed.PromotionHistory",
|
|
5063
5063
|
() => [
|
|
5064
5064
|
{
|
|
@@ -5086,9 +5086,9 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5086
5086
|
), ju = /* @__PURE__ */ i.makeMessageType(
|
|
5087
5087
|
"streamlayer.interactive.feed.PromotionHistoryResponse",
|
|
5088
5088
|
() => [
|
|
5089
|
-
{ no: 1, name: "data", kind: "message", T:
|
|
5089
|
+
{ no: 1, name: "data", kind: "message", T: $u, repeated: !0 }
|
|
5090
5090
|
]
|
|
5091
|
-
),
|
|
5091
|
+
), $u = /* @__PURE__ */ i.makeMessageType(
|
|
5092
5092
|
"streamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData",
|
|
5093
5093
|
() => [
|
|
5094
5094
|
{
|
|
@@ -5105,10 +5105,10 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5105
5105
|
T: 9
|
|
5106
5106
|
/* ScalarType.STRING */
|
|
5107
5107
|
},
|
|
5108
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
5108
|
+
{ no: 3, name: "attributes", kind: "message", T: ci }
|
|
5109
5109
|
],
|
|
5110
5110
|
{ localName: "PromotionHistoryResponse_PromotionHistoryResponseData" }
|
|
5111
|
-
),
|
|
5111
|
+
), Ku = /* @__PURE__ */ i.makeMessageType(
|
|
5112
5112
|
"streamlayer.interactive.feed.FeedItemAttributes",
|
|
5113
5113
|
() => [
|
|
5114
5114
|
{
|
|
@@ -5127,10 +5127,10 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5127
5127
|
T: 9
|
|
5128
5128
|
/* ScalarType.STRING */
|
|
5129
5129
|
},
|
|
5130
|
-
{ no: 4, name: "question", kind: "message", T:
|
|
5131
|
-
{ no: 5, name: "tweet", kind: "message", T:
|
|
5132
|
-
{ no: 6, name: "insight", kind: "message", T:
|
|
5133
|
-
{ no: 7, name: "promotion", kind: "message", T:
|
|
5130
|
+
{ no: 4, name: "question", kind: "message", T: ri, oneof: "attributes" },
|
|
5131
|
+
{ no: 5, name: "tweet", kind: "message", T: ii, oneof: "attributes" },
|
|
5132
|
+
{ no: 6, name: "insight", kind: "message", T: oi, oneof: "attributes" },
|
|
5133
|
+
{ no: 7, name: "promotion", kind: "message", T: ci, oneof: "attributes" }
|
|
5134
5134
|
]
|
|
5135
5135
|
), Hn = /* @__PURE__ */ i.makeMessageType(
|
|
5136
5136
|
"streamlayer.interactive.feed.FeedItem",
|
|
@@ -5149,7 +5149,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5149
5149
|
T: 9
|
|
5150
5150
|
/* ScalarType.STRING */
|
|
5151
5151
|
},
|
|
5152
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
5152
|
+
{ no: 3, name: "attributes", kind: "message", T: Ku }
|
|
5153
5153
|
]
|
|
5154
5154
|
), Wu = /* @__PURE__ */ i.makeMessageType(
|
|
5155
5155
|
"streamlayer.interactive.feed.FeedListRequest",
|
|
@@ -5721,7 +5721,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5721
5721
|
{ no: 1, name: "GETSTREAM_CHANNEL_DEFAULT_TRUE" },
|
|
5722
5722
|
{ no: 2, name: "GETSTREAM_CHANNEL_DEFAULT_FALSE" }
|
|
5723
5723
|
]
|
|
5724
|
-
),
|
|
5724
|
+
), li = /* @__PURE__ */ i.makeEnum(
|
|
5725
5725
|
"streamlayer.sdkSettings.GetStreamEnabled",
|
|
5726
5726
|
[
|
|
5727
5727
|
{ no: 0, name: "GETSTREAM_ENABLED_UNSET" },
|
|
@@ -5807,7 +5807,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5807
5807
|
/* ScalarType.STRING */
|
|
5808
5808
|
}
|
|
5809
5809
|
]
|
|
5810
|
-
),
|
|
5810
|
+
), mi = /* @__PURE__ */ i.makeMessageType(
|
|
5811
5811
|
"streamlayer.sdkSettings.BrandDefaults",
|
|
5812
5812
|
() => [
|
|
5813
5813
|
{ no: 1, name: "appearance", kind: "message", T: Rd }
|
|
@@ -5883,7 +5883,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5883
5883
|
), Ld = /* @__PURE__ */ i.makeMessageType(
|
|
5884
5884
|
"streamlayer.sdkSettings.GetStreamSettingsClient",
|
|
5885
5885
|
() => [
|
|
5886
|
-
{ no: 1, name: "enabled", kind: "enum", T: i.getEnumType(
|
|
5886
|
+
{ no: 1, name: "enabled", kind: "enum", T: i.getEnumType(li) },
|
|
5887
5887
|
{
|
|
5888
5888
|
no: 2,
|
|
5889
5889
|
name: "key",
|
|
@@ -5930,7 +5930,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5930
5930
|
), Md = /* @__PURE__ */ i.makeMessageType(
|
|
5931
5931
|
"streamlayer.sdkSettings.GetStreamChannels",
|
|
5932
5932
|
() => [
|
|
5933
|
-
{ no: 1, name: "enabled", kind: "enum", T: i.getEnumType(
|
|
5933
|
+
{ no: 1, name: "enabled", kind: "enum", T: i.getEnumType(li) },
|
|
5934
5934
|
{
|
|
5935
5935
|
no: 2,
|
|
5936
5936
|
name: "key",
|
|
@@ -5949,10 +5949,10 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
5949
5949
|
{ no: 5, name: "default_channel", kind: "message", T: Ln },
|
|
5950
5950
|
{ no: 6, name: "channels", kind: "message", T: Ln, repeated: !0 }
|
|
5951
5951
|
]
|
|
5952
|
-
),
|
|
5952
|
+
), ui = /* @__PURE__ */ i.makeMessageType(
|
|
5953
5953
|
"streamlayer.sdkSettings.StreamSettings",
|
|
5954
5954
|
() => [
|
|
5955
|
-
{ no: 1, name: "overlays", kind: "message", T:
|
|
5955
|
+
{ no: 1, name: "overlays", kind: "message", T: pi, repeated: !0 },
|
|
5956
5956
|
{
|
|
5957
5957
|
no: 2,
|
|
5958
5958
|
name: "custom",
|
|
@@ -6002,7 +6002,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
6002
6002
|
T: 9
|
|
6003
6003
|
/* ScalarType.STRING */
|
|
6004
6004
|
},
|
|
6005
|
-
{ no: 9, name: "brand_defaults", kind: "message", T:
|
|
6005
|
+
{ no: 9, name: "brand_defaults", kind: "message", T: mi },
|
|
6006
6006
|
{ no: 10, name: "getstream", kind: "message", T: Md }
|
|
6007
6007
|
]
|
|
6008
6008
|
), Pd = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -6039,10 +6039,10 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
6039
6039
|
{ no: 3, name: "t", kind: "scalar", T: 9, opt: !0 }
|
|
6040
6040
|
],
|
|
6041
6041
|
{ localName: "JWK_OTH" }
|
|
6042
|
-
),
|
|
6042
|
+
), di = /* @__PURE__ */ i.makeMessageType(
|
|
6043
6043
|
"streamlayer.sdkSettings.OrganizationSettings",
|
|
6044
6044
|
() => [
|
|
6045
|
-
{ no: 1, name: "overlays", kind: "message", T:
|
|
6045
|
+
{ no: 1, name: "overlays", kind: "message", T: pi, repeated: !0 },
|
|
6046
6046
|
{
|
|
6047
6047
|
no: 2,
|
|
6048
6048
|
name: "button_icon",
|
|
@@ -6113,7 +6113,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
6113
6113
|
T: 9
|
|
6114
6114
|
/* ScalarType.STRING */
|
|
6115
6115
|
},
|
|
6116
|
-
{ no: 12, name: "brand_defaults", kind: "message", T:
|
|
6116
|
+
{ no: 12, name: "brand_defaults", kind: "message", T: mi },
|
|
6117
6117
|
{ no: 13, name: "pub", kind: "message", T: Pd },
|
|
6118
6118
|
{ no: 14, name: "getstream", kind: "message", T: Ld },
|
|
6119
6119
|
{ no: 15, name: "public_name", kind: "enum", T: i.getEnumType(bd) },
|
|
@@ -6157,7 +6157,7 @@ const Hl = /* @__PURE__ */ i.makeEnum(
|
|
|
6157
6157
|
{ no: 3, name: "preset", kind: "message", T: jt },
|
|
6158
6158
|
{ no: 4, name: "stream", kind: "message", T: jt }
|
|
6159
6159
|
]
|
|
6160
|
-
),
|
|
6160
|
+
), pi = /* @__PURE__ */ i.makeMessageType(
|
|
6161
6161
|
"streamlayer.sdkSettings.SdkOverlay",
|
|
6162
6162
|
() => [
|
|
6163
6163
|
{ no: 1, name: "type", kind: "enum", T: i.getEnumType(j) },
|
|
@@ -6427,14 +6427,14 @@ let gs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + dn] || (e.even
|
|
|
6427
6427
|
return e.listen = (s) => (!e.lc && !e.starting && (e.starting = !0, n(), delete e.starting), a(s)), () => {
|
|
6428
6428
|
e.listen = a;
|
|
6429
6429
|
};
|
|
6430
|
-
}),
|
|
6430
|
+
}), $d = (e, t) => gs(e, t, Qd, (n) => {
|
|
6431
6431
|
let a = e.off;
|
|
6432
6432
|
return e.off = () => {
|
|
6433
6433
|
n(), a();
|
|
6434
6434
|
}, () => {
|
|
6435
6435
|
e.off = a;
|
|
6436
6436
|
};
|
|
6437
|
-
}),
|
|
6437
|
+
}), Kd = 1e3, Bt = (e, t) => gs(e, (a) => {
|
|
6438
6438
|
let s = t(a);
|
|
6439
6439
|
s && e.events[un].push(s);
|
|
6440
6440
|
}, Yd, (a) => {
|
|
@@ -6448,11 +6448,11 @@ let gs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + dn] || (e.even
|
|
|
6448
6448
|
for (let o of e.events[un]) o();
|
|
6449
6449
|
e.events[un] = [];
|
|
6450
6450
|
}
|
|
6451
|
-
},
|
|
6451
|
+
}, Kd);
|
|
6452
6452
|
}, () => {
|
|
6453
6453
|
e.listen = s, e.off = r;
|
|
6454
6454
|
};
|
|
6455
|
-
}),
|
|
6455
|
+
}), Ti = (e, t, n) => {
|
|
6456
6456
|
Array.isArray(e) || (e = [e]);
|
|
6457
6457
|
let a, s = 0, r = () => {
|
|
6458
6458
|
let m = e.map((u) => u.get());
|
|
@@ -6473,7 +6473,7 @@ let gs = (e, t, n, a) => (e.events = e.events || {}, e.events[n + dn] || (e.even
|
|
|
6473
6473
|
for (let u of m) u();
|
|
6474
6474
|
};
|
|
6475
6475
|
}), o;
|
|
6476
|
-
}, Wd = (e, t) =>
|
|
6476
|
+
}, Wd = (e, t) => Ti(e, t), rr = (e, t) => Ti(e, t, !0), Ga = (e = {}) => {
|
|
6477
6477
|
let t = at(e);
|
|
6478
6478
|
return t.setKey = function(n, a) {
|
|
6479
6479
|
let s = t.value;
|
|
@@ -6642,17 +6642,17 @@ var Zd = function(e) {
|
|
|
6642
6642
|
};
|
|
6643
6643
|
}
|
|
6644
6644
|
function c(T, f) {
|
|
6645
|
-
a[T] && (s[T] = function(
|
|
6645
|
+
a[T] && (s[T] = function(h) {
|
|
6646
6646
|
return new Promise(function(I, b) {
|
|
6647
|
-
r.push([T,
|
|
6647
|
+
r.push([T, h, I, b]) > 1 || l(T, h);
|
|
6648
6648
|
});
|
|
6649
6649
|
}, f && (s[T] = f(s[T])));
|
|
6650
6650
|
}
|
|
6651
6651
|
function l(T, f) {
|
|
6652
6652
|
try {
|
|
6653
6653
|
m(a[T](f));
|
|
6654
|
-
} catch (
|
|
6655
|
-
y(r[0][3],
|
|
6654
|
+
} catch (h) {
|
|
6655
|
+
y(r[0][3], h);
|
|
6656
6656
|
}
|
|
6657
6657
|
}
|
|
6658
6658
|
function m(T) {
|
|
@@ -6685,7 +6685,7 @@ function np(e) {
|
|
|
6685
6685
|
yield Zt(yield* tp(Zd(e)));
|
|
6686
6686
|
});
|
|
6687
6687
|
}
|
|
6688
|
-
var
|
|
6688
|
+
var yi = function(e) {
|
|
6689
6689
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
6690
6690
|
var t = e[Symbol.asyncIterator], n;
|
|
6691
6691
|
return t ? t.call(e) : (e = typeof __values == "function" ? __values(e) : e[Symbol.iterator](), n = {}, a("next"), a("throw"), a("return"), n[Symbol.asyncIterator] = function() {
|
|
@@ -6729,17 +6729,17 @@ var Ti = function(e) {
|
|
|
6729
6729
|
};
|
|
6730
6730
|
}
|
|
6731
6731
|
function c(T, f) {
|
|
6732
|
-
a[T] && (s[T] = function(
|
|
6732
|
+
a[T] && (s[T] = function(h) {
|
|
6733
6733
|
return new Promise(function(I, b) {
|
|
6734
|
-
r.push([T,
|
|
6734
|
+
r.push([T, h, I, b]) > 1 || l(T, h);
|
|
6735
6735
|
});
|
|
6736
6736
|
}, f && (s[T] = f(s[T])));
|
|
6737
6737
|
}
|
|
6738
6738
|
function l(T, f) {
|
|
6739
6739
|
try {
|
|
6740
6740
|
m(a[T](f));
|
|
6741
|
-
} catch (
|
|
6742
|
-
y(r[0][3],
|
|
6741
|
+
} catch (h) {
|
|
6742
|
+
y(r[0][3], h);
|
|
6743
6743
|
}
|
|
6744
6744
|
}
|
|
6745
6745
|
function m(T) {
|
|
@@ -6780,7 +6780,7 @@ function rp(e, t, n) {
|
|
|
6780
6780
|
}
|
|
6781
6781
|
function op(e, t, n) {
|
|
6782
6782
|
return function(a, s) {
|
|
6783
|
-
return
|
|
6783
|
+
return gi(e.stream(t, n, s == null ? void 0 : s.signal, s == null ? void 0 : s.timeoutMs, s == null ? void 0 : s.headers, np([a]), s == null ? void 0 : s.contextValues), s);
|
|
6784
6784
|
};
|
|
6785
6785
|
}
|
|
6786
6786
|
function ip(e, t, n) {
|
|
@@ -6790,13 +6790,13 @@ function ip(e, t, n) {
|
|
|
6790
6790
|
(m = s == null ? void 0 : s.onHeader) === null || m === void 0 || m.call(s, d.header);
|
|
6791
6791
|
let y, T = 0;
|
|
6792
6792
|
try {
|
|
6793
|
-
for (var f = !0,
|
|
6793
|
+
for (var f = !0, h = yi(d.message), I; I = await h.next(), r = I.done, !r; f = !0)
|
|
6794
6794
|
l = I.value, f = !1, y = l, T++;
|
|
6795
6795
|
} catch (b) {
|
|
6796
6796
|
o = { error: b };
|
|
6797
6797
|
} finally {
|
|
6798
6798
|
try {
|
|
6799
|
-
!f && !r && (c =
|
|
6799
|
+
!f && !r && (c = h.return) && await c.call(h);
|
|
6800
6800
|
} finally {
|
|
6801
6801
|
if (o) throw o.error;
|
|
6802
6802
|
}
|
|
@@ -6810,15 +6810,15 @@ function ip(e, t, n) {
|
|
|
6810
6810
|
}
|
|
6811
6811
|
function cp(e, t, n) {
|
|
6812
6812
|
return function(a, s) {
|
|
6813
|
-
return
|
|
6813
|
+
return gi(e.stream(t, n, s == null ? void 0 : s.signal, s == null ? void 0 : s.timeoutMs, s == null ? void 0 : s.headers, a, s == null ? void 0 : s.contextValues), s);
|
|
6814
6814
|
};
|
|
6815
6815
|
}
|
|
6816
|
-
function
|
|
6816
|
+
function gi(e, t) {
|
|
6817
6817
|
const n = function() {
|
|
6818
6818
|
return sp(this, arguments, function* () {
|
|
6819
6819
|
var a, s;
|
|
6820
6820
|
const r = yield Dt(e);
|
|
6821
|
-
(a = t == null ? void 0 : t.onHeader) === null || a === void 0 || a.call(t, r.header), yield Dt(yield* ap(
|
|
6821
|
+
(a = t == null ? void 0 : t.onHeader) === null || a === void 0 || a.call(t, r.header), yield Dt(yield* ap(yi(r.message))), (s = t == null ? void 0 : t.onTrailer) === null || s === void 0 || s.call(t, r.trailer);
|
|
6822
6822
|
});
|
|
6823
6823
|
}()[Symbol.asyncIterator]();
|
|
6824
6824
|
return {
|
|
@@ -6837,7 +6837,7 @@ function lp(...e) {
|
|
|
6837
6837
|
s.addEventListener("abort", a);
|
|
6838
6838
|
}
|
|
6839
6839
|
function a() {
|
|
6840
|
-
t.signal.aborted || t.abort(
|
|
6840
|
+
t.signal.aborted || t.abort(fi(this));
|
|
6841
6841
|
for (const s of n)
|
|
6842
6842
|
s.removeEventListener("abort", a);
|
|
6843
6843
|
}
|
|
@@ -6853,7 +6853,7 @@ function mp(e) {
|
|
|
6853
6853
|
cleanup: () => clearTimeout(a)
|
|
6854
6854
|
};
|
|
6855
6855
|
}
|
|
6856
|
-
function
|
|
6856
|
+
function fi(e) {
|
|
6857
6857
|
if (!e.aborted)
|
|
6858
6858
|
return;
|
|
6859
6859
|
if (e.reason !== void 0)
|
|
@@ -6892,7 +6892,7 @@ function dr(e) {
|
|
|
6892
6892
|
}
|
|
6893
6893
|
return t;
|
|
6894
6894
|
}
|
|
6895
|
-
const up = "Content-Type", dp = "Grpc-Timeout", Ct = "Grpc-Status",
|
|
6895
|
+
const up = "Content-Type", dp = "Grpc-Timeout", Ct = "Grpc-Status", ki = "Grpc-Message", pp = "Grpc-Status-Details-Bin", Tp = "X-User-Agent", yp = "X-Grpc-Web", gp = "application/grpc-web+proto", fp = "application/grpc-web+json";
|
|
6896
6896
|
class Ye extends tn {
|
|
6897
6897
|
constructor(t) {
|
|
6898
6898
|
super(), this.code = 0, this.message = "", this.details = [], i.util.initPartial(t, this);
|
|
@@ -6930,7 +6930,7 @@ Ye.fields = i.util.newFieldList(() => [
|
|
|
6930
6930
|
{ no: 3, name: "details", kind: "message", T: Ce, repeated: !0 }
|
|
6931
6931
|
]);
|
|
6932
6932
|
const kp = "0";
|
|
6933
|
-
function
|
|
6933
|
+
function hi(e) {
|
|
6934
6934
|
var t;
|
|
6935
6935
|
const n = e.get(pp);
|
|
6936
6936
|
if (n != null) {
|
|
@@ -6948,21 +6948,21 @@ function ki(e) {
|
|
|
6948
6948
|
if (a === kp)
|
|
6949
6949
|
return;
|
|
6950
6950
|
const s = parseInt(a, 10);
|
|
6951
|
-
return s in P ? new Q(decodeURIComponent((t = e.get(
|
|
6951
|
+
return s in P ? new Q(decodeURIComponent((t = e.get(ki)) !== null && t !== void 0 ? t : ""), s, e) : new Q(`invalid grpc-status: ${a}`, P.Internal, e);
|
|
6952
6952
|
}
|
|
6953
6953
|
}
|
|
6954
6954
|
function pr(e, t, n) {
|
|
6955
6955
|
const a = typeof t == "string" ? t : t.typeName, s = typeof n == "string" ? n : n.name;
|
|
6956
6956
|
return e.toString().replace(/\/?$/, `/${a}/${s}`);
|
|
6957
6957
|
}
|
|
6958
|
-
function
|
|
6958
|
+
function Si(e, t) {
|
|
6959
6959
|
return t instanceof e ? t : new e(t);
|
|
6960
6960
|
}
|
|
6961
6961
|
function hp(e, t) {
|
|
6962
6962
|
function n(a) {
|
|
6963
6963
|
return a.done === !0 ? a : {
|
|
6964
6964
|
done: a.done,
|
|
6965
|
-
value:
|
|
6965
|
+
value: Si(e, a.value)
|
|
6966
6966
|
};
|
|
6967
6967
|
}
|
|
6968
6968
|
return {
|
|
@@ -6974,7 +6974,7 @@ function hp(e, t) {
|
|
|
6974
6974
|
}
|
|
6975
6975
|
};
|
|
6976
6976
|
}
|
|
6977
|
-
function
|
|
6977
|
+
function _i(e, t) {
|
|
6978
6978
|
var n;
|
|
6979
6979
|
return (n = t == null ? void 0 : t.concat().reverse().reduce(
|
|
6980
6980
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
@@ -7034,11 +7034,11 @@ function gr(e, t) {
|
|
|
7034
7034
|
};
|
|
7035
7035
|
}
|
|
7036
7036
|
function _p(e) {
|
|
7037
|
-
const t =
|
|
7037
|
+
const t = _i(e.next, e.interceptors), [n, a, s] = Ei(e), r = Object.assign(Object.assign({}, e.req), { message: Si(e.req.method.I, e.req.message), signal: n });
|
|
7038
7038
|
return t(r).then((o) => (s(), o), a);
|
|
7039
7039
|
}
|
|
7040
7040
|
function Ep(e) {
|
|
7041
|
-
const t =
|
|
7041
|
+
const t = _i(e.next, e.interceptors), [n, a, s] = Ei(e), r = Object.assign(Object.assign({}, e.req), { message: hp(e.req.method.I, e.req.message), signal: n });
|
|
7042
7042
|
let o = !1;
|
|
7043
7043
|
return n.addEventListener("abort", function() {
|
|
7044
7044
|
var c, l;
|
|
@@ -7058,12 +7058,12 @@ function Ep(e) {
|
|
|
7058
7058
|
}
|
|
7059
7059
|
} }), a);
|
|
7060
7060
|
}
|
|
7061
|
-
function
|
|
7061
|
+
function Ei(e) {
|
|
7062
7062
|
const { signal: t, cleanup: n } = mp(e.timeoutMs), a = lp(e.signal, t);
|
|
7063
7063
|
return [
|
|
7064
7064
|
a.signal,
|
|
7065
7065
|
function(r) {
|
|
7066
|
-
const o = Q.from(t.aborted ?
|
|
7066
|
+
const o = Q.from(t.aborted ? fi(t) : r);
|
|
7067
7067
|
return a.abort(o), n(), Promise.reject(o);
|
|
7068
7068
|
},
|
|
7069
7069
|
function() {
|
|
@@ -7079,7 +7079,7 @@ function bp() {
|
|
|
7079
7079
|
}
|
|
7080
7080
|
}
|
|
7081
7081
|
function fr(e, t) {
|
|
7082
|
-
const n =
|
|
7082
|
+
const n = hi(e);
|
|
7083
7083
|
if (n)
|
|
7084
7084
|
throw t.forEach((a, s) => {
|
|
7085
7085
|
n.metadata.append(s, a);
|
|
@@ -7118,9 +7118,9 @@ function hr(e, t) {
|
|
|
7118
7118
|
if (e >= 200 && e < 300)
|
|
7119
7119
|
return {
|
|
7120
7120
|
foundStatus: t.has(Ct),
|
|
7121
|
-
headerError:
|
|
7121
|
+
headerError: hi(t)
|
|
7122
7122
|
};
|
|
7123
|
-
throw new Q(decodeURIComponent((n = t.get(
|
|
7123
|
+
throw new Q(decodeURIComponent((n = t.get(ki)) !== null && n !== void 0 ? n : `HTTP ${e}`), Ip(e), t);
|
|
7124
7124
|
}
|
|
7125
7125
|
var mt = function(e) {
|
|
7126
7126
|
return this instanceof mt ? (this.v = e, this) : new mt(e);
|
|
@@ -7136,17 +7136,17 @@ var mt = function(e) {
|
|
|
7136
7136
|
};
|
|
7137
7137
|
}
|
|
7138
7138
|
function c(T, f) {
|
|
7139
|
-
a[T] && (s[T] = function(
|
|
7139
|
+
a[T] && (s[T] = function(h) {
|
|
7140
7140
|
return new Promise(function(I, b) {
|
|
7141
|
-
r.push([T,
|
|
7141
|
+
r.push([T, h, I, b]) > 1 || l(T, h);
|
|
7142
7142
|
});
|
|
7143
7143
|
}, f && (s[T] = f(s[T])));
|
|
7144
7144
|
}
|
|
7145
7145
|
function l(T, f) {
|
|
7146
7146
|
try {
|
|
7147
7147
|
m(a[T](f));
|
|
7148
|
-
} catch (
|
|
7149
|
-
y(r[0][3],
|
|
7148
|
+
} catch (h) {
|
|
7149
|
+
y(r[0][3], h);
|
|
7150
7150
|
}
|
|
7151
7151
|
}
|
|
7152
7152
|
function m(T) {
|
|
@@ -7231,9 +7231,9 @@ function Sr(e) {
|
|
|
7231
7231
|
async stream(a, s, r, o, c, l, m) {
|
|
7232
7232
|
var u;
|
|
7233
7233
|
const { serialize: d, parse: y } = Tr(s, n, e.jsonOptions, e.binaryOptions);
|
|
7234
|
-
function T(
|
|
7234
|
+
function T(h, I, b, E, w, O) {
|
|
7235
7235
|
return Np(this, arguments, function* () {
|
|
7236
|
-
const L = cr(
|
|
7236
|
+
const L = cr(h).getReader();
|
|
7237
7237
|
if (I) {
|
|
7238
7238
|
if (!(yield mt(L.read())).done)
|
|
7239
7239
|
throw "extra data for trailers-only";
|
|
@@ -7249,8 +7249,8 @@ function Sr(e) {
|
|
|
7249
7249
|
if (N)
|
|
7250
7250
|
throw "extra trailer";
|
|
7251
7251
|
N = !0;
|
|
7252
|
-
const
|
|
7253
|
-
fr(
|
|
7252
|
+
const K = dr(J);
|
|
7253
|
+
fr(K, E), K.forEach((W, B) => b.set(B, W));
|
|
7254
7254
|
continue;
|
|
7255
7255
|
}
|
|
7256
7256
|
if (N)
|
|
@@ -7261,10 +7261,10 @@ function Sr(e) {
|
|
|
7261
7261
|
throw w || "missing trailer";
|
|
7262
7262
|
});
|
|
7263
7263
|
}
|
|
7264
|
-
async function f(
|
|
7264
|
+
async function f(h) {
|
|
7265
7265
|
if (s.kind != R.ServerStreaming)
|
|
7266
7266
|
throw "The fetch API does not support streaming request bodies";
|
|
7267
|
-
const I = await
|
|
7267
|
+
const I = await h[Symbol.asyncIterator]().next();
|
|
7268
7268
|
if (I.done == !0)
|
|
7269
7269
|
throw "missing request message";
|
|
7270
7270
|
return lr(0, d(I.value));
|
|
@@ -7288,13 +7288,13 @@ function Sr(e) {
|
|
|
7288
7288
|
contextValues: m ?? Va(),
|
|
7289
7289
|
message: l
|
|
7290
7290
|
},
|
|
7291
|
-
next: async (
|
|
7291
|
+
next: async (h) => {
|
|
7292
7292
|
var I;
|
|
7293
|
-
const E = await ((I = e.fetch) !== null && I !== void 0 ? I : globalThis.fetch)(
|
|
7293
|
+
const E = await ((I = e.fetch) !== null && I !== void 0 ? I : globalThis.fetch)(h.url, Object.assign(Object.assign({}, h.init), { headers: h.header, signal: h.signal, body: await f(h.message) })), { foundStatus: w, headerError: O } = hr(E.status, E.headers);
|
|
7294
7294
|
if (!E.body)
|
|
7295
7295
|
throw O ?? "missing response body";
|
|
7296
7296
|
const A = new Headers();
|
|
7297
|
-
return Object.assign(Object.assign({},
|
|
7297
|
+
return Object.assign(Object.assign({}, h), { header: E.headers, trailer: A, message: T(E.body, w, A, E.headers, O, h.signal) });
|
|
7298
7298
|
}
|
|
7299
7299
|
});
|
|
7300
7300
|
}
|
|
@@ -7342,7 +7342,7 @@ const _r = ({
|
|
|
7342
7342
|
}, { dedupeTime: H = 4e3, fetcher: J } = {
|
|
7343
7343
|
...O,
|
|
7344
7344
|
...l
|
|
7345
|
-
},
|
|
7345
|
+
}, K = Or();
|
|
7346
7346
|
if (c.has(b)) {
|
|
7347
7347
|
w.value.loading || C();
|
|
7348
7348
|
return;
|
|
@@ -7351,13 +7351,13 @@ const _r = ({
|
|
|
7351
7351
|
const B = e.get(b);
|
|
7352
7352
|
B && w.value.data !== B && N({ data: B, ...Xe });
|
|
7353
7353
|
const V = o.get(b);
|
|
7354
|
-
if (V && V + H >
|
|
7354
|
+
if (V && V + H > K)
|
|
7355
7355
|
return;
|
|
7356
7356
|
}
|
|
7357
7357
|
const W = qd();
|
|
7358
7358
|
try {
|
|
7359
7359
|
const B = J(...E);
|
|
7360
|
-
o.set(b,
|
|
7360
|
+
o.set(b, K), c.set(b, B), C();
|
|
7361
7361
|
const V = await B;
|
|
7362
7362
|
e.set(b, V), N({ data: V, ...Xe }), o.set(b, Or());
|
|
7363
7363
|
} catch (B) {
|
|
@@ -7372,14 +7372,14 @@ const _r = ({
|
|
|
7372
7372
|
const O = Ga({
|
|
7373
7373
|
...Xe
|
|
7374
7374
|
}), A = { ...n, ...w, fetcher: E };
|
|
7375
|
-
O._ =
|
|
7375
|
+
O._ = bi, O.invalidate = () => {
|
|
7376
7376
|
const { key: V } = O;
|
|
7377
7377
|
V && T(V);
|
|
7378
7378
|
}, O.mutate = (V) => {
|
|
7379
7379
|
const { key: Z } = O;
|
|
7380
7380
|
Z && f(Z, V);
|
|
7381
7381
|
};
|
|
7382
|
-
let L, N, C, H, J,
|
|
7382
|
+
let L, N, C, H, J, K = [];
|
|
7383
7383
|
jd(O, () => {
|
|
7384
7384
|
const V = !L;
|
|
7385
7385
|
[J, L] = Op(b), H = J.subscribe((fe) => {
|
|
@@ -7401,7 +7401,7 @@ const _r = ({
|
|
|
7401
7401
|
Ge > 0 && r.set(
|
|
7402
7402
|
b,
|
|
7403
7403
|
setInterval(ge, Ge)
|
|
7404
|
-
), qt &&
|
|
7404
|
+
), qt && K.push(a.on(br, ge)), ze && K.push(a.on(Ir, ge)), K.push(
|
|
7405
7405
|
a.on(Nr, (fe) => {
|
|
7406
7406
|
N && ca(N, fe) && m([N, C], O, A, !0);
|
|
7407
7407
|
}),
|
|
@@ -7418,8 +7418,8 @@ const _r = ({
|
|
|
7418
7418
|
return O.listen = (V) => {
|
|
7419
7419
|
const Z = B(V);
|
|
7420
7420
|
return V(O.value), W(), Z;
|
|
7421
|
-
},
|
|
7422
|
-
O.value = { ...Xe }, L == null || L(),
|
|
7421
|
+
}, $d(O, () => {
|
|
7422
|
+
O.value = { ...Xe }, L == null || L(), K.forEach((V) => V()), K = [], H == null || H(), clearInterval(r.get(b));
|
|
7423
7423
|
}), O;
|
|
7424
7424
|
}, d = (b) => {
|
|
7425
7425
|
e.delete(b), o.delete(b);
|
|
@@ -7433,7 +7433,7 @@ const _r = ({
|
|
|
7433
7433
|
E === void 0 ? d(w) : e.set(w, E);
|
|
7434
7434
|
}), a.emit(ia, b, E);
|
|
7435
7435
|
};
|
|
7436
|
-
function
|
|
7436
|
+
function h(b) {
|
|
7437
7437
|
const E = async (O) => {
|
|
7438
7438
|
var A;
|
|
7439
7439
|
const L = l.fetcher ?? b, N = [];
|
|
@@ -7450,8 +7450,8 @@ const _r = ({
|
|
|
7450
7450
|
N.push(H);
|
|
7451
7451
|
},
|
|
7452
7452
|
getCacheUpdater: (H, J = !0) => [
|
|
7453
|
-
(
|
|
7454
|
-
f(H,
|
|
7453
|
+
(K) => {
|
|
7454
|
+
f(H, K), J && N.push(H);
|
|
7455
7455
|
},
|
|
7456
7456
|
e.get(H)
|
|
7457
7457
|
]
|
|
@@ -7470,7 +7470,7 @@ const _r = ({
|
|
|
7470
7470
|
}
|
|
7471
7471
|
return [
|
|
7472
7472
|
u,
|
|
7473
|
-
|
|
7473
|
+
h,
|
|
7474
7474
|
{ __unsafeOverruleSettings: (b) => {
|
|
7475
7475
|
console.warn(
|
|
7476
7476
|
"You should only use __unsafeOverruleSettings in test environment"
|
|
@@ -7500,11 +7500,11 @@ const Op = (e) => {
|
|
|
7500
7500
|
return a(), [t, () => s.forEach((r) => r())];
|
|
7501
7501
|
};
|
|
7502
7502
|
function Ap(e) {
|
|
7503
|
-
return e._ ===
|
|
7503
|
+
return e._ === bi;
|
|
7504
7504
|
}
|
|
7505
7505
|
const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
7506
7506
|
typeof window > "u" || addEventListener(e, t);
|
|
7507
|
-
}, ca = (e, t) => Array.isArray(t) ? t.includes(e) : typeof t == "function" ? t(e) : e === t, Or = () => (/* @__PURE__ */ new Date()).getTime(),
|
|
7507
|
+
}, ca = (e, t) => Array.isArray(t) ? t.includes(e) : typeof t == "function" ? t(e) : e === t, Or = () => (/* @__PURE__ */ new Date()).getTime(), bi = Symbol(), Ar = { loading: !0 }, Xe = { loading: !1 }, Ii = /* @__PURE__ */ i.makeEnum(
|
|
7508
7508
|
"streamlayer.sports.EventStatus",
|
|
7509
7509
|
[
|
|
7510
7510
|
{ no: 0, name: "EVENT_STATUS_UNSET", localName: "UNSET" },
|
|
@@ -7516,7 +7516,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7516
7516
|
{ no: 6, name: "EVENT_STATUS_POSTGAME", localName: "POSTGAME" },
|
|
7517
7517
|
{ no: 7, name: "EVENT_STATUS_CANCELLED", localName: "CANCELLED" }
|
|
7518
7518
|
]
|
|
7519
|
-
),
|
|
7519
|
+
), Ni = /* @__PURE__ */ i.makeEnum(
|
|
7520
7520
|
"streamlayer.sports.EventEndless",
|
|
7521
7521
|
[
|
|
7522
7522
|
{ no: 0, name: "EVENT_ENDLESS_UNSET", localName: "UNSET" },
|
|
@@ -7541,7 +7541,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7541
7541
|
/* ScalarType.INT32 */
|
|
7542
7542
|
}
|
|
7543
7543
|
]
|
|
7544
|
-
),
|
|
7544
|
+
), vi = /* @__PURE__ */ i.makeMessageType(
|
|
7545
7545
|
"streamlayer.sports.Sort",
|
|
7546
7546
|
() => [
|
|
7547
7547
|
{
|
|
@@ -7584,7 +7584,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7584
7584
|
/* ScalarType.INT32 */
|
|
7585
7585
|
}
|
|
7586
7586
|
]
|
|
7587
|
-
),
|
|
7587
|
+
), Oi = /* @__PURE__ */ i.makeMessageType(
|
|
7588
7588
|
"streamlayer.sports.Venue",
|
|
7589
7589
|
() => [
|
|
7590
7590
|
{
|
|
@@ -7858,7 +7858,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7858
7858
|
},
|
|
7859
7859
|
{ no: 5, name: "home", kind: "message", T: rt },
|
|
7860
7860
|
{ no: 6, name: "away", kind: "message", T: rt },
|
|
7861
|
-
{ no: 7, name: "status", kind: "enum", T: i.getEnumType(
|
|
7861
|
+
{ no: 7, name: "status", kind: "enum", T: i.getEnumType(Ii) },
|
|
7862
7862
|
{ no: 8, name: "custom_fields", kind: "message", T: Rp },
|
|
7863
7863
|
{
|
|
7864
7864
|
no: 9,
|
|
@@ -7874,9 +7874,9 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7874
7874
|
T: 9
|
|
7875
7875
|
/* ScalarType.STRING */
|
|
7876
7876
|
},
|
|
7877
|
-
{ no: 11, name: "venue", kind: "message", T:
|
|
7877
|
+
{ no: 11, name: "venue", kind: "message", T: Oi },
|
|
7878
7878
|
{ no: 12, name: "schedule", kind: "message", T: Lp, repeated: !0 },
|
|
7879
|
-
{ no: 13, name: "endless", kind: "enum", T: i.getEnumType(
|
|
7879
|
+
{ no: 13, name: "endless", kind: "enum", T: i.getEnumType(Ni) },
|
|
7880
7880
|
{
|
|
7881
7881
|
no: 14,
|
|
7882
7882
|
name: "provider_id",
|
|
@@ -7916,11 +7916,11 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7916
7916
|
T: 5
|
|
7917
7917
|
/* ScalarType.INT32 */
|
|
7918
7918
|
},
|
|
7919
|
-
{ no: 5, name: "venue", kind: "message", T:
|
|
7919
|
+
{ no: 5, name: "venue", kind: "message", T: Oi },
|
|
7920
7920
|
{ no: 6, name: "event_time", kind: "message", T: jn },
|
|
7921
7921
|
{ no: 7, name: "home_team", kind: "message", T: rt },
|
|
7922
7922
|
{ no: 8, name: "away_team", kind: "message", T: rt },
|
|
7923
|
-
{ no: 9, name: "status", kind: "enum", T: i.getEnumType(
|
|
7923
|
+
{ no: 9, name: "status", kind: "enum", T: i.getEnumType(Ii) },
|
|
7924
7924
|
{ no: 10, name: "periods", kind: "message", T: wp, repeated: !0 },
|
|
7925
7925
|
{
|
|
7926
7926
|
no: 11,
|
|
@@ -7983,7 +7983,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
7983
7983
|
), wr = /* @__PURE__ */ i.makeMessageType(
|
|
7984
7984
|
"streamlayer.sports.baseball.PitcherSummary",
|
|
7985
7985
|
() => [
|
|
7986
|
-
{ no: 1, name: "statistics", kind: "message", T:
|
|
7986
|
+
{ no: 1, name: "statistics", kind: "message", T: Ai },
|
|
7987
7987
|
{ no: 2, name: "status", kind: "enum", T: i.getEnumType(Pp) },
|
|
7988
7988
|
{
|
|
7989
7989
|
no: 3,
|
|
@@ -8109,7 +8109,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8109
8109
|
/* ScalarType.STRING */
|
|
8110
8110
|
}
|
|
8111
8111
|
]
|
|
8112
|
-
),
|
|
8112
|
+
), Ai = /* @__PURE__ */ i.makeMessageType(
|
|
8113
8113
|
"streamlayer.sports.baseball.Pitching",
|
|
8114
8114
|
() => [
|
|
8115
8115
|
{
|
|
@@ -8160,7 +8160,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8160
8160
|
() => [
|
|
8161
8161
|
{ no: 1, name: "hitting", kind: "message", T: Fp, repeated: !0 },
|
|
8162
8162
|
{ no: 2, name: "batting", kind: "message", T: Gp, repeated: !0 },
|
|
8163
|
-
{ no: 3, name: "pitching", kind: "message", T:
|
|
8163
|
+
{ no: 3, name: "pitching", kind: "message", T: Ai, repeated: !0 }
|
|
8164
8164
|
]
|
|
8165
8165
|
), Bp = /* @__PURE__ */ i.makeMessageType(
|
|
8166
8166
|
"streamlayer.sports.baseball.BaseballSummary",
|
|
@@ -8371,7 +8371,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8371
8371
|
/* ScalarType.INT32 */
|
|
8372
8372
|
},
|
|
8373
8373
|
{ no: 10, name: "streak", kind: "message", T: jp },
|
|
8374
|
-
{ no: 11, name: "rank", kind: "message", T:
|
|
8374
|
+
{ no: 11, name: "rank", kind: "message", T: $p },
|
|
8375
8375
|
{
|
|
8376
8376
|
no: 12,
|
|
8377
8377
|
name: "division",
|
|
@@ -8406,7 +8406,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8406
8406
|
}
|
|
8407
8407
|
],
|
|
8408
8408
|
{ localName: "TeamStanding_Streak" }
|
|
8409
|
-
),
|
|
8409
|
+
), $p = /* @__PURE__ */ i.makeMessageType(
|
|
8410
8410
|
"streamlayer.sports.baseball.TeamStanding.Rank",
|
|
8411
8411
|
() => [
|
|
8412
8412
|
{
|
|
@@ -8425,7 +8425,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8425
8425
|
}
|
|
8426
8426
|
],
|
|
8427
8427
|
{ localName: "TeamStanding_Rank" }
|
|
8428
|
-
),
|
|
8428
|
+
), Kp = /* @__PURE__ */ i.makeMessageType(
|
|
8429
8429
|
"streamlayer.sports.baseball.Standings",
|
|
8430
8430
|
() => [
|
|
8431
8431
|
{ no: 1, name: "standings", kind: "message", T: Yp, repeated: !0 }
|
|
@@ -8526,7 +8526,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8526
8526
|
() => [
|
|
8527
8527
|
{ no: 1, name: "statistics", kind: "message", T: Xp },
|
|
8528
8528
|
{ no: 2, name: "top_performers", kind: "message", T: Jp, repeated: !0 },
|
|
8529
|
-
{ no: 3, name: "last_games", kind: "message", T:
|
|
8529
|
+
{ no: 3, name: "last_games", kind: "message", T: wi }
|
|
8530
8530
|
]
|
|
8531
8531
|
), eT = /* @__PURE__ */ i.makeMessageType(
|
|
8532
8532
|
"streamlayer.sports.basketball.BasketballPlayByPlayStatistics",
|
|
@@ -8870,7 +8870,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8870
8870
|
}
|
|
8871
8871
|
],
|
|
8872
8872
|
{ localName: "BasketballLastGame_BasketballLastGameAttributes" }
|
|
8873
|
-
),
|
|
8873
|
+
), wi = /* @__PURE__ */ i.makeMessageType(
|
|
8874
8874
|
"streamlayer.sports.basketball.BasketballLastGames",
|
|
8875
8875
|
() => [
|
|
8876
8876
|
{ no: 1, name: "home", kind: "message", T: la, repeated: !0 },
|
|
@@ -8886,7 +8886,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
8886
8886
|
{ no: 3, name: "HOCKEY_PERFORMER_CATEGORY_HITS", localName: "HITS" },
|
|
8887
8887
|
{ no: 4, name: "HOCKEY_PERFORMER_CATEGORY_SAVES", localName: "SAVES" }
|
|
8888
8888
|
]
|
|
8889
|
-
),
|
|
8889
|
+
), Ri = /* @__PURE__ */ i.makeEnum(
|
|
8890
8890
|
"streamlayer.sports.hockey.HockeyPlayerPosition",
|
|
8891
8891
|
[
|
|
8892
8892
|
{ no: 0, name: "HOCKEY_PLAYER_POSITION_UNSET", localName: "UNSET" },
|
|
@@ -9104,7 +9104,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
9104
9104
|
T: 9
|
|
9105
9105
|
/* ScalarType.STRING */
|
|
9106
9106
|
},
|
|
9107
|
-
{ no: 8, name: "position", kind: "enum", T: i.getEnumType(
|
|
9107
|
+
{ no: 8, name: "position", kind: "enum", T: i.getEnumType(Ri) }
|
|
9108
9108
|
]
|
|
9109
9109
|
), Gr = /* @__PURE__ */ i.makeMessageType(
|
|
9110
9110
|
"streamlayer.sports.hockey.GoaltenderScore",
|
|
@@ -9158,7 +9158,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
9158
9158
|
T: 9
|
|
9159
9159
|
/* ScalarType.STRING */
|
|
9160
9160
|
},
|
|
9161
|
-
{ no: 8, name: "position", kind: "enum", T: i.getEnumType(
|
|
9161
|
+
{ no: 8, name: "position", kind: "enum", T: i.getEnumType(Ri) }
|
|
9162
9162
|
]
|
|
9163
9163
|
), Br = /* @__PURE__ */ i.makeMessageType(
|
|
9164
9164
|
"streamlayer.sports.hockey.PlayerScores",
|
|
@@ -9527,7 +9527,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
9527
9527
|
"streamlayer.sports.soccer.EventSummary",
|
|
9528
9528
|
() => [
|
|
9529
9529
|
{ no: 1, name: "statistics", kind: "message", T: LT },
|
|
9530
|
-
{ no: 2, name: "last_games", kind: "message", T:
|
|
9530
|
+
{ no: 2, name: "last_games", kind: "message", T: Li }
|
|
9531
9531
|
]
|
|
9532
9532
|
), PT = /* @__PURE__ */ i.makeMessageType(
|
|
9533
9533
|
"streamlayer.sports.soccer.SoccerPlayerAttackingStats",
|
|
@@ -9949,7 +9949,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
9949
9949
|
}
|
|
9950
9950
|
],
|
|
9951
9951
|
{ localName: "SoccerLastGame_SoccerLastGameAttributes" }
|
|
9952
|
-
),
|
|
9952
|
+
), Li = /* @__PURE__ */ i.makeMessageType(
|
|
9953
9953
|
"streamlayer.sports.soccer.SoccerLastGames",
|
|
9954
9954
|
() => [
|
|
9955
9955
|
{ no: 1, name: "home", kind: "message", T: ua, repeated: !0 },
|
|
@@ -9993,7 +9993,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
9993
9993
|
() => [
|
|
9994
9994
|
{ no: 1, name: "common", kind: "message", T: Mp }
|
|
9995
9995
|
]
|
|
9996
|
-
),
|
|
9996
|
+
), Mi = /* @__PURE__ */ i.makeMessageType(
|
|
9997
9997
|
"streamlayer.sports.events.ListResponseData",
|
|
9998
9998
|
() => [
|
|
9999
9999
|
{
|
|
@@ -10005,12 +10005,12 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10005
10005
|
},
|
|
10006
10006
|
{ no: 2, name: "attributes", kind: "message", T: jT }
|
|
10007
10007
|
]
|
|
10008
|
-
),
|
|
10008
|
+
), $T = /* @__PURE__ */ i.makeMessageType(
|
|
10009
10009
|
"streamlayer.sports.events.ListRequest",
|
|
10010
10010
|
() => [
|
|
10011
|
-
{ no: 1, name: "filter", kind: "message", T:
|
|
10011
|
+
{ no: 1, name: "filter", kind: "message", T: KT },
|
|
10012
10012
|
{ no: 2, name: "pagination", kind: "message", T: Qn },
|
|
10013
|
-
{ no: 3, name: "sort", kind: "message", T:
|
|
10013
|
+
{ no: 3, name: "sort", kind: "message", T: vi },
|
|
10014
10014
|
{ no: 4, name: "ids", kind: "scalar", T: 4, repeated: !0 },
|
|
10015
10015
|
{
|
|
10016
10016
|
no: 5,
|
|
@@ -10020,7 +10020,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10020
10020
|
/* ScalarType.STRING */
|
|
10021
10021
|
}
|
|
10022
10022
|
]
|
|
10023
|
-
),
|
|
10023
|
+
), KT = /* @__PURE__ */ i.makeMessageType(
|
|
10024
10024
|
"streamlayer.sports.events.ListRequest.Filter",
|
|
10025
10025
|
() => [
|
|
10026
10026
|
{
|
|
@@ -10065,7 +10065,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10065
10065
|
T: 9
|
|
10066
10066
|
/* ScalarType.STRING */
|
|
10067
10067
|
},
|
|
10068
|
-
{ no: 7, name: "endless", kind: "enum", T: i.getEnumType(
|
|
10068
|
+
{ no: 7, name: "endless", kind: "enum", T: i.getEnumType(Ni) }
|
|
10069
10069
|
],
|
|
10070
10070
|
{ localName: "ListRequest_Filter" }
|
|
10071
10071
|
), WT = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10073,7 +10073,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10073
10073
|
() => [
|
|
10074
10074
|
{ no: 1, name: "filter", kind: "message", T: zT },
|
|
10075
10075
|
{ no: 2, name: "pagination", kind: "message", T: Qn },
|
|
10076
|
-
{ no: 3, name: "sort", kind: "message", T:
|
|
10076
|
+
{ no: 3, name: "sort", kind: "message", T: vi }
|
|
10077
10077
|
]
|
|
10078
10078
|
), zT = /* @__PURE__ */ i.makeMessageType(
|
|
10079
10079
|
"streamlayer.sports.events.DemoListRequest.Filter",
|
|
@@ -10098,13 +10098,13 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10098
10098
|
"streamlayer.sports.events.DemoListResponse",
|
|
10099
10099
|
() => [
|
|
10100
10100
|
{ no: 1, name: "meta", kind: "message", T: Yn },
|
|
10101
|
-
{ no: 2, name: "data", kind: "message", T:
|
|
10101
|
+
{ no: 2, name: "data", kind: "message", T: Mi, repeated: !0 }
|
|
10102
10102
|
]
|
|
10103
10103
|
), XT = /* @__PURE__ */ i.makeMessageType(
|
|
10104
10104
|
"streamlayer.sports.events.ListResponse",
|
|
10105
10105
|
() => [
|
|
10106
10106
|
{ no: 1, name: "meta", kind: "message", T: Yn },
|
|
10107
|
-
{ no: 2, name: "data", kind: "message", T:
|
|
10107
|
+
{ no: 2, name: "data", kind: "message", T: Mi, repeated: !0 }
|
|
10108
10108
|
]
|
|
10109
10109
|
), Hr = /* @__PURE__ */ i.makeMessageType(
|
|
10110
10110
|
"streamlayer.sports.events.SummaryRequest",
|
|
@@ -10370,7 +10370,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10370
10370
|
() => [
|
|
10371
10371
|
{ no: 2, name: "basketball", kind: "message", T: oT, oneof: "sports" },
|
|
10372
10372
|
{ no: 3, name: "hockey", kind: "message", T: ST, oneof: "sports" },
|
|
10373
|
-
{ no: 4, name: "baseball", kind: "message", T:
|
|
10373
|
+
{ no: 4, name: "baseball", kind: "message", T: Kp, oneof: "sports" },
|
|
10374
10374
|
{ no: 5, name: "soccer", kind: "message", T: qT, oneof: "sports" }
|
|
10375
10375
|
],
|
|
10376
10376
|
{ localName: "StandingsResponse_ResponseData_StandingsResponseAttributes" }
|
|
@@ -10446,8 +10446,8 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10446
10446
|
"streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",
|
|
10447
10447
|
() => [
|
|
10448
10448
|
{ no: 1, name: "summary", kind: "message", T: kt },
|
|
10449
|
-
{ no: 2, name: "soccer", kind: "message", T:
|
|
10450
|
-
{ no: 3, name: "basketball", kind: "message", T:
|
|
10449
|
+
{ no: 2, name: "soccer", kind: "message", T: Li, oneof: "sports" },
|
|
10450
|
+
{ no: 3, name: "basketball", kind: "message", T: wi, oneof: "sports" }
|
|
10451
10451
|
],
|
|
10452
10452
|
{ localName: "LastGamesResponse_ResponseData_LastGamesResponseAttributes" }
|
|
10453
10453
|
), Ly = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10486,7 +10486,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10486
10486
|
*/
|
|
10487
10487
|
list: {
|
|
10488
10488
|
name: "List",
|
|
10489
|
-
I:
|
|
10489
|
+
I: $T,
|
|
10490
10490
|
O: XT,
|
|
10491
10491
|
kind: R.Unary
|
|
10492
10492
|
},
|
|
@@ -10655,7 +10655,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10655
10655
|
{ no: 1, name: "TWITTER_SOUND_DISALLOW", localName: "DISALLOW" },
|
|
10656
10656
|
{ no: 2, name: "TWITTER_SOUND_ALLOW", localName: "ALLOW" }
|
|
10657
10657
|
]
|
|
10658
|
-
),
|
|
10658
|
+
), Pi = /* @__PURE__ */ i.makeEnum(
|
|
10659
10659
|
"streamlayer.sdkSettings.client.SettingsAllow",
|
|
10660
10660
|
[
|
|
10661
10661
|
{ no: 0, name: "SETTINGS_ALLOW_UNSET", localName: "UNSET" },
|
|
@@ -10679,12 +10679,12 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10679
10679
|
), Yy = /* @__PURE__ */ i.makeMessageType(
|
|
10680
10680
|
"streamlayer.sdkSettings.client.NotifySettings",
|
|
10681
10681
|
() => [
|
|
10682
|
-
{ no: 1, name: "allow", kind: "enum", T: i.getEnumType(
|
|
10682
|
+
{ no: 1, name: "allow", kind: "enum", T: i.getEnumType(Pi) }
|
|
10683
10683
|
]
|
|
10684
10684
|
), jy = /* @__PURE__ */ i.makeMessageType(
|
|
10685
10685
|
"streamlayer.sdkSettings.client.SoundSettings",
|
|
10686
10686
|
() => [
|
|
10687
|
-
{ no: 1, name: "allow", kind: "enum", T: i.getEnumType(
|
|
10687
|
+
{ no: 1, name: "allow", kind: "enum", T: i.getEnumType(Pi) }
|
|
10688
10688
|
]
|
|
10689
10689
|
), da = /* @__PURE__ */ i.makeMessageType(
|
|
10690
10690
|
"streamlayer.sdkSettings.client.ClientSettingsNotifications",
|
|
@@ -10707,10 +10707,10 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10707
10707
|
{ no: 10, name: "watch_party_invitation", kind: "message", T: da },
|
|
10708
10708
|
{ no: 11, name: "twitter_question", kind: "message", T: da }
|
|
10709
10709
|
]
|
|
10710
|
-
),
|
|
10710
|
+
), $y = /* @__PURE__ */ i.makeMessageType(
|
|
10711
10711
|
"streamlayer.sdkSettings.client.GetRequest",
|
|
10712
10712
|
[]
|
|
10713
|
-
),
|
|
10713
|
+
), Ky = /* @__PURE__ */ i.makeMessageType(
|
|
10714
10714
|
"streamlayer.sdkSettings.client.GetResponse",
|
|
10715
10715
|
() => [
|
|
10716
10716
|
{ no: 1, name: "data", kind: "message", T: Wy }
|
|
@@ -10798,7 +10798,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10798
10798
|
T: 9
|
|
10799
10799
|
/* ScalarType.STRING */
|
|
10800
10800
|
},
|
|
10801
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
10801
|
+
{ no: 3, name: "attributes", kind: "message", T: ui }
|
|
10802
10802
|
],
|
|
10803
10803
|
{ localName: "GetStreamResponse_GetResponseData" }
|
|
10804
10804
|
), ng = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10826,7 +10826,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10826
10826
|
T: 9
|
|
10827
10827
|
/* ScalarType.STRING */
|
|
10828
10828
|
},
|
|
10829
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
10829
|
+
{ no: 3, name: "attributes", kind: "message", T: di }
|
|
10830
10830
|
],
|
|
10831
10831
|
{ localName: "GetOrganizationResponse_GetResponseData" }
|
|
10832
10832
|
), rg = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -10989,7 +10989,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
10989
10989
|
T: 9
|
|
10990
10990
|
/* ScalarType.STRING */
|
|
10991
10991
|
},
|
|
10992
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
10992
|
+
{ no: 3, name: "attributes", kind: "message", T: ui }
|
|
10993
10993
|
],
|
|
10994
10994
|
{ localName: "StreamSubscriptionResponse_ResponseData" }
|
|
10995
10995
|
), kg = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -11014,7 +11014,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11014
11014
|
T: 9
|
|
11015
11015
|
/* ScalarType.STRING */
|
|
11016
11016
|
},
|
|
11017
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
11017
|
+
{ no: 3, name: "attributes", kind: "message", T: di }
|
|
11018
11018
|
],
|
|
11019
11019
|
{ localName: "OrganizationSubscriptionResponse_ResponseData" }
|
|
11020
11020
|
), nn = {
|
|
@@ -11025,8 +11025,8 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11025
11025
|
*/
|
|
11026
11026
|
get: {
|
|
11027
11027
|
name: "Get",
|
|
11028
|
-
I:
|
|
11029
|
-
O:
|
|
11028
|
+
I: $y,
|
|
11029
|
+
O: Ky,
|
|
11030
11030
|
kind: R.Unary
|
|
11031
11031
|
},
|
|
11032
11032
|
/**
|
|
@@ -11435,13 +11435,13 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11435
11435
|
{ no: 1, name: "last_created_at", kind: "scalar", T: 9, opt: !0 },
|
|
11436
11436
|
{ no: 2, name: "limit", kind: "scalar", T: 5, opt: !0 }
|
|
11437
11437
|
]
|
|
11438
|
-
),
|
|
11438
|
+
), $g = /* @__PURE__ */ i.makeMessageType(
|
|
11439
11439
|
"streamlayer.users.GetFriendsResponse",
|
|
11440
11440
|
() => [
|
|
11441
11441
|
{ no: 1, name: "data", kind: "message", T: Wg, repeated: !0 },
|
|
11442
|
-
{ no: 2, name: "metadata", kind: "message", T:
|
|
11442
|
+
{ no: 2, name: "metadata", kind: "message", T: Kg }
|
|
11443
11443
|
]
|
|
11444
|
-
),
|
|
11444
|
+
), Kg = /* @__PURE__ */ i.makeMessageType(
|
|
11445
11445
|
"streamlayer.users.GetFriendsResponse.ResponseMeta",
|
|
11446
11446
|
() => [
|
|
11447
11447
|
{
|
|
@@ -11578,7 +11578,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11578
11578
|
getFriends: {
|
|
11579
11579
|
name: "GetFriends",
|
|
11580
11580
|
I: jg,
|
|
11581
|
-
O:
|
|
11581
|
+
O: $g,
|
|
11582
11582
|
kind: R.Unary
|
|
11583
11583
|
}
|
|
11584
11584
|
}
|
|
@@ -11599,8 +11599,8 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11599
11599
|
*/
|
|
11600
11600
|
subscription: {
|
|
11601
11601
|
name: "Subscription",
|
|
11602
|
-
I:
|
|
11603
|
-
O:
|
|
11602
|
+
I: $m,
|
|
11603
|
+
O: Km,
|
|
11604
11604
|
kind: R.ServerStreaming
|
|
11605
11605
|
},
|
|
11606
11606
|
/**
|
|
@@ -11757,7 +11757,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11757
11757
|
{ no: 1, name: "LEADERBOARD_TYPE_TOURNAMENT", localName: "TOURNAMENT" },
|
|
11758
11758
|
{ no: 2, name: "LEADERBOARD_TYPE_EVENT", localName: "EVENT" }
|
|
11759
11759
|
]
|
|
11760
|
-
),
|
|
11760
|
+
), Di = /* @__PURE__ */ i.makeMessageType(
|
|
11761
11761
|
"streamlayer.interactive.leaderboard.LeaderboardData",
|
|
11762
11762
|
() => [
|
|
11763
11763
|
{
|
|
@@ -11776,7 +11776,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
11776
11776
|
/* ScalarType.STRING */
|
|
11777
11777
|
},
|
|
11778
11778
|
{ no: 4, name: "event_ids", kind: "scalar", T: 3, repeated: !0 },
|
|
11779
|
-
{ no: 5, name: "leaderboards", kind: "message", T:
|
|
11779
|
+
{ no: 5, name: "leaderboards", kind: "message", T: Di, repeated: !0 },
|
|
11780
11780
|
{
|
|
11781
11781
|
no: 6,
|
|
11782
11782
|
name: "created_at",
|
|
@@ -12061,7 +12061,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12061
12061
|
T: 9
|
|
12062
12062
|
/* ScalarType.STRING */
|
|
12063
12063
|
},
|
|
12064
|
-
{ no: 3, name: "attributes", kind: "message", T:
|
|
12064
|
+
{ no: 3, name: "attributes", kind: "message", T: Di }
|
|
12065
12065
|
],
|
|
12066
12066
|
{ localName: "EventLeaderboardsResponse_EventLeaderboardsResponseData" }
|
|
12067
12067
|
), mf = /* @__PURE__ */ i.makeMessageType(
|
|
@@ -12136,7 +12136,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12136
12136
|
}
|
|
12137
12137
|
],
|
|
12138
12138
|
{ localName: "EventLeaderboardResponse_ListResponseMeta" }
|
|
12139
|
-
),
|
|
12139
|
+
), Ci = {
|
|
12140
12140
|
typeName: "streamlayer.interactive.leaderboard.Leaderboard",
|
|
12141
12141
|
methods: {
|
|
12142
12142
|
/**
|
|
@@ -12274,7 +12274,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12274
12274
|
), jr = /* @__PURE__ */ i.makeMessageType(
|
|
12275
12275
|
"streamlayer.analytics.v2.streaming.SendResponse",
|
|
12276
12276
|
() => [
|
|
12277
|
-
{ no: 1, name: "result", kind: "enum", T: i.getEnumType(
|
|
12277
|
+
{ no: 1, name: "result", kind: "enum", T: i.getEnumType(Ql) }
|
|
12278
12278
|
]
|
|
12279
12279
|
), Sf = /* @__PURE__ */ i.makeMessageType(
|
|
12280
12280
|
"streamlayer.analytics.v2.streaming.SendExtra",
|
|
@@ -12388,7 +12388,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12388
12388
|
() => [
|
|
12389
12389
|
{ no: 1, name: "common", kind: "message", T: ye }
|
|
12390
12390
|
]
|
|
12391
|
-
),
|
|
12391
|
+
), $r = /* @__PURE__ */ i.makeMessageType(
|
|
12392
12392
|
"streamlayer.analytics.v2.streaming.SendRequest",
|
|
12393
12393
|
() => [
|
|
12394
12394
|
{ no: 1, name: "auth", kind: "message", T: _f, oneof: "message" },
|
|
@@ -12408,7 +12408,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12408
12408
|
{ no: 15, name: "logout", kind: "message", T: Cf, oneof: "message" },
|
|
12409
12409
|
{ no: 100, name: "extra", kind: "message", T: Sf }
|
|
12410
12410
|
]
|
|
12411
|
-
),
|
|
12411
|
+
), Ui = {
|
|
12412
12412
|
typeName: "streamlayer.analytics.v2.streaming.AnalyticsService",
|
|
12413
12413
|
methods: {
|
|
12414
12414
|
/**
|
|
@@ -12418,7 +12418,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12418
12418
|
*/
|
|
12419
12419
|
send: {
|
|
12420
12420
|
name: "Send",
|
|
12421
|
-
I:
|
|
12421
|
+
I: $r,
|
|
12422
12422
|
O: jr,
|
|
12423
12423
|
kind: R.ClientStreaming
|
|
12424
12424
|
},
|
|
@@ -12429,7 +12429,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12429
12429
|
*/
|
|
12430
12430
|
unary: {
|
|
12431
12431
|
name: "Unary",
|
|
12432
|
-
I:
|
|
12432
|
+
I: $r,
|
|
12433
12433
|
O: jr,
|
|
12434
12434
|
kind: R.Unary
|
|
12435
12435
|
}
|
|
@@ -12438,7 +12438,7 @@ const br = 1, Ir = 2, Nr = 3, ia = 4, vr = (e, t) => {
|
|
|
12438
12438
|
function Uf(e) {
|
|
12439
12439
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12440
12440
|
}
|
|
12441
|
-
var
|
|
12441
|
+
var Fi = { exports: {} }, ne = Fi.exports = {}, Me, Pe;
|
|
12442
12442
|
function Ha() {
|
|
12443
12443
|
throw new Error("setTimeout has not been defined");
|
|
12444
12444
|
}
|
|
@@ -12457,7 +12457,7 @@ function Qa() {
|
|
|
12457
12457
|
Pe = Qa;
|
|
12458
12458
|
}
|
|
12459
12459
|
})();
|
|
12460
|
-
function
|
|
12460
|
+
function Gi(e) {
|
|
12461
12461
|
if (Me === setTimeout)
|
|
12462
12462
|
return setTimeout(e, 0);
|
|
12463
12463
|
if ((Me === Ha || !Me) && setTimeout)
|
|
@@ -12489,11 +12489,11 @@ function Ff(e) {
|
|
|
12489
12489
|
}
|
|
12490
12490
|
var je = [], Rt = !1, ut, _n = -1;
|
|
12491
12491
|
function Gf() {
|
|
12492
|
-
!Rt || !ut || (Rt = !1, ut.length ? je = ut.concat(je) : _n = -1, je.length &&
|
|
12492
|
+
!Rt || !ut || (Rt = !1, ut.length ? je = ut.concat(je) : _n = -1, je.length && Bi());
|
|
12493
12493
|
}
|
|
12494
|
-
function
|
|
12494
|
+
function Bi() {
|
|
12495
12495
|
if (!Rt) {
|
|
12496
|
-
var e =
|
|
12496
|
+
var e = Gi(Gf);
|
|
12497
12497
|
Rt = !0;
|
|
12498
12498
|
for (var t = je.length; t; ) {
|
|
12499
12499
|
for (ut = je, je = []; ++_n < t; )
|
|
@@ -12508,12 +12508,12 @@ ne.nextTick = function(e) {
|
|
|
12508
12508
|
if (arguments.length > 1)
|
|
12509
12509
|
for (var n = 1; n < arguments.length; n++)
|
|
12510
12510
|
t[n - 1] = arguments[n];
|
|
12511
|
-
je.push(new
|
|
12511
|
+
je.push(new Vi(e, t)), je.length === 1 && !Rt && Gi(Bi);
|
|
12512
12512
|
};
|
|
12513
|
-
function
|
|
12513
|
+
function Vi(e, t) {
|
|
12514
12514
|
this.fun = e, this.array = t;
|
|
12515
12515
|
}
|
|
12516
|
-
|
|
12516
|
+
Vi.prototype.run = function() {
|
|
12517
12517
|
this.fun.apply(null, this.array);
|
|
12518
12518
|
};
|
|
12519
12519
|
ne.title = "browser";
|
|
@@ -12548,8 +12548,8 @@ ne.chdir = function(e) {
|
|
|
12548
12548
|
ne.umask = function() {
|
|
12549
12549
|
return 0;
|
|
12550
12550
|
};
|
|
12551
|
-
var Bf =
|
|
12552
|
-
const D = /* @__PURE__ */ Uf(Bf), Vf =
|
|
12551
|
+
var Bf = Fi.exports;
|
|
12552
|
+
const D = /* @__PURE__ */ Uf(Bf), Vf = el({
|
|
12553
12553
|
level: "trace",
|
|
12554
12554
|
enabled: typeof window < "u" && !!window.localStorage.getItem("SL_DEBUG"),
|
|
12555
12555
|
browser: {
|
|
@@ -12593,7 +12593,7 @@ class Hf {
|
|
|
12593
12593
|
class Qf {
|
|
12594
12594
|
}
|
|
12595
12595
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
12596
|
-
class
|
|
12596
|
+
class $n {
|
|
12597
12597
|
constructor(t, n) {
|
|
12598
12598
|
/**
|
|
12599
12599
|
* store instance (nanostores)
|
|
@@ -12613,7 +12613,7 @@ const Yf = (e) => {
|
|
|
12613
12613
|
const t = Object.keys(e);
|
|
12614
12614
|
return Wd(t.map((n) => e[n].getStore()), (...n) => Object.fromEntries(t.map((a, s) => [a, n[s]])));
|
|
12615
12615
|
};
|
|
12616
|
-
class pt extends
|
|
12616
|
+
class pt extends $n {
|
|
12617
12617
|
constructor() {
|
|
12618
12618
|
super(...arguments);
|
|
12619
12619
|
p(this, "getValues", () => this.getStore().get());
|
|
@@ -12638,7 +12638,7 @@ var Wt;
|
|
|
12638
12638
|
(function(e) {
|
|
12639
12639
|
e.Ready = "ready", e.Suspended = "suspended";
|
|
12640
12640
|
})(Wt || (Wt = {}));
|
|
12641
|
-
class
|
|
12641
|
+
class xi {
|
|
12642
12642
|
constructor({ settings: t, ...n }, a) {
|
|
12643
12643
|
p(this, "status");
|
|
12644
12644
|
p(this, "source");
|
|
@@ -12689,7 +12689,7 @@ class Vi {
|
|
|
12689
12689
|
}
|
|
12690
12690
|
}
|
|
12691
12691
|
}
|
|
12692
|
-
class _e extends
|
|
12692
|
+
class _e extends $n {
|
|
12693
12693
|
constructor() {
|
|
12694
12694
|
super(...arguments);
|
|
12695
12695
|
p(this, "getValue", () => this.getStore().get());
|
|
@@ -12708,7 +12708,7 @@ class _e extends Kn {
|
|
|
12708
12708
|
}
|
|
12709
12709
|
}
|
|
12710
12710
|
const ie = (e) => at(e);
|
|
12711
|
-
class Ue extends
|
|
12711
|
+
class Ue extends $n {
|
|
12712
12712
|
constructor(n, a, s) {
|
|
12713
12713
|
super(n, `api:${a}`);
|
|
12714
12714
|
p(this, "atomStore");
|
|
@@ -12741,9 +12741,9 @@ class Ue extends Kn {
|
|
|
12741
12741
|
}
|
|
12742
12742
|
}
|
|
12743
12743
|
const Ee = new Hf();
|
|
12744
|
-
async function*
|
|
12744
|
+
async function* $f(e, t) {
|
|
12745
12745
|
for await (const n of t) {
|
|
12746
|
-
e.response.message = n, e.received_at = Date.now(), e.id =
|
|
12746
|
+
e.response.message = n, e.received_at = Date.now(), e.id = qi++;
|
|
12747
12747
|
const a = {
|
|
12748
12748
|
type: "__GRPC_DEVTOOLS_EXTENSION__",
|
|
12749
12749
|
data: e
|
|
@@ -12751,10 +12751,10 @@ async function* Kf(e, t) {
|
|
|
12751
12751
|
window.postMessage(a), yield n;
|
|
12752
12752
|
}
|
|
12753
12753
|
}
|
|
12754
|
-
let
|
|
12755
|
-
const
|
|
12754
|
+
let qi = 0;
|
|
12755
|
+
const Kf = () => (e) => async (t) => {
|
|
12756
12756
|
const n = {
|
|
12757
|
-
id:
|
|
12757
|
+
id: qi++,
|
|
12758
12758
|
name: t.url,
|
|
12759
12759
|
stream: t.stream,
|
|
12760
12760
|
sent_at: Date.now(),
|
|
@@ -12781,7 +12781,7 @@ const $f = () => (e) => async (t) => {
|
|
|
12781
12781
|
};
|
|
12782
12782
|
return window.postMessage(s), {
|
|
12783
12783
|
...a,
|
|
12784
|
-
message:
|
|
12784
|
+
message: $f(n, a.message)
|
|
12785
12785
|
};
|
|
12786
12786
|
} else {
|
|
12787
12787
|
n.response.message = a.message, n.latency = n.received_at - n.sent_at;
|
|
@@ -12805,7 +12805,7 @@ const $f = () => (e) => async (t) => {
|
|
|
12805
12805
|
}
|
|
12806
12806
|
};
|
|
12807
12807
|
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
12808
|
-
function
|
|
12808
|
+
function Hi(e) {
|
|
12809
12809
|
return e instanceof DOMException && // everything except Firefox
|
|
12810
12810
|
(e.code === 22 || // Firefox
|
|
12811
12811
|
e.code === 1014 || // test name field too, because code might not be present
|
|
@@ -12828,7 +12828,7 @@ class Vt {
|
|
|
12828
12828
|
try {
|
|
12829
12829
|
this.storage.setItem(a, n);
|
|
12830
12830
|
} catch (s) {
|
|
12831
|
-
|
|
12831
|
+
Hi(s) && this.storage === window.sessionStorage && (window.sessionStorage.removeItem("slstreamlogs"), this.storage.setItem(a, n));
|
|
12832
12832
|
}
|
|
12833
12833
|
});
|
|
12834
12834
|
p(this, "read", (...t) => {
|
|
@@ -12868,7 +12868,7 @@ class Wf {
|
|
|
12868
12868
|
window.sessionStorage.setItem("slstreamlogs", window.sessionStorage.getItem("slstreamlogs") + `
|
|
12869
12869
|
` + a);
|
|
12870
12870
|
} catch (s) {
|
|
12871
|
-
|
|
12871
|
+
Hi(s) && window.sessionStorage.removeItem("slstreamlogs"), window.sessionStorage.setItem("slstreamlogs", a);
|
|
12872
12872
|
}
|
|
12873
12873
|
});
|
|
12874
12874
|
p(this, "addListener", (t, n) => this.listeners.has(t) ? (this.addStateLog(`listener '${t}' not added, already exists`), () => {
|
|
@@ -12964,16 +12964,16 @@ const zf = /* @__PURE__ */ new Set([
|
|
|
12964
12964
|
P.FailedPrecondition,
|
|
12965
12965
|
P.Unavailable,
|
|
12966
12966
|
P.DataLoss
|
|
12967
|
-
]),
|
|
12967
|
+
]), Kr = Fe("grpc:retry"), Jf = (e) => async (t) => {
|
|
12968
12968
|
const n = t.contextValues.get(Ya.retryAttempts), a = 300, s = t.contextValues.get(Ya.retryDelay);
|
|
12969
12969
|
if (t.stream || n === 0)
|
|
12970
12970
|
return e(t);
|
|
12971
|
-
|
|
12971
|
+
Kr.trace({ url: t.url, attempts: n, maxDelay: s }, "retry options");
|
|
12972
12972
|
for (let r = 0; ; r++)
|
|
12973
12973
|
try {
|
|
12974
12974
|
return await e(t);
|
|
12975
12975
|
} catch (o) {
|
|
12976
|
-
|
|
12976
|
+
Kr.trace({ attempt: r, error: o }, "retry attempt");
|
|
12977
12977
|
const c = Q.from(o);
|
|
12978
12978
|
if (r >= n || !(c instanceof Q) || !zf.has(c.code))
|
|
12979
12979
|
throw o;
|
|
@@ -13094,7 +13094,7 @@ class Wr {
|
|
|
13094
13094
|
s.header.set(o, r[o]);
|
|
13095
13095
|
return a(s);
|
|
13096
13096
|
};
|
|
13097
|
-
this.interceptors.push(t), this.interceptors.push(
|
|
13097
|
+
this.interceptors.push(t), this.interceptors.push(Kf()), (n = this.opts) != null && n.retryable && this.interceptors.push(Jf);
|
|
13098
13098
|
});
|
|
13099
13099
|
this.host = t, this.opts = n, this.$headers = new pt(Ie({
|
|
13100
13100
|
"sl-device-id": Xf(),
|
|
@@ -13269,7 +13269,7 @@ const ck = (e) => {
|
|
|
13269
13269
|
organizationAdvertising: s
|
|
13270
13270
|
};
|
|
13271
13271
|
};
|
|
13272
|
-
class uk extends
|
|
13272
|
+
class uk extends $n {
|
|
13273
13273
|
constructor(n) {
|
|
13274
13274
|
const a = mk(n), s = Yf(a);
|
|
13275
13275
|
super(s, "core");
|
|
@@ -13299,10 +13299,10 @@ const dk = (e, t, n) => {
|
|
|
13299
13299
|
e.store.unsubscribe();
|
|
13300
13300
|
}, n();
|
|
13301
13301
|
}, pk = (e) => {
|
|
13302
|
-
const { client: t } = e.createPromiseClient(
|
|
13302
|
+
const { client: t } = e.createPromiseClient(Ci, { method: "list" });
|
|
13303
13303
|
return (n) => t.list(n);
|
|
13304
|
-
},
|
|
13305
|
-
const { client: t } = e.createPromiseClient(
|
|
13304
|
+
}, Qi = (e) => {
|
|
13305
|
+
const { client: t } = e.createPromiseClient(Ci, { method: "summary" });
|
|
13306
13306
|
return (n) => t.summary(n);
|
|
13307
13307
|
}, Tk = (e, t) => {
|
|
13308
13308
|
const { client: n, queryKey: a } = t.createPromiseClient(Ss, {
|
|
@@ -13559,12 +13559,18 @@ const vk = (e, t, n) => {
|
|
|
13559
13559
|
data: Ie({ loading: !1, error: void 0, data: void 0 }),
|
|
13560
13560
|
close: () => u(y),
|
|
13561
13561
|
promise: async function() {
|
|
13562
|
+
var f;
|
|
13562
13563
|
this.data.setKey("loading", !0);
|
|
13563
13564
|
try {
|
|
13564
|
-
const
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13565
|
+
const h = T || await Sk(y, a);
|
|
13566
|
+
n.sdk.onAdvertisementActivate({
|
|
13567
|
+
stage: "activate",
|
|
13568
|
+
id: y,
|
|
13569
|
+
hasNotification: ((f = h == null ? void 0 : h.notification) == null ? void 0 : f.enabled) === Jo.NOTIFICATION_ENABLED,
|
|
13570
|
+
isShowed: !!o.isShowed(y)
|
|
13571
|
+
}), h ? this.data.setKey("data", h) : this.data.setKey("error", new Error("No promotion found"));
|
|
13572
|
+
} catch (h) {
|
|
13573
|
+
this.data.setKey("error", h);
|
|
13568
13574
|
} finally {
|
|
13569
13575
|
this.data.setKey("loading", !1);
|
|
13570
13576
|
}
|
|
@@ -13582,44 +13588,33 @@ const vk = (e, t, n) => {
|
|
|
13582
13588
|
const T = r.advertisementList.get();
|
|
13583
13589
|
if (!(T != null && T.size))
|
|
13584
13590
|
return null;
|
|
13585
|
-
const f = T.values().next().value,
|
|
13586
|
-
return !y && o.isShowed(f.id) ? (r.removeFromList(f.id), d(y)) : (!
|
|
13591
|
+
const f = T.values().next().value, h = f.data.get();
|
|
13592
|
+
return !y && o.isShowed(f.id) ? (r.removeFromList(f.id), d(y)) : (!h.data && !h.error && !h.loading && f.promise(), Ee.emit("advertisement", {
|
|
13587
13593
|
action: "opened",
|
|
13588
13594
|
payload: {
|
|
13589
13595
|
advertisementId: f.id,
|
|
13590
|
-
advertisementType: (I =
|
|
13596
|
+
advertisementType: (I = h.data) == null ? void 0 : I.promotions.type
|
|
13591
13597
|
}
|
|
13592
13598
|
}), f);
|
|
13593
13599
|
};
|
|
13594
13600
|
return c.subscribe((y) => {
|
|
13595
13601
|
if (y.data) {
|
|
13596
13602
|
const T = y.data[y.data.length - 1];
|
|
13597
|
-
T &&
|
|
13598
|
-
stage: "activate",
|
|
13599
|
-
id: T.id,
|
|
13600
|
-
isShowed: !!o.isShowed(T.id)
|
|
13601
|
-
});
|
|
13603
|
+
T && l(T.id);
|
|
13602
13604
|
}
|
|
13603
13605
|
}), t.addListener("promotion cb", (y) => {
|
|
13604
|
-
var
|
|
13605
|
-
const T = ((w = (E = (b = (I = (
|
|
13606
|
+
var h, I, b, E, w, O, A, L, N;
|
|
13607
|
+
const T = ((w = (E = (b = (I = (h = y.data) == null ? void 0 : h.attributes) == null ? void 0 : I.feedItem) == null ? void 0 : b.attributes) == null ? void 0 : E.attributes) == null ? void 0 : w.case) === "promotion" ? y.data.attributes.feedItem.attributes : void 0, f = ((N = (L = (A = (O = y.data) == null ? void 0 : O.attributes) == null ? void 0 : A.question) == null ? void 0 : L.options) == null ? void 0 : N.options.case) === "promotion" ? y.data.attributes.question.options.options.value : void 0;
|
|
13606
13608
|
if (T === void 0 || f === void 0) {
|
|
13607
13609
|
s.debug("not promotion");
|
|
13608
13610
|
return;
|
|
13609
13611
|
}
|
|
13610
13612
|
if (T.status === ae.RESOLVED) {
|
|
13611
|
-
|
|
13612
|
-
stage: "deactivate",
|
|
13613
|
-
id: T.id
|
|
13614
|
-
}), s.debug({ feedItem: T }, "resolved: %o");
|
|
13613
|
+
u(T.id), s.debug({ feedItem: T }, "resolved: %o");
|
|
13615
13614
|
return;
|
|
13616
13615
|
}
|
|
13617
13616
|
if (T.status === ae.ACTIVE) {
|
|
13618
|
-
s.debug({ feedItem: T }, "active: %o"),
|
|
13619
|
-
stage: "activate",
|
|
13620
|
-
id: T.id,
|
|
13621
|
-
isShowed: !!o.isShowed(T.id)
|
|
13622
|
-
});
|
|
13617
|
+
s.debug({ feedItem: T }, "active: %o"), l(T.id);
|
|
13623
13618
|
return;
|
|
13624
13619
|
}
|
|
13625
13620
|
s.debug({ feedItem: T }, "skip: %o");
|
|
@@ -13630,8 +13625,8 @@ const vk = (e, t, n) => {
|
|
|
13630
13625
|
T && l(T.id);
|
|
13631
13626
|
}
|
|
13632
13627
|
}), t.addListener("promotion", (y) => {
|
|
13633
|
-
var
|
|
13634
|
-
const T = ((w = (E = (b = (I = (
|
|
13628
|
+
var h, I, b, E, w, O, A, L, N, C, H, J;
|
|
13629
|
+
const T = ((w = (E = (b = (I = (h = y.data) == null ? void 0 : h.attributes) == null ? void 0 : I.feedItem) == null ? void 0 : b.attributes) == null ? void 0 : E.attributes) == null ? void 0 : w.case) === "promotion" ? y.data.attributes.feedItem.attributes : void 0, f = ((N = (L = (A = (O = y.data) == null ? void 0 : O.attributes) == null ? void 0 : A.question) == null ? void 0 : L.options) == null ? void 0 : N.options.case) === "promotion" ? y.data.attributes.question.options.options.value : void 0;
|
|
13635
13630
|
if (T === void 0 || f === void 0) {
|
|
13636
13631
|
s.debug("not promotion");
|
|
13637
13632
|
return;
|
|
@@ -13918,7 +13913,7 @@ class Dk extends Vt {
|
|
|
13918
13913
|
p(this, "readValue", (n) => this.read(...n));
|
|
13919
13914
|
}
|
|
13920
13915
|
}
|
|
13921
|
-
class
|
|
13916
|
+
class Yi extends Vt {
|
|
13922
13917
|
constructor() {
|
|
13923
13918
|
super("gamification");
|
|
13924
13919
|
p(this, "sessionStorage");
|
|
@@ -13945,10 +13940,10 @@ const Ck = {
|
|
|
13945
13940
|
error: void 0
|
|
13946
13941
|
}), l = pk(e), m = async () => {
|
|
13947
13942
|
var f;
|
|
13948
|
-
const y = t.get(), T = ((f = a.getStore().get().data) == null ? void 0 : f.map((
|
|
13943
|
+
const y = t.get(), T = ((f = a.getStore().get().data) == null ? void 0 : f.map((h) => h.slId)) || [];
|
|
13949
13944
|
if (y && (T != null && T.length)) {
|
|
13950
|
-
const
|
|
13951
|
-
|
|
13945
|
+
const h = n.get();
|
|
13946
|
+
h && T.push(h), c.setKey("loading", !0), c.setKey("data", []);
|
|
13952
13947
|
const I = await l({
|
|
13953
13948
|
eventId: y,
|
|
13954
13949
|
usersIds: T
|
|
@@ -13984,7 +13979,7 @@ class Fk extends Vt {
|
|
|
13984
13979
|
p(this, "del", this.remove);
|
|
13985
13980
|
}
|
|
13986
13981
|
}
|
|
13987
|
-
const zr = "sldl",
|
|
13982
|
+
const zr = "sldl", Kn = "sldl_uid", ji = "sldl_eid", $i = "sldl_e_eid", Gk = /* @__PURE__ */ new Set([Kn, ji, $i]), Jr = (e) => {
|
|
13988
13983
|
const t = {}, n = {};
|
|
13989
13984
|
for (const [a, s] of e)
|
|
13990
13985
|
Gk.has(a) ? t[a] = s : n[a] = s;
|
|
@@ -14050,7 +14045,7 @@ const zr = "sldl", $n = "sldl_uid", Yi = "sldl_eid", ji = "sldl_e_eid", Gk = /*
|
|
|
14050
14045
|
onDeepLinkHandlers: /* @__PURE__ */ new Set()
|
|
14051
14046
|
}, e.sdk.getInviter = () => {
|
|
14052
14047
|
const { data: c, used: l } = e.deepLink.getDeepLinkData();
|
|
14053
|
-
return l ? c == null ? void 0 : c[
|
|
14048
|
+
return l ? c == null ? void 0 : c[Kn] : void 0;
|
|
14054
14049
|
}, e.sdk.inviteDisplayed = () => {
|
|
14055
14050
|
e.deepLink.$store.getStore().set({}), e.deepLink.$store.getStore().off(), a.del("sl-deep-link-store");
|
|
14056
14051
|
}, e.deepLink.$store.subscribe((c) => a.set("sl-deep-link-store", JSON.stringify(c))), e.sdk.addDeepLinkHandler = (c) => {
|
|
@@ -14089,7 +14084,7 @@ class Hk extends Qf {
|
|
|
14089
14084
|
p(this, "login", async (n, a) => {
|
|
14090
14085
|
var u, d, y;
|
|
14091
14086
|
this.$coreStore.getValues().userKey.setValue(a);
|
|
14092
|
-
const { used: s, data: r } = this.deepLink.getDeepLinkData(), o = s ? "" : r == null ? void 0 : r[
|
|
14087
|
+
const { used: s, data: r } = this.deepLink.getDeepLinkData(), o = s ? "" : r == null ? void 0 : r[Kn];
|
|
14093
14088
|
qk.debug({ inviterKey: o }, "login with inviterKey");
|
|
14094
14089
|
const c = await this.bypassLogin({
|
|
14095
14090
|
schema: n,
|
|
@@ -14205,7 +14200,7 @@ const Qt = new Nt(), Qk = (e, t, n) => {
|
|
|
14205
14200
|
}, t.onContentActivate && (e.ui.onContentActivate = t.onContentActivate), e.sdk.onAdvertisementActivate = (a) => {
|
|
14206
14201
|
e.ui.onContentActivate && e.ui.onContentActivate({ ...a, type: "advertisement" });
|
|
14207
14202
|
}, n();
|
|
14208
|
-
},
|
|
14203
|
+
}, $k = (e, t, n) => {
|
|
14209
14204
|
const a = { onMountedFired: !1 }, s = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
14210
14205
|
e.sdk = /* @__PURE__ */ Object.create(null), e.sdk.onMount = ({ name: o, clear: c }, l) => {
|
|
14211
14206
|
var m, u;
|
|
@@ -14233,7 +14228,7 @@ const Qt = new Nt(), Qk = (e, t, n) => {
|
|
|
14233
14228
|
}, e.sdk.createEventSession = (o) => {
|
|
14234
14229
|
e.stores.providerStreamId.setValue(o);
|
|
14235
14230
|
}, n();
|
|
14236
|
-
},
|
|
14231
|
+
}, Kk = (e, t) => {
|
|
14237
14232
|
const { client: n, queryKey: a } = e.createPromiseClient(nn, {
|
|
14238
14233
|
method: "generateDeepLink",
|
|
14239
14234
|
params: t
|
|
@@ -14265,18 +14260,18 @@ const Qt = new Nt(), Qk = (e, t, n) => {
|
|
|
14265
14260
|
return n.toString();
|
|
14266
14261
|
}, zk = (e, t, n, a) => {
|
|
14267
14262
|
const s = Ie({});
|
|
14268
|
-
return Bt(s, () =>
|
|
14263
|
+
return Bt(s, () => Kk(e, [t, n]).subscribe(async ({ data: r, error: o, loading: c }) => {
|
|
14269
14264
|
var T;
|
|
14270
14265
|
const l = o ? "https://masters.com" : r == null ? void 0 : r.url, m = a.get() || "", u = t.get() || "", d = n.get() || "", y = {
|
|
14271
|
-
[
|
|
14272
|
-
[
|
|
14273
|
-
[
|
|
14266
|
+
[Kn]: m,
|
|
14267
|
+
[ji]: u,
|
|
14268
|
+
[$i]: d
|
|
14274
14269
|
};
|
|
14275
14270
|
if (!c && l) {
|
|
14276
14271
|
s.setKey("loading", !0);
|
|
14277
|
-
let f = window.location.search,
|
|
14278
|
-
f &&
|
|
14279
|
-
const I = window.location.origin + window.location.pathname + f +
|
|
14272
|
+
let f = window.location.search, h = window.location.hash;
|
|
14273
|
+
f && h || h ? f = `?${eo(f, y)}` : h = `#${eo("", y)}`;
|
|
14274
|
+
const I = window.location.origin + window.location.pathname + f + h;
|
|
14280
14275
|
try {
|
|
14281
14276
|
const b = await Wk(e, { web: I, mobile: l });
|
|
14282
14277
|
s.set({
|
|
@@ -14345,7 +14340,7 @@ const Jk = (e, t, n, a) => {
|
|
|
14345
14340
|
}
|
|
14346
14341
|
}, Xk = (e, t, n, a) => {
|
|
14347
14342
|
let s = !1;
|
|
14348
|
-
const r = new
|
|
14343
|
+
const r = new Yi(), o = ie(re.Unset);
|
|
14349
14344
|
o.subscribe((l) => {
|
|
14350
14345
|
l !== re.Unset && ((l === re.Optional || l === re.Required) && s === !1 && (Jk(e, t, a, r), s = !0), l === re.Completed && t.activeQuestionId.invalidate(), r.setOnboardingInstantOpen({
|
|
14351
14346
|
userId: t.userId.get() || "",
|
|
@@ -14376,9 +14371,9 @@ const Jk = (e, t, n, a) => {
|
|
|
14376
14371
|
}
|
|
14377
14372
|
} };
|
|
14378
14373
|
}, Zk = (e, t, n, a) => {
|
|
14379
|
-
const s = Ie(void 0), r =
|
|
14374
|
+
const s = Ie(void 0), r = Qi(a), o = async () => {
|
|
14380
14375
|
var T, f;
|
|
14381
|
-
const l = e.get(), m = t.get(), u = (T = n.getStore().get().data) == null ? void 0 : T.map((
|
|
14376
|
+
const l = e.get(), m = t.get(), u = (T = n.getStore().get().data) == null ? void 0 : T.map((h) => h.slId);
|
|
14382
14377
|
if (!u)
|
|
14383
14378
|
return;
|
|
14384
14379
|
const d = {
|
|
@@ -14398,14 +14393,14 @@ const Jk = (e, t, n, a) => {
|
|
|
14398
14393
|
}), { $store: s, invalidate: c };
|
|
14399
14394
|
}, eh = async (e, t, n, a, s) => {
|
|
14400
14395
|
var u, d, y;
|
|
14401
|
-
const r =
|
|
14396
|
+
const r = Qi(s), o = e.get(), c = t.get(), l = ((u = n.getStore().get().data) == null ? void 0 : u.map((T) => T.slId)) || [], m = {
|
|
14402
14397
|
eventId: o,
|
|
14403
14398
|
userId: a,
|
|
14404
14399
|
usersIds: [...l, c]
|
|
14405
14400
|
};
|
|
14406
14401
|
return (y = (d = (await r(m)).data) == null ? void 0 : d.attributes) == null ? void 0 : y.summary;
|
|
14407
14402
|
}, th = /* @__PURE__ */ new Set([G.POLL, G.PREDICTION, G.TRIVIA]);
|
|
14408
|
-
class nh extends
|
|
14403
|
+
class nh extends xi {
|
|
14409
14404
|
constructor(n, a, s) {
|
|
14410
14405
|
super(n, a);
|
|
14411
14406
|
/** user statistics (leaderboard panel) */
|
|
@@ -14448,7 +14443,7 @@ class nh extends Vi {
|
|
|
14448
14443
|
});
|
|
14449
14444
|
p(this, "connect", () => {
|
|
14450
14445
|
this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-prediction-close", async (n) => {
|
|
14451
|
-
var m, u, d, y, T, f,
|
|
14446
|
+
var m, u, d, y, T, f, h, I, b, E, w;
|
|
14452
14447
|
if (!this.isInteractiveAllowed)
|
|
14453
14448
|
return;
|
|
14454
14449
|
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;
|
|
@@ -14459,14 +14454,14 @@ class nh extends Vi {
|
|
|
14459
14454
|
const O = this.background.getCurrentSessionId({
|
|
14460
14455
|
prefix: `notification-id:${c}`
|
|
14461
14456
|
}), A = [...this.feedList.getValues().data || []], L = A.findIndex((Z) => Z.id === c), N = A[L];
|
|
14462
|
-
let C = (
|
|
14457
|
+
let C = (h = (f = (T = N == null ? void 0 : N.attributes) == null ? void 0 : T.attributes) == null ? void 0 : f.value) == null ? void 0 : h.answerId;
|
|
14463
14458
|
const H = ja(c, this.transport), J = H.subscribe(() => {
|
|
14464
14459
|
});
|
|
14465
14460
|
await H.get().promise;
|
|
14466
|
-
const
|
|
14461
|
+
const K = H.get().data;
|
|
14467
14462
|
J(), window.requestAnimationFrame(() => {
|
|
14468
14463
|
H.invalidate();
|
|
14469
|
-
}), C || (C = (I =
|
|
14464
|
+
}), C || (C = (I = K == null ? void 0 : K.answers.find(({ youVoted: Z }) => Z)) == null ? void 0 : I.id);
|
|
14470
14465
|
const W = l.find(({ correct: Z }) => Z), B = C ? l.find(({ id: Z }) => Z === C) : void 0, V = !!(B != null && B.correct);
|
|
14471
14466
|
if (N && ((E = (b = A[L]) == null ? void 0 : b.attributes) == null ? void 0 : E.attributes.case) === "question") {
|
|
14472
14467
|
try {
|
|
@@ -14582,10 +14577,10 @@ class nh extends Vi {
|
|
|
14582
14577
|
});
|
|
14583
14578
|
const T = s.get().data;
|
|
14584
14579
|
if (r(), T) {
|
|
14585
|
-
const f = T.answers.find((E) => E.correct === !0),
|
|
14586
|
-
l[m].attributes.attributes.value.answerId = a, l[m].attributes.attributes.value.openForVoting = !1, l[m].attributes.attributes.value.text = (I == null ? void 0 : I.text) || "", f && (l[m].attributes.attributes.value.status = f.id === a ? Yt.WON : Yt.LOST), this.feedList.getStore().mutate([...l]), T.answers[
|
|
14580
|
+
const f = T.answers.find((E) => E.correct === !0), h = T.answers.findIndex((E) => E.id === a), I = T.answers[h], b = T.answers.every(({ percentageDecimal: E }, w) => E === (o == null ? void 0 : o.answers[w].percentageDecimal));
|
|
14581
|
+
l[m].attributes.attributes.value.answerId = a, l[m].attributes.attributes.value.openForVoting = !1, l[m].attributes.attributes.value.text = (I == null ? void 0 : I.text) || "", f && (l[m].attributes.attributes.value.status = f.id === a ? Yt.WON : Yt.LOST), this.feedList.getStore().mutate([...l]), T.answers[h].correct = (f == null ? void 0 : f.id) === a, T.answers[h].youVoted = !0, b && T.answers.forEach((E) => {
|
|
14587
14582
|
E.percentageDecimal = 0;
|
|
14588
|
-
}), (f == null ? void 0 : f.id) === a && (T.answers[
|
|
14583
|
+
}), (f == null ? void 0 : f.id) === a && (T.answers[h].pointsEarned = T.status === ae.RESOLVED ? 0 : f.points), s.mutate({ ...T });
|
|
14589
14584
|
}
|
|
14590
14585
|
this.submitAnswerTimeout && clearTimeout(this.submitAnswerTimeout), this.submitAnswerTimeout = setTimeout(() => {
|
|
14591
14586
|
this.userSummary.invalidate();
|
|
@@ -14658,9 +14653,9 @@ class nh extends Vi {
|
|
|
14658
14653
|
* skipping questions with inAppSilence === ON
|
|
14659
14654
|
*/
|
|
14660
14655
|
p(this, "showInApp", (n) => {
|
|
14661
|
-
var s, r, o, c, l, m, u, d, y, T, f,
|
|
14656
|
+
var s, r, o, c, l, m, u, d, y, T, f, h, I, b;
|
|
14662
14657
|
const a = this.onboardingStatus.$store.get();
|
|
14663
|
-
if (n && n.data && a && a !== re.Unset && ((s = n.data.question) == null ? void 0 : s.id) !== void 0 && n.data.question.notification !== void 0 && ((o = (r = n.data.question) == null ? void 0 : r.bypassNotifications) == null ? void 0 : o.inAppSilence) !==
|
|
14658
|
+
if (n && n.data && a && a !== re.Unset && ((s = n.data.question) == null ? void 0 : s.id) !== void 0 && n.data.question.notification !== void 0 && ((o = (r = n.data.question) == null ? void 0 : r.bypassNotifications) == null ? void 0 : o.inAppSilence) !== Xo.ON && n.data.question.status === ae.ACTIVE && !n.data.question.marketClosed) {
|
|
14664
14659
|
if (th.has(n.data.question.type))
|
|
14665
14660
|
this.isInteractiveAllowed && this.notifications.add({
|
|
14666
14661
|
type: et.QUESTION,
|
|
@@ -14726,7 +14721,7 @@ class nh extends Vi {
|
|
|
14726
14721
|
title: (y = n.data.question.notification) == null ? void 0 : y.title,
|
|
14727
14722
|
body: (T = n.data.question.notification) == null ? void 0 : T.body,
|
|
14728
14723
|
image: (f = n.data.question.notification) == null ? void 0 : f.image,
|
|
14729
|
-
account: ((
|
|
14724
|
+
account: ((h = E == null ? void 0 : E.tweetMeta) == null ? void 0 : h.account) || "",
|
|
14730
14725
|
accountVerified: !!((I = E == null ? void 0 : E.tweetMeta) != null && I.accountVerified),
|
|
14731
14726
|
tweet: (b = E == null ? void 0 : E.tweetMeta) == null ? void 0 : b.tweet,
|
|
14732
14727
|
tweetId: n.data.question.id
|
|
@@ -14753,7 +14748,7 @@ class nh extends Vi {
|
|
|
14753
14748
|
}
|
|
14754
14749
|
}
|
|
14755
14750
|
});
|
|
14756
|
-
this.background = new Ok(s), this.advertisement = this.background.advertisement, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new
|
|
14751
|
+
this.background = new Ok(s), this.advertisement = this.background.advertisement, this.feedSubscription = this.background.feedSubscription, this.activeQuestionId = this.background.activeQuestionId, this.openedQuestionId = this.background.openedQuestionId, this.storage = new Yi(), this.feedList = this.background.feedList, this.friends = new Ue(Tk(this.background.userId, s.transport), "gamification:friends"), this.currentUserId = this.background.userId, this.openedUser = ie(void 0), this.leaderboardId = new _e(ie(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = Xk(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = () => s.sdk.closeFeature(!0), this.openFeature = () => s.sdk.openFeature(j.GAMES), this.openedQuestion = this.background.openedQuestion, this.deepLink = zk(this.transport, this.background.slStreamId, s.stores.providerStreamId.getStore(), this.background.userId), this.userSummary = Zk(this.background.slStreamId, this.background.userId, this.friends, this.transport), this.leaderboardList = Uk(this.transport, this.background.slStreamId, this.background.userId, this.friends), this.connect(), this.cancels.add(this.userSummary.$store.listen((r, o) => {
|
|
14757
14752
|
o != null && o.summary && (r != null && r.summary) && this.leaderboardList.invalidate();
|
|
14758
14753
|
})), 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)), Bt(this.background.activeQuestionId, () => {
|
|
14759
14754
|
this.background.activeQuestionId.listen(this.showInApp);
|
|
@@ -14769,7 +14764,7 @@ class nh extends Vi {
|
|
|
14769
14764
|
const ah = {
|
|
14770
14765
|
[j.GAMES]: !0
|
|
14771
14766
|
};
|
|
14772
|
-
class sh extends
|
|
14767
|
+
class sh extends xi {
|
|
14773
14768
|
constructor(t, n) {
|
|
14774
14769
|
super(t, n);
|
|
14775
14770
|
}
|
|
@@ -15174,7 +15169,7 @@ class ph {
|
|
|
15174
15169
|
}
|
|
15175
15170
|
const Th = ({ transport: e, $commonStore: t }) => {
|
|
15176
15171
|
let n;
|
|
15177
|
-
const a = ie(!1), s = 5e3, { client: r, queryKey: o } = e.createPromiseClient(
|
|
15172
|
+
const a = ie(!1), s = 5e3, { client: r, queryKey: o } = e.createPromiseClient(Ui, {
|
|
15178
15173
|
method: "send",
|
|
15179
15174
|
params: [a]
|
|
15180
15175
|
}), c = e.nanoquery.createFetcherStore(o, {
|
|
@@ -15260,7 +15255,7 @@ class yh {
|
|
|
15260
15255
|
}));
|
|
15261
15256
|
});
|
|
15262
15257
|
this.listeners = /* @__PURE__ */ new Set(), this.listenersCancels = /* @__PURE__ */ new Set(), this.commonStore = new pt(Ie({}), "common-analytics"), this.connectToSDK(t), this.heartbeat = Th({ transport: t.analyticsTransport, $commonStore: this.commonStore }), this.notifications = new dh(this), this.polls = new ph(this), this.invitation = new ih(this), this.interactions = new ch(this), this.advertisement = new mh(this);
|
|
15263
|
-
const { client: n } = t.analyticsTransport.createPromiseClient(
|
|
15258
|
+
const { client: n } = t.analyticsTransport.createPromiseClient(Ui, {
|
|
15264
15259
|
method: "send"
|
|
15265
15260
|
});
|
|
15266
15261
|
this.analyticsClient = n;
|
|
@@ -15295,7 +15290,7 @@ function Ki(e, t, n) {
|
|
|
15295
15290
|
if (typeof e == "function" && (n = t, t = e, e = null), !(n >= 1))
|
|
15296
15291
|
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
15297
15292
|
var a = Sh(_h), s = null, r = null, o = 0, c = null, l = {
|
|
15298
|
-
push:
|
|
15293
|
+
push: h,
|
|
15299
15294
|
drain: he,
|
|
15300
15295
|
saturated: he,
|
|
15301
15296
|
pause: u,
|
|
@@ -15351,7 +15346,7 @@ function Ki(e, t, n) {
|
|
|
15351
15346
|
function f() {
|
|
15352
15347
|
return o === 0 && l.length() === 0;
|
|
15353
15348
|
}
|
|
15354
|
-
function
|
|
15349
|
+
function h(A, L) {
|
|
15355
15350
|
var N = a.get();
|
|
15356
15351
|
N.context = e, N.release = b, N.value = A, N.callback = L || he, N.errorHandler = c, o >= n || l.paused ? r ? (r.next = N, r = N) : (s = N, r = N, l.saturated()) : (o++, t.call(e, N.value, N.worked));
|
|
15357
15352
|
}
|
|
@@ -15395,24 +15390,24 @@ function Eh(e, t, n) {
|
|
|
15395
15390
|
return s.push = c, s.unshift = l, s.drained = m, s;
|
|
15396
15391
|
function c(u) {
|
|
15397
15392
|
var d = new Promise(function(y, T) {
|
|
15398
|
-
r(u, function(f,
|
|
15393
|
+
r(u, function(f, h) {
|
|
15399
15394
|
if (f) {
|
|
15400
15395
|
T(f);
|
|
15401
15396
|
return;
|
|
15402
15397
|
}
|
|
15403
|
-
y(
|
|
15398
|
+
y(h);
|
|
15404
15399
|
});
|
|
15405
15400
|
});
|
|
15406
15401
|
return d.catch(he), d;
|
|
15407
15402
|
}
|
|
15408
15403
|
function l(u) {
|
|
15409
15404
|
var d = new Promise(function(y, T) {
|
|
15410
|
-
o(u, function(f,
|
|
15405
|
+
o(u, function(f, h) {
|
|
15411
15406
|
if (f) {
|
|
15412
15407
|
T(f);
|
|
15413
15408
|
return;
|
|
15414
15409
|
}
|
|
15415
|
-
y(
|
|
15410
|
+
y(h);
|
|
15416
15411
|
});
|
|
15417
15412
|
});
|
|
15418
15413
|
return d.catch(he), d;
|
|
@@ -15432,7 +15427,7 @@ function Eh(e, t, n) {
|
|
|
15432
15427
|
}
|
|
15433
15428
|
Is.exports = Ki;
|
|
15434
15429
|
Is.exports.promise = Eh;
|
|
15435
|
-
var
|
|
15430
|
+
var Wi = Is.exports, Ns = { exports: {} }, Lt = typeof Reflect == "object" ? Reflect : null, to = Lt && typeof Lt.apply == "function" ? Lt.apply : function(e, t, n) {
|
|
15436
15431
|
return Function.prototype.apply.call(e, t, n);
|
|
15437
15432
|
}, En;
|
|
15438
15433
|
Lt && typeof Lt.ownKeys == "function" ? En = Lt.ownKeys : Object.getOwnPropertySymbols ? En = function(e) {
|
|
@@ -15443,49 +15438,49 @@ Lt && typeof Lt.ownKeys == "function" ? En = Lt.ownKeys : Object.getOwnPropertyS
|
|
|
15443
15438
|
function bh(e) {
|
|
15444
15439
|
console && console.warn && console.warn(e);
|
|
15445
15440
|
}
|
|
15446
|
-
var
|
|
15441
|
+
var zi = Number.isNaN || function(e) {
|
|
15447
15442
|
return e !== e;
|
|
15448
15443
|
};
|
|
15449
|
-
function
|
|
15450
|
-
|
|
15444
|
+
function $() {
|
|
15445
|
+
$.init.call(this);
|
|
15451
15446
|
}
|
|
15452
|
-
Ns.exports =
|
|
15447
|
+
Ns.exports = $;
|
|
15453
15448
|
Ns.exports.once = Oh;
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
|
|
15457
|
-
|
|
15449
|
+
$.EventEmitter = $;
|
|
15450
|
+
$.prototype._events = void 0;
|
|
15451
|
+
$.prototype._eventsCount = 0;
|
|
15452
|
+
$.prototype._maxListeners = void 0;
|
|
15458
15453
|
var no = 10;
|
|
15459
15454
|
function Wn(e) {
|
|
15460
15455
|
if (typeof e != "function")
|
|
15461
15456
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
15462
15457
|
}
|
|
15463
|
-
Object.defineProperty(
|
|
15458
|
+
Object.defineProperty($, "defaultMaxListeners", {
|
|
15464
15459
|
enumerable: !0,
|
|
15465
15460
|
get: function() {
|
|
15466
15461
|
return no;
|
|
15467
15462
|
},
|
|
15468
15463
|
set: function(e) {
|
|
15469
|
-
if (typeof e != "number" || e < 0 ||
|
|
15464
|
+
if (typeof e != "number" || e < 0 || zi(e))
|
|
15470
15465
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
15471
15466
|
no = e;
|
|
15472
15467
|
}
|
|
15473
15468
|
});
|
|
15474
|
-
|
|
15469
|
+
$.init = function() {
|
|
15475
15470
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
15476
15471
|
};
|
|
15477
|
-
|
|
15478
|
-
if (typeof e != "number" || e < 0 ||
|
|
15472
|
+
$.prototype.setMaxListeners = function(e) {
|
|
15473
|
+
if (typeof e != "number" || e < 0 || zi(e))
|
|
15479
15474
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
15480
15475
|
return this._maxListeners = e, this;
|
|
15481
15476
|
};
|
|
15482
|
-
function
|
|
15483
|
-
return e._maxListeners === void 0 ?
|
|
15477
|
+
function Ji(e) {
|
|
15478
|
+
return e._maxListeners === void 0 ? $.defaultMaxListeners : e._maxListeners;
|
|
15484
15479
|
}
|
|
15485
|
-
|
|
15486
|
-
return
|
|
15480
|
+
$.prototype.getMaxListeners = function() {
|
|
15481
|
+
return Ji(this);
|
|
15487
15482
|
};
|
|
15488
|
-
|
|
15483
|
+
$.prototype.emit = function(e) {
|
|
15489
15484
|
for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
|
|
15490
15485
|
var a = e === "error", s = this._events;
|
|
15491
15486
|
if (s !== void 0)
|
|
@@ -15505,11 +15500,11 @@ K.prototype.emit = function(e) {
|
|
|
15505
15500
|
if (typeof c == "function")
|
|
15506
15501
|
to(c, this, t);
|
|
15507
15502
|
else
|
|
15508
|
-
for (var l = c.length, m =
|
|
15503
|
+
for (var l = c.length, m = nc(c, l), n = 0; n < l; ++n)
|
|
15509
15504
|
to(m[n], this, t);
|
|
15510
15505
|
return !0;
|
|
15511
15506
|
};
|
|
15512
|
-
function
|
|
15507
|
+
function Xi(e, t, n, a) {
|
|
15513
15508
|
var s, r, o;
|
|
15514
15509
|
if (Wn(n), r = e._events, r === void 0 ? (r = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (r.newListener !== void 0 && (e.emit(
|
|
15515
15510
|
"newListener",
|
|
@@ -15517,35 +15512,35 @@ function Ji(e, t, n, a) {
|
|
|
15517
15512
|
n.listener ? n.listener : n
|
|
15518
15513
|
), r = e._events), o = r[t]), o === void 0)
|
|
15519
15514
|
o = r[t] = n, ++e._eventsCount;
|
|
15520
|
-
else if (typeof o == "function" ? o = r[t] = a ? [n, o] : [o, n] : a ? o.unshift(n) : o.push(n), s =
|
|
15515
|
+
else if (typeof o == "function" ? o = r[t] = a ? [n, o] : [o, n] : a ? o.unshift(n) : o.push(n), s = Ji(e), s > 0 && o.length > s && !o.warned) {
|
|
15521
15516
|
o.warned = !0;
|
|
15522
15517
|
var c = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
15523
15518
|
c.name = "MaxListenersExceededWarning", c.emitter = e, c.type = t, c.count = o.length, bh(c);
|
|
15524
15519
|
}
|
|
15525
15520
|
return e;
|
|
15526
15521
|
}
|
|
15527
|
-
|
|
15528
|
-
return
|
|
15522
|
+
$.prototype.addListener = function(e, t) {
|
|
15523
|
+
return Xi(this, e, t, !1);
|
|
15529
15524
|
};
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
return
|
|
15525
|
+
$.prototype.on = $.prototype.addListener;
|
|
15526
|
+
$.prototype.prependListener = function(e, t) {
|
|
15527
|
+
return Xi(this, e, t, !0);
|
|
15533
15528
|
};
|
|
15534
15529
|
function Ih() {
|
|
15535
15530
|
if (!this.fired)
|
|
15536
15531
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
15537
15532
|
}
|
|
15538
|
-
function
|
|
15533
|
+
function Zi(e, t, n) {
|
|
15539
15534
|
var a = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, s = Ih.bind(a);
|
|
15540
15535
|
return s.listener = n, a.wrapFn = s, s;
|
|
15541
15536
|
}
|
|
15542
|
-
|
|
15543
|
-
return Wn(t), this.on(e,
|
|
15537
|
+
$.prototype.once = function(e, t) {
|
|
15538
|
+
return Wn(t), this.on(e, Zi(this, e, t)), this;
|
|
15544
15539
|
};
|
|
15545
|
-
|
|
15546
|
-
return Wn(t), this.prependListener(e,
|
|
15540
|
+
$.prototype.prependOnceListener = function(e, t) {
|
|
15541
|
+
return Wn(t), this.prependListener(e, Zi(this, e, t)), this;
|
|
15547
15542
|
};
|
|
15548
|
-
|
|
15543
|
+
$.prototype.removeListener = function(e, t) {
|
|
15549
15544
|
var n, a, s, r, o;
|
|
15550
15545
|
if (Wn(t), a = this._events, a === void 0)
|
|
15551
15546
|
return this;
|
|
@@ -15565,8 +15560,8 @@ K.prototype.removeListener = function(e, t) {
|
|
|
15565
15560
|
}
|
|
15566
15561
|
return this;
|
|
15567
15562
|
};
|
|
15568
|
-
|
|
15569
|
-
|
|
15563
|
+
$.prototype.off = $.prototype.removeListener;
|
|
15564
|
+
$.prototype.removeAllListeners = function(e) {
|
|
15570
15565
|
var t, n, a;
|
|
15571
15566
|
if (n = this._events, n === void 0)
|
|
15572
15567
|
return this;
|
|
@@ -15585,24 +15580,24 @@ K.prototype.removeAllListeners = function(e) {
|
|
|
15585
15580
|
this.removeListener(e, t[a]);
|
|
15586
15581
|
return this;
|
|
15587
15582
|
};
|
|
15588
|
-
function
|
|
15583
|
+
function ec(e, t, n) {
|
|
15589
15584
|
var a = e._events;
|
|
15590
15585
|
if (a === void 0)
|
|
15591
15586
|
return [];
|
|
15592
15587
|
var s = a[t];
|
|
15593
|
-
return s === void 0 ? [] : typeof s == "function" ? n ? [s.listener || s] : [s] : n ? vh(s) :
|
|
15588
|
+
return s === void 0 ? [] : typeof s == "function" ? n ? [s.listener || s] : [s] : n ? vh(s) : nc(s, s.length);
|
|
15594
15589
|
}
|
|
15595
|
-
|
|
15596
|
-
return
|
|
15590
|
+
$.prototype.listeners = function(e) {
|
|
15591
|
+
return ec(this, e, !0);
|
|
15597
15592
|
};
|
|
15598
|
-
|
|
15599
|
-
return
|
|
15593
|
+
$.prototype.rawListeners = function(e) {
|
|
15594
|
+
return ec(this, e, !1);
|
|
15600
15595
|
};
|
|
15601
|
-
|
|
15602
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(t) :
|
|
15596
|
+
$.listenerCount = function(e, t) {
|
|
15597
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(t) : tc.call(e, t);
|
|
15603
15598
|
};
|
|
15604
|
-
|
|
15605
|
-
function
|
|
15599
|
+
$.prototype.listenerCount = tc;
|
|
15600
|
+
function tc(e) {
|
|
15606
15601
|
var t = this._events;
|
|
15607
15602
|
if (t !== void 0) {
|
|
15608
15603
|
var n = t[e];
|
|
@@ -15613,10 +15608,10 @@ function ec(e) {
|
|
|
15613
15608
|
}
|
|
15614
15609
|
return 0;
|
|
15615
15610
|
}
|
|
15616
|
-
|
|
15611
|
+
$.prototype.eventNames = function() {
|
|
15617
15612
|
return this._eventsCount > 0 ? En(this._events) : [];
|
|
15618
15613
|
};
|
|
15619
|
-
function
|
|
15614
|
+
function nc(e, t) {
|
|
15620
15615
|
for (var n = new Array(t), a = 0; a < t; ++a)
|
|
15621
15616
|
n[a] = e[a];
|
|
15622
15617
|
return n;
|
|
@@ -15639,13 +15634,13 @@ function Oh(e, t) {
|
|
|
15639
15634
|
function r() {
|
|
15640
15635
|
typeof e.removeListener == "function" && e.removeListener("error", s), n([].slice.call(arguments));
|
|
15641
15636
|
}
|
|
15642
|
-
|
|
15637
|
+
ac(e, t, r, { once: !0 }), t !== "error" && Ah(e, s, { once: !0 });
|
|
15643
15638
|
});
|
|
15644
15639
|
}
|
|
15645
15640
|
function Ah(e, t, n) {
|
|
15646
|
-
typeof e.on == "function" &&
|
|
15641
|
+
typeof e.on == "function" && ac(e, "error", t, n);
|
|
15647
15642
|
}
|
|
15648
|
-
function
|
|
15643
|
+
function ac(e, t, n, a) {
|
|
15649
15644
|
if (typeof e.on == "function")
|
|
15650
15645
|
a.once ? e.once(t, n) : e.on(t, n);
|
|
15651
15646
|
else if (typeof e.addEventListener == "function")
|
|
@@ -15655,7 +15650,7 @@ function nc(e, t, n, a) {
|
|
|
15655
15650
|
else
|
|
15656
15651
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
15657
15652
|
}
|
|
15658
|
-
var
|
|
15653
|
+
var sc = Ns.exports, zn = {}, rc = {}, oc = function() {
|
|
15659
15654
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
15660
15655
|
return !1;
|
|
15661
15656
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -15678,9 +15673,9 @@ var ac = Ns.exports, zn = {}, sc = {}, rc = function() {
|
|
|
15678
15673
|
return !1;
|
|
15679
15674
|
}
|
|
15680
15675
|
return !0;
|
|
15681
|
-
}, wh =
|
|
15676
|
+
}, wh = oc, Jn = function() {
|
|
15682
15677
|
return wh() && !!Symbol.toStringTag;
|
|
15683
|
-
}, Rh = Error, Lh = EvalError, Mh = RangeError, Ph = ReferenceError,
|
|
15678
|
+
}, Rh = Error, Lh = EvalError, Mh = RangeError, Ph = ReferenceError, ic = SyntaxError, Xn = TypeError, Dh = URIError, ao = typeof Symbol < "u" && Symbol, Ch = oc, Uh = function() {
|
|
15684
15679
|
return typeof ao != "function" || typeof Symbol != "function" || typeof ao("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Ch();
|
|
15685
15680
|
}, pa = {
|
|
15686
15681
|
__proto__: null,
|
|
@@ -15725,9 +15720,9 @@ var ac = Ns.exports, zn = {}, sc = {}, rc = function() {
|
|
|
15725
15720
|
l.prototype = t.prototype, a.prototype = new l(), l.prototype = null;
|
|
15726
15721
|
}
|
|
15727
15722
|
return a;
|
|
15728
|
-
}, jh = Yh, vs = Function.prototype.bind || jh,
|
|
15723
|
+
}, jh = Yh, vs = Function.prototype.bind || jh, $h = Function.prototype.call, Kh = Object.prototype.hasOwnProperty, Wh = vs, zh = Wh.call($h, Kh), F, Jh = Rh, Xh = Lh, Zh = Mh, eS = Ph, Ut = ic, Mt = Xn, tS = Dh, cc = Function, Ta = function(e) {
|
|
15729
15724
|
try {
|
|
15730
|
-
return
|
|
15725
|
+
return cc('"use strict"; return (' + e + ").constructor;")();
|
|
15731
15726
|
} catch {
|
|
15732
15727
|
}
|
|
15733
15728
|
}, yt = Object.getOwnPropertyDescriptor;
|
|
@@ -15780,7 +15775,7 @@ var ya = function() {
|
|
|
15780
15775
|
"%Float32Array%": typeof Float32Array > "u" ? F : Float32Array,
|
|
15781
15776
|
"%Float64Array%": typeof Float64Array > "u" ? F : Float64Array,
|
|
15782
15777
|
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? F : FinalizationRegistry,
|
|
15783
|
-
"%Function%":
|
|
15778
|
+
"%Function%": cc,
|
|
15784
15779
|
"%GeneratorFunction%": It,
|
|
15785
15780
|
"%Int8Array%": typeof Int8Array > "u" ? F : Int8Array,
|
|
15786
15781
|
"%Int16Array%": typeof Int16Array > "u" ? F : Int16Array,
|
|
@@ -15950,7 +15945,7 @@ var oS = function e(t) {
|
|
|
15950
15945
|
}
|
|
15951
15946
|
}
|
|
15952
15947
|
return o;
|
|
15953
|
-
},
|
|
15948
|
+
}, lc = { exports: {} }, ga, io;
|
|
15954
15949
|
function Os() {
|
|
15955
15950
|
if (io) return ga;
|
|
15956
15951
|
io = 1;
|
|
@@ -15970,7 +15965,7 @@ if (bn)
|
|
|
15970
15965
|
} catch {
|
|
15971
15966
|
bn = null;
|
|
15972
15967
|
}
|
|
15973
|
-
var Zn = bn, co = Os(), yS =
|
|
15968
|
+
var Zn = bn, co = Os(), yS = ic, bt = Xn, lo = Zn, gS = function(e, t, n) {
|
|
15974
15969
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
15975
15970
|
throw new bt("`obj` must be an object or a function`");
|
|
15976
15971
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -15995,19 +15990,19 @@ var Zn = bn, co = Os(), yS = oc, bt = Xn, lo = Zn, gS = function(e, t, n) {
|
|
|
15995
15990
|
e[t] = n;
|
|
15996
15991
|
else
|
|
15997
15992
|
throw new yS("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
15998
|
-
},
|
|
15999
|
-
return
|
|
15993
|
+
}, $a = Os(), mc = function() {
|
|
15994
|
+
return !!$a;
|
|
16000
15995
|
};
|
|
16001
|
-
|
|
16002
|
-
if (
|
|
15996
|
+
mc.hasArrayLengthDefineBug = function() {
|
|
15997
|
+
if (!$a)
|
|
16003
15998
|
return null;
|
|
16004
15999
|
try {
|
|
16005
|
-
return
|
|
16000
|
+
return $a([], "length", { value: 1 }).length !== 1;
|
|
16006
16001
|
} catch {
|
|
16007
16002
|
return !0;
|
|
16008
16003
|
}
|
|
16009
16004
|
};
|
|
16010
|
-
var fS =
|
|
16005
|
+
var fS = mc, kS = sn, mo = gS, hS = fS(), uo = Zn, po = Xn, SS = kS("%Math.floor%"), _S = function(e, t) {
|
|
16011
16006
|
if (typeof e != "function")
|
|
16012
16007
|
throw new po("`fn` is not a function");
|
|
16013
16008
|
if (typeof t != "number" || t < 0 || t > 4294967295 || SS(t) !== t)
|
|
@@ -16047,20 +16042,20 @@ var fS = lc, kS = sn, mo = gS, hS = fS(), uo = Zn, po = Xn, SS = kS("%Math.floor
|
|
|
16047
16042
|
return c(t, r, arguments);
|
|
16048
16043
|
};
|
|
16049
16044
|
l ? l(e.exports, "apply", { value: u }) : e.exports.apply = u;
|
|
16050
|
-
})(
|
|
16051
|
-
var As =
|
|
16052
|
-
var n =
|
|
16053
|
-
return typeof n == "function" && ES(e, ".prototype.") > -1 ?
|
|
16054
|
-
}, bS = Jn(), IS = ws,
|
|
16055
|
-
return bS && e && typeof e == "object" && Symbol.toStringTag in e ? !1 :
|
|
16056
|
-
},
|
|
16057
|
-
return ea(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 &&
|
|
16045
|
+
})(lc);
|
|
16046
|
+
var As = lc.exports, uc = sn, dc = As, ES = dc(uc("String.prototype.indexOf")), ws = function(e, t) {
|
|
16047
|
+
var n = uc(e, !!t);
|
|
16048
|
+
return typeof n == "function" && ES(e, ".prototype.") > -1 ? dc(n) : n;
|
|
16049
|
+
}, bS = Jn(), IS = ws, Ka = IS("Object.prototype.toString"), ea = function(e) {
|
|
16050
|
+
return bS && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Ka(e) === "[object Arguments]";
|
|
16051
|
+
}, pc = function(e) {
|
|
16052
|
+
return ea(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Ka(e) !== "[object Array]" && Ka(e.callee) === "[object Function]";
|
|
16058
16053
|
}, NS = function() {
|
|
16059
16054
|
return ea(arguments);
|
|
16060
16055
|
}();
|
|
16061
|
-
ea.isLegacyArguments =
|
|
16062
|
-
var vS = NS ? ea :
|
|
16063
|
-
if (!
|
|
16056
|
+
ea.isLegacyArguments = pc;
|
|
16057
|
+
var vS = NS ? ea : pc, OS = Object.prototype.toString, AS = Function.prototype.toString, wS = /^\s*(?:function)?\*/, Tc = Jn(), fa = Object.getPrototypeOf, RS = function() {
|
|
16058
|
+
if (!Tc)
|
|
16064
16059
|
return !1;
|
|
16065
16060
|
try {
|
|
16066
16061
|
return Function("return function*() {}")();
|
|
@@ -16071,7 +16066,7 @@ var vS = NS ? ea : dc, OS = Object.prototype.toString, AS = Function.prototype.t
|
|
|
16071
16066
|
return !1;
|
|
16072
16067
|
if (wS.test(AS.call(e)))
|
|
16073
16068
|
return !0;
|
|
16074
|
-
if (!
|
|
16069
|
+
if (!Tc) {
|
|
16075
16070
|
var t = OS.call(e);
|
|
16076
16071
|
return t === "[object GeneratorFunction]";
|
|
16077
16072
|
}
|
|
@@ -16082,7 +16077,7 @@ var vS = NS ? ea : dc, OS = Object.prototype.toString, AS = Function.prototype.t
|
|
|
16082
16077
|
ka = n ? fa(n) : !1;
|
|
16083
16078
|
}
|
|
16084
16079
|
return fa(e) === ka;
|
|
16085
|
-
},
|
|
16080
|
+
}, yc = Function.prototype.toString, Ot = typeof Reflect == "object" && Reflect !== null && Reflect.apply, Wa, In;
|
|
16086
16081
|
if (typeof Ot == "function" && typeof Object.defineProperty == "function")
|
|
16087
16082
|
try {
|
|
16088
16083
|
Wa = Object.defineProperty({}, "length", {
|
|
@@ -16099,14 +16094,14 @@ else
|
|
|
16099
16094
|
Ot = null;
|
|
16100
16095
|
var MS = /^\s*class\b/, za = function(e) {
|
|
16101
16096
|
try {
|
|
16102
|
-
var t =
|
|
16097
|
+
var t = yc.call(e);
|
|
16103
16098
|
return MS.test(t);
|
|
16104
16099
|
} catch {
|
|
16105
16100
|
return !1;
|
|
16106
16101
|
}
|
|
16107
16102
|
}, ha = function(e) {
|
|
16108
16103
|
try {
|
|
16109
|
-
return za(e) ? !1 : (
|
|
16104
|
+
return za(e) ? !1 : (yc.call(e), !0);
|
|
16110
16105
|
} catch {
|
|
16111
16106
|
return !1;
|
|
16112
16107
|
}
|
|
@@ -16148,21 +16143,21 @@ var qS = Ot ? function(e) {
|
|
|
16148
16143
|
return !1;
|
|
16149
16144
|
var t = Nn.call(e);
|
|
16150
16145
|
return t !== DS && t !== CS && !/^\[object HTML/.test(t) ? !1 : ha(e);
|
|
16151
|
-
}, HS = qS, QS = Object.prototype.toString,
|
|
16146
|
+
}, HS = qS, QS = Object.prototype.toString, gc = Object.prototype.hasOwnProperty, YS = function(e, t, n) {
|
|
16152
16147
|
for (var a = 0, s = e.length; a < s; a++)
|
|
16153
|
-
|
|
16148
|
+
gc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
|
|
16154
16149
|
}, jS = function(e, t, n) {
|
|
16155
16150
|
for (var a = 0, s = e.length; a < s; a++)
|
|
16156
16151
|
n == null ? t(e.charAt(a), a, e) : t.call(n, e.charAt(a), a, e);
|
|
16157
|
-
}, KS = function(e, t, n) {
|
|
16158
|
-
for (var a in e)
|
|
16159
|
-
yc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
|
|
16160
16152
|
}, $S = function(e, t, n) {
|
|
16153
|
+
for (var a in e)
|
|
16154
|
+
gc.call(e, a) && (n == null ? t(e[a], a, e) : t.call(n, e[a], a, e));
|
|
16155
|
+
}, KS = function(e, t, n) {
|
|
16161
16156
|
if (!HS(t))
|
|
16162
16157
|
throw new TypeError("iterator must be a function");
|
|
16163
16158
|
var a;
|
|
16164
|
-
arguments.length >= 3 && (a = n), QS.call(e) === "[object Array]" ? YS(e, t, a) : typeof e == "string" ? jS(e, t, a) :
|
|
16165
|
-
},
|
|
16159
|
+
arguments.length >= 3 && (a = n), QS.call(e) === "[object Array]" ? YS(e, t, a) : typeof e == "string" ? jS(e, t, a) : $S(e, t, a);
|
|
16160
|
+
}, fc = KS, WS = [
|
|
16166
16161
|
"Float32Array",
|
|
16167
16162
|
"Float64Array",
|
|
16168
16163
|
"Int8Array",
|
|
@@ -16174,17 +16169,17 @@ var qS = Ot ? function(e) {
|
|
|
16174
16169
|
"Uint32Array",
|
|
16175
16170
|
"BigInt64Array",
|
|
16176
16171
|
"BigUint64Array"
|
|
16177
|
-
], Sa = WS, zS = typeof globalThis > "u" ? Es : globalThis,
|
|
16172
|
+
], Sa = WS, zS = typeof globalThis > "u" ? Es : globalThis, kc = function() {
|
|
16178
16173
|
for (var e = [], t = 0; t < Sa.length; t++)
|
|
16179
16174
|
typeof zS[Sa[t]] == "function" && (e[e.length] = Sa[t]);
|
|
16180
16175
|
return e;
|
|
16181
|
-
}, Un =
|
|
16176
|
+
}, Un = fc, JS = kc, To = As, Rs = ws, vn = Zn, XS = Rs("Object.prototype.toString"), hc = Jn(), yo = typeof globalThis > "u" ? Es : globalThis, Xa = JS(), Ls = Rs("String.prototype.slice"), _a = Object.getPrototypeOf, ZS = Rs("Array.prototype.indexOf", !0) || function(e, t) {
|
|
16182
16177
|
for (var n = 0; n < e.length; n += 1)
|
|
16183
16178
|
if (e[n] === t)
|
|
16184
16179
|
return n;
|
|
16185
16180
|
return -1;
|
|
16186
16181
|
}, Fn = { __proto__: null };
|
|
16187
|
-
|
|
16182
|
+
hc && vn && _a ? Un(Xa, function(e) {
|
|
16188
16183
|
var t = new yo[e]();
|
|
16189
16184
|
if (Symbol.toStringTag in t) {
|
|
16190
16185
|
var n = _a(t), a = vn(n, Symbol.toStringTag);
|
|
@@ -16219,18 +16214,18 @@ var e_ = function(e) {
|
|
|
16219
16214
|
}, n_ = function(e) {
|
|
16220
16215
|
if (!e || typeof e != "object")
|
|
16221
16216
|
return !1;
|
|
16222
|
-
if (!
|
|
16217
|
+
if (!hc) {
|
|
16223
16218
|
var t = Ls(XS(e), 8, -1);
|
|
16224
16219
|
return ZS(Xa, t) > -1 ? t : t !== "Object" ? !1 : t_(e);
|
|
16225
16220
|
}
|
|
16226
16221
|
return vn ? e_(e) : null;
|
|
16227
|
-
}, Gn =
|
|
16222
|
+
}, Gn = fc, a_ = kc, go = As, Ms = ws, On = Zn, s_ = Ms("Object.prototype.toString"), Sc = Jn(), fo = typeof globalThis > "u" ? Es : globalThis, Za = a_(), Ps = Ms("String.prototype.slice"), Ea = Object.getPrototypeOf, r_ = Ms("Array.prototype.indexOf", !0) || function(e, t) {
|
|
16228
16223
|
for (var n = 0; n < e.length; n += 1)
|
|
16229
16224
|
if (e[n] === t)
|
|
16230
16225
|
return n;
|
|
16231
16226
|
return -1;
|
|
16232
16227
|
}, Bn = { __proto__: null };
|
|
16233
|
-
|
|
16228
|
+
Sc && On && Ea ? Gn(Za, function(e) {
|
|
16234
16229
|
var t = new fo[e]();
|
|
16235
16230
|
if (Symbol.toStringTag in t) {
|
|
16236
16231
|
var n = Ea(t), a = On(n, Symbol.toStringTag);
|
|
@@ -16279,7 +16274,7 @@ var o_ = function(e) {
|
|
|
16279
16274
|
}, c_ = function(e) {
|
|
16280
16275
|
if (!e || typeof e != "object")
|
|
16281
16276
|
return !1;
|
|
16282
|
-
if (!
|
|
16277
|
+
if (!Sc) {
|
|
16283
16278
|
var t = Ps(s_(e), 8, -1);
|
|
16284
16279
|
return r_(Za, t) > -1 ? t : t !== "Object" ? !1 : i_(e);
|
|
16285
16280
|
}
|
|
@@ -16289,188 +16284,188 @@ var o_ = function(e) {
|
|
|
16289
16284
|
};
|
|
16290
16285
|
(function(e) {
|
|
16291
16286
|
var t = vS, n = LS, a = n_, s = m_;
|
|
16292
|
-
function r(
|
|
16293
|
-
return
|
|
16287
|
+
function r(_) {
|
|
16288
|
+
return _.call.bind(_);
|
|
16294
16289
|
}
|
|
16295
16290
|
var o = typeof BigInt < "u", c = typeof Symbol < "u", l = r(Object.prototype.toString), m = r(Number.prototype.valueOf), u = r(String.prototype.valueOf), d = r(Boolean.prototype.valueOf);
|
|
16296
16291
|
if (o)
|
|
16297
16292
|
var y = r(BigInt.prototype.valueOf);
|
|
16298
16293
|
if (c)
|
|
16299
16294
|
var T = r(Symbol.prototype.valueOf);
|
|
16300
|
-
function f(
|
|
16301
|
-
if (typeof
|
|
16295
|
+
function f(_, Oc) {
|
|
16296
|
+
if (typeof _ != "object")
|
|
16302
16297
|
return !1;
|
|
16303
16298
|
try {
|
|
16304
|
-
return
|
|
16299
|
+
return Oc(_), !0;
|
|
16305
16300
|
} catch {
|
|
16306
16301
|
return !1;
|
|
16307
16302
|
}
|
|
16308
16303
|
}
|
|
16309
16304
|
e.isArgumentsObject = t, e.isGeneratorFunction = n, e.isTypedArray = s;
|
|
16310
|
-
function _
|
|
16311
|
-
return typeof Promise < "u" &&
|
|
16305
|
+
function h(_) {
|
|
16306
|
+
return typeof Promise < "u" && _ instanceof Promise || _ !== null && typeof _ == "object" && typeof _.then == "function" && typeof _.catch == "function";
|
|
16312
16307
|
}
|
|
16313
|
-
e.isPromise =
|
|
16314
|
-
function I(
|
|
16315
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(
|
|
16308
|
+
e.isPromise = h;
|
|
16309
|
+
function I(_) {
|
|
16310
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(_) : s(_) || k(_);
|
|
16316
16311
|
}
|
|
16317
16312
|
e.isArrayBufferView = I;
|
|
16318
|
-
function b(
|
|
16319
|
-
return a(
|
|
16313
|
+
function b(_) {
|
|
16314
|
+
return a(_) === "Uint8Array";
|
|
16320
16315
|
}
|
|
16321
16316
|
e.isUint8Array = b;
|
|
16322
|
-
function E(
|
|
16323
|
-
return a(
|
|
16317
|
+
function E(_) {
|
|
16318
|
+
return a(_) === "Uint8ClampedArray";
|
|
16324
16319
|
}
|
|
16325
16320
|
e.isUint8ClampedArray = E;
|
|
16326
|
-
function w(
|
|
16327
|
-
return a(
|
|
16321
|
+
function w(_) {
|
|
16322
|
+
return a(_) === "Uint16Array";
|
|
16328
16323
|
}
|
|
16329
16324
|
e.isUint16Array = w;
|
|
16330
|
-
function O(
|
|
16331
|
-
return a(
|
|
16325
|
+
function O(_) {
|
|
16326
|
+
return a(_) === "Uint32Array";
|
|
16332
16327
|
}
|
|
16333
16328
|
e.isUint32Array = O;
|
|
16334
|
-
function A(
|
|
16335
|
-
return a(
|
|
16329
|
+
function A(_) {
|
|
16330
|
+
return a(_) === "Int8Array";
|
|
16336
16331
|
}
|
|
16337
16332
|
e.isInt8Array = A;
|
|
16338
|
-
function L(
|
|
16339
|
-
return a(
|
|
16333
|
+
function L(_) {
|
|
16334
|
+
return a(_) === "Int16Array";
|
|
16340
16335
|
}
|
|
16341
16336
|
e.isInt16Array = L;
|
|
16342
|
-
function N(
|
|
16343
|
-
return a(
|
|
16337
|
+
function N(_) {
|
|
16338
|
+
return a(_) === "Int32Array";
|
|
16344
16339
|
}
|
|
16345
16340
|
e.isInt32Array = N;
|
|
16346
|
-
function C(
|
|
16347
|
-
return a(
|
|
16341
|
+
function C(_) {
|
|
16342
|
+
return a(_) === "Float32Array";
|
|
16348
16343
|
}
|
|
16349
16344
|
e.isFloat32Array = C;
|
|
16350
|
-
function H(
|
|
16351
|
-
return a(
|
|
16345
|
+
function H(_) {
|
|
16346
|
+
return a(_) === "Float64Array";
|
|
16352
16347
|
}
|
|
16353
16348
|
e.isFloat64Array = H;
|
|
16354
|
-
function J(
|
|
16355
|
-
return a(
|
|
16349
|
+
function J(_) {
|
|
16350
|
+
return a(_) === "BigInt64Array";
|
|
16356
16351
|
}
|
|
16357
16352
|
e.isBigInt64Array = J;
|
|
16358
|
-
function
|
|
16359
|
-
return a(
|
|
16353
|
+
function K(_) {
|
|
16354
|
+
return a(_) === "BigUint64Array";
|
|
16360
16355
|
}
|
|
16361
|
-
e.isBigUint64Array =
|
|
16362
|
-
function W(
|
|
16363
|
-
return l(
|
|
16356
|
+
e.isBigUint64Array = K;
|
|
16357
|
+
function W(_) {
|
|
16358
|
+
return l(_) === "[object Map]";
|
|
16364
16359
|
}
|
|
16365
16360
|
W.working = typeof Map < "u" && W(/* @__PURE__ */ new Map());
|
|
16366
|
-
function B(
|
|
16367
|
-
return typeof Map > "u" ? !1 : W.working ? W(
|
|
16361
|
+
function B(_) {
|
|
16362
|
+
return typeof Map > "u" ? !1 : W.working ? W(_) : _ instanceof Map;
|
|
16368
16363
|
}
|
|
16369
16364
|
e.isMap = B;
|
|
16370
|
-
function V(
|
|
16371
|
-
return l(
|
|
16365
|
+
function V(_) {
|
|
16366
|
+
return l(_) === "[object Set]";
|
|
16372
16367
|
}
|
|
16373
16368
|
V.working = typeof Set < "u" && V(/* @__PURE__ */ new Set());
|
|
16374
|
-
function Z(
|
|
16375
|
-
return typeof Set > "u" ? !1 : V.working ? V(
|
|
16369
|
+
function Z(_) {
|
|
16370
|
+
return typeof Set > "u" ? !1 : V.working ? V(_) : _ instanceof Set;
|
|
16376
16371
|
}
|
|
16377
16372
|
e.isSet = Z;
|
|
16378
|
-
function Ge(
|
|
16379
|
-
return l(
|
|
16373
|
+
function Ge(_) {
|
|
16374
|
+
return l(_) === "[object WeakMap]";
|
|
16380
16375
|
}
|
|
16381
16376
|
Ge.working = typeof WeakMap < "u" && Ge(/* @__PURE__ */ new WeakMap());
|
|
16382
|
-
function qt(
|
|
16383
|
-
return typeof WeakMap > "u" ? !1 : Ge.working ? Ge(
|
|
16377
|
+
function qt(_) {
|
|
16378
|
+
return typeof WeakMap > "u" ? !1 : Ge.working ? Ge(_) : _ instanceof WeakMap;
|
|
16384
16379
|
}
|
|
16385
16380
|
e.isWeakMap = qt;
|
|
16386
|
-
function ze(
|
|
16387
|
-
return l(
|
|
16381
|
+
function ze(_) {
|
|
16382
|
+
return l(_) === "[object WeakSet]";
|
|
16388
16383
|
}
|
|
16389
16384
|
ze.working = typeof WeakSet < "u" && ze(/* @__PURE__ */ new WeakSet());
|
|
16390
|
-
function ge(
|
|
16391
|
-
return ze(
|
|
16385
|
+
function ge(_) {
|
|
16386
|
+
return ze(_);
|
|
16392
16387
|
}
|
|
16393
16388
|
e.isWeakSet = ge;
|
|
16394
|
-
function fe(
|
|
16395
|
-
return l(
|
|
16389
|
+
function fe(_) {
|
|
16390
|
+
return l(_) === "[object ArrayBuffer]";
|
|
16396
16391
|
}
|
|
16397
16392
|
fe.working = typeof ArrayBuffer < "u" && fe(new ArrayBuffer());
|
|
16398
|
-
function ke(
|
|
16399
|
-
return typeof ArrayBuffer > "u" ? !1 : fe.working ? fe(
|
|
16393
|
+
function ke(_) {
|
|
16394
|
+
return typeof ArrayBuffer > "u" ? !1 : fe.working ? fe(_) : _ instanceof ArrayBuffer;
|
|
16400
16395
|
}
|
|
16401
16396
|
e.isArrayBuffer = ke;
|
|
16402
|
-
function g(
|
|
16403
|
-
return l(
|
|
16397
|
+
function g(_) {
|
|
16398
|
+
return l(_) === "[object DataView]";
|
|
16404
16399
|
}
|
|
16405
16400
|
g.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && g(new DataView(new ArrayBuffer(1), 0, 1));
|
|
16406
|
-
function k(
|
|
16407
|
-
return typeof DataView > "u" ? !1 : g.working ? g(
|
|
16401
|
+
function k(_) {
|
|
16402
|
+
return typeof DataView > "u" ? !1 : g.working ? g(_) : _ instanceof DataView;
|
|
16408
16403
|
}
|
|
16409
16404
|
e.isDataView = k;
|
|
16410
16405
|
var v = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
16411
|
-
function M(
|
|
16412
|
-
return l(
|
|
16406
|
+
function M(_) {
|
|
16407
|
+
return l(_) === "[object SharedArrayBuffer]";
|
|
16413
16408
|
}
|
|
16414
|
-
function z(
|
|
16415
|
-
return typeof v > "u" ? !1 : (typeof M.working > "u" && (M.working = M(new v())), M.working ? M(
|
|
16409
|
+
function z(_) {
|
|
16410
|
+
return typeof v > "u" ? !1 : (typeof M.working > "u" && (M.working = M(new v())), M.working ? M(_) : _ instanceof v);
|
|
16416
16411
|
}
|
|
16417
16412
|
e.isSharedArrayBuffer = z;
|
|
16418
|
-
function x(
|
|
16419
|
-
return l(
|
|
16413
|
+
function x(_) {
|
|
16414
|
+
return l(_) === "[object AsyncFunction]";
|
|
16420
16415
|
}
|
|
16421
16416
|
e.isAsyncFunction = x;
|
|
16422
|
-
function U(
|
|
16423
|
-
return l(
|
|
16417
|
+
function U(_) {
|
|
16418
|
+
return l(_) === "[object Map Iterator]";
|
|
16424
16419
|
}
|
|
16425
16420
|
e.isMapIterator = U;
|
|
16426
|
-
function q(
|
|
16427
|
-
return l(
|
|
16421
|
+
function q(_) {
|
|
16422
|
+
return l(_) === "[object Set Iterator]";
|
|
16428
16423
|
}
|
|
16429
16424
|
e.isSetIterator = q;
|
|
16430
|
-
function Y(
|
|
16431
|
-
return l(
|
|
16425
|
+
function Y(_) {
|
|
16426
|
+
return l(_) === "[object Generator]";
|
|
16432
16427
|
}
|
|
16433
16428
|
e.isGeneratorObject = Y;
|
|
16434
|
-
function ve(
|
|
16435
|
-
return l(
|
|
16429
|
+
function ve(_) {
|
|
16430
|
+
return l(_) === "[object WebAssembly.Module]";
|
|
16436
16431
|
}
|
|
16437
16432
|
e.isWebAssemblyCompiledModule = ve;
|
|
16438
|
-
function ot(
|
|
16439
|
-
return f(
|
|
16433
|
+
function ot(_) {
|
|
16434
|
+
return f(_, m);
|
|
16440
16435
|
}
|
|
16441
16436
|
e.isNumberObject = ot;
|
|
16442
|
-
function rn(
|
|
16443
|
-
return f(
|
|
16437
|
+
function rn(_) {
|
|
16438
|
+
return f(_, u);
|
|
16444
16439
|
}
|
|
16445
16440
|
e.isStringObject = rn;
|
|
16446
|
-
function St(
|
|
16447
|
-
return f(
|
|
16441
|
+
function St(_) {
|
|
16442
|
+
return f(_, d);
|
|
16448
16443
|
}
|
|
16449
16444
|
e.isBooleanObject = St;
|
|
16450
|
-
function on(
|
|
16451
|
-
return o && f(
|
|
16445
|
+
function on(_) {
|
|
16446
|
+
return o && f(_, y);
|
|
16452
16447
|
}
|
|
16453
16448
|
e.isBigIntObject = on;
|
|
16454
|
-
function Us(
|
|
16455
|
-
return c && f(
|
|
16449
|
+
function Us(_) {
|
|
16450
|
+
return c && f(_, T);
|
|
16456
16451
|
}
|
|
16457
16452
|
e.isSymbolObject = Us;
|
|
16458
|
-
function
|
|
16459
|
-
return ot(
|
|
16453
|
+
function Nc(_) {
|
|
16454
|
+
return ot(_) || rn(_) || St(_) || on(_) || Us(_);
|
|
16460
16455
|
}
|
|
16461
|
-
e.isBoxedPrimitive =
|
|
16462
|
-
function
|
|
16463
|
-
return typeof Uint8Array < "u" && (ke(
|
|
16456
|
+
e.isBoxedPrimitive = Nc;
|
|
16457
|
+
function vc(_) {
|
|
16458
|
+
return typeof Uint8Array < "u" && (ke(_) || z(_));
|
|
16464
16459
|
}
|
|
16465
|
-
e.isAnyArrayBuffer =
|
|
16466
|
-
Object.defineProperty(e,
|
|
16460
|
+
e.isAnyArrayBuffer = vc, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(_) {
|
|
16461
|
+
Object.defineProperty(e, _, {
|
|
16467
16462
|
enumerable: !1,
|
|
16468
16463
|
value: function() {
|
|
16469
|
-
throw new Error(
|
|
16464
|
+
throw new Error(_ + " is not supported in userland");
|
|
16470
16465
|
}
|
|
16471
16466
|
});
|
|
16472
16467
|
});
|
|
16473
|
-
})(
|
|
16468
|
+
})(rc);
|
|
16474
16469
|
var u_ = function(e) {
|
|
16475
16470
|
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
16476
16471
|
}, es = { exports: {} };
|
|
@@ -16616,7 +16611,7 @@ var d_ = es.exports;
|
|
|
16616
16611
|
if (z)
|
|
16617
16612
|
return z;
|
|
16618
16613
|
var x = Object.keys(k), U = m(x);
|
|
16619
|
-
if (g.showHidden && (x = Object.getOwnPropertyNames(k)),
|
|
16614
|
+
if (g.showHidden && (x = Object.getOwnPropertyNames(k)), K(k) && (x.indexOf("message") >= 0 || x.indexOf("description") >= 0))
|
|
16620
16615
|
return y(k);
|
|
16621
16616
|
if (x.length === 0) {
|
|
16622
16617
|
if (W(k)) {
|
|
@@ -16627,7 +16622,7 @@ var d_ = es.exports;
|
|
|
16627
16622
|
return g.stylize(RegExp.prototype.toString.call(k), "regexp");
|
|
16628
16623
|
if (J(k))
|
|
16629
16624
|
return g.stylize(Date.prototype.toString.call(k), "date");
|
|
16630
|
-
if (
|
|
16625
|
+
if (K(k))
|
|
16631
16626
|
return y(k);
|
|
16632
16627
|
}
|
|
16633
16628
|
var Y = "", ve = !1, ot = ["{", "}"];
|
|
@@ -16635,7 +16630,7 @@ var d_ = es.exports;
|
|
|
16635
16630
|
var rn = k.name ? ": " + k.name : "";
|
|
16636
16631
|
Y = " [Function" + rn + "]";
|
|
16637
16632
|
}
|
|
16638
|
-
if (C(k) && (Y = " " + RegExp.prototype.toString.call(k)), J(k) && (Y = " " + Date.prototype.toUTCString.call(k)),
|
|
16633
|
+
if (C(k) && (Y = " " + RegExp.prototype.toString.call(k)), J(k) && (Y = " " + Date.prototype.toUTCString.call(k)), K(k) && (Y = " " + y(k)), x.length === 0 && (!ve || k.length == 0))
|
|
16639
16634
|
return ot[0] + Y + ot[1];
|
|
16640
16635
|
if (v < 0)
|
|
16641
16636
|
return C(k) ? g.stylize(RegExp.prototype.toString.call(k), "regexp") : g.stylize("[Object]", "special");
|
|
@@ -16643,7 +16638,7 @@ var d_ = es.exports;
|
|
|
16643
16638
|
var St;
|
|
16644
16639
|
return ve ? St = T(g, k, v, U, x) : St = x.map(function(on) {
|
|
16645
16640
|
return f(g, k, v, U, on, ve);
|
|
16646
|
-
}), g.seen.pop(),
|
|
16641
|
+
}), g.seen.pop(), h(St, Y, ot);
|
|
16647
16642
|
}
|
|
16648
16643
|
function d(g, k) {
|
|
16649
16644
|
if (N(k))
|
|
@@ -16702,7 +16697,7 @@ var d_ = es.exports;
|
|
|
16702
16697
|
}
|
|
16703
16698
|
return U + ": " + q;
|
|
16704
16699
|
}
|
|
16705
|
-
function
|
|
16700
|
+
function h(g, k, v) {
|
|
16706
16701
|
var M = g.reduce(function(z, x) {
|
|
16707
16702
|
return x.indexOf(`
|
|
16708
16703
|
`) >= 0, z + x.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
@@ -16711,7 +16706,7 @@ var d_ = es.exports;
|
|
|
16711
16706
|
`) + " " + g.join(`,
|
|
16712
16707
|
`) + " " + v[1] : v[0] + k + " " + g.join(", ") + " " + v[1];
|
|
16713
16708
|
}
|
|
16714
|
-
e.types =
|
|
16709
|
+
e.types = rc;
|
|
16715
16710
|
function I(g) {
|
|
16716
16711
|
return Array.isArray(g);
|
|
16717
16712
|
}
|
|
@@ -16756,10 +16751,10 @@ var d_ = es.exports;
|
|
|
16756
16751
|
return H(g) && V(g) === "[object Date]";
|
|
16757
16752
|
}
|
|
16758
16753
|
e.isDate = J, e.types.isDate = J;
|
|
16759
|
-
function
|
|
16754
|
+
function K(g) {
|
|
16760
16755
|
return H(g) && (V(g) === "[object Error]" || g instanceof Error);
|
|
16761
16756
|
}
|
|
16762
|
-
e.isError =
|
|
16757
|
+
e.isError = K, e.types.isNativeError = K;
|
|
16763
16758
|
function W(g) {
|
|
16764
16759
|
return typeof g == "function";
|
|
16765
16760
|
}
|
|
@@ -16896,7 +16891,7 @@ function ct(e, t, n = Error) {
|
|
|
16896
16891
|
return `${this.name} [${this.code}]: ${this.message}`;
|
|
16897
16892
|
}, p_(a, n), a;
|
|
16898
16893
|
}
|
|
16899
|
-
var
|
|
16894
|
+
var _c = {
|
|
16900
16895
|
createError: ct,
|
|
16901
16896
|
AVV_ERR_EXPOSE_ALREADY_DEFINED: ct(
|
|
16902
16897
|
"AVV_ERR_EXPOSE_ALREADY_DEFINED",
|
|
@@ -17097,10 +17092,10 @@ function h_(e) {
|
|
|
17097
17092
|
n.selectColor = t;
|
|
17098
17093
|
function n(u) {
|
|
17099
17094
|
let d, y = null, T, f;
|
|
17100
|
-
function
|
|
17101
|
-
if (!
|
|
17095
|
+
function h(...I) {
|
|
17096
|
+
if (!h.enabled)
|
|
17102
17097
|
return;
|
|
17103
|
-
const b =
|
|
17098
|
+
const b = h, E = Number(/* @__PURE__ */ new Date()), w = E - (d || E);
|
|
17104
17099
|
b.diff = w, b.prev = d, b.curr = E, d = E, I[0] = n.coerce(I[0]), typeof I[0] != "string" && I.unshift("%O");
|
|
17105
17100
|
let O = 0;
|
|
17106
17101
|
I[0] = I[0].replace(/%([a-zA-Z%])/g, (A, L) => {
|
|
@@ -17115,14 +17110,14 @@ function h_(e) {
|
|
|
17115
17110
|
return A;
|
|
17116
17111
|
}), n.formatArgs.call(b, I), (b.log || n.log).apply(b, I);
|
|
17117
17112
|
}
|
|
17118
|
-
return
|
|
17113
|
+
return h.namespace = u, h.useColors = n.useColors(), h.color = n.selectColor(u), h.extend = a, h.destroy = n.destroy, Object.defineProperty(h, "enabled", {
|
|
17119
17114
|
enumerable: !0,
|
|
17120
17115
|
configurable: !1,
|
|
17121
17116
|
get: () => y !== null ? y : (T !== n.namespaces && (T = n.namespaces, f = n.enabled(u)), f),
|
|
17122
17117
|
set: (I) => {
|
|
17123
17118
|
y = I;
|
|
17124
17119
|
}
|
|
17125
|
-
}), typeof n.init == "function" && n.init(
|
|
17120
|
+
}), typeof n.init == "function" && n.init(h), h;
|
|
17126
17121
|
}
|
|
17127
17122
|
function a(u, d) {
|
|
17128
17123
|
const y = n(this.namespace + (typeof d > "u" ? ":" : d) + u);
|
|
@@ -17299,8 +17294,8 @@ var S_ = h_;
|
|
|
17299
17294
|
}
|
|
17300
17295
|
};
|
|
17301
17296
|
})(ts, ts.exports);
|
|
17302
|
-
var
|
|
17303
|
-
const __ =
|
|
17297
|
+
var Ec = ts.exports;
|
|
17298
|
+
const __ = Wi, E_ = sc.EventEmitter, b_ = zn.inherits, ue = Ec("avvio"), { AVV_ERR_READY_TIMEOUT: I_ } = _c, va = Symbol.for("plugin-meta");
|
|
17304
17299
|
function N_(e, t) {
|
|
17305
17300
|
return e[va] && e[va].name ? e[va].name : typeof t < "u" && typeof t != "function" && t.name ? t.name : e.name ? e.name : e.toString().split(`
|
|
17306
17301
|
`).slice(0, 2).map((n) => n.trim()).join(" -- ");
|
|
@@ -17413,13 +17408,13 @@ function A_() {
|
|
|
17413
17408
|
Ds.exports = xt;
|
|
17414
17409
|
Ds.exports.loadPlugin = Cs;
|
|
17415
17410
|
var w_ = Ds.exports;
|
|
17416
|
-
const bo =
|
|
17411
|
+
const bo = Wi, R_ = sc.EventEmitter, L_ = zn.inherits, {
|
|
17417
17412
|
AVV_ERR_EXPOSE_ALREADY_DEFINED: Oa,
|
|
17418
17413
|
AVV_ERR_CALLBACK_NOT_FN: Jt,
|
|
17419
17414
|
AVV_ERR_PLUGIN_NOT_VALID: M_,
|
|
17420
17415
|
AVV_ERR_ROOT_PLG_BOOTED: P_,
|
|
17421
17416
|
AVV_ERR_READY_TIMEOUT: D_
|
|
17422
|
-
} =
|
|
17417
|
+
} = _c, C_ = f_, ns = w_, Ft = Ec("avvio"), Vn = Symbol("kAvvio"), Aa = Symbol("kThenifyDoNotWrap");
|
|
17423
17418
|
function U_(e, t, n) {
|
|
17424
17419
|
const a = t.expose || {}, s = a.use || "use", r = a.after || "after", o = a.ready || "ready", c = a.onClose || "onClose", l = a.close || "close";
|
|
17425
17420
|
if (e[s])
|
|
@@ -17430,7 +17425,7 @@ function U_(e, t, n) {
|
|
|
17430
17425
|
throw new Oa(o);
|
|
17431
17426
|
e[s] = function(m, u) {
|
|
17432
17427
|
return n.use(m, u), this;
|
|
17433
|
-
}, Object.defineProperty(e, "then", { get:
|
|
17428
|
+
}, Object.defineProperty(e, "then", { get: bc.bind(n) }), e[Vn] = !0, e[r] = function(m) {
|
|
17434
17429
|
return typeof m != "function" ? n._loadRegistered() : (n.after(wa(m, this)), this);
|
|
17435
17430
|
}, e[o] = function(m) {
|
|
17436
17431
|
if (m && typeof m != "function")
|
|
@@ -17451,7 +17446,7 @@ function ce(e, t, n) {
|
|
|
17451
17446
|
const a = new ce(e, t, n);
|
|
17452
17447
|
return e && U_(e, t, a), a;
|
|
17453
17448
|
}
|
|
17454
|
-
t.autostart !== !1 && (t.autostart = !0), e = e || this, this._timeout = Number(t.timeout) || 0, this._server = e, this._current = [], this._error = null, this._isOnCloseHandlerKey = Symbol("isOnCloseHandler"), this._lastUsed = null, this.setMaxListeners(0), n && this.once("start", n), this.started = !1, this.booted = !1, this.pluginTree = new C_(), this._readyQ = bo(this,
|
|
17449
|
+
t.autostart !== !1 && (t.autostart = !0), e = e || this, this._timeout = Number(t.timeout) || 0, this._server = e, this._current = [], this._error = null, this._isOnCloseHandlerKey = Symbol("isOnCloseHandler"), this._lastUsed = null, this.setMaxListeners(0), n && this.once("start", n), this.started = !1, this.booted = !1, this.pluginTree = new C_(), this._readyQ = bo(this, Ic, 1), this._readyQ.pause(), this._readyQ.drain = () => {
|
|
17455
17450
|
this.emit("start"), this._readyQ.drain = Io;
|
|
17456
17451
|
}, this._closeQ = bo(this, V_, 1), this._closeQ.pause(), this._closeQ.drain = () => {
|
|
17457
17452
|
this.emit("close"), this._closeQ.drain = Io;
|
|
@@ -17498,7 +17493,7 @@ ce.prototype._loadRegistered = function() {
|
|
|
17498
17493
|
const e = this._current[0];
|
|
17499
17494
|
return !this.started && !this.booted && D.nextTick(() => this._root.q.resume()), e ? e.loadedSoFar() : Promise.resolve();
|
|
17500
17495
|
};
|
|
17501
|
-
Object.defineProperty(ce.prototype, "then", { get:
|
|
17496
|
+
Object.defineProperty(ce.prototype, "then", { get: bc });
|
|
17502
17497
|
ce.prototype._addPlugin = function(e, t, n) {
|
|
17503
17498
|
if (e = G_(e), t = t || {}, this.booted)
|
|
17504
17499
|
throw new P_();
|
|
@@ -17519,7 +17514,7 @@ ce.prototype.after = function(e) {
|
|
|
17519
17514
|
return this._loadRegistered();
|
|
17520
17515
|
this._addPlugin(t.bind(this), {}, !0);
|
|
17521
17516
|
function t(n, a, s) {
|
|
17522
|
-
|
|
17517
|
+
Ic.call(this, e, s);
|
|
17523
17518
|
}
|
|
17524
17519
|
return this;
|
|
17525
17520
|
};
|
|
@@ -17572,7 +17567,7 @@ ce.prototype.toJSON = function() {
|
|
|
17572
17567
|
};
|
|
17573
17568
|
function Io() {
|
|
17574
17569
|
}
|
|
17575
|
-
function
|
|
17570
|
+
function bc() {
|
|
17576
17571
|
if (this.booted) {
|
|
17577
17572
|
Ft("thenify returning null because we are already booted");
|
|
17578
17573
|
return;
|
|
@@ -17583,7 +17578,7 @@ function Ec() {
|
|
|
17583
17578
|
}
|
|
17584
17579
|
return Ft("thenify"), (e, t) => this._loadRegistered().then(() => (this[Aa] = !0, e(this._server)), t);
|
|
17585
17580
|
}
|
|
17586
|
-
function
|
|
17581
|
+
function Ic(e, t) {
|
|
17587
17582
|
const n = this._server, a = this._error;
|
|
17588
17583
|
let s;
|
|
17589
17584
|
if (this._error = null, e.length === 0)
|
|
@@ -17672,7 +17667,7 @@ const H_ = /* @__PURE__ */ fh(q_);
|
|
|
17672
17667
|
})();
|
|
17673
17668
|
function Q_(e, t = !0, n = !0, a) {
|
|
17674
17669
|
const s = t ? "https://grpc-sdk.streamlayer.io:443" : "https://grpc-sdk.next.streamlayer.io:443", r = t ? "https://grpc.streamlayer.io:443" : "https://grpc.next.streamlayer.io:443", o = H_(/* @__PURE__ */ Object.create({}), { autostart: !1 });
|
|
17675
|
-
return o.use(
|
|
17670
|
+
return o.use($k), o.use(xk, { onDeepLinkHandled: a == null ? void 0 : a.onDeepLinkHandled }), o.use(Yk, { videoPlayerController: a == null ? void 0 : a.videoPlayerController }), o.use(jk, { onContentActivate: a == null ? void 0 : a.onContentActivate }), o.use(ik, { sdkKey: e, host: s, analyticsHost: r, version: a == null ? void 0 : a.version }), o.use(dk), o.use(Qk), o.use(oh), o.use(Lk), o.use(gh), o.after((c, l, m) => {
|
|
17676
17671
|
if (c)
|
|
17677
17672
|
throw c;
|
|
17678
17673
|
l.ready(), m();
|
|
@@ -17684,7 +17679,7 @@ function Q_(e, t = !0, n = !0, a) {
|
|
|
17684
17679
|
console.log("close");
|
|
17685
17680
|
}), o;
|
|
17686
17681
|
}
|
|
17687
|
-
const
|
|
17682
|
+
const $_ = ({
|
|
17688
17683
|
sdkKey: e,
|
|
17689
17684
|
plugins: t,
|
|
17690
17685
|
production: n,
|
|
@@ -17693,15 +17688,15 @@ const K_ = ({
|
|
|
17693
17688
|
videoPlayerController: r,
|
|
17694
17689
|
onContentActivate: o
|
|
17695
17690
|
}) => {
|
|
17696
|
-
const [c, l] =
|
|
17697
|
-
return
|
|
17691
|
+
const [c, l] = Rc(null);
|
|
17692
|
+
return Lc(() => {
|
|
17698
17693
|
let m = !1;
|
|
17699
17694
|
if (!e)
|
|
17700
17695
|
return console.error("streamlayer sdk key should be provided"), l((d) => (d !== null && typeof d.disableApp == "function" && d.disableApp(), null)), () => {
|
|
17701
17696
|
m = !0;
|
|
17702
17697
|
};
|
|
17703
17698
|
const u = Q_(e, n, a, {
|
|
17704
|
-
version: "1.3.
|
|
17699
|
+
version: "1.3.4",
|
|
17705
17700
|
onDeepLinkHandled: s,
|
|
17706
17701
|
videoPlayerController: r,
|
|
17707
17702
|
onContentActivate: o
|
|
@@ -17721,18 +17716,18 @@ const K_ = ({
|
|
|
17721
17716
|
export {
|
|
17722
17717
|
P as C,
|
|
17723
17718
|
Fa as I,
|
|
17724
|
-
|
|
17719
|
+
lm as N,
|
|
17725
17720
|
Ze as P,
|
|
17726
17721
|
G as Q,
|
|
17727
17722
|
j as S,
|
|
17728
|
-
|
|
17729
|
-
|
|
17730
|
-
|
|
17723
|
+
Jo as a,
|
|
17724
|
+
mm as b,
|
|
17725
|
+
Tm as c,
|
|
17731
17726
|
ft as d,
|
|
17732
17727
|
ae as e,
|
|
17733
17728
|
Yt as f,
|
|
17734
17729
|
Yr as g,
|
|
17735
17730
|
ur as h,
|
|
17736
|
-
|
|
17737
|
-
|
|
17731
|
+
el as p,
|
|
17732
|
+
$_ as u
|
|
17738
17733
|
};
|