yydspure/jd_wxShopFollowActivity.js

41 lines
54 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

/*
看脸活动
https://lzkj-isv.isvjcloud.com//activity/xxx?activityId=xxx
pinBlackLists 黑名单 pin , 多pin & 分开
wxShopFollowActivity 活动id, 多活动 & 分开
7 7 7 7 7 jd_wxShopFollowActivity.js
*/
const $ = new Env('关注店铺抽奖');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let cookiesArr = [], cookie = '', message = '';
let activityIdList = [
]
let lz_cookie = {}
let pinBlackLists = []
if ($.isNode()) {
Object.keys(jdCookieNode).forEach((item) => {
cookiesArr.push(jdCookieNode[item])
})
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => { };
} else {
let cookiesData = $.getdata('CookiesJD') || "[]";
cookiesData = JSON.parse(cookiesData);
cookiesArr = cookiesData.map(item => item.cookie);
cookiesArr.reverse();
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
cookiesArr.reverse();
cookiesArr = cookiesArr.filter(item => !!item);
}
if (process.env.pinBlackLists && process.env.pinBlackLists != "") {
pinBlackLists = process.env.pinBlackLists.split('&');
}
if (process.env.wxShopFollowActivity && process.env.wxShopFollowActivity != "") {
activityIdList = process.env.wxShopFollowActivity.split('&');
}
var _0xodX='jsjiami.com.v6',_0xodX_=['_0xodX'],_0x1288=[_0xodX,'WU1HUUE=','SVBRalM=','cnVYUlE=','RmxacWE=','ZG1Dbnk=','THhYaks=','YXF0bkc=','ZW5MdE8=','R3RKVnA=','Y1JiTUI=','Y2FNbHA=','cE1ycXg=','aHR0cHM6Ly9tZS1hcGkuamQuY29tL3VzZXJfbmV3L2luZm8vR2V0SkRVc2VySW5mb1VuaW9u','bWUtYXBpLmpkLmNvbQ==','TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxNF8zIGxpa2UgTWFjIE9TIFgpIEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgVmVyc2lvbi8xNC4wLjIgTW9iaWxlLzE1RTE0OCBTYWZhcmkvNjA0LjE=','aHR0cHM6Ly9ob21lLm0uamQuY29tL215SmQvbmV3aG9tZS5hY3Rpb24/c2NlbmV2YWw9MiZ1ZmM9Jg==','SlpVZlg=','UFZvWEU=','eHhKZWE=','SmxSblg=','bEhLanI=','QUZpY0o=','alhDa00=','blpMU0s=','dXJEenA=','SWlWbUo=','UUxEZUo=','dlluenk=','bG9nRXJy','V1dzWkk=','dEFSZHE=','a1RrRGE=','R0hLQlc=','R3pOU1Q=','d3REVk4=','SmtNaG4=','V3BPS1g=','Z0lXaUk=','R2dPc2o=','cmVGTGQ=','R0VSTHA=','WkRnYU4=','T0laZWo=','THBOdEo=','THNUa2c=','44CQ5o+Q56S644CR6K+35YWI6I635Y+W5Lqs5Lic6LSm5Y+35LiAY29va2llCuebtOaOpeS9v+eUqE5vYnlEYeeahOS6rOS4nOetvuWIsOiOt+WPlg==','aHR0cHM6Ly9iZWFuLm0uamQuY29tL2JlYW4vc2lnbkluZGV4LmFjdGlvbg==','5byA6LW356ysIA==','IOS4qua0u+WKqO+8jOa0u+WKqGlk77ya','TUhwc3Y=','S1BoRUY=','6buR5ZCN5Y2V6Lez6L+H','Qk1XVEk=','SXhNWHM=','eHh4eHh4eHgteHh4eC14eHh4LXh4eHgteHh4eHh4eHh4eHh4','eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA==','TnJGamU=','5pyJ54K55YS/5pS26I63','RHJEZ3k=','S3NQQVY=','QlBqakI=','bXNn','bmFtZQ==','THVzcGc=','RHp4RkM=','ZWRQT3c=','bG9n','WEhEWkU=','d090bk0=','c1JuVk8=','VnBxU3Q=','bGVuZ3Ro','eWtLcGQ=','TkZWQUw=','YXppcEk=','VXNlck5hbWU=','eXdtUXk=','bWF0Y2g=','aW5kZXg=','ZVdqdGc=','aXNMb2dpbg==','bmlja05hbWU=','c2tOUFc=','aW5kZXhPZg==','VGlORWw=','aEl1VmI=','CioqKioqKuW8gOWni+OAkOS6rOS4nOi0puWPtw==','KioqKioqKioqCg==','cXpQeXE=','dkZmd2U=','U2Z4SnM=','TmpoYkM=','Zmxvb3I=','SG96YW4=','cmFuZG9t','cFJlRno=','44CQ5o+Q56S644CRY29va2ll5bey5aSx5pWI','5Lqs5Lic6LSm5Y+3','Cuivt+mHjeaWsOeZu+W9leiOt+WPlgpodHRwczovL2JlYW4ubS5qZC5jb20vYmVhbi9zaWduSW5kZXguYWN0aW9u','aXNOb2Rl','c2VuZE5vdGlmeQ==','Y29va2ll5bey5aSx5pWIIC0g','Cuivt+mHjeaWsOeZu+W9leiOt+WPlmNvb2tpZQ==','YmVhbg==','QURJRA==','ZHJwbFE=','a3djbmU=','VVVJRA==','dElpTXA=','RW14Z3k=','YXV0aG9yTnVt','YWN0aXZpdHlJZA==','YWN0aXZpdHlVcmw=','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29tL3d4U2hvcEZvbGxvd0FjdGl2aXR5L2FjdGl2aXR5Lw==','P2FjdGl2aXR5SWQ9','JmFkc291cmNlPW51bGwmbG5nPTAwLjAwMDAwMCZsYXQ9MDAuMDAwMDAwJnNpZD0mdW5fYXJlYT0=','cXVFUU4=','CuOAkOS6rOS4nOi0puWPtw==','IAogICAgICAg4pSUIOiOt+W+lyA=','IOS6rOixhuOAgg==','RU9QdFo=','RlFhRG8=','WFRZUGI=','dXBHWk0=','cmVwbGFjZQ==','UXpucVU=','RExBd2g=','b2VzVXo=','dG9TdHJpbmc=','dG9VcHBlckNhc2U=','Y2F0Y2g=','LCDlpLHotKUhIOWOn+WboDog','ZmluYWxseQ==','ZG9uZQ==','5Lqs5Lic6L+U5Zue5LqG56m65pWw5o2u','Y3VzdG9tZXIvZ2V0U2ltcGxlQWN0SW5mb1Zv','a095R3I=','Y29tbW9uL2FjY2Vzc0xvZ1dpdGhBRA==','YWN0aXZpdHlDb250ZW50T25seQ==','MnwzfDB8MXw0','LT4g5oq95aWW','LT4g5YWz5rOo5bqX6ZO6','Zm9sbG93','Z2V0UHJpemU=','5pyq6IO95oiQ5Yqf6I635Y+W5Yiw5rS75Yqo5L+h5oGv','5rKh5pyJ5oiQ5Yqf6I635Y+W5Yiw55So5oi35L+h5oGv','c1VXa0M=','5rKh5pyJ5oiQ5Yqf6I635Y+W5Yiw55So5oi36Ym05p2D5L+h5oGv','dG9rZW4=','c2VjcmV0UGlu','dmVuZGVySWQ=','ZUtyb0U=','eGhFbVA=','UnJRY0s=','Y2VCalM=','YWN0aXZpdHlJZD0=','YWNoaFo=','b1FqaWQ=','a0xucmU=','SURPUmw=','dmVuZGVySWQ9','JmNvZGU9','YWN0aXZpdHlUeXBl','JnBpbj0=','aHhXVHQ=','JmFjdGl2aXR5SWQ9','JnBhZ2VVcmw9','JnN1YlR5cGU9YXBwJmFkU291cmNlPXRnX3h1YW5GdVR1Qmlhbw==','Ym94c2U=','RVFHTms=','YWN0aXZpdHlDb250ZW50','RlNLTWc=','c3BsaXQ=','d2FpdA==','eENFSE0=','U3hpVk8=','dU9rWWo=','emlrYVQ=','d214S3Q=','Ynl0aEU=','TU56WXM=','RGtRbUU=','YXBEek4=','R3ZzSWY=','VlJqSHQ=','cUVqRGs=','RWVablc=','TUZRSHk=','dWFXZnI=','VkRydHE=','aGVhZGVycw==','c2V0LWNvb2tpZQ==','d3hBc3NlbWJsZVBhZ2UvZ2V0RmxvYXRJY29uU3RhdHVz','5rS75Yqo5aWW5ZOBOiA=','TE5PR3Q=','ZE5aQWk=','Qm56Wk8=','RHpvYU4=','dnNaVW0=','cG9zdA==','dkxxbUw=','YmVTVkg=','a3VyeHI=','YUhIVGo=','SGF5QkI=','eEpYRks=','cGFyc2U=','QnBueVg=','cUtTV1E=','c3Vic3Ry','UlFmWUY=','a2V5cw==','TE9TSG8=','bUJGdnQ=','cmVzdWx0','VkNOVkU=','ZGF0YQ==','THpBWW4=','amRBY3Rpdml0eUlk','YWN0aXZpdHlTaG9wSWQ=','c2hvcElk','c09tcUU=','Vm1zaW4=','ZHJhd0NvbnRlbnRWT3M=','bFB3TXU=','YWRqbVQ=','ZldYTng=','c3RyaW5naWZ5','WG9ZQlU=','a0ZYWHo=','Y2Z4RHc=','b2hDYXA=','bHprai1pc3YuaXN2amNsb3VkLmNvbQ==','YXBwbGljYXRpb24vanNvbg==','WE1MSHR0cFJlcXVlc3Q=','emgtY24=','Z3ppcCwgZGVmbGF0ZSwgYnI=','YXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVk','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29tbQ==','a2VlcC1hbGl2ZQ==','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29tLw==','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29tL3d4U2hvcEZvbGxvd0FjdGl2aXR5Lw==','Slh5eGc=','bFNNcWs=','b0hTcXg=','ZHFtWm4=','cmd1SHA=','WVZPZ2I=','U2Z6Q1g=','amRhcHA7aVBob25lOzkuNS40OzEzLjY7','O25ldHdvcmsvd2lmaTtBRElELw==','O21vZGVsL2lQaG9uZTEwLDM7YWRkcmVzc2lkLzA7YXBwQnVpbGQvMTY3NjY4O2pkU3VwcG9ydERhcmtNb2RlLzA7TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxM182IGxpa2UgTWFjIE9TIFgpIEFwcGxlV2ViS2l0LzYwNS4xLjE1IChLSFRNTCwgbGlrZSBHZWNrbykgTW9iaWxlLzE1RTE0ODtzdXBwb3J0SkRTSFdLLzE=','V21GYVU=','UHF4ZVA=','YXpFY0Y=','WHB2RWw=','UGZ5S3I=','RXZDa0Q=','RHdJS2E=','V0VLTHQ=','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29t','aHR0cHM6Ly9semtqLWlzdi5pc3ZqY2xvdWQuY29tL2N1c3RvbWVyL2dldE15UGluZw==','eUpqckw=','ZGthRFM=','V0liZVA=','V2RvQnQ=','alBnckg=','R2dzcE8=','b1daSW0=','V0lkUlE=','dXNlcklkPQ==','JnRva2VuPQ==','JmZyb21UeXBlPUFQUA==','TFlvZkk=','ekZhb3Y=','ZVBGREw=','Q0JpQlQ=','WlRQR1U=','ZXV5V1I=','Z1hHRng=','bnFCQ2I=','bUxYS2s=','Q3pyRnY=','REdvWXU=','SHRhUVo=','TXdUZXI=','RFFlWlQ=','a3lFSks=','b29YeWk=','eVhvVFQ=','VERpRUU=','VW54V2Y=','eXlsSnQ=','cFpXTVg=','S0RWU1M=','Qll5UFU=','Y29kZQ==','TVpnblE=','5L2g5aW977ya','bmlja25hbWU=','cGlu','RGd1V2s=','UHJ3SE4=','R3psZFU=','ZXJyb3JNZXNzYWdl','SUh0eHU=','Y1hsS2Q=','SnRHVHc=','MTAwMQ==','dXNlckluZm8=','ZGFxeHM=','Z0ROWVU=','SVZKVXc=','UWhYQWQ=','T2Nldlg=','UW5WZWw=','aUF0RnU=','Li9VU0VSX0FHRU5UUw==','SkRVQQ==','amRhcHA7aVBob25lOzkuNC40OzE0LjM7bmV0d29yay80ZztNb3ppbGxhLzUuMCAoaVBob25lOyBDUFUgaVBob25lIE9TIDE0XzMgbGlrZSBNYWMgT1MgWCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBNb2JpbGUvMTVFMTQ4O3N1cHBvcnRKRFNIV0svMQ==','T3V2eWo=','YkhNeko=','a1J3ekQ=','TkZZc2I=','aEZEdGU=','TmxxRm8=','cE5sTkY=','R1dzUUc=','ZmpmQW8=','Z2V0','ZW52','SkRfVVNFUl9BR0VOVA==','TW5nYm8=','Y2VhTWk=','VVNFUl9BR0VOVA==','Z2V0ZGF0YQ==','RHhNV1U=','U2xpcE8=','aWl5VU0=','TGRGWFA=','bExTWGg=','aUdqcWM=','Yk54UUU=','c0ZoZnM=','QUp2SVg=','RGh4VUY=','S3VmcHY=','UWdkSlQ=','enhzaWs=','QXR1Zkg=','Um1lVWI=','WU53aWM=','S3V0cUE=','YWpsWEc=','eUJiZ3k=','bW91Vmk=','ZFhaQlo=','UENrZHY=','Rmp5bko=','Tm55SGU=','WWFMSWk=','ZFRnb0o=','blBrWGo=','VGhlbGo=','a0tDZFE=','aEFEUng=','dVVlcUk=','UHd4ekE=','cmV0Y29kZQ==','ZEVUZ0M=','QnhMZU4=','aGFzT3duUHJvcGVydHk=','ZXlqZ0E=','YmFzZUluZm8=','b0lpV3U=','SFBWZWc=','YXBpLm0uamQuY29t','Ki8q','SkQ0aVBob25lLzE2NzY1MCAoaVBob25lOyBpT1MgMTMuNzsgU2NhbGUvMy4wMCk=','emgtSGFucy1DTjtxPTE=','aHR0cHM6Ly9hcGkubS5qZC5jb20vY2xpZW50LmFjdGlvbj9mdW5jdGlvbklkPWlzdk9iZnVzY2F0b3I=','dEZYalk=','Z1dFWm0=','aGJsckM=','ZnBjWnE=','VVVnY0E=','b3RFY1A=','aU1tbXg=','Ym9keT0lN0IlMjJ1cmwlMjIlM0ElMjAlMjJodHRwcyUzQS8vbHpkejEtaXN2LmlzdmpjbG91ZC5jb20lMjIlMkMlMjAlMjJpZCUyMiUzQSUyMCUyMiUyMiU3RCZ1dWlkPTcyMTI0MjY1MjE3ZDQ4Yjc5NTU3ODEwMjRkNjViYmM0JmNsaWVudD1hcHBsZSZjbGllbnRWZXJzaW9uPTkuNC4wJnN0PTE2MjE3OTY3MDIwMDAmc3Y9MTIwJnNpZ249MTRmN2ZhYTMxMzU2Yzc0ZTlmNDI4OTk3MmRiNGI5ODg=','d3J3R0I=','SkNGcnk=','cXhndE8=','SHRLcm8=','RUx5Z3M=','S3dla1g=','VUNLcXk=','cWhBeVU=','dnhibVM=','VElGRHk=','VnRvbVo=','dEFtRWI=','ZVVOcHU=','dWplRmc=','cVZOcW8=','eGFIWUg=','U1dIS2Q=','eVR3VG8=','FDjseLjFMiXyXPfAuMIaBhmi.com.v6=='];if(function(_0x150c31,_0x4e3138,_0x57f483){function _0x12b46b(_0x4d66c5,_0x1e501f,_0x557458,_0x32e349,_0x1840d6,_0x119d30){_0x1e501f=_0x1e501f>>0x8,_0x1840d6='po';var _0x908ac='shift',_0x2561ca='push',_0x119d30='';if(_0x1e501f<_0x4d66c5){while(--_0x4d66c5){_0x32e349=_0x150c31[_0x908ac]();if(_0x1e501f===_0x4d66c5&&_0x119d30===''&&_0x119d30['length']===0x1){_0x1e501f=_0x32e349,_0x557458=_0x150c31[_0x1840d6+'p']();}else if(_0x1e501f&&_0x557458['replace'](/[FDeLFMXyXPfAuMIBh=]/g,'')===_0x1e501f){_0x150c31[_0x2561ca](_0x32e349);}}_0x150c31[_0x2561ca](_0x150c31[_0x908ac]());}return 0xf6e0a;};return _0x12b46b(++_0x4e3138,_0x57f483)>>_0x4e3138^_0x57f483;}(_0x1288,0x1c2,0x1c200),_0x1288){_0xodX_=_0x1288['length']^0x1c2;};function _0x4b5d(_0x3b438b,_0x2ae19f){_0x3b438b=~~'0x'['concat'](_0x3b438b['slice'](0x1));var _0x514e13=_0x1288[_0x3b438b];if(_0x4b5d['YCAJdd']===undefined&&''['length']===0x1){(function(){var _0x440477=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x27ab7d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x440477['atob']||(_0x440477['atob']=function(_0x5ae3dc){var _0x280904=String(_0x5ae3dc)['replace'](/=+$/,'');for(var _0x3b5d3d=0x0,_0x3933f1,_0x33901e,_0x5e1bd3=0x0,_0x5142f2='';_0x33901e=_0x280904['charAt'](_0x5e1bd3++);~_0x33901e&&(_0x3933f1=_0x3b5d3d%0x4?_0x3933f1*0x40+_0x33901e:_0x33901e,_0x3b5d3d++%0x4)?_0x5142f2+=String['fromCharCode'](0xff&_0x3933f1>>(-0x2*_0x3b5d3d&0x6)):0x0){_0x33901e=_0x27ab7d['indexOf'](_0x33901e);}return _0x5142f2;});}());_0x4b5d['LVmhZL']=function(_0x4bcb77){var _0x5a94b2=atob(_0x4bcb77);var _0x17d591=[];for(var _0x44d747=0x0,_0x355e1c=_0x5a94b2['length'];_0x44d747<_0x355e1c;_0x44d747++){_0x17d591+='%'+('00'+_0x5a94b2['charCodeAt'](_0x44d747)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x17d591);};_0x4b5d['BuIVSJ']={};_0x4b5d['YCAJdd']=!![];}var _0x5c810c=_0x4b5d['BuIVSJ'][_0x3b438b];if(_0x5c810c===undefined){_0x514e13=_0x4b5d['LVmhZL'](_0x514e13);_0x4b5d['BuIVSJ'][_0x3b438b]=_0x514e13;}else{_0x514e13=_0x5c810c;}return _0x514e13;};!(async()=>{var _0xc87f5d={'edPOw':function(_0x305cde){return _0x305cde();},'NjhbC':function(_0x153380,_0x470b73){return _0x153380+_0x470b73;},'Hozan':function(_0x12153a,_0x389e69){return _0x12153a*_0x389e69;},'pReFz':function(_0x5556a4,_0x52838a){return _0x5556a4-_0x52838a;},'QznqU':function(_0x49c2ec,_0x9a78b2){return _0x49c2ec|_0x9a78b2;},'DLAwh':function(_0x1f8d45,_0x3697fa){return _0x1f8d45==_0x3697fa;},'oesUz':function(_0x60fbed,_0x293acd){return _0x60fbed&_0x293acd;},'DrDgy':function(_0x2f0517,_0x34d9d5){return _0x2f0517!==_0x34d9d5;},'KsPAV':_0x4b5d('0'),'BPjjB':_0x4b5d('1'),'Luspg':_0x4b5d('2'),'DzxFC':_0x4b5d('3'),'XHDZE':function(_0x3671f0,_0x11220e){return _0x3671f0+_0x11220e;},'wOtnM':_0x4b5d('4'),'sRnVO':_0x4b5d('5'),'VpqSt':function(_0x171637,_0x4c3238){return _0x171637<_0x4c3238;},'ykKpd':function(_0x54e3f5,_0x311488){return _0x54e3f5===_0x311488;},'NFVAL':_0x4b5d('6'),'azipI':_0x4b5d('7'),'ywmQy':function(_0x3a2861,_0x1493d0){return _0x3a2861(_0x1493d0);},'eWjtg':function(_0x5772d9,_0x2099be){return _0x5772d9+_0x2099be;},'skNPW':function(_0x4f3566,_0x36c348){return _0x4f3566!=_0x36c348;},'TiNEl':function(_0x4e4d71,_0xa6452a){return _0x4e4d71+_0xa6452a;},'hIuVb':_0x4b5d('8'),'qzPyq':function(_0x4ec15f,_0x372029){return _0x4ec15f===_0x372029;},'vFfwe':_0x4b5d('9'),'SfxJs':_0x4b5d('a'),'drplQ':function(_0x13c026,_0x42e000,_0x241f86){return _0x13c026(_0x42e000,_0x241f86);},'kwcne':_0x4b5d('b'),'tIiMp':function(_0x48b1bf,_0x298cb3){return _0x48b1bf(_0x298cb3);},'Emxgy':_0x4b5d('c'),'quEQN':function(_0x5f05ac,_0x140be1){return _0x5f05ac>_0x140be1;},'EOPtZ':function(_0x3ae2b6,_0x1e29d9){return _0x3ae2b6!==_0x1e29d9;},'FQaDo':function(_0x936cdb,_0x373c91){return _0x936cdb===_0x373c91;},'XTYPb':_0x4b5d('d'),'upGZM':_0x4b5d('e')};if(!cookiesArr[0x0]){if(_0xc87f5d[_0x4b5d('f')](_0xc87f5d[_0x4b5d('10')],_0xc87f5d[_0x4b5d('11')])){$[_0x4b5d('12')]($[_0x4b5d('13')],_0xc87f5d[_0x4b5d('14')],_0xc87f5d[_0x4b5d('15')],{'open-url':_0xc87f5d[_0x4b5d('15')]});return;}else{_0xc87f5d[_0x4b5d('16')](resolve);}}for(let _0x482388 in activityIdList){activityId=activityIdList[_0x482388];console[_0x4b5d('17')](_0xc87f5d[_0x4b5d('18')](_0xc87f5d[_0x4b5d('18')](_0xc87f5d[_0x4b5d('18')](_0xc87f5d[_0x4b5d('19')],_0x482388),_0xc87f5d[_0x4b5d('1a')]),activityId));for(let _0x3da666=0x0;_0xc87f5d[_0x4b5d('1b')](_0x3da666,cookiesArr[_0x4b5d('1c')]);_0x3da666++){if(_0xc87f5d[_0x4b5d('1d')](_0xc87f5d[_0x4b5d('1e')],_0xc87f5d[_0x4b5d('1f')])){_0xc87f5d[_0x4b5d('16')](resolve);}else{if(cookiesArr[_0x3da666]){cookie=cookiesArr[_0x3da666];originCookie=cookiesArr[_0x3da666];newCookie='';$[_0x4b5d('20')]=_0xc87f5d[_0x4b5d('21')](decodeURIComponent,cookie[_0x4b5d('22')](/pt_pin=(.+?);/)&&cookie[_0x4b5d('22')](/pt_pin=(.+?);/)[0x1]);$[_0x4b5d('23')]=_0xc87f5d[_0x4b5d('24')](_0x3da666,0x1);$[_0x4b5d('25')]=!![];$[_0x4b5d('26')]='';if(_0xc87f5d[_0x4b5d('27')](pinBlackLists[_0x4b5d('28')]($[_0x4b5d('20')]),-0x1)){console[_0x4b5d('17')](_0xc87f5d[_0x4b5d('29')](_0xc87f5d[_0x4b5d('2a')],$[_0x4b5d('20')]));continue;}await _0xc87f5d[_0x4b5d('16')](checkCookie);console[_0x4b5d('17')](_0x4b5d('2b')+$[_0x4b5d('23')]+'】'+($[_0x4b5d('26')]||$[_0x4b5d('20')])+_0x4b5d('2c'));if(!$[_0x4b5d('25')]){if(_0xc87f5d[_0x4b5d('2d')](_0xc87f5d[_0x4b5d('2e')],_0xc87f5d[_0x4b5d('2f')])){return _0xc87f5d[_0x4b5d('30')](Math[_0x4b5d('31')](_0xc87f5d[_0x4b5d('32')](Math[_0x4b5d('33')](),_0xc87f5d[_0x4b5d('34')](max,min))),min);}else{$[_0x4b5d('12')]($[_0x4b5d('13')],_0x4b5d('35'),_0x4b5d('36')+$[_0x4b5d('23')]+'\x20'+($[_0x4b5d('26')]||$[_0x4b5d('20')])+_0x4b5d('37'),{'open-url':_0xc87f5d[_0x4b5d('15')]});if($[_0x4b5d('38')]()){await notify[_0x4b5d('39')]($[_0x4b5d('13')]+_0x4b5d('3a')+$[_0x4b5d('20')],_0x4b5d('36')+$[_0x4b5d('23')]+'\x20'+$[_0x4b5d('20')]+_0x4b5d('3b'));}continue;}}$[_0x4b5d('3c')]=0x0;$[_0x4b5d('3d')]=_0xc87f5d[_0x4b5d('3e')](getUUID,_0xc87f5d[_0x4b5d('3f')],0x1);$[_0x4b5d('40')]=_0xc87f5d[_0x4b5d('41')](getUUID,_0xc87f5d[_0x4b5d('42')]);$[_0x4b5d('43')]=''+_0xc87f5d[_0x4b5d('3e')](random,0xf4240,0x98967f);$[_0x4b5d('44')]=activityId;$[_0x4b5d('45')]=_0x4b5d('46')+$[_0x4b5d('44')]+_0x4b5d('47')+$[_0x4b5d('44')]+_0x4b5d('48');await _0xc87f5d[_0x4b5d('16')](wxShopFollow);if(_0xc87f5d[_0x4b5d('49')]($[_0x4b5d('3c')],0x0)){message+=_0x4b5d('4a')+$[_0x4b5d('23')]+'】'+($[_0x4b5d('26')]||$[_0x4b5d('20')])+_0x4b5d('4b')+$[_0x4b5d('3c')]+_0x4b5d('4c');}}}}}if(_0xc87f5d[_0x4b5d('4d')](message,'')){if($[_0x4b5d('38')]()){await notify[_0x4b5d('39')]($[_0x4b5d('13')],message,'','\x0a');}else{if(_0xc87f5d[_0x4b5d('4e')](_0xc87f5d[_0x4b5d('4f')],_0xc87f5d[_0x4b5d('4f')])){$[_0x4b5d('12')]($[_0x4b5d('13')],_0xc87f5d[_0x4b5d('50')],message);}else{return format[_0x4b5d('51')](/[xy]/g,function(_0x164153){var _0x3bbc84=_0xc87f5d[_0x4b5d('52')](_0xc87f5d[_0x4b5d('32')](Math[_0x4b5d('33')](),0x10),0x0),_0x25ec5c=_0xc87f5d[_0x4b5d('53')](_0x164153,'x')?_0x3bbc84:_0xc87f5d[_0x4b5d('52')](_0xc87f5d[_0x4b5d('54')](_0x3bbc84,0x3),0x8);if(UpperCase){uuid=_0x25ec5c[_0x4b5d('55')](0x24)[_0x4b5d('56')]();}else{uuid=_0x25ec5c[_0x4b5d('55')](0x24);}return uuid;});}}}})()[_0x4b5d('57')](_0x592ca2=>{$[_0x4b5d('17')]('','❌\x20'+$[_0x4b5d('13')]+_0x4b5d('58')+_0x592ca2+'!','');})[_0x4b5d('59')](()=>{$[_0x4b5d('5a')]();});async function wxShopFollow(){var _0x4c12c4={'eKroE':function(_0x1092ea){return _0x1092ea();},'VRjHt':_0x4b5d('5b'),'xhEmP':function(_0x319546){return _0x319546();},'RrQcK':function(_0x4438a3,_0x4db3ec,_0x2481d4,_0x382a30){return _0x4438a3(_0x4db3ec,_0x2481d4,_0x382a30);},'ceBjS':_0x4b5d('5c'),'achhZ':function(_0x2b327c){return _0x2b327c();},'oQjid':function(_0x51c11f,_0x259cc2){return _0x51c11f!==_0x259cc2;},'kLnre':_0x4b5d('5d'),'IDORl':_0x4b5d('5e'),'hxWTt':function(_0x30c17c,_0x2072dc){return _0x30c17c(_0x2072dc);},'boxse':function(_0x244aa4,_0x31ab7f,_0x2f5b76){return _0x244aa4(_0x31ab7f,_0x2f5b76);},'EQGNk':_0x4b5d('5f'),'FSKMg':_0x4b5d('60'),'xCEHM':_0x4b5d('61'),'SxiVO':_0x4b5d('62'),'uOkYj':_0x4b5d('63'),'zikaT':function(_0x3b6158,_0x2d2d21){return _0x3b6158(_0x2d2d21);},'wmxKt':function(_0x3ad662,_0xa6f174,_0x3e5427){return _0x3ad662(_0xa6f174,_0x3e5427);},'bythE':_0x4b5d('64'),'MNzYs':function(_0x400b03,_0x2731f8){return _0x400b03(_0x2731f8);},'DkQmE':_0x4b5d('65'),'apDzN':_0x4b5d('66'),'GvsIf':_0x4b5d('67'),'qEjDk':_0x4b5d('68')};$[_0x4b5d('69')]=null;$[_0x4b5d('6a')]=null;$[_0x4b5d('6b')]=null;await _0x4c12c4[_0x4b5d('6c')](getFirstLZCK);await _0x4c12c4[_0x4b5d('6d')](getToken);await _0x4c12c4[_0x4b5d('6e')](task,_0x4c12c4[_0x4b5d('6f')],_0x4b5d('70')+$[_0x4b5d('44')],0x1);if($[_0x4b5d('69')]){await _0x4c12c4[_0x4b5d('71')](getMyPing);if($[_0x4b5d('6a')]){if(_0x4c12c4[_0x4b5d('72')](_0x4c12c4[_0x4b5d('73')],_0x4c12c4[_0x4b5d('73')])){_0x4c12c4[_0x4b5d('6c')](resolve);}else{await _0x4c12c4[_0x4b5d('6e')](task,_0x4c12c4[_0x4b5d('74')],_0x4b5d('75')+$[_0x4b5d('6b')]+_0x4b5d('76')+$[_0x4b5d('77')]+_0x4b5d('78')+_0x4c12c4[_0x4b5d('79')](encodeURIComponent,$[_0x4b5d('6a')])+_0x4b5d('7a')+$[_0x4b5d('44')]+_0x4b5d('7b')+$[_0x4b5d('45')]+_0x4b5d('7c'),0x1);await _0x4c12c4[_0x4b5d('7d')](task,_0x4c12c4[_0x4b5d('7e')],_0x4b5d('70')+$[_0x4b5d('44')]+_0x4b5d('78')+_0x4c12c4[_0x4b5d('79')](encodeURIComponent,$[_0x4b5d('6a')]));if($[_0x4b5d('7f')]){var _0x1039f1=_0x4c12c4[_0x4b5d('80')][_0x4b5d('81')]('|'),_0xe00811=0x0;while(!![]){switch(_0x1039f1[_0xe00811++]){case'0':await $[_0x4b5d('82')](0x3e8);continue;case'1':$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('83')]);continue;case'2':$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('84')]);continue;case'3':await _0x4c12c4[_0x4b5d('7d')](task,_0x4c12c4[_0x4b5d('85')],_0x4b5d('70')+$[_0x4b5d('44')]+_0x4b5d('78')+_0x4c12c4[_0x4b5d('86')](encodeURIComponent,$[_0x4b5d('6a')]));continue;case'4':await _0x4c12c4[_0x4b5d('87')](task,_0x4c12c4[_0x4b5d('88')],_0x4b5d('70')+$[_0x4b5d('44')]+_0x4b5d('78')+_0x4c12c4[_0x4b5d('89')](encodeURIComponent,$[_0x4b5d('6a')]));continue;}break;}}else{$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('8a')]);}}}else{$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('8b')]);}}else{if(_0x4c12c4[_0x4b5d('72')](_0x4c12c4[_0x4b5d('8c')],_0x4c12c4[_0x4b5d('8c')])){$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('8d')]);}else{$[_0x4b5d('17')](_0x4c12c4[_0x4b5d('8e')]);}}}function task(_0x42ef89,_0x1d7a6b,_0x2af24b=0x0){var _0x278657={'beSVH':function(_0x593962,_0x243aae){return _0x593962!==_0x243aae;},'kurxr':_0x4b5d('8f'),'aHHTj':_0x4b5d('90'),'HayBB':_0x4b5d('91'),'xJXFK':_0x4b5d('92'),'BpnyX':_0x4b5d('93'),'qKSWQ':_0x4b5d('94'),'RQfYF':function(_0x51e354,_0x97c187){return _0x51e354+_0x97c187;},'LOSHo':function(_0x531491,_0x43c655){return _0x531491+_0x43c655;},'mBFvt':function(_0x3a0948,_0x3cc0b3){return _0x3a0948+_0x3cc0b3;},'VCNVE':_0x4b5d('95'),'LzAYn':_0x4b5d('5c'),'sOmqE':_0x4b5d('5f'),'Vmsin':_0x4b5d('96'),'lPwMu':_0x4b5d('13'),'adjmT':_0x4b5d('63'),'fWXNx':_0x4b5d('64'),'XoYBU':function(_0x16ad83,_0x1cd0d2){return _0x16ad83===_0x1cd0d2;},'kFXXz':_0x4b5d('97'),'cfxDw':function(_0x4086d0){return _0x4086d0();},'BnzZO':_0x4b5d('e'),'DzoaN':function(_0x19a6e8,_0x5f3abf){return _0x19a6e8===_0x5f3abf;},'vsZUm':_0x4b5d('98'),'vLqmL':function(_0x4918fd,_0x2f83e4,_0xad87c5,_0x1bfc9c){return _0x4918fd(_0x2f83e4,_0xad87c5,_0x1bfc9c);}};return new Promise(_0x4026f8=>{var _0x1e1a35={'ohCap':_0x278657[_0x4b5d('99')]};if(_0x278657[_0x4b5d('9a')](_0x278657[_0x4b5d('9b')],_0x278657[_0x4b5d('9b')])){$[_0x4b5d('9c')](_0x278657[_0x4b5d('9d')](taskUrl,_0x42ef89,_0x1d7a6b,_0x2af24b),async(_0x2f0c51,_0x5c15a1,_0xcb41c)=>{if(_0x278657[_0x4b5d('9e')](_0x278657[_0x4b5d('9f')],_0x278657[_0x4b5d('a0')])){try{if(_0x2f0c51){$[_0x4b5d('17')](_0x2f0c51);}else{if(_0xcb41c){if(_0x278657[_0x4b5d('9e')](_0x278657[_0x4b5d('a1')],_0x278657[_0x4b5d('a2')])){_0xcb41c=JSON[_0x4b5d('a3')](_0xcb41c);if(_0x5c15a1[_0x278657[_0x4b5d('a4')]][_0x278657[_0x4b5d('a5')]]){cookie=originCookie+';';for(let _0x41ff0b of _0x5c15a1[_0x278657[_0x4b5d('a4')]][_0x278657[_0x4b5d('a5')]]){lz_cookie[_0x41ff0b[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](0x0,_0x41ff0b[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='))]=_0x41ff0b[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](_0x278657[_0x4b5d('a7')](_0x41ff0b[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='),0x1));}for(const _0xd5d83c of Object[_0x4b5d('a8')](lz_cookie)){cookie+=_0x278657[_0x4b5d('a9')](_0x278657[_0x4b5d('a9')](_0x278657[_0x4b5d('aa')](_0xd5d83c,'='),lz_cookie[_0xd5d83c]),';');}}if(_0xcb41c[_0x4b5d('ab')]){switch(_0x42ef89){case _0x278657[_0x4b5d('ac')]:console[_0x4b5d('17')](_0xcb41c[_0x4b5d('ad')]);break;case _0x278657[_0x4b5d('ae')]:$[_0x4b5d('af')]=_0xcb41c[_0x4b5d('ad')][_0x4b5d('af')];$[_0x4b5d('6b')]=_0xcb41c[_0x4b5d('ad')][_0x4b5d('6b')];$[_0x4b5d('b0')]=_0xcb41c[_0x4b5d('ad')][_0x4b5d('b1')];$[_0x4b5d('77')]=_0xcb41c[_0x4b5d('ad')][_0x4b5d('77')];break;case _0x278657[_0x4b5d('b2')]:$[_0x4b5d('7f')]=_0xcb41c[_0x4b5d('ad')];console[_0x4b5d('17')](_0x278657[_0x4b5d('aa')](_0x278657[_0x4b5d('b3')],$[_0x4b5d('7f')][_0x4b5d('b4')][0x0][_0x278657[_0x4b5d('b5')]]));break;case _0x278657[_0x4b5d('b6')]:console[_0x4b5d('17')](_0xcb41c[_0x4b5d('ad')]);break;case _0x278657[_0x4b5d('b7')]:console[_0x4b5d('17')](_0xcb41c[_0x4b5d('ad')]);break;default:$[_0x4b5d('17')](JSON[_0x4b5d('b8')](_0xcb41c));break;}}}else{console[_0x4b5d('17')](_0x2f0c51);}}}}catch(_0x220580){if(_0x278657[_0x4b5d('b9')](_0x278657[_0x4b5d('ba')],_0x278657[_0x4b5d('ba')])){$[_0x4b5d('17')](_0x220580);}else{$[_0x4b5d('5a')]();}}finally{_0x278657[_0x4b5d('bb')](_0x4026f8);}}else{$[_0x4b5d('69')]=_0xcb41c[_0x4b5d('69')];}});}else{$[_0x4b5d('12')]($[_0x4b5d('13')],_0x1e1a35[_0x4b5d('bc')],message);}});}function taskUrl(_0x4cf502,_0xdd585e,_0x181fda){var _0x36487e={'JXyxg':_0x4b5d('bd'),'lSMqk':_0x4b5d('be'),'oHSqx':_0x4b5d('bf'),'dqmZn':_0x4b5d('c0'),'rguHp':_0x4b5d('c1'),'YVOgb':_0x4b5d('c2'),'SfzCX':_0x4b5d('c3'),'WmFaU':_0x4b5d('c4')};return{'url':_0x181fda?_0x4b5d('c5')+_0x4cf502:_0x4b5d('c6')+_0x4cf502,'headers':{'Host':_0x36487e[_0x4b5d('c7')],'Accept':_0x36487e[_0x4b5d('c8')],'X-Requested-With':_0x36487e[_0x4b5d('c9')],'Accept-Language':_0x36487e[_0x4b5d('ca')],'Accept-Encoding':_0x36487e[_0x4b5d('cb')],'Content-Type':_0x36487e[_0x4b5d('cc')],'Origin':_0x36487e[_0x4b5d('cd')],'User-Agent':_0x4b5d('ce')+$[_0x4b5d('40')]+_0x4b5d('cf')+$[_0x4b5d('3d')]+_0x4b5d('d0'),'Connection':_0x36487e[_0x4b5d('d1')],'Referer':$[_0x4b5d('45')],'Cookie':cookie},'body':_0xdd585e};}function getMyPing(){var _0x44ae8d={'CBiBT':_0x4b5d('93'),'ZTPGU':_0x4b5d('94'),'euyWR':function(_0x3ca528,_0x44b618){return _0x3ca528+_0x44b618;},'gXGFx':function(_0x589c3b,_0x38715b){return _0x589c3b+_0x38715b;},'nqBCb':function(_0x3c7811,_0xc46cac){return _0x3c7811+_0xc46cac;},'mLXKk':_0x4b5d('66'),'CzrFv':function(_0x417938,_0xdb9c1){return _0x417938===_0xdb9c1;},'DGoYu':_0x4b5d('d2'),'HtaQZ':_0x4b5d('d3'),'TDiEE':_0x4b5d('d4'),'UnxWf':_0x4b5d('d5'),'yylJt':_0x4b5d('d6'),'pZWMX':function(_0xa77602,_0x2c13a6){return _0xa77602+_0x2c13a6;},'KDVSS':function(_0x133fd0,_0x3cf17a){return _0x133fd0+_0x3cf17a;},'DguWk':function(_0x402dc5,_0x587a03){return _0x402dc5!==_0x587a03;},'PrwHN':_0x4b5d('d7'),'zFaov':_0x4b5d('5b'),'IHtxu':_0x4b5d('d8'),'JtGTw':function(_0x4179fc){return _0x4179fc();},'LYofI':function(_0x125cb0,_0x2d2298){return _0x125cb0===_0x2d2298;},'ePFDL':_0x4b5d('65'),'yJjrL':_0x4b5d('bd'),'dkaDS':_0x4b5d('be'),'WIbeP':_0x4b5d('bf'),'WdoBt':_0x4b5d('c0'),'jPgrH':_0x4b5d('c1'),'GgspO':_0x4b5d('c2'),'oWZIm':_0x4b5d('d9'),'WIdRQ':_0x4b5d('c4')};let _0x225199={'url':_0x4b5d('da'),'headers':{'Host':_0x44ae8d[_0x4b5d('db')],'Accept':_0x44ae8d[_0x4b5d('dc')],'X-Requested-With':_0x44ae8d[_0x4b5d('dd')],'Accept-Language':_0x44ae8d[_0x4b5d('de')],'Accept-Encoding':_0x44ae8d[_0x4b5d('df')],'Content-Type':_0x44ae8d[_0x4b5d('e0')],'Origin':_0x44ae8d[_0x4b5d('e1')],'User-Agent':_0x4b5d('ce')+$[_0x4b5d('40')]+_0x4b5d('cf')+$[_0x4b5d('3d')]+_0x4b5d('d0'),'Connection':_0x44ae8d[_0x4b5d('e2')],'Referer':$[_0x4b5d('45')],'Cookie':cookie},'body':_0x4b5d('e3')+$[_0x4b5d('6b')]+_0x4b5d('e4')+$[_0x4b5d('69')]+_0x4b5d('e5')};return new Promise(_0x1c07d8=>{var _0xb17956={'BYyPU':function(_0x36aaa4,_0x1ac5e4){return _0x44ae8d[_0x4b5d('e6')](_0x36aaa4,_0x1ac5e4);},'MZgnQ':_0x44ae8d[_0x4b5d('e7')],'GzldU':_0x44ae8d[_0x4b5d('e8')]};$[_0x4b5d('9c')](_0x225199,(_0x20108c,_0x3b3a7f,_0xc44059)=>{var _0x778e36={'MwTer':_0x44ae8d[_0x4b5d('e9')],'DQeZT':_0x44ae8d[_0x4b5d('ea')],'kyEJK':function(_0x5c94b7,_0x73fb4){return _0x44ae8d[_0x4b5d('eb')](_0x5c94b7,_0x73fb4);},'ooXyi':function(_0x450188,_0x393b95){return _0x44ae8d[_0x4b5d('ec')](_0x450188,_0x393b95);},'yXoTT':function(_0x74ac5f,_0x5e53fe){return _0x44ae8d[_0x4b5d('ed')](_0x74ac5f,_0x5e53fe);},'cXlKd':_0x44ae8d[_0x4b5d('ee')]};try{if(_0x20108c){if(_0x44ae8d[_0x4b5d('ef')](_0x44ae8d[_0x4b5d('f0')],_0x44ae8d[_0x4b5d('f1')])){if(_0x3b3a7f[_0x778e36[_0x4b5d('f2')]][_0x778e36[_0x4b5d('f3')]]){cookie=originCookie+';';for(let _0x3a06fe of _0x3b3a7f[_0x778e36[_0x4b5d('f2')]][_0x778e36[_0x4b5d('f3')]]){lz_cookie[_0x3a06fe[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](0x0,_0x3a06fe[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='))]=_0x3a06fe[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](_0x778e36[_0x4b5d('f4')](_0x3a06fe[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='),0x1));}for(const _0x1dd19a of Object[_0x4b5d('a8')](lz_cookie)){cookie+=_0x778e36[_0x4b5d('f5')](_0x778e36[_0x4b5d('f5')](_0x778e36[_0x4b5d('f6')](_0x1dd19a,'='),lz_cookie[_0x1dd19a]),';');}}}else{$[_0x4b5d('17')](_0x20108c);}}else{if(_0x3b3a7f[_0x44ae8d[_0x4b5d('e9')]][_0x44ae8d[_0x4b5d('ea')]]){if(_0x44ae8d[_0x4b5d('ef')](_0x44ae8d[_0x4b5d('f7')],_0x44ae8d[_0x4b5d('f7')])){cookie=originCookie+';';for(let _0x4786e2 of _0x3b3a7f[_0x44ae8d[_0x4b5d('e9')]][_0x44ae8d[_0x4b5d('ea')]]){if(_0x44ae8d[_0x4b5d('ef')](_0x44ae8d[_0x4b5d('f8')],_0x44ae8d[_0x4b5d('f9')])){$[_0x4b5d('17')](_0x20108c);}else{lz_cookie[_0x4786e2[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](0x0,_0x4786e2[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='))]=_0x4786e2[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](_0x44ae8d[_0x4b5d('fa')](_0x4786e2[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='),0x1));}}for(const _0x399bb6 of Object[_0x4b5d('a8')](lz_cookie)){cookie+=_0x44ae8d[_0x4b5d('fb')](_0x44ae8d[_0x4b5d('fb')](_0x44ae8d[_0x4b5d('fb')](_0x399bb6,'='),lz_cookie[_0x399bb6]),';');}}else{if(_0xc44059){_0xc44059=JSON[_0x4b5d('a3')](_0xc44059);if(_0xb17956[_0x4b5d('fc')](_0xc44059[_0x4b5d('fd')],'0')){$[_0x4b5d('69')]=_0xc44059[_0x4b5d('69')];}}else{$[_0x4b5d('17')](_0xb17956[_0x4b5d('fe')]);}}}if(_0xc44059){_0xc44059=JSON[_0x4b5d('a3')](_0xc44059);if(_0xc44059[_0x4b5d('ab')]){$[_0x4b5d('17')](_0x4b5d('ff')+_0xc44059[_0x4b5d('ad')][_0x4b5d('100')]);$[_0x4b5d('101')]=_0xc44059[_0x4b5d('ad')][_0x4b5d('100')];$[_0x4b5d('6a')]=_0xc44059[_0x4b5d('ad')][_0x4b5d('6a')];}else{if(_0x44ae8d[_0x4b5d('102')](_0x44ae8d[_0x4b5d('103')],_0x44ae8d[_0x4b5d('103')])){$[_0x4b5d('17')](_0xb17956[_0x4b5d('104')]);}else{$[_0x4b5d('17')](_0xc44059[_0x4b5d('105')]);}}}else{$[_0x4b5d('17')](_0x44ae8d[_0x4b5d('e7')]);}}}catch(_0xfad070){if(_0x44ae8d[_0x4b5d('ef')](_0x44ae8d[_0x4b5d('106')],_0x44ae8d[_0x4b5d('106')])){$[_0x4b5d('17')](_0xfad070);}else{$[_0x4b5d('17')](_0x778e36[_0x4b5d('107')]);}}finally{_0x44ae8d[_0x4b5d('108')](_0x1c07d8);}});});}function getFirstLZCK(){var _0xa8318a={'iiyUM':_0x4b5d('5b'),'LdFXP':function(_0x73433,_0x136ae0){return _0x73433===_0x136ae0;},'lLSXh':_0x4b5d('109'),'iGjqc':function(_0x5a1062,_0x27ae23){return _0x5a1062===_0x27ae23;},'bNxQE':_0x4b5d('10a'),'sFhfs':_0x4b5d('10b'),'AJvIX':function(_0x503a4b,_0x26bb3a){return _0x503a4b!==_0x26bb3a;},'DhxUF':_0x4b5d('10c'),'Kufpv':_0x4b5d('10d'),'QgdJT':function(_0x5b654b,_0x380d47){return _0x5b654b===_0x380d47;},'zxsik':_0x4b5d('10e'),'AtufH':_0x4b5d('93'),'RmeUb':_0x4b5d('94'),'YNwic':function(_0x58e593,_0x1f7999){return _0x58e593!==_0x1f7999;},'KutqA':_0x4b5d('10f'),'ajlXG':_0x4b5d('110'),'yBbgy':function(_0x256c5b,_0x5ace2d){return _0x256c5b+_0x5ace2d;},'Ouvyj':function(_0x420d37,_0x1f9a5a){return _0x420d37+_0x1f9a5a;},'kKCdQ':_0x4b5d('111'),'uUeqI':function(_0x4a1b3d){return _0x4a1b3d();},'bHMzJ':_0x4b5d('bd'),'kRwzD':_0x4b5d('be'),'NFYsb':_0x4b5d('bf'),'hFDte':_0x4b5d('c0'),'NlqFo':_0x4b5d('c1'),'pNlNF':_0x4b5d('c2'),'GWsQG':_0x4b5d('c3'),'fjfAo':_0x4b5d('c4'),'Mngbo':function(_0x3cb375,_0x3cc59c){return _0x3cb375(_0x3cc59c);},'ceaMi':_0x4b5d('112'),'DxMWU':_0x4b5d('113'),'SlipO':_0x4b5d('114')};return new Promise(_0x5321dc=>{var _0x397048={'mouVi':function(_0x319a0e,_0x5494cb){return _0xa8318a[_0x4b5d('115')](_0x319a0e,_0x5494cb);},'dXZBZ':_0xa8318a[_0x4b5d('116')],'PCkdv':_0xa8318a[_0x4b5d('117')],'FjynJ':_0xa8318a[_0x4b5d('118')],'NnyHe':_0xa8318a[_0x4b5d('119')],'YaLIi':_0xa8318a[_0x4b5d('11a')],'dTgoJ':_0xa8318a[_0x4b5d('11b')],'nPkXj':_0xa8318a[_0x4b5d('11c')],'Thelj':_0xa8318a[_0x4b5d('11d')]};$[_0x4b5d('11e')]({'url':$[_0x4b5d('45')],'headers':{'user-agent':$[_0x4b5d('38')]()?process[_0x4b5d('11f')][_0x4b5d('120')]?process[_0x4b5d('11f')][_0x4b5d('120')]:_0xa8318a[_0x4b5d('121')](require,_0xa8318a[_0x4b5d('122')])[_0x4b5d('123')]:$[_0x4b5d('124')](_0xa8318a[_0x4b5d('125')])?$[_0x4b5d('124')](_0xa8318a[_0x4b5d('125')]):_0xa8318a[_0x4b5d('126')]}},(_0x79556c,_0x370b2a,_0x111f9d)=>{var _0x5dd97e={'hADRx':_0xa8318a[_0x4b5d('127')],'PwxzA':function(_0x5e5410,_0x532f0d){return _0xa8318a[_0x4b5d('128')](_0x5e5410,_0x532f0d);},'dETgC':_0xa8318a[_0x4b5d('129')],'BxLeN':function(_0x24616c,_0xbf7eb8){return _0xa8318a[_0x4b5d('12a')](_0x24616c,_0xbf7eb8);},'eyjgA':_0xa8318a[_0x4b5d('12b')]};if(_0xa8318a[_0x4b5d('12a')](_0xa8318a[_0x4b5d('12c')],_0xa8318a[_0x4b5d('12c')])){try{if(_0xa8318a[_0x4b5d('12d')](_0xa8318a[_0x4b5d('12e')],_0xa8318a[_0x4b5d('12f')])){if(_0x79556c){console[_0x4b5d('17')](_0x79556c);}else{if(_0xa8318a[_0x4b5d('130')](_0xa8318a[_0x4b5d('131')],_0xa8318a[_0x4b5d('131')])){if(_0x370b2a[_0xa8318a[_0x4b5d('132')]][_0xa8318a[_0x4b5d('133')]]){if(_0xa8318a[_0x4b5d('134')](_0xa8318a[_0x4b5d('135')],_0xa8318a[_0x4b5d('136')])){cookie=originCookie+';';for(let _0x299aff of _0x370b2a[_0xa8318a[_0x4b5d('132')]][_0xa8318a[_0x4b5d('133')]]){lz_cookie[_0x299aff[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](0x0,_0x299aff[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='))]=_0x299aff[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](_0xa8318a[_0x4b5d('137')](_0x299aff[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='),0x1));}for(const _0x978858 of Object[_0x4b5d('a8')](lz_cookie)){cookie+=_0xa8318a[_0x4b5d('137')](_0xa8318a[_0x4b5d('115')](_0xa8318a[_0x4b5d('115')](_0x978858,'='),lz_cookie[_0x978858]),';');}}else{lz_cookie[sk[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](0x0,sk[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='))]=sk[_0x4b5d('81')](';')[0x0][_0x4b5d('a6')](_0x397048[_0x4b5d('138')](sk[_0x4b5d('81')](';')[0x0][_0x4b5d('28')]('='),0x1));}}}else{return{'url':isCommon?_0x4b5d('c5')+function_id:_0x4b5d('c6')+function_id,'headers':{'Host':_0x397048[_0x4b5d('139')],'Accept':_0x397048[_0x4b5d('13a')],'X-Requested-With':_0x397048[_0x4b5d('13b')],'Accept-Language':_0x397048[_0x4b5d('13c')],'Accept-Encoding':_0x397048[_0x4b5d('13d')],'Content-Type':_0x397048[_0x4b5d('13e')],'Origin':_0x397048[_0x4b5d('13f')],'User-Agent':_0x4b5d('ce')+$[_0x4b5d('40')]+_0x4b5d('cf')+$[_0x4b5d('3d')]+_0x4b5d('d0'),'Connection':_0x397048[_0x4b5d('140')],'Referer':$[_0x4b5d('45')],'Cookie':cookie},'body':body};}}}else{$[_0x4b5d('17')](_0x79556c);}}catch(_0x71d64f){console[_0x4b5d('17')](_0x71d64f);}finally{if(_0xa8318a[_0x4b5d('134')](_0xa8318a[_0x4b5d('141')],_0xa8318a[_0x4b5d('141')])){$[_0x4b5d('17')](_0x5dd97e[_0x4b5d('142')]);}else{_0xa8318a[_0x4b5d('143')](_0x5321dc);}}}else{_0x111f9d=JSON[_0x4b5d('a3')](_0x111f9d);if(_0x5dd97e[_0x4b5d('144')](_0x111f9d[_0x4b5d('145')],_0x5dd97e[_0x4b5d('146')])){$[_0x4b5d('25')]=![];return;}if(_0x5dd97e[_0x4b5d('147')](_0x111f9d[_0x4b5d('145')],'0')&&_0x111f9d[_0x4b5d('ad')][_0x4b5d('148')](_0x5dd97e[_0x4b5d('149')])){$[_0x4b5d('26')]=_0x111f9d[_0x4b5d('ad')][_0x4b5d('10a')][_0x4b5d('14a')][_0x4b5d('100')];}}});});}function getToken(){var _0x6cdd9={'wrwGB':_0x4b5d('68'),'JCFry':function(_0x5a4d29,_0x4e6ac9){return _0x5a4d29===_0x4e6ac9;},'qxgtO':_0x4b5d('14b'),'HtKro':_0x4b5d('5b'),'ELygs':_0x4b5d('14c'),'KwekX':function(_0x41d554){return _0x41d554();},'tFXjY':_0x4b5d('14d'),'gWEZm':_0x4b5d('c2'),'hblrC':_0x4b5d('14e'),'fpcZq':_0x4b5d('c4'),'UUgcA':_0x4b5d('14f'),'otEcP':_0x4b5d('150'),'iMmmx':_0x4b5d('c1')};let _0x26a295={'url':_0x4b5d('151'),'headers':{'Host':_0x6cdd9[_0x4b5d('152')],'Content-Type':_0x6cdd9[_0x4b5d('153')],'Accept':_0x6cdd9[_0x4b5d('154')],'Connection':_0x6cdd9[_0x4b5d('155')],'Cookie':cookie,'User-Agent':_0x6cdd9[_0x4b5d('156')],'Accept-Language':_0x6cdd9[_0x4b5d('157')],'Accept-Encoding':_0x6cdd9[_0x4b5d('158')]},'body':_0x4b5d('159')};return new Promise(_0x3dac20=>{var _0x4d9f91={'UCKqy':_0x6cdd9[_0x4b5d('15a')],'qhAyU':function(_0x5a7a7e,_0x1983d4){return _0x6cdd9[_0x4b5d('15b')](_0x5a7a7e,_0x1983d4);},'vxbmS':_0x6cdd9[_0x4b5d('15c')],'TIFDy':function(_0xf0e8e8,_0x7ef106){return _0x6cdd9[_0x4b5d('15b')](_0xf0e8e8,_0x7ef106);},'VtomZ':_0x6cdd9[_0x4b5d('15d')],'tAmEb':function(_0x39dc51,_0x2f65dc){return _0x6cdd9[_0x4b5d('15b')](_0x39dc51,_0x2f65dc);},'eUNpu':_0x6cdd9[_0x4b5d('15e')],'ujeFg':function(_0x1e2b85){return _0x6cdd9[_0x4b5d('15f')](_0x1e2b85);}};$[_0x4b5d('9c')](_0x26a295,(_0x3d2e9a,_0x10bfdf,_0x288b9e)=>{var _0x552408={'qVNqo':_0x4d9f91[_0x4b5d('160')]};if(_0x4d9f91[_0x4b5d('161')](_0x4d9f91[_0x4b5d('162')],_0x4d9f91[_0x4b5d('162')])){try{if(_0x3d2e9a){$[_0x4b5d('17')](_0x3d2e9a);}else{if(_0x288b9e){_0x288b9e=JSON[_0x4b5d('a3')](_0x288b9e);if(_0x4d9f91[_0x4b5d('163')](_0x288b9e[_0x4b5d('fd')],'0')){$[_0x4b5d('69')]=_0x288b9e[_0x4b5d('69')];}}else{$[_0x4b5d('17')](_0x4d9f91[_0x4b5d('164')]);}}}catch(_0xf5dfad){$[_0x4b5d('17')](_0xf5dfad);}finally{if(_0x4d9f91[_0x4b5d('165')](_0x4d9f91[_0x4b5d('166')],_0x4d9f91[_0x4b5d('166')])){_0x4d9f91[_0x4b5d('167')](_0x3dac20);}else{$[_0x4b5d('17')](_0x288b9e[_0x4b5d('105')]);}}}else{$[_0x4b5d('17')](_0x552408[_0x4b5d('168')]);}});});}function random(_0x4e6e63,_0x2d84ac){var _0x207301={'xaHYH':function(_0x106c63,_0x3cb826){return _0x106c63+_0x3cb826;},'SWHKd':function(_0x56b1d5,_0x11bb41){return _0x56b1d5*_0x11bb41;},'yTwTo':function(_0x13c696,_0x4257b0){return _0x13c696-_0x4257b0;}};return _0x207301[_0x4b5d('169')](Math[_0x4b5d('31')](_0x207301[_0x4b5d('16a')](Math[_0x4b5d('33')](),_0x207301[_0x4b5d('16b')](_0x2d84ac,_0x4e6e63))),_0x4e6e63);}function getUUID(_0xb2df97=_0x4b5d('c'),_0x2c4e4b=0x0){var _0x4c695c={'ruXRQ':function(_0x44427d,_0x44fb7f){return _0x44427d|_0x44fb7f;},'FlZqa':function(_0x118b23,_0xdc37e4){return _0x118b23*_0xdc37e4;},'dmCny':function(_0x19a575,_0x1af765){return _0x19a575==_0x1af765;},'LxXjK':function(_0x42bb2d,_0x5d394b){return _0x42bb2d&_0x5d394b;},'aqtnG':function(_0x441692,_0x3405e3){return _0x441692!==_0x3405e3;},'enLtO':_0x4b5d('16c'),'GtJVp':_0x4b5d('16d')};return _0xb2df97[_0x4b5d('51')](/[xy]/g,function(_0x33d5b6){var _0x532dd8=_0x4c695c[_0x4b5d('16e')](_0x4c695c[_0x4b5d('16f')](Math[_0x4b5d('33')](),0x10),0x0),_0x2e7d46=_0x4c695c[_0x4b5d('170')](_0x33d5b6,'x')?_0x532dd8:_0x4c695c[_0x4b5d('16e')](_0x4c695c[_0x4b5d('171')](_0x532dd8,0x3),0x8);if(_0x2c4e4b){if(_0x4c695c[_0x4b5d('172')](_0x4c695c[_0x4b5d('173')],_0x4c695c[_0x4b5d('174')])){uuid=_0x2e7d46[_0x4b5d('55')](0x24)[_0x4b5d('56')]();}else{$[_0x4b5d('17')](error);}}else{uuid=_0x2e7d46[_0x4b5d('55')](0x24);}return uuid;});}function checkCookie(){var _0x23a512={'urDzp':function(_0x15f3e9,_0x35680d){return _0x15f3e9|_0x35680d;},'IiVmJ':function(_0x4c6d62,_0x9d7d76){return _0x4c6d62*_0x9d7d76;},'QLDeJ':function(_0x2e2a91,_0x2d8611){return _0x2e2a91==_0x2d8611;},'vYnzy':function(_0x9e81ad,_0x1d38d5){return _0x9e81ad&_0x1d38d5;},'WWsZI':function(_0x35d929,_0x4ce5f2){return _0x35d929!==_0x4ce5f2;},'tARdq':_0x4b5d('175'),'kTkDa':function(_0x597fac,_0x9fc6dd){return _0x597fac===_0x9fc6dd;},'GHKBW':_0x4b5d('109'),'GzNST':_0x4b5d('176'),'GgOsj':function(_0x4f57a8,_0x4ad1e5){return _0x4f57a8===_0x4ad1e5;},'reFLd':_0x4b5d('10a'),'GERLp':_0x4b5d('5b'),'ZDgaN':_0x4b5d('177'),'OIZej':function(_0xb7ef08){return _0xb7ef08();},'JZUfX':_0x4b5d('178'),'PVoXE':_0x4b5d('179'),'xxJea':_0x4b5d('14e'),'JlRnX':_0x4b5d('c4'),'lHKjr':_0x4b5d('17a'),'AFicJ':_0x4b5d('c0'),'jXCkM':_0x4b5d('17b'),'nZLSK':_0x4b5d('c1')};const _0x644111={'url':_0x23a512[_0x4b5d('17c')],'headers':{'Host':_0x23a512[_0x4b5d('17d')],'Accept':_0x23a512[_0x4b5d('17e')],'Connection':_0x23a512[_0x4b5d('17f')],'Cookie':cookie,'User-Agent':_0x23a512[_0x4b5d('180')],'Accept-Language':_0x23a512[_0x4b5d('181')],'Referer':_0x23a512[_0x4b5d('182')],'Accept-Encoding':_0x23a512[_0x4b5d('183')]}};return new Promise(_0x5adc1d=>{$[_0x4b5d('11e')](_0x644111,(_0x94af08,_0x49cf0a,_0x3aa8cc)=>{var _0x208365={'wtDVN':function(_0x1ae863,_0x209190){return _0x23a512[_0x4b5d('184')](_0x1ae863,_0x209190);},'JkMhn':function(_0x39b246,_0x270f24){return _0x23a512[_0x4b5d('185')](_0x39b246,_0x270f24);},'WpOKX':function(_0x4b77fb,_0x4b842e){return _0x23a512[_0x4b5d('186')](_0x4b77fb,_0x4b842e);},'gIWiI':function(_0x4b12d2,_0x3e0b3f){return _0x23a512[_0x4b5d('187')](_0x4b12d2,_0x3e0b3f);}};try{if(_0x94af08){$[_0x4b5d('188')](_0x94af08);}else{if(_0x23a512[_0x4b5d('189')](_0x23a512[_0x4b5d('18a')],_0x23a512[_0x4b5d('18a')])){message+=_0x4b5d('4a')+$[_0x4b5d('23')]+'】'+($[_0x4b5d('26')]||$[_0x4b5d('20')])+_0x4b5d('4b')+$[_0x4b5d('3c')]+_0x4b5d('4c');}else{if(_0x3aa8cc){_0x3aa8cc=JSON[_0x4b5d('a3')](_0x3aa8cc);if(_0x23a512[_0x4b5d('18b')](_0x3aa8cc[_0x4b5d('145')],_0x23a512[_0x4b5d('18c')])){if(_0x23a512[_0x4b5d('18b')](_0x23a512[_0x4b5d('18d')],_0x23a512[_0x4b5d('18d')])){$[_0x4b5d('25')]=![];return;}else{var _0x3a3fc1=_0x208365[_0x4b5d('18e')](_0x208365[_0x4b5d('18f')](Math[_0x4b5d('33')](),0x10),0x0),_0xabc993=_0x208365[_0x4b5d('190')](c,'x')?_0x3a3fc1:_0x208365[_0x4b5d('18e')](_0x208365[_0x4b5d('191')](_0x3a3fc1,0x3),0x8);if(UpperCase){uuid=_0xabc993[_0x4b5d('55')](0x24)[_0x4b5d('56')]();}else{uuid=_0xabc993[_0x4b5d('55')](0x24);}return uuid;}}if(_0x23a512[_0x4b5d('192')](_0x3aa8cc[_0x4b5d('145')],'0')&&_0x3aa8cc[_0x4b5d('ad')][_0x4b5d('148')](_0x23a512[_0x4b5d('193')])){$[_0x4b5d('26')]=_0x3aa8cc[_0x4b5d('ad')][_0x4b5d('10a')][_0x4b5d('14a')][_0x4b5d('100')];}}else{$[_0x4b5d('17')](_0x23a512[_0x4b5d('194')]);}}}}catch(_0x1eb4b0){$[_0x4b5d('188')](_0x1eb4b0);}finally{if(_0x23a512[_0x4b5d('192')](_0x23a512[_0x4b5d('195')],_0x23a512[_0x4b5d('195')])){_0x23a512[_0x4b5d('196')](_0x5adc1d);}else{console[_0x4b5d('17')](error);}}});});};_0xodX='jsjiami.com.v6';
// prettier-ignore
!function (n) { "use strict"; function t(n, t) { var r = (65535 & n) + (65535 & t); return (n >> 16) + (t >> 16) + (r >> 16) << 16 | 65535 & r } function r(n, t) { return n << t | n >>> 32 - t } function e(n, e, o, u, c, f) { return t(r(t(t(e, n), t(u, f)), c), o) } function o(n, t, r, o, u, c, f) { return e(t & r | ~t & o, n, t, u, c, f) } function u(n, t, r, o, u, c, f) { return e(t & o | r & ~o, n, t, u, c, f) } function c(n, t, r, o, u, c, f) { return e(t ^ r ^ o, n, t, u, c, f) } function f(n, t, r, o, u, c, f) { return e(r ^ (t | ~o), n, t, u, c, f) } function i(n, r) { n[r >> 5] |= 128 << r % 32, n[14 + (r + 64 >>> 9 << 4)] = r; var e, i, a, d, h, l = 1732584193, g = -271733879, v = -1732584194, m = 271733878; for (e = 0; e < n.length; e += 16)i = l, a = g, d = v, h = m, g = f(g = f(g = f(g = f(g = c(g = c(g = c(g = c(g = u(g = u(g = u(g = u(g = o(g = o(g = o(g = o(g, v = o(v, m = o(m, l = o(l, g, v, m, n[e], 7, -680876936), g, v, n[e + 1], 12, -389564586), l, g, n[e + 2], 17, 606105819), m, l, n[e + 3], 22, -1044525330), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 4], 7, -176418897), g, v, n[e + 5], 12, 1200080426), l, g, n[e + 6], 17, -1473231341), m, l, n[e + 7], 22, -45705983), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 8], 7, 1770035416), g, v, n[e + 9], 12, -1958414417), l, g, n[e + 10], 17, -42063), m, l, n[e + 11], 22, -1990404162), v = o(v, m = o(m, l = o(l, g, v, m, n[e + 12], 7, 1804603682), g, v, n[e + 13], 12, -40341101), l, g, n[e + 14], 17, -1502002290), m, l, n[e + 15], 22, 1236535329), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 1], 5, -165796510), g, v, n[e + 6], 9, -1069501632), l, g, n[e + 11], 14, 643717713), m, l, n[e], 20, -373897302), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 5], 5, -701558691), g, v, n[e + 10], 9, 38016083), l, g, n[e + 15], 14, -660478335), m, l, n[e + 4], 20, -405537848), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 9], 5, 568446438), g, v, n[e + 14], 9, -1019803690), l, g, n[e + 3], 14, -187363961), m, l, n[e + 8], 20, 1163531501), v = u(v, m = u(m, l = u(l, g, v, m, n[e + 13], 5, -1444681467), g, v, n[e + 2], 9, -51403784), l, g, n[e + 7], 14, 1735328473), m, l, n[e + 12], 20, -1926607734), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 5], 4, -378558), g, v, n[e + 8], 11, -2022574463), l, g, n[e + 11], 16, 1839030562), m, l, n[e + 14], 23, -35309556), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 1], 4, -1530992060), g, v, n[e + 4], 11, 1272893353), l, g, n[e + 7], 16, -155497632), m, l, n[e + 10], 23, -1094730640), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 13], 4, 681279174), g, v, n[e], 11, -358537222), l, g, n[e + 3], 16, -722521979), m, l, n[e + 6], 23, 76029189), v = c(v, m = c(m, l = c(l, g, v, m, n[e + 9], 4, -640364487), g, v, n[e + 12], 11, -421815835), l, g, n[e + 15], 16, 530742520), m, l, n[e + 2], 23, -995338651), v = f(v, m = f(m, l = f(l, g, v, m, n[e], 6, -198630844), g, v, n[e + 7], 10, 1126891415), l, g, n[e + 14], 15, -1416354905), m, l, n[e + 5], 21, -57434055), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 12], 6, 1700485571), g, v, n[e + 3], 10, -1894986606), l, g, n[e + 10], 15, -1051523), m, l, n[e + 1], 21, -2054922799), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 8], 6, 1873313359), g, v, n[e + 15], 10, -30611744), l, g, n[e + 6], 15, -1560198380), m, l, n[e + 13], 21, 1309151649), v = f(v, m = f(m, l = f(l, g, v, m, n[e + 4], 6, -145523070), g, v, n[e + 11], 10, -1120210379), l, g, n[e + 2], 15, 718787259), m, l, n[e + 9], 21, -343485551), l = t(l, i), g = t(g, a), v = t(v, d), m = t(m, h); return [l, g, v, m] } function a(n) { var t, r = "", e = 32 * n.length; for (t = 0; t < e; t += 8)r += String.fromCharCode(n[t >> 5] >>> t % 32 & 255); return r } function d(n) { var t, r = []; for (r[(n.length >> 2) - 1] = void 0, t = 0; t < r.length; t += 1)r[t] = 0; var e = 8 * n.length; for (t = 0; t < e; t += 8)r[t >> 5] |= (255 & n.charCodeAt(t / 8)) << t % 32; return r } function h(n) { return a(i(d(n), 8 * n.length)) } function l(n, t) { var r, e, o = d(n), u = [], c = []; for (u[15] = c[15] = void 0, o.length > 16 && (o = i(o, 8 * n.length)), r = 0; r < 16; r += 1)u[r] = 909522486 ^ o[r], c[r] = 1549556828 ^ o[r]; return e = i(u.concat(d(t)), 512 + 8 * t.length), a(i(c.concat(e), 640)) } function g(n) { var t, r, e = ""; for (r = 0; r < n.length; r += 1)t = n.charCodeAt(r), e += "0123456789abcdef".charAt(t >>> 4 & 15) + "0123456789abcdef".charAt(15 & t); return e } function v(n) { return unescape(encodeURIComponent(n)) } function m(n) { return h(v(n)) } function p(n) { return g(m(n)) } function s(n, t) { return l(v(n), v(t)) } function C(n, t) { return g(s(n, t)) } function A(n, t, r) { return t ? r ? s(t, n) : C(t, n) : r ? m(n) : p(n) } $.md5 = A }(this);
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) }