forked from shufflewzc/faker3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_gzsl_contactWare.js
18 lines (13 loc) · 38.7 KB
/
jd_gzsl_contactWare.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
活动名称:关注有礼 · 无线营销
活动链接:https://gzsl-isv.isvjcloud.com/wuxian/user/contactWare/<活动id>
环境变量:jd_gzsl_contactWare_activityUrl // 活动链接
7 7 7 7 * jd_gzsl_contactWare.js
*/
const $ = new Env('关注有礼(无线营销)')
const notify = $.isNode() ? require('./sendNotify') : ''
const jdCookieNode = $.isNode() ? require('./jdCookie') : ''
const getToken = require('./function/getToken')
var version_='jsjiami.com.v7';const iI11iil=il1iI1Ii;function lIIllI1l(){const llI1lIII=(function(){return[...[version_,'UjrSsEXFjiayLmhKiC.XAcofumfY.OvrV7OhLwIy==','z2v0rNvSBfLLyxi','t3PJDNC','vwDTBLy','qKr4z0u','wfHZDwu','Aw5KzxG','r1PtqLy','rKHTqNq','weTfqwS','BxnN','A21qBvC','EvDWDM4','BwLeswK','6k+35AgR5yAz5Rs75yQO6zo+5O6L','r056vu0','DvHsAxe','ChzJwKu','qNzuDgG','ALziuhO','zg9TywLU','AMrHCha7AvbOB25LoZeWlJiUmJSXnc4ZoW','DuLbA00','rgDqwhi','D2fPDa','zw52','vKHKwfK','CvDfs1e','vMfizgG','zg5Xz08','q2XHD3e','uNPsyKi','DhzytMi','rerStNG','vvzrzKK','z3PPCcWGzgvMBgf0zsWGyNi','tMLKD04','zMLSDgvY','z2v0ug9PBNrZ','sgHqrfa','5lQS5lIC5PYn5yQH5zMO6l+u5zUE5PwW5O2U5lI656M6','ywn0AxzPDhLfBMq','zMXVB3i','zg9Uzq','AMnhEMi','u2vlC3G','EKrfC0i','Eer0CLK','zNv1sg4','Bg9N','EM1nteO','BgvUz3rO','5Rs75yQO6kEe5yIz77YA','mtj3DefvCgm','rMvtCey','rhHdBNe','CfHvsem','uerowwm','AMrFz3PZBf9JB250ywn0v2fYzv9Hy3rPDML0EvvYBa','uLHpEee','z2v0tw9UDgG','y2f0y2G','tfHdALC','C3rYAw5NAwz5','wLfNAxq','teLHt1u','ndC3tMz2EKLg','u2jNrhO','6Akg5y+w5OIq5yQF77YA','B2jQzwn0','t2vHCNi','Dg9Rzw4','tM5Luem','q21drNi','wKPmr2C','BgPPzhe','l3D1EgLHBI91C2vYl2DLDezVBgXVD0fJDgL2Axr5lW','q25fwLO','vgjHDLq','m3WWFdr8mNWX','t3D4vLq','tLvZv08','CuzABe8','u2v4qMO','twn2r3K','AgfdCM8','Bfzdr3y','uuLQtNO','CgfYC2u','DvrmBNK','wKvOveq','rM9iDhm','CLPhshq','werkruC','zgvovKi','C3bSAxq','ugXhrvO'],...(function(){return[...['qK1Iv00','z2v0rgf0zq','5Rs75yQO5ywL5y+J77YA','CLblrg0','zMfSC2u','C3rHDhvZ','AufLue0','y2HHCKf0','Ahr0Chm6lY8','BML5r3C','y29VA2LL','zg9ODgu','u2LhyKK','C2PqDM8','mti5otmYmeXizwXxsG','CNvIqva','DgL0Bgu','AhbWr08','tgHqyue','qKjRD3u','ueDHBKu','mxW2FdD8nhWYFdn8ohWWFdu','thv5ugG','y1Pzshm','5lQS5lIC6l+u5zUE5lQg56M65PwW5O2U','6i635y+ww3rVA2vUxEwKSEI0PE+8Gq','AxndB250ywn0','EezUsNG','kIOQkIOQcG','ywjJzgvMmdeYmZq1nJC4oq','Cg9ZDa','ywnsyw0','rK1dr3i','vfjOtKm','Aw5JBhvKzxm','DMDtsMm','AgfZrw5K','44cq5O+q56s644cry29VA2LL5BEY5AsX5Pwi','zxjYCW','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLGPODhrWCZOVl2jLyw4UBs5Qzc5JB20VyMvHBI9ZAwDUsw5KzxGUywn0Aw9U','q3Pxshq','vMvtAwG','wvnQCee','BuDSCve','y291Cg9UrgLZy291BNq','vxnLCK5HBwu','tM1oEe0','uvLTz2m','s2Pet0u','rNrAAfi','44cq5O+q56s644cr6k+35ywi6i635y+w5lQS5lIC6lsM5y+35lIay29VA2LLcUEBToAoPEs9V+EuQe5VyNLeyEEAHos6Ros4NoETVUwiSoIoT+wpLG','v2XPzLi','tKHNAgq','DfD3vhm','whvPBgy','tw9psuq','z2v0zgf0yq','Cu1uAKC','l3D1EgLHBI91C2vYl2nVBNrHy3qV','Dg1kC0W','tNv6Cfe','y2PmyMq','o00Vns4Wo25LDhDVCMSVD2LMAtTbreLelZTTB2rLBc9PugHVBMuXmIWXo2fKzhjLC3nPzc80mtK5mtC1mtKZo2fWCej1AwXKlZe2nZG2mZTQzfn1ChbVCNreyxjRtw9Kzs8Wo01VEMLSBgeVns4WicHPugHVBMu7ienqvsbPugHVBMuGt1mGmtrFmYbSAwTLie1HyYbpuYbyksbbChbSzvDLyKTPDc82mduUms4XnsaOs0HutuWSigXPA2uGr2vJA28Pie1VyMLSzs8XnuuXndG7C3vWCg9YDePeu0HxsY8XoW','5lQS5lIC6lsM5y+3','zfHAwwK','r2LQDe0','DuLjEem','yxbWBgLJyxrPB24VANnVBIWGDgv4Dc9WBgfPBIWGkI8Q','kf58wYy/xsK','A1HNB0q','D2rYrMy','DMfdsgG','v3vnCgW','BxP5s1i','twDHDxC','rNHAyLK','EfjUy0C','AgnjrKq','ruz3Bg8','uw54BMm','psHBxIzDkIKOjNWKkq','ipcFJP/VUi8G','BMfTzq','Cg9PBNroDw0','ELDID3K','uhbzrgW','q29VA2LLsKq','z0jKquW','q3jpqNq','ugfhuuC','vvHfvxu','rer5sNa','y2jArxm','Bg5lzLC','t3PJAxa','tMzICKi','sNDIBw0','A2v5CW'],...(function(){return['vMPyz3K','ExD2re0','z2v0u2vJB25KCW','ue15CMe','5PYQ5BYa5AEl','CuPWsgm','Cg1xDgi','zM9YrwfJAa','C1nAq0K','DffIsfq','5BEY57Up5ywZ5RoO6l+hFG','nty3mZqZBuL6C1r2','Ahr0Chm6lY9IzwfUlM0UAMqUy29Tl2jLyw4VC2LNBKLUzgv4lMfJDgLVBG','Bwf0y2G','8j+xKE+4JYdKVjJMG6dLIlGG','z2v0q291Cg9U','u29cvxC','su13BMG','ywzpsxG','mZGZntHbvKHfCKu','C3rYAw5N','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLMnVB2TPzq','ENLuAKq','rvfpzLC','q29VA2LLsKqY','BMLJA05HBwu','BKrbEKq','q29VA2LLC0Pe','AgPXzLa','v05dyLe','u1fhEe4','u0Dgr04','yxbWBgLJyxrPB24VANnVBJTJAgfYC2v0pvvurI04','zffzBeq','mJGZmZq5u0fhrw1T','A0H2z2m','5Rs75yQO5zcn56EW77YA','tNv4tLu','nJvgse1yzLe','ELbkAge','AxnoB2rL','lcdLPlhOTkuHiowoN+wBOdOG','Au52s0K','EKvjuLi','yLvtz1K','DvnwEKi','mtKYmZbmD0LHv1q','vwfmreO','zuHQqNK','y21ntMq','yu5duMi','ywn0AxzPDhK','BfvIr1O','q21tDKG','reTRte0','zNj5rgG','zxbJsuS','sKrFrevcvuC','mw1WrhPLtW','CNvSzq','z2v0twLUDxrLCW','EMGTq04SEMG7Ct0WlJKSDgGTq047Ct0WlJGSDgG7Ct0WlJCSDMKTq047Ct0WlJySDMK7Ct0WlJuSzw4Tvvm7Ct0WlJqSzw47Ct0WlJm','q2Ptzg4','rwPwuKO','Aw5KDfC','wurNy1a','vKLWyxi','z2v0sg91CNm','mtyWEvzHyKL1','wwXhCLy','cIOQkIOQkUw8GowNI+oaKos6Ros4NoI0PUwpTW','zMLUywXSEq','EgTHy0u','C2vUze5VDgLMEq','z3nPEgu','5OQ95Aww5PY65lYA','BMTRq0O','AxnmB2DPBG','nduYmZDguLrhvNm','svbTC0C','6k+35yU/6zQp5Osp5zYOqM94sNpOVPpLHAxMOyBKV67MLlNLHOxLRRKk5BU66k6U6ycA6l+h6isA5PYS5y676i635y+wy29VA2LL','A2vLCc1HBgL2zq','ChjctLq','zMjvqKy','mtj0tfzWDhO','yLvqvxe','DNPSyxC','A3LwCLa','ChvZAa','y29VA2LL5BEY5AsX5Pwiic0G','CMfUzg9T','AMvhC2K','A2DesMi','55sO5A6m5lQg','rgHQAg8','yxbPzey','BwfW'];}())];}())];}());lIIllI1l=function(){return llI1lIII;};return lIIllI1l();}function il1iI1Ii(_0x6d6be7,_0x33b9be){const _0xc26b56=lIIllI1l();return il1iI1Ii=function(_0x36db22,_0x1c8499){_0x36db22=_0x36db22-0x113;let _0x54e12e=_0xc26b56[_0x36db22];if(il1iI1Ii['RlqcoG']===undefined){var _0x3e03c2=function(_0x3224d6){const _0x530bd1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d6175='',_0x14a232='';for(let _0x557dde=0x0,_0x1d3ee2,_0x28b7f3,_0x4a62e0=0x0;_0x28b7f3=_0x3224d6['charAt'](_0x4a62e0++);~_0x28b7f3&&(_0x1d3ee2=_0x557dde%0x4?_0x1d3ee2*0x40+_0x28b7f3:_0x28b7f3,_0x557dde++%0x4)?_0x4d6175+=String['fromCharCode'](0xff&_0x1d3ee2>>(-0x2*_0x557dde&0x6)):0x0){_0x28b7f3=_0x530bd1['indexOf'](_0x28b7f3);}for(let _0x12139e=0x0,_0x16e021=_0x4d6175['length'];_0x12139e<_0x16e021;_0x12139e++){_0x14a232+='%'+('00'+_0x4d6175['charCodeAt'](_0x12139e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x14a232);};il1iI1Ii['xBFGAo']=_0x3e03c2,_0x6d6be7=arguments,il1iI1Ii['RlqcoG']=!![];}const _0x565680=_0xc26b56[0x0],_0x3401c8=_0x36db22+_0x565680,_0x52826f=_0x6d6be7[_0x3401c8];return!_0x52826f?(_0x54e12e=il1iI1Ii['xBFGAo'](_0x54e12e),_0x6d6be7[_0x3401c8]=_0x54e12e):_0x54e12e=_0x52826f,_0x54e12e;},il1iI1Ii(_0x6d6be7,_0x33b9be);};(function(I1IIllll,I111111I,I1lI1l1I,lllIiIil,iil1lIi,iIilill,iiIii1I1){return I1IIllll=I1IIllll>>0x3,iIilill='hs',iiIii1I1='hs',function(Il1Illi,IiI1Illl,ii11lII1,iIilli1i,IiiiI1){const lIii11Ii=il1iI1Ii;iIilli1i='tfi',iIilill=iIilli1i+iIilill,IiiiI1='up',iiIii1I1+=IiiiI1,iIilill=ii11lII1(iIilill),iiIii1I1=ii11lII1(iiIii1I1),ii11lII1=0x0;const iiI1il1=Il1Illi();while(!![]&&--lllIiIil+IiI1Illl){try{iIilli1i=-parseInt(lIii11Ii(0x1a5))/0x1*(-parseInt(lIii11Ii(0x199))/0x2)+-parseInt(lIii11Ii(0x1b9))/0x3*(parseInt(lIii11Ii(0x1bf))/0x4)+parseInt(lIii11Ii(0x191))/0x5*(parseInt(lIii11Ii(0x17e))/0x6)+-parseInt(lIii11Ii(0x176))/0x7+parseInt(lIii11Ii(0x117))/0x8+parseInt(lIii11Ii(0x20d))/0x9*(-parseInt(lIii11Ii(0x1af))/0xa)+-parseInt(lIii11Ii(0x18d))/0xb*(parseInt(lIii11Ii(0x200))/0xc);}catch(l11iIll1){iIilli1i=ii11lII1;}finally{IiiiI1=iiI1il1[iIilill]();if(I1IIllll<=lllIiIil)ii11lII1?iil1lIi?iIilli1i=IiiiI1:iil1lIi=IiiiI1:ii11lII1=IiiiI1;else{if(ii11lII1==iil1lIi['replace'](/[FOUfyhrCVSEKYILAwuX=]/g,'')){if(iIilli1i===IiI1Illl){iiI1il1['un'+iIilill](IiiiI1);break;}iiI1il1[iiIii1I1](IiiiI1);}}}}}(I1lI1l1I,I111111I,function(ilIIi11,I111I1ll,lli11l1i,Il11I,illi1,lil11I,IilIiliI){return I111I1ll='\x73\x70\x6c\x69\x74',ilIIi11=arguments[0x0],ilIIi11=ilIIi11[I111I1ll](''),lli11l1i=`\x72\x65\x76\x65\x72\x73\x65`,ilIIi11=ilIIi11[lli11l1i]('\x76'),Il11I=`\x6a\x6f\x69\x6e`,(0x135e1e,ilIIi11[Il11I](''));});}(0x608,0x18f66,lIIllI1l,0xc3),lIIllI1l)&&(version_=lIIllI1l);let cookiesArr=[],cookie='',allMessage='',activityUrl=process[iI11iil(0x1e4)][iI11iil(0x205)]?process[iI11iil(0x1e4)][iI11iil(0x205)]:'';if($[iI11iil(0x193)]()){Object[iI11iil(0x16a)](jdCookieNode)[iI11iil(0x172)](i1ilIl11=>{const lilIl1I1=iI11iil;cookiesArr[lilIl1I1(0x1c3)](jdCookieNode[i1ilIl11]);});if(process[iI11iil(0x1e4)][iI11iil(0x1a4)]&&process[iI11iil(0x1e4)][iI11iil(0x1a4)]===iI11iil(0x230))console[iI11iil(0x1fc)]=()=>{};}else cookiesArr=[$[iI11iil(0x141)](iI11iil(0x15f)),$[iI11iil(0x141)](iI11iil(0x183)),...jsonParse($[iI11iil(0x141)](iI11iil(0x186))||'[]')[iI11iil(0x1cb)](I1iiIi1i=>I1iiIi1i[iI11iil(0x113)])][iI11iil(0x1f0)](Il1il1i1=>!!Il1il1i1);if(activityUrl){let pattern=activityUrl[iI11iil(0x178)](/contact\/(.+d?)/)||activityUrl[iI11iil(0x178)](/contactWare\/(.+d?)/);pattern&&(activityId=pattern[0x1]),$[iI11iil(0x1df)]=activityUrl[iI11iil(0x178)](/https?:\/\/([^/]+)/)[0x1];}else{console[iI11iil(0x1fc)](iI11iil(0x1d9));return;}let domains=iI11iil(0x234)+$[iI11iil(0x1df)];!(async()=>{const iii1Il1=iI11iil,iiilIIl1={'PaGQG':function(iIli1I11,lIliill1){return iIli1I11+lIliill1;},'TbavT':iii1Il1(0x18f),'miDIi':function(lIIIiil,IiIIi1il){return lIIIiil+IiIIi1il;},'mGlqQ':iii1Il1(0x1ff),'tQbHT':iii1Il1(0x13b),'qJpHc':iii1Il1(0x177),'uTLny':function(il1l1iI1,iII1iiI1){return il1l1iI1+iII1iiI1;},'Dhjho':iii1Il1(0x22e),'hppGO':function(I1IIlIi1,lIllllil){return I1IIlIi1<lIllllil;},'MoOID':function(llIlIii,lllIlilI){return llIlIii(lllIlilI);},'PDNYc':function(lil1iIIl,l1l1li){return lil1iIIl===l1l1li;},'HhPDP':iii1Il1(0x16c),'CrOBt':function(IIi1lIIl){return IIi1lIIl();},'xkacE':function(iiIiIlII,liIiI11i){return iiIiIlII===liIiI11i;},'mzyKR':iii1Il1(0x120)};if(!cookiesArr[0x0]){$[iii1Il1(0x1d5)]($[iii1Il1(0x15b)],iiilIIl1[iii1Il1(0x174)],iiilIIl1[iii1Il1(0x170)],{'open-url':iiilIIl1[iii1Il1(0x170)]});return;}console[iii1Il1(0x1fc)](iiilIIl1[iii1Il1(0x224)](iiilIIl1[iii1Il1(0x1c9)],activityUrl));for(let ii11lIii=0x0;iiilIIl1[iii1Il1(0x11a)](ii11lIii,cookiesArr[iii1Il1(0x1fe)]);ii11lIii++){if(cookiesArr[ii11lIii]){cookie=cookiesArr[ii11lIii],originCookie=cookiesArr[ii11lIii],$[iii1Il1(0x136)]=iiilIIl1[iii1Il1(0x140)](decodeURIComponent,cookie[iii1Il1(0x178)](/pt_pin=([^; ]+)(?=;?)/)&&cookie[iii1Il1(0x178)](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[iii1Il1(0x1d1)]=iiilIIl1[iii1Il1(0x224)](ii11lIii,0x1),$[iii1Il1(0x1b8)]=!![],$[iii1Il1(0x184)]='',message='',console[iii1Il1(0x1fc)](iii1Il1(0x1b1)+$[iii1Il1(0x1d1)]+'】'+($[iii1Il1(0x184)]||$[iii1Il1(0x136)])+iii1Il1(0x125));if(!$[iii1Il1(0x1b8)]){$[iii1Il1(0x1d5)]($[iii1Il1(0x15b)],iii1Il1(0x12e),iii1Il1(0x148)+$[iii1Il1(0x1d1)]+'\x20'+($[iii1Il1(0x184)]||$[iii1Il1(0x136)])+iii1Il1(0x130),{'open-url':iiilIIl1[iii1Il1(0x170)]});$[iii1Il1(0x193)]()&&(iiilIIl1[iii1Il1(0x204)](iiilIIl1[iii1Il1(0x1f2)],iiilIIl1[iii1Il1(0x1f2)])?await notify[iii1Il1(0x1b4)]($[iii1Il1(0x15b)]+iii1Il1(0x1c4)+$[iii1Il1(0x136)],iii1Il1(0x148)+$[iii1Il1(0x1d1)]+'\x20'+$[iii1Il1(0x136)]+iii1Il1(0x180)):I1i11I1I[iii1Il1(0x1c3)](I1lii11I[iiIii1li]));continue;}await iiilIIl1[iii1Il1(0x161)](getUA),await iiilIIl1[iii1Il1(0x161)](run),await $[iii1Il1(0x1e3)](0x7d0);if($[iii1Il1(0x12d)]||$[iii1Il1(0x1f4)]){if(iiilIIl1[iii1Il1(0x1b3)](iiilIIl1[iii1Il1(0x152)],iiilIIl1[iii1Il1(0x152)]))break;else lil1I11l[iii1Il1(0x119)]=I1Iiili1[iii1Il1(0x19e)][iii1Il1(0x119)],iIil1iii[iii1Il1(0x1fc)](iiilIIl1[iii1Il1(0x162)](iiilIIl1[iii1Il1(0x162)](iiilIIl1[iii1Il1(0x219)],lIlI11i1[iii1Il1(0x119)]),'\x0a')),li1lliIi[iii1Il1(0x1a6)]=lIlil1I1[iii1Il1(0x19e)][iii1Il1(0x1a6)],IilIIliI[iii1Il1(0x1fc)](iiilIIl1[iii1Il1(0x162)](iiilIIl1[iii1Il1(0x1d8)](iiilIIl1[iii1Il1(0x134)],IIlllIlI[iii1Il1(0x1a6)]),'\x0a'));}}}if(allMessage){if($[iii1Il1(0x193)]())await notify[iii1Il1(0x1b4)](''+$[iii1Il1(0x15b)],''+allMessage);$[iii1Il1(0x1d5)]($[iii1Il1(0x15b)],'',allMessage);}})()[iI11iil(0x208)](l1I1ilIi=>{const IlI1iIii=iI11iil;$[IlI1iIii(0x1fc)]('','❌\x20'+$[IlI1iIii(0x15b)]+IlI1iIii(0x194)+l1I1ilIi+'!','');})[iI11iil(0x1b2)](()=>{const I11i1lIl=iI11iil;$[I11i1lIl(0x1f6)]();});async function run(){const liilIi1=iI11iil,Ii1l111={'kgDJb':function(I1lIll1i,IiliiIl){return I1lIll1i+IiliiIl;},'gsixe':function(lI11IlIi,lIliIiIi,IiIi1I1l){return lI11IlIi(lIliIiIi,IiIi1I1l);},'vgSJc':function(li1Ili1i,IlI11l1I){return li1Ili1i==IlI11l1I;},'wdrFf':liilIi1(0x122),'hjqfP':function(lII1Ii11){return lII1Ii11();},'FoHts':function(i1iillI1,iIliIIi){return i1iillI1!==iIliIIi;},'jVHPz':liilIi1(0x1e9),'BMbWM':function(lilli){return lilli();},'lVCGv':liilIi1(0x175)};try{$[liilIi1(0x212)]='',$[liilIi1(0x12f)]=![],$[liilIi1(0x212)]=await Ii1l111[liilIi1(0x1b5)](getToken,originCookie,domains);if(Ii1l111[liilIi1(0x12c)]($[liilIi1(0x212)],'')){console[liilIi1(0x1fc)](Ii1l111[liilIi1(0x14f)]);return;}await $[liilIi1(0x1e3)](0x12c),await Ii1l111[liilIi1(0x187)](getFollowActivity);if($[liilIi1(0x1f4)])return;await $[liilIi1(0x1e3)](0x12c),!$[liilIi1(0x123)]?Ii1l111[liilIi1(0x226)](Ii1l111[liilIi1(0x1de)],Ii1l111[liilIi1(0x1de)])?IIlIiI=Ii1l111[liilIi1(0x1c7)]('0',Il1llI1):(await Ii1l111[liilIi1(0x22c)](contact),await $[liilIi1(0x1e3)](0x12c)):$[liilIi1(0x1fc)](Ii1l111[liilIi1(0x221)]);}catch(iii111li){console[liilIi1(0x1fc)](iii111li);}}function contact(){const lli1III1=iI11iil,IliIii={'uIIxC':lli1III1(0x1d9),'GZSBV':lli1III1(0x13b),'WNCbQ':lli1III1(0x177),'ZJLGg':function(iillI1,IilllIII){return iillI1==IilllIII;},'FxZbY':lli1III1(0x210),'PGanE':lli1III1(0x17f),'DgPXr':lli1III1(0x1bb),'aNCRb':function(I1lil1ll,Ii1lI111){return I1lil1ll(Ii1lI111);},'dnqgO':function(ili1l111,I1IiliI1){return ili1l111!==I1IiliI1;},'Ozcip':lli1III1(0x229),'apidF':function(ilIlIi11,IilI1Ii1){return ilIlIi11!=IilI1Ii1;},'FHmBt':function(IliiiIll,lllIii11){return IliiiIll+lllIii11;},'McvGy':function(liiI1iil,lIlIi11){return liiI1iil+lIlIi11;},'YlGrV':lli1III1(0x20f),'rPKDm':function(ll1iI,liiI1i){return ll1iI===liiI1i;},'prBNT':lli1III1(0x132),'vaCHh':function(i1Ii1ill,IlliIIiI){return i1Ii1ill+IlliIIiI;},'xDtrY':function(i11II11l,iiiIilII){return i11II11l+iiiIilII;},'ljidq':lli1III1(0x227),'indtW':function(I1iII1i1,ii1il11){return I1iII1i1+ii1il11;},'CmSvH':function(I1IlIIII,IIIIl1II){return I1IlIIII+IIIIl1II;},'NidwN':function(iiIl1llI,lIll1lI){return iiIl1llI+lIll1lI;},'tvXNb':function(il1IlIii,II1iI1il){return il1IlIii+II1iI1il;},'fuuHn':lli1III1(0x1c8),'CjSdn':lli1III1(0x1b6),'XDJEG':lli1III1(0x16f),'cjLbd':lli1III1(0x20c),'zWbwy':lli1III1(0x13d),'EQOfW':lli1III1(0x121),'SexBj':lli1III1(0x1c1),'BBkwu':function(iil1ilII){return iil1ilII();},'YSjpA':lli1III1(0x13e),'sSZCI':lli1III1(0x1bc),'dohte':lli1III1(0x14c),'DDyJp':lli1III1(0x18b),'gBdAL':lli1III1(0x1ee),'Oearr':lli1III1(0x1a8)};body={'activityId':activityId,'token':$[lli1III1(0x212)],'source':'01'};let liI1Ilii={'url':domains+lli1III1(0x143)+activityId,'headers':{'Host':$[lli1III1(0x1df)],'Connection':IliIii[lli1III1(0x173)],'Accept':IliIii[lli1III1(0x114)],'User-Agent':UA,'Content-Type':IliIii[lli1III1(0x164)],'Origin':lli1III1(0x234)+$[lli1III1(0x1df)],'Referer':activityUrl,'Accept-Encoding':IliIii[lli1III1(0x160)],'Accept-Language':IliIii[lli1III1(0x211)],'Cookie':cookie},'body':JSON[lli1III1(0x20a)](body)};return new Promise(IiIIii1l=>{const iIliIlIl=lli1III1,i1iI1I1={'UaLDJ':IliIii[iIliIlIl(0x1d2)],'zyTjD':IliIii[iIliIlIl(0x188)],'LhPaA':function(I11lli1i,il1iIiIl){const iIllIi11=iIliIlIl;return IliIii[iIllIi11(0x215)](I11lli1i,il1iIiIl);},'VjXgy':IliIii[iIliIlIl(0x154)],'FtZhR':IliIii[iIliIlIl(0x11d)],'kyVrP':IliIii[iIliIlIl(0x1e2)],'iAePM':function(liI11I1I,lIIlI1II){const IIi1Ii1I=iIliIlIl;return IliIii[IIi1Ii1I(0x19d)](liI11I1I,lIIlI1II);},'cmMNd':function(l1i1I11,i1l1l1lI){const I1IIi1lI=iIliIlIl;return IliIii[I1IIi1lI(0x1e8)](l1i1I11,i1l1l1lI);},'EjVRJ':IliIii[iIliIlIl(0x167)],'XKEAk':function(IIl1IIiI,l1Ii1llI){const Ill1ii1=iIliIlIl;return IliIii[Ill1ii1(0x1ca)](IIl1IIiI,l1Ii1llI);},'SGFGN':function(lIii1i1i,i11iilii){const l1111i=iIliIlIl;return IliIii[l1111i(0x1d3)](lIii1i1i,i11iilii);},'KjDOE':function(lli1lil1,i1lII1l){const Iiil1i11=iIliIlIl;return IliIii[Iiil1i11(0x21f)](lli1lil1,i1lII1l);},'sjPvo':IliIii[iIliIlIl(0x1b0)],'rubAP':function(il1iIi11,IlI1ilil){const lliliii1=iIliIlIl;return IliIii[lliliii1(0x215)](il1iIi11,IlI1ilil);},'lnKfW':function(II11iii,l1Il1lil){const l1ilIi11=iIliIlIl;return IliIii[l1ilIi11(0x1ca)](II11iii,l1Il1lil);},'ZQgit':function(llilillI,iI1l1lIi){const lil1Il1I=iIliIlIl;return IliIii[lil1Il1I(0x22f)](llilillI,iI1l1lIi);},'xRncG':IliIii[iIliIlIl(0x1bd)],'jcGzb':function(ll1I1il1,Iil1ii1I){const i1IIliiI=iIliIlIl;return IliIii[i1IIliiI(0x150)](ll1I1il1,Iil1ii1I);},'PpYDl':function(IillI1l,il1IlI11){const ll1lI1i=iIliIlIl;return IliIii[ll1lI1i(0x1fa)](IillI1l,il1IlI11);},'qFZlO':IliIii[iIliIlIl(0x216)],'GijtM':function(Il1Ilill,lII1Iill){const ilIlIlIl=iIliIlIl;return IliIii[ilIlIlIl(0x1ab)](Il1Ilill,lII1Iill);},'OwxVT':function(i1Iil1ll,ll1Iilil){const i1iI11Ii=iIliIlIl;return IliIii[i1iI11Ii(0x1a0)](i1Iil1ll,ll1Iilil);},'pmWtb':function(lli1iI1l,iI1iili){const Il1IiIl1=iIliIlIl;return IliIii[Il1IiIl1(0x1ef)](lli1iI1l,iI1iili);},'BDxgE':function(i1iIIIi,l1ii1iI1){const iiiiIli1=iIliIlIl;return IliIii[iiiiIli1(0x1eb)](i1iIIIi,l1ii1iI1);},'QIjNz':IliIii[iIliIlIl(0x1fb)],'PlGEZ':IliIii[iIliIlIl(0x1a9)],'xFnJx':IliIii[iIliIlIl(0x228)],'UVQfI':function(II1lIlii,li11ilI){const l1iI1ll=iIliIlIl;return IliIii[l1iI1ll(0x22f)](II1lIlii,li11ilI);},'Jwbmm':IliIii[iIliIlIl(0x146)],'qMTjG':IliIii[iIliIlIl(0x15d)],'bUSgY':IliIii[iIliIlIl(0x182)],'SoBUw':IliIii[iIliIlIl(0x21e)],'ZEhTD':function(Iil11lli){const II11I11l=iIliIlIl;return IliIii[II11I11l(0x11c)](Iil11lli);}};if(IliIii[iIliIlIl(0x1e8)](IliIii[iIliIlIl(0x133)],IliIii[iIliIlIl(0x133)])){III1Il1[iIliIlIl(0x1fc)](IliIii[iIliIlIl(0x14b)]);return;}else $[iIliIlIl(0x127)](liI1Ilii,(IilIlli1,IiIl1il1,liI1li1)=>{const IIil1Ili=iIliIlIl,li11lii1={'DDlNx':function(I1liiill,I1IiIlli){const Iil1lil=il1iI1Ii;return i1iI1I1[Iil1lil(0x11b)](I1liiill,I1IiIlli);},'SeKsx':i1iI1I1[IIil1Ili(0x16b)],'SbgDz':function(iIIiI1i1,illI1ll1){const lilll1=IIil1Ili;return i1iI1I1[lilll1(0x11b)](iIIiI1i1,illI1ll1);},'nDAzD':i1iI1I1[IIil1Ili(0x13a)],'uXRiq':i1iI1I1[IIil1Ili(0x1c2)]};try{if(IilIlli1)$[IIil1Ili(0x1fc)](IilIlli1);else{if(i1iI1I1[IIil1Ili(0x232)](safeGet,liI1li1)){if(i1iI1I1[IIil1Ili(0x19c)](i1iI1I1[IIil1Ili(0x1aa)],i1iI1I1[IIil1Ili(0x1aa)])){if(li11lii1[IIil1Ili(0x1ec)](typeof Il11IIl[IIil1Ili(0x223)](IilIiI1l),li11lii1[IIil1Ili(0x1f8)]))return!![];}else{liI1li1=JSON[IIil1Ili(0x223)](liI1li1);if(liI1li1&&i1iI1I1[IIil1Ili(0x11b)](liI1li1[IIil1Ili(0x231)],0x1)){$[IIil1Ili(0x135)]=liI1li1[IIil1Ili(0x19e)][IIil1Ili(0x135)],$[IIil1Ili(0x15c)]=liI1li1[IIil1Ili(0x19e)][IIil1Ili(0x15c)],$[IIil1Ili(0x1f1)]=liI1li1[IIil1Ili(0x19e)][IIil1Ili(0x1f1)],$[IIil1Ili(0x17a)]=liI1li1[IIil1Ili(0x19e)][IIil1Ili(0x17a)];if(i1iI1I1[IIil1Ili(0x1d4)]($[IIil1Ili(0x1f1)],0x0)&&i1iI1I1[IIil1Ili(0x11b)]($[IIil1Ili(0x17a)],0x0))console[IIil1Ili(0x1fc)](i1iI1I1[IIil1Ili(0x18a)](i1iI1I1[IIil1Ili(0x139)](i1iI1I1[IIil1Ili(0x116)],$[IIil1Ili(0x15c)]),IIil1Ili(0x15a)));else{if(i1iI1I1[IIil1Ili(0x118)]($[IIil1Ili(0x1f1)],0x0)&&i1iI1I1[IIil1Ili(0x166)]($[IIil1Ili(0x17a)],0x0)){if(i1iI1I1[IIil1Ili(0x20b)](i1iI1I1[IIil1Ili(0x155)],i1iI1I1[IIil1Ili(0x155)]))console[IIil1Ili(0x1fc)](i1iI1I1[IIil1Ili(0x1f7)](i1iI1I1[IIil1Ili(0x15e)](i1iI1I1[IIil1Ili(0x116)],$[IIil1Ili(0x135)]),IIil1Ili(0x179)));else{iIli11[IIil1Ili(0x1d5)](IIiIi1Il[IIil1Ili(0x15b)],i1iI1I1[IIil1Ili(0x19a)],i1iI1I1[IIil1Ili(0x181)],{'open-url':i1iI1I1[IIil1Ili(0x181)]});return;}}else{if(i1iI1I1[IIil1Ili(0x19c)](i1iI1I1[IIil1Ili(0x21d)],i1iI1I1[IIil1Ili(0x21d)]))return!![];else console[IIil1Ili(0x1fc)](i1iI1I1[IIil1Ili(0x14a)](i1iI1I1[IIil1Ili(0x21b)](i1iI1I1[IIil1Ili(0x171)](i1iI1I1[IIil1Ili(0x1cf)](i1iI1I1[IIil1Ili(0x116)],$[IIil1Ili(0x135)]),IIil1Ili(0x179)),$[IIil1Ili(0x15c)]),IIil1Ili(0x15a)));}}}else{$[IIil1Ili(0x1fc)](liI1li1[IIil1Ili(0x1d5)]),IilIlli1=liI1li1[IIil1Ili(0x1d5)];for(let lIIlil11 of['不足','火爆','上限',i1iI1I1[IIil1Ili(0x222)],'擦肩',i1iI1I1[IIil1Ili(0x22b)]]){if(IilIlli1[IIil1Ili(0x12b)](lIIlil11)){$[IIil1Ili(0x12f)]=!![];break;}}for(let lilllIii of['结束',i1iI1I1[IIil1Ili(0x124)]]){if(i1iI1I1[IIil1Ili(0x1ed)](i1iI1I1[IIil1Ili(0x169)],i1iI1I1[IIil1Ili(0x142)])){if(li11lii1[IIil1Ili(0x20e)](typeof I1lIiiii,li11lii1[IIil1Ili(0x185)]))try{return I1i1i1li[IIil1Ili(0x223)](i1IIii1I);}catch(Iillli1i){return iIii111l[IIil1Ili(0x1fc)](Iillli1i),li1lIill[IIil1Ili(0x1d5)](IiIi111[IIil1Ili(0x15b)],'',li11lii1[IIil1Ili(0x1db)]),[];}}else{if(IilIlli1[IIil1Ili(0x12b)](lilllIii)){$[IIil1Ili(0x1f4)]=!![];break;}}}}}}else $[IIil1Ili(0x1fc)](i1iI1I1[IIil1Ili(0x197)]);}}catch(lllI1i1i){$[IIil1Ili(0x1fc)](lllI1i1i);}finally{i1iI1I1[IIil1Ili(0x19c)](i1iI1I1[IIil1Ili(0x17b)],i1iI1I1[IIil1Ili(0x17b)])?IiI1II11[IIil1Ili(0x1fc)]('','❌\x20'+iII1Ill[IIil1Ili(0x15b)]+IIil1Ili(0x194)+l1iI1II1+'!',''):i1iI1I1[IIil1Ili(0x225)](IiIIii1l);}});});}function getFollowActivity(){const llII11i=iI11iil,lIII1ll={'IMwnh':llII11i(0x21a),'epcIK':function(III1ilIi,lI1iilI){return III1ilIi!=lI1iilI;},'UgmnV':function(I1lIi1II,IlIi1iiI){return I1lIi1II==IlIi1iiI;},'NfbrB':function(liIi1iII,IIiil1l1){return liIi1iII+IIiil1l1;},'BvTth':llII11i(0x20f),'pvcZE':function(lIiiilil,I1ilI1i1){return lIiiilil+I1ilI1i1;},'fryDh':function(liIIIllI,IIlIiI1l){return liIIIllI+IIlIiI1l;},'RXOxA':function(lIIilli,i1Iil11l){return lIIilli!==i1Iil11l;},'bUPUq':llII11i(0x19b),'nkkCJ':function(iilllII1,iiIilIll){return iilllII1(iiIilIll);},'YDgcP':function(Ili111il,lli1ilIl){return Ili111il===lli1ilIl;},'tmJsL':llII11i(0x129),'kmPmW':llII11i(0x18f),'dXZYi':llII11i(0x1ff),'cbZEs':llII11i(0x1c8),'qWEKQ':llII11i(0x1b6),'SiGbI':function(l111I11I,iil1iI){return l111I11I===iil1iI;},'CmCFr':llII11i(0x11f),'NnePC':llII11i(0x16f),'WuMpl':llII11i(0x121),'EFwlo':function(ii1Il1I1){return ii1Il1I1();},'NmNxM':llII11i(0x1bb),'zDEsB':llII11i(0x1bc),'uSVzB':llII11i(0x14c),'FeSpF':llII11i(0x18b),'DKkLM':llII11i(0x1ee),'CzWHt':llII11i(0x1a8)};body={'activityId':activityId,'token':$[llII11i(0x212)],'source':'01'};let IIlliIil={'url':domains+llII11i(0x217)+activityId,'headers':{'Host':$[llII11i(0x1df)],'Connection':lIII1ll[llII11i(0x1f9)],'Accept':lIII1ll[llII11i(0x198)],'User-Agent':UA,'Content-Type':lIII1ll[llII11i(0x201)],'Origin':llII11i(0x234)+$[llII11i(0x1df)],'Referer':activityUrl,'Accept-Encoding':lIII1ll[llII11i(0x1a1)],'Accept-Language':lIII1ll[llII11i(0x131)],'Cookie':cookie},'body':JSON[llII11i(0x20a)](body)};return new Promise(ii11i1I=>{const iI1III1l=llII11i,ii1Iill1={'zEIRR':lIII1ll[iI1III1l(0x137)]};$[iI1III1l(0x127)](IIlliIil,(li11lIII,I1l11II,lilll1I1)=>{const IiIill11=iI1III1l,illlIl1I={'Qnxnc':lIII1ll[IiIill11(0x17c)],'Xuilf':function(i1II1lli,Iii1lli){const iIIll11=IiIill11;return lIII1ll[iIIll11(0x1a3)](i1II1lli,Iii1lli);},'lUbGZ':function(lii11IlI,iIII1li){const iIilIii=IiIill11;return lIII1ll[iIilIii(0x1ce)](lii11IlI,iIII1li);},'kHvgc':function(li11Ilil,iiiI1I1I){const iiiIllii=IiIill11;return lIII1ll[iiiIllii(0x168)](li11Ilil,iiiI1I1I);},'XXsue':lIII1ll[IiIill11(0x1dd)],'CnEZZ':function(llll1ii,ili1llIl){const Iii1IlII=IiIill11;return lIII1ll[Iii1IlII(0x1ce)](llll1ii,ili1llIl);},'hcIFD':function(Iilll11,lI1iiii1){const IiI11lII=IiIill11;return lIII1ll[IiI11lII(0x1a3)](Iilll11,lI1iiii1);},'GNzUM':function(lIiIii1i,iIi11I1I){const li11l11I=IiIill11;return lIII1ll[li11l11I(0x168)](lIiIii1i,iIi11I1I);},'Ozcvw':function(i1lIIli1,il111I){const IliiIiI1=IiIill11;return lIII1ll[IliiIiI1(0x1dc)](i1lIIli1,il111I);},'zPJha':function(IliI11Ii,Ii1l1Ii){const iIIIilIl=IiIill11;return lIII1ll[iIIIilIl(0x1a2)](IliI11Ii,Ii1l1Ii);},'SQGxN':function(i1iiiIl1,I1li1I11){const Il1l1Ii=IiIill11;return lIII1ll[Il1l1Ii(0x1dc)](i1iiiIl1,I1li1I11);}};try{if(li11lIII){if(lIII1ll[IiIill11(0x206)](lIII1ll[IiIill11(0x1c0)],lIII1ll[IiIill11(0x1c0)]))return ii11iI[IiIill11(0x1fc)](Iil1IIii),ll11l1l[IiIill11(0x1d5)](Iillllli[IiIill11(0x15b)],'',ii1Iill1[IiIill11(0x196)]),[];else $[IiIill11(0x1fc)](li11lIII);}else{if(lIII1ll[IiIill11(0x1b7)](safeGet,lilll1I1)){lilll1I1=JSON[IiIill11(0x223)](lilll1I1);if(lilll1I1&&lIII1ll[IiIill11(0x1ce)](lilll1I1[IiIill11(0x231)],0x1)){if(lIII1ll[IiIill11(0x1ac)](lIII1ll[IiIill11(0x144)],lIII1ll[IiIill11(0x144)]))$[IiIill11(0x123)]=lilll1I1[IiIill11(0x123)],lIII1ll[IiIill11(0x1ce)]($[IiIill11(0x1d1)],0x1)&&($[IiIill11(0x119)]=lilll1I1[IiIill11(0x19e)][IiIill11(0x119)],console[IiIill11(0x1fc)](lIII1ll[IiIill11(0x168)](lIII1ll[IiIill11(0x168)](lIII1ll[IiIill11(0x1d6)],$[IiIill11(0x119)]),'\x0a')),$[IiIill11(0x1a6)]=lilll1I1[IiIill11(0x19e)][IiIill11(0x1a6)],console[IiIill11(0x1fc)](lIII1ll[IiIill11(0x168)](lIII1ll[IiIill11(0x1a2)](lIII1ll[IiIill11(0x149)],$[IiIill11(0x1a6)]),'\x0a')));else{const lI1111=illlIl1I[IiIill11(0x158)][IiIill11(0x22a)]('|');let Ill1IIil=0x0;while(!![]){switch(lI1111[Ill1IIil++]){case'0':II11lIiI[IiIill11(0x15c)]=Ill1iiiI[IiIill11(0x19e)][IiIill11(0x15c)];continue;case'1':if(illlIl1I[IiIill11(0x13f)](III1IlIi[IiIill11(0x1f1)],0x0)&&illlIl1I[IiIill11(0x19f)](I1Ill1l1[IiIill11(0x17a)],0x0))llIiIlI1[IiIill11(0x1fc)](illlIl1I[IiIill11(0x18e)](illlIl1I[IiIill11(0x18e)](illlIl1I[IiIill11(0x1d0)],Ii1iII1I[IiIill11(0x15c)]),IiIill11(0x15a)));else illlIl1I[IiIill11(0x218)](illilIil[IiIill11(0x1f1)],0x0)&&illlIl1I[IiIill11(0x156)](lliI1l1i[IiIill11(0x17a)],0x0)?li1lIlIi[IiIill11(0x1fc)](illlIl1I[IiIill11(0x1da)](illlIl1I[IiIill11(0x1cd)](illlIl1I[IiIill11(0x1d0)],li1ilIl1[IiIill11(0x135)]),IiIill11(0x179))):iiIIli[IiIill11(0x1fc)](illlIl1I[IiIill11(0x1da)](illlIl1I[IiIill11(0x1cd)](illlIl1I[IiIill11(0x192)](illlIl1I[IiIill11(0x189)](illlIl1I[IiIill11(0x1d0)],i11iilIi[IiIill11(0x135)]),IiIill11(0x179)),Il1iiiI1[IiIill11(0x15c)]),IiIill11(0x15a)));continue;case'2':lilili1[IiIill11(0x17a)]=Il1I1IiI[IiIill11(0x19e)][IiIill11(0x17a)];continue;case'3':iil1IiIi[IiIill11(0x135)]=lil1i1I1[IiIill11(0x19e)][IiIill11(0x135)];continue;case'4':Il111l1I[IiIill11(0x1f1)]=l11lIli[IiIill11(0x19e)][IiIill11(0x1f1)];continue;}break;}}}else{$[IiIill11(0x1fc)](lilll1I1[IiIill11(0x1d5)]),li11lIII=lilll1I1[IiIill11(0x1d5)];for(let lII1lIlI of['不足','火爆','上限',lIII1ll[IiIill11(0x165)],'擦肩',lIII1ll[IiIill11(0x1e6)]]){if(li11lIII[IiIill11(0x12b)](lII1lIlI)){if(lIII1ll[IiIill11(0x115)](lIII1ll[IiIill11(0x214)],lIII1ll[IiIill11(0x214)])){$[IiIill11(0x12f)]=!![];break;}else return IIl1Iii1[IiIill11(0x223)](IIlI111I);}}for(let l1liII1l of['结束',lIII1ll[IiIill11(0x213)]]){if(li11lIII[IiIill11(0x12b)](l1liII1l)){$[IiIill11(0x1f4)]=!![];break;}}}}else $[IiIill11(0x1fc)](lIII1ll[IiIill11(0x151)]);}}catch(illiil){$[IiIill11(0x1fc)](illiil);}finally{lIII1ll[IiIill11(0x157)](ii11i1I);}});});}function jsonParse(I1iiIlll){const iiI1llii=iI11iil,I1iIi1i1={'IPmsG':function(I1i1iI,iiIIlIi){return I1i1iI==iiIIlIi;},'iNvKI':iiI1llii(0x17f),'VaHdh':iiI1llii(0x1bb)};if(I1iIi1i1[iiI1llii(0x1ba)](typeof I1iiIlll,I1iIi1i1[iiI1llii(0x195)]))try{return JSON[iiI1llii(0x223)](I1iiIlll);}catch(ll1ii1){return console[iiI1llii(0x1fc)](ll1ii1),$[iiI1llii(0x1d5)]($[iiI1llii(0x15b)],'',I1iIi1i1[iiI1llii(0x1e7)]),[];}}function safeGet(Iii1lii){const i1l1lli=iI11iil,liIiili1={'acRam':function(i11illiI,l1ill1iI){return i11illiI==l1ill1iI;},'Mgauw':i1l1lli(0x210),'niyGw':function(llI1iI1l,lI111I1l){return llI1iI1l!==lI111I1l;},'fbUBF':i1l1lli(0x138),'TRhNC':i1l1lli(0x209)};if(!Iii1lii)return console[i1l1lli(0x1fc)](i1l1lli(0x1f3)),![];try{if(liIiili1[i1l1lli(0x128)](typeof JSON[i1l1lli(0x223)](Iii1lii),liIiili1[i1l1lli(0x153)])){if(liIiili1[i1l1lli(0x235)](liIiili1[i1l1lli(0x1be)],liIiili1[i1l1lli(0x12a)]))return!![];else IililII1[i1l1lli(0x1fc)](iil1Illi);}}catch(l1liIii){return console[i1l1lli(0x1fc)](l1liIii),![];}}function getQueryString(iIiilIi1,IIliIl1i){const ii1Ii1I=iI11iil,IiI1lIIl={'dQYlD':function(l1Ilii1I,I1IIl1){return l1Ilii1I+I1IIl1;},'RzRbB':ii1Ii1I(0x14d),'VHdXY':ii1Ii1I(0x159),'VIpar':function(IIIiIil,Ili1IIlI){return IIIiIil!=Ili1IIlI;},'NUsWO':function(i11l1lii,l1iiIli){return i11l1lii(l1iiIli);}};let il1111iI=new RegExp(IiI1lIIl[ii1Ii1I(0x18c)](IiI1lIIl[ii1Ii1I(0x18c)](IiI1lIIl[ii1Ii1I(0x1ea)],IIliIl1i),IiI1lIIl[ii1Ii1I(0x1e5)])),iilI1lII=iIiilIi1[ii1Ii1I(0x178)](il1111iI);if(IiI1lIIl[ii1Ii1I(0x1ad)](iilI1lII,null))return IiI1lIIl[ii1Ii1I(0x21c)](decodeURIComponent,iilI1lII[0x2]);return'';}function timestampToTime(Iii1Ili){const IiIlIIl=iI11iil,I1i1IliI={'NuxNU':IiIlIIl(0x11e),'pXUHC':function(iIIlilII,iillil1I){return iIIlilII==iillil1I;},'afOIx':function(lIllIIIi,lI1iiliI){return lIllIIIi+lI1iiliI;},'zmMLJ':function(llIiiiiI,liIlilii){return llIiiiiI+liIlilii;},'yWpvn':function(li1Iilll,i1lilll1){return li1Iilll+i1lilll1;},'kXgoD':function(ll1lilIl,IIIlII11){return ll1lilIl<IIIlII11;},'uIAkM':function(il1ilIil,l1Il1l1i){return il1ilIil+l1Il1l1i;},'haCro':function(i111li1,lI1l1IiI){return i111li1+lI1l1IiI;},'UXEUu':function(II1IlI1,iilI1iii){return II1IlI1+iilI1iii;}},iIIllII=I1i1IliI[IiIlIIl(0x190)][IiIlIIl(0x22a)]('|');let IiiiIIII=0x0;while(!![]){switch(iIIllII[IiiiIIII++]){case'0':var I1lIIli1=i1iil1Ii[IiIlIIl(0x16d)]();continue;case'1':var i1iil1Ii=new Date(Iii1Ili);continue;case'2':I1i1IliI[IiIlIIl(0x203)](lII11iIi[IiIlIIl(0x1fe)],0x2)&&(lII11iIi=I1i1IliI[IiIlIIl(0x17d)]('0',lII11iIi));continue;case'3':var Iil1iili=I1i1IliI[IiIlIIl(0x17d)](i1iil1Ii[IiIlIIl(0x1ae)](),':');continue;case'4':var lII11iIi=I1i1IliI[IiIlIIl(0x17d)](i1iil1Ii[IiIlIIl(0x22d)](),'\x20');continue;case'5':return I1i1IliI[IiIlIIl(0x17d)](I1i1IliI[IiIlIIl(0x1fd)](I1i1IliI[IiIlIIl(0x1d7)](I1i1IliI[IiIlIIl(0x1d7)](I1i1IliI[IiIlIIl(0x1fd)](l1iIIl1i,i11i1111),lII11iIi),Iil1iili),li1ll1il),I1lIIli1);case'6':var l1iIIl1i=I1i1IliI[IiIlIIl(0x1fd)](i1iil1Ii[IiIlIIl(0x1cc)](),'-');continue;case'7':var i11i1111=I1i1IliI[IiIlIIl(0x17d)](I1i1IliI[IiIlIIl(0x14e)](I1i1IliI[IiIlIIl(0x1d7)](i1iil1Ii[IiIlIIl(0x207)](),0x1),0xa)?I1i1IliI[IiIlIIl(0x1e1)]('0',I1i1IliI[IiIlIIl(0x220)](i1iil1Ii[IiIlIIl(0x207)](),0x1)):I1i1IliI[IiIlIIl(0x1d7)](i1iil1Ii[IiIlIIl(0x207)](),0x1),'-');continue;case'8':var li1ll1il=I1i1IliI[IiIlIIl(0x163)](i1iil1Ii[IiIlIIl(0x1a7)](),':');continue;}break;}}function getUA(){const Ilii1llI=iI11iil,ll1IiiI1={'NuzpQ':function(II1l1i,iiIiiIll){return II1l1i(iiIiiIll);}};UA=Ilii1llI(0x1e0)+ll1IiiI1[Ilii1llI(0x145)](randomString,0x28)+Ilii1llI(0x147);}function randomString(lI1II1l){const Iilii11=iI11iil,lIli11l1={'jeGsi':function(liilIiiI,Iiil1i1I){return liilIiiI||Iiil1i1I;},'PMyra':Iilii11(0x126),'DxCnq':function(ll1,lIlIl1l1){return ll1<lIlIl1l1;},'WlifR':function(I1i1li1,iI1l11iI){return I1i1li1*iI1l11iI;}};lI1II1l=lIli11l1[Iilii11(0x1c6)](lI1II1l,0x20);let iI1Ilil1=lIli11l1[Iilii11(0x16e)],iIliiIl1=iI1Ilil1[Iilii11(0x1fe)],lIl1iIlI='';for(i=0x0;lIli11l1[Iilii11(0x202)](i,lI1II1l);i++)lIl1iIlI+=iI1Ilil1[Iilii11(0x233)](Math[Iilii11(0x1f5)](lIli11l1[Iilii11(0x13c)](Math[Iilii11(0x1c5)](),iIliiIl1)));return lIl1iIlI;}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) }