Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
jd_updateRed.js 49.30 KB
Copy Edit Raw Blame History
inoyna11 authored 2021-05-22 23:30 . Create jd_updateRed.js
const fs = require('fs')
const $ = new Env('全民开红包');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
//IOS等用户直接用NobyDa的jd cookie
let cookiesArr = [], cookie = '', message;
const JD_API_HOST = 'https://api.m.jd.com/api';
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
}
const len = 0 || cookiesArr.length;
var _0xodP='jsjiami.com.v6',_0x168f=[_0xodP,'w6hAJcOqw6o=','TBx3w7Z9Z0LCswjCr8KWKBHDii8=','wpXChsKtwok=','w58uJ8KXNw==','w5s1w6VPw7k=','MsOMw4TCmMOiScO9UMKXwpV7Zk1Iw5g=','wqADVsKMZxoMwp7CuAnCuhnCoMOiIA==','UcKpJ1o=','wpLCs0pbcA==','wpM7CsOYQh/DusO8NwJMw7vCrCDCuA==','GmDComg=','SXQgZ2A=','OB0mRmM=','YidKw6HCoA==','OcKAwqFf','w5bCmB4=','wrpL5b+e5Ym85b2B5ouq57q65Y+/wqcwFA==','w6PDmCdyw7Uxw6c+E8KhMcKoc8KTwoY=','bcOTwrzDph4=','wq/CuU9ndQ==','wpNPEcO4eg==','77+36L+V5buN776h5Ya76YO2','VR3Ci2DCkA==','w5NOVsONVw==','cGp/w4B5','5Lig5aSb5Y+7776u5b+s56+u','wrYMXMKtw7Y=','wpnChsKqwrvCtF7DtQzDs23DjAs1','5Lu857uT5Y2144C05b605Yq85ba85omv57mO5Y6d7766','L3rCnD0XDVNHSsOhV1XDpw==','5Lm277+u5Yqw5L6C','KcOHJnbDs8KlP8O6w5o0w40ECcO9w4M=','TcOzLcOOMg==','QxsCfcOn','JwgmfFI=','5LiJ57q95Y2G5b6g5byP77yf5bez5p+B','EBwzdnEkDgUUw6s=','5aSh5Yyp5Ymw5YmAwrDCjg==','fWjCoyNVwrPDkgRuwprChXHDuMOacA==','w5FMDsOQw6U=','wovDpBRTYQ==','Em7CsQ==','5b2k5Yqf5Y+l5ouz57ug5Y+75Lq+5pe8776c','QiLCs8OVTQ==','wr9MwqDDtMOS','byLCssOc','wpLCjmtpQ1s=','w7duwq3CtsKG','TwjCq1rCiA==','JikPWnI=','wodfGStK','wr9XXsKb','wpp9GMOSRQLDrcO7Nwg=','FjTCt2pSG8OZRHHDnA7DiFTCj8OL','w7PCs8OOw47Ctw==','aMKnFDrCqQ==','wrYrcsKFw6U=','woUdw50FIkU=','YlNRw4HCmMKrOzrCviTDuMKPSi9s','w5E4FcOww51nwrbCnANPFcKqwoTDgjw=','w5Qgw7lQ','eQXCjRVm','w6tcwpPCnmZfw5JiWH7DmQzDi8OzQg==','wqxXQ8KO','w5DCnBobw6I=','JhrDlg==','w5EkMMK0','w55BAcOww4A=','LcKdIFDDtcK+','w5NzZsOAdw==','woRjdMKeXA==','wonDuXYBFg==','w6NTecOyXg==','wq1PwqvDmsOJ','wq3Dg8OU','LiPlj4fot6LliqDlipXnupblj5/vvabmi4bliYDjgYTnu5fljqoeG0E=','w4obwpTCpHM=','DcKwwpPCssO4','N3fChlxz','fsKgbGwj','RA/CiClj','QD3CjsOlSg==','wrljUMODBsOfwpPCuMORwpPDtw==','U2owTQ==','wr/DqEAeRg==','w6/CjDJw','wqQUB1fClcKVPQ==','w6sIwoHCrndYw4BFWWrDsgfDnQ==','RcOSwqnDlgxkesK5W8Ov','F8K3w7LCk8Oi','b8KXc2cu','NxsPWns=','wplnEcOkVRnDqMOw','w65UccO9UA==','w57Cngo6w6LDmcO1ag==','ccKMw6vCk8OL','L1PChGdU','w5JuwrzCt8KK','wrLDghN6fw==','HAt1','w64Nw4c=','wpEIw7AwBQ==','wp5gPy9S','w4M1w79YwqpLccKcwpc=','wobDmMO9wo5G','w5nClhU1w6jDiQ==','ZyrCs8OV','UMKhEhnCr8OJwp/CrA==','wpTDtMOkwrhC','w6Azw6ZGwoc=','wrJ1ecK6ag==','w7LChsOAw7/ChQ==','wpHCjFdmeg==','cmUuUX0=','wqZDQ8Kjfw==','a8OGHMOHPg==','w65jSsO7wrI=','ccO1OcOEHw==','b1pDw6Rc','wqLDocOYUsKG','wpdHOS5k','wrArVcKsw6I=','TMOOAcOfHg==','w7hvd8OmYg==','Q8KZeGIX','VMOOwqnDiw==','w5sjwp3Cll0=','BFPCpQIC','CMKNwrTCgcOv','SA5yw6DCjQ==','wrkcRsKxw50=','w6bCrcOiw4HCnQ==','BcKzw5Q=','Skh7w7A=','YMOZw6TCq8Of5p+F6K2p6K+O5rKh5aed6LSXKOKAle+4ouKCnO+7qQ==','wpAaYsKhw57CtzHDssKY','dFrCjFrChcKpw7Umw6vCoQN3wpdcEQ==','woxUKDNs','ZDsrZ8OA','QDrCkcO7Vw==','TMKvMj7CuMOOwpXChRzCgMOtwqRi','w5TDqsOVw5vChBV+w4g3wpYiEMKuwoJF','w58BEMKbNQ==','P8KHwrFEwqI=','WgnCihNK','TsOlwo7DsRI=','w4M3J8KmPQ==','EBwxRVs=','wqTDn0YZKmgKw6kdLg==','IcOAwrNUwrMeCsOhZGU0wodKa3s=','w7JHw4kBag==','LMKLw4bCiMOz','JmjCnjQr','MMKHwrfCvMOOw6w=','w5ZgwqXCocKB','DcK9w4dJ','w6RpwpXCkMKF','cTzCtiE=','wr3Dn2YIZw==','fGN5w75G','w4Msw7xQwrM=','wr3DvMOAY8Kd','w5kqIw==','KGkJRMOs5pyB6K2d6K+75rOY5aaA6LSeKeKDse+6kuKAku+4qg==','d8O1OcO+PXc6F2U=','w6xUTg==','5oiI57iz5Y606I615b2977y3','FEXCgkdL','w7HDjMKhD8Ki','w45FWcOleQ==','WcKnN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==','DVbCpj4j','w41dV8OAYg==','wrtCRcKGfRQTwpHCtQ==','wqDDgkM=','w7Ftw7kqfxHDkw==','wrw7w6kQPA==','wpPDpnk/','w4Ikw6lhwqVPc8Kfwpo9Sg==','ScOSwr0=','J8KUwr9S','FXDChwYC','MhUlbFE=','dsKyNkjCow==','XMKNAnLClw==','Qj/CsQxy','KMKbw7TCosO3','RRHCsiVA','wpvDosOUcMKkTHkp','wo8adsKmw50=','wo4PZMKrw5g=','eDzCtiNJ','wpfChWFrTw==','cDN8w7DCvA==','bcOyB8O4NHk9','fCArf8OrwoXDkmk=','w7cbw45Rw5A=','ZglX','GGNiPsKPw47CleW8jOWlkeOCoeS6l+S4lei3q+WNqg==','wr8fFFPCnw==','w65SSsO/wqTDoHrCiA==','wpbDlRVnVlTDgsO/','CTVpDyU5K8OiTcKH','SmwPSmh6bw==','HBwn','w5TClhQ8','44CZ5o6b56ek44KhfEMBwonDlW3ltYXlp6rmlbc=','5Lqb5LuO6LSs5Y+C','w6LCgyJ0w7k=','wo0Hc8Kjw77CsTXDsQ==','SRzCiEvCv8Khw64q','w4Lor4Hph7rmlZ/nmajlvKboj43ljKHDhhjChwPCtMO0Yh3Dj38gw7fDjMOUEMOfw6nDkwt9cMK2VQ==','w7/CpcORw4vCow==','M8KKw6vClMOyRQ==','V8OEwrTDmzF/b8K+ScOl','w65aRMOx','w7tsw7IkbjvltYflpJDmlojDihrCvQ==','5LmK5LiM6LWa5Y6K','wqjDgsOXwplK','YMK7NknCvsOsZi0=','A+iuvOmEk+aUgOeZpOW9ueiPmeWMtMOfZ8OYwrBWcA==','wr9lwrrDqMOjwqJ8','w7Muw6Jawq1JUsK+','woFbJ8OpZg==','LcKdIA==','w7Ziw7Aq','wrHDjQdBw4jmnr3orbPorqDmsKXlp6notZ3DpuKAq++7ueKDgu+4gg==','cADCig==','wpoMw4ELOErDpMKjKA==','wpRhGcOxZQ==','OcKYw5HCmMO+','w6fCgiE=','wp/ChsK0wo0=','w4ow5aWN6LWYIELljr/lm45vLQ==','czTCrCFNwrbDnQ==','R3AtQA==','wpLCrcKVwoHCgw==','O8KQwrZnwqYUF8OtZFUZ','UsKqY0Y2wo3Dh8O1w6jDgg==','wptqN8K9OTvCtUXDizrCpzo=','eDbCpilTwonDnQN5','aTTCnAYTEVJKUMOoUEM=','fjnCt8OEemoHwo7DmVvDjsK1XA==','w5UhGMOTVwTDqcOWLB9gw6bDpy/CpAoAw6bCl8KoUn3DvWA=','w4YxNsK8Ni7CuWDDnQ==','w7EMwpbCrXNVw49uWE7DtA==','NsKWw4I=','5pSy5Lqz5Yed5Yaw5omI5YuW','ZcO0woLDlgc=','wqfDhU8vOnMPw6I=','w6cIwobCnA==','wrljR8OmC8OI','w4jCkh0Jw6zDj8Owe2Mtw5I=','wrnCrFx5cw==','QEBlw7Zme1rCrg==','w5LCowthw4g=','w6nChSVzw5g=','fS0dQcOq','w5psGMO/w4xr','wpcBQ8K8w4LCuTbDsw==','Y8KBw4TCp8Oq','DcKDwrHCisOI','JlTCtENk','SHsZaWA=','wo5dMR5E','w5kxw6hnwpA=','wpTDjV0hKw==','w7NoLMOKw7M=','KXLCuE5p','eQNEw4bCjcK2LA==','GcKWw4rCkMO/RcOBfQ==','w53CnDYbw4Y=','AQAzaw==','w4BNwqHCp8Kl','woQ6A1TCsg==','eSrCrMODeg==','R343RA==','wrvDtihYQg==','w7xiw6ku','Qntzw619','wpLChGI=','5ouC57ij5Y2O6Iyg5b+E77yK','bsKRw6LCr8O4','w67CtDQRw5g=','WsK9w4XCi8OE','T3Ak','6aGv57ua5Y625aWT6LWz77y3','RMKmeFwswpnDvcOqw78=','w65zew==','MsKDwrTCvg==','w4TDi0Refuafluiuouivluawu+Wkt+i2hWPigrfvu5jigZnvu7k=','SMKhJg==','UGsxTGF0aMKuHg==','wrxhwrzDv8On','FQ40fg==','w63CvsOcw6nCgg==','w4JgwqPCsw==','BMK3wrvCkcO4','wp3CiMK+','Y8OW5Y2i6LWf5YuY5Yqk57qo5Y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XzCvg==','RcK3bmUjwp3Dv8Opw7LDqEc=','wqMXw5AgOw==','wqPDi1wqUg==','BcKZClTDqg==','wphvB8OXUxM=','NMKYw4jCng==','wrrDvsOidsKYRHor','wqHDhUYTNmkFw7M=','eig7W8OVwoHDkQ==','w7AVw49Iw6YWw6BJccOUXcOtw7U=','aDjCrcOZbFgPwozDiHs=','E8KgwqrCo8Ov','JH7CgScH','KHDCoisU','wrLDh0YlHg==','wq3Dt8OkcMK/','E8KVwpjCg8OV','VXwMXWM=','LcKmwpLCusOL','woXDskU+aQ==','wrFFPMOhTg==','w75Pw58uXQ==','Y8O4JcOmNw==','OsK7wqzCtMOj','NG7CjlhL','ZcOAGcOWKQ==','wrlNUcO2Lg==','wrHDlRFcWw==','wogZXsKHw6Q=','wrZsD8O/ZQ==','HMKhwqZBwpA=','wrFOZMKhUg==','wr8ew4o0Aw==','w447wqDCsXY=','wqDDm1Y7VA==','woIdw4E3Jw==','fArChsOzdA==','AjvDgcOXwp4=','woxEGMOLXA==','CwMaTkw=','wrAGPHHCow==','wrbDr8OcwqRw','wrLDnHcSfw==','wo9kHTJO','QsKiw5/CsMO1','woZyZsKKeQ==','wqFFb8Kmaw==','a8K+Gz/CsQ==','C8K1w6bCt8Ow','w69hGcOpw5o=','wqNBecKgRw==','RcKBw6nCrMOl','DcK9w5LCtcOT','w7BUWsOg','RcKBJDvClg==','w7XCrcOSw6HCkQ==','wp1SwoTDpcOA','wrXCpk1Dew==','RCcxRMO/','w5TCmzgqw50=','wpXDkF88eg==','w5LCvsOZw50=','GcOo5aWi6LSew5HCreWOlOWaqMKrwpk=','w7Qbw5s=','JBTDnMO9','wqJUw71Lw4rmnp3orabor7DmsYblpojotJrCqOKCu++5l+KApe+5vQ==','w5ViEw==','wrhyRsO6CcObwpHCu8Oc','wo4lHR51C1ZHIXQtw7TDnR5r','wpZxDg5k','GVohfHY5GQIUw6HCoMKDw6vCthE=','wpnDksK4wovCpVnDpyvDsnnDpwAjw4fDvA==','wqrDsMOFYw==','YX7Cv8OTa0UYwovDiHHDvsK1W3Aw','wp9vH8Oa','wrdCNhRD','w6ElwrjCuUg=','wrtYwrvDp8Os','wpQ2ZcKjw54=','w4vCswopw7U=','bMK0KsO0J3klGGhOwp9zU8OhwrU=','wozDnlMpOA==','WzR6w4vCrg==','w57CqANHw7U=','GQ4zTGc+CyUVw7XCi8KIw70=','w5LDghg6w7nDhcOtd2Mdw7/CpEDDvsOy','woFEUcK2cg==','ID0KdkA=','wrTDvUMpfg==','enwpd8ORwo3DiWXDrsOIcmfCqcO4Vg==','w7B/EsOKw4g=','dXtcw7xL','b8OswpLDsjM=','w4RNwp3ClsK+','wpLCicKSwr/CsA==','w5pjP8OEw4g=','w5YZw4MSP0nCsMKvNW3CqwUaw5nCmDXCm8Knw5XDn1nDmFRCw7U2CA==','wqRwc8ODfMOfLcOkw6QdQ8KyQsKuLnzCmnJfSDTDtxt4L01Ywptfw4zCmg==','w5Fmw6UFVQ==','O8KHwq3Cj8OTw6lc','RkZyw6w0','w7NPW8O9woTDpn7Ciwc=','Xi5ow4nCjQ==','wo9FUsOGIQ==','w6M4w4RCwpU=','acKeNhnCqQ==','CsKLw7JCEw==','ZsOnwqzDmx0=','wqzDkMOYRcKi','wofDmsOqwrp8','dMK/LgvCng==','PcKRwqrCssOJw7BYwpDCv8KR','SyoiRnt6d8KhE8O0GcK5CA/Cnw==','w7w3IsKMOQ==','WBnClMOZXQ==','EcK0w63CtsOa','wroUHlHCk8KZ','wq3CmVQTLXUdw64dJMOhwpFkw51O','w7BBw514w7cRw7JucMOAdsOmw6M9YQ==','jsjiqENamIMiz.qchobWmQ.Cv6N=='];(function(_0x1daf47,_0x52f23c,_0x542648){var _0x49bf3c=function(_0x194bc9,_0x43bffc,_0x1930c0,_0x25114d,_0x2079b6){_0x43bffc=_0x43bffc>>0x8,_0x2079b6='po';var _0xf67b66='shift',_0x4923e3='push';if(_0x43bffc<_0x194bc9){while(--_0x194bc9){_0x25114d=_0x1daf47[_0xf67b66]();if(_0x43bffc===_0x194bc9){_0x43bffc=_0x25114d;_0x1930c0=_0x1daf47[_0x2079b6+'p']()}else if(_0x43bffc&&_0x1930c0['replace'](/[qENIMzqhbWQCN=]/g,'')===_0x43bffc){_0x1daf47[_0x4923e3](_0x25114d)}}_0x1daf47[_0x4923e3](_0x1daf47[_0xf67b66]())}return 0x7df0c};return _0x49bf3c(++_0x52f23c,_0x542648)>>_0x52f23c^_0x542648}(_0x168f,0xcc,0xcc00));var _0x37e2=function(_0x1d7a47,_0x16dcd){_0x1d7a47=~~'0x'['concat'](_0x1d7a47);var _0x66def1=_0x168f[_0x1d7a47];if(_0x37e2['wShGCZ']===undefined){(function(){var _0x2add53=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0xe300c7='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x2add53['atob']||(_0x2add53['atob']=function(_0xed12f2){var _0x4ad48d=String(_0xed12f2)['replace'](/=+$/,'');for(var _0x2a4085=0x0,_0xdab1b7,_0x19e666,_0x449cbf=0x0,_0x310132='';_0x19e666=_0x4ad48d['charAt'](_0x449cbf++);~_0x19e666&&(_0xdab1b7=_0x2a4085%0x4?_0xdab1b7*0x40+_0x19e666:_0x19e666,_0x2a4085++%0x4)?_0x310132+=String['fromCharCode'](0xff&_0xdab1b7>>(-0x2*_0x2a4085&0x6)):0x0){_0x19e666=_0xe300c7['indexOf'](_0x19e666)}return _0x310132})}());var _0x4c5fb6=function(_0x3cfd5a,_0x16dcd){var _0x52925a=[],_0x5ad293=0x0,_0x1efc6d,_0x52f040='',_0x10dc5d='';_0x3cfd5a=atob(_0x3cfd5a);for(var _0x57989e=0x0,_0x407b78=_0x3cfd5a['length'];_0x57989e<_0x407b78;_0x57989e++){_0x10dc5d+='%'+('00'+_0x3cfd5a['charCodeAt'](_0x57989e)['toString'](0x10))['slice'](-0x2)}_0x3cfd5a=decodeURIComponent(_0x10dc5d);for(var _0xf590ce=0x0;_0xf590ce<0x100;_0xf590ce++){_0x52925a[_0xf590ce]=_0xf590ce}for(_0xf590ce=0x0;_0xf590ce<0x100;_0xf590ce++){_0x5ad293=(_0x5ad293+_0x52925a[_0xf590ce]+_0x16dcd['charCodeAt'](_0xf590ce%_0x16dcd['length']))%0x100;_0x1efc6d=_0x52925a[_0xf590ce];_0x52925a[_0xf590ce]=_0x52925a[_0x5ad293];_0x52925a[_0x5ad293]=_0x1efc6d}_0xf590ce=0x0;_0x5ad293=0x0;for(var _0x2f7e7=0x0;_0x2f7e7<_0x3cfd5a['length'];_0x2f7e7++){_0xf590ce=(_0xf590ce+0x1)%0x100;_0x5ad293=(_0x5ad293+_0x52925a[_0xf590ce])%0x100;_0x1efc6d=_0x52925a[_0xf590ce];_0x52925a[_0xf590ce]=_0x52925a[_0x5ad293];_0x52925a[_0x5ad293]=_0x1efc6d;_0x52f040+=String['fromCharCode'](_0x3cfd5a['charCodeAt'](_0x2f7e7)^_0x52925a[(_0x52925a[_0xf590ce]+_0x52925a[_0x5ad293])%0x100])}return _0x52f040};_0x37e2['ODeYDt']=_0x4c5fb6;_0x37e2['UxyxGg']={};_0x37e2['wShGCZ']=!![]}var _0x58fc3a=_0x37e2['UxyxGg'][_0x1d7a47];if(_0x58fc3a===undefined){if(_0x37e2['WUFKku']===undefined){_0x37e2['WUFKku']=!![]}_0x66def1=_0x37e2['ODeYDt'](_0x66def1,_0x16dcd);_0x37e2['UxyxGg'][_0x1d7a47]=_0x66def1}else{_0x66def1=_0x58fc3a}return _0x66def1};!(async()=>{var _0x2f3e0a={'OAKdw':function(_0x19f361,_0x19c43c){return _0x19f361>_0x19c43c},'UCZrj':_0x37e2('0','I)&H'),'Rkhhp':_0x37e2('1','a$%['),'CzesS':_0x37e2('2','@xs4'),'iEQIg':function(_0xf61789,_0x18272c){return _0xf61789<_0x18272c},'WbsLS':function(_0x5cac7d,_0x3f9342){return _0x5cac7d!==_0x3f9342},'rbQYa':_0x37e2('3','6s#6'),'PLpea':_0x37e2('4','9(jo'),'ltfnm':function(_0x2d020d,_0x499290){return _0x2d020d(_0x499290)},'zULRP':function(_0x36e9c6,_0x49298d){return _0x36e9c6+_0x49298d},'oorJS':function(_0x5dfe41){return _0x5dfe41()}};$[_0x37e2('b','LjCn')]=[];if(!cookiesArr[0x0]){$[_0x37e2('c','opuT')]($[_0x37e2('d','jwXV')],_0x2f3e0a[_0x37e2('e','9(jo')],_0x2f3e0a[_0x37e2('f','A@b1')],{'open-url':_0x2f3e0a[_0x37e2('10','2oYL')]});return}for(let _0x49f460=0x0;_0x2f3e0a[_0x37e2('11','2oYL')](_0x49f460,len);_0x49f460++){if(cookiesArr[_0x49f460]){if(_0x2f3e0a[_0x37e2('12','ObPn')](_0x2f3e0a[_0x37e2('13','oRQC')],_0x2f3e0a[_0x37e2('14','ObPn')])){cookie=cookiesArr[_0x49f460];$[_0x37e2('15','nMn#')]=_0x2f3e0a[_0x37e2('16','I)&H')](decodeURIComponent,cookie[_0x37e2('17','I)&H')](/pt_pin=(.+?);/)&&cookie[_0x37e2('18','ObPn')](/pt_pin=(.+?);/)[0x1]);$[_0x37e2('19','a$%[')]=_0x2f3e0a[_0x37e2('1a','&kUA')](_0x49f460,0x1);$[_0x37e2('1b','!7xb')]=!![];$[_0x37e2('1c','e]k%')]='';message='';await _0x2f3e0a[_0x37e2('1d','$FZW')](TotalBean);console[_0x37e2('1e','&kUA')](_0x37e2('1f','e]k%')+$[_0x37e2('20','6s#6')]+''+($[_0x37e2('21','27$z')]||$[_0x37e2('22','url!')])+_0x37e2('23','MCb]'));if(!$[_0x37e2('24','MCb]')]){$[_0x37e2('25','A@b1')]($[_0x37e2('26','%@jG')],_0x37e2('27','xPjB'),_0x37e2('28','WPp&')+$[_0x37e2('29','hVIC')]+'\x20'+($[_0x37e2('2a','I)&H')]||$[_0x37e2('2b','9Jom')])+_0x37e2('2c','QiwM'),{'open-url':_0x2f3e0a[_0x37e2('2d','5qK#')]});if($[_0x37e2('2e','oRQC')]()){await notify[_0x37e2('2f','opuT')]($[_0x37e2('30','27$z')]+_0x37e2('31','$Z*[')+$[_0x37e2('15','nMn#')],_0x37e2('32','Cl5N')+$[_0x37e2('33','nIfW')]+'\x20'+$[_0x37e2('34','2oYL')]+_0x37e2('35','xPjB'))}else{$[_0x37e2('36','wr]$')]('',_0x37e2('37','LjCn')+(_0x49f460?_0x2f3e0a[_0x37e2('38','sf)w')](_0x49f460,0x1):''))}continue}await _0x2f3e0a[_0x37e2('1d','$FZW')](jdWish)}else{console[_0x37e2('39','ezmK')]('\x0a'+$[_0x37e2('3a','$Z*[')]+_0x37e2('3b','hVIC'));console[_0x37e2('3c','9Jom')](JSON[_0x37e2('3d','1tK%')](err))}}}await _0x2f3e0a[_0x37e2('3e','sf)w')](writeFile)})()[_0x37e2('3f','oRQC')](_0x5da9b8=>{$[_0x37e2('40','hVIC')]('','\x20'+$[_0x37e2('41','sI]0')]+_0x37e2('42','Cl5N')+_0x5da9b8+'!','')})[_0x37e2('43','ObPn')](()=>{$[_0x37e2('44','MCb]')]()});async function jdWish(){var _0x1ea626={'cJLiR':function(_0x2b6faa){return _0x2b6faa()}};await _0x1ea626[_0x37e2('45','sI]0')](h5activityIndex)}async function writeFile(){if(!$[_0x37e2('46','jwXV')])return;if(!fs[_0x37e2('47','WPp&')](_0x37e2('48','gPLI')))fs[_0x37e2('49','ObPn')](_0x37e2('4a','9(jo'));await fs[_0x37e2('4b','xPjB')](_0x37e2('4c','sf)w'),JSON[_0x37e2('4d','gPLI')]($[_0x37e2('4e','&jpi')]));console[_0x37e2('4f','oRQC')](_0x37e2('50','gPLI'))}function h5launch(){var _0x144da0={'fLvuA':function(_0x8a4147,_0x22f8f6){return _0x8a4147!==_0x22f8f6},'RKsbU':_0x37e2('51','opuT'),'QahQr':function(_0x5c7a65,_0xc4ea7c){return _0x5c7a65===_0xc4ea7c},'XUbJB':_0x37e2('52','%Fn@'),'kdZLo':_0x37e2('53','&jpi'),'hMMcE':_0x37e2('54','v58g'),'xWRSg':_0x37e2('55','%@jG'),'olXaw':function(_0x370a53,_0x1aaae9){return _0x370a53!==_0x1aaae9},'kFPjp':_0x37e2('56','a$%['),'uiUmF':function(_0x255b2c,_0x3d8552){return _0x255b2c(_0x3d8552)},'JTUXK':function(_0x4a0e89,_0x483ce9){return _0x4a0e89+_0x483ce9},'ipeVT':_0x37e2('57','Jl]1'),'JeXYZ':_0x37e2('58','hVIC'),'WsnGO':_0x37e2('59','hVIC'),'odUUO':function(_0x2486eb,_0x34e4b5,_0x53f996){return _0x2486eb(_0x34e4b5,_0x53f996)}};const _0x4e7713={'clientInfo':{},'followShop':0x0,'promUserState':''};const _0x3c8f41=_0x144da0[_0x37e2('5a','e]k%')](taskUrl,arguments[_0x37e2('5b','yEQb')][_0x37e2('d','jwXV')][_0x37e2('5c','I)&H')](),_0x4e7713);return new Promise(_0x1f2b3d=>{var _0x480a1a={'gkOBK':function(_0x1bb8eb,_0x46ea28){return _0x144da0[_0x37e2('5d','thJh')](_0x1bb8eb,_0x46ea28)},'xPXMZ':function(_0x3e63dc,_0x2b8ceb){return _0x144da0[_0x37e2('5e','Lo(o')](_0x3e63dc,_0x2b8ceb)},'fRext':_0x144da0[_0x37e2('5f','KAhZ')],'GDsPY':_0x144da0[_0x37e2('60','MCb]')],'TCMHU':_0x144da0[_0x37e2('61','Cl5N')],'shTte':_0x144da0[_0x37e2('62','LjCn')]};if(_0x144da0[_0x37e2('63','%Fn@')](_0x144da0[_0x37e2('64','yEQb')],_0x144da0[_0x37e2('65','KAhZ')])){$[_0x37e2('66','&kUA')]('',_0x37e2('67','oRQC')+(i?_0x480a1a[_0x37e2('68','%@jG')](i,0x1):''))}else{$[_0x37e2('69','A@b1')](_0x3c8f41,(_0x50fffd,_0x11297d,_0x26db85)=>{try{if(_0x144da0[_0x37e2('6a','Yo8t')](_0x144da0[_0x37e2('6b','6s#6')],_0x144da0[_0x37e2('6b','6s#6')])){_0x26db85=JSON[_0x37e2('6c','xPjB')](_0x26db85);if(_0x26db85&&_0x26db85[_0x37e2('6d','MCb]')]&&_0x480a1a[_0x37e2('6e','url!')](_0x26db85[_0x37e2('6f','$Z*[')][_0x480a1a[_0x37e2('70','Jl]1')]],0x0)){console[_0x37e2('71','a$%[')](_0x37e2('72','!7xb')+_0x26db85[_0x480a1a[_0x37e2('73','thJh')]][_0x480a1a[_0x37e2('74','%@jG')]][_0x480a1a[_0x37e2('75','thJh')]]+'')}else{console[_0x37e2('76','MCb]')](_0x37e2('77','1tK%')+JSON[_0x37e2('78','WPp&')](_0x26db85))}}else{if(_0x50fffd){console[_0x37e2('79','qATe')]('\x0a'+$[_0x37e2('7a','Lo(o')]+_0x37e2('7b','a$%['));console[_0x37e2('7c','@xs4')](JSON[_0x37e2('7d','MCb]')](_0x50fffd))}else{_0x26db85=JSON[_0x37e2('7e','wr]$')](_0x26db85);if(_0x26db85&&_0x26db85[_0x37e2('7f','A@b1')]&&_0x144da0[_0x37e2('80','5qK#')](_0x26db85[_0x37e2('81','Yo8t')][_0x144da0[_0x37e2('82','Lo(o')]],0x0)){console[_0x37e2('83','sI]0')](_0x37e2('84','roz7')+_0x26db85[_0x144da0[_0x37e2('85','27$z')]][_0x144da0[_0x37e2('86','KAhZ')]][_0x144da0[_0x37e2('87','jwXV')]]);if(_0x26db85[_0x144da0[_0x37e2('88','nIfW')]][_0x144da0[_0x37e2('89','yEQb')]][_0x144da0[_0x37e2('8a','ezmK')]])$[_0x37e2('8b','bF0V')][_0x37e2('8c','sf)w')](_0x26db85[_0x144da0[_0x37e2('8d','xPjB')]][_0x144da0[_0x37e2('61','Cl5N')]][_0x144da0[_0x37e2('8e','Jl]1')]])}else{if(_0x144da0[_0x37e2('8f','qATe')](_0x144da0[_0x37e2('90','@xs4')],_0x144da0[_0x37e2('91','sf)w')])){$[_0x37e2('92','2oYL')]()}else{console[_0x37e2('93','&jpi')](_0x37e2('94','sI]0')+JSON[_0x37e2('95','bF0V')](_0x26db85))}}}}}catch(_0x91accd){$[_0x37e2('96','9(jo')](_0x91accd,_0x11297d)}finally{_0x144da0[_0x37e2('97','6s#6')](_0x1f2b3d,_0x26db85)}})}})}function h5activityIndex(){var _0x43b963={'OBsxU':function(_0x51b334,_0x1c8440){return _0x51b334*_0x1c8440},'cenIu':_0x37e2('98','&jpi'),'okMEf':_0x37e2('99','A@b1'),'wksUG':_0x37e2('9a','6s#6'),'cfUrU':_0x37e2('9b','YG00'),'OwAXo':_0x37e2('9c','nMn#'),'vcOxl':_0x37e2('9d','bF0V'),'qDKaq':_0x37e2('9e','A@b1'),'slUuz':_0x37e2('9f','&jpi'),'JKWZx':_0x37e2('a0','%Fn@'),'fLBaZ':function(_0x5cdb03,_0x3ace22){return _0x5cdb03(_0x3ace22)},'gynqd':_0x37e2('a1','WPp&'),'fYuoY':_0x37e2('a2','xPjB'),'JoXQm':_0x37e2('a3','jwXV'),'aARAz':function(_0x38cb13,_0x5bea47){return _0x38cb13===_0x5bea47},'rKeeI':_0x37e2('a4','thJh'),'rsaIC':_0x37e2('a5','sf)w'),'kwNOT':function(_0x1477a5,_0x199430){return _0x1477a5!==_0x199430},'MbdDS':_0x37e2('a6','A@b1'),'UTtvW':_0x37e2('a7','roz7'),'yxSNA':_0x37e2('a8','%Fn@'),'VfyVU':_0x37e2('a9','MCb]'),'MRRLd':function(_0x563f5f,_0x487152){return _0x563f5f===_0x487152},'VEFpG':_0x37e2('aa','wr]$'),'kerUq':function(_0x3442ed){return _0x3442ed()},'uAXCk':function(_0x16f29a,_0x4bb6e0){return _0x16f29a===_0x4bb6e0},'HNpOC':_0x37e2('ab','Cl5N'),'wJspj':_0x37e2('ac','9(jo'),'zlZQN':function(_0xdac930,_0x14b9a6){return _0xdac930+_0x14b9a6},'fwLGD':_0x37e2('ad','&kUA'),'wCoXB':_0x37e2('ae','WPp&'),'DBgYl':function(_0x38a292,_0x11dace){return _0x38a292>_0x11dace},'itaOO':function(_0x214009,_0x1a8485){return _0x214009<_0x1a8485},'NDQej':_0x37e2('af','url!'),'isXIx':_0x37e2('b0','%@jG'),'OpZRl':_0x37e2('b1','6s#6'),'QLCLf':_0x37e2('b2','6s#6'),'Vlmzs':_0x37e2('b3','WPp&'),'lTxSD':_0x37e2('b4','1tK%'),'WDwNE':_0x37e2('b5','bF0V'),'DkMAm':function(_0x35f5de,_0xf30260,_0x283c00){return _0x35f5de(_0xf30260,_0x283c00)}};const _0x48f3d8={'clientInfo':{},'isjdapp':0x1};const _0x139fe4=_0x43b963[_0x37e2('b6','ezmK')](taskUrl,arguments[_0x37e2('b7','sf)w')][_0x37e2('b8','oRQC')][_0x37e2('b9','nMn#')](),_0x48f3d8);$[_0x37e2('ba','%Fn@')]=0x0;$[_0x37e2('bb','e]k%')]=0x0;$[_0x37e2('bc','$FZW')]=0x0;$[_0x37e2('bd','xPjB')]=0x0;return new Promise(_0x505ee7=>{var _0x3dbbff={'IexJR':function(_0x4e9b96,_0x78d360){return _0x43b963[_0x37e2('be','Lo(o')](_0x4e9b96,_0x78d360)},'THXka':_0x43b963[_0x37e2('bf','9(jo')],'DCfUF':_0x43b963[_0x37e2('c0','9(jo')],'SyIsQ':_0x43b963[_0x37e2('c1','%Fn@')],'MPwtt':_0x43b963[_0x37e2('c2','nMn#')],'cWAjb':_0x43b963[_0x37e2('c3','Lo(o')],'BFvdb':_0x43b963[_0x37e2('c4','MCb]')],'bAiGH':_0x43b963[_0x37e2('c5','Lo(o')],'FvYFN':_0x43b963[_0x37e2('c6','bF0V')],'PqofC':_0x43b963[_0x37e2('c7','sf)w')],'aOeVK':function(_0x4baa0b,_0x2b4892){return _0x43b963[_0x37e2('c8','$Z*[')](_0x4baa0b,_0x2b4892)},'IrfYa':_0x43b963[_0x37e2('c9','!7xb')],'QRJiB':_0x43b963[_0x37e2('ca','Lo(o')],'KMHML':_0x43b963[_0x37e2('cb','KAhZ')],'VnyPZ':function(_0x2781c0,_0x126efa){return _0x43b963[_0x37e2('cc','!7xb')](_0x2781c0,_0x126efa)},'nlAsP':_0x43b963[_0x37e2('cd','v58g')],'cNOwi':_0x43b963[_0x37e2('ce','url!')],'bLJDZ':function(_0x328de9,_0x121d9e){return _0x43b963[_0x37e2('cf','I)&H')](_0x328de9,_0x121d9e)},'wXukn':_0x43b963[_0x37e2('d0','sf)w')],'UEEVt':_0x43b963[_0x37e2('d1','jwXV')],'BcSbm':_0x43b963[_0x37e2('d2','QiwM')],'cnKWa':_0x43b963[_0x37e2('d3','1tK%')],'QMQyC':function(_0x1687f3,_0x412f12){return _0x43b963[_0x37e2('d4','&jpi')](_0x1687f3,_0x412f12)},'jkcBo':_0x43b963[_0x37e2('d5','bF0V')],'CAYTz':function(_0x316e5e){return _0x43b963[_0x37e2('d6','1tK%')](_0x316e5e)},'lXOUG':function(_0x2ccbc8,_0x150059){return _0x43b963[_0x37e2('d7','xPjB')](_0x2ccbc8,_0x150059)},'hAzCL':_0x43b963[_0x37e2('d8','NXRN')],'TCiUp':_0x43b963[_0x37e2('d9','sf)w')],'UbLeF':function(_0x8fe970,_0x1325e3){return _0x43b963[_0x37e2('da','A@b1')](_0x8fe970,_0x1325e3)},'VgfcP':_0x43b963[_0x37e2('db','6s#6')],'HBdFy':_0x43b963[_0x37e2('dc','nIfW')],'KimeR':function(_0x5324de,_0x55a494){return _0x43b963[_0x37e2('dd','bF0V')](_0x5324de,_0x55a494)},'sLnxP':function(_0x5d4800,_0x34741d){return _0x43b963[_0x37e2('de','Cl5N')](_0x5d4800,_0x34741d)},'Qozdb':function(_0x53b6aa,_0x46ba39){return _0x43b963[_0x37e2('df','thJh')](_0x53b6aa,_0x46ba39)},'SgFcy':_0x43b963[_0x37e2('e0','QiwM')],'WFOEp':_0x43b963[_0x37e2('e1','QiwM')],'gLuci':_0x43b963[_0x37e2('e2','@xs4')],'LUCqO':_0x43b963[_0x37e2('e3','oRQC')],'IvPUU':_0x43b963[_0x37e2('e4','yEQb')]};if(_0x43b963[_0x37e2('e5','QiwM')](_0x43b963[_0x37e2('e6','thJh')],_0x43b963[_0x37e2('e7','oRQC')])){$[_0x37e2('e8','27$z')](_0x139fe4,async(_0x3cb93a,_0x1a6e92,_0x483430)=>{var _0x11a286={'qDspx':function(_0x46a6aa,_0x297771){return _0x3dbbff[_0x37e2('e9','@xs4')](_0x46a6aa,_0x297771)},'OlzvG':_0x3dbbff[_0x37e2('ea','5qK#')],'LiUWt':_0x3dbbff[_0x37e2('eb','wr]$')],'UEbMU':_0x3dbbff[_0x37e2('ec','a$%[')]};try{if(_0x3cb93a){if(_0x3dbbff[_0x37e2('ed','e]k%')](_0x3dbbff[_0x37e2('ee','%@jG')],_0x3dbbff[_0x37e2('ef','bF0V')])){$[_0x37e2('4f','oRQC')]('','\x20'+$[_0x37e2('f0','5qK#')]+_0x37e2('f1','2oYL')+e+'!','')}else{console[_0x37e2('f2','$FZW')]('\x0a'+$[_0x37e2('f3','NXRN')]+_0x37e2('f4','$FZW'));console[_0x37e2('f5','yEQb')](JSON[_0x37e2('f6','v58g')](_0x3cb93a))}}else{$[_0x37e2('f7','Cl5N')]=_0x483430=JSON[_0x37e2('f8','Cl5N')](_0x483430);if($[_0x37e2('f9','A@b1')]&&$[_0x37e2('fa','sI]0')][_0x37e2('fb','nMn#')]&&$[_0x37e2('fc','xPjB')][_0x37e2('fd','sf)w')][_0x3dbbff[_0x37e2('fe','Cl5N')]]){if(_0x3dbbff[_0x37e2('ff','&jpi')](_0x3dbbff[_0x37e2('100','wr]$')],_0x3dbbff[_0x37e2('101','I)&H')])){_0x11a286[_0x37e2('102','%@jG')](_0x505ee7,_0x483430)}else{const _0x229dc3=$[_0x37e2('103','!7xb')][_0x3dbbff[_0x37e2('104','%Fn@')]][_0x3dbbff[_0x37e2('105','&kUA')]][_0x3dbbff[_0x37e2('106','hVIC')]]||[];$[_0x37e2('107','A@b1')]=$[_0x37e2('108','%@jG')][_0x3dbbff[_0x37e2('109','QiwM')]][_0x3dbbff[_0x37e2('10a','A@b1')]][_0x3dbbff[_0x37e2('10b','bF0V')]];if($[_0x37e2('10c','e]k%')][_0x3dbbff[_0x37e2('10d','yEQb')]][_0x3dbbff[_0x37e2('10e','Jl]1')]][_0x3dbbff[_0x37e2('10f','opuT')]]){if(_0x3dbbff[_0x37e2('110','Yo8t')](_0x3dbbff[_0x37e2('111','sI]0')],_0x3dbbff[_0x37e2('112','yEQb')])){return{'url':JD_API_HOST+_0x37e2('113','1tK%')+function_id+_0x37e2('114','qATe')+_0x3dbbff[_0x37e2('115','$Z*[')](new Date()[_0x37e2('116','Lo(o')](),0x3e8),'body':_0x37e2('117','Jl]1')+JSON[_0x37e2('118','27$z')](_0x48f3d8),'headers':{'Host':_0x3dbbff[_0x37e2('119','&kUA')],'Content-Type':_0x3dbbff[_0x37e2('11a','v58g')],'Origin':_0x3dbbff[_0x37e2('11b','LjCn')],'Accept-Encoding':_0x3dbbff[_0x37e2('11c','@xs4')],'Cookie':cookie,'Connection':_0x3dbbff[_0x37e2('11d','roz7')],'Accept':_0x3dbbff[_0x37e2('11e','opuT')],'User-Agent':_0x3dbbff[_0x37e2('11f','nMn#')],'Referer':_0x3dbbff[_0x37e2('120','nIfW')],'Content-Length':'36','Accept-Language':_0x3dbbff[_0x37e2('121','@xs4')]}}}else{$[_0x37e2('122','Lo(o')]=$[_0x37e2('123','MCb]')][_0x3dbbff[_0x37e2('124','gPLI')]][_0x3dbbff[_0x37e2('125','xPjB')]][_0x3dbbff[_0x37e2('126','oRQC')]][_0x37e2('127','6s#6')]||0x0}}}}if($[_0x37e2('128','%Fn@')]&&$[_0x37e2('129','$FZW')][_0x37e2('7f','A@b1')]&&_0x3dbbff[_0x37e2('12a','yEQb')]($[_0x37e2('12b','Jl]1')][_0x37e2('12c','sI]0')][_0x3dbbff[_0x37e2('12d','gPLI')]],0x2712)){await _0x3dbbff[_0x37e2('12e','$FZW')](h5launch)}else if($[_0x37e2('12f','oRQC')]&&$[_0x37e2('130','QiwM')][_0x37e2('131','2oYL')]&&_0x3dbbff[_0x37e2('132','a$%[')]($[_0x37e2('133','sf)w')][_0x37e2('134','KAhZ')][_0x3dbbff[_0x37e2('135','MCb]')]],0x4e21)){const _0x393678=$[_0x37e2('123','MCb]')][_0x3dbbff[_0x37e2('136','A@b1')]][_0x3dbbff[_0x37e2('105','&kUA')]][_0x3dbbff[_0x37e2('137','&kUA')]]['id'];if(_0x393678)$[_0x37e2('b','LjCn')][_0x37e2('138','jwXV')](_0x393678);console[_0x37e2('139','%@jG')](_0x37e2('13a','LjCn')+$[_0x37e2('13b','hVIC')][_0x3dbbff[_0x37e2('13c','opuT')]][_0x3dbbff[_0x37e2('13d','a$%[')]][_0x3dbbff[_0x37e2('13e','sf)w')]]['id']+_0x37e2('13f','sf)w')+$[_0x37e2('fc','xPjB')][_0x3dbbff[_0x37e2('140','9Jom')]][_0x3dbbff[_0x37e2('141','qATe')]][_0x3dbbff[_0x37e2('142','Jl]1')]]+_0x37e2('143','&kUA')+_0x3dbbff[_0x37e2('144','I)&H')]($[_0x37e2('145','sI]0')],0x1)+_0x37e2('146','6s#6')+$[_0x37e2('147','9(jo')]+_0x37e2('148','Lo(o')+$[_0x37e2('149','ezmK')][_0x3dbbff[_0x37e2('14a','!7xb')]][_0x3dbbff[_0x37e2('14b','e]k%')]][_0x3dbbff[_0x37e2('14c','A@b1')]]+_0x37e2('14d','MCb]')+$[_0x37e2('14e','A@b1')]+_0x37e2('14f','Lo(o'));const _0x15ecad=$[_0x37e2('150','ObPn')][_0x3dbbff[_0x37e2('13c','opuT')]][_0x3dbbff[_0x37e2('141','qATe')]][_0x3dbbff[_0x37e2('151','yEQb')]][_0x3dbbff[_0x37e2('152','url!')]]||0x0;console[_0x37e2('153','KAhZ')](_0x37e2('154','WPp&')+_0x15ecad);if(_0x3dbbff[_0x37e2('155','xPjB')](_0x15ecad,0x0)){for(let _0xddf75c=0x0;_0x3dbbff[_0x37e2('156','wr]$')](_0xddf75c,new Array(_0x15ecad)[_0x37e2('157','xPjB')]('')[_0x37e2('158','a$%[')]);_0xddf75c++){if(_0x3dbbff[_0x37e2('159','Yo8t')](_0x3dbbff[_0x37e2('15a','9Jom')],_0x3dbbff[_0x37e2('15b','A@b1')])){if(!_0x393678)break;await _0x3dbbff[_0x37e2('15c','Cl5N')](h5receiveRedpacket,_0x393678);await $[_0x37e2('15d','QiwM')](0x1f4)}else{$[_0x37e2('15e','sf)w')]=$[_0x37e2('15f','KAhZ')][_0x11a286[_0x37e2('160','5qK#')]][_0x11a286[_0x37e2('161','@xs4')]][_0x11a286[_0x37e2('162','I)&H')]][_0x37e2('163','1tK%')]||0x0}}}}else if($[_0x37e2('164','&kUA')]&&$[_0x37e2('165','yEQb')][_0x37e2('166','LjCn')]&&_0x3dbbff[_0x37e2('167','ObPn')]($[_0x37e2('168','&jpi')][_0x37e2('169','QiwM')][_0x3dbbff[_0x37e2('16a','%@jG')]],0x4e22)){console[_0x37e2('16b','NXRN')]('\x0a'+$[_0x37e2('f9','A@b1')][_0x37e2('16c','gPLI')][_0x3dbbff[_0x37e2('16d','yEQb')]]+'\x0a')}}}catch(_0x47d459){$[_0x37e2('16e','ezmK')](_0x47d459,_0x1a6e92)}finally{if(_0x3dbbff[_0x37e2('16f','qATe')](_0x3dbbff[_0x37e2('170','QiwM')],_0x3dbbff[_0x37e2('171','%Fn@')])){_0x3dbbff[_0x37e2('172','qATe')](_0x505ee7,_0x483430)}else{_0x3dbbff[_0x37e2('173','wr]$')](_0x505ee7,_0x483430)}}})}else{console[_0x37e2('174','nIfW')](_0x37e2('175','Jl]1')+data[_0x3dbbff[_0x37e2('176','&jpi')]][_0x3dbbff[_0x37e2('177','Lo(o')]][_0x3dbbff[_0x37e2('178','KAhZ')]]);if(data[_0x3dbbff[_0x37e2('179','WPp&')]][_0x3dbbff[_0x37e2('17a','ObPn')]][_0x3dbbff[_0x37e2('17b','xPjB')]])$[_0x37e2('17c','v58g')][_0x37e2('17d','MCb]')](data[_0x3dbbff[_0x37e2('ea','5qK#')]][_0x3dbbff[_0x37e2('125','xPjB')]][_0x3dbbff[_0x37e2('17e','bF0V')]])}})}function h5receiveRedpacket(_0x266f5c){var _0x473194={'UXWDp':_0x37e2('17f','hVIC'),'PrkwC':_0x37e2('a2','xPjB'),'zCNUy':_0x37e2('180','6s#6'),'NYtGu':_0x37e2('181','&jpi'),'ogRhM':_0x37e2('182','opuT'),'Qzmtr':function(_0x22eb8f,_0x5a2c8f){return _0x22eb8f!==_0x5a2c8f},'nutLl':_0x37e2('183','oRQC'),'oGWPm':_0x37e2('184','WPp&'),'nXcoX':function(_0x1c6347,_0x38aa3a){return _0x1c6347===_0x38aa3a},'utrSL':_0x37e2('185','A@b1'),'KsUqU':_0x37e2('186','sf)w'),'lpiPl':_0x37e2('187','qATe'),'qWESe':_0x37e2('188','%@jG'),'SEEdR':function(_0xc08e21,_0x26c3e4){return _0xc08e21!==_0x26c3e4},'HOJHM':_0x37e2('189','thJh'),'zskBw':_0x37e2('18a','KAhZ'),'tKrWU':function(_0x56eb0f,_0x25c1ce){return _0x56eb0f(_0x25c1ce)},'qdcog':_0x37e2('18b','Yo8t'),'xpCRS':function(_0x5ac951,_0x403578){return _0x5ac951+_0x403578},'GtNrt':function(_0x4bc547,_0x4d8ef5,_0x54d8b4){return _0x4bc547(_0x4d8ef5,_0x54d8b4)}};const _0x4ffed={'redPacketId':_0x266f5c};_0x4ffed[_0x473194[_0x37e2('18c','url!')]]=$[_0x37e2('18d','A@b1')]($[_0x37e2('18e','&jpi')](_0x473194[_0x37e2('18f','1tK%')](_0x473194[_0x37e2('190','Cl5N')]('j',JSON[_0x37e2('191','LjCn')](_0x4ffed)),'D')));const _0x34917b=_0x473194[_0x37e2('192','nIfW')](taskUrl,arguments[_0x37e2('193','%@jG')][_0x37e2('194','xPjB')][_0x37e2('195','@xs4')](),_0x4ffed);return new Promise(_0x2a8971=>{var _0x23c0a0={'jDTNm':_0x473194[_0x37e2('196','nIfW')],'vrcse':_0x473194[_0x37e2('197','LjCn')],'IqOKH':_0x473194[_0x37e2('198','QiwM')],'OTHSk':_0x473194[_0x37e2('199','5qK#')],'asqZY':_0x473194[_0x37e2('19a','a$%[')],'XJokO':function(_0x3aeade,_0x36fe8f){return _0x473194[_0x37e2('19b','MCb]')](_0x3aeade,_0x36fe8f)},'CHJlp':_0x473194[_0x37e2('19c','QiwM')],'TomZU':_0x473194[_0x37e2('19d','!7xb')],'BhBBa':function(_0x2e864c,_0x3d9f29){return _0x473194[_0x37e2('19e','27$z')](_0x2e864c,_0x3d9f29)},'ZrVym':_0x473194[_0x37e2('19f','!7xb')],'KAvCt':_0x473194[_0x37e2('1a0','Jl]1')],'smqaw':_0x473194[_0x37e2('1a1','nMn#')],'LYEAl':_0x473194[_0x37e2('1a2','Cl5N')],'pTspD':function(_0x1e422f,_0x523860){return _0x473194[_0x37e2('1a3','I)&H')](_0x1e422f,_0x523860)},'KjhMH':_0x473194[_0x37e2('1a4','!7xb')],'IuEoz':_0x473194[_0x37e2('1a5','qATe')],'tJseU':function(_0x318cf9,_0x2717c9){return _0x473194[_0x37e2('1a6','WPp&')](_0x318cf9,_0x2717c9)}};$[_0x37e2('1a7','opuT')](_0x34917b,(_0xad49f2,_0x42ae61,_0x4ffed)=>{if(_0x23c0a0[_0x37e2('1a8','&jpi')](_0x23c0a0[_0x37e2('1a9','9(jo')],_0x23c0a0[_0x37e2('1aa','Lo(o')])){try{if(_0xad49f2){if(_0x23c0a0[_0x37e2('1ab','&kUA')](_0x23c0a0[_0x37e2('1ac','I)&H')],_0x23c0a0[_0x37e2('1ad','5qK#')])){console[_0x37e2('1ae','roz7')]('\x0a'+$[_0x37e2('1af','Jl]1')]+_0x37e2('1b0','oRQC'));console[_0x37e2('7c','@xs4')](JSON[_0x37e2('1b1','I)&H')](_0xad49f2))}else{const _0x53e585=$[_0x37e2('1b2','9Jom')][_0x23c0a0[_0x37e2('1b3','Cl5N')]][_0x23c0a0[_0x37e2('1b4','e]k%')]][_0x23c0a0[_0x37e2('1b5','xPjB')]]||[];$[_0x37e2('1b6','@xs4')]=$[_0x37e2('1b7','5qK#')][_0x23c0a0[_0x37e2('1b8','gPLI')]][_0x23c0a0[_0x37e2('1b9','jwXV')]][_0x23c0a0[_0x37e2('1ba','ObPn')]];if($[_0x37e2('129','$FZW')][_0x23c0a0[_0x37e2('1bb','opuT')]][_0x23c0a0[_0x37e2('1bc','gPLI')]][_0x23c0a0[_0x37e2('1bd','A@b1')]]){$[_0x37e2('1be','%Fn@')]=$[_0x37e2('1bf','jwXV')][_0x23c0a0[_0x37e2('1c0','$Z*[')]][_0x23c0a0[_0x37e2('1c1','oRQC')]][_0x23c0a0[_0x37e2('1c2','9(jo')]][_0x37e2('1c3','Lo(o')]||0x0}}}else{_0x4ffed=JSON[_0x37e2('1c4','Yo8t')](_0x4ffed);if(_0x4ffed&&_0x4ffed[_0x37e2('1c5','roz7')]&&_0x23c0a0[_0x37e2('1c6','Yo8t')](_0x4ffed[_0x37e2('1c7','ObPn')][_0x23c0a0[_0x37e2('1c8','bF0V')]],0x0)){if(_0x23c0a0[_0x37e2('1c9','Jl]1')](_0x23c0a0[_0x37e2('1ca','LjCn')],_0x23c0a0[_0x37e2('1cb','nMn#')])){console[_0x37e2('1cc','gPLI')]('\x0a'+$[_0x37e2('3a','$Z*[')]+_0x37e2('1cd','e]k%'));console[_0x37e2('1e','&kUA')](JSON[_0x37e2('1ce','!7xb')](_0xad49f2))}else{console[_0x37e2('1cf','27$z')](_0x37e2('1d0','nMn#')+_0x4ffed[_0x23c0a0[_0x37e2('1d1','KAhZ')]][_0x23c0a0[_0x37e2('1d2','YG00')]][_0x23c0a0[_0x37e2('1d3','qATe')]]+'')}}else{console[_0x37e2('1d4','2oYL')](_0x37e2('1d5','roz7')+JSON[_0x37e2('1d6','%Fn@')](_0x4ffed))}}}catch(_0x5a93ac){if(_0x23c0a0[_0x37e2('1d7','sf)w')](_0x23c0a0[_0x37e2('1d8','9Jom')],_0x23c0a0[_0x37e2('1d9','LjCn')])){$[_0x37e2('1da','A@b1')](_0x5a93ac,_0x42ae61)}else{$[_0x37e2('1db','KAhZ')](_0x5a93ac,_0x42ae61)}}finally{_0x23c0a0[_0x37e2('1dc','gPLI')](_0x2a8971,_0x4ffed)}}else{console[_0x37e2('79','qATe')](_0x37e2('1dd','%Fn@')+JSON[_0x37e2('1de','qATe')](_0x4ffed))}})})}function taskUrl(_0x3acd04,_0x46d514){var _0x16ef84={'pUxCx':function(_0x5cdb0b,_0x58ed0e){return _0x5cdb0b*_0x58ed0e},'RmrZa':_0x37e2('1df','&kUA'),'cUNen':_0x37e2('1e0','$FZW'),'ualAh':_0x37e2('1e1','KAhZ'),'FOHdw':_0x37e2('1e2','A@b1'),'QXypc':_0x37e2('1e3','wr]$'),'huCCd':_0x37e2('1e4','%@jG'),'XWjrO':_0x37e2('1e5','sI]0'),'gblng':_0x37e2('1e6','bF0V'),'orqHB':_0x37e2('1e7','roz7')};return{'url':JD_API_HOST+_0x37e2('1e8','27$z')+_0x3acd04+_0x37e2('1e9','5qK#')+_0x16ef84[_0x37e2('1ea','Cl5N')](new Date()[_0x37e2('1eb','thJh')](),0x3e8),'body':_0x37e2('1ec','nIfW')+JSON[_0x37e2('191','LjCn')](_0x46d514),'headers':{'Host':_0x16ef84[_0x37e2('1ed','A@b1')],'Content-Type':_0x16ef84[_0x37e2('1ee','gPLI')],'Origin':_0x16ef84[_0x37e2('1ef','oRQC')],'Accept-Encoding':_0x16ef84[_0x37e2('1f0','6s#6')],'Cookie':cookie,'Connection':_0x16ef84[_0x37e2('1f1','yEQb')],'Accept':_0x16ef84[_0x37e2('1f2','A@b1')],'User-Agent':_0x16ef84[_0x37e2('1f3','$FZW')],'Referer':_0x16ef84[_0x37e2('1f4','@xs4')],'Content-Length':'36','Accept-Language':_0x16ef84[_0x37e2('1f5','$Z*[')]}}};_0xodP='jsjiami.com.v6';
function TotalBean() {
return new Promise(async resolve => {
const options = {
"url": `https://wq.jd.com/user/info/QueryJDUserInfo?sceneval=2`,
"headers": {
"Accept": "application/json,text/plain, */*",
"Content-Type": "application/x-www-form-urlencoded",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "zh-cn",
"Connection": "keep-alive",
"Cookie": cookie,
"Referer": "https://wqs.jd.com/my/jingdou/my.shtml?sceneval=2",
"User-Agent": $.isNode() ? (process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : "jdapp;iPhone;9.2.2;14.2;%E4%BA%AC%E4%B8%9C/9.2.2 CFNetwork/1206 Darwin/20.1.0") : ($.getdata('JDUA') ? $.getdata('JDUA') : "jdapp;iPhone;9.2.2;14.2;%E4%BA%AC%E4%B8%9C/9.2.2 CFNetwork/1206 Darwin/20.1.0")
}
}
$.post(options, (err, resp, data) => {
try {
if (err) {
console.log(`${JSON.stringify(err)}`)
console.log(`${$.name} API请求失败,请检查网路重试`)
} else {
if (data) {
data = JSON.parse(data);
if (data['retcode'] === 13) {
$.isLogin = false; //cookie过期
return
}
if (data['retcode'] === 0) {
$.nickName = (data['base'] && data['base'].nickname) || $.UserName;
} else {
$.nickName = $.UserName
}
} else {
console.log(`京东服务器返回空数据`)
}
}
} catch (e) {
$.logErr(e, resp)
} finally {
resolve();
}
})
})
}
// prettier-ignore
// md5
!function(n){function t(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function r(n,t){return n<<t|n>>>32-t}function e(n,e,o,u,c,f){return t(r(t(t(e,n),t(u,f)),c),o)}function o(n,t,r,o,u,c,f){return e(t&r|~t&o,n,t,u,c,f)}function u(n,t,r,o,u,c,f){return e(t&o|r&~o,n,t,u,c,f)}function c(n,t,r,o,u,c,f){return e(t^r^o,n,t,u,c,f)}function f(n,t,r,o,u,c,f){return e(r^(t|~o),n,t,u,c,f)}function i(n,r){n[r>>5]|=128<<r%32,n[14+(r+64>>>9<<4)]=r;var e,i,a,d,h,l=1732584193,g=-271733879,v=-1732584194,m=271733878;for(e=0;e<n.length;e+=16){i=l,a=g,d=v,h=m,g=f(g=f(g=f(g=f(g=c(g=c(g=c(g=c(g=u(g=u(g=u(g=u(g=o(g=o(g=o(g=o(g,v=o(v,m=o(m,l=o(l,g,v,m,n[e],7,-680876936),g,v,n[e+1],12,-389564586),l,g,n[e+2],17,606105819),m,l,n[e+3],22,-1044525330),v=o(v,m=o(m,l=o(l,g,v,m,n[e+4],7,-176418897),g,v,n[e+5],12,1200080426),l,g,n[e+6],17,-1473231341),m,l,n[e+7],22,-45705983),v=o(v,m=o(m,l=o(l,g,v,m,n[e+8],7,1770035416),g,v,n[e+9],12,-1958414417),l,g,n[e+10],17,-42063),m,l,n[e+11],22,-1990404162),v=o(v,m=o(m,l=o(l,g,v,m,n[e+12],7,1804603682),g,v,n[e+13],12,-40341101),l,g,n[e+14],17,-1502002290),m,l,n[e+15],22,1236535329),v=u(v,m=u(m,l=u(l,g,v,m,n[e+1],5,-165796510),g,v,n[e+6],9,-1069501632),l,g,n[e+11],14,643717713),m,l,n[e],20,-373897302),v=u(v,m=u(m,l=u(l,g,v,m,n[e+5],5,-701558691),g,v,n[e+10],9,38016083),l,g,n[e+15],14,-660478335),m,l,n[e+4],20,-405537848),v=u(v,m=u(m,l=u(l,g,v,m,n[e+9],5,568446438),g,v,n[e+14],9,-1019803690),l,g,n[e+3],14,-187363961),m,l,n[e+8],20,1163531501),v=u(v,m=u(m,l=u(l,g,v,m,n[e+13],5,-1444681467),g,v,n[e+2],9,-51403784),l,g,n[e+7],14,1735328473),m,l,n[e+12],20,-1926607734),v=c(v,m=c(m,l=c(l,g,v,m,n[e+5],4,-378558),g,v,n[e+8],11,-2022574463),l,g,n[e+11],16,1839030562),m,l,n[e+14],23,-35309556),v=c(v,m=c(m,l=c(l,g,v,m,n[e+1],4,-1530992060),g,v,n[e+4],11,1272893353),l,g,n[e+7],16,-155497632),m,l,n[e+10],23,-1094730640),v=c(v,m=c(m,l=c(l,g,v,m,n[e+13],4,681279174),g,v,n[e],11,-358537222),l,g,n[e+3],16,-722521979),m,l,n[e+6],23,76029189),v=c(v,m=c(m,l=c(l,g,v,m,n[e+9],4,-640364487),g,v,n[e+12],11,-421815835),l,g,n[e+15],16,530742520),m,l,n[e+2],23,-995338651),v=f(v,m=f(m,l=f(l,g,v,m,n[e],6,-198630844),g,v,n[e+7],10,1126891415),l,g,n[e+14],15,-1416354905),m,l,n[e+5],21,-57434055),v=f(v,m=f(m,l=f(l,g,v,m,n[e+12],6,1700485571),g,v,n[e+3],10,-1894986606),l,g,n[e+10],15,-1051523),m,l,n[e+1],21,-2054922799),v=f(v,m=f(m,l=f(l,g,v,m,n[e+8],6,1873313359),g,v,n[e+15],10,-30611744),l,g,n[e+6],15,-1560198380),m,l,n[e+13],21,1309151649),v=f(v,m=f(m,l=f(l,g,v,m,n[e+4],6,-145523070),g,v,n[e+11],10,-1120210379),l,g,n[e+2],15,718787259),m,l,n[e+9],21,-343485551),l=t(l,i),g=t(g,a),v=t(v,d),m=t(m,h)}return[l,g,v,m]}function a(n){var t,r="",e=32*n.length;for(t=0;t<e;t+=8){r+=String.fromCharCode(n[t>>5]>>>t%32&255)}return r}function d(n){var t,r=[];for(r[(n.length>>2)-1]=void 0,t=0;t<r.length;t+=1){r[t]=0}var e=8*n.length;for(t=0;t<e;t+=8){r[t>>5]|=(255&n.charCodeAt(t/8))<<t%32}return r}function h(n){return a(i(d(n),8*n.length))}function l(n,t){var r,e,o=d(n),u=[],c=[];for(u[15]=c[15]=void 0,o.length>16&&(o=i(o,8*n.length)),r=0;r<16;r+=1){u[r]=909522486^o[r],c[r]=1549556828^o[r]}return e=i(u.concat(d(t)),512+8*t.length),a(i(c.concat(e),640))}function g(n){var t,r,e="";for(r=0;r<n.length;r+=1){t=n.charCodeAt(r),e+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t)}return e}function v(n){return unescape(encodeURIComponent(n))}function m(n){return h(v(n))}function p(n){return g(m(n))}function s(n,t){return l(v(n),v(t))}function C(n,t){return g(s(n,t))}function A(n,t,r){return t?r?s(t,n):C(t,n):r?m(n):p(n)}$.md5=A}(this);
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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(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();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){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let s in e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).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}}}};this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r)));let h=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];h.push(e),s&&h.push(s),i&&h.push(i),console.log(h.join("\n")),this.logs=this.logs.concat(h)}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("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化