@voicenter-team/events-sdk 0.0.54 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/voicenter-events-sdk.cjs.js +9 -9
- package/dist/voicenter-events-sdk.cjs.js.map +1 -1
- package/dist/voicenter-events-sdk.es.js +125 -125
- package/dist/voicenter-events-sdk.es.js.map +1 -1
- package/dist/voicenter-events-sdk.iife.js +9 -9
- package/dist/voicenter-events-sdk.iife.js.map +1 -1
- package/dist/voicenter-events-sdk.umd.js +9 -9
- package/dist/voicenter-events-sdk.umd.js.map +1 -1
- package/package.json +59 -59
|
@@ -97,7 +97,7 @@ var Tr = Ve.exports, ce = {
|
|
|
97
97
|
return e.join("");
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
},
|
|
100
|
+
}, Be = ce;
|
|
101
101
|
/*!
|
|
102
102
|
* Determine if an object is a Buffer
|
|
103
103
|
*
|
|
@@ -114,14 +114,14 @@ function xr(t) {
|
|
|
114
114
|
return typeof t.readFloatLE == "function" && typeof t.slice == "function" && $e(t.slice(0, 0));
|
|
115
115
|
}
|
|
116
116
|
(function() {
|
|
117
|
-
var t = Tr, e =
|
|
117
|
+
var t = Tr, e = Be.utf8, r = Nr, n = Be.bin, o = function(i, u) {
|
|
118
118
|
i.constructor == String ? u && u.encoding === "binary" ? i = n.stringToBytes(i) : i = e.stringToBytes(i) : r(i) ? i = Array.prototype.slice.call(i, 0) : !Array.isArray(i) && i.constructor !== Uint8Array && (i = i.toString());
|
|
119
119
|
for (var h = t.bytesToWords(i), d = i.length * 8, c = 1732584193, l = -271733879, p = -1732584194, a = 271733878, s = 0; s < h.length; s++)
|
|
120
120
|
h[s] = (h[s] << 8 | h[s] >>> 24) & 16711935 | (h[s] << 24 | h[s] >>> 8) & 4278255360;
|
|
121
121
|
h[d >>> 5] |= 128 << d % 32, h[(d + 64 >>> 9 << 4) + 14] = d;
|
|
122
122
|
for (var f = o._ff, y = o._gg, g = o._hh, w = o._ii, s = 0; s < h.length; s += 16) {
|
|
123
|
-
var
|
|
124
|
-
c = f(c, l, p, a, h[s + 0], 7, -680876936), a = f(a, c, l, p, h[s + 1], 12, -389564586), p = f(p, a, c, l, h[s + 2], 17, 606105819), l = f(l, p, a, c, h[s + 3], 22, -1044525330), c = f(c, l, p, a, h[s + 4], 7, -176418897), a = f(a, c, l, p, h[s + 5], 12, 1200080426), p = f(p, a, c, l, h[s + 6], 17, -1473231341), l = f(l, p, a, c, h[s + 7], 22, -45705983), c = f(c, l, p, a, h[s + 8], 7, 1770035416), a = f(a, c, l, p, h[s + 9], 12, -1958414417), p = f(p, a, c, l, h[s + 10], 17, -42063), l = f(l, p, a, c, h[s + 11], 22, -1990404162), c = f(c, l, p, a, h[s + 12], 7, 1804603682), a = f(a, c, l, p, h[s + 13], 12, -40341101), p = f(p, a, c, l, h[s + 14], 17, -1502002290), l = f(l, p, a, c, h[s + 15], 22, 1236535329), c = y(c, l, p, a, h[s + 1], 5, -165796510), a = y(a, c, l, p, h[s + 6], 9, -1069501632), p = y(p, a, c, l, h[s + 11], 14, 643717713), l = y(l, p, a, c, h[s + 0], 20, -373897302), c = y(c, l, p, a, h[s + 5], 5, -701558691), a = y(a, c, l, p, h[s + 10], 9, 38016083), p = y(p, a, c, l, h[s + 15], 14, -660478335), l = y(l, p, a, c, h[s + 4], 20, -405537848), c = y(c, l, p, a, h[s + 9], 5, 568446438), a = y(a, c, l, p, h[s + 14], 9, -1019803690), p = y(p, a, c, l, h[s + 3], 14, -187363961), l = y(l, p, a, c, h[s + 8], 20, 1163531501), c = y(c, l, p, a, h[s + 13], 5, -1444681467), a = y(a, c, l, p, h[s + 2], 9, -51403784), p = y(p, a, c, l, h[s + 7], 14, 1735328473), l = y(l, p, a, c, h[s + 12], 20, -1926607734), c = g(c, l, p, a, h[s + 5], 4, -378558), a = g(a, c, l, p, h[s + 8], 11, -2022574463), p = g(p, a, c, l, h[s + 11], 16, 1839030562), l = g(l, p, a, c, h[s + 14], 23, -35309556), c = g(c, l, p, a, h[s + 1], 4, -1530992060), a = g(a, c, l, p, h[s + 4], 11, 1272893353), p = g(p, a, c, l, h[s + 7], 16, -155497632), l = g(l, p, a, c, h[s + 10], 23, -1094730640), c = g(c, l, p, a, h[s + 13], 4, 681279174), a = g(a, c, l, p, h[s + 0], 11, -358537222), p = g(p, a, c, l, h[s + 3], 16, -722521979), l = g(l, p, a, c, h[s + 6], 23, 76029189), c = g(c, l, p, a, h[s + 9], 4, -640364487), a = g(a, c, l, p, h[s + 12], 11, -421815835), p = g(p, a, c, l, h[s + 15], 16, 530742520), l = g(l, p, a, c, h[s + 2], 23, -995338651), c = w(c, l, p, a, h[s + 0], 6, -198630844), a = w(a, c, l, p, h[s + 7], 10, 1126891415), p = w(p, a, c, l, h[s + 14], 15, -1416354905), l = w(l, p, a, c, h[s + 5], 21, -57434055), c = w(c, l, p, a, h[s + 12], 6, 1700485571), a = w(a, c, l, p, h[s + 3], 10, -1894986606), p = w(p, a, c, l, h[s + 10], 15, -1051523), l = w(l, p, a, c, h[s + 1], 21, -2054922799), c = w(c, l, p, a, h[s + 8], 6, 1873313359), a = w(a, c, l, p, h[s + 15], 10, -30611744), p = w(p, a, c, l, h[s + 6], 15, -1560198380), l = w(l, p, a, c, h[s + 13], 21, 1309151649), c = w(c, l, p, a, h[s + 4], 6, -145523070), a = w(a, c, l, p, h[s + 11], 10, -1120210379), p = w(p, a, c, l, h[s + 2], 15, 718787259), l = w(l, p, a, c, h[s + 9], 21, -343485551), c = c +
|
|
123
|
+
var B = c, _ = l, b = p, S = a;
|
|
124
|
+
c = f(c, l, p, a, h[s + 0], 7, -680876936), a = f(a, c, l, p, h[s + 1], 12, -389564586), p = f(p, a, c, l, h[s + 2], 17, 606105819), l = f(l, p, a, c, h[s + 3], 22, -1044525330), c = f(c, l, p, a, h[s + 4], 7, -176418897), a = f(a, c, l, p, h[s + 5], 12, 1200080426), p = f(p, a, c, l, h[s + 6], 17, -1473231341), l = f(l, p, a, c, h[s + 7], 22, -45705983), c = f(c, l, p, a, h[s + 8], 7, 1770035416), a = f(a, c, l, p, h[s + 9], 12, -1958414417), p = f(p, a, c, l, h[s + 10], 17, -42063), l = f(l, p, a, c, h[s + 11], 22, -1990404162), c = f(c, l, p, a, h[s + 12], 7, 1804603682), a = f(a, c, l, p, h[s + 13], 12, -40341101), p = f(p, a, c, l, h[s + 14], 17, -1502002290), l = f(l, p, a, c, h[s + 15], 22, 1236535329), c = y(c, l, p, a, h[s + 1], 5, -165796510), a = y(a, c, l, p, h[s + 6], 9, -1069501632), p = y(p, a, c, l, h[s + 11], 14, 643717713), l = y(l, p, a, c, h[s + 0], 20, -373897302), c = y(c, l, p, a, h[s + 5], 5, -701558691), a = y(a, c, l, p, h[s + 10], 9, 38016083), p = y(p, a, c, l, h[s + 15], 14, -660478335), l = y(l, p, a, c, h[s + 4], 20, -405537848), c = y(c, l, p, a, h[s + 9], 5, 568446438), a = y(a, c, l, p, h[s + 14], 9, -1019803690), p = y(p, a, c, l, h[s + 3], 14, -187363961), l = y(l, p, a, c, h[s + 8], 20, 1163531501), c = y(c, l, p, a, h[s + 13], 5, -1444681467), a = y(a, c, l, p, h[s + 2], 9, -51403784), p = y(p, a, c, l, h[s + 7], 14, 1735328473), l = y(l, p, a, c, h[s + 12], 20, -1926607734), c = g(c, l, p, a, h[s + 5], 4, -378558), a = g(a, c, l, p, h[s + 8], 11, -2022574463), p = g(p, a, c, l, h[s + 11], 16, 1839030562), l = g(l, p, a, c, h[s + 14], 23, -35309556), c = g(c, l, p, a, h[s + 1], 4, -1530992060), a = g(a, c, l, p, h[s + 4], 11, 1272893353), p = g(p, a, c, l, h[s + 7], 16, -155497632), l = g(l, p, a, c, h[s + 10], 23, -1094730640), c = g(c, l, p, a, h[s + 13], 4, 681279174), a = g(a, c, l, p, h[s + 0], 11, -358537222), p = g(p, a, c, l, h[s + 3], 16, -722521979), l = g(l, p, a, c, h[s + 6], 23, 76029189), c = g(c, l, p, a, h[s + 9], 4, -640364487), a = g(a, c, l, p, h[s + 12], 11, -421815835), p = g(p, a, c, l, h[s + 15], 16, 530742520), l = g(l, p, a, c, h[s + 2], 23, -995338651), c = w(c, l, p, a, h[s + 0], 6, -198630844), a = w(a, c, l, p, h[s + 7], 10, 1126891415), p = w(p, a, c, l, h[s + 14], 15, -1416354905), l = w(l, p, a, c, h[s + 5], 21, -57434055), c = w(c, l, p, a, h[s + 12], 6, 1700485571), a = w(a, c, l, p, h[s + 3], 10, -1894986606), p = w(p, a, c, l, h[s + 10], 15, -1051523), l = w(l, p, a, c, h[s + 1], 21, -2054922799), c = w(c, l, p, a, h[s + 8], 6, 1873313359), a = w(a, c, l, p, h[s + 15], 10, -30611744), p = w(p, a, c, l, h[s + 6], 15, -1560198380), l = w(l, p, a, c, h[s + 13], 21, 1309151649), c = w(c, l, p, a, h[s + 4], 6, -145523070), a = w(a, c, l, p, h[s + 11], 10, -1120210379), p = w(p, a, c, l, h[s + 2], 15, 718787259), l = w(l, p, a, c, h[s + 9], 21, -343485551), c = c + B >>> 0, l = l + _ >>> 0, p = p + b >>> 0, a = a + S >>> 0;
|
|
125
125
|
}
|
|
126
126
|
return t.endian([c, l, p, a]);
|
|
127
127
|
};
|
|
@@ -163,13 +163,13 @@ class Rt {
|
|
|
163
163
|
static async updateSessionStorageKey(e, r) {
|
|
164
164
|
typeof chrome < "u" && typeof chrome.storage < "u" && await chrome.storage.session.set({
|
|
165
165
|
[e]: JSON.stringify(r)
|
|
166
|
-
}), typeof window < "u" && window.sessionStorage.setItem(e, JSON.stringify(r));
|
|
166
|
+
}), typeof window < "u" && typeof window.sessionStorage < "u" && typeof window.sessionStorage.setItem == "function" && window.sessionStorage.setItem(e, JSON.stringify(r));
|
|
167
167
|
}
|
|
168
168
|
static clearSessionStorage() {
|
|
169
|
-
typeof chrome < "u" && typeof chrome.storage < "u" && chrome.storage.session.clear(), typeof window < "u" && window.sessionStorage.clear();
|
|
169
|
+
typeof chrome < "u" && typeof chrome.storage < "u" && chrome.storage.session.clear(), typeof window < "u" && typeof window.sessionStorage < "u" && typeof window.sessionStorage.clear == "function" && window.sessionStorage.clear();
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
var
|
|
172
|
+
var Ir = Object.defineProperty, Br = (t, e, r) => e in t ? Ir(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, V = (t, e, r) => (Br(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
173
173
|
function _r(t) {
|
|
174
174
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
175
175
|
}
|
|
@@ -226,7 +226,7 @@ function Fr(t, e) {
|
|
|
226
226
|
o && (r[o] = i);
|
|
227
227
|
}), r;
|
|
228
228
|
}
|
|
229
|
-
var pe = { exports: {} }, ue = { exports: {} },
|
|
229
|
+
var pe = { exports: {} }, ue = { exports: {} }, It = 1e3, Bt = It * 60, _t = Bt * 60, Lt = _t * 24, jr = Lt * 365.25, Mr = function(t, e) {
|
|
230
230
|
e = e || {};
|
|
231
231
|
var r = typeof t;
|
|
232
232
|
if (r === "string" && t.length > 0)
|
|
@@ -266,13 +266,13 @@ function qr(t) {
|
|
|
266
266
|
case "mins":
|
|
267
267
|
case "min":
|
|
268
268
|
case "m":
|
|
269
|
-
return r *
|
|
269
|
+
return r * Bt;
|
|
270
270
|
case "seconds":
|
|
271
271
|
case "second":
|
|
272
272
|
case "secs":
|
|
273
273
|
case "sec":
|
|
274
274
|
case "s":
|
|
275
|
-
return r *
|
|
275
|
+
return r * It;
|
|
276
276
|
case "milliseconds":
|
|
277
277
|
case "millisecond":
|
|
278
278
|
case "msecs":
|
|
@@ -286,10 +286,10 @@ function qr(t) {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
function zr(t) {
|
|
289
|
-
return t >= Lt ? Math.round(t / Lt) + "d" : t >= _t ? Math.round(t / _t) + "h" : t >=
|
|
289
|
+
return t >= Lt ? Math.round(t / Lt) + "d" : t >= _t ? Math.round(t / _t) + "h" : t >= Bt ? Math.round(t / Bt) + "m" : t >= It ? Math.round(t / It) + "s" : t + "ms";
|
|
290
290
|
}
|
|
291
291
|
function Xr(t) {
|
|
292
|
-
return Dt(t, Lt, "day") || Dt(t, _t, "hour") || Dt(t,
|
|
292
|
+
return Dt(t, Lt, "day") || Dt(t, _t, "hour") || Dt(t, Bt, "minute") || Dt(t, It, "second") || t + " ms";
|
|
293
293
|
}
|
|
294
294
|
function Dt(t, e, r) {
|
|
295
295
|
if (!(t < e))
|
|
@@ -324,8 +324,8 @@ function Dt(t, e, r) {
|
|
|
324
324
|
}
|
|
325
325
|
return _;
|
|
326
326
|
}), e.formatArgs.call(a, y);
|
|
327
|
-
var
|
|
328
|
-
|
|
327
|
+
var B = p.log || e.log || console.log.bind(console);
|
|
328
|
+
B.apply(a, y);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
return p.namespace = c, p.enabled = e.enabled(c), p.useColors = e.useColors(), p.color = r(c), p.destroy = o, typeof e.init == "function" && e.init(p), e.instances.push(p), p;
|
|
@@ -637,16 +637,16 @@ Kt.removeBlobs = function(t, e) {
|
|
|
637
637
|
if (e("encoding packet %j", g), t.BINARY_EVENT === g.type || t.BINARY_ACK === g.type)
|
|
638
638
|
l(g, w);
|
|
639
639
|
else {
|
|
640
|
-
var
|
|
641
|
-
w([
|
|
640
|
+
var B = d(g);
|
|
641
|
+
w([B]);
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
644
|
function d(g) {
|
|
645
645
|
var w = "" + g.type;
|
|
646
646
|
if ((t.BINARY_EVENT === g.type || t.BINARY_ACK === g.type) && (w += g.attachments + "-"), g.nsp && g.nsp !== "/" && (w += g.nsp + ","), g.id != null && (w += g.id), g.data != null) {
|
|
647
|
-
var
|
|
648
|
-
if (
|
|
649
|
-
w +=
|
|
647
|
+
var B = c(g.data);
|
|
648
|
+
if (B !== !1)
|
|
649
|
+
w += B;
|
|
650
650
|
else
|
|
651
651
|
return h;
|
|
652
652
|
}
|
|
@@ -660,11 +660,11 @@ Kt.removeBlobs = function(t, e) {
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
function l(g, w) {
|
|
663
|
-
function
|
|
663
|
+
function B(_) {
|
|
664
664
|
var b = n.deconstructPacket(_), S = d(b.packet), m = b.buffers;
|
|
665
665
|
m.unshift(S), w(m);
|
|
666
666
|
}
|
|
667
|
-
n.removeBlobs(g,
|
|
667
|
+
n.removeBlobs(g, B);
|
|
668
668
|
}
|
|
669
669
|
function p() {
|
|
670
670
|
this.reconstructor = null;
|
|
@@ -684,18 +684,18 @@ Kt.removeBlobs = function(t, e) {
|
|
|
684
684
|
throw new Error("Unknown type: " + g);
|
|
685
685
|
};
|
|
686
686
|
function a(g) {
|
|
687
|
-
var w = 0,
|
|
687
|
+
var w = 0, B = {
|
|
688
688
|
type: Number(g.charAt(0))
|
|
689
689
|
};
|
|
690
|
-
if (t.types[
|
|
691
|
-
return y("unknown packet type " +
|
|
692
|
-
if (t.BINARY_EVENT ===
|
|
690
|
+
if (t.types[B.type] == null)
|
|
691
|
+
return y("unknown packet type " + B.type);
|
|
692
|
+
if (t.BINARY_EVENT === B.type || t.BINARY_ACK === B.type) {
|
|
693
693
|
for (var _ = w + 1; g.charAt(++w) !== "-" && w != g.length; )
|
|
694
694
|
;
|
|
695
695
|
var b = g.substring(_, w);
|
|
696
696
|
if (b != Number(b) || g.charAt(w) !== "-")
|
|
697
697
|
throw new Error("Illegal attachments");
|
|
698
|
-
|
|
698
|
+
B.attachments = Number(b);
|
|
699
699
|
}
|
|
700
700
|
if (g.charAt(w + 1) === "/") {
|
|
701
701
|
for (var _ = w + 1; ++w; ) {
|
|
@@ -703,9 +703,9 @@ Kt.removeBlobs = function(t, e) {
|
|
|
703
703
|
if (S === "," || w === g.length)
|
|
704
704
|
break;
|
|
705
705
|
}
|
|
706
|
-
|
|
706
|
+
B.nsp = g.substring(_, w);
|
|
707
707
|
} else
|
|
708
|
-
|
|
708
|
+
B.nsp = "/";
|
|
709
709
|
var m = g.charAt(w + 1);
|
|
710
710
|
if (m !== "" && Number(m) == m) {
|
|
711
711
|
for (var _ = w + 1; ++w; ) {
|
|
@@ -717,16 +717,16 @@ Kt.removeBlobs = function(t, e) {
|
|
|
717
717
|
if (w === g.length)
|
|
718
718
|
break;
|
|
719
719
|
}
|
|
720
|
-
|
|
720
|
+
B.id = Number(g.substring(_, w + 1));
|
|
721
721
|
}
|
|
722
722
|
if (g.charAt(++w)) {
|
|
723
|
-
var C = s(g.substr(w)), E = C !== !1 && (
|
|
723
|
+
var C = s(g.substr(w)), E = C !== !1 && (B.type === t.ERROR || o(C));
|
|
724
724
|
if (E)
|
|
725
|
-
|
|
725
|
+
B.data = C;
|
|
726
726
|
else
|
|
727
727
|
return y("invalid payload");
|
|
728
728
|
}
|
|
729
|
-
return e("decoded %s as %j", g,
|
|
729
|
+
return e("decoded %s as %j", g, B), B;
|
|
730
730
|
}
|
|
731
731
|
function s(g) {
|
|
732
732
|
try {
|
|
@@ -1053,7 +1053,7 @@ function bn() {
|
|
|
1053
1053
|
if (typeof b == "string") {
|
|
1054
1054
|
if (b.charAt(0) === "b")
|
|
1055
1055
|
return t.decodeBase64Packet(b.substr(1), S);
|
|
1056
|
-
if (m && (b =
|
|
1056
|
+
if (m && (b = B(b), b === !1))
|
|
1057
1057
|
return a;
|
|
1058
1058
|
var E = b.charAt(0);
|
|
1059
1059
|
return Number(E) != E || !p[E] ? a : b.length > 1 ? { type: p[E], data: b.substring(1) } : { type: p[E] };
|
|
@@ -1061,7 +1061,7 @@ function bn() {
|
|
|
1061
1061
|
var C = new Uint8Array(b), E = C[0], v = n(b, 1);
|
|
1062
1062
|
return s && S === "blob" && (v = new s([v])), { type: p[E], data: v };
|
|
1063
1063
|
};
|
|
1064
|
-
function
|
|
1064
|
+
function B(b) {
|
|
1065
1065
|
try {
|
|
1066
1066
|
b = i.decode(b, { strict: !1 });
|
|
1067
1067
|
} catch {
|
|
@@ -1475,7 +1475,7 @@ function Me() {
|
|
|
1475
1475
|
for (var t in Y.requests)
|
|
1476
1476
|
Y.requests.hasOwnProperty(t) && Y.requests[t].abort();
|
|
1477
1477
|
}
|
|
1478
|
-
var
|
|
1478
|
+
var In = Se.exports, Te = pr, Bn = Jt, qe = Ce, _n = At, Ln = /\n/g, Un = /\\n/g, Pt;
|
|
1479
1479
|
function Dn() {
|
|
1480
1480
|
}
|
|
1481
1481
|
function At(t) {
|
|
@@ -1487,7 +1487,7 @@ function At(t) {
|
|
|
1487
1487
|
e.script && (e.script.onerror = Dn);
|
|
1488
1488
|
}, !1);
|
|
1489
1489
|
}
|
|
1490
|
-
|
|
1490
|
+
Bn(At, Te);
|
|
1491
1491
|
At.prototype.supportsBinary = !1;
|
|
1492
1492
|
At.prototype.doClose = function() {
|
|
1493
1493
|
this.script && (this.script.parentNode.removeChild(this.script), this.script = null), this.form && (this.form.parentNode.removeChild(this.form), this.form = null, this.iframe = null), Te.prototype.doClose.call(this);
|
|
@@ -1625,7 +1625,7 @@ st.prototype.uri = function() {
|
|
|
1625
1625
|
st.prototype.check = function() {
|
|
1626
1626
|
return !!Ct && !("__initialize" in Ct && this.name === st.prototype.name);
|
|
1627
1627
|
};
|
|
1628
|
-
var Hn = we, Jn =
|
|
1628
|
+
var Hn = we, Jn = In, Vn = _n, $n = Kn;
|
|
1629
1629
|
Ht.polling = Gn;
|
|
1630
1630
|
Ht.websocket = $n;
|
|
1631
1631
|
function Gn(t) {
|
|
@@ -2889,8 +2889,8 @@ const Ro = {
|
|
|
2889
2889
|
debug: !1
|
|
2890
2890
|
}
|
|
2891
2891
|
};
|
|
2892
|
-
function
|
|
2893
|
-
return function t(e, r, n) {
|
|
2892
|
+
function Io() {
|
|
2893
|
+
return (typeof window.navigator > "u" || typeof window.navigator.userAgent > "u") && (window.navigator.userAgent = "react-native"), function t(e, r, n) {
|
|
2894
2894
|
function o(h, d) {
|
|
2895
2895
|
if (!r[h]) {
|
|
2896
2896
|
if (!e[h]) {
|
|
@@ -2975,12 +2975,12 @@ function Bo() {
|
|
|
2975
2975
|
if (this._timeout !== !1) {
|
|
2976
2976
|
var w = this._timeout;
|
|
2977
2977
|
c("connect attempt will timeout after %d", w);
|
|
2978
|
-
var
|
|
2978
|
+
var B = setTimeout(function() {
|
|
2979
2979
|
c("connect attempt timed out after %d", w), y.destroy(), s.close(), s.emit("error", "timeout"), f.emitAll("connect_timeout", w);
|
|
2980
2980
|
}, w);
|
|
2981
2981
|
this.subs.push({
|
|
2982
2982
|
destroy: function() {
|
|
2983
|
-
clearTimeout(
|
|
2983
|
+
clearTimeout(B);
|
|
2984
2984
|
}
|
|
2985
2985
|
});
|
|
2986
2986
|
}
|
|
@@ -3434,18 +3434,18 @@ function Bo() {
|
|
|
3434
3434
|
function w() {
|
|
3435
3435
|
g("transport closed");
|
|
3436
3436
|
}
|
|
3437
|
-
function
|
|
3437
|
+
function B() {
|
|
3438
3438
|
g("socket closed");
|
|
3439
3439
|
}
|
|
3440
3440
|
function _(E) {
|
|
3441
3441
|
S && E.name != S.name && (h('"%s" works - aborting "%s"', E.name, S.name), y());
|
|
3442
3442
|
}
|
|
3443
3443
|
function b() {
|
|
3444
|
-
S.removeListener("open", f), S.removeListener("error", g), S.removeListener("close", w), C.removeListener("close",
|
|
3444
|
+
S.removeListener("open", f), S.removeListener("error", g), S.removeListener("close", w), C.removeListener("close", B), C.removeListener("upgrading", _);
|
|
3445
3445
|
}
|
|
3446
3446
|
h('probing transport "%s"', s);
|
|
3447
3447
|
var S = this.createTransport(s, { probe: 1 }), m = !1, C = this;
|
|
3448
|
-
n.priorWebsocketSuccess = !1, S.once("open", f), S.once("error", g), S.once("close", w), this.once("close",
|
|
3448
|
+
n.priorWebsocketSuccess = !1, S.once("open", f), S.once("error", g), S.once("close", w), this.once("close", B), this.once("upgrading", _), S.open();
|
|
3449
3449
|
}, n.prototype.onOpen = function() {
|
|
3450
3450
|
if (h("socket open"), this.readyState = "open", n.priorWebsocketSuccess = this.transport.name == "websocket", this.emit("open"), this.flush(), this.readyState == "open" && this.upgrade && this.transport.pause) {
|
|
3451
3451
|
h("starting upgrade probes");
|
|
@@ -3639,8 +3639,8 @@ function Bo() {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
var f = this;
|
|
3641
3641
|
if (!this.form) {
|
|
3642
|
-
var y, g = document.createElement("form"), w = document.createElement("textarea"),
|
|
3643
|
-
g.className = "socketio", g.style.position = "absolute", g.style.top = "-1000px", g.style.left = "-1000px", g.target =
|
|
3642
|
+
var y, g = document.createElement("form"), w = document.createElement("textarea"), B = this.iframeId = "eio_iframe_" + this.index;
|
|
3643
|
+
g.className = "socketio", g.style.position = "absolute", g.style.top = "-1000px", g.style.left = "-1000px", g.target = B, g.method = "POST", g.setAttribute("accept-charset", "utf-8"), w.name = "d", g.appendChild(w), document.body.appendChild(g), this.form = g, this.area = w;
|
|
3644
3644
|
}
|
|
3645
3645
|
this.form.action = this.uri(), s(), l = l.replace(c, `\\
|
|
3646
3646
|
`), this.area.value = l.replace(d, "\\n");
|
|
@@ -3937,22 +3937,22 @@ function Bo() {
|
|
|
3937
3937
|
function s() {
|
|
3938
3938
|
var y = s, g = +/* @__PURE__ */ new Date(), w = g - (c || g);
|
|
3939
3939
|
y.diff = w, y.prev = c, y.curr = g, c = g, y.useColors == null && (y.useColors = r.useColors()), y.color == null && y.useColors && (y.color = n());
|
|
3940
|
-
var
|
|
3941
|
-
|
|
3940
|
+
var B = Array.prototype.slice.call(arguments);
|
|
3941
|
+
B[0] = r.coerce(B[0]), typeof B[0] != "string" && (B = ["%o"].concat(B));
|
|
3942
3942
|
var _ = 0;
|
|
3943
|
-
|
|
3943
|
+
B[0] = B[0].replace(/%([a-z%])/g, function(S, m) {
|
|
3944
3944
|
if (S === "%%")
|
|
3945
3945
|
return S;
|
|
3946
3946
|
_++;
|
|
3947
3947
|
var C = r.formatters[m];
|
|
3948
3948
|
if (typeof C == "function") {
|
|
3949
|
-
var E =
|
|
3950
|
-
S = C.call(y, E),
|
|
3949
|
+
var E = B[_];
|
|
3950
|
+
S = C.call(y, E), B.splice(_, 1), _--;
|
|
3951
3951
|
}
|
|
3952
3952
|
return S;
|
|
3953
|
-
}), typeof r.formatArgs == "function" && (
|
|
3953
|
+
}), typeof r.formatArgs == "function" && (B = r.formatArgs.apply(y, B));
|
|
3954
3954
|
var b = s.log || r.log || console.log.bind(console);
|
|
3955
|
-
b.apply(y,
|
|
3955
|
+
b.apply(y, B);
|
|
3956
3956
|
}
|
|
3957
3957
|
a.enabled = !1, s.enabled = !0;
|
|
3958
3958
|
var f = r.enabled(p) ? s : a;
|
|
@@ -4037,7 +4037,7 @@ function Bo() {
|
|
|
4037
4037
|
if (!C)
|
|
4038
4038
|
return r.encodeBase64Packet(m, E);
|
|
4039
4039
|
var v = m.data, k = new Uint8Array(v), T = new Uint8Array(1 + v.byteLength);
|
|
4040
|
-
T[0] =
|
|
4040
|
+
T[0] = B[m.type];
|
|
4041
4041
|
for (var x = 0; x < k.length; x++)
|
|
4042
4042
|
T[x + 1] = k[x];
|
|
4043
4043
|
return E(T.buffer);
|
|
@@ -4056,7 +4056,7 @@ function Bo() {
|
|
|
4056
4056
|
if (w)
|
|
4057
4057
|
return u(m, C, E);
|
|
4058
4058
|
var v = new Uint8Array(1);
|
|
4059
|
-
v[0] =
|
|
4059
|
+
v[0] = B[m.type];
|
|
4060
4060
|
var k = new S([v.buffer, m.data]);
|
|
4061
4061
|
return E(k);
|
|
4062
4062
|
}
|
|
@@ -4070,7 +4070,7 @@ function Bo() {
|
|
|
4070
4070
|
}
|
|
4071
4071
|
var c = t("./keys"), l = t("has-binary"), p = t("arraybuffer.slice"), a = t("base64-arraybuffer"), s = t("after"), f = t("utf8"), y = navigator.userAgent.match(/Android/i), g = /PhantomJS/i.test(navigator.userAgent), w = y || g;
|
|
4072
4072
|
r.protocol = 3;
|
|
4073
|
-
var
|
|
4073
|
+
var B = r.packets = { open: 0, close: 1, ping: 2, pong: 3, message: 4, upgrade: 5, noop: 6 }, _ = c(B), b = { type: "error", data: "parser error" }, S = t("blob");
|
|
4074
4074
|
r.encodePacket = function(m, C, E, v) {
|
|
4075
4075
|
typeof C == "function" && (v = C, C = !1), typeof E == "function" && (v = E, E = null);
|
|
4076
4076
|
var k = m.data === void 0 ? void 0 : m.data.buffer || m.data;
|
|
@@ -4080,7 +4080,7 @@ function Bo() {
|
|
|
4080
4080
|
return h(m, C, v);
|
|
4081
4081
|
if (k && k.base64)
|
|
4082
4082
|
return o(m, v);
|
|
4083
|
-
var T =
|
|
4083
|
+
var T = B[m.type];
|
|
4084
4084
|
return m.data !== void 0 && (T += E ? f.encode(String(m.data)) : String(m.data)), v("" + T);
|
|
4085
4085
|
}, r.encodeBase64Packet = function(m, C) {
|
|
4086
4086
|
var E = "b" + r.packets[m.type];
|
|
@@ -4378,7 +4378,7 @@ function Bo() {
|
|
|
4378
4378
|
return A;
|
|
4379
4379
|
}
|
|
4380
4380
|
function p() {
|
|
4381
|
-
if (_ >=
|
|
4381
|
+
if (_ >= B)
|
|
4382
4382
|
throw Error("Invalid byte index");
|
|
4383
4383
|
var v = 255 & w[_];
|
|
4384
4384
|
if (_++, (192 & v) == 128)
|
|
@@ -4387,9 +4387,9 @@ function Bo() {
|
|
|
4387
4387
|
}
|
|
4388
4388
|
function a() {
|
|
4389
4389
|
var v, k, T, x, O;
|
|
4390
|
-
if (_ >
|
|
4390
|
+
if (_ > B)
|
|
4391
4391
|
throw Error("Invalid byte index");
|
|
4392
|
-
if (_ ==
|
|
4392
|
+
if (_ == B)
|
|
4393
4393
|
return !1;
|
|
4394
4394
|
if (v = 255 & w[_], _++, (128 & v) == 0)
|
|
4395
4395
|
return v;
|
|
@@ -4409,14 +4409,14 @@ function Bo() {
|
|
|
4409
4409
|
throw Error("Invalid UTF-8 detected");
|
|
4410
4410
|
}
|
|
4411
4411
|
function s(v) {
|
|
4412
|
-
w = i(v),
|
|
4412
|
+
w = i(v), B = w.length, _ = 0;
|
|
4413
4413
|
for (var k, T = []; (k = a()) !== !1; )
|
|
4414
4414
|
T.push(k);
|
|
4415
4415
|
return u(T);
|
|
4416
4416
|
}
|
|
4417
4417
|
var f = typeof r == "object" && r, y = typeof e == "object" && e && e.exports == f && e, g = typeof n == "object" && n;
|
|
4418
4418
|
(g.global === g || g.window === g) && (o = g);
|
|
4419
|
-
var w,
|
|
4419
|
+
var w, B, _, b = String.fromCharCode, S = { version: "2.0.0", encode: l, decode: s };
|
|
4420
4420
|
if (f && !f.nodeType)
|
|
4421
4421
|
if (y)
|
|
4422
4422
|
y.exports = S;
|
|
@@ -4631,8 +4631,8 @@ function Bo() {
|
|
|
4631
4631
|
return g += y.type, (r.BINARY_EVENT == y.type || r.BINARY_ACK == y.type) && (g += y.attachments, g += "-"), y.nsp && y.nsp != "/" && (w = !0, g += y.nsp), y.id != null && (w && (g += ",", w = !1), g += y.id), y.data != null && (w && (g += ","), g += p.stringify(y.data)), l("encoded %j as %s", y, g), g;
|
|
4632
4632
|
}
|
|
4633
4633
|
function i(y, g) {
|
|
4634
|
-
function w(
|
|
4635
|
-
var _ = s.deconstructPacket(
|
|
4634
|
+
function w(B) {
|
|
4635
|
+
var _ = s.deconstructPacket(B), b = o(_.packet), S = _.buffers;
|
|
4636
4636
|
S.unshift(b), g(S);
|
|
4637
4637
|
}
|
|
4638
4638
|
s.removeBlobs(y, w);
|
|
@@ -4645,11 +4645,11 @@ function Bo() {
|
|
|
4645
4645
|
if (g.type = Number(y.charAt(0)), r.types[g.type] == null)
|
|
4646
4646
|
return c();
|
|
4647
4647
|
if (r.BINARY_EVENT == g.type || r.BINARY_ACK == g.type) {
|
|
4648
|
-
for (var
|
|
4648
|
+
for (var B = ""; y.charAt(++w) != "-" && (B += y.charAt(w), w != y.length); )
|
|
4649
4649
|
;
|
|
4650
|
-
if (
|
|
4650
|
+
if (B != Number(B) || y.charAt(w) != "-")
|
|
4651
4651
|
throw new Error("Illegal attachments");
|
|
4652
|
-
g.attachments = Number(
|
|
4652
|
+
g.attachments = Number(B);
|
|
4653
4653
|
}
|
|
4654
4654
|
if (y.charAt(w + 1) == "/")
|
|
4655
4655
|
for (g.nsp = ""; ++w; ) {
|
|
@@ -4739,16 +4739,16 @@ function Bo() {
|
|
|
4739
4739
|
else if (R == "json")
|
|
4740
4740
|
U = o("json-stringify") && o("json-parse");
|
|
4741
4741
|
else {
|
|
4742
|
-
var
|
|
4742
|
+
var I, F = '{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';
|
|
4743
4743
|
if (R == "json-stringify") {
|
|
4744
4744
|
var N = l.stringify, D = typeof N == "function" && p;
|
|
4745
4745
|
if (D) {
|
|
4746
|
-
(
|
|
4746
|
+
(I = function() {
|
|
4747
4747
|
return 1;
|
|
4748
|
-
}).toJSON =
|
|
4748
|
+
}).toJSON = I;
|
|
4749
4749
|
try {
|
|
4750
|
-
D = N(0) === "0" && N(new Number()) === "0" && N(new String()) == '""' && N(d) === h && N(h) === h && N() === h && N(
|
|
4751
|
-
\f\r `] }) == F && N(null,
|
|
4750
|
+
D = N(0) === "0" && N(new Number()) === "0" && N(new String()) == '""' && N(d) === h && N(h) === h && N() === h && N(I) === "1" && N([I]) == "[1]" && N([h]) == "[null]" && N(null) == "null" && N([h, d, null]) == "[null,null,null]" && N({ a: [I, !0, !1, null, `\0\b
|
|
4751
|
+
\f\r `] }) == F && N(null, I) === "1" && N([1, 2], null, 1) == `[
|
|
4752
4752
|
1,
|
|
4753
4753
|
2
|
|
4754
4754
|
]` && N(/* @__PURE__ */ new Date(-864e13)) == '"-271821-04-20T00:00:00.000Z"' && N(/* @__PURE__ */ new Date(864e13)) == '"+275760-09-13T00:00:00.000Z"' && N(/* @__PURE__ */ new Date(-621987552e5)) == '"-000001-01-01T00:00:00.000Z"' && N(/* @__PURE__ */ new Date(-1)) == '"1969-12-31T23:59:59.999Z"';
|
|
@@ -4763,8 +4763,8 @@ function Bo() {
|
|
|
4763
4763
|
if (typeof P == "function")
|
|
4764
4764
|
try {
|
|
4765
4765
|
if (P("0") === 0 && !P(!1)) {
|
|
4766
|
-
|
|
4767
|
-
var L =
|
|
4766
|
+
I = P(F);
|
|
4767
|
+
var L = I.a.length == 5 && I.a[0] === 1;
|
|
4768
4768
|
if (L) {
|
|
4769
4769
|
try {
|
|
4770
4770
|
L = !P('" "');
|
|
@@ -4798,33 +4798,33 @@ function Bo() {
|
|
|
4798
4798
|
} catch {
|
|
4799
4799
|
}
|
|
4800
4800
|
if (!o("json")) {
|
|
4801
|
-
var a = "[object Function]", s = "[object Date]", f = "[object Number]", y = "[object String]", g = "[object Array]", w = "[object Boolean]",
|
|
4801
|
+
var a = "[object Function]", s = "[object Date]", f = "[object Number]", y = "[object String]", g = "[object Array]", w = "[object Boolean]", B = o("bug-string-char-index");
|
|
4802
4802
|
if (!p)
|
|
4803
4803
|
var _ = Math.floor, b = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], S = function(R, U) {
|
|
4804
4804
|
return b[U] + 365 * (R - 1970) + _((R - 1969 + (U = +(U > 1))) / 4) - _((R - 1901 + U) / 100) + _((R - 1601 + U) / 400);
|
|
4805
4805
|
};
|
|
4806
4806
|
(i = {}.hasOwnProperty) || (i = function(R) {
|
|
4807
|
-
var U,
|
|
4808
|
-
return (
|
|
4807
|
+
var U, I = {};
|
|
4808
|
+
return (I.__proto__ = null, I.__proto__ = { toString: 1 }, I).toString != d ? i = function(F) {
|
|
4809
4809
|
var N = this.__proto__, D = F in (this.__proto__ = null, this);
|
|
4810
4810
|
return this.__proto__ = N, D;
|
|
4811
|
-
} : (U =
|
|
4811
|
+
} : (U = I.constructor, i = function(F) {
|
|
4812
4812
|
var N = (this.constructor || U).prototype;
|
|
4813
4813
|
return F in this && !(F in N && this[F] === N[F]);
|
|
4814
|
-
}),
|
|
4814
|
+
}), I = null, i.call(this, R);
|
|
4815
4815
|
});
|
|
4816
4816
|
var m = { boolean: 1, number: 1, string: 1, undefined: 1 }, C = function(R, U) {
|
|
4817
|
-
var
|
|
4818
|
-
return
|
|
4817
|
+
var I = typeof R[U];
|
|
4818
|
+
return I == "object" ? !!R[U] : !m[I];
|
|
4819
4819
|
};
|
|
4820
4820
|
if (u = function(R, U) {
|
|
4821
|
-
var
|
|
4822
|
-
(
|
|
4821
|
+
var I, F, N, D = 0;
|
|
4822
|
+
(I = function() {
|
|
4823
4823
|
this.valueOf = 0;
|
|
4824
|
-
}).prototype.valueOf = 0, F = new
|
|
4824
|
+
}).prototype.valueOf = 0, F = new I();
|
|
4825
4825
|
for (N in F)
|
|
4826
4826
|
i.call(F, N) && D++;
|
|
4827
|
-
return
|
|
4827
|
+
return I = F = null, D ? u = D == 2 ? function(P, L) {
|
|
4828
4828
|
var M, J = {}, nt = d.call(P) == a;
|
|
4829
4829
|
for (M in P)
|
|
4830
4830
|
nt && M == "prototype" || i.call(J, M) || !(J[M] = 1) || !i.call(P, M) || L(M);
|
|
@@ -4844,7 +4844,7 @@ function Bo() {
|
|
|
4844
4844
|
var E = { 92: "\\\\", 34: '\\"', 8: "\\b", 12: "\\f", 10: "\\n", 13: "\\r", 9: "\\t" }, v = "000000", k = function(R, U) {
|
|
4845
4845
|
return (v + (U || 0)).slice(-R);
|
|
4846
4846
|
}, T = "\\u00", x = function(R) {
|
|
4847
|
-
var U,
|
|
4847
|
+
var U, I = '"', F = 0, N = R.length, D = N > 10 && B;
|
|
4848
4848
|
for (D && (U = R.split("")); N > F; F++) {
|
|
4849
4849
|
var P = R.charCodeAt(F);
|
|
4850
4850
|
switch (P) {
|
|
@@ -4855,18 +4855,18 @@ function Bo() {
|
|
|
4855
4855
|
case 13:
|
|
4856
4856
|
case 34:
|
|
4857
4857
|
case 92:
|
|
4858
|
-
|
|
4858
|
+
I += E[P];
|
|
4859
4859
|
break;
|
|
4860
4860
|
default:
|
|
4861
4861
|
if (32 > P) {
|
|
4862
|
-
|
|
4862
|
+
I += T + k(2, P.toString(16));
|
|
4863
4863
|
break;
|
|
4864
4864
|
}
|
|
4865
|
-
|
|
4865
|
+
I += D ? U[F] : B ? R.charAt(F) : R[F];
|
|
4866
4866
|
}
|
|
4867
4867
|
}
|
|
4868
|
-
return
|
|
4869
|
-
}, O = function(R, U,
|
|
4868
|
+
return I + '"';
|
|
4869
|
+
}, O = function(R, U, I, F, N, D, P) {
|
|
4870
4870
|
var L, M, J, nt, ot, xt, Vt, $t, Gt, Yt, ut, Qt, Ut, Ot, Zt, te;
|
|
4871
4871
|
try {
|
|
4872
4872
|
L = U[R];
|
|
@@ -4887,7 +4887,7 @@ function Bo() {
|
|
|
4887
4887
|
L = (0 >= J || J >= 1e4 ? (0 > J ? "-" : "+") + k(6, 0 > J ? -J : J) : k(4, J)) + "-" + k(2, nt + 1) + "-" + k(2, ot) + "T" + k(2, Vt) + ":" + k(2, $t) + ":" + k(2, Gt) + "." + k(3, Yt) + "Z";
|
|
4888
4888
|
} else
|
|
4889
4889
|
L = null;
|
|
4890
|
-
if (
|
|
4890
|
+
if (I && (L = I.call(U, R, L)), L === null)
|
|
4891
4891
|
return "null";
|
|
4892
4892
|
if (M = d.call(L), M == w)
|
|
4893
4893
|
return "" + L;
|
|
@@ -4901,15 +4901,15 @@ function Bo() {
|
|
|
4901
4901
|
throw TypeError();
|
|
4902
4902
|
if (P.push(L), ut = [], Zt = D, D += N, M == g) {
|
|
4903
4903
|
for (Ut = 0, Ot = L.length; Ot > Ut; Ut++)
|
|
4904
|
-
Qt = O(Ut, L,
|
|
4904
|
+
Qt = O(Ut, L, I, F, N, D, P), ut.push(Qt === h ? "null" : Qt);
|
|
4905
4905
|
te = ut.length ? N ? `[
|
|
4906
4906
|
` + D + ut.join(`,
|
|
4907
4907
|
` + D) + `
|
|
4908
4908
|
` + Zt + "]" : "[" + ut.join(",") + "]" : "[]";
|
|
4909
4909
|
} else
|
|
4910
4910
|
u(F || L, function(ee) {
|
|
4911
|
-
var
|
|
4912
|
-
|
|
4911
|
+
var Ie = O(ee, L, I, F, N, D, P);
|
|
4912
|
+
Ie !== h && ut.push(x(ee) + ":" + (N ? " " : "") + Ie);
|
|
4913
4913
|
}), te = ut.length ? N ? `{
|
|
4914
4914
|
` + D + ut.join(`,
|
|
4915
4915
|
` + D) + `
|
|
@@ -4917,7 +4917,7 @@ function Bo() {
|
|
|
4917
4917
|
return P.pop(), te;
|
|
4918
4918
|
}
|
|
4919
4919
|
};
|
|
4920
|
-
l.stringify = function(R, U,
|
|
4920
|
+
l.stringify = function(R, U, I) {
|
|
4921
4921
|
var F, N, D, P;
|
|
4922
4922
|
if (typeof U == "function" || typeof U == "object" && U) {
|
|
4923
4923
|
if ((P = d.call(U)) == a)
|
|
@@ -4928,13 +4928,13 @@ function Bo() {
|
|
|
4928
4928
|
;
|
|
4929
4929
|
}
|
|
4930
4930
|
}
|
|
4931
|
-
if (
|
|
4932
|
-
if ((P = d.call(
|
|
4933
|
-
if ((
|
|
4934
|
-
for (F = "",
|
|
4931
|
+
if (I)
|
|
4932
|
+
if ((P = d.call(I)) == f) {
|
|
4933
|
+
if ((I -= I % 1) > 0)
|
|
4934
|
+
for (F = "", I > 10 && (I = 10); F.length < I; F += " ")
|
|
4935
4935
|
;
|
|
4936
4936
|
} else
|
|
4937
|
-
P == y && (F =
|
|
4937
|
+
P == y && (F = I.length <= 10 ? I : I.slice(0, 10));
|
|
4938
4938
|
return O("", (L = {}, L[""] = R, L), N, D, F, "", []);
|
|
4939
4939
|
};
|
|
4940
4940
|
}
|
|
@@ -4943,7 +4943,7 @@ function Bo() {
|
|
|
4943
4943
|
`, 102: "\f", 114: "\r" }, X = function() {
|
|
4944
4944
|
throw A = q = null, SyntaxError();
|
|
4945
4945
|
}, et = function() {
|
|
4946
|
-
for (var R, U,
|
|
4946
|
+
for (var R, U, I, F, N, D = q, P = D.length; P > A; )
|
|
4947
4947
|
switch (N = D.charCodeAt(A)) {
|
|
4948
4948
|
case 9:
|
|
4949
4949
|
case 10:
|
|
@@ -4957,7 +4957,7 @@ function Bo() {
|
|
|
4957
4957
|
case 93:
|
|
4958
4958
|
case 58:
|
|
4959
4959
|
case 44:
|
|
4960
|
-
return R =
|
|
4960
|
+
return R = B ? D.charAt(A) : D[A], A++, R;
|
|
4961
4961
|
case 34:
|
|
4962
4962
|
for (R = "@", A++; P > A; )
|
|
4963
4963
|
if (N = D.charCodeAt(A), 32 > N)
|
|
@@ -4975,7 +4975,7 @@ function Bo() {
|
|
|
4975
4975
|
R += $[N], A++;
|
|
4976
4976
|
break;
|
|
4977
4977
|
case 117:
|
|
4978
|
-
for (U = ++A,
|
|
4978
|
+
for (U = ++A, I = A + 4; I > A; A++)
|
|
4979
4979
|
N = D.charCodeAt(A), N >= 48 && 57 >= N || N >= 97 && 102 >= N || N >= 65 && 70 >= N || X();
|
|
4980
4980
|
R += j("0x" + D.slice(U, A));
|
|
4981
4981
|
break;
|
|
@@ -4997,14 +4997,14 @@ function Bo() {
|
|
|
4997
4997
|
for (N == 48 && (N = D.charCodeAt(A + 1), N >= 48 && 57 >= N) && X(), F = !1; P > A && (N = D.charCodeAt(A), N >= 48 && 57 >= N); A++)
|
|
4998
4998
|
;
|
|
4999
4999
|
if (D.charCodeAt(A) == 46) {
|
|
5000
|
-
for (
|
|
5000
|
+
for (I = ++A; P > I && (N = D.charCodeAt(I), N >= 48 && 57 >= N); I++)
|
|
5001
5001
|
;
|
|
5002
|
-
|
|
5002
|
+
I == A && X(), A = I;
|
|
5003
5003
|
}
|
|
5004
5004
|
if (N = D.charCodeAt(A), N == 101 || N == 69) {
|
|
5005
|
-
for (N = D.charCodeAt(++A), (N == 43 || N == 45) && A++,
|
|
5005
|
+
for (N = D.charCodeAt(++A), (N == 43 || N == 45) && A++, I = A; P > I && (N = D.charCodeAt(I), N >= 48 && 57 >= N); I++)
|
|
5006
5006
|
;
|
|
5007
|
-
|
|
5007
|
+
I == A && X(), A = I;
|
|
5008
5008
|
}
|
|
5009
5009
|
return +D.slice(U, A);
|
|
5010
5010
|
}
|
|
@@ -5018,41 +5018,41 @@ function Bo() {
|
|
|
5018
5018
|
}
|
|
5019
5019
|
return "$";
|
|
5020
5020
|
}, Nt = function(R) {
|
|
5021
|
-
var U,
|
|
5021
|
+
var U, I;
|
|
5022
5022
|
if (R == "$" && X(), typeof R == "string") {
|
|
5023
|
-
if ((
|
|
5023
|
+
if ((B ? R.charAt(0) : R[0]) == "@")
|
|
5024
5024
|
return R.slice(1);
|
|
5025
5025
|
if (R == "[") {
|
|
5026
|
-
for (U = []; R = et(), R != "]";
|
|
5027
|
-
|
|
5026
|
+
for (U = []; R = et(), R != "]"; I || (I = !0))
|
|
5027
|
+
I && (R == "," ? (R = et(), R == "]" && X()) : X()), R == "," && X(), U.push(Nt(R));
|
|
5028
5028
|
return U;
|
|
5029
5029
|
}
|
|
5030
5030
|
if (R == "{") {
|
|
5031
|
-
for (U = {}; R = et(), R != "}";
|
|
5032
|
-
|
|
5031
|
+
for (U = {}; R = et(), R != "}"; I || (I = !0))
|
|
5032
|
+
I && (R == "," ? (R = et(), R == "}" && X()) : X()), (R == "," || typeof R != "string" || (B ? R.charAt(0) : R[0]) != "@" || et() != ":") && X(), U[R.slice(1)] = Nt(et());
|
|
5033
5033
|
return U;
|
|
5034
5034
|
}
|
|
5035
5035
|
X();
|
|
5036
5036
|
}
|
|
5037
5037
|
return R;
|
|
5038
|
-
}, Oe = function(R, U,
|
|
5039
|
-
var F = Re(R, U,
|
|
5038
|
+
}, Oe = function(R, U, I) {
|
|
5039
|
+
var F = Re(R, U, I);
|
|
5040
5040
|
F === h ? delete R[U] : R[U] = F;
|
|
5041
|
-
}, Re = function(R, U,
|
|
5041
|
+
}, Re = function(R, U, I) {
|
|
5042
5042
|
var F, N = R[U];
|
|
5043
5043
|
if (typeof N == "object" && N)
|
|
5044
5044
|
if (d.call(N) == g)
|
|
5045
5045
|
for (F = N.length; F--; )
|
|
5046
|
-
Oe(N, F,
|
|
5046
|
+
Oe(N, F, I);
|
|
5047
5047
|
else
|
|
5048
5048
|
u(N, function(D) {
|
|
5049
|
-
Oe(N, D,
|
|
5049
|
+
Oe(N, D, I);
|
|
5050
5050
|
});
|
|
5051
|
-
return
|
|
5051
|
+
return I.call(R, U, N);
|
|
5052
5052
|
};
|
|
5053
5053
|
l.parse = function(R, U) {
|
|
5054
|
-
var
|
|
5055
|
-
return A = 0, q = "" + R,
|
|
5054
|
+
var I, F;
|
|
5055
|
+
return A = 0, q = "" + R, I = Nt(et()), et() != "$" && X(), A = q = null, U && d.call(U) == a ? Re((F = {}, F[""] = I, F), "", U) : I;
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
5058
|
}
|
|
@@ -5070,11 +5070,11 @@ function Bo() {
|
|
|
5070
5070
|
}, {}]
|
|
5071
5071
|
}, {}, [1])(1);
|
|
5072
5072
|
}
|
|
5073
|
-
const
|
|
5073
|
+
const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5074
5074
|
__proto__: null,
|
|
5075
|
-
default:
|
|
5075
|
+
default: Io
|
|
5076
5076
|
}, Symbol.toStringTag, { value: "Module" })), _o = /* @__PURE__ */ Object.assign({
|
|
5077
|
-
"./v1_3_7.js":
|
|
5077
|
+
"./v1_3_7.js": Bo
|
|
5078
5078
|
}), Lo = /v\d+_\d+_\d+/;
|
|
5079
5079
|
function Uo(t) {
|
|
5080
5080
|
return typeof t == "function";
|