KR/jd_jjqdtx.js

11 lines
78 KiB
JavaScript
Raw Normal View History

2023-12-01 09:37:42 +08:00
/*
签到提现
cron "25 2,8,16 * * *" script-path=jd_qdtx.js, tag=签到提现
*/
const $ = new Env('签到提现');
2023-12-03 09:26:07 +08:00
var il='jsjiami.com.v7';const IIi1=iii1II;function Iii11l(){const iilll1=(function(){return[...[il,'RFhjfEhsIMXjOiaymtWibNM.FYcekoFbOmw.twv7==','zSkuva','WQ56nd/cGW','DHOiWQ0D','5yEu5O6Z5Aw46lw5na','selcUmkeWOu0W64','mKOrfdS','W4NdIJWDqYObCCkjlXKcWQaEdfldNM9KdhpcICkAcXGFyqq8t2uCW73cTCouWOVdRmkwW43cLYfRWOLeWOi5W4ldQG0SEdKsWO1hxmk7AMNdTdFdIdNdN8o3W6KDw8kaW7m6eCkMW6GUcM/cH8kkyg1LW4iPWPyezmkVW69Rqq4rySkpWRz+BwtcJ8ozWQnoWObZdxWAbSoep1ehW7zvWP0JWOitW5NdGCkNmSoPqKtcKsKTW5pdNSovEWf+wmoFWOC9hGhdTmkrs2CTEt4phXJcGSosW7/dTSkOWRy9k8omW5pdUSovWPpcVmoQxvrmW7RcPh3cHSkKpG8','WQNdHCoQbCkhWP0Erf4','W7BdHXWDxW','WQanzmoKWPK','W6FcQ8ofiYnPWRfnW4hdVv/cISolW59gqW','W63dHZfBAa','5P6G6i+b5y+J5yUV5Psx5O6bh+ISMUMgHUAvL+I+IUIING','tmovALVdICklW5/cV8kibSosl8oKW6/dRSocWPhcOmoMW5bzgJanEG','iEITVoMhV+AuL+EyGow9GoInR+wpJ0JcS8o8WOhcMr8QdvRdJSkfW4FcUmkIFmkBWRFcICoBp8oPBmkgW7zOnmoRbSoxxmksW43dR8k6qmkMpmoSBZuwWOKdW50','WPldVgz1dW','uSk1zSkmW7W','fgBcRIL3','f2yQiY8','WPLEpSkB','AmoDWPFdGCo5','WO8ramkHsL7dGXSOwmoLWR7cJSkaW6W','W7hcJmkJiMS','ugNcGwFdQSkGmCkZWOiEhIO','WPXHkqVcIq','W6tcOCkTi2G','5yw15O+d5AsV6lsoWPy','WRNdNSo8cq','W6JcNSo5W4m','yLBdQgddQG','W5dcN8kUg0C','WRpdKfiKWPG','5AYk5OUz5lMD5yUM5Aw36lsQWQ0','WQDrmCoF','ECojmmoeWQK','y0ZcR0j6','W7/cT8oew8oL','W5TBW5RcLaX1zCoGW6FcQGaWh8kUrSkkWRdcGSohjfVdPvutW7e','WQRdJe4IWRxcSmoUmb4/WP/dVK7dNhhdR8kBng/cVHrxWRSRo8osdX3cTNRcUYVdSG','W67cJ8klo0TwB3L3','W4RdImotWOldVG','y8o4WP/dOSoh','W5RdRbbVzq','5AY/5OI/5lMv5yMf5Awo6lwQzG','WPpcISkRW5dcVW','WRVdGCoOamkm','W5H3W6/cRJK','W6NcHCo9vCoB','W5pdOSoXWRNdLSkVW6BdQmojtCon','W5jkW6hcRYy','rSkuWQeGq0q','u8kkFHrnsW','6l2D5yAS6AsW6AcY5Aw36lsQWQ0','jgeIWRtcRq','WPLczSoLlmo4','WPzunmkzBSo4','WQzsnSoFtge','EmopW55ybXNdLSkptGHzWQddNs4b','WQRdKmoQh8km','W4VcO8oslW4','BmoeWQi','W6pdJc5KDSkd','W5BdOUwNT+I1Smk6B+wnPEwAPmoDzW','aeSzmqW','W4VcSSobqW','WPmmgCk0Dq3cGv00pCoWWQdcHSkBW650W70WnSkTWP84smoMW7RdQZDyWRSgWQtcKW14W6q2WPbZwhy1WQKoWOu7n8kCW4qeymoguKpdIHldJhDSW6pcOmoKW4RdJe3cKCk0WO0VkSkvWPpdK03cTWzsW7Sbl8kTW6ldKSkqWQ7dGSoNxCkoW4tdU03dO2tdM8oIa8kyqCkroI/dISk1W4SoWQxcQu7cKCkZgSkujW3cLg7cH1ldI3f6W6zhW7acWRBcQXebW5NdNZi4c0nWemkMW6tdMSovWOzmWP7dGmorWOVcTKvOdW8pW69kW4HSWPpcJIv5aSkPW4KBACoBbxFdSK9XfSoOgtu','FSohW51zjb0','gmoCiSkVjq','zCklWQnUwa','WOZdTMZcRSkl','W6RcPSobaJr9','5lU85lIu6lw55y6x','zCk0xCkcW48','AColw0hdGa','qCotBgBdICow','W4BdGxtdPXvF','WOb5jINcSG','p2eZWPa','WPVcJ8kUW5G','oCoeW6CJaW','W7VdSH8lW7SSb0XfWR88WOnSp8kNW77cSg/dTeJdTs9bcCoM','W4HWWQ3dHN4','hZBcV2ldMSkKeSkXWPGpwsqX','WP7dShZcT8kGyhtcT8ozquW6WOG+WRNdHmk8WR/dGNdcGSoOvCoAWR8','WRXtmSk8Cq','WOekcCkTxG','W7xcSdSVFq','W7GQWQpdMcW','W6dcKmoQ','WOddO8oHoCk+','mNX0gSoaWPhdSI9dbWZdPa','wmo/qmoofxi','W53cPgigWQe','W6RcPSob','W5VdOMFdRZa','WPyicSksuG','WRv7mSkQFa','W4tdJdOGq3C','t8kjWRq','W6hdRSojWOldMa','yCogWQRdKSoTCa','oCojWOG9WQO','W7JcGf8aWRa','nMmVWQhcKG','c8oXWOiNWRO5cSkxW5XBwCo5qa','W4ldKhldGXbrCw7dHrOJWP0GWPbyW7VcUeldMW','WQBcTLjoWRG','6l2u5yEm6AEw6Ag25AsZ6lEoW5y','r8oUxmoad30','W4lcO8oqkYa','WR1PuCoAoW','umkryc1BxG','WRCRDmotWRG','W4RdSmoL','WPvvrmokgG','6AcH5y2v5lM55yMZ5AEe5yMX5AAd6lAKWOG','W4VdRmoL','sCoaAKJdKG','zczU','zgRcShtdL8kQemk/','phRcUH9x','W7OaDSktjq','BSkAr8k7','zqmjDCkQ','WOxdMM4iWQ0','WPWDdmk2','WP0ipSkaua','WQXclSo3xhi','dCk1yYnxqmkWWPyEWQCuW5P8imo+W7bqW4FcRwBdI2OYWRTuW6/dMcRcUCoyefFdNv3cJWlcTCkWiuXDbxOTrMpdGmk6jCkICZBdPhRcG8k3hSk4l0TqW792nmkrrCk5CSoJW5FcJXf2W7NcNSo5W4FcUIhdNfVdJHibWQRdJ8kAW6pcTLxdUmoutNCIW6e2zNtcRevdWQ4WrComk8kIf8oMW77dKvSob8kzW7BcNWCejxFcT8oYWOdcHMm','WQ7dJKWdWQ/cTa','xxBcSG','WQtdIxydWRG','W47cNZ0KCG','ECo+fSo5WR7dLSow','W47dTCoZySkJD8oobSkUjgTgfa','eCofaSk/mq','W6tcI8o5W5lcGx7cIrRdGCkppdH/a8kZW73cS8oOWQ9nnmoIW6jIia','WQPwmrRcNSobFu3dVCkgW50ljSkeWO1Qn1yX','WQucw8ocWOu','hMJcICk3','5ysW5O+g5OMG5yMtEa','bwJdT2xdNWHJ','sw/cPuK','e8o/WPy','WORcOCkiW7lcGq','W4JcIK0GWQ4','BvNdTfhdQG','CtqJWOeqhXO9','W6RcG8k8kKzzz3fPW6y','eh1gnCoX','tSoVg8omWQW','dColfW','rCkxFI0','W7hdJayEW4q','WPTbkSksC8oZDqOeE8o5WORdM3vhW7bHW6/dJa4rW4ddS8oSrqhcT8kXqCkoW6v+BW','zeRdQfZdQW','sGmUWPeu','WOZcIWO','r8oTmSo7WRO','W6NcJCo/W6/cGsm','W77cNSoJW4BcNsK','WQPgomkmAa','W4ldSCoWWP/dOCkN','WOjvi8k2BW','W5FcSSov',
2023-12-01 09:37:42 +08:00
// prettier-ignore
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.d