can-can-word-bug
Version:
can-can-word-bug 是一个 TS 编写的工具库
4,994 lines • 165 kB
JavaScript
import { a as Br, c as W, g as ur } from "./_commonjsHelpers-BkfeUUK-.js";
import { c as dr } from "./_commonjs-dynamic-modules-BpilXLfW.js";
var jx = { exports: {} }, F0 = { exports: {} };
const hr = {}, Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: hr
}, Symbol.toStringTag, { value: "Module" })), lr = /* @__PURE__ */ Br(Cr);
var hx;
function I() {
return hx || (hx = 1, function(R, T) {
(function(C, n) {
R.exports = n();
})(W, function() {
var C = C || function(n, p) {
var D;
if (typeof window < "u" && window.crypto && (D = window.crypto), typeof self < "u" && self.crypto && (D = self.crypto), typeof globalThis < "u" && globalThis.crypto && (D = globalThis.crypto), !D && typeof window < "u" && window.msCrypto && (D = window.msCrypto), !D && typeof W < "u" && W.crypto && (D = W.crypto), !D && typeof dr == "function")
try {
D = lr;
} catch {
}
var H = function() {
if (D) {
if (typeof D.getRandomValues == "function")
try {
return D.getRandomValues(new Uint32Array(1))[0];
} catch {
}
if (typeof D.randomBytes == "function")
try {
return D.randomBytes(4).readInt32LE();
} catch {
}
}
throw new Error("Native crypto module could not be used to get secure random number.");
}, B = Object.create || /* @__PURE__ */ function() {
function t() {
}
return function(a) {
var i;
return t.prototype = a, i = new t(), t.prototype = null, i;
};
}(), d = {}, x = d.lib = {}, e = x.Base = /* @__PURE__ */ function() {
return {
/**
* Creates a new object that inherits from this object.
*
* @param {Object} overrides Properties to copy into the new object.
*
* @return {Object} The new object.
*
* @static
*
* @example
*
* var MyType = CryptoJS.lib.Base.extend({
* field: 'value',
*
* method: function () {
* }
* });
*/
extend: function(t) {
var a = B(this);
return t && a.mixIn(t), (!a.hasOwnProperty("init") || this.init === a.init) && (a.init = function() {
a.$super.init.apply(this, arguments);
}), a.init.prototype = a, a.$super = this, a;
},
/**
* Extends this object and runs the init method.
* Arguments to create() will be passed to init().
*
* @return {Object} The new object.
*
* @static
*
* @example
*
* var instance = MyType.create();
*/
create: function() {
var t = this.extend();
return t.init.apply(t, arguments), t;
},
/**
* Initializes a newly created object.
* Override this method to add some logic when your objects are created.
*
* @example
*
* var MyType = CryptoJS.lib.Base.extend({
* init: function () {
* // ...
* }
* });
*/
init: function() {
},
/**
* Copies properties into this object.
*
* @param {Object} properties The properties to mix in.
*
* @example
*
* MyType.mixIn({
* field: 'value'
* });
*/
mixIn: function(t) {
for (var a in t)
t.hasOwnProperty(a) && (this[a] = t[a]);
t.hasOwnProperty("toString") && (this.toString = t.toString);
},
/**
* Creates a copy of this object.
*
* @return {Object} The clone.
*
* @example
*
* var clone = instance.clone();
*/
clone: function() {
return this.init.prototype.extend(this);
}
};
}(), u = x.WordArray = e.extend({
/**
* Initializes a newly created word array.
*
* @param {Array} words (Optional) An array of 32-bit words.
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
*
* @example
*
* var wordArray = CryptoJS.lib.WordArray.create();
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
*/
init: function(t, a) {
t = this.words = t || [], a != p ? this.sigBytes = a : this.sigBytes = t.length * 4;
},
/**
* Converts this word array to a string.
*
* @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
*
* @return {string} The stringified word array.
*
* @example
*
* var string = wordArray + '';
* var string = wordArray.toString();
* var string = wordArray.toString(CryptoJS.enc.Utf8);
*/
toString: function(t) {
return (t || s).stringify(this);
},
/**
* Concatenates a word array to this word array.
*
* @param {WordArray} wordArray The word array to append.
*
* @return {WordArray} This word array.
*
* @example
*
* wordArray1.concat(wordArray2);
*/
concat: function(t) {
var a = this.words, i = t.words, E = this.sigBytes, l = t.sigBytes;
if (this.clamp(), E % 4)
for (var A = 0; A < l; A++) {
var _ = i[A >>> 2] >>> 24 - A % 4 * 8 & 255;
a[E + A >>> 2] |= _ << 24 - (E + A) % 4 * 8;
}
else
for (var S = 0; S < l; S += 4)
a[E + S >>> 2] = i[S >>> 2];
return this.sigBytes += l, this;
},
/**
* Removes insignificant bits.
*
* @example
*
* wordArray.clamp();
*/
clamp: function() {
var t = this.words, a = this.sigBytes;
t[a >>> 2] &= 4294967295 << 32 - a % 4 * 8, t.length = n.ceil(a / 4);
},
/**
* Creates a copy of this word array.
*
* @return {WordArray} The clone.
*
* @example
*
* var clone = wordArray.clone();
*/
clone: function() {
var t = e.clone.call(this);
return t.words = this.words.slice(0), t;
},
/**
* Creates a word array filled with random bytes.
*
* @param {number} nBytes The number of random bytes to generate.
*
* @return {WordArray} The random word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.lib.WordArray.random(16);
*/
random: function(t) {
for (var a = [], i = 0; i < t; i += 4)
a.push(H());
return new u.init(a, t);
}
}), r = d.enc = {}, s = r.Hex = {
/**
* Converts a word array to a hex string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The hex string.
*
* @static
*
* @example
*
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
*/
stringify: function(t) {
for (var a = t.words, i = t.sigBytes, E = [], l = 0; l < i; l++) {
var A = a[l >>> 2] >>> 24 - l % 4 * 8 & 255;
E.push((A >>> 4).toString(16)), E.push((A & 15).toString(16));
}
return E.join("");
},
/**
* Converts a hex string to a word array.
*
* @param {string} hexStr The hex string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
*/
parse: function(t) {
for (var a = t.length, i = [], E = 0; E < a; E += 2)
i[E >>> 3] |= parseInt(t.substr(E, 2), 16) << 24 - E % 8 * 4;
return new u.init(i, a / 2);
}
}, o = r.Latin1 = {
/**
* Converts a word array to a Latin1 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The Latin1 string.
*
* @static
*
* @example
*
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
*/
stringify: function(t) {
for (var a = t.words, i = t.sigBytes, E = [], l = 0; l < i; l++) {
var A = a[l >>> 2] >>> 24 - l % 4 * 8 & 255;
E.push(String.fromCharCode(A));
}
return E.join("");
},
/**
* Converts a Latin1 string to a word array.
*
* @param {string} latin1Str The Latin1 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
*/
parse: function(t) {
for (var a = t.length, i = [], E = 0; E < a; E++)
i[E >>> 2] |= (t.charCodeAt(E) & 255) << 24 - E % 4 * 8;
return new u.init(i, a);
}
}, c = r.Utf8 = {
/**
* Converts a word array to a UTF-8 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-8 string.
*
* @static
*
* @example
*
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
*/
stringify: function(t) {
try {
return decodeURIComponent(escape(o.stringify(t)));
} catch {
throw new Error("Malformed UTF-8 data");
}
},
/**
* Converts a UTF-8 string to a word array.
*
* @param {string} utf8Str The UTF-8 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
*/
parse: function(t) {
return o.parse(unescape(encodeURIComponent(t)));
}
}, f = x.BufferedBlockAlgorithm = e.extend({
/**
* Resets this block algorithm's data buffer to its initial state.
*
* @example
*
* bufferedBlockAlgorithm.reset();
*/
reset: function() {
this._data = new u.init(), this._nDataBytes = 0;
},
/**
* Adds new data to this block algorithm's buffer.
*
* @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
*
* @example
*
* bufferedBlockAlgorithm._append('data');
* bufferedBlockAlgorithm._append(wordArray);
*/
_append: function(t) {
typeof t == "string" && (t = c.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes;
},
/**
* Processes available data blocks.
*
* This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
*
* @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
*
* @return {WordArray} The processed data.
*
* @example
*
* var processedData = bufferedBlockAlgorithm._process();
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
*/
_process: function(t) {
var a, i = this._data, E = i.words, l = i.sigBytes, A = this.blockSize, _ = A * 4, S = l / _;
t ? S = n.ceil(S) : S = n.max((S | 0) - this._minBufferSize, 0);
var v = S * A, F = n.min(v * 4, l);
if (v) {
for (var g = 0; g < v; g += A)
this._doProcessBlock(E, g);
a = E.splice(0, v), i.sigBytes -= F;
}
return new u.init(a, F);
},
/**
* Creates a copy of this object.
*
* @return {Object} The clone.
*
* @example
*
* var clone = bufferedBlockAlgorithm.clone();
*/
clone: function() {
var t = e.clone.call(this);
return t._data = this._data.clone(), t;
},
_minBufferSize: 0
});
x.Hasher = f.extend({
/**
* Configuration options.
*/
cfg: e.extend(),
/**
* Initializes a newly created hasher.
*
* @param {Object} cfg (Optional) The configuration options to use for this hash computation.
*
* @example
*
* var hasher = CryptoJS.algo.SHA256.create();
*/
init: function(t) {
this.cfg = this.cfg.extend(t), this.reset();
},
/**
* Resets this hasher to its initial state.
*
* @example
*
* hasher.reset();
*/
reset: function() {
f.reset.call(this), this._doReset();
},
/**
* Updates this hasher with a message.
*
* @param {WordArray|string} messageUpdate The message to append.
*
* @return {Hasher} This hasher.
*
* @example
*
* hasher.update('message');
* hasher.update(wordArray);
*/
update: function(t) {
return this._append(t), this._process(), this;
},
/**
* Finalizes the hash computation.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} messageUpdate (Optional) A final message update.
*
* @return {WordArray} The hash.
*
* @example
*
* var hash = hasher.finalize();
* var hash = hasher.finalize('message');
* var hash = hasher.finalize(wordArray);
*/
finalize: function(t) {
t && this._append(t);
var a = this._doFinalize();
return a;
},
blockSize: 16,
/**
* Creates a shortcut function to a hasher's object interface.
*
* @param {Hasher} hasher The hasher to create a helper for.
*
* @return {Function} The shortcut function.
*
* @static
*
* @example
*
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
*/
_createHelper: function(t) {
return function(a, i) {
return new t.init(i).finalize(a);
};
},
/**
* Creates a shortcut function to the HMAC's object interface.
*
* @param {Hasher} hasher The hasher to use in this HMAC helper.
*
* @return {Function} The shortcut function.
*
* @static
*
* @example
*
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
*/
_createHmacHelper: function(t) {
return function(a, i) {
return new h.HMAC.init(t, i).finalize(a);
};
}
});
var h = d.algo = {};
return d;
}(Math);
return C;
});
}(F0)), F0.exports;
}
var D0 = { exports: {} }, Cx;
function l0() {
return Cx || (Cx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function(n) {
var p = C, D = p.lib, H = D.Base, B = D.WordArray, d = p.x64 = {};
d.Word = H.extend({
/**
* Initializes a newly created 64-bit word.
*
* @param {number} high The high 32 bits.
* @param {number} low The low 32 bits.
*
* @example
*
* var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
*/
init: function(x, e) {
this.high = x, this.low = e;
}
/**
* Bitwise NOTs this word.
*
* @return {X64Word} A new x64-Word object after negating.
*
* @example
*
* var negated = x64Word.not();
*/
// not: function () {
// var high = ~this.high;
// var low = ~this.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise ANDs this word with the passed word.
*
* @param {X64Word} word The x64-Word to AND with this word.
*
* @return {X64Word} A new x64-Word object after ANDing.
*
* @example
*
* var anded = x64Word.and(anotherX64Word);
*/
// and: function (word) {
// var high = this.high & word.high;
// var low = this.low & word.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise ORs this word with the passed word.
*
* @param {X64Word} word The x64-Word to OR with this word.
*
* @return {X64Word} A new x64-Word object after ORing.
*
* @example
*
* var ored = x64Word.or(anotherX64Word);
*/
// or: function (word) {
// var high = this.high | word.high;
// var low = this.low | word.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise XORs this word with the passed word.
*
* @param {X64Word} word The x64-Word to XOR with this word.
*
* @return {X64Word} A new x64-Word object after XORing.
*
* @example
*
* var xored = x64Word.xor(anotherX64Word);
*/
// xor: function (word) {
// var high = this.high ^ word.high;
// var low = this.low ^ word.low;
// return X64Word.create(high, low);
// },
/**
* Shifts this word n bits to the left.
*
* @param {number} n The number of bits to shift.
*
* @return {X64Word} A new x64-Word object after shifting.
*
* @example
*
* var shifted = x64Word.shiftL(25);
*/
// shiftL: function (n) {
// if (n < 32) {
// var high = (this.high << n) | (this.low >>> (32 - n));
// var low = this.low << n;
// } else {
// var high = this.low << (n - 32);
// var low = 0;
// }
// return X64Word.create(high, low);
// },
/**
* Shifts this word n bits to the right.
*
* @param {number} n The number of bits to shift.
*
* @return {X64Word} A new x64-Word object after shifting.
*
* @example
*
* var shifted = x64Word.shiftR(7);
*/
// shiftR: function (n) {
// if (n < 32) {
// var low = (this.low >>> n) | (this.high << (32 - n));
// var high = this.high >>> n;
// } else {
// var low = this.high >>> (n - 32);
// var high = 0;
// }
// return X64Word.create(high, low);
// },
/**
* Rotates this word n bits to the left.
*
* @param {number} n The number of bits to rotate.
*
* @return {X64Word} A new x64-Word object after rotating.
*
* @example
*
* var rotated = x64Word.rotL(25);
*/
// rotL: function (n) {
// return this.shiftL(n).or(this.shiftR(64 - n));
// },
/**
* Rotates this word n bits to the right.
*
* @param {number} n The number of bits to rotate.
*
* @return {X64Word} A new x64-Word object after rotating.
*
* @example
*
* var rotated = x64Word.rotR(7);
*/
// rotR: function (n) {
// return this.shiftR(n).or(this.shiftL(64 - n));
// },
/**
* Adds this word with the passed word.
*
* @param {X64Word} word The x64-Word to add with this word.
*
* @return {X64Word} A new x64-Word object after adding.
*
* @example
*
* var added = x64Word.add(anotherX64Word);
*/
// add: function (word) {
// var low = (this.low + word.low) | 0;
// var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
// var high = (this.high + word.high + carry) | 0;
// return X64Word.create(high, low);
// }
}), d.WordArray = H.extend({
/**
* Initializes a newly created word array.
*
* @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
*
* @example
*
* var wordArray = CryptoJS.x64.WordArray.create();
*
* var wordArray = CryptoJS.x64.WordArray.create([
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
* ]);
*
* var wordArray = CryptoJS.x64.WordArray.create([
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
* ], 10);
*/
init: function(x, e) {
x = this.words = x || [], e != n ? this.sigBytes = e : this.sigBytes = x.length * 8;
},
/**
* Converts this 64-bit word array to a 32-bit word array.
*
* @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
*
* @example
*
* var x32WordArray = x64WordArray.toX32();
*/
toX32: function() {
for (var x = this.words, e = x.length, u = [], r = 0; r < e; r++) {
var s = x[r];
u.push(s.high), u.push(s.low);
}
return B.create(u, this.sigBytes);
},
/**
* Creates a copy of this word array.
*
* @return {X64WordArray} The clone.
*
* @example
*
* var clone = x64WordArray.clone();
*/
clone: function() {
for (var x = H.clone.call(this), e = x.words = this.words.slice(0), u = e.length, r = 0; r < u; r++)
e[r] = e[r].clone();
return x;
}
});
}(), C;
});
}(D0)), D0.exports;
}
var p0 = { exports: {} }, lx;
function Er() {
return lx || (lx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function() {
if (typeof ArrayBuffer == "function") {
var n = C, p = n.lib, D = p.WordArray, H = D.init, B = D.init = function(d) {
if (d instanceof ArrayBuffer && (d = new Uint8Array(d)), (d instanceof Int8Array || typeof Uint8ClampedArray < "u" && d instanceof Uint8ClampedArray || d instanceof Int16Array || d instanceof Uint16Array || d instanceof Int32Array || d instanceof Uint32Array || d instanceof Float32Array || d instanceof Float64Array) && (d = new Uint8Array(d.buffer, d.byteOffset, d.byteLength)), d instanceof Uint8Array) {
for (var x = d.byteLength, e = [], u = 0; u < x; u++)
e[u >>> 2] |= d[u] << 24 - u % 4 * 8;
H.call(this, e, x);
} else
H.apply(this, arguments);
};
B.prototype = D;
}
}(), C.lib.WordArray;
});
}(p0)), p0.exports;
}
var _0 = { exports: {} }, Ex;
function Ar() {
return Ex || (Ex = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = n.enc;
H.Utf16 = H.Utf16BE = {
/**
* Converts a word array to a UTF-16 BE string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-16 BE string.
*
* @static
*
* @example
*
* var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
*/
stringify: function(d) {
for (var x = d.words, e = d.sigBytes, u = [], r = 0; r < e; r += 2) {
var s = x[r >>> 2] >>> 16 - r % 4 * 8 & 65535;
u.push(String.fromCharCode(s));
}
return u.join("");
},
/**
* Converts a UTF-16 BE string to a word array.
*
* @param {string} utf16Str The UTF-16 BE string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
*/
parse: function(d) {
for (var x = d.length, e = [], u = 0; u < x; u++)
e[u >>> 1] |= d.charCodeAt(u) << 16 - u % 2 * 16;
return D.create(e, x * 2);
}
}, H.Utf16LE = {
/**
* Converts a word array to a UTF-16 LE string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-16 LE string.
*
* @static
*
* @example
*
* var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
*/
stringify: function(d) {
for (var x = d.words, e = d.sigBytes, u = [], r = 0; r < e; r += 2) {
var s = B(x[r >>> 2] >>> 16 - r % 4 * 8 & 65535);
u.push(String.fromCharCode(s));
}
return u.join("");
},
/**
* Converts a UTF-16 LE string to a word array.
*
* @param {string} utf16Str The UTF-16 LE string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
*/
parse: function(d) {
for (var x = d.length, e = [], u = 0; u < x; u++)
e[u >>> 1] |= B(d.charCodeAt(u) << 16 - u % 2 * 16);
return D.create(e, x * 2);
}
};
function B(d) {
return d << 8 & 4278255360 | d >>> 8 & 16711935;
}
}(), C.enc.Utf16;
});
}(_0)), _0.exports;
}
var b0 = { exports: {} }, Ax;
function e0() {
return Ax || (Ax = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = n.enc;
H.Base64 = {
/**
* Converts a word array to a Base64 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The Base64 string.
*
* @static
*
* @example
*
* var base64String = CryptoJS.enc.Base64.stringify(wordArray);
*/
stringify: function(d) {
var x = d.words, e = d.sigBytes, u = this._map;
d.clamp();
for (var r = [], s = 0; s < e; s += 3)
for (var o = x[s >>> 2] >>> 24 - s % 4 * 8 & 255, c = x[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, f = x[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, h = o << 16 | c << 8 | f, t = 0; t < 4 && s + t * 0.75 < e; t++)
r.push(u.charAt(h >>> 6 * (3 - t) & 63));
var a = u.charAt(64);
if (a)
for (; r.length % 4; )
r.push(a);
return r.join("");
},
/**
* Converts a Base64 string to a word array.
*
* @param {string} base64Str The Base64 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Base64.parse(base64String);
*/
parse: function(d) {
var x = d.length, e = this._map, u = this._reverseMap;
if (!u) {
u = this._reverseMap = [];
for (var r = 0; r < e.length; r++)
u[e.charCodeAt(r)] = r;
}
var s = e.charAt(64);
if (s) {
var o = d.indexOf(s);
o !== -1 && (x = o);
}
return B(d, x, u);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
};
function B(d, x, e) {
for (var u = [], r = 0, s = 0; s < x; s++)
if (s % 4) {
var o = e[d.charCodeAt(s - 1)] << s % 4 * 2, c = e[d.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
u[r >>> 2] |= f << 24 - r % 4 * 8, r++;
}
return D.create(u, r);
}
}(), C.enc.Base64;
});
}(b0)), b0.exports;
}
var g0 = { exports: {} }, Fx;
function Fr() {
return Fx || (Fx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = n.enc;
H.Base64url = {
/**
* Converts a word array to a Base64url string.
*
* @param {WordArray} wordArray The word array.
*
* @param {boolean} urlSafe Whether to use url safe
*
* @return {string} The Base64url string.
*
* @static
*
* @example
*
* var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
*/
stringify: function(d, x) {
x === void 0 && (x = !0);
var e = d.words, u = d.sigBytes, r = x ? this._safe_map : this._map;
d.clamp();
for (var s = [], o = 0; o < u; o += 3)
for (var c = e[o >>> 2] >>> 24 - o % 4 * 8 & 255, f = e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255, h = e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, t = c << 16 | f << 8 | h, a = 0; a < 4 && o + a * 0.75 < u; a++)
s.push(r.charAt(t >>> 6 * (3 - a) & 63));
var i = r.charAt(64);
if (i)
for (; s.length % 4; )
s.push(i);
return s.join("");
},
/**
* Converts a Base64url string to a word array.
*
* @param {string} base64Str The Base64url string.
*
* @param {boolean} urlSafe Whether to use url safe
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Base64url.parse(base64String);
*/
parse: function(d, x) {
x === void 0 && (x = !0);
var e = d.length, u = x ? this._safe_map : this._map, r = this._reverseMap;
if (!r) {
r = this._reverseMap = [];
for (var s = 0; s < u.length; s++)
r[u.charCodeAt(s)] = s;
}
var o = u.charAt(64);
if (o) {
var c = d.indexOf(o);
c !== -1 && (e = c);
}
return B(d, e, r);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
_safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
};
function B(d, x, e) {
for (var u = [], r = 0, s = 0; s < x; s++)
if (s % 4) {
var o = e[d.charCodeAt(s - 1)] << s % 4 * 2, c = e[d.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
u[r >>> 2] |= f << 24 - r % 4 * 8, r++;
}
return D.create(u, r);
}
}(), C.enc.Base64url;
});
}(g0)), g0.exports;
}
var y0 = { exports: {} }, Dx;
function t0() {
return Dx || (Dx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function(n) {
var p = C, D = p.lib, H = D.WordArray, B = D.Hasher, d = p.algo, x = [];
(function() {
for (var c = 0; c < 64; c++)
x[c] = n.abs(n.sin(c + 1)) * 4294967296 | 0;
})();
var e = d.MD5 = B.extend({
_doReset: function() {
this._hash = new H.init([
1732584193,
4023233417,
2562383102,
271733878
]);
},
_doProcessBlock: function(c, f) {
for (var h = 0; h < 16; h++) {
var t = f + h, a = c[t];
c[t] = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360;
}
var i = this._hash.words, E = c[f + 0], l = c[f + 1], A = c[f + 2], _ = c[f + 3], S = c[f + 4], v = c[f + 5], F = c[f + 6], g = c[f + 7], y = c[f + 8], z = c[f + 9], q = c[f + 10], P = c[f + 11], U = c[f + 12], N = c[f + 13], O = c[f + 14], X = c[f + 15], b = i[0], w = i[1], m = i[2], k = i[3];
b = u(b, w, m, k, E, 7, x[0]), k = u(k, b, w, m, l, 12, x[1]), m = u(m, k, b, w, A, 17, x[2]), w = u(w, m, k, b, _, 22, x[3]), b = u(b, w, m, k, S, 7, x[4]), k = u(k, b, w, m, v, 12, x[5]), m = u(m, k, b, w, F, 17, x[6]), w = u(w, m, k, b, g, 22, x[7]), b = u(b, w, m, k, y, 7, x[8]), k = u(k, b, w, m, z, 12, x[9]), m = u(m, k, b, w, q, 17, x[10]), w = u(w, m, k, b, P, 22, x[11]), b = u(b, w, m, k, U, 7, x[12]), k = u(k, b, w, m, N, 12, x[13]), m = u(m, k, b, w, O, 17, x[14]), w = u(w, m, k, b, X, 22, x[15]), b = r(b, w, m, k, l, 5, x[16]), k = r(k, b, w, m, F, 9, x[17]), m = r(m, k, b, w, P, 14, x[18]), w = r(w, m, k, b, E, 20, x[19]), b = r(b, w, m, k, v, 5, x[20]), k = r(k, b, w, m, q, 9, x[21]), m = r(m, k, b, w, X, 14, x[22]), w = r(w, m, k, b, S, 20, x[23]), b = r(b, w, m, k, z, 5, x[24]), k = r(k, b, w, m, O, 9, x[25]), m = r(m, k, b, w, _, 14, x[26]), w = r(w, m, k, b, y, 20, x[27]), b = r(b, w, m, k, N, 5, x[28]), k = r(k, b, w, m, A, 9, x[29]), m = r(m, k, b, w, g, 14, x[30]), w = r(w, m, k, b, U, 20, x[31]), b = s(b, w, m, k, v, 4, x[32]), k = s(k, b, w, m, y, 11, x[33]), m = s(m, k, b, w, P, 16, x[34]), w = s(w, m, k, b, O, 23, x[35]), b = s(b, w, m, k, l, 4, x[36]), k = s(k, b, w, m, S, 11, x[37]), m = s(m, k, b, w, g, 16, x[38]), w = s(w, m, k, b, q, 23, x[39]), b = s(b, w, m, k, N, 4, x[40]), k = s(k, b, w, m, E, 11, x[41]), m = s(m, k, b, w, _, 16, x[42]), w = s(w, m, k, b, F, 23, x[43]), b = s(b, w, m, k, z, 4, x[44]), k = s(k, b, w, m, U, 11, x[45]), m = s(m, k, b, w, X, 16, x[46]), w = s(w, m, k, b, A, 23, x[47]), b = o(b, w, m, k, E, 6, x[48]), k = o(k, b, w, m, g, 10, x[49]), m = o(m, k, b, w, O, 15, x[50]), w = o(w, m, k, b, v, 21, x[51]), b = o(b, w, m, k, U, 6, x[52]), k = o(k, b, w, m, _, 10, x[53]), m = o(m, k, b, w, q, 15, x[54]), w = o(w, m, k, b, l, 21, x[55]), b = o(b, w, m, k, y, 6, x[56]), k = o(k, b, w, m, X, 10, x[57]), m = o(m, k, b, w, F, 15, x[58]), w = o(w, m, k, b, N, 21, x[59]), b = o(b, w, m, k, S, 6, x[60]), k = o(k, b, w, m, P, 10, x[61]), m = o(m, k, b, w, A, 15, x[62]), w = o(w, m, k, b, z, 21, x[63]), i[0] = i[0] + b | 0, i[1] = i[1] + w | 0, i[2] = i[2] + m | 0, i[3] = i[3] + k | 0;
},
_doFinalize: function() {
var c = this._data, f = c.words, h = this._nDataBytes * 8, t = c.sigBytes * 8;
f[t >>> 5] |= 128 << 24 - t % 32;
var a = n.floor(h / 4294967296), i = h;
f[(t + 64 >>> 9 << 4) + 15] = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, f[(t + 64 >>> 9 << 4) + 14] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, c.sigBytes = (f.length + 1) * 4, this._process();
for (var E = this._hash, l = E.words, A = 0; A < 4; A++) {
var _ = l[A];
l[A] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360;
}
return E;
},
clone: function() {
var c = B.clone.call(this);
return c._hash = this._hash.clone(), c;
}
});
function u(c, f, h, t, a, i, E) {
var l = c + (f & h | ~f & t) + a + E;
return (l << i | l >>> 32 - i) + f;
}
function r(c, f, h, t, a, i, E) {
var l = c + (f & t | h & ~t) + a + E;
return (l << i | l >>> 32 - i) + f;
}
function s(c, f, h, t, a, i, E) {
var l = c + (f ^ h ^ t) + a + E;
return (l << i | l >>> 32 - i) + f;
}
function o(c, f, h, t, a, i, E) {
var l = c + (h ^ (f | ~t)) + a + E;
return (l << i | l >>> 32 - i) + f;
}
p.MD5 = B._createHelper(e), p.HmacMD5 = B._createHmacHelper(e);
}(Math), C.MD5;
});
}(y0)), y0.exports;
}
var k0 = { exports: {} }, px;
function Mx() {
return px || (px = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = p.Hasher, B = n.algo, d = [], x = B.SHA1 = H.extend({
_doReset: function() {
this._hash = new D.init([
1732584193,
4023233417,
2562383102,
271733878,
3285377520
]);
},
_doProcessBlock: function(e, u) {
for (var r = this._hash.words, s = r[0], o = r[1], c = r[2], f = r[3], h = r[4], t = 0; t < 80; t++) {
if (t < 16)
d[t] = e[u + t] | 0;
else {
var a = d[t - 3] ^ d[t - 8] ^ d[t - 14] ^ d[t - 16];
d[t] = a << 1 | a >>> 31;
}
var i = (s << 5 | s >>> 27) + h + d[t];
t < 20 ? i += (o & c | ~o & f) + 1518500249 : t < 40 ? i += (o ^ c ^ f) + 1859775393 : t < 60 ? i += (o & c | o & f | c & f) - 1894007588 : i += (o ^ c ^ f) - 899497514, h = f, f = c, c = o << 30 | o >>> 2, o = s, s = i;
}
r[0] = r[0] + s | 0, r[1] = r[1] + o | 0, r[2] = r[2] + c | 0, r[3] = r[3] + f | 0, r[4] = r[4] + h | 0;
},
_doFinalize: function() {
var e = this._data, u = e.words, r = this._nDataBytes * 8, s = e.sigBytes * 8;
return u[s >>> 5] |= 128 << 24 - s % 32, u[(s + 64 >>> 9 << 4) + 14] = Math.floor(r / 4294967296), u[(s + 64 >>> 9 << 4) + 15] = r, e.sigBytes = u.length * 4, this._process(), this._hash;
},
clone: function() {
var e = H.clone.call(this);
return e._hash = this._hash.clone(), e;
}
});
n.SHA1 = H._createHelper(x), n.HmacSHA1 = H._createHmacHelper(x);
}(), C.SHA1;
});
}(k0)), k0.exports;
}
var H0 = { exports: {} }, _x;
function rx() {
return _x || (_x = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
return function(n) {
var p = C, D = p.lib, H = D.WordArray, B = D.Hasher, d = p.algo, x = [], e = [];
(function() {
function s(h) {
for (var t = n.sqrt(h), a = 2; a <= t; a++)
if (!(h % a))
return !1;
return !0;
}
function o(h) {
return (h - (h | 0)) * 4294967296 | 0;
}
for (var c = 2, f = 0; f < 64; )
s(c) && (f < 8 && (x[f] = o(n.pow(c, 1 / 2))), e[f] = o(n.pow(c, 1 / 3)), f++), c++;
})();
var u = [], r = d.SHA256 = B.extend({
_doReset: function() {
this._hash = new H.init(x.slice(0));
},
_doProcessBlock: function(s, o) {
for (var c = this._hash.words, f = c[0], h = c[1], t = c[2], a = c[3], i = c[4], E = c[5], l = c[6], A = c[7], _ = 0; _ < 64; _++) {
if (_ < 16)
u[_] = s[o + _] | 0;
else {
var S = u[_ - 15], v = (S << 25 | S >>> 7) ^ (S << 14 | S >>> 18) ^ S >>> 3, F = u[_ - 2], g = (F << 15 | F >>> 17) ^ (F << 13 | F >>> 19) ^ F >>> 10;
u[_] = v + u[_ - 7] + g + u[_ - 16];
}
var y = i & E ^ ~i & l, z = f & h ^ f & t ^ h & t, q = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), P = (i << 26 | i >>> 6) ^ (i << 21 | i >>> 11) ^ (i << 7 | i >>> 25), U = A + P + y + e[_] + u[_], N = q + z;
A = l, l = E, E = i, i = a + U | 0, a = t, t = h, h = f, f = U + N | 0;
}
c[0] = c[0] + f | 0, c[1] = c[1] + h | 0, c[2] = c[2] + t | 0, c[3] = c[3] + a | 0, c[4] = c[4] + i | 0, c[5] = c[5] + E | 0, c[6] = c[6] + l | 0, c[7] = c[7] + A | 0;
},
_doFinalize: function() {
var s = this._data, o = s.words, c = this._nDataBytes * 8, f = s.sigBytes * 8;
return o[f >>> 5] |= 128 << 24 - f % 32, o[(f + 64 >>> 9 << 4) + 14] = n.floor(c / 4294967296), o[(f + 64 >>> 9 << 4) + 15] = c, s.sigBytes = o.length * 4, this._process(), this._hash;
},
clone: function() {
var s = B.clone.call(this);
return s._hash = this._hash.clone(), s;
}
});
p.SHA256 = B._createHelper(r), p.HmacSHA256 = B._createHmacHelper(r);
}(Math), C.SHA256;
});
}(H0)), H0.exports;
}
var w0 = { exports: {} }, bx;
function Dr() {
return bx || (bx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), rx());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = n.algo, B = H.SHA256, d = H.SHA224 = B.extend({
_doReset: function() {
this._hash = new D.init([
3238371032,
914150663,
812702999,
4144912697,
4290775857,
1750603025,
1694076839,
3204075428
]);
},
_doFinalize: function() {
var x = B._doFinalize.call(this);
return x.sigBytes -= 4, x;
}
});
n.SHA224 = B._createHelper(d), n.HmacSHA224 = B._createHmacHelper(d);
}(), C.SHA224;
});
}(w0)), w0.exports;
}
var m0 = { exports: {} }, gx;
function Vx() {
return gx || (gx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), l0());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.Hasher, H = n.x64, B = H.Word, d = H.WordArray, x = n.algo;
function e() {
return B.create.apply(B, arguments);
}
var u = [
e(1116352408, 3609767458),
e(1899447441, 602891725),
e(3049323471, 3964484399),
e(3921009573, 2173295548),
e(961987163, 4081628472),
e(1508970993, 3053834265),
e(2453635748, 2937671579),
e(2870763221, 3664609560),
e(3624381080, 2734883394),
e(310598401, 1164996542),
e(607225278, 1323610764),
e(1426881987, 3590304994),
e(1925078388, 4068182383),
e(2162078206, 991336113),
e(2614888103, 633803317),
e(3248222580, 3479774868),
e(3835390401, 2666613458),
e(4022224774, 944711139),
e(264347078, 2341262773),
e(604807628, 2007800933),
e(770255983, 1495990901),
e(1249150122, 1856431235),
e(1555081692, 3175218132),
e(1996064986, 2198950837),
e(2554220882, 3999719339),
e(2821834349, 766784016),
e(2952996808, 2566594879),
e(3210313671, 3203337956),
e(3336571891, 1034457026),
e(3584528711, 2466948901),
e(113926993, 3758326383),
e(338241895, 168717936),
e(666307205, 1188179964),
e(773529912, 1546045734),
e(1294757372, 1522805485),
e(1396182291, 2643833823),
e(1695183700, 2343527390),
e(1986661051, 1014477480),
e(2177026350, 1206759142),
e(2456956037, 344077627),
e(2730485921, 1290863460),
e(2820302411, 3158454273),
e(3259730800, 3505952657),
e(3345764771, 106217008),
e(3516065817, 3606008344),
e(3600352804, 1432725776),
e(4094571909, 1467031594),
e(275423344, 851169720),
e(430227734, 3100823752),
e(506948616, 1363258195),
e(659060556, 3750685593),
e(883997877, 3785050280),
e(958139571, 3318307427),
e(1322822218, 3812723403),
e(1537002063, 2003034995),
e(1747873779, 3602036899),
e(1955562222, 1575990012),
e(2024104815, 1125592928),
e(2227730452, 2716904306),
e(2361852424, 442776044),
e(2428436474, 593698344),
e(2756734187, 3733110249),
e(3204031479, 2999351573),
e(3329325298, 3815920427),
e(3391569614, 3928383900),
e(3515267271, 566280711),
e(3940187606, 3454069534),
e(4118630271, 4000239992),
e(116418474, 1914138554),
e(174292421, 2731055270),
e(289380356, 3203993006),
e(460393269, 320620315),
e(685471733, 587496836),
e(852142971, 1086792851),
e(1017036298, 365543100),
e(1126000580, 2618297676),
e(1288033470, 3409855158),
e(1501505948, 4234509866),
e(1607167915, 987167468),
e(1816402316, 1246189591)
], r = [];
(function() {
for (var o = 0; o < 80; o++)
r[o] = e();
})();
var s = x.SHA512 = D.extend({
_doReset: function() {
this._hash = new d.init([
new B.init(1779033703, 4089235720),
new B.init(3144134277, 2227873595),
new B.init(1013904242, 4271175723),
new B.init(2773480762, 1595750129),
new B.init(1359893119, 2917565137),
new B.init(2600822924, 725511199),
new B.init(528734635, 4215389547),
new B.init(1541459225, 327033209)
]);
},
_doProcessBlock: function(o, c) {
for (var f = this._hash.words, h = f[0], t = f[1], a = f[2], i = f[3], E = f[4], l = f[5], A = f[6], _ = f[7], S = h.high, v = h.low, F = t.high, g = t.low, y = a.high, z = a.low, q = i.high, P = i.low, U = E.high, N = E.low, O = l.high, X = l.low, b = A.high, w = A.low, m = _.high, k = _.low, G = S, K = v, $ = F, L = g, i0 = y, a0 = z, E0 = q, f0 = P, M = U, Q = N, d0 = O, s0 = X, h0 = b, c0 = w, A0 = m, v0 = k, V = 0; V < 80; V++) {
var j, J, C0 = r[V];
if (V < 16)
J = C0.high = o[c + V * 2] | 0, j = C0.low = o[c + V * 2 + 1] | 0;
else {
var tx = r[V - 15], n0 = tx.high, B0 = tx.low, Jx = (n0 >>> 1 | B0 << 31) ^ (n0 >>> 8 | B0 << 24) ^ n0 >>> 7, ax = (B0 >>> 1 | n0 << 31) ^ (B0 >>> 8 | n0 << 24) ^ (B0 >>> 7 | n0 << 25), nx = r[V - 2], o0 = nx.high, u0 = nx.low, xr = (o0 >>> 19 | u0 << 13) ^ (o0 << 3 | u0 >>> 29) ^ o0 >>> 6, ox = (u0 >>> 19 | o0 << 13) ^ (u0 << 3 | o0 >>> 29) ^ (u0 >>> 6 | o0 << 26), ix = r[V - 7], rr = ix.high, er = ix.low, fx = r[V - 16], tr = fx.high, sx = fx.low;
j = ax + er, J = Jx + rr + (j >>> 0 < ax >>> 0 ? 1 : 0), j = j + ox, J = J + xr + (j >>> 0 < ox >>> 0 ? 1 : 0), j = j + sx, J = J + tr + (j >>> 0 < sx >>> 0 ? 1 : 0), C0.high = J, C0.low = j;
}
var ar = M & d0 ^ ~M & h0, cx = Q & s0 ^ ~Q & c0, nr = G & $ ^ G & i0 ^ $ & i0, or = K & L ^ K & a0 ^ L & a0, ir = (G >>> 28 | K << 4) ^ (G << 30 | K >>> 2) ^ (G << 25 | K >>> 7), vx = (K >>> 28 | G << 4) ^ (K << 30 | G >>> 2) ^ (K << 25 | G >>> 7), fr = (M >>> 14 | Q << 18) ^ (M >>> 18 | Q << 14) ^ (M << 23 | Q >>> 9), sr = (Q >>> 14 | M << 18) ^ (Q >>> 18 | M << 14) ^ (Q << 23 | M >>> 9), Bx = u[V], cr = Bx.high, ux = Bx.low, Y = v0 + sr, x0 = A0 + fr + (Y >>> 0 < v0 >>> 0 ? 1 : 0), Y = Y + cx, x0 = x0 + ar + (Y >>> 0 < cx >>> 0 ? 1 : 0), Y = Y + ux, x0 = x0 + cr + (Y >>> 0 < ux >>> 0 ? 1 : 0), Y = Y + j, x0 = x0 + J + (Y >>> 0 < j >>> 0 ? 1 : 0), dx = vx + or, vr = ir + nr + (dx >>> 0 < vx >>> 0 ? 1 : 0);
A0 = h0, v0 = c0, h0 = d0, c0 = s0, d0 = M, s0 = Q, Q = f0 + Y | 0, M = E0 + x0 + (Q >>> 0 < f0 >>> 0 ? 1 : 0) | 0, E0 = i0, f0 = a0, i0 = $, a0 = L, $ = G, L = K, K = Y + dx | 0, G = x0 + vr + (K >>> 0 < Y >>> 0 ? 1 : 0) | 0;
}
v = h.low = v + K, h.high = S + G + (v >>> 0 < K >>> 0 ? 1 : 0), g = t.low = g + L, t.high = F + $ + (g >>> 0 < L >>> 0 ? 1 : 0), z = a.low = z + a0, a.high = y + i0 + (z >>> 0 < a0 >>> 0 ? 1 : 0), P = i.low = P + f0, i.high = q + E0 + (P >>> 0 < f0 >>> 0 ? 1 : 0), N = E.low = N + Q, E.high = U + M + (N >>> 0 < Q >>> 0 ? 1 : 0), X = l.low = X + s0, l.high = O + d0 + (X >>> 0 < s0 >>> 0 ? 1 : 0), w = A.low = w + c0, A.high = b + h0 + (w >>> 0 < c0 >>> 0 ? 1 : 0), k = _.low = k + v0, _.high = m + A0 + (k >>> 0 < v0 >>> 0 ? 1 : 0);
},
_doFinalize: function() {
var o = this._data, c = o.words, f = this._nDataBytes * 8, h = o.sigBytes * 8;
c[h >>> 5] |= 128 << 24 - h % 32, c[(h + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), c[(h + 128 >>> 10 << 5) + 31] = f, o.sigBytes = c.length * 4, this._process();
var t = this._hash.toX32();
return t;
},
clone: function() {
var o = D.clone.call(this);
return o._hash = this._hash.clone(), o;
},
blockSize: 1024 / 32
});
n.SHA512 = D._createHelper(s), n.HmacSHA512 = D._createHmacHelper(s);
}(), C.SHA512;
});
}(m0)), m0.exports;
}
var S0 = { exports: {} }, yx;
function pr() {
return yx || (yx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), l0(), Vx());
})(W, function(C) {
return function() {
var n = C, p = n.x64, D = p.Word, H = p.WordArray, B = n.algo, d = B.SHA512, x = B.SHA384 = d.extend({
_doReset: function() {
this._hash = new H.init([
new D.init(3418070365, 3238371032),
new D.init(1654270250, 914150663),
new D.init(2438529370, 812702999),
new D.init(355462360, 4144912697),
new D.init(1731405415, 4290775857),
new D.init(2394180231, 1750603025),
new D.init(3675008525, 1694076839),
new D.init(1203062813, 3204075428)
]);
},
_doFinalize: function() {
var e = d._doFinalize.call(this);
return e.sigBytes -= 16, e;
}
});
n.SHA384 = d._createHelper(x), n.HmacSHA384 = d._createHmacHelper(x);
}(), C.SHA384;
});
}(S0)), S0.exports;
}
var R0 = { exports: {} }, kx;
function _r() {
return kx || (kx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), l0());
})(W, function(C) {
return function(n) {
var p = C, D = p.lib, H = D.WordArray, B = D.Hasher, d = p.x64, x = d.Word, e = p.algo, u = [], r = [], s = [];
(function() {
for (var f = 1, h = 0, t = 0; t < 24; t++) {
u[f + 5 * h] = (t + 1) * (t + 2) / 2 % 64;
var a = h % 5, i = (2 * f + 3 * h) % 5;
f = a, h = i;
}
for (var f = 0; f < 5; f++)
for (var h = 0; h < 5; h++)
r[f + 5 * h] = h + (2 * f + 3 * h) % 5 * 5;
for (var E = 1, l = 0; l < 24; l++) {
for (var A = 0, _ = 0, S = 0; S < 7; S++) {
if (E & 1) {
var v = (1 << S) - 1;
v < 32 ? _ ^= 1 << v : A ^= 1 << v - 32;
}
E & 128 ? E = E << 1 ^ 113 : E <<= 1;
}
s[l] = x.create(A, _);
}
})();
var o = [];
(function() {
for (var f = 0; f < 25; f++)
o[f] = x.create();
})();
var c = e.SHA3 = B.extend({
/**
* Configuration options.
*
* @property {number} outputLength
* The desired number of bits in the output hash.
* Only values permitted are: 224, 256, 384, 512.
* Default: 512
*/
cfg: B.cfg.extend({
outputLength: 512
}),
_doReset: function() {
for (var f = this._state = [], h = 0; h < 25; h++)
f[h] = new x.init();
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
},
_doProcessBlock: function(f, h) {
for (var t = this._state, a = this.blockSize / 2, i = 0; i < a; i++) {
var E = f[h + 2 * i], l = f[h + 2 * i + 1];
E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, l = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360;
var A = t[i];
A.high ^= l, A.low ^= E;
}
for (var _ = 0; _ < 24; _++) {
for (var S = 0; S < 5; S++) {
for (var v = 0, F = 0, g = 0; g < 5; g++) {
var A = t[S + 5 * g];
v ^= A.high, F ^= A.low;
}
var y = o[S];
y.high = v, y.low = F;
}
for (var S = 0; S < 5; S++)
for (var z = o[(S + 4) % 5], q = o[(S + 1) % 5], P = q.high, U = q.low, v = z.high ^ (P << 1 | U >>> 31), F = z.low ^ (U << 1 | P >>> 31), g = 0; g < 5; g++) {
var A = t[S + 5 * g];
A.high ^= v, A.low ^= F;
}
for (var N = 1; N < 25; N++) {
var v, F, A = t[N], O = A.high, X = A.low, b = u[N];
b < 32 ? (v = O << b | X >>> 32 - b, F = X << b | O >>> 32 - b) : (v = X << b - 32 | O >>> 64 - b, F = O << b - 32 | X >>> 64 - b);
var w = o[r[N]];
w.high = v, w.low = F;
}
var m = o[0], k = t[0];
m.high = k.high, m.low = k.low;
for (var S = 0; S < 5; S++)
for (var g = 0; g < 5; g++) {
var N = S + 5 * g, A = t[N], G = o[N], K = o[(S + 1) % 5 + 5 * g], $ = o[(S + 2) % 5 + 5 * g];
A.high = G.high ^ ~K.high & $.high, A.low = G.low ^ ~K.low & $.low;
}
var A = t[0], L = s[_];
A.high ^= L.high, A.low ^= L.low;
}
},
_doFinalize: function() {
var f = this._data, h = f.words;
this._nDataBytes * 8;
var t = f.sigBytes * 8, a = this.blockSize * 32;
h[t >>> 5] |= 1 << 24 - t % 32, h[(n.ceil((t + 1) / a) * a >>> 5) - 1] |= 128, f.sigBytes = h.length * 4, this._process();
for (var i = this._state, E = this.cfg.outputLength / 8, l = E / 8, A = [], _ = 0; _ < l; _++) {
var S = i[_], v = S.high, F = S.low;
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, A.push(F), A.push(v);
}
return new H.init(A, E);
},
clone: function() {
for (var f = B.clone.call(this), h = f._state = this._state.slice(0), t = 0; t < 25; t++)
h[t] = h[t].clone();
return f;
}
});
p.SHA3 = B._createHelper(c), p.HmacSHA3 = B._createHmacHelper(c);
}(Math), C.SHA3;
});
}(R0)), R0.exports;
}
var z0 = { exports: {} }, Hx;
function br() {
return Hx || (Hx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
return function(n) {
var p = C, D = p.lib, H = D.WordArray, B = D.Hasher, d = p.algo, x = H.create([
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
7,
4,
13,
1,
10,
6,
15,
3,
12,
0,
9,
5,
2,
14,
11,
8,
3,
10,
14,
4,
9,
15,
8,
1,
2,
7,
0,
6,
13,
11,
5,
12,
1,
9,
11,
10,
0,
8,
12,
4,
13,
3,
7,
15,
14,
5,
6,
2,
4,
0,
5,
9,
7,
12,
2,
10,
14,
1,
3,
8,
11,
6,
15,
13
]), e = H.create([
5,
14,
7,
0,
9,
2,
11,
4,
13,
6,
15,
8,
1,
10,
3,
12,
6,
11,
3,
7,
0,
13,
5,
10,
14,
15,
8,
12,
4,
9,
1,
2,
15,
5,
1,
3,
7,
14,
6,
9,
11,
8,
12,
2,
10,
0,
4,
13,
8,
6,
4,
1,
3,
11,
15,
0,
5,
12,
2,
13,
9,
7,
10,
14,
12,
15,
10,
4,
1,
5,
8,
7,
6,
2,
13,
14,
0,
3,
9,
11
]), u = H.create([
11,
14,
15,
12,
5,
8,
7,
9,
11,
13,
14,
15,
6,
7,
9,
8,
7,
6,
8,
13,
11,
9,
7,
15,
7,
12,
15,
9,
11,
7,
13,
12,
11,
13,
6,
7,
14,
9,
13,
15,
14,
8,
13,
6,
5,
12,
7,
5,
11,
12,
14,
15,
14,
15,
9,
8,
9,
14,
5,
6,
8,
6,
5,
12,
9,
15,
5,
11,
6,
8,
13,
12,
5,
12,
13,
14,
11,
8,
5,
6
]), r = H.create([
8,
9,
9,
11,
13,
15,
15,
5,
7,
7,
8,
11,
14,
14,
12,
6,
9,
13,
15,
7,
12,
8,
9,
11,
7,
7,
12,
7,
6,
15,
13,
11,
9,
7,
15,
11,
8,
6,
6,
14,
12,
13,
5,
14,
13,
13,
7,
5,
15,
5,
8,
11,
14,
14,
6,
14,
6,
9,
12,
9,
12,
5,
15,
8,
8,
5,
12,
9,
12,
5,
14,
6,
8,
13,
6,
5,
15,
13,
11,
11
]), s = H.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), o = H.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = d.RIPEMD160 = B.extend({
_doReset: function() {
this._hash = H.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
},
_doProcessBlock: function(l, A) {
for (var _ = 0; _ < 16; _++) {
var S = A + _, v = l[S];
l[S] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
}
var F = this._hash.words, g = s.words, y = o.words, z = x.words, q = e.words, P = u.words, U = r.words, N, O, X, b, w, m, k, G, K, $;
m = N = F[0], k = O = F[1], G = X = F[2], K = b = F[3], $ = w = F[4];
for (var L, _ = 0; _ < 80; _ += 1)
L = N + l[A + z[_]] | 0, _ < 16 ? L += f(O, X, b) + g[0] : _ < 32 ? L += h(O, X, b) + g[1] : _ < 48 ? L += t(O, X, b) + g[2] : _ < 64 ? L += a(O, X, b) + g[3] : L += i(O, X, b) + g[4], L = L | 0, L = E(L, P[_]), L = L + w | 0, N = w, w = b, b = E(X, 10), X = O, O = L, L = m + l[A + q[_]] | 0, _ < 16 ? L += i(k, G, K) + y[0] : _ < 32 ? L += a(k, G, K) + y[1] : _ < 48 ? L += t(k, G, K) + y[2] : _ < 64 ? L += h(k, G, K) + y[3] : L += f(k, G, K) + y[4], L = L | 0, L = E(L, U[_]), L = L + $ | 0, m = $, $ = K, K = E(G, 10), G = k, k = L;
L = F[1] + X + K | 0, F[1] = F[2] + b + $ | 0, F[2] = F[3] + w + m | 0, F[3] = F[4] + N + k | 0, F[4] = F[0] + O + G | 0, F[0] = L;
},
_doFinalize: function() {
var l = this._data, A = l.words, _ = this._nDataBytes * 8, S = l.sigBytes * 8;
A[S >>> 5] |= 128 << 24 - S % 32, A[(S + 64 >>> 9 << 4) + 14] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, l.sigBytes = (A.length + 1) * 4, this._process();
for (var v = this._hash, F = v.words, g = 0; g < 5; g++) {
var y = F[g];
F[g] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
}
return v;
},
clone: function() {
var l = B.clone.call(this);
return l._hash = this._hash.clone(), l;
}
});
function f(l, A, _) {
return l ^ A ^ _;
}
function h(l, A, _) {
return l & A | ~l & _;
}
function t(l, A, _) {
return (l | ~A) ^ _;
}
function a(l, A, _) {
return l & _ | A & ~_;
}
function i(l, A, _) {
return l ^ (A | ~_);
}
function E(l, A) {
return l << A | l >>> 32 - A;
}
p.RIPEMD160 = B._createHelper(c), p.HmacRIPEMD160 = B._createHmacHelper(c);
}(), C.RIPEMD160;
});
}(z0)), z0.exports;
}
var q0 = { exports: {} }, wx;
function ex() {
return wx || (wx = 1, function(R, T) {
(function(C, n) {
R.exports = n(I());
})(W, function(C) {
(function() {
var n = C, p = n.lib, D = p.Base, H = n.enc, B = H.Utf8, d = n.algo;
d.HMAC = D.extend({
/**
* Initializes a newly created HMAC.
*
* @param {Hasher} hasher The hash algorithm to use.
* @param {WordArray|string} key The secret key.
*
* @example
*
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
*/
init: function(x, e) {
x = this._hasher = new x.init(), typeof e == "string" && (e = B.parse(e));
var u = x.blockSize, r = u * 4;
e.sigBytes > r && (e = x.finalize(e)), e.clamp();
for (var s = this._oKey = e.clone(), o = this._iKey = e.clone(), c = s.words, f = o.words, h = 0; h < u; h++)
c[h] ^= 1549556828, f[h] ^= 909522486;
s.sigBytes = o.sigBytes = r, this.reset();
},
/**
* Resets this HMAC to its initial state.
*
* @example
*
* hmacHasher.reset();
*/
reset: function() {
var x = this._hasher;
x.reset(), x.update(this._iKey);
},
/**
* Updates this HMAC with a message.
*
* @param {WordArray|string} messageUpdate The message to append.
*
* @return {HMAC} This HMAC instance.
*
* @example
*
* hmacHasher.update('message');
* hmacHasher.update(wordArray);
*/
update: function(x) {
return this._hasher.update(x), this;
},
/**
* Finalizes the HMAC computation.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} messageUpdate (Optional) A final message update.
*
* @return {WordArray} The HMAC.
*
* @example
*
* var hmac = hmacHasher.finalize();
* var hmac = hmacHasher.finalize('message');
* var hmac = hmacHasher.finalize(wordArray);
*/
finalize: function(x) {
var e = this._hasher, u = e.finalize(x);
e.reset();
var r = e.finalize(this._oKey.clone().concat(u));
return r;
}
});
})();
});
}(q0)), q0.exports;
}
var P0 = { exports: {} }, mx;
function gr() {
return mx || (mx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), rx(), ex());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.Base, H = p.WordArray, B = n.algo, d = B.SHA256, x = B.HMAC, e = B.PBKDF2 = D.extend({
/**
* Configuration options.
*
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
* @property {Hasher} hasher The hasher to use. Default: SHA256
* @property {number} iterations The number of iterations to perform. Default: 250000
*/
cfg: D.extend({
keySize: 128 / 32,
hasher: d,
iterations: 25e4
}),
/**
* Initializes a newly created key derivation function.
*
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
*
* @example
*
* var kdf = CryptoJS.algo.PBKDF2.create();
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
*/
init: function(u) {
this.cfg = this.cfg.extend(u);
},
/**
* Computes the Password-Based Key Derivation Function 2.
*
* @param {WordArray|string} password The password.
* @param {WordArray|string} salt A salt.
*
* @return {WordArray} The derived key.
*
* @example
*
* var key = kdf.compute(password, salt);
*/
compute: function(u, r) {
for (var s = this.cfg, o = x.create(s.hasher, u), c = H.create(), f = H.create([1]), h = c.words, t = f.words, a = s.keySize, i = s.iterations; h.length < a; ) {
var E = o.update(r).finalize(f);
o.reset();
for (var l = E.words, A = l.length, _ = E, S = 1; S < i; S++) {
_ = o.finalize(_), o.reset();
for (var v = _.words, F = 0; F < A; F++)
l[F] ^= v[F];
}
c.concat(E), t[0]++;
}
return c.sigBytes = a * 4, c;
}
});
n.PBKDF2 = function(u, r, s) {
return e.create(s).compute(u, r);
};
}(), C.PBKDF2;
});
}(P0)), P0.exports;
}
var W0 = { exports: {} }, Sx;
function r0() {
return Sx || (Sx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Mx(), ex());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.Base, H = p.WordArray, B = n.algo, d = B.MD5, x = B.EvpKDF = D.extend({
/**
* Configuration options.
*
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
* @property {Hasher} hasher The hash algorithm to use. Default: MD5
* @property {number} iterations The number of iterations to perform. Default: 1
*/
cfg: D.extend({
keySize: 128 / 32,
hasher: d,
iterations: 1
}),
/**
* Initializes a newly created key derivation function.
*
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
*
* @example
*
* var kdf = CryptoJS.algo.EvpKDF.create();
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
*/
init: function(e) {
this.cfg = this.cfg.extend(e);
},
/**
* Derives a key from a password.
*
* @param {WordArray|string} password The password.
* @param {WordArray|string} salt A salt.
*
* @return {WordArray} The derived key.
*
* @example
*
* var key = kdf.compute(password, salt);
*/
compute: function(e, u) {
for (var r, s = this.cfg, o = s.hasher.create(), c = H.create(), f = c.words, h = s.keySize, t = s.iterations; f.length < h; ) {
r && o.update(r), r = o.update(e).finalize(u), o.reset();
for (var a = 1; a < t; a++)
r = o.finalize(r), o.reset();
c.concat(r);
}
return c.sigBytes = h * 4, c;
}
});
n.EvpKDF = function(e, u, r) {
return x.create(r).compute(e, u);
};
}(), C.EvpKDF;
});
}(W0)), W0.exports;
}
var L0 = { exports: {} }, Rx;
function Z() {
return Rx || (Rx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), r0());
})(W, function(C) {
C.lib.Cipher || function(n) {
var p = C, D = p.lib, H = D.Base, B = D.WordArray, d = D.BufferedBlockAlgorithm, x = p.enc;
x.Utf8;
var e = x.Base64, u = p.algo, r = u.EvpKDF, s = D.Cipher = d.extend({
/**
* Configuration options.
*
* @property {WordArray} iv The IV to use for this operation.
*/
cfg: H.extend(),
/**
* Creates this cipher in encryption mode.
*
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {Cipher} A cipher instance.
*
* @static
*
* @example
*
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
*/
createEncryptor: function(v, F) {
return this.create(this._ENC_XFORM_MODE, v, F);
},
/**
* Creates this cipher in decryption mode.
*
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {Cipher} A cipher instance.
*
* @static
*
* @example
*
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
*/
createDecryptor: function(v, F) {
return this.create(this._DEC_XFORM_MODE, v, F);
},
/**
* Initializes a newly created cipher.
*
* @param {number} xformMode Either the encryption or decryption transormation mode constant.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @example
*
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
*/
init: function(v, F, g) {
this.cfg = this.cfg.extend(g), this._xformMode = v, this._key = F, this.reset();
},
/**
* Resets this cipher to its initial state.
*
* @example
*
* cipher.reset();
*/
reset: function() {
d.reset.call(this), this._doReset();
},
/**
* Adds data to be encrypted or decrypted.
*
* @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
*
* @return {WordArray} The data after processing.
*
* @example
*
* var encrypted = cipher.process('data');
* var encrypted = cipher.process(wordArray);
*/
process: function(v) {
return this._append(v), this._process();
},
/**
* Finalizes the encryption or decryption process.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
*
* @return {WordArray} The data after final processing.
*
* @example
*
* var encrypted = cipher.finalize();
* var encrypted = cipher.finalize('data');
* var encrypted = cipher.finalize(wordArray);
*/
finalize: function(v) {
v && this._append(v);
var F = this._doFinalize();
return F;
},
keySize: 128 / 32,
ivSize: 128 / 32,
_ENC_XFORM_MODE: 1,
_DEC_XFORM_MODE: 2,
/**
* Creates shortcut functions to a cipher's object interface.
*
* @param {Cipher} cipher The cipher to create a helper for.
*
* @return {Object} An object with encrypt and decrypt shortcut functions.
*
* @static
*
* @example
*
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
*/
_createHelper: /* @__PURE__ */ function() {
function v(F) {
return typeof F == "string" ? S : l;
}
return function(F) {
return {
encrypt: function(g, y, z) {
return v(y).encrypt(F, g, y, z);
},
decrypt: function(g, y, z) {
return v(y).decrypt(F, g, y, z);
}
};
};
}()
});
D.StreamCipher = s.extend({
_doFinalize: function() {
var v = this._process(!0);
return v;
},
blockSize: 1
});
var o = p.mode = {}, c = D.BlockCipherMode = H.extend({
/**
* Creates this mode for encryption.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @static
*
* @example
*
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
*/
createEncryptor: function(v, F) {
return this.Encryptor.create(v, F);
},
/**
* Creates this mode for decryption.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @static
*
* @example
*
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
*/
createDecryptor: function(v, F) {
return this.Decryptor.create(v, F);
},
/**
* Initializes a newly created mode.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @example
*
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
*/
init: function(v, F) {
this._cipher = v, this._iv = F;
}
}), f = o.CBC = function() {
var v = c.extend();
v.Encryptor = v.extend({
/**
* Processes the data block at offset.
*
* @param {Array} words The data words to operate on.
* @param {number} offset The offset where the block starts.
*
* @example
*
* mode.processBlock(data.words, offset);
*/
processBlock: function(g, y) {
var z = this._cipher, q = z.blockSize;
F.call(this, g, y, q), z.encryptBlock(g, y), this._prevBlock = g.slice(y, y + q);
}
}), v.Decryptor = v.extend({
/**
* Processes the data block at offset.
*
* @param {Array} words The data words to operate on.
* @param {number} offset The offset where the block starts.
*
* @example
*
* mode.processBlock(data.words, offset);
*/
processBlock: function(g, y) {
var z = this._cipher, q = z.blockSize, P = g.slice(y, y + q);
z.decryptBlock(g, y), F.call(this, g, y, q), this._prevBlock = P;
}
});
function F(g, y, z) {
var q, P = this._iv;
P ? (q = P, this._iv = n) : q = this._prevBlock;
for (var U = 0; U < z; U++)
g[y + U] ^= q[U];
}
return v;
}(), h = p.pad = {}, t = h.Pkcs7 = {
/**
* Pads data using the algorithm defined in PKCS #5/7.
*
* @param {WordArray} data The data to pad.
* @param {number} blockSize The multiple that the data should be padded to.
*
* @static
*
* @example
*
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
*/
pad: function(v, F) {
for (var g = F * 4, y = g - v.sigBytes % g, z = y << 24 | y << 16 | y << 8 | y, q = [], P = 0; P < y; P += 4)
q.push(z);
var U = B.create(q, y);
v.concat(U);
},
/**
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
*
* @param {WordArray} data The data to unpad.
*
* @static
*
* @example
*
* CryptoJS.pad.Pkcs7.unpad(wordArray);
*/
unpad: function(v) {
var F = v.words[v.sigBytes - 1 >>> 2] & 255;
v.sigBytes -= F;
}
};
D.BlockCipher = s.extend({
/**
* Configuration options.
*
* @property {Mode} mode The block mode to use. Default: CBC
* @property {Padding} padding The padding strategy to use. Default: Pkcs7
*/
cfg: s.cfg.extend({
mode: f,
padding: t
}),
reset: function() {
var v;
s.reset.call(this);
var F = this.cfg, g = F.iv, y = F.mode;
this._xformMode == this._ENC_XFORM_MODE ? v = y.createEncryptor : (v = y.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == v ? this._mode.init(this, g && g.words) : (this._mode = v.call(y, this, g && g.words), this._mode.__creator = v);
},
_doProcessBlock: function(v, F) {
this._mode.processBlock(v, F);
},
_doFinalize: function() {
var v, F = this.cfg.padding;
return this._xformMode == this._ENC_XFORM_MODE ? (F.pad(this._data, this.blockSize), v = this._process(!0)) : (v = this._process(!0), F.unpad(v)), v;
},
blockSize: 128 / 32
});
var a = D.CipherParams = H.extend({
/**
* Initializes a newly created cipher params object.
*
* @param {Object} cipherParams An object with any of the possible cipher parameters.
*
* @example
*
* var cipherParams = CryptoJS.lib.CipherParams.create({
* ciphertext: ciphertextWordArray,
* key: keyWordArray,
* iv: ivWordArray,
* salt: saltWordArray,
* algorithm: CryptoJS.algo.AES,
* mode: CryptoJS.mode.CBC,
* padding: CryptoJS.pad.PKCS7,
* blockSize: 4,
* formatter: CryptoJS.format.OpenSSL
* });
*/
init: function(v) {
this.mixIn(v);
},
/**
* Converts this cipher params object to a string.
*
* @param {Format} formatter (Optional) The formatting strategy to use.
*
* @return {string} The stringified cipher params.
*
* @throws Error If neither the formatter nor the default formatter is set.
*
* @example
*
* var string = cipherParams + '';
* var string = cipherParams.toString();
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
*/
toString: function(v) {
return (v || this.formatter).stringify(this);
}
}), i = p.format = {}, E = i.OpenSSL = {
/**
* Converts a cipher params object to an OpenSSL-compatible string.
*
* @param {CipherParams} cipherParams The cipher params object.
*
* @return {string} The OpenSSL-compatible string.
*
* @static
*
* @example
*
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
*/
stringify: function(v) {
var F, g = v.ciphertext, y = v.salt;
return y ? F = B.create([1398893684, 1701076831]).concat(y).concat(g) : F = g, F.toString(e);
},
/**
* Converts an OpenSSL-compatible string to a cipher params object.
*
* @param {string} openSSLStr The OpenSSL-compatible string.
*
* @return {CipherParams} The cipher params object.
*
* @static
*
* @example
*
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
*/
parse: function(v) {
var F, g = e.parse(v), y = g.words;
return y[0] == 1398893684 && y[1] == 1701076831 && (F = B.create(y.slice(2, 4)), y.splice(0, 4), g.sigBytes -= 16), a.create({ ciphertext: g, salt: F });
}
}, l = D.SerializableCipher = H.extend({
/**
* Configuration options.
*
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
*/
cfg: H.extend({
format: E
}),
/**
* Encrypts a message.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {WordArray|string} message The message to encrypt.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {CipherParams} A cipher params object.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
*/
encrypt: function(v, F, g, y) {
y = this.cfg.extend(y);
var z = v.createEncryptor(g, y), q = z.finalize(F), P = z.cfg;
return a.create({
ciphertext: q,
key: g,
iv: P.iv,
algorithm: v,
mode: P.mode,
padding: P.padding,
blockSize: v.blockSize,
formatter: y.format
});
},
/**
* Decrypts serialized ciphertext.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {WordArray} The plaintext.
*
* @static
*
* @example
*
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
*/
decrypt: function(v, F, g, y) {
y = this.cfg.extend(y), F = this._parse(F, y.format);
var z = v.createDecryptor(g, y).finalize(F.ciphertext);
return z;
},
/**
* Converts serialized ciphertext to CipherParams,
* else assumed CipherParams already and returns ciphertext unchanged.
*
* @param {CipherParams|string} ciphertext The ciphertext.
* @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
*
* @return {CipherParams} The unserialized ciphertext.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
*/
_parse: function(v, F) {
return typeof v == "string" ? F.parse(v, this) : v;
}
}), A = p.kdf = {}, _ = A.OpenSSL = {
/**
* Derives a key and IV from a password.
*
* @param {string} password The password to derive from.
* @param {number} keySize The size in words of the key to generate.
* @param {number} ivSize The size in words of the IV to generate.
* @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
*
* @return {CipherParams} A cipher params object with the key, IV, and salt.
*
* @static
*
* @example
*
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
*/
execute: function(v, F, g, y, z) {
if (y || (y = B.random(64 / 8)), z)
var q = r.create({ keySize: F + g, hasher: z }).compute(v, y);
else
var q = r.create({ keySize: F + g }).compute(v, y);
var P = B.create(q.words.slice(F), g * 4);
return q.sigBytes = F * 4, a.create({ key: q, iv: P, salt: y });
}
}, S = D.PasswordBasedCipher = l.extend({
/**
* Configuration options.
*
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
*/
cfg: l.cfg.extend({
kdf: _
}),
/**
* Encrypts a message using a password.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {WordArray|string} message The message to encrypt.
* @param {string} password The password.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {CipherParams} A cipher params object.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
*/
encrypt: function(v, F, g, y) {
y = this.cfg.extend(y);
var z = y.kdf.execute(g, v.keySize, v.ivSize, y.salt, y.hasher);
y.iv = z.iv;
var q = l.encrypt.call(this, v, F, z.key, y);
return q.mixIn(z), q;
},
/**
* Decrypts serialized ciphertext using a password.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
* @param {string} password The password.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {WordArray} The plaintext.
*
* @static
*
* @example
*
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
*/
decrypt: function(v, F, g, y) {
y = this.cfg.extend(y), F = this._parse(F, y.format);
var z = y.kdf.execute(g, v.keySize, v.ivSize, F.salt, y.hasher);
y.iv = z.iv;
var q = l.decrypt.call(this, v, F, z.key, y);
return q;
}
});
}();
});
}(L0)), L0.exports;
}
var T0 = { exports: {} }, zx;
function yr() {
return zx || (zx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.mode.CFB = function() {
var n = C.lib.BlockCipherMode.extend();
n.Encryptor = n.extend({
processBlock: function(D, H) {
var B = this._cipher, d = B.blockSize;
p.call(this, D, H, d, B), this._prevBlock = D.slice(H, H + d);
}
}), n.Decryptor = n.extend({
processBlock: function(D, H) {
var B = this._cipher, d = B.blockSize, x = D.slice(H, H + d);
p.call(this, D, H, d, B), this._prevBlock = x;
}
});
function p(D, H, B, d) {
var x, e = this._iv;
e ? (x = e.slice(0), this._iv = void 0) : x = this._prevBlock, d.encryptBlock(x, 0);
for (var u = 0; u < B; u++)
D[H + u] ^= x[u];
}
return n;
}(), C.mode.CFB;
});
}(T0)), T0.exports;
}
var I0 = { exports: {} }, qx;
function kr() {
return qx || (qx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.mode.CTR = function() {
var n = C.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
processBlock: function(D, H) {
var B = this._cipher, d = B.blockSize, x = this._iv, e = this._counter;
x && (e = this._counter = x.slice(0), this._iv = void 0);
var u = e.slice(0);
B.encryptBlock(u, 0), e[d - 1] = e[d - 1] + 1 | 0;
for (var r = 0; r < d; r++)
D[H + r] ^= u[r];
}
});
return n.Decryptor = p, n;
}(), C.mode.CTR;
});
}(I0)), I0.exports;
}
var N0 = { exports: {} }, Px;
function Hr() {
return Px || (Px = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
return C.mode.CTRGladman = function() {
var n = C.lib.BlockCipherMode.extend();
function p(B) {
if ((B >> 24 & 255) === 255) {
var d = B >> 16 & 255, x = B >> 8 & 255, e = B & 255;
d === 255 ? (d = 0, x === 255 ? (x = 0, e === 255 ? e = 0 : ++e) : ++x) : ++d, B = 0, B += d << 16, B += x << 8, B += e;
} else
B += 1 << 24;
return B;
}
function D(B) {
return (B[0] = p(B[0])) === 0 && (B[1] = p(B[1])), B;
}
var H = n.Encryptor = n.extend({
processBlock: function(B, d) {
var x = this._cipher, e = x.blockSize, u = this._iv, r = this._counter;
u && (r = this._counter = u.slice(0), this._iv = void 0), D(r);
var s = r.slice(0);
x.encryptBlock(s, 0);
for (var o = 0; o < e; o++)
B[d + o] ^= s[o];
}
});
return n.Decryptor = H, n;
}(), C.mode.CTRGladman;
});
}(N0)), N0.exports;
}
var X0 = { exports: {} }, Wx;
function wr() {
return Wx || (Wx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.mode.OFB = function() {
var n = C.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
processBlock: function(D, H) {
var B = this._cipher, d = B.blockSize, x = this._iv, e = this._keystream;
x && (e = this._keystream = x.slice(0), this._iv = void 0), B.encryptBlock(e, 0);
for (var u = 0; u < d; u++)
D[H + u] ^= e[u];
}
});
return n.Decryptor = p, n;
}(), C.mode.OFB;
});
}(X0)), X0.exports;
}
var O0 = { exports: {} }, Lx;
function mr() {
return Lx || (Lx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.mode.ECB = function() {
var n = C.lib.BlockCipherMode.extend();
return n.Encryptor = n.extend({
processBlock: function(p, D) {
this._cipher.encryptBlock(p, D);
}
}), n.Decryptor = n.extend({
processBlock: function(p, D) {
this._cipher.decryptBlock(p, D);
}
}), n;
}(), C.mode.ECB;
});
}(O0)), O0.exports;
}
var K0 = { exports: {} }, Tx;
function Sr() {
return Tx || (Tx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.pad.AnsiX923 = {
pad: function(n, p) {
var D = n.sigBytes, H = p * 4, B = H - D % H, d = D + B - 1;
n.clamp(), n.words[d >>> 2] |= B << 24 - d % 4 * 8, n.sigBytes += B;
},
unpad: function(n) {
var p = n.words[n.sigBytes - 1 >>> 2] & 255;
n.sigBytes -= p;
}
}, C.pad.Ansix923;
});
}(K0)), K0.exports;
}
var U0 = { exports: {} }, Ix;
function Rr() {
return Ix || (Ix = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.pad.Iso10126 = {
pad: function(n, p) {
var D = p * 4, H = D - n.sigBytes % D;
n.concat(C.lib.WordArray.random(H - 1)).concat(C.lib.WordArray.create([H << 24], 1));
},
unpad: function(n) {
var p = n.words[n.sigBytes - 1 >>> 2] & 255;
n.sigBytes -= p;
}
}, C.pad.Iso10126;
});
}(U0)), U0.exports;
}
var G0 = { exports: {} }, Nx;
function zr() {
return Nx || (Nx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.pad.Iso97971 = {
pad: function(n, p) {
n.concat(C.lib.WordArray.create([2147483648], 1)), C.pad.ZeroPadding.pad(n, p);
},
unpad: function(n) {
C.pad.ZeroPadding.unpad(n), n.sigBytes--;
}
}, C.pad.Iso97971;
});
}(G0)), G0.exports;
}
var Z0 = { exports: {} }, Xx;
function qr() {
return Xx || (Xx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.pad.ZeroPadding = {
pad: function(n, p) {
var D = p * 4;
n.clamp(), n.sigBytes += D - (n.sigBytes % D || D);
},
unpad: function(n) {
for (var p = n.words, D = n.sigBytes - 1, D = n.sigBytes - 1; D >= 0; D--)
if (p[D >>> 2] >>> 24 - D % 4 * 8 & 255) {
n.sigBytes = D + 1;
break;
}
}
}, C.pad.ZeroPadding;
});
}(Z0)), Z0.exports;
}
var $0 = { exports: {} }, Ox;
function Pr() {
return Ox || (Ox = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return C.pad.NoPadding = {
pad: function() {
},
unpad: function() {
}
}, C.pad.NoPadding;
});
}($0)), $0.exports;
}
var Q0 = { exports: {} }, Kx;
function Wr() {
return Kx || (Kx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), Z());
})(W, function(C) {
return function(n) {
var p = C, D = p.lib, H = D.CipherParams, B = p.enc, d = B.Hex, x = p.format;
x.Hex = {
/**
* Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
*
* @param {CipherParams} cipherParams The cipher params object.
*
* @return {string} The hexadecimally encoded string.
*
* @static
*
* @example
*
* var hexString = CryptoJS.format.Hex.stringify(cipherParams);
*/
stringify: function(e) {
return e.ciphertext.toString(d);
},
/**
* Converts a hexadecimally encoded ciphertext string to a cipher params object.
*
* @param {string} input The hexadecimally encoded string.
*
* @return {CipherParams} The cipher params object.
*
* @static
*
* @example
*
* var cipherParams = CryptoJS.format.Hex.parse(hexString);
*/
parse: function(e) {
var u = d.parse(e);
return H.create({ ciphertext: u });
}
};
}(), C.format.Hex;
});
}(Q0)), Q0.exports;
}
var Y0 = { exports: {} }, Ux;
function Lr() {
return Ux || (Ux = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.BlockCipher, H = n.algo, B = [], d = [], x = [], e = [], u = [], r = [], s = [], o = [], c = [], f = [];
(function() {
for (var a = [], i = 0; i < 256; i++)
i < 128 ? a[i] = i << 1 : a[i] = i << 1 ^ 283;
for (var E = 0, l = 0, i = 0; i < 256; i++) {
var A = l ^ l << 1 ^ l << 2 ^ l << 3 ^ l << 4;
A = A >>> 8 ^ A & 255 ^ 99, B[E] = A, d[A] = E;
var _ = a[E], S = a[_], v = a[S], F = a[A] * 257 ^ A * 16843008;
x[E] = F << 24 | F >>> 8, e[E] = F << 16 | F >>> 16, u[E] = F << 8 | F >>> 24, r[E] = F;
var F = v * 16843009 ^ S * 65537 ^ _ * 257 ^ E * 16843008;
s[A] = F << 24 | F >>> 8, o[A] = F << 16 | F >>> 16, c[A] = F << 8 | F >>> 24, f[A] = F, E ? (E = _ ^ a[a[a[v ^ _]]], l ^= a[a[l]]) : E = l = 1;
}
})();
var h = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], t = H.AES = D.extend({
_doReset: function() {
var a;
if (!(this._nRounds && this._keyPriorReset === this._key)) {
for (var i = this._keyPriorReset = this._key, E = i.words, l = i.sigBytes / 4, A = this._nRounds = l + 6, _ = (A + 1) * 4, S = this._keySchedule = [], v = 0; v < _; v++)
v < l ? S[v] = E[v] : (a = S[v - 1], v % l ? l > 6 && v % l == 4 && (a = B[a >>> 24] << 24 | B[a >>> 16 & 255] << 16 | B[a >>> 8 & 255] << 8 | B[a & 255]) : (a = a << 8 | a >>> 24, a = B[a >>> 24] << 24 | B[a >>> 16 & 255] << 16 | B[a >>> 8 & 255] << 8 | B[a & 255], a ^= h[v / l | 0] << 24), S[v] = S[v - l] ^ a);
for (var F = this._invKeySchedule = [], g = 0; g < _; g++) {
var v = _ - g;
if (g % 4)
var a = S[v];
else
var a = S[v - 4];
g < 4 || v <= 4 ? F[g] = a : F[g] = s[B[a >>> 24]] ^ o[B[a >>> 16 & 255]] ^ c[B[a >>> 8 & 255]] ^ f[B[a & 255]];
}
}
},
encryptBlock: function(a, i) {
this._doCryptBlock(a, i, this._keySchedule, x, e, u, r, B);
},
decryptBlock: function(a, i) {
var E = a[i + 1];
a[i + 1] = a[i + 3], a[i + 3] = E, this._doCryptBlock(a, i, this._invKeySchedule, s, o, c, f, d);
var E = a[i + 1];
a[i + 1] = a[i + 3], a[i + 3] = E;
},
_doCryptBlock: function(a, i, E, l, A, _, S, v) {
for (var F = this._nRounds, g = a[i] ^ E[0], y = a[i + 1] ^ E[1], z = a[i + 2] ^ E[2], q = a[i + 3] ^ E[3], P = 4, U = 1; U < F; U++) {
var N = l[g >>> 24] ^ A[y >>> 16 & 255] ^ _[z >>> 8 & 255] ^ S[q & 255] ^ E[P++], O = l[y >>> 24] ^ A[z >>> 16 & 255] ^ _[q >>> 8 & 255] ^ S[g & 255] ^ E[P++], X = l[z >>> 24] ^ A[q >>> 16 & 255] ^ _[g >>> 8 & 255] ^ S[y & 255] ^ E[P++], b = l[q >>> 24] ^ A[g >>> 16 & 255] ^ _[y >>> 8 & 255] ^ S[z & 255] ^ E[P++];
g = N, y = O, z = X, q = b;
}
var N = (v[g >>> 24] << 24 | v[y >>> 16 & 255] << 16 | v[z >>> 8 & 255] << 8 | v[q & 255]) ^ E[P++], O = (v[y >>> 24] << 24 | v[z >>> 16 & 255] << 16 | v[q >>> 8 & 255] << 8 | v[g & 255]) ^ E[P++], X = (v[z >>> 24] << 24 | v[q >>> 16 & 255] << 16 | v[g >>> 8 & 255] << 8 | v[y & 255]) ^ E[P++], b = (v[q >>> 24] << 24 | v[g >>> 16 & 255] << 16 | v[y >>> 8 & 255] << 8 | v[z & 255]) ^ E[P++];
a[i] = N, a[i + 1] = O, a[i + 2] = X, a[i + 3] = b;
},
keySize: 256 / 32
});
n.AES = D._createHelper(t);
}(), C.AES;
});
}(Y0)), Y0.exports;
}
var j0 = { exports: {} }, Gx;
function Tr() {
return Gx || (Gx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.WordArray, H = p.BlockCipher, B = n.algo, d = [
57,
49,
41,
33,
25,
17,
9,
1,
58,
50,
42,
34,
26,
18,
10,
2,
59,
51,
43,
35,
27,
19,
11,
3,
60,
52,
44,
36,
63,
55,
47,
39,
31,
23,
15,
7,
62,
54,
46,
38,
30,
22,
14,
6,
61,
53,
45,
37,
29,
21,
13,
5,
28,
20,
12,
4
], x = [
14,
17,
11,
24,
1,
5,
3,
28,
15,
6,
21,
10,
23,
19,
12,
4,
26,
8,
16,
7,
27,
20,
13,
2,
41,
52,
31,
37,
47,
55,
30,
40,
51,
45,
33,
48,
44,
49,
39,
56,
34,
53,
46,
42,
50,
36,
29,
32
], e = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], u = [
{
0: 8421888,
268435456: 32768,
536870912: 8421378,
805306368: 2,
1073741824: 512,
1342177280: 8421890,
1610612736: 8389122,
1879048192: 8388608,
2147483648: 514,
2415919104: 8389120,
2684354560: 33280,
2952790016: 8421376,
3221225472: 32770,
3489660928: 8388610,
3758096384: 0,
4026531840: 33282,
134217728: 0,
402653184: 8421890,
671088640: 33282,
939524096: 32768,
1207959552: 8421888,
1476395008: 512,
1744830464: 8421378,
2013265920: 2,
2281701376: 8389120,
2550136832: 33280,
2818572288: 8421376,
3087007744: 8389122,
3355443200: 8388610,
3623878656: 32770,
3892314112: 514,
4160749568: 8388608,
1: 32768,
268435457: 2,
536870913: 8421888,
805306369: 8388608,
1073741825: 8421378,
1342177281: 33280,
1610612737: 512,
1879048193: 8389122,
2147483649: 8421890,
2415919105: 8421376,
2684354561: 8388610,
2952790017: 33282,
3221225473: 514,
3489660929: 8389120,
3758096385: 32770,
4026531841: 0,
134217729: 8421890,
402653185: 8421376,
671088641: 8388608,
939524097: 512,
1207959553: 32768,
1476395009: 8388610,
1744830465: 2,
2013265921: 33282,
2281701377: 32770,
2550136833: 8389122,
2818572289: 514,
3087007745: 8421888,
3355443201: 8389120,
3623878657: 0,
3892314113: 33280,
4160749569: 8421378
},
{
0: 1074282512,
16777216: 16384,
33554432: 524288,
50331648: 1074266128,
67108864: 1073741840,
83886080: 1074282496,
100663296: 1073758208,
117440512: 16,
134217728: 540672,
150994944: 1073758224,
167772160: 1073741824,
184549376: 540688,
201326592: 524304,
218103808: 0,
234881024: 16400,
251658240: 1074266112,
8388608: 1073758208,
25165824: 540688,
41943040: 16,
58720256: 1073758224,
75497472: 1074282512,
92274688: 1073741824,
109051904: 524288,
125829120: 1074266128,
142606336: 524304,
159383552: 0,
176160768: 16384,
192937984: 1074266112,
209715200: 1073741840,
226492416: 540672,
243269632: 1074282496,
260046848: 16400,
268435456: 0,
285212672: 1074266128,
301989888: 1073758224,
318767104: 1074282496,
335544320: 1074266112,
352321536: 16,
369098752: 540688,
385875968: 16384,
402653184: 16400,
419430400: 524288,
436207616: 524304,
452984832: 1073741840,
469762048: 540672,
486539264: 1073758208,
503316480: 1073741824,
520093696: 1074282512,
276824064: 540688,
293601280: 524288,
310378496: 1074266112,
327155712: 16384,
343932928: 1073758208,
360710144: 1074282512,
377487360: 16,
394264576: 1073741824,
411041792: 1074282496,
427819008: 1073741840,
444596224: 1073758224,
461373440: 524304,
478150656: 0,
494927872: 16400,
511705088: 1074266128,
528482304: 540672
},
{
0: 260,
1048576: 0,
2097152: 67109120,
3145728: 65796,
4194304: 65540,
5242880: 67108868,
6291456: 67174660,
7340032: 67174400,
8388608: 67108864,
9437184: 67174656,
10485760: 65792,
11534336: 67174404,
12582912: 67109124,
13631488: 65536,
14680064: 4,
15728640: 256,
524288: 67174656,
1572864: 67174404,
2621440: 0,
3670016: 67109120,
4718592: 67108868,
5767168: 65536,
6815744: 65540,
7864320: 260,
8912896: 4,
9961472: 256,
11010048: 67174400,
12058624: 65796,
13107200: 65792,
14155776: 67109124,
15204352: 67174660,
16252928: 67108864,
16777216: 67174656,
17825792: 65540,
18874368: 65536,
19922944: 67109120,
20971520: 256,
22020096: 67174660,
23068672: 67108868,
24117248: 0,
25165824: 67109124,
26214400: 67108864,
27262976: 4,
28311552: 65792,
29360128: 67174400,
30408704: 260,
31457280: 65796,
32505856: 67174404,
17301504: 67108864,
18350080: 260,
19398656: 67174656,
20447232: 0,
21495808: 65540,
22544384: 67109120,
23592960: 256,
24641536: 67174404,
25690112: 65536,
26738688: 67174660,
27787264: 65796,
28835840: 67108868,
29884416: 67109124,
30932992: 67174400,
31981568: 4,
33030144: 65792
},
{
0: 2151682048,
65536: 2147487808,
131072: 4198464,
196608: 2151677952,
262144: 0,
327680: 4198400,
393216: 2147483712,
458752: 4194368,
524288: 2147483648,
589824: 4194304,
655360: 64,
720896: 2147487744,
786432: 2151678016,
851968: 4160,
917504: 4096,
983040: 2151682112,
32768: 2147487808,
98304: 64,
163840: 2151678016,
229376: 2147487744,
294912: 4198400,
360448: 2151682112,
425984: 0,
491520: 2151677952,
557056: 4096,
622592: 2151682048,
688128: 4194304,
753664: 4160,
819200: 2147483648,
884736: 4194368,
950272: 4198464,
1015808: 2147483712,
1048576: 4194368,
1114112: 4198400,
1179648: 2147483712,
1245184: 0,
1310720: 4160,
1376256: 2151678016,
1441792: 2151682048,
1507328: 2147487808,
1572864: 2151682112,
1638400: 2147483648,
1703936: 2151677952,
1769472: 4198464,
1835008: 2147487744,
1900544: 4194304,
1966080: 64,
2031616: 4096,
1081344: 2151677952,
1146880: 2151682112,
1212416: 0,
1277952: 4198400,
1343488: 4194368,
1409024: 2147483648,
1474560: 2147487808,
1540096: 64,
1605632: 2147483712,
1671168: 4096,
1736704: 2147487744,
1802240: 2151678016,
1867776: 4160,
1933312: 2151682048,
1998848: 4194304,
2064384: 4198464
},
{
0: 128,
4096: 17039360,
8192: 262144,
12288: 536870912,
16384: 537133184,
20480: 16777344,
24576: 553648256,
28672: 262272,
32768: 16777216,
36864: 537133056,
40960: 536871040,
45056: 553910400,
49152: 553910272,
53248: 0,
57344: 17039488,
61440: 553648128,
2048: 17039488,
6144: 553648256,
10240: 128,
14336: 17039360,
18432: 262144,
22528: 537133184,
26624: 553910272,
30720: 536870912,
34816: 537133056,
38912: 0,
43008: 553910400,
47104: 16777344,
51200: 536871040,
55296: 553648128,
59392: 16777216,
63488: 262272,
65536: 262144,
69632: 128,
73728: 536870912,
77824: 553648256,
81920: 16777344,
86016: 553910272,
90112: 537133184,
94208: 16777216,
98304: 553910400,
102400: 553648128,
106496: 17039360,
110592: 537133056,
114688: 262272,
118784: 536871040,
122880: 0,
126976: 17039488,
67584: 553648256,
71680: 16777216,
75776: 17039360,
79872: 537133184,
83968: 536870912,
88064: 17039488,
92160: 128,
96256: 553910272,
100352: 262272,
104448: 553910400,
108544: 0,
112640: 553648128,
116736: 16777344,
120832: 262144,
124928: 537133056,
129024: 536871040
},
{
0: 268435464,
256: 8192,
512: 270532608,
768: 270540808,
1024: 268443648,
1280: 2097152,
1536: 2097160,
1792: 268435456,
2048: 0,
2304: 268443656,
2560: 2105344,
2816: 8,
3072: 270532616,
3328: 2105352,
3584: 8200,
3840: 270540800,
128: 270532608,
384: 270540808,
640: 8,
896: 2097152,
1152: 2105352,
1408: 268435464,
1664: 268443648,
1920: 8200,
2176: 2097160,
2432: 8192,
2688: 268443656,
2944: 270532616,
3200: 0,
3456: 270540800,
3712: 2105344,
3968: 268435456,
4096: 268443648,
4352: 270532616,
4608: 270540808,
4864: 8200,
5120: 2097152,
5376: 268435456,
5632: 268435464,
5888: 2105344,
6144: 2105352,
6400: 0,
6656: 8,
6912: 270532608,
7168: 8192,
7424: 268443656,
7680: 270540800,
7936: 2097160,
4224: 8,
4480: 2105344,
4736: 2097152,
4992: 268435464,
5248: 268443648,
5504: 8200,
5760: 270540808,
6016: 270532608,
6272: 270540800,
6528: 270532616,
6784: 8192,
7040: 2105352,
7296: 2097160,
7552: 0,
7808: 268435456,
8064: 268443656
},
{
0: 1048576,
16: 33555457,
32: 1024,
48: 1049601,
64: 34604033,
80: 0,
96: 1,
112: 34603009,
128: 33555456,
144: 1048577,
160: 33554433,
176: 34604032,
192: 34603008,
208: 1025,
224: 1049600,
240: 33554432,
8: 34603009,
24: 0,
40: 33555457,
56: 34604032,
72: 1048576,
88: 33554433,
104: 33554432,
120: 1025,
136: 1049601,
152: 33555456,
168: 34603008,
184: 1048577,
200: 1024,
216: 34604033,
232: 1,
248: 1049600,
256: 33554432,
272: 1048576,
288: 33555457,
304: 34603009,
320: 1048577,
336: 33555456,
352: 34604032,
368: 1049601,
384: 1025,
400: 34604033,
416: 1049600,
432: 1,
448: 0,
464: 34603008,
480: 33554433,
496: 1024,
264: 1049600,
280: 33555457,
296: 34603009,
312: 1,
328: 33554432,
344: 1048576,
360: 1025,
376: 34604032,
392: 33554433,
408: 34603008,
424: 0,
440: 34604033,
456: 1049601,
472: 1024,
488: 33555456,
504: 1048577
},
{
0: 134219808,
1: 131072,
2: 134217728,
3: 32,
4: 131104,
5: 134350880,
6: 134350848,
7: 2048,
8: 134348800,
9: 134219776,
10: 133120,
11: 134348832,
12: 2080,
13: 0,
14: 134217760,
15: 133152,
2147483648: 2048,
2147483649: 134350880,
2147483650: 134219808,
2147483651: 134217728,
2147483652: 134348800,
2147483653: 133120,
2147483654: 133152,
2147483655: 32,
2147483656: 134217760,
2147483657: 2080,
2147483658: 131104,
2147483659: 134350848,
2147483660: 0,
2147483661: 134348832,
2147483662: 134219776,
2147483663: 131072,
16: 133152,
17: 134350848,
18: 32,
19: 2048,
20: 134219776,
21: 134217760,
22: 134348832,
23: 131072,
24: 0,
25: 131104,
26: 134348800,
27: 134219808,
28: 134350880,
29: 133120,
30: 2080,
31: 134217728,
2147483664: 131072,
2147483665: 2048,
2147483666: 134348832,
2147483667: 133152,
2147483668: 32,
2147483669: 134348800,
2147483670: 134217728,
2147483671: 134219808,
2147483672: 134350880,
2147483673: 134217760,
2147483674: 134219776,
2147483675: 0,
2147483676: 133120,
2147483677: 2080,
2147483678: 131104,
2147483679: 134350848
}
], r = [
4160749569,
528482304,
33030144,
2064384,
129024,
8064,
504,
2147483679
], s = B.DES = H.extend({
_doReset: function() {
for (var h = this._key, t = h.words, a = [], i = 0; i < 56; i++) {
var E = d[i] - 1;
a[i] = t[E >>> 5] >>> 31 - E % 32 & 1;
}
for (var l = this._subKeys = [], A = 0; A < 16; A++) {
for (var _ = l[A] = [], S = e[A], i = 0; i < 24; i++)
_[i / 6 | 0] |= a[(x[i] - 1 + S) % 28] << 31 - i % 6, _[4 + (i / 6 | 0)] |= a[28 + (x[i + 24] - 1 + S) % 28] << 31 - i % 6;
_[0] = _[0] << 1 | _[0] >>> 31;
for (var i = 1; i < 7; i++)
_[i] = _[i] >>> (i - 1) * 4 + 3;
_[7] = _[7] << 5 | _[7] >>> 27;
}
for (var v = this._invSubKeys = [], i = 0; i < 16; i++)
v[i] = l[15 - i];
},
encryptBlock: function(h, t) {
this._doCryptBlock(h, t, this._subKeys);
},
decryptBlock: function(h, t) {
this._doCryptBlock(h, t, this._invSubKeys);
},
_doCryptBlock: function(h, t, a) {
this._lBlock = h[t], this._rBlock = h[t + 1], o.call(this, 4, 252645135), o.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), o.call(this, 1, 1431655765);
for (var i = 0; i < 16; i++) {
for (var E = a[i], l = this._lBlock, A = this._rBlock, _ = 0, S = 0; S < 8; S++)
_ |= u[S][((A ^ E[S]) & r[S]) >>> 0];
this._lBlock = A, this._rBlock = l ^ _;
}
var v = this._lBlock;
this._lBlock = this._rBlock, this._rBlock = v, o.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), o.call(this, 16, 65535), o.call(this, 4, 252645135), h[t] = this._lBlock, h[t + 1] = this._rBlock;
},
keySize: 64 / 32,
ivSize: 64 / 32,
blockSize: 64 / 32
});
function o(h, t) {
var a = (this._lBlock >>> h ^ this._rBlock) & t;
this._rBlock ^= a, this._lBlock ^= a << h;
}
function c(h, t) {
var a = (this._rBlock >>> h ^ this._lBlock) & t;
this._lBlock ^= a, this._rBlock ^= a << h;
}
n.DES = H._createHelper(s);
var f = B.TripleDES = H.extend({
_doReset: function() {
var h = this._key, t = h.words;
if (t.length !== 2 && t.length !== 4 && t.length < 6)
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
var a = t.slice(0, 2), i = t.length < 4 ? t.slice(0, 2) : t.slice(2, 4), E = t.length < 6 ? t.slice(0, 2) : t.slice(4, 6);
this._des1 = s.createEncryptor(D.create(a)), this._des2 = s.createEncryptor(D.create(i)), this._des3 = s.createEncryptor(D.create(E));
},
encryptBlock: function(h, t) {
this._des1.encryptBlock(h, t), this._des2.decryptBlock(h, t), this._des3.encryptBlock(h, t);
},
decryptBlock: function(h, t) {
this._des3.decryptBlock(h, t), this._des2.encryptBlock(h, t), this._des1.decryptBlock(h, t);
},
keySize: 192 / 32,
ivSize: 64 / 32,
blockSize: 64 / 32
});
n.TripleDES = H._createHelper(f);
}(), C.TripleDES;
});
}(j0)), j0.exports;
}
var M0 = { exports: {} }, Zx;
function Ir() {
return Zx || (Zx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.StreamCipher, H = n.algo, B = H.RC4 = D.extend({
_doReset: function() {
for (var e = this._key, u = e.words, r = e.sigBytes, s = this._S = [], o = 0; o < 256; o++)
s[o] = o;
for (var o = 0, c = 0; o < 256; o++) {
var f = o % r, h = u[f >>> 2] >>> 24 - f % 4 * 8 & 255;
c = (c + s[o] + h) % 256;
var t = s[o];
s[o] = s[c], s[c] = t;
}
this._i = this._j = 0;
},
_doProcessBlock: function(e, u) {
e[u] ^= d.call(this);
},
keySize: 256 / 32,
ivSize: 0
});
function d() {
for (var e = this._S, u = this._i, r = this._j, s = 0, o = 0; o < 4; o++) {
u = (u + 1) % 256, r = (r + e[u]) % 256;
var c = e[u];
e[u] = e[r], e[r] = c, s |= e[(e[u] + e[r]) % 256] << 24 - o * 8;
}
return this._i = u, this._j = r, s;
}
n.RC4 = D._createHelper(B);
var x = H.RC4Drop = B.extend({
/**
* Configuration options.
*
* @property {number} drop The number of keystream words to drop. Default 192
*/
cfg: B.cfg.extend({
drop: 192
}),
_doReset: function() {
B._doReset.call(this);
for (var e = this.cfg.drop; e > 0; e--)
d.call(this);
}
});
n.RC4Drop = D._createHelper(x);
}(), C.RC4;
});
}(M0)), M0.exports;
}
var V0 = { exports: {} }, $x;
function Nr() {
return $x || ($x = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.StreamCipher, H = n.algo, B = [], d = [], x = [], e = H.Rabbit = D.extend({
_doReset: function() {
for (var r = this._key.words, s = this.cfg.iv, o = 0; o < 4; o++)
r[o] = (r[o] << 8 | r[o] >>> 24) & 16711935 | (r[o] << 24 | r[o] >>> 8) & 4278255360;
var c = this._X = [
r[0],
r[3] << 16 | r[2] >>> 16,
r[1],
r[0] << 16 | r[3] >>> 16,
r[2],
r[1] << 16 | r[0] >>> 16,
r[3],
r[2] << 16 | r[1] >>> 16
], f = this._C = [
r[2] << 16 | r[2] >>> 16,
r[0] & 4294901760 | r[1] & 65535,
r[3] << 16 | r[3] >>> 16,
r[1] & 4294901760 | r[2] & 65535,
r[0] << 16 | r[0] >>> 16,
r[2] & 4294901760 | r[3] & 65535,
r[1] << 16 | r[1] >>> 16,
r[3] & 4294901760 | r[0] & 65535
];
this._b = 0;
for (var o = 0; o < 4; o++)
u.call(this);
for (var o = 0; o < 8; o++)
f[o] ^= c[o + 4 & 7];
if (s) {
var h = s.words, t = h[0], a = h[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, l = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
f[0] ^= i, f[1] ^= l, f[2] ^= E, f[3] ^= A, f[4] ^= i, f[5] ^= l, f[6] ^= E, f[7] ^= A;
for (var o = 0; o < 4; o++)
u.call(this);
}
},
_doProcessBlock: function(r, s) {
var o = this._X;
u.call(this), B[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, B[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, B[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, B[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
for (var c = 0; c < 4; c++)
B[c] = (B[c] << 8 | B[c] >>> 24) & 16711935 | (B[c] << 24 | B[c] >>> 8) & 4278255360, r[s + c] ^= B[c];
},
blockSize: 128 / 32,
ivSize: 64 / 32
});
function u() {
for (var r = this._X, s = this._C, o = 0; o < 8; o++)
d[o] = s[o];
s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
for (var o = 0; o < 8; o++) {
var c = r[o] + s[o], f = c & 65535, h = c >>> 16, t = ((f * f >>> 17) + f * h >>> 15) + h * h, a = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
x[o] = t ^ a;
}
r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
}
n.Rabbit = D._createHelper(e);
}(), C.Rabbit;
});
}(V0)), V0.exports;
}
var J0 = { exports: {} }, Qx;
function Xr() {
return Qx || (Qx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.StreamCipher, H = n.algo, B = [], d = [], x = [], e = H.RabbitLegacy = D.extend({
_doReset: function() {
var r = this._key.words, s = this.cfg.iv, o = this._X = [
r[0],
r[3] << 16 | r[2] >>> 16,
r[1],
r[0] << 16 | r[3] >>> 16,
r[2],
r[1] << 16 | r[0] >>> 16,
r[3],
r[2] << 16 | r[1] >>> 16
], c = this._C = [
r[2] << 16 | r[2] >>> 16,
r[0] & 4294901760 | r[1] & 65535,
r[3] << 16 | r[3] >>> 16,
r[1] & 4294901760 | r[2] & 65535,
r[0] << 16 | r[0] >>> 16,
r[2] & 4294901760 | r[3] & 65535,
r[1] << 16 | r[1] >>> 16,
r[3] & 4294901760 | r[0] & 65535
];
this._b = 0;
for (var f = 0; f < 4; f++)
u.call(this);
for (var f = 0; f < 8; f++)
c[f] ^= o[f + 4 & 7];
if (s) {
var h = s.words, t = h[0], a = h[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, l = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
c[0] ^= i, c[1] ^= l, c[2] ^= E, c[3] ^= A, c[4] ^= i, c[5] ^= l, c[6] ^= E, c[7] ^= A;
for (var f = 0; f < 4; f++)
u.call(this);
}
},
_doProcessBlock: function(r, s) {
var o = this._X;
u.call(this), B[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, B[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, B[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, B[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
for (var c = 0; c < 4; c++)
B[c] = (B[c] << 8 | B[c] >>> 24) & 16711935 | (B[c] << 24 | B[c] >>> 8) & 4278255360, r[s + c] ^= B[c];
},
blockSize: 128 / 32,
ivSize: 64 / 32
});
function u() {
for (var r = this._X, s = this._C, o = 0; o < 8; o++)
d[o] = s[o];
s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
for (var o = 0; o < 8; o++) {
var c = r[o] + s[o], f = c & 65535, h = c >>> 16, t = ((f * f >>> 17) + f * h >>> 15) + h * h, a = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
x[o] = t ^ a;
}
r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
}
n.RabbitLegacy = D._createHelper(e);
}(), C.RabbitLegacy;
});
}(J0)), J0.exports;
}
var xx = { exports: {} }, Yx;
function Or() {
return Yx || (Yx = 1, function(R, T) {
(function(C, n, p) {
R.exports = n(I(), e0(), t0(), r0(), Z());
})(W, function(C) {
return function() {
var n = C, p = n.lib, D = p.BlockCipher, H = n.algo;
const B = 16, d = [
608135816,
2242054355,
320440878,
57701188,
2752067618,
698298832,
137296536,
3964562569,
1160258022,
953160567,
3193202383,
887688300,
3232508343,
3380367581,
1065670069,
3041331479,
2450970073,
2306472731
], x = [
[
3509652390,
2564797868,
805139163,
3491422135,
3101798381,
1780907670,
3128725573,
4046225305,
614570311,
3012652279,
134345442,
2240740374,
1667834072,
1901547113,
2757295779,
4103290238,
227898511,
1921955416,
1904987480,
2182433518,
2069144605,
3260701109,
2620446009,
720527379,
3318853667,
677414384,
3393288472,
3101374703,
2390351024,
1614419982,
1822297739,
2954791486,
3608508353,
3174124327,
2024746970,
1432378464,
3864339955,
2857741204,
1464375394,
1676153920,
1439316330,
715854006,
3033291828,
289532110,
2706671279,
2087905683,
3018724369,
1668267050,
732546397,
1947742710,
3462151702,
2609353502,
2950085171,
1814351708,
2050118529,
680887927,
999245976,
1800124847,
3300911131,
1713906067,
1641548236,
4213287313,
1216130144,
1575780402,
4018429277,
3917837745,
3693486850,
3949271944,
596196993,
3549867205,
258830323,
2213823033,
772490370,
2760122372,
1774776394,
2652871518,
566650946,
4142492826,
1728879713,
2882767088,
1783734482,
3629395816,
2517608232,
2874225571,
1861159788,
326777828,
3124490320,
2130389656,
2716951837,
967770486,
1724537150,
2185432712,
2364442137,
1164943284,
2105845187,
998989502,
3765401048,
2244026483,
1075463327,
1455516326,
1322494562,
910128902,
469688178,
1117454909,
936433444,
3490320968,
3675253459,
1240580251,
122909385,
2157517691,
634681816,
4142456567,
3825094682,
3061402683,
2540495037,
79693498,
3249098678,
1084186820,
1583128258,
426386531,
1761308591,
1047286709,
322548459,
995290223,
1845252383,
2603652396,
3431023940,
2942221577,
3202600964,
3727903485,
1712269319,
422464435,
3234572375,
1170764815,
3523960633,
3117677531,
1434042557,
442511882,
3600875718,
1076654713,
1738483198,
4213154764,
2393238008,
3677496056,
1014306527,
4251020053,
793779912,
2902807211,
842905082,
4246964064,
1395751752,
1040244610,
2656851899,
3396308128,
445077038,
3742853595,
3577915638,
679411651,
2892444358,
2354009459,
1767581616,
3150600392,
3791627101,
3102740896,
284835224,
4246832056,
1258075500,
768725851,
2589189241,
3069724005,
3532540348,
1274779536,
3789419226,
2764799539,
1660621633,
3471099624,
4011903706,
913787905,
3497959166,
737222580,
2514213453,
2928710040,
3937242737,
1804850592,
3499020752,
2949064160,
2386320175,
2390070455,
2415321851,
4061277028,
2290661394,
2416832540,
1336762016,
1754252060,
3520065937,
3014181293,
791618072,
3188594551,
3933548030,
2332172193,
3852520463,
3043980520,
413987798,
3465142937,
3030929376,
4245938359,
2093235073,
3534596313,
375366246,
2157278981,
2479649556,
555357303,
3870105701,
2008414854,
3344188149,
4221384143,
3956125452,
2067696032,
3594591187,
2921233993,
2428461,
544322398,
577241275,
1471733935,
610547355,
4027169054,
1432588573,
1507829418,
2025931657,
3646575487,
545086370,
48609733,
2200306550,
1653985193,
298326376,
1316178497,
3007786442,
2064951626,
458293330,
2589141269,
3591329599,
3164325604,
727753846,
2179363840,
146436021,
1461446943,
4069977195,
705550613,
3059967265,
3887724982,
4281599278,
3313849956,
1404054877,
2845806497,
146425753,
1854211946
],
[
1266315497,
3048417604,
3681880366,
3289982499,
290971e4,
1235738493,
2632868024,
2414719590,
3970600049,
1771706367,
1449415276,
3266420449,
422970021,
1963543593,
2690192192,
3826793022,
1062508698,
1531092325,
1804592342,
2583117782,
2714934279,
4024971509,
1294809318,
4028980673,
1289560198,
2221992742,
1669523910,
35572830,
157838143,
1052438473,
1016535060,
1802137761,
1753167236,
1386275462,
3080475397,
2857371447,
1040679964,
2145300060,
2390574316,
1461121720,
2956646967,
4031777805,
4028374788,
33600511,
2920084762,
1018524850,
629373528,
3691585981,
3515945977,
2091462646,
2486323059,
586499841,
988145025,
935516892,
3367335476,
2599673255,
2839830854,
265290510,
3972581182,
2759138881,
3795373465,
1005194799,
847297441,
406762289,
1314163512,
1332590856,
1866599683,
4127851711,
750260880,
613907577,
1450815602,
3165620655,
3734664991,
3650291728,
3012275730,
3704569646,
1427272223,
778793252,
1343938022,
2676280711,
2052605720,
1946737175,
3164576444,
3914038668,
3967478842,
3682934266,
1661551462,
3294938066,
4011595847,
840292616,
3712170807,
616741398,
312560963,
711312465,
1351876610,
322626781,
1910503582,
271666773,
2175563734,
1594956187,
70604529,
3617834859,
1007753275,
1495573769,
4069517037,
2549218298,
2663038764,
504708206,
2263041392,
3941167025,
2249088522,
1514023603,
1998579484,
1312622330,
694541497,
2582060303,
2151582166,
1382467621,
776784248,
2618340202,
3323268794,
2497899128,
2784771155,
503983604,
4076293799,
907881277,
423175695,
432175456,
1378068232,
4145222326,
3954048622,
3938656102,
3820766613,
2793130115,
2977904593,
26017576,
3274890735,
3194772133,
1700274565,
1756076034,
4006520079,
3677328699,
720338349,
1533947780,
354530856,
688349552,
3973924725,
1637815568,
332179504,
3949051286,
53804574,
2852348879,
3044236432,
1282449977,
3583942155,
3416972820,
4006381244,
1617046695,
2628476075,
3002303598,
1686838959,
431878346,
2686675385,
1700445008,
1080580658,
1009431731,
832498133,
3223435511,
2605976345,
2271191193,
2516031870,
1648197032,
4164389018,
2548247927,
300782431,
375919233,
238389289,
3353747414,
2531188641,
2019080857,
1475708069,
455242339,
2609103871,
448939670,
3451063019,
1395535956,
2413381860,
1841049896,
1491858159,
885456874,
4264095073,
4001119347,
1565136089,
3898914787,
1108368660,
540939232,
1173283510,
2745871338,
3681308437,
4207628240,
3343053890,
4016749493,
1699691293,
1103962373,
3625875870,
2256883143,
3830138730,
1031889488,
3479347698,
1535977030,
4236805024,
3251091107,
2132092099,
1774941330,
1199868427,
1452454533,
157007616,
2904115357,
342012276,
595725824,
1480756522,
206960106,
497939518,
591360097,
863170706,
2375253569,
3596610801,
1814182875,
2094937945,
3421402208,
1082520231,
3463918190,
2785509508,
435703966,
3908032597,
1641649973,
2842273706,
3305899714,
1510255612,
2148256476,
2655287854,
3276092548,
4258621189,
236887753,
3681803219,
274041037,
1734335097,
3815195456,
3317970021,
1899903192,
1026095262,
4050517792,
356393447,
2410691914,
3873677099,
3682840055
],
[
3913112168,
2491498743,
4132185628,
2489919796,
1091903735,
1979897079,
3170134830,
3567386728,
3557303409,
857797738,
1136121015,
1342202287,
507115054,
2535736646,
337727348,
3213592640,
1301675037,
2528481711,
1895095763,
1721773893,
3216771564,
62756741,
2142006736,
835421444,
2531993523,
1442658625,
3659876326,
2882144922,
676362277,
1392781812,
170690266,
3921047035,
1759253602,
3611846912,
1745797284,
664899054,
1329594018,
3901205900,
3045908486,
2062866102,
2865634940,
3543621612,
3464012697,
1080764994,
553557557,
3656615353,
3996768171,
991055499,
499776247,
1265440854,
648242737,
3940784050,
980351604,
3713745714,
1749149687,
3396870395,
4211799374,
3640570775,
1161844396,
3125318951,
1431517754,
545492359,
4268468663,
3499529547,
1437099964,
2702547544,
3433638243,
2581715763,
2787789398,
1060185593,
1593081372,
2418618748,
4260947970,
69676912,
2159744348,
86519011,
2512459080,
3838209314,
1220612927,
3339683548,
133810670,
1090789135,
1078426020,
1569222167,
845107691,
3583754449,
4072456591,
1091646820,
628848692,
1613405280,
3757631651,
526609435,
236106946,
48312990,
2942717905,
3402727701,
1797494240,
859738849,
992217954,
4005476642,
2243076622,
3870952857,
3732016268,
765654824,
3490871365,
2511836413,
1685915746,
3888969200,
1414112111,
2273134842,
3281911079,
4080962846,
172450625,
2569994100,
980381355,
4109958455,
2819808352,
2716589560,
2568741196,
3681446669,
3329971472,
1835478071,
660984891,
3704678404,
4045999559,
3422617507,
3040415634,
1762651403,
1719377915,
3470491036,
2693910283,
3642056355,
3138596744,
1364962596,
2073328063,
1983633131,
926494387,
3423689081,
2150032023,
4096667949,
1749200295,
3328846651,
309677260,
2016342300,
1779581495,
3079819751,
111262694,
1274766160,
443224088,
298511866,
1025883608,
3806446537,
1145181785,
168956806,
3641502830,
3584813610,
1689216846,
3666258015,
3200248200,
1692713982,
2646376535,
4042768518,
1618508792,
1610833997,
3523052358,
4130873264,
2001055236,
3610705100,
2202168115,
4028541809,
2961195399,
1006657119,
2006996926,
3186142756,
1430667929,
3210227297,
1314452623,
4074634658,
4101304120,
2273951170,
1399257539,
3367210612,
3027628629,
1190975929,
2062231137,
2333990788,
2221543033,
2438960610,
1181637006,
548689776,
2362791313,
3372408396,
3104550113,
3145860560,
296247880,
1970579870,
3078560182,
3769228297,
1714227617,
3291629107,
3898220290,
166772364,
1251581989,
493813264,
448347421,
195405023,
2709975567,
677966185,
3703036547,
1463355134,
2715995803,
1338867538,
1343315457,
2802222074,
2684532164,
233230375,
2599980071,
2000651841,
3277868038,
1638401717,
4028070440,
3237316320,
6314154,
819756386,
300326615,
590932579,
1405279636,
3267499572,
3150704214,
2428286686,
3959192993,
3461946742,
1862657033,
1266418056,
963775037,
2089974820,
2263052895,
1917689273,
448879540,
3550394620,
3981727096,
150775221,
3627908307,
1303187396,
508620638,
2975983352,
2726630617,
1817252668,
1876281319,
1457606340,
908771278,
3720792119,
3617206836,
2455994898,
1729034894,
1080033504
],
[
976866871,
3556439503,
2881648439,
1522871579,
1555064734,
1336096578,
3548522304,
2579274686,
3574697629,
3205460757,
3593280638,
3338716283,
3079412587,
564236357,
2993598910,
1781952180,
1464380207,
3163844217,
3332601554,
1699332808,
1393555694,
1183702653,
3581086237,
1288719814,
691649499,
2847557200,
2895455976,
3193889540,
2717570544,
1781354906,
1676643554,
2592534050,
3230253752,
1126444790,
2770207658,
2633158820,
2210423226,
2615765581,
2414155088,
3127139286,
673620729,
2805611233,
1269405062,
4015350505,
3341807571,
4149409754,
1057255273,
2012875353,
2162469141,
2276492801,
2601117357,
993977747,
3918593370,
2654263191,
753973209,
36408145,
2530585658,
25011837,
3520020182,
2088578344,
530523599,
2918365339,
1524020338,
1518925132,
3760827505,
3759777254,
1202760957,
3985898139,
3906192525,
674977740,
4174734889,
2031300136,
2019492241,
3983892565,
4153806404,
3822280332,
352677332,
2297720250,
60907813,
90501309,
3286998549,
1016092578,
2535922412,
2839152426,
457141659,
509813237,
4120667899,
652014361,
1966332200,
2975202805,
55981186,
2327461051,
676427537,
3255491064,
2882294119,
3433927263,
1307055953,
942726286,
933058658,
2468411793,
3933900994,
4215176142,
1361170020,
2001714738,
2830558078,
3274259782,
1222529897,
1679025792,
2729314320,
3714953764,
1770335741,
151462246,
3013232138,
1682292957,
1483529935,
471910574,
1539241949,
458788160,
3436315007,
1807016891,
3718408830,
978976581,
1043663428,
3165965781,
1927990952,
4200891579,
2372276910,
3208408903,
3533431907,
1412390302,
2931980059,
4132332400,
1947078029,
3881505623,
4168226417,
2941484381,
1077988104,
1320477388,
886195818,
18198404,
3786409e3,
2509781533,
112762804,
3463356488,
1866414978,
891333506,
18488651,
661792760,
1628790961,
3885187036,
3141171499,
876946877,
2693282273,
1372485963,
791857591,
2686433993,
3759982718,
3167212022,
3472953795,
2716379847,
445679433,
3561995674,
3504004811,
3574258232,
54117162,
3331405415,
2381918588,
3769707343,
4154350007,
1140177722,
4074052095,
668550556,
3214352940,
367459370,
261225585,
2610173221,
4209349473,
3468074219,
3265815641,
314222801,
3066103646,
3808782860,
282218597,
3406013506,
3773591054,
379116347,
1285071038,
846784868,
2669647154,
3771962079,
3550491691,
2305946142,
453669953,
1268987020,
3317592352,
3279303384,
3744833421,
2610507566,
3859509063,
266596637,
3847019092,
517658769,
3462560207,
3443424879,
370717030,
4247526661,
2224018117,
4143653529,
4112773975,
2788324899,
2477274417,
1456262402,
2901442914,
1517677493,
1846949527,
2295493580,
3734397586,
2176403920,
1280348187,
1908823572,
3871786941,
846861322,
1172426758,
3287448474,
3383383037,
1655181056,
3139813346,
901632758,
1897031941,
2986607138,
3066810236,
3447102507,
1393639104,
373351379,
950779232,
625454576,
3124240540,
4148612726,
2007998917,
544563296,
2244738638,
2330496472,
2058025392,
1291430526,
424198748,
50039436,
29584100,
3605783033,
2429876329,
2791104160,
1057563949,
3255363231,
3075367218,
3463963227,
1469046755,
985887462
]
];
var e = {
pbox: [],
sbox: []
};
function u(f, h) {
let t = h >> 24 & 255, a = h >> 16 & 255, i = h >> 8 & 255, E = h & 255, l = f.sbox[0][t] + f.sbox[1][a];
return l = l ^ f.sbox[2][i], l = l + f.sbox[3][E], l;
}
function r(f, h, t) {
let a = h, i = t, E;
for (let l = 0; l < B; ++l)
a = a ^ f.pbox[l], i = u(f, a) ^ i, E = a, a = i, i = E;
return E = a, a = i, i = E, i = i ^ f.pbox[B], a = a ^ f.pbox[B + 1], { left: a, right: i };
}
function s(f, h, t) {
let a = h, i = t, E;
for (let l = B + 1; l > 1; --l)
a = a ^ f.pbox[l], i = u(f, a) ^ i, E = a, a = i, i = E;
return E = a, a = i, i = E, i = i ^ f.pbox[1], a = a ^ f.pbox[0], { left: a, right: i };
}
function o(f, h, t) {
for (let A = 0; A < 4; A++) {
f.sbox[A] = [];
for (let _ = 0; _ < 256; _++)
f.sbox[A][_] = x[A][_];
}
let a = 0;
for (let A = 0; A < B + 2; A++)
f.pbox[A] = d[A] ^ h[a], a++, a >= t && (a = 0);
let i = 0, E = 0, l = 0;
for (let A = 0; A < B + 2; A += 2)
l = r(f, i, E), i = l.left, E = l.right, f.pbox[A] = i, f.pbox[A + 1] = E;
for (let A = 0; A < 4; A++)
for (let _ = 0; _ < 256; _ += 2)
l = r(f, i, E), i = l.left, E = l.right, f.sbox[A][_] = i, f.sbox[A][_ + 1] = E;
return !0;
}
var c = H.Blowfish = D.extend({
_doReset: function() {
if (this._keyPriorReset !== this._key) {
var f = this._keyPriorReset = this._key, h = f.words, t = f.sigBytes / 4;
o(e, h, t);
}
},
encryptBlock: function(f, h) {
var t = r(e, f[h], f[h + 1]);
f[h] = t.left, f[h + 1] = t.right;
},
decryptBlock: function(f, h) {
var t = s(e, f[h], f[h + 1]);
f[h] = t.left, f[h + 1] = t.right;
},
blockSize: 64 / 32,
keySize: 128 / 32,
ivSize: 64 / 32
});
n.Blowfish = D._createHelper(c);
}(), C.Blowfish;
});
}(xx)), xx.exports;
}
(function(R, T) {
(function(C, n, p) {
R.exports = n(I(), l0(), Er(), Ar(), e0(), Fr(), t0(), Mx(), rx(), Dr(), Vx(), pr(), _r(), br(), ex(), gr(), r0(), Z(), yr(), kr(), Hr(), wr(), mr(), Sr(), Rr(), zr(), qr(), Pr(), Wr(), Lr(), Tr(), Ir(), Nr(), Xr(), Or());
})(W, function(C) {
return C;
});
})(jx);
var Kr = jx.exports;
const Zr = /* @__PURE__ */ ur(Kr);
export {
Zr as C,
Kr as c
};