aliyun-rtc-sdk 6.13.0-beta.0 → 6.13.0
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/aliyun-rtc-sdk.js +752 -752
- package/package.json +1 -1
package/dist/aliyun-rtc-sdk.js
CHANGED
|
@@ -8,7 +8,7 @@ var Wi = (s, c, e) => c in s ? no(s, c, { enumerable: !0, configurable: !0, writ
|
|
|
8
8
|
for (var e of yi(c))
|
|
9
9
|
Ds.call(c, e) && Wi(s, e, c[e]);
|
|
10
10
|
return s;
|
|
11
|
-
},
|
|
11
|
+
}, vt = (s, c) => ao(s, oo(c));
|
|
12
12
|
var Gt = (s, c) => {
|
|
13
13
|
var e = {};
|
|
14
14
|
for (var t in s)
|
|
@@ -669,7 +669,7 @@ function po() {
|
|
|
669
669
|
var u = this, h = u._conf, m = u.getPage(), f = h.ignore || {}, l = f.ignoreErrors, p = f.ignoreResErrors, d = f.ignoreUrls, g = f.ignoreApis;
|
|
670
670
|
if (u._isRobot || s.ignoreByRule(m, d) || s.ignoreByRule(s.decode(m), d) || r === "error" && (s.ignoreByRule(n.msg, l) || s.ignoreByRule(s.decode(n.msg), l)) || r === "resourceError" && (s.ignoreByRule(n.src, p) || s.ignoreByRule(s.decode(n.src), p)) || r === "api" && (s.ignoreByRule(n.api, g) || s.ignoreByRule(s.decode(n.api), g)) || !u.checkImgUrl(h.imgUrl) || !n || h.disabled || !h.pid || o === 0)
|
|
671
671
|
return u;
|
|
672
|
-
var
|
|
672
|
+
var b = n.dl;
|
|
673
673
|
if (delete n.dl, n = s.ext({
|
|
674
674
|
t: r,
|
|
675
675
|
times: 1,
|
|
@@ -687,13 +687,13 @@ function po() {
|
|
|
687
687
|
pv_id: u.pageview,
|
|
688
688
|
username: u.getUsername(),
|
|
689
689
|
sampling: a || 1,
|
|
690
|
-
dl:
|
|
690
|
+
dl: b,
|
|
691
691
|
z: s.seq()
|
|
692
692
|
}), s.T(h.beforeReport) === "Function")
|
|
693
693
|
try {
|
|
694
694
|
if (!(n = h.beforeReport(n)))
|
|
695
695
|
return u;
|
|
696
|
-
} catch (
|
|
696
|
+
} catch (v) {
|
|
697
697
|
return u;
|
|
698
698
|
}
|
|
699
699
|
return o === 1 ? t(u, n) : a && !u.sampling(a) ? u : t(u, n);
|
|
@@ -840,11 +840,11 @@ function mo() {
|
|
|
840
840
|
},
|
|
841
841
|
dl: h
|
|
842
842
|
}, d = ["tag", "c1", "c2", "c3"], g = 0; g < d.length; g++) {
|
|
843
|
-
var
|
|
844
|
-
n[
|
|
843
|
+
var b = d[g];
|
|
844
|
+
n[b] && (p[b] = n[b]);
|
|
845
845
|
}
|
|
846
|
-
var
|
|
847
|
-
return s.ignoreByRule(p.msg,
|
|
846
|
+
var v = (this.getConfig("ignore") || {}).ignoreErrors;
|
|
847
|
+
return s.ignoreByRule(p.msg, v) || s.ignoreByRule(s.decode(p.msg), v) ? this : (this.beforeSend && this.beforeSend("error", p), this._lg("error", p, 1));
|
|
848
848
|
},
|
|
849
849
|
behavior: function(r) {
|
|
850
850
|
if (r) {
|
|
@@ -854,7 +854,7 @@ function mo() {
|
|
|
854
854
|
return this.beforeSend && this.beforeSend("behavior", n), this._lg("behavior", n, 1);
|
|
855
855
|
}
|
|
856
856
|
},
|
|
857
|
-
api: function(r, n, a, o, u, h, m, f, l, p, d, g,
|
|
857
|
+
api: function(r, n, a, o, u, h, m, f, l, p, d, g, b, v, x, y) {
|
|
858
858
|
if (!r)
|
|
859
859
|
return s.warn("[retcode] api is null"), this;
|
|
860
860
|
if (r = typeof r == "string" ? {
|
|
@@ -869,8 +869,8 @@ function mo() {
|
|
|
869
869
|
apiSnapshot: l,
|
|
870
870
|
domain: p,
|
|
871
871
|
flag: g,
|
|
872
|
-
tag:
|
|
873
|
-
c1:
|
|
872
|
+
tag: b,
|
|
873
|
+
c1: v,
|
|
874
874
|
c2: x,
|
|
875
875
|
c3: y
|
|
876
876
|
} : s.sub(r, e), !s.checkAPI(r.api, !0))
|
|
@@ -956,7 +956,7 @@ function go() {
|
|
|
956
956
|
}, Yi.exports;
|
|
957
957
|
}
|
|
958
958
|
var Qi = { exports: {} }, Os;
|
|
959
|
-
function
|
|
959
|
+
function vo() {
|
|
960
960
|
if (Os)
|
|
961
961
|
return Qi.exports;
|
|
962
962
|
Os = 1;
|
|
@@ -972,7 +972,7 @@ function bo() {
|
|
|
972
972
|
}, Qi.exports;
|
|
973
973
|
}
|
|
974
974
|
var er, Vs;
|
|
975
|
-
function
|
|
975
|
+
function bo() {
|
|
976
976
|
if (Vs)
|
|
977
977
|
return er;
|
|
978
978
|
Vs = 1;
|
|
@@ -984,16 +984,16 @@ function vo() {
|
|
|
984
984
|
f[l] = p(d);
|
|
985
985
|
}
|
|
986
986
|
}, u = function(f) {
|
|
987
|
-
var l, p, d, g,
|
|
987
|
+
var l, p, d, g, b, v = [];
|
|
988
988
|
if (!f || typeof f.tagName != "string")
|
|
989
989
|
return "";
|
|
990
|
-
if (
|
|
991
|
-
for (p = l.split(/\s+/),
|
|
992
|
-
|
|
990
|
+
if (v.push(f.tagName.toLowerCase()), typeof f.id == "string" && v.push("#".concat(f.id)), typeof (l = f.className) == "string")
|
|
991
|
+
for (p = l.split(/\s+/), b = 0; b < p.length; b++)
|
|
992
|
+
v.push(".".concat(p[b]));
|
|
993
993
|
var x = ["type", "name", "title", "alt", "data-arms-attr"];
|
|
994
|
-
for (
|
|
995
|
-
d = x[
|
|
996
|
-
return
|
|
994
|
+
for (b = 0; b < x.length; b++)
|
|
995
|
+
d = x[b], typeof (g = f.getAttribute(d)) == "string" && v.push("[".concat(d, '="').concat(g, '"]'));
|
|
996
|
+
return v.join("");
|
|
997
997
|
}, h = function(f, l) {
|
|
998
998
|
return function(p) {
|
|
999
999
|
if (p && p !== a) {
|
|
@@ -1001,18 +1001,18 @@ function vo() {
|
|
|
1001
1001
|
var d;
|
|
1002
1002
|
try {
|
|
1003
1003
|
d = p.target;
|
|
1004
|
-
} catch (
|
|
1004
|
+
} catch (b) {
|
|
1005
1005
|
d = "<unknown>";
|
|
1006
1006
|
}
|
|
1007
1007
|
if (d.length !== 0) {
|
|
1008
1008
|
var g = {
|
|
1009
1009
|
type: "ui.".concat(f),
|
|
1010
1010
|
data: {
|
|
1011
|
-
message: function(
|
|
1012
|
-
if (!
|
|
1011
|
+
message: function(b) {
|
|
1012
|
+
if (!b || b.nodeType !== 1)
|
|
1013
1013
|
return "";
|
|
1014
|
-
for (var
|
|
1015
|
-
x.push(w), A += w.length,
|
|
1014
|
+
for (var v = b || null, x = [], y = 0, A = 0, I = 3, w = ""; v && y++ < 5 && !((w = u(v)) === "html" || y > 1 && A + x.length * I + w.length >= 80); )
|
|
1015
|
+
x.push(w), A += w.length, v = v.parentNode;
|
|
1016
1016
|
return x.reverse().join(" > ");
|
|
1017
1017
|
}(d)
|
|
1018
1018
|
},
|
|
@@ -1026,32 +1026,32 @@ function vo() {
|
|
|
1026
1026
|
};
|
|
1027
1027
|
}, m = function() {
|
|
1028
1028
|
if (function() {
|
|
1029
|
-
var d = e && e.chrome, g = d && d.app && d.app.runtime,
|
|
1030
|
-
return !g &&
|
|
1029
|
+
var d = e && e.chrome, g = d && d.app && d.app.runtime, b = "history" in e && !!e.history.pushState && !!e.history.replaceState;
|
|
1030
|
+
return !g && b;
|
|
1031
1031
|
}()) {
|
|
1032
1032
|
var f = function(d, g) {
|
|
1033
|
-
var
|
|
1033
|
+
var b = {
|
|
1034
1034
|
type: "navigation",
|
|
1035
1035
|
data: {
|
|
1036
1036
|
from: d,
|
|
1037
1037
|
to: g
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
|
-
i && i.addBehavior(
|
|
1040
|
+
i && i.addBehavior(b), r = g;
|
|
1041
1041
|
}, l = e.onpopstate;
|
|
1042
1042
|
e.onpopstate = function() {
|
|
1043
|
-
for (var d = arguments.length, g = new Array(d),
|
|
1044
|
-
g[
|
|
1045
|
-
var
|
|
1046
|
-
if (f(r,
|
|
1043
|
+
for (var d = arguments.length, g = new Array(d), b = 0; b < d; b++)
|
|
1044
|
+
g[b] = arguments[b];
|
|
1045
|
+
var v = e.location.href;
|
|
1046
|
+
if (f(r, v), l)
|
|
1047
1047
|
return l.apply(this, g);
|
|
1048
1048
|
};
|
|
1049
1049
|
var p = function(d) {
|
|
1050
1050
|
return function() {
|
|
1051
|
-
for (var g = arguments.length,
|
|
1052
|
-
v
|
|
1053
|
-
var x =
|
|
1054
|
-
return x && f(r, String(x)), d.apply(this,
|
|
1051
|
+
for (var g = arguments.length, b = new Array(g), v = 0; v < g; v++)
|
|
1052
|
+
b[v] = arguments[v];
|
|
1053
|
+
var x = b.length > 2 ? b[2] : void 0;
|
|
1054
|
+
return x && f(r, String(x)), d.apply(this, b);
|
|
1055
1055
|
};
|
|
1056
1056
|
};
|
|
1057
1057
|
o(e.history, "pushState", p), o(e.history, "replaceState", p);
|
|
@@ -1115,19 +1115,19 @@ function vo() {
|
|
|
1115
1115
|
s.isArray(l) && (p = l);
|
|
1116
1116
|
for (var d = 0; d < p.length; d++) {
|
|
1117
1117
|
var g = p[d];
|
|
1118
|
-
g && s.isString(g) && e.console[g] && typeof e.console[g] == "function" && o(e.console, g, function(
|
|
1119
|
-
var
|
|
1118
|
+
g && s.isString(g) && e.console[g] && typeof e.console[g] == "function" && o(e.console, g, function(b) {
|
|
1119
|
+
var v = g;
|
|
1120
1120
|
return function() {
|
|
1121
1121
|
for (var x = arguments.length, y = new Array(x), A = 0; A < x; A++)
|
|
1122
1122
|
y[A] = arguments[A];
|
|
1123
1123
|
var I = {
|
|
1124
1124
|
type: "console",
|
|
1125
1125
|
data: {
|
|
1126
|
-
level:
|
|
1126
|
+
level: v,
|
|
1127
1127
|
message: y
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
|
-
if (i && i.addBehavior(I),
|
|
1130
|
+
if (i && i.addBehavior(I), v === "error")
|
|
1131
1131
|
for (var w = 0; w < y.length; w++) {
|
|
1132
1132
|
var R = y[w];
|
|
1133
1133
|
R && R.message && R.stack && i && i.errorHandler(new ErrorEvent("error", {
|
|
@@ -1135,7 +1135,7 @@ function vo() {
|
|
|
1135
1135
|
message: R.message
|
|
1136
1136
|
}));
|
|
1137
1137
|
}
|
|
1138
|
-
|
|
1138
|
+
b && Function.prototype.apply.call(b, e.console, y);
|
|
1139
1139
|
};
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
@@ -1211,10 +1211,10 @@ function So() {
|
|
|
1211
1211
|
ready: [12, 1],
|
|
1212
1212
|
load: [14, 1]
|
|
1213
1213
|
}, function(p, d) {
|
|
1214
|
-
var g = n[e[p[1]]],
|
|
1215
|
-
if (o === 2 || g > 0 &&
|
|
1216
|
-
var
|
|
1217
|
-
|
|
1214
|
+
var g = n[e[p[1]]], b = n[e[p[0]]];
|
|
1215
|
+
if (o === 2 || g > 0 && b > 0) {
|
|
1216
|
+
var v = Math.round(b - g);
|
|
1217
|
+
v >= 0 && v < 6e5 && (r[d] = v);
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
var h = t.navigator.connection, m = i.navigation || {};
|
|
@@ -1234,7 +1234,7 @@ function _o() {
|
|
|
1234
1234
|
sr: screen.width + "x" + screen.height,
|
|
1235
1235
|
vp: o + "x" + u,
|
|
1236
1236
|
ct: h ? h.effectiveType || h.type : ""
|
|
1237
|
-
}, f = {}, l = function(d, g,
|
|
1237
|
+
}, f = {}, l = function(d, g, b, v, x) {
|
|
1238
1238
|
if (g === void 0) {
|
|
1239
1239
|
var y, A;
|
|
1240
1240
|
if (!f[d]) {
|
|
@@ -1249,7 +1249,7 @@ function _o() {
|
|
|
1249
1249
|
return f[d];
|
|
1250
1250
|
}
|
|
1251
1251
|
var I = d + "=" + g;
|
|
1252
|
-
I += "; path=/",
|
|
1252
|
+
I += "; path=/", b && (I += "; max-age=" + b);
|
|
1253
1253
|
try {
|
|
1254
1254
|
return e.cookie = I, !!e.cookie;
|
|
1255
1255
|
} catch (w) {
|
|
@@ -1268,33 +1268,33 @@ function _o() {
|
|
|
1268
1268
|
return this;
|
|
1269
1269
|
var g = d.type;
|
|
1270
1270
|
if (g === "error") {
|
|
1271
|
-
var
|
|
1272
|
-
!
|
|
1271
|
+
var b = d.target || d.srcElement;
|
|
1272
|
+
!b || !b.tagName || d.message || d.filename || d.lineno || d.colno ? this.error(d.error || {
|
|
1273
1273
|
message: d.message
|
|
1274
1274
|
}, d) : this.resourceErrorHandler(d);
|
|
1275
1275
|
} else
|
|
1276
1276
|
g === "unhandledrejection" && t.T(d.reason, "Error") && t.checkAutoError(d.reason) && this.error(d.reason);
|
|
1277
1277
|
try {
|
|
1278
1278
|
this.getConfig("behavior") && this.reportBehavior && this.reportBehavior();
|
|
1279
|
-
} catch (
|
|
1279
|
+
} catch (v) {
|
|
1280
1280
|
}
|
|
1281
1281
|
return this;
|
|
1282
1282
|
},
|
|
1283
1283
|
resourceErrorHandler: function(d) {
|
|
1284
|
-
var g = this,
|
|
1284
|
+
var g = this, b = d.target || d.srcElement;
|
|
1285
1285
|
try {
|
|
1286
|
-
var
|
|
1287
|
-
src:
|
|
1286
|
+
var v = g.getSrc(b), x = typeof b.tagName == "string" ? b.tagName.toLowerCase() : "", y = g.getXPath(b, 5), A = t.getURL(v), I = {
|
|
1287
|
+
src: v && v.substring(0, 1e3),
|
|
1288
1288
|
node_name: x,
|
|
1289
1289
|
xpath: y,
|
|
1290
|
-
res_type: t.getResType(x,
|
|
1290
|
+
res_type: t.getResType(x, v),
|
|
1291
1291
|
res_name: A.path,
|
|
1292
1292
|
domain: A.domain
|
|
1293
1293
|
};
|
|
1294
1294
|
return g._conf.enableResource && g.fixResourceStatus && d.timeStamp && g.fixResourceStatus({
|
|
1295
|
-
src:
|
|
1295
|
+
src: v,
|
|
1296
1296
|
node_name: x,
|
|
1297
|
-
res_type: t.getResType(x,
|
|
1297
|
+
res_type: t.getResType(x, v),
|
|
1298
1298
|
timeStamp: d.timeStamp,
|
|
1299
1299
|
domain: A.domain
|
|
1300
1300
|
}), g._lg("resourceError", I), g;
|
|
@@ -1306,8 +1306,8 @@ function _o() {
|
|
|
1306
1306
|
var g = d.src || d.href;
|
|
1307
1307
|
try {
|
|
1308
1308
|
if (!g) {
|
|
1309
|
-
var
|
|
1310
|
-
|
|
1309
|
+
var b = (typeof d.tagName == "string" ? d.tagName.toLowerCase() : "") === "object", v = d.getAttribute("classid") && d.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || d.getAttribute("type") === "application/x-shockwave-flash";
|
|
1310
|
+
b && v && (g = d.getAttribute("data") || d.getAttribute("codebase")), g || (g = d.outerHTML || d.innerHTML);
|
|
1311
1311
|
}
|
|
1312
1312
|
} catch (x) {
|
|
1313
1313
|
g = "";
|
|
@@ -1315,30 +1315,30 @@ function _o() {
|
|
|
1315
1315
|
return g;
|
|
1316
1316
|
},
|
|
1317
1317
|
getXPath: function(d, g) {
|
|
1318
|
-
var
|
|
1318
|
+
var b = d.id ? "#" + d.id : "", v = typeof d.className == "string" ? "." + d.className.split(" ").join(".") : "", x = (typeof d.tagName == "string" ? d.tagName.toLowerCase() : "") + b + v;
|
|
1319
1319
|
return d.parentNode && d.parentNode.tagName && g - 1 != 0 ? this.getXPath(d.parentNode, g - 1) + " > " + x : x;
|
|
1320
1320
|
},
|
|
1321
1321
|
sendPerformance: function(d) {
|
|
1322
1322
|
var g = this;
|
|
1323
1323
|
g.onReady(function() {
|
|
1324
|
-
var
|
|
1325
|
-
|
|
1324
|
+
var b = r();
|
|
1325
|
+
b && b.load && b.load > 0 && (b.page = g.getPage(!0), d && (b = t.ext(b, d)), b.autoSend = !0, g.performance(b));
|
|
1326
1326
|
});
|
|
1327
1327
|
},
|
|
1328
1328
|
sendResources: function(d) {
|
|
1329
1329
|
var g = this;
|
|
1330
1330
|
g.onReady(function() {
|
|
1331
|
-
var
|
|
1332
|
-
|
|
1331
|
+
var b = i();
|
|
1332
|
+
b && b.load && b.load > 0 && (b.load && b.load <= 2e3 || b.load && b.load <= 8e3 && Math.random() > 0.05 || (b.page = g.getPage(!0), b.dl = location.href, d && (b = t.ext(b, d)), g._lg("res", b, g.getConfig("sample"))));
|
|
1333
1333
|
});
|
|
1334
1334
|
},
|
|
1335
1335
|
sendPV: function() {
|
|
1336
1336
|
var d = this;
|
|
1337
1337
|
d.onReady(function() {
|
|
1338
|
-
var g = function(
|
|
1339
|
-
var
|
|
1338
|
+
var g = function(b) {
|
|
1339
|
+
var v = p(b), x = c.devicePixelRatio || 1;
|
|
1340
1340
|
return {
|
|
1341
|
-
uid:
|
|
1341
|
+
uid: v,
|
|
1342
1342
|
dt: e.title,
|
|
1343
1343
|
dl: location.href,
|
|
1344
1344
|
dr: e.referrer,
|
|
@@ -1359,8 +1359,8 @@ function _o() {
|
|
|
1359
1359
|
try {
|
|
1360
1360
|
if (typeof window == "object" && typeof sessionStorage == "object" && typeof sessionStorage.getItem == "function")
|
|
1361
1361
|
return typeof (g = sessionStorage.getItem("_bl_sid")) == "string" ? (d.session = g, g) : (g = t.uu(), d.session = g, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", g), g);
|
|
1362
|
-
} catch (
|
|
1363
|
-
t.warn("[ARMS] getSid error :",
|
|
1362
|
+
} catch (b) {
|
|
1363
|
+
t.warn("[ARMS] getSid error :", b);
|
|
1364
1364
|
}
|
|
1365
1365
|
return d.session = g = t.uu(), g;
|
|
1366
1366
|
}(this), m;
|
|
@@ -1375,12 +1375,12 @@ function _o() {
|
|
|
1375
1375
|
var g = this;
|
|
1376
1376
|
if (!d ^ g.hashChangeHandler)
|
|
1377
1377
|
return g;
|
|
1378
|
-
d ? (g.hackHistoryState(), g.hashChangeHandler = function(
|
|
1379
|
-
var
|
|
1380
|
-
|
|
1381
|
-
}, g.stateChangeHandler = function(
|
|
1382
|
-
var
|
|
1383
|
-
|
|
1378
|
+
d ? (g.hackHistoryState(), g.hashChangeHandler = function(b) {
|
|
1379
|
+
var v = g._conf.parseHash(location.hash);
|
|
1380
|
+
v && g.setPage(v, b !== !1);
|
|
1381
|
+
}, g.stateChangeHandler = function(b) {
|
|
1382
|
+
var v = g._conf.parseHash(b.detail);
|
|
1383
|
+
v && g.setPage(v);
|
|
1384
1384
|
}, t.on(c, "hashchange", g.hashChangeHandler), t.on(c, "historystatechange", g.stateChangeHandler), g.hashChangeHandler(!1)) : (t.off(c, "hashchange", g.hashChangeHandler), t.off(c, "historystatechange", g.stateChangeHandler), g.hashChangeHandler = null, g.stateChangeHandler = null);
|
|
1385
1385
|
},
|
|
1386
1386
|
initHandler: function() {
|
|
@@ -1411,8 +1411,8 @@ function yo() {
|
|
|
1411
1411
|
if (d !== "SCRIPT" && d !== "STYLE" && d !== "META" && d !== "HEAD") {
|
|
1412
1412
|
var g = m.children ? m.children.length : 0;
|
|
1413
1413
|
if (g > 0)
|
|
1414
|
-
for (var
|
|
1415
|
-
p += r(v
|
|
1414
|
+
for (var b = m.children, v = g - 1; v >= 0; v--)
|
|
1415
|
+
p += r(b[v], f + 1, p > 0);
|
|
1416
1416
|
if (p <= 0 && !l && !(m.getBoundingClientRect && m.getBoundingClientRect().top < a))
|
|
1417
1417
|
return 0;
|
|
1418
1418
|
p += 1 + 0.5 * f;
|
|
@@ -1441,9 +1441,9 @@ function yo() {
|
|
|
1441
1441
|
(function(p) {
|
|
1442
1442
|
var d = Date.now() - p, g = i.querySelector("body");
|
|
1443
1443
|
if (g) {
|
|
1444
|
-
var
|
|
1445
|
-
|
|
1446
|
-
score:
|
|
1444
|
+
var b = 0;
|
|
1445
|
+
b += r(g, 1, !1), o.push({
|
|
1446
|
+
score: b,
|
|
1447
1447
|
t: d
|
|
1448
1448
|
});
|
|
1449
1449
|
} else
|
|
@@ -1462,9 +1462,9 @@ function yo() {
|
|
|
1462
1462
|
endObserving: function(m, f) {
|
|
1463
1463
|
var l = this;
|
|
1464
1464
|
if (u && h)
|
|
1465
|
-
if (l.fmpTimmer && (clearTimeout(l.fmpTimmer), l.fmpTimmer = null), f || !function(
|
|
1466
|
-
var x = Date.now() -
|
|
1467
|
-
return !(x >
|
|
1465
|
+
if (l.fmpTimmer && (clearTimeout(l.fmpTimmer), l.fmpTimmer = null), f || !function(b, v) {
|
|
1466
|
+
var x = Date.now() - b;
|
|
1467
|
+
return !(x > v || x - (o && o.length && o[o.length - 1].t || 0) > 2 * c);
|
|
1468
1468
|
}(l._startTime, m)) {
|
|
1469
1469
|
u.disconnect(), h = 0, o = n(o);
|
|
1470
1470
|
for (var p = null, d = 1; d < o.length; d++)
|
|
@@ -1489,12 +1489,12 @@ function yo() {
|
|
|
1489
1489
|
var qs, Gs;
|
|
1490
1490
|
function Eo() {
|
|
1491
1491
|
return Gs || (Gs = 1, qs = function(s, c) {
|
|
1492
|
-
var e = tt(), t = null, i = e.getCurDomain(), r = function(h, m, f, l, p, d, g,
|
|
1492
|
+
var e = tt(), t = null, i = e.getCurDomain(), r = function(h, m, f, l, p, d, g, b, v, x, y, A, I) {
|
|
1493
1493
|
var w = e.J(p) || null, R = e.safetyCall(m, [w, l], null);
|
|
1494
1494
|
if (!R)
|
|
1495
1495
|
return !1;
|
|
1496
1496
|
var L = R.code || d, D = !("success" in R) || R.success;
|
|
1497
|
-
h.api(f, D, g, L, R.msg,
|
|
1497
|
+
h.api(f, D, g, L, R.msg, b, v, x, D ? {} : y, i, A, I);
|
|
1498
1498
|
}, n = "fetch", a = "__oFetch_", o = "__oXMLHttpRequest_", u = "XMLHttpRequest";
|
|
1499
1499
|
return e.ext(s.prototype, {
|
|
1500
1500
|
removeHook: function(h, m) {
|
|
@@ -1509,13 +1509,13 @@ function Eo() {
|
|
|
1509
1509
|
if (!d || !d.api || l && (l.method === "HEAD" || l.mode === "no-cors"))
|
|
1510
1510
|
return m.apply(c, p);
|
|
1511
1511
|
l || (l = {});
|
|
1512
|
-
var g = Date.now(),
|
|
1512
|
+
var g = Date.now(), b = d._conf, v = e.duration(), x = (f && typeof f != "string" ? f.url : f) || "", y = x;
|
|
1513
1513
|
x = e.cutUrlSearch(x);
|
|
1514
|
-
var A = (
|
|
1514
|
+
var A = (b.ignore || {}).ignoreApis, I = b.parseTraceId;
|
|
1515
1515
|
if (!e.checkAPI(x, !0) || e.ignoreByRule(x, A))
|
|
1516
1516
|
return m.apply(c, p);
|
|
1517
|
-
x = e.filterByRule(x, y,
|
|
1518
|
-
var w =
|
|
1517
|
+
x = e.filterByRule(x, y, b.ignoreApiPath ? b.ignoreApiPath : b.apiHelper);
|
|
1518
|
+
var w = b.enableLinkTrace, R = "", L = "", D = d.getConfig("pid"), N = null, C = d.getConfig("sample"), M = d.getConfig("linkType"), E = 1;
|
|
1519
1519
|
if (C && !d.sampling(C) && (E = 0), w) {
|
|
1520
1520
|
var U = "";
|
|
1521
1521
|
try {
|
|
@@ -1589,18 +1589,18 @@ function Eo() {
|
|
|
1589
1589
|
if (ce && !/(text)|(json)/.test(ce))
|
|
1590
1590
|
return K;
|
|
1591
1591
|
if (!R) {
|
|
1592
|
-
var
|
|
1593
|
-
typeof
|
|
1592
|
+
var ve = e.parseFetchHeaders(pe);
|
|
1593
|
+
typeof ve == "object" && ve["eagleeye-traceid"] && (R = ve["eagleeye-traceid"], N = "response");
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
|
-
var we =
|
|
1596
|
+
var we = v();
|
|
1597
1597
|
return Q.text().then(function(Ae) {
|
|
1598
1598
|
if (!R && e.isFunction(I)) {
|
|
1599
1599
|
var Fe = I(Q, Ae);
|
|
1600
1600
|
Fe && e.isString(Fe) && (R = Fe);
|
|
1601
1601
|
}
|
|
1602
1602
|
var Ce = e.getFetchSnapshot(p, Ae, pe);
|
|
1603
|
-
Q.ok ? r(d,
|
|
1603
|
+
Q.ok ? r(d, b.parseResponse, x, y, Ae, Q.status || 200, we, g, R, L, Ce, N, E) : (d.api(x, !1, we, Q.status || 404, Q.statusText, g, R, L, Ce, i, N, E), b.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1604
1604
|
src: Q.url,
|
|
1605
1605
|
res_type: "api"
|
|
1606
1606
|
}));
|
|
@@ -1611,8 +1611,8 @@ function Eo() {
|
|
|
1611
1611
|
}).catch(function(K) {
|
|
1612
1612
|
if (!d || !d.api)
|
|
1613
1613
|
throw K;
|
|
1614
|
-
var Q =
|
|
1615
|
-
throw d.api(x, !1, Q, K.name || "Error", K.message, g, R, L, {}, i),
|
|
1614
|
+
var Q = v();
|
|
1615
|
+
throw d.api(x, !1, Q, K.name || "Error", K.message, g, R, L, {}, i), b.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1616
1616
|
src: y,
|
|
1617
1617
|
res_type: "api"
|
|
1618
1618
|
}), K;
|
|
@@ -1627,7 +1627,7 @@ function Eo() {
|
|
|
1627
1627
|
var d = new f(p), g = t;
|
|
1628
1628
|
if (!g || !g.api || !d.addEventListener)
|
|
1629
1629
|
return d;
|
|
1630
|
-
var
|
|
1630
|
+
var b, v, x, y, A = d.send, I = d.open, w = d.setRequestHeader, R = g._conf, L = (R.ignore || {}).ignoreApis, D = R.parseTraceId, N = g.getConfig("enableLinkTrace"), C = "", M = "", E = "", U = null, te = g.getConfig("sample"), q = g.getConfig("linkType"), oe = 1;
|
|
1631
1631
|
return te && !g.sampling(te) && (oe = 0), d.open = function($, se) {
|
|
1632
1632
|
m = $;
|
|
1633
1633
|
var T = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
@@ -1657,12 +1657,12 @@ function Eo() {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
1659
|
}, d.send = function() {
|
|
1660
|
-
|
|
1660
|
+
b = Date.now(), v = e.duration();
|
|
1661
1661
|
var $ = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
1662
1662
|
A.apply(d, $);
|
|
1663
1663
|
}, e.on(d, "readystatechange", function() {
|
|
1664
1664
|
if (x && d.readyState === 4) {
|
|
1665
|
-
var $ =
|
|
1665
|
+
var $ = v(), se = e.getXhrSnapshot(y, m, d);
|
|
1666
1666
|
if (!C) {
|
|
1667
1667
|
var T = e.parseXhrHeaders(typeof d.getAllResponseHeaders == "function" && d.getAllResponseHeaders() || "");
|
|
1668
1668
|
typeof T == "object" && T["eagleeye-traceid"] && (C = T["eagleeye-traceid"], U = "response");
|
|
@@ -1678,9 +1678,9 @@ function Eo() {
|
|
|
1678
1678
|
if (F && !/(text)|(json)/.test(F))
|
|
1679
1679
|
return;
|
|
1680
1680
|
}
|
|
1681
|
-
d.responseType && d.responseType !== "text" ? g.api(x, !0, $, z, "",
|
|
1681
|
+
d.responseType && d.responseType !== "text" ? g.api(x, !0, $, z, "", b, C, M, {}, i, U, oe) : r(g, R.parseResponse, x, y, d.responseText, z, $, b, C, M, se, U, oe);
|
|
1682
1682
|
} else
|
|
1683
|
-
g.api(x, !1, $, d.status || "FAILED", d.statusText,
|
|
1683
|
+
g.api(x, !1, $, d.status || "FAILED", d.statusText, b, C, M, se, i, U, oe), R.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1684
1684
|
src: d.responseURL || y,
|
|
1685
1685
|
res_type: "api"
|
|
1686
1686
|
});
|
|
@@ -1714,8 +1714,8 @@ function Ao() {
|
|
|
1714
1714
|
if (!m || typeof m != "string" || m === l)
|
|
1715
1715
|
return p;
|
|
1716
1716
|
try {
|
|
1717
|
-
var d = l.split("#"), g = m.split("#"),
|
|
1718
|
-
x !== y ? r("historystatechange", y) :
|
|
1717
|
+
var d = l.split("#"), g = m.split("#"), b = e.cutUrlSearch(d[0]), v = e.cutUrlSearch(g[0]), x = d[1] && d[1].replace(/^\/?(.*)/, "$1"), y = g[1] && g[1].replace(/^\/?(.*)/, "$1");
|
|
1718
|
+
x !== y ? r("historystatechange", y) : b !== v && r("historystatechange", v);
|
|
1719
1719
|
} catch (A) {
|
|
1720
1720
|
e.warn("[retcode] error in " + a + ": " + A);
|
|
1721
1721
|
}
|
|
@@ -1740,8 +1740,8 @@ function wo() {
|
|
|
1740
1740
|
if (o instanceof i.PerformanceResourceTiming && o.initiatorType) {
|
|
1741
1741
|
var m = s.getResType(o.initiatorType, o.name), f = u.resourceTypes || [], l = (u.ignore || {}).ignoreResources;
|
|
1742
1742
|
if (m && f.includes(m) && !s.ignoreByRule(o.name, l) && !s.ignoreByRule(s.decode(o.name), l)) {
|
|
1743
|
-
var p = o[e[0]], d = o[e[1]], g = o[e[2]],
|
|
1744
|
-
if (!h.has(o) && (!s.areInOrder(p, d, g,
|
|
1743
|
+
var p = o[e[0]], d = o[e[1]], g = o[e[2]], b = o[e[3]], v = o[e[4]], x = o[e[5]], y = o[e[6]], A = o[e[7]], I = o[e[8]], w = o[e[18]], R = o[e[19]];
|
|
1744
|
+
if (!h.has(o) && (!s.areInOrder(p, d, g, b, v, x, y, A, I) || p > A))
|
|
1745
1745
|
return;
|
|
1746
1746
|
if (w < p && (w = p), R < p && (R = d), s.areInOrder(p, w, R, d))
|
|
1747
1747
|
return {
|
|
@@ -1814,7 +1814,7 @@ function wo() {
|
|
|
1814
1814
|
if (m.length !== 0) {
|
|
1815
1815
|
var f = [];
|
|
1816
1816
|
s.each(m, function(g) {
|
|
1817
|
-
var
|
|
1817
|
+
var b = o[g], v = {
|
|
1818
1818
|
domain: "",
|
|
1819
1819
|
res_type: "",
|
|
1820
1820
|
src_type: "",
|
|
@@ -1827,17 +1827,17 @@ function wo() {
|
|
|
1827
1827
|
slow_duration: 0,
|
|
1828
1828
|
timings: []
|
|
1829
1829
|
};
|
|
1830
|
-
s.each(
|
|
1830
|
+
s.each(b, function(x) {
|
|
1831
1831
|
var y = x.timing || {}, A = h.get(x.timing), I = A ? A.success : 1, w = x.duration > u ? 1 : 0;
|
|
1832
|
-
|
|
1832
|
+
v.domain = x.domain, v.res_type = x.res_type, v.src_type = x.src_type, v.count += 1, v.duration += x.duration, v.size += x.size, I || (v.err_count += 1, v.err_duration += x.duration), w && (v.slow_count += 1, v.slow_duration += x.duration);
|
|
1833
1833
|
try {
|
|
1834
1834
|
var R = JSON.parse(JSON.stringify(y));
|
|
1835
|
-
R.success = I, R.resourceSlow = u, R.isSlow = w,
|
|
1835
|
+
R.success = I, R.resourceSlow = u, R.isSlow = w, v.timings.push(R);
|
|
1836
1836
|
} catch (L) {
|
|
1837
1837
|
}
|
|
1838
|
-
}),
|
|
1838
|
+
}), v.count && (v.size = Math.round(v.size / v.count), v.duration = Math.round(v.duration / v.count)), v.slow_count && (v.slow_duration = Math.round(v.slow_duration / v.slow_count)), v.err_count && (v.err_duration = Math.round(v.err_duration / v.err_count)), v.timings.length > 20 && (v.timings.sort(function(x, y) {
|
|
1839
1839
|
return y.duration - x.duration;
|
|
1840
|
-
}),
|
|
1840
|
+
}), v.timings.length = 20), v.timings = encodeURIComponent(JSON.stringify(v.timings)), f.push(v);
|
|
1841
1841
|
});
|
|
1842
1842
|
var l = {
|
|
1843
1843
|
_combo: 1,
|
|
@@ -1856,7 +1856,7 @@ function Co() {
|
|
|
1856
1856
|
if (Ys)
|
|
1857
1857
|
return qi.exports;
|
|
1858
1858
|
Ys = 1;
|
|
1859
|
-
var s = tt(), c = mo(), e = go(), t =
|
|
1859
|
+
var s = tt(), c = mo(), e = go(), t = vo(), i = s.win, r = i.document, n = /^(error|api|speed|sum|avg|percent|custom|msg|setPage|setConfig|behavior|performance)$/, a = function(o) {
|
|
1860
1860
|
var u = this;
|
|
1861
1861
|
return c.call(u, o), u._initialPage = o.page && s.safetyCall(o.page, [], o.page + "") || null, u._isRobot = s.isRobot(), u._health = {
|
|
1862
1862
|
errcount: 0,
|
|
@@ -1992,7 +1992,7 @@ function Co() {
|
|
|
1992
1992
|
var u = this.__proto__.constructor(o);
|
|
1993
1993
|
return o.page && u.sendPV(), u;
|
|
1994
1994
|
}
|
|
1995
|
-
}),
|
|
1995
|
+
}), bo()(a, i), _o()(a, i, r), yo()(a, i, r), Eo()(a, i), Ao()(a, i), wo()(a, i), a._super = c, a._root = c._root, c.Browser = a, qi.exports = a, qi.exports;
|
|
1996
1996
|
}
|
|
1997
1997
|
var Qs;
|
|
1998
1998
|
function Io() {
|
|
@@ -2067,7 +2067,7 @@ function To(s, c, e) {
|
|
|
2067
2067
|
} catch (m) {
|
|
2068
2068
|
throw e(m), m;
|
|
2069
2069
|
}
|
|
2070
|
-
return
|
|
2070
|
+
return bt(h, c + 1, e);
|
|
2071
2071
|
}
|
|
2072
2072
|
let o = () => {
|
|
2073
2073
|
};
|
|
@@ -2080,13 +2080,13 @@ function To(s, c, e) {
|
|
|
2080
2080
|
} catch (f) {
|
|
2081
2081
|
throw e(f), f;
|
|
2082
2082
|
}
|
|
2083
|
-
return
|
|
2083
|
+
return bt(m, c + 1, e);
|
|
2084
2084
|
}
|
|
2085
2085
|
};
|
|
2086
|
-
return typeof n[a] == "function" ? u.MediaboxWrapperObjectMethod : c > 10 ? n[a] :
|
|
2086
|
+
return typeof n[a] == "function" ? u.MediaboxWrapperObjectMethod : c > 10 ? n[a] : bt(n[a], c + 1, e);
|
|
2087
2087
|
},
|
|
2088
2088
|
MediaboxWrapperObjectSetter(n, a, o) {
|
|
2089
|
-
return n[a] =
|
|
2089
|
+
return n[a] = bt(o, c + 1, e), !0;
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
2092
|
return new Proxy(s, {
|
|
@@ -2103,11 +2103,11 @@ function Po(s, c, e) {
|
|
|
2103
2103
|
} catch (o) {
|
|
2104
2104
|
throw e(o), o;
|
|
2105
2105
|
}
|
|
2106
|
-
return
|
|
2106
|
+
return bt(a, c + 1, e);
|
|
2107
2107
|
},
|
|
2108
2108
|
MediaboxWrapperFunctionGet(i, r) {
|
|
2109
2109
|
const n = Object.getOwnPropertyDescriptor(i, r);
|
|
2110
|
-
return n && !n.writable && !n.configurable ? i[r] :
|
|
2110
|
+
return n && !n.writable && !n.configurable ? i[r] : bt(i[r], c + 1, e);
|
|
2111
2111
|
},
|
|
2112
2112
|
MediaboxWrapperClassConstructor(i, r) {
|
|
2113
2113
|
let n;
|
|
@@ -2116,7 +2116,7 @@ function Po(s, c, e) {
|
|
|
2116
2116
|
} catch (a) {
|
|
2117
2117
|
throw e(a), a;
|
|
2118
2118
|
}
|
|
2119
|
-
return
|
|
2119
|
+
return bt(n, c + 1, e);
|
|
2120
2120
|
}
|
|
2121
2121
|
};
|
|
2122
2122
|
return new Proxy(s, {
|
|
@@ -2148,8 +2148,8 @@ function cs(s) {
|
|
|
2148
2148
|
`);
|
|
2149
2149
|
return e < 0 ? c === s.length - Vt.length : c === e - Vt.length;
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
return typeof s == "function" ? Po(s, c + 1, e) : s instanceof Promise ? s.then((t) =>
|
|
2151
|
+
function bt(s, c, e) {
|
|
2152
|
+
return typeof s == "function" ? Po(s, c + 1, e) : s instanceof Promise ? s.then((t) => bt(t, c + 1, e)).catch((t) => (e(t), Promise.reject(t))) : Array.isArray(s) ? s.map((t) => bt(t, c + 1, e)) : _a(s) && ya(s) ? To(s, c + 1, e) : s;
|
|
2153
2153
|
}
|
|
2154
2154
|
function Mo(s) {
|
|
2155
2155
|
return typeof s != "string" ? !1 : s.indexOf("g.alicdn.com/apsara-media-") > -1 || s.indexOf("g.alicdn.com/thor-server") > -1;
|
|
@@ -2211,7 +2211,7 @@ class us {
|
|
|
2211
2211
|
return "0.19.0";
|
|
2212
2212
|
}
|
|
2213
2213
|
wrap(c) {
|
|
2214
|
-
return this.options.disabled || typeof Proxy > "u" ? c :
|
|
2214
|
+
return this.options.disabled || typeof Proxy > "u" ? c : bt(c, 0, (e) => {
|
|
2215
2215
|
e instanceof Error && typeof e.stack == "string" && on(e.stack) && (e.stack = Lo(e.stack), this.armsLogger.error(e), e.stack = Bo(e.stack));
|
|
2216
2216
|
});
|
|
2217
2217
|
}
|
|
@@ -2268,7 +2268,7 @@ function jt(s, c, e) {
|
|
|
2268
2268
|
return No(t);
|
|
2269
2269
|
}
|
|
2270
2270
|
var Ri = /* @__PURE__ */ ((s) => (s.prod = "rs.rtn.aliyuncs.com", s.pre = "prs.rtn.aliyuncs.com", s))(Ri || {});
|
|
2271
|
-
const ds = "6.13.0
|
|
2271
|
+
const ds = "6.13.0", hn = "web";
|
|
2272
2272
|
class ft {
|
|
2273
2273
|
/**
|
|
2274
2274
|
* 将版本号转换为number
|
|
@@ -2343,7 +2343,7 @@ class ft {
|
|
|
2343
2343
|
});
|
|
2344
2344
|
}
|
|
2345
2345
|
}
|
|
2346
|
-
var
|
|
2346
|
+
var be = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2347
2347
|
function Ea(s) {
|
|
2348
2348
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
2349
2349
|
}
|
|
@@ -2413,19 +2413,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2413
2413
|
}({ 1: [function(e, t, i) {
|
|
2414
2414
|
var r = e("./utils"), n = e("./support"), a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
2415
2415
|
i.encode = function(o) {
|
|
2416
|
-
for (var u, h, m, f, l, p, d, g = [],
|
|
2417
|
-
x =
|
|
2416
|
+
for (var u, h, m, f, l, p, d, g = [], b = 0, v = o.length, x = v, y = r.getTypeOf(o) !== "string"; b < o.length; )
|
|
2417
|
+
x = v - b, m = y ? (u = o[b++], h = b < v ? o[b++] : 0, b < v ? o[b++] : 0) : (u = o.charCodeAt(b++), h = b < v ? o.charCodeAt(b++) : 0, b < v ? o.charCodeAt(b++) : 0), f = u >> 2, l = (3 & u) << 4 | h >> 4, p = 1 < x ? (15 & h) << 2 | m >> 6 : 64, d = 2 < x ? 63 & m : 64, g.push(a.charAt(f) + a.charAt(l) + a.charAt(p) + a.charAt(d));
|
|
2418
2418
|
return g.join("");
|
|
2419
2419
|
}, i.decode = function(o) {
|
|
2420
|
-
var u, h, m, f, l, p, d = 0, g = 0,
|
|
2421
|
-
if (o.substr(0,
|
|
2420
|
+
var u, h, m, f, l, p, d = 0, g = 0, b = "data:";
|
|
2421
|
+
if (o.substr(0, b.length) === b)
|
|
2422
2422
|
throw new Error("Invalid base64 input, it looks like a data url.");
|
|
2423
|
-
var
|
|
2423
|
+
var v, x = 3 * (o = o.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
2424
2424
|
if (o.charAt(o.length - 1) === a.charAt(64) && x--, o.charAt(o.length - 2) === a.charAt(64) && x--, x % 1 != 0)
|
|
2425
2425
|
throw new Error("Invalid base64 input, bad content length.");
|
|
2426
|
-
for (
|
|
2427
|
-
u = a.indexOf(o.charAt(d++)) << 2 | (f = a.indexOf(o.charAt(d++))) >> 4, h = (15 & f) << 4 | (l = a.indexOf(o.charAt(d++))) >> 2, m = (3 & l) << 6 | (p = a.indexOf(o.charAt(d++))),
|
|
2428
|
-
return
|
|
2426
|
+
for (v = n.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); d < o.length; )
|
|
2427
|
+
u = a.indexOf(o.charAt(d++)) << 2 | (f = a.indexOf(o.charAt(d++))) >> 4, h = (15 & f) << 4 | (l = a.indexOf(o.charAt(d++))) >> 2, m = (3 & l) << 6 | (p = a.indexOf(o.charAt(d++))), v[g++] = u, l !== 64 && (v[g++] = h), p !== 64 && (v[g++] = m);
|
|
2428
|
+
return v;
|
|
2429
2429
|
};
|
|
2430
2430
|
}, { "./support": 30, "./utils": 32 }], 2: [function(e, t, i) {
|
|
2431
2431
|
var r = e("./external"), n = e("./stream/DataWorker"), a = e("./stream/Crc32Probe"), o = e("./stream/DataLengthProbe");
|
|
@@ -2509,13 +2509,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2509
2509
|
g += String.fromCharCode(255 & l), l >>>= 8;
|
|
2510
2510
|
return g;
|
|
2511
2511
|
}
|
|
2512
|
-
function n(l, p, d, g,
|
|
2513
|
-
var x, y, A = l.file, I = l.compression, w =
|
|
2512
|
+
function n(l, p, d, g, b, v) {
|
|
2513
|
+
var x, y, A = l.file, I = l.compression, w = v !== u.utf8encode, R = a.transformTo("string", v(A.name)), L = a.transformTo("string", u.utf8encode(A.name)), D = A.comment, N = a.transformTo("string", v(D)), C = a.transformTo("string", u.utf8encode(D)), M = L.length !== A.name.length, E = C.length !== D.length, U = "", te = "", q = "", oe = A.dir, $ = A.date, se = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
2514
2514
|
p && !d || (se.crc32 = l.crc32, se.compressedSize = l.compressedSize, se.uncompressedSize = l.uncompressedSize);
|
|
2515
2515
|
var T = 0;
|
|
2516
2516
|
p && (T |= 8), w || !M && !E || (T |= 2048);
|
|
2517
2517
|
var P = 0, z = 0;
|
|
2518
|
-
oe && (P |= 16),
|
|
2518
|
+
oe && (P |= 16), b === "UNIX" ? (z = 798, P |= function(K, Q) {
|
|
2519
2519
|
var pe = K;
|
|
2520
2520
|
return K || (pe = Q ? 16893 : 33204), (65535 & pe) << 16;
|
|
2521
2521
|
}(A.unixPermissions, oe)) : (z = 20, P |= function(K) {
|
|
@@ -2554,9 +2554,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2554
2554
|
}, f.prototype.flush = function() {
|
|
2555
2555
|
for (var l = this.bytesWritten, p = 0; p < this.dirRecords.length; p++)
|
|
2556
2556
|
this.push({ data: this.dirRecords[p], meta: { percent: 100 } });
|
|
2557
|
-
var d = this.bytesWritten - l, g = function(
|
|
2557
|
+
var d = this.bytesWritten - l, g = function(b, v, x, y, A) {
|
|
2558
2558
|
var I = a.transformTo("string", A(y));
|
|
2559
|
-
return m.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(
|
|
2559
|
+
return m.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(b, 2) + r(b, 2) + r(v, 4) + r(x, 4) + r(I.length, 2) + I;
|
|
2560
2560
|
}(this.dirRecords.length, d, l, this.zipComment, this.encodeFileName);
|
|
2561
2561
|
this.push({ data: g, meta: { percent: 100 } });
|
|
2562
2562
|
}, f.prototype.prepareNextSource = function() {
|
|
@@ -2595,13 +2595,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2595
2595
|
try {
|
|
2596
2596
|
a.forEach(function(f, l) {
|
|
2597
2597
|
m++;
|
|
2598
|
-
var p = function(
|
|
2599
|
-
var y =
|
|
2598
|
+
var p = function(v, x) {
|
|
2599
|
+
var y = v || x, A = r[y];
|
|
2600
2600
|
if (!A)
|
|
2601
2601
|
throw new Error(y + " is not a valid compression method !");
|
|
2602
2602
|
return A;
|
|
2603
|
-
}(l.options.compression, o.compression), d = l.options.compressionOptions || o.compressionOptions || {}, g = l.dir,
|
|
2604
|
-
l._compressWorker(p, d).withStreamInfo("file", { name: f, dir: g, date:
|
|
2603
|
+
}(l.options.compression, o.compression), d = l.options.compressionOptions || o.compressionOptions || {}, g = l.dir, b = l.date;
|
|
2604
|
+
l._compressWorker(p, d).withStreamInfo("file", { name: f, dir: g, date: b, comment: l.comment || "", unixPermissions: l.unixPermissions, dosPermissions: l.dosPermissions }).pipe(h);
|
|
2605
2605
|
}), h.entriesCount = m;
|
|
2606
2606
|
} catch (f) {
|
|
2607
2607
|
h.error(f);
|
|
@@ -2642,14 +2642,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2642
2642
|
var g = new o(l);
|
|
2643
2643
|
return g.load(d), g;
|
|
2644
2644
|
}).then(function(d) {
|
|
2645
|
-
var g = [n.Promise.resolve(d)],
|
|
2645
|
+
var g = [n.Promise.resolve(d)], b = d.files;
|
|
2646
2646
|
if (l.checkCRC32)
|
|
2647
|
-
for (var
|
|
2648
|
-
g.push(m(v
|
|
2647
|
+
for (var v = 0; v < b.length; v++)
|
|
2648
|
+
g.push(m(b[v]));
|
|
2649
2649
|
return n.Promise.all(g);
|
|
2650
2650
|
}).then(function(d) {
|
|
2651
|
-
for (var g = d.shift(),
|
|
2652
|
-
var x = v
|
|
2651
|
+
for (var g = d.shift(), b = g.files, v = 0; v < b.length; v++) {
|
|
2652
|
+
var x = b[v], y = x.fileNameStr, A = r.resolve(x.fileNameStr);
|
|
2653
2653
|
p.file(A, x.decompressed, { binary: !0, optimizedBinaryString: !0, date: x.date, dir: x.dir, comment: x.fileCommentStr.length ? x.fileCommentStr : null, unixPermissions: x.unixPermissions, dosPermissions: x.dosPermissions, createFolders: l.createFolders }), x.dir || (p.file(A).unsafeOriginalName = y);
|
|
2654
2654
|
}
|
|
2655
2655
|
return g.zipComment.length && (p.comment = g.zipComment), p;
|
|
@@ -2710,7 +2710,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2710
2710
|
}, {}], 15: [function(e, t, i) {
|
|
2711
2711
|
function r(A, I, w) {
|
|
2712
2712
|
var R, L = a.getTypeOf(I), D = a.extend(w || {}, h);
|
|
2713
|
-
D.date = D.date || /* @__PURE__ */ new Date(), D.compression !== null && (D.compression = D.compression.toUpperCase()), typeof D.unixPermissions == "string" && (D.unixPermissions = parseInt(D.unixPermissions, 8)), D.unixPermissions && 16384 & D.unixPermissions && (D.dir = !0), D.dosPermissions && 16 & D.dosPermissions && (D.dir = !0), D.dir && (A =
|
|
2713
|
+
D.date = D.date || /* @__PURE__ */ new Date(), D.compression !== null && (D.compression = D.compression.toUpperCase()), typeof D.unixPermissions == "string" && (D.unixPermissions = parseInt(D.unixPermissions, 8)), D.unixPermissions && 16384 & D.unixPermissions && (D.dir = !0), D.dosPermissions && 16 & D.dosPermissions && (D.dir = !0), D.dir && (A = b(A)), D.createFolders && (R = g(A)) && v.call(this, R, !0);
|
|
2714
2714
|
var N = L === "string" && D.binary === !1 && D.base64 === !1;
|
|
2715
2715
|
w && w.binary !== void 0 || (D.binary = !N), (I instanceof m && I.uncompressedSize === 0 || D.dir || !I || I.length === 0) && (D.base64 = !1, D.binary = !0, I = "", D.compression = "STORE", L = "string");
|
|
2716
2716
|
var C = null;
|
|
@@ -2722,10 +2722,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2722
2722
|
A.slice(-1) === "/" && (A = A.substring(0, A.length - 1));
|
|
2723
2723
|
var I = A.lastIndexOf("/");
|
|
2724
2724
|
return 0 < I ? A.substring(0, I) : "";
|
|
2725
|
-
},
|
|
2725
|
+
}, b = function(A) {
|
|
2726
2726
|
return A.slice(-1) !== "/" && (A += "/"), A;
|
|
2727
|
-
},
|
|
2728
|
-
return I = I !== void 0 ? I : h.createFolders, A =
|
|
2727
|
+
}, v = function(A, I) {
|
|
2728
|
+
return I = I !== void 0 ? I : h.createFolders, A = b(A), this.files[A] || r.call(this, A, null, { dir: !0, createFolders: I }), this.files[A];
|
|
2729
2729
|
};
|
|
2730
2730
|
function x(A) {
|
|
2731
2731
|
return Object.prototype.toString.call(A) === "[object RegExp]";
|
|
@@ -2759,7 +2759,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2759
2759
|
return this.filter(function(L, D) {
|
|
2760
2760
|
return D.dir && A.test(L);
|
|
2761
2761
|
});
|
|
2762
|
-
var I = this.root + A, w =
|
|
2762
|
+
var I = this.root + A, w = v.call(this, I), R = this.clone();
|
|
2763
2763
|
return R.root = w.name, R;
|
|
2764
2764
|
}, remove: function(A) {
|
|
2765
2765
|
A = this.root + A;
|
|
@@ -3026,12 +3026,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3026
3026
|
} catch (p) {
|
|
3027
3027
|
}
|
|
3028
3028
|
function f(p, d) {
|
|
3029
|
-
return new h.Promise(function(g,
|
|
3030
|
-
var
|
|
3029
|
+
return new h.Promise(function(g, b) {
|
|
3030
|
+
var v = [], x = p._internalType, y = p._outputType, A = p._mimeType;
|
|
3031
3031
|
p.on("data", function(I, w) {
|
|
3032
|
-
|
|
3032
|
+
v.push(I), d && d(w);
|
|
3033
3033
|
}).on("error", function(I) {
|
|
3034
|
-
|
|
3034
|
+
v = [], b(I);
|
|
3035
3035
|
}).on("end", function() {
|
|
3036
3036
|
try {
|
|
3037
3037
|
var I = function(w, R, L) {
|
|
@@ -3061,37 +3061,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3061
3061
|
default:
|
|
3062
3062
|
throw new Error("concat : unsupported type '" + w + "'");
|
|
3063
3063
|
}
|
|
3064
|
-
}(x,
|
|
3064
|
+
}(x, v), A);
|
|
3065
3065
|
g(I);
|
|
3066
3066
|
} catch (w) {
|
|
3067
|
-
|
|
3067
|
+
b(w);
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3069
|
+
v = [];
|
|
3070
3070
|
}).resume();
|
|
3071
3071
|
});
|
|
3072
3072
|
}
|
|
3073
3073
|
function l(p, d, g) {
|
|
3074
|
-
var
|
|
3074
|
+
var b = d;
|
|
3075
3075
|
switch (d) {
|
|
3076
3076
|
case "blob":
|
|
3077
3077
|
case "arraybuffer":
|
|
3078
|
-
|
|
3078
|
+
b = "uint8array";
|
|
3079
3079
|
break;
|
|
3080
3080
|
case "base64":
|
|
3081
|
-
|
|
3081
|
+
b = "string";
|
|
3082
3082
|
}
|
|
3083
3083
|
try {
|
|
3084
|
-
this._internalType =
|
|
3085
|
-
} catch (
|
|
3086
|
-
this._worker = new a("error"), this._worker.error(
|
|
3084
|
+
this._internalType = b, this._outputType = d, this._mimeType = g, r.checkSupport(b), this._worker = p.pipe(new n(b)), p.lock();
|
|
3085
|
+
} catch (v) {
|
|
3086
|
+
this._worker = new a("error"), this._worker.error(v);
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
3089
|
l.prototype = { accumulate: function(p) {
|
|
3090
3090
|
return f(this, p);
|
|
3091
3091
|
}, on: function(p, d) {
|
|
3092
3092
|
var g = this;
|
|
3093
|
-
return p === "data" ? this._worker.on(p, function(
|
|
3094
|
-
d.call(g,
|
|
3093
|
+
return p === "data" ? this._worker.on(p, function(b) {
|
|
3094
|
+
d.call(g, b.data, b.meta);
|
|
3095
3095
|
}) : this._worker.on(p, function() {
|
|
3096
3096
|
r.delay(d, arguments, g);
|
|
3097
3097
|
}), this;
|
|
@@ -3137,25 +3137,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3137
3137
|
}
|
|
3138
3138
|
i.utf8encode = function(l) {
|
|
3139
3139
|
return n.nodebuffer ? a.newBufferFrom(l, "utf-8") : function(p) {
|
|
3140
|
-
var d, g,
|
|
3141
|
-
for (
|
|
3142
|
-
(64512 & (g = p.charCodeAt(
|
|
3143
|
-
for (d = n.uint8array ? new Uint8Array(A) : new Array(A),
|
|
3144
|
-
(64512 & (g = p.charCodeAt(
|
|
3140
|
+
var d, g, b, v, x, y = p.length, A = 0;
|
|
3141
|
+
for (v = 0; v < y; v++)
|
|
3142
|
+
(64512 & (g = p.charCodeAt(v))) == 55296 && v + 1 < y && (64512 & (b = p.charCodeAt(v + 1))) == 56320 && (g = 65536 + (g - 55296 << 10) + (b - 56320), v++), A += g < 128 ? 1 : g < 2048 ? 2 : g < 65536 ? 3 : 4;
|
|
3143
|
+
for (d = n.uint8array ? new Uint8Array(A) : new Array(A), v = x = 0; x < A; v++)
|
|
3144
|
+
(64512 & (g = p.charCodeAt(v))) == 55296 && v + 1 < y && (64512 & (b = p.charCodeAt(v + 1))) == 56320 && (g = 65536 + (g - 55296 << 10) + (b - 56320), v++), g < 128 ? d[x++] = g : (g < 2048 ? d[x++] = 192 | g >>> 6 : (g < 65536 ? d[x++] = 224 | g >>> 12 : (d[x++] = 240 | g >>> 18, d[x++] = 128 | g >>> 12 & 63), d[x++] = 128 | g >>> 6 & 63), d[x++] = 128 | 63 & g);
|
|
3145
3145
|
return d;
|
|
3146
3146
|
}(l);
|
|
3147
3147
|
}, i.utf8decode = function(l) {
|
|
3148
3148
|
return n.nodebuffer ? r.transformTo("nodebuffer", l).toString("utf-8") : function(p) {
|
|
3149
|
-
var d, g,
|
|
3149
|
+
var d, g, b, v, x = p.length, y = new Array(2 * x);
|
|
3150
3150
|
for (d = g = 0; d < x; )
|
|
3151
|
-
if ((
|
|
3152
|
-
y[g++] =
|
|
3153
|
-
else if (4 < (
|
|
3154
|
-
y[g++] = 65533, d +=
|
|
3151
|
+
if ((b = p[d++]) < 128)
|
|
3152
|
+
y[g++] = b;
|
|
3153
|
+
else if (4 < (v = u[b]))
|
|
3154
|
+
y[g++] = 65533, d += v - 1;
|
|
3155
3155
|
else {
|
|
3156
|
-
for (
|
|
3157
|
-
|
|
3158
|
-
1 <
|
|
3156
|
+
for (b &= v === 2 ? 31 : v === 3 ? 15 : 7; 1 < v && d < x; )
|
|
3157
|
+
b = b << 6 | 63 & p[d++], v--;
|
|
3158
|
+
1 < v ? y[g++] = 65533 : b < 65536 ? y[g++] = b : (b -= 65536, y[g++] = 55296 | b >> 10 & 1023, y[g++] = 56320 | 1023 & b);
|
|
3159
3159
|
}
|
|
3160
3160
|
return y.length !== g && (y.subarray ? y = y.subarray(0, g) : y.length = g), r.applyFromCharCode(y);
|
|
3161
3161
|
}(l = r.transformTo(n.uint8array ? "uint8array" : "array", l));
|
|
@@ -3169,13 +3169,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3169
3169
|
p = this.leftOver.concat(p);
|
|
3170
3170
|
this.leftOver = null;
|
|
3171
3171
|
}
|
|
3172
|
-
var g = function(
|
|
3172
|
+
var g = function(v, x) {
|
|
3173
3173
|
var y;
|
|
3174
|
-
for ((x = x ||
|
|
3174
|
+
for ((x = x || v.length) > v.length && (x = v.length), y = x - 1; 0 <= y && (192 & v[y]) == 128; )
|
|
3175
3175
|
y--;
|
|
3176
|
-
return y < 0 || y === 0 ? x : y + u[
|
|
3177
|
-
}(p),
|
|
3178
|
-
g !== p.length && (n.uint8array ? (
|
|
3176
|
+
return y < 0 || y === 0 ? x : y + u[v[y]] > x ? y : x;
|
|
3177
|
+
}(p), b = p;
|
|
3178
|
+
g !== p.length && (n.uint8array ? (b = p.subarray(0, g), this.leftOver = p.subarray(g, p.length)) : (b = p.slice(0, g), this.leftOver = p.slice(g, p.length))), this.push({ data: i.utf8decode(b), meta: l.meta });
|
|
3179
3179
|
}, m.prototype.flush = function() {
|
|
3180
3180
|
this.leftOver && this.leftOver.length && (this.push({ data: i.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
|
|
3181
3181
|
}, i.Utf8DecodeWorker = m, r.inherits(f, o), f.prototype.processChunk = function(l) {
|
|
@@ -3187,33 +3187,33 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3187
3187
|
return d;
|
|
3188
3188
|
}
|
|
3189
3189
|
function h(d, g) {
|
|
3190
|
-
for (var
|
|
3191
|
-
g[
|
|
3190
|
+
for (var b = 0; b < d.length; ++b)
|
|
3191
|
+
g[b] = 255 & d.charCodeAt(b);
|
|
3192
3192
|
return g;
|
|
3193
3193
|
}
|
|
3194
3194
|
e("setimmediate"), i.newBlob = function(d, g) {
|
|
3195
3195
|
i.checkSupport("blob");
|
|
3196
3196
|
try {
|
|
3197
3197
|
return new Blob([d], { type: g });
|
|
3198
|
-
} catch (
|
|
3198
|
+
} catch (v) {
|
|
3199
3199
|
try {
|
|
3200
|
-
var
|
|
3201
|
-
return
|
|
3200
|
+
var b = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
|
|
3201
|
+
return b.append(d), b.getBlob(g);
|
|
3202
3202
|
} catch (x) {
|
|
3203
3203
|
throw new Error("Bug : can't construct the Blob.");
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
};
|
|
3207
|
-
var m = { stringifyByChunk: function(d, g,
|
|
3208
|
-
var
|
|
3209
|
-
if (y <=
|
|
3207
|
+
var m = { stringifyByChunk: function(d, g, b) {
|
|
3208
|
+
var v = [], x = 0, y = d.length;
|
|
3209
|
+
if (y <= b)
|
|
3210
3210
|
return String.fromCharCode.apply(null, d);
|
|
3211
3211
|
for (; x < y; )
|
|
3212
|
-
g === "array" || g === "nodebuffer" ?
|
|
3213
|
-
return
|
|
3212
|
+
g === "array" || g === "nodebuffer" ? v.push(String.fromCharCode.apply(null, d.slice(x, Math.min(x + b, y)))) : v.push(String.fromCharCode.apply(null, d.subarray(x, Math.min(x + b, y)))), x += b;
|
|
3213
|
+
return v.join("");
|
|
3214
3214
|
}, stringifyByChar: function(d) {
|
|
3215
|
-
for (var g = "",
|
|
3216
|
-
g += String.fromCharCode(d[
|
|
3215
|
+
for (var g = "", b = 0; b < d.length; b++)
|
|
3216
|
+
g += String.fromCharCode(d[b]);
|
|
3217
3217
|
return g;
|
|
3218
3218
|
}, applyCanBeUsed: { uint8array: function() {
|
|
3219
3219
|
try {
|
|
@@ -3229,19 +3229,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3229
3229
|
}
|
|
3230
3230
|
}() } };
|
|
3231
3231
|
function f(d) {
|
|
3232
|
-
var g = 65536,
|
|
3233
|
-
if (
|
|
3232
|
+
var g = 65536, b = i.getTypeOf(d), v = !0;
|
|
3233
|
+
if (b === "uint8array" ? v = m.applyCanBeUsed.uint8array : b === "nodebuffer" && (v = m.applyCanBeUsed.nodebuffer), v)
|
|
3234
3234
|
for (; 1 < g; )
|
|
3235
3235
|
try {
|
|
3236
|
-
return m.stringifyByChunk(d,
|
|
3236
|
+
return m.stringifyByChunk(d, b, g);
|
|
3237
3237
|
} catch (x) {
|
|
3238
3238
|
g = Math.floor(g / 2);
|
|
3239
3239
|
}
|
|
3240
3240
|
return m.stringifyByChar(d);
|
|
3241
3241
|
}
|
|
3242
3242
|
function l(d, g) {
|
|
3243
|
-
for (var
|
|
3244
|
-
g[
|
|
3243
|
+
for (var b = 0; b < d.length; b++)
|
|
3244
|
+
g[b] = d[b];
|
|
3245
3245
|
return g;
|
|
3246
3246
|
}
|
|
3247
3247
|
i.applyFromCharCode = f;
|
|
@@ -3284,39 +3284,39 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3284
3284
|
if (g = g || "", !d)
|
|
3285
3285
|
return g;
|
|
3286
3286
|
i.checkSupport(d);
|
|
3287
|
-
var
|
|
3288
|
-
return p[
|
|
3287
|
+
var b = i.getTypeOf(g);
|
|
3288
|
+
return p[b][d](g);
|
|
3289
3289
|
}, i.resolve = function(d) {
|
|
3290
|
-
for (var g = d.split("/"),
|
|
3291
|
-
var x = g[
|
|
3292
|
-
x === "." || x === "" &&
|
|
3290
|
+
for (var g = d.split("/"), b = [], v = 0; v < g.length; v++) {
|
|
3291
|
+
var x = g[v];
|
|
3292
|
+
x === "." || x === "" && v !== 0 && v !== g.length - 1 || (x === ".." ? b.pop() : b.push(x));
|
|
3293
3293
|
}
|
|
3294
|
-
return
|
|
3294
|
+
return b.join("/");
|
|
3295
3295
|
}, i.getTypeOf = function(d) {
|
|
3296
3296
|
return typeof d == "string" ? "string" : Object.prototype.toString.call(d) === "[object Array]" ? "array" : r.nodebuffer && a.isBuffer(d) ? "nodebuffer" : r.uint8array && d instanceof Uint8Array ? "uint8array" : r.arraybuffer && d instanceof ArrayBuffer ? "arraybuffer" : void 0;
|
|
3297
3297
|
}, i.checkSupport = function(d) {
|
|
3298
3298
|
if (!r[d.toLowerCase()])
|
|
3299
3299
|
throw new Error(d + " is not supported by this platform");
|
|
3300
3300
|
}, i.MAX_VALUE_16BITS = 65535, i.MAX_VALUE_32BITS = -1, i.pretty = function(d) {
|
|
3301
|
-
var g,
|
|
3302
|
-
for (
|
|
3303
|
-
|
|
3304
|
-
return
|
|
3305
|
-
}, i.delay = function(d, g,
|
|
3301
|
+
var g, b, v = "";
|
|
3302
|
+
for (b = 0; b < (d || "").length; b++)
|
|
3303
|
+
v += "\\x" + ((g = d.charCodeAt(b)) < 16 ? "0" : "") + g.toString(16).toUpperCase();
|
|
3304
|
+
return v;
|
|
3305
|
+
}, i.delay = function(d, g, b) {
|
|
3306
3306
|
setImmediate(function() {
|
|
3307
|
-
d.apply(
|
|
3307
|
+
d.apply(b || null, g || []);
|
|
3308
3308
|
});
|
|
3309
3309
|
}, i.inherits = function(d, g) {
|
|
3310
|
-
function
|
|
3310
|
+
function b() {
|
|
3311
3311
|
}
|
|
3312
|
-
|
|
3312
|
+
b.prototype = g.prototype, d.prototype = new b();
|
|
3313
3313
|
}, i.extend = function() {
|
|
3314
|
-
var d, g,
|
|
3314
|
+
var d, g, b = {};
|
|
3315
3315
|
for (d = 0; d < arguments.length; d++)
|
|
3316
3316
|
for (g in arguments[d])
|
|
3317
|
-
Object.prototype.hasOwnProperty.call(arguments[d], g) &&
|
|
3318
|
-
return
|
|
3319
|
-
}, i.prepareContent = function(d, g,
|
|
3317
|
+
Object.prototype.hasOwnProperty.call(arguments[d], g) && b[g] === void 0 && (b[g] = arguments[d][g]);
|
|
3318
|
+
return b;
|
|
3319
|
+
}, i.prepareContent = function(d, g, b, v, x) {
|
|
3320
3320
|
return o.Promise.resolve(g).then(function(y) {
|
|
3321
3321
|
return r.blob && (y instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(y)) !== -1) && typeof FileReader != "undefined" ? new o.Promise(function(A, I) {
|
|
3322
3322
|
var w = new FileReader();
|
|
@@ -3328,7 +3328,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3328
3328
|
}) : y;
|
|
3329
3329
|
}).then(function(y) {
|
|
3330
3330
|
var A = i.getTypeOf(y);
|
|
3331
|
-
return A ? (A === "arraybuffer" ? y = i.transformTo("uint8array", y) : A === "string" && (x ? y = n.decode(y) :
|
|
3331
|
+
return A ? (A === "arraybuffer" ? y = i.transformTo("uint8array", y) : A === "string" && (x ? y = n.decode(y) : b && v !== !0 && (y = function(I) {
|
|
3332
3332
|
return h(I, r.uint8array ? new Uint8Array(I.length) : new Array(I.length));
|
|
3333
3333
|
}(y))), y) : o.Promise.reject(new Error("Can't read the data of '" + d + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
|
|
3334
3334
|
});
|
|
@@ -3409,9 +3409,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3409
3409
|
if (l.skip(22), this.fileNameLength = l.readInt(2), d = l.readInt(2), this.fileName = l.readData(this.fileNameLength), l.skip(d), this.compressedSize === -1 || this.uncompressedSize === -1)
|
|
3410
3410
|
throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
|
|
3411
3411
|
if ((p = function(g) {
|
|
3412
|
-
for (var
|
|
3413
|
-
if (Object.prototype.hasOwnProperty.call(h,
|
|
3414
|
-
return h[
|
|
3412
|
+
for (var b in h)
|
|
3413
|
+
if (Object.prototype.hasOwnProperty.call(h, b) && h[b].magic === g)
|
|
3414
|
+
return h[b];
|
|
3415
3415
|
return null;
|
|
3416
3416
|
}(this.compressionMethod)) === null)
|
|
3417
3417
|
throw new Error("Corrupted zip : compression " + n.pretty(this.compressionMethod) + " unknown (inner file : " + n.transformTo("string", this.fileName) + ")");
|
|
@@ -3432,10 +3432,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3432
3432
|
this.uncompressedSize === n.MAX_VALUE_32BITS && (this.uncompressedSize = l.readInt(8)), this.compressedSize === n.MAX_VALUE_32BITS && (this.compressedSize = l.readInt(8)), this.localHeaderOffset === n.MAX_VALUE_32BITS && (this.localHeaderOffset = l.readInt(8)), this.diskNumberStart === n.MAX_VALUE_32BITS && (this.diskNumberStart = l.readInt(4));
|
|
3433
3433
|
}
|
|
3434
3434
|
}, readExtraFields: function(l) {
|
|
3435
|
-
var p, d, g,
|
|
3436
|
-
for (this.extraFields || (this.extraFields = {}); l.index + 4 <
|
|
3435
|
+
var p, d, g, b = l.index + this.extraFieldsLength;
|
|
3436
|
+
for (this.extraFields || (this.extraFields = {}); l.index + 4 < b; )
|
|
3437
3437
|
p = l.readInt(2), d = l.readInt(2), g = l.readData(d), this.extraFields[p] = { id: p, length: d, value: g };
|
|
3438
|
-
l.setIndex(
|
|
3438
|
+
l.setIndex(b);
|
|
3439
3439
|
}, handleUTF8: function() {
|
|
3440
3440
|
var l = m.uint8array ? "uint8array" : "array";
|
|
3441
3441
|
if (this.useUTF8())
|
|
@@ -3452,8 +3452,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3452
3452
|
if (g !== null)
|
|
3453
3453
|
this.fileCommentStr = g;
|
|
3454
3454
|
else {
|
|
3455
|
-
var
|
|
3456
|
-
this.fileCommentStr = this.loadOptions.decodeFileName(
|
|
3455
|
+
var b = n.transformTo(l, this.fileComment);
|
|
3456
|
+
this.fileCommentStr = this.loadOptions.decodeFileName(b);
|
|
3457
3457
|
}
|
|
3458
3458
|
}
|
|
3459
3459
|
}, findExtraFieldUnicodePath: function() {
|
|
@@ -3481,10 +3481,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3481
3481
|
try {
|
|
3482
3482
|
if (!p)
|
|
3483
3483
|
throw new Error("No output type specified.");
|
|
3484
|
-
var
|
|
3484
|
+
var b = (g = p.toLowerCase()) === "string" || g === "text";
|
|
3485
3485
|
g !== "binarystring" && g !== "text" || (g = "string"), d = this._decompressWorker();
|
|
3486
|
-
var
|
|
3487
|
-
|
|
3486
|
+
var v = !this._dataBinary;
|
|
3487
|
+
v && !b && (d = d.pipe(new o.Utf8EncodeWorker())), !v && b && (d = d.pipe(new o.Utf8DecodeWorker()));
|
|
3488
3488
|
} catch (x) {
|
|
3489
3489
|
(d = new h("error")).error(x);
|
|
3490
3490
|
}
|
|
@@ -3533,147 +3533,147 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3533
3533
|
function p() {
|
|
3534
3534
|
var d, g;
|
|
3535
3535
|
a = !0;
|
|
3536
|
-
for (var
|
|
3537
|
-
for (g = l, l = [], d = -1; ++d <
|
|
3536
|
+
for (var b = l.length; b; ) {
|
|
3537
|
+
for (g = l, l = [], d = -1; ++d < b; )
|
|
3538
3538
|
g[d]();
|
|
3539
|
-
|
|
3539
|
+
b = l.length;
|
|
3540
3540
|
}
|
|
3541
3541
|
a = !1;
|
|
3542
3542
|
}
|
|
3543
3543
|
t.exports = function(d) {
|
|
3544
3544
|
l.push(d) !== 1 || a || n();
|
|
3545
3545
|
};
|
|
3546
|
-
}).call(this, typeof
|
|
3546
|
+
}).call(this, typeof be != "undefined" ? be : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
|
|
3547
3547
|
}, {}], 37: [function(e, t, i) {
|
|
3548
3548
|
var r = e("immediate");
|
|
3549
3549
|
function n() {
|
|
3550
3550
|
}
|
|
3551
3551
|
var a = {}, o = ["REJECTED"], u = ["FULFILLED"], h = ["PENDING"];
|
|
3552
|
-
function m(
|
|
3553
|
-
if (typeof
|
|
3552
|
+
function m(b) {
|
|
3553
|
+
if (typeof b != "function")
|
|
3554
3554
|
throw new TypeError("resolver must be a function");
|
|
3555
|
-
this.state = h, this.queue = [], this.outcome = void 0,
|
|
3555
|
+
this.state = h, this.queue = [], this.outcome = void 0, b !== n && d(this, b);
|
|
3556
3556
|
}
|
|
3557
|
-
function f(
|
|
3558
|
-
this.promise =
|
|
3557
|
+
function f(b, v, x) {
|
|
3558
|
+
this.promise = b, typeof v == "function" && (this.onFulfilled = v, this.callFulfilled = this.otherCallFulfilled), typeof x == "function" && (this.onRejected = x, this.callRejected = this.otherCallRejected);
|
|
3559
3559
|
}
|
|
3560
|
-
function l(
|
|
3560
|
+
function l(b, v, x) {
|
|
3561
3561
|
r(function() {
|
|
3562
3562
|
var y;
|
|
3563
3563
|
try {
|
|
3564
|
-
y =
|
|
3564
|
+
y = v(x);
|
|
3565
3565
|
} catch (A) {
|
|
3566
|
-
return a.reject(
|
|
3566
|
+
return a.reject(b, A);
|
|
3567
3567
|
}
|
|
3568
|
-
y ===
|
|
3568
|
+
y === b ? a.reject(b, new TypeError("Cannot resolve promise with itself")) : a.resolve(b, y);
|
|
3569
3569
|
});
|
|
3570
3570
|
}
|
|
3571
|
-
function p(
|
|
3572
|
-
var
|
|
3573
|
-
if (
|
|
3571
|
+
function p(b) {
|
|
3572
|
+
var v = b && b.then;
|
|
3573
|
+
if (b && (typeof b == "object" || typeof b == "function") && typeof v == "function")
|
|
3574
3574
|
return function() {
|
|
3575
|
-
|
|
3575
|
+
v.apply(b, arguments);
|
|
3576
3576
|
};
|
|
3577
3577
|
}
|
|
3578
|
-
function d(
|
|
3578
|
+
function d(b, v) {
|
|
3579
3579
|
var x = !1;
|
|
3580
3580
|
function y(w) {
|
|
3581
|
-
x || (x = !0, a.reject(
|
|
3581
|
+
x || (x = !0, a.reject(b, w));
|
|
3582
3582
|
}
|
|
3583
3583
|
function A(w) {
|
|
3584
|
-
x || (x = !0, a.resolve(
|
|
3584
|
+
x || (x = !0, a.resolve(b, w));
|
|
3585
3585
|
}
|
|
3586
3586
|
var I = g(function() {
|
|
3587
|
-
|
|
3587
|
+
v(A, y);
|
|
3588
3588
|
});
|
|
3589
3589
|
I.status === "error" && y(I.value);
|
|
3590
3590
|
}
|
|
3591
|
-
function g(
|
|
3591
|
+
function g(b, v) {
|
|
3592
3592
|
var x = {};
|
|
3593
3593
|
try {
|
|
3594
|
-
x.value = v
|
|
3594
|
+
x.value = b(v), x.status = "success";
|
|
3595
3595
|
} catch (y) {
|
|
3596
3596
|
x.status = "error", x.value = y;
|
|
3597
3597
|
}
|
|
3598
3598
|
return x;
|
|
3599
3599
|
}
|
|
3600
|
-
(t.exports = m).prototype.finally = function(
|
|
3601
|
-
if (typeof
|
|
3600
|
+
(t.exports = m).prototype.finally = function(b) {
|
|
3601
|
+
if (typeof b != "function")
|
|
3602
3602
|
return this;
|
|
3603
|
-
var
|
|
3603
|
+
var v = this.constructor;
|
|
3604
3604
|
return this.then(function(x) {
|
|
3605
|
-
return
|
|
3605
|
+
return v.resolve(b()).then(function() {
|
|
3606
3606
|
return x;
|
|
3607
3607
|
});
|
|
3608
3608
|
}, function(x) {
|
|
3609
|
-
return
|
|
3609
|
+
return v.resolve(b()).then(function() {
|
|
3610
3610
|
throw x;
|
|
3611
3611
|
});
|
|
3612
3612
|
});
|
|
3613
|
-
}, m.prototype.catch = function(
|
|
3614
|
-
return this.then(null,
|
|
3615
|
-
}, m.prototype.then = function(
|
|
3616
|
-
if (typeof
|
|
3613
|
+
}, m.prototype.catch = function(b) {
|
|
3614
|
+
return this.then(null, b);
|
|
3615
|
+
}, m.prototype.then = function(b, v) {
|
|
3616
|
+
if (typeof b != "function" && this.state === u || typeof v != "function" && this.state === o)
|
|
3617
3617
|
return this;
|
|
3618
3618
|
var x = new this.constructor(n);
|
|
3619
|
-
return this.state !== h ? l(x, this.state === u ?
|
|
3620
|
-
}, f.prototype.callFulfilled = function(
|
|
3621
|
-
a.resolve(this.promise,
|
|
3622
|
-
}, f.prototype.otherCallFulfilled = function(
|
|
3623
|
-
l(this.promise, this.onFulfilled,
|
|
3624
|
-
}, f.prototype.callRejected = function(
|
|
3625
|
-
a.reject(this.promise,
|
|
3626
|
-
}, f.prototype.otherCallRejected = function(
|
|
3627
|
-
l(this.promise, this.onRejected,
|
|
3628
|
-
}, a.resolve = function(
|
|
3629
|
-
var x = g(p,
|
|
3619
|
+
return this.state !== h ? l(x, this.state === u ? b : v, this.outcome) : this.queue.push(new f(x, b, v)), x;
|
|
3620
|
+
}, f.prototype.callFulfilled = function(b) {
|
|
3621
|
+
a.resolve(this.promise, b);
|
|
3622
|
+
}, f.prototype.otherCallFulfilled = function(b) {
|
|
3623
|
+
l(this.promise, this.onFulfilled, b);
|
|
3624
|
+
}, f.prototype.callRejected = function(b) {
|
|
3625
|
+
a.reject(this.promise, b);
|
|
3626
|
+
}, f.prototype.otherCallRejected = function(b) {
|
|
3627
|
+
l(this.promise, this.onRejected, b);
|
|
3628
|
+
}, a.resolve = function(b, v) {
|
|
3629
|
+
var x = g(p, v);
|
|
3630
3630
|
if (x.status === "error")
|
|
3631
|
-
return a.reject(
|
|
3631
|
+
return a.reject(b, x.value);
|
|
3632
3632
|
var y = x.value;
|
|
3633
3633
|
if (y)
|
|
3634
|
-
d(
|
|
3634
|
+
d(b, y);
|
|
3635
3635
|
else {
|
|
3636
|
-
|
|
3637
|
-
for (var A = -1, I =
|
|
3638
|
-
|
|
3636
|
+
b.state = u, b.outcome = v;
|
|
3637
|
+
for (var A = -1, I = b.queue.length; ++A < I; )
|
|
3638
|
+
b.queue[A].callFulfilled(v);
|
|
3639
3639
|
}
|
|
3640
|
-
return
|
|
3641
|
-
}, a.reject = function(
|
|
3642
|
-
|
|
3643
|
-
for (var x = -1, y =
|
|
3644
|
-
|
|
3645
|
-
return
|
|
3646
|
-
}, m.resolve = function(
|
|
3647
|
-
return
|
|
3648
|
-
}, m.reject = function(
|
|
3649
|
-
var
|
|
3650
|
-
return a.reject(
|
|
3651
|
-
}, m.all = function(
|
|
3652
|
-
var
|
|
3653
|
-
if (Object.prototype.toString.call(
|
|
3640
|
+
return b;
|
|
3641
|
+
}, a.reject = function(b, v) {
|
|
3642
|
+
b.state = o, b.outcome = v;
|
|
3643
|
+
for (var x = -1, y = b.queue.length; ++x < y; )
|
|
3644
|
+
b.queue[x].callRejected(v);
|
|
3645
|
+
return b;
|
|
3646
|
+
}, m.resolve = function(b) {
|
|
3647
|
+
return b instanceof this ? b : a.resolve(new this(n), b);
|
|
3648
|
+
}, m.reject = function(b) {
|
|
3649
|
+
var v = new this(n);
|
|
3650
|
+
return a.reject(v, b);
|
|
3651
|
+
}, m.all = function(b) {
|
|
3652
|
+
var v = this;
|
|
3653
|
+
if (Object.prototype.toString.call(b) !== "[object Array]")
|
|
3654
3654
|
return this.reject(new TypeError("must be an array"));
|
|
3655
|
-
var x =
|
|
3655
|
+
var x = b.length, y = !1;
|
|
3656
3656
|
if (!x)
|
|
3657
3657
|
return this.resolve([]);
|
|
3658
3658
|
for (var A = new Array(x), I = 0, w = -1, R = new this(n); ++w < x; )
|
|
3659
|
-
L(
|
|
3659
|
+
L(b[w], w);
|
|
3660
3660
|
return R;
|
|
3661
3661
|
function L(D, N) {
|
|
3662
|
-
|
|
3662
|
+
v.resolve(D).then(function(C) {
|
|
3663
3663
|
A[N] = C, ++I !== x || y || (y = !0, a.resolve(R, A));
|
|
3664
3664
|
}, function(C) {
|
|
3665
3665
|
y || (y = !0, a.reject(R, C));
|
|
3666
3666
|
});
|
|
3667
3667
|
}
|
|
3668
|
-
}, m.race = function(
|
|
3669
|
-
var
|
|
3670
|
-
if (Object.prototype.toString.call(
|
|
3668
|
+
}, m.race = function(b) {
|
|
3669
|
+
var v = this;
|
|
3670
|
+
if (Object.prototype.toString.call(b) !== "[object Array]")
|
|
3671
3671
|
return this.reject(new TypeError("must be an array"));
|
|
3672
|
-
var x =
|
|
3672
|
+
var x = b.length, y = !1;
|
|
3673
3673
|
if (!x)
|
|
3674
3674
|
return this.resolve([]);
|
|
3675
3675
|
for (var A = -1, I = new this(n); ++A < x; )
|
|
3676
|
-
w =
|
|
3676
|
+
w = b[A], v.resolve(w).then(function(R) {
|
|
3677
3677
|
y || (y = !0, a.resolve(I, R));
|
|
3678
3678
|
}, function(R) {
|
|
3679
3679
|
y || (y = !0, a.reject(I, R));
|
|
@@ -3686,47 +3686,47 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3686
3686
|
(0, e("./lib/utils/common").assign)(r, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = r;
|
|
3687
3687
|
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, i) {
|
|
3688
3688
|
var r = e("./zlib/deflate"), n = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/messages"), u = e("./zlib/zstream"), h = Object.prototype.toString, m = 0, f = -1, l = 0, p = 8;
|
|
3689
|
-
function d(
|
|
3689
|
+
function d(b) {
|
|
3690
3690
|
if (!(this instanceof d))
|
|
3691
|
-
return new d(
|
|
3692
|
-
this.options = n.assign({ level: f, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: l, to: "" },
|
|
3693
|
-
var
|
|
3694
|
-
|
|
3695
|
-
var x = r.deflateInit2(this.strm,
|
|
3691
|
+
return new d(b);
|
|
3692
|
+
this.options = n.assign({ level: f, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: l, to: "" }, b || {});
|
|
3693
|
+
var v = this.options;
|
|
3694
|
+
v.raw && 0 < v.windowBits ? v.windowBits = -v.windowBits : v.gzip && 0 < v.windowBits && v.windowBits < 16 && (v.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new u(), this.strm.avail_out = 0;
|
|
3695
|
+
var x = r.deflateInit2(this.strm, v.level, v.method, v.windowBits, v.memLevel, v.strategy);
|
|
3696
3696
|
if (x !== m)
|
|
3697
3697
|
throw new Error(o[x]);
|
|
3698
|
-
if (
|
|
3698
|
+
if (v.header && r.deflateSetHeader(this.strm, v.header), v.dictionary) {
|
|
3699
3699
|
var y;
|
|
3700
|
-
if (y = typeof
|
|
3700
|
+
if (y = typeof v.dictionary == "string" ? a.string2buf(v.dictionary) : h.call(v.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(v.dictionary) : v.dictionary, (x = r.deflateSetDictionary(this.strm, y)) !== m)
|
|
3701
3701
|
throw new Error(o[x]);
|
|
3702
3702
|
this._dict_set = !0;
|
|
3703
3703
|
}
|
|
3704
3704
|
}
|
|
3705
|
-
function g(
|
|
3706
|
-
var x = new d(
|
|
3707
|
-
if (x.push(
|
|
3705
|
+
function g(b, v) {
|
|
3706
|
+
var x = new d(v);
|
|
3707
|
+
if (x.push(b, !0), x.err)
|
|
3708
3708
|
throw x.msg || o[x.err];
|
|
3709
3709
|
return x.result;
|
|
3710
3710
|
}
|
|
3711
|
-
d.prototype.push = function(
|
|
3711
|
+
d.prototype.push = function(b, v) {
|
|
3712
3712
|
var x, y, A = this.strm, I = this.options.chunkSize;
|
|
3713
3713
|
if (this.ended)
|
|
3714
3714
|
return !1;
|
|
3715
|
-
y =
|
|
3715
|
+
y = v === ~~v ? v : v === !0 ? 4 : 0, typeof b == "string" ? A.input = a.string2buf(b) : h.call(b) === "[object ArrayBuffer]" ? A.input = new Uint8Array(b) : A.input = b, A.next_in = 0, A.avail_in = A.input.length;
|
|
3716
3716
|
do {
|
|
3717
3717
|
if (A.avail_out === 0 && (A.output = new n.Buf8(I), A.next_out = 0, A.avail_out = I), (x = r.deflate(A, y)) !== 1 && x !== m)
|
|
3718
3718
|
return this.onEnd(x), !(this.ended = !0);
|
|
3719
3719
|
A.avail_out !== 0 && (A.avail_in !== 0 || y !== 4 && y !== 2) || (this.options.to === "string" ? this.onData(a.buf2binstring(n.shrinkBuf(A.output, A.next_out))) : this.onData(n.shrinkBuf(A.output, A.next_out)));
|
|
3720
3720
|
} while ((0 < A.avail_in || A.avail_out === 0) && x !== 1);
|
|
3721
3721
|
return y === 4 ? (x = r.deflateEnd(this.strm), this.onEnd(x), this.ended = !0, x === m) : y !== 2 || (this.onEnd(m), !(A.avail_out = 0));
|
|
3722
|
-
}, d.prototype.onData = function(
|
|
3723
|
-
this.chunks.push(
|
|
3724
|
-
}, d.prototype.onEnd = function(
|
|
3725
|
-
|
|
3726
|
-
}, i.Deflate = d, i.deflate = g, i.deflateRaw = function(
|
|
3727
|
-
return (
|
|
3728
|
-
}, i.gzip = function(
|
|
3729
|
-
return (
|
|
3722
|
+
}, d.prototype.onData = function(b) {
|
|
3723
|
+
this.chunks.push(b);
|
|
3724
|
+
}, d.prototype.onEnd = function(b) {
|
|
3725
|
+
b === m && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = n.flattenChunks(this.chunks)), this.chunks = [], this.err = b, this.msg = this.strm.msg;
|
|
3726
|
+
}, i.Deflate = d, i.deflate = g, i.deflateRaw = function(b, v) {
|
|
3727
|
+
return (v = v || {}).raw = !0, g(b, v);
|
|
3728
|
+
}, i.gzip = function(b, v) {
|
|
3729
|
+
return (v = v || {}).gzip = !0, g(b, v);
|
|
3730
3730
|
};
|
|
3731
3731
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(e, t, i) {
|
|
3732
3732
|
var r = e("./zlib/inflate"), n = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/constants"), u = e("./zlib/messages"), h = e("./zlib/zstream"), m = e("./zlib/gzheader"), f = Object.prototype.toString;
|
|
@@ -3736,28 +3736,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3736
3736
|
this.options = n.assign({ chunkSize: 16384, windowBits: 0, to: "" }, d || {});
|
|
3737
3737
|
var g = this.options;
|
|
3738
3738
|
g.raw && 0 <= g.windowBits && g.windowBits < 16 && (g.windowBits = -g.windowBits, g.windowBits === 0 && (g.windowBits = -15)), !(0 <= g.windowBits && g.windowBits < 16) || d && d.windowBits || (g.windowBits += 32), 15 < g.windowBits && g.windowBits < 48 && !(15 & g.windowBits) && (g.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new h(), this.strm.avail_out = 0;
|
|
3739
|
-
var
|
|
3740
|
-
if (
|
|
3741
|
-
throw new Error(u[
|
|
3739
|
+
var b = r.inflateInit2(this.strm, g.windowBits);
|
|
3740
|
+
if (b !== o.Z_OK)
|
|
3741
|
+
throw new Error(u[b]);
|
|
3742
3742
|
this.header = new m(), r.inflateGetHeader(this.strm, this.header);
|
|
3743
3743
|
}
|
|
3744
3744
|
function p(d, g) {
|
|
3745
|
-
var
|
|
3746
|
-
if (
|
|
3747
|
-
throw
|
|
3748
|
-
return
|
|
3745
|
+
var b = new l(g);
|
|
3746
|
+
if (b.push(d, !0), b.err)
|
|
3747
|
+
throw b.msg || u[b.err];
|
|
3748
|
+
return b.result;
|
|
3749
3749
|
}
|
|
3750
3750
|
l.prototype.push = function(d, g) {
|
|
3751
|
-
var
|
|
3751
|
+
var b, v, x, y, A, I, w = this.strm, R = this.options.chunkSize, L = this.options.dictionary, D = !1;
|
|
3752
3752
|
if (this.ended)
|
|
3753
3753
|
return !1;
|
|
3754
|
-
|
|
3754
|
+
v = g === ~~g ? g : g === !0 ? o.Z_FINISH : o.Z_NO_FLUSH, typeof d == "string" ? w.input = a.binstring2buf(d) : f.call(d) === "[object ArrayBuffer]" ? w.input = new Uint8Array(d) : w.input = d, w.next_in = 0, w.avail_in = w.input.length;
|
|
3755
3755
|
do {
|
|
3756
|
-
if (w.avail_out === 0 && (w.output = new n.Buf8(R), w.next_out = 0, w.avail_out = R), (
|
|
3757
|
-
return this.onEnd(
|
|
3758
|
-
w.next_out && (w.avail_out !== 0 &&
|
|
3759
|
-
} while ((0 < w.avail_in || w.avail_out === 0) &&
|
|
3760
|
-
return
|
|
3756
|
+
if (w.avail_out === 0 && (w.output = new n.Buf8(R), w.next_out = 0, w.avail_out = R), (b = r.inflate(w, o.Z_NO_FLUSH)) === o.Z_NEED_DICT && L && (I = typeof L == "string" ? a.string2buf(L) : f.call(L) === "[object ArrayBuffer]" ? new Uint8Array(L) : L, b = r.inflateSetDictionary(this.strm, I)), b === o.Z_BUF_ERROR && D === !0 && (b = o.Z_OK, D = !1), b !== o.Z_STREAM_END && b !== o.Z_OK)
|
|
3757
|
+
return this.onEnd(b), !(this.ended = !0);
|
|
3758
|
+
w.next_out && (w.avail_out !== 0 && b !== o.Z_STREAM_END && (w.avail_in !== 0 || v !== o.Z_FINISH && v !== o.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = a.utf8border(w.output, w.next_out), y = w.next_out - x, A = a.buf2string(w.output, x), w.next_out = y, w.avail_out = R - y, y && n.arraySet(w.output, w.output, x, y, 0), this.onData(A)) : this.onData(n.shrinkBuf(w.output, w.next_out)))), w.avail_in === 0 && w.avail_out === 0 && (D = !0);
|
|
3759
|
+
} while ((0 < w.avail_in || w.avail_out === 0) && b !== o.Z_STREAM_END);
|
|
3760
|
+
return b === o.Z_STREAM_END && (v = o.Z_FINISH), v === o.Z_FINISH ? (b = r.inflateEnd(this.strm), this.onEnd(b), this.ended = !0, b === o.Z_OK) : v !== o.Z_SYNC_FLUSH || (this.onEnd(o.Z_OK), !(w.avail_out = 0));
|
|
3761
3761
|
}, l.prototype.onData = function(d) {
|
|
3762
3762
|
this.chunks.push(d);
|
|
3763
3763
|
}, l.prototype.onEnd = function(d) {
|
|
@@ -3825,11 +3825,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3825
3825
|
return l;
|
|
3826
3826
|
}
|
|
3827
3827
|
o[254] = o[254] = 1, i.string2buf = function(m) {
|
|
3828
|
-
var f, l, p, d, g,
|
|
3829
|
-
for (d = 0; d <
|
|
3830
|
-
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 <
|
|
3831
|
-
for (f = new r.Buf8(
|
|
3832
|
-
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 <
|
|
3828
|
+
var f, l, p, d, g, b = m.length, v = 0;
|
|
3829
|
+
for (d = 0; d < b; d++)
|
|
3830
|
+
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 < b && (64512 & (p = m.charCodeAt(d + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (p - 56320), d++), v += l < 128 ? 1 : l < 2048 ? 2 : l < 65536 ? 3 : 4;
|
|
3831
|
+
for (f = new r.Buf8(v), d = g = 0; g < v; d++)
|
|
3832
|
+
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 < b && (64512 & (p = m.charCodeAt(d + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (p - 56320), d++), l < 128 ? f[g++] = l : (l < 2048 ? f[g++] = 192 | l >>> 6 : (l < 65536 ? f[g++] = 224 | l >>> 12 : (f[g++] = 240 | l >>> 18, f[g++] = 128 | l >>> 12 & 63), f[g++] = 128 | l >>> 6 & 63), f[g++] = 128 | 63 & l);
|
|
3833
3833
|
return f;
|
|
3834
3834
|
}, i.buf2binstring = function(m) {
|
|
3835
3835
|
return h(m, m.length);
|
|
@@ -3838,18 +3838,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3838
3838
|
f[l] = m.charCodeAt(l);
|
|
3839
3839
|
return f;
|
|
3840
3840
|
}, i.buf2string = function(m, f) {
|
|
3841
|
-
var l, p, d, g,
|
|
3842
|
-
for (l = p = 0; l <
|
|
3841
|
+
var l, p, d, g, b = f || m.length, v = new Array(2 * b);
|
|
3842
|
+
for (l = p = 0; l < b; )
|
|
3843
3843
|
if ((d = m[l++]) < 128)
|
|
3844
|
-
|
|
3844
|
+
v[p++] = d;
|
|
3845
3845
|
else if (4 < (g = o[d]))
|
|
3846
|
-
|
|
3846
|
+
v[p++] = 65533, l += g - 1;
|
|
3847
3847
|
else {
|
|
3848
|
-
for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && l <
|
|
3848
|
+
for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && l < b; )
|
|
3849
3849
|
d = d << 6 | 63 & m[l++], g--;
|
|
3850
|
-
1 < g ?
|
|
3850
|
+
1 < g ? v[p++] = 65533 : d < 65536 ? v[p++] = d : (d -= 65536, v[p++] = 55296 | d >> 10 & 1023, v[p++] = 56320 | 1023 & d);
|
|
3851
3851
|
}
|
|
3852
|
-
return h(
|
|
3852
|
+
return h(v, p);
|
|
3853
3853
|
}, i.utf8border = function(m, f) {
|
|
3854
3854
|
var l;
|
|
3855
3855
|
for ((f = f || m.length) > m.length && (f = m.length), l = f - 1; 0 <= l && (192 & m[l]) == 128; )
|
|
@@ -3885,7 +3885,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3885
3885
|
return -1 ^ n;
|
|
3886
3886
|
};
|
|
3887
3887
|
}, {}], 46: [function(e, t, i) {
|
|
3888
|
-
var r, n = e("../utils/common"), a = e("./trees"), o = e("./adler32"), u = e("./crc32"), h = e("./messages"), m = 0, f = 4, l = 0, p = -2, d = -1, g = 4,
|
|
3888
|
+
var r, n = e("../utils/common"), a = e("./trees"), o = e("./adler32"), u = e("./crc32"), h = e("./messages"), m = 0, f = 4, l = 0, p = -2, d = -1, g = 4, b = 2, v = 8, x = 9, y = 286, A = 30, I = 19, w = 2 * y + 1, R = 15, L = 3, D = 258, N = D + L + 1, C = 42, M = 113, E = 1, U = 2, te = 3, q = 4;
|
|
3889
3889
|
function oe(S, J) {
|
|
3890
3890
|
return S.msg = h[J], J;
|
|
3891
3891
|
}
|
|
@@ -3987,15 +3987,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3987
3987
|
}
|
|
3988
3988
|
return S.match_available && (B = a._tr_tally(S, 0, S.window[S.strstart - 1]), S.match_available = 0), S.insert = S.strstart < L - 1 ? S.strstart : L - 1, J === f ? (P(S, !0), S.strm.avail_out === 0 ? te : q) : S.last_lit && (P(S, !1), S.strm.avail_out === 0) ? E : U;
|
|
3989
3989
|
}
|
|
3990
|
-
function
|
|
3990
|
+
function ve(S, J, W, B, k) {
|
|
3991
3991
|
this.good_length = S, this.max_lazy = J, this.nice_length = W, this.max_chain = B, this.func = k;
|
|
3992
3992
|
}
|
|
3993
3993
|
function we() {
|
|
3994
|
-
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method =
|
|
3994
|
+
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = v, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new n.Buf16(2 * w), this.dyn_dtree = new n.Buf16(2 * (2 * A + 1)), this.bl_tree = new n.Buf16(2 * (2 * I + 1)), se(this.dyn_ltree), se(this.dyn_dtree), se(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new n.Buf16(R + 1), this.heap = new n.Buf16(2 * y + 1), se(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new n.Buf16(2 * y + 1), se(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
3995
3995
|
}
|
|
3996
3996
|
function Ae(S) {
|
|
3997
3997
|
var J;
|
|
3998
|
-
return S && S.state ? (S.total_in = S.total_out = 0, S.data_type =
|
|
3998
|
+
return S && S.state ? (S.total_in = S.total_out = 0, S.data_type = b, (J = S.state).pending = 0, J.pending_out = 0, J.wrap < 0 && (J.wrap = -J.wrap), J.status = J.wrap ? C : M, S.adler = J.wrap === 2 ? 0 : 1, J.last_flush = m, a._tr_init(J), l) : oe(S, p);
|
|
3999
3999
|
}
|
|
4000
4000
|
function Fe(S) {
|
|
4001
4001
|
var J = Ae(S);
|
|
@@ -4007,13 +4007,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4007
4007
|
if (!S)
|
|
4008
4008
|
return p;
|
|
4009
4009
|
var Z = 1;
|
|
4010
|
-
if (J === d && (J = 6), B < 0 ? (Z = 0, B = -B) : 15 < B && (Z = 2, B -= 16), k < 1 || x < k || W !==
|
|
4010
|
+
if (J === d && (J = 6), B < 0 ? (Z = 0, B = -B) : 15 < B && (Z = 2, B -= 16), k < 1 || x < k || W !== v || B < 8 || 15 < B || J < 0 || 9 < J || V < 0 || g < V)
|
|
4011
4011
|
return oe(S, p);
|
|
4012
4012
|
B === 8 && (B = 9);
|
|
4013
4013
|
var X = new we();
|
|
4014
4014
|
return (S.state = X).strm = S, X.wrap = Z, X.gzhead = null, X.w_bits = B, X.w_size = 1 << X.w_bits, X.w_mask = X.w_size - 1, X.hash_bits = k + 7, X.hash_size = 1 << X.hash_bits, X.hash_mask = X.hash_size - 1, X.hash_shift = ~~((X.hash_bits + L - 1) / L), X.window = new n.Buf8(2 * X.w_size), X.head = new n.Buf16(X.hash_size), X.prev = new n.Buf16(X.w_size), X.lit_bufsize = 1 << k + 6, X.pending_buf_size = 4 * X.lit_bufsize, X.pending_buf = new n.Buf8(X.pending_buf_size), X.d_buf = 1 * X.lit_bufsize, X.l_buf = 3 * X.lit_bufsize, X.level = J, X.strategy = V, X.method = W, Fe(S);
|
|
4015
4015
|
}
|
|
4016
|
-
r = [new
|
|
4016
|
+
r = [new ve(0, 0, 0, 0, function(S, J) {
|
|
4017
4017
|
var W = 65535;
|
|
4018
4018
|
for (W > S.pending_buf_size - 5 && (W = S.pending_buf_size - 5); ; ) {
|
|
4019
4019
|
if (S.lookahead <= 1) {
|
|
@@ -4028,8 +4028,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4028
4028
|
return E;
|
|
4029
4029
|
}
|
|
4030
4030
|
return S.insert = 0, J === f ? (P(S, !0), S.strm.avail_out === 0 ? te : q) : (S.strstart > S.block_start && (P(S, !1), S.strm.avail_out), E);
|
|
4031
|
-
}), new
|
|
4032
|
-
return Ce(S, J,
|
|
4031
|
+
}), new ve(4, 4, 8, 4, pe), new ve(4, 5, 16, 8, pe), new ve(4, 6, 32, 32, pe), new ve(4, 4, 16, 16, ce), new ve(8, 16, 32, 32, ce), new ve(8, 16, 128, 128, ce), new ve(8, 32, 128, 256, ce), new ve(32, 128, 258, 1024, ce), new ve(32, 258, 258, 4096, ce)], i.deflateInit = function(S, J) {
|
|
4032
|
+
return Ce(S, J, v, 15, 8, 0);
|
|
4033
4033
|
}, i.deflateInit2 = Ce, i.deflateReset = Fe, i.deflateResetKeep = Ae, i.deflateSetHeader = function(S, J) {
|
|
4034
4034
|
return S && S.state ? S.state.wrap !== 2 ? p : (S.state.gzhead = J, l) : p;
|
|
4035
4035
|
}, i.deflate = function(S, J) {
|
|
@@ -4042,7 +4042,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4042
4042
|
if (B.wrap === 2)
|
|
4043
4043
|
S.adler = 0, z(B, 31), z(B, 139), z(B, 8), B.gzhead ? (z(B, (B.gzhead.text ? 1 : 0) + (B.gzhead.hcrc ? 2 : 0) + (B.gzhead.extra ? 4 : 0) + (B.gzhead.name ? 8 : 0) + (B.gzhead.comment ? 16 : 0)), z(B, 255 & B.gzhead.time), z(B, B.gzhead.time >> 8 & 255), z(B, B.gzhead.time >> 16 & 255), z(B, B.gzhead.time >> 24 & 255), z(B, B.level === 9 ? 2 : 2 <= B.strategy || B.level < 2 ? 4 : 0), z(B, 255 & B.gzhead.os), B.gzhead.extra && B.gzhead.extra.length && (z(B, 255 & B.gzhead.extra.length), z(B, B.gzhead.extra.length >> 8 & 255)), B.gzhead.hcrc && (S.adler = u(S.adler, B.pending_buf, B.pending, 0)), B.gzindex = 0, B.status = 69) : (z(B, 0), z(B, 0), z(B, 0), z(B, 0), z(B, 0), z(B, B.level === 9 ? 2 : 2 <= B.strategy || B.level < 2 ? 4 : 0), z(B, 3), B.status = M);
|
|
4044
4044
|
else {
|
|
4045
|
-
var Z =
|
|
4045
|
+
var Z = v + (B.w_bits - 8 << 4) << 8;
|
|
4046
4046
|
Z |= (2 <= B.strategy || B.level < 2 ? 0 : B.level < 6 ? 1 : B.level === 6 ? 2 : 3) << 6, B.strstart !== 0 && (Z |= 32), Z += 31 - Z % 31, B.status = M, F(B, Z), B.strstart !== 0 && (F(B, S.adler >>> 16), F(B, 65535 & S.adler)), S.adler = 1;
|
|
4047
4047
|
}
|
|
4048
4048
|
if (B.status === 69)
|
|
@@ -4143,19 +4143,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4143
4143
|
};
|
|
4144
4144
|
}, {}], 48: [function(e, t, i) {
|
|
4145
4145
|
t.exports = function(r, n) {
|
|
4146
|
-
var a, o, u, h, m, f, l, p, d, g,
|
|
4147
|
-
a = r.state, o = r.next_in, E = r.input, u = o + (r.avail_in - 5), h = r.next_out, U = r.output, m = h - (n - r.avail_out), f = h + (r.avail_out - 257), l = a.dmax, p = a.wsize, d = a.whave, g = a.wnext,
|
|
4146
|
+
var a, o, u, h, m, f, l, p, d, g, b, v, x, y, A, I, w, R, L, D, N, C, M, E, U;
|
|
4147
|
+
a = r.state, o = r.next_in, E = r.input, u = o + (r.avail_in - 5), h = r.next_out, U = r.output, m = h - (n - r.avail_out), f = h + (r.avail_out - 257), l = a.dmax, p = a.wsize, d = a.whave, g = a.wnext, b = a.window, v = a.hold, x = a.bits, y = a.lencode, A = a.distcode, I = (1 << a.lenbits) - 1, w = (1 << a.distbits) - 1;
|
|
4148
4148
|
e:
|
|
4149
4149
|
do {
|
|
4150
|
-
x < 15 && (
|
|
4150
|
+
x < 15 && (v += E[o++] << x, x += 8, v += E[o++] << x, x += 8), R = y[v & I];
|
|
4151
4151
|
t:
|
|
4152
4152
|
for (; ; ) {
|
|
4153
|
-
if (
|
|
4153
|
+
if (v >>>= L = R >>> 24, x -= L, (L = R >>> 16 & 255) === 0)
|
|
4154
4154
|
U[h++] = 65535 & R;
|
|
4155
4155
|
else {
|
|
4156
4156
|
if (!(16 & L)) {
|
|
4157
4157
|
if (!(64 & L)) {
|
|
4158
|
-
R = y[(65535 & R) + (
|
|
4158
|
+
R = y[(65535 & R) + (v & (1 << L) - 1)];
|
|
4159
4159
|
continue t;
|
|
4160
4160
|
}
|
|
4161
4161
|
if (32 & L) {
|
|
@@ -4165,44 +4165,44 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4165
4165
|
r.msg = "invalid literal/length code", a.mode = 30;
|
|
4166
4166
|
break e;
|
|
4167
4167
|
}
|
|
4168
|
-
D = 65535 & R, (L &= 15) && (x < L && (
|
|
4168
|
+
D = 65535 & R, (L &= 15) && (x < L && (v += E[o++] << x, x += 8), D += v & (1 << L) - 1, v >>>= L, x -= L), x < 15 && (v += E[o++] << x, x += 8, v += E[o++] << x, x += 8), R = A[v & w];
|
|
4169
4169
|
i:
|
|
4170
4170
|
for (; ; ) {
|
|
4171
|
-
if (
|
|
4171
|
+
if (v >>>= L = R >>> 24, x -= L, !(16 & (L = R >>> 16 & 255))) {
|
|
4172
4172
|
if (!(64 & L)) {
|
|
4173
|
-
R = A[(65535 & R) + (
|
|
4173
|
+
R = A[(65535 & R) + (v & (1 << L) - 1)];
|
|
4174
4174
|
continue i;
|
|
4175
4175
|
}
|
|
4176
4176
|
r.msg = "invalid distance code", a.mode = 30;
|
|
4177
4177
|
break e;
|
|
4178
4178
|
}
|
|
4179
|
-
if (N = 65535 & R, x < (L &= 15) && (
|
|
4179
|
+
if (N = 65535 & R, x < (L &= 15) && (v += E[o++] << x, (x += 8) < L && (v += E[o++] << x, x += 8)), l < (N += v & (1 << L) - 1)) {
|
|
4180
4180
|
r.msg = "invalid distance too far back", a.mode = 30;
|
|
4181
4181
|
break e;
|
|
4182
4182
|
}
|
|
4183
|
-
if (
|
|
4183
|
+
if (v >>>= L, x -= L, (L = h - m) < N) {
|
|
4184
4184
|
if (d < (L = N - L) && a.sane) {
|
|
4185
4185
|
r.msg = "invalid distance too far back", a.mode = 30;
|
|
4186
4186
|
break e;
|
|
4187
4187
|
}
|
|
4188
|
-
if (M =
|
|
4188
|
+
if (M = b, (C = 0) === g) {
|
|
4189
4189
|
if (C += p - L, L < D) {
|
|
4190
|
-
for (D -= L; U[h++] =
|
|
4190
|
+
for (D -= L; U[h++] = b[C++], --L; )
|
|
4191
4191
|
;
|
|
4192
4192
|
C = h - N, M = U;
|
|
4193
4193
|
}
|
|
4194
4194
|
} else if (g < L) {
|
|
4195
4195
|
if (C += p + g - L, (L -= g) < D) {
|
|
4196
|
-
for (D -= L; U[h++] =
|
|
4196
|
+
for (D -= L; U[h++] = b[C++], --L; )
|
|
4197
4197
|
;
|
|
4198
4198
|
if (C = 0, g < D) {
|
|
4199
|
-
for (D -= L = g; U[h++] =
|
|
4199
|
+
for (D -= L = g; U[h++] = b[C++], --L; )
|
|
4200
4200
|
;
|
|
4201
4201
|
C = h - N, M = U;
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
} else if (C += g - L, L < D) {
|
|
4205
|
-
for (D -= L; U[h++] =
|
|
4205
|
+
for (D -= L; U[h++] = b[C++], --L; )
|
|
4206
4206
|
;
|
|
4207
4207
|
C = h - N, M = U;
|
|
4208
4208
|
}
|
|
@@ -4220,14 +4220,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4220
4220
|
break;
|
|
4221
4221
|
}
|
|
4222
4222
|
} while (o < u && h < f);
|
|
4223
|
-
o -= D = x >> 3,
|
|
4223
|
+
o -= D = x >> 3, v &= (1 << (x -= D << 3)) - 1, r.next_in = o, r.next_out = h, r.avail_in = o < u ? u - o + 5 : 5 - (o - u), r.avail_out = h < f ? f - h + 257 : 257 - (h - f), a.hold = v, a.bits = x;
|
|
4224
4224
|
};
|
|
4225
4225
|
}, {}], 49: [function(e, t, i) {
|
|
4226
4226
|
var r = e("../utils/common"), n = e("./adler32"), a = e("./crc32"), o = e("./inffast"), u = e("./inftrees"), h = 1, m = 2, f = 0, l = -2, p = 1, d = 852, g = 592;
|
|
4227
|
-
function
|
|
4227
|
+
function b(C) {
|
|
4228
4228
|
return (C >>> 24 & 255) + (C >>> 8 & 65280) + ((65280 & C) << 8) + ((255 & C) << 24);
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4230
|
+
function v() {
|
|
4231
4231
|
this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new r.Buf16(320), this.work = new r.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
4232
4232
|
}
|
|
4233
4233
|
function x(C) {
|
|
@@ -4244,7 +4244,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4244
4244
|
}
|
|
4245
4245
|
function I(C, M) {
|
|
4246
4246
|
var E, U;
|
|
4247
|
-
return C ? (U = new
|
|
4247
|
+
return C ? (U = new v(), (C.state = U).window = null, (E = A(C, M)) !== f && (C.state = null), E) : l;
|
|
4248
4248
|
}
|
|
4249
4249
|
var w, R, L = !0;
|
|
4250
4250
|
function D(C) {
|
|
@@ -4271,7 +4271,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4271
4271
|
i.inflateReset = y, i.inflateReset2 = A, i.inflateResetKeep = x, i.inflateInit = function(C) {
|
|
4272
4272
|
return I(C, 15);
|
|
4273
4273
|
}, i.inflateInit2 = I, i.inflate = function(C, M) {
|
|
4274
|
-
var E, U, te, q, oe, $, se, T, P, z, F, K, Q, pe, ce,
|
|
4274
|
+
var E, U, te, q, oe, $, se, T, P, z, F, K, Q, pe, ce, ve, we, Ae, Fe, Ce, S, J, W, B, k = 0, V = new r.Buf8(4), Z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
4275
4275
|
if (!C || !C.state || !C.output || !C.input && C.avail_in !== 0)
|
|
4276
4276
|
return l;
|
|
4277
4277
|
(E = C.state).mode === 12 && (E.mode = 13), oe = C.next_out, te = C.output, se = C.avail_out, q = C.next_in, U = C.input, $ = C.avail_in, T = E.hold, P = E.bits, z = $, F = se, J = f;
|
|
@@ -4395,7 +4395,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4395
4395
|
break e;
|
|
4396
4396
|
$--, T += U[q++] << P, P += 8;
|
|
4397
4397
|
}
|
|
4398
|
-
C.adler = E.check =
|
|
4398
|
+
C.adler = E.check = b(T), P = T = 0, E.mode = 11;
|
|
4399
4399
|
case 11:
|
|
4400
4400
|
if (E.havedict === 0)
|
|
4401
4401
|
return C.next_out = oe, C.avail_out = se, C.next_in = q, C.avail_in = $, E.hold = T, E.bits = P, 2;
|
|
@@ -4482,7 +4482,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4482
4482
|
E.have = 0, E.mode = 19;
|
|
4483
4483
|
case 19:
|
|
4484
4484
|
for (; E.have < E.nlen + E.ndist; ) {
|
|
4485
|
-
for (;
|
|
4485
|
+
for (; ve = (k = E.lencode[T & (1 << E.lenbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= P); ) {
|
|
4486
4486
|
if ($ === 0)
|
|
4487
4487
|
break e;
|
|
4488
4488
|
$--, T += U[q++] << P, P += 8;
|
|
@@ -4547,32 +4547,32 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4547
4547
|
C.next_out = oe, C.avail_out = se, C.next_in = q, C.avail_in = $, E.hold = T, E.bits = P, o(C, F), oe = C.next_out, te = C.output, se = C.avail_out, q = C.next_in, U = C.input, $ = C.avail_in, T = E.hold, P = E.bits, E.mode === 12 && (E.back = -1);
|
|
4548
4548
|
break;
|
|
4549
4549
|
}
|
|
4550
|
-
for (E.back = 0;
|
|
4550
|
+
for (E.back = 0; ve = (k = E.lencode[T & (1 << E.lenbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= P); ) {
|
|
4551
4551
|
if ($ === 0)
|
|
4552
4552
|
break e;
|
|
4553
4553
|
$--, T += U[q++] << P, P += 8;
|
|
4554
4554
|
}
|
|
4555
|
-
if (
|
|
4556
|
-
for (Ae = ce, Fe =
|
|
4555
|
+
if (ve && !(240 & ve)) {
|
|
4556
|
+
for (Ae = ce, Fe = ve, Ce = we; ve = (k = E.lencode[Ce + ((T & (1 << Ae + Fe) - 1) >> Ae)]) >>> 16 & 255, we = 65535 & k, !(Ae + (ce = k >>> 24) <= P); ) {
|
|
4557
4557
|
if ($ === 0)
|
|
4558
4558
|
break e;
|
|
4559
4559
|
$--, T += U[q++] << P, P += 8;
|
|
4560
4560
|
}
|
|
4561
4561
|
T >>>= Ae, P -= Ae, E.back += Ae;
|
|
4562
4562
|
}
|
|
4563
|
-
if (T >>>= ce, P -= ce, E.back += ce, E.length = we,
|
|
4563
|
+
if (T >>>= ce, P -= ce, E.back += ce, E.length = we, ve === 0) {
|
|
4564
4564
|
E.mode = 26;
|
|
4565
4565
|
break;
|
|
4566
4566
|
}
|
|
4567
|
-
if (32 &
|
|
4567
|
+
if (32 & ve) {
|
|
4568
4568
|
E.back = -1, E.mode = 12;
|
|
4569
4569
|
break;
|
|
4570
4570
|
}
|
|
4571
|
-
if (64 &
|
|
4571
|
+
if (64 & ve) {
|
|
4572
4572
|
C.msg = "invalid literal/length code", E.mode = 30;
|
|
4573
4573
|
break;
|
|
4574
4574
|
}
|
|
4575
|
-
E.extra = 15 &
|
|
4575
|
+
E.extra = 15 & ve, E.mode = 22;
|
|
4576
4576
|
case 22:
|
|
4577
4577
|
if (E.extra) {
|
|
4578
4578
|
for (B = E.extra; P < B; ) {
|
|
@@ -4584,24 +4584,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4584
4584
|
}
|
|
4585
4585
|
E.was = E.length, E.mode = 23;
|
|
4586
4586
|
case 23:
|
|
4587
|
-
for (;
|
|
4587
|
+
for (; ve = (k = E.distcode[T & (1 << E.distbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= P); ) {
|
|
4588
4588
|
if ($ === 0)
|
|
4589
4589
|
break e;
|
|
4590
4590
|
$--, T += U[q++] << P, P += 8;
|
|
4591
4591
|
}
|
|
4592
|
-
if (!(240 &
|
|
4593
|
-
for (Ae = ce, Fe =
|
|
4592
|
+
if (!(240 & ve)) {
|
|
4593
|
+
for (Ae = ce, Fe = ve, Ce = we; ve = (k = E.distcode[Ce + ((T & (1 << Ae + Fe) - 1) >> Ae)]) >>> 16 & 255, we = 65535 & k, !(Ae + (ce = k >>> 24) <= P); ) {
|
|
4594
4594
|
if ($ === 0)
|
|
4595
4595
|
break e;
|
|
4596
4596
|
$--, T += U[q++] << P, P += 8;
|
|
4597
4597
|
}
|
|
4598
4598
|
T >>>= Ae, P -= Ae, E.back += Ae;
|
|
4599
4599
|
}
|
|
4600
|
-
if (T >>>= ce, P -= ce, E.back += ce, 64 &
|
|
4600
|
+
if (T >>>= ce, P -= ce, E.back += ce, 64 & ve) {
|
|
4601
4601
|
C.msg = "invalid distance code", E.mode = 30;
|
|
4602
4602
|
break;
|
|
4603
4603
|
}
|
|
4604
|
-
E.offset = we, E.extra = 15 &
|
|
4604
|
+
E.offset = we, E.extra = 15 & ve, E.mode = 24;
|
|
4605
4605
|
case 24:
|
|
4606
4606
|
if (E.extra) {
|
|
4607
4607
|
for (B = E.extra; P < B; ) {
|
|
@@ -4643,7 +4643,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4643
4643
|
break e;
|
|
4644
4644
|
$--, T |= U[q++] << P, P += 8;
|
|
4645
4645
|
}
|
|
4646
|
-
if (F -= se, C.total_out += F, E.total += F, F && (C.adler = E.check = E.flags ? a(E.check, te, F, oe - F) : n(E.check, te, F, oe - F)), F = se, (E.flags ? T :
|
|
4646
|
+
if (F -= se, C.total_out += F, E.total += F, F && (C.adler = E.check = E.flags ? a(E.check, te, F, oe - F) : n(E.check, te, F, oe - F)), F = se, (E.flags ? T : b(T)) !== E.check) {
|
|
4647
4647
|
C.msg = "incorrect data check", E.mode = 30;
|
|
4648
4648
|
break;
|
|
4649
4649
|
}
|
|
@@ -4691,8 +4691,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4691
4691
|
}, i.inflateInfo = "pako inflate (from Nodeca project)";
|
|
4692
4692
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, i) {
|
|
4693
4693
|
var r = e("../utils/common"), n = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], a = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], o = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], u = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
4694
|
-
t.exports = function(h, m, f, l, p, d, g,
|
|
4695
|
-
var
|
|
4694
|
+
t.exports = function(h, m, f, l, p, d, g, b) {
|
|
4695
|
+
var v, x, y, A, I, w, R, L, D, N = b.bits, C = 0, M = 0, E = 0, U = 0, te = 0, q = 0, oe = 0, $ = 0, se = 0, T = 0, P = null, z = 0, F = new r.Buf16(16), K = new r.Buf16(16), Q = null, pe = 0;
|
|
4696
4696
|
for (C = 0; C <= 15; C++)
|
|
4697
4697
|
F[C] = 0;
|
|
4698
4698
|
for (M = 0; M < l; M++)
|
|
@@ -4700,7 +4700,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4700
4700
|
for (te = N, U = 15; 1 <= U && F[U] === 0; U--)
|
|
4701
4701
|
;
|
|
4702
4702
|
if (U < te && (te = U), U === 0)
|
|
4703
|
-
return p[d++] = 20971520, p[d++] = 20971520,
|
|
4703
|
+
return p[d++] = 20971520, p[d++] = 20971520, b.bits = 1, 0;
|
|
4704
4704
|
for (E = 1; E < U && F[E] === 0; E++)
|
|
4705
4705
|
;
|
|
4706
4706
|
for (te < E && (te = E), C = $ = 1; C <= 15; C++)
|
|
@@ -4715,11 +4715,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4715
4715
|
if (w = h === 0 ? (P = Q = g, 19) : h === 1 ? (P = n, z -= 257, Q = a, pe -= 257, 256) : (P = o, Q = u, -1), C = E, I = d, oe = M = T = 0, y = -1, A = (se = 1 << (q = te)) - 1, h === 1 && 852 < se || h === 2 && 592 < se)
|
|
4716
4716
|
return 1;
|
|
4717
4717
|
for (; ; ) {
|
|
4718
|
-
for (R = C - oe, D = g[M] < w ? (L = 0, g[M]) : g[M] > w ? (L = Q[pe + g[M]], P[z + g[M]]) : (L = 96, 0),
|
|
4718
|
+
for (R = C - oe, D = g[M] < w ? (L = 0, g[M]) : g[M] > w ? (L = Q[pe + g[M]], P[z + g[M]]) : (L = 96, 0), v = 1 << C - oe, E = x = 1 << q; p[I + (T >> oe) + (x -= v)] = R << 24 | L << 16 | D | 0, x !== 0; )
|
|
4719
4719
|
;
|
|
4720
|
-
for (
|
|
4721
|
-
|
|
4722
|
-
if (
|
|
4720
|
+
for (v = 1 << C - 1; T & v; )
|
|
4721
|
+
v >>= 1;
|
|
4722
|
+
if (v !== 0 ? (T &= v - 1, T += v) : T = 0, M++, --F[C] == 0) {
|
|
4723
4723
|
if (C === U)
|
|
4724
4724
|
break;
|
|
4725
4725
|
C = m[f + g[M]];
|
|
@@ -4732,7 +4732,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4732
4732
|
p[y = T & A] = te << 24 | q << 16 | I - d | 0;
|
|
4733
4733
|
}
|
|
4734
4734
|
}
|
|
4735
|
-
return T !== 0 && (p[I + T] = C - oe << 24 | 64 << 16 | 0),
|
|
4735
|
+
return T !== 0 && (p[I + T] = C - oe << 24 | 64 << 16 | 0), b.bits = te, 0;
|
|
4736
4736
|
};
|
|
4737
4737
|
}, { "../utils/common": 41 }], 51: [function(e, t, i) {
|
|
4738
4738
|
t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -4742,7 +4742,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4742
4742
|
for (var V = k.length; 0 <= --V; )
|
|
4743
4743
|
k[V] = 0;
|
|
4744
4744
|
}
|
|
4745
|
-
var u = 0, h = 29, m = 256, f = m + 1 + h, l = 30, p = 19, d = 2 * f + 1, g = 15,
|
|
4745
|
+
var u = 0, h = 29, m = 256, f = m + 1 + h, l = 30, p = 19, d = 2 * f + 1, g = 15, b = 16, v = 7, x = 256, y = 16, A = 17, I = 18, w = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], R = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], L = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], D = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], N = new Array(2 * (f + 2));
|
|
4746
4746
|
o(N);
|
|
4747
4747
|
var C = new Array(2 * l);
|
|
4748
4748
|
o(C);
|
|
@@ -4766,7 +4766,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4766
4766
|
k.pending_buf[k.pending++] = 255 & V, k.pending_buf[k.pending++] = V >>> 8 & 255;
|
|
4767
4767
|
}
|
|
4768
4768
|
function F(k, V, Z) {
|
|
4769
|
-
k.bi_valid >
|
|
4769
|
+
k.bi_valid > b - Z ? (k.bi_buf |= V << k.bi_valid & 65535, z(k, k.bi_buf), k.bi_buf = V >> b - k.bi_valid, k.bi_valid += Z - b) : (k.bi_buf |= V << k.bi_valid & 65535, k.bi_valid += Z);
|
|
4770
4770
|
}
|
|
4771
4771
|
function K(k, V, Z) {
|
|
4772
4772
|
F(k, Z[2 * V], Z[2 * V + 1]);
|
|
@@ -4795,7 +4795,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4795
4795
|
k.bl_tree[2 * V] = 0;
|
|
4796
4796
|
k.dyn_ltree[2 * x] = 1, k.opt_len = k.static_len = 0, k.last_lit = k.matches = 0;
|
|
4797
4797
|
}
|
|
4798
|
-
function
|
|
4798
|
+
function ve(k) {
|
|
4799
4799
|
8 < k.bi_valid ? z(k, k.bi_buf) : 0 < k.bi_valid && (k.pending_buf[k.pending++] = k.bi_buf), k.bi_buf = 0, k.bi_valid = 0;
|
|
4800
4800
|
}
|
|
4801
4801
|
function we(k, V, Z, X) {
|
|
@@ -4825,11 +4825,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4825
4825
|
for (H = fe; Z = k.heap[1], k.heap[1] = k.heap[k.heap_len--], Ae(k, ee, 1), X = k.heap[1], k.heap[--k.heap_max] = Z, k.heap[--k.heap_max] = X, ee[2 * H] = ee[2 * Z] + ee[2 * X], k.depth[H] = (k.depth[Z] >= k.depth[X] ? k.depth[Z] : k.depth[X]) + 1, ee[2 * Z + 1] = ee[2 * X + 1] = H, k.heap[1] = H++, Ae(k, ee, 1), 2 <= k.heap_len; )
|
|
4826
4826
|
;
|
|
4827
4827
|
k.heap[--k.heap_max] = k.heap[1], function(xe, Ke) {
|
|
4828
|
-
var mt, Me, it, Be, gt, $t, lt = Ke.dyn_tree,
|
|
4828
|
+
var mt, Me, it, Be, gt, $t, lt = Ke.dyn_tree, bi = Ke.max_code, xi = Ke.stat_desc.static_tree, ji = Ke.stat_desc.has_stree, Si = Ke.stat_desc.extra_bits, _i = Ke.stat_desc.extra_base, Et = Ke.stat_desc.max_length, qt = 0;
|
|
4829
4829
|
for (Be = 0; Be <= g; Be++)
|
|
4830
4830
|
xe.bl_count[Be] = 0;
|
|
4831
4831
|
for (lt[2 * xe.heap[xe.heap_max] + 1] = 0, mt = xe.heap_max + 1; mt < d; mt++)
|
|
4832
|
-
Et < (Be = lt[2 * lt[2 * (Me = xe.heap[mt]) + 1] + 1] + 1) && (Be = Et, qt++), lt[2 * Me + 1] = Be,
|
|
4832
|
+
Et < (Be = lt[2 * lt[2 * (Me = xe.heap[mt]) + 1] + 1] + 1) && (Be = Et, qt++), lt[2 * Me + 1] = Be, bi < Me || (xe.bl_count[Be]++, gt = 0, _i <= Me && (gt = Si[Me - _i]), $t = lt[2 * Me], xe.opt_len += $t * (Be + gt), ji && (xe.static_len += $t * (xi[2 * Me + 1] + gt)));
|
|
4833
4833
|
if (qt !== 0) {
|
|
4834
4834
|
do {
|
|
4835
4835
|
for (Be = Et - 1; xe.bl_count[Be] === 0; )
|
|
@@ -4838,7 +4838,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4838
4838
|
} while (0 < qt);
|
|
4839
4839
|
for (Be = Et; Be !== 0; Be--)
|
|
4840
4840
|
for (Me = xe.bl_count[Be]; Me !== 0; )
|
|
4841
|
-
|
|
4841
|
+
bi < (it = xe.heap[--mt]) || (lt[2 * it + 1] !== Be && (xe.opt_len += (Be - lt[2 * it + 1]) * lt[2 * it], lt[2 * it + 1] = Be), Me--);
|
|
4842
4842
|
}
|
|
4843
4843
|
}(k, V), pe(ee, _e, k.bl_count);
|
|
4844
4844
|
}
|
|
@@ -4863,7 +4863,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4863
4863
|
var W = !1;
|
|
4864
4864
|
function B(k, V, Z, X) {
|
|
4865
4865
|
F(k, (u << 1) + (X ? 1 : 0), 3), function(H, ee, he, ie) {
|
|
4866
|
-
|
|
4866
|
+
ve(H), ie && (z(H, he), z(H, ~he)), r.arraySet(H.pending_buf, H.window, ee, he, H.pending), H.pending += he;
|
|
4867
4867
|
}(k, V, Z, !0);
|
|
4868
4868
|
}
|
|
4869
4869
|
i._tr_init = function(k) {
|
|
@@ -4890,7 +4890,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4890
4890
|
N[2 * V + 1] = 8, V++, he[8]++;
|
|
4891
4891
|
for (pe(N, f + 1, he), V = 0; V < l; V++)
|
|
4892
4892
|
C[2 * V + 1] = 5, C[2 * V] = Q(V, 5);
|
|
4893
|
-
te = new se(N, w, m + 1, f, g), q = new se(C, R, 0, l, g), oe = new se(new Array(0), L, 0, p,
|
|
4893
|
+
te = new se(N, w, m + 1, f, g), q = new se(C, R, 0, l, g), oe = new se(new Array(0), L, 0, p, v);
|
|
4894
4894
|
}(), W = !0), k.l_desc = new T(k.dyn_ltree, te), k.d_desc = new T(k.dyn_dtree, q), k.bl_desc = new T(k.bl_tree, oe), k.bi_buf = 0, k.bi_valid = 0, ce(k);
|
|
4895
4895
|
}, i._tr_stored_block = B, i._tr_flush_block = function(k, V, Z, X) {
|
|
4896
4896
|
var H, ee, he = 0;
|
|
@@ -4915,7 +4915,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4915
4915
|
for (F(ie, fe - 257, 5), F(ie, _e - 1, 5), F(ie, xe - 4, 4), Ke = 0; Ke < xe; Ke++)
|
|
4916
4916
|
F(ie, ie.bl_tree[2 * D[Ke] + 1], 3);
|
|
4917
4917
|
J(ie, ie.dyn_ltree, fe - 1), J(ie, ie.dyn_dtree, _e - 1);
|
|
4918
|
-
}(k, k.l_desc.max_code + 1, k.d_desc.max_code + 1, he + 1), Fe(k, k.dyn_ltree, k.dyn_dtree)), ce(k), X &&
|
|
4918
|
+
}(k, k.l_desc.max_code + 1, k.d_desc.max_code + 1, he + 1), Fe(k, k.dyn_ltree, k.dyn_dtree)), ce(k), X && ve(k);
|
|
4919
4919
|
}, i._tr_tally = function(k, V, Z) {
|
|
4920
4920
|
return k.pending_buf[k.d_buf + 2 * k.last_lit] = V >>> 8 & 255, k.pending_buf[k.d_buf + 2 * k.last_lit + 1] = 255 & V, k.pending_buf[k.l_buf + k.last_lit] = 255 & Z, k.last_lit++, V === 0 ? k.dyn_ltree[2 * Z]++ : (k.matches++, V--, k.dyn_ltree[2 * (E[Z] + m + 1)]++, k.dyn_dtree[2 * P(V)]++), k.last_lit === k.lit_bufsize - 1;
|
|
4921
4921
|
}, i._tr_align = function(k) {
|
|
@@ -4934,7 +4934,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4934
4934
|
var o, u, h, m, f = 1, l = {}, p = !1, d = n.document, g = Object.getPrototypeOf && Object.getPrototypeOf(n);
|
|
4935
4935
|
g = g && g.setTimeout ? g : n, o = {}.toString.call(n.process) === "[object process]" ? function(y) {
|
|
4936
4936
|
process.nextTick(function() {
|
|
4937
|
-
|
|
4937
|
+
v(y);
|
|
4938
4938
|
});
|
|
4939
4939
|
} : function() {
|
|
4940
4940
|
if (n.postMessage && !n.importScripts) {
|
|
@@ -4946,30 +4946,30 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4946
4946
|
}() ? (m = "setImmediate$" + Math.random() + "$", n.addEventListener ? n.addEventListener("message", x, !1) : n.attachEvent("onmessage", x), function(y) {
|
|
4947
4947
|
n.postMessage(m + y, "*");
|
|
4948
4948
|
}) : n.MessageChannel ? ((h = new MessageChannel()).port1.onmessage = function(y) {
|
|
4949
|
-
|
|
4949
|
+
v(y.data);
|
|
4950
4950
|
}, function(y) {
|
|
4951
4951
|
h.port2.postMessage(y);
|
|
4952
4952
|
}) : d && "onreadystatechange" in d.createElement("script") ? (u = d.documentElement, function(y) {
|
|
4953
4953
|
var A = d.createElement("script");
|
|
4954
4954
|
A.onreadystatechange = function() {
|
|
4955
|
-
|
|
4955
|
+
v(y), A.onreadystatechange = null, u.removeChild(A), A = null;
|
|
4956
4956
|
}, u.appendChild(A);
|
|
4957
4957
|
}) : function(y) {
|
|
4958
|
-
setTimeout(
|
|
4958
|
+
setTimeout(v, 0, y);
|
|
4959
4959
|
}, g.setImmediate = function(y) {
|
|
4960
4960
|
typeof y != "function" && (y = new Function("" + y));
|
|
4961
4961
|
for (var A = new Array(arguments.length - 1), I = 0; I < A.length; I++)
|
|
4962
4962
|
A[I] = arguments[I + 1];
|
|
4963
4963
|
var w = { callback: y, args: A };
|
|
4964
4964
|
return l[f] = w, o(f), f++;
|
|
4965
|
-
}, g.clearImmediate =
|
|
4965
|
+
}, g.clearImmediate = b;
|
|
4966
4966
|
}
|
|
4967
|
-
function
|
|
4967
|
+
function b(y) {
|
|
4968
4968
|
delete l[y];
|
|
4969
4969
|
}
|
|
4970
|
-
function
|
|
4970
|
+
function v(y) {
|
|
4971
4971
|
if (p)
|
|
4972
|
-
setTimeout(
|
|
4972
|
+
setTimeout(v, 0, y);
|
|
4973
4973
|
else {
|
|
4974
4974
|
var A = l[y];
|
|
4975
4975
|
if (A) {
|
|
@@ -4995,16 +4995,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4995
4995
|
}
|
|
4996
4996
|
})(A);
|
|
4997
4997
|
} finally {
|
|
4998
|
-
|
|
4998
|
+
b(y), p = !1;
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
5001
5001
|
}
|
|
5002
5002
|
}
|
|
5003
5003
|
function x(y) {
|
|
5004
|
-
y.source === n && typeof y.data == "string" && y.data.indexOf(m) === 0 &&
|
|
5004
|
+
y.source === n && typeof y.data == "string" && y.data.indexOf(m) === 0 && v(+y.data.slice(m.length));
|
|
5005
5005
|
}
|
|
5006
5006
|
})(typeof self == "undefined" ? r === void 0 ? this : r : self);
|
|
5007
|
-
}).call(this, typeof
|
|
5007
|
+
}).call(this, typeof be != "undefined" ? be : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
|
|
5008
5008
|
}, {}] }, {}, [10])(10);
|
|
5009
5009
|
});
|
|
5010
5010
|
})(Aa);
|
|
@@ -5133,7 +5133,7 @@ function fn(s, c) {
|
|
|
5133
5133
|
};
|
|
5134
5134
|
return cr.set(c, r), r;
|
|
5135
5135
|
}
|
|
5136
|
-
wa((s) =>
|
|
5136
|
+
wa((s) => vt(me({}, s), {
|
|
5137
5137
|
get: (c, e, t) => fn(c, e) || s.get(c, e, t),
|
|
5138
5138
|
has: (c, e) => !!fn(c, e) || s.has(c, e)
|
|
5139
5139
|
}));
|
|
@@ -5161,7 +5161,7 @@ function ec(...s) {
|
|
|
5161
5161
|
function mn(s, c) {
|
|
5162
5162
|
return c === Symbol.asyncIterator && Xr(s, [IDBIndex, IDBObjectStore, IDBCursor]) || c === "iterate" && Xr(s, [IDBIndex, IDBObjectStore]);
|
|
5163
5163
|
}
|
|
5164
|
-
wa((s) =>
|
|
5164
|
+
wa((s) => vt(me({}, s), {
|
|
5165
5165
|
get(c, e, t) {
|
|
5166
5166
|
return mn(c, e) ? ec : s.get(c, e, t);
|
|
5167
5167
|
},
|
|
@@ -5192,7 +5192,7 @@ const tc = "AliRTCLog", Li = "AliRTCSessiones", Mi = "AliRTCLogs", ic = () => O(
|
|
|
5192
5192
|
yield s.add(Li, { sid: c });
|
|
5193
5193
|
}), gn = (s, c, e, t) => O(void 0, null, function* () {
|
|
5194
5194
|
yield s.add(Mi, { sid: c, log: t, date: e });
|
|
5195
|
-
}),
|
|
5195
|
+
}), vn = (s, c) => O(void 0, null, function* () {
|
|
5196
5196
|
return yield s.getAllFromIndex(Mi, "sid", c);
|
|
5197
5197
|
}), sc = (s) => O(void 0, null, function* () {
|
|
5198
5198
|
return yield s.getAllFromIndex(Li, "sid");
|
|
@@ -5206,39 +5206,39 @@ const ac = {}, oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5206
5206
|
__proto__: null,
|
|
5207
5207
|
default: ac
|
|
5208
5208
|
}, Symbol.toStringTag, { value: "Module" })), cc = /* @__PURE__ */ Uo(oc);
|
|
5209
|
-
var
|
|
5209
|
+
var bn;
|
|
5210
5210
|
function Ee() {
|
|
5211
|
-
return
|
|
5211
|
+
return bn || (bn = 1, function(s, c) {
|
|
5212
5212
|
(function(e, t) {
|
|
5213
5213
|
s.exports = t();
|
|
5214
|
-
})(
|
|
5214
|
+
})(be, function() {
|
|
5215
5215
|
var e = e || function(t, i) {
|
|
5216
5216
|
var r;
|
|
5217
|
-
if (typeof window != "undefined" && window.crypto && (r = window.crypto), typeof self != "undefined" && self.crypto && (r = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (r = globalThis.crypto), !r && typeof window != "undefined" && window.msCrypto && (r = window.msCrypto), !r && typeof
|
|
5217
|
+
if (typeof window != "undefined" && window.crypto && (r = window.crypto), typeof self != "undefined" && self.crypto && (r = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (r = globalThis.crypto), !r && typeof window != "undefined" && window.msCrypto && (r = window.msCrypto), !r && typeof be != "undefined" && be.crypto && (r = be.crypto), !r && typeof oi == "function")
|
|
5218
5218
|
try {
|
|
5219
5219
|
r = cc;
|
|
5220
|
-
} catch (
|
|
5220
|
+
} catch (v) {
|
|
5221
5221
|
}
|
|
5222
5222
|
var n = function() {
|
|
5223
5223
|
if (r) {
|
|
5224
5224
|
if (typeof r.getRandomValues == "function")
|
|
5225
5225
|
try {
|
|
5226
5226
|
return r.getRandomValues(new Uint32Array(1))[0];
|
|
5227
|
-
} catch (
|
|
5227
|
+
} catch (v) {
|
|
5228
5228
|
}
|
|
5229
5229
|
if (typeof r.randomBytes == "function")
|
|
5230
5230
|
try {
|
|
5231
5231
|
return r.randomBytes(4).readInt32LE();
|
|
5232
|
-
} catch (
|
|
5232
|
+
} catch (v) {
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
5236
5236
|
}, a = Object.create || function() {
|
|
5237
|
-
function
|
|
5237
|
+
function v() {
|
|
5238
5238
|
}
|
|
5239
5239
|
return function(x) {
|
|
5240
5240
|
var y;
|
|
5241
|
-
return
|
|
5241
|
+
return v.prototype = x, y = new v(), v.prototype = null, y;
|
|
5242
5242
|
};
|
|
5243
5243
|
}(), o = {}, u = o.lib = {}, h = u.Base = function() {
|
|
5244
5244
|
return {
|
|
@@ -5260,9 +5260,9 @@ function Ee() {
|
|
|
5260
5260
|
* }
|
|
5261
5261
|
* });
|
|
5262
5262
|
*/
|
|
5263
|
-
extend: function(
|
|
5263
|
+
extend: function(v) {
|
|
5264
5264
|
var x = a(this);
|
|
5265
|
-
return
|
|
5265
|
+
return v && x.mixIn(v), (!x.hasOwnProperty("init") || this.init === x.init) && (x.init = function() {
|
|
5266
5266
|
x.$super.init.apply(this, arguments);
|
|
5267
5267
|
}), x.init.prototype = x, x.$super = this, x;
|
|
5268
5268
|
},
|
|
@@ -5279,8 +5279,8 @@ function Ee() {
|
|
|
5279
5279
|
* var instance = MyType.create();
|
|
5280
5280
|
*/
|
|
5281
5281
|
create: function() {
|
|
5282
|
-
var
|
|
5283
|
-
return
|
|
5282
|
+
var v = this.extend();
|
|
5283
|
+
return v.init.apply(v, arguments), v;
|
|
5284
5284
|
},
|
|
5285
5285
|
/**
|
|
5286
5286
|
* Initializes a newly created object.
|
|
@@ -5307,10 +5307,10 @@ function Ee() {
|
|
|
5307
5307
|
* field: 'value'
|
|
5308
5308
|
* });
|
|
5309
5309
|
*/
|
|
5310
|
-
mixIn: function(
|
|
5311
|
-
for (var x in
|
|
5312
|
-
|
|
5313
|
-
|
|
5310
|
+
mixIn: function(v) {
|
|
5311
|
+
for (var x in v)
|
|
5312
|
+
v.hasOwnProperty(x) && (this[x] = v[x]);
|
|
5313
|
+
v.hasOwnProperty("toString") && (this.toString = v.toString);
|
|
5314
5314
|
},
|
|
5315
5315
|
/**
|
|
5316
5316
|
* Creates a copy of this object.
|
|
@@ -5338,8 +5338,8 @@ function Ee() {
|
|
|
5338
5338
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
|
5339
5339
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
|
5340
5340
|
*/
|
|
5341
|
-
init: function(
|
|
5342
|
-
|
|
5341
|
+
init: function(v, x) {
|
|
5342
|
+
v = this.words = v || [], x != i ? this.sigBytes = x : this.sigBytes = v.length * 4;
|
|
5343
5343
|
},
|
|
5344
5344
|
/**
|
|
5345
5345
|
* Converts this word array to a string.
|
|
@@ -5354,8 +5354,8 @@ function Ee() {
|
|
|
5354
5354
|
* var string = wordArray.toString();
|
|
5355
5355
|
* var string = wordArray.toString(CryptoJS.enc.Utf8);
|
|
5356
5356
|
*/
|
|
5357
|
-
toString: function(
|
|
5358
|
-
return (
|
|
5357
|
+
toString: function(v) {
|
|
5358
|
+
return (v || l).stringify(this);
|
|
5359
5359
|
},
|
|
5360
5360
|
/**
|
|
5361
5361
|
* Concatenates a word array to this word array.
|
|
@@ -5368,8 +5368,8 @@ function Ee() {
|
|
|
5368
5368
|
*
|
|
5369
5369
|
* wordArray1.concat(wordArray2);
|
|
5370
5370
|
*/
|
|
5371
|
-
concat: function(
|
|
5372
|
-
var x = this.words, y =
|
|
5371
|
+
concat: function(v) {
|
|
5372
|
+
var x = this.words, y = v.words, A = this.sigBytes, I = v.sigBytes;
|
|
5373
5373
|
if (this.clamp(), A % 4)
|
|
5374
5374
|
for (var w = 0; w < I; w++) {
|
|
5375
5375
|
var R = y[w >>> 2] >>> 24 - w % 4 * 8 & 255;
|
|
@@ -5388,8 +5388,8 @@ function Ee() {
|
|
|
5388
5388
|
* wordArray.clamp();
|
|
5389
5389
|
*/
|
|
5390
5390
|
clamp: function() {
|
|
5391
|
-
var
|
|
5392
|
-
|
|
5391
|
+
var v = this.words, x = this.sigBytes;
|
|
5392
|
+
v[x >>> 2] &= 4294967295 << 32 - x % 4 * 8, v.length = t.ceil(x / 4);
|
|
5393
5393
|
},
|
|
5394
5394
|
/**
|
|
5395
5395
|
* Creates a copy of this word array.
|
|
@@ -5401,8 +5401,8 @@ function Ee() {
|
|
|
5401
5401
|
* var clone = wordArray.clone();
|
|
5402
5402
|
*/
|
|
5403
5403
|
clone: function() {
|
|
5404
|
-
var
|
|
5405
|
-
return
|
|
5404
|
+
var v = h.clone.call(this);
|
|
5405
|
+
return v.words = this.words.slice(0), v;
|
|
5406
5406
|
},
|
|
5407
5407
|
/**
|
|
5408
5408
|
* Creates a word array filled with random bytes.
|
|
@@ -5417,10 +5417,10 @@ function Ee() {
|
|
|
5417
5417
|
*
|
|
5418
5418
|
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
5419
5419
|
*/
|
|
5420
|
-
random: function(
|
|
5421
|
-
for (var x = [], y = 0; y <
|
|
5420
|
+
random: function(v) {
|
|
5421
|
+
for (var x = [], y = 0; y < v; y += 4)
|
|
5422
5422
|
x.push(n());
|
|
5423
|
-
return new m.init(x,
|
|
5423
|
+
return new m.init(x, v);
|
|
5424
5424
|
}
|
|
5425
5425
|
}), f = o.enc = {}, l = f.Hex = {
|
|
5426
5426
|
/**
|
|
@@ -5436,8 +5436,8 @@ function Ee() {
|
|
|
5436
5436
|
*
|
|
5437
5437
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
5438
5438
|
*/
|
|
5439
|
-
stringify: function(
|
|
5440
|
-
for (var x =
|
|
5439
|
+
stringify: function(v) {
|
|
5440
|
+
for (var x = v.words, y = v.sigBytes, A = [], I = 0; I < y; I++) {
|
|
5441
5441
|
var w = x[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
5442
5442
|
A.push((w >>> 4).toString(16)), A.push((w & 15).toString(16));
|
|
5443
5443
|
}
|
|
@@ -5456,9 +5456,9 @@ function Ee() {
|
|
|
5456
5456
|
*
|
|
5457
5457
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
5458
5458
|
*/
|
|
5459
|
-
parse: function(
|
|
5460
|
-
for (var x =
|
|
5461
|
-
y[A >>> 3] |= parseInt(
|
|
5459
|
+
parse: function(v) {
|
|
5460
|
+
for (var x = v.length, y = [], A = 0; A < x; A += 2)
|
|
5461
|
+
y[A >>> 3] |= parseInt(v.substr(A, 2), 16) << 24 - A % 8 * 4;
|
|
5462
5462
|
return new m.init(y, x / 2);
|
|
5463
5463
|
}
|
|
5464
5464
|
}, p = f.Latin1 = {
|
|
@@ -5475,8 +5475,8 @@ function Ee() {
|
|
|
5475
5475
|
*
|
|
5476
5476
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
5477
5477
|
*/
|
|
5478
|
-
stringify: function(
|
|
5479
|
-
for (var x =
|
|
5478
|
+
stringify: function(v) {
|
|
5479
|
+
for (var x = v.words, y = v.sigBytes, A = [], I = 0; I < y; I++) {
|
|
5480
5480
|
var w = x[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
5481
5481
|
A.push(String.fromCharCode(w));
|
|
5482
5482
|
}
|
|
@@ -5495,9 +5495,9 @@ function Ee() {
|
|
|
5495
5495
|
*
|
|
5496
5496
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
5497
5497
|
*/
|
|
5498
|
-
parse: function(
|
|
5499
|
-
for (var x =
|
|
5500
|
-
y[A >>> 2] |= (
|
|
5498
|
+
parse: function(v) {
|
|
5499
|
+
for (var x = v.length, y = [], A = 0; A < x; A++)
|
|
5500
|
+
y[A >>> 2] |= (v.charCodeAt(A) & 255) << 24 - A % 4 * 8;
|
|
5501
5501
|
return new m.init(y, x);
|
|
5502
5502
|
}
|
|
5503
5503
|
}, d = f.Utf8 = {
|
|
@@ -5514,9 +5514,9 @@ function Ee() {
|
|
|
5514
5514
|
*
|
|
5515
5515
|
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
|
|
5516
5516
|
*/
|
|
5517
|
-
stringify: function(
|
|
5517
|
+
stringify: function(v) {
|
|
5518
5518
|
try {
|
|
5519
|
-
return decodeURIComponent(escape(p.stringify(
|
|
5519
|
+
return decodeURIComponent(escape(p.stringify(v)));
|
|
5520
5520
|
} catch (x) {
|
|
5521
5521
|
throw new Error("Malformed UTF-8 data");
|
|
5522
5522
|
}
|
|
@@ -5534,8 +5534,8 @@ function Ee() {
|
|
|
5534
5534
|
*
|
|
5535
5535
|
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
|
|
5536
5536
|
*/
|
|
5537
|
-
parse: function(
|
|
5538
|
-
return p.parse(unescape(encodeURIComponent(
|
|
5537
|
+
parse: function(v) {
|
|
5538
|
+
return p.parse(unescape(encodeURIComponent(v)));
|
|
5539
5539
|
}
|
|
5540
5540
|
}, g = u.BufferedBlockAlgorithm = h.extend({
|
|
5541
5541
|
/**
|
|
@@ -5558,8 +5558,8 @@ function Ee() {
|
|
|
5558
5558
|
* bufferedBlockAlgorithm._append('data');
|
|
5559
5559
|
* bufferedBlockAlgorithm._append(wordArray);
|
|
5560
5560
|
*/
|
|
5561
|
-
_append: function(
|
|
5562
|
-
typeof
|
|
5561
|
+
_append: function(v) {
|
|
5562
|
+
typeof v == "string" && (v = d.parse(v)), this._data.concat(v), this._nDataBytes += v.sigBytes;
|
|
5563
5563
|
},
|
|
5564
5564
|
/**
|
|
5565
5565
|
* Processes available data blocks.
|
|
@@ -5575,9 +5575,9 @@ function Ee() {
|
|
|
5575
5575
|
* var processedData = bufferedBlockAlgorithm._process();
|
|
5576
5576
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
5577
5577
|
*/
|
|
5578
|
-
_process: function(
|
|
5578
|
+
_process: function(v) {
|
|
5579
5579
|
var x, y = this._data, A = y.words, I = y.sigBytes, w = this.blockSize, R = w * 4, L = I / R;
|
|
5580
|
-
|
|
5580
|
+
v ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
|
|
5581
5581
|
var D = L * w, N = t.min(D * 4, I);
|
|
5582
5582
|
if (D) {
|
|
5583
5583
|
for (var C = 0; C < D; C += w)
|
|
@@ -5596,8 +5596,8 @@ function Ee() {
|
|
|
5596
5596
|
* var clone = bufferedBlockAlgorithm.clone();
|
|
5597
5597
|
*/
|
|
5598
5598
|
clone: function() {
|
|
5599
|
-
var
|
|
5600
|
-
return
|
|
5599
|
+
var v = h.clone.call(this);
|
|
5600
|
+
return v._data = this._data.clone(), v;
|
|
5601
5601
|
},
|
|
5602
5602
|
_minBufferSize: 0
|
|
5603
5603
|
});
|
|
@@ -5615,8 +5615,8 @@ function Ee() {
|
|
|
5615
5615
|
*
|
|
5616
5616
|
* var hasher = CryptoJS.algo.SHA256.create();
|
|
5617
5617
|
*/
|
|
5618
|
-
init: function(
|
|
5619
|
-
this.cfg = this.cfg.extend(
|
|
5618
|
+
init: function(v) {
|
|
5619
|
+
this.cfg = this.cfg.extend(v), this.reset();
|
|
5620
5620
|
},
|
|
5621
5621
|
/**
|
|
5622
5622
|
* Resets this hasher to its initial state.
|
|
@@ -5640,8 +5640,8 @@ function Ee() {
|
|
|
5640
5640
|
* hasher.update('message');
|
|
5641
5641
|
* hasher.update(wordArray);
|
|
5642
5642
|
*/
|
|
5643
|
-
update: function(
|
|
5644
|
-
return this._append(
|
|
5643
|
+
update: function(v) {
|
|
5644
|
+
return this._append(v), this._process(), this;
|
|
5645
5645
|
},
|
|
5646
5646
|
/**
|
|
5647
5647
|
* Finalizes the hash computation.
|
|
@@ -5657,8 +5657,8 @@ function Ee() {
|
|
|
5657
5657
|
* var hash = hasher.finalize('message');
|
|
5658
5658
|
* var hash = hasher.finalize(wordArray);
|
|
5659
5659
|
*/
|
|
5660
|
-
finalize: function(
|
|
5661
|
-
|
|
5660
|
+
finalize: function(v) {
|
|
5661
|
+
v && this._append(v);
|
|
5662
5662
|
var x = this._doFinalize();
|
|
5663
5663
|
return x;
|
|
5664
5664
|
},
|
|
@@ -5676,9 +5676,9 @@ function Ee() {
|
|
|
5676
5676
|
*
|
|
5677
5677
|
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
5678
5678
|
*/
|
|
5679
|
-
_createHelper: function(
|
|
5679
|
+
_createHelper: function(v) {
|
|
5680
5680
|
return function(x, y) {
|
|
5681
|
-
return new
|
|
5681
|
+
return new v.init(y).finalize(x);
|
|
5682
5682
|
};
|
|
5683
5683
|
},
|
|
5684
5684
|
/**
|
|
@@ -5694,13 +5694,13 @@ function Ee() {
|
|
|
5694
5694
|
*
|
|
5695
5695
|
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
5696
5696
|
*/
|
|
5697
|
-
_createHmacHelper: function(
|
|
5697
|
+
_createHmacHelper: function(v) {
|
|
5698
5698
|
return function(x, y) {
|
|
5699
|
-
return new
|
|
5699
|
+
return new b.HMAC.init(v, y).finalize(x);
|
|
5700
5700
|
};
|
|
5701
5701
|
}
|
|
5702
5702
|
});
|
|
5703
|
-
var
|
|
5703
|
+
var b = o.algo = {};
|
|
5704
5704
|
return o;
|
|
5705
5705
|
}(Math);
|
|
5706
5706
|
return e;
|
|
@@ -5712,7 +5712,7 @@ function Ni() {
|
|
|
5712
5712
|
return xn || (xn = 1, function(s, c) {
|
|
5713
5713
|
(function(e, t) {
|
|
5714
5714
|
s.exports = t(Ee());
|
|
5715
|
-
})(
|
|
5715
|
+
})(be, function(e) {
|
|
5716
5716
|
return function(t) {
|
|
5717
5717
|
var i = e, r = i.lib, n = r.Base, a = r.WordArray, o = i.x64 = {};
|
|
5718
5718
|
o.Word = n.extend({
|
|
@@ -5942,7 +5942,7 @@ function uc() {
|
|
|
5942
5942
|
return Sn || (Sn = 1, function(s, c) {
|
|
5943
5943
|
(function(e, t) {
|
|
5944
5944
|
s.exports = t(Ee());
|
|
5945
|
-
})(
|
|
5945
|
+
})(be, function(e) {
|
|
5946
5946
|
return function() {
|
|
5947
5947
|
if (typeof ArrayBuffer == "function") {
|
|
5948
5948
|
var t = e, i = t.lib, r = i.WordArray, n = r.init, a = r.init = function(o) {
|
|
@@ -5964,7 +5964,7 @@ function hc() {
|
|
|
5964
5964
|
return _n || (_n = 1, function(s, c) {
|
|
5965
5965
|
(function(e, t) {
|
|
5966
5966
|
s.exports = t(Ee());
|
|
5967
|
-
})(
|
|
5967
|
+
})(be, function(e) {
|
|
5968
5968
|
return function() {
|
|
5969
5969
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
5970
5970
|
n.Utf16 = n.Utf16BE = {
|
|
@@ -6058,7 +6058,7 @@ function Wt() {
|
|
|
6058
6058
|
return yn || (yn = 1, function(s, c) {
|
|
6059
6059
|
(function(e, t) {
|
|
6060
6060
|
s.exports = t(Ee());
|
|
6061
|
-
})(
|
|
6061
|
+
})(be, function(e) {
|
|
6062
6062
|
return function() {
|
|
6063
6063
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
6064
6064
|
n.Base64 = {
|
|
@@ -6079,8 +6079,8 @@ function Wt() {
|
|
|
6079
6079
|
var u = o.words, h = o.sigBytes, m = this._map;
|
|
6080
6080
|
o.clamp();
|
|
6081
6081
|
for (var f = [], l = 0; l < h; l += 3)
|
|
6082
|
-
for (var p = u[l >>> 2] >>> 24 - l % 4 * 8 & 255, d = u[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255, g = u[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255,
|
|
6083
|
-
f.push(m.charAt(
|
|
6082
|
+
for (var p = u[l >>> 2] >>> 24 - l % 4 * 8 & 255, d = u[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255, g = u[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255, b = p << 16 | d << 8 | g, v = 0; v < 4 && l + v * 0.75 < h; v++)
|
|
6083
|
+
f.push(m.charAt(b >>> 6 * (3 - v) & 63));
|
|
6084
6084
|
var x = m.charAt(64);
|
|
6085
6085
|
if (x)
|
|
6086
6086
|
for (; f.length % 4; )
|
|
@@ -6133,7 +6133,7 @@ function dc() {
|
|
|
6133
6133
|
return En || (En = 1, function(s, c) {
|
|
6134
6134
|
(function(e, t) {
|
|
6135
6135
|
s.exports = t(Ee());
|
|
6136
|
-
})(
|
|
6136
|
+
})(be, function(e) {
|
|
6137
6137
|
return function() {
|
|
6138
6138
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
6139
6139
|
n.Base64url = {
|
|
@@ -6157,8 +6157,8 @@ function dc() {
|
|
|
6157
6157
|
var h = o.words, m = o.sigBytes, f = u ? this._safe_map : this._map;
|
|
6158
6158
|
o.clamp();
|
|
6159
6159
|
for (var l = [], p = 0; p < m; p += 3)
|
|
6160
|
-
for (var d = h[p >>> 2] >>> 24 - p % 4 * 8 & 255, g = h[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255,
|
|
6161
|
-
l.push(f.charAt(
|
|
6160
|
+
for (var d = h[p >>> 2] >>> 24 - p % 4 * 8 & 255, g = h[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255, b = h[p + 2 >>> 2] >>> 24 - (p + 2) % 4 * 8 & 255, v = d << 16 | g << 8 | b, x = 0; x < 4 && p + x * 0.75 < m; x++)
|
|
6161
|
+
l.push(f.charAt(v >>> 6 * (3 - x) & 63));
|
|
6162
6162
|
var y = f.charAt(64);
|
|
6163
6163
|
if (y)
|
|
6164
6164
|
for (; l.length % 4; )
|
|
@@ -6215,7 +6215,7 @@ function Kt() {
|
|
|
6215
6215
|
return An || (An = 1, function(s, c) {
|
|
6216
6216
|
(function(e, t) {
|
|
6217
6217
|
s.exports = t(Ee());
|
|
6218
|
-
})(
|
|
6218
|
+
})(be, function(e) {
|
|
6219
6219
|
return function(t) {
|
|
6220
6220
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.algo, u = [];
|
|
6221
6221
|
(function() {
|
|
@@ -6232,18 +6232,18 @@ function Kt() {
|
|
|
6232
6232
|
]);
|
|
6233
6233
|
},
|
|
6234
6234
|
_doProcessBlock: function(d, g) {
|
|
6235
|
-
for (var
|
|
6236
|
-
var
|
|
6237
|
-
d[
|
|
6235
|
+
for (var b = 0; b < 16; b++) {
|
|
6236
|
+
var v = g + b, x = d[v];
|
|
6237
|
+
d[v] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
6238
6238
|
}
|
|
6239
6239
|
var y = this._hash.words, A = d[g + 0], I = d[g + 1], w = d[g + 2], R = d[g + 3], L = d[g + 4], D = d[g + 5], N = d[g + 6], C = d[g + 7], M = d[g + 8], E = d[g + 9], U = d[g + 10], te = d[g + 11], q = d[g + 12], oe = d[g + 13], $ = d[g + 14], se = d[g + 15], T = y[0], P = y[1], z = y[2], F = y[3];
|
|
6240
6240
|
T = m(T, P, z, F, A, 7, u[0]), F = m(F, T, P, z, I, 12, u[1]), z = m(z, F, T, P, w, 17, u[2]), P = m(P, z, F, T, R, 22, u[3]), T = m(T, P, z, F, L, 7, u[4]), F = m(F, T, P, z, D, 12, u[5]), z = m(z, F, T, P, N, 17, u[6]), P = m(P, z, F, T, C, 22, u[7]), T = m(T, P, z, F, M, 7, u[8]), F = m(F, T, P, z, E, 12, u[9]), z = m(z, F, T, P, U, 17, u[10]), P = m(P, z, F, T, te, 22, u[11]), T = m(T, P, z, F, q, 7, u[12]), F = m(F, T, P, z, oe, 12, u[13]), z = m(z, F, T, P, $, 17, u[14]), P = m(P, z, F, T, se, 22, u[15]), T = f(T, P, z, F, I, 5, u[16]), F = f(F, T, P, z, N, 9, u[17]), z = f(z, F, T, P, te, 14, u[18]), P = f(P, z, F, T, A, 20, u[19]), T = f(T, P, z, F, D, 5, u[20]), F = f(F, T, P, z, U, 9, u[21]), z = f(z, F, T, P, se, 14, u[22]), P = f(P, z, F, T, L, 20, u[23]), T = f(T, P, z, F, E, 5, u[24]), F = f(F, T, P, z, $, 9, u[25]), z = f(z, F, T, P, R, 14, u[26]), P = f(P, z, F, T, M, 20, u[27]), T = f(T, P, z, F, oe, 5, u[28]), F = f(F, T, P, z, w, 9, u[29]), z = f(z, F, T, P, C, 14, u[30]), P = f(P, z, F, T, q, 20, u[31]), T = l(T, P, z, F, D, 4, u[32]), F = l(F, T, P, z, M, 11, u[33]), z = l(z, F, T, P, te, 16, u[34]), P = l(P, z, F, T, $, 23, u[35]), T = l(T, P, z, F, I, 4, u[36]), F = l(F, T, P, z, L, 11, u[37]), z = l(z, F, T, P, C, 16, u[38]), P = l(P, z, F, T, U, 23, u[39]), T = l(T, P, z, F, oe, 4, u[40]), F = l(F, T, P, z, A, 11, u[41]), z = l(z, F, T, P, R, 16, u[42]), P = l(P, z, F, T, N, 23, u[43]), T = l(T, P, z, F, E, 4, u[44]), F = l(F, T, P, z, q, 11, u[45]), z = l(z, F, T, P, se, 16, u[46]), P = l(P, z, F, T, w, 23, u[47]), T = p(T, P, z, F, A, 6, u[48]), F = p(F, T, P, z, C, 10, u[49]), z = p(z, F, T, P, $, 15, u[50]), P = p(P, z, F, T, D, 21, u[51]), T = p(T, P, z, F, q, 6, u[52]), F = p(F, T, P, z, R, 10, u[53]), z = p(z, F, T, P, U, 15, u[54]), P = p(P, z, F, T, I, 21, u[55]), T = p(T, P, z, F, M, 6, u[56]), F = p(F, T, P, z, se, 10, u[57]), z = p(z, F, T, P, N, 15, u[58]), P = p(P, z, F, T, oe, 21, u[59]), T = p(T, P, z, F, L, 6, u[60]), F = p(F, T, P, z, te, 10, u[61]), z = p(z, F, T, P, w, 15, u[62]), P = p(P, z, F, T, E, 21, u[63]), y[0] = y[0] + T | 0, y[1] = y[1] + P | 0, y[2] = y[2] + z | 0, y[3] = y[3] + F | 0;
|
|
6241
6241
|
},
|
|
6242
6242
|
_doFinalize: function() {
|
|
6243
|
-
var d = this._data, g = d.words,
|
|
6244
|
-
g[
|
|
6245
|
-
var x = t.floor(
|
|
6246
|
-
g[(
|
|
6243
|
+
var d = this._data, g = d.words, b = this._nDataBytes * 8, v = d.sigBytes * 8;
|
|
6244
|
+
g[v >>> 5] |= 128 << 24 - v % 32;
|
|
6245
|
+
var x = t.floor(b / 4294967296), y = b;
|
|
6246
|
+
g[(v + 64 >>> 9 << 4) + 15] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, g[(v + 64 >>> 9 << 4) + 14] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, d.sigBytes = (g.length + 1) * 4, this._process();
|
|
6247
6247
|
for (var A = this._hash, I = A.words, w = 0; w < 4; w++) {
|
|
6248
6248
|
var R = I[w];
|
|
6249
6249
|
I[w] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360;
|
|
@@ -6255,20 +6255,20 @@ function Kt() {
|
|
|
6255
6255
|
return d._hash = this._hash.clone(), d;
|
|
6256
6256
|
}
|
|
6257
6257
|
});
|
|
6258
|
-
function m(d, g,
|
|
6259
|
-
var I = d + (g &
|
|
6258
|
+
function m(d, g, b, v, x, y, A) {
|
|
6259
|
+
var I = d + (g & b | ~g & v) + x + A;
|
|
6260
6260
|
return (I << y | I >>> 32 - y) + g;
|
|
6261
6261
|
}
|
|
6262
|
-
function f(d, g,
|
|
6263
|
-
var I = d + (g &
|
|
6262
|
+
function f(d, g, b, v, x, y, A) {
|
|
6263
|
+
var I = d + (g & v | b & ~v) + x + A;
|
|
6264
6264
|
return (I << y | I >>> 32 - y) + g;
|
|
6265
6265
|
}
|
|
6266
|
-
function l(d, g,
|
|
6267
|
-
var I = d + (g ^
|
|
6266
|
+
function l(d, g, b, v, x, y, A) {
|
|
6267
|
+
var I = d + (g ^ b ^ v) + x + A;
|
|
6268
6268
|
return (I << y | I >>> 32 - y) + g;
|
|
6269
6269
|
}
|
|
6270
|
-
function p(d, g,
|
|
6271
|
-
var I = d + (
|
|
6270
|
+
function p(d, g, b, v, x, y, A) {
|
|
6271
|
+
var I = d + (b ^ (g | ~v)) + x + A;
|
|
6272
6272
|
return (I << y | I >>> 32 - y) + g;
|
|
6273
6273
|
}
|
|
6274
6274
|
i.MD5 = a._createHelper(h), i.HmacMD5 = a._createHmacHelper(h);
|
|
@@ -6276,12 +6276,12 @@ function Kt() {
|
|
|
6276
6276
|
});
|
|
6277
6277
|
}(gr)), gr.exports;
|
|
6278
6278
|
}
|
|
6279
|
-
var
|
|
6279
|
+
var vr = { exports: {} }, wn;
|
|
6280
6280
|
function Ra() {
|
|
6281
6281
|
return wn || (wn = 1, function(s, c) {
|
|
6282
6282
|
(function(e, t) {
|
|
6283
6283
|
s.exports = t(Ee());
|
|
6284
|
-
})(
|
|
6284
|
+
})(be, function(e) {
|
|
6285
6285
|
return function() {
|
|
6286
6286
|
var t = e, i = t.lib, r = i.WordArray, n = i.Hasher, a = t.algo, o = [], u = a.SHA1 = n.extend({
|
|
6287
6287
|
_doReset: function() {
|
|
@@ -6294,17 +6294,17 @@ function Ra() {
|
|
|
6294
6294
|
]);
|
|
6295
6295
|
},
|
|
6296
6296
|
_doProcessBlock: function(h, m) {
|
|
6297
|
-
for (var f = this._hash.words, l = f[0], p = f[1], d = f[2], g = f[3],
|
|
6298
|
-
if (
|
|
6299
|
-
o[
|
|
6297
|
+
for (var f = this._hash.words, l = f[0], p = f[1], d = f[2], g = f[3], b = f[4], v = 0; v < 80; v++) {
|
|
6298
|
+
if (v < 16)
|
|
6299
|
+
o[v] = h[m + v] | 0;
|
|
6300
6300
|
else {
|
|
6301
|
-
var x = o[
|
|
6302
|
-
o[
|
|
6301
|
+
var x = o[v - 3] ^ o[v - 8] ^ o[v - 14] ^ o[v - 16];
|
|
6302
|
+
o[v] = x << 1 | x >>> 31;
|
|
6303
6303
|
}
|
|
6304
|
-
var y = (l << 5 | l >>> 27) +
|
|
6305
|
-
|
|
6304
|
+
var y = (l << 5 | l >>> 27) + b + o[v];
|
|
6305
|
+
v < 20 ? y += (p & d | ~p & g) + 1518500249 : v < 40 ? y += (p ^ d ^ g) + 1859775393 : v < 60 ? y += (p & d | p & g | d & g) - 1894007588 : y += (p ^ d ^ g) - 899497514, b = g, g = d, d = p << 30 | p >>> 2, p = l, l = y;
|
|
6306
6306
|
}
|
|
6307
|
-
f[0] = f[0] + l | 0, f[1] = f[1] + p | 0, f[2] = f[2] + d | 0, f[3] = f[3] + g | 0, f[4] = f[4] +
|
|
6307
|
+
f[0] = f[0] + l | 0, f[1] = f[1] + p | 0, f[2] = f[2] + d | 0, f[3] = f[3] + g | 0, f[4] = f[4] + b | 0;
|
|
6308
6308
|
},
|
|
6309
6309
|
_doFinalize: function() {
|
|
6310
6310
|
var h = this._data, m = h.words, f = this._nDataBytes * 8, l = h.sigBytes * 8;
|
|
@@ -6318,25 +6318,25 @@ function Ra() {
|
|
|
6318
6318
|
t.SHA1 = n._createHelper(u), t.HmacSHA1 = n._createHmacHelper(u);
|
|
6319
6319
|
}(), e.SHA1;
|
|
6320
6320
|
});
|
|
6321
|
-
}(
|
|
6321
|
+
}(vr)), vr.exports;
|
|
6322
6322
|
}
|
|
6323
|
-
var
|
|
6323
|
+
var br = { exports: {} }, Cn;
|
|
6324
6324
|
function ls() {
|
|
6325
6325
|
return Cn || (Cn = 1, function(s, c) {
|
|
6326
6326
|
(function(e, t) {
|
|
6327
6327
|
s.exports = t(Ee());
|
|
6328
|
-
})(
|
|
6328
|
+
})(be, function(e) {
|
|
6329
6329
|
return function(t) {
|
|
6330
6330
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.algo, u = [], h = [];
|
|
6331
6331
|
(function() {
|
|
6332
|
-
function l(
|
|
6333
|
-
for (var
|
|
6334
|
-
if (!(
|
|
6332
|
+
function l(b) {
|
|
6333
|
+
for (var v = t.sqrt(b), x = 2; x <= v; x++)
|
|
6334
|
+
if (!(b % x))
|
|
6335
6335
|
return !1;
|
|
6336
6336
|
return !0;
|
|
6337
6337
|
}
|
|
6338
|
-
function p(
|
|
6339
|
-
return (
|
|
6338
|
+
function p(b) {
|
|
6339
|
+
return (b - (b | 0)) * 4294967296 | 0;
|
|
6340
6340
|
}
|
|
6341
6341
|
for (var d = 2, g = 0; g < 64; )
|
|
6342
6342
|
l(d) && (g < 8 && (u[g] = p(t.pow(d, 1 / 2))), h[g] = p(t.pow(d, 1 / 3)), g++), d++;
|
|
@@ -6346,17 +6346,17 @@ function ls() {
|
|
|
6346
6346
|
this._hash = new n.init(u.slice(0));
|
|
6347
6347
|
},
|
|
6348
6348
|
_doProcessBlock: function(l, p) {
|
|
6349
|
-
for (var d = this._hash.words, g = d[0],
|
|
6349
|
+
for (var d = this._hash.words, g = d[0], b = d[1], v = d[2], x = d[3], y = d[4], A = d[5], I = d[6], w = d[7], R = 0; R < 64; R++) {
|
|
6350
6350
|
if (R < 16)
|
|
6351
6351
|
m[R] = l[p + R] | 0;
|
|
6352
6352
|
else {
|
|
6353
6353
|
var L = m[R - 15], D = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3, N = m[R - 2], C = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
|
|
6354
6354
|
m[R] = D + m[R - 7] + C + m[R - 16];
|
|
6355
6355
|
}
|
|
6356
|
-
var M = y & A ^ ~y & I, E = g &
|
|
6357
|
-
w = I, I = A, A = y, y = x + q | 0, x =
|
|
6356
|
+
var M = y & A ^ ~y & I, E = g & b ^ g & v ^ b & v, U = (g << 30 | g >>> 2) ^ (g << 19 | g >>> 13) ^ (g << 10 | g >>> 22), te = (y << 26 | y >>> 6) ^ (y << 21 | y >>> 11) ^ (y << 7 | y >>> 25), q = w + te + M + h[R] + m[R], oe = U + E;
|
|
6357
|
+
w = I, I = A, A = y, y = x + q | 0, x = v, v = b, b = g, g = q + oe | 0;
|
|
6358
6358
|
}
|
|
6359
|
-
d[0] = d[0] + g | 0, d[1] = d[1] +
|
|
6359
|
+
d[0] = d[0] + g | 0, d[1] = d[1] + b | 0, d[2] = d[2] + v | 0, d[3] = d[3] + x | 0, d[4] = d[4] + y | 0, d[5] = d[5] + A | 0, d[6] = d[6] + I | 0, d[7] = d[7] + w | 0;
|
|
6360
6360
|
},
|
|
6361
6361
|
_doFinalize: function() {
|
|
6362
6362
|
var l = this._data, p = l.words, d = this._nDataBytes * 8, g = l.sigBytes * 8;
|
|
@@ -6370,14 +6370,14 @@ function ls() {
|
|
|
6370
6370
|
i.SHA256 = a._createHelper(f), i.HmacSHA256 = a._createHmacHelper(f);
|
|
6371
6371
|
}(Math), e.SHA256;
|
|
6372
6372
|
});
|
|
6373
|
-
}(
|
|
6373
|
+
}(br)), br.exports;
|
|
6374
6374
|
}
|
|
6375
6375
|
var xr = { exports: {} }, In;
|
|
6376
6376
|
function lc() {
|
|
6377
6377
|
return In || (In = 1, function(s, c) {
|
|
6378
6378
|
(function(e, t, i) {
|
|
6379
6379
|
s.exports = t(Ee(), ls());
|
|
6380
|
-
})(
|
|
6380
|
+
})(be, function(e) {
|
|
6381
6381
|
return function() {
|
|
6382
6382
|
var t = e, i = t.lib, r = i.WordArray, n = t.algo, a = n.SHA256, o = n.SHA224 = a.extend({
|
|
6383
6383
|
_doReset: function() {
|
|
@@ -6407,7 +6407,7 @@ function Da() {
|
|
|
6407
6407
|
return Rn || (Rn = 1, function(s, c) {
|
|
6408
6408
|
(function(e, t, i) {
|
|
6409
6409
|
s.exports = t(Ee(), Ni());
|
|
6410
|
-
})(
|
|
6410
|
+
})(be, function(e) {
|
|
6411
6411
|
return function() {
|
|
6412
6412
|
var t = e, i = t.lib, r = i.Hasher, n = t.x64, a = n.Word, o = n.WordArray, u = t.algo;
|
|
6413
6413
|
function h() {
|
|
@@ -6513,24 +6513,24 @@ function Da() {
|
|
|
6513
6513
|
]);
|
|
6514
6514
|
},
|
|
6515
6515
|
_doProcessBlock: function(p, d) {
|
|
6516
|
-
for (var g = this._hash.words,
|
|
6516
|
+
for (var g = this._hash.words, b = g[0], v = g[1], x = g[2], y = g[3], A = g[4], I = g[5], w = g[6], R = g[7], L = b.high, D = b.low, N = v.high, C = v.low, M = x.high, E = x.low, U = y.high, te = y.low, q = A.high, oe = A.low, $ = I.high, se = I.low, T = w.high, P = w.low, z = R.high, F = R.low, K = L, Q = D, pe = N, ce = C, ve = M, we = E, Ae = U, Fe = te, Ce = q, S = oe, J = $, W = se, B = T, k = P, V = z, Z = F, X = 0; X < 80; X++) {
|
|
6517
6517
|
var H, ee, he = f[X];
|
|
6518
6518
|
if (X < 16)
|
|
6519
6519
|
ee = he.high = p[d + X * 2] | 0, H = he.low = p[d + X * 2 + 1] | 0;
|
|
6520
6520
|
else {
|
|
6521
|
-
var ie = f[X - 15], fe = ie.high, _e = ie.low, xe = (fe >>> 1 | _e << 31) ^ (fe >>> 8 | _e << 24) ^ fe >>> 7, Ke = (_e >>> 1 | fe << 31) ^ (_e >>> 8 | fe << 24) ^ (_e >>> 7 | fe << 25), mt = f[X - 2], Me = mt.high, it = mt.low, Be = (Me >>> 19 | it << 13) ^ (Me << 3 | it >>> 29) ^ Me >>> 6, gt = (it >>> 19 | Me << 13) ^ (it << 3 | Me >>> 29) ^ (it >>> 6 | Me << 26), $t = f[X - 7], lt = $t.high,
|
|
6522
|
-
H = Ke +
|
|
6521
|
+
var ie = f[X - 15], fe = ie.high, _e = ie.low, xe = (fe >>> 1 | _e << 31) ^ (fe >>> 8 | _e << 24) ^ fe >>> 7, Ke = (_e >>> 1 | fe << 31) ^ (_e >>> 8 | fe << 24) ^ (_e >>> 7 | fe << 25), mt = f[X - 2], Me = mt.high, it = mt.low, Be = (Me >>> 19 | it << 13) ^ (Me << 3 | it >>> 29) ^ Me >>> 6, gt = (it >>> 19 | Me << 13) ^ (it << 3 | Me >>> 29) ^ (it >>> 6 | Me << 26), $t = f[X - 7], lt = $t.high, bi = $t.low, xi = f[X - 16], ji = xi.high, Si = xi.low;
|
|
6522
|
+
H = Ke + bi, ee = xe + lt + (H >>> 0 < Ke >>> 0 ? 1 : 0), H = H + gt, ee = ee + Be + (H >>> 0 < gt >>> 0 ? 1 : 0), H = H + Si, ee = ee + ji + (H >>> 0 < Si >>> 0 ? 1 : 0), he.high = ee, he.low = H;
|
|
6523
6523
|
}
|
|
6524
|
-
var _i = Ce & J ^ ~Ce & B, Et = S & W ^ ~S & k, qt = K & pe ^ K &
|
|
6525
|
-
V = B, Z = k, B = J, k = W, J = Ce, W = S, S = Fe + at | 0, Ce = Ae + At + (S >>> 0 < Fe >>> 0 ? 1 : 0) | 0, Ae =
|
|
6524
|
+
var _i = Ce & J ^ ~Ce & B, Et = S & W ^ ~S & k, qt = K & pe ^ K & ve ^ pe & ve, Qa = Q & ce ^ Q & we ^ ce & we, eo = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), As = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), to = (Ce >>> 14 | S << 18) ^ (Ce >>> 18 | S << 14) ^ (Ce << 23 | S >>> 9), io = (S >>> 14 | Ce << 18) ^ (S >>> 18 | Ce << 14) ^ (S << 23 | Ce >>> 9), ws = m[X], ro = ws.high, Cs = ws.low, at = Z + io, At = V + to + (at >>> 0 < Z >>> 0 ? 1 : 0), at = at + Et, At = At + _i + (at >>> 0 < Et >>> 0 ? 1 : 0), at = at + Cs, At = At + ro + (at >>> 0 < Cs >>> 0 ? 1 : 0), at = at + H, At = At + ee + (at >>> 0 < H >>> 0 ? 1 : 0), Is = As + Qa, so = eo + qt + (Is >>> 0 < As >>> 0 ? 1 : 0);
|
|
6525
|
+
V = B, Z = k, B = J, k = W, J = Ce, W = S, S = Fe + at | 0, Ce = Ae + At + (S >>> 0 < Fe >>> 0 ? 1 : 0) | 0, Ae = ve, Fe = we, ve = pe, we = ce, pe = K, ce = Q, Q = at + Is | 0, K = At + so + (Q >>> 0 < at >>> 0 ? 1 : 0) | 0;
|
|
6526
6526
|
}
|
|
6527
|
-
D =
|
|
6527
|
+
D = b.low = D + Q, b.high = L + K + (D >>> 0 < Q >>> 0 ? 1 : 0), C = v.low = C + ce, v.high = N + pe + (C >>> 0 < ce >>> 0 ? 1 : 0), E = x.low = E + we, x.high = M + ve + (E >>> 0 < we >>> 0 ? 1 : 0), te = y.low = te + Fe, y.high = U + Ae + (te >>> 0 < Fe >>> 0 ? 1 : 0), oe = A.low = oe + S, A.high = q + Ce + (oe >>> 0 < S >>> 0 ? 1 : 0), se = I.low = se + W, I.high = $ + J + (se >>> 0 < W >>> 0 ? 1 : 0), P = w.low = P + k, w.high = T + B + (P >>> 0 < k >>> 0 ? 1 : 0), F = R.low = F + Z, R.high = z + V + (F >>> 0 < Z >>> 0 ? 1 : 0);
|
|
6528
6528
|
},
|
|
6529
6529
|
_doFinalize: function() {
|
|
6530
|
-
var p = this._data, d = p.words, g = this._nDataBytes * 8,
|
|
6531
|
-
d[
|
|
6532
|
-
var
|
|
6533
|
-
return
|
|
6530
|
+
var p = this._data, d = p.words, g = this._nDataBytes * 8, b = p.sigBytes * 8;
|
|
6531
|
+
d[b >>> 5] |= 128 << 24 - b % 32, d[(b + 128 >>> 10 << 5) + 30] = Math.floor(g / 4294967296), d[(b + 128 >>> 10 << 5) + 31] = g, p.sigBytes = d.length * 4, this._process();
|
|
6532
|
+
var v = this._hash.toX32();
|
|
6533
|
+
return v;
|
|
6534
6534
|
},
|
|
6535
6535
|
clone: function() {
|
|
6536
6536
|
var p = r.clone.call(this);
|
|
@@ -6548,7 +6548,7 @@ function fc() {
|
|
|
6548
6548
|
return Dn || (Dn = 1, function(s, c) {
|
|
6549
6549
|
(function(e, t, i) {
|
|
6550
6550
|
s.exports = t(Ee(), Ni(), Da());
|
|
6551
|
-
})(
|
|
6551
|
+
})(be, function(e) {
|
|
6552
6552
|
return function() {
|
|
6553
6553
|
var t = e, i = t.x64, r = i.Word, n = i.WordArray, a = t.algo, o = a.SHA512, u = a.SHA384 = o.extend({
|
|
6554
6554
|
_doReset: function() {
|
|
@@ -6578,18 +6578,18 @@ function pc() {
|
|
|
6578
6578
|
return kn || (kn = 1, function(s, c) {
|
|
6579
6579
|
(function(e, t, i) {
|
|
6580
6580
|
s.exports = t(Ee(), Ni());
|
|
6581
|
-
})(
|
|
6581
|
+
})(be, function(e) {
|
|
6582
6582
|
return function(t) {
|
|
6583
6583
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.x64, u = o.Word, h = i.algo, m = [], f = [], l = [];
|
|
6584
6584
|
(function() {
|
|
6585
|
-
for (var g = 1,
|
|
6586
|
-
m[g + 5 *
|
|
6587
|
-
var x =
|
|
6588
|
-
g = x,
|
|
6585
|
+
for (var g = 1, b = 0, v = 0; v < 24; v++) {
|
|
6586
|
+
m[g + 5 * b] = (v + 1) * (v + 2) / 2 % 64;
|
|
6587
|
+
var x = b % 5, y = (2 * g + 3 * b) % 5;
|
|
6588
|
+
g = x, b = y;
|
|
6589
6589
|
}
|
|
6590
6590
|
for (var g = 0; g < 5; g++)
|
|
6591
|
-
for (var
|
|
6592
|
-
f[g + 5 *
|
|
6591
|
+
for (var b = 0; b < 5; b++)
|
|
6592
|
+
f[g + 5 * b] = b + (2 * g + 3 * b) % 5 * 5;
|
|
6593
6593
|
for (var A = 1, I = 0; I < 24; I++) {
|
|
6594
6594
|
for (var w = 0, R = 0, L = 0; L < 7; L++) {
|
|
6595
6595
|
if (A & 1) {
|
|
@@ -6619,21 +6619,21 @@ function pc() {
|
|
|
6619
6619
|
outputLength: 512
|
|
6620
6620
|
}),
|
|
6621
6621
|
_doReset: function() {
|
|
6622
|
-
for (var g = this._state = [],
|
|
6623
|
-
g[
|
|
6622
|
+
for (var g = this._state = [], b = 0; b < 25; b++)
|
|
6623
|
+
g[b] = new u.init();
|
|
6624
6624
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
6625
6625
|
},
|
|
6626
|
-
_doProcessBlock: function(g,
|
|
6627
|
-
for (var
|
|
6628
|
-
var A = g[
|
|
6626
|
+
_doProcessBlock: function(g, b) {
|
|
6627
|
+
for (var v = this._state, x = this.blockSize / 2, y = 0; y < x; y++) {
|
|
6628
|
+
var A = g[b + 2 * y], I = g[b + 2 * y + 1];
|
|
6629
6629
|
A = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360, I = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
|
|
6630
|
-
var w =
|
|
6630
|
+
var w = v[y];
|
|
6631
6631
|
w.high ^= I, w.low ^= A;
|
|
6632
6632
|
}
|
|
6633
6633
|
for (var R = 0; R < 24; R++) {
|
|
6634
6634
|
for (var L = 0; L < 5; L++) {
|
|
6635
6635
|
for (var D = 0, N = 0, C = 0; C < 5; C++) {
|
|
6636
|
-
var w =
|
|
6636
|
+
var w = v[L + 5 * C];
|
|
6637
6637
|
D ^= w.high, N ^= w.low;
|
|
6638
6638
|
}
|
|
6639
6639
|
var M = p[L];
|
|
@@ -6641,31 +6641,31 @@ function pc() {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
for (var L = 0; L < 5; L++)
|
|
6643
6643
|
for (var E = p[(L + 4) % 5], U = p[(L + 1) % 5], te = U.high, q = U.low, D = E.high ^ (te << 1 | q >>> 31), N = E.low ^ (q << 1 | te >>> 31), C = 0; C < 5; C++) {
|
|
6644
|
-
var w =
|
|
6644
|
+
var w = v[L + 5 * C];
|
|
6645
6645
|
w.high ^= D, w.low ^= N;
|
|
6646
6646
|
}
|
|
6647
6647
|
for (var oe = 1; oe < 25; oe++) {
|
|
6648
|
-
var D, N, w =
|
|
6648
|
+
var D, N, w = v[oe], $ = w.high, se = w.low, T = m[oe];
|
|
6649
6649
|
T < 32 ? (D = $ << T | se >>> 32 - T, N = se << T | $ >>> 32 - T) : (D = se << T - 32 | $ >>> 64 - T, N = $ << T - 32 | se >>> 64 - T);
|
|
6650
6650
|
var P = p[f[oe]];
|
|
6651
6651
|
P.high = D, P.low = N;
|
|
6652
6652
|
}
|
|
6653
|
-
var z = p[0], F =
|
|
6653
|
+
var z = p[0], F = v[0];
|
|
6654
6654
|
z.high = F.high, z.low = F.low;
|
|
6655
6655
|
for (var L = 0; L < 5; L++)
|
|
6656
6656
|
for (var C = 0; C < 5; C++) {
|
|
6657
|
-
var oe = L + 5 * C, w =
|
|
6657
|
+
var oe = L + 5 * C, w = v[oe], K = p[oe], Q = p[(L + 1) % 5 + 5 * C], pe = p[(L + 2) % 5 + 5 * C];
|
|
6658
6658
|
w.high = K.high ^ ~Q.high & pe.high, w.low = K.low ^ ~Q.low & pe.low;
|
|
6659
6659
|
}
|
|
6660
|
-
var w =
|
|
6660
|
+
var w = v[0], ce = l[R];
|
|
6661
6661
|
w.high ^= ce.high, w.low ^= ce.low;
|
|
6662
6662
|
}
|
|
6663
6663
|
},
|
|
6664
6664
|
_doFinalize: function() {
|
|
6665
|
-
var g = this._data,
|
|
6665
|
+
var g = this._data, b = g.words;
|
|
6666
6666
|
this._nDataBytes * 8;
|
|
6667
|
-
var
|
|
6668
|
-
v
|
|
6667
|
+
var v = g.sigBytes * 8, x = this.blockSize * 32;
|
|
6668
|
+
b[v >>> 5] |= 1 << 24 - v % 32, b[(t.ceil((v + 1) / x) * x >>> 5) - 1] |= 128, g.sigBytes = b.length * 4, this._process();
|
|
6669
6669
|
for (var y = this._state, A = this.cfg.outputLength / 8, I = A / 8, w = [], R = 0; R < I; R++) {
|
|
6670
6670
|
var L = y[R], D = L.high, N = L.low;
|
|
6671
6671
|
D = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360, N = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360, w.push(N), w.push(D);
|
|
@@ -6673,8 +6673,8 @@ function pc() {
|
|
|
6673
6673
|
return new n.init(w, A);
|
|
6674
6674
|
},
|
|
6675
6675
|
clone: function() {
|
|
6676
|
-
for (var g = a.clone.call(this),
|
|
6677
|
-
v
|
|
6676
|
+
for (var g = a.clone.call(this), b = g._state = this._state.slice(0), v = 0; v < 25; v++)
|
|
6677
|
+
b[v] = b[v].clone();
|
|
6678
6678
|
return g;
|
|
6679
6679
|
}
|
|
6680
6680
|
});
|
|
@@ -6688,7 +6688,7 @@ function mc() {
|
|
|
6688
6688
|
return Tn || (Tn = 1, function(s, c) {
|
|
6689
6689
|
(function(e, t) {
|
|
6690
6690
|
s.exports = t(Ee());
|
|
6691
|
-
})(
|
|
6691
|
+
})(be, function(e) {
|
|
6692
6692
|
/** @preserve
|
|
6693
6693
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
6694
6694
|
|
|
@@ -7036,7 +7036,7 @@ function mc() {
|
|
|
7036
7036
|
var N = this._hash.words, C = l.words, M = p.words, E = u.words, U = h.words, te = m.words, q = f.words, oe, $, se, T, P, z, F, K, Q, pe;
|
|
7037
7037
|
z = oe = N[0], F = $ = N[1], K = se = N[2], Q = T = N[3], pe = P = N[4];
|
|
7038
7038
|
for (var ce, R = 0; R < 80; R += 1)
|
|
7039
|
-
ce = oe + I[w + E[R]] | 0, R < 16 ? ce += g($, se, T) + C[0] : R < 32 ? ce +=
|
|
7039
|
+
ce = oe + I[w + E[R]] | 0, R < 16 ? ce += g($, se, T) + C[0] : R < 32 ? ce += b($, se, T) + C[1] : R < 48 ? ce += v($, se, T) + C[2] : R < 64 ? ce += x($, se, T) + C[3] : ce += y($, se, T) + C[4], ce = ce | 0, ce = A(ce, te[R]), ce = ce + P | 0, oe = P, P = T, T = A(se, 10), se = $, $ = ce, ce = z + I[w + U[R]] | 0, R < 16 ? ce += y(F, K, Q) + M[0] : R < 32 ? ce += x(F, K, Q) + M[1] : R < 48 ? ce += v(F, K, Q) + M[2] : R < 64 ? ce += b(F, K, Q) + M[3] : ce += g(F, K, Q) + M[4], ce = ce | 0, ce = A(ce, q[R]), ce = ce + pe | 0, z = pe, pe = Q, Q = A(K, 10), K = F, F = ce;
|
|
7040
7040
|
ce = N[1] + se + Q | 0, N[1] = N[2] + T + pe | 0, N[2] = N[3] + P + z | 0, N[3] = N[4] + oe + F | 0, N[4] = N[0] + $ + K | 0, N[0] = ce;
|
|
7041
7041
|
},
|
|
7042
7042
|
_doFinalize: function() {
|
|
@@ -7056,10 +7056,10 @@ function mc() {
|
|
|
7056
7056
|
function g(I, w, R) {
|
|
7057
7057
|
return I ^ w ^ R;
|
|
7058
7058
|
}
|
|
7059
|
-
function
|
|
7059
|
+
function b(I, w, R) {
|
|
7060
7060
|
return I & w | ~I & R;
|
|
7061
7061
|
}
|
|
7062
|
-
function
|
|
7062
|
+
function v(I, w, R) {
|
|
7063
7063
|
return (I | ~w) ^ R;
|
|
7064
7064
|
}
|
|
7065
7065
|
function x(I, w, R) {
|
|
@@ -7081,7 +7081,7 @@ function fs() {
|
|
|
7081
7081
|
return Pn || (Pn = 1, function(s, c) {
|
|
7082
7082
|
(function(e, t) {
|
|
7083
7083
|
s.exports = t(Ee());
|
|
7084
|
-
})(
|
|
7084
|
+
})(be, function(e) {
|
|
7085
7085
|
(function() {
|
|
7086
7086
|
var t = e, i = t.lib, r = i.Base, n = t.enc, a = n.Utf8, o = t.algo;
|
|
7087
7087
|
o.HMAC = r.extend({
|
|
@@ -7099,8 +7099,8 @@ function fs() {
|
|
|
7099
7099
|
u = this._hasher = new u.init(), typeof h == "string" && (h = a.parse(h));
|
|
7100
7100
|
var m = u.blockSize, f = m * 4;
|
|
7101
7101
|
h.sigBytes > f && (h = u.finalize(h)), h.clamp();
|
|
7102
|
-
for (var l = this._oKey = h.clone(), p = this._iKey = h.clone(), d = l.words, g = p.words,
|
|
7103
|
-
d[
|
|
7102
|
+
for (var l = this._oKey = h.clone(), p = this._iKey = h.clone(), d = l.words, g = p.words, b = 0; b < m; b++)
|
|
7103
|
+
d[b] ^= 1549556828, g[b] ^= 909522486;
|
|
7104
7104
|
l.sigBytes = p.sigBytes = f, this.reset();
|
|
7105
7105
|
},
|
|
7106
7106
|
/**
|
|
@@ -7159,7 +7159,7 @@ function gc() {
|
|
|
7159
7159
|
return Bn || (Bn = 1, function(s, c) {
|
|
7160
7160
|
(function(e, t, i) {
|
|
7161
7161
|
s.exports = t(Ee(), ls(), fs());
|
|
7162
|
-
})(
|
|
7162
|
+
})(be, function(e) {
|
|
7163
7163
|
return function() {
|
|
7164
7164
|
var t = e, i = t.lib, r = i.Base, n = i.WordArray, a = t.algo, o = a.SHA256, u = a.HMAC, h = a.PBKDF2 = r.extend({
|
|
7165
7165
|
/**
|
|
@@ -7201,7 +7201,7 @@ function gc() {
|
|
|
7201
7201
|
* var key = kdf.compute(password, salt);
|
|
7202
7202
|
*/
|
|
7203
7203
|
compute: function(m, f) {
|
|
7204
|
-
for (var l = this.cfg, p = u.create(l.hasher, m), d = n.create(), g = n.create([1]),
|
|
7204
|
+
for (var l = this.cfg, p = u.create(l.hasher, m), d = n.create(), g = n.create([1]), b = d.words, v = g.words, x = l.keySize, y = l.iterations; b.length < x; ) {
|
|
7205
7205
|
var A = p.update(f).finalize(g);
|
|
7206
7206
|
p.reset();
|
|
7207
7207
|
for (var I = A.words, w = I.length, R = A, L = 1; L < y; L++) {
|
|
@@ -7209,7 +7209,7 @@ function gc() {
|
|
|
7209
7209
|
for (var D = R.words, N = 0; N < w; N++)
|
|
7210
7210
|
I[N] ^= D[N];
|
|
7211
7211
|
}
|
|
7212
|
-
d.concat(A),
|
|
7212
|
+
d.concat(A), v[0]++;
|
|
7213
7213
|
}
|
|
7214
7214
|
return d.sigBytes = x * 4, d;
|
|
7215
7215
|
}
|
|
@@ -7226,7 +7226,7 @@ function Pt() {
|
|
|
7226
7226
|
return Ln || (Ln = 1, function(s, c) {
|
|
7227
7227
|
(function(e, t, i) {
|
|
7228
7228
|
s.exports = t(Ee(), Ra(), fs());
|
|
7229
|
-
})(
|
|
7229
|
+
})(be, function(e) {
|
|
7230
7230
|
return function() {
|
|
7231
7231
|
var t = e, i = t.lib, r = i.Base, n = i.WordArray, a = t.algo, o = a.MD5, u = a.EvpKDF = r.extend({
|
|
7232
7232
|
/**
|
|
@@ -7268,13 +7268,13 @@ function Pt() {
|
|
|
7268
7268
|
* var key = kdf.compute(password, salt);
|
|
7269
7269
|
*/
|
|
7270
7270
|
compute: function(h, m) {
|
|
7271
|
-
for (var f, l = this.cfg, p = l.hasher.create(), d = n.create(), g = d.words,
|
|
7271
|
+
for (var f, l = this.cfg, p = l.hasher.create(), d = n.create(), g = d.words, b = l.keySize, v = l.iterations; g.length < b; ) {
|
|
7272
7272
|
f && p.update(f), f = p.update(h).finalize(m), p.reset();
|
|
7273
|
-
for (var x = 1; x <
|
|
7273
|
+
for (var x = 1; x < v; x++)
|
|
7274
7274
|
f = p.finalize(f), p.reset();
|
|
7275
7275
|
d.concat(f);
|
|
7276
7276
|
}
|
|
7277
|
-
return d.sigBytes =
|
|
7277
|
+
return d.sigBytes = b * 4, d;
|
|
7278
7278
|
}
|
|
7279
7279
|
});
|
|
7280
7280
|
t.EvpKDF = function(h, m, f) {
|
|
@@ -7289,7 +7289,7 @@ function We() {
|
|
|
7289
7289
|
return Mn || (Mn = 1, function(s, c) {
|
|
7290
7290
|
(function(e, t, i) {
|
|
7291
7291
|
s.exports = t(Ee(), Pt());
|
|
7292
|
-
})(
|
|
7292
|
+
})(be, function(e) {
|
|
7293
7293
|
e.lib.Cipher || function(t) {
|
|
7294
7294
|
var i = e, r = i.lib, n = r.Base, a = r.WordArray, o = r.BufferedBlockAlgorithm, u = i.enc;
|
|
7295
7295
|
u.Utf8;
|
|
@@ -7516,7 +7516,7 @@ function We() {
|
|
|
7516
7516
|
C[M + q] ^= U[q];
|
|
7517
7517
|
}
|
|
7518
7518
|
return D;
|
|
7519
|
-
}(),
|
|
7519
|
+
}(), b = i.pad = {}, v = b.Pkcs7 = {
|
|
7520
7520
|
/**
|
|
7521
7521
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
7522
7522
|
*
|
|
@@ -7560,7 +7560,7 @@ function We() {
|
|
|
7560
7560
|
*/
|
|
7561
7561
|
cfg: l.cfg.extend({
|
|
7562
7562
|
mode: g,
|
|
7563
|
-
padding:
|
|
7563
|
+
padding: v
|
|
7564
7564
|
}),
|
|
7565
7565
|
reset: function() {
|
|
7566
7566
|
var D;
|
|
@@ -7823,11 +7823,11 @@ function We() {
|
|
|
7823
7823
|
}(Ir)), Ir.exports;
|
|
7824
7824
|
}
|
|
7825
7825
|
var Rr = { exports: {} }, Nn;
|
|
7826
|
-
function
|
|
7826
|
+
function vc() {
|
|
7827
7827
|
return Nn || (Nn = 1, function(s, c) {
|
|
7828
7828
|
(function(e, t, i) {
|
|
7829
7829
|
s.exports = t(Ee(), We());
|
|
7830
|
-
})(
|
|
7830
|
+
})(be, function(e) {
|
|
7831
7831
|
return e.mode.CFB = function() {
|
|
7832
7832
|
var t = e.lib.BlockCipherMode.extend();
|
|
7833
7833
|
t.Encryptor = t.extend({
|
|
@@ -7853,11 +7853,11 @@ function bc() {
|
|
|
7853
7853
|
}(Rr)), Rr.exports;
|
|
7854
7854
|
}
|
|
7855
7855
|
var Dr = { exports: {} }, Fn;
|
|
7856
|
-
function
|
|
7856
|
+
function bc() {
|
|
7857
7857
|
return Fn || (Fn = 1, function(s, c) {
|
|
7858
7858
|
(function(e, t, i) {
|
|
7859
7859
|
s.exports = t(Ee(), We());
|
|
7860
|
-
})(
|
|
7860
|
+
})(be, function(e) {
|
|
7861
7861
|
return e.mode.CTR = function() {
|
|
7862
7862
|
var t = e.lib.BlockCipherMode.extend(), i = t.Encryptor = t.extend({
|
|
7863
7863
|
processBlock: function(r, n) {
|
|
@@ -7879,7 +7879,7 @@ function xc() {
|
|
|
7879
7879
|
return On || (On = 1, function(s, c) {
|
|
7880
7880
|
(function(e, t, i) {
|
|
7881
7881
|
s.exports = t(Ee(), We());
|
|
7882
|
-
})(
|
|
7882
|
+
})(be, function(e) {
|
|
7883
7883
|
/** @preserve
|
|
7884
7884
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
7885
7885
|
* derived from CryptoJS.mode.CTR
|
|
@@ -7918,7 +7918,7 @@ function Sc() {
|
|
|
7918
7918
|
return Vn || (Vn = 1, function(s, c) {
|
|
7919
7919
|
(function(e, t, i) {
|
|
7920
7920
|
s.exports = t(Ee(), We());
|
|
7921
|
-
})(
|
|
7921
|
+
})(be, function(e) {
|
|
7922
7922
|
return e.mode.OFB = function() {
|
|
7923
7923
|
var t = e.lib.BlockCipherMode.extend(), i = t.Encryptor = t.extend({
|
|
7924
7924
|
processBlock: function(r, n) {
|
|
@@ -7938,7 +7938,7 @@ function _c() {
|
|
|
7938
7938
|
return Un || (Un = 1, function(s, c) {
|
|
7939
7939
|
(function(e, t, i) {
|
|
7940
7940
|
s.exports = t(Ee(), We());
|
|
7941
|
-
})(
|
|
7941
|
+
})(be, function(e) {
|
|
7942
7942
|
return e.mode.ECB = function() {
|
|
7943
7943
|
var t = e.lib.BlockCipherMode.extend();
|
|
7944
7944
|
return t.Encryptor = t.extend({
|
|
@@ -7959,7 +7959,7 @@ function yc() {
|
|
|
7959
7959
|
return Hn || (Hn = 1, function(s, c) {
|
|
7960
7960
|
(function(e, t, i) {
|
|
7961
7961
|
s.exports = t(Ee(), We());
|
|
7962
|
-
})(
|
|
7962
|
+
})(be, function(e) {
|
|
7963
7963
|
return e.pad.AnsiX923 = {
|
|
7964
7964
|
pad: function(t, i) {
|
|
7965
7965
|
var r = t.sigBytes, n = i * 4, a = n - r % n, o = r + a - 1;
|
|
@@ -7978,7 +7978,7 @@ function Ec() {
|
|
|
7978
7978
|
return zn || (zn = 1, function(s, c) {
|
|
7979
7979
|
(function(e, t, i) {
|
|
7980
7980
|
s.exports = t(Ee(), We());
|
|
7981
|
-
})(
|
|
7981
|
+
})(be, function(e) {
|
|
7982
7982
|
return e.pad.Iso10126 = {
|
|
7983
7983
|
pad: function(t, i) {
|
|
7984
7984
|
var r = i * 4, n = r - t.sigBytes % r;
|
|
@@ -7997,7 +7997,7 @@ function Ac() {
|
|
|
7997
7997
|
return jn || (jn = 1, function(s, c) {
|
|
7998
7998
|
(function(e, t, i) {
|
|
7999
7999
|
s.exports = t(Ee(), We());
|
|
8000
|
-
})(
|
|
8000
|
+
})(be, function(e) {
|
|
8001
8001
|
return e.pad.Iso97971 = {
|
|
8002
8002
|
pad: function(t, i) {
|
|
8003
8003
|
t.concat(e.lib.WordArray.create([2147483648], 1)), e.pad.ZeroPadding.pad(t, i);
|
|
@@ -8014,7 +8014,7 @@ function wc() {
|
|
|
8014
8014
|
return Wn || (Wn = 1, function(s, c) {
|
|
8015
8015
|
(function(e, t, i) {
|
|
8016
8016
|
s.exports = t(Ee(), We());
|
|
8017
|
-
})(
|
|
8017
|
+
})(be, function(e) {
|
|
8018
8018
|
return e.pad.ZeroPadding = {
|
|
8019
8019
|
pad: function(t, i) {
|
|
8020
8020
|
var r = i * 4;
|
|
@@ -8036,7 +8036,7 @@ function Cc() {
|
|
|
8036
8036
|
return Kn || (Kn = 1, function(s, c) {
|
|
8037
8037
|
(function(e, t, i) {
|
|
8038
8038
|
s.exports = t(Ee(), We());
|
|
8039
|
-
})(
|
|
8039
|
+
})(be, function(e) {
|
|
8040
8040
|
return e.pad.NoPadding = {
|
|
8041
8041
|
pad: function() {
|
|
8042
8042
|
},
|
|
@@ -8051,7 +8051,7 @@ function Ic() {
|
|
|
8051
8051
|
return $n || ($n = 1, function(s, c) {
|
|
8052
8052
|
(function(e, t, i) {
|
|
8053
8053
|
s.exports = t(Ee(), We());
|
|
8054
|
-
})(
|
|
8054
|
+
})(be, function(e) {
|
|
8055
8055
|
return function(t) {
|
|
8056
8056
|
var i = e, r = i.lib, n = r.CipherParams, a = i.enc, o = a.Hex, u = i.format;
|
|
8057
8057
|
u.Hex = {
|
|
@@ -8098,7 +8098,7 @@ function Rc() {
|
|
|
8098
8098
|
return qn || (qn = 1, function(s, c) {
|
|
8099
8099
|
(function(e, t, i) {
|
|
8100
8100
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
8101
|
-
})(
|
|
8101
|
+
})(be, function(e) {
|
|
8102
8102
|
return function() {
|
|
8103
8103
|
var t = e, i = t.lib, r = i.BlockCipher, n = t.algo, a = [], o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [];
|
|
8104
8104
|
(function() {
|
|
@@ -8113,12 +8113,12 @@ function Rc() {
|
|
|
8113
8113
|
l[w] = N << 24 | N >>> 8, p[w] = N << 16 | N >>> 16, d[w] = N << 8 | N >>> 24, g[w] = N, A ? (A = R ^ x[x[x[D ^ R]]], I ^= x[x[I]]) : A = I = 1;
|
|
8114
8114
|
}
|
|
8115
8115
|
})();
|
|
8116
|
-
var
|
|
8116
|
+
var b = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], v = n.AES = r.extend({
|
|
8117
8117
|
_doReset: function() {
|
|
8118
8118
|
var x;
|
|
8119
8119
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
8120
8120
|
for (var y = this._keyPriorReset = this._key, A = y.words, I = y.sigBytes / 4, w = this._nRounds = I + 6, R = (w + 1) * 4, L = this._keySchedule = [], D = 0; D < R; D++)
|
|
8121
|
-
D < I ? L[D] = A[D] : (x = L[D - 1], D % I ? I > 6 && D % I == 4 && (x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255]) : (x = x << 8 | x >>> 24, x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255], x ^=
|
|
8121
|
+
D < I ? L[D] = A[D] : (x = L[D - 1], D % I ? I > 6 && D % I == 4 && (x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255]) : (x = x << 8 | x >>> 24, x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255], x ^= b[D / I | 0] << 24), L[D] = L[D - I] ^ x);
|
|
8122
8122
|
for (var N = this._invKeySchedule = [], C = 0; C < R; C++) {
|
|
8123
8123
|
var D = R - C;
|
|
8124
8124
|
if (C % 4)
|
|
@@ -8148,7 +8148,7 @@ function Rc() {
|
|
|
8148
8148
|
},
|
|
8149
8149
|
keySize: 256 / 32
|
|
8150
8150
|
});
|
|
8151
|
-
t.AES = r._createHelper(
|
|
8151
|
+
t.AES = r._createHelper(v);
|
|
8152
8152
|
}(), e.AES;
|
|
8153
8153
|
});
|
|
8154
8154
|
}(Vr)), Vr.exports;
|
|
@@ -8158,7 +8158,7 @@ function Dc() {
|
|
|
8158
8158
|
return Gn || (Gn = 1, function(s, c) {
|
|
8159
8159
|
(function(e, t, i) {
|
|
8160
8160
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
8161
|
-
})(
|
|
8161
|
+
})(be, function(e) {
|
|
8162
8162
|
return function() {
|
|
8163
8163
|
var t = e, i = t.lib, r = i.WordArray, n = i.BlockCipher, a = t.algo, o = [
|
|
8164
8164
|
57,
|
|
@@ -8806,9 +8806,9 @@ function Dc() {
|
|
|
8806
8806
|
2147483679
|
|
8807
8807
|
], l = a.DES = n.extend({
|
|
8808
8808
|
_doReset: function() {
|
|
8809
|
-
for (var
|
|
8809
|
+
for (var b = this._key, v = b.words, x = [], y = 0; y < 56; y++) {
|
|
8810
8810
|
var A = o[y] - 1;
|
|
8811
|
-
x[y] =
|
|
8811
|
+
x[y] = v[A >>> 5] >>> 31 - A % 32 & 1;
|
|
8812
8812
|
}
|
|
8813
8813
|
for (var I = this._subKeys = [], w = 0; w < 16; w++) {
|
|
8814
8814
|
for (var R = I[w] = [], L = h[w], y = 0; y < 24; y++)
|
|
@@ -8821,48 +8821,48 @@ function Dc() {
|
|
|
8821
8821
|
for (var D = this._invSubKeys = [], y = 0; y < 16; y++)
|
|
8822
8822
|
D[y] = I[15 - y];
|
|
8823
8823
|
},
|
|
8824
|
-
encryptBlock: function(
|
|
8825
|
-
this._doCryptBlock(
|
|
8824
|
+
encryptBlock: function(b, v) {
|
|
8825
|
+
this._doCryptBlock(b, v, this._subKeys);
|
|
8826
8826
|
},
|
|
8827
|
-
decryptBlock: function(
|
|
8828
|
-
this._doCryptBlock(
|
|
8827
|
+
decryptBlock: function(b, v) {
|
|
8828
|
+
this._doCryptBlock(b, v, this._invSubKeys);
|
|
8829
8829
|
},
|
|
8830
|
-
_doCryptBlock: function(
|
|
8831
|
-
this._lBlock = v
|
|
8830
|
+
_doCryptBlock: function(b, v, x) {
|
|
8831
|
+
this._lBlock = b[v], this._rBlock = b[v + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), d.call(this, 2, 858993459), d.call(this, 8, 16711935), p.call(this, 1, 1431655765);
|
|
8832
8832
|
for (var y = 0; y < 16; y++) {
|
|
8833
8833
|
for (var A = x[y], I = this._lBlock, w = this._rBlock, R = 0, L = 0; L < 8; L++)
|
|
8834
8834
|
R |= m[L][((w ^ A[L]) & f[L]) >>> 0];
|
|
8835
8835
|
this._lBlock = w, this._rBlock = I ^ R;
|
|
8836
8836
|
}
|
|
8837
8837
|
var D = this._lBlock;
|
|
8838
|
-
this._lBlock = this._rBlock, this._rBlock = D, p.call(this, 1, 1431655765), d.call(this, 8, 16711935), d.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), v
|
|
8838
|
+
this._lBlock = this._rBlock, this._rBlock = D, p.call(this, 1, 1431655765), d.call(this, 8, 16711935), d.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), b[v] = this._lBlock, b[v + 1] = this._rBlock;
|
|
8839
8839
|
},
|
|
8840
8840
|
keySize: 64 / 32,
|
|
8841
8841
|
ivSize: 64 / 32,
|
|
8842
8842
|
blockSize: 64 / 32
|
|
8843
8843
|
});
|
|
8844
|
-
function p(
|
|
8845
|
-
var x = (this._lBlock >>>
|
|
8846
|
-
this._rBlock ^= x, this._lBlock ^= x <<
|
|
8844
|
+
function p(b, v) {
|
|
8845
|
+
var x = (this._lBlock >>> b ^ this._rBlock) & v;
|
|
8846
|
+
this._rBlock ^= x, this._lBlock ^= x << b;
|
|
8847
8847
|
}
|
|
8848
|
-
function d(
|
|
8849
|
-
var x = (this._rBlock >>>
|
|
8850
|
-
this._lBlock ^= x, this._rBlock ^= x <<
|
|
8848
|
+
function d(b, v) {
|
|
8849
|
+
var x = (this._rBlock >>> b ^ this._lBlock) & v;
|
|
8850
|
+
this._lBlock ^= x, this._rBlock ^= x << b;
|
|
8851
8851
|
}
|
|
8852
8852
|
t.DES = n._createHelper(l);
|
|
8853
8853
|
var g = a.TripleDES = n.extend({
|
|
8854
8854
|
_doReset: function() {
|
|
8855
|
-
var
|
|
8856
|
-
if (
|
|
8855
|
+
var b = this._key, v = b.words;
|
|
8856
|
+
if (v.length !== 2 && v.length !== 4 && v.length < 6)
|
|
8857
8857
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
8858
|
-
var x =
|
|
8858
|
+
var x = v.slice(0, 2), y = v.length < 4 ? v.slice(0, 2) : v.slice(2, 4), A = v.length < 6 ? v.slice(0, 2) : v.slice(4, 6);
|
|
8859
8859
|
this._des1 = l.createEncryptor(r.create(x)), this._des2 = l.createEncryptor(r.create(y)), this._des3 = l.createEncryptor(r.create(A));
|
|
8860
8860
|
},
|
|
8861
|
-
encryptBlock: function(
|
|
8862
|
-
this._des1.encryptBlock(
|
|
8861
|
+
encryptBlock: function(b, v) {
|
|
8862
|
+
this._des1.encryptBlock(b, v), this._des2.decryptBlock(b, v), this._des3.encryptBlock(b, v);
|
|
8863
8863
|
},
|
|
8864
|
-
decryptBlock: function(
|
|
8865
|
-
this._des3.decryptBlock(
|
|
8864
|
+
decryptBlock: function(b, v) {
|
|
8865
|
+
this._des3.decryptBlock(b, v), this._des2.encryptBlock(b, v), this._des1.decryptBlock(b, v);
|
|
8866
8866
|
},
|
|
8867
8867
|
keySize: 192 / 32,
|
|
8868
8868
|
ivSize: 64 / 32,
|
|
@@ -8878,17 +8878,17 @@ function kc() {
|
|
|
8878
8878
|
return Jn || (Jn = 1, function(s, c) {
|
|
8879
8879
|
(function(e, t, i) {
|
|
8880
8880
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
8881
|
-
})(
|
|
8881
|
+
})(be, function(e) {
|
|
8882
8882
|
return function() {
|
|
8883
8883
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = n.RC4 = r.extend({
|
|
8884
8884
|
_doReset: function() {
|
|
8885
8885
|
for (var h = this._key, m = h.words, f = h.sigBytes, l = this._S = [], p = 0; p < 256; p++)
|
|
8886
8886
|
l[p] = p;
|
|
8887
8887
|
for (var p = 0, d = 0; p < 256; p++) {
|
|
8888
|
-
var g = p % f,
|
|
8889
|
-
d = (d + l[p] +
|
|
8890
|
-
var
|
|
8891
|
-
l[p] = l[d], l[d] =
|
|
8888
|
+
var g = p % f, b = m[g >>> 2] >>> 24 - g % 4 * 8 & 255;
|
|
8889
|
+
d = (d + l[p] + b) % 256;
|
|
8890
|
+
var v = l[p];
|
|
8891
|
+
l[p] = l[d], l[d] = v;
|
|
8892
8892
|
}
|
|
8893
8893
|
this._i = this._j = 0;
|
|
8894
8894
|
},
|
|
@@ -8932,7 +8932,7 @@ function Tc() {
|
|
|
8932
8932
|
return Xn || (Xn = 1, function(s, c) {
|
|
8933
8933
|
(function(e, t, i) {
|
|
8934
8934
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
8935
|
-
})(
|
|
8935
|
+
})(be, function(e) {
|
|
8936
8936
|
return function() {
|
|
8937
8937
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = [], o = [], u = [], h = n.Rabbit = r.extend({
|
|
8938
8938
|
_doReset: function() {
|
|
@@ -8963,7 +8963,7 @@ function Tc() {
|
|
|
8963
8963
|
for (var p = 0; p < 8; p++)
|
|
8964
8964
|
g[p] ^= d[p + 4 & 7];
|
|
8965
8965
|
if (l) {
|
|
8966
|
-
var
|
|
8966
|
+
var b = l.words, v = b[0], x = b[1], y = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, A = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, I = y >>> 16 | A & 4294901760, w = A << 16 | y & 65535;
|
|
8967
8967
|
g[0] ^= y, g[1] ^= I, g[2] ^= A, g[3] ^= w, g[4] ^= y, g[5] ^= I, g[6] ^= A, g[7] ^= w;
|
|
8968
8968
|
for (var p = 0; p < 4; p++)
|
|
8969
8969
|
m.call(this);
|
|
@@ -8983,8 +8983,8 @@ function Tc() {
|
|
|
8983
8983
|
o[p] = l[p];
|
|
8984
8984
|
l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
|
|
8985
8985
|
for (var p = 0; p < 8; p++) {
|
|
8986
|
-
var d = f[p] + l[p], g = d & 65535,
|
|
8987
|
-
u[p] =
|
|
8986
|
+
var d = f[p] + l[p], g = d & 65535, b = d >>> 16, v = ((g * g >>> 17) + g * b >>> 15) + b * b, x = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
|
|
8987
|
+
u[p] = v ^ x;
|
|
8988
8988
|
}
|
|
8989
8989
|
f[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, f[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, f[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, f[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, f[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, f[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, f[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, f[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
|
|
8990
8990
|
}
|
|
@@ -8998,7 +8998,7 @@ function Pc() {
|
|
|
8998
8998
|
return Zn || (Zn = 1, function(s, c) {
|
|
8999
8999
|
(function(e, t, i) {
|
|
9000
9000
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
9001
|
-
})(
|
|
9001
|
+
})(be, function(e) {
|
|
9002
9002
|
return function() {
|
|
9003
9003
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = [], o = [], u = [], h = n.RabbitLegacy = r.extend({
|
|
9004
9004
|
_doReset: function() {
|
|
@@ -9027,7 +9027,7 @@ function Pc() {
|
|
|
9027
9027
|
for (var g = 0; g < 8; g++)
|
|
9028
9028
|
d[g] ^= p[g + 4 & 7];
|
|
9029
9029
|
if (l) {
|
|
9030
|
-
var
|
|
9030
|
+
var b = l.words, v = b[0], x = b[1], y = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, A = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, I = y >>> 16 | A & 4294901760, w = A << 16 | y & 65535;
|
|
9031
9031
|
d[0] ^= y, d[1] ^= I, d[2] ^= A, d[3] ^= w, d[4] ^= y, d[5] ^= I, d[6] ^= A, d[7] ^= w;
|
|
9032
9032
|
for (var g = 0; g < 4; g++)
|
|
9033
9033
|
m.call(this);
|
|
@@ -9047,8 +9047,8 @@ function Pc() {
|
|
|
9047
9047
|
o[p] = l[p];
|
|
9048
9048
|
l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
|
|
9049
9049
|
for (var p = 0; p < 8; p++) {
|
|
9050
|
-
var d = f[p] + l[p], g = d & 65535,
|
|
9051
|
-
u[p] =
|
|
9050
|
+
var d = f[p] + l[p], g = d & 65535, b = d >>> 16, v = ((g * g >>> 17) + g * b >>> 15) + b * b, x = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
|
|
9051
|
+
u[p] = v ^ x;
|
|
9052
9052
|
}
|
|
9053
9053
|
f[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, f[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, f[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, f[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, f[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, f[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, f[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, f[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
|
|
9054
9054
|
}
|
|
@@ -9062,7 +9062,7 @@ function Bc() {
|
|
|
9062
9062
|
return Yn || (Yn = 1, function(s, c) {
|
|
9063
9063
|
(function(e, t, i) {
|
|
9064
9064
|
s.exports = t(Ee(), Wt(), Kt(), Pt(), We());
|
|
9065
|
-
})(
|
|
9065
|
+
})(be, function(e) {
|
|
9066
9066
|
return function() {
|
|
9067
9067
|
var t = e, i = t.lib, r = i.BlockCipher, n = t.algo;
|
|
9068
9068
|
const a = 16, o = [
|
|
@@ -10122,23 +10122,23 @@ function Bc() {
|
|
|
10122
10122
|
pbox: [],
|
|
10123
10123
|
sbox: []
|
|
10124
10124
|
};
|
|
10125
|
-
function m(g,
|
|
10126
|
-
let
|
|
10125
|
+
function m(g, b) {
|
|
10126
|
+
let v = b >> 24 & 255, x = b >> 16 & 255, y = b >> 8 & 255, A = b & 255, I = g.sbox[0][v] + g.sbox[1][x];
|
|
10127
10127
|
return I = I ^ g.sbox[2][y], I = I + g.sbox[3][A], I;
|
|
10128
10128
|
}
|
|
10129
|
-
function f(g,
|
|
10130
|
-
let x =
|
|
10129
|
+
function f(g, b, v) {
|
|
10130
|
+
let x = b, y = v, A;
|
|
10131
10131
|
for (let I = 0; I < a; ++I)
|
|
10132
10132
|
x = x ^ g.pbox[I], y = m(g, x) ^ y, A = x, x = y, y = A;
|
|
10133
10133
|
return A = x, x = y, y = A, y = y ^ g.pbox[a], x = x ^ g.pbox[a + 1], { left: x, right: y };
|
|
10134
10134
|
}
|
|
10135
|
-
function l(g,
|
|
10136
|
-
let x =
|
|
10135
|
+
function l(g, b, v) {
|
|
10136
|
+
let x = b, y = v, A;
|
|
10137
10137
|
for (let I = a + 1; I > 1; --I)
|
|
10138
10138
|
x = x ^ g.pbox[I], y = m(g, x) ^ y, A = x, x = y, y = A;
|
|
10139
10139
|
return A = x, x = y, y = A, y = y ^ g.pbox[1], x = x ^ g.pbox[0], { left: x, right: y };
|
|
10140
10140
|
}
|
|
10141
|
-
function p(g,
|
|
10141
|
+
function p(g, b, v) {
|
|
10142
10142
|
for (let w = 0; w < 4; w++) {
|
|
10143
10143
|
g.sbox[w] = [];
|
|
10144
10144
|
for (let R = 0; R < 256; R++)
|
|
@@ -10146,7 +10146,7 @@ function Bc() {
|
|
|
10146
10146
|
}
|
|
10147
10147
|
let x = 0;
|
|
10148
10148
|
for (let w = 0; w < a + 2; w++)
|
|
10149
|
-
g.pbox[w] = o[w] ^
|
|
10149
|
+
g.pbox[w] = o[w] ^ b[x], x++, x >= v && (x = 0);
|
|
10150
10150
|
let y = 0, A = 0, I = 0;
|
|
10151
10151
|
for (let w = 0; w < a + 2; w += 2)
|
|
10152
10152
|
I = f(g, y, A), y = I.left, A = I.right, g.pbox[w] = y, g.pbox[w + 1] = A;
|
|
@@ -10158,17 +10158,17 @@ function Bc() {
|
|
|
10158
10158
|
var d = n.Blowfish = r.extend({
|
|
10159
10159
|
_doReset: function() {
|
|
10160
10160
|
if (this._keyPriorReset !== this._key) {
|
|
10161
|
-
var g = this._keyPriorReset = this._key,
|
|
10162
|
-
p(h,
|
|
10161
|
+
var g = this._keyPriorReset = this._key, b = g.words, v = g.sigBytes / 4;
|
|
10162
|
+
p(h, b, v);
|
|
10163
10163
|
}
|
|
10164
10164
|
},
|
|
10165
|
-
encryptBlock: function(g,
|
|
10166
|
-
var
|
|
10167
|
-
g[
|
|
10165
|
+
encryptBlock: function(g, b) {
|
|
10166
|
+
var v = f(h, g[b], g[b + 1]);
|
|
10167
|
+
g[b] = v.left, g[b + 1] = v.right;
|
|
10168
10168
|
},
|
|
10169
|
-
decryptBlock: function(g,
|
|
10170
|
-
var
|
|
10171
|
-
g[
|
|
10169
|
+
decryptBlock: function(g, b) {
|
|
10170
|
+
var v = l(h, g[b], g[b + 1]);
|
|
10171
|
+
g[b] = v.left, g[b + 1] = v.right;
|
|
10172
10172
|
},
|
|
10173
10173
|
blockSize: 64 / 32,
|
|
10174
10174
|
keySize: 128 / 32,
|
|
@@ -10181,8 +10181,8 @@ function Bc() {
|
|
|
10181
10181
|
}
|
|
10182
10182
|
(function(s, c) {
|
|
10183
10183
|
(function(e, t, i) {
|
|
10184
|
-
s.exports = t(Ee(), Ni(), uc(), hc(), Wt(), dc(), Kt(), Ra(), ls(), lc(), Da(), fc(), pc(), mc(), fs(), gc(), Pt(), We(),
|
|
10185
|
-
})(
|
|
10184
|
+
s.exports = t(Ee(), Ni(), uc(), hc(), Wt(), dc(), Kt(), Ra(), ls(), lc(), Da(), fc(), pc(), mc(), fs(), gc(), Pt(), We(), vc(), bc(), xc(), Sc(), _c(), yc(), Ec(), Ac(), wc(), Cc(), Ic(), Rc(), Dc(), kc(), Tc(), Pc(), Bc());
|
|
10185
|
+
})(be, function(e) {
|
|
10186
10186
|
return e;
|
|
10187
10187
|
});
|
|
10188
10188
|
})(Ia);
|
|
@@ -10240,7 +10240,7 @@ function Kr(s, c, e, t) {
|
|
|
10240
10240
|
return Hc(s);
|
|
10241
10241
|
}, g = function() {
|
|
10242
10242
|
return zc(s);
|
|
10243
|
-
},
|
|
10243
|
+
}, b = { d: function() {
|
|
10244
10244
|
return n();
|
|
10245
10245
|
}, dd: function() {
|
|
10246
10246
|
return ot(n());
|
|
@@ -10307,8 +10307,8 @@ function Kr(s, c, e, t) {
|
|
|
10307
10307
|
}, N: function() {
|
|
10308
10308
|
return g();
|
|
10309
10309
|
} };
|
|
10310
|
-
return c.replace(Oc, function(
|
|
10311
|
-
return
|
|
10310
|
+
return c.replace(Oc, function(v) {
|
|
10311
|
+
return v in b ? b[v]() : v.slice(1, v.length - 1);
|
|
10312
10312
|
});
|
|
10313
10313
|
}
|
|
10314
10314
|
var Qn = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" }, rt = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"] }, ot = function(c) {
|
|
@@ -10329,16 +10329,16 @@ var Qn = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
|
|
|
10329
10329
|
return h[r + "Date"]();
|
|
10330
10330
|
}, g = function() {
|
|
10331
10331
|
return h[r + "Month"]();
|
|
10332
|
-
}, v = function() {
|
|
10333
|
-
return h[r + "FullYear"]();
|
|
10334
10332
|
}, b = function() {
|
|
10333
|
+
return h[r + "FullYear"]();
|
|
10334
|
+
}, v = function() {
|
|
10335
10335
|
return m[r + "Date"]();
|
|
10336
10336
|
}, x = function() {
|
|
10337
10337
|
return m[r + "Month"]();
|
|
10338
10338
|
}, y = function() {
|
|
10339
10339
|
return m[r + "FullYear"]();
|
|
10340
10340
|
};
|
|
10341
|
-
return p() === e && l() === t && f() === i ? o ? "Tdy" : "Today" :
|
|
10341
|
+
return p() === e && l() === t && f() === i ? o ? "Tdy" : "Today" : b() === e && g() === t && d() === i ? o ? "Ysd" : "Yesterday" : y() === e && x() === t && v() === i ? o ? "Tmw" : "Tomorrow" : n;
|
|
10342
10342
|
}, Hc = function(c) {
|
|
10343
10343
|
var e = new Date(c.getFullYear(), c.getMonth(), c.getDate());
|
|
10344
10344
|
e.setDate(e.getDate() - (e.getDay() + 6) % 7 + 3);
|
|
@@ -10854,7 +10854,7 @@ class sa {
|
|
|
10854
10854
|
const i = Ba(t);
|
|
10855
10855
|
e.useStsPlugin(i), this.tracker = e, this.msgCacheArr.forEach((r, n) => {
|
|
10856
10856
|
var a, o;
|
|
10857
|
-
(o = this.tracker) == null || o.send(me(
|
|
10857
|
+
(o = this.tracker) == null || o.send(me(vt(me({}, this.param), { stat_log_id: `${((a = this.param) == null ? void 0 : a.sesid) || "nosession"}-${n}` }), r));
|
|
10858
10858
|
}), this.index = this.index + this.msgCacheArr.length, this.msgCacheArr = [];
|
|
10859
10859
|
}
|
|
10860
10860
|
}
|
|
@@ -10880,7 +10880,7 @@ class sa {
|
|
|
10880
10880
|
let e;
|
|
10881
10881
|
try {
|
|
10882
10882
|
e = JSON.parse(
|
|
10883
|
-
JSON.stringify(me(
|
|
10883
|
+
JSON.stringify(me(vt(me({
|
|
10884
10884
|
bt: $r.browserName || "unknown"
|
|
10885
10885
|
}, this.param), {
|
|
10886
10886
|
stat_log_id: `${((t = this.param) == null ? void 0 : t.sesid) || "nosession"}-${this.index}`
|
|
@@ -10990,7 +10990,7 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
10990
10990
|
ctm: Math.floor(r[0].timestamp || 0),
|
|
10991
10991
|
src: r[0].ssrc || "",
|
|
10992
10992
|
codec: r[0]._codec || ""
|
|
10993
|
-
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [],
|
|
10993
|
+
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [], b = [], v = [], x = [], y = [], A = [], I = [], w = [], R = [], L = [], D = [];
|
|
10994
10994
|
try {
|
|
10995
10995
|
if (r.forEach((N) => {
|
|
10996
10996
|
var z, F, K, Q, pe, ce;
|
|
@@ -11010,9 +11010,9 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11010
11010
|
if (l.push(P), n)
|
|
11011
11011
|
(F = N._source) != null && F.audioLevel && p.push(na(N._source.audioLevel)), d.push(0);
|
|
11012
11012
|
else {
|
|
11013
|
-
g.push(aa(N, "totalEncodeTime")),
|
|
11014
|
-
const
|
|
11015
|
-
R.push(Pe(
|
|
11013
|
+
g.push(aa(N, "totalEncodeTime")), b.push(Lt((K = N._source) == null ? void 0 : K.framesPerSecond, 100)), v.push(Lt((Q = N._source) == null ? void 0 : Q.framesPerSecond, 100)), x.push(Lt(N.framesPerSecond, 100)), y.push(Lt((pe = N._source) == null ? void 0 : pe.height, 4400)), A.push(Lt((ce = N._source) == null ? void 0 : ce.width, 7700)), I.push(Lt(N.frameHeight, 4400)), w.push(Lt(N.frameWidth, 7700));
|
|
11014
|
+
const ve = Le(N, "totalPacketSendDelay");
|
|
11015
|
+
R.push(Pe(ve, 1 / (se || 1), 2e3));
|
|
11016
11016
|
const we = Le(N, "qpSum");
|
|
11017
11017
|
L.push(Pe(we, 1 / (N.framesPerSecond || 1), 51)), D.push(0);
|
|
11018
11018
|
}
|
|
@@ -11020,7 +11020,7 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11020
11020
|
const N = (i == null ? void 0 : i.getSettings().sampleRate) || 0;
|
|
11021
11021
|
a.ailevel = p.join(","), a.arpc = d.join(","), a.arsr = N, a.aesr = N, a.publevel = -90, a.rawlevel = -90;
|
|
11022
11022
|
} else
|
|
11023
|
-
a.em = g.join(","), a.cfps =
|
|
11023
|
+
a.em = g.join(","), a.cfps = b.join(","), a.ifps = v.join(","), a.sfps = x.join(","), a.ih = y.join(","), a.iw = A.join(","), a.sh = I.join(","), a.sw = w.join(","), a.sd = R.join(","), a.aqp = L.join(","), a.caf = D.join(","), a.can = D.join(","), a.cav = u.join(","), a.ifimax = D.join(","), a.ifimin = D.join(","), a.efimax = D.join(","), a.efimin = D.join(","), a.sfimax = D.join(","), a.sfimin = D.join(","), a.apsnr = D.join(",");
|
|
11024
11024
|
} catch (N) {
|
|
11025
11025
|
}
|
|
11026
11026
|
this.log({
|
|
@@ -11041,17 +11041,17 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11041
11041
|
ctm: Math.floor(r[0].timestamp || 0),
|
|
11042
11042
|
src: r[0].ssrc || "",
|
|
11043
11043
|
codec: r[0]._codec || ""
|
|
11044
|
-
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [],
|
|
11044
|
+
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [], b = [], v = [], x = [], y = [], A = [], I = [], w = [], R = [], L = [], D = [], N = [], C = [], M = [], E = [], U = [], te = [], q = [], oe = [], $ = [], se = [], T = [], P = [], z = [], F = [], K = [];
|
|
11045
11045
|
try {
|
|
11046
11046
|
r.forEach((Q) => {
|
|
11047
11047
|
var ee, he;
|
|
11048
11048
|
if (!Q || !Q.timestamp)
|
|
11049
11049
|
return;
|
|
11050
|
-
const pe = (ee = Q._last) != null && ee.timestamp ? Q.timestamp - Q._last.timestamp : 1e3, ce = Le(Q, "bytesReceived"),
|
|
11050
|
+
const pe = (ee = Q._last) != null && ee.timestamp ? Q.timestamp - Q._last.timestamp : 1e3, ce = Le(Q, "bytesReceived"), ve = Le(Q, "headerBytesReceived"), we = ut(Pe(ce + ve, 8, 2e7), pe);
|
|
11051
11051
|
o.push(we);
|
|
11052
11052
|
const Ae = ut(Pe(ce, 8, 2e7), pe);
|
|
11053
11053
|
u.push(Ae);
|
|
11054
|
-
const Fe = ut(Pe(
|
|
11054
|
+
const Fe = ut(Pe(ve, 8, 2e7), pe);
|
|
11055
11055
|
h.push(Fe);
|
|
11056
11056
|
const Ce = Le(Q, "packetsReceived"), S = ut(Ce, pe);
|
|
11057
11057
|
m.push(S);
|
|
@@ -11068,7 +11068,7 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11068
11068
|
const Z = Le(Q, "fecPacketsReceived");
|
|
11069
11069
|
x.push(Bt(Z, Ce));
|
|
11070
11070
|
const X = Le(Q, "retransmittedPacketsReceived"), H = Ce + J - X;
|
|
11071
|
-
if (g.push(Bt(Ce - X, H)),
|
|
11071
|
+
if (g.push(Bt(Ce - X, H)), b.push(Bt(J, H)), d.push(Bt(X, H)), v.push(H), F.push(0), K.push(""), n) {
|
|
11072
11072
|
A.push(na(Q.audioLevel));
|
|
11073
11073
|
const ie = o0(Q, "synthesizedSamplesEvents");
|
|
11074
11074
|
I.push(ie);
|
|
@@ -11096,7 +11096,7 @@ const Pe = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11096
11096
|
const gt = Le(Q, "jitterBufferMinimumDelay");
|
|
11097
11097
|
gt && Me ? P.push(Pe(gt, 1e3 / Me, 3e4)) : P.push(0);
|
|
11098
11098
|
}
|
|
11099
|
-
}), a.rbr = o.join(","), a.mbrs = u.join(","), a.pbrs = h.join(","), a.pr = m.join(","), a.pl = f.join(","), a.plr = l.join(","), a.jd = p.join(","), a.fecr = x.join(","), a.retransr = d.join(","), a.baser = g.join(","), a.basel =
|
|
11099
|
+
}), a.rbr = o.join(","), a.mbrs = u.join(","), a.pbrs = h.join(","), a.pr = m.join(","), a.pl = f.join(","), a.plr = l.join(","), a.jd = p.join(","), a.fecr = x.join(","), a.retransr = d.join(","), a.baser = g.join(","), a.basel = b.join(","), a.recoverr = F.join(","), a.alll = b.join(","), a.totalc = v.join(","), n ? (a.er = y.join(","), a.aolevel = A.join(","), a.asrc = R.join(","), a.scnt = I.join(","), a.sdura = w.join(",")) : (a.dm = L.join(","), a.dfps = D.join(","), a.rfps = N.join(","), a.rh = C.join(","), a.rw = M.join(","), a.fpt = K.join(","), a.ns = te.join(","), a.pliss = U.join(","), a.aqp = q.join(","), a.ofimax = F.join(","), a.ofimin = F.join(","), a.dfimax = F.join(","), a.dfimin = F.join(","), a.rfimax = F.join(","), a.rfimin = F.join(","), a.vrstutter = $.join(","), a.cdm = se.join(","), a.tdm = T.join(","), a.pdm = P.join(","), a.ofps = z.join(","), a.dfbd = oe.join(","));
|
|
11100
11100
|
} catch (Q) {
|
|
11101
11101
|
}
|
|
11102
11102
|
this.log({
|
|
@@ -11803,7 +11803,7 @@ class Di {
|
|
|
11803
11803
|
c && this.dbPromise.then((e) => O(this, null, function* () {
|
|
11804
11804
|
if (!this.stsToken)
|
|
11805
11805
|
return;
|
|
11806
|
-
const t = yield
|
|
11806
|
+
const t = yield vn(e, c), i = {}, r = [];
|
|
11807
11807
|
t.forEach((n) => {
|
|
11808
11808
|
if (!n.date || !n.log) {
|
|
11809
11809
|
try {
|
|
@@ -11822,7 +11822,7 @@ class Di {
|
|
|
11822
11822
|
i[a] || (i[a] = [], r.push(a)), i[a].push(n);
|
|
11823
11823
|
}), Promise.all(r.map((n) => this.uploadSessionDateLog(c, n, i[n]))).then(
|
|
11824
11824
|
() => O(this, null, function* () {
|
|
11825
|
-
(yield
|
|
11825
|
+
(yield vn(e, c)).length === 0 && nc(e, c);
|
|
11826
11826
|
})
|
|
11827
11827
|
);
|
|
11828
11828
|
}));
|
|
@@ -12034,7 +12034,7 @@ const f0 = {
|
|
|
12034
12034
|
17: "16IN_360P",
|
|
12035
12035
|
9999: "Mixed_Audio"
|
|
12036
12036
|
};
|
|
12037
|
-
var gs = /* @__PURE__ */ ((s) => (s[s.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", s[s.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", s[s.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", s[s.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", s[s.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", s))(gs || {}), Ti = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", s[s.LiveTranscodingBody = 1] = "LiveTranscodingBody", s))(Ti || {}), Oi = /* @__PURE__ */ ((s) => (s[s.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", s[s.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", s[s.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", s[s.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", s[s.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", s[s.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", s))(Oi || {}), Fa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", s[s.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", s[s.LiveTranscodingFill = 2] = "LiveTranscodingFill", s))(Fa || {}),
|
|
12037
|
+
var gs = /* @__PURE__ */ ((s) => (s[s.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", s[s.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", s[s.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", s[s.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", s[s.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", s))(gs || {}), Ti = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", s[s.LiveTranscodingBody = 1] = "LiveTranscodingBody", s))(Ti || {}), Oi = /* @__PURE__ */ ((s) => (s[s.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", s[s.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", s[s.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", s[s.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", s[s.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", s[s.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", s))(Oi || {}), Fa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", s[s.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", s[s.LiveTranscodingFill = 2] = "LiveTranscodingFill", s))(Fa || {}), vs = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", s[s.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", s))(vs || {}), Oa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", s[s.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", s[s.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", s[s.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", s[s.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", s[s.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", s))(Oa || {}), xt = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", s[s.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", s[s.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", s[s.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", s[s.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", s[s.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", s[s.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", s[s.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", s[s.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", s))(xt || {}), Va = /* @__PURE__ */ ((s) => (s[s.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", s[s.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", s[s.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", s))(Va || {}), st = /* @__PURE__ */ ((s) => (s[s.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", s[s.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", s[s.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", s[s.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", s[s.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", s[s.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", s[s.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", s))(st || {});
|
|
12038
12038
|
const p0 = {
|
|
12039
12039
|
0: "/libra/v1/sdk/start-task",
|
|
12040
12040
|
1: "/libra/v1/sdk/update-task",
|
|
@@ -12064,7 +12064,7 @@ class Ua {
|
|
|
12064
12064
|
this.videoWidth = c, this.videoHeight = e, t && (this.videoFramerate = t), i && (this.videoBitrate = i), r && (this.videoGop = r), n && (this.audioSamplerate = n), a && (this.audioBitrate = a), o && (this.audioChannels = o);
|
|
12065
12065
|
}
|
|
12066
12066
|
}
|
|
12067
|
-
const
|
|
12067
|
+
const bs = (s) => ((s & 16711680) >> 16) + (s & 65280) + ((s & 255) << 16), ht = (s = 0, c) => {
|
|
12068
12068
|
if (c == 0)
|
|
12069
12069
|
return 0;
|
|
12070
12070
|
let e = s / c;
|
|
@@ -12114,7 +12114,7 @@ class ts {
|
|
|
12114
12114
|
(l, p) => l.toJson(p, u, h, a.mediaProcessMode)
|
|
12115
12115
|
)
|
|
12116
12116
|
}
|
|
12117
|
-
], n.layoutids = ["0"], n.cropmode = a.cropMode, n.backgroundcolor =
|
|
12117
|
+
], n.layoutids = ["0"], n.cropmode = a.cropMode, n.backgroundcolor = bs(a.backgroundColor), n.taskmode = a.mediaProcessMode;
|
|
12118
12118
|
}
|
|
12119
12119
|
}
|
|
12120
12120
|
}
|
|
@@ -12501,7 +12501,7 @@ const g0 = 3e4, ct = class ct extends Ge {
|
|
|
12501
12501
|
*/
|
|
12502
12502
|
refreshUrl(e) {
|
|
12503
12503
|
const t = this.packageCreater.createRefreshUrlPackage();
|
|
12504
|
-
t.data = me(
|
|
12504
|
+
t.data = me(vt(me({}, t.data), {
|
|
12505
12505
|
sessionid: t.header.sessionid
|
|
12506
12506
|
}), e), this.sendPackage(t);
|
|
12507
12507
|
}
|
|
@@ -12785,7 +12785,7 @@ const j = (s, c) => (e, t, i) => {
|
|
|
12785
12785
|
else
|
|
12786
12786
|
try {
|
|
12787
12787
|
l = c(f);
|
|
12788
|
-
} catch (
|
|
12788
|
+
} catch (b) {
|
|
12789
12789
|
}
|
|
12790
12790
|
else
|
|
12791
12791
|
return;
|
|
@@ -12800,10 +12800,10 @@ const j = (s, c) => (e, t, i) => {
|
|
|
12800
12800
|
}), h;
|
|
12801
12801
|
}, i;
|
|
12802
12802
|
}, ne = (s) => s;
|
|
12803
|
-
var
|
|
12804
|
-
for (var i = t > 1 ? void 0 : t ?
|
|
12803
|
+
var v0 = Object.defineProperty, b0 = Object.getOwnPropertyDescriptor, Ss = (s, c, e, t) => {
|
|
12804
|
+
for (var i = t > 1 ? void 0 : t ? b0(c, e) : c, r = s.length - 1, n; r >= 0; r--)
|
|
12805
12805
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
12806
|
-
return t && i &&
|
|
12806
|
+
return t && i && v0(c, e, i), i;
|
|
12807
12807
|
}, Ye;
|
|
12808
12808
|
const Vi = (Ye = class extends Ge {
|
|
12809
12809
|
constructor(e, t, i, r = yt.prod) {
|
|
@@ -12895,7 +12895,7 @@ const Vi = (Ye = class extends Ge {
|
|
|
12895
12895
|
return new Promise((t, i) => {
|
|
12896
12896
|
var r;
|
|
12897
12897
|
this.messageCenter ? (this.messageCenter.once("onPublishResult", (n, a, o) => {
|
|
12898
|
-
ae.info(`[${Ye.logName}]`, "recv pubish response " + n), n === 200 ? (this.updateReconnectData(
|
|
12898
|
+
ae.info(`[${Ye.logName}]`, "recv pubish response " + n), n === 200 ? (this.updateReconnectData(vt(me({}, this.reconnectData), {
|
|
12899
12899
|
publish: {
|
|
12900
12900
|
users: [e]
|
|
12901
12901
|
}
|
|
@@ -13021,8 +13021,8 @@ const S0 = "https://pgw.rtn.aliyuncs.com", _0 = "https://gw.rtn.aliyuncs.com", u
|
|
|
13021
13021
|
fetch(m).then((l) => l.json()).then((l) => {
|
|
13022
13022
|
var p, d;
|
|
13023
13023
|
if (l.code === 0) {
|
|
13024
|
-
const g = (p = l.data) == null ? void 0 : p.oss,
|
|
13025
|
-
this.expiration = g.expiration ||
|
|
13024
|
+
const g = (p = l.data) == null ? void 0 : p.oss, b = (d = l.data) == null ? void 0 : d.sls;
|
|
13025
|
+
this.expiration = g.expiration || b.expiration, this.emit("onTokenUpdate", g, b), ae.event(`[${li.logName}]`, "getToken", g, b);
|
|
13026
13026
|
} else
|
|
13027
13027
|
throw new Error();
|
|
13028
13028
|
this.slsReporter.reportSTSResult(200, f);
|
|
@@ -13579,7 +13579,7 @@ class Ci {
|
|
|
13579
13579
|
return this._byteArray.buffer;
|
|
13580
13580
|
}
|
|
13581
13581
|
}
|
|
13582
|
-
class
|
|
13582
|
+
class vi {
|
|
13583
13583
|
constructor(c = 0, e = !0, t = 1, i = !1, r = 0, n = !1, a = !1, o = 3) {
|
|
13584
13584
|
_(this, "_fin", !0);
|
|
13585
13585
|
_(this, "_hasExtension", !1);
|
|
@@ -13627,7 +13627,7 @@ class bi {
|
|
|
13627
13627
|
}
|
|
13628
13628
|
static parse(c) {
|
|
13629
13629
|
const e = new DataView(c), t = e.getUint8(0) >> 7 === 1, i = (e.getUint8(0) & 64) >> 6 === 1, r = (e.getUint8(0) & 48) >> 4, n = e.getUint8(0) & 15, a = e.getUint8(1) >> 7 === 1, o = (e.getUint8(1) & 64) >> 6 === 1, u = e.getUint8(1) & 15, h = e.getUint16(2);
|
|
13630
|
-
return new
|
|
13630
|
+
return new vi(
|
|
13631
13631
|
h,
|
|
13632
13632
|
t,
|
|
13633
13633
|
n,
|
|
@@ -13642,7 +13642,7 @@ class bi {
|
|
|
13642
13642
|
class Hi {
|
|
13643
13643
|
constructor(c, e) {
|
|
13644
13644
|
_(this, "_body");
|
|
13645
|
-
_(this, "_header", new
|
|
13645
|
+
_(this, "_header", new vi());
|
|
13646
13646
|
this._header = c, this._body = e;
|
|
13647
13647
|
}
|
|
13648
13648
|
get header() {
|
|
@@ -13661,7 +13661,7 @@ class Hi {
|
|
|
13661
13661
|
return i.set(new Uint8Array(t), 0), i.set(new Uint8Array(c), t.byteLength), i.set(new Uint8Array(e), t.byteLength + c.byteLength), i.buffer;
|
|
13662
13662
|
}
|
|
13663
13663
|
static parse(c) {
|
|
13664
|
-
const e = c.slice(0, 4), t =
|
|
13664
|
+
const e = c.slice(0, 4), t = vi.parse(e);
|
|
13665
13665
|
let i = new ArrayBuffer(0);
|
|
13666
13666
|
return c.byteLength - 4 >= t.payloadLength && (i = c.slice(4, 4 + t.payloadLength)), new Hi(t, i);
|
|
13667
13667
|
}
|
|
@@ -14241,15 +14241,15 @@ const Ne = (Tt = class extends Ha {
|
|
|
14241
14241
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
14242
14242
|
try {
|
|
14243
14243
|
const u = (r = this.streamTracks) == null ? void 0 : r.find(
|
|
14244
|
-
({ ssrc:
|
|
14244
|
+
({ ssrc: b, type: v, msid: x }) => v === "audio" && b && x === G.Audio
|
|
14245
14245
|
), h = yield this.compareAndPublish(u, e.audio, G.Audio);
|
|
14246
14246
|
h && (t = h);
|
|
14247
14247
|
const m = (n = this.streamTracks) == null ? void 0 : n.find(
|
|
14248
|
-
({ ssrc:
|
|
14248
|
+
({ ssrc: b, type: v, msid: x }) => v === "video" && b && x === G.VideoLarge
|
|
14249
14249
|
), f = yield this.compareAndPublish(m, e.video, G.VideoLarge);
|
|
14250
14250
|
f && (t = f);
|
|
14251
14251
|
const l = (a = this.streamTracks) == null ? void 0 : a.find(
|
|
14252
|
-
({ ssrc:
|
|
14252
|
+
({ ssrc: b, type: v, msid: x }) => v === "video" && b && x === G.VideoSmall
|
|
14253
14253
|
), p = yield this.compareAndPublish(
|
|
14254
14254
|
l,
|
|
14255
14255
|
e.videoSmall,
|
|
@@ -14257,7 +14257,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14257
14257
|
);
|
|
14258
14258
|
p && (t = p);
|
|
14259
14259
|
const d = (o = this.streamTracks) == null ? void 0 : o.find(
|
|
14260
|
-
({ ssrc:
|
|
14260
|
+
({ ssrc: b, type: v, msid: x }) => v === "video" && b && x === G.Screen
|
|
14261
14261
|
), g = yield this.compareAndPublish(d, e.screen, G.Screen);
|
|
14262
14262
|
if (g && (t = g), !t)
|
|
14263
14263
|
return;
|
|
@@ -14277,7 +14277,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14277
14277
|
let r = e;
|
|
14278
14278
|
if (this.dc) {
|
|
14279
14279
|
const a = e, { tracks: u } = a, h = Gt(a, ["tracks"]);
|
|
14280
|
-
r =
|
|
14280
|
+
r = vt(me({}, h), {
|
|
14281
14281
|
tracks: [
|
|
14282
14282
|
...u,
|
|
14283
14283
|
{
|
|
@@ -14544,8 +14544,8 @@ const Ne = (Tt = class extends Ha {
|
|
|
14544
14544
|
const d = this.monitorDataCache[h];
|
|
14545
14545
|
let g;
|
|
14546
14546
|
if ((d == null ? void 0 : d.length) > 0) {
|
|
14547
|
-
const
|
|
14548
|
-
g = Gt(
|
|
14547
|
+
const b = d[d.length - 1] || {}, { _last: x } = b;
|
|
14548
|
+
g = Gt(b, ["_last"]);
|
|
14549
14549
|
}
|
|
14550
14550
|
(d == null ? void 0 : d.length) >= fa && this.reportPublishMonitor(h), l._last = g, l._codec = u.codec || "", this.monitorDataCache[h].push(l);
|
|
14551
14551
|
});
|
|
@@ -14608,7 +14608,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14608
14608
|
const t = e.toBuffer(), i = k0(t, 1156);
|
|
14609
14609
|
i.forEach((n, a) => {
|
|
14610
14610
|
const o = new Hi(
|
|
14611
|
-
new
|
|
14611
|
+
new vi(n.byteLength, a === i.length - 1, a === 0 ? 1 : 0),
|
|
14612
14612
|
n
|
|
14613
14613
|
);
|
|
14614
14614
|
this.dc.send(o.toGRTNBuffer());
|
|
@@ -15316,12 +15316,12 @@ const Je = (_t = class extends Ha {
|
|
|
15316
15316
|
var l, p;
|
|
15317
15317
|
let a = e;
|
|
15318
15318
|
if (!a) {
|
|
15319
|
-
const { hasAudio: d, hasVideo: g, hasScreen:
|
|
15319
|
+
const { hasAudio: d, hasVideo: g, hasScreen: b, hasData: v } = (l = this.streamInfo) != null ? l : {};
|
|
15320
15320
|
a = {
|
|
15321
15321
|
audio: this.wantSubAudio && d,
|
|
15322
15322
|
video: this.wantSubVideo && g,
|
|
15323
|
-
screen: this.wantSubScreen &&
|
|
15324
|
-
data: ((p = this.parameter.data) == null ? void 0 : p.enableSubDataChannel) &&
|
|
15323
|
+
screen: this.wantSubScreen && b,
|
|
15324
|
+
data: ((p = this.parameter.data) == null ? void 0 : p.enableSubDataChannel) && v
|
|
15325
15325
|
};
|
|
15326
15326
|
}
|
|
15327
15327
|
this.streamInfo.markRemoteTrackSubscribing(a);
|
|
@@ -15596,9 +15596,9 @@ const Je = (_t = class extends Ha {
|
|
|
15596
15596
|
};
|
|
15597
15597
|
}
|
|
15598
15598
|
updateSubscribe(e) {
|
|
15599
|
-
var n, a, o, u, h, m, f, l, p, d, g,
|
|
15599
|
+
var n, a, o, u, h, m, f, l, p, d, g, b, v, x, y, A, I;
|
|
15600
15600
|
const t = Date.now(), i = {}, r = {};
|
|
15601
|
-
if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((a = this.streamInfo.getAudioInfo()) == null ? void 0 : a.msid) || G.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (r.audio = !0, r.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || G.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((m = this.streamInfo) != null && m.hasVideoSmall) ? (i.video = !0, i.vMsid = G.VideoSmall) : !this.isVideoLargeSubscribing && ((f = this.streamInfo) != null && f.hasVideoLarge) && !(this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || G.VideoLarge), this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (r.video = !0, r.vMsid = G.VideoLarge) : this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (r.video = !0, r.vMsid = G.VideoSmall)) : (!this.wantSubVideo || !((p = this.streamInfo) != null && p.hasVideo)) && this.isVideoSubscribing && (r.video = !0, r.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? G.VideoSmall : ((d = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : d.msid) || G.VideoLarge), this.wantSubScreen && !this.isScreenSubscribing && ((g = this.streamInfo) != null && g.hasScreen) ? i.screen = !0 : (!this.wantSubScreen || !((
|
|
15601
|
+
if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((a = this.streamInfo.getAudioInfo()) == null ? void 0 : a.msid) || G.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (r.audio = !0, r.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || G.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((m = this.streamInfo) != null && m.hasVideoSmall) ? (i.video = !0, i.vMsid = G.VideoSmall) : !this.isVideoLargeSubscribing && ((f = this.streamInfo) != null && f.hasVideoLarge) && !(this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || G.VideoLarge), this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (r.video = !0, r.vMsid = G.VideoLarge) : this.defaultVideoStreamType === qe.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (r.video = !0, r.vMsid = G.VideoSmall)) : (!this.wantSubVideo || !((p = this.streamInfo) != null && p.hasVideo)) && this.isVideoSubscribing && (r.video = !0, r.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? G.VideoSmall : ((d = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : d.msid) || G.VideoLarge), this.wantSubScreen && !this.isScreenSubscribing && ((g = this.streamInfo) != null && g.hasScreen) ? i.screen = !0 : (!this.wantSubScreen || !((b = this.streamInfo) != null && b.hasScreen)) && this.isScreenSubscribing && (r.screen = !0), (v = this.parameter.data) != null && v.enableSubDataChannel && !this.isDataSubscribing && ((x = this.streamInfo) != null && x.hasData) ? i.data = !0 : (!((y = this.parameter.data) != null && y.enableSubDataChannel) || !((A = this.streamInfo) != null && A.hasData)) && this.isDataSubscribing && (r.data = !0), (i.audio || i.video || i.screen || i.data) && (this.createCallId(), this.subscribe(i, e, t)), (r.audio || r.video || r.screen) && this.subscribeDeleteTracks(r), e === Te.Reconnect) {
|
|
15602
15602
|
if (ae.event(`[${_t.logName}]`, "reconnect, try to resume"), this.streamInfo.hasAudio && !i.audio) {
|
|
15603
15603
|
const w = this.rtsManager.getStreamByMsid({
|
|
15604
15604
|
url: this.streamUrl,
|
|
@@ -16039,7 +16039,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16039
16039
|
}
|
|
16040
16040
|
httpPublish(n, a) {
|
|
16041
16041
|
return O(this, arguments, function* (e, t, i = !1, r = kt.MANUAL) {
|
|
16042
|
-
var
|
|
16042
|
+
var v, x;
|
|
16043
16043
|
let o;
|
|
16044
16044
|
const { publishStream: u, videoSmallStream: h, screenStream: m, vMsid: f } = yield this.localStreamManager.createHTTPPublishStream();
|
|
16045
16045
|
if (!u)
|
|
@@ -16053,7 +16053,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16053
16053
|
this.encodedInsertableStreams && (l.encodedInsertableStreams = !0), l.answerSdpHook = (y) => {
|
|
16054
16054
|
const A = /\d+\.\d+\.\d+\.\d+(?=\s+1106|\s+8000)/.exec(y);
|
|
16055
16055
|
return A != null && A[0] && (o = A[0]), y;
|
|
16056
|
-
}, (x = (
|
|
16056
|
+
}, (x = (v = this.parameter) == null ? void 0 : v.net) != null && x.useTCP && (l.tcpOnly = !0), l.beforeRetry = (y) => O(this, null, function* () {
|
|
16057
16057
|
this._rtsReconnecting = !0, this.publishRetryHook && this.publishRetryHook();
|
|
16058
16058
|
const { publishStream: A, vMsid: I } = yield this.localStreamManager.createHTTPPublishStream();
|
|
16059
16059
|
if (!A)
|
|
@@ -16065,12 +16065,12 @@ const Ue = (Qe = class extends Ge {
|
|
|
16065
16065
|
}), this._rtsPeerConnectionType = "publish";
|
|
16066
16066
|
let p = !u.hasVideo, d = f, g = "";
|
|
16067
16067
|
this.startConnect();
|
|
16068
|
-
const
|
|
16068
|
+
const b = Date.now();
|
|
16069
16069
|
try {
|
|
16070
16070
|
g = yield this.rts.publish(e, u, l);
|
|
16071
16071
|
} catch (y) {
|
|
16072
16072
|
this.setConnected(!1);
|
|
16073
|
-
const A = 2e3 - (Date.now() -
|
|
16073
|
+
const A = 2e3 - (Date.now() - b);
|
|
16074
16074
|
throw A <= 0 ? this.emit("disconnected") : setTimeout(() => {
|
|
16075
16075
|
this.emit("disconnected");
|
|
16076
16076
|
}, A), this.slsReporter.reportPublish(
|
|
@@ -16084,7 +16084,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16084
16084
|
(y == null ? void 0 : y.errorCode) || -1,
|
|
16085
16085
|
this.pcTraceId,
|
|
16086
16086
|
"",
|
|
16087
|
-
|
|
16087
|
+
b
|
|
16088
16088
|
), Y.fromRtsError(y);
|
|
16089
16089
|
}
|
|
16090
16090
|
ae.event(`[${Qe.logName}]`, "rts publish success", g), this.slsReporter.reportPublish(
|
|
@@ -16098,7 +16098,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16098
16098
|
0,
|
|
16099
16099
|
g,
|
|
16100
16100
|
g,
|
|
16101
|
-
|
|
16101
|
+
b
|
|
16102
16102
|
);
|
|
16103
16103
|
try {
|
|
16104
16104
|
const y = Date.now();
|
|
@@ -16121,7 +16121,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16121
16121
|
), p = !1, d = G.Screen), yield this.waitPublishSender(e, p, d), this.slsReporter.reportPublishFirstPacket(
|
|
16122
16122
|
i,
|
|
16123
16123
|
t,
|
|
16124
|
-
|
|
16124
|
+
b,
|
|
16125
16125
|
y,
|
|
16126
16126
|
this._localJoinTime,
|
|
16127
16127
|
p ? G.Audio : l.vMsid,
|
|
@@ -16160,7 +16160,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16160
16160
|
}
|
|
16161
16161
|
publishAdd(u, h, m, f) {
|
|
16162
16162
|
return O(this, arguments, function* (e, t, i, r, n = !1, a = !1, o = kt.MANUAL) {
|
|
16163
|
-
var d, g,
|
|
16163
|
+
var d, g, b, v, x, y, A, I;
|
|
16164
16164
|
const l = Date.now(), p = this.getPubMsid(t, r);
|
|
16165
16165
|
try {
|
|
16166
16166
|
const w = yield da(
|
|
@@ -16185,8 +16185,8 @@ const Ue = (Qe = class extends Ge {
|
|
|
16185
16185
|
i,
|
|
16186
16186
|
((d = p.vMsid) == null ? void 0 : d[0]) === G.VideoLarge,
|
|
16187
16187
|
((g = p.vMsid) == null ? void 0 : g[0]) === G.VideoSmall,
|
|
16188
|
-
((
|
|
16189
|
-
((
|
|
16188
|
+
((b = p.vMsid) == null ? void 0 : b[0]) === G.Screen,
|
|
16189
|
+
((v = p.aMsid) == null ? void 0 : v[0]) === G.Audio,
|
|
16190
16190
|
0,
|
|
16191
16191
|
this.pcTraceId,
|
|
16192
16192
|
L.traceId || "",
|
|
@@ -16225,21 +16225,21 @@ const Ue = (Qe = class extends Ge {
|
|
|
16225
16225
|
return O(this, null, function* () {
|
|
16226
16226
|
var u, h, m, f, l, p, d, g;
|
|
16227
16227
|
yield this.dcConnectingPromise;
|
|
16228
|
-
const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid:
|
|
16228
|
+
const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid: b }) => b === G.Audio)) == null ? void 0 : h.msid, r = (f = (m = this.publishingTracks) == null ? void 0 : m.find(({ msid: b }) => b === G.VideoLarge)) == null ? void 0 : f.msid, n = (p = (l = this.publishingTracks) == null ? void 0 : l.find(({ msid: b }) => b === G.Screen)) == null ? void 0 : p.msid, a = [];
|
|
16229
16229
|
t.screen && n ? a.push(n) : t.video && a.push(t.vMsid || r);
|
|
16230
16230
|
const o = [];
|
|
16231
16231
|
t.audio && i && o.push(i), ae.event(Qe.logName, "publishDelete", { streamUrl: e, aMsid: o, vMsid: a });
|
|
16232
16232
|
try {
|
|
16233
|
-
const [
|
|
16233
|
+
const [b] = (yield this.rts.publishDeleteTracks([
|
|
16234
16234
|
{
|
|
16235
16235
|
url: e,
|
|
16236
16236
|
aMsid: o,
|
|
16237
16237
|
vMsid: a
|
|
16238
16238
|
}
|
|
16239
16239
|
])) || [];
|
|
16240
|
-
return ae.event(Qe.logName, "publishDelete", { result:
|
|
16241
|
-
} catch (
|
|
16242
|
-
throw Y.fromRtsError(
|
|
16240
|
+
return ae.event(Qe.logName, "publishDelete", { result: b }), b && this.updatePublishingTracks(b.trackInfoList), ((g = (d = b == null ? void 0 : b.trackInfoList) == null ? void 0 : d[0]) == null ? void 0 : g.trackId) || "";
|
|
16241
|
+
} catch (b) {
|
|
16242
|
+
throw Y.fromRtsError(b);
|
|
16243
16243
|
}
|
|
16244
16244
|
});
|
|
16245
16245
|
}
|
|
@@ -16364,7 +16364,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16364
16364
|
subscribeAdd(e) {
|
|
16365
16365
|
return O(this, null, function* () {
|
|
16366
16366
|
var n, a, o, u;
|
|
16367
|
-
const { remoteUser: t, options: i } = e, r =
|
|
16367
|
+
const { remoteUser: t, options: i } = e, r = vt(me({
|
|
16368
16368
|
url: t.streamUrl,
|
|
16369
16369
|
subAudio: !!i.audio,
|
|
16370
16370
|
subVideo: !!(i.screen || i.video)
|
|
@@ -16392,7 +16392,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16392
16392
|
return O(this, null, function* () {
|
|
16393
16393
|
var n, a, o, u;
|
|
16394
16394
|
yield this.dcConnectingPromise;
|
|
16395
|
-
const { remoteUser: t, options: i } = e, r =
|
|
16395
|
+
const { remoteUser: t, options: i } = e, r = vt(me({
|
|
16396
16396
|
url: t.streamUrl,
|
|
16397
16397
|
subAudio: !!i.audio,
|
|
16398
16398
|
subVideo: !!(i.screen || i.video)
|
|
@@ -16519,7 +16519,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16519
16519
|
const f = Date.now();
|
|
16520
16520
|
let l = G.VideoLarge, p = o.video || o.screen, d = o.audio;
|
|
16521
16521
|
o.video && o.vMsid ? l = o.vMsid : o.screen && (l = G.Screen);
|
|
16522
|
-
let g = 0,
|
|
16522
|
+
let g = 0, b = 0, v = 0;
|
|
16523
16523
|
const y = ((A, I) => {
|
|
16524
16524
|
let w = 0;
|
|
16525
16525
|
const R = () => {
|
|
@@ -16530,9 +16530,9 @@ const Ue = (Qe = class extends Ge {
|
|
|
16530
16530
|
else if (!p)
|
|
16531
16531
|
return w < A ? (w++, new Promise((N) => setTimeout(() => N(R()), I))) : !1;
|
|
16532
16532
|
return !0;
|
|
16533
|
-
})), p && !
|
|
16534
|
-
if (D.packetsReceived > 0 && (
|
|
16535
|
-
|
|
16533
|
+
})), p && !v && (L = this.rts.getSubscribeVideoStats(u.streamUrl, l).then((D) => {
|
|
16534
|
+
if (D.packetsReceived > 0 && (b = Date.now()), D.framesDecoded > 0)
|
|
16535
|
+
v = Date.now();
|
|
16536
16536
|
else
|
|
16537
16537
|
return w < A ? (w++, new Promise((N) => setTimeout(() => N(R()), I))) : (ae.error(`[${Qe.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
|
|
16538
16538
|
return !0;
|
|
@@ -16541,32 +16541,32 @@ const Ue = (Qe = class extends Ge {
|
|
|
16541
16541
|
return R();
|
|
16542
16542
|
})(40, 100);
|
|
16543
16543
|
return y.then(() => {
|
|
16544
|
-
|
|
16544
|
+
b && this.slsReporter.reportSubscribeFirstPacket(
|
|
16545
16545
|
t === Te.Resume,
|
|
16546
16546
|
i,
|
|
16547
16547
|
r,
|
|
16548
16548
|
l,
|
|
16549
16549
|
{
|
|
16550
|
-
fprt:
|
|
16551
|
-
ifsprtc:
|
|
16550
|
+
fprt: b - m,
|
|
16551
|
+
ifsprtc: v ? v - m : 0,
|
|
16552
16552
|
ajsub: t === Te.Join ? 1 : 0,
|
|
16553
16553
|
pctid: this.pcTraceId,
|
|
16554
16554
|
subtid: (h == null ? void 0 : h.traceId) || "",
|
|
16555
16555
|
sstc: f - m
|
|
16556
16556
|
}
|
|
16557
|
-
),
|
|
16557
|
+
), v && this.slsReporter.reportSubscribeFirstFrame(
|
|
16558
16558
|
t === Te.Resume,
|
|
16559
16559
|
i,
|
|
16560
16560
|
r,
|
|
16561
16561
|
l,
|
|
16562
16562
|
{
|
|
16563
|
-
fvfrt:
|
|
16564
|
-
fp2fftc:
|
|
16563
|
+
fvfrt: v - m,
|
|
16564
|
+
fp2fftc: v - b,
|
|
16565
16565
|
ajsub: t === Te.Join ? 1 : 0,
|
|
16566
|
-
tffrtc: t === Te.Join ?
|
|
16566
|
+
tffrtc: t === Te.Join ? v - this.localJoinTime : v - n,
|
|
16567
16567
|
pctid: this.pcTraceId,
|
|
16568
16568
|
subtid: (h == null ? void 0 : h.traceId) || "",
|
|
16569
|
-
fvfdtc:
|
|
16569
|
+
fvfdtc: v - m
|
|
16570
16570
|
}
|
|
16571
16571
|
), g && this.slsReporter.reportSubscribeFirstPacket(
|
|
16572
16572
|
t === Te.Resume,
|
|
@@ -16958,7 +16958,7 @@ const dt = (zt = class extends Ge {
|
|
|
16958
16958
|
_(this, "_publishLocalScreenStreamEnabled", !0);
|
|
16959
16959
|
this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
|
|
16960
16960
|
const i = (r) => O(this, null, function* () {
|
|
16961
|
-
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.0
|
|
16961
|
+
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.0")) {
|
|
16962
16962
|
console.warn(`${r.name} is not supported!!!`), r.emit("unsupported");
|
|
16963
16963
|
return;
|
|
16964
16964
|
}
|
|
@@ -17595,7 +17595,7 @@ function hu(s) {
|
|
|
17595
17595
|
const c = s.createTexture();
|
|
17596
17596
|
return s.bindTexture(s.TEXTURE_2D, c), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_WRAP_S, s.CLAMP_TO_EDGE), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_WRAP_T, s.CLAMP_TO_EDGE), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_MIN_FILTER, s.LINEAR), c;
|
|
17597
17597
|
}
|
|
17598
|
-
function
|
|
17598
|
+
function va(s, c, e) {
|
|
17599
17599
|
const t = s.createShader(c);
|
|
17600
17600
|
if (!t) {
|
|
17601
17601
|
console.error("create shader failed");
|
|
@@ -17604,7 +17604,7 @@ function ba(s, c, e) {
|
|
|
17604
17604
|
return s.shaderSource(t, e), s.compileShader(t), s.getShaderParameter(t, s.COMPILE_STATUS) ? t : (console.error(`An error occurred compiling the shaders: ${s.getShaderInfoLog(t)}`), s.deleteShader(t), null);
|
|
17605
17605
|
}
|
|
17606
17606
|
function du(s, c, e) {
|
|
17607
|
-
const t =
|
|
17607
|
+
const t = va(s, s.VERTEX_SHADER, c), i = va(s, s.FRAGMENT_SHADER, e), r = s.createProgram();
|
|
17608
17608
|
if (!(!r || !t || !i))
|
|
17609
17609
|
return s.attachShader(r, t), s.attachShader(r, i), s.linkProgram(r), s.getProgramParameter(r, s.LINK_STATUS) ? r : (console.error(`Unable to initialize the shader program: ${s.getProgramInfoLog(r)}`), null);
|
|
17610
17610
|
}
|
|
@@ -17614,7 +17614,7 @@ function lu(s, c, e, t = 0, i = 0) {
|
|
|
17614
17614
|
const n = t, a = i, o = c + t, u = e + i, h = [n, a, o, a, n, u, n, u, o, a, o, u];
|
|
17615
17615
|
return s.bufferData(s.ARRAY_BUFFER, new Float32Array(h), s.STATIC_DRAW), r;
|
|
17616
17616
|
}
|
|
17617
|
-
class
|
|
17617
|
+
class ba extends ys {
|
|
17618
17618
|
constructor(e, t) {
|
|
17619
17619
|
super(e, t);
|
|
17620
17620
|
_(this, "targetCtx");
|
|
@@ -17836,7 +17836,7 @@ class as {
|
|
|
17836
17836
|
* @return {VideoScaler}
|
|
17837
17837
|
*/
|
|
17838
17838
|
static getInstance(c, e) {
|
|
17839
|
-
return xa.isSupport() ? new xa(c, e) :
|
|
17839
|
+
return xa.isSupport() ? new xa(c, e) : ba.isSupport() ? new ba(c, e) : new au(c, e);
|
|
17840
17840
|
}
|
|
17841
17841
|
}
|
|
17842
17842
|
class pu extends ri {
|
|
@@ -18397,7 +18397,7 @@ const Jr = (s) => O(void 0, null, function* () {
|
|
|
18397
18397
|
);
|
|
18398
18398
|
return Array.from(new Uint8Array(i)).map((r) => r.toString(16).padStart(2, "0")).join("");
|
|
18399
18399
|
});
|
|
18400
|
-
class
|
|
18400
|
+
class vu {
|
|
18401
18401
|
constructor(c) {
|
|
18402
18402
|
_(this, "authInfo");
|
|
18403
18403
|
_(this, "slsReporter");
|
|
@@ -18558,7 +18558,7 @@ class Es {
|
|
|
18558
18558
|
return c && (c.width || c.height || c.frameRate || c.bitrateMax);
|
|
18559
18559
|
}
|
|
18560
18560
|
}
|
|
18561
|
-
class
|
|
18561
|
+
class bu {
|
|
18562
18562
|
constructor(c) {
|
|
18563
18563
|
_(this, "taskProfile");
|
|
18564
18564
|
_(this, "encodeParam");
|
|
@@ -18596,7 +18596,7 @@ class Su {
|
|
|
18596
18596
|
y: ht(this.y, e),
|
|
18597
18597
|
fonttype: this.fontType,
|
|
18598
18598
|
fontsize: this.fontSize,
|
|
18599
|
-
fontcolor:
|
|
18599
|
+
fontcolor: bs(this.fontColor),
|
|
18600
18600
|
zorder: this.zOrder
|
|
18601
18601
|
};
|
|
18602
18602
|
}
|
|
@@ -18646,7 +18646,7 @@ class _u {
|
|
|
18646
18646
|
y: ht(this.y, e),
|
|
18647
18647
|
fonttype: this.fontType,
|
|
18648
18648
|
fontsize: this.fontSize,
|
|
18649
|
-
fontcolor:
|
|
18649
|
+
fontcolor: bs(this.fontColor),
|
|
18650
18650
|
zorder: this.zOrder
|
|
18651
18651
|
};
|
|
18652
18652
|
}
|
|
@@ -18678,7 +18678,7 @@ class yu {
|
|
|
18678
18678
|
images: this.images.map((n) => n.toJson(e, t)),
|
|
18679
18679
|
texts: this.texts.map((n) => n.toJson(e, t))
|
|
18680
18680
|
};
|
|
18681
|
-
return this.sourceType && hi[this.sourceType] ? r.sourcetype = hi[this.sourceType] : r.sourcetype = hi[mi.LiveTranscodingCamera], this.segmentType && i ===
|
|
18681
|
+
return this.sourceType && hi[this.sourceType] ? r.sourcetype = hi[this.sourceType] : r.sourcetype = hi[mi.LiveTranscodingCamera], this.segmentType && i === vs.LiveTranscodingVirtualBackground ? r.segmenttype = this.segmentType : r.segmenttype = Ti.LiveTranscodingNoBody, r;
|
|
18682
18682
|
}
|
|
18683
18683
|
}
|
|
18684
18684
|
var Eu = Object.defineProperty, Au = Object.getOwnPropertyDescriptor, de = (s, c, e, t) => {
|
|
@@ -18705,7 +18705,7 @@ const ue = (le = class extends Ge {
|
|
|
18705
18705
|
_(this, "_serverCheckAuthInfoTimestamp", null);
|
|
18706
18706
|
_(this, "_localCheckAuthInfoTimestamp", null);
|
|
18707
18707
|
const t = Date.now();
|
|
18708
|
-
this.slsReporter = new pi(this), this.channelProfile = It.AliRtcSdkCommunication, this.clientRole = Ft.AliRtcSdkLive, this.liveTranscoding = new
|
|
18708
|
+
this.slsReporter = new pi(this), this.channelProfile = It.AliRtcSdkCommunication, this.clientRole = Ft.AliRtcSdkLive, this.liveTranscoding = new vu(this.slsReporter), this.signalingManager = new _s(
|
|
18709
18709
|
this.channelProfile,
|
|
18710
18710
|
this.clientRole,
|
|
18711
18711
|
this.slsReporter,
|
|
@@ -19640,16 +19640,16 @@ const ue = (le = class extends Ge {
|
|
|
19640
19640
|
}
|
|
19641
19641
|
switchCamera(e, t) {
|
|
19642
19642
|
return O(this, null, function* () {
|
|
19643
|
-
var r, n, a, o, u, h, m, f, l, p, d, g,
|
|
19643
|
+
var r, n, a, o, u, h, m, f, l, p, d, g, b;
|
|
19644
19644
|
if (this._audioOnlyMode)
|
|
19645
19645
|
throw new Y(re.ERR_INNER, "Cannot switch camera in audio only mode");
|
|
19646
19646
|
const i = {};
|
|
19647
19647
|
if (e ? (i.deviceId = e, this.slsReporter.reportSwitchCamera(e)) : (i.cameraDirection = ((r = this.publisher) == null ? void 0 : r.cameraDirection) === "environment" ? gi.CAMERA_FRONT : gi.CAMERA_REAR, this.slsReporter.reportSwitchCamera(((n = this.publisher) == null ? void 0 : n.cameraDirection) || "")), yield this.setCameraCapturerConfiguration(i), !((a = this.publisher) != null && a.cameraCaptureDisabled)) {
|
|
19648
19648
|
(u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((f = (m = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : m.video) == null || f.disableVideo(), (g = (d = (p = (l = this.publisher) == null ? void 0 : l.publishStreams) == null ? void 0 : p.video) == null ? void 0 : d.videoTrack) == null || g.stop());
|
|
19649
|
-
const
|
|
19649
|
+
const v = {
|
|
19650
19650
|
video: !0
|
|
19651
19651
|
};
|
|
19652
|
-
t && (
|
|
19652
|
+
t && (v.mediaStream = new MediaStream([t])), yield (b = this.publisher) == null ? void 0 : b.createLocalStream(v);
|
|
19653
19653
|
}
|
|
19654
19654
|
});
|
|
19655
19655
|
}
|
|
@@ -19892,7 +19892,7 @@ _(le, "getCameraList", () => O(le, null, function* () {
|
|
|
19892
19892
|
return (yield Re.getMicList()).filter((t) => t.deviceId);
|
|
19893
19893
|
})), _(le, "getSpeakerList", () => O(le, null, function* () {
|
|
19894
19894
|
return (yield Re.getSpeakerList()).filter((t) => t.deviceId);
|
|
19895
|
-
})), _(le, "_instance"), _(le, "AliRtcSdkChannelProfile", It), _(le, "AliRtcSdkClientRole", Ft), _(le, "AliRtcVideoStreamType", qe), _(le, "AliRtcVideoTrack", ye), _(le, "AliRtcAudioTrack", si), _(le, "AliRtcPublishState", ge), _(le, "AliRtcSubscribeState", ke), _(le, "AliRtcRawDataStreamType", je), _(le, "AliRtcLogLevel", La), _(le, "AliRtcEngineLocalDeviceType", St), _(le, "AliRtcEngineLocalDeviceExceptionType", He), _(le, "AliRtcConnectionStatus", De), _(le, "AliRtcConnectionStatusChangeReason", Yt), _(le, "AliRtcPlugin", ri), _(le, "AliRtcPluginTrackType", Fi), _(le, "AliRtcLiveTranscodingParam", ts), _(le, "AliRtcLiveTranscodingEncodeParam", Ua), _(le, "AliRtcLiveTranscodingMixParam",
|
|
19895
|
+
})), _(le, "_instance"), _(le, "AliRtcSdkChannelProfile", It), _(le, "AliRtcSdkClientRole", Ft), _(le, "AliRtcVideoStreamType", qe), _(le, "AliRtcVideoTrack", ye), _(le, "AliRtcAudioTrack", si), _(le, "AliRtcPublishState", ge), _(le, "AliRtcSubscribeState", ke), _(le, "AliRtcRawDataStreamType", je), _(le, "AliRtcLogLevel", La), _(le, "AliRtcEngineLocalDeviceType", St), _(le, "AliRtcEngineLocalDeviceExceptionType", He), _(le, "AliRtcConnectionStatus", De), _(le, "AliRtcConnectionStatusChangeReason", Yt), _(le, "AliRtcPlugin", ri), _(le, "AliRtcPluginTrackType", Fi), _(le, "AliRtcLiveTranscodingParam", ts), _(le, "AliRtcLiveTranscodingEncodeParam", Ua), _(le, "AliRtcLiveTranscodingMixParam", bu), _(le, "AliRtcLiveTranscodingSingleParam", xu), _(le, "AliRtcTranscodingClockWidget", Su), _(le, "AliRtcTranscodingImage", Xa), _(le, "AliRtcTranscodingText", _u), _(le, "AliRtcTranscodingUser", yu), _(le, "AliRtcLiveTranscodingMixMode", ki), _(le, "AliRtcLiveTranscodingStreamType", Ma), _(le, "AliRtcLiveTranscodingSourceType", mi), _(le, "AliRtcLiveTranscodingTaskProfile", Na), _(le, "AliRtcLiveTranscodingAudioSampleRate", gs), _(le, "AliRtcLiveTranscodingSegmentType", Ti), _(le, "AliRtcLiveTranscodingFontType", Oi), _(le, "AliRtcLiveTranscodingCropMode", Fa), _(le, "AliRtcLiveTranscodingMediaProcessMode", vs), _(le, "AliRtcLiveTranscodingState", Oa), _(le, "AliRtcLiveTranscodingErrorCode", xt), _(le, "AliRtcTrascodingPublishTaskStatus", Va), _(le, "AliRtcDataChannelMsg", ti), _(le, "AliRtcDataMsgType", $a), _(le, "Plugin", ri), le);
|
|
19896
19896
|
de([
|
|
19897
19897
|
j()
|
|
19898
19898
|
], ue.prototype, "destroy", 1);
|
|
@@ -20141,9 +20141,9 @@ export {
|
|
|
20141
20141
|
Ua as AliRtcLiveTranscodingEncodeParam,
|
|
20142
20142
|
xt as AliRtcLiveTranscodingErrorCode,
|
|
20143
20143
|
Oi as AliRtcLiveTranscodingFontType,
|
|
20144
|
-
|
|
20144
|
+
vs as AliRtcLiveTranscodingMediaProcessMode,
|
|
20145
20145
|
ki as AliRtcLiveTranscodingMixMode,
|
|
20146
|
-
|
|
20146
|
+
bu as AliRtcLiveTranscodingMixParam,
|
|
20147
20147
|
ts as AliRtcLiveTranscodingParam,
|
|
20148
20148
|
Ti as AliRtcLiveTranscodingSegmentType,
|
|
20149
20149
|
xu as AliRtcLiveTranscodingSingleParam,
|