1 Star 0 Fork 0

Enzo/jd_Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_dpqd_sign.js 42.13 KB
一键复制 编辑 原始数据 按行查看 历史
2024 提交于 2024-03-29 23:26 . 1
/*
活动名称:批量店铺签到
活动链接:https://h5.m.jd.com/babelDiy/Zeus/2PAAf74aG3D61qvfKUM5dxUssJQ9/index.html?token=<token>
环境变量:jd_dpqd_tokens // 活动令牌,多个用英文逗号分割
jd_dpqd_task_threads // 控制签到并发线程数(正整数),默认1
jd_dpqd_account_threads // 控制账号并发线程数(正整数),默认1
jd_dpqd_account_interval // 自定义运行间隔时长(整数,单位毫秒),默认0
jd_dpqd_max_retry // 签到火爆时的最大重试次数(整数),默认0
jd_dpqd_prize_notify // 是否推送中奖信息(true/false),默认不推送
此脚本为高并发签到本,需要读取主脚本生成的活动信息缓存,自动过滤无效活动
58 59 23 * * * jd_dpqd_sign.js
*/
const $ = new Env('批量店铺签到')
const jdCookie = require('./jdCookie')
const notify = require('./function/sendJDNotify')
const common = require('./function/jdCommon')
const { H5st, jsTk } = require('./function/jdCrypto')
var iil='jsjiami.com.v7';const iiiil111=lIi1iiiI;(function(i1lIl1l,ll1l1Ili,ilIII11l,iiIII1li,IllIllI,IIli11Ii,ill1lli1){return i1lIl1l=i1lIl1l>>0x3,IIli11Ii='hs',ill1lli1='hs',function(li1Ii1ll,lIilii1i,I1Iliii,lIl1III,ii1Illl){const liIlilIi=lIi1iiiI;lIl1III='tfi',IIli11Ii=lIl1III+IIli11Ii,ii1Illl='up',ill1lli1+=ii1Illl,IIli11Ii=I1Iliii(IIli11Ii),ill1lli1=I1Iliii(ill1lli1),I1Iliii=0x0;const il1i1l1i=li1Ii1ll();while(!![]&&--iiIII1li+lIilii1i){try{lIl1III=-parseInt(liIlilIi(0x125,'oI%*'))/0x1+parseInt(liIlilIi(0x122,'RLMB'))/0x2+-parseInt(liIlilIi(0x240,'#P4h'))/0x3*(parseInt(liIlilIi(0x16e,'#R^N'))/0x4)+parseInt(liIlilIi(0xf4,'wJ9['))/0x5*(-parseInt(liIlilIi(0x233,'Y&r#'))/0x6)+-parseInt(liIlilIi(0x21a,'Io)u'))/0x7+-parseInt(liIlilIi(0x210,'B]cG'))/0x8+-parseInt(liIlilIi(0x10b,'Q3^E'))/0x9*(-parseInt(liIlilIi(0x1cc,'3A)X'))/0xa);}catch(il1lI1ll){lIl1III=I1Iliii;}finally{ii1Illl=il1i1l1i[IIli11Ii]();if(i1lIl1l<=iiIII1li)I1Iliii?IllIllI?lIl1III=ii1Illl:IllIllI=ii1Illl:I1Iliii=ii1Illl;else{if(I1Iliii==IllIllI['replace'](/[ASeJhkYlKrfQGIxqRH=]/g,'')){if(lIl1III===lIilii1i){il1i1l1i['un'+IIli11Ii](ii1Illl);break;}il1i1l1i[ill1lli1](ii1Illl);}}}}}(ilIII11l,ll1l1Ili,function(liIi111,li1illil,iiillIl1,iIII11I,liliii11,i1lIIli,iIlil1I){return li1illil='\x73\x70\x6c\x69\x74',liIi111=arguments[0x0],liIi111=liIi111[li1illil](''),iiillIl1=`\x72\x65\x76\x65\x72\x73\x65`,liIi111=liIi111[iiillIl1]('\x76'),iIII11I=`\x6a\x6f\x69\x6e`,(0x15e9d8,liIi111[iIII11I](''));});}(0x620,0x668de,iillIIlI,0xc6),iillIIlI)&&(iil=iiiil111(0xff,'ATwe'));let tokensList=(process[iiiil111(0xac,'Io)u')][iiiil111(0x1a5,'3A)X')]||'')[iiiil111(0x163,'#P4h')](/,|@|&/)||[],taskThreads=process[iiiil111(0x132,'ZC*B')][iiiil111(0x234,'Io)u')]||'1',accountThreads=process[iiiil111(0x1df,'Czf)')][iiiil111(0xcf,'pM(^')]||'1';const runInterval=process[iiiil111(0x1a9,'RLMB')][iiiil111(0x231,'B]cG')]||'';let signHotMaxRetryTimes=process[iiiil111(0x149,'#P4h')][iiiil111(0x106,'C6fu')]||'0';function lIi1iiiI(_0x553eaa,_0x57eda4){const _0x58dab8=iillIIlI();return lIi1iiiI=function(_0x1b8965,_0x5e12ba){_0x1b8965=_0x1b8965-0xa0;let _0x15f6d4=_0x58dab8[_0x1b8965];if(lIi1iiiI['TjbESS']===undefined){var _0x830fd0=function(_0x53665d){const _0x3c7105='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2508ff='',_0x5ceffc='';for(let _0x1d04cc=0x0,_0x5f3017,_0x27148c,_0x2207bc=0x0;_0x27148c=_0x53665d['charAt'](_0x2207bc++);~_0x27148c&&(_0x5f3017=_0x1d04cc%0x4?_0x5f3017*0x40+_0x27148c:_0x27148c,_0x1d04cc++%0x4)?_0x2508ff+=String['fromCharCode'](0xff&_0x5f3017>>(-0x2*_0x1d04cc&0x6)):0x0){_0x27148c=_0x3c7105['indexOf'](_0x27148c);}for(let _0x55c242=0x0,_0x57f620=_0x2508ff['length'];_0x55c242<_0x57f620;_0x55c242++){_0x5ceffc+='%'+('00'+_0x2508ff['charCodeAt'](_0x55c242)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ceffc);};const _0x18ae91=function(_0x1537ad,_0x4705cf){let _0x550484=[],_0x27d6a4=0x0,_0x529233,_0x4ea554='';_0x1537ad=_0x830fd0(_0x1537ad);let _0x4a1431;for(_0x4a1431=0x0;_0x4a1431<0x100;_0x4a1431++){_0x550484[_0x4a1431]=_0x4a1431;}for(_0x4a1431=0x0;_0x4a1431<0x100;_0x4a1431++){_0x27d6a4=(_0x27d6a4+_0x550484[_0x4a1431]+_0x4705cf['charCodeAt'](_0x4a1431%_0x4705cf['length']))%0x100,_0x529233=_0x550484[_0x4a1431],_0x550484[_0x4a1431]=_0x550484[_0x27d6a4],_0x550484[_0x27d6a4]=_0x529233;}_0x4a1431=0x0,_0x27d6a4=0x0;for(let _0x2046e7=0x0;_0x2046e7<_0x1537ad['length'];_0x2046e7++){_0x4a1431=(_0x4a1431+0x1)%0x100,_0x27d6a4=(_0x27d6a4+_0x550484[_0x4a1431])%0x100,_0x529233=_0x550484[_0x4a1431],_0x550484[_0x4a1431]=_0x550484[_0x27d6a4],_0x550484[_0x27d6a4]=_0x529233,_0x4ea554+=String['fromCharCode'](_0x1537ad['charCodeAt'](_0x2046e7)^_0x550484[(_0x550484[_0x4a1431]+_0x550484[_0x27d6a4])%0x100]);}return _0x4ea554;};lIi1iiiI['EELJrN']=_0x18ae91,_0x553eaa=arguments,lIi1iiiI['TjbESS']=!![];}const _0x2a94d7=_0x58dab8[0x0],_0x4a7c94=_0x1b8965+_0x2a94d7,_0xf35880=_0x553eaa[_0x4a7c94];return!_0xf35880?(lIi1iiiI['FnwVRt']===undefined&&(lIi1iiiI['FnwVRt']=!![]),_0x15f6d4=lIi1iiiI['EELJrN'](_0x15f6d4,_0x5e12ba),_0x553eaa[_0x4a7c94]=_0x15f6d4):_0x15f6d4=_0xf35880,_0x15f6d4;},lIi1iiiI(_0x553eaa,_0x57eda4);}const isNotify=process[iiiil111(0xb0,'g]q0')][iiiil111(0xa4,'Ququ')]===iiiil111(0x23b,'#P4h');let TokensMap=new Map();const signStatusMessages={0x1805c007:iiiil111(0x1aa,'C6fu'),0x1843da61:iiiil111(0x173,'RLMB'),0x1843da62:iiiil111(0x141,'4Wfw'),0x184253c7:iiiil111(0x207,'Y&r#'),0x192:iiiil111(0x227,'ZSpf'),'-1':iiiil111(0xa7,'Q1jB')},invalidTokensMap=new Map(),CacheFile=__dirname+iiiil111(0x1ca,'p9ZT'),cookiesArr=Object[iiiil111(0x1b8,'xpq8')](jdCookie)[iiiil111(0x1bb,'C6fu')](II1l1lli=>jdCookie[II1l1lli])[iiiil111(0x112,'H6bM')](iI1l1ill=>iI1l1ill);!cookiesArr[0x0]&&($[iiiil111(0x146,'xpq8')]($[iiiil111(0x1a2,'vRfy')],iiiil111(0x1bd,'pM(^')),process[iiiil111(0x1ff,'W^n@')](0x1));!(async()=>{const IiiIIIli=iiiil111,iIiiiil1={'kHOGP':IiiIIIli(0x242,'Y&r#'),'UXZgt':function(IlIIII1i,Iiiiii1){return IlIIII1i(Iiiiii1);},'PZQGL':function(iliiIlii,llI1lIli){return iliiIlii>llI1lIli;},'MGjSc':function(iiiIil1i,Illi1lIi){return iiiIil1i!==Illi1lIi;},'JWvLr':function(IiIII1I,iii1liIl){return IiIII1I>iii1liIl;},'MTcjj':IiiIIIli(0x178,'#P4h'),'nBemf':function(lIi111iI,I1liIIi,l1i1II,il1IiI,li1iIlI1,I11){return lIi111iI(I1liIIi,l1i1II,il1IiI,li1iIlI1,I11);},'powzE':function(lil11liI,II1I11il){return lil11liI>II1I11il;},'zFRTR':function(lIiI1i,lllII1lI){return lIiI1i<=lllII1lI;},'zEINJ':IiiIIIli(0x1cd,'Q1jB'),'dBEcV':function(Iliiliil,II1ll1l){return Iliiliil(II1ll1l);},'FTDIS':function(i1I1lil1,iIII1li1){return i1I1lil1===iIII1li1;},'yruRw':IiiIIIli(0x15e,'vRfy'),'dKejb':function(llil1lli,ll1il1li){return llil1lli!==ll1il1li;},'dLbsv':IiiIIIli(0x225,'RLMB'),'DkZVq':IiiIIIli(0x1ae,'oI%*'),'VkJPS':function(IllIilIi,llIIlIIl){return IllIilIi>llIIlIIl;},'CQQUn':IiiIIIli(0x17a,'Y&r#'),'bRCoG':function(l11illii,IiIlIIIi){return l11illii!==IiIlIIIi;},'byEaG':IiiIIIli(0x107,'p9ZT'),'OXXSL':IiiIIIli(0x1a7,'#P4h'),'HNAoh':IiiIIIli(0x21f,')#]S'),'bFdPk':function(Iil1il,i1illI1){return Iil1il(i1illI1);},'zQNoJ':IiiIIIli(0x1f4,'RtG['),'SsWwk':IiiIIIli(0x17f,'TzdI'),'whDhJ':function(ll1lilIl,Iiii11ii){return ll1lilIl>Iiii11ii;},'vMjhJ':function(illlIIi1,lI1i11I1){return illlIIi1!==lI1i11I1;},'YHVaI':function(ll1ll1I1,illIi1Ii){return ll1ll1I1===illIi1Ii;},'HcclH':IiiIIIli(0x232,'zM(A'),'mlDhQ':IiiIIIli(0x147,'RtG['),'IizIY':function(lIII1ii,iIi1il){return lIII1ii!==iIi1il;},'rnAyI':IiiIIIli(0x1f6,'W^n@'),'YcovT':IiiIIIli(0x22c,'2FFy'),'oSdZs':IiiIIIli(0xd3,'g]q0'),'IzZee':IiiIIIli(0x119,'2FFy')};try{notify[IiiIIIli(0x1d7,'Q3^E')]({'title':$[IiiIIIli(0x10f,'Y&r#')]});if(iIiiiil1[IiiIIIli(0xa9,'zM(A')](tokensList[IiiIIIli(0x1c6,'pM(^')],0x0))tokensList=[...new Set(tokensList[IiiIIIli(0x118,')#]S')](lliIllII=>lliIllII!==''))];if(iIiiiil1[IiiIIIli(0x127,'2FFy')](tokensList[IiiIIIli(0x1b4,')#]S')],0x0)){console[IiiIIIli(0x1d5,'RtG[')](iIiiiil1[IiiIIIli(0xd4,'Y&r#')]);return;}const i1IIlII=iIiiiil1[IiiIIIli(0x1b7,'xpq8')](require,'fs');if(i1IIlII[IiiIIIli(0x109,'RM2B')](CacheFile)){const lIl1ilil=i1IIlII[IiiIIIli(0x145,'RLMB')](CacheFile,iIiiiil1[IiiIIIli(0x129,'vRfy')]),lIl11iil=JSON[IiiIIIli(0xea,')#]S')](lIl1ilil);for(const iiiiliil in lIl11iil){TokensMap[IiiIIIli(0x21c,'&QtN')](iiiiliil,lIl11iil[iiiiliil]);}}$[IiiIIIli(0x17c,'if#@')]=null;if(runInterval){if(iIiiiil1[IiiIIIli(0x12c,'g]q0')](iIiiiil1[IiiIIIli(0xbc,'ZSpf')],iIiiiil1[IiiIIIli(0x201,'g!KN')]))try{if(iIiiiil1[IiiIIIli(0xe4,'Z7wv')](iIiiiil1[IiiIIIli(0x1b9,'ATwe')],iIiiiil1[IiiIIIli(0x23c,'RM2B')])){const iliiiIiI=iIiiiil1[IiiIIIli(0x186,'Io)u')](parseInt,runInterval);iIiiiil1[IiiIIIli(0x156,'e6c5')](iliiiIiI,0x0)&&(iIiiiil1[IiiIIIli(0x15a,'7Hkg')](iIiiiil1[IiiIIIli(0x224,'Gwgi')],iIiiiil1[IiiIIIli(0x185,'Q3^E')])?$[IiiIIIli(0x14a,'KBu9')]=iliiiIiI:lIIi11ll=0x3);}else i1Ii1I1i[IiiIIIli(0xf9,'vRfy')](i1Ill11I,i1IiiIl1);}catch{if(iIiiiil1[IiiIIIli(0xb6,'Pr54')](iIiiiil1[IiiIIIli(0xde,'Pr54')],iIiiiil1[IiiIIIli(0x22d,'Z7wv')])){const l1lIIiil=illlIi1[IiiIIIli(0x1c2,'Pr54')](ililllIi,iIiiiil1[IiiIIIli(0xb2,'Y&r#')]),Iiill11l=lIIIllI[IiiIIIli(0x1de,'ZSpf')](l1lIIiil);for(const iil1li11 in Iiill11l){Ii1lIli[IiiIIIli(0x1ac,'7Hkg')](iil1li11,Iiill11l[iil1li11]);}}else console[IiiIIIli(0x20d,'#P4h')](iIiiiil1[IiiIIIli(0x103,'if#@')]);}else{const iIlI1IIi=iIiiiil1[IiiIIIli(0xbb,'TzdI')](ll11l1ii,lll11iIi);iIiiiil1[IiiIIIli(0xb5,'C6fu')](iIlI1IIi,0x0)&&iIiiiil1[IiiIIIli(0x13b,'Czf)')](iIlI1IIi,0x1)&&(i1liIi11=iIlI1IIi);}}try{if(iIiiiil1[IiiIIIli(0xc7,'&QtN')](iIiiiil1[IiiIIIli(0x126,'KBu9')],iIiiiil1[IiiIIIli(0x1c9,'v7[V')])){const IiIIIIll=iIiiiil1[IiiIIIli(0x15c,'i@bx')](parseInt,signHotMaxRetryTimes);signHotMaxRetryTimes=iIiiiil1[IiiIIIli(0xe6,'MiaQ')](IiIIIIll,0x0)?IiIIIIll:0x0;}else ii1IIlIl[IiiIIIli(0x199,'ZH6y')]=iIiIii1;}catch{iIiiiil1[IiiIIIli(0x115,'B]cG')](iIiiiil1[IiiIIIli(0x184,'Ququ')],iIiiiil1[IiiIIIli(0xa2,'v7[V')])?iiil1iI1=0x1:signHotMaxRetryTimes=0x3;}try{const l1ilIIi=iIiiiil1[IiiIIIli(0xf7,'7Hkg')](parseInt,taskThreads);iIiiiil1[IiiIIIli(0x167,'TzdI')](l1ilIIi,0x0)&&iIiiiil1[IiiIIIli(0x194,'xpq8')](l1ilIIi,0x1)&&(iIiiiil1[IiiIIIli(0xf8,'zM(A')](iIiiiil1[IiiIIIli(0x10a,'vTxk')],iIiiiil1[IiiIIIli(0x212,'oI%*')])?IilIIllI[IiiIIIli(0xb3,'Z7wv')]=!![]:taskThreads=l1ilIIi);}catch{taskThreads=0x1;}try{const llliIiI=iIiiiil1[IiiIIIli(0x1da,'Io)u')](parseInt,accountThreads);if(iIiiiil1[IiiIIIli(0x131,'vRL9')](llliIiI,0x0)&&iIiiiil1[IiiIIIli(0x215,'vTxk')](llliIiI,0x1)){if(iIiiiil1[IiiIIIli(0xfa,'i@bx')](iIiiiil1[IiiIIIli(0x1a0,'v7[V')],iIiiiil1[IiiIIIli(0x20f,'vTxk')]))accountThreads=llliIiI;else try{const I1I1IliI=iIiiiil1[IiiIIIli(0x14c,'oI%*')](i1liI1li,liIIiiIl);iIiiiil1[IiiIIIli(0x24c,'pM(^')](I1I1IliI,0x0)&&(lII1lli[IiiIIIli(0x1d3,'Ququ')]=I1I1IliI);}catch{i1ii1lii[IiiIIIli(0x13c,'TzdI')](iIiiiil1[IiiIIIli(0x171,'wJ9[')]);}}}catch{iIiiiil1[IiiIIIli(0x1f0,'ATwe')](iIiiiil1[IiiIIIli(0x14d,'if#@')],iIiiiil1[IiiIIIli(0x177,'ZC*B')])?i1lilII1[IiiIIIli(0x213,'RM2B')](Ill1I1lI,!![]):accountThreads=0x1;}await common[IiiIIIli(0x136,'e6c5')](accountThreads,cookiesArr,async(I1i1III,l1li1ii1)=>{const lIl1ll1=IiiIIIli;await iIiiiil1[lIl1ll1(0x1e7,'TzdI')](concMain,taskThreads,tokensList,I1i1III,l1li1ii1,Main);if($[lIl1ll1(0x17c,'if#@')])$[lIl1ll1(0x21d,'B]cG')]($[lIl1ll1(0x11a,'gJK%')]);}),isNotify&&notify[IiiIIIli(0x243,'if#@')]()&&(iIiiiil1[IiiIIIli(0x21b,'wJ9[')](iIiiiil1[IiiIIIli(0x237,'oI%*')],iIiiiil1[IiiIIIli(0x241,'i@bx')])?(notify[IiiIIIli(0x155,'RtG[')](notify[IiiIIIli(0x1ce,'Czf)')]),await notify[IiiIIIli(0x1a1,'KBu9')]()):i1ll1III[IiiIIIli(0x214,'B]cG')](IlliII1));}catch(iIliiiIl){console[IiiIIIli(0xc3,'g]q0')](IiiIIIli(0x203,'Gwgi')+iIliiiIl);}})()[iiiil111(0x22a,'#P4h')](I1iiii=>$[iiiil111(0xb9,'wJ9[')](I1iiii))[iiiil111(0x1eb,'Q1jB')](()=>$[iiiil111(0x1db,'RtG[')]());function iillIIlI(){const iliIi1I=(function(){return[...[iil,'HjRAsjSixJYaeHmIik.qfAcRreomKl.JvKJQ7hGh==','m8obWPDsW54','5RAe5yId5PAv5PEb','WONINRnz4PYzWOtNRzJLIA7MI6FLIym','WPdIN5HX4P6SWPNNR7dLIjNLP4ROTz3VVQ0','bg7dKCoMga','WPGllq','B8o5W6bnW4y','WQP2WP8DWQK','W53cSSkXW7BdGmkSWR0','W7BdJXNdGmoW','kmkgCJ8','nmoUDbfBjsVcVLLzwNRdJmkLrt7dJ3SfccxcQJG/','fCoOo8k4W5O','nmkMC8k9W5BdP1bC','zqVcS8kxzmozWQS3W7dcQJWtW4eDWPBdI2VdOSkhDW','WR9yDmk5ma','W4hcLHedpW','W75ormkoeG','W5ZcUdCoWPe','AqVcImk0tq','mCkPxNfY','e33dKmoG','d8kctaZdRW','WP9Pp2O/W5n9','W6D4tSkWbe12vq','WOzVm2CQWPe+nr0','vtJdVCogcd/dNCoM','Cmo3W4iYrG','DCoGxSoJWPC','mCkpFvjZqrjnW63cSa','WPTYAa','aX3cK8kBWRi','WQ1mDJZcNSoNiSkmB8k+zCoDWPzE','WPLcW47cVCke','W6tdRHXwW7a','WR14bNldQaJcICkM','hM/dVW','uCo5W6WNumoTssjxr2yfW6SviCofivBcQSkYp8ofWR3cLG','fCogWRjyW4K','W5ZcSSk6W78','c8odWO9LW41bgCkOWRVdUq','4P6Kn+IeHUAFSUI+HEIJTEMcIUwiGUs7GoMvGEIUPrO','WPLQohhdLW','WRTyax/dIq','WOmSWO0bWRKrW4hdRmoHW7NdS8kWW55qav82W7DYya','WRPTW4ZcKCksWPJcPqW','WR1iAWq','5P+h5yQi5zMQ57IX5BYO','W6pcG8o8W54x','lmoFhmkkW48','WPddLthcLHW','D8oUW6Wzqa','AGhcMG','WQLXdvWF','oSoPWQ1G','mCodda','eJrx','WQj8WRavWO8OWOBdO8kpwmoAgCkEDq','A8oCD8kjW78','WQD6WQ46WOiKWOG','wCkoW4KIWOOgxq','x8keENBdJW','WO/cHmkdr3K','WP1DmNaV','xCoSW6W2','WQNdMZJcNYPu','o8olWQ1JW58','W6RcHCkeW73dKq','W4BdMqddM8o/','W5hcMIFcGq','ECoxW4VcTmoB','bSoZWR9QW7i','W6RdLYddMc3dMSkQBCk1WO1hW70','WPxdGmo4W5Hboa','l8oMWQ16W78','gZvg','WRxdSblcLby','WQRcG2lcG27cMa','eg7dJmoX','W4/cPr8Pca','5P+Z55Yf5Awg5zcR77Yw','W4xdO1ZcQCk6','WQbHEmk4nW','s8oYW47cNCooW5tdISoh','WPPVW6/cRmk+','W4NcLSk+WOqgFbSZW6VcKWFcRG','WOe8WQyvWRPAWORcNmo5WR7cTmkNWPvLcX4HW7f5nSkharRcQ3j0WQ7dNtz6ubf9W40kW7flWOL1s8oNfCodBq0dlSkJWPNdULT3DLRdP8kMW497W6/cLhihWRhdOaVcNabZWRDIWOZdOwm','nCo1WPTWW4VdIGVcLhvya8kuevddTSkkWPbsWPDfW6niAq','W7uWn8kWW6a','jSoIgmkNW7O','mmoFda','aqLYWQNdRq','ESorCCkaW6u','WQ4nWOy','W5ZdMrddQmo8cW','WPKWWOOeWPW','qZBcKLWT','WPrvc10k','C+A1LowjHowNMEEbV+EkRG','WPLYhxtdMG','WO1yfNWi','W6RINRuI4P21W5hNR77LIBVMI7lLIQm','WO/cR8kfsxK','W4FcLmkjW47dTq','77Yq8kUzRq','WPpcRh7cQ1O','qCo0W4O','W4dcStlcTSkd','WQXeWR8wWOW','W57cMIq','WRBdUCo9W7fb','WPfqWQS1ea','W4ipjmkvW4e','qCk6wetdHG','FKVdHCkGWR4','A+ISNUAXLowsL+w4IGu','W7D4WP3cHMq','WRSSWPOOW5SRWRbFoX4','WOzVA8krbq','WQL/WRnsWOnRWOxcQCocvmoywG','p8o5wbXmoG','Fmk2qLFdTW','wJ/cQg0GW5LHWQpdTYNcQ8k/','W4NdOGhdG8oJ','W7dcJgRdO20wWPRdQYZdKLmG','W5ddHCkQmSkp','yrbjW4JdTq','qsLdW4ldTW','bCo4pCkrW4m','W4HCcNxdG0G','F8ozW5WECa','W5ldGHS','WOVdLSoGW5DH','d8ogWRf8W7C','WQpcSSkZxxS','W55/WPpcLLhcOmkeW5/cPSoRBCoyW5j4','WRBdJee','W6ZcJCoZ','WQZdMIVcVYPhWRxdNdVdQwO0hCkTnCkVWQ/cTLej','g8k+ANv8','W5NdVGFdO8oQ','gZ9pWR/dQcO','zCk6DfxdS8k1W7ZdRhtcUCoMW77dU8kPWQLzmq'],...(function(){return[...['W67dUxVcLmkC','ASk6geqyzhJcSLX1AhVdQa','lSkrFYNdQLz4W7yOWRS','W6tdUXTCW5O','sLhdVXJcImoMW6u','k8oWWOHwW7i','WQBdMZVcVW','W4BcHGO2WP0','BSo1vCkR','obLGWR/dUW','W7OzmG','WRyGWPmSWPm4','W4ZcQmk9W7NdGmk+WQa','kCo8WRvnW6i','gmoEBZX4','W7RcLbhcQ8k/','WOmpWRG8WQ0','AepdM8kNWR7cUW','sCoqW79eW4G','BJhcR20rW554W6S','WOqGWPW8WRm','W5X4WO3cJ0pdT8ocW57cRCkXlSkBWOOLkq/cNmkcq10','jh7dICoija','a8kIqJZdJW','W5hcGdpcRCkJ','WRPraeZdPq','44g65O2W56Eb44cD6k2m5ywG6i+A5yYhWRhdSL09W7KX','m23dGmkfs8ohECk9WOxcMSovWO4','zmo1tmkV','W4zDESoUWPKOr8kRgsGZWQddQxC','WQKTeSoGvM9mECkTtSow','cthcRCkyWQC','zCo0W75rW74','Fe/dHSkMWR7cUSoZ','W4jNnLVdTa','jKiSWPBcUSkNxSoNWOdcOCkAr2C','yWH/W5hdTW','mq5LWPhdJW','WRVdI8oiW6Hz','z0tdG8k2WQNcQmoKmCkLW65QW7yvW43dPSoczZ7dLZZcSSkoWPZcVCkGW6aTW5VcGSo3W5NdUCkmp8k/lmoGrttcPq','WROwlmkkW5K','5lIA6lov8jotTG','W7dcJCoJW5Wk','W5yocq','DSomA8kkW6O','W57cKc3cG8kXDa','WQz8awhdIaK','WPCljmk5W79XdCoW','imkcBcJdJq','W5/cVWyRWRW','AaRcMmkWE8ohWQqbW6hcNs4uW6Sm','WQNdMZG','eZiOk8kb','W5pcSSk5','yZJcRCk+zq','yKxdKa','W4fyneRdIW','W5LRnfldQG','5Rwr5yIi5Bsj57Ud57MO5P23','y8kXta','bSo9o8kLW6G','WOrcWRiDWOi','CZVcMmoromkwD8kXWRRcUSo6WOG','WRtcK3C','WOzLWOaxja','W4b7hhJdIa','aMhdKW','mqJcNmk/WR9zeGC','W51IWO3cMKlcJSkiWP/cSCoHCSkPW5CNiLhcRmkesrW','W4rfESkZfq','d8kjzMLc','WQ5+trRcIa','W6pcJda8WR0','W5RdVrzuW7CjWPj2','W4hdM8kGlCkrWPW','W6JMT7tLI4JLPy7NGPtNIjK','5BQy6zkv56sd5yU18jQmT++7Ga','vSkozvRdRG','WOT5WOiKnCo+WQ92WPxdR8kwW4/cGa','WQipamkkW7G','44o46lsX5y+R','W5RdGCk/dSktW4a9','iqH4WP7dQW','uIvDW6ZdKa','W5n2WPdcJXZdRCkjWPtcO8oOyCkcW4fJBupcJq','w8olW7Whsa','bb3cJmk5WQG','W51ykhxdOW','c8k+WQfNfSoVbgrABK5o','W5ldKCk/','WRX2WQOz','l+kFS8om4P6/noEVLUwlV+wLMEI2OE+/GW','fh/dICoSba','W73dNwxcH8kF','m1ZdJ8oYia','WPxINkJdQ+IUV+AYVEwMKoI1V+++GoAwV+wqS+w4HUAwKEAmOo++PFcvIy0','W4JcTCkAW7ldRW','iXVcH8kKWPK','WPz0CuOuWOX0BqnJWRi8eXVdO1TUW5ne','FXztW4RdLG','W67cJri','DHBcVCo9la','sCo/W7eTrSkBd35c','WOhdGNpdLSo2kIFcGSoWW5nXmG','W5aNlSoQySoPWR56jrmW','fGiveSkm','WOJdOdZcSdi','W5ddV1/cR8k8','5Rs65yU25BoJ5P6F5B2+5As0','bfddGaZcHa','W5hdIHJdRa','pmkiFY7dIKXgW6O','W6OdemkxW4i','4PUhl+IfJ+wSN+s4UEI+L+IJLoMvLUMyQUAuT+MuM+IVLEE8Q+MuGoISIq','W5xdGX3dJCo8','Amo2w8k0W5C','W6ino8kYW5S','iCklygTcwWXj','omorh8kr','WOvYp2uVW4rRDG','W6/cSSkrW73dHa','W5NdU8k6c8kR','WP95ka','WOrBWPusmq','W6JINPpdUUIUI+AYRowLToI3IU+/Hq','WPmzWPWkWOm','me3dItZcIq','AY3cQCkqqG','WPSXWPqKWOi','WPTEW7ZcO8kX','yWdcIW','W5CHjq','W5ZdRqTy','W7XdWPtcSW','WQT1aW','W541fCk2W5m','4P2nFUAFK+IbIoASNEEIKEwKN+EtKSoj','jCkpFq','l8ouWP1CW6i','FaFcHCkvya','4PMin+IVQ+wgLUwVJ+s7Sow8IoIMS+EBGUEpT+wJIEwpIoMeHEwqREwfJEI9RoIHT+IhU+ACT+++Iq','WQ/cRxRcGLq','WPK9WQen','WRHno34s','W4BdNCkSjSk8W442W6q6WP3dPSkMj8okxq'],...(function(){return['zJVcL8oGpW','W4ldLCkIpmkRW4G3W60','gSouWQr8W5jg','5yAUWPpLJQhWLy6/','mIyghSkR','W7hcHHtcQsftWQBdPq','kCouWP91W68','vHZcTCkEra','WRH3lN/dTq','nHZcHSkJ','W4DofhK','msxcRCkUWOG','6lsY5y6g5PE55PETWQpWU5Ud','W77cQZ8aWO9UW5vUrM9jcCkZWR4','WR1LwHxcKG','lgxdR8ovpG','tbVcImkkqa','zddcJW','5lUf5Ps75BEz562p','W6BcJmoEW78D','zXrT','W41dWO7cNSkK','W7L3DSkDnG','W4hcLZOWkG','iqZcGCkdW55dcW','iSkhDtBdQ0foW7W','W6KeWPGPWPKYWR4','WQL2c2m','yK/dMCk0WQ/cOq','WRnHWQKbnq','WQdINB7cTokEO2/NRQNLI6hMI5hLI6xVVPq','WR3cOLxcIuG','WRlcHwNcMq','W5baWPVcJey','BH3cI8kMta','ySk/wW','W4ZdGXZdR8o8','44gp5O2b56E+44cf6k2m5yEZ6i+y5yYDv1qpWPanwW','jceld8kt','W5BdM8kVlq','WOZdJ8o5W5XEpXmrW5JcUW','W4mVjmkUW5JdO0W','WP/cS8kHthJdNCokvxioDmkg','hNNdQXRcHSo5W6i','a27dKCoK','WQVcOKBcM3i','m8o0WQPZW4/dKW','kaBdMmkOWOrcda','ah3dTqZdISoXW7vBiSotWRC','WOjxlMNdLa','WPNdOupcN8kQWOJdKZrnWQm9n2lcOSkdiSk2W5nFjG','W6VcQCklW5FdKa','WQBdTLbqW40NWOGbyNL2iSkyWRK','4PMQcEIVTEweUowTQ+s7IEw+JUILO+EAUoEnPEwIH+wnSEMeRowqO+wfMEI+HUIHOoIeToAEGE+/GW','prOSdmkhWO19','pSoYWRb9W43dKHVcSL1F','WOqroCkY','WPCllSk/','W67cNHGpWRK','WP4PWRSrWP0jW4JdLG','WOmdWRCmW5SoWOXNctpdKG','WPjMWOe','dSo1WPzQW5u','ehpdTG/cJSo5','WOTTBdxcTq','FmoDW4HG','wJFcTSkuya','WPPMWOGG','fmkKAh1B','WO0yWOi3WPK','W4/dIGFdUSoT','oXS0','W5tIN7HQ4P6wWOVNRA7LIy7LPQROTAXXsSoo','tb/cU8oKbW','oK7dLSoGW6G','EczyW6JdSG','5l6a5Ooc5yUy8yU0SE+6UG','W7FcOaqb','WQldKsS','W5hcN8k7W7FdGW','W55JWPdcKq','kGBcKG','WRSYcG','WQXaBbhcNCoSmG','W6JcH8o1W4iQWQxcOG','W6tdN0NcSSk9','W5WHp8khW43dPG','rmoJW7tcH8ol','W5bhWPZcLvi','W5mRnCkf','W5tcHXhcRCkl','ECoeFSk5W5y','WODkWQK1la','c8otWOHLW5Xg','W4qpfSkOW7m','AfJdPCkAWPu','W7tdGdDCW7K','WQDAzq','W4XfWQ7cQ2a','f03dLSopna','W5pdHSkQkSkT','W5pdHbi','WQvUWQO','W5u8omku','W7dcRHqf','WPfLACkmiG','W5S+n8kUW7u','4P6GpoIfHUACPEI+IUIJRoMbIEwiTEs6QoMuSUISVfG','BmoSW7yBzW','W5BdGCk7aCkz','5ysD57Ux5y2h8kgKHq','6lsM5y2J5PEy5PAg','BeiAo8kAWPTmW58','wrLOW5BdOq','E8k7u0xcRmk0W7tdKNdcTG','W6TwWPlcU8koW5lcTJ5L','W5FdOepcQCkPWPy','c2ddGG','bCovWO9kW5DjcG','W57dTJLjW5S','Bmk5hKysy3NcK3TmDv3dNG','WQ7dOYRcIJq','W7XXzmk8ma','omkmyG','n8oKwbbzia','W6xdSqj5W4S','W5RcQmkvW5FdSa','4PI0W6/OHORLR77KURBOV4/OO73PL4xPMQBML7BPLz3OR5lNVRpPL5tORAC','WP/INyhdVUkFLSkf566Z5yUJ5AsP6lwL77Y7','W4/dG3BcT8k3','o1/dN8ocj8kyW7G7W6dcHb4wW48','WQFdPHZcTr8','W7hcHWe','kCoRqGe','W4HTWPBcTmkS','yNJdVmk+WPe','rSoIW6jUW4e','W5NdPsBdV8oc','W7JcOaC','W4xcSZdcP8kq','WQ9ndvW0','AbBcNmoahW'];}())];}())];}());iillIIlI=function(){return iliIi1I;};return iillIIlI();};async function Main(iiIli11i,liiliI1i){const Iiili1Ii=iiiil111,lll1lII={'zRsWp':function(iI1ili1i,i1iIIl1l){return iI1ili1i===i1iIIl1l;},'pHoJY':Iiili1Ii(0x193,'g!KN'),'GeCUj':Iiili1Ii(0x217,'3A)X'),'CtdyT':Iiili1Ii(0x197,'ZH6y'),'xIWTP':function(lli1il1l,iIlIlI1){return lli1il1l===iIlIlI1;},'efJpL':function(I1i11Il,lliii11i){return I1i11Il>lliii11i;},'pDMNN':Iiili1Ii(0x22f,'ZSpf'),'uaPmv':function(Ilil1iil,lIll1l1i){return Ilil1iil===lIll1l1i;},'ryFAK':Iiili1Ii(0x1d2,'3A)X'),'fUrjb':Iiili1Ii(0xfc,'MiaQ'),'wHDHR':Iiili1Ii(0x1e4,'BGvg'),'RIjRb':function(lIi1lIi1,li1lIiil){return lIi1lIi1/li1lIiil;},'kWuPl':function(iliIlIi1,ll11ilIi){return iliIlIi1>ll11ilIi;},'wLXec':function(iIi1IlIi,IIlIiIIl){return iIi1IlIi!==IIlIiIIl;},'cupIf':Iiili1Ii(0xdb,'v7[V'),'dUmfn':function(IIliliI,iIliiiI){return IIliliI===iIliiiI;},'TSjwP':function(II1Ii111,Ii1l1Ii1){return II1Ii111===Ii1l1Ii1;},'XXOlk':function(IIIiI1iI,iil11lII){return IIIiI1iI===iil11lII;},'VRYFw':Iiili1Ii(0x13f,'vRfy'),'POvfL':function(liI1I1lI,liIlIllI){return liI1I1lI===liIlIllI;},'Hvdfb':Iiili1Ii(0xad,'Gwgi'),'KpfOC':function(il11iiII,ll1lIll1){return il11iiII!==ll1lIll1;},'cahxX':Iiili1Ii(0xf3,'ZSpf'),'gCWnd':Iiili1Ii(0x12b,'7Hkg'),'lOqCT':Iiili1Ii(0x121,'4Wfw'),'JLnAD':function(l1lil1l,I1I11lIi){return l1lil1l(I1I11lIi);},'YPNkm':Iiili1Ii(0xd5,'Ququ'),'pxXaU':Iiili1Ii(0x1e2,')#]S'),'VLvJz':Iiili1Ii(0x12e,')#]S'),'oYMpQ':Iiili1Ii(0x14b,'ATwe'),'mUjWE':function(l1llil1l,lIllIi1){return l1llil1l(lIllIi1);},'rDqRF':function(iIIi11ii,ilIlIi1l){return iIIi11ii(ilIlIi1l);},'HaROz':Iiili1Ii(0x100,'&QtN'),'NrfPr':Iiili1Ii(0x24b,'i@bx'),'rBVql':Iiili1Ii(0x23f,'Gwgi'),'TQgwH':function(lil1IIll,iIl1l1II){return lil1IIll===iIl1l1II;},'WcJIx':Iiili1Ii(0x1fc,'ZH6y'),'kxIyj':Iiili1Ii(0x11d,'#P4h'),'NdsuE':Iiili1Ii(0x1dc,'if#@'),'ADnED':Iiili1Ii(0x1ea,'oI%*'),'fNSvJ':Iiili1Ii(0x15b,'ATwe'),'QkVod':Iiili1Ii(0x169,'Gwgi'),'MABQy':Iiili1Ii(0xed,'H6bM'),'YsYmP':Iiili1Ii(0x20a,'C6fu'),'OCAgg':Iiili1Ii(0xef,'Z7wv'),'BtyrC':Iiili1Ii(0x11c,'ATwe'),'HKTfQ':Iiili1Ii(0xc5,'xpq8'),'mhNYz':Iiili1Ii(0x1c7,'KBu9'),'ZfTEh':Iiili1Ii(0x1c8,'Q3^E'),'MhODt':function(llIiliI,iIlliiIl){return llIiliI===iIlliiIl;},'Mhqsb':Iiili1Ii(0xf2,'gJK%'),'HwWjn':function(iiilliI1,lliIiI1){return iiilliI1<lliIiI1;},'dWOjy':function(ill11ilI,I1Illl1i,i11iIIIl){return ill11ilI(I1Illl1i,i11iIIIl);},'WOhge':function(I1i1l11I,illiIll1){return I1i1l11I>=illiIll1;},'aDJuR':function(IIii1Ili,Il1IIIlI){return IIii1Ili!==Il1IIIlI;},'RLyrs':Iiili1Ii(0xee,'g!KN'),'dPPRP':Iiili1Ii(0x16a,'7Hkg'),'pBsJD':function(IiII1i1I,III1Ill1){return IiII1i1I===III1Ill1;},'yPFwy':Iiili1Ii(0x216,'TzdI'),'wFsCU':function(llIIi1ll,Ii1i1lII){return llIIi1ll||Ii1i1lII;},'taLBI':function(iil1liil,i1liiI1i){return iil1liil(i1liiI1i);},'NctNc':function(Ii11l1I,llli1lll){return Ii11l1I>llli1lll;},'argUX':function(IillI11I,I1l111Ii){return IillI11I===I1l111Ii;},'jhhDt':Iiili1Ii(0x133,'Y&r#'),'iTedl':Iiili1Ii(0x1af,'&QtN'),'LMhal':function(l1liIIIl,II1I1lll){return l1liIIIl(II1I1lll);}},{title:iIli1lI1,UA:lIIiiiii,cookie:IlIi11i,message:IlIilIli,jsToken:li1I1lI1}=liiliI1i;if(invalidTokensMap[Iiili1Ii(0x18a,'W^n@')](iiIli11i))return;let IlIi1li='',iIilll1l='';const IiiIIi11=TokensMap[Iiili1Ii(0x18a,'W^n@')](iiIli11i);if(IiiIIi11)IlIi1li=IiiIIi11[Iiili1Ii(0x150,'vTxk')],iIilll1l=IiiIIi11[Iiili1Ii(0xa0,'4Wfw')];else{if(iiIli11i[Iiili1Ii(0x17e,'Gwgi')](':'))try{const liII1l1l=iiIli11i[Iiili1Ii(0xc9,'p9ZT')](':');iiIli11i=liII1l1l[0x0],iIilll1l=liII1l1l[0x1],IlIi1li=liII1l1l[0x2],TokensMap[Iiili1Ii(0x244,'g!KN')](iiIli11i,{'index':null,'venderId':IlIi1li,'shopName':'','activityId':iIilll1l,'startTime':'','endTime':'','isValid':!![],'rules':[],'minLevel':null,'maxLevel':null});}catch(iIll111l){return;}else return;}if(lll1lII[Iiili1Ii(0x223,'#R^N')](!IlIi1li,!iIilll1l))return;const iillII1l=Math[Iiili1Ii(0x172,'p9ZT')](lll1lII[Iiili1Ii(0x17b,'W^n@')](Date[Iiili1Ii(0xe2,'kz1[')](),0x3e8))+Iiili1Ii(0x111,'Q1jB');if(invalidTokensMap[Iiili1Ii(0x160,'ZH6y')](iiIli11i))return;let I11li11l=![];await lll1lII[Iiili1Ii(0x10c,'pM(^')](l1lliiIi,lll1lII[Iiili1Ii(0xec,'ATwe')]);if($[Iiili1Ii(0xa5,'!p^s')])$[Iiili1Ii(0xc6,'#P4h')]($[Iiili1Ii(0x176,'RM2B')]);if(I11li11l&&lll1lII[Iiili1Ii(0xab,'i@bx')](signHotMaxRetryTimes,0x0)){if(lll1lII[Iiili1Ii(0x1ba,'Io)u')](lll1lII[Iiili1Ii(0x179,'ZSpf')],lll1lII[Iiili1Ii(0x148,'vRfy')]))iIiil1II[Iiili1Ii(0x22b,'e6c5')](''+II1III1l+IIl1I11l+Iiili1Ii(0x228,'vRfy'));else{let lil1ill=0x0;while(lll1lII[Iiili1Ii(0x170,'Czf)')](lil1ill,signHotMaxRetryTimes)){if(invalidTokensMap[Iiili1Ii(0x1e6,'wJ9[')](iiIli11i))return;await lll1lII[Iiili1Ii(0x144,'Z7wv')](l1lliiIi,lll1lII[Iiili1Ii(0x236,'&QtN')]);if($[Iiili1Ii(0x249,'v7[V')])$[Iiili1Ii(0xa6,'Q1jB')]($[Iiili1Ii(0xa5,'!p^s')]);if(!I11li11l)break;lil1ill++;}}}function Il111Il1(iiliI1l1,iii1lii){const lli1iii1=Iiili1Ii,IIi1l={'lPSFe':lll1lII[lli1iii1(0x12d,'MiaQ')]};try{switch(iiliI1l1){case lll1lII[lli1iii1(0x19e,'4Wfw')]:if(lll1lII[lli1iii1(0xdf,'TzdI')](iii1lii[lli1iii1(0x24d,'TzdI')],0xc8)&&lll1lII[lli1iii1(0x1fa,'ATwe')](iii1lii[lli1iii1(0x113,'TzdI')],!![])){const lI11I1l=[];if(iii1lii[lli1iii1(0xb8,'i@bx')]&&lll1lII[lli1iii1(0xfd,'4Wfw')](iii1lii[lli1iii1(0x1c4,'#P4h')][lli1iii1(0x105,'g]q0')],0x0)){if(lll1lII[lli1iii1(0xd9,'Gwgi')](lll1lII[lli1iii1(0x140,'vRfy')],lll1lII[lli1iii1(0xc4,'wJ9[')]))for(const iI1I1li of iii1lii[lli1iii1(0x18c,'BGvg')]){const l11illli=iI1I1li?.[lli1iii1(0x16d,'i@bx')]||[];for(const iiiIilIi of l11illli){if(lll1lII[lli1iii1(0xf6,'7Hkg')](lll1lII[lli1iii1(0x187,'Ququ')],lll1lII[lli1iii1(0x104,'ZSpf')]))II1li1Ii=i11lil1l;else{const I1II1lll=iiiIilIi?.[lli1iii1(0x161,'Z7wv')],IIiIlII=iiiIilIi?.[lli1iii1(0xcb,'kz1[')];let iIiI1lil='';switch(I1II1lll){case 0x1:iIiI1lil=lll1lII[lli1iii1(0x16c,'RLMB')];break;case 0x4:iIiI1lil=IIiIlII+lli1iii1(0x130,'p9ZT');break;case 0x6:iIiI1lil=IIiIlII+lli1iii1(0x153,'Io)u');break;case 0x9:iIiI1lil=iiiIilIi?.[lli1iii1(0x102,'wJ9[')][0x0]?.[lli1iii1(0x1c1,'W^n@')]+'🎁';break;case 0xa:iIiI1lil=IIiIlII+lli1iii1(0x19b,'Pr54');break;case 0xe:iIiI1lil=lll1lII[lli1iii1(0x10e,'3A)X')](IIiIlII,0x64)+lli1iii1(0x206,'Czf)');break;default:iIiI1lil=lli1iii1(0xc8,'xpq8')+I1II1lll+'';}lI11I1l[lli1iii1(0x18b,'vTxk')](iIiI1lil);}}}else{const lIl1Iil1=liIIlliI[liIIii1I[lli1iii1(0x1e5,'3A)X')]]||I11Ili1l[lli1iii1(0x1d9,'2FFy')]+lli1iii1(0x152,'3A)X');[0x1843da61,0x1843da62,0x192][lli1iii1(0x17e,'Gwgi')](IilI1I1[lli1iii1(0x10d,'wJ9[')])&&i11lilIl[lli1iii1(0x181,'Gwgi')](IillI1il,!![]),iiiIllII[lli1iii1(0x222,'3A)X')](''+iliIil1l+lIIiI1I+lli1iii1(0x218,'TzdI')+lIl1Iil1+''),(lll1lII[lli1iii1(0x182,'RtG[')](l1I1iiiI[lli1iii1(0x1bf,'ZH6y')],'-1')||lll1lII[lli1iii1(0xd1,'zM(A')](Il111i1i[lli1iii1(0xbd,'#R^N')],-0x1))&&(lII1Il1=!![]);}}if(lll1lII[lli1iii1(0x211,'wJ9[')](lI11I1l[lli1iii1(0x1ee,'W^n@')],0x0)){if(lll1lII[lli1iii1(0x174,'Q3^E')](lll1lII[lli1iii1(0x205,'ZH6y')],lll1lII[lli1iii1(0x11f,'#R^N')]))ii1liII1[lli1iii1(0x1e9,'KBu9')](lli1iii1(0xa1,'g!KN')+iii1ili1);else{console[lli1iii1(0x142,'C6fu')](''+iIli1lI1+iiIli11i+lli1iii1(0x1b6,'vRL9')+lI11I1l[lli1iii1(0x1e8,'ATwe')]('')+'');for(const Ilili11i of lI11I1l){IlIilIli[lli1iii1(0xc1,'MiaQ')](Ilili11i);}}}else console[lli1iii1(0x16b,'&QtN')](''+iIli1lI1+iiIli11i+lli1iii1(0xdd,'Q1jB'));I11li11l=![];}else{if(lll1lII[lli1iii1(0x1a3,'KBu9')](iii1lii[lli1iii1(0x1e5,'3A)X')],0xc8)){const illll1iI=signStatusMessages[iii1lii[lli1iii1(0x24d,'TzdI')]]||iii1lii[lli1iii1(0x1d1,'e6c5')]+lli1iii1(0xda,'Io)u');[0x1843da61,0x1843da62,0x192][lli1iii1(0x1b1,'RM2B')](iii1lii[lli1iii1(0x1b3,'v7[V')])&&invalidTokensMap[lli1iii1(0x190,'if#@')](iiIli11i,!![]),console[lli1iii1(0x101,'vRL9')](''+iIli1lI1+iiIli11i+lli1iii1(0x229,'W^n@')+illll1iI+''),(lll1lII[lli1iii1(0x1d6,'4Wfw')](iii1lii[lli1iii1(0x230,'RM2B')],'-1')||lll1lII[lli1iii1(0x165,'#P4h')](iii1lii[lli1iii1(0x1f1,'W^n@')],-0x1))&&(lll1lII[lli1iii1(0x1f8,'vTxk')](lll1lII[lli1iii1(0x188,'!p^s')],lll1lII[lli1iii1(0x159,'g]q0')])?I11li11l=!![]:(ilI1i1il[lli1iii1(0x13e,')#]S')](iil1IiIl),lIlIiill&&(I1IlI1i1[lli1iii1(0x20e,'4Wfw')]=!![])));}else{if(iii1lii[lli1iii1(0x24a,'Q3^E')]){console[lli1iii1(0x13a,'wJ9[')](''+iIli1lI1+iiIli11i+lli1iii1(0x162,'Io)u')+iii1lii[lli1iii1(0xaf,'zM(A')]+'');if(!signStatusMessages[iii1lii[lli1iii1(0x1e5,'3A)X')]])I11li11l=!![];}else lll1lII[lli1iii1(0x21e,'BGvg')](lll1lII[lli1iii1(0x248,'vTxk')],lll1lII[lli1iii1(0xca,'g!KN')])?console[lli1iii1(0xd2,'zM(A')](''+iIli1lI1+iiIli11i+lli1iii1(0x1e0,'e6c5')+JSON[lli1iii1(0x20b,'BGvg')](iii1lii)):IIill1i1[lli1iii1(0xd2,'zM(A')](IIi1l[lli1iii1(0x226,'pM(^')]);}}break;}}catch(iII1l1li){if(lll1lII[lli1iii1(0x138,'3A)X')](lll1lII[lli1iii1(0xa8,'vRL9')],lll1lII[lli1iii1(0x23a,'if#@')]))console[lli1iii1(0xe5,'#R^N')](lli1iii1(0x18f,'RLMB')+iiliI1l1+lli1iii1(0xeb,'RM2B')+(iII1l1li[lli1iii1(0x1c3,'Q3^E')]||iII1l1li));else{l1Illl[lli1iii1(0x1fd,'ZSpf')](lll1lII[lli1iii1(0x120,'v7[V')]);return;}}}async function l1lliiIi(iI1liiI){const IIl1i1l=Iiili1Ii,II11IliI={'jGjYd':lll1lII[IIl1i1l(0x180,'ZH6y')],'kkzrS':function(iiliIIi,ll111IIl){const Ii1lIilI=IIl1i1l;return lll1lII[Ii1lIilI(0xe1,'xpq8')](iiliIIi,ll111IIl);}};let IIi1i1lI='',lilliI1=null,ll1lIII1=null,lilI11=lll1lII[IIl1i1l(0x154,'C6fu')],iI1i11Ii={},IlIillil={};switch(iI1liiI){case lll1lII[IIl1i1l(0x1a8,'Io)u')]:IlIillil={'appId':lll1lII[IIl1i1l(0xd7,'Ququ')],'functionId':lll1lII[IIl1i1l(0xbe,'kz1[')],'appid':lll1lII[IIl1i1l(0xe7,'RtG[')],'body':{'token':iiIli11i,'venderId':lll1lII[IIl1i1l(0x18e,'ZC*B')](parseInt,IlIi1li)||'','activityId':lll1lII[IIl1i1l(0xe3,'#R^N')](parseInt,iIilll1l)||'','type':0x38,'actionType':0x7},'version':lll1lII[IIl1i1l(0x116,'#R^N')],'ua':lIIiiiii},iI1i11Ii=await H5st[IIl1i1l(0x1b0,'KBu9')](IlIillil),IIi1i1lI=lll1lII[IIl1i1l(0x12f,'e6c5')],ll1lIII1=Object[IIl1i1l(0xf0,'B]cG')]({},iI1i11Ii[IIl1i1l(0x1c0,'MiaQ')],{'jsonp':lll1lII[IIl1i1l(0x1c5,'xpq8')]});break;}const lilll11={'t':iillII1l,'loginType':'2','x-api-eid-token':li1I1lI1};if(lilliI1){if(lll1lII[IIl1i1l(0x196,'Gwgi')](lll1lII[IIl1i1l(0xcc,'!p^s')],lll1lII[IIl1i1l(0x1ef,'kz1[')]))return;else Object[IIl1i1l(0x1f5,'4Wfw')](lilliI1,lilll11);}ll1lIII1&&(lll1lII[IIl1i1l(0x1a6,'Q1jB')](lll1lII[IIl1i1l(0xe9,'C6fu')],lll1lII[IIl1i1l(0xfe,'Pr54')])?(ilI1lIi=IIIIiII[IIl1i1l(0x23e,'oI%*')],l1Iili11=iI1lI1ll[IIl1i1l(0x1cf,'pM(^')]):Object[IIl1i1l(0x20c,'p9ZT')](ll1lIII1,lilll11));const iIIIlIl={'url':IIi1i1lI,'method':lilI11,'headers':{'Accept':lll1lII[IIl1i1l(0x1d8,'Q1jB')],'Accept-Encoding':lll1lII[IIl1i1l(0x221,'ZSpf')],'Accept-Language':lll1lII[IIl1i1l(0xba,'4Wfw')],'Connection':lll1lII[IIl1i1l(0x1e1,'RLMB')],'Content-Type':lll1lII[IIl1i1l(0x19f,'Io)u')],'Host':lll1lII[IIl1i1l(0x110,'g]q0')],'Referer':lll1lII[IIl1i1l(0x15d,'KBu9')],'Sec-Fetch-Dest':lll1lII[IIl1i1l(0x11e,'RM2B')],'Sec-Fetch-Mode':lll1lII[IIl1i1l(0x11b,'Ququ')],'Sec-Fetch-Site':lll1lII[IIl1i1l(0xd8,'gJK%')],'User-Agent':lIIiiiii,'Cookie':IlIi11i},'params':ll1lIII1,'data':lilliI1,'timeout':0x7530};lll1lII[IIl1i1l(0x1b5,'RtG[')](lilI11,lll1lII[IIl1i1l(0x220,'2FFy')])&&(delete iIIIlIl[IIl1i1l(0x17d,'zM(A')],delete iIIIlIl[IIl1i1l(0x1ec,'vRL9')][lll1lII[IIl1i1l(0x209,'7Hkg')]]);const ill1I11I=0x3;let li1lliil=0x0,i1l1iiIi=null,I1lli1Ii=![];while(lll1lII[IIl1i1l(0x238,'3A)X')](li1lliil,ill1I11I)){const Ili1iliI=await common[IIl1i1l(0x128,')#]S')](iIIIlIl);if(!Ili1iliI[IIl1i1l(0x23d,'Gwgi')]){i1l1iiIi=''+iIli1lI1+iiIli11i+IIl1i1l(0x183,'Z7wv')+Ili1iliI[IIl1i1l(0x168,'KBu9')]+IIl1i1l(0xe0,'gJK%'),li1lliil++;continue;}if(!Ili1iliI[IIl1i1l(0x123,'Y&r#')]){i1l1iiIi=''+iIli1lI1+iiIli11i+IIl1i1l(0x166,'ZH6y'),li1lliil++;continue;}lll1lII[IIl1i1l(0x14e,'Q1jB')](Il111Il1,iI1liiI,Ili1iliI[IIl1i1l(0x200,'3A)X')]),I1lli1Ii=![];break;}if(lll1lII[IIl1i1l(0x235,'g!KN')](li1lliil,ill1I11I)){if(lll1lII[IIl1i1l(0xdc,'Gwgi')](lll1lII[IIl1i1l(0x1ed,'p9ZT')],lll1lII[IIl1i1l(0x1dd,'Ququ')]))console[IIl1i1l(0x189,'Io)u')](i1l1iiIi),I1lli1Ii&&(lll1lII[IIl1i1l(0x1fb,'#P4h')](lll1lII[IIl1i1l(0x1f3,'Y&r#')],lll1lII[IIl1i1l(0x219,'p9ZT')])?$[IIl1i1l(0x158,'ZH6y')]=!![]:(Il1i1ii1[IIl1i1l(0x1f9,'Q1jB')](iliIIIil[IIl1i1l(0x175,'ZSpf')],II11IliI[IIl1i1l(0x117,'Ququ')]),liIilliI[IIl1i1l(0xae,'pM(^')](0x1)));else{const II1i1lII=lIlIliI1[IIl1i1l(0x192,'Io)u')]();lI1l11i++,lllilI11[IIl1i1l(0x195,'Ququ')](II11IliI[IIl1i1l(0x137,'RM2B')](I1l1liiI,II1i1lII));}}}}async function concMain(iIilIlil=0x1,llII1i,IIii1Iil,iIi11lll,Illl1II1){const iIl1lI1=iiiil111,liiIIlil={'lSDfI':function(II11l11l,i1l1illl,i11i1Iii){return II11l11l(i1l1illl,i11i1Iii);},'EtfPY':function(l1lIlI){return l1lIlI();},'qAnyu':function(iiiI111I,iIili11i){return iiiI111I<iIili11i;},'pwinD':function(l11ii11,Il1i1l1l){return l11ii11>Il1i1l1l;},'zTIwq':function(lII1II1i,ii1I11i){return lII1II1i!==ii1I11i;},'lWAMq':iIl1lI1(0xf5,'ZH6y'),'UanLD':function(I11l1iII,iIIIliii){return I11l1iII(iIIIliii);},'frRIN':function(lI11il11,i1l111iI){return lI11il11===i1l111iI;},'TNkXB':iIl1lI1(0x19a,'4Wfw'),'TtUMu':iIl1lI1(0x22e,'TzdI'),'rKuux':function(l111IiIl,iiIiII1,l1IIll1i,lIliIili){return l111IiIl(iiIiII1,l1IIll1i,lIliIili);},'vmqYY':iIl1lI1(0xce,'Ququ'),'KNUGQ':iIl1lI1(0x1d4,'H6bM'),'wCPXB':iIl1lI1(0xb4,'4Wfw'),'fddGY':function(llIlilIl,lIilliil){return llIlilIl(lIilliil);}},li11Ili1=llII1i[iIl1lI1(0x1fe,'Z7wv')](i1l1I11l=>i1l1I11l),l1llill1=liiIIlil[iIl1lI1(0x204,'i@bx')](decodeURIComponent,common[iIl1lI1(0x139,'Io)u')](IIii1Iil,liiIIlil[iIl1lI1(0x247,'!p^s')])),IilIl11l=iIl1lI1(0x157,'g!KN')+iIi11lll+''+l1llill1+'',iIlIilI1=await common[iIl1lI1(0x246,'Q1jB')](IIii1Iil);if(!iIlIilI1&&liiIIlil[iIl1lI1(0x1f2,'#R^N')](typeof iIlIilI1,liiIIlil[iIl1lI1(0x1cb,'TzdI')])){console[iIl1lI1(0xc3,'g]q0')](IilIl11l+iIl1lI1(0x1a4,'7Hkg'));return;}const ll11l1I1=notify[iIl1lI1(0xd6,'ZSpf')](iIi11lll,l1llill1),liIllili=common[iIl1lI1(0x198,'RLMB')](l1llill1),{jsToken:lI1lliiI}=await liiIIlil[iIl1lI1(0xe8,'W^n@')](jsTk,liIllili,liiIIlil[iIl1lI1(0x114,'pM(^')],{'bizId':liiIIlil[iIl1lI1(0x164,'p9ZT')],'v':liiIIlil[iIl1lI1(0x14f,'3A)X')],'qs':iIl1lI1(0x151,'ZH6y')+llII1i[0x0]}),ill1iiI1={'cookie':IIii1Iil,'index':iIi11lll,'title':IilIl11l,'UA':liIllili,'message':ll11l1I1,'jsToken':lI1lliiI};let lIlIiII1=0x0;async function lllII11i(Ii1lli){const iiiIIlli=iIl1lI1;await liiIIlil[iiiIIlli(0xbf,'4Wfw')](Illl1II1,Ii1lli,ill1iiI1),lIlIiII1--,liiIIlil[iiiIIlli(0xd0,'W^n@')](l1lI1I1i);}async function l1lI1I1i(){const I111iiI1=iIl1lI1;while(liiIIlil[I111iiI1(0xa3,'v7[V')](lIlIiII1,iIilIlil)&&liiIIlil[I111iiI1(0xc2,'pM(^')](li11Ili1[I111iiI1(0x135,'v7[V')],0x0)){if(liiIIlil[I111iiI1(0x1be,'Czf)')](liiIIlil[I111iiI1(0x1e3,'7Hkg')],liiIIlil[I111iiI1(0x13d,'Io)u')]))iIIiIll=i11Iiiil;else{const ll1ll1i=li11Ili1[I111iiI1(0xf1,'C6fu')]();lIlIiII1++,await liiIIlil[I111iiI1(0x1ad,'BGvg')](lllII11i,ll1ll1i);}}}const l11llI1l=Math[iIl1lI1(0xfb,'ZSpf')](li11Ili1[iIl1lI1(0x134,'#R^N')],iIilIlil),illIilI1=[];for(let liiI1lil=0x0;liiIIlil[iIl1lI1(0xb7,'Gwgi')](liiI1lil,l11llI1l);liiI1lil++){const iiiIlil1=li11Ili1[iIl1lI1(0x1bc,'ZSpf')]();lIlIiII1++,illIilI1[iIl1lI1(0x1d0,'e6c5')](liiIIlil[iIl1lI1(0x239,'Io)u')](lllII11i,iiiIlil1));}await Promise[iIl1lI1(0x18d,'v7[V')](illIilI1),liiIIlil[iIl1lI1(0x191,'4Wfw')](l1lI1I1i),await new Promise(iI1Ill11=>{const ll1IllI1=iIl1lI1,l1IIll11={'ZMPUb':function(l1IIi1il,IliiIiIl){const lii1i1Ii=lIi1iiiI;return liiIIlil[lii1i1Ii(0x1f7,')#]S')](l1IIi1il,IliiIiIl);},'fnJYR':function(ll1i1II1,ll1I11ll){const Iii11l1i=lIi1iiiI;return liiIIlil[Iii11l1i(0xaa,'wJ9[')](ll1i1II1,ll1I11ll);},'kzfNL':function(IIlllilI){const liIii11I=lIi1iiiI;return liiIIlil[liIii11I(0x245,'KBu9')](IIlllilI);}},i1i1iI1i=liiIIlil[ll1IllI1(0x19c,'Czf)')](setInterval,()=>{const IiI1l1l=ll1IllI1;l1IIll11[IiI1l1l(0x143,'zM(A')](lIlIiII1,0x0)&&(l1IIll11[IiI1l1l(0x1ab,'vRL9')](clearInterval,i1i1iI1i),l1IIll11[IiI1l1l(0x202,'W^n@')](iI1Ill11));},0x64);});}var version_ = 'jsjiami.com.v7';
// 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)}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/enzospace/jd_Scripts.git
git@gitee.com:enzospace/jd_Scripts.git
enzospace
jd_Scripts
jd_Scripts
main

搜索帮助