mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
19 lines
60 KiB
JavaScript
19 lines
60 KiB
JavaScript
/*
|
||
活动名称:签到有礼 · 收藏大师
|
||
活动链接:https://txzj-isv.isvjcloud.com/sign_in/home?a=<活动id>
|
||
环境变量:jd_sign_in_activityUrl // 活动链接
|
||
|
||
7 7 7 7 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('签到有礼(收藏大师)')
|
||
const notify = $.isNode() ? require('./sendNotify') : ''
|
||
const jdCookieNode = $.isNode() ? require('./jdCookie') : ''
|
||
const getToken = require('./function/getToken')
|
||
|
||
var version_='jsjiami.com.v7';const l1iii1lI=I1IIIl;(function(I11iIl1l,Illiiii1,iIIilIl,I1l11ii,l111i111,iilIl1I1,ilI1l){return I11iIl1l=I11iIl1l>>0x2,iilIl1I1='hs',ilI1l='hs',function(i1iIIil1,lI1liIi1,lllIIliI,i1IiiiI1,llll1I11){const I1l1lIii=I1IIIl;i1IiiiI1='tfi',iilIl1I1=i1IiiiI1+iilIl1I1,llll1I11='up',ilI1l+=llll1I11,iilIl1I1=lllIIliI(iilIl1I1),ilI1l=lllIIliI(ilI1l),lllIIliI=0x0;const llIiIliI=i1iIIil1();while(!![]&&--I1l11ii+lI1liIi1){try{i1IiiiI1=-parseInt(I1l1lIii(0x3db))/0x1*(parseInt(I1l1lIii(0x1d5))/0x2)+-parseInt(I1l1lIii(0x334))/0x3+parseInt(I1l1lIii(0x3de))/0x4*(-parseInt(I1l1lIii(0x3bd))/0x5)+-parseInt(I1l1lIii(0x39c))/0x6*(-parseInt(I1l1lIii(0x1fa))/0x7)+-parseInt(I1l1lIii(0x316))/0x8*(parseInt(I1l1lIii(0x3a9))/0x9)+-parseInt(I1l1lIii(0x30d))/0xa+parseInt(I1l1lIii(0x2a5))/0xb;}catch(IilIilI){i1IiiiI1=lllIIliI;}finally{llll1I11=llIiIliI[iilIl1I1]();if(I11iIl1l<=I1l11ii)lllIIliI?l111i111?i1IiiiI1=llll1I11:l111i111=llll1I11:lllIIliI=llll1I11;else{if(lllIIliI==l111i111['replace'](/[rFkwRyIVSWgeUbLNxMlEq=]/g,'')){if(i1IiiiI1===lI1liIi1){llIiIliI['un'+iilIl1I1](llll1I11);break;}llIiIliI[ilI1l](llll1I11);}}}}}(iIIilIl,Illiiii1,function(l1iIil11,IlI11Il,ilI1iI1l,I1llli1l,lIi111ll,iiI1ii1,III1IIi1){return IlI11Il='\x73\x70\x6c\x69\x74',l1iIil11=arguments[0x0],l1iIil11=l1iIil11[IlI11Il](''),ilI1iI1l=`\x72\x65\x76\x65\x72\x73\x65`,l1iIil11=l1iIil11[ilI1iI1l]('\x76'),I1llli1l=`\x6a\x6f\x69\x6e`,(0x136804,l1iIil11[I1llli1l](''));});}(0x314,0xcbe15,IIlI1,0xc7),IIlI1)&&(version_=IIlI1);let lz_cookie={},activityCookie='',inviterNick='';$[l1iii1lI(0x3e7)]=![];let canHelp=![],cookiesArr=[],cookie='',message='',messageTitle='';if($[l1iii1lI(0x311)]()){if(process[l1iii1lI(0x3a7)][l1iii1lI(0x2d5)])activityUrl=process[l1iii1lI(0x3a7)][l1iii1lI(0x2d5)];if(JSON[l1iii1lI(0x26e)](process[l1iii1lI(0x3a7)])[l1iii1lI(0x2ba)](l1iii1lI(0x39f))>-0x1)process[l1iii1lI(0x337)](0x0);Object[l1iii1lI(0x3cb)](jdCookieNode)[l1iii1lI(0x39a)](i11li1iI=>{const lii1l1I=l1iii1lI;cookiesArr[lii1l1I(0x351)](jdCookieNode[i11li1iI]);});if(process[l1iii1lI(0x3a7)][l1iii1lI(0x2f4)]&&process[l1iii1lI(0x3a7)][l1iii1lI(0x2f4)]===l1iii1lI(0x307))console[l1iii1lI(0x313)]=()=>{};}else cookiesArr=[$[l1iii1lI(0x2d7)](l1iii1lI(0x24d)),$[l1iii1lI(0x2d7)](l1iii1lI(0x410)),...$[l1iii1lI(0x2a6)]($[l1iii1lI(0x2d7)](l1iii1lI(0x236))||'[]')[l1iii1lI(0x406)](li11l1iI=>li11l1iI[l1iii1lI(0x305)])][l1iii1lI(0x2df)](I11iIiII=>!!I11iIiII);let isGetCookie=typeof $request!==l1iii1lI(0x35b);isGetCookie&&(GetCookie(),$[l1iii1lI(0x268)]());if(activityUrl)activityId=getQueryString(''+activityUrl,'a'),$[l1iii1lI(0x301)]=activityUrl[l1iii1lI(0x331)](/https?:\/\/([^/]+)/)[0x1];else{console[l1iii1lI(0x313)](l1iii1lI(0x26f));return;}function I1IIIl(_0x47d5e7,_0x4ca764){const _0x4568f4=IIlI1();return I1IIIl=function(_0x51a7c4,_0x1bbbdb){_0x51a7c4=_0x51a7c4-0x1d4;let _0x5d930d=_0x4568f4[_0x51a7c4];if(I1IIIl['IzJwnj']===undefined){var _0x5a8d2f=function(_0x235f27){const _0x3d65b3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xe63e12='',_0x2518bb='';for(let _0x118ea4=0x0,_0x3a014f,_0x573f8b,_0x1f137d=0x0;_0x573f8b=_0x235f27['charAt'](_0x1f137d++);~_0x573f8b&&(_0x3a014f=_0x118ea4%0x4?_0x3a014f*0x40+_0x573f8b:_0x573f8b,_0x118ea4++%0x4)?_0xe63e12+=String['fromCharCode'](0xff&_0x3a014f>>(-0x2*_0x118ea4&0x6)):0x0){_0x573f8b=_0x3d65b3['indexOf'](_0x573f8b);}for(let _0x3f0830=0x0,_0x1272e6=_0xe63e12['length'];_0x3f0830<_0x1272e6;_0x3f0830++){_0x2518bb+='%'+('00'+_0xe63e12['charCodeAt'](_0x3f0830)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2518bb);};I1IIIl['SljAks']=_0x5a8d2f,_0x47d5e7=arguments,I1IIIl['IzJwnj']=!![];}const _0x308057=_0x4568f4[0x0],_0x45cb14=_0x51a7c4+_0x308057,_0x2845e4=_0x47d5e7[_0x45cb14];return!_0x2845e4?(_0x5d930d=I1IIIl['SljAks'](_0x5d930d),_0x47d5e7[_0x45cb14]=_0x5d930d):_0x5d930d=_0x2845e4,_0x5d930d;},I1IIIl(_0x47d5e7,_0x4ca764);}let domains=l1iii1lI(0x3d0)+$[l1iii1lI(0x301)];!(async()=>{const ii11lii=l1iii1lI,lIiIIIl1={'ggepf':function(i1IilIl,l1iiIiI1){return i1IilIl(l1iiIiI1);},'CjLlp':function(l1lll1,iiIiIlI1){return l1lll1===iiIiIlI1;},'prPSC':ii11lii(0x231),'JXtnG':ii11lii(0x3d8),'Wxadp':ii11lii(0x1db),'dGghK':function(IlI1liI,IlI1ilII){return IlI1liI+IlI1ilII;},'eLfdz':ii11lii(0x38a),'pPAke':ii11lii(0x32f),'PPldV':ii11lii(0x1f7),'pzoBK':function(lii1iill,i1II11il){return lii1iill<i1II11il;},'cAREJ':ii11lii(0x335),'BiejY':ii11lii(0x28b),'XleaQ':function(l1Ilili,i1IiiiiI){return l1Ilili(i1IiiiiI);},'yCwrf':ii11lii(0x308),'rMGzj':function(IIIlllIi,Illi1I1){return IIIlllIi+Illi1I1;},'jkaiG':function(i1iiIll,I1IiIiil){return i1iiIll+I1IiIiil;},'TyvgG':ii11lii(0x361),'mMvys':ii11lii(0x3af),'tEIjg':function(iii1iI11,lIliIl1){return iii1iI11+lIliIl1;},'mzNte':ii11lii(0x251),'YJquF':function(Ili111i1,IlIlIii){return Ili111i1+IlIlIii;},'gmFRT':ii11lii(0x281),'EHUPF':function(lIllIil1){return lIllIil1();},'ayuiN':ii11lii(0x1d4)};if(!activityId){if(lIiIIIl1[ii11lii(0x403)](lIiIIIl1[ii11lii(0x2a3)],lIiIIIl1[ii11lii(0x243)]))return i1I1lllI[ii11lii(0x313)](ii11lii(0x394)),![];else{$[ii11lii(0x326)]($[ii11lii(0x320)],'',lIiIIIl1[ii11lii(0x368)]),$[ii11lii(0x268)]();return;}}console[ii11lii(0x313)](lIiIIIl1[ii11lii(0x3d7)](lIiIIIl1[ii11lii(0x2e2)],activityUrl));if(!cookiesArr[0x0]){$[ii11lii(0x326)]($[ii11lii(0x320)],lIiIIIl1[ii11lii(0x31b)],lIiIIIl1[ii11lii(0x28d)],{'open-url':lIiIIIl1[ii11lii(0x28d)]});return;}for(let I1i11lI1=0x0;lIiIIIl1[ii11lii(0x1e7)](I1i11lI1,cookiesArr[ii11lii(0x3bc)]);I1i11lI1++){if(lIiIIIl1[ii11lii(0x403)](lIiIIIl1[ii11lii(0x34c)],lIiIIIl1[ii11lii(0x204)])){liIi1l11[ii11lii(0x313)](I1I11I1l[ii11lii(0x3eb)]),lIillIiI[ii11lii(0x1ee)]=II1lIl1I[ii11lii(0x3eb)];if(Il1iI1II[ii11lii(0x1f8)]&&iiI1IiI1[ii11lii(0x1f8)][ii11lii(0x40f)])for(let i1i1IilI of iII1li1l[ii11lii(0x1f8)][ii11lii(0x40f)][ii11lii(0x3c1)]){IllIlili[ii11lii(0x313)](ii11lii(0x391)+i1i1IilI[ii11lii(0x212)]+i1i1IilI[ii11lii(0x24f)]+i1i1IilI[ii11lii(0x3e0)]);}liI1lIli[ii11lii(0x313)]('');}else{if(cookiesArr[I1i11lI1]){cookie=cookiesArr[I1i11lI1],originCookie=cookiesArr[I1i11lI1],$[ii11lii(0x2be)]=lIiIIIl1[ii11lii(0x3e9)](decodeURIComponent,cookie[ii11lii(0x331)](/pt_pin=(.+?);/)&&cookie[ii11lii(0x331)](/pt_pin=(.+?);/)[0x1]),$[ii11lii(0x208)]=lIiIIIl1[ii11lii(0x3d7)](I1i11lI1,0x1),$[ii11lii(0x382)]=!![],$[ii11lii(0x353)]='',console[ii11lii(0x313)](ii11lii(0x1fe)+$[ii11lii(0x208)]+'】'+($[ii11lii(0x353)]||$[ii11lii(0x2be)])+ii11lii(0x1dc));if(!$[ii11lii(0x382)]){$[ii11lii(0x326)]($[ii11lii(0x320)],lIiIIIl1[ii11lii(0x37d)],lIiIIIl1[ii11lii(0x2cc)](lIiIIIl1[ii11lii(0x2cc)](lIiIIIl1[ii11lii(0x2cc)](lIiIIIl1[ii11lii(0x235)](lIiIIIl1[ii11lii(0x2d1)],$[ii11lii(0x208)]),'\x20'),$[ii11lii(0x353)]||$[ii11lii(0x2be)]),lIiIIIl1[ii11lii(0x29a)]),{'open-url':lIiIIIl1[ii11lii(0x28d)]});$[ii11lii(0x311)]()&&await notify[ii11lii(0x258)](lIiIIIl1[ii11lii(0x3d7)](lIiIIIl1[ii11lii(0x3f7)]($[ii11lii(0x320)],lIiIIIl1[ii11lii(0x3d5)]),$[ii11lii(0x2be)]),lIiIIIl1[ii11lii(0x3ad)](lIiIIIl1[ii11lii(0x3ad)](lIiIIIl1[ii11lii(0x2cc)](lIiIIIl1[ii11lii(0x235)](lIiIIIl1[ii11lii(0x2d1)],$[ii11lii(0x208)]),'\x20'),$[ii11lii(0x2be)]),lIiIIIl1[ii11lii(0x375)]));continue;}await lIiIIIl1[ii11lii(0x1fd)](getUA),await lIiIIIl1[ii11lii(0x1fd)](sign_in),await $[ii11lii(0x29f)](0x7d0);if($[ii11lii(0x238)]||$[ii11lii(0x3e7)]){if(lIiIIIl1[ii11lii(0x403)](lIiIIIl1[ii11lii(0x379)],lIiIIIl1[ii11lii(0x379)]))break;else lIiIIIl1[ii11lii(0x205)](iI1IiI11,iiilI1Il);}}}}})()[l1iii1lI(0x20f)](Il1IliII=>{const IIllllI1=l1iii1lI;$[IIllllI1(0x313)]('','\x20'+$[IIllllI1(0x320)]+IIllllI1(0x1e0)+Il1IliII+'!','');})[l1iii1lI(0x367)](()=>{const i1liliil=l1iii1lI;$[i1liliil(0x268)]();});async function sign_in(){const iII1i1li=l1iii1lI,liiilI1l={'OxIZj':function(IIili1,iiiiIiIi){return IIili1+iiiiIiIi;},'aANhU':function(I1IiIl){return I1IiIl();},'EwUzD':function(ll1iiI,lI1ll1l,llill11i){return ll1iiI(lI1ll1l,llill11i);},'iPRdV':function(iil1Iiii,illiii1){return iil1Iiii==illiii1;},'dlivs':function(il1ilIll,l1IIII11){return il1ilIll===l1IIII11;},'QRuIc':iII1i1li(0x286),'VuAYN':iII1i1li(0x2b9),'jZfte':iII1i1li(0x388),'CiVAu':function(ll1Il1ll){return ll1Il1ll();},'vuggh':function(l11l1I1l,IIIIIlil){return l11l1I1l!==IIIIIlil;},'DdtrG':iII1i1li(0x28f),'OFsyK':function(lil1iIIi){return lil1iIIi();},'wItPI':function(IIllliIl,Ill1lll1){return IIllliIl!==Ill1lll1;},'iFUmZ':iII1i1li(0x2e1),'DHLhv':iII1i1li(0x1f9),'DfScE':iII1i1li(0x209),'nIAEx':iII1i1li(0x2dc)};$[iII1i1li(0x37c)]=![],$[iII1i1li(0x3d3)]=await liiilI1l[iII1i1li(0x201)](getToken,originCookie,domains);if(liiilI1l[iII1i1li(0x355)]($[iII1i1li(0x3d3)],'')){if(liiilI1l[iII1i1li(0x3bf)](liiilI1l[iII1i1li(0x26a)],liiilI1l[iII1i1li(0x253)]))IiII1iI+=liiilI1l[iII1i1li(0x1f0)](liiilI1l[iII1i1li(0x1f0)](liiilI1l[iII1i1li(0x1f0)](ll1i1I1l,'='),iiIillil[l1iilIl]),';');else{console[iII1i1li(0x313)](liiilI1l[iII1i1li(0x3fb)]);return;}}if(activityId){await liiilI1l[iII1i1li(0x210)](jd_store_user_info);if(liiilI1l[iII1i1li(0x3bf)]($[iII1i1li(0x238)],!![])){if(liiilI1l[iII1i1li(0x2c9)](liiilI1l[iII1i1li(0x26c)],liiilI1l[iII1i1li(0x26c)]))liiilI1l[iII1i1li(0x32c)](IlIli11);else return;}await liiilI1l[iII1i1li(0x210)](sign_inx),await liiilI1l[iII1i1li(0x297)](receive_prize);}else liiilI1l[iII1i1li(0x29c)](liiilI1l[iII1i1li(0x206)],liiilI1l[iII1i1li(0x202)])?console[iII1i1li(0x313)](liiilI1l[iII1i1li(0x1f0)](liiilI1l[iII1i1li(0x1f0)](liiilI1l[iII1i1li(0x360)],$[iII1i1li(0x208)]),liiilI1l[iII1i1li(0x3ee)])):(liiilI1l[iII1i1li(0x32c)](l1I1l1il),I1Ili[iII1i1li(0x268)]());}function jd_store_user_info(){const i1iI1II1=l1iii1lI,l11I1i11={'SkLzU':i1iI1II1(0x376),'YBTYR':i1iI1II1(0x1fc),'pPDWQ':function(IiiiI11I,IiIlIiIi){return IiiiI11I+IiIlIiIi;},'TOIpa':function(i1iIiI){return i1iIiI();},'WvGKQ':function(ii1iii1l,IIlIIIll){return ii1iii1l+IIlIIIll;},'uhlbp':i1iI1II1(0x40a),'RotMV':function(i1I11lI,iii1i1l1){return i1I11lI(iii1i1l1);},'AJibQ':function(iill1III,ilIl1l1){return iill1III!==ilIl1l1;},'CCZFC':i1iI1II1(0x292),'SSsoE':i1iI1II1(0x2e4),'Suwhh':i1iI1II1(0x2ee),'hQbrg':i1iI1II1(0x328),'mRlCd':i1iI1II1(0x2db),'JEvNK':i1iI1II1(0x32b),'mEspe':i1iI1II1(0x27e),'yrmaV':function(Ii1ll111,IilI1IIl){return Ii1ll111===IilI1IIl;},'HKAON':i1iI1II1(0x36f),'gbhMA':function(li1iI1lI,llIillii){return li1iI1lI==llIillii;},'PNhTW':i1iI1II1(0x32d),'XproC':i1iI1II1(0x218),'dZhXk':i1iI1II1(0x227),'BQDzB':function(IlIIIIll,I1IilIi){return IlIIIIll!==I1IilIi;},'EQymr':i1iI1II1(0x356),'LVSdy':i1iI1II1(0x359),'WqskK':function(iiiilIIi,ilii1liI,l1Illiii){return iiiilIIi(ilii1liI,l1Illiii);},'ZiVAg':i1iI1II1(0x294)};return new Promise(l1IiIIil=>{const IlIli11i=i1iI1II1,llIi11Il={'wtdJo':l11I1i11[IlIli11i(0x324)],'DcELA':l11I1i11[IlIli11i(0x3fd)],'xKrOp':function(iIi1IllI,IIiliii1){const il1111II=IlIli11i;return l11I1i11[il1111II(0x338)](iIi1IllI,IIiliii1);},'yWnsn':function(i111lIii){const iI1l1ill=IlIli11i;return l11I1i11[iI1l1ill(0x407)](i111lIii);},'GJmpp':function(iliIlI1l,lii1i1ii){const I11iIlil=IlIli11i;return l11I1i11[I11iIlil(0x333)](iliIlI1l,lii1i1ii);},'zXhGG':function(il1Ill1,IilliIlI){const IiI11l1l=IlIli11i;return l11I1i11[IiI11l1l(0x333)](il1Ill1,IilliIlI);},'xHFVV':l11I1i11[IlIli11i(0x260)],'erPUN':function(l11illI1,il1lI1Il){const I1lIll=IlIli11i;return l11I1i11[I1lIll(0x3c7)](l11illI1,il1lI1Il);},'Bcdvp':function(ii1i11Il,I1iIi1){const IlIIIII=IlIli11i;return l11I1i11[IlIIIII(0x397)](ii1i11Il,I1iIi1);},'AlmOa':l11I1i11[IlIli11i(0x39b)],'SRlvD':l11I1i11[IlIli11i(0x3ce)],'obgIS':l11I1i11[IlIli11i(0x22b)],'BnsOp':function(IIIi11ii,lliIlII){const llIiiiI=IlIli11i;return l11I1i11[llIiiiI(0x397)](IIIi11ii,lliIlII);},'IAjLr':l11I1i11[IlIli11i(0x302)],'uKKpZ':l11I1i11[IlIli11i(0x398)],'ZxFKI':function(l11ii1i,l1lI11lI){const ll11iill=IlIli11i;return l11I1i11[ll11iill(0x338)](l11ii1i,l1lI11lI);},'tkXgh':l11I1i11[IlIli11i(0x248)],'FKFAV':l11I1i11[IlIli11i(0x2aa)],'wWddT':function(lllI1iil,IiIlIIIi){const liilIIl=IlIli11i;return l11I1i11[liilIIl(0x2bb)](lllI1iil,IiIlIIIi);},'QvpLb':l11I1i11[IlIli11i(0x2a0)],'QjEOL':function(i1i1Ili,I1llliIi){const ll11IIIi=IlIli11i;return l11I1i11[ll11IIIi(0x31e)](i1i1Ili,I1llliIi);},'aNDmZ':l11I1i11[IlIli11i(0x226)],'zvALt':l11I1i11[IlIli11i(0x3cf)],'ytGyG':l11I1i11[IlIli11i(0x358)],'DHiav':function(Il1illII){const lIi1lli1=IlIli11i;return l11I1i11[lIi1lli1(0x407)](Il1illII);}};if(l11I1i11[IlIli11i(0x3b0)](l11I1i11[IlIli11i(0x30b)],l11I1i11[IlIli11i(0x386)])){let lliIi1il=IlIli11i(0x21c)+$[IlIli11i(0x3d3)];$[IlIli11i(0x1d7)](l11I1i11[IlIli11i(0x2ea)](taskPostUrl,l11I1i11[IlIli11i(0x2ad)],lliIi1il),async(I1Iil1,IiIIil1l,liliii11)=>{const Ii111iII=IlIli11i,iIII1i1I={'wLbmK':function(I1lI1iiI){const IiIIlli=I1IIIl;return llIi11Il[IiIIlli(0x2b0)](I1lI1iiI);},'Mdhgp':function(liilIl11,l1IIIi11){const l1IIl11i=I1IIIl;return llIi11Il[l1IIl11i(0x2b6)](liilIl11,l1IIIi11);},'pjYKb':function(iII1ll1l,llIll111){const IIi1iI11=I1IIIl;return llIi11Il[IIi1iI11(0x25d)](iII1ll1l,llIll111);},'eURvL':llIi11Il[Ii111iII(0x36a)],'dOXpY':function(lIlii1il,IIilIiI1){const lIlII1=Ii111iII;return llIi11Il[lIlII1(0x399)](lIlii1il,IIilIiI1);}};if(llIi11Il[Ii111iII(0x35e)](llIi11Il[Ii111iII(0x404)],llIi11Il[Ii111iII(0x404)])){i1111liI='';for(let Il1iil11 of illIl1Ii[llIi11Il[Ii111iII(0x3b4)]][llIi11Il[Ii111iII(0x264)]]){ll1IIii1[Il1iil11[Ii111iII(0x3ba)](';')[0x0][Ii111iII(0x32a)](0x0,Il1iil11[Ii111iII(0x3ba)](';')[0x0][Ii111iII(0x2ba)]('='))]=Il1iil11[Ii111iII(0x3ba)](';')[0x0][Ii111iII(0x32a)](llIi11Il[Ii111iII(0x215)](Il1iil11[Ii111iII(0x3ba)](';')[0x0][Ii111iII(0x2ba)]('='),0x1));}for(const ill1l1I of Iiliii11[Ii111iII(0x3cb)](iI1liiI1)){i1Ii1lil+=llIi11Il[Ii111iII(0x215)](llIi11Il[Ii111iII(0x215)](llIi11Il[Ii111iII(0x215)](ill1l1I,'='),liiI11lI[ill1l1I]),';');}l111Iiil=I1IiIIl1;}else try{if(llIi11Il[Ii111iII(0x35e)](llIi11Il[Ii111iII(0x20a)],llIi11Il[Ii111iII(0x317)])){if(I1Iil1)llIi11Il[Ii111iII(0x280)](llIi11Il[Ii111iII(0x2a2)],llIi11Il[Ii111iII(0x23e)])?(console[Ii111iII(0x313)](llIi11Il[Ii111iII(0x266)]('',JSON[Ii111iII(0x26e)](I1Iil1))),console[Ii111iII(0x313)](llIi11Il[Ii111iII(0x2b6)]($[Ii111iII(0x320)],llIi11Il[Ii111iII(0x36a)]))):il11l1Ii[Ii111iII(0x313)](Ii111iII(0x30e)+lilI1iil[Ii111iII(0x366)][Ii111iII(0x30a)][Ii111iII(0x2d2)]);else{if(llIi11Il[Ii111iII(0x280)](llIi11Il[Ii111iII(0x244)],llIi11Il[Ii111iII(0x34d)])){liliii11=JSON[Ii111iII(0x265)](liliii11);if(liliii11&&llIi11Il[Ii111iII(0x241)](liliii11[Ii111iII(0x322)],llIi11Il[Ii111iII(0x378)])){}else console[Ii111iII(0x313)](Ii111iII(0x2bf)+liliii11[Ii111iII(0x326)]),$[Ii111iII(0x238)]=!![];llIi11Il[Ii111iII(0x318)](IiIIil1l[Ii111iII(0x2ec)],0xc8)&&(llIi11Il[Ii111iII(0x241)](llIi11Il[Ii111iII(0x35f)],llIi11Il[Ii111iII(0x35f)])?llIi11Il[Ii111iII(0x399)](refreshToken,IiIIil1l):liliI11[Ii111iII(0x268)]());}else iIII1i1I[Ii111iII(0x3b5)](i1I1lIll);}}else IiIlII1l[Ii111iII(0x313)](iIII1i1I[Ii111iII(0x3f1)]('',lI1li1ll[Ii111iII(0x26e)](I1il1IIl))),IIllIil1[Ii111iII(0x313)](iIII1i1I[Ii111iII(0x28c)](ilIlill1[Ii111iII(0x320)],iIII1i1I[Ii111iII(0x40d)]));}catch(lii1I1l1){$[Ii111iII(0x2c2)](lii1I1l1,IiIIil1l);}finally{llIi11Il[Ii111iII(0x35e)](llIi11Il[Ii111iII(0x30f)],llIi11Il[Ii111iII(0x2dd)])?llIi11Il[Ii111iII(0x2b0)](l1IiIIil):(iiillii1[Ii111iII(0x2a1)]=!![],lIIIl1II[Ii111iII(0x313)](iIII1i1I[Ii111iII(0x3f3)](ii1iI1lI,i11i11II)));}});}else llIi11Il[IlIli11i(0x25a)](IIiiIlI);});}function receive_prize(){const l1liIlII=l1iii1lI,IIl1l1l={'efoMg':function(iIIll1li,lIiill1l){return iIIll1li+lIiill1l;},'iIzvg':l1liIlII(0x209),'KqLOc':l1liIlII(0x2dc),'vcrdq':l1liIlII(0x388),'ySOXN':l1liIlII(0x2b1),'EQXcp':function(Iiiiii11,IlliII1i){return Iiiiii11===IlliII1i;},'LcuYc':l1liIlII(0x36f),'HwEkr':l1liIlII(0x203),'zJxYT':l1liIlII(0x377),'vxCHm':l1liIlII(0x21a),'BSgtM':l1liIlII(0x2bd),'opNsR':l1liIlII(0x3a0),'uijiw':l1liIlII(0x2a7),'OHNNt':function(Il1I1lIi,ilIl1Ii){return Il1I1lIi!==ilIl1Ii;},'AXjuc':l1liIlII(0x26d),'xycSo':l1liIlII(0x3b1),'gHbjG':l1liIlII(0x225),'MvVty':l1liIlII(0x2f7),'lrmzv':function(IlI1Il1I,l1lIlllI){return IlI1Il1I==l1lIlllI;},'VGHWQ':function(IiIlil1l,IlliilIl){return IiIlil1l(IlliilIl);},'vhcYk':function(IiIil11I,lIiIilI){return IiIil11I===lIiIilI;},'COotK':l1liIlII(0x3ea),'rYxIv':function(ll11Illi){return ll11Illi();},'kQhwv':function(llI111I,il111ili,illIlIi1){return llI111I(il111ili,illIlIi1);},'laacf':l1liIlII(0x252)};return new Promise(iiIiI=>{const i11l1II=l1liIlII,lli1lil={'BJYJx':function(I1IlIll1,i1iii11I){const l11Il1Il=I1IIIl;return IIl1l1l[l11Il1Il(0x3df)](I1IlIll1,i1iii11I);},'RISJp':IIl1l1l[i11l1II(0x2b2)],'dkYZy':IIl1l1l[i11l1II(0x2de)],'cysHX':IIl1l1l[i11l1II(0x221)],'LFqBu':IIl1l1l[i11l1II(0x314)],'zKWsD':function(i1IiIIi,i1iIIIIl){const iiIIIiI1=i11l1II;return IIl1l1l[iiIIIiI1(0x371)](i1IiIIi,i1iIIIIl);},'YjFHj':IIl1l1l[i11l1II(0x29b)],'xbvkg':IIl1l1l[i11l1II(0x1df)],'aHtHC':IIl1l1l[i11l1II(0x2d3)],'GXEQf':function(ii1Ii1i1,iillill1){const lIlI11i1=i11l1II;return IIl1l1l[lIlI11i1(0x3df)](ii1Ii1i1,iillill1);},'aQEZr':IIl1l1l[i11l1II(0x36d)],'RgfAH':IIl1l1l[i11l1II(0x3d2)],'LOrhy':function(l11i1IIl,I1IlI11I){const li1lllIi=i11l1II;return IIl1l1l[li1lllIi(0x3df)](l11i1IIl,I1IlI11I);},'Lptbj':IIl1l1l[i11l1II(0x20c)],'SDyte':IIl1l1l[i11l1II(0x369)],'FJYZX':function(i1lIlii,lii1111I){const illlilIl=i11l1II;return IIl1l1l[illlilIl(0x237)](i1lIlii,lii1111I);},'ssNpM':IIl1l1l[i11l1II(0x31d)],'oyBjf':IIl1l1l[i11l1II(0x37f)],'tBJQl':IIl1l1l[i11l1II(0x2da)],'CPXfH':IIl1l1l[i11l1II(0x21e)],'SvSNG':function(ll1i1Il1,l1II1l){const i1Iii1II=i11l1II;return IIl1l1l[i1Iii1II(0x3fa)](ll1i1Il1,l1II1l);},'qwayc':function(lIlIIll,lIlli1I){const iilIi111=i11l1II;return IIl1l1l[iilIi111(0x1ed)](lIlIIll,lIlli1I);},'zmtac':function(iii1l1l1,l1lli1I){const I1i1l1I=i11l1II;return IIl1l1l[I1i1l1I(0x256)](iii1l1l1,l1lli1I);},'kCCtT':IIl1l1l[i11l1II(0x27a)],'adHlm':function(iI11illI){const i11iilll=i11l1II;return IIl1l1l[i11iilll(0x303)](iI11illI);}};let I1l1iiII=i11l1II(0x207)+activityId;$[i11l1II(0x1d7)](IIl1l1l[i11l1II(0x216)](taskPostUrl,IIl1l1l[i11l1II(0x3ed)],I1l1iiII),async(iI111iII,I11IliI1,IlI11l11)=>{const llllilll=i11l1II,ll1ll11i={'hEgvl':lli1lil[llllilll(0x3c2)]};try{if(iI111iII)console[llllilll(0x313)](lli1lil[llllilll(0x288)]('',JSON[llllilll(0x26e)](iI111iII))),console[llllilll(0x313)](lli1lil[llllilll(0x288)]($[llllilll(0x320)],lli1lil[llllilll(0x246)]));else{IlI11l11=JSON[llllilll(0x265)](IlI11l11);if(IlI11l11&&lli1lil[llllilll(0x362)](IlI11l11[llllilll(0x322)],lli1lil[llllilll(0x310)])){if(IlI11l11[llllilll(0x366)][llllilll(0x30a)])switch(IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x2d2)]){case lli1lil[llllilll(0x345)]:console[llllilll(0x313)](llllilll(0x3be));break;case lli1lil[llllilll(0x242)]:console[llllilll(0x313)](lli1lil[llllilll(0x288)](lli1lil[llllilll(0x293)](llllilll(0x279),IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x30a)]||IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x28a)]+'京豆'),lli1lil[llllilll(0x214)]));break;case lli1lil[llllilll(0x39d)]:console[llllilll(0x313)](lli1lil[llllilll(0x32e)](lli1lil[llllilll(0x288)](llllilll(0x34f),IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x30a)]||IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x28a)]+llllilll(0x20b)),lli1lil[llllilll(0x40c)]));break;case lli1lil[llllilll(0x275)]:console[llllilll(0x313)](lli1lil[llllilll(0x288)](llllilll(0x3b6),IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x300)]));break;default:console[llllilll(0x313)](IlI11l11[llllilll(0x326)]);break;}else console[llllilll(0x313)](llllilll(0x30e)+IlI11l11[llllilll(0x366)][llllilll(0x30a)][llllilll(0x2d2)]);}else{if(lli1lil[llllilll(0x247)](lli1lil[llllilll(0x25b)],lli1lil[llllilll(0x25b)])){iI1IlIll[llllilll(0x313)](ll1ll11i[llllilll(0x38e)]);return;}else{console[llllilll(0x313)](llllilll(0x342)+IlI11l11[llllilll(0x326)]),iI111iII=IlI11l11[llllilll(0x326)];for(let ilIiiII of['不足',lli1lil[llllilll(0x1f1)],'火爆','上限',lli1lil[llllilll(0x364)],lli1lil[llllilll(0x3e6)]]){if(iI111iII[llllilll(0x3f5)](ilIiiII)){$[llllilll(0x37c)]=!![];break;}}}}lli1lil[llllilll(0x2e6)](I11IliI1[llllilll(0x2ec)],0xc8)&&lli1lil[llllilll(0x3b2)](refreshToken,I11IliI1);}}catch(IiiI11Ii){lli1lil[llllilll(0x35c)](lli1lil[llllilll(0x290)],lli1lil[llllilll(0x290)])?$[llllilll(0x2c2)](IiiI11Ii,I11IliI1):IIIIill1[llllilll(0x313)](lli1lil[llllilll(0x288)](lli1lil[llllilll(0x288)](lli1lil[llllilll(0x354)],lIl1Iii[llllilll(0x208)]),lli1lil[llllilll(0x400)]));}finally{lli1lil[llllilll(0x2a9)](iiIiI);}});});}function sign_inx(){const iii1il=l1iii1lI,l1IlII11={'cScgZ':function(II1iIIl1,Ii1iI11i){return II1iIIl1==Ii1iI11i;},'nmaPM':iii1il(0x411),'szvuh':function(liIIiiIl,lIiIIilI){return liIIiiIl!==lIiIIilI;},'iAjEZ':iii1il(0x352),'hKhyz':function(i1iIIIl1,II1iiI1l){return i1iIIIl1+II1iiI1l;},'bBSGH':function(iilI,i1ii11l1){return iilI+i1ii11l1;},'WZAyB':iii1il(0x22e),'bBehq':function(lI1i,illil11I){return lI1i!==illil11I;},'MrFHX':iii1il(0x36c),'enKZm':iii1il(0x329),'NNHvv':function(lII11IIi,illI1i1I){return lII11IIi===illI1i1I;},'LEuzN':iii1il(0x2ed),'McdVX':function(II1111l){return II1111l();},'TQPht':function(lII1llil,iiliiIiI){return lII1llil(iiliiIiI);},'EMJlS':iii1il(0x2fb),'TQYWk':iii1il(0x250),'eZMRG':iii1il(0x33b),'aElkC':iii1il(0x350)};return new Promise(l1ii11ii=>{const iiii1ii=iii1il,Iiil1ll={'uayEC':function(iIllIIi,liI1i1l){const il1illlI=I1IIIl;return l1IlII11[il1illlI(0x2e5)](iIllIIi,liI1i1l);}},I1III1ll={'url':domains+iiii1ii(0x2c5)+activityId+iiii1ii(0x24c)+$[iiii1ii(0x3d3)],'headers':{'Accept':l1IlII11[iiii1ii(0x2c8)],'Accept-Encoding':l1IlII11[iiii1ii(0x330)],'Accept-Language':l1IlII11[iiii1ii(0x228)],'Connection':l1IlII11[iiii1ii(0x2b5)],'Cookie':cookie,'Host':$[iiii1ii(0x301)],'Referer':activityUrl,'User-Agent':$['UA']}};$[iiii1ii(0x219)](I1III1ll,async(iliI11l1,l11i1l1,il1iIii)=>{const iI1I1II1=iiii1ii,Ilili1I1={'KORTh':function(I1iIl1ll,l1liil11){const IiliI1iI=I1IIIl;return l1IlII11[IiliI1iI(0x2ae)](I1iIl1ll,l1liil11);},'dzwPZ':l1IlII11[iI1I1II1(0x273)]};try{if(iliI11l1){if(l1IlII11[iI1I1II1(0x323)](l1IlII11[iI1I1II1(0x3dc)],l1IlII11[iI1I1II1(0x3dc)])){iI11ii1I=l1iiI11&&iii11i[iI1I1II1(0x331)](/jsonp_.*?\((.*?)\);/)&&lliI1iIi[iI1I1II1(0x331)](/jsonp_.*?\((.*?)\);/)[0x1]||IIiill11;let i1Illlii=IIliIl1I[iI1I1II1(0x2a6)](iIl1lil,III1liI1);i1Illlii&&Ilili1I1[iI1I1II1(0x3a6)](typeof i1Illlii,Ilili1I1[iI1I1II1(0x3f4)])?i1Illlii&&Ilili1I1[iI1I1II1(0x3a6)](i1Illlii[iI1I1II1(0x36f)],!![])&&(il1iIIl[iI1I1II1(0x313)](iI1I1II1(0x31f)+(i1Illlii[iI1I1II1(0x1f8)][iI1I1II1(0x373)][iI1I1II1(0x390)]||'')),II1i1l1l[iI1I1II1(0x2f0)]=i1Illlii[iI1I1II1(0x1f8)][iI1I1II1(0x357)]&&i1Illlii[iI1I1II1(0x1f8)][iI1I1II1(0x357)][0x0]&&i1Illlii[iI1I1II1(0x1f8)][iI1I1II1(0x357)][0x0][iI1I1II1(0x319)]&&i1Illlii[iI1I1II1(0x1f8)][iI1I1II1(0x357)][0x0][iI1I1II1(0x319)][iI1I1II1(0x2e9)]||''):illIiiil[iI1I1II1(0x313)](ilI1lill);}else console[iI1I1II1(0x313)](l1IlII11[iI1I1II1(0x2d9)]('',JSON[iI1I1II1(0x26e)](iliI11l1))),console[iI1I1II1(0x313)](l1IlII11[iI1I1II1(0x372)]($[iI1I1II1(0x320)],l1IlII11[iI1I1II1(0x1ea)]));}else{if(l1IlII11[iI1I1II1(0x276)](l1IlII11[iI1I1II1(0x365)],l1IlII11[iI1I1II1(0x365)]))Ili1l11i['UA']=iI1I1II1(0x1eb)+Iiil1ll[iI1I1II1(0x327)](I1llI1II,0x28)+iI1I1II1(0x332);else{il1iIii=il1iIii;if(il1iIii){let iIiiii1I=il1iIii[iI1I1II1(0x331)](/(活动已结束)/)&&il1iIii[iI1I1II1(0x331)](/(活动已结束)/)[0x1]||il1iIii[iI1I1II1(0x331)](/(哎哟,当前活动尚未开始噢!)/)&&il1iIii[iI1I1II1(0x331)](/(哎哟,当前活动尚未开始噢!)/)[0x1]||'';iIiiii1I&&($[iI1I1II1(0x3e7)]=!![],console[iI1I1II1(0x313)](l1IlII11[iI1I1II1(0x262)]));}}}}catch(l1iiiili){$[iI1I1II1(0x2c2)](l1iiiili,l11i1l1);}finally{if(l1IlII11[iI1I1II1(0x22d)](l1IlII11[iI1I1II1(0x37b)],l1IlII11[iI1I1II1(0x37b)]))l1IlII11[iI1I1II1(0x3fc)](l1ii11ii);else return lli1iIi1[iI1I1II1(0x265)](liiIi1I);}});});}function getShopOpenCardInfo(IiliIl11){const liIlliii=l1iii1lI,lii1I11I={'VLogt':liIlliii(0x329),'lugCL':liIlliii(0x24d),'Qocni':liIlliii(0x410),'ZDrOg':liIlliii(0x236),'graOE':liIlliii(0x2d8),'PojLM':function(iIi1IiiI,I11iIlII){return iIi1IiiI!==I11iIlII;},'HGKka':liIlliii(0x34a),'ilhVk':liIlliii(0x267),'tjqyC':function(liiII1il,I1I1iiil){return liiII1il===I1I1iiil;},'EWAbm':liIlliii(0x392),'QaWUk':liIlliii(0x224),'KXJos':liIlliii(0x3da),'JtSqk':function(llilli11,iIIliI1l){return llilli11(iIIliI1l);},'HmUvs':liIlliii(0x298),'WYduf':liIlliii(0x2d6),'GeBSI':liIlliii(0x3a8),'zTmUi':liIlliii(0x29d),'wJSoj':function(iI1i1iI1){return iI1i1iI1();},'NuVFz':function(llil1lIl){return llil1lIl();},'HeTSk':function(ii1i1II,li1i1I1I){return ii1i1II!==li1i1I1I;},'XtDfL':liIlliii(0x259),'aMuXF':function(iIIi1ii1,ll1i1l1I){return iIIi1ii1+ll1i1l1I;},'nhLCM':function(liI1I,I11iiI){return liI1I+I11iiI;},'nftGq':liIlliii(0x285),'KsUgY':function(iIl11IIi,il1iIl1l){return iIl11IIi(il1iIl1l);},'pmRMr':liIlliii(0x2cd),'xsTys':liIlliii(0x287),'XHCWW':liIlliii(0x3e3),'AqZbB':liIlliii(0x350),'UfprQ':function(lIl1l1iI,l1li1lI1){return lIl1l1iI+l1li1lI1;},'IeSxp':liIlliii(0x2ac),'lFdRl':liIlliii(0x2bc),'qgIsj':liIlliii(0x250)};let li1iii11={'url':lii1I11I[liIlliii(0x1f6)](lii1I11I[liIlliii(0x3b9)](lii1I11I[liIlliii(0x270)],lii1I11I[liIlliii(0x2c3)](encodeURIComponent,JSON[liIlliii(0x26e)](IiliIl11))),lii1I11I[liIlliii(0x36b)]),'headers':{'Host':lii1I11I[liIlliii(0x2fc)],'Accept':lii1I11I[liIlliii(0x295)],'Connection':lii1I11I[liIlliii(0x40e)],'Cookie':cookie,'User-Agent':$['UA'],'Referer':lii1I11I[liIlliii(0x3b9)](lii1I11I[liIlliii(0x263)](lii1I11I[liIlliii(0x3b9)](lii1I11I[liIlliii(0x3fe)],$[liIlliii(0x3d4)]),lii1I11I[liIlliii(0x2c6)]),lii1I11I[liIlliii(0x27d)](encodeURIComponent,activityUrl)),'Accept-Encoding':lii1I11I[liIlliii(0x3f8)]}};return new Promise(i1I1I1i1=>{const liI11lI1=liIlliii,llIiIli={'qWSmA':function(IIIIiIi1){const i1iilIi1=I1IIIl;return lii1I11I[i1iilIi1(0x1dd)](IIIIiIi1);}};if(lii1I11I[liI11lI1(0x2c7)](lii1I11I[liI11lI1(0x2b4)],lii1I11I[liI11lI1(0x2b4)])){let IlI1IIlI=IIIlIi1[liI11lI1(0x331)](/(活动已结束)/)&&iIii1i[liI11lI1(0x331)](/(活动已结束)/)[0x1]||IIl1Il[liI11lI1(0x331)](/(哎哟,当前活动尚未开始噢!)/)&&lI1l111[liI11lI1(0x331)](/(哎哟,当前活动尚未开始噢!)/)[0x1]||'';IlI1IIlI&&(IiIl1iiI[liI11lI1(0x3e7)]=!![],il1ilIi1[liI11lI1(0x313)](lii1I11I[liI11lI1(0x38f)]));}else $[liI11lI1(0x219)](li1iii11,(i1iiIlII,iilli1I,lil1I1l1)=>{const il1IlI1l=liI11lI1,IiIIll1l={'uuCrt':lii1I11I[il1IlI1l(0x255)],'zFAlH':lii1I11I[il1IlI1l(0x3f6)],'Omznz':lii1I11I[il1IlI1l(0x31c)],'XnvxI':lii1I11I[il1IlI1l(0x3e1)]};if(lii1I11I[il1IlI1l(0x3cc)](lii1I11I[il1IlI1l(0x344)],lii1I11I[il1IlI1l(0x383)]))try{i1iiIlII?lii1I11I[il1IlI1l(0x257)](i1iiIlII,lii1I11I[il1IlI1l(0x23d)])&&(lii1I11I[il1IlI1l(0x257)](lii1I11I[il1IlI1l(0x296)],lii1I11I[il1IlI1l(0x31a)])?lIi1l1i1[il1IlI1l(0x2c2)](i1IIiI1l,iIilil1I):($[il1IlI1l(0x2a1)]=!![],console[il1IlI1l(0x313)](lii1I11I[il1IlI1l(0x27d)](String,i1iiIlII)))):lii1I11I[il1IlI1l(0x257)](lii1I11I[il1IlI1l(0x3a2)],lii1I11I[il1IlI1l(0x1e6)])?iIlIIliI[il1IlI1l(0x2c2)](I1iliII1,iI11i1iI):(res=JSON[il1IlI1l(0x265)](lil1I1l1),res[il1IlI1l(0x36f)]&&(lii1I11I[il1IlI1l(0x257)](lii1I11I[il1IlI1l(0x2eb)],lii1I11I[il1IlI1l(0x2eb)])?($[il1IlI1l(0x396)]=res[il1IlI1l(0x1f8)][il1IlI1l(0x3cd)][il1IlI1l(0x396)],res[il1IlI1l(0x1f8)][il1IlI1l(0x357)]&&($[il1IlI1l(0x27b)]=res[il1IlI1l(0x1f8)][il1IlI1l(0x357)][0x0][il1IlI1l(0x319)][il1IlI1l(0x2e9)])):iI11li1l=[i1Illli[il1IlI1l(0x2d7)](IiIIll1l[il1IlI1l(0x1da)]),il11I1Ii[il1IlI1l(0x2d7)](IiIIll1l[il1IlI1l(0x299)]),...iI1i1iiI[il1IlI1l(0x2a6)](IiIi11il[il1IlI1l(0x2d7)](IiIIll1l[il1IlI1l(0x211)])||'[]')[il1IlI1l(0x406)](II1illIi=>II1illIi[il1IlI1l(0x305)])][il1IlI1l(0x2df)](iI1Il1iI=>!!iI1Il1iI)));}catch(l1I11IlI){console[il1IlI1l(0x313)](l1I11IlI);}finally{if(lii1I11I[il1IlI1l(0x257)](lii1I11I[il1IlI1l(0x3ca)],lii1I11I[il1IlI1l(0x3ca)]))lii1I11I[il1IlI1l(0x2fd)](i1I1I1i1);else return l111iIii[il1IlI1l(0x313)](Il11iI11),ilii1l1[il1IlI1l(0x326)](IliiiIl1[il1IlI1l(0x320)],'',IiIIll1l[il1IlI1l(0x408)]),[];}else llIiIli[il1IlI1l(0x20d)](i1ii1IIi);});});}function taskPostUrl(l1l11Ill,II1Il){const ll1lIl1l=l1iii1lI,I1IIilIl={'Wibqx':function(IllIi1II,IIliil){return IllIi1II+IIliil;},'Wlhgc':ll1lIl1l(0x2d4),'XvEPU':ll1lIl1l(0x250),'cOnRr':ll1lIl1l(0x33b),'otfcE':ll1lIl1l(0x350),'bBfAe':ll1lIl1l(0x3c4)};return{'url':I1IIilIl[ll1lIl1l(0x393)](I1IIilIl[ll1lIl1l(0x393)]('',domains),l1l11Ill),'body':II1Il,'headers':{'Accept':I1IIilIl[ll1lIl1l(0x240)],'Accept-Encoding':I1IIilIl[ll1lIl1l(0x1de)],'Accept-Language':I1IIilIl[ll1lIl1l(0x20e)],'Connection':I1IIilIl[ll1lIl1l(0x381)],'Content-Type':I1IIilIl[ll1lIl1l(0x343)],'Cookie':cookie,'Host':$[ll1lIl1l(0x301)],'Origin':domains,'Referer':activityUrl,'User-Agent':$['UA']}};}function refreshToken(IiI1IiI){const liIii111=l1iii1lI,lliIiIII={'HLzBY':function(illlI1iI,llilIi1){return illlI1iI+llilIi1;},'KhOAp':liIii111(0x2d4),'RfHEy':liIii111(0x250),'DGmYe':liIii111(0x33b),'CCjII':liIii111(0x350),'vONbX':liIii111(0x3c4),'PhWHr':function(lI11lIi1,iIi1lI1i){return lI11lIi1!==iIi1lI1i;},'QUzcS':liIii111(0x23a),'SxtAR':liIii111(0x3aa),'htWXy':liIii111(0x376),'uNwnN':liIii111(0x1fc),'CJYob':function(ilIllIli,l11ll11){return ilIllIli!==l11ll11;},'inrFA':liIii111(0x1e1),'hMzdt':liIii111(0x3c5),'Pnits':function(li11llII,i11iilil){return li11llII!==i11iilil;},'ijuPY':liIii111(0x3ef),'DUIeG':function(iilll1il,lIiillIl){return iilll1il+lIiillIl;},'UnyTl':function(lIIlIlIi,Illiil11){return lIIlIlIi+Illiil11;},'aQGxh':function(l1I1lI11,II1ii1lI){return l1I1lI11+II1ii1lI;}};if(IiI1IiI){if(lliIiIII[liIii111(0x348)](lliIiIII[liIii111(0x26b)],lliIiIII[liIii111(0x1f2)])){if(IiI1IiI[lliIiIII[liIii111(0x3a4)]][lliIiIII[liIii111(0x27c)]]){if(lliIiIII[liIii111(0x321)](lliIiIII[liIii111(0x3a1)],lliIiIII[liIii111(0x349)])){cookie='';for(let lll1l11 of IiI1IiI[lliIiIII[liIii111(0x3a4)]][lliIiIII[liIii111(0x27c)]]){lliIiIII[liIii111(0x3ec)](lliIiIII[liIii111(0x2f6)],lliIiIII[liIii111(0x2f6)])?(Iil1l11[liIii111(0x313)](liIii111(0x2bf)+llI1Il1l[liIii111(0x326)]),I1llIlll[liIii111(0x238)]=!![]):lz_cookie[lll1l11[liIii111(0x3ba)](';')[0x0][liIii111(0x32a)](0x0,lll1l11[liIii111(0x3ba)](';')[0x0][liIii111(0x2ba)]('='))]=lll1l11[liIii111(0x3ba)](';')[0x0][liIii111(0x32a)](lliIiIII[liIii111(0x22c)](lll1l11[liIii111(0x3ba)](';')[0x0][liIii111(0x2ba)]('='),0x1));}for(const i1111ii of Object[liIii111(0x3cb)](lz_cookie)){cookie+=lliIiIII[liIii111(0x22c)](lliIiIII[liIii111(0x3d1)](lliIiIII[liIii111(0x1f3)](i1111ii,'='),lz_cookie[i1111ii]),';');}activityCookie=cookie;}else return{'url':lliIiIII[liIii111(0x25c)](lliIiIII[liIii111(0x25c)]('',lllIii1l),iI1iliii),'body':iillll,'headers':{'Accept':lliIiIII[liIii111(0x2ab)],'Accept-Encoding':lliIiIII[liIii111(0x233)],'Accept-Language':lliIiIII[liIii111(0x384)],'Connection':lliIiIII[liIii111(0x217)],'Content-Type':lliIiIII[liIii111(0x1d8)],'Cookie':I1I1Iii,'Host':li1IIIiI[liIii111(0x301)],'Origin':ll1iIIlI,'Referer':iIiiIiil,'User-Agent':l1lii1ii['UA']}};}}else return;}}function IIlI1(){const iIiili11=(function(){return[...[version_,'RLjrMEsjIRkiNaSxmwiqx.UecwwolWmb.vV7lyFg==','Dg9pyMO','z29Vzhm','whnyzxi','ywriBg0','BuvZCgu','s2Hpqxa','Ahr0Chm6lY9ZAg9WBwvTyMvYlM0UAMqUy29Tl3nOB3bJyxjKlZ92zw5Kzxjjzd0','wMLwqwC','y1nJz1O','ELjyyLG','EvDUC24','ihjLy2vPDMvFChjPEMuGqvbj6k+35Rgc5AsX6lsL77Ym6k+35Qoa5P+L572r6lEV6yEn6k+v','AuL6DMC','t3DmyLK','whrezKW','yuvSA0m','r0PTCha','uufHwfC','zujxCNK','rxDiueu','Aw5KzxHpzG','ExjTyvy','jMnOyw5UzwW9odaXjNjLDhvYBLvYBd0','Aw50zwDYywW','vxnLCK5HBwu','5O6i5P2d5AsX6lsL77YA','v0fszvi','s0XduLG','Bg9NrxjY','s3nvz1K','y1f3Ewu','l3nPz25FAw4VAg9Tzt9Hpq','BezKuMW','sgvuu2S','ru1kBfm','DNvNz2G','EwX6ALq','y2HHCKf0','CK1hEMO','jMnSAwvUDd1inszJBgLLBNrwzxjZAw9UptKUmI4WjNv1Awq9odG4odGMAdvZDd0YmdiYmdqXmJe2ndy0nti0msuZqJm2mZrKmwfLywrHnMq5y2qXmwe3nti2ytnHnMfJnJnLjtncmty5zJeLm0j0AZaYD2q2nMyXzdC0mtHUwhvmANnTtZnVsK1dEfvXs1z3swy0CtfxuNb0s1jum25ku3j4mdfVwvLcqxLSyLn1EwC0C2LWBKv6Euvkt1P1rMPMrZjrrvjJqNr6zcuZqJzIndu1mJm0ztKZyMu0zwm5nJnJzdDJntC1zdCWodGYyJGZogjHntG4mtq5ytfMntrInJLJogqWzgfJzJe0zgeLm0iZlJaLm0iXnJq5nZuZmJa1mJqX','v0jQufa','ENzHrLe','A2jWDLy','vhL2z0C','DhLWzq','EKP4wvq','yxbWBgLJyxrPB24VANnVBIWGDgv4Dc9QyxzHC2nYAxb0lcaQlYO7ihe9mc4Wmq','AMrFC2LNBL9PBL9Hy3rPDML0EvvYBa','qMzuvgK','z2v0zgf0yq','6k+35yU/6zQp5Osp5zYOqM94sNpOVPpLHAxMOyBKV67MLlNLHOxLRRKk5BU66k6U6ycA6l+h6isA5PYS5y676i635y+wy29VA2LL','AeTOExO','z0HIAKC','CxbVDe8','44crioACQUIdVEIoT+wpLUA0U+wkQos/OEAbRW','ExrhEuC','s3fmt2m','zMLSDgvY','zLHoEgq','yKfhsey','zuXMzhO','AxDLrvm','DwfcA3K','vffqAhq','u3zttKC','vgfdzKW','zvDMyMe','ywn0AxzPDhLjza','v3fZA0S','r2vcu0K','C3rHDhvZ','veHQtxO','vuPXvgK','rejzt2i','C2HVCgfJDgL2Axr5swq','r2Tfyvu','EYj2zw5Kzxjjzci6iG','uMn3ve8','sKrFrevcvuC','psHBxIzDkIKOjNWKkq','AwP1ufK','5PYQ5BYa5AEl','tNDfBwi','ogfKzMi','wMTKugW','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSAw1Hz2uVyxzPzIXPBwfNzs93zwjWlgLTywDLl2fWBMCSkI8Qo3e9mc44lgfWCgXPy2f0Aw9Ul3nPz25Lzc1LEgnOyw5NztT2pwiZo3e9mc45','EhnuExm','D0PtB2O','wxrpANO','t2PTwK4','ChjPEMvFBMfTzq','zg9TywLU','AffICMC','CLL4sxy','vufZzw4','y29VA2LL','wuPhDKe','zMfSC2u','44cq5O+q56s644cry29VA2LL5BEY5AsX5Pwi','qujMD1m','ChjPEMvFDgL0Bgu','rvf5Bxi','BvLmBwC','mtq3mJmYmdb3tLDvweW','57g75z6l77YA','ENzbthq','wwPgsgO','AxnoB2rL','z3nVD0e','Bg9N','Evnpwe4','Ahr0Chm6lY9ZAg9WBwvTyMvYlM0UAMqUy29TlW','mJC1mNrtshrjAq','B2jNsvm','uwPft0W','Aw50zxjLC3rZsw5MBW','s1HkB3m','CfbbA2u','wKrYt2C','qvHQDwm','z2jOtue','cUwoU+wkOowfPEw6L+MtUUs8MUwrMo+8MG','BMfTzq','q0PzB2i','y29Kzq','C3P2DwG','u2TmELu','suTbzNu','BxnN','Dwf5rum','wvbguhe','5Rs75yQO5BEY57Ut5P2F5OIw6icf5PYQ5BYa5AEl','C3vIC3rY','CMDHtxi','yufoAfu','qNLXzw8','te9YAhK','44cq5O+q56s644cr6k+35ywi6i635y+w5lQS5lIC6lsM5y+35lIay29VA2LLcUEBToAoPEs9V+EuQe5VyNLeyEEAHos6Ros4NoETVUwiSoIoT+wpLG','vffzv2S','Bwf0y2G','o00Vns4Wo25LDhDVCMSVD2LMAtTbreLelZTTB2rLBc9PugHVBMuXmIWXo2fKzhjLC3nPzc80mtK5mtC1mtKZo2fWCej1AwXKlZe2nZG2mZTQzfn1ChbVCNreyxjRtw9Kzs8Wo01VEMLSBgeVns4WicHPugHVBMu7ienqvsbPugHVBMuGt1mGmtrFmYbSAwTLie1HyYbpuYbyksbbChbSzvDLyKTPDc82mduUms4XnsaOs0HutuWSigXPA2uGr2vJA28Pie1VyMLSzs8XnuuXndG7C3vWCg9YDePeu0HxsY8XoW','v3zhs1e','mtqYmtuYnKzJuvvVtq','AMLhBeq','ufjjtum','zxHPDa','Cfbev1e','sKfjBfq','iIWIy2HHBM5LBci6nda2lcjWyxLvCfnOB3aIoNrYDwv9','EMGTq04SEMGTsgfUCZTXptaUoq','qxbNDKS','rffgAgu','BuroD20','CKDnAvG','z0fWtMy','lcjHy3rPDML0EuLKiJO','6Akg5y+w5AsX6lsL77YA','yKjMqwu','seDlA2e','Egj2A2C','r2ffqMK','yMHwtum','ugHxshi','Ae16zhq','v0zxsKS','zufxy1a','y0fsruO','rKTgqvy','wvntyMq','8j+xKE+4JYa','A2vLCc1HBgL2zq','ChvZAa','teH5yLe','BMLJA05HBwu','uKLtsNa','Avbszfy','A3PAuxa','Aw50zxjLC3rZuNvSzuXPC3q','zfPOwgS','Bxryuu4','AhzrC1G','Dw5KzwzPBMvK','EM10ywm','s2Dpwu0','qMnKDNa','yu5eBvO','rgzty0u','5lQS5lIC6lsM5y+3','EKTxC0q','DNjmAMq','DejkuwW'],...(function(){return[...['txjgsfG','zgf0yq','zMLUywXSEq','v3HHzha','DwLQAxC','EeHgvLy','Cg1stxi','rxjRuuC','DNHdsg0','tLHZBvm','C3vJy2vZCW','zhLSAxu','rvfyy3a','yKjtr0G','C2HVCe1LBwjLCKnHCMrjBMzV','qufsrKK','z21guLq','AgvHzgvYCW','yMvHBG','uxzWtgi','yxL1Au4','vKTguwG','tev1EK4','zxjYCW','Eun3CMy','rffzshK','EhLJu28','zxHRy1y','B3rMy0u','AxnmB2DPBG','AwXOvMS','reDTwwu','CuHpAxK','tfztzhK','A0HPsey','6i635y+ww3rVA2vUxEwKSEI0PE+8Gq','uujLCfa','5Rs75yQO5ywL5y+J77YA','EwnmBLq','jMnSAwvUDfzLCNnPB249os4YlJaMy2XPzw50puG1jNv1Awq9odG4odGMAdvZDd0','BNflqKy','AevNDMW','vKXVz3q','DMvUzgvYq2fYze5HBwu','5ywL5lYA6i635B6xoIa','uMvZCg9UC2uGy29Kzsa0mdmGkezVCMjPzgrLBIK','v2LICxG','5lQS5lIC5PYn5yQH5zMO6l+u5zUE5PwW5O2U5lI656M6','vKXyr2q','B3bLBKnHCMrtDgf0Dxm','quPPyLe','BvjSq2q','zxjqvu4','zM9YrwfJAa','q0nArKm','ndaYv1r2B2j3','uMDMquG','CfPkCKK','r0Lusfvc','ipcFJP/VUi8','Aw5YrKe','sg1vDNm','CMfUzg9T','AhrxwhK','wuLuuge','s09svgG','zw52','sLnKuuS','mtqYotj1seTswxe','B296vM4','rKLuvLe','Dw9Vq1e','wuPXDuy','C2PYvhm','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLGPODhrWCZOVl2jLyw4UBs5Qzc5JB20V','qLfeEKi','6yoO5yIg5lYA5zgy','CxDHEwm','DKTsAKe','D3rKsM8','D0XIBuS','8j+oIsdLRP7NIAK','zK94AKO','wuTet2q','BMHmq00','C3bSAxq','yMLUzfDPDgHwzw5Kzxi','BgvUz3rO','mtbqDwf2v0e','8j+xKE+4JYdKVjJMG6dLIlG','zgXPDNm','vfzOvKm','z2LMDeXPC3q','y3LZsfG','D0PVEeO','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvKoYbJAgfYC2v0pvvurI04','rNDmtMm','CxvUBKO','uM90tvy','txj2yMG','Ahr0Chm6lY9HCgKUBs5Qzc5JB20Vy2XPzw50lMfJDgLVBJ9HChbPzd1Qzf9ZAg9Wx21LBwjLCIzMDw5JDgLVBKLKpwjPBMrxAxrOvMvUzgvYjMjVzhK9','ELrTvwK','A2v5CW','ug9Qte0','DxnLCKLUzM8','u1nZB0u','whbYB0m','Ahr0Chm6lY8','vw55vgW','qLnNDe0','Dg9Rzw4','AM9PBLzLBMrLCKLK','BxPoDgu','EuDsuM0','zeDNAeS','EMHQrwq','txrRA1y','tNPOENO','mtmYmJvMChnlBwq','AufQrvO','tgzRy28','mJy4mdq0ne5wAwLIsG','zwzVtwC','C2vJB25KtgLUzurLC2m','z3jHt0u','BfHZvwq','kI8Q','iIWIyMLUzej5vMvYAwz5q29KzuzSywCIoJeSiNjLz2LZDgvYrxH0zw5KiJP7FsWID3jPDgvdAgLSzezSywCIoJa','lcjJAgfUBMvSiJO0mdz9','q1byzKG','ywn0AxzPDhLfBMq','qxHLsMq','wgXLyve','B21jrNu','BwvZC2fNzq','ug5PDhm','BgfHy2y','BKLbrxG','t3fxqwO','wKvsz1G','twrOz3a','ze9muva','ze9yCfK','zhP3ufO','Aw5JBhvKzxm','uw9JBMK','DevjAMC','CwDjC2O','vNLtB04','BhjTENy','ALPMDgu','twnKvLG','wujuwvi','swvtEha','Dw5qv0e','zgTzwNK','Dw1uDg8','D2fbvvG','q2PmBha','qwXTt2e','wwvWqKG','BwfW','ve9jCge','wg52EeK','wvjlu0q','igPKx3n0B3jLx3vZzxjFAw5MBYbbueNOR7FMSylLPlhOTkxVViZOR7FMO4dMN6xNVzhOT6/PH43OR5u','kf58wYy/xsK','thb0yMO','zvvsDKW','qxfAyKi','z2LMDeLUzM8','q29VA2LLsKqY','B2jQzwn0','sujYswW','mta4qMXOr3jV','wwnKz3a','Cg9ZDa','DK9oyLG','z2v0u2HVCe9Wzw5dyxjKsw5MBW','DxvdCNq','5Rs75yQOAwtKUi3LRzJLNkG','kIOQkIOQcG','tNvwrNO','whzfufu','shDfA3i','lcdLPlhOTkuHiowoN+wBOdOG','vfntAfu','EhvUBfe','qvfMB3e','qvfPuhC','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZK5lJaUndG0nc41msbtywzHCMKVntm3lJm2','v1LKDwy','ChPVqKS'],...(function(){return['yvn6sgK','vMPoALy','v1PbEui','AMrHCha7AvbOB25LoZeWlJiUmJSXnc4ZoW','zeDovue','vKDiv1e','zxjYB3jkB2LUu2HVCa','sLfnCwC','t3HjwMO','B3LcAMy','u3H0qvi','yvfhEgG','sg5jAMC','Ag1jB2y','yu11wey','Ahr0Chm6lY9IzwfUlM0UAMqUy29TlW','CMvZDwX0','sNLwr1m','mtu3mZGXCNnSrvbS','q0DyugK','C2v0lwnVB2TPzq','ruHvuey','cIOQkIOQkUw8GowNI+oaKos6Ros4NoI0PUwpTW','wgD4qui','zwy3owe','rxDvEKq','reHmAhy','y291Cg9U','qMLLALK','z2DLCgy','AuzvBvO','CgLKpq','Aw5KzxG','44cq5lQS5lIC6lsM5y+3','u1jSDKq','5BQx6zo656EV5yIg','B3boC1i','CvDtBue','y09UuNi','y2f0y2G','q2Lwqxu','t216BNO','zgLZy291BNrtDhjPBMC','os4YlJa','yvffwNi','EeTYt3a','A1fOD3y','q0nQsuK','r0r2rM0','z2v0','ipcFKly','v2vXENK','Dg9Rzw49','A2HQDgm','txzwDhK','EgnPEhu','EvzJDwS','DMnYzhe','whjuEwy','wKTmq1a','Bw5Jsee','5BEY6Akg5y+w','ue5OvfC','D3LmBMy','zvPnuKC','B096y0i','rxbzzgK','u3v3AgG','rfvjzuC','tK5iDNy','ihnPz25FAw56iefqsEIVT+AXGUwKSEI0PE+8JoIVT+AJGoAFPEE9KEI3R+MhJEIVLq','Ew95CgC','zuzJseq','v3HcqxC','u0HetvG','uMzirxK','zMXVB3i','AMTHAuC','q29VA2LLC0Pe','t0HotNq','AgfZrw5K','CNLYD24','tKXWEvC','vej4rKO','v1LpBu4','rvDbyM0','DuTlCfO','DgDlCeu','v2XOz2m','D1DKzfq','yuH0sem','sLH0BKC','DgTyz2G','ywjJzgvMmdeYmZq1nJC4oq','tezXqNu','rKPzwLG','sKv2tKS','5Rs75yQO5AsQ54gR54Ig77Ym6k+356In5zco5yAn6k+v','CgTtyKu','ru9Ms0G','jNrVA2vUpq','q29VA2LLsKq','BxHquhO','ChjPEMvoyw1L','z3PPCcWGzgvMBgf0zsWGyNi','y29VA2LL5BEY5AsX5Pwiic0G','l3nPz25FAw4VCMvJzwL2zv9WCML6zq','vNvbwu4','CwjcAfa','BhvNq0W','DMHJwwS','DgPXEum','C2vUze5VDgLMEq','uKPjvwi','reHPyxy','C3noCe0','seX6qLK','ELHOr0C','Dg13sMq','B3rkB1G','DwHSyNa','z29bC1q','zw5lwM0','vwzWCLe','rgnftee','CgfYC2u','wNHgs0K','vvHtBNq','zg9Uzq','ENDJEwS','uvj1swm','uvv6y1m','rgr0CKC','DevTzwi','C3rYAw5NAwz5','6k+35AgR5yAz5Rs75yQO6zo+5O6L','BMz0r3e','iIWIC2HVCeLKiJOI','DLjstvG','BM1Hue0','EMGTq04SEMG7Ct0WlJKSzw4Tvvm7Ct0WlJGSzw47Ct0WlJC','u0r5Dgu','yKjLAhe','C3rYAw5N','DeTtCNi','8j+oIsa','q09VDeS','B3bLBKnHCMrby3rPDML0EuLK','Du53BK4','sNrtCwS','uKzqCxO','BuPxsgS','qM5Zt3a','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLMnVB2TPzq','r2XlDMe','rNrABhy','Axn2ywW','Ahr0Chm6lY9HCgKUBs5Qzc5JB20Vy2XPzw50lMfJDgLVBJ9HChbPzd1Qzf9ZAg9Wx21LBwjLCIzMDw5JDgLVBKLKpwDLDfnOB3bpCgvUq2fYzeLUzM8MyM9KEt0','BgXwugC','yxbPlM0UAMqUy29T','qKPzsNG','rKXisfm','B25Jzv9UDw0','qvPZBxu','CgPzs2i','ufbSzfy','EwPYswe','A01fEMC','A0ndDfq','ChruB3C','y09yzMK','r1Hfuwy','l2zYB250l2PKx3n0B3jLx3vZzxjFAw5MBW','weHdv1C','uwfxvwS','t0zZEuS','A2TqEvy','EKzbBeG','Bu12Exm','tgn1wwm','D0L0ueK','zwLpEeK','DfznDLu','D2fPDa','seTbt04','zxjY','sufQthi','Chjqu0m','AMrFC2HVCf9Tzw1Izxi','ndi2mZa5mtH5Ce1dEve'];}())];}())];}());IIlI1=function(){return iIiili11;};return IIlI1();};function getUA(){const iiii1Ill=l1iii1lI,iIIili1i={'JAIlT':function(Ili1ilII,l1I11iiI){return Ili1ilII(l1I11iiI);}};$['UA']=iiii1Ill(0x1eb)+iIIili1i[iiii1Ill(0x339)](randomString,0x28)+iiii1Ill(0x332);}function randomString(lII1IiIi){const li1lIlIl=l1iii1lI,IiilliII={'mxPPz':function(IiI1iIl,Ii1lillI){return IiI1iIl||Ii1lillI;},'yjrIa':li1lIlIl(0x245),'lXsUd':function(IlIl1I1l,lIllil1l){return IlIl1I1l<lIllil1l;},'xunlQ':function(lIiiiil1,IIiI1i1l){return lIiiiil1*IIiI1i1l;}};lII1IiIi=IiilliII[li1lIlIl(0x24e)](lII1IiIi,0x20);let iI1I1Ill=IiilliII[li1lIlIl(0x28e)],iilIii11=iI1I1Ill[li1lIlIl(0x3bc)],iillI1ii='';for(i=0x0;IiilliII[li1lIlIl(0x3e2)](i,lII1IiIi);i++)iillI1ii+=iI1I1Ill[li1lIlIl(0x2cb)](Math[li1lIlIl(0x234)](IiilliII[li1lIlIl(0x1e2)](Math[li1lIlIl(0x3a3)](),iilIii11)));return iillI1ii;}function safeGet(lIiII1){const l1ll1Il=l1iii1lI,I1IIlii1={'yVcuk':function(i1Iiil11,IiiIIIII){return i1Iiil11!==IiiIIIII;},'GlKva':l1ll1Il(0x230),'VySoN':function(I1l1III1,lIIIIii){return I1l1III1==lIIIIii;},'mYLmg':l1ll1Il(0x411)};if(!lIiII1){if(I1IIlii1[l1ll1Il(0x220)](I1IIlii1[l1ll1Il(0x282)],I1IIlii1[l1ll1Il(0x282)]))lIi1iil1[l1ll1Il(0x313)](l1iIiIll);else return console[l1ll1Il(0x313)](l1ll1Il(0x394)),![];}try{if(I1IIlii1[l1ll1Il(0x3f9)](typeof JSON[l1ll1Il(0x265)](lIiII1),I1IIlii1[l1ll1Il(0x30c)]))return!![];}catch(IIi1IlII){return console[l1ll1Il(0x313)](IIi1IlII),![];}}function jsonParse(lIi11lIi){const II11iIIl=l1iii1lI,liilIi11={'Ycdgp':function(lI1II1I1,I11III11){return lI1II1I1==I11III11;},'qbBhP':II11iIIl(0x277),'pZJrI':II11iIIl(0x2d8)};if(liilIi11[II11iIIl(0x1d6)](typeof lIi11lIi,liilIi11[II11iIIl(0x254)]))try{return JSON[II11iIIl(0x265)](lIi11lIi);}catch(i1il1i1l){return console[II11iIIl(0x313)](i1il1i1l),$[II11iIIl(0x326)]($[II11iIIl(0x320)],'',liilIi11[II11iIIl(0x39e)]),[];}}function getQueryString(l1liiI,l11Iiii1){const l1lliill=l1iii1lI,iIlI1iil={'zwcyk':function(l1l1illi,iil1il){return l1l1illi+iil1il;},'RcwTO':l1lliill(0x40b),'vRRMX':l1lliill(0x2f5),'vKRjA':function(IlIi11Ii,iIlIlIi){return IlIi11Ii!=iIlIlIi;},'ApgvK':function(i1IIi1Ii,iIiIIll1){return i1IIi1Ii(iIiIIll1);},'AARFI':function(lilIl1ii,liilll11){return lilIl1ii+liilll11;},'mDNwm':function(I1liIilI,i11iiiII){return I1liIilI+i11iiiII;},'FtZlv':function(IIl1iI1l,l1lili){return IIl1iI1l!==l1lili;},'tKSrr':l1lliill(0x22a),'sjrTs':function(ili1il11,iIIiiIi1){return ili1il11(iIIiiIi1);}};let l11IIlI=new RegExp(iIlI1iil[l1lliill(0x374)](iIlI1iil[l1lliill(0x33e)](iIlI1iil[l1lliill(0x2f3)],l11Iiii1),iIlI1iil[l1lliill(0x272)])),llllil1l=l1liiI[l1lliill(0x331)](l11IIlI);if(iIlI1iil[l1lliill(0x3b3)](llllil1l,null)){if(iIlI1iil[l1lliill(0x283)](iIlI1iil[l1lliill(0x278)],iIlI1iil[l1lliill(0x278)])){let ll1IiII1=new iIliI11l(iIlI1iil[l1lliill(0x269)](iIlI1iil[l1lliill(0x269)](iIlI1iil[l1lliill(0x2f3)],I111llI1),iIlI1iil[l1lliill(0x272)])),II1i1iii=llI1Iiii[l1lliill(0x331)](ll1IiII1);if(iIlI1iil[l1lliill(0x3b3)](II1i1iii,null))return iIlI1iil[l1lliill(0x33c)](iI11Il,II1i1iii[0x2]);return'';}else return iIlI1iil[l1lliill(0x3ae)](decodeURIComponent,llllil1l[0x2]);}return'';}async function joinShop(){const i1lli1II=l1iii1lI,i1IiillI={'nqKBF':function(li1IIiI){return li1IIiI();},'FLHHS':i1lli1II(0x329),'YtOjz':function(illliIl1,ilIIlI1i){return illliIl1==ilIIlI1i;},'ycLnT':i1lli1II(0x277),'XsXer':i1lli1II(0x2d8),'tmwJd':function(l1l1liI,lIiI11l1){return l1l1liI===lIiI11l1;},'tgKpE':i1lli1II(0x2c0),'qHOiy':i1lli1II(0x291),'isval':i1lli1II(0x2b8),'GkEaU':i1lli1II(0x411),'DQYHy':function(ll11ilII,Ili1IlIi){return ll11ilII!==Ili1IlIi;},'YRKSD':i1lli1II(0x2e7),'ABfwS':i1lli1II(0x21f),'WYOmN':i1lli1II(0x370),'vrLjd':i1lli1II(0x3b8),'ryrwn':i1lli1II(0x2b7),'exkcV':i1lli1II(0x325),'YITPa':i1lli1II(0x229),'XrTyf':function(i1lliliI){return i1lliliI();},'JQMqg':i1lli1II(0x249),'ZKLCP':i1lli1II(0x2a4),'OwLbY':i1lli1II(0x3bb),'NXsmS':i1lli1II(0x213),'aSzHi':function(IiIilllI,I1lillll,i1I11i1i){return IiIilllI(I1lillll,i1I11i1i);},'mJWHk':i1lli1II(0x2f9),'EOfKH':function(i1III1i,lilIIIl1){return i1III1i(lilIIIl1);},'wJoxJ':i1lli1II(0x3e3),'Weqzy':i1lli1II(0x250),'iweES':i1lli1II(0x274),'YepBH':i1lli1II(0x315),'tVMvU':i1lli1II(0x1e5)};if(!$[i1lli1II(0x3d4)])return;return new Promise(async iIi11iii=>{const liil1i=i1lli1II,IlI1i1li={'KLCRX':function(ilI1I1l){const lliI1lI1=I1IIIl;return i1IiillI[lliI1lI1(0x38d)](ilI1I1l);},'cQwye':i1IiillI[liil1i(0x289)],'PRIMC':function(lII1iI1,liIillii){const iil11i1i=liil1i;return i1IiillI[iil11i1i(0x2fe)](lII1iI1,liIillii);},'TBxFJ':i1IiillI[liil1i(0x38b)],'zvaFQ':i1IiillI[liil1i(0x2a8)],'kHiHF':function(l1iil11I,I1I1llII){const IiiliI11=liil1i;return i1IiillI[IiiliI11(0x25e)](l1iil11I,I1I1llII);},'dOLQP':i1IiillI[liil1i(0x23f)],'Mrvbh':i1IiillI[liil1i(0x385)],'pkSbE':i1IiillI[liil1i(0x284)],'ZkdPl':i1IiillI[liil1i(0x2f1)],'CGXPi':function(liIi11Ii,ll1II11I){const iIl1lIi=liil1i;return i1IiillI[iIl1lIi(0x37e)](liIi11Ii,ll1II11I);},'ylzjT':i1IiillI[liil1i(0x409)],'OjmZN':i1IiillI[liil1i(0x309)],'NwEmb':i1IiillI[liil1i(0x23c)],'hvQsX':i1IiillI[liil1i(0x363)],'VjNjV':function(iilIIiil,Iii1iII){const iIiiiII1=liil1i;return i1IiillI[iIiiiII1(0x2fe)](iilIIiil,Iii1iII);},'WBjPP':function(I11l11li,iIl1l1il){const IlIliI1i=liil1i;return i1IiillI[IlIliI1i(0x37e)](I11l11li,iIl1l1il);},'zRXbX':i1IiillI[liil1i(0x239)],'gApNf':i1IiillI[liil1i(0x380)],'goAsT':i1IiillI[liil1i(0x3a5)],'rGMiX':function(Ii1llli1){const I11iiili=liil1i;return i1IiillI[I11iiili(0x222)](Ii1llli1);}};$[liil1i(0x1ee)]=i1IiillI[liil1i(0x1ef)];let liiiiIlI='';if($[liil1i(0x2f0)])liiiiIlI=liil1i(0x341)+$[liil1i(0x2f0)];const I11I1ill=liil1i(0x2f2)+$[liil1i(0x3d4)]+liil1i(0x271)+$[liil1i(0x3d4)]+liil1i(0x3e4)+liiiiIlI+liil1i(0x3e5),iIIl11i={'appid':i1IiillI[liil1i(0x223)],'functionId':i1IiillI[liil1i(0x2b3)],'clientVersion':i1IiillI[liil1i(0x36e)],'client':'H5','body':JSON[liil1i(0x265)](I11I1ill)},ilII111I=await i1IiillI[liil1i(0x1e8)](getH5st,i1IiillI[liil1i(0x27f)],iIIl11i),l1iIllII={'url':liil1i(0x3c9)+I11I1ill+liil1i(0x38c)+i1IiillI[liil1i(0x24b)](encodeURIComponent,ilII111I),'headers':{'accept':i1IiillI[liil1i(0x3c3)],'accept-encoding':i1IiillI[liil1i(0x21b)],'accept-language':i1IiillI[liil1i(0x2e3)],'cookie':originCookie,'origin':i1IiillI[liil1i(0x405)],'user-agent':i1IiillI[liil1i(0x29e)]}};$[liil1i(0x219)](l1iIllII,async(iiiIil,li1llIll,ilIli1II)=>{const ilI1IlI1=liil1i,IllilI1i={'DQFhe':function(lI1liIIl,i1l11l1I){const IlI1l1I=I1IIIl;return IlI1i1li[IlI1l1I(0x336)](lI1liIIl,i1l11l1I);},'YJGvA':IlI1i1li[ilI1IlI1(0x23b)],'Lfkco':IlI1i1li[ilI1IlI1(0x2cf)]};if(IlI1i1li[ilI1IlI1(0x387)](IlI1i1li[ilI1IlI1(0x3f2)],IlI1i1li[ilI1IlI1(0x3f2)]))try{if(IlI1i1li[ilI1IlI1(0x387)](IlI1i1li[ilI1IlI1(0x3c8)],IlI1i1li[ilI1IlI1(0x24a)]))IliliII1[ilI1IlI1(0x27b)]=iiIii1[ilI1IlI1(0x1f8)][ilI1IlI1(0x357)][0x0][ilI1IlI1(0x319)][ilI1IlI1(0x2e9)];else{ilIli1II=ilIli1II&&ilIli1II[ilI1IlI1(0x331)](/jsonp_.*?\((.*?)\);/)&&ilIli1II[ilI1IlI1(0x331)](/jsonp_.*?\((.*?)\);/)[0x1]||ilIli1II;let il1llI1=$[ilI1IlI1(0x2a6)](ilIli1II,ilIli1II);if(il1llI1&&IlI1i1li[ilI1IlI1(0x336)](typeof il1llI1,IlI1i1li[ilI1IlI1(0x2fa)])){if(IlI1i1li[ilI1IlI1(0x1fb)](IlI1i1li[ilI1IlI1(0x2ca)],IlI1i1li[ilI1IlI1(0x2ff)])){if(il1llI1&&IlI1i1li[ilI1IlI1(0x387)](il1llI1[ilI1IlI1(0x36f)],!![])){if(IlI1i1li[ilI1IlI1(0x1fb)](IlI1i1li[ilI1IlI1(0x2f8)],IlI1i1li[ilI1IlI1(0x2f8)]))IlI1i1li[ilI1IlI1(0x2c1)](Ii11IIi1);else{console[ilI1IlI1(0x313)](il1llI1[ilI1IlI1(0x3eb)]),$[ilI1IlI1(0x1ee)]=il1llI1[ilI1IlI1(0x3eb)];if(il1llI1[ilI1IlI1(0x1f8)]&&il1llI1[ilI1IlI1(0x1f8)][ilI1IlI1(0x40f)])for(let lllIIiI of il1llI1[ilI1IlI1(0x1f8)][ilI1IlI1(0x40f)][ilI1IlI1(0x3c1)]){IlI1i1li[ilI1IlI1(0x1fb)](IlI1i1li[ilI1IlI1(0x35a)],IlI1i1li[ilI1IlI1(0x35a)])?iiiIil1I&&IllilI1i[ilI1IlI1(0x33d)](IiIIliii[ilI1IlI1(0x36f)],!![])&&(lll111ii[ilI1IlI1(0x313)](ilI1IlI1(0x31f)+(IliIiIIi[ilI1IlI1(0x1f8)][ilI1IlI1(0x373)][ilI1IlI1(0x390)]||'')),Il1I1IIl[ilI1IlI1(0x2f0)]=II11li1I[ilI1IlI1(0x1f8)][ilI1IlI1(0x357)]&&i1i1lilI[ilI1IlI1(0x1f8)][ilI1IlI1(0x357)][0x0]&&lIliiiiI[ilI1IlI1(0x1f8)][ilI1IlI1(0x357)][0x0][ilI1IlI1(0x319)]&&I11lili[ilI1IlI1(0x1f8)][ilI1IlI1(0x357)][0x0][ilI1IlI1(0x319)][ilI1IlI1(0x2e9)]||''):console[ilI1IlI1(0x313)](ilI1IlI1(0x391)+lllIIiI[ilI1IlI1(0x212)]+lllIIiI[ilI1IlI1(0x24f)]+lllIIiI[ilI1IlI1(0x3e0)]);}console[ilI1IlI1(0x313)]('');}}else il1llI1&&IlI1i1li[ilI1IlI1(0x1e9)](typeof il1llI1,IlI1i1li[ilI1IlI1(0x2fa)])&&il1llI1[ilI1IlI1(0x3eb)]?($[ilI1IlI1(0x1ee)]=il1llI1[ilI1IlI1(0x3eb)],console[ilI1IlI1(0x313)](''+(il1llI1[ilI1IlI1(0x3eb)]||''))):console[ilI1IlI1(0x313)](ilIli1II);}else l1Il1IiI[ilI1IlI1(0x3e7)]=!![],l1iIIilI[ilI1IlI1(0x313)](IlI1i1li[ilI1IlI1(0x2c4)]);}else{if(IlI1i1li[ilI1IlI1(0x2ce)](IlI1i1li[ilI1IlI1(0x2af)],IlI1i1li[ilI1IlI1(0x340)]))console[ilI1IlI1(0x313)](ilIli1II);else{if(IllilI1i[ilI1IlI1(0x33d)](typeof iliii1Il,IllilI1i[ilI1IlI1(0x306)]))try{return l11lIiiI[ilI1IlI1(0x265)](I11iI11);}catch(l1li1iiI){return Ii1[ilI1IlI1(0x313)](l1li1iiI),ii1II11l[ilI1IlI1(0x326)](ililiii[ilI1IlI1(0x320)],'',IllilI1i[ilI1IlI1(0x3dd)]),[];}}}}}catch(lIIllIii){$[ilI1IlI1(0x2c2)](lIIllIii,li1llIll);}finally{if(IlI1i1li[ilI1IlI1(0x1fb)](IlI1i1li[ilI1IlI1(0x261)],IlI1i1li[ilI1IlI1(0x261)]))for(let I1ilii11 of IiIiIIi[ilI1IlI1(0x1f8)][ilI1IlI1(0x40f)][ilI1IlI1(0x3c1)]){iliiiI[ilI1IlI1(0x313)](ilI1IlI1(0x391)+I1ilii11[ilI1IlI1(0x212)]+I1ilii11[ilI1IlI1(0x24f)]+I1ilii11[ilI1IlI1(0x3e0)]);}else IlI1i1li[ilI1IlI1(0x33f)](iIi11iii);}else I11llII1[ilI1IlI1(0x2c2)](Ill1liiI,IIil11i);});});}async function getshopactivityId(){const IiiIi1l1=l1iii1lI,il1ll1i1={'eAWcP':IiiIi1l1(0x32f),'eWfba':IiiIi1l1(0x1f7),'gsowA':function(iIi1liil,iIliii11){return iIi1liil===iIliii11;},'uooCQ':IiiIi1l1(0x21d),'yoypg':IiiIi1l1(0x346),'yGRRm':function(I1iIli1i,I1ll111l){return I1iIli1i===I1ll111l;},'MtkkV':IiiIi1l1(0x37a),'bhVMC':IiiIi1l1(0x25f),'fOxjJ':function(ll1i1lli,llll1I1i){return ll1i1lli==llll1I1i;},'AQiPw':IiiIi1l1(0x411),'unPWA':function(ii111l1i,iiiiIlIi){return ii111l1i==iiiiIlIi;},'QBepP':IiiIi1l1(0x2d0),'ZERgX':IiiIi1l1(0x3ab),'SHDMX':function(II1llI11,II1I111I){return II1llI11!==II1I111I;},'KgOYM':IiiIi1l1(0x2ef),'TVhVC':function(i11i1l){return i11i1l();},'qunnJ':IiiIi1l1(0x2a4),'HnIjg':IiiIi1l1(0x1d9),'umTto':IiiIi1l1(0x213),'VLXGd':function(ilIi11i,llI1IIll,ilIillii){return ilIi11i(llI1IIll,ilIillii);},'dGNUA':IiiIi1l1(0x200),'hmIof':function(IilI1il1,IilIIil){return IilI1il1(IilIIil);},'YSSbd':IiiIi1l1(0x3e3),'AxeJd':IiiIi1l1(0x250),'waAUX':IiiIi1l1(0x274),'fXNxd':IiiIi1l1(0x315),'AQfoq':IiiIi1l1(0x1e5)};return new Promise(async Ii1iiIII=>{const iilil1I1=IiiIi1l1;let l1lIlll=iilil1I1(0x2f2)+$[iilil1I1(0x3d4)]+iilil1I1(0x33a);const ii1IiI={'appid':il1ll1i1[iilil1I1(0x3c6)],'functionId':il1ll1i1[iilil1I1(0x1f4)],'clientVersion':il1ll1i1[iilil1I1(0x401)],'client':'H5','body':JSON[iilil1I1(0x265)](l1lIlll)},IlIl1li1=await il1ll1i1[iilil1I1(0x395)](getH5st,il1ll1i1[iilil1I1(0x1ec)],ii1IiI),lIl1lIll={'url':iilil1I1(0x285)+l1lIlll+iilil1I1(0x38c)+il1ll1i1[iilil1I1(0x1f5)](encodeURIComponent,IlIl1li1),'headers':{'accept':il1ll1i1[iilil1I1(0x34e)],'accept-encoding':il1ll1i1[iilil1I1(0x3e8)],'accept-language':il1ll1i1[iilil1I1(0x402)],'cookie':originCookie,'origin':il1ll1i1[iilil1I1(0x2e0)],'user-agent':il1ll1i1[iilil1I1(0x1e3)]}};$[iilil1I1(0x219)](lIl1lIll,async(Iii11iI1,li1iIlli,iIiliiil)=>{const IlliIll1=iilil1I1,Il11lII1={'UAsen':il1ll1i1[IlliIll1(0x34b)],'XgxAB':il1ll1i1[IlliIll1(0x2e8)]};if(il1ll1i1[IlliIll1(0x312)](il1ll1i1[IlliIll1(0x3ac)],il1ll1i1[IlliIll1(0x22f)]))return!![];else try{if(il1ll1i1[IlliIll1(0x3d6)](il1ll1i1[IlliIll1(0x3d9)],il1ll1i1[IlliIll1(0x347)])){iiI1ii[IlliIll1(0x326)](illlI1ii[IlliIll1(0x320)],Il11lII1[IlliIll1(0x304)],Il11lII1[IlliIll1(0x1ff)],{'open-url':Il11lII1[IlliIll1(0x1ff)]});return;}else{iIiliiil=iIiliiil&&iIiliiil[IlliIll1(0x331)](/jsonp_.*?\((.*?)\);/)&&iIiliiil[IlliIll1(0x331)](/jsonp_.*?\((.*?)\);/)[0x1]||iIiliiil;let lIIi1Il1=$[IlliIll1(0x2a6)](iIiliiil,iIiliiil);lIIi1Il1&&il1ll1i1[IlliIll1(0x3b7)](typeof lIIi1Il1,il1ll1i1[IlliIll1(0x1e4)])?lIIi1Il1&&il1ll1i1[IlliIll1(0x3ff)](lIIi1Il1[IlliIll1(0x36f)],!![])&&(il1ll1i1[IlliIll1(0x312)](il1ll1i1[IlliIll1(0x389)],il1ll1i1[IlliIll1(0x3f0)])?(i1il1I1l=IIllll[IlliIll1(0x265)](iii1i1I),Illl1i1I[IlliIll1(0x36f)]&&(l1liIiIi[IlliIll1(0x396)]=Ili1l1li[IlliIll1(0x1f8)][IlliIll1(0x3cd)][IlliIll1(0x396)],ll111II[IlliIll1(0x1f8)][IlliIll1(0x357)]&&(lIIlIllI[IlliIll1(0x27b)]=lIii1iil[IlliIll1(0x1f8)][IlliIll1(0x357)][0x0][IlliIll1(0x319)][IlliIll1(0x2e9)]))):(console[IlliIll1(0x313)](IlliIll1(0x31f)+(lIIi1Il1[IlliIll1(0x1f8)][IlliIll1(0x373)][IlliIll1(0x390)]||'')),$[IlliIll1(0x2f0)]=lIIi1Il1[IlliIll1(0x1f8)][IlliIll1(0x357)]&&lIIi1Il1[IlliIll1(0x1f8)][IlliIll1(0x357)][0x0]&&lIIi1Il1[IlliIll1(0x1f8)][IlliIll1(0x357)][0x0][IlliIll1(0x319)]&&lIIi1Il1[IlliIll1(0x1f8)][IlliIll1(0x357)][0x0][IlliIll1(0x319)][IlliIll1(0x2e9)]||'')):console[IlliIll1(0x313)](iIiliiil);}}catch(Il1l1II1){il1ll1i1[IlliIll1(0x232)](il1ll1i1[IlliIll1(0x35d)],il1ll1i1[IlliIll1(0x35d)])?II1liiI[IlliIll1(0x313)](i11l111):$[IlliIll1(0x2c2)](Il1l1II1,li1iIlli);}finally{il1ll1i1[IlliIll1(0x3c0)](Ii1iiIII);}});});}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)}
|