代码拉取完成,页面将自动刷新
同步操作将从 git更新/wuzhi04-MyActions 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
const $ = Env("燃动夏季_SH助力")
const notify = $.isNode() ? require('./sendNotify') : '';
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const ua = `jdltapp;iPhone;3.1.0;${Math.ceil(Math.random()*4+10)}.${Math.ceil(Math.random()*4)};${randomString(40)}`
let cookiesArr = [];
$.cookie = '';
var _0xodk='jsjiami.com.v6',_0x5761=[_0xodk,'QkpVw6RDIQ==','AyzDmAxA','b2LDhsKoPMKkDw==','L8K6w7psw6PDj8OLKw==','L8K0TT05ZcK7Hg==','woPCsm1Fw4o=','S8O5wrMtwofChOW+puWmheODteS6v+S5sui2pOWMhA==','QcOqw7EQVMOkwrkm','a8O5wrMtwofCpA==','AsKuYnPCoMKrwo8=','w6Iuwq0=','BcK8Q3k=','5Lqv5Lqo6LaQ5Y2m','w5QhKMKSw6o=','bcOWw57DisKAwpfDsw0=','NGwYSsKSVg==','w6vDny5T','WWbCmsORw4R65bSQ5aeU5pacwrl2Vw==','5LuZ5Lm16LWj5Y6T','w5p/RSYa','CeiujemFi+aWgeebkOW/q+iPouWMp8Kxw5VZw6bDjm4=','w6ZUw6VDdw==','NcKcw5pBw4A=','wqlrw5/Cuw==','OcKzwq0Twqo=','w5oew4g=','A2PCl8KL','w5low6dH','wqtyw5YpwovCpkE=','aHXDiMONw4Y=','wrvDgGQUQ8OXARLDvAjDoRk=','wr96w4bCo8OmDxAMTcOzO8KjWcKOTcOow5gCBEYsw5pKHhsQecOvA8OlwrHCgcKU','aw7DskHDmMKEesOewqXDmFTDo8OeJVQgaxExf1bDpg==','w4HCvh/DhMON','wpd1w74mHMOzw58=','V8O2SF/Diw==','w7EGwrnDqwI=','wpYMGsOgw7DCl8Omw5DDi27DqQRLShhBAMOnZjTCumTCuMK1w7kzw5DDpMKTw4Nlw5zCtWzDjynDsUvClMOsfcKkBzUFw51/w4nCrcOswqTDr8OcwpY8TAw+Hlc=','wqUGUwXDvA==','U8OBw60tfg==','w6HDscOpYMOO','AQvDl8Oewo8=','w5s7I8Kkw6M=','w54Yw5ciHcKi','wpJvw74jAcOow53CvjJ6RsOWw53Du8KzKMKPLcK5CUdRwqvDjsKDwrZ7FsK8w6zDjg7DllDCicOk','w7Zww5JkYMOBwpZdwpA=','BifDjCxx','HcOUw5IZcw==','McOpw7UYew==','WsOJW3bDvw==','w5gbAsO5w6bDg8K9w4LDnXbCtQxFCBtAQMOwXzzDp3TCvcKzw7JgwpXDpMOCwo4hwpPCr3fCmSzCqA==','w57DrMOOS8O1','fg/DhsOowrbCvyvDglrClDN6EQ==','Vzggw6fDog==','dURDw6BT','AkTCuMKPw4c=','w6HDnzdX','P3YsaMKFVA==','BMKAwqDDtw==','LzDDjgZKw7gs','w4smEMOVKw==','LX4kVsKT','w5fCuVU=','w4jDoMOScw==','wrxjw4zCgsO8Cw==','KMKuXD8f','RMOew4HDlUs=','w5oew4gaGcO0','w4jDnTpdwpk=','djQ+','DQXlpIvotqoLZOWNtOWbkSEb','w5fDlzdGwpw=','w4grOsOVEA==','wooCVRrDt34=','InfCr8KMw5s=','w4bChQvCrcKB','FcKnwowSwro=','bsOAw5TDgWE=','aHTDvcKUM8KsE1bCrj4Hw7LDosOaw78=','dXnDq8K1PsKODlfCiCIzw7zDkMO4w6Y=','wpLCknJ5w5U=','w7Q3wqvDsynCs8KBw67DrcOZwqx3IcKZwoQ=','a8OyblLDpg==','CcK3RCYD','w4TDiQ7DrMKzd8KKw7nDuMKNwpIPw7jCpx4=','w5XCs0XDtMOLwownwpXCkcKcFMK0Jysw','LsOfw583eA==','wpR9wqvChW8=','wpkdGsO0w6LDmcKo','QMObw5nDumnCgnML','woTDp10pPXfCuQ==','w4QvCsKAUA==','w4Zrw49mZ8ODwoxxwq0=','w50hNQ==','YzDDu8KNDEQ=','w6k0wqbCtMOZTg==','55Sr5LuV5oOx566g','5Lu25LiS5Li56LeU5Y685p2N5o2Z5L6KwoVLwqbCvAIdUykmZG3DnOWykumGsOe4suafl+iEiuadiuiHq+W4hueakeWLk+WLs+egoGc=','w7M8wrjDhTk=','C8Ocw5AxTkk=','wo/Dp0cqKGs=','STobw7nDnw==','wrLCu2ZQw7c=','w6vDmzRlwpzDhsOvw6Ecw7fCpGfDhMOSwr8=','w5/DscOKe8O3','w6vDqA1iwr4=','w4xww6xXwqE=','wrzCsHZgw5sKwovCqcOTw4oP','b0PCpcOgw6Y=','an7DrQ==','fcO3w7AHYg==','C8KKwqrDtcOow6w=','w6BVw7VXRw==','w5oUw4E4H8Ou','fsK/Ki3Cvg==','wph1w7c=','5p6W5YuG5a+05omE5pSf6ZaU5q+N77yc5puw5Li65bK7UsOrcAXCkMKJw7tZwrprHOWIjuWHruWIguiitVw=','wrQIAzzCrA==','YcOzblI=','bcORw4HDgmjChksqwogeesOKw5DCrsO7','A2fCjcK9w4tBLWFlwrXCs8OzwpDDnXU=','w5IQw5s+','5LiL5Lqq5LqM6Lai5Y215bOB6KaT5YmQ5YqI55i9SW3li5nliJbnooXkuKI=','wpAdGcODw6vDjMK7wprDqXHDpE9VNBk=','w7Y9wrs=','5p+e5Yiq5ayY5ouk5paD6ZW15qyH77+c5pu55LiT5bG9w6rDucOxwrY5wpQrwp0HTlHlibjlh7Tli7Xooq0C','w6UNAcOgJw==','wovDtl09LznDt2vCt8K3fgEQwoUYw7c+w408Z10PWFsrw4vDgsKnw4NVc0lrw6UxZB3DkBbDgxI2wqY2e8KAPX/Ckj7Dk8KHQjPDqMKrFcK2w7XDl2PDv8OUw449XMKXwonCnlDDklRvPsKB','wo4ZHMOjw6Y=','w5gaG8OnNg==','SMOEw4nDi8Kr','b8Obw5E=','CCvDhiRLwqU=','Qkpew6o=','w6vDlMOka8Ov','w6E4wr3Ck8OUXSwpwop0LcK0wqnDmcO4','5Y2L5Yq35Ym4','KRPDpiFK','w6k1AsKFw5Q=','ejjDqUfDqQ==','w5QEw7YmEMKi','acO5c0Q=','w5YvN8KnWzxr','UVBJw6c=','wrQ8McOUw4bDr8Kcwrg=','ZsOaw4A=','ShvDi8KiIGPDmMKd','w5AQw4MsDg==','wo/DrU4=','GwHDmcOzwrbCvlzDqQ==','wollw5AiwpjDqAA=','LAHDucO6wrU=','XWzCgcOew4xrwoM=','BMKRAFfCiMOMbXDDpg==','w7czwqw=','ZX7DpcKsMsKo','PgfDmsOswrrCqQ==','wok2JxbClG/CvMO9woI2wpgaejfCuMKrwoXCpMKKw4VOw57CkzpMFgfCpMOUNC8xw6Q5M8O0TWDDksOEaMOxw5M=','dyg+','wrLDn0jClw==','TUDCsMOow4k=','MzfDkMOswqk=','McKLwr8EwrQ=','bsO5ZFDDqsOs','dHXDtcO2w4zCpn/CnA==','KcOUw5Mxcw==','eTQ2w6fDpsOm','TGfDpMOnw6o=','jYsjrPbAKiamiwdw.comDZXU.v6=='];(function(_0x486ac9,_0x5f0faf,_0x1977ae){var _0x1dada3=function(_0x1d2a99,_0x1e4668,_0x1afd78,_0x47bb18,_0x305dc0){_0x1e4668=_0x1e4668>>0x8,_0x305dc0='po';var _0x2b3c4a='shift',_0x55b023='push';if(_0x1e4668<_0x1d2a99){while(--_0x1d2a99){_0x47bb18=_0x486ac9[_0x2b3c4a]();if(_0x1e4668===_0x1d2a99){_0x1e4668=_0x47bb18;_0x1afd78=_0x486ac9[_0x305dc0+'p']();}else if(_0x1e4668&&_0x1afd78['replace'](/[YrPbAKwdwDZXU=]/g,'')===_0x1e4668){_0x486ac9[_0x55b023](_0x47bb18);}}_0x486ac9[_0x55b023](_0x486ac9[_0x2b3c4a]());}return 0x97254;};return _0x1dada3(++_0x5f0faf,_0x1977ae)>>_0x5f0faf^_0x1977ae;}(_0x5761,0x8c,0x8c00));var _0x5b90=function(_0x36f750,_0x53d70c){_0x36f750=~~'0x'['concat'](_0x36f750);var _0x451b43=_0x5761[_0x36f750];if(_0x5b90['uVTdMQ']===undefined){(function(){var _0x15f281=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x2e4d9a='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x15f281['atob']||(_0x15f281['atob']=function(_0x4caad9){var _0x42131d=String(_0x4caad9)['replace'](/=+$/,'');for(var _0x1d05a7=0x0,_0x3529a3,_0x48519c,_0x15832e=0x0,_0x7a83c4='';_0x48519c=_0x42131d['charAt'](_0x15832e++);~_0x48519c&&(_0x3529a3=_0x1d05a7%0x4?_0x3529a3*0x40+_0x48519c:_0x48519c,_0x1d05a7++%0x4)?_0x7a83c4+=String['fromCharCode'](0xff&_0x3529a3>>(-0x2*_0x1d05a7&0x6)):0x0){_0x48519c=_0x2e4d9a['indexOf'](_0x48519c);}return _0x7a83c4;});}());var _0x37d400=function(_0x15ec7f,_0x53d70c){var _0x3e5b9b=[],_0x163482=0x0,_0xf2599,_0x3862e7='',_0x26c6a4='';_0x15ec7f=atob(_0x15ec7f);for(var _0x5a11d2=0x0,_0x18a947=_0x15ec7f['length'];_0x5a11d2<_0x18a947;_0x5a11d2++){_0x26c6a4+='%'+('00'+_0x15ec7f['charCodeAt'](_0x5a11d2)['toString'](0x10))['slice'](-0x2);}_0x15ec7f=decodeURIComponent(_0x26c6a4);for(var _0x5ec2f9=0x0;_0x5ec2f9<0x100;_0x5ec2f9++){_0x3e5b9b[_0x5ec2f9]=_0x5ec2f9;}for(_0x5ec2f9=0x0;_0x5ec2f9<0x100;_0x5ec2f9++){_0x163482=(_0x163482+_0x3e5b9b[_0x5ec2f9]+_0x53d70c['charCodeAt'](_0x5ec2f9%_0x53d70c['length']))%0x100;_0xf2599=_0x3e5b9b[_0x5ec2f9];_0x3e5b9b[_0x5ec2f9]=_0x3e5b9b[_0x163482];_0x3e5b9b[_0x163482]=_0xf2599;}_0x5ec2f9=0x0;_0x163482=0x0;for(var _0x3e8f54=0x0;_0x3e8f54<_0x15ec7f['length'];_0x3e8f54++){_0x5ec2f9=(_0x5ec2f9+0x1)%0x100;_0x163482=(_0x163482+_0x3e5b9b[_0x5ec2f9])%0x100;_0xf2599=_0x3e5b9b[_0x5ec2f9];_0x3e5b9b[_0x5ec2f9]=_0x3e5b9b[_0x163482];_0x3e5b9b[_0x163482]=_0xf2599;_0x3862e7+=String['fromCharCode'](_0x15ec7f['charCodeAt'](_0x3e8f54)^_0x3e5b9b[(_0x3e5b9b[_0x5ec2f9]+_0x3e5b9b[_0x163482])%0x100]);}return _0x3862e7;};_0x5b90['QfGPSY']=_0x37d400;_0x5b90['iHIHbv']={};_0x5b90['uVTdMQ']=!![];}var _0x458653=_0x5b90['iHIHbv'][_0x36f750];if(_0x458653===undefined){if(_0x5b90['jpbZpB']===undefined){_0x5b90['jpbZpB']=!![];}_0x451b43=_0x5b90['QfGPSY'](_0x451b43,_0x53d70c);_0x5b90['iHIHbv'][_0x36f750]=_0x451b43;}else{_0x451b43=_0x458653;}return _0x451b43;};const pkInviteCodes=[''];if($[_0x5b90('0','kU%@')]()){Object[_0x5b90('1','8[wj')](jdCookieNode)[_0x5b90('2','%jue')](_0x219ac6=>{cookiesArr[_0x5b90('3','biWQ')](jdCookieNode[_0x219ac6]);});if(process['env'][_0x5b90('4',')xrD')]&&process[_0x5b90('5','hI6a')][_0x5b90('6','@8YM')]===_0x5b90('7','bSa9'))console[_0x5b90('8','LZb]')]=()=>{};}else{cookiesArr=[$['getdata'](_0x5b90('9','yXKw')),$[_0x5b90('a','Wj5G')]('CookieJD2'),...$[_0x5b90('b','yXKw')]($[_0x5b90('c','40AL')](_0x5b90('d','JBET'))||'[]')[_0x5b90('e','U(ER')](_0x29ea16=>_0x29ea16[_0x5b90('f','hGVN')])][_0x5b90('10','yXKw')](_0x375fda=>!!_0x375fda);}!(async()=>{var _0xfba8bc={'wIERd':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','kYftv':_0x5b90('11','nhcd'),'sUJNB':function(_0x2dd9e4,_0x572ce2){return _0x2dd9e4<_0x572ce2;},'NmmgI':function(_0xc1dab0,_0x3d69af){return _0xc1dab0(_0x3d69af);},'JUuTe':function(_0x14908c,_0x3dafa6){return _0x14908c+_0x3dafa6;},'XgopE':function(_0x377a02){return _0x377a02();},'cPENy':function(_0x2c4c05){return _0x2c4c05();},'tOCFm':function(_0x39101a){return _0x39101a();}};await requireConfig();if(!cookiesArr[0x0]){$[_0x5b90('12','#oS[')]($[_0x5b90('13','tj]$')],_0xfba8bc[_0x5b90('14','40AL')],_0xfba8bc[_0x5b90('15','yXKw')],{'open-url':_0xfba8bc[_0x5b90('16','7pgP')]});return;}for(let _0x3a4cd4=0x0;_0xfba8bc['sUJNB'](_0x3a4cd4,cookiesArr[_0x5b90('17','8[wj')]);_0x3a4cd4++){if(cookiesArr[_0x3a4cd4]){$['cookie']=cookiesArr[_0x3a4cd4];$[_0x5b90('18','aj[z')]=_0xfba8bc[_0x5b90('19',')L*Z')](decodeURIComponent,$[_0x5b90('1a','#oS[')][_0x5b90('1b','aj[z')](/pt_pin=([^; ]+)(?=;?)/)&&$[_0x5b90('1c','biWQ')]['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[_0x5b90('1d','#X&Y')]=_0xfba8bc['JUuTe'](_0x3a4cd4,0x1);$[_0x5b90('1e','hGVN')]=!![];$[_0x5b90('1f','Tn2b')]=$[_0x5b90('20','YchS')];await _0xfba8bc[_0x5b90('21','!Dg$')](TotalBean);console['log'](_0x5b90('22','Tn2b')+$['index']+'】'+($['nickName']||$[_0x5b90('23','$!dp')])+_0x5b90('24','Tn2b'));if(!$[_0x5b90('25','oLNQ')]){$[_0x5b90('26','XxZq')]($[_0x5b90('27','oLNQ')],'【提示】cookie已失效',_0x5b90('28','hI6a')+$[_0x5b90('29','hzC!')]+'\x20'+($['nickName']||$[_0x5b90('2a','bKCq')])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':_0xfba8bc['kYftv']});if($[_0x5b90('2b','E#[&')]()){await notify['sendNotify']($[_0x5b90('2c','x$@1')]+_0x5b90('2d','40AL')+$['UserName'],_0x5b90('2e','A1b1')+$[_0x5b90('2f','olVK')]+'\x20'+$['UserName']+_0x5b90('30','8kQH'));}continue;}await _0xfba8bc[_0x5b90('31','!9oc')](shareCodesFormatPk);await _0xfba8bc[_0x5b90('32','Tn2b')](helpFriendsPK);await $[_0x5b90('33','&0&8')](0x3e8);}}})()[_0x5b90('34','7pgP')](_0x10b243=>{$[_0x5b90('35','bSa9')]('','❌\x20'+$[_0x5b90('36','@oD4')]+',\x20失败!\x20原因:\x20'+_0x10b243+'!','');})['finally'](()=>{$[_0x5b90('37','kI2V')]();});function assist(_0x2a1c44){var _0x6ed681={'innpV':function(_0x6822e4,_0x5e5467){return _0x6822e4(_0x5e5467);},'Mcykm':_0x5b90('38','Wj5G'),'oFBad':_0x5b90('39','aj[z'),'Ritph':function(_0x36f583,_0x579994){return _0x36f583===_0x579994;},'GjwDK':'LTLzL','yuOyv':'WfDcz','UOOqt':'XGFsm','UjBhU':function(_0x34d836,_0x215553){return _0x34d836!==_0x215553;},'CkaZy':_0x5b90('3a','N)]U'),'GXyOd':_0x5b90('3b','&0&8'),'MpOrM':'application/x-www-form-urlencoded','YeaFP':_0x5b90('3c','8kQH'),'ftoSq':_0x5b90('3d','FmcO'),'lepEI':_0x5b90('3e','!4fP'),'zmlOI':function(_0x6f89e1,_0x246b44){return _0x6f89e1+_0x246b44;},'VPKNA':'{\x22extraData\x22:{\x22log\x22:\x22\x22,\x22sceneid\x22:\x22OY217Inviteh5\x22},\x22random\x22:\x22','XUQAa':function(_0x3f762d,_0x19862e){return _0x3f762d(_0x19862e);},'rmhYv':function(_0x1ddf84,_0x595af2){return _0x1ddf84(_0x595af2);}};return new Promise(_0x3accb6=>{if(_0x6ed681[_0x5b90('3f','8[wj')]('LzhpX',_0x5b90('40','U(ER'))){$['post']({'url':_0x5b90('41',')xrD'),'headers':{'Host':_0x6ed681[_0x5b90('42','vt)T')],'accept':_0x6ed681[_0x5b90('43','$!dp')],'content-type':_0x6ed681[_0x5b90('44','oPmc')],'origin':_0x6ed681[_0x5b90('45','yXKw')],'accept-language':_0x6ed681[_0x5b90('46','hzC!')],'User-Agent':ua,'cookie':$[_0x5b90('47','kU%@')]},'body':_0x5b90('48','!4fP')+JSON[_0x5b90('49','!9oc')]({'inviteId':_0x2a1c44,'type':_0x6ed681[_0x5b90('4a','#X&Y')],'ss':_0x6ed681[_0x5b90('4b',')L*Z')](_0x6ed681[_0x5b90('4c',')L*Z')]+_0x6ed681[_0x5b90('4d','8[wj')](randomString,0x8),'\x22}')})+_0x5b90('4e',')xrD')+_0x6ed681[_0x5b90('4f','oPmc')](randomString,0x28)+_0x5b90('50','yXKw')},(_0x3bc2f4,_0x4180ea,_0x1511c9)=>{var _0x1a51f5={'zxeyM':function(_0x239a0b,_0x4a7b36){return _0x6ed681['innpV'](_0x239a0b,_0x4a7b36);},'LuEFJ':_0x6ed681[_0x5b90('51','#oS[')]};if(_0x5b90('52','biWQ')===_0x6ed681[_0x5b90('53','@oD4')]){try{_0x1511c9=JSON['parse'](_0x1511c9);console['log'](_0x1511c9[_0x5b90('54','x$@1')][_0x5b90('55','E#[&')]);_0x1511c9=_0x1511c9[_0x5b90('56','O1(q')];}catch(_0x2b968b){$['logErr'](_0x5b90('57','#X&Y'),_0x2b968b,_0x4180ea);}finally{_0x1a51f5[_0x5b90('58','OWLB')](_0x3accb6,_0x1511c9);}}else{try{_0x1511c9=JSON[_0x5b90('59','E#[&')](_0x1511c9);console[_0x5b90('5a','FmcO')](_0x1511c9[_0x5b90('5b','oPmc')][_0x5b90('5c','&0&8')]);_0x1511c9=_0x1511c9['code'];}catch(_0x466d73){if(_0x6ed681[_0x5b90('5d','YchS')](_0x6ed681[_0x5b90('5e','hI6a')],_0x6ed681['GjwDK'])){$[_0x5b90('5f','bSa9')](_0x6ed681[_0x5b90('60','x$@1')],_0x466d73,_0x4180ea);}else{$[_0x5b90('61','#oS[')]('','❌\x20'+$['name']+_0x5b90('62','biWQ')+_0x466d73+'!','');}}finally{if(_0x6ed681[_0x5b90('63','x$@1')](_0x6ed681[_0x5b90('64','OWLB')],_0x6ed681['UOOqt'])){$[_0x5b90('65','vt)T')](_0x1a51f5['LuEFJ'],e,_0x4180ea);}else{_0x6ed681['innpV'](_0x3accb6,_0x1511c9);}}}});}else{cookiesArr[_0x5b90('3','biWQ')](jdCookieNode[item]);}});}function shareCodesFormatPk(){var _0x59b5d5={'eQUZI':function(_0x5cf9f0,_0x217908){return _0x5cf9f0-_0x217908;},'xlLNG':'CookieJD2','mtbPa':_0x5b90('66','@oD4'),'yhQCD':function(_0x2cd160,_0x5b66b2){return _0x2cd160===_0x5b66b2;},'IGpLZ':_0x5b90('67','QaVZ'),'dcHwr':'LqlhV','bnslw':function(_0x225b6b,_0x5122ff){return _0x225b6b>_0x5122ff;},'SaBuP':function(_0x186fea,_0x33fff9){return _0x186fea-_0x33fff9;},'nVNTJ':function(_0x375d49,_0x170b3b){return _0x375d49>=_0x170b3b;},'qweuk':function(_0x3450d3,_0x52be56){return _0x3450d3+_0x52be56;},'UJPZK':function(_0x1c8b38,_0x33ae79){return _0x1c8b38===_0x33ae79;},'RACKC':'xmjoK','HaWZG':function(_0x5d1ff0){return _0x5d1ff0();}};return new Promise(async _0x3f8373=>{var _0x4d4101={'MfzoL':_0x59b5d5['xlLNG']};if(_0x5b90('68','7pgP')===_0x59b5d5[_0x5b90('69','hI6a')]){$[_0x5b90('6a','hGVN')]=[];if($[_0x5b90('6b','hGVN')][$[_0x5b90('1d','#X&Y')]-0x1]){if(_0x59b5d5['yhQCD'](_0x59b5d5[_0x5b90('6c','!Dg$')],_0x59b5d5['IGpLZ'])){$[_0x5b90('6d','U(ER')]=$['shareCodesPkArr'][$[_0x5b90('6e','8[wj')]-0x1][_0x5b90('6f','YchS')]('@');}else{$[_0x5b90('70','KFlZ')]=[...new Set([...$[_0x5b90('71','FmcO')],..._0x379296['data']||[]])];}}else{if(_0x5b90('72',')L*Z')===_0x59b5d5[_0x5b90('73','gpSL')]){cookiesArr=[$[_0x5b90('74',')xrD')](_0x5b90('75','hI6a')),$[_0x5b90('76','LZb]')](_0x4d4101['MfzoL']),...$[_0x5b90('77','%jue')]($[_0x5b90('76','LZb]')](_0x5b90('78','!9oc'))||'[]')[_0x5b90('79','%jue')](_0x4c29bf=>_0x4c29bf[_0x5b90('7a','@8YM')])][_0x5b90('7b','XxZq')](_0x226ed6=>!!_0x226ed6);}else{console['log'](_0x5b90('7c','#oS[')+$['index']+_0x5b90('7d','tj]$'));const _0xcc49f6=_0x59b5d5['bnslw']($[_0x5b90('7e','U(ER')],pkInviteCodes[_0x5b90('7f',')L*Z')])?pkInviteCodes[_0x5b90('80','LZb]')]-0x1:_0x59b5d5[_0x5b90('81','#oS[')]($[_0x5b90('82','!Dg$')],0x1);$[_0x5b90('83','x$@1')]=pkInviteCodes[_0xcc49f6][_0x5b90('84','oPmc')]('@');}}let _0x379296=null;if(_0x59b5d5[_0x5b90('85','x$@1')](new Date()['getUTCHours']()+0x8,0x7)&&_0x59b5d5[_0x5b90('86','kI2V')](new Date()[_0x5b90('87','!Dg$')](),0x8)<=0x18){_0x379296=await readShareCodePk();}else{if(_0x59b5d5[_0x5b90('88','40AL')]('QofzQ',_0x59b5d5['RACKC'])){console[_0x5b90('89','hGVN')]('由于您第'+$[_0x5b90('8a','$!dp')]+'个京东账号未提供SHshareCode,将采纳本脚本自带的助力码\x0a');const _0x681134=$[_0x5b90('29','hzC!')]>pkInviteCodes[_0x5b90('8b','O1(q')]?_0x59b5d5[_0x5b90('8c','!9oc')](pkInviteCodes[_0x5b90('8d','bSa9')],0x1):$[_0x5b90('8e','[rn5')]-0x1;$['newShareCodesPk']=pkInviteCodes[_0x681134]['split']('@');}else{console[_0x5b90('8f','!4fP')](_0x5b90('90','QaVZ'));}}_0x379296=await _0x59b5d5['HaWZG'](readShareCodePk);if(_0x379296&&_0x59b5d5[_0x5b90('91','nhcd')](_0x379296[_0x5b90('92','8[wj')],0xc8)){$[_0x5b90('93','hI6a')]=[...new Set([...$[_0x5b90('94','@oD4')],..._0x379296[_0x5b90('95','bSa9')]||[]])];}console[_0x5b90('35','bSa9')]('第'+$['index']+_0x5b90('96','aj[z')+JSON['stringify']($[_0x5b90('97',')xrD')]));_0x3f8373();}else{console[_0x5b90('98','U(ER')](_0x5b90('99','!4fP'));}});}function readShareCodePk(){var _0x472cbe={'dtpka':function(_0x451f13,_0x266242){return _0x451f13!==_0x266242;},'iDnKP':_0x5b90('9a','OWLB'),'hmouN':'OmIrN','GUByl':function(_0x345fd0,_0x27f8e4){return _0x345fd0(_0x27f8e4);}};return new Promise(async _0x343ffa=>{$['get']({'url':_0x5b90('9b','LZb]'),'headers':{'User-Agent':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'},'timeout':0x2710},(_0x144b02,_0x241148,_0x56c75e)=>{try{if(_0x144b02){}else{if(_0x56c75e){_0x56c75e=JSON[_0x5b90('9c',')xrD')](_0x56c75e);}}}catch(_0x3a5eb4){if(_0x472cbe['dtpka'](_0x472cbe[_0x5b90('9d','OWLB')],_0x472cbe['hmouN'])){$['logErr'](_0x3a5eb4,_0x241148);}else{_0x56c75e=JSON[_0x5b90('9e','bKCq')](_0x56c75e);console[_0x5b90('9f','hI6a')](_0x56c75e['data'][_0x5b90('a0','#X&Y')]);_0x56c75e=_0x56c75e[_0x5b90('a1','biWQ')];}}finally{_0x472cbe[_0x5b90('a2','oPmc')](_0x343ffa,_0x56c75e);}});await $['wait'](0x2710);_0x343ffa();});}async function helpFriendsPK(){var _0x3d2210={'akIWn':function(_0x30819e,_0x3dfcfc){return _0x30819e(_0x3dfcfc);},'CQZHr':function(_0x599e7d,_0x3faae5){return _0x599e7d(_0x3faae5);},'TzNrF':function(_0x510171,_0x470034){return _0x510171===_0x470034;},'yBovB':function(_0x148114,_0x17a59f){return _0x148114===_0x17a59f;}};for(let _0x459399 of $[_0x5b90('a3','XxZq')]){if(!_0x459399)continue;console['log'](_0x5b90('a4','gpSL')+_0x459399);let _0x3b34c2=_0x3d2210['akIWn'](Number,await _0x3d2210[_0x5b90('a5','#X&Y')](assist,_0x459399));if(_0x3d2210[_0x5b90('a6','hzC!')](_0x3b34c2,-0x19b)||_0x3d2210[_0x5b90('a7','8kQH')](_0x3b34c2,-0x3e9)||_0x3b34c2===-0x195){continue;}}};_0xodk='jsjiami.com.v6';
function requireConfig() {
return new Promise(resolve => {
console.log(`开始获取${$.name}配置文件\n`);
//Node.js用户请在jdCookie.js处填写京东ck;
let shareCodesPK = []
if ($.isNode() && process.env.JDSUMMERSH_SHARECODES) {
if (process.env.JDSUMMERSH_SHARECODES.indexOf('\n') > -1) {
shareCodesPK = process.env.JDSUMMERSH_SHARECODES.split('\n');
} else {
shareCodesPK = process.env.JDSUMMERSH_SHARECODES.split('&');
}
}
$.shareCodesPkArr = [];
if ($.isNode()) {
Object.keys(shareCodesPK).forEach((item) => {
if (shareCodesPK[item]) {
$.shareCodesPkArr.push(shareCodesPK[item])
}
})
}
console.log(`您提供了${$.shareCodesPkArr.length}个账号的${$.name}SH助力码\n`);
resolve()
})
}
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 : (require('./USER_AGENTS').USER_AGENT)) : ($.getdata('JDUA') ? $.getdata('JDUA') : "jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1")
}
}
$.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();
}
})
})
}
function randomString(e) {
e = e || 32;
let t = "abcdefhijkmnprstwxyz2345678",
a = t.length,
n = "";
for (i = 0; i < e; i++)
n += t.charAt(Math.floor(Math.random() * a));
return n
}
function Env(t,e){class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============📣系统通知📣=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`❗️${this.name}, 错误!`,t.stack):this.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`🔔${this.name}, 结束! 🕛 ${s} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。