forked from wudongdefeng/jd-temporary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
z_super5g.js
59 lines (53 loc) · 61.7 KB
/
z_super5g.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
5G超级盲盒
活动入口:https://isp5g.m.jd.com
活动入口:京东app-手机馆-底部导航栏【手机网厅】-右侧浮标
活动时间:2021-03-18 - 2021-04-30
脚本增加环境变量通知开关,默认开启状态,如需关闭请自行设置。
Z_SUPER5G_NOTIFY //通知变量
后续发布脚本均有加密
因为我介意别人把我脚本里的助力改了。
如果不愿意助力,可以直接下载脚本到本地,通过修改helpAhtor这个参数来关闭助力请求。
请不要修改我的助力。
脚本内置了一个给作者任务助力的网络请求,默认开启,如介意请自行关闭。
助力活动链接: https://h5.m.jd.com/babelDiy/Zeus/4ZK4ZpvoSreRB92RRo8bpJAQNoTq/index.html
参数 helpAuthor = false
更新地址:https://raw.githubusercontent.com/i-chenzhe/qx/main/z_super5g.js
已支持IOS双京东账号, Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
============Quantumultx===============
[task_local]
#5G超级盲盒
5 1,6,11,16,21 * 3-4 * https://raw.githubusercontent.com/i-chenzhe/qx/main/z_super5g.js, tag=5G超级盲盒, enabled=true
================Loon==============
[Script]
cron "5 1,6,11,16,21 * 3-4 * " script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_super5g.js, tag=5G超级盲盒
===============Surge=================
5G超级盲盒 = type=cron,cronexp="5 1,6,11,16,21 * 3-4 * ",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_super5g.js
============小火箭=========
5G超级盲盒 = type=cron,script-path=https://raw.githubusercontent.com/i-chenzhe/qx/main/z_super5g.js, cronexpr="5 1,6,11,16,21 * 3-4 * ", timeout=3600, enable=true
*/
const $ = new Env('5G超级盲盒');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let cookiesArr = [], cookie = '', message = '';
let needNotify = $.isNode() ? process.env.Z_SUPER5G_NOTIFY || true : true; //是否需要通知
let helpAuthor = true;//助力作者开关
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);
}
$.log('脚本版本 v0.1\n更新时间:2021-03-19 04:40\n仓库:https://www.github.com/i-chenzhe/qx');
var _0xodQ='jsjiami.com.v6',_0x23e1=[_0xodQ,'fxcHw59uwovCimHCl8K7','wpTCqcOoWMK5','w5kkw4/Cjxc=','5bSa57uP5a6f5oqa5oi25p6A5rS06KSZ5Zeo5ZKb5Lqu5Ymd','JcOyVzQ=','MAMvw6PCkQ==','5byz5aW85omW5aSP','w5/DnHhCwrg=','woHCqMORYcK1dMOxwrQu','N8KPw58xaFlUw6g=','FQB/w4Q=','PTLDih3CuzrDjnM=','w74IIMOYew7CgA==','wpIvw7A0wp1lHg==','wp4Zw5YUwrg=','AAR3w54=','DGbDpFfDtB/DvlLCnw==','FBPDhTzCtA==','aEzCisK+wps=','ZjLCmH7DlQ==','wovCoDrCkA==','NcOpTDPDlnRrw7kv','AxhpwpRQwps=','REACC8Or','woEQQVfDlVM=','w4wtwqU=','UhECYmI=','w68Jw5lyw58sEDINw6HCmQU=','wrbDvhfDi8Kcw7vCuA7CmgbDvg==','woTCoDk=','dyrCinXDr8Ktw5o=','w7nCtcKaRcKK','X8Oxwo1gw6jCiBE=','w70Bw4Ztw7Ix','FgVkwpRQ','wr/CosOleMK/','Zj0pCQrDvQ==','w7wIMw==','YsOz5Y6G5rWE6KaJw77CrMK+','PwwSw4Nkw4HDqS/CkcKvDA==','wp/CrjfCgQ==','IVDDkmHDnA==','w6TDqx3DkMKxwqnDpE3CsA3CqsK7','w43Cp3R7KcORe8K7w5Ukw4E=','US8ZXXY=','w70rw4XClxA=','woXCkkhEwrE=','w7cHw40=','wrvDuMK1wqzCqA==','w68ww5HCjwxMwrp6','DAEgw5/Dgg==','w7XCl8O8NQXDk8KXwobDsg==','Uh/CssO/Ug==','wpLDmsKtQcO5','UQXDkXnDrw==','woF4O8ONEQ==','wpzDtsKUwofCtgRlEw==','w6QGJ8OhIw==','aTrClsOMLw==','agwZw5xtwpDCmGrCjMKiR0I=','EQRe','woghw7cNw4U=','wqdrKsOwN1hWwqc=','wr9YfcOcPw==','YsKTw4czaDE=','w5QjwrEMw48=','w6cGPcO+','5by85bmP776s','w4nDmWR5wrM=','w5QjwrEMw4w=','w6fCn8OhN0Q=','w78kw6XCnRM=','w5bDhQvDicKu','w7/CkcO1','LOaImeiijeWHp+ayi+W7semSnuS4mOWLqg==','w78AKMKyBsKEw4DDqno=','Lxgrw7/CtA==','Thk/w7tC','wq9Ow5lxw7gzNDNz','Q1UQFMK8','w6oBKcKrPMKI','wonDi8KjRA==','w682w4U=','5b+q5bi477yJ','5baD57qv5a+15oq45oqc5p+R5YS05rOl5buj6ZOU5LuS5Yqk','wpxhYMOhQg==','w6Y0wpDDpW8oO8Omcg==','wpdtw5PCsGg=','CV3CmsKENA==','Ah1x','ZOaIleihmua3j+injOWXs+WQruS6ieWLlQ==','WVvCrMKFwpM=','wpxvZ8OrGsOHDsK8','w5QjwrEMw4o=','cFoaG8OW','w68ww5HCj3Q=','wo80w6USwpE=','w7/DscKuwr1D','w7c4w5HDm8O0','a2bClcKCwpY=','wrFpN8Ot','ZMOPwpMSZA==','w5XCpcK0fsKU','w7cgw5LDlQ==','cToy','5bac57q95a6a5oqQ5omE5p685rag6Ka65ZSy5ZOK5LqX5YiT','wqLjgpnkubrku6rotKLlj5Y=','wobCpj3CnsOQIQUL','LkLCh8KENXYtwpI=','wrljZsO7VcOMwq7CvzfilofCk+iOheW/sz8=','TsO/wplC','ZuS4seixuOOBmA==','HQ8e','XyfDv3bDmw==','w7YqIsOMWQ==','fADCuW8=','Bh5swo4=','woMQSlQ=','X8O+wpVbw7c=','dw0kw6JC','UBLDk1M=','NjNSw6Q8','w7fCosK5','FC7DgCnCiQ==','w4M4w7rCpwQ=','W8O7wpFY','T8KSwrvCvw==','w5rCoMKeXQ==','DRxIwo1a','N8KPw58xaE9Jw6BPNg7DvcK9','B8OLchTDmQ==','bj00SEttOng8w6Y5acKY','aCTCkV7DssK2','e04vGMOW','WT/DmG/Dtg==','wotpw4zCqxjCrCRs','UcKlwqzCj20=','URZ2w4svwqfDs8Orw4E=','TMKVwqnCuUvDisONZ8KK','wozCoBbCkMOyMA==','w7c+w4U=','X+W9l+WlreWLhOWJpA==','YEwbNMOJ','w5Y1MMOYXg==','AA3CqcO1EQMtwod2','NcO1XyjDnVBtw7szbMOLH8KU','w7Axw4PDgsKlNytCw68=','cCYy','ZDkqCw==','JDFSw5ZJ','cAggw6Nm','GBAyw7jCuw==','wprDh8KpaMOR','w5MqwqMVwpsFw7NSPg==','woZ1XMObNQ==','w4nDnD3ChUM4ThXCtw==','UhjDkQ==','5LuL5LuF6K+H5b2T77+n5aW65LiI5omD6IKt5aWk5pan55u3772j','woDCuyrChcOtekdBw48Uw6hXwrcwbxnChiw9BcOKC8KYBRDDl37CsMKewqlwwrVpw4Z3woYLw7Uf','wrXCt8OZacKU','w4EywrILwpclw71CMl09wpzDi8OPV8O0','w7MpwozDpXInHMO1Zg==','FQEnw5fCmw==','azc+Cig=','w5c2wpvDgHY=','XSXDvlTDtQ==','w64pw6/CiAY=','aRcYw4c=','BF7DiH7DoA==','dsKFwqrCu0M=','Ph18w5ow','AGHDiXfDoA==','wrnCuRTCtsOr','5b6S5bmf772O','w6gcw5hww7kkFDE3','OTjDgQ==','5b+v5bmN77y1','agwZw5pvwpvCsG/CgQ==','wqfCuFh1wpg=','w7oGIsK+','dRcM','w4zCncKc','Cwhnw5R+','e2LChMKu','KMKIw5k=','FRM0','JCHDqiDChQ==','wowQaUDDrw==','wo9lZw==','J8Kkw6owWA==','w73CqcOxFjI=','w74wN8OAVg==','w5bDmzs=','5b+E5biw772E','CxQhw53CnUfCqQXDlA==','DRXDsTzChw==','wqHCoUhRwpQ=','w6vCrMKsb8KJ','fjzClsOFGw==','w7MIMMOv','VRbCoMOmBiULwocuwrvCrMOdcA==','fGzClMKq','KsOyWQ==','5Lqm5Lqo6K6x5b6i77y85aWh5LmR5oi86ICv5aSI5pai55ml776j','TCHDtXnDoA==','aXvCrMKGwog=','aC7CmA==','HyNgwpM=','O8OMIsOgw5o=','wq5YZ8OmMA==','w7kgwowCwq8=','DQVxwpBGw5PCsMObwphjwqnChcKZBMKmwoMyw7tuaR8Ww6tqesOebh4GchLDv0tTw4vCgcOK','w50Zwq84FA==','G8KqWUEE','SsOXwqxYw7g=','wpjDhcKmXMOXeRHDviET','wqtsfsO6Bw==','wp8vw60I','w7EGK8K+MsKDw4zDrXjDpMOAVw==','MsO8TTHDsHxvw7oVT8OLAg==','w68Ww4XDqMKV','w6jCpcK/bsKJwoJlBw==','DxZyw5Nsw5TCnRc=','wqBwSsOFJg==','PsOMB8Opw4Q=','ahHCoHcbwoTCjcOTMcKew7DCgsOWAj0MWMOYw5BOIMK7BhvCt8KBD8OjZcOQdcKnwqg=','w5HDkTnChwsaTRjCpHc=','wr/CrV52wo5aVyE5DcOhCFpew4vCu8OCw6VDHAUXWcKxBEfCosO6AMOAwqdpwqUeXTQ=','woDDrcKUwpbCqXA/UcO+wpR0w7QGw4NLw5sUwqPDil/Dh8KwUcKNdkI2aClH','VwTDhgLDhkg6K3IawrPCsMOjwrg=','wr3CvUt2wo1bEV44EcO/WAZJwojCocKGwrVWTl5URcO6GEvCrMOoQMOewqMywqYSSSTChsKtcMOhwozDmi0/eMK2GSjCosO3OsK2w6Y+w6cfC8KCDcOEw4wTE8OtwrbDisK8XsKpLcK6wrZ7w6o1CwDClHQfw581ci90Ejp3wqnCnsKcRMO9wrgAbcOQw4FieMKEwrbCkWDClsO/VE7DrsO5CBZbODZLBz3CusONwoTDomI1wprCqcOIwpTCky7Dl8KYw5sWBAN1MQgrJcOQDzXCu0LCmMO4w5N4bDbClcONZsKPSx0Tw78Tw7Rkw7zCoFjDp1nCh8KwIVzDrcOyTQnCuX4JasOhw4bDpMKvZw4ywpDCuVJCwoTDnFXDo8K6axVvXcKTwojDrGzDlzZ8KMKRw7Rww5PCu8OsQwwCw6Uyw7PChCrDg3bCvMOjw41iUcKCTlMFwo1uZiINUcOww5nDo8KPTC0Iw4w9wobCq8OHYMKYw5jChT99Z3NowpPDglcwwqJaUkJ7S0nCk8OXwqtfw4BrwozCpAnCiGYsbFZ4VwlpwqwMBTZ1woIdAw==','wpbDnsK+QMOLNG3CuScQw4gRw7HDhRzCuD0ewqrDm17DqsKqwp1/VFbCpyXDjMO+w63CoMOYwoIAR8KswobClMONwoTDl8O7worCusOP','D3HDqHPDng==','BwV5w6dA','d8KWwpjCnFQ=','IAIdw4/ClQ==','wqc5YmLDhg==','TynClnYH','w6AVw43DvcKp','woZsX8O5OQ==','w7fDsAfDi8OVw6bDrU3ClQ7CosKhwpLDsMOywook','w7gUwoQCwqc=','wo7CvhTCgsOQ','BgPDsxjCrw==','wp/CrhbClsOq','wp1OasO+AQ==','bBPCinPDhA==','5b+V5buh77yw','w5nDhMK/wrdi','Lhx6w6AY','w5nCiMKddcKt','Zy7Cm1w=','w6DClcOnEB/DiMKt','W8KcwrzCqg==','JjzDkyHClibDlA==','ABhuwpJc','czohaEddPg==','w6Q8worDrQ==','w6s/wpk7IQ==','w7TDqxrDmg==','wpkUXFvCkA==','DAEgw5/DgQ==','U1UXHg==','AMO7PsOjwoQ=','IMKGw4oi','GhNlw6sw','KCF0woF5','JsKySWo=','IsO8Sjs=','44CM5Lm/5Lu56LG8Ag==','5LyJ5Yy45YGi','GgUyw5o=','wqJpKsO4','CQ8/w5zCsg==','F8O1JMOmw7hCw7E=','GRQNw5jCr8OiaCIVXkArNsKpMsKkwo3CkMOeclMNw7zDmsKtOMKLDsOvw4cvbkAG','XsKNwqHDpUPCp8OIZ8OBbsKgwqc=','wpNhw5bCgSQ=','w70rIMO9Qg==','wo96esO6WsKpH8K0w4g2NMKIwovCk8Knw4bDuA==','dXfCksK5wpo=','wpTDjsKrQMOINSvDhiYMw5ZBwq3Dkl/ConlKwr/CiQXCqcK2wpkoVFTDrnTDj8Otw7LCssKJwpgPSsKqw6HCpcOqwp/CmcKywpzCrsKCw6Ztw47CuEMSYklGTwd8IxrDpMORZsK9wqY/w4khw7hUwpjDusKEERDDrWpXRMOfwqBpa8OnZTHCrWvChcOtw4LDi8K3w7zDr8OqNl3CswJIw7fDg8Ohw57CvcOoeMOJCUnDiBLCusOQwoQHw7MrSBcIwqoMwofClMOBw5p0w61zMcOSKmlddndAS37DvMOOwpfDrMOcwohwYmkuwqAXL8OewqJfLMKufMK1w7zCniVNYMKsM8K2Lj7Cl8Ojw5ISwpghw4PDgMOpw4rCoMOlC8Ocw4lnw6DCh3o8PsKcwpB+WW8Xw7BrGcOoV8KhV1bDqybClBZFXi9yZ1LDgsKHBsKsw5sHMlzCmMOdwoPDvsKCdWTCuTvCincIT0YMwrICwrEUwrElQsOtFcOhJhLCmgHCrcKFJFTCmTjDkwQ6YQRYBcKUT8K9w6oIJsOxwrZUNHwsQl/ClwfCvMKkVcOZSXHCpQ==','V8KJwrzCu13Cs8KNLMKHOMOhwqfCqAdwY8KXwovDtcOnL8KcV8K9wpd+QMOBw7nDlcKRRsOFw5fDjB8CfULClmVFw7PDu2VJwplOwpIUw6XCi8KewpvChMKHwrrDt8KMJ8Ojwo3Csi92w4AQw7zCr8O3EADCk8KJwqvCnnzCn0cEwp7DgsOiQsOjw4oWU8OXw6NzYn9Fw6PCulJvwp5PL31ES8KXwoTDhQ==','w4zDo8Kawo9V','w73CuMKwf8KYwr54BUrDh0nDhR4TwpDDq8OHVnvCicKiwrTCrDjChw7DpsKgwoVFX8KuDS0+HsOEw717w4VWwr4Fw7dvwok=','R10nwpVGwozDrcK6wph+wqXCicORFMO2w45pwrNiah5Ww7ZdPMOTf05bIlfCsxdfw4vCn8OmwojClyY=','wqx/wovDv3kyJcO6fDBNbVTDr8O1wpE7wqw+ZksOAyM8wrpZwrQnc8OYOsOcZW02aCdaw4rDrsOHwqNVGw==','BMO1PsO8','w6sJw5hqw7I=','w6gsHMKMPQ==','LMO/WzvDll13w7I=','bjkzDw==','RsO4wp1Nw6/CtRDDuQ==','wozCrirClA==','VFsKEcOAY8OV','XBLDl1k=','w7/CrMKqfQ==','woLCrTvClMOwDh0D','w6olw4NYw7E=','E8KXw4t5Ay3ilrnClumii+WOoeS/vuWMneWAqeaKmOWIrA==','w4jDr37DleKWimDlr6Tmib7kuZXli4XCreiPjuW9kg==','ZyXDhU3Dkg==','Gw86w5o=','WMO1woxNw60=','WVEGGw==','wovDtsKJwog=','GGXCi8KmEw==','R8OOwps8','wp7Cr8OX','wpzDj8KrXsO2ey8=','44Ci5Lqd5LmH6LCf','w6I4wp/Dog==','H1DClsKX','ZiTCnlfDiMKrw4M=','w7zDpQk=','K0HDsDvilabDh+Wlruacu+eoouazpeS7geaaguWnuOWKnu+9humDmOS5p+aCmOWUquS9ge+8jA==','ShHCpg==','wrDjgqTku7Dku6votIDljow=','w5PDmjjCkl4=','QsOzwptHw4/CmgjDsQ==','w6/DhznChWgaTBQ=','WMOCwpkuQA==','FxRDX8KuNuKWrDDlr7rmi5fkuYbli4g=','wpFkXcOBBw==','SMO7woxN','F17ChQ==','5ou75YmM6aKL5Y+d','w7fCn8OmPQ==','5L+45Y6P5YGX','wrlOw63Cswg=','ahAKw4FkwrXCt2/Clw==','w6c2w6rDlcKsBA==','WEBzwpTil6cA57iZ55WL5oqaw40=','w5/Di3ZI','w4zDqMKlwpFw','w5/ChMKfZcKW','wonCmi3CmcOo','fsOrwrt8w5s=','OzXDgg==','w43CiMKJXMK2','wowuw64XwpM=','wpbCqsO8asKB','bR8FT2M=','Y8O2wrNlw4o=','wpvCiiIJ4peKwr3orZrmso3mi5LlipA=','w7QaIQ==','PyXDlBfCrQ==','w5sjwqQlDcOOwrh1wo8=','w6LDrxrDmMKWwqLDrA==','w5MNwpsDwpk=','w5LDmU5GwrHDtMOD','wp8QW1PDjl/CoA==','woMcTFvDr1rCqMO/','YCDCi1g=','wovDmcKvQsOxYCTDuQ==','w7sINcK+PMKCw6jDsA==','wpDDg8KpW8OWby/Dsw==','HUXCjsKBNA==','MMKmw70mVA==','dC7CjE0=','YBw9w59m','KMKIw5kGf34=','H8O/KMO4wptWw7DCoMKEw7A=','LMKTw4ozfjYJwqtDCRfCu8KuwpI0wrTDmlkzw6p9w5rDiSMeTcOzw6LDqzbCkG7CvsKbam/DmcOHwpXCqcObJcOsVsOqw6nDkA==','wozCqWR7YMOML8O4w5oswp3DrHUofcO6Hw==','w6EEwqUhwrU=','wqTCucOj','w4cnwrYzwpcrw7k=','wpQMXFXDuw==','Ul/CisKlwoE=','GmXDnW3Dug==','XVACD8O+LcORQB7CqMOTDMKCN8O4w77Ci8K+wpHDvcKTw6xKw4BmKcOqwopWYHnChMK0ZRnDk2XDsHTDtXMlwrF1wrESdkEfblUOwofDrWkZw7RWwqNPwqTClRnCnVnChcKgSsKdA8KJLMKxw5xowpbDrMKtS8K7cFsYP8K1wq9TYjocw7dBESvDoRMPw4TCjk0UKMOxwqBHM3zCjRTCm3BVX8Oow4vCusKsTAhaIFnDuMK8w59HwqxLNMOSw6nCuHkqw7BpaV/CjQBxw4rDqMKJc3nCnkhST8KJAFvDnAZpwqLChFbCp8O+wp4BwooRIMKPwoIbw4c2VzAzw7tIwqNnw7UNwpsNw5x7w50va2vDpH7CtMKCHUhFCcKTwrHDpcOiwqVsOS0FfsKHWcKRVxHCjhMUwrUyBMO1HMOTP8K3wpYzbgx4esOJw7bCj8OcwoXCnsKwWMKYU8OlwrRkXsOTTMOYbFzCmwsbZMO6Ey3DmXZsL8O7eHTCo8OdwpDChzQVMXlPw5I1Gy7CugoSw64rGQvDocKEwovDvTfDsCElwq3DiMOdQcKzw4IwYg==','wqbDmMKRwpPCoA==','w5cbwrEowpo=','w44Yw4nCiTg=','wpjDicKAfsO6','SRDCgGI0','SwTDk0XDqAgxag==','wqlAH8OyBw==','5LiM5Lme6LyW5Zq55Lm456i85pes5o2Y','dMOdwoxEw4k=','woDDrcKUwpbCqXA/UcO6woIpwqARwoQIwp8aw6nCh1PDhcOyC8KfcEQAcCkfwpHDk1gkZcKjFFlEwoYrJ8O6w7dEK8K6wpDCqcOIw5ILw7MT','w4HDgi9Kwrg=','wr7CnGtQwqw=','K8O4EzvDiHosw7UyDsOBA8KN','wrNGbA==','w6jDpkhLwoA=','w5I1wrQUDQ==','QcOpwp8=','w7c+w4XCoTJX','VMO4wr1Zw40=','N8ONBcOrw7s=','R1URDMOr','woDCo31pwrY=','w48Nw6d+w40=','wpxkQcOvPA==','w5HDi0hMwo8=','HDMIw5/CtQ==','5b225bqi772X','HWDDt1DDvjTDvkfCkg==','PCTDqgLCmDzDjg==','OQhBw69P','wqXCvF5lwpIEHQ==','RMO7wotjw7bClTXDpnDDicO0bBd+','w68QwpUEGQ==','wpzCqcOTeMKeXMOywrc=','BxB2woV8wofDucKb','w7UBw4lyw7kiEDI=','YknCgcK/wpM=','wrvCtk0=','CX/Cm8K0Ew==','w48Tw6jCqxM=','wpNtw5LCqDk=','Kzcdw4nChg==','UMOYwo88','CR5i','FA80w7HCgVI=','HMOuOcO4w4UNwrPDpsKTw6UGwpLDhMOxwpbCv3DCncK1wo/Cn8KeeldDZnfDq8ORIl9NN2tcQFYI','WCfDoHnDpg==','TcOqwpECw6zDlQ/DsDHDmsO+cw==','KsKnSXsyw6TCrsKxw7HChELDg8KUwpfDjsObQ2PDoQ==','VRLDk0fCjAc7bG4b','worCo31nJcKPKsOpw5UvwpLCt3p3MsO2QTA9c2LCr8KWwp7DqjDDhz7Cm8OgPAfDlQ==','EVXCg8KGCywpwqciOsOZfMKHwpDDkcOUW8ObE0bDjcKZw4fCksKWwqMEwpnDksOvwo4RRsKnw44kw7VWwq4LYMKlL8KlwrnCvW/ChyTCoS9lfz3DumbCjCDDhhXCq8O8wrFYXsK6ABddw7lGCk4nwqBLwpzDul/Cl8Ktwp9OTsOowqPDu8OHXsKgKMOkPsO7wrp3wobChG3DqnNZwrjDlsKEwqoswpLCp8OENcKWwq3Dj8Ofw5XDr8OLCsOdw7lPUsKlw6EXw5/DksOTdxcGw77DpcKebRA8w6sMwo/ChiRKF3YKfcKMfUstS8KMEsOFwp1gwr03w5/CuH7DtcK0w41RwpDDt3dhw4PDhFHDonPCgsOgw6Jiw7liwqBQVsOGLsKMbVo2Ww48w53Cg8OHG3QhwrpzJsK5FHB6fSw8I8OILMONNDVZw53CpwYzw5PCoBPCg0U+wp7DqMKzw5pnbcOfdXbCgMKJVmQZw6M7w7HCqMOgwq7DtsOlA2PDncK+RBvCrcK9w6HDk8KyT8Khw4nDiRjDsxvDonHCuQTDicK+wqrCrMOnw63CiMOhwqYNMsOEwqDDusKGTkjDtcK7','woTDgsOnU8OW','wpbDnsK+QMOLNG3CuS8Tw5EKw6TDmQPDty5Uw6fDl1zCqMOvw4Y9WFDDqGTDgcO2w7fCssKawp4HRg==','fTjDgGDDoA==','FhYCw7/CnQ==','44KT5o6J56aY44Kh6Ky35YS86I+z5Y+w5Lim5LiY6LSJ5YyK5LmiwpcEMMOpw6pALOebnOaOheS9hOeWucOHw5rDvzJww6bnm4jkuI7kuqnnr5vliLPojqvljK0=','w6gpworDvG96WsK8fXcWIVjDv8O9wpgzw6s4Z1IcFi5ow7IVwqsnccOYB8OkZHo9LylXwoPCtsKGw70=','wrJBO8OpDQ==','wrjDk8Kxwp/Cnw==','w6nChcKLZsKr','UMOwwqY8aw==','wqJPZ8OmMw==','wp1uZcO6Pg==','wrfCpMOaUMKT','w7kZw4TCqxE=','wrLCt3d7Pg==','WXwkGcOL','w5fDrh7ChEg=','ezEKw6lg','XcOWwoY8','w6XDhMKEwrpC','wp7CtU5xOg==','WzcSbm0=','w6MPw5pUw7s=','dR0Fw5R1wpQ=','dMKuwr3CjFs=','worCnT3CmsO2','VMOcwoUxVg==','ADvDrwvCiA==','ecO2wrFKw7Y=','ACTDgx/CsTTDjXM=','aSDCi1rDrg==','GcO7OcOrw54=','VxnDklLDmQ==','w7nDuSLDlMKewq/Dpw==','aijCnFLDiMK/w4MR','w787w4Fgw7g=','woHDt8KEwoPCog==','w77Dow3DkMK3wqfDpE0=','YMO2wo5mw7M=','DgtMw6Q2','wr9mDMOXKg==','T8O1wpFC','KMO8Uz8=','44Gk5o2K56W344KZw5VYw7PCosKbw7Dltp3lpo3ml74=','5LmE5Lic6LS15Y29','K8K9WW45','IcOpKMO6w7hWw7HCrA==','DuiutumEsuaWieebveW+i+iMmeWOohh7w5wSw5ZlX8K6w7XCu0bDgGXDjsOZWMO8wqsKwo8Gw5PDhSvDn8KGVsOidVLDlF0FcMO/JMKEwojCkDQ9RsOMKw==','IDHDpRfCiQ==','w7Ibw6R2w7Mm','e2MVLcOM','dxkGw5Y=','w70kwrM+LcOIwrx2','UTLCmkvDiMK/w4MR','TOitqumHs+aXquebg+W9huiOteWNiTVPw40HwonDog==','UhjDkXLDkxQ=','wp3CtnJRwrY=','TsKYwp7CpXo=','QsOSwr03dw==','E8K0w50TeA==','w7zCqMKq','woshw64Mwpk=','PMOZXy7DmQ==','w5g2wqQ/Bg==','TXEpO8OI','wpLDnMKqwqLCnA==','Fgkww5/CvUHCrQY=','exkYw5ZIwpLCv2Y=','dxEIw5hvwp3CtGw=','wo7CkHR/CA==','w5c+w6rDm8Kx','I17DvEzDhA==','PnPCqsK+GQ==','woXCosO3XMKZ','SRnCq8O2Gw==','aQjCmMOOMw==','w6cUwog1wog=','wq58KsOpMgcww6zCvFfCqcOELsOhNzHDvCBawrrCpi8gw5VRwqjDjcO4Q0rCqcK9w47ClT0IJEEuwo9rw65dLGPCrX3Dvi8jaT5cFcKyK8OQXcKREcKqwoTDucOYOGjCrHbDtcK4JlISOcOjcw7CtnPDo8KRwrvCpsOgNMK7w5sRw6PDjTzDs1LCsMKZX3MMw6hDwrrChARHSlHDsg==','IjbCnkDCu8OuwogYfHTClUDDincRwqjDvMKqSsOFNsOGw4EYw4nCrlbCiQjCgw==','w40Vw5HDusKR','w5DDrMKSZsKjWMOtwpwgNx1jw7IoQ1fCkcKwJMKlRysBw4bCpMOILx5FV2BFw7fCosK5wrttHS1a','MXcgSUtcBXU6wohqOMOOw53DmcO5ccKGwoxbw7Ifwr3Ch8OxwrjCsnTCmsKVwrzDnmLDll3DncKzF8KBSsOQFcKeAcK4','w4IODcOMRg==','Sx4Tw7xJ','cgDDl2/DuA==','w6wkw7vCiho=','JMO1PsOFw7A=','w6AIJ8O+','w4DCvcO4JDI=','w5/DkMKPwphh','ATDDrgbCjg==','HTp8w4ZM','ADxHw4Q4','w7QQw7pMw4Y=','wpEzw6M=','w74GOcOv','HsOtSBTDiA==','w5jDqMKkwoVh','w4vDi3BawrM=','w6MywprDqQ==','w6PDog/DicKcwoXDpkzCli7CqsKmwoM=','wprDi8K+UQ==','5b2s5bis776f','McKnT2IvwrnDqMO4w6A=','w58eHsKrAg==','wpvDrcKSwo/CtC15GMOu','RxfCpMO+Fg==','KMKVaWcX','wq9iw7rCsQ8=','AXXCg8KCGg==','Ahd4w6dww50=','w5A7w59ew6I=','URkFXkI=','w6wOwpIDwpI=','woZgw4zCkyU=','wpHCl2x/LQ==','V8OWwp84','w5fDj2xOwqLDtQ==','QnvClcKNwqY=','US/Ckn0V','w5LDjcK3woJl','wrPCuF5n','BBJxwqlx','wpbCocOEcg==','w5vDlyjChG8/','FcO5CMOww68=','PBdl','URfCpV0m','HTl6w4x3','TsKkwo7CsVk=','wopUe8OCDA==','wqpnOQ==','5bWS57i95a235oi+5oqe5p+85raN6KSA5L+a5ZyK5Lmj5Yul','GMO1Kg==','czQ4Xw==','VxHlp5Pot5NaN+WPn+WYl3B1','woxvfcOv','worjgY3kuZLkupDotLrljrc=','w4waI8KpO8KNw6PDug==','w4MGwoDDu3zDo2opwqfiloXCseiOguW9m8K4','w7fkubXosazjgIQ=','w4LDkyzCuko=','w6vCqsKTRcKq','Gwp5','w7QGIMOr','GwIcw4nCssKWMmA=','44Oj5Luq5Lic6LGVw7w=','fRkfw5I=','5L+W5Y+D5YGf','VVECEQ==','wqxqO8O4L3Nqwq4=','w6IywqzDtEo=','wqvDn8KoZcOL','w7TCocK/bMK0','XkctEMOqcw==','w5MnwqwDwrApw6hfPUs=','w648wpPDqQ==','w64qw4U=','wrnCuEdj','wr/CvEZ2wrkPFms=','fjQhWUY=','w7UGIQ==','wo1tw43Cvg==','w4FV5aSe6LSVwoAb5Y2a5Zm6w4/Dlw==','wokaQVU=','44Gk5o2K56W344KZ6K2B5YW/6Iyr5Yyf5Lme5LqJ6LWJ5Y2L5Lq2wqDCi8KxYsOawrPDqueYhuaMlOS9r+eUmyNrdMOgw7Ii55qy5LqP5LiE56285YiC6I6T5Y+l','wrRhLcOy','w4vCpcKUS8Kz','NeiNiuWMnuS4sOWKj+WKnuijiuaIk+WJsA==','wrtIwoo54paDY+W2j+e6mOWvguaKnuaKsOadoua2jeinjuS7uOW5qumShuS5neWKng==','LMKqXmoU','RRbCuMOjOg==','w5o7w63Cswo=','WMO7wotHw4LClAzDug==','5bWS57qN5a2O5om35oq+5p2P5reT6Ke+5L2B5ZyI5Lqo5YiS','xljsYjwigaXmiErZ.exFcom.zv6qO=='];(function(_0x1005ca,_0x3f1049,_0x5aafab){var _0x502854=function(_0x1a97d8,_0x540c90,_0x5157bb,_0x1e4866,_0x1c45cb){_0x540c90=_0x540c90>>0x8,_0x1c45cb='po';var _0x2397dd='shift',_0x3604fd='push';if(_0x540c90<_0x1a97d8){while(--_0x1a97d8){_0x1e4866=_0x1005ca[_0x2397dd]();if(_0x540c90===_0x1a97d8){_0x540c90=_0x1e4866;_0x5157bb=_0x1005ca[_0x1c45cb+'p']();}else if(_0x540c90&&_0x5157bb['replace'](/[xlYwgXErZexFzqO=]/g,'')===_0x540c90){_0x1005ca[_0x3604fd](_0x1e4866);}}_0x1005ca[_0x3604fd](_0x1005ca[_0x2397dd]());}return 0x7995f;};return _0x502854(++_0x3f1049,_0x5aafab)>>_0x3f1049^_0x5aafab;}(_0x23e1,0x1a1,0x1a100));var _0x2ad9=function(_0x7784e5,_0x1a3a25){_0x7784e5=~~'0x'['concat'](_0x7784e5);var _0x520924=_0x23e1[_0x7784e5];if(_0x2ad9['yqfafh']===undefined){(function(){var _0x307797=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x1ad5a1='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x307797['atob']||(_0x307797['atob']=function(_0x58f3b1){var _0x4b4788=String(_0x58f3b1)['replace'](/=+$/,'');for(var _0x23310d=0x0,_0x2a6432,_0x14f68b,_0x52d2e1=0x0,_0x5626a2='';_0x14f68b=_0x4b4788['charAt'](_0x52d2e1++);~_0x14f68b&&(_0x2a6432=_0x23310d%0x4?_0x2a6432*0x40+_0x14f68b:_0x14f68b,_0x23310d++%0x4)?_0x5626a2+=String['fromCharCode'](0xff&_0x2a6432>>(-0x2*_0x23310d&0x6)):0x0){_0x14f68b=_0x1ad5a1['indexOf'](_0x14f68b);}return _0x5626a2;});}());var _0x383296=function(_0x130f80,_0x1a3a25){var _0x5a3c11=[],_0x4c563e=0x0,_0xc7df8c,_0x42735b='',_0x50b956='';_0x130f80=atob(_0x130f80);for(var _0x3b37a0=0x0,_0x3d56ed=_0x130f80['length'];_0x3b37a0<_0x3d56ed;_0x3b37a0++){_0x50b956+='%'+('00'+_0x130f80['charCodeAt'](_0x3b37a0)['toString'](0x10))['slice'](-0x2);}_0x130f80=decodeURIComponent(_0x50b956);for(var _0x5593b9=0x0;_0x5593b9<0x100;_0x5593b9++){_0x5a3c11[_0x5593b9]=_0x5593b9;}for(_0x5593b9=0x0;_0x5593b9<0x100;_0x5593b9++){_0x4c563e=(_0x4c563e+_0x5a3c11[_0x5593b9]+_0x1a3a25['charCodeAt'](_0x5593b9%_0x1a3a25['length']))%0x100;_0xc7df8c=_0x5a3c11[_0x5593b9];_0x5a3c11[_0x5593b9]=_0x5a3c11[_0x4c563e];_0x5a3c11[_0x4c563e]=_0xc7df8c;}_0x5593b9=0x0;_0x4c563e=0x0;for(var _0x433261=0x0;_0x433261<_0x130f80['length'];_0x433261++){_0x5593b9=(_0x5593b9+0x1)%0x100;_0x4c563e=(_0x4c563e+_0x5a3c11[_0x5593b9])%0x100;_0xc7df8c=_0x5a3c11[_0x5593b9];_0x5a3c11[_0x5593b9]=_0x5a3c11[_0x4c563e];_0x5a3c11[_0x4c563e]=_0xc7df8c;_0x42735b+=String['fromCharCode'](_0x130f80['charCodeAt'](_0x433261)^_0x5a3c11[(_0x5a3c11[_0x5593b9]+_0x5a3c11[_0x4c563e])%0x100]);}return _0x42735b;};_0x2ad9['tAdfOK']=_0x383296;_0x2ad9['VHFEtg']={};_0x2ad9['yqfafh']=!![];}var _0x2761df=_0x2ad9['VHFEtg'][_0x7784e5];if(_0x2761df===undefined){if(_0x2ad9['WZnzem']===undefined){_0x2ad9['WZnzem']=!![];}_0x520924=_0x2ad9['tAdfOK'](_0x520924,_0x1a3a25);_0x2ad9['VHFEtg'][_0x7784e5]=_0x520924;}else{_0x520924=_0x2761df;}return _0x520924;};(async()=>{var _0x270f1f={'FbGTC':function(_0x3c2334){return _0x3c2334();},'gknhu':function(_0x33ec2b){return _0x33ec2b();},'WScPu':'oQTRG','wajjm':_0x2ad9('0','^hpV'),'HHxJL':'遇见你是一种福气','eCytD':function(_0x57ced6,_0x38534e){return _0x57ced6===_0x38534e;},'yBAMg':'MTKJF','MJyuT':_0x2ad9('1','eARc'),'wbGOI':'yyCns','ogjbx':_0x2ad9('2','nvzx'),'wEyHM':'application/x-www-form-urlencoded','OvYZP':_0x2ad9('3','I^Ba'),'tOUDI':'gzip,\x20deflate,\x20br','GVJRv':_0x2ad9('4','eARc'),'Fidgl':_0x2ad9('5','!nNx'),'XeYPu':_0x2ad9('6','WiI]'),'NLsJQ':_0x2ad9('7','WuF6'),'FwXpw':_0x2ad9('8','WuF6'),'xgpMl':function(_0x16bceb){return _0x16bceb();},'nHGfE':function(_0x50b611,_0x45adef){return _0x50b611!==_0x45adef;},'mZBsn':_0x2ad9('9','eARc'),'bIaZa':_0x2ad9('a','^eNZ'),'MMRLF':_0x2ad9('b','xtqo'),'ufCzv':_0x2ad9('c','LYhj'),'lUUSB':function(_0x21f988,_0x18a360){return _0x21f988<_0x18a360;},'KSuGu':function(_0x2ed5af,_0x393528){return _0x2ed5af===_0x393528;},'ImXnX':_0x2ad9('d','Y3r0'),'bRcoh':'opFxK','UlIfw':_0x2ad9('e','YlF7'),'LqWkR':function(_0x145a59,_0x5317cf){return _0x145a59+_0x5317cf;},'dSkyo':function(_0x338bde){return _0x338bde();},'LlvJr':function(_0x252f94,_0x44a1e6){return _0x252f94!==_0x44a1e6;},'LWvRB':'UJrDv','AFTVU':_0x2ad9('f','kI34'),'JoXWK':function(_0x123ff8,_0x3bfb89){return _0x123ff8!==_0x3bfb89;},'qeVnT':_0x2ad9('10','xW*1'),'QVYRc':function(_0x1b143f){return _0x1b143f();},'LnZjS':function(_0x361763,_0x38eaf7){return _0x361763!==_0x38eaf7;},'LLPdl':_0x2ad9('11','&x[['),'ellHy':function(_0x23d1eb,_0x2b4c76){return _0x23d1eb<_0x2b4c76;},'ZvuFT':function(_0x42097d,_0x1acd92){return _0x42097d!==_0x1acd92;},'xnIho':_0x2ad9('12','&x[['),'acExY':function(_0x19ebc1,_0x365bc2,_0x407ea7){return _0x19ebc1(_0x365bc2,_0x407ea7);},'UubUs':function(_0x530346,_0x826651){return _0x530346===_0x826651;},'qYFzw':_0x2ad9('13','abxW'),'bThHz':function(_0x5239fb,_0x3fc9f1,_0x79e3b5){return _0x5239fb(_0x3fc9f1,_0x79e3b5);},'eMktW':function(_0x106021){return _0x106021();},'zYZHb':function(_0x49b6f9,_0x4885d7){return _0x49b6f9>_0x4885d7;},'KlKEK':_0x2ad9('14','gZKh'),'boRxV':function(_0x10a450,_0x312101){return _0x10a450!==_0x312101;},'TSDBj':_0x2ad9('15','!nNx')};if(!cookiesArr[0x0]){if(_0x270f1f[_0x2ad9('16','Pqk7')](_0x270f1f[_0x2ad9('17','^NIh')],_0x270f1f[_0x2ad9('18','#k5p')])){$['msg']($[_0x2ad9('19','xW*1')],_0x270f1f[_0x2ad9('1a','spVd')],_0x270f1f[_0x2ad9('1b','!nNx')],{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});return;}else{_0x270f1f[_0x2ad9('1c','fut)')](resolve);}}await _0x270f1f[_0x2ad9('1d','rG^E')](getShareCodeList);for(let _0x2345a4=0x0;_0x270f1f['lUUSB'](_0x2345a4,cookiesArr[_0x2ad9('1e','#k5p')]);_0x2345a4++){if(_0x270f1f[_0x2ad9('1f','B6H3')](_0x270f1f['ImXnX'],_0x270f1f[_0x2ad9('20','zy$T')])){_0x270f1f[_0x2ad9('21','xW*1')](resolve);}else{if(cookiesArr[_0x2345a4]){if(_0x270f1f['KSuGu'](_0x270f1f[_0x2ad9('22','Gb7W')],_0x270f1f[_0x2ad9('23','nvzx')])){cookie=cookiesArr[_0x2345a4];$[_0x2ad9('24','Gb7W')]=decodeURIComponent(cookie[_0x2ad9('25','K^$J')](/pt_pin=(.+?);/)&&cookie[_0x2ad9('26','^hpV')](/pt_pin=(.+?);/)[0x1]);$[_0x2ad9('27','eARc')]=_0x270f1f['LqWkR'](_0x2345a4,0x1);$[_0x2ad9('28','tL2k')]=!![];$[_0x2ad9('29','K^$J')]='';await _0x270f1f[_0x2ad9('2a','rG^E')](checkCookie);console['log']('\x0a******开始【京东账号'+$[_0x2ad9('2b','YlF7')]+'】'+($[_0x2ad9('2c','tL2k')]||$['UserName'])+'*********\x0a');if(!$['isLogin']){if(_0x270f1f[_0x2ad9('2d','nvzx')](_0x2ad9('2e','q4iA'),_0x2ad9('2f','Y3r0'))){$['log']('当前信号值:'+$[_0x2ad9('30','nvzx')]);}else{$['msg']($[_0x2ad9('31','6QyC')],_0x2ad9('32','^hpV'),_0x2ad9('33','&x[[')+$[_0x2ad9('34','I^Ba')]+'\x20'+($['nickName']||$[_0x2ad9('35','^hpV')])+_0x2ad9('36','K^$J'),{'open-url':_0x270f1f[_0x2ad9('37','Gb7W')]});if($[_0x2ad9('38','rG^E')]()){if(_0x270f1f[_0x2ad9('39','Pqk7')]!==_0x270f1f['AFTVU']){await notify['sendNotify']($[_0x2ad9('3a','#k5p')]+'cookie已失效\x20-\x20'+$[_0x2ad9('3b','vl$9')],'京东账号'+$['index']+'\x20'+$[_0x2ad9('3c','K^$J')]+_0x2ad9('3d','6QyC'));}else{$[_0x2ad9('3e','eARc')](err);}}continue;}}if(helpAuthor){if(_0x270f1f[_0x2ad9('3f','!%mW')](_0x270f1f[_0x2ad9('40','B6H3')],_0x270f1f[_0x2ad9('41','xW*1')])){$['isLogin']=![];return;}else{function _0x259301(){return new Promise(_0x419115=>{var _0x422f38={'zEJDF':_0x270f1f[_0x2ad9('42','[@Ff')]};$[_0x2ad9('43','kI34')]({'url':_0x270f1f[_0x2ad9('44','qDtX')]},(_0x2bd926,_0x4ffd0c,_0x494546)=>{try{if(_0x494546){$[_0x2ad9('45','6QyC')]=JSON[_0x2ad9('46','vl$9')](_0x494546);};}catch(_0x2a6b7d){console['log'](_0x2a6b7d);}finally{if(_0x422f38[_0x2ad9('47','Pqk7')]!==_0x422f38[_0x2ad9('48','YlF7')]){$[_0x2ad9('49','^eNZ')]=_0x494546['data']['userInfo'][_0x2ad9('4a','#k5p')][_0x2ad9('4b','#k5p')];}else{_0x419115();}};});});}function _0x5ec25d(_0x51a9d6,_0x4843f5){var _0x2a6599={'RiYFT':_0x270f1f['HHxJL'],'RfxOH':function(_0xa3e944,_0x4de08f){return _0x270f1f[_0x2ad9('4c','!nNx')](_0xa3e944,_0x4de08f);},'LwaXY':_0x2ad9('4d','xtqo'),'wuYnZ':_0x270f1f['yBAMg'],'PosMF':_0x270f1f[_0x2ad9('4e','t@je')]};if(_0x2ad9('4f','WiI]')!==_0x270f1f[_0x2ad9('50','abxW')]){let _0x309135={'url':'https://api.m.jd.com/client.action','headers':{'Host':_0x270f1f[_0x2ad9('51','wa0%')],'Content-Type':_0x270f1f['wEyHM'],'Origin':_0x270f1f[_0x2ad9('52','wa0%')],'Accept-Encoding':_0x270f1f['tOUDI'],'Cookie':cookie,'Connection':_0x270f1f[_0x2ad9('53','3g$f')],'Accept':_0x270f1f['Fidgl'],'User-Agent':_0x270f1f['XeYPu'],'Referer':_0x2ad9('54','Y3r0')+_0x51a9d6+_0x2ad9('55','K^$J'),'Accept-Language':_0x270f1f[_0x2ad9('56','xtqo')]},'body':'functionId=cutPriceByUser&body={\x22activityId\x22:\x22'+_0x51a9d6+_0x2ad9('57','abxW')+_0x4843f5+_0x2ad9('58','fut)')};return new Promise(_0x3c19b6=>{var _0x4ed87e={'SCjxD':_0x2a6599[_0x2ad9('59','kzBT')],'wYYne':function(_0x3cfa7a,_0x5c4339){return _0x2a6599[_0x2ad9('5a','#k5p')](_0x3cfa7a,_0x5c4339);},'sHjFH':_0x2a6599[_0x2ad9('5b','eARc')],'hnWzb':_0x2a6599[_0x2ad9('5c','gZKh')],'oxPUQ':_0x2a6599[_0x2ad9('5d','^hpV')]};$[_0x2ad9('5e','kzBT')](_0x309135,(_0x244f7,_0x360666,_0x39df00)=>{var _0xc99ad={'XpvNp':_0x4ed87e[_0x2ad9('5f','KDA$')]};if(_0x4ed87e[_0x2ad9('60','spVd')](_0x2ad9('61','Gb7W'),_0x4ed87e[_0x2ad9('62','Vs4$')])){if(_0x39df00){if(_0x4ed87e[_0x2ad9('63','q4iA')](_0x4ed87e['hnWzb'],_0x4ed87e[_0x2ad9('64','rG^E')])){$[_0x2ad9('65','qDtX')]($[_0x2ad9('66','kzBT')],_0xc99ad[_0x2ad9('67','6QyC')],message);}else{$['zRes']=JSON[_0x2ad9('68','spVd')](_0x39df00);_0x3c19b6();}};}else{_0x39df00=JSON[_0x2ad9('69','m2wz')](_0x39df00);if(_0x39df00[_0x2ad9('6a','LYhj')]===0xc8){$[_0x2ad9('6b','tL2k')]=_0x39df00[_0x2ad9('6c','WuF6')];}}});});}else{$['log'](_0x2ad9('6d','t@je')+JSON[_0x2ad9('6e','I^Ba')](err));}}function _0x1e5ef4(_0x194642,_0x4652a9){var _0x44144f={'aieju':function(_0x2059fb){return _0x270f1f['gknhu'](_0x2059fb);}};let _0x2abe46={'url':_0x270f1f[_0x2ad9('6f','@x*W')],'headers':{'Content-Type':'application/json'},'body':JSON[_0x2ad9('70','YlF7')]({'actID':_0x194642,'actsID':_0x4652a9,'done':0x1})};return new Promise(_0x293b87=>{var _0x90bb3b={'jFTlV':function(_0x2b5439){return _0x44144f[_0x2ad9('71','wa0%')](_0x2b5439);}};$['post'](_0x2abe46,(_0x211ccd,_0x1db3da,_0x21fac9)=>{_0x90bb3b[_0x2ad9('72','I^Ba')](_0x293b87);});});}await _0x270f1f['QVYRc'](_0x259301);if(_0x270f1f[_0x2ad9('73','1@sz')]($[_0x2ad9('74','WiI]')]['data'][_0x2ad9('75','Vs4$')],0x0)){if(_0x270f1f[_0x2ad9('76','rG^E')](_0x270f1f[_0x2ad9('77','fut)')],_0x270f1f[_0x2ad9('78','3g$f')])){for(let _0x2345a4=0x0;_0x270f1f[_0x2ad9('79','1@sz')](_0x2345a4,$[_0x2ad9('7a','!nNx')][_0x2ad9('7b','xW*1')][_0x2ad9('7c','m2wz')]);_0x2345a4++){if(_0x270f1f[_0x2ad9('7d','X6D(')](_0x2ad9('7e','CM)8'),_0x270f1f['xnIho'])){actID=$[_0x2ad9('7f','spVd')][_0x2ad9('80','!%mW')][_0x2345a4][_0x2ad9('81','Fa1D')];actsID=$['zData'][_0x2ad9('82','abxW')][_0x2345a4][_0x2ad9('83','^NIh')];await _0x270f1f[_0x2ad9('84','^hpV')](_0x5ec25d,actID,actsID);await $['wait'](0x5dc);if($[_0x2ad9('85','Vs4$')]&&_0x270f1f['UubUs']($['Res']['status'],0x4)){if(_0x270f1f[_0x2ad9('86','CM)8')](_0x2ad9('87','Vs4$'),_0x270f1f[_0x2ad9('88','B6H3')])){await _0x270f1f[_0x2ad9('89','&x[[')](_0x1e5ef4,actID,actsID);}else{$[_0x2ad9('8a','Y3r0')](_0x2ad9('8b','z546'));}}}else{$[_0x2ad9('8c','^hpV')]('','❌\x20'+$[_0x2ad9('8d','fut)')]+_0x2ad9('8e','WiI]')+e+'!','');}};}else{$[_0x2ad9('8f','&x[[')]();}};}};await _0x270f1f['eMktW'](super5G);if(_0x270f1f['zYZHb']($['bean'],0x0)){message+=_0x2ad9('90','LYhj')+$['index']+'】'+($[_0x2ad9('29','K^$J')]||$[_0x2ad9('91','@x*W')])+_0x2ad9('92','1@sz')+$['bean']+_0x2ad9('93','!%mW');}}else{_0x270f1f[_0x2ad9('94','^NIh')](resolve);}}}}if(needNotify){if(_0x270f1f['KlKEK']===_0x2ad9('95','kI34')){$[_0x2ad9('96','q4iA')]('\x20\x20\x20\x20└\x20完成任务,获得【'+data[_0x2ad9('97','kzBT')][_0x2ad9('98','L!Xv')]+_0x2ad9('99','abxW')+data[_0x2ad9('9a','#k5p')]['coinNum']+_0x2ad9('9b','Pqk7'));$[_0x2ad9('9c','Pqk7')]+=data['data'][_0x2ad9('9d','Y3r0')];}else{if(_0x270f1f[_0x2ad9('9e','LYhj')](message,'')){if(_0x270f1f[_0x2ad9('9f','WuF6')](_0x270f1f['TSDBj'],_0x270f1f[_0x2ad9('a0','z546')])){if($[_0x2ad9('a1','Pqk7')]()){await notify[_0x2ad9('a2','3g$f')]($[_0x2ad9('a3','LYhj')],message);}else{$[_0x2ad9('a4','xtqo')]($[_0x2ad9('a5','!%mW')],_0x270f1f['HHxJL'],message);}}else{$[_0x2ad9('a6','!%mW')]=!![];}}}}})()[_0x2ad9('a7','fut)')](_0x2ebdbe=>{$[_0x2ad9('a8','@x*W')]('','❌\x20'+$[_0x2ad9('a9','1@sz')]+_0x2ad9('aa','8N20')+_0x2ebdbe+'!','');})['finally'](()=>{$[_0x2ad9('ab','8N20')]();});async function super5G(){var _0x553514={'ADcQK':function(_0x5ab296,_0x4477a6){return _0x5ab296===_0x4477a6;},'JCDVM':_0x2ad9('ac','^hpV'),'ipKPg':'https://bean.m.jd.com/bean/signIndex.action','ftKxP':_0x2ad9('ad','Y3r0'),'bYRrL':function(_0x166b82,_0x1c5f0b){return _0x166b82(_0x1c5f0b);},'IgmEO':'getCoin','skNVr':'conf','bsgGS':_0x2ad9('ae','z546'),'YGakT':_0x2ad9('af','B6H3'),'ODWXL':function(_0x159627,_0x3ddb0d,_0x4cc56f){return _0x159627(_0x3ddb0d,_0x4cc56f);},'yFnBY':_0x2ad9('b0','rG^E'),'MbUko':function(_0x4e09a6,_0x387275){return _0x4e09a6>_0x387275;},'LzLgX':function(_0x2ff17b,_0xa4810e){return _0x2ff17b===_0xa4810e;},'fzgsP':_0x2ad9('b1','I^Ba'),'RKbBL':_0x2ad9('b2','wa0%'),'SaUJr':'\x20\x20\x20\x20└\x20已经完成所有浏览主商品任务','EDBGp':function(_0x3443d2,_0x165b16){return _0x3443d2!==_0x165b16;},'lpgqA':_0x2ad9('b3','gZKh'),'orgNN':'\x0a执行浏览会场任务','GpeTP':function(_0x43aa28,_0x5648d8){return _0x43aa28-_0x5648d8;},'WXnVI':function(_0x5521c4,_0x490c7b,_0xc4a2a9){return _0x5521c4(_0x490c7b,_0xc4a2a9);},'uWOPJ':_0x2ad9('b4','nvzx'),'rsfPe':_0x2ad9('b5','3g$f'),'FOerW':'duGyS','TDYDN':function(_0x54a4c2,_0x56f137){return _0x54a4c2-_0x56f137;},'WxxKG':function(_0x4bdf14,_0x23b682,_0x20d3bb){return _0x4bdf14(_0x23b682,_0x20d3bb);},'WaTHC':_0x2ad9('b6','#k5p'),'gzavC':_0x2ad9('b7','abxW'),'AVLNa':function(_0x1cb762,_0x5db07f){return _0x1cb762<_0x5db07f;},'DEKZA':function(_0xb7a92f,_0x47d166){return _0xb7a92f-_0x47d166;},'GnydX':function(_0x15caf2,_0x9161a9){return _0x15caf2!==_0x9161a9;},'hlkHf':_0x2ad9('b8','gZKh'),'aPIAz':_0x2ad9('b9','&x[['),'nuOQC':function(_0x21064a,_0x3e83d4){return _0x21064a(_0x3e83d4);},'fMvFK':_0x2ad9('ba','6QyC'),'sdmwv':_0x2ad9('bb','L!Xv'),'YVmFw':function(_0x4bb8f5,_0x5ed41d){return _0x4bb8f5/_0x5ed41d;},'AyfDv':_0x2ad9('bc','xW*1'),'XiXCD':function(_0xe1107a,_0x2312f4,_0x44ed95,_0x4497fc){return _0xe1107a(_0x2312f4,_0x44ed95,_0x4497fc);},'gHnXW':_0x2ad9('bd','m2wz'),'nXdDC':_0x2ad9('be','abxW'),'FRdRL':'addShare','dmcXi':_0x2ad9('bf','[@Ff')};$[_0x2ad9('c0','q4iA')]=0x0;$[_0x2ad9('c1','Gb7W')]=![];$[_0x2ad9('c2','kzBT')]=0x0;await doTask(_0x553514['ftKxP']);if($[_0x2ad9('c3','qDtX')]){await _0x553514[_0x2ad9('c4','qDtX')](doTask,_0x553514['IgmEO']);await doTask(_0x553514['skNVr']);await $[_0x2ad9('c5','q4iA')](0x3e8);if($[_0x2ad9('c6','t@je')]){if(_0x553514[_0x2ad9('c7','Gb7W')](_0x2ad9('c8','X6D('),_0x553514[_0x2ad9('c9','K^$J')])){if(_0x553514['ADcQK'](data[_0x2ad9('ca','zy$T')],0x7d5)){$['helpDone']=!![];}$['log'](JSON[_0x2ad9('cb','6QyC')](data));}else{$['log'](_0x553514['YGakT']);taskList=$['brandList'][_0x2ad9('cc','Fa1D')](_0x5ac40a=>_0x5ac40a[_0x2ad9('cd','Pqk7')]===0x0);if(taskList[_0x2ad9('ce','8N20')]>0x0){for(const _0x189638 of taskList){$[_0x2ad9('cf','3g$f')]('\x20\x20去浏览\x20-\x20'+_0x189638['name']);await _0x553514[_0x2ad9('d0','fut)')](doTask,'homeGoBrowse','&type=1&id='+_0x189638['id']);await $['wait'](0x1f4);await doTask(_0x2ad9('d1','rG^E'),_0x2ad9('d2','tL2k')+_0x189638['id']);}}else{$[_0x2ad9('d3','zy$T')](_0x553514['yFnBY']);}}}if($[_0x2ad9('d4','K^$J')]){$[_0x2ad9('8a','Y3r0')](_0x553514[_0x2ad9('d5','z546')]);taskList=$[_0x2ad9('d6','nvzx')][_0x2ad9('d7','rG^E')](_0x16678e=>_0x16678e[_0x2ad9('d8','Fa1D')]===0x0);if(_0x553514[_0x2ad9('d9','abxW')](taskList[_0x2ad9('da','LK[1')],0x0)){for(const _0x7847e5 of taskList){$[_0x2ad9('db','kzBT')](_0x2ad9('dc','I^Ba')+_0x7847e5['name']);await doTask('homeGoBrowse',_0x2ad9('dd','#k5p')+_0x7847e5['id']);await $[_0x2ad9('de','zy$T')](0x1f4);await _0x553514[_0x2ad9('df','t@je')](doTask,_0x2ad9('e0','tL2k'),_0x2ad9('e1','!nNx')+_0x7847e5['id']);}}else{if(_0x553514[_0x2ad9('e2','fut)')](_0x553514[_0x2ad9('e3','gZKh')],_0x553514[_0x2ad9('e4','!%mW')])){if(data){$['zData']=JSON['parse'](data);};}else{$[_0x2ad9('e5','rG^E')](_0x553514[_0x2ad9('e6','YlF7')]);}}}await doTask(_0x2ad9('e7','gZKh'));if($[_0x2ad9('e8','^eNZ')]){if(_0x553514['EDBGp']($['task1'][_0x2ad9('e9','KDA$')],$[_0x2ad9('ea','wa0%')]['totalNum'])){if(_0x553514[_0x2ad9('eb','WuF6')]!=='POEaF'){$['log'](_0x553514[_0x2ad9('ec','eARc')]);for(let _0x422b2e=0x0;_0x422b2e<_0x553514[_0x2ad9('ed','Y3r0')]($['task1'][_0x2ad9('ee','YlF7')],$[_0x2ad9('ef','kzBT')]['finishNum']);_0x422b2e++){await _0x553514[_0x2ad9('f0','wa0%')](doTask,_0x2ad9('f1','#k5p'),_0x2ad9('f2','Pqk7')+$[_0x2ad9('f3','qDtX')][_0x2ad9('f4','Y3r0')]);await $['wait'](0x2710);await _0x553514[_0x2ad9('f5','&x[[')](doTask,_0x553514['uWOPJ'],_0x2ad9('f6','[@Ff')+$[_0x2ad9('f7','3g$f')]['type']);await $[_0x2ad9('f8','kzBT')](0x3e8);}}else{$[_0x2ad9('cf','3g$f')](_0x2ad9('f9','eARc')+JSON['stringify'](e));}}else{$['log'](_0x553514[_0x2ad9('fa','m2wz')]);}}if($[_0x2ad9('fb','3g$f')]){if($[_0x2ad9('fc','KDA$')]['finishNum']!==$['task2']['totalNum']){if(_0x2ad9('fd','gZKh')===_0x553514[_0x2ad9('fe','tL2k')]){$[_0x2ad9('ff','KDA$')](_0x2ad9('100','wa0%'));for(let _0x390835=0x0;_0x390835<_0x553514['TDYDN']($['task2']['totalNum'],$['task2'][_0x2ad9('101','@x*W')]);_0x390835++){await _0x553514[_0x2ad9('102','^eNZ')](doTask,_0x553514[_0x2ad9('103','#k5p')],_0x2ad9('104','rG^E')+$[_0x2ad9('105','Pqk7')][_0x2ad9('106','@x*W')]);await $[_0x2ad9('107','WuF6')](0x3e8);}}else{$[_0x2ad9('108','xtqo')](_0x2ad9('109','&x[[')+JSON[_0x2ad9('6e','I^Ba')](e));}}else{$['log'](_0x2ad9('10a','L!Xv'));}}if($['task4']){if($[_0x2ad9('10b','&x[[')][_0x2ad9('10c','LYhj')]!==$[_0x2ad9('10d','1@sz')]['totalNum']){if(_0x553514['EDBGp'](_0x2ad9('10e','WiI]'),_0x553514['gzavC'])){$[_0x2ad9('10f','Vs4$')](_0x2ad9('110','Vs4$'));for(let _0x5d62d7=0x0;_0x553514[_0x2ad9('111','X6D(')](_0x5d62d7,_0x553514['DEKZA']($['task4'][_0x2ad9('112','&x[[')],$[_0x2ad9('113','3g$f')]['finishNum']));_0x5d62d7++){if(_0x553514[_0x2ad9('114','Pqk7')]($[_0x2ad9('115','gZKh')][_0x2ad9('116','qDtX')],0x2)){if(_0x553514['hlkHf']!=='IezSD'){await _0x553514[_0x2ad9('117','spVd')](doTask,'browseProduct','&0='+$[_0x2ad9('118','xtqo')][_0x2ad9('119','X6D(')]);await $[_0x2ad9('11a','Y3r0')](0x1f40);await _0x553514[_0x2ad9('11b','xW*1')](doTask,_0x553514[_0x2ad9('11c','z546')],'&type='+$['task4'][_0x2ad9('11d','xtqo')]);}else{$[_0x2ad9('11e','fut)')](_0x2ad9('11f','Vs4$'));}}}}else{message+=_0x2ad9('120','spVd')+$['index']+'】'+($[_0x2ad9('121','zy$T')]||$[_0x2ad9('122','WiI]')])+_0x2ad9('123','@x*W')+$[_0x2ad9('124','nvzx')]+_0x2ad9('125','6QyC');}}else{$[_0x2ad9('126','L!Xv')](_0x553514[_0x2ad9('127','eARc')]);}}await _0x553514['nuOQC'](doTask,_0x553514[_0x2ad9('128','kzBT')]);await $[_0x2ad9('129','CM)8')](0x7d0);if(_0x553514['MbUko']($[_0x2ad9('12a','Fa1D')],$[_0x2ad9('12b','8N20')])){if(_0x553514['LzLgX'](_0x553514[_0x2ad9('12c','nvzx')],'AcVKM')){times=_0x553514[_0x2ad9('12d','#k5p')](parseInt,_0x553514['YVmFw']($['coin'],$[_0x2ad9('12e','eARc')]));for(let _0x215f93=0x0;_0x553514[_0x2ad9('12f','q4iA')](_0x215f93,times);_0x215f93++){$[_0x2ad9('130','kI34')](_0x553514[_0x2ad9('131','Gb7W')]);await _0x553514[_0x2ad9('132','gZKh')](doTask,'','',0x1);await $[_0x2ad9('133','nvzx')](0x7d0);}}else{var _0x2b894b={'hmMmo':function(_0x484e87){return _0x484e87();}};$[_0x2ad9('134','B6H3')](opt,(_0x232f51,_0x375bd9,_0x33cb8c)=>{if(_0x33cb8c){$[_0x2ad9('135','z546')]=JSON['parse'](_0x33cb8c);_0x2b894b[_0x2ad9('136','Fa1D')](resolve);};});}}if($[_0x2ad9('137','[@Ff')]){for(let _0x25445c=0x0;_0x553514[_0x2ad9('138','6QyC')](_0x25445c,$[_0x2ad9('139','fut)')][_0x2ad9('13a','K^$J')]);_0x25445c++){if(_0x553514[_0x2ad9('13b','Pqk7')]('dvzkn',_0x553514[_0x2ad9('13c','eARc')])){if($[_0x2ad9('13d','1@sz')]){break;}$['doHelp']=![];await doTask(_0x553514[_0x2ad9('13e','B6H3')],_0x2ad9('13f','q4iA')+$[_0x2ad9('137','[@Ff')][_0x25445c][_0x2ad9('140','B6H3')]);if($[_0x2ad9('141','zy$T')]){$[_0x2ad9('142','gZKh')](_0x2ad9('143','Gb7W'));await _0x553514[_0x2ad9('144','Pqk7')](doTask,_0x553514[_0x2ad9('145','kzBT')],_0x2ad9('146','wa0%')+$[_0x2ad9('147','6QyC')][_0x25445c][_0x2ad9('148','xtqo')]);}}else{$[_0x2ad9('149','fut)')]($[_0x2ad9('14a','LK[1')],_0x553514[_0x2ad9('14b','Vs4$')],_0x553514[_0x2ad9('14c','#k5p')],{'open-url':_0x553514[_0x2ad9('14d','L!Xv')]});return;}}}await doTask(_0x553514[_0x2ad9('14e','WuF6')]);$['wait'](0x3e8);if($[_0x2ad9('14f','3g$f')]){await _0x553514[_0x2ad9('150','&x[[')](submitShareCode,$[_0x2ad9('151','^NIh')]);}}else{$[_0x2ad9('152','eARc')](_0x2ad9('153','!%mW'));}}function submitShareCode(_0x2f7d85){var _0x3fa267={'aoydV':function(_0x4197de,_0x50918d){return _0x4197de===_0x50918d;},'lgiOR':function(_0x5bfd08,_0x491b0a){return _0x5bfd08===_0x491b0a;},'WkeLj':'BUPsF','cRHcT':function(_0x4fae09,_0x2a1518){return _0x4fae09===_0x2a1518;},'uxMlF':function(_0x5a4317){return _0x5a4317();},'GwizD':_0x2ad9('154','zy$T')};let _0x231acd={'url':_0x3fa267[_0x2ad9('155','abxW')],'headers':{'Content-Type':_0x2ad9('156','3g$f')},'body':JSON[_0x2ad9('157','LYhj')]({'shareCode':_0x2f7d85,'ptPin':cookie['match'](/pt_pin=(.+?);/)&&cookie[_0x2ad9('158','^eNZ')](/pt_pin=(.+?);/)[0x1]})};return new Promise(_0x166a46=>{var _0x1ce0f4={'jJMGp':function(_0x34dda2,_0x2ad971){return _0x3fa267[_0x2ad9('159','LK[1')](_0x34dda2,_0x2ad971);},'nuLNp':function(_0x17361f,_0x368f0a){return _0x3fa267['lgiOR'](_0x17361f,_0x368f0a);},'QvJCu':_0x3fa267[_0x2ad9('15a','LYhj')],'ezqTz':function(_0x1f7d5f,_0x5e577c){return _0x3fa267[_0x2ad9('15b','eARc')](_0x1f7d5f,_0x5e577c);},'CBkvD':function(_0x505698){return _0x3fa267[_0x2ad9('15c','gZKh')](_0x505698);}};$[_0x2ad9('15d','#k5p')](_0x231acd,(_0x295749,_0x2ce9f6,_0x45c83d)=>{try{if(_0x1ce0f4[_0x2ad9('15e','t@je')](_0x2ad9('15f','B6H3'),_0x2ad9('160','q4iA'))){if(_0x295749){if(_0x1ce0f4[_0x2ad9('161','t@je')](_0x1ce0f4['QvJCu'],_0x1ce0f4[_0x2ad9('162','zy$T')])){$[_0x2ad9('96','q4iA')](_0x2ad9('163','kzBT')+JSON[_0x2ad9('164','rG^E')](_0x295749));}else{if(_0x295749){$[_0x2ad9('165','Gb7W')](_0x2ad9('166','8N20')+JSON[_0x2ad9('167','#k5p')](_0x295749));}else{_0x45c83d=JSON[_0x2ad9('168','!%mW')](_0x45c83d);if(_0x45c83d[_0x2ad9('169','@x*W')]===0xc8){$[_0x2ad9('16a','#k5p')]('\x0a'+_0x45c83d['msg']);$[_0x2ad9('16b','z546')]('你的活动助力码为【'+_0x2f7d85+'】');}}}}else{_0x45c83d=JSON[_0x2ad9('68','spVd')](_0x45c83d);if(_0x1ce0f4[_0x2ad9('16c','Vs4$')](_0x45c83d[_0x2ad9('16d','X6D(')],0xc8)){$[_0x2ad9('16e','[@Ff')]('\x0a'+_0x45c83d[_0x2ad9('16f','^eNZ')]);$[_0x2ad9('108','xtqo')]('你的活动助力码为【'+_0x2f7d85+'】');}}}else{$['doHelp']=!![];}}catch(_0x5e100e){$['log']('异常:'+JSON['stringify'](_0x5e100e));}finally{_0x1ce0f4['CBkvD'](_0x166a46);}});});}function getShareCodeList(){var _0x480a9d={'cCTsU':function(_0x2f4f6e){return _0x2f4f6e();},'fvkqZ':function(_0x429e07,_0x32b4ec){return _0x429e07===_0x32b4ec;},'nWcJD':'Dsnpe','XBWQx':function(_0x9a99b8,_0x12d0b7){return _0x9a99b8===_0x12d0b7;},'ylwPR':'lRzBq','hweZp':function(_0x3a148c,_0x1b63a2){return _0x3a148c===_0x1b63a2;},'rVCNA':_0x2ad9('170','Gb7W'),'FXtlF':function(_0x270e93,_0x2c6cef){return _0x270e93!==_0x2c6cef;},'YbNeQ':_0x2ad9('171','8N20')};num=$['isNode']()?0x14:0x5;return new Promise(_0x48fb28=>{$[_0x2ad9('172','&x[[')]({'url':'https://api.r2ray.com/jd.super5g/index?num='+num},(_0x401ad4,_0x1fb8c0,_0x3dfe06)=>{var _0x4271a3={'OVohl':function(_0x325c3f){return _0x480a9d[_0x2ad9('173','[@Ff')](_0x325c3f);}};try{if(_0x480a9d['fvkqZ'](_0x480a9d[_0x2ad9('174','KDA$')],_0x480a9d[_0x2ad9('175','kzBT')])){if(_0x401ad4){$[_0x2ad9('176','^NIh')](_0x2ad9('177','Y3r0')+JSON[_0x2ad9('178','^eNZ')](_0x401ad4));}else{if(_0x480a9d[_0x2ad9('179','Gb7W')](_0x2ad9('17a','!%mW'),_0x480a9d['ylwPR'])){_0x48fb28();}else{_0x3dfe06=JSON[_0x2ad9('17b','kI34')](_0x3dfe06);if(_0x480a9d[_0x2ad9('17c','wa0%')](_0x3dfe06[_0x2ad9('17d','kzBT')],0xc8)){$[_0x2ad9('17e','wa0%')]=_0x3dfe06[_0x2ad9('17f','X6D(')];}}}}else{$[_0x2ad9('180','6QyC')](_0x2ad9('181','^NIh'));}}catch(_0x1c87e5){if(_0x480a9d['hweZp'](_0x480a9d[_0x2ad9('182','eARc')],_0x2ad9('183','X6D('))){$[_0x2ad9('184','K^$J')]('异常:'+JSON[_0x2ad9('cb','6QyC')](_0x1c87e5));}else{if(_0x3dfe06){$[_0x2ad9('185','Fa1D')]=JSON['parse'](_0x3dfe06);_0x4271a3[_0x2ad9('186','^hpV')](_0x48fb28);};}}finally{if(_0x480a9d[_0x2ad9('187','&x[[')](_0x480a9d[_0x2ad9('188','3g$f')],'aeFpN')){$['post'](opt,(_0xdd8c41,_0x2036f9,_0x3ff8fc)=>{_0x48fb28();});}else{_0x48fb28();}}});});}function doTask(_0x1513b9,_0x4f62de,_0x137925){var _0x21ab3a={'STUuP':_0x2ad9('189','Fa1D'),'waHct':function(_0x230efa,_0x381678){return _0x230efa===_0x381678;},'hRuJB':_0x2ad9('18a','vl$9'),'qMiAf':function(_0x4e2ffe,_0x54d6cb){return _0x4e2ffe===_0x54d6cb;},'BECiA':_0x2ad9('18b','I^Ba'),'eikri':'risk','ChOwB':'taskList','MPqaL':'taskCoin','xoFtn':_0x2ad9('18c','nvzx'),'qEZWH':_0x2ad9('18d','WuF6'),'GyMJR':'gwMlH','pKUiV':_0x2ad9('18e','&x[['),'YRszs':_0x2ad9('18f','qDtX'),'cTiPh':function(_0x4d43df,_0x1be601){return _0x4d43df(_0x1be601);},'kurwc':_0x2ad9('190','@x*W'),'ydNKq':_0x2ad9('191','6QyC'),'ClSXb':function(_0x29c6b6,_0x34284f){return _0x29c6b6!==_0x34284f;},'PvHfC':_0x2ad9('192','xtqo'),'ZBMhT':_0x2ad9('193','kI34'),'Vjgbf':_0x2ad9('194','Vs4$'),'upWgQ':function(_0x3e72e5,_0x26c749){return _0x3e72e5===_0x26c749;},'dasgt':_0x2ad9('195','&x[['),'DIAyz':_0x2ad9('196','^hpV'),'jrrzR':function(_0x2618be,_0x1cad60){return _0x2618be===_0x1cad60;},'HbhXR':'京东返回了一段空数据','ftlwO':function(_0x33133c){return _0x33133c();},'iwogD':_0x2ad9('197','CM)8'),'NTJWs':'https://h5.m.jd.com','HkPWz':_0x2ad9('198','^NIh'),'QbdgI':'application/json,\x20text/plain,\x20*/*','JLMRg':'zh-cn','Dslxu':_0x2ad9('199','!%mW'),'DHFmu':_0x2ad9('19a','YlF7'),'cLoMi':_0x2ad9('19b','eARc'),'nlLsO':_0x2ad9('19c','!%mW'),'eBKdg':_0x2ad9('19d','WuF6'),'XVFeY':'1001','fqJwN':'userInfo','kYwWd':_0x2ad9('19e','t@je')};return new Promise(_0x1944e2=>{var _0x32d228={'pmvZx':_0x21ab3a[_0x2ad9('19f','Vs4$')],'mLtwP':_0x21ab3a['NTJWs'],'mzrrh':_0x21ab3a[_0x2ad9('1a0','B6H3')],'PWJnZ':_0x21ab3a[_0x2ad9('1a1','L!Xv')],'djLyQ':_0x21ab3a[_0x2ad9('1a2','8N20')],'aUslv':_0x21ab3a['Dslxu'],'RqCPZ':_0x21ab3a[_0x2ad9('1a3','CM)8')],'BKUHw':_0x21ab3a[_0x2ad9('1a4','xtqo')],'pnjqg':_0x21ab3a[_0x2ad9('1a5','&x[[')],'pJPuM':_0x21ab3a['eBKdg'],'OlKIK':_0x2ad9('1a6','tL2k'),'sOYdg':_0x21ab3a[_0x2ad9('1a7','3g$f')],'tjeXU':_0x21ab3a[_0x2ad9('1a8','zy$T')]};if(_0x21ab3a['kYwWd']===_0x21ab3a['kYwWd']){$['get'](taskGetUrl(_0x1513b9,_0x4f62de,_0x137925),async(_0x597809,_0x1915e4,_0x2901fc)=>{var _0x1535de={'tACeY':_0x21ab3a[_0x2ad9('1a9','Gb7W')]};if(_0x21ab3a[_0x2ad9('1aa','zy$T')](_0x2ad9('1ab','&x[['),_0x21ab3a[_0x2ad9('1ac','K^$J')])){try{if(_0x597809){$['log'](_0x2ad9('1ad','!%mW')+JSON['stringify'](_0x597809));}else{if(_0x2901fc){if(_0x21ab3a[_0x2ad9('1ae','spVd')](_0x2ad9('1af','q4iA'),_0x21ab3a[_0x2ad9('1b0','kI34')])){_0x2901fc=JSON[_0x2ad9('17b','kI34')](_0x2901fc);if(_0x21ab3a['qMiAf'](_0x2901fc[_0x2ad9('1b1','K^$J')],0xc8)){switch(_0x1513b9){case'conf':$['brandList']=_0x2901fc[_0x2ad9('97','kzBT')]['brandList'];$[_0x2ad9('1b2','KDA$')]=_0x2901fc[_0x2ad9('1b3','B6H3')][_0x2ad9('1b4','Gb7W')];break;case _0x21ab3a[_0x2ad9('1b5','Fa1D')]:$[_0x2ad9('1b6','fut)')]=_0x2901fc[_0x2ad9('1b7','LYhj')];break;case _0x21ab3a[_0x2ad9('1b8','vl$9')]:$['task1']=_0x2901fc[_0x2ad9('1b9','tL2k')][_0x2ad9('1ba','8N20')];$[_0x2ad9('1bb','^eNZ')]=_0x2901fc[_0x2ad9('1bc','Pqk7')][_0x2ad9('1bd','^hpV')];$['task4']=_0x2901fc[_0x2ad9('1be','[@Ff')][_0x2ad9('1bf','Vs4$')];break;case _0x21ab3a[_0x2ad9('1c0','Fa1D')]:if(_0x2901fc[_0x2ad9('1c1','I^Ba')]['jbeanNum']){$['log']('\x20\x20\x20\x20└\x20完成任务,获得【'+_0x2901fc[_0x2ad9('1c2','6QyC')]['jbeanNum']+_0x2ad9('1c3','fut)')+_0x2901fc['data']['coinNum']+_0x2ad9('1c4','zy$T'));$[_0x2ad9('1c5','^eNZ')]+=_0x2901fc[_0x2ad9('1c6','Y3r0')][_0x2ad9('9d','Y3r0')];}else{if(_0x21ab3a[_0x2ad9('1c7','L!Xv')]===_0x21ab3a['xoFtn']){$['log']('\x20\x20\x20\x20└\x20完成任务,获得'+_0x2901fc['data'][_0x2ad9('1c8','^hpV')]+'信号值');}else{let _0x2cf92f={'url':_0x2ad9('1c9','L!Xv'),'headers':{'Host':_0x2ad9('1ca','B6H3'),'Content-Type':_0x32d228[_0x2ad9('1cb','1@sz')],'Origin':_0x32d228[_0x2ad9('1cc','kzBT')],'Accept-Encoding':_0x2ad9('1cd','&x[['),'Cookie':cookie,'Connection':_0x32d228[_0x2ad9('1ce','X6D(')],'Accept':_0x32d228['PWJnZ'],'User-Agent':_0x2ad9('1cf','WuF6'),'Referer':_0x2ad9('1d0','B6H3')+actID+'&way=0&lng=&lat=&sid=&un_area=','Accept-Language':_0x32d228[_0x2ad9('1d1','spVd')]},'body':_0x2ad9('1d2','kI34')+actID+_0x2ad9('1d3','Fa1D')+actsID+_0x2ad9('1d4','LYhj')};return new Promise(_0x5ae6f4=>{$[_0x2ad9('1d5','^hpV')](_0x2cf92f,(_0x555b44,_0x19d839,_0x56fd29)=>{if(_0x56fd29){$['zRes']=JSON[_0x2ad9('1d6','rG^E')](_0x56fd29);_0x5ae6f4();};});});}}break;case _0x21ab3a[_0x2ad9('1d7','@x*W')]:if(_0x2901fc['data'][_0x2ad9('1d8','6QyC')]){$['log']('\x20\x20\x20\x20└\x20完成任务,获得【'+_0x2901fc[_0x2ad9('1d9','LK[1')][_0x2ad9('1da','nvzx')]+'】个京豆,'+_0x2901fc[_0x2ad9('1db','zy$T')][_0x2ad9('1dc','Pqk7')]+'信号值');$[_0x2ad9('1dd','eARc')]+=_0x2901fc[_0x2ad9('1de','kI34')][_0x2ad9('1df','zy$T')];}else{if(_0x21ab3a[_0x2ad9('1e0','rG^E')](_0x21ab3a['GyMJR'],_0x21ab3a['pKUiV'])){$[_0x2ad9('16b','z546')](_0x2ad9('1e1','xW*1'));}else{$[_0x2ad9('108','xtqo')](_0x2ad9('1e2','zy$T')+_0x2901fc[_0x2ad9('1c1','I^Ba')]['coinNum']+'信号值');}}break;case _0x21ab3a[_0x2ad9('1e3','eARc')]:$[_0x2ad9('1e4','^eNZ')]=_0x2901fc[_0x2ad9('6c','WuF6')][_0x2ad9('1e5','nvzx')];$['need']=_0x2901fc['data'][_0x2ad9('1e6','Pqk7')];if($['coin']){$[_0x2ad9('96','q4iA')]('当前信号值:'+$[_0x2ad9('1e7','YlF7')]);}break;case'':switch(_0x21ab3a[_0x2ad9('1e8','WiI]')](parseInt,_0x2901fc[_0x2ad9('17f','X6D(')][_0x2ad9('1e9','xW*1')])){case 0x2:$[_0x2ad9('1ea','abxW')]('\x20\x20\x20\x20└\x20恭喜中奖,获得【'+_0x2901fc['data'][_0x2ad9('1eb','WuF6')]+_0x2ad9('1ec','xW*1'));$[_0x2ad9('1ed','LYhj')]+=parseInt(_0x2901fc[_0x2ad9('1ee','WiI]')][_0x2ad9('1ef','K^$J')]);break;case 0x63:$[_0x2ad9('1f0','tL2k')](_0x2ad9('1f1','CM)8'));break;default:$[_0x2ad9('1f2','wa0%')]('\x20\x20\x20\x20└\x20恭喜中奖,获得'+_0x2901fc['data']['name']);message+=_0x2ad9('1f3','^NIh')+$[_0x2ad9('1f4','^NIh')]+'】'+($[_0x2ad9('1f5','nvzx')]||$[_0x2ad9('1f6','^NIh')])+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20└\x20恭喜中奖,获得'+_0x2901fc[_0x2ad9('1be','[@Ff')]['name'];break;}break;case _0x21ab3a[_0x2ad9('1f7','xW*1')]:if(_0x2901fc[_0x2ad9('1db','zy$T')]){$[_0x2ad9('cf','3g$f')](_0x2ad9('1f8','Pqk7'));}break;case _0x21ab3a[_0x2ad9('1f9','&x[[')]:if(_0x2901fc[_0x2ad9('1fa','nvzx')]){if(_0x21ab3a['ClSXb']('lOgXU',_0x21ab3a['PvHfC'])){console[_0x2ad9('1fb','WiI]')](e);}else{$['log']('\x20\x20\x20\x20\x20\x20└\x20领取信号值成功');}}break;case'getCoin':$['log'](_0x2ad9('1fc','!nNx')+_0x2901fc[_0x2ad9('1fd','KDA$')]+_0x2ad9('1fe','#k5p'));break;case _0x21ab3a[_0x2ad9('1ff','1@sz')]:$['shareCode']=_0x2901fc['data'];break;case _0x2ad9('200','#k5p'):if(!_0x2901fc['data']['self']&&!_0x2901fc[_0x2ad9('80','!%mW')]['hasHelp']){$[_0x2ad9('201','xtqo')]=!![];}break;case _0x21ab3a['Vjgbf']:$[_0x2ad9('126','L!Xv')](_0x2ad9('202','^eNZ')+_0x2901fc[_0x2ad9('17f','X6D(')]+'\x20助力成功');break;default:if(_0x2901fc[_0x2ad9('203','m2wz')]===0x1){if(_0x21ab3a['upWgQ'](_0x21ab3a[_0x2ad9('204','spVd')],_0x21ab3a[_0x2ad9('205','kI34')])){ACT_API=_0x137925?_0x32d228[_0x2ad9('206','zy$T')]:_0x32d228[_0x2ad9('207','nvzx')];return{'url':''+ACT_API+_0x1513b9+_0x2ad9('208','K^$J')+new Date()['getTime']()+_0x4f62de,'headers':{'Host':_0x32d228['BKUHw'],'Accept':_0x32d228['PWJnZ'],'Connection':_0x32d228[_0x2ad9('209','z546')],'Cookie':cookie,'User-Agent':_0x32d228[_0x2ad9('20a','qDtX')],'Accept-Language':_0x32d228[_0x2ad9('20b','abxW')],'Referer':_0x32d228[_0x2ad9('20c','fut)')],'Accept-Encoding':_0x32d228[_0x2ad9('20d','nvzx')]}};}else{$['log'](_0x2ad9('20e','m2wz'));}}else{$[_0x2ad9('176','^NIh')](_0x2901fc[_0x2ad9('20f','@x*W')]);}break;}}else{if(_0x21ab3a[_0x2ad9('210','Gb7W')](_0x2901fc['code'],0x7d5)){$['helpDone']=!![];}$['log'](JSON[_0x2ad9('211','vl$9')](_0x2901fc));}}else{_0x2901fc=JSON['parse'](_0x2901fc);if(_0x2901fc[_0x2ad9('212','tL2k')]===_0x32d228[_0x2ad9('213','3g$f')]){$[_0x2ad9('214','m2wz')]=![];return;}if(_0x2901fc[_0x2ad9('215','8N20')]==='0'&&_0x2901fc['data']['hasOwnProperty'](_0x32d228['tjeXU'])){$[_0x2ad9('216','8N20')]=_0x2901fc[_0x2ad9('217','K^$J')][_0x2ad9('218','WuF6')][_0x2ad9('219','@x*W')][_0x2ad9('21a','WuF6')];}}}else{$[_0x2ad9('1fb','WiI]')](_0x21ab3a['HbhXR']);}}}catch(_0x216834){}finally{_0x21ab3a[_0x2ad9('21b','WiI]')](_0x1944e2);}}else{let _0x55ce91={'url':_0x1535de[_0x2ad9('21c','[@Ff')],'headers':{'Content-Type':'application/json'},'body':JSON[_0x2ad9('178','^eNZ')]({'actID':actID,'actsID':actsID,'done':0x1})};return new Promise(_0x497554=>{var _0x34114b={'ydVlg':function(_0x36ad46){return _0x36ad46();}};$[_0x2ad9('21d','K^$J')](_0x55ce91,(_0x5f05be,_0x1da04e,_0x31024b)=>{_0x34114b[_0x2ad9('21e','#k5p')](_0x497554);});});}});}else{$[_0x2ad9('21f','[@Ff')](e);}});}function taskGetUrl(_0x2a4a19,_0x346a09='',_0x366004=0x0){var _0x151502={'AFgFK':_0x2ad9('19a','YlF7'),'yyseZ':'isp5g.m.jd.com','JRjns':'application/json,\x20text/plain,\x20*/*','tqXTj':_0x2ad9('220','^hpV'),'NAquz':'zh-cn','wYsOd':_0x2ad9('221','[@Ff'),'UIkmx':_0x2ad9('222','!nNx')};ACT_API=_0x366004?'https://isp5g.m.jd.com/prize/lottery':_0x151502[_0x2ad9('223','3g$f')];return{'url':''+ACT_API+_0x2a4a19+_0x2ad9('224','kI34')+new Date()[_0x2ad9('225','3g$f')]()+_0x346a09,'headers':{'Host':_0x151502[_0x2ad9('226','8N20')],'Accept':_0x151502[_0x2ad9('227','X6D(')],'Connection':_0x151502[_0x2ad9('228','t@je')],'Cookie':cookie,'User-Agent':_0x2ad9('229','Pqk7'),'Accept-Language':_0x151502[_0x2ad9('22a','YlF7')],'Referer':_0x151502[_0x2ad9('22b','3g$f')],'Accept-Encoding':_0x151502[_0x2ad9('22c','gZKh')]}};}function checkCookie(){var _0x212b43={'OvVaN':function(_0x3e4ede,_0x3f91b9){return _0x3e4ede===_0x3f91b9;},'jTGJn':_0x2ad9('22d','WuF6'),'xbEuL':'MSOkC','CWHcM':_0x2ad9('22e','CM)8'),'WzWoK':function(_0x21f337,_0x1cab03){return _0x21f337===_0x1cab03;},'TeMgZ':'1001','tdReJ':function(_0x3a729f,_0x5b4eaf){return _0x3a729f!==_0x5b4eaf;},'mSqwi':'jaJeY','GGCHz':_0x2ad9('22f','eARc'),'Iqqds':_0x2ad9('230','Y3r0'),'rNyBh':_0x2ad9('231','3g$f'),'TBJOS':_0x2ad9('232','nvzx'),'iEAVQ':_0x2ad9('233','YlF7'),'jWLbc':'keep-alive','SLJbV':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.2\x20Mobile/15E148\x20Safari/604.1','zbbXn':_0x2ad9('234','m2wz')};const _0x56e19a={'url':_0x212b43[_0x2ad9('235','!%mW')],'headers':{'Host':_0x2ad9('236','6QyC'),'Accept':_0x2ad9('237','@x*W'),'Connection':_0x212b43['jWLbc'],'Cookie':cookie,'User-Agent':_0x212b43[_0x2ad9('238','m2wz')],'Accept-Language':_0x212b43[_0x2ad9('239','vl$9')],'Referer':'https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&','Accept-Encoding':'gzip,\x20deflate,\x20br'}};return new Promise(_0x11be77=>{$['get'](_0x56e19a,(_0x2d16aa,_0x479f9c,_0x3c00c1)=>{var _0x370376={'ZWdaZ':function(_0x21af25,_0x2005ab){return _0x212b43['OvVaN'](_0x21af25,_0x2005ab);}};try{if(_0x212b43['jTGJn']!=='fcJNB'){$[_0x2ad9('16e','[@Ff')](_0x3c00c1[_0x2ad9('23a','nvzx')]);}else{if(_0x2d16aa){$[_0x2ad9('23b','gZKh')](_0x2d16aa);}else{if(_0x3c00c1){if(_0x212b43[_0x2ad9('23c','nvzx')]===_0x212b43[_0x2ad9('23d','^hpV')]){$[_0x2ad9('137','[@Ff')]=_0x3c00c1['data'];}else{_0x3c00c1=JSON[_0x2ad9('23e','Pqk7')](_0x3c00c1);if(_0x212b43[_0x2ad9('23f','!%mW')](_0x3c00c1['retcode'],_0x212b43[_0x2ad9('240','rG^E')])){if(_0x212b43[_0x2ad9('241','&x[[')](_0x2ad9('242','m2wz'),_0x212b43[_0x2ad9('243','L!Xv')])){$[_0x2ad9('d3','zy$T')](_0x2ad9('244','^hpV')+JSON[_0x2ad9('245','t@je')](_0x2d16aa));}else{$[_0x2ad9('246','Gb7W')]=![];return;}}if(_0x212b43[_0x2ad9('247','Vs4$')](_0x3c00c1[_0x2ad9('248','!%mW')],'0')&&_0x3c00c1['data'][_0x2ad9('249','nvzx')](_0x212b43[_0x2ad9('24a','vl$9')])){$[_0x2ad9('24b','abxW')]=_0x3c00c1[_0x2ad9('17f','X6D(')]['userInfo'][_0x2ad9('24c','Fa1D')][_0x2ad9('24d','rG^E')];}}}else{if(_0x212b43['tdReJ'](_0x212b43['Iqqds'],_0x212b43['Iqqds'])){$[_0x2ad9('24e','X6D(')]=JSON['parse'](_0x3c00c1);}else{$[_0x2ad9('24f','!%mW')](_0x212b43[_0x2ad9('250','WiI]')]);}}}}}catch(_0x283cf1){if(_0x212b43['tdReJ'](_0x212b43[_0x2ad9('251','gZKh')],'XGthH')){_0x3c00c1=JSON[_0x2ad9('252','1@sz')](_0x3c00c1);if(_0x370376[_0x2ad9('253','L!Xv')](_0x3c00c1[_0x2ad9('254','xW*1')],0xc8)){$[_0x2ad9('255','Fa1D')]('\x0a'+_0x3c00c1['msg']);$[_0x2ad9('d3','zy$T')]('你的活动助力码为【'+shareCode+'】');}}else{$[_0x2ad9('256','^eNZ')](_0x283cf1);}}finally{_0x11be77();}});});};_0xodQ='jsjiami.com.v6';
// 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.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) }