forked from jipinwz/wishing-jd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjd_jump_jump.js
45 lines (42 loc) · 59.5 KB
/
jd_jump_jump.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
母婴-跳一跳
活动入口: 首页-母婴馆-跳一跳
新手写脚本,难免有bug,能用且用。
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
[task_local]
#母婴-跳一跳
5 8,14,20 17-25 3 * https://raw.githubusercontent.com/i-chenzhe/qx/main/z_mother_jump.js, tag=母婴-跳一跳, enabled=true
================Loon==============
[Script]
cron "5 8,14,20 17-25 3 *" script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_mother_jump.js,tag=母婴-跳一跳
===============Surge=================
母婴-跳一跳 = type=cron,cronexp="5 8,14,20 17-25 3 *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_mother_jump.js
============小火箭=========
母婴-跳一跳 = type=cron,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_mother_jump.js, cronexpr="5 8,14,20 17-25 3 *", timeout=3600, enable=true
*/
const $ = new Env('母婴跳一跳');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
const path = $.isNode() ? require('path') : '';
let cookiesArr = [], cookie = '', message = '';
let helpAuthor = true;//为作者助力的开关
const ACT_API = 'https://sendbeans.jd.com/jump/';
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => { };
} else {
let cookiesData = $.getdata('CookiesJD') || "[]";
cookiesData = JSON.parse(cookiesData);
cookiesArr = cookiesData.map(item => item.cookie);
cookiesArr.reverse();
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
cookiesArr.reverse();
cookiesArr = cookiesArr.filter(item => !!item);
}
var _0xodh='jsjiami.com.v6',_0x5454=[_0xodh,'w4l3YjICKg==','5b+d5bu6772O','w7hJw61RcH5dfcOR','dcKawr1KCg==','wqYOwpHDokQ=','RsOYwp9BwqzCoGvCo1s=','aFd+w5rDkg==','e8OkE8Orwqk=','5pCs5Yi05Lmd','wrvCoyDDtA==','LFUYwoTDucKQVcKFbQ==','54OywrXlvY3li67moK3mlY4=','HcKDwpvCjg==','EsKPRsKjEVTCqQU=','YsKJwqZdJsKiFHE=','bsO5w6JGUw==','BcOZwp/ClTo=','VcKvw7LCsXo=','w7PDrysNfcOK','dMK+U8OBw7g=','w4ZSwqlQRg==','KMKBVSJi','Q3Jhw4jDiA==','DsK3VnfDqw==','w71zwp1AaQ==','SMOGw41GbA==','woIbwo3CnsKr','S2NBw5DDlw==','CnBYOsKj','HMKBSw==','YcKUwptYHMKn','w4slwp7DrsOPwqNIw61g','NsOoGMKYwpg=','CMKBw5gfBg==','IsKAw5XClhg=','wrk3wpbCpMKb','KkA4BRTCt3g=','wqFzbsKUw4w=','5p6n6L6x6L+f6KO86Iyo5b2D5Liu5Lq+5aee5YiQ772wwqc=','FcKFUjU=','D8OGwrM=','w6jkurDosrXCsw==','w5t1wqRUWw==','GD/DhMK1wpA=','w4NAwr9TT8KLw4xxNQ==','UMOewp9HwrDChG3CoUc=','wroiwprDkFA=','wpofRSnCjQ==','wrg5TyfCtcObw49Wwos=','w6zDtS8rasOLwrY=','wooLwoU=','5ous6KGx5Lmk5YqZ5oiO5YqG','PmUfLzo=','LcOwPDYH','PVo1Aw==','wrrCsCbDuhJ6w6/DgMKc','5oui6KO35Lim5Ym/','XxhsEsO+eQ4=','wo5FBD3ChA==','wo5uwrLDi8OE','wrEkWg==','wpLDuxrCrXcqwp4SwofDtkPCtQ==','woEswok=','5b2K5buK776e','LX02wpbDoA==','DFgJFz4=','acKUwqh8HcK+','w4zDpBwMRw==','IMOae8OTPF9nW3tX','wrArw4XDgFs=','Tnlpw5DDqw==','EkPCjMOrwqA=','w6ohJMOQDA==','b8OowqJFwpg=','LUZwG8KZ','wphaFcOgZg==','TcOZJQ==','TcKqw5nCtUw=','QMKPEsO8wrc=','w45Lw7dabA==','NcKVT0LDuiLCvHF/YcOiOmTCpRVlCsOlw7xEwrbDomjDmALCqwnDrMKXwq9swpbDsw==','wrgXwp3Dkns=','wqIFwrLDsE0=','A8Ksc2LDnA==','LMOoL8KU','OcOQf8OHU1JkUWZ+w5LDnMKA','B8KIw5Q5OwhEBwx/','5b+R5bmJ77+o','d251w7LDjRtcK2Q=','WsOdI8OMwqY=','PcKBXnnDkg==','FhfDngAY','E8KXwoLCnxg+K8KIwqTCv8OlWiQfwpvDoxog','woLDug3CsEwJwp0O','wpfDnxPDrMKPw5zDizZxw61n','LMKTw7DCgQ==','TH9wAcK4JMKtw5Nzw6bDpg==','DHVyEsKBwpRrUcOaXUPDlsOfAgPDpkQK','wpDDixXDvw==','w6/DjsKwwq5Jw4rCjMOhwpnDhcKfWkTCjjjCqMO+w5I=','w5ITasOCw5bCusKtw5o=','woHDmQTDrMKjw5zDmR4=','w67Dr8KMJsOVCMO4wq/DocO9w7w=','wrHDqsOSw6U5','NMOpKMKMwoZ0ABHCicO0w5ZeYljCgA/DpmjCvW3CplE4w5PDnsKxwqkWw4jDiR3DtAnDvw==','w6TDlMKfwpFw','P8K4w6/CoxA=','GsOtHxI+','w6XCoSMcw6g=','w5FEwr1WSMKPw4RjJcK9MsOvwqpKZMOHLSIqNcKgw4YqfG54OsKbw4cXKS9t','wq92e8KFw49RbMOVEhkhw6Ulw7NbccOPBcOrGcKCw4FBGcK2w6BPwofCpcKPw6ENw5PCqMOawrHCsFbDni/Ckx/DiSnCpBPDnllADQleYcOLDMKKTsK5acK7w6fDqWwKw5cTW8KvwppCw4DCtHnDmiXCiyQQw4B/wqpTBzLChsOCwqTCmMOhX0fDgMO/BMKmwrw6TMOYQ8Kbwq54wqrDusKNVXtDwqdaAn8NwrJjdmbCkcKiccOKwqtdc3YOw7JTEsOuw5rCtS3DsMKOw5cIIMO8ZsOmwoEXe2vCnMK4fMKkw7LDocK8PcO2VWDDi8KrwrXCkcO/NsOyw5x4wrjCgcO5NcKVDjUAw7nCssOLc3LDu1XCjMO0XXBBIARCwqPCsHbCvsKsw5fDrcO5w6LCpnbDlMKxwpsNZcKsaUgBw63CvMOfw7l6w6YAw7RICFoTw6PChmbCvMOafCrCncKpw5XDikd7dynDvcKCw5zDhcOxw5Q4wr/DumLClsKgTipewrRdOsKlwp5Gw7bCvTnCgcKnw47DhsOiPcO8OX1jVywjwrgnP8Osw5fCn33CncOFVcO1woJiw4rDqiNl','wq1Kw75BIykSd8OGw7RbAsKpH8Kvw6DDvDfDpMKlw5zDi8OLwpnCqcKAwrnDhXHDgg==','wqDDvDvCp0M=','HcKRUTNdw4TDqGrDk27CpsO8w7IGZ2J7w6MZIsKnQcKew4XDhirCksOnwo1iUFLCrcK6D8O2HQ0Bw6PDgMOCwr3Cnh3Cqw==','cE3Dp8KEwpPDhsKIwo7CisOlHMKEWQdCZkbCi8KvWcKTFWrCnDBjwphQPMODAX59w4jCrsOKDcKywosnw5PDhMO/wptH','KVooEg==','HMK5w4Uj','wr8ewpU=','w4fCpjwLw47DrzEwfMOcw5XDlA==','Q8K2SMOew4c=','U8KzCMODwpE=','5p2r6L+V6LyL6KO26I2Z5b+65Lm55LqT5aSw5Yu1772ewqk=','C8OrwrvCpAM=','F8KDwoLCig==','w4ASXA==','WeS5juiyqcOl','w5t3w5dLWQ==','wrImwoHDpHQ=','CMOcGT0ywrTDrsO1O8K0RU0neBck','QcKEecOfw4bClkrDm8OleXDCq0kcMhQ=','wohLCMOXVMKEwpzDs1zDjSfDlMOKwp/ChMONQn7Cj0zDhMKhw6/Cug==','w4wFasOAwrLCtcKnw5zDvsOE','DMKPw4EgPVpZLi10w7/DmiPCvQ0wC8KrwoQTwqZpw5jDm3UVw5jCsmwPB2XCosKPw5HDsMKfwpxqXMKgwobDjmwKw706cMO4NcOJwqF9Dl4hw5A7QcOow5d6UxDDtMKLw5BUw7HDuUPCpwDDgBVxw4bDgcKFNcKHwppmfUl+w7QYBTUiwrpyw7/DuMOBwpdxw5TDtsOswpNaEsK8G8Kaw6wHwrZ+wojCrMKWCcO6w4NTO8OYfsK5HsOLWW7DncOUwqdJw54YwoPDriDDjT1cwprCqsKIO3dkaMKPCcKUw54bw4/ChWxWX8K/ISVOUw7DoBU0HMO8HcKubWcNLcKDw7slw7M9DHsUwpLCk2d+wog3dcOJaMOUFsKNPEV+wrVGPWVawpzDicOnwrtGcTHCjcKJw7Enw67DgDMkwoE5FMOpwoLDuMOELR7DksKDw414wphmw5jCs8OSUMOVTCl9UVPDg8KBw5rCriBoNC3DjXE+wphCFW9SGiHDpmUbwonCsxNEAmrDlMOJCcK0w5zDs8K7wokQB2/DlCTDghfCt8OmUFHDoRDCv0h4aSzCpsOtHsOeUj9mEiPDmwknFCfCiU4KwqApakPDsGZcesKtLsKCC8ObOcOowoV0wovCjCQYfCjCq8O8wqXCpsKAezg1McK2wp9Gw7Yvw4hVwpfCk3R/U8KILF3DlcKkPGJewpvDiFDDgsKLZmRMA8KCwoHCrsKaw7XDtcKuDsOtw6oYw5TDgcKTwrs3HXfCucOgwrl3UXM=','UMOUfMOcwq0=','wrrDoATCpk0=','PFY1wo/DsA==','w4fDsy0MTA==','w7vDsy0gWA==','w7XCkx8Fw64=','wozDlMOQw6c5cRENw67DgAzCp2dlw6YPMMKpAm3CoMKEwqHDkkMAAHjCsMKlICJOYsOrwqLDpMONW8OrwpPCrcKYI8KFEU0Uw57Do3FGw6g2wrZVBMKmWMK0wporworDlsK7GMKXMDnCrnZMFMKZJ8OHwr5wMsKcw4sYGnTCjB8=','wpNaEsODRcObw5LCslzChiPDlMKGwpnCisOO','wq53f8KFwpILacOsDBM=','VcKDwr7CpnU=','PMKRS17DoHvDsipla8OicX7DrQN8DsOmw7BPw6rDrCrDgF/CowXDscKAw698wpLDpR3CjMOZw5DDlFEOw58QworCksOhZsKxw7DCrCvDtcOlwprDkcO0BWAmZWXCjH5DEMO2HBszwoclwr3CgMK3w7wBRsKVccKFLRPDo3PCrxbCgg==','wqsgwpzDikPDlMKLwpPDhcKr','EsO2DMKbwq8=','PcKHRMKWIQ==','EcOdFikgw6rDpsOLIMO1QUwyIlZ9ekYPNsOBNG45UiREVcOkw4vCnno1wpzCjMO7w67DtcKYAcKxw4QWI2wrwogPwpDCgR/DmcKKTMK6w4DCqEfDs8KOwpp7wrDCtMOtKFM/wqHDt1w4w4c5SFDDpcKIey7Dp8OBwonDkMKOw79Tw4nDssK8Vg7CtcK3NcKEwrTCp8Omwo7Dk8Otw4LCusKCHmXDtinCnMOTJG3CgMKIaCbDrB4rwoTChBPDmsKKwrkZEWAkw6LDoMK1Q8OjJiTCmMOiwo4ScwFjJklIaxMRw4ZvwoVewqsvP2QnNcKlFMOcwqvDqcKRwrHCgMOTw6I7aHvDoMOdS8O5UcKvJV9Fwr9wSXFZw6HCkjjCgsOCw4fDvjbCsUnDkm3CncOlwrjCn0sDwpfChAHCjMOcw5DDiMO5woPCsQPDt8K3w4xcwqTCjgDDmWIDXD3CgMK/IMKPNMKJwq9gw4HDjcKAdsKTEyRAwqnDscO7bsOlQsOLw61tw6PDjVDDsUTDiwHDtgN4RsKNw6ZNw5bDoSENw5XDjsKfe8OJw5x9w5J9wroOW1J8LVvClsKlw6VOw7nCscOGwp0Rd3vCgiPCpcOdwrEMMhXDuxrCpkHCq8OgDFAnw5jDqlPCuMKmGyvCgsO+K8KmN3sRw5XDl8KTw4cFRUTDvFHCucOPwrPDm3Q6BsO8w5lTahjDiMKdEG9Qw6nDr8O8MsKiwpjCpMK6wps+w7cFwoIQMjNVK0bCp8K2PcKPw5k+w4tawrMBwqnChjzCiynDn8OZAMOWEXg=','wpk3wqPDsmw=','ZsKfRMOjw5U=','w7Nbwr1tYg==','YQ9pwpoT','EsOwf8Opcw==','TnpyH8K0KcK4w6Bow6DDrArCgGJYUhsnw7vCosOLY8KVLMKpZ3FaZcKCb1E=','w4AaZsOAwrPDtMKvw5DDrsONC8OZw7dVwpTDpMOj','QsOIJcOPwrAgfsKawpHDrcKKw6YYLMOfX8K7wojCp8K8w5vCmGDChHFjRMODw44lUG7DiT56GGMpwrrDicKddsKEwrZyw4VLG8OS','TnpyH8K0KcK4w6Bow6DDrArCkjxAS0B+w7jCtcONIcOINcK6YnoYJsOHJB5X','wppXUcOESQ==','wohJBwjDvj1BNsOaQg==','T8OSJw==','wqloPS3CgBl/AMOtYMOewpPDjw==','w65Tw6k=','IUDChMOvwr0ow47DhycDAcOtXg==','PlAvAhDCsGo=','L8KXw7DChDvCoMOQ','wqwgwrfDpg==','w5nDm8K6OsOj','U8OFwp5a','N1Q2Aw==','wr/DgRwB6K+45rO65ae06Laa776z6K+u5qCW5p6m572j6Lef6YaG6KyR','W8OGNMOwwqU=','w7QtAMOMIw==','XcKOw6fCpnQ/w68=','w6JOw5NXeXBa','wpbDixLDuw==','wr0YwpFrwo1AXMKh','w4MBe8ORw6w=','A8OvwqHCogTDpg==','5p276L2o6L6n6KCV6I+n5b2G5Lmq5LqQ5aSe5Yir77y1Iw==','S8KKw6fCpGg=','OHA6','w6nDu8KKNcOD','VsKVZcOGw4o=','eeS7rOizgk8=','w6jDi8KLBsOm','TWJaG8K7','GsOxO8Kqwp4=','5b+v5bm777+0','HMO+wr3CrB7DqcO3bA4=','5Lio5LmQ5p2/5Yie5Ziu6L6n5Zip56qc5pSu5o+T','w7xgfQUK','Q2VlNsKvOA==','5pC+5YuS5Lmp','54K9wqflv7zliZjmoJjmlKc=','wokiwprCsg==','R8KGYMOXw6HCgEY=','SHhrF8KUJMK/w7s=','RcOqw6J+SA==','Xgh7EsO0bhg=','cCluwr4Xw6t1a8OmZREiwpXCqsO8MsOjw4HDrQTDhMOhwrHCucKfw51Rw6tAAXEewpTCtMO8K8O8w4c=','FMKNRsOpNRTCpQ7Cr8OdcsOO','w6pNw69Ud3pVb8OBw7wIC8K9U8KswqrCrWnDq8KuwpPCgMKTwoLChMKNwq7DjnPCkMKzKsKa','woU3wprCo8Kaw7wOwqY1wooWH8KNw7QGw7fCuxbCqg==','YsKBwqZJQ8OsFnvCqg3CpcKkw6cjwr7Cu0c=','I1kewpHChMKeUMKCb1k=','GMKSwp/CgzA+PsKVwrvCucO/DAoJwoDDrF9swofDuizCkEBJdHzDnMOtKcKhIxEo','IsKWw6XCkCrDr8OYS0jDkVDCq8O0K8KjE2XCi8OyIsKzCELCqcKvXcOBOsOmwrVIF8KxJBJYwoHCkzpbVWI9w4PDtlx8FEHDs2jDtR8gFcKuU8OVVF/CnWTCmsO3w7Mhw4fDhcKdTjrDlsKZw67CmHRzVsORTsOOAMO6cxjDmSQYNMKvHDnDpzNfw7HCtcOtwq7CksOpRzQ4WDnDoDpnw7x5L316wpx4WMOjw4DClA3CrcOxw6FfEnBBwojCosOCwro8Y2wKS8KXwq7DtMOyOEVaYsKWwpvCunbCoMK+wpXDl1lQPMOVw5ogPXbCgygmw6phDMKQF8OLw7HDjcKnw4XCksKrTMKOUMKaPRnCpX9Pb8OCw5oOWQVqQMK/GELDpi17XCJMwoVXw5hhwqw5wqUMwq41asK/wo7DucKrJ8KJcMOaAmjDpsOKw5/CicOnJMOWRmHDtX9+H8KjGH4kwoQCEToowrfCqMKtwofDn3/Cli8WccKbWcKGE8KZw7gmwoxyHMOeHGxQw5XDuUMybnVKwoczJkvDt2HDhmtLwqwNwopTWg==','wp7DiMKJw7Qk','wohLCMOXVMKEwpzDs07DmCDCnsOaw4jCl8OCSH7ChkfCh8Otw6rCs2Npw7/CnHxLT2RPwqvCl8Ombg==','XG4dw5U5w7HCicKRwq/CqUUXwrswwrrDog==','w4PCpD4Iw5XDgTU3ZsOSw5zCngPDvcKPwps=','TMOEwoo=','wp/DvRzCsnZdw5ROwofDskrCtMOcw4BcwqIXw6cRJyVCWsKfwrTDmTNJC8Knw7/DsDRAW8KYZsOvw77Cg0tJw77DpR/DocKdw5ccwqkiaMOkwqnDjMOFLSpow6DDicOcTMKlZsOfNsKfwoQMwoDCh8KlFz8+OMKDwrTDnQ7DrRnDksKTw4c=','LcK2w5fCiRU=','44K35o6w56S144Kh6K2o5Yac6I285Y2j5Lik5Lq96LWM5Y2a5LqSGsObw6nDuh0JGeeYhOaNluS8keeXrBzCvx4lFxbnmJzkur3kuIbnr6zli5rojZzlj6M=','f8KTFsOrwpQhLMOLw7cKw5BJdcOQVnrCqsKxUx/DmjTCjxEbYMKiw73Donk6RMKxJ8KKIGTDvsKNwocLa8OC','DsOAHgAJ','w60lbcOFw5Q=','Jl8LwqPDsw==','UcOGwpxGwpM=','w6XCjD4gw4k=','w7hiwrRCQA==','D8OILw4X','McOuOw==','w6otH8Oa','V8K2RsOpw5k=','WcOrH8OywpA=','E8KQSyBawpfCqCvDuG/DusOxwqkfGXp2wq4fD8KzO8KPw4XDlWLDn8O7woB8A2DDocK/CcO6WhoLw6PDkMOkwrc=','BcKcXcK0PQ==','RR5DHsO8YxM=','QgRsGsOVaxBA','woQFwpHDgg==','BW3CuMORwoAMw7HDvQ==','w6HDv8KQM8OEDg==','wp1vwpbDi8OFwo7CmBw=','esOhwr1/wps=','JsOeasOAeQ==','wpnDixXDvcKC','fsKULsO0woBybQ==','wqZ1wpDDksOFwo7CmBw=','JMKdw6M=','w6oVVsKNDcKUwpnlv5zlp6Tjgrjku6Xkuqzoto7ljI0=','wp7DpwzCp30=','wogNwoHDjAZjwpBU','f8OPNMONwo17PMOQ','w57CgEvCtMOAwpjClVspwo4=','wolMMMOIQMOXw50=','TsKuCMOUwqs=','OcOJVsOxdg==','CAfDmsKgwq8=','JU8c','44Ow5o+v56WG44K2RMORw5zCt0bDjeW2u+WmgeaXoA==','5LuK5Lic6LS55Y6V','RmUXw5Qj','wrgwwovCocKnwqdMw6w=','w5forrzph7Dml7jnmrzlv43ojJflj6TDpAYcGcO3w4TDgxfCksKzXlLDoMOfw4YTwo0VwonCh8OjS8OwCVTCq8K6GMOuw4bDlk7Cn8OHZhPCvDLDoGQPwolJGQ==','wqzClRrDmDM=','bcOew6F6QDI=','wo3CmizDnSM=','w5HDgcKQwoZy','d8OIw4FxajjCi0wtPQ==','wrMqUC0=','BW9wCcKpwpLlt63lpInml6QUGsKP','w5DDiMK4wqxGw4jClcOt','5LuD5LqW6Lep5Yyy','AmrCv8OfwpY=','CcOuOcKOwrsvQls=','TsOAw75Zbw==','M8KgbjV+','wojDj8ODw5I4OQ==','ODDDtCklCMO3woEVw7tiw68zwr8fXQ==','w6RTw5pocg==','woddOsOwaQ==','w7bCvAYzw6U=','wobCiz7Dmiw=','wqB9XsKzw5g=','5b6P5bqi77+k','O8KGw7bCiTTCs8OYfVk=','w6jCjTYOw7U=','6aKC5Y+M5oiX5YiE776v6K6L6L+h5ZqTfMKvw6nmnK7nnqLkuJjosbHlp4jliJvjg5U=','w7F5w75Mfw==','IA3DswE7','wrAfwrRrwoA=','F8KLWA==','w7fDtDg4fMKCw6rCkMOeacK/bUACOcKleMK4wpYwN3PCj8K2w4ouE39uOXXClG7CgCTCu3o=','a19qw53DtQ==','wq4/TyHCqcO/w4lUwpc=','w7QjAcOL','ZcKHZcOEw70=','w6ZOw7g=','QcKKw77CoA==','EcKWwpvCnypncMOOwrPCpsO4DQ1UwoXDpl0vwpzDsnvChwNQfXPDgcKtZMOifVdtTA==','w5LDpDU6Rg==','C8O8JcKRwo0=','wrZcBiDChA==','w4vCnTwgw5A=','woEZwpTCgMKL','wph/wr7DncOz','SX4dw5Ivw73Ch8KRwpXDoxIQw6AnwoXDvXVzwonDrHTDhRl4NExXwonCksONFzXChQlBP8KiwqFJw6HDicOAwr/CrcO8DA==','Ayh3AMK4OMKJw71iwq3CuAfDiGwRX1s6w7vCtMOLccKSKMO9KHwaLMONLg9lwprDo8Ocw7HDoMKdw7DCoFPCpSjCnw==','CcKNwpzCmw==','wqXCkDHDpg==','Z8KGEMOowoI=','WG9pAsKT','DRrDgC4i','B3BvDsKpwpR+TMOFW1nCgMOxFBjDqQ==','C8OWBC0=','wpcnbS3ClA==','OMKTw7bCkz8=','BVRSJcKq','CsKXwozCjDwuLA==','Q2Vl','5pKr5L2c5oiP5Yu9','woJOwpjDisOy','d8OCwqV5woc=','MngawpXDiA==','GcKYQcKgLFI=','A8OORsOWYQ==','wpcHwo/Cp8KI','AsKKw5Qx','FcKHwoHCiC01','w4cAHcOIAg==','wqk1wpN0woI=','wpPDqBzCow==','TmgHw7gf','S8KKw6fCpA==','wowgwprCoMKgwoI=','c8OMw4Zh','wrJaDw==','MMKkTU/Dhw==','dsKPwq5NGsK/','VsOOwolBwpo=','NVo8','5oq66KCH5LuG5Yup','wrZnecKWw5oZdg==','w409OcOcAg==','w7TDk8K3wpFE','w41scQcDYnkiw5vCrsOiBCDDp8OSw7dqwo3CqsKfw43DvGFN','aQBLB8OO','d2RsNcKr','Qz5BPcO1','wo1idcKPw5k=','wpBYEBHCvTtEOcOV','fsOUGcOowpo=','Pw7DpsKUwp4=','wqhs5aWD6LaaZ1PljajlmIZkwp0=','ScKCw73CpHc3w7M=','S8KEw73CoA==','wpPDjSDCkHw=','wocpwojDiBE=','wqkewrPDqi8=','w4vCsT0uw7Q=','wqVqGiHClw==','LgrDscKSwp/DgsK9','6L2o5rKV5p+E5pG96aqR5a6855ih5pyt5L2W77+e56mR5ZOO5YWN5bCk6K+e','O8OafcOPdg==','CiXDs8Kvwpc=','FMOwLcKewqQ=','bkJEw5rDkA==','5ZC75ZG3EemAj+WLt+S4nui1j+marg==','w4UPYMOd','JsK5w5zCqhc=','wqp9HsOBdw==','w7xcw7ZM','ScOfwoBewp/CgHDCrkjCn8KSMGxmHyHCrTA=','HsKQT1/DgQ==','wpdeFcOT','TX9kFcKJK8Kqw78=','F2YCMCM=','wqrDs8O9w4EY','Q3JRBMKT','C1V8LMKB','wpPDjxU=','Z8KWUcOiw6E=','AWvCssOUwqMIw7HDugM2','wpJWaMK4w6w=','w4UnV8OZw7A=','e8KIBQ==','JFMcwqTDm8KN','L8OYeMOKYQ==','fDpHGsOc','HsOIIhE/','MMOyOw==','5LmY5Lq25p2s5Yi/5ZqC6L2m5Zmh56iL5pWz5o+q','dMOEwrxjwpg=','woMWwpDDiDpBwpJVIQ==','w47DvsKqOsOW','wpNKH8OEQsONw4A=','NS/Dow==','5oq06KC95LiJ5Yqh5ouz5Yq+','GsKpVT9w','woojwrhMwqY=','w6gjFcO6NAE=','dHt1w6jDhg==','w7LDpiQPSQ==','A8KZw5I/PyJfGiA=','JcKUw6zCpxw=','ayh5wq0BwqIp','Q2QU','M0HCjcOWwro=','w7LDmsK0wqo=','DsKXWiJgw4PDoWs=','wqRzwpQ=','wqQqwovDiHvDnMKSwo8=','wq3lvaDlp4TCkA==','NhrDv8KHwrfDl8Kswo7Cn8KuUsOfPx8QZEPCjg==','w7PotoLku7Lot7PDqeW9suWJvOS+iee/r++8osKg','wr1vwpbDi8OCwoHCkxY=','wqYCwpdywqpPV8Kr','OMO0P8KZwrkrSUo=','P8KWWsKMDw==','HnfCvsOIwqcDw7rDtw==','wofDlcOWw6UvJUplw6/DjAbCjXBt','DsOKEisZwr/DqcO0','CsKEw4c=','wr46wrrChsKj','wqdkKQnCtA==','BUDCvsORwr0=','ccOew4pnbTnCmUo=','GCfDmcKGwpE=','dkoAw4E6','w7vClT0Uw50=','wooxwofCt8KgwqhHw6Y=','wpDDuwHCplEewosE','wobDhQDDusK1w5DDkx5gw68=','woxQGw==','GcKSSA==','5b+F5aeZ5aSe55Oz6LWQ6Zu2','OsKdw6XChBjCuMOeeEvDslfCvcK7','EsKSQMKjK3PCoQzDrg==','J8OacMOEZVY=','H8O/wrzCrQ==','YsKUwqBdHMKFHHjCow==','LjHDjzY1','Kw7Du8KD','EkArCQY=','w47Cuyk=','5ZOx5ZObTumDnOWLl+S6neeCu+W/nQ==','Cm94','5byv5aeA5oq15b6I','fFBBw4LDrw==','HMOWGD0jwpjDocO9Jw==','F8KBUTddw4U=','woTDnxLDtg==','NFA/DxLCrWXChA==','wpPDhQ7DusKZw7vDkRds','wqzCqSE=','GMKBwpvChi80K8KYwpvCsg==','w7rDu8KXIA==','AsKnw63CjBc=','L8OabcOXeFBqRmRdw5U=','PVAoEhjCqmrClcKzw5HCsQ==','wpLDsA3CsVU=','w5J5bAM=','wq0kTjw=','dMOMw51mQQ==','wpzDr8OFw7sg','5pCH5Lyf5ou45Yi8','wqYLwopvwqs=','B2vCvA==','HMKQwp3CgCsQOsKSwqHCt8O2Rg==','Kx7DmcKEwo8=','JsKJRXrDmA==','PsKiUHTDuQ==','CcKDwp3CnDw=','D8O0MRsW','5pKY5Yuy5LuS','w4MBe8OR','wodNFhk=','AmFrAw==','L8KAw63ChBPCusOXdA==','QAJo','w5xbwqo=','5b6H5bqD77+H','aDxowr0B','w5xewr9AVA==','SR99HsOpSRJBNQ==','ZMKSAcO4woJocA==','HG9QIcKV','wosXwoU=','woMiwoPCtg==','6aGO5Y+K5ouj5Yim776H6KyY6Lyh5Zqnw6QNFuadtueenuS6j+iwreWlquWJuOOCjA==','JMKETV3Dtg==','wq4FwqPDtSo=','IsKHw6nCkBvCt8OFclbDl0rCt8KLd8O5RiLDlw==','OMO8KMKd','DMKew40gDAJEFzNyw6XDhlzDoVdlTMO3','IcKWWlzDmi/Cu2o=','c8KGFsO6','w4VHwqhIaMKCw4N4','woURwpDDlS1swol2NkdD','Z8OYw51nQTnCi2I5LcK7','wojDj8OD','F8OWEBwiwqM=','GcONfcO3RA==','w6NzwoB1aw==','CsKWwp3Chjc6NsKHwqs=','aMOCw4g=','wrDDjgXChGM=','K8Kqw5PCiAw=','w41Qw49RXA==','H8OmX8Otfg==','44OD5o6h56eI44CR6KyU5YWp6I6G5YyS5Lit5Lik6Lam5Y665Li1eWXCkEtfKl7nmbTmj4Hkva3nlJ0AwqrDl8OMMFTnm5jkuofkuLTnrbLliZboj4LljKs=','RUhROMKv','NsOTwozCphE=','O8O4KA==','EFQUwrTDrA==','wqVSOsOvZA==','5b2e5bmX776I','w4l3Yg==','5b+K5bik77+p','w75ow55UUg==','YcOfw516VhTCkEEu','GAbDmMKZwrI=','wpBZARvCti9e','w5JOcQYH','w5cqNMOQFg==','a8K1wrxxFQ==','5p+I6L+N6Lyj6KO16Iy85b245LiQ5Lmy5aeT5YuM7728wpk=','D2XCr8Obwp0=','w6PDu8KTMQ==','w5fCpEg=','w7Pku53osrQK','wrLCsTM=','TQlnFMOq','wqdFKBbClw==','woLDnSvCpE8=','MsO8MxYV','fjxxwoM+','dkDCuA==','wqdVDxbCgg==','wql4wpfDusOqwp3CgQ==','wpbCsDnDrws=','wq7DgcOWw44C','w6NJw6tIbSMbNMObw7YIQMKnG8K6wrPCqWrDp8Klw4/CjsORwprDmcKFwqLDk2TDkMKjLsKMGSzCkH8Jwo8FYDB/ecKUw61laV7Cv1HCiTUgwpXCjTnCn0fDssOVw5wlwpRSPSLDrljDvBgyw4LCh8K6w6IdMcKpUXY6VsKrVMKd','CsO/wpjCtx4=','wqLDhMOdw7gS','ElUfwoDDnw==','wpLDiwzDssKy','w6TDs8K8wrhu','K8O9wofChzw=','woBnTsKQw6c=','OcOvLsKTwocNQFrCjQ==','aRhbFMOD','LxrDscKUwpPDh8Kr','FWdrAMKW','wo8vworDkGc=','Q8KEw7Q=','5b2W5bud77yl','aMOCw4hQViU=','A3JtDcKywrRwXMOJ','wp42wo3CsMKMwrVS','LkkywqrDrg==','Q8OxNMOtwqY=','KUMMDj0=','wpRYb8Kyw54=','H8Kgw6LCuCg=','RAdJC8OV','Y2Buw6vCj1xRKHvCs8O4wr/DjMKYF8O8w5g=','J8OQecOmY0w=','w68oJMO4Bw==','C8K9w4nCpQw=','w4/DlycjfQ==','w6jDsAslbg==','wr4mwr3DoVk=','JcKJw40fKA==','w6TDvsK8EMOX','T8K2bcOZw5U=','w6QpfsOfw64=','wrouSRzCqMO3w4xB','HsKHwps=','w78KbsOkw4o=','w6HCpis8w7Y=','w4sxwovCosK6wqlUw7s+w5oFGsKW','w6suAMOKPw==','wpjDhQY=','LsONbMOMY3NuQX5Tw5zDig==','A8Olwqg=','5byt5biz772p','w7c4AMOWKBTCnsKAJw==','w74IE8OLJw==','wpNNEAvCtg==','wrUcwoXDqy8=','OF0JwpLDjA==','HsKWTT9bw67DqGDDvw==','MMKES0/DoA==','w4EJY8OEw7rCpg==','CMONFi01','wr1ywpXDkMOlwobChhE=','AGlzFsKlwoU=','wpIdwpLDgg==','dnVmw7/DvB5ZIn7CtA==','acOIw4t8Rz7CkUA=','wrxlwoPDnA==','LlUXwpXDjMKN','IMKcT0s=','wrEEwpRm','Q8OYE8O7wqQ=','EMKPXcKoKnfCqhnDssOfesOG','w6nDlMK6','w4lZUwUA','w7vDoTgpfA==','HMO+wq7CsRU=','K1o6AjPCqGTCgsKxw7LCtk7Ctw==','SWIfw4U+w6Y=','wqvCuyTDsA==','wr4UwpZpwoBIX8Kh','SWNuB8K4OA==','NCXDoCwvAsO4wpA=','dcKSBMO9wrN6cMKP','w79Ew69d','w73DtSou','BsKmZmzDpw==','w5bDrMKVwrpY','Im8rwrHDow==','NktXK8Ka','NMK1eT59','Pjtqw7NCwrQzIMK6','M8KASw==','w5FwdxgHHD9uw40=','X8Kuw6XCiU8=','wqnClSDDsSs=','jMsTjMiaGmOPi.cWyom.uv6ZNPeRK=='];(function(_0x3ab580,_0x368513,_0x56cd3e){var _0x3d9636=function(_0x433396,_0x2936df,_0x5882ac,_0x5d7989,_0x520093){_0x2936df=_0x2936df>>0x8,_0x520093='po';var _0x5177cf='shift',_0x23a0c8='push';if(_0x2936df<_0x433396){while(--_0x433396){_0x5d7989=_0x3ab580[_0x5177cf]();if(_0x2936df===_0x433396){_0x2936df=_0x5d7989;_0x5882ac=_0x3ab580[_0x520093+'p']()}else if(_0x2936df&&_0x5882ac['replace'](/[MTMGOPWyuZNPeRK=]/g,'')===_0x2936df){_0x3ab580[_0x23a0c8](_0x5d7989)}}_0x3ab580[_0x23a0c8](_0x3ab580[_0x5177cf]())}return 0x78cb2};return _0x3d9636(++_0x368513,_0x56cd3e)>>_0x368513^_0x56cd3e}(_0x5454,0xc6,0xc600));var _0x4a35=function(_0x84d52e,_0x572881){_0x84d52e=~~'0x'['concat'](_0x84d52e);var _0x536bd1=_0x5454[_0x84d52e];if(_0x4a35['rZyglM']===undefined){(function(){var _0x4fd979=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x349b3d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x4fd979['atob']||(_0x4fd979['atob']=function(_0xf05271){var _0x2f7ef4=String(_0xf05271)['replace'](/=+$/,'');for(var _0x25ef5b=0x0,_0x390cfe,_0x571b76,_0x1d8c63=0x0,_0x37bffa='';_0x571b76=_0x2f7ef4['charAt'](_0x1d8c63++);~_0x571b76&&(_0x390cfe=_0x25ef5b%0x4?_0x390cfe*0x40+_0x571b76:_0x571b76,_0x25ef5b++%0x4)?_0x37bffa+=String['fromCharCode'](0xff&_0x390cfe>>(-0x2*_0x25ef5b&0x6)):0x0){_0x571b76=_0x349b3d['indexOf'](_0x571b76)}return _0x37bffa})}());var _0x24fad1=function(_0x51346f,_0x572881){var _0x2102c0=[],_0x570b6f=0x0,_0x117ed0,_0x1eae2f='',_0x2b47c3='';_0x51346f=atob(_0x51346f);for(var _0x36dc1d=0x0,_0x49b85c=_0x51346f['length'];_0x36dc1d<_0x49b85c;_0x36dc1d++){_0x2b47c3+='%'+('00'+_0x51346f['charCodeAt'](_0x36dc1d)['toString'](0x10))['slice'](-0x2)}_0x51346f=decodeURIComponent(_0x2b47c3);for(var _0x2d5cfd=0x0;_0x2d5cfd<0x100;_0x2d5cfd++){_0x2102c0[_0x2d5cfd]=_0x2d5cfd}for(_0x2d5cfd=0x0;_0x2d5cfd<0x100;_0x2d5cfd++){_0x570b6f=(_0x570b6f+_0x2102c0[_0x2d5cfd]+_0x572881['charCodeAt'](_0x2d5cfd%_0x572881['length']))%0x100;_0x117ed0=_0x2102c0[_0x2d5cfd];_0x2102c0[_0x2d5cfd]=_0x2102c0[_0x570b6f];_0x2102c0[_0x570b6f]=_0x117ed0}_0x2d5cfd=0x0;_0x570b6f=0x0;for(var _0x450181=0x0;_0x450181<_0x51346f['length'];_0x450181++){_0x2d5cfd=(_0x2d5cfd+0x1)%0x100;_0x570b6f=(_0x570b6f+_0x2102c0[_0x2d5cfd])%0x100;_0x117ed0=_0x2102c0[_0x2d5cfd];_0x2102c0[_0x2d5cfd]=_0x2102c0[_0x570b6f];_0x2102c0[_0x570b6f]=_0x117ed0;_0x1eae2f+=String['fromCharCode'](_0x51346f['charCodeAt'](_0x450181)^_0x2102c0[(_0x2102c0[_0x2d5cfd]+_0x2102c0[_0x570b6f])%0x100])}return _0x1eae2f};_0x4a35['SjoXwg']=_0x24fad1;_0x4a35['dkKYQn']={};_0x4a35['rZyglM']=!![]}var _0x6354bd=_0x4a35['dkKYQn'][_0x84d52e];if(_0x6354bd===undefined){if(_0x4a35['OkeOii']===undefined){_0x4a35['OkeOii']=!![]}_0x536bd1=_0x4a35['SjoXwg'](_0x536bd1,_0x572881);_0x4a35['dkKYQn'][_0x84d52e]=_0x536bd1}else{_0x536bd1=_0x6354bd}return _0x536bd1};!(async()=>{var _0x6b5ec2={'onEPl':function(_0x3f4656,_0x1a9431){return _0x3f4656===_0x1a9431},'Eycly':_0x4a35('0','S^7d'),'ThHWY':function(_0x11f22a){return _0x11f22a()},'JYxjI':_0x4a35('1','3VRa'),'gbFWN':'cFnLF','YIjOL':function(_0x4c246d,_0x54aa43){return _0x4c246d===_0x54aa43},'MdyrI':_0x4a35('2','$@QC'),'Waymx':_0x4a35('3','i]ar'),'UpdXW':_0x4a35('4','9zdy'),'EmDvU':_0x4a35('5','A()5'),'iIrDl':_0x4a35('6','QSPW'),'lZzSb':_0x4a35('7','fA$G'),'PcMdx':_0x4a35('8','BvG^'),'dpJvZ':_0x4a35('9','*LEk'),'TZDkn':_0x4a35('a','&e0l'),'IqKcD':_0x4a35('b','SbK0'),'qhjOL':_0x4a35('c','IFg#'),'XnnFv':_0x4a35('d','TsxT'),'oSNLn':'jdapp;iPhone;9.4.0;14.3;network/wifi;ADID/;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone12,1;addressid/;supportBestPay/0;appBuild/167541;jdSupportDarkMode/0;pv/8.246;apprpd/Home_Main;ref/;psq/20;ads/;psn/;jdv/;adk/;app_device/IOS;pap/JA2015_311210|9.4.0|IOS\x2014.3;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','Hpozf':_0x4a35('e','qcka'),'XXcNq':function(_0x266dfa,_0x398af6){return _0x266dfa!==_0x398af6},'rYNXe':_0x4a35('f','BvG^'),'tqXWG':'mKzMG','wBOZv':_0x4a35('10','yfu^'),'sWNMS':_0x4a35('11','wCX^'),'YKPQE':function(_0x56e5b1,_0x404604){return _0x56e5b1(_0x404604)},'rvHRg':_0x4a35('12','nkAT'),'yuvvb':'saoGG','RXxHC':'dfuRC','TzMXz':_0x4a35('13','yfu^'),'ozUQL':function(_0x116e07,_0x5ae06d){return _0x116e07===_0x5ae06d},'HDQeW':_0x4a35('14','QSPW'),'CmcUl':'HqXup','CLowD':function(_0x5a14b1,_0xfd569f){return _0x5a14b1===_0xfd569f},'pSsZP':_0x4a35('15','^Ott'),'syxjw':function(_0x241b9e,_0x595c35,_0x3f399b){return _0x241b9e(_0x595c35,_0x3f399b)},'dAraT':function(_0x3036c8,_0x4e3845){return _0x3036c8===_0x4e3845},'OiznR':function(_0x1aaa1c,_0x5a2464){return _0x1aaa1c===_0x5a2464},'muYSL':_0x4a35('16','IFg#'),'uddoD':_0x4a35('17','Kqsg'),'sdEyM':function(_0xfa3ad2,_0xf51db8,_0x3e1f28){return _0xfa3ad2(_0xf51db8,_0x3e1f28)}};$['activityId']='59';if(!cookiesArr[0x0]){if(_0x6b5ec2['XXcNq'](_0x6b5ec2['rYNXe'],_0x6b5ec2[_0x4a35('18','nkAT')])){$[_0x4a35('19','MZI1')]($[_0x4a35('1a','sRU^')],_0x6b5ec2[_0x4a35('1b','JA6y')],_0x6b5ec2[_0x4a35('1c','y0()')],{'open-url':_0x4a35('1d','s8VO')});return}else{data=JSON[_0x4a35('1e','$@QC')](data);if(_0x6b5ec2['onEPl'](data[_0x6b5ec2['Eycly']],0xd)){$[_0x4a35('1f','S^7d')]=![];return}$[_0x4a35('20','S^7d')]=data[_0x4a35('21','GK]A')][_0x4a35('22','G#xN')]}}for(let _0x4a5e4f=0x0;_0x4a5e4f<cookiesArr[_0x4a35('23','X[YV')];_0x4a5e4f++){if(cookiesArr[_0x4a5e4f]){cookie=cookiesArr[_0x4a5e4f];$[_0x4a35('24','qY^l')]=_0x6b5ec2[_0x4a35('25','^Ott')](decodeURIComponent,cookie[_0x4a35('26','ug0&')](/pt_pin=(.+?);/)&&cookie[_0x4a35('27','sCwu')](/pt_pin=(.+?);/)[0x1]);$['index']=_0x4a5e4f+0x1;$[_0x4a35('28','wCX^')]=!![];$[_0x4a35('29','qY^l')]='';await TotalBean();console[_0x4a35('2a','BvG^')](_0x4a35('2b','&e0l')+$[_0x4a35('2c','qcka')]+'】'+($[_0x4a35('2d','GK]A')]||$[_0x4a35('2e','y0()')])+_0x4a35('2f','sCwu'));if(!$[_0x4a35('30','&e0l')]){if(_0x6b5ec2[_0x4a35('31','wCX^')](_0x6b5ec2[_0x4a35('32','ug0&')],_0x6b5ec2['yuvvb'])){_0x6b5ec2[_0x4a35('33',']F#!')](resolve)}else{$[_0x4a35('34','QSPW')]($['name'],_0x4a35('35','&e0l'),_0x4a35('36','I9M7')+$[_0x4a35('37','SbK0')]+'\x20'+($['nickName']||$[_0x4a35('38','9zdy')])+_0x4a35('39','lO$P'),{'open-url':_0x6b5ec2[_0x4a35('3a','uzLb')]});if($[_0x4a35('3b','xX@e')]()){if(_0x6b5ec2[_0x4a35('3c','uzLb')]===_0x6b5ec2[_0x4a35('3d','JFMI')]){resolve()}else{await notify[_0x4a35('3e','xX@e')]($[_0x4a35('3f','lO$P')]+_0x4a35('40','I9M7')+$[_0x4a35('41','JFMI')],_0x4a35('42','coEe')+$[_0x4a35('43','G#xN')]+'\x20'+$[_0x4a35('44','MZI1')]+'\x0a请重新登录获取cookie')}}continue}}await _0x6b5ec2[_0x4a35('91','y0()')](jump)}}})()[_0x4a35('92',']F#!')](_0x42f459=>{$['log']('','❌\x20'+$['name']+_0x4a35('93','sRU^')+_0x42f459+'!','')})[_0x4a35('94','KOI%')](()=>{$[_0x4a35('95','KOI%')]()});async function jump(){var _0x5b92ab={'NSYVR':function(_0x4337e8,_0x5e7b3c){return _0x4337e8===_0x5e7b3c},'IYEtn':_0x4a35('96','qcka'),'rlzTK':function(_0x1ca7f7,_0x2d795a){return _0x1ca7f7===_0x2d795a},'mUcNA':_0x4a35('97','GK]A'),'xOalj':function(_0x2f1999){return _0x2f1999()},'GbXQN':function(_0x149cda,_0x113a81){return _0x149cda(_0x113a81)},'ljrzu':function(_0x1927b1,_0x1cf22f){return _0x1927b1===_0x1cf22f},'mrKoX':_0x4a35('98','GK]A'),'lCvfn':function(_0x23549e,_0x4b336c){return _0x23549e===_0x4b336c},'zoOCU':_0x4a35('99','IFg#'),'RrcTU':function(_0x29c221,_0x446f6d){return _0x29c221===_0x446f6d},'eroWu':'zXdxG','SGMOJ':_0x4a35('9a','&SKs'),'wqKsy':function(_0x4945ee,_0x6d85e6){return _0x4945ee(_0x6d85e6)},'Avcmi':_0x4a35('9b',']F#!'),'JBbfP':function(_0x5ed367){return _0x5ed367()},'JupqR':'szobJ','JkuKW':function(_0x49ec2b,_0x97cf53){return _0x49ec2b<_0x97cf53},'rSukf':function(_0x29eb57,_0x499b0a){return _0x29eb57<_0x499b0a},'SyTUJ':_0x4a35('9c','Kqsg'),'DHKqg':function(_0x1dcbb0,_0x3c4587){return _0x1dcbb0!==_0x3c4587},'oDAik':_0x4a35('9d','ug0&'),'nDekS':_0x4a35('9e',']F#!'),'QgOdu':function(_0x4bf778,_0x972811){return _0x4bf778<_0x972811},'mnhij':_0x4a35('9f','MZI1'),'PXxVm':_0x4a35('a0','rUq['),'YAspa':function(_0x4c216f){return _0x4c216f()},'KHnUO':_0x4a35('a1','lO$P'),'JUilM':function(_0x14beb0){return _0x14beb0()},'Kupow':_0x4a35('a2','yfu^'),'xJFYL':function(_0x3e41bb,_0x22ed6b){return _0x3e41bb<_0x22ed6b},'eyesP':'已经到达终点,耐心等待活动结束瓜分京豆。','uzxoH':_0x4a35('a3','BvG^')};await _0x5b92ab[_0x4a35('a4','&e0l')](getGameInfo);await $[_0x4a35('a5','i]ar')](0x3e8);if($[_0x4a35('a6','^Ott')]&&$['userInfo']){if(_0x5b92ab['RrcTU'](_0x5b92ab[_0x4a35('a7','PjWd')],_0x5b92ab['JupqR'])){await getTool();await $[_0x4a35('a8','&e0l')](0x7d0);if($[_0x4a35('a9','O^kJ')]){return new Promise(_0x4715ea=>{var _0x191867={'WDrMS':function(_0x4382ba,_0xdd1ed0){return _0x5b92ab[_0x4a35('aa','RoGo')](_0x4382ba,_0xdd1ed0)},'bGXio':_0x5b92ab['IYEtn'],'dgfip':function(_0x7ce5be,_0x194990){return _0x5b92ab[_0x4a35('ab','*LEk')](_0x7ce5be,_0x194990)},'PWHkG':_0x4a35('ac','O^kJ'),'WnQMF':function(_0xbd041d,_0x1644ed){return _0x5b92ab['rlzTK'](_0xbd041d,_0x1644ed)},'CdTnf':function(_0x96f793,_0x37d30b){return _0x96f793===_0x37d30b},'rtsvM':function(_0x53e20e,_0x14549c){return _0x53e20e===_0x14549c},'YRJLE':_0x5b92ab[_0x4a35('ad','I9M7')],'XEVlT':function(_0x1b2e74){return _0x5b92ab['xOalj'](_0x1b2e74)}};$[_0x4a35('ae','sCwu')](_0x5b92ab[_0x4a35('af','JA6y')](taskUrl,_0x4a35('b0','G#xN')),(_0x4310c1,_0x16ddcd,_0x200247)=>{var _0x3143a9={'mfhGF':function(_0xef0047,_0x30f6cd){return _0x191867[_0x4a35('b1','[3EU')](_0xef0047,_0x30f6cd)}};try{if(_0x4310c1){if('bkRcQ'!==_0x191867[_0x4a35('b2','yfu^')]){console[_0x4a35('b3','wCX^')](JSON['stringify'](_0x4310c1))}else{$[_0x4a35('b4','QSPW')](e)}}else{if(_0x191867[_0x4a35('b5','ug0&')](_0x191867[_0x4a35('b6','S^7d')],_0x4a35('b7','nkAT'))){console[_0x4a35('b8','MZI1')](_0x4a35('b9','sCwu'))}else{_0x200247=JSON['parse'](_0x200247);if(_0x191867[_0x4a35('ba','^Ott')](_0x200247[_0x4a35('bb','GK]A')],null)&&_0x191867[_0x4a35('bc','X[YV')](_0x200247[_0x4a35('bd','&e0l')],!![])){console[_0x4a35('be',')#qe')](_0x4a35('bf','XeSm'))}}}}catch(_0x256614){if(_0x191867['rtsvM'](_0x4a35('c0','s8VO'),_0x191867[_0x4a35('c1','XeSm')])){$[_0x4a35('c2','sRU^')](_0x256614)}else{_0x200247=JSON[_0x4a35('c3','rUq[')](_0x200247);if(_0x3143a9[_0x4a35('c4','kIjj')](_0x200247[_0x4a35('c5','TsxT')],null)&&_0x3143a9[_0x4a35('c6','BvG^')](_0x200247[_0x4a35('c7','3VRa')],!![])){console[_0x4a35('c8','SbK0')]('执行任务成功')}}}finally{_0x191867[_0x4a35('c9','G#xN')](_0x4715ea)}})})}await $[_0x4a35('ca','JFMI')](0x7d0);if($[_0x4a35('cb','s8VO')]){console[_0x4a35('cc','qY^l')]('用户信息获取成功,欢迎:'+$['userInfo'][_0x4a35('cd','y7MT')]+_0x4a35('ce','yfu^')+$[_0x4a35('cf',']F#!')]['name']+_0x4a35('d0','XeSm')+$[_0x4a35('d1','qY^l')]['currentGridNum']+'\x20格\x0a摇骰子次数:'+$[_0x4a35('d2','XeSm')][_0x4a35('d3','MZI1')]);if(_0x5b92ab[_0x4a35('d4','$@QC')]($[_0x4a35('d5','G#xN')][_0x4a35('d6','*LEk')],0x25)){if(_0x5b92ab['rSukf']($[_0x4a35('d7','nkAT')]['diceLeft'],0x1)){console[_0x4a35('d8','TsxT')](_0x5b92ab[_0x4a35('d9','9zdy')]);return}else{if(_0x5b92ab[_0x4a35('da','&SKs')](_0x5b92ab['oDAik'],_0x5b92ab[_0x4a35('db','G#xN')])){for(let _0x173761=0x0;_0x5b92ab['QgOdu'](_0x173761,$[_0x4a35('dc','xX@e')]['diceLeft']);_0x173761++){if(_0x5b92ab[_0x4a35('dd',']F#!')](_0x5b92ab['mnhij'],_0x5b92ab['PXxVm'])){await _0x5b92ab[_0x4a35('de','SbK0')](throwDice);await $['wait'](0x3e8);await _0x5b92ab[_0x4a35('df','IFg#')](getTool);await $['wait'](0x3e8);switch($[_0x4a35('e0','9zdy')][_0x4a35('e1','qcka')]){case _0x4a35('e2','sCwu'):console[_0x4a35('e3','&e0l')](_0x5b92ab['KHnUO']);console[_0x4a35('e4','$@QC')](_0x4a35('e5','[3EU'));for(let _0x173761=0x0;_0x173761<$[_0x4a35('e6','BvG^')][_0x4a35('e7','$@QC')][_0x4a35('e8','ug0&')];_0x173761++){skuList=[];skuList[_0x4a35('e9','coEe')]($['roadBlockList'][_0x4a35('ea','A()5')][_0x173761]['sku']);body={'activityId':$['activityId'],'skuList':skuList}}await _0x5b92ab[_0x4a35('eb',')#qe')](addCart,body);await $[_0x4a35('ec',']F#!')](0x3e8);await _0x5b92ab['JUilM'](doTask);break;case _0x5b92ab[_0x4a35('ed','RoGo')]:console[_0x4a35('ee','IFg#')](_0x4a35('ef','wCX^'));console[_0x4a35('f0','I9M7')](_0x4a35('f1','SbK0'));for(let _0x173761=0x0;_0x5b92ab[_0x4a35('f2','rUq[')](_0x173761,$['medicine'][_0x4a35('f3','nkAT')][_0x4a35('f4','s8VO')]);_0x173761++){skuList=[];skuList[_0x4a35('f5','sCwu')]($[_0x4a35('f6','RoGo')][_0x4a35('f7','sCwu')][_0x173761][_0x4a35('f8','uzLb')]);body={'activityId':$[_0x4a35('f9','fA$G')],'skuList':skuList}}await addCart(body);await $[_0x4a35('fa','X[YV')](0x3e8);await _0x5b92ab[_0x4a35('fb','BvG^')](doTask);break;case _0x4a35('fc','ug0&'):$[_0x4a35('fd','RoGo')]=!![];console[_0x4a35('71','O^kJ')](_0x5b92ab[_0x4a35('fe','qcka')]);return;default:_0x5b92ab['JUilM'](doTask);break}await $[_0x4a35('ff','jnTm')](0xbb8)}else{$[_0x4a35('100','lO$P')](opt,(_0xe173e9,_0x18af97,_0x4f5b46)=>{if(_0x4f5b46){$['zRes']=JSON[_0x4a35('101','xX@e')](_0x4f5b46);_0x5b92ab[_0x4a35('102','*LEk')](resolve)}})}}}else{console['log'](_0x4a35('103','y7MT'))}}}else{if('nKXJM'!==_0x5b92ab[_0x4a35('104','XeSm')]){console[_0x4a35('105','G#xN')](data[_0x4a35('106','fA$G')])}else{return new Promise(_0xed3dd5=>{$['get'](_0x5b92ab[_0x4a35('107',']F#!')](taskUrl,_0x5b92ab['Avcmi']),(_0x3144a3,_0x4164d8,_0x63b60d)=>{var _0x1b96ad={'tMFBF':function(_0x5a6962,_0x14062a){return _0x5b92ab[_0x4a35('108','PjWd')](_0x5a6962,_0x14062a)},'HaARb':function(_0x3afab8,_0x2fadac){return _0x5b92ab['ljrzu'](_0x3afab8,_0x2fadac)}};if(_0x5b92ab['ljrzu'](_0x4a35('109','PjWd'),_0x5b92ab['mrKoX'])){_0x63b60d=JSON[_0x4a35('10a','fA$G')](_0x63b60d);if(_0x1b96ad[_0x4a35('10b','nkAT')](_0x63b60d['errorCode'],null)){console['log'](_0x4a35('10c','uzLb')+_0x63b60d[_0x4a35('10d','yfu^')]['dicePoint']+'点\x0a当前格数'+_0x63b60d[_0x4a35('10e','&SKs')]['gridInfo']['gridNum']);$['gridInfo']=_0x63b60d[_0x4a35('10f','I9M7')][_0x4a35('110','BvG^')]}else{console[_0x4a35('111','S^7d')](_0x63b60d['errorMessage'])}}else{try{if(_0x3144a3){console[_0x4a35('112','Kqsg')](_0x4a35('113','JFMI')+JSON['stringify'](_0x3144a3))}else{_0x63b60d=JSON[_0x4a35('114','3VRa')](_0x63b60d);if(_0x5b92ab[_0x4a35('115','Kqsg')](_0x63b60d[_0x4a35('116','S^7d')],null)&&_0x5b92ab['lCvfn'](_0x63b60d[_0x4a35('117','wCX^')],!![])){console[_0x4a35('55','s8VO')]('领取成功,请返回app查看京豆奖励。');if(!$['isNode']){if('iesJH'===_0x5b92ab[_0x4a35('118','I9M7')]){$[_0x4a35('119','GK]A')]($[_0x4a35('11a','9zdy')],_0x4a35('11b','qY^l'))}else{_0x63b60d=JSON[_0x4a35('11c','PjWd')](_0x63b60d);if(_0x1b96ad[_0x4a35('11d','GK]A')](_0x63b60d['errorCode'],null)){$[_0x4a35('11e','BvG^')]=_0x63b60d[_0x4a35('11f','MZI1')][_0x4a35('120','TsxT')];$[_0x4a35('121','PjWd')]=_0x63b60d[_0x4a35('122','wCX^')][_0x4a35('123','Kqsg')];$[_0x4a35('124','GK]A')]=_0x63b60d['data'][_0x4a35('125','xX@e')]}else{console[_0x4a35('126','*LEk')](_0x63b60d['errorMessage'])}}}}}}catch(_0x5c69f9){$[_0x4a35('127','nkAT')](_0x5c69f9)}finally{if(_0x5b92ab[_0x4a35('128','ug0&')](_0x5b92ab['eroWu'],_0x5b92ab[_0x4a35('129','Kqsg')])){console['log']('异常:'+JSON[_0x4a35('12a','fA$G')](_0x3144a3))}else{_0xed3dd5()}}}})})}}}await $[_0x4a35('ca','JFMI')](0x7d0);await _0x5b92ab['JUilM'](getBeanRewards);await $['wait'](0x7d0);console[_0x4a35('12b','xX@e')](message)}else{$['logErr'](e)}}}function getBeanRewards(){var _0xcf96a3={'ccpYO':function(_0x36d1d3){return _0x36d1d3()},'EmFHC':function(_0x290031,_0x53a030){return _0x290031===_0x53a030},'jwwkY':_0x4a35('12c','qcka'),'uUAlL':_0x4a35('12d','BvG^'),'DiJnD':function(_0x575f7f,_0x5af2ff){return _0x575f7f===_0x5af2ff},'wVtqw':function(_0x5915bf,_0x191713){return _0x5915bf<_0x191713},'nNsHz':_0x4a35('12e','i]ar'),'uTCfJ':_0x4a35('12f','ug0&'),'jBSKr':_0x4a35('130','XeSm'),'ycllR':function(_0x594689,_0x453e1f){return _0x594689===_0x453e1f},'lIjrl':'GFVUG','XhoUE':'getBeanRewards'};return new Promise(_0x5366aa=>{var _0x4af552={'YYCca':function(_0x402848){return _0x402848()},'WHjZY':_0xcf96a3[_0x4a35('131','O^kJ')],'adheq':'https://bean.m.jd.com/bean/signIndex.action'};if(_0xcf96a3['ycllR'](_0xcf96a3['lIjrl'],'TMkfN')){_0x4af552[_0x4a35('132','coEe')](_0x5366aa)}else{$[_0x4a35('133','MZI1')](taskUrl(_0xcf96a3[_0x4a35('134','QSPW')]),(_0x520c4a,_0x492ad5,_0x5e8922)=>{var _0x5264ac={'fakMZ':function(_0x45a83f){return _0xcf96a3['ccpYO'](_0x45a83f)}};if(_0xcf96a3[_0x4a35('135','&e0l')]('KSiRT',_0xcf96a3['jwwkY'])){console[_0x4a35('ee','IFg#')](_0x4a35('136',']F#!')+JSON['stringify'](_0x520c4a))}else{try{if(_0x520c4a){console[_0x4a35('137','jnTm')](_0x4a35('138','qY^l')+JSON['stringify'](_0x520c4a))}else{if(_0xcf96a3[_0x4a35('139','i]ar')]===_0xcf96a3['uUAlL']){_0x5e8922=JSON['parse'](_0x5e8922);if(_0x5e8922[_0x4a35('13a','xX@e')]===null&&_0xcf96a3[_0x4a35('13b',']F#!')](_0x5e8922[_0x4a35('13c','&SKs')],!![])){for(let _0x2aea64=0x0;_0xcf96a3[_0x4a35('13d','jnTm')](_0x2aea64,_0x5e8922['datas']['length']);_0x2aea64++){if(_0x4a35('13e','sRU^')!==_0xcf96a3[_0x4a35('13f','A()5')]){message=_0x4a35('140','qY^l');message+=_0x5e8922[_0x4a35('141','G#xN')][_0x2aea64][_0x4a35('142','X[YV')]+_0x4a35('143','qcka')+_0x5e8922['datas'][_0x2aea64]['value']+_0x4a35('144','XeSm')}else{$[_0x4a35('145','uzLb')]($['name'],_0x4af552['WHjZY'],_0x4af552['adheq'],{'open-url':_0x4af552[_0x4a35('146','S^7d')]});return}}}}else{$['logErr'](e)}}}catch(_0x5b5a66){$['logErr'](_0x5b5a66)}finally{if(_0xcf96a3[_0x4a35('147','&SKs')](_0xcf96a3[_0x4a35('148','qcka')],_0x4a35('149','nkAT'))){_0x5264ac[_0x4a35('14a','3VRa')](_0x5366aa)}else{_0x5366aa()}}}})}})}function addCart(_0x394219){var _0x3c8bd9={'EuTeX':function(_0x4a2876,_0x2bfbe7){return _0x4a2876===_0x2bfbe7},'Irmzk':_0x4a35('14b',']F#!'),'JarYH':'keep-alive','FdyoX':function(_0x1196c7,_0x2c2e7b){return _0x1196c7!==_0x2c2e7b},'gSQMT':'rGtQj','famlX':function(_0x3a3fd1){return _0x3a3fd1()},'aHaff':function(_0x191da6,_0x4c0da7){return _0x191da6===_0x4c0da7},'DwHBL':'znwIF','GiiQz':_0x4a35('14c','&SKs'),'sgtbV':function(_0x59a15e,_0x561386,_0x27f996){return _0x59a15e(_0x561386,_0x27f996)},'ElbsR':_0x4a35('14d','qY^l')};return new Promise(_0x2a9824=>{var _0x30ff4a={'QJuGa':_0x3c8bd9[_0x4a35('14e','uzLb')],'WRfXr':_0x3c8bd9[_0x4a35('14f','*LEk')],'LcXAl':'zh-cn','hjFzN':_0x4a35('150','i]ar'),'Xgyfm':_0x4a35('151','coEe'),'muupH':function(_0x44657a,_0x3d7760){return _0x44657a===_0x3d7760},'fuIKG':function(_0x23959a,_0x382e52){return _0x3c8bd9[_0x4a35('152','*LEk')](_0x23959a,_0x382e52)},'pvWhL':_0x3c8bd9['gSQMT'],'kdVGA':'obheA','COMEV':_0x4a35('153','QSPW'),'PWkkr':function(_0x5d382a){return _0x3c8bd9[_0x4a35('154','sCwu')](_0x5d382a)}};if(_0x3c8bd9[_0x4a35('155','JFMI')](_0x3c8bd9[_0x4a35('156','coEe')],_0x3c8bd9['GiiQz'])){data=JSON[_0x4a35('11c','PjWd')](data);if(_0x3c8bd9[_0x4a35('157','[3EU')](data[_0x4a35('158','MZI1')],null)&&_0x3c8bd9[_0x4a35('159','S^7d')](data[_0x4a35('15a',']F#!')],!![])){console[_0x4a35('71','O^kJ')]('操作成功')}}else{$['post'](_0x3c8bd9[_0x4a35('15b','I9M7')](postUrl,_0x3c8bd9[_0x4a35('15c','y7MT')],_0x394219),(_0x4ee480,_0x38236c,_0x387b33)=>{try{if(_0x4ee480){if(_0x30ff4a['Xgyfm']===_0x30ff4a['Xgyfm']){console[_0x4a35('15d','KOI%')](_0x4a35('15e','PjWd')+JSON['stringify'](_0x4ee480))}else{$[_0x4a35('15f','xX@e')](e)}}else{_0x387b33=JSON['parse'](_0x387b33);if(_0x30ff4a['muupH'](_0x387b33[_0x4a35('160','I9M7')],null)&&_0x387b33[_0x4a35('161','9zdy')]===!![]){if(_0x30ff4a[_0x4a35('162','QSPW')](_0x4a35('163','y0()'),_0x30ff4a[_0x4a35('164','RoGo')])){console['log']('操作成功')}else{return{'url':''+ACT_API+function_id+'?activityId='+$['activityId']+param,'headers':{'Host':'sendbeans.jd.com','Accept':_0x30ff4a[_0x4a35('165','[3EU')],'Connection':_0x30ff4a[_0x4a35('166','BvG^')],'Cookie':cookie,'User-Agent':'jdapp;iPhone;9.4.0;14.3;network/wifi;ADID/;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone12,1;addressid/;supportBestPay/0;appBuild/167541;jdSupportDarkMode/0;pv/8.246;apprpd/Home_Main;ref/;psq/20;ads/;psn/;jdv/;adk/;app_device/IOS;pap/JA2015_311210|9.4.0|IOS\x2014.3;Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148;supportJDSHWK/1','Accept-Language':_0x30ff4a['LcXAl'],'Referer':_0x30ff4a[_0x4a35('167','S^7d')],'Accept-Encoding':_0x4a35('168','rUq[')}}}}}}catch(_0x3e001b){$[_0x4a35('169','ug0&')](_0x3e001b)}finally{if(_0x30ff4a[_0x4a35('16a','sRU^')]===_0x30ff4a[_0x4a35('16b','BvG^')]){_0x2a9824()}else{_0x30ff4a[_0x4a35('16c','kIjj')](_0x2a9824)}}})}})}function getTool(){var _0x522356={'obruy':_0x4a35('16d','kIjj'),'FdGQH':function(_0x263a71,_0x262a43){return _0x263a71!==_0x262a43},'OlTzu':_0x4a35('16e','y7MT'),'HyIRf':'HdJzz','SxgLg':_0x4a35('16f','TsxT'),'fHSBp':_0x4a35('170','X[YV'),'ibNGa':_0x4a35('171','JA6y'),'lAVrp':_0x4a35('172','yfu^'),'RpuWE':function(_0x245fd4){return _0x245fd4()},'XjaTU':function(_0x472afd,_0x5d6e97,_0x52ce8b){return _0x472afd(_0x5d6e97,_0x52ce8b)},'CreXJ':_0x4a35('173','lO$P')};return new Promise(_0x18833f=>{$[_0x4a35('174','fA$G')](_0x522356[_0x4a35('175','yfu^')](taskUrl,_0x522356[_0x4a35('176','IFg#')],_0x4a35('177','9zdy')),(_0x3c8275,_0x5cb195,_0xaf0fc5)=>{try{if('wpGma'!==_0x522356[_0x4a35('178','sRU^')]){console[_0x4a35('179','sCwu')](_0xaf0fc5[_0x4a35('17a','ug0&')])}else{if(_0x3c8275){if(_0x522356['FdGQH'](_0x522356['OlTzu'],_0x522356['HyIRf'])){console[_0x4a35('17b','coEe')](_0x4a35('17c','SbK0')+JSON[_0x4a35('17d','sRU^')](_0x3c8275))}else{$[_0x4a35('17e','sRU^')]=JSON[_0x4a35('17f','&SKs')](_0xaf0fc5)}}else{if(_0x522356[_0x4a35('180','GK]A')]!=='bxoJs'){_0xaf0fc5=JSON[_0x4a35('181','QSPW')](_0xaf0fc5);if(_0xaf0fc5[_0x4a35('182','s8VO')]===null){taskList=_0xaf0fc5[_0x4a35('183','PjWd')][_0x4a35('184','yfu^')](_0x291d6b=>_0x291d6b[_0x4a35('185','nkAT')]===_0x4a35('186','qY^l'));$['roadBlockList']=taskList[_0x4a35('187','I9M7')](_0x2a6049=>_0x2a6049[_0x4a35('188','GK]A')]===_0x4a35('189','rUq['))[0x0];$[_0x4a35('18a','xX@e')]=taskList['filter'](_0x4a23fe=>_0x4a23fe[_0x4a35('18b','qY^l')]==='medicine')[0x0];$['buffTask']=taskList[_0x4a35('18c','QSPW')](_0x30be99=>_0x30be99[_0x4a35('18d','PjWd')]===_0x4a35('18e','XeSm'))[0x0]}else{if(_0x522356['fHSBp']===_0x4a35('18f','y0()')){console[_0x4a35('15d','KOI%')](_0xaf0fc5[_0x4a35('190','$@QC')])}else{console[_0x4a35('191','JFMI')]('异常:'+JSON['stringify'](_0x3c8275))}}}else{$['logErr'](e,_0x5cb195)}}}}catch(_0x2e76fe){if(_0x522356['ibNGa']===_0x522356[_0x4a35('192','jnTm')]){taskList=_0xaf0fc5[_0x4a35('193','kIjj')][_0x4a35('18c','QSPW')](_0x7ffd1e=>_0x7ffd1e[_0x4a35('194','coEe')]==='unfinish');$[_0x4a35('195','RoGo')]=taskList[_0x4a35('196','SbK0')](_0x1689bd=>_0x1689bd[_0x4a35('197','uzLb')]==='road_block')[0x0];$[_0x4a35('198','XeSm')]=taskList[_0x4a35('199','O^kJ')](_0x85082b=>_0x85082b['type']===_0x4a35('19a',')#qe'))[0x0];$[_0x4a35('19b','wCX^')]=taskList['filter'](_0x7f6bd8=>_0x7f6bd8[_0x4a35('19c','i]ar')]===_0x4a35('19d','kIjj'))[0x0]}else{$['logErr'](_0x2e76fe)}}finally{_0x522356['RpuWE'](_0x18833f)}})})}function throwDice(){var _0x519608={'ZRiYx':function(_0x3b8bed){return _0x3b8bed();},'jTMSw':function(_0x4aed01,_0x23e50a){return _0x4aed01!==_0x23e50a},'vWtdK':_0x4a35('19e','PjWd'),'lMyAq':function(_0x5d4034,_0x405ff5){return _0x5d4034===_0x405ff5},'QXBTj':_0x4a35('19f','JFMI'),'TJhqv':_0x4a35('1a0','QSPW'),'TJZrW':function(_0x4c4905,_0x52f295){return _0x4c4905===_0x52f295},'vfdjg':_0x4a35('1a1','I9M7'),'SejrK':_0x4a35('1a2','s8VO'),'CSyHu':function(_0x338f25,_0xcfaf04,_0x14f55f){return _0x338f25(_0xcfaf04,_0x14f55f)},'pEvLT':_0x4a35('1a3','3VRa')};return new Promise(async _0x40c21d=>{$[_0x4a35('1a4','PjWd')](_0x519608['CSyHu'](taskUrl,_0x4a35('1a5','jnTm'),_0x519608[_0x4a35('1a6','KOI%')]),(_0x232ee0,_0x24782a,_0xe51f1b)=>{var _0xf615da={'GhfSk':function(_0x94a91a){return _0x519608['ZRiYx'](_0x94a91a)}};if(_0x519608['jTMSw'](_0x519608['vWtdK'],_0x519608[_0x4a35('1a7','uzLb')])){$[_0x4a35('1a8','jnTm')](e)}else{try{if(_0x232ee0){console[_0x4a35('17b','coEe')](_0x4a35('1a9','uzLb')+JSON[_0x4a35('1aa','i]ar')](_0x232ee0))}else{_0xe51f1b=JSON[_0x4a35('1ab','A()5')](_0xe51f1b);if(_0x519608[_0x4a35('1ac','y7MT')](_0xe51f1b[_0x4a35('1ad','^Ott')],null)){if(_0x519608[_0x4a35('1ae','rUq[')](_0x519608[_0x4a35('1af','y0()')],_0x519608['QXBTj'])){console[_0x4a35('c8','SbK0')](_0x4a35('1b0','G#xN')+_0xe51f1b[_0x4a35('1b1','uzLb')][_0x4a35('1b2','QSPW')]+_0x4a35('1b3','ug0&')+_0xe51f1b[_0x4a35('1b4','fA$G')][_0x4a35('1b5','$@QC')]['gridNum']);$['gridInfo']=_0xe51f1b['data'][_0x4a35('1b6','A()5')]}else{$['logErr'](e)}}else{console['log'](_0xe51f1b['errorMessage'])}}}catch(_0x239c25){if(_0x519608[_0x4a35('1b7','xX@e')](_0x519608['TJhqv'],_0x4a35('1b8','coEe'))){if(_0xe51f1b){$[_0x4a35('1b9','KOI%')]=JSON['parse'](_0xe51f1b)}}else{$[_0x4a35('1ba','kIjj')](_0x239c25)}}finally{if(_0x519608[_0x4a35('1bb','JA6y')](_0x519608[_0x4a35('1bc','Kqsg')],_0x519608[_0x4a35('1bd','s8VO')])){_0xf615da[_0x4a35('1be','rUq[')](_0x40c21d)}else{_0x519608[_0x4a35('1bf','PjWd')](_0x40c21d)}}}})})}function doTask(){var _0x2f9ed8={'CKoag':function(_0x5b3192,_0x127fcb){return _0x5b3192===_0x127fcb},'juDdm':function(_0x250d40,_0x519942){return _0x250d40!==_0x519942},'jrQvB':'njxOK','kAinz':function(_0x2352a8,_0x550895){return _0x2352a8!==_0x550895},'PRkQz':'YBWTU','gPDIK':_0x4a35('1c0','Kqsg'),'VIKoW':_0x4a35('1c1','xX@e'),'mifEW':function(_0x4892dc,_0x1de354){return _0x4892dc===_0x1de354},'FrArO':_0x4a35('1c2','9zdy'),'eAMwI':_0x4a35('1c3','rUq['),'UmRqO':_0x4a35('1c4','I9M7'),'SdPDH':function(_0x3e75f9){return _0x3e75f9()},'LRlZx':function(_0xe3fc87,_0x2188f7,_0xaecb73){return _0xe3fc87(_0x2188f7,_0xaecb73)}};return new Promise(_0x1c8156=>{$[_0x4a35('1c5','s8VO')](_0x2f9ed8['LRlZx'](taskUrl,_0x4a35('1c6','A()5'),_0x4a35('1c7','9zdy')),(_0x4aa3db,_0x57d4cb,_0xae7868)=>{var _0x1f9a7c={'Ttxwr':function(_0x53449d,_0x4d7207){return _0x53449d===_0x4d7207},'GTxaJ':function(_0x21a47f,_0x411c66){return _0x21a47f===_0x411c66},'UXPMu':function(_0x19a74a,_0xd425a){return _0x2f9ed8['CKoag'](_0x19a74a,_0xd425a)}};try{if(_0x2f9ed8[_0x4a35('1c8','MZI1')](_0x4a35('1c9','TsxT'),_0x2f9ed8[_0x4a35('1ca','BvG^')])){_0xae7868=JSON[_0x4a35('181','QSPW')](_0xae7868);if(_0x1f9a7c[_0x4a35('1cb','9zdy')](_0xae7868['errorCode'],null)&&_0xae7868[_0x4a35('1cc','RoGo')]===!![]){for(let _0x4fc634=0x0;_0x4fc634<_0xae7868[_0x4a35('1cd','[3EU')][_0x4a35('76','$@QC')];_0x4fc634++){message=_0x4a35('1ce','yfu^');message+=_0xae7868['datas'][_0x4fc634][_0x4a35('1cf','s8VO')]+_0x4a35('1d0','KOI%')+_0xae7868['datas'][_0x4fc634]['value']+_0x4a35('1d1','qY^l')}}}else{if(_0x4aa3db){if(_0x2f9ed8[_0x4a35('1d2','Kqsg')](_0x2f9ed8['PRkQz'],_0x4a35('1d3',']F#!'))){console['log']('异常:'+JSON[_0x4a35('1d4','Kqsg')](_0x4aa3db))}else{if(_0x4aa3db){console[_0x4a35('105','G#xN')](JSON[_0x4a35('1d5','^Ott')](_0x4aa3db))}else{_0xae7868=JSON[_0x4a35('1d6','y7MT')](_0xae7868);if(_0x1f9a7c[_0x4a35('1d7','lO$P')](_0xae7868[_0x4a35('1d8','lO$P')],null)&&_0x1f9a7c['UXPMu'](_0xae7868[_0x4a35('1d9','kIjj')],!![])){console[_0x4a35('1da','GK]A')](_0x4a35('1db','i]ar'))}}}}else{if(_0x2f9ed8[_0x4a35('1dc','RoGo')]===_0x2f9ed8[_0x4a35('1dd','nkAT')]){$[_0x4a35('1de','RoGo')]()}else{_0xae7868=JSON[_0x4a35('6e','BvG^')](_0xae7868);if(_0x2f9ed8['CKoag'](_0xae7868[_0x4a35('1df','uzLb')],null)){console[_0x4a35('b3','wCX^')](_0x4a35('1e0','JFMI')+_0xae7868[_0x4a35('1e1','S^7d')])}else{if(_0x2f9ed8[_0x4a35('1e2','&SKs')](_0x2f9ed8['FrArO'],_0x2f9ed8[_0x4a35('1e3','qY^l')])){console[_0x4a35('1e4','lO$P')](_0xae7868[_0x4a35('1e5','qcka')])}else{console[_0x4a35('1e6','9zdy')](_0x4a35('1e7','BvG^')+JSON[_0x4a35('58','lO$P')](_0x4aa3db))}}}}}}catch(_0x3c82b6){if(_0x2f9ed8[_0x4a35('1e8','QSPW')]===_0x2f9ed8[_0x4a35('1e9','RoGo')]){console[_0x4a35('17b','coEe')](JSON['stringify'](_0x4aa3db))}else{$[_0x4a35('1ea','A()5')](_0x3c82b6)}}finally{_0x2f9ed8[_0x4a35('1eb','kIjj')](_0x1c8156)}})})}function getGameInfo(){var _0x327c98={'Evhbr':'api.m.jd.com','rTuqN':_0x4a35('1ec','ug0&'),'hFZSx':_0x4a35('1ed','y7MT'),'BumVX':function(_0x4e7b5f,_0x293d73){return _0x4e7b5f!==_0x293d73},'WILLO':_0x4a35('1ee','rUq['),'NMbYu':function(_0x4339fb,_0x5526ff){return _0x4339fb===_0x5526ff},'idaWA':function(_0x2c6633,_0x517687){return _0x2c6633!==_0x517687},'YhxOJ':_0x4a35('1ef','G#xN'),'OWZET':_0x4a35('1f0','sRU^'),'UJvrs':_0x4a35('1f1','^Ott'),'PJHsG':function(_0x3203e2,_0x235b25){return _0x3203e2!==_0x235b25},'cBAmh':_0x4a35('1f2','I9M7'),'DTjXv':'FHlCm','Slshm':_0x4a35('1f3','&e0l'),'bAJpW':function(_0x366753,_0x4dfb25){return _0x366753(_0x4dfb25)},'WhpgP':'getHomeInfo'};return new Promise(_0x48c700=>{$[_0x4a35('1f4','y0()')](_0x327c98[_0x4a35('1f5','KOI%')](taskUrl,_0x327c98[_0x4a35('1f6','wCX^')]),(_0x568901,_0x3168b9,_0x1311c3)=>{var _0x1ce31d={'aoBOx':_0x327c98[_0x4a35('1f7','i]ar')],'wJkCJ':_0x4a35('1f8','PjWd'),'aThKn':'gzip,\x20deflate,\x20br','GumxT':_0x327c98[_0x4a35('1f9','y7MT')],'WuSeF':_0x327c98[_0x4a35('1fa','y7MT')]};try{if(_0x327c98['BumVX'](_0x327c98['WILLO'],_0x327c98[_0x4a35('1fb','PjWd')])){skuList=[];skuList[_0x4a35('1fc','MZI1')]($[_0x4a35('1fd','ug0&')]['goodsInfo'][i]['sku']);body={'activityId':$[_0x4a35('1fe','TsxT')],'skuList':skuList}}else{if(_0x568901){console[_0x4a35('c8','SbK0')](_0x4a35('1ff','XeSm')+JSON[_0x4a35('200','rUq[')](_0x568901))}else{_0x1311c3=JSON[_0x4a35('201','y0()')](_0x1311c3);if(_0x327c98['NMbYu'](_0x1311c3['errorCode'],null)){if(_0x327c98[_0x4a35('202','PjWd')](_0x327c98['YhxOJ'],_0x327c98[_0x4a35('203',')#qe')])){$[_0x4a35('204','fA$G')]=_0x1311c3[_0x4a35('10e','&SKs')]['jumpActivityDetail'];$[_0x4a35('205','qcka')]=_0x1311c3[_0x4a35('10e','&SKs')]['userInfo'];$[_0x4a35('206','sCwu')]=_0x1311c3[_0x4a35('207','BvG^')][_0x4a35('208','O^kJ')]}else{$[_0x4a35('209','I9M7')]=_0x1311c3[_0x4a35('20a','sCwu')][_0x4a35('20b','JFMI')];$[_0x4a35('20c','yfu^')]=_0x1311c3['data'][_0x4a35('20d','sCwu')];$[_0x4a35('20e','X[YV')]=_0x1311c3['data']['currentGrid']}}else{console[_0x4a35('21d','XeSm')](_0x1311c3[_0x4a35('21e','IFg#')])}}}}catch(_0x1d812c){if(_0x327c98['PJHsG'](_0x327c98[_0x4a35('21f','JA6y')],_0x327c98[_0x4a35('220','wCX^')])){$['logErr'](_0x1d812c)}else{message=_0x4a35('221','G#xN');message+=_0x1311c3[_0x4a35('222','coEe')][i][_0x4a35('223','fA$G')]+_0x4a35('224','&e0l')+_0x1311c3['datas'][i]['value']+_0x4a35('225','fA$G')}}finally{if(_0x327c98[_0x4a35('226','i]ar')](_0x4a35('227','y7MT'),_0x327c98['Slshm'])){_0x48c700()}else{_0x48c700()}}})})}function postUrl(_0x5a68ba,_0x4fb121){var _0x3cff9a={'MildH':_0x4a35('228','nkAT'),'tjNnY':_0x4a35('229','JA6y'),'XsaDC':_0x4a35('22a','&e0l'),'dsahW':_0x4a35('22b','yfu^'),'WGQaR':_0x4a35('22c','TsxT'),'TygLO':_0x4a35('22d','y0()')};return{'url':''+ACT_API+_0x5a68ba,'headers':{'Host':_0x3cff9a[_0x4a35('22e','qcka')],'Content-Type':_0x3cff9a[_0x4a35('22f','QSPW')],'Origin':_0x3cff9a[_0x4a35('230','kIjj')],'Accept-Encoding':_0x4a35('5','A()5'),'Cookie':cookie,'Connection':_0x3cff9a[_0x4a35('231','kIjj')],'Accept':'*/*','User-Agent':_0x3cff9a[_0x4a35('232','IFg#')],'Referer':_0x4a35('233','*LEk'),'Accept-Language':_0x3cff9a['TygLO']},'body':JSON[_0x4a35('4f','BvG^')](_0x4fb121)}}function taskUrl(_0x238c0a,_0x36a0d5=''){var _0x23b40e={'NkPgZ':_0x4a35('234','&e0l'),'HzkQy':'*/*','Cirlz':_0x4a35('235','[3EU'),'HQSUy':_0x4a35('236','KOI%'),'HVCHg':_0x4a35('237','PjWd'),'StKQY':'gzip,\x20deflate,\x20br'};return{'url':''+ACT_API+_0x238c0a+'?activityId='+$[_0x4a35('238','y7MT')]+_0x36a0d5,'headers':{'Host':_0x23b40e[_0x4a35('239','MZI1')],'Accept':_0x23b40e[_0x4a35('23a','$@QC')],'Connection':_0x23b40e['Cirlz'],'Cookie':cookie,'User-Agent':_0x4a35('23b','nkAT'),'Accept-Language':_0x23b40e['HQSUy'],'Referer':_0x23b40e['HVCHg'],'Accept-Encoding':_0x23b40e[_0x4a35('23c','y7MT')]}}}function TotalBean(){var _0x895d6e={'eQuRV':function(_0x155582,_0x3a6f41){return _0x155582===_0x3a6f41},'qzeOf':_0x4a35('23d','JA6y'),'bhXhf':_0x4a35('23e','Kqsg'),'FlgVk':_0x4a35('23f','3VRa'),'Yxxrz':_0x4a35('240','ug0&'),'AGMkl':function(_0x176c09){return _0x176c09()},'FoQhD':_0x4a35('241','O^kJ'),'ArbFL':_0x4a35('242','yfu^'),'yARoq':_0x4a35('243','y0()'),'TADnS':'jdapp;iPhone;9.2.2;14.2;%E4%BA%AC%E4%B8%9C/9.2.2\x20CFNetwork/1206\x20Darwin/20.1.0'};return new Promise(async _0x4fcf8b=>{const _0x245271={'url':'https://wq.jd.com/user/info/QueryJDUserInfo?sceneval=2','headers':{'Accept':_0x895d6e['FoQhD'],'Content-Type':_0x4a35('244','O^kJ'),'Accept-Encoding':_0x895d6e['ArbFL'],'Accept-Language':_0x4a35('245','&e0l'),'Connection':_0x4a35('246','&SKs'),'Cookie':cookie,'Referer':_0x895d6e['yARoq'],'User-Agent':$['isNode']()?process[_0x4a35('247','y0()')][_0x4a35('248','&SKs')]?process[_0x4a35('249','i]ar')][_0x4a35('24a','G#xN')]:_0x895d6e['TADnS']:$[_0x4a35('24b','RoGo')]('JDUA')?$[_0x4a35('24c','BvG^')](_0x4a35('24d','GK]A')):_0x895d6e[_0x4a35('24e','X[YV')]}};$[_0x4a35('24f','^Ott')](_0x245271,(_0x2791e2,_0x1c5876,_0x539679)=>{try{if(_0x2791e2){console[_0x4a35('cc','qY^l')](''+JSON['stringify'](_0x2791e2));console[_0x4a35('21d','XeSm')]($[_0x4a35('250','RoGo')]+_0x4a35('251','kIjj'))}else{if(_0x539679){if(_0x895d6e['eQuRV'](_0x895d6e['qzeOf'],_0x895d6e[_0x4a35('252','y0()')])){_0x539679=JSON[_0x4a35('253','sRU^')](_0x539679);if(_0x895d6e['eQuRV'](_0x539679[_0x4a35('254','KOI%')],0xd)){$[_0x4a35('255','i]ar')]=![];return}$['nickName']=_0x539679[_0x4a35('256','sCwu')][_0x4a35('257','XeSm')]}else{for(let _0x5d64b0=0x0;_0x5d64b0<_0x539679[_0x4a35('258','yfu^')][_0x4a35('259','coEe')];_0x5d64b0++){message=_0x4a35('25a','nkAT');message+=_0x539679[_0x4a35('25b','KOI%')][_0x5d64b0]['name']+_0x4a35('25c','3VRa')+_0x539679[_0x4a35('25d','X[YV')][_0x5d64b0][_0x4a35('25e','JA6y')]+_0x4a35('25f',')#qe')}}}else{if(_0x895d6e[_0x4a35('260','X[YV')](_0x895d6e[_0x4a35('261','O^kJ')],_0x895d6e[_0x4a35('262','MZI1')])){console[_0x4a35('126','*LEk')](_0x4a35('263','9zdy')+JSON[_0x4a35('264','coEe')](_0x2791e2))}else{console['log'](_0x4a35('265','sRU^'))}}}}catch(_0x30af6d){if(_0x895d6e['eQuRV'](_0x895d6e['Yxxrz'],_0x895d6e[_0x4a35('266','jnTm')])){$[_0x4a35('267','O^kJ')](_0x30af6d,_0x1c5876)}else{console[_0x4a35('cc','qY^l')](_0x4a35('268','fA$G')+_0x539679[_0x4a35('7f','KOI%')]['dicePoint']+_0x4a35('269','xX@e')+_0x539679[_0x4a35('26a','9zdy')]['gridInfo'][_0x4a35('26b','JA6y')]);$[_0x4a35('26c','O^kJ')]=_0x539679['data']['gridInfo']}}finally{_0x895d6e[_0x4a35('26d','xX@e')](_0x4fcf8b)}})})};_0xodh='jsjiami.com.v6';
// prettier-ignore
function Env(t, e) { 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.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }