mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
19 lines
58 KiB
JavaScript
19 lines
58 KiB
JavaScript
/*
|
||
活动名称:关注店铺有礼 · 收藏大师
|
||
活动链接:https://txzj-isv.isvjcloud.com/collect_shop/home?a=<活动id>
|
||
环境变量:jd_collect_shop_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 lI11llll=lililll1;(function(l1ii1Ii,l1I1IIi,I1iIlil,i11il1II,iill1lii,l11i11li,liI1lli1){return l1ii1Ii=l1ii1Ii>>0x9,l11i11li='hs',liI1lli1='hs',function(iilliiIi,l111Ili1,lIIillI,I1IillIi,Ili11II1){const liIIi1l1=lililll1;I1IillIi='tfi',l11i11li=I1IillIi+l11i11li,Ili11II1='up',liI1lli1+=Ili11II1,l11i11li=lIIillI(l11i11li),liI1lli1=lIIillI(liI1lli1),lIIillI=0x0;const lI1iiI11=iilliiIi();while(!![]&&--i11il1II+l111Ili1){try{I1IillIi=parseInt(liIIi1l1(0x2d5))/0x1*(-parseInt(liIIi1l1(0x2f7))/0x2)+-parseInt(liIIi1l1(0x1fc))/0x3+parseInt(liIIi1l1(0x3d0))/0x4*(parseInt(liIIi1l1(0x205))/0x5)+-parseInt(liIIi1l1(0x31a))/0x6+parseInt(liIIi1l1(0x30f))/0x7+parseInt(liIIi1l1(0x235))/0x8+-parseInt(liIIi1l1(0x2a8))/0x9;}catch(i1lilI1i){I1IillIi=lIIillI;}finally{Ili11II1=lI1iiI11[l11i11li]();if(l1ii1Ii<=i11il1II)lIIillI?iill1lii?I1IillIi=Ili11II1:iill1lii=Ili11II1:lIIillI=Ili11II1;else{if(lIIillI==iill1lii['replace'](/[fpItDRKMNeXPlnWuGJSh=]/g,'')){if(I1IillIi===l111Ili1){lI1iiI11['un'+l11i11li](Ili11II1);break;}lI1iiI11[liI1lli1](Ili11II1);}}}}}(I1iIlil,l1I1IIi,function(ilIiI1ii,I1lliIII,li1lil11,illiIiII,lil1iIil,IilIIlli,iIiiiiii){return I1lliIII='\x73\x70\x6c\x69\x74',ilIiI1ii=arguments[0x0],ilIiI1ii=ilIiI1ii[I1lliIII](''),li1lil11=`\x72\x65\x76\x65\x72\x73\x65`,ilIiI1ii=ilIiI1ii[li1lil11]('\x76'),illiIiII=`\x6a\x6f\x69\x6e`,(0x135e42,ilIiI1ii[illiIiII](''));});}(0x18200,0x5b325,IIilIi1i,0xc3),IIilIi1i)&&(version_=IIilIi1i);let lz_cookie={},activityCookie='',inviterNick='';$[lI11llll(0x3d7)]=![];let canHelp=![],cookiesArr=[],cookie='',message='',messageTitle='';if($[lI11llll(0x334)]()){if(process[lI11llll(0x24e)][lI11llll(0x374)])activityUrl=process[lI11llll(0x24e)][lI11llll(0x374)];if(JSON[lI11llll(0x24d)](process[lI11llll(0x24e)])[lI11llll(0x22f)](lI11llll(0x276))>-0x1)process[lI11llll(0x2c8)](0x0);Object[lI11llll(0x1ed)](jdCookieNode)[lI11llll(0x251)](ilI1IIi1=>{const iilili1=lI11llll;cookiesArr[iilili1(0x2a9)](jdCookieNode[ilI1IIi1]);});if(process[lI11llll(0x24e)][lI11llll(0x38a)]&&process[lI11llll(0x24e)][lI11llll(0x38a)]===lI11llll(0x3aa))console[lI11llll(0x2e2)]=()=>{};}else cookiesArr=[$[lI11llll(0x30c)](lI11llll(0x356)),$[lI11llll(0x30c)](lI11llll(0x390)),...$[lI11llll(0x32a)]($[lI11llll(0x30c)](lI11llll(0x37a))||'[]')[lI11llll(0x34c)](iIl1i11i=>iIl1i11i[lI11llll(0x3ee)])][lI11llll(0x2b2)](I1liI11l=>!!I1liI11l);let isGetCookie=typeof $request!==lI11llll(0x219);isGetCookie&&(GetCookie(),$[lI11llll(0x2c1)]());function IIilIi1i(){const i11IIl1=(function(){return[...[version_,'GJSjDsjitalRnmpi.hNcSoMm.PXvR7SIfXuKWleD==','qKvSuge','5Rs75yQO5ywL5y+J77YA','B3j3qM0','zwLzzvG','AuTwwuC','q29VA2LLsKqY','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSAw1Hz2uVyxzPzIXPBwfNzs93zwjWlgLTywDLl2fWBMCSkI8Qo3e9mc44lgfWCgXPy2f0Aw9Ul3nPz25Lzc1LEgnOyw5NztT2pwiZo3e9mc45','y291Cg9U','wKLAD1a','ywrhzKG','y1bWrKe','sujitNe','EMfJwhq','z2v0','q2D3sxe','y3rQzgG','zxfhtuu','y1LxEfa','B0T4vvm','rMzzEwK','rNLHEM8','BK1huLm','6i635y+ww3rVA2vUxEwKSEI0PE+8Gq','q0DxBxq','D2fPDa','vLfhshy','lcdLPlhOTkuHiowoN+wBOdOG','yNnPyw4','AwDgruy','sKzwtNy','y1jNs0m','zMfSC2u','tfjlB3i','yMvHBG','DhLnrwC','u0LKywS','ufDYAfC','DfbHAKq','wezvr3a','q0zns24','u3fHuMK','Eg1KDey','q1nRtNu','C2v0lwnVB2TPzq','yw9gCLq','CLjZufm','t1zNyuG','yxPtsvy','rfbbqxq','y0rnsLq','tfzRBuW','Cejxq0K','C2vevue','t29hD3m','6k+35AgR5yAz5Rs75yQO6zo+5O6L','CgfYC2u','BgvUz3rO','EezqsNC','B2jpqNK','Dg9Rzw49','AgfZrw5K','ugjmv20','DxnLCKLUzM8','zgLZy291BNrtDhjPBMC','DK9lD1q','Ahr0Chm6lY8','B0vPsg4','vur1rMC','wLLlB1m','mJiWoda0r1vAD21X','uezhtLO','EvPOy0e','q2Lnrui','A0Xmz2q','u01dufm','D3fOyK8','ywn0AxzPDhLfBMq','y2HHCKf0','qKDxqLa','Bg1KCxG','BNfnwNm','BgTwr00','yNzKBfC','zu5RD1a','y2f0y2G','D21Ur00','lcjHy3rPDML0EuLKiJO','CM9wree','CNLOsNq','zgf0yq','t0T1u0e','vxngr2G','twLjsxG','tuDpsKO','CKzUweG','rLvfr0S','B25Jzv9UDw0','B3zTsxy','z3PPCcWGzgvMBgf0zsWGyNi','y29VA2LL','DMHtDwm','Cxv2tfK','wwr6CxG','tKnvBu8','6Akg5y+w5AsX6lsL77YA','yvHxwuO','EujeuxG','Ahbks0C','C2HVCgfJDgL2Axr5swq','BMLJA05HBwu','r3npAM0','rfjev3m','AMrHCha7AvbOB25LoZeWlJiUmJSXnc4ZoW','tMj6EKG','5O6i5P2d5AsX6lsL77YA','5lQS5lIC6lsM5y+3','zxHJA2O','C2vUze5VDgLMEq','q2XcALa','A2v5CW','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvKoYbJAgfYC2v0pvvurI04','BNnczMu','BgvttgO','CKPNu2u','yvDwsg4','Cu1bBfK','D0H3s2O','EgzrDha','Cw1dtMC','we92D1a','l2nVBgXLy3rFC2HVCc9YzwnLAxzLx3bYAxPL','tKLVzwO','CgvKCfy','DwnUt0q','nJq4mJKXBgvTCLHj','l2zYB250l2PKx3n0B3jLx3vZzxjFAw5MBW','sK1Awu0','BuDev0q','yxbPlM0UAMqUy29T','vefIyNC','vwvyu2y','tujIDM0','txf4Dxi','nuvls1jTEG','zg9TywLU','A0v2quC','D25ruxO','ywn0AxzPDhLjza','B2n6zMm','thv6Efa','C2vJB25KtgLUzurLC2m','Cu1kDvm','rgLsrem','BfDktKK','ChjPEMvoyw1L','DMHmtNO','A1DkBwu','BNzUzKS','tvfiz00','8j+xKE+4JYdKVjJMG6dLIlG','CxHez0m','v0PlyuS','z29Vzhm','Dw5KzwzPBMvK','8j+oIsdLRP7NIAK','CffoDxa','t1b1qxa','yKHHq0e','os4YlJa','uhDdCei','C2DprgC','BuHVuhu','Eg5jr2q','BxnN','igPKx3n0B3jLx3vZzxjFAw5MBYbbueNOR7FMSylLPlhOTkxVViZOR7FMO4dMN6xNVzhOT6/PH43OR5u','AM9PBLzLBMrLCKLK','5Rs75yQOAwtKUi3LRzJLNkG'],...(function(){return[...['t0jor0S','AMnowgC','C0X2uNm','s3bewwq','v1zND3i','wuPAzfm','r05tyuu','wNfruxe','Aw5KzxHpzG','ChjMDvG','CMfUzg9T','wxPrsxe','vNbnC2y','cIOQkIOQkUw8GowNI+oaKos6Ros4NoI0PUwpTW','mJG1nJiWmhHWyuPJsq','zxjYCW','u2rer2m','AfLhDw4','DfzdBNi','zxjYB3jkB2LUu2HVCa','wNzsruO','5BEY6Akg5y+w','q21xAwW','B3bLBKnHCMrtDgf0Dxm','rKX0u20','kf58wYy/xsK','u0HzsxK','5lQS5lIC5PYn5yQH5zMO6k6/6zEU5PwW5O2U5lI656M677Ym6k+35Qoa5P+L6iEQ6lQR6k6+5Ash572r57UC5Oof5yA1','u2TSteW','wKfbqve','o00Vns4Wo25LDhDVCMSVD2LMAtTbreLelZTTB2rLBc9PugHVBMuXmIWXo2fKzhjLC3nPzc80mtK5mtC1mtKZo2fWCej1AwXKlZe2nZG2mZTQzfn1ChbVCNreyxjRtw9Kzs8Wo01VEMLSBgeVns4WicHPugHVBMu7ienqvsbPugHVBMuGt1mGmtrFmYbSAwTLie1HyYbpuYbyksbbChbSzvDLyKTPDc82mduUms4XnsaOs0HutuWSigXPA2uGr2vJA28Pie1VyMLSzs8XnuuXndG7C3vWCg9YDePeu0HxsY8XoW','qvLbq0q','yNDwuvi','rwnirK8','jMnOyw5UzwW9odaXjNjLDhvYBLvYBd0','zwy3owe','Ewv0rKK','q3nxCLu','C3rYAw5NAwz5','zw52','rKr1shy','s3rWufO','zM9YrwfJAa','r1fdAMC','uufLBuC','r1HeDgO','sg9ttwe','t1z0ywm','u3jctNa','psHBxIzDkIKOjNWKkq','rgf2z1y','lcjJAgfUBMvSiJO0mdz9','BwvZC2fNzq','q3borg0','DfjsyNy','txPPCg4','q3zjvge','DhLWzq','wMHAALe','vxnLCK5HBwu','AxnmB2DPBG','u1fkvwe','v2zmwwK','EgHWD3u','A2TZz3G','ze1UCKK','Aw5JBhvKzxm','44cq5lQS5lIC6lsM5y+3','Ahr0Chm6lY9ZAg9WBwvTyMvYlM0UAMqUy29Tl3nOB3bJyxjKlZ92zw5Kzxjjzd0','Ce90v2i','ugnODNC','zwH1D24','vhv2ugq','ChjPEMvFDgL0Bgu','A01zsu8','uLfks2m','t09Ms20','q09utxO','Bg9JrLa','r0Lusfvc','ChjPEMvFBMfTzq','tgnmsxu','AMrFC2HVCf9Tzw1Izxi','v2fWqLC','iIWIy2HHBM5LBci6nda2lcjWyxLvCfnOB3aIoNrYDwv9','iIWIyMLUzej5vMvYAwz5q29KzuzSywCIoJeSiNjLz2LZDgvYrxH0zw5KiJP7FsWID3jPDgvdAgLSzezSywCIoJa','AeLWz0m','AMLTAMW','B3bLBKnHCMrby3rPDML0EuLK','uxzhCLe','y3PYAwm','B1jYs1y','yxf6svG','renjwxm','D0flA2m','z2v0u2HVCe9Wzw5dyxjKsw5MBW','rMLAzM4','Auv6v1C','zgfotMC','ufLJCfa','z0DmvKO','5Rs75yQO5BEY57Ut5P2F5OIw6icf5PYQ5BYa5AEl','wKrsA1G','57g75z6l77YA','EKfyt2K','uffLsvO','BMfTzq','u3bSrwq','44cq5O+q56s644cry29VA2LL5BEY5AsX5Pwi','B2jSD1a','Bg9NrxjY','C1LxuK0','DMH3EfK','vK5ZDey','zgPoqwq','cUwoU+wkOowfPEw6L+MtUUs8MUwrMo+8MG','B1nvBNe','jMnSAwvUDfzLCNnPB249os4YlJaMy2XPzw50puG1jNv1Awq9odG4odGMAdvZDd0','DMLkwxq','yuTUt3i','Ahr0Chm6lY9HCgKUBs5Qzc5JB20Vy2XPzw50lMfJDgLVBJ9HChbPzd1Qzf9ZAg9Wx21LBwjLCIzMDw5JDgLVBKLKpwjPBMrxAxrOvMvUzgvYjMjVzhK9','D09MC1e','y21Htfa','44cq5O+q56s644cr6k+35ywi6i635y+w5lQS5lIC6lsM5y+35lIay29VA2LLcUEBToAoPEs9V+EuQe5VyNLeyEEAHos6Ros4NoETVUwiSoIoT+wpLG','5PYQ5BYa5AEl','v3foEMK','qLDZAuy','yNHhzKK','ANjLuuy','odu0nJC2EgvJvMTm','ChvZAa','Ahzgu0G','u0jyswe','ChfMv0e','DxfpDue','DxLWrfu','ufDxrKS','zNHmuuq','qxLfsg4','zMLSDgvY','t2vdz1u','vMjduum','rwvKuNO','zwLIzwS','yxbWBgLJyxrPB24VANnVBIWGDgv4Dc9QyxzHC2nYAxb0lcaQlYO7ihe9mc4Wmq','ipcFKly','wwfbyM0','wKvpzfu','ueLQyMG','r2T0ChG','tvjgEgG','EMnVtNm','AgvHzgvYCW','yMLUzfDPDgHwzw5Kzxi','zg9Uzq','qu5lB24','yKvtuvm','t2jpA0W','CKX3CLG','Ahr0Chm6lY9IzwfUlM0UAMqUy29TlW','suzVrfK','zxHPDa','Cg9ZDa','wvHpBMW','uuPrC3a','zNHuAuO','sK1Szxm','veLjuKK','yMDOu0y','DMvUzgvYq2fYze5HBwu','C3bSAxq','tuvWC04','zhvRtxO','z0vJBeu','mtLpAeHUv3m','zKDXzeS','z2LMDeXPC3q','A0D3s1a','rKXOtee'],...(function(){return['BeDXr1O','Aw50zwDYywW','uMvZCg9UC2uGy29Kzsa0mdmGkezVCMjPzgrLBIK','yxbLDvy','6k+35yU/6zQp5Osp5zYOqM94sNpOVPpLHAxMOyBKV67MLlNLHOxLRRKk5BU66k6U6ycA6l+h6isA5PYS5y676i635y+wy29VA2LL','yK9gywq','y29Kzq','Bu16CMq','Bg9N','B0HABvK','zwrwvve','y3HqDNG','ALD2s1m','DKj2sMe','AuPVC1i','wxjnDfu','Aw50zxjLC3rZsw5MBW','rK51yMC','CgLKpq','r0DVCxy','jNrVA2vUpq','vfruEwu','CxPXwei','ENrtwLm','rfvuvuK','vg9mq0W','CuDZy08','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLMnVB2TPzq','ruzpzgO','mJyYntjVExbnCgu','tvDgAwu','tK5bD2K','jMnSAwvUDd1inszJBgLLBNrwzxjZAw9UptKUmI4WjNv1Awq9odG4odGMAdvZDd0YmdiYmdqXmJe2ndy0nti0msuZqJm2mZrKmwfLywrHnMq5y2qXmwe3nti2ytnHnMfJnJnLjtncmty5zJeLm0j0AZaYD2q2nMyXzdC0mtHUwhvmANnTtZnVsK1dEfvXs1z3swy0CtfxuNb0s1jum25ku3j4mdfVwvLcqxLSyLn1EwC0C2LWBKv6Euvkt1P1rMPMrZjrrvjJqNr6zcuZqJzIndu1mJm0ztKZyMu0zwm5nJnJzdDJntC1zdCWodGYyJGZogjHntG4mtq5ytfMntrInJLJogqWzgfJzJe0zgeLm0iZlJaLm0iXnJq5nZuZmJa1mJqX','EeLPCgi','EuDeC2G','rKrjAe4','Bxz0wuG','BNLgyxK','B29JB1m','DfLLvKm','tevVEwm','thrYCLa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZK5lJaUndG0nc41msbtywzHCMKVntm3lJm2','swjtu2O','B0npteC','l2nVBgXLy3rFC2HVCc9OB21Lp2e9','vgfyrva','sffpAxq','DvrjueW','sKnIAKS','z2v0zgf0yq','BuPKsei','rvrzte4','ndyXmteXn3zjEMzZqG','v1HAtvq','kI8Q','wuH3DuK','zvnjAeW','qNDUAK8','yNfOuKy','ywLHBha','C3vIC3rY','CgjNvg8','v0TJBhu','odiXnZy2t3zrvNzS','ANjQDfK','Bvnyr3K','tM1TyKG','y3LhAMS','EMGTq04SEMGTsgfUCZTXptaUoq','teXVwNK','Ahr0Chm6lY9ZAg9WBwvTyMvYlM0UAMqUy29TlW','ExvjAKG','CKTnwhG','A2vLCc1HBgL2zq','ywjJzgvMmdeYmZq1nJC4oq','zK1jBgS','zxjY','iIWIC2HVCeLKiJOI','t1fssfq','Dg9pyMO','uNfMEvK','DefcEe4','Ahr0Chm6lY9HCgKUBs5Qzc5JB20Vy2XPzw50lMfJDgLVBJ9HChbPzd1Qzf9ZAg9Wx21LBwjLCIzMDw5JDgLVBKLKpwDLDfnOB3bpCgvUq2fYzeLUzM8MyM9KEt0','Dvjir3C','vxDgAwq','8j+xKE+4JYa','EvHeEui','A2P6z3O','v1PrCuO','AxnoB2rL','z3ffsLi','C0r5wNq','Ehn6zgS','ignVBgXLy3rFC2HVChOGqvbj6k+35Rgc5AsX6lsL77Ym6k+35Qoa5P+L572r6lEV6yEn6k+v','BNHPBMq','8j+oIsa','EYj2zw5Kzxjjzci6iG','C3rHDhvZ','BwHRBfK','AhzPu1e','44crioACQUIdVEIoT+wpLUA0U+wkQos/OEAbRW','kIOQkIOQcG','Aw5KzxG','qKDyvxy','5ywL5lYA6i635B6xoIa','z2LMDeLUzM8','r01kwhq','C3vJy2vZCW','EMGTq04SEMG7Ct0WlJKSzw4Tvvm7Ct0WlJGSzw47Ct0WlJC','EM1IvxK','q25Xs24','DNfUDui','D3PUwuy','BwfW','B2jQzwn0','yLDovwi','yuvQufy','AwX3uLG','ogfKzMi','EMrTvvy','zMLUywXSEq','B0H3wfe','rhv6uey','q29VA2LLsKq','Aw50zxjLC3rZuNvSzuXPC3q','qM9UtgS','rMzJAha','EMDAB1y','sfPHEgK','uhPeEuu','rhjotM4','rLvUzgy','C3rYAw5N','rvfHsfO','vwzAAxG','CM90te8','AKDgq0m','5Rs75yQO5AsQ54gR54Ig77Ym6k+356In5zco5yAn6k+v','CujIyKG','vgvtALu','svf2CLC','u0DoCu0','ipcFJP/VUi8','C2HVCe1LBwjLCKnHCMrjBMzV','sxboz3a','ALbpzfu','ihjLy2vPDMvFChjPEMuGqvbj6k+35Rgc5AsX6lsL77Ym6k+35Qoa5P+L572r6lEV6yEn6k+v','Au5HDKW','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLGPODhrWCZOVl2jLyw4UBs5Qzc5JB20V','CMvZDwX0','CfHgy0u','uuzHthe','r2zKwK8','AMrFy29SBgvJDf9ZAg9Wx2fJDgL2Axr5vxjS','y29VA2LL5BEY5AsX5Pwiic0G','qNH5v3C','vLrVshe','Bwf0y2G','qvjuEu8','q29VA2LLC0Pe','ruTZrey','Dg9Rzw4','ueXdsK0','t2DkvwG','6yoO5yIg5lYA5zgy','tvL4DxC','q0DiEuq','sw9vCe0','u0HouKO','zhHyEhi','wMrnzuK','zMXVB3i','AhvsAxq','ChLrAMG','BuDgtKW','sKrFrevcvuC'];}())];}())];}());IIilIi1i=function(){return i11IIl1;};return IIilIi1i();};if(activityUrl)activityId=getQueryString(''+activityUrl,'a'),$[lI11llll(0x206)]=activityUrl[lI11llll(0x378)](/https?:\/\/([^/]+)/)[0x1];else{console[lI11llll(0x2e2)](lI11llll(0x3c1));return;}let domains=lI11llll(0x3cc)+$[lI11llll(0x206)];!(async()=>{const llIl11iI=lI11llll,lI11I={'lWJNI':function(iiII,ilil1iiI){return iiII!==ilil1iiI;},'vBvJa':llIl11iI(0x2a4),'KpDYd':llIl11iI(0x203),'bOFad':llIl11iI(0x226),'jPOdU':function(lil1lii,i1iilIII){return lil1lii+i1iilIII;},'oHwXQ':llIl11iI(0x38c),'NIoej':llIl11iI(0x2a2),'OPuAp':llIl11iI(0x2c6),'Mqxur':function(i1i1I1i,iI1IiilI){return i1i1I1i<iI1IiilI;},'bWNUb':function(l11I1li1,IiiIIIlI){return l11I1li1(IiiIIIlI);},'aoFrT':function(iiilI1ll,IiiIIii1){return iiilI1ll+IiiIIii1;},'CgwIq':llIl11iI(0x293),'kEvAG':function(il1111Il,I1iI1I){return il1111Il+I1iI1I;},'viJYt':function(lI1l1ill,i1iIi1ll){return lI1l1ill+i1iIi1ll;},'tPajD':llIl11iI(0x3fe),'mJdHB':llIl11iI(0x36f),'oHZmY':llIl11iI(0x375),'PYcpP':function(II1iII,Iil1lli1){return II1iII+Iil1lli1;},'kjzgz':llIl11iI(0x2f5),'PbLWm':function(iiIllllI){return iiIllllI();},'roVDA':function(lIlIIi1i){return lIlIIi1i();},'WXZMT':function(lilIl1i1,lli1IIIi){return lilIl1i1===lli1IIIi;},'bqhRF':llIl11iI(0x23d),'TIIRI':llIl11iI(0x288)};if(!activityId){if(lI11I[llIl11iI(0x20f)](lI11I[llIl11iI(0x2e7)],lI11I[llIl11iI(0x22a)])){$[llIl11iI(0x223)]($[llIl11iI(0x291)],'',lI11I[llIl11iI(0x2df)]),$[llIl11iI(0x2c1)]();return;}else return iIlIi1i1[llIl11iI(0x2e2)](l1ill11),liiIiIi[llIl11iI(0x2e2)](llIl11iI(0x242)),![];}console[llIl11iI(0x2e2)](lI11I[llIl11iI(0x36c)](lI11I[llIl11iI(0x354)],activityUrl));if(!cookiesArr[0x0]){$[llIl11iI(0x223)]($[llIl11iI(0x291)],lI11I[llIl11iI(0x1f9)],lI11I[llIl11iI(0x21c)],{'open-url':lI11I[llIl11iI(0x21c)]});return;}for(let lill1i=0x0;lI11I[llIl11iI(0x204)](lill1i,cookiesArr[llIl11iI(0x3c3)]);lill1i++){if(cookiesArr[lill1i]){cookie=cookiesArr[lill1i],originCookie=cookiesArr[lill1i],$[llIl11iI(0x262)]=lI11I[llIl11iI(0x34e)](decodeURIComponent,cookie[llIl11iI(0x378)](/pt_pin=(.+?);/)&&cookie[llIl11iI(0x378)](/pt_pin=(.+?);/)[0x1]),$[llIl11iI(0x341)]=lI11I[llIl11iI(0x3b7)](lill1i,0x1),$[llIl11iI(0x263)]=!![],$[llIl11iI(0x3f8)]='',console[llIl11iI(0x2e2)](llIl11iI(0x234)+$[llIl11iI(0x341)]+'】'+($[llIl11iI(0x3f8)]||$[llIl11iI(0x262)])+llIl11iI(0x340));if(!$[llIl11iI(0x263)]){$[llIl11iI(0x223)]($[llIl11iI(0x291)],lI11I[llIl11iI(0x399)],lI11I[llIl11iI(0x207)](lI11I[llIl11iI(0x36c)](lI11I[llIl11iI(0x207)](lI11I[llIl11iI(0x29d)](lI11I[llIl11iI(0x3b0)],$[llIl11iI(0x341)]),'\x20'),$[llIl11iI(0x3f8)]||$[llIl11iI(0x262)]),lI11I[llIl11iI(0x30d)]),{'open-url':lI11I[llIl11iI(0x21c)]});$[llIl11iI(0x334)]()&&await notify[llIl11iI(0x400)](lI11I[llIl11iI(0x207)](lI11I[llIl11iI(0x3b7)]($[llIl11iI(0x291)],lI11I[llIl11iI(0x2e3)]),$[llIl11iI(0x262)]),lI11I[llIl11iI(0x3b7)](lI11I[llIl11iI(0x28a)](lI11I[llIl11iI(0x3b7)](lI11I[llIl11iI(0x28a)](lI11I[llIl11iI(0x3b0)],$[llIl11iI(0x341)]),'\x20'),$[llIl11iI(0x262)]),lI11I[llIl11iI(0x332)]));continue;}await lI11I[llIl11iI(0x3c8)](getUA),await lI11I[llIl11iI(0x3e2)](collect_shop),await $[llIl11iI(0x3a3)](0x7d0);if($[llIl11iI(0x3c7)]||$[llIl11iI(0x3d7)]){if(lI11I[llIl11iI(0x310)](lI11I[llIl11iI(0x315)],lI11I[llIl11iI(0x2ce)]))lll1lll1[llIl11iI(0x295)](lIlI1i1i,Ilii11II);else break;}}}})()[lI11llll(0x3df)](I1ilI1il=>{const iil11III=lI11llll;$[iil11III(0x2e2)]('','\x20'+$[iil11III(0x291)]+iil11III(0x3a5)+I1ilI1il+'!','');})[lI11llll(0x353)](()=>{const l1iIIllI=lI11llll;$[l1iIIllI(0x2c1)]();});async function collect_shop(){const ill1lil1=lI11llll,Il11iIl1={'EKsDF':ill1lil1(0x226),'nsBfe':function(Il111lII,IIlllIl1){return Il111lII(IIlllIl1);},'kMYIO':function(i1lIllII,iIi1liil){return i1lIllII==iIi1liil;},'yBDQx':ill1lil1(0x35f),'SklLL':ill1lil1(0x2de),'dMnrI':function(l1li1iII,iiili1i1,I1i1l1li){return l1li1iII(iiili1i1,I1i1l1li);},'ctjdh':function(I1IiiII1,ilIl1liI){return I1IiiII1==ilIl1liI;},'nqMZs':function(lililIli,IIilil11){return lililIli!==IIilil11;},'gEclE':ill1lil1(0x2ff),'VQGHv':ill1lil1(0x290),'YJZdS':ill1lil1(0x3a1),'GNSaE':function(il1IllIl){return il1IllIl();},'OBNGK':function(iiI11il,I1i1ilI){return iiI11il===I1i1ilI;},'VNstF':function(iill1IIl,iill11iI){return iill1IIl!==iill11iI;},'VpMsf':ill1lil1(0x329),'DrNNn':function(IIlIiI1){return IIlIiI1();},'oczfc':ill1lil1(0x1fb),'WKclu':ill1lil1(0x25e),'CFMKn':function(iiIlllli,l1Ili1I){return iiIlllli+l1Ili1I;},'LVkmL':ill1lil1(0x26a),'MRFxh':ill1lil1(0x33f)};$[ill1lil1(0x236)]=![],$[ill1lil1(0x37c)]=await Il11iIl1[ill1lil1(0x268)](getToken,originCookie,domains);if(Il11iIl1[ill1lil1(0x39a)]($[ill1lil1(0x37c)],'')){if(Il11iIl1[ill1lil1(0x3db)](Il11iIl1[ill1lil1(0x2d4)],Il11iIl1[ill1lil1(0x3a4)])){console[ill1lil1(0x2e2)](Il11iIl1[ill1lil1(0x22c)]);return;}else{Iil1Ilii[ill1lil1(0x223)](Ill1IiI[ill1lil1(0x291)],'',Il11iIl1[ill1lil1(0x37b)]),iiliIi1I[ill1lil1(0x2c1)]();return;}}if(activityId){await Il11iIl1[ill1lil1(0x22d)](jd_store_user_info);if(Il11iIl1[ill1lil1(0x227)]($[ill1lil1(0x3c7)],!![])){if(Il11iIl1[ill1lil1(0x298)](Il11iIl1[ill1lil1(0x233)],Il11iIl1[ill1lil1(0x233)]))Il11iIl1[ill1lil1(0x1ef)](lIiiIiil,lilII1);else return;}await Il11iIl1[ill1lil1(0x35d)](collect_shopx);if($[ill1lil1(0x3d7)])return;await Il11iIl1[ill1lil1(0x35d)](receive_prize);}else{if(Il11iIl1[ill1lil1(0x227)](Il11iIl1[ill1lil1(0x20a)],Il11iIl1[ill1lil1(0x319)])){if(Il11iIl1[ill1lil1(0x271)](typeof lll1I1l1,Il11iIl1[ill1lil1(0x3f5)]))try{return IIiiIlil[ill1lil1(0x3c2)](IIiIiIl);}catch(ii11iiIl){return lIilli1i[ill1lil1(0x2e2)](ii11iiIl),iilI1l1i[ill1lil1(0x223)](i1IlIlI[ill1lil1(0x291)],'',Il11iIl1[ill1lil1(0x243)]),[];}}else console[ill1lil1(0x2e2)](Il11iIl1[ill1lil1(0x3b2)](Il11iIl1[ill1lil1(0x3b2)](Il11iIl1[ill1lil1(0x3bd)],$[ill1lil1(0x341)]),Il11iIl1[ill1lil1(0x2bd)]));}}function jd_store_user_info(){const IlI1iIii=lI11llll,iII11ii={'aqzIX':function(I1IIIiiI,lIliill1){return I1IIIiiI===lIliill1;},'YrMtU':IlI1iIii(0x2ad),'JCbjK':function(l1ill1l,liIi1il1){return l1ill1l===liIi1il1;},'MEpsN':IlI1iIii(0x212),'DiRDC':function(iilIillI,liiI1lil){return iilIillI+liiI1lil;},'tABxN':function(I1i1iI1l,lilliiI1){return I1i1iI1l+lilliiI1;},'TuvPd':IlI1iIii(0x224),'seDUA':IlI1iIii(0x346),'IpNgp':function(i11i111l,lill1Ii){return i11i111l==lill1Ii;},'tYeVC':function(ll1lil11,iIIlii11){return ll1lil11!==iIIlii11;},'mGFNL':IlI1iIii(0x366),'qBbbH':function(i1llilii,Il1l111I){return i1llilii(Il1l111I);},'CpNDm':function(lIilii1){return lIilii1();},'OVtac':function(Il1ill1i,I1iIIlll){return Il1ill1i||I1iIIlll;},'bvdlW':IlI1iIii(0x325),'aWVHn':function(i1iIiIi1,l111IlI1){return i1iIiIi1<l111IlI1;},'VbCQC':function(l1i1Ii1,iIli1){return l1i1Ii1*iIli1;},'pXFcE':function(llIllII,iiliI,iIliil){return llIllII(iiliI,iIliil);},'Ydzqx':IlI1iIii(0x1fd)};return new Promise(IIiI1iil=>{const II1I1lII=IlI1iIii,ilI1IlI1={'qMAlY':function(i11II1l1,iiiiIilI){const I1I1i1ll=lililll1;return iII11ii[I1I1i1ll(0x256)](i11II1l1,iiiiIilI);},'igFEF':iII11ii[II1I1lII(0x3dd)],'OKuSA':function(lIlili1i,IiiII111){const llllllI=II1I1lII;return iII11ii[llllllI(0x1f2)](lIlili1i,IiiII111);},'PIjbh':function(Ilil1i11,Ii1iIII){const ilIlIl1i=II1I1lII;return iII11ii[ilIlIl1i(0x2b4)](Ilil1i11,Ii1iIII);}};let i111I1l1=II1I1lII(0x3c6)+$[II1I1lII(0x37c)];$[II1I1lII(0x2c9)](iII11ii[II1I1lII(0x371)](taskPostUrl,iII11ii[II1I1lII(0x3f1)],i111I1l1),async(IiI1liIl,ii1li1ll,li1I1l1i)=>{const lIIll1I1=II1I1lII;try{if(iII11ii[lIIll1I1(0x283)](iII11ii[lIIll1I1(0x2e9)],iII11ii[lIIll1I1(0x2e9)])){if(IiI1liIl){if(iII11ii[lIIll1I1(0x30b)](iII11ii[lIIll1I1(0x2d2)],iII11ii[lIIll1I1(0x2d2)]))console[lIIll1I1(0x2e2)](iII11ii[lIIll1I1(0x20e)]('',JSON[lIIll1I1(0x24d)](IiI1liIl))),console[lIIll1I1(0x2e2)](iII11ii[lIIll1I1(0x32c)]($[lIIll1I1(0x291)],iII11ii[lIIll1I1(0x26f)]));else{ill1iIil=ilI1IlI1[lIIll1I1(0x1f3)](liilII,0x20);let il1iII1I=ilI1IlI1[lIIll1I1(0x3a7)],i1III111=il1iII1I[lIIll1I1(0x3c3)],iIIi1llI='';for(lIII1IIi=0x0;ilI1IlI1[lIIll1I1(0x3e5)](iiiIiiI,iI1ll1I);iilli1I++)iIIi1llI+=il1iII1I[lIIll1I1(0x3d8)](l1IIlili[lIIll1I1(0x386)](ilI1IlI1[lIIll1I1(0x2bb)](I1IIllll[lIIll1I1(0x231)](),i1III111)));return iIIi1llI;}}else{li1I1l1i=JSON[lIIll1I1(0x3c2)](li1I1l1i);if(li1I1l1i&&iII11ii[lIIll1I1(0x283)](li1I1l1i[lIIll1I1(0x2e0)],iII11ii[lIIll1I1(0x3bf)])){}else console[lIIll1I1(0x2e2)](lIIll1I1(0x3fd)+li1I1l1i[lIIll1I1(0x223)]),$[lIIll1I1(0x3c7)]=!![];iII11ii[lIIll1I1(0x36b)](ii1li1ll[lIIll1I1(0x33c)],0xc8)&&(iII11ii[lIIll1I1(0x301)](iII11ii[lIIll1I1(0x389)],iII11ii[lIIll1I1(0x389)])?iI111I1I[lIIll1I1(0x2e2)](lIIll1I1(0x343)+I11Il11I[lIIll1I1(0x3ca)]+lilIillI[lIIll1I1(0x210)]+ii1i11iI[lIIll1I1(0x20c)]):iII11ii[lIIll1I1(0x365)](refreshToken,ii1li1ll));}}else ii1IiIiI[lIIll1I1(0x27f)]=ill1iili[lIIll1I1(0x370)][lIIll1I1(0x357)][0x0][lIIll1I1(0x2ea)][lIIll1I1(0x209)];}catch(il1l1ll1){$[lIIll1I1(0x295)](il1l1ll1,ii1li1ll);}finally{iII11ii[lIIll1I1(0x25c)](IIiI1iil);}});});}function receive_prize(){const ll11liII=lI11llll,ll1li1I1={'EFOdj':ll11liII(0x3c1),'xhpwu':function(I11I111i){return I11I111i();},'sYWRM':ll11liII(0x28c),'LcLIu':function(il1I1iiI,iilli1li){return il1I1iiI!==iilli1li;},'ARTyO':ll11liII(0x362),'vqnuB':function(ii1lI1I,i1IIl11i){return ii1lI1I+i1IIl11i;},'CiMEB':ll11liII(0x36d),'HQOit':function(lliII1I,IlIllili){return lliII1I===IlIllili;},'zgZoV':ll11liII(0x346),'WVgwr':ll11liII(0x299),'XFUGp':ll11liII(0x1fe),'sDyZt':ll11liII(0x392),'yuIjH':ll11liII(0x3ac),'BWsiF':function(lIiI1Il,IlIll1Ii){return lIiI1Il+IlIll1Ii;},'cRgKC':ll11liII(0x2b8),'sLvRs':ll11liII(0x2db),'EedRz':ll11liII(0x369),'WapBW':ll11liII(0x218),'UwFid':function(Iliilll1,iIIiIII1){return Iliilll1+iIIiIII1;},'wOfsQ':ll11liII(0x37f),'BwnjO':ll11liII(0x23c),'daNNg':ll11liII(0x2a3),'pqfWA':function(I1lliIlI,IlI1lII){return I1lliIlI==IlI1lII;},'tVCnr':function(Ill1l1i1,liIi1iIi){return Ill1l1i1(liIi1iIi);},'SMCPS':function(IiI1lil,IIlIllI1){return IiI1lil===IIlIllI1;},'SGNqM':ll11liII(0x2d9),'hviSQ':ll11liII(0x352),'YXOnl':function(iIlil1l,lIi1l1i,llIiilli){return iIlil1l(lIi1l1i,llIiilli);},'qzqXB':ll11liII(0x1f8)};return new Promise(IIllilI=>{const Il11l1iI=ll11liII,IllilIIi={'IoUpM':ll1li1I1[Il11l1iI(0x2f6)],'WJKaK':function(Ii11I1Il){const iIli1Il1=Il11l1iI;return ll1li1I1[iIli1Il1(0x266)](Ii11I1Il);},'kLLgd':ll1li1I1[Il11l1iI(0x296)],'cYWxP':function(iIi11IIi,lIlllIli){const I111Il11=Il11l1iI;return ll1li1I1[I111Il11(0x278)](iIi11IIi,lIlllIli);},'eibek':ll1li1I1[Il11l1iI(0x379)],'xFPJw':function(llIlill,IIlIiIlI){const iliIlll=Il11l1iI;return ll1li1I1[iliIlll(0x34a)](llIlill,IIlIiIlI);},'rJgSe':ll1li1I1[Il11l1iI(0x3d3)],'YzQIq':function(IilIii,IlliIlIi){const II111Il=Il11l1iI;return ll1li1I1[II111Il(0x309)](IilIii,IlliIlIi);},'locFP':ll1li1I1[Il11l1iI(0x35a)],'CGWmt':function(IlII1il,I1IiiliI){const liI1i1ll=Il11l1iI;return ll1li1I1[liI1i1ll(0x278)](IlII1il,I1IiiliI);},'tyMEg':ll1li1I1[Il11l1iI(0x22b)],'hvFSH':ll1li1I1[Il11l1iI(0x3b1)],'bwVQR':ll1li1I1[Il11l1iI(0x336)],'ovmIv':ll1li1I1[Il11l1iI(0x322)],'bESQS':function(iI1i1l1i,lIlii11l){const i11iIIIl=Il11l1iI;return ll1li1I1[i11iIIIl(0x2a5)](iI1i1l1i,lIlii11l);},'rFnXH':function(lI1il1lI,iIIi11Ii){const I11IIili=Il11l1iI;return ll1li1I1[I11IIili(0x2a5)](lI1il1lI,iIIi11Ii);},'CSkNu':ll1li1I1[Il11l1iI(0x3a9)],'FUEGK':ll1li1I1[Il11l1iI(0x229)],'OoGws':ll1li1I1[Il11l1iI(0x2b5)],'PzDyE':ll1li1I1[Il11l1iI(0x27a)],'uRHGw':function(Ilii11iI,l1i1iiI){const IlliliI1=Il11l1iI;return ll1li1I1[IlliliI1(0x32f)](Ilii11iI,l1i1iiI);},'eqGME':ll1li1I1[Il11l1iI(0x2a0)],'SHYIy':ll1li1I1[Il11l1iI(0x314)],'orwBm':ll1li1I1[Il11l1iI(0x289)],'czric':function(iiIiiIl,lIII1lil){const Il1ili1I=Il11l1iI;return ll1li1I1[Il1ili1I(0x2ac)](iiIiiIl,lIII1lil);},'NbzzH':function(iIii11li,i1lIiil){const ii1lII=Il11l1iI;return ll1li1I1[ii1lII(0x239)](iIii11li,i1lIiil);},'hpJKG':function(iIiiIi1l,iI1lI11i){const iiII1l1=Il11l1iI;return ll1li1I1[iiII1l1(0x3d5)](iIiiIi1l,iI1lI11i);},'Gktpx':ll1li1I1[Il11l1iI(0x368)],'TaXEP':ll1li1I1[Il11l1iI(0x33e)],'SrBNp':function(I11liiIi){const i1iiI11=Il11l1iI;return ll1li1I1[i1iiI11(0x266)](I11liiIi);}};let II1Ii1i=Il11l1iI(0x2ec)+activityId;$[Il11l1iI(0x2c9)](ll1li1I1[Il11l1iI(0x2ca)](taskPostUrl,ll1li1I1[Il11l1iI(0x2f0)],II1Ii1i),async(li1illi,l1IliII1,lii1llil)=>{const IIIl1I11=Il11l1iI,lI1iI1ii={'pbgTo':function(i1lIlI1l){const liIi1Il1=lililll1;return IllilIIi[liIi1Il1(0x217)](i1lIlI1l);},'IbSSj':IllilIIi[IIIl1I11(0x3d4)]};try{if(IllilIIi[IIIl1I11(0x39c)](IllilIIi[IIIl1I11(0x2b6)],IllilIIi[IIIl1I11(0x2b6)])){li1ilI1l[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x382)]);return;}else{if(li1illi)console[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x3c4)]('',JSON[IIIl1I11(0x24d)](li1illi))),console[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x3c4)]($[IIIl1I11(0x291)],IllilIIi[IIIl1I11(0x1f1)]));else{lii1llil=JSON[IIIl1I11(0x3c2)](lii1llil);if(lii1llil&&IllilIIi[IIIl1I11(0x232)](lii1llil[IIIl1I11(0x2e0)],IllilIIi[IIIl1I11(0x275)])){if(lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)]){if(IllilIIi[IIIl1I11(0x3a2)](IllilIIi[IIIl1I11(0x3ad)],IllilIIi[IIIl1I11(0x2aa)]))switch(lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x260)]){case IllilIIi[IIIl1I11(0x247)]:console[IIIl1I11(0x2e2)](IIIl1I11(0x215));break;case IllilIIi[IIIl1I11(0x3ec)]:console[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x2c3)](IllilIIi[IIIl1I11(0x3e9)](IIIl1I11(0x33a),lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x270)]),IllilIIi[IIIl1I11(0x3b5)]));break;case IllilIIi[IIIl1I11(0x3ea)]:console[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x3c4)](IllilIIi[IIIl1I11(0x3c4)](IIIl1I11(0x330),lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x270)]||lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x3eb)]),IllilIIi[IIIl1I11(0x3c0)]));break;case IllilIIi[IIIl1I11(0x35c)]:console[IIIl1I11(0x2e2)](IllilIIi[IIIl1I11(0x32e)](IIIl1I11(0x21a),lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x277)]));break;default:console[IIIl1I11(0x2e2)](lii1llil[IIIl1I11(0x223)]);break;}else lI1iI1ii[IIIl1I11(0x318)](llIIili1);}else console[IIIl1I11(0x2e2)](IIIl1I11(0x28e)+lii1llil[IIIl1I11(0x3e4)][IIIl1I11(0x270)][IIIl1I11(0x260)]);}else{console[IIIl1I11(0x2e2)](IIIl1I11(0x3f3)+lii1llil[IIIl1I11(0x223)]),li1illi=lii1llil[IIIl1I11(0x223)];for(let IiII1l11 of['不足',IllilIIi[IIIl1I11(0x39b)],'火爆','上限',IllilIIi[IIIl1I11(0x241)],IllilIIi[IIIl1I11(0x38d)]]){if(li1illi[IIIl1I11(0x269)](IiII1l11)){$[IIIl1I11(0x236)]=!![];break;}}}IllilIIi[IIIl1I11(0x281)](l1IliII1[IIIl1I11(0x33c)],0xc8)&&IllilIIi[IIIl1I11(0x3fc)](refreshToken,l1IliII1);}}}catch(ll1lIi1i){if(IllilIIi[IIIl1I11(0x3f6)](IllilIIi[IIIl1I11(0x2bc)],IllilIIi[IIIl1I11(0x308)])){let I1llilI1=i1Ii111I[IIIl1I11(0x378)](/(活动已结束)/)&&l11lIIll[IIIl1I11(0x378)](/(活动已结束)/)[0x1]||IiIII1iI[IIIl1I11(0x378)](/(哎哟,当前活动尚未开始噢!)/)&&lIill1II[IIIl1I11(0x378)](/(哎哟,当前活动尚未开始噢!)/)[0x1]||'';I1llilI1&&(lIll1IlI[IIIl1I11(0x3d7)]=!![],IIiii1ii[IIIl1I11(0x2e2)](lI1iI1ii[IIIl1I11(0x305)]));}else $[IIIl1I11(0x295)](ll1lIi1i,l1IliII1);}finally{IllilIIi[IIIl1I11(0x257)](IIllilI);}});});}function collect_shopx(){const ilI11Ill=lI11llll,iIi1i1={'jcNXg':function(lilI1iii,IlilI1Ii){return lilI1iii+IlilI1Ii;},'LRKor':function(iIl1IilI,il1Il1lI){return iIl1IilI+il1Il1lI;},'pyQjh':ilI11Ill(0x338),'VToHq':function(I1l1IIii,II1iIII){return I1l1IIii===II1iIII;},'zmbUy':ilI11Ill(0x221),'GGoqv':ilI11Ill(0x376),'cxPvx':function(lIiIilii,I1liIi11){return lIiIilii!==I1liIi11;},'rKMXx':ilI11Ill(0x2eb),'BElPa':ilI11Ill(0x261),'KtpPZ':ilI11Ill(0x28c),'MYxuw':function(liliI11){return liliI11();},'COTMz':function(iiiiI1l1,lIl1l1iI){return iiiiI1l1==lIl1l1iI;},'JMles':ilI11Ill(0x391),'FDIhN':ilI11Ill(0x3ed),'jWvKS':ilI11Ill(0x31f),'RqfyY':ilI11Ill(0x324)};return new Promise(IlllIli=>{const li1I11Ii=ilI11Ill,lIiIi1={'ObOkL':function(l1liIi1I,l11lIIII){const i1ii11lI=lililll1;return iIi1i1[i1ii11lI(0x274)](l1liIi1I,l11lIIII);},'NmmbH':function(iiIllI1l){const I1Il1llI=lililll1;return iIi1i1[I1Il1llI(0x380)](iiIllI1l);}},liilIllI={'url':domains+li1I11Ii(0x307)+activityId+li1I11Ii(0x2ee)+$[li1I11Ii(0x37c)],'headers':{'Accept':iIi1i1[li1I11Ii(0x2cd)],'Accept-Encoding':iIi1i1[li1I11Ii(0x2fd)],'Accept-Language':iIi1i1[li1I11Ii(0x2e6)],'Connection':iIi1i1[li1I11Ii(0x32b)],'Cookie':cookie,'Host':$[li1I11Ii(0x206)],'Referer':activityUrl,'User-Agent':$['UA']}};$[li1I11Ii(0x398)](liilIllI,async(IIl1iiIl,IillII1I,i1liIiIl)=>{const I1III1iI=li1I11Ii;try{if(IIl1iiIl)console[I1III1iI(0x2e2)](iIi1i1[I1III1iI(0x228)]('',JSON[I1III1iI(0x24d)](IIl1iiIl))),console[I1III1iI(0x2e2)](iIi1i1[I1III1iI(0x3ab)]($[I1III1iI(0x291)],iIi1i1[I1III1iI(0x388)]));else{if(iIi1i1[I1III1iI(0x377)](iIi1i1[I1III1iI(0x348)],iIi1i1[I1III1iI(0x2ed)]))ilII11I&&lIiIi1[I1III1iI(0x2c4)](IlIl1il1[I1III1iI(0x346)],!![])&&(II1ilII1[I1III1iI(0x2e2)](I1III1iI(0x29a)+(IIlIl11i[I1III1iI(0x370)][I1III1iI(0x36a)][I1III1iI(0x2d0)]||'')),I11iilll[I1III1iI(0x3f7)]=iIIIlill[I1III1iI(0x370)][I1III1iI(0x357)]&&l1i1lilI[I1III1iI(0x370)][I1III1iI(0x357)][0x0]&&i11lIIli[I1III1iI(0x370)][I1III1iI(0x357)][0x0][I1III1iI(0x2ea)]&&l11llill[I1III1iI(0x370)][I1III1iI(0x357)][0x0][I1III1iI(0x2ea)][I1III1iI(0x209)]||'');else{i1liIiIl=i1liIiIl;if(i1liIiIl){let liI1lII=i1liIiIl[I1III1iI(0x378)](/(活动已结束)/)&&i1liIiIl[I1III1iI(0x378)](/(活动已结束)/)[0x1]||i1liIiIl[I1III1iI(0x378)](/(哎哟,当前活动尚未开始噢!)/)&&i1liIiIl[I1III1iI(0x378)](/(哎哟,当前活动尚未开始噢!)/)[0x1]||'';liI1lII&&(iIi1i1[I1III1iI(0x2e5)](iIi1i1[I1III1iI(0x323)],iIi1i1[I1III1iI(0x38b)])?($[I1III1iI(0x3d7)]=!![],console[I1III1iI(0x2e2)](iIi1i1[I1III1iI(0x250)])):lIiIi1[I1III1iI(0x31d)](illIi1l1));}}}}catch(IIill11i){$[I1III1iI(0x295)](IIill11i,IillII1I);}finally{iIi1i1[I1III1iI(0x380)](IlllIli);}});});}function getShopOpenCardInfo(i111li1I){const li11III=lI11llll,iIIIiill={'SdDGc':function(ili1Ii,l1IIlIl1){return ili1Ii==l1IIlIl1;},'ZIZwP':li11III(0x34d),'EQaHZ':function(Iil1I1l1){return Iil1I1l1();},'CsWrU':function(iiIIlI1I,II11Ill1){return iiIIlI1I===II11Ill1;},'leSLj':li11III(0x2dc),'edVUQ':function(IIl1Iii,lliiiili){return IIl1Iii!==lliiiili;},'zcoNs':li11III(0x39f),'exckj':li11III(0x3f0),'oCOLG':function(iI1iI1l1,II1l1ilI){return iI1iI1l1(II1l1ilI);},'xIipb':li11III(0x3cb),'OOfKm':function(Iii1IiII,IIlIIlli){return Iii1IiII+IIlIIlli;},'OgJUh':li11III(0x2b7),'WZQqJ':li11III(0x3ed),'ryhJt':li11III(0x31f),'yGDsh':li11III(0x324),'lmdqx':li11III(0x1ee),'bHaCA':li11III(0x26c),'iNavL':function(illI1lIi,lliII1i){return illI1lIi+lliII1i;},'iKVYG':li11III(0x32d),'bxGfI':function(I1Iilil1,iIl1IiIi){return I1Iilil1(iIl1IiIi);},'QJQsp':li11III(0x2fa),'cDMJT':li11III(0x200),'MGOJJ':li11III(0x311),'ANKon':function(lIIl1111,I1ii1111){return lIIl1111+I1ii1111;},'PwCpB':li11III(0x26b),'YHwuI':li11III(0x249)};let liIiI11i={'url':iIIIiill[li11III(0x273)](iIIIiill[li11III(0x36e)](iIIIiill[li11III(0x38f)],iIIIiill[li11III(0x2a6)](encodeURIComponent,JSON[li11III(0x24d)](i111li1I))),iIIIiill[li11III(0x2cb)]),'headers':{'Host':iIIIiill[li11III(0x3bc)],'Accept':iIIIiill[li11III(0x3e8)],'Connection':iIIIiill[li11III(0x2fc)],'Cookie':cookie,'User-Agent':$['UA'],'Referer':iIIIiill[li11III(0x273)](iIIIiill[li11III(0x2c2)](iIIIiill[li11III(0x36e)](iIIIiill[li11III(0x21f)],$[li11III(0x225)]),iIIIiill[li11III(0x312)]),iIIIiill[li11III(0x306)](encodeURIComponent,activityUrl)),'Accept-Encoding':iIIIiill[li11III(0x333)]}};return new Promise(i1ii1llI=>{const lliI11Ii=li11III,llllIl1={'NCUmO':function(ilIlIli1,I11ii1i1){const iIIl11I1=lililll1;return iIIIiill[iIIl11I1(0x273)](ilIlIli1,I11ii1i1);},'EcHFO':iIIIiill[lliI11Ii(0x37e)],'CvITa':iIIIiill[lliI11Ii(0x333)],'wqhbO':iIIIiill[lliI11Ii(0x3e3)],'OeCgU':iIIIiill[lliI11Ii(0x2fc)],'prfuX':iIIIiill[lliI11Ii(0x3da)]};if(iIIIiill[lliI11Ii(0x2e4)](iIIIiill[lliI11Ii(0x21d)],iIIIiill[lliI11Ii(0x21d)]))try{if(iIIIiill[lliI11Ii(0x237)](typeof l1llilI[lliI11Ii(0x3c2)](lIl1liII),iIIIiill[lliI11Ii(0x393)]))return!![];}catch(I11i1iI){return il1ill1l[lliI11Ii(0x2e2)](I11i1iI),IllliIlI[lliI11Ii(0x2e2)](lliI11Ii(0x242)),![];}else $[lliI11Ii(0x398)](liIiI11i,(li1I1i1l,i1I1II1i,IlIllIIl)=>{const lil1iIiI=lliI11Ii,IiliIIi1={'AyEHn':function(lil1iI){const l111111i=lililll1;return iIIIiill[l111111i(0x360)](lil1iI);}};try{if(li1I1i1l){if(iIIIiill[lil1iIiI(0x24c)](li1I1i1l,iIIIiill[lil1iIiI(0x1f0)])){if(iIIIiill[lil1iIiI(0x2e4)](iIIIiill[lil1iIiI(0x2be)],iIIIiill[lil1iIiI(0x3ff)]))$[lil1iIiI(0x327)]=!![],console[lil1iIiI(0x2e2)](iIIIiill[lil1iIiI(0x306)](String,li1I1i1l));else return{'url':llllIl1[lil1iIiI(0x3f2)](llllIl1[lil1iIiI(0x3f2)]('',IlliI1il),iI1lliil),'body':iI1li1l1,'headers':{'Accept':llllIl1[lil1iIiI(0x248)],'Accept-Encoding':llllIl1[lil1iIiI(0x25f)],'Accept-Language':llllIl1[lil1iIiI(0x3d6)],'Connection':llllIl1[lil1iIiI(0x2b3)],'Content-Type':llllIl1[lil1iIiI(0x230)],'Cookie':iIlllI1l,'Host':iiiIIiii[lil1iIiI(0x206)],'Origin':iIil1II1,'Referer':IiiiI1ll,'User-Agent':I1iIIlii['UA']}};}}else res=JSON[lil1iIiI(0x3c2)](IlIllIIl),res[lil1iIiI(0x346)]&&($[lil1iIiI(0x23e)]=res[lil1iIiI(0x370)][lil1iIiI(0x3c9)][lil1iIiI(0x23e)],res[lil1iIiI(0x370)][lil1iIiI(0x357)]&&($[lil1iIiI(0x27f)]=res[lil1iIiI(0x370)][lil1iIiI(0x357)][0x0][lil1iIiI(0x2ea)][lil1iIiI(0x209)]));}catch(i1llIIll){iIIIiill[lil1iIiI(0x24c)](iIIIiill[lil1iIiI(0x2fb)],iIIIiill[lil1iIiI(0x2fb)])?console[lil1iIiI(0x2e2)](i1llIIll):(IiliIIi1[lil1iIiI(0x2b1)](IiilIII1),ii1I1IIl[lil1iIiI(0x2c1)]());}finally{iIIIiill[lil1iIiI(0x360)](i1ii1llI);}});});}function taskPostUrl(iI1iiil,I1111I){const I11iIil=lI11llll,II11i1i1={'DPAAt':function(lIlii1il,IIIiiiil){return lIlii1il+IIIiiiil;},'gqEJR':function(ilIIi1II,iiIl1ll){return ilIIi1II+iiIl1ll;},'MWFie':I11iIil(0x2b7),'aialp':I11iIil(0x3ed),'UfZix':I11iIil(0x31f),'vhSuc':I11iIil(0x324),'FLtSm':I11iIil(0x1ee)};return{'url':II11i1i1[I11iIil(0x3bb)](II11i1i1[I11iIil(0x335)]('',domains),iI1iiil),'body':I1111I,'headers':{'Accept':II11i1i1[I11iIil(0x2f8)],'Accept-Encoding':II11i1i1[I11iIil(0x316)],'Accept-Language':II11i1i1[I11iIil(0x361)],'Connection':II11i1i1[I11iIil(0x3ef)],'Content-Type':II11i1i1[I11iIil(0x23f)],'Cookie':cookie,'Host':$[I11iIil(0x206)],'Origin':domains,'Referer':activityUrl,'User-Agent':$['UA']}};}function refreshToken(i1IlIl1I){const liii1Iii=lI11llll,IllIiii1={'gGLVJ':liii1Iii(0x2a2),'hIpgC':liii1Iii(0x2c6),'xfQtp':function(lii1iliI,iillilI){return lii1iliI!==iillilI;},'GfdZO':liii1Iii(0x220),'PFGNZ':liii1Iii(0x2bf),'huRit':liii1Iii(0x3b6),'GQCjg':function(l1l1iiil,iiiill11){return l1l1iiil+iiiill11;},'DRDWs':function(iI1III1I,I1ll1liI){return iI1III1I+I1ll1liI;}};if(i1IlIl1I){if(IllIiii1[liii1Iii(0x1f5)](IllIiii1[liii1Iii(0x373)],IllIiii1[liii1Iii(0x373)])){illl1iIl[liii1Iii(0x223)](Ii11iIi[liii1Iii(0x291)],IllIiii1[liii1Iii(0x28b)],IllIiii1[liii1Iii(0x27d)],{'open-url':IllIiii1[liii1Iii(0x27d)]});return;}else{if(i1IlIl1I[IllIiii1[liii1Iii(0x3d1)]][IllIiii1[liii1Iii(0x387)]]){cookie='';for(let IIill111 of i1IlIl1I[IllIiii1[liii1Iii(0x3d1)]][IllIiii1[liii1Iii(0x387)]]){lz_cookie[IIill111[liii1Iii(0x2d1)](';')[0x0][liii1Iii(0x317)](0x0,IIill111[liii1Iii(0x2d1)](';')[0x0][liii1Iii(0x22f)]('='))]=IIill111[liii1Iii(0x2d1)](';')[0x0][liii1Iii(0x317)](IllIiii1[liii1Iii(0x252)](IIill111[liii1Iii(0x2d1)](';')[0x0][liii1Iii(0x22f)]('='),0x1));}for(const l1I1I1iI of Object[liii1Iii(0x1ed)](lz_cookie)){cookie+=IllIiii1[liii1Iii(0x3fa)](IllIiii1[liii1Iii(0x3fa)](IllIiii1[liii1Iii(0x3fa)](l1I1I1iI,'='),lz_cookie[l1I1I1iI]),';');}activityCookie=cookie;}}}}function getUA(){const il1il1ll=lI11llll,IIliIl11={'wAKkc':function(ili1iI1I,llll1Il1){return ili1iI1I(llll1Il1);}};$['UA']=il1il1ll(0x3fb)+IIliIl11[il1il1ll(0x285)](randomString,0x28)+il1il1ll(0x245);}function randomString(lIlIiIii){const i1IiI111=lI11llll,l1llI1Ii={'ZqQQq':function(l1IIilII,IIiIIi1l){return l1IIilII||IIiIIi1l;},'GMJXt':i1IiI111(0x325),'SqaRi':function(iil1I1Ii,Ii1Iil1I){return iil1I1Ii<Ii1Iil1I;},'ClBjP':function(lil1i1li,iI1l1Iii){return lil1i1li*iI1l1Iii;}};lIlIiIii=l1llI1Ii[i1IiI111(0x22e)](lIlIiIii,0x20);let iiIil11=l1llI1Ii[i1IiI111(0x345)],I11li1Il=iiIil11[i1IiI111(0x3c3)],i1II1IIl='';for(i=0x0;l1llI1Ii[i1IiI111(0x3b3)](i,lIlIiIii);i++)i1II1IIl+=iiIil11[i1IiI111(0x3d8)](Math[i1IiI111(0x386)](l1llI1Ii[i1IiI111(0x401)](Math[i1IiI111(0x231)](),I11li1Il)));return i1II1IIl;}function lililll1(_0x258737,_0x26b9f5){const _0x48e1bd=IIilIi1i();return lililll1=function(_0x4cfbee,_0x301d2c){_0x4cfbee=_0x4cfbee-0x1ed;let _0x5393e2=_0x48e1bd[_0x4cfbee];if(lililll1['YeLBHO']===undefined){var _0x117302=function(_0x5921b9){const _0x3bd7ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34cd3f='',_0x307b82='';for(let _0x27074c=0x0,_0x443cb3,_0x1b252,_0x3c0edf=0x0;_0x1b252=_0x5921b9['charAt'](_0x3c0edf++);~_0x1b252&&(_0x443cb3=_0x27074c%0x4?_0x443cb3*0x40+_0x1b252:_0x1b252,_0x27074c++%0x4)?_0x34cd3f+=String['fromCharCode'](0xff&_0x443cb3>>(-0x2*_0x27074c&0x6)):0x0){_0x1b252=_0x3bd7ae['indexOf'](_0x1b252);}for(let _0x39f8b7=0x0,_0x55ce3b=_0x34cd3f['length'];_0x39f8b7<_0x55ce3b;_0x39f8b7++){_0x307b82+='%'+('00'+_0x34cd3f['charCodeAt'](_0x39f8b7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x307b82);};lililll1['zWQxSd']=_0x117302,_0x258737=arguments,lililll1['YeLBHO']=!![];}const _0x8039d4=_0x48e1bd[0x0],_0x44c82e=_0x4cfbee+_0x8039d4,_0x46c156=_0x258737[_0x44c82e];return!_0x46c156?(_0x5393e2=lililll1['zWQxSd'](_0x5393e2),_0x258737[_0x44c82e]=_0x5393e2):_0x5393e2=_0x46c156,_0x5393e2;},lililll1(_0x258737,_0x26b9f5);}function safeGet(ilIillli){const iIi1IIl1=lI11llll,IiliIII={'ZDRkX':function(IIIlli1I,llii1i1){return IIIlli1I+llii1i1;},'BGXUv':iIi1IIl1(0x224),'vhLNz':function(iI1IiIl1,iI1Iill1){return iI1IiIl1==iI1Iill1;},'yZhcA':iIi1IIl1(0x34d),'jreQF':function(l1li1I,ilI1i1ii){return l1li1I==ilI1i1ii;},'mhklY':function(l1llli1I,Ii1i1II){return l1llli1I(Ii1i1II);},'pBWCI':function(liIi1ii,lli11li1){return liIi1ii!==lli11li1;},'kksgx':iIi1IIl1(0x2ab),'CGHyD':iIi1IIl1(0x367),'Pchvw':function(lI1l11,liII1ilI){return lI1l11==liII1ilI;},'vhwxY':function(Ii1liIl,IIIl1ill){return Ii1liIl===IIIl1ill;},'ztSZS':iIi1IIl1(0x27e),'wnQQz':iIi1IIl1(0x3e7)};try{if(IiliIII[iIi1IIl1(0x3be)](IiliIII[iIi1IIl1(0x267)],IiliIII[iIi1IIl1(0x381)])){if(IiliIII[iIi1IIl1(0x26d)](typeof JSON[iIi1IIl1(0x3c2)](ilIillli),IiliIII[iIi1IIl1(0x3d2)])){if(IiliIII[iIi1IIl1(0x297)](IiliIII[iIi1IIl1(0x2f1)],IiliIII[iIi1IIl1(0x2f1)]))return!![];else lilIlI1l[iIi1IIl1(0x2e2)](IiliIII[iIi1IIl1(0x28d)]('',liiii11I[iIi1IIl1(0x24d)](iI1illil))),l11illll[iIi1IIl1(0x2e2)](IiliIII[iIi1IIl1(0x28d)](i1ii1lIl[iIi1IIl1(0x291)],IiliIII[iIi1IIl1(0x342)]));}}else{I111iii=IIi1III1&&IlilII11[iIi1IIl1(0x378)](/jsonp_.*?\((.*?)\);/)&&ii1llI11[iIi1IIl1(0x378)](/jsonp_.*?\((.*?)\);/)[0x1]||l1I1II1i;let I11llIIl=illii1Il[iIi1IIl1(0x32a)](i111II1I,IlIlllll);I11llIIl&&IiliIII[iIi1IIl1(0x211)](typeof I11llIIl,IiliIII[iIi1IIl1(0x3d2)])?I11llIIl&&IiliIII[iIi1IIl1(0x2a7)](I11llIIl[iIi1IIl1(0x346)],!![])&&(iIl1iIil[iIi1IIl1(0x2e2)](iIi1IIl1(0x29a)+(I11llIIl[iIi1IIl1(0x370)][iIi1IIl1(0x36a)][iIi1IIl1(0x2d0)]||'')),iIiiiIi[iIi1IIl1(0x3f7)]=I11llIIl[iIi1IIl1(0x370)][iIi1IIl1(0x357)]&&I11llIIl[iIi1IIl1(0x370)][iIi1IIl1(0x357)][0x0]&&I11llIIl[iIi1IIl1(0x370)][iIi1IIl1(0x357)][0x0][iIi1IIl1(0x2ea)]&&I11llIIl[iIi1IIl1(0x370)][iIi1IIl1(0x357)][0x0][iIi1IIl1(0x2ea)][iIi1IIl1(0x209)]||''):illi111i[iIi1IIl1(0x2e2)](lIIilII1);}}catch(I1i1lI1I){return IiliIII[iIi1IIl1(0x297)](IiliIII[iIi1IIl1(0x208)],IiliIII[iIi1IIl1(0x208)])?(console[iIi1IIl1(0x2e2)](I1i1lI1I),console[iIi1IIl1(0x2e2)](iIi1IIl1(0x242)),![]):IiliIII[iIi1IIl1(0x33d)](IlI1i1i1,lI11l1i1[0x2]);}}function jsonParse(iliiiIii){const lIIiil1l=lI11llll,iIiill1={'jrjtY':function(lilIlIlI,l1lllilI){return lilIlIlI==l1lllilI;},'FDuHv':lIIiil1l(0x35f),'uypDU':function(lllI1ill,Iil11I1){return lllI1ill!==Iil11I1;},'rRsPS':lIIiil1l(0x2c7),'aEjPV':lIIiil1l(0x2cf),'oSUnq':lIIiil1l(0x2de)};if(iIiill1[lIIiil1l(0x31b)](typeof iliiiIii,iIiill1[lIIiil1l(0x24f)]))try{return JSON[lIIiil1l(0x3c2)](iliiiIii);}catch(Il11lII1){if(iIiill1[lIIiil1l(0x2ae)](iIiill1[lIIiil1l(0x3b8)],iIiill1[lIIiil1l(0x34f)]))return console[lIIiil1l(0x2e2)](Il11lII1),$[lIIiil1l(0x223)]($[lIIiil1l(0x291)],'',iIiill1[lIIiil1l(0x29b)]),[];else llll1lI[lIIiil1l(0x2e2)](lll1ii);}}function getQueryString(i1111I1l,i1IIlilI){const liiIIlI=lI11llll,iiI1illI={'cmaLP':function(lIIlIIil,il1II1i){return lIIlIIil+il1II1i;},'zAXOi':liiIIlI(0x240),'SIdak':liiIIlI(0x258),'dukMz':function(lI11iil,il1Illll){return lI11iil!=il1Illll;},'zacXt':function(iilI1Il1,II11lil1){return iilI1Il1===II11lil1;},'PLCJM':liiIIlI(0x3e0),'hYGun':function(ll1IIlIl,illl11iI){return ll1IIlIl(illl11iI);}};let l1lll1ll=new RegExp(iiI1illI[liiIIlI(0x2a1)](iiI1illI[liiIIlI(0x2a1)](iiI1illI[liiIIlI(0x28f)],i1IIlilI),iiI1illI[liiIIlI(0x3ae)])),iilliI1=i1111I1l[liiIIlI(0x378)](l1lll1ll);if(iiI1illI[liiIIlI(0x2d3)](iilliI1,null)){if(iiI1illI[liiIIlI(0x397)](iiI1illI[liiIIlI(0x37d)],iiI1illI[liiIIlI(0x37d)]))return iiI1illI[liiIIlI(0x238)](decodeURIComponent,iilliI1[0x2]);else II1ll1iI[liiIIlI(0x23e)]=l1lIiili[liiIIlI(0x370)][liiIIlI(0x3c9)][liiIIlI(0x23e)],IIi1IliI[liiIIlI(0x370)][liiIIlI(0x357)]&&(llii1lIl[liiIIlI(0x27f)]=ii1Iiiil[liiIIlI(0x370)][liiIIlI(0x357)][0x0][liiIIlI(0x2ea)][liiIIlI(0x209)]);}return'';}async function joinShop(){const lllIl1i1=lI11llll,Ii1i11l={'OVgaH':function(i111Iiii){return i111Iiii();},'DCIYs':function(llI1i11l,IIlil1ll){return llI1i11l+IIlil1ll;},'nvnfK':function(Iii1ilii,IlIII1I1){return Iii1ilii+IlIII1I1;},'jGFCC':lllIl1i1(0x36d),'SplEd':function(Iillili,I1il1i1I){return Iillili>I1il1i1I;},'ZAAAQ':lllIl1i1(0x276),'FUndf':function(iIi1illl,I1i1llI1){return iIi1illl===I1i1llI1;},'cPpFA':lllIl1i1(0x3aa),'mSXGy':function(lliIlli,iliIlli1){return lliIlli+iliIlli1;},'LuzxP':function(ii1i1i11,iiii1lI1){return ii1i1i11+iiii1lI1;},'ToLCL':lllIl1i1(0x26a),'WfLYi':lllIl1i1(0x33f),'bsian':function(lIIIllil,iIi1liIi){return lIIIllil===iIi1liIi;},'oEiHn':lllIl1i1(0x1ff),'oKxUS':function(liIIili,lI1iI1II){return liIIili==lI1iI1II;},'TAbbw':lllIl1i1(0x34d),'AYACD':lllIl1i1(0x20d),'qxDgC':function(illi11il,lIII1iii){return illi11il!==lIII1iii;},'LLoZy':lllIl1i1(0x214),'nMGRS':lllIl1i1(0x21b),'DavgV':lllIl1i1(0x2e8),'ZdMeI':lllIl1i1(0x359),'LtrrP':lllIl1i1(0x3af),'BonLk':function(lIIIllli,ii1liIll){return lIIIllli!==ii1liIll;},'fxLQD':lllIl1i1(0x3d9),'mMzrd':lllIl1i1(0x384),'apeuV':function(l1llil1I,I1liiilI){return l1llil1I===I1liiilI;},'yetFI':lllIl1i1(0x337),'LEoyc':lllIl1i1(0x364),'ehuwn':lllIl1i1(0x279),'pedpV':lllIl1i1(0x2c0),'xmdtF':lllIl1i1(0x21e),'FiZfn':function(iIIl1i1I,iliilllI,llIli1il){return iIIl1i1I(iliilllI,llIli1il);},'qmCNg':lllIl1i1(0x351),'UDuFg':function(lIl11iIi,il1Ii1ii){return lIl11iIi(il1Ii1ii);},'DuzPF':lllIl1i1(0x311),'kGwKP':lllIl1i1(0x3ed),'wHwKj':lllIl1i1(0x347),'ZEOdU':lllIl1i1(0x321),'SQJUa':lllIl1i1(0x304)};if(!$[lllIl1i1(0x225)])return;return new Promise(async illlii1=>{const iIi1Iill=lllIl1i1,IiIll1il={'YaAbm':function(iiIIiIlI){const Iii1I1i1=lililll1;return Ii1i11l[Iii1I1i1(0x3b9)](iiIIiIlI);},'ZYKoS':function(l1I1l11,l1ililli){const illIll1l=lililll1;return Ii1i11l[illIll1l(0x284)](l1I1l11,l1ililli);},'aKnOr':function(IIi11i1l,I11ilIIi){const Iil1IIll=lililll1;return Ii1i11l[Iil1IIll(0x213)](IIi11i1l,I11ilIIi);},'HZaxi':Ii1i11l[iIi1Iill(0x363)],'oocoS':function(Ili111i1,iI1Ill11){const lilll11l=iIi1Iill;return Ii1i11l[lilll11l(0x292)](Ili111i1,iI1Ill11);},'rLwrX':Ii1i11l[iIi1Iill(0x244)],'qGscO':function(I1iii11,IlllllI1){const Iii1lI=iIi1Iill;return Ii1i11l[Iii1lI(0x35e)](I1iii11,IlllllI1);},'eNkwP':Ii1i11l[iIi1Iill(0x395)],'fGqdK':function(I11lIlil,iil111li){const liii1lIi=iIi1Iill;return Ii1i11l[liii1lIi(0x31c)](I11lIlil,iil111li);},'oRrKV':function(I1lilI1I,IlIll1i1){const lii1i1iI=iIi1Iill;return Ii1i11l[lii1i1iI(0x20b)](I1lilI1I,IlIll1i1);},'IBHNq':Ii1i11l[iIi1Iill(0x2f3)],'RQJKc':Ii1i11l[iIi1Iill(0x265)],'QAemG':function(lI1illIi,IIlil1lI){const lI1lIli1=iIi1Iill;return Ii1i11l[lI1lIli1(0x3a6)](lI1illIi,IIlil1lI);},'NNAwi':Ii1i11l[iIi1Iill(0x3cd)],'eSIhL':function(i1i1llii,iliii1I1){const l1111iI1=iIi1Iill;return Ii1i11l[l1111iI1(0x39d)](i1i1llii,iliii1I1);},'azSIV':Ii1i11l[iIi1Iill(0x201)],'CnqKn':function(liliI1Ii,Iiiii1i1){const I1IIll1I=iIi1Iill;return Ii1i11l[I1IIll1I(0x3a6)](liliI1Ii,Iiiii1i1);},'lGqGZ':Ii1i11l[iIi1Iill(0x246)],'UsFGh':function(iII1IiIi,lI11lii){const ll1ill1i=iIi1Iill;return Ii1i11l[ll1ill1i(0x216)](iII1IiIi,lI11lii);},'HoSMa':Ii1i11l[iIi1Iill(0x320)],'obOBy':Ii1i11l[iIi1Iill(0x3a0)],'tRRbv':Ii1i11l[iIi1Iill(0x259)],'mvtYH':function(ll11I1II,lI1iii1){const ilIi1IiI=iIi1Iill;return Ii1i11l[ilIi1IiI(0x3a6)](ll11I1II,lI1iii1);},'QFaLq':Ii1i11l[iIi1Iill(0x385)],'wznYF':Ii1i11l[iIi1Iill(0x303)],'xnIGd':function(I1illll,Ili1lllI){const iIIli11=iIi1Iill;return Ii1i11l[iIIli11(0x358)](I1illll,Ili1lllI);},'FfYyi':Ii1i11l[iIi1Iill(0x2b0)],'GsOjm':Ii1i11l[iIi1Iill(0x2e1)],'fxTiJ':function(iiIi1I1i){const l1lIliil=iIi1Iill;return Ii1i11l[l1lIliil(0x3b9)](iiIi1I1i);}};if(Ii1i11l[iIi1Iill(0x2dd)](Ii1i11l[iIi1Iill(0x24b)],Ii1i11l[iIi1Iill(0x24b)])){$[iIi1Iill(0x23a)]=Ii1i11l[iIi1Iill(0x302)];let illiIiIl='';if($[iIi1Iill(0x3f7)])illiIiIl=iIi1Iill(0x3e1)+$[iIi1Iill(0x3f7)];const iI1liilI=iIi1Iill(0x33b)+$[iIi1Iill(0x225)]+iIi1Iill(0x328)+$[iIi1Iill(0x225)]+iIi1Iill(0x27c)+illiIiIl+iIi1Iill(0x25a),l1ilIli1={'appid':Ii1i11l[iIi1Iill(0x26e)],'functionId':Ii1i11l[iIi1Iill(0x1fa)],'clientVersion':Ii1i11l[iIi1Iill(0x3b4)],'client':'H5','body':JSON[iIi1Iill(0x3c2)](iI1liilI)},lIiil1lI=await Ii1i11l[iIi1Iill(0x287)](getH5st,Ii1i11l[iIi1Iill(0x1f6)],l1ilIli1),i1Il1lI={'url':iIi1Iill(0x29f)+iI1liilI+iIi1Iill(0x29c)+Ii1i11l[iIi1Iill(0x3ce)](encodeURIComponent,lIiil1lI),'headers':{'accept':Ii1i11l[iIi1Iill(0x355)],'accept-encoding':Ii1i11l[iIi1Iill(0x2d8)],'accept-language':Ii1i11l[iIi1Iill(0x1f4)],'cookie':originCookie,'origin':Ii1i11l[iIi1Iill(0x2ba)],'user-agent':Ii1i11l[iIi1Iill(0x264)]}};$[iIi1Iill(0x398)](i1Il1lI,async(lliIIiiI,lI1lIiil,IilliIIi)=>{const Iiiii111=iIi1Iill,IIiII1Ii={'SHNRJ':function(iiIIi1Il,Ill1I111){const IliIli1i=lililll1;return IiIll1il[IliIli1i(0x2d6)](iiIIi1Il,Ill1I111);},'yXDyB':function(liliIll1,IlliI1){const ilI111lI=lililll1;return IiIll1il[ilI111lI(0x282)](liliIll1,IlliI1);},'QvGrQ':IiIll1il[Iiiii111(0x396)],'UeXSf':IiIll1il[Iiiii111(0x272)]};if(IiIll1il[Iiiii111(0x253)](IiIll1il[Iiiii111(0x2f9)],IiIll1il[Iiiii111(0x2f9)]))try{IilliIIi=IilliIIi&&IilliIIi[Iiiii111(0x378)](/jsonp_.*?\((.*?)\);/)&&IilliIIi[Iiiii111(0x378)](/jsonp_.*?\((.*?)\);/)[0x1]||IilliIIi;let llI11Il1=$[Iiiii111(0x32a)](IilliIIi,IilliIIi);if(llI11Il1&&IiIll1il[Iiiii111(0x313)](typeof llI11Il1,IiIll1il[Iiiii111(0x3ba)])){if(llI11Il1&&IiIll1il[Iiiii111(0x349)](llI11Il1[Iiiii111(0x346)],!![])){console[Iiiii111(0x2e2)](llI11Il1[Iiiii111(0x25b)]),$[Iiiii111(0x23a)]=llI11Il1[Iiiii111(0x25b)];if(llI11Il1[Iiiii111(0x370)]&&llI11Il1[Iiiii111(0x370)][Iiiii111(0x344)])for(let IIl11l1 of llI11Il1[Iiiii111(0x370)][Iiiii111(0x344)][Iiiii111(0x2d7)]){console[Iiiii111(0x2e2)](Iiiii111(0x343)+IIl11l1[Iiiii111(0x3ca)]+IIl11l1[Iiiii111(0x210)]+IIl11l1[Iiiii111(0x20c)]);}console[Iiiii111(0x2e2)]('');}else llI11Il1&&IiIll1il[Iiiii111(0x313)](typeof llI11Il1,IiIll1il[Iiiii111(0x3ba)])&&llI11Il1[Iiiii111(0x25b)]?IiIll1il[Iiiii111(0x253)](IiIll1il[Iiiii111(0x2da)],IiIll1il[Iiiii111(0x2da)])?($[Iiiii111(0x23a)]=llI11Il1[Iiiii111(0x25b)],console[Iiiii111(0x2e2)](''+(llI11Il1[Iiiii111(0x25b)]||''))):IiIll1il[Iiiii111(0x2b9)](i1Il1lIi):IiIll1il[Iiiii111(0x3e6)](IiIll1il[Iiiii111(0x255)],IiIll1il[Iiiii111(0x255)])?(l1lI111i[Iiiii111(0x2e2)](IiIll1il[Iiiii111(0x3cf)]('',i11ili1i[Iiiii111(0x24d)](ill11Il))),illllII1[Iiiii111(0x2e2)](IiIll1il[Iiiii111(0x29e)](IIlii1Il[Iiiii111(0x291)],IiIll1il[Iiiii111(0x35b)]))):console[Iiiii111(0x2e2)](IilliIIi);}else IiIll1il[Iiiii111(0x3e6)](IiIll1il[Iiiii111(0x3c5)],IiIll1il[Iiiii111(0x25d)])?console[Iiiii111(0x2e2)](IilliIIi):lII1IIl1[Iiiii111(0x2c1)]();}catch(IIllllI){IiIll1il[Iiiii111(0x2fe)](IiIll1il[Iiiii111(0x372)],IiIll1il[Iiiii111(0x34b)])?llillilI[IIlll1iI[Iiiii111(0x2d1)](';')[0x0][Iiiii111(0x317)](0x0,l1l1lIll[Iiiii111(0x2d1)](';')[0x0][Iiiii111(0x22f)]('='))]=iIiI111I[Iiiii111(0x2d1)](';')[0x0][Iiiii111(0x317)](IIiII1Ii[Iiiii111(0x383)](I1illI[Iiiii111(0x2d1)](';')[0x0][Iiiii111(0x22f)]('='),0x1)):$[Iiiii111(0x295)](IIllllI,lI1lIiil);}finally{IiIll1il[Iiiii111(0x222)](IiIll1il[Iiiii111(0x39e)],IiIll1il[Iiiii111(0x3f9)])?IiIll1il[Iiiii111(0x2cc)](illlii1):I1II1II1[Iiiii111(0x2e2)](IIiII1Ii[Iiiii111(0x331)](IIiII1Ii[Iiiii111(0x383)](IIiII1Ii[Iiiii111(0x280)],illIlIl1[Iiiii111(0x341)]),IIiII1Ii[Iiiii111(0x202)]));}else{if(I11iliIi[Iiiii111(0x24e)][Iiiii111(0x374)])lI11IllI=iliii1I[Iiiii111(0x24e)][Iiiii111(0x374)];if(IiIll1il[Iiiii111(0x300)](IilIIl11[Iiiii111(0x24d)](ii1111il[Iiiii111(0x24e)])[Iiiii111(0x22f)](IiIll1il[Iiiii111(0x2c5)]),-0x1))IiiIIi1[Iiiii111(0x2c8)](0x0);liiIl1iI[Iiiii111(0x1ed)](lIl1llll)[Iiiii111(0x251)](l1IiI11l=>{const i1i1iI11=Iiiii111;Illiii[i1i1iI11(0x2a9)](iil1iiIl[l1IiI11l]);});if(l1il1ii[Iiiii111(0x24e)][Iiiii111(0x38a)]&&IiIll1il[Iiiii111(0x2f4)](llIllIIi[Iiiii111(0x24e)][Iiiii111(0x38a)],IiIll1il[Iiiii111(0x3de)]))l1liiI11[Iiiii111(0x2e2)]=()=>{};}});}else II11iiII[iIi1Iill(0x2e2)](iIi1Iill(0x29a)+(l1iilll[iIi1Iill(0x370)][iIi1Iill(0x36a)][iIi1Iill(0x2d0)]||'')),iiilli1l[iIi1Iill(0x3f7)]=iIi1iiii[iIi1Iill(0x370)][iIi1Iill(0x357)]&&l1i1IIi[iIi1Iill(0x370)][iIi1Iill(0x357)][0x0]&&IlIlii1[iIi1Iill(0x370)][iIi1Iill(0x357)][0x0][iIi1Iill(0x2ea)]&&lll1i1l[iIi1Iill(0x370)][iIi1Iill(0x357)][0x0][iIi1Iill(0x2ea)][iIi1Iill(0x209)]||'';});}async function getshopactivityId(){const lI1l11l=lI11llll,li11il1i={'eiYeX':function(llilI1I,liiiI1II){return llilI1I==liiiI1II;},'JFVNv':lI1l11l(0x34d),'ZvREJ':function(i111lI11,l11IIi1l){return i111lI11==l11IIi1l;},'adGfH':function(III1llil,iI1llii1){return III1llil===iI1llii1;},'nxind':lI1l11l(0x1f7),'GXDtj':function(liilIIi1){return liilIIi1();},'ETYLN':lI1l11l(0x279),'fMIlk':lI1l11l(0x286),'uTIPL':lI1l11l(0x21e),'oblwP':function(iI11ll1l,ili1IIi1,II11Ii1){return iI11ll1l(ili1IIi1,II11Ii1);},'cyGjk':lI1l11l(0x24a),'PWWFK':function(iIiI1Ill,I1iiili1){return iIiI1Ill(I1iiili1);},'DUTUI':lI1l11l(0x311),'ilwRX':lI1l11l(0x3ed),'aXWYJ':lI1l11l(0x347),'TTTye':lI1l11l(0x321),'lkVGM':lI1l11l(0x304)};return new Promise(async iIiill1I=>{const lI1il1ll=lI1l11l;let Iiil11Il=lI1il1ll(0x33b)+$[lI1il1ll(0x225)]+lI1il1ll(0x27b);const l1Illlii={'appid':li11il1i[lI1il1ll(0x30e)],'functionId':li11il1i[lI1il1ll(0x326)],'clientVersion':li11il1i[lI1il1ll(0x30a)],'client':'H5','body':JSON[lI1il1ll(0x3c2)](Iiil11Il)},Iii1lil1=await li11il1i[lI1il1ll(0x294)](getH5st,li11il1i[lI1il1ll(0x31e)],l1Illlii),lli111l1={'url':lI1il1ll(0x32d)+Iiil11Il+lI1il1ll(0x29c)+li11il1i[lI1il1ll(0x2af)](encodeURIComponent,Iii1lil1),'headers':{'accept':li11il1i[lI1il1ll(0x2f2)],'accept-encoding':li11il1i[lI1il1ll(0x350)],'accept-language':li11il1i[lI1il1ll(0x3f4)],'cookie':originCookie,'origin':li11il1i[lI1il1ll(0x2ef)],'user-agent':li11il1i[lI1il1ll(0x3dc)]}};$[lI1il1ll(0x398)](lli111l1,async(l1i1lI,iiliI1ll,lIIi1lll)=>{const lIlil1Il=lI1il1ll;try{lIIi1lll=lIIi1lll&&lIIi1lll[lIlil1Il(0x378)](/jsonp_.*?\((.*?)\);/)&&lIIi1lll[lIlil1Il(0x378)](/jsonp_.*?\((.*?)\);/)[0x1]||lIIi1lll;let llIiill=$[lIlil1Il(0x32a)](lIIi1lll,lIIi1lll);llIiill&&li11il1i[lIlil1Il(0x38e)](typeof llIiill,li11il1i[lIlil1Il(0x3a8)])?llIiill&&li11il1i[lIlil1Il(0x23b)](llIiill[lIlil1Il(0x346)],!![])&&(console[lIlil1Il(0x2e2)](lIlil1Il(0x29a)+(llIiill[lIlil1Il(0x370)][lIlil1Il(0x36a)][lIlil1Il(0x2d0)]||'')),$[lIlil1Il(0x3f7)]=llIiill[lIlil1Il(0x370)][lIlil1Il(0x357)]&&llIiill[lIlil1Il(0x370)][lIlil1Il(0x357)][0x0]&&llIiill[lIlil1Il(0x370)][lIlil1Il(0x357)][0x0][lIlil1Il(0x2ea)]&&llIiill[lIlil1Il(0x370)][lIlil1Il(0x357)][0x0][lIlil1Il(0x2ea)][lIlil1Il(0x209)]||''):console[lIlil1Il(0x2e2)](lIIi1lll);}catch(l11iIlIl){$[lIlil1Il(0x295)](l11iIlIl,iiliI1ll);}finally{li11il1i[lIlil1Il(0x394)](li11il1i[lIlil1Il(0x339)],li11il1i[lIlil1Il(0x339)])?li11il1i[lIlil1Il(0x254)](iIiill1I):ill1I111[lIlil1Il(0x2e2)](liii1llI);}});});}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)}
|