Files
kami_jd_ck/babel_channel/js/all.js
2025-04-13 19:17:51 +08:00

6334 lines
320 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const obj = {
"/I9g": function (t, e) {
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAADMzMzNzc3Nzc3Nzc3MzMzMzMzPz8/Ozs7Nzc2Z5bCdAAAACnRSTlMA/lXB0M9LSiopP4KJtgAAAH5JREFUOMtjGAWkgslhMFapBYqEoaAChMEkKIwiESgoBGEoCoqgSBQKCipANAiKwQWhAkJgDSAFcAATgcljaIFJY2qByGLRAtWAqQWqAVMLVAOmFoQGwhIIowhZTti5CA8SDBLMQCQu2BNxRZQjWtQSTgyTw2GsEguGUUAiAAAoUA/JvBWTsAAAAABJRU5ErkJggg=="
},
0: function (t, e) {
},
"2KIr": function (t, e) {
},
"2OQq": function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("shL7")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("CZPm");
var s = function (t) {
n("ut0z")
}
, c = n("VU/8")(r.a, a.a, !1, s, "data-v-1ad95142", null);
e.default = c.exports
},
"4d5l": function (t, e, n) {
"use strict";
(function (t) {
var i, r, o, a, s = _(n("HSQo")), c = _(n("jJmG")), u = _(n("K6ED")), l = _(n("8hRR")),
d = _(n("fZjL")), h = _(n("a1FJ")), f = _(n("5QVw")), p = _(n("C4MV")), g = _(n("kiBT")),
m = _(n("OvRC")), v = _(n("pFYg"));
function _(t) {
return t && t.__esModule ? t : {
default: t
}
}
a = function () {
var t = {
77: function (t, e) {
(function () {
function e(t, e, n) {
null != t && ("number" == typeof t ? this.fromNumber(t, e, n) : null == e && "string" != typeof t ? this.fromString(t, 256) : this.fromString(t, e))
}
function n() {
return new e(null)
}
var i = (i = "undefined" != typeof navigator) && "Microsoft Internet Explorer" == navigator.appName ? (e.prototype.am = function (t, e, n, i, r, o) {
for (var a = 32767 & e, s = e >> 15; 0 <= --o;) {
var c = 32767 & this[t]
, u = this[t++] >> 15
, l = s * c + u * a;
r = ((c = a * c + ((32767 & l) << 15) + n[i] + (1073741823 & r)) >>> 30) + (l >>> 15) + s * u + (r >>> 30),
n[i++] = 1073741823 & c
}
return r
}
,
30) : i && "Netscape" != navigator.appName ? (e.prototype.am = function (t, e, n, i, r, o) {
for (; 0 <= --o;) {
var a = e * this[t++] + n[i] + r;
r = Math.floor(a / 67108864),
n[i++] = 67108863 & a
}
return r
}
,
26) : (e.prototype.am = function (t, e, n, i, r, o) {
for (var a = 16383 & e, s = e >> 14; 0 <= --o;) {
var c = 16383 & this[t]
, u = this[t++] >> 14
, l = s * c + u * a;
r = ((c = a * c + ((16383 & l) << 14) + n[i] + r) >> 28) + (l >> 14) + s * u,
n[i++] = 268435455 & c
}
return r
}
,
28);
e.prototype.DB = i,
e.prototype.DM = (1 << i) - 1,
e.prototype.DV = 1 << i,
e.prototype.FV = Math.pow(2, 52),
e.prototype.F1 = 52 - i,
e.prototype.F2 = 2 * i - 52;
for (var r = new Array, o = "0".charCodeAt(0), a = 0; a <= 9; ++a)
r[o++] = a;
for (o = "a".charCodeAt(0),
a = 10; a < 36; ++a)
r[o++] = a;
for (o = "A".charCodeAt(0),
a = 10; a < 36; ++a)
r[o++] = a;
function s(t) {
return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)
}
function c(t, e) {
return null == (e = r[t.charCodeAt(e)]) ? -1 : e
}
function u(t) {
var e = n();
return e.fromInt(t),
e
}
function l(t) {
var e, n = 1;
return 0 != (e = t >>> 16) && (t = e,
n += 16),
0 != (e = t >> 8) && (t = e,
n += 8),
0 != (e = t >> 4) && (t = e,
n += 4),
0 != (e = t >> 2) && (t = e,
n += 2),
0 != (e = t >> 1) && (t = e,
n += 1),
n
}
function d(t) {
this.m = t
}
function h(t) {
this.m = t,
this.mp = t.invDigit(),
this.mpl = 32767 & this.mp,
this.mph = this.mp >> 15,
this.um = (1 << t.DB - 15) - 1,
this.mt2 = 2 * t.t
}
function f(t, e) {
return t & e
}
function p(t, e) {
return t | e
}
function g(t, e) {
return t ^ e
}
function m(t, e) {
return t & ~e
}
function v() {
}
function _(t) {
return t
}
function y(t) {
this.r2 = n(),
this.q3 = n(),
e.ONE.dlShiftTo(2 * t.t, this.r2),
this.mu = this.r2.divide(t),
this.m = t
}
d.prototype.convert = function (t) {
return t.s < 0 || 0 <= t.compareTo(this.m) ? t.mod(this.m) : t
}
,
d.prototype.revert = function (t) {
return t
}
,
d.prototype.reduce = function (t) {
t.divRemTo(this.m, null, t)
}
,
d.prototype.mulTo = function (t, e, n) {
t.multiplyTo(e, n),
this.reduce(n)
}
,
d.prototype.sqrTo = function (t, e) {
t.squareTo(e),
this.reduce(e)
}
,
h.prototype.convert = function (t) {
var i = n();
return t.abs().dlShiftTo(this.m.t, i),
i.divRemTo(this.m, null, i),
t.s < 0 && 0 < i.compareTo(e.ZERO) && this.m.subTo(i, i),
i
}
,
h.prototype.revert = function (t) {
var e = n();
return t.copyTo(e),
this.reduce(e),
e
}
,
h.prototype.reduce = function (t) {
for (; t.t <= this.mt2;)
t[t.t++] = 0;
for (var e = 0; e < this.m.t; ++e) {
var n = 32767 & t[e]
,
i = n * this.mpl + ((n * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
for (t[n = e + this.m.t] += this.m.am(0, i, t, e, 0, this.m.t); t[n] >= t.DV;)
t[n] -= t.DV,
t[++n]++
}
t.clamp(),
t.drShiftTo(this.m.t, t),
0 <= t.compareTo(this.m) && t.subTo(this.m, t)
}
,
h.prototype.mulTo = function (t, e, n) {
t.multiplyTo(e, n),
this.reduce(n)
}
,
h.prototype.sqrTo = function (t, e) {
t.squareTo(e),
this.reduce(e)
}
,
e.prototype.copyTo = function (t) {
for (var e = this.t - 1; 0 <= e; --e)
t[e] = this[e];
t.t = this.t,
t.s = this.s
}
,
e.prototype.fromInt = function (t) {
this.t = 1,
this.s = t < 0 ? -1 : 0,
0 < t ? this[0] = t : t < -1 ? this[0] = t + this.DV : this.t = 0
}
,
e.prototype.fromString = function (t, n) {
var i;
if (16 == n)
i = 4;
else if (8 == n)
i = 3;
else if (256 == n)
i = 8;
else if (2 == n)
i = 1;
else if (32 == n)
i = 5;
else {
if (4 != n)
return void this.fromRadix(t, n);
i = 2
}
this.t = 0,
this.s = 0;
for (var r = t.length, o = !1, a = 0; 0 <= --r;) {
var s = 8 == i ? 255 & t[r] : c(t, r);
s < 0 ? "-" == t.charAt(r) && (o = !0) : (o = !1,
0 == a ? this[this.t++] = s : a + i > this.DB ? (this[this.t - 1] |= (s & (1 << this.DB - a) - 1) << a,
this[this.t++] = s >> this.DB - a) : this[this.t - 1] |= s << a,
(a += i) >= this.DB && (a -= this.DB))
}
8 == i && 0 != (128 & t[0]) && (this.s = -1,
0 < a && (this[this.t - 1] |= (1 << this.DB - a) - 1 << a)),
this.clamp(),
o && e.ZERO.subTo(this, this)
}
,
e.prototype.clamp = function () {
for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;)
--this.t
}
,
e.prototype.dlShiftTo = function (t, e) {
for (var n = this.t - 1; 0 <= n; --n)
e[n + t] = this[n];
for (n = t - 1; 0 <= n; --n)
e[n] = 0;
e.t = this.t + t,
e.s = this.s
}
,
e.prototype.drShiftTo = function (t, e) {
for (var n = t; n < this.t; ++n)
e[n - t] = this[n];
e.t = Math.max(this.t - t, 0),
e.s = this.s
}
,
e.prototype.lShiftTo = function (t, e) {
for (var n = t % this.DB, i = this.DB - n, r = (1 << i) - 1, o = Math.floor(t / this.DB), a = this.s << n & this.DM, s = this.t - 1; 0 <= s; --s)
e[s + o + 1] = this[s] >> i | a,
a = (this[s] & r) << n;
for (s = o - 1; 0 <= s; --s)
e[s] = 0;
e[o] = a,
e.t = this.t + o + 1,
e.s = this.s,
e.clamp()
}
,
e.prototype.rShiftTo = function (t, e) {
e.s = this.s;
var n = Math.floor(t / this.DB);
if (n >= this.t)
e.t = 0;
else {
var i = t % this.DB
, r = this.DB - i
, o = (1 << i) - 1;
e[0] = this[n] >> i;
for (var a = n + 1; a < this.t; ++a)
e[a - n - 1] |= (this[a] & o) << r,
e[a - n] = this[a] >> i;
0 < i && (e[this.t - n - 1] |= (this.s & o) << r),
e.t = this.t - n,
e.clamp()
}
}
,
e.prototype.subTo = function (t, e) {
for (var n = 0, i = 0, r = Math.min(t.t, this.t); n < r;)
i += this[n] - t[n],
e[n++] = i & this.DM,
i >>= this.DB;
if (t.t < this.t) {
for (i -= t.s; n < this.t;)
i += this[n],
e[n++] = i & this.DM,
i >>= this.DB;
i += this.s
} else {
for (i += this.s; n < t.t;)
i -= t[n],
e[n++] = i & this.DM,
i >>= this.DB;
i -= t.s
}
e.s = i < 0 ? -1 : 0,
i < -1 ? e[n++] = this.DV + i : 0 < i && (e[n++] = i),
e.t = n,
e.clamp()
}
,
e.prototype.multiplyTo = function (t, n) {
var i = this.abs()
, r = t.abs()
, o = i.t;
for (n.t = o + r.t; 0 <= --o;)
n[o] = 0;
for (o = 0; o < r.t; ++o)
n[o + i.t] = i.am(0, r[o], n, o, 0, i.t);
n.s = 0,
n.clamp(),
this.s != t.s && e.ZERO.subTo(n, n)
}
,
e.prototype.squareTo = function (t) {
for (var e = this.abs(), n = t.t = 2 * e.t; 0 <= --n;)
t[n] = 0;
for (n = 0; n < e.t - 1; ++n) {
var i = e.am(n, e[n], t, 2 * n, 0, 1);
(t[n + e.t] += e.am(n + 1, 2 * e[n], t, 2 * n + 1, i, e.t - n - 1)) >= e.DV && (t[n + e.t] -= e.DV,
t[n + e.t + 1] = 1)
}
0 < t.t && (t[t.t - 1] += e.am(n, e[n], t, 2 * n, 0, 1)),
t.s = 0,
t.clamp()
}
,
e.prototype.divRemTo = function (t, i, r) {
var o = t.abs();
if (!(o.t <= 0)) {
if ((h = this.abs()).t < o.t)
return null != i && i.fromInt(0),
void (null != r && this.copyTo(r));
null == r && (r = n());
var a = n()
, s = this.s
, c = t.s;
0 < (t = this.DB - l(o[o.t - 1])) ? (o.lShiftTo(t, a),
h.lShiftTo(t, r)) : (o.copyTo(a),
h.copyTo(r));
var u = a.t
, d = a[u - 1];
if (0 != d) {
var h = d * (1 << this.F1) + (1 < u ? a[u - 2] >> this.F2 : 0)
, f = this.FV / h
, p = (1 << this.F1) / h
, g = 1 << this.F2
, m = r.t
, v = m - u
, _ = null == i ? n() : i;
for (a.dlShiftTo(v, _),
0 <= r.compareTo(_) && (r[r.t++] = 1,
r.subTo(_, r)),
e.ONE.dlShiftTo(u, _),
_.subTo(a, a); a.t < u;)
a[a.t++] = 0;
for (; 0 <= --v;) {
var y = r[--m] == d ? this.DM : Math.floor(r[m] * f + (r[m - 1] + g) * p);
if ((r[m] += a.am(0, y, r, v, 0, u)) < y)
for (a.dlShiftTo(v, _),
r.subTo(_, r); r[m] < --y;)
r.subTo(_, r)
}
null != i && (r.drShiftTo(u, i),
s != c && e.ZERO.subTo(i, i)),
r.t = u,
r.clamp(),
0 < t && r.rShiftTo(t, r),
s < 0 && e.ZERO.subTo(r, r)
}
}
}
,
e.prototype.invDigit = function () {
if (this.t < 1)
return 0;
var t = this[0];
if (0 == (1 & t))
return 0;
var e = 3 & t;
return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e
}
,
e.prototype.isEven = function () {
return 0 == (0 < this.t ? 1 & this[0] : this.s)
}
,
e.prototype.exp = function (t, i) {
if (4294967295 < t || t < 1)
return e.ONE;
var r, o = n(), a = n(), s = i.convert(this), c = l(t) - 1;
for (s.copyTo(o); 0 <= --c;)
i.sqrTo(o, a),
0 < (t & 1 << c) ? i.mulTo(a, s, o) : (r = o,
o = a,
a = r);
return i.revert(o)
}
,
e.prototype.toString = function (t) {
if (this.s < 0)
return "-" + this.negate().toString(t);
var e;
if (16 == t)
e = 4;
else if (8 == t)
e = 3;
else if (2 == t)
e = 1;
else if (32 == t)
e = 5;
else {
if (4 != t)
return this.toRadix(t);
e = 2
}
var n, i = (1 << e) - 1, r = !1, o = "", a = this.t,
c = this.DB - a * this.DB % e;
if (0 < a--)
for (c < this.DB && 0 < (n = this[a] >> c) && (r = !0,
o = s(n)); 0 <= a;)
c < e ? (n = (this[a] & (1 << c) - 1) << e - c,
n |= this[--a] >> (c += this.DB - e)) : (n = this[a] >> (c -= e) & i,
c <= 0 && (c += this.DB,
--a)),
(r = 0 < n || r) && (o += s(n));
return r ? o : "0"
}
,
e.prototype.negate = function () {
var t = n();
return e.ZERO.subTo(this, t),
t
}
,
e.prototype.abs = function () {
return this.s < 0 ? this.negate() : this
}
,
e.prototype.compareTo = function (t) {
var e = this.s - t.s;
if (0 != e)
return e;
var n = this.t;
if (0 != (e = n - t.t))
return this.s < 0 ? -e : e;
for (; 0 <= --n;)
if (0 != (e = this[n] - t[n]))
return e;
return 0
}
,
e.prototype.bitLength = function () {
return this.t <= 0 ? 0 : this.DB * (this.t - 1) + l(this[this.t - 1] ^ this.s & this.DM)
}
,
e.prototype.mod = function (t) {
var i = n();
return this.abs().divRemTo(t, null, i),
this.s < 0 && 0 < i.compareTo(e.ZERO) && t.subTo(i, i),
i
}
,
e.prototype.modPowInt = function (t, e) {
return e = new (t < 256 || e.isEven() ? d : h)(e),
this.exp(t, e)
}
,
e.ZERO = u(0),
e.ONE = u(1),
v.prototype.convert = _,
v.prototype.revert = _,
v.prototype.mulTo = function (t, e, n) {
t.multiplyTo(e, n)
}
,
v.prototype.sqrTo = function (t, e) {
t.squareTo(e)
}
,
y.prototype.convert = function (t) {
if (t.s < 0 || t.t > 2 * this.m.t)
return t.mod(this.m);
if (t.compareTo(this.m) < 0)
return t;
var e = n();
return t.copyTo(e),
this.reduce(e),
e
}
,
y.prototype.revert = function (t) {
return t
}
,
y.prototype.reduce = function (t) {
for (t.drShiftTo(this.m.t - 1, this.r2),
t.t > this.m.t + 1 && (t.t = this.m.t + 1,
t.clamp()),
this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3),
this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); t.compareTo(this.r2) < 0;)
t.dAddOffset(1, this.m.t + 1);
for (t.subTo(this.r2, t); 0 <= t.compareTo(this.m);)
t.subTo(this.m, t)
}
,
y.prototype.mulTo = function (t, e, n) {
t.multiplyTo(e, n),
this.reduce(n)
}
,
y.prototype.sqrTo = function (t, e) {
t.squareTo(e),
this.reduce(e)
}
;
var b,
w = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997],
k = (1 << 26) / w[w.length - 1];
function x() {
var t;
t = (new Date).getTime(),
A[T++] ^= 255 & t,
A[T++] ^= t >> 8 & 255,
A[T++] ^= t >> 16 & 255,
A[T++] ^= t >> 24 & 255,
F <= T && (T -= F)
}
e.prototype.chunkSize = function (t) {
return Math.floor(Math.LN2 * this.DB / Math.log(t))
}
,
e.prototype.toRadix = function (t) {
if (null == t && (t = 10),
0 == this.signum() || t < 2 || 36 < t)
return "0";
var e = this.chunkSize(t)
, i = Math.pow(t, e)
, r = u(i)
, o = n()
, a = n()
, s = "";
for (this.divRemTo(r, o, a); 0 < o.signum();)
s = (i + a.intValue()).toString(t).substr(1) + s,
o.divRemTo(r, o, a);
return a.intValue().toString(t) + s
}
,
e.prototype.fromRadix = function (t, n) {
this.fromInt(0);
for (var i = this.chunkSize(n = null == n ? 10 : n), r = Math.pow(n, i), o = !1, a = 0, s = 0, u = 0; u < t.length; ++u) {
var l = c(t, u);
l < 0 ? "-" == t.charAt(u) && 0 == this.signum() && (o = !0) : (s = n * s + l,
++a >= i && (this.dMultiply(r),
this.dAddOffset(s, 0),
s = a = 0))
}
0 < a && (this.dMultiply(Math.pow(n, a)),
this.dAddOffset(s, 0)),
o && e.ZERO.subTo(this, this)
}
,
e.prototype.fromNumber = function (t, n, i) {
if ("number" == typeof n)
if (t < 2)
this.fromInt(1);
else
for (this.fromNumber(t, i),
this.testBit(t - 1) || this.bitwiseTo(e.ONE.shiftLeft(t - 1), p, this),
this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(n);)
this.dAddOffset(2, 0),
this.bitLength() > t && this.subTo(e.ONE.shiftLeft(t - 1), this);
else {
var r = new Array;
i = 7 & t,
r.length = 1 + (t >> 3),
n.nextBytes(r),
0 < i ? r[0] &= (1 << i) - 1 : r[0] = 0,
this.fromString(r, 256)
}
}
,
e.prototype.bitwiseTo = function (t, e, n) {
for (var i, r = Math.min(t.t, this.t), o = 0; o < r; ++o)
n[o] = e(this[o], t[o]);
if (t.t < this.t) {
for (i = t.s & this.DM,
o = r; o < this.t; ++o)
n[o] = e(this[o], i);
n.t = this.t
} else {
for (i = this.s & this.DM,
o = r; o < t.t; ++o)
n[o] = e(i, t[o]);
n.t = t.t
}
n.s = e(this.s, t.s),
n.clamp()
}
,
e.prototype.changeBit = function (t, n) {
return t = e.ONE.shiftLeft(t),
this.bitwiseTo(t, n, t),
t
}
,
e.prototype.addTo = function (t, e) {
for (var n = 0, i = 0, r = Math.min(t.t, this.t); n < r;)
i += this[n] + t[n],
e[n++] = i & this.DM,
i >>= this.DB;
if (t.t < this.t) {
for (i += t.s; n < this.t;)
i += this[n],
e[n++] = i & this.DM,
i >>= this.DB;
i += this.s
} else {
for (i += this.s; n < t.t;)
i += t[n],
e[n++] = i & this.DM,
i >>= this.DB;
i += t.s
}
e.s = i < 0 ? -1 : 0,
0 < i ? e[n++] = i : i < -1 && (e[n++] = this.DV + i),
e.t = n,
e.clamp()
}
,
e.prototype.dMultiply = function (t) {
this[this.t] = this.am(0, t - 1, this, 0, 0, this.t),
++this.t,
this.clamp()
}
,
e.prototype.dAddOffset = function (t, e) {
if (0 != t) {
for (; this.t <= e;)
this[this.t++] = 0;
for (this[e] += t; this[e] >= this.DV;)
this[e] -= this.DV,
++e >= this.t && (this[this.t++] = 0),
++this[e]
}
}
,
e.prototype.multiplyLowerTo = function (t, e, n) {
var i, r = Math.min(this.t + t.t, e);
for (n.s = 0,
n.t = r; 0 < r;)
n[--r] = 0;
for (i = n.t - this.t; r < i; ++r)
n[r + this.t] = this.am(0, t[r], n, r, 0, this.t);
for (i = Math.min(t.t, e); r < i; ++r)
this.am(0, t[r], n, r, 0, e - r);
n.clamp()
}
,
e.prototype.multiplyUpperTo = function (t, e, n) {
var i = n.t = this.t + t.t - --e;
for (n.s = 0; 0 <= --i;)
n[i] = 0;
for (i = Math.max(e - this.t, 0); i < t.t; ++i)
n[this.t + i - e] = this.am(e - i, t[i], n, 0, 0, this.t + i - e);
n.clamp(),
n.drShiftTo(1, n)
}
,
e.prototype.modInt = function (t) {
if (t <= 0)
return 0;
var e = this.DV % t
, n = this.s < 0 ? t - 1 : 0;
if (0 < this.t)
if (0 == e)
n = this[0] % t;
else
for (var i = this.t - 1; 0 <= i; --i)
n = (e * n + this[i]) % t;
return n
}
,
e.prototype.millerRabin = function (t) {
var i = this.subtract(e.ONE)
, r = i.getLowestSetBit();
if (r <= 0)
return !1;
var o = i.shiftRight(r);
w.length < (t = t + 1 >> 1) && (t = w.length);
for (var a = n(), s = 0; s < t; ++s) {
a.fromInt(w[Math.floor(Math.random() * w.length)]);
var c = a.modPow(o, this);
if (0 != c.compareTo(e.ONE) && 0 != c.compareTo(i)) {
for (var u = 1; u++ < r && 0 != c.compareTo(i);)
if (0 == (c = c.modPowInt(2, this)).compareTo(e.ONE))
return !1;
if (0 != c.compareTo(i))
return !1
}
}
return !0
}
,
e.prototype.clone = function () {
var t = n();
return this.copyTo(t),
t
}
,
e.prototype.intValue = function () {
if (this.s < 0) {
if (1 == this.t)
return this[0] - this.DV;
if (0 == this.t)
return -1
} else {
if (1 == this.t)
return this[0];
if (0 == this.t)
return 0
}
return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0]
}
,
e.prototype.byteValue = function () {
return 0 == this.t ? this.s : this[0] << 24 >> 24
}
,
e.prototype.shortValue = function () {
return 0 == this.t ? this.s : this[0] << 16 >> 16
}
,
e.prototype.signum = function () {
return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1
}
,
e.prototype.toByteArray = function () {
var t = this.t
, e = new Array;
e[0] = this.s;
var n, i = this.DB - t * this.DB % 8, r = 0;
if (0 < t--)
for (i < this.DB && (n = this[t] >> i) != (this.s & this.DM) >> i && (e[r++] = n | this.s << this.DB - i); 0 <= t;)
i < 8 ? (n = (this[t] & (1 << i) - 1) << 8 - i,
n |= this[--t] >> (i += this.DB - 8)) : (n = this[t] >> (i -= 8) & 255,
i <= 0 && (i += this.DB,
--t)),
0 != (128 & n) && (n |= -256),
0 == r && (128 & this.s) != (128 & n) && ++r,
(0 < r || n != this.s) && (e[r++] = n);
return e
}
,
e.prototype.equals = function (t) {
return 0 == this.compareTo(t)
}
,
e.prototype.min = function (t) {
return this.compareTo(t) < 0 ? this : t
}
,
e.prototype.max = function (t) {
return 0 < this.compareTo(t) ? this : t
}
,
e.prototype.and = function (t) {
var e = n();
return this.bitwiseTo(t, f, e),
e
}
,
e.prototype.or = function (t) {
var e = n();
return this.bitwiseTo(t, p, e),
e
}
,
e.prototype.xor = function (t) {
var e = n();
return this.bitwiseTo(t, g, e),
e
}
,
e.prototype.andNot = function (t) {
var e = n();
return this.bitwiseTo(t, m, e),
e
}
,
e.prototype.not = function () {
for (var t = n(), e = 0; e < this.t; ++e)
t[e] = this.DM & ~this[e];
return t.t = this.t,
t.s = ~this.s,
t
}
,
e.prototype.shiftLeft = function (t) {
var e = n();
return t < 0 ? this.rShiftTo(-t, e) : this.lShiftTo(t, e),
e
}
,
e.prototype.shiftRight = function (t) {
var e = n();
return t < 0 ? this.lShiftTo(-t, e) : this.rShiftTo(t, e),
e
}
,
e.prototype.getLowestSetBit = function () {
for (var t = 0; t < this.t; ++t)
if (0 != this[t])
return t * this.DB + function (t) {
if (0 == t)
return -1;
var e = 0;
return 0 == (65535 & t) && (t >>= 16,
e += 16),
0 == (255 & t) && (t >>= 8,
e += 8),
0 == (15 & t) && (t >>= 4,
e += 4),
0 == (3 & t) && (t >>= 2,
e += 2),
0 == (1 & t) && ++e,
e
}(this[t]);
return this.s < 0 ? this.t * this.DB : -1
}
,
e.prototype.bitCount = function () {
for (var t = 0, e = this.s & this.DM, n = 0; n < this.t; ++n)
t += function (t) {
for (var e = 0; 0 != t;)
t &= t - 1,
++e;
return e
}(this[n] ^ e);
return t
}
,
e.prototype.testBit = function (t) {
var e = Math.floor(t / this.DB);
return e >= this.t ? 0 != this.s : 0 != (this[e] & 1 << t % this.DB)
}
,
e.prototype.setBit = function (t) {
return this.changeBit(t, p)
}
,
e.prototype.clearBit = function (t) {
return this.changeBit(t, m)
}
,
e.prototype.flipBit = function (t) {
return this.changeBit(t, g)
}
,
e.prototype.add = function (t) {
var e = n();
return this.addTo(t, e),
e
}
,
e.prototype.subtract = function (t) {
var e = n();
return this.subTo(t, e),
e
}
,
e.prototype.multiply = function (t) {
var e = n();
return this.multiplyTo(t, e),
e
}
,
e.prototype.divide = function (t) {
var e = n();
return this.divRemTo(t, e, null),
e
}
,
e.prototype.remainder = function (t) {
var e = n();
return this.divRemTo(t, null, e),
e
}
,
e.prototype.divideAndRemainder = function (t) {
var e = n()
, i = n();
return this.divRemTo(t, e, i),
new Array(e, i)
}
,
e.prototype.modPow = function (t, e) {
var i = t.bitLength()
, r = u(1);
if (i <= 0)
return r;
var o = i < 18 ? 1 : i < 48 ? 3 : i < 144 ? 4 : i < 768 ? 5 : 6
, a = new (i < 8 ? d : e.isEven() ? y : h)(e)
, s = new Array
, c = 3
, f = o - 1
, p = (1 << o) - 1;
if (s[1] = a.convert(this),
1 < o) {
var g = n();
for (a.sqrTo(s[1], g); c <= p;)
s[c] = n(),
a.mulTo(g, s[c - 2], s[c]),
c += 2
}
var m, v, _ = t.t - 1, b = !0, w = n();
for (i = l(t[_]) - 1; 0 <= _;) {
for (f <= i ? m = t[_] >> i - f & p : (m = (t[_] & (1 << i + 1) - 1) << f - i,
0 < _ && (m |= t[_ - 1] >> this.DB + i - f)),
c = o; 0 == (1 & m);)
m >>= 1,
--c;
if ((i -= c) < 0 && (i += this.DB,
--_),
b)
s[m].copyTo(r),
b = !1;
else {
for (; 1 < c;)
a.sqrTo(r, w),
a.sqrTo(w, r),
c -= 2;
0 < c ? a.sqrTo(r, w) : (v = r,
r = w,
w = v),
a.mulTo(w, s[m], r)
}
for (; 0 <= _ && 0 == (t[_] & 1 << i);)
a.sqrTo(r, w),
v = r,
r = w,
w = v,
--i < 0 && (i = this.DB - 1,
--_)
}
return a.revert(r)
}
,
e.prototype.modInverse = function (t) {
var n = t.isEven();
if (this.isEven() && n || 0 == t.signum())
return e.ZERO;
for (var i = t.clone(), r = this.clone(), o = u(1), a = u(0), s = u(0), c = u(1); 0 != i.signum();) {
for (; i.isEven();)
i.rShiftTo(1, i),
n ? (o.isEven() && a.isEven() || (o.addTo(this, o),
a.subTo(t, a)),
o.rShiftTo(1, o)) : a.isEven() || a.subTo(t, a),
a.rShiftTo(1, a);
for (; r.isEven();)
r.rShiftTo(1, r),
n ? (s.isEven() && c.isEven() || (s.addTo(this, s),
c.subTo(t, c)),
s.rShiftTo(1, s)) : c.isEven() || c.subTo(t, c),
c.rShiftTo(1, c);
0 <= i.compareTo(r) ? (i.subTo(r, i),
n && o.subTo(s, o),
a.subTo(c, a)) : (r.subTo(i, r),
n && s.subTo(o, s),
c.subTo(a, c))
}
return 0 != r.compareTo(e.ONE) ? e.ZERO : 0 <= c.compareTo(t) ? c.subtract(t) : c.signum() < 0 ? (c.addTo(t, c),
c.signum() < 0 ? c.add(t) : c) : c
}
,
e.prototype.pow = function (t) {
return this.exp(t, new v)
}
,
e.prototype.gcd = function (t) {
var e = this.s < 0 ? this.negate() : this.clone()
, n = t.s < 0 ? t.negate() : t.clone();
e.compareTo(n) < 0 && (r = e,
e = n,
n = r);
var i = e.getLowestSetBit()
, r = n.getLowestSetBit();
if (r < 0)
return e;
for (0 < (r = i < r ? i : r) && (e.rShiftTo(r, e),
n.rShiftTo(r, n)); 0 < e.signum();)
0 < (i = e.getLowestSetBit()) && e.rShiftTo(i, e),
0 < (i = n.getLowestSetBit()) && n.rShiftTo(i, n),
0 <= e.compareTo(n) ? (e.subTo(n, e),
e.rShiftTo(1, e)) : (n.subTo(e, n),
n.rShiftTo(1, n));
return 0 < r && n.lShiftTo(r, n),
n
}
,
e.prototype.isProbablePrime = function (t) {
var e, n = this.abs();
if (1 == n.t && n[0] <= w[w.length - 1]) {
for (e = 0; e < w.length; ++e)
if (n[0] == w[e])
return !0;
return !1
}
if (n.isEven())
return !1;
for (e = 1; e < w.length;) {
for (var i = w[e], r = e + 1; r < w.length && i < k;)
i *= w[r++];
for (i = n.modInt(i); e < r;)
if (i % w[e++] == 0)
return !1
}
return n.millerRabin(t)
}
,
e.prototype.square = function () {
var t = n();
return this.squareTo(t),
t
}
,
e.prototype.Barrett = y;
var A = new Array
, T = 0;
if ("undefined" != typeof window && window.crypto)
if (window.crypto.getRandomValues) {
var S = new Uint8Array(32);
for (window.crypto.getRandomValues(S),
P = 0; P < 32; ++P)
A[T++] = S[P]
} else if ("Netscape" == navigator.appName && navigator.appVersion < "5")
for (var E = window.crypto.random(32), P = 0; P < E.length; ++P)
A[T++] = 255 & E.charCodeAt(P);
for (; T < F;)
P = Math.floor(65536 * Math.random()),
A[T++] = P >>> 8,
A[T++] = 255 & P;
function D() {
if (null == b) {
for (x(),
(b = new C).init(A),
T = 0; T < A.length; ++T)
A[T] = 0;
T = 0
}
return b.next()
}
function I() {
}
function C() {
this.i = 0,
this.j = 0,
this.S = new Array
}
T = 0,
x(),
I.prototype.nextBytes = function (t) {
for (var e = 0; e < t.length; ++e)
t[e] = D()
}
,
C.prototype.init = function (t) {
for (var e, n, i = 0; i < 256; ++i)
this.S[i] = i;
for (i = e = 0; i < 256; ++i)
e = e + this.S[i] + t[i % t.length] & 255,
n = this.S[i],
this.S[i] = this.S[e],
this.S[e] = n;
this.i = 0,
this.j = 0
}
,
C.prototype.next = function () {
var t;
return this.i = this.i + 1 & 255,
this.j = this.j + this.S[this.i] & 255,
t = this.S[this.i],
this.S[this.i] = this.S[this.j],
this.S[this.j] = t,
this.S[t + this.S[this.i] & 255]
}
;
var F = 256;
t.exports = {
default: e,
BigInteger: e,
SecureRandom: I
}
}
).call(this)
},
686: function (t, e, n) {
function i(t) {
if (o[t])
return o[t].exports;
var e = o[t] = {
i: t,
l: !1,
exports: {}
};
return r[t].call(e.exports, e, e.exports, i),
e.l = !0,
e.exports
}
var r, o;
t.exports = (o = {},
i.m = r = [function (t, e) {
t.exports = n(77)
}
, function (t, e, n) {
function i(t, e) {
for (var n = [], i = ~~(e / 8), r = e % 8, o = 0, a = t.length; o < a; o++)
n[o] = (t[(o + i) % a] << r & 255) + (t[(o + i + 1) % a] >>> 8 - r & 255);
return n
}
function r(t, e) {
for (var n = [], i = t.length - 1; 0 <= i; i--)
n[i] = 255 & (t[i] ^ e[i]);
return n
}
function o(t, e) {
for (var n = [], i = t.length - 1; 0 <= i; i--)
n[i] = t[i] & e[i] & 255;
return n
}
function a(t, e) {
for (var n = [], i = t.length - 1; 0 <= i; i--)
n[i] = 255 & (t[i] | e[i]);
return n
}
function s(t, e) {
for (var n = [], i = 0, r = t.length - 1; 0 <= r; r--) {
var o = t[r] + e[r] + i;
i = 255 < o ? 1 : 0,
n[r] = 255 & o
}
return n
}
function c(t, e, n, i) {
return 0 <= i && i <= 15 ? r(r(t, e), n) : a(o(t, e), o(function (t) {
for (var e = [], n = t.length - 1; 0 <= n; n--)
e[n] = 255 & ~t[n];
return e
}(t), n))
}
function u(t, e) {
for (var n = [], u = [], l = 0; l < 16; l++) {
var d = 4 * l;
n.push(e.slice(d, 4 + d))
}
for (var h, f = 16; f < 68; f++)
n.push(r(r(r(r(h = r(r(n[f - 16], n[f - 9]), i(n[f - 3], 15)), i(h, 15)), i(h, 23)), i(n[f - 13], 7)), n[f - 6]));
for (var p = 0; p < 64; p++)
u.push(r(n[p], n[p + 4]));
for (var g, m, v = [121, 204, 69, 25], _ = [122, 135, 157, 138], y = t.slice(0, 4), b = t.slice(4, 8), w = t.slice(8, 12), k = t.slice(12, 16), x = t.slice(16, 20), A = t.slice(20, 24), T = t.slice(24, 28), S = t.slice(28, 32), E = void 0, P = 0; P < 64; P++) {
var D = 0 <= P && P <= 15 ? v : _
, I = r(E = i(s(s(i(y, 12), x), i(D, P)), 7), i(y, 12))
, C = s(s(s((g = y,
m = b,
C = w,
0 <= (D = P) && D <= 15 ? r(r(g, m), C) : a(a(o(g, m), o(g, C)), o(m, C))), k), I), u[P]);
I = s(s(s(c(x, A, T, P), S), E), n[P]),
k = w,
w = i(b, 9),
b = y,
y = C,
S = T,
T = i(A, 19),
A = x,
x = r(r(I = I, i(I, 9)), i(I, 17))
}
return r([].concat(y, b, w, k, x, A, T, S), t)
}
t.exports = function (t) {
for (var e = 448 <= (e = (s = 8 * t.length) % 512) ? 512 - e % 448 - 1 : 448 - e - 1, n = new Array((e - 7) / 8), i = 0, r = n.length; i < r; i++)
n[i] = 0;
for (var o, a = [], s = s.toString(2), c = 7; 0 <= c; c--)
8 < s.length ? (o = s.length - 8,
a[c] = parseInt(s.substr(o), 2),
s = s.substr(0, o)) : 0 < s.length ? (a[c] = parseInt(s, 2),
s = "") : a[c] = 0;
for (var l = [].concat(t, [128], n, a), d = l.length / 64, h = [115, 128, 22, 111, 73, 20, 178, 185, 23, 36, 66, 215, 218, 138, 6, 0, 169, 111, 48, 188, 22, 49, 56, 170, 227, 141, 238, 77, 176, 251, 14, 78], f = 0; f < d; f++) {
var p = 64 * f;
h = u(h, l.slice(p, 64 + p))
}
return h
}
}
, function (t, e, n) {
t.exports = {
sm2: n(3),
sm3: n(7),
sm4: n(8)
}
}
, function (t, e, n) {
var i = n(0).BigInteger
, r = n(4)
, o = r.encodeDer
, a = r.decodeDer
, s = n(5)
, c = n(1)
, u = (n = s.generateEcparam()).G
, l = n.curve
, d = n.n;
function h(t, e, n) {
var i = s.utf8ToHex(i = 2 < arguments.length && void 0 !== n ? n : "1234567812345678")
, r = s.leftPad(u.curve.a.toBigInteger().toRadix(16), 64)
, o = s.leftPad(u.curve.b.toBigInteger().toRadix(16), 64)
, a = s.leftPad(u.getX().toBigInteger().toRadix(16), 64)
, l = s.leftPad(u.getY().toBigInteger().toRadix(16), 64);
return n = (e = 128 < e.length ? e.substr(2, 128) : e).substr(0, 64),
e = e.substr(64, 64),
e = s.hexToArray(i + r + o + a + l + n + e),
i = 4 * i.length,
e.unshift(255 & i),
e.unshift(i >> 8 & 255),
e = c(e),
s.arrayToHex(c(e.concat(s.hexToArray(t))))
}
function f() {
var t = s.generateKeyPairHex()
, e = l.decodePointHex(t.publicKey);
return t.k = new i(t.privateKey, 16),
t.x1 = e.getX().toBigInteger(),
t
}
t.exports = {
generateKeyPairHex: s.generateKeyPairHex,
doEncrypt: function (t, e) {
var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 1;
t = s.hexToArray(s.utf8ToHex(t)),
e = s.getGlobalCurve().decodePointHex(e);
var r = s.generateKeyPairHex()
, o = new i(r.privateKey, 16)
, a = r.publicKey;
function u() {
h = c([].concat(f, [l >> 24 & 255, l >> 16 & 255, l >> 8 & 255, 255 & l])),
l++,
d = 0
}
128 < a.length && (a = a.substr(a.length - 128)),
r = e.multiply(o),
e = s.hexToArray(s.leftPad(r.getX().toBigInteger().toRadix(16), 64)),
o = s.hexToArray(s.leftPad(r.getY().toBigInteger().toRadix(16), 64)),
r = s.arrayToHex(c([].concat(e, t, o)));
var l = 1
, d = 0
, h = []
, f = [].concat(e, o);
u();
for (var p = 0, g = t.length; p < g; p++)
d === h.length && u(),
t[p] ^= 255 & h[d++];
return o = s.arrayToHex(t),
0 === n ? a + o + r : a + r + o
},
doDecrypt: function (t, e) {
var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 1;
e = new i(e, 16);
var r = t.substr(128, 64)
, o = t.substr(192);
function a() {
h = c([].concat(f, [l >> 24 & 255, l >> 16 & 255, l >> 8 & 255, 255 & l])),
l++,
d = 0
}
0 === n && (r = t.substr(t.length - 64),
o = t.substr(128, t.length - 128 - 64));
var u = s.hexToArray(o)
,
l = (t = s.getGlobalCurve().decodePointHex("04" + t.substr(0, 128)).multiply(e),
e = s.hexToArray(s.leftPad(t.getX().toBigInteger().toRadix(16), 64)),
t = s.hexToArray(s.leftPad(t.getY().toBigInteger().toRadix(16), 64)),
1)
, d = 0
, h = []
, f = [].concat(e, t);
a();
for (var p = 0, g = u.length; p < g; p++)
d === h.length && a(),
u[p] ^= 255 & h[d++];
return s.arrayToHex(c([].concat(e, u, t))) === r ? s.arrayToUtf8(u) : ""
},
doSignature: function (t, e) {
var n = (l = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}).pointPool
, r = l.der
, a = l.hash
, c = l.publicKey
, l = l.userId;
t = "string" == typeof t ? s.utf8ToHex(t) : s.arrayToHex(t),
a && (t = h(t, c || (a = e,
c = u.multiply(new i(a, 16)),
"04" + (a = s.leftPad(c.getX().toBigInteger().toString(16), 64)) + (c = s.leftPad(c.getY().toBigInteger().toString(16), 64))), l));
var p = new i(e, 16)
, g = new i(t, 16)
, m = null
, v = null
, _ = null;
do {
do {
var y;
m = (y = n && n.length ? n.pop() : f()).k,
v = g.add(y.x1).mod(d)
} while (v.equals(i.ZERO) || v.add(m).equals(d))
} while ((_ = p.add(i.ONE).modInverse(d).multiply(m.subtract(v.multiply(p))).mod(d)).equals(i.ZERO));
return r ? o(v, _) : s.leftPad(v.toString(16), 64) + s.leftPad(_.toString(16), 64)
},
doVerifySignature: function (t, e, n) {
var r = (c = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : {}).der
, o = c.hash
, c = c.userId;
return t = "string" == typeof t ? s.utf8ToHex(t) : s.arrayToHex(t),
o && (t = h(t, n, c)),
o = void 0,
c = void 0,
c = r ? (o = (r = a(e)).r,
r.s) : (o = new i(e.substring(0, 64), 16),
new i(e.substring(64), 16)),
e = l.decodePointHex(n),
n = new i(t, 16),
!(t = o.add(c).mod(d)).equals(i.ZERO) && (t = u.multiply(c).add(e.multiply(t)),
t = n.add(t.getX().toBigInteger()).mod(d),
o.equals(t))
},
getPoint: f,
verifyPublicKey: s.verifyPublicKey
}
}
, function (t, e, n) {
function i(t, e) {
if (!t)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return !e || "object" != (void 0 === e ? "undefined" : (0,
v.default)(e)) && "function" != typeof e ? t : e
}
function r(t, e) {
if ("function" != typeof e && null !== e)
throw new TypeError("Super expression must either be null or a function, not " + (void 0 === e ? "undefined" : (0,
v.default)(e)));
t.prototype = (0,
m.default)(e && e.prototype, {
constructor: {
value: t,
enumerable: !1,
writable: !0,
configurable: !0
}
}),
e && (g.default ? (0,
g.default)(t, e) : t.__proto__ = e)
}
function o(t, e) {
if (!(t instanceof e))
throw new TypeError("Cannot call a class as a function")
}
var a = n(0).BigInteger;
function s() {
o(this, s),
this.tlv = null,
this.t = "00",
this.l = "00",
this.v = ""
}
s.prototype.getEncodedHex = function () {
return this.tlv || (this.v = this.getValue(),
this.l = this.getLength(),
this.tlv = this.t + this.l + this.v),
this.tlv
}
,
s.prototype.getLength = function () {
var t = this.v.length / 2
, e = t.toString(16);
return e.length % 2 == 1 && (e = "0" + e),
t < 128 ? e : (128 + e.length / 2).toString(16) + e
}
,
s.prototype.getValue = function () {
return ""
}
;
var c, u = (r(l, c = n = s),
l.prototype.getValue = function () {
return this.v
}
,
l);
function l(t) {
o(this, l);
var e = i(this, c.call(this));
return e.t = "02",
t && (e.v = function (t) {
if ("-" !== (e = t.toString(16))[0])
e.length % 2 == 1 ? e = "0" + e : e.match(/^[0-7]/) || (e = "00" + e);
else {
var e, n = (e = e.substr(1)).length;
n % 2 == 1 ? n += 1 : e.match(/^[0-7]/) || (n += 2);
for (var i = "", r = 0; r < n; r++)
i += "f";
e = (e = (i = new a(i, 16)).xor(t).add(a.ONE)).toString(16).replace(/^-/, "")
}
return e
}(t)),
e
}
var d, h = (r(f, d = n),
f.prototype.getValue = function () {
return this.v = this.asn1Array.map(function (t) {
return t.getEncodedHex()
}).join(""),
this.v
}
,
f);
function f(t) {
o(this, f);
var e = i(this, d.call(this));
return e.t = "30",
e.asn1Array = t,
e
}
function p(t, e) {
return +t[e + 2] < 8 ? 1 : 128 & +t.substr(e + 2, 2)
}
function _(t, e) {
var n = p(t, e);
return (n = t.substr(e + 2, 2 * n)) ? (+n[0] < 8 ? new a(n, 16) : new a(n.substr(2), 16)).intValue() : -1
}
function y(t, e) {
return e + 2 * (p(t, e) + 1)
}
t.exports = {
encodeDer: function (t, e) {
return t = new u(t),
e = new u(e),
new h([t, e]).getEncodedHex()
},
decodeDer: function (t) {
var e = y(t, 0)
, n = y(t, e)
, i = _(t, e);
return n = y(t, i = n + (e = t.substr(n, 2 * i)).length),
i = _(t, i),
i = t.substr(n, 2 * i),
{
r: new a(e, 16),
s: new a(i, 16)
}
}
}
}
, function (t, e, n) {
var i = (r = n(0)).BigInteger
, r = r.SecureRandom
, o = n(6).ECCurveFp
, a = new r
, s = (r = l()).curve
, c = r.G
, u = r.n;
function l() {
var t = new i("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF", 16)
,
e = new i("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC", 16)
,
n = new i("28E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E93", 16);
return n = (e = new o(t, e, n)).decodePointHex("0432C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0"),
{
curve: e,
G: n,
n: new i("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123", 16)
}
}
function d(t, e) {
return t.length >= e ? t : new Array(e - t.length + 1).join("0") + t
}
t.exports = {
getGlobalCurve: function () {
return s
},
generateEcparam: l,
generateKeyPairHex: function (t, e, n) {
return {
privateKey: n = d((e = (t ? new i(t, e, n) : new i(u.bitLength(), a)).mod(u.subtract(i.ONE)).add(i.ONE)).toString(16), 64),
publicKey: "04" + d((e = c.multiply(e)).getX().toBigInteger().toString(16), 64) + d(e.getY().toBigInteger().toString(16), 64)
}
},
utf8ToHex: function (t) {
for (var e = (t = unescape(encodeURIComponent(t))).length, n = [], i = 0; i < e; i++)
n[i >>> 2] |= (255 & t.charCodeAt(i)) << 24 - i % 4 * 8;
for (var r = [], o = 0; o < e; o++) {
var a = n[o >>> 2] >>> 24 - o % 4 * 8 & 255;
r.push((a >>> 4).toString(16)),
r.push((15 & a).toString(16))
}
return r.join("")
},
leftPad: d,
arrayToHex: function (t) {
return t.map(function (t) {
return 1 === (t = t.toString(16)).length ? "0" + t : t
}).join("")
},
arrayToUtf8: function (t) {
for (var e = [], n = 0, i = 0; i < 2 * t.length; i += 2)
e[i >>> 3] |= parseInt(t[n], 10) << 24 - i % 8 * 4,
n++;
try {
for (var r = [], o = 0; o < t.length; o++) {
var a = e[o >>> 2] >>> 24 - o % 4 * 8 & 255;
r.push(String.fromCharCode(a))
}
return decodeURIComponent(escape(r.join("")))
} catch (t) {
throw new Error("Malformed UTF-8 data")
}
},
hexToArray: function (t) {
for (var e = [], n = (t = (n = t.length) % 2 != 0 ? d(t, n + 1) : t).length, i = 0; i < n; i += 2)
e.push(parseInt(t.substr(i, 2), 16));
return e
},
verifyPublicKey: function (t) {
var e = s.decodePointHex(t);
return !!e && (t = e.getX(),
e.getY().square().equals(t.multiply(t.square()).add(t.multiply(s.a)).add(s.b)))
}
}
}
, function (t, e, n) {
function i(t, e) {
if (!(t instanceof e))
throw new TypeError("Cannot call a class as a function")
}
var r = n(0).BigInteger
, o = new r("3")
, a = (s.prototype.equals = function (t) {
return t === this || this.q.equals(t.q) && this.x.equals(t.x)
}
,
s.prototype.toBigInteger = function () {
return this.x
}
,
s.prototype.negate = function () {
return new s(this.q, this.x.negate().mod(this.q))
}
,
s.prototype.add = function (t) {
return new s(this.q, this.x.add(t.toBigInteger()).mod(this.q))
}
,
s.prototype.subtract = function (t) {
return new s(this.q, this.x.subtract(t.toBigInteger()).mod(this.q))
}
,
s.prototype.multiply = function (t) {
return new s(this.q, this.x.multiply(t.toBigInteger()).mod(this.q))
}
,
s.prototype.divide = function (t) {
return new s(this.q, this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))
}
,
s.prototype.square = function () {
return new s(this.q, this.x.square().mod(this.q))
}
,
s);
function s(t, e) {
i(this, s),
this.x = e,
this.q = t
}
var c = (u.prototype.getX = function () {
return null === this.zinv && (this.zinv = this.z.modInverse(this.curve.q)),
this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))
}
,
u.prototype.getY = function () {
return null === this.zinv && (this.zinv = this.z.modInverse(this.curve.q)),
this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))
}
,
u.prototype.equals = function (t) {
return t === this || (this.isInfinity() ? t.isInfinity() : t.isInfinity() ? this.isInfinity() : !!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(r.ZERO) && t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(r.ZERO))
}
,
u.prototype.isInfinity = function () {
return null === this.x && null === this.y || this.z.equals(r.ZERO) && !this.y.toBigInteger().equals(r.ZERO)
}
,
u.prototype.negate = function () {
return new u(this.curve, this.x, this.y.negate(), this.z)
}
,
u.prototype.add = function (t) {
if (this.isInfinity())
return t;
if (t.isInfinity())
return this;
var e = this.x.toBigInteger()
, n = this.y.toBigInteger()
, i = this.z
, o = t.x.toBigInteger()
, a = t.y.toBigInteger()
, s = t.z
, c = this.curve.q
, l = e.multiply(s).mod(c);
return t = o.multiply(i).mod(c),
e = l.subtract(t),
o = n.multiply(s).mod(c),
n = a.multiply(i).mod(c),
a = o.subtract(n),
r.ZERO.equals(e) ? r.ZERO.equals(a) ? this.twice() : this.curve.infinity : (n = l.add(t),
t = i.multiply(s).mod(c),
i = e.square().mod(c),
s = e.multiply(i).mod(c),
n = t.multiply(a.square()).subtract(n.multiply(i)).mod(c),
e = e.multiply(n).mod(c),
o = a.multiply(i.multiply(l).subtract(n)).subtract(o.multiply(s)).mod(c),
c = s.multiply(t).mod(c),
new u(this.curve, this.curve.fromBigInteger(e), this.curve.fromBigInteger(o), c))
}
,
u.prototype.twice = function () {
if (this.isInfinity())
return this;
if (!this.y.toBigInteger().signum())
return this.curve.infinity;
var t = this.x.toBigInteger()
, e = this.y.toBigInteger()
, n = this.z
, i = this.curve.q
, r = this.curve.a.toBigInteger()
, a = t.square().multiply(o).add(r.multiply(n.square())).mod(i)
, s = e.shiftLeft(1).multiply(n).mod(i)
, c = (r = (c = e.square().mod(i)).multiply(t).multiply(n).mod(i),
e = s.square().mod(i),
t = a.square().subtract(r.shiftLeft(3)).mod(i),
n = s.multiply(t).mod(i),
a.multiply(r.shiftLeft(2).subtract(t)).subtract(e.shiftLeft(1).multiply(c)).mod(i));
return i = s.multiply(e).mod(i),
new u(this.curve, this.curve.fromBigInteger(n), this.curve.fromBigInteger(c), i)
}
,
u.prototype.multiply = function (t) {
if (this.isInfinity())
return this;
if (!t.signum())
return this.curve.infinity;
for (var e = t.multiply(o), n = this.negate(), i = this, r = e.bitLength() - 2; 0 < r; r--) {
i = i.twice();
var a = e.testBit(r);
a !== t.testBit(r) && (i = i.add(a ? this : n))
}
return i
}
,
u);
function u(t, e, n, o) {
i(this, u),
this.curve = t,
this.x = e,
this.y = n,
this.z = null == o ? r.ONE : o,
this.zinv = null
}
function l(t, e, n) {
i(this, l),
this.q = t,
this.a = this.fromBigInteger(e),
this.b = this.fromBigInteger(n),
this.infinity = new c(this, null, null)
}
l.prototype.equals = function (t) {
return t === this || this.q.equals(t.q) && this.a.equals(t.a) && this.b.equals(t.b)
}
,
l.prototype.fromBigInteger = function (t) {
return new a(this.q, t)
}
,
l.prototype.decodePointHex = function (t) {
switch (parseInt(t.substr(0, 2), 16)) {
case 0:
return this.infinity;
default:
return null;
case 4:
case 6:
case 7:
var e = (t.length - 2) / 2
, n = t.substr(2, e);
return e = t.substr(2 + e, e),
new c(this, this.fromBigInteger(new r(n, 16)), this.fromBigInteger(new r(e, 16)))
}
}
,
n = l,
t.exports = {
ECPointFp: c,
ECCurveFp: n
}
}
, function (t, e, n) {
var i = n(1);
t.exports = function (t) {
return t = "string" == typeof t ? function (t) {
for (var e = [], n = 0, i = t.length; n < i; n++) {
var r = t.charCodeAt(n);
if (r <= 127)
e.push(r);
else if (r <= 2047)
e.push(192 | r >>> 6),
e.push(128 | 63 & r);
else if (r <= 55295 || 57344 <= r && r <= 65535)
e.push(224 | r >>> 12),
e.push(128 | r >>> 6 & 63),
e.push(128 | 63 & r);
else {
if (!(65536 <= r && r <= 1114111))
throw e.push(r),
new Error("input is not supported");
n++,
e.push(240 | r >>> 18 & 28),
e.push(128 | r >>> 12 & 63),
e.push(128 | r >>> 6 & 63),
e.push(128 | 63 & r)
}
}
return e
}(t) : Array.prototype.slice.call(t),
i(t).map(function (t) {
return 1 === (t = t.toString(16)).length ? "0" + t : t
}).join("")
}
}
, function (t, e, n) {
var i = [214, 144, 233, 254, 204, 225, 61, 183, 22, 182, 20, 194, 40, 251, 44, 5, 43, 103, 154, 118, 42, 190, 4, 195, 170, 68, 19, 38, 73, 134, 6, 153, 156, 66, 80, 244, 145, 239, 152, 122, 51, 84, 11, 67, 237, 207, 172, 98, 228, 179, 28, 169, 201, 8, 232, 149, 128, 223, 148, 250, 117, 143, 63, 166, 71, 7, 167, 252, 243, 115, 23, 186, 131, 89, 60, 25, 230, 133, 79, 168, 104, 107, 129, 178, 113, 100, 218, 139, 248, 235, 15, 75, 112, 86, 157, 53, 30, 36, 14, 94, 99, 88, 209, 162, 37, 34, 124, 59, 1, 33, 120, 135, 212, 0, 70, 87, 159, 211, 39, 82, 76, 54, 2, 231, 160, 196, 200, 158, 234, 191, 138, 210, 64, 199, 56, 181, 163, 247, 242, 206, 249, 97, 21, 161, 224, 174, 93, 164, 155, 52, 26, 85, 173, 147, 50, 48, 245, 140, 177, 227, 29, 246, 226, 46, 130, 102, 202, 96, 192, 41, 35, 171, 13, 83, 78, 111, 213, 219, 55, 69, 222, 253, 142, 47, 3, 255, 106, 114, 109, 108, 91, 81, 141, 27, 175, 146, 187, 221, 188, 127, 17, 217, 92, 65, 31, 16, 90, 216, 10, 193, 49, 136, 165, 205, 123, 189, 45, 116, 208, 18, 184, 229, 180, 176, 137, 105, 151, 74, 12, 150, 119, 126, 101, 185, 241, 9, 197, 110, 198, 132, 24, 240, 125, 236, 58, 220, 77, 32, 121, 238, 95, 62, 215, 203, 57, 72]
,
r = [462357, 472066609, 943670861, 1415275113, 1886879365, 2358483617, 2830087869, 3301692121, 3773296373, 4228057617, 404694573, 876298825, 1347903077, 1819507329, 2291111581, 2762715833, 3234320085, 3705924337, 4177462797, 337322537, 808926789, 1280531041, 1752135293, 2223739545, 2695343797, 3166948049, 3638552301, 4110090761, 269950501, 741554753, 1213159005, 1684763257];
function o(t) {
for (var e = [], n = 0, i = t.length; n < i; n += 2)
e.push(parseInt(t.substr(n, 2), 16));
return e
}
function a(t, e) {
return t << e | t >>> 32 - e
}
function s(t) {
return (255 & i[t >>> 24 & 255]) << 24 | (255 & i[t >>> 16 & 255]) << 16 | (255 & i[t >>> 8 & 255]) << 8 | 255 & i[255 & t]
}
function c(t) {
return t ^ a(t, 2) ^ a(t, 10) ^ a(t, 18) ^ a(t, 24)
}
function u(t) {
return t ^ a(t, 13) ^ a(t, 23)
}
function l(t, e, n, i) {
i = void 0 === (l = (d = 3 < arguments.length && void 0 !== i ? i : {}).padding) ? "pkcs#5" : l;
var a = d.mode
, l = void 0 === (l = d.iv) ? [] : l
, d = void 0 === (d = d.output) ? "string" : d;
if ("cbc" === a && 16 !== (l = "string" == typeof l ? o(l) : l).length)
throw new Error("iv is invalid");
if (16 !== (e = "string" == typeof e ? o(e) : e).length)
throw new Error("key is invalid");
if (t = "string" == typeof t ? (0 !== n ? function (t) {
for (var e = [], n = 0, i = t.length; n < i; n++) {
var r = t.charCodeAt(n);
if (r <= 127)
e.push(r);
else if (r <= 2047)
e.push(192 | r >>> 6),
e.push(128 | 63 & r);
else if (r <= 55295 || 57344 <= r && r <= 65535)
e.push(224 | r >>> 12),
e.push(128 | r >>> 6 & 63),
e.push(128 | 63 & r);
else {
if (!(65536 <= r && r <= 1114111))
throw e.push(r),
new Error("input is not supported");
n++,
e.push(240 | r >>> 18 & 28),
e.push(128 | r >>> 12 & 63),
e.push(128 | r >>> 6 & 63),
e.push(128 | 63 & r)
}
}
return e
}
: o)(t) : [].concat(t),
"pkcs#5" === i && 0 !== n)
for (var h = 16 - t.length % 16, f = 0; f < h; f++)
t.push(h);
var p = new Array(32);
!function (t, e, n) {
for (var i = new Array(4), o = new Array(4), a = 0; a < 4; a++)
o[0] = 255 & t[0 + 4 * a],
o[1] = 255 & t[1 + 4 * a],
o[2] = 255 & t[2 + 4 * a],
o[3] = 255 & t[3 + 4 * a],
i[a] = o[0] << 24 | o[1] << 16 | o[2] << 8 | o[3];
i[0] ^= 2746333894,
i[1] ^= 1453994832,
i[2] ^= 1736282519,
i[3] ^= 2993693404;
for (var c, l = 0; l < 32; l += 4)
c = i[1] ^ i[2] ^ i[3] ^ r[l + 0],
e[l + 0] = i[0] ^= u(s(c)),
c = i[2] ^ i[3] ^ i[0] ^ r[l + 1],
e[l + 1] = i[1] ^= u(s(c)),
c = i[3] ^ i[0] ^ i[1] ^ r[l + 2],
e[l + 2] = i[2] ^= u(s(c)),
c = i[0] ^ i[1] ^ i[2] ^ r[l + 3],
e[l + 3] = i[3] ^= u(s(c));
if (0 === n)
for (var d, h = 0; h < 16; h++)
d = e[h],
e[h] = e[31 - h],
e[31 - h] = d
}(e, p, n);
for (var g = [], m = l, v = t.length, _ = 0; 16 <= v;) {
var y = t.slice(_, _ + 16)
, b = new Array(16);
if ("cbc" === a)
for (var w = 0; w < 16; w++)
0 !== n && (y[w] ^= m[w]);
!function (t, e, n) {
for (var i = new Array(4), r = new Array(4), o = 0; o < 4; o++)
r[0] = 255 & t[4 * o],
r[1] = 255 & t[4 * o + 1],
r[2] = 255 & t[4 * o + 2],
r[3] = 255 & t[4 * o + 3],
i[o] = r[0] << 24 | r[1] << 16 | r[2] << 8 | r[3];
for (var a, u = 0; u < 32; u += 4)
a = i[1] ^ i[2] ^ i[3] ^ n[u + 0],
i[0] ^= c(s(a)),
a = i[2] ^ i[3] ^ i[0] ^ n[u + 1],
i[1] ^= c(s(a)),
a = i[3] ^ i[0] ^ i[1] ^ n[u + 2],
i[2] ^= c(s(a)),
a = i[0] ^ i[1] ^ i[2] ^ n[u + 3],
i[3] ^= c(s(a));
for (var l = 0; l < 16; l += 4)
e[l] = i[3 - l / 4] >>> 24 & 255,
e[l + 1] = i[3 - l / 4] >>> 16 & 255,
e[l + 2] = i[3 - l / 4] >>> 8 & 255,
e[l + 3] = 255 & i[3 - l / 4]
}(y, b, p);
for (var k = 0; k < 16; k++)
"cbc" === a && 0 === n && (b[k] ^= m[k]),
g[_ + k] = b[k];
"cbc" === a && (m = 0 !== n ? b : y),
v -= 16,
_ += 16
}
return "pkcs#5" === i && 0 === n && (i = g[g.length - 1],
g.splice(g.length - i, i)),
"array" !== d ? 0 !== n ? g.map(function (t) {
return 1 === (t = t.toString(16)).length ? "0" + t : t
}).join("") : function (t) {
for (var e = [], n = 0, i = t.length; n < i; n++)
240 <= t[n] && t[n] <= 247 ? (e.push(String.fromCharCode(((7 & t[n]) << 18) + ((63 & t[n + 1]) << 12) + ((63 & t[n + 2]) << 6) + (63 & t[n + 3]))),
n += 3) : 224 <= t[n] && t[n] <= 239 ? (e.push(String.fromCharCode(((15 & t[n]) << 12) + ((63 & t[n + 1]) << 6) + (63 & t[n + 2]))),
n += 2) : 192 <= t[n] && t[n] <= 223 ? (e.push(String.fromCharCode(((31 & t[n]) << 6) + (63 & t[n + 1]))),
n++) : e.push(String.fromCharCode(t[n]));
return e.join("")
}(g) : g
}
t.exports = {
encrypt: function (t, e, n) {
return l(t, e, 1, n)
},
decrypt: function (t, e, n) {
return l(t, e, 0, n)
}
}
}
],
i.c = o,
i.d = function (t, e, n) {
i.o(t, e) || (0,
p.default)(t, e, {
enumerable: !0,
get: n
})
}
,
i.r = function (t) {
void 0 !== f.default && h.default && (0,
p.default)(t, h.default, {
value: "Module"
}),
Object.defineProperty(t, "__esModule", {
value: !0
})
}
,
i.t = function (t, e) {
if (1 & e && (t = i(t)),
8 & e)
return t;
if (4 & e && "object" == (void 0 === t ? "undefined" : (0,
v.default)(t)) && t && t.__esModule)
return t;
var n = (0,
m.default)(null);
if (i.r(n),
Object.defineProperty(n, "default", {
enumerable: !0,
value: t
}),
2 & e && "string" != typeof t)
for (var r in t)
i.d(n, r, function (e) {
return t[e]
}
.bind(null, r));
return n
}
,
i.n = function (t) {
var e = t && t.__esModule ? function () {
return t.default
}
: function () {
return t
}
;
return i.d(e, "a", e),
e
}
,
i.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}
,
i.p = "",
i(i.s = 2))
}
}
, e = {};
function n(i) {
var r = e[i];
return void 0 !== r || (r = e[i] = {
exports: {}
},
t[i].call(r.exports, r, r.exports, n)),
r.exports
}
n.d = function (t, e) {
for (var i in e)
n.o(e, i) && !n.o(t, i) && (0,
p.default)(t, i, {
enumerable: !0,
get: e[i]
})
}
,
n.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}
,
n.r = function (t) {
void 0 !== f.default && h.default && (0,
p.default)(t, h.default, {
value: "Module"
}),
Object.defineProperty(t, "__esModule", {
value: !0
})
}
;
var i = {};
return function () {
function t(t) {
this.PromiseState = "pending",
this.PromiseResult = null,
this.callbacks = [];
var e = this;
function n(t) {
"pending" === e.PromiseState && (e.PromiseResult = t,
e.PromiseState = "rejected",
e.callbacks.forEach(function (e) {
e.onReject(t)
}))
}
try {
t(function (t) {
"pending" == e.PromiseState && (e.PromiseState = "fulfilled",
e.PromiseResult = t,
e.callbacks.forEach(function (e) {
e.onResolve(t)
}))
}, n)
} catch (t) {
n(t)
}
}
n.r(i),
n.d(i, {
SummerCryptico: function () {
return g
},
default: function () {
return m
}
});
var e = n(686);
function r(t, e) {
var n, i = (0,
d.default)(t);
return l.default && (n = (0,
l.default)(t),
e && (n = n.filter(function (e) {
return (0,
u.default)(t, e).enumerable
})),
i.push.apply(i, n)),
i
}
t.prototype.then = function (e, n) {
var i = this
, r = this;
return "function" != typeof n && (n = function (t) {
throw t
}
),
"function" != typeof e && (e = function (t) {
return t
}
),
new t(function (o, a) {
function s(e) {
try {
var n = e(r.PromiseResult);
n instanceof t ? n.then(function (t) {
o(t)
}, function (t) {
a(t)
}) : o(n),
o(n)
} catch (e) {
a(e)
}
}
"fulfilled" === i.PromiseState && s(e),
"rejected" === i.PromiseState && s(n),
"pending" == i.PromiseState && i.callbacks.push({
onReject: function () {
s(n)
},
onResolve: function () {
s(e)
}
})
}
)
}
,
t.prototype.catch = function (t) {
return this.then(void 0, t)
}
,
t.resolve = function (e) {
return new t(function (n, i) {
try {
e instanceof t ? e.then(function (t) {
n(t)
}, function (t) {
i(t)
}) : n(e)
} catch (t) {
i(t)
}
}
)
}
,
t.reject = function (e) {
return new t(function (t, n) {
n(e)
}
)
}
,
t.all = function (e) {
var n = []
, i = 0;
return new t(function (r, o) {
for (var a = 0; a < e.length; a++)
!function (a) {
e[a] instanceof t ? e[a].then(function (t) {
i++,
n[a] = t,
i === e.length && r(n)
}, function (t) {
o(t)
}) : (n[a] = e,
i++)
}(a)
}
)
}
;
var o, a = t.race = function (e) {
return new t(function (n, i) {
for (var r = 0; r < e.length; r++)
e[r] instanceof t ? e[r].then(function (t) {
n(t)
}, function (t) {
i(t)
}) : n(e[r])
}
)
}
, h = null;
function f() {
this.handshakePublicKey = "",
this.handshakeUrl = "",
this._keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
this.publicKeyHeader = "",
this.sm2Key = "",
this.sm4Key = "",
this.iv = "",
this.randomKey = "",
this.sm2EncryptData = "",
this.sm4EncryptData = "",
this.encryptStorageSm4Key = "6c3d6878252e641b",
this.encryptStorageIv = "5f5e5a247f544d771255134517043757",
this.encryptRandomKey = "",
this.encryptSm2RandomKey = "";
var t = !1
, e = !1;
"undefined" != typeof wx && wx.request && wx.login ? t = !0 : "undefined" != typeof jd && jd.request && jd.login ? e = t = !0 : t = !1,
this.isJd = e,
t = (this.isApplet = t) ? 2 : 1,
this.isResponse = !1,
this.version = [1],
this.client_type = [t],
this.key_cipher = [],
this.time = null,
this.ms = 6e4,
this._localStorage = ""
}
a = "undefined" != typeof wx && wx.request && wx.login ? (h = wx,
!0) : !("undefined" == typeof jd || !jd.request || !jd.login || (h = jd,
0)),
o = a ? function (e) {
return new t(function (t, n) {
h.request(function (t) {
for (var e = 1; e < arguments.length; e++) {
var n = null != arguments[e] ? arguments[e] : {};
e % 2 ? r(Object(n), !0).forEach(function (e) {
var i, r;
i = t,
e = n[r = e],
r in i ? (0,
p.default)(i, r, {
value: e,
enumerable: !0,
configurable: !0,
writable: !0
}) : i[r] = e
}) : c.default ? (0,
s.default)(t, (0,
c.default)(n)) : r(Object(n)).forEach(function (e) {
(0,
p.default)(t, e, (0,
u.default)(n, e))
})
}
return t
}({
header: {
"Content-Type": "application/x-www-form-urlencoded"
}
}, e))
}
)
}
: function (t) {
(t = t || {}).type = (t.type || "GET").toUpperCase(),
t.dataType = t.dataType || "json",
t.async = t.async || !0;
var e, n = function (t) {
var e, n = [];
for (e in t = t || {})
n.push(encodeURIComponent(e) + "=" + encodeURIComponent(t[e]));
return n.join("&")
}(t.data),
i = window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP");
t.timeout && (e = setTimeout(function () {
4 != i.readySate && i.abort()
}, t.timeout || 1e4)),
i.onreadystatechange = function () {
var n;
4 == i.readyState && (clearTimeout(e),
200 <= (n = i.status) && n < 300 || 304 === n ? t.success && t.success(i.responseText, i.responseXML) : t.error && t.error(n))
}
,
"GET" == t.type ? (i.open("GET", t.url + "?" + n, t.async),
i.send(null)) : "POST" == t.type && (i.open("POST", t.url, t.async),
i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"),
i.send(n))
}
,
f.prototype = {
commonPromise: function (e, n) {
var i = this
, r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 1
, a = (n = this.isJd ? encodeURIComponent(n) : n,
1 !== r ? {
data: n
} : {
clientKey: n
});
return new t(function (t, n) {
var r = {
url: e,
method: "POST",
data: a,
success: function (e) {
var i = e.statusCode;
200 <= i && i < 300 || 304 === i ? t(e.data) : n(i)
},
fail: function (t) {
n(t)
}
};
i.isApplet || (r = {
type: "POST",
url: e,
data: a,
success: function (e) {
t(e)
},
error: function (t) {
n(t)
}
}),
o(r)
}
)
},
encryptDecryptRequest: function (t, e) {
return this.commonPromise(t, e)
},
createDemote: function () {
this.isResponse || this.demoteKeyCipher()
},
demoteKeyCipher: function () {
var t = [140, 58, 51, 17, 108, 219, 141, 107, 65, 13, 222, 250, 147, 190, 156, 25];
this.isApplet && (t = [68, 176, 150, 193, 133, 248, 213, 81, 190, 140, 15, 58, 167, 248, 31, 97]);
var n = this.createRandomKey(8);
this.randomKey = n;
var i = this.createRandomKey();
t = e.sm4.encrypt(n, t, {
mode: "cbc",
iv: i
}),
this.encryptRandomKey = t,
t = this.hexToArray(t),
t = this.hexToArray(i).concat(t, [0, 0, 0, 0, 0]),
this.key_cipher = t
},
handshake: function (t, e) {
this.isResponse || this.key_cipher.length && Date.now() < this.lastClick + this.ms || (this.handshakeUrl || (this.handshakeUrl = t,
this.handshakePublicKey = e),
this.createDemote(),
this.sm2EncryptRandomKey(t, e))
},
encryptRequest: function (t, e) {
var n = this;
this.encryptDecryptRequest(t, e).then(function (t) {
t ? (t = n.decode(t),
t = Array.prototype.slice.call(t),
n.key_cipher = t,
n.isResponse = !0) : (n.isResponse = !1,
n.lastClick = Date.now())
}).catch(function (t) {
n.isResponse = !1,
n.lastClick = Date.now()
})
},
sm2EncryptRandomKey: function (t, n) {
var i = e.sm2.doEncrypt(this.randomKey, n)
, r = this.hexToArray(this.createRandomKey(1))
, o = this.version;
n = this.client_type,
i = this.hexToArray(i),
i = r.concat(o, n, i),
i = new Uint8Array(i),
i = this.arrayBufferToBase64(i),
this.encryptRequest(t, i)
},
createRandomKey: function () {
var t = this.randomUnit8Array(1, 127, 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : 16);
return this.buffertoHex(t)
},
encrypt: function (t) {
if (!t)
throw new Error("encrypt data can not empty");
this.createDemote();
var n, i = {
mode: "cbc",
iv: n = this.createRandomKey()
}, r = this.utf8ToHex(this.randomKey), o = e.sm4.encrypt(t, r, i),
a = this.hexToArray(o), s = this.hexToArray(this.createRandomKey(1)),
c = this.version, u = this.client_type;
return t = this.isResponse ? [0] : [1],
r = this.key_cipher,
i = this.hexToArray(n),
o = a,
(n = new Uint32Array(1))[0] = a.length,
n = Array.prototype.slice.call(new Uint8Array(n.buffer)),
o = s.concat(c, u, t, r, i, n, o),
o = new Uint8Array(o),
o = this.arrayBufferToBase64(o),
!this.isResponse && this.handshakeUrl && this.handshake(this.handshakeUrl, this.handshakePublicKey),
o
},
encryptData: function (t, e) {
if (!e)
throw new Error("encrypt data can not empty");
var n = (i = this.decode(t)).byteLength
, i = (t = i.subarray(0, n - 65),
i.subarray(n - 65));
return n = this.buffertoHex(t),
t = this.buffertoHex(i),
i = this.encryptStorageSm4Data(),
this.publicKeyHeader = n,
this.sm2Key = t,
this.sm4Key = i,
this.iv = this.createRandomKey(),
this.encryptSm2Data(),
this.encryptSm4Data(e),
this.getEncryptData()
},
testDecrpt: function (t, e) {
return this.commonPromise(t, e, 2)
},
test: function (e, n) {
return this.testDecrpt(e, n).then(function (e) {
return t.resolve(e)
}).catch(function (e) {
return t.reject(e)
})
},
randomUnit8Array: function (t, e, n) {
e += 1;
for (var i = [], r = void 0 === n ? 1 : n, o = 0; o < r; o++) {
var a = Math.floor(Math.random() * (e - t) + t);
i.push(a)
}
return new Uint8Array(i)
},
buffertoHex: function (t) {
return Array.prototype.map.call(t, function (t) {
return ("00" + t.toString(16)).slice(-2)
}).join("")
},
encryptSm2Data: function () {
var t = this.sm4Key
, n = this.sm2Key;
n = e.sm2.doEncrypt(t, n),
this.sm2EncryptData = n
},
encryptSm4Data: function (t) {
var n = this.sm4Key
, i = {
mode: "cbc",
iv: this.iv
};
n = this.utf8ToHex(n),
i = e.sm4.encrypt(t, n, i),
this.sm4EncryptData = i
},
encryptStorageSm4Data: function () {
var t = this.encryptStorageSm4Key
, n = {
mode: "cbc",
iv: this.encryptStorageIv
}
, i = this.utf8ToHex(t)
, r = ""
, o = this.isApplet
, a = this.isJd;
if (t = o ? a ? jd : wx : null,
o)
r = t.getStorageSync("aksKey");
else
try {
r = localStorage.getItem("aksKey")
} catch (t) {
r = this._localStorage
}
if (a = "",
r)
a = e.sm4.decrypt(r, i, n);
else if (r = this.randomUnit8Array(1, 127, 8),
a = this.buffertoHex(r),
n = e.sm4.encrypt(a, i, n),
o)
t.setStorageSync("aksKey", n);
else
try {
localStorage.setItem("aksKey", n)
} catch (t) {
this._localStorage = n
}
return a
},
utf8ToHex: function (t) {
for (var e = (t = unescape(encodeURIComponent(t))).length, n = [], i = 0; i < e; i++)
n[i >>> 2] |= (255 & t.charCodeAt(i)) << 24 - i % 4 * 8;
for (var r = [], o = 0; o < e; o++) {
var a = n[o >>> 2] >>> 24 - o % 4 * 8 & 255;
r.push((a >>> 4).toString(16)),
r.push((15 & a).toString(16))
}
return r.join("")
},
hex2b64: function (t) {
for (var e, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = "", r = 0; r + 3 <= t.length; r += 3)
e = parseInt(t.substring(r, r + 3), 16),
i += n.charAt(e >> 6) + n.charAt(63 & e);
for (r + 1 == t.length ? (e = parseInt(t.substring(r, r + 1), 16),
i += n.charAt(e << 2)) : r + 2 == t.length && (e = parseInt(t.substring(r, r + 2), 16),
i += n.charAt(e >> 2) + n.charAt((3 & e) << 4)); 0 < (3 & i.length);)
i += "=";
return i
},
leftPad: function (t, e) {
return t.length >= e ? t : new Array(e - t.length + 1).join("0") + t
},
hexToArray: function (t) {
for (var e = [], n = (t = (n = t.length) % 2 != 0 ? this.leftPad(t, n + 1) : t).length, i = 0; i < n; i += 2)
e.push(parseInt(t.substr(i, 2), 16));
return e
},
getEncryptData: function () {
var t = this.hexToArray(this.publicKeyHeader)
, e = this.hexToArray(this.sm2EncryptData)
, n = this.hexToArray(this.sm4EncryptData)
, i = this.hexToArray(this.iv);
return n = t.concat(e, i, n),
n = new Uint8Array(n),
this.arrayBufferToBase64(n)
},
removePaddingChars: function (t) {
return 64 == this._keyStr.indexOf(t.charAt(t.length - 1)) ? t.substring(0, t.length - 1) : t
},
arrayBufferToBase64: function (t) {
for (var e = t.byteLength, n = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"], i = "", r = 0; 3 <= e - r; r += 3) {
var o = t[r]
, a = t[r + 1]
, s = t[r + 2];
i += n[o >>> 2] + n[(3 & o) << 4 | a >>> 4] + n[(15 & a) << 2 | s >>> 6] + n[63 & s]
}
var c, u = e - r;
return 1 == u ? i += n[(c = t[r]) >>> 2] + n[(3 & c) << 4] + "==" : 2 == u && (c = t[r],
u = t[r + 1],
i += n[c >>> 2] + n[(3 & c) << 4 | u >>> 4] + n[(15 & u) << 2] + "="),
i
},
decode: function (t, e) {
var n = t;
e = e,
n = this.removePaddingChars(n),
n = this.removePaddingChars(n);
var i, r, o, a, s, c, u = parseInt(n.length / 4 * 3, 10), l = 0, d = 0,
h = e ? new Uint8Array(e) : new Uint8Array(u);
for (n = n.replace(/[^A-Za-z0-9\+\/\=]/g, ""),
l = 0; l < u; l += 3)
o = this._keyStr.indexOf(n.charAt(d++)),
i = (15 & (a = this._keyStr.indexOf(n.charAt(d++)))) << 4 | (s = this._keyStr.indexOf(n.charAt(d++))) >> 2,
r = (3 & s) << 6 | (c = this._keyStr.indexOf(n.charAt(d++))),
h[l] = o << 2 | a >> 4,
64 != s && (h[l + 1] = i),
64 != c && (h[l + 2] = r);
return h
},
decryptData: function (t) {
var n = (o = this.decode(t)).byteLength
, i = o.subarray(3, 19)
, r = o.subarray(19, n)
, o = (t = this.buffertoHex(i),
this.buffertoHex(r));
if (n = this.isApplet,
i = "",
r = this.isJd,
r = n ? r ? jd : wx : null,
n)
try {
if (!(i = r.getStorageSync("aksKey")))
throw new Error("get storage fail")
} catch (t) {
throw new Error("get storage fail")
}
else
try {
i = localStorage.getItem("aksKey")
} catch (t) {
i = this._localStorage
}
if (r = "",
!i)
throw new Error("key is invalid");
return r = this.encryptStorageSm4Data(),
r = this.utf8ToHex(r),
e.sm4.decrypt(o, r, {
mode: "cbc",
iv: t
})
}
};
var g = new f
, m = {
SummerCryptico: g
}
}(),
i
}
,
"object" == (0,
v.default)(e) && "object" == (0,
v.default)(t) ? t.exports = a() : (r = [],
void 0 === (o = "function" == typeof (i = a) ? i.apply(e, r) : i) || (t.exports = o))
}
).call(e, n("3IRH")(t))
},
"8Y0l": function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = o(n("7+uW"))
, r = o(n("2OQq"));
function o(t) {
return t && t.__esModule ? t : {
default: t
}
}
var a = [];
function s() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, e = function () {
var t = new (i.default.extend(r.default))({
el: document.createElement("div")
});
return document.body.appendChild(t.$el),
a.push(t),
t
}();
e.message = "string" == typeof t ? t : t.message,
e.btn = "string" == typeof t ? t : t.btn,
e.position = "middle",
e.message && (e.showAlert = !0)
}
i.default.prototype.$alert = s,
e.default = s
},
"BK/k": function (t, e, n) {
"use strict";
var i, r, o = n("bOdI"), a = (i = o) && i.__esModule ? i : {
default: i
};
var s = window.location.origin
, c = window.location.origin;
t.exports = {
domain: s,
config: {
profile_url: "https://qr.m.jd.com/img/default_avatar.png",
remind_url: "https://plogin.m.jd.com/cgi-bin/ml/rebind",
register_service: "https://in.m.jd.com/help/app/register_info.html",
private_policy: "https://in.m.jd.com/help/app/private_policy.html",
jdl_cht_policy: "https://logistics-mrd.jd.com/express/index.html?source=HKlogin#/cms?projectCode=expresswx&contentType=2&resCode=pos00189&needContentInfo=1&titleChange=1",
jdl_cht_service: "https://logistics-mrd.jd.com/express/index.html?source=HKlogin#/cms?projectCode=expresswx&contentType=2&resCode=pos00188&needContentInfo=1&titleChange=1",
ty_policy: "https://e.189.cn/sdk/agreement/detail.do?hidetop=true&appKey=8138112402",
cu_policy: "https://hs.wosms.cn/protocol/protocol.html",
yd_policy: "https://wap.cmpassport.com/resources/html/contract.html",
countSeconds: 120,
servicePhone: "950618",
internalServicePhone: "4006065500",
jdFinanceAppid: 207,
optionLanguage: {
chs: "1",
cht: "2",
eng: "3"
},
rsaModulus: ["E710C1CE1A8B580F69393020157514EB96AC72997AF751CE041BE799BC9EF112", "031F5F9709F2362B25ED0CB7173A0FFCB012A40EA015063DEEFA137F137C8878", "8752D5B4D538DE123A46AF95901BC4626DD012917FA1B0973F0B44A8427A7A3F", "DDAD087316F8CAE594705256F4D8B5C889ABAA886A8C9CE32697A48F4548ADB9"]
},
api: {
common: {
docheckreceiver: c + "/cgi-bin/mm/docheckreceiver",
err_page: c + "/cgi-bin/mm/err_page",
country_code: c + "/cgi-bin/ml/getcountrycodes",
check_historyreceiver: c + "/cgi-bin/ml/check_historyreceiver",
jcapsid_pre: c + "/cgi-bin/mm/jcapsid_pre"
},
logout: {
unbind: c + "/cgi-bin/ml/wx_unbind"
},
login: {
new_login_entrance: c + "/cgi-bin/mm/new_login_entrance",
jcapsid: c + "/cgi-bin/mm/jcapsid",
dosendlogincode: c + "/cgi-bin/mm/dosendlogincode",
dosmslogin: c + "/cgi-bin/mm/dosmslogin",
domlogin: c + "/cgi-bin/mm/domlogin",
tmauthreflogurl: c + "/cgi-bin/m/tmauthreflogurl",
tmauthchecktoken: c + "/cgi-bin/m/tmauthchecktoken",
unicom_getphone: c + "/cgi-bin/ml/unicom_getphone",
unicom_onekeylogin: c + "/cgi-bin/ml/unicom_onekeylogin",
unicom_onekeyreg: c + "/cgi-bin/ml/unicom_onekeyreg",
unicom_onekeyinit: c + "/cgi-bin/ml/unicom_onekeyinit"
},
cmcc: {
cmcc_signinfo: c + "/cgi-bin/ml/cmcc_signinfo",
cmcc_onekeylogin: c + "/cgi-bin/ml/cmcc_onekeylogin",
cmcc_onekeyreg: c + "/cgi-bin/ml/cmcc_onekeyreg",
tokenValidate: "https://www.cmpassport.com/h5/onekeylogin/tokenValidate"
},
cu: {
cu_signinfo: c + "/cgi-bin/ml/cucc_signinfo",
cu_signinfonew: c + "/cgi-bin/ml/cucc_signinfonew",
cu_onekeylogin: c + "/cgi-bin/ml/cucc_onekeylogin",
cu_onekeyreg: c + "/cgi-bin/ml/cucc_onekeyreg"
},
register: {},
recover: {
init: c + "/cgi-bin/ml/rereg_init",
sendsms: c + "/cgi-bin/ml/rereg_sendsms",
verifysms: c + "/cgi-bin/ml/rereg_verifysms",
sendmail: c + "/cgi-bin/ml/rereg_sendmail",
submit: c + "/cgi-bin/ml/rereg_doreg",
recover: c + "/cgi-bin/ml/rereg_accrecovery",
jcapsid: c + "/cgi-bin/ml/jcapsid"
},
finance: {
init: c + "/cgi-bin/ml/facct_init",
checkinfo: c + "/cgi-bin/ml/facct_checkinfo",
verifyface: c + "/cgi-bin/ml/facct_verifyface",
pinlist: c + "/cgi-bin/ml/facct_pinlist",
pinlogin: c + "/cgi-bin/ml/facct_pinlogin"
},
joinlogin: {
get_param: c + "/cgi-bin/ml/unioninit",
jcapsid: c + "/cgi-bin/ml/jcapsid",
bindsendsms: c + "/cgi-bin/ml/bindsendsms",
dologinbind: c + "/cgi-bin/ml/dologinbind",
dobind: c + "/cgi-bin/ml/dobind",
dojointlogin: c + "/cgi-bin/ml/dojointlogin",
unionlogin_verify_password: c + "/cgi-bin/ml/unionlogin_verify_password",
cmcc_bind: c + "/cgi-bin/ml/cmcc_bind",
cmcc_bindreg: c + "/cgi-bin/ml/cmcc_bindreg",
cucc_bindsign: c + "/cgi-bin/ml/cucc_bindsign",
cucc_bindnewsign: c + "/cgi-bin/ml/cucc_bindnewsign",
cucc_bind: c + "/cgi-bin/ml/cucc_bind",
cucc_bindreg: c + "/cgi-bin/ml/cucc_bindreg",
ctcc_init: c + "/cgi-bin/ml/ctcc_init",
ctcc_getphone: c + "/cgi-bin/ml/ctcc_getphone",
ctcc_bind: c + "/cgi-bin/ml/ctcc_bind",
ctcc_bindreg: c + "/cgi-bin/ml/ctcc_bindreg"
},
mfindpassword: {
findpwd_init: c + "/cgi-bin/ml/findpwd_init",
findpwd_send_codev2: c + "/cgi-bin/ml/findpwd_send_codev2",
jcapsid: c + "/cgi-bin/ml/jcapsid",
findpwd_check_accountv2: c + "/cgi-bin/ml/findpwd_check_accountv2",
findpwd_code_verifyv2: c + "/cgi-bin/ml/findpwd_code_verifyv2",
findpwd_historyresetpwd_verifyv2: c + "/cgi-bin/ml/findpwd_historyresetpwd_verifyv2",
mfindpwd_resetpwd: c + "/cgi-bin/ml/mfindpwd_resetpwd",
findpwd_message_verifyv2: c + "/cgi-bin/ml/findpwd_message_verifyv2",
findpwd_resetpwdv2: c + "/cgi-bin/ml/findpwd_resetpwdv2 ",
findpwd_need_rebindv2: c + "/cgi-bin/ml/findpwd_need_rebindv2 ",
findpwd_selectpinv2: c + "/cgi-bin/ml/findpwd_selectpinv2 "
},
risk: (r = {
get_param: c + "/cgi-bin/ml/new_risk_entrance",
new_risk_jcap_entrance: c + "/cgi-bin/ml/new_risk_jcap_entrance",
jcapsid: c + "/cgi-bin/ml/jcapsid",
risk_select: c + "/cgi-bin/ml/risk_select",
sms_risk_send: c + "/cgi-bin/ml/sms_risk_send",
sms_risk_verify: c + "/cgi-bin/ml/sms_risk_verify",
risk_need_rebindv2: c + "/cgi-bin/ml/risk_need_rebindv2",
voice_risk_send: c + "/cgi-bin/ml/voice_risk_send",
voice_risk_verify: c + "/cgi-bin/ml/voice_risk_verify",
bind_risk_sendsms: c + "/cgi-bin/ml/bind_risk_sendsms",
bsend_code_sms: c + "/cgi-bin/ml/bsend_code_verify",
bind_risk_verify: c + "/cgi-bin/ml/bind_risk_verify",
bcheck_code_verify: c + "/cgi-bin/ml/bcheck_code_verify",
resetpwd_risk_verify: c + "/cgi-bin/ml/resetpwd_risk_verify",
jcap_risk_verify: c + "/cgi-bin/ml/jcap_risk_verify",
send_voicecode: c + "/cgi-bin/ml/send_voicecode",
verify_voicecode: c + "/cgi-bin/ml/verify_voicecode",
verify_historyname: c + "/cgi-bin/ml/history_receiver_verify",
verify_bnare: c + "/cgi-bin/ml/bnare_risk_verify",
verify_userid: c + "/cgi-bin/ml/id_card_verify",
verify_corpid: c + "/cgi-bin/ml/bidcard_risk_verify",
sms_uplink_verify: c + "/cgi-bin/ml/sms_uplink_verify",
faceid_verify: c + "/cgi-bin/ml/faceid_verify",
bface_verify: c + "/cgi-bin/ml/bface_verify"
},
(0,
a.default)(r, "risk_select", c + "/cgi-bin/ml/risk_select"),
(0,
a.default)(r, "pwd_verify", c + "/cgi-bin/ml/pwd_verify"),
(0,
a.default)(r, "sec_risk_reg", c + "/cgi-bin/ml/sec_risk_reg"),
(0,
a.default)(r, "sec_risk_login", c + "/cgi-bin/ml/sec_risk_login"),
(0,
a.default)(r, "verify_device", c + "/cgi-bin/ml/device_verify"),
(0,
a.default)(r, "verify_token", c + "/cgi-bin/ml/device_refresh_token"),
(0,
a.default)(r, "modify_loginname", c + "/cgi-bin/ml/modify_loginname"),
(0,
a.default)(r, "qn_content", c + "/cgi-bin/ml/qn_content"),
(0,
a.default)(r, "qn_submit", c + "/cgi-bin/ml/qn_submit"),
(0,
a.default)(r, "default_account_init", c + "/cgi-bin/ml/deacct_verify_init"),
(0,
a.default)(r, "deacct_verify_sendcode", c + "/cgi-bin/ml/deacct_verify_sendcode"),
(0,
a.default)(r, "deacct_verify_checkcode", c + "/cgi-bin/ml/deacct_verify_checkcode"),
(0,
a.default)(r, "deacct_verify_cover", c + "/cgi-bin/ml/deacct_verify_cover"),
(0,
a.default)(r, "deacct_upgrade_init", c + "/cgi-bin/ml/deacct_upgrade_init"),
(0,
a.default)(r, "deacct_upgrade_sendcode", c + "/cgi-bin/ml/deacct_upgrade_sendcode"),
(0,
a.default)(r, "deacct_upgrade_checkcode", c + "/cgi-bin/ml/deacct_upgrade_checkcode"),
(0,
a.default)(r, "deacct_upgrade_cover", c + "/cgi-bin/ml/deacct_upgrade_cover"),
(0,
a.default)(r, "auth_code_verify", c + "/cgi-bin/ml/auth_code_verify"),
(0,
a.default)(r, "interactive_voice_receive", c + "/cgi-bin/ml/interactive_voice_receive"),
(0,
a.default)(r, "interactive_voice_confirm", c + "/cgi-bin/ml/interactive_voice_confirm"),
r),
changebind: {
appealInit: c + "/cgi-bin/ml/get_appeal_info",
get_param: c + "/cgi-bin/ml/rebind_entrancev2",
rebind_phone_sendsms: c + "/cgi-bin/ml/rebind_phone_sendsms",
rebind_phone_verify: c + "/cgi-bin/ml/rebind_phone_verifyv2",
history_rebind_sendsms: c + "/cgi-bin/ml/history_rebind_sendsms",
history_rebind_verify: c + "/cgi-bin/ml/history_rebind_verifyv2",
email_rebind_sendsms: c + "/cgi-bin/ml/email_rebind_sendsms",
email_rebind_verify: c + "/cgi-bin/ml/email_rebind_verifyv2",
rebind_select: c + "/cgi-bin/ml/rebind_selectv2",
set_loginstate: c + "/cgi-bin/ml/set_loginstate",
get_index_param: c + "/cgi-bin/ml/qa_need_rebind_entrance",
rebind_qa_verify: c + "/cgi-bin/ml/qa_need_rebind"
},
mreg: {
m_mrge_home: c + "/cgi-bin/m/mreg",
breg_get_data: c + "/cgi-bin/ml/breginit",
breg_get_sid: c + "/cgi-bin/mm/jcapsid",
breg_sendsms: c + "/cgi-bin/ml/breg_sendsms",
breg_register: c + "/cgi-bin/ml/breg_register",
breg_checkname: c + "/cgi-bin/ml/breg_checkname",
mreg_get_data: c + "/cgi-bin/mm/mreginit",
mreg_get_sid: c + "/cgi-bin/mm/jcapsid",
docheckphone: c + "/cgi-bin/mm/docheckphone",
dosendmsgcode: c + "/cgi-bin/mm/dosendmsgcode",
docheckcode: c + "/cgi-bin/mm/docheckcode",
domreg: c + "/cgi-bin/mm/domreg"
},
thirdApp: {
getJumpUrl: c + "/cgi-bin/ml/thirdapp_jmp"
}
},
page: {
logout: {
unbindwx: "/unbind/wx"
},
changebind: {
bind: "/changebind/bind/sms",
EMAIL: "/changebind/unbind/mail",
HISTORY_MOBILE: "/changebind/unbind/historymobile",
HELP_PAGE: "/changebind/noset",
ADD_CARDS: "https://msc.jd.com/card/loginpage/wcoo/toAddNewCardPage",
SELECT_PAGE: "/changebind/select",
INDEX_PAGE: "/changebind/index",
FACE_ID_UPDATE_MOBILE: "/changebind/userid",
wx_redirect: s + "/cgi-bin/ml/wxapp_redirect"
},
app: {
ios_login: "http://wjlogina?status=true&action=login",
android_login: "regist.openApp.jdMobile://communication"
},
login: {
login_page: s + "/user/login.action",
dispatch: "https://appeal.jd.com/dispatch"
},
joinlogin: {
bind: "/joinlogin/bind",
pwd: "/joinlogin/pwd"
},
findpwd: {
MOBILE: "/findpwd/sendmobile",
MOBILE_AND_HISTORY_NAME: "/findpwd/receivename",
MOBILE_AND_ID: "/findpwd/userid",
EMAIL: "/findpwd/sendemail",
SECRET_QUESTION: "/findpwd/questions",
FACE_ID: "",
BANK_CARD: "",
EMAIL_AND_CARDS: "/findpwd/bankcard"
},
findPassword: {
FINDPWD_INDEX: s + "/cgi-bin/m/mfindpwd"
},
risk: {
CLICK_CODE: "/h5/risk/captcha",
BIND_MOBILE: "/h5/risk/bind",
VOICE_MESSAGE: "/h5/risk/voice",
DANGEROUS_DOWN: "/h5/risk/sms",
REST_PASSWORD_MOBILE: "/h5/risk/sms",
REST_PASSWORD_BIND_MOBILE: "/h5/risk/bind",
HISTORY_NAME: "/h5/risk/historyname",
USER_ID: "/h5/risk/userid",
DANGEROUS_UP: "/h5/risk/muplink",
PASSWORD: "/h5/risk/password",
HISTORY_DEVICE: "/h5/risk/historydevice",
ENTERPRISE_AND_HISTORY_NAME: "/h5/risk/enterprisename",
CORPORATE_ID: "/h5/risk/corpid",
INTERACTIVE_VOICE_MESSAGE: "/h5/risk/voiceconfirm",
AUTHORIZATION_CODE: "/h5/risk/authcode"
},
findpwdEventParam: ["FACE_ID", "SECRET_QUESTION", "MOBILE_AND_ID", "MOBILE_AND_HISTORY_NAME", "EMAIL_AND_CARDS", "MOBILE", "EMAIL"]
}
}
},
CZPm: function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this
, e = t.$createElement
, n = t._self._c || e;
return t.showAlert ? n("div", {
staticClass: "alert",
attrs: {
tabindex: "0",
role: "alert",
"aria-live": "assertive",
"aria-describedby": "alertMsg"
}
}, [n("div", {
staticClass: "alert-body"
}, [n("p", {
staticClass: "alert-des",
attrs: {
id: "alertMsg"
}
}, [t._v(t._s(t.message))]), t._v(" "), n("div", {
staticClass: "alert-sure",
on: {
click: function (e) {
t.showAlert = !1
}
}
}, [t._v(t._s(t.btn))])])]) : t._e()
},
staticRenderFns: []
};
e.a = i
},
DF48: function (t, e, n) {
"use strict";
var i = o(n("7+uW"))
, r = o(n("O/fo"));
function o(t) {
return t && t.__esModule ? t : {
default: t
}
}
var a = i.default.extend(r.default);
i.default.prototype.$jdprotocol = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, e = new a({
el: document.createElement("div"),
data: t
});
return i.default.nextTick(function () {
e.visible = !0
}),
document.body.appendChild(e.$el),
e
}
},
EJYC: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}),
e.getErrorMsg = e.initDra = e.expLog = e.errLog = e.badJsLog = void 0;
var i, r = n("mvHQ"), o = (i = r) && i.__esModule ? i : {
default: i
}, a = n("DBy0"), s = n("uOP5");
function c(t) {
try {
var e = t.type
, n = void 0 === e ? s.JSAGENT_EXCEPTION_TYPE.code : e
, i = t.code
, r = void 0 === i ? -1 : i
, o = t.message
, a = void 0 === o ? "" : o
, c = t.extra
, u = t.level
, l = void 0 === u ? 3 : u;
t.moduleId;
a && -1 != r && (0,
s.jsagentReport)(n, r, a, c, l)
} catch (t) {
}
}
function u(t, e) {
return Object.prototype.toString.call(t) === "[object " + e + "]"
}
e.badJsLog = function (t, e, n, i) {
return c({
type: s.JSAGENT_EXCEPTION_TYPE.code,
level: n,
code: t,
message: e,
extra: i
})
}
,
e.errLog = function (t) {
}
,
e.expLog = function (t, e, n, i) {
return c({
type: s.JSAGENT_EXCEPTION_TYPE.business,
code: t,
message: e,
extra: i,
level: n
})
}
,
e.initDra = function () {
try {
window.console.warn = function () {
}
,
(0,
s.jsagentInit)({
flag: 964,
autoReport: !1
}),
(0,
a.profilerInit)({
flag: 964,
autoReport: !0
})
} catch (t) {
}
}
,
e.getErrorMsg = function (t) {
return u(t, "Number") || u(t, "String") && /^\d+$/g.test(t) ? (0,
o.default)({
code: t,
type: "String",
message: t
}) : u(t, "Object") ? (0,
o.default)({
type: "Object",
code: t.err_code || t.errcode || t.errCode || -7011,
message: t.err_msg || t.errmsg || t.errMsg || t.message || "未知异常"
}) : u(t, "Error") ? (0,
o.default)({
code: -7011,
type: "Error",
message: t.message
}) : (0,
o.default)({
code: -7011,
type: "Unknown",
message: "未知系统异常"
})
}
},
FAvQ: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = o(n("7+uW"))
, r = o(n("SOQt"));
function o(t) {
return t && t.__esModule ? t : {
default: t
}
}
var a = [];
function s() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, e = function () {
var t = new (i.default.extend(r.default))({
el: document.createElement("div")
});
return document.body.appendChild(t.$el),
a.push(t),
t
}();
t && t.title && (e.title = t.title),
e.message = "string" == typeof t ? t : t.message,
e.cancel = "string" == typeof t ? t : t.cancel,
e.sure = "string" == typeof t ? t : t.sure,
e.url = "string" == typeof t ? t : t.url,
e.className = "string" == typeof t ? t : t.className,
e.sureEventId = t.sureEventId ? t.sureEventId : null,
e.cancelEventId = t.cancelEventId ? t.cancelEventId : null,
e.sureCallback = t.sureCallback ? t.sureCallback : null,
e.position = "middle",
e.message && (e.showDialog = !0)
}
i.default.prototype.$dialog = s,
e.default = s
},
"G59/": function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}),
e.default = {
props: {
message: String,
timer: Number
},
data: function () {
return {
showToast: !1
}
},
methods: {
show: function (t, e) {
var n = this;
this.message = t,
this.showToast = !0,
setTimeout(function () {
n.showToast = !1
}, e || 2e3)
}
}
}
},
H9HH: function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this
, e = t.$createElement
, n = t._self._c || e;
return n("div", {
directives: [{
name: "show",
rawName: "v-show",
value: t.visible,
expression: "visible"
}],
staticClass: "mask"
}, [n("div", {
staticClass: "protocol-wrap"
}, [n("div", {
staticClass: "header"
}, [t._v(t._s(t.language.code1))]), t._v(" "), n("div", {
staticClass: "content"
}, [n("p", [t._v("\n " + t._s(t.language.code2) + "\n "), n("span", {
staticClass: "important-tip"
}, [t._v(t._s(t.language.code3))])]), t._v(" "), n("p", {
staticClass: "link-tip"
}, [n("a", {
attrs: {
href: t.register_service
}
}, [t._v(t._s(t.language.code4))])]), t._v(" "), n("p", {
staticClass: "link-tip"
}, [n("a", {
attrs: {
href: t.private_policy
}
}, [t._v(t._s(t.language.code5))])]), t._v(" "), n("p", {
staticClass: "link-tip"
}, [n("a", {
attrs: {
href: "https://in.m.jd.com/help/app/order_sharing_info.html"
}
}, [t._v(t._s(t.language.code6))])]), t._v(" "), t._l(t.agreement, function (e, i) {
return n("p", {
key: i,
staticClass: "link-tip"
}, [n("a", {
attrs: {
href: e.url
}
}, [t._v("《" + t._s(e.name) + "》")])])
}), t._v(" "), n("p", [n("span", {
staticClass: "important-tip"
}, [t._v(t._s(t.language.code7))]), t._v("\n " + t._s(t.language.code8) + "\n ")])], 2), t._v(" "), n("div", {
staticClass: "footer"
}, [n("div", {
staticClass: "protocol-notice"
}, [t.agreement && t.agreement.length > 0 ? n("span", [t._v("\n " + t._s(t.language.code9) + "\n "), n("a", {
attrs: {
href: t.register_service
}
}, [t._v(t._s(t.language.code4))]), t._v("、 "), n("a", {
attrs: {
href: t.private_policy
}
}, [t._v(t._s(t.language.code5))]), t._v("、\n "), t._l(t.agreement, function (e, i) {
return n("span", {
key: i
}, [n("a", {
attrs: {
href: e.url
}
}, [t._v("《" + t._s(e.name) + "》")]), t._v("、\n ")])
}), t._v("\n " + t._s(t.language.code10) + "\n "), n("a", {
attrs: {
href: "https://in.m.jd.com/help/app/order_sharing_info.html"
}
}, [t._v(t._s(t.language.code6))])], 2) : n("span", [t._v("\n " + t._s(t.language.code9) + "\n "), n("a", {
attrs: {
href: t.register_service
}
}, [t._v(t._s(t.language.code4))]), t._v(t._s(t.language.code11) + "\n "), n("a", {
attrs: {
href: t.private_policy
}
}, [t._v(t._s(t.language.code5))]), t._v("\n " + t._s(t.language.code10) + "\n "), n("a", {
attrs: {
href: "https://in.m.jd.com/help/app/order_sharing_info.html"
}
}, [t._v(t._s(t.language.code6))])])]), t._v(" "), n("div", {
staticClass: "btn-wrap"
}, [n("a", {
staticClass: "protocol-btn",
attrs: {
href: "javascript:void(0);"
},
on: {
click: function (e) {
return t.disagree()
}
}
}, [t._v(t._s(t.language.code12))]), t._v(" "), n("a", {
staticClass: "protocol-btn agreement",
attrs: {
href: "javascript:void(0);"
},
on: {
click: function (e) {
return t.agree()
}
}
}, [t._v(t._s(t.language.code13))])])])])])
},
staticRenderFns: []
};
e.a = i
},
IcnI: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = a(n("7+uW"))
, r = a(n("NYxO"))
, o = a(n("b9EL"));
function a(t) {
return t && t.__esModule ? t : {
default: t
}
}
i.default.use(r.default);
e.default = new r.default.Store({
modules: {
mreg: o.default
},
strict: !1
})
},
JRFa: function (t, e) {
},
KGnT: function (t, e) {
},
KXnS: function (t, e) {
},
M2u5: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("sf/l");
e.default = {
props: {
title: String,
btnStatus: !1,
className: String,
message: String,
cancel: String,
sure: String,
url: String,
sureEventId: String,
cancelEventId: String,
sureCallback: Function
},
data: function () {
return {
showDialog: !1
}
},
watch: {
btnStatus: {
handler: function (t, e) {
this.btnStatus ? (this.sureEventId && (0,
i.mdUpdata)(this.sureEventId),
this.sureCallback ? (this.showDialog = !1,
this.sureCallback()) : location.href = this.url) : (this.cancelEventId && (0,
i.mdUpdata)(this.cancelEventId),
this.showDialog = !1)
}
}
},
method: {}
}
},
M93x: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("xJD8")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("cr7g")
, s = n("VU/8")(r.a, a.a, !1, null, null, null);
e.default = s.exports
},
NHnr: function (t, e, n) {
"use strict";
var i = d(n("7+uW"))
, r = d(n("M93x"))
, o = d(n("g71Q"))
, a = d(n("YaEn"))
, s = d(n("IcnI"));
n("QXXZ"),
n("JRFa"),
n("2KIr"),
n("KXnS"),
n("j1ja");
d(n("FAvQ"));
var c = d(n("kXIC"))
, u = d(n("qJdI"))
, l = d(n("DF48"));
function d(t) {
return t && t.__esModule ? t : {
default: t
}
}
(0,
n("EJYC").initDra)(),
i.default.config.productionTip = !1,
i.default.use(o.default),
i.default.use(u.default),
i.default.use(l.default),
i.default.use(c.default),
i.default.directive("focus", {
inserted: function (t) {
t.focus()
}
});
var h = new i.default({
el: "#app",
router: a.default,
store: s.default,
components: {
App: r.default
},
template: "<App/>"
});
i.default.use({
vm: h
})
},
"O/fo": function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("zpHP")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("H9HH");
var s = function (t) {
n("dJc8")
}
, c = n("VU/8")(r.a, a.a, !1, s, "data-v-fcbe1966", null);
e.default = c.exports
},
QXXZ: function (t, e, n) {
"use strict";
var i, r = n("7+uW");
((i = r) && i.__esModule ? i : {
default: i
}).default.directive("reset-input", {
inserted: function (t) {
t.__reset_input_handler = function () {
setTimeout(function () {
window.scrollTo(0, 0)
}, 0)
}
,
t.addEventListener("blur", t.__reset_input_handler)
},
unbind: function (t) {
t.removeEventListener("blur", t.__reset_input_handler),
delete t.__reset_input_handler
}
})
},
SOQt: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("M2u5")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("ba8H");
var s = function (t) {
n("uMX4")
}
, c = n("VU/8")(r.a, a.a, !1, s, "data-v-a75d538a", null);
e.default = c.exports
},
XV04: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("nFMo")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("dhwU");
var s = function (t) {
n("z9tr")
}
, c = n("VU/8")(r.a, a.a, !1, s, "data-v-dfb45b2a", null);
e.default = c.exports
},
YaEn: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i, r, o, a = l(n("bOdI")), s = l(n("7+uW")), c = l(n("/ocq")), u = n("sf/l");
function l(t) {
return t && t.__esModule ? t : {
default: t
}
}
s.default.use(c.default);
var d = {
chs: (i = {
"country-picker": "选择国家或地区",
login: "京东登录注册",
history: "历史收货人",
errMessage: "错误页",
"findpwd-method": "身份验证",
"findpwd-userid": "身份证号验证",
"findpwd-title": "忘记密码",
"select-pin": "选择账号",
"risk-bind": "绑定手机号",
"risk-setpwd": "重置密码",
"risk-voice": "手机语音验证",
"risk-sms": "手机短信验证",
"risk-select": "认证魔方",
"risk-captcha": "智能认证",
"risk-historyname": "历史收货人验证",
"risk-historydevice": "设备验证",
"risk-userid": "身份证号验证",
"changebind-select": "身份验证",
"changebind-sms": "绑定新手机号",
"changebind-historymobile": "历史收货人手机号",
"changebind-mail": "邮箱验证",
"changebind-noset": "联系客服",
"changebind-index": "修改手机号",
"changebind-userid": "身份验证",
"app-qa": "登录帮助",
muplink: "发送短信验证",
password: "密码验证",
"rename-login-name": "重置账号名",
question: "问卷调查",
"mreg-company": "企业用户注册",
mreg: "京东注册",
"joinlogin-bind": "联合登录",
"joinlogin-pwd": "联合登录",
"joinlogin-verify": "联合登录",
upgrade: "账号升级",
"upgrade-tips": "账号升级提示",
corpid: "认证魔方"
},
(0,
a.default)(i, "app-qa", "登录帮助"),
(0,
a.default)(i, "enterprisename", "认证魔方"),
(0,
a.default)(i, "bindpop", "绑定手机号"),
(0,
a.default)(i, "bind", "账号升级"),
(0,
a.default)(i, "confirm", "账号绑定确认"),
(0,
a.default)(i, "conflict", "账号冲突"),
(0,
a.default)(i, "re-register", "重新注册"),
(0,
a.default)(i, "deactivate", "账号已注销"),
(0,
a.default)(i, "loginHelp", "登录帮助"),
(0,
a.default)(i, "registerHelp", "注册帮助"),
(0,
a.default)(i, "findAccount", "京东找回账号名"),
(0,
a.default)(i, "findJrAccount", "京东金融找回账号名"),
(0,
a.default)(i, "thirdappjmp", "登录授权"),
(0,
a.default)(i, "voiceconfirm", "语音验证"),
(0,
a.default)(i, "wqrisk", "跳转京东APP验证"),
(0,
a.default)(i, "unbindwx", "解绑微信绑定"),
(0,
a.default)(i, "risk-authcode", "授权码验证"),
i),
eng: (r = {
"country-picker": "Select Country or Region",
login: "JD Login/Register",
history: "Historical Recipients",
errMessage: "Error Page",
"findpwd-method": "Identity verification",
"findpwd-userid": "ID Card verification",
"findpwd-title": "Forget password",
"select-pin": "Select account",
"risk-bind": "JD Auth",
"risk-setpwd": "JD Auth",
"risk-voice": "JD Auth",
"risk-sms": "JD Auth",
"risk-select": "JD Auth",
"risk-captcha": "JD Auth",
"risk-historyname": "JD Auth",
"risk-historydevice": "JD Auth",
"risk-userid": "JD Auth",
"changebind-select": "Identity verification",
"changebind-sms": "Link new phone number",
"changebind-historymobile": "Past recipient number",
"changebind-mail": "Email verification",
"changebind-noset": "Contact Customer Service",
"changebind-index": "Change Mobile Number",
"changebind-userid": "Identity verification",
"app-qa": "Login Help",
muplink: "JD Auth",
password: "JD Auth",
"rename-login-name": "JD Auth",
question: "Questionnaire Survey",
"mreg-company": "Enterprise User Registration",
mreg: "JD Registration",
"joinlogin-bind": "Joint Login",
"joinlogin-pwd": "Joint Login",
"joinlogin-verify": "Joint Login",
upgrade: "Account Upgrade",
"upgrade-tips": "Account Upgrade Tips",
corpid: "JD Auth"
},
(0,
a.default)(r, "app-qa", "Login Help"),
(0,
a.default)(r, "enterprisename", "JD Auth"),
(0,
a.default)(r, "bindpop", "JD Auth"),
(0,
a.default)(r, "bind", "Account Upgrade"),
(0,
a.default)(r, "confirm", "Account Binding Confirmation"),
(0,
a.default)(r, "conflict", "Account Conflict"),
(0,
a.default)(r, "re-register", "Re-register"),
(0,
a.default)(r, "deactivate", "Account Deactivated"),
(0,
a.default)(r, "loginHelp", "Login Help"),
(0,
a.default)(r, "registerHelp", "Registration Help"),
(0,
a.default)(r, "findAccount", "Retrieve JD.COM Account Name"),
(0,
a.default)(r, "findJrAccount", "Retrieve JD Financial Account Name"),
(0,
a.default)(r, "thirdappjmp", "Login Authorization"),
(0,
a.default)(r, "voiceconfirm", "Voice verification"),
(0,
a.default)(r, "unbindwx", "Unbind WeChat account"),
(0,
a.default)(r, "wqrisk", "JD Auth"),
(0,
a.default)(r, "risk-authcode", "JD Auth"),
r),
cht: (o = {
"country-picker": "選擇國家或地區",
login: "京东登錄註冊",
history: "歷史收貨人",
errMessage: "錯誤頁",
"findpwd-method": "身份驗證",
"findpwd-userid": "身份證號驗證",
"findpwd-title": "忘記密碼",
"select-pin": "選擇帳號",
"risk-bind": "綁定手機號",
"risk-setpwd": "重置密碼",
"risk-voice": "手機語音驗證",
"risk-sms": "手機短信驗證",
"risk-select": "認證魔方",
"risk-captcha": "智能認證",
"risk-historyname": "歷史收貨人驗證",
"risk-historydevice": "設備驗證",
"risk-userid": "身份證號驗證",
"changebind-select": "身份驗證",
"changebind-sms": "綁定新手機號",
"changebind-historymobile": "歷史收貨人手機號",
"changebind-mail": "郵箱驗證",
"changebind-noset": "聯繫客服",
"changebind-index": "修改手機號",
"changebind-userid": "身份驗證",
"app-qa": "登錄幫助",
muplink: "發送短信驗證",
password: "密碼驗證",
"rename-login-name": "重置帳號名",
question: "問卷調查",
"mreg-company": "企業用戶註冊",
mreg: "京东註冊",
"joinlogin-bind": "聯合登錄",
"joinlogin-pwd": "聯合登錄",
"joinlogin-verify": "聯合登錄",
upgrade: "帳號升級",
"upgrade-tips": "帳號升級提示",
corpid: "認證魔方"
},
(0,
a.default)(o, "app-qa", "登錄幫助"),
(0,
a.default)(o, "enterprisename", "認證魔方"),
(0,
a.default)(o, "bindpop", "綁定手機號"),
(0,
a.default)(o, "bind", "帳號升級"),
(0,
a.default)(o, "confirm", "帳號綁定確認"),
(0,
a.default)(o, "conflict", "帳號衝突"),
(0,
a.default)(o, "re-register", "重新註冊"),
(0,
a.default)(o, "deactivate", "帳號已註銷"),
(0,
a.default)(o, "loginHelp", "登錄幫助"),
(0,
a.default)(o, "registerHelp", "註冊幫助"),
(0,
a.default)(o, "findAccount", "京东找回帳號名"),
(0,
a.default)(o, "findJrAccount", "京东金融找回帳號名"),
(0,
a.default)(o, "thirdappjmp", "登錄授權"),
(0,
a.default)(o, "voiceconfirm", "語音驗證"),
(0,
a.default)(o, "wqrisk", "跳轉京東APP驗證"),
(0,
a.default)(o, "unbindwx", "解綁微信綁定"),
(0,
a.default)(o, "risk-authcode", "授權碼認證"),
o)
}
, h = d[u.lang] || d.chs
, f = new c.default({
mode: "history",
routes: [{
meta: {
title: h.history
},
name: "/common/history-name",
path: "/common/history-name",
component: function (t) {
return Promise.all([n.e(0), n.e(59)]).then(function () {
var e = [n("iu9+")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["country-picker"]
},
name: "/common/country-picker",
path: "/common/country-picker",
component: function (t) {
return Promise.all([n.e(0), n.e(61)]).then(function () {
var e = [n("SjFc")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.login
},
name: "/login/login",
path: "/login/login",
component: function (t) {
return Promise.all([n.e(0), n.e(5)]).then(function () {
var e = [n("QrVH")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.errMessage
},
name: "/common/error-page",
path: "/common/error-page",
component: function (t) {
return Promise.all([n.e(0), n.e(60)]).then(function () {
var e = [n("KsCT")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.login
},
name: "/login/nopassword",
path: "/login/nopassword",
component: function (t) {
return Promise.all([n.e(0), n.e(46)]).then(function () {
var e = [n("9kup")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.login
},
name: "/login/nopasswordcmcc",
path: "/login/nopasswordcmcc",
component: function (t) {
return Promise.all([n.e(0), n.e(45)]).then(function () {
var e = [n("2Fmv")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.login
},
name: "/login/nopasswordcu",
path: "/login/nopasswordcu",
component: function (t) {
return Promise.all([n.e(0), n.e(44)]).then(function () {
var e = [n("q0IF")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["re-register"]
},
name: "/recover-account/verify-mobile",
path: "/recover-account/verify-mobile",
component: function (t) {
return Promise.all([n.e(0), n.e(14)]).then(function () {
var e = [n("twgk")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["re-register"]
},
name: "/recover-account/reregister",
path: "/recover-account/reregister",
component: function (t) {
return Promise.all([n.e(0), n.e(15)]).then(function () {
var e = [n("QtD3")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.deactivate
},
name: "/recover-account/recover",
path: "/recover-account/recover",
component: function (t) {
return n.e(22).then(function () {
var e = [n("LifD")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.loginHelp
},
name: "/help/phone-login-help",
path: "/help/phone-login-help",
component: function (t) {
return n.e(1).then(function () {
var e = [n("d+SR")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.loginHelp
},
name: "/help/other-login-help",
path: "/help/other-login-help",
component: function (t) {
return n.e(1).then(function () {
var e = [n("d+SR")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.loginHelp
},
name: "/help/register-help",
path: "/help/register-help",
component: function (t) {
return n.e(1).then(function () {
var e = [n("d+SR")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: u.isJDJR ? h.findJrAccount : h.findAccount
},
name: "/finance/find-account/verify",
path: "/finance/find-account/verify",
component: function (t) {
return n.e(7).then(function () {
var e = [n("kDce")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: u.isJDJR ? h.findJrAccount : h.findAccount
},
name: "/finance/find-account/complete",
path: "/finance/find-account/complete",
component: function (t) {
return Promise.all([n.e(0), n.e(2)]).then(function () {
var e = [n("3hZk")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/index",
path: "/findpwd/index",
component: function (t) {
return Promise.all([n.e(0), n.e(58)]).then(function () {
var e = [n("RNtZ")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["select-pin"]
},
name: "/findpwd/pinList",
path: "/findpwd/pinList",
component: function (t) {
return Promise.all([n.e(0), n.e(56)]).then(function () {
var e = [n("fiN5")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-method"]
},
name: "/findpwd/findmethod",
path: "/findpwd/findmethod",
component: function (t) {
return Promise.all([n.e(0), n.e(4)]).then(function () {
var e = [n("+jy6")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/sendemail",
path: "/findpwd/sendemail",
component: function (t) {
return Promise.all([n.e(0), n.e(25)]).then(function () {
var e = [n("aJ5m")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/sendmobile",
path: "/findpwd/sendmobile",
component: function (t) {
return Promise.all([n.e(0), n.e(53)]).then(function () {
var e = [n("vcpn")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/receivename",
path: "/findpwd/receivename",
component: function (t) {
return Promise.all([n.e(0), n.e(54)]).then(function () {
var e = [n("Yl2s")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/noset",
path: "/findpwd/noset",
component: function (t) {
return Promise.all([n.e(0), n.e(57)]).then(function () {
var e = [n("M/wS")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/setpwd",
path: "/findpwd/setpwd",
component: function (t) {
return Promise.all([n.e(0), n.e(52)]).then(function () {
var e = [n("nHjk")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/userid",
path: "/findpwd/userid",
component: function (t) {
return Promise.all([n.e(0), n.e(24)]).then(function () {
var e = [n("T+U8")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/questions",
path: "/findpwd/questions",
component: function (t) {
return Promise.all([n.e(0), n.e(55)]).then(function () {
var e = [n("myPp")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["findpwd-title"]
},
name: "/findpwd/bankcard",
path: "/findpwd/bankcard",
component: function (t) {
return Promise.all([n.e(0), n.e(6)]).then(function () {
var e = [n("klBi")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-bind"]
},
name: "/h5/risk/bind",
path: "/h5/risk/bind",
component: function (t) {
return Promise.all([n.e(0), n.e(13)]).then(function () {
var e = [n("fvoq")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-setpwd"]
},
name: "/h5/risk/setpwd",
path: "/h5/risk/setpwd",
component: function (t) {
return Promise.all([n.e(0), n.e(31)]).then(function () {
var e = [n("vMpf")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-voice"]
},
name: "/h5/risk/voice",
path: "/h5/risk/voice",
component: function (t) {
return Promise.all([n.e(0), n.e(16)]).then(function () {
var e = [n("rzJN")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.voiceconfirm
},
name: "/h5/risk/voiceconfirm",
path: "/h5/risk/voiceconfirm",
component: function (t) {
return Promise.all([n.e(0), n.e(30)]).then(function () {
var e = [n("zMM7")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-sms"]
},
name: "/h5/risk/sms",
path: "/h5/risk/sms",
component: function (t) {
return Promise.all([n.e(0), n.e(18)]).then(function () {
var e = [n("XBdm")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-select"]
},
name: "/h5/risk/select",
path: "/h5/risk/select",
component: function (t) {
return Promise.all([n.e(0), n.e(3)]).then(function () {
var e = [n("yN/0")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-setpwd"]
},
name: "/h5/risk/captcha",
path: "/h5/risk/captcha",
component: function (t) {
return Promise.all([n.e(0), n.e(20)]).then(function () {
var e = [n("BiAx")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-historyname"]
},
name: "/h5/risk/historyname",
path: "/h5/risk/historyname",
component: function (t) {
return Promise.all([n.e(0), n.e(19)]).then(function () {
var e = [n("ywX+")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-userid"]
},
name: "/h5/risk/userid",
path: "/h5/risk/userid",
component: function (t) {
return Promise.all([n.e(0), n.e(17)]).then(function () {
var e = [n("Q8uk")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-historydevice"]
},
name: "/h5/risk/historydevice",
path: "/h5/risk/historydevice",
component: function (t) {
return Promise.all([n.e(0), n.e(36)]).then(function () {
var e = [n("mlak")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.muplink
},
name: "/h5/risk/muplink",
path: "/h5/risk/muplink",
component: function (t) {
return Promise.all([n.e(0), n.e(35)]).then(function () {
var e = [n("zAXv")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.password
},
name: "/h5/risk/password",
path: "/h5/risk/password",
component: function (t) {
return Promise.all([n.e(0), n.e(34)]).then(function () {
var e = [n("eZFz")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.wqrisk
},
name: "/h5/risk/wqrisk",
path: "/h5/risk/wqrisk",
component: function (t) {
return Promise.all([n.e(0), n.e(29)]).then(function () {
var e = [n("OieG")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["rename-login-name"]
},
name: "/h5/risk/rename-login-name",
path: "/h5/risk/rename-login-name",
component: function (t) {
return Promise.all([n.e(0), n.e(32)]).then(function () {
var e = [n("ap06")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.question
},
name: "/h5/risk/question",
path: "/h5/risk/question",
component: function (t) {
return Promise.all([n.e(0), n.e(33)]).then(function () {
var e = [n("7ASO")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.corpid
},
name: "/h5/risk/corpid",
path: "/h5/risk/corpid",
component: function (t) {
return Promise.all([n.e(0), n.e(40)]).then(function () {
var e = [n("hdcB")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.enterprisename
},
name: "/h5/risk/enterprisename",
path: "/h5/risk/enterprisename",
component: function (t) {
return Promise.all([n.e(0), n.e(11)]).then(function () {
var e = [n("MVOx")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.bindpop
},
name: "/h5/risk/bindpop",
path: "/h5/risk/bindpop",
component: function (t) {
return Promise.all([n.e(0), n.e(12)]).then(function () {
var e = [n("5nxK")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-bind"]
},
name: "/h5/risk/default-account/bind",
path: "/h5/risk/default-account/bind",
component: function (t) {
return Promise.all([n.e(0), n.e(39)]).then(function () {
var e = [n("A2cb")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.upgrade
},
name: "/h5/risk/default-account/upgrade",
path: "/h5/risk/default-account/upgrade",
component: function (t) {
return Promise.all([n.e(0), n.e(38)]).then(function () {
var e = [n("Rylo")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["upgrade-tips"]
},
name: "/default-account/upgrade-tips",
path: "/default-account/upgrade-tips",
component: function (t) {
return n.e(37).then(function () {
var e = [n("4IFA")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-select"]
},
name: "/changebind/select",
path: "/changebind/select",
component: function (t) {
return Promise.all([n.e(0), n.e(27)]).then(function () {
var e = [n("4Lv4")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-historymobile"]
},
name: "/changebind/unbind/historymobile",
path: "/changebind/unbind/historymobile",
component: function (t) {
return Promise.all([n.e(0), n.e(63)]).then(function () {
var e = [n("Gdq9")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-mail"]
},
name: "/changebind/unbind/mail",
path: "/changebind/unbind/mail",
component: function (t) {
return Promise.all([n.e(0), n.e(26)]).then(function () {
var e = [n("mcoD")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-noset"]
},
name: "/changebind/noset",
path: "/changebind/noset",
component: function (t) {
return Promise.all([n.e(0), n.e(64)]).then(function () {
var e = [n("gZrM")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-sms"]
},
name: "/changebind/bind/sms",
path: "/changebind/bind/sms",
component: function (t) {
return Promise.all([n.e(0), n.e(66)]).then(function () {
var e = [n("tDPV")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-index"]
},
name: "/changebind/index",
path: "/changebind/index",
component: function (t) {
return Promise.all([n.e(0), n.e(65)]).then(function () {
var e = [n("QXJu")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["changebind-userid"]
},
name: "/changebind/userid",
path: "/changebind/userid",
component: function (t) {
return n.e(62).then(function () {
var e = [n("gjtZ")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["mreg-company"]
},
name: "/mreg/company",
path: "/mreg/company",
component: function (t) {
return Promise.all([n.e(0), n.e(8)]).then(function () {
var e = [n("n3CA")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.mreg
},
name: "/mreg/setpwd",
path: "/mreg/setpwd",
component: function (t) {
return Promise.all([n.e(0), n.e(42)]).then(function () {
var e = [n("izQj")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.mreg
},
name: "/mreg/sms",
path: "/mreg/sms",
component: function (t) {
return Promise.all([n.e(0), n.e(23)]).then(function () {
var e = [n("70F4")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.mreg
},
name: "/mreg/unbind",
path: "/mreg/unbind",
component: function (t) {
return Promise.all([n.e(0), n.e(41)]).then(function () {
var e = [n("FA0X")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.mreg
},
name: "/mreg/index",
path: "/mreg/index",
component: function (t) {
return Promise.all([n.e(0), n.e(43)]).then(function () {
var e = [n("xGDb")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-bind"]
},
name: "/joinlogin/bind",
path: "/joinlogin/bind",
component: function (t) {
return Promise.all([n.e(0), n.e(9)]).then(function () {
var e = [n("rGMx")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-pwd"]
},
name: "/joinlogin/pwd",
path: "/joinlogin/pwd",
component: function (t) {
return Promise.all([n.e(0), n.e(48)]).then(function () {
var e = [n("dEEa")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-verify"]
},
name: "/joinlogin/verify",
path: "/joinlogin/verify",
component: function (t) {
return Promise.all([n.e(0), n.e(47)]).then(function () {
var e = [n("+PfJ")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-verify"]
},
name: "/joinlogin/nopassword",
path: "/joinlogin/nopassword",
component: function (t) {
return Promise.all([n.e(0), n.e(51)]).then(function () {
var e = [n("tyKE")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-verify"]
},
name: "/joinlogin/nopasswordcmcc",
path: "/joinlogin/nopasswordcmcc",
component: function (t) {
return Promise.all([n.e(0), n.e(50)]).then(function () {
var e = [n("ZXIK")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["joinlogin-verify"]
},
name: "/joinlogin/nopasswordcu",
path: "/joinlogin/nopasswordcu",
component: function (t) {
return Promise.all([n.e(0), n.e(49)]).then(function () {
var e = [n("IPoP")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.thirdappjmp
},
name: "/thirdappjmp/index",
path: "/thirdappjmp/index",
component: function (t) {
return n.e(28).then(function () {
var e = [n("7qid")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h["risk-authcode"]
},
name: "/h5/risk/authcode",
path: "/h5/risk/authcode",
component: function (t) {
return Promise.all([n.e(0), n.e(21)]).then(function () {
var e = [n("+99o")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}, {
meta: {
title: h.unbindwx
},
name: "/unbind/wx",
path: "/unbind/wx",
component: function (t) {
return Promise.all([n.e(0), n.e(10)]).then(function () {
var e = [n("39a+")];
t.apply(null, e)
}
.bind(this)).catch(n.oe)
}
}],
scrollBehavior: function (t, e, n) {
return n || {
x: 0,
y: 0
}
}
});
f.afterEach(function (t) {
document.title = (0,
u.getRequest)().title || t.meta.title
}),
e.default = f
},
b9EL: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("BK/k")
, r = {
mail_mobile: "",
country_code: 86,
mregParams: {},
jd_account: "",
profile_url: "",
mregServicePhone: i.config.servicePhone,
noticeMobile: ""
}
, o = {
updateData: function (t, e) {
var n = e.mail_mobile
, r = e.country_code
, o = e.mregParams
, a = e.jd_account
, s = e.profile_url;
t.mail_mobile = n || "",
t.country_code = r || 86,
t.mregParams = o || {},
t.jd_account = a || "",
t.profile_url = s || "",
t.noticeMobile = n,
t.mregServicePhone = i.config.servicePhone,
r && 86 != r && (t.noticeMobile = "(+" + r + ")" + n,
t.mregServicePhone = "86" + i.config.internalServicePhone)
}
};
e.default = {
namespaced: !0,
state: r,
getters: {},
actions: {
updateData: function (t, e) {
(0,
t.commit)("updateData", e)
}
},
mutations: o
}
},
ba8H: function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this
, e = t.$createElement
, n = t._self._c || e;
return t.showDialog ? n("div", {
staticClass: "dialog",
attrs: {
"data-class": t.className
}
}, [n("div", {
staticClass: "dialog-body"
}, [n("span", {
directives: [{
name: "show",
rawName: "v-show",
value: t.title,
expression: "title"
}],
staticClass: "dialog-title"
}, [t._v(t._s(t.title))]), t._v(" "), n("p", {
staticClass: "dialog-des",
domProps: {
innerHTML: t._s(t.message)
}
}), t._v(" "), n("div", {
staticClass: "dialog-footer"
}, [n("button", {
staticClass: "dialog-cancel dialog-btn",
on: {
click: function (e) {
t.btnStatus = !1
}
}
}, [t._v(t._s(t.cancel))]), t._v(" "), n("button", {
staticClass: "dialog-sure dialog-btn",
on: {
click: function (e) {
t.btnStatus = !0
}
}
}, [t._v(t._s(t.sure))])])])]) : t._e()
},
staticRenderFns: []
};
e.a = i
},
ca3t: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = a(n("woOf"))
, r = a(n("7+uW"))
, o = a(n("suVo"));
function a(t) {
return t && t.__esModule ? t : {
default: t
}
}
var s = !0
, c = [];
function u() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, e = function () {
if (!c.length || !s) {
var t = new (r.default.extend(o.default))({
el: document.createElement("div")
});
return document.body.appendChild(t.$el),
c.push(t),
s = !0,
t
}
}() || {}
, n = t;
"string" == typeof t && (n = {
message: t
});
var a = n
, u = a.message
, l = a.timer
, d = void 0 === l ? 2e3 : l
, h = a.callback;
(0,
i.default)(e, {
message: u,
timer: d,
callback: h
}),
e.message ? (e.showToast = !0,
setTimeout(function () {
e.showToast = s = !1,
e.callback && e.callback()
}, e.timer)) : e.showToast = s = !1
}
r.default.prototype.$toast = u,
e.default = u
},
cr7g: function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this.$createElement
, e = this._self._c || t;
return e("div", {
attrs: {
id: "app"
}
}, [e("router-view")], 1)
},
staticRenderFns: []
};
e.a = i
},
dJc8: function (t, e) {
},
dhwU: function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this
, e = t.$createElement
, n = t._self._c || e;
return t.showDialog ? n("div", {
staticClass: "dialog",
attrs: {
"data-class": t.className
}
}, [n("div", {
staticClass: "dialog-body"
}, [n("div", {
staticClass: "dialog-content"
}, [n("div", {
staticClass: "title"
}, [t._v(t._s(t.title))]), t._v(" "), n("div", {
staticClass: "message"
}, [t._v(t._s(t.message))])]), t._v(" "), n("div", {
staticClass: "dialog-footer"
}, [n("button", {
staticClass: "dialog-cancel",
on: {
click: function (e) {
t.btnStatus = !1
}
}
}, [t._v(t._s(t.cancelText))]), t._v(" "), n("button", {
staticClass: "dialog-confirm",
on: {
click: function (e) {
t.btnStatus = !0
}
}
}, [t._v(t._s(t.confirmText))])])])]) : t._e()
},
staticRenderFns: []
};
e.a = i
},
g71Q: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = d(n("Xxa5"))
, r = d(n("exGp"))
, o = d(n("fZjL"))
, a = d(n("Dd8w"))
, s = d(n("//Fk"))
, c = d(n("mtWM"))
, u = d(n("mw3O"))
, l = n("sf/l");
function d(t) {
return t && t.__esModule ? t : {
default: t
}
}
var h = {
chs: {
code_1: "请检查网络,并刷新重试"
},
eng: {
code_1: "Please check the network and refresh to try again"
},
cht: {
code_1: "請檢查網路,並重新整理重試"
}
};
c.default.interceptors.request.use(function (t) {
return t
}, function (t) {
return s.default.reject(t)
}),
c.default.interceptors.response.use(function (t) {
return t.data
}, function (t) {
return s.default.reject(t)
});
var f = function (t, e, n, i) {
var r = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
, o = "";
try {
o = getJdEid()
} catch (t) {
console.log("获取指纹识别数据失败:" + t)
}
var d = {
method: t,
baseURL: "",
url: e,
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
params: "GET" === t || "DELETE" === t ? (0,
a.default)({}, n, {
"risk_jd[eid]": o.eid,
"risk_jd[fp]": o.fp
}) : null,
data: "POST" === t || "PUT" === t ? u.default.stringify((0,
a.default)({}, n, {
risk_jd: o
})) : null,
timeout: i || 1e4
};
return new s.default(function (t, e) {
(0,
c.default)(d).then(function (e) {
t(e)
}).catch(function (t) {
!function (t, e) {
(!t || 200 !== t.status && 304 !== t.status && 302 !== t.status) && (e || (0,
l.toast)({
message: h[l.lang].code_1
}))
}(t, r),
e(t)
})
}
)
}
, p = function (t, e) {
var n = "";
if (t)
return e && (0,
o.default)(e).forEach(function (t) {
n = n + "&" + t + "=" + e[t]
}),
(0,
l.createCaptchaScript)(t + (t.indexOf("?") >= 0 ? "&" : "?") + n);
console.error("Axios.JSONP 至少需要一个url参数!")
};
e.default = {
postData: function () {
var t = (0,
r.default)(i.default.mark(function t(e, n, r, o) {
return i.default.wrap(function (t) {
for (; ;)
switch (t.prev = t.next) {
case 0:
return t.next = 2,
f("POST", e, n, r, o);
case 2:
return t.abrupt("return", t.sent);
case 3:
case "end":
return t.stop()
}
}, t, this)
}));
return function (e, n, i, r) {
return t.apply(this, arguments)
}
}(),
getData: function () {
var t = (0,
r.default)(i.default.mark(function t(e, n, r, o) {
return i.default.wrap(function (t) {
for (; ;)
switch (t.prev = t.next) {
case 0:
return t.next = 2,
f("GET", e, n, r, o);
case 2:
return t.abrupt("return", t.sent);
case 3:
case "end":
return t.stop()
}
}, t, this)
}));
return function (e, n, i, r) {
return t.apply(this, arguments)
}
}(),
jsonpData: function () {
var t = (0,
r.default)(i.default.mark(function t(e) {
return i.default.wrap(function (t) {
for (; ;)
switch (t.prev = t.next) {
case 0:
return t.next = 2,
p(e);
case 2:
return t.abrupt("return", t.sent);
case 3:
case "end":
return t.stop()
}
}, t, this)
}));
return function (e) {
return t.apply(this, arguments)
}
}(),
install: function (t) {
t.prototype.getData = function (t, e, n, i) {
return f("GET", t, e, n, i)
}
,
t.prototype.postData = function (t, e, n, i) {
return f("POST", t, e, n, i)
}
,
t.prototype.jsonpData = function (t, e) {
return p(t, e)
}
}
}
},
kXIC: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = a(n("woOf"))
, r = a(n("7+uW"))
, o = a(n("XV04"));
function a(t) {
return t && t.__esModule ? t : {
default: t
}
}
var s = [];
function c() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, e = function () {
var t = new (r.default.extend(o.default))({
el: document.createElement("div")
});
return document.body.appendChild(t.$el),
s.push(t),
t
}()
, n = t.title
, a = t.message
, c = t.cancelText
, u = t.confirmText
, l = t.url
, d = t.className
, h = t.confirmEventId
, f = t.cancelEventId
, p = t.onConfirm;
(0,
i.default)(e, {
title: n,
message: a,
cancelText: c,
confirmText: u,
url: l,
className: d,
confirmEventId: h,
cancelEventId: f,
onConfirm: p,
position: "middle"
}),
e.message && (e.showDialog = !0)
}
r.default.prototype.$confirmDialog = c,
e.default = c
},
nFMo: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("sf/l");
e.default = {
props: {
btnStatus: !1,
className: String,
title: String,
message: String,
cancelText: String,
confirmText: String,
url: String,
confirmEventId: String,
cancelEventId: String,
onConfirm: Function
},
data: function () {
return {
showDialog: !1
}
},
watch: {
btnStatus: {
handler: function (t, e) {
this.btnStatus ? (this.confirmEventId && (0,
i.mdUpdata)(this.confirmEventId),
this.onConfirm ? (this.showDialog = !1,
this.onConfirm()) : location.href = this.url) : (this.cancelEventId && (0,
i.mdUpdata)(this.cancelEventId),
this.showDialog = !1)
}
}
},
method: {}
}
},
"p+oo": function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}),
e.jsonp = e.loadScript = void 0;
var i, r = d(n("fZjL")), o = d(n("pFYg")), a = d(n("Xxa5")), s = d(n("//Fk")), c = d(n("exGp")),
u = d(n("Gu7T")), l = (i = (0,
c.default)(a.default.mark(function t(e) {
return a.default.wrap(function (t) {
for (; ;)
switch (t.prev = t.next) {
case 0:
if (e) {
t.next = 2;
break
}
return t.abrupt("return", s.default.resolve(1));
case 2:
if (!f(e)) {
t.next = 4;
break
}
return t.abrupt("return", s.default.resolve(0));
case 4:
return t.abrupt("return", new s.default(function (t) {
var n = "src" + h()
, i = document.createElement("script");
i.id = n,
i.src = e,
document.head.appendChild(i);
var r = {
once: !0
}
, o = setTimeout(function () {
p(n),
t(1)
}, 6e3)
, a = function (e) {
clearTimeout(o),
1 == e && p(n),
t(e)
};
i.addEventListener("load", function () {
return a(0)
}, r),
i.addEventListener("error", function () {
return a(1)
}, r)
}
));
case 5:
case "end":
return t.stop()
}
}, t, this)
})),
function (t) {
return i.apply(this, arguments)
}
);
function d(t) {
return t && t.__esModule ? t : {
default: t
}
}
function h() {
for (var t = "abcdefghijklmnopqrstuvwxyz0123456789", e = "", n = 0; n < 8; n++) {
e += t[Math.floor(Math.random() * t.length)]
}
return e
}
function f(t) {
try {
return Boolean(t && [].concat((0,
u.default)(document.scripts)).some(function (e) {
return e.src.includes(t)
}))
} catch (t) {
return !1
}
}
var p = function (t) {
try {
if (!t)
return;
var e = document.getElementById(t);
e && e.parentNode && e.parentNode.removeChild(e)
} catch (t) {
}
};
e.loadScript = l,
e.jsonp = function (t, e) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 6e3;
return t ? new s.default(function (i, a) {
try {
var s = "jsp" + h()
, c = function (t) {
p(t),
window[t] && delete window[t]
}
, u = setTimeout(function () {
c(s),
a(2)
}, n);
window[s] = function (t) {
clearTimeout(u),
c(s),
i(t)
}
;
var l = document.createElement("script")
, d = t.indexOf("?") > -1 ? "&" : "?"
, f = "" + t + d + "callback=" + s;
if ("object" === (void 0 === e ? "undefined" : (0,
o.default)(e))) {
var g = (0,
r.default)(e).map(function (t) {
return t + "=" + encodeURIComponent(e[t])
}).join("&");
g && (f = f + "&" + g)
}
l.src = "" + f,
l.id = s,
l.onerror = function () {
clearTimeout(u),
c(s),
a(1)
}
,
document.head.appendChild(l)
} catch (t) {
a(2)
}
}
) : s.default.reject(1)
}
},
"rAx/": function (t, e, n) {
"use strict";
var i = {
render: function () {
var t = this.$createElement
, e = this._self._c || t;
return this.showToast ? e("div", {
staticClass: "toast",
attrs: {
tabindex: "0",
role: "alert",
"aria-live": "assertive",
"aria-describedby": "toastMsg"
}
}, [e("div", {
staticClass: "toast_container"
}, [this._m(0), this._v(" "), e("div", {
staticClass: "msg_container",
attrs: {
id: "toastMsg"
},
domProps: {
innerHTML: this._s(this.message)
}
})])]) : this._e()
},
staticRenderFns: [function () {
var t = this.$createElement
, e = this._self._c || t;
return e("div", [e("i", {
staticClass: "iconfont icon-check icon"
})])
}
]
};
e.a = i
},
"sf/l": function () {
function _interopRequireDefault(t) {
return t && t.__esModule ? t : {
default: t
}
}
var ua = window.navigator.userAgent.toLowerCase()
, language = {
chs: {
code_4: "密码由 820 位字母、数字或者半角符号组成不能是10位以下纯数字/字母/半角符号,字母区分大小写。",
code_6: "登录密码仅支持字母、数字或半角字符,不可包含空格",
code_7: "登录密码长度需在8-20位字符之间",
code_8: "登录密码不能是10位以下纯数字/字母/半角符号",
code_9: "备注请将密码设置为8-20位并且由字母数字或半角符号组成不能是10位以下纯数字/字母/半角符号,不能与旧密码相同",
code_10: "登录密码长度需在8-20位字符之间",
code_11: "重新选择认证方式",
code_12: "账号申诉",
code_13: "无法接收短信",
code_14: "遇到问题?",
code_15: "遇到问题?您可以尝试以下方式",
code_16: "取消",
code_17: "确定",
code_18: "账号名由4-20位字符组成可由字母/数字/中文/-/_及其组合组成不能为纯数字。",
code_19: "账号名不能为纯数字。",
code_20: "账号名长度需在4-20位字符之间。"
},
eng: {
code_4: "Password must use 8-20 characters. Include letters (case-sensitive), numbers, or symbols. If using less than 10 characters, must combine different types.",
code_6: "The login password only supports letters, numbers, or symbols, and cannot contain spaces.",
code_7: "The login password must be between 8 and 20 digits long.",
code_8: "If the login password is under 10 digits it must combine numbers/letters/symbols.",
code_9: "Note: Please set the password to 8-20 characters, it must be composed of letters, numbers, or symbols. If using less than 10 characters, must combine different types, and it cannot be the same as the old password.",
code_10: "The login password must be between 8 and 20 digits long.",
code_11: "Re-select the authentication method",
code_12: "Account appeal",
code_13: "Unable to receive the SMS",
code_14: "Having any trouble? ",
code_15: "Having any trouble? You can try the following methods",
code_16: "Cancel",
code_17: "Sure",
code_18: "The account name consists of 4-20 characters, and can be composed of letters/numbers/Chinese characters/-/_ and their combination, but cannot be pure numbers.",
code_19: "The account name cannot be pure numbers.",
code_20: "The account name must be between 4 and 20 characters."
},
cht: {
code_4: "密碼由 820 位字母、數字或者半角符號組成不能是10位以下純數字/字母/半角符號,字母區分大小寫。",
code_6: "登錄密碼僅支持字母、數字或半角字符,不可包含空格",
code_7: "登錄密碼長度需在8-20位字符之間",
code_8: "登錄密碼不能是10位以下純數字/字母/半角符號",
code_9: "備註請將密碼設置為8-20位並且由字母數字或半角符號組成不能是10位以下純數字/字母/半角符號,不能與舊密碼相同",
code_10: "登錄密碼長度需在8-20位字符之間",
code_11: "重新選擇認證方式",
code_12: "帳號申訴",
code_13: "無法接收短信",
code_14: "遇到問題?",
code_15: "遇到問題?您可以嘗試以下方式",
code_16: "取消",
code_17: "確定",
code_18: "帳號名由4-20位字符組成可由字母/數字/中文/-/_及其組合組成不能為純數字。",
code_19: "帳號名不能為純數字。",
code_20: "帳號名長度需在4-20位字符之間。"
}
}
, lang = exports.lang = getRequest().lang || getCookie("lang") || "chs";
function getHelpList(t, e, n) {
var i = [{
text: language[lang].code_11,
url: "/findpwd/findmethod"
}, {
text: language[lang].code_12,
url: _config.page.login.dispatch,
params: "pin=" + (t && t.encrypt_pin || ""),
reportEventid: "MLoginRegister_PswAppeal"
}];
return e && i.push({
text: language[lang].code_13,
click: goChangBind,
reportEventid: "MLoginRegister_PhoneNumUnUse"
}),
n ? (0,
_extends3.default)({}, n, {
modalConfig: (0,
_extends3.default)({}, n.modalConfig, {
urlList: i
})
}) : {
tipText: language[lang].code_14,
reportEventid: "MLoginRegister_PswProblem",
showModal: !1,
modalConfig: {
headerText: language[lang].code_15,
urlList: i,
footerText: language[lang].code_16
}
}
}
function getRequest() {
var t = location.search
, e = {};
if (-1 !== t.indexOf("?"))
for (var n = t.substr(1).split("&"), i = 0; i < n.length; i++)
try {
var r = n[i].split("=");
e[r[0]] = decodeURIComponent(r[1])
} catch (t) {
}
return e
}
function isChinese(t) {
return /[^\u0000-\u00FF]/g.test(decodeURI(t))
}
function toast(t) {
t.message && (t.message.length > 12 ? (0,
_alert2.default)({
message: t.message,
btn: t.btn || language[lang].code_17
}) : (0,
_toast2.default)({
message: t.message
}))
}
function getCookie(t) {
var e = document.cookie.match(new RegExp("(^| )" + t + "=([^;]*)($|;)"));
return e ? decodeURIComponent(e[2]) : ""
}
function checkPhone(t, e) {
return void 0 === e && (e = ""),
"" !== e.trim() && (86 === Number(t) ? /^1[3-9][0-9]{9}$/.test(e.trim()) : 852 === Number(t) || 853 === Number(t) || 886 === Number(t) ? /^[0-9]{6,11}$/.test(e.trim()) : /^[0-9]{6,13}$/.test(e.trim()))
}
function rsaData(t, e) {
if (!t)
return "";
_rsa_common2.default.setMaxDigits(131);
var n = new _rsa_common2.default.RSAKeyPair("3", "10001", t, 1024);
return window.btoa(_rsa_common2.default.encryptedString(n, encodeURIComponent(e), _rsa_common2.default.RSAAPP.PKCS1Padding, _rsa_common2.default.RSAAPP.RawEncoding))
}
function encryptLongData(t, e, n) {
var i = function (t) {
return n ? _summerCrypticoMin.SummerCryptico.encryptData(e, t) : rsaData(e, t)
}
, r = "" + t;
if (encodeURIComponent(r).length >= 100) {
for (var o = [], a = 0, s = r.length; a < s; a += 10) {
var c = r.substring(a, a + 10);
o.push(i(c))
}
return {
isLong: !0,
data: (0,
_stringify2.default)(o)
}
}
return {
isLong: !1,
data: i(r)
}
}
function mdUpdata(t, e) {
try {
var n = t
, i = new MPing.inputs.Click(n);
e && (i.event_param = (0,
_stringify2.default)(e)),
i.page_name = window.location.host + window.location.pathname,
i.updateEventSeries(),
(new MPing).send(i)
} catch (t) {
}
}
function checkLoginName(t) {
var e = {
status: !1,
msg: ""
};
return 0 !== t.length && /^[\u4E00-\u9FA5A-Za-z0-9_-]+$/.test(t) ? t.length < 4 || t.length > 20 ? e.msg = language[lang].code_20 : /^\d$/.test(t) ? e.msg = language[lang].code_19 : e.status = !0 : e.msg = language[lang].code_18,
e
}
function checkPassword(t) {
var e = {
status: !1,
msg: ""
};
return 0 === t.length ? e.msg = language[lang].code_4 : !/^[A-Za-z0-9_\\-\W]+$/.test(t) || t.match(/[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5]/g) ? e.msg = language[lang].code_6 : t.length < 8 || t.length > 20 ? e.msg = language[lang].code_7 : t.length <= 9 && !/^(?![a-zA-z]+$)(?!\d+$)(?![\W]+$)[a-zA-Z\d\W]+$/.test(t) ? e.msg = language[lang].code_8 : e.status = !0,
e
}
function checkPasswordAndExtra(t, e) {
var n = "207" === e
, i = {
status: !1,
msg: ""
};
return 0 === t.length ? i.msg = n ? language[lang].code_9 : language[lang].code_4 : /^[A-Za-z0-9_\\-\W]+$/.test(t) ? n && (t.length < 8 || t.length > 20) ? i.msg = language[lang].code_7 : t.length <= 9 && !/^(?![a-zA-z]+$)(?!\d+$)(?![\W]+$)[a-zA-Z\d\W]+$/.test(t) ? i.msg = language[lang].code_8 : i.status = !0 : i.msg = language[lang].code_6,
i
}
function getChangeBindRequest() {
var t = decodeURIComponent(location.search)
, e = new Object;
if (-1 != t.indexOf("?"))
for (var n = t.substr(1).split("&"), i = 0; i < n.length; i++)
e[n[i].split("=")[0]] = unescape(n[i].split("=")[1]);
return e
}
function pv(t, e) {
try {
var n = new MPing.inputs.PV;
n.page_name = t,
e && (n.page_param = e),
(new MPing).send(n)
} catch (t) {
}
}
function reportClick(t) {
try {
var e = t.eventId
, n = t.jsonParam
, i = new window.MPing.inputs.Click(e);
i.json_param = (0,
_stringify2.default)(n),
i.updateEventSeries(),
(new window.MPing).send(i)
} catch (t) {
console.log("上报失败")
}
}
function CtoH(t) {
for (var e = "", n = t.value, i = t.selectionEnd, r = 0; r < n.length; r++)
12288 !== n.charCodeAt(r) ? n.charCodeAt(r) > 65280 && n.charCodeAt(r) < 65375 ? e += String.fromCharCode(n.charCodeAt(r) - 65248) : e += String.fromCharCode(n.charCodeAt(r)) : e += String.fromCharCode(n.charCodeAt(r) - 12256);
t.value = e,
t.setSelectionRange(i, i)
}
function plReport(t, e, n, i) {
window.pl_report({
interfaceID: t,
loginName: e,
callTime: n,
status: i
})
}
function replaceSpecParams(t, e, n) {
var i = {}
, r = "";
if (-1 !== t.indexOf("?"))
for (var o = t.substr(1).split("&"), a = 0; a < o.length; a++) {
var s = o[a].split("=")[1];
i[o[a].split("=")[0]] = i[o[a].split("=")[0]] ? i[o[a].split("=")[0]] + "&" + i[o[a].split("=")[0]] + "=" + unescape(s) : s
}
for (var c in e && (i[e] = n),
i)
r = (r ? r + "&" : "") + c + "=" + i[c];
return "?" + r
}
function replaceParams(url, arg, val) {
var pattern = arg + "=([^&]*)"
, replaceText = arg + "=" + val;
return url.match(pattern) ? url.replace(eval("/(" + arg + "=)([^&]*)/gi"), replaceText) : url.match("[?]") ? url + "&" + replaceText : url + "?" + replaceText
}
function IsInJDApp() {
return -1 !== ua.indexOf("jdapp") || -1 !== ua.indexOf("walletclient") || -1 !== ua.indexOf("toplife") || -1 !== ua.indexOf(" skapp") || -1 !== ua.indexOf("jdjr-app")
}
function IsInQQ() {
return -1 !== ua.indexOf(" qq") || -1 !== ua.indexOf("mqqbrowser")
}
function IsInWeixin() {
return -1 !== ua.indexOf("micromessenger")
}
function IsInWxApp() {
return IsInWeixin() && -1 !== ua.indexOf("miniprogram")
}
function clientType() {
return IsInJDApp() ? "app" : IsInQQ() ? "qq" : IsInWeixin() ? "wx" : IsInWxApp() ? "wxapp" : "m"
}
function getParamsValue(t) {
var e = new RegExp("(^|&)" + t + "=([^&]*)(&|$)", "i")
, n = window.location.search.substr(1).match(e);
return null != n ? isChinese(n[2]) ? decodeURI(n[2]) : unescape(n[2]) : null
}
function getStorage(t) {
try {
return JSON.parse(window.localStorage.getItem(t))
} catch (t) {
return ""
}
}
function setStorage(t, e) {
try {
window.localStorage.setItem(t, (0,
_stringify2.default)(e))
} catch (t) {
}
}
function removeStorage(t) {
try {
window.localStorage.removeItem(t)
} catch (t) {
}
}
function applePublicFun(t, e, n) {
AppleID.auth.init({
clientId: t,
scope: "email",
redirectURI: e,
state: n
})
}
function appleIconFun() {
AppleID.auth.signIn()
}
function locationReplace(t) {
baseNav(t, function (t) {
window.location.replace(t)
})
}
function locationNav(t) {
baseNav(t, function (t) {
window.location.href = t
})
}
function baseNav(t, e) {
try {
t && !/javascript:(\/\/)?/gi.test(t) ? e(t) : ((0,
_dralog.expLog)(1001, "异常跳转", 3, {
url: t,
curUrl: window.location.href
}),
setTimeout(function () {
return e("https://m.jd.com")
}, 200))
} catch (t) {
setTimeout(function () {
return e("https://m.jd.com")
}, 200)
}
}
},
shL7: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}),
e.default = {
props: {
close: {
default: !1
},
message: String,
btn: {
type: String,
default: "确定"
}
},
data: function () {
return {
showAlert: !1
}
},
watch: {
close: {
handler: function (t, e) {
this.showAlert = t
}
}
},
method: {}
}
},
suVo: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("G59/")
, r = n.n(i);
for (var o in i)
"default" !== o && function (t) {
n.d(e, t, function () {
return i[t]
})
}(o);
var a = n("rAx/");
var s = function (t) {
n("KGnT")
}
, c = n("VU/8")(r.a, a.a, !1, s, "data-v-06b25de8", null);
e.default = c.exports
},
uMX4: function (t, e) {
},
ut0z: function (t, e) {
},
xJD8: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}),
e.default = {
name: "App"
}
},
yWhh: function (t, e, n) {
"use strict";
(function (t) {
var r, o, a, s, c = f(n("OvRC")), u = f(n("a1FJ")), l = f(n("5QVw")), d = f(n("C4MV")),
h = f(n("pFYg"));
function f(t) {
return t && t.__esModule ? t : {
default: t
}
}
window,
s = function () {
return function (t) {
var e = {};
function n(i) {
if (e[i])
return e[i].exports;
var r = e[i] = {
i: i,
l: !1,
exports: {}
};
return t[i].call(r.exports, r, r.exports, n),
r.l = !0,
r.exports
}
return n.m = t,
n.c = e,
n.d = function (t, e, i) {
n.o(t, e) || (0,
d.default)(t, e, {
enumerable: !0,
get: i
})
}
,
n.r = function (t) {
void 0 !== l.default && u.default && (0,
d.default)(t, u.default, {
value: "Module"
}),
Object.defineProperty(t, "__esModule", {
value: !0
})
}
,
n.t = function (t, e) {
if (1 & e && (t = n(t)),
8 & e)
return t;
if (4 & e && "object" == (void 0 === t ? "undefined" : (0,
h.default)(t)) && t && t.__esModule)
return t;
var i = (0,
c.default)(null);
if (n.r(i),
Object.defineProperty(i, "default", {
enumerable: !0,
value: t
}),
2 & e && "string" != typeof t)
for (var r in t)
n.d(i, r, function (e) {
return t[e]
}
.bind(null, r));
return i
}
,
n.n = function (t) {
var e = t && t.__esModule ? function () {
return t.default
}
: function () {
return t
}
;
return n.d(e, "a", e),
e
}
,
n.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}
,
n.p = "",
n(n.s = 1)
}([function (t, e, n) {
function r(t) {
var e = J(R(J(t, this.k - 1), this.mu), this.k + 1)
, n = C(K(t, this.k + 1), K(R(e, this.modulus), this.k + 1));
n.isNeg && (n = I(n, this.bkplus1));
for (var i = U(n, this.modulus) >= 0; i;)
i = U(n = C(n, this.modulus), this.modulus) >= 0;
return n
}
function o(t, e) {
var n = R(t, e);
return this.modulo(n)
}
function a(t, e) {
var n = new v;
n.digits[0] = 1;
for (var i = t, r = e; 0 != (1 & r.digits[0]) && (n = this.multiplyMod(n, i)),
0 != (r = L(r, 1)).digits[0] || 0 != F(r);)
i = this.multiplyMod(i, i);
return n
}
var s, c, u, l = 16, d = l, h = 65536, f = h >>> 1, p = h * h, g = h - 1;
function m(t) {
s = new Array(t);
for (var e = 0; e < s.length; e++)
s[e] = 0;
c = new v,
(u = new v).digits[0] = 1
}
function v(t) {
this.digits = "boolean" == typeof t && 1 == t ? null : s.slice(0),
this.isNeg = !1
}
function _(t) {
var e = new v(!0);
return e.digits = t.digits.slice(0),
e.isNeg = t.isNeg,
e
}
function y(t) {
for (var e = "", n = t.length - 1; n > -1; --n)
e += t.charAt(n);
return e
}
m(20),
function (t) {
var e = new v;
e.isNeg = t < 0,
t = Math.abs(t);
for (var n = 0; t > 0;)
e.digits[n++] = t & g,
t >>= l
}(1e15);
var b = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
function w(t, e) {
var n = new v;
n.digits[0] = e;
for (var i = z(t, n), r = b[i[1].digits[0]]; 1 == U(i[0], c);)
i = z(i[0], n),
digit = i[1].digits[0],
r += b[i[1].digits[0]];
return (t.isNeg ? "-" : "") + y(r)
}
var k = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
function x(t) {
var e = "";
for (i = 0; i < 4; ++i)
e += k[15 & t],
t >>>= 4;
return y(e)
}
function A(t) {
for (var e = "", n = (F(t),
F(t)); n > -1; --n)
e += x(t.digits[n]);
return e
}
function T(t) {
return t >= 48 && t <= 57 ? t - 48 : t >= 65 && t <= 90 ? 10 + t - 65 : t >= 97 && t <= 122 ? 10 + t - 97 : 0
}
function S(t) {
for (var e = 0, n = Math.min(t.length, 4), i = 0; i < n; ++i)
e <<= 4,
e |= T(t.charCodeAt(i));
return e
}
function E(t) {
for (var e = new v, n = t.length, i = 0; n > 0; n -= 4,
++i)
e.digits[i] = S(t.substr(Math.max(n - 4, 0), Math.min(n, 4)));
return e
}
function P(t) {
for (var e = "", n = F(t); n > -1; --n)
e += D(t.digits[n]);
return e
}
function D(t) {
var e = String.fromCharCode(255 & t);
return t >>>= 8,
String.fromCharCode(255 & t) + e
}
function I(t, e) {
var n;
if (t.isNeg != e.isNeg)
e.isNeg = !e.isNeg,
n = C(t, e),
e.isNeg = !e.isNeg;
else {
n = new v;
for (var i, r = 0, o = 0; o < t.digits.length; ++o)
i = t.digits[o] + e.digits[o] + r,
n.digits[o] = 65535 & i,
r = Number(i >= h);
n.isNeg = t.isNeg
}
return n
}
function C(t, e) {
var n;
if (t.isNeg != e.isNeg)
e.isNeg = !e.isNeg,
n = I(t, e),
e.isNeg = !e.isNeg;
else {
var i, r;
n = new v,
r = 0;
for (var o = 0; o < t.digits.length; ++o)
i = t.digits[o] - e.digits[o] + r,
n.digits[o] = 65535 & i,
n.digits[o] < 0 && (n.digits[o] += h),
r = 0 - Number(i < 0);
if (-1 == r) {
for (r = 0,
o = 0; o < t.digits.length; ++o)
i = 0 - n.digits[o] + r,
n.digits[o] = 65535 & i,
n.digits[o] < 0 && (n.digits[o] += h),
r = 0 - Number(i < 0);
n.isNeg = !t.isNeg
} else
n.isNeg = t.isNeg
}
return n
}
function F(t) {
for (var e = t.digits.length - 1; e > 0 && 0 == t.digits[e];)
--e;
return e
}
function M(t) {
var e, n = F(t), i = t.digits[n], r = (n + 1) * d;
for (e = r; e > r - d && 0 == (32768 & i); --e)
i <<= 1;
return e
}
function R(t, e) {
for (var n, i, r, o = new v, a = F(t), s = F(e), c = 0; c <= s; ++c) {
n = 0,
r = c;
for (var u = 0; u <= a; ++u,
++r)
i = o.digits[r] + t.digits[u] * e.digits[c] + n,
o.digits[r] = i & g,
n = i >>> l;
o.digits[c + a + 1] = n
}
return o.isNeg = t.isNeg != e.isNeg,
o
}
function j(t, e) {
var n, i, r, o = new v;
n = F(t),
i = 0;
for (var a = 0; a <= n; ++a)
r = o.digits[a] + t.digits[a] * e + i,
o.digits[a] = r & g,
i = r >>> l;
return o.digits[1 + n] = i,
o
}
function B(t, e, n, i, r) {
for (var o = Math.min(e + r, t.length), a = e, s = i; a < o; ++a,
++s)
n[s] = t[a]
}
var q = new Array(0, 32768, 49152, 57344, 61440, 63488, 64512, 65024, 65280, 65408, 65472, 65504, 65520, 65528, 65532, 65534, 65535);
function O(t, e) {
var n = Math.floor(e / d)
, i = new v;
B(t.digits, 0, i.digits, n, i.digits.length - n);
for (var r = e % d, o = d - r, a = i.digits.length - 1, s = a - 1; a > 0; --a,
--s)
i.digits[a] = i.digits[a] << r & g | (i.digits[s] & q[r]) >>> o;
return i.digits[0] = i.digits[a] << r & g,
i.isNeg = t.isNeg,
i
}
var N = new Array(0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535);
function L(t, e) {
var n = Math.floor(e / d)
, i = new v;
B(t.digits, n, i.digits, 0, t.digits.length - n);
for (var r = e % d, o = d - r, a = 0, s = a + 1; a < i.digits.length - 1; ++a,
++s)
i.digits[a] = i.digits[a] >>> r | (i.digits[s] & N[r]) << o;
return i.digits[i.digits.length - 1] >>>= r,
i.isNeg = t.isNeg,
i
}
function H(t, e) {
var n = new v;
return B(t.digits, 0, n.digits, e, n.digits.length - e),
n
}
function J(t, e) {
var n = new v;
return B(t.digits, e, n.digits, 0, n.digits.length - e),
n
}
function K(t, e) {
var n = new v;
return B(t.digits, 0, n.digits, 0, e),
n
}
function U(t, e) {
if (t.isNeg != e.isNeg)
return 1 - 2 * Number(t.isNeg);
for (var n = t.digits.length - 1; n >= 0; --n)
if (t.digits[n] != e.digits[n])
return t.isNeg ? 1 - 2 * Number(t.digits[n] > e.digits[n]) : 1 - 2 * Number(t.digits[n] < e.digits[n]);
return 0
}
function z(t, e) {
var n, i, r = M(t), o = M(e), a = e.isNeg;
if (r < o)
return t.isNeg ? ((n = _(u)).isNeg = !e.isNeg,
t.isNeg = !1,
e.isNeg = !1,
i = C(e, t),
t.isNeg = !0,
e.isNeg = a) : (n = new v,
i = _(t)),
new Array(n, i);
n = new v,
i = t;
for (var s = Math.ceil(o / d) - 1, c = 0; e.digits[s] < f;)
e = O(e, 1),
++c,
++o,
s = Math.ceil(o / d) - 1;
i = O(i, c),
r += c;
for (var l = Math.ceil(r / d) - 1, m = H(e, l - s); -1 != U(i, m);)
++n.digits[l - s],
i = C(i, m);
for (var y = l; y > s; --y) {
var b = y >= i.digits.length ? 0 : i.digits[y]
, w = y - 1 >= i.digits.length ? 0 : i.digits[y - 1]
, k = y - 2 >= i.digits.length ? 0 : i.digits[y - 2]
, x = s >= e.digits.length ? 0 : e.digits[s]
, A = s - 1 >= e.digits.length ? 0 : e.digits[s - 1];
n.digits[y - s - 1] = b == x ? g : Math.floor((b * h + w) / x);
for (var T = n.digits[y - s - 1] * (x * h + A), S = b * p + (w * h + k); T > S;)
--n.digits[y - s - 1],
T = n.digits[y - s - 1] * (x * h | A),
S = b * h * h + (w * h + k);
(i = C(i, j(m = H(e, y - s - 1), n.digits[y - s - 1]))).isNeg && (i = I(i, m),
--n.digits[y - s - 1])
}
return i = L(i, c),
n.isNeg = t.isNeg != a,
t.isNeg && (n = a ? I(n, u) : C(n, u),
i = C(e = L(e, c), i)),
0 == i.digits[0] && 0 == F(i) && (i.isNeg = !1),
new Array(n, i)
}
var V = {
NoPadding: "NoPadding",
PKCS1Padding: "PKCS1Padding",
RawEncoding: "RawEncoding",
NumericEncoding: "NumericEncoding"
};
t.exports = {
RSAAPP: V,
setMaxDigits: m,
RSAKeyPair: function (t, e, n, i) {
this.e = E(t),
this.d = E(e),
this.m = E(n),
this.chunkSize = "number" != typeof i ? 2 * F(this.m) : i / 8,
this.radix = 16,
this.barrett = new function (t) {
this.modulus = _(t),
this.k = F(this.modulus) + 1;
var e = new v;
e.digits[2 * this.k] = 1,
this.mu = z(e, this.modulus)[0],
this.bkplus1 = new v,
this.bkplus1.digits[this.k + 1] = 1,
this.modulo = r,
this.multiplyMod = o,
this.powMod = a
}
(this.m)
},
encryptedString: function (t, e, n, i) {
var r, o, a, s, c, u, l, d, h, f = new Array, p = e.length, g = "";
for (s = "string" == typeof n ? n == V.NoPadding ? 1 : n == V.PKCS1Padding ? 2 : 0 : 0,
c = "string" == typeof i && i == V.RawEncoding ? 1 : 0,
1 == s ? p > t.chunkSize && (p = t.chunkSize) : 2 == s && p > t.chunkSize - 11 && (p = t.chunkSize - 11),
r = 0,
o = 2 == s ? p - 1 : t.chunkSize - 1; r < p;)
s ? f[o] = e.charCodeAt(r) : f[r] = e.charCodeAt(r),
r++,
o--;
for (1 == s && (r = 0),
o = t.chunkSize - p % t.chunkSize; o > 0;) {
if (2 == s) {
for (u = Math.floor(256 * Math.random()); !u;)
u = Math.floor(256 * Math.random());
f[r] = u
} else
f[r] = 0;
r++,
o--
}
for (2 == s && (f[p] = 0,
f[t.chunkSize - 2] = 2,
f[t.chunkSize - 1] = 0),
l = f.length,
r = 0; r < l; r += t.chunkSize) {
for (d = new v,
o = 0,
a = r; a < r + t.chunkSize; ++o)
d.digits[o] = f[a++],
d.digits[o] += f[a++] << 8;
h = t.barrett.powMod(d, t.e),
g += 1 == c ? P(h) : 16 == t.radix ? A(h) : w(h, t.radix)
}
return g
}
}
}
, function (t, e, n) {
t.exports = n(0)
}
])
}
,
"object" == (0,
h.default)(e) && "object" == (0,
h.default)(t) ? t.exports = s() : (o = [],
void 0 === (a = "function" == typeof (r = s) ? r.apply(e, o) : r) || (t.exports = a))
}
).call(e, n("3IRH")(t))
},
z9tr: function (t, e) {
},
zpHP: function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = n("BK/k")
, r = n("sf/l");
e.default = {
name: "JDRegisterProtocol",
data: function () {
var t = i.config.register_service
, e = i.config.private_policy
, n = i.config.jdl_cht_policy
, o = i.config.jdl_cht_service
, a = 2305 == ((0,
r.getRequest)().appid || "100") && "cht" == r.lang
, s = a ? n : e
, c = a ? o : t;
return {
lang: r.lang,
private_policy: s,
register_service: c,
visible: !1,
agreement: [],
language: {
chs: {
code1: "京东用户服务协议及隐私政策",
code2: "在您注册成为京东用户的过程中,您需要完成我们的注册流程并通过点击同意的形式在线签署以下协议,",
code3: "请您务必仔细阅读、充分理解协议中的条款内容后再点击同意(尤其是以粗体并下划线标识的条款,因为这些条款可能会明确您应履行的义务或对您的权利有所限制):",
code4: "《京东用户服务协议》",
code5: "《京东隐私政策》",
code6: "《订单共享与安全》",
code7: "【请您注意】如果您不同意上述协议或其中任何条款约定,请您停止注册。您停止注册后将仅可以浏览我们的商品信息但无法享受我们的产品或服务。如您按照注册流程提示填写信息、阅读并点击同意上述协议且完成全部注册流程后,即表示您已充分阅读、理解并接受协议的全部内容;并表明您也同意京东可以依据以上的隐私政策内容来处理您的个人信息。",
code8: "如您对以上协议内容有任何疑问,您可随时与京东客服联系。",
code9: "点击同意即表示您已阅读并同意",
code10: "并将您的订单信息共享给为完成此订单所必须的第三方合作方。关于",
code11: "与",
code12: "不同意",
code13: "同意"
},
eng: {
code1: "JD User Service Agreement and Privacy Policy",
code2: "When you register as a JD user, you need to complete our registration process and sign the following agreement online by clicking Agree. ",
code3: "Before agreeing, please read and understand all terms carefully, especially bold and underlined sections that may outline your obligations or limit your rights.",
code4: "<JD User Service Agreement>",
code5: "<JD Privacy Policy>",
code6: "<Order Sharing and Security>",
code7: "Important Notice: By completing registration, you agree to all terms and conditions. If you disagree with any terms, do not register. Non-registered users can only browse products but cannot access services. Completing registration confirms that you have read, understood, and accepted all terms, including JD's processing of your personal information according to our privacy policy. ",
code8: "If you have any questions about the above agreement, you can contact JD customer service at any time.",
code9: "Clicking Agree means that you have read and agreed to ",
code10: "and will share your order information with the third-party partners necessary to complete this order. ",
code11: "and",
code12: "Disagree",
code13: "Agree"
},
cht: {
code1: "京东用戶服務協議及隱私政策",
code2: "在您註冊成為京东用戶的過程中,您需要完成我們的註冊流程並通過點擊同意的形式在線簽署以下協議,",
code3: "請您務必仔細閱讀、充分理解協議中的條款內容後再點擊同意(尤其是以粗體並下劃線標識的條款,因為這些條款可能會明確您應履行的義務或對您的權利有所限制):",
code4: "《京东用戶服務協議》",
code5: "《京东隱私政策》",
code6: "《訂單共享與安全》",
code7: "【請您注意】如果您不同意上述協議或其中任何條款約定,請您停止註冊。您停止註冊後將僅可以瀏覽我們的商品信息但無法享受我們的產品或服務。如您按照註冊流程提示填寫信息、閱讀並點擊同意上述協議且完成全部註冊流程後,即表示您已充分閱讀、理解並接受協議的全部內容;並表明您也同意京东可以依據以上的隱私政策內容來處理您的個人信息。",
code8: "如您對以上協議內容有任何疑問,您可隨時與京东客服聯繫。",
code9: "點擊同意即表示您已閱讀並同意",
code10: "並將您的訂單信息共享給為完成此訂單所必須的第三方合作方。關於",
code11: "與",
code12: "不同意",
code13: "同意"
}
}
}
},
created: function () {
this.language = this.language[this.lang]
},
methods: {
hideMask: function () {
this.visible = !1
},
disagree: function () {
this.hideMask();
var t = this.disagreeCallback;
t && t()
},
agree: function () {
this.hideMask();
var t = this.agreeCallback;
t && t()
}
}
}
}
}