diff --git a/output.js b/output.js index 0f374aa..c8829b7 100644 --- a/output.js +++ b/output.js @@ -1,950 +1,209 @@ -//Sun Apr 13 2025 11:20:12 GMT+0000 (Coordinated Universal Time) +//Sun Apr 13 2025 11:25:51 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action -function r() { - return true; -} -function t(r, n) { - var i = e(); - return (t = function (r, t) { - return i[r -= 280]; - })(r, n); -} -function e() { - var r = ["charCodeAt", "substring", "join", "getSignStrWithJSON", "&keeptime=", "SerializableCipher", "exports", "splice", "Z6rn", "videoUrl is required", "WordArray", "_doFinalize", "salt", "JDh5", "key", "algo", "ceil", "Pkcs7", "pZxL", "addAntiLeech", "PasswordBasedCipher", "2671428oJsGUf", "filter", "map", "Chin", "appKey", "compute", "_minBufferSize", "auth_key=", "indexOf", "_createHelper", "mixIn", "sin", "AES", "blockSize", "Base", "appKey is required", "_hasher", "_hash", "MORZ", "_keyPriorReset", "_invKeySchedule", "keyF", "5301CmmsbP", "bfCL", "_data", "_ENC_XFORM_MODE", "appSecret not found", "ivSize", "_oKey", "Malformed UTF-8 data", "myVidaa", "hasOwnProperty", "_doCryptBlock", "apply", "_cipher", "CBC", "_parse", "createEncryptor", "erWs", "mode", "toString", "27910pdCbtw", "replace", "iterations", "length", "stringify", "Native crypto module could not be used to get secure random number.", "finalize", "$super", "HmacMD5", "random", "keySize", "slice", "_xformMode", "361892hnpvLp", "push", "sigBytes", "v65Q", "Cent", "clone", "2115702eTTkxZ", "CipherParams", "OpenSSL", "_doReset", "formatter", "aNet", "1287874xExyGS", "_mode", "min", "_reverseMap", "appKey not found", "Utf8", "HmacSHA1", "update", "postAndJSON", "4vR_", "anti-leech-vr", "hasher", "KCak", "Hex", "charAt", "_nDataBytes", "_keySchedule", "BufferedBlockAlgorithm", "extend", "unpad", "string", "undefined", "fromCharCode", "clamp", "SHA1", "execute", "wsSecret=", "Hasher", "call", "create", "Cipher", "getRandomValues", "Encryptor", "default", "_append", "encrypt", "max", "parse", "encryptByAppKey", "MD5", "readInt32LE", "lib", "function", "createDecryptor", "randomBytes", "_iv", "Rbku", "Base64", "_key", "now", "ikRF", "HMAC", "Latin1", "_process", "5BWn", "BlockCipher", "EvpKDF", "decrypt", "words", "_doProcessBlock", "_createHmacHelper", "iWxj", "enc", "ciphertext", "45fRFxTw", "5235328EIRPOP", "keys", "3864426sYgQAs", "cfg", "prototype", "secret", "sign", "reset", "init", "object", "1PsYGBb", "crypto", "_iKey", "BlockCipherMode", "concat", "decryptByAppKey", "flush", "Decryptor", "_DEC_XFORM_MODE", "msCrypto", "format", "floor", "_nRounds", "padding", "p+SM", "pad", "sort"]; - return (e = function () { - return r; - })(); -} -(function (r, n) { - for (var i = t, o = e();;) try { - if (697297 == -parseInt(i(300)) / 1 * (-parseInt(i(338)) / 2) + parseInt(i(398)) / 3 + -parseInt(i(392)) / 4 * (parseInt(i(289)) / 5) + parseInt(i(292)) / 6 + -parseInt(i(404)) / 7 + parseInt(i(290)) / 8 + parseInt(i(360)) / 9 * (-parseInt(i(379)) / 10)) break; - o.push(o.shift()); - } catch (r) { - o.push(o.shift()); - } -})(), function (e, n) { - var i = t; - ("undefined" == typeof exports ? "undefined" : r(exports)) === i(299) && "undefined" != typeof module ? module[i(323)] = n() : ("undefined" == typeof define ? "undefined" : r(define)) === i(446) && define.amd ? define(n) : (e = ("undefined" == typeof globalThis ? "undefined" : r(globalThis)) !== i(425) ? globalThis : e || self).jhkSign = n(); -}(undefined, function () { - var e = t, - n = ("undefined" == typeof globalThis ? "undefined" : r(globalThis)) !== e(425) ? globalThis : ("undefined" == typeof window ? "undefined" : r(window)) !== e(425) ? window : ("undefined" == typeof global ? "undefined" : r(global)) !== e(425) ? global : "undefined" != typeof self ? self : {}; - function i(r) { - var t = e; - return r && r.__esModule && Object[t(294)][t(369)][t(432)](r, "default") ? r[t(437)] : r; - } - var o = { - exports: {} +let _0x5ba4 = ["JS_MD5_NO_NODE_JS", "JS_MD5_NO_ARRAY_BUFFER", "92430HIMTvx", "hash", "Z6rn", "versions", "4vR_", "finalize", "1HrnRlh", "object", "appSecret not found", "[object Array]", "md5", "replace", "postAndJSON", "start", "&wsTime=", "bytes", "jhkSign", "base64", "map", "videoUrl is required", "appKey is required", "first", "189793SCUbFR", "buffer8", "sort", "charCodeAt", "lastByteIndex", "5BWn", "crypto", "split", "Chin", "prototype", "isView", "429974UbhOoM", "KCak", "p+SM", "function", "136214xFSGLk", "toString", "appKey not found", "join", "update", "string", "Cent", "concat", "buffer", "GxY4", "keys", "indexOf", "erWs", "length", "exports", "1QevvPD", "appKey", "152369giaOuq", "isArray", "input is invalid type", "finalized", "createHash", "72542QCPmwL", "iWxj", "myVidaa", "JDh5", "hBytes", "undefined", "keyF", "create", "265249XKNHRl", "stringify", "hex", "wsSecret=", "blocks", "constructor", "hashed", "ikRF", "digest", "Buffer", "array", "MORZ", "arrayBuffer", "call", "auQg", "0123456789abcdef", "JS_MD5_NO_COMMON_JS"], + _0x1bdb = function (e, _) { + return _0x5ba4[e -= 424]; }; - function a(r) { - throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); +(function (_) { + for (let e = _0x1bdb;;) try { + if (230907 === parseInt(e(486)) + -parseInt(e(437)) + parseInt(e(459)) + -parseInt(e(433)) * -parseInt(e(452)) + parseInt(e(508)) + -parseInt(e(454)) + -parseInt(e(467)) * parseInt(e(492))) break; + _.push(_.shift()); + } catch (e) { + _.push(_.shift()); } - var s, - c, - u, - f = { +})(_0x5ba4), function (e, _) { + let t = _0x1bdb; + typeof exports === t(493) && typeof module !== t(464) ? module[t(451)] = _() : typeof define === t(436) && define.amd ? define(_) : (e = typeof globalThis !== t(464) ? globalThis : e || self)[t(502)] = _(); +}(this, function () { + "use strict"; + + let _0x49e9df = _0x1bdb, + _0x501dde = typeof globalThis !== _0x49e9df(464) ? globalThis : typeof window !== _0x49e9df(464) ? window : typeof global !== _0x49e9df(464) ? global : typeof self !== _0x49e9df(464) ? self : {}; + function _0x48531b(e) { + let _ = { exports: {} }; - function h() { - var i, - o = e; - return s || (s = 1, f[t(323)] = i = i || function (e, i) { - var o, - s = t; - if (("undefined" == typeof window ? "undefined" : r(window)) !== s(425) && window[s(301)] && (o = window[s(301)]), "undefined" != typeof self && self.crypto && (o = self[s(301)]), ("undefined" == typeof globalThis ? "undefined" : r(globalThis)) !== s(425) && globalThis[s(301)] && (o = globalThis.crypto), !o && ("undefined" == typeof window ? "undefined" : r(window)) !== s(425) && window.msCrypto && (o = window[s(309)]), !o && r(n) !== s(425) && n.crypto && (o = n.crypto), !o && r(a) === s(446)) try { - o = require(s(301)); - } catch (e) {} - var c = function () { - var r = s; - if (o) { - if ("function" == typeof o[r(435)]) try { - return o[r(435)](new Uint32Array(1))[0]; - } catch (r) {} - if ("function" == typeof o[r(448)]) try { - return o[r(448)](4)[r(444)](); - } catch (r) {} - } - throw new Error(r(384)); - }, - u = Object[s(433)] || function () { - function r() {} + return e(_, _.exports), _.exports; + } + let _0x3c76ae = _0x48531b(function (_0x2d8688) { + !function () { + let _0x1bd91a = _0x1bdb, + _0x1a8911 = _0x1bd91a(456), + _0x4776a7 = typeof window === _0x1bd91a(493), + _0x249827 = _0x4776a7 ? window : {}; + _0x249827.JS_MD5_NO_WINDOW && (_0x4776a7 = false); + let _0x31a21d = !_0x4776a7 && "object" === typeof self, + _0x58a317 = !_0x249827[_0x1bd91a(484)] && "object" === typeof process && process[_0x1bd91a(489)] && process[_0x1bd91a(489)].node; + _0x58a317 ? _0x249827 = _0x501dde : _0x31a21d && (_0x249827 = self); + var _0x5e24df = !_0x249827[_0x1bd91a(483)] && "object" === _0x1bd91a(493) && _0x2d8688[_0x1bd91a(451)], + _0x3f8da4 = !_0x249827[_0x1bd91a(485)] && typeof ArrayBuffer !== _0x1bd91a(464), + _0x127529 = _0x1bd91a(482)[_0x1bd91a(429)](""), + _0x2ebab4 = [128, 32768, 8388608, -2147483648], + _0x5edd56 = [0, 8, 16, 24], + _0x34c9f8 = [_0x1bd91a(469), _0x1bd91a(477), _0x1bd91a(475), _0x1bd91a(445), _0x1bd91a(479), _0x1bd91a(503)], + _0x1b74c2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[_0x1bd91a(429)](""), + _0x5e063e = [], + _0x30ff00, + _0x278477, + _0x30ff00, + _0x5e063e; + _0x3f8da4 && (_0x278477 = new ArrayBuffer(68), _0x30ff00 = new Uint8Array(_0x278477), _0x5e063e = new Uint32Array(_0x278477)), !_0x249827[_0x1bd91a(484)] && Array[_0x1bd91a(455)] || (Array[_0x1bd91a(455)] = function (e) { + let _ = _0x1bd91a; + return Object[_(431)][_(438)][_(480)](e) === _(495); + }), !_0x3f8da4 || !_0x249827.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer[_0x1bd91a(432)] || (ArrayBuffer[_0x1bd91a(432)] = function (e) { + let _ = _0x1bd91a; + return typeof e === _(493) && e.buffer && e[_(445)][_(472)] === ArrayBuffer; + }); + var _0xc927f8 = function (t) { return function (e) { - var n, - i = t; - return r[i(294)] = e, n = new r(), r[i(294)] = null, n; - }; - }(), - f = {}, - h = f.lib = {}, - p = h[s(352)] = { - extend: function (r) { - var e = t, - n = u(this); - return r && n[e(348)](r), (!n[e(369)](e(298)) || this[e(298)] === n[e(298)]) && (n[e(298)] = function () { - var r = e; - n[r(386)][r(298)].apply(this, arguments); - }), n[e(298)][e(294)] = n, n.$super = this, n; - }, - create: function () { - var r = t, - e = this[r(422)](); - return e[r(298)][r(371)](e, arguments), e; - }, - init: function () {}, - mixIn: function (r) { - var e = t; - for (var n in r) r[e(369)](n) && (this[n] = r[n]); - r[e(369)](e(378)) && (this[e(378)] = r.toString); - }, - clone: function () { - var r = t; - return this[r(298)][r(294)][r(422)](this); - } - }, - v = h[s(327)] = p[s(422)]({ - init: function (r, t) { - var e = s; - r = this[e(283)] = r || [], null != t ? this[e(394)] = t : this.sigBytes = 4 * r[e(382)]; - }, - toString: function (r) { - return (r || l)[s(383)](this); - }, - concat: function (r) { - var t = s, - e = this[t(283)], - n = r[t(283)], - i = this[t(394)], - o = r[t(394)]; - if (this.clamp(), i % 4) for (var a = 0; a < o; a++) { - var c = n[a >>> 2] >>> 24 - a % 4 * 8 & 255; - e[i + a >>> 2] |= c << 24 - (i + a) % 4 * 8; - } else for (var u = 0; u < o; u += 4) e[i + u >>> 2] = n[u >>> 2]; - return this[t(394)] += o, this; - }, - clamp: function () { - var r = s, - t = this[r(283)], - n = this.sigBytes; - t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = e[r(333)](n / 4); - }, - clone: function () { - var r = s, - t = p[r(397)].call(this); - return t[r(283)] = this.words[r(390)](0), t; - }, - random: function (r) { - for (var t = s, e = [], n = 0; n < r; n += 4) e[t(393)](c()); - return new v[t(298)](e, r); - } - }), - d = f[s(287)] = {}, - l = d[s(417)] = { - stringify: function (r) { - for (var t = s, e = r.words, n = r[t(394)], i = [], o = 0; o < n; o++) { - var a = e[o >>> 2] >>> 24 - o % 4 * 8 & 255; - i.push((a >>> 4)[t(378)](16)), i[t(393)]((15 & a)[t(378)](16)); - } - return i[t(319)](""); - }, - parse: function (r) { - for (var t = s, e = r.length, n = [], i = 0; i < e; i += 2) n[i >>> 3] |= parseInt(r.substr(i, 2), 16) << 24 - i % 8 * 4; - return new v[t(298)](n, e / 2); - } - }, - y = d[s(456)] = { - stringify: function (r) { - for (var t = s, e = r[t(283)], n = r[t(394)], i = [], o = 0; o < n; o++) { - var a = e[o >>> 2] >>> 24 - o % 4 * 8 & 255; - i[t(393)](String[t(426)](a)); - } - return i[t(319)](""); - }, - parse: function (r) { - for (var t = s, e = r[t(382)], n = [], i = 0; i < e; i++) n[i >>> 2] |= (255 & r[t(317)](i)) << 24 - i % 4 * 8; - return new v[t(298)](n, e); - } - }, - _ = d.Utf8 = { - stringify: function (r) { - var t = s; - try { - return decodeURIComponent(escape(y[t(383)](r))); - } catch (r) { - throw new Error(t(367)); - } - }, - parse: function (r) { - return y.parse(unescape(encodeURIComponent(r))); - } - }, - g = h[s(421)] = p[s(422)]({ - reset: function () { - var r = s; - this[r(362)] = new v[r(298)](), this[r(419)] = 0; - }, - _append: function (t) { - var e = s; - r(t) == e(424) && (t = _.parse(t)), this._data[e(304)](t), this._nDataBytes += t[e(394)]; - }, - _process: function (r) { - var t, - n = s, - i = this._data, - o = i.words, - a = i[n(394)], - c = this[n(351)], - u = a / (4 * c), - f = (u = r ? e[n(333)](u) : e[n(440)]((0 | u) - this[n(344)], 0)) * c, - h = e[n(406)](4 * f, a); - if (f) { - for (var p = 0; p < f; p += c) this[n(284)](o, p); - t = o[n(324)](0, f), i[n(394)] -= h; - } - return new v[n(298)](t, h); - }, - clone: function () { - var r = s, - t = p[r(397)][r(432)](this); - return t._data = this._data[r(397)](), t; - }, - _minBufferSize: 0 - }); - h[s(431)] = g[s(422)]({ - cfg: p[s(422)](), - init: function (r) { - var t = s; - this[t(293)] = this.cfg[t(422)](r), this[t(297)](); - }, - reset: function () { - var r = s; - g.reset[r(432)](this), this[r(401)](); - }, - update: function (r) { - return this[s(438)](r), this._process(), this; - }, - finalize: function (r) { - var t = s; - return r && this[t(438)](r), this[t(328)](); - }, - blockSize: 16, - _createHelper: function (r) { - return function (e, n) { - var i = t; - return new r.init(n)[i(385)](e); + let _ = _0x1bdb; + return new _0x3863a8(true)[_(441)](e)[t](); }; }, - _createHmacHelper: function (r) { - return function (e, n) { - var i = t; - return new w.HMAC[i(298)](r, n)[i(385)](e); + _0x406f6d = function () { + let t = _0x1bd91a, + r = _0xc927f8(t(469)); + _0x58a317 && (r = _0x59488a(r)), r.create = function () { + return new _0x3863a8(); + }, r[t(441)] = function (e) { + let _ = t; + return r[_(466)]()[_(441)](e); }; - } - }); - var w = f[s(332)] = {}; - return f; - }(Math)), f[o(323)]; - } - o[t(323)] = (c = h(), u = t, function (r) { - var e = t, - n = c, - i = n[e(445)], - o = i.WordArray, - a = i[e(431)], - s = n[e(332)], - u = []; - !function () { - for (var t = e, n = 0; n < 64; n++) u[n] = 4294967296 * r.abs(r[t(349)](n + 1)) | 0; - }(); - var f = s[e(443)] = a[e(422)]({ - _doReset: function () { - var r = e; - this[r(355)] = new o[r(298)]([1732584193, 4023233417, 2562383102, 271733878]); - }, - _doProcessBlock: function (r, t) { - for (var e = 0; e < 16; e++) { - var n = t + e, - i = r[n]; - r[n] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8); - } - var o = this._hash.words, - a = r[t + 0], - s = r[t + 1], - c = r[t + 2], - f = r[t + 3], - l = r[t + 4], - y = r[t + 5], - _ = r[t + 6], - g = r[t + 7], - w = r[t + 8], - m = r[t + 9], - k = r[t + 10], - S = r[t + 11], - x = r[t + 12], - B = r[t + 13], - b = r[t + 14], - C = r[t + 15], - E = o[0], - z = o[1], - M = o[2], - R = o[3]; - E = h(E, z, M, R, a, 7, u[0]), R = h(R, E, z, M, s, 12, u[1]), M = h(M, R, E, z, c, 17, u[2]), z = h(z, M, R, E, f, 22, u[3]), E = h(E, z, M, R, l, 7, u[4]), R = h(R, E, z, M, y, 12, u[5]), M = h(M, R, E, z, _, 17, u[6]), z = h(z, M, R, E, g, 22, u[7]), E = h(E, z, M, R, w, 7, u[8]), R = h(R, E, z, M, m, 12, u[9]), M = h(M, R, E, z, k, 17, u[10]), z = h(z, M, R, E, S, 22, u[11]), E = h(E, z, M, R, x, 7, u[12]), R = h(R, E, z, M, B, 12, u[13]), M = h(M, R, E, z, b, 17, u[14]), E = p(E, z = h(z, M, R, E, C, 22, u[15]), M, R, s, 5, u[16]), R = p(R, E, z, M, _, 9, u[17]), M = p(M, R, E, z, S, 14, u[18]), z = p(z, M, R, E, a, 20, u[19]), E = p(E, z, M, R, y, 5, u[20]), R = p(R, E, z, M, k, 9, u[21]), M = p(M, R, E, z, C, 14, u[22]), z = p(z, M, R, E, l, 20, u[23]), E = p(E, z, M, R, m, 5, u[24]), R = p(R, E, z, M, b, 9, u[25]), M = p(M, R, E, z, f, 14, u[26]), z = p(z, M, R, E, w, 20, u[27]), E = p(E, z, M, R, B, 5, u[28]), R = p(R, E, z, M, c, 9, u[29]), M = p(M, R, E, z, g, 14, u[30]), E = v(E, z = p(z, M, R, E, x, 20, u[31]), M, R, y, 4, u[32]), R = v(R, E, z, M, w, 11, u[33]), M = v(M, R, E, z, S, 16, u[34]), z = v(z, M, R, E, b, 23, u[35]), E = v(E, z, M, R, s, 4, u[36]), R = v(R, E, z, M, l, 11, u[37]), M = v(M, R, E, z, g, 16, u[38]), z = v(z, M, R, E, k, 23, u[39]), E = v(E, z, M, R, B, 4, u[40]), R = v(R, E, z, M, a, 11, u[41]), M = v(M, R, E, z, f, 16, u[42]), z = v(z, M, R, E, _, 23, u[43]), E = v(E, z, M, R, m, 4, u[44]), R = v(R, E, z, M, x, 11, u[45]), M = v(M, R, E, z, C, 16, u[46]), E = d(E, z = v(z, M, R, E, c, 23, u[47]), M, R, a, 6, u[48]), R = d(R, E, z, M, g, 10, u[49]), M = d(M, R, E, z, b, 15, u[50]), z = d(z, M, R, E, y, 21, u[51]), E = d(E, z, M, R, x, 6, u[52]), R = d(R, E, z, M, f, 10, u[53]), M = d(M, R, E, z, k, 15, u[54]), z = d(z, M, R, E, s, 21, u[55]), E = d(E, z, M, R, w, 6, u[56]), R = d(R, E, z, M, C, 10, u[57]), M = d(M, R, E, z, _, 15, u[58]), z = d(z, M, R, E, B, 21, u[59]), E = d(E, z, M, R, l, 6, u[60]), R = d(R, E, z, M, S, 10, u[61]), M = d(M, R, E, z, c, 15, u[62]), z = d(z, M, R, E, m, 21, u[63]), o[0] = o[0] + E | 0, o[1] = o[1] + z | 0, o[2] = o[2] + M | 0, o[3] = o[3] + R | 0; - }, - _doFinalize: function () { - var t = e, - n = this[t(362)], - i = n[t(283)], - o = 8 * this[t(419)], - a = 8 * n.sigBytes; - i[a >>> 5] |= 128 << 24 - a % 32; - var s = r.floor(o / 4294967296), - c = o; - i[15 + (a + 64 >>> 9 << 4)] = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), i[14 + (a + 64 >>> 9 << 4)] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8), n[t(394)] = 4 * (i[t(382)] + 1), this._process(); - for (var u = this[t(355)], f = u[t(283)], h = 0; h < 4; h++) { - var p = f[h]; - f[h] = 16711935 & (p << 8 | p >>> 24) | 4278255360 & (p << 24 | p >>> 8); - } - return u; - }, - clone: function () { - var r = e, - t = a[r(397)][r(432)](this); - return t[r(355)] = this[r(355)].clone(), t; - } - }); - function h(r, t, e, n, i, o, a) { - var s = r + (t & e | ~t & n) + i + a; - return (s << o | s >>> 32 - o) + t; - } - function p(r, t, e, n, i, o, a) { - var s = r + (t & n | e & ~n) + i + a; - return (s << o | s >>> 32 - o) + t; - } - function v(r, t, e, n, i, o, a) { - var s = r + (t ^ e ^ n) + i + a; - return (s << o | s >>> 32 - o) + t; - } - function d(r, t, e, n, i, o, a) { - var s = r + (e ^ (t | ~n)) + i + a; - return (s << o | s >>> 32 - o) + t; - } - n[e(443)] = a[e(347)](f), n[e(387)] = a[e(285)](f); - }(Math), c[u(443)]); - var p, - v, - d = i(o[e(323)]), - l = { - exports: {} - }; - l[t(323)] = (p = h(), v = t, function () { - var r = t, - e = p, - n = e[r(445)][r(327)]; - function i(t, e, i) { - for (var o = r, a = [], s = 0, c = 0; c < e; c++) if (c % 4) { - var u = i[t[o(317)](c - 1)] << c % 4 * 2 | i[t[o(317)](c)] >>> 6 - c % 4 * 2; - a[s >>> 2] |= u << 24 - s % 4 * 8, s++; - } - return n[o(433)](a, s); - } - e[r(287)][r(451)] = { - stringify: function (t) { - var e = r, - n = t[e(283)], - i = t.sigBytes, - o = this._map; - t[e(427)](); - for (var a = [], s = 0; s < i; s += 3) for (var c = (n[s >>> 2] >>> 24 - s % 4 * 8 & 255) << 16 | (n[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255) << 8 | n[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, u = 0; u < 4 && s + .75 * u < i; u++) a[e(393)](o.charAt(c >>> 6 * (3 - u) & 63)); - var f = o[e(418)](64); - if (f) for (; a[e(382)] % 4;) a[e(393)](f); - return a.join(""); - }, - parse: function (t) { - var e = r, - n = t[e(382)], - o = this._map, - a = this[e(407)]; - if (!a) { - a = this._reverseMap = []; - for (var s = 0; s < o[e(382)]; s++) a[o[e(317)](s)] = s; - } - var c = o[e(418)](64); - if (c) { - var u = t[e(346)](c); - -1 !== u && (n = u); - } - return i(t, n, a); - }, - _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" - }; - }(), p[v(287)][v(451)]); - var y = i(l.exports), - _ = { - exports: {} - }; - _.exports = h()[t(287)].Hex; - var g, - w = i(_.exports), - m = function () { - var n = e; - function i(r) { - var e = t, - n = this; - this[e(296)] = function (r, t) { - var i = e; - if (!(null == t ? undefined : t[i(342)])) throw new Error(i(353)); - var o = n[i(295)](t[i(342)]); - if (!o) throw new Error(i(364)); - var a = (null == t ? undefined : t[i(412)]) ? n[i(320)](r || "", o) : n.getSignStr(r || "", o); - return d(a)[i(378)](y); - }, this[e(336)] = function (r, t, i) { - var o = e; - if (undefined === i && (i = 15), !r) throw new Error("appKey is required"); - var a = n.secret(r); - if (!a) throw new Error(o(408)); - if (!t) throw new Error(o(326)); - var s = t, - c = s[o(380)](/http(s?)\:\/\/[^/]+/, ""); - if ("anti-leech-wangsu" === r) { - var u = Math.floor(Date[o(453)]() / 1e3).toString(16), - f = 60 * i, - h = "".concat(a)[o(304)](c).concat(u)[o(304)](f), - p = d(h).toString(w), - v = -1 === s[o(346)]("?") ? "?" : "&"; - return v += o(430)[o(304)](p, "&wsTime=")[o(304)](u, o(321))[o(304)](f), ""[o(304)](s).concat(v); + for (let e = 0; e < _0x34c9f8.length; ++e) { + let _ = _0x34c9f8[e]; + r[_] = _0xc927f8(_); } - if ("anti-leech-ali" === r) { - var l = Math[o(311)](Date[o(453)]() / 1e3) + (f = 60 * i), - y = (h = ""[o(304)](c, "-")[o(304)](l, "-")[o(304)](0, "-")[o(304)](0, "-")[o(304)](a), ""[o(304)](l, "-").concat(0, "-").concat(0, "-")[o(304)](d(h)[o(378)](w))); - return v = -1 === s[o(346)]("?") ? "?" : "&", v += o(345).concat(y), ""[o(304)](s)[o(304)](v); - } - return t; - }, this.secret = r; - } - return i[n(294)].getSignStr = function (t, e) { - var i = n, - o = ""; - if ("string" == typeof t) o = t;else { - var a = Object[i(291)](t)[i(340)](function (e) { - var n = i, - o = t[e]; - return "" === o || null == o ? "" : (r(o) === n(299) && (o = JSON[n(383)](o)), ""[n(304)](e, "=")[n(304)](o)); - })[i(339)](function (r) { - return "" !== r; - }); - a[i(316)](function (r, t) { - return r > t ? 1 : -1; - }), o = a[i(319)]("&"); - } - return o[i(304)](e); - }, i[n(294)][n(320)] = function (t, e) { - var i = n, - o = r(t) === i(424) ? t : JSON[i(383)](t); - return ""[i(304)](o).concat(e); - }, i; - }(), - k = { - exports: {} - }, - S = { - exports: {} - }, - x = { - exports: {} - }; - var B, - b, - C = { - exports: {} - }; - function E() { - var n, - i, - o, - a, - s, - c, - u, - f, - p, - v, - d = e; - return b || (b = 1, S.exports = (n = h(), function () { - var r, - n, - i, - o, - a, - s, - c, - u, - f, - p = e; - g ? x.exports : (g = 1, x.exports = (o = (i = r = h())[(n = t)(445)], a = o[n(327)], s = o[n(431)], c = i[n(332)], u = [], f = c[n(428)] = s.extend({ - _doReset: function () { - var r = n; - this._hash = new a[r(298)]([1732584193, 4023233417, 2562383102, 271733878, 3285377520]); + return r; }, - _doProcessBlock: function (r, t) { - for (var e = this[n(355)].words, i = e[0], o = e[1], a = e[2], s = e[3], c = e[4], f = 0; f < 80; f++) { - if (f < 16) u[f] = 0 | r[t + f];else { - var h = u[f - 3] ^ u[f - 8] ^ u[f - 14] ^ u[f - 16]; - u[f] = h << 1 | h >>> 31; - } - var p = (i << 5 | i >>> 27) + c + u[f]; - p += f < 20 ? 1518500249 + (o & a | ~o & s) : f < 40 ? 1859775393 + (o ^ a ^ s) : f < 60 ? (o & a | o & s | a & s) - 1894007588 : (o ^ a ^ s) - 899497514, c = s, s = a, a = o << 30 | o >>> 2, o = i, i = p; - } - e[0] = e[0] + i | 0, e[1] = e[1] + o | 0, e[2] = e[2] + a | 0, e[3] = e[3] + s | 0, e[4] = e[4] + c | 0; - }, - _doFinalize: function () { - var r = n, - t = this[r(362)], - e = t[r(283)], - i = 8 * this._nDataBytes, - o = 8 * t[r(394)]; - return e[o >>> 5] |= 128 << 24 - o % 32, e[14 + (o + 64 >>> 9 << 4)] = Math[r(311)](i / 4294967296), e[15 + (o + 64 >>> 9 << 4)] = i, t[r(394)] = 4 * e.length, this._process(), this[r(355)]; - }, - clone: function () { - var r = n, - t = s[r(397)].call(this); - return t._hash = this[r(355)][r(397)](), t; - } - }), i.SHA1 = s._createHelper(f), i[n(410)] = s[n(285)](f), r.SHA1), x[p(323)]); - }(), function () { - var n, - i, - o, - a, - s = e; - B || (B = 1, C[t(323)] = (o = (i = h())[(n = t)(445)][n(352)], a = i[n(287)][n(409)], void (i[n(332)][n(455)] = o[n(422)]({ - init: function (t, e) { - var i = n; - t = this[i(354)] = new t.init(), r(e) == i(424) && (e = a[i(441)](e)); - var o = t.blockSize, - s = 4 * o; - e.sigBytes > s && (e = t.finalize(e)), e[i(427)](); - for (var c = this[i(366)] = e.clone(), u = this[i(302)] = e[i(397)](), f = c[i(283)], h = u[i(283)], p = 0; p < o; p++) f[p] ^= 1549556828, h[p] ^= 909522486; - c[i(394)] = u[i(394)] = s, this.reset(); - }, - reset: function () { - var r = n, - t = this[r(354)]; - t[r(297)](), t[r(411)](this._iKey); - }, - update: function (r) { - var t = n; - return this[t(354)][t(411)](r), this; - }, - finalize: function (r) { - var t = n, - e = this[t(354)], - i = e[t(385)](r); - return e.reset(), e[t(385)](this[t(366)][t(397)]()[t(304)](i)); - } - })))), C[s(323)]; - }(), i = t, o = t, c = (s = (a = n).lib)[o(352)], u = s.WordArray, p = (f = a.algo)[o(443)], v = f[o(281)] = c.extend({ - cfg: c[o(422)]({ - keySize: 4, - hasher: p, - iterations: 1 - }), - init: function (r) { - var t = o; - this[t(293)] = this.cfg[t(422)](r); - }, - compute: function (r, t) { - for (var e, n = o, i = this[n(293)], a = i[n(415)].create(), s = u.create(), c = s[n(283)], f = i[n(389)], h = i[n(381)]; c[n(382)] < f;) { - e && a[n(411)](e), e = a[n(411)](r)[n(385)](t), a[n(297)](); - for (var p = 1; p < h; p++) e = a.finalize(e), a[n(297)](); - s[n(304)](e); - } - return s[n(394)] = 4 * f, s; - } - }), a.EvpKDF = function (r, t, e) { - var n = o; - return v[n(433)](e)[n(343)](r, t); - }, n[i(281)])), S[d(323)]; - } - var z, - M, - R, - O = { - exports: {} - }; - function A() { - var n, - i, - o = e; - return z ? O.exports : (z = 1, O[t(323)] = (n = h(), E(), i = t, void (n.lib[i(434)] || function (e) { - var o = i, - a = n, - s = a[o(445)], - c = s[o(352)], - u = s[o(327)], - f = s.BufferedBlockAlgorithm, - h = a.enc; - h.Utf8; - var p = h[o(451)], - v = a.algo[o(281)], - d = s[o(434)] = f[o(422)]({ - cfg: c[o(422)](), - createEncryptor: function (r, t) { - var e = o; - return this[e(433)](this[e(363)], r, t); - }, - createDecryptor: function (r, t) { - var e = o; - return this[e(433)](this[e(308)], r, t); - }, - init: function (r, t, e) { - var n = o; - this[n(293)] = this[n(293)][n(422)](e), this[n(391)] = r, this[n(452)] = t, this[n(297)](); - }, - reset: function () { - var r = o; - f[r(297)].call(this), this[r(401)](); - }, - process: function (r) { - var t = o; - return this[t(438)](r), this[t(457)](); - }, - finalize: function (r) { - var t = o; - return r && this._append(r), this[t(328)](); - }, - keySize: 4, - ivSize: 4, - _ENC_XFORM_MODE: 1, - _DEC_XFORM_MODE: 2, - _createHelper: function () { - function e(e) { - return r(e) == t(424) ? x : k; - } - return function (r) { - return { - encrypt: function (n, i, o) { - var a = t; - return e(i)[a(439)](r, n, i, o); - }, - decrypt: function (t, n, i) { - return e(n).decrypt(r, t, n, i); - } - }; + _0x59488a = function (_0x528379) { + let _0x48491f = eval("var _0x5b831e = _0x1bdb;require(_0x5b831e(428));"), + _0x3c9ffa = eval("var _0x18667f = _0x1bdb;require('buffer')[_0x18667f(476)];"), + _0x1e931c = function (e) { + let _ = _0x1bdb; + if ("string" === typeof e) return _0x48491f[_(458)](_(496))[_(441)](e, "utf8")[_(475)](_(469)); + if (null == e) throw _0x1a8911; + return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array[_(455)](e) || ArrayBuffer[_(432)](e) || e[_(472)] === _0x3c9ffa ? _0x48491f.createHash("md5")[_(441)](new _0x3c9ffa(e))[_(475)](_(469)) : _0x528379(e); }; - }() - }); - s.StreamCipher = d[o(422)]({ - _doFinalize: function () { - var r = o; - return this[r(457)](!!r(306)); - }, - blockSize: 1 - }); - var l = a[o(377)] = {}, - y = s[o(303)] = c[o(422)]({ - createEncryptor: function (r, t) { - var e = o; - return this.Encryptor[e(433)](r, t); - }, - createDecryptor: function (r, t) { - var e = o; - return this[e(307)][e(433)](r, t); - }, - init: function (r, t) { - var e = o; - this[e(372)] = r, this[e(449)] = t; - } - }), - _ = l[o(373)] = function () { - var r = o, - t = y[r(422)](); - function e(t, e, n) { - var i, - o = r, - a = this[o(449)]; - a ? (i = a, this[o(449)] = undefined) : i = this._prevBlock; - for (var s = 0; s < n; s++) t[e + s] ^= i[s]; - } - return t[r(436)] = t[r(422)]({ - processBlock: function (t, n) { - var i = r, - o = this[i(372)], - a = o[i(351)]; - e.call(this, t, n, a), o.encryptBlock(t, n), this._prevBlock = t.slice(n, n + a); - } - }), t[r(307)] = t[r(422)]({ - processBlock: function (t, n) { - var i = r, - o = this[i(372)], - a = o[i(351)], - s = t[i(390)](n, n + a); - o.decryptBlock(t, n), e.call(this, t, n, a), this._prevBlock = s; - } - }), t; - }(), - g = (a[o(315)] = {})[o(334)] = { - pad: function (r, t) { - for (var e = o, n = 4 * t, i = n - r[e(394)] % n, a = i << 24 | i << 16 | i << 8 | i, s = [], c = 0; c < i; c += 4) s.push(a); - var f = u[e(433)](s, i); - r[e(304)](f); - }, - unpad: function (r) { - var t = o, - e = 255 & r[t(283)][r.sigBytes - 1 >>> 2]; - r[t(394)] -= e; - } + return _0x1e931c; }; - s.BlockCipher = d[o(422)]({ - cfg: d.cfg[o(422)]({ - mode: _, - padding: g - }), - reset: function () { - var r, - t = o; - d[t(297)][t(432)](this); - var e = this[t(293)], - n = e.iv, - i = e.mode; - this._xformMode == this._ENC_XFORM_MODE ? r = i[t(375)] : (r = i[t(447)], this[t(344)] = 1), this[t(405)] && this._mode.__creator == r ? this[t(405)][t(298)](this, n && n.words) : (this._mode = r.call(i, this, n && n[t(283)]), this[t(405)].__creator = r); - }, - _doProcessBlock: function (r, t) { - this[o(405)].processBlock(r, t); - }, - _doFinalize: function () { - var r, - t = o, - e = this[t(293)][t(313)]; - return this[t(391)] == this[t(363)] ? (e[t(315)](this[t(362)], this.blockSize), r = this[t(457)](true)) : (r = this[t(457)](!!t(306)), e[t(423)](r)), r; - }, - blockSize: 4 - }); - var w = s[o(399)] = c[o(422)]({ - init: function (r) { - this[o(348)](r); - }, - toString: function (r) { - var t = o; - return (r || this[t(402)])[t(383)](this); - } - }), - m = (a[o(310)] = {})[o(400)] = { - stringify: function (r) { - var t = o, - e = r[t(288)], - n = r[t(329)]; - return (n ? u[t(433)]([1398893684, 1701076831])[t(304)](n)[t(304)](e) : e)[t(378)](p); - }, - parse: function (r) { - var t, - e = o, - n = p[e(441)](r), - i = n[e(283)]; - return 1398893684 == i[0] && 1701076831 == i[1] && (t = u[e(433)](i[e(390)](2, 4)), i.splice(0, 4), n.sigBytes -= 16), w.create({ - ciphertext: n, - salt: t - }); - } - }, - k = s[o(322)] = c[o(422)]({ - cfg: c[o(422)]({ - format: m - }), - encrypt: function (r, t, e, n) { - var i = o; - n = this[i(293)][i(422)](n); - var a = r.createEncryptor(e, n), - s = a[i(385)](t), - c = a[i(293)]; - return w[i(433)]({ - ciphertext: s, - key: e, - iv: c.iv, - algorithm: r, - mode: c[i(377)], - padding: c.padding, - blockSize: r[i(351)], - formatter: n[i(310)] - }); - }, - decrypt: function (r, t, e, n) { - var i = o; - return n = this.cfg[i(422)](n), t = this[i(374)](t, n[i(310)]), r[i(447)](e, n)[i(385)](t[i(288)]); - }, - _parse: function (t, e) { - return r(t) == o(424) ? e.parse(t, this) : t; - } - }), - S = (a.kdf = {}).OpenSSL = { - execute: function (r, t, e, n) { - var i = o; - !n && (n = u[i(388)](8)); - var a = v.create({ - keySize: t + e - })[i(343)](r, n), - s = u.create(a[i(283)][i(390)](t), 4 * e); - return a[i(394)] = 4 * t, w.create({ - key: a, - iv: s, - salt: n - }); - } - }, - x = s[o(337)] = k.extend({ - cfg: k[o(293)][o(422)]({ - kdf: S - }), - encrypt: function (r, t, e, n) { - var i = o, - a = (n = this[i(293)][i(422)](n)).kdf[i(429)](e, r[i(389)], r[i(365)]); - n.iv = a.iv; - var s = k.encrypt[i(432)](this, r, t, a[i(331)], n); - return s[i(348)](a), s; - }, - decrypt: function (r, t, e, n) { - var i = o; - n = this.cfg[i(422)](n), t = this._parse(t, n[i(310)]); - var a = n.kdf.execute(e, r[i(389)], r.ivSize, t.salt); - return n.iv = a.iv, k.decrypt[i(432)](this, r, t, a.key, n); - } - }); - }())), O[o(323)]); - } - k[t(323)] = (M = h(), E(), A(), R = t, function () { - var r = t, - e = M, - n = e.lib[r(280)], - i = e[r(332)], - o = [], - a = [], - s = [], - c = [], - u = [], - f = [], - h = [], - p = [], - v = [], - d = []; - !function () { - for (var r = [], t = 0; t < 256; t++) r[t] = t < 128 ? t << 1 : t << 1 ^ 283; - var e = 0, - n = 0; - for (t = 0; t < 256; t++) { - var i = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4; - i = i >>> 8 ^ 255 & i ^ 99, o[e] = i, a[i] = e; - var l = r[e], - y = r[l], - _ = r[y], - g = 257 * r[i] ^ 16843008 * i; - s[e] = g << 24 | g >>> 8, c[e] = g << 16 | g >>> 16, u[e] = g << 8 | g >>> 24, f[e] = g, g = 16843009 * _ ^ 65537 * y ^ 257 * l ^ 16843008 * e, h[i] = g << 24 | g >>> 8, p[i] = g << 16 | g >>> 16, v[i] = g << 8 | g >>> 24, d[i] = g, e ? (e = l ^ r[r[r[_ ^ l]]], n ^= r[r[n]]) : e = n = 1; + function _0x3863a8(e) { + let _ = _0x1bd91a; + e ? (_0x5e063e[0] = _0x5e063e[16] = _0x5e063e[1] = _0x5e063e[2] = _0x5e063e[3] = _0x5e063e[4] = _0x5e063e[5] = _0x5e063e[6] = _0x5e063e[7] = _0x5e063e[8] = _0x5e063e[9] = _0x5e063e[10] = _0x5e063e[11] = _0x5e063e[12] = _0x5e063e[13] = _0x5e063e[14] = _0x5e063e[15] = 0, this[_(471)] = _0x5e063e, this[_(509)] = _0x30ff00) : _0x3f8da4 ? (e = new ArrayBuffer(68), this.buffer8 = new Uint8Array(e), this[_(471)] = new Uint32Array(e)) : this[_(471)] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], this.h0 = this.h1 = this.h2 = this.h3 = this[_(499)] = this[_(501)] = this.hBytes = 0, this.finalized = this[_(473)] = false, this[_(507)] = true; } + _0x3863a8[_0x1bd91a(431)][_0x1bd91a(441)] = function (e) { + let _ = _0x1bd91a; + if (!this[_(457)]) { + let t, + r = typeof e; + if (r !== _(442)) { + if (r !== _(493)) throw _0x1a8911; + if (null === e) throw _0x1a8911; + if (_0x3f8da4 && e[_(472)] === ArrayBuffer) e = new Uint8Array(e);else if (!(Array[_(455)](e) || _0x3f8da4 && ArrayBuffer[_(432)](e))) throw _0x1a8911; + t = true; + } + for (var x, a, i = 0, f = e[_(450)], n = this[_(471)], s = this[_(509)]; i < f;) { + if (this[_(473)] && (this.hashed = false, n[0] = n[16], n[16] = n[1] = n[2] = n[3] = n[4] = n[5] = n[6] = n[7] = n[8] = n[9] = n[10] = n[11] = n[12] = n[13] = n[14] = n[15] = 0), t) { + if (_0x3f8da4) for (a = this[_(499)]; i < f && a < 64; ++i) s[a++] = e[i];else for (a = this[_(499)]; i < f && a < 64; ++i) n[a >> 2] |= e[i] << _0x5edd56[3 & a++]; + } else if (_0x3f8da4) for (a = this[_(499)]; i < f && a < 64; ++i) (x = e[_(425)](i)) < 128 ? s[a++] = x : (x < 2048 ? s[a++] = 192 | x >> 6 : (x < 55296 || 57344 <= x ? s[a++] = 224 | x >> 12 : (x = 65536 + ((1023 & x) << 10 | 1023 & e[_(425)](++i)), s[a++] = 240 | x >> 18, s[a++] = 128 | x >> 12 & 63), s[a++] = 128 | x >> 6 & 63), s[a++] = 128 | 63 & x);else for (a = this[_(499)]; i < f && a < 64; ++i) (x = e[_(425)](i)) < 128 ? n[a >> 2] |= x << _0x5edd56[3 & a++] : (x < 2048 ? n[a >> 2] |= (192 | x >> 6) << _0x5edd56[3 & a++] : (x < 55296 || 57344 <= x ? n[a >> 2] |= (224 | x >> 12) << _0x5edd56[3 & a++] : (x = 65536 + ((1023 & x) << 10 | 1023 & e[_(425)](++i)), n[a >> 2] |= (240 | x >> 18) << _0x5edd56[3 & a++], n[a >> 2] |= (128 | x >> 12 & 63) << _0x5edd56[3 & a++]), n[a >> 2] |= (128 | x >> 6 & 63) << _0x5edd56[3 & a++]), n[a >> 2] |= (128 | 63 & x) << _0x5edd56[3 & a++]); + this[_(426)] = a, this.bytes += a - this[_(499)], 64 <= a ? (this[_(499)] = a - 64, this[_(487)](), this[_(473)] = true) : this[_(499)] = a; + } + return 4294967295 < this.bytes && (this[_(463)] += this[_(501)] / 4294967296 << 0, this[_(501)] = this[_(501)] % 4294967296), this; + } + }, _0x3863a8[_0x1bd91a(431)][_0x1bd91a(491)] = function () { + let e, + _, + t = _0x1bd91a; + this[t(457)] || (this[t(457)] = true, (e = this[t(471)])[(_ = this[t(426)]) >> 2] |= _0x2ebab4[3 & _], 56 <= _ && (this.hashed || this[t(487)](), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this[t(501)] << 3, e[15] = this[t(463)] << 3 | this.bytes >>> 29, this[t(487)]()); + }, _0x3863a8.prototype[_0x1bd91a(487)] = function () { + var e, + _, + t, + r, + x, + a = this[_0x1bd91a(471)], + i = (this.first ? i = ((e = ((e = a[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (_ = ((_ = (-271733879 ^ (t = ((t = (-1732584194 ^ 2004318071 & e) + a[1] - 117830708) << 12 | t >>> 20) + e << 0) & (-271733879 ^ e)) + a[2] - 1126478375) << 17 | _ >>> 15) + t << 0) & (t ^ e)) + a[3] - 1316259209 : (e = this.h0, i = this.h1, _ = this.h2, i += ((e = ((e += ((t = this.h3) ^ i & (_ ^ t)) + a[0] - 680876936) << 7 | e >>> 25) + i << 0) ^ (_ = ((_ += (i ^ (t = ((t += (_ ^ e & (i ^ _)) + a[1] - 389564586) << 12 | t >>> 20) + e << 0) & (e ^ i)) + a[2] + 606105819) << 17 | _ >>> 15) + t << 0) & (t ^ e)) + a[3] - 1044525330), (i << 22 | i >>> 10) + _ << 0); + i = ((i += ((e = ((e += (t ^ i & (_ ^ t)) + a[4] - 176418897) << 7 | e >>> 25) + i << 0) ^ (_ = ((_ += (i ^ (t = ((t += (_ ^ e & (i ^ _)) + a[5] + 1200080426) << 12 | t >>> 20) + e << 0) & (e ^ i)) + a[6] - 1473231341) << 17 | _ >>> 15) + t << 0) & (t ^ e)) + a[7] - 45705983) << 22 | i >>> 10) + _ << 0, i = ((i += ((e = ((e += (t ^ i & (_ ^ t)) + a[8] + 1770035416) << 7 | e >>> 25) + i << 0) ^ (_ = ((_ += (i ^ (t = ((t += (_ ^ e & (i ^ _)) + a[9] - 1958414417) << 12 | t >>> 20) + e << 0) & (e ^ i)) + a[10] - 42063) << 17 | _ >>> 15) + t << 0) & (t ^ e)) + a[11] - 1990404162) << 22 | i >>> 10) + _ << 0, i = ((i += ((e = ((e += (t ^ i & (_ ^ t)) + a[12] + 1804603682) << 7 | e >>> 25) + i << 0) ^ (_ = ((_ += (i ^ (t = ((t += (_ ^ e & (i ^ _)) + a[13] - 40341101) << 12 | t >>> 20) + e << 0) & (e ^ i)) + a[14] - 1502002290) << 17 | _ >>> 15) + t << 0) & (t ^ e)) + a[15] + 1236535329) << 22 | i >>> 10) + _ << 0, i = ((i += ((t = ((t += (i ^ _ & ((e = ((e += (_ ^ t & (i ^ _)) + a[1] - 165796510) << 5 | e >>> 27) + i << 0) ^ i)) + a[6] - 1069501632) << 9 | t >>> 23) + e << 0) ^ e & ((_ = ((_ += (e ^ i & (t ^ e)) + a[11] + 643717713) << 14 | _ >>> 18) + t << 0) ^ t)) + a[0] - 373897302) << 20 | i >>> 12) + _ << 0, i = ((i += ((t = ((t += (i ^ _ & ((e = ((e += (_ ^ t & (i ^ _)) + a[5] - 701558691) << 5 | e >>> 27) + i << 0) ^ i)) + a[10] + 38016083) << 9 | t >>> 23) + e << 0) ^ e & ((_ = ((_ += (e ^ i & (t ^ e)) + a[15] - 660478335) << 14 | _ >>> 18) + t << 0) ^ t)) + a[4] - 405537848) << 20 | i >>> 12) + _ << 0, i = ((i += ((t = ((t += (i ^ _ & ((e = ((e += (_ ^ t & (i ^ _)) + a[9] + 568446438) << 5 | e >>> 27) + i << 0) ^ i)) + a[14] - 1019803690) << 9 | t >>> 23) + e << 0) ^ e & ((_ = ((_ += (e ^ i & (t ^ e)) + a[3] - 187363961) << 14 | _ >>> 18) + t << 0) ^ t)) + a[8] + 1163531501) << 20 | i >>> 12) + _ << 0, i = ((i += ((t = ((t += (i ^ _ & ((e = ((e += (_ ^ t & (i ^ _)) + a[13] - 1444681467) << 5 | e >>> 27) + i << 0) ^ i)) + a[2] - 51403784) << 9 | t >>> 23) + e << 0) ^ e & ((_ = ((_ += (e ^ i & (t ^ e)) + a[7] + 1735328473) << 14 | _ >>> 18) + t << 0) ^ t)) + a[12] - 1926607734) << 20 | i >>> 12) + _ << 0, i = ((i += ((x = (t = ((t += ((r = i ^ _) ^ (e = ((e += (r ^ t) + a[5] - 378558) << 4 | e >>> 28) + i << 0)) + a[8] - 2022574463) << 11 | t >>> 21) + e << 0) ^ e) ^ (_ = ((_ += (x ^ i) + a[11] + 1839030562) << 16 | _ >>> 16) + t << 0)) + a[14] - 35309556) << 23 | i >>> 9) + _ << 0, i = ((i += ((x = (t = ((t += ((r = i ^ _) ^ (e = ((e += (r ^ t) + a[1] - 1530992060) << 4 | e >>> 28) + i << 0)) + a[4] + 1272893353) << 11 | t >>> 21) + e << 0) ^ e) ^ (_ = ((_ += (x ^ i) + a[7] - 155497632) << 16 | _ >>> 16) + t << 0)) + a[10] - 1094730640) << 23 | i >>> 9) + _ << 0, i = ((i += ((x = (t = ((t += ((r = i ^ _) ^ (e = ((e += (r ^ t) + a[13] + 681279174) << 4 | e >>> 28) + i << 0)) + a[0] - 358537222) << 11 | t >>> 21) + e << 0) ^ e) ^ (_ = ((_ += (x ^ i) + a[3] - 722521979) << 16 | _ >>> 16) + t << 0)) + a[6] + 76029189) << 23 | i >>> 9) + _ << 0, i = ((i += ((x = (t = ((t += ((r = i ^ _) ^ (e = ((e += (r ^ t) + a[9] - 640364487) << 4 | e >>> 28) + i << 0)) + a[12] - 421815835) << 11 | t >>> 21) + e << 0) ^ e) ^ (_ = ((_ += (x ^ i) + a[15] + 530742520) << 16 | _ >>> 16) + t << 0)) + a[2] - 995338651) << 23 | i >>> 9) + _ << 0, i = ((i += ((t = ((t += (i ^ ((e = ((e += (_ ^ (i | ~t)) + a[0] - 198630844) << 6 | e >>> 26) + i << 0) | ~_)) + a[7] + 1126891415) << 10 | t >>> 22) + e << 0) ^ ((_ = ((_ += (e ^ (t | ~i)) + a[14] - 1416354905) << 15 | _ >>> 17) + t << 0) | ~e)) + a[5] - 57434055) << 21 | i >>> 11) + _ << 0, i = ((i += ((t = ((t += (i ^ ((e = ((e += (_ ^ (i | ~t)) + a[12] + 1700485571) << 6 | e >>> 26) + i << 0) | ~_)) + a[3] - 1894986606) << 10 | t >>> 22) + e << 0) ^ ((_ = ((_ += (e ^ (t | ~i)) + a[10] - 1051523) << 15 | _ >>> 17) + t << 0) | ~e)) + a[1] - 2054922799) << 21 | i >>> 11) + _ << 0, i = ((i += ((t = ((t += (i ^ ((e = ((e += (_ ^ (i | ~t)) + a[8] + 1873313359) << 6 | e >>> 26) + i << 0) | ~_)) + a[15] - 30611744) << 10 | t >>> 22) + e << 0) ^ ((_ = ((_ += (e ^ (t | ~i)) + a[6] - 1560198380) << 15 | _ >>> 17) + t << 0) | ~e)) + a[13] + 1309151649) << 21 | i >>> 11) + _ << 0, i = ((i += ((t = ((t += (i ^ ((e = ((e += (_ ^ (i | ~t)) + a[4] - 145523070) << 6 | e >>> 26) + i << 0) | ~_)) + a[11] - 1120210379) << 10 | t >>> 22) + e << 0) ^ ((_ = ((_ += (e ^ (t | ~i)) + a[2] + 718787259) << 15 | _ >>> 17) + t << 0) | ~e)) + a[9] - 343485551) << 21 | i >>> 11) + _ << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = i - 271733879 << 0, this.h2 = _ - 1732584194 << 0, this.h3 = t + 271733878 << 0, this.first = false) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + i << 0, this.h2 = this.h2 + _ << 0, this.h3 = this.h3 + t << 0); + }, _0x3863a8.prototype.hex = function () { + this[_0x1bd91a(491)](); + let e = this.h0, + _ = this.h1, + t = this.h2, + r = this.h3; + return _0x127529[e >> 4 & 15] + _0x127529[15 & e] + _0x127529[e >> 12 & 15] + _0x127529[e >> 8 & 15] + _0x127529[e >> 20 & 15] + _0x127529[e >> 16 & 15] + _0x127529[e >> 28 & 15] + _0x127529[e >> 24 & 15] + _0x127529[_ >> 4 & 15] + _0x127529[15 & _] + _0x127529[_ >> 12 & 15] + _0x127529[_ >> 8 & 15] + _0x127529[_ >> 20 & 15] + _0x127529[_ >> 16 & 15] + _0x127529[_ >> 28 & 15] + _0x127529[_ >> 24 & 15] + _0x127529[t >> 4 & 15] + _0x127529[15 & t] + _0x127529[t >> 12 & 15] + _0x127529[t >> 8 & 15] + _0x127529[t >> 20 & 15] + _0x127529[t >> 16 & 15] + _0x127529[t >> 28 & 15] + _0x127529[t >> 24 & 15] + _0x127529[r >> 4 & 15] + _0x127529[15 & r] + _0x127529[r >> 12 & 15] + _0x127529[r >> 8 & 15] + _0x127529[r >> 20 & 15] + _0x127529[r >> 16 & 15] + _0x127529[r >> 28 & 15] + _0x127529[r >> 24 & 15]; + }, _0x3863a8[_0x1bd91a(431)][_0x1bd91a(438)] = _0x3863a8[_0x1bd91a(431)][_0x1bd91a(469)], _0x3863a8[_0x1bd91a(431)][_0x1bd91a(475)] = function () { + this[_0x1bd91a(491)](); + let e = this.h0, + _ = this.h1, + t = this.h2, + r = this.h3; + return [255 & e, e >> 8 & 255, e >> 16 & 255, e >> 24 & 255, 255 & _, _ >> 8 & 255, _ >> 16 & 255, _ >> 24 & 255, 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & r, r >> 8 & 255, r >> 16 & 255, r >> 24 & 255]; + }, _0x3863a8[_0x1bd91a(431)][_0x1bd91a(477)] = _0x3863a8[_0x1bd91a(431)][_0x1bd91a(475)], _0x3863a8[_0x1bd91a(431)][_0x1bd91a(479)] = function () { + this[_0x1bd91a(491)](); + let e = new ArrayBuffer(16), + _ = new Uint32Array(e); + return _[0] = this.h0, _[1] = this.h1, _[2] = this.h2, _[3] = this.h3, e; + }, _0x3863a8[_0x1bd91a(431)][_0x1bd91a(445)] = _0x3863a8[_0x1bd91a(431)].arrayBuffer, _0x3863a8[_0x1bd91a(431)][_0x1bd91a(503)] = function () { + for (var e, _, t, r = "", x = this.array(), a = 0; a < 15;) e = x[a++], _ = x[a++], t = x[a++], r += _0x1b74c2[e >>> 2] + _0x1b74c2[63 & (e << 4 | _ >>> 4)] + _0x1b74c2[63 & (_ << 2 | t >>> 6)] + _0x1b74c2[63 & t]; + return e = x[a], r += _0x1b74c2[e >>> 2] + _0x1b74c2[e << 4 & 63] + "=="; + }; + let _0x336e66 = _0x406f6d(); + _0x5e24df ? _0x2d8688[_0x1bd91a(451)] = _0x336e66 : _0x249827[_0x1bd91a(496)] = _0x336e66; }(); - var l = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], - y = i[r(350)] = n[r(422)]({ - _doReset: function () { - var t = r; - if (!this[t(312)] || this[t(357)] !== this[t(452)]) { - for (var e = this[t(357)] = this[t(452)], n = e[t(283)], i = e[t(394)] / 4, a = 4 * ((this._nRounds = i + 6) + 1), s = this[t(420)] = [], c = 0; c < a; c++) c < i ? s[c] = n[c] : (y = s[c - 1], c % i ? i > 6 && c % i == 4 && (y = o[y >>> 24] << 24 | o[y >>> 16 & 255] << 16 | o[y >>> 8 & 255] << 8 | o[255 & y]) : (y = o[(y = y << 8 | y >>> 24) >>> 24] << 24 | o[y >>> 16 & 255] << 16 | o[y >>> 8 & 255] << 8 | o[255 & y], y ^= l[c / i | 0] << 24), s[c] = s[c - i] ^ y); - for (var u = this[t(358)] = [], f = 0; f < a; f++) { - if (c = a - f, f % 4) var y = s[c];else y = s[c - 4]; - u[f] = f < 4 || c <= 4 ? y : h[o[y >>> 24]] ^ p[o[y >>> 16 & 255]] ^ v[o[y >>> 8 & 255]] ^ d[o[255 & y]]; - } - } - }, - encryptBlock: function (t, e) { - var n = r; - this._doCryptBlock(t, e, this[n(420)], s, c, u, f, o); - }, - decryptBlock: function (t, e) { - var n = r, - i = t[e + 1]; - t[e + 1] = t[e + 3], t[e + 3] = i, this[n(370)](t, e, this[n(358)], h, p, v, d, a), i = t[e + 1], t[e + 1] = t[e + 3], t[e + 3] = i; - }, - _doCryptBlock: function (t, e, n, i, o, a, s, c) { - for (var u = this[r(312)], f = t[e] ^ n[0], h = t[e + 1] ^ n[1], p = t[e + 2] ^ n[2], v = t[e + 3] ^ n[3], d = 4, l = 1; l < u; l++) { - var y = i[f >>> 24] ^ o[h >>> 16 & 255] ^ a[p >>> 8 & 255] ^ s[255 & v] ^ n[d++], - _ = i[h >>> 24] ^ o[p >>> 16 & 255] ^ a[v >>> 8 & 255] ^ s[255 & f] ^ n[d++], - g = i[p >>> 24] ^ o[v >>> 16 & 255] ^ a[f >>> 8 & 255] ^ s[255 & h] ^ n[d++], - w = i[v >>> 24] ^ o[f >>> 16 & 255] ^ a[h >>> 8 & 255] ^ s[255 & p] ^ n[d++]; - f = y, h = _, p = g, v = w; - } - y = (c[f >>> 24] << 24 | c[h >>> 16 & 255] << 16 | c[p >>> 8 & 255] << 8 | c[255 & v]) ^ n[d++], _ = (c[h >>> 24] << 24 | c[p >>> 16 & 255] << 16 | c[v >>> 8 & 255] << 8 | c[255 & f]) ^ n[d++], g = (c[p >>> 24] << 24 | c[v >>> 16 & 255] << 16 | c[f >>> 8 & 255] << 8 | c[255 & h]) ^ n[d++], w = (c[v >>> 24] << 24 | c[f >>> 16 & 255] << 16 | c[h >>> 8 & 255] << 8 | c[255 & p]) ^ n[d++], t[e] = y, t[e + 1] = _, t[e + 2] = g, t[e + 3] = w; - }, - keySize: 8 - }); - e.AES = n[r(347)](y); - }(), M[R(350)]); - var D, - H = i(k[e(323)]), - F = { - exports: {} - }; - F.exports = h()[(D = t)(287)][D(409)]; - var I, - T, - K = i(F[e(323)]), - P = { - exports: {} - }; - P[t(323)] = (I = h(), A(), I[(T = t)(315)][T(334)]); - var q = i(P[e(323)]); - function j(r) { - var t = e; - switch (r) { - case t(368): - return [t(416), "auQg", t(458), t(330), t(395), t(361), "7bRF", t(454)][t(319)](""); + }); + function _0x25920c(e) { + let _ = _0x49e9df; + switch (e) { + case _(461): + return [_(434), _(481), _(427), _(462), "v65Q", "bfCL", "7bRF", _(474)].join(""); case "commonweb": - return [t(356), t(450), t(286), t(314), t(413), "GxY4", t(335), t(325)][t(319)](""); - case t(414): - return [t(341), t(403), t(396), t(376), t(359), "orJu", "HaoK", "an"][t(319)](""); + return [_(478), "Rbku", _(460), _(435), _(490), _(446), "pZxL", _(488)][_(440)](""); + case "anti-leech-vr": + return [_(430), "aNet", _(443), _(449), _(465), "orJu", "HaoK", "an"][_(440)](""); default: return ""; } } - var N = new m(j); - function U(r, t) { - return N[e(296)](r, t); + function _0x47e337(e, _) { + let t = _0x49e9df; + if (!e || typeof e === t(493) && !Object[t(447)](e)[t(450)]) return ""; + if (null == _ || !_[t(453)]) throw new Error("appKey is required"); + let r = _0x25920c(_[t(453)]); + if (!r) throw new Error(t(494)); + r = (!(null == _ || !_[t(498)]) ? _0x22518d : _0x2a6f2e)(e, r); + return _0x3c76ae.base64(r); } - return U[e(336)] = function (r, t, n) { - return undefined === n && (n = 15), N[e(336)](r, t, n); - }, U[e(442)] = function (r, t) { - return function (r, t) { - var n = e; - if (!t) throw new Error(n(353)); - if (!r) return ""; - var i = t[n(318)](0, 16), - o = H[n(439)](r, K.parse(t), { - iv: K[n(441)](i), - padding: q - }); - return o[n(288)] ? o[n(288)][n(378)](y) : ""; - }(r, j(t)); - }, U[e(305)] = function (r, t) { - return function (r, t) { - var n = e; - if (!t) throw new Error("appKey is required"); - if (!r) return ""; - var i = t[n(318)](0, 16); - return H[n(282)](r, K[n(441)](t), { - iv: K[n(441)](i), - padding: q - }).toString(K); - }(r, j(t)); - }, U; -}); -console.log(globalThis.jhkSign({ - "deviceId": "86100300000100100000fffe010501962ec0797b25d28c647f2e13db", - "mobile": "BGi5cbvGiwRy+s5I6m4h2Q==", - "accessToken": "1ae8IIAPF4413zcNhoXA3w0q62g9TkTEmooaMJmEgDD-GPDVfYJ4KKAae4MscHuRm6sx3umJol9qLPX-HnkbC2t5pADQLVE1n1T0VdYxutR6RRYKBv7Oy1m4UlPSR2MoK-v6Dd6B7DvwAE9AfMrmAOZFhYNwBNzNgcwPojlfoDuzA9C2rVmB5Kg-zACicGuoLOPEcmoEUb", - "appPackageName": "com.hisense.miniapp-aiot", - "appVersionName": "-1", - "appVersionCode": "-1", - "license": "1015", - "appVersion": "m_p.16.000", - "deviceExt": "microsoft", - "userType": "1", - "userId": "128135060", - "taskId": "202" -}, { - appKey: 'commonweb', - postAndJSON: true -})); \ No newline at end of file + function _0x2a6f2e(r, e) { + let _, + x = _0x49e9df; + return (typeof r === x(442) ? r : ((_ = Object[x(447)](r)[x(504)](function (e) { + let _ = x, + t = r[e]; + return "" === t || null == t ? "" : (typeof t === _(493) && (t = JSON[_(468)](t)), ""[_(444)](e, "=").concat(t)); + }).filter(function (e) { + return "" !== e; + }))[x(424)](function (e, _) { + return _ < e ? 1 : -1; + }), _[x(440)]("&"))).concat(e); + } + function _0x22518d(e, _) { + var t = _0x49e9df, + e = typeof e === t(442) ? e : JSON.stringify(e); + return ""[t(444)](e)[t(444)](_); + } + return _0x47e337.addAntiLeech = function (e, _, t) { + let r = _0x49e9df; + if (undefined === t && (t = 15), !e) throw new Error(r(506)); + var x = _0x25920c(e); + if (!x) throw new Error(r(439)); + if (!_) throw new Error(r(505)); + var a = _, + e = a[r(497)](/http(s?)\:\/\/[^/]+/, ""), + _ = Math.floor(Date.now() / 1e3)[r(438)](16), + t = 60 * t, + x = "" + x + e + _ + t, + e = _0x3c76ae[r(469)](x), + x = -1 === a[r(448)]("?") ? "?" : "&"; + return a + (x += r(470) + e + r(500) + _ + "&keeptime=" + t); + }, _0x47e337; +}); \ No newline at end of file diff --git a/output.py b/output.py index 5e0a5e0..03b8f7b 100644 Binary files a/output.py and b/output.py differ