VSCode格式化
This commit is contained in:
parent
f16ec3a82f
commit
fbd56c3951
@ -1,4 +1,4 @@
|
|||||||
/* bignumber.js v2.4.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ ! function(e) {
|
/* bignumber.js v2.4.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ ! function (e) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function n(e) {
|
function n(e) {
|
||||||
@ -10,11 +10,11 @@
|
|||||||
if ((o = "number" == typeof e) && 0 * e != 0 || !new RegExp("^-?" + (t = "[" + b.slice(0, n) + "]+") + "(?:\\." + t + ")?$", 37 > n ? "i" : "").test(s)) return g(f, s, o, n);
|
if ((o = "number" == typeof e) && 0 * e != 0 || !new RegExp("^-?" + (t = "[" + b.slice(0, n) + "]+") + "(?:\\." + t + ")?$", 37 > n ? "i" : "").test(s)) return g(f, s, o, n);
|
||||||
o ? (f.s = 0 > 1 / e ? (s = s.slice(1), -1) : 1, j && s.replace(/^0\.0*|\./, "").length > 15 && L(M, N, e), o = !1) : f.s = 45 === s.charCodeAt(0) ? (s = s.slice(1), -1) : 1, s = D(s, 10, n, f.s)
|
o ? (f.s = 0 > 1 / e ? (s = s.slice(1), -1) : 1, j && s.replace(/^0\.0*|\./, "").length > 15 && L(M, N, e), o = !1) : f.s = 45 === s.charCodeAt(0) ? (s = s.slice(1), -1) : 1, s = D(s, 10, n, f.s)
|
||||||
} else {
|
} else {
|
||||||
if (e instanceof a) return f.s = e.s, f.e = e.e, f.c = (e = e.c) ? e.slice() : e, void(M = 0);
|
if (e instanceof a) return f.s = e.s, f.e = e.e, f.c = (e = e.c) ? e.slice() : e, void (M = 0);
|
||||||
if ((o = "number" == typeof e) && 0 * e == 0) {
|
if ((o = "number" == typeof e) && 0 * e == 0) {
|
||||||
if (f.s = 0 > 1 / e ? (e = -e, -1) : 1, e === ~~e) {
|
if (f.s = 0 > 1 / e ? (e = -e, -1) : 1, e === ~~e) {
|
||||||
for (r = 0, i = e; i >= 10; i /= 10, r++);
|
for (r = 0, i = e; i >= 10; i /= 10, r++);
|
||||||
return f.e = r, f.c = [e], void(M = 0)
|
return f.e = r, f.c = [e], void (M = 0)
|
||||||
}
|
}
|
||||||
s = e + ""
|
s = e + ""
|
||||||
} else {
|
} else {
|
||||||
@ -27,14 +27,14 @@
|
|||||||
if (s = s.slice(i, u + 1))
|
if (s = s.slice(i, u + 1))
|
||||||
if (u = s.length, o && j && u > 15 && (e > S || e !== m(e)) && L(M, N, f.s * e), r = r - i - 1, r > z) f.c = f.e = null;
|
if (u = s.length, o && j && u > 15 && (e > S || e !== m(e)) && L(M, N, f.s * e), r = r - i - 1, r > z) f.c = f.e = null;
|
||||||
else if (G > r) f.c = [f.e = 0];
|
else if (G > r) f.c = [f.e = 0];
|
||||||
else {
|
else {
|
||||||
if (f.e = r, f.c = [], i = (r + 1) % y, 0 > r && (i += y), u > i) {
|
if (f.e = r, f.c = [], i = (r + 1) % y, 0 > r && (i += y), u > i) {
|
||||||
for (i && f.c.push(+s.slice(0, i)), u -= y; u > i;) f.c.push(+s.slice(i, i += y));
|
for (i && f.c.push(+s.slice(0, i)), u -= y; u > i;) f.c.push(+s.slice(i, i += y));
|
||||||
s = s.slice(i), i = y - s.length
|
s = s.slice(i), i = y - s.length
|
||||||
} else i -= u;
|
} else i -= u;
|
||||||
for (; i--; s += "0");
|
for (; i--; s += "0");
|
||||||
f.c.push(+s)
|
f.c.push(+s)
|
||||||
} else f.c = [f.e = 0];
|
} else f.c = [f.e = 0];
|
||||||
M = 0
|
M = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,9 +104,9 @@
|
|||||||
e: {
|
e: {
|
||||||
for (i = 1, s = a[0]; s >= 10; s /= 10, i++);
|
for (i = 1, s = a[0]; s >= 10; s /= 10, i++);
|
||||||
if (o = n - i, 0 > o) o += y,
|
if (o = n - i, 0 > o) o += y,
|
||||||
u = n,
|
u = n,
|
||||||
f = a[l = 0],
|
f = a[l = 0],
|
||||||
c = f / h[i - u - 1] % 10 | 0;
|
c = f / h[i - u - 1] % 10 | 0;
|
||||||
else if (l = d((o + 1) / y), l >= a.length) {
|
else if (l = d((o + 1) / y), l >= a.length) {
|
||||||
if (!r) break e;
|
if (!r) break e;
|
||||||
for (; a.length <= l; a.push(0));
|
for (; a.length <= l; a.push(0));
|
||||||
@ -116,10 +116,10 @@
|
|||||||
o %= y, u = o - y + i, c = 0 > u ? 0 : f / h[i - u - 1] % 10 | 0
|
o %= y, u = o - y + i, c = 0 > u ? 0 : f / h[i - u - 1] % 10 | 0
|
||||||
}
|
}
|
||||||
if (r = r || 0 > n || null != a[l + 1] || (0 > u ? f : f % h[i - u - 1]), r = 4 > t ? (c || r) && (0 == t || t == (e.s < 0 ? 3 : 2)) : c > 5 || 5 == c && (4 == t || r || 6 == t && (o > 0 ? u > 0 ? f / h[i - u] : 0 : a[l - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), 1 > n || !a[0]) return a.length = 0,
|
if (r = r || 0 > n || null != a[l + 1] || (0 > u ? f : f % h[i - u - 1]), r = 4 > t ? (c || r) && (0 == t || t == (e.s < 0 ? 3 : 2)) : c > 5 || 5 == c && (4 == t || r || 6 == t && (o > 0 ? u > 0 ? f / h[i - u] : 0 : a[l - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), 1 > n || !a[0]) return a.length = 0,
|
||||||
r ? (n -= e.e + 1, a[0] = h[(y - n % y) % y], e.e = -n || 0) : a[0] = e.e = 0,
|
r ? (n -= e.e + 1, a[0] = h[(y - n % y) % y], e.e = -n || 0) : a[0] = e.e = 0,
|
||||||
e;
|
e;
|
||||||
if (0 == o ? (a.length = l, s = 1, l--) : (a.length = l + 1, s = h[y - o], a[l] = u > 0 ? m(f / h[i - u] % h[u]) * s : 0), r)
|
if (0 == o ? (a.length = l, s = 1, l--) : (a.length = l + 1, s = h[y - o], a[l] = u > 0 ? m(f / h[i - u] % h[u]) * s : 0), r)
|
||||||
for (;;) {
|
for (; ;) {
|
||||||
if (0 == l) {
|
if (0 == l) {
|
||||||
for (o = 1, u = a[0]; u >= 10; u /= 10, o++);
|
for (o = 1, u = a[0]; u >= 10; u /= 10, o++);
|
||||||
for (u = a[0] += s, s = 1; u >= 10; u /= 10, s++);
|
for (u = a[0] += s, s = 1; u >= 10; u /= 10, s++);
|
||||||
@ -157,29 +157,29 @@
|
|||||||
fractionGroupSeparator: " ",
|
fractionGroupSeparator: " ",
|
||||||
fractionGroupSize: 0
|
fractionGroupSize: 0
|
||||||
};
|
};
|
||||||
return a.another = n, a.ROUND_UP = 0, a.ROUND_DOWN = 1, a.ROUND_CEIL = 2, a.ROUND_FLOOR = 3, a.ROUND_HALF_UP = 4, a.ROUND_HALF_DOWN = 5, a.ROUND_HALF_EVEN = 6, a.ROUND_HALF_CEIL = 7, a.ROUND_HALF_FLOOR = 8, a.EUCLID = 9, a.config = function() {
|
return a.another = n, a.ROUND_UP = 0, a.ROUND_DOWN = 1, a.ROUND_CEIL = 2, a.ROUND_FLOOR = 3, a.ROUND_HALF_UP = 4, a.ROUND_HALF_DOWN = 5, a.ROUND_HALF_EVEN = 6, a.ROUND_HALF_CEIL = 7, a.ROUND_HALF_FLOOR = 8, a.EUCLID = 9, a.config = function () {
|
||||||
var e, n, t = 0,
|
var e, n, t = 0,
|
||||||
r = {},
|
r = {},
|
||||||
i = arguments,
|
i = arguments,
|
||||||
s = i[0],
|
s = i[0],
|
||||||
f = s && "object" == typeof s ? function() {
|
f = s && "object" == typeof s ? function () {
|
||||||
return s.hasOwnProperty(n) ? null != (e = s[n]) : void 0
|
return s.hasOwnProperty(n) ? null != (e = s[n]) : void 0
|
||||||
} : function() {
|
} : function () {
|
||||||
return i.length > t ? null != (e = i[t++]) : void 0
|
return i.length > t ? null != (e = i[t++]) : void 0
|
||||||
};
|
};
|
||||||
return f(n = "DECIMAL_PLACES") && H(e, 0, E, 2, n) && (P = 0 | e), r[n] = P, f(n = "ROUNDING_MODE") && H(e, 0, 8, 2, n) && (B = 0 | e), r[n] = B, f(n = "EXPONENTIAL_AT") && (u(e) ? H(e[0], -E, 0, 2, n) && H(e[1], 0, E, 2, n) && (k = 0 | e[0], $ = 0 | e[1]) : H(e, -E, E, 2, n) && (k = -($ = 0 | (0 > e ? -e : e)))), r[n] = [k, $], f(n = "RANGE") && (u(e) ? H(e[0], -E, -1, 2, n) && H(e[1], 1, E, 2, n) && (G = 0 | e[0], z = 0 | e[1]) : H(e, -E, E, 2, n) && (0 | e ? G = -(z = 0 | (0 > e ? -e : e)) : j && L(2, n + " cannot be zero", e))), r[n] = [G, z], f(n = "ERRORS") && (e === !!e || 1 === e || 0 === e ? (M = 0, H = (j = !!e) ? x : o) : j && L(2, n + w, e)), r[n] = j, f(n = "CRYPTO") && (e === !!e || 1 === e || 0 === e ? (V = !(!e || !h), e && !V && j && L(2, "crypto unavailable", h)) : j && L(2, n + w, e)), r[n] = V, f(n = "MODULO_MODE") && H(e, 0, 9, 2, n) && (W = 0 | e), r[n] = W, f(n = "POW_PRECISION") && H(e, 0, E, 2, n) && (J = 0 | e), r[n] = J, f(n = "FORMAT") && ("object" == typeof e ? X = e : j && L(2, n + " not an object", e)), r[n] = X, r
|
return f(n = "DECIMAL_PLACES") && H(e, 0, E, 2, n) && (P = 0 | e), r[n] = P, f(n = "ROUNDING_MODE") && H(e, 0, 8, 2, n) && (B = 0 | e), r[n] = B, f(n = "EXPONENTIAL_AT") && (u(e) ? H(e[0], -E, 0, 2, n) && H(e[1], 0, E, 2, n) && (k = 0 | e[0], $ = 0 | e[1]) : H(e, -E, E, 2, n) && (k = -($ = 0 | (0 > e ? -e : e)))), r[n] = [k, $], f(n = "RANGE") && (u(e) ? H(e[0], -E, -1, 2, n) && H(e[1], 1, E, 2, n) && (G = 0 | e[0], z = 0 | e[1]) : H(e, -E, E, 2, n) && (0 | e ? G = -(z = 0 | (0 > e ? -e : e)) : j && L(2, n + " cannot be zero", e))), r[n] = [G, z], f(n = "ERRORS") && (e === !!e || 1 === e || 0 === e ? (M = 0, H = (j = !!e) ? x : o) : j && L(2, n + w, e)), r[n] = j, f(n = "CRYPTO") && (e === !!e || 1 === e || 0 === e ? (V = !(!e || !h), e && !V && j && L(2, "crypto unavailable", h)) : j && L(2, n + w, e)), r[n] = V, f(n = "MODULO_MODE") && H(e, 0, 9, 2, n) && (W = 0 | e), r[n] = W, f(n = "POW_PRECISION") && H(e, 0, E, 2, n) && (J = 0 | e), r[n] = J, f(n = "FORMAT") && ("object" == typeof e ? X = e : j && L(2, n + " not an object", e)), r[n] = X, r
|
||||||
}, a.max = function() {
|
}, a.max = function () {
|
||||||
return _(arguments, T.lt)
|
return _(arguments, T.lt)
|
||||||
}, a.min = function() {
|
}, a.min = function () {
|
||||||
return _(arguments, T.gt)
|
return _(arguments, T.gt)
|
||||||
}, a.random = function() {
|
}, a.random = function () {
|
||||||
var e = 9007199254740992,
|
var e = 9007199254740992,
|
||||||
n = Math.random() * e & 2097151 ? function() {
|
n = Math.random() * e & 2097151 ? function () {
|
||||||
return m(Math.random() * e)
|
return m(Math.random() * e)
|
||||||
} : function() {
|
} : function () {
|
||||||
return 8388608 * (1073741824 * Math.random() | 0) + (8388608 * Math.random() | 0)
|
return 8388608 * (1073741824 * Math.random() | 0) + (8388608 * Math.random() | 0)
|
||||||
};
|
};
|
||||||
return function(e) {
|
return function (e) {
|
||||||
var t, r, i, o, u, s = 0,
|
var t, r, i, o, u, s = 0,
|
||||||
f = [],
|
f = [],
|
||||||
l = new a(q);
|
l = new a(q);
|
||||||
@ -188,9 +188,9 @@
|
|||||||
for (t = h.getRandomValues(new Uint32Array(o *= 2)); o > s;) u = 131072 * t[s] + (t[s + 1] >>> 11), u >= 9e15 ? (r = h.getRandomValues(new Uint32Array(2)), t[s] = r[0], t[s + 1] = r[1]) : (f.push(u % 1e14), s += 2);
|
for (t = h.getRandomValues(new Uint32Array(o *= 2)); o > s;) u = 131072 * t[s] + (t[s + 1] >>> 11), u >= 9e15 ? (r = h.getRandomValues(new Uint32Array(2)), t[s] = r[0], t[s + 1] = r[1]) : (f.push(u % 1e14), s += 2);
|
||||||
s = o / 2
|
s = o / 2
|
||||||
} else if (h && h.randomBytes) {
|
} else if (h && h.randomBytes) {
|
||||||
for (t = h.randomBytes(o *= 7); o > s;) u = 281474976710656 * (31 & t[s]) + 1099511627776 * t[s + 1] + 4294967296 * t[s + 2] + 16777216 * t[s + 3] + (t[s + 4] << 16) + (t[s + 5] << 8) + t[s + 6], u >= 9e15 ? h.randomBytes(7).copy(t, s) : (f.push(u % 1e14), s += 7);
|
for (t = h.randomBytes(o *= 7); o > s;) u = 281474976710656 * (31 & t[s]) + 1099511627776 * t[s + 1] + 4294967296 * t[s + 2] + 16777216 * t[s + 3] + (t[s + 4] << 16) + (t[s + 5] << 8) + t[s + 6], u >= 9e15 ? h.randomBytes(7).copy(t, s) : (f.push(u % 1e14), s += 7);
|
||||||
s = o / 7
|
s = o / 7
|
||||||
} else j && L(14, "crypto unavailable", h);
|
} else j && L(14, "crypto unavailable", h);
|
||||||
if (!s)
|
if (!s)
|
||||||
for (; o > s;) u = n(), 9e15 > u && (f[s++] = u % 1e14);
|
for (; o > s;) u = n(), 9e15 > u && (f[s++] = u % 1e14);
|
||||||
for (o = f[--s], e %= y, o && e && (u = R[y - e], f[s] = m(o / u) * u); 0 === f[s]; f.pop(), s--);
|
for (o = f[--s], e %= y, o && e && (u = R[y - e], f[s] = m(o / u) * u); 0 === f[s]; f.pop(), s--);
|
||||||
@ -202,7 +202,7 @@
|
|||||||
}
|
}
|
||||||
return l.e = i, l.c = f, l
|
return l.e = i, l.c = f, l
|
||||||
}
|
}
|
||||||
}(), C = function() {
|
}(), C = function () {
|
||||||
function e(e, n, t) {
|
function e(e, n, t) {
|
||||||
var r, i, o, u, s = 0,
|
var r, i, o, u, s = 0,
|
||||||
f = e.length,
|
f = e.length,
|
||||||
@ -227,7 +227,7 @@
|
|||||||
for (var i = 0; t--;) e[t] -= i, i = e[t] < n[t] ? 1 : 0, e[t] = i * r + e[t] - n[t];
|
for (var i = 0; t--;) e[t] -= i, i = e[t] < n[t] ? 1 : 0, e[t] = i * r + e[t] - n[t];
|
||||||
for (; !e[0] && e.length > 1; e.shift());
|
for (; !e[0] && e.length > 1; e.shift());
|
||||||
}
|
}
|
||||||
return function(i, o, u, s, f) {
|
return function (i, o, u, s, f) {
|
||||||
var l, c, h, g, p, d, w, v, N, b, S, R, A, E, D, F, _, x = i.s == o.s ? 1 : -1,
|
var l, c, h, g, p, d, w, v, N, b, S, R, A, E, D, F, _, x = i.s == o.s ? 1 : -1,
|
||||||
I = i.c,
|
I = i.c,
|
||||||
L = o.c;
|
L = o.c;
|
||||||
@ -255,63 +255,63 @@
|
|||||||
} else v.e = c, v.r = +g;
|
} else v.e = c, v.r = +g;
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
}(), g = function() {
|
}(), g = function () {
|
||||||
var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i,
|
var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i,
|
||||||
n = /^([^.]+)\.$/,
|
n = /^([^.]+)\.$/,
|
||||||
t = /^\.([^.]+)$/,
|
t = /^\.([^.]+)$/,
|
||||||
r = /^-?(Infinity|NaN)$/,
|
r = /^-?(Infinity|NaN)$/,
|
||||||
i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
|
i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
|
||||||
return function(o, u, s, f) {
|
return function (o, u, s, f) {
|
||||||
var l, c = s ? u : u.replace(i, "");
|
var l, c = s ? u : u.replace(i, "");
|
||||||
if (r.test(c)) o.s = isNaN(c) ? null : 0 > c ? -1 : 1;
|
if (r.test(c)) o.s = isNaN(c) ? null : 0 > c ? -1 : 1;
|
||||||
else {
|
else {
|
||||||
if (!s && (c = c.replace(e, function(e, n, t) {
|
if (!s && (c = c.replace(e, function (e, n, t) {
|
||||||
return l = "x" == (t = t.toLowerCase()) ? 16 : "b" == t ? 2 : 8, f && f != l ? e : n
|
return l = "x" == (t = t.toLowerCase()) ? 16 : "b" == t ? 2 : 8, f && f != l ? e : n
|
||||||
}), f && (l = f, c = c.replace(n, "$1").replace(t, "0.$1")), u != c)) return new a(c, l);
|
}), f && (l = f, c = c.replace(n, "$1").replace(t, "0.$1")), u != c)) return new a(c, l);
|
||||||
j && L(M, "not a" + (f ? " base " + f : "") + " number", u), o.s = null
|
j && L(M, "not a" + (f ? " base " + f : "") + " number", u), o.s = null
|
||||||
}
|
}
|
||||||
o.c = o.e = null, M = 0
|
o.c = o.e = null, M = 0
|
||||||
}
|
}
|
||||||
}(), T.absoluteValue = T.abs = function() {
|
}(), T.absoluteValue = T.abs = function () {
|
||||||
var e = new a(this);
|
var e = new a(this);
|
||||||
return e.s < 0 && (e.s = 1), e
|
return e.s < 0 && (e.s = 1), e
|
||||||
}, T.ceil = function() {
|
}, T.ceil = function () {
|
||||||
return U(new a(this), this.e + 1, 2)
|
return U(new a(this), this.e + 1, 2)
|
||||||
}, T.comparedTo = T.cmp = function(e, n) {
|
}, T.comparedTo = T.cmp = function (e, n) {
|
||||||
return M = 1, i(this, new a(e, n))
|
return M = 1, i(this, new a(e, n))
|
||||||
}, T.decimalPlaces = T.dp = function() {
|
}, T.decimalPlaces = T.dp = function () {
|
||||||
var e, n, r = this.c;
|
var e, n, r = this.c;
|
||||||
if (!r) return null;
|
if (!r) return null;
|
||||||
if (e = ((n = r.length - 1) - t(this.e / y)) * y, n = r[n])
|
if (e = ((n = r.length - 1) - t(this.e / y)) * y, n = r[n])
|
||||||
for (; n % 10 == 0; n /= 10, e--);
|
for (; n % 10 == 0; n /= 10, e--);
|
||||||
return 0 > e && (e = 0), e
|
return 0 > e && (e = 0), e
|
||||||
}, T.dividedBy = T.div = function(e, n) {
|
}, T.dividedBy = T.div = function (e, n) {
|
||||||
return M = 3, C(this, new a(e, n), P, B)
|
return M = 3, C(this, new a(e, n), P, B)
|
||||||
}, T.dividedToIntegerBy = T.divToInt = function(e, n) {
|
}, T.dividedToIntegerBy = T.divToInt = function (e, n) {
|
||||||
return M = 4, C(this, new a(e, n), 0, 1)
|
return M = 4, C(this, new a(e, n), 0, 1)
|
||||||
}, T.equals = T.eq = function(e, n) {
|
}, T.equals = T.eq = function (e, n) {
|
||||||
return M = 5, 0 === i(this, new a(e, n))
|
return M = 5, 0 === i(this, new a(e, n))
|
||||||
}, T.floor = function() {
|
}, T.floor = function () {
|
||||||
return U(new a(this), this.e + 1, 3)
|
return U(new a(this), this.e + 1, 3)
|
||||||
}, T.greaterThan = T.gt = function(e, n) {
|
}, T.greaterThan = T.gt = function (e, n) {
|
||||||
return M = 6, i(this, new a(e, n)) > 0
|
return M = 6, i(this, new a(e, n)) > 0
|
||||||
}, T.greaterThanOrEqualTo = T.gte = function(e, n) {
|
}, T.greaterThanOrEqualTo = T.gte = function (e, n) {
|
||||||
return M = 7, 1 === (n = i(this, new a(e, n))) || 0 === n
|
return M = 7, 1 === (n = i(this, new a(e, n))) || 0 === n
|
||||||
}, T.isFinite = function() {
|
}, T.isFinite = function () {
|
||||||
return !!this.c
|
return !!this.c
|
||||||
}, T.isInteger = T.isInt = function() {
|
}, T.isInteger = T.isInt = function () {
|
||||||
return !!this.c && t(this.e / y) > this.c.length - 2
|
return !!this.c && t(this.e / y) > this.c.length - 2
|
||||||
}, T.isNaN = function() {
|
}, T.isNaN = function () {
|
||||||
return !this.s
|
return !this.s
|
||||||
}, T.isNegative = T.isNeg = function() {
|
}, T.isNegative = T.isNeg = function () {
|
||||||
return this.s < 0
|
return this.s < 0
|
||||||
}, T.isZero = function() {
|
}, T.isZero = function () {
|
||||||
return !!this.c && 0 == this.c[0]
|
return !!this.c && 0 == this.c[0]
|
||||||
}, T.lessThan = T.lt = function(e, n) {
|
}, T.lessThan = T.lt = function (e, n) {
|
||||||
return M = 8, i(this, new a(e, n)) < 0
|
return M = 8, i(this, new a(e, n)) < 0
|
||||||
}, T.lessThanOrEqualTo = T.lte = function(e, n) {
|
}, T.lessThanOrEqualTo = T.lte = function (e, n) {
|
||||||
return M = 9, -1 === (n = i(this, new a(e, n))) || 0 === n
|
return M = 9, -1 === (n = i(this, new a(e, n))) || 0 === n
|
||||||
}, T.minus = T.sub = function(e, n) {
|
}, T.minus = T.sub = function (e, n) {
|
||||||
var r, i, o, u, s = this,
|
var r, i, o, u, s = this,
|
||||||
f = s.s;
|
f = s.s;
|
||||||
if (M = 10, e = new a(e, n), n = e.s, !f || !n) return new a(NaN);
|
if (M = 10, e = new a(e, n), n = e.s, !f || !n) return new a(NaN);
|
||||||
@ -343,13 +343,13 @@
|
|||||||
}
|
}
|
||||||
for (; 0 == h[0]; h.shift(), --c);
|
for (; 0 == h[0]; h.shift(), --c);
|
||||||
return h[0] ? I(e, h, c) : (e.s = 3 == B ? -1 : 1, e.c = [e.e = 0], e)
|
return h[0] ? I(e, h, c) : (e.s = 3 == B ? -1 : 1, e.c = [e.e = 0], e)
|
||||||
}, T.modulo = T.mod = function(e, n) {
|
}, T.modulo = T.mod = function (e, n) {
|
||||||
var t, r, i = this;
|
var t, r, i = this;
|
||||||
return M = 11, e = new a(e, n), !i.c || !e.s || e.c && !e.c[0] ? new a(NaN) : !e.c || i.c && !i.c[0] ? new a(i) : (9 == W ? (r = e.s, e.s = 1, t = C(i, e, 0, 3), e.s = r, t.s *= r) : t = C(i, e, 0, W), i.minus(t.times(e)))
|
return M = 11, e = new a(e, n), !i.c || !e.s || e.c && !e.c[0] ? new a(NaN) : !e.c || i.c && !i.c[0] ? new a(i) : (9 == W ? (r = e.s, e.s = 1, t = C(i, e, 0, 3), e.s = r, t.s *= r) : t = C(i, e, 0, W), i.minus(t.times(e)))
|
||||||
}, T.negated = T.neg = function() {
|
}, T.negated = T.neg = function () {
|
||||||
var e = new a(this);
|
var e = new a(this);
|
||||||
return e.s = -e.s || null, e
|
return e.s = -e.s || null, e
|
||||||
}, T.plus = T.add = function(e, n) {
|
}, T.plus = T.add = function (e, n) {
|
||||||
var r, i = this,
|
var r, i = this,
|
||||||
o = i.s;
|
o = i.s;
|
||||||
if (M = 12, e = new a(e, n), n = e.s, !o || !n) return new a(NaN);
|
if (M = 12, e = new a(e, n), n = e.s, !o || !n) return new a(NaN);
|
||||||
@ -368,7 +368,7 @@
|
|||||||
}
|
}
|
||||||
for (o = f.length, n = l.length, 0 > o - n && (r = l, l = f, f = r, n = o), o = 0; n;) o = (f[--n] = f[n] + l[n] + o) / O | 0, f[n] %= O;
|
for (o = f.length, n = l.length, 0 > o - n && (r = l, l = f, f = r, n = o), o = 0; n;) o = (f[--n] = f[n] + l[n] + o) / O | 0, f[n] %= O;
|
||||||
return o && (f.unshift(o), ++s), I(e, f, s)
|
return o && (f.unshift(o), ++s), I(e, f, s)
|
||||||
}, T.precision = T.sd = function(e) {
|
}, T.precision = T.sd = function (e) {
|
||||||
var n, t, r = this,
|
var n, t, r = this,
|
||||||
i = r.c;
|
i = r.c;
|
||||||
if (null != e && e !== !!e && 1 !== e && 0 !== e && (j && L(13, "argument" + w, e), e != !!e && (e = null)), !i) return null;
|
if (null != e && e !== !!e && 1 !== e && 0 !== e && (j && L(13, "argument" + w, e), e != !!e && (e = null)), !i) return null;
|
||||||
@ -377,13 +377,13 @@
|
|||||||
for (t = i[0]; t >= 10; t /= 10, n++);
|
for (t = i[0]; t >= 10; t /= 10, n++);
|
||||||
}
|
}
|
||||||
return e && r.e + 1 > n && (n = r.e + 1), n
|
return e && r.e + 1 > n && (n = r.e + 1), n
|
||||||
}, T.round = function(e, n) {
|
}, T.round = function (e, n) {
|
||||||
var t = new a(this);
|
var t = new a(this);
|
||||||
return (null == e || H(e, 0, E, 15)) && U(t, ~~e + this.e + 1, null != n && H(n, 0, 8, 15, v) ? 0 | n : B), t
|
return (null == e || H(e, 0, E, 15)) && U(t, ~~e + this.e + 1, null != n && H(n, 0, 8, 15, v) ? 0 | n : B), t
|
||||||
}, T.shift = function(e) {
|
}, T.shift = function (e) {
|
||||||
var n = this;
|
var n = this;
|
||||||
return H(e, -S, S, 16, "argument") ? n.times("1e" + c(e)) : new a(n.c && n.c[0] && (-S > e || e > S) ? n.s * (0 > e ? 0 : 1 / 0) : n)
|
return H(e, -S, S, 16, "argument") ? n.times("1e" + c(e)) : new a(n.c && n.c[0] && (-S > e || e > S) ? n.s * (0 > e ? 0 : 1 / 0) : n)
|
||||||
}, T.squareRoot = T.sqrt = function() {
|
}, T.squareRoot = T.sqrt = function () {
|
||||||
var e, n, i, o, u, s = this,
|
var e, n, i, o, u, s = this,
|
||||||
f = s.c,
|
f = s.c,
|
||||||
l = s.s,
|
l = s.s,
|
||||||
@ -392,7 +392,7 @@
|
|||||||
g = new a("0.5");
|
g = new a("0.5");
|
||||||
if (1 !== l || !f || !f[0]) return new a(!l || 0 > l && (!f || f[0]) ? NaN : f ? s : 1 / 0);
|
if (1 !== l || !f || !f[0]) return new a(!l || 0 > l && (!f || f[0]) ? NaN : f ? s : 1 / 0);
|
||||||
if (l = Math.sqrt(+s), 0 == l || l == 1 / 0 ? (n = r(f), (n.length + c) % 2 == 0 && (n += "0"), l = Math.sqrt(n), c = t((c + 1) / 2) - (0 > c || c % 2), l == 1 / 0 ? n = "1e" + c : (n = l.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + c), i = new a(n)) : i = new a(l + ""), i.c[0])
|
if (l = Math.sqrt(+s), 0 == l || l == 1 / 0 ? (n = r(f), (n.length + c) % 2 == 0 && (n += "0"), l = Math.sqrt(n), c = t((c + 1) / 2) - (0 > c || c % 2), l == 1 / 0 ? n = "1e" + c : (n = l.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + c), i = new a(n)) : i = new a(l + ""), i.c[0])
|
||||||
for (c = i.e, l = c + h, 3 > l && (l = 0);;)
|
for (c = i.e, l = c + h, 3 > l && (l = 0); ;)
|
||||||
if (u = i, i = g.times(u.plus(C(s, u, h, 1))), r(u.c).slice(0, l) === (n = r(i.c)).slice(0, l)) {
|
if (u = i, i = g.times(u.plus(C(s, u, h, 1))), r(u.c).slice(0, l) === (n = r(i.c)).slice(0, l)) {
|
||||||
if (i.e < c && --l, n = n.slice(l - 3, l + 1), "9999" != n && (o || "4999" != n)) {
|
if (i.e < c && --l, n = n.slice(l - 3, l + 1), "9999" != n && (o || "4999" != n)) {
|
||||||
(!+n || !+n.slice(1) && "5" == n.charAt(0)) && (U(i, i.e + P + 2, 1), e = !i.times(i).eq(s));
|
(!+n || !+n.slice(1) && "5" == n.charAt(0)) && (U(i, i.e + P + 2, 1), e = !i.times(i).eq(s));
|
||||||
@ -404,7 +404,7 @@
|
|||||||
}
|
}
|
||||||
h += 4, l += 4, o = 1
|
h += 4, l += 4, o = 1
|
||||||
} return U(i, i.e + P + 1, B, e)
|
} return U(i, i.e + P + 1, B, e)
|
||||||
}, T.times = T.mul = function(e, n) {
|
}, T.times = T.mul = function (e, n) {
|
||||||
var r, i, o, u, s, f, l, c, h, g, p, d, m, w, v, N = this,
|
var r, i, o, u, s, f, l, c, h, g, p, d, m, w, v, N = this,
|
||||||
b = N.c,
|
b = N.c,
|
||||||
S = (M = 17, e = new a(e, n)).c;
|
S = (M = 17, e = new a(e, n)).c;
|
||||||
@ -415,14 +415,14 @@
|
|||||||
m[u] = r
|
m[u] = r
|
||||||
}
|
}
|
||||||
return r ? ++i : m.shift(), I(e, m, i)
|
return r ? ++i : m.shift(), I(e, m, i)
|
||||||
}, T.toDigits = function(e, n) {
|
}, T.toDigits = function (e, n) {
|
||||||
var t = new a(this);
|
var t = new a(this);
|
||||||
return e = null != e && H(e, 1, E, 18, "precision") ? 0 | e : null, n = null != n && H(n, 0, 8, 18, v) ? 0 | n : B, e ? U(t, e, n) : t
|
return e = null != e && H(e, 1, E, 18, "precision") ? 0 | e : null, n = null != n && H(n, 0, 8, 18, v) ? 0 | n : B, e ? U(t, e, n) : t
|
||||||
}, T.toExponential = function(e, n) {
|
}, T.toExponential = function (e, n) {
|
||||||
return F(this, null != e && H(e, 0, E, 19) ? ~~e + 1 : null, n, 19)
|
return F(this, null != e && H(e, 0, E, 19) ? ~~e + 1 : null, n, 19)
|
||||||
}, T.toFixed = function(e, n) {
|
}, T.toFixed = function (e, n) {
|
||||||
return F(this, null != e && H(e, 0, E, 20) ? ~~e + this.e + 1 : null, n, 20)
|
return F(this, null != e && H(e, 0, E, 20) ? ~~e + this.e + 1 : null, n, 20)
|
||||||
}, T.toFormat = function(e, n) {
|
}, T.toFormat = function (e, n) {
|
||||||
var t = F(this, null != e && H(e, 0, E, 21) ? ~~e + this.e + 1 : null, n, 21);
|
var t = F(this, null != e && H(e, 0, E, 21) ? ~~e + this.e + 1 : null, n, 21);
|
||||||
if (this.c) {
|
if (this.c) {
|
||||||
var r, i = t.split("."),
|
var r, i = t.split("."),
|
||||||
@ -441,7 +441,7 @@
|
|||||||
t = l ? f + X.decimalSeparator + ((u = +X.fractionGroupSize) ? l.replace(new RegExp("\\d{" + u + "}\\B", "g"), "$&" + X.fractionGroupSeparator) : l) : f
|
t = l ? f + X.decimalSeparator + ((u = +X.fractionGroupSize) ? l.replace(new RegExp("\\d{" + u + "}\\B", "g"), "$&" + X.fractionGroupSeparator) : l) : f
|
||||||
}
|
}
|
||||||
return t
|
return t
|
||||||
}, T.toFraction = function(e) {
|
}, T.toFraction = function (e) {
|
||||||
var n, t, i, o, u, s, f, l, c, h = j,
|
var n, t, i, o, u, s, f, l, c, h = j,
|
||||||
g = this,
|
g = this,
|
||||||
p = g.c,
|
p = g.c,
|
||||||
@ -451,13 +451,13 @@
|
|||||||
if (null != e && (j = !1, s = new a(e), j = h, (!(h = s.isInt()) || s.lt(q)) && (j && L(22, "max denominator " + (h ? "out of range" : "not an integer"), e), e = !h && s.c && U(s, s.e + 1, 1).gte(q) ? s : null)), !p) return g.toString();
|
if (null != e && (j = !1, s = new a(e), j = h, (!(h = s.isInt()) || s.lt(q)) && (j && L(22, "max denominator " + (h ? "out of range" : "not an integer"), e), e = !h && s.c && U(s, s.e + 1, 1).gte(q) ? s : null)), !p) return g.toString();
|
||||||
for (c = r(p), o = d.e = c.length - g.e - 1, d.c[0] = R[(u = o % y) < 0 ? y + u : u], e = !e || s.cmp(d) > 0 ? o > 0 ? d : m : s, u = z, z = 1 / 0, s = new a(c), f.c[0] = 0; l = C(s, d, 0, 1), i = t.plus(l.times(w)), 1 != i.cmp(e);) t = w, w = i, m = f.plus(l.times(i = m)), f = i, d = s.minus(l.times(i = d)), s = i;
|
for (c = r(p), o = d.e = c.length - g.e - 1, d.c[0] = R[(u = o % y) < 0 ? y + u : u], e = !e || s.cmp(d) > 0 ? o > 0 ? d : m : s, u = z, z = 1 / 0, s = new a(c), f.c[0] = 0; l = C(s, d, 0, 1), i = t.plus(l.times(w)), 1 != i.cmp(e);) t = w, w = i, m = f.plus(l.times(i = m)), f = i, d = s.minus(l.times(i = d)), s = i;
|
||||||
return i = C(e.minus(t), w, 0, 1), f = f.plus(i.times(m)), t = t.plus(i.times(w)), f.s = m.s = g.s, o *= 2, n = C(m, w, o, B).minus(g).abs().cmp(C(f, t, o, B).minus(g).abs()) < 1 ? [m.toString(), w.toString()] : [f.toString(), t.toString()], z = u, n
|
return i = C(e.minus(t), w, 0, 1), f = f.plus(i.times(m)), t = t.plus(i.times(w)), f.s = m.s = g.s, o *= 2, n = C(m, w, o, B).minus(g).abs().cmp(C(f, t, o, B).minus(g).abs()) < 1 ? [m.toString(), w.toString()] : [f.toString(), t.toString()], z = u, n
|
||||||
}, T.toNumber = function() {
|
}, T.toNumber = function () {
|
||||||
return +this
|
return +this
|
||||||
}, T.toPower = T.pow = function(e, n) {
|
}, T.toPower = T.pow = function (e, n) {
|
||||||
var t, r, i, o = m(0 > e ? -e : +e),
|
var t, r, i, o = m(0 > e ? -e : +e),
|
||||||
u = this;
|
u = this;
|
||||||
if (null != n && (M = 23, n = new a(n)), !H(e, -S, S, 23, "exponent") && (!isFinite(e) || o > S && (e /= 0) || parseFloat(e) != e && !(e = NaN)) || 0 == e) return t = Math.pow(+u, e), new a(n ? t % n : t);
|
if (null != n && (M = 23, n = new a(n)), !H(e, -S, S, 23, "exponent") && (!isFinite(e) || o > S && (e /= 0) || parseFloat(e) != e && !(e = NaN)) || 0 == e) return t = Math.pow(+u, e), new a(n ? t % n : t);
|
||||||
for (n ? e > 1 && u.gt(q) && u.isInt() && n.gt(q) && n.isInt() ? u = u.mod(n) : (i = n, n = null) : J && (t = d(J / y + 2)), r = new a(q);;) {
|
for (n ? e > 1 && u.gt(q) && u.isInt() && n.gt(q) && n.isInt() ? u = u.mod(n) : (i = n, n = null) : J && (t = d(J / y + 2)), r = new a(q); ;) {
|
||||||
if (o % 2) {
|
if (o % 2) {
|
||||||
if (r = r.times(u), !r.c) break;
|
if (r = r.times(u), !r.c) break;
|
||||||
t ? r.c.length > t && (r.c.length = t) : n && (r = r.mod(n))
|
t ? r.c.length > t && (r.c.length = t) : n && (r = r.mod(n))
|
||||||
@ -466,16 +466,16 @@
|
|||||||
u = u.times(u), t ? u.c && u.c.length > t && (u.c.length = t) : n && (u = u.mod(n))
|
u = u.times(u), t ? u.c && u.c.length > t && (u.c.length = t) : n && (u = u.mod(n))
|
||||||
}
|
}
|
||||||
return n ? r : (0 > e && (r = q.div(r)), i ? r.mod(i) : t ? U(r, J, B) : r)
|
return n ? r : (0 > e && (r = q.div(r)), i ? r.mod(i) : t ? U(r, J, B) : r)
|
||||||
}, T.toPrecision = function(e, n) {
|
}, T.toPrecision = function (e, n) {
|
||||||
return F(this, null != e && H(e, 1, E, 24, "precision") ? 0 | e : null, n, 24)
|
return F(this, null != e && H(e, 1, E, 24, "precision") ? 0 | e : null, n, 24)
|
||||||
}, T.toString = function(e) {
|
}, T.toString = function (e) {
|
||||||
var n, t = this,
|
var n, t = this,
|
||||||
i = t.s,
|
i = t.s,
|
||||||
o = t.e;
|
o = t.e;
|
||||||
return null === o ? i ? (n = "Infinity", 0 > i && (n = "-" + n)) : n = "NaN" : (n = r(t.c), n = null != e && H(e, 2, 64, 25, "base") ? D(l(n, o), 0 | e, 10, i) : k >= o || o >= $ ? f(n, o) : l(n, o), 0 > i && t.c[0] && (n = "-" + n)), n
|
return null === o ? i ? (n = "Infinity", 0 > i && (n = "-" + n)) : n = "NaN" : (n = r(t.c), n = null != e && H(e, 2, 64, 25, "base") ? D(l(n, o), 0 | e, 10, i) : k >= o || o >= $ ? f(n, o) : l(n, o), 0 > i && t.c[0] && (n = "-" + n)), n
|
||||||
}, T.truncated = T.trunc = function() {
|
}, T.truncated = T.trunc = function () {
|
||||||
return U(new a(this), this.e + 1, 1)
|
return U(new a(this), this.e + 1, 1)
|
||||||
}, T.valueOf = T.toJSON = function() {
|
}, T.valueOf = T.toJSON = function () {
|
||||||
var e, n = this,
|
var e, n = this,
|
||||||
t = n.e;
|
t = n.e;
|
||||||
return null === t ? n.toString() : (e = r(n.c), e = k >= t || t >= $ ? f(e, t) : l(e, t), n.s < 0 ? "-" + e : e)
|
return null === t ? n.toString() : (e = r(n.c), e = k >= t || t >= $ ? f(e, t) : l(e, t), n.s < 0 ? "-" + e : e)
|
||||||
@ -561,20 +561,20 @@
|
|||||||
R = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13],
|
R = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13],
|
||||||
A = 1e7,
|
A = 1e7,
|
||||||
E = 1e9;
|
E = 1e9;
|
||||||
if ("undefined" != typeof crypto && (h = crypto), a = n(), a["default"] = a.BigNumber = a, "function" == typeof define && define.amd) define(function() {
|
if ("undefined" != typeof crypto && (h = crypto), a = n(), a["default"] = a.BigNumber = a, "function" == typeof define && define.amd) define(function () {
|
||||||
return a
|
return a
|
||||||
});
|
});
|
||||||
else if ("undefined" != typeof module && module.exports) {
|
else if ("undefined" != typeof module && module.exports) {
|
||||||
if (module.exports = a, !h) try {
|
if (module.exports = a, !h) try {
|
||||||
h = require("crypto")
|
h = require("crypto")
|
||||||
} catch (D) {}
|
} catch (D) { }
|
||||||
} else e || (e = "undefined" != typeof self ? self : Function("return this")()), e.BigNumber = a
|
} else e || (e = "undefined" != typeof self ? self : Function("return this")()), e.BigNumber = a
|
||||||
}(this);
|
}(this);
|
||||||
! function(t, e) {
|
! function (t, e) {
|
||||||
"object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.ClipboardJS = e() : t.ClipboardJS = e()
|
"object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.ClipboardJS = e() : t.ClipboardJS = e()
|
||||||
}(this, function() {
|
}(this, function () {
|
||||||
return o = {}, r.m = n = [function(t, e) {
|
return o = {}, r.m = n = [function (t, e) {
|
||||||
t.exports = function(t) {
|
t.exports = function (t) {
|
||||||
var e;
|
var e;
|
||||||
if ("SELECT" === t.nodeName) t.focus(), e = t.value;
|
if ("SELECT" === t.nodeName) t.focus(), e = t.value;
|
||||||
else if ("INPUT" === t.nodeName || "TEXTAREA" === t.nodeName) {
|
else if ("INPUT" === t.nodeName || "TEXTAREA" === t.nodeName) {
|
||||||
@ -588,17 +588,17 @@
|
|||||||
}
|
}
|
||||||
return e
|
return e
|
||||||
}
|
}
|
||||||
}, function(t, e) {
|
}, function (t, e) {
|
||||||
function n() {}
|
function n() { }
|
||||||
n.prototype = {
|
n.prototype = {
|
||||||
on: function(t, e, n) {
|
on: function (t, e, n) {
|
||||||
var o = this.e || (this.e = {});
|
var o = this.e || (this.e = {});
|
||||||
return (o[t] || (o[t] = [])).push({
|
return (o[t] || (o[t] = [])).push({
|
||||||
fn: e,
|
fn: e,
|
||||||
ctx: n
|
ctx: n
|
||||||
}), this
|
}), this
|
||||||
},
|
},
|
||||||
once: function(t, e, n) {
|
once: function (t, e, n) {
|
||||||
var o = this;
|
var o = this;
|
||||||
|
|
||||||
function r() {
|
function r() {
|
||||||
@ -606,11 +606,11 @@
|
|||||||
}
|
}
|
||||||
return r._ = e, this.on(t, r, n)
|
return r._ = e, this.on(t, r, n)
|
||||||
},
|
},
|
||||||
emit: function(t) {
|
emit: function (t) {
|
||||||
for (var e = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), o = 0, r = n.length; o < r; o++) n[o].fn.apply(n[o].ctx, e);
|
for (var e = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), o = 0, r = n.length; o < r; o++) n[o].fn.apply(n[o].ctx, e);
|
||||||
return this
|
return this
|
||||||
},
|
},
|
||||||
off: function(t, e) {
|
off: function (t, e) {
|
||||||
var n = this.e || (this.e = {}),
|
var n = this.e || (this.e = {}),
|
||||||
o = n[t],
|
o = n[t],
|
||||||
r = [];
|
r = [];
|
||||||
@ -619,23 +619,23 @@
|
|||||||
return r.length ? n[t] = r : delete n[t], this
|
return r.length ? n[t] = r : delete n[t], this
|
||||||
}
|
}
|
||||||
}, t.exports = n, t.exports.TinyEmitter = n
|
}, t.exports = n, t.exports.TinyEmitter = n
|
||||||
}, function(t, e, n) {
|
}, function (t, e, n) {
|
||||||
var d = n(3),
|
var d = n(3),
|
||||||
h = n(4);
|
h = n(4);
|
||||||
t.exports = function(t, e, n) {
|
t.exports = function (t, e, n) {
|
||||||
if (!t && !e && !n) throw new Error("Missing required arguments");
|
if (!t && !e && !n) throw new Error("Missing required arguments");
|
||||||
if (!d.string(e)) throw new TypeError("Second argument must be a String");
|
if (!d.string(e)) throw new TypeError("Second argument must be a String");
|
||||||
if (!d.fn(n)) throw new TypeError("Third argument must be a Function");
|
if (!d.fn(n)) throw new TypeError("Third argument must be a Function");
|
||||||
if (d.node(t)) return s = e, f = n, (u = t).addEventListener(s, f), {
|
if (d.node(t)) return s = e, f = n, (u = t).addEventListener(s, f), {
|
||||||
destroy: function() {
|
destroy: function () {
|
||||||
u.removeEventListener(s, f)
|
u.removeEventListener(s, f)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (d.nodeList(t)) return a = t, c = e, l = n, Array.prototype.forEach.call(a, function(t) {
|
if (d.nodeList(t)) return a = t, c = e, l = n, Array.prototype.forEach.call(a, function (t) {
|
||||||
t.addEventListener(c, l)
|
t.addEventListener(c, l)
|
||||||
}), {
|
}), {
|
||||||
destroy: function() {
|
destroy: function () {
|
||||||
Array.prototype.forEach.call(a, function(t) {
|
Array.prototype.forEach.call(a, function (t) {
|
||||||
t.removeEventListener(c, l)
|
t.removeEventListener(c, l)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -644,56 +644,56 @@
|
|||||||
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
|
||||||
var o, r, i, a, c, l, u, s, f
|
var o, r, i, a, c, l, u, s, f
|
||||||
}
|
}
|
||||||
}, function(t, n) {
|
}, function (t, n) {
|
||||||
n.node = function(t) {
|
n.node = function (t) {
|
||||||
return void 0 !== t && t instanceof HTMLElement && 1 === t.nodeType
|
return void 0 !== t && t instanceof HTMLElement && 1 === t.nodeType
|
||||||
}, n.nodeList = function(t) {
|
}, n.nodeList = function (t) {
|
||||||
var e = Object.prototype.toString.call(t);
|
var e = Object.prototype.toString.call(t);
|
||||||
return void 0 !== t && ("[object NodeList]" === e || "[object HTMLCollection]" === e) && "length" in t && (0 === t.length || n.node(t[0]))
|
return void 0 !== t && ("[object NodeList]" === e || "[object HTMLCollection]" === e) && "length" in t && (0 === t.length || n.node(t[0]))
|
||||||
}, n.string = function(t) {
|
}, n.string = function (t) {
|
||||||
return "string" == typeof t || t instanceof String
|
return "string" == typeof t || t instanceof String
|
||||||
}, n.fn = function(t) {
|
}, n.fn = function (t) {
|
||||||
return "[object Function]" === Object.prototype.toString.call(t)
|
return "[object Function]" === Object.prototype.toString.call(t)
|
||||||
}
|
}
|
||||||
}, function(t, e, n) {
|
}, function (t, e, n) {
|
||||||
var a = n(5);
|
var a = n(5);
|
||||||
|
|
||||||
function i(t, e, n, o, r) {
|
function i(t, e, n, o, r) {
|
||||||
var i = function(e, n, t, o) {
|
var i = function (e, n, t, o) {
|
||||||
return function(t) {
|
return function (t) {
|
||||||
t.delegateTarget = a(t.target, n), t.delegateTarget && o.call(e, t)
|
t.delegateTarget = a(t.target, n), t.delegateTarget && o.call(e, t)
|
||||||
}
|
}
|
||||||
}.apply(this, arguments);
|
}.apply(this, arguments);
|
||||||
return t.addEventListener(n, i, r), {
|
return t.addEventListener(n, i, r), {
|
||||||
destroy: function() {
|
destroy: function () {
|
||||||
t.removeEventListener(n, i, r)
|
t.removeEventListener(n, i, r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
t.exports = function(t, e, n, o, r) {
|
t.exports = function (t, e, n, o, r) {
|
||||||
return "function" == typeof t.addEventListener ? i.apply(null, arguments) : "function" == typeof n ? i.bind(null, document).apply(null, arguments) : ("string" == typeof t && (t = document.querySelectorAll(t)), Array.prototype.map.call(t, function(t) {
|
return "function" == typeof t.addEventListener ? i.apply(null, arguments) : "function" == typeof n ? i.bind(null, document).apply(null, arguments) : ("string" == typeof t && (t = document.querySelectorAll(t)), Array.prototype.map.call(t, function (t) {
|
||||||
return i(t, e, n, o, r)
|
return i(t, e, n, o, r)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}, function(t, e) {
|
}, function (t, e) {
|
||||||
if ("undefined" != typeof Element && !Element.prototype.matches) {
|
if ("undefined" != typeof Element && !Element.prototype.matches) {
|
||||||
var n = Element.prototype;
|
var n = Element.prototype;
|
||||||
n.matches = n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector
|
n.matches = n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector
|
||||||
}
|
}
|
||||||
t.exports = function(t, e) {
|
t.exports = function (t, e) {
|
||||||
for (; t && 9 !== t.nodeType;) {
|
for (; t && 9 !== t.nodeType;) {
|
||||||
if ("function" == typeof t.matches && t.matches(e)) return t;
|
if ("function" == typeof t.matches && t.matches(e)) return t;
|
||||||
t = t.parentNode
|
t = t.parentNode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, function(t, e, n) {
|
}, function (t, e, n) {
|
||||||
"use strict";
|
"use strict";
|
||||||
n.r(e);
|
n.r(e);
|
||||||
var o = n(0),
|
var o = n(0),
|
||||||
r = n.n(o),
|
r = n.n(o),
|
||||||
i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
|
i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
||||||
return typeof t
|
return typeof t
|
||||||
} : function(t) {
|
} : function (t) {
|
||||||
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
|
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -705,108 +705,108 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function c(t) {
|
function c(t) {
|
||||||
! function(t, e) {
|
! function (t, e) {
|
||||||
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
|
||||||
}(this, c), this.resolveOptions(t), this.initSelection()
|
}(this, c), this.resolveOptions(t), this.initSelection()
|
||||||
}
|
}
|
||||||
var l = (function(t, e, n) {
|
var l = (function (t, e, n) {
|
||||||
return e && a(t.prototype, e), n && a(t, n), t
|
return e && a(t.prototype, e), n && a(t, n), t
|
||||||
}(c, [{
|
}(c, [{
|
||||||
key: "resolveOptions",
|
key: "resolveOptions",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
||||||
this.action = e.action, this.container = e.container, this.emitter = e.emitter, this.target = e.target, this.text = e.text, this.trigger = e.trigger, this.selectedText = ""
|
this.action = e.action, this.container = e.container, this.emitter = e.emitter, this.target = e.target, this.text = e.text, this.trigger = e.trigger, this.selectedText = ""
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "initSelection",
|
||||||
|
value: function () {
|
||||||
|
this.text ? this.selectFake() : this.target && this.selectTarget()
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "selectFake",
|
||||||
|
value: function () {
|
||||||
|
var t = this,
|
||||||
|
e = "rtl" == document.documentElement.getAttribute("dir");
|
||||||
|
this.removeFake(), this.fakeHandlerCallback = function () {
|
||||||
|
return t.removeFake()
|
||||||
|
}, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[e ? "right" : "left"] = "-9999px";
|
||||||
|
var n = window.pageYOffset || document.documentElement.scrollTop;
|
||||||
|
this.fakeElem.style.top = n + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = r()(this.fakeElem), this.copyText()
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "removeFake",
|
||||||
|
value: function () {
|
||||||
|
this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null)
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "selectTarget",
|
||||||
|
value: function () {
|
||||||
|
this.selectedText = r()(this.target), this.copyText()
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "copyText",
|
||||||
|
value: function () {
|
||||||
|
var e = void 0;
|
||||||
|
try {
|
||||||
|
e = document.execCommand(this.action)
|
||||||
|
} catch (t) {
|
||||||
|
e = !1
|
||||||
}
|
}
|
||||||
}, {
|
this.handleResult(e)
|
||||||
key: "initSelection",
|
}
|
||||||
value: function() {
|
}, {
|
||||||
this.text ? this.selectFake() : this.target && this.selectTarget()
|
key: "handleResult",
|
||||||
|
value: function (t) {
|
||||||
|
this.emitter.emit(t ? "success" : "error", {
|
||||||
|
action: this.action,
|
||||||
|
text: this.selectedText,
|
||||||
|
trigger: this.trigger,
|
||||||
|
clearSelection: this.clearSelection.bind(this)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "clearSelection",
|
||||||
|
value: function () {
|
||||||
|
this.trigger && this.trigger.focus(), document.activeElement.blur(), window.getSelection().removeAllRanges()
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "destroy",
|
||||||
|
value: function () {
|
||||||
|
this.removeFake()
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "action",
|
||||||
|
set: function (t) {
|
||||||
|
var e = 0 < arguments.length && void 0 !== t ? t : "copy";
|
||||||
|
if (this._action = e, "copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value, use either "copy" or "cut"')
|
||||||
|
},
|
||||||
|
get: function () {
|
||||||
|
return this._action
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "target",
|
||||||
|
set: function (t) {
|
||||||
|
if (void 0 !== t) {
|
||||||
|
if (!t || "object" !== (void 0 === t ? "undefined" : i(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value, use a valid Element');
|
||||||
|
if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
||||||
|
if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
|
||||||
|
this._target = t
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
key: "selectFake",
|
get: function () {
|
||||||
value: function() {
|
return this._target
|
||||||
var t = this,
|
}
|
||||||
e = "rtl" == document.documentElement.getAttribute("dir");
|
}]), c),
|
||||||
this.removeFake(), this.fakeHandlerCallback = function() {
|
|
||||||
return t.removeFake()
|
|
||||||
}, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[e ? "right" : "left"] = "-9999px";
|
|
||||||
var n = window.pageYOffset || document.documentElement.scrollTop;
|
|
||||||
this.fakeElem.style.top = n + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = r()(this.fakeElem), this.copyText()
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "removeFake",
|
|
||||||
value: function() {
|
|
||||||
this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null)
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "selectTarget",
|
|
||||||
value: function() {
|
|
||||||
this.selectedText = r()(this.target), this.copyText()
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "copyText",
|
|
||||||
value: function() {
|
|
||||||
var e = void 0;
|
|
||||||
try {
|
|
||||||
e = document.execCommand(this.action)
|
|
||||||
} catch (t) {
|
|
||||||
e = !1
|
|
||||||
}
|
|
||||||
this.handleResult(e)
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "handleResult",
|
|
||||||
value: function(t) {
|
|
||||||
this.emitter.emit(t ? "success" : "error", {
|
|
||||||
action: this.action,
|
|
||||||
text: this.selectedText,
|
|
||||||
trigger: this.trigger,
|
|
||||||
clearSelection: this.clearSelection.bind(this)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "clearSelection",
|
|
||||||
value: function() {
|
|
||||||
this.trigger && this.trigger.focus(), document.activeElement.blur(), window.getSelection().removeAllRanges()
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "destroy",
|
|
||||||
value: function() {
|
|
||||||
this.removeFake()
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "action",
|
|
||||||
set: function(t) {
|
|
||||||
var e = 0 < arguments.length && void 0 !== t ? t : "copy";
|
|
||||||
if (this._action = e, "copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value, use either "copy" or "cut"')
|
|
||||||
},
|
|
||||||
get: function() {
|
|
||||||
return this._action
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "target",
|
|
||||||
set: function(t) {
|
|
||||||
if (void 0 !== t) {
|
|
||||||
if (!t || "object" !== (void 0 === t ? "undefined" : i(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value, use a valid Element');
|
|
||||||
if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
|
|
||||||
if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
|
|
||||||
this._target = t
|
|
||||||
}
|
|
||||||
},
|
|
||||||
get: function() {
|
|
||||||
return this._target
|
|
||||||
}
|
|
||||||
}]), c),
|
|
||||||
u = n(1),
|
u = n(1),
|
||||||
s = n.n(u),
|
s = n.n(u),
|
||||||
f = n(2),
|
f = n(2),
|
||||||
d = n.n(f),
|
d = n.n(f),
|
||||||
h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
|
h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
|
||||||
return typeof t
|
return typeof t
|
||||||
} : function(t) {
|
} : function (t) {
|
||||||
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
|
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
|
||||||
},
|
},
|
||||||
p = function(t, e, n) {
|
p = function (t, e, n) {
|
||||||
return e && y(t.prototype, e), n && y(t, n), t
|
return e && y(t.prototype, e), n && y(t, n), t
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -816,7 +816,7 @@
|
|||||||
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o)
|
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var m = (function(t, e) {
|
var m = (function (t, e) {
|
||||||
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
||||||
t.prototype = Object.create(e && e.prototype, {
|
t.prototype = Object.create(e && e.prototype, {
|
||||||
constructor: {
|
constructor: {
|
||||||
@ -828,21 +828,21 @@
|
|||||||
}), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e)
|
}), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e)
|
||||||
}(v, s.a), p(v, [{
|
}(v, s.a), p(v, [{
|
||||||
key: "resolveOptions",
|
key: "resolveOptions",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
var e = 0 < arguments.length && void 0 !== t ? t : {};
|
||||||
this.action = "function" == typeof e.action ? e.action : this.defaultAction, this.target = "function" == typeof e.target ? e.target : this.defaultTarget, this.text = "function" == typeof e.text ? e.text : this.defaultText, this.container = "object" === h(e.container) ? e.container : document.body
|
this.action = "function" == typeof e.action ? e.action : this.defaultAction, this.target = "function" == typeof e.target ? e.target : this.defaultTarget, this.text = "function" == typeof e.text ? e.text : this.defaultText, this.container = "object" === h(e.container) ? e.container : document.body
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "listenClick",
|
key: "listenClick",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = this;
|
var e = this;
|
||||||
this.listener = d()(t, "click", function(t) {
|
this.listener = d()(t, "click", function (t) {
|
||||||
return e.onClick(t)
|
return e.onClick(t)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "onClick",
|
key: "onClick",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = t.delegateTarget || t.currentTarget;
|
var e = t.delegateTarget || t.currentTarget;
|
||||||
this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new l({
|
this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new l({
|
||||||
action: this.action(e),
|
action: this.action(e),
|
||||||
@ -855,42 +855,42 @@
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "defaultAction",
|
key: "defaultAction",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
return b("action", t)
|
return b("action", t)
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "defaultTarget",
|
key: "defaultTarget",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = b("target", t);
|
var e = b("target", t);
|
||||||
if (e) return document.querySelector(e)
|
if (e) return document.querySelector(e)
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "defaultText",
|
key: "defaultText",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
return b("text", t)
|
return b("text", t)
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "destroy",
|
key: "destroy",
|
||||||
value: function() {
|
value: function () {
|
||||||
this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null)
|
this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null)
|
||||||
}
|
}
|
||||||
}], [{
|
}], [{
|
||||||
key: "isSupported",
|
key: "isSupported",
|
||||||
value: function(t) {
|
value: function (t) {
|
||||||
var e = 0 < arguments.length && void 0 !== t ? t : ["copy", "cut"],
|
var e = 0 < arguments.length && void 0 !== t ? t : ["copy", "cut"],
|
||||||
n = "string" == typeof e ? [e] : e,
|
n = "string" == typeof e ? [e] : e,
|
||||||
o = !!document.queryCommandSupported;
|
o = !!document.queryCommandSupported;
|
||||||
return n.forEach(function(t) {
|
return n.forEach(function (t) {
|
||||||
o = o && !!document.queryCommandSupported(t)
|
o = o && !!document.queryCommandSupported(t)
|
||||||
}), o
|
}), o
|
||||||
}
|
}
|
||||||
}]), v);
|
}]), v);
|
||||||
|
|
||||||
function v(t, e) {
|
function v(t, e) {
|
||||||
! function(t, e) {
|
! function (t, e) {
|
||||||
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
|
||||||
}(this, v);
|
}(this, v);
|
||||||
var n = function(t, e) {
|
var n = function (t, e) {
|
||||||
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||||
return !e || "object" != typeof e && "function" != typeof e ? t : e
|
return !e || "object" != typeof e && "function" != typeof e ? t : e
|
||||||
}(this, (v.__proto__ || Object.getPrototypeOf(v)).call(this));
|
}(this, (v.__proto__ || Object.getPrototypeOf(v)).call(this));
|
||||||
@ -902,37 +902,37 @@
|
|||||||
if (e.hasAttribute(n)) return e.getAttribute(n)
|
if (e.hasAttribute(n)) return e.getAttribute(n)
|
||||||
}
|
}
|
||||||
e.default = m
|
e.default = m
|
||||||
}], r.c = o, r.d = function(t, e, n) {
|
}], r.c = o, r.d = function (t, e, n) {
|
||||||
r.o(t, e) || Object.defineProperty(t, e, {
|
r.o(t, e) || Object.defineProperty(t, e, {
|
||||||
enumerable: !0,
|
enumerable: !0,
|
||||||
get: n
|
get: n
|
||||||
})
|
})
|
||||||
}, r.r = function(t) {
|
}, r.r = function (t) {
|
||||||
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
|
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
|
||||||
value: "Module"
|
value: "Module"
|
||||||
}), Object.defineProperty(t, "__esModule", {
|
}), Object.defineProperty(t, "__esModule", {
|
||||||
value: !0
|
value: !0
|
||||||
})
|
})
|
||||||
}, r.t = function(e, t) {
|
}, r.t = function (e, t) {
|
||||||
if (1 & t && (e = r(e)), 8 & t) return e;
|
if (1 & t && (e = r(e)), 8 & t) return e;
|
||||||
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
|
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
|
||||||
var n = Object.create(null);
|
var n = Object.create(null);
|
||||||
if (r.r(n), Object.defineProperty(n, "default", {
|
if (r.r(n), Object.defineProperty(n, "default", {
|
||||||
enumerable: !0,
|
enumerable: !0,
|
||||||
value: e
|
value: e
|
||||||
}), 2 & t && "string" != typeof e)
|
}), 2 & t && "string" != typeof e)
|
||||||
for (var o in e) r.d(n, o, function(t) {
|
for (var o in e) r.d(n, o, function (t) {
|
||||||
return e[t]
|
return e[t]
|
||||||
}.bind(null, o));
|
}.bind(null, o));
|
||||||
return n
|
return n
|
||||||
}, r.n = function(t) {
|
}, r.n = function (t) {
|
||||||
var e = t && t.__esModule ? function() {
|
var e = t && t.__esModule ? function () {
|
||||||
return t.default
|
return t.default
|
||||||
} : function() {
|
} : function () {
|
||||||
return t
|
return t
|
||||||
};
|
};
|
||||||
return r.d(e, "a", e), e
|
return r.d(e, "a", e), e
|
||||||
}, r.o = function(t, e) {
|
}, r.o = function (t, e) {
|
||||||
return Object.prototype.hasOwnProperty.call(t, e)
|
return Object.prototype.hasOwnProperty.call(t, e)
|
||||||
}, r.p = "", r(r.s = 6).default;
|
}, r.p = "", r(r.s = 6).default;
|
||||||
|
|
||||||
@ -947,18 +947,18 @@
|
|||||||
}
|
}
|
||||||
var n, o
|
var n, o
|
||||||
});
|
});
|
||||||
eval(function(p, a, c, k, e, d) {
|
eval(function (p, a, c, k, e, d) {
|
||||||
e = function(c) {
|
e = function (c) {
|
||||||
return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
|
return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
|
||||||
};
|
};
|
||||||
if (!''.replace(/^/, String)) {
|
if (!''.replace(/^/, String)) {
|
||||||
while (c--) {
|
while (c--) {
|
||||||
d[e(c)] = k[c] || e(c)
|
d[e(c)] = k[c] || e(c)
|
||||||
}
|
}
|
||||||
k = [function(e) {
|
k = [function (e) {
|
||||||
return d[e]
|
return d[e]
|
||||||
}];
|
}];
|
||||||
e = function() {
|
e = function () {
|
||||||
return '\\w+'
|
return '\\w+'
|
||||||
};
|
};
|
||||||
c = 1
|
c = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user