KR/jd_lzkj_loreal_shopGift.js

22 lines
54 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
活动名称:店铺礼包(超级无线)
活动链接https://lzkj-isv.isvjcloud.com/prod/cc/interactsaas/index?activityType=10058&templateId=<模板id>&activityId=<活动id>&prd=cjwx
https://lzkj-isv.isvjcloud.com/prod/cc/interaction/v1/index?activityType=10058&templateId=<模板id>&activityId=<活动id>&prd=cjwx
环境变量jd_lzkj_loreal_shopGift_url // 活动链接
jd_lzkj_loreal_shopGift_opencard // 是否入会true/false默认不入会
jd_lzkj_loreal_shopGift_Notify // 是否推送通知true/false默认不推送
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#店铺礼包(超级无线)
1 1 1 1 * jd_lzkj_loreal_shopGift.js, tag=店铺礼包(超级无线), enabled=true
*/
const $ = new Env('店铺礼包(超级无线)')
var version_='jsjiami.com.v7';const illlIli1=i1Iillil;function i1Iillil(_0x500167,_0x36498c){const _0x5e349b=I1l1ili();return i1Iillil=function(_0x14af95,_0x47b2a8){_0x14af95=_0x14af95-0x1a4;let _0x1c1696=_0x5e349b[_0x14af95];if(i1Iillil['sJdKoY']===undefined){var _0x2f3600=function(_0x432bc2){const _0xbd8d0a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5efeff='',_0x2eaf8f='';for(let _0x5032e5=0x0,_0x635f0f,_0x3993dd,_0xc1765e=0x0;_0x3993dd=_0x432bc2['charAt'](_0xc1765e++);~_0x3993dd&&(_0x635f0f=_0x5032e5%0x4?_0x635f0f*0x40+_0x3993dd:_0x3993dd,_0x5032e5++%0x4)?_0x5efeff+=String['fromCharCode'](0xff&_0x635f0f>>(-0x2*_0x5032e5&0x6)):0x0){_0x3993dd=_0xbd8d0a['indexOf'](_0x3993dd);}for(let _0x3a5c49=0x0,_0x1a1930=_0x5efeff['length'];_0x3a5c49<_0x1a1930;_0x3a5c49++){_0x2eaf8f+='%'+('00'+_0x5efeff['charCodeAt'](_0x3a5c49)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2eaf8f);};const _0x1e8e3e=function(_0x562234,_0x26d42c){let _0x2cb349=[],_0x2918c7=0x0,_0x55e683,_0x58f693='';_0x562234=_0x2f3600(_0x562234);let _0x55c35f;for(_0x55c35f=0x0;_0x55c35f<0x100;_0x55c35f++){_0x2cb349[_0x55c35f]=_0x55c35f;}for(_0x55c35f=0x0;_0x55c35f<0x100;_0x55c35f++){_0x2918c7=(_0x2918c7+_0x2cb349[_0x55c35f]+_0x26d42c['charCodeAt'](_0x55c35f%_0x26d42c['length']))%0x100,_0x55e683=_0x2cb349[_0x55c35f],_0x2cb349[_0x55c35f]=_0x2cb349[_0x2918c7],_0x2cb349[_0x2918c7]=_0x55e683;}_0x55c35f=0x0,_0x2918c7=0x0;for(let _0x16c69a=0x0;_0x16c69a<_0x562234['length'];_0x16c69a++){_0x55c35f=(_0x55c35f+0x1)%0x100,_0x2918c7=(_0x2918c7+_0x2cb349[_0x55c35f])%0x100,_0x55e683=_0x2cb349[_0x55c35f],_0x2cb349[_0x55c35f]=_0x2cb349[_0x2918c7],_0x2cb349[_0x2918c7]=_0x55e683,_0x58f693+=String['fromCharCode'](_0x562234['charCodeAt'](_0x16c69a)^_0x2cb349[(_0x2cb349[_0x55c35f]+_0x2cb349[_0x2918c7])%0x100]);}return _0x58f693;};i1Iillil['aWeGqq']=_0x1e8e3e,_0x500167=arguments,i1Iillil['sJdKoY']=!![];}const _0xf9c002=_0x5e349b[0x0],_0x2382e3=_0x14af95+_0xf9c002,_0x18e207=_0x500167[_0x2382e3];return!_0x18e207?(i1Iillil['ZGVNEy']===undefined&&(i1Iillil['ZGVNEy']=!![]),_0x1c1696=i1Iillil['aWeGqq'](_0x1c1696,_0x47b2a8),_0x500167[_0x2382e3]=_0x1c1696):_0x1c1696=_0x18e207,_0x1c1696;},i1Iillil(_0x500167,_0x36498c);}(function(lliI111l,iI1Illl,illIlIII,I11iIil,ll1I1il,Ill1lilI,l11Iil){return lliI111l=lliI111l>>0x9,Ill1lilI='hs',l11Iil='hs',function(lil1lIi,iliIlI1l,li1l1Il,II1i1lli,Il1I11li){const I1Ill1l1=i1Iillil;II1i1lli='tfi',Ill1lilI=II1i1lli+Ill1lilI,Il1I11li='up',l11Iil+=Il1I11li,Ill1lilI=li1l1Il(Ill1lilI),l11Iil=li1l1Il(l11Iil),li1l1Il=0x0;const liIi1iI1=lil1lIi();while(!![]&&--I11iIil+iliIlI1l){try{II1i1lli=-parseInt(I1Ill1l1(0x25f,'hL60'))/0x1*(-parseInt(I1Ill1l1(0x3be,'xbUV'))/0x2)+-parseInt(I1Ill1l1(0x325,'xMy@'))/0x3+-parseInt(I1Ill1l1(0x243,'HcIU'))/0x4*(-parseInt(I1Ill1l1(0x365,'kyiW'))/0x5)+parseInt(I1Ill1l1(0x32c,'cmK0'))/0x6+-parseInt(I1Ill1l1(0x30d,'sT[e'))/0x7*(parseInt(I1Ill1l1(0x33b,'cmK0'))/0x8)+-parseInt(I1Ill1l1(0x2ba,'a*xz'))/0x9+parseInt(I1Ill1l1(0x2cd,'LWog'))/0xa*(-parseInt(I1Ill1l1(0x1e2,'IVIo'))/0xb);}catch(llIIII){II1i1lli=li1l1Il;}finally{Il1I11li=liIi1iI1[Ill1lilI]();if(lliI111l<=I11iIil)li1l1Il?ll1I1il?II1i1lli=Il1I11li:ll1I1il=Il1I11li:li1l1Il=Il1I11li;else{if(li1l1Il==ll1I1il['replace'](/[dPybAUHqIerELuXQG=]/g,'')){if(II1i1lli===iliIlI1l){liIi1iI1['un'+Ill1lilI](Il1I11li);break;}liIi1iI1[l11Iil](Il1I11li);}}}}}(illIlIII,iI1Illl,function(II1IiI1l,IililIIi,lliiiIi1,Il1IIi1i,lilIiiII,llIlIIiI,Il1lIlII){return IililIIi='\x73\x70\x6c\x69\x74',II1IiI1l=arguments[0x0],II1IiI1l=II1IiI1l[IililIIi](''),lliiiIi1=`\x72\x65\x76\x65\x72\x73\x65`,II1IiI1l=II1IiI1l[lliiiIi1]('\x76'),Il1IIi1i=`\x6a\x6f\x69\x6e`,(0x143ad5,II1IiI1l[Il1IIi1i](''));});}(0x18600,0xef082,I1l1ili,0xc5),I1l1ili)&&(version_=I1l1ili);const Ii11iliI=require(illlIli1(0x39c,'pt(&')),illlliii=require(illlIli1(0x28c,'s#W(')),IiIl11il=require(illlIli1(0x293,'[97n')),lIIilIlI=require('./function/krgetToken'),IiIlliii=process[illlIli1(0x1f6,'y5rc')][illlIli1(0x229,'6!gd')]||'',IiIiI11i=process['env']['jd_lzkj_loreal_shopGift_opencard']===illlIli1(0x21d,'fsZn'),IlIli11I=process[illlIli1(0x1e1,'9@Fd')][illlIli1(0x348,'IwP5')]===illlIli1(0x2a7,'DdGb');let iiiliI1='',I1lill1i='';const IIli1li=Object[illlIli1(0x3d4,'sT[e')](Ii11iliI)[illlIli1(0x36a,'HcIU')](I1lIIi1i=>Ii11iliI[I1lIIi1i])[illlIli1(0x37b,'[2(2')](i1lliiI1=>i1lliiI1);!IIli1li[0x0]&&($[illlIli1(0x2c7,'[2(2')]($['name'],illlIli1(0x24b,'AKso')),process[illlIli1(0x2c6,'DdGb')](0x1));!(async()=>{const iIiiilli=illlIli1,l1IIi1I={'MPmgd':'5|7|3|0|1|4|2|6','woFyz':iIiiilli(0x335,'sT[e'),'FmDxw':iIiiilli(0x329,'A]@R'),'eIlNb':function(illlIll1,iI1II1li){return illlIll1===iI1II1li;},'DPrRn':iIiiilli(0x2b7,'[2(2'),'ARkne':iIiiilli(0x1bf,'zib5'),'acTVb':'⚠\x20请填写格式正确的链接','oeONT':iIiiilli(0x207,'I1i6'),'nTaps':iIiiilli(0x1d5,'a*xz'),'ZuQSr':function(lIl11Iil,IIi1I11I){return lIl11Iil!==IIi1I11I;},'PzLUw':'drBlF','TzYyD':'DpHLl','Vtgsb':iIiiilli(0x391,'a*xz'),'yqyEx':iIiiilli(0x362,'IVIo'),'AChiZ':function(l11l1Ill,IiIliIl1){return l11l1Ill+IiIliIl1;},'OffZy':function(liiIIlIl,iIill1lI){return liiIIlIl<iIill1lI;},'Fkque':function(li1ilI1i,ilIIlIIi){return li1ilI1i+ilIIlIIi;},'xCEQF':function(illI11I1,II1i1lll){return illI11I1(II1i1lll);},'WscUU':iIiiilli(0x3c3,'4p^j'),'NsejF':iIiiilli(0x2fa,'xbUV'),'pLGup':function(Ili1IiI){return Ili1IiI();},'lBJfV':function(iI1Iii,i1lIllIi){return iI1Iii+i1lIllIi;}};if(!IiIlliii){console[iIiiilli(0x25b,'45#k')](l1IIi1I['FmDxw']);return;}const IIIlli11=illlliii['parseUrl'](IiIlliii);if(!IIIlli11){if(l1IIi1I['eIlNb'](l1IIi1I[iIiiilli(0x287,'LWog')],l1IIi1I[iIiiilli(0x1d8,'45#k')]))ll1I1Ii1=IiilllIi+'\x20请求配置参数错误请联系开发者进行反馈Response\x20code\x20'+i1IIiI1+'';else{console[iIiiilli(0x2bb,'I$%s')](l1IIi1I[iIiiilli(0x342,'s#W(')]);return;}}$[iIiiilli(0x1da,'fsZn')]=IiIlliii,$[iIiiilli(0x1bb,'I$%s')]=illlliii[iIiiilli(0x1f8,'9@Fd')](IiIlliii,l1IIi1I[iIiiilli(0x2fd,'hL60')]),$[iIiiilli(0x393,'xMy@')]=illlliii[iIiiilli(0x2ec,'I1i6')](IiIlliii,l1IIi1I[iIiiilli(0x39b,'lNA(')]),$['hostname']=IIIlli11[iIiiilli(0x2f1,'d)sV')],$[iIiiilli(0x343,'ccIz')]=IIIlli11[iIiiilli(0x1ae,'9mvo')];let II11iili='';if($[iIiiilli(0x1c9,'lNA(')]){if(l1IIi1I[iIiiilli(0x2e1,'a*xz')](l1IIi1I[iIiiilli(0x323,'DdGb')],l1IIi1I['TzYyD'])){if($[iIiiilli(0x1e9,'L6wR')]['includes'](l1IIi1I[iIiiilli(0x217,'%E2N')]))II11iili=iIiiilli(0x295,'[97n');else $[iIiiilli(0x387,'cmK0')][iIiiilli(0x245,'hL60')]('lzkj')&&(II11iili=$['pathname'][iIiiilli(0x382,'d)sV')](/\/index$/,''));$[iIiiilli(0x37a,'4p^j')]=iIiiilli(0x265,'#^r@')+$[iIiiilli(0x300,'fsZn')],$['newbaseUrl']=iIiiilli(0x2b3,'IVIo')+$[iIiiilli(0x22c,'[97n')]+'/'+II11iili,$[iIiiilli(0x1cd,'GCv#')]=$['baseUrl'];}else{const I1Il1IIi=l1IIi1I[iIiiilli(0x26f,'9mvo')][iIiiilli(0x316,'YOuX')]('|');let iIIllil=0x0;while(!![]){switch(I1Il1IIi[iIIllil++]){case'0':i1IiilII[iIiiilli(0x3d2,'#^r@')]=Il1l1I?.[iIiiilli(0x29a,'d1bb')]?.['shopId'];continue;case'1':II1I111l[iIiiilli(0x1a6,'LWog')]=lIli11il[iIiiilli(0x2e7,'kyiW')](lIiI11i1['openCardUrl'],l1IIi1I['woFyz']);continue;case'2':lIlilIIl[iIiiilli(0x332,'hL60')]=iliilli[iIiiilli(0x204,'re5%')]?.['joinCodeInfo']?.['joinCode'];continue;case'3':Ii1i1I11[iIiiilli(0x318,'45#k')]=I1IIIill[iIiiilli(0x2e8,'YOuX')]?.['openCardUrl'];continue;case'4':liIIi1li[iIiiilli(0x27f,'DdGb')]=IiII1lli?.[iIiiilli(0x35b,'re5%')]?.['shopName'];continue;case'5':illil[iIiiilli(0x26e,'I1i6')]=IilII1i1?.['data']?.[iIiiilli(0x2d9,'9mvo')];continue;case'6':iiii11il[iIiiilli(0x2e5,'s#W(')]=Il1iil1i[iIiiilli(0x35d,'I1i6')]?.[iIiiilli(0x3aa,'I$%s')]?.[iIiiilli(0x292,'d1bb')];continue;case'7':liIli111[iIiiilli(0x24e,'d)sV')]=IilIlI?.[iIiiilli(0x32f,'CLIs')]?.[iIiiilli(0x1e4,'jdZN')];continue;}break;}}}if(!$['activityId']||!$[iIiiilli(0x2b1,'xbUV')]||!II11iili||!$['hostname']){console['log'](l1IIi1I[iIiiilli(0x296,'YOuX')]);return;}IiIl11il['config']({'title':$[iIiiilli(0x285,'lNA(')]}),console[iIiiilli(0x2d3,'IwP5')](l1IIi1I[iIiiilli(0x340,'xbUV')](iIiiilli(0x1d4,'6!gd'),$[iIiiilli(0x1b2,'r4S3')]));for(let IIliIII1=0x0;l1IIi1I[iIiiilli(0x227,'%E2N')](IIliIII1,IIli1li['length']);IIliIII1++){$['index']=l1IIi1I[iIiiilli(0x2f4,'xuNP')](IIliIII1,0x1),iiiliI1=IIli1li[IIliIII1],I1lill1i=IIli1li[IIliIII1],illlliii['setCookie'](I1lill1i),$[iIiiilli(0x305,'9mvo')]=l1IIi1I['xCEQF'](decodeURIComponent,illlliii[iIiiilli(0x319,'HcIU')](iiiliI1,l1IIi1I[iIiiilli(0x30b,'jdZN')])),$['UA']=illlliii['genUA']($[iIiiilli(0x2ef,'zib5')]),$[iIiiilli(0x244,'ccIz')]=illlliii['genUuid'](l1IIi1I[iIiiilli(0x25e,'xuNP')]),$['te']=Math['floor'](Math[iIiiilli(0x1b0,'I$%s')]()*0x2328)+0x3e8,$[iIiiilli(0x344,'r4S3')]=IiIl11il[iIiiilli(0x2b5,'d1bb')]($['index'],$[iIiiilli(0x2e9,'L6wR')]),$[iIiiilli(0x1d6,'9@Fd')]='',console[iIiiilli(0x298,'6!gd')](iIiiilli(0x3da,'fsZn')+$[iIiiilli(0x228,'%E2N')]+'】'+($[iIiiilli(0x1d0,'fsZn')]||$[iIiiilli(0x2ef,'zib5')])+iIiiilli(0x379,'xTjK')),await l1IIi1I[iIiiilli(0x29d,'gD8Y')](ilII1iIl),illlliii[iIiiilli(0x2c2,'r4S3')]();if($['outFlag']||$['runEnd'])break;}IlIli11I&&IiIl11il[iIiiilli(0x301,'LWog')]()&&(IiIl11il[iIiiilli(0x321,'6!gd')](l1IIi1I[iIiiilli(0x1f4,'DdGb')](IiIl11il[iIiiilli(0x2e2,'DdGb')],'\x0a【活动地址】'+$[iIiiilli(0x388,'GCv#')])),await IiIl11il[iIiiilli(0x29f,'xTjK')]());})()[illlIli1(0x2c8,'9@Fd')](Iliil1i1=>$[illlIli1(0x291,'AKso')](Iliil1i1))[illlIli1(0x3d3,'kyiW')](()=>$[illlIli1(0x3c4,'pa9R')]());async function ilII1iIl(){const iIIl1il1=illlIli1,lliiI1ii={'odbNS':iIIl1il1(0x346,'gD8Y'),'QTVvb':iIIl1il1(0x399,'pa9R'),'YsbaE':iIIl1il1(0x3c5,'pt(&'),'JQHns':iIIl1il1(0x257,'JMvl'),'AlRqQ':function(I11IIiii,IilI1I1i,i1lIiIIl){return I11IIiii(IilI1I1i,i1lIiIIl);},'BmRHo':'获取[Token]失败','fiKMz':function(lIi111ll,ilillli){return lIi111ll(ilillli);},'EQlwI':iIIl1il1(0x1cf,'sT[e'),'uCvRH':'follow','XBBha':iIIl1il1(0x2fb,'d)sV'),'jqgeY':function(Iii1I1iI,IIIi1IIl){return Iii1I1iI===IIIi1IIl;},'BgPou':iIIl1il1(0x3af,'A]@R'),'lJhFt':iIIl1il1(0x1c7,'yyb6'),'pNIAe':iIIl1il1(0x366,'ccIz'),'XOWDK':'加入店铺会员失败,活动仅限店铺会员参与','kgbJR':iIIl1il1(0x2cb,'IVIo'),'AKoNs':'活动仅限店铺会员参与','tcPch':function(l1IIl1l1,Illli1il){return l1IIl1l1!==Illli1il;},'OeURg':'1001','Fsdgk':iIIl1il1(0x27e,'I1i6'),'ePsVl':'/prod/cc/interactsaas','bLQcK':iIIl1il1(0x28b,'GCv#'),'noUex':'glWtL','vuUCn':'获取\x20pinToken\x20失败','iJozE':function(ll1IliIl,llii1i11){return ll1IliIl===llii1i11;},'wtVAg':iIIl1il1(0x1ed,'YOuX'),'xOAGX':iIIl1il1(0x383,'[97n'),'wquOK':function(l1iIlII,iI11111i){return l1iIlII(iI11111i);},'JDrOX':function(IIli1i1,lIllii){return IIli1i1===lIllii;},'hFYzl':iIIl1il1(0x1bc,'xbUV'),'ajTpg':'JVLpt','frOLj':iIIl1il1(0x2a3,'[2(2'),'nXSfQ':function(II1IiiI1,ili1I11I){return II1IiiI1!==ili1I11I;},'UnYhk':function(lllIl11l,IIiiliil){return lllIl11l-IIiiliil;},'wMCfQ':'Epcma','JgXPv':'\x0a【店铺名称】','LATGh':'drawShopGift','UXUOZ':iIIl1il1(0x307,'lNA('),'CybjH':iIIl1il1(0x363,'L6wR')};try{$['skipRun']=![],$['token']='',$['pinToken']='';if($[iIIl1il1(0x21b,'a*xz')]||$[iIIl1il1(0x1c5,'[2(2')])return;$[iIIl1il1(0x32b,'I$%s')]=await lliiI1ii[iIIl1il1(0x369,'gD8Y')](lIIilIlI,I1lill1i,$[iIIl1il1(0x1ea,'I$%s')]);if(!$[iIIl1il1(0x380,'[97n')]){console[iIIl1il1(0x2f6,'re5%')]('获取\x20Token\x20失败'),$['message'][iIIl1il1(0x1ac,'dATB')](lliiI1ii[iIIl1il1(0x2a8,'JMvl')]);return;}await lliiI1ii[iIIl1il1(0x269,'lNA(')](illIili,iIIl1il1(0x1fb,'d)sV'));if($[iIIl1il1(0x320,'d1bb')]||$['outFlag']||$['skipRun'])return;if(!$['token']){console[iIIl1il1(0x259,'fsZn')](iIIl1il1(0x270,'dATB')),$['message']['fix'](lliiI1ii['EQlwI']);return;}await $['wait'](0x1f4);if($[iIIl1il1(0x2cc,'#^r@')]){await illIili(lliiI1ii['uCvRH']);switch($[iIIl1il1(0x333,'lNA(')]){case iIIl1il1(0x2ca,'IVIo'):break;case iIIl1il1(0x3cf,'d1bb'):case lliiI1ii[iIIl1il1(0x1b6,'L6wR')]:if(IiIiI11i){if(lliiI1ii[iIIl1il1(0x33a,'a*xz')](lliiI1ii[iIIl1il1(0x1d7,'pt(&')],lliiI1ii['BgPou'])){const Il1ii1=await illlliii[iIIl1il1(0x286,'jdZN')]($[iIIl1il1(0x1db,'[97n')]);if(Il1ii1)console['log'](lliiI1ii[iIIl1il1(0x1eb,'re5%')]);else{console['log'](lliiI1ii['pNIAe']),$[iIIl1il1(0x24a,'#^r@')]['fix'](lliiI1ii['XOWDK']);return;}}else IlIli['log'](l1Il1lI+'\x20'+iI1Ii11i[iIIl1il1(0x374,'9mvo')]),lIill1I1[iIIl1il1(0x284,'(lea')]['fix'](Iil1[iIIl1il1(0x34e,'4p^j')]),IIIllIiI[iIIl1il1(0x38b,'fsZn')]=!![],['未开始','结束',lliiI1ii[iIIl1il1(0x2dd,'HcIU')],'不在']['some'](i1IIlill=>lliIii1i[iIIl1il1(0x1c4,'yyb6')][iIIl1il1(0x397,'HcIU')](i1IIlill))&&(iI1IIli[iIIl1il1(0x26a,'A]@R')]=!![]);}else{console[iIIl1il1(0x2e4,'9mvo')](lliiI1ii[iIIl1il1(0x21c,'r4S3')]),$[iIIl1il1(0x1b4,'LWog')][iIIl1il1(0x3ba,'jdZN')](lliiI1ii['AKoNs']);return;}break;default:if(lliiI1ii[iIIl1il1(0x20b,'re5%')]($[iIIl1il1(0x38a,'45#k')],lliiI1ii[iIIl1il1(0x2a0,'A]@R')])){console[iIIl1il1(0x31e,'gD8Y')]($[iIIl1il1(0x275,'DdGb')]),$['message']['fix']($[iIIl1il1(0x386,'pt(&')]);return;}break;}if($[iIIl1il1(0x370,'GCv#')]||$[iIIl1il1(0x223,'a*xz')]||$['skipRun'])return;}else{if($[iIIl1il1(0x29b,'YOuX')]||$[iIIl1il1(0x32d,'AKso')]||$['skipRun'])return;console[iIIl1il1(0x254,'d)sV')]('未能获取用户活动状态'),$['message'][iIIl1il1(0x308,'[97n')](iIIl1il1(0x322,'d)sV'));return;}if($['hostname'][iIIl1il1(0x349,'re5%')](lliiI1ii[iIIl1il1(0x37f,'45#k')])&&$[iIIl1il1(0x3dc,'[97n')]['includes'](lliiI1ii[iIIl1il1(0x24f,'[2(2')])){await lliiI1ii[iIIl1il1(0x317,'d1bb')](illIili,lliiI1ii[iIIl1il1(0x27b,'I$%s')]);if(!$[iIIl1il1(0x2b2,'9mvo')]){if(iIIl1il1(0x218,'[2(2')===lliiI1ii[iIIl1il1(0x28a,'jdZN')]){const l11l1lIl=lliiI1ii[iIIl1il1(0x1e6,'pa9R')];return{'err':l11l1lIl,'res':null,'data':null};}else{console['log'](lliiI1ii[iIIl1il1(0x312,'kyiW')]),$['message']['fix'](iIIl1il1(0x3d1,'pa9R'));return;}}await $[iIIl1il1(0x2ad,'d)sV')](0x1f4);}if($['runEnd']||$[iIIl1il1(0x237,'s#W(')]||$[iIIl1il1(0x1d9,'IVIo')])return;if(lliiI1ii[iIIl1il1(0x36d,'I1i6')]($[iIIl1il1(0x2bf,'JMvl')],0x1)){if(iIIl1il1(0x1b7,'s#W(')!==lliiI1ii[iIIl1il1(0x1c1,'xMy@')])I1111i1l({'err':ilIiil11,'res':lIl1lllI,'data':llilill});else{switch($['activityType']){case iIIl1il1(0x29c,'HcIU'):break;case'':console[iIIl1il1(0x1e8,'pt(&')](lliiI1ii[iIIl1il1(0x364,'jdZN')]),$['message'][iIIl1il1(0x310,'zib5')](iIIl1il1(0x2b8,'sT[e')),$[iIIl1il1(0x1e5,'d)sV')]=!![];return;default:console[iIIl1il1(0x1be,'y5rc')]('❌\x20当前活动类型'+$[iIIl1il1(0x36b,'4p^j')]+')暂不受本脚本支持,请联系作者进行反馈!'),$[iIIl1il1(0x205,'9@Fd')][iIIl1il1(0x23f,'A]@R')](iIIl1il1(0x367,'6!gd')+$['activityType']+')不受支持'),$[iIIl1il1(0x37d,'I1i6')]=!![];return;}if($[iIIl1il1(0x1f1,'zib5')]||$[iIIl1il1(0x3a7,'9@Fd')])return;await $[iIIl1il1(0x3a6,'zib5')](0x1f4);}}await lliiI1ii['wquOK'](illIili,'shopGiftMain'),await $[iIIl1il1(0x315,'kyiW')](0x1f4);if($[iIIl1il1(0x26a,'A]@R')]||$[iIIl1il1(0x3a5,'GbY3')]||$['skipRun'])return;if(lliiI1ii[iIIl1il1(0x2b6,'pa9R')]($[iIIl1il1(0x3ce,'4p^j')],0x1)){if(lliiI1ii[iIIl1il1(0x395,'xuNP')](lliiI1ii['hFYzl'],lliiI1ii['ajTpg']))IIliII1I['log']('❓'+iiii1lI1+'\x20'+liI11Iii[iIIl1il1(0x1ba,'ccIz')](iilII1Il)),ll1llIli[iIIl1il1(0x36c,'cmK0')]=!![];else{const III1Iiii=$['activityContent']?.['prizeInfoList']||[];let lI1iIlIl='';for(let IIIIliIl=0x0;IIIIliIl<III1Iiii['length'];IIIIliIl++){const IlIil=III1Iiii[IIIIliIl],Iili11ll=IlIil['prizeName'],II1iiI1=IlIil['prizeType'];lI1iIlIl+=''+Iili11ll+(II1iiI1===0x5?lliiI1ii[iIIl1il1(0x354,'(lea')]:lliiI1ii[iIIl1il1(0x212,'(lea')](II1iiI1,0x3)?'[实物]':'');if(lliiI1ii[iIIl1il1(0x1a9,'fsZn')](IIIIliIl,lliiI1ii[iIIl1il1(0x258,'JMvl')](III1Iiii['length'],0x1))){if(iIIl1il1(0x33c,'fsZn')!==lliiI1ii['wMCfQ']){I1i11i11[iIIl1il1(0x31e,'gD8Y')](lliiI1ii[iIIl1il1(0x2ce,'A]@R')]);return;}else lI1iIlIl+='';}}console[iIIl1il1(0x3bf,'JMvl')](($[iIIl1il1(0x3ac,'lNA(')]?iIIl1il1(0x255,'[2(2')+$[iIIl1il1(0x23e,'jdZN')]+'\x0a':'')+iIIl1il1(0x23d,'L6wR')+$[iIIl1il1(0x335,'sT[e')]+'\x0a活动奖品'+lI1iIlIl+'\x0a'),IiIl11il[iIIl1il1(0x2a4,'lNA(')](IiIl11il[iIIl1il1(0x1df,'JMvl')]+(($[iIIl1il1(0x389,'AKso')]&&lliiI1ii[iIIl1il1(0x247,'CLIs')]+$[iIIl1il1(0x2e6,'xMy@')])+'\x0a【活动奖品】\x0a'+lI1iIlIl));}}if($[iIIl1il1(0x29b,'YOuX')]||$[iIIl1il1(0x1b9,'pa9R')]||$['skipRun'])return;$['flag']=$[iIIl1il1(0x233,'6!gd')]?.[iIIl1il1(0x324,'d)sV')]||![],$[iIIl1il1(0x326,'zib5')]=$[iIIl1il1(0x3b7,'pa9R')]?.[iIIl1il1(0x313,'%E2N')]||0x0,$['activityName']=$[iIIl1il1(0x1fd,'[2(2')]?.[iIIl1il1(0x35c,'CLIs')]||'',$[iIIl1il1(0x1f2,'IwP5')]=$[iIIl1il1(0x28d,'I$%s')]?.['position']||'',$[iIIl1il1(0x398,'DdGb')]=$['activityContent']?.[iIIl1il1(0x2d6,'9mvo')]||'',await lliiI1ii[iIIl1il1(0x276,'pt(&')](illIili,lliiI1ii[iIIl1il1(0x26c,'L6wR')]),await $['wait'](0x1f4);}catch(IiIiII1I){if(lliiI1ii['nXSfQ'](lliiI1ii[iIIl1il1(0x1e3,'zib5')],lliiI1ii[iIIl1il1(0x20d,'d1bb')]))console['log']('❌\x20脚本运行遇到了错误\x0a'+IiIiII1I);else{if(I1lilil[iIIl1il1(0x29b,'YOuX')]||lIiililI[iIIl1il1(0x371,'jdZN')]||Iil11Ii['skipRun'])return;i1l1l1l1['log'](lliiI1ii[iIIl1il1(0x262,'dATB')]),IIlIiii1[iIIl1il1(0x1a7,'yyb6')][iIIl1il1(0x2a2,'kyiW')](iIIl1il1(0x31d,'lNA('));return;}}}async function iiIilIil(l1llllll,i1iIiIII){const lIliI11l=illlIli1,l1III1ii={'JfvAO':lIliI11l(0x274,'GCv#'),'SEUIy':lIliI11l(0x372,'IVIo'),'tVkIo':function(Il1iiIlI,II1ill1){return Il1iiIlI===II1ill1;},'mjFOe':lIliI11l(0x2c0,'lNA('),'dWhBS':lIliI11l(0x3d6,'GCv#'),'YbwCy':function(iii11Ii1,iilI1ii){return iii11Ii1===iilI1ii;},'WhkvJ':'initPinToken','wFkPp':function(i1ii1lII,i11l1lI){return i1ii1lII===i11l1lI;},'pZPVC':function(IIil1I11,iiiIIiI){return IIil1I11!==iiiIIiI;},'GjEMt':lIliI11l(0x2c5,'%E2N'),'gqlwt':function(lil1ilIi,lii1lIlI){return lil1ilIi===lii1lIlI;},'Asdhm':lIliI11l(0x32a,'d1bb'),'yPTks':lIliI11l(0x3b5,'xTjK'),'GCMTe':function(I11i11iI,I1I1l1ii){return I11i11iI(I1I1l1ii);},'KbxFw':lIliI11l(0x1ff,'yyb6'),'GzFYJ':lIliI11l(0x375,'xbUV'),'oDPZa':function(llIlIIl,l1lilIii){return llIlIIl!==l1lilIii;},'szMrE':lIliI11l(0x2ae,'y5rc'),'pYpPi':lIliI11l(0x3d7,'[97n'),'JFEJt':'drawShopGift','BtAPd':lIliI11l(0x2f0,'jdZN'),'mJZDX':'领取失败'};try{switch(l1llllll){case l1III1ii[lIliI11l(0x24c,'d1bb')]:if(l1III1ii[lIliI11l(0x1ce,'4p^j')](i1iIiIII['resp_code'],0x0)&&i1iIiIII[lIliI11l(0x32f,'CLIs')])$[lIliI11l(0x3c9,'(lea')]=i1iIiIII?.[lIliI11l(0x283,'xuNP')]?.[lIliI11l(0x309,'4p^j')],$['joinInfo']=i1iIiIII?.['data']?.[lIliI11l(0x3c7,'4p^j')],$['openCardUrl']=$[lIliI11l(0x240,'CLIs')]?.[lIliI11l(0x318,'45#k')],$[lIliI11l(0x3d2,'#^r@')]=i1iIiIII?.['data']?.['shopId'],$[lIliI11l(0x251,'9mvo')]=illlliii['getUrlParameter']($[lIliI11l(0x235,'IVIo')],l1III1ii[lIliI11l(0x231,'LWog')]),$[lIliI11l(0x381,'s#W(')]=i1iIiIII?.[lIliI11l(0x3c1,'yyb6')]?.['shopName'],$[lIliI11l(0x261,'[97n')]=$['joinInfo']?.['joinCodeInfo']?.[lIliI11l(0x350,'6!gd')],$['joinDes']=$[lIliI11l(0x3a1,'IVIo')]?.[lIliI11l(0x3a0,'ccIz')]?.[lIliI11l(0x2e5,'s#W(')];else i1iIiIII[lIliI11l(0x1f3,'CLIs')]?(console[lIliI11l(0x254,'d)sV')](l1llllll+'\x20'+i1iIiIII['resp_msg']),$['message'][lIliI11l(0x26b,'ccIz')](i1iIiIII['resp_msg']),$[lIliI11l(0x2af,'I$%s')]=!![]):console[lIliI11l(0x3bd,'%E2N')]('❓'+l1llllll+'\x20'+JSON[lIliI11l(0x356,'[97n')](i1iIiIII));break;case l1III1ii[lIliI11l(0x2c1,'sT[e')]:if(l1III1ii['YbwCy'](i1iIiIII[lIliI11l(0x271,'xbUV')],0x0)){}else i1iIiIII['resp_msg']?(console[lIliI11l(0x1d2,'#^r@')](l1llllll+'\x20'+i1iIiIII[lIliI11l(0x2c9,'AKso')]),$[lIliI11l(0x34f,'IVIo')]['fix'](i1iIiIII[lIliI11l(0x3ab,'JMvl')]),$['skipRun']=!![]):console['log']('❓'+l1llllll+'\x20'+JSON[lIliI11l(0x35e,'4p^j')](i1iIiIII));break;case l1III1ii[lIliI11l(0x373,'dATB')]:if(l1III1ii['wFkPp'](i1iIiIII['resp_code'],0x0)&&i1iIiIII[lIliI11l(0x1d3,'6!gd')]){i1iIiIII=JSON['parse'](i1iIiIII['data']);if(i1iIiIII[lIliI11l(0x30f,'kyiW')]===0x0&&i1iIiIII['data'])l1III1ii[lIliI11l(0x3cc,'s#W(')](l1III1ii[lIliI11l(0x3a3,'xuNP')],l1III1ii[lIliI11l(0x33f,'yyb6')])?Ilil1lIl[lIliI11l(0x1d1,'9mvo')]=!![]:($['pinToken']=i1iIiIII?.[lIliI11l(0x1c2,'kyiW')]?.[lIliI11l(0x2ff,'xTjK')],$[lIliI11l(0x3b2,'fsZn')]=i1iIiIII?.['data']?.[lIliI11l(0x385,'CLIs')]);else{if(l1III1ii['gqlwt'](i1iIiIII[lIliI11l(0x311,'45#k')],0x3e8))console[lIliI11l(0x23b,'sT[e')](l1llllll+'\x20'+i1iIiIII[lIliI11l(0x3ab,'JMvl')]),$['message']['fix'](i1iIiIII[lIliI11l(0x39a,'A]@R')]),$[lIliI11l(0x31c,'re5%')]=!![];else{if(i1iIiIII['resp_msg']){if(l1III1ii['YbwCy'](l1III1ii[lIliI11l(0x263,'sT[e')],'zBwOb')){if([0x193,0x1ed][lIliI11l(0x39d,'9@Fd')](IIIIilI))iIl11li=iI1iIllI+lIliI11l(0x359,'L6wR')+ll1ilII1+'',IlIi11i=!![];else[0x190,0x194]['includes'](IIii11ii)?lIllilII=li1111Ii+lIliI11l(0x264,'sT[e')+i1iI1IlI+'':Il1IIii=l1i11Ii1+lIliI11l(0x2fe,'45#k')+li11ilI1+'';}else console[lIliI11l(0x334,'zib5')](l1llllll+'\x20'+i1iIiIII['resp_msg']),$['message']['fix'](i1iIiIII[lIliI11l(0x341,'jdZN')]),$[lIliI11l(0x294,'AKso')]=!![];}else console[lIliI11l(0x36f,'xbUV')]('❓'+l1llllll+'\x20'+JSON['stringify'](i1iIiIII)),$['skipRun']=!![];}}}else console['log']('❓'+l1llllll+'\x20'+JSON[lIliI11l(0x2ac,'yyb6')](i1iIiIII));break;case l1III1ii[lIliI11l(0x1c0,'pa9R')]:if(i1iIiIII[lIliI11l(0x2cf,'6!gd')]===0x0&&i1iIiIII[lIliI11l(0x37c,'[97n')])$[lIliI11l(0x2b0,'JMvl')]=i1iIiIII[lIliI11l(0x221,'HcIU')]?.[lIliI11l(0x200,'gD8Y')],$['actEndTime']=i1iIiIII[lIliI11l(0x3b0,'y5rc')]?.[lIliI11l(0x250,'xuNP')],$[lIliI11l(0x34b,'LWog')]=i1iIiIII[lIliI11l(0x283,'xuNP')]?.[lIliI11l(0x2a6,'GbY3')],!$[lIliI11l(0x1cc,'[2(2')]&&($[lIliI11l(0x290,'s#W(')]=l1III1ii[lIliI11l(0x23c,'I1i6')](String,i1iIiIII[lIliI11l(0x2ed,'hL60')]?.[lIliI11l(0x25a,'pt(&')]||''));else i1iIiIII['resp_msg']?(console[lIliI11l(0x303,'r4S3')](l1llllll+'\x20'+i1iIiIII['resp_msg']),$[lIliI11l(0x357,'HcIU')]['fix'](i1iIiIII[lIliI11l(0x33d,'[97n')])):console[lIliI11l(0x2f6,'re5%')]('❓'+l1llllll+'\x20'+JSON[lIliI11l(0x21f,'%E2N')](i1iIiIII));break;case lIliI11l(0x377,'d)sV'):if(l1III1ii['gqlwt'](i1iIiIII['resp_code'],0x0)&&i1iIiIII[lIliI11l(0x314,'9mvo')])$[lIliI11l(0x1fd,'[2(2')]=i1iIiIII[lIliI11l(0x221,'HcIU')];else{if(i1iIiIII['resp_msg'])console[lIliI11l(0x36e,'GCv#')](l1llllll+'\x20'+i1iIiIII['resp_msg']),$['message'][lIliI11l(0x1bd,'xuNP')](i1iIiIII['resp_msg']),$[lIliI11l(0x358,'xMy@')]=!![],[l1III1ii[lIliI11l(0x1b1,'hL60')],'结束',l1III1ii[lIliI11l(0x278,'s#W(')],'不在'][lIliI11l(0x1dc,'a*xz')](I1li1lii=>i1iIiIII[lIliI11l(0x3d8,'GCv#')][lIliI11l(0x241,'pt(&')](I1li1lii))&&(l1III1ii[lIliI11l(0x1f0,'xbUV')](l1III1ii[lIliI11l(0x2c4,'yyb6')],lIliI11l(0x2e0,'%E2N'))?$[lIliI11l(0x226,'s#W(')]=!![]:IIIli1II['te']=I11ll11i);else{if(l1III1ii[lIliI11l(0x35f,'d1bb')]('aMfCv',l1III1ii[lIliI11l(0x353,'JMvl')]))console[lIliI11l(0x2a9,'pa9R')]('❓'+l1llllll+'\x20'+JSON[lIliI11l(0x297,'xbUV')](i1iIiIII)),$[lIliI11l(0x1b8,'9@Fd')]=!![];else{ii1iI1iI[lIliI11l(0x3db,'4p^j')](lIliI11l(0x3cb,'6!gd')),IIIliII[lIliI11l(0x2a1,'ccIz')][lIliI11l(0x1bd,'xuNP')](l1III1ii[lIliI11l(0x1fa,'(lea')]);return;}}}break;case l1III1ii[lIliI11l(0x1f5,'xMy@')]:if(i1iIiIII[lIliI11l(0x3a9,'#^r@')]===0x0)console['log'](lIliI11l(0x1ab,'pt(&')),$[lIliI11l(0x3d0,'cmK0')][lIliI11l(0x203,'pa9R')](lIliI11l(0x38e,'re5%'));else i1iIiIII['resp_msg']?l1III1ii['wFkPp'](lIliI11l(0x277,'GbY3'),l1III1ii[lIliI11l(0x2a5,'lNA(')])?i1iI1111['log'](lIliI11l(0x2de,'JMvl')+iiiI1lIl+lIliI11l(0x38c,'[2(2')+(IlIi11il['message']||il1IIlI)):(console[lIliI11l(0x224,'[2(2')](''+i1iIiIII['resp_msg']),$[lIliI11l(0x2a1,'ccIz')][lIliI11l(0x39f,'cmK0')](i1iIiIII['resp_msg']),['未开始','结束',l1III1ii[lIliI11l(0x3bc,'d1bb')],'不在'][lIliI11l(0x2d4,'GbY3')](lil1i1ii=>i1iIiIII[lIliI11l(0x3ab,'JMvl')]['includes'](lil1i1ii))&&($[lIliI11l(0x1fe,'xTjK')]=!![])):(console[lIliI11l(0x2bb,'I$%s')](l1III1ii[lIliI11l(0x22e,'gD8Y')]),$[lIliI11l(0x357,'HcIU')]['fix'](l1III1ii[lIliI11l(0x20f,'xMy@')]));break;}}catch(IIlliil1){console[lIliI11l(0x298,'6!gd')](lIliI11l(0x1b5,'CLIs')+l1llllll+lIliI11l(0x1ec,'[97n')+(IIlliil1[lIliI11l(0x1ef,'CLIs')]||IIlliil1));}}async function illIili(IlIliIII){const l1lIIIlI=illlIli1,li11iii1={'CyrvM':'领取失败','wdqXu':function(lI11i1iI,iiIlIlii){return lI11i1iI===iiIlIlii;},'qKPcu':function(IilI1IiI,lilIii11){return IilI1IiI+lilIii11;},'RDZuV':l1lIIIlI(0x3b1,'gD8Y'),'WbphJ':function(iillIiI,Ii1111II){return iillIiI===Ii1111II;},'DBVRF':l1lIIIlI(0x21a,'zib5'),'YfccN':l1lIIIlI(0x3b9,'IVIo'),'zZbWf':function(liIlllli,lIl1IIi){return liIlllli-lIl1IIi;},'CNpOe':function(ll11lilI,lII1I){return ll11lilI(lII1I);},'AVGRM':l1lIIIlI(0x378,'kyiW'),'dbOAZ':'login','WdBSy':l1lIIIlI(0x34d,'[97n'),'RPDGe':'initPinToken','rdzGk':'GET','nSHzj':l1lIIIlI(0x355,'YOuX'),'Axmpl':'shopGiftMain','XOkMT':'/api/shopGift/shopGiftMain','JAsxt':l1lIIIlI(0x1cb,'dATB'),'RbSMG':l1lIIIlI(0x1c6,'a*xz'),'InDyP':l1lIIIlI(0x339,'re5%'),'bGPQz':'application/json;charset=UTF-8','rwdrZ':'empty','Ykxwp':function(I1iIiIll,I11Iil1l){return I1iIiIll===I11Iil1l;},'EhXwT':'Content-Type','fzoEh':l1lIIIlI(0x30e,'jdZN'),'lShxB':'iKhkg','IeaNx':function(I1III,l1ll1iii,il1iiIll){return I1III(l1ll1iii,il1iiIll);},'EfZUi':function(Il1iilI1,i1IiIl1l){return Il1iilI1===i1IiIl1l;},'yRcDi':l1lIIIlI(0x249,'L6wR'),'WtdLB':l1lIIIlI(0x3a4,'GbY3'),'qqgKQ':'Timeout\x20awaiting\x20\x27request\x27','eTboo':function(IlilllI,l11lili){return IlilllI===l11lili;},'VzEbT':l1lIIIlI(0x246,'A]@R'),'NzyBK':function(llll1lll,Ill111i1){return llll1lll===Ill111i1;},'dtDET':l1lIIIlI(0x1f9,'IwP5'),'fPMxO':function(ili11ii1,iiiill1I){return ili11ii1!==iiiill1I;},'UGXkh':l1lIIIlI(0x3b4,'s#W('),'gIcbk':'1|4|5|0|3|2','kXNdM':l1lIIIlI(0x3b6,'xTjK'),'tGhnn':'Bedbz','KxmMV':l1lIIIlI(0x22d,'IwP5'),'ALXlB':'CoAyF','hlzNW':'DaUmM'};if($[l1lIIIlI(0x368,'CLIs')]||$[l1lIIIlI(0x2b4,'45#k')])return;let i1Il11Il=$[l1lIIIlI(0x2bc,'4p^j')],iIi1l1II={},liiii1i=li11iii1[l1lIIIlI(0x234,'pa9R')];switch(IlIliIII){case li11iii1['dbOAZ']:i1Il11Il+=l1lIIIlI(0x360,'pt(&'),iIi1l1II={'status':'1','activityId':$[l1lIIIlI(0x280,'%E2N')],'tokenPin':$[l1lIIIlI(0x253,'A]@R')],'source':'01','shareUserId':$[l1lIIIlI(0x288,'pa9R')]||'','uuid':$['UUID']};break;case l1lIIIlI(0x299,'AKso'):i1Il11Il+=li11iii1[l1lIIIlI(0x1b3,'pa9R')];break;case li11iii1['RPDGe']:liiii1i=li11iii1[l1lIIIlI(0x2ea,'9@Fd')],i1Il11Il+=l1lIIIlI(0x2ab,'CLIs')+$[l1lIIIlI(0x20e,'d)sV')]+l1lIIIlI(0x2b9,'IwP5')+$['jdToken']+l1lIIIlI(0x3c8,'A]@R')+($['shareUserId']||'')+l1lIIIlI(0x3c6,'GCv#')+$[l1lIIIlI(0x34a,'L6wR')]+l1lIIIlI(0x20c,'I1i6')+Date['now']()+'&shopId='+$[l1lIIIlI(0x2c3,'d)sV')];break;case l1lIIIlI(0x268,'4p^j'):i1Il11Il+=li11iii1['nSHzj'],iIi1l1II={'activityId':$[l1lIIIlI(0x27a,'(lea')]};break;case li11iii1[l1lIIIlI(0x282,'gD8Y')]:i1Il11Il+=li11iii1[l1lIIIlI(0x209,'45#k')];break;case'drawShopGift':i1Il11Il+=l1lIIIlI(0x1a4,'IwP5'),iIi1l1II={'flag':$[l1lIIIlI(0x1e0,'xbUV')],'memberUser':$[l1lIIIlI(0x30a,'LWog')],'name':$[l1lIIIlI(0x352,'d1bb')],'position':$[l1lIIIlI(0x2f7,'#^r@')],'visitor':$[l1lIIIlI(0x213,'CLIs')]};break;default:console[l1lIIIlI(0x2f9,'ccIz')](l1lIIIlI(0x273,'GCv#')+IlIliIII);return;}const IIi1ii1l={'url':i1Il11Il,'headers':{'Accept':l1lIIIlI(0x1e7,'sT[e'),'Accept-Encoding':li11iii1[l1lIIIlI(0x219,'AKso')],'Accept-Language':li11iii1[l1lIIIlI(0x267,'xTjK')],'Connection':li11iii1['InDyP'],'Content-Type':li11iii1[l1lIIIlI(0x396,'ccIz')],'Cookie':l1lIIIlI(0x31a,'re5%')+$[l1lIIIlI(0x2d7,'IwP5')]+';\x20'+($['pinToken']?l1lIIIlI(0x39e,'xuNP')+$['pinToken']:'')+($['te']?l1lIIIlI(0x1af,'xuNP')+$['te']:''),'Host':$['hostname'],'Origin':$[l1lIIIlI(0x225,'A]@R')],'Referer':$['activityUrl'],'Sec-Fetch-Dest':li11iii1['rwdrZ'],'Sec-Fetch-Mode':l1lIIIlI(0x1ad,'[97n'),'Sec-Fetch-Site':l1lIIIlI(0x3c0,'sT[e'),'User-Agent':$['UA']},'body':JSON['stringify'](iIi1l1II),'timeout':0x7530};$[l1lIIIlI(0x2df,'kyiW')]&&(IIi1ii1l['headers']['token']=$[l1lIIIlI(0x309,'4p^j')]);li11iii1[l1lIIIlI(0x29e,'xTjK')](liiii1i,li11iii1[l1lIIIlI(0x3b8,'[97n')])&&(delete IIi1ii1l[l1lIIIlI(0x1de,'lNA(')],delete IIi1ii1l[l1lIIIlI(0x220,'d)sV')][li11iii1[l1lIIIlI(0x2db,'[97n')]]);const IlIlll1=0x5;let llIIIi1i=0x0,iIi1ilIl=null,IIIIli1l=![];while(llIIIi1i<IlIlll1){if(li11iii1[l1lIIIlI(0x236,'I$%s')](li11iii1[l1lIIIlI(0x336,'JMvl')],li11iii1[l1lIIIlI(0x2dc,'IVIo')]))il1I1iIi['log'](li11iii1['CyrvM']),Iill111[l1lIIIlI(0x2be,'gD8Y')][l1lIIIlI(0x1c8,'JMvl')](li11iii1[l1lIIIlI(0x3bb,'cmK0')]);else{llIIIi1i>0x0&&await $[l1lIIIlI(0x35a,'xuNP')](0x3e8);const {err:l1111ii1,res:ilII1iIi,data:I1il11l}=await li11iii1[l1lIIIlI(0x211,'(lea')](il11lli1,IIi1ii1l,liiii1i);if(l1111ii1){if(li11iii1[l1lIIIlI(0x1a8,'d)sV')](l1lIIIlI(0x33e,'kyiW'),li11iii1[l1lIIIlI(0x306,'xTjK')])){if(typeof l1111ii1===li11iii1[l1lIIIlI(0x215,'L6wR')]&&l1111ii1[l1lIIIlI(0x248,'xuNP')](li11iii1[l1lIIIlI(0x281,'AKso')]))iIi1ilIl=IlIliIII+l1lIIIlI(0x302,'r4S3');else{if('goxAD'==='goxAD'){const iliii1II=ilII1iIi?.[l1lIIIlI(0x216,'d1bb')];if(iliii1II){if([0x193,0x1ed][l1lIIIlI(0x1aa,'JMvl')](iliii1II))iIi1ilIl=IlIliIII+l1lIIIlI(0x202,'yyb6')+iliii1II+'',IIIIli1l=!![];else{if([0x190,0x194][l1lIIIlI(0x3d9,'sT[e')](iliii1II))iIi1ilIl=IlIliIII+l1lIIIlI(0x34c,'y5rc')+iliii1II+'';else{if(li11iii1[l1lIIIlI(0x2ee,'45#k')](li11iii1[l1lIIIlI(0x2d1,'IwP5')],l1lIIIlI(0x22f,'DdGb')))iIi1ilIl=IlIliIII+'\x20请求失败Response\x20code\x20'+iliii1II+'';else{const iIlii=I1ii11i1[l1lIIIlI(0x2d8,'kyiW')]?.['prizeInfoList']||[];let I1ilIiii='';for(let Ill1lii1=0x0;Ill1lii1<iIlii[l1lIIIlI(0x1ee,'I1i6')];Ill1lii1++){const Ii1iiIil=iIlii[Ill1lii1],i1i1ii1i=Ii1iiIil['prizeName'],IIii1ii=Ii1iiIil['prizeType'];I1ilIiii+=''+i1i1ii1i+(li11iii1['wdqXu'](IIii1ii,0x5)?l1lIIIlI(0x2f8,'%E2N'):IIii1ii===0x3?l1lIIIlI(0x289,'%E2N'):''),Ill1lii1!==iIlii['length']-0x1&&(I1ilIiii+='');}I1ill['log']((I1i11l['shopName']?'店铺名称:'+ill11lI[l1lIIIlI(0x210,'CLIs')]+'\x0a':'')+l1lIIIlI(0x328,'GbY3')+iiiIilIi[l1lIIIlI(0x1c3,'xuNP')]+l1lIIIlI(0x337,'sT[e')+I1ilIiii+'\x0a'),iIi1iiIl[l1lIIIlI(0x1fc,'r4S3')](li11iii1['qKPcu'](Il111III[l1lIIIlI(0x230,'IwP5')],(iiIiiIiI[l1lIIIlI(0x26d,'cmK0')]&&li11iii1[l1lIIIlI(0x3ad,'#^r@')](li11iii1[l1lIIIlI(0x351,'I1i6')],lIiIi11i[l1lIIIlI(0x304,'[2(2')]))+'\x0a【活动奖品】\x0a'+I1ilIiii));}}}}else{if(li11iii1[l1lIIIlI(0x266,'a*xz')]('QfbXY',li11iii1['dtDET'])){const IIill1iI=Ii11lllI[IiI1l],iiliIl1l=IIill1iI[l1lIIIlI(0x330,'I1i6')],lii1lll1=IIill1iI[l1lIIIlI(0x30c,'jdZN')];ll11ll11+=''+iiliIl1l+(li11iii1[l1lIIIlI(0x2e3,'I1i6')](lii1lll1,0x5)?li11iii1['DBVRF']:lii1lll1===0x3?li11iii1['YfccN']:''),IiII1i1l!==li11iii1[l1lIIIlI(0x21e,'I1i6')](i1Ii1II['length'],0x1)&&(I1IIll11+='');}else iIi1ilIl=IlIliIII+l1lIIIlI(0x2aa,'HcIU')+(l1111ii1[l1lIIIlI(0x1dd,'y5rc')]||l1111ii1);}}else IiiIi111['message'][l1lIIIlI(0x23f,'A]@R')](IiIllIi1);}llIIIi1i++;}else{i1Illl1I['log'](liIiillI[l1lIIIlI(0x345,'xTjK')]),l1liII11[l1lIIIlI(0x361,'sT[e')][l1lIIIlI(0x3b3,'4p^j')](il1IIlil[l1lIIIlI(0x2f3,'9@Fd')]);return;}}else{const IiII1l1i=illlliii[l1lIIIlI(0x256,'45#k')](ilII1iIi),il1I1IIi=![];if(il1I1IIi){if(li11iii1['fPMxO'](l1lIIIlI(0x3d5,'L6wR'),li11iii1[l1lIIIlI(0x25c,'s#W(')]))li11iii1[l1lIIIlI(0x242,'pt(&')](i1ll1lll,{'err':lIi11i1i,'res':II1I1iI1,'data':iI1lI1Ii});else{const iIi1ll1l=li11iii1[l1lIIIlI(0x28f,'y5rc')][l1lIIIlI(0x2f2,'hL60')]('|');let iIlIII1I=0x0;while(!![]){switch(iIi1ll1l[iIlIII1I++]){case'0':console[l1lIIIlI(0x222,'IVIo')]('🔧\x20'+IlIliIII+'\x20请求参数');continue;case'1':console['log'](li11iii1['kXNdM']);continue;case'2':console[l1lIIIlI(0x384,'AKso')](li11iii1['kXNdM']);continue;case'3':console[l1lIIIlI(0x208,'jdZN')](IIi1ii1l);continue;case'4':console[l1lIIIlI(0x3bf,'JMvl')]('🔧\x20'+IlIliIII+'\x20响应Body\x20=>\x20'+(I1il11l||'无')+'\x0a');continue;case'5':console[l1lIIIlI(0x2bb,'I$%s')](l1lIIIlI(0x338,'IVIo')+IlIliIII+l1lIIIlI(0x31f,'JMvl')+(IiII1l1i||'无')+'\x0a');continue;}break;}}}switch(IlIliIII){case li11iii1['RPDGe']:const ill1iI1i=illlliii[l1lIIIlI(0x347,'pt(&')](IiII1l1i,'te');ill1iI1i&&(li11iii1['eTboo'](li11iii1[l1lIIIlI(0x3a2,'6!gd')],'Bedbz')?$['te']=ill1iI1i:iIi1[l1lIIIlI(0x2da,'IwP5')]=li11iii1[l1lIIIlI(0x392,'xMy@')](lllliiIi,liI1I1il[l1lIIIlI(0x2ed,'hL60')]?.[l1lIIIlI(0x27c,'JMvl')]||''));break;}if(I1il11l){if(li11iii1[l1lIIIlI(0x38d,'r4S3')]===li11iii1[l1lIIIlI(0x22b,'pa9R')])ilI11IIl['log'](Iil11liI+'\x20'+ilIIII1i[l1lIIIlI(0x272,'hL60')]),ii1ill1[l1lIIIlI(0x2bd,'jdZN')]['fix'](li11l1l1[l1lIIIlI(0x331,'zib5')]),li11iI1i[l1lIIIlI(0x23a,'I1i6')]=!![];else try{const l1il1Ii1=JSON[l1lIIIlI(0x279,'9@Fd')](I1il11l);li11iii1[l1lIIIlI(0x1a5,'I1i6')](iiIilIil,IlIliIII,l1il1Ii1);break;}catch(lilII1i){if(li11iii1[l1lIIIlI(0x252,'sT[e')]!==l1lIIIlI(0x20a,'zib5'))iIi1ilIl='❌\x20'+IlIliIII+'\x20接口响应数据解析失败:\x20'+lilII1i[l1lIIIlI(0x214,'45#k')],console[l1lIIIlI(0x3a8,'9@Fd')]('🚫\x20'+IlIliIII+l1lIIIlI(0x31b,'L6wR')+li11iii1['CNpOe'](String,I1il11l)),llIIIi1i++;else return new i1lIlii(async i1Ii1il=>{const lliilII=l1lIIIlI;l111liIl[lliilII(0x394,'a*xz')](iliiiiI,(I1I1IlI1,IIlliil,IlIii1ll)=>{i1Ii1il({'err':I1I1IlI1,'res':IIlliil,'data':IlIii1ll});});});}}else iIi1ilIl='❌\x20'+IlIliIII+'\x20接口无响应数据',llIIIi1i++;IIIIli1l=![];}}}llIIIi1i>=IlIlll1&&(console[l1lIIIlI(0x37e,'CLIs')](iIi1ilIl),IIIIli1l&&($['outFlag']=!![],$[l1lIIIlI(0x201,'dATB')]&&$[l1lIIIlI(0x3cd,'kyiW')][l1lIIIlI(0x2d0,'45#k')](iIi1ilIl)));}function I1l1ili(){const lIi1II=(function(){return[...[version_,'UjdsuPjAPiPaLmIrUid.QHcXoImq.GeLv7ULybEA==','WO7dGKDhW5O','rSoMeSoHWPhdNq4','44g25O6c56sZ44oW6k2Q5yEj6iYA5y+SWQn5W6DMsxa','fCkDWQhcNSo8','WQbeiq','wN7dK8oBE33dLfe','WQn9kMBdGa','W4/cV8oAjCk0W4VdNq','bmo5bCobWPpdKmobWP8','nW3cH3FcHa','WP/dMN8WW5NcVuS','xh7dNq','5BMr6zox5zgu56Ea7762','a8ocWRxcMCkCWP3dQmknl0RdVKmjW79KWODA','5P6J6ioV6iYd5y+a55wR5OUn5Rsm5yQ354Us5Ocx','W5X8W61+ka','lxtdHa','AJ5amcldS8kK','cmoiWQy','WOxcS8kNWRFdKq','DbZdT8owWPJdTLW','W6tcOSoBg8kB','xGtcUSkHWPDUW5ye','WOiMW48o','W7mhW7rLW6Xjjmog','WQyeWRmZW4S','hHlcMvhcVG','F+IULUAYV+MfToE+VEwmS+AuQ+MwHUIVJo+/SEIVQoIaM+EXQUw9OUwmPEIdPUI8LoIGUownOUMMHU++HwVdMmouWRm2WRLnrCkFWOBcQCkZfCkY','q8o3fCoIWOpcGetcIa','AhpcOtfP','W7blW6n2hW','W7KYWPBcUmo0qCkxWQul','WQ3cOSo+WPJcQG','WOFdI0uAW5ZcVa','vrZcGW','WOddRgfVW4i','mW1JWP/cVSk5W6FcOa','F8opb8o3W5e','p8ombSocWPi','5P+g6ikO6i2m5y6l55Aq5OMt6yIA5PYa5lYq5Ok5776+','WOvGWQv5tmkiwZ7cMa','h1BcR8kyWP1WW5Cp','4P2ThEACS+EER+IVSEAXNc4','5yQb5ywy5BQo6zkW5lYC5zgg5As/6lAc772X5REC5yM05lUi6zMG5BMM6zcd5l285zcY5y+85lQg','WOuglt13DHW','Btr/kse','ySkHWQyPaq','WPFcJSk5WOxdSW','DshcGConhq','W6tdGmogW4uHcmo9W5SXla','W43dH2vnWP4','W6HXW4bcoSkkuG','W7FdHSobW5Widmo6W4u','z8oAb8o4','WPWbkYn9CGjm','EbRdSmomWO/dUe3dQqzj','fYnUWQRdJa','BCocWOqNWPW','W47cSmokea','W6JdHSobW582bSoS','WQxcQSoyWRa','WOX3WOhcQu/cUSodW4VcKhpdTSkrdYe','p8kMW5xdGdu','i8kpW4FcVJjiWPVdTCoDWQeN','qUwVP+ElRCo4','WOH3WR3cOMq','sfnWpLz3ymoZeSkmWRLJ','W77dM8kzWQNdL8ovDCodW7RdQvtcJdNcMCkdWRmpWOTk','W47dQebhWQpdUZRcRWRcMCoHW5xcUmkBua','WPNdKuW','W7HGWOFdV8kk','WRhcL8klWRxdJ8oFDCotW4hdVGVcGW','cJ1UWQtdR8oZ','lmk3WP3cUCobW6vT','WRDhW7T+W4ffnmokW4VdPmoqDcL4nSojtCkKW7JdLtrIbq','ftLGWPhdJ8o0W4m','W7GyW614WObplSoxW4hdUmkEzdG','W6pcVXnnkW','WOrXWQrGFCkmxtZcHa','CbVdIq','ad1LWO3dSSo2','iSk5WOdcTG','W6JcUWrnpCkG','db/dI2iY','xmo2WQ4IWOa','W7TcW4Hmka','W5jCW4nt','WRRdM34nW5u','xHdcIeXkWRLx','WQVdKCoQ','WP3KUl7KU7lKU4FdSq','WR7cU8orWRtcPgqYp8okWPOAWQnD','WONcV8o0WOxcTa','AmkpWRyFiCoaW7xcV8ox','WPSBmty','W4T/W6zEla','pmkiW4e','hEIVMoAYUEwLPUI0RWb2FhG','WQRdOCk1W554WP3cGLtcPvfZomo7FmohAunfrCoCkCoWts7dJ8o4shxcGmo3FbxdUYZcHIrbW7tdVvpdGwfyWRVcPSksbsu','lCk+WO45WRGJd8oQWQq','r3ddK8ob','W6TrWPldPCkh','W5ZdOf1EWOFdPYa','W6HXW4bfn8kBrwSWF8oFW5C','WPzMWQjGzCkcqcpcQvZdLwe','aSo1bCoXWPNdICoTWPu','q1zGWOD0v3L1','c8osWRxcJCkvWO/dVW','jCkQWPhcTSoXW6u','gSkJW5tcGW8','WOT7chFdOq','5P216ikC6i2k5y+V5REO5yMz57cG5zYu','W4WXACkNWRRdKZRdHCo+','fdddQuqrW6K2WQtdTZShxCki','W4pdPfm','W7u2WPlcS8o2E8kCWPywbq','WOT9WPVcTh3cTCoj','qCoFWPOKWPfNWPC','W6b8W5bZoW','WR3cRSoBWRhcTxm4na','oZBcLxVcGa','W7FcQeDEWQuSWP4rW5dcTtW','q3NdLCofE3C','lCkWWReIWPm','tJddVCoKWQG','WOOrlsC','WQTEpG','zIhcH8oDea','fdD6WPhdGSoSW55D','gHiKW4m','5Rsq5yQk5lUr6zQN5BQq6zkx5l2m5zcc5y+c5lMg5zg2Aa','qCoScmo8WRpdLq/dGG','sSocWPxcQ2Wux2D9WQv0bG','WQZdJuK+W7C','BHhdNtDfW79pAmoI','aSooWRK','WRWHsmkrWOe','tHdcKSoYfG','WOy0AG','ESkdWQ8P','W4y1W6CXj8oDbdhcHuddVgZcVq','bmo1gmomWOldJCo6','WOa/wCkCWR7dNte','WQZdM8oMfmocWPpdKCoOvshdN1aDW7TK','bSoZamoaWPG','WOS4ECkAWQpdKsVdKSkxWQZcVSkJ','W5WaW4v8W7S','r3f8WO9f','uKVcMrLz','4P+fmUAENUIdQ+ASOoEILowKS+EqMuq','WRNdL8o5gmoA','xI7dVSobWQS','FhZcIsbq','WOWgkIDwFrS','xmochmo6W7u','hSoZda','WRRcM8kwWRldVCotCG','W5ldGmkbW7VdHhj6WPe','WQRdNCoMkmogWPBdTCoWzc/dNeemW7bI','W7dcOqnMgSkQW7RdVG','WPNdNLbAW6rjWQCg','DYtcICo5eW','D8oSW4BdRSkYWRbmprhdSGFcHq','BmofgmohW40ayebTWR97a8oZDSkc','cvlcQmkj','aCoZWQpcPmkw','WRm0W54DfmkcWQ7cNq','WQLZWQlcPw4','wh7dICobxhldN1S','hKpcSmkbWRy','BY/cMSoqpmknWP4','W6ZcUSopbmk4','W7FdRSkuW7JdRG','WRSZuq','w8oSeSo7WOtdKWtdIq','qUs5QUs4R+s5KSkK','xXRcNa','WO99WQ5XA8kttclcHv3dNxZcSGLUwSkkb8obbmo5esH5DdNdQMqHW6NcTGWfbhldUSkZaCotqW','ashcISkd','sSkcWQaaiG','aLBcK8kMWPy','roITKoAYG+wNUUI3No+/PSokWOCYsCo0BHxdTs/cJva1may','W5jaW55Vn8kfWPy2','kxtdKamsW43cSeG','hmktW5pdNZ5xFKDGWRC','WQlORlhMSBBOTR7MLkFVVApORiBMOR7MNz7NVO3NUOxPHlpORjO','W67cQvm','WRvfnKddOIzbWR8','j8oVdSoxWRJdG8oLWP4'],...(function(){return[...['W5T7W5n/mq','WQ7cNmoxWPpcIq','W78bW6u','W688WO7cTmo5','fSktW4RdSd5wwfvIWQa','WRfRWOVcKKK','WPzQWOhcVxNcHSovW4VcUa','A1hdJWRdOSobAmoODSk6sahdVa','WRn9WORcKKu','WR/dNCoHdCoRWPNdISo1CW','WOaUW4m','fSocWRlcU8kMWO3dT8kgja','WRVdJCohpSoA','DbZdQCohWPZdO2ZdOYPF','fSo9h8oe','WRRdMCo7cq','W6NcVGzHjW','imkXWR/cMSo/','c8oxWQtcPCk6WO/dQSkgfeVdTW','wKRcJXrLtYaRpCkPWRrzdNi','WP4VqbzBsdWNW6G','W6ZcKaSi','WQq3xZjMvJC','5P+H6ic26iYc5yYd55E45OI25Rwk5yU454Is5OoV','qmovWO4','WQNLK5/LUkbvlmkvxhybnSkpWOXq','nmkTWPRcKSoRW6q','AqtdIIzUW7LJy8oPaSoLWPpcIW','5PYA6ioS6iYn5y2J55sA5OIK5RAj5yQw54QD5OkN','WR8tcaze','vN3dM8os','WPpcNSoyWRNcVImJWROuErzbha','WOSIW5ynp8krWPBcI8o1WQi','f23dKs8P','5BQE6zcw6zc85O+P772pW4NdTCk+W5r/thxcTCkhymkEW7aLF8omWPOfWRZdRCkTW5jJwuFdNtuIW6nKq8kPWRe','4PMvWP7OR5ZLHjFLRkJKUPhLV6dOPBZNMipNJQRLO5/LJ5JPHiVLKAZLH7lOVldOOzpOHzhMNOi','jmkXWQpcKCoj','W4xdR2bbWR7dTYa','Cvq8W5JdImoGWRldS27cLSohWPpdPqy','csD9WQFdSCoGW4O','lSkLWO8K','W6hdOCkXW5y','E8osbCoOW5OIuuX6','WPqIW4GFbCkoWRdcNW','b1ZcTCkgWOfYW4an','WQhcPmoCWRVcK24vnq','WOOOW5W','kqtcK13cTSkdeSo7','W69OW5TtkW','vEA1MUwjLEwLR+wqKU+/QW','8jwKHtq','WRW5uZizqJuGWQpdHq','thJcVXz7','Ean7WRVcK8kHW4K','bgVdGbOD','W6SnW657W7blm8oe','WO/dL8oGeSoe','gCkGWRKDWQi','WRzgWR5Gsq','WPr9WPVcT0pcV8oFW5W','WRhcL8kRWORdMW','qXtcJ1DfWR9FFq','W6/cO0DiWRaiWPq','W4HgW5LvhmklWOa','5lIH5A+I5z+b','BdHajZtdRmkQlmk3lSoed2hdPG','WOa/uSkFWQ/dKZxdTmkVWRRcVmkJdmo8W6HvWPhcVmkLcmocd3RdPmkcW64nph/dPa','WR4Yvs5brZW6','WPNdUhXS','gSkvW5pdGs9fEvn0','WR/OR57MSQBPH5dNVO/LJjdMLlxPLyVORiNVVPdORkROGPxNS6hLVOxLJAJOG4FOVQpOOOZLJ5/PPyVVVy5ZWO3cHSkKWPxcUhmHf8kKWOFcM8oYW5i','WRyjW61IWObsiCoqW4/cPCkzAcb6pCo0wSkcW7JdKxjIe04+mmoI','W6K2WPBcOCoizCkkWQq','rKDNWOrMcJm','DHVdHYLzW7neAq','wCoKnSoNW6K','j8k7WOdcVSoZW6LQbsxdPcpcSq','W7LlW4rgkG','W6pdKCo9W6a9','WRxcRXPHFmkLW7/dPCkWpColmhRdVCoEmNVcOqJdG1m','W6OCW69IW4fbkCofW50','ueRcIcrRrY4','W5ldG8khW7VdMgz5','W6ZORzRMSBFLPjNOTO/VVktcGZpOO6xPMBFLIl/VVQuqW68Ny8onWOddIunybI02iam','W53cSmoxbq','WRm9qIm','W6VdOCkOW5i','yCopbCo8W7ycvK4','W6GNWPFcUmo5B8kqWQuD','iCkPWPJcOmoX','jdXedxtdTSkYimkGvComdxldRmoeECoTW5BcVCkt','mGtcJKRcSSkwpG','4PQlaUIVO+wINowgNUAHKEw9MEASUEEHRUEBJownIoMhMq','WQFdOMD7W60','WP5xWQNcGeq','W7ZcImkJrCkaW4ZcLCo6BIVdQeWp','5yQt5ysq5BMS6zof5lYX5zkg5Asd6ls977Y+5Rwt5yMN5lIj6zQh5BMC6zgm5l655zoQ5y6n5lU15zcLWRm','5RsN5yUC57ov5z+m77Ys','W7FdTCkRW7i5WOW','BCowWRSMWQe','ue7cIW','W7OWWPhcUmoHyCknWROWemoaWPK','mW5LWP/cOSkTW6q','ySoQa8oOW7O','tvj+','WPTQWRe','u0H3d2H6','WOLTWPZcGxdcS8ol','r01ZWP5P','WRS9WPaRW7i','amo5gmovWQNdJ8o7WPW','5lU65A2D5z++','W4VdVNPNWQW','q3NdLCofDxRdLePMW4CPWO0','WP3dT8obkq','WOGdWPOrCSoeW7K','W7KYWPBcTmocESkv','WQbenutdItu','W70jW6LQ','ECovaSoxW5ei','W6NdR8kI','iSouWQxcRmks','W7mmW4LKW4rdlG','WQpcNmkqWQZdT8oxBmop','qNtdISozu3ddLW','5P6Z6ikv6iYQ5y+D5RAu5yQo57c75zYO','cJ1U','W6ddRSkMW4uUWPJcHwhcVHi','ytjDcH/dPSkY','kaP/WPVcNSk5W6FcOa','qf5Ti3b3ESoEkmkvWRa','ftPMWPhdK8oGW4bF','dSoiWQJcPCk6WOhdVmkh','mNddIGCUW5NcSW','W6BOR5RMSjVLK73LUlHN','W4NcVLL2WOC','6Agr5y6k5OIM5yUD','stBdL8oX','dLJdIdqV','sMBcQHzdWRbSWOhdTYSewCkLmv/dNmofWQRdVq','W6ldPSkEW4tdRW','W4ddI8kAW6ldVhPJWO0rtb5V','vMBcQWC','W4dcOmozfmke','utlcQ25r','vehcMdT/rc4X','WPKanZPhFb0','5lMD5PEi5O6N55Mi6k6G5RgF5Pwr5Rgf','WOFdM1GVW63cTvBcMG','WQxcN8ouWQxcOW','jxjEabJdRmkUlSk7hq','Bc7cKmosdCkmWOHm','WPhcOCoQhSk2W4pdLSow','jGX0','wrRcKLfOWRfwFxSgWQNcOW','qu19WPLoaZa1','AdpdHIL0','W63cU8o7pmkP','ESkyWRaLo8og','zSkzWRykoCoaW6y','WPeMW5iB','AJxcH8o4fmkjWOO','As/cLa','wCoMeSoIWQ/dMqtdG2O','W4xdPf1aWPBdVsRcSWdcMmoPW44','W7T3W4DMhmkxrhG','WRJcO8oAWQxcNMaCnq','wSoimCoXWOu','WQpdNhSqW5C','WRJdQL8jW6y','W7TiWPddVa','jUocQUw5VUMsREwtVEENSoodOW','jhxdGaufW5ZcQx1MuW','W706WP0','WQBcO8kRWR/dQa','W4biW4nso8kNWP0+W4W','WQGeWP0wDCodW551WO7cVCoJWQdcSNnhxSoSgCo8W4pcI8kpxNbftCorWOK0qfj7tXhdM8k2WRNdUr/dKmkkWQbarrpcTmoQuSowqqJcGmox','mCkeW5lcPsf0WPZdQCoSWOCTxCodySo1','W6SmW6DmW4q','CowUVoEjVCkQ','WObXWPa','aXX+WPNcVq','aCkIWRlcJSop','DrBdOW','W4eZW64+j8kawZVcRMtdGW','W6v9W5m','ladcKfZdVSkEkCo2rmkuCq','oSkRWOGX','p20gv2RcS8oYmSkhp8oYlxK','W6SNWRRcOCo+zG','nmkiW4JcQq'],...(function(){return['4PQRFEIVG+wGJ+whGUAIV+w/JUASPUEIVoEBVownVEMgRa','b0HSi2iJ','W7e8WOZcV8oEzSkFWQW','W5pdJuqQW4dcU0ddGmk3nhPZWQWddCkfsJJdIWimW60z','W7hdJmozW4K5','WRy3WQ4iW7q','5yQ85ysr5BI56zk95lYa5zoe5Asr6lsP776l5Rwn5yIO5lI46zQV5BU76zcW5l+D5zct5yYI5lIY5zcGta','WQdcRSkVWORdUG','WQddNCoHdSovWP3dGa','W7i9WOhcTmoV','D8oOW4tdOG','lqb/WPZcKCk/W68','6i+N5yYXW73cVd5ZWRZdV8oeWO0TDowML+I0Qq','wmoRdSoIWRNdNG','WQVdKCo8hmoyWPBdNa','natcHeO','WRRdUMflW7S','r1j1jMLP','W7GLW7TiW5K','u1HQoLLZFCoa','nG/cNLxcPSkvpSoS','sZhcIv1wWOBdT+w8REwNHooaREs5PEs7H+I0UUwpRq','W7C8WOi','W6KjW6LJW4fhlCog','W4u6FCkAW7RdIZFdHmkZWPlcP8kGgCk/W5nuWPJcPmkgj8oeguNdKSkQW7u','qSofdCoCW4C','dCktW4NdTJ5wrei','m8kVWO8JWRCJaW','DxFdOmoGwW','l0pdSbeT','W6b8W5D6nSkEuMW','8j2/LbtPO6lLJO3MIPpLIz4','WOO8WOm','W7OhW694','aSo9h8onWPJdG8oLWP4','WPhcPCoBta','W53dQLPkWRRdVW','jLhcPmkUWRu','W6pcPubsWQCgWOuhW67cRJu','b8kdW6tcNY4','fSktW5tdOtPdAa','4P+jWQdMN6/OGyRMRltNOOBLP7xNKlFdTW','WPtdR3DaW4S','WRlcSmkuWRNdMG','DIVcMSookSkDWOm','p8ksW5lcIJT8WO8','qahcIvzfWRLBFKS','W47dQebhWQpdUZRcRWdcKG','WObjWRj/vW','W4ZcUmog','W7ngWOm','WPa+W58PaW','kCk3W7lcPYq','W5BdNmk4W4RdRq','WQNdMCoMha','W5ZcTmoqfCk4W5tdSCkp','lmkVWO8GWOKPfCoR','WQLylxBdGczl','xghdTtbSW7b8WO3cRZTugCoQyrtdL8kgW7xdI20JWOtcSsBcLCo3W4mJoSoYWQNdJmoCqmojf3NdVGBcICohWOj2gmkcWQpcMW','5yU+5yAV5BMR6zkQ5l+m5zcC5OM25yIt','W697W4W','WQpcPmogWQhcVMaCnq','W4qYWRbarSkyrJy','WOSVWPiTWPrecIBcL8k6W55ir3/dGmkMxG','WQDolvNdMI5yWQpdKsmxEa','tK9Wlw9W','W68fWO7cMmo4','5P216ikC6i2k5y+V55E75OUg6yIV5P+C5l+c5Oks','l3ldGbWYW43cSeG','amoPbCoGWPJdHG','r8oSbG','EbxdMIy','5RsN5yUC5yEl5y6K77Ya','r2RcRbPuWRvYWPZdGdmzta','AYNcKmovnSkjWObA','stPKcY4','jCo1WQRcPCkC','weL9WODvgdG','ihJdLX4kW4xcQvrAt8kL','W68nW7nVW4PucCoh','vwBcTry','W7jmWPFdRSkaWRuG','WQNcPmorWQW','W6P9W5PIjSkuqW','WPfPWRDU','yc7cHq','hbmHWQ1acY8rqG','WRmFW64Gaa','WOX3WOhcQvxcVmokW5q','qMtdLmoWxhC','aCkZW7dcUJu','pHhcJvxcUSksoSoRsSksCwddUXhcM8knW6nuW5TRW7vnWPldL8kVomk+uaZcN8opW6NdVq','zZjt','WQtdGKzCW4rjWQCg','W43dQKDlWOddOci','WRSwxGra','WRNORP/MS5/LK4BLUlSg','W7JcIGfTma','z8ofaSo1W4Se','W6JdPCk2W4q2WO/cLa','WPHbWOztCG','WPqYW5uQnmkh','WPO0FSkAWQhdKtddHq','W7FdPCk2W4CiWOxcGLy','WOmRdJvL','W6VdRSkRW4hdVG','W7PhWPi','W43cHv94WOi','yIxcH8oRcSkeWR1Eu193fM0AW4q','WQi+zmkQWRO','W4/dHCoeW60y','xh7dNCoCxa','W7FcTLbAWQukWRirW5xcQdZcKmk7','WQDolvNdMI5yWQpdHJujACkGn8oP','W5bCW55+nSkk','5P205B+k5As3','x8ooWOGLWOruWPS5fq','WOeWWOGUW5KdcW','FUISVEAYVUwLOEI3S++9Ic/dNoIHTUMyH+wiOE+8MSkeW6XZbIDvcmodWO4hW5CehXG','nSkoW54','WR0ZxYX9tt8M','AcxcGmongCkpWOG','5lIr5PwB5O6V55Ud6k+T5RoE5PAz5Roz','ASodgmo7W4KfrfHwWRO','WOP3WO8','pmoOWQRcHSkT','WQ8wW4Shga','WQm/zIfC','lCodamo7W5Ocrhv2WRnZwW','bCkHWPBcVCon','uxldJSoCrhRdHKDIW4i','W4ZdOSk0W4/dKG','W7BdQmkQW4CzWONcNfq','W4ZdHSotW6iV','W6/dKSovW4Ko','W7pdQCk2W54JWOFcGW','cCocWRlcUmkyWONdVq','WPVdMvfKW6G','nCkSWPxcO8oWW7nDeW/dOa','tW3dO8owWPS','WPrdlL7dIG','lbn6WPNdQq','WR3KUztKUjdKUPGh','vhZcTJzmWRG','W6NcOvzXWOm','nwNdLHi','CCo6dSofW5K','AG3dTSomWPFdTLddTJy','whtdM8orv2hdGq','wu7cJZy','r01Z','sxZcRdvoWR1H','WQPcpG','WPRdJei4W5VcTG','WQlcGCkrWPNdL8os','vH/dOSo/WOa','CbFdOmoaWOe','DHddSsTGW7Dku8oRgCoYWPJcNGdcLCk0i8kptmkbw0X5n2pcU8om','WRFdKx00W7C','eCkRW77cObu','W7ehW65/W4fhlCog','WPWcACkfWQW','qCoWWRmtWQG','WP0gbsP6','WOK0y8khWRddLIS','fSkCW6hdNt4','W51QomkPWPldNIBdOmkb','FrFdMI5SW7vuDCoegCoUWONcMGlcVG','eCkXW6hcNHO','rfjXWPLedcq+vtRdVa','W7BdOeXzWQu','WR/cGCklWPRdLCoxzG','BmoZkmorWRW','C3jJa0i','EmolbCoIW60zxG','mW7cMG','tmoJiCogW5O','5BMB6zgx6zol5O6n776Wqmk+fZ5um8kcBCo5phZdKSoaW5CieGfSmsPoemo8WPWHWQO8pNXdoSkq','WPvWWOFcT1lcS8obW54','WPpdL1m','W6/dR8kSW5KEWOBcL14','yJnxcc7dP8kKnG','sbnekZ4','db3cUHnMEdiK','zIdcSNS','bf3cV8keWRD5W4eB','WOFdKwOMW7S','W4/dP8kDW6CH','W4pcV8oDhCkOW4ldNCky'];}())];}())];}());I1l1ili=function(){return lIi1II;};return I1l1ili();};async function il11lli1(II11I1I,IIilll1='POST'){const llIl1iIl=illlIli1,IilIIlll={'zkKZr':function(i1I1IIli,II1lIlII){return i1I1IIli(II1lIlII);},'sMKZG':llIl1iIl(0x327,'fsZn'),'GpICL':'RNfJP','VFzsd':llIl1iIl(0x3ae,'A]@R'),'CnbLw':llIl1iIl(0x3ca,'dATB'),'OCkCS':function(IliillIi,iilIill){return IliillIi===iilIill;},'RUBHg':llIl1iIl(0x38f,'%E2N'),'duNIy':'GET','YOWWF':function(l111li11,i11liliI){return l111li11!==i11liliI;},'PPhZh':llIl1iIl(0x239,'GCv#'),'KPaLn':llIl1iIl(0x22a,'A]@R'),'peVWm':llIl1iIl(0x206,'6!gd')};if(IilIIlll[llIl1iIl(0x1f7,'r4S3')](IIilll1,IilIIlll['RUBHg']))return new Promise(async iIIIiiII=>{const Iiiil1ii=llIl1iIl;if(IilIIlll['sMKZG']===IilIIlll[Iiiil1ii(0x238,'#^r@')]){i1iiil1I[Iiiil1ii(0x384,'AKso')]('⚠\x20请填写格式正确的链接');return;}else $[Iiiil1ii(0x32e,'yyb6')](II11I1I,(i1Illil1,I111iIIl,i1III1ll)=>{IilIIlll['zkKZr'](iIIIiiII,{'err':i1Illil1,'res':I111iIIl,'data':i1III1ll});});});else{if(IilIIlll[llIl1iIl(0x390,'fsZn')](IIilll1,IilIIlll[llIl1iIl(0x376,'I$%s')])){if(IilIIlll['YOWWF'](IilIIlll['PPhZh'],IilIIlll[llIl1iIl(0x2d2,'9@Fd')]))return new Promise(async i11lliI1=>{$['get'](II11I1I,(IllI1i1i,liIli1il,iiiiilIl)=>{const I1lll1il=i1Iillil;IilIIlll[I1lll1il(0x2f5,'xMy@')]!==IilIIlll[I1lll1il(0x2fc,'GbY3')]?i11lliI1({'err':IllI1i1i,'res':liIli1il,'data':iiiiilIl}):iili1III['activityContent']=iiiIIl1[I1lll1il(0x260,'zib5')];});});else iiIII1li[llIl1iIl(0x28e,'A]@R')](lI1Il1II+'\x20'+I1i1iIIi['resp_msg']),i1lII1[llIl1iIl(0x25d,'%E2N')][llIl1iIl(0x24d,'[2(2')](ili1IIl[llIl1iIl(0x27d,'(lea')]),lIIiIi1i[llIl1iIl(0x2af,'I$%s')]=!![];}else{const lI1iIIll=IilIIlll['peVWm'];return{'err':lI1iIIll,'res':null,'data':null};}}}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)}