faker3/jd_wyw.js
2024-07-18 13:00:42 +08:00

17 lines
50 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
活动名称:新版玩一玩 5.17-8.31结束
活动入口APP-我的-更多工具-玩一玩
活动建议定时自行修改奖票有效期2个月
活动变量jd_wyw_notify // 是否推送通知true/false默认不推送
jd_wyw_pinFilter // 账号pin过滤多个用@进行分割
如开启翻倍请自行修改定时建议运行10次每次间隔30分钟以上。
cron:1 6,14,18 * * *
*/
const $ = new Env('新版玩一玩')
const _0x3dc07d=_0x7381;(function(_0x18c358,_0x22d61b){const _0x3833a0=_0x7381,_0x4d10d0=_0x18c358();while(!![]){try{const _0x2a1187=-parseInt(_0x3833a0(0xc6,'*ZFb'))/0x1+parseInt(_0x3833a0(0xc3,'altS'))/0x2*(-parseInt(_0x3833a0(0x138,'DzH8'))/0x3)+-parseInt(_0x3833a0(0x1ae,'mln['))/0x4+parseInt(_0x3833a0(0x20e,'YWgE'))/0x5*(-parseInt(_0x3833a0(0x9b,'AgCw'))/0x6)+-parseInt(_0x3833a0(0x192,'*ZFb'))/0x7+-parseInt(_0x3833a0(0xdd,'QOS!'))/0x8+parseInt(_0x3833a0(0x214,'Wp5c'))/0x9;if(_0x2a1187===_0x22d61b)break;else _0x4d10d0['push'](_0x4d10d0['shift']());}catch(_0x3ed08b){_0x4d10d0['push'](_0x4d10d0['shift']());}}}(_0x4bc8,0xe00b9));const jdCookie=require('./jdCookie'),notify=require(_0x3dc07d(0x16b,'QOS!')),common=require(_0x3dc07d(0xf0,'3TqI')),{H5st,jsTk}=require(_0x3dc07d(0x159,'F(AB'));let turnlinkId=_0x3dc07d(0x113,'%$U['),superlinkId=_0x3dc07d(0x190,'bxO4'),taskThreads=process[_0x3dc07d(0x1a2,'mln[')][_0x3dc07d(0x18a,'UpB)')]||'1';const runInterval=process['env'][_0x3dc07d(0x1c8,'tJ&S')]||_0x3dc07d(0x188,'bxO4'),isNotify=(process['env'][_0x3dc07d(0x180,']X[4')]||process[_0x3dc07d(0x16d,'!2z%')][_0x3dc07d(0x181,'F(AB')])==='true',pinFilter=(process[_0x3dc07d(0xb9,'AgCw')]['jd_wyw_pinFilter']||'')[_0x3dc07d(0x19d,'zP83')]('@');let turnNum=process[_0x3dc07d(0x23a,'dYuj')][_0x3dc07d(0xfe,'d5RQ')]||'50',turnmaxTime=process[_0x3dc07d(0x24d,'zP83')][_0x3dc07d(0x111,'altS')]||'2',errMsgPin=[],shareCodes=[],needRemoveCodes=[],cookiesArr=Object[_0x3dc07d(0xcb,'YWgE')](jdCookie)[_0x3dc07d(0x184,'Cjl[')](_0x2a01ab=>jdCookie[_0x2a01ab])[_0x3dc07d(0x258,']X[4')](_0xbd449d=>_0xbd449d);!cookiesArr[0x0]&&($['msg']($['name'],_0x3dc07d(0x1a0,'YWgE')),process['exit'](0x1));!(async()=>{const _0x14c3e9=_0x3dc07d;notify[_0x14c3e9(0x193,'Cjl[')]({'title':$[_0x14c3e9(0x18b,'!fNd')]}),await Main(),isNotify&&notify[_0x14c3e9(0x1ee,'cRB%')]()&&await notify['push']();})()[_0x3dc07d(0x1c3,'5T#H')](_0x433929=>$[_0x3dc07d(0x1e0,'!fNd')](_0x433929))[_0x3dc07d(0xaa,'J#fm')](()=>$[_0x3dc07d(0x1e8,'Dwau')]());async function Main(){const _0x59b101=_0x3dc07d;try{try{const _0x37698e=parseInt(taskThreads);_0x37698e>0x0&&_0x37698e!==0x1&&(taskThreads=_0x37698e);}catch{taskThreads=0x1;}taskThreads=Math['min'](taskThreads,0x1),$[_0x59b101(0xcc,'yEkw')]=null;if(runInterval)try{const _0x1d4129=parseInt(runInterval);_0x1d4129>=0x0&&($[_0x59b101(0x1b5,'Cjl[')]=_0x1d4129);}catch{console[_0x59b101(0x155,'J#fm')](_0x59b101(0x1d2,'!2z%'));}console[_0x59b101(0x225,'TJcU')](_0x59b101(0x185,'aYT*')+$[_0x59b101(0xf4,'8VHk')]+'变量开启状态=========='),console[_0x59b101(0x254,'eo(z')]('活动入口:\x20APP-我的-更多工具-玩一玩'),console[_0x59b101(0x14f,'W*Qm')]('代理开关:\x20['+common[_0x59b101(0xae,'%$U[')]()+']'),console[_0x59b101(0x13f,'%$U[')](_0x59b101(0x95,'YWgE')+(isNotify?'开启':'关闭')+']'),console['log']('账号过滤:\x20['+pinFilter[_0x59b101(0x227,'u11N')](',\x20')+']'),console[_0x59b101(0xef,'eCug')](_0x59b101(0xc8,'kwE6')+$[_0x59b101(0x174,'altS')]+_0x59b101(0x147,']X[4')),console[_0x59b101(0x13f,'%$U[')](''),$[_0x59b101(0x23d,'Dwau')]=[],await common[_0x59b101(0xe0,'Vm]2')](taskThreads,cookiesArr,taskFnc),$[_0x59b101(0x19f,'bxO4')]=![],$[_0x59b101(0x228,'pY2)')]=![];$[_0x59b101(0x198,'Vm]2')][_0x59b101(0x9a,'!fNd')]>0x0&&(cookiesArr=cookiesArr[_0x59b101(0x106,'kwE6')]((_0x28c506,_0x457281)=>!$[_0x59b101(0x15b,'&neq')][_0x59b101(0x1d5,'sp&Y')](_0x457281+0x1)),$['needRemoveCookieIndex']=[]);const _0x3336a1=notify['getMessage']();_0x3336a1&&console[_0x59b101(0x125,'kwE6')](_0x59b101(0x1e9,'yUj(')+_0x3336a1[_0x59b101(0x1da,'h65^')](//g,_0x59b101(0x23f,'tJ&S')));if(errMsgPin[_0x59b101(0x1fd,'bxO4')]>0x0){let _0x2bd013=_0x59b101(0x132,'u11N')+errMsgPin[_0x59b101(0x1e3,'YIuS')]('&')+'\x22';console[_0x59b101(0x17c,'(%zw')](_0x2bd013);}}catch(_0x505446){console[_0x59b101(0xb8,'pY2)')]('❌\x20脚本运行遇到了错误\x0a'+_0x505446);}}function _0x7381(_0x4774fe,_0xde90b6){const _0x4bc823=_0x4bc8();return _0x7381=function(_0x73812b,_0x31b8b3){_0x73812b=_0x73812b-0x86;let _0x4ddb63=_0x4bc823[_0x73812b];if(_0x7381['baXMKY']===undefined){var _0x57d30c=function(_0xbd449d){const _0x433929='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3336a1='',_0x37698e='';for(let _0x1d4129=0x0,_0x28c506,_0x457281,_0x2bd013=0x0;_0x457281=_0xbd449d['charAt'](_0x2bd013++);~_0x457281&&(_0x28c506=_0x1d4129%0x4?_0x28c506*0x40+_0x457281:_0x457281,_0x1d4129++%0x4)?_0x3336a1+=String['fromCharCode'](0xff&_0x28c506>>(-0x2*_0x1d4129&0x6)):0x0){_0x457281=_0x433929['indexOf'](_0x457281);}for(let _0x505446=0x0,_0x388506=_0x3336a1['length'];_0x505446<_0x388506;_0x505446++){_0x37698e+='%'+('00'+_0x3336a1['charCodeAt'](_0x505446)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x37698e);};const _0x2a01ab=function(_0x2feb13,_0x542a0f){let _0x4194c9=[],_0x20f5fb=0x0,_0x4450d2,_0x5d5292='';_0x2feb13=_0x57d30c(_0x2feb13);let _0x493299;for(_0x493299=0x0;_0x493299<0x100;_0x493299++){_0x4194c9[_0x493299]=_0x493299;}for(_0x493299=0x0;_0x493299<0x100;_0x493299++){_0x20f5fb=(_0x20f5fb+_0x4194c9[_0x493299]+_0x542a0f['charCodeAt'](_0x493299%_0x542a0f['length']))%0x100,_0x4450d2=_0x4194c9[_0x493299],_0x4194c9[_0x493299]=_0x4194c9[_0x20f5fb],_0x4194c9[_0x20f5fb]=_0x4450d2;}_0x493299=0x0,_0x20f5fb=0x0;for(let _0x581811=0x0;_0x581811<_0x2feb13['length'];_0x581811++){_0x493299=(_0x493299+0x1)%0x100,_0x20f5fb=(_0x20f5fb+_0x4194c9[_0x493299])%0x100,_0x4450d2=_0x4194c9[_0x493299],_0x4194c9[_0x493299]=_0x4194c9[_0x20f5fb],_0x4194c9[_0x20f5fb]=_0x4450d2,_0x5d5292+=String['fromCharCode'](_0x2feb13['charCodeAt'](_0x581811)^_0x4194c9[(_0x4194c9[_0x493299]+_0x4194c9[_0x20f5fb])%0x100]);}return _0x5d5292;};_0x7381['qYyQLq']=_0x2a01ab,_0x4774fe=arguments,_0x7381['baXMKY']=!![];}const _0x44913a=_0x4bc823[0x0],_0x1359cc=_0x73812b+_0x44913a,_0xa3d81f=_0x4774fe[_0x1359cc];return!_0xa3d81f?(_0x7381['CbucdE']===undefined&&(_0x7381['CbucdE']=!![]),_0x4ddb63=_0x7381['qYyQLq'](_0x4ddb63,_0x31b8b3),_0x4774fe[_0x1359cc]=_0x4ddb63):_0x4ddb63=_0xa3d81f,_0x4ddb63;},_0x7381(_0x4774fe,_0xde90b6);}async function taskFnc(_0x388506,_0x2feb13){const _0x93cd80=_0x3dc07d;if($[_0x93cd80(0x11c,'zP83')])return{'runEnd':!![]};const _0x542a0f=decodeURIComponent(common[_0x93cd80(0xe7,'ICu3')](_0x388506,_0x93cd80(0x182,'altS')));function _0x4194c9(_0x26cfcf,_0x2b2753){const _0x40dcc4=_0x93cd80;if(_0x26cfcf[_0x40dcc4(0x89,'zP83')]<=0x4)return _0x26cfcf;else{const _0x519f33=_0x26cfcf[_0x40dcc4(0x241,'u11N')](0x0,0x2),_0x1b2909=_0x26cfcf['slice'](-0x2),_0x217e51=Math['max'](_0x2b2753-_0x519f33[_0x40dcc4(0x122,'F(AB')]-_0x1b2909[_0x40dcc4(0x24a,'R@GV')],0x0),_0x5d665b='*'[_0x40dcc4(0x127,'Nd&B')](_0x217e51);return _0x519f33+_0x5d665b+_0x1b2909;}}const _0x20f5fb=decodeURIComponent(_0x542a0f),_0x4450d2=_0x4194c9(_0x20f5fb,0x6),_0x5d5292=_0x93cd80(0x100,'J#fm')+_0x2feb13+'】'+_0x4450d2+'',_0x493299=notify[_0x93cd80(0x1fc,'pY2)')](_0x2feb13,_0x542a0f);if(pinFilter[_0x93cd80(0x1c4,'mln[')]>0x0&&(pinFilter[_0x93cd80(0x148,'QOS!')](_0x542a0f)||pinFilter['includes'](encodeURIComponent(_0x542a0f)))){_0x493299['fix'](_0x93cd80(0x1ac,'ICu3')),console[_0x93cd80(0x225,'TJcU')](_0x493299[_0x93cd80(0xad,'eo(z')]()),$[_0x93cd80(0x16c,'!2z%')][_0x93cd80(0x206,'5T#H')](_0x2feb13);return;}const _0x581811=await common[_0x93cd80(0xbd,'(%zw')](_0x388506);if(!_0x581811&&typeof _0x581811===_0x93cd80(0x226,'cRB%')){console[_0x93cd80(0x9c,'!fNd')](_0x5d5292+_0x93cd80(0x90,'AgCw')),_0x493299[_0x93cd80(0xd6,'YOdx')](_0x93cd80(0xda,'Nd&B')),$[_0x93cd80(0x1b3,'YWgE')][_0x93cd80(0xd0,'eCug')](_0x2feb13);return;}const _0x598c11=common[_0x93cd80(0x137,'cRB%')](_0x542a0f),_0x3edaca=common[_0x93cd80(0x22e,'*ZFb')](_0x93cd80(0x1fe,'dYuj'));let _0x1a21ef=![],_0x167598=![],_0x142f13=![],_0x440fa7=![],_0x30ff17,_0x4632b0,_0x26ca9e,_0x5a1a6f,_0x2709b8,_0x5f4220,_0x328790,_0xda2a0a,_0x100c93,_0x3f0130,_0x1dcadd,_0x212f4b;const {jsToken:_0x33c026}=await jsTk(_0x598c11,'https://pro.m.jd.com/mall/active/3fcyrvLZALNPWCEDRvaZJVrzek8v/index.html');await _0x14f062(_0x93cd80(0x1c0,'sp&Y')),await $[_0x93cd80(0x217,'altS')](parseInt($[_0x93cd80(0x13e,'cRB%')]*0x1+0x3e8,0xa));if(_0x30ff17&&_0x30ff17[_0x93cd80(0xb4,'TJcU')]){const _0x33c3ef=_0x30ff17[_0x93cd80(0x1a3,'yEkw')]['status']||0x0,_0x1e0c77=_0x30ff17[_0x93cd80(0x175,'eCug')]['signedDays']||0x0,_0x28c757=_0x30ff17[_0x93cd80(0xe6,'sp&Y')]||0x0;console[_0x93cd80(0xa6,'sp&Y')](_0x5d5292+'当前有'+_0x28c757+'奖票'),_0x493299[_0x93cd80(0x218,'Dwau')]('有'+_0x28c757+'奖票');_0x30ff17[_0x93cd80(0x98,'Wp5c')]&&_0x30ff17['popWindows'][_0x93cd80(0x176,'eCug')]>0x0&&console[_0x93cd80(0x121,'Dwau')](_0x5d5292+_0x93cd80(0x169,'!fNd')+_0x30ff17[_0x93cd80(0x213,'h65^')][0x0][_0x93cd80(0x255,'3TqI')]+'奖票');_0x33c3ef===0x0&&(console['log'](_0x5d5292+'今日还未打卡,已打卡'+_0x1e0c77+'天,去打卡'),await _0x14f062(_0x93cd80(0x1fb,'ICu3')),await $[_0x93cd80(0x14b,'!2z%')](parseInt($[_0x93cd80(0x216,'UpB)')]*0x1+0x3e8,0xa)));if(_0x1a21ef)return;await _0x14f062('wanyiwan_task_list');if(_0x5a1a6f){let _0x29681f=![];for(let _0x194697 of _0x5a1a6f[_0x93cd80(0x23c,'!fNd')]||[]){let _0x3444a9=_0x194697[_0x93cd80(0x1cc,'(%zw')];_0x4632b0=_0x194697;const _0x5a5f75=_0x194697['status']||0x0,_0x32b783=_0x194697[_0x93cd80(0x1a9,'Wp5c')]||0x0,_0x1394bf=_0x194697[_0x93cd80(0xba,'WYVL')]||0x0,_0xdffa9b=_0x194697[_0x93cd80(0x21b,'ICu3')]||0x0;if(_0x5a5f75===0x3)continue;switch(_0x5a5f75){case 0x1:{switch(_0x32b783){case 0x1:_0x3444a9=_0x3444a9[_0x93cd80(0x1c5,'tJ&S')](_0x3e4148=>_0x3e4148[_0x93cd80(0x1d4,'sp&Y')]===0x1);for(let _0x4a7137=_0x1394bf;_0x4a7137<_0xdffa9b;_0x4a7137++){_0x29681f=!![],_0x3f0130=0x1,_0x26ca9e=_0x3444a9[_0x93cd80(0xd9,'u11N')](),await $['wait'](parseInt($['waitTime']*0x1+0x3e8,0xa)),await _0x14f062('wanyiwan_do_task');if(_0x142f13)break;await $[_0x93cd80(0xc1,'DzH8')](parseInt(_0x194697[_0x93cd80(0x1c2,'h65^')]*0x3e8+0x5dc,0xa)),_0x3f0130=0x0,await _0x14f062(_0x93cd80(0xec,'DzH8')),await $['wait'](parseInt($['waitTime']*0x1+0x3e8,0xa)),await _0x14f062(_0x93cd80(0x163,'YIuS')),await $[_0x93cd80(0x92,'AgCw')](parseInt($[_0x93cd80(0x1a8,']X[4')]*0x1+0x3e8,0xa));}break;case 0x3:break;case 0x4:for(let _0x435eaa=_0x1394bf;_0x435eaa<_0xdffa9b;_0x435eaa++){_0x29681f=!![],_0x3f0130=0x0,await $[_0x93cd80(0x15d,'eCug')](parseInt($[_0x93cd80(0x229,'ICu3')]*0x1+0x3e8,0xa)),await _0x14f062(_0x93cd80(0x13b,'Dwau'));if(_0x142f13)break;await $[_0x93cd80(0x220,'sp&Y')](parseInt($[_0x93cd80(0x24f,'J#fm')]*0x1+0x5dc,0xa)),await _0x14f062(_0x93cd80(0x178,'u11N')),await $['wait'](parseInt($['waitTime']*0x1+0x5dc,0xa));}break;case 0x5:for(let _0x4486d2=_0x1394bf;_0x4486d2<_0xdffa9b;_0x4486d2++){_0x29681f=!![];let _0x9a195=_0x3444a9[0x0][_0x93cd80(0x14d,'YIuS')];if(!shareCodes[_0x93cd80(0x150,'R@GV')](_0x9a195)){shareCodes[_0x93cd80(0x1f3,'pY2)')](_0x9a195);if(shareCodes['length']>=0x2)for(let _0x151afe of shareCodes){_0x212f4b=_0x151afe,await $['wait'](parseInt($[_0x93cd80(0xf7,'altS')]*0x1+0x3e8,0xa)),await _0x14f062('wanyiwan_assist');if(_0x1a21ef)break;await $[_0x93cd80(0x200,'mln[')](parseInt($['waitTime']*0x1+0x9c4,0xa));}}}break;}break;}case 0x2:{await _0x14f062(_0x93cd80(0x1e7,'pY2)')),await $[_0x93cd80(0x14b,'!2z%')](parseInt($[_0x93cd80(0xd3,'TJcU')]*0x1+0x3e8,0xa));break;}default:console[_0x93cd80(0xa0,'zP83')](_0x5d5292+'任务\x20\x22'+_0x194697['title']+'\x22\x20状态未知'+_0x194697[_0x93cd80(0xac,'F(AB')]);break;}if(needRemoveCodes['length']>0x0)for(let _0x591c34 of needRemoveCodes){shareCodes[_0x93cd80(0x136,'ICu3')](_0x591c34)&&shareCodes[_0x93cd80(0x105,'!fNd')](shareCodes[_0x93cd80(0x166,']X[4')](_0x591c34),0x1);}if(_0x142f13)break;await $[_0x93cd80(0x92,'AgCw')](parseInt($[_0x93cd80(0x20a,'AgCw')]*0x1+0x3e8,0xa));}if(_0x29681f){await _0x14f062('wanyiwan_task_list'),await $[_0x93cd80(0x200,'mln[')](parseInt($[_0x93cd80(0x112,'mln[')]*0x1+0x3e8,0xa));for(let _0x1c743b of _0x5a1a6f[_0x93cd80(0x20c,'aYT*')]||[]){_0x4632b0=_0x1c743b;const _0x523248=_0x1c743b[_0x93cd80(0x224,'F(AB')]||0x0;_0x523248===0x2&&(await _0x14f062(_0x93cd80(0x86,'YWgE')),await $[_0x93cd80(0x12a,'5T#H')](parseInt($[_0x93cd80(0x20a,'AgCw')]*0x1+0x1f4,0xa)));}}}if(_0x142f13)return;}if($['runEnd'])return{'runEnd':!![]};await $[_0x93cd80(0x1bd,'*ZFb')](parseInt($[_0x93cd80(0x8e,'u11N')]*0x1+0x7d0,0xa));async function _0x23a59d(_0x3ad303,_0xd0c01d){const _0x3df21b=_0x93cd80;try{let _0xcc20a2='';switch(_0x3ad303){case _0x3df21b(0x142,']X[4'):_0xd0c01d[_0x3df21b(0xdb,'WYVL')]==0x0&&_0xd0c01d['data']?_0xd0c01d[_0x3df21b(0x157,'F(AB')][_0x3df21b(0x153,'*ZFb')]===0x0?_0x30ff17=_0xd0c01d[_0x3df21b(0x234,'YOdx')]['result']:(_0xcc20a2=common[_0x3df21b(0x10c,'sp&Y')](_0xd0c01d[_0x3df21b(0xbc,'8VHk')]),console[_0x3df21b(0x1d9,'h65^')](_0x5d5292+_0x3df21b(0x1e5,'Cjl[')+_0xcc20a2),['火爆']['some'](_0x4ee6de=>_0xcc20a2[_0x3df21b(0xff,'h65^')](_0x4ee6de))&&(errMsgPin[_0x3df21b(0x1d7,'h65^')](_0x542a0f),_0x1a21ef=!![])):(_0xcc20a2=common[_0x3df21b(0x10c,'sp&Y')](_0xd0c01d),console['log'](_0x5d5292+_0x3df21b(0x88,'YOdx')+_0xcc20a2));break;case _0x3df21b(0x109,'tJ&S'):_0xd0c01d[_0x3df21b(0x1f8,')P7O')]==0x0&&_0xd0c01d['data']?_0xd0c01d[_0x3df21b(0xaf,'yUj(')]['bizCode']===0x0?console['log'](_0x5d5292+_0x3df21b(0x9f,'zP83')+_0xd0c01d[_0x3df21b(0x1ea,'3TqI')][_0x3df21b(0x13c,'altS')]['signedDays']+_0x3df21b(0x24c,'YIuS')+_0xd0c01d[_0x3df21b(0x145,'Nd&B')][_0x3df21b(0x199,'QOS!')][_0x3df21b(0x120,'bxO4')]+'奖票'):(_0xcc20a2=common[_0x3df21b(0x1ef,'5T#H')](_0xd0c01d[_0x3df21b(0x157,'F(AB')]),console['log'](_0x5d5292+_0x3df21b(0x1c7,'YWgE')+_0xcc20a2),['失败','糟糕','火爆'][_0x3df21b(0x16a,'sp&Y')](_0x55f49d=>_0xcc20a2[_0x3df21b(0xf9,'YWgE')](_0x55f49d))&&(errMsgPin['push'](_0x542a0f),_0x1a21ef=!![])):(_0xcc20a2=common['getErrorMsg'](_0xd0c01d),console['log'](_0x5d5292+_0x3df21b(0x1af,'Wp5c')+_0xcc20a2));break;case'wanyiwan_task_list':_0xd0c01d[_0x3df21b(0x9e,'dYuj')]==0x0&&_0xd0c01d[_0x3df21b(0xf6,'altS')]?_0xd0c01d[_0x3df21b(0x1e4,'Vm]2')][_0x3df21b(0x20d,'dYuj')]===0x0?_0x5a1a6f=_0xd0c01d[_0x3df21b(0x234,'YOdx')][_0x3df21b(0x13c,'altS')]:(_0xcc20a2=common['getErrorMsg'](_0xd0c01d['data']),console[_0x3df21b(0xeb,'QOS!')](_0x5d5292+_0x3df21b(0x171,'cRB%')+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0xf3,'FxGT')](_0xd0c01d),console[_0x3df21b(0x119,'3TqI')](_0x5d5292+'任务列表失败:'+_0xcc20a2));break;case'wanyiwan_point_record':case'wanyiwan_point_record':if(_0xd0c01d[_0x3df21b(0x141,'zP83')]==0x0&&_0xd0c01d[_0x3df21b(0x140,'bxO4')]){if(_0xd0c01d['data'][_0x3df21b(0x239,'3TqI')]===0x0){}else _0xcc20a2=common[_0x3df21b(0x19e,'W*Qm')](_0xd0c01d[_0x3df21b(0xaf,'yUj(')]),console['log'](_0x5d5292+_0x3df21b(0x10e,'dYuj')+_0xcc20a2);}else _0xcc20a2=common[_0x3df21b(0xf3,'FxGT')](_0xd0c01d),console['log'](_0x5d5292+_0x3df21b(0x8f,'QOS!')+_0xcc20a2);break;case _0x3df21b(0x1f5,']X[4'):_0xd0c01d[_0x3df21b(0x1dd,'pY2)')]==0x0&&_0xd0c01d['data']?_0xd0c01d[_0x3df21b(0x157,'F(AB')]['bizCode']===0x0?_0x2709b8=_0xd0c01d[_0x3df21b(0x149,'pY2)')][_0x3df21b(0x102,'bxO4')]:(_0xcc20a2=common[_0x3df21b(0xf3,'FxGT')](_0xd0c01d[_0x3df21b(0xa2,'&neq')]),console[_0x3df21b(0x125,'kwE6')](_0x5d5292+_0x3df21b(0x10a,'kwE6')+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0x14c,'Cjl[')](_0xd0c01d),console[_0x3df21b(0x131,'yUj(')](_0x5d5292+_0x3df21b(0x19a,'F(AB')+_0xcc20a2));break;case'wanyiwan_do_task':_0x1dcadd=_0x3f0130===0x0?'完成':'开始';if(_0xd0c01d[_0x3df21b(0x215,'mln[')]==0x0&&_0xd0c01d['data']){if(_0xd0c01d[_0x3df21b(0x1ab,'(%zw')][_0x3df21b(0x1be,'yUj(')]===0x0){}else _0xcc20a2=common['getErrorMsg'](_0xd0c01d[_0x3df21b(0x1e6,'AgCw')]),console[_0x3df21b(0xea,'YOdx')](_0x5d5292+'['+_0x4632b0['title']+']任务'+_0x1dcadd+'失败:'+_0xcc20a2);}else _0xcc20a2=common[_0x3df21b(0xfc,'dYuj')](_0xd0c01d),console[_0x3df21b(0x204,'AgCw')](_0x5d5292+'['+_0x4632b0[_0x3df21b(0x205,'tJ&S')]+_0x3df21b(0xe5,'QOS!')+_0x1dcadd+_0x3df21b(0x130,'tJ&S')+_0xcc20a2),[_0x3df21b(0x133,'pY2)'),'火爆'][_0x3df21b(0xd8,'&neq')](_0x5af981=>_0xcc20a2[_0x3df21b(0x101,'FxGT')](_0x5af981))&&(_0x142f13=!![]);break;case _0x3df21b(0x186,'sp&Y'):_0xd0c01d[_0x3df21b(0x1f8,')P7O')]==0x0&&_0xd0c01d['data']?_0xd0c01d[_0x3df21b(0x8a,'u11N')][_0x3df21b(0x151,'h65^')]===0x0?console[_0x3df21b(0x104,'&neq')](_0x5d5292+_0x3df21b(0x231,'mln[')+_0x4632b0[_0x3df21b(0xa7,'Dwau')]+_0x3df21b(0x17d,'&neq')+(_0xd0c01d[_0x3df21b(0x1b0,'eo(z')][_0x3df21b(0x199,'QOS!')]['rewardCount']||0x0)+'奖票'):(_0xcc20a2=common[_0x3df21b(0x232,'Nd&B')](_0xd0c01d[_0x3df21b(0x1e6,'AgCw')]),console[_0x3df21b(0x131,'yUj(')](_0x5d5292+_0x3df21b(0x1fa,'bxO4')+_0x4632b0[_0x3df21b(0x10b,'Cjl[')]+']任务奖励失败:'+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0x1e1,'(%zw')](_0xd0c01d),console[_0x3df21b(0x1d9,'h65^')](_0x5d5292+_0x3df21b(0x1cb,'h65^')+_0x4632b0[_0x3df21b(0x1f4,'*ZFb')]+']任务奖励失败:'+_0xcc20a2));break;case _0x3df21b(0x8c,'Nd&B'):if(_0xd0c01d[_0x3df21b(0x237,'UpB)')]==0x0){const _0x41cea4=_0xd0c01d[_0x3df21b(0xd5,']X[4')][_0x3df21b(0x1b9,'ipr5')];switch(_0x41cea4){case 0x0:console[_0x3df21b(0x201,'u11N')](_0x5d5292+_0x3df21b(0x146,'5T#H')+_0x212f4b[_0x3df21b(0xf8,'aYT*')](0x0,0xa)+_0x3df21b(0x189,'W*Qm')),_0x1a21ef=!![];break;case-0x66:_0x1a21ef=!![];break;case-0x6b:_0x1a21ef=!![];break;case-0x1f42:break;case-0x1f43:_0x1a21ef=!![];break;case-0x1f45:console['log'](_0x5d5292+'助力['+_0x212f4b[_0x3df21b(0x1c6,'8VHk')](0x0,0xa)+_0x3df21b(0x23b,'yEkw')),needRemoveCodes['push'](_0x212f4b);break;case-0x1f46:_0x1a21ef=!![];break;case-0x1f48:_0x1a21ef=!![];break;default:console[_0x3df21b(0xa9,'Nd&B')](_0x5d5292+'助力['+_0x212f4b[_0x3df21b(0x240,'F(AB')](0x0,0xa)+']状态未知:'+_0xd0c01d[_0x3df21b(0x243,'mln[')]['bizMsg']+'['+_0x41cea4+']');break;}}else _0xcc20a2=common[_0x3df21b(0x18c,'*ZFb')](_0xd0c01d),console[_0x3df21b(0x1b4,'*ZFb')](_0x5d5292+'助力失败:'+_0xcc20a2),_0x1a21ef=!![];break;case'turnHappyHome':_0xd0c01d[_0x3df21b(0x144,'8VHk')]==0x0?_0xd0c01d[_0x3df21b(0x1db,'yEkw')]?_0x5f4220=_0xd0c01d[_0x3df21b(0x1e6,'AgCw')]:(_0xcc20a2=common[_0x3df21b(0x230,'Wp5c')](_0xd0c01d['data']),console[_0x3df21b(0x254,'eo(z')](_0x5d5292+'翻翻乐首页失败:'+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0x1f9,'yUj(')](_0xd0c01d),console[_0x3df21b(0x13f,'%$U[')](_0x5d5292+_0x3df21b(0x87,'F(AB')+_0xcc20a2));break;case'turnHappyDouble':if(_0xd0c01d[_0x3df21b(0x197,'YOdx')]==0x0){if(_0xd0c01d['success']){const _0x13f0c3=_0xd0c01d[_0x3df21b(0x1d3,'ipr5')]['leftTime'],_0x53f9c6=Math[_0x3df21b(0xed,'YWgE')](_0x13f0c3/0x3e8),_0x3410c3=_0xd0c01d[_0x3df21b(0x22d,'d5RQ')][_0x3df21b(0x248,'ipr5')],_0x586513=_0xd0c01d[_0x3df21b(0xaf,'yUj(')][_0x3df21b(0x257,'%$U[')],_0x1602e7=_0xd0c01d['data'][_0x3df21b(0x1bc,'DzH8')],_0x3ef9f6=Math[_0x3df21b(0x1aa,'d5RQ')](_0x53f9c6/0xe10),_0x389d0e=Math[_0x3df21b(0xa1,'yUj(')](_0x53f9c6%0xe10/0x3c),_0x49e4a6=_0x53f9c6%0x3c,_0xd1c6ae=_0x3ef9f6['toString']()[_0x3df21b(0x212,'YOdx')](0x2,'0')+':'+_0x389d0e['toString']()['padStart'](0x2,'0')+':'+_0x49e4a6['toString']()['padStart'](0x2,'0');switch(_0x3410c3){case 0x0:console[_0x3df21b(0xa0,'zP83')](_0x5d5292+_0x3df21b(0x93,'3TqI'));break;case 0x1:console['log'](_0x5d5292+_0x3df21b(0xb6,'cRB%')+_0x586513+'次成功,累计'+_0x1602e7+'奖票');break;case 0x2:console['log'](_0x5d5292+_0x3df21b(0x24b,'!fNd')+_0x1602e7+_0x3df21b(0x191,']X[4')+_0xd1c6ae+'后可再次参与');break;case 0x3:console[_0x3df21b(0x201,'u11N')](_0x5d5292+'翻倍第'+_0x586513+_0x3df21b(0x14a,'YWgE')+turnNum+_0x3df21b(0x219,'eCug')+_0xd1c6ae+_0x3df21b(0xd2,'eCug')),_0x493299[_0x3df21b(0x20b,'!fNd')](_0x3df21b(0xe9,'zP83')+turnNum+'奖票'),_0x167598=!![];break;default:console['log'](_0x5d5292+_0x3df21b(0x1cf,'(%zw')+_0x3410c3);break;}}else _0xcc20a2=common[_0x3df21b(0x12d,'!fNd')](_0xd0c01d[_0x3df21b(0x1b1,'*ZFb')]),console[_0x3df21b(0xe1,'ipr5')](_0x5d5292+_0x3df21b(0xc9,'W*Qm')+_0xcc20a2);}else _0xcc20a2=common[_0x3df21b(0x232,'Nd&B')](_0xd0c01d),console[_0x3df21b(0x209,'aYT*')](_0x5d5292+_0x3df21b(0x12f,'*ZFb')+_0xcc20a2);break;case _0x3df21b(0x21c,'5T#H'):_0xd0c01d[_0x3df21b(0x19c,'altS')]==0x0?_0xd0c01d[_0x3df21b(0x134,'Wp5c')]?(console[_0x3df21b(0xd7,'tJ&S')](_0x5d5292+_0x3df21b(0x1ca,'!fNd')+_0xd0c01d[_0x3df21b(0x149,'pY2)')][_0x3df21b(0x18e,'(%zw')]+'奖票'),_0x493299['insert']('翻倍赢得'+_0xd0c01d[_0x3df21b(0x145,'Nd&B')]['rewardValue']+'奖票')):(_0xcc20a2=common[_0x3df21b(0x1ff,'ICu3')](_0xd0c01d[_0x3df21b(0xb1,'h65^')]),console[_0x3df21b(0xd7,'tJ&S')](_0x5d5292+_0x3df21b(0x1a5,'h65^')+_0xcc20a2)):(_0xcc20a2=common['getErrorMsg'](_0xd0c01d),console['log'](_0x5d5292+_0x3df21b(0x11b,'yEkw')+_0xcc20a2));break;case'turnHappyDetailList':_0xd0c01d['code']==0x0?_0xd0c01d[_0x3df21b(0xd1,'Cjl[')]&&_0xd0c01d[_0x3df21b(0x157,'F(AB')]?_0xda2a0a=_0xd0c01d[_0x3df21b(0x157,'F(AB')][_0x3df21b(0x12e,'!2z%')]:(_0xcc20a2=common['getErrorMsg'](_0xd0c01d[_0x3df21b(0x140,'bxO4')]),console[_0x3df21b(0x221,'WYVL')](_0x5d5292+_0x3df21b(0x247,'sp&Y')+_0xcc20a2)):(_0xcc20a2=common['getErrorMsg'](_0xd0c01d),console[_0x3df21b(0x194,'F(AB')](_0x5d5292+'翻倍领取失败:'+_0xcc20a2));break;case _0x3df21b(0x249,'TJcU'):_0xd0c01d[_0x3df21b(0x144,'8VHk')]==0x0?_0xd0c01d[_0x3df21b(0x1d1,'cRB%')]?_0x328790=_0xd0c01d[_0x3df21b(0x20f,'DzH8')]:(_0xcc20a2=common[_0x3df21b(0xe3,']X[4')](_0xd0c01d[_0x3df21b(0xdf,'W*Qm')]),console['log'](_0x5d5292+'摇一摇首页失败:'+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0x230,'Wp5c')](_0xd0c01d),console[_0x3df21b(0xea,'YOdx')](_0x5d5292+'摇一摇首页失败:'+_0xcc20a2));break;case _0x3df21b(0x17a,'ICu3'):if(_0xd0c01d[_0x3df21b(0x107,'ipr5')]==0x0){if(_0xd0c01d['success']){if(_0xd0c01d[_0x3df21b(0x164,'QOS!')]&&_0xd0c01d[_0x3df21b(0x18d,'yEkw')]['shakeLeftTime']>0x0){if(_0xd0c01d['data']&&_0xd0c01d[_0x3df21b(0x19b,'FxGT')][_0x3df21b(0xe4,'ipr5')]){const _0x529405=_0xd0c01d[_0x3df21b(0x10d,'R@GV')][_0x3df21b(0xf2,'YWgE')][_0x3df21b(0x208,'ipr5')];switch(_0x529405){case 0x0:console[_0x3df21b(0x244,'5T#H')](_0x5d5292+'空气');break;case 0x1:console[_0x3df21b(0x225,'TJcU')](_0x5d5292+'获得'+_0xd0c01d['data'][_0x3df21b(0xc7,'DzH8')]['prizeConfigName']+'(满'+_0xd0c01d[_0x3df21b(0x10d,'R@GV')]['prizeDrawVo'][_0x3df21b(0x1f2,'eCug')]+'减'+_0xd0c01d[_0x3df21b(0xfd,'Wp5c')][_0x3df21b(0x17e,'eo(z')]['amount']+')');break;case 0x2:console[_0x3df21b(0xe1,'ipr5')](_0x5d5292+'收入'+_0xd0c01d[_0x3df21b(0xfd,'Wp5c')][_0x3df21b(0xab,'QOS!')][_0x3df21b(0xb0,'TJcU')]+'红包');break;case 0x4:console[_0x3df21b(0x139,'FxGT')](_0x5d5292+'收入'+_0xd0c01d[_0x3df21b(0x18d,'yEkw')][_0x3df21b(0x91,'!fNd')][_0x3df21b(0x238,'ipr5')]+'现金');break;case 0x18:console[_0x3df21b(0x156,'Vm]2')](_0x5d5292+'收入'+_0xd0c01d['data']['prizeDrawVo']['amount']+_0xd0c01d[_0x3df21b(0x117,'kwE6')][_0x3df21b(0x17b,'UpB)')][_0x3df21b(0x15c,'u11N')]);break;default:console['log'](_0x5d5292+_0x3df21b(0x16e,'zP83')+_0xd0c01d['data'][_0x3df21b(0x17e,'eo(z')][_0x3df21b(0xca,'YIuS')]+'('+_0x529405+')');break;}}else console[_0x3df21b(0x201,'u11N')](_0x5d5292+'空气');}else _0x440fa7=!![];}else _0xcc20a2=common['getErrorMsg'](_0xd0c01d['data']),console[_0x3df21b(0x201,'u11N')]('摇一摇失败:'+_0xcc20a2);}else _0xcc20a2=common[_0x3df21b(0x18c,'*ZFb')](_0xd0c01d),console[_0x3df21b(0x1a4,'ICu3')]('摇一摇失败:'+_0xcc20a2);break;case _0x3df21b(0x202,'Dwau'):_0xd0c01d['code']==0x0?_0xd0c01d[_0x3df21b(0x1d8,'Nd&B')]?_0xd0c01d[_0x3df21b(0x10d,'R@GV')][_0x3df21b(0x103,'YWgE')]&&_0xd0c01d[_0x3df21b(0x1d3,'ipr5')][_0x3df21b(0x1c9,'d5RQ')]['linkPrizeNum']&&console[_0x3df21b(0x244,'5T#H')](_0x5d5292+'竞猜成功,挣了'+_0xd0c01d['data'][_0x3df21b(0x21a,')P7O')][_0x3df21b(0xa4,'pY2)')]+'奖票'):(_0xcc20a2=common[_0x3df21b(0x161,'mln[')](_0xd0c01d[_0x3df21b(0xbc,'8VHk')]),console['log'](_0x5d5292+_0x3df21b(0x94,'dYuj')+_0xcc20a2)):(_0xcc20a2=common[_0x3df21b(0x1f6,'cRB%')](_0xd0c01d),console[_0x3df21b(0x115,'d5RQ')](_0x5d5292+_0x3df21b(0x143,'*ZFb')+_0xcc20a2));break;}}catch(_0xd2203e){console[_0x3df21b(0x125,'kwE6')](_0x3df21b(0x223,'F(AB')+_0x3ad303+_0x3df21b(0x21d,'u11N')+(_0xd2203e[_0x3df21b(0x158,'Nd&B')]||_0xd2203e));}}async function _0x14f062(_0x33f135){const _0x1fdb10=_0x93cd80;if($[_0x1fdb10(0x116,'(%zw')])return;let _0x2183f4='',_0x318c2b=null,_0x32624f=null,_0x3bee66=_0x1fdb10(0x173,')P7O'),_0x7a5ea3={},_0x4637f4={};switch(_0x33f135){case _0x1fdb10(0x97,'yUj('):_0x4637f4={'appId':_0x1fdb10(0x1ec,'!2z%'),'functionId':_0x33f135,'appid':_0x1fdb10(0x1dc,'eCug'),'clientVersion':common['getLatestAppVersion'](),'client':_0x1fdb10(0xce,'(%zw'),'body':{'outsite':0x0,'firstCall':0x1,'version':0x1,'lbsSwitch':![]},'version':_0x1fdb10(0xfb,'tJ&S'),'ua':_0x598c11,'t':!![],'bu1':_0x1fdb10(0x160,'pY2)'),'tokenCache':![]},_0x7a5ea3=await H5st[_0x1fdb10(0x22c,'aYT*')](_0x4637f4),_0x2183f4='https://api.m.jd.com/client.action',_0x318c2b=_0x7a5ea3[_0x1fdb10(0x15a,'!fNd')];break;case'wanyiwan_sign':_0x4637f4={'appId':_0x1fdb10(0x123,'QOS!'),'functionId':_0x33f135,'appid':_0x1fdb10(0xf1,'yUj('),'clientVersion':common[_0x1fdb10(0x8b,'altS')](),'client':_0x1fdb10(0x21f,'mln['),'body':{'version':0x1},'version':_0x1fdb10(0x253,'TJcU'),'ua':_0x598c11,'t':!![],'bu1':_0x1fdb10(0x245,'kwE6'),'tokenCache':![]},_0x7a5ea3=await H5st['getH5st'](_0x4637f4),_0x2183f4=_0x1fdb10(0x1bb,'yUj('),_0x318c2b=_0x7a5ea3[_0x1fdb10(0xbb,'J#fm')];break;case _0x1fdb10(0x179,'tJ&S'):_0x2183f4=_0x1fdb10(0x96,'Wp5c'),_0x318c2b={'functionId':_0x33f135,'body':JSON[_0x1fdb10(0xb7,'Vm]2')]({'version':0x1,'lbsSwitch':![]}),'appid':_0x1fdb10(0x203,'u11N')};break;case _0x1fdb10(0xcf,'!fNd'):case _0x1fdb10(0x12c,'&neq'):_0x2183f4=_0x1fdb10(0x124,'FxGT'),_0x318c2b={'functionId':_0x33f135,'body':JSON[_0x1fdb10(0xbe,'FxGT')]({'pageNum':0x1,'version':0x1}),'appid':_0x1fdb10(0x203,'u11N')};break;case _0x1fdb10(0xfa,'&neq'):_0x2183f4=_0x1fdb10(0x99,'J#fm'),_0x318c2b={'functionId':_0x33f135,'body':JSON[_0x1fdb10(0x129,'Nd&B')]({'version':0x1}),'appid':_0x1fdb10(0x203,'u11N'),'t':Date[_0x1fdb10(0x1eb,'3TqI')](),'clientVersion':common[_0x1fdb10(0x23e,'mln[')](),'client':_0x1fdb10(0x1de,'5T#H')};break;case'wanyiwan_do_task':_0x4637f4={'appId':'89db2','functionId':_0x33f135,'appid':_0x1fdb10(0x167,'h65^'),'clientVersion':common[_0x1fdb10(0x246,'QOS!')](),'client':_0x1fdb10(0x12b,'TJcU'),'body':{'itemId':_0x26ca9e?.['itemId']||'','taskType':_0x4632b0[_0x1fdb10(0x1d6,'altS')],'assignmentId':_0x4632b0[_0x1fdb10(0x172,'Cjl[')],'actionType':_0x3f0130??'','version':0x1},'version':_0x1fdb10(0x1b8,'(%zw'),'ua':_0x598c11,'t':!![],'bu1':'lite_0.1.5','tokenCache':![]};_0x4632b0[_0x1fdb10(0x233,'DzH8')]!==0x1&&(delete _0x4637f4['body'][_0x1fdb10(0x242,'QOS!')],delete _0x4637f4[_0x1fdb10(0x211,'ICu3')][_0x1fdb10(0x110,'ipr5')]);_0x7a5ea3=await H5st['getH5st'](_0x4637f4),_0x2183f4=_0x1fdb10(0x15f,'altS'),_0x318c2b=_0x7a5ea3[_0x1fdb10(0x236,'zP83')];break;case _0x1fdb10(0x118,'*ZFb'):_0x2183f4='https://api.m.jd.com/client.action',_0x318c2b={'functionId':_0x33f135,'appid':_0x1fdb10(0x183,'5T#H'),'body':JSON[_0x1fdb10(0x152,'W*Qm')]({'taskType':0x1,'assignmentId':_0x4632b0['encryptAssignmentId'],'version':0x1}),'client':_0x1fdb10(0xee,'d5RQ'),'clientVersion':common[_0x1fdb10(0xcd,'R@GV')](),'t':Date['now'](),'h5st':null};break;case'wanyiwan_assist':_0x4637f4={'appId':'ba505','functionId':_0x33f135,'appid':'signed_wh5','clientVersion':common[_0x1fdb10(0x1cd,'*ZFb')](),'client':_0x1fdb10(0x1b2,'altS'),'body':{'inviteCode':_0x212f4b,'version':0x1},'version':'4.7','ua':_0x598c11,'t':!![],'bu1':'lite_0.1.5','tokenCache':![]},_0x7a5ea3=await H5st[_0x1fdb10(0xbf,'(%zw')](_0x4637f4),_0x2183f4=_0x1fdb10(0x99,'J#fm'),_0x318c2b=_0x7a5ea3['paramsData'];break;case _0x1fdb10(0xb3,'QOS!'):_0x4637f4={'appId':_0x1fdb10(0x24e,']X[4'),'functionId':_0x33f135,'appid':'activities_platform','clientVersion':common[_0x1fdb10(0x10f,'yUj(')](),'client':_0x1fdb10(0x162,'dYuj'),'body':{'linkId':turnlinkId},'version':_0x1fdb10(0xb2,'8VHk'),'ua':_0x598c11,'t':!![],'bu1':_0x1fdb10(0x1ad,'Vm]2'),'tokenCache':![]},_0x7a5ea3=await H5st[_0x1fdb10(0x22b,'sp&Y')](_0x4637f4),_0x2183f4='https://api.m.jd.com/api',_0x318c2b=_0x7a5ea3[_0x1fdb10(0x251,'sp&Y')];break;case'turnHappyDouble':_0x4637f4={'appId':'614f1','functionId':_0x33f135,'appid':_0x1fdb10(0x1c1,'aYT*'),'clientVersion':common[_0x1fdb10(0x207,'YOdx')](),'client':_0x1fdb10(0x250,'aYT*'),'body':{'linkId':turnlinkId,'turnNum':turnNum},'version':_0x1fdb10(0x1d0,'d5RQ'),'ua':_0x598c11,'t':!![],'bu1':'lite_0.1.5','tokenCache':![]},_0x7a5ea3=await H5st[_0x1fdb10(0xc2,']X[4')](_0x4637f4),_0x2183f4='https://api.m.jd.com/api',_0x318c2b=_0x7a5ea3[_0x1fdb10(0x1ed,'5T#H')];break;case _0x1fdb10(0x13d,'!2z%'):_0x4637f4={'appId':'25fac','functionId':_0x33f135,'appid':'activities_platform','clientVersion':common[_0x1fdb10(0x1e2,'F(AB')](),'client':'apple','body':{'linkId':turnlinkId},'version':_0x1fdb10(0x187,'Dwau'),'ua':_0x598c11,'t':!![],'bu1':_0x1fdb10(0x1f0,'F(AB'),'tokenCache':![]},_0x7a5ea3=await H5st[_0x1fdb10(0xbf,'(%zw')](_0x4637f4),_0x2183f4=_0x1fdb10(0x11d,'UpB)'),_0x318c2b=_0x7a5ea3[_0x1fdb10(0x15e,'AgCw')];break;case _0x1fdb10(0x8d,'cRB%'):_0x2183f4=_0x1fdb10(0x17f,'&neq'),_0x318c2b={'functionId':_0x33f135,'body':JSON[_0x1fdb10(0x114,'eCug')]({'linkId':turnlinkId,'pageNum':0x1,'pageSize':0x1e}),'appid':_0x1fdb10(0x22f,'sp&Y'),'t':Date['now'](),'clientVersion':common[_0x1fdb10(0x8b,'altS')](),'client':_0x1fdb10(0x135,'*ZFb'),'h5st':null};break;case _0x1fdb10(0x170,'Vm]2'):_0x4637f4={'appId':_0x1fdb10(0x256,'!2z%'),'functionId':_0x33f135,'appid':_0x1fdb10(0x165,'eCug'),'clientVersion':common[_0x1fdb10(0x1b6,'UpB)')](),'client':_0x1fdb10(0x162,'dYuj'),'body':{'linkId':superlinkId},'version':'4.7','ua':_0x598c11,'t':!![]},_0x7a5ea3=await H5st[_0x1fdb10(0x1df,'tJ&S')](_0x4637f4),_0x2183f4=_0x1fdb10(0x11e,'%$U['),_0x318c2b=_0x7a5ea3[_0x1fdb10(0xd4,'UpB)')];break;case _0x1fdb10(0x16f,'WYVL'):_0x4637f4={'appId':_0x1fdb10(0xc4,'(%zw'),'functionId':_0x33f135,'appid':_0x1fdb10(0x168,'yEkw'),'clientVersion':common['getLatestAppVersion'](),'client':_0x1fdb10(0xa3,'yEkw'),'body':{'linkId':superlinkId},'version':'4.7','ua':_0x598c11,'t':!![]},_0x7a5ea3=await H5st['getH5st'](_0x4637f4),_0x2183f4=_0x1fdb10(0xa8,'Wp5c'),_0x318c2b=_0x7a5ea3[_0x1fdb10(0xbb,'J#fm')];break;case _0x1fdb10(0x195,'*ZFb'):_0x4637f4={'appId':_0x1fdb10(0x9d,'cRB%'),'functionId':_0x33f135,'appid':_0x1fdb10(0x11a,'pY2)'),'clientVersion':common[_0x1fdb10(0x126,'bxO4')](),'client':'apple','body':{'linkId':_0x1fdb10(0x11f,'pY2)'),'balance':0x0},'version':_0x1fdb10(0xe8,'QOS!'),'ua':_0x598c11,'t':!![]},_0x7a5ea3=await H5st[_0x1fdb10(0x128,'altS')](_0x4637f4),_0x2183f4=_0x1fdb10(0x1a6,'h65^'),_0x318c2b=_0x7a5ea3[_0x1fdb10(0xc0,'tJ&S')];break;default:console[_0x1fdb10(0x155,'J#fm')]('❌\x20未知请求\x20'+_0x33f135);return;}const _0x3b803c={'rfs':_0x1fdb10(0x1ba,'WYVL'),'openudid':_0x3edaca,'screen':_0x1fdb10(0x1f1,'h65^'),'osVersion':common[_0x1fdb10(0x21e,'TJcU')](),'build':common[_0x1fdb10(0xe2,'Dwau')](),'d_brand':_0x1fdb10(0x154,'pY2)'),'d_model':_0x1fdb10(0x13a,'YWgE'),'partner':''};_0x33c026&&(common[_0x1fdb10(0x196,'d5RQ')]=_0x33c026);_0x318c2b&&Object[_0x1fdb10(0xb5,'Vm]2')](_0x318c2b,_0x3b803c);_0x32624f&&Object[_0x1fdb10(0x18f,'Cjl[')](_0x32624f,_0x3b803c);const _0x27aab7={'url':_0x2183f4,'method':_0x3bee66,'headers':{'origin':_0x1fdb10(0x252,'zP83'),'Referer':'https://pro.m.jd.com/mall/active/3fcyrvLZALNPWCEDRvaZJVrzek8v/index.html','User-Agent':_0x598c11,'Cookie':_0x388506,'content-type':_0x1fdb10(0x177,'yUj('),'accept':_0x1fdb10(0xde,'%$U['),'x-rp-client':_0x1fdb10(0x14e,'h65^')},'params':_0x32624f,'data':_0x318c2b,'timeout':0x7530};_0x3bee66===_0x1fdb10(0x222,'(%zw')&&(delete _0x27aab7[_0x1fdb10(0x22d,'d5RQ')],delete _0x27aab7['headers'][_0x1fdb10(0xa5,'dYuj')]);const _0x450211=0x1;let _0x168cd1=0x0,_0x1e37e7=null;while(_0x168cd1<_0x450211){_0x168cd1>0x0&&await $[_0x1fdb10(0x14b,'!2z%')](0x3e8);const _0x278f44=await common['request'](_0x27aab7);if(!_0x278f44[_0x1fdb10(0xc5,'mln[')]){_0x1e37e7=_0x1fdb10(0x1f7,'sp&Y')+_0x33f135+_0x1fdb10(0x1ce,'(%zw')+_0x278f44['error'],_0x168cd1++;continue;}if(!_0x278f44[_0x1fdb10(0x22a,'aYT*')]){_0x1e37e7=_0x1fdb10(0xdc,'UpB)')+_0x33f135+'\x20请求失败\x20➜\x20无响应数据',_0x168cd1++;continue;}await _0x23a59d(_0x33f135,_0x278f44[_0x1fdb10(0x10d,'R@GV')]);break;}_0x168cd1>=_0x450211&&console[_0x1fdb10(0x194,'F(AB')](_0x1e37e7);}}function _0x4bc8(){const _0x159755=['mxlcS8k/','cCkAzSkEW5xdQCoRrSkGWRxcILBcKG','56QZ542X5As46lwc772T','c13cVSoH','W5e9d1u','5yMI5yMeW6y','5y6M6ys054Q+5OoM57MV5P+bWRCvW4ldOmoybSokomkFW4O','Fhnqlmo1WQiXdq','emk5W7JdHq','5Q6u5Asn6lwX77+k5O++5AEY','nCkrudy','EuJdULapW6lcRr97Dc4','W57cT0m8cvC','W68GW7nsWQymW7W6','W4dcVxe','WPHWWRn8WQ7dGSofWQm','W6v8W5yGW6DyWRC','W5/cPMtcQCkLWPqgi8k3','dWrZjbG+kG','hCkiW6tdIZfm','qq7dQa','W6hdIXW','l8owm8kt','W5G5ceFdNSopta','zCkymSkgW7RdPSo+WQtdSJRcPqtcQZn3WP0','W69gW6hdJCkjWORdNmo+k8oh','WPJdN8kkW7pdOG3cNgNcUgJcNCk6WPb/WR/cKCkpW6BcO8k1cG','EY4oqConwmoEWQtcIYGUWQmUw0y','W5OeWPGv','W6i8hdFdR1Svjmk1WRC','W7RdRcKpWPlcRmk0WOziW55IWPZcJ8kpCfdcIc4dW7RcK8kGxCofld/cKJKBp0PBh8kU','gmkXW7JdGqazWPzduxK','pSoTeSorW4dcOSoirMaBtG','W4WVWQtcSCk/','W4dcOKGOkutdGCkEWQPEW5KpcSolW7nry25CAmkypmorW6xdT8oWba','CxXhiq','W4WgWOuixgS6WQldUZq4W6ldK1hcVZ4qkmk/WRy','f8kvBmkcW4tdKCoS','W7r8W4SnW61yWO19u8kZ','W5LhemkNW40lxCotDCkDvHCeW5KFlSk4WRf0WQq','6Asj5QYg6l2i5yEj5REF5yMr776u6lE/6ygE','WQK8hmkt','oZjgnmoPWQONuvDgW5tcGetdSxhdLfddUrNdTq3cP8o6q17dRSof','lmkvxcytcwayWPadWOvlj391zSk3W7bMuSk9','j8kEtW','5P2455+45AAb5zcB77Y6','braleGBdR8oGW54PWQ8lxmoOWRa0','W77dKqVdOaVcRg15huzoWPGofmoV','5lUI5yMX5yMC6kcy5AEJ6lEg772t','E0pdRwCeW6dcTIXfDcdcTdfDW5FdTCo+W4xcOW','ySkehmoh','W7ZdUtaA','W54mWPypAg0VWQNdGa','W4eaWP8gxMO','eZBcSIO/WOJdUmoAWPRdKCkaxmoEDMJdT8kWW7dcNCoXW6nxcahdMeORWQ3dOSoxc8kgDa','Fd0jqSobBmoqWQtcSJuOWP4KAve0i8knASoAWPnduu7dGtjl','E8oAgSkCW7tdHrKrWQHaWRGmcCkoWQXcW4ja','WQ7dT8k7gcW5mmojACo1B8kKfCk0W5m','v8krWPtcMSkoWPO6WQFdIdJcVa','dK3cNG','WQVKUyhLIy7LP4hLIie','WOzHfrPWW5xcV8o1W4ZdL8or','WP7dJSkBW6FdG1ldNINcR33cT8o7WPi6WRZcKmoOW6VcQmk9xvBcISou','fmkFv8kqW4xdQCovrSkqWQNcJf3cJG','iCotgmkfW6RdVCosW4xdJYVcRGFcVG','W6ldRaipWOJdUa','WRJcTSoAqSoMi8omWP7dRb8','C0ZdVG','W5y8tmkjWQvMW7hdLSkfla','WQ0Yh8kpWOtcGLHNDSkgWOtcRh9RiL1Zu8kiWOZdICkiWOfyjJ8T','r8kHW7q','W53dSmoIaa','W7hMI4lLIONdOokFJSot','tCkhWQlcL8ksWQKxWPNdIWBcOqxdJc5W','W7fgW77dIq','cGH9iGuOimoCWORdRsq','W5XfemkV','eeFcJJP/WQXiW6dcUCoibG','F17dVxWAW74','WO7cHCo/aCkaW6TwvLJdN8oUsvVcPLrZqSoTEG4zW7y','5AsO56At77Ye','xfW6uKnJECkyWOhdRXDEnmkt','FuldOhmuW7C','j8oyia','gGj7cXmzoSoEWOddQYz0iCkswxFdKG','oSkjWQHMFSooW6/dLSo8FJn6aYTB','ySoAdmkU','W6pdGr7dOsVcM2vYkujQWR8oeSoJmmkDhxdcQey','z3HanCoSWRi','5ysA5O+v5yMq6kkA5AAI6lAV776x','WPddKY/cHW','W7hdTZKA','iw3cU8kZva','W4VcT2lcHCk5WOean8kdW4HQ','WOFcOCkHymkeW6uoFxFdK8kOy0BcUfW','44kL5O+S56wU44ox6k2w5yAl6i6r5y2QW6NdIXpcHeFcIa','p8ocmSk/W7/dSbe','pmoMea','W4Tna8kGW7KnsmoytG','WRhdRCkS','57285ycy6AcQ5y615AA56lsz77+i','W69HW5GtW7SgW70LwSo2nSoex8oqC8olW58DW7mcnmkGWP9u','FCoTimkRW5ZdN8oh','cCkAyCktW6JdT8oNtq','WQzFdw/cGwyCgq','jmoiWQz5zq','bKpcJtO','5BsV6kY8576L6lAo6l6z6l676kcz5B++5yMM6lAY5y+/','W6hdJq/dOcBdJIySCri','BSk7uSkKWOFdOmkFxuW+wCoetq','5OQb5y2F5Awp6lsH77+p','WPjYcae','cqX9bG','W7pdQc0tWOq','W5TzmCkIW7pcPKVdK8oCW4e/WObbWOBcKWBcLIldVhhdQG','aqjU','AuZdP2ePW7NcRWG','qmkgWONcRmkkWQOTWRxdIY/cOXddUY9XW4a/dru','WO8xumo+WO5seCods8k7sG8H','vGZdJG','fbNcKa13WOiW','rLvlrW','gJlcTJyLW5hcTSkbWPldJSkhxColDxxdPmoPWR7cLmoZWR5zsr3dJ0G6W63dOmoBg8kkF8oa','eSonp8otW7xcJdqZW5vwWOO','gGXGeW','ec/cUau5WO/dVa','WOKwv8o2WOHAhCkAr8kGtXayW74','WQ0Yh8kpWOtcGLHNDSkAWORcSNe','WOPIbCoDW64YWRJcGSoDySkHWPBdPK5NFCkMW67cUG','W6T8W4ekW7XOWRTNxG','WQJcVSojt8oR','nCoTcmoZW4BcUa','ASosgmkrW7JdGa','g0FcUmo3W5hcQCoAwSkJ','5OUM5y2D5AwL6lEJ7767','zSoFk8ksW6tdHsCGWP5AWQ0AemkNWQfh','mmobWRPJE8kxW5RdKmoOgILZbW','6kwE5AwA5BkI5PAA77+O57IQ5P+h572K5ygs776Q6lsW5BYe','6Acb5y+dW7C','fKpcIJbjWQ1QW6dcVmor','cGH9kXyUkSoDWRpdNZn3bmk/rgNdNNqp','qUIVLEAYU+wLQUI0QmoO4P6cWQe','54Uu5OcJ5P+t556+77Yx','DSkkW74','ASkLkbpcT8kqoG','4PUIW5dOH5pLR5JKUiJOVRZOOyhPLOpPMBlMLPdPLRNORPRNVkBPLi3OR7m','eHhcNI8','WQKNemkcWPJcHG','WRm9eSkAWPJcKvX6','W6BdUs4uWRxdR8oRW4W','W7DGW58l','W4yPgfFdMSoBwG','W6T6W4S','W7vWW5WpW6LFWRC','W4Trb8kTW54rwG','W54mWPypt2yrWQZdJhe','f8k3W6JdGq','WQRcR8onqmoM','A8oEamkTWQJdGqW','W7niW7tdQCkwWOS','buFcJr5/WRPXW7pcMmooba','lmosm8k+W7ldVSoOW7JdLb7cTXhcKsvAWQBcTSoOfG','W53cRe8/','W6NdHq/dPa','6l+f5ywi6Asy6AgG5Awm6lA177+y','W7y8gJC','a8k5W6ldNtzEW5KCidJcHaldS8klACkLeCo1mCk5v8kRW6/cSMhdLbW','f8oGWQ3cGG','EpcUSkfM6l6g6kkN57Mk5PYYW7K','dKlcJCot','beZcJG','iCoiccmL','WRVcVSoptCoUnmoxWOJdSeS','FSk1pZ3cT8kqoSoFWPnf','WQZcUSojACoXnCo8WPVdIvL2','j8oEm8kxW4ZcUSkJWRRcJMO','WRmMWPXjWRepW6a','W5GwWPqTq28NWQ8','bmkTW7/dJa','gqr9cXi','cCkAzSkEW5xdQCoRrSkGWRJcNvJcN2tdJmkqW6RdMwaEh8kc','FSk1pZxcOmkrjSomWRLtBW','8yM7Ufe','uCkKk8o2','fspcTGmKWPNdTSoCWR7dJCkj','6AgP5yYwWOK','WQRdO8kLbdCCnmodDmoNyCkhcq','f8kQW6NdHsTm','WOpcPCk8v8kcW6q','W5uNWQZcPCkIWP3cPHtdNmoZW6raf8kXj8oGwSo2yfNcQIddHSkhW4RdSJvItSoJWQ3dQmkPCcGOBCoCW4ye','WRRdP8k/ocWzoSoFzSoNBW','lSoPd8oG','zZma','bmoGWRhcI8oSW4nyaXfwWRGvv8orWR4Njq','EduavConF8oUWR3cHxq','W74Ycq','EmosamkjW7G','WRVcQSoora','zSoqhmkhWQSEW4riWRPGdWRcImkDW6pcUCo1i8k2','bGlcGZr9WRiSwmk6','WODUfG','W6u8bYldLKe8ia','W7zjW6ddICkwWO0','WP9GaSoFW5qYWR/cNW','W482WQ7cNSk1WOhcUW','WOmkzCo+WPBdSHpdLSoJW5yZWRX3','bmojpmot','lsWcDmk1W7bHshjqW5hcSgRdQG','WR/dRCkVba','CCoudmkyWR4lW5np','W7D6W5W0W6fsWRzLtmo1','W6OptZddOcLzsIbAisZdP1q','oSoNaSoX','umkcWPtcLmk/WRCLWQm','W6xdUtql','gSoHWRdcGSo6W7q','5AE756sn77+9','qmkUpmoMWRFcO0WBgKXDWOlcPG','WRddO8kZktCgmmoE','WR/cQSopqSoljSoJWPNdVxH0l8oEkCkOAa','k+IUQ+AWPEwtTUw4VdS','dZBcKKLRW6NdNXlcQ0ldKSkPq8kkfCoMEmkHaq','omo4fSo4W5C','WQ0Ygmkc','gGOC','jwFcRq','4PYhWPFMNA3OGi/MR7dNO6tLPONNKO3cGa','omodjSkgW6BdUq','bdZcGq','E8k/jbZcT8kcjW','ytmovq','bSkTW6ldOtfn','WQRdO8kIcqOcomoi','WO9GbCov','WR02bCk+W5JcHK0','WOXKbCo8WQ0OWRG','jSofWR13','cGHNmGiZkW','WRSWbCkFWPVcNe1GtmkbWRRcR3Hvjf5/rmkm','WRvBcKhcP20ddHPAiq','6AoF5y2Epq','W5i5d3hdJCoArGxcLXS6','fmojo8ozW5pcKri3','zCouhmkQ','WQnSxwpcTHfNC8khWQDqCCk2hq','iNZcPCk7tvBcQI7dUJ0','rmkmWPNcHq','fX3cHtT2WPi','ceRcG8oXWRhcN8kw','W4GXWQi','W6xLPjxOTyhVV5tLIjlLI7NLT5VMUyS','W6TgW6ddH8kOWPddQ8oR','hCoQWQBcG8oAW6vahcbgWP4js8oYWRGVcCkyW7NdRSka','pSoTeSoyW5pcPmocr1KPwConsLm/W7SdcsC','lokCP1q','omocjCkbW6FdUmoKW6xdHW','Edaowmon','FgLwlCojWQi','pCoPeSo1','WQFcSmoA','dCkZaSoIwrrDWOZdOSoe','CNHhdmoHWRiXdxfIW4BcLx7dP1ZdLfZdUbm','57YH5ygE6Ao35yYG5AEC6lEq77YJ','bbxcNs9QWOigxmk+W5VcUW','gYBcLMb4W4/dNWxcNwRdUSkYESkcaG','WP17WR53WQ/dJG','572K5ycQ5AEf5yID5Bsw6Ag/5y2o776t6ls95BYX','5AAE77+p6i6r5B+g','n3pcOq','hmkApCoxWOK','wGddPGqgWQj/ia','WOPXaCoyW70','WQOYa8kxWOdcHN1OxCkt','oMNcO8kQuX/dGwddVI5bW7BcSZbmW43cSL/cJSoRW4NcOSog','xh3dKq','WPP8gW','duBcJCoHWR3cLmkbW6G','D8ksxhmJ','W6H8imo5wvtcO8ktn8kMWRe','gmkszmktW5NdRa','W4jDoSk/W4JcTeFdKSo1W5aDWPXfWRlcIaBcVcNdSwldT8kXaCktfSkPkW','576W572m5lIx6AwK6AoM5AA76lAO776r','6l+A5yEq6AE+6Ak+5AE76lwp7767','pNJcUCk9ve0','BZ0twG','W7xdVsKZWOddOSo+W5PDW697W4lcTmoeAeFdJYic','W4i9fu3dLSoFsbNcHqKUWO/dKmkRWQ0','BCkLor7cMSkcoCooWO1KBwDdd8oyW5RcOuFcTW','Fd0ot8o8CSoCWQ8','5lUU5yQ85yIK6kcO5AAX6lEJ772o','6lA05y6Q5PAo5PsE','W69vW7RdLSkbWR3dQSo+kmoWpq','W6u8bYi','54+A5zYl5yYw5lMx5yYC5yMB57Yi5yka542o5Rka5zsWW4O','56MZ542d5AEL6lE477+a','6ykV55+z5O+86yohWPVdO30','WRPkcNtcPIvduZzzl1FdIbitWQWzAg55FuGqW51dlsuraSk9W6ldHSkEca','bsFcRd8/WPZdUmoaWQZdLSkbhSod','WQjrdLpcVheieYbA','rrxdUWaHW7e9ASkieCoNW5tcHgXbFqjvW6RdSmkWCcdcNCkTWQSGW6/cTrWHFmoxaa','W7ncW73dI8kqWPe','WQqhcq/dJx0B','W7niW7q','lCoPkrlcSq','W44WWRdcUa','5OIb5y285OUh5yMf77YS5BEx5OQ95yYU','pNlcSa','fcRcRsKK','WPldM8kBW7y','W5LufmkIW54','a8kXW6ldSdbDW5KE','W64WWRRcQCk/WOVcQKhdSmoYW6XD','WRy8fG','b8oMWRFcI8oT','WRPkcNtcPIvduZzzl1FdIbitWQWzAg55FuOmW50','W5KZha','sWJdOre+WQDR','zw9AoSoLWOiMh3j1W5K','p8ownmkzW4ddVSoSW7/dLsW','WPf2ccL7W73cPmo6W57dGSorWQNcM8oZcGq','W6XXnCohtf7cJ8kdcCk3WQm6W4RcNa','fIFcTIC','ct7cIxbKW6K','W6n0W5Gc','xbZdRq','ywHblSoiWQCKdNXRW5NcIe0','asdcQMPTW7tdLa','W6ZdLWJdRb7cKa','57+I5yoD562N','W77dKaNdRbFcMwf7jG','gmk3W6S','W7CZga','eaWvhGFdLCorW5mgWQSF','xqddVre/WRHwjmkDaa','dfpcRSoL','buFcJrDIWQ93W6/cHSojaGT3oW','WOFdHINcJ3muyx7dQa','buFcJrm4WRTQ','FmoAbSkeW7ddGtWEWOnv','f8ojiCog','gCkEFmkVWONdRCo+','WQBcOgLiW5JcRSorW65fW6jVW6C','wHVcMJ1O','kSo9bCo3W5FcO8ou','xfG7uezQD8oAWOZdKGP0ca','emoAiCoiW6lcRbaZW451WOa','xmoNs8k6oXLoWOddSCom','572x57YP5lMg6Aww6Ak+5AEc6lwk772F','W4FcSu8RjxddJ8kEWPndW58Yamo5W6q','W55zlCk1','W49fdCk6W68lrmop','WPz7WQrCWRRdKSofWQn2FCkGWP3cL0/cV3xcJmkLWQC','a1lcItDO','W6HgW73dLCknWO7dUCoXamowpCo6aSkSxhreicTRha','W50qWOij','BvJdRxyyW6pcSq','5zkJ5y6k5yw85Q2a5y+O5lIm','hZlcJ3fEW7tdLWq','v8kcWO/cGCkgWQ0mWQFdIW8','gSkAFmkg','z8oCea','ymoueW','WOxdLCkcW7i','EZmx','6lAt5y6R5PAB5Pw8','fqOFeG','8jAPImoD','jc8aEmkZW75GtMHUW4pcG0ddGW','W6PKmCo7v1lcLSkom8kSWQXHW5xcNetdNCoJWQ1Mf8osAg1DsqldGrBdI8knkCkiba','W4JcS2lcOq','W67dIXxdPI3cN3T2','gH/cJq','fmoQWRFcQ8oPW7riacjIWQ0wzSoSWRGMjmkGW7JdUCkleCo4oW','gCkEFmkIW47dRmoLwSkYWQ7cGG','bGlcGZr9WQiNsCkOW7NcSq','sos7PUwkKG','WQKWhSkeWOG','WRRdP8k/pJeepSoetSocACkmeSkW','itme','576P5ycq5O6i5AER','BCoAdW','Exju','f8ojjSolW67cNWm8W6zhWOdcNmkXfSkqWRm','W5nqo8kPW5m','i8ouWRL6CG','W4ekWPy','raZcJmogWRFcL8kaWQlcTta0W5hdHa4bmtqnW7tdLaJdTM8','as/cPsGZWO/dHSozWPVcIW','W4vopCk8W4tcH1tdNCoDW7it','WPpdLY/cO28bz2RdNmoiW4q','bLpcT8oH','W73dQCkmfmk0DSkMWOpdJvHEh8oI','W7BdUsKE','W6xdUtqlWRxdV8o2W4W','WPH0e8ohW6WPWQxcHCoF','W5Xsn8kQW5tcP0pdJW','WOhdM8kbW67dMr/cKgJcKwJcPSk2WPD1WRJcK8kJW5FcT8kXfvi','omkvqW','W4O6WQdcMmkOWPFcSr7dQCo4W7S','WRzFcMu','kmoaWPzHBSkuW5xdI8oTisL7hsm','W657W48pW71yWRD5','44c96lwh5y24','WP3dNdJcIMGxBwS','WP3cPCkHrCkAW7G','W4Dzj8kZW43cT3BdK8oAW60sWOLb','WPRdLCki','W6XxW7/dHCkhWPW','b8kZgSoZy1y','fr/cJIS','lCoOF0FdQ8oBa8o5WPHSBey','E8oAgSkCW7tdHrKrWQHhWRayda','5ysW5O645yMH6koV5As36lsb772P','AKtdUNKy','WR02bCkZWP/cH1z7zmkbWOi','WPv/WQrX','5lMw5yU+5yUd6kk15AER6lEa77+e','fspcTGO3WP/dVmoDWOFdV8kEa8oWpM3dS8kUWRlcLq','fXpcNID3WOGbuCkVW4O','W7JdVaiiWPJdOCoeW51CW5XLW5/cG8oz','lSoPd8oGW6BcUCokuq','W4Hqn8k6ALdcTmkxdmkGWOz+W4ZcL2RdUSkqW4vxqmo4tq','W54rWOmirguNWR3dNq','lSolWQ4','efFcLX5JWQW','bCk7aSoM','gGXNhH4TlSoaWPJdQIj0oCkfrh/dLh4ihbdcShvDWOldLSoL','bKZcNG','fCk7W7JdJsLaW4WBgJ/cUGhdTmk1B8kMhCoInq','572d5ycP6AoI5yYy5AAk6lwh77YZ','igJcUCkFtKe','t8kxWONcKmkyW6rNW6NdNH7cUK7dGgrPW5D4arrfnwdcQb0','W6nGnCoNtqVdMmovo8kZWQTGW5ldGuhdL8oHW659h8kfFtje','lCo1W77dKI1fW6OBgHtdKWddV8oSqSkXomoCl8kFECkt','WOJcPCkMy8kvW6msBa','h8oGWQq','j8oskCkvW6FdOG','CsWbjmoK','WPZdHI/cLM5jjZFdSmolW4OLb1ibWO/cI8khwKJdICo7WO4fjWzMCeqwW7pdGgVdRq','dCk1eq','WOJcPCkMFmkxW7GfEKldSCkSwN7cU0fyBCo3yG','W4C5c1hdNSoC','W7xdVsK3W5tdPCoV','W4yOcv3dKCopqbhcOW','WRZcVSouwa','cspcLMLV','WOhdM8kbW67dMr/cKgJcKwZcQCk0WO1WWONcHSkJW6VcQmkIfG','W7HcW6FdQCkwWOVdT8oTeSovnq','mmkvsJCTga','576w576w5lMz6AEX6Acc5AwR6lwQ7760','5As96lAE772U','hINcPq','aEs6UEs5RoI0NEwnN+wpToIbJoABPEEcHUEjH++9HEISMUwlR+wfK+M7SUwrNowmLCoIzSouWOzZqK3cGcPljmkYgNLjW7vaWQLszmklrw3cOxCF','55wC5OUV6lYp5AA+','WQflhwFcSgWF','db15cXi','WRtdRmkOesSpmmoE','FSk1jsxcKW','u8ordSoOW6xcQGS','WPJdNtW','W5XSpmkPW4/cPHFcISkgWPy','bmoUWQ3cNSoHW7DmhqLhWRi5umo4WQiH','W6ddVs4kWO3dOG','nSkfsYWjdx0hWP80WQnhlx1QzG','BSkXiGtcHSkkjmoB','W6D7jG','WOVcOCkMuq'];_0x4bc8=function(){return _0x159755;};return _0x4bc8();}
// 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)}