forked from WLZJ/KR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_lzkj_loreal_shopGift.js
21 lines (17 loc) · 57.7 KB
/
jd_lzkj_loreal_shopGift.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
活动名称:店铺礼包(超级无线)
活动链接: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 lI1I1i=iii1II;(function(lIl1li,Il1I1,lIilii,lIilil,lIl1ll,Ii111,Ii1III){return lIl1li=lIl1li>>0x3,Ii111='hs',Ii1III='hs',function(ilIIi1,l111i,l111l,I1iilI,Ii1II1){const Ili1I1=iii1II;I1iilI='tfi',Ii111=I1iilI+Ii111,Ii1II1='up',Ii1III+=Ii1II1,Ii111=l111l(Ii111),Ii1III=l111l(Ii1III),l111l=0x0;const lilili=ilIIi1();while(!![]&&--lIilil+l111i){try{I1iilI=parseInt(Ili1I1(0x43d,'W]m*'))/0x1*(-parseInt(Ili1I1(0x284,'WBIT'))/0x2)+parseInt(Ili1I1(0x39b,'%ae2'))/0x3+-parseInt(Ili1I1(0x3a1,'Ib]9'))/0x4*(-parseInt(Ili1I1(0x201,'#O]Y'))/0x5)+-parseInt(Ili1I1(0x343,'y20F'))/0x6+-parseInt(Ili1I1(0x373,'NKaU'))/0x7*(-parseInt(Ili1I1(0x31c,'VGMf'))/0x8)+-parseInt(Ili1I1(0x42b,'^qZ('))/0x9*(parseInt(Ili1I1(0x420,'ianw'))/0xa)+-parseInt(Ili1I1(0x23c,'#wZz'))/0xb*(-parseInt(Ili1I1(0x1f1,'t76s'))/0xc);}catch(IliIli){I1iilI=l111l;}finally{Ii1II1=lilili[Ii111]();if(lIl1li<=lIilil)l111l?lIl1ll?I1iilI=Ii1II1:lIl1ll=Ii1II1:l111l=Ii1II1;else{if(l111l==lIl1ll['replace'](/[RQGtqyMDFefhuJVPbEXI=]/g,'')){if(I1iilI===l111i){lilili['un'+Ii111](Ii1II1);break;}lilili[Ii1III](Ii1II1);}}}}}(lIilii,Il1I1,function(lI1ilI,IllliI,IliIll,iIiili,lilill,IilI1,l1lI1){return IllliI='\x73\x70\x6c\x69\x74',lI1ilI=arguments[0x0],lI1ilI=lI1ilI[IllliI](''),IliIll=`\x72\x65\x76\x65\x72\x73\x65`,lI1ilI=lI1ilI[IliIll]('\x76'),iIiili=`\x6a\x6f\x69\x6e`,(0x14712b,lI1ilI[iIiili](''));});}(0x638,0x87619,Iii11l,0xc9),Iii11l)&&(version_=lI1I1i(0x2e9,'(X[y'));const ll11l1=require('./jdCookie'),ll111=require(lI1I1i(0x2d3,'YSRB')),llliII=require(lI1I1i(0x1d7,'ianw')),iiIiIl=require(lI1I1i(0x251,'WE*h')),{wuxianDefense:IlI1l1}=require(lI1I1i(0x389,'ianw')),liIliI=process['env']['jd_lzkj_loreal_shopGift_url']||'',llii1I=process[lI1I1i(0x1e1,'W]m*')][lI1I1i(0x42c,'bcWP')]===lI1I1i(0x35e,')&zA'),iiIiIi=process['env'][lI1I1i(0x31e,'Ip[6')]===lI1I1i(0x24c,'b7RM');let l1lll1='',IilI='';const liIlli=Object[lI1I1i(0x354,'qTAA')](ll11l1)['map'](Ilii1=>ll11l1[Ilii1])[lI1I1i(0x283,'ianw')](ll11i1=>ll11i1);!liIlli[0x0]&&($[lI1I1i(0x313,'WAqg')]($[lI1I1i(0x21a,'KMP0')],'【提示】请先获取Cookie'),process['exit'](0x1));!(async()=>{const liI1II=lI1I1i,ili1I1={'cGZWd':liI1II(0x3cd,')[tv'),'kTvNt':'apps/interact','mcwVr':liI1II(0x447,')[tv'),'GBUUh':function(liIllI,ll11i){return liIllI(ll11i);},'BgLCp':liI1II(0x2bf,'l0DD'),'IGFya':function(iI1lI1,I1I1li){return iI1lI1!==I1I1li;},'SIfqH':liI1II(0x43f,'$Jo@'),'tZbsy':liI1II(0x20c,'Tz4F'),'DFZol':'activityId','QiwzB':function(l1i11,IlI1li){return l1i11===IlI1li;},'NJBhH':liI1II(0x347,'eUp0'),'AnkEw':liI1II(0x29a,'5hKs'),'QxthY':function(IlI1ll,ll11l){return IlI1ll+ll11l;},'zpZKy':function(III111,liIll1){return III111<liIll1;},'eVLUU':liI1II(0x25f,'Ib]9'),'ieYCX':liI1II(0x3d5,'RGsM'),'QHabc':'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','UqCEK':function(l1llli,iI1lII){return l1llli*iI1lII;},'jfevD':function(ll11iI){return ll11iI();},'gsPhD':function(l1i1I,l1llll){return l1i1I+l1llll;}};if(!liIliI){if(ili1I1[liI1II(0x367,'bcWP')](ili1I1[liI1II(0x2af,'y20F')],liI1II(0x2e8,'N^WP'))){console['log'](ili1I1[liI1II(0x2df,'O75Z')]);return;}else{if(I1iIl1['hostname'][liI1II(0x264,'W]m*')](ili1I1[liI1II(0x23e,'Ib]9')]))i1iliI=ili1I1['kTvNt'];else lI1Il1[liI1II(0x2ed,'l0DD')][liI1II(0x265,'24$1')](ili1I1[liI1II(0x269,'ianw')])&&(I1iIii=IllII1[liI1II(0x229,'Q]*k')][liI1II(0x3d2,'Iy[a')](/\/index$/,''));IliI1I[liI1II(0x20b,'LUHf')]=liI1II(0x213,')@yQ')+lI1Iii['hostname'],i1li[liI1II(0x2d9,'Q]*k')]=liI1II(0x232,'DXAZ')+li1II[liI1II(0x25d,'^51&')]+'/'+IliI11,i1ll['origin']=i1l1lI[liI1II(0x3b8,'^51&')];}}const Iill=ll111[liI1II(0x326,'!ab(')](liIliI);if(!Iill){console['log'](liI1II(0x362,'k$hl'));return;}$[liI1II(0x3de,'WE*h')]=liIliI,$[liI1II(0x36e,'Tz4F')]=ll111['getUrlParameter'](liIliI,ili1I1['DFZol']),$['activityType']=ll111['getUrlParameter'](liIliI,liI1II(0x297,'k$hl')),$[liI1II(0x3bf,'VGMf')]=Iill['hostname'],$['pathname']=Iill[liI1II(0x2d4,'!ab(')];let ili1II='';if($[liI1II(0x26d,'D[4f')]){if(liI1II(0x1fa,'l0DD')!==liI1II(0x342,'WAqg')){if($['hostname']['includes'](ili1I1[liI1II(0x353,'$Jo@')]))ili1II=ili1I1[liI1II(0x207,'YSRB')];else $[liI1II(0x2fb,'sCfS')][liI1II(0x1e4,'CASy')](ili1I1[liI1II(0x40e,'N^WP')])&&(ili1II=$[liI1II(0x246,'bcWP')][liI1II(0x412,'$Jo@')](/\/index$/,''));$[liI1II(0x24b,'RGsM')]='https://'+$['hostname'],$['newbaseUrl']='https://'+$[liI1II(0x2a1,')&zA')]+'/'+ili1II,$['origin']=$[liI1II(0x2e4,'$Jo@')];}else IliiiI=Ill11+liI1II(0x3c6,'D[4f');}if(!$[liI1II(0x274,'l0DD')]||!$[liI1II(0x2b3,'Ib]9')]||!ili1II||!$[liI1II(0x38f,'LUHf')]){if(ili1I1[liI1II(0x2aa,'qTAA')](liI1II(0x202,'ianw'),ili1I1[liI1II(0x39f,'U((G')]))ili1I1[liI1II(0x266,'4I#c')](iliIii,{'err':lill1i,'res':il1li,'data':iIIill});else{console[liI1II(0x394,'24$1')](ili1I1['AnkEw']);return;}}llliII['config']({'title':$['name']}),console[liI1II(0x254,'LUHf')](ili1I1[liI1II(0x3f3,'bcWP')](liI1II(0x33e,'#wZz'),$['activityUrl']));for(let IIIIli=0x0;ili1I1[liI1II(0x2ac,'^51&')](IIIIli,liIlli[liI1II(0x1cc,'KMP0')]);IIIIli++){if(ili1I1[liI1II(0x453,'!ab(')](ili1I1['eVLUU'],ili1I1[liI1II(0x1dd,'[#sJ')])){$[liI1II(0x203,'%ae2')]=IIIIli+0x1,l1lll1=liIlli[IIIIli],IilI=liIlli[IIIIli],ll111[liI1II(0x44e,'DXAZ')](IilI),$[liI1II(0x36c,'DXAZ')]=decodeURIComponent(ll111[liI1II(0x1c7,')[tv')](l1lll1,'pt_pin')),$['UA']=ll111['genUA']($[liI1II(0x3aa,'LUHf')]),$['UUID']=ll111[liI1II(0x3bc,'4I#c')](ili1I1[liI1II(0x3af,'24$1')]),$['te']=Math[liI1II(0x429,'CASy')](ili1I1[liI1II(0x3d9,'CASy')](Math[liI1II(0x3dd,'N^WP')](),0x2328))+0x3e8,$['message']=llliII[liI1II(0x3c9,'DXAZ')]($['index'],$['UserName']),$[liI1II(0x426,'LUHf')]='',console[liI1II(0x3b4,'sCfS')](liI1II(0x267,'CYMI')+$[liI1II(0x458,'Iy[a')]+'】'+($['nickName']||$[liI1II(0x20f,'Iy[a')])+liI1II(0x304,'Iy[a')),await ili1I1[liI1II(0x23b,'LUHf')](lil11),ll111[liI1II(0x42d,'U((G')]();if($[liI1II(0x2d0,'YSRB')]||$[liI1II(0x26b,'RGsM')])break;}else{Iii111['log'](liI1II(0x330,'eUp0')),l1l1II['message'][liI1II(0x1f6,'KMP0')](ili1I1['BgLCp']);return;}}iiIiIi&&llliII[liI1II(0x3d6,'D[4f')]()&&(llliII['updateContent'](ili1I1[liI1II(0x1e8,'%ae2')](llliII[liI1II(0x3a8,'Ip[6')],liI1II(0x279,'sCfS')+$[liI1II(0x233,')@yQ')])),await llliII[liI1II(0x3f9,'N^WP')]());})()['catch'](lil1l=>$[lI1I1i(0x21d,'(X[y')](lil1l))[lI1I1i(0x214,'[#sJ')](()=>$[lI1I1i(0x33a,'%ae2')]());async function lil11(){const i1Iii1=lI1I1i,lllIl={'hxsdU':function(Iliii,illlii){return Iliii<illlii;},'ZPTzh':function(I1lIIi,l1i1i){return I1lIIi===l1i1i;},'QvdFy':function(I1iI1i,l1i1l){return I1iI1i!==l1i1l;},'nxQUF':function(I1iI1l,illlil){return I1iI1l+illlil;},'EHlQb':function(Iliil,I1lIIl){return Iliil(I1lIIl);},'IQKRw':function(l1ilI1,l1l1Il){return l1ilI1(l1l1Il);},'xlgXK':function(lil1I,l1l1Ii){return lil1I(l1l1Ii);},'ZzsyW':function(IIIIlI,l1i11l,liiil1){return IIIIlI(l1i11l,liiil1);},'edDel':'ZpgXO','RFFeU':'获取[Token]失败','wAvjF':function(lllII,l11iII){return lllII(l11iII);},'ztRpO':i1Iii1(0x42a,'b7RM'),'cTNMm':'未能获取用户鉴权信息','nZeyh':'follow','Vghgp':i1Iii1(0x3e0,'LUHf'),'RbEpT':function(l1i11i,l11iI1){return l1i11i(l11iI1);},'HWGhQ':'1006','GBmpn':i1Iii1(0x241,')[tv'),'nqxEh':i1Iii1(0x2ca,')&zA'),'obSOT':function(IliiI,lI111i){return IliiI!==lI111i;},'kltna':'BDnVq','Apnvd':i1Iii1(0x314,'#O]Y'),'tgGUR':i1Iii1(0x236,'$Jo@'),'uBGDu':i1Iii1(0x20e,'WAqg'),'DsJHu':i1Iii1(0x250,'k$hl'),'jIsUL':function(I1lIII,liIlll){return I1lIII!==liIlll;},'DieuB':i1Iii1(0x3f7,'KMP0'),'qtHnP':i1Iii1(0x2f1,'sCfS'),'DHLJE':function(I1iI1I,illll1){return I1iI1I(illll1);},'GPwFq':i1Iii1(0x2bc,'WAqg'),'cYgij':'获取\x20pinToken\x20失败!','MgLbI':function(IIIIl1,liiilI){return IIIIl1===liiilI;},'uVyht':'10058','DgBvL':i1Iii1(0x298,'6D)%'),'CTmGH':function(lI111l,liiii1){return lI111l===liiii1;},'OfuXk':'owbuZ','JqYdS':function(IIiiIl,l1ilIl){return IIiiIl<l1ilIl;},'pWlqw':function(IIiiIi,l1ilIi){return IIiiIi===l1ilIi;},'dmHcF':i1Iii1(0x43c,'y20F'),'AnjZR':function(l11iIi,ll11li){return l11iIi===ll11li;},'UEfmJ':i1Iii1(0x3e1,'NKaU'),'SqLOI':function(iliIlI,lI111I){return iliIlI-lI111I;},'jOMfw':i1Iii1(0x3a2,'KMP0')};try{$['skipRun']=![],$[i1Iii1(0x1d6,'y20F')]='',$['pinToken']='';if($['runEnd']||$[i1Iii1(0x244,'y20F')])return;$[i1Iii1(0x333,'4I#c')]=await lllIl[i1Iii1(0x3c7,'U((G')](iiIiIl,IilI,$[i1Iii1(0x38a,'ianw')]);if(!$[i1Iii1(0x2a4,'Ib]9')]){if(lllIl[i1Iii1(0x451,'l0DD')]===i1Iii1(0x408,'D[4f'))i11I1I[i1Iii1(0x2a8,'y20F')]=l1il1i['data'];else{console[i1Iii1(0x38b,'NKaU')](i1Iii1(0x1cf,')@yQ')),$[i1Iii1(0x271,'VGMf')][i1Iii1(0x407,')&zA')](lllIl[i1Iii1(0x3c8,'U((G')]);return;}}await lllIl['wAvjF'](lllI1,'login');if($[i1Iii1(0x24f,'eUp0')]||$['outFlag']||$[i1Iii1(0x328,'U((G')])return;if(!$[i1Iii1(0x23a,'DXAZ')]){console[i1Iii1(0x28f,'W]m*')](lllIl[i1Iii1(0x2dc,'l0DD')]),$['message'][i1Iii1(0x3be,'WAqg')](lllIl[i1Iii1(0x2be,'YSRB')]);return;}await $[i1Iii1(0x3e9,'qTAA')](0x1f4);if($[i1Iii1(0x2d7,'DXAZ')]){switch($['joinCode']){case'1004':await lllIl[i1Iii1(0x22c,'24$1')](lllI1,lllIl[i1Iii1(0x36d,'Q]*k')]),await $['wait'](0x1f4),await lllIl[i1Iii1(0x377,')Z3z')](lllI1,lllIl['Vghgp']);if($[i1Iii1(0x364,'$Jo@')]||$[i1Iii1(0x245,'VGMf')]||$[i1Iii1(0x352,'O75Z')])return;await $['wait'](0x1f4);break;case'1005':await lllIl['RbEpT'](lllI1,i1Iii1(0x2a2,'LUHf')),await $['wait'](0x1f4),await lllIl[i1Iii1(0x23f,'WE*h')](lllI1,lllIl[i1Iii1(0x2a3,'^51&')]);if($[i1Iii1(0x235,'^qZ(')]||$[i1Iii1(0x270,'6D)%')]||$[i1Iii1(0x1d9,'4I#c')])return;await $['wait'](0x1f4);case lllIl['HWGhQ']:if(llii1I){const llIi1=await ll111[i1Iii1(0x2ee,'D[4f')]($[i1Iii1(0x21b,')Z3z')]);if(llIi1){if(lllIl['GBmpn']!==lllIl[i1Iii1(0x41b,'k$hl')]){const II1l=i1illi[i1Iii1(0x363,'Q]*k')]?.[i1Iii1(0x457,'5hKs')]||[];let liiiiI='';for(let II1i=0x0;lllIl[i1Iii1(0x3cf,'U((G')](II1i,II1l['length']);II1i++){const illli1=II1l[II1i],I1lII1=illli1['prizeName'],Ill111=illli1['prizeType'];liiiiI+=''+I1lII1+(lllIl[i1Iii1(0x3b3,'Ib]9')](Ill111,0x5)?i1Iii1(0x368,'!ab('):Ill111===0x3?i1Iii1(0x30d,')@yQ'):''),lllIl[i1Iii1(0x2b6,'DXAZ')](II1i,II1l[i1Iii1(0x262,'#O]Y')]-0x1)&&(liiiiI+=',');}i1illl[i1Iii1(0x210,'#O]Y')]((I1llil[i1Iii1(0x319,'WAqg')]&&'店铺名称:#'+I1llii[i1Iii1(0x3c4,'^51&')]+'\x0a')+i1Iii1(0x432,')@yQ')+lilIll[i1Iii1(0x3fd,'t76s')]+'\x0a活动奖品:'+liiiiI+'\x0a'),l1i111['updateContent'](lllIl['nxQUF'](iliII1['content'],(II11I1['shopName']&&'\x0a【店铺名称】#'+Iii11I[i1Iii1(0x31a,')&zA')])+i1Iii1(0x1da,'#O]Y')+liiiiI));}else{console['log'](lllIl[i1Iii1(0x29f,'RGsM')]),await lllI1(lllIl[i1Iii1(0x2ea,'!ab(')]);if($['runEnd']||$[i1Iii1(0x239,'%ae2')]||$[i1Iii1(0x41d,'LUHf')])return;await $[i1Iii1(0x431,'U((G')](0x1f4);}}else{if(lllIl[i1Iii1(0x416,'N^WP')](lllIl['kltna'],'rsEyD')){console[i1Iii1(0x3ee,'WE*h')](lllIl[i1Iii1(0x28c,'b7RM')]),$['message'][i1Iii1(0x307,'DXAZ')](lllIl[i1Iii1(0x22e,'Iy[a')]);return;}else II1ii='❌\x20'+IIIIII+'\x20接口响应数据解析失败:\x20'+lillII[i1Iii1(0x296,'YSRB')],ii1ilI[i1Iii1(0x22f,'qTAA')]('🚫\x20'+lI1ll1+'\x20=>\x20'+lllIl[i1Iii1(0x434,'6D)%')](iIiI1,liil1I)),i11ii1++;}}else{console[i1Iii1(0x34e,'CASy')](lllIl[i1Iii1(0x26f,'WAqg')]),$['message']['fix'](lllIl[i1Iii1(0x20a,'ianw')]);return;}break;default:if(lllIl['jIsUL']($[i1Iii1(0x320,'U((G')],i1Iii1(0x40d,'N^WP'))){if(lllIl['ZPTzh'](lllIl[i1Iii1(0x27b,'bcWP')],i1Iii1(0x1f4,'U((G')))return new IIii1l(async l1ilII=>{const ii1II1={'mZBma':function(iliIll,llliIl){const l1liii=iii1II;return lllIl[l1liii(0x281,'N^WP')](iliIll,llliIl);}};ililI1['post'](IIii1i,(iliIli,illliI,ii1III)=>{const I1Ili1=iii1II;ii1II1[I1Ili1(0x3b7,'4I#c')](l1ilII,{'err':iliIli,'res':illliI,'data':ii1III});});});else{console['log']($[i1Iii1(0x243,'t76s')]),$['message'][i1Iii1(0x38e,'l0DD')]($['joinDes']);return;}}break;}if($[i1Iii1(0x399,'[#sJ')]||$[i1Iii1(0x44a,'RGsM')]||$['skipRun'])return;}else{if($['runEnd']||$[i1Iii1(0x1fd,'qTAA')]||$[i1Iii1(0x1d9,'4I#c')])return;console[i1Iii1(0x240,')[tv')](lllIl[i1Iii1(0x3fa,'LUHf')]),$[i1Iii1(0x3da,'Ib]9')][i1Iii1(0x21f,'Tz4F')]('未能获取用户活动状态');return;}if($['hostname'][i1Iii1(0x2f2,')&zA')]('lzkj')&&$[i1Iii1(0x221,'24$1')][i1Iii1(0x318,'[#sJ')](i1Iii1(0x316,'WBIT'))){await lllIl[i1Iii1(0x33f,'KMP0')](lllI1,lllIl[i1Iii1(0x449,'Ip[6')]);if(!$['pinToken']){console[i1Iii1(0x2c3,'$Jo@')](lllIl[i1Iii1(0x2eb,'4I#c')]),$[i1Iii1(0x445,'[#sJ')][i1Iii1(0x253,'NKaU')]('获取[pinToken]失败');return;}await $[i1Iii1(0x3ed,'p[Z2')](0x1f4);}if($[i1Iii1(0x40c,'N^WP')]||$['outFlag']||$[i1Iii1(0x3a6,'t76s')])return;if(lllIl['MgLbI']($[i1Iii1(0x36f,'sCfS')],0x1)){switch($['activityType']){case lllIl['uVyht']:break;case'':console['log'](i1Iii1(0x3ce,'NKaU')),$['message']['fix'](lllIl[i1Iii1(0x2cd,'Iy[a')]),$[i1Iii1(0x3c3,'sCfS')]=!![];return;default:console[i1Iii1(0x452,')@yQ')](i1Iii1(0x387,'KMP0')+$[i1Iii1(0x224,'(X[y')]+i1Iii1(0x455,'b7RM')),$['message'][i1Iii1(0x301,'bcWP')](i1Iii1(0x3ca,'DXAZ')+$[i1Iii1(0x35a,'t76s')]+')不受支持'),$['runEnd']=!![];return;}if($['runEnd']||$[i1Iii1(0x404,'NKaU')])return;await $['wait'](0x1f4);}await lllI1(i1Iii1(0x33c,'DXAZ')),await $[i1Iii1(0x310,'Tz4F')](0x1f4);if($[i1Iii1(0x3b6,')[tv')]||$[i1Iii1(0x2f7,'24$1')]||$[i1Iii1(0x3a6,'t76s')])return;if(lllIl[i1Iii1(0x1f8,')[tv')]($['index'],0x1)){if(lllIl[i1Iii1(0x1d1,'VGMf')](lllIl[i1Iii1(0x396,'Ib]9')],i1Iii1(0x3e2,'KMP0'))){const ll11ll={'MReUG':function(l11iIl,i11iIi){return lllIl['xlgXK'](l11iIl,i11iIi);}};II11ll[i1Iii1(0x3b5,'WAqg')](liiI1I,(IIIIll,liiiii,II1I)=>{ll11ll['MReUG'](lI1II1,{'err':IIIIll,'res':liiiii,'data':II1I});});}else{const lI1111=$['activityContent']?.[i1Iii1(0x1c8,'Ip[6')]||[];let Ilil1='';for(let IliII1=0x0;lllIl[i1Iii1(0x444,'bcWP')](IliII1,lI1111[i1Iii1(0x321,'5hKs')]);IliII1++){const l1iIi1=lI1111[IliII1],i1I1I=l1iIi1['prizeName'],llIil=l1iIi1[i1Iii1(0x35c,'bcWP')];Ilil1+=''+i1I1I+(lllIl[i1Iii1(0x249,'$Jo@')](llIil,0x5)?lllIl[i1Iii1(0x409,'CYMI')]:lllIl[i1Iii1(0x405,'WAqg')](llIil,0x3)?lllIl['UEfmJ']:''),lllIl[i1Iii1(0x380,'b7RM')](IliII1,lllIl['SqLOI'](lI1111['length'],0x1))&&(lllIl['obSOT'](lllIl['jOMfw'],i1Iii1(0x345,'sCfS'))?(II1lii['log'](lIIii1+'\x20'+ll1i1['resp_msg']),IIli1i[i1Iii1(0x391,'6D)%')][i1Iii1(0x261,'5hKs')](I1iIi1[i1Iii1(0x372,'NKaU')]),lliil1[i1Iii1(0x3bd,'eUp0')]=!![]):Ilil1+=',');}console[i1Iii1(0x1ef,'KMP0')](($[i1Iii1(0x2e3,'Tz4F')]&&'店铺名称:#'+$[i1Iii1(0x3d1,'CYMI')]+'\x0a')+'店铺链接:https://shop.m.jd.com/?venderId='+$['venderId']+'\x0a活动奖品:'+Ilil1+'\x0a'),llliII[i1Iii1(0x324,'6D)%')](llliII['content']+(($[i1Iii1(0x2ef,')@yQ')]&&i1Iii1(0x2f6,'5hKs')+$[i1Iii1(0x3e4,'#wZz')])+i1Iii1(0x248,'ianw')+Ilil1));}}if($[i1Iii1(0x427,'l0DD')]||$['outFlag']||$[i1Iii1(0x2bb,'WAqg')])return;$[i1Iii1(0x3c2,'D[4f')]=$[i1Iii1(0x38c,'b7RM')]?.['flag']||![],$['memberUser']=$['activityContent']?.[i1Iii1(0x3eb,'RGsM')]||0x0,$[i1Iii1(0x336,'Ip[6')]=$[i1Iii1(0x40a,'^qZ(')]?.['name']||'',$[i1Iii1(0x2b1,'WAqg')]=$[i1Iii1(0x2f5,'YSRB')]?.[i1Iii1(0x415,'DXAZ')]||'',$['visitor']=$[i1Iii1(0x3bb,'RGsM')]?.[i1Iii1(0x3c0,'NKaU')]||'',await lllI1('drawShopGift'),await $['wait'](0x1f4);}catch(IIiiI1){console[i1Iii1(0x22f,'qTAA')](i1Iii1(0x1f9,'^qZ(')+IIiiI1);}}function Iii11l(){const l1lII=(function(){return[...[version_,'yJVjJtsVjhFuiRaDhmPiEe.XcMXoImf.RQGvbD7q==','WQeHi27cOmo6WRWgCNZcJvpcVSk7','CmkIySkiWP0','g8oawmkkyW','WQFcMZigoSkDW4hdRSowWQ9s','fSoitmo4WO94WQ/cTW','swmgwYBdG1T/WRjGWRRdP8keWP0','FmkbmmohW47dQcqL','WPJcPaq8','5P+f6ik96i6U5y+Q55s55OQf5REs5yIH54Qm5OkM','WR3cOeDKFalcGCog','rmomWQVdIc9+WQaU','WQNcQKRdVhtcT3q','iZBcOmoSr8kyemoYWQ/dVZJdH8oDvMO','j+ocSUw5N+MrNUwrL+ENQUodLh4','W6lcQSkCWPe+kh8','F8o4Ch5GxaO','WRSGih3cPmodWQXyDa','zSkHlGum','WOCVAKH/W5pcHmoS','WPeSdc9c','A8kBWOTmuuq9W6vcWOJdO8oF','pGhcSG3cQa','ymkCWQTkteGN','w1OtWQ0','W4RdHYO','Eg0c','WOuVCfjsW53cJCoS','omoKB0PiW7RcQa','nSovECoQWOK','WQZcVXy','WQ7cGI8','W5dcVmktwWX1WQe','u1qa','kc4sWO7dGq','rMnHWPNcRW','W5VdQau5qq','vowTT+EiTSoQ','vmk6uKlcUq08WPNcM8o7WQCiW49pjSonkrnAgCoWjmkHfLSRW7RdQ8kpoSkIWOfNbriotSocdmkZWRXscConW5hdM8kKwCkvef4/da','W4hdQGeLqW','W45wWQHk','kddcHCo0Eq','zmkkWPLWxG','nhVcMq','5yM/5yAM5BQU6zgV5lYA5zka5As36lEp772d5Rwb5yMM5lMj6zQI5BUR6zg65l+R5zog5y2n5lQT5zktWOa','W4BcSmkzBcC','WPXfoXBdGCk8tL1FW7FcHI3cP19Mz8oaa8kaW7tdRq','jXekfSoZmSo4','WO4XW7yKW7pdK8olqa','kMdcKCoCcCkgW6RdLq','WQFcPKT4rWFcICoq','WPXuordcISoGrveaW5NcGt/cTGj0BmoBamkMW7ZdUmoujY3cUIa','W7hdQevWw8o8cruO','WRJcOum','m8o5W4pcOhJdKhScf8opW6dcRmoEW5RdOSopW5LQDCkzes7cMwJdGLRdOmoVW4mO','WOdcOYaWlG','WPFdLdpcLI7dLmoAWPK','qCohWQBdGY5Y','edvEbedcKGroWPvlWOhdJmk4','WP3dSmoiEshcLKu','WRyMiZzgW4ZcKmknrc9Qfvi','ogFcKmoaeW','vSkKEmkCWOJdKhLu','qCo3WP3dLru','WO7dKdpcId/dJSoq','WRK3oNFcNSo6WQzp','BhldSg7dHmogWPJcP8oZ','W55sWRvRW7JcMcrGW4NdGY0FW7PaW4C','WOFdLfZcG8kanSka','lmoYdb/dI01IW5m','lJRcSW','nI3cKsJcLw/cQ8ol','6i+m5yYJeZmecWPxW7H4WQJcQEwLSoI0Mo+8OW','W64aWPVcGMi','D8o4FwK','eSo9A8kmyJJdUa','WOBdQSoyFaC','W5qbWPxcUu4','omo+W6JcPxtdKMuKnCobW7/cRa','cmkuxIzacIXrW7r0WQG','iraaW7OB','gSo2w8kA','BSkxWPfa','W6VORQxMSiVPHyRNVQ/LJzxMLQxPLlhOR77VVj/ORjFOGkNNSlpLVOZLJRJOGQhOVRROOj7LJypPPy3VVjZdT3LRW5y0FtfhWQilW67dMa9S','WRVcGZGypSkvW5xdVSooWRXxvq','e8kaW4W','5RAb5yUI5yAB5yYS77YS','oCkNW7CJW4C','t2mi','wviF','cvlcM8oUdq','jmkJlcysau8yjWT1sSkP','8jA3OIO','WPW0t1nd','rCkDW7CJWRlcP8kCWOtdTSoRW53cJq','oSk5yri8','mCk1BG','lb7cV8oZsq','WOy6g1xcHG','cSkyxcGa','mSoucsVdNW','FgNdShq','W4u/W7u','B0W1WOC0','5P2O5B2v5AsF','ErOItx4','lCo8fH/dHLv/','ktmJmSo2','s8oLWR9Y','uL4uWR8BbKW','nhZdS8o0W5PxW7ves1/cOuy','W7lcSCkAyqe','WOm+W6eP','EmkinSod','oXOlWPFdSKVcH8oMW7m3WPOZ','uKmVBSkF','W5ZdNdSxAM7dTSkGW7G','bUAnOowpQEAuJ+wqOow4KEAvU+AnLG','WQdcVffT','W5ZcVmktrqbHWRat','fmoivSoIWQv8WRe','rq0HEey','4PIvWP/OR5hLORRLHyVMOyNLV4BMROpNOAFNMOVPKORMJ6q','WQbFjSkbWRtcQgJcUfJdPby/DCo5nG','oaeximo8mq','xXmgvZJdHhisW6S','tv4uWRWLaKzoWP8','W6xdQrquBG','FEs7LUs6OEs4MmkW','8jsCQ8oO6AcI5y6m5OIk5yMA','WQ3ORkJMSQRLP6BOTBDPjCoakW','W6zFpZRdOa','WP3cMdiAn8kDW57dRW','WQ9Mn8krWQO','W5HuWRvxW7ZcNqb4W7ldHG','WOyUFvLP','WRKpds9y','fmk/EXi/','BwpdSxFdTComWOlcPG','lJlcTJ/cMSkyWRpcQ8oMsSoCna','DxtdH0xdIZhdUCoYphuPjZq','W485W6O','yaubtXa','CM1mWOZcVq','WRm/kqnDW4lcTSkm','CSk7ECkZjJZdLmk+W61RW6dcOmk8W4NcJHL8aSodWR4ur3JcTvOvWO4','zSo/DMbTxq','WOVcPwVdOLa','WOSCW6mmW40','A2NdQwldHa','8ykMUmkb','q8ktW6OzWPy','W49XnW8K','ySolWQ1IWOe','W6DwnSk8WQ3cQNNcRYy','Dmo0BvLa','Dmo0BxLsua0ehHy','ECkiWPnmuW','qM8BzGhdIKb6WOW','4PYXW4/LV6JLIktMTRNLI7pNSjVLN6VVVl4','a+wtGEw7U3CAW49nl8oco8o3','AgVcMqNcLgFcUSomehzhccFcKNtdQ3eQW4S','jcxcJbNcR3BcOG','C2NdPq','W4fWecKgWRlcMHFdJSknWRPhumooEW','WRfvpmk8WQ3cQNNcRW','gmoorW','oghdOCo3W6DEW7Dr','W6FcSmkbWRKBj37cKq','WQ4ZncrtW47cTG','aWmgW4Grt8oU','WQvDjSkj','W6hcSmkp','WPu6W6y4W5NdLmobv00','eSk8FmkcyG','u8klWQTPzq','wXPbW4Davmk6vqCHWP4','WPuQW7SnW6JdKW','5lUz5A6w5zYm','oCoiW4CCfHH+W4TvWPZdKSo/hq','mSo4ga','mddcP8o1BSkCf8oS','WOOUEK5OW4lcNq','WRpdSrJcKcu','WPpcSCkCqbbRWQe0CMD+hq','B8oQqSkZtbZdN8kL','dSkBW60gW5a','eIyCeCok','cda2WR/dSq','aoITT+AYHowKSoI3Vo+/QSoiqoIHS+MyRUwiOU+/NtvAWRbhjqjIfmoudNBdOImq','kriwWO7dLLFcNq','W5GLWPRcTG','oSoYW7lcUgFdLwu','ESkkWPzFqMmOW7fZ','bx3dT8oXW4DEW7Dr','WQDvkG','W5GhWPBcOLa','WQZcS1xdVhq','W64JWPpcQLNdJCkCbWC7iebolZpdICoiuHiRqCoYWR8WWPZdRa','W5ZcL8kjWRuX','WQZcRftdSa','kCoebYBdGq','ab0/kCoe','b8kkxCkGyq','WOmVFG','kwFcJCoy','W4FcP8kEBbTH','fCodFCkoAa','tGyhwWpdKxC','W7NdK2m6lmkuW7FdQmob','tfaoWRWOfeC','WPBdVmovFHpcMKiknt3dO8kEfN/cGG','h8o8uCk2FdtdSG','cmkEwJm/eda','p2hcHG','WQJcVWjwymo1ibi','Aw/dSw7dNSooWOm','kXi+WQ3dKa','rwaouG','WP01D3L/W5y','xW8BtHJdGNyr'],...(function(){return[...['WR03j2pcPmoLWPXm','a+IVU+AWREI2SoAwG+++P+IVG+AJJ+ACMUE9LoE4I+MfIoISTa','WQFdGsNcGtO','WQ/dVrZcNtG','WQVcMtijdCkz','5REZ5yMd57cS5z+J772X','rebKWP/cNq','WQ1tnq','W5NcVCkctbrPWR8eEgT2umoxW5nmmSoalSkx','5PY16io76iY15y+r5RAr5yIj57kk5z2k','WPxdGYNcNdG','iYRcNa7cG3tcUG','tfmiWRW0aerp','ymkRnqWdWRpdHW','xW8BtH/dHW','tmobWRZdScnQWQa','WPJdSColEJi','rgKBEbddMeDUWPHG','W5FdNLxcUmkXpmkNWOzM','atRcUSoXvmkFemkMWRJdQsBdLG','W7WHW5hcOKi','mmk/ESkPAc/dKa','hmkwW73cKMWIW7m4W6ZdSSoiemkk','E0ddHKJdNq','zMmlCmkGhG','dWubW5igqCo/ugaVW4e','WR/cUc8Hla','pghdTCoQW6C','rowUMoElQ1O','eSkyW5KCW5G','W5HuWRvxW7ZcNqb4W6/dMZaF','W4KIWPhcV3JdMCkfqG','WRuzW4CSW7i','CMTiWO7cNa','W5LAibFdPSo8svS5W7dcJJy','icVcKXdcLxm','v8oHWQ91','CmopWPvv','WPRdUSomDqdcGwmaeYa','zSoJA3LkxHaBlG','EHy7Ea','aGKs','DrG4r1O','WQdcHcqCf8kDW57dRW','W63cGZXIW7jThwO','W5JcT8kdwHrIWRa','W73dLIyfvG','W6W3nZ4DW5ZcOmkhwhzMfuaBpY4iW6NdJCkZW5VcTG4uWROqWPBcKCoMlmk/h0eIWO7dSSoul8kqW4X/fCo7yLfoW6pcRa','EMn0WRFcJG','CSkHWPv1yq','pmkhW5m6W60','cGCbW5O','zhCwFa','ixRdMSoTW5K','W6ZcIsj3','oMhdU8oTW4brW7XB','lbWrWPRdOvdcUSo7','WPhdTSoz','oMhdU8oTW41AW6K','C8oIBwfJ','5yUB5yAq5BQK6zk55l235zc95AwV6lsD776F5RsM5yMU5lMm6zIr5BQQ6zoy5l6k5zol5y2A5lU65zoBwq','W77cT8khWQCvih7cIKzbaG0','t8knWQ9csq','ChpdTKhdHSoaWPy','ggBcLmo2fq','pmoXumoDWPm','WRlcP1W','BuagwZ4','w1yVWQ88','W77cHtT7W5TPgNqtW7jzDMJdV8kR','dSkBW5OBW7ypcq1t','zNCluCkHfW','jtjvjq','EwesqSk9','ybiHF09+rq','gbm7e8oz','5P2W6ike6i+i5yYO55AS5OIv6yQh5P+C5l2g5OcH77+R','obejcCoZnSo4','WO0WW7WMW4xdMmokvG','d8kAW5uSW6W/','WRJcHcqbdCkvW5ZdPa','E2a2w8kB','fa5yW7G+bmoXqq4SWPdcMg0FeSkdsCoQgSoAnCkjWP4+WRZdICk/W7reWPZdU8klhaJcTCoUW70fWR/dGH/dQh3cIITgvW','dCottCoLWO9+WQVcTmkq','lCkZz8kozIpdKmkJ','W4ddUWCCqa','W7ldVuVcOCk8','W5aLWPFcOx/dLSkosa','i2xdU8oZW5TkW7q','W6ZcP8kYWPKB','p8o0W6q','Dx3dJK3dJZ3dVSoKfvy+kXO','kbWmWO7dM0hcNmo7W4i','paase8o8','rSoPWR4','W7lcGZXHW4XNcW','k8o4W6/cVf3dLMi6','pMFdSCoOW4DEW7Dr','dmosuCojWO99','d8kkW4GzW502eWC','W488W73cIhS','5P6k6ioU6i+t5y6w55wy5OUS6yQA5PYT5l2S5Okn77+v','WQ7dNI5JW450hwe','W4BdIG0bDvhdPCkpW7hdMa0vcmoQWP7cIeivWOKqWP8koNVdQCksBd53ALpdSW','WOJdLsNcNrNdUmorWPnZimk+','cCo0W67cUvm','l+wqPow7I8o0W6/dPIiPeJiRWOXP','gCocs8oEWOrQWRlcVCkhW4veWR/cG8k+WRXOea','WORdMJpcJa','5BQy6zct6zkH5OYs776AW6e9naDHlmkDzLxcM8kDvGfaW47dTqLGW5TZutlcNSkFW5FcHSkDm2ddICkNW7W','W4NdHZCCtG','WOyEkWzq','k23cJCoCgmkkW7tdLW','mWhcIIRcRa','p8o0cYRdUKrfW53dM8kZ','5P+D5B6F5AwQ','EEIVV+AYVowMNEI1OU+/R8ovW5xdPvNdGSoDW6T0W79uzwLbWRa','W4fWecKgWRlcMHFdMmkqWRG','ECo4FG','tUs6Hos6SUs7P3K','hCkzW6qFWQpcI8kX','Fg0OxmkA','oJCnj8ob','omoBAmkcWRxcVt4hnuHWW5a','xCkhW7aiWP/cRa','sCoUWQ91WONcJ8oVrmk3fxhcUW','iGlcUZpcJq','W6BdNWSjxa','WOO6W6y7W6FdKmol','xSowWRRdJtr9WQW7W6u','W5NcQmkBqW','WRRcJIqyjSkrW4ddRq','hSonW6VcINm','WPJdQSovuqNcKLe','W5yLWPK','W6hMJPNLJRhMLiJLKi/LUzxMLAZMJQ8','t8kqWOvcya','WRVcJImRfSktW5JdO8oM','FCkmlmohW5/dPdON','cmoWuCk3zJBdS8kd','g8odE8oPWO0','y8kgoa','B8kctmkwWOW','fSofsSoHWRS','776P5PQr5lMP5y6x5P2C6iEb5P+c5Pwb5O6m77+U6kYJ6igN57oo5l+86ick6l2c6kos5y6V6AwG77Yf','p8k4FSkIEW','xCoqWQhdNJ9tWQS7W7pdH8oskSkh','E8kGiquA','cSo8tmktvJ7dUCkjaq','cCkqqdmYcc1F','WQVcRw7dSvi','W4XRaWSr','WPKLD1H0W4dcOmoT','W5lcT8keAHPQWR4jFLX6tmodW58','kCoVW7xcTMFdSN87fmoSW7VcUSol','F8kRnHmdWRFdHW','Emk2kHuH','cXiZW7eF','eCkkW5uoW7yZ','6i+U5y2lWRZcMg3dKhqZw+wMKEI2T++/Ia','W6tdVfdcNCkc','6i645yY/F8oJW6/dOIWUv+wKO+I0S+++SW','WOSlW6WrW4O','WQRcMqj3qG','W7/dVGFcTq','D8otDMHq','W5fTWQv8WRpcJ8kwz1jzwGzC','e8octmo/WOb+WQC','yCo4CNvk','AgVcMqNcLgFcUSomehzhesBcV2ldMeuqW4VcVrbgWQK','W7xcLmkcWQa+','c8oYvSktwYJdUa','W5xJG5pMTilLIl3LPzBLKjNJGjFdOa','lmoYdb/dI0n+W5ddKW','c8oXumktrZZdU8ki','WO46W4WlW54','x8ohWRVdLav3WRy6','WPeWbvhcUq','tv4uWRWLdfPn','sSkCW6G','s8kGECkCWOZdOM4','W5xcJCknWQmk','W4a+W7hcI3ZcMSkpW5q','W4LEWQ9QW6xcNXfV','WPDEgCk+WQm','F8o4Ch5TvX8s','BCklWQ9nyW','WQtcOHbvxCo8iGCTumomW7y','wLueWR4dev16WPpcQW','sSkQBq','5lQ35PwL5O+/55Ml6k+b5Ro65Pwr5RoY','WRZcLw7dT1e','W7PJkLFcHCo4WOv9','eCkaW5W','xvzkWRtcVHtcP8kjWRBcS8kuq8kOWR8','BeTpW4RcSrRdI8olW50jWOazW4q','A8khmSocW6q','WQ55oCkdWQK','WO/dIsNcJqm','xLGtWQumcf1tWRNcQSkVW5pcPJzK','g8kgW4m','s8ktW6OS','W7BcHSkDBJ0','4P+tW4BOHzxMNl7OVB3OOyZPGkNLIl3KU5BPLOtOR5Gi','pCoEBCoFWPG','fCo8tmkqAdRdSW','rSoSWQDM','t8o1WRjhWRxcH8oM','qmkSCG','ecGmWR3dOa','mHWEWPRdOvdcGa','W63dUW3cOZddRuVcRt84WRtdOW','lINcLWZcKa','y8kwWPTaxW','8jEKQ08','tmoNWOTYWP4','F8oUW7tcO3ldSNvG','kqhcOSolrq','FgCeCmkQawu','ESooq0vD','aJFcTttcJW','mM/dOCoMW5XnW7y'],...(function(){return['4PIzf+ISTUwfTUwSKos6VEw+SEIMGoEyV+EmJEwJG+woOUMfGEwqQ+weUoI/KUIIMoIhHoAEJG','p8oJtCkbAG','5RwI5yQG5lI76zU85BUq6zcD5l6D5zoO5y2u5lIN5zglW40','r8k9ibiSWRhdJZS','WRpcRf4','ENecWRWJ','e8kDW508W7S','z8kDk8ohW7pcS2zV','WOe2W7SPW6RdM8ox','DwNdQ2NdQCooWPxcPa','ng3cJCoFjSkaW6i','ugCgrsFdNLO','cW4JnSoW','W4BdL0NcOCkCfmkKWOu','e8koW5ym','quboWRNcUGVcH8od','W7/cU8k2zsm','WQC9lKlcS8oL','W5JdVJCRzW','W59EWRK','W7tORlNMSABLJ4RMLBK','W73cVSkCWR88khxcMW','iIxcIX0','t2mixbS','WQOXpw7cT8o+WQfrrwRcKbG','W7pcIsG','W5VdIdxcJr/dMmoBW4eOEmo9gqPGbqhdRIlcICoIWOldQdu','kXCndmoKpmoPW7CEWQhcTWK','W7FcLNFdLudcLSktW5e1zmo2r08SwKNcLNZdGCk9W6BcOsu3i0FdSttdUmo/WOOYW5vcWQHqkSoDWRjih8o8W5hcQcHOrmoLmbSZySoZ','WRfDjSkaWQZcOhhcPa','W5zyoq3dNa','h8oVxSoNWQ8','W4JcL8keWOyW','oCk7FCk7','zSkPaJuW','tmoVWQe','W5nNfIKEWRZcHWJdTa','o8k1zCk2zJ8','WQdcNYmycSogWPZcPq','BSkkk8oEW7BdOd05iMb6','WRespYbW','W63cKYfxW4nK','5yUQ5ysr5BUU6zkF5l6i5zcn5AAS6lAR772g5REJ5yMV5lQP6zML5BMA6zo25l2q5zc45y+V5lMB','hrTgqMBdNY0iWQziywxcOCkkWOO','W5HuWRvTW77cLqz1W6/dIY0F','zCknWOTJs0WU','WRZcHdWnfW','oMJdT8o1W40','WOT7WP3cN3ldL8k4CG','WPW0A1v/W5xcGmoVqW','pSkDu8knBq','fGOsW6m7','W5NcVCkx','W5/cMSkvCYa','8kMiTSk8','mbywWPddGeFcGa','ESoIBvziwb4','WQ/cPqvKySo1kG','W5ZdJYyfyvVdOSk1','jcxcJbxcMu3cOmodea','toobLoA3HowlLowMRowtHEodN8kV','oImvfmoL','mCoNgGhdL0fJW5ddO8kKW6y','WPxdVSosCJdcGvO','W5rHesu','o8kZCq','WQ07mq','cCkaxqydaq','5RAo5yIx5lUJ6zQb5BMf6zkp5l+t5zk45y+l5lIb','qeKtW44Es8o/qfOZWOldGZfbw8ksC8kOjmoSya','WPhdLd0','Ew/dUG','pghdTq','W7tdTYqeDq','zSkUBmoN','WO9ZgmkNWQm','lmoqwConWOa','fSkSW5qeW5S','mYybn8o9','lmoOj8ocW4dcQcyvxhHUWQJdGL/dSvjmk13cTmo3WRzFWQ06rve/vCkQWOmEWRytW4NdRM4IzmoftKHrWOlcQ0bkzSoZWR4Jf8k+','EUwsTow7Q8k9W6TnWPJdTSocBSoxAmkr','raGhsJJdGNyr','h+IVJoAWPEwNVEI1N++9QxTpWONcTCkUW4NcSd0WqY58WQzD','d8k3ymkSxa','sSoVWQ9VWPdcImoNFW','s8olWRa','WRpcPLFdSNtcSa','WQhcI1fExW','rSkCW70HWOtcRmkDWPi','W6tcSCklWRSNlx3cJq','p8oBASk2yq','nrfnW6zqsWpLVkRLPlhJG5xKUA3KURVOT6xLJQ8','vmkGECkFWRldQhHF','kYFcIcRcIa','eYRcVrVcRG','WOxdQSopuGVcLW','W6NcVSkCWRy','s2mCqrVdILLQ','W5WRWPlcOvW','leRcUCoOmG','WQWJmXfEW4JcTa','WQ3cTqjrB8oZka','WQ/cOKVdPMu','WPFcL33dL3a','h8oes8oLWPDWWRBcQ8kGW5i','e8kkW4WlW6mObtvejG','WPq3W7q6W6pdOSoDvLPxva','WRnziCkyWP3cRg/cPG','sSoTWOFdVre','W6xJGzdMTklLIPtLNkhLN7lJG7G','WPldSCoczrZcG0i','W6JdHZCytq','WQ8Zpwy','jJiUFCkkj3ZcJq','nrpcG8orFW','gSogs8oT','W4aHAvu+W4hcGCoMsSoGadJcJmoxWP9jv0rHWRxcR1BdJt0IWOW','xvmUrSk4','W4PFWQ5oW4pcKa','ic3cKWJcN3y','WOqhFKZcKmkNwNKYW4tcJJS','kIVcMa','jIlcVSooqG','zMCwzmkqhMxcGG','EmkDWOXvEea6W7S','W5ZdKuxcVCkNeCkSWPm','ChtdQ2ddG8op','W412fZmrWRZcIW','W6fJcJyu','AfWVWQSa','W4BcUSkFwtXH','q8kDW7K','W6L9isOb','oCkeuIK9','W6dLKj3LU6vGyCoWnfDxb8kk','dEITLEAYIUwnPUAuQG','lCoJdqBdUKD4W5ldJW','r8o6WQ9XW7xdHSoLDCk+eNxcOqitW6nvoa','lZdcP8o2umkwaq','W5tdNflcUmkKhmk9WPLDDGqK','5P+P6ikR6i+W5y6b5Rsj5yIb57kO5z2P','iYNcQb/cLW','4PQnWOlORl/LO4/LH4pMOkBLV4RMRl7NO7lNMi/LJApPHPy','WO7dJYJcKqpdNmoxWPPH','W6Tzltmf','z2irWQua','W4hcP8kiFdq','WPNdRSozuG0','x8oxWQBdOtr+','WRZcOvD8zWFcICoq','nMhdVSoVW6zi','EGaCwsy','n8k+xCk1yI3dMW','Eti9EG','qConWQ8','6i205y6ahanDW4lcTSkmD+wLQUI0QG','Dmo0BxLsua0efb1OD8k1bgC','ESkxWOXr','CCoPWRf7WPS','5lU65A+h5z6j','vHCUDs8','W5SPWORcPKddKCkCxIGTleW','W6/cVNbNyGpcISki','rSoEF2fS','rmoUWQT0WR0','kwFcJCofm8koW6JdNG','WQNcIcmbd8kvW4FdS8okWRK','pmk5FCkZFYhdGCk0W5i9W7BcQG','aSosWRRdIZ41WQy+WRpdOSovlCkwWPBdN8kpWRtcRmo+Dce','WQFcMLpdHuy','WPNcNtmUaa','m8o+fZZdGa','zXG7yM12redcVCoiW6ZdKG','ECk9mseB','ig/dPSoRW6DEW7Dr','kMpcL8oCfCksW6K','mgBcL8oyf8koW6NdPmo5qSoiW50','6Ac15y+J5Aw46lwC','iqhcMSoixa','6i+j5y2Xzmo8WOH3WPBcVCkcW5npWQhLP53OT7q','WO0WW7WMW4/dMCoixa','W4FcT8kdwsPOWQyh','W4hdIYeEBL3dQG','jHSE','W4FdIZCDiLVdO8k5W6VdKG','gCkAvZO','fSkqqdamaJS','W7NcSmkdWRi8','WOiXW7y6W7/dH8oAy0fW','pHGlWP8','5yM05yAR5BQZ6zoY5lYt5zc+5OU05yIQ','W5XflbFdPSoYx1OLW6ZcHa','W4q1W7/cHwZcJmk/W5q/W7K','vSkPbXyU','W7/cUSkBWQCnjgVcMq','ECkqWPbvAuWKW7K','lsdcOmodxCkqaW','jdZcRa','or8qfCoaimoZ','BhRcSSoWx8ksemoIWOpdVNNdMCoCE3hdS1aHza','vSkKFSkhWOpdPgzD','E8oYBNjfsHWOjr4','zMJdO2JdMW','WQlcHd4goSktW5FdRW','emoAE8kxrW','WQ9zjCkkWQpcSNNcLgNdPW','EmoBuKvi','WQP3k8kSWRC','bmotBCo8WQ4','WReZncDTW4tcOmkf','W5mKWPFcU2BdKCkgCWKNjeC','kSonhrZdRq','WQC9lG','W4hcVCkBtbS','W5FORAJMS6pLK5RLU7hdKW','W4PFWQ5oW4tcLrLK','kbukamohj8oX','W5j2fZaVWRBcNqK','W5/dHtSDxu/dOq','pHSsamo8','C1usDSkv'];}())];}())];}());Iii11l=function(){return l1lII;};return Iii11l();};function iii1II(_0x373ba6,_0x1bb2c9){const _0x54df22=Iii11l();return iii1II=function(_0x2a7ff9,_0x3cb57b){_0x2a7ff9=_0x2a7ff9-0x1c6;let _0xf8e241=_0x54df22[_0x2a7ff9];if(iii1II['btDoly']===undefined){var _0x5137e8=function(_0x2149e1){const _0xe50a41='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b1ff6='',_0x2badfb='';for(let _0x515bcb=0x0,_0x13b6ee,_0x564bfa,_0x47588c=0x0;_0x564bfa=_0x2149e1['charAt'](_0x47588c++);~_0x564bfa&&(_0x13b6ee=_0x515bcb%0x4?_0x13b6ee*0x40+_0x564bfa:_0x564bfa,_0x515bcb++%0x4)?_0x4b1ff6+=String['fromCharCode'](0xff&_0x13b6ee>>(-0x2*_0x515bcb&0x6)):0x0){_0x564bfa=_0xe50a41['indexOf'](_0x564bfa);}for(let _0x3d26ed=0x0,_0x45e368=_0x4b1ff6['length'];_0x3d26ed<_0x45e368;_0x3d26ed++){_0x2badfb+='%'+('00'+_0x4b1ff6['charCodeAt'](_0x3d26ed)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2badfb);};const _0x513adb=function(_0x17570e,_0x3d70e0){let _0x5124d5=[],_0x5d4381=0x0,_0x27e995,_0x2019be='';_0x17570e=_0x5137e8(_0x17570e);let _0x3ae4ad;for(_0x3ae4ad=0x0;_0x3ae4ad<0x100;_0x3ae4ad++){_0x5124d5[_0x3ae4ad]=_0x3ae4ad;}for(_0x3ae4ad=0x0;_0x3ae4ad<0x100;_0x3ae4ad++){_0x5d4381=(_0x5d4381+_0x5124d5[_0x3ae4ad]+_0x3d70e0['charCodeAt'](_0x3ae4ad%_0x3d70e0['length']))%0x100,_0x27e995=_0x5124d5[_0x3ae4ad],_0x5124d5[_0x3ae4ad]=_0x5124d5[_0x5d4381],_0x5124d5[_0x5d4381]=_0x27e995;}_0x3ae4ad=0x0,_0x5d4381=0x0;for(let _0x18a4bd=0x0;_0x18a4bd<_0x17570e['length'];_0x18a4bd++){_0x3ae4ad=(_0x3ae4ad+0x1)%0x100,_0x5d4381=(_0x5d4381+_0x5124d5[_0x3ae4ad])%0x100,_0x27e995=_0x5124d5[_0x3ae4ad],_0x5124d5[_0x3ae4ad]=_0x5124d5[_0x5d4381],_0x5124d5[_0x5d4381]=_0x27e995,_0x2019be+=String['fromCharCode'](_0x17570e['charCodeAt'](_0x18a4bd)^_0x5124d5[(_0x5124d5[_0x3ae4ad]+_0x5124d5[_0x5d4381])%0x100]);}return _0x2019be;};iii1II['uDSnWs']=_0x513adb,_0x373ba6=arguments,iii1II['btDoly']=!![];}const _0x32e6cb=_0x54df22[0x0],_0x409f20=_0x2a7ff9+_0x32e6cb,_0x1cba56=_0x373ba6[_0x409f20];return!_0x1cba56?(iii1II['xDHVwz']===undefined&&(iii1II['xDHVwz']=!![]),_0xf8e241=iii1II['uDSnWs'](_0xf8e241,_0x3cb57b),_0x373ba6[_0x409f20]=_0xf8e241):_0xf8e241=_0x1cba56,_0xf8e241;},iii1II(_0x373ba6,_0x1bb2c9);}async function Iillll(IIIIi1,ii1IIl){const l1liil=lI1I1i,ii1IIi={'Ojpkj':l1liil(0x1ec,'#wZz'),'lxgKa':'Content-Type','XRetX':function(I1ll1l,I1ll1i){return I1ll1l===I1ll1i;},'wFWTN':function(i11iII,lI1Ii1){return i11iII!==lI1Ii1;},'UJMXO':function(i1I11,I1I1i1){return i1I11-I1I1i1;},'qFADp':l1liil(0x3f5,')Z3z'),'cIekv':'pWlAR','kKyDu':'login','hSWMG':l1liil(0x3e5,'[#sJ'),'etFJo':'VOqMZ','rWmpE':l1liil(0x3c5,'(X[y'),'cVWbQ':l1liil(0x3a4,'t76s'),'OvuAk':l1liil(0x25a,'$Jo@'),'sbiER':function(i1I1l,i1I1i){return i1I1l!==i1I1i;},'rDxwB':l1liil(0x3e8,'ianw'),'VIwnF':l1liil(0x2de,'#wZz'),'xeuPh':function(IIiiII,llIiI){return IIiiII===llIiI;},'tPeFh':function(Ilill,Ilili){return Ilill===Ilili;},'PkEIU':l1liil(0x1ce,'k$hl'),'EhzgG':'QRJOa','hbumZ':l1liil(0x247,'ianw'),'tuxUA':function(I1ll1I,Iii1I1){return I1ll1I(Iii1I1);},'aHakN':l1liil(0x29c,'b7RM'),'SmMHh':function(i11iI1,Iii1II){return i11iI1===Iii1II;},'YsTLB':function(llIlI,l1iIil){return llIlI===l1iIil;},'HHwXW':l1liil(0x438,'RGsM'),'hoMHU':l1liil(0x39a,')&zA'),'zbWCp':function(l1iIii,illllI){return l1iIii!==illllI;},'XYviz':l1liil(0x28d,'CYMI'),'mLKUl':l1liil(0x356,'LUHf'),'JPNuz':function(II1II,ii1l11){return II1II===ii1l11;},'CHmMd':'领取成功','UnBgT':'领取失败'};try{if(ii1IIi[l1liil(0x30b,')Z3z')]===ii1IIi['cIekv']){iii1Il[l1liil(0x2a6,'5hKs')](l1liil(0x29a,'5hKs'));return;}else switch(IIIIi1){case ii1IIi[l1liil(0x2db,'Q]*k')]:if(ii1IIl[l1liil(0x459,'4I#c')]===0x0&&ii1IIl[l1liil(0x2c9,'t76s')]){if(ii1IIi[l1liil(0x30c,'bcWP')](ii1IIi['hSWMG'],ii1IIi[l1liil(0x1cb,'WE*h')]))$[l1liil(0x2fa,'Iy[a')]=ii1IIl?.[l1liil(0x222,'ianw')]?.[l1liil(0x2c7,'24$1')],$[l1liil(0x41c,'#wZz')]=ii1IIl?.[l1liil(0x26c,'24$1')]?.[l1liil(0x390,'24$1')],$[l1liil(0x24a,'O75Z')]=$['joinInfo']?.['openCardUrl'],$[l1liil(0x282,'Tz4F')]=ii1IIl?.['data']?.[l1liil(0x28e,')[tv')],$[l1liil(0x1c6,'sCfS')]=ll111['getUrlParameter']($['openCardUrl'],ii1IIi[l1liil(0x30a,'t76s')]),$[l1liil(0x31a,')&zA')]=ii1IIl?.['data']?.[l1liil(0x1dc,'4I#c')],$['joinCode']=$[l1liil(0x3fc,'LUHf')]?.[l1liil(0x3e7,'WBIT')]?.[l1liil(0x303,'sCfS')],$[l1liil(0x360,'l0DD')]=$[l1liil(0x1e7,'y20F')]?.[l1liil(0x346,'W]m*')]?.[l1liil(0x323,'RGsM')];else{const IIIIil=ii1IIi['Ojpkj'];return{'err':IIIIil,'res':null,'data':null};}}else ii1IIl[l1liil(0x2c1,')[tv')]?ii1IIi[l1liil(0x1ed,'#O]Y')]!==ii1IIi[l1liil(0x338,'WE*h')]?(console[l1liil(0x302,'N^WP')](IIIIi1+'\x20'+ii1IIl[l1liil(0x428,'KMP0')]),$[l1liil(0x1c9,'Iy[a')]['fix'](ii1IIl['resp_msg']),$['skipRun']=!![]):(delete lllill['body'],delete ill11l[l1liil(0x200,'t76s')][ii1IIi[l1liil(0x45c,'b7RM')]]):ii1IIi[l1liil(0x315,')[tv')](l1liil(0x2b0,'qTAA'),l1liil(0x1f2,')@yQ'))?(IIli11[l1liil(0x31d,')&zA')](IllIII+'\x20'+ii1li[l1liil(0x3f1,'^qZ(')]),IIll1['message'][l1liil(0x2d1,'YSRB')](ll1il[l1liil(0x39d,'YSRB')]),IiiIiI[l1liil(0x2e6,'bcWP')]=!![]):console[l1liil(0x3ee,'WE*h')]('❓'+IIIIi1+'\x20'+JSON[l1liil(0x446,'5hKs')](ii1IIl));break;case ii1IIi[l1liil(0x234,'6D)%')]:if(ii1IIi[l1liil(0x3a3,'$Jo@')](ii1IIl[l1liil(0x366,'CYMI')],0x0)){}else ii1IIl[l1liil(0x45a,'eUp0')]?(console['log'](IIIIi1+'\x20'+ii1IIl['resp_msg']),$[l1liil(0x1e2,'!ab(')][l1liil(0x24e,'(X[y')](ii1IIl[l1liil(0x2dd,'6D)%')]),$[l1liil(0x2d2,'$Jo@')]=!![]):console['log']('❓'+IIIIi1+'\x20'+JSON[l1liil(0x365,'^51&')](ii1IIl));break;case ii1IIi['VIwnF']:if(ii1IIi['xeuPh'](ii1IIl[l1liil(0x395,'[#sJ')],0x0)&&ii1IIl['data']){ii1IIl=JSON['parse'](ii1IIl['data']);if(ii1IIi['xeuPh'](ii1IIl['resp_code'],0x0)&&ii1IIl['data'])ii1IIi[l1liil(0x21e,'bcWP')]('jAkpq',ii1IIi['PkEIU'])?IilIiI[l1liil(0x441,'W]m*')]=!![]:($[l1liil(0x32f,'ianw')]=ii1IIl?.[l1liil(0x27c,'(X[y')]?.[l1liil(0x1e5,'Tz4F')],$[l1liil(0x1ea,'CYMI')]=ii1IIl?.[l1liil(0x358,'[#sJ')]?.['encryptPin']);else{if(ii1IIl['resp_code']===0x3e8)console[l1liil(0x309,'CYMI')](IIIIi1+'\x20'+ii1IIl[l1liil(0x268,'!ab(')]),$[l1liil(0x216,'WAqg')]['fix'](ii1IIl[l1liil(0x435,'WAqg')]),$['skipRun']=!![];else ii1IIl[l1liil(0x2ce,'24$1')]?(console[l1liil(0x225,'^qZ(')](IIIIi1+'\x20'+ii1IIl[l1liil(0x1de,'5hKs')]),$[l1liil(0x1c9,'Iy[a')]['fix'](ii1IIl[l1liil(0x277,'Q]*k')]),$['skipRun']=!![]):(console['log']('❓'+IIIIi1+'\x20'+JSON[l1liil(0x29b,'U((G')](ii1IIl)),$[l1liil(0x2e6,'bcWP')]=!![]);}}else ii1IIi['xeuPh'](ii1IIi[l1liil(0x44d,'%ae2')],ii1IIi['EhzgG'])?console[l1liil(0x32e,'YSRB')]('❓'+IIIIi1+'\x20'+JSON[l1liil(0x418,'l0DD')](ii1IIl)):(IiiiI['pinToken']=llIlli?.['data']?.[l1liil(0x32f,'ianw')],llIlll['encryptPin']=lliii1?.[l1liil(0x22d,'Ib]9')]?.[l1liil(0x2c8,'[#sJ')]);break;case ii1IIi[l1liil(0x454,'l0DD')]:if(ii1IIl[l1liil(0x421,'t76s')]===0x0&&ii1IIl[l1liil(0x27c,'(X[y')])$[l1liil(0x238,'Tz4F')]=ii1IIl['data']?.[l1liil(0x40b,'KMP0')],$[l1liil(0x437,'O75Z')]=ii1IIl[l1liil(0x3f8,'WE*h')]?.['endTime'],$['actStatus']=ii1IIl['data']?.[l1liil(0x386,'D[4f')],!$[l1liil(0x2fd,'%ae2')]&&($[l1liil(0x227,'$Jo@')]=ii1IIi[l1liil(0x29e,')[tv')](String,ii1IIl[l1liil(0x26c,'24$1')]?.[l1liil(0x3d4,'5hKs')]||''));else{if(ii1IIl['resp_msg'])console[l1liil(0x3cc,'Q]*k')](IIIIi1+'\x20'+ii1IIl[l1liil(0x32d,'O75Z')]),$['message'][l1liil(0x24d,'Ib]9')](ii1IIl[l1liil(0x2e5,'b7RM')]);else{if(ii1IIi[l1liil(0x27e,'YSRB')](ii1IIi[l1liil(0x22b,'l0DD')],'KJIsu')){const Iii1Il=I1ilI1[iillll],i1l1I1=Iii1Il[l1liil(0x3a9,'%ae2')],lI1lI1=Iii1Il[l1liil(0x2f9,'(X[y')];lIIilI+=''+i1l1I1+(lI1lI1===0x5?'[专享价]':ii1IIi[l1liil(0x1e3,'24$1')](lI1lI1,0x3)?'[实物]':''),ii1IIi['wFWTN'](II1li1,ii1IIi['UJMXO'](l1lIlI[l1liil(0x262,'#O]Y')],0x1))&&(lIIil1+=',');}else console['log']('❓'+IIIIi1+'\x20'+JSON['stringify'](ii1IIl));}}break;case'shopGiftMain':if(ii1IIi['SmMHh'](ii1IIl[l1liil(0x1db,'O75Z')],0x0)&&ii1IIl['data'])ii1IIi[l1liil(0x397,'%ae2')](l1liil(0x211,'CYMI'),l1liil(0x410,'$Jo@'))?(ll1lI[l1liil(0x3ee,'WE*h')](l1iii+'\x20'+IIlli[l1liil(0x288,'%ae2')]),l1iil['message'][l1liil(0x3ab,'Q]*k')](ii1l1[l1liil(0x1e0,'CYMI')]),lIIill['skipRun']=!![]):$[l1liil(0x1f5,'CYMI')]=ii1IIl[l1liil(0x1f7,'W]m*')];else ii1IIl[l1liil(0x287,'N^WP')]?(console['log'](IIIIi1+'\x20'+ii1IIl['resp_msg']),$[l1liil(0x3f2,')[tv')][l1liil(0x375,'CASy')](ii1IIl[l1liil(0x448,'DXAZ')]),$['skipRun']=!![],[ii1IIi[l1liil(0x31f,'DXAZ')],'结束',ii1IIi[l1liil(0x43e,'N^WP')],'不在']['some'](l1iIiI=>ii1IIl['resp_msg'][l1liil(0x289,'k$hl')](l1iIiI))&&(l1liil(0x41a,'bcWP')!==l1liil(0x327,'5hKs')?iiillI['te']=l1l111:$[l1liil(0x414,'KMP0')]=!![])):ii1IIi['zbWCp'](ii1IIi[l1liil(0x255,'bcWP')],ii1IIi[l1liil(0x29d,'CYMI')])?(l1l11i[l1liil(0x38b,'NKaU')](l1iIl+'\x20'+illIll['resp_msg']),iIli1I[l1liil(0x40f,'p[Z2')]['fix'](Iiil1[l1liil(0x372,'NKaU')]),iiilli[l1liil(0x3bd,'eUp0')]=!![]):(console[l1liil(0x1eb,'!ab(')]('❓'+IIIIi1+'\x20'+JSON[l1liil(0x294,'O75Z')](ii1IIl)),$[l1liil(0x217,'D[4f')]=!![]);break;case ii1IIi[l1liil(0x2da,'y20F')]:if(ii1IIi['JPNuz'](ii1IIl['resp_code'],0x0))console[l1liil(0x302,'N^WP')]('🎉\x20领取成功'),$[l1liil(0x2c6,'eUp0')][l1liil(0x301,'bcWP')](ii1IIi['CHmMd']);else ii1IIl[l1liil(0x277,'Q]*k')]?(console[l1liil(0x452,')@yQ')](''+ii1IIl[l1liil(0x44f,')@yQ')]),$[l1liil(0x355,'CYMI')]['fix'](ii1IIl[l1liil(0x2c1,')[tv')]),['未开始','结束',l1liil(0x2ab,'RGsM'),'不在'][l1liil(0x3fb,'^qZ(')](IIIIiI=>ii1IIl[l1liil(0x288,'%ae2')][l1liil(0x2f3,'5hKs')](IIIIiI))&&($['runEnd']=!![])):l1liil(0x2fe,'ianw')===l1liil(0x2d8,'4I#c')?IiilIi=IiilIl[l1liil(0x2ba,'LUHf')]['replace'](/\/index$/,''):(console[l1liil(0x285,'ianw')](l1liil(0x2bd,'WBIT')),$[l1liil(0x40f,'p[Z2')][l1liil(0x423,'qTAA')](ii1IIi[l1liil(0x26a,'ianw')]));break;}}catch(i1i111){console[l1liil(0x2e0,'(X[y')]('❌\x20未能正确处理\x20'+IIIIi1+l1liil(0x2e2,'RGsM')+(i1i111[l1liil(0x1e2,'!ab(')]||i1i111));}}async function lllI1(ii1l1I){const i1ll1=lI1I1i,lI1lII={'lgMsG':i1ll1(0x237,'^51&'),'zYJxj':'venderId','FAJzP':i1ll1(0x369,'5hKs'),'oJHQR':function(IllllI,liliil){return IllllI(liliil);},'rlYZT':i1ll1(0x350,'YSRB'),'ENhSC':'加入店铺会员失败,活动仅限店铺会员参与','gOOYK':i1ll1(0x411,'t76s'),'bMhmf':'POST','diqsO':i1ll1(0x223,'D[4f'),'axZNI':i1ll1(0x231,'Ib]9'),'VbKVa':i1ll1(0x379,'Ib]9'),'RwfAa':'initPinToken','lTyYL':'GET','HrFfh':'/api/active/basicInfo','tnWdR':i1ll1(0x31b,'WBIT'),'GcjHt':i1ll1(0x1e9,'VGMf'),'BVoQr':i1ll1(0x280,'sCfS'),'JQsCd':function(I1iil1,lIillI){return I1iil1===lIillI;},'qmokm':i1ll1(0x2b4,'5hKs'),'PiruQ':'application/json,\x20text/plain,\x20*/*','Gzrbc':i1ll1(0x295,'qTAA'),'TJeMT':i1ll1(0x2c4,'bcWP'),'tmpAP':'application/json;charset=UTF-8','bDoxt':i1ll1(0x22a,'WBIT'),'seDBB':i1ll1(0x34d,'NKaU'),'uknGf':i1ll1(0x337,'eUp0'),'LbuqF':i1ll1(0x3b2,'$Jo@'),'DWtpc':function(lI1il1,liliii){return lI1il1===liliii;},'falnj':function(iIiilI,iIiiil){return iIiilI!==iIiiil;},'oYZUy':i1ll1(0x400,'y20F'),'eieqA':'Chvct','UQOJY':i1ll1(0x3d8,'YSRB'),'kComY':i1ll1(0x325,'WAqg'),'quykb':function(iIiiii,ilIlIi){return iIiiii>ilIlIi;},'wSxIU':function(ilIlIl,l1lI1I,ll1llI){return ilIlIl(l1lI1I,ll1llI);},'WmHLy':'string','VRywR':i1ll1(0x3ae,'#wZz'),'qkAST':i1ll1(0x299,'ianw'),'NYkgu':i1ll1(0x422,'$Jo@'),'JQMME':i1ll1(0x381,'qTAA'),'NOJOa':'AJvJY','BqajP':'QMmQr','mPaZx':function(i11lIl,l1lI11){return i11lIl!==l1lI11;},'latTg':i1ll1(0x37b,'#O]Y'),'riISk':i1ll1(0x212,'KMP0'),'uPoSt':i1ll1(0x34a,'(X[y'),'Uermu':i1ll1(0x25b,'!ab('),'EuPgn':function(lI1iii,i11lIi){return lI1iii||i11lIi;},'kyaKN':function(ll1ll1,lilil1){return ll1ll1||lilil1;},'RzKxp':function(lIilli,I1iiii){return lIilli===I1iiii;},'XEEJp':i1ll1(0x1df,'(X[y'),'ynaoq':function(iiI1iI,I1iiil){return iiI1iI(I1iiil);},'xojKt':'Ewvoq','jQVsD':function(Illll1,lI1iil){return Illll1>=lI1iil;},'OYMZG':function(lIilll,iIiiiI){return lIilll===iIiiiI;},'xKjwl':i1ll1(0x263,')&zA')};if($['runEnd']||$['outFlag'])return;let lIill1=$[i1ll1(0x2d5,'y20F')],iiI1i1={},ilIlII={},iIiil1=lI1lII[i1ll1(0x3ac,'#wZz')];switch(ii1l1I){case lI1lII['diqsO']:lIill1+='/api/user-info/login',iiI1i1={'status':'1','activityId':$[i1ll1(0x2b2,'DXAZ')],'tokenPin':$['jdToken'],'source':'01','shareUserId':$[i1ll1(0x276,'[#sJ')]||'','uuid':$[i1ll1(0x2a5,'^51&')]};break;case lI1lII[i1ll1(0x41e,'24$1')]:lIill1+=lI1lII[i1ll1(0x1e6,'Q]*k')];break;case lI1lII[i1ll1(0x258,'l0DD')]:iIiil1=lI1lII['lTyYL'],lIill1+=i1ll1(0x3f4,'6D)%')+$['activityId']+i1ll1(0x382,'Q]*k')+$[i1ll1(0x2ff,'%ae2')]+i1ll1(0x226,'U((G')+($['shareUserId']||'')+'&uuid='+$['UUID']+i1ll1(0x3a0,')[tv')+Date[i1ll1(0x33d,'KMP0')]()+i1ll1(0x206,'Ip[6')+$['shopId'];break;case i1ll1(0x3d7,'k$hl'):lIill1+=lI1lII[i1ll1(0x305,'l0DD')],iiI1i1={'activityId':$[i1ll1(0x384,'y20F')]};break;case i1ll1(0x402,'24$1'):lIill1+=lI1lII[i1ll1(0x45b,'#O]Y')];break;case lI1lII[i1ll1(0x357,')[tv')]:lIill1+=lI1lII[i1ll1(0x406,'l0DD')],iiI1i1={'flag':$[i1ll1(0x1fc,'qTAA')],'memberUser':$[i1ll1(0x2cc,'CASy')],'name':$[i1ll1(0x2ad,'#wZz')],'position':$['position'],'visitor':$[i1ll1(0x2f4,'#O]Y')]};break;default:console[i1ll1(0x348,'Ib]9')]('❌\x20未知请求\x20'+ii1l1I);return;}const l1lI1i=lI1lII['JQsCd'](iIiil1,i1ll1(0x3ea,'qTAA'))&&$['pathname']['includes'](lI1lII[i1ll1(0x34b,'eUp0')])&&IlI1l1['isDefenseApi'](lIill1['replace']($[i1ll1(0x275,'KMP0')],'')['split']('?')[0x0]);l1lI1i&&(iiI1i1[i1ll1(0x383,'y20F')]=$['activityId'],ilIlII={'ecyText':IlI1l1[i1ll1(0x308,')[tv')](iiI1i1,$[i1ll1(0x450,'4I#c')],$['te'])});const l1lI1l={'url':lIill1,'headers':{'Accept':lI1lII[i1ll1(0x42e,'Ip[6')],'Accept-Encoding':lI1lII[i1ll1(0x20d,'4I#c')],'Accept-Language':i1ll1(0x417,'WE*h'),'Connection':lI1lII[i1ll1(0x331,'#wZz')],'Content-Type':lI1lII[i1ll1(0x351,'p[Z2')],'Cookie':'IsvToken='+$['jdToken']+';\x20'+($[i1ll1(0x1e5,'Tz4F')]?i1ll1(0x2ae,')&zA')+$[i1ll1(0x419,'Ib]9')]:'')+($['te']?i1ll1(0x256,'Ib]9')+$['te']:''),'Host':$[i1ll1(0x3f0,'DXAZ')],'Origin':$[i1ll1(0x28a,'NKaU')],'Referer':$[i1ll1(0x43a,'b7RM')],'Sec-Fetch-Dest':lI1lII[i1ll1(0x1d3,'y20F')],'Sec-Fetch-Mode':lI1lII[i1ll1(0x3cb,')Z3z')],'Sec-Fetch-Site':lI1lII['uknGf'],'User-Agent':$['UA']},'body':JSON[i1ll1(0x32a,'NKaU')](l1lI1i?ilIlII:iiI1i1),'timeout':0x7530};if($[i1ll1(0x2e7,'$Jo@')]){if(i1ll1(0x21c,')[tv')===lI1lII[i1ll1(0x376,'^51&')])l1lI1l[i1ll1(0x208,'N^WP')][i1ll1(0x2e1,')[tv')]=$[i1ll1(0x1d6,'y20F')];else{const ilI11l=lI1lII[i1ll1(0x205,'qTAA')]['split']('|');let li1I=0x0;while(!![]){switch(ilI11l[li1I++]){case'0':ll1iI[i1ll1(0x2ec,'DXAZ')]=iI1lll[i1ll1(0x2c0,'[#sJ')]?.['openCardUrl'];continue;case'1':IilliI[i1ll1(0x37d,'NKaU')]=IlI1ii?.[i1ll1(0x300,'CYMI')]?.['token'];continue;case'2':lIIiii['joinInfo']=iI1lli?.[i1ll1(0x27f,'l0DD')]?.['joinInfo'];continue;case'3':ilI1ll[i1ll1(0x3ff,'LUHf')]=Iillii['joinInfo']?.['joinCodeInfo']?.[i1ll1(0x2f8,'y20F')];continue;case'4':IIli1I['venderId']=I1i11I[i1ll1(0x32b,'Tz4F')](llIliI[i1ll1(0x2cb,'WBIT')],lI1lII[i1ll1(0x370,'6D)%')]);continue;case'5':I1l1I1[i1ll1(0x2cf,'%ae2')]=I1i111?.[i1ll1(0x27c,'(X[y')]?.[i1ll1(0x219,'k$hl')];continue;case'6':l1lIll[i1ll1(0x37a,'y20F')]=I1l1II?.[i1ll1(0x393,'Q]*k')]?.[i1ll1(0x3d3,'^51&')];continue;case'7':ilI1li[i1ll1(0x413,'[#sJ')]=IIliI[i1ll1(0x260,'qTAA')]?.[i1ll1(0x2b8,'p[Z2')]?.[i1ll1(0x215,'NKaU')];continue;}break;}}}lI1lII['DWtpc'](iIiil1,lI1lII[i1ll1(0x1d0,'[#sJ')])&&(lI1lII[i1ll1(0x26e,'#wZz')](lI1lII[i1ll1(0x209,'y20F')],lI1lII[i1ll1(0x433,'bcWP')])?(delete l1lI1l[i1ll1(0x332,'y20F')],delete l1lI1l['headers'][lI1lII['UQOJY']]):(iIli1l[i1ll1(0x240,')[tv')](lI1lII[i1ll1(0x35b,'N^WP')]),i1i1II[i1ll1(0x424,'^qZ(')][i1ll1(0x3fe,'RGsM')]('领取成功')));const l1I1Il=0x5;let l1I1Ii=0x0,IIlili=null,IIlill=![];while(l1I1Ii<l1I1Il){if(lI1lII['falnj'](lI1lII[i1ll1(0x259,'KMP0')],lI1lII['kComY']))IillIi[i1ll1(0x3e3,'Tz4F')]=lI1lII[i1ll1(0x371,'eUp0')](lii,IllI1i['data']?.['actType']||'');else{lI1lII[i1ll1(0x334,'RGsM')](l1I1Ii,0x0)&&await $[i1ll1(0x359,')@yQ')](0x3e8);const {err:lI1iiI,res:i11lII,data:iIIlli}=await lI1lII[i1ll1(0x3b1,'O75Z')](III11I,l1lI1l,iIiil1);if(lI1iiI){if(lI1lII[i1ll1(0x1ff,'t76s')](typeof lI1iiI,lI1lII['WmHLy'])&&lI1iiI[i1ll1(0x35f,')[tv')](lI1lII['VRywR']))i1ll1(0x30f,'bcWP')===lI1lII[i1ll1(0x3c1,'t76s')]?(lillIi&&(i1i11I[i1ll1(0x3a7,'#wZz')]=il1iIl[i1ll1(0x23d,'sCfS')]({'ecyText':iii1ii[i1ll1(0x39e,'sCfS')](il1iIi,iii1il['pinToken'],II11li['te'])})),lI1lii='❌\x20'+Iiili1+i1ll1(0x35d,'!ab('),Iil1l1++):IIlili=ii1l1I+'\x20请求超时,请检查网络重试';else{const iIIlll=i11lII?.['statusCode'];if(iIIlll){if(lI1lII['NYkgu']!==lI1lII['JQMME']){if([0x193,0x1ed]['includes'](iIIlll))IIlili=ii1l1I+i1ll1(0x3a5,'qTAA')+iIIlll+')',IIlill=!![];else{if([0x190,0x194]['includes'](iIIlll))lI1lII['falnj'](lI1lII[i1ll1(0x257,'Q]*k')],lI1lII[i1ll1(0x291,'eUp0')])?IIlili=ii1l1I+i1ll1(0x33b,'(X[y')+iIIlll+')':lI1III[i1ll1(0x271,'VGMf')]['fix'](IIliIi);else[0x1f4]['includes'](iIIlll)&&l1lI1i?l1lI1l[i1ll1(0x2c5,'eUp0')]=JSON[i1ll1(0x3ec,'y20F')]({'ecyText':IlI1l1[i1ll1(0x3d0,'ianw')](iiI1i1,$[i1ll1(0x38d,'Q]*k')],$['te'])}):lI1lII['mPaZx'](lI1lII[i1ll1(0x37f,'W]m*')],lI1lII[i1ll1(0x37f,'W]m*')])?(iIII1I[i1ll1(0x44b,'#wZz')](''+ilil1i[i1ll1(0x425,'Ip[6')]),IlIIi[i1ll1(0x392,'WE*h')][i1ll1(0x341,'CYMI')](IiI1l[i1ll1(0x2dd,'6D)%')]),[lI1lII['rlYZT'],'结束','不存在','不在'][i1ll1(0x3b0,'#O]Y')](iiI1ii=>IiI1i['resp_msg']['includes'](iiI1ii))&&(llll1[i1ll1(0x2a0,'5hKs')]=!![])):IIlili=ii1l1I+i1ll1(0x439,'WAqg')+iIIlll+')';}}else{li1I1[i1ll1(0x32e,'YSRB')](i1ll1(0x401,'eUp0')),i1ilil[i1ll1(0x2c2,'bcWP')]['fix'](lI1lII[i1ll1(0x3e6,')Z3z')]);return;}}else{if(lI1lII['riISk']===i1ll1(0x312,'%ae2'))IIlili=ii1l1I+i1ll1(0x36a,'24$1')+(lI1iiI[i1ll1(0x28b,'b7RM')]||lI1iiI);else return new Ill11l(async iIiii1=>{lill1l['get'](l1l1i1,(ll1lil,IIlil1,I1Illl)=>{iIiii1({'err':ll1lil,'res':IIlil1,'data':I1Illl});});});}}l1I1Ii++;}else{if(lI1lII['JQsCd'](lI1lII['uPoSt'],i1ll1(0x36b,'WBIT')))Iiiii[i1ll1(0x306,'VGMf')]('❓'+l11i1I+'\x20'+IiII['stringify'](llIIli));else{const li11=ll111[i1ll1(0x430,'l0DD')](i11lII),ilIlI1=![];if(ilIlI1){const I1Illi='3|5|2|4|0|1'[i1ll1(0x3ad,'#O]Y')]('|');let IIlilI=0x0;while(!![]){switch(I1Illi[IIlilI++]){case'0':console[i1ll1(0x38b,'NKaU')](l1lI1l);continue;case'1':console[i1ll1(0x2e0,'(X[y')](lI1lII['Uermu']);continue;case'2':console[i1ll1(0x39c,'O75Z')]('🔧\x20'+ii1l1I+i1ll1(0x25c,'t76s')+lI1lII[i1ll1(0x403,'%ae2')](li11,'无')+'\x0a');continue;case'3':console[i1ll1(0x34e,'CASy')](lI1lII['Uermu']);continue;case'4':console[i1ll1(0x3b4,'sCfS')](i1ll1(0x37e,'RGsM')+ii1l1I+i1ll1(0x293,'5hKs'));continue;case'5':console[i1ll1(0x340,'D[4f')](i1ll1(0x204,'D[4f')+ii1l1I+i1ll1(0x388,'D[4f')+lI1lII['kyaKN'](iIIlli,'无')+'\x0a');continue;}break;}}switch(ii1l1I){case i1ll1(0x442,'qTAA'):const Illlll=ll111['getCookieValue'](li11,'te');if(Illlll){if(lI1lII[i1ll1(0x2fc,'6D)%')](lI1lII['XEEJp'],'ZbLVx'))$['te']=Illlll;else{i1ilii['log'](lI1lII[i1ll1(0x278,'5hKs')]),iIIII1['message'][i1ll1(0x307,'DXAZ')]('未能获取用户鉴权信息');return;}}break;}if(iIIlli)try{const llli1l=JSON[i1ll1(0x272,'#O]Y')](iIIlli);lI1lII[i1ll1(0x3df,'DXAZ')](Iillll,ii1l1I,llli1l);break;}catch(lI1ii1){IIlili='❌\x20'+ii1l1I+'\x20接口响应数据解析失败:\x20'+lI1ii1[i1ll1(0x317,'$Jo@')],console[i1ll1(0x252,'U((G')](i1ll1(0x242,'Ip[6')+ii1l1I+i1ll1(0x1d2,'#O]Y')+lI1lII[i1ll1(0x2d6,'NKaU')](String,iIIlli)),l1I1Ii++;}else l1lI1i&&(lI1lII['JQsCd'](i1ll1(0x311,'YSRB'),lI1lII[i1ll1(0x3ef,'p[Z2')])?(llliil[i1ll1(0x43b,'y20F')](liIl1+'\x20'+II1lll['resp_msg']),II1lli[i1ll1(0x1d5,'l0DD')]['fix'](ii1I1I[i1ll1(0x329,'(X[y')])):l1lI1l[i1ll1(0x339,'4I#c')]=JSON['stringify']({'ecyText':IlI1l1[i1ll1(0x27a,'RGsM')](iiI1i1,$[i1ll1(0x378,'6D)%')],$['te'])})),IIlili='❌\x20'+ii1l1I+i1ll1(0x44c,'Q]*k'),l1I1Ii++;IIlill=![];}}}}lI1lII['jQVsD'](l1I1Ii,l1I1Il)&&(lI1lII['OYMZG'](lI1lII[i1ll1(0x1d8,'24$1')],i1ll1(0x436,'ianw'))?(console['log'](IIlili),IIlill&&($['outFlag']=!![],$[i1ll1(0x271,'VGMf')]&&(lI1lII['mPaZx'](i1ll1(0x3f6,'%ae2'),i1ll1(0x2b5,'#O]Y'))?iil1li=lillIl+i1ll1(0x25e,'CYMI')+iIiIl+')':$['message'][i1ll1(0x1fe,'!ab(')](IIlili)))):(IilIl1['log']('❓'+lIII1l+'\x20'+l1iIIi[i1ll1(0x230,'b7RM')](lilIi)),l1l11I[i1ll1(0x3ba,'CYMI')]=!![]));}async function III11I(liliiI,ilIIiI='POST'){const lilI1I=lI1I1i,lIl1ii={'QrESa':function(lIl1il,Ii1l11){return lIl1il===Ii1l11;},'oEkkk':lilI1I(0x218,'$Jo@'),'hdgKt':function(IIlii1,iiI1lI){return IIlii1(iiI1lI);},'mihST':lilI1I(0x398,'WE*h'),'bcVEi':function(IliIlI,IIliiI){return IliIlI||IIliiI;},'InEjq':lilI1I(0x30e,'O75Z'),'bbwxr':lilI1I(0x1cd,'Ip[6'),'cdjeZ':function(i1111l,i1111i){return i1111l!==i1111i;},'nKkvx':function(iliiI1,Illli1){return iliiI1!==Illli1;},'HTDBp':'vWayn','PwRKN':function(ilIIii,l1111){return ilIIii===l1111;},'lCvDK':lilI1I(0x2b9,'Iy[a')};if(lIl1ii[lilI1I(0x34f,'CYMI')](ilIIiI,lilI1I(0x2f0,'DXAZ')))return new Promise(async lIl1l1=>{const lI1I1l=lilI1I;$[lI1I1l(0x2a9,'%ae2')](liliiI,(li1i,ilIIil,lIili1)=>{const Il1Il=lI1I1l;lIl1ii['QrESa'](Il1Il(0x1ca,'Iy[a'),lIl1ii[Il1Il(0x1f3,'Q]*k')])?llIll1['log']('❌\x20脚本运行遇到了错误\x0a'+Illl1l):lIl1ii['hdgKt'](lIl1l1,{'err':li1i,'res':ilIIil,'data':lIili1});});});else{if(lIl1ii['QrESa'](ilIIiI,'GET')){if(lIl1ii[lilI1I(0x335,'#wZz')](lIl1ii[lilI1I(0x34c,'O75Z')],lIl1ii[lilI1I(0x37c,'[#sJ')]))IiiIlI+=',';else return new Promise(async iiI1li=>{const i1IiiI=lilI1I,IIliii={'FlJaM':lIl1ii[i1IiiI(0x456,'Ib]9')],'Hzsth':function(i1111I,IliIl1){return lIl1ii['cdjeZ'](i1111I,IliIl1);}};if(lIl1ii[i1IiiI(0x349,'YSRB')](lIl1ii[i1IiiI(0x273,'#O]Y')],lIl1ii['HTDBp'])){const iiI1ll=lIl1ii[i1IiiI(0x2b7,'O75Z')][i1IiiI(0x385,'%ae2')]('|');let lIiliI=0x0;while(!![]){switch(iiI1ll[lIiliI++]){case'0':lI1llI[i1IiiI(0x309,'CYMI')](i1IiiI(0x344,'!ab(')+illIil+i1IiiI(0x42f,')@yQ')+lIl1ii['bcVEi'](Ill1I,'无')+'\x0a');continue;case'1':i11iiI[i1IiiI(0x252,'U((G')]('🔧\x20'+lIli11+i1IiiI(0x220,')&zA'));continue;case'2':lllI1I['log'](lillI1);continue;case'3':IlIlii[i1IiiI(0x2a6,'5hKs')](lIl1ii[i1IiiI(0x290,'b7RM')]);continue;case'4':li1i1I[i1IiiI(0x225,'^qZ(')]('🔧\x20'+illIii+i1IiiI(0x292,'VGMf')+(ii1il1||'无')+'\x0a');continue;case'5':iiiliI[i1IiiI(0x285,'ianw')](i1IiiI(0x228,'U((G'));continue;}break;}}else $['get'](liliiI,(iIiill,Ii1IIi,Ii1IIl)=>{const lI1I1I=i1IiiI,l111I={'dwjKs':IIliii['FlJaM']};if(IIliii[lI1I1I(0x361,'p[Z2')](lI1I1I(0x443,'ianw'),lI1I1I(0x3dc,'NKaU'))){IlI1l[lI1I1I(0x3ee,'WE*h')](l111I[lI1I1I(0x286,'YSRB')]),lilIil[lI1I1I(0x1fb,'4I#c')][lI1I1I(0x41f,'Ip[6')](lI1I1I(0x2a7,'6D)%'));return;}else iiI1li({'err':iIiill,'res':Ii1IIi,'data':Ii1IIl});});});}else{const ll1lll='不支持的请求方法';return{'err':ll1lll,'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)}