faker3/jd_dplh0801.js
2024-08-01 10:49:23 +08:00

21 lines
54 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

/*
活动名称:大牌联合(开卡)
环境变量:
jd_dplh_viewShop // 是否true/false做浏览任务默认不做
jd_dplh_addCart // 是否true/false做加购任务默认不做
jd_dplh_draw // 抽奖次数,变量暂时无效
jd_dplh_blacklist // 黑名单 用&隔开 pin值
jd_dplh_Notify // 是否通知true/false默认不通知
jd_dplh_break // IP限制后继续执行true/false
实物奖品需要填写地址变量才行,具体请查看 WIki
cron "1 1 1 1 *" script-path=jd_dplh.js
*/
const $ = new Env('大牌联合0801')
const _0x199bc2=_0x352d;(function(_0x3e7b13,_0xe926e){const _0x25616f=_0x352d,_0x4f4b40=_0x3e7b13();while(!![]){try{const _0x463584=parseInt(_0x25616f(0x2c4,'Tudz'))/0x1+-parseInt(_0x25616f(0x234,'eTsV'))/0x2+-parseInt(_0x25616f(0x2a5,'e%[C'))/0x3+-parseInt(_0x25616f(0x1d0,'LISE'))/0x4*(parseInt(_0x25616f(0x20e,'#ETO'))/0x5)+-parseInt(_0x25616f(0x3a1,'5*%('))/0x6*(-parseInt(_0x25616f(0x296,'n$PP'))/0x7)+-parseInt(_0x25616f(0x29d,'U[g3'))/0x8*(parseInt(_0x25616f(0x3c9,')Ppe'))/0x9)+parseInt(_0x25616f(0x328,'WW3B'))/0xa;if(_0x463584===_0xe926e)break;else _0x4f4b40['push'](_0x4f4b40['shift']());}catch(_0x27fefb){_0x4f4b40['push'](_0x4f4b40['shift']());}}}(_0x2026,0x833b9));const jdCookie=require('./jdCookie'),common=require(_0x199bc2(0x36f,'1e8$')),notify=require(_0x199bc2(0x2e2,'*7fO')),getToken=require(_0x199bc2(0x345,'eTsV')),CryptoJS=require(_0x199bc2(0x24b,'bx[N')),activityUrl=process[_0x199bc2(0x209,'xqVw')][_0x199bc2(0x264,'HIqH')]||_0x199bc2(0x2dc,'7cZ2'),joinMember=process[_0x199bc2(0x40a,'v*bV')][_0x199bc2(0x301,'gP1u')]===_0x199bc2(0x20a,'61Fh'),dplh_viewShop=process[_0x199bc2(0x2e1,'tJd&')][_0x199bc2(0x2fc,'*7fO')]===_0x199bc2(0x38f,'WW3B'),dplh_AddCart=process['env']['jd_dplh_addCart']===_0x199bc2(0x2f2,'%GN!'),dplh_draw=process[_0x199bc2(0x40b,'K0Pm')]['jd_dplh_draw']||0x5,dplh_wait=process[_0x199bc2(0x375,')Ppe')][_0x199bc2(0x2b3,'Dld%')]||0x1,isNotify=process[_0x199bc2(0x2de,'dsN^')][_0x199bc2(0x26e,'1e8$')]===_0x199bc2(0x3cd,'j(Br'),hotbreak=process[_0x199bc2(0x2d5,'sx8%')][_0x199bc2(0x3e9,'R&3(')]==='true';let waitTimes=parseInt(dplh_wait)*0x3e8;const prize_type={'jdMarket':_0x199bc2(0x2db,'bDp0'),'coin':_0x199bc2(0x3e6,'j(Br'),'point':_0x199bc2(0x252,'gP1u'),'integral':_0x199bc2(0x291,'2&53'),'goods':_0x199bc2(0x228,'aUOy'),'product':'[广告]','coupon':_0x199bc2(0x306,'pt#Q'),'chance':_0x199bc2(0x353,'Dld%'),'card':_0x199bc2(0x304,'O7B^')};let cookie='',originCookie='',cookiesArr=Object['keys'](jdCookie)['map'](_0x1f7b2c=>jdCookie[_0x1f7b2c])[_0x199bc2(0x350,'K0Pm')](_0x2005f9=>_0x2005f9);!cookiesArr[0x0]&&($[_0x199bc2(0x1e7,'K]5Q')]($['name'],_0x199bc2(0x2ef,'F$p[')),process['exit'](0x1));$['blacklist']=process[_0x199bc2(0x2de,'dsN^')][_0x199bc2(0x2a8,'c@5W')]||'',getBlacklist(),$[_0x199bc2(0x347,'e%[C')]=[],$[_0x199bc2(0x31f,'Bq[4')]=[],!(async()=>{const _0x11ee43=_0x199bc2;console[_0x11ee43(0x208,'Dld%')](_0x11ee43(0x1f5,'Bq[4')+$[_0x11ee43(0x1ce,'tJd&')]+'变量开启状态=========='),console['log']('开卡类活动不会自动运行,请自行测试是否有水'),console['log'](_0x11ee43(0x3a5,'1e8$')+common['getProxyStatus']()+']'),console[_0x11ee43(0x30a,')Ppe')]('间隔时长:\x20['+(waitTimes===0x0?'无':waitTimes/0x3e8+'秒')+_0x11ee43(0x1dc,'pt#Q')),console[_0x11ee43(0x363,'5*%(')]('浏览任务:\x20['+(dplh_viewShop?'开启':'关闭')+']'),console[_0x11ee43(0x27e,'EDxn')](_0x11ee43(0x207,'*7fO')+(dplh_AddCart?'开启':'关闭')+']'),console[_0x11ee43(0x2b6,'HIqH')](_0x11ee43(0x26a,'JgvA')+(hotbreak?'开启':'关闭')+']'),console[_0x11ee43(0x3c2,'OqdZ')]('=========='+$['name']+'变量状态结束==========');if(!activityUrl){console[_0x11ee43(0x2d4,'61Fh')]('⚠\x20请先定义必要的环境变量后再运行脚本');return;}authorCodeList=await getAuthorCodeList('http://code.257999.xyz/jd_dplh.json');authorCodeList?(console[_0x11ee43(0x1fb,'gP1u')](_0x11ee43(0x32d,'1e8$')),$[_0x11ee43(0x34c,'j(Br')]=authorCodeList[random(0x0,authorCodeList[_0x11ee43(0x2a6,'bDp0')])]):($[_0x11ee43(0x2b8,'BGXH')]='',console[_0x11ee43(0x41f,'*7fO')]('\x0a服务状态异常请检查网络是否正常\x0a'));$[_0x11ee43(0x36e,'c@5W')]=activityUrl;$[_0x11ee43(0x20b,'n$PP')]&&($[_0x11ee43(0x3da,'tJd&')][_0x11ee43(0x2f1,'lAxC')](_0x11ee43(0x1e3,'7cZ2'))?$[_0x11ee43(0x35d,'g[(#')]=common[_0x11ee43(0x3ec,'v*bV')](activityUrl,_0x11ee43(0x1fe,'#ETO')):$[_0x11ee43(0x281,'8&6$')]=$[_0x11ee43(0x3ea,'61Fh')]);$[_0x11ee43(0x21f,'n$PP')]=_0x11ee43(0x385,'lAxC'),$['baseUrl']=_0x11ee43(0x3ac,'O7B^')+$[_0x11ee43(0x28b,'pt#Q')];if(!$[_0x11ee43(0x28c,'Dld%')]){console[_0x11ee43(0x288,'K0Pm')]('⚠\x20请填写格式正确的变量');return;}notify[_0x11ee43(0x1df,'tJd&')]({'title':$[_0x11ee43(0x24d,'%GN!')]}),$[_0x11ee43(0x421,'U[g3')]=_0x11ee43(0x39e,')Ppe'),$[_0x11ee43(0x394,'U[g3')]=$[_0x11ee43(0x406,'F$p[')];const _0x3bb1a6=process['env'][_0x11ee43(0x1f3,'F$p[')]?process[_0x11ee43(0x311,'BGXH')][_0x11ee43(0x32e,'gP1u')]:'';if(_0x3bb1a6&&_0x3bb1a6!=''){const _0x20127c=_0x3bb1a6[_0x11ee43(0x32a,'#ETO')]('|');$['randNum']=Math[_0x11ee43(0x2c1,'bx[N')](Math['random']()*_0x20127c[_0x11ee43(0x2ca,'K0Pm')]);if(_0x20127c[$[_0x11ee43(0x22f,'EDxn')]]==='')return console[_0x11ee43(0x1d9,'%GN!')]('❌\x20随机抽取到的收货地址信息为空请正确使用\x20\x22|\x22\x20管道符以用于分割多个收货地址\x0a'),![];const [_0x49ad02,_0x5f6f57,_0x25b7b1,_0x1922c6,_0x3a97de,_0x58c8a2]=_0x20127c[$['randNum']]['split']('@');for(let _0x48b225=0x0;_0x48b225<0x6;_0x48b225++){if(_0x20127c[_0x48b225]==='')return console[_0x11ee43(0x2ff,'BGXH')](_0x11ee43(0x25c,'xqVw')),![];}$['receiver']=_0x49ad02,$[_0x11ee43(0x3db,'sx8%')]=_0x5f6f57,$[_0x11ee43(0x29e,'1e8$')]=_0x25b7b1,$[_0x11ee43(0x3b9,'HIqH')]=_0x1922c6,$['county']=_0x3a97de,$[_0x11ee43(0x3ca,'g[(#')]=_0x58c8a2;}for(let _0x457bdd=0x0;_0x457bdd<cookiesArr[_0x11ee43(0x28a,'tJd&')];_0x457bdd++){$['index']=_0x457bdd+0x1,cookie=cookiesArr[_0x457bdd],originCookie=cookiesArr[_0x457bdd],common['setCookie'](originCookie),$[_0x11ee43(0x35b,'OqdZ')]=decodeURIComponent(common[_0x11ee43(0x2f3,'2&53')](cookie,'pt_pin')),$['UA']=common[_0x11ee43(0x2c7,'%GN!')]($[_0x11ee43(0x2cf,'WW3B')]),$[_0x11ee43(0x374,'#ETO')]=notify['create']($[_0x11ee43(0x338,'61Fh')],$['UserName']),$[_0x11ee43(0x251,'k)H9')]='',console[_0x11ee43(0x356,')PvD')](_0x11ee43(0x341,'1e8$')+$['index']+'】'+($['nickName']||$[_0x11ee43(0x36b,'61Fh')])+_0x11ee43(0x237,'bx[N')),await Main(),common[_0x11ee43(0x267,'7cZ2')]();if($[_0x11ee43(0x3f1,'kUqu')]||$[_0x11ee43(0x2cc,'v*bV')])break;}if($[_0x11ee43(0x35e,'Dld%')][_0x11ee43(0x27f,'WW3B')]>0x0){let _0x5c6a98=_0x11ee43(0x386,'61Fh')+$[_0x11ee43(0x290,'gP1u')][_0x11ee43(0x1f4,'bx[N')]('&')+'\x22';console[_0x11ee43(0x2d4,'61Fh')](_0x5c6a98);}if($[_0x11ee43(0x287,'eTsV')][_0x11ee43(0x270,'OqdZ')]>0x0){let _0x9835ad='\x0a以下账号开卡火爆请自行决定是否加入黑名单\x0a\x22'+$['errOpencard'][_0x11ee43(0x3e1,'bDp0')]('&')+'\x22';console[_0x11ee43(0x302,'voZy')](_0x9835ad);}isNotify&&notify['getMessage']()&&(notify[_0x11ee43(0x261,'e%[C')](_0x11ee43(0x41d,'n$PP')+$['activityId']),await notify[_0x11ee43(0x2fe,'g[(#')]());})()['catch'](_0x147462=>$[_0x199bc2(0x32f,'k)H9')](_0x147462))[_0x199bc2(0x1e2,'j(Br')](()=>$[_0x199bc2(0x3aa,'2&53')]());async function Main(){const _0x30ff5c=_0x199bc2;try{$[_0x30ff5c(0x22d,'aUOy')]=![],$[_0x30ff5c(0x30b,'aUOy')]=![],$[_0x30ff5c(0x1e9,'c@5W')]='';if($['runEnd']||$[_0x30ff5c(0x414,'EDxn')])return;$[_0x30ff5c(0x38d,'aUOy')]=await getToken(originCookie,$[_0x30ff5c(0x217,'O7B^')]);if(!$['jdToken']){console[_0x30ff5c(0x3dd,'Bq[4')](_0x30ff5c(0x323,'e%[C')),$[_0x30ff5c(0x31a,'pt#Q')][_0x30ff5c(0x3d1,'VJ%8')](_0x30ff5c(0x2ee,'HIqH'));return;}$[_0x30ff5c(0x408,'HIqH')]='',await sendRequest('activity_load');if($['MixNick']==''){console['log'](_0x30ff5c(0x410,'5*%('));return;}if($[_0x30ff5c(0x36c,'1e8$')]||$[_0x30ff5c(0x362,'WW3B')]||$[_0x30ff5c(0x321,'n$PP')])return;if(!$['hasGetBasicInfo']){$[_0x30ff5c(0x2d0,'xqVw')]=!![];const _0x29a6ee=$['time'](_0x30ff5c(0x3c1,'U[g3'),$[_0x30ff5c(0x26d,'c@5W')]),_0x2800ae=$[_0x30ff5c(0x3d6,'*7fO')](_0x30ff5c(0x39b,'R&3('),$[_0x30ff5c(0x359,'bx[N')]);console[_0x30ff5c(0x363,'5*%(')](_0x30ff5c(0x41b,'O7B^')+$[_0x30ff5c(0x34d,'Fz7H')]+']\x0a开始时间'+_0x29a6ee+_0x30ff5c(0x31d,'2&53')+_0x2800ae),notify['appendContent'](_0x30ff5c(0x1d8,'2&53')+$[_0x30ff5c(0x419,'dsN^')]+']\x0a开始时间'+_0x29a6ee+'\x0a结束时间'+_0x2800ae);const _0x59d6f0=Date[_0x30ff5c(0x219,'lAxC')]();if($['startTime']&&_0x59d6f0<$[_0x30ff5c(0x211,'bDp0')]){console['log'](_0x30ff5c(0x3ad,')PvD')+_0x29a6ee+_0x30ff5c(0x1f2,'c@5W')),$[_0x30ff5c(0x2e5,'*7fO')][_0x30ff5c(0x22a,'k)H9')](_0x30ff5c(0x403,'BGXH')+_0x29a6ee),$[_0x30ff5c(0x201,'bDp0')]=!![];return;}if($[_0x30ff5c(0x30e,'Dld%')]&&_0x59d6f0>$[_0x30ff5c(0x3f2,'MQEE')]){console[_0x30ff5c(0x1fb,'gP1u')](_0x30ff5c(0x253,'HIqH')+_0x2800ae+_0x30ff5c(0x344,'Fz7H')),$[_0x30ff5c(0x23c,'O7B^')][_0x30ff5c(0x232,'g[(#')](_0x30ff5c(0x3d9,'K]5Q')+_0x2800ae),$['runEnd']=!![];return;}}console[_0x30ff5c(0x2d4,'61Fh')](_0x30ff5c(0x305,'Fz7H')+$[_0x30ff5c(0x22c,')PvD')]+']\x0a');$[_0x30ff5c(0x399,'Dld%')]&&(await sendRequest('绑定'),await $['wait'](parseInt(waitTimes*0x1+0x64,0xa)));if($['runEnd']||$['outFlag'])return;$['shopList']='',await sendRequest(_0x30ff5c(0x38b,'VJ%8')),await $[_0x30ff5c(0x250,'dsN^')](parseInt(waitTimes*0x1+0x64,0xa));if($[_0x30ff5c(0x249,'g[(#')]){let _0x38bfce=($[_0x30ff5c(0x25d,'eTsV')]||[])[_0x30ff5c(0x268,'1e8$')](_0xc0ff3b=>_0xc0ff3b[_0x30ff5c(0x3c6,'Bq[4')]==![]);console['log']('共有'+$[_0x30ff5c(0x349,'Dld%')][_0x30ff5c(0x258,'EDxn')]+_0x30ff5c(0x1d2,'K0Pm')+_0x38bfce['length']+'张卡');for(let _0x107b1b of _0x38bfce||[]){if(!_0x107b1b[_0x30ff5c(0x231,'Fz7H')]){$[_0x30ff5c(0x1d5,'bx[N')]=_0x30ff5c(0x33f,'2&53'),$[_0x30ff5c(0x3d8,'Fz7H')]=_0x107b1b[_0x30ff5c(0x324,'LISE')],$[_0x30ff5c(0x364,'F$p[')]=_0x107b1b[_0x30ff5c(0x241,'61Fh')],$[_0x30ff5c(0x255,')Ppe')]=_0x107b1b[_0x30ff5c(0x387,'Bq[4')],$[_0x30ff5c(0x206,'JgvA')]=common[_0x30ff5c(0x37e,'VJ%8')]($[_0x30ff5c(0x369,'*7fO')],_0x30ff5c(0x293,'8&6$'));(!$[_0x30ff5c(0x286,')Ppe')]||!/^\d+$/[_0x30ff5c(0x3bc,'eTsV')]($[_0x30ff5c(0x370,'7cZ2')]))&&($[_0x30ff5c(0x1eb,'R&3(')]=_0x107b1b[_0x30ff5c(0x2b5,'Tudz')]);await sendRequest(_0x30ff5c(0x2b2,'R&3(')),await $[_0x30ff5c(0x28d,'5*%(')](parseInt(waitTimes*0x1+0x3e8,0xa));const _0x5d7c2e=await common['joinShopMember']($[_0x30ff5c(0x3f5,'5*%(')]);if(_0x5d7c2e)console[_0x30ff5c(0x2b6,'HIqH')](_0x30ff5c(0x415,'O7B^')+$[_0x30ff5c(0x2b4,'dsN^')]+_0x30ff5c(0x260,'e%[C')),await $[_0x30ff5c(0x3d7,'EDxn')](parseInt(waitTimes*0x1+0x64,0xa));else{console['log']('['+$[_0x30ff5c(0x3df,'Tudz')]+']店铺开卡失败,跳过执行~');break;}await sendRequest('activity_load'),await $[_0x30ff5c(0x2e3,'lAxC')](parseInt(waitTimes*0x1+0x64,0xa)),$[_0x30ff5c(0x397,'sx8%')]='';}}}$[_0x30ff5c(0x351,'Tudz')]==0x0&&($[_0x30ff5c(0x1d5,'bx[N')]='uniteCollectShop',await sendRequest(_0x30ff5c(0x283,'EDxn')),await $[_0x30ff5c(0x210,'8&6$')](parseInt(waitTimes*0x1+0x3e8,0xa)));dplh_AddCart?$[_0x30ff5c(0x223,'BGXH')]==0x0&&($[_0x30ff5c(0x2c2,'*7fO')]='uniteAddCart',await sendRequest(_0x30ff5c(0x3b1,'OqdZ')),await $[_0x30ff5c(0x366,'tJd&')](parseInt(waitTimes*0x1+0x3e8,0xa))):console[_0x30ff5c(0x3c2,'OqdZ')](_0x30ff5c(0x2ce,'O7B^'));if(dplh_viewShop){if($[_0x30ff5c(0x1e1,'xqVw')])for(let _0x3b4125 of $[_0x30ff5c(0x376,'*7fO')]||[]){$[_0x30ff5c(0x2f6,'8&6$')]=_0x30ff5c(0x30d,'n$PP'),$['goodsNumId']=_0x3b4125[_0x30ff5c(0x2e8,'8&6$')],await sendRequest(_0x30ff5c(0x38e,'1e8$')),await $[_0x30ff5c(0x3dc,'#ETO')](parseInt(waitTimes*0x1+0x7d0,0xa));}}else console['log']('未设置浏览任务变量,不执行浏览任务\x0a');await sendRequest(_0x30ff5c(0x409,'2&53')),await $[_0x30ff5c(0x2a2,'j(Br')](parseInt(waitTimes*0x1+0x64,0xa));if(dplh_draw!=0x0){if($[_0x30ff5c(0x309,'sx8%')]){let _0x102a02=parseInt($[_0x30ff5c(0x3b5,'Bq[4')]/0xc8);if(_0x102a02>dplh_draw)_0x102a02=dplh_draw;console[_0x30ff5c(0x3c2,'OqdZ')]('设定抽奖次数为:'+_0x102a02+_0x30ff5c(0x391,'OqdZ')+$['remainPoint']);for(m=0x1;_0x102a02--;m++){console['log']('第'+m+_0x30ff5c(0x33c,'*7fO')),await $['wait'](parseInt(waitTimes*0x1+0xbb8,0xa)),await sendRequest('抽奖');if(Number(_0x102a02)<=0x0)break;if(m>=0xa){console['log']('抽奖太多次,多余的次数请再执行脚本');break;}await $[_0x30ff5c(0x28d,'5*%(')](parseInt(waitTimes*0x1+0xbb8,0xa));}}}console[_0x30ff5c(0x3c2,'OqdZ')](_0x30ff5c(0x277,'5*%(')+($[_0x30ff5c(0x216,'5*%(')]||_0x30ff5c(0x24a,'Fz7H'))+']'),$[_0x30ff5c(0x2c3,'*7fO')]==0x1&&($[_0x30ff5c(0x3fa,'gP1u')]=$['MixNick'],console[_0x30ff5c(0x407,'lAxC')]('后面都助力:['+$[_0x30ff5c(0x3d4,'8&6$')]+']')),await $[_0x30ff5c(0x404,'JgvA')](parseInt(waitTimes*0x1+0x64,0xa));}catch(_0xae1043){console[_0x30ff5c(0x28f,'K]5Q')](_0x30ff5c(0x3d3,'R&3(')+_0xae1043);}}async function handleResponse(_0x4d7b59,_0x96d134){const _0xa5aa47=_0x199bc2;try{switch(_0x4d7b59){case _0xa5aa47(0x2ec,'*7fO'):if(_0x96d134[_0xa5aa47(0x383,'aUOy')]&&_0x96d134['data']?.[_0xa5aa47(0x1ea,'7cZ2')]==0xc8){$['activityload']=_0x96d134?.[_0xa5aa47(0x235,'EDxn')]?.['data'],$[_0xa5aa47(0x3b0,'O7B^')]=$[_0xa5aa47(0x395,'Fz7H')]?.[_0xa5aa47(0x427,'c@5W')]?.[_0xa5aa47(0x3ee,'%GN!')],$[_0xa5aa47(0x27c,'8&6$')]=$[_0xa5aa47(0x278,'F$p[')]?.[_0xa5aa47(0x30c,'JgvA')]?.['endTime'],$['awardTime']=$[_0xa5aa47(0x38a,')Ppe')]?.[_0xa5aa47(0x39f,'*7fO')]?.['awardTime'],$['MixNick']=$[_0xa5aa47(0x3a3,'g[(#')]?.[_0xa5aa47(0x334,'v*bV')]?.['buyerNick'],$[_0xa5aa47(0x26b,'k)H9')]=$['activityload']?.[_0xa5aa47(0x348,'5*%(')]?.['totalChance'],$[_0xa5aa47(0x3fc,'JgvA')]=$[_0xa5aa47(0x41a,'Bq[4')]?.['missionCustomer']?.[_0xa5aa47(0x212,'8&6$')],$[_0xa5aa47(0x265,'kUqu')]=$['activityload']?.['missionCustomer']?.[_0xa5aa47(0x276,'VJ%8')],$['totalPoint']=$[_0xa5aa47(0x2d3,'EDxn')]?.[_0xa5aa47(0x3af,'*7fO')]?.[_0xa5aa47(0x3eb,'JgvA')],$['usedPoint']=$[_0xa5aa47(0x21e,'WW3B')]?.[_0xa5aa47(0x21a,'kUqu')]?.[_0xa5aa47(0x411,'Tudz')],$[_0xa5aa47(0x428,'LISE')]=$['activityload']?.[_0xa5aa47(0x1ee,'e%[C')]?.[_0xa5aa47(0x342,'sx8%')],$[_0xa5aa47(0x236,'61Fh')]=$[_0xa5aa47(0x292,'%GN!')]?.['missionCustomer']?.[_0xa5aa47(0x24e,'n$PP')],$[_0xa5aa47(0x204,'HIqH')]=$['activityload']?.[_0xa5aa47(0x300,')PvD')]?.[_0xa5aa47(0x2da,'O7B^')],$[_0xa5aa47(0x308,'bDp0')]=$[_0xa5aa47(0x2c8,'VJ%8')]?.['openCardStatus']||![],$[_0xa5aa47(0x28e,'Fz7H')]=$[_0xa5aa47(0x3a0,'7cZ2')]?.[_0xa5aa47(0x282,'sx8%')]||![];if($[_0xa5aa47(0x3ae,'v*bV')]?.[_0xa5aa47(0x388,'5*%(')])console[_0xa5aa47(0x363,'5*%(')]($[_0xa5aa47(0x3e2,'voZy')]?.['openCardMsg']);}else _0x96d134[_0xa5aa47(0x2df,'#ETO')]?.[_0xa5aa47(0x1da,'R&3(')]==0x1f4?(console[_0xa5aa47(0x1cf,'aUOy')](''+_0x96d134[_0xa5aa47(0x289,')Ppe')]),$[_0xa5aa47(0x3bd,'K]5Q')][_0xa5aa47(0x254,'#ETO')]($['UserName']),$[_0xa5aa47(0x2f4,'aUOy')][_0xa5aa47(0x37c,'bDp0')](''+_0x96d134[_0xa5aa47(0x379,'K]5Q')]),$[_0xa5aa47(0x242,'v*bV')]=!![]):console[_0xa5aa47(0x1f6,'Tudz')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x2bc,'2&53')](_0x96d134));break;case'绑定':if(_0x96d134[_0xa5aa47(0x23a,'Dld%')]&&_0x96d134['data']?.[_0xa5aa47(0x360,'voZy')]==0xc8)console['log'](''+_0x96d134[_0xa5aa47(0x269,'Tudz')]?.[_0xa5aa47(0x354,'LISE')]);else _0x96d134[_0xa5aa47(0x3c3,'v*bV')]?.[_0xa5aa47(0x2e6,'U[g3')]==0x1f4?(console[_0xa5aa47(0x330,'dsN^')](''+_0x96d134['errorMessage']),['结束','开始'][_0xa5aa47(0x2f5,'U[g3')](_0x2a8319=>_0x96d134[_0xa5aa47(0x316,'v*bV')][_0xa5aa47(0x35a,')PvD')](_0x2a8319))&&($[_0xa5aa47(0x37b,'Bq[4')]=!![])):console[_0xa5aa47(0x425,'LISE')]('❓'+_0x4d7b59+'\x20'+JSON['stringify'](_0x96d134));break;case'shopList':if(_0x96d134[_0xa5aa47(0x2a1,'bDp0')]&&_0x96d134['data']?.['status']==0xc8)$[_0xa5aa47(0x349,'Dld%')]=_0x96d134?.[_0xa5aa47(0x3a4,'j(Br')]?.[_0xa5aa47(0x35c,'U[g3')]||[];else _0x96d134['data']?.[_0xa5aa47(0x23b,'VJ%8')]==0x1f4?console[_0xa5aa47(0x288,'K0Pm')](''+_0x96d134['errorMessage']):console['log']('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x2fd,'Tudz')](_0x96d134));break;case _0xa5aa47(0x2e0,'pt#Q'):if(_0x96d134['success']&&_0x96d134[_0xa5aa47(0x24c,'g[(#')]?.[_0xa5aa47(0x2bf,'OqdZ')]==0xc8)$[_0xa5aa47(0x380,'g[(#')]=_0x96d134?.[_0xa5aa47(0x256,'K0Pm')]?.['data'],console[_0xa5aa47(0x2b0,'g[(#')](''+(_0x96d134[_0xa5aa47(0x263,'sx8%')]||$['mission']?.[_0xa5aa47(0x31b,'U[g3')]||'')),$[_0xa5aa47(0x2eb,'Bq[4')]['fix'](''+(_0x96d134['msg']||$[_0xa5aa47(0x312,'2&53')]?.[_0xa5aa47(0x2d7,'c@5W')]||''));else _0x96d134[_0xa5aa47(0x2a7,')PvD')]?.[_0xa5aa47(0x417,'Bq[4')]==0x1f4?console[_0xa5aa47(0x1ed,'F$p[')](''+_0x96d134[_0xa5aa47(0x275,'bx[N')]):console[_0xa5aa47(0x302,'voZy')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x230,'lAxC')](_0x96d134));break;case _0xa5aa47(0x280,'bx[N'):if(_0x96d134[_0xa5aa47(0x418,'U[g3')]&&_0x96d134[_0xa5aa47(0x1d6,'sx8%')]?.[_0xa5aa47(0x381,'%GN!')]==0xc8)$[_0xa5aa47(0x2ac,'MQEE')]=_0x96d134?.[_0xa5aa47(0x357,'K]5Q')]?.[_0xa5aa47(0x2f9,'xqVw')]?.[_0xa5aa47(0x29a,'v*bV')];else _0x96d134[_0xa5aa47(0x2df,'#ETO')]?.['status']==0x1f4?console[_0xa5aa47(0x356,')PvD')](''+_0x96d134[_0xa5aa47(0x379,'K]5Q')]):console['log']('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x34f,'F$p[')](_0x96d134));break;case _0xa5aa47(0x314,'*7fO'):if(_0x96d134['success']&&_0x96d134[_0xa5aa47(0x3e3,'Bq[4')]?.['status']==0xc8){$[_0xa5aa47(0x2d9,'c@5W')]=!![],$[_0xa5aa47(0x315,'aUOy')]=_0x96d134?.[_0xa5aa47(0x23f,'c@5W')]?.[_0xa5aa47(0x35c,'U[g3')];let _0xe1d605=$[_0xa5aa47(0x2aa,'Dld%')]?.['awardSendLog'],_0x47b9ec=_0xe1d605?.[_0xa5aa47(0x274,'bDp0')];switch(_0x47b9ec){case _0xa5aa47(0x200,'61Fh'):console[_0xa5aa47(0x302,'voZy')](_0xa5aa47(0x3d0,'#ETO')+_0xe1d605?.['awardName']+_0xa5aa47(0x2a9,'gP1u')),$[_0xa5aa47(0x392,'EDxn')][_0xa5aa47(0x424,'F$p[')](_0xa5aa47(0x396,'OqdZ')+_0xe1d605?.[_0xa5aa47(0x346,'MQEE')]+_0xa5aa47(0x3a8,'c@5W'));break;case _0xa5aa47(0x319,'bx[N'):case _0xa5aa47(0x3d2,'#ETO'):console['log']('🗑️\x20'+_0xe1d605?.['awardName']+'\x20\x20🎟'),$[_0xa5aa47(0x3fd,'K]5Q')][_0xa5aa47(0x337,'K]5Q')](_0xa5aa47(0x378,'voZy')+_0xe1d605?.[_0xa5aa47(0x368,'g[(#')]+_0xa5aa47(0x33a,'MQEE'));break;case _0xa5aa47(0x273,'VJ%8'):$[_0xa5aa47(0x2cb,'K]5Q')]=_0xe1d605?.['id'],$[_0xa5aa47(0x37a,'bx[N')]=_0xe1d605?.[_0xa5aa47(0x33d,'eTsV')],console['log'](_0xa5aa47(0x384,')PvD')),console[_0xa5aa47(0x41f,'*7fO')]('奖品名称:'+$['prizeShiWu']);if(_0xe1d605?.[_0xa5aa47(0x3a7,'61Fh')])console[_0xa5aa47(0x1fc,'e%[C')](_0xa5aa47(0x377,'1e8$')+_0xe1d605?.[_0xa5aa47(0x1dd,')Ppe')]);$[_0xa5aa47(0x2e5,'*7fO')][_0xa5aa47(0x22b,'O7B^')](_0xa5aa47(0x248,'8&6$')+$[_0xa5aa47(0x37a,'bx[N')]);process[_0xa5aa47(0x36d,'MQEE')][_0xa5aa47(0x307,'8&6$')]&&(await sendRequest(_0xa5aa47(0x298,'61Fh')),await $[_0xa5aa47(0x3c7,'HIqH')](0xfa0));break;case _0xa5aa47(0x225,'sx8%'):case _0xa5aa47(0x32b,'R&3('):case _0xa5aa47(0x3f8,'Tudz'):case _0xa5aa47(0x222,'OqdZ'):case'card':console[_0xa5aa47(0x333,'eTsV')](_0xa5aa47(0x26f,'aUOy')+prize_type[prizeType]);break;default:console[_0xa5aa47(0x2b7,'Fz7H')](_0x47b9ec+_0xa5aa47(0x25f,'7cZ2')),console[_0xa5aa47(0x208,'Dld%')](''+JSON['stringify']($[_0xa5aa47(0x3ff,'2&53')]));}}else _0x96d134[_0xa5aa47(0x1e0,'VJ%8')]?.[_0xa5aa47(0x24f,'8&6$')]==0x1f4?console[_0xa5aa47(0x1e6,'bDp0')](''+_0x96d134[_0xa5aa47(0x37f,'1e8$')]):console[_0xa5aa47(0x27a,'JgvA')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x3ab,'5*%(')](_0x96d134));break;case _0xa5aa47(0x3e4,'5*%('):if(_0x96d134[_0xa5aa47(0x247,'K0Pm')]&&_0x96d134[_0xa5aa47(0x322,'%GN!')]?.[_0xa5aa47(0x3f9,'gP1u')]==0xc8)$[_0xa5aa47(0x36a,'%GN!')]=_0x96d134?.[_0xa5aa47(0x339,'Fz7H')]?.[_0xa5aa47(0x393,'BGXH')];else _0x96d134[_0xa5aa47(0x2df,'#ETO')]?.[_0xa5aa47(0x416,'e%[C')]==0x1f4?console[_0xa5aa47(0x356,')PvD')](''+_0x96d134[_0xa5aa47(0x2c9,'O7B^')]):console[_0xa5aa47(0x333,'eTsV')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x390,'U[g3')](_0x96d134));break;case _0xa5aa47(0x213,'sx8%'):if(_0x96d134[_0xa5aa47(0x2fa,'LISE')]&&_0x96d134['data']?.[_0xa5aa47(0x2e6,'U[g3')]==0xc8){let _0x3e2852=0x0;for(let _0x7538ae in _0x96d134[_0xa5aa47(0x361,'e%[C')][_0xa5aa47(0x3de,'WW3B')]['list']||[]){let _0x587730=_0x96d134['data']['data'][_0xa5aa47(0x355,'eTsV')][_0x7538ae];_0x3e2852+=Number(_0x587730['awardDes']);}if(_0x3e2852>0x0)console[_0xa5aa47(0x37d,'sx8%')](_0xa5aa47(0x31e,'61Fh')+_0x3e2852+_0xa5aa47(0x3fb,'v*bV'));}else _0x96d134[_0xa5aa47(0x33b,'aUOy')]?.[_0xa5aa47(0x2e6,'U[g3')]==0x1f4?console['log'](''+_0x96d134[_0xa5aa47(0x422,'voZy')]):console[_0xa5aa47(0x1fa,'bx[N')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x335,'#ETO')](_0x96d134));break;case _0xa5aa47(0x1e8,'O7B^'):if(_0x96d134[_0xa5aa47(0x257,'MQEE')]&&_0x96d134['data']?.[_0xa5aa47(0x3f9,'gP1u')]==0xc8)_0x96d134?.[_0xa5aa47(0x41c,'Dld%')]?.[_0xa5aa47(0x2e7,'n$PP')]?.[_0xa5aa47(0x299,'2&53')]?(console[_0xa5aa47(0x425,'LISE')]('已提交收货地址\x20✅\x0a登记为随机抽取到的第'+($['randNum']+0x1)+'套收货地址信息\x0a联系信息'+$[_0xa5aa47(0x2ed,'g[(#')]+'\x20('+$['phone'][_0xa5aa47(0x2e4,'xqVw')](/^(\d{3})\d{4}(\d{4})$/,'$1****$2')+'\x0a'),!isNotify&&await notify[_0xa5aa47(0x3bb,'dsN^')]($[_0xa5aa47(0x1f8,'dsN^')]+_0xa5aa47(0x382,'5*%('),_0xa5aa47(0x2f0,'Fz7H')+$[_0xa5aa47(0x2d6,'Tudz')]+'】'+$[_0xa5aa47(0x3b7,'n$PP')]+'\x0a抽中实物\x20'+$[_0xa5aa47(0x259,'g[(#')]+_0xa5aa47(0x3d5,'WW3B')+$[_0xa5aa47(0x3ef,'K]5Q')]),$[_0xa5aa47(0x21b,'eTsV')][_0xa5aa47(0x2dd,'JgvA')]($[_0xa5aa47(0x325,'Fz7H')]+_0xa5aa47(0x27b,'dsN^'))):console['log'](_0x96d134[_0xa5aa47(0x246,'61Fh')]['data']);else _0x96d134[_0xa5aa47(0x3e3,'Bq[4')]?.['status']==0x1f4?console[_0xa5aa47(0x40d,'n$PP')](''+_0x96d134[_0xa5aa47(0x275,'bx[N')]):console[_0xa5aa47(0x284,'v*bV')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x3f3,'*7fO')](_0x96d134));break;case'抽奖':console[_0xa5aa47(0x1f6,'Tudz')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x279,'61Fh')](_0x96d134));if(_0x96d134[_0xa5aa47(0x2a0,'gP1u')]&&_0x96d134['data']?.[_0xa5aa47(0x2bb,'2&53')]==0xc8){$[_0xa5aa47(0x326,'g[(#')]=_0x96d134?.['data']?.[_0xa5aa47(0x361,'e%[C')];let _0x20bebc=$[_0xa5aa47(0x35f,'WW3B')]?.[_0xa5aa47(0x271,'MQEE')],_0x27419f=_0x20bebc?.[_0xa5aa47(0x238,'*7fO')];switch(_0x27419f){case'jdMarket':console['log'](_0xa5aa47(0x3c0,'EDxn')+_0x20bebc?.[_0xa5aa47(0x2af,'VJ%8')]+'\x20🐶'),$[_0xa5aa47(0x320,'bDp0')][_0xa5aa47(0x412,'Tudz')](_0xa5aa47(0x336,'pt#Q')+_0x20bebc?.['awardName']+_0xa5aa47(0x25b,'61Fh'));break;case _0xa5aa47(0x340,'LISE'):case _0xa5aa47(0x1de,'MQEE'):console[_0xa5aa47(0x329,'O7B^')]('🗑️\x20'+_0x20bebc?.['awardName']+_0xa5aa47(0x1f7,'bx[N')),$[_0xa5aa47(0x2a3,')Ppe')][_0xa5aa47(0x23e,')Ppe')](_0xa5aa47(0x318,'g[(#')+_0x20bebc?.['awardName']+_0xa5aa47(0x3fe,'F$p['));break;case'goods':$[_0xa5aa47(0x1e4,'bDp0')]=_0x20bebc?.['id'],$[_0xa5aa47(0x38c,'tJd&')]=_0x20bebc?.['awardName'],console[_0xa5aa47(0x302,'voZy')](_0xa5aa47(0x39c,'BGXH')),console[_0xa5aa47(0x208,'Dld%')](_0xa5aa47(0x20c,'Bq[4')+$[_0xa5aa47(0x3a9,'lAxC')]);if(_0x20bebc?.['awardPic'])console['log']('预览图片:'+_0x20bebc?.[_0xa5aa47(0x1ec,'7cZ2')]);$[_0xa5aa47(0x3ba,'61Fh')][_0xa5aa47(0x3ce,'j(Br')](_0xa5aa47(0x297,'2&53')+$[_0xa5aa47(0x389,'k)H9')]);process['env'][_0xa5aa47(0x398,'v*bV')]&&(await sendRequest(_0xa5aa47(0x3e8,'MQEE')),await $[_0xa5aa47(0x26c,'sx8%')](0xfa0));break;case _0xa5aa47(0x33e,'K]5Q'):case _0xa5aa47(0x3ed,'j(Br'):case _0xa5aa47(0x25e,'1e8$'):case _0xa5aa47(0x420,'U[g3'):case'card':console[_0xa5aa47(0x407,'lAxC')](_0xa5aa47(0x378,'voZy')+prize_type[_0x27419f]);break;default:console[_0xa5aa47(0x3dd,'Bq[4')](_0x27419f+'\x20暂时未收录请联系作者添加\x0a'),console[_0xa5aa47(0x3f0,'R&3(')](''+JSON[_0xa5aa47(0x2f7,'kUqu')]($['exchangePost']));}}else _0x96d134[_0xa5aa47(0x2b9,'tJd&')]?.[_0xa5aa47(0x2e6,'U[g3')]==0x1f4?console[_0xa5aa47(0x1f6,'Tudz')](''+_0x96d134[_0xa5aa47(0x205,'c@5W')]):console[_0xa5aa47(0x1d9,'%GN!')]('❓'+_0x4d7b59+'\x20'+JSON[_0xa5aa47(0x214,')Ppe')](_0x96d134));break;}}catch(_0x303a1f){console['log'](_0xa5aa47(0x285,'c@5W')+_0x4d7b59+_0xa5aa47(0x233,'kUqu')+(_0x303a1f[_0xa5aa47(0x244,'e%[C')]||_0x303a1f));}}async function sendRequest(_0x352f18){const _0x2b6ea6=_0x199bc2;if($['runEnd']||$[_0x2b6ea6(0x362,'WW3B')])return;let _0x29e5a5=$[_0x2b6ea6(0x405,'Dld%')],_0x11a063=null,_0x5d31b7=null,_0x4de2ce=_0x2b6ea6(0x218,'dsN^');switch(_0x352f18){case _0x2b6ea6(0x3c8,'1e8$'):_0x29e5a5+=_0x2b6ea6(0x25a,'JgvA'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x3cf,'kUqu')]||'','user_id':$[_0x2b6ea6(0x3a2,'MQEE')]},_0x11a063=getSignBody(_0x2b6ea6(0x295,'%GN!'),Object[_0x2b6ea6(0x220,'v*bV')]({'jdToken':$[_0x2b6ea6(0x229,'Fz7H')],'source':'01','inviteNick':$[_0x2b6ea6(0x399,'Dld%')]||''},$[_0x2b6ea6(0x40f,'U[g3')]?{'shopId':''+$[_0x2b6ea6(0x3b6,'gP1u')]}:{}));break;case'shopList':_0x29e5a5+=_0x2b6ea6(0x303,'1e8$'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x3e7,'61Fh')]||'','user_id':$[_0x2b6ea6(0x32c,'LISE')]},_0x11a063=getSignBody(_0x2b6ea6(0x317,'K0Pm'),{});break;case'绑定':_0x29e5a5+=_0x2b6ea6(0x22e,'Dld%'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x20d,'v*bV')]||'','user_id':$[_0x2b6ea6(0x40c,'1e8$')]},_0x11a063=getSignBody(_0x2b6ea6(0x2c0,'K0Pm'),{'inviterNick':$['inviteNick']||''});break;case _0x2b6ea6(0x240,'Fz7H'):_0x29e5a5+=_0x2b6ea6(0x39d,'tJd&'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x2ab,'g[(#')]||'','user_id':$[_0x2b6ea6(0x343,'OqdZ')]},_0x11a063=getSignBody(_0x2b6ea6(0x3c5,')Ppe'),Object['assign']({'missionType':$[_0x2b6ea6(0x1d7,'pt#Q')]},$[_0x2b6ea6(0x332,'voZy')]?{'shopId':$['dplhVenderId']}:{},$[_0x2b6ea6(0x1d1,'*7fO')]?{'goodsNumId':$[_0x2b6ea6(0x1db,'R&3(')]}:{}));break;case'getAwardSettingList':_0x29e5a5+=_0x2b6ea6(0x352,'bx[N'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x3e0,'tJd&')]||'','user_id':$[_0x2b6ea6(0x29b,'2&53')]},_0x11a063=getSignBody(_0x2b6ea6(0x272,'8&6$'),{'dataType':$[_0x2b6ea6(0x227,')Ppe')]});break;case _0x2b6ea6(0x1d4,'c@5W'):_0x29e5a5+='/dm/front/jdJoinCardtf/interactive/exchangePost',_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x2ab,'g[(#')]||'','user_id':$[_0x2b6ea6(0x34b,'e%[C')]},_0x11a063=getSignBody('/jdJoinCardtf/interactive/exchangePost',{'dataType':$[_0x2b6ea6(0x224,'*7fO')],'awardId':$[_0x2b6ea6(0x327,'*7fO')]});break;case'抽奖':_0x29e5a5+=_0x2b6ea6(0x365,'g[(#'),_0x5d31b7={'open_id':'','mix_nick':$['MixNick']||'','user_id':$['userId']},_0x11a063=getSignBody(_0x2b6ea6(0x215,'F$p['),{'dataType':_0x2b6ea6(0x34e,'Tudz'),'usedGameNum':'2'});break;case'updateAddress':_0x29e5a5+='/dm/front/jdJoinCardtf/awards/updateAddress',_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x2be,'WW3B')]||'','user_id':$[_0x2b6ea6(0x34b,'e%[C')]},_0x11a063=getSignBody(_0x2b6ea6(0x2c6,'pt#Q'),{'receiverName':$[_0x2b6ea6(0x3a6,'MQEE')],'receiverMobile':$[_0x2b6ea6(0x40e,'lAxC')],'receiverProvince':$[_0x2b6ea6(0x367,'R&3(')],'receiverCity':$[_0x2b6ea6(0x2d2,')PvD')],'receiverDistrict':$[_0x2b6ea6(0x34a,'bx[N')],'receiverAddress':$[_0x2b6ea6(0x3b8,'%GN!')],'logId':$[_0x2b6ea6(0x3e5,'K0Pm')]});break;case'inviteList':_0x29e5a5+=_0x2b6ea6(0x27d,'aUOy'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x402,'gP1u')]||'','bizExtString':'','user_id':$['userId']},_0x11a063=getSignBody(_0x2b6ea6(0x29c,'aUOy'),{});break;case'list':_0x29e5a5+=_0x2b6ea6(0x3cc,'%GN!'),_0x5d31b7={'open_id':'','mix_nick':$[_0x2b6ea6(0x22c,')PvD')]||'','bizExtString':'','user_id':$['userId']},_0x11a063=getSignBody(_0x2b6ea6(0x1fd,'VJ%8'),{'pageNo':0x1,'pageSize':0x270f});break;default:console['log'](_0x2b6ea6(0x266,'%GN!')+_0x352f18);return;}const _0x1a1819={};_0x11a063&&Object[_0x2b6ea6(0x203,'kUqu')](_0x11a063,_0x1a1819);_0x5d31b7&&Object[_0x2b6ea6(0x401,'bx[N')](_0x5d31b7,_0x1a1819);const _0x20a338={'url':_0x29e5a5,'method':_0x4de2ce,'headers':{'Accept':_0x2b6ea6(0x3f6,'7cZ2'),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':'zh-cn','Connection':_0x2b6ea6(0x21c,'pt#Q'),'Content-Type':'application/x-www-form-urlencoded','Cookie':cookie,'User-Agent':$['UA'],'X-Requested-With':_0x2b6ea6(0x429,'K]5Q')},'params':_0x5d31b7,'data':_0x11a063,'timeout':0x7530};_0x4de2ce===_0x2b6ea6(0x202,'7cZ2')&&(delete _0x20a338[_0x2b6ea6(0x2a7,')PvD')],delete _0x20a338[_0x2b6ea6(0x1ff,'sx8%')][_0x2b6ea6(0x3bf,'tJd&')]);$[_0x2b6ea6(0x3cb,'xqVw')]['includes']('jinggengjcq-isv.isvjcloud.com')&&(Object['assign'](_0x20a338[_0x2b6ea6(0x3b3,'1e8$')],{'Origin':_0x2b6ea6(0x1f1,'JgvA'),'Content-Type':_0x2b6ea6(0x1f0,'OqdZ')}),delete _0x20a338[_0x2b6ea6(0x2ba,'v*bV')][_0x2b6ea6(0x331,'JgvA')]);const _0x4671d9=0x5;let _0x5f4437=0x0,_0x2f98ee=null,_0x276d12=![];while(_0x5f4437<_0x4671d9){_0x5f4437>0x0&&await $[_0x2b6ea6(0x2bd,')Ppe')](0x3e8);const _0x1f2ee0=await common[_0x2b6ea6(0x20f,'eTsV')](_0x20a338);if(!_0x1f2ee0[_0x2b6ea6(0x29f,'R&3(')]){_0x2f98ee=_0x2b6ea6(0x2ae,'LISE')+_0x352f18+'\x20请求失败\x20➜\x20'+_0x1f2ee0[_0x2b6ea6(0x2ad,'pt#Q')],_0x5f4437++;continue;}if(!_0x1f2ee0['data']){_0x2f98ee=_0x2b6ea6(0x2c5,'sx8%')+_0x352f18+'\x20请求失败\x20➜\x20无响应数据',_0x5f4437++;continue;}await handleResponse(_0x352f18,_0x1f2ee0[_0x2b6ea6(0x1e0,'VJ%8')]),_0x276d12=![];break;}_0x5f4437>=_0x4671d9&&(console[_0x2b6ea6(0x330,'dsN^')](_0x2f98ee),_0x276d12&&(!hotbreak&&($['outFlag']=!![],$['message']&&$['message'][_0x2b6ea6(0x3be,'dsN^')](_0x2f98ee))));}function getSignBody(_0x4329bd,_0x1a2e1d){const _0x1d750e=_0x199bc2,_0xf8116d=mpdzSign({'actId':$[_0x1d750e(0x423,'OqdZ')],..._0x1a2e1d,'method':_0x4329bd,'userId':$[_0x1d750e(0x294,'61Fh')],'buyerNick':$[_0x1d750e(0x2a4,'HIqH')]||''}),_0x41370d={'jsonRpc':_0x1d750e(0x3f7,'O7B^'),'params':{'commonParameter':{'m':_0x1d750e(0x1f9,'g[(#'),'oba':_0xf8116d[_0x1d750e(0x1d3,'EDxn')],'timestamp':_0xf8116d[_0x1d750e(0x358,'tJd&')],'userId':$[_0x1d750e(0x245,'xqVw')]},'admJson':{'actId':$[_0x1d750e(0x221,'lAxC')],..._0x1a2e1d,'method':_0x4329bd,'userId':$['userId'],'buyerNick':$[_0x1d750e(0x2a4,'HIqH')]||''}}};return _0x4329bd[_0x1d750e(0x239,'OqdZ')](_0x1d750e(0x373,'voZy'))>-0x1&&delete _0x41370d['params'][_0x1d750e(0x226,'LISE')][_0x1d750e(0x41e,'BGXH')],_0x41370d;}function _0x352d(_0xd7799c,_0x862869){const _0x2026a6=_0x2026();return _0x352d=function(_0x352d9e,_0x27419c){_0x352d9e=_0x352d9e-0x1ce;let _0x3a94cd=_0x2026a6[_0x352d9e];if(_0x352d['ZqfuAe']===undefined){var _0xbdfc58=function(_0x2005f9){const _0x3bb1a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20127c='',_0x49ad02='';for(let _0x5f6f57=0x0,_0x25b7b1,_0x1922c6,_0x3a97de=0x0;_0x1922c6=_0x2005f9['charAt'](_0x3a97de++);~_0x1922c6&&(_0x25b7b1=_0x5f6f57%0x4?_0x25b7b1*0x40+_0x1922c6:_0x1922c6,_0x5f6f57++%0x4)?_0x20127c+=String['fromCharCode'](0xff&_0x25b7b1>>(-0x2*_0x5f6f57&0x6)):0x0){_0x1922c6=_0x3bb1a6['indexOf'](_0x1922c6);}for(let _0x58c8a2=0x0,_0x48b225=_0x20127c['length'];_0x58c8a2<_0x48b225;_0x58c8a2++){_0x49ad02+='%'+('00'+_0x20127c['charCodeAt'](_0x58c8a2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x49ad02);};const _0x1f7b2c=function(_0x457bdd,_0x5c6a98){let _0x9835ad=[],_0x147462=0x0,_0x29a6ee,_0x2800ae='';_0x457bdd=_0xbdfc58(_0x457bdd);let _0x59d6f0;for(_0x59d6f0=0x0;_0x59d6f0<0x100;_0x59d6f0++){_0x9835ad[_0x59d6f0]=_0x59d6f0;}for(_0x59d6f0=0x0;_0x59d6f0<0x100;_0x59d6f0++){_0x147462=(_0x147462+_0x9835ad[_0x59d6f0]+_0x5c6a98['charCodeAt'](_0x59d6f0%_0x5c6a98['length']))%0x100,_0x29a6ee=_0x9835ad[_0x59d6f0],_0x9835ad[_0x59d6f0]=_0x9835ad[_0x147462],_0x9835ad[_0x147462]=_0x29a6ee;}_0x59d6f0=0x0,_0x147462=0x0;for(let _0x38bfce=0x0;_0x38bfce<_0x457bdd['length'];_0x38bfce++){_0x59d6f0=(_0x59d6f0+0x1)%0x100,_0x147462=(_0x147462+_0x9835ad[_0x59d6f0])%0x100,_0x29a6ee=_0x9835ad[_0x59d6f0],_0x9835ad[_0x59d6f0]=_0x9835ad[_0x147462],_0x9835ad[_0x147462]=_0x29a6ee,_0x2800ae+=String['fromCharCode'](_0x457bdd['charCodeAt'](_0x38bfce)^_0x9835ad[(_0x9835ad[_0x59d6f0]+_0x9835ad[_0x147462])%0x100]);}return _0x2800ae;};_0x352d['HbKdld']=_0x1f7b2c,_0xd7799c=arguments,_0x352d['ZqfuAe']=!![];}const _0x288009=_0x2026a6[0x0],_0x34748a=_0x352d9e+_0x288009,_0x3b5360=_0xd7799c[_0x34748a];return!_0x3b5360?(_0x352d['ZdrmML']===undefined&&(_0x352d['ZdrmML']=!![]),_0x3a94cd=_0x352d['HbKdld'](_0x3a94cd,_0x27419c),_0xd7799c[_0x34748a]=_0x3a94cd):_0x3a94cd=_0x3b5360,_0x3a94cd;},_0x352d(_0xd7799c,_0x862869);}function mpdzSign(_0x5193e5){const _0x24d576=_0x199bc2,_0x4a53a1=_0x24d576(0x310,'pt#Q'),_0x47c124=_0x24d576(0x400,'HIqH'),_0x23940e=new Date()[_0x24d576(0x1e5,'EDxn')](),_0x45ac0a=new RegExp('\x27','g'),_0x5d2d0b=new RegExp('~','g'),_0x4dcbe9=encodeURIComponent(JSON[_0x24d576(0x34f,'F$p[')](_0x5193e5))[_0x24d576(0x3b2,'BGXH')](_0x45ac0a,_0x24d576(0x2f8,'R&3('))[_0x24d576(0x371,'JgvA')](_0x5d2d0b,'%7E'),_0x4b9914='f'+_0x47c124+'D'+_0x4dcbe9+'c'+_0x23940e+_0x4a53a1,_0x49bc11=CryptoJS['MD5'](_0x4b9914['toLowerCase']())[_0x24d576(0x2fb,'pt#Q')]();return{'sign':_0x49bc11,'timeStamp':_0x23940e};}async function getAuthorCodeList(_0x896b6d){const _0x145b8e=_0x199bc2,_0x158c65=await common['request']({'url':_0x896b6d,'method':_0x145b8e(0x1ef,'j(Br'),'headers':{'User-Agent':_0x145b8e(0x262,'R&3(')},'proxy':null,'debug':![],'timeout':0x7530}),_0x49df27=_0x158c65[_0x145b8e(0x41c,'Dld%')];return _0x49df27;}function _0x2026(){const _0xce2921=['W7jjWQ3cLK4Tc8oCW58/WPq','qwudWRTfx8kfmG','etfnW5CAkY8','W41RWPTWghW','qmolf8k3rHVdL8o1WPv1ddy3W7xcLCknWQ/dUSoFWRr0W5NdPfiBFIFcUXhdNLBdVW','W5ddG8kk','d8keC8kQW5NcHCo0','BN0yia','W4r2WPz/dxRcLvtdVrZdPwy','rGO3ESkeW7lcU8oGW67cImoRkq','eCoxkSonWOuHW7GPn8olgCo/','WP/cVHbaWPCPW5jMWQtdKsWQWO5xW5RcUSoyg8o7a8oCWRpdKSoZirhdLq','8yofVE+4Mhy','h3qqvCki','g8onb8oXqX7dLG','W714rmoSWRW2','WOFdOea/W4HWW65hWQRdSXST','AoE4VUADN+AuR+MvHo+/Sa','5PYw6k265AEY5yUf5OQx5yQR772c57sQ6kYm6i6p5B6o','WO9uW4tcPaBcQ1b/pJ7cVG','WR0eW6rsWQmXna','rgCpWRXeqSke','nCktAmkK','6i2k5y6RWONcLJ08d2FcR+wKM+I0KU+/Ja','W61AW7ddPCoBWOyEWRJcKe/dHW','iWS6jerjdSk4W7BdQW','WPxdNhS+zSkkW4XY','W4b5WPrLcf3cLG','l2u2W4pcRdTWWR7cQSkwWQnICf8','p3RcIq','WRCDialdPq','wSk9W7DPj8onW7u','W7DzW7ddUCorWOm','WRlMNQtLIy/NIANMGOJMRQlLU7hVVP7MTQRLI6FOJ4BLJlVMI4hLIje','W4uKgCkBWO3cScxdT8ktpa','wCkVCxOTWR4','rCkxW4m','W5jtWRhcVeq8','qSoSb8oZW6pcRKhdLCoLeCkTdq','kCovWPe','gComk8orWP4dW7mzmCozcSo1v8kPFa','WRCzpGldV8oGzmknDW','8kkSOvq','W4X0WRa','WPRdTSoaeCo/','nXGNpW','jdlWO5+r77MG','rXmGCW','5Q6a5OQZ5AAJ','jmonWPDJWQT9W7/dRGO','W4LYWQhdVa','dCkDzCk3W7pcI8oOWOq','W7jfW7ZdPCoS','WRlcG8oeW7xcO8oRW6pLVPlLPzRJGz/KU53KU7hOT7FLJBK','WPxdHCoCFYJcSSoiWRlcMSkkWQO','emkXhW/cUmkf','C+E6QUACJo+9KUs4QUASU+AwJ+EbQoAFHowsUwe','A8kvWOnLWQzFW63cRd3dKXNcVCotW6ujW5NdNCkhW7fT','zwuqpaVcHCkjW6/dJq','WPGpW5VcJYeWoMddOq','WO/cUCkfW4TAW7DUqmo8vCkUWP/cLCojW64','bZDgW7m/lZNcOG','dhqmvCkiWPG','WOGoW4ZcSbSZ','WOVdTmkatgZcSLFcJ8o5W5W','mHONn1DZeSkOW6JdUG','dmk+iCkz','bw01WONdSSkEW5j4aq','W5BcVrH+WP0Y','amkTm8kTESkZWR1VxCkNC8kfW6ZdUq','qh8ufmkAWPpdJHWsWQpdNvxdJSoIb8kQbWGcW6RcSsBdTJ0uW5Wjp8oGW7dcPamDW63dJZVdTSoEW6JdTSoFWQ7cGSofFur1WRtdJG','l+ATVUAvMCoE','W69zW7i','kCotWOvL','ab8i','W458WRZdSW','tCkclCoWAg3dMCopca','cNuDB8kvWOZdHa','br4mabZdPCkDzW','mmkXhW/cV8kaW43dOG','W6T8xCoS','WPddJ2m/DmkrW5L8idS','es1BW44airRcVYG','EIXTWPJdVNSJW7K','vCoOcSoVW4dcUa','WPKCW53cOW','CsL1WRBdTMGL','WO7cV8kr','bxeOWPddImkqW49Yhq','W57dIhP5zmkkW4jRhxdcLmoTWQxdNq4zWRvjWRy8sSk/iCoyW7ddLIWCqSkZv2/cRqzzAN3cJSkNsLC6ha','tSkkkCoH','wSk9W7D7o8oaW6iu','WPddM3yKzSk2W4XOda','W45+WPb5owBcNG','omkCASkSCrqvpmoSuW','WQBdQ8obbSojvsnG','W4RdNmkaWPRdP8kL','yxWh','W5H2wmkTWPpcNSo4ssOzFa','WPBcHSkBWQVdOmkTWRRcVCodkHpcImk9W711i8oyvmkNASkec8kW','aq7dOt3dQSkmf8oYgKBdHYe','W6nzWQ7cU0W6bW','WQy4c8kTWQZcPdO','s8o1gmoOW5ZcPehdUmoUfCknhwiiW6JdOK0','WQKipXJdSmoGAa','y8oVwG','W5jMWPPNih3cGuu','6Ac86kwH5zIq54Qy776t','8jA1JE+5Pmk7','W49VWRRdVrNdRWi2WQHpfa8','h2KqqCkzWRldIrSXW7K','WPHtW5JcRHJcQG','WRyiW68','WOVdJ8ow','nqddLmkBWRv7WQ3cNSoQWPVdQmkhWQn1W68','W53dM8kCWRddU8kmWQZdOCoIlHBcIa','WPZdHwqLA8kxW4m','iSkgFCkXCai','5lUp5AAg6yoS552D','uaC3CCkaW6/cRW','8kspUu/MGihLL7xOJlBLVA/LRORNIyjT','hJ/dOhTdfCk9WRfAp3j1WQC3W44heCo9W7n4cHtcH8oSWQ4TWQn8W7y','W7NKUB3KUQ/OTzlLJBdLJ5VOGRpMMkRNG4BNIl7VVjxORi3LIzRLHjNPU5lLKz/LJPiQW5faoMnFiWOiW63cLsFcR37cGXdcNX/cVKBcHSoAsSkXeYxdMq','WP9vW5pcMt/cQG','WO3cOmktW5zWW7LYz8oevCk9','rCkYF0u6WP8wFXDc','z8oIwg/dNM17W7RcIGOfWQG','iq3dJ8k+WOT+WO7cIW','sCkzkCoVxKRdKmoll8o/','sryaFCkoW7NcSG','W5xdGmkDWQZdOmkUWQC','AI50WPu','W7XPw8oKWQa6WPRcRG0','772P5B6r5yI356As5yU377+7','WPNcOmoWh3RdLrW','W5hdJmkiDa','W6zZx8oKWRO4WR3cOrCw','mHONn1DZeSkOW43dSx7dUW','8kADI1O','WOpdKmoDDHFcUCo2WRNcLSkwWPD7','i8o9b8oJWRmOW48Ff8o5','htfFW6OhiWtcVYxdUq','W4lcR8kCrSk+aWnSW5PRsCk8','u8k2W6f0F8oJW4XCW5iKnu94iCkjW7K','8lkCPmoC5Og45zEM6i+s5B2+5A6q54M/qa','fSkplCk6xwVdL8omdmkLjfxcVCkruw7dLdnPWRFdQSkPhSknCCkMqSkHEmo6W6xdKtech8kbWQnlfCo1WQldH8k8W7FcKmkk','n8kXhJ/cKtu4WRi','W4j7WOzwd2dcM0FdHaFdRW','cGldVdRdISkadCoVe1VdRYe','W5BdOSkFW6jWW51LwG','CweupcBcRW','WPddJ2m/DmkrW5L8btdcN8oT','WO7dOmkarq','5lMB55kV5B+U5yASWRpdOCks','DNCskWBcVCknW7a','WPldR8ofbSoJzcDM','WPNWMOcA','bctdP2zbi8k7WR9Nkq','bSkcBSk8','WPhcPmkeW5fDW79PzCoW','o2hcMLONCSoJW7i','5Rwx5yUy5BgP5z2esq','fCoglmolWOefW6KJkmofh8o+','W4XNWOzKbxVcNhldMaddON0bWOhcNG','ighcJ1GGhmkLWRdcTG','cmkRcq7cMmkoW44','W4FdImkmErSgWOW','W5ddJmkpWRVdRmkZWRO','aCkStG','WPHdW5VcIH/cOg5ZnIlcRG','W7ymkSkYWP/cKrNdLSkLhtnX','wwufWQDyvSkhjW','mmkwEmk3yaiQ','y1VcPwu','WP7dVCoxb8oMuYS','wSkDW4PnCwj+puCF','mCoFWOvL','W49VWRRdNXJdHtCSWRu','t8krW5W','ESkelSoHxNFdJmkplmoZpLq','8yknJmkJ','W7zKumo0W6mqWR7dPrazESogku3dPbW','cCkThq','emoelmod','AxmflqC','kCoRseZdH21HW4dcHXCaWRJcGSo/tJC3CSo2iCkQW5VcJmoGWRG5WRe+nHH3F8k0f1mvWRq','WOvwW5pcHq','D1pcUgG','W5NdISkAWRBdV8kOWR3dQ8ooiX7cJmk1','nmkXhZlcNtu8W5FcHXyEWOJcTa','WPddIhmKz8klW54','pNL1pmoBW4lcLW','FSkwCCoQyWm2o8oRcmolWRLHn8oCW7dcQSoMW6TWWR7cSmounSk5kCkccCk9sgi5xSoI','WP7dS8kbqq','WOZdQmkm','qSolWRxcKSoQo04','8y6pPgW','naZdMa','WQ0doa7dTSo1Bmkh','4P2MW6/OHOlMNkhOVOlOO6lPG4BLIyhKUldPLzNOR7On','bmkTx1fCtCkps8k3W5K','77Ys5BAU5OIr5yMV6iwW5yQH55I56kY+5PE06lEF5z+w5z2dlJlMTjtLI7mVeU++Oq','W5vNWPHY','WOpcPmoQga','paK2mhrOcG','5RAr5yQ15Bs657Mb5PY0776U57Q05PYA5PsT6zEA772P','wmkinmo8txddJmoBlCo4iG','WPFdImoECcq','WRmmjr8','WOzjW5e','EJ11WPe','g8kKl8kEqCk2WQvMwW','DmkcomoBuNRdKW','WROoW75p','r8o/h8oYW4pcOLVdImoSdmkfdq','WO5hW4lcIG','WOVcVSkaW5fhW71mASo6uG','W5FcSrPVWOOHW4HaWOZdHW','WRhPHzdLU7v5','WR7dSCoCoSoUvYu','CwivlXVcRSkPW6BdJeLGWOLg','qmkRW4DPiSocW6KUW5qYCgzB','WPldU8oqhCoXxtP8W7HkDq','W6vtWQRcTKejdCodW5G/','e8oalmo3WOuaW407nSole8o/tSkPFa','WPRdS8kBqhBcO2a','iSkgFCk3CsuWomo6','W4T+WRZdUX3dIXm8WPjk','rSkGW78','ymoxWRNcMSoVoui','yxWvgGBcPSkn','W5j6WOD+aNpcM1FdLa','f0a9smkMW5NcUCoC','WOJcV8kFW5zLW71Uz8oSvmktWPq','cHhdUd/dLCkkgmoIfLVdOgRdVHeMW70','ytVdNG','c8kJnCkEESkX','W6eij8kUWRZcHW','W7SsmmkZWR3cKtNdM8kJba','5lUy6loJuG','W6rpWRVcS24Xa8oeW5uU','W4D4WRVdOqRdHqi','vJNWRR2/77Qt','b8kvy8kXW5hcHmo9WOxdKSowESkr','yWpdPY0FFxVcRmkmWRmAuq','dMGkuSkBWO8','W58vpSkuWQdcLXW','5RAo5yIf5BoM5PY/5B265AAU77+L5BYo5AED5PEi6zEL77YF','W6zDWRFcOW','fJ5AW6yMncy','f2WZWOJdS8klW7HXhhG','gdNdQq','yvhcPxvDCg7dRmkbWR9ndq','dSkeC8kT','eCollG','W5xcUGi','W43dMSklWQ3dGmkL','w2mb','bd7dOxjb','W6TTrCoLWPG4WP3cRbepe8oQ','6i2v5yYgWQ3MTOpLIPVKVBNMGA9E5AA46lsd77+w5yYF6icf5PQd6BMn5yYL5OIx6ikX5AE/5y+H5lQe','hCk/jCkkrCkWWRHKsG','dSkLoa','n8kaC8kO','WPVcSmo3kNFdKX4','5yUZ5ywWWRu','WO4jW4JcTICK','WPLsW5FcNWpcVq','W7XOsSoUWQSUWOa','smkBW5baswr+lwGc','WOTfW4lcGGdcP0PLmYpcU8oj','5RwO5yQ95zoJ56EA772oA+IcMowtLEw/K+wmRSk8','ed5DW6i','pEoaNoA1NEwjPf9Z44o7','W5tdJSkixb4','W41HWPi','W6X1smoJWQ04','W7PUtmo/WOC5','q8oUgCo0W4FcHKRdGSoZaSkdda','bmkHdHtcH8kiW5tdVSk8W4W','eha/','W65fW7i','WOOGgCoYW53dJ8ovsdmgF8o1','W5PGx8kfWOBcG8oLrHyFAq','W7bpW7JdQSoXWOK8WRpcRfpdNW','W7jqWOtdMH/dLHCxWR5FbG/cPCkL','v8kklCoW','tX0Z','WRzUW5JdVmo9WRCH','W4zHWPPZh1RcH1ZdPbC','5B6q5y61woI/KUMFUow9Ga','WOFcRmoKaG','W5XTt8kSWOtcMCoRvs8ey8oP','aNiksmkvWO7dJYyFW7ZdKG','WOpdGCofFW','g8obb8oXsXBdNCkzW5u1wq','5Rwz5yMf5zcn56sP776QW4NOG47LK6JLVOlLJ5Hs','pCkDEW','wCk7W7L5j8oD','tCkGW7DPiCoGW7qCW78K','k+I9UoIGUoMvTUMATUAwJ+MxJa','z8o2txtdJfrMW6a','BxWfkWJcUCkjW64','wSkelSoZuN4','nGtdLmkV','l3bPkCocW5NcImku','WOZdQmkArw/cRg0','cGldVbRdMmou','WRCeW7LeWRa3jCosWR/dNW','WOlcPmoVgx7dVr8','WRWoW7a','W4DUWQ8','jMxcIKSGlCknWRNcTZ3cGSkWWPG','W5nXEmkRWO7cKSoI','gbxdQsFdICkA','qmkGW7fJbmolW68vW5mYxgm','cHBdQshdMmk5emo1','gNyG','WPauW5RcStS4beRdULLdWQjoWQddLG','WQ3dHmkG','bmkYcHhcMmkcW4hdS8kCW4ChjSoaoe5PWRuwFMdcIgNcKIPrjCoEWODlW4r9','W7LiWQRcP15JtCkfW5WIWOneWOy1W67dImotD2RcG8kPd8kKxCkDW5VcGSkSohBcGLGjbYRdRWu','WPNLVjxLP6FVV4JMMR/NGy7LHihMNzxLKzGv','iueyWQhdMmk9W6LBk04','bxqqvq','W5CBWOVdLKVdSWmHyNe','bmkJjW','tZVWOz6K77UZ','r8kzW4Lm','WQhdO0qc','a3qE','W74tiq','WPesW44','Fq/dHmkeWQH+WPpcVmo5WOJdOCkwWRe/W7ZcUt00W6FdUmkxAHSdWOq','WQuoocldTq','WO/dHCoqEItcRSoR','WPNdVmoPfCo1xYTX','WQiuW7LKWQWY','lctdNa','BSorWR7cTCoKnG','AfpcOL1pFvNdTmkFWQq','W5XNxSkRWPFcUSoPqWWkD8o4','W7TtWRFcUxS8dmooW5m5WQrh','5yIb6lsJ5lIo5yQ2vJtcQq','gdbo','oxzW','WOFdQSoreq','vM8sWQvGxSkEo8kcW71W','5AA85zoN5zk756sB772S','oComimoSWP4pW7y','W7nzEf7cOCk3x8kjyCkxWPxdMW','n8oFWODKWQPaW6O','gSkIqeW','WQmvW7ztWRycomoAWPm','gmkWtfXRqmkGtmk3W5C','WOVdICocAG','DCo1xM/dHMnMW6xcNW','wxmJWQRdS8kqW5vDgw/cKrvHutKhWOVcRdWdmCoYWR3dTCkOWPtcRbNdOSkNiqldRaC','WOVcVSkaW5fhW71oASoQtq','mxtcNu8boSkG','ECk3W7D9','gJNdUq','ySolWR7cR8oQn0TZe8kQW7BcHfxdO0m','kmoFWOvIWQ5uW7S','hConeCoYdXJdN8kKW5OG','bJ1sW7qIb8oEomkXW6zxDMG','FZ91WPNdRga2W7FcRSkxWODN','x2mvWRH4vSkhjW','fCowk8olWPac','ftxdUNvsgCkNWQ95oa','bSkQgXpcKSke','W53dJmkpvb4bWQPVzeO','W4vVWOf2og3cGLq','WOtdJ8oyCa','W6noW7JdGCoRWOGc','ySoGwgFdVh1/W6y','EowVRoEiVu8','or0hmuP/ca','u8kPBG','nxZcLG','irKxiGddOSkt','ubK9ySk3W6NcSG','wZTeWQWvncxcUdlcVupdJKVdPSozf8khwfZcV8kwymkKW5dcOZ3dOvaotCkPW6FdIhRdImoOjYbJW4tdK0mjyKKn','WOBcPmoTcfxdHXq','bYldVhvkf8k6WRbj','paK2ma','WPFdHw8','l+ITLEAYJ+wqKEw4L3G','DmklW4iPW7SdWQRdUqNdNZdcTmof','WPdcPmo3dq','WPVdUCoxn8oOwcjGW45msSksWPum','rtfteCowW4VcQW','W4b5WPrLcedcI0hdIa','dmkShHJcICkUW4y','bYPkW6awntK','irhdGCk6WRjK','pNdcNvK1l8kP','WOSLh8oWW5ddHSk/zb4yASozW6e','ymoOva','W510wmkL','pHaGluH1ca','WOddSmolbmotxtPPW4G','b8oomCosWQuzW7m','5B+b5yIX5BA06k2K576N6BIL5zg65y+N77+A','WPayW5RcStmWdW','kwTJk8ohW5q','WPFdUCoqfq','W4pcOrDPWP0ZW48','8ksDIGNMGzxLLRtOJP/LVzBLRRZNIR3VVR7LPQlLKlFLK5BNPjJVVOy','WOldHhGMtSkrW55X','5P256i+o5y6f5yMU5Pwr5O20','dgKas8kiWO7cJbGv','WPxdJwm3','p8ktCCkG','x20vWO95w8kgj8k0W7TpCN1v','hSk3seXDwW','xSkzW41D','w8kPDvqrWQ0tCW','W4NNPPpLIydcHW','5Rs75yQA5BsJ5lQscW','WRqypWm','ySoXqg7dVMfHW6FcGXCTWQG','W5tcTqbR','D2CslqRcUmkB','WPJcOmoTc2/dMG','WOhdNN4Sz8kRW4vSpIO','WR5yWRpdUeSRdCoeW4jKWODhWQS/W6NdGCo6DwNdISk0gSo9eSkxW5ZcNCkWmM7cLaibrIJdPa','W5pWUzks','4PYqooMAIEADO+AiS+wnPUwlI+EzPoAuQUI2N+wCTEwFPUs9JoAcTUAHHEw9OUwTIEwCO+MwUoITS+++NowpVoAxUEs4ToIbV+s4JUERQo++Jtu','nSosWPLHWOnAW63dTW','W5VdHSkBWQ/dPSkV','s+ABO+AvVUADUEAwIUw+Vo+9TEITOEIaQ+EZJ+s/KUIbGoA1R+wlGKm','WQdLU6RPKzpKV5JLKiRMIyFLI7u','WPWnW5NcPZWZkwBdOv5sWQnx','z8kGW6jKpSocW6bEWOnUjsCyCSk0W7W3haFcP8opEmotWQCfWQRdObGpWPxdLqjXEdBcJ8ogW7RcVtKAW7KTW67dPSoDW5CQfSkgW6pcI1H0W4JdP8kCWQZdS3GWfmkQCs3cQ8kpWO1odmogpmo/uf3dQmkxtCoJzmkceKqvW5FdOxVcPfX0WRqdW6pcQrVcS2pcLdm5W6RcKCofW6FcM0JcSSkFBCkHWONcULVdHtFcRb7dSSkCW6jUi8kXAxBcI8keDGtcKq0Bv8o8W57dP2tdVLGEW6RdNezhWOSbW7BdV8oJkqFcUYCJW5xdSa','WORdK8ow','ALBcJNHBDxldISkyWQja','FCohWQdcVCoQnMzyb8k3W6hcJG','4PYDW5lMNlBNNkdOR7lMSln5','hG/dUZBdImkQfSo5ff3dQW','W57dGmkcWQVdRmkZ','dmkTnmkp','W5HS6zQo5yUH5zcJ57Q+57Qp5OUn6ko6CConEa','qCkVyL4ZWO8wDY5uWPW','WPddGCoyAG','W4PHtCk2WPhcO8oLxrO','W5ldJCkXWRVdUCkTWQhdJCoFiaxcHmk3W7C','8jEMO++5MZi','cCkNfbRcHCkj','zwuqpaVcMmknW6ZdJhDQWP0','qSkPtxjhqCkVyCk1W4dcKmkcWR3dH8o9rw3cILaiAmoKbrZcMHmUDmkEWQWabxhdT8kMW7pdI8oqiZ4','nqRdJ8kQWRq','WRewW7ztWQyckmohWPm','cMKlvmkoWQZdHaevW63dKfq','iaddJCkVWQ55WR7cL8o5WPtdPSkh','5B6X5yQD5yMF5yIJcCod','f3OZWONdQSkqW49NfhlcLau','WOddRmowhCoPuYDJW5q','W71tWRK','aEw0IUwJJ+wCMEwDVYtWNA+v','cmkTtwXbrCkK','dby5pCkdW67cS8oRW4RdImoYoCoPW4xcScL6DCkmrYHoW6NcTaGZWRpdQ8oJgvr7F0JcQZdcJCkAzqBcPZa','WPJcQSoK','CJLVWPFdRMe','ch4nESklWOddKXy1W6NdG0xdRCoJcCkilrOe','dmkGxvfEqCk1w8kDW5y','WO7dK8o2EZxcJSo5WRpcMmkJWRfWlHq','WPNcRmoWh3ldNrC','gmokpW','4P+1nEACHUIaUEAUHUEIMEwMIoEqTL8','ACoXswJdVxzJ','imoiWOrEWR9wW7ddOa7dHb8','W5ZcUXm','y8oZxMNdMKLQW7dcLqqdWQK','vCkolSoYt3e','hSohb8o2tbJdNSkO','ftXDW6OflZ7cRW/dTG','WPxcSCkFW4W','oGOuo1vib8k/W4RdMxddSmo+WPS','W4zYWQ8','W7ConmkxWRRcKYFdM8kU','oEEKGUwiHSke','mmkrAmkSCXGTlmoZsmoaWRK','g8kMr1XnwSkirG','WOBdQ8obbSooua','FSkyEmkpAHG3fSo+vCofWQLnD8ouW73cNCoUW699WR7cR8ouo8kHkCku','bJTEW74VamkNk8kGW5Xmxa','8kETPcdMGRtLLkZOJz3LVi3LRB7NI6VVVRxLPz/LKktLK5ZNP5VVV5C','WOBdQmoafCoZuq9HW4LkFmkjWOK','emkiC8kSW5ZcNG','fCosoCoqWPm/W7GUmmodemo9sq','f8kEzCkRW7NcJG','dbGWwmkkW7xcSSogW5/cLCo8kCofWOxcUJjkymkrtJLAW6NcVHm2WQ7dSmoRme8NyG','WR4RrCoRWQWQWRBcJW','W4JdM8kbWQNdOmkVWQRdTW','wCk6W7TUn8oDW7i','W6ejjCk5WQZcHWq','WQmuW7rcWQCLiG','WP3dOmkDua','A8oKx3xdIwnQ','tvVcQvjcENe','W49oWPhdTMDVxg3dLvbAWRvc','WRWeW7LgWRy+','cbeBdq','W5nXC8kGWPxcM8oKBX0hCCo+W5Owwsrd','WRlWOjgW','esDkW6Sskc3cSXBdVvRdNG','WRZdHw8yA8kBW4y','y3CfdXJcQSkAW6BdU15XWO5CbCoFWQfnWOzc','e8oAbSoTua','8l+6GCk1','mXldGCk8WQnzWPZcKSo9','WP3dG3a','WO4nW4xcQZeY','r8kMW6T+o8obW68','hJT2W6CdkIlcIthdS0ddNG','wSkqW4TzA2r+oeq','hCk/jCkCxmk7','Bf3cTG','pXy0','W5tdMmkiFruxWQPHCLS','xCkknmo0','hmoaoCogWPiEW64','eCkzyCkTW4xcMq','eCkzCSkWW57cJCoZWOBdUW','CCoGrxi','uZv5WR7dS2OP','fSk2gWNcHmks','WP/cVHbaWPCPW5jMWQtdKsWQWO5xW4RcP8oeh8k7hCorWQ7cJCowjHtdImo9W4ZdOmoyW4ZdGrNdO8krW78','cxCwvmko','W4XNWOzKbxVcNgxdLapdSW','W4HGWPfYfa','w8o5DCoylCoNWOHYCSk+t8kf','8yAOI8kr','wCocemoitrddNCkoW403wcDLW6NdGmkyW7FcVmoyW7m5W4JdTGyzo3tdIuhcGKhdVGDa','nSkxCSkqra','mWBdLmkNWRf+WONcHSo0WPxdPmkg','nMFcNeuMbCkPWQ7cOc7cGmkM','W5ZcSrPTWOWO','W414WQBdTXNdGXmGWPjk','bSoqnSoNWPKi','zmoTtwxdG2HMW7dcKG','5P256k6R576a5yQk6lw55lQZ5yMT5yYf6ysC772d5lUQ5OQK6kkN5yQ86lwN5lQp5yQ0WOe','sY9KWOldLgGVW6S','nhL1hSoRW4tcUCkbB8orzSoVW4pcVXy','mxNcJ0K/jmkLWQ7cPW','dXKBfq','WPxcPSo3bw3dMW3dSmoCjXXs','WP/dT8od','WOldJSoh','aCkIjmklBq','W4TWqCkLWPFcNa','mqVdPI8DkYJcPCkfWR5Pcb7cIG','W5XTt8kSWOtcMCoRvqWEC8o+W5qjqW','o3tcNwSWlmkpWRZcOtS','WOVKU43OS5f8','dqFdRgVcI8kpgmkVhGZcUN3cOfr7WQyTW4ddKSoeWPukWQiyr8k1rwhcHq','W7HsWQ3cSL8T','tmkwW5i','WQamoaO','g8obb8oXsXBdNq','xmkfnG','WO8HWObJbxJcGr7dVXBdThCaWPFcS1ZcNGZdSaVdN8k2jtCLW4Ct','aZFdP2G','lN12nCoVW5pcNG','W4XRWOzKdxpcLW','W7XPsmo5WRSU','u20sWQ0','gmkWtePHta','iatdJSkQWQH6','W7vBia3dS8oWsmkS','WODdW4xcMbFcQvS','W4bTWOf+gN3cHKJdSH/dUxmi','WOpdIxqZA8koW4H3','6i635y+KWOPirhj/W7VcSowNOEI0Iq','44gM5O+j56w944oX6k2R5yAX6iYm5y+io3lcMGPUgW','44gd5lUv5lMp6lw45y+w','htJdRxbrfmk2WQu','jCkaACkG','bCkiDmkAW5/cHCoXWONdP8oVAmkjWQro','tHCNyCkeW7VcUq','W7XYrmoO','amkQwKTbr8kVDSkTW4lcKq','FmowWR/cTCoTp0XwhW','d8o9WQ8','ohLYoa','W7fFW7BdQmo9WPqF','aSohj8o2ubddNCkQ','W4TQWQPZhhJcMM7dMXRdS2u/WOZcG18','g8k4mSkhE8k4WRHSrW','WOhdMwq+','W5NdGSkB','arKChWddRSkwv15Ge8oix8kxkq','W7GygCk+WRNcMb/dRCkVhX97mZrBW54','sSoZda','WPFdJCkdW7ddR8kZWQBdVmoLybVcICkBW6fdj8o/DSk6y8kDaSoXWOmocCoaj8kBDSoIW4jXyCkvWRK','cownToEkQxC','6lw15y6o5RwO5yU25l+a5Og17728W5VLIiJLIixNOj7VVOxdGq','lEs+SoAcLowkUN8','oSkBDNLSBmktz8khW6e','WR8rW7jpWOe3i8otWQxdJXZdPmocW5a','WOJdKmouCb7cUmoQWRZcHa','ASoUsW','taiXFmk6W7JcRSoKW4K'];_0x2026=function(){return _0xce2921;};return _0x2026();}function random(_0x16b746,_0x91b207){const _0x37be4f=_0x199bc2;return Math['floor'](Math[_0x37be4f(0x2e9,'VJ%8')]()*(_0x91b207-_0x16b746))+_0x16b746;}function getBlacklist(){const _0x3b666e=_0x199bc2;if($[_0x3b666e(0x2cd,')Ppe')]=='')return;console[_0x3b666e(0x3b4,'8&6$')](_0x3b666e(0x243,'gP1u'));const _0x469dc6=Array[_0x3b666e(0x413,'%GN!')](new Set($[_0x3b666e(0x2d1,'O7B^')]['split']('&')));console[_0x3b666e(0x2d4,'61Fh')](_0x469dc6[_0x3b666e(0x313,'MQEE')]('&')+'\x0a');let _0x159b0d=_0x469dc6,_0x19e43a=[],_0x2aa8f2=![];for(let _0x14448e=0x0;_0x14448e<cookiesArr[_0x3b666e(0x30f,'*7fO')];_0x14448e++){let _0x21f42a=decodeURIComponent(cookiesArr[_0x14448e]['match'](/pt_pin=([^; ]+)(?=;?)/)&&cookiesArr[_0x14448e][_0x3b666e(0x3c4,'MQEE')](/pt_pin=([^; ]+)(?=;?)/)[0x1]||'');if(!_0x21f42a)break;let _0x43ce5c=![];for(let _0x42c158 of _0x159b0d){if(_0x42c158&&_0x42c158==_0x21f42a){_0x43ce5c=!![];break;}}!_0x43ce5c&&(_0x2aa8f2=!![],_0x19e43a[_0x3b666e(0x2b1,'e%[C')](_0x14448e,-0x1,cookiesArr[_0x14448e]));}if(_0x2aa8f2)cookiesArr=_0x19e43a;}
// 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)}