15109 lines
682 KiB
JavaScript
15109 lines
682 KiB
JavaScript
!function(be) {
|
|
"use strict";
|
|
var K = globalThis;
|
|
function fa(i) {
|
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i
|
|
}
|
|
function aa(i) {
|
|
if (i.__esModule)
|
|
return i;
|
|
var e = i.default;
|
|
if (typeof e == "function") {
|
|
var f = function t() {
|
|
return this instanceof t ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments)
|
|
};
|
|
f.prototype = e.prototype
|
|
} else
|
|
f = {};
|
|
return Object.defineProperty(f, "__esModule", {
|
|
value: !0
|
|
}),
|
|
Object.keys(i).forEach(function(t) {
|
|
var c = Object.getOwnPropertyDescriptor(i, t);
|
|
Object.defineProperty(f, t, c.get ? c : {
|
|
enumerable: !0,
|
|
get: function() {
|
|
return i[t]
|
|
}
|
|
})
|
|
}),
|
|
f
|
|
}
|
|
var Rt = {};
|
|
const ia = {
|
|
version: "6.6.1"
|
|
};
|
|
var O0 = {}
|
|
, kt = {
|
|
exports: {}
|
|
};
|
|
const hr = aa(Object.freeze(Object.defineProperty({
|
|
__proto__: null,
|
|
default: {}
|
|
}, Symbol.toStringTag, {
|
|
value: "Module"
|
|
})));
|
|
(function(i) {
|
|
(function(e, f) {
|
|
function t(v, r) {
|
|
if (!v)
|
|
throw new Error(r || "Assertion failed")
|
|
}
|
|
function c(v, r) {
|
|
v.super_ = r;
|
|
var n = function() {};
|
|
n.prototype = r.prototype,
|
|
v.prototype = new n,
|
|
v.prototype.constructor = v
|
|
}
|
|
function a(v, r, n) {
|
|
if (a.isBN(v))
|
|
return v;
|
|
this.negative = 0,
|
|
this.words = null,
|
|
this.length = 0,
|
|
this.red = null,
|
|
v !== null && ((r === "le" || r === "be") && (n = r,
|
|
r = 10),
|
|
this._init(v || 0, r || 10, n || "be"))
|
|
}
|
|
typeof e == "object" ? e.exports = a : f.BN = a,
|
|
a.BN = a,
|
|
a.wordSize = 26;
|
|
var m;
|
|
try {
|
|
m = hr.Buffer
|
|
} catch (v) {}
|
|
a.isBN = function(r) {
|
|
return r instanceof a ? !0 : r !== null && typeof r == "object" && r.constructor.wordSize === a.wordSize && Array.isArray(r.words)
|
|
}
|
|
,
|
|
a.max = function(r, n) {
|
|
return r.cmp(n) > 0 ? r : n
|
|
}
|
|
,
|
|
a.min = function(r, n) {
|
|
return r.cmp(n) < 0 ? r : n
|
|
}
|
|
,
|
|
a.prototype._init = function(r, n, x) {
|
|
if (typeof r == "number")
|
|
return this._initNumber(r, n, x);
|
|
if (typeof r == "object")
|
|
return this._initArray(r, n, x);
|
|
n === "hex" && (n = 16),
|
|
t(n === (n | 0) && n >= 2 && n <= 36),
|
|
r = r.toString().replace(/\s+/g, "");
|
|
var l = 0;
|
|
r[0] === "-" && (l++,
|
|
this.negative = 1),
|
|
l < r.length && (n === 16 ? this._parseHex(r, l, x) : (this._parseBase(r, n, l),
|
|
x === "le" && this._initArray(this.toArray(), n, x)))
|
|
}
|
|
,
|
|
a.prototype._initNumber = function(r, n, x) {
|
|
r < 0 && (this.negative = 1,
|
|
r = -r),
|
|
r < 67108864 ? (this.words = [r & 67108863],
|
|
this.length = 1) : r < 4503599627370496 ? (this.words = [r & 67108863, r / 67108864 & 67108863],
|
|
this.length = 2) : (t(r < 9007199254740992),
|
|
this.words = [r & 67108863, r / 67108864 & 67108863, 1],
|
|
this.length = 3),
|
|
x === "le" && this._initArray(this.toArray(), n, x)
|
|
}
|
|
,
|
|
a.prototype._initArray = function(r, n, x) {
|
|
if (t(typeof r.length == "number"),
|
|
r.length <= 0)
|
|
return this.words = [0],
|
|
this.length = 1,
|
|
this;
|
|
this.length = Math.ceil(r.length / 3),
|
|
this.words = new Array(this.length);
|
|
for (var l = 0; l < this.length; l++)
|
|
this.words[l] = 0;
|
|
var B, M, z = 0;
|
|
if (x === "be")
|
|
for (l = r.length - 1,
|
|
B = 0; l >= 0; l -= 3)
|
|
M = r[l] | r[l - 1] << 8 | r[l - 2] << 16,
|
|
this.words[B] |= M << z & 67108863,
|
|
this.words[B + 1] = M >>> 26 - z & 67108863,
|
|
z += 24,
|
|
z >= 26 && (z -= 26,
|
|
B++);
|
|
else if (x === "le")
|
|
for (l = 0,
|
|
B = 0; l < r.length; l += 3)
|
|
M = r[l] | r[l + 1] << 8 | r[l + 2] << 16,
|
|
this.words[B] |= M << z & 67108863,
|
|
this.words[B + 1] = M >>> 26 - z & 67108863,
|
|
z += 24,
|
|
z >= 26 && (z -= 26,
|
|
B++);
|
|
return this.strip()
|
|
}
|
|
;
|
|
function h(v, r) {
|
|
var n = v.charCodeAt(r);
|
|
return n >= 65 && n <= 70 ? n - 55 : n >= 97 && n <= 102 ? n - 87 : n - 48 & 15
|
|
}
|
|
function p(v, r, n) {
|
|
var x = h(v, n);
|
|
return n - 1 >= r && (x |= h(v, n - 1) << 4),
|
|
x
|
|
}
|
|
a.prototype._parseHex = function(r, n, x) {
|
|
this.length = Math.ceil((r.length - n) / 6),
|
|
this.words = new Array(this.length);
|
|
for (var l = 0; l < this.length; l++)
|
|
this.words[l] = 0;
|
|
var B = 0, M = 0, z;
|
|
if (x === "be")
|
|
for (l = r.length - 1; l >= n; l -= 2)
|
|
z = p(r, n, l) << B,
|
|
this.words[M] |= z & 67108863,
|
|
B >= 18 ? (B -= 18,
|
|
M += 1,
|
|
this.words[M] |= z >>> 26) : B += 8;
|
|
else {
|
|
var _ = r.length - n;
|
|
for (l = _ % 2 === 0 ? n + 1 : n; l < r.length; l += 2)
|
|
z = p(r, n, l) << B,
|
|
this.words[M] |= z & 67108863,
|
|
B >= 18 ? (B -= 18,
|
|
M += 1,
|
|
this.words[M] |= z >>> 26) : B += 8
|
|
}
|
|
this.strip()
|
|
}
|
|
;
|
|
function s(v, r, n, x) {
|
|
for (var l = 0, B = Math.min(v.length, n), M = r; M < B; M++) {
|
|
var z = v.charCodeAt(M) - 48;
|
|
l *= x,
|
|
z >= 49 ? l += z - 49 + 10 : z >= 17 ? l += z - 17 + 10 : l += z
|
|
}
|
|
return l
|
|
}
|
|
a.prototype._parseBase = function(r, n, x) {
|
|
this.words = [0],
|
|
this.length = 1;
|
|
for (var l = 0, B = 1; B <= 67108863; B *= n)
|
|
l++;
|
|
l--,
|
|
B = B / n | 0;
|
|
for (var M = r.length - x, z = M % l, _ = Math.min(M, M - z) + x, d = 0, u = x; u < _; u += l)
|
|
d = s(r, u, u + l, n),
|
|
this.imuln(B),
|
|
this.words[0] + d < 67108864 ? this.words[0] += d : this._iaddn(d);
|
|
if (z !== 0) {
|
|
var q = 1;
|
|
for (d = s(r, u, r.length, n),
|
|
u = 0; u < z; u++)
|
|
q *= n;
|
|
this.imuln(q),
|
|
this.words[0] + d < 67108864 ? this.words[0] += d : this._iaddn(d)
|
|
}
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.copy = function(r) {
|
|
r.words = new Array(this.length);
|
|
for (var n = 0; n < this.length; n++)
|
|
r.words[n] = this.words[n];
|
|
r.length = this.length,
|
|
r.negative = this.negative,
|
|
r.red = this.red
|
|
}
|
|
,
|
|
a.prototype.clone = function() {
|
|
var r = new a(null);
|
|
return this.copy(r),
|
|
r
|
|
}
|
|
,
|
|
a.prototype._expand = function(r) {
|
|
for (; this.length < r; )
|
|
this.words[this.length++] = 0;
|
|
return this
|
|
}
|
|
,
|
|
a.prototype.strip = function() {
|
|
for (; this.length > 1 && this.words[this.length - 1] === 0; )
|
|
this.length--;
|
|
return this._normSign()
|
|
}
|
|
,
|
|
a.prototype._normSign = function() {
|
|
return this.length === 1 && this.words[0] === 0 && (this.negative = 0),
|
|
this
|
|
}
|
|
,
|
|
a.prototype.inspect = function() {
|
|
return (this.red ? "<BN-R: " : "<BN: ") + this.toString(16) + ">"
|
|
}
|
|
;
|
|
var o = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"]
|
|
, g = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
|
|
, b = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176];
|
|
a.prototype.toString = function(r, n) {
|
|
r = r || 10,
|
|
n = n | 0 || 1;
|
|
var x;
|
|
if (r === 16 || r === "hex") {
|
|
x = "";
|
|
for (var l = 0, B = 0, M = 0; M < this.length; M++) {
|
|
var z = this.words[M]
|
|
, _ = ((z << l | B) & 16777215).toString(16);
|
|
B = z >>> 24 - l & 16777215,
|
|
l += 2,
|
|
l >= 26 && (l -= 26,
|
|
M--),
|
|
B !== 0 || M !== this.length - 1 ? x = o[6 - _.length] + _ + x : x = _ + x
|
|
}
|
|
for (B !== 0 && (x = B.toString(16) + x); x.length % n !== 0; )
|
|
x = "0" + x;
|
|
return this.negative !== 0 && (x = "-" + x),
|
|
x
|
|
}
|
|
if (r === (r | 0) && r >= 2 && r <= 36) {
|
|
var d = g[r]
|
|
, u = b[r];
|
|
x = "";
|
|
var q = this.clone();
|
|
for (q.negative = 0; !q.isZero(); ) {
|
|
var $ = q.modn(u).toString(r);
|
|
q = q.idivn(u),
|
|
q.isZero() ? x = $ + x : x = o[d - $.length] + $ + x
|
|
}
|
|
for (this.isZero() && (x = "0" + x); x.length % n !== 0; )
|
|
x = "0" + x;
|
|
return this.negative !== 0 && (x = "-" + x),
|
|
x
|
|
}
|
|
t(!1, "Base should be between 2 and 36")
|
|
}
|
|
,
|
|
a.prototype.toNumber = function() {
|
|
var r = this.words[0];
|
|
return this.length === 2 ? r += this.words[1] * 67108864 : this.length === 3 && this.words[2] === 1 ? r += 4503599627370496 + this.words[1] * 67108864 : this.length > 2 && t(!1, "Number can only safely store up to 53 bits"),
|
|
this.negative !== 0 ? -r : r
|
|
}
|
|
,
|
|
a.prototype.toJSON = function() {
|
|
return this.toString(16)
|
|
}
|
|
,
|
|
a.prototype.toBuffer = function(r, n) {
|
|
return t(typeof m != "undefined"),
|
|
this.toArrayLike(m, r, n)
|
|
}
|
|
,
|
|
a.prototype.toArray = function(r, n) {
|
|
return this.toArrayLike(Array, r, n)
|
|
}
|
|
,
|
|
a.prototype.toArrayLike = function(r, n, x) {
|
|
var l = this.byteLength()
|
|
, B = x || Math.max(1, l);
|
|
t(l <= B, "byte array longer than desired length"),
|
|
t(B > 0, "Requested array length <= 0"),
|
|
this.strip();
|
|
var M = n === "le", z = new r(B), _, d, u = this.clone();
|
|
if (M) {
|
|
for (d = 0; !u.isZero(); d++)
|
|
_ = u.andln(255),
|
|
u.iushrn(8),
|
|
z[d] = _;
|
|
for (; d < B; d++)
|
|
z[d] = 0
|
|
} else {
|
|
for (d = 0; d < B - l; d++)
|
|
z[d] = 0;
|
|
for (d = 0; !u.isZero(); d++)
|
|
_ = u.andln(255),
|
|
u.iushrn(8),
|
|
z[B - d - 1] = _
|
|
}
|
|
return z
|
|
}
|
|
,
|
|
Math.clz32 ? a.prototype._countBits = function(r) {
|
|
return 32 - Math.clz32(r)
|
|
}
|
|
: a.prototype._countBits = function(r) {
|
|
var n = r
|
|
, x = 0;
|
|
return n >= 4096 && (x += 13,
|
|
n >>>= 13),
|
|
n >= 64 && (x += 7,
|
|
n >>>= 7),
|
|
n >= 8 && (x += 4,
|
|
n >>>= 4),
|
|
n >= 2 && (x += 2,
|
|
n >>>= 2),
|
|
x + n
|
|
}
|
|
,
|
|
a.prototype._zeroBits = function(r) {
|
|
if (r === 0)
|
|
return 26;
|
|
var n = r
|
|
, x = 0;
|
|
return n & 8191 || (x += 13,
|
|
n >>>= 13),
|
|
n & 127 || (x += 7,
|
|
n >>>= 7),
|
|
n & 15 || (x += 4,
|
|
n >>>= 4),
|
|
n & 3 || (x += 2,
|
|
n >>>= 2),
|
|
n & 1 || x++,
|
|
x
|
|
}
|
|
,
|
|
a.prototype.bitLength = function() {
|
|
var r = this.words[this.length - 1]
|
|
, n = this._countBits(r);
|
|
return (this.length - 1) * 26 + n
|
|
}
|
|
;
|
|
function y(v) {
|
|
for (var r = new Array(v.bitLength()), n = 0; n < r.length; n++) {
|
|
var x = n / 26 | 0
|
|
, l = n % 26;
|
|
r[n] = (v.words[x] & 1 << l) >>> l
|
|
}
|
|
return r
|
|
}
|
|
a.prototype.zeroBits = function() {
|
|
if (this.isZero())
|
|
return 0;
|
|
for (var r = 0, n = 0; n < this.length; n++) {
|
|
var x = this._zeroBits(this.words[n]);
|
|
if (r += x,
|
|
x !== 26)
|
|
break
|
|
}
|
|
return r
|
|
}
|
|
,
|
|
a.prototype.byteLength = function() {
|
|
return Math.ceil(this.bitLength() / 8)
|
|
}
|
|
,
|
|
a.prototype.toTwos = function(r) {
|
|
return this.negative !== 0 ? this.abs().inotn(r).iaddn(1) : this.clone()
|
|
}
|
|
,
|
|
a.prototype.fromTwos = function(r) {
|
|
return this.testn(r - 1) ? this.notn(r).iaddn(1).ineg() : this.clone()
|
|
}
|
|
,
|
|
a.prototype.isNeg = function() {
|
|
return this.negative !== 0
|
|
}
|
|
,
|
|
a.prototype.neg = function() {
|
|
return this.clone().ineg()
|
|
}
|
|
,
|
|
a.prototype.ineg = function() {
|
|
return this.isZero() || (this.negative ^= 1),
|
|
this
|
|
}
|
|
,
|
|
a.prototype.iuor = function(r) {
|
|
for (; this.length < r.length; )
|
|
this.words[this.length++] = 0;
|
|
for (var n = 0; n < r.length; n++)
|
|
this.words[n] = this.words[n] | r.words[n];
|
|
return this.strip()
|
|
}
|
|
,
|
|
a.prototype.ior = function(r) {
|
|
return t((this.negative | r.negative) === 0),
|
|
this.iuor(r)
|
|
}
|
|
,
|
|
a.prototype.or = function(r) {
|
|
return this.length > r.length ? this.clone().ior(r) : r.clone().ior(this)
|
|
}
|
|
,
|
|
a.prototype.uor = function(r) {
|
|
return this.length > r.length ? this.clone().iuor(r) : r.clone().iuor(this)
|
|
}
|
|
,
|
|
a.prototype.iuand = function(r) {
|
|
var n;
|
|
this.length > r.length ? n = r : n = this;
|
|
for (var x = 0; x < n.length; x++)
|
|
this.words[x] = this.words[x] & r.words[x];
|
|
return this.length = n.length,
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.iand = function(r) {
|
|
return t((this.negative | r.negative) === 0),
|
|
this.iuand(r)
|
|
}
|
|
,
|
|
a.prototype.and = function(r) {
|
|
return this.length > r.length ? this.clone().iand(r) : r.clone().iand(this)
|
|
}
|
|
,
|
|
a.prototype.uand = function(r) {
|
|
return this.length > r.length ? this.clone().iuand(r) : r.clone().iuand(this)
|
|
}
|
|
,
|
|
a.prototype.iuxor = function(r) {
|
|
var n, x;
|
|
this.length > r.length ? (n = this,
|
|
x = r) : (n = r,
|
|
x = this);
|
|
for (var l = 0; l < x.length; l++)
|
|
this.words[l] = n.words[l] ^ x.words[l];
|
|
if (this !== n)
|
|
for (; l < n.length; l++)
|
|
this.words[l] = n.words[l];
|
|
return this.length = n.length,
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.ixor = function(r) {
|
|
return t((this.negative | r.negative) === 0),
|
|
this.iuxor(r)
|
|
}
|
|
,
|
|
a.prototype.xor = function(r) {
|
|
return this.length > r.length ? this.clone().ixor(r) : r.clone().ixor(this)
|
|
}
|
|
,
|
|
a.prototype.uxor = function(r) {
|
|
return this.length > r.length ? this.clone().iuxor(r) : r.clone().iuxor(this)
|
|
}
|
|
,
|
|
a.prototype.inotn = function(r) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var n = Math.ceil(r / 26) | 0
|
|
, x = r % 26;
|
|
this._expand(n),
|
|
x > 0 && n--;
|
|
for (var l = 0; l < n; l++)
|
|
this.words[l] = ~this.words[l] & 67108863;
|
|
return x > 0 && (this.words[l] = ~this.words[l] & 67108863 >> 26 - x),
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.notn = function(r) {
|
|
return this.clone().inotn(r)
|
|
}
|
|
,
|
|
a.prototype.setn = function(r, n) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var x = r / 26 | 0
|
|
, l = r % 26;
|
|
return this._expand(x + 1),
|
|
n ? this.words[x] = this.words[x] | 1 << l : this.words[x] = this.words[x] & ~(1 << l),
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.iadd = function(r) {
|
|
var n;
|
|
if (this.negative !== 0 && r.negative === 0)
|
|
return this.negative = 0,
|
|
n = this.isub(r),
|
|
this.negative ^= 1,
|
|
this._normSign();
|
|
if (this.negative === 0 && r.negative !== 0)
|
|
return r.negative = 0,
|
|
n = this.isub(r),
|
|
r.negative = 1,
|
|
n._normSign();
|
|
var x, l;
|
|
this.length > r.length ? (x = this,
|
|
l = r) : (x = r,
|
|
l = this);
|
|
for (var B = 0, M = 0; M < l.length; M++)
|
|
n = (x.words[M] | 0) + (l.words[M] | 0) + B,
|
|
this.words[M] = n & 67108863,
|
|
B = n >>> 26;
|
|
for (; B !== 0 && M < x.length; M++)
|
|
n = (x.words[M] | 0) + B,
|
|
this.words[M] = n & 67108863,
|
|
B = n >>> 26;
|
|
if (this.length = x.length,
|
|
B !== 0)
|
|
this.words[this.length] = B,
|
|
this.length++;
|
|
else if (x !== this)
|
|
for (; M < x.length; M++)
|
|
this.words[M] = x.words[M];
|
|
return this
|
|
}
|
|
,
|
|
a.prototype.add = function(r) {
|
|
var n;
|
|
return r.negative !== 0 && this.negative === 0 ? (r.negative = 0,
|
|
n = this.sub(r),
|
|
r.negative ^= 1,
|
|
n) : r.negative === 0 && this.negative !== 0 ? (this.negative = 0,
|
|
n = r.sub(this),
|
|
this.negative = 1,
|
|
n) : this.length > r.length ? this.clone().iadd(r) : r.clone().iadd(this)
|
|
}
|
|
,
|
|
a.prototype.isub = function(r) {
|
|
if (r.negative !== 0) {
|
|
r.negative = 0;
|
|
var n = this.iadd(r);
|
|
return r.negative = 1,
|
|
n._normSign()
|
|
} else if (this.negative !== 0)
|
|
return this.negative = 0,
|
|
this.iadd(r),
|
|
this.negative = 1,
|
|
this._normSign();
|
|
var x = this.cmp(r);
|
|
if (x === 0)
|
|
return this.negative = 0,
|
|
this.length = 1,
|
|
this.words[0] = 0,
|
|
this;
|
|
var l, B;
|
|
x > 0 ? (l = this,
|
|
B = r) : (l = r,
|
|
B = this);
|
|
for (var M = 0, z = 0; z < B.length; z++)
|
|
n = (l.words[z] | 0) - (B.words[z] | 0) + M,
|
|
M = n >> 26,
|
|
this.words[z] = n & 67108863;
|
|
for (; M !== 0 && z < l.length; z++)
|
|
n = (l.words[z] | 0) + M,
|
|
M = n >> 26,
|
|
this.words[z] = n & 67108863;
|
|
if (M === 0 && z < l.length && l !== this)
|
|
for (; z < l.length; z++)
|
|
this.words[z] = l.words[z];
|
|
return this.length = Math.max(this.length, z),
|
|
l !== this && (this.negative = 1),
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.sub = function(r) {
|
|
return this.clone().isub(r)
|
|
}
|
|
;
|
|
function A(v, r, n) {
|
|
n.negative = r.negative ^ v.negative;
|
|
var x = v.length + r.length | 0;
|
|
n.length = x,
|
|
x = x - 1 | 0;
|
|
var l = v.words[0] | 0
|
|
, B = r.words[0] | 0
|
|
, M = l * B
|
|
, z = M & 67108863
|
|
, _ = M / 67108864 | 0;
|
|
n.words[0] = z;
|
|
for (var d = 1; d < x; d++) {
|
|
for (var u = _ >>> 26, q = _ & 67108863, $ = Math.min(d, r.length - 1), P = Math.max(0, d - v.length + 1); P <= $; P++) {
|
|
var O = d - P | 0;
|
|
l = v.words[O] | 0,
|
|
B = r.words[P] | 0,
|
|
M = l * B + q,
|
|
u += M / 67108864 | 0,
|
|
q = M & 67108863
|
|
}
|
|
n.words[d] = q | 0,
|
|
_ = u | 0
|
|
}
|
|
return _ !== 0 ? n.words[d] = _ | 0 : n.length--,
|
|
n.strip()
|
|
}
|
|
var E = function(r, n, x) {
|
|
var l = r.words, B = n.words, M = x.words, z = 0, _, d, u, q = l[0] | 0, $ = q & 8191, P = q >>> 13, O = l[1] | 0, W = O & 8191, X = O >>> 13, T = l[2] | 0, V = T & 8191, J = T >>> 13, He = l[3] | 0, t0 = He & 8191, j = He >>> 13, $0 = l[4] | 0, n0 = $0 & 8191, f0 = $0 >>> 13, Ee = l[5] | 0, a0 = Ee & 8191, c0 = Ee >>> 13, ve = l[6] | 0, Q = ve & 8191, Y = ve >>> 13, G0 = l[7] | 0, d0 = G0 & 8191, s0 = G0 >>> 13, ce = l[8] | 0, i0 = ce & 8191, g0 = ce >>> 13, We = l[9] | 0, o0 = We & 8191, e0 = We >>> 13, le = B[0] | 0, y0 = le & 8191, h0 = le >>> 13, Te = B[1] | 0, A0 = Te & 8191, B0 = Te >>> 13, Ke = B[2] | 0, _0 = Ke & 8191, x0 = Ke >>> 13, dr = B[3] | 0, u0 = dr & 8191, C0 = dr >>> 13, cr = B[4] | 0, E0 = cr & 8191, v0 = cr >>> 13, sr = B[5] | 0, F0 = sr & 8191, l0 = sr >>> 13, or = B[6] | 0, b0 = or & 8191, G = or >>> 13, Y0 = B[7] | 0, p0 = Y0 & 8191, w0 = Y0 >>> 13, ra = B[8] | 0, D0 = ra & 8191, M0 = ra >>> 13, ta = B[9] | 0, S0 = ta & 8191, z0 = ta >>> 13;
|
|
x.negative = r.negative ^ n.negative,
|
|
x.length = 19,
|
|
_ = Math.imul($, y0),
|
|
d = Math.imul($, h0),
|
|
d = d + Math.imul(P, y0) | 0,
|
|
u = Math.imul(P, h0);
|
|
var ut = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (ut >>> 26) | 0,
|
|
ut &= 67108863,
|
|
_ = Math.imul(W, y0),
|
|
d = Math.imul(W, h0),
|
|
d = d + Math.imul(X, y0) | 0,
|
|
u = Math.imul(X, h0),
|
|
_ = _ + Math.imul($, A0) | 0,
|
|
d = d + Math.imul($, B0) | 0,
|
|
d = d + Math.imul(P, A0) | 0,
|
|
u = u + Math.imul(P, B0) | 0;
|
|
var vt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (vt >>> 26) | 0,
|
|
vt &= 67108863,
|
|
_ = Math.imul(V, y0),
|
|
d = Math.imul(V, h0),
|
|
d = d + Math.imul(J, y0) | 0,
|
|
u = Math.imul(J, h0),
|
|
_ = _ + Math.imul(W, A0) | 0,
|
|
d = d + Math.imul(W, B0) | 0,
|
|
d = d + Math.imul(X, A0) | 0,
|
|
u = u + Math.imul(X, B0) | 0,
|
|
_ = _ + Math.imul($, _0) | 0,
|
|
d = d + Math.imul($, x0) | 0,
|
|
d = d + Math.imul(P, _0) | 0,
|
|
u = u + Math.imul(P, x0) | 0;
|
|
var lt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (lt >>> 26) | 0,
|
|
lt &= 67108863,
|
|
_ = Math.imul(t0, y0),
|
|
d = Math.imul(t0, h0),
|
|
d = d + Math.imul(j, y0) | 0,
|
|
u = Math.imul(j, h0),
|
|
_ = _ + Math.imul(V, A0) | 0,
|
|
d = d + Math.imul(V, B0) | 0,
|
|
d = d + Math.imul(J, A0) | 0,
|
|
u = u + Math.imul(J, B0) | 0,
|
|
_ = _ + Math.imul(W, _0) | 0,
|
|
d = d + Math.imul(W, x0) | 0,
|
|
d = d + Math.imul(X, _0) | 0,
|
|
u = u + Math.imul(X, x0) | 0,
|
|
_ = _ + Math.imul($, u0) | 0,
|
|
d = d + Math.imul($, C0) | 0,
|
|
d = d + Math.imul(P, u0) | 0,
|
|
u = u + Math.imul(P, C0) | 0;
|
|
var bt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (bt >>> 26) | 0,
|
|
bt &= 67108863,
|
|
_ = Math.imul(n0, y0),
|
|
d = Math.imul(n0, h0),
|
|
d = d + Math.imul(f0, y0) | 0,
|
|
u = Math.imul(f0, h0),
|
|
_ = _ + Math.imul(t0, A0) | 0,
|
|
d = d + Math.imul(t0, B0) | 0,
|
|
d = d + Math.imul(j, A0) | 0,
|
|
u = u + Math.imul(j, B0) | 0,
|
|
_ = _ + Math.imul(V, _0) | 0,
|
|
d = d + Math.imul(V, x0) | 0,
|
|
d = d + Math.imul(J, _0) | 0,
|
|
u = u + Math.imul(J, x0) | 0,
|
|
_ = _ + Math.imul(W, u0) | 0,
|
|
d = d + Math.imul(W, C0) | 0,
|
|
d = d + Math.imul(X, u0) | 0,
|
|
u = u + Math.imul(X, C0) | 0,
|
|
_ = _ + Math.imul($, E0) | 0,
|
|
d = d + Math.imul($, v0) | 0,
|
|
d = d + Math.imul(P, E0) | 0,
|
|
u = u + Math.imul(P, v0) | 0;
|
|
var pt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (pt >>> 26) | 0,
|
|
pt &= 67108863,
|
|
_ = Math.imul(a0, y0),
|
|
d = Math.imul(a0, h0),
|
|
d = d + Math.imul(c0, y0) | 0,
|
|
u = Math.imul(c0, h0),
|
|
_ = _ + Math.imul(n0, A0) | 0,
|
|
d = d + Math.imul(n0, B0) | 0,
|
|
d = d + Math.imul(f0, A0) | 0,
|
|
u = u + Math.imul(f0, B0) | 0,
|
|
_ = _ + Math.imul(t0, _0) | 0,
|
|
d = d + Math.imul(t0, x0) | 0,
|
|
d = d + Math.imul(j, _0) | 0,
|
|
u = u + Math.imul(j, x0) | 0,
|
|
_ = _ + Math.imul(V, u0) | 0,
|
|
d = d + Math.imul(V, C0) | 0,
|
|
d = d + Math.imul(J, u0) | 0,
|
|
u = u + Math.imul(J, C0) | 0,
|
|
_ = _ + Math.imul(W, E0) | 0,
|
|
d = d + Math.imul(W, v0) | 0,
|
|
d = d + Math.imul(X, E0) | 0,
|
|
u = u + Math.imul(X, v0) | 0,
|
|
_ = _ + Math.imul($, F0) | 0,
|
|
d = d + Math.imul($, l0) | 0,
|
|
d = d + Math.imul(P, F0) | 0,
|
|
u = u + Math.imul(P, l0) | 0;
|
|
var mt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (mt >>> 26) | 0,
|
|
mt &= 67108863,
|
|
_ = Math.imul(Q, y0),
|
|
d = Math.imul(Q, h0),
|
|
d = d + Math.imul(Y, y0) | 0,
|
|
u = Math.imul(Y, h0),
|
|
_ = _ + Math.imul(a0, A0) | 0,
|
|
d = d + Math.imul(a0, B0) | 0,
|
|
d = d + Math.imul(c0, A0) | 0,
|
|
u = u + Math.imul(c0, B0) | 0,
|
|
_ = _ + Math.imul(n0, _0) | 0,
|
|
d = d + Math.imul(n0, x0) | 0,
|
|
d = d + Math.imul(f0, _0) | 0,
|
|
u = u + Math.imul(f0, x0) | 0,
|
|
_ = _ + Math.imul(t0, u0) | 0,
|
|
d = d + Math.imul(t0, C0) | 0,
|
|
d = d + Math.imul(j, u0) | 0,
|
|
u = u + Math.imul(j, C0) | 0,
|
|
_ = _ + Math.imul(V, E0) | 0,
|
|
d = d + Math.imul(V, v0) | 0,
|
|
d = d + Math.imul(J, E0) | 0,
|
|
u = u + Math.imul(J, v0) | 0,
|
|
_ = _ + Math.imul(W, F0) | 0,
|
|
d = d + Math.imul(W, l0) | 0,
|
|
d = d + Math.imul(X, F0) | 0,
|
|
u = u + Math.imul(X, l0) | 0,
|
|
_ = _ + Math.imul($, b0) | 0,
|
|
d = d + Math.imul($, G) | 0,
|
|
d = d + Math.imul(P, b0) | 0,
|
|
u = u + Math.imul(P, G) | 0;
|
|
var gt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (gt >>> 26) | 0,
|
|
gt &= 67108863,
|
|
_ = Math.imul(d0, y0),
|
|
d = Math.imul(d0, h0),
|
|
d = d + Math.imul(s0, y0) | 0,
|
|
u = Math.imul(s0, h0),
|
|
_ = _ + Math.imul(Q, A0) | 0,
|
|
d = d + Math.imul(Q, B0) | 0,
|
|
d = d + Math.imul(Y, A0) | 0,
|
|
u = u + Math.imul(Y, B0) | 0,
|
|
_ = _ + Math.imul(a0, _0) | 0,
|
|
d = d + Math.imul(a0, x0) | 0,
|
|
d = d + Math.imul(c0, _0) | 0,
|
|
u = u + Math.imul(c0, x0) | 0,
|
|
_ = _ + Math.imul(n0, u0) | 0,
|
|
d = d + Math.imul(n0, C0) | 0,
|
|
d = d + Math.imul(f0, u0) | 0,
|
|
u = u + Math.imul(f0, C0) | 0,
|
|
_ = _ + Math.imul(t0, E0) | 0,
|
|
d = d + Math.imul(t0, v0) | 0,
|
|
d = d + Math.imul(j, E0) | 0,
|
|
u = u + Math.imul(j, v0) | 0,
|
|
_ = _ + Math.imul(V, F0) | 0,
|
|
d = d + Math.imul(V, l0) | 0,
|
|
d = d + Math.imul(J, F0) | 0,
|
|
u = u + Math.imul(J, l0) | 0,
|
|
_ = _ + Math.imul(W, b0) | 0,
|
|
d = d + Math.imul(W, G) | 0,
|
|
d = d + Math.imul(X, b0) | 0,
|
|
u = u + Math.imul(X, G) | 0,
|
|
_ = _ + Math.imul($, p0) | 0,
|
|
d = d + Math.imul($, w0) | 0,
|
|
d = d + Math.imul(P, p0) | 0,
|
|
u = u + Math.imul(P, w0) | 0;
|
|
var yt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (yt >>> 26) | 0,
|
|
yt &= 67108863,
|
|
_ = Math.imul(i0, y0),
|
|
d = Math.imul(i0, h0),
|
|
d = d + Math.imul(g0, y0) | 0,
|
|
u = Math.imul(g0, h0),
|
|
_ = _ + Math.imul(d0, A0) | 0,
|
|
d = d + Math.imul(d0, B0) | 0,
|
|
d = d + Math.imul(s0, A0) | 0,
|
|
u = u + Math.imul(s0, B0) | 0,
|
|
_ = _ + Math.imul(Q, _0) | 0,
|
|
d = d + Math.imul(Q, x0) | 0,
|
|
d = d + Math.imul(Y, _0) | 0,
|
|
u = u + Math.imul(Y, x0) | 0,
|
|
_ = _ + Math.imul(a0, u0) | 0,
|
|
d = d + Math.imul(a0, C0) | 0,
|
|
d = d + Math.imul(c0, u0) | 0,
|
|
u = u + Math.imul(c0, C0) | 0,
|
|
_ = _ + Math.imul(n0, E0) | 0,
|
|
d = d + Math.imul(n0, v0) | 0,
|
|
d = d + Math.imul(f0, E0) | 0,
|
|
u = u + Math.imul(f0, v0) | 0,
|
|
_ = _ + Math.imul(t0, F0) | 0,
|
|
d = d + Math.imul(t0, l0) | 0,
|
|
d = d + Math.imul(j, F0) | 0,
|
|
u = u + Math.imul(j, l0) | 0,
|
|
_ = _ + Math.imul(V, b0) | 0,
|
|
d = d + Math.imul(V, G) | 0,
|
|
d = d + Math.imul(J, b0) | 0,
|
|
u = u + Math.imul(J, G) | 0,
|
|
_ = _ + Math.imul(W, p0) | 0,
|
|
d = d + Math.imul(W, w0) | 0,
|
|
d = d + Math.imul(X, p0) | 0,
|
|
u = u + Math.imul(X, w0) | 0,
|
|
_ = _ + Math.imul($, D0) | 0,
|
|
d = d + Math.imul($, M0) | 0,
|
|
d = d + Math.imul(P, D0) | 0,
|
|
u = u + Math.imul(P, M0) | 0;
|
|
var At = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (At >>> 26) | 0,
|
|
At &= 67108863,
|
|
_ = Math.imul(o0, y0),
|
|
d = Math.imul(o0, h0),
|
|
d = d + Math.imul(e0, y0) | 0,
|
|
u = Math.imul(e0, h0),
|
|
_ = _ + Math.imul(i0, A0) | 0,
|
|
d = d + Math.imul(i0, B0) | 0,
|
|
d = d + Math.imul(g0, A0) | 0,
|
|
u = u + Math.imul(g0, B0) | 0,
|
|
_ = _ + Math.imul(d0, _0) | 0,
|
|
d = d + Math.imul(d0, x0) | 0,
|
|
d = d + Math.imul(s0, _0) | 0,
|
|
u = u + Math.imul(s0, x0) | 0,
|
|
_ = _ + Math.imul(Q, u0) | 0,
|
|
d = d + Math.imul(Q, C0) | 0,
|
|
d = d + Math.imul(Y, u0) | 0,
|
|
u = u + Math.imul(Y, C0) | 0,
|
|
_ = _ + Math.imul(a0, E0) | 0,
|
|
d = d + Math.imul(a0, v0) | 0,
|
|
d = d + Math.imul(c0, E0) | 0,
|
|
u = u + Math.imul(c0, v0) | 0,
|
|
_ = _ + Math.imul(n0, F0) | 0,
|
|
d = d + Math.imul(n0, l0) | 0,
|
|
d = d + Math.imul(f0, F0) | 0,
|
|
u = u + Math.imul(f0, l0) | 0,
|
|
_ = _ + Math.imul(t0, b0) | 0,
|
|
d = d + Math.imul(t0, G) | 0,
|
|
d = d + Math.imul(j, b0) | 0,
|
|
u = u + Math.imul(j, G) | 0,
|
|
_ = _ + Math.imul(V, p0) | 0,
|
|
d = d + Math.imul(V, w0) | 0,
|
|
d = d + Math.imul(J, p0) | 0,
|
|
u = u + Math.imul(J, w0) | 0,
|
|
_ = _ + Math.imul(W, D0) | 0,
|
|
d = d + Math.imul(W, M0) | 0,
|
|
d = d + Math.imul(X, D0) | 0,
|
|
u = u + Math.imul(X, M0) | 0,
|
|
_ = _ + Math.imul($, S0) | 0,
|
|
d = d + Math.imul($, z0) | 0,
|
|
d = d + Math.imul(P, S0) | 0,
|
|
u = u + Math.imul(P, z0) | 0;
|
|
var Bt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Bt >>> 26) | 0,
|
|
Bt &= 67108863,
|
|
_ = Math.imul(o0, A0),
|
|
d = Math.imul(o0, B0),
|
|
d = d + Math.imul(e0, A0) | 0,
|
|
u = Math.imul(e0, B0),
|
|
_ = _ + Math.imul(i0, _0) | 0,
|
|
d = d + Math.imul(i0, x0) | 0,
|
|
d = d + Math.imul(g0, _0) | 0,
|
|
u = u + Math.imul(g0, x0) | 0,
|
|
_ = _ + Math.imul(d0, u0) | 0,
|
|
d = d + Math.imul(d0, C0) | 0,
|
|
d = d + Math.imul(s0, u0) | 0,
|
|
u = u + Math.imul(s0, C0) | 0,
|
|
_ = _ + Math.imul(Q, E0) | 0,
|
|
d = d + Math.imul(Q, v0) | 0,
|
|
d = d + Math.imul(Y, E0) | 0,
|
|
u = u + Math.imul(Y, v0) | 0,
|
|
_ = _ + Math.imul(a0, F0) | 0,
|
|
d = d + Math.imul(a0, l0) | 0,
|
|
d = d + Math.imul(c0, F0) | 0,
|
|
u = u + Math.imul(c0, l0) | 0,
|
|
_ = _ + Math.imul(n0, b0) | 0,
|
|
d = d + Math.imul(n0, G) | 0,
|
|
d = d + Math.imul(f0, b0) | 0,
|
|
u = u + Math.imul(f0, G) | 0,
|
|
_ = _ + Math.imul(t0, p0) | 0,
|
|
d = d + Math.imul(t0, w0) | 0,
|
|
d = d + Math.imul(j, p0) | 0,
|
|
u = u + Math.imul(j, w0) | 0,
|
|
_ = _ + Math.imul(V, D0) | 0,
|
|
d = d + Math.imul(V, M0) | 0,
|
|
d = d + Math.imul(J, D0) | 0,
|
|
u = u + Math.imul(J, M0) | 0,
|
|
_ = _ + Math.imul(W, S0) | 0,
|
|
d = d + Math.imul(W, z0) | 0,
|
|
d = d + Math.imul(X, S0) | 0,
|
|
u = u + Math.imul(X, z0) | 0;
|
|
var _t = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (_t >>> 26) | 0,
|
|
_t &= 67108863,
|
|
_ = Math.imul(o0, _0),
|
|
d = Math.imul(o0, x0),
|
|
d = d + Math.imul(e0, _0) | 0,
|
|
u = Math.imul(e0, x0),
|
|
_ = _ + Math.imul(i0, u0) | 0,
|
|
d = d + Math.imul(i0, C0) | 0,
|
|
d = d + Math.imul(g0, u0) | 0,
|
|
u = u + Math.imul(g0, C0) | 0,
|
|
_ = _ + Math.imul(d0, E0) | 0,
|
|
d = d + Math.imul(d0, v0) | 0,
|
|
d = d + Math.imul(s0, E0) | 0,
|
|
u = u + Math.imul(s0, v0) | 0,
|
|
_ = _ + Math.imul(Q, F0) | 0,
|
|
d = d + Math.imul(Q, l0) | 0,
|
|
d = d + Math.imul(Y, F0) | 0,
|
|
u = u + Math.imul(Y, l0) | 0,
|
|
_ = _ + Math.imul(a0, b0) | 0,
|
|
d = d + Math.imul(a0, G) | 0,
|
|
d = d + Math.imul(c0, b0) | 0,
|
|
u = u + Math.imul(c0, G) | 0,
|
|
_ = _ + Math.imul(n0, p0) | 0,
|
|
d = d + Math.imul(n0, w0) | 0,
|
|
d = d + Math.imul(f0, p0) | 0,
|
|
u = u + Math.imul(f0, w0) | 0,
|
|
_ = _ + Math.imul(t0, D0) | 0,
|
|
d = d + Math.imul(t0, M0) | 0,
|
|
d = d + Math.imul(j, D0) | 0,
|
|
u = u + Math.imul(j, M0) | 0,
|
|
_ = _ + Math.imul(V, S0) | 0,
|
|
d = d + Math.imul(V, z0) | 0,
|
|
d = d + Math.imul(J, S0) | 0,
|
|
u = u + Math.imul(J, z0) | 0;
|
|
var Ct = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Ct >>> 26) | 0,
|
|
Ct &= 67108863,
|
|
_ = Math.imul(o0, u0),
|
|
d = Math.imul(o0, C0),
|
|
d = d + Math.imul(e0, u0) | 0,
|
|
u = Math.imul(e0, C0),
|
|
_ = _ + Math.imul(i0, E0) | 0,
|
|
d = d + Math.imul(i0, v0) | 0,
|
|
d = d + Math.imul(g0, E0) | 0,
|
|
u = u + Math.imul(g0, v0) | 0,
|
|
_ = _ + Math.imul(d0, F0) | 0,
|
|
d = d + Math.imul(d0, l0) | 0,
|
|
d = d + Math.imul(s0, F0) | 0,
|
|
u = u + Math.imul(s0, l0) | 0,
|
|
_ = _ + Math.imul(Q, b0) | 0,
|
|
d = d + Math.imul(Q, G) | 0,
|
|
d = d + Math.imul(Y, b0) | 0,
|
|
u = u + Math.imul(Y, G) | 0,
|
|
_ = _ + Math.imul(a0, p0) | 0,
|
|
d = d + Math.imul(a0, w0) | 0,
|
|
d = d + Math.imul(c0, p0) | 0,
|
|
u = u + Math.imul(c0, w0) | 0,
|
|
_ = _ + Math.imul(n0, D0) | 0,
|
|
d = d + Math.imul(n0, M0) | 0,
|
|
d = d + Math.imul(f0, D0) | 0,
|
|
u = u + Math.imul(f0, M0) | 0,
|
|
_ = _ + Math.imul(t0, S0) | 0,
|
|
d = d + Math.imul(t0, z0) | 0,
|
|
d = d + Math.imul(j, S0) | 0,
|
|
u = u + Math.imul(j, z0) | 0;
|
|
var Et = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Et >>> 26) | 0,
|
|
Et &= 67108863,
|
|
_ = Math.imul(o0, E0),
|
|
d = Math.imul(o0, v0),
|
|
d = d + Math.imul(e0, E0) | 0,
|
|
u = Math.imul(e0, v0),
|
|
_ = _ + Math.imul(i0, F0) | 0,
|
|
d = d + Math.imul(i0, l0) | 0,
|
|
d = d + Math.imul(g0, F0) | 0,
|
|
u = u + Math.imul(g0, l0) | 0,
|
|
_ = _ + Math.imul(d0, b0) | 0,
|
|
d = d + Math.imul(d0, G) | 0,
|
|
d = d + Math.imul(s0, b0) | 0,
|
|
u = u + Math.imul(s0, G) | 0,
|
|
_ = _ + Math.imul(Q, p0) | 0,
|
|
d = d + Math.imul(Q, w0) | 0,
|
|
d = d + Math.imul(Y, p0) | 0,
|
|
u = u + Math.imul(Y, w0) | 0,
|
|
_ = _ + Math.imul(a0, D0) | 0,
|
|
d = d + Math.imul(a0, M0) | 0,
|
|
d = d + Math.imul(c0, D0) | 0,
|
|
u = u + Math.imul(c0, M0) | 0,
|
|
_ = _ + Math.imul(n0, S0) | 0,
|
|
d = d + Math.imul(n0, z0) | 0,
|
|
d = d + Math.imul(f0, S0) | 0,
|
|
u = u + Math.imul(f0, z0) | 0;
|
|
var Ft = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Ft >>> 26) | 0,
|
|
Ft &= 67108863,
|
|
_ = Math.imul(o0, F0),
|
|
d = Math.imul(o0, l0),
|
|
d = d + Math.imul(e0, F0) | 0,
|
|
u = Math.imul(e0, l0),
|
|
_ = _ + Math.imul(i0, b0) | 0,
|
|
d = d + Math.imul(i0, G) | 0,
|
|
d = d + Math.imul(g0, b0) | 0,
|
|
u = u + Math.imul(g0, G) | 0,
|
|
_ = _ + Math.imul(d0, p0) | 0,
|
|
d = d + Math.imul(d0, w0) | 0,
|
|
d = d + Math.imul(s0, p0) | 0,
|
|
u = u + Math.imul(s0, w0) | 0,
|
|
_ = _ + Math.imul(Q, D0) | 0,
|
|
d = d + Math.imul(Q, M0) | 0,
|
|
d = d + Math.imul(Y, D0) | 0,
|
|
u = u + Math.imul(Y, M0) | 0,
|
|
_ = _ + Math.imul(a0, S0) | 0,
|
|
d = d + Math.imul(a0, z0) | 0,
|
|
d = d + Math.imul(c0, S0) | 0,
|
|
u = u + Math.imul(c0, z0) | 0;
|
|
var wt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (wt >>> 26) | 0,
|
|
wt &= 67108863,
|
|
_ = Math.imul(o0, b0),
|
|
d = Math.imul(o0, G),
|
|
d = d + Math.imul(e0, b0) | 0,
|
|
u = Math.imul(e0, G),
|
|
_ = _ + Math.imul(i0, p0) | 0,
|
|
d = d + Math.imul(i0, w0) | 0,
|
|
d = d + Math.imul(g0, p0) | 0,
|
|
u = u + Math.imul(g0, w0) | 0,
|
|
_ = _ + Math.imul(d0, D0) | 0,
|
|
d = d + Math.imul(d0, M0) | 0,
|
|
d = d + Math.imul(s0, D0) | 0,
|
|
u = u + Math.imul(s0, M0) | 0,
|
|
_ = _ + Math.imul(Q, S0) | 0,
|
|
d = d + Math.imul(Q, z0) | 0,
|
|
d = d + Math.imul(Y, S0) | 0,
|
|
u = u + Math.imul(Y, z0) | 0;
|
|
var Dt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Dt >>> 26) | 0,
|
|
Dt &= 67108863,
|
|
_ = Math.imul(o0, p0),
|
|
d = Math.imul(o0, w0),
|
|
d = d + Math.imul(e0, p0) | 0,
|
|
u = Math.imul(e0, w0),
|
|
_ = _ + Math.imul(i0, D0) | 0,
|
|
d = d + Math.imul(i0, M0) | 0,
|
|
d = d + Math.imul(g0, D0) | 0,
|
|
u = u + Math.imul(g0, M0) | 0,
|
|
_ = _ + Math.imul(d0, S0) | 0,
|
|
d = d + Math.imul(d0, z0) | 0,
|
|
d = d + Math.imul(s0, S0) | 0,
|
|
u = u + Math.imul(s0, z0) | 0;
|
|
var Mt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (Mt >>> 26) | 0,
|
|
Mt &= 67108863,
|
|
_ = Math.imul(o0, D0),
|
|
d = Math.imul(o0, M0),
|
|
d = d + Math.imul(e0, D0) | 0,
|
|
u = Math.imul(e0, M0),
|
|
_ = _ + Math.imul(i0, S0) | 0,
|
|
d = d + Math.imul(i0, z0) | 0,
|
|
d = d + Math.imul(g0, S0) | 0,
|
|
u = u + Math.imul(g0, z0) | 0;
|
|
var St = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
z = (u + (d >>> 13) | 0) + (St >>> 26) | 0,
|
|
St &= 67108863,
|
|
_ = Math.imul(o0, S0),
|
|
d = Math.imul(o0, z0),
|
|
d = d + Math.imul(e0, S0) | 0,
|
|
u = Math.imul(e0, z0);
|
|
var zt = (z + _ | 0) + ((d & 8191) << 13) | 0;
|
|
return z = (u + (d >>> 13) | 0) + (zt >>> 26) | 0,
|
|
zt &= 67108863,
|
|
M[0] = ut,
|
|
M[1] = vt,
|
|
M[2] = lt,
|
|
M[3] = bt,
|
|
M[4] = pt,
|
|
M[5] = mt,
|
|
M[6] = gt,
|
|
M[7] = yt,
|
|
M[8] = At,
|
|
M[9] = Bt,
|
|
M[10] = _t,
|
|
M[11] = Ct,
|
|
M[12] = Et,
|
|
M[13] = Ft,
|
|
M[14] = wt,
|
|
M[15] = Dt,
|
|
M[16] = Mt,
|
|
M[17] = St,
|
|
M[18] = zt,
|
|
z !== 0 && (M[19] = z,
|
|
x.length++),
|
|
x
|
|
};
|
|
Math.imul || (E = A);
|
|
function F(v, r, n) {
|
|
n.negative = r.negative ^ v.negative,
|
|
n.length = v.length + r.length;
|
|
for (var x = 0, l = 0, B = 0; B < n.length - 1; B++) {
|
|
var M = l;
|
|
l = 0;
|
|
for (var z = x & 67108863, _ = Math.min(B, r.length - 1), d = Math.max(0, B - v.length + 1); d <= _; d++) {
|
|
var u = B - d
|
|
, q = v.words[u] | 0
|
|
, $ = r.words[d] | 0
|
|
, P = q * $
|
|
, O = P & 67108863;
|
|
M = M + (P / 67108864 | 0) | 0,
|
|
O = O + z | 0,
|
|
z = O & 67108863,
|
|
M = M + (O >>> 26) | 0,
|
|
l += M >>> 26,
|
|
M &= 67108863
|
|
}
|
|
n.words[B] = z,
|
|
x = M,
|
|
M = l
|
|
}
|
|
return x !== 0 ? n.words[B] = x : n.length--,
|
|
n.strip()
|
|
}
|
|
function S(v, r, n) {
|
|
var x = new C;
|
|
return x.mulp(v, r, n)
|
|
}
|
|
a.prototype.mulTo = function(r, n) {
|
|
var x, l = this.length + r.length;
|
|
return this.length === 10 && r.length === 10 ? x = E(this, r, n) : l < 63 ? x = A(this, r, n) : l < 1024 ? x = F(this, r, n) : x = S(this, r, n),
|
|
x
|
|
}
|
|
;
|
|
function C(v, r) {
|
|
this.x = v,
|
|
this.y = r
|
|
}
|
|
C.prototype.makeRBT = function(r) {
|
|
for (var n = new Array(r), x = a.prototype._countBits(r) - 1, l = 0; l < r; l++)
|
|
n[l] = this.revBin(l, x, r);
|
|
return n
|
|
}
|
|
,
|
|
C.prototype.revBin = function(r, n, x) {
|
|
if (r === 0 || r === x - 1)
|
|
return r;
|
|
for (var l = 0, B = 0; B < n; B++)
|
|
l |= (r & 1) << n - B - 1,
|
|
r >>= 1;
|
|
return l
|
|
}
|
|
,
|
|
C.prototype.permute = function(r, n, x, l, B, M) {
|
|
for (var z = 0; z < M; z++)
|
|
l[z] = n[r[z]],
|
|
B[z] = x[r[z]]
|
|
}
|
|
,
|
|
C.prototype.transform = function(r, n, x, l, B, M) {
|
|
this.permute(M, r, n, x, l, B);
|
|
for (var z = 1; z < B; z <<= 1)
|
|
for (var _ = z << 1, d = Math.cos(2 * Math.PI / _), u = Math.sin(2 * Math.PI / _), q = 0; q < B; q += _)
|
|
for (var $ = d, P = u, O = 0; O < z; O++) {
|
|
var W = x[q + O]
|
|
, X = l[q + O]
|
|
, T = x[q + O + z]
|
|
, V = l[q + O + z]
|
|
, J = $ * T - P * V;
|
|
V = $ * V + P * T,
|
|
T = J,
|
|
x[q + O] = W + T,
|
|
l[q + O] = X + V,
|
|
x[q + O + z] = W - T,
|
|
l[q + O + z] = X - V,
|
|
O !== _ && (J = d * $ - u * P,
|
|
P = d * P + u * $,
|
|
$ = J)
|
|
}
|
|
}
|
|
,
|
|
C.prototype.guessLen13b = function(r, n) {
|
|
var x = Math.max(n, r) | 1
|
|
, l = x & 1
|
|
, B = 0;
|
|
for (x = x / 2 | 0; x; x = x >>> 1)
|
|
B++;
|
|
return 1 << B + 1 + l
|
|
}
|
|
,
|
|
C.prototype.conjugate = function(r, n, x) {
|
|
if (!(x <= 1))
|
|
for (var l = 0; l < x / 2; l++) {
|
|
var B = r[l];
|
|
r[l] = r[x - l - 1],
|
|
r[x - l - 1] = B,
|
|
B = n[l],
|
|
n[l] = -n[x - l - 1],
|
|
n[x - l - 1] = -B
|
|
}
|
|
}
|
|
,
|
|
C.prototype.normalize13b = function(r, n) {
|
|
for (var x = 0, l = 0; l < n / 2; l++) {
|
|
var B = Math.round(r[2 * l + 1] / n) * 8192 + Math.round(r[2 * l] / n) + x;
|
|
r[l] = B & 67108863,
|
|
B < 67108864 ? x = 0 : x = B / 67108864 | 0
|
|
}
|
|
return r
|
|
}
|
|
,
|
|
C.prototype.convert13b = function(r, n, x, l) {
|
|
for (var B = 0, M = 0; M < n; M++)
|
|
B = B + (r[M] | 0),
|
|
x[2 * M] = B & 8191,
|
|
B = B >>> 13,
|
|
x[2 * M + 1] = B & 8191,
|
|
B = B >>> 13;
|
|
for (M = 2 * n; M < l; ++M)
|
|
x[M] = 0;
|
|
t(B === 0),
|
|
t((B & -8192) === 0)
|
|
}
|
|
,
|
|
C.prototype.stub = function(r) {
|
|
for (var n = new Array(r), x = 0; x < r; x++)
|
|
n[x] = 0;
|
|
return n
|
|
}
|
|
,
|
|
C.prototype.mulp = function(r, n, x) {
|
|
var l = 2 * this.guessLen13b(r.length, n.length)
|
|
, B = this.makeRBT(l)
|
|
, M = this.stub(l)
|
|
, z = new Array(l)
|
|
, _ = new Array(l)
|
|
, d = new Array(l)
|
|
, u = new Array(l)
|
|
, q = new Array(l)
|
|
, $ = new Array(l)
|
|
, P = x.words;
|
|
P.length = l,
|
|
this.convert13b(r.words, r.length, z, l),
|
|
this.convert13b(n.words, n.length, u, l),
|
|
this.transform(z, M, _, d, l, B),
|
|
this.transform(u, M, q, $, l, B);
|
|
for (var O = 0; O < l; O++) {
|
|
var W = _[O] * q[O] - d[O] * $[O];
|
|
d[O] = _[O] * $[O] + d[O] * q[O],
|
|
_[O] = W
|
|
}
|
|
return this.conjugate(_, d, l),
|
|
this.transform(_, d, P, M, l, B),
|
|
this.conjugate(P, M, l),
|
|
this.normalize13b(P, l),
|
|
x.negative = r.negative ^ n.negative,
|
|
x.length = r.length + n.length,
|
|
x.strip()
|
|
}
|
|
,
|
|
a.prototype.mul = function(r) {
|
|
var n = new a(null);
|
|
return n.words = new Array(this.length + r.length),
|
|
this.mulTo(r, n)
|
|
}
|
|
,
|
|
a.prototype.mulf = function(r) {
|
|
var n = new a(null);
|
|
return n.words = new Array(this.length + r.length),
|
|
S(this, r, n)
|
|
}
|
|
,
|
|
a.prototype.imul = function(r) {
|
|
return this.clone().mulTo(r, this)
|
|
}
|
|
,
|
|
a.prototype.imuln = function(r) {
|
|
t(typeof r == "number"),
|
|
t(r < 67108864);
|
|
for (var n = 0, x = 0; x < this.length; x++) {
|
|
var l = (this.words[x] | 0) * r
|
|
, B = (l & 67108863) + (n & 67108863);
|
|
n >>= 26,
|
|
n += l / 67108864 | 0,
|
|
n += B >>> 26,
|
|
this.words[x] = B & 67108863
|
|
}
|
|
return n !== 0 && (this.words[x] = n,
|
|
this.length++),
|
|
this.length = r === 0 ? 1 : this.length,
|
|
this
|
|
}
|
|
,
|
|
a.prototype.muln = function(r) {
|
|
return this.clone().imuln(r)
|
|
}
|
|
,
|
|
a.prototype.sqr = function() {
|
|
return this.mul(this)
|
|
}
|
|
,
|
|
a.prototype.isqr = function() {
|
|
return this.imul(this.clone())
|
|
}
|
|
,
|
|
a.prototype.pow = function(r) {
|
|
var n = y(r);
|
|
if (n.length === 0)
|
|
return new a(1);
|
|
for (var x = this, l = 0; l < n.length && n[l] === 0; l++,
|
|
x = x.sqr())
|
|
;
|
|
if (++l < n.length)
|
|
for (var B = x.sqr(); l < n.length; l++,
|
|
B = B.sqr())
|
|
n[l] !== 0 && (x = x.mul(B));
|
|
return x
|
|
}
|
|
,
|
|
a.prototype.iushln = function(r) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var n = r % 26, x = (r - n) / 26, l = 67108863 >>> 26 - n << 26 - n, B;
|
|
if (n !== 0) {
|
|
var M = 0;
|
|
for (B = 0; B < this.length; B++) {
|
|
var z = this.words[B] & l
|
|
, _ = (this.words[B] | 0) - z << n;
|
|
this.words[B] = _ | M,
|
|
M = z >>> 26 - n
|
|
}
|
|
M && (this.words[B] = M,
|
|
this.length++)
|
|
}
|
|
if (x !== 0) {
|
|
for (B = this.length - 1; B >= 0; B--)
|
|
this.words[B + x] = this.words[B];
|
|
for (B = 0; B < x; B++)
|
|
this.words[B] = 0;
|
|
this.length += x
|
|
}
|
|
return this.strip()
|
|
}
|
|
,
|
|
a.prototype.ishln = function(r) {
|
|
return t(this.negative === 0),
|
|
this.iushln(r)
|
|
}
|
|
,
|
|
a.prototype.iushrn = function(r, n, x) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var l;
|
|
n ? l = (n - n % 26) / 26 : l = 0;
|
|
var B = r % 26
|
|
, M = Math.min((r - B) / 26, this.length)
|
|
, z = 67108863 ^ 67108863 >>> B << B
|
|
, _ = x;
|
|
if (l -= M,
|
|
l = Math.max(0, l),
|
|
_) {
|
|
for (var d = 0; d < M; d++)
|
|
_.words[d] = this.words[d];
|
|
_.length = M
|
|
}
|
|
if (M !== 0)
|
|
if (this.length > M)
|
|
for (this.length -= M,
|
|
d = 0; d < this.length; d++)
|
|
this.words[d] = this.words[d + M];
|
|
else
|
|
this.words[0] = 0,
|
|
this.length = 1;
|
|
var u = 0;
|
|
for (d = this.length - 1; d >= 0 && (u !== 0 || d >= l); d--) {
|
|
var q = this.words[d] | 0;
|
|
this.words[d] = u << 26 - B | q >>> B,
|
|
u = q & z
|
|
}
|
|
return _ && u !== 0 && (_.words[_.length++] = u),
|
|
this.length === 0 && (this.words[0] = 0,
|
|
this.length = 1),
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype.ishrn = function(r, n, x) {
|
|
return t(this.negative === 0),
|
|
this.iushrn(r, n, x)
|
|
}
|
|
,
|
|
a.prototype.shln = function(r) {
|
|
return this.clone().ishln(r)
|
|
}
|
|
,
|
|
a.prototype.ushln = function(r) {
|
|
return this.clone().iushln(r)
|
|
}
|
|
,
|
|
a.prototype.shrn = function(r) {
|
|
return this.clone().ishrn(r)
|
|
}
|
|
,
|
|
a.prototype.ushrn = function(r) {
|
|
return this.clone().iushrn(r)
|
|
}
|
|
,
|
|
a.prototype.testn = function(r) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var n = r % 26
|
|
, x = (r - n) / 26
|
|
, l = 1 << n;
|
|
if (this.length <= x)
|
|
return !1;
|
|
var B = this.words[x];
|
|
return !!(B & l)
|
|
}
|
|
,
|
|
a.prototype.imaskn = function(r) {
|
|
t(typeof r == "number" && r >= 0);
|
|
var n = r % 26
|
|
, x = (r - n) / 26;
|
|
if (t(this.negative === 0, "imaskn works only with positive numbers"),
|
|
this.length <= x)
|
|
return this;
|
|
if (n !== 0 && x++,
|
|
this.length = Math.min(x, this.length),
|
|
n !== 0) {
|
|
var l = 67108863 ^ 67108863 >>> n << n;
|
|
this.words[this.length - 1] &= l
|
|
}
|
|
return this.strip()
|
|
}
|
|
,
|
|
a.prototype.maskn = function(r) {
|
|
return this.clone().imaskn(r)
|
|
}
|
|
,
|
|
a.prototype.iaddn = function(r) {
|
|
return t(typeof r == "number"),
|
|
t(r < 67108864),
|
|
r < 0 ? this.isubn(-r) : this.negative !== 0 ? this.length === 1 && (this.words[0] | 0) < r ? (this.words[0] = r - (this.words[0] | 0),
|
|
this.negative = 0,
|
|
this) : (this.negative = 0,
|
|
this.isubn(r),
|
|
this.negative = 1,
|
|
this) : this._iaddn(r)
|
|
}
|
|
,
|
|
a.prototype._iaddn = function(r) {
|
|
this.words[0] += r;
|
|
for (var n = 0; n < this.length && this.words[n] >= 67108864; n++)
|
|
this.words[n] -= 67108864,
|
|
n === this.length - 1 ? this.words[n + 1] = 1 : this.words[n + 1]++;
|
|
return this.length = Math.max(this.length, n + 1),
|
|
this
|
|
}
|
|
,
|
|
a.prototype.isubn = function(r) {
|
|
if (t(typeof r == "number"),
|
|
t(r < 67108864),
|
|
r < 0)
|
|
return this.iaddn(-r);
|
|
if (this.negative !== 0)
|
|
return this.negative = 0,
|
|
this.iaddn(r),
|
|
this.negative = 1,
|
|
this;
|
|
if (this.words[0] -= r,
|
|
this.length === 1 && this.words[0] < 0)
|
|
this.words[0] = -this.words[0],
|
|
this.negative = 1;
|
|
else
|
|
for (var n = 0; n < this.length && this.words[n] < 0; n++)
|
|
this.words[n] += 67108864,
|
|
this.words[n + 1] -= 1;
|
|
return this.strip()
|
|
}
|
|
,
|
|
a.prototype.addn = function(r) {
|
|
return this.clone().iaddn(r)
|
|
}
|
|
,
|
|
a.prototype.subn = function(r) {
|
|
return this.clone().isubn(r)
|
|
}
|
|
,
|
|
a.prototype.iabs = function() {
|
|
return this.negative = 0,
|
|
this
|
|
}
|
|
,
|
|
a.prototype.abs = function() {
|
|
return this.clone().iabs()
|
|
}
|
|
,
|
|
a.prototype._ishlnsubmul = function(r, n, x) {
|
|
var l = r.length + x, B;
|
|
this._expand(l);
|
|
var M, z = 0;
|
|
for (B = 0; B < r.length; B++) {
|
|
M = (this.words[B + x] | 0) + z;
|
|
var _ = (r.words[B] | 0) * n;
|
|
M -= _ & 67108863,
|
|
z = (M >> 26) - (_ / 67108864 | 0),
|
|
this.words[B + x] = M & 67108863
|
|
}
|
|
for (; B < this.length - x; B++)
|
|
M = (this.words[B + x] | 0) + z,
|
|
z = M >> 26,
|
|
this.words[B + x] = M & 67108863;
|
|
if (z === 0)
|
|
return this.strip();
|
|
for (t(z === -1),
|
|
z = 0,
|
|
B = 0; B < this.length; B++)
|
|
M = -(this.words[B] | 0) + z,
|
|
z = M >> 26,
|
|
this.words[B] = M & 67108863;
|
|
return this.negative = 1,
|
|
this.strip()
|
|
}
|
|
,
|
|
a.prototype._wordDiv = function(r, n) {
|
|
var x = this.length - r.length
|
|
, l = this.clone()
|
|
, B = r
|
|
, M = B.words[B.length - 1] | 0
|
|
, z = this._countBits(M);
|
|
x = 26 - z,
|
|
x !== 0 && (B = B.ushln(x),
|
|
l.iushln(x),
|
|
M = B.words[B.length - 1] | 0);
|
|
var _ = l.length - B.length, d;
|
|
if (n !== "mod") {
|
|
d = new a(null),
|
|
d.length = _ + 1,
|
|
d.words = new Array(d.length);
|
|
for (var u = 0; u < d.length; u++)
|
|
d.words[u] = 0
|
|
}
|
|
var q = l.clone()._ishlnsubmul(B, 1, _);
|
|
q.negative === 0 && (l = q,
|
|
d && (d.words[_] = 1));
|
|
for (var $ = _ - 1; $ >= 0; $--) {
|
|
var P = (l.words[B.length + $] | 0) * 67108864 + (l.words[B.length + $ - 1] | 0);
|
|
for (P = Math.min(P / M | 0, 67108863),
|
|
l._ishlnsubmul(B, P, $); l.negative !== 0; )
|
|
P--,
|
|
l.negative = 0,
|
|
l._ishlnsubmul(B, 1, $),
|
|
l.isZero() || (l.negative ^= 1);
|
|
d && (d.words[$] = P)
|
|
}
|
|
return d && d.strip(),
|
|
l.strip(),
|
|
n !== "div" && x !== 0 && l.iushrn(x),
|
|
{
|
|
div: d || null,
|
|
mod: l
|
|
}
|
|
}
|
|
,
|
|
a.prototype.divmod = function(r, n, x) {
|
|
if (t(!r.isZero()),
|
|
this.isZero())
|
|
return {
|
|
div: new a(0),
|
|
mod: new a(0)
|
|
};
|
|
var l, B, M;
|
|
return this.negative !== 0 && r.negative === 0 ? (M = this.neg().divmod(r, n),
|
|
n !== "mod" && (l = M.div.neg()),
|
|
n !== "div" && (B = M.mod.neg(),
|
|
x && B.negative !== 0 && B.iadd(r)),
|
|
{
|
|
div: l,
|
|
mod: B
|
|
}) : this.negative === 0 && r.negative !== 0 ? (M = this.divmod(r.neg(), n),
|
|
n !== "mod" && (l = M.div.neg()),
|
|
{
|
|
div: l,
|
|
mod: M.mod
|
|
}) : this.negative & r.negative ? (M = this.neg().divmod(r.neg(), n),
|
|
n !== "div" && (B = M.mod.neg(),
|
|
x && B.negative !== 0 && B.isub(r)),
|
|
{
|
|
div: M.div,
|
|
mod: B
|
|
}) : r.length > this.length || this.cmp(r) < 0 ? {
|
|
div: new a(0),
|
|
mod: this
|
|
} : r.length === 1 ? n === "div" ? {
|
|
div: this.divn(r.words[0]),
|
|
mod: null
|
|
} : n === "mod" ? {
|
|
div: null,
|
|
mod: new a(this.modn(r.words[0]))
|
|
} : {
|
|
div: this.divn(r.words[0]),
|
|
mod: new a(this.modn(r.words[0]))
|
|
} : this._wordDiv(r, n)
|
|
}
|
|
,
|
|
a.prototype.div = function(r) {
|
|
return this.divmod(r, "div", !1).div
|
|
}
|
|
,
|
|
a.prototype.mod = function(r) {
|
|
return this.divmod(r, "mod", !1).mod
|
|
}
|
|
,
|
|
a.prototype.umod = function(r) {
|
|
return this.divmod(r, "mod", !0).mod
|
|
}
|
|
,
|
|
a.prototype.divRound = function(r) {
|
|
var n = this.divmod(r);
|
|
if (n.mod.isZero())
|
|
return n.div;
|
|
var x = n.div.negative !== 0 ? n.mod.isub(r) : n.mod
|
|
, l = r.ushrn(1)
|
|
, B = r.andln(1)
|
|
, M = x.cmp(l);
|
|
return M < 0 || B === 1 && M === 0 ? n.div : n.div.negative !== 0 ? n.div.isubn(1) : n.div.iaddn(1)
|
|
}
|
|
,
|
|
a.prototype.modn = function(r) {
|
|
t(r <= 67108863);
|
|
for (var n = (1 << 26) % r, x = 0, l = this.length - 1; l >= 0; l--)
|
|
x = (n * x + (this.words[l] | 0)) % r;
|
|
return x
|
|
}
|
|
,
|
|
a.prototype.idivn = function(r) {
|
|
t(r <= 67108863);
|
|
for (var n = 0, x = this.length - 1; x >= 0; x--) {
|
|
var l = (this.words[x] | 0) + n * 67108864;
|
|
this.words[x] = l / r | 0,
|
|
n = l % r
|
|
}
|
|
return this.strip()
|
|
}
|
|
,
|
|
a.prototype.divn = function(r) {
|
|
return this.clone().idivn(r)
|
|
}
|
|
,
|
|
a.prototype.egcd = function(r) {
|
|
t(r.negative === 0),
|
|
t(!r.isZero());
|
|
var n = this
|
|
, x = r.clone();
|
|
n.negative !== 0 ? n = n.umod(r) : n = n.clone();
|
|
for (var l = new a(1), B = new a(0), M = new a(0), z = new a(1), _ = 0; n.isEven() && x.isEven(); )
|
|
n.iushrn(1),
|
|
x.iushrn(1),
|
|
++_;
|
|
for (var d = x.clone(), u = n.clone(); !n.isZero(); ) {
|
|
for (var q = 0, $ = 1; !(n.words[0] & $) && q < 26; ++q,
|
|
$ <<= 1)
|
|
;
|
|
if (q > 0)
|
|
for (n.iushrn(q); q-- > 0; )
|
|
(l.isOdd() || B.isOdd()) && (l.iadd(d),
|
|
B.isub(u)),
|
|
l.iushrn(1),
|
|
B.iushrn(1);
|
|
for (var P = 0, O = 1; !(x.words[0] & O) && P < 26; ++P,
|
|
O <<= 1)
|
|
;
|
|
if (P > 0)
|
|
for (x.iushrn(P); P-- > 0; )
|
|
(M.isOdd() || z.isOdd()) && (M.iadd(d),
|
|
z.isub(u)),
|
|
M.iushrn(1),
|
|
z.iushrn(1);
|
|
n.cmp(x) >= 0 ? (n.isub(x),
|
|
l.isub(M),
|
|
B.isub(z)) : (x.isub(n),
|
|
M.isub(l),
|
|
z.isub(B))
|
|
}
|
|
return {
|
|
a: M,
|
|
b: z,
|
|
gcd: x.iushln(_)
|
|
}
|
|
}
|
|
,
|
|
a.prototype._invmp = function(r) {
|
|
t(r.negative === 0),
|
|
t(!r.isZero());
|
|
var n = this
|
|
, x = r.clone();
|
|
n.negative !== 0 ? n = n.umod(r) : n = n.clone();
|
|
for (var l = new a(1), B = new a(0), M = x.clone(); n.cmpn(1) > 0 && x.cmpn(1) > 0; ) {
|
|
for (var z = 0, _ = 1; !(n.words[0] & _) && z < 26; ++z,
|
|
_ <<= 1)
|
|
;
|
|
if (z > 0)
|
|
for (n.iushrn(z); z-- > 0; )
|
|
l.isOdd() && l.iadd(M),
|
|
l.iushrn(1);
|
|
for (var d = 0, u = 1; !(x.words[0] & u) && d < 26; ++d,
|
|
u <<= 1)
|
|
;
|
|
if (d > 0)
|
|
for (x.iushrn(d); d-- > 0; )
|
|
B.isOdd() && B.iadd(M),
|
|
B.iushrn(1);
|
|
n.cmp(x) >= 0 ? (n.isub(x),
|
|
l.isub(B)) : (x.isub(n),
|
|
B.isub(l))
|
|
}
|
|
var q;
|
|
return n.cmpn(1) === 0 ? q = l : q = B,
|
|
q.cmpn(0) < 0 && q.iadd(r),
|
|
q
|
|
}
|
|
,
|
|
a.prototype.gcd = function(r) {
|
|
if (this.isZero())
|
|
return r.abs();
|
|
if (r.isZero())
|
|
return this.abs();
|
|
var n = this.clone()
|
|
, x = r.clone();
|
|
n.negative = 0,
|
|
x.negative = 0;
|
|
for (var l = 0; n.isEven() && x.isEven(); l++)
|
|
n.iushrn(1),
|
|
x.iushrn(1);
|
|
do {
|
|
for (; n.isEven(); )
|
|
n.iushrn(1);
|
|
for (; x.isEven(); )
|
|
x.iushrn(1);
|
|
var B = n.cmp(x);
|
|
if (B < 0) {
|
|
var M = n;
|
|
n = x,
|
|
x = M
|
|
} else if (B === 0 || x.cmpn(1) === 0)
|
|
break;
|
|
n.isub(x)
|
|
} while (!0);
|
|
return x.iushln(l)
|
|
}
|
|
,
|
|
a.prototype.invm = function(r) {
|
|
return this.egcd(r).a.umod(r)
|
|
}
|
|
,
|
|
a.prototype.isEven = function() {
|
|
return (this.words[0] & 1) === 0
|
|
}
|
|
,
|
|
a.prototype.isOdd = function() {
|
|
return (this.words[0] & 1) === 1
|
|
}
|
|
,
|
|
a.prototype.andln = function(r) {
|
|
return this.words[0] & r
|
|
}
|
|
,
|
|
a.prototype.bincn = function(r) {
|
|
t(typeof r == "number");
|
|
var n = r % 26
|
|
, x = (r - n) / 26
|
|
, l = 1 << n;
|
|
if (this.length <= x)
|
|
return this._expand(x + 1),
|
|
this.words[x] |= l,
|
|
this;
|
|
for (var B = l, M = x; B !== 0 && M < this.length; M++) {
|
|
var z = this.words[M] | 0;
|
|
z += B,
|
|
B = z >>> 26,
|
|
z &= 67108863,
|
|
this.words[M] = z
|
|
}
|
|
return B !== 0 && (this.words[M] = B,
|
|
this.length++),
|
|
this
|
|
}
|
|
,
|
|
a.prototype.isZero = function() {
|
|
return this.length === 1 && this.words[0] === 0
|
|
}
|
|
,
|
|
a.prototype.cmpn = function(r) {
|
|
var n = r < 0;
|
|
if (this.negative !== 0 && !n)
|
|
return -1;
|
|
if (this.negative === 0 && n)
|
|
return 1;
|
|
this.strip();
|
|
var x;
|
|
if (this.length > 1)
|
|
x = 1;
|
|
else {
|
|
n && (r = -r),
|
|
t(r <= 67108863, "Number is too big");
|
|
var l = this.words[0] | 0;
|
|
x = l === r ? 0 : l < r ? -1 : 1
|
|
}
|
|
return this.negative !== 0 ? -x | 0 : x
|
|
}
|
|
,
|
|
a.prototype.cmp = function(r) {
|
|
if (this.negative !== 0 && r.negative === 0)
|
|
return -1;
|
|
if (this.negative === 0 && r.negative !== 0)
|
|
return 1;
|
|
var n = this.ucmp(r);
|
|
return this.negative !== 0 ? -n | 0 : n
|
|
}
|
|
,
|
|
a.prototype.ucmp = function(r) {
|
|
if (this.length > r.length)
|
|
return 1;
|
|
if (this.length < r.length)
|
|
return -1;
|
|
for (var n = 0, x = this.length - 1; x >= 0; x--) {
|
|
var l = this.words[x] | 0
|
|
, B = r.words[x] | 0;
|
|
if (l !== B) {
|
|
l < B ? n = -1 : l > B && (n = 1);
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
,
|
|
a.prototype.gtn = function(r) {
|
|
return this.cmpn(r) === 1
|
|
}
|
|
,
|
|
a.prototype.gt = function(r) {
|
|
return this.cmp(r) === 1
|
|
}
|
|
,
|
|
a.prototype.gten = function(r) {
|
|
return this.cmpn(r) >= 0
|
|
}
|
|
,
|
|
a.prototype.gte = function(r) {
|
|
return this.cmp(r) >= 0
|
|
}
|
|
,
|
|
a.prototype.ltn = function(r) {
|
|
return this.cmpn(r) === -1
|
|
}
|
|
,
|
|
a.prototype.lt = function(r) {
|
|
return this.cmp(r) === -1
|
|
}
|
|
,
|
|
a.prototype.lten = function(r) {
|
|
return this.cmpn(r) <= 0
|
|
}
|
|
,
|
|
a.prototype.lte = function(r) {
|
|
return this.cmp(r) <= 0
|
|
}
|
|
,
|
|
a.prototype.eqn = function(r) {
|
|
return this.cmpn(r) === 0
|
|
}
|
|
,
|
|
a.prototype.eq = function(r) {
|
|
return this.cmp(r) === 0
|
|
}
|
|
,
|
|
a.red = function(r) {
|
|
return new L(r)
|
|
}
|
|
,
|
|
a.prototype.toRed = function(r) {
|
|
return t(!this.red, "Already a number in reduction context"),
|
|
t(this.negative === 0, "red works only with positives"),
|
|
r.convertTo(this)._forceRed(r)
|
|
}
|
|
,
|
|
a.prototype.fromRed = function() {
|
|
return t(this.red, "fromRed works only with numbers in reduction context"),
|
|
this.red.convertFrom(this)
|
|
}
|
|
,
|
|
a.prototype._forceRed = function(r) {
|
|
return this.red = r,
|
|
this
|
|
}
|
|
,
|
|
a.prototype.forceRed = function(r) {
|
|
return t(!this.red, "Already a number in reduction context"),
|
|
this._forceRed(r)
|
|
}
|
|
,
|
|
a.prototype.redAdd = function(r) {
|
|
return t(this.red, "redAdd works only with red numbers"),
|
|
this.red.add(this, r)
|
|
}
|
|
,
|
|
a.prototype.redIAdd = function(r) {
|
|
return t(this.red, "redIAdd works only with red numbers"),
|
|
this.red.iadd(this, r)
|
|
}
|
|
,
|
|
a.prototype.redSub = function(r) {
|
|
return t(this.red, "redSub works only with red numbers"),
|
|
this.red.sub(this, r)
|
|
}
|
|
,
|
|
a.prototype.redISub = function(r) {
|
|
return t(this.red, "redISub works only with red numbers"),
|
|
this.red.isub(this, r)
|
|
}
|
|
,
|
|
a.prototype.redShl = function(r) {
|
|
return t(this.red, "redShl works only with red numbers"),
|
|
this.red.shl(this, r)
|
|
}
|
|
,
|
|
a.prototype.redMul = function(r) {
|
|
return t(this.red, "redMul works only with red numbers"),
|
|
this.red._verify2(this, r),
|
|
this.red.mul(this, r)
|
|
}
|
|
,
|
|
a.prototype.redIMul = function(r) {
|
|
return t(this.red, "redMul works only with red numbers"),
|
|
this.red._verify2(this, r),
|
|
this.red.imul(this, r)
|
|
}
|
|
,
|
|
a.prototype.redSqr = function() {
|
|
return t(this.red, "redSqr works only with red numbers"),
|
|
this.red._verify1(this),
|
|
this.red.sqr(this)
|
|
}
|
|
,
|
|
a.prototype.redISqr = function() {
|
|
return t(this.red, "redISqr works only with red numbers"),
|
|
this.red._verify1(this),
|
|
this.red.isqr(this)
|
|
}
|
|
,
|
|
a.prototype.redSqrt = function() {
|
|
return t(this.red, "redSqrt works only with red numbers"),
|
|
this.red._verify1(this),
|
|
this.red.sqrt(this)
|
|
}
|
|
,
|
|
a.prototype.redInvm = function() {
|
|
return t(this.red, "redInvm works only with red numbers"),
|
|
this.red._verify1(this),
|
|
this.red.invm(this)
|
|
}
|
|
,
|
|
a.prototype.redNeg = function() {
|
|
return t(this.red, "redNeg works only with red numbers"),
|
|
this.red._verify1(this),
|
|
this.red.neg(this)
|
|
}
|
|
,
|
|
a.prototype.redPow = function(r) {
|
|
return t(this.red && !r.red, "redPow(normalNum)"),
|
|
this.red._verify1(this),
|
|
this.red.pow(this, r)
|
|
}
|
|
;
|
|
var w = {
|
|
k256: null,
|
|
p224: null,
|
|
p192: null,
|
|
p25519: null
|
|
};
|
|
function D(v, r) {
|
|
this.name = v,
|
|
this.p = new a(r,16),
|
|
this.n = this.p.bitLength(),
|
|
this.k = new a(1).iushln(this.n).isub(this.p),
|
|
this.tmp = this._tmp()
|
|
}
|
|
D.prototype._tmp = function() {
|
|
var r = new a(null);
|
|
return r.words = new Array(Math.ceil(this.n / 13)),
|
|
r
|
|
}
|
|
,
|
|
D.prototype.ireduce = function(r) {
|
|
var n = r, x;
|
|
do
|
|
this.split(n, this.tmp),
|
|
n = this.imulK(n),
|
|
n = n.iadd(this.tmp),
|
|
x = n.bitLength();
|
|
while (x > this.n);
|
|
var l = x < this.n ? -1 : n.ucmp(this.p);
|
|
return l === 0 ? (n.words[0] = 0,
|
|
n.length = 1) : l > 0 ? n.isub(this.p) : n.strip !== void 0 ? n.strip() : n._strip(),
|
|
n
|
|
}
|
|
,
|
|
D.prototype.split = function(r, n) {
|
|
r.iushrn(this.n, 0, n)
|
|
}
|
|
,
|
|
D.prototype.imulK = function(r) {
|
|
return r.imul(this.k)
|
|
}
|
|
;
|
|
function k() {
|
|
D.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")
|
|
}
|
|
c(k, D),
|
|
k.prototype.split = function(r, n) {
|
|
for (var x = 4194303, l = Math.min(r.length, 9), B = 0; B < l; B++)
|
|
n.words[B] = r.words[B];
|
|
if (n.length = l,
|
|
r.length <= 9) {
|
|
r.words[0] = 0,
|
|
r.length = 1;
|
|
return
|
|
}
|
|
var M = r.words[9];
|
|
for (n.words[n.length++] = M & x,
|
|
B = 10; B < r.length; B++) {
|
|
var z = r.words[B] | 0;
|
|
r.words[B - 10] = (z & x) << 4 | M >>> 22,
|
|
M = z
|
|
}
|
|
M >>>= 22,
|
|
r.words[B - 10] = M,
|
|
M === 0 && r.length > 10 ? r.length -= 10 : r.length -= 9
|
|
}
|
|
,
|
|
k.prototype.imulK = function(r) {
|
|
r.words[r.length] = 0,
|
|
r.words[r.length + 1] = 0,
|
|
r.length += 2;
|
|
for (var n = 0, x = 0; x < r.length; x++) {
|
|
var l = r.words[x] | 0;
|
|
n += l * 977,
|
|
r.words[x] = n & 67108863,
|
|
n = l * 64 + (n / 67108864 | 0)
|
|
}
|
|
return r.words[r.length - 1] === 0 && (r.length--,
|
|
r.words[r.length - 1] === 0 && r.length--),
|
|
r
|
|
}
|
|
;
|
|
function I() {
|
|
D.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")
|
|
}
|
|
c(I, D);
|
|
function H() {
|
|
D.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")
|
|
}
|
|
c(H, D);
|
|
function N() {
|
|
D.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")
|
|
}
|
|
c(N, D),
|
|
N.prototype.imulK = function(r) {
|
|
for (var n = 0, x = 0; x < r.length; x++) {
|
|
var l = (r.words[x] | 0) * 19 + n
|
|
, B = l & 67108863;
|
|
l >>>= 26,
|
|
r.words[x] = B,
|
|
n = l
|
|
}
|
|
return n !== 0 && (r.words[r.length++] = n),
|
|
r
|
|
}
|
|
,
|
|
a._prime = function(r) {
|
|
if (w[r])
|
|
return w[r];
|
|
var n;
|
|
if (r === "k256")
|
|
n = new k;
|
|
else if (r === "p224")
|
|
n = new I;
|
|
else if (r === "p192")
|
|
n = new H;
|
|
else if (r === "p25519")
|
|
n = new N;
|
|
else
|
|
throw new Error("Unknown prime " + r);
|
|
return w[r] = n,
|
|
n
|
|
}
|
|
;
|
|
function L(v) {
|
|
if (typeof v == "string") {
|
|
var r = a._prime(v);
|
|
this.m = r.p,
|
|
this.prime = r
|
|
} else
|
|
t(v.gtn(1), "modulus must be greater than 1"),
|
|
this.m = v,
|
|
this.prime = null
|
|
}
|
|
L.prototype._verify1 = function(r) {
|
|
t(r.negative === 0, "red works only with positives"),
|
|
t(r.red, "red works only with red numbers")
|
|
}
|
|
,
|
|
L.prototype._verify2 = function(r, n) {
|
|
t((r.negative | n.negative) === 0, "red works only with positives"),
|
|
t(r.red && r.red === n.red, "red works only with red numbers")
|
|
}
|
|
,
|
|
L.prototype.imod = function(r) {
|
|
return this.prime ? this.prime.ireduce(r)._forceRed(this) : r.umod(this.m)._forceRed(this)
|
|
}
|
|
,
|
|
L.prototype.neg = function(r) {
|
|
return r.isZero() ? r.clone() : this.m.sub(r)._forceRed(this)
|
|
}
|
|
,
|
|
L.prototype.add = function(r, n) {
|
|
this._verify2(r, n);
|
|
var x = r.add(n);
|
|
return x.cmp(this.m) >= 0 && x.isub(this.m),
|
|
x._forceRed(this)
|
|
}
|
|
,
|
|
L.prototype.iadd = function(r, n) {
|
|
this._verify2(r, n);
|
|
var x = r.iadd(n);
|
|
return x.cmp(this.m) >= 0 && x.isub(this.m),
|
|
x
|
|
}
|
|
,
|
|
L.prototype.sub = function(r, n) {
|
|
this._verify2(r, n);
|
|
var x = r.sub(n);
|
|
return x.cmpn(0) < 0 && x.iadd(this.m),
|
|
x._forceRed(this)
|
|
}
|
|
,
|
|
L.prototype.isub = function(r, n) {
|
|
this._verify2(r, n);
|
|
var x = r.isub(n);
|
|
return x.cmpn(0) < 0 && x.iadd(this.m),
|
|
x
|
|
}
|
|
,
|
|
L.prototype.shl = function(r, n) {
|
|
return this._verify1(r),
|
|
this.imod(r.ushln(n))
|
|
}
|
|
,
|
|
L.prototype.imul = function(r, n) {
|
|
return this._verify2(r, n),
|
|
this.imod(r.imul(n))
|
|
}
|
|
,
|
|
L.prototype.mul = function(r, n) {
|
|
return this._verify2(r, n),
|
|
this.imod(r.mul(n))
|
|
}
|
|
,
|
|
L.prototype.isqr = function(r) {
|
|
return this.imul(r, r.clone())
|
|
}
|
|
,
|
|
L.prototype.sqr = function(r) {
|
|
return this.mul(r, r)
|
|
}
|
|
,
|
|
L.prototype.sqrt = function(r) {
|
|
if (r.isZero())
|
|
return r.clone();
|
|
var n = this.m.andln(3);
|
|
if (t(n % 2 === 1),
|
|
n === 3) {
|
|
var x = this.m.add(new a(1)).iushrn(2);
|
|
return this.pow(r, x)
|
|
}
|
|
for (var l = this.m.subn(1), B = 0; !l.isZero() && l.andln(1) === 0; )
|
|
B++,
|
|
l.iushrn(1);
|
|
t(!l.isZero());
|
|
var M = new a(1).toRed(this)
|
|
, z = M.redNeg()
|
|
, _ = this.m.subn(1).iushrn(1)
|
|
, d = this.m.bitLength();
|
|
for (d = new a(2 * d * d).toRed(this); this.pow(d, _).cmp(z) !== 0; )
|
|
d.redIAdd(z);
|
|
for (var u = this.pow(d, l), q = this.pow(r, l.addn(1).iushrn(1)), $ = this.pow(r, l), P = B; $.cmp(M) !== 0; ) {
|
|
for (var O = $, W = 0; O.cmp(M) !== 0; W++)
|
|
O = O.redSqr();
|
|
t(W < P);
|
|
var X = this.pow(u, new a(1).iushln(P - W - 1));
|
|
q = q.redMul(X),
|
|
u = X.redSqr(),
|
|
$ = $.redMul(u),
|
|
P = W
|
|
}
|
|
return q
|
|
}
|
|
,
|
|
L.prototype.invm = function(r) {
|
|
var n = r._invmp(this.m);
|
|
return n.negative !== 0 ? (n.negative = 0,
|
|
this.imod(n).redNeg()) : this.imod(n)
|
|
}
|
|
,
|
|
L.prototype.pow = function(r, n) {
|
|
if (n.isZero())
|
|
return new a(1).toRed(this);
|
|
if (n.cmpn(1) === 0)
|
|
return r.clone();
|
|
var x = 4
|
|
, l = new Array(1 << x);
|
|
l[0] = new a(1).toRed(this),
|
|
l[1] = r;
|
|
for (var B = 2; B < l.length; B++)
|
|
l[B] = this.mul(l[B - 1], r);
|
|
var M = l[0]
|
|
, z = 0
|
|
, _ = 0
|
|
, d = n.bitLength() % 26;
|
|
for (d === 0 && (d = 26),
|
|
B = n.length - 1; B >= 0; B--) {
|
|
for (var u = n.words[B], q = d - 1; q >= 0; q--) {
|
|
var $ = u >> q & 1;
|
|
if (M !== l[0] && (M = this.sqr(M)),
|
|
$ === 0 && z === 0) {
|
|
_ = 0;
|
|
continue
|
|
}
|
|
z <<= 1,
|
|
z |= $,
|
|
_++,
|
|
!(_ !== x && (B !== 0 || q !== 0)) && (M = this.mul(M, l[z]),
|
|
_ = 0,
|
|
z = 0)
|
|
}
|
|
d = 26
|
|
}
|
|
return M
|
|
}
|
|
,
|
|
L.prototype.convertTo = function(r) {
|
|
var n = r.umod(this.m);
|
|
return n === r ? n.clone() : n
|
|
}
|
|
,
|
|
L.prototype.convertFrom = function(r) {
|
|
var n = r.clone();
|
|
return n.red = null,
|
|
n
|
|
}
|
|
,
|
|
a.mont = function(r) {
|
|
return new R(r)
|
|
}
|
|
;
|
|
function R(v) {
|
|
L.call(this, v),
|
|
this.shift = this.m.bitLength(),
|
|
this.shift % 26 !== 0 && (this.shift += 26 - this.shift % 26),
|
|
this.r = new a(1).iushln(this.shift),
|
|
this.r2 = this.imod(this.r.sqr()),
|
|
this.rinv = this.r._invmp(this.m),
|
|
this.minv = this.rinv.mul(this.r).isubn(1).div(this.m),
|
|
this.minv = this.minv.umod(this.r),
|
|
this.minv = this.r.sub(this.minv)
|
|
}
|
|
c(R, L),
|
|
R.prototype.convertTo = function(r) {
|
|
return this.imod(r.ushln(this.shift))
|
|
}
|
|
,
|
|
R.prototype.convertFrom = function(r) {
|
|
var n = this.imod(r.mul(this.rinv));
|
|
return n.red = null,
|
|
n
|
|
}
|
|
,
|
|
R.prototype.imul = function(r, n) {
|
|
if (r.isZero() || n.isZero())
|
|
return r.words[0] = 0,
|
|
r.length = 1,
|
|
r;
|
|
var x = r.imul(n)
|
|
, l = x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m)
|
|
, B = x.isub(l).iushrn(this.shift)
|
|
, M = B;
|
|
return B.cmp(this.m) >= 0 ? M = B.isub(this.m) : B.cmpn(0) < 0 && (M = B.iadd(this.m)),
|
|
M._forceRed(this)
|
|
}
|
|
,
|
|
R.prototype.mul = function(r, n) {
|
|
if (r.isZero() || n.isZero())
|
|
return new a(0)._forceRed(this);
|
|
var x = r.mul(n)
|
|
, l = x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m)
|
|
, B = x.isub(l).iushrn(this.shift)
|
|
, M = B;
|
|
return B.cmp(this.m) >= 0 ? M = B.isub(this.m) : B.cmpn(0) < 0 && (M = B.iadd(this.m)),
|
|
M._forceRed(this)
|
|
}
|
|
,
|
|
R.prototype.invm = function(r) {
|
|
var n = this.imod(r._invmp(this.m).mul(this.r2));
|
|
return n._forceRed(this)
|
|
}
|
|
}
|
|
)(i, K)
|
|
}
|
|
)(kt);
|
|
var ae = kt.exports
|
|
, pe = It;
|
|
function It(i, e) {
|
|
if (!i)
|
|
throw new Error(e || "Assertion failed")
|
|
}
|
|
It.equal = function(e, f, t) {
|
|
if (e != f)
|
|
throw new Error(t || "Assertion failed: " + e + " != " + f)
|
|
}
|
|
;
|
|
var xr = {};
|
|
(function(i) {
|
|
var e = i;
|
|
function f(a, m) {
|
|
if (Array.isArray(a))
|
|
return a.slice();
|
|
if (!a)
|
|
return [];
|
|
var h = [];
|
|
if (typeof a != "string") {
|
|
for (var p = 0; p < a.length; p++)
|
|
h[p] = a[p] | 0;
|
|
return h
|
|
}
|
|
if (m === "hex") {
|
|
a = a.replace(/[^a-z0-9]+/ig, ""),
|
|
a.length % 2 !== 0 && (a = "0" + a);
|
|
for (var p = 0; p < a.length; p += 2)
|
|
h.push(parseInt(a[p] + a[p + 1], 16))
|
|
} else
|
|
for (var p = 0; p < a.length; p++) {
|
|
var s = a.charCodeAt(p)
|
|
, o = s >> 8
|
|
, g = s & 255;
|
|
o ? h.push(o, g) : h.push(g)
|
|
}
|
|
return h
|
|
}
|
|
e.toArray = f;
|
|
function t(a) {
|
|
return a.length === 1 ? "0" + a : a
|
|
}
|
|
e.zero2 = t;
|
|
function c(a) {
|
|
for (var m = "", h = 0; h < a.length; h++)
|
|
m += t(a[h].toString(16));
|
|
return m
|
|
}
|
|
e.toHex = c,
|
|
e.encode = function(m, h) {
|
|
return h === "hex" ? c(m) : m
|
|
}
|
|
}
|
|
)(xr),
|
|
function(i) {
|
|
var e = i
|
|
, f = ae
|
|
, t = pe
|
|
, c = xr;
|
|
e.assert = t,
|
|
e.toArray = c.toArray,
|
|
e.zero2 = c.zero2,
|
|
e.toHex = c.toHex,
|
|
e.encode = c.encode;
|
|
function a(o, g, b) {
|
|
var y = new Array(Math.max(o.bitLength(), b) + 1), A;
|
|
for (A = 0; A < y.length; A += 1)
|
|
y[A] = 0;
|
|
var E = 1 << g + 1
|
|
, F = o.clone();
|
|
for (A = 0; A < y.length; A++) {
|
|
var S, C = F.andln(E - 1);
|
|
F.isOdd() ? (C > (E >> 1) - 1 ? S = (E >> 1) - C : S = C,
|
|
F.isubn(S)) : S = 0,
|
|
y[A] = S,
|
|
F.iushrn(1)
|
|
}
|
|
return y
|
|
}
|
|
e.getNAF = a;
|
|
function m(o, g) {
|
|
var b = [[], []];
|
|
o = o.clone(),
|
|
g = g.clone();
|
|
for (var y = 0, A = 0, E; o.cmpn(-y) > 0 || g.cmpn(-A) > 0; ) {
|
|
var F = o.andln(3) + y & 3
|
|
, S = g.andln(3) + A & 3;
|
|
F === 3 && (F = -1),
|
|
S === 3 && (S = -1);
|
|
var C;
|
|
F & 1 ? (E = o.andln(7) + y & 7,
|
|
(E === 3 || E === 5) && S === 2 ? C = -F : C = F) : C = 0,
|
|
b[0].push(C);
|
|
var w;
|
|
S & 1 ? (E = g.andln(7) + A & 7,
|
|
(E === 3 || E === 5) && F === 2 ? w = -S : w = S) : w = 0,
|
|
b[1].push(w),
|
|
2 * y === C + 1 && (y = 1 - y),
|
|
2 * A === w + 1 && (A = 1 - A),
|
|
o.iushrn(1),
|
|
g.iushrn(1)
|
|
}
|
|
return b
|
|
}
|
|
e.getJSF = m;
|
|
function h(o, g, b) {
|
|
var y = "_" + g;
|
|
o.prototype[g] = function() {
|
|
return this[y] !== void 0 ? this[y] : this[y] = b.call(this)
|
|
}
|
|
}
|
|
e.cachedProperty = h;
|
|
function p(o) {
|
|
return typeof o == "string" ? e.toArray(o, "hex") : o
|
|
}
|
|
e.parseBytes = p;
|
|
function s(o) {
|
|
return new f(o,"hex","le")
|
|
}
|
|
e.intFromLE = s
|
|
}(O0);
|
|
var ur = {
|
|
exports: {}
|
|
}, vr;
|
|
ur.exports = function(e) {
|
|
return vr || (vr = new se(null)),
|
|
vr.generate(e)
|
|
}
|
|
;
|
|
function se(i) {
|
|
this.rand = i
|
|
}
|
|
if (ur.exports.Rand = se,
|
|
se.prototype.generate = function(e) {
|
|
return this._rand(e)
|
|
}
|
|
,
|
|
se.prototype._rand = function(e) {
|
|
if (this.rand.getBytes)
|
|
return this.rand.getBytes(e);
|
|
for (var f = new Uint8Array(e), t = 0; t < f.length; t++)
|
|
f[t] = this.rand.getByte();
|
|
return f
|
|
}
|
|
,
|
|
typeof self == "object")
|
|
self.crypto && self.crypto.getRandomValues ? se.prototype._rand = function(e) {
|
|
var f = new Uint8Array(e);
|
|
return self.crypto.getRandomValues(f),
|
|
f
|
|
}
|
|
: self.msCrypto && self.msCrypto.getRandomValues ? se.prototype._rand = function(e) {
|
|
var f = new Uint8Array(e);
|
|
return self.msCrypto.getRandomValues(f),
|
|
f
|
|
}
|
|
: typeof window == "object" && (se.prototype._rand = function() {
|
|
throw new Error("Not implemented yet")
|
|
}
|
|
);
|
|
else
|
|
try {
|
|
var qt = hr;
|
|
if (typeof qt.randomBytes != "function")
|
|
throw new Error("Not supported");
|
|
se.prototype._rand = function(e) {
|
|
return qt.randomBytes(e)
|
|
}
|
|
} catch (i) {}
|
|
var Pt = ur.exports
|
|
, lr = {}
|
|
, me = ae
|
|
, $e = O0
|
|
, Xe = $e.getNAF
|
|
, na = $e.getJSF
|
|
, Ze = $e.assert;
|
|
function oe(i, e) {
|
|
this.type = i,
|
|
this.p = new me(e.p,16),
|
|
this.red = e.prime ? me.red(e.prime) : me.mont(this.p),
|
|
this.zero = new me(0).toRed(this.red),
|
|
this.one = new me(1).toRed(this.red),
|
|
this.two = new me(2).toRed(this.red),
|
|
this.n = e.n && new me(e.n,16),
|
|
this.g = e.g && this.pointFromJSON(e.g, e.gRed),
|
|
this._wnafT1 = new Array(4),
|
|
this._wnafT2 = new Array(4),
|
|
this._wnafT3 = new Array(4),
|
|
this._wnafT4 = new Array(4),
|
|
this._bitLength = this.n ? this.n.bitLength() : 0;
|
|
var f = this.n && this.p.div(this.n);
|
|
!f || f.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0,
|
|
this.redN = this.n.toRed(this.red))
|
|
}
|
|
var Ue = oe;
|
|
oe.prototype.point = function() {
|
|
throw new Error("Not implemented")
|
|
}
|
|
,
|
|
oe.prototype.validate = function() {
|
|
throw new Error("Not implemented")
|
|
}
|
|
,
|
|
oe.prototype._fixedNafMul = function(e, f) {
|
|
Ze(e.precomputed);
|
|
var t = e._getDoubles()
|
|
, c = Xe(f, 1, this._bitLength)
|
|
, a = (1 << t.step + 1) - (t.step % 2 === 0 ? 2 : 1);
|
|
a /= 3;
|
|
var m = [], h, p;
|
|
for (h = 0; h < c.length; h += t.step) {
|
|
p = 0;
|
|
for (var s = h + t.step - 1; s >= h; s--)
|
|
p = (p << 1) + c[s];
|
|
m.push(p)
|
|
}
|
|
for (var o = this.jpoint(null, null, null), g = this.jpoint(null, null, null), b = a; b > 0; b--) {
|
|
for (h = 0; h < m.length; h++)
|
|
p = m[h],
|
|
p === b ? g = g.mixedAdd(t.points[h]) : p === -b && (g = g.mixedAdd(t.points[h].neg()));
|
|
o = o.add(g)
|
|
}
|
|
return o.toP()
|
|
}
|
|
,
|
|
oe.prototype._wnafMul = function(e, f) {
|
|
var t = 4
|
|
, c = e._getNAFPoints(t);
|
|
t = c.wnd;
|
|
for (var a = c.points, m = Xe(f, t, this._bitLength), h = this.jpoint(null, null, null), p = m.length - 1; p >= 0; p--) {
|
|
for (var s = 0; p >= 0 && m[p] === 0; p--)
|
|
s++;
|
|
if (p >= 0 && s++,
|
|
h = h.dblp(s),
|
|
p < 0)
|
|
break;
|
|
var o = m[p];
|
|
Ze(o !== 0),
|
|
e.type === "affine" ? o > 0 ? h = h.mixedAdd(a[o - 1 >> 1]) : h = h.mixedAdd(a[-o - 1 >> 1].neg()) : o > 0 ? h = h.add(a[o - 1 >> 1]) : h = h.add(a[-o - 1 >> 1].neg())
|
|
}
|
|
return e.type === "affine" ? h.toP() : h
|
|
}
|
|
,
|
|
oe.prototype._wnafMulAdd = function(e, f, t, c, a) {
|
|
var m = this._wnafT1, h = this._wnafT2, p = this._wnafT3, s = 0, o, g, b;
|
|
for (o = 0; o < c; o++) {
|
|
b = f[o];
|
|
var y = b._getNAFPoints(e);
|
|
m[o] = y.wnd,
|
|
h[o] = y.points
|
|
}
|
|
for (o = c - 1; o >= 1; o -= 2) {
|
|
var A = o - 1
|
|
, E = o;
|
|
if (m[A] !== 1 || m[E] !== 1) {
|
|
p[A] = Xe(t[A], m[A], this._bitLength),
|
|
p[E] = Xe(t[E], m[E], this._bitLength),
|
|
s = Math.max(p[A].length, s),
|
|
s = Math.max(p[E].length, s);
|
|
continue
|
|
}
|
|
var F = [f[A], null, null, f[E]];
|
|
f[A].y.cmp(f[E].y) === 0 ? (F[1] = f[A].add(f[E]),
|
|
F[2] = f[A].toJ().mixedAdd(f[E].neg())) : f[A].y.cmp(f[E].y.redNeg()) === 0 ? (F[1] = f[A].toJ().mixedAdd(f[E]),
|
|
F[2] = f[A].add(f[E].neg())) : (F[1] = f[A].toJ().mixedAdd(f[E]),
|
|
F[2] = f[A].toJ().mixedAdd(f[E].neg()));
|
|
var S = [-3, -1, -5, -7, 0, 7, 5, 1, 3]
|
|
, C = na(t[A], t[E]);
|
|
for (s = Math.max(C[0].length, s),
|
|
p[A] = new Array(s),
|
|
p[E] = new Array(s),
|
|
g = 0; g < s; g++) {
|
|
var w = C[0][g] | 0
|
|
, D = C[1][g] | 0;
|
|
p[A][g] = S[(w + 1) * 3 + (D + 1)],
|
|
p[E][g] = 0,
|
|
h[A] = F
|
|
}
|
|
}
|
|
var k = this.jpoint(null, null, null)
|
|
, I = this._wnafT4;
|
|
for (o = s; o >= 0; o--) {
|
|
for (var H = 0; o >= 0; ) {
|
|
var N = !0;
|
|
for (g = 0; g < c; g++)
|
|
I[g] = p[g][o] | 0,
|
|
I[g] !== 0 && (N = !1);
|
|
if (!N)
|
|
break;
|
|
H++,
|
|
o--
|
|
}
|
|
if (o >= 0 && H++,
|
|
k = k.dblp(H),
|
|
o < 0)
|
|
break;
|
|
for (g = 0; g < c; g++) {
|
|
var L = I[g];
|
|
L !== 0 && (L > 0 ? b = h[g][L - 1 >> 1] : L < 0 && (b = h[g][-L - 1 >> 1].neg()),
|
|
b.type === "affine" ? k = k.mixedAdd(b) : k = k.add(b))
|
|
}
|
|
}
|
|
for (o = 0; o < c; o++)
|
|
h[o] = null;
|
|
return a ? k : k.toP()
|
|
}
|
|
;
|
|
function W0(i, e) {
|
|
this.curve = i,
|
|
this.type = e,
|
|
this.precomputed = null
|
|
}
|
|
oe.BasePoint = W0,
|
|
W0.prototype.eq = function() {
|
|
throw new Error("Not implemented")
|
|
}
|
|
,
|
|
W0.prototype.validate = function() {
|
|
return this.curve.validate(this)
|
|
}
|
|
,
|
|
oe.prototype.decodePoint = function(e, f) {
|
|
e = $e.toArray(e, f);
|
|
var t = this.p.byteLength();
|
|
if ((e[0] === 4 || e[0] === 6 || e[0] === 7) && e.length - 1 === 2 * t) {
|
|
e[0] === 6 ? Ze(e[e.length - 1] % 2 === 0) : e[0] === 7 && Ze(e[e.length - 1] % 2 === 1);
|
|
var c = this.point(e.slice(1, 1 + t), e.slice(1 + t, 1 + 2 * t));
|
|
return c
|
|
} else if ((e[0] === 2 || e[0] === 3) && e.length - 1 === t)
|
|
return this.pointFromX(e.slice(1, 1 + t), e[0] === 3);
|
|
throw new Error("Unknown point format")
|
|
}
|
|
,
|
|
W0.prototype.encodeCompressed = function(e) {
|
|
return this.encode(e, !0)
|
|
}
|
|
,
|
|
W0.prototype._encode = function(e) {
|
|
var f = this.curve.p.byteLength()
|
|
, t = this.getX().toArray("be", f);
|
|
return e ? [this.getY().isEven() ? 2 : 3].concat(t) : [4].concat(t, this.getY().toArray("be", f))
|
|
}
|
|
,
|
|
W0.prototype.encode = function(e, f) {
|
|
return $e.encode(this._encode(f), e)
|
|
}
|
|
,
|
|
W0.prototype.precompute = function(e) {
|
|
if (this.precomputed)
|
|
return this;
|
|
var f = {
|
|
doubles: null,
|
|
naf: null,
|
|
beta: null
|
|
};
|
|
return f.naf = this._getNAFPoints(8),
|
|
f.doubles = this._getDoubles(4, e),
|
|
f.beta = this._getBeta(),
|
|
this.precomputed = f,
|
|
this
|
|
}
|
|
,
|
|
W0.prototype._hasDoubles = function(e) {
|
|
if (!this.precomputed)
|
|
return !1;
|
|
var f = this.precomputed.doubles;
|
|
return f ? f.points.length >= Math.ceil((e.bitLength() + 1) / f.step) : !1
|
|
}
|
|
,
|
|
W0.prototype._getDoubles = function(e, f) {
|
|
if (this.precomputed && this.precomputed.doubles)
|
|
return this.precomputed.doubles;
|
|
for (var t = [this], c = this, a = 0; a < f; a += e) {
|
|
for (var m = 0; m < e; m++)
|
|
c = c.dbl();
|
|
t.push(c)
|
|
}
|
|
return {
|
|
step: e,
|
|
points: t
|
|
}
|
|
}
|
|
,
|
|
W0.prototype._getNAFPoints = function(e) {
|
|
if (this.precomputed && this.precomputed.naf)
|
|
return this.precomputed.naf;
|
|
for (var f = [this], t = (1 << e) - 1, c = t === 1 ? null : this.dbl(), a = 1; a < t; a++)
|
|
f[a] = f[a - 1].add(c);
|
|
return {
|
|
wnd: e,
|
|
points: f
|
|
}
|
|
}
|
|
,
|
|
W0.prototype._getBeta = function() {
|
|
return null
|
|
}
|
|
,
|
|
W0.prototype.dblp = function(e) {
|
|
for (var f = this, t = 0; t < e; t++)
|
|
f = f.dbl();
|
|
return f
|
|
}
|
|
;
|
|
var br = {
|
|
exports: {}
|
|
};
|
|
typeof Object.create == "function" ? br.exports = function(e, f) {
|
|
f && (e.super_ = f,
|
|
e.prototype = Object.create(f.prototype, {
|
|
constructor: {
|
|
value: e,
|
|
enumerable: !1,
|
|
writable: !0,
|
|
configurable: !0
|
|
}
|
|
}))
|
|
}
|
|
: br.exports = function(e, f) {
|
|
if (f) {
|
|
e.super_ = f;
|
|
var t = function() {};
|
|
t.prototype = f.prototype,
|
|
e.prototype = new t,
|
|
e.prototype.constructor = e
|
|
}
|
|
}
|
|
;
|
|
var Ge = br.exports
|
|
, da = O0
|
|
, m0 = ae
|
|
, pr = Ge
|
|
, Fe = Ue
|
|
, ca = da.assert;
|
|
function T0(i) {
|
|
Fe.call(this, "short", i),
|
|
this.a = new m0(i.a,16).toRed(this.red),
|
|
this.b = new m0(i.b,16).toRed(this.red),
|
|
this.tinv = this.two.redInvm(),
|
|
this.zeroA = this.a.fromRed().cmpn(0) === 0,
|
|
this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0,
|
|
this.endo = this._getEndomorphism(i),
|
|
this._endoWnafT1 = new Array(4),
|
|
this._endoWnafT2 = new Array(4)
|
|
}
|
|
pr(T0, Fe);
|
|
var sa = T0;
|
|
T0.prototype._getEndomorphism = function(e) {
|
|
if (!(!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1)) {
|
|
var f, t;
|
|
if (e.beta)
|
|
f = new m0(e.beta,16).toRed(this.red);
|
|
else {
|
|
var c = this._getEndoRoots(this.p);
|
|
f = c[0].cmp(c[1]) < 0 ? c[0] : c[1],
|
|
f = f.toRed(this.red)
|
|
}
|
|
if (e.lambda)
|
|
t = new m0(e.lambda,16);
|
|
else {
|
|
var a = this._getEndoRoots(this.n);
|
|
this.g.mul(a[0]).x.cmp(this.g.x.redMul(f)) === 0 ? t = a[0] : (t = a[1],
|
|
ca(this.g.mul(t).x.cmp(this.g.x.redMul(f)) === 0))
|
|
}
|
|
var m;
|
|
return e.basis ? m = e.basis.map(function(h) {
|
|
return {
|
|
a: new m0(h.a,16),
|
|
b: new m0(h.b,16)
|
|
}
|
|
}) : m = this._getEndoBasis(t),
|
|
{
|
|
beta: f,
|
|
lambda: t,
|
|
basis: m
|
|
}
|
|
}
|
|
}
|
|
,
|
|
T0.prototype._getEndoRoots = function(e) {
|
|
var f = e === this.p ? this.red : m0.mont(e)
|
|
, t = new m0(2).toRed(f).redInvm()
|
|
, c = t.redNeg()
|
|
, a = new m0(3).toRed(f).redNeg().redSqrt().redMul(t)
|
|
, m = c.redAdd(a).fromRed()
|
|
, h = c.redSub(a).fromRed();
|
|
return [m, h]
|
|
}
|
|
,
|
|
T0.prototype._getEndoBasis = function(e) {
|
|
for (var f = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), t = e, c = this.n.clone(), a = new m0(1), m = new m0(0), h = new m0(0), p = new m0(1), s, o, g, b, y, A, E, F = 0, S, C; t.cmpn(0) !== 0; ) {
|
|
var w = c.div(t);
|
|
S = c.sub(w.mul(t)),
|
|
C = h.sub(w.mul(a));
|
|
var D = p.sub(w.mul(m));
|
|
if (!g && S.cmp(f) < 0)
|
|
s = E.neg(),
|
|
o = a,
|
|
g = S.neg(),
|
|
b = C;
|
|
else if (g && ++F === 2)
|
|
break;
|
|
E = S,
|
|
c = t,
|
|
t = S,
|
|
h = a,
|
|
a = C,
|
|
p = m,
|
|
m = D
|
|
}
|
|
y = S.neg(),
|
|
A = C;
|
|
var k = g.sqr().add(b.sqr())
|
|
, I = y.sqr().add(A.sqr());
|
|
return I.cmp(k) >= 0 && (y = s,
|
|
A = o),
|
|
g.negative && (g = g.neg(),
|
|
b = b.neg()),
|
|
y.negative && (y = y.neg(),
|
|
A = A.neg()),
|
|
[{
|
|
a: g,
|
|
b
|
|
}, {
|
|
a: y,
|
|
b: A
|
|
}]
|
|
}
|
|
,
|
|
T0.prototype._endoSplit = function(e) {
|
|
var f = this.endo.basis
|
|
, t = f[0]
|
|
, c = f[1]
|
|
, a = c.b.mul(e).divRound(this.n)
|
|
, m = t.b.neg().mul(e).divRound(this.n)
|
|
, h = a.mul(t.a)
|
|
, p = m.mul(c.a)
|
|
, s = a.mul(t.b)
|
|
, o = m.mul(c.b)
|
|
, g = e.sub(h).sub(p)
|
|
, b = s.add(o).neg();
|
|
return {
|
|
k1: g,
|
|
k2: b
|
|
}
|
|
}
|
|
,
|
|
T0.prototype.pointFromX = function(e, f) {
|
|
e = new m0(e,16),
|
|
e.red || (e = e.toRed(this.red));
|
|
var t = e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b)
|
|
, c = t.redSqrt();
|
|
if (c.redSqr().redSub(t).cmp(this.zero) !== 0)
|
|
throw new Error("invalid point");
|
|
var a = c.fromRed().isOdd();
|
|
return (f && !a || !f && a) && (c = c.redNeg()),
|
|
this.point(e, c)
|
|
}
|
|
,
|
|
T0.prototype.validate = function(e) {
|
|
if (e.inf)
|
|
return !0;
|
|
var f = e.x
|
|
, t = e.y
|
|
, c = this.a.redMul(f)
|
|
, a = f.redSqr().redMul(f).redIAdd(c).redIAdd(this.b);
|
|
return t.redSqr().redISub(a).cmpn(0) === 0
|
|
}
|
|
,
|
|
T0.prototype._endoWnafMulAdd = function(e, f, t) {
|
|
for (var c = this._endoWnafT1, a = this._endoWnafT2, m = 0; m < e.length; m++) {
|
|
var h = this._endoSplit(f[m])
|
|
, p = e[m]
|
|
, s = p._getBeta();
|
|
h.k1.negative && (h.k1.ineg(),
|
|
p = p.neg(!0)),
|
|
h.k2.negative && (h.k2.ineg(),
|
|
s = s.neg(!0)),
|
|
c[m * 2] = p,
|
|
c[m * 2 + 1] = s,
|
|
a[m * 2] = h.k1,
|
|
a[m * 2 + 1] = h.k2
|
|
}
|
|
for (var o = this._wnafMulAdd(1, c, a, m * 2, t), g = 0; g < m * 2; g++)
|
|
c[g] = null,
|
|
a[g] = null;
|
|
return o
|
|
}
|
|
;
|
|
function R0(i, e, f, t) {
|
|
Fe.BasePoint.call(this, i, "affine"),
|
|
e === null && f === null ? (this.x = null,
|
|
this.y = null,
|
|
this.inf = !0) : (this.x = new m0(e,16),
|
|
this.y = new m0(f,16),
|
|
t && (this.x.forceRed(this.curve.red),
|
|
this.y.forceRed(this.curve.red)),
|
|
this.x.red || (this.x = this.x.toRed(this.curve.red)),
|
|
this.y.red || (this.y = this.y.toRed(this.curve.red)),
|
|
this.inf = !1)
|
|
}
|
|
pr(R0, Fe.BasePoint),
|
|
T0.prototype.point = function(e, f, t) {
|
|
return new R0(this,e,f,t)
|
|
}
|
|
,
|
|
T0.prototype.pointFromJSON = function(e, f) {
|
|
return R0.fromJSON(this, e, f)
|
|
}
|
|
,
|
|
R0.prototype._getBeta = function() {
|
|
if (this.curve.endo) {
|
|
var e = this.precomputed;
|
|
if (e && e.beta)
|
|
return e.beta;
|
|
var f = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y);
|
|
if (e) {
|
|
var t = this.curve
|
|
, c = function(a) {
|
|
return t.point(a.x.redMul(t.endo.beta), a.y)
|
|
};
|
|
e.beta = f,
|
|
f.precomputed = {
|
|
beta: null,
|
|
naf: e.naf && {
|
|
wnd: e.naf.wnd,
|
|
points: e.naf.points.map(c)
|
|
},
|
|
doubles: e.doubles && {
|
|
step: e.doubles.step,
|
|
points: e.doubles.points.map(c)
|
|
}
|
|
}
|
|
}
|
|
return f
|
|
}
|
|
}
|
|
,
|
|
R0.prototype.toJSON = function() {
|
|
return this.precomputed ? [this.x, this.y, this.precomputed && {
|
|
doubles: this.precomputed.doubles && {
|
|
step: this.precomputed.doubles.step,
|
|
points: this.precomputed.doubles.points.slice(1)
|
|
},
|
|
naf: this.precomputed.naf && {
|
|
wnd: this.precomputed.naf.wnd,
|
|
points: this.precomputed.naf.points.slice(1)
|
|
}
|
|
}] : [this.x, this.y]
|
|
}
|
|
,
|
|
R0.fromJSON = function(e, f, t) {
|
|
typeof f == "string" && (f = JSON.parse(f));
|
|
var c = e.point(f[0], f[1], t);
|
|
if (!f[2])
|
|
return c;
|
|
function a(h) {
|
|
return e.point(h[0], h[1], t)
|
|
}
|
|
var m = f[2];
|
|
return c.precomputed = {
|
|
beta: null,
|
|
doubles: m.doubles && {
|
|
step: m.doubles.step,
|
|
points: [c].concat(m.doubles.points.map(a))
|
|
},
|
|
naf: m.naf && {
|
|
wnd: m.naf.wnd,
|
|
points: [c].concat(m.naf.points.map(a))
|
|
}
|
|
},
|
|
c
|
|
}
|
|
,
|
|
R0.prototype.inspect = function() {
|
|
return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " y: " + this.y.fromRed().toString(16, 2) + ">"
|
|
}
|
|
,
|
|
R0.prototype.isInfinity = function() {
|
|
return this.inf
|
|
}
|
|
,
|
|
R0.prototype.add = function(e) {
|
|
if (this.inf)
|
|
return e;
|
|
if (e.inf)
|
|
return this;
|
|
if (this.eq(e))
|
|
return this.dbl();
|
|
if (this.neg().eq(e))
|
|
return this.curve.point(null, null);
|
|
if (this.x.cmp(e.x) === 0)
|
|
return this.curve.point(null, null);
|
|
var f = this.y.redSub(e.y);
|
|
f.cmpn(0) !== 0 && (f = f.redMul(this.x.redSub(e.x).redInvm()));
|
|
var t = f.redSqr().redISub(this.x).redISub(e.x)
|
|
, c = f.redMul(this.x.redSub(t)).redISub(this.y);
|
|
return this.curve.point(t, c)
|
|
}
|
|
,
|
|
R0.prototype.dbl = function() {
|
|
if (this.inf)
|
|
return this;
|
|
var e = this.y.redAdd(this.y);
|
|
if (e.cmpn(0) === 0)
|
|
return this.curve.point(null, null);
|
|
var f = this.curve.a
|
|
, t = this.x.redSqr()
|
|
, c = e.redInvm()
|
|
, a = t.redAdd(t).redIAdd(t).redIAdd(f).redMul(c)
|
|
, m = a.redSqr().redISub(this.x.redAdd(this.x))
|
|
, h = a.redMul(this.x.redSub(m)).redISub(this.y);
|
|
return this.curve.point(m, h)
|
|
}
|
|
,
|
|
R0.prototype.getX = function() {
|
|
return this.x.fromRed()
|
|
}
|
|
,
|
|
R0.prototype.getY = function() {
|
|
return this.y.fromRed()
|
|
}
|
|
,
|
|
R0.prototype.mul = function(e) {
|
|
return e = new m0(e,16),
|
|
this.isInfinity() ? this : this._hasDoubles(e) ? this.curve._fixedNafMul(this, e) : this.curve.endo ? this.curve._endoWnafMulAdd([this], [e]) : this.curve._wnafMul(this, e)
|
|
}
|
|
,
|
|
R0.prototype.mulAdd = function(e, f, t) {
|
|
var c = [this, f]
|
|
, a = [e, t];
|
|
return this.curve.endo ? this.curve._endoWnafMulAdd(c, a) : this.curve._wnafMulAdd(1, c, a, 2)
|
|
}
|
|
,
|
|
R0.prototype.jmulAdd = function(e, f, t) {
|
|
var c = [this, f]
|
|
, a = [e, t];
|
|
return this.curve.endo ? this.curve._endoWnafMulAdd(c, a, !0) : this.curve._wnafMulAdd(1, c, a, 2, !0)
|
|
}
|
|
,
|
|
R0.prototype.eq = function(e) {
|
|
return this === e || this.inf === e.inf && (this.inf || this.x.cmp(e.x) === 0 && this.y.cmp(e.y) === 0)
|
|
}
|
|
,
|
|
R0.prototype.neg = function(e) {
|
|
if (this.inf)
|
|
return this;
|
|
var f = this.curve.point(this.x, this.y.redNeg());
|
|
if (e && this.precomputed) {
|
|
var t = this.precomputed
|
|
, c = function(a) {
|
|
return a.neg()
|
|
};
|
|
f.precomputed = {
|
|
naf: t.naf && {
|
|
wnd: t.naf.wnd,
|
|
points: t.naf.points.map(c)
|
|
},
|
|
doubles: t.doubles && {
|
|
step: t.doubles.step,
|
|
points: t.doubles.points.map(c)
|
|
}
|
|
}
|
|
}
|
|
return f
|
|
}
|
|
,
|
|
R0.prototype.toJ = function() {
|
|
if (this.inf)
|
|
return this.curve.jpoint(null, null, null);
|
|
var e = this.curve.jpoint(this.x, this.y, this.curve.one);
|
|
return e
|
|
}
|
|
;
|
|
function P0(i, e, f, t) {
|
|
Fe.BasePoint.call(this, i, "jacobian"),
|
|
e === null && f === null && t === null ? (this.x = this.curve.one,
|
|
this.y = this.curve.one,
|
|
this.z = new m0(0)) : (this.x = new m0(e,16),
|
|
this.y = new m0(f,16),
|
|
this.z = new m0(t,16)),
|
|
this.x.red || (this.x = this.x.toRed(this.curve.red)),
|
|
this.y.red || (this.y = this.y.toRed(this.curve.red)),
|
|
this.z.red || (this.z = this.z.toRed(this.curve.red)),
|
|
this.zOne = this.z === this.curve.one
|
|
}
|
|
pr(P0, Fe.BasePoint),
|
|
T0.prototype.jpoint = function(e, f, t) {
|
|
return new P0(this,e,f,t)
|
|
}
|
|
,
|
|
P0.prototype.toP = function() {
|
|
if (this.isInfinity())
|
|
return this.curve.point(null, null);
|
|
var e = this.z.redInvm()
|
|
, f = e.redSqr()
|
|
, t = this.x.redMul(f)
|
|
, c = this.y.redMul(f).redMul(e);
|
|
return this.curve.point(t, c)
|
|
}
|
|
,
|
|
P0.prototype.neg = function() {
|
|
return this.curve.jpoint(this.x, this.y.redNeg(), this.z)
|
|
}
|
|
,
|
|
P0.prototype.add = function(e) {
|
|
if (this.isInfinity())
|
|
return e;
|
|
if (e.isInfinity())
|
|
return this;
|
|
var f = e.z.redSqr()
|
|
, t = this.z.redSqr()
|
|
, c = this.x.redMul(f)
|
|
, a = e.x.redMul(t)
|
|
, m = this.y.redMul(f.redMul(e.z))
|
|
, h = e.y.redMul(t.redMul(this.z))
|
|
, p = c.redSub(a)
|
|
, s = m.redSub(h);
|
|
if (p.cmpn(0) === 0)
|
|
return s.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
|
|
var o = p.redSqr()
|
|
, g = o.redMul(p)
|
|
, b = c.redMul(o)
|
|
, y = s.redSqr().redIAdd(g).redISub(b).redISub(b)
|
|
, A = s.redMul(b.redISub(y)).redISub(m.redMul(g))
|
|
, E = this.z.redMul(e.z).redMul(p);
|
|
return this.curve.jpoint(y, A, E)
|
|
}
|
|
,
|
|
P0.prototype.mixedAdd = function(e) {
|
|
if (this.isInfinity())
|
|
return e.toJ();
|
|
if (e.isInfinity())
|
|
return this;
|
|
var f = this.z.redSqr()
|
|
, t = this.x
|
|
, c = e.x.redMul(f)
|
|
, a = this.y
|
|
, m = e.y.redMul(f).redMul(this.z)
|
|
, h = t.redSub(c)
|
|
, p = a.redSub(m);
|
|
if (h.cmpn(0) === 0)
|
|
return p.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
|
|
var s = h.redSqr()
|
|
, o = s.redMul(h)
|
|
, g = t.redMul(s)
|
|
, b = p.redSqr().redIAdd(o).redISub(g).redISub(g)
|
|
, y = p.redMul(g.redISub(b)).redISub(a.redMul(o))
|
|
, A = this.z.redMul(h);
|
|
return this.curve.jpoint(b, y, A)
|
|
}
|
|
,
|
|
P0.prototype.dblp = function(e) {
|
|
if (e === 0)
|
|
return this;
|
|
if (this.isInfinity())
|
|
return this;
|
|
if (!e)
|
|
return this.dbl();
|
|
var f;
|
|
if (this.curve.zeroA || this.curve.threeA) {
|
|
var t = this;
|
|
for (f = 0; f < e; f++)
|
|
t = t.dbl();
|
|
return t
|
|
}
|
|
var c = this.curve.a
|
|
, a = this.curve.tinv
|
|
, m = this.x
|
|
, h = this.y
|
|
, p = this.z
|
|
, s = p.redSqr().redSqr()
|
|
, o = h.redAdd(h);
|
|
for (f = 0; f < e; f++) {
|
|
var g = m.redSqr()
|
|
, b = o.redSqr()
|
|
, y = b.redSqr()
|
|
, A = g.redAdd(g).redIAdd(g).redIAdd(c.redMul(s))
|
|
, E = m.redMul(b)
|
|
, F = A.redSqr().redISub(E.redAdd(E))
|
|
, S = E.redISub(F)
|
|
, C = A.redMul(S);
|
|
C = C.redIAdd(C).redISub(y);
|
|
var w = o.redMul(p);
|
|
f + 1 < e && (s = s.redMul(y)),
|
|
m = F,
|
|
p = w,
|
|
o = C
|
|
}
|
|
return this.curve.jpoint(m, o.redMul(a), p)
|
|
}
|
|
,
|
|
P0.prototype.dbl = function() {
|
|
return this.isInfinity() ? this : this.curve.zeroA ? this._zeroDbl() : this.curve.threeA ? this._threeDbl() : this._dbl()
|
|
}
|
|
,
|
|
P0.prototype._zeroDbl = function() {
|
|
var e, f, t;
|
|
if (this.zOne) {
|
|
var c = this.x.redSqr()
|
|
, a = this.y.redSqr()
|
|
, m = a.redSqr()
|
|
, h = this.x.redAdd(a).redSqr().redISub(c).redISub(m);
|
|
h = h.redIAdd(h);
|
|
var p = c.redAdd(c).redIAdd(c)
|
|
, s = p.redSqr().redISub(h).redISub(h)
|
|
, o = m.redIAdd(m);
|
|
o = o.redIAdd(o),
|
|
o = o.redIAdd(o),
|
|
e = s,
|
|
f = p.redMul(h.redISub(s)).redISub(o),
|
|
t = this.y.redAdd(this.y)
|
|
} else {
|
|
var g = this.x.redSqr()
|
|
, b = this.y.redSqr()
|
|
, y = b.redSqr()
|
|
, A = this.x.redAdd(b).redSqr().redISub(g).redISub(y);
|
|
A = A.redIAdd(A);
|
|
var E = g.redAdd(g).redIAdd(g)
|
|
, F = E.redSqr()
|
|
, S = y.redIAdd(y);
|
|
S = S.redIAdd(S),
|
|
S = S.redIAdd(S),
|
|
e = F.redISub(A).redISub(A),
|
|
f = E.redMul(A.redISub(e)).redISub(S),
|
|
t = this.y.redMul(this.z),
|
|
t = t.redIAdd(t)
|
|
}
|
|
return this.curve.jpoint(e, f, t)
|
|
}
|
|
,
|
|
P0.prototype._threeDbl = function() {
|
|
var e, f, t;
|
|
if (this.zOne) {
|
|
var c = this.x.redSqr()
|
|
, a = this.y.redSqr()
|
|
, m = a.redSqr()
|
|
, h = this.x.redAdd(a).redSqr().redISub(c).redISub(m);
|
|
h = h.redIAdd(h);
|
|
var p = c.redAdd(c).redIAdd(c).redIAdd(this.curve.a)
|
|
, s = p.redSqr().redISub(h).redISub(h);
|
|
e = s;
|
|
var o = m.redIAdd(m);
|
|
o = o.redIAdd(o),
|
|
o = o.redIAdd(o),
|
|
f = p.redMul(h.redISub(s)).redISub(o),
|
|
t = this.y.redAdd(this.y)
|
|
} else {
|
|
var g = this.z.redSqr()
|
|
, b = this.y.redSqr()
|
|
, y = this.x.redMul(b)
|
|
, A = this.x.redSub(g).redMul(this.x.redAdd(g));
|
|
A = A.redAdd(A).redIAdd(A);
|
|
var E = y.redIAdd(y);
|
|
E = E.redIAdd(E);
|
|
var F = E.redAdd(E);
|
|
e = A.redSqr().redISub(F),
|
|
t = this.y.redAdd(this.z).redSqr().redISub(b).redISub(g);
|
|
var S = b.redSqr();
|
|
S = S.redIAdd(S),
|
|
S = S.redIAdd(S),
|
|
S = S.redIAdd(S),
|
|
f = A.redMul(E.redISub(e)).redISub(S)
|
|
}
|
|
return this.curve.jpoint(e, f, t)
|
|
}
|
|
,
|
|
P0.prototype._dbl = function() {
|
|
var e = this.curve.a
|
|
, f = this.x
|
|
, t = this.y
|
|
, c = this.z
|
|
, a = c.redSqr().redSqr()
|
|
, m = f.redSqr()
|
|
, h = t.redSqr()
|
|
, p = m.redAdd(m).redIAdd(m).redIAdd(e.redMul(a))
|
|
, s = f.redAdd(f);
|
|
s = s.redIAdd(s);
|
|
var o = s.redMul(h)
|
|
, g = p.redSqr().redISub(o.redAdd(o))
|
|
, b = o.redISub(g)
|
|
, y = h.redSqr();
|
|
y = y.redIAdd(y),
|
|
y = y.redIAdd(y),
|
|
y = y.redIAdd(y);
|
|
var A = p.redMul(b).redISub(y)
|
|
, E = t.redAdd(t).redMul(c);
|
|
return this.curve.jpoint(g, A, E)
|
|
}
|
|
,
|
|
P0.prototype.trpl = function() {
|
|
if (!this.curve.zeroA)
|
|
return this.dbl().add(this);
|
|
var e = this.x.redSqr()
|
|
, f = this.y.redSqr()
|
|
, t = this.z.redSqr()
|
|
, c = f.redSqr()
|
|
, a = e.redAdd(e).redIAdd(e)
|
|
, m = a.redSqr()
|
|
, h = this.x.redAdd(f).redSqr().redISub(e).redISub(c);
|
|
h = h.redIAdd(h),
|
|
h = h.redAdd(h).redIAdd(h),
|
|
h = h.redISub(m);
|
|
var p = h.redSqr()
|
|
, s = c.redIAdd(c);
|
|
s = s.redIAdd(s),
|
|
s = s.redIAdd(s),
|
|
s = s.redIAdd(s);
|
|
var o = a.redIAdd(h).redSqr().redISub(m).redISub(p).redISub(s)
|
|
, g = f.redMul(o);
|
|
g = g.redIAdd(g),
|
|
g = g.redIAdd(g);
|
|
var b = this.x.redMul(p).redISub(g);
|
|
b = b.redIAdd(b),
|
|
b = b.redIAdd(b);
|
|
var y = this.y.redMul(o.redMul(s.redISub(o)).redISub(h.redMul(p)));
|
|
y = y.redIAdd(y),
|
|
y = y.redIAdd(y),
|
|
y = y.redIAdd(y);
|
|
var A = this.z.redAdd(h).redSqr().redISub(t).redISub(p);
|
|
return this.curve.jpoint(b, y, A)
|
|
}
|
|
,
|
|
P0.prototype.mul = function(e, f) {
|
|
return e = new m0(e,f),
|
|
this.curve._wnafMul(this, e)
|
|
}
|
|
,
|
|
P0.prototype.eq = function(e) {
|
|
if (e.type === "affine")
|
|
return this.eq(e.toJ());
|
|
if (this === e)
|
|
return !0;
|
|
var f = this.z.redSqr()
|
|
, t = e.z.redSqr();
|
|
if (this.x.redMul(t).redISub(e.x.redMul(f)).cmpn(0) !== 0)
|
|
return !1;
|
|
var c = f.redMul(this.z)
|
|
, a = t.redMul(e.z);
|
|
return this.y.redMul(a).redISub(e.y.redMul(c)).cmpn(0) === 0
|
|
}
|
|
,
|
|
P0.prototype.eqXToP = function(e) {
|
|
var f = this.z.redSqr()
|
|
, t = e.toRed(this.curve.red).redMul(f);
|
|
if (this.x.cmp(t) === 0)
|
|
return !0;
|
|
for (var c = e.clone(), a = this.curve.redN.redMul(f); ; ) {
|
|
if (c.iadd(this.curve.n),
|
|
c.cmp(this.curve.p) >= 0)
|
|
return !1;
|
|
if (t.redIAdd(a),
|
|
this.x.cmp(t) === 0)
|
|
return !0
|
|
}
|
|
}
|
|
,
|
|
P0.prototype.inspect = function() {
|
|
return this.isInfinity() ? "<EC JPoint Infinity>" : "<EC JPoint x: " + this.x.toString(16, 2) + " y: " + this.y.toString(16, 2) + " z: " + this.z.toString(16, 2) + ">"
|
|
}
|
|
,
|
|
P0.prototype.isInfinity = function() {
|
|
return this.z.cmpn(0) === 0
|
|
}
|
|
;
|
|
var we = ae
|
|
, Ht = Ge
|
|
, Ye = Ue
|
|
, oa = O0;
|
|
function De(i) {
|
|
Ye.call(this, "mont", i),
|
|
this.a = new we(i.a,16).toRed(this.red),
|
|
this.b = new we(i.b,16).toRed(this.red),
|
|
this.i4 = new we(4).toRed(this.red).redInvm(),
|
|
this.two = new we(2).toRed(this.red),
|
|
this.a24 = this.i4.redMul(this.a.redAdd(this.two))
|
|
}
|
|
Ht(De, Ye);
|
|
var ha = De;
|
|
De.prototype.validate = function(e) {
|
|
var f = e.normalize().x
|
|
, t = f.redSqr()
|
|
, c = t.redMul(f).redAdd(t.redMul(this.a)).redAdd(f)
|
|
, a = c.redSqrt();
|
|
return a.redSqr().cmp(c) === 0
|
|
}
|
|
;
|
|
function k0(i, e, f) {
|
|
Ye.BasePoint.call(this, i, "projective"),
|
|
e === null && f === null ? (this.x = this.curve.one,
|
|
this.z = this.curve.zero) : (this.x = new we(e,16),
|
|
this.z = new we(f,16),
|
|
this.x.red || (this.x = this.x.toRed(this.curve.red)),
|
|
this.z.red || (this.z = this.z.toRed(this.curve.red)))
|
|
}
|
|
Ht(k0, Ye.BasePoint),
|
|
De.prototype.decodePoint = function(e, f) {
|
|
return this.point(oa.toArray(e, f), 1)
|
|
}
|
|
,
|
|
De.prototype.point = function(e, f) {
|
|
return new k0(this,e,f)
|
|
}
|
|
,
|
|
De.prototype.pointFromJSON = function(e) {
|
|
return k0.fromJSON(this, e)
|
|
}
|
|
,
|
|
k0.prototype.precompute = function() {}
|
|
,
|
|
k0.prototype._encode = function() {
|
|
return this.getX().toArray("be", this.curve.p.byteLength())
|
|
}
|
|
,
|
|
k0.fromJSON = function(e, f) {
|
|
return new k0(e,f[0],f[1] || e.one)
|
|
}
|
|
,
|
|
k0.prototype.inspect = function() {
|
|
return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " z: " + this.z.fromRed().toString(16, 2) + ">"
|
|
}
|
|
,
|
|
k0.prototype.isInfinity = function() {
|
|
return this.z.cmpn(0) === 0
|
|
}
|
|
,
|
|
k0.prototype.dbl = function() {
|
|
var e = this.x.redAdd(this.z)
|
|
, f = e.redSqr()
|
|
, t = this.x.redSub(this.z)
|
|
, c = t.redSqr()
|
|
, a = f.redSub(c)
|
|
, m = f.redMul(c)
|
|
, h = a.redMul(c.redAdd(this.curve.a24.redMul(a)));
|
|
return this.curve.point(m, h)
|
|
}
|
|
,
|
|
k0.prototype.add = function() {
|
|
throw new Error("Not supported on Montgomery curve")
|
|
}
|
|
,
|
|
k0.prototype.diffAdd = function(e, f) {
|
|
var t = this.x.redAdd(this.z)
|
|
, c = this.x.redSub(this.z)
|
|
, a = e.x.redAdd(e.z)
|
|
, m = e.x.redSub(e.z)
|
|
, h = m.redMul(t)
|
|
, p = a.redMul(c)
|
|
, s = f.z.redMul(h.redAdd(p).redSqr())
|
|
, o = f.x.redMul(h.redISub(p).redSqr());
|
|
return this.curve.point(s, o)
|
|
}
|
|
,
|
|
k0.prototype.mul = function(e) {
|
|
for (var f = e.clone(), t = this, c = this.curve.point(null, null), a = this, m = []; f.cmpn(0) !== 0; f.iushrn(1))
|
|
m.push(f.andln(1));
|
|
for (var h = m.length - 1; h >= 0; h--)
|
|
m[h] === 0 ? (t = t.diffAdd(c, a),
|
|
c = c.dbl()) : (c = t.diffAdd(c, a),
|
|
t = t.dbl());
|
|
return c
|
|
}
|
|
,
|
|
k0.prototype.mulAdd = function() {
|
|
throw new Error("Not supported on Montgomery curve")
|
|
}
|
|
,
|
|
k0.prototype.jumlAdd = function() {
|
|
throw new Error("Not supported on Montgomery curve")
|
|
}
|
|
,
|
|
k0.prototype.eq = function(e) {
|
|
return this.getX().cmp(e.getX()) === 0
|
|
}
|
|
,
|
|
k0.prototype.normalize = function() {
|
|
return this.x = this.x.redMul(this.z.redInvm()),
|
|
this.z = this.curve.one,
|
|
this
|
|
}
|
|
,
|
|
k0.prototype.getX = function() {
|
|
return this.normalize(),
|
|
this.x.fromRed()
|
|
}
|
|
;
|
|
var xa = O0
|
|
, ie = ae
|
|
, $t = Ge
|
|
, Ve = Ue
|
|
, ua = xa.assert;
|
|
function V0(i) {
|
|
this.twisted = (i.a | 0) !== 1,
|
|
this.mOneA = this.twisted && (i.a | 0) === -1,
|
|
this.extended = this.mOneA,
|
|
Ve.call(this, "edwards", i),
|
|
this.a = new ie(i.a,16).umod(this.red.m),
|
|
this.a = this.a.toRed(this.red),
|
|
this.c = new ie(i.c,16).toRed(this.red),
|
|
this.c2 = this.c.redSqr(),
|
|
this.d = new ie(i.d,16).toRed(this.red),
|
|
this.dd = this.d.redAdd(this.d),
|
|
ua(!this.twisted || this.c.fromRed().cmpn(1) === 0),
|
|
this.oneC = (i.c | 0) === 1
|
|
}
|
|
$t(V0, Ve);
|
|
var va = V0;
|
|
V0.prototype._mulA = function(e) {
|
|
return this.mOneA ? e.redNeg() : this.a.redMul(e)
|
|
}
|
|
,
|
|
V0.prototype._mulC = function(e) {
|
|
return this.oneC ? e : this.c.redMul(e)
|
|
}
|
|
,
|
|
V0.prototype.jpoint = function(e, f, t, c) {
|
|
return this.point(e, f, t, c)
|
|
}
|
|
,
|
|
V0.prototype.pointFromX = function(e, f) {
|
|
e = new ie(e,16),
|
|
e.red || (e = e.toRed(this.red));
|
|
var t = e.redSqr()
|
|
, c = this.c2.redSub(this.a.redMul(t))
|
|
, a = this.one.redSub(this.c2.redMul(this.d).redMul(t))
|
|
, m = c.redMul(a.redInvm())
|
|
, h = m.redSqrt();
|
|
if (h.redSqr().redSub(m).cmp(this.zero) !== 0)
|
|
throw new Error("invalid point");
|
|
var p = h.fromRed().isOdd();
|
|
return (f && !p || !f && p) && (h = h.redNeg()),
|
|
this.point(e, h)
|
|
}
|
|
,
|
|
V0.prototype.pointFromY = function(e, f) {
|
|
e = new ie(e,16),
|
|
e.red || (e = e.toRed(this.red));
|
|
var t = e.redSqr()
|
|
, c = t.redSub(this.c2)
|
|
, a = t.redMul(this.d).redMul(this.c2).redSub(this.a)
|
|
, m = c.redMul(a.redInvm());
|
|
if (m.cmp(this.zero) === 0) {
|
|
if (f)
|
|
throw new Error("invalid point");
|
|
return this.point(this.zero, e)
|
|
}
|
|
var h = m.redSqrt();
|
|
if (h.redSqr().redSub(m).cmp(this.zero) !== 0)
|
|
throw new Error("invalid point");
|
|
return h.fromRed().isOdd() !== f && (h = h.redNeg()),
|
|
this.point(h, e)
|
|
}
|
|
,
|
|
V0.prototype.validate = function(e) {
|
|
if (e.isInfinity())
|
|
return !0;
|
|
e.normalize();
|
|
var f = e.x.redSqr()
|
|
, t = e.y.redSqr()
|
|
, c = f.redMul(this.a).redAdd(t)
|
|
, a = this.c2.redMul(this.one.redAdd(this.d.redMul(f).redMul(t)));
|
|
return c.cmp(a) === 0
|
|
}
|
|
;
|
|
function r0(i, e, f, t, c) {
|
|
Ve.BasePoint.call(this, i, "projective"),
|
|
e === null && f === null && t === null ? (this.x = this.curve.zero,
|
|
this.y = this.curve.one,
|
|
this.z = this.curve.one,
|
|
this.t = this.curve.zero,
|
|
this.zOne = !0) : (this.x = new ie(e,16),
|
|
this.y = new ie(f,16),
|
|
this.z = t ? new ie(t,16) : this.curve.one,
|
|
this.t = c && new ie(c,16),
|
|
this.x.red || (this.x = this.x.toRed(this.curve.red)),
|
|
this.y.red || (this.y = this.y.toRed(this.curve.red)),
|
|
this.z.red || (this.z = this.z.toRed(this.curve.red)),
|
|
this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)),
|
|
this.zOne = this.z === this.curve.one,
|
|
this.curve.extended && !this.t && (this.t = this.x.redMul(this.y),
|
|
this.zOne || (this.t = this.t.redMul(this.z.redInvm()))))
|
|
}
|
|
$t(r0, Ve.BasePoint),
|
|
V0.prototype.pointFromJSON = function(e) {
|
|
return r0.fromJSON(this, e)
|
|
}
|
|
,
|
|
V0.prototype.point = function(e, f, t, c) {
|
|
return new r0(this,e,f,t,c)
|
|
}
|
|
,
|
|
r0.fromJSON = function(e, f) {
|
|
return new r0(e,f[0],f[1],f[2])
|
|
}
|
|
,
|
|
r0.prototype.inspect = function() {
|
|
return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " y: " + this.y.fromRed().toString(16, 2) + " z: " + this.z.fromRed().toString(16, 2) + ">"
|
|
}
|
|
,
|
|
r0.prototype.isInfinity = function() {
|
|
return this.x.cmpn(0) === 0 && (this.y.cmp(this.z) === 0 || this.zOne && this.y.cmp(this.curve.c) === 0)
|
|
}
|
|
,
|
|
r0.prototype._extDbl = function() {
|
|
var e = this.x.redSqr()
|
|
, f = this.y.redSqr()
|
|
, t = this.z.redSqr();
|
|
t = t.redIAdd(t);
|
|
var c = this.curve._mulA(e)
|
|
, a = this.x.redAdd(this.y).redSqr().redISub(e).redISub(f)
|
|
, m = c.redAdd(f)
|
|
, h = m.redSub(t)
|
|
, p = c.redSub(f)
|
|
, s = a.redMul(h)
|
|
, o = m.redMul(p)
|
|
, g = a.redMul(p)
|
|
, b = h.redMul(m);
|
|
return this.curve.point(s, o, b, g)
|
|
}
|
|
,
|
|
r0.prototype._projDbl = function() {
|
|
var e = this.x.redAdd(this.y).redSqr(), f = this.x.redSqr(), t = this.y.redSqr(), c, a, m, h, p, s;
|
|
if (this.curve.twisted) {
|
|
h = this.curve._mulA(f);
|
|
var o = h.redAdd(t);
|
|
this.zOne ? (c = e.redSub(f).redSub(t).redMul(o.redSub(this.curve.two)),
|
|
a = o.redMul(h.redSub(t)),
|
|
m = o.redSqr().redSub(o).redSub(o)) : (p = this.z.redSqr(),
|
|
s = o.redSub(p).redISub(p),
|
|
c = e.redSub(f).redISub(t).redMul(s),
|
|
a = o.redMul(h.redSub(t)),
|
|
m = o.redMul(s))
|
|
} else
|
|
h = f.redAdd(t),
|
|
p = this.curve._mulC(this.z).redSqr(),
|
|
s = h.redSub(p).redSub(p),
|
|
c = this.curve._mulC(e.redISub(h)).redMul(s),
|
|
a = this.curve._mulC(h).redMul(f.redISub(t)),
|
|
m = h.redMul(s);
|
|
return this.curve.point(c, a, m)
|
|
}
|
|
,
|
|
r0.prototype.dbl = function() {
|
|
return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl()
|
|
}
|
|
,
|
|
r0.prototype._extAdd = function(e) {
|
|
var f = this.y.redSub(this.x).redMul(e.y.redSub(e.x))
|
|
, t = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x))
|
|
, c = this.t.redMul(this.curve.dd).redMul(e.t)
|
|
, a = this.z.redMul(e.z.redAdd(e.z))
|
|
, m = t.redSub(f)
|
|
, h = a.redSub(c)
|
|
, p = a.redAdd(c)
|
|
, s = t.redAdd(f)
|
|
, o = m.redMul(h)
|
|
, g = p.redMul(s)
|
|
, b = m.redMul(s)
|
|
, y = h.redMul(p);
|
|
return this.curve.point(o, g, y, b)
|
|
}
|
|
,
|
|
r0.prototype._projAdd = function(e) {
|
|
var f = this.z.redMul(e.z), t = f.redSqr(), c = this.x.redMul(e.x), a = this.y.redMul(e.y), m = this.curve.d.redMul(c).redMul(a), h = t.redSub(m), p = t.redAdd(m), s = this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(c).redISub(a), o = f.redMul(h).redMul(s), g, b;
|
|
return this.curve.twisted ? (g = f.redMul(p).redMul(a.redSub(this.curve._mulA(c))),
|
|
b = h.redMul(p)) : (g = f.redMul(p).redMul(a.redSub(c)),
|
|
b = this.curve._mulC(h).redMul(p)),
|
|
this.curve.point(o, g, b)
|
|
}
|
|
,
|
|
r0.prototype.add = function(e) {
|
|
return this.isInfinity() ? e : e.isInfinity() ? this : this.curve.extended ? this._extAdd(e) : this._projAdd(e)
|
|
}
|
|
,
|
|
r0.prototype.mul = function(e) {
|
|
return this._hasDoubles(e) ? this.curve._fixedNafMul(this, e) : this.curve._wnafMul(this, e)
|
|
}
|
|
,
|
|
r0.prototype.mulAdd = function(e, f, t) {
|
|
return this.curve._wnafMulAdd(1, [this, f], [e, t], 2, !1)
|
|
}
|
|
,
|
|
r0.prototype.jmulAdd = function(e, f, t) {
|
|
return this.curve._wnafMulAdd(1, [this, f], [e, t], 2, !0)
|
|
}
|
|
,
|
|
r0.prototype.normalize = function() {
|
|
if (this.zOne)
|
|
return this;
|
|
var e = this.z.redInvm();
|
|
return this.x = this.x.redMul(e),
|
|
this.y = this.y.redMul(e),
|
|
this.t && (this.t = this.t.redMul(e)),
|
|
this.z = this.curve.one,
|
|
this.zOne = !0,
|
|
this
|
|
}
|
|
,
|
|
r0.prototype.neg = function() {
|
|
return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg())
|
|
}
|
|
,
|
|
r0.prototype.getX = function() {
|
|
return this.normalize(),
|
|
this.x.fromRed()
|
|
}
|
|
,
|
|
r0.prototype.getY = function() {
|
|
return this.normalize(),
|
|
this.y.fromRed()
|
|
}
|
|
,
|
|
r0.prototype.eq = function(e) {
|
|
return this === e || this.getX().cmp(e.getX()) === 0 && this.getY().cmp(e.getY()) === 0
|
|
}
|
|
,
|
|
r0.prototype.eqXToP = function(e) {
|
|
var f = e.toRed(this.curve.red).redMul(this.z);
|
|
if (this.x.cmp(f) === 0)
|
|
return !0;
|
|
for (var t = e.clone(), c = this.curve.redN.redMul(this.z); ; ) {
|
|
if (t.iadd(this.curve.n),
|
|
t.cmp(this.curve.p) >= 0)
|
|
return !1;
|
|
if (f.redIAdd(c),
|
|
this.x.cmp(f) === 0)
|
|
return !0
|
|
}
|
|
}
|
|
,
|
|
r0.prototype.toP = r0.prototype.normalize,
|
|
r0.prototype.mixedAdd = r0.prototype.add,
|
|
function(i) {
|
|
var e = i;
|
|
e.base = Ue,
|
|
e.short = sa,
|
|
e.mont = ha,
|
|
e.edwards = va
|
|
}(lr);
|
|
var je = {}
|
|
, Qe = {}
|
|
, Z = {}
|
|
, la = pe
|
|
, ba = Ge;
|
|
Z.inherits = ba;
|
|
function pa(i, e) {
|
|
return (i.charCodeAt(e) & 64512) !== 55296 || e < 0 || e + 1 >= i.length ? !1 : (i.charCodeAt(e + 1) & 64512) === 56320
|
|
}
|
|
function ma(i, e) {
|
|
if (Array.isArray(i))
|
|
return i.slice();
|
|
if (!i)
|
|
return [];
|
|
var f = [];
|
|
if (typeof i == "string")
|
|
if (e) {
|
|
if (e === "hex")
|
|
for (i = i.replace(/[^a-z0-9]+/ig, ""),
|
|
i.length % 2 !== 0 && (i = "0" + i),
|
|
c = 0; c < i.length; c += 2)
|
|
f.push(parseInt(i[c] + i[c + 1], 16))
|
|
} else
|
|
for (var t = 0, c = 0; c < i.length; c++) {
|
|
var a = i.charCodeAt(c);
|
|
a < 128 ? f[t++] = a : a < 2048 ? (f[t++] = a >> 6 | 192,
|
|
f[t++] = a & 63 | 128) : pa(i, c) ? (a = 65536 + ((a & 1023) << 10) + (i.charCodeAt(++c) & 1023),
|
|
f[t++] = a >> 18 | 240,
|
|
f[t++] = a >> 12 & 63 | 128,
|
|
f[t++] = a >> 6 & 63 | 128,
|
|
f[t++] = a & 63 | 128) : (f[t++] = a >> 12 | 224,
|
|
f[t++] = a >> 6 & 63 | 128,
|
|
f[t++] = a & 63 | 128)
|
|
}
|
|
else
|
|
for (c = 0; c < i.length; c++)
|
|
f[c] = i[c] | 0;
|
|
return f
|
|
}
|
|
Z.toArray = ma;
|
|
function ga(i) {
|
|
for (var e = "", f = 0; f < i.length; f++)
|
|
e += Lt(i[f].toString(16));
|
|
return e
|
|
}
|
|
Z.toHex = ga;
|
|
function Nt(i) {
|
|
var e = i >>> 24 | i >>> 8 & 65280 | i << 8 & 16711680 | (i & 255) << 24;
|
|
return e >>> 0
|
|
}
|
|
Z.htonl = Nt;
|
|
function ya(i, e) {
|
|
for (var f = "", t = 0; t < i.length; t++) {
|
|
var c = i[t];
|
|
e === "little" && (c = Nt(c)),
|
|
f += Ot(c.toString(16))
|
|
}
|
|
return f
|
|
}
|
|
Z.toHex32 = ya;
|
|
function Lt(i) {
|
|
return i.length === 1 ? "0" + i : i
|
|
}
|
|
Z.zero2 = Lt;
|
|
function Ot(i) {
|
|
return i.length === 7 ? "0" + i : i.length === 6 ? "00" + i : i.length === 5 ? "000" + i : i.length === 4 ? "0000" + i : i.length === 3 ? "00000" + i : i.length === 2 ? "000000" + i : i.length === 1 ? "0000000" + i : i
|
|
}
|
|
Z.zero8 = Ot;
|
|
function Aa(i, e, f, t) {
|
|
var c = f - e;
|
|
la(c % 4 === 0);
|
|
for (var a = new Array(c / 4), m = 0, h = e; m < a.length; m++,
|
|
h += 4) {
|
|
var p;
|
|
t === "big" ? p = i[h] << 24 | i[h + 1] << 16 | i[h + 2] << 8 | i[h + 3] : p = i[h + 3] << 24 | i[h + 2] << 16 | i[h + 1] << 8 | i[h],
|
|
a[m] = p >>> 0
|
|
}
|
|
return a
|
|
}
|
|
Z.join32 = Aa;
|
|
function Ba(i, e) {
|
|
for (var f = new Array(i.length * 4), t = 0, c = 0; t < i.length; t++,
|
|
c += 4) {
|
|
var a = i[t];
|
|
e === "big" ? (f[c] = a >>> 24,
|
|
f[c + 1] = a >>> 16 & 255,
|
|
f[c + 2] = a >>> 8 & 255,
|
|
f[c + 3] = a & 255) : (f[c + 3] = a >>> 24,
|
|
f[c + 2] = a >>> 16 & 255,
|
|
f[c + 1] = a >>> 8 & 255,
|
|
f[c] = a & 255)
|
|
}
|
|
return f
|
|
}
|
|
Z.split32 = Ba;
|
|
function _a(i, e) {
|
|
return i >>> e | i << 32 - e
|
|
}
|
|
Z.rotr32 = _a;
|
|
function Ca(i, e) {
|
|
return i << e | i >>> 32 - e
|
|
}
|
|
Z.rotl32 = Ca;
|
|
function Ea(i, e) {
|
|
return i + e >>> 0
|
|
}
|
|
Z.sum32 = Ea;
|
|
function Fa(i, e, f) {
|
|
return i + e + f >>> 0
|
|
}
|
|
Z.sum32_3 = Fa;
|
|
function wa(i, e, f, t) {
|
|
return i + e + f + t >>> 0
|
|
}
|
|
Z.sum32_4 = wa;
|
|
function Da(i, e, f, t, c) {
|
|
return i + e + f + t + c >>> 0
|
|
}
|
|
Z.sum32_5 = Da;
|
|
function Ma(i, e, f, t) {
|
|
var c = i[e]
|
|
, a = i[e + 1]
|
|
, m = t + a >>> 0
|
|
, h = (m < t ? 1 : 0) + f + c;
|
|
i[e] = h >>> 0,
|
|
i[e + 1] = m
|
|
}
|
|
Z.sum64 = Ma;
|
|
function Sa(i, e, f, t) {
|
|
var c = e + t >>> 0
|
|
, a = (c < e ? 1 : 0) + i + f;
|
|
return a >>> 0
|
|
}
|
|
Z.sum64_hi = Sa;
|
|
function za(i, e, f, t) {
|
|
var c = e + t;
|
|
return c >>> 0
|
|
}
|
|
Z.sum64_lo = za;
|
|
function Ra(i, e, f, t, c, a, m, h) {
|
|
var p = 0
|
|
, s = e;
|
|
s = s + t >>> 0,
|
|
p += s < e ? 1 : 0,
|
|
s = s + a >>> 0,
|
|
p += s < a ? 1 : 0,
|
|
s = s + h >>> 0,
|
|
p += s < h ? 1 : 0;
|
|
var o = i + f + c + m + p;
|
|
return o >>> 0
|
|
}
|
|
Z.sum64_4_hi = Ra;
|
|
function ka(i, e, f, t, c, a, m, h) {
|
|
var p = e + t + a + h;
|
|
return p >>> 0
|
|
}
|
|
Z.sum64_4_lo = ka;
|
|
function Ia(i, e, f, t, c, a, m, h, p, s) {
|
|
var o = 0
|
|
, g = e;
|
|
g = g + t >>> 0,
|
|
o += g < e ? 1 : 0,
|
|
g = g + a >>> 0,
|
|
o += g < a ? 1 : 0,
|
|
g = g + h >>> 0,
|
|
o += g < h ? 1 : 0,
|
|
g = g + s >>> 0,
|
|
o += g < s ? 1 : 0;
|
|
var b = i + f + c + m + p + o;
|
|
return b >>> 0
|
|
}
|
|
Z.sum64_5_hi = Ia;
|
|
function qa(i, e, f, t, c, a, m, h, p, s) {
|
|
var o = e + t + a + h + s;
|
|
return o >>> 0
|
|
}
|
|
Z.sum64_5_lo = qa;
|
|
function Pa(i, e, f) {
|
|
var t = e << 32 - f | i >>> f;
|
|
return t >>> 0
|
|
}
|
|
Z.rotr64_hi = Pa;
|
|
function Ha(i, e, f) {
|
|
var t = i << 32 - f | e >>> f;
|
|
return t >>> 0
|
|
}
|
|
Z.rotr64_lo = Ha;
|
|
function $a(i, e, f) {
|
|
return i >>> f
|
|
}
|
|
Z.shr64_hi = $a;
|
|
function Na(i, e, f) {
|
|
var t = i << 32 - f | e >>> f;
|
|
return t >>> 0
|
|
}
|
|
Z.shr64_lo = Na;
|
|
var Me = {}
|
|
, Wt = Z
|
|
, La = pe;
|
|
function Je() {
|
|
this.pending = null,
|
|
this.pendingTotal = 0,
|
|
this.blockSize = this.constructor.blockSize,
|
|
this.outSize = this.constructor.outSize,
|
|
this.hmacStrength = this.constructor.hmacStrength,
|
|
this.padLength = this.constructor.padLength / 8,
|
|
this.endian = "big",
|
|
this._delta8 = this.blockSize / 8,
|
|
this._delta32 = this.blockSize / 32
|
|
}
|
|
Me.BlockHash = Je,
|
|
Je.prototype.update = function(e, f) {
|
|
if (e = Wt.toArray(e, f),
|
|
this.pending ? this.pending = this.pending.concat(e) : this.pending = e,
|
|
this.pendingTotal += e.length,
|
|
this.pending.length >= this._delta8) {
|
|
e = this.pending;
|
|
var t = e.length % this._delta8;
|
|
this.pending = e.slice(e.length - t, e.length),
|
|
this.pending.length === 0 && (this.pending = null),
|
|
e = Wt.join32(e, 0, e.length - t, this.endian);
|
|
for (var c = 0; c < e.length; c += this._delta32)
|
|
this._update(e, c, c + this._delta32)
|
|
}
|
|
return this
|
|
}
|
|
,
|
|
Je.prototype.digest = function(e) {
|
|
return this.update(this._pad()),
|
|
La(this.pending === null),
|
|
this._digest(e)
|
|
}
|
|
,
|
|
Je.prototype._pad = function() {
|
|
var e = this.pendingTotal
|
|
, f = this._delta8
|
|
, t = f - (e + this.padLength) % f
|
|
, c = new Array(t + this.padLength);
|
|
c[0] = 128;
|
|
for (var a = 1; a < t; a++)
|
|
c[a] = 0;
|
|
if (e <<= 3,
|
|
this.endian === "big") {
|
|
for (var m = 8; m < this.padLength; m++)
|
|
c[a++] = 0;
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
c[a++] = e >>> 24 & 255,
|
|
c[a++] = e >>> 16 & 255,
|
|
c[a++] = e >>> 8 & 255,
|
|
c[a++] = e & 255
|
|
} else
|
|
for (c[a++] = e & 255,
|
|
c[a++] = e >>> 8 & 255,
|
|
c[a++] = e >>> 16 & 255,
|
|
c[a++] = e >>> 24 & 255,
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
c[a++] = 0,
|
|
m = 8; m < this.padLength; m++)
|
|
c[a++] = 0;
|
|
return c
|
|
}
|
|
;
|
|
var Se = {}
|
|
, j0 = {}
|
|
, Oa = Z
|
|
, Q0 = Oa.rotr32;
|
|
function Wa(i, e, f, t) {
|
|
if (i === 0)
|
|
return Tt(e, f, t);
|
|
if (i === 1 || i === 3)
|
|
return Xt(e, f, t);
|
|
if (i === 2)
|
|
return Kt(e, f, t)
|
|
}
|
|
j0.ft_1 = Wa;
|
|
function Tt(i, e, f) {
|
|
return i & e ^ ~i & f
|
|
}
|
|
j0.ch32 = Tt;
|
|
function Kt(i, e, f) {
|
|
return i & e ^ i & f ^ e & f
|
|
}
|
|
j0.maj32 = Kt;
|
|
function Xt(i, e, f) {
|
|
return i ^ e ^ f
|
|
}
|
|
j0.p32 = Xt;
|
|
function Ta(i) {
|
|
return Q0(i, 2) ^ Q0(i, 13) ^ Q0(i, 22)
|
|
}
|
|
j0.s0_256 = Ta;
|
|
function Ka(i) {
|
|
return Q0(i, 6) ^ Q0(i, 11) ^ Q0(i, 25)
|
|
}
|
|
j0.s1_256 = Ka;
|
|
function Xa(i) {
|
|
return Q0(i, 7) ^ Q0(i, 18) ^ i >>> 3
|
|
}
|
|
j0.g0_256 = Xa;
|
|
function Za(i) {
|
|
return Q0(i, 17) ^ Q0(i, 19) ^ i >>> 10
|
|
}
|
|
j0.g1_256 = Za;
|
|
var ze = Z
|
|
, Ua = Me
|
|
, Ga = j0
|
|
, mr = ze.rotl32
|
|
, Ne = ze.sum32
|
|
, Ya = ze.sum32_5
|
|
, Va = Ga.ft_1
|
|
, Zt = Ua.BlockHash
|
|
, ja = [1518500249, 1859775393, 2400959708, 3395469782];
|
|
function J0() {
|
|
if (!(this instanceof J0))
|
|
return new J0;
|
|
Zt.call(this),
|
|
this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520],
|
|
this.W = new Array(80)
|
|
}
|
|
ze.inherits(J0, Zt);
|
|
var Qa = J0;
|
|
J0.blockSize = 512,
|
|
J0.outSize = 160,
|
|
J0.hmacStrength = 80,
|
|
J0.padLength = 64,
|
|
J0.prototype._update = function(e, f) {
|
|
for (var t = this.W, c = 0; c < 16; c++)
|
|
t[c] = e[f + c];
|
|
for (; c < t.length; c++)
|
|
t[c] = mr(t[c - 3] ^ t[c - 8] ^ t[c - 14] ^ t[c - 16], 1);
|
|
var a = this.h[0]
|
|
, m = this.h[1]
|
|
, h = this.h[2]
|
|
, p = this.h[3]
|
|
, s = this.h[4];
|
|
for (c = 0; c < t.length; c++) {
|
|
var o = ~~(c / 20)
|
|
, g = Ya(mr(a, 5), Va(o, m, h, p), s, t[c], ja[o]);
|
|
s = p,
|
|
p = h,
|
|
h = mr(m, 30),
|
|
m = a,
|
|
a = g
|
|
}
|
|
this.h[0] = Ne(this.h[0], a),
|
|
this.h[1] = Ne(this.h[1], m),
|
|
this.h[2] = Ne(this.h[2], h),
|
|
this.h[3] = Ne(this.h[3], p),
|
|
this.h[4] = Ne(this.h[4], s)
|
|
}
|
|
,
|
|
J0.prototype._digest = function(e) {
|
|
return e === "hex" ? ze.toHex32(this.h, "big") : ze.split32(this.h, "big")
|
|
}
|
|
;
|
|
var Re = Z
|
|
, Ja = Me
|
|
, ke = j0
|
|
, ei = pe
|
|
, X0 = Re.sum32
|
|
, ri = Re.sum32_4
|
|
, ti = Re.sum32_5
|
|
, fi = ke.ch32
|
|
, ai = ke.maj32
|
|
, ii = ke.s0_256
|
|
, ni = ke.s1_256
|
|
, di = ke.g0_256
|
|
, ci = ke.g1_256
|
|
, Ut = Ja.BlockHash
|
|
, si = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298];
|
|
function ee() {
|
|
if (!(this instanceof ee))
|
|
return new ee;
|
|
Ut.call(this),
|
|
this.h = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225],
|
|
this.k = si,
|
|
this.W = new Array(64)
|
|
}
|
|
Re.inherits(ee, Ut);
|
|
var Gt = ee;
|
|
ee.blockSize = 512,
|
|
ee.outSize = 256,
|
|
ee.hmacStrength = 192,
|
|
ee.padLength = 64,
|
|
ee.prototype._update = function(e, f) {
|
|
for (var t = this.W, c = 0; c < 16; c++)
|
|
t[c] = e[f + c];
|
|
for (; c < t.length; c++)
|
|
t[c] = ri(ci(t[c - 2]), t[c - 7], di(t[c - 15]), t[c - 16]);
|
|
var a = this.h[0]
|
|
, m = this.h[1]
|
|
, h = this.h[2]
|
|
, p = this.h[3]
|
|
, s = this.h[4]
|
|
, o = this.h[5]
|
|
, g = this.h[6]
|
|
, b = this.h[7];
|
|
for (ei(this.k.length === t.length),
|
|
c = 0; c < t.length; c++) {
|
|
var y = ti(b, ni(s), fi(s, o, g), this.k[c], t[c])
|
|
, A = X0(ii(a), ai(a, m, h));
|
|
b = g,
|
|
g = o,
|
|
o = s,
|
|
s = X0(p, y),
|
|
p = h,
|
|
h = m,
|
|
m = a,
|
|
a = X0(y, A)
|
|
}
|
|
this.h[0] = X0(this.h[0], a),
|
|
this.h[1] = X0(this.h[1], m),
|
|
this.h[2] = X0(this.h[2], h),
|
|
this.h[3] = X0(this.h[3], p),
|
|
this.h[4] = X0(this.h[4], s),
|
|
this.h[5] = X0(this.h[5], o),
|
|
this.h[6] = X0(this.h[6], g),
|
|
this.h[7] = X0(this.h[7], b)
|
|
}
|
|
,
|
|
ee.prototype._digest = function(e) {
|
|
return e === "hex" ? Re.toHex32(this.h, "big") : Re.split32(this.h, "big")
|
|
}
|
|
;
|
|
var gr = Z
|
|
, Yt = Gt;
|
|
function ne() {
|
|
if (!(this instanceof ne))
|
|
return new ne;
|
|
Yt.call(this),
|
|
this.h = [3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]
|
|
}
|
|
gr.inherits(ne, Yt);
|
|
var oi = ne;
|
|
ne.blockSize = 512,
|
|
ne.outSize = 224,
|
|
ne.hmacStrength = 192,
|
|
ne.padLength = 64,
|
|
ne.prototype._digest = function(e) {
|
|
return e === "hex" ? gr.toHex32(this.h.slice(0, 7), "big") : gr.split32(this.h.slice(0, 7), "big")
|
|
}
|
|
;
|
|
var N0 = Z
|
|
, hi = Me
|
|
, xi = pe
|
|
, re = N0.rotr64_hi
|
|
, te = N0.rotr64_lo
|
|
, Vt = N0.shr64_hi
|
|
, jt = N0.shr64_lo
|
|
, he = N0.sum64
|
|
, yr = N0.sum64_hi
|
|
, Ar = N0.sum64_lo
|
|
, ui = N0.sum64_4_hi
|
|
, vi = N0.sum64_4_lo
|
|
, li = N0.sum64_5_hi
|
|
, bi = N0.sum64_5_lo
|
|
, Qt = hi.BlockHash
|
|
, pi = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591];
|
|
function Z0() {
|
|
if (!(this instanceof Z0))
|
|
return new Z0;
|
|
Qt.call(this),
|
|
this.h = [1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209],
|
|
this.k = pi,
|
|
this.W = new Array(160)
|
|
}
|
|
N0.inherits(Z0, Qt);
|
|
var Jt = Z0;
|
|
Z0.blockSize = 1024,
|
|
Z0.outSize = 512,
|
|
Z0.hmacStrength = 192,
|
|
Z0.padLength = 128,
|
|
Z0.prototype._prepareBlock = function(e, f) {
|
|
for (var t = this.W, c = 0; c < 32; c++)
|
|
t[c] = e[f + c];
|
|
for (; c < t.length; c += 2) {
|
|
var a = Di(t[c - 4], t[c - 3])
|
|
, m = Mi(t[c - 4], t[c - 3])
|
|
, h = t[c - 14]
|
|
, p = t[c - 13]
|
|
, s = Fi(t[c - 30], t[c - 29])
|
|
, o = wi(t[c - 30], t[c - 29])
|
|
, g = t[c - 32]
|
|
, b = t[c - 31];
|
|
t[c] = ui(a, m, h, p, s, o, g, b),
|
|
t[c + 1] = vi(a, m, h, p, s, o, g, b)
|
|
}
|
|
}
|
|
,
|
|
Z0.prototype._update = function(e, f) {
|
|
this._prepareBlock(e, f);
|
|
var t = this.W
|
|
, c = this.h[0]
|
|
, a = this.h[1]
|
|
, m = this.h[2]
|
|
, h = this.h[3]
|
|
, p = this.h[4]
|
|
, s = this.h[5]
|
|
, o = this.h[6]
|
|
, g = this.h[7]
|
|
, b = this.h[8]
|
|
, y = this.h[9]
|
|
, A = this.h[10]
|
|
, E = this.h[11]
|
|
, F = this.h[12]
|
|
, S = this.h[13]
|
|
, C = this.h[14]
|
|
, w = this.h[15];
|
|
xi(this.k.length === t.length);
|
|
for (var D = 0; D < t.length; D += 2) {
|
|
var k = C
|
|
, I = w
|
|
, H = Ci(b, y)
|
|
, N = Ei(b, y)
|
|
, L = mi(b, y, A, E, F)
|
|
, R = gi(b, y, A, E, F, S)
|
|
, v = this.k[D]
|
|
, r = this.k[D + 1]
|
|
, n = t[D]
|
|
, x = t[D + 1]
|
|
, l = li(k, I, H, N, L, R, v, r, n, x)
|
|
, B = bi(k, I, H, N, L, R, v, r, n, x);
|
|
k = Bi(c, a),
|
|
I = _i(c, a),
|
|
H = yi(c, a, m, h, p),
|
|
N = Ai(c, a, m, h, p, s);
|
|
var M = yr(k, I, H, N)
|
|
, z = Ar(k, I, H, N);
|
|
C = F,
|
|
w = S,
|
|
F = A,
|
|
S = E,
|
|
A = b,
|
|
E = y,
|
|
b = yr(o, g, l, B),
|
|
y = Ar(g, g, l, B),
|
|
o = p,
|
|
g = s,
|
|
p = m,
|
|
s = h,
|
|
m = c,
|
|
h = a,
|
|
c = yr(l, B, M, z),
|
|
a = Ar(l, B, M, z)
|
|
}
|
|
he(this.h, 0, c, a),
|
|
he(this.h, 2, m, h),
|
|
he(this.h, 4, p, s),
|
|
he(this.h, 6, o, g),
|
|
he(this.h, 8, b, y),
|
|
he(this.h, 10, A, E),
|
|
he(this.h, 12, F, S),
|
|
he(this.h, 14, C, w)
|
|
}
|
|
,
|
|
Z0.prototype._digest = function(e) {
|
|
return e === "hex" ? N0.toHex32(this.h, "big") : N0.split32(this.h, "big")
|
|
}
|
|
;
|
|
function mi(i, e, f, t, c) {
|
|
var a = i & f ^ ~i & c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function gi(i, e, f, t, c, a) {
|
|
var m = e & t ^ ~e & a;
|
|
return m < 0 && (m += 4294967296),
|
|
m
|
|
}
|
|
function yi(i, e, f, t, c) {
|
|
var a = i & f ^ i & c ^ f & c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Ai(i, e, f, t, c, a) {
|
|
var m = e & t ^ e & a ^ t & a;
|
|
return m < 0 && (m += 4294967296),
|
|
m
|
|
}
|
|
function Bi(i, e) {
|
|
var f = re(i, e, 28)
|
|
, t = re(e, i, 2)
|
|
, c = re(e, i, 7)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function _i(i, e) {
|
|
var f = te(i, e, 28)
|
|
, t = te(e, i, 2)
|
|
, c = te(e, i, 7)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Ci(i, e) {
|
|
var f = re(i, e, 14)
|
|
, t = re(i, e, 18)
|
|
, c = re(e, i, 9)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Ei(i, e) {
|
|
var f = te(i, e, 14)
|
|
, t = te(i, e, 18)
|
|
, c = te(e, i, 9)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Fi(i, e) {
|
|
var f = re(i, e, 1)
|
|
, t = re(i, e, 8)
|
|
, c = Vt(i, e, 7)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function wi(i, e) {
|
|
var f = te(i, e, 1)
|
|
, t = te(i, e, 8)
|
|
, c = jt(i, e, 7)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Di(i, e) {
|
|
var f = re(i, e, 19)
|
|
, t = re(e, i, 29)
|
|
, c = Vt(i, e, 6)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
function Mi(i, e) {
|
|
var f = te(i, e, 19)
|
|
, t = te(e, i, 29)
|
|
, c = jt(i, e, 6)
|
|
, a = f ^ t ^ c;
|
|
return a < 0 && (a += 4294967296),
|
|
a
|
|
}
|
|
var Br = Z
|
|
, ef = Jt;
|
|
function de() {
|
|
if (!(this instanceof de))
|
|
return new de;
|
|
ef.call(this),
|
|
this.h = [3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428]
|
|
}
|
|
Br.inherits(de, ef);
|
|
var Si = de;
|
|
de.blockSize = 1024,
|
|
de.outSize = 384,
|
|
de.hmacStrength = 192,
|
|
de.padLength = 128,
|
|
de.prototype._digest = function(e) {
|
|
return e === "hex" ? Br.toHex32(this.h.slice(0, 12), "big") : Br.split32(this.h.slice(0, 12), "big")
|
|
}
|
|
,
|
|
Se.sha1 = Qa,
|
|
Se.sha224 = oi,
|
|
Se.sha256 = Gt,
|
|
Se.sha384 = Si,
|
|
Se.sha512 = Jt;
|
|
var rf = {}
|
|
, ge = Z
|
|
, zi = Me
|
|
, er = ge.rotl32
|
|
, tf = ge.sum32
|
|
, Le = ge.sum32_3
|
|
, ff = ge.sum32_4
|
|
, af = zi.BlockHash;
|
|
function fe() {
|
|
if (!(this instanceof fe))
|
|
return new fe;
|
|
af.call(this),
|
|
this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520],
|
|
this.endian = "little"
|
|
}
|
|
ge.inherits(fe, af),
|
|
rf.ripemd160 = fe,
|
|
fe.blockSize = 512,
|
|
fe.outSize = 160,
|
|
fe.hmacStrength = 192,
|
|
fe.padLength = 64,
|
|
fe.prototype._update = function(e, f) {
|
|
for (var t = this.h[0], c = this.h[1], a = this.h[2], m = this.h[3], h = this.h[4], p = t, s = c, o = a, g = m, b = h, y = 0; y < 80; y++) {
|
|
var A = tf(er(ff(t, nf(y, c, a, m), e[Ii[y] + f], Ri(y)), Pi[y]), h);
|
|
t = h,
|
|
h = m,
|
|
m = er(a, 10),
|
|
a = c,
|
|
c = A,
|
|
A = tf(er(ff(p, nf(79 - y, s, o, g), e[qi[y] + f], ki(y)), Hi[y]), b),
|
|
p = b,
|
|
b = g,
|
|
g = er(o, 10),
|
|
o = s,
|
|
s = A
|
|
}
|
|
A = Le(this.h[1], a, g),
|
|
this.h[1] = Le(this.h[2], m, b),
|
|
this.h[2] = Le(this.h[3], h, p),
|
|
this.h[3] = Le(this.h[4], t, s),
|
|
this.h[4] = Le(this.h[0], c, o),
|
|
this.h[0] = A
|
|
}
|
|
,
|
|
fe.prototype._digest = function(e) {
|
|
return e === "hex" ? ge.toHex32(this.h, "little") : ge.split32(this.h, "little")
|
|
}
|
|
;
|
|
function nf(i, e, f, t) {
|
|
return i <= 15 ? e ^ f ^ t : i <= 31 ? e & f | ~e & t : i <= 47 ? (e | ~f) ^ t : i <= 63 ? e & t | f & ~t : e ^ (f | ~t)
|
|
}
|
|
function Ri(i) {
|
|
return i <= 15 ? 0 : i <= 31 ? 1518500249 : i <= 47 ? 1859775393 : i <= 63 ? 2400959708 : 2840853838
|
|
}
|
|
function ki(i) {
|
|
return i <= 15 ? 1352829926 : i <= 31 ? 1548603684 : i <= 47 ? 1836072691 : i <= 63 ? 2053994217 : 0
|
|
}
|
|
var Ii = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]
|
|
, qi = [5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]
|
|
, Pi = [11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]
|
|
, Hi = [8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]
|
|
, $i = Z
|
|
, Ni = pe;
|
|
function Ie(i, e, f) {
|
|
if (!(this instanceof Ie))
|
|
return new Ie(i,e,f);
|
|
this.Hash = i,
|
|
this.blockSize = i.blockSize / 8,
|
|
this.outSize = i.outSize / 8,
|
|
this.inner = null,
|
|
this.outer = null,
|
|
this._init($i.toArray(e, f))
|
|
}
|
|
var Li = Ie;
|
|
Ie.prototype._init = function(e) {
|
|
e.length > this.blockSize && (e = new this.Hash().update(e).digest()),
|
|
Ni(e.length <= this.blockSize);
|
|
for (var f = e.length; f < this.blockSize; f++)
|
|
e.push(0);
|
|
for (f = 0; f < e.length; f++)
|
|
e[f] ^= 54;
|
|
for (this.inner = new this.Hash().update(e),
|
|
f = 0; f < e.length; f++)
|
|
e[f] ^= 106;
|
|
this.outer = new this.Hash().update(e)
|
|
}
|
|
,
|
|
Ie.prototype.update = function(e, f) {
|
|
return this.inner.update(e, f),
|
|
this
|
|
}
|
|
,
|
|
Ie.prototype.digest = function(e) {
|
|
return this.outer.update(this.inner.digest()),
|
|
this.outer.digest(e)
|
|
}
|
|
,
|
|
function(i) {
|
|
var e = i;
|
|
e.utils = Z,
|
|
e.common = Me,
|
|
e.sha = Se,
|
|
e.ripemd = rf,
|
|
e.hmac = Li,
|
|
e.sha1 = e.sha.sha1,
|
|
e.sha256 = e.sha.sha256,
|
|
e.sha224 = e.sha.sha224,
|
|
e.sha384 = e.sha.sha384,
|
|
e.sha512 = e.sha.sha512,
|
|
e.ripemd160 = e.ripemd.ripemd160
|
|
}(Qe);
|
|
var _r, df;
|
|
function Oi() {
|
|
return df || (df = 1,
|
|
_r = {
|
|
doubles: {
|
|
step: 4,
|
|
points: [["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a", "f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"], ["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508", "11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"], ["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739", "d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"], ["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640", "4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"], ["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c", "4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"], ["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda", "96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"], ["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa", "5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"], ["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0", "cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"], ["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d", "9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"], ["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d", "e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"], ["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1", "9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"], ["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0", "5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"], ["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047", "10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"], ["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862", "283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"], ["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7", "7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"], ["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd", "56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"], ["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83", "7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"], ["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a", "53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"], ["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8", "bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"], ["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d", "4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"], ["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725", "7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"], ["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754", "4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"], ["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c", "17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"], ["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6", "6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"], ["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39", "c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"], ["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891", "893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"], ["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b", "febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"], ["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03", "2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"], ["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d", "eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"], ["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070", "7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"], ["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4", "e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"], ["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da", "662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"], ["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11", "1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"], ["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e", "efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"], ["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41", "2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"], ["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef", "67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"], ["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8", "db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"], ["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d", "648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"], ["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96", "35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"], ["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd", "ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"], ["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5", "9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"], ["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266", "40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"], ["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71", "34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"], ["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac", "c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"], ["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751", "1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"], ["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e", "493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"], ["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241", "c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"], ["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3", "be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"], ["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f", "4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"], ["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19", "aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"], ["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be", "b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"], ["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9", "6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"], ["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2", "8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"], ["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13", "7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"], ["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c", "ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"], ["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba", "2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"], ["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151", "e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"], ["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073", "d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"], ["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458", "38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"], ["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b", "69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"], ["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366", "d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"], ["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa", "40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"], ["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0", "620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"], ["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787", "7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"], ["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e", "ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]
|
|
},
|
|
naf: {
|
|
wnd: 7,
|
|
points: [["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9", "388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"], ["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4", "d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"], ["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc", "6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"], ["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe", "cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"], ["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb", "d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"], ["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8", "ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"], ["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e", "581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"], ["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34", "4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"], ["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c", "85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"], ["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5", "321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"], ["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f", "2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"], ["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714", "73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"], ["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729", "a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"], ["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db", "2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"], ["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4", "e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"], ["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5", "b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"], ["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479", "2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"], ["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d", "80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"], ["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f", "1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"], ["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb", "d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"], ["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9", "eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"], ["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963", "758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"], ["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74", "958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"], ["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530", "e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"], ["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b", "5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"], ["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247", "cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"], ["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1", "cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"], ["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120", "4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"], ["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435", "91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"], ["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18", "673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"], ["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8", "59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"], ["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb", "3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"], ["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f", "55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"], ["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143", "efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"], ["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba", "e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"], ["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45", "f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"], ["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a", "744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"], ["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e", "c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"], ["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8", "e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"], ["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c", "30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"], ["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519", "e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"], ["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab", "100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"], ["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca", "ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"], ["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf", "8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"], ["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610", "68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"], ["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4", "f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"], ["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c", "d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"], ["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940", "edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"], ["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980", "a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"], ["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3", "66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"], ["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf", "9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"], ["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63", "4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"], ["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448", "fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"], ["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf", "5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"], ["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5", "8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"], ["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6", "8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"], ["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5", "5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"], ["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99", "f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"], ["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51", "f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"], ["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5", "42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"], ["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5", "204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"], ["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997", "4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"], ["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881", "73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"], ["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5", "39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"], ["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66", "d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"], ["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726", "ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"], ["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede", "6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"], ["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94", "60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"], ["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31", "3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"], ["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51", "b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"], ["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252", "ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"], ["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5", "cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"], ["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b", "6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"], ["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4", "322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"], ["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f", "6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"], ["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889", "2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"], ["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246", "b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"], ["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984", "998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"], ["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a", "b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"], ["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030", "bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"], ["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197", "6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"], ["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593", "c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"], ["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef", "21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"], ["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38", "60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"], ["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a", "49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"], ["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111", "5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"], ["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502", "7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"], ["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea", "be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"], ["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26", "8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"], ["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986", "39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"], ["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e", "62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"], ["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4", "25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"], ["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda", "ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"], ["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859", "cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"], ["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f", "f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"], ["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c", "6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"], ["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942", "fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"], ["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a", "1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"], ["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80", "5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"], ["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d", "438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"], ["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1", "cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"], ["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63", "c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"], ["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352", "6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"], ["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193", "ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"], ["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00", "9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"], ["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58", "ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"], ["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7", "d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"], ["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8", "c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"], ["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e", "67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"], ["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d", "cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"], ["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b", "299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"], ["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f", "f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"], ["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6", "462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"], ["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297", "62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"], ["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a", "7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"], ["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c", "ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"], ["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52", "4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"], ["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb", "bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"], ["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065", "bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"], ["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917", "603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"], ["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9", "cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"], ["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3", "553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"], ["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57", "712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"], ["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66", "ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"], ["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8", "9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"], ["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721", "9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"], ["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180", "4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]
|
|
}
|
|
}),
|
|
_r
|
|
}
|
|
(function(i) {
|
|
var e = i
|
|
, f = Qe
|
|
, t = lr
|
|
, c = O0
|
|
, a = c.assert;
|
|
function m(s) {
|
|
s.type === "short" ? this.curve = new t.short(s) : s.type === "edwards" ? this.curve = new t.edwards(s) : this.curve = new t.mont(s),
|
|
this.g = this.curve.g,
|
|
this.n = this.curve.n,
|
|
this.hash = s.hash,
|
|
a(this.g.validate(), "Invalid curve"),
|
|
a(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O")
|
|
}
|
|
e.PresetCurve = m;
|
|
function h(s, o) {
|
|
Object.defineProperty(e, s, {
|
|
configurable: !0,
|
|
enumerable: !0,
|
|
get: function() {
|
|
var g = new m(o);
|
|
return Object.defineProperty(e, s, {
|
|
configurable: !0,
|
|
enumerable: !0,
|
|
value: g
|
|
}),
|
|
g
|
|
}
|
|
})
|
|
}
|
|
h("p192", {
|
|
type: "short",
|
|
prime: "p192",
|
|
p: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",
|
|
a: "ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",
|
|
b: "64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",
|
|
n: "ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",
|
|
hash: f.sha256,
|
|
gRed: !1,
|
|
g: ["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]
|
|
}),
|
|
h("p224", {
|
|
type: "short",
|
|
prime: "p224",
|
|
p: "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",
|
|
a: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",
|
|
b: "b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",
|
|
n: "ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",
|
|
hash: f.sha256,
|
|
gRed: !1,
|
|
g: ["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]
|
|
}),
|
|
h("p256", {
|
|
type: "short",
|
|
prime: null,
|
|
p: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",
|
|
a: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",
|
|
b: "5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",
|
|
n: "ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",
|
|
hash: f.sha256,
|
|
gRed: !1,
|
|
g: ["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]
|
|
}),
|
|
h("p384", {
|
|
type: "short",
|
|
prime: null,
|
|
p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",
|
|
a: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",
|
|
b: "b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",
|
|
n: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",
|
|
hash: f.sha384,
|
|
gRed: !1,
|
|
g: ["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7", "3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]
|
|
}),
|
|
h("p521", {
|
|
type: "short",
|
|
prime: null,
|
|
p: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",
|
|
a: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",
|
|
b: "00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",
|
|
n: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",
|
|
hash: f.sha512,
|
|
gRed: !1,
|
|
g: ["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66", "00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]
|
|
}),
|
|
h("curve25519", {
|
|
type: "mont",
|
|
prime: "p25519",
|
|
p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",
|
|
a: "76d06",
|
|
b: "1",
|
|
n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",
|
|
hash: f.sha256,
|
|
gRed: !1,
|
|
g: ["9"]
|
|
}),
|
|
h("ed25519", {
|
|
type: "edwards",
|
|
prime: "p25519",
|
|
p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",
|
|
a: "-1",
|
|
c: "1",
|
|
d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",
|
|
n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",
|
|
hash: f.sha256,
|
|
gRed: !1,
|
|
g: ["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", "6666666666666666666666666666666666666666666666666666666666666658"]
|
|
});
|
|
var p;
|
|
try {
|
|
p = Oi()
|
|
} catch (s) {
|
|
p = void 0
|
|
}
|
|
h("secp256k1", {
|
|
type: "short",
|
|
prime: "k256",
|
|
p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",
|
|
a: "0",
|
|
b: "7",
|
|
n: "ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",
|
|
h: "1",
|
|
hash: f.sha256,
|
|
beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",
|
|
lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",
|
|
basis: [{
|
|
a: "3086d221a7d46bcde86c90e49284eb15",
|
|
b: "-e4437ed6010e88286f547fa90abfe4c3"
|
|
}, {
|
|
a: "114ca50f7a8e2f3f657c1108d9d44cfd8",
|
|
b: "3086d221a7d46bcde86c90e49284eb15"
|
|
}],
|
|
gRed: !1,
|
|
g: ["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", p]
|
|
})
|
|
}
|
|
)(je);
|
|
var Wi = Qe
|
|
, ye = xr
|
|
, cf = pe;
|
|
function xe(i) {
|
|
if (!(this instanceof xe))
|
|
return new xe(i);
|
|
this.hash = i.hash,
|
|
this.predResist = !!i.predResist,
|
|
this.outLen = this.hash.outSize,
|
|
this.minEntropy = i.minEntropy || this.hash.hmacStrength,
|
|
this._reseed = null,
|
|
this.reseedInterval = null,
|
|
this.K = null,
|
|
this.V = null;
|
|
var e = ye.toArray(i.entropy, i.entropyEnc || "hex")
|
|
, f = ye.toArray(i.nonce, i.nonceEnc || "hex")
|
|
, t = ye.toArray(i.pers, i.persEnc || "hex");
|
|
cf(e.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"),
|
|
this._init(e, f, t)
|
|
}
|
|
var Ti = xe;
|
|
xe.prototype._init = function(e, f, t) {
|
|
var c = e.concat(f).concat(t);
|
|
this.K = new Array(this.outLen / 8),
|
|
this.V = new Array(this.outLen / 8);
|
|
for (var a = 0; a < this.V.length; a++)
|
|
this.K[a] = 0,
|
|
this.V[a] = 1;
|
|
this._update(c),
|
|
this._reseed = 1,
|
|
this.reseedInterval = 281474976710656
|
|
}
|
|
,
|
|
xe.prototype._hmac = function() {
|
|
return new Wi.hmac(this.hash,this.K)
|
|
}
|
|
,
|
|
xe.prototype._update = function(e) {
|
|
var f = this._hmac().update(this.V).update([0]);
|
|
e && (f = f.update(e)),
|
|
this.K = f.digest(),
|
|
this.V = this._hmac().update(this.V).digest(),
|
|
e && (this.K = this._hmac().update(this.V).update([1]).update(e).digest(),
|
|
this.V = this._hmac().update(this.V).digest())
|
|
}
|
|
,
|
|
xe.prototype.reseed = function(e, f, t, c) {
|
|
typeof f != "string" && (c = t,
|
|
t = f,
|
|
f = null),
|
|
e = ye.toArray(e, f),
|
|
t = ye.toArray(t, c),
|
|
cf(e.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"),
|
|
this._update(e.concat(t || [])),
|
|
this._reseed = 1
|
|
}
|
|
,
|
|
xe.prototype.generate = function(e, f, t, c) {
|
|
if (this._reseed > this.reseedInterval)
|
|
throw new Error("Reseed is required");
|
|
typeof f != "string" && (c = t,
|
|
t = f,
|
|
f = null),
|
|
t && (t = ye.toArray(t, c || "hex"),
|
|
this._update(t));
|
|
for (var a = []; a.length < e; )
|
|
this.V = this._hmac().update(this.V).digest(),
|
|
a = a.concat(this.V);
|
|
var m = a.slice(0, e);
|
|
return this._update(t),
|
|
this._reseed++,
|
|
ye.encode(m, f)
|
|
}
|
|
;
|
|
var Ki = ae
|
|
, Xi = O0
|
|
, Cr = Xi.assert;
|
|
function H0(i, e) {
|
|
this.ec = i,
|
|
this.priv = null,
|
|
this.pub = null,
|
|
e.priv && this._importPrivate(e.priv, e.privEnc),
|
|
e.pub && this._importPublic(e.pub, e.pubEnc)
|
|
}
|
|
var Zi = H0;
|
|
H0.fromPublic = function(e, f, t) {
|
|
return f instanceof H0 ? f : new H0(e,{
|
|
pub: f,
|
|
pubEnc: t
|
|
})
|
|
}
|
|
,
|
|
H0.fromPrivate = function(e, f, t) {
|
|
return f instanceof H0 ? f : new H0(e,{
|
|
priv: f,
|
|
privEnc: t
|
|
})
|
|
}
|
|
,
|
|
H0.prototype.validate = function() {
|
|
var e = this.getPublic();
|
|
return e.isInfinity() ? {
|
|
result: !1,
|
|
reason: "Invalid public key"
|
|
} : e.validate() ? e.mul(this.ec.curve.n).isInfinity() ? {
|
|
result: !0,
|
|
reason: null
|
|
} : {
|
|
result: !1,
|
|
reason: "Public key * N != O"
|
|
} : {
|
|
result: !1,
|
|
reason: "Public key is not a point"
|
|
}
|
|
}
|
|
,
|
|
H0.prototype.getPublic = function(e, f) {
|
|
return typeof e == "string" && (f = e,
|
|
e = null),
|
|
this.pub || (this.pub = this.ec.g.mul(this.priv)),
|
|
f ? this.pub.encode(f, e) : this.pub
|
|
}
|
|
,
|
|
H0.prototype.getPrivate = function(e) {
|
|
return e === "hex" ? this.priv.toString(16, 2) : this.priv
|
|
}
|
|
,
|
|
H0.prototype._importPrivate = function(e, f) {
|
|
this.priv = new Ki(e,f || 16),
|
|
this.priv = this.priv.umod(this.ec.curve.n)
|
|
}
|
|
,
|
|
H0.prototype._importPublic = function(e, f) {
|
|
if (e.x || e.y) {
|
|
this.ec.curve.type === "mont" ? Cr(e.x, "Need x coordinate") : (this.ec.curve.type === "short" || this.ec.curve.type === "edwards") && Cr(e.x && e.y, "Need both x and y coordinate"),
|
|
this.pub = this.ec.curve.point(e.x, e.y);
|
|
return
|
|
}
|
|
this.pub = this.ec.curve.decodePoint(e, f)
|
|
}
|
|
,
|
|
H0.prototype.derive = function(e) {
|
|
return e.validate() || Cr(e.validate(), "public point not validated"),
|
|
e.mul(this.priv).getX()
|
|
}
|
|
,
|
|
H0.prototype.sign = function(e, f, t) {
|
|
return this.ec.sign(e, this, f, t)
|
|
}
|
|
,
|
|
H0.prototype.verify = function(e, f, t) {
|
|
return this.ec.verify(e, f, this, void 0, t)
|
|
}
|
|
,
|
|
H0.prototype.inspect = function() {
|
|
return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >"
|
|
}
|
|
;
|
|
var rr = ae
|
|
, Er = O0
|
|
, Ui = Er.assert;
|
|
function tr(i, e) {
|
|
if (i instanceof tr)
|
|
return i;
|
|
this._importDER(i, e) || (Ui(i.r && i.s, "Signature without r or s"),
|
|
this.r = new rr(i.r,16),
|
|
this.s = new rr(i.s,16),
|
|
i.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = i.recoveryParam)
|
|
}
|
|
var Gi = tr;
|
|
function Yi() {
|
|
this.place = 0
|
|
}
|
|
function Fr(i, e) {
|
|
var f = i[e.place++];
|
|
if (!(f & 128))
|
|
return f;
|
|
var t = f & 15;
|
|
if (t === 0 || t > 4 || i[e.place] === 0)
|
|
return !1;
|
|
for (var c = 0, a = 0, m = e.place; a < t; a++,
|
|
m++)
|
|
c <<= 8,
|
|
c |= i[m],
|
|
c >>>= 0;
|
|
return c <= 127 ? !1 : (e.place = m,
|
|
c)
|
|
}
|
|
function sf(i) {
|
|
for (var e = 0, f = i.length - 1; !i[e] && !(i[e + 1] & 128) && e < f; )
|
|
e++;
|
|
return e === 0 ? i : i.slice(e)
|
|
}
|
|
tr.prototype._importDER = function(e, f) {
|
|
e = Er.toArray(e, f);
|
|
var t = new Yi;
|
|
if (e[t.place++] !== 48)
|
|
return !1;
|
|
var c = Fr(e, t);
|
|
if (c === !1 || c + t.place !== e.length || e[t.place++] !== 2)
|
|
return !1;
|
|
var a = Fr(e, t);
|
|
if (a === !1 || e[t.place] & 128)
|
|
return !1;
|
|
var m = e.slice(t.place, a + t.place);
|
|
if (t.place += a,
|
|
e[t.place++] !== 2)
|
|
return !1;
|
|
var h = Fr(e, t);
|
|
if (h === !1 || e.length !== h + t.place || e[t.place] & 128)
|
|
return !1;
|
|
var p = e.slice(t.place, h + t.place);
|
|
if (m[0] === 0)
|
|
if (m[1] & 128)
|
|
m = m.slice(1);
|
|
else
|
|
return !1;
|
|
if (p[0] === 0)
|
|
if (p[1] & 128)
|
|
p = p.slice(1);
|
|
else
|
|
return !1;
|
|
return this.r = new rr(m),
|
|
this.s = new rr(p),
|
|
this.recoveryParam = null,
|
|
!0
|
|
}
|
|
;
|
|
function wr(i, e) {
|
|
if (e < 128) {
|
|
i.push(e);
|
|
return
|
|
}
|
|
var f = 1 + (Math.log(e) / Math.LN2 >>> 3);
|
|
for (i.push(f | 128); --f; )
|
|
i.push(e >>> (f << 3) & 255);
|
|
i.push(e)
|
|
}
|
|
tr.prototype.toDER = function(e) {
|
|
var f = this.r.toArray()
|
|
, t = this.s.toArray();
|
|
for (f[0] & 128 && (f = [0].concat(f)),
|
|
t[0] & 128 && (t = [0].concat(t)),
|
|
f = sf(f),
|
|
t = sf(t); !t[0] && !(t[1] & 128); )
|
|
t = t.slice(1);
|
|
var c = [2];
|
|
wr(c, f.length),
|
|
c = c.concat(f),
|
|
c.push(2),
|
|
wr(c, t.length);
|
|
var a = c.concat(t)
|
|
, m = [48];
|
|
return wr(m, a.length),
|
|
m = m.concat(a),
|
|
Er.encode(m, e)
|
|
}
|
|
;
|
|
var U0 = ae
|
|
, of = Ti
|
|
, Vi = O0
|
|
, Dr = je
|
|
, ji = Pt
|
|
, Ae = Vi.assert
|
|
, Mr = Zi
|
|
, fr = Gi;
|
|
function K0(i) {
|
|
if (!(this instanceof K0))
|
|
return new K0(i);
|
|
typeof i == "string" && (Ae(Object.prototype.hasOwnProperty.call(Dr, i), "Unknown curve " + i),
|
|
i = Dr[i]),
|
|
i instanceof Dr.PresetCurve && (i = {
|
|
curve: i
|
|
}),
|
|
this.curve = i.curve.curve,
|
|
this.n = this.curve.n,
|
|
this.nh = this.n.ushrn(1),
|
|
this.g = this.curve.g,
|
|
this.g = i.curve.g,
|
|
this.g.precompute(i.curve.n.bitLength() + 1),
|
|
this.hash = i.hash || i.curve.hash
|
|
}
|
|
var Qi = K0;
|
|
K0.prototype.keyPair = function(e) {
|
|
return new Mr(this,e)
|
|
}
|
|
,
|
|
K0.prototype.keyFromPrivate = function(e, f) {
|
|
return Mr.fromPrivate(this, e, f)
|
|
}
|
|
,
|
|
K0.prototype.keyFromPublic = function(e, f) {
|
|
return Mr.fromPublic(this, e, f)
|
|
}
|
|
,
|
|
K0.prototype.genKeyPair = function(e) {
|
|
e || (e = {});
|
|
for (var f = new of({
|
|
hash: this.hash,
|
|
pers: e.pers,
|
|
persEnc: e.persEnc || "utf8",
|
|
entropy: e.entropy || ji(this.hash.hmacStrength),
|
|
entropyEnc: e.entropy && e.entropyEnc || "utf8",
|
|
nonce: this.n.toArray()
|
|
}), t = this.n.byteLength(), c = this.n.sub(new U0(2)); ; ) {
|
|
var a = new U0(f.generate(t));
|
|
if (!(a.cmp(c) > 0))
|
|
return a.iaddn(1),
|
|
this.keyFromPrivate(a)
|
|
}
|
|
}
|
|
,
|
|
K0.prototype._truncateToN = function(e, f, t) {
|
|
var c;
|
|
if (U0.isBN(e) || typeof e == "number")
|
|
e = new U0(e,16),
|
|
c = e.byteLength();
|
|
else if (typeof e == "object")
|
|
c = e.length,
|
|
e = new U0(e,16);
|
|
else {
|
|
var a = e.toString();
|
|
c = a.length + 1 >>> 1,
|
|
e = new U0(a,16)
|
|
}
|
|
typeof t != "number" && (t = c * 8);
|
|
var m = t - this.n.bitLength();
|
|
return m > 0 && (e = e.ushrn(m)),
|
|
!f && e.cmp(this.n) >= 0 ? e.sub(this.n) : e
|
|
}
|
|
,
|
|
K0.prototype.sign = function(e, f, t, c) {
|
|
if (typeof t == "object" && (c = t,
|
|
t = null),
|
|
c || (c = {}),
|
|
typeof e != "string" && typeof e != "number" && !U0.isBN(e)) {
|
|
Ae(typeof e == "object" && e && typeof e.length == "number", "Expected message to be an array-like, a hex string, or a BN instance"),
|
|
Ae(e.length >>> 0 === e.length);
|
|
for (var a = 0; a < e.length; a++)
|
|
Ae((e[a] & 255) === e[a])
|
|
}
|
|
f = this.keyFromPrivate(f, t),
|
|
e = this._truncateToN(e, !1, c.msgBitLength),
|
|
Ae(!e.isNeg(), "Can not sign a negative message");
|
|
var m = this.n.byteLength()
|
|
, h = f.getPrivate().toArray("be", m)
|
|
, p = e.toArray("be", m);
|
|
Ae(new U0(p).eq(e), "Can not sign message");
|
|
for (var s = new of({
|
|
hash: this.hash,
|
|
entropy: h,
|
|
nonce: p,
|
|
pers: c.pers,
|
|
persEnc: c.persEnc || "utf8"
|
|
}), o = this.n.sub(new U0(1)), g = 0; ; g++) {
|
|
var b = c.k ? c.k(g) : new U0(s.generate(this.n.byteLength()));
|
|
if (b = this._truncateToN(b, !0),
|
|
!(b.cmpn(1) <= 0 || b.cmp(o) >= 0)) {
|
|
var y = this.g.mul(b);
|
|
if (!y.isInfinity()) {
|
|
var A = y.getX()
|
|
, E = A.umod(this.n);
|
|
if (E.cmpn(0) !== 0) {
|
|
var F = b.invm(this.n).mul(E.mul(f.getPrivate()).iadd(e));
|
|
if (F = F.umod(this.n),
|
|
F.cmpn(0) !== 0) {
|
|
var S = (y.getY().isOdd() ? 1 : 0) | (A.cmp(E) !== 0 ? 2 : 0);
|
|
return c.canonical && F.cmp(this.nh) > 0 && (F = this.n.sub(F),
|
|
S ^= 1),
|
|
new fr({
|
|
r: E,
|
|
s: F,
|
|
recoveryParam: S
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
,
|
|
K0.prototype.verify = function(e, f, t, c, a) {
|
|
a || (a = {}),
|
|
e = this._truncateToN(e, !1, a.msgBitLength),
|
|
t = this.keyFromPublic(t, c),
|
|
f = new fr(f,"hex");
|
|
var m = f.r
|
|
, h = f.s;
|
|
if (m.cmpn(1) < 0 || m.cmp(this.n) >= 0 || h.cmpn(1) < 0 || h.cmp(this.n) >= 0)
|
|
return !1;
|
|
var p = h.invm(this.n), s = p.mul(e).umod(this.n), o = p.mul(m).umod(this.n), g;
|
|
return this.curve._maxwellTrick ? (g = this.g.jmulAdd(s, t.getPublic(), o),
|
|
g.isInfinity() ? !1 : g.eqXToP(m)) : (g = this.g.mulAdd(s, t.getPublic(), o),
|
|
g.isInfinity() ? !1 : g.getX().umod(this.n).cmp(m) === 0)
|
|
}
|
|
,
|
|
K0.prototype.recoverPubKey = function(i, e, f, t) {
|
|
Ae((3 & f) === f, "The recovery param is more than two bits"),
|
|
e = new fr(e,t);
|
|
var c = this.n
|
|
, a = new U0(i)
|
|
, m = e.r
|
|
, h = e.s
|
|
, p = f & 1
|
|
, s = f >> 1;
|
|
if (m.cmp(this.curve.p.umod(this.curve.n)) >= 0 && s)
|
|
throw new Error("Unable to find sencond key candinate");
|
|
s ? m = this.curve.pointFromX(m.add(this.curve.n), p) : m = this.curve.pointFromX(m, p);
|
|
var o = e.r.invm(c)
|
|
, g = c.sub(a).mul(o).umod(c)
|
|
, b = h.mul(o).umod(c);
|
|
return this.g.mulAdd(g, m, b)
|
|
}
|
|
,
|
|
K0.prototype.getKeyRecoveryParam = function(i, e, f, t) {
|
|
if (e = new fr(e,t),
|
|
e.recoveryParam !== null)
|
|
return e.recoveryParam;
|
|
for (var c = 0; c < 4; c++) {
|
|
var a;
|
|
try {
|
|
a = this.recoverPubKey(i, e, c)
|
|
} catch (m) {
|
|
continue
|
|
}
|
|
if (a.eq(f))
|
|
return c
|
|
}
|
|
throw new Error("Unable to find valid recovery factor")
|
|
}
|
|
;
|
|
var Oe = O0
|
|
, hf = Oe.assert
|
|
, xf = Oe.parseBytes
|
|
, qe = Oe.cachedProperty;
|
|
function I0(i, e) {
|
|
this.eddsa = i,
|
|
this._secret = xf(e.secret),
|
|
i.isPoint(e.pub) ? this._pub = e.pub : this._pubBytes = xf(e.pub)
|
|
}
|
|
I0.fromPublic = function(e, f) {
|
|
return f instanceof I0 ? f : new I0(e,{
|
|
pub: f
|
|
})
|
|
}
|
|
,
|
|
I0.fromSecret = function(e, f) {
|
|
return f instanceof I0 ? f : new I0(e,{
|
|
secret: f
|
|
})
|
|
}
|
|
,
|
|
I0.prototype.secret = function() {
|
|
return this._secret
|
|
}
|
|
,
|
|
qe(I0, "pubBytes", function() {
|
|
return this.eddsa.encodePoint(this.pub())
|
|
}),
|
|
qe(I0, "pub", function() {
|
|
return this._pubBytes ? this.eddsa.decodePoint(this._pubBytes) : this.eddsa.g.mul(this.priv())
|
|
}),
|
|
qe(I0, "privBytes", function() {
|
|
var e = this.eddsa
|
|
, f = this.hash()
|
|
, t = e.encodingLength - 1
|
|
, c = f.slice(0, e.encodingLength);
|
|
return c[0] &= 248,
|
|
c[t] &= 127,
|
|
c[t] |= 64,
|
|
c
|
|
}),
|
|
qe(I0, "priv", function() {
|
|
return this.eddsa.decodeInt(this.privBytes())
|
|
}),
|
|
qe(I0, "hash", function() {
|
|
return this.eddsa.hash().update(this.secret()).digest()
|
|
}),
|
|
qe(I0, "messagePrefix", function() {
|
|
return this.hash().slice(this.eddsa.encodingLength)
|
|
}),
|
|
I0.prototype.sign = function(e) {
|
|
return hf(this._secret, "KeyPair can only verify"),
|
|
this.eddsa.sign(e, this)
|
|
}
|
|
,
|
|
I0.prototype.verify = function(e, f) {
|
|
return this.eddsa.verify(e, f, this)
|
|
}
|
|
,
|
|
I0.prototype.getSecret = function(e) {
|
|
return hf(this._secret, "KeyPair is public only"),
|
|
Oe.encode(this.secret(), e)
|
|
}
|
|
,
|
|
I0.prototype.getPublic = function(e) {
|
|
return Oe.encode(this.pubBytes(), e)
|
|
}
|
|
;
|
|
var Ji = I0
|
|
, en = ae
|
|
, ar = O0
|
|
, uf = ar.assert
|
|
, ir = ar.cachedProperty
|
|
, rn = ar.parseBytes;
|
|
function Be(i, e) {
|
|
this.eddsa = i,
|
|
typeof e != "object" && (e = rn(e)),
|
|
Array.isArray(e) && (uf(e.length === i.encodingLength * 2, "Signature has invalid size"),
|
|
e = {
|
|
R: e.slice(0, i.encodingLength),
|
|
S: e.slice(i.encodingLength)
|
|
}),
|
|
uf(e.R && e.S, "Signature without R or S"),
|
|
i.isPoint(e.R) && (this._R = e.R),
|
|
e.S instanceof en && (this._S = e.S),
|
|
this._Rencoded = Array.isArray(e.R) ? e.R : e.Rencoded,
|
|
this._Sencoded = Array.isArray(e.S) ? e.S : e.Sencoded
|
|
}
|
|
ir(Be, "S", function() {
|
|
return this.eddsa.decodeInt(this.Sencoded())
|
|
}),
|
|
ir(Be, "R", function() {
|
|
return this.eddsa.decodePoint(this.Rencoded())
|
|
}),
|
|
ir(Be, "Rencoded", function() {
|
|
return this.eddsa.encodePoint(this.R())
|
|
}),
|
|
ir(Be, "Sencoded", function() {
|
|
return this.eddsa.encodeInt(this.S())
|
|
}),
|
|
Be.prototype.toBytes = function() {
|
|
return this.Rencoded().concat(this.Sencoded())
|
|
}
|
|
,
|
|
Be.prototype.toHex = function() {
|
|
return ar.encode(this.toBytes(), "hex").toUpperCase()
|
|
}
|
|
;
|
|
var tn = Be
|
|
, fn = Qe
|
|
, an = je
|
|
, Pe = O0
|
|
, nn = Pe.assert
|
|
, vf = Pe.parseBytes
|
|
, lf = Ji
|
|
, bf = tn;
|
|
function L0(i) {
|
|
if (nn(i === "ed25519", "only tested with ed25519 so far"),
|
|
!(this instanceof L0))
|
|
return new L0(i);
|
|
i = an[i].curve,
|
|
this.curve = i,
|
|
this.g = i.g,
|
|
this.g.precompute(i.n.bitLength() + 1),
|
|
this.pointClass = i.point().constructor,
|
|
this.encodingLength = Math.ceil(i.n.bitLength() / 8),
|
|
this.hash = fn.sha512
|
|
}
|
|
var dn = L0;
|
|
L0.prototype.sign = function(e, f) {
|
|
e = vf(e);
|
|
var t = this.keyFromSecret(f)
|
|
, c = this.hashInt(t.messagePrefix(), e)
|
|
, a = this.g.mul(c)
|
|
, m = this.encodePoint(a)
|
|
, h = this.hashInt(m, t.pubBytes(), e).mul(t.priv())
|
|
, p = c.add(h).umod(this.curve.n);
|
|
return this.makeSignature({
|
|
R: a,
|
|
S: p,
|
|
Rencoded: m
|
|
})
|
|
}
|
|
,
|
|
L0.prototype.verify = function(e, f, t) {
|
|
if (e = vf(e),
|
|
f = this.makeSignature(f),
|
|
f.S().gte(f.eddsa.curve.n) || f.S().isNeg())
|
|
return !1;
|
|
var c = this.keyFromPublic(t)
|
|
, a = this.hashInt(f.Rencoded(), c.pubBytes(), e)
|
|
, m = this.g.mul(f.S())
|
|
, h = f.R().add(c.pub().mul(a));
|
|
return h.eq(m)
|
|
}
|
|
,
|
|
L0.prototype.hashInt = function() {
|
|
for (var e = this.hash(), f = 0; f < arguments.length; f++)
|
|
e.update(arguments[f]);
|
|
return Pe.intFromLE(e.digest()).umod(this.curve.n)
|
|
}
|
|
,
|
|
L0.prototype.keyFromPublic = function(e) {
|
|
return lf.fromPublic(this, e)
|
|
}
|
|
,
|
|
L0.prototype.keyFromSecret = function(e) {
|
|
return lf.fromSecret(this, e)
|
|
}
|
|
,
|
|
L0.prototype.makeSignature = function(e) {
|
|
return e instanceof bf ? e : new bf(this,e)
|
|
}
|
|
,
|
|
L0.prototype.encodePoint = function(e) {
|
|
var f = e.getY().toArray("le", this.encodingLength);
|
|
return f[this.encodingLength - 1] |= e.getX().isOdd() ? 128 : 0,
|
|
f
|
|
}
|
|
,
|
|
L0.prototype.decodePoint = function(e) {
|
|
e = Pe.parseBytes(e);
|
|
var f = e.length - 1
|
|
, t = e.slice(0, f).concat(e[f] & -129)
|
|
, c = (e[f] & 128) !== 0
|
|
, a = Pe.intFromLE(t);
|
|
return this.curve.pointFromY(a, c)
|
|
}
|
|
,
|
|
L0.prototype.encodeInt = function(e) {
|
|
return e.toArray("le", this.encodingLength)
|
|
}
|
|
,
|
|
L0.prototype.decodeInt = function(e) {
|
|
return Pe.intFromLE(e)
|
|
}
|
|
,
|
|
L0.prototype.isPoint = function(e) {
|
|
return e instanceof this.pointClass
|
|
}
|
|
,
|
|
function(i) {
|
|
var e = i;
|
|
e.version = ia.version,
|
|
e.utils = O0,
|
|
e.rand = Pt,
|
|
e.curve = lr,
|
|
e.curves = je,
|
|
e.ec = Qi,
|
|
e.eddsa = dn
|
|
}(Rt);
|
|
var pf = {
|
|
exports: {}
|
|
};
|
|
function cn(i) {
|
|
throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')
|
|
}
|
|
var Sr = {
|
|
exports: {}
|
|
}, mf;
|
|
function U() {
|
|
return mf || (mf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t()
|
|
}
|
|
)(K, function() {
|
|
var f = f || function(t, c) {
|
|
var a;
|
|
if (typeof window != "undefined" && window.crypto && (a = window.crypto),
|
|
typeof self != "undefined" && self.crypto && (a = self.crypto),
|
|
typeof globalThis != "undefined" && globalThis.crypto && (a = globalThis.crypto),
|
|
!a && typeof window != "undefined" && window.msCrypto && (a = window.msCrypto),
|
|
!a && typeof K != "undefined" && K.crypto && (a = K.crypto),
|
|
!a && typeof cn == "function")
|
|
try {
|
|
a = hr
|
|
} catch (C) {}
|
|
var m = function() {
|
|
if (a) {
|
|
if (typeof a.getRandomValues == "function")
|
|
try {
|
|
return a.getRandomValues(new Uint32Array(1))[0]
|
|
} catch (C) {}
|
|
if (typeof a.randomBytes == "function")
|
|
try {
|
|
return a.randomBytes(4).readInt32LE()
|
|
} catch (C) {}
|
|
}
|
|
throw new Error("Native crypto module could not be used to get secure random number.")
|
|
}
|
|
, h = Object.create || function() {
|
|
function C() {}
|
|
return function(w) {
|
|
var D;
|
|
return C.prototype = w,
|
|
D = new C,
|
|
C.prototype = null,
|
|
D
|
|
}
|
|
}()
|
|
, p = {}
|
|
, s = p.lib = {}
|
|
, o = s.Base = function() {
|
|
return {
|
|
extend: function(C) {
|
|
var w = h(this);
|
|
return C && w.mixIn(C),
|
|
(!w.hasOwnProperty("init") || this.init === w.init) && (w.init = function() {
|
|
w.$super.init.apply(this, arguments)
|
|
}
|
|
),
|
|
w.init.prototype = w,
|
|
w.$super = this,
|
|
w
|
|
},
|
|
create: function() {
|
|
var C = this.extend();
|
|
return C.init.apply(C, arguments),
|
|
C
|
|
},
|
|
init: function() {},
|
|
mixIn: function(C) {
|
|
for (var w in C)
|
|
C.hasOwnProperty(w) && (this[w] = C[w]);
|
|
C.hasOwnProperty("toString") && (this.toString = C.toString)
|
|
},
|
|
clone: function() {
|
|
return this.init.prototype.extend(this)
|
|
}
|
|
}
|
|
}()
|
|
, g = s.WordArray = o.extend({
|
|
init: function(C, w) {
|
|
C = this.words = C || [],
|
|
w != c ? this.sigBytes = w : this.sigBytes = C.length * 4
|
|
},
|
|
toString: function(C) {
|
|
return (C || y).stringify(this)
|
|
},
|
|
concat: function(C) {
|
|
var w = this.words
|
|
, D = C.words
|
|
, k = this.sigBytes
|
|
, I = C.sigBytes;
|
|
if (this.clamp(),
|
|
k % 4)
|
|
for (var H = 0; H < I; H++) {
|
|
var N = D[H >>> 2] >>> 24 - H % 4 * 8 & 255;
|
|
w[k + H >>> 2] |= N << 24 - (k + H) % 4 * 8
|
|
}
|
|
else
|
|
for (var L = 0; L < I; L += 4)
|
|
w[k + L >>> 2] = D[L >>> 2];
|
|
return this.sigBytes += I,
|
|
this
|
|
},
|
|
clamp: function() {
|
|
var C = this.words
|
|
, w = this.sigBytes;
|
|
C[w >>> 2] &= 4294967295 << 32 - w % 4 * 8,
|
|
C.length = t.ceil(w / 4)
|
|
},
|
|
clone: function() {
|
|
var C = o.clone.call(this);
|
|
return C.words = this.words.slice(0),
|
|
C
|
|
},
|
|
random: function(C) {
|
|
for (var w = [], D = 0; D < C; D += 4)
|
|
w.push(m());
|
|
return new g.init(w,C)
|
|
}
|
|
})
|
|
, b = p.enc = {}
|
|
, y = b.Hex = {
|
|
stringify: function(C) {
|
|
for (var w = C.words, D = C.sigBytes, k = [], I = 0; I < D; I++) {
|
|
var H = w[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
k.push((H >>> 4).toString(16)),
|
|
k.push((H & 15).toString(16))
|
|
}
|
|
return k.join("")
|
|
},
|
|
parse: function(C) {
|
|
for (var w = C.length, D = [], k = 0; k < w; k += 2)
|
|
D[k >>> 3] |= parseInt(C.substr(k, 2), 16) << 24 - k % 8 * 4;
|
|
return new g.init(D,w / 2)
|
|
}
|
|
}
|
|
, A = b.Latin1 = {
|
|
stringify: function(C) {
|
|
for (var w = C.words, D = C.sigBytes, k = [], I = 0; I < D; I++) {
|
|
var H = w[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
k.push(String.fromCharCode(H))
|
|
}
|
|
return k.join("")
|
|
},
|
|
parse: function(C) {
|
|
for (var w = C.length, D = [], k = 0; k < w; k++)
|
|
D[k >>> 2] |= (C.charCodeAt(k) & 255) << 24 - k % 4 * 8;
|
|
return new g.init(D,w)
|
|
}
|
|
}
|
|
, E = b.Utf8 = {
|
|
stringify: function(C) {
|
|
try {
|
|
return decodeURIComponent(escape(A.stringify(C)))
|
|
} catch (w) {
|
|
throw new Error("Malformed UTF-8 data")
|
|
}
|
|
},
|
|
parse: function(C) {
|
|
return A.parse(unescape(encodeURIComponent(C)))
|
|
}
|
|
}
|
|
, F = s.BufferedBlockAlgorithm = o.extend({
|
|
reset: function() {
|
|
this._data = new g.init,
|
|
this._nDataBytes = 0
|
|
},
|
|
_append: function(C) {
|
|
typeof C == "string" && (C = E.parse(C)),
|
|
this._data.concat(C),
|
|
this._nDataBytes += C.sigBytes
|
|
},
|
|
_process: function(C) {
|
|
var w, D = this._data, k = D.words, I = D.sigBytes, H = this.blockSize, N = H * 4, L = I / N;
|
|
C ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
|
|
var R = L * H
|
|
, v = t.min(R * 4, I);
|
|
if (R) {
|
|
for (var r = 0; r < R; r += H)
|
|
this._doProcessBlock(k, r);
|
|
w = k.splice(0, R),
|
|
D.sigBytes -= v
|
|
}
|
|
return new g.init(w,v)
|
|
},
|
|
clone: function() {
|
|
var C = o.clone.call(this);
|
|
return C._data = this._data.clone(),
|
|
C
|
|
},
|
|
_minBufferSize: 0
|
|
});
|
|
s.Hasher = F.extend({
|
|
cfg: o.extend(),
|
|
init: function(C) {
|
|
this.cfg = this.cfg.extend(C),
|
|
this.reset()
|
|
},
|
|
reset: function() {
|
|
F.reset.call(this),
|
|
this._doReset()
|
|
},
|
|
update: function(C) {
|
|
return this._append(C),
|
|
this._process(),
|
|
this
|
|
},
|
|
finalize: function(C) {
|
|
C && this._append(C);
|
|
var w = this._doFinalize();
|
|
return w
|
|
},
|
|
blockSize: 16,
|
|
_createHelper: function(C) {
|
|
return function(w, D) {
|
|
return new C.init(D).finalize(w)
|
|
}
|
|
},
|
|
_createHmacHelper: function(C) {
|
|
return function(w, D) {
|
|
return new S.HMAC.init(C,D).finalize(w)
|
|
}
|
|
}
|
|
});
|
|
var S = p.algo = {};
|
|
return p
|
|
}(Math);
|
|
return f
|
|
})
|
|
}(Sr)),
|
|
Sr.exports
|
|
}
|
|
var zr = {
|
|
exports: {}
|
|
}, gf;
|
|
function nr() {
|
|
return gf || (gf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.Base
|
|
, h = a.WordArray
|
|
, p = c.x64 = {};
|
|
p.Word = m.extend({
|
|
init: function(s, o) {
|
|
this.high = s,
|
|
this.low = o
|
|
}
|
|
}),
|
|
p.WordArray = m.extend({
|
|
init: function(s, o) {
|
|
s = this.words = s || [],
|
|
o != t ? this.sigBytes = o : this.sigBytes = s.length * 8
|
|
},
|
|
toX32: function() {
|
|
for (var s = this.words, o = s.length, g = [], b = 0; b < o; b++) {
|
|
var y = s[b];
|
|
g.push(y.high),
|
|
g.push(y.low)
|
|
}
|
|
return h.create(g, this.sigBytes)
|
|
},
|
|
clone: function() {
|
|
for (var s = m.clone.call(this), o = s.words = this.words.slice(0), g = o.length, b = 0; b < g; b++)
|
|
o[b] = o[b].clone();
|
|
return s
|
|
}
|
|
})
|
|
}(),
|
|
f
|
|
})
|
|
}(zr)),
|
|
zr.exports
|
|
}
|
|
var Rr = {
|
|
exports: {}
|
|
}, yf;
|
|
function sn() {
|
|
return yf || (yf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
if (typeof ArrayBuffer == "function") {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = a.init
|
|
, h = a.init = function(p) {
|
|
if (p instanceof ArrayBuffer && (p = new Uint8Array(p)),
|
|
(p instanceof Int8Array || typeof Uint8ClampedArray != "undefined" && p instanceof Uint8ClampedArray || p instanceof Int16Array || p instanceof Uint16Array || p instanceof Int32Array || p instanceof Uint32Array || p instanceof Float32Array || p instanceof Float64Array) && (p = new Uint8Array(p.buffer,p.byteOffset,p.byteLength)),
|
|
p instanceof Uint8Array) {
|
|
for (var s = p.byteLength, o = [], g = 0; g < s; g++)
|
|
o[g >>> 2] |= p[g] << 24 - g % 4 * 8;
|
|
m.call(this, o, s)
|
|
} else
|
|
m.apply(this, arguments)
|
|
}
|
|
;
|
|
h.prototype = a
|
|
}
|
|
}(),
|
|
f.lib.WordArray
|
|
})
|
|
}(Rr)),
|
|
Rr.exports
|
|
}
|
|
var kr = {
|
|
exports: {}
|
|
}, Af;
|
|
function on() {
|
|
return Af || (Af = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = t.enc;
|
|
m.Utf16 = m.Utf16BE = {
|
|
stringify: function(p) {
|
|
for (var s = p.words, o = p.sigBytes, g = [], b = 0; b < o; b += 2) {
|
|
var y = s[b >>> 2] >>> 16 - b % 4 * 8 & 65535;
|
|
g.push(String.fromCharCode(y))
|
|
}
|
|
return g.join("")
|
|
},
|
|
parse: function(p) {
|
|
for (var s = p.length, o = [], g = 0; g < s; g++)
|
|
o[g >>> 1] |= p.charCodeAt(g) << 16 - g % 2 * 16;
|
|
return a.create(o, s * 2)
|
|
}
|
|
},
|
|
m.Utf16LE = {
|
|
stringify: function(p) {
|
|
for (var s = p.words, o = p.sigBytes, g = [], b = 0; b < o; b += 2) {
|
|
var y = h(s[b >>> 2] >>> 16 - b % 4 * 8 & 65535);
|
|
g.push(String.fromCharCode(y))
|
|
}
|
|
return g.join("")
|
|
},
|
|
parse: function(p) {
|
|
for (var s = p.length, o = [], g = 0; g < s; g++)
|
|
o[g >>> 1] |= h(p.charCodeAt(g) << 16 - g % 2 * 16);
|
|
return a.create(o, s * 2)
|
|
}
|
|
};
|
|
function h(p) {
|
|
return p << 8 & 4278255360 | p >>> 8 & 16711935
|
|
}
|
|
}(),
|
|
f.enc.Utf16
|
|
})
|
|
}(kr)),
|
|
kr.exports
|
|
}
|
|
var Ir = {
|
|
exports: {}
|
|
}, Bf;
|
|
function _e() {
|
|
return Bf || (Bf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = t.enc;
|
|
m.Base64 = {
|
|
stringify: function(p) {
|
|
var s = p.words
|
|
, o = p.sigBytes
|
|
, g = this._map;
|
|
p.clamp();
|
|
for (var b = [], y = 0; y < o; y += 3)
|
|
for (var A = s[y >>> 2] >>> 24 - y % 4 * 8 & 255, E = s[y + 1 >>> 2] >>> 24 - (y + 1) % 4 * 8 & 255, F = s[y + 2 >>> 2] >>> 24 - (y + 2) % 4 * 8 & 255, S = A << 16 | E << 8 | F, C = 0; C < 4 && y + C * .75 < o; C++)
|
|
b.push(g.charAt(S >>> 6 * (3 - C) & 63));
|
|
var w = g.charAt(64);
|
|
if (w)
|
|
for (; b.length % 4; )
|
|
b.push(w);
|
|
return b.join("")
|
|
},
|
|
parse: function(p) {
|
|
var s = p.length
|
|
, o = this._map
|
|
, g = this._reverseMap;
|
|
if (!g) {
|
|
g = this._reverseMap = [];
|
|
for (var b = 0; b < o.length; b++)
|
|
g[o.charCodeAt(b)] = b
|
|
}
|
|
var y = o.charAt(64);
|
|
if (y) {
|
|
var A = p.indexOf(y);
|
|
A !== -1 && (s = A)
|
|
}
|
|
return h(p, s, g)
|
|
},
|
|
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
|
};
|
|
function h(p, s, o) {
|
|
for (var g = [], b = 0, y = 0; y < s; y++)
|
|
if (y % 4) {
|
|
var A = o[p.charCodeAt(y - 1)] << y % 4 * 2
|
|
, E = o[p.charCodeAt(y)] >>> 6 - y % 4 * 2
|
|
, F = A | E;
|
|
g[b >>> 2] |= F << 24 - b % 4 * 8,
|
|
b++
|
|
}
|
|
return a.create(g, b)
|
|
}
|
|
}(),
|
|
f.enc.Base64
|
|
})
|
|
}(Ir)),
|
|
Ir.exports
|
|
}
|
|
var qr = {
|
|
exports: {}
|
|
}, _f;
|
|
function hn() {
|
|
return _f || (_f = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = t.enc;
|
|
m.Base64url = {
|
|
stringify: function(p, s) {
|
|
s === void 0 && (s = !0);
|
|
var o = p.words
|
|
, g = p.sigBytes
|
|
, b = s ? this._safe_map : this._map;
|
|
p.clamp();
|
|
for (var y = [], A = 0; A < g; A += 3)
|
|
for (var E = o[A >>> 2] >>> 24 - A % 4 * 8 & 255, F = o[A + 1 >>> 2] >>> 24 - (A + 1) % 4 * 8 & 255, S = o[A + 2 >>> 2] >>> 24 - (A + 2) % 4 * 8 & 255, C = E << 16 | F << 8 | S, w = 0; w < 4 && A + w * .75 < g; w++)
|
|
y.push(b.charAt(C >>> 6 * (3 - w) & 63));
|
|
var D = b.charAt(64);
|
|
if (D)
|
|
for (; y.length % 4; )
|
|
y.push(D);
|
|
return y.join("")
|
|
},
|
|
parse: function(p, s) {
|
|
s === void 0 && (s = !0);
|
|
var o = p.length
|
|
, g = s ? this._safe_map : this._map
|
|
, b = this._reverseMap;
|
|
if (!b) {
|
|
b = this._reverseMap = [];
|
|
for (var y = 0; y < g.length; y++)
|
|
b[g.charCodeAt(y)] = y
|
|
}
|
|
var A = g.charAt(64);
|
|
if (A) {
|
|
var E = p.indexOf(A);
|
|
E !== -1 && (o = E)
|
|
}
|
|
return h(p, o, b)
|
|
},
|
|
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
_safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
|
};
|
|
function h(p, s, o) {
|
|
for (var g = [], b = 0, y = 0; y < s; y++)
|
|
if (y % 4) {
|
|
var A = o[p.charCodeAt(y - 1)] << y % 4 * 2
|
|
, E = o[p.charCodeAt(y)] >>> 6 - y % 4 * 2
|
|
, F = A | E;
|
|
g[b >>> 2] |= F << 24 - b % 4 * 8,
|
|
b++
|
|
}
|
|
return a.create(g, b)
|
|
}
|
|
}(),
|
|
f.enc.Base64url
|
|
})
|
|
}(qr)),
|
|
qr.exports
|
|
}
|
|
var Pr = {
|
|
exports: {}
|
|
}, Cf;
|
|
function Ce() {
|
|
return Cf || (Cf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.WordArray
|
|
, h = a.Hasher
|
|
, p = c.algo
|
|
, s = [];
|
|
(function() {
|
|
for (var E = 0; E < 64; E++)
|
|
s[E] = t.abs(t.sin(E + 1)) * 4294967296 | 0
|
|
}
|
|
)();
|
|
var o = p.MD5 = h.extend({
|
|
_doReset: function() {
|
|
this._hash = new m.init([1732584193, 4023233417, 2562383102, 271733878])
|
|
},
|
|
_doProcessBlock: function(E, F) {
|
|
for (var S = 0; S < 16; S++) {
|
|
var C = F + S
|
|
, w = E[C];
|
|
E[C] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360
|
|
}
|
|
var D = this._hash.words
|
|
, k = E[F + 0]
|
|
, I = E[F + 1]
|
|
, H = E[F + 2]
|
|
, N = E[F + 3]
|
|
, L = E[F + 4]
|
|
, R = E[F + 5]
|
|
, v = E[F + 6]
|
|
, r = E[F + 7]
|
|
, n = E[F + 8]
|
|
, x = E[F + 9]
|
|
, l = E[F + 10]
|
|
, B = E[F + 11]
|
|
, M = E[F + 12]
|
|
, z = E[F + 13]
|
|
, _ = E[F + 14]
|
|
, d = E[F + 15]
|
|
, u = D[0]
|
|
, q = D[1]
|
|
, $ = D[2]
|
|
, P = D[3];
|
|
u = g(u, q, $, P, k, 7, s[0]),
|
|
P = g(P, u, q, $, I, 12, s[1]),
|
|
$ = g($, P, u, q, H, 17, s[2]),
|
|
q = g(q, $, P, u, N, 22, s[3]),
|
|
u = g(u, q, $, P, L, 7, s[4]),
|
|
P = g(P, u, q, $, R, 12, s[5]),
|
|
$ = g($, P, u, q, v, 17, s[6]),
|
|
q = g(q, $, P, u, r, 22, s[7]),
|
|
u = g(u, q, $, P, n, 7, s[8]),
|
|
P = g(P, u, q, $, x, 12, s[9]),
|
|
$ = g($, P, u, q, l, 17, s[10]),
|
|
q = g(q, $, P, u, B, 22, s[11]),
|
|
u = g(u, q, $, P, M, 7, s[12]),
|
|
P = g(P, u, q, $, z, 12, s[13]),
|
|
$ = g($, P, u, q, _, 17, s[14]),
|
|
q = g(q, $, P, u, d, 22, s[15]),
|
|
u = b(u, q, $, P, I, 5, s[16]),
|
|
P = b(P, u, q, $, v, 9, s[17]),
|
|
$ = b($, P, u, q, B, 14, s[18]),
|
|
q = b(q, $, P, u, k, 20, s[19]),
|
|
u = b(u, q, $, P, R, 5, s[20]),
|
|
P = b(P, u, q, $, l, 9, s[21]),
|
|
$ = b($, P, u, q, d, 14, s[22]),
|
|
q = b(q, $, P, u, L, 20, s[23]),
|
|
u = b(u, q, $, P, x, 5, s[24]),
|
|
P = b(P, u, q, $, _, 9, s[25]),
|
|
$ = b($, P, u, q, N, 14, s[26]),
|
|
q = b(q, $, P, u, n, 20, s[27]),
|
|
u = b(u, q, $, P, z, 5, s[28]),
|
|
P = b(P, u, q, $, H, 9, s[29]),
|
|
$ = b($, P, u, q, r, 14, s[30]),
|
|
q = b(q, $, P, u, M, 20, s[31]),
|
|
u = y(u, q, $, P, R, 4, s[32]),
|
|
P = y(P, u, q, $, n, 11, s[33]),
|
|
$ = y($, P, u, q, B, 16, s[34]),
|
|
q = y(q, $, P, u, _, 23, s[35]),
|
|
u = y(u, q, $, P, I, 4, s[36]),
|
|
P = y(P, u, q, $, L, 11, s[37]),
|
|
$ = y($, P, u, q, r, 16, s[38]),
|
|
q = y(q, $, P, u, l, 23, s[39]),
|
|
u = y(u, q, $, P, z, 4, s[40]),
|
|
P = y(P, u, q, $, k, 11, s[41]),
|
|
$ = y($, P, u, q, N, 16, s[42]),
|
|
q = y(q, $, P, u, v, 23, s[43]),
|
|
u = y(u, q, $, P, x, 4, s[44]),
|
|
P = y(P, u, q, $, M, 11, s[45]),
|
|
$ = y($, P, u, q, d, 16, s[46]),
|
|
q = y(q, $, P, u, H, 23, s[47]),
|
|
u = A(u, q, $, P, k, 6, s[48]),
|
|
P = A(P, u, q, $, r, 10, s[49]),
|
|
$ = A($, P, u, q, _, 15, s[50]),
|
|
q = A(q, $, P, u, R, 21, s[51]),
|
|
u = A(u, q, $, P, M, 6, s[52]),
|
|
P = A(P, u, q, $, N, 10, s[53]),
|
|
$ = A($, P, u, q, l, 15, s[54]),
|
|
q = A(q, $, P, u, I, 21, s[55]),
|
|
u = A(u, q, $, P, n, 6, s[56]),
|
|
P = A(P, u, q, $, d, 10, s[57]),
|
|
$ = A($, P, u, q, v, 15, s[58]),
|
|
q = A(q, $, P, u, z, 21, s[59]),
|
|
u = A(u, q, $, P, L, 6, s[60]),
|
|
P = A(P, u, q, $, B, 10, s[61]),
|
|
$ = A($, P, u, q, H, 15, s[62]),
|
|
q = A(q, $, P, u, x, 21, s[63]),
|
|
D[0] = D[0] + u | 0,
|
|
D[1] = D[1] + q | 0,
|
|
D[2] = D[2] + $ | 0,
|
|
D[3] = D[3] + P | 0
|
|
},
|
|
_doFinalize: function() {
|
|
var E = this._data
|
|
, F = E.words
|
|
, S = this._nDataBytes * 8
|
|
, C = E.sigBytes * 8;
|
|
F[C >>> 5] |= 128 << 24 - C % 32;
|
|
var w = t.floor(S / 4294967296)
|
|
, D = S;
|
|
F[(C + 64 >>> 9 << 4) + 15] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360,
|
|
F[(C + 64 >>> 9 << 4) + 14] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360,
|
|
E.sigBytes = (F.length + 1) * 4,
|
|
this._process();
|
|
for (var k = this._hash, I = k.words, H = 0; H < 4; H++) {
|
|
var N = I[H];
|
|
I[H] = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360
|
|
}
|
|
return k
|
|
},
|
|
clone: function() {
|
|
var E = h.clone.call(this);
|
|
return E._hash = this._hash.clone(),
|
|
E
|
|
}
|
|
});
|
|
function g(E, F, S, C, w, D, k) {
|
|
var I = E + (F & S | ~F & C) + w + k;
|
|
return (I << D | I >>> 32 - D) + F
|
|
}
|
|
function b(E, F, S, C, w, D, k) {
|
|
var I = E + (F & C | S & ~C) + w + k;
|
|
return (I << D | I >>> 32 - D) + F
|
|
}
|
|
function y(E, F, S, C, w, D, k) {
|
|
var I = E + (F ^ S ^ C) + w + k;
|
|
return (I << D | I >>> 32 - D) + F
|
|
}
|
|
function A(E, F, S, C, w, D, k) {
|
|
var I = E + (S ^ (F | ~C)) + w + k;
|
|
return (I << D | I >>> 32 - D) + F
|
|
}
|
|
c.MD5 = h._createHelper(o),
|
|
c.HmacMD5 = h._createHmacHelper(o)
|
|
}(Math),
|
|
f.MD5
|
|
})
|
|
}(Pr)),
|
|
Pr.exports
|
|
}
|
|
var Hr = {
|
|
exports: {}
|
|
}, Ef;
|
|
function Ff() {
|
|
return Ef || (Ef = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = c.Hasher
|
|
, h = t.algo
|
|
, p = []
|
|
, s = h.SHA1 = m.extend({
|
|
_doReset: function() {
|
|
this._hash = new a.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
|
|
},
|
|
_doProcessBlock: function(o, g) {
|
|
for (var b = this._hash.words, y = b[0], A = b[1], E = b[2], F = b[3], S = b[4], C = 0; C < 80; C++) {
|
|
if (C < 16)
|
|
p[C] = o[g + C] | 0;
|
|
else {
|
|
var w = p[C - 3] ^ p[C - 8] ^ p[C - 14] ^ p[C - 16];
|
|
p[C] = w << 1 | w >>> 31
|
|
}
|
|
var D = (y << 5 | y >>> 27) + S + p[C];
|
|
C < 20 ? D += (A & E | ~A & F) + 1518500249 : C < 40 ? D += (A ^ E ^ F) + 1859775393 : C < 60 ? D += (A & E | A & F | E & F) - 1894007588 : D += (A ^ E ^ F) - 899497514,
|
|
S = F,
|
|
F = E,
|
|
E = A << 30 | A >>> 2,
|
|
A = y,
|
|
y = D
|
|
}
|
|
b[0] = b[0] + y | 0,
|
|
b[1] = b[1] + A | 0,
|
|
b[2] = b[2] + E | 0,
|
|
b[3] = b[3] + F | 0,
|
|
b[4] = b[4] + S | 0
|
|
},
|
|
_doFinalize: function() {
|
|
var o = this._data
|
|
, g = o.words
|
|
, b = this._nDataBytes * 8
|
|
, y = o.sigBytes * 8;
|
|
return g[y >>> 5] |= 128 << 24 - y % 32,
|
|
g[(y + 64 >>> 9 << 4) + 14] = Math.floor(b / 4294967296),
|
|
g[(y + 64 >>> 9 << 4) + 15] = b,
|
|
o.sigBytes = g.length * 4,
|
|
this._process(),
|
|
this._hash
|
|
},
|
|
clone: function() {
|
|
var o = m.clone.call(this);
|
|
return o._hash = this._hash.clone(),
|
|
o
|
|
}
|
|
});
|
|
t.SHA1 = m._createHelper(s),
|
|
t.HmacSHA1 = m._createHmacHelper(s)
|
|
}(),
|
|
f.SHA1
|
|
})
|
|
}(Hr)),
|
|
Hr.exports
|
|
}
|
|
var $r = {
|
|
exports: {}
|
|
}, wf;
|
|
function Nr() {
|
|
return wf || (wf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.WordArray
|
|
, h = a.Hasher
|
|
, p = c.algo
|
|
, s = []
|
|
, o = [];
|
|
(function() {
|
|
function y(S) {
|
|
for (var C = t.sqrt(S), w = 2; w <= C; w++)
|
|
if (!(S % w))
|
|
return !1;
|
|
return !0
|
|
}
|
|
function A(S) {
|
|
return (S - (S | 0)) * 4294967296 | 0
|
|
}
|
|
for (var E = 2, F = 0; F < 64; )
|
|
y(E) && (F < 8 && (s[F] = A(t.pow(E, 1 / 2))),
|
|
o[F] = A(t.pow(E, 1 / 3)),
|
|
F++),
|
|
E++
|
|
}
|
|
)();
|
|
var g = []
|
|
, b = p.SHA256 = h.extend({
|
|
_doReset: function() {
|
|
this._hash = new m.init(s.slice(0))
|
|
},
|
|
_doProcessBlock: function(y, A) {
|
|
for (var E = this._hash.words, F = E[0], S = E[1], C = E[2], w = E[3], D = E[4], k = E[5], I = E[6], H = E[7], N = 0; N < 64; N++) {
|
|
if (N < 16)
|
|
g[N] = y[A + N] | 0;
|
|
else {
|
|
var L = g[N - 15]
|
|
, R = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3
|
|
, v = g[N - 2]
|
|
, r = (v << 15 | v >>> 17) ^ (v << 13 | v >>> 19) ^ v >>> 10;
|
|
g[N] = R + g[N - 7] + r + g[N - 16]
|
|
}
|
|
var n = D & k ^ ~D & I
|
|
, x = F & S ^ F & C ^ S & C
|
|
, l = (F << 30 | F >>> 2) ^ (F << 19 | F >>> 13) ^ (F << 10 | F >>> 22)
|
|
, B = (D << 26 | D >>> 6) ^ (D << 21 | D >>> 11) ^ (D << 7 | D >>> 25)
|
|
, M = H + B + n + o[N] + g[N]
|
|
, z = l + x;
|
|
H = I,
|
|
I = k,
|
|
k = D,
|
|
D = w + M | 0,
|
|
w = C,
|
|
C = S,
|
|
S = F,
|
|
F = M + z | 0
|
|
}
|
|
E[0] = E[0] + F | 0,
|
|
E[1] = E[1] + S | 0,
|
|
E[2] = E[2] + C | 0,
|
|
E[3] = E[3] + w | 0,
|
|
E[4] = E[4] + D | 0,
|
|
E[5] = E[5] + k | 0,
|
|
E[6] = E[6] + I | 0,
|
|
E[7] = E[7] + H | 0
|
|
},
|
|
_doFinalize: function() {
|
|
var y = this._data
|
|
, A = y.words
|
|
, E = this._nDataBytes * 8
|
|
, F = y.sigBytes * 8;
|
|
return A[F >>> 5] |= 128 << 24 - F % 32,
|
|
A[(F + 64 >>> 9 << 4) + 14] = t.floor(E / 4294967296),
|
|
A[(F + 64 >>> 9 << 4) + 15] = E,
|
|
y.sigBytes = A.length * 4,
|
|
this._process(),
|
|
this._hash
|
|
},
|
|
clone: function() {
|
|
var y = h.clone.call(this);
|
|
return y._hash = this._hash.clone(),
|
|
y
|
|
}
|
|
});
|
|
c.SHA256 = h._createHelper(b),
|
|
c.HmacSHA256 = h._createHmacHelper(b)
|
|
}(Math),
|
|
f.SHA256
|
|
})
|
|
}($r)),
|
|
$r.exports
|
|
}
|
|
var Lr = {
|
|
exports: {}
|
|
}, Df;
|
|
function xn() {
|
|
return Df || (Df = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), Nr())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = t.algo
|
|
, h = m.SHA256
|
|
, p = m.SHA224 = h.extend({
|
|
_doReset: function() {
|
|
this._hash = new a.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428])
|
|
},
|
|
_doFinalize: function() {
|
|
var s = h._doFinalize.call(this);
|
|
return s.sigBytes -= 4,
|
|
s
|
|
}
|
|
});
|
|
t.SHA224 = h._createHelper(p),
|
|
t.HmacSHA224 = h._createHmacHelper(p)
|
|
}(),
|
|
f.SHA224
|
|
})
|
|
}(Lr)),
|
|
Lr.exports
|
|
}
|
|
var Or = {
|
|
exports: {}
|
|
}, Mf;
|
|
function Sf() {
|
|
return Mf || (Mf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), nr())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.Hasher
|
|
, m = t.x64
|
|
, h = m.Word
|
|
, p = m.WordArray
|
|
, s = t.algo;
|
|
function o() {
|
|
return h.create.apply(h, arguments)
|
|
}
|
|
var g = [o(1116352408, 3609767458), o(1899447441, 602891725), o(3049323471, 3964484399), o(3921009573, 2173295548), o(961987163, 4081628472), o(1508970993, 3053834265), o(2453635748, 2937671579), o(2870763221, 3664609560), o(3624381080, 2734883394), o(310598401, 1164996542), o(607225278, 1323610764), o(1426881987, 3590304994), o(1925078388, 4068182383), o(2162078206, 991336113), o(2614888103, 633803317), o(3248222580, 3479774868), o(3835390401, 2666613458), o(4022224774, 944711139), o(264347078, 2341262773), o(604807628, 2007800933), o(770255983, 1495990901), o(1249150122, 1856431235), o(1555081692, 3175218132), o(1996064986, 2198950837), o(2554220882, 3999719339), o(2821834349, 766784016), o(2952996808, 2566594879), o(3210313671, 3203337956), o(3336571891, 1034457026), o(3584528711, 2466948901), o(113926993, 3758326383), o(338241895, 168717936), o(666307205, 1188179964), o(773529912, 1546045734), o(1294757372, 1522805485), o(1396182291, 2643833823), o(1695183700, 2343527390), o(1986661051, 1014477480), o(2177026350, 1206759142), o(2456956037, 344077627), o(2730485921, 1290863460), o(2820302411, 3158454273), o(3259730800, 3505952657), o(3345764771, 106217008), o(3516065817, 3606008344), o(3600352804, 1432725776), o(4094571909, 1467031594), o(275423344, 851169720), o(430227734, 3100823752), o(506948616, 1363258195), o(659060556, 3750685593), o(883997877, 3785050280), o(958139571, 3318307427), o(1322822218, 3812723403), o(1537002063, 2003034995), o(1747873779, 3602036899), o(1955562222, 1575990012), o(2024104815, 1125592928), o(2227730452, 2716904306), o(2361852424, 442776044), o(2428436474, 593698344), o(2756734187, 3733110249), o(3204031479, 2999351573), o(3329325298, 3815920427), o(3391569614, 3928383900), o(3515267271, 566280711), o(3940187606, 3454069534), o(4118630271, 4000239992), o(116418474, 1914138554), o(174292421, 2731055270), o(289380356, 3203993006), o(460393269, 320620315), o(685471733, 587496836), o(852142971, 1086792851), o(1017036298, 365543100), o(1126000580, 2618297676), o(1288033470, 3409855158), o(1501505948, 4234509866), o(1607167915, 987167468), o(1816402316, 1246189591)]
|
|
, b = [];
|
|
(function() {
|
|
for (var A = 0; A < 80; A++)
|
|
b[A] = o()
|
|
}
|
|
)();
|
|
var y = s.SHA512 = a.extend({
|
|
_doReset: function() {
|
|
this._hash = new p.init([new h.init(1779033703,4089235720), new h.init(3144134277,2227873595), new h.init(1013904242,4271175723), new h.init(2773480762,1595750129), new h.init(1359893119,2917565137), new h.init(2600822924,725511199), new h.init(528734635,4215389547), new h.init(1541459225,327033209)])
|
|
},
|
|
_doProcessBlock: function(A, E) {
|
|
for (var F = this._hash.words, S = F[0], C = F[1], w = F[2], D = F[3], k = F[4], I = F[5], H = F[6], N = F[7], L = S.high, R = S.low, v = C.high, r = C.low, n = w.high, x = w.low, l = D.high, B = D.low, M = k.high, z = k.low, _ = I.high, d = I.low, u = H.high, q = H.low, $ = N.high, P = N.low, O = L, W = R, X = v, T = r, V = n, J = x, He = l, t0 = B, j = M, $0 = z, n0 = _, f0 = d, Ee = u, a0 = q, c0 = $, ve = P, Q = 0; Q < 80; Q++) {
|
|
var Y, G0, d0 = b[Q];
|
|
if (Q < 16)
|
|
G0 = d0.high = A[E + Q * 2] | 0,
|
|
Y = d0.low = A[E + Q * 2 + 1] | 0;
|
|
else {
|
|
var s0 = b[Q - 15]
|
|
, ce = s0.high
|
|
, i0 = s0.low
|
|
, g0 = (ce >>> 1 | i0 << 31) ^ (ce >>> 8 | i0 << 24) ^ ce >>> 7
|
|
, We = (i0 >>> 1 | ce << 31) ^ (i0 >>> 8 | ce << 24) ^ (i0 >>> 7 | ce << 25)
|
|
, o0 = b[Q - 2]
|
|
, e0 = o0.high
|
|
, le = o0.low
|
|
, y0 = (e0 >>> 19 | le << 13) ^ (e0 << 3 | le >>> 29) ^ e0 >>> 6
|
|
, h0 = (le >>> 19 | e0 << 13) ^ (le << 3 | e0 >>> 29) ^ (le >>> 6 | e0 << 26)
|
|
, Te = b[Q - 7]
|
|
, A0 = Te.high
|
|
, B0 = Te.low
|
|
, Ke = b[Q - 16]
|
|
, _0 = Ke.high
|
|
, x0 = Ke.low;
|
|
Y = We + B0,
|
|
G0 = g0 + A0 + (Y >>> 0 < We >>> 0 ? 1 : 0),
|
|
Y = Y + h0,
|
|
G0 = G0 + y0 + (Y >>> 0 < h0 >>> 0 ? 1 : 0),
|
|
Y = Y + x0,
|
|
G0 = G0 + _0 + (Y >>> 0 < x0 >>> 0 ? 1 : 0),
|
|
d0.high = G0,
|
|
d0.low = Y
|
|
}
|
|
var dr = j & n0 ^ ~j & Ee
|
|
, u0 = $0 & f0 ^ ~$0 & a0
|
|
, C0 = O & X ^ O & V ^ X & V
|
|
, cr = W & T ^ W & J ^ T & J
|
|
, E0 = (O >>> 28 | W << 4) ^ (O << 30 | W >>> 2) ^ (O << 25 | W >>> 7)
|
|
, v0 = (W >>> 28 | O << 4) ^ (W << 30 | O >>> 2) ^ (W << 25 | O >>> 7)
|
|
, sr = (j >>> 14 | $0 << 18) ^ (j >>> 18 | $0 << 14) ^ (j << 23 | $0 >>> 9)
|
|
, F0 = ($0 >>> 14 | j << 18) ^ ($0 >>> 18 | j << 14) ^ ($0 << 23 | j >>> 9)
|
|
, l0 = g[Q]
|
|
, or = l0.high
|
|
, b0 = l0.low
|
|
, G = ve + F0
|
|
, Y0 = c0 + sr + (G >>> 0 < ve >>> 0 ? 1 : 0)
|
|
, G = G + u0
|
|
, Y0 = Y0 + dr + (G >>> 0 < u0 >>> 0 ? 1 : 0)
|
|
, G = G + b0
|
|
, Y0 = Y0 + or + (G >>> 0 < b0 >>> 0 ? 1 : 0)
|
|
, G = G + Y
|
|
, Y0 = Y0 + G0 + (G >>> 0 < Y >>> 0 ? 1 : 0)
|
|
, p0 = v0 + cr
|
|
, w0 = E0 + C0 + (p0 >>> 0 < v0 >>> 0 ? 1 : 0);
|
|
c0 = Ee,
|
|
ve = a0,
|
|
Ee = n0,
|
|
a0 = f0,
|
|
n0 = j,
|
|
f0 = $0,
|
|
$0 = t0 + G | 0,
|
|
j = He + Y0 + ($0 >>> 0 < t0 >>> 0 ? 1 : 0) | 0,
|
|
He = V,
|
|
t0 = J,
|
|
V = X,
|
|
J = T,
|
|
X = O,
|
|
T = W,
|
|
W = G + p0 | 0,
|
|
O = Y0 + w0 + (W >>> 0 < G >>> 0 ? 1 : 0) | 0
|
|
}
|
|
R = S.low = R + W,
|
|
S.high = L + O + (R >>> 0 < W >>> 0 ? 1 : 0),
|
|
r = C.low = r + T,
|
|
C.high = v + X + (r >>> 0 < T >>> 0 ? 1 : 0),
|
|
x = w.low = x + J,
|
|
w.high = n + V + (x >>> 0 < J >>> 0 ? 1 : 0),
|
|
B = D.low = B + t0,
|
|
D.high = l + He + (B >>> 0 < t0 >>> 0 ? 1 : 0),
|
|
z = k.low = z + $0,
|
|
k.high = M + j + (z >>> 0 < $0 >>> 0 ? 1 : 0),
|
|
d = I.low = d + f0,
|
|
I.high = _ + n0 + (d >>> 0 < f0 >>> 0 ? 1 : 0),
|
|
q = H.low = q + a0,
|
|
H.high = u + Ee + (q >>> 0 < a0 >>> 0 ? 1 : 0),
|
|
P = N.low = P + ve,
|
|
N.high = $ + c0 + (P >>> 0 < ve >>> 0 ? 1 : 0)
|
|
},
|
|
_doFinalize: function() {
|
|
var A = this._data
|
|
, E = A.words
|
|
, F = this._nDataBytes * 8
|
|
, S = A.sigBytes * 8;
|
|
E[S >>> 5] |= 128 << 24 - S % 32,
|
|
E[(S + 128 >>> 10 << 5) + 30] = Math.floor(F / 4294967296),
|
|
E[(S + 128 >>> 10 << 5) + 31] = F,
|
|
A.sigBytes = E.length * 4,
|
|
this._process();
|
|
var C = this._hash.toX32();
|
|
return C
|
|
},
|
|
clone: function() {
|
|
var A = a.clone.call(this);
|
|
return A._hash = this._hash.clone(),
|
|
A
|
|
},
|
|
blockSize: 1024 / 32
|
|
});
|
|
t.SHA512 = a._createHelper(y),
|
|
t.HmacSHA512 = a._createHmacHelper(y)
|
|
}(),
|
|
f.SHA512
|
|
})
|
|
}(Or)),
|
|
Or.exports
|
|
}
|
|
var Wr = {
|
|
exports: {}
|
|
}, zf;
|
|
function un() {
|
|
return zf || (zf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), nr(), Sf())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.x64
|
|
, a = c.Word
|
|
, m = c.WordArray
|
|
, h = t.algo
|
|
, p = h.SHA512
|
|
, s = h.SHA384 = p.extend({
|
|
_doReset: function() {
|
|
this._hash = new m.init([new a.init(3418070365,3238371032), new a.init(1654270250,914150663), new a.init(2438529370,812702999), new a.init(355462360,4144912697), new a.init(1731405415,4290775857), new a.init(2394180231,1750603025), new a.init(3675008525,1694076839), new a.init(1203062813,3204075428)])
|
|
},
|
|
_doFinalize: function() {
|
|
var o = p._doFinalize.call(this);
|
|
return o.sigBytes -= 16,
|
|
o
|
|
}
|
|
});
|
|
t.SHA384 = p._createHelper(s),
|
|
t.HmacSHA384 = p._createHmacHelper(s)
|
|
}(),
|
|
f.SHA384
|
|
})
|
|
}(Wr)),
|
|
Wr.exports
|
|
}
|
|
var Tr = {
|
|
exports: {}
|
|
}, Rf;
|
|
function vn() {
|
|
return Rf || (Rf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), nr())
|
|
}
|
|
)(K, function(f) {
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.WordArray
|
|
, h = a.Hasher
|
|
, p = c.x64
|
|
, s = p.Word
|
|
, o = c.algo
|
|
, g = []
|
|
, b = []
|
|
, y = [];
|
|
(function() {
|
|
for (var F = 1, S = 0, C = 0; C < 24; C++) {
|
|
g[F + 5 * S] = (C + 1) * (C + 2) / 2 % 64;
|
|
var w = S % 5
|
|
, D = (2 * F + 3 * S) % 5;
|
|
F = w,
|
|
S = D
|
|
}
|
|
for (var F = 0; F < 5; F++)
|
|
for (var S = 0; S < 5; S++)
|
|
b[F + 5 * S] = S + (2 * F + 3 * S) % 5 * 5;
|
|
for (var k = 1, I = 0; I < 24; I++) {
|
|
for (var H = 0, N = 0, L = 0; L < 7; L++) {
|
|
if (k & 1) {
|
|
var R = (1 << L) - 1;
|
|
R < 32 ? N ^= 1 << R : H ^= 1 << R - 32
|
|
}
|
|
k & 128 ? k = k << 1 ^ 113 : k <<= 1
|
|
}
|
|
y[I] = s.create(H, N)
|
|
}
|
|
}
|
|
)();
|
|
var A = [];
|
|
(function() {
|
|
for (var F = 0; F < 25; F++)
|
|
A[F] = s.create()
|
|
}
|
|
)();
|
|
var E = o.SHA3 = h.extend({
|
|
cfg: h.cfg.extend({
|
|
outputLength: 512
|
|
}),
|
|
_doReset: function() {
|
|
for (var F = this._state = [], S = 0; S < 25; S++)
|
|
F[S] = new s.init;
|
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32
|
|
},
|
|
_doProcessBlock: function(F, S) {
|
|
for (var C = this._state, w = this.blockSize / 2, D = 0; D < w; D++) {
|
|
var k = F[S + 2 * D]
|
|
, I = F[S + 2 * D + 1];
|
|
k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360,
|
|
I = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
|
|
var H = C[D];
|
|
H.high ^= I,
|
|
H.low ^= k
|
|
}
|
|
for (var N = 0; N < 24; N++) {
|
|
for (var L = 0; L < 5; L++) {
|
|
for (var R = 0, v = 0, r = 0; r < 5; r++) {
|
|
var H = C[L + 5 * r];
|
|
R ^= H.high,
|
|
v ^= H.low
|
|
}
|
|
var n = A[L];
|
|
n.high = R,
|
|
n.low = v
|
|
}
|
|
for (var L = 0; L < 5; L++)
|
|
for (var x = A[(L + 4) % 5], l = A[(L + 1) % 5], B = l.high, M = l.low, R = x.high ^ (B << 1 | M >>> 31), v = x.low ^ (M << 1 | B >>> 31), r = 0; r < 5; r++) {
|
|
var H = C[L + 5 * r];
|
|
H.high ^= R,
|
|
H.low ^= v
|
|
}
|
|
for (var z = 1; z < 25; z++) {
|
|
var R, v, H = C[z], _ = H.high, d = H.low, u = g[z];
|
|
u < 32 ? (R = _ << u | d >>> 32 - u,
|
|
v = d << u | _ >>> 32 - u) : (R = d << u - 32 | _ >>> 64 - u,
|
|
v = _ << u - 32 | d >>> 64 - u);
|
|
var q = A[b[z]];
|
|
q.high = R,
|
|
q.low = v
|
|
}
|
|
var $ = A[0]
|
|
, P = C[0];
|
|
$.high = P.high,
|
|
$.low = P.low;
|
|
for (var L = 0; L < 5; L++)
|
|
for (var r = 0; r < 5; r++) {
|
|
var z = L + 5 * r
|
|
, H = C[z]
|
|
, O = A[z]
|
|
, W = A[(L + 1) % 5 + 5 * r]
|
|
, X = A[(L + 2) % 5 + 5 * r];
|
|
H.high = O.high ^ ~W.high & X.high,
|
|
H.low = O.low ^ ~W.low & X.low
|
|
}
|
|
var H = C[0]
|
|
, T = y[N];
|
|
H.high ^= T.high,
|
|
H.low ^= T.low
|
|
}
|
|
},
|
|
_doFinalize: function() {
|
|
var F = this._data
|
|
, S = F.words
|
|
, C = F.sigBytes * 8
|
|
, w = this.blockSize * 32;
|
|
S[C >>> 5] |= 1 << 24 - C % 32,
|
|
S[(t.ceil((C + 1) / w) * w >>> 5) - 1] |= 128,
|
|
F.sigBytes = S.length * 4,
|
|
this._process();
|
|
for (var D = this._state, k = this.cfg.outputLength / 8, I = k / 8, H = [], N = 0; N < I; N++) {
|
|
var L = D[N]
|
|
, R = L.high
|
|
, v = L.low;
|
|
R = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360,
|
|
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360,
|
|
H.push(v),
|
|
H.push(R)
|
|
}
|
|
return new m.init(H,k)
|
|
},
|
|
clone: function() {
|
|
for (var F = h.clone.call(this), S = F._state = this._state.slice(0), C = 0; C < 25; C++)
|
|
S[C] = S[C].clone();
|
|
return F
|
|
}
|
|
});
|
|
c.SHA3 = h._createHelper(E),
|
|
c.HmacSHA3 = h._createHmacHelper(E)
|
|
}(Math),
|
|
f.SHA3
|
|
})
|
|
}(Tr)),
|
|
Tr.exports
|
|
}
|
|
var Kr = {
|
|
exports: {}
|
|
}, kf;
|
|
function ln() {
|
|
return kf || (kf = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
/** @preserve
|
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
|
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.WordArray
|
|
, h = a.Hasher
|
|
, p = c.algo
|
|
, s = m.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13])
|
|
, o = m.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11])
|
|
, g = m.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6])
|
|
, b = m.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11])
|
|
, y = m.create([0, 1518500249, 1859775393, 2400959708, 2840853838])
|
|
, A = m.create([1352829926, 1548603684, 1836072691, 2053994217, 0])
|
|
, E = p.RIPEMD160 = h.extend({
|
|
_doReset: function() {
|
|
this._hash = m.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
|
|
},
|
|
_doProcessBlock: function(I, H) {
|
|
for (var N = 0; N < 16; N++) {
|
|
var L = H + N
|
|
, R = I[L];
|
|
I[L] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360
|
|
}
|
|
var v = this._hash.words, r = y.words, n = A.words, x = s.words, l = o.words, B = g.words, M = b.words, z, _, d, u, q, $, P, O, W, X;
|
|
$ = z = v[0],
|
|
P = _ = v[1],
|
|
O = d = v[2],
|
|
W = u = v[3],
|
|
X = q = v[4];
|
|
for (var T, N = 0; N < 80; N += 1)
|
|
T = z + I[H + x[N]] | 0,
|
|
N < 16 ? T += F(_, d, u) + r[0] : N < 32 ? T += S(_, d, u) + r[1] : N < 48 ? T += C(_, d, u) + r[2] : N < 64 ? T += w(_, d, u) + r[3] : T += D(_, d, u) + r[4],
|
|
T = T | 0,
|
|
T = k(T, B[N]),
|
|
T = T + q | 0,
|
|
z = q,
|
|
q = u,
|
|
u = k(d, 10),
|
|
d = _,
|
|
_ = T,
|
|
T = $ + I[H + l[N]] | 0,
|
|
N < 16 ? T += D(P, O, W) + n[0] : N < 32 ? T += w(P, O, W) + n[1] : N < 48 ? T += C(P, O, W) + n[2] : N < 64 ? T += S(P, O, W) + n[3] : T += F(P, O, W) + n[4],
|
|
T = T | 0,
|
|
T = k(T, M[N]),
|
|
T = T + X | 0,
|
|
$ = X,
|
|
X = W,
|
|
W = k(O, 10),
|
|
O = P,
|
|
P = T;
|
|
T = v[1] + d + W | 0,
|
|
v[1] = v[2] + u + X | 0,
|
|
v[2] = v[3] + q + $ | 0,
|
|
v[3] = v[4] + z + P | 0,
|
|
v[4] = v[0] + _ + O | 0,
|
|
v[0] = T
|
|
},
|
|
_doFinalize: function() {
|
|
var I = this._data
|
|
, H = I.words
|
|
, N = this._nDataBytes * 8
|
|
, L = I.sigBytes * 8;
|
|
H[L >>> 5] |= 128 << 24 - L % 32,
|
|
H[(L + 64 >>> 9 << 4) + 14] = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360,
|
|
I.sigBytes = (H.length + 1) * 4,
|
|
this._process();
|
|
for (var R = this._hash, v = R.words, r = 0; r < 5; r++) {
|
|
var n = v[r];
|
|
v[r] = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360
|
|
}
|
|
return R
|
|
},
|
|
clone: function() {
|
|
var I = h.clone.call(this);
|
|
return I._hash = this._hash.clone(),
|
|
I
|
|
}
|
|
});
|
|
function F(I, H, N) {
|
|
return I ^ H ^ N
|
|
}
|
|
function S(I, H, N) {
|
|
return I & H | ~I & N
|
|
}
|
|
function C(I, H, N) {
|
|
return (I | ~H) ^ N
|
|
}
|
|
function w(I, H, N) {
|
|
return I & N | H & ~N
|
|
}
|
|
function D(I, H, N) {
|
|
return I ^ (H | ~N)
|
|
}
|
|
function k(I, H) {
|
|
return I << H | I >>> 32 - H
|
|
}
|
|
c.RIPEMD160 = h._createHelper(E),
|
|
c.HmacRIPEMD160 = h._createHmacHelper(E)
|
|
}(),
|
|
f.RIPEMD160
|
|
})
|
|
}(Kr)),
|
|
Kr.exports
|
|
}
|
|
var Xr = {
|
|
exports: {}
|
|
}, If;
|
|
function Zr() {
|
|
return If || (If = 1,
|
|
function(i, e) {
|
|
(function(f, t) {
|
|
i.exports = t(U())
|
|
}
|
|
)(K, function(f) {
|
|
(function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.Base
|
|
, m = t.enc
|
|
, h = m.Utf8
|
|
, p = t.algo;
|
|
p.HMAC = a.extend({
|
|
init: function(s, o) {
|
|
s = this._hasher = new s.init,
|
|
typeof o == "string" && (o = h.parse(o));
|
|
var g = s.blockSize
|
|
, b = g * 4;
|
|
o.sigBytes > b && (o = s.finalize(o)),
|
|
o.clamp();
|
|
for (var y = this._oKey = o.clone(), A = this._iKey = o.clone(), E = y.words, F = A.words, S = 0; S < g; S++)
|
|
E[S] ^= 1549556828,
|
|
F[S] ^= 909522486;
|
|
y.sigBytes = A.sigBytes = b,
|
|
this.reset()
|
|
},
|
|
reset: function() {
|
|
var s = this._hasher;
|
|
s.reset(),
|
|
s.update(this._iKey)
|
|
},
|
|
update: function(s) {
|
|
return this._hasher.update(s),
|
|
this
|
|
},
|
|
finalize: function(s) {
|
|
var o = this._hasher
|
|
, g = o.finalize(s);
|
|
o.reset();
|
|
var b = o.finalize(this._oKey.clone().concat(g));
|
|
return b
|
|
}
|
|
})
|
|
}
|
|
)()
|
|
})
|
|
}(Xr)),
|
|
Xr.exports
|
|
}
|
|
var Ur = {
|
|
exports: {}
|
|
}, qf;
|
|
function bn() {
|
|
return qf || (qf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), Nr(), Zr())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.Base
|
|
, m = c.WordArray
|
|
, h = t.algo
|
|
, p = h.SHA256
|
|
, s = h.HMAC
|
|
, o = h.PBKDF2 = a.extend({
|
|
cfg: a.extend({
|
|
keySize: 128 / 32,
|
|
hasher: p,
|
|
iterations: 25e4
|
|
}),
|
|
init: function(g) {
|
|
this.cfg = this.cfg.extend(g)
|
|
},
|
|
compute: function(g, b) {
|
|
for (var y = this.cfg, A = s.create(y.hasher, g), E = m.create(), F = m.create([1]), S = E.words, C = F.words, w = y.keySize, D = y.iterations; S.length < w; ) {
|
|
var k = A.update(b).finalize(F);
|
|
A.reset();
|
|
for (var I = k.words, H = I.length, N = k, L = 1; L < D; L++) {
|
|
N = A.finalize(N),
|
|
A.reset();
|
|
for (var R = N.words, v = 0; v < H; v++)
|
|
I[v] ^= R[v]
|
|
}
|
|
E.concat(k),
|
|
C[0]++
|
|
}
|
|
return E.sigBytes = w * 4,
|
|
E
|
|
}
|
|
});
|
|
t.PBKDF2 = function(g, b, y) {
|
|
return o.create(y).compute(g, b)
|
|
}
|
|
}(),
|
|
f.PBKDF2
|
|
})
|
|
}(Ur)),
|
|
Ur.exports
|
|
}
|
|
var Gr = {
|
|
exports: {}
|
|
}, Pf;
|
|
function ue() {
|
|
return Pf || (Pf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), Ff(), Zr())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.Base
|
|
, m = c.WordArray
|
|
, h = t.algo
|
|
, p = h.MD5
|
|
, s = h.EvpKDF = a.extend({
|
|
cfg: a.extend({
|
|
keySize: 128 / 32,
|
|
hasher: p,
|
|
iterations: 1
|
|
}),
|
|
init: function(o) {
|
|
this.cfg = this.cfg.extend(o)
|
|
},
|
|
compute: function(o, g) {
|
|
for (var b, y = this.cfg, A = y.hasher.create(), E = m.create(), F = E.words, S = y.keySize, C = y.iterations; F.length < S; ) {
|
|
b && A.update(b),
|
|
b = A.update(o).finalize(g),
|
|
A.reset();
|
|
for (var w = 1; w < C; w++)
|
|
b = A.finalize(b),
|
|
A.reset();
|
|
E.concat(b)
|
|
}
|
|
return E.sigBytes = S * 4,
|
|
E
|
|
}
|
|
});
|
|
t.EvpKDF = function(o, g, b) {
|
|
return s.create(b).compute(o, g)
|
|
}
|
|
}(),
|
|
f.EvpKDF
|
|
})
|
|
}(Gr)),
|
|
Gr.exports
|
|
}
|
|
var Yr = {
|
|
exports: {}
|
|
}, Hf;
|
|
function q0() {
|
|
return Hf || (Hf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), ue())
|
|
}
|
|
)(K, function(f) {
|
|
f.lib.Cipher || function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.Base
|
|
, h = a.WordArray
|
|
, p = a.BufferedBlockAlgorithm
|
|
, s = c.enc
|
|
, o = s.Base64
|
|
, g = c.algo
|
|
, b = g.EvpKDF
|
|
, y = a.Cipher = p.extend({
|
|
cfg: m.extend(),
|
|
createEncryptor: function(R, v) {
|
|
return this.create(this._ENC_XFORM_MODE, R, v)
|
|
},
|
|
createDecryptor: function(R, v) {
|
|
return this.create(this._DEC_XFORM_MODE, R, v)
|
|
},
|
|
init: function(R, v, r) {
|
|
this.cfg = this.cfg.extend(r),
|
|
this._xformMode = R,
|
|
this._key = v,
|
|
this.reset()
|
|
},
|
|
reset: function() {
|
|
p.reset.call(this),
|
|
this._doReset()
|
|
},
|
|
process: function(R) {
|
|
return this._append(R),
|
|
this._process()
|
|
},
|
|
finalize: function(R) {
|
|
R && this._append(R);
|
|
var v = this._doFinalize();
|
|
return v
|
|
},
|
|
keySize: 128 / 32,
|
|
ivSize: 128 / 32,
|
|
_ENC_XFORM_MODE: 1,
|
|
_DEC_XFORM_MODE: 2,
|
|
_createHelper: function() {
|
|
function R(v) {
|
|
return typeof v == "string" ? L : I
|
|
}
|
|
return function(v) {
|
|
return {
|
|
encrypt: function(r, n, x) {
|
|
return R(n).encrypt(v, r, n, x)
|
|
},
|
|
decrypt: function(r, n, x) {
|
|
return R(n).decrypt(v, r, n, x)
|
|
}
|
|
}
|
|
}
|
|
}()
|
|
});
|
|
a.StreamCipher = y.extend({
|
|
_doFinalize: function() {
|
|
var R = this._process(!0);
|
|
return R
|
|
},
|
|
blockSize: 1
|
|
});
|
|
var A = c.mode = {}
|
|
, E = a.BlockCipherMode = m.extend({
|
|
createEncryptor: function(R, v) {
|
|
return this.Encryptor.create(R, v)
|
|
},
|
|
createDecryptor: function(R, v) {
|
|
return this.Decryptor.create(R, v)
|
|
},
|
|
init: function(R, v) {
|
|
this._cipher = R,
|
|
this._iv = v
|
|
}
|
|
})
|
|
, F = A.CBC = function() {
|
|
var R = E.extend();
|
|
R.Encryptor = R.extend({
|
|
processBlock: function(r, n) {
|
|
var x = this._cipher
|
|
, l = x.blockSize;
|
|
v.call(this, r, n, l),
|
|
x.encryptBlock(r, n),
|
|
this._prevBlock = r.slice(n, n + l)
|
|
}
|
|
}),
|
|
R.Decryptor = R.extend({
|
|
processBlock: function(r, n) {
|
|
var x = this._cipher
|
|
, l = x.blockSize
|
|
, B = r.slice(n, n + l);
|
|
x.decryptBlock(r, n),
|
|
v.call(this, r, n, l),
|
|
this._prevBlock = B
|
|
}
|
|
});
|
|
function v(r, n, x) {
|
|
var l, B = this._iv;
|
|
B ? (l = B,
|
|
this._iv = t) : l = this._prevBlock;
|
|
for (var M = 0; M < x; M++)
|
|
r[n + M] ^= l[M]
|
|
}
|
|
return R
|
|
}()
|
|
, S = c.pad = {}
|
|
, C = S.Pkcs7 = {
|
|
pad: function(R, v) {
|
|
for (var r = v * 4, n = r - R.sigBytes % r, x = n << 24 | n << 16 | n << 8 | n, l = [], B = 0; B < n; B += 4)
|
|
l.push(x);
|
|
var M = h.create(l, n);
|
|
R.concat(M)
|
|
},
|
|
unpad: function(R) {
|
|
var v = R.words[R.sigBytes - 1 >>> 2] & 255;
|
|
R.sigBytes -= v
|
|
}
|
|
};
|
|
a.BlockCipher = y.extend({
|
|
cfg: y.cfg.extend({
|
|
mode: F,
|
|
padding: C
|
|
}),
|
|
reset: function() {
|
|
var R;
|
|
y.reset.call(this);
|
|
var v = this.cfg
|
|
, r = v.iv
|
|
, n = v.mode;
|
|
this._xformMode == this._ENC_XFORM_MODE ? R = n.createEncryptor : (R = n.createDecryptor,
|
|
this._minBufferSize = 1),
|
|
this._mode && this._mode.__creator == R ? this._mode.init(this, r && r.words) : (this._mode = R.call(n, this, r && r.words),
|
|
this._mode.__creator = R)
|
|
},
|
|
_doProcessBlock: function(R, v) {
|
|
this._mode.processBlock(R, v)
|
|
},
|
|
_doFinalize: function() {
|
|
var R, v = this.cfg.padding;
|
|
return this._xformMode == this._ENC_XFORM_MODE ? (v.pad(this._data, this.blockSize),
|
|
R = this._process(!0)) : (R = this._process(!0),
|
|
v.unpad(R)),
|
|
R
|
|
},
|
|
blockSize: 128 / 32
|
|
});
|
|
var w = a.CipherParams = m.extend({
|
|
init: function(R) {
|
|
this.mixIn(R)
|
|
},
|
|
toString: function(R) {
|
|
return (R || this.formatter).stringify(this)
|
|
}
|
|
})
|
|
, D = c.format = {}
|
|
, k = D.OpenSSL = {
|
|
stringify: function(R) {
|
|
var v, r = R.ciphertext, n = R.salt;
|
|
return n ? v = h.create([1398893684, 1701076831]).concat(n).concat(r) : v = r,
|
|
v.toString(o)
|
|
},
|
|
parse: function(R) {
|
|
var v, r = o.parse(R), n = r.words;
|
|
return n[0] == 1398893684 && n[1] == 1701076831 && (v = h.create(n.slice(2, 4)),
|
|
n.splice(0, 4),
|
|
r.sigBytes -= 16),
|
|
w.create({
|
|
ciphertext: r,
|
|
salt: v
|
|
})
|
|
}
|
|
}
|
|
, I = a.SerializableCipher = m.extend({
|
|
cfg: m.extend({
|
|
format: k
|
|
}),
|
|
encrypt: function(R, v, r, n) {
|
|
n = this.cfg.extend(n);
|
|
var x = R.createEncryptor(r, n)
|
|
, l = x.finalize(v)
|
|
, B = x.cfg;
|
|
return w.create({
|
|
ciphertext: l,
|
|
key: r,
|
|
iv: B.iv,
|
|
algorithm: R,
|
|
mode: B.mode,
|
|
padding: B.padding,
|
|
blockSize: R.blockSize,
|
|
formatter: n.format
|
|
})
|
|
},
|
|
decrypt: function(R, v, r, n) {
|
|
n = this.cfg.extend(n),
|
|
v = this._parse(v, n.format);
|
|
var x = R.createDecryptor(r, n).finalize(v.ciphertext);
|
|
return x
|
|
},
|
|
_parse: function(R, v) {
|
|
return typeof R == "string" ? v.parse(R, this) : R
|
|
}
|
|
})
|
|
, H = c.kdf = {}
|
|
, N = H.OpenSSL = {
|
|
execute: function(R, v, r, n, x) {
|
|
if (n || (n = h.random(64 / 8)),
|
|
x)
|
|
var l = b.create({
|
|
keySize: v + r,
|
|
hasher: x
|
|
}).compute(R, n);
|
|
else
|
|
var l = b.create({
|
|
keySize: v + r
|
|
}).compute(R, n);
|
|
var B = h.create(l.words.slice(v), r * 4);
|
|
return l.sigBytes = v * 4,
|
|
w.create({
|
|
key: l,
|
|
iv: B,
|
|
salt: n
|
|
})
|
|
}
|
|
}
|
|
, L = a.PasswordBasedCipher = I.extend({
|
|
cfg: I.cfg.extend({
|
|
kdf: N
|
|
}),
|
|
encrypt: function(R, v, r, n) {
|
|
n = this.cfg.extend(n);
|
|
var x = n.kdf.execute(r, R.keySize, R.ivSize, n.salt, n.hasher);
|
|
n.iv = x.iv;
|
|
var l = I.encrypt.call(this, R, v, x.key, n);
|
|
return l.mixIn(x),
|
|
l
|
|
},
|
|
decrypt: function(R, v, r, n) {
|
|
n = this.cfg.extend(n),
|
|
v = this._parse(v, n.format);
|
|
var x = n.kdf.execute(r, R.keySize, R.ivSize, v.salt, n.hasher);
|
|
n.iv = x.iv;
|
|
var l = I.decrypt.call(this, R, v, x.key, n);
|
|
return l
|
|
}
|
|
})
|
|
}()
|
|
})
|
|
}(Yr)),
|
|
Yr.exports
|
|
}
|
|
var Vr = {
|
|
exports: {}
|
|
}, $f;
|
|
function pn() {
|
|
return $f || ($f = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.mode.CFB = function() {
|
|
var t = f.lib.BlockCipherMode.extend();
|
|
t.Encryptor = t.extend({
|
|
processBlock: function(a, m) {
|
|
var h = this._cipher
|
|
, p = h.blockSize;
|
|
c.call(this, a, m, p, h),
|
|
this._prevBlock = a.slice(m, m + p)
|
|
}
|
|
}),
|
|
t.Decryptor = t.extend({
|
|
processBlock: function(a, m) {
|
|
var h = this._cipher
|
|
, p = h.blockSize
|
|
, s = a.slice(m, m + p);
|
|
c.call(this, a, m, p, h),
|
|
this._prevBlock = s
|
|
}
|
|
});
|
|
function c(a, m, h, p) {
|
|
var s, o = this._iv;
|
|
o ? (s = o.slice(0),
|
|
this._iv = void 0) : s = this._prevBlock,
|
|
p.encryptBlock(s, 0);
|
|
for (var g = 0; g < h; g++)
|
|
a[m + g] ^= s[g]
|
|
}
|
|
return t
|
|
}(),
|
|
f.mode.CFB
|
|
})
|
|
}(Vr)),
|
|
Vr.exports
|
|
}
|
|
var jr = {
|
|
exports: {}
|
|
}, Nf;
|
|
function mn() {
|
|
return Nf || (Nf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.mode.CTR = function() {
|
|
var t = f.lib.BlockCipherMode.extend()
|
|
, c = t.Encryptor = t.extend({
|
|
processBlock: function(a, m) {
|
|
var h = this._cipher
|
|
, p = h.blockSize
|
|
, s = this._iv
|
|
, o = this._counter;
|
|
s && (o = this._counter = s.slice(0),
|
|
this._iv = void 0);
|
|
var g = o.slice(0);
|
|
h.encryptBlock(g, 0),
|
|
o[p - 1] = o[p - 1] + 1 | 0;
|
|
for (var b = 0; b < p; b++)
|
|
a[m + b] ^= g[b]
|
|
}
|
|
});
|
|
return t.Decryptor = c,
|
|
t
|
|
}(),
|
|
f.mode.CTR
|
|
})
|
|
}(jr)),
|
|
jr.exports
|
|
}
|
|
var Qr = {
|
|
exports: {}
|
|
}, Lf;
|
|
function gn() {
|
|
return Lf || (Lf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
/** @preserve
|
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
* derived from CryptoJS.mode.CTR
|
|
* Jan Hruby jhruby.web@gmail.com
|
|
*/
|
|
return f.mode.CTRGladman = function() {
|
|
var t = f.lib.BlockCipherMode.extend();
|
|
function c(h) {
|
|
if ((h >> 24 & 255) === 255) {
|
|
var p = h >> 16 & 255
|
|
, s = h >> 8 & 255
|
|
, o = h & 255;
|
|
p === 255 ? (p = 0,
|
|
s === 255 ? (s = 0,
|
|
o === 255 ? o = 0 : ++o) : ++s) : ++p,
|
|
h = 0,
|
|
h += p << 16,
|
|
h += s << 8,
|
|
h += o
|
|
} else
|
|
h += 1 << 24;
|
|
return h
|
|
}
|
|
function a(h) {
|
|
return (h[0] = c(h[0])) === 0 && (h[1] = c(h[1])),
|
|
h
|
|
}
|
|
var m = t.Encryptor = t.extend({
|
|
processBlock: function(h, p) {
|
|
var s = this._cipher
|
|
, o = s.blockSize
|
|
, g = this._iv
|
|
, b = this._counter;
|
|
g && (b = this._counter = g.slice(0),
|
|
this._iv = void 0),
|
|
a(b);
|
|
var y = b.slice(0);
|
|
s.encryptBlock(y, 0);
|
|
for (var A = 0; A < o; A++)
|
|
h[p + A] ^= y[A]
|
|
}
|
|
});
|
|
return t.Decryptor = m,
|
|
t
|
|
}(),
|
|
f.mode.CTRGladman
|
|
})
|
|
}(Qr)),
|
|
Qr.exports
|
|
}
|
|
var Jr = {
|
|
exports: {}
|
|
}, Of;
|
|
function yn() {
|
|
return Of || (Of = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.mode.OFB = function() {
|
|
var t = f.lib.BlockCipherMode.extend()
|
|
, c = t.Encryptor = t.extend({
|
|
processBlock: function(a, m) {
|
|
var h = this._cipher
|
|
, p = h.blockSize
|
|
, s = this._iv
|
|
, o = this._keystream;
|
|
s && (o = this._keystream = s.slice(0),
|
|
this._iv = void 0),
|
|
h.encryptBlock(o, 0);
|
|
for (var g = 0; g < p; g++)
|
|
a[m + g] ^= o[g]
|
|
}
|
|
});
|
|
return t.Decryptor = c,
|
|
t
|
|
}(),
|
|
f.mode.OFB
|
|
})
|
|
}(Jr)),
|
|
Jr.exports
|
|
}
|
|
var et = {
|
|
exports: {}
|
|
}, Wf;
|
|
function An() {
|
|
return Wf || (Wf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.mode.ECB = function() {
|
|
var t = f.lib.BlockCipherMode.extend();
|
|
return t.Encryptor = t.extend({
|
|
processBlock: function(c, a) {
|
|
this._cipher.encryptBlock(c, a)
|
|
}
|
|
}),
|
|
t.Decryptor = t.extend({
|
|
processBlock: function(c, a) {
|
|
this._cipher.decryptBlock(c, a)
|
|
}
|
|
}),
|
|
t
|
|
}(),
|
|
f.mode.ECB
|
|
})
|
|
}(et)),
|
|
et.exports
|
|
}
|
|
var rt = {
|
|
exports: {}
|
|
}, Tf;
|
|
function Bn() {
|
|
return Tf || (Tf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.pad.AnsiX923 = {
|
|
pad: function(t, c) {
|
|
var a = t.sigBytes
|
|
, m = c * 4
|
|
, h = m - a % m
|
|
, p = a + h - 1;
|
|
t.clamp(),
|
|
t.words[p >>> 2] |= h << 24 - p % 4 * 8,
|
|
t.sigBytes += h
|
|
},
|
|
unpad: function(t) {
|
|
var c = t.words[t.sigBytes - 1 >>> 2] & 255;
|
|
t.sigBytes -= c
|
|
}
|
|
},
|
|
f.pad.Ansix923
|
|
})
|
|
}(rt)),
|
|
rt.exports
|
|
}
|
|
var tt = {
|
|
exports: {}
|
|
}, Kf;
|
|
function _n() {
|
|
return Kf || (Kf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.pad.Iso10126 = {
|
|
pad: function(t, c) {
|
|
var a = c * 4
|
|
, m = a - t.sigBytes % a;
|
|
t.concat(f.lib.WordArray.random(m - 1)).concat(f.lib.WordArray.create([m << 24], 1))
|
|
},
|
|
unpad: function(t) {
|
|
var c = t.words[t.sigBytes - 1 >>> 2] & 255;
|
|
t.sigBytes -= c
|
|
}
|
|
},
|
|
f.pad.Iso10126
|
|
})
|
|
}(tt)),
|
|
tt.exports
|
|
}
|
|
var ft = {
|
|
exports: {}
|
|
}, Xf;
|
|
function Cn() {
|
|
return Xf || (Xf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.pad.Iso97971 = {
|
|
pad: function(t, c) {
|
|
t.concat(f.lib.WordArray.create([2147483648], 1)),
|
|
f.pad.ZeroPadding.pad(t, c)
|
|
},
|
|
unpad: function(t) {
|
|
f.pad.ZeroPadding.unpad(t),
|
|
t.sigBytes--
|
|
}
|
|
},
|
|
f.pad.Iso97971
|
|
})
|
|
}(ft)),
|
|
ft.exports
|
|
}
|
|
var at = {
|
|
exports: {}
|
|
}, Zf;
|
|
function En() {
|
|
return Zf || (Zf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.pad.ZeroPadding = {
|
|
pad: function(t, c) {
|
|
var a = c * 4;
|
|
t.clamp(),
|
|
t.sigBytes += a - (t.sigBytes % a || a)
|
|
},
|
|
unpad: function(t) {
|
|
for (var c = t.words, a = t.sigBytes - 1, a = t.sigBytes - 1; a >= 0; a--)
|
|
if (c[a >>> 2] >>> 24 - a % 4 * 8 & 255) {
|
|
t.sigBytes = a + 1;
|
|
break
|
|
}
|
|
}
|
|
},
|
|
f.pad.ZeroPadding
|
|
})
|
|
}(at)),
|
|
at.exports
|
|
}
|
|
var it = {
|
|
exports: {}
|
|
}, Uf;
|
|
function Fn() {
|
|
return Uf || (Uf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return f.pad.NoPadding = {
|
|
pad: function() {},
|
|
unpad: function() {}
|
|
},
|
|
f.pad.NoPadding
|
|
})
|
|
}(it)),
|
|
it.exports
|
|
}
|
|
var nt = {
|
|
exports: {}
|
|
}, Gf;
|
|
function wn() {
|
|
return Gf || (Gf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function(t) {
|
|
var c = f
|
|
, a = c.lib
|
|
, m = a.CipherParams
|
|
, h = c.enc
|
|
, p = h.Hex
|
|
, s = c.format;
|
|
s.Hex = {
|
|
stringify: function(o) {
|
|
return o.ciphertext.toString(p)
|
|
},
|
|
parse: function(o) {
|
|
var g = p.parse(o);
|
|
return m.create({
|
|
ciphertext: g
|
|
})
|
|
}
|
|
}
|
|
}(),
|
|
f.format.Hex
|
|
})
|
|
}(nt)),
|
|
nt.exports
|
|
}
|
|
var dt = {
|
|
exports: {}
|
|
}, Yf;
|
|
function Dn() {
|
|
return Yf || (Yf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.BlockCipher
|
|
, m = t.algo
|
|
, h = []
|
|
, p = []
|
|
, s = []
|
|
, o = []
|
|
, g = []
|
|
, b = []
|
|
, y = []
|
|
, A = []
|
|
, E = []
|
|
, F = [];
|
|
(function() {
|
|
for (var w = [], D = 0; D < 256; D++)
|
|
D < 128 ? w[D] = D << 1 : w[D] = D << 1 ^ 283;
|
|
for (var k = 0, I = 0, D = 0; D < 256; D++) {
|
|
var H = I ^ I << 1 ^ I << 2 ^ I << 3 ^ I << 4;
|
|
H = H >>> 8 ^ H & 255 ^ 99,
|
|
h[k] = H,
|
|
p[H] = k;
|
|
var N = w[k]
|
|
, L = w[N]
|
|
, R = w[L]
|
|
, v = w[H] * 257 ^ H * 16843008;
|
|
s[k] = v << 24 | v >>> 8,
|
|
o[k] = v << 16 | v >>> 16,
|
|
g[k] = v << 8 | v >>> 24,
|
|
b[k] = v;
|
|
var v = R * 16843009 ^ L * 65537 ^ N * 257 ^ k * 16843008;
|
|
y[H] = v << 24 | v >>> 8,
|
|
A[H] = v << 16 | v >>> 16,
|
|
E[H] = v << 8 | v >>> 24,
|
|
F[H] = v,
|
|
k ? (k = N ^ w[w[w[R ^ N]]],
|
|
I ^= w[w[I]]) : k = I = 1
|
|
}
|
|
}
|
|
)();
|
|
var S = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54]
|
|
, C = m.AES = a.extend({
|
|
_doReset: function() {
|
|
var w;
|
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
for (var D = this._keyPriorReset = this._key, k = D.words, I = D.sigBytes / 4, H = this._nRounds = I + 6, N = (H + 1) * 4, L = this._keySchedule = [], R = 0; R < N; R++)
|
|
R < I ? L[R] = k[R] : (w = L[R - 1],
|
|
R % I ? I > 6 && R % I == 4 && (w = h[w >>> 24] << 24 | h[w >>> 16 & 255] << 16 | h[w >>> 8 & 255] << 8 | h[w & 255]) : (w = w << 8 | w >>> 24,
|
|
w = h[w >>> 24] << 24 | h[w >>> 16 & 255] << 16 | h[w >>> 8 & 255] << 8 | h[w & 255],
|
|
w ^= S[R / I | 0] << 24),
|
|
L[R] = L[R - I] ^ w);
|
|
for (var v = this._invKeySchedule = [], r = 0; r < N; r++) {
|
|
var R = N - r;
|
|
if (r % 4)
|
|
var w = L[R];
|
|
else
|
|
var w = L[R - 4];
|
|
r < 4 || R <= 4 ? v[r] = w : v[r] = y[h[w >>> 24]] ^ A[h[w >>> 16 & 255]] ^ E[h[w >>> 8 & 255]] ^ F[h[w & 255]]
|
|
}
|
|
}
|
|
},
|
|
encryptBlock: function(w, D) {
|
|
this._doCryptBlock(w, D, this._keySchedule, s, o, g, b, h)
|
|
},
|
|
decryptBlock: function(w, D) {
|
|
var k = w[D + 1];
|
|
w[D + 1] = w[D + 3],
|
|
w[D + 3] = k,
|
|
this._doCryptBlock(w, D, this._invKeySchedule, y, A, E, F, p);
|
|
var k = w[D + 1];
|
|
w[D + 1] = w[D + 3],
|
|
w[D + 3] = k
|
|
},
|
|
_doCryptBlock: function(w, D, k, I, H, N, L, R) {
|
|
for (var v = this._nRounds, r = w[D] ^ k[0], n = w[D + 1] ^ k[1], x = w[D + 2] ^ k[2], l = w[D + 3] ^ k[3], B = 4, M = 1; M < v; M++) {
|
|
var z = I[r >>> 24] ^ H[n >>> 16 & 255] ^ N[x >>> 8 & 255] ^ L[l & 255] ^ k[B++]
|
|
, _ = I[n >>> 24] ^ H[x >>> 16 & 255] ^ N[l >>> 8 & 255] ^ L[r & 255] ^ k[B++]
|
|
, d = I[x >>> 24] ^ H[l >>> 16 & 255] ^ N[r >>> 8 & 255] ^ L[n & 255] ^ k[B++]
|
|
, u = I[l >>> 24] ^ H[r >>> 16 & 255] ^ N[n >>> 8 & 255] ^ L[x & 255] ^ k[B++];
|
|
r = z,
|
|
n = _,
|
|
x = d,
|
|
l = u
|
|
}
|
|
var z = (R[r >>> 24] << 24 | R[n >>> 16 & 255] << 16 | R[x >>> 8 & 255] << 8 | R[l & 255]) ^ k[B++]
|
|
, _ = (R[n >>> 24] << 24 | R[x >>> 16 & 255] << 16 | R[l >>> 8 & 255] << 8 | R[r & 255]) ^ k[B++]
|
|
, d = (R[x >>> 24] << 24 | R[l >>> 16 & 255] << 16 | R[r >>> 8 & 255] << 8 | R[n & 255]) ^ k[B++]
|
|
, u = (R[l >>> 24] << 24 | R[r >>> 16 & 255] << 16 | R[n >>> 8 & 255] << 8 | R[x & 255]) ^ k[B++];
|
|
w[D] = z,
|
|
w[D + 1] = _,
|
|
w[D + 2] = d,
|
|
w[D + 3] = u
|
|
},
|
|
keySize: 256 / 32
|
|
});
|
|
t.AES = a._createHelper(C)
|
|
}(),
|
|
f.AES
|
|
})
|
|
}(dt)),
|
|
dt.exports
|
|
}
|
|
var ct = {
|
|
exports: {}
|
|
}, Vf;
|
|
function Mn() {
|
|
return Vf || (Vf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.WordArray
|
|
, m = c.BlockCipher
|
|
, h = t.algo
|
|
, p = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4]
|
|
, s = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32]
|
|
, o = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28]
|
|
, g = [{
|
|
0: 8421888,
|
|
268435456: 32768,
|
|
536870912: 8421378,
|
|
805306368: 2,
|
|
1073741824: 512,
|
|
1342177280: 8421890,
|
|
1610612736: 8389122,
|
|
1879048192: 8388608,
|
|
2147483648: 514,
|
|
2415919104: 8389120,
|
|
2684354560: 33280,
|
|
2952790016: 8421376,
|
|
3221225472: 32770,
|
|
3489660928: 8388610,
|
|
3758096384: 0,
|
|
4026531840: 33282,
|
|
134217728: 0,
|
|
402653184: 8421890,
|
|
671088640: 33282,
|
|
939524096: 32768,
|
|
1207959552: 8421888,
|
|
1476395008: 512,
|
|
1744830464: 8421378,
|
|
2013265920: 2,
|
|
2281701376: 8389120,
|
|
2550136832: 33280,
|
|
2818572288: 8421376,
|
|
3087007744: 8389122,
|
|
3355443200: 8388610,
|
|
3623878656: 32770,
|
|
3892314112: 514,
|
|
4160749568: 8388608,
|
|
1: 32768,
|
|
268435457: 2,
|
|
536870913: 8421888,
|
|
805306369: 8388608,
|
|
1073741825: 8421378,
|
|
1342177281: 33280,
|
|
1610612737: 512,
|
|
1879048193: 8389122,
|
|
2147483649: 8421890,
|
|
2415919105: 8421376,
|
|
2684354561: 8388610,
|
|
2952790017: 33282,
|
|
3221225473: 514,
|
|
3489660929: 8389120,
|
|
3758096385: 32770,
|
|
4026531841: 0,
|
|
134217729: 8421890,
|
|
402653185: 8421376,
|
|
671088641: 8388608,
|
|
939524097: 512,
|
|
1207959553: 32768,
|
|
1476395009: 8388610,
|
|
1744830465: 2,
|
|
2013265921: 33282,
|
|
2281701377: 32770,
|
|
2550136833: 8389122,
|
|
2818572289: 514,
|
|
3087007745: 8421888,
|
|
3355443201: 8389120,
|
|
3623878657: 0,
|
|
3892314113: 33280,
|
|
4160749569: 8421378
|
|
}, {
|
|
0: 1074282512,
|
|
16777216: 16384,
|
|
33554432: 524288,
|
|
50331648: 1074266128,
|
|
67108864: 1073741840,
|
|
83886080: 1074282496,
|
|
100663296: 1073758208,
|
|
117440512: 16,
|
|
134217728: 540672,
|
|
150994944: 1073758224,
|
|
167772160: 1073741824,
|
|
184549376: 540688,
|
|
201326592: 524304,
|
|
218103808: 0,
|
|
234881024: 16400,
|
|
251658240: 1074266112,
|
|
8388608: 1073758208,
|
|
25165824: 540688,
|
|
41943040: 16,
|
|
58720256: 1073758224,
|
|
75497472: 1074282512,
|
|
92274688: 1073741824,
|
|
109051904: 524288,
|
|
125829120: 1074266128,
|
|
142606336: 524304,
|
|
159383552: 0,
|
|
176160768: 16384,
|
|
192937984: 1074266112,
|
|
209715200: 1073741840,
|
|
226492416: 540672,
|
|
243269632: 1074282496,
|
|
260046848: 16400,
|
|
268435456: 0,
|
|
285212672: 1074266128,
|
|
301989888: 1073758224,
|
|
318767104: 1074282496,
|
|
335544320: 1074266112,
|
|
352321536: 16,
|
|
369098752: 540688,
|
|
385875968: 16384,
|
|
402653184: 16400,
|
|
419430400: 524288,
|
|
436207616: 524304,
|
|
452984832: 1073741840,
|
|
469762048: 540672,
|
|
486539264: 1073758208,
|
|
503316480: 1073741824,
|
|
520093696: 1074282512,
|
|
276824064: 540688,
|
|
293601280: 524288,
|
|
310378496: 1074266112,
|
|
327155712: 16384,
|
|
343932928: 1073758208,
|
|
360710144: 1074282512,
|
|
377487360: 16,
|
|
394264576: 1073741824,
|
|
411041792: 1074282496,
|
|
427819008: 1073741840,
|
|
444596224: 1073758224,
|
|
461373440: 524304,
|
|
478150656: 0,
|
|
494927872: 16400,
|
|
511705088: 1074266128,
|
|
528482304: 540672
|
|
}, {
|
|
0: 260,
|
|
1048576: 0,
|
|
2097152: 67109120,
|
|
3145728: 65796,
|
|
4194304: 65540,
|
|
5242880: 67108868,
|
|
6291456: 67174660,
|
|
7340032: 67174400,
|
|
8388608: 67108864,
|
|
9437184: 67174656,
|
|
10485760: 65792,
|
|
11534336: 67174404,
|
|
12582912: 67109124,
|
|
13631488: 65536,
|
|
14680064: 4,
|
|
15728640: 256,
|
|
524288: 67174656,
|
|
1572864: 67174404,
|
|
2621440: 0,
|
|
3670016: 67109120,
|
|
4718592: 67108868,
|
|
5767168: 65536,
|
|
6815744: 65540,
|
|
7864320: 260,
|
|
8912896: 4,
|
|
9961472: 256,
|
|
11010048: 67174400,
|
|
12058624: 65796,
|
|
13107200: 65792,
|
|
14155776: 67109124,
|
|
15204352: 67174660,
|
|
16252928: 67108864,
|
|
16777216: 67174656,
|
|
17825792: 65540,
|
|
18874368: 65536,
|
|
19922944: 67109120,
|
|
20971520: 256,
|
|
22020096: 67174660,
|
|
23068672: 67108868,
|
|
24117248: 0,
|
|
25165824: 67109124,
|
|
26214400: 67108864,
|
|
27262976: 4,
|
|
28311552: 65792,
|
|
29360128: 67174400,
|
|
30408704: 260,
|
|
31457280: 65796,
|
|
32505856: 67174404,
|
|
17301504: 67108864,
|
|
18350080: 260,
|
|
19398656: 67174656,
|
|
20447232: 0,
|
|
21495808: 65540,
|
|
22544384: 67109120,
|
|
23592960: 256,
|
|
24641536: 67174404,
|
|
25690112: 65536,
|
|
26738688: 67174660,
|
|
27787264: 65796,
|
|
28835840: 67108868,
|
|
29884416: 67109124,
|
|
30932992: 67174400,
|
|
31981568: 4,
|
|
33030144: 65792
|
|
}, {
|
|
0: 2151682048,
|
|
65536: 2147487808,
|
|
131072: 4198464,
|
|
196608: 2151677952,
|
|
262144: 0,
|
|
327680: 4198400,
|
|
393216: 2147483712,
|
|
458752: 4194368,
|
|
524288: 2147483648,
|
|
589824: 4194304,
|
|
655360: 64,
|
|
720896: 2147487744,
|
|
786432: 2151678016,
|
|
851968: 4160,
|
|
917504: 4096,
|
|
983040: 2151682112,
|
|
32768: 2147487808,
|
|
98304: 64,
|
|
163840: 2151678016,
|
|
229376: 2147487744,
|
|
294912: 4198400,
|
|
360448: 2151682112,
|
|
425984: 0,
|
|
491520: 2151677952,
|
|
557056: 4096,
|
|
622592: 2151682048,
|
|
688128: 4194304,
|
|
753664: 4160,
|
|
819200: 2147483648,
|
|
884736: 4194368,
|
|
950272: 4198464,
|
|
1015808: 2147483712,
|
|
1048576: 4194368,
|
|
1114112: 4198400,
|
|
1179648: 2147483712,
|
|
1245184: 0,
|
|
1310720: 4160,
|
|
1376256: 2151678016,
|
|
1441792: 2151682048,
|
|
1507328: 2147487808,
|
|
1572864: 2151682112,
|
|
1638400: 2147483648,
|
|
1703936: 2151677952,
|
|
1769472: 4198464,
|
|
1835008: 2147487744,
|
|
1900544: 4194304,
|
|
1966080: 64,
|
|
2031616: 4096,
|
|
1081344: 2151677952,
|
|
1146880: 2151682112,
|
|
1212416: 0,
|
|
1277952: 4198400,
|
|
1343488: 4194368,
|
|
1409024: 2147483648,
|
|
1474560: 2147487808,
|
|
1540096: 64,
|
|
1605632: 2147483712,
|
|
1671168: 4096,
|
|
1736704: 2147487744,
|
|
1802240: 2151678016,
|
|
1867776: 4160,
|
|
1933312: 2151682048,
|
|
1998848: 4194304,
|
|
2064384: 4198464
|
|
}, {
|
|
0: 128,
|
|
4096: 17039360,
|
|
8192: 262144,
|
|
12288: 536870912,
|
|
16384: 537133184,
|
|
20480: 16777344,
|
|
24576: 553648256,
|
|
28672: 262272,
|
|
32768: 16777216,
|
|
36864: 537133056,
|
|
40960: 536871040,
|
|
45056: 553910400,
|
|
49152: 553910272,
|
|
53248: 0,
|
|
57344: 17039488,
|
|
61440: 553648128,
|
|
2048: 17039488,
|
|
6144: 553648256,
|
|
10240: 128,
|
|
14336: 17039360,
|
|
18432: 262144,
|
|
22528: 537133184,
|
|
26624: 553910272,
|
|
30720: 536870912,
|
|
34816: 537133056,
|
|
38912: 0,
|
|
43008: 553910400,
|
|
47104: 16777344,
|
|
51200: 536871040,
|
|
55296: 553648128,
|
|
59392: 16777216,
|
|
63488: 262272,
|
|
65536: 262144,
|
|
69632: 128,
|
|
73728: 536870912,
|
|
77824: 553648256,
|
|
81920: 16777344,
|
|
86016: 553910272,
|
|
90112: 537133184,
|
|
94208: 16777216,
|
|
98304: 553910400,
|
|
102400: 553648128,
|
|
106496: 17039360,
|
|
110592: 537133056,
|
|
114688: 262272,
|
|
118784: 536871040,
|
|
122880: 0,
|
|
126976: 17039488,
|
|
67584: 553648256,
|
|
71680: 16777216,
|
|
75776: 17039360,
|
|
79872: 537133184,
|
|
83968: 536870912,
|
|
88064: 17039488,
|
|
92160: 128,
|
|
96256: 553910272,
|
|
100352: 262272,
|
|
104448: 553910400,
|
|
108544: 0,
|
|
112640: 553648128,
|
|
116736: 16777344,
|
|
120832: 262144,
|
|
124928: 537133056,
|
|
129024: 536871040
|
|
}, {
|
|
0: 268435464,
|
|
256: 8192,
|
|
512: 270532608,
|
|
768: 270540808,
|
|
1024: 268443648,
|
|
1280: 2097152,
|
|
1536: 2097160,
|
|
1792: 268435456,
|
|
2048: 0,
|
|
2304: 268443656,
|
|
2560: 2105344,
|
|
2816: 8,
|
|
3072: 270532616,
|
|
3328: 2105352,
|
|
3584: 8200,
|
|
3840: 270540800,
|
|
128: 270532608,
|
|
384: 270540808,
|
|
640: 8,
|
|
896: 2097152,
|
|
1152: 2105352,
|
|
1408: 268435464,
|
|
1664: 268443648,
|
|
1920: 8200,
|
|
2176: 2097160,
|
|
2432: 8192,
|
|
2688: 268443656,
|
|
2944: 270532616,
|
|
3200: 0,
|
|
3456: 270540800,
|
|
3712: 2105344,
|
|
3968: 268435456,
|
|
4096: 268443648,
|
|
4352: 270532616,
|
|
4608: 270540808,
|
|
4864: 8200,
|
|
5120: 2097152,
|
|
5376: 268435456,
|
|
5632: 268435464,
|
|
5888: 2105344,
|
|
6144: 2105352,
|
|
6400: 0,
|
|
6656: 8,
|
|
6912: 270532608,
|
|
7168: 8192,
|
|
7424: 268443656,
|
|
7680: 270540800,
|
|
7936: 2097160,
|
|
4224: 8,
|
|
4480: 2105344,
|
|
4736: 2097152,
|
|
4992: 268435464,
|
|
5248: 268443648,
|
|
5504: 8200,
|
|
5760: 270540808,
|
|
6016: 270532608,
|
|
6272: 270540800,
|
|
6528: 270532616,
|
|
6784: 8192,
|
|
7040: 2105352,
|
|
7296: 2097160,
|
|
7552: 0,
|
|
7808: 268435456,
|
|
8064: 268443656
|
|
}, {
|
|
0: 1048576,
|
|
16: 33555457,
|
|
32: 1024,
|
|
48: 1049601,
|
|
64: 34604033,
|
|
80: 0,
|
|
96: 1,
|
|
112: 34603009,
|
|
128: 33555456,
|
|
144: 1048577,
|
|
160: 33554433,
|
|
176: 34604032,
|
|
192: 34603008,
|
|
208: 1025,
|
|
224: 1049600,
|
|
240: 33554432,
|
|
8: 34603009,
|
|
24: 0,
|
|
40: 33555457,
|
|
56: 34604032,
|
|
72: 1048576,
|
|
88: 33554433,
|
|
104: 33554432,
|
|
120: 1025,
|
|
136: 1049601,
|
|
152: 33555456,
|
|
168: 34603008,
|
|
184: 1048577,
|
|
200: 1024,
|
|
216: 34604033,
|
|
232: 1,
|
|
248: 1049600,
|
|
256: 33554432,
|
|
272: 1048576,
|
|
288: 33555457,
|
|
304: 34603009,
|
|
320: 1048577,
|
|
336: 33555456,
|
|
352: 34604032,
|
|
368: 1049601,
|
|
384: 1025,
|
|
400: 34604033,
|
|
416: 1049600,
|
|
432: 1,
|
|
448: 0,
|
|
464: 34603008,
|
|
480: 33554433,
|
|
496: 1024,
|
|
264: 1049600,
|
|
280: 33555457,
|
|
296: 34603009,
|
|
312: 1,
|
|
328: 33554432,
|
|
344: 1048576,
|
|
360: 1025,
|
|
376: 34604032,
|
|
392: 33554433,
|
|
408: 34603008,
|
|
424: 0,
|
|
440: 34604033,
|
|
456: 1049601,
|
|
472: 1024,
|
|
488: 33555456,
|
|
504: 1048577
|
|
}, {
|
|
0: 134219808,
|
|
1: 131072,
|
|
2: 134217728,
|
|
3: 32,
|
|
4: 131104,
|
|
5: 134350880,
|
|
6: 134350848,
|
|
7: 2048,
|
|
8: 134348800,
|
|
9: 134219776,
|
|
10: 133120,
|
|
11: 134348832,
|
|
12: 2080,
|
|
13: 0,
|
|
14: 134217760,
|
|
15: 133152,
|
|
2147483648: 2048,
|
|
2147483649: 134350880,
|
|
2147483650: 134219808,
|
|
2147483651: 134217728,
|
|
2147483652: 134348800,
|
|
2147483653: 133120,
|
|
2147483654: 133152,
|
|
2147483655: 32,
|
|
2147483656: 134217760,
|
|
2147483657: 2080,
|
|
2147483658: 131104,
|
|
2147483659: 134350848,
|
|
2147483660: 0,
|
|
2147483661: 134348832,
|
|
2147483662: 134219776,
|
|
2147483663: 131072,
|
|
16: 133152,
|
|
17: 134350848,
|
|
18: 32,
|
|
19: 2048,
|
|
20: 134219776,
|
|
21: 134217760,
|
|
22: 134348832,
|
|
23: 131072,
|
|
24: 0,
|
|
25: 131104,
|
|
26: 134348800,
|
|
27: 134219808,
|
|
28: 134350880,
|
|
29: 133120,
|
|
30: 2080,
|
|
31: 134217728,
|
|
2147483664: 131072,
|
|
2147483665: 2048,
|
|
2147483666: 134348832,
|
|
2147483667: 133152,
|
|
2147483668: 32,
|
|
2147483669: 134348800,
|
|
2147483670: 134217728,
|
|
2147483671: 134219808,
|
|
2147483672: 134350880,
|
|
2147483673: 134217760,
|
|
2147483674: 134219776,
|
|
2147483675: 0,
|
|
2147483676: 133120,
|
|
2147483677: 2080,
|
|
2147483678: 131104,
|
|
2147483679: 134350848
|
|
}]
|
|
, b = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679]
|
|
, y = h.DES = m.extend({
|
|
_doReset: function() {
|
|
for (var S = this._key, C = S.words, w = [], D = 0; D < 56; D++) {
|
|
var k = p[D] - 1;
|
|
w[D] = C[k >>> 5] >>> 31 - k % 32 & 1
|
|
}
|
|
for (var I = this._subKeys = [], H = 0; H < 16; H++) {
|
|
for (var N = I[H] = [], L = o[H], D = 0; D < 24; D++)
|
|
N[D / 6 | 0] |= w[(s[D] - 1 + L) % 28] << 31 - D % 6,
|
|
N[4 + (D / 6 | 0)] |= w[28 + (s[D + 24] - 1 + L) % 28] << 31 - D % 6;
|
|
N[0] = N[0] << 1 | N[0] >>> 31;
|
|
for (var D = 1; D < 7; D++)
|
|
N[D] = N[D] >>> (D - 1) * 4 + 3;
|
|
N[7] = N[7] << 5 | N[7] >>> 27
|
|
}
|
|
for (var R = this._invSubKeys = [], D = 0; D < 16; D++)
|
|
R[D] = I[15 - D]
|
|
},
|
|
encryptBlock: function(S, C) {
|
|
this._doCryptBlock(S, C, this._subKeys)
|
|
},
|
|
decryptBlock: function(S, C) {
|
|
this._doCryptBlock(S, C, this._invSubKeys)
|
|
},
|
|
_doCryptBlock: function(S, C, w) {
|
|
this._lBlock = S[C],
|
|
this._rBlock = S[C + 1],
|
|
A.call(this, 4, 252645135),
|
|
A.call(this, 16, 65535),
|
|
E.call(this, 2, 858993459),
|
|
E.call(this, 8, 16711935),
|
|
A.call(this, 1, 1431655765);
|
|
for (var D = 0; D < 16; D++) {
|
|
for (var k = w[D], I = this._lBlock, H = this._rBlock, N = 0, L = 0; L < 8; L++)
|
|
N |= g[L][((H ^ k[L]) & b[L]) >>> 0];
|
|
this._lBlock = H,
|
|
this._rBlock = I ^ N
|
|
}
|
|
var R = this._lBlock;
|
|
this._lBlock = this._rBlock,
|
|
this._rBlock = R,
|
|
A.call(this, 1, 1431655765),
|
|
E.call(this, 8, 16711935),
|
|
E.call(this, 2, 858993459),
|
|
A.call(this, 16, 65535),
|
|
A.call(this, 4, 252645135),
|
|
S[C] = this._lBlock,
|
|
S[C + 1] = this._rBlock
|
|
},
|
|
keySize: 64 / 32,
|
|
ivSize: 64 / 32,
|
|
blockSize: 64 / 32
|
|
});
|
|
function A(S, C) {
|
|
var w = (this._lBlock >>> S ^ this._rBlock) & C;
|
|
this._rBlock ^= w,
|
|
this._lBlock ^= w << S
|
|
}
|
|
function E(S, C) {
|
|
var w = (this._rBlock >>> S ^ this._lBlock) & C;
|
|
this._lBlock ^= w,
|
|
this._rBlock ^= w << S
|
|
}
|
|
t.DES = m._createHelper(y);
|
|
var F = h.TripleDES = m.extend({
|
|
_doReset: function() {
|
|
var S = this._key
|
|
, C = S.words;
|
|
if (C.length !== 2 && C.length !== 4 && C.length < 6)
|
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
var w = C.slice(0, 2)
|
|
, D = C.length < 4 ? C.slice(0, 2) : C.slice(2, 4)
|
|
, k = C.length < 6 ? C.slice(0, 2) : C.slice(4, 6);
|
|
this._des1 = y.createEncryptor(a.create(w)),
|
|
this._des2 = y.createEncryptor(a.create(D)),
|
|
this._des3 = y.createEncryptor(a.create(k))
|
|
},
|
|
encryptBlock: function(S, C) {
|
|
this._des1.encryptBlock(S, C),
|
|
this._des2.decryptBlock(S, C),
|
|
this._des3.encryptBlock(S, C)
|
|
},
|
|
decryptBlock: function(S, C) {
|
|
this._des3.decryptBlock(S, C),
|
|
this._des2.encryptBlock(S, C),
|
|
this._des1.decryptBlock(S, C)
|
|
},
|
|
keySize: 192 / 32,
|
|
ivSize: 64 / 32,
|
|
blockSize: 64 / 32
|
|
});
|
|
t.TripleDES = m._createHelper(F)
|
|
}(),
|
|
f.TripleDES
|
|
})
|
|
}(ct)),
|
|
ct.exports
|
|
}
|
|
var st = {
|
|
exports: {}
|
|
}, jf;
|
|
function Sn() {
|
|
return jf || (jf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.StreamCipher
|
|
, m = t.algo
|
|
, h = m.RC4 = a.extend({
|
|
_doReset: function() {
|
|
for (var o = this._key, g = o.words, b = o.sigBytes, y = this._S = [], A = 0; A < 256; A++)
|
|
y[A] = A;
|
|
for (var A = 0, E = 0; A < 256; A++) {
|
|
var F = A % b
|
|
, S = g[F >>> 2] >>> 24 - F % 4 * 8 & 255;
|
|
E = (E + y[A] + S) % 256;
|
|
var C = y[A];
|
|
y[A] = y[E],
|
|
y[E] = C
|
|
}
|
|
this._i = this._j = 0
|
|
},
|
|
_doProcessBlock: function(o, g) {
|
|
o[g] ^= p.call(this)
|
|
},
|
|
keySize: 256 / 32,
|
|
ivSize: 0
|
|
});
|
|
function p() {
|
|
for (var o = this._S, g = this._i, b = this._j, y = 0, A = 0; A < 4; A++) {
|
|
g = (g + 1) % 256,
|
|
b = (b + o[g]) % 256;
|
|
var E = o[g];
|
|
o[g] = o[b],
|
|
o[b] = E,
|
|
y |= o[(o[g] + o[b]) % 256] << 24 - A * 8
|
|
}
|
|
return this._i = g,
|
|
this._j = b,
|
|
y
|
|
}
|
|
t.RC4 = a._createHelper(h);
|
|
var s = m.RC4Drop = h.extend({
|
|
cfg: h.cfg.extend({
|
|
drop: 192
|
|
}),
|
|
_doReset: function() {
|
|
h._doReset.call(this);
|
|
for (var o = this.cfg.drop; o > 0; o--)
|
|
p.call(this)
|
|
}
|
|
});
|
|
t.RC4Drop = a._createHelper(s)
|
|
}(),
|
|
f.RC4
|
|
})
|
|
}(st)),
|
|
st.exports
|
|
}
|
|
var ot = {
|
|
exports: {}
|
|
}, Qf;
|
|
function zn() {
|
|
return Qf || (Qf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.StreamCipher
|
|
, m = t.algo
|
|
, h = []
|
|
, p = []
|
|
, s = []
|
|
, o = m.Rabbit = a.extend({
|
|
_doReset: function() {
|
|
for (var b = this._key.words, y = this.cfg.iv, A = 0; A < 4; A++)
|
|
b[A] = (b[A] << 8 | b[A] >>> 24) & 16711935 | (b[A] << 24 | b[A] >>> 8) & 4278255360;
|
|
var E = this._X = [b[0], b[3] << 16 | b[2] >>> 16, b[1], b[0] << 16 | b[3] >>> 16, b[2], b[1] << 16 | b[0] >>> 16, b[3], b[2] << 16 | b[1] >>> 16]
|
|
, F = this._C = [b[2] << 16 | b[2] >>> 16, b[0] & 4294901760 | b[1] & 65535, b[3] << 16 | b[3] >>> 16, b[1] & 4294901760 | b[2] & 65535, b[0] << 16 | b[0] >>> 16, b[2] & 4294901760 | b[3] & 65535, b[1] << 16 | b[1] >>> 16, b[3] & 4294901760 | b[0] & 65535];
|
|
this._b = 0;
|
|
for (var A = 0; A < 4; A++)
|
|
g.call(this);
|
|
for (var A = 0; A < 8; A++)
|
|
F[A] ^= E[A + 4 & 7];
|
|
if (y) {
|
|
var S = y.words
|
|
, C = S[0]
|
|
, w = S[1]
|
|
, D = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360
|
|
, k = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360
|
|
, I = D >>> 16 | k & 4294901760
|
|
, H = k << 16 | D & 65535;
|
|
F[0] ^= D,
|
|
F[1] ^= I,
|
|
F[2] ^= k,
|
|
F[3] ^= H,
|
|
F[4] ^= D,
|
|
F[5] ^= I,
|
|
F[6] ^= k,
|
|
F[7] ^= H;
|
|
for (var A = 0; A < 4; A++)
|
|
g.call(this)
|
|
}
|
|
},
|
|
_doProcessBlock: function(b, y) {
|
|
var A = this._X;
|
|
g.call(this),
|
|
h[0] = A[0] ^ A[5] >>> 16 ^ A[3] << 16,
|
|
h[1] = A[2] ^ A[7] >>> 16 ^ A[5] << 16,
|
|
h[2] = A[4] ^ A[1] >>> 16 ^ A[7] << 16,
|
|
h[3] = A[6] ^ A[3] >>> 16 ^ A[1] << 16;
|
|
for (var E = 0; E < 4; E++)
|
|
h[E] = (h[E] << 8 | h[E] >>> 24) & 16711935 | (h[E] << 24 | h[E] >>> 8) & 4278255360,
|
|
b[y + E] ^= h[E]
|
|
},
|
|
blockSize: 128 / 32,
|
|
ivSize: 64 / 32
|
|
});
|
|
function g() {
|
|
for (var b = this._X, y = this._C, A = 0; A < 8; A++)
|
|
p[A] = y[A];
|
|
y[0] = y[0] + 1295307597 + this._b | 0,
|
|
y[1] = y[1] + 3545052371 + (y[0] >>> 0 < p[0] >>> 0 ? 1 : 0) | 0,
|
|
y[2] = y[2] + 886263092 + (y[1] >>> 0 < p[1] >>> 0 ? 1 : 0) | 0,
|
|
y[3] = y[3] + 1295307597 + (y[2] >>> 0 < p[2] >>> 0 ? 1 : 0) | 0,
|
|
y[4] = y[4] + 3545052371 + (y[3] >>> 0 < p[3] >>> 0 ? 1 : 0) | 0,
|
|
y[5] = y[5] + 886263092 + (y[4] >>> 0 < p[4] >>> 0 ? 1 : 0) | 0,
|
|
y[6] = y[6] + 1295307597 + (y[5] >>> 0 < p[5] >>> 0 ? 1 : 0) | 0,
|
|
y[7] = y[7] + 3545052371 + (y[6] >>> 0 < p[6] >>> 0 ? 1 : 0) | 0,
|
|
this._b = y[7] >>> 0 < p[7] >>> 0 ? 1 : 0;
|
|
for (var A = 0; A < 8; A++) {
|
|
var E = b[A] + y[A]
|
|
, F = E & 65535
|
|
, S = E >>> 16
|
|
, C = ((F * F >>> 17) + F * S >>> 15) + S * S
|
|
, w = ((E & 4294901760) * E | 0) + ((E & 65535) * E | 0);
|
|
s[A] = C ^ w
|
|
}
|
|
b[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0,
|
|
b[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0,
|
|
b[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0,
|
|
b[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0,
|
|
b[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0,
|
|
b[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0,
|
|
b[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0,
|
|
b[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
|
|
}
|
|
t.Rabbit = a._createHelper(o)
|
|
}(),
|
|
f.Rabbit
|
|
})
|
|
}(ot)),
|
|
ot.exports
|
|
}
|
|
var ht = {
|
|
exports: {}
|
|
}, Jf;
|
|
function Rn() {
|
|
return Jf || (Jf = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.StreamCipher
|
|
, m = t.algo
|
|
, h = []
|
|
, p = []
|
|
, s = []
|
|
, o = m.RabbitLegacy = a.extend({
|
|
_doReset: function() {
|
|
var b = this._key.words
|
|
, y = this.cfg.iv
|
|
, A = this._X = [b[0], b[3] << 16 | b[2] >>> 16, b[1], b[0] << 16 | b[3] >>> 16, b[2], b[1] << 16 | b[0] >>> 16, b[3], b[2] << 16 | b[1] >>> 16]
|
|
, E = this._C = [b[2] << 16 | b[2] >>> 16, b[0] & 4294901760 | b[1] & 65535, b[3] << 16 | b[3] >>> 16, b[1] & 4294901760 | b[2] & 65535, b[0] << 16 | b[0] >>> 16, b[2] & 4294901760 | b[3] & 65535, b[1] << 16 | b[1] >>> 16, b[3] & 4294901760 | b[0] & 65535];
|
|
this._b = 0;
|
|
for (var F = 0; F < 4; F++)
|
|
g.call(this);
|
|
for (var F = 0; F < 8; F++)
|
|
E[F] ^= A[F + 4 & 7];
|
|
if (y) {
|
|
var S = y.words
|
|
, C = S[0]
|
|
, w = S[1]
|
|
, D = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360
|
|
, k = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360
|
|
, I = D >>> 16 | k & 4294901760
|
|
, H = k << 16 | D & 65535;
|
|
E[0] ^= D,
|
|
E[1] ^= I,
|
|
E[2] ^= k,
|
|
E[3] ^= H,
|
|
E[4] ^= D,
|
|
E[5] ^= I,
|
|
E[6] ^= k,
|
|
E[7] ^= H;
|
|
for (var F = 0; F < 4; F++)
|
|
g.call(this)
|
|
}
|
|
},
|
|
_doProcessBlock: function(b, y) {
|
|
var A = this._X;
|
|
g.call(this),
|
|
h[0] = A[0] ^ A[5] >>> 16 ^ A[3] << 16,
|
|
h[1] = A[2] ^ A[7] >>> 16 ^ A[5] << 16,
|
|
h[2] = A[4] ^ A[1] >>> 16 ^ A[7] << 16,
|
|
h[3] = A[6] ^ A[3] >>> 16 ^ A[1] << 16;
|
|
for (var E = 0; E < 4; E++)
|
|
h[E] = (h[E] << 8 | h[E] >>> 24) & 16711935 | (h[E] << 24 | h[E] >>> 8) & 4278255360,
|
|
b[y + E] ^= h[E]
|
|
},
|
|
blockSize: 128 / 32,
|
|
ivSize: 64 / 32
|
|
});
|
|
function g() {
|
|
for (var b = this._X, y = this._C, A = 0; A < 8; A++)
|
|
p[A] = y[A];
|
|
y[0] = y[0] + 1295307597 + this._b | 0,
|
|
y[1] = y[1] + 3545052371 + (y[0] >>> 0 < p[0] >>> 0 ? 1 : 0) | 0,
|
|
y[2] = y[2] + 886263092 + (y[1] >>> 0 < p[1] >>> 0 ? 1 : 0) | 0,
|
|
y[3] = y[3] + 1295307597 + (y[2] >>> 0 < p[2] >>> 0 ? 1 : 0) | 0,
|
|
y[4] = y[4] + 3545052371 + (y[3] >>> 0 < p[3] >>> 0 ? 1 : 0) | 0,
|
|
y[5] = y[5] + 886263092 + (y[4] >>> 0 < p[4] >>> 0 ? 1 : 0) | 0,
|
|
y[6] = y[6] + 1295307597 + (y[5] >>> 0 < p[5] >>> 0 ? 1 : 0) | 0,
|
|
y[7] = y[7] + 3545052371 + (y[6] >>> 0 < p[6] >>> 0 ? 1 : 0) | 0,
|
|
this._b = y[7] >>> 0 < p[7] >>> 0 ? 1 : 0;
|
|
for (var A = 0; A < 8; A++) {
|
|
var E = b[A] + y[A]
|
|
, F = E & 65535
|
|
, S = E >>> 16
|
|
, C = ((F * F >>> 17) + F * S >>> 15) + S * S
|
|
, w = ((E & 4294901760) * E | 0) + ((E & 65535) * E | 0);
|
|
s[A] = C ^ w
|
|
}
|
|
b[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0,
|
|
b[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0,
|
|
b[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0,
|
|
b[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0,
|
|
b[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0,
|
|
b[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0,
|
|
b[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0,
|
|
b[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
|
|
}
|
|
t.RabbitLegacy = a._createHelper(o)
|
|
}(),
|
|
f.RabbitLegacy
|
|
})
|
|
}(ht)),
|
|
ht.exports
|
|
}
|
|
var xt = {
|
|
exports: {}
|
|
}, ea;
|
|
function kn() {
|
|
return ea || (ea = 1,
|
|
function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), _e(), Ce(), ue(), q0())
|
|
}
|
|
)(K, function(f) {
|
|
return function() {
|
|
var t = f
|
|
, c = t.lib
|
|
, a = c.BlockCipher
|
|
, m = t.algo;
|
|
const h = 16
|
|
, p = [608135816, 2242054355, 320440878, 57701188, 2752067618, 698298832, 137296536, 3964562569, 1160258022, 953160567, 3193202383, 887688300, 3232508343, 3380367581, 1065670069, 3041331479, 2450970073, 2306472731]
|
|
, s = [[3509652390, 2564797868, 805139163, 3491422135, 3101798381, 1780907670, 3128725573, 4046225305, 614570311, 3012652279, 134345442, 2240740374, 1667834072, 1901547113, 2757295779, 4103290238, 227898511, 1921955416, 1904987480, 2182433518, 2069144605, 3260701109, 2620446009, 720527379, 3318853667, 677414384, 3393288472, 3101374703, 2390351024, 1614419982, 1822297739, 2954791486, 3608508353, 3174124327, 2024746970, 1432378464, 3864339955, 2857741204, 1464375394, 1676153920, 1439316330, 715854006, 3033291828, 289532110, 2706671279, 2087905683, 3018724369, 1668267050, 732546397, 1947742710, 3462151702, 2609353502, 2950085171, 1814351708, 2050118529, 680887927, 999245976, 1800124847, 3300911131, 1713906067, 1641548236, 4213287313, 1216130144, 1575780402, 4018429277, 3917837745, 3693486850, 3949271944, 596196993, 3549867205, 258830323, 2213823033, 772490370, 2760122372, 1774776394, 2652871518, 566650946, 4142492826, 1728879713, 2882767088, 1783734482, 3629395816, 2517608232, 2874225571, 1861159788, 326777828, 3124490320, 2130389656, 2716951837, 967770486, 1724537150, 2185432712, 2364442137, 1164943284, 2105845187, 998989502, 3765401048, 2244026483, 1075463327, 1455516326, 1322494562, 910128902, 469688178, 1117454909, 936433444, 3490320968, 3675253459, 1240580251, 122909385, 2157517691, 634681816, 4142456567, 3825094682, 3061402683, 2540495037, 79693498, 3249098678, 1084186820, 1583128258, 426386531, 1761308591, 1047286709, 322548459, 995290223, 1845252383, 2603652396, 3431023940, 2942221577, 3202600964, 3727903485, 1712269319, 422464435, 3234572375, 1170764815, 3523960633, 3117677531, 1434042557, 442511882, 3600875718, 1076654713, 1738483198, 4213154764, 2393238008, 3677496056, 1014306527, 4251020053, 793779912, 2902807211, 842905082, 4246964064, 1395751752, 1040244610, 2656851899, 3396308128, 445077038, 3742853595, 3577915638, 679411651, 2892444358, 2354009459, 1767581616, 3150600392, 3791627101, 3102740896, 284835224, 4246832056, 1258075500, 768725851, 2589189241, 3069724005, 3532540348, 1274779536, 3789419226, 2764799539, 1660621633, 3471099624, 4011903706, 913787905, 3497959166, 737222580, 2514213453, 2928710040, 3937242737, 1804850592, 3499020752, 2949064160, 2386320175, 2390070455, 2415321851, 4061277028, 2290661394, 2416832540, 1336762016, 1754252060, 3520065937, 3014181293, 791618072, 3188594551, 3933548030, 2332172193, 3852520463, 3043980520, 413987798, 3465142937, 3030929376, 4245938359, 2093235073, 3534596313, 375366246, 2157278981, 2479649556, 555357303, 3870105701, 2008414854, 3344188149, 4221384143, 3956125452, 2067696032, 3594591187, 2921233993, 2428461, 544322398, 577241275, 1471733935, 610547355, 4027169054, 1432588573, 1507829418, 2025931657, 3646575487, 545086370, 48609733, 2200306550, 1653985193, 298326376, 1316178497, 3007786442, 2064951626, 458293330, 2589141269, 3591329599, 3164325604, 727753846, 2179363840, 146436021, 1461446943, 4069977195, 705550613, 3059967265, 3887724982, 4281599278, 3313849956, 1404054877, 2845806497, 146425753, 1854211946], [1266315497, 3048417604, 3681880366, 3289982499, 290971e4, 1235738493, 2632868024, 2414719590, 3970600049, 1771706367, 1449415276, 3266420449, 422970021, 1963543593, 2690192192, 3826793022, 1062508698, 1531092325, 1804592342, 2583117782, 2714934279, 4024971509, 1294809318, 4028980673, 1289560198, 2221992742, 1669523910, 35572830, 157838143, 1052438473, 1016535060, 1802137761, 1753167236, 1386275462, 3080475397, 2857371447, 1040679964, 2145300060, 2390574316, 1461121720, 2956646967, 4031777805, 4028374788, 33600511, 2920084762, 1018524850, 629373528, 3691585981, 3515945977, 2091462646, 2486323059, 586499841, 988145025, 935516892, 3367335476, 2599673255, 2839830854, 265290510, 3972581182, 2759138881, 3795373465, 1005194799, 847297441, 406762289, 1314163512, 1332590856, 1866599683, 4127851711, 750260880, 613907577, 1450815602, 3165620655, 3734664991, 3650291728, 3012275730, 3704569646, 1427272223, 778793252, 1343938022, 2676280711, 2052605720, 1946737175, 3164576444, 3914038668, 3967478842, 3682934266, 1661551462, 3294938066, 4011595847, 840292616, 3712170807, 616741398, 312560963, 711312465, 1351876610, 322626781, 1910503582, 271666773, 2175563734, 1594956187, 70604529, 3617834859, 1007753275, 1495573769, 4069517037, 2549218298, 2663038764, 504708206, 2263041392, 3941167025, 2249088522, 1514023603, 1998579484, 1312622330, 694541497, 2582060303, 2151582166, 1382467621, 776784248, 2618340202, 3323268794, 2497899128, 2784771155, 503983604, 4076293799, 907881277, 423175695, 432175456, 1378068232, 4145222326, 3954048622, 3938656102, 3820766613, 2793130115, 2977904593, 26017576, 3274890735, 3194772133, 1700274565, 1756076034, 4006520079, 3677328699, 720338349, 1533947780, 354530856, 688349552, 3973924725, 1637815568, 332179504, 3949051286, 53804574, 2852348879, 3044236432, 1282449977, 3583942155, 3416972820, 4006381244, 1617046695, 2628476075, 3002303598, 1686838959, 431878346, 2686675385, 1700445008, 1080580658, 1009431731, 832498133, 3223435511, 2605976345, 2271191193, 2516031870, 1648197032, 4164389018, 2548247927, 300782431, 375919233, 238389289, 3353747414, 2531188641, 2019080857, 1475708069, 455242339, 2609103871, 448939670, 3451063019, 1395535956, 2413381860, 1841049896, 1491858159, 885456874, 4264095073, 4001119347, 1565136089, 3898914787, 1108368660, 540939232, 1173283510, 2745871338, 3681308437, 4207628240, 3343053890, 4016749493, 1699691293, 1103962373, 3625875870, 2256883143, 3830138730, 1031889488, 3479347698, 1535977030, 4236805024, 3251091107, 2132092099, 1774941330, 1199868427, 1452454533, 157007616, 2904115357, 342012276, 595725824, 1480756522, 206960106, 497939518, 591360097, 863170706, 2375253569, 3596610801, 1814182875, 2094937945, 3421402208, 1082520231, 3463918190, 2785509508, 435703966, 3908032597, 1641649973, 2842273706, 3305899714, 1510255612, 2148256476, 2655287854, 3276092548, 4258621189, 236887753, 3681803219, 274041037, 1734335097, 3815195456, 3317970021, 1899903192, 1026095262, 4050517792, 356393447, 2410691914, 3873677099, 3682840055], [3913112168, 2491498743, 4132185628, 2489919796, 1091903735, 1979897079, 3170134830, 3567386728, 3557303409, 857797738, 1136121015, 1342202287, 507115054, 2535736646, 337727348, 3213592640, 1301675037, 2528481711, 1895095763, 1721773893, 3216771564, 62756741, 2142006736, 835421444, 2531993523, 1442658625, 3659876326, 2882144922, 676362277, 1392781812, 170690266, 3921047035, 1759253602, 3611846912, 1745797284, 664899054, 1329594018, 3901205900, 3045908486, 2062866102, 2865634940, 3543621612, 3464012697, 1080764994, 553557557, 3656615353, 3996768171, 991055499, 499776247, 1265440854, 648242737, 3940784050, 980351604, 3713745714, 1749149687, 3396870395, 4211799374, 3640570775, 1161844396, 3125318951, 1431517754, 545492359, 4268468663, 3499529547, 1437099964, 2702547544, 3433638243, 2581715763, 2787789398, 1060185593, 1593081372, 2418618748, 4260947970, 69676912, 2159744348, 86519011, 2512459080, 3838209314, 1220612927, 3339683548, 133810670, 1090789135, 1078426020, 1569222167, 845107691, 3583754449, 4072456591, 1091646820, 628848692, 1613405280, 3757631651, 526609435, 236106946, 48312990, 2942717905, 3402727701, 1797494240, 859738849, 992217954, 4005476642, 2243076622, 3870952857, 3732016268, 765654824, 3490871365, 2511836413, 1685915746, 3888969200, 1414112111, 2273134842, 3281911079, 4080962846, 172450625, 2569994100, 980381355, 4109958455, 2819808352, 2716589560, 2568741196, 3681446669, 3329971472, 1835478071, 660984891, 3704678404, 4045999559, 3422617507, 3040415634, 1762651403, 1719377915, 3470491036, 2693910283, 3642056355, 3138596744, 1364962596, 2073328063, 1983633131, 926494387, 3423689081, 2150032023, 4096667949, 1749200295, 3328846651, 309677260, 2016342300, 1779581495, 3079819751, 111262694, 1274766160, 443224088, 298511866, 1025883608, 3806446537, 1145181785, 168956806, 3641502830, 3584813610, 1689216846, 3666258015, 3200248200, 1692713982, 2646376535, 4042768518, 1618508792, 1610833997, 3523052358, 4130873264, 2001055236, 3610705100, 2202168115, 4028541809, 2961195399, 1006657119, 2006996926, 3186142756, 1430667929, 3210227297, 1314452623, 4074634658, 4101304120, 2273951170, 1399257539, 3367210612, 3027628629, 1190975929, 2062231137, 2333990788, 2221543033, 2438960610, 1181637006, 548689776, 2362791313, 3372408396, 3104550113, 3145860560, 296247880, 1970579870, 3078560182, 3769228297, 1714227617, 3291629107, 3898220290, 166772364, 1251581989, 493813264, 448347421, 195405023, 2709975567, 677966185, 3703036547, 1463355134, 2715995803, 1338867538, 1343315457, 2802222074, 2684532164, 233230375, 2599980071, 2000651841, 3277868038, 1638401717, 4028070440, 3237316320, 6314154, 819756386, 300326615, 590932579, 1405279636, 3267499572, 3150704214, 2428286686, 3959192993, 3461946742, 1862657033, 1266418056, 963775037, 2089974820, 2263052895, 1917689273, 448879540, 3550394620, 3981727096, 150775221, 3627908307, 1303187396, 508620638, 2975983352, 2726630617, 1817252668, 1876281319, 1457606340, 908771278, 3720792119, 3617206836, 2455994898, 1729034894, 1080033504], [976866871, 3556439503, 2881648439, 1522871579, 1555064734, 1336096578, 3548522304, 2579274686, 3574697629, 3205460757, 3593280638, 3338716283, 3079412587, 564236357, 2993598910, 1781952180, 1464380207, 3163844217, 3332601554, 1699332808, 1393555694, 1183702653, 3581086237, 1288719814, 691649499, 2847557200, 2895455976, 3193889540, 2717570544, 1781354906, 1676643554, 2592534050, 3230253752, 1126444790, 2770207658, 2633158820, 2210423226, 2615765581, 2414155088, 3127139286, 673620729, 2805611233, 1269405062, 4015350505, 3341807571, 4149409754, 1057255273, 2012875353, 2162469141, 2276492801, 2601117357, 993977747, 3918593370, 2654263191, 753973209, 36408145, 2530585658, 25011837, 3520020182, 2088578344, 530523599, 2918365339, 1524020338, 1518925132, 3760827505, 3759777254, 1202760957, 3985898139, 3906192525, 674977740, 4174734889, 2031300136, 2019492241, 3983892565, 4153806404, 3822280332, 352677332, 2297720250, 60907813, 90501309, 3286998549, 1016092578, 2535922412, 2839152426, 457141659, 509813237, 4120667899, 652014361, 1966332200, 2975202805, 55981186, 2327461051, 676427537, 3255491064, 2882294119, 3433927263, 1307055953, 942726286, 933058658, 2468411793, 3933900994, 4215176142, 1361170020, 2001714738, 2830558078, 3274259782, 1222529897, 1679025792, 2729314320, 3714953764, 1770335741, 151462246, 3013232138, 1682292957, 1483529935, 471910574, 1539241949, 458788160, 3436315007, 1807016891, 3718408830, 978976581, 1043663428, 3165965781, 1927990952, 4200891579, 2372276910, 3208408903, 3533431907, 1412390302, 2931980059, 4132332400, 1947078029, 3881505623, 4168226417, 2941484381, 1077988104, 1320477388, 886195818, 18198404, 3786409e3, 2509781533, 112762804, 3463356488, 1866414978, 891333506, 18488651, 661792760, 1628790961, 3885187036, 3141171499, 876946877, 2693282273, 1372485963, 791857591, 2686433993, 3759982718, 3167212022, 3472953795, 2716379847, 445679433, 3561995674, 3504004811, 3574258232, 54117162, 3331405415, 2381918588, 3769707343, 4154350007, 1140177722, 4074052095, 668550556, 3214352940, 367459370, 261225585, 2610173221, 4209349473, 3468074219, 3265815641, 314222801, 3066103646, 3808782860, 282218597, 3406013506, 3773591054, 379116347, 1285071038, 846784868, 2669647154, 3771962079, 3550491691, 2305946142, 453669953, 1268987020, 3317592352, 3279303384, 3744833421, 2610507566, 3859509063, 266596637, 3847019092, 517658769, 3462560207, 3443424879, 370717030, 4247526661, 2224018117, 4143653529, 4112773975, 2788324899, 2477274417, 1456262402, 2901442914, 1517677493, 1846949527, 2295493580, 3734397586, 2176403920, 1280348187, 1908823572, 3871786941, 846861322, 1172426758, 3287448474, 3383383037, 1655181056, 3139813346, 901632758, 1897031941, 2986607138, 3066810236, 3447102507, 1393639104, 373351379, 950779232, 625454576, 3124240540, 4148612726, 2007998917, 544563296, 2244738638, 2330496472, 2058025392, 1291430526, 424198748, 50039436, 29584100, 3605783033, 2429876329, 2791104160, 1057563949, 3255363231, 3075367218, 3463963227, 1469046755, 985887462]];
|
|
var o = {
|
|
pbox: [],
|
|
sbox: []
|
|
};
|
|
function g(F, S) {
|
|
let C = S >> 24 & 255
|
|
, w = S >> 16 & 255
|
|
, D = S >> 8 & 255
|
|
, k = S & 255
|
|
, I = F.sbox[0][C] + F.sbox[1][w];
|
|
return I = I ^ F.sbox[2][D],
|
|
I = I + F.sbox[3][k],
|
|
I
|
|
}
|
|
function b(F, S, C) {
|
|
let w = S, D = C, k;
|
|
for (let I = 0; I < h; ++I)
|
|
w = w ^ F.pbox[I],
|
|
D = g(F, w) ^ D,
|
|
k = w,
|
|
w = D,
|
|
D = k;
|
|
return k = w,
|
|
w = D,
|
|
D = k,
|
|
D = D ^ F.pbox[h],
|
|
w = w ^ F.pbox[h + 1],
|
|
{
|
|
left: w,
|
|
right: D
|
|
}
|
|
}
|
|
function y(F, S, C) {
|
|
let w = S, D = C, k;
|
|
for (let I = h + 1; I > 1; --I)
|
|
w = w ^ F.pbox[I],
|
|
D = g(F, w) ^ D,
|
|
k = w,
|
|
w = D,
|
|
D = k;
|
|
return k = w,
|
|
w = D,
|
|
D = k,
|
|
D = D ^ F.pbox[1],
|
|
w = w ^ F.pbox[0],
|
|
{
|
|
left: w,
|
|
right: D
|
|
}
|
|
}
|
|
function A(F, S, C) {
|
|
for (let H = 0; H < 4; H++) {
|
|
F.sbox[H] = [];
|
|
for (let N = 0; N < 256; N++)
|
|
F.sbox[H][N] = s[H][N]
|
|
}
|
|
let w = 0;
|
|
for (let H = 0; H < h + 2; H++)
|
|
F.pbox[H] = p[H] ^ S[w],
|
|
w++,
|
|
w >= C && (w = 0);
|
|
let D = 0
|
|
, k = 0
|
|
, I = 0;
|
|
for (let H = 0; H < h + 2; H += 2)
|
|
I = b(F, D, k),
|
|
D = I.left,
|
|
k = I.right,
|
|
F.pbox[H] = D,
|
|
F.pbox[H + 1] = k;
|
|
for (let H = 0; H < 4; H++)
|
|
for (let N = 0; N < 256; N += 2)
|
|
I = b(F, D, k),
|
|
D = I.left,
|
|
k = I.right,
|
|
F.sbox[H][N] = D,
|
|
F.sbox[H][N + 1] = k;
|
|
return !0
|
|
}
|
|
var E = m.Blowfish = a.extend({
|
|
_doReset: function() {
|
|
if (this._keyPriorReset !== this._key) {
|
|
var F = this._keyPriorReset = this._key
|
|
, S = F.words
|
|
, C = F.sigBytes / 4;
|
|
A(o, S, C)
|
|
}
|
|
},
|
|
encryptBlock: function(F, S) {
|
|
var C = b(o, F[S], F[S + 1]);
|
|
F[S] = C.left,
|
|
F[S + 1] = C.right
|
|
},
|
|
decryptBlock: function(F, S) {
|
|
var C = y(o, F[S], F[S + 1]);
|
|
F[S] = C.left,
|
|
F[S + 1] = C.right
|
|
},
|
|
blockSize: 64 / 32,
|
|
keySize: 128 / 32,
|
|
ivSize: 64 / 32
|
|
});
|
|
t.Blowfish = a._createHelper(E)
|
|
}(),
|
|
f.Blowfish
|
|
})
|
|
}(xt)),
|
|
xt.exports
|
|
}
|
|
(function(i, e) {
|
|
(function(f, t, c) {
|
|
i.exports = t(U(), nr(), sn(), on(), _e(), hn(), Ce(), Ff(), Nr(), xn(), Sf(), un(), vn(), ln(), Zr(), bn(), ue(), q0(), pn(), mn(), gn(), yn(), An(), Bn(), _n(), Cn(), En(), Fn(), wn(), Dn(), Mn(), Sn(), zn(), Rn(), kn())
|
|
}
|
|
)(K, function(f) {
|
|
return f
|
|
})
|
|
}
|
|
)(pf);
|
|
var In = pf.exports;
|
|
const qn = fa(In);
|
|
be.CryptoJS = qn,
|
|
be.EC = Rt.ec,
|
|
Object.defineProperty(be, Symbol.toStringTag, {
|
|
value: "Module"
|
|
})
|
|
}((globalThis.CaptchaSDKDeps = {}));
|
|
//# sourceMappingURL=captcha-sdk.legacy-deps.umd.js.map
|
|
;let vmb = globalThis
|
|
, vmv = Object['defineProperty']
|
|
, vmx = Object['create']
|
|
, vmM = Object['getOwnPropertyDescriptor']
|
|
, vmq = Object['getOwnPropertyNames']
|
|
, vmw = Object['getOwnPropertySymbols']
|
|
, vmC = Object['setPrototypeOf']
|
|
, vmh = Object['getPrototypeOf']
|
|
, vma_c4692e = vmb['vma_c4692e'] || (vmb['vma_c4692e'] = {});
|
|
const vms_57d4be = (function() {
|
|
let j = [{
|
|
'_$Osgd1u': [0x70, 0x0, 0x0, 0x1, 0x28, null, 0x4, null, 0x34, null, 0x3, null, 0x70, 0x2, 0x0, 0x3, 0x29, null, 0x34, null, 0x4b, 0x0, 0x8, 0x1, 0x0, 0x4, 0x36, 0x1, 0x32, null, 0x70, 0x5, 0x0, 0x6, 0x28, null, 0x4, null, 0x34, null, 0x3, null, 0x4b, 0x5, 0x46, 0x7, 0x34, null, 0x5a, null, 0x0, 0x0, 0x5b, null, 0x8, 0x1, 0x4b, 0x5, 0x0, 0x8, 0x36, 0x2, 0x32, null, 0x70, 0x9, 0x0, 0x3, 0x29, null, 0x34, null, 0x4b, 0x9, 0x32, null, 0x8, 0x0, 0x4, null, 0x33, null, 0x3, null, 0x4b, 0xa, 0x4, null, 0x9, 0x0, 0x3, null, 0x8, 0x1, 0x7, 0x2, 0x8, 0x0, 0x4d, null, 0x47, 0xb, 0x6, 0x2, 0x0, 0x4, 0x36, 0x1, 0x3, null, 0x1, null, 0x38, null],
|
|
'_$q4le1S': ['exports', 'object', 'module', 'undefined', 0x1, 'define', 'function', 'amd', 0x2, 'globalThis', 'self', 'CaptchaSDKCore'],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x1,
|
|
'_$gEspkA': [null, null, null, null, 0x9, null, null, null, null, 0xf, null, null, null, null, 0x36, null, null, null, null, 0x17, null, null, null, 0x20, null, null, null, null, null, null, null, 0x36, null, null, null, 0x26, null, 0x2b, null, null, 0x2b],
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x70, 0x0, 0x0, 0x1, 0x29, null, 0x34, null, 0x4b, 0x0, 0x32, null, 0x4b, 0x2, 0x46, 0x3, 0x7, 0x0, 0x6, 0x0, 0x20, null, 0x4, null, 0x33, null, 0x3, null, 0x6, 0x0, 0x46, 0x4, 0x20, null, 0x4, null, 0x33, null, 0x3, null, 0x6, 0x0, 0x46, 0x5, 0x20, null, 0x34, null, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x8, 0x68, 0x1, 0x39, null, 0x6, 0x0, 0x38, null],
|
|
'_$q4le1S': ['window', 'undefined', 'globalThis', 'CaptchaSDKDeps', 'EC', 'CryptoJS', 'Error', 'CaptchaSDKDeps\x20not\x20found.\x20Please\x20load\x20captcha-sdk.legacy-deps.umd.js\x20before\x20captcha-sdk.legacy-core.umd.js', 0x1, '_0x201e58'],
|
|
'_$tI9RdU': 0x0,
|
|
'_$yF8BjS': 0x1,
|
|
'_$gEspkA': [null, null, null, null, null, 0x8, null, 0x9, null, null, null, null, null, null, 0x13, null, null, null, null, null, 0x19, null, null, null, null, 0x1f],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1,
|
|
'_$rRNHas': 0x9
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xd3, 0x0, 0x4, null, 0x46, 0x1, 0x0, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x7, 0x0, 0x4b, 0x4, 0x4, null, 0x46, 0x5, 0x6, 0x0, 0x5d, null, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x4b, 0x6, 0x0, 0x3, 0x36, 0x1, 0x7, 0x1, 0x4d, null, 0x4, null, 0xd3, 0x7, 0x46, 0x8, 0x47, 0x8, 0x3, null, 0x4, null, 0xd3, 0x7, 0x46, 0x9, 0x47, 0x9, 0x3, null, 0x4, null, 0xd3, 0x7, 0x46, 0xa, 0x47, 0xa, 0x3, null, 0x4, null, 0xd3, 0x7, 0x46, 0xb, 0x47, 0xb, 0x3, null, 0x4, null, 0x4b, 0xc, 0x4, null, 0x46, 0xd, 0x4b, 0xe, 0x4, null, 0x46, 0xf, 0x0, 0x10, 0x37, 0x0, 0x0, 0x11, 0xd, null, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x47, 0x12, 0x3, null, 0x4, null, 0x6, 0x1, 0x47, 0x13, 0x3, null, 0x7, 0x2, 0xd3, 0x0, 0x4, null, 0x46, 0x14, 0x6, 0x2, 0x1b, null, 0x1b, null, 0xd3, 0x7, 0x46, 0x15, 0x1b, null, 0x1b, null, 0x0, 0x16, 0x37, 0x2, 0x78, null, 0x7, 0x3, 0x4d, null, 0x4, null, 0xd3, 0x7, 0x46, 0x17, 0x47, 0x18, 0x3, null, 0x4, null, 0x4d, null, 0x4, null, 0x6, 0x3, 0x46, 0x19, 0x47, 0x19, 0x3, null, 0x4, null, 0x6, 0x3, 0x46, 0x1a, 0x47, 0x1a, 0x3, null, 0x4, null, 0x6, 0x3, 0x46, 0x1b, 0x47, 0x1b, 0x3, null, 0x47, 0x1c, 0x3, null, 0x38, null],
|
|
'_$q4le1S': ['_0x2c0533', 'generateRandomBytes', 0x10, 0x1, 'String', 'fromCharCode', 'btoa', '_0x2059ec', 'offset', 'duration', 'trail', 'fingerprint', 'Math', 'floor', 'Date', 'now', 0x0, 0x3e8, 'clientTimestamp', 'nonce', 'createEncryptedPayload', 'serverPublicKey', 0x2, 'captchaId', 'captcha_id', 'clientPublicKey', 'encryptedData', 'timestamp', 'encrypted'],
|
|
'_$tI9RdU': 0x0,
|
|
'_$yF8BjS': 0x4,
|
|
'_$QXYzLl': 0x1,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0xd7, 0x0, 0x3, null, 0x8, 0x1, 0xd7, 0x1, 0x3, null, 0xa0, null, 0x2, null, 0x0, 0x2, 0x64, null, 0xd3, 0x3, 0x0, 0x4, 0x36, 0x3, 0x38, null],
|
|
'_$q4le1S': ['_0x2059ec', '_0x2c0533', 0x2, '_0x1187cb', 0x3, '_0x1bfd95'],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x0,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1,
|
|
'_$rRNHas': 0x5
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xd3, 0x0, 0x0, 0x1, 0x68, 0x0, 0x38, null],
|
|
'_$q4le1S': ['_0x3e1837', 0x0, '_0x3b2e27'],
|
|
'_$tI9RdU': 0x0,
|
|
'_$yF8BjS': 0x0,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1,
|
|
'_$rRNHas': 0x2
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x1, 0x8, 0x0, 0x4f, null, 0x34, null, 0x8, 0x0, 0x8, 0x1, 0x4d, null, 0x4, null, 0x0, 0x0, 0x20, null, 0x47, 0x1, 0x3, null, 0x4, null, 0x0, 0x0, 0x20, null, 0x47, 0x2, 0x3, null, 0x4, null, 0x0, 0x0, 0x20, null, 0x47, 0x3, 0x3, null, 0x4, null, 0x8, 0x2, 0x47, 0x4, 0x3, null, 0xd3, 0x5, 0x0, 0x6, 0x36, 0x3, 0x32, null, 0x8, 0x0, 0x8, 0x1, 0x8, 0x2, 0x49, null, 0x38, null],
|
|
'_$q4le1S': [0x0, 'enumerable', 'configurable', 'writable', 'value', '_0x3b302b', 0x3],
|
|
'_$tI9RdU': 0x3,
|
|
'_$yF8BjS': 0x0,
|
|
'_$gEspkA': [null, null, null, null, null, 0x20, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x24],
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x8, 0x1, 0x6e, null, 0x0, 0x0, 0x29, null, 0x34, null, 0x8, 0x1, 0x0, 0x1, 0xa, null, 0x32, null, 0x8, 0x1, 0x8, 0x2, 0xd3, 0x2, 0x0, 0x3, 0x36, 0x3, 0x38, null],
|
|
'_$q4le1S': ['symbol', '', '_0x338586', 0x3],
|
|
'_$tI9RdU': 0x3,
|
|
'_$yF8BjS': 0x0,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, 0xc, null, null, null, 0xd],
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x3a, null, 0xd3, 0x0, 0x4, null, 0x46, 0x1, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0xd3, 0x3, 0x0, 0x2, 0x36, 0x1, 0x3, null, 0x3b, null, 0x32, null, 0xd5, 0x0, 0xd2, 0x0, 0x3c, 0x4, 0xd3, 0x4, 0xd3, 0x5, 0x0, 0x2, 0x36, 0x1, 0x3, null, 0xd6, 0x0, 0x32, null],
|
|
'_$q4le1S': ['_0x477996', 'next', 0x1, '_0x57003d', '_0x48e55f$$1', '_0x2ec31e'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x0,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x1b, null, null, null, null, null, null, null, null, null, 0x1b],
|
|
'_$KBAtmA': [null, null, [0x11, -0x1, 0x1b]],
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x3a, null, 0xd3, 0x0, 0x4, null, 0x46, 0x1, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0xd3, 0x3, 0x0, 0x2, 0x36, 0x1, 0x3, null, 0x3b, null, 0x32, null, 0xd5, 0x0, 0xd2, 0x0, 0x3c, 0x4, 0xd3, 0x4, 0xd3, 0x5, 0x0, 0x2, 0x36, 0x1, 0x3, null, 0xd6, 0x0, 0x32, null],
|
|
'_$q4le1S': ['_0x477996', 'throw', 0x1, '_0x57003d', '_0x5e6c3f$$1', '_0x2ec31e'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x0,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x1b, null, null, null, null, null, null, null, null, null, 0x1b],
|
|
'_$KBAtmA': [null, null, [0x11, -0x1, 0x1b]],
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x46, 0x0, 0x34, null, 0x8, 0x0, 0x46, 0x1, 0xd3, 0x2, 0x0, 0x3, 0x36, 0x1, 0x32, null, 0x4b, 0x4, 0x4, null, 0x46, 0x5, 0x8, 0x0, 0x46, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x4, null, 0x46, 0x6, 0xd3, 0x7, 0x1b, null, 0x1b, null, 0xd3, 0x8, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x37, 0x2, 0x38, null],
|
|
'_$q4le1S': ['done', 'value', '_0x31b8db', 0x1, 'Promise', 'resolve', 'then', '_0x22c83b', '_0x3ecad5', 0x2],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x0,
|
|
'_$gEspkA': [null, null, null, null, 0xb, null, null, null, null, null, 0x1e],
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0xd7, 0x0, 0x3, null, 0x8, 0x1, 0xd7, 0x1, 0x3, null, 0x1, null, 0xd7, 0x2, 0x3, null, 0x1, null, 0xd7, 0x3, 0x3, null, 0x1, null, 0xd7, 0x4, 0x3, null, 0x0, 0x5, 0x64, null, 0xd4, 0x2, 0x0, 0x6, 0x64, null, 0xd4, 0x3, 0x0, 0x7, 0x64, null, 0xd4, 0x4, 0xd3, 0x4, 0x7, 0x5, 0xd3, 0x8, 0x4, null, 0x46, 0x9, 0xd3, 0xa, 0x1b, null, 0x1b, null, 0xd3, 0xb, 0x1b, null, 0x1b, null, 0x0, 0xc, 0x37, 0x2, 0x4, null, 0xd4, 0x8, 0x4, null, 0x46, 0xd, 0x0, 0xe, 0x37, 0x0, 0x6, 0x5, 0x0, 0xf, 0x36, 0x1, 0x3, null],
|
|
'_$q4le1S': ['_0x31b8db', '_0x2ec31e', '_0x22c83b', '_0x3ecad5', '_0x57003d', 0x7, 0x8, 0x9, '_0x477996', 'apply', '_0x1b109b', '_0x47042e', 0x2, 'next', 0x0, 0x1],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x3,
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0xd7, 0x0, 0x3, null, 0x8, 0x1, 0xd7, 0x1, 0x3, null, 0x8, 0x2, 0xd7, 0x2, 0x3, null, 0x4b, 0x3, 0x0, 0x4, 0x64, null, 0x0, 0x5, 0x68, 0x1, 0x38, null],
|
|
'_$q4le1S': ['_0x1b109b', '_0x47042e', '_0x477996', 'Promise', 0xa, 0x1],
|
|
'_$tI9RdU': 0x3,
|
|
'_$yF8BjS': 0x0,
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x0, 0x0, 0xd3, 0x1, 0x0, 0x2, 0x36, 0x2, 0x3, null, 0xa0, null, 0x0, 0x3, 0xd3, 0x1, 0x0, 0x2, 0x36, 0x2, 0x3, null, 0xd3, 0x4, 0x0, 0x5, 0x36, 0x0, 0x7, 0x0, 0xa0, null, 0x6, 0x0, 0x46, 0x6, 0x0, 0x7, 0x0, 0x8, 0x68, 0x1, 0x47, 0x0, 0x3, null, 0xa0, null, 0x6, 0x0, 0x46, 0x3, 0x47, 0x3, 0x3, null],
|
|
'_$q4le1S': ['ec', '_0x58ff72', 0x2, 'CryptoJS', '_0x201e58', 0x0, 'EC', 'p256', 0x1],
|
|
'_$tI9RdU': 0x0,
|
|
'_$yF8BjS': 0x1,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x46, 0x0, 0x4, null, 0x46, 0x1, 0x0, 0x2, 0x37, 0x0, 0x7, 0x0, 0x6, 0x0, 0x4, null, 0x46, 0x3, 0x0, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x1, 0xa0, null, 0x4, null, 0x46, 0x6, 0x6, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x2, 0xa0, null, 0x4, null, 0x46, 0x7, 0xd3, 0x8, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x3, 0xa0, null, 0x4, null, 0x46, 0x9, 0x6, 0x3, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x4, 0xa0, null, 0x46, 0x0, 0x4, null, 0x46, 0xa, 0x6, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x4, 0x1b, null, 0x1b, null, 0x0, 0xb, 0x37, 0x2, 0x7, 0x5, 0x6, 0x0, 0x4, null, 0x46, 0xc, 0x6, 0x5, 0x4, null, 0x46, 0x3, 0x0, 0x2, 0x37, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x6, 0xa0, null, 0x4, null, 0x46, 0xd, 0x6, 0x6, 0x1b, null, 0x1b, null, 0x0, 0xe, 0x1b, null, 0x1b, null, 0x0, 0xb, 0x37, 0x2, 0x7, 0x7, 0xa0, null, 0x4, null, 0x46, 0xf, 0x6, 0x7, 0x1b, null, 0x1b, null, 0x0, 0x10, 0x1b, null, 0x1b, null, 0x0, 0xe, 0x1b, null, 0x1b, null, 0x0, 0x11, 0x37, 0x3, 0x7, 0x8, 0x4b, 0x12, 0x4, null, 0x46, 0x13, 0x4b, 0x14, 0x4, null, 0x46, 0x15, 0x0, 0x2, 0x37, 0x0, 0x0, 0x16, 0xd, null, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x7, 0x9, 0xa0, null, 0x4, null, 0x46, 0x17, 0x4b, 0x18, 0x4, null, 0x46, 0x19, 0xd3, 0x1a, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x1b, null, 0x1b, null, 0x6, 0x8, 0x1b, null, 0x1b, null, 0x0, 0xb, 0x37, 0x2, 0x7, 0xa, 0x4d, null, 0x4, null, 0x6, 0x2, 0x47, 0x1b, 0x3, null, 0x4, null, 0x6, 0xa, 0x47, 0x1c, 0x3, null, 0x4, null, 0x6, 0x9, 0x47, 0x1d, 0x3, null, 0x38, null],
|
|
'_$q4le1S': ['ec', 'genKeyPair', 0x0, 'getPublic', 'hex', 0x1, 'hexToBase64', 'base64ToArrayBuffer', '_0x52ebda', 'arrayBufferToHex', 'keyFromPublic', 0x2, 'derive', 'bnToUint8Array', 0x20, 'hkdfSha256', 'captcha-encryption-v1', 0x3, 'Math', 'floor', 'Date', 'now', 0x3e8, 'encryptAesGcm', 'JSON', 'stringify', '_0x54b4c1', 'clientPublicKey', 'encryptedData', 'timestamp'],
|
|
'_$tI9RdU': 0x0,
|
|
'_$yF8BjS': 0xb,
|
|
'_$QXYzLl': 0x1,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0xd7, 0x0, 0x3, null, 0x8, 0x1, 0xd7, 0x1, 0x3, null, 0xa0, null, 0x2, null, 0x0, 0x2, 0x64, null, 0xd3, 0x3, 0x0, 0x4, 0x36, 0x3, 0x38, null],
|
|
'_$q4le1S': ['_0x54b4c1', '_0x52ebda', 0xd, '_0x1187cb', 0x3],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x0,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x46, 0x0, 0x7, 0x3, 0x6, 0x3, 0x46, 0x1, 0x46, 0x2, 0x4, null, 0x46, 0x3, 0x4b, 0x4, 0x0, 0x5, 0x0, 0x6, 0x68, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x7, 0x4, 0xa0, null, 0x4, null, 0x46, 0x7, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x7, 0x5, 0x6, 0x3, 0x4, null, 0x46, 0x8, 0x6, 0x5, 0x1b, null, 0x1b, null, 0x6, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x37, 0x2, 0x7, 0x6, 0x6, 0x3, 0x46, 0xa, 0x46, 0xb, 0x4, null, 0x46, 0xc, 0x8, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x7, 0x7, 0x4b, 0xd, 0x4, null, 0x46, 0xe, 0x8, 0x2, 0x0, 0x5, 0xd, null, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x7, 0x8, 0x6, 0x3, 0x46, 0x1, 0x46, 0x2, 0x4, null, 0x46, 0x3, 0x0, 0xf, 0x37, 0x0, 0x7, 0x9, 0x6, 0x3, 0x46, 0x1, 0x46, 0x2, 0x4, null, 0x46, 0x3, 0x0, 0xf, 0x37, 0x0, 0x7, 0xa, 0x0, 0x6, 0x7, 0xb, 0x6, 0xb, 0x6, 0x8, 0x2d, null, 0x34, null, 0x6, 0x3, 0x46, 0x1, 0x46, 0x2, 0x4, null, 0x46, 0x3, 0x5a, null, 0x6, 0xb, 0x0, 0x10, 0x18, null, 0x5b, null, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x37, 0x2, 0x7, 0xc, 0x6, 0xa, 0x4, null, 0x46, 0x11, 0x0, 0xf, 0x37, 0x0, 0x4, null, 0x46, 0x12, 0x6, 0x7, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x4, null, 0x46, 0x12, 0x6, 0xc, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x7, 0xd, 0x6, 0x3, 0x4, null, 0x46, 0x8, 0x6, 0xd, 0x1b, null, 0x1b, null, 0x6, 0x6, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x37, 0x2, 0x4, null, 0x7, 0xa, 0x3, null, 0x6, 0x9, 0x4, null, 0x46, 0x12, 0x6, 0xa, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x4, null, 0x7, 0x9, 0x3, null, 0x6, 0xb, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0xb, 0x3, null, 0x32, null, 0x6, 0x9, 0x8, 0x2, 0x47, 0x13, 0x3, null, 0xa0, null, 0x4, null, 0x46, 0x14, 0x6, 0x9, 0x1b, null, 0x1b, null, 0x0, 0x6, 0x37, 0x1, 0x38, null],
|
|
'_$q4le1S': ['CryptoJS', 'lib', 'WordArray', 'create', 'Uint8Array', 0x20, 0x1, 'uint8ArrayToWordArray', 'HmacSHA256', 0x2, 'enc', 'Utf8', 'parse', 'Math', 'ceil', 0x0, 0x18, 'clone', 'concat', 'sigBytes', 'wordArrayToUint8Array'],
|
|
'_$tI9RdU': 0x3,
|
|
'_$yF8BjS': 0xb,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x9a, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x50],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x4, null, 0x46, 0x0, 0x0, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x2, 0xa0, null, 0x4, null, 0x46, 0x3, 0x8, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x3, 0xa0, null, 0x4, null, 0x46, 0x3, 0x6, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x4, 0xa0, null, 0x4, null, 0x46, 0x4, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x6, 0x3, 0x1b, null, 0x1b, null, 0x6, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x3, 0x7, 0x5, 0x4b, 0x6, 0x6, 0x2, 0x46, 0x7, 0x6, 0x5, 0x46, 0x8, 0x46, 0x7, 0xa, null, 0x6, 0x5, 0x46, 0x9, 0x46, 0x7, 0xa, null, 0x0, 0x2, 0x68, 0x1, 0x7, 0x6, 0x6, 0x6, 0x4, null, 0x46, 0xa, 0x6, 0x2, 0x1b, null, 0x1b, null, 0x0, 0xb, 0x1b, null, 0x1b, null, 0x0, 0xc, 0x37, 0x2, 0x3, null, 0x6, 0x6, 0x4, null, 0x46, 0xa, 0x6, 0x5, 0x46, 0x8, 0x1b, null, 0x1b, null, 0x6, 0x2, 0x46, 0x7, 0x1b, null, 0x1b, null, 0x0, 0xc, 0x37, 0x2, 0x3, null, 0x6, 0x6, 0x4, null, 0x46, 0xa, 0x6, 0x5, 0x46, 0x9, 0x1b, null, 0x1b, null, 0x6, 0x2, 0x46, 0x7, 0x6, 0x5, 0x46, 0x8, 0x46, 0x7, 0xa, null, 0x1b, null, 0x1b, null, 0x0, 0xc, 0x37, 0x2, 0x3, null, 0xa0, null, 0x4, null, 0x46, 0xd, 0x6, 0x6, 0x46, 0xe, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x38, null],
|
|
'_$q4le1S': ['generateRandomBytes', 0xc, 0x1, 'uint8ArrayToWordArray', 'aesGcmEncrypt', 0x3, 'Uint8Array', 'length', 'ciphertext', 'authTag', 'set', 0x0, 0x2, 'arrayBufferToBase64', 'buffer'],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x5,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x46, 0x0, 0x7, 0x3, 0xa0, null, 0x4, null, 0x46, 0x1, 0x8, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x4, 0x6, 0x3, 0x46, 0x3, 0x46, 0x4, 0x4, null, 0x46, 0x5, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x5, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x7, 0x6, 0x6, 0x6, 0x4, null, 0x46, 0x8, 0x6, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x3, null, 0x6, 0x6, 0x0, 0xb, 0x0, 0x2, 0x49, null, 0x3, null, 0x4b, 0x6, 0x6, 0x6, 0x0, 0x2, 0x68, 0x1, 0x7, 0x7, 0x6, 0x7, 0x0, 0xb, 0x0, 0xa, 0x49, null, 0x3, null, 0xa0, null, 0x4, null, 0x46, 0xc, 0x6, 0x7, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0x8, 0x6, 0x3, 0x46, 0xd, 0x4, null, 0x46, 0xe, 0x6, 0x5, 0x1b, null, 0x1b, null, 0x8, 0x1, 0x1b, null, 0x1b, null, 0x4d, null, 0x4, null, 0x6, 0x3, 0x46, 0xf, 0x46, 0x10, 0x47, 0xf, 0x3, null, 0x4, null, 0x6, 0x8, 0x47, 0x11, 0x3, null, 0x4, null, 0x6, 0x3, 0x46, 0x12, 0x46, 0x13, 0x47, 0x14, 0x3, null, 0x1b, null, 0x1b, null, 0x0, 0x15, 0x37, 0x3, 0x7, 0x9, 0xa0, null, 0x4, null, 0x46, 0x1, 0x6, 0x9, 0x46, 0x16, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0xa, 0x6, 0x3, 0x46, 0x17, 0x46, 0x18, 0x4, null, 0x46, 0x19, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0xb, 0xa0, null, 0x4, null, 0x46, 0x1, 0x6, 0x3, 0x46, 0xd, 0x4, null, 0x46, 0xe, 0x6, 0xb, 0x1b, null, 0x1b, null, 0x8, 0x1, 0x1b, null, 0x1b, null, 0x4d, null, 0x4, null, 0x6, 0x3, 0x46, 0xf, 0x46, 0x1a, 0x47, 0xf, 0x3, null, 0x4, null, 0x6, 0x3, 0x46, 0x12, 0x46, 0x13, 0x47, 0x14, 0x3, null, 0x1b, null, 0x1b, null, 0x0, 0x15, 0x37, 0x3, 0x46, 0x16, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0xc, 0xa0, null, 0x4, null, 0x46, 0x1, 0x6, 0x3, 0x46, 0xd, 0x4, null, 0x46, 0xe, 0xa0, null, 0x4, null, 0x46, 0xc, 0x6, 0x6, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x1b, null, 0x1b, null, 0x8, 0x1, 0x1b, null, 0x1b, null, 0x4d, null, 0x4, null, 0x6, 0x3, 0x46, 0xf, 0x46, 0x1a, 0x47, 0xf, 0x3, null, 0x4, null, 0x6, 0x3, 0x46, 0x12, 0x46, 0x13, 0x47, 0x14, 0x3, null, 0x1b, null, 0x1b, null, 0x0, 0x15, 0x37, 0x3, 0x46, 0x16, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x7, 0xd, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x7, 0xe, 0x0, 0x9, 0x7, 0xf, 0x6, 0xf, 0x6, 0xa, 0x46, 0x1b, 0x2c, null, 0x34, null, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x7, 0x10, 0x6, 0x10, 0x4, null, 0x46, 0x8, 0x6, 0xa, 0x4, null, 0x46, 0x1c, 0x6, 0xf, 0x1b, null, 0x1b, null, 0x4b, 0x1d, 0x4, null, 0x46, 0x1e, 0x6, 0xf, 0x0, 0x7, 0xa, null, 0x1b, null, 0x1b, null, 0x6, 0xa, 0x46, 0x1b, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x9, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x3, null, 0x0, 0x9, 0x7, 0x11, 0x6, 0x11, 0x0, 0x7, 0x2c, null, 0x34, null, 0x6, 0xe, 0x6, 0x11, 0x48, null, 0x6, 0x10, 0x6, 0x11, 0x48, null, 0x16, null, 0x6, 0xe, 0x5, null, 0x6, 0x11, 0x5, null, 0x49, null, 0x3, null, 0x6, 0x11, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x11, 0x3, null, 0x32, null, 0xa0, null, 0x4, null, 0x46, 0x1f, 0x6, 0xe, 0x1b, null, 0x1b, null, 0x6, 0xc, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x4, null, 0x7, 0xe, 0x3, null, 0x6, 0xf, 0x0, 0x7, 0xa, null, 0x4, null, 0x7, 0xf, 0x3, null, 0x32, null, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x7, 0x12, 0x6, 0xa, 0x46, 0x1b, 0x0, 0x20, 0xc, null, 0x7, 0x13, 0x6, 0x12, 0x0, 0x21, 0x6, 0x13, 0x0, 0x22, 0x1a, null, 0x0, 0x23, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x12, 0x0, 0x24, 0x6, 0x13, 0x0, 0x7, 0x1a, null, 0x0, 0x23, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x12, 0x0, 0x25, 0x6, 0x13, 0x0, 0x20, 0x1a, null, 0x0, 0x23, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x12, 0x0, 0xb, 0x6, 0x13, 0x0, 0x23, 0x14, null, 0x49, null, 0x3, null, 0x0, 0x9, 0x7, 0x14, 0x6, 0x14, 0x0, 0x7, 0x2c, null, 0x34, null, 0x6, 0xe, 0x6, 0x14, 0x48, null, 0x6, 0x12, 0x6, 0x14, 0x48, null, 0x16, null, 0x6, 0xe, 0x5, null, 0x6, 0x14, 0x5, null, 0x49, null, 0x3, null, 0x6, 0x14, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x14, 0x3, null, 0x32, null, 0xa0, null, 0x4, null, 0x46, 0x1f, 0x6, 0xe, 0x1b, null, 0x1b, null, 0x6, 0xc, 0x1b, null, 0x1b, null, 0x0, 0xa, 0x37, 0x2, 0x4, null, 0x7, 0xe, 0x3, null, 0x4b, 0x6, 0x0, 0x7, 0x0, 0x2, 0x68, 0x1, 0x7, 0x15, 0x0, 0x9, 0x7, 0x16, 0x6, 0x16, 0x0, 0x7, 0x2c, null, 0x34, null, 0x6, 0x15, 0x6, 0x16, 0x6, 0xe, 0x6, 0x16, 0x48, null, 0x6, 0xd, 0x6, 0x16, 0x48, null, 0x16, null, 0x49, null, 0x3, null, 0x6, 0x16, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x16, 0x3, null, 0x32, null, 0x4d, null, 0x4, null, 0x6, 0xa, 0x47, 0x16, 0x3, null, 0x4, null, 0x6, 0x15, 0x47, 0x26, 0x3, null, 0x38, null],
|
|
'_$q4le1S': ['CryptoJS', 'wordArrayToUint8Array', 0x1, 'enc', 'Utf8', 'parse', 'Uint8Array', 0x10, 'set', 0x0, 0x2, 0xf, 'uint8ArrayToWordArray', 'AES', 'encrypt', 'mode', 'CTR', 'iv', 'pad', 'NoPadding', 'padding', 0x3, 'ciphertext', 'lib', 'WordArray', 'create', 'ECB', 'length', 'subarray', 'Math', 'min', 'gfMult128', 0x8, 0xc, 0x18, 0xff, 0xd, 0xe, 'authTag'],
|
|
'_$tI9RdU': 0x3,
|
|
'_$yF8BjS': 0x14,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x12c, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x117, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xff, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xd0, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x172, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x15a, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x19d, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x187],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x4b, 0x0, 0x0, 0x1, 0x0, 0x2, 0x68, 0x1, 0x7, 0x2, 0x4b, 0x0, 0x8, 0x1, 0x0, 0x2, 0x68, 0x1, 0x7, 0x3, 0x0, 0x3, 0x7, 0x4, 0x6, 0x4, 0x0, 0x4, 0x2c, null, 0x34, null, 0x8, 0x0, 0x6, 0x4, 0x0, 0x5, 0x1a, null, 0x48, null, 0x0, 0x6, 0x6, 0x4, 0x0, 0x6, 0x14, null, 0xb, null, 0x1a, null, 0x0, 0x2, 0x14, null, 0x34, null, 0x0, 0x3, 0x7, 0x5, 0x6, 0x5, 0x0, 0x1, 0x2c, null, 0x34, null, 0x6, 0x2, 0x6, 0x5, 0x48, null, 0x6, 0x3, 0x6, 0x5, 0x48, null, 0x16, null, 0x6, 0x2, 0x5, null, 0x6, 0x5, 0x5, null, 0x49, null, 0x3, null, 0x6, 0x5, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x5, 0x3, null, 0x32, null, 0x6, 0x3, 0x0, 0x7, 0x48, null, 0x0, 0x2, 0x14, null, 0x7, 0x6, 0x0, 0x7, 0x7, 0x7, 0x6, 0x7, 0x0, 0x3, 0x2e, null, 0x34, null, 0x6, 0x3, 0x6, 0x7, 0x6, 0x3, 0x6, 0x7, 0x48, null, 0x0, 0x2, 0x1a, null, 0x6, 0x3, 0x6, 0x7, 0x0, 0x2, 0xb, null, 0x48, null, 0x0, 0x2, 0x14, null, 0x0, 0x6, 0x18, null, 0x15, null, 0x0, 0x8, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x7, 0x1c, null, 0x4, null, 0x11, null, 0x7, 0x7, 0x3, null, 0x32, null, 0x6, 0x3, 0x0, 0x3, 0x6, 0x3, 0x0, 0x3, 0x48, null, 0x0, 0x2, 0x1a, null, 0x0, 0x8, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x6, 0x4, null, 0x34, null, 0x3, null, 0x6, 0x3, 0x0, 0x3, 0x48, null, 0x0, 0x9, 0x16, null, 0x6, 0x3, 0x5, null, 0x0, 0x3, 0x5, null, 0x49, null, 0x3, null, 0x6, 0x4, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x4, 0x3, null, 0x32, null, 0x6, 0x2, 0x38, null],
|
|
'_$q4le1S': ['Uint8Array', 0x10, 0x1, 0x0, 0x80, 0x3, 0x7, 0xf, 0xff, 0xe1],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x6,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x83, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x3a, null, null, null, null, null, 0x3a, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x22, null, null, null, null, null, null, null, null, null, null, null, 0x62, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x42, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x7b, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xe],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x0, 0x0, 0x2d, null, 0x34, null, 0x4b, 0x1, 0x0, 0x2, 0x0, 0x3, 0x68, 0x1, 0x39, null, 0x70, 0x4, 0x0, 0x5, 0x29, null, 0x4, null, 0x34, null, 0x3, null, 0x4b, 0x4, 0x46, 0x6, 0x34, null, 0x4b, 0x7, 0x8, 0x0, 0x0, 0x3, 0x68, 0x1, 0x7, 0x1, 0x4b, 0x4, 0x4, null, 0x46, 0x6, 0x6, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x3, null, 0x6, 0x1, 0x38, null, 0xa0, null, 0x46, 0x8, 0x46, 0x9, 0x46, 0xa, 0x4, null, 0x46, 0xb, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x7, 0x2, 0xa0, null, 0x4, null, 0x46, 0xc, 0x6, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x38, null],
|
|
'_$q4le1S': [0x0, 'Error', 'Length\x20must\x20be\x20a\x20positive\x20number', 0x1, 'crypto', 'undefined', 'getRandomValues', 'Uint8Array', 'CryptoJS', 'lib', 'WordArray', 'random', 'wordArrayToUint8Array'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x2,
|
|
'_$gEspkA': [null, null, null, null, null, 0xb, null, null, null, null, null, null, null, null, null, 0x13, null, null, null, 0x24],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x4b, 0x0, 0x8, 0x0, 0x0, 0x1, 0x68, 0x1, 0x7, 0x1, 0x0, 0x2, 0x7, 0x2, 0x0, 0x3, 0x7, 0x3, 0x6, 0x3, 0x6, 0x1, 0x46, 0x4, 0x2c, null, 0x34, null, 0x6, 0x1, 0x6, 0x3, 0x48, null, 0x7, 0x4, 0x6, 0x4, 0x0, 0x3, 0xa3, null, 0x2b, null, 0x4, null, 0x34, null, 0x3, null, 0x6, 0x2, 0x4b, 0x5, 0x4, null, 0x46, 0x6, 0x6, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x1, 0x37, 0x1, 0xa, null, 0x4, null, 0x7, 0x2, 0x3, null, 0x6, 0x3, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x3, 0x3, null, 0x32, null, 0x6, 0x2, 0x4b, 0x7, 0x0, 0x1, 0x36, 0x1, 0x38, null],
|
|
'_$q4le1S': ['Uint8Array', 0x1, '', 0x0, 'byteLength', 'String', 'fromCharCode', 'btoa'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x4,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x2f, null, null, null, null, null, null, null, null, null, 0x27, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xb],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x20, null, 0x4, null, 0x33, null, 0x3, null, 0x8, 0x0, 0x6e, null, 0x0, 0x0, 0x29, null, 0x34, null, 0x4b, 0x1, 0x0, 0x2, 0x0, 0x3, 0x68, 0x1, 0x39, null, 0x3a, null, 0x8, 0x0, 0x4b, 0x4, 0x0, 0x3, 0x36, 0x1, 0x7, 0x1, 0x4b, 0x5, 0x6, 0x1, 0x46, 0x6, 0x0, 0x3, 0x68, 0x1, 0x7, 0x2, 0x0, 0x7, 0x7, 0x3, 0x6, 0x3, 0x6, 0x1, 0x46, 0x6, 0x2c, null, 0x34, null, 0x6, 0x2, 0x6, 0x3, 0x6, 0x1, 0x4, null, 0x46, 0x8, 0x6, 0x3, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x49, null, 0x3, null, 0x6, 0x3, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x3, 0x3, null, 0x32, null, 0x6, 0x2, 0x46, 0x9, 0x38, null, 0x3b, null, 0x32, null, 0xd5, 0x0, 0xd2, 0x0, 0x3c, 0xa, 0x4b, 0x1, 0x0, 0xb, 0x0, 0x3, 0x68, 0x1, 0x39, null, 0xd6, 0x0, 0x32, null],
|
|
'_$q4le1S': ['string', 'Error', 'Invalid\x20base64\x20string', 0x1, 'atob', 'Uint8Array', 'length', 0x0, 'charCodeAt', 'buffer', '_0x4179c4$$1', 'Invalid\x20base64\x20encoding'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x3,
|
|
'_$gEspkA': [null, null, null, null, null, 0xb, null, null, null, null, null, 0x11, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x37, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x1f, null, null, null, null, 0x46, null, null, null, null, null, null, null, null, null, 0x46],
|
|
'_$KBAtmA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, [0x3c, -0x1, 0x46]],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x4b, 0x0, 0x8, 0x0, 0x46, 0x1, 0x0, 0x2, 0xd, null, 0x0, 0x3, 0x68, 0x1, 0x7, 0x1, 0x0, 0x4, 0x7, 0x2, 0x6, 0x2, 0x8, 0x0, 0x46, 0x1, 0x2c, null, 0x34, null, 0x6, 0x1, 0x6, 0x2, 0x0, 0x2, 0xd, null, 0x8, 0x0, 0x4, null, 0x46, 0x5, 0x6, 0x2, 0x1b, null, 0x1b, null, 0x6, 0x2, 0x0, 0x2, 0xa, null, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x2, 0x0, 0x6, 0x4b, 0x7, 0x0, 0x2, 0x36, 0x2, 0x49, null, 0x3, null, 0x6, 0x2, 0x0, 0x2, 0xa, null, 0x4, null, 0x7, 0x2, 0x3, null, 0x32, null, 0xa0, null, 0x4, null, 0x46, 0x8, 0x6, 0x1, 0x46, 0x9, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x38, null],
|
|
'_$q4le1S': ['Uint8Array', 'length', 0x2, 0x1, 0x0, 'substring', 0x10, 'parseInt', 'arrayBufferToBase64', 'buffer'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x2,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x2f, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xc],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x4, null, 0x46, 0x0, 0x0, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x4, null, 0x46, 0x3, 0x0, 0x4, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x1b, null, 0x1b, null, 0x0, 0x4, 0x37, 0x2, 0x38, null],
|
|
'_$q4le1S': ['toString', 0x10, 0x1, 'padStart', 0x2, '0'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x0,
|
|
'_$MwTdJh': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x4b, 0x0, 0x8, 0x0, 0x0, 0x1, 0x68, 0x1, 0x7, 0x1, 0x4b, 0x2, 0x4, null, 0x46, 0x3, 0x6, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x1, 0x37, 0x1, 0x4, null, 0x46, 0x4, 0x0, 0x5, 0x64, null, 0x1b, null, 0x1b, null, 0x0, 0x1, 0x37, 0x1, 0x4, null, 0x46, 0x6, 0x0, 0x7, 0x1b, null, 0x1b, null, 0x0, 0x1, 0x37, 0x1, 0x38, null],
|
|
'_$q4le1S': ['Uint8Array', 0x1, 'Array', 'from', 'map', 0x17, 'join', ''],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x1,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x4, null, 0x46, 0x0, 0x0, 0x1, 0x1b, null, 0x1b, null, 0x0, 0x2, 0x37, 0x1, 0x4, null, 0x46, 0x3, 0x8, 0x1, 0x0, 0x4, 0xc, null, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x1b, null, 0x1b, null, 0x0, 0x4, 0x37, 0x2, 0x7, 0x2, 0x4b, 0x6, 0x8, 0x1, 0x0, 0x2, 0x68, 0x1, 0x7, 0x3, 0x0, 0x7, 0x7, 0x4, 0x6, 0x4, 0x8, 0x1, 0x2c, null, 0x34, null, 0x6, 0x3, 0x6, 0x4, 0x6, 0x2, 0x4, null, 0x46, 0x8, 0x6, 0x4, 0x0, 0x4, 0xc, null, 0x1b, null, 0x1b, null, 0x6, 0x4, 0x0, 0x4, 0xc, null, 0x0, 0x4, 0xa, null, 0x1b, null, 0x1b, null, 0x0, 0x4, 0x37, 0x2, 0x0, 0x1, 0x4b, 0x9, 0x0, 0x4, 0x36, 0x2, 0x49, null, 0x3, null, 0x6, 0x4, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x4, 0x3, null, 0x32, null, 0x6, 0x3, 0x38, null],
|
|
'_$q4le1S': ['toString', 0x10, 0x1, 'padStart', 0x2, '0', 'Uint8Array', 0x0, 'substring', 'parseInt'],
|
|
'_$tI9RdU': 0x2,
|
|
'_$yF8BjS': 0x3,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x42, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x1e],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0xa0, null, 0x46, 0x0, 0x7, 0x1, 0x5a, null, 0x7, 0x2, 0x0, 0x1, 0x7, 0x3, 0x6, 0x3, 0x8, 0x0, 0x46, 0x2, 0x2c, null, 0x34, null, 0x6, 0x2, 0x4, null, 0x46, 0x3, 0x8, 0x0, 0x6, 0x3, 0x48, null, 0x4, null, 0x33, null, 0x3, null, 0x0, 0x1, 0x0, 0x4, 0x18, null, 0x8, 0x0, 0x6, 0x3, 0x0, 0x5, 0xa, null, 0x48, null, 0x4, null, 0x33, null, 0x3, null, 0x0, 0x1, 0x0, 0x6, 0x18, null, 0x15, null, 0x8, 0x0, 0x6, 0x3, 0x0, 0x7, 0xa, null, 0x48, null, 0x4, null, 0x33, null, 0x3, null, 0x0, 0x1, 0x0, 0x8, 0x18, null, 0x15, null, 0x8, 0x0, 0x6, 0x3, 0x0, 0x9, 0xa, null, 0x48, null, 0x4, null, 0x33, null, 0x3, null, 0x0, 0x1, 0x15, null, 0x1b, null, 0x1b, null, 0x0, 0x5, 0x37, 0x1, 0x3, null, 0x6, 0x3, 0x0, 0xa, 0xa, null, 0x4, null, 0x7, 0x3, 0x3, null, 0x32, null, 0x6, 0x1, 0x46, 0xb, 0x46, 0xc, 0x4, null, 0x46, 0xd, 0x6, 0x2, 0x1b, null, 0x1b, null, 0x8, 0x0, 0x46, 0x2, 0x1b, null, 0x1b, null, 0x0, 0x7, 0x37, 0x2, 0x38, null],
|
|
'_$q4le1S': ['CryptoJS', 0x0, 'length', 'push', 0x18, 0x1, 0x10, 0x2, 0x8, 0x3, 0x4, 'lib', 'WordArray', 'create'],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x3,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, 0x48, null, null, null, null, null, null, null, 0x18, null, null, null, null, null, null, null, null, null, null, 0x23, null, null, null, null, null, null, null, null, null, null, null, 0x2f, null, null, null, null, null, null, null, null, null, null, null, 0x3b, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x9],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd5, 0x0, 0xd2, 0x0, 0x8, 0x0, 0x46, 0x0, 0x7, 0x2, 0x8, 0x0, 0x46, 0x1, 0x7, 0x3, 0x4b, 0x2, 0x6, 0x3, 0x0, 0x3, 0x68, 0x1, 0x7, 0x4, 0x0, 0x4, 0x7, 0x5, 0x6, 0x5, 0x6, 0x3, 0x2c, null, 0x34, null, 0x6, 0x4, 0x6, 0x5, 0x6, 0x2, 0x4b, 0x5, 0x4, null, 0x46, 0x6, 0x6, 0x5, 0x0, 0x7, 0xd, null, 0x1b, null, 0x1b, null, 0x0, 0x3, 0x37, 0x1, 0x48, null, 0x4, null, 0x7, 0x1, 0x2, null, 0x29, null, 0x34, null, 0x6, 0x1, 0x32, null, 0x0, 0x4, 0x0, 0x8, 0x6, 0x5, 0x0, 0x7, 0xe, null, 0x0, 0x9, 0xc, null, 0xb, null, 0x19, null, 0x0, 0xa, 0x14, null, 0x49, null, 0x3, null, 0x6, 0x5, 0x1c, null, 0x4, null, 0x10, null, 0x7, 0x5, 0x3, null, 0x32, null, 0x6, 0x4, 0x38, null],
|
|
'_$q4le1S': ['words', 'sigBytes', 'Uint8Array', 0x1, 0x0, 'Math', 'floor', 0x4, 0x18, 0x8, 0xff],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x5,
|
|
'_$gEspkA': [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x3c, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0x28, null, 0x29, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0xf],
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}, {
|
|
'_$Osgd1u': [0xd2, 0x0, 0x0, 0x0, 0x64, null, 0x4, null, 0x7, 0x1, 0xd7, 0x1, 0x0, 0x2, 0x64, null, 0x7, 0x2, 0x0, 0x3, 0x64, null, 0x7, 0x3, 0x1, null, 0xd7, 0x4, 0x3, null, 0x1, null, 0xd7, 0x5, 0x3, null, 0x1, null, 0xd7, 0x6, 0x3, null, 0x1, null, 0xd7, 0x7, 0x3, null, 0xda, 0x8, 0x0, 0x9, 0x3, null, 0x4b, 0xa, 0x46, 0xb, 0xd4, 0x4, 0x0, 0xc, 0x64, null, 0xd4, 0x5, 0x0, 0xd, 0x64, null, 0xd4, 0x6, 0x0, 0xe, 0x64, null, 0xd4, 0x7, 0xda, 0x8, 0x0, 0xf, 0x64, null, 0x0, 0x8, 0x8c, 0x0, 0x0, 0x10, 0x64, null, 0x90, 0x11, 0x0, 0x12, 0x64, null, 0x90, 0x13, 0x0, 0x14, 0x64, null, 0x90, 0x15, 0x0, 0x16, 0x64, null, 0x90, 0x17, 0x0, 0x18, 0x64, null, 0x90, 0x19, 0x0, 0x1a, 0x64, null, 0x90, 0x1b, 0x0, 0x1c, 0x64, null, 0x90, 0x1d, 0x0, 0x1e, 0x64, null, 0x90, 0x1f, 0x0, 0x20, 0x64, null, 0x90, 0x21, 0x0, 0x22, 0x64, null, 0x90, 0x23, 0x0, 0x24, 0x64, null, 0x90, 0x25, 0x0, 0x26, 0x64, null, 0x90, 0x27, 0x0, 0x28, 0x64, null, 0x90, 0x29, 0xd7, 0x8, 0x8, 0x0, 0xd3, 0x8, 0x47, 0x2a, 0x3, null, 0x8, 0x0, 0x6, 0x2, 0x47, 0x2b, 0x3, null, 0x8, 0x0, 0x6, 0x3, 0x47, 0x2c, 0x3, null, 0x4b, 0xa, 0x4, null, 0x46, 0xb, 0x8, 0x0, 0x1b, null, 0x1b, null, 0x4b, 0x2d, 0x46, 0x2e, 0x1b, null, 0x1b, null, 0x4d, null, 0x4, null, 0x0, 0x2f, 0x47, 0x30, 0x3, null, 0x1b, null, 0x1b, null, 0x0, 0x31, 0x37, 0x3, 0x3, null, 0xd6, 0x0, 0x1, null, 0x38, null],
|
|
'_$q4le1S': [0x1, '_0x201e58', 0x3, 0x4, '_0x3b302b', '_0x338586', '_0x58ff72', '_0x1187cb', '_0x3e1837', 'use\x20strict', 'Object', 'defineProperty', 0x5, 0x6, 0xb, 0xc, 0xe, 'createEncryptedPayload', 0xf, 'hkdfSha256', 0x10, 'encryptAesGcm', 0x11, 'aesGcmEncrypt', 0x12, 'gfMult128', 0x13, 'generateRandomBytes', 0x14, 'arrayBufferToBase64', 0x15, 'base64ToArrayBuffer', 0x16, 'hexToBase64', 0x18, 'arrayBufferToHex', 0x19, 'bnToUint8Array', 0x1a, 'uint8ArrayToWordArray', 0x1b, 'wordArrayToUint8Array', 'CryptoManagerFallback', 'buildEncryptedVerifyRequest', 'createCryptoManager', 'Symbol', 'toStringTag', 'Module', 'value', 0x3],
|
|
'_$tI9RdU': 0x1,
|
|
'_$yF8BjS': 0x8,
|
|
'_$uisd1r': 0x1,
|
|
'_$BJA997': 0x1
|
|
}]
|
|
, t = (function() {
|
|
let K = j;
|
|
j = null;
|
|
let d = null;
|
|
for (let f = 0x0; f < K['length']; f++) {
|
|
let X = K[f];
|
|
if (X && X['_$q4le1S'])
|
|
for (let Y = 0x0; Y < X['_$q4le1S']['length']; Y++) {
|
|
let R = X['_$q4le1S'][Y];
|
|
if (typeof R === 'string' && R['length'] > 0x1 && R[R['length'] - 0x1] === 'n')
|
|
try {
|
|
X['_$q4le1S'][Y] = BigInt(R['slice'](0x0, -0x1));
|
|
} catch (o) {}
|
|
}
|
|
}
|
|
if (d) {
|
|
let D = {};
|
|
return function(u) {
|
|
let e0 = d[u];
|
|
if (e0 in D)
|
|
return D[e0];
|
|
return D[e0] = K[e0],
|
|
K[e0] = null,
|
|
D[e0];
|
|
}
|
|
;
|
|
}
|
|
return function(u) {
|
|
return K[u];
|
|
}
|
|
;
|
|
}())
|
|
, A = {
|
|
'0': 0x142,
|
|
'1': 0x7,
|
|
'2': 0x151,
|
|
'3': 0x23,
|
|
'4': 0x146,
|
|
'5': 0x16d,
|
|
'6': 0x6,
|
|
'7': 0x1ad,
|
|
'8': 0xd0,
|
|
'9': 0x68,
|
|
'10': 0xa7,
|
|
'11': 0x7e,
|
|
'12': 0xc,
|
|
'13': 0x162,
|
|
'14': 0x172,
|
|
'15': 0x1a3,
|
|
'16': 0x13e,
|
|
'17': 0x13a,
|
|
'18': 0x8c,
|
|
'19': 0x1d9,
|
|
'20': 0x78,
|
|
'21': 0x16b,
|
|
'22': 0x110,
|
|
'23': 0x72,
|
|
'24': 0xea,
|
|
'25': 0xcc,
|
|
'26': 0xf9,
|
|
'27': 0x157,
|
|
'28': 0x105,
|
|
'29': 0x92,
|
|
'32': 0x125,
|
|
'40': 0x14c,
|
|
'41': 0xda,
|
|
'42': 0xc1,
|
|
'43': 0xed,
|
|
'44': 0x163,
|
|
'45': 0x1c6,
|
|
'46': 0x63,
|
|
'47': 0x1f7,
|
|
'50': 0xf2,
|
|
'51': 0xa5,
|
|
'52': 0x1f1,
|
|
'53': 0x17f,
|
|
'54': 0x16e,
|
|
'55': 0x60,
|
|
'56': 0xd6,
|
|
'57': 0xc2,
|
|
'58': 0x99,
|
|
'59': 0xa1,
|
|
'60': 0xb5,
|
|
'61': 0x57,
|
|
'62': 0x1ce,
|
|
'63': 0xfd,
|
|
'64': 0x1c3,
|
|
'65': 0x1e2,
|
|
'70': 0x12f,
|
|
'71': 0x5d,
|
|
'72': 0x1eb,
|
|
'73': 0x1f9,
|
|
'74': 0x1da,
|
|
'75': 0x1af,
|
|
'76': 0xaf,
|
|
'77': 0x47,
|
|
'78': 0xcd,
|
|
'79': 0x194,
|
|
'80': 0x1e6,
|
|
'81': 0x1dd,
|
|
'82': 0x1a6,
|
|
'83': 0x112,
|
|
'84': 0xf,
|
|
'90': 0x141,
|
|
'91': 0x42,
|
|
'92': 0x18d,
|
|
'93': 0x129,
|
|
'94': 0xd3,
|
|
'95': 0x15b,
|
|
'100': 0x4e,
|
|
'101': 0x181,
|
|
'102': 0x127,
|
|
'103': 0x1a2,
|
|
'104': 0x1cb,
|
|
'105': 0x1c8,
|
|
'106': 0x1d,
|
|
'107': 0x12c,
|
|
'110': 0x1ef,
|
|
'111': 0xe3,
|
|
'112': 0xb6,
|
|
'120': 0x12,
|
|
'121': 0x1bb,
|
|
'122': 0x118,
|
|
'123': 0x178,
|
|
'124': 0x1c4,
|
|
'125': 0xec,
|
|
'126': 0x7d,
|
|
'127': 0x116,
|
|
'128': 0x62,
|
|
'129': 0x2d,
|
|
'130': 0x1d8,
|
|
'131': 0x14a,
|
|
'132': 0x10,
|
|
'140': 0xae,
|
|
'141': 0x1f0,
|
|
'142': 0xe5,
|
|
'143': 0xb9,
|
|
'144': 0xcb,
|
|
'145': 0xab,
|
|
'146': 0x9d,
|
|
'147': 0x102,
|
|
'148': 0x1d2,
|
|
'149': 0x136,
|
|
'150': 0xc5,
|
|
'151': 0x183,
|
|
'152': 0x1d0,
|
|
'153': 0x1f5,
|
|
'154': 0xd4,
|
|
'155': 0x87,
|
|
'156': 0x1e5,
|
|
'157': 0x182,
|
|
'158': 0x117,
|
|
'160': 0x70,
|
|
'161': 0x166,
|
|
'162': 0x28,
|
|
'163': 0x8a,
|
|
'164': 0x2c,
|
|
'165': 0x154,
|
|
'166': 0x65,
|
|
'167': 0x158,
|
|
'168': 0x19b,
|
|
'169': 0xc0,
|
|
'180': 0x1f2,
|
|
'181': 0x59,
|
|
'182': 0x24,
|
|
'183': 0x1c2,
|
|
'184': 0x4,
|
|
'185': 0x1ae,
|
|
'200': 0x48,
|
|
'201': 0x11d,
|
|
'202': 0x1e7,
|
|
'210': 0x1a,
|
|
'211': 0xbb,
|
|
'212': 0x193,
|
|
'213': 0x91,
|
|
'214': 0x177,
|
|
'215': 0x7c,
|
|
'216': 0x16a,
|
|
'217': 0x8,
|
|
'218': 0xde,
|
|
'219': 0x1f8,
|
|
'220': 0xc9,
|
|
'250': 0x4c,
|
|
'251': 0x1fd,
|
|
'252': 0x1ea,
|
|
'253': 0x9e,
|
|
'254': 0x29,
|
|
'255': 0x55,
|
|
'256': 0x1a8,
|
|
'257': 0x180,
|
|
'258': 0x1bd,
|
|
'259': 0xf1,
|
|
'260': 0x1b3,
|
|
'261': 0x17
|
|
};
|
|
const s = {}
|
|
, I = 0x1
|
|
, N = 0x2
|
|
, W = 0x3
|
|
, a = 0x4
|
|
, S = 0x78
|
|
, c = 0x79
|
|
, b = 0x7a
|
|
, B = typeof 0x0n
|
|
, i = Object['freeze']([]);
|
|
let v = new WeakSet()
|
|
, x = new WeakSet();
|
|
function M(K, d, f) {
|
|
try {
|
|
vmv(K, d, f);
|
|
} catch (X) {}
|
|
}
|
|
function q(K, d) {
|
|
let f = new Array(d)
|
|
, X = ![];
|
|
for (let R = d - 0x1; R >= 0x0; R--) {
|
|
let o = K();
|
|
o && typeof o === 'object' && v['has'](o) ? (X = !![],
|
|
f[R] = o) : f[R] = o;
|
|
}
|
|
if (!X)
|
|
return f;
|
|
let Y = [];
|
|
for (let D = 0x0; D < d; D++) {
|
|
let u = f[D];
|
|
if (u && typeof u === 'object' && v['has'](u)) {
|
|
let e0 = u['value'];
|
|
if (Array['isArray'](e0)) {
|
|
for (let e1 = 0x0; e1 < e0['length']; e1++)
|
|
Y['push'](e0[e1]);
|
|
}
|
|
} else
|
|
Y['push'](u);
|
|
}
|
|
return Y;
|
|
}
|
|
function w(K) {
|
|
let d = [];
|
|
for (let f in K) {
|
|
d['push'](f);
|
|
}
|
|
return d;
|
|
}
|
|
function C(K) {
|
|
return Array['prototype']['slice']['call'](K);
|
|
}
|
|
function h(K) {
|
|
return typeof K === 'function' && K['prototype'] ? K['prototype'] : K;
|
|
}
|
|
function G(K) {
|
|
if (typeof K === 'function')
|
|
return vmh(K);
|
|
let d = vmh(K)
|
|
, f = d && d['constructor'] && (d['constructor']['prototype'] === d || vmh(d['constructor']['prototype']) === vmh(d));
|
|
if (f)
|
|
return vmh(d);
|
|
return d;
|
|
}
|
|
function y(K, d) {
|
|
let f = K;
|
|
while (f !== null) {
|
|
let X = vmM(f, d);
|
|
if (X)
|
|
return {
|
|
'desc': X,
|
|
'proto': f
|
|
};
|
|
f = vmh(f);
|
|
}
|
|
return {
|
|
'desc': null,
|
|
'proto': K
|
|
};
|
|
}
|
|
function m(K, d) {
|
|
if (!K['_$80pl7v'])
|
|
return;
|
|
d in K['_$80pl7v'] && delete K['_$80pl7v'][d];
|
|
let f = d['indexOf']('$$');
|
|
if (f !== -0x1) {
|
|
let X = d['substring'](0x0, f);
|
|
X in K['_$80pl7v'] && delete K['_$80pl7v'][X];
|
|
}
|
|
}
|
|
function L(K, d) {
|
|
let f = K;
|
|
while (f) {
|
|
m(f, d),
|
|
f = f['_$SNb4fn'];
|
|
}
|
|
}
|
|
function H(K, d, f, X) {
|
|
if (X) {
|
|
let Y = Reflect['set'](K, d, f);
|
|
if (!Y)
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(d) + '\x27\x20of\x20object');
|
|
} else
|
|
Reflect['set'](K, d, f);
|
|
}
|
|
function E() {
|
|
return !vma_c4692e['_$1XPSq3'] && (vma_c4692e['_$1XPSq3'] = new Map()),
|
|
vma_c4692e['_$1XPSq3'];
|
|
}
|
|
function l() {
|
|
return vma_c4692e['_$1XPSq3'] || null;
|
|
}
|
|
function J(K, d, f) {
|
|
if (K['_$rRNHas'] === undefined || !f)
|
|
return;
|
|
let X = K['_$q4le1S'][K['_$rRNHas']];
|
|
!d['_$bwq1Pn'] && (d['_$bwq1Pn'] = vmx(null)),
|
|
d['_$bwq1Pn'][X] = f,
|
|
K['_$s32Hp8'] && (!d['_$0pzybI'] && (d['_$0pzybI'] = vmx(null)),
|
|
d['_$0pzybI'][X] = !![]),
|
|
M(f, 'name', {
|
|
'value': X,
|
|
'writable': ![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
});
|
|
}
|
|
function T(K) {
|
|
return '_$bAo92R' + K['substring'](0x1) + '_$BbSjEK';
|
|
}
|
|
function g(K) {
|
|
return '_$sMdkfq' + K['substring'](0x1) + '_$gBu05a';
|
|
}
|
|
function p(K, d, f, X, Y, R) {
|
|
let o;
|
|
return X ? o = function D() {
|
|
let u = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
if (this === Y)
|
|
return K(d, arguments, f, o, u, undefined);
|
|
return K['call'](this, d, arguments, f, o, u, R);
|
|
}
|
|
: o = function u() {
|
|
let e0 = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
return K['call'](this, d, arguments, f, o, e0, R);
|
|
}
|
|
,
|
|
o;
|
|
}
|
|
function F(K, d, f, X, Y, R) {
|
|
let o;
|
|
return X ? o = async function D() {
|
|
let u = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
if (this === Y)
|
|
return await K(d, arguments, f, o, u, undefined, undefined);
|
|
return await K['call'](this, d, arguments, f, o, u, undefined, R);
|
|
}
|
|
: o = async function u() {
|
|
let e0 = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
return await K['call'](this, d, arguments, f, o, e0, undefined, R);
|
|
}
|
|
,
|
|
o;
|
|
}
|
|
function V(K, d, f, X, Y, R, o) {
|
|
let D;
|
|
return Y ? D = function u() {
|
|
if (this === R)
|
|
return K(d, arguments, f, D, undefined, undefined);
|
|
return K['call'](this, d, arguments, f, D, undefined, o);
|
|
}
|
|
: D = function e0() {
|
|
return K['call'](this, d, arguments, f, D, undefined, o);
|
|
}
|
|
,
|
|
X['add'](D),
|
|
D;
|
|
}
|
|
function n(K, d, f, X) {
|
|
let Y;
|
|
return Y = {
|
|
'ltqiYr': (...R) => {
|
|
return K(d, R, f, Y, undefined, X);
|
|
}
|
|
}['ltqiYr'],
|
|
Y;
|
|
}
|
|
function O(K, d, f, X) {
|
|
let Y;
|
|
return Y = {
|
|
'ltqiYr': async (...R) => {
|
|
return await K(d, R, f, Y, undefined, undefined, X);
|
|
}
|
|
}['ltqiYr'],
|
|
Y;
|
|
}
|
|
function k(K, d, f, X, Y, R) {
|
|
let o;
|
|
return X ? o = {
|
|
'ltqiYr'() {
|
|
let D = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
if (this === Y)
|
|
return K(d, arguments, f, o, D, undefined);
|
|
return K['call'](this, d, arguments, f, o, D, R);
|
|
}
|
|
}['ltqiYr'] : o = {
|
|
'ltqiYr'() {
|
|
let D = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
return K['call'](this, d, arguments, f, o, D, R);
|
|
}
|
|
}['ltqiYr'],
|
|
o;
|
|
}
|
|
function Q(K, d, f, X, Y, R) {
|
|
let o;
|
|
return X ? o = {
|
|
async 'ltqiYr'() {
|
|
let D = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
if (this === Y)
|
|
return await K(d, arguments, f, o, D, undefined, undefined);
|
|
return await K['call'](this, d, arguments, f, o, D, undefined, R);
|
|
}
|
|
}['ltqiYr'] : o = {
|
|
async 'ltqiYr'() {
|
|
let D = new.target !== undefined ? new.target : vma_c4692e['_$lrARX2'];
|
|
return await K['call'](this, d, arguments, f, o, D, undefined, R);
|
|
}
|
|
}['ltqiYr'],
|
|
o;
|
|
}
|
|
function P(K, d, f, X, Y, R) {
|
|
let o = new Array(0x8)
|
|
, D = 0x0
|
|
, u = new Array((K['_$tI9RdU'] || 0x0) + (K['_$yF8BjS'] || 0x0))
|
|
, e0 = 0x0
|
|
, e1 = K['_$q4le1S']
|
|
, e2 = K['_$Osgd1u']
|
|
, e3 = K['_$gEspkA'] || i
|
|
, e4 = K['_$KBAtmA'] || i
|
|
, e5 = e2['length'] >> 0x1
|
|
, e6 = null
|
|
, e7 = null
|
|
, e8 = ![]
|
|
, e9 = undefined
|
|
, ee = ![]
|
|
, ej = 0x0
|
|
, et = ![]
|
|
, eA = 0x0
|
|
, es = K['_$WgYpA1'] || A
|
|
, eI = !!K['_$uisd1r']
|
|
, eN = !!K['_$BJA997']
|
|
, eW = !!K['_$i6C6Iq']
|
|
, ea = !!K['_$8aXaFm']
|
|
, eS = R
|
|
, ec = !!K['_$MwTdJh'];
|
|
!eI && !ec && (R === undefined || R === null) && (R = vmb);
|
|
let eb = () => o[--D]
|
|
, eB = eG => eG
|
|
, ei = {
|
|
['_$SNb4fn']: f,
|
|
['_$bwq1Pn']: null
|
|
};
|
|
if (d) {
|
|
let eG = K['_$tI9RdU'] || 0x0;
|
|
for (let ey = 0x0, em = d['length'] < eG ? d['length'] : eG; ey < em; ey++) {
|
|
u[ey] = d[ey];
|
|
}
|
|
}
|
|
let ev = eI && d ? C(d) : null
|
|
, ex = null
|
|
, eM = ![];
|
|
ea && (!ei['_$80pl7v'] && (ei['_$80pl7v'] = vmx(null)),
|
|
ei['_$80pl7v']['__this__'] = !![]);
|
|
J(K, ei, X);
|
|
let eq = {
|
|
['_$Y6v1jX']: eI,
|
|
['_$rsf5Z3']: eN,
|
|
['_$1HGVfp']: eW,
|
|
['_$7NDsZT']: ea,
|
|
['_$CyCons']: eM,
|
|
['_$RLK3x1']: eS,
|
|
['_$CHE3nI']: ev,
|
|
['_$4yBaXE']: ei
|
|
};
|
|
while (e0 < e5) {
|
|
try {
|
|
while (e0 < e5) {
|
|
let eL = e0 << 0x1
|
|
, eH = e2[eL]
|
|
, eE = e2[eL + 0x1];
|
|
if (!eh)
|
|
var ew, eC = null, eh = [function(el) {
|
|
ef: {
|
|
o[D++] = e1[el],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = null,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[D - 0x1];
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[D - 0x1];
|
|
o[D - 0x1] = o[D - 0x2],
|
|
o[D - 0x2] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = u[el],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
u[el] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = d[el],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
d[el] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT + eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT - eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT * eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT / eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT % eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D - 0x1] = -o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = typeof eJ === B ? eJ + 0x1n : +eJ + 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = typeof eJ === B ? eJ - 0x1n : +eJ - 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT ** eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D - 0x1] = +o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT & eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT | eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT ^ eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D - 0x1] = ~o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT << eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT >> eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT >>> eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[D - 0x3]
|
|
, eT = o[D - 0x2]
|
|
, eg = o[D - 0x1];
|
|
o[D - 0x3] = eT,
|
|
o[D - 0x2] = eg,
|
|
o[D - 0x1] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = typeof eJ === B ? eJ : +eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D - 0x1] = String(o[D - 0x1]),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(el) {
|
|
ef: {
|
|
o[D - 0x1] = !o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT == eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT != eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT === eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT !== eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT < eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT <= eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT > eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT >= eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(el) {
|
|
ef: {
|
|
e0 = e3[e0];
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[--D] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
!o[--D] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
eJ !== null && eJ !== undefined ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = vma_c4692e['_$I5zWp5'];
|
|
vma_c4692e['_$I5zWp5'] = undefined;
|
|
try {
|
|
let ep = eT['apply'](undefined, q(eb, eJ));
|
|
o[D++] = ep;
|
|
} finally {
|
|
vma_c4692e['_$I5zWp5'] = eg;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[--D];
|
|
if (typeof eT !== 'function')
|
|
throw new TypeError(eT + '\x20is\x20not\x20a\x20function');
|
|
let ep = vma_c4692e['_$OITsyI']
|
|
, eF = ep && ep['get'](eT)
|
|
, eV = vma_c4692e['_$I5zWp5'];
|
|
eF && (vma_c4692e['_$0LycrA'] = !![],
|
|
vma_c4692e['_$I5zWp5'] = eF);
|
|
try {
|
|
let en = eT['apply'](eg, q(eb, eJ));
|
|
o[D++] = en;
|
|
} finally {
|
|
eF && (vma_c4692e['_$0LycrA'] = ![],
|
|
vma_c4692e['_$I5zWp5'] = eV);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let eJ = e6[e6['length'] - 0x1];
|
|
if (eJ['_$HKjdrf'] !== undefined) {
|
|
e8 = !![],
|
|
e9 = o[--D],
|
|
e0 = eJ['_$HKjdrf'];
|
|
break ef;
|
|
}
|
|
}
|
|
return e8 && (e8 = ![],
|
|
e9 = undefined),
|
|
ew = o[--D],
|
|
0x1;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
throw o[--D];
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e4[e0];
|
|
if (!e6)
|
|
e6 = [];
|
|
e6['push']({
|
|
['_$XlQxjb']: eJ[0x0] >= 0x0 ? eJ[0x0] : undefined,
|
|
['_$HKjdrf']: eJ[0x1] >= 0x0 ? eJ[0x1] : undefined,
|
|
['_$d0a04X']: eJ[0x2] >= 0x0 ? eJ[0x2] : undefined,
|
|
['_$aDY3PH']: D
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
e6['pop'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
if (el != null) {
|
|
let eT = e1[el];
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn'][eT] = eJ;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let eJ = e6[e6['length'] - 0x1];
|
|
eJ['_$HKjdrf'] === e0 && (eJ['_$vUHLi1'] !== undefined && (e7 = eJ['_$vUHLi1']),
|
|
e6['pop']());
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
if (e8) {
|
|
let eJ = e9;
|
|
return e8 = ![],
|
|
e9 = undefined,
|
|
ew = eJ,
|
|
0x1;
|
|
}
|
|
if (ee) {
|
|
let eT = ej;
|
|
ee = ![],
|
|
ej = 0x0,
|
|
e0 = eT;
|
|
break ef;
|
|
}
|
|
if (et) {
|
|
let eg = eA;
|
|
et = ![],
|
|
eA = 0x0,
|
|
e0 = eg;
|
|
break ef;
|
|
}
|
|
if (e7 !== null) {
|
|
let ep = e7;
|
|
e7 = null;
|
|
throw ep;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e3[e0];
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let eT = e6[e6['length'] - 0x1];
|
|
if (eT['_$HKjdrf'] !== undefined && eJ >= eT['_$d0a04X']) {
|
|
ee = !![],
|
|
ej = eJ,
|
|
e0 = eT['_$HKjdrf'];
|
|
break ef;
|
|
}
|
|
}
|
|
e0 = eJ;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e3[e0];
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let eT = e6[e6['length'] - 0x1];
|
|
if (eT['_$HKjdrf'] !== undefined && eJ >= eT['_$d0a04X']) {
|
|
et = !![],
|
|
eA = eJ,
|
|
e0 = eT['_$HKjdrf'];
|
|
break ef;
|
|
}
|
|
}
|
|
e0 = eJ;
|
|
}
|
|
}
|
|
, , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el];
|
|
if (eJ === null || eJ === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(eT) + '\x27\x20of\x20' + eJ);
|
|
o[D++] = eJ[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el];
|
|
if (eT === null || eT === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(eg) + '\x27\x20of\x20' + eT);
|
|
if (eC['_$Y6v1jX']) {
|
|
if (!Reflect['set'](eT, eg, eJ))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(eg) + '\x27\x20of\x20object');
|
|
} else
|
|
eT[eg] = eJ;
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
if (eT === null || eT === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(eJ) + '\x27\x20of\x20' + eT);
|
|
o[D++] = eT[eJ],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[--D];
|
|
if (eg === null || eg === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(eT) + '\x27\x20of\x20' + eg);
|
|
if (eC['_$Y6v1jX']) {
|
|
if (!Reflect['set'](eg, eT, eJ))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(eT) + '\x27\x20of\x20object');
|
|
} else
|
|
eg[eT] = eJ;
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ, eT;
|
|
el != null ? (eT = o[--D],
|
|
eJ = e1[el]) : (eJ = o[--D],
|
|
eT = o[--D]);
|
|
let eg = delete eT[eJ];
|
|
if (eC['_$Y6v1jX'] && !eg)
|
|
throw new TypeError('Cannot\x20delete\x20property\x20\x27' + String(eJ) + '\x27\x20of\x20object');
|
|
o[D++] = eg,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el], eT;
|
|
if (vma_c4692e['_$6BEkZQ'] && eJ in vma_c4692e['_$6BEkZQ'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eJ + '\x27\x20before\x20initialization');
|
|
if (eJ in vma_c4692e)
|
|
eT = vma_c4692e[eJ];
|
|
else {
|
|
if (eJ in vmb)
|
|
eT = vmb[eJ];
|
|
else
|
|
throw new ReferenceError(eJ + '\x20is\x20not\x20defined');
|
|
}
|
|
o[D++] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el];
|
|
if (vma_c4692e['_$6BEkZQ'] && eT in vma_c4692e['_$6BEkZQ'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eT + '\x27\x20before\x20initialization');
|
|
let eg = !(eT in vma_c4692e) && !(eT in vmb);
|
|
vma_c4692e[eT] = eJ,
|
|
eT in vmb && (vmb[eT] = eJ),
|
|
eg && (vmb[eT] = eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = {},
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el];
|
|
eJ === null || eJ === undefined ? o[D++] = undefined : o[D++] = eJ[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT in eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1];
|
|
eJ !== null && eJ !== undefined && Object['assign'](eT, eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
eT === null || eT === undefined ? o[D++] = undefined : o[D++] = eT[eJ],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el];
|
|
vmv(eT, eg, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[--D];
|
|
vmv(eg, eT, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , function(el) {
|
|
ef: {
|
|
o[D++] = [],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1];
|
|
eT['push'](eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = {
|
|
'value': eJ
|
|
};
|
|
v['add'](eT),
|
|
o[D++] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1];
|
|
if (Array['isArray'](eJ))
|
|
Array['prototype']['push']['apply'](eT, eJ);
|
|
else
|
|
for (let eg of eJ) {
|
|
eT['push'](eg);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[D - 0x1];
|
|
eJ['length']++,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D], eT = t(eJ), eg = eT && eT['_$MwTdJh'], ep = eT && eT['_$K14mQP'], eF = eT && eT['_$QXYzLl'], eV = eT && eT['_$NQGxQ2'], en = eT && eT['_$tI9RdU'] || 0x0, eO = eT && eT['_$uisd1r'], ek = eg ? eC['_$RLK3x1'] : undefined, eQ = eC['_$4yBaXE'], eP;
|
|
if (eF)
|
|
eP = V(z, eJ, eQ, x, eO, vmb, s);
|
|
else {
|
|
if (ep) {
|
|
if (eg)
|
|
eP = O(U, eJ, eQ, ek);
|
|
else
|
|
eV ? eP = Q(U, eJ, eQ, eO, vmb, s) : eP = F(U, eJ, eQ, eO, vmb, s);
|
|
} else {
|
|
if (eg)
|
|
eP = n(Z, eJ, eQ, ek);
|
|
else
|
|
eV ? eP = k(Z, eJ, eQ, eO, vmb, s) : eP = p(Z, eJ, eQ, eO, vmb, s);
|
|
}
|
|
}
|
|
M(eP, 'length', {
|
|
'value': en,
|
|
'writable': ![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
o[D++] = eP,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = q(eb, eJ)
|
|
, eg = o[--D];
|
|
if (typeof eg !== 'function')
|
|
throw new TypeError(eg + '\x20is\x20not\x20a\x20constructor');
|
|
if (x['has'](eg))
|
|
throw new TypeError(eg['name'] + '\x20is\x20not\x20a\x20constructor');
|
|
let ep = vma_c4692e['_$I5zWp5'];
|
|
vma_c4692e['_$I5zWp5'] = undefined;
|
|
let eF;
|
|
try {
|
|
eF = Reflect['construct'](eg, eT);
|
|
} finally {
|
|
vma_c4692e['_$I5zWp5'] = ep;
|
|
}
|
|
o[D++] = eF,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = q(eb, eJ)
|
|
, eg = o[--D];
|
|
if (el === 0x1) {
|
|
o[D++] = eT,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
if (vma_c4692e['_$jkgDWq']) {
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let ep = vma_c4692e['_$FHEfct'];
|
|
if (ep) {
|
|
let eF = ep['parent']
|
|
, eV = ep['newTarget']
|
|
, en = Reflect['construct'](eF, eT, eV);
|
|
R && R !== en && vmq(R)['forEach'](function(eO) {
|
|
!(eO in en) && (en[eO] = R[eO]);
|
|
});
|
|
R = en,
|
|
eC['_$CyCons'] = !![];
|
|
eC['_$7NDsZT'] && (m(eC['_$4yBaXE'], '__this__'),
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
e0++;
|
|
break ef;
|
|
}
|
|
if (typeof eg !== 'function')
|
|
throw new TypeError('Super\x20expression\x20must\x20be\x20a\x20constructor');
|
|
vma_c4692e['_$lrARX2'] = Y;
|
|
try {
|
|
let eO = eg['apply'](R, eT);
|
|
eO !== undefined && eO !== R && typeof eO === 'object' && (R && Object['assign'](eO, R),
|
|
R = eO),
|
|
eC['_$CyCons'] = !![],
|
|
eC['_$7NDsZT'] && (m(eC['_$4yBaXE'], '__this__'),
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
} catch (ek) {
|
|
if (ek instanceof TypeError && (ek['message']['includes']('\x27new\x27') || ek['message']['includes']('constructor'))) {
|
|
let eQ = Reflect['construct'](eg, eT, Y);
|
|
eQ !== R && R && Object['assign'](eQ, R),
|
|
R = eQ,
|
|
eC['_$CyCons'] = !![],
|
|
eC['_$7NDsZT'] && (m(eC['_$4yBaXE'], '__this__'),
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
} else
|
|
throw ek;
|
|
} finally {
|
|
delete vma_c4692e['_$lrARX2'];
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = import(eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , function(el) {
|
|
ef: {
|
|
o[D - 0x1] = typeof o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT instanceof eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el];
|
|
eJ in vma_c4692e ? o[D++] = typeof vma_c4692e[eJ] : o[D++] = typeof vmb[eJ],
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = eJ['next']();
|
|
o[D++] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
eJ && typeof eJ['return'] === 'function' && eJ['return'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
if (eJ == null)
|
|
throw new TypeError('Cannot\x20iterate\x20over\x20' + eJ);
|
|
let eT = eJ[Symbol['iterator']];
|
|
if (typeof eT !== 'function')
|
|
throw new TypeError('Object\x20is\x20not\x20iterable');
|
|
o[D++] = eT['call'](eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = !!eJ['done'],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
if (eJ == null)
|
|
throw new TypeError('Cannot\x20iterate\x20over\x20' + eJ);
|
|
let eT = eJ[Symbol['asyncIterator']];
|
|
if (typeof eT === 'function')
|
|
o[D++] = eT['call'](eJ);
|
|
else {
|
|
let eg = eJ[Symbol['iterator']];
|
|
if (typeof eg !== 'function')
|
|
throw new TypeError('Object\x20is\x20not\x20async\x20iterable');
|
|
o[D++] = eg['call'](eJ);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = eJ['next']();
|
|
o[D++] = Promise['resolve'](eT),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
eJ && typeof eJ['return'] === 'function' ? o[D++] = Promise['resolve'](eJ['return']()) : o[D++] = Promise['resolve'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = w(eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = el
|
|
, ep = function(eF, eV) {
|
|
let en = function() {
|
|
if (eF) {
|
|
eV && (vma_c4692e['_$oBbAbr'] = en);
|
|
let eO = '_$lrARX2'in vma_c4692e;
|
|
!eO && (vma_c4692e['_$lrARX2'] = new.target);
|
|
try {
|
|
let ek = eF['apply'](this, C(arguments));
|
|
if (eV && ek !== undefined && (typeof ek !== 'object' || ek === null))
|
|
throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');
|
|
return ek;
|
|
} finally {
|
|
eV && delete vma_c4692e['_$oBbAbr'],
|
|
!eO && delete vma_c4692e['_$lrARX2'];
|
|
}
|
|
}
|
|
};
|
|
return en;
|
|
}(eT, eg);
|
|
eJ && vmv(ep, 'name', {
|
|
'value': eJ,
|
|
'configurable': !![]
|
|
}),
|
|
o[D++] = ep,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eT = o[--D]
|
|
, eg = o[D - 0x1];
|
|
if (eT === null) {
|
|
vmC(eg['prototype'], null),
|
|
vmC(eg, Function['prototype']),
|
|
eg['_$BfiHV1'] = null,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let ep = ![];
|
|
try {
|
|
let eF = vmx(eT['prototype'])
|
|
, eV = eT['apply'](eF, []);
|
|
eV !== undefined && eV !== eF && (ep = !![]);
|
|
} catch (en) {
|
|
en instanceof TypeError && (en['message']['includes']('\x27new\x27') || en['message']['includes']('constructor') || en['message']['includes']('Illegal\x20constructor')) && (ep = !![]);
|
|
}
|
|
if (ep) {
|
|
let eO = eg
|
|
, ek = vma_c4692e
|
|
, eQ = '_$lrARX2'
|
|
, eP = '_$oBbAbr'
|
|
, er = '_$FHEfct';
|
|
function eJ(...eZ) {
|
|
let eU = vmx(eT['prototype']);
|
|
ek[er] = {
|
|
'parent': eT,
|
|
'newTarget': new.target || eJ
|
|
},
|
|
ek[eP] = new.target || eJ;
|
|
let ez = eQ in ek;
|
|
!ez && (ek[eQ] = new.target);
|
|
try {
|
|
let eK = eO['apply'](eU, eZ);
|
|
eK !== undefined && typeof eK === 'object' && (eU = eK);
|
|
} finally {
|
|
delete ek[er],
|
|
delete ek[eP],
|
|
!ez && delete ek[eQ];
|
|
}
|
|
return eU;
|
|
}
|
|
eJ['prototype'] = vmx(eT['prototype']),
|
|
eJ['prototype']['constructor'] = eJ,
|
|
vmC(eJ, eT),
|
|
vmq(eO)['forEach'](function(eZ) {
|
|
eZ !== 'prototype' && eZ !== 'length' && eZ !== 'name' && M(eJ, eZ, vmM(eO, eZ));
|
|
});
|
|
eO['prototype'] && (vmq(eO['prototype'])['forEach'](function(eZ) {
|
|
eZ !== 'constructor' && M(eJ['prototype'], eZ, vmM(eO['prototype'], eZ));
|
|
}),
|
|
vmw(eO['prototype'])['forEach'](function(eZ) {
|
|
M(eJ['prototype'], eZ, vmM(eO['prototype'], eZ));
|
|
}));
|
|
o[--D],
|
|
o[D++] = eJ,
|
|
eJ['_$BfiHV1'] = eT,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
vmC(eg['prototype'], eT['prototype']),
|
|
vmC(eg, eT),
|
|
eg['_$BfiHV1'] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = vma_c4692e['_$I5zWp5']
|
|
, ep = eg ? vmh(eg) : G(eT)
|
|
, eF = y(ep, eJ);
|
|
if (eF['desc'] && eF['desc']['get']) {
|
|
let en = eF['desc']['get']['call'](eT);
|
|
o[D++] = en,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
if (eF['desc'] && eF['desc']['set'] && !('value'in eF['desc'])) {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eV = eF['proto'] ? eF['proto'][eJ] : ep[eJ];
|
|
if (typeof eV === 'function') {
|
|
let eO = eF['proto'] || ep
|
|
, ek = eV['bind'](eT)
|
|
, eQ = eV['constructor'] && eV['constructor']['name']
|
|
, eP = eQ === 'GeneratorFunction' || eQ === 'AsyncFunction' || eQ === 'AsyncGeneratorFunction';
|
|
!eP && (!vma_c4692e['_$OITsyI'] && (vma_c4692e['_$OITsyI'] = new WeakMap()),
|
|
vma_c4692e['_$OITsyI']['set'](ek, eO)),
|
|
o[D++] = ek;
|
|
} else
|
|
o[D++] = eV;
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[--D]
|
|
, ep = G(eg)
|
|
, eF = y(ep, eT);
|
|
eF['desc'] && eF['desc']['set'] ? eF['desc']['set']['call'](eg, eJ) : eg[eT] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el];
|
|
vmv(eT['prototype'], eg, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el]
|
|
, ep = h(eT);
|
|
vmv(ep, eg, {
|
|
'get': eJ,
|
|
'enumerable': ep === eT,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el]
|
|
, ep = h(eT);
|
|
vmv(ep, eg, {
|
|
'set': eJ,
|
|
'enumerable': ep === eT,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el];
|
|
vmv(eT, eg, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el];
|
|
vmv(eT, eg, {
|
|
'get': eJ,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[D - 0x1]
|
|
, eg = e1[el];
|
|
vmv(eT, eg, {
|
|
'set': eJ,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el]
|
|
, eg = E()
|
|
, ep = 'get_' + eT
|
|
, eF = eg['get'](ep);
|
|
if (eF && eF['has'](eJ)) {
|
|
let ek = eF['get'](eJ);
|
|
o[D++] = ek['call'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eV = '_$sMdkfq' + 'get_' + eT['substring'](0x1) + '_$gBu05a';
|
|
if (eJ['constructor'] && eV in eJ['constructor']) {
|
|
let eQ = eJ['constructor'][eV];
|
|
o[D++] = eQ['call'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let en = eg['get'](eT);
|
|
if (en && en['has'](eJ)) {
|
|
o[D++] = en['get'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eO = T(eT);
|
|
if (eO in eJ) {
|
|
o[D++] = eJ[eO],
|
|
e0++;
|
|
break ef;
|
|
}
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + eT + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el]
|
|
, ep = E()
|
|
, eF = 'set_' + eg
|
|
, eV = ep['get'](eF);
|
|
if (eV && eV['has'](eT)) {
|
|
let eQ = eV['get'](eT);
|
|
eQ['call'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let en = '_$sMdkfq' + 'set_' + eg['substring'](0x1) + '_$gBu05a';
|
|
if (eT['constructor'] && en in eT['constructor']) {
|
|
let eP = eT['constructor'][en];
|
|
eP['call'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eO = ep['get'](eg);
|
|
if (eO && eO['has'](eT)) {
|
|
eO['set'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let ek = T(eg);
|
|
if (ek in eT) {
|
|
eT[ek] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
throw new TypeError('Cannot\x20write\x20private\x20member\x20' + eg + '\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el]
|
|
, ep = E();
|
|
!ep['has'](eg) && ep['set'](eg, new WeakMap());
|
|
let eF = ep['get'](eg);
|
|
if (eF['has'](eT))
|
|
throw new TypeError('Cannot\x20initialize\x20' + eg + '\x20twice\x20on\x20the\x20same\x20object');
|
|
eF['set'](eT, eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el]
|
|
, eg = ![]
|
|
, ep = l();
|
|
if (ep) {
|
|
let eF = ep['get'](eT);
|
|
eF && eF['has'](eJ) && (eg = !![]);
|
|
}
|
|
o[D++] = eg,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el]
|
|
, ep = null
|
|
, eF = l();
|
|
if (eF) {
|
|
let eO = eF['get'](eg);
|
|
eO && eO['has'](eT) && (ep = eO['get'](eT));
|
|
}
|
|
if (ep === null) {
|
|
let ek = g(eg);
|
|
ek in eT && (ep = eT[ek]);
|
|
}
|
|
if (ep === null)
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + eg + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
if (typeof ep !== 'function')
|
|
throw new TypeError(eg + '\x20is\x20not\x20a\x20function');
|
|
let eV = q(eb, eJ)
|
|
, en = ep['apply'](eT, eV);
|
|
o[D++] = en,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el];
|
|
if (eJ == null) {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eg = E()
|
|
, ep = eg['get'](eT);
|
|
if (!ep || !ep['has'](eJ))
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + eT + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
o[D++] = ep['get'](eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[--D];
|
|
let eT = o[D - 0x1]
|
|
, eg = e1[el]
|
|
, ep = E();
|
|
!ep['has'](eg) && ep['set'](eg, new WeakMap());
|
|
let eF = ep['get'](eg);
|
|
eF['set'](eT, eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el]
|
|
, eg = l();
|
|
if (eg) {
|
|
let eV = 'get_' + eT
|
|
, en = eg['get'](eV);
|
|
if (en && en['has'](eJ)) {
|
|
let ek = en['get'](eJ);
|
|
o[D++] = ek['call'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eO = eg['get'](eT);
|
|
if (eO && eO['has'](eJ)) {
|
|
o[D++] = eO['get'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
}
|
|
let ep = '_$sMdkfq' + 'get_' + eT['substring'](0x1) + '_$gBu05a';
|
|
if (ep in eJ) {
|
|
let eQ = eJ[ep];
|
|
o[D++] = eQ['call'](eJ),
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eF = T(eT);
|
|
if (eF in eJ) {
|
|
o[D++] = eJ[eF],
|
|
e0++;
|
|
break ef;
|
|
}
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + eT + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = e1[el]
|
|
, ep = l();
|
|
if (ep) {
|
|
let en = 'set_' + eg
|
|
, eO = ep['get'](en);
|
|
if (eO && eO['has'](eT)) {
|
|
let eQ = eO['get'](eT);
|
|
eQ['call'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let ek = ep['get'](eg);
|
|
if (ek && ek['has'](eT)) {
|
|
ek['set'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
}
|
|
let eF = '_$sMdkfq' + 'set_' + eg['substring'](0x1) + '_$gBu05a';
|
|
if (eF in eT) {
|
|
let eP = eT[eF];
|
|
eP['call'](eT, eJ),
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eV = T(eg);
|
|
if (eV in eT) {
|
|
eT[eV] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
throw new TypeError('Cannot\x20write\x20private\x20member\x20' + eg + '\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, , function(el) {
|
|
ef: {
|
|
if (eC['_$1HGVfp'] && !eC['_$CyCons'])
|
|
throw new ReferenceError('Must\x20call\x20super\x20constructor\x20in\x20derived\x20class\x20before\x20accessing\x20\x27this\x27\x20or\x20returning\x20from\x20derived\x20constructor');
|
|
o[D++] = R,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
if (ex === null) {
|
|
if (eC['_$Y6v1jX'] || !eC['_$rsf5Z3']) {
|
|
ex = [];
|
|
let eJ = eC['_$CHE3nI'] || d;
|
|
if (eJ)
|
|
for (let eT = 0x0; eT < eJ['length']; eT++) {
|
|
ex[eT] = eJ[eT];
|
|
}
|
|
if (eC['_$Y6v1jX']) {
|
|
let eg = function() {
|
|
throw new TypeError('\x27caller\x27,\x20\x27callee\x27,\x20and\x20\x27arguments\x27\x20properties\x20may\x20not\x20be\x20accessed\x20on\x20strict\x20mode\x20functions\x20or\x20the\x20arguments\x20objects\x20for\x20calls\x20to\x20them');
|
|
};
|
|
vmv(ex, 'callee', {
|
|
'get': eg,
|
|
'set': eg,
|
|
'enumerable': ![],
|
|
'configurable': ![]
|
|
});
|
|
} else
|
|
vmv(ex, 'callee', {
|
|
'value': X,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
});
|
|
} else {
|
|
let ep = d ? d['length'] : 0x0
|
|
, eF = {}
|
|
, eV = {}
|
|
, en = function(eP) {
|
|
return typeof eP === 'string' ? parseInt(eP, 0xa) : NaN;
|
|
}
|
|
, eO = function(eP) {
|
|
return !isNaN(eP) && eP >= 0x0;
|
|
}
|
|
, ek = function(eP) {
|
|
if (eP in eV)
|
|
return undefined;
|
|
return eP < d['length'] ? d[eP] : eF[eP];
|
|
}
|
|
, eQ = function(eP) {
|
|
if (eP in eV)
|
|
return ![];
|
|
return eP < d['length'] ? eP in d : eP in eF;
|
|
};
|
|
ex = new Proxy([],{
|
|
'get': function(eP, er, eZ) {
|
|
if (er === 'length')
|
|
return ep;
|
|
if (er === 'callee')
|
|
return X;
|
|
if (er === Symbol['iterator'])
|
|
return function() {
|
|
let eK = 0x0;
|
|
return {
|
|
'next': function() {
|
|
if (eK < ep)
|
|
return {
|
|
'value': ek(eK++),
|
|
'done': ![]
|
|
};
|
|
return {
|
|
'done': !![]
|
|
};
|
|
}
|
|
};
|
|
}
|
|
;
|
|
let eU = en(er);
|
|
if (eO(eU))
|
|
return ek(eU);
|
|
if (er === 'hasOwnProperty')
|
|
return function(eK) {
|
|
if (eK === 'length' || eK === 'callee')
|
|
return !![];
|
|
let ed = en(eK);
|
|
return eO(ed) && ed < ep && eQ(ed);
|
|
}
|
|
;
|
|
let ez = Array['prototype'][er];
|
|
if (typeof ez === 'function')
|
|
return function() {
|
|
let eK = [];
|
|
for (let ed = 0x0; ed < ep; ed++) {
|
|
eK[ed] = ek(ed);
|
|
}
|
|
return ez['apply'](eK, arguments);
|
|
}
|
|
;
|
|
return undefined;
|
|
},
|
|
'set': function(eP, er, eZ) {
|
|
if (er === 'length')
|
|
return ep = eZ,
|
|
!![];
|
|
let eU = en(er);
|
|
if (eO(eU)) {
|
|
if (eU in eV)
|
|
delete eV[eU],
|
|
eF[eU] = eZ;
|
|
else
|
|
eU < d['length'] ? d[eU] = eZ : eF[eU] = eZ;
|
|
return eU >= ep && (ep = eU + 0x1),
|
|
!![];
|
|
}
|
|
return !![];
|
|
},
|
|
'has': function(eP, er) {
|
|
if (er === 'length' || er === 'callee')
|
|
return !![];
|
|
let eZ = en(er);
|
|
if (eO(eZ) && eZ < ep)
|
|
return eQ(eZ);
|
|
return er in Array['prototype'];
|
|
},
|
|
'deleteProperty': function(eP, er) {
|
|
let eZ = en(er);
|
|
return eO(eZ) && (eZ < d['length'] ? eV[eZ] = 0x1 : delete eF[eZ]),
|
|
!![];
|
|
},
|
|
'getOwnPropertyDescriptor': function(eP, er) {
|
|
if (er === 'callee')
|
|
return {
|
|
'value': X,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
};
|
|
if (er === 'length')
|
|
return {
|
|
'value': ep,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
};
|
|
let eZ = en(er);
|
|
if (eO(eZ) && eZ < ep && eQ(eZ))
|
|
return {
|
|
'value': ek(eZ),
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
};
|
|
return undefined;
|
|
},
|
|
'ownKeys': function(eP) {
|
|
let er = [];
|
|
for (let eZ = 0x0; eZ < ep; eZ++) {
|
|
eQ(eZ) && er['push'](String(eZ));
|
|
}
|
|
return er['push']('length', 'callee'),
|
|
er;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
o[D++] = ex,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >> 0x10
|
|
, eg = e1[eJ]
|
|
, ep = e1[eT];
|
|
o[D++] = new RegExp(eg,ep),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[--D],
|
|
o[D++] = undefined,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = Y,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = vmB[el],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = vmi[el],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
if (el === -0x1)
|
|
o[D++] = Symbol();
|
|
else {
|
|
let eJ = o[--D];
|
|
o[D++] = Symbol(eJ);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el];
|
|
o[D++] = Symbol['for'](eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D];
|
|
o[D++] = Symbol['keyFor'](eJ),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1];
|
|
vmv(eg['prototype'], eT, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1];
|
|
vmv(eg, eT, {
|
|
'value': eJ,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1]
|
|
, ep = h(eg);
|
|
vmv(ep, eT, {
|
|
'get': eJ,
|
|
'enumerable': ep === eg,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1]
|
|
, ep = h(eg);
|
|
vmv(ep, eT, {
|
|
'set': eJ,
|
|
'enumerable': ep === eg,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1];
|
|
vmv(eg, eT, {
|
|
'get': eJ,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = o[--D]
|
|
, eg = o[D - 0x1];
|
|
vmv(eg, eT, {
|
|
'set': eJ,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , , , , , function(el) {
|
|
ef: {
|
|
debugger ;e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
return ew = D > 0x0 ? o[--D] : undefined,
|
|
0x1;
|
|
}
|
|
}
|
|
, , , , , , , , function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = {
|
|
['_$bwq1Pn']: null,
|
|
['_$lyjtwA']: null,
|
|
['_$80pl7v']: null,
|
|
['_$SNb4fn']: eJ
|
|
};
|
|
eC['_$4yBaXE'] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el];
|
|
if (eJ === '__this__') {
|
|
let en = eC['_$4yBaXE'];
|
|
while (en) {
|
|
if (en['_$80pl7v'] && '__this__'in en['_$80pl7v'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27__this__\x27\x20before\x20initialization');
|
|
if (en['_$bwq1Pn'] && '__this__'in en['_$bwq1Pn'])
|
|
break;
|
|
en = en['_$SNb4fn'];
|
|
}
|
|
o[D++] = R,
|
|
e0++;
|
|
break ef;
|
|
}
|
|
let eT = eC['_$4yBaXE'], eg, ep = ![], eF = eJ['indexOf']('$$'), eV = eF !== -0x1 ? eJ['substring'](0x0, eF) : null;
|
|
while (eT) {
|
|
let eO = eT['_$80pl7v']
|
|
, ek = eT['_$bwq1Pn'];
|
|
if (eO && eJ in eO)
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eJ + '\x27\x20before\x20initialization');
|
|
if (eV && eO && eV in eO) {
|
|
if (!(ek && eJ in ek))
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eV + '\x27\x20before\x20initialization');
|
|
}
|
|
if (ek && eJ in ek) {
|
|
eg = ek[eJ],
|
|
ep = !![];
|
|
break;
|
|
}
|
|
eT = eT['_$SNb4fn'];
|
|
}
|
|
!ep && (eJ in vma_c4692e ? eg = vma_c4692e[eJ] : eg = vmb[eJ]),
|
|
o[D++] = eg,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el]
|
|
, eT = o[--D]
|
|
, eg = eC['_$4yBaXE']
|
|
, ep = ![];
|
|
while (eg) {
|
|
let eF = eg['_$80pl7v']
|
|
, eV = eg['_$bwq1Pn'];
|
|
if (eF && eJ in eF)
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eJ + '\x27\x20before\x20initialization');
|
|
if (eV && eJ in eV) {
|
|
if (eg['_$0pzybI'] && eJ in eg['_$0pzybI']) {
|
|
if (eC['_$Y6v1jX'])
|
|
throw new TypeError('Assignment\x20to\x20constant\x20variable.');
|
|
ep = !![];
|
|
break;
|
|
}
|
|
if (eg['_$lyjtwA'] && eJ in eg['_$lyjtwA'])
|
|
throw new TypeError('Assignment\x20to\x20constant\x20variable.');
|
|
eV[eJ] = eT,
|
|
ep = !![];
|
|
break;
|
|
}
|
|
eg = eg['_$SNb4fn'];
|
|
}
|
|
if (!ep) {
|
|
if (eJ in vma_c4692e)
|
|
vma_c4692e[eJ] = eT;
|
|
else
|
|
eJ in vmb ? vmb[eJ] = eT : vmb[eJ] = eT;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
o[D++] = eC['_$4yBaXE'],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
eC['_$4yBaXE'] && eC['_$4yBaXE']['_$SNb4fn'] && (eC['_$4yBaXE'] = eC['_$4yBaXE']['_$SNb4fn']),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el]
|
|
, eT = o[--D];
|
|
m(eC['_$4yBaXE'], eJ),
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn'][eJ] = eT,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el]
|
|
, eT = o[--D]
|
|
, eg = eC['_$4yBaXE']
|
|
, ep = ![];
|
|
while (eg) {
|
|
if (eg['_$bwq1Pn'] && eJ in eg['_$bwq1Pn']) {
|
|
if (eg['_$lyjtwA'] && eJ in eg['_$lyjtwA'])
|
|
break;
|
|
eg['_$bwq1Pn'][eJ] = eT;
|
|
!eg['_$lyjtwA'] && (eg['_$lyjtwA'] = vmx(null));
|
|
eg['_$lyjtwA'][eJ] = !![],
|
|
ep = !![];
|
|
break;
|
|
}
|
|
eg = eg['_$SNb4fn'];
|
|
}
|
|
!ep && (L(eC['_$4yBaXE'], eJ),
|
|
!eC['_$4yBaXE']['_$bwq1Pn'] && (eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$bwq1Pn'][eJ] = eT,
|
|
!eC['_$4yBaXE']['_$lyjtwA'] && (eC['_$4yBaXE']['_$lyjtwA'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$lyjtwA'][eJ] = !![]),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el]
|
|
, eT = o[--D];
|
|
m(eC['_$4yBaXE'], eJ);
|
|
if (!eC['_$4yBaXE']['_$bwq1Pn'])
|
|
eC['_$4yBaXE']['_$bwq1Pn'] = vmx(null);
|
|
eC['_$4yBaXE']['_$bwq1Pn'][eJ] = eT,
|
|
!eC['_$4yBaXE']['_$lyjtwA'] && (eC['_$4yBaXE']['_$lyjtwA'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$lyjtwA'][eJ] = !![],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el];
|
|
!eC['_$4yBaXE']['_$80pl7v'] && (eC['_$4yBaXE']['_$80pl7v'] = vmx(null)),
|
|
eC['_$4yBaXE']['_$80pl7v'][eJ] = !![],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = e1[el]
|
|
, eT = o[--D]
|
|
, eg = eC['_$4yBaXE']['_$SNb4fn'];
|
|
eg && (!eg['_$bwq1Pn'] && (eg['_$bwq1Pn'] = vmx(null)),
|
|
eg['_$bwq1Pn'][eJ] = eT),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = o[--D]
|
|
, eT = e1[el];
|
|
if (eC['_$Y6v1jX'] && !(eT in vmb) && !(eT in vma_c4692e))
|
|
throw new ReferenceError(eT + '\x20is\x20not\x20defined');
|
|
vma_c4692e[eT] = eJ,
|
|
vmb[eT] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function(el) {
|
|
ef: {
|
|
u[el] = u[el] + 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
u[el] = u[el] - 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10;
|
|
o[D++] = u[eJ] + e1[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10;
|
|
o[D++] = u[eJ] - e1[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10;
|
|
o[D++] = u[eJ] * e1[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10
|
|
, eg = u[eJ]
|
|
, ep = e1[eT];
|
|
o[D++] = eg[ep],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10;
|
|
o[D++] = u[eJ] < e1[eT],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10;
|
|
u[eJ] < e1[eT] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = el & 0xffff
|
|
, eT = el >>> 0x10
|
|
, eg = o[--D]
|
|
, ep = q(eb, eg)
|
|
, eF = u[eJ]
|
|
, eV = e1[eT]
|
|
, en = eF[eV];
|
|
o[D++] = en['apply'](eF, ep),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
u[el] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = u[el] + 0x1;
|
|
u[el] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(el) {
|
|
ef: {
|
|
let eJ = u[el] - 0x1;
|
|
u[el] = eJ,
|
|
o[D++] = eJ,
|
|
e0++;
|
|
}
|
|
}
|
|
];
|
|
switch (eH) {
|
|
case 0x0:
|
|
{
|
|
o[D++] = e1[eE],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x1:
|
|
{
|
|
o[D++] = undefined,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x3:
|
|
{
|
|
o[--D],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x4:
|
|
{
|
|
let el = o[D - 0x1];
|
|
o[D++] = el,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x6:
|
|
{
|
|
o[D++] = u[eE],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x7:
|
|
{
|
|
u[eE] = o[--D],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x8:
|
|
{
|
|
o[D++] = d[eE],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0xa:
|
|
{
|
|
let eJ = o[--D]
|
|
, eT = o[--D];
|
|
o[D++] = eT + eJ,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0xb:
|
|
{
|
|
let eg = o[--D]
|
|
, ep = o[--D];
|
|
o[D++] = ep - eg,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x10:
|
|
{
|
|
let eF = o[--D];
|
|
o[D++] = typeof eF === B ? eF + 0x1n : +eF + 0x1,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x1c:
|
|
{
|
|
let eV = o[--D];
|
|
o[D++] = typeof eV === B ? eV : +eV,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x2c:
|
|
{
|
|
let en = o[--D]
|
|
, eO = o[--D];
|
|
o[D++] = eO < en,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x2e:
|
|
{
|
|
let ek = o[--D]
|
|
, eQ = o[--D];
|
|
o[D++] = eQ > ek,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x32:
|
|
{
|
|
e0 = e3[e0];
|
|
continue;
|
|
}
|
|
case 0x34:
|
|
{
|
|
!o[--D] ? e0 = e3[e0] : e0++;
|
|
continue;
|
|
}
|
|
case 0x48:
|
|
{
|
|
let eP = o[--D]
|
|
, er = o[--D];
|
|
if (er === null || er === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(eP) + '\x27\x20of\x20' + er);
|
|
o[D++] = er[eP],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x49:
|
|
{
|
|
let eZ = o[--D]
|
|
, eU = o[--D]
|
|
, ez = o[--D];
|
|
if (ez === null || ez === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(eU) + '\x27\x20of\x20' + ez);
|
|
if (eI) {
|
|
if (!Reflect['set'](ez, eU, eZ))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(eU) + '\x27\x20of\x20object');
|
|
} else
|
|
ez[eU] = eZ;
|
|
o[D++] = eZ,
|
|
e0++;
|
|
continue;
|
|
}
|
|
}
|
|
eC = eq;
|
|
if (eh[eH](eE))
|
|
return ew;
|
|
ei = eq['_$4yBaXE'],
|
|
eM = eq['_$CyCons'];
|
|
}
|
|
break;
|
|
} catch (eK) {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let ed = e6[e6['length'] - 0x1];
|
|
D = ed['_$aDY3PH'];
|
|
if (ed['_$XlQxjb'] !== undefined)
|
|
// _push(eK),
|
|
e0 = ed['_$XlQxjb'],
|
|
ed['_$XlQxjb'] = undefined,
|
|
ed['_$HKjdrf'] === undefined && e6['pop']();
|
|
else
|
|
ed['_$HKjdrf'] !== undefined ? (e0 = ed['_$HKjdrf'],
|
|
ed['_$vUHLi1'] = eK) : (e0 = ed['_$d0a04X'],
|
|
e6['pop']());
|
|
continue;
|
|
}
|
|
throw eK;
|
|
}
|
|
}
|
|
return D > 0x0 ? o[--D] : eM ? R : undefined;
|
|
}
|
|
function *r(K, d, f, X, Y, R) {
|
|
let o = new Array(0x8)
|
|
, D = 0x0
|
|
, u = new Array((K['_$tI9RdU'] || 0x0) + (K['_$yF8BjS'] || 0x0))
|
|
, e0 = 0x0
|
|
, e1 = K['_$q4le1S']
|
|
, e2 = K['_$Osgd1u']
|
|
, e3 = K['_$gEspkA'] || i
|
|
, e4 = K['_$KBAtmA'] || i
|
|
, e5 = e2['length'] >> 0x1
|
|
, e6 = null
|
|
, e7 = null
|
|
, e8 = ![]
|
|
, e9 = undefined
|
|
, ee = ![]
|
|
, ej = 0x0
|
|
, et = ![]
|
|
, eA = 0x0
|
|
, es = K['_$WgYpA1'] || A
|
|
, eI = !!K['_$uisd1r']
|
|
, eN = !!K['_$BJA997']
|
|
, eW = !!K['_$i6C6Iq']
|
|
, ea = !!K['_$8aXaFm']
|
|
, eS = R
|
|
, ec = !!K['_$MwTdJh'];
|
|
!eI && !ec && (R === undefined || R === null) && (R = vmb);
|
|
let eb = K['_$WnGRdf'], eB, ei, ev, ex, eM, eq;
|
|
if (eb !== undefined) {
|
|
let el = eJ => typeof eJ === 'number' && Number['isFinite'](eJ) && Number['isInteger'](eJ) && eJ >= -0x80000000 && eJ <= 0x7fffffff && !Object['is'](eJ, -0x0) ? eJ ^ eb | 0x0 : eJ;
|
|
eB = eJ => {
|
|
o[D++] = el(eJ);
|
|
}
|
|
,
|
|
ei = () => el(o[--D]),
|
|
ev = () => el(o[D - 0x1]),
|
|
ex = eJ => {
|
|
o[D - 0x1] = el(eJ);
|
|
}
|
|
,
|
|
eM = eJ => el(o[D - eJ]),
|
|
eq = (eJ, eT) => {
|
|
o[D - eJ] = el(eT);
|
|
}
|
|
;
|
|
} else
|
|
eB = eJ => {
|
|
o[D++] = eJ;
|
|
}
|
|
,
|
|
ei = () => o[--D],
|
|
ev = () => o[D - 0x1],
|
|
ex = eJ => {
|
|
o[D - 0x1] = eJ;
|
|
}
|
|
,
|
|
eM = eJ => o[D - eJ],
|
|
eq = (eJ, eT) => {
|
|
o[D - eJ] = eT;
|
|
}
|
|
;
|
|
let ew = eJ => eJ
|
|
, eC = {
|
|
['_$SNb4fn']: f,
|
|
['_$bwq1Pn']: null
|
|
};
|
|
if (d) {
|
|
let eJ = K['_$tI9RdU'] || 0x0;
|
|
for (let eT = 0x0, eg = d['length'] < eJ ? d['length'] : eJ; eT < eg; eT++) {
|
|
u[eT] = d[eT];
|
|
}
|
|
}
|
|
let eh = eI && d ? C(d) : null
|
|
, eG = null
|
|
, ey = ![];
|
|
ea && (!eC['_$80pl7v'] && (eC['_$80pl7v'] = vmx(null)),
|
|
eC['_$80pl7v']['__this__'] = !![]);
|
|
J(K, eC, X);
|
|
let em = {
|
|
['_$Y6v1jX']: eI,
|
|
['_$rsf5Z3']: eN,
|
|
['_$1HGVfp']: eW,
|
|
['_$7NDsZT']: ea,
|
|
['_$CyCons']: ey,
|
|
['_$RLK3x1']: eS,
|
|
['_$CHE3nI']: eh,
|
|
['_$4yBaXE']: eC
|
|
};
|
|
while (e0 < e5) {
|
|
try {
|
|
while (e0 < e5) {
|
|
let ep = e0 << 0x1
|
|
, eF = e2[ep]
|
|
, eV = es[eF]
|
|
, en = e2[ep + 0x1];
|
|
if (eF === b) {
|
|
let eO = ei()
|
|
, ek = yield{
|
|
['_$MPSEdQ']: I,
|
|
['_$zlaLmv']: eO
|
|
};
|
|
eB(ek),
|
|
e0++;
|
|
continue;
|
|
}
|
|
if (eF === S) {
|
|
let eQ = ei()
|
|
, eP = yield{
|
|
['_$MPSEdQ']: N,
|
|
['_$zlaLmv']: eQ
|
|
};
|
|
if (eP && typeof eP === 'object' && eP['_$MPSEdQ'] === a) {
|
|
let er = eP['_$zlaLmv'];
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let eZ = e6[e6['length'] - 0x1];
|
|
if (eZ['_$HKjdrf'] !== undefined) {
|
|
e8 = !![],
|
|
e9 = er,
|
|
e0 = eZ['_$HKjdrf'];
|
|
continue;
|
|
}
|
|
}
|
|
return er;
|
|
}
|
|
eB(eP),
|
|
e0++;
|
|
continue;
|
|
}
|
|
if (eF === c) {
|
|
let eU = ei()
|
|
, ez = yield{
|
|
['_$MPSEdQ']: W,
|
|
['_$zlaLmv']: eU
|
|
};
|
|
eB(ez),
|
|
e0++;
|
|
continue;
|
|
}
|
|
if (!eE)
|
|
var eL, eH = null, eE = [function(eK) {
|
|
j9: {
|
|
o[D++] = e1[eK],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = null,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[D - 0x1];
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[D - 0x1];
|
|
o[D - 0x1] = o[D - 0x2],
|
|
o[D - 0x2] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = u[eK],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
u[eK] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = d[eK],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
d[eK] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef + ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef - ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef * ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef / ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef % ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = -o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = typeof ed === B ? ed + 0x1n : +ed + 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = typeof ed === B ? ed - 0x1n : +ed - 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef ** ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = +o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef & ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef | ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef ^ ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = ~o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef << ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef >> ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef >>> ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[D - 0x3]
|
|
, ef = o[D - 0x2]
|
|
, eX = o[D - 0x1];
|
|
o[D - 0x3] = ef,
|
|
o[D - 0x2] = eX,
|
|
o[D - 0x1] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = typeof ed === B ? ed : +ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = String(o[D - 0x1]),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = !o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef == ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef != ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef === ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef !== ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef < ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef <= ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef > ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef >= ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(eK) {
|
|
j9: {
|
|
e0 = e3[e0];
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[--D] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
!o[--D] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
ed !== null && ed !== undefined ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = vma_c4692e['_$I5zWp5'];
|
|
vma_c4692e['_$I5zWp5'] = undefined;
|
|
try {
|
|
let eY = ef['apply'](undefined, q(ei, ed));
|
|
o[D++] = eY;
|
|
} finally {
|
|
vma_c4692e['_$I5zWp5'] = eX;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[--D];
|
|
if (typeof ef !== 'function')
|
|
throw new TypeError(ef + '\x20is\x20not\x20a\x20function');
|
|
let eY = vma_c4692e['_$OITsyI']
|
|
, eR = eY && eY['get'](ef)
|
|
, eo = vma_c4692e['_$I5zWp5'];
|
|
eR && (vma_c4692e['_$0LycrA'] = !![],
|
|
vma_c4692e['_$I5zWp5'] = eR);
|
|
try {
|
|
let eD = ef['apply'](eX, q(ei, ed));
|
|
o[D++] = eD;
|
|
} finally {
|
|
eR && (vma_c4692e['_$0LycrA'] = ![],
|
|
vma_c4692e['_$I5zWp5'] = eo);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let ed = e6[e6['length'] - 0x1];
|
|
if (ed['_$HKjdrf'] !== undefined) {
|
|
e8 = !![],
|
|
e9 = o[--D],
|
|
e0 = ed['_$HKjdrf'];
|
|
break j9;
|
|
}
|
|
}
|
|
return e8 && (e8 = ![],
|
|
e9 = undefined),
|
|
eL = o[--D],
|
|
0x1;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
throw o[--D];
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e4[e0];
|
|
if (!e6)
|
|
e6 = [];
|
|
e6['push']({
|
|
['_$XlQxjb']: ed[0x0] >= 0x0 ? ed[0x0] : undefined,
|
|
['_$HKjdrf']: ed[0x1] >= 0x0 ? ed[0x1] : undefined,
|
|
['_$d0a04X']: ed[0x2] >= 0x0 ? ed[0x2] : undefined,
|
|
['_$aDY3PH']: D
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
e6['pop'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
if (eK != null) {
|
|
let ef = e1[eK];
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn'][ef] = ed;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let ed = e6[e6['length'] - 0x1];
|
|
ed['_$HKjdrf'] === e0 && (ed['_$vUHLi1'] !== undefined && (e7 = ed['_$vUHLi1']),
|
|
e6['pop']());
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
if (e8) {
|
|
let ed = e9;
|
|
return e8 = ![],
|
|
e9 = undefined,
|
|
eL = ed,
|
|
0x1;
|
|
}
|
|
if (ee) {
|
|
let ef = ej;
|
|
ee = ![],
|
|
ej = 0x0,
|
|
e0 = ef;
|
|
break j9;
|
|
}
|
|
if (et) {
|
|
let eX = eA;
|
|
et = ![],
|
|
eA = 0x0,
|
|
e0 = eX;
|
|
break j9;
|
|
}
|
|
if (e7 !== null) {
|
|
let eY = e7;
|
|
e7 = null;
|
|
throw eY;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e3[e0];
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let ef = e6[e6['length'] - 0x1];
|
|
if (ef['_$HKjdrf'] !== undefined && ed >= ef['_$d0a04X']) {
|
|
ee = !![],
|
|
ej = ed,
|
|
e0 = ef['_$HKjdrf'];
|
|
break j9;
|
|
}
|
|
}
|
|
e0 = ed;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e3[e0];
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let ef = e6[e6['length'] - 0x1];
|
|
if (ef['_$HKjdrf'] !== undefined && ed >= ef['_$d0a04X']) {
|
|
et = !![],
|
|
eA = ed,
|
|
e0 = ef['_$HKjdrf'];
|
|
break j9;
|
|
}
|
|
}
|
|
e0 = ed;
|
|
}
|
|
}
|
|
, , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK];
|
|
if (ed === null || ed === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(ef) + '\x27\x20of\x20' + ed);
|
|
o[D++] = ed[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK];
|
|
if (ef === null || ef === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(eX) + '\x27\x20of\x20' + ef);
|
|
if (eH['_$Y6v1jX']) {
|
|
if (!Reflect['set'](ef, eX, ed))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(eX) + '\x27\x20of\x20object');
|
|
} else
|
|
ef[eX] = ed;
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
if (ef === null || ef === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(ed) + '\x27\x20of\x20' + ef);
|
|
o[D++] = ef[ed],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[--D];
|
|
if (eX === null || eX === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(ef) + '\x27\x20of\x20' + eX);
|
|
if (eH['_$Y6v1jX']) {
|
|
if (!Reflect['set'](eX, ef, ed))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(ef) + '\x27\x20of\x20object');
|
|
} else
|
|
eX[ef] = ed;
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed, ef;
|
|
eK != null ? (ef = o[--D],
|
|
ed = e1[eK]) : (ed = o[--D],
|
|
ef = o[--D]);
|
|
let eX = delete ef[ed];
|
|
if (eH['_$Y6v1jX'] && !eX)
|
|
throw new TypeError('Cannot\x20delete\x20property\x20\x27' + String(ed) + '\x27\x20of\x20object');
|
|
o[D++] = eX,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK], ef;
|
|
if (vma_c4692e['_$6BEkZQ'] && ed in vma_c4692e['_$6BEkZQ'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + ed + '\x27\x20before\x20initialization');
|
|
if (ed in vma_c4692e)
|
|
ef = vma_c4692e[ed];
|
|
else {
|
|
if (ed in vmb)
|
|
ef = vmb[ed];
|
|
else
|
|
throw new ReferenceError(ed + '\x20is\x20not\x20defined');
|
|
}
|
|
o[D++] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK];
|
|
if (vma_c4692e['_$6BEkZQ'] && ef in vma_c4692e['_$6BEkZQ'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + ef + '\x27\x20before\x20initialization');
|
|
let eX = !(ef in vma_c4692e) && !(ef in vmb);
|
|
vma_c4692e[ef] = ed,
|
|
ef in vmb && (vmb[ef] = ed),
|
|
eX && (vmb[ef] = ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = {},
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK];
|
|
ed === null || ed === undefined ? o[D++] = undefined : o[D++] = ed[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef in ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1];
|
|
ed !== null && ed !== undefined && Object['assign'](ef, ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
ef === null || ef === undefined ? o[D++] = undefined : o[D++] = ef[ed],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK];
|
|
vmv(ef, eX, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[--D];
|
|
vmv(eX, ef, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , function(eK) {
|
|
j9: {
|
|
o[D++] = [],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1];
|
|
ef['push'](ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = {
|
|
'value': ed
|
|
};
|
|
v['add'](ef),
|
|
o[D++] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1];
|
|
if (Array['isArray'](ed))
|
|
Array['prototype']['push']['apply'](ef, ed);
|
|
else
|
|
for (let eX of ed) {
|
|
ef['push'](eX);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[D - 0x1];
|
|
ed['length']++,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D], ef = t(ed), eX = ef && ef['_$MwTdJh'], eY = ef && ef['_$K14mQP'], eR = ef && ef['_$QXYzLl'], eo = ef && ef['_$NQGxQ2'], eD = ef && ef['_$tI9RdU'] || 0x0, eu = ef && ef['_$uisd1r'], j0 = eX ? eH['_$RLK3x1'] : undefined, j1 = eH['_$4yBaXE'], j2;
|
|
if (eR)
|
|
j2 = V(z, ed, j1, x, eu, vmb, s);
|
|
else {
|
|
if (eY) {
|
|
if (eX)
|
|
j2 = O(U, ed, j1, j0);
|
|
else
|
|
eo ? j2 = Q(U, ed, j1, eu, vmb, s) : j2 = F(U, ed, j1, eu, vmb, s);
|
|
} else {
|
|
if (eX)
|
|
j2 = n(Z, ed, j1, j0);
|
|
else
|
|
eo ? j2 = k(Z, ed, j1, eu, vmb, s) : j2 = p(Z, ed, j1, eu, vmb, s);
|
|
}
|
|
}
|
|
M(j2, 'length', {
|
|
'value': eD,
|
|
'writable': ![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
o[D++] = j2,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = q(ei, ed)
|
|
, eX = o[--D];
|
|
if (typeof eX !== 'function')
|
|
throw new TypeError(eX + '\x20is\x20not\x20a\x20constructor');
|
|
if (x['has'](eX))
|
|
throw new TypeError(eX['name'] + '\x20is\x20not\x20a\x20constructor');
|
|
let eY = vma_c4692e['_$I5zWp5'];
|
|
vma_c4692e['_$I5zWp5'] = undefined;
|
|
let eR;
|
|
try {
|
|
eR = Reflect['construct'](eX, ef);
|
|
} finally {
|
|
vma_c4692e['_$I5zWp5'] = eY;
|
|
}
|
|
o[D++] = eR,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = q(ei, ed)
|
|
, eX = o[--D];
|
|
if (eK === 0x1) {
|
|
o[D++] = ef,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
if (vma_c4692e['_$jkgDWq']) {
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eY = vma_c4692e['_$FHEfct'];
|
|
if (eY) {
|
|
let eR = eY['parent']
|
|
, eo = eY['newTarget']
|
|
, eD = Reflect['construct'](eR, ef, eo);
|
|
R && R !== eD && vmq(R)['forEach'](function(eu) {
|
|
!(eu in eD) && (eD[eu] = R[eu]);
|
|
});
|
|
R = eD,
|
|
eH['_$CyCons'] = !![];
|
|
eH['_$7NDsZT'] && (m(eH['_$4yBaXE'], '__this__'),
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
e0++;
|
|
break j9;
|
|
}
|
|
if (typeof eX !== 'function')
|
|
throw new TypeError('Super\x20expression\x20must\x20be\x20a\x20constructor');
|
|
vma_c4692e['_$lrARX2'] = Y;
|
|
try {
|
|
let eu = eX['apply'](R, ef);
|
|
eu !== undefined && eu !== R && typeof eu === 'object' && (R && Object['assign'](eu, R),
|
|
R = eu),
|
|
eH['_$CyCons'] = !![],
|
|
eH['_$7NDsZT'] && (m(eH['_$4yBaXE'], '__this__'),
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
} catch (j0) {
|
|
if (j0 instanceof TypeError && (j0['message']['includes']('\x27new\x27') || j0['message']['includes']('constructor'))) {
|
|
let j1 = Reflect['construct'](eX, ef, Y);
|
|
j1 !== R && R && Object['assign'](j1, R),
|
|
R = j1,
|
|
eH['_$CyCons'] = !![],
|
|
eH['_$7NDsZT'] && (m(eH['_$4yBaXE'], '__this__'),
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn']['__this__'] = R);
|
|
} else
|
|
throw j0;
|
|
} finally {
|
|
delete vma_c4692e['_$lrARX2'];
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = import(ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , function(eK) {
|
|
j9: {
|
|
o[D - 0x1] = typeof o[D - 0x1],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef instanceof ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK];
|
|
ed in vma_c4692e ? o[D++] = typeof vma_c4692e[ed] : o[D++] = typeof vmb[ed],
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = ed['next']();
|
|
o[D++] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
ed && typeof ed['return'] === 'function' && ed['return'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
if (ed == null)
|
|
throw new TypeError('Cannot\x20iterate\x20over\x20' + ed);
|
|
let ef = ed[Symbol['iterator']];
|
|
if (typeof ef !== 'function')
|
|
throw new TypeError('Object\x20is\x20not\x20iterable');
|
|
o[D++] = ef['call'](ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = !!ed['done'],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
if (ed == null)
|
|
throw new TypeError('Cannot\x20iterate\x20over\x20' + ed);
|
|
let ef = ed[Symbol['asyncIterator']];
|
|
if (typeof ef === 'function')
|
|
o[D++] = ef['call'](ed);
|
|
else {
|
|
let eX = ed[Symbol['iterator']];
|
|
if (typeof eX !== 'function')
|
|
throw new TypeError('Object\x20is\x20not\x20async\x20iterable');
|
|
o[D++] = eX['call'](ed);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = ed['next']();
|
|
o[D++] = Promise['resolve'](ef),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
ed && typeof ed['return'] === 'function' ? o[D++] = Promise['resolve'](ed['return']()) : o[D++] = Promise['resolve'](),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = w(ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = eK
|
|
, eY = function(eR, eo) {
|
|
let eD = function() {
|
|
if (eR) {
|
|
eo && (vma_c4692e['_$oBbAbr'] = eD);
|
|
let eu = '_$lrARX2'in vma_c4692e;
|
|
!eu && (vma_c4692e['_$lrARX2'] = new.target);
|
|
try {
|
|
let j0 = eR['apply'](this, C(arguments));
|
|
if (eo && j0 !== undefined && (typeof j0 !== 'object' || j0 === null))
|
|
throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');
|
|
return j0;
|
|
} finally {
|
|
eo && delete vma_c4692e['_$oBbAbr'],
|
|
!eu && delete vma_c4692e['_$lrARX2'];
|
|
}
|
|
}
|
|
};
|
|
return eD;
|
|
}(ef, eX);
|
|
ed && vmv(eY, 'name', {
|
|
'value': ed,
|
|
'configurable': !![]
|
|
}),
|
|
o[D++] = eY,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ef = o[--D]
|
|
, eX = o[D - 0x1];
|
|
if (ef === null) {
|
|
vmC(eX['prototype'], null),
|
|
vmC(eX, Function['prototype']),
|
|
eX['_$BfiHV1'] = null,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eY = ![];
|
|
try {
|
|
let eR = vmx(ef['prototype'])
|
|
, eo = ef['apply'](eR, []);
|
|
eo !== undefined && eo !== eR && (eY = !![]);
|
|
} catch (eD) {
|
|
eD instanceof TypeError && (eD['message']['includes']('\x27new\x27') || eD['message']['includes']('constructor') || eD['message']['includes']('Illegal\x20constructor')) && (eY = !![]);
|
|
}
|
|
if (eY) {
|
|
let eu = eX
|
|
, j0 = vma_c4692e
|
|
, j1 = '_$lrARX2'
|
|
, j2 = '_$oBbAbr'
|
|
, j3 = '_$FHEfct';
|
|
function ed(...j4) {
|
|
let j5 = vmx(ef['prototype']);
|
|
j0[j3] = {
|
|
'parent': ef,
|
|
'newTarget': new.target || ed
|
|
},
|
|
j0[j2] = new.target || ed;
|
|
let j6 = j1 in j0;
|
|
!j6 && (j0[j1] = new.target);
|
|
try {
|
|
let j7 = eu['apply'](j5, j4);
|
|
j7 !== undefined && typeof j7 === 'object' && (j5 = j7);
|
|
} finally {
|
|
delete j0[j3],
|
|
delete j0[j2],
|
|
!j6 && delete j0[j1];
|
|
}
|
|
return j5;
|
|
}
|
|
ed['prototype'] = vmx(ef['prototype']),
|
|
ed['prototype']['constructor'] = ed,
|
|
vmC(ed, ef),
|
|
vmq(eu)['forEach'](function(j4) {
|
|
j4 !== 'prototype' && j4 !== 'length' && j4 !== 'name' && M(ed, j4, vmM(eu, j4));
|
|
});
|
|
eu['prototype'] && (vmq(eu['prototype'])['forEach'](function(j4) {
|
|
j4 !== 'constructor' && M(ed['prototype'], j4, vmM(eu['prototype'], j4));
|
|
}),
|
|
vmw(eu['prototype'])['forEach'](function(j4) {
|
|
M(ed['prototype'], j4, vmM(eu['prototype'], j4));
|
|
}));
|
|
o[--D],
|
|
o[D++] = ed,
|
|
ed['_$BfiHV1'] = ef,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
vmC(eX['prototype'], ef['prototype']),
|
|
vmC(eX, ef),
|
|
eX['_$BfiHV1'] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = vma_c4692e['_$I5zWp5']
|
|
, eY = eX ? vmh(eX) : G(ef)
|
|
, eR = y(eY, ed);
|
|
if (eR['desc'] && eR['desc']['get']) {
|
|
let eD = eR['desc']['get']['call'](ef);
|
|
o[D++] = eD,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
if (eR['desc'] && eR['desc']['set'] && !('value'in eR['desc'])) {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eo = eR['proto'] ? eR['proto'][ed] : eY[ed];
|
|
if (typeof eo === 'function') {
|
|
let eu = eR['proto'] || eY
|
|
, j0 = eo['bind'](ef)
|
|
, j1 = eo['constructor'] && eo['constructor']['name']
|
|
, j2 = j1 === 'GeneratorFunction' || j1 === 'AsyncFunction' || j1 === 'AsyncGeneratorFunction';
|
|
!j2 && (!vma_c4692e['_$OITsyI'] && (vma_c4692e['_$OITsyI'] = new WeakMap()),
|
|
vma_c4692e['_$OITsyI']['set'](j0, eu)),
|
|
o[D++] = j0;
|
|
} else
|
|
o[D++] = eo;
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[--D]
|
|
, eY = G(eX)
|
|
, eR = y(eY, ef);
|
|
eR['desc'] && eR['desc']['set'] ? eR['desc']['set']['call'](eX, ed) : eX[ef] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK];
|
|
vmv(ef['prototype'], eX, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK]
|
|
, eY = h(ef);
|
|
vmv(eY, eX, {
|
|
'get': ed,
|
|
'enumerable': eY === ef,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK]
|
|
, eY = h(ef);
|
|
vmv(eY, eX, {
|
|
'set': ed,
|
|
'enumerable': eY === ef,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK];
|
|
vmv(ef, eX, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK];
|
|
vmv(ef, eX, {
|
|
'get': ed,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[D - 0x1]
|
|
, eX = e1[eK];
|
|
vmv(ef, eX, {
|
|
'set': ed,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK]
|
|
, eX = E()
|
|
, eY = 'get_' + ef
|
|
, eR = eX['get'](eY);
|
|
if (eR && eR['has'](ed)) {
|
|
let j0 = eR['get'](ed);
|
|
o[D++] = j0['call'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eo = '_$sMdkfq' + 'get_' + ef['substring'](0x1) + '_$gBu05a';
|
|
if (ed['constructor'] && eo in ed['constructor']) {
|
|
let j1 = ed['constructor'][eo];
|
|
o[D++] = j1['call'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eD = eX['get'](ef);
|
|
if (eD && eD['has'](ed)) {
|
|
o[D++] = eD['get'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eu = T(ef);
|
|
if (eu in ed) {
|
|
o[D++] = ed[eu],
|
|
e0++;
|
|
break j9;
|
|
}
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + ef + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK]
|
|
, eY = E()
|
|
, eR = 'set_' + eX
|
|
, eo = eY['get'](eR);
|
|
if (eo && eo['has'](ef)) {
|
|
let j1 = eo['get'](ef);
|
|
j1['call'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eD = '_$sMdkfq' + 'set_' + eX['substring'](0x1) + '_$gBu05a';
|
|
if (ef['constructor'] && eD in ef['constructor']) {
|
|
let j2 = ef['constructor'][eD];
|
|
j2['call'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eu = eY['get'](eX);
|
|
if (eu && eu['has'](ef)) {
|
|
eu['set'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let j0 = T(eX);
|
|
if (j0 in ef) {
|
|
ef[j0] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
throw new TypeError('Cannot\x20write\x20private\x20member\x20' + eX + '\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK]
|
|
, eY = E();
|
|
!eY['has'](eX) && eY['set'](eX, new WeakMap());
|
|
let eR = eY['get'](eX);
|
|
if (eR['has'](ef))
|
|
throw new TypeError('Cannot\x20initialize\x20' + eX + '\x20twice\x20on\x20the\x20same\x20object');
|
|
eR['set'](ef, ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK]
|
|
, eX = ![]
|
|
, eY = l();
|
|
if (eY) {
|
|
let eR = eY['get'](ef);
|
|
eR && eR['has'](ed) && (eX = !![]);
|
|
}
|
|
o[D++] = eX,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK]
|
|
, eY = null
|
|
, eR = l();
|
|
if (eR) {
|
|
let eu = eR['get'](eX);
|
|
eu && eu['has'](ef) && (eY = eu['get'](ef));
|
|
}
|
|
if (eY === null) {
|
|
let j0 = g(eX);
|
|
j0 in ef && (eY = ef[j0]);
|
|
}
|
|
if (eY === null)
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + eX + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
if (typeof eY !== 'function')
|
|
throw new TypeError(eX + '\x20is\x20not\x20a\x20function');
|
|
let eo = q(ei, ed)
|
|
, eD = eY['apply'](ef, eo);
|
|
o[D++] = eD,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK];
|
|
if (ed == null) {
|
|
o[D++] = undefined,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eX = E()
|
|
, eY = eX['get'](ef);
|
|
if (!eY || !eY['has'](ed))
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + ef + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
o[D++] = eY['get'](ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[--D];
|
|
let ef = o[D - 0x1]
|
|
, eX = e1[eK]
|
|
, eY = E();
|
|
!eY['has'](eX) && eY['set'](eX, new WeakMap());
|
|
let eR = eY['get'](eX);
|
|
eR['set'](ef, ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK]
|
|
, eX = l();
|
|
if (eX) {
|
|
let eo = 'get_' + ef
|
|
, eD = eX['get'](eo);
|
|
if (eD && eD['has'](ed)) {
|
|
let j0 = eD['get'](ed);
|
|
o[D++] = j0['call'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eu = eX['get'](ef);
|
|
if (eu && eu['has'](ed)) {
|
|
o[D++] = eu['get'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
}
|
|
let eY = '_$sMdkfq' + 'get_' + ef['substring'](0x1) + '_$gBu05a';
|
|
if (eY in ed) {
|
|
let j1 = ed[eY];
|
|
o[D++] = j1['call'](ed),
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eR = T(ef);
|
|
if (eR in ed) {
|
|
o[D++] = ed[eR],
|
|
e0++;
|
|
break j9;
|
|
}
|
|
throw new TypeError('Cannot\x20read\x20private\x20member\x20' + ef + '\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = e1[eK]
|
|
, eY = l();
|
|
if (eY) {
|
|
let eD = 'set_' + eX
|
|
, eu = eY['get'](eD);
|
|
if (eu && eu['has'](ef)) {
|
|
let j1 = eu['get'](ef);
|
|
j1['call'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let j0 = eY['get'](eX);
|
|
if (j0 && j0['has'](ef)) {
|
|
j0['set'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
}
|
|
let eR = '_$sMdkfq' + 'set_' + eX['substring'](0x1) + '_$gBu05a';
|
|
if (eR in ef) {
|
|
let j2 = ef[eR];
|
|
j2['call'](ef, ed),
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let eo = T(eX);
|
|
if (eo in ef) {
|
|
ef[eo] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
throw new TypeError('Cannot\x20write\x20private\x20member\x20' + eX + '\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');
|
|
}
|
|
}
|
|
, , function(eK) {
|
|
j9: {
|
|
if (eH['_$1HGVfp'] && !eH['_$CyCons'])
|
|
throw new ReferenceError('Must\x20call\x20super\x20constructor\x20in\x20derived\x20class\x20before\x20accessing\x20\x27this\x27\x20or\x20returning\x20from\x20derived\x20constructor');
|
|
o[D++] = R,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
if (eG === null) {
|
|
if (eH['_$Y6v1jX'] || !eH['_$rsf5Z3']) {
|
|
eG = [];
|
|
let ed = eH['_$CHE3nI'] || d;
|
|
if (ed)
|
|
for (let ef = 0x0; ef < ed['length']; ef++) {
|
|
eG[ef] = ed[ef];
|
|
}
|
|
if (eH['_$Y6v1jX']) {
|
|
let eX = function() {
|
|
throw new TypeError('\x27caller\x27,\x20\x27callee\x27,\x20and\x20\x27arguments\x27\x20properties\x20may\x20not\x20be\x20accessed\x20on\x20strict\x20mode\x20functions\x20or\x20the\x20arguments\x20objects\x20for\x20calls\x20to\x20them');
|
|
};
|
|
vmv(eG, 'callee', {
|
|
'get': eX,
|
|
'set': eX,
|
|
'enumerable': ![],
|
|
'configurable': ![]
|
|
});
|
|
} else
|
|
vmv(eG, 'callee', {
|
|
'value': X,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
});
|
|
} else {
|
|
let eY = d ? d['length'] : 0x0
|
|
, eR = {}
|
|
, eo = {}
|
|
, eD = function(j2) {
|
|
return typeof j2 === 'string' ? parseInt(j2, 0xa) : NaN;
|
|
}
|
|
, eu = function(j2) {
|
|
return !isNaN(j2) && j2 >= 0x0;
|
|
}
|
|
, j0 = function(j2) {
|
|
if (j2 in eo)
|
|
return undefined;
|
|
return j2 < d['length'] ? d[j2] : eR[j2];
|
|
}
|
|
, j1 = function(j2) {
|
|
if (j2 in eo)
|
|
return ![];
|
|
return j2 < d['length'] ? j2 in d : j2 in eR;
|
|
};
|
|
eG = new Proxy([],{
|
|
'get': function(j2, j3, j4) {
|
|
if (j3 === 'length')
|
|
return eY;
|
|
if (j3 === 'callee')
|
|
return X;
|
|
if (j3 === Symbol['iterator'])
|
|
return function() {
|
|
let j7 = 0x0;
|
|
return {
|
|
'next': function() {
|
|
if (j7 < eY)
|
|
return {
|
|
'value': j0(j7++),
|
|
'done': ![]
|
|
};
|
|
return {
|
|
'done': !![]
|
|
};
|
|
}
|
|
};
|
|
}
|
|
;
|
|
let j5 = eD(j3);
|
|
if (eu(j5))
|
|
return j0(j5);
|
|
if (j3 === 'hasOwnProperty')
|
|
return function(j7) {
|
|
if (j7 === 'length' || j7 === 'callee')
|
|
return !![];
|
|
let j8 = eD(j7);
|
|
return eu(j8) && j8 < eY && j1(j8);
|
|
}
|
|
;
|
|
let j6 = Array['prototype'][j3];
|
|
if (typeof j6 === 'function')
|
|
return function() {
|
|
let j7 = [];
|
|
for (let j8 = 0x0; j8 < eY; j8++) {
|
|
j7[j8] = j0(j8);
|
|
}
|
|
return j6['apply'](j7, arguments);
|
|
}
|
|
;
|
|
return undefined;
|
|
},
|
|
'set': function(j2, j3, j4) {
|
|
if (j3 === 'length')
|
|
return eY = j4,
|
|
!![];
|
|
let j5 = eD(j3);
|
|
if (eu(j5)) {
|
|
if (j5 in eo)
|
|
delete eo[j5],
|
|
eR[j5] = j4;
|
|
else
|
|
j5 < d['length'] ? d[j5] = j4 : eR[j5] = j4;
|
|
return j5 >= eY && (eY = j5 + 0x1),
|
|
!![];
|
|
}
|
|
return !![];
|
|
},
|
|
'has': function(j2, j3) {
|
|
if (j3 === 'length' || j3 === 'callee')
|
|
return !![];
|
|
let j4 = eD(j3);
|
|
if (eu(j4) && j4 < eY)
|
|
return j1(j4);
|
|
return j3 in Array['prototype'];
|
|
},
|
|
'deleteProperty': function(j2, j3) {
|
|
let j4 = eD(j3);
|
|
return eu(j4) && (j4 < d['length'] ? eo[j4] = 0x1 : delete eR[j4]),
|
|
!![];
|
|
},
|
|
'getOwnPropertyDescriptor': function(j2, j3) {
|
|
if (j3 === 'callee')
|
|
return {
|
|
'value': X,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
};
|
|
if (j3 === 'length')
|
|
return {
|
|
'value': eY,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
};
|
|
let j4 = eD(j3);
|
|
if (eu(j4) && j4 < eY && j1(j4))
|
|
return {
|
|
'value': j0(j4),
|
|
'writable': !![],
|
|
'enumerable': !![],
|
|
'configurable': !![]
|
|
};
|
|
return undefined;
|
|
},
|
|
'ownKeys': function(j2) {
|
|
let j3 = [];
|
|
for (let j4 = 0x0; j4 < eY; j4++) {
|
|
j1(j4) && j3['push'](String(j4));
|
|
}
|
|
return j3['push']('length', 'callee'),
|
|
j3;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
o[D++] = eG,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >> 0x10
|
|
, eX = e1[ed]
|
|
, eY = e1[ef];
|
|
o[D++] = new RegExp(eX,eY),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[--D],
|
|
o[D++] = undefined,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = Y,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = vmB[eK],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = vmi[eK],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
if (eK === -0x1)
|
|
o[D++] = Symbol();
|
|
else {
|
|
let ed = o[--D];
|
|
o[D++] = Symbol(ed);
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK];
|
|
o[D++] = Symbol['for'](ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D];
|
|
o[D++] = Symbol['keyFor'](ed),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1];
|
|
vmv(eX['prototype'], ef, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1];
|
|
vmv(eX, ef, {
|
|
'value': ed,
|
|
'writable': !![],
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1]
|
|
, eY = h(eX);
|
|
vmv(eY, ef, {
|
|
'get': ed,
|
|
'enumerable': eY === eX,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1]
|
|
, eY = h(eX);
|
|
vmv(eY, ef, {
|
|
'set': ed,
|
|
'enumerable': eY === eX,
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1];
|
|
vmv(eX, ef, {
|
|
'get': ed,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = o[--D]
|
|
, eX = o[D - 0x1];
|
|
vmv(eX, ef, {
|
|
'set': ed,
|
|
'enumerable': ![],
|
|
'configurable': !![]
|
|
}),
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , , , , , function(eK) {
|
|
j9: {
|
|
debugger ;e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
return eL = D > 0x0 ? o[--D] : undefined,
|
|
0x1;
|
|
}
|
|
}
|
|
, , , , , , , , function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = {
|
|
['_$bwq1Pn']: null,
|
|
['_$lyjtwA']: null,
|
|
['_$80pl7v']: null,
|
|
['_$SNb4fn']: ed
|
|
};
|
|
eH['_$4yBaXE'] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK];
|
|
if (ed === '__this__') {
|
|
let eD = eH['_$4yBaXE'];
|
|
while (eD) {
|
|
if (eD['_$80pl7v'] && '__this__'in eD['_$80pl7v'])
|
|
throw new ReferenceError('Cannot\x20access\x20\x27__this__\x27\x20before\x20initialization');
|
|
if (eD['_$bwq1Pn'] && '__this__'in eD['_$bwq1Pn'])
|
|
break;
|
|
eD = eD['_$SNb4fn'];
|
|
}
|
|
o[D++] = R,
|
|
e0++;
|
|
break j9;
|
|
}
|
|
let ef = eH['_$4yBaXE'], eX, eY = ![], eR = ed['indexOf']('$$'), eo = eR !== -0x1 ? ed['substring'](0x0, eR) : null;
|
|
while (ef) {
|
|
let eu = ef['_$80pl7v']
|
|
, j0 = ef['_$bwq1Pn'];
|
|
if (eu && ed in eu)
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + ed + '\x27\x20before\x20initialization');
|
|
if (eo && eu && eo in eu) {
|
|
if (!(j0 && ed in j0))
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + eo + '\x27\x20before\x20initialization');
|
|
}
|
|
if (j0 && ed in j0) {
|
|
eX = j0[ed],
|
|
eY = !![];
|
|
break;
|
|
}
|
|
ef = ef['_$SNb4fn'];
|
|
}
|
|
!eY && (ed in vma_c4692e ? eX = vma_c4692e[ed] : eX = vmb[ed]),
|
|
o[D++] = eX,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK]
|
|
, ef = o[--D]
|
|
, eX = eH['_$4yBaXE']
|
|
, eY = ![];
|
|
while (eX) {
|
|
let eR = eX['_$80pl7v']
|
|
, eo = eX['_$bwq1Pn'];
|
|
if (eR && ed in eR)
|
|
throw new ReferenceError('Cannot\x20access\x20\x27' + ed + '\x27\x20before\x20initialization');
|
|
if (eo && ed in eo) {
|
|
if (eX['_$0pzybI'] && ed in eX['_$0pzybI']) {
|
|
if (eH['_$Y6v1jX'])
|
|
throw new TypeError('Assignment\x20to\x20constant\x20variable.');
|
|
eY = !![];
|
|
break;
|
|
}
|
|
if (eX['_$lyjtwA'] && ed in eX['_$lyjtwA'])
|
|
throw new TypeError('Assignment\x20to\x20constant\x20variable.');
|
|
eo[ed] = ef,
|
|
eY = !![];
|
|
break;
|
|
}
|
|
eX = eX['_$SNb4fn'];
|
|
}
|
|
if (!eY) {
|
|
if (ed in vma_c4692e)
|
|
vma_c4692e[ed] = ef;
|
|
else
|
|
ed in vmb ? vmb[ed] = ef : vmb[ed] = ef;
|
|
}
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
o[D++] = eH['_$4yBaXE'],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
eH['_$4yBaXE'] && eH['_$4yBaXE']['_$SNb4fn'] && (eH['_$4yBaXE'] = eH['_$4yBaXE']['_$SNb4fn']),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK]
|
|
, ef = o[--D];
|
|
m(eH['_$4yBaXE'], ed),
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn'][ed] = ef,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK]
|
|
, ef = o[--D]
|
|
, eX = eH['_$4yBaXE']
|
|
, eY = ![];
|
|
while (eX) {
|
|
if (eX['_$bwq1Pn'] && ed in eX['_$bwq1Pn']) {
|
|
if (eX['_$lyjtwA'] && ed in eX['_$lyjtwA'])
|
|
break;
|
|
eX['_$bwq1Pn'][ed] = ef;
|
|
!eX['_$lyjtwA'] && (eX['_$lyjtwA'] = vmx(null));
|
|
eX['_$lyjtwA'][ed] = !![],
|
|
eY = !![];
|
|
break;
|
|
}
|
|
eX = eX['_$SNb4fn'];
|
|
}
|
|
!eY && (L(eH['_$4yBaXE'], ed),
|
|
!eH['_$4yBaXE']['_$bwq1Pn'] && (eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$bwq1Pn'][ed] = ef,
|
|
!eH['_$4yBaXE']['_$lyjtwA'] && (eH['_$4yBaXE']['_$lyjtwA'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$lyjtwA'][ed] = !![]),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK]
|
|
, ef = o[--D];
|
|
m(eH['_$4yBaXE'], ed);
|
|
if (!eH['_$4yBaXE']['_$bwq1Pn'])
|
|
eH['_$4yBaXE']['_$bwq1Pn'] = vmx(null);
|
|
eH['_$4yBaXE']['_$bwq1Pn'][ed] = ef,
|
|
!eH['_$4yBaXE']['_$lyjtwA'] && (eH['_$4yBaXE']['_$lyjtwA'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$lyjtwA'][ed] = !![],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK];
|
|
!eH['_$4yBaXE']['_$80pl7v'] && (eH['_$4yBaXE']['_$80pl7v'] = vmx(null)),
|
|
eH['_$4yBaXE']['_$80pl7v'][ed] = !![],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = e1[eK]
|
|
, ef = o[--D]
|
|
, eX = eH['_$4yBaXE']['_$SNb4fn'];
|
|
eX && (!eX['_$bwq1Pn'] && (eX['_$bwq1Pn'] = vmx(null)),
|
|
eX['_$bwq1Pn'][ed] = ef),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = o[--D]
|
|
, ef = e1[eK];
|
|
if (eH['_$Y6v1jX'] && !(ef in vmb) && !(ef in vma_c4692e))
|
|
throw new ReferenceError(ef + '\x20is\x20not\x20defined');
|
|
vma_c4692e[ef] = ed,
|
|
vmb[ef] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function(eK) {
|
|
j9: {
|
|
u[eK] = u[eK] + 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
u[eK] = u[eK] - 0x1,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10;
|
|
o[D++] = u[ed] + e1[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10;
|
|
o[D++] = u[ed] - e1[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10;
|
|
o[D++] = u[ed] * e1[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10
|
|
, eX = u[ed]
|
|
, eY = e1[ef];
|
|
o[D++] = eX[eY],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10;
|
|
o[D++] = u[ed] < e1[ef],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10;
|
|
u[ed] < e1[ef] ? e0 = e3[e0] : e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = eK & 0xffff
|
|
, ef = eK >>> 0x10
|
|
, eX = o[--D]
|
|
, eY = q(ei, eX)
|
|
, eR = u[ed]
|
|
, eo = e1[ef]
|
|
, eD = eR[eo];
|
|
o[D++] = eD['apply'](eR, eY),
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
u[eK] = o[--D],
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = u[eK] + 0x1;
|
|
u[eK] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
, function(eK) {
|
|
j9: {
|
|
let ed = u[eK] - 0x1;
|
|
u[eK] = ed,
|
|
o[D++] = ed,
|
|
e0++;
|
|
}
|
|
}
|
|
];
|
|
switch (eF) {
|
|
case 0x0:
|
|
{
|
|
o[D++] = e1[en],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x1:
|
|
{
|
|
o[D++] = undefined,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x3:
|
|
{
|
|
o[--D],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x4:
|
|
{
|
|
let eK = o[D - 0x1];
|
|
o[D++] = eK,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x6:
|
|
{
|
|
o[D++] = u[en],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x7:
|
|
{
|
|
u[en] = o[--D],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x8:
|
|
{
|
|
o[D++] = d[en],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0xa:
|
|
{
|
|
let ed = o[--D]
|
|
, ef = o[--D];
|
|
o[D++] = ef + ed,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0xb:
|
|
{
|
|
let eX = o[--D]
|
|
, eY = o[--D];
|
|
o[D++] = eY - eX,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x10:
|
|
{
|
|
let eR = o[--D];
|
|
o[D++] = typeof eR === B ? eR + 0x1n : +eR + 0x1,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x1c:
|
|
{
|
|
let eo = o[--D];
|
|
o[D++] = typeof eo === B ? eo : +eo,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x2c:
|
|
{
|
|
let eD = o[--D]
|
|
, eu = o[--D];
|
|
o[D++] = eu < eD,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x2e:
|
|
{
|
|
let j0 = o[--D]
|
|
, j1 = o[--D];
|
|
o[D++] = j1 > j0,
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x32:
|
|
{
|
|
e0 = e3[e0];
|
|
continue;
|
|
}
|
|
case 0x34:
|
|
{
|
|
!o[--D] ? e0 = e3[e0] : e0++;
|
|
continue;
|
|
}
|
|
case 0x48:
|
|
{
|
|
let j2 = o[--D]
|
|
, j3 = o[--D];
|
|
if (j3 === null || j3 === undefined)
|
|
throw new TypeError('Cannot\x20read\x20property\x20\x27' + String(j2) + '\x27\x20of\x20' + j3);
|
|
o[D++] = j3[j2],
|
|
e0++;
|
|
continue;
|
|
}
|
|
case 0x49:
|
|
{
|
|
let j4 = o[--D]
|
|
, j5 = o[--D]
|
|
, j6 = o[--D];
|
|
if (j6 === null || j6 === undefined)
|
|
throw new TypeError('Cannot\x20set\x20property\x20\x27' + String(j5) + '\x27\x20of\x20' + j6);
|
|
if (eI) {
|
|
if (!Reflect['set'](j6, j5, j4))
|
|
throw new TypeError('Cannot\x20assign\x20to\x20read\x20only\x20property\x20\x27' + String(j5) + '\x27\x20of\x20object');
|
|
} else
|
|
j6[j5] = j4;
|
|
o[D++] = j4,
|
|
e0++;
|
|
continue;
|
|
}
|
|
}
|
|
eH = em;
|
|
if (eE[eF](en))
|
|
return eL;
|
|
eC = em['_$4yBaXE'],
|
|
ey = em['_$CyCons'];
|
|
}
|
|
break;
|
|
} catch (j7) {
|
|
if (e6 && e6['length'] > 0x0) {
|
|
let j8 = e6[e6['length'] - 0x1];
|
|
D = j8['_$aDY3PH'];
|
|
if (j8['_$XlQxjb'] !== undefined)
|
|
eB(j7),
|
|
e0 = j8['_$XlQxjb'],
|
|
j8['_$XlQxjb'] = undefined,
|
|
j8['_$HKjdrf'] === undefined && e6['pop']();
|
|
else
|
|
j8['_$HKjdrf'] !== undefined ? (e0 = j8['_$HKjdrf'],
|
|
j8['_$vUHLi1'] = j7) : (e0 = j8['_$d0a04X'],
|
|
e6['pop']());
|
|
continue;
|
|
}
|
|
throw j7;
|
|
}
|
|
}
|
|
return D > 0x0 ? o[--D] : ey ? R : undefined;
|
|
}
|
|
let Z = function(K, d, f, X, Y, R) {
|
|
vma_c4692e['_$0LycrA'] ? vma_c4692e['_$0LycrA'] = ![] : vma_c4692e['_$I5zWp5'] = undefined;
|
|
let o = R === s ? this : R
|
|
, D = typeof K === 'object' ? K : t(K);
|
|
return P(D, d, f, X, Y, o);
|
|
}
|
|
, U = async function(K, d, f, X, Y, R, o) {
|
|
let D = o === s ? this : o
|
|
, u = typeof K === 'object' ? K : t(K)
|
|
, e0 = r(u, d, f, X, Y, D)
|
|
, e1 = e0['next']();
|
|
while (!e1['done']) {
|
|
if (e1['value']['_$MPSEdQ'] !== I)
|
|
throw new Error('Unexpected\x20yield\x20in\x20async\x20context');
|
|
try {
|
|
let e2 = await Promise['resolve'](e1['value']['_$zlaLmv']);
|
|
vma_c4692e['_$I5zWp5'] = R,
|
|
e1 = e0['next'](e2);
|
|
} catch (e3) {
|
|
vma_c4692e['_$I5zWp5'] = R,
|
|
e1 = e0['throw'](e3);
|
|
}
|
|
}
|
|
return e1['value'];
|
|
}
|
|
, z = function(K, d, f, X, Y, R) {
|
|
let o = R === s ? this : R
|
|
, D = typeof K === 'object' ? K : t(K)
|
|
, u = r(D, d, f, X, undefined, o)
|
|
, e0 = ![]
|
|
, e1 = null
|
|
, e2 = undefined
|
|
, e3 = ![];
|
|
function e4(ee, ej) {
|
|
if (e0)
|
|
return {
|
|
'value': undefined,
|
|
'done': !![]
|
|
};
|
|
vma_c4692e['_$I5zWp5'] = Y;
|
|
if (e1) {
|
|
let eA;
|
|
try {
|
|
eA = ej ? typeof e1['throw'] === 'function' ? e1['throw'](ee) : (e1 = null,
|
|
(function() {
|
|
throw ee;
|
|
}())) : e1['next'](ee);
|
|
} catch (es) {
|
|
e1 = null;
|
|
try {
|
|
let eI = u['throw'](es);
|
|
return e5(eI);
|
|
} catch (eN) {
|
|
e0 = !![];
|
|
throw eN;
|
|
}
|
|
}
|
|
if (!eA['done'])
|
|
return {
|
|
'value': eA['value'],
|
|
'done': ![]
|
|
};
|
|
e1 = null,
|
|
ee = eA['value'],
|
|
ej = ![];
|
|
}
|
|
let et;
|
|
try {
|
|
et = ej ? u['throw'](ee) : u['next'](ee);
|
|
} catch (eW) {
|
|
e0 = !![];
|
|
throw eW;
|
|
}
|
|
return e5(et);
|
|
}
|
|
function e5(ee) {
|
|
if (ee['done']) {
|
|
e0 = !![];
|
|
if (e3)
|
|
return e3 = ![],
|
|
{
|
|
'value': e2,
|
|
'done': !![]
|
|
};
|
|
return {
|
|
'value': ee['value'],
|
|
'done': !![]
|
|
};
|
|
}
|
|
let ej = ee['value'];
|
|
if (ej['_$MPSEdQ'] === N)
|
|
return {
|
|
'value': ej['_$zlaLmv'],
|
|
'done': ![]
|
|
};
|
|
if (ej['_$MPSEdQ'] === W) {
|
|
let et = ej['_$zlaLmv']
|
|
, eA = et;
|
|
eA && typeof eA[Symbol['iterator']] === 'function' && (eA = eA[Symbol['iterator']]());
|
|
if (eA && typeof eA['next'] === 'function') {
|
|
let es = eA['next']();
|
|
if (!es['done'])
|
|
return e1 = eA,
|
|
{
|
|
'value': es['value'],
|
|
'done': ![]
|
|
};
|
|
return e4(es['value'], ![]);
|
|
}
|
|
return e4(undefined, ![]);
|
|
}
|
|
throw new Error('Unexpected\x20signal\x20in\x20generator');
|
|
}
|
|
let e6 = D && D['_$K14mQP']
|
|
, e7 = async function(ee) {
|
|
if (e0)
|
|
return {
|
|
'value': ee,
|
|
'done': !![]
|
|
};
|
|
if (e1 && typeof e1['return'] === 'function') {
|
|
try {
|
|
await e1['return']();
|
|
} catch (et) {}
|
|
e1 = null;
|
|
}
|
|
let ej;
|
|
try {
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next']({
|
|
['_$MPSEdQ']: a,
|
|
['_$zlaLmv']: ee
|
|
});
|
|
} catch (eA) {
|
|
e0 = !![];
|
|
throw eA;
|
|
}
|
|
while (!ej['done']) {
|
|
let es = ej['value'];
|
|
if (es['_$MPSEdQ'] === I)
|
|
try {
|
|
let eI = await Promise['resolve'](es['_$zlaLmv']);
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next'](eI);
|
|
} catch (eN) {
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['throw'](eN);
|
|
}
|
|
else {
|
|
if (es['_$MPSEdQ'] === N)
|
|
try {
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next']();
|
|
} catch (eW) {
|
|
e0 = !![];
|
|
throw eW;
|
|
}
|
|
else
|
|
break;
|
|
}
|
|
}
|
|
return e0 = !![],
|
|
{
|
|
'value': ej['value'],
|
|
'done': !![]
|
|
};
|
|
}
|
|
, e8 = function(ee) {
|
|
if (e0)
|
|
return {
|
|
'value': ee,
|
|
'done': !![]
|
|
};
|
|
if (e1 && typeof e1['return'] === 'function') {
|
|
try {
|
|
e1['return']();
|
|
} catch (et) {}
|
|
e1 = null;
|
|
}
|
|
e2 = ee,
|
|
e3 = !![];
|
|
let ej;
|
|
try {
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next']({
|
|
['_$MPSEdQ']: a,
|
|
['_$zlaLmv']: ee
|
|
});
|
|
} catch (eA) {
|
|
e0 = !![],
|
|
e3 = ![];
|
|
throw eA;
|
|
}
|
|
if (!ej['done'] && ej['value'] && ej['value']['_$MPSEdQ'] === N)
|
|
return {
|
|
'value': ej['value']['_$zlaLmv'],
|
|
'done': ![]
|
|
};
|
|
return e0 = !![],
|
|
e3 = ![],
|
|
{
|
|
'value': ej['value'],
|
|
'done': !![]
|
|
};
|
|
};
|
|
if (e6) {
|
|
let ee = async function(ej, et) {
|
|
if (e0)
|
|
return {
|
|
'value': undefined,
|
|
'done': !![]
|
|
};
|
|
vma_c4692e['_$I5zWp5'] = Y;
|
|
if (e1) {
|
|
let es;
|
|
try {
|
|
es = et ? typeof e1['throw'] === 'function' ? await e1['throw'](ej) : (e1 = null,
|
|
(function() {
|
|
throw ej;
|
|
}())) : await e1['next'](ej);
|
|
} catch (eI) {
|
|
e1 = null;
|
|
try {
|
|
vma_c4692e['_$I5zWp5'] = Y;
|
|
let eN = u['throw'](eI);
|
|
return await e9(eN);
|
|
} catch (eW) {
|
|
e0 = !![];
|
|
throw eW;
|
|
}
|
|
}
|
|
if (!es['done'])
|
|
return {
|
|
'value': es['value'],
|
|
'done': ![]
|
|
};
|
|
e1 = null,
|
|
ej = es['value'],
|
|
et = ![];
|
|
}
|
|
let eA;
|
|
try {
|
|
eA = et ? u['throw'](ej) : u['next'](ej);
|
|
} catch (ea) {
|
|
e0 = !![];
|
|
throw ea;
|
|
}
|
|
return await e9(eA);
|
|
};
|
|
async function e9(ej) {
|
|
while (!ej['done']) {
|
|
let et = ej['value'];
|
|
if (et['_$MPSEdQ'] === I) {
|
|
let eA;
|
|
try {
|
|
eA = await Promise['resolve'](et['_$zlaLmv']),
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next'](eA);
|
|
} catch (es) {
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['throw'](es);
|
|
}
|
|
continue;
|
|
}
|
|
if (et['_$MPSEdQ'] === N)
|
|
return {
|
|
'value': et['_$zlaLmv'],
|
|
'done': ![]
|
|
};
|
|
if (et['_$MPSEdQ'] === W) {
|
|
let eI = et['_$zlaLmv']
|
|
, eN = eI;
|
|
if (eN && typeof eN[Symbol['asyncIterator']] === 'function')
|
|
eN = eN[Symbol['asyncIterator']]();
|
|
else
|
|
eN && typeof eN[Symbol['iterator']] === 'function' && (eN = eN[Symbol['iterator']]());
|
|
if (eN && typeof eN['next'] === 'function') {
|
|
let eW = await eN['next']();
|
|
if (!eW['done'])
|
|
return e1 = eN,
|
|
{
|
|
'value': eW['value'],
|
|
'done': ![]
|
|
};
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next'](eW['value']);
|
|
continue;
|
|
}
|
|
vma_c4692e['_$I5zWp5'] = Y,
|
|
ej = u['next'](undefined);
|
|
continue;
|
|
}
|
|
throw new Error('Unexpected\x20signal\x20in\x20async\x20generator');
|
|
}
|
|
e0 = !![];
|
|
if (e3)
|
|
return e3 = ![],
|
|
{
|
|
'value': e2,
|
|
'done': !![]
|
|
};
|
|
return {
|
|
'value': ej['value'],
|
|
'done': !![]
|
|
};
|
|
}
|
|
return {
|
|
'next': function(ej) {
|
|
return ee(ej, ![]);
|
|
},
|
|
'return': e7,
|
|
'throw': function(ej) {
|
|
if (e0)
|
|
return Promise['reject'](ej);
|
|
return ee(ej, !![]);
|
|
},
|
|
[Symbol['asyncIterator']]: function() {
|
|
return this;
|
|
}
|
|
};
|
|
} else
|
|
return {
|
|
'next': function(ej) {
|
|
return e4(ej, ![]);
|
|
},
|
|
'return': e8,
|
|
'throw': function(ej) {
|
|
if (e0)
|
|
throw ej;
|
|
return e4(ej, !![]);
|
|
},
|
|
[Symbol['iterator']]: function() {
|
|
return this;
|
|
}
|
|
};
|
|
};
|
|
return function(K, d, f, X, Y) {
|
|
let R = t(K);
|
|
if (R && R['_$QXYzLl']) {
|
|
let o = vma_c4692e['_$I5zWp5'];
|
|
return z['call'](this, R, d, f, X, o, s);
|
|
}
|
|
if (R && R['_$K14mQP']) {
|
|
let D = vma_c4692e['_$I5zWp5'];
|
|
return U['call'](this, R, d, f, X, Y, D, s);
|
|
}
|
|
if (R && R['_$uisd1r'] && this === vmb)
|
|
return Z(R, d, f, X, Y, undefined);
|
|
return Z['call'](this, R, d, f, X, Y, s);
|
|
}
|
|
;
|
|
}());
|
|
vma_c4692e.globalThis = globalThis;
|
|
vma_c4692e.self = self;
|
|
vma_c4692e.Object = Object;
|
|
vma_c4692e.Promise = Promise;
|
|
vma_c4692e.window = window;
|
|
vma_c4692e.Error = Error;
|
|
vma_c4692e.Math = Math;
|
|
vma_c4692e.Date = Date;
|
|
vma_c4692e.JSON = JSON;
|
|
vma_c4692e.Uint8Array = Uint8Array;
|
|
vma_c4692e.crypto = crypto;
|
|
vma_c4692e.String = String;
|
|
vma_c4692e.btoa = btoa;
|
|
vma_c4692e.atob = atob;
|
|
vma_c4692e.parseInt = parseInt;
|
|
vma_c4692e.Array = Array;
|
|
vma_c4692e.Symbol = Symbol;
|
|
(function(j, t) {
|
|
return vms_57d4be['call'](this, 0x0, Array['from'](arguments), undefined, undefined, new.target);
|
|
}(globalThis, function(j) {
|
|
return vms_57d4be['call'](this, 0x1c, Array['from'](arguments), undefined, undefined, new.target);
|
|
}));
|
|
;!function(o) {
|
|
"use strict";
|
|
var N = Object.defineProperty
|
|
, P = Object.defineProperties;
|
|
var V = Object.getOwnPropertyDescriptors;
|
|
var x = Object.getOwnPropertySymbols;
|
|
var z = Object.prototype.hasOwnProperty
|
|
, K = Object.prototype.propertyIsEnumerable;
|
|
var C = (o, r, l) => r in o ? N(o, r, {
|
|
enumerable: !0,
|
|
configurable: !0,
|
|
writable: !0,
|
|
value: l
|
|
}) : o[r] = l
|
|
, y = (o, r) => {
|
|
for (var l in r || (r = {}))
|
|
z.call(r, l) && C(o, l, r[l]);
|
|
if (x)
|
|
for (var l of x(r))
|
|
K.call(r, l) && C(o, l, r[l]);
|
|
return o
|
|
}
|
|
, L = (o, r) => P(o, V(r));
|
|
var n = (o, r, l) => C(o, typeof r != "symbol" ? r + "" : r, l);
|
|
var m = (o, r, l) => new Promise( (R, T) => {
|
|
var M = p => {
|
|
try {
|
|
g(l.next(p))
|
|
} catch (b) {
|
|
T(b)
|
|
}
|
|
}
|
|
, S = p => {
|
|
try {
|
|
g(l.throw(p))
|
|
} catch (b) {
|
|
T(b)
|
|
}
|
|
}
|
|
, g = p => p.done ? R(p.value) : Promise.resolve(p.value).then(M, S);
|
|
g((l = l.apply(o, r)).next())
|
|
}
|
|
);
|
|
var r = (h => (h.NETWORK_ERROR = "NETWORK_ERROR",
|
|
h.TIMEOUT_ERROR = "TIMEOUT_ERROR",
|
|
h.VERIFICATION_FAILED = "VERIFICATION_FAILED",
|
|
h.API_ERROR = "API_ERROR",
|
|
h.CONFIG_ERROR = "CONFIG_ERROR",
|
|
h))(r || {});
|
|
class l {
|
|
constructor() {
|
|
n(this, "events", new Map)
|
|
}
|
|
on(i, e) {
|
|
this.events.has(i) || this.events.set(i, new Set),
|
|
this.events.get(i).add(e)
|
|
}
|
|
off(i, e) {
|
|
var t;
|
|
(t = this.events.get(i)) == null || t.delete(e)
|
|
}
|
|
emit(i, ...e) {
|
|
var t;
|
|
(t = this.events.get(i)) == null || t.forEach(s => s(...e))
|
|
}
|
|
removeAllListeners() {
|
|
this.events.clear()
|
|
}
|
|
}
|
|
class R {
|
|
collect() {
|
|
return m(this, null, function*() {
|
|
const i = {
|
|
userAgent: navigator.userAgent,
|
|
language: navigator.language,
|
|
platform: navigator.platform,
|
|
screenResolution: `${screen.width}x${screen.height}`,
|
|
colorDepth: screen.colorDepth,
|
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
timestamp: Date.now()
|
|
}
|
|
, e = JSON.stringify(i);
|
|
if (crypto.subtle) {
|
|
const a = new TextEncoder().encode(e)
|
|
, c = yield crypto.subtle.digest("SHA-256", a);
|
|
return Array.from(new Uint8Array(c)).map(f => f.toString(16).padStart(2, "0")).join("")
|
|
}
|
|
let t = 0;
|
|
for (let s = 0; s < e.length; s++) {
|
|
const a = e.charCodeAt(s);
|
|
t = (t << 5) - t + a,
|
|
t = t & t
|
|
}
|
|
return Math.abs(t).toString(16)
|
|
})
|
|
}
|
|
}
|
|
const T = {
|
|
"zh-CN": {
|
|
dragToVerify: "向右滑动完成验证",
|
|
verifying: "验证中...",
|
|
success: "验证成功",
|
|
failed: "验证失败,请重试",
|
|
networkError: "网络错误,请重试",
|
|
timeout: "请求超时,请重试",
|
|
refresh: "点击刷新",
|
|
title: "安全验证"
|
|
},
|
|
en: {
|
|
dragToVerify: "Slide to verify",
|
|
verifying: "Verifying...",
|
|
success: "Verified",
|
|
failed: "Failed, please retry",
|
|
networkError: "Network error, please retry",
|
|
timeout: "Timeout, please retry",
|
|
refresh: "Click to refresh",
|
|
title: "Security Verification"
|
|
}
|
|
};
|
|
class M {
|
|
constructor(i="zh-CN") {
|
|
n(this, "locale");
|
|
this.locale = i
|
|
}
|
|
setLocale(i) {
|
|
this.locale = i
|
|
}
|
|
getLocale() {
|
|
return this.locale
|
|
}
|
|
t(i) {
|
|
return T[this.locale][i] || i
|
|
}
|
|
}
|
|
const S = {
|
|
create: "/captcha/create",
|
|
verify: "/captcha/verify"
|
|
};
|
|
class g extends Error {
|
|
constructor(e, t, s) {
|
|
super(t);
|
|
n(this, "code");
|
|
n(this, "details");
|
|
this.name = "APIError",
|
|
this.code = e,
|
|
this.details = s
|
|
}
|
|
}
|
|
class p {
|
|
constructor(i) {
|
|
n(this, "baseUrl");
|
|
n(this, "timeout");
|
|
n(this, "endpoints");
|
|
this.baseUrl = i.baseUrl.replace(/\/+$/, ""),
|
|
this.timeout = i.timeout,
|
|
this.endpoints = y(y({}, S), i.endpoints)
|
|
}
|
|
request(t) {
|
|
return m(this, arguments, function*(i, e={}) {
|
|
var c, u;
|
|
const s = new AbortController
|
|
, a = setTimeout( () => s.abort(), this.timeout);
|
|
try {
|
|
const f = yield fetch(`${this.baseUrl}${i}`, L(y({}, e), {
|
|
signal: s.signal,
|
|
headers: y({
|
|
"Content-Type": "application/json"
|
|
}, e.headers)
|
|
}));
|
|
clearTimeout(a);
|
|
const d = yield f.json();
|
|
return (d.success === !0 || d.code === 1) && d.data ? {
|
|
success: !0,
|
|
data: d.data
|
|
} : {
|
|
success: !1,
|
|
data: d.data,
|
|
error: {
|
|
code: String(d.code || ((c = d.error) == null ? void 0 : c.code) || "API_ERROR"),
|
|
message: d.msg || d.message || ((u = d.error) == null ? void 0 : u.message) || "Request failed"
|
|
}
|
|
}
|
|
} catch (f) {
|
|
throw clearTimeout(a),
|
|
f instanceof Error && f.name === "AbortError" ? new g(r.TIMEOUT_ERROR,"Request timeout") : new g(r.NETWORK_ERROR,f instanceof Error ? f.message : "Network error")
|
|
}
|
|
})
|
|
}
|
|
create(i, e="default", t) {
|
|
return m(this, null, function*() {
|
|
const s = {
|
|
request_id: i,
|
|
scene: e
|
|
};
|
|
if (t !== void 0 && t > 0) {
|
|
const c = Math.floor(Date.now() / 1e3) - t;
|
|
s.seed = btoa(String(c))
|
|
}
|
|
return this.request(this.endpoints.create, {
|
|
method: "POST",
|
|
body: JSON.stringify(s)
|
|
})
|
|
})
|
|
}
|
|
verify(i) {
|
|
return m(this, null, function*() {
|
|
return this.request(this.endpoints.verify, {
|
|
method: "POST",
|
|
body: JSON.stringify(i)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
class b {
|
|
constructor(i={}) {
|
|
n(this, "points", []);
|
|
n(this, "startTime", 0);
|
|
n(this, "endTime", 0);
|
|
n(this, "lastRecordTime", 0);
|
|
n(this, "isRecording", !1);
|
|
n(this, "recordInterval");
|
|
n(this, "maxPoints");
|
|
var e, t;
|
|
this.recordInterval = (e = i.recordInterval) != null ? e : 16,
|
|
this.maxPoints = (t = i.maxPoints) != null ? t : 1e3
|
|
}
|
|
start() {
|
|
this.clear(),
|
|
this.startTime = Date.now(),
|
|
this.lastRecordTime = 0,
|
|
this.isRecording = !0
|
|
}
|
|
record(i, e) {
|
|
if (!this.isRecording)
|
|
return !1;
|
|
const s = Date.now() - this.startTime;
|
|
if (s - this.lastRecordTime < this.recordInterval && this.points.length > 0 || this.points.length >= this.maxPoints)
|
|
return !1;
|
|
const a = this.points[this.points.length - 1];
|
|
return a && s <= a.time ? !1 : (this.points.push({
|
|
x: Math.round(i * 100) / 100,
|
|
y: Math.round(e * 100) / 100,
|
|
time: s
|
|
}),
|
|
this.lastRecordTime = s,
|
|
!0)
|
|
}
|
|
stop() {
|
|
this.isRecording = !1,
|
|
this.endTime = Date.now();
|
|
const i = this.endTime - this.startTime;
|
|
return {
|
|
points: [...this.points],
|
|
startTime: this.startTime,
|
|
endTime: this.endTime,
|
|
duration: i
|
|
}
|
|
}
|
|
clear() {
|
|
this.points = [],
|
|
this.startTime = 0,
|
|
this.endTime = 0,
|
|
this.lastRecordTime = 0,
|
|
this.isRecording = !1
|
|
}
|
|
getTrailData() {
|
|
const i = Date.now()
|
|
, e = this.isRecording ? i - this.startTime : this.endTime - this.startTime;
|
|
return {
|
|
points: [...this.points],
|
|
startTime: this.startTime,
|
|
endTime: this.isRecording ? i : this.endTime,
|
|
duration: e
|
|
}
|
|
}
|
|
getIsRecording() {
|
|
return this.isRecording
|
|
}
|
|
getPointCount() {
|
|
return this.points.length
|
|
}
|
|
getStartTime() {
|
|
return this.startTime
|
|
}
|
|
getRecordInterval() {
|
|
return this.recordInterval
|
|
}
|
|
getMaxPoints() {
|
|
return this.maxPoints
|
|
}
|
|
}
|
|
const v = {
|
|
arrow: '<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>',
|
|
success: '<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>',
|
|
error: '<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',
|
|
loading: '<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" class="captcha-slider__loading-icon"><path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0020 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 004 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"/></svg>',
|
|
refresh: '<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>'
|
|
};
|
|
class O extends l {
|
|
constructor(e) {
|
|
super();
|
|
n(this, "config");
|
|
n(this, "elements", null);
|
|
n(this, "state", "idle");
|
|
n(this, "trailRecorder");
|
|
n(this, "isDragging", !1);
|
|
n(this, "startX", 0);
|
|
n(this, "startY", 0);
|
|
n(this, "currentOffset", 0);
|
|
n(this, "maxOffset", 0);
|
|
n(this, "dragStartTime", 0);
|
|
n(this, "boundHandleMouseDown");
|
|
n(this, "boundHandleTouchStart");
|
|
n(this, "boundHandleMouseMove");
|
|
n(this, "boundHandleMouseUp");
|
|
n(this, "boundHandleTouchMove");
|
|
n(this, "boundHandleTouchEnd");
|
|
n(this, "rafId", null);
|
|
this.config = e,
|
|
this.trailRecorder = new b,
|
|
this.boundHandleMouseDown = this.handleMouseDown.bind(this),
|
|
this.boundHandleTouchStart = this.handleTouchStart.bind(this),
|
|
this.boundHandleMouseMove = this.handleMouseMove.bind(this),
|
|
this.boundHandleMouseUp = this.handleMouseUp.bind(this),
|
|
this.boundHandleTouchMove = this.handleTouchMove.bind(this),
|
|
this.boundHandleTouchEnd = this.handleTouchEnd.bind(this)
|
|
}
|
|
render() {
|
|
const {container: e} = this.config;
|
|
this.elements = this.createDOMStructure(),
|
|
this.applyStyles(),
|
|
this.calculateMaxOffset(),
|
|
e.appendChild(this.elements.root),
|
|
this.attachEventListeners(),
|
|
this.setState("ready")
|
|
}
|
|
getActualWidth() {
|
|
var e;
|
|
return ((e = this.elements) == null ? void 0 : e.track.offsetWidth) || 320
|
|
}
|
|
createDOMStructure() {
|
|
const e = document.createElement("div");
|
|
e.className = "captcha-slider";
|
|
const t = this.config.theme || "auto";
|
|
t === "light" ? e.classList.add("captcha-slider--theme-light") : t === "dark" && e.classList.add("captcha-slider--theme-dark"),
|
|
e.setAttribute("role", "application"),
|
|
e.setAttribute("aria-label", this.config.i18n.t("dragToVerify"));
|
|
const s = document.createElement("div");
|
|
s.className = "captcha-slider__track";
|
|
const a = document.createElement("div");
|
|
a.className = "captcha-slider__track-fill",
|
|
a.style.display = "none";
|
|
const c = document.createElement("span");
|
|
c.className = "captcha-slider__track-text",
|
|
c.textContent = this.config.i18n.t("dragToVerify");
|
|
const u = document.createElement("div");
|
|
u.className = "captcha-slider__thumb",
|
|
u.setAttribute("role", "slider"),
|
|
u.setAttribute("tabindex", "0"),
|
|
u.setAttribute("aria-valuemin", "0"),
|
|
u.setAttribute("aria-valuemax", "100"),
|
|
u.setAttribute("aria-valuenow", "0"),
|
|
u.setAttribute("aria-label", this.config.i18n.t("dragToVerify"));
|
|
const f = document.createElement("span");
|
|
f.className = "captcha-slider__thumb-icon",
|
|
f.innerHTML = v.arrow;
|
|
const d = document.createElement("div");
|
|
return d.className = "captcha-slider__status",
|
|
d.setAttribute("role", "status"),
|
|
d.setAttribute("aria-live", "polite"),
|
|
u.appendChild(f),
|
|
s.appendChild(a),
|
|
s.appendChild(c),
|
|
s.appendChild(u),
|
|
e.appendChild(s),
|
|
e.appendChild(d),
|
|
{
|
|
root: e,
|
|
track: s,
|
|
trackFill: a,
|
|
trackText: c,
|
|
thumb: u,
|
|
thumbIcon: f,
|
|
status: d
|
|
}
|
|
}
|
|
applyStyles() {
|
|
if (!this.elements)
|
|
return;
|
|
const {style: e} = this.config;
|
|
e && (e.width !== void 0 && (typeof e.width == "number" ? this.elements.root.style.width = `${e.width}px` : e.width === "auto" && (this.elements.root.style.width = "100%")),
|
|
e.height !== void 0 && (this.elements.track.style.height = `${e.height}px`))
|
|
}
|
|
calculateMaxOffset() {
|
|
if (!this.elements)
|
|
return;
|
|
const e = this.elements.track.offsetWidth
|
|
, t = this.elements.thumb.offsetWidth;
|
|
this.maxOffset = Math.max(0, e - t)
|
|
}
|
|
attachEventListeners() {
|
|
if (!this.elements)
|
|
return;
|
|
const {thumb: e} = this.elements;
|
|
e.addEventListener("mousedown", this.boundHandleMouseDown),
|
|
e.addEventListener("touchstart", this.boundHandleTouchStart, {
|
|
passive: !1
|
|
}),
|
|
e.addEventListener("keydown", this.handleKeyDown.bind(this)),
|
|
window.addEventListener("resize", this.handleResize.bind(this))
|
|
}
|
|
removeEventListeners() {
|
|
if (!this.elements)
|
|
return;
|
|
const {thumb: e} = this.elements;
|
|
e.removeEventListener("mousedown", this.boundHandleMouseDown),
|
|
e.removeEventListener("touchstart", this.boundHandleTouchStart),
|
|
document.removeEventListener("mousemove", this.boundHandleMouseMove),
|
|
document.removeEventListener("mouseup", this.boundHandleMouseUp),
|
|
document.removeEventListener("touchmove", this.boundHandleTouchMove),
|
|
document.removeEventListener("touchend", this.boundHandleTouchEnd),
|
|
document.removeEventListener("touchcancel", this.boundHandleTouchEnd),
|
|
window.removeEventListener("resize", this.handleResize.bind(this))
|
|
}
|
|
handleMouseDown(e) {
|
|
this.state !== "ready" && this.state !== "failed" || (e.preventDefault(),
|
|
this.startDrag(e.clientX, e.clientY),
|
|
document.addEventListener("mousemove", this.boundHandleMouseMove),
|
|
document.addEventListener("mouseup", this.boundHandleMouseUp))
|
|
}
|
|
handleTouchStart(e) {
|
|
if (this.state !== "ready" && this.state !== "failed")
|
|
return;
|
|
e.preventDefault();
|
|
const t = e.touches[0];
|
|
t && this.startDrag(t.clientX, t.clientY),
|
|
document.addEventListener("touchmove", this.boundHandleTouchMove, {
|
|
passive: !1
|
|
}),
|
|
document.addEventListener("touchend", this.boundHandleTouchEnd),
|
|
document.addEventListener("touchcancel", this.boundHandleTouchEnd)
|
|
}
|
|
handleMouseMove(e) {
|
|
this.isDragging && (e.preventDefault(),
|
|
this.updateDrag(e.clientX, e.clientY))
|
|
}
|
|
handleTouchMove(e) {
|
|
if (!this.isDragging)
|
|
return;
|
|
e.preventDefault();
|
|
const t = e.touches[0];
|
|
t && this.updateDrag(t.clientX, t.clientY)
|
|
}
|
|
handleMouseUp(e) {
|
|
this.isDragging && (this.endDrag(),
|
|
document.removeEventListener("mousemove", this.boundHandleMouseMove),
|
|
document.removeEventListener("mouseup", this.boundHandleMouseUp))
|
|
}
|
|
handleTouchEnd(e) {
|
|
this.isDragging && (this.endDrag(),
|
|
document.removeEventListener("touchmove", this.boundHandleTouchMove),
|
|
document.removeEventListener("touchend", this.boundHandleTouchEnd),
|
|
document.removeEventListener("touchcancel", this.boundHandleTouchEnd))
|
|
}
|
|
handleKeyDown(e) {
|
|
if (this.state !== "ready" && this.state !== "failed")
|
|
return;
|
|
const t = this.maxOffset / 20;
|
|
switch (e.key) {
|
|
case "ArrowRight":
|
|
case "ArrowUp":
|
|
e.preventDefault(),
|
|
this.setOffset(Math.min(this.currentOffset + t, this.maxOffset));
|
|
break;
|
|
case "ArrowLeft":
|
|
case "ArrowDown":
|
|
e.preventDefault(),
|
|
this.setOffset(Math.max(this.currentOffset - t, 0));
|
|
break;
|
|
case "Home":
|
|
e.preventDefault(),
|
|
this.setOffset(0);
|
|
break;
|
|
case "End":
|
|
e.preventDefault(),
|
|
this.setOffset(this.maxOffset);
|
|
break;
|
|
case "Enter":
|
|
case " ":
|
|
e.preventDefault(),
|
|
this.currentOffset > 0 && this.submitVerification();
|
|
break
|
|
}
|
|
}
|
|
handleResize() {
|
|
this.calculateMaxOffset(),
|
|
this.currentOffset > this.maxOffset && this.setOffset(this.maxOffset)
|
|
}
|
|
startDrag(e, t) {
|
|
this.isDragging = !0,
|
|
this.startX = e,
|
|
this.startY = t,
|
|
this.dragStartTime = Date.now(),
|
|
this.calculateMaxOffset(),
|
|
this.trailRecorder.start(),
|
|
this.trailRecorder.record(0, 0),
|
|
this.setState("dragging"),
|
|
this.emit("dragStart", {
|
|
offset: this.currentOffset
|
|
})
|
|
}
|
|
updateDrag(e, t) {
|
|
this.isDragging && (this.rafId !== null && cancelAnimationFrame(this.rafId),
|
|
this.rafId = requestAnimationFrame( () => {
|
|
const s = e - this.startX
|
|
, a = t - this.startY
|
|
, c = Math.max(0, Math.min(this.currentOffset + s, this.maxOffset));
|
|
this.startX = e,
|
|
this.startY = t,
|
|
this.trailRecorder.record(c, a),
|
|
this.setOffset(c),
|
|
this.emit("drag", {
|
|
offset: c
|
|
}),
|
|
this.rafId = null
|
|
}
|
|
))
|
|
}
|
|
endDrag() {
|
|
if (!this.isDragging)
|
|
return;
|
|
this.rafId !== null && (cancelAnimationFrame(this.rafId),
|
|
this.rafId = null),
|
|
this.isDragging = !1;
|
|
const e = this.trailRecorder.stop()
|
|
, t = Date.now() - this.dragStartTime
|
|
, s = {
|
|
offset: this.currentOffset,
|
|
maxOffset: this.maxOffset,
|
|
duration: t,
|
|
trail: e.points
|
|
};
|
|
this.emit("dragEnd", s),
|
|
this.currentOffset >= this.maxOffset ? (this.config.onDragEnd(s),
|
|
this.submitVerification()) : this.reset()
|
|
}
|
|
submitVerification() {
|
|
this.setState("verifying")
|
|
}
|
|
setOffset(e) {
|
|
if (this.currentOffset = e,
|
|
!this.elements)
|
|
return;
|
|
this.elements.thumb.style.transform = `translateX(${e}px)`;
|
|
const t = Math.round(e / this.maxOffset * 100);
|
|
this.elements.thumb.setAttribute("aria-valuenow", String(t))
|
|
}
|
|
setState(e) {
|
|
if (this.state = e,
|
|
!!this.elements) {
|
|
switch (this.elements.root.classList.remove("captcha-slider--loading", "captcha-slider--ready", "captcha-slider--dragging", "captcha-slider--verifying", "captcha-slider--success", "captcha-slider--failed", "captcha-slider--needRefresh"),
|
|
this.elements.root.classList.add(`captcha-slider--${e}`),
|
|
e) {
|
|
case "loading":
|
|
this.showLoading();
|
|
break;
|
|
case "ready":
|
|
this.showReady();
|
|
break;
|
|
case "dragging":
|
|
this.showDragging();
|
|
break;
|
|
case "verifying":
|
|
this.showVerifying();
|
|
break;
|
|
case "success":
|
|
this.showSuccess();
|
|
break;
|
|
case "failed":
|
|
this.showFailed();
|
|
break;
|
|
case "needRefresh":
|
|
this.showNeedRefresh();
|
|
break
|
|
}
|
|
this.emit("stateChange", {
|
|
state: e
|
|
})
|
|
}
|
|
}
|
|
showLoading() {
|
|
this.elements && (this.elements.trackText.textContent = "...",
|
|
this.elements.thumbIcon.innerHTML = v.loading,
|
|
this.elements.thumb.style.pointerEvents = "none")
|
|
}
|
|
showReady() {
|
|
this.elements && (this.elements.trackText.textContent = this.config.i18n.t("dragToVerify"),
|
|
this.elements.thumbIcon.innerHTML = v.arrow,
|
|
this.elements.thumb.style.pointerEvents = "",
|
|
this.elements.thumb.style.cursor = "",
|
|
this.elements.thumb.style.transform = "translateX(0)")
|
|
}
|
|
showDragging() {
|
|
this.elements && (this.elements.trackText.textContent = "")
|
|
}
|
|
showVerifying() {
|
|
this.elements && (this.elements.trackText.textContent = this.config.i18n.t("verifying"),
|
|
this.elements.thumbIcon.innerHTML = v.loading,
|
|
this.elements.thumb.style.pointerEvents = "none")
|
|
}
|
|
showSuccess() {
|
|
this.elements && (this.elements.trackText.textContent = this.config.i18n.t("success"),
|
|
this.elements.thumbIcon.innerHTML = v.success,
|
|
this.elements.thumb.style.pointerEvents = "none",
|
|
this.elements.status.textContent = this.config.i18n.t("success"))
|
|
}
|
|
showFailed() {
|
|
this.elements && (this.elements.trackText.textContent = this.config.i18n.t("failed"),
|
|
this.elements.thumbIcon.innerHTML = v.error,
|
|
this.elements.thumb.style.pointerEvents = "",
|
|
this.elements.status.textContent = this.config.i18n.t("failed"),
|
|
setTimeout( () => {
|
|
this.setOffset(0)
|
|
}
|
|
, 300))
|
|
}
|
|
showNeedRefresh() {
|
|
if (!this.elements)
|
|
return;
|
|
this.elements.trackText.textContent = this.config.i18n.t("refresh"),
|
|
this.elements.thumbIcon.innerHTML = v.refresh,
|
|
this.elements.thumb.style.pointerEvents = "",
|
|
this.elements.thumb.style.cursor = "pointer",
|
|
this.elements.trackText.style.cursor = "pointer";
|
|
const e = () => {
|
|
var s;
|
|
(s = this.elements) == null || s.thumb.removeEventListener("click", e),
|
|
this.refresh()
|
|
}
|
|
;
|
|
this.elements.thumb.addEventListener("click", e);
|
|
const t = () => {
|
|
var s, a;
|
|
(s = this.elements) == null || s.trackText.removeEventListener("click", t),
|
|
(a = this.elements) == null || a.thumb.removeEventListener("click", e),
|
|
this.refresh()
|
|
}
|
|
;
|
|
this.elements.trackText.addEventListener("click", t),
|
|
this.elements.status.textContent = this.config.i18n.t("refresh"),
|
|
this.setOffset(0)
|
|
}
|
|
reset() {
|
|
this.currentOffset = 0,
|
|
this.setOffset(0),
|
|
this.trailRecorder.clear(),
|
|
this.setState("ready")
|
|
}
|
|
refresh() {
|
|
this.reset(),
|
|
this.config.onRefresh(),
|
|
this.emit("refresh")
|
|
}
|
|
setI18n(e) {
|
|
this.config.i18n = e,
|
|
this.setState(this.state)
|
|
}
|
|
destroy() {
|
|
this.rafId !== null && (cancelAnimationFrame(this.rafId),
|
|
this.rafId = null),
|
|
this.removeEventListeners(),
|
|
this.elements && this.elements.root.parentNode && this.elements.root.parentNode.removeChild(this.elements.root),
|
|
this.elements = null,
|
|
this.trailRecorder.clear(),
|
|
this.removeAllListeners()
|
|
}
|
|
}
|
|
class k {
|
|
constructor(i) {
|
|
n(this, "config");
|
|
n(this, "overlay", null);
|
|
n(this, "sliderUI", null);
|
|
this.config = i
|
|
}
|
|
open() {
|
|
this.createOverlay(),
|
|
document.body.appendChild(this.overlay),
|
|
requestAnimationFrame( () => {
|
|
var i;
|
|
(i = this.overlay) == null || i.classList.add("captcha-popup--visible")
|
|
}
|
|
)
|
|
}
|
|
close() {
|
|
this.overlay && (this.overlay.classList.remove("captcha-popup--visible"),
|
|
this.overlay.classList.add("captcha-popup--closing"),
|
|
setTimeout( () => {
|
|
var i, e, t;
|
|
(i = this.overlay) == null || i.remove(),
|
|
this.overlay = null,
|
|
(t = (e = this.config).onClose) == null || t.call(e)
|
|
}
|
|
, 300))
|
|
}
|
|
createOverlay() {
|
|
this.overlay = document.createElement("div"),
|
|
this.overlay.className = "captcha-popup";
|
|
const i = this.config.theme || "auto";
|
|
i === "light" ? this.overlay.classList.add("captcha-popup--theme-light") : i === "dark" && this.overlay.classList.add("captcha-popup--theme-dark"),
|
|
this.overlay.innerHTML = `
|
|
<div class="captcha-popup__modal">
|
|
<div class="captcha-popup__header">
|
|
<h3 class="captcha-popup__title">${this.config.i18n.t("title")}</h3>
|
|
<button class="captcha-popup__close" type="button">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M18 6L6 18M6 6l12 12"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div class="captcha-popup__body"></div>
|
|
</div>
|
|
`;
|
|
const e = this.overlay.querySelector(".captcha-popup__close");
|
|
e == null || e.addEventListener("click", () => this.close()),
|
|
this.overlay.addEventListener("click", s => {
|
|
s.target === this.overlay && this.close()
|
|
}
|
|
);
|
|
const t = this.overlay.querySelector(".captcha-popup__body");
|
|
this.sliderUI = new O({
|
|
container: t,
|
|
style: this.config.style,
|
|
theme: this.config.theme,
|
|
i18n: this.config.i18n,
|
|
onDragEnd: this.config.onDragEnd,
|
|
onRefresh: this.config.onRefresh
|
|
}),
|
|
this.sliderUI.render()
|
|
}
|
|
setSliderState(i) {
|
|
var e;
|
|
(e = this.sliderUI) == null || e.setState(i)
|
|
}
|
|
reset() {
|
|
var i;
|
|
(i = this.sliderUI) == null || i.reset()
|
|
}
|
|
setI18n(i) {
|
|
var e;
|
|
this.config.i18n = i,
|
|
(e = this.sliderUI) == null || e.setI18n(i)
|
|
}
|
|
getSliderUI() {
|
|
return this.sliderUI
|
|
}
|
|
destroy() {
|
|
var i, e;
|
|
(i = this.sliderUI) == null || i.destroy(),
|
|
(e = this.overlay) == null || e.remove(),
|
|
this.overlay = null
|
|
}
|
|
}
|
|
let I = null;
|
|
function U() {
|
|
return m(this, null, function*() {
|
|
if (I)
|
|
return I;
|
|
const i = (typeof window != "undefined" ? window : globalThis).CaptchaSDKCore;
|
|
if (!i || typeof i.createCryptoManager != "function")
|
|
throw new Error("CaptchaSDKCore not found. Please load captcha-sdk.legacy-core.umd.js before captcha-sdk.legacy-normal.umd.js");
|
|
return I = i.createCryptoManager(),
|
|
I
|
|
})
|
|
}
|
|
globalThis.CaptchaSDKCorecc = U;
|
|
function A() {
|
|
return !!(typeof window != "undefined" ? window : globalThis).CaptchaSDKCore
|
|
}
|
|
function _(h, i) {
|
|
return m(this, null, function*() {
|
|
const t = (typeof window != "undefined" ? window : globalThis).CaptchaSDKCore;
|
|
if (!t || typeof t.buildEncryptedVerifyRequest != "function")
|
|
throw new Error("CaptchaSDKCore not found. Please load captcha-sdk.legacy-core.umd.js before captcha-sdk.legacy-normal.umd.js");
|
|
return t.buildEncryptedVerifyRequest(h, i)
|
|
})
|
|
}
|
|
globalThis.buildEncryptedVerifyRequestcc = _;
|
|
class w extends Error {
|
|
constructor(e, t) {
|
|
super(t);
|
|
n(this, "field");
|
|
this.name = "ConfigurationError",
|
|
this.field = e
|
|
}
|
|
}
|
|
const H = {
|
|
apiEndpoint: "/api",
|
|
timeout: 5e3,
|
|
language: "zh-CN"
|
|
};
|
|
class E extends l {
|
|
constructor(e) {
|
|
super();
|
|
n(this, "config");
|
|
n(this, "state", "uninitialized");
|
|
n(this, "i18n");
|
|
n(this, "apiClient");
|
|
n(this, "sliderUI", null);
|
|
n(this, "popupUI", null);
|
|
n(this, "cryptoManager", null);
|
|
n(this, "fingerprintCollector");
|
|
n(this, "captchaId", null);
|
|
n(this, "serverPublicKey", null);
|
|
n(this, "encryptionEnabled", !1);
|
|
n(this, "collectedFingerprint", null);
|
|
n(this, "sliderMaxOffset", 0);
|
|
this.config = y(y({}, H), e),
|
|
this.i18n = new M(this.config.language || "zh-CN"),
|
|
this.apiClient = new p({
|
|
baseUrl: this.config.apiEndpoint || "/api",
|
|
timeout: this.config.timeout || 5e3,
|
|
endpoints: this.config.endpoints
|
|
}),
|
|
this.fingerprintCollector = new R
|
|
}
|
|
static validateConfig(e) {
|
|
if (!e.mode || e.mode !== "popup" && e.mode !== "embed")
|
|
throw new w("mode",'mode must be "popup" or "embed"');
|
|
if (!e.onSuccess || typeof e.onSuccess != "function")
|
|
throw new w("onSuccess","onSuccess callback is required");
|
|
if (!e.onFail || typeof e.onFail != "function")
|
|
throw new w("onFail","onFail callback is required");
|
|
if (e.mode === "embed" && !e.container)
|
|
throw new w("container","container is required for embed mode")
|
|
}
|
|
static create(e) {
|
|
return m(this, null, function*() {
|
|
E.validateConfig(e);
|
|
const t = new E(e);
|
|
return yield t.initialize(),
|
|
e.getInstance && e.getInstance(t),
|
|
t
|
|
})
|
|
}
|
|
initialize() {
|
|
return m(this, null, function*() {
|
|
this.state = "initializing";
|
|
try {
|
|
A() && (this.cryptoManager = yield U()),
|
|
yield this.collectFingerprint(),
|
|
this.renderUI(),
|
|
this.sliderMaxOffset = this.calculateMaxOffset(),
|
|
yield this.createCaptchaSession(),
|
|
this.state = "ready",
|
|
this.setUIState("ready")
|
|
} catch (e) {
|
|
throw this.state = "error",
|
|
this.handleError(e),
|
|
e
|
|
}
|
|
})
|
|
}
|
|
calculateMaxOffset() {
|
|
var s, a, c;
|
|
return (((s = this.sliderUI) == null ? void 0 : s.getActualWidth()) || ((c = (a = this.popupUI) == null ? void 0 : a.getSliderUI()) == null ? void 0 : c.getActualWidth()) || 320) - 44
|
|
}
|
|
collectFingerprint() {
|
|
return m(this, null, function*() {
|
|
try {
|
|
this.collectedFingerprint = yield this.fingerprintCollector.collect()
|
|
} catch (e) {
|
|
this.collectedFingerprint = ""
|
|
}
|
|
})
|
|
}
|
|
createCaptchaSession() {
|
|
return m(this, null, function*() {
|
|
const e = this.config.scene || "default"
|
|
, t = yield this.apiClient.create(this.collectedFingerprint || "", e, this.sliderMaxOffset);
|
|
if (t.success && t.data)
|
|
this.captchaId = t.data.captchaId,
|
|
this.serverPublicKey = t.data.encryptionPublicKey || null,
|
|
this.encryptionEnabled = !!t.data.encryptionPublicKey && !!this.cryptoManager;
|
|
else
|
|
throw new g(r.API_ERROR,"Failed to create captcha session")
|
|
})
|
|
}
|
|
renderUI() {
|
|
this.config.mode === "embed" && this.config.container ? (this.sliderUI = new O({
|
|
container: this.config.container,
|
|
style: this.config.slideStyle,
|
|
theme: this.config.theme,
|
|
i18n: this.i18n,
|
|
onDragEnd: this.handleDragEnd.bind(this),
|
|
onRefresh: this.refresh.bind(this)
|
|
}),
|
|
this.sliderUI.on("dragStart", () => {
|
|
this.state = "dragging"
|
|
}
|
|
),
|
|
this.sliderUI.render()) : (this.popupUI = new k({
|
|
style: this.config.slideStyle,
|
|
theme: this.config.theme,
|
|
i18n: this.i18n,
|
|
onDragEnd: this.handleDragEnd.bind(this),
|
|
onRefresh: this.refresh.bind(this),
|
|
onClose: this.config.onClose
|
|
}),
|
|
this.popupUI.open())
|
|
}
|
|
setUIState(e) {
|
|
var t, s;
|
|
(t = this.sliderUI) == null || t.setState(e),
|
|
(s = this.popupUI) == null || s.setSliderState(e)
|
|
}
|
|
handleDragEnd(e) {
|
|
return m(this, null, function*() {
|
|
this.state = "verifying",
|
|
this.setUIState("verifying");
|
|
try {
|
|
yield this.verifyCapture(e)
|
|
} catch (t) {
|
|
this.handleVerificationError(t)
|
|
}
|
|
})
|
|
}
|
|
verifyCapture(e) {
|
|
return m(this, null, function*() {
|
|
var a, c, u, f;
|
|
if (!this.captchaId)
|
|
throw new Error("No captcha session");
|
|
let t;
|
|
this.encryptionEnabled && this.serverPublicKey && this.cryptoManager ? t = yield _({
|
|
offset: e.offset,
|
|
duration: e.duration,
|
|
trail: e.trail,
|
|
fingerprint: this.collectedFingerprint || "",
|
|
captchaId: this.captchaId,
|
|
serverPublicKey: this.serverPublicKey
|
|
}, this.cryptoManager) : t = {
|
|
captcha_id: this.captchaId,
|
|
offset: e.offset,
|
|
duration: e.duration,
|
|
trail: e.trail
|
|
};
|
|
const s = yield this.apiClient.verify(t);
|
|
if (s.success && ((a = s.data) != null && a.verified) && s.data.token)
|
|
this.handleSuccess({
|
|
code: s.data.token,
|
|
sessionId: s.data.session_id || this.captchaId || "",
|
|
expiresAt: s.data.expires_at || 0
|
|
});
|
|
else {
|
|
const d = ((c = s.data) == null ? void 0 : c.reason) || ((u = s.error) == null ? void 0 : u.message) || this.i18n.t("failed")
|
|
, D = ((f = s.data) == null ? void 0 : f.need_refresh) || !1;
|
|
this.handleFailure({
|
|
code: r.VERIFICATION_FAILED,
|
|
message: d
|
|
}, D)
|
|
}
|
|
})
|
|
}
|
|
handleSuccess(e) {
|
|
this.state = "success",
|
|
this.setUIState("success"),
|
|
this.config.onSuccess(e),
|
|
this.emit("success", e),
|
|
this.config.mode === "popup" && this.popupUI && setTimeout( () => {
|
|
var t;
|
|
return (t = this.popupUI) == null ? void 0 : t.close()
|
|
}
|
|
, 1500)
|
|
}
|
|
handleFailure(e, t=!1) {
|
|
this.state = "error";
|
|
const s = t || e.message.includes("refresh") || e.message.includes("刷新");
|
|
this.setUIState(s ? "needRefresh" : "failed"),
|
|
this.config.onFail(e),
|
|
this.emit("fail", e),
|
|
s || setTimeout( () => {
|
|
this.state = "ready"
|
|
}
|
|
, 1e3)
|
|
}
|
|
handleVerificationError(e) {
|
|
var s, a;
|
|
this.state = "error",
|
|
this.setUIState("failed");
|
|
const t = e instanceof g ? {
|
|
code: e.code,
|
|
message: e.message,
|
|
details: e.details
|
|
} : {
|
|
code: r.API_ERROR,
|
|
message: e instanceof Error ? e.message : "Unknown error"
|
|
};
|
|
this.config.onFail(t),
|
|
(a = (s = this.config).onError) == null || a.call(s, e instanceof Error ? e : new Error(String(e))),
|
|
setTimeout( () => {
|
|
this.state = "ready"
|
|
}
|
|
, 1e3)
|
|
}
|
|
handleError(e) {
|
|
var t, s;
|
|
(s = (t = this.config).onError) == null || s.call(t, e instanceof Error ? e : new Error(String(e)))
|
|
}
|
|
refresh() {
|
|
return m(this, null, function*() {
|
|
var e, t;
|
|
(e = this.sliderUI) == null || e.reset(),
|
|
(t = this.popupUI) == null || t.reset(),
|
|
this.captchaId = null,
|
|
this.serverPublicKey = null,
|
|
this.encryptionEnabled = !1,
|
|
this.state = "initializing",
|
|
this.setUIState("loading");
|
|
try {
|
|
this.sliderMaxOffset = this.calculateMaxOffset(),
|
|
yield this.createCaptchaSession(),
|
|
this.state = "ready",
|
|
this.setUIState("ready")
|
|
} catch (s) {
|
|
this.state = "error",
|
|
this.handleError(s)
|
|
}
|
|
})
|
|
}
|
|
destroy() {
|
|
var e, t;
|
|
(e = this.sliderUI) == null || e.destroy(),
|
|
(t = this.popupUI) == null || t.destroy(),
|
|
this.removeAllListeners(),
|
|
this.state = "uninitialized"
|
|
}
|
|
setLocale(e) {
|
|
var t, s;
|
|
this.i18n.setLocale(e),
|
|
(t = this.sliderUI) == null || t.setI18n(this.i18n),
|
|
(s = this.popupUI) == null || s.setI18n(this.i18n)
|
|
}
|
|
getState() {
|
|
return this.state
|
|
}
|
|
}
|
|
function F(h) {
|
|
return m(this, null, function*() {
|
|
return E.create(h)
|
|
})
|
|
}
|
|
o.CaptchaManager = E,
|
|
o.ConfigurationError = w,
|
|
o.initCaptcha = F,
|
|
Object.defineProperty(o, Symbol.toStringTag, {
|
|
value: "Module"
|
|
})
|
|
}(globalThis.CaptchaSDK = {});
|
|
//# sourceMappingURL=captcha-sdk.legacy-normal.umd.js.map
|