forked from Ohtenare/zoo-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zooOpencard03.js
20 lines (20 loc) · 58.6 KB
/
zooOpencard03.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
* Author:Panda
* Date:2021-06-04
* Version:1.0
* Url:https://raw.githubusercontent.com/zooPanda/zoo/dev/zooOpencard03.js
*
* 纯开卡 大牌强联合好物提前购
* 活动地址:https://lzdz1-isv.isvjcloud.com/dingzhi/dz/openCard/activity?activityId=2461070dbc7911ebaa2cfa163ef0effc
* 活动时间:截止2021-06-10
* 账号1默认助力Panda,后续账号助力账号1,如账号1无法正常获取到参数,则所有账号均助力Panda
*
* 环境变量:
* - export ZOO_ADD2CART="true" //默认不加购商品
*/
const $ = new Env("大牌强联合好物提前购");
const ZOO_ADD2CART = $.isNode() ? process.env.ZOO_ADD2CART || 'false' : 'false'
var _0xoda='zoo.20210604',_0x420d=[_0xoda,'wpPCtsK/XcK+Pk0hw4rChCTDusO+CsOYXCHDlMOFBkRZw4tpDxRqw54l','w4ZLD8O1wqXCtMK2YDnCjw==','w59tXsOubw==','wqA9Zy7Ds2fDpcKJSMO3OA==','JcONM0VxwqV9QG3Cvg==','QhjCjnUp','w5VsbcO2Zy0da8O/','eR3DiEHCjAvDgsKA','w7nCkMKALzDDpA==','w5TCoMKhTMKpHGcgwpPDhw==','wqdhw4Igw6M=','w5PCk3bDrUxywoPDs8KTAD4=','wqA9Zy7Ds2fDpcKJSMO3','w7nCn8KKODTCqwcGHBdV','wp1Xwp/DmQjDhcKzd0Q=','wqvDt8KRwr0UJR8Iw5fCv8OJ','wpPCgsKiK8KWw5rDnyrClcKE','w77CuWXDpk0=','wpNIw7bDhMOANsKTSMK2','YsKIRw==','w7ciwrXCjlMiQ8KWfsKaw5dGwqF+XQ==','JcO9G23DlsOzDE/Cm8K4','PgHDjXzCsQfDkcOIwo4=','w77DvMK4wror','LX89VRt7FEDCmQ8x','w5TCh8K/LcOE','w7rDnMKwwrMfw4bDsMOXwrrDp8KN','w6gRABYJw5kJwqwLRAImO1DDgHzClcOdYsOmasOjw6QGUzrCmcOOCcKcNlbCixfCowAibA3DqljCg3nCvg==','5bat57qi5YeS5rOH6LyC5Lugwq8=','w6k8ZcOPLw==','w5DCscORW8Kn','ZmfCnMOs','FgDCinNf','YkPCkk7Ds8KiwrQ3IA==','KgwgFUQ=','w6NWXcKswo/DuXfCijzDqw==','w7rDjcK6wqlN','LS8vME/CknhvEw==','KMKGQzYvw4rDtz02c8OM','w7nCisKIPzDCjSsDEE5aWABTI8O/Qw/CjMKYR1HCvMOREMOpVMORwqY=','CMO1wr4=','wpYIwq0=','WMKxOWbCiA==','wo9XwoTDhB/CoQ==','w5wtb8OpOw==','w4BwaMKWwo4=','clvDiRHCgsO1wpVwXg==','w4Zdw7zDmMKY','wokCwqlfR8KSFcOuEg==','KSslNg==','I2wsUi5zEl3Cgx9twqBNwrE=','fcKETzAlwoo=','w6wbecOXNUhCMcKHcC0=','wp1Xwp/DnwzDucKyZ2lP','w4xFw5I/w5Y2wo0mw5YlOQ==','wqkBw47Ch8KtBCrCjWU=','w5wXwqNDHw==','wrsWaj7Dkg==','w5TCg8KvM8KcwpXCrg==','w5FoZ8Ow','B8K2w6E=','S+WKgOWFs+W7temRs+S8vuWTuw==','JkTCnB3DnsOJw4zCjVXCq14aw7Qq','IMOzBWXDtcOtLFPDhQ==','w6XCo8OKR8KnDg==','CMK2w6g0CMON','w6IIaMOQAEBELMKdYHHCrcK3w7E=','UsOTw6BpQyhfTcKG','J0l6FsOsVg==','WcK5Qg7DgsOD','wpBRwoXDkQ7DuA==','w57Cn2U=','woxCw7I=','MQzDjEo=','w5Ibw4/CqMKp','EMK/SsOVw6I=','EsO7wrUSwoU=','w4gDw4/CnsK7','KCsgN08=','ZsKWdFpwwrrDuhcWfMKBwrITw7DCusKWFsKg','ZVnDkQvClQ==','wowGwqZYRw==','TsK8QcKKw4s/','XMKsTw/Dkg==','T8K8RMKL','B8Kgw6oUHg==','J8OoWG7DicOhMWTClcK6UcKhCMO1wrdnMsKww5suXsOFwod1cQ==','wpsEwr5EVMKPMcO+NcO0UQ==','wqsZbsOKLFNjPcKncC0=','w7nCjcKBLSnCvAcGHBdV','wphJbjTCqw==','S8K4TsKNw4t5w6/CmcOJ','w6EgwqjCkw==','FXsuYiTDpw==','w5UPWcOLJA==','Pyk4K1zCj1x/NC3Clw==','B8K9UsOPw7XCgnlawp0=','NUjDlBDDjQ==','w74dbsOMJlVmIcKg','ZcOmDnHDnMK5bg==','BMKpw6M5KsOYZcKrw4N+R8OmMxg=','N8ONKF5iw74=','w5PCk3bDrUxywoPDs8KTAA==','c3bCncOmbhXCssKcw7s=','QGgofnw=','w6F7w6oUwqXCi23DkMKO','5rOK5p+Q6Iyx5Y6B5YmZ5a2A5bqD55mL5Lmr5Yqr44Ckwpg=','w6BJwr5qwow=','VUXDug==','C8KcZMOYw6Q=','5rOH5pyR5omR5YqP6I+25YyA5Ymk55eA5omW6Yqn5p+r5L2K5oG1','LcOAM0l1wq1qTU3CtVzCmTkDwqnDpDA3w57DvAfClsKEV8Oqw7fDpXLDsy1FwqrDsA==','w4JzIcOrcjwjQcOww7PCh8Kow57Cpw/DtXFaPMKbw6HDpBRmIDN2','ZBnDlF7CsMKFwpPDhCvDshJDwqx0w7PDjStOw4Y=','NTQzwqrCtsOAN8OZw4fCt8KUb8Oewr/Di8KQWR/DlibCvcORP8KcdQ==','w45WdC4=','SUvDryDDuA==','w64KYMKRM0BRLcKYfWPCsMK2wq08BMONwqdPw4kSwqRrwptcFcKJUsKPNErCkQ==','wojCncKVTFM=','LMOoD8OOwq5fHcKrwptUFTQ=','wpjCicKURg==','DgzCpnhgw7LCkgzDhMOuH8K4','OwzDlU4=','w6DCssOFV8K3DykM','w6nDpcKNwr0=','wqPDpn3DnVs=','wr/DvV7Dkw==','cMKTf3lawr/DgR42eMKQwo4Xw7U=','wpswDAdvwrvDvcKT','wqvDtUTDu3LDgw==','KH09XQ==','JhjDj2LCrALDrMOQwpzCnQQqwrA5','w6QWacObOw==','NS9owqQ=','V0PDvjjDsw4Xw7o=','wpBEw7vDv8OIJQ==','fsKOTg==','w6kZecOf','MMOfJW9M','wrTDnMKgwoIew5A=','wp7CmMKx','5b+85ZCb44O7','UMORw6ZkeShYQMO6wqfCtGc=','44OQ5rWl5Yq7','wrIpXzHDgA==','w65ewrVIwpo=','w7N9w70PwrbClknDgMKjw5bCkcKDw5DCg8Ka','w7fCtMOfXMKgKBUBGQ==','w6zDp8KNwrMUFT8Uw5o=','5raO5Ym95bSn57ur57iV5pyx','OjBjLVrCg0ZFHDvDjhnDvkwdwo3Dr8KfbcKk','AmJufzHCszrCqwDCocOMwoR8fAFUAg43w6Ygw5k=','w5bCkXbDpQ==','w6zDoMKdwp4DISQzw4vCtg==','CsKxQQ==','w7LCtsOfUg==','44O75LqI6LO3','w6txN8O0wqE=','wqEVBAshw6wCwrg9DVFhaFc=','AMO7wq0G','wp4Gwr5M','ckvDjhfCg8OUwqJ8W0XCm8KXLA==','VMKySg==','6Iy15b6i44C5','w4d6fcOtcS0PZ8Oww6/CrcOyw5I=','44G15LuE6LKh','w6ZUXcKk','Z13Cn2rDiMKo','6IyR5b6e44Ce','d1nDiR8=','wp4Vwqtaa8KII8OoKMOpHBo=','GMK8w6gzJ8OWY8Kmw7Zz','w6lRwrxI','w5vCnmbDoUI=','wq83cCzDi2/DvMKV','w6tKYijDmATDn0Y=','L0F7Bw==','44GOZ+a2muWKh+mQu+aPg+++vw==','wo3ohKrmn73lhaDot5vkv4vnlJzvvJTorIDliqvlnb/lpLfpmLTlnoblj5/nm6Llk7TnsqHluaHljZ7kvr3mkYbjgIfCpeWJj+eJruWarO+8mxgbTWzCkSTCpHEgwqLDnsODSsOvVWMGKsOibMOgVsKlw5YD5Lqw5Lm85Lis5LuG57i05Y6C7724HMKyTcKtw7PCpVIYR8Kzwo7DinEnEULCpMK+w7k3b8K/LMOJwp3Dieatm+aUpeS4v+aurumineWOqOe7h+WOteeauOacjeS+hcOy','CRvCgA==','w6EXag==','w6XCo8OZWsK8GgkOBA==','L8O9EA==','5LmQ5Lio5rGK5p6/6L6u5ZmO5pa25o2w','f1fDmg==','w5jDmMO8','w4/CvcO4R8Ko','w459esO0cWNiLcOww7HCisKpw5LDqhHDuClQJ8KPwo3DqBZ7IDN2Xmd6acK1d2MhJcODNsOVRMOYw5Uow6LCgDnCjSHDjTQRMyRKw7w/w7pgwpUiw5VQaARTNsKww61swqTDgcKAQsOvATLCrcKYB3HCt2UvS27DvVRjK202VQ==','IjpuwqzCqMOCMMO8w58=','woNKw7HDhsO1','wq8ywoNp','XcKzScOEw6LCuyNawqnClUdOwpfDt8ObeMKMWsK7wpzCnVHCmg/Ctz7ChcKZMQjCq8OVwpw/wrlBw6ZXeHrCt3sucMOFQ0Z+w5s+C8ODG8KMJBnCi8K9R03DpsKIw7RRwpfCiyTCrMO3MsOOw53DtCNgf2lzbsKBEXXCjsOkDy0QM0dSRnNzKXnCicO9wp3CgHUoJi1XbDXCvkFJO8OQWXJowpnDjX/DlMKxFcKww7zClAzCscOVWMKow4/CosODRsO4OU/DscKEwrsjY2PCkmDCjQ0ORsKFwosaFk7DocKyK8KMA0LClcOrFcKHW8Kkwq9kw67Dr8Krf3lpwqLDjcOLasOTwqISWXsFQjHCtwJhw4LDuw7CgA==','wrPDqF7DgmzCnn/DsMOlw6MubMKpw4LCrsKQwoYtw6JrwrdxwrPCu0Qrwqh+wrXCpFrCmyDCqsOnw5jCnHfCnUTDosKndMKewrnDrsKI','w510w4wkwrc=','w7ciwrXCjlMiQ8KWaMKHw5U=','dELDlA7DnMKAwoR8XEfCtMKWJBoPBMKg','Xk/DqQ==','w5dfCcOuwq8=','w77DscKawr8DMzk=','wo7CjcKTUnY3','w45QD8O4wrjCo8KGey7Co8KkAcKl','BQvCk3Jiw7LCkBzDucOz','PSF7','NS8pMgfCh0RvCyw=','wpvCksKJVzZjw6g1w6E8w4nDvSLCssOawqY3','wrfCisKdPCjDo31cFAMBUBkcOsOwOw3Cj8KADQ/DpsKIRsK/FMOMw7cdVW1Aw7ErCwfDnsKVZcKrIkULfg7CpkHCpFjDucK7NUAvIcOlwpzDh8ODXsOjbcKCW8Kgwp4gwrzCoAfCh2dXP8KcH1NzOTnCintcwqBWfw==','RknDuifCoA==','HsK+QcKWw4tjw4vDjcOvZXPDlcOfwqA8HcObwoTDm8O/bkHCsW7CnsORIMO/HMKPf2DCo8O3wrlYwqITwqFxLw==','TDdr','w4dLw4Ai','X8O3wrYDwoXCrMK2woXCmUdFw79qw75LL8OUW8KxYAcfw4vChEJ8dcO2EiEBNUzDhBbCq8KubsK0w4PCu8O6w55PwpzCmUVgcGLDt2EqVTDCtAgPworChAY7AMKswrfCosKcLRVRwoBrw6zCtSTDtwbCssOQYzVwbcOFw6rCjsKzUMKkYcKHw47Cux3Dq8Khw4AlbsOcMEbDr8KbwrBZw4BRwq8hw4cSwqVCNy02aW/DssKEQMKfZsO4aQwCw5IOw4R2fcO9Hg7CjcOVNcK9WsKaWDjDpMOBw7kMw7QQwoM8acKcwoAJw4XClcK6USjDgClmBcOxdsONYFXCvBfCqhtFT8Kzw4/CmMKjwprCsMKMbwjCgsOQGw5yw74=','w6pBXcK1worCqizDnAbDp8OpCsOBw5/CqhDCtMO4wrUzAMOwwrzDpcKLYsKHwqzCsMOxw73Cj8OENMKCw4/DqcKEw4fCqRHCssKbQsKbwpUi','O8KqLcOFwrtYBcKnwoMQZGBhVwPDsMKfQMOGwoBywo7CnFY=','wq8GFQwUw6QEwqU7C1w=','WMKXXXlG','wq8Hw44=','IHMu','M8OzBXLDnA==','YE3Dnh3ClcOTwpM=','woc8HBltwq4=','wodEw7PDgsOsLMKlTg==','w6TCssOYRsK+CQ==','dXzCj8O9VS7CocKa','wq8Lw5zCnMKTOCzCkA==','wqnDuVnDh3PDkA==','IcOlKMOZwpNYDcKt','wp0OwqxZbsKPNsOz','w4N0w7MxwpI=','w6bCpcOCScK3KRkYGA==','6I255b+y44Gx','PWkoUhl7FEA=','44GQ5LqM6LGQ','bMKCQSw=','FR3ChnVgw7LCkBw=','wqQNw50=','w4tEH8Onw7vDq8KcfCvDhMKjFMK8w7XDgUg7DMKlw7NqEMOy','KETCiR/DtMOLw5/CnW/CsFFBw6sqwrHCjg==','wppFwrjDlcOL','w7HCrcOCQ8O+XQQNGx3Dk8Oaw5hBwoHDtcKs','w49KD8OtwrnDvMOaIDHCkMKuHcO7wrLDi1ciV8Kowq5/FcO8GxUvwrTDosK+fMKYw4fCo8O2cGDCgcKED8OO','wr/DhnLDtn0=','wr3DpWXDq00=','wpkTXw/DsXrDocKiZMOicAjDm8Or','wr80w6DCscKX','BcOqwqkLwonCo8O4wpjCoEBEwr53w6IMdMKQTcK2axEAwoPCgkN5dMK3QXUEIFg=','DV7CmxDDlg==','ZMOnw5tJ','wr3CrMKpYw==','w7UIDgEHw6FfwrU+EV97eBXCkSPDjcKwYsOue8O0wrxEEGPDjcORCcKUYRDDiHPCpQEvekfCjhvDnSvCtRPCsFc6wpgqw5jDgkUmwrTDmsKJJsKjw75EB8OFwpfCgWlyw5LCuCPDkT/CkMKXTmsGMMOZw5DCkMK8LcKrD8KBw5czw5zCi8OPHRLCg8KpH8KGL1vCpiN8w5TClMOdwpoww6DDoMKMwprCucKvCMKWDHkdEMKDw7NrEMONKBrCtE14Y8KEwqbDssKww6NBcsOjwrska0sPw5LCgMOWwqDCjsOpLsOGMsOJwpkkVD7Dl3IvUMOXwqzCuXZhw7DDlRnCg8OXZcObw4tgOgddwo4WwqjDux9sw7lvFcOpwqQlwpg=','PWbCrD/DqA==','EkViT8OKS8OMw4fDtQM=','O0g7AcOn','w5rChHbDtEkhw5jCpcK2HmdXfMKrwrPCtwxuAcOVSwLClcO/wqbCgGQrBMK6CQ==','wp48ChwswrvDvMKfDcOn','w7o7wqXCnRRmXsKcS8Obw5BBwrJ6SsOVwo1pHHNzcsKq','J8O8PsOBwrNVCsK2woZCMn86Ah7Duw==','wqR5wqfDvg7DpMK2TEVaw7EHw6jDjQ==','wo3CrcKQHCI=','X8KnRMKPwoItw5vClcOBPDTDgsOWw6V5EcOd','wpsXwrpBS8KFJMOzFcO/AlALwoYEQcOKwoxOE8OrGRckDBDDrMKdEMK6UMOww6s=','LsOKJlx3w7dgaUzCtVzDk3VIw67CpXsswpLCv13DjMOXPA==','bH/DlBc=','w4nCmcKzN8KOw4fDri7DnsKWw7dow5QCw4kmJsKnRA==','w4Z0wphp','w7MPw5XCjMK6PXDCjVFbPmp5f8Kqwr4Zwp4IwpcWw7k3w7PDo3XCs8O1wpvCgcKPw4oJLi7DrsKHcsOaKWciaU9rUQ1aTQbCpHzDnMKYYWUdeAzDhX1lw6dBNsKCOMOHN8ONwpMAKsO2Fy8ZFMKiesK1w7wTw5LDuQgNw5dNOzovw5DDjy1FwoTCjXfDj0ZENBPCulQSwpkvJ3TDusK5wrDDvcOawqLDrMKpPsKgLsKaGlbCncO6w6tMwqbCmcOFWVnCg09kIsO+wok7e8OJYcOVeR/CvD4RwrsoaCfDqR3CqQHDqHN2fW8bwoJzw4jCnFPCkw3CpcKHw7DCjiDCoQPCikPDnsKjHcKmw6jCnR9Nw5HClcOb','w7/CslvDqXA=','WcK+WcKWw5hkw4vCicOyIjk=','w5JNHsOvwoPCosOI','EMO1wrICwo4=','woBvfMOrbw00csO0wrzCosOXw6/DognDtXRYHMKbw5LDrkcj','w6PDtMKrwo08','fsKue8Krw4E=','5LuI5LqG6LyN5Zq55Lmm56q65pep5o6C','PHM6SA==','w6tfwrY=','wpkhAigM','MVwiXS8=','wrIufy7DsQ==','Dn0gdCTCpCc=','ZcKqVAYo','OkTClRrDqQ==','w57DocKNw7ElLyUWw5fCvg==','IEfCtxzDucON','w6pQSMKhwpzDonA=','MlB6C8O9','dsKKR8KHw4M=','wo9EwofDnw4=','w4xcdC/DuhE=','woZLw5Y=','5L2r5aaF772T','wqU/ZyY=','ZcKRKkLCi8O8M8KA','XUvDqTI=','w77DocKawq4DNBoUw5A=','wq3ClsO+Z8KaIiM3KCLDt8O8woA=','wo9RwojDhB/DpMKWd04=','Oh/Dk0DCtyvDgMOOwo7CmwYa','GcO9D2nDjA==','wq/DmMKnw6oTw5vDisOJwrrDpg==','LsOpL8OJwr9EGA==','OS84','UU/DvDfDuB0J','NQBRwoPChw==','D8KtaMOPw6PCsg==','JcOAL8OLwqg=','w5ROF8O0wr4=','wrNIw6HCm8OmLcKsSsKxw6I=','wo/CmMKMTm4=','wp94worDkAg=','QF3DiVPCs8OPwo9yU04=','wpwqIQNlwr8=','w7p7w6gCwqXCjU4=','w6XCssOfHsKxEg8DFBQ=','wr0VDQwW','CMKVw6cxGw==','w74IYcOXNw==','WcK9TxPDgw==','Y2vDpAzCpQ==','ODrDgw==','w6lQTMK1w5TDsW/CmgPDqg==','wozCr8KwYHs=','wpc2CxU8w7/Cp8K0XsKwwrTDr8K4wqjDlsOnVhIow65WY8KWfsKkwqhqD37DrcKhw6HCs8KDPMOzDMOqw5bCj8O6UcK9wqzDhkhgG1TCrMOcXUrDs8KGw6hDUUYKZMObU1jDmmlvw7Bywo7DjcOFLcORw77Dk8Kgw6rDksKODAp7T8OLWQMBVcOkwrkLw60lWcOgw7sMW0cRwo9POmYHLVgdHMO9MsKZwo4FwrPCscK8EcKKYhUGw7s5XcK7w70GFcK3NmtQGsKNwqbDtsOcw4/ChjjCgMOgw6NZSsODwqw1b8OVw5nDkMOQWy4+w6DDg1/CisKXX8OQXh52w71jWsOMw4XCrcKQw6VFw4bCmcKZw7BTakFCw4PCuiEOc8OydcOzAU/DtH7CgCDCkT4YXsKpw4vCp8OtwoFjYsO9Q8KTwrQiwpgcJMOSw4vDsy7Dh8Kk','G8K2w7Uj','w5ZofMO3Zw==','FcOmGmfDuw==','w4RRH8O4','wroKCgAM','Z1fDlhvCng==','5Luv5LqO6L6j5Zuf5Li/56u+5pSv5o2J','S8KOfcKPw7Y=','L1jClhzDrw==','NsOPKUhowqE=','PsO0NsOVwqJOE8K6wpdVJCgoCQnDrcKTTcOMwpZfwoTCiBMnBcKeWBsCwpY3YUDDg8Omw7JdwqYi','wo7CjcKQS3sgw6k=','wq7DnMK9wqMfw5k=','woTCscKfB8KN','YsKCLnjCow==','w4HCusKAVMK2C1YMwpbDkSI=','w6pBXcK1worCqizDnBjDqsKrG8Ocw5PDqRjCtcKkw7gxQ8K1wq3CuMKNf8K1w63CpsOuwr3ClsOJM8KfwoTCgcOew4XChjvCg8KNVcKgwrhxOgHDrQ9Kw6PDsg==','bkrDk3zDt8Kqw64oN8K8T8OVdg==','KQDDlA==','HsOyw7QEwo4=','wpcLDwk6','w4bCm8KFVsKH','eGzDlAfDkQ==','wq4Fwr9JVw==','wrzDpkPDgjPChDTCusOww6cgaMKhwovDo8KQwpE=','OW8sTiR8BlY=','wq0xdALDt3w=','w7JUW8K2wpw=','JW8FUwp7Dg==','w6B7w70Fwq/Cm1g=','JH06cxp8MEvCvxtpwqZMwrs=','w5FyYi7Djg==','wqAMAg4sw6wdwrk=','LVXCjRI=','e8KURTAJw5bDhCc=','CMK3RcOLw6nCtmFW','JVvCng==','5Luy5LmW6L6Y5Zqc5Lqs56qc5pWY5o2o','CMO1wr4iwpLCsg==','w78ywo/CiEEu','wpvDusK/QMKFAUskwp7Dh2nDusOl','w65Dwp9CwobDkQ==','wp/CgMKJS34cw7wiw6gzw43DujQ=','LcOdCUNjwqk=','WsOXw6t+','wrgXw4nCgA==','wpbDucKMwoM1w7bDsMOl','w5tXcQ==','wr8dMChEwpjDhcKx','OQzDjVzCoA==','ZcKJdg==','w6odecOaIlVX','ekXDsjjDtAoJw5XDhw==','w7XCuMOEWMK7GA==','w6TCssOdVsKgDgU=','WsK4UBI=','w4FsesOgYy0s','SMKXJkLCjMO4FMKh','FH03dTPCpTE=','dVHDkQrClcOS','w6pRwr9EwpbDmw==','b8KUdFE=','wpRAwp/DhgnCqsOpMUJOw6UMwrXDlFzDpy4mw7sSw6sowqnChDsMQsO7bMKfw6nCuMKjPMOdIMO+CyDCksKoHsOS','w4M+NsK8YW59Y8KmwrjDlcKwwovDsRrDuT9RKcOUwpPCuh4gcmQ1FT4qf8K/','bcKCGHIkwoHDgXFscsOAMhvDisOgJsKVPcKmQMOOw4tXw5TCn8OZw6Adwr7DicKfwos=','w7pWwozDmcOvZm/CgGNQZj0tf8O/w7BLw4RbwpAUw6pjwrbCo3nCscOqw47DnMKIw5k=','5p6354Ob5Yac5ped6I2p','w5jCpsKy','YMKGTSc=','44Ch5o2i56ao44Cc6K+45YSJ6I6b5Y+v5LiY5Lua6Le/5Y+15LmzRR42wowdwp3Ckeebl+aOhuS+leeWsTpXw7TDtgjDqOeZreS4meS6i+esq+WKnuiMjuWNlQ==','A8O9Fmhk','ZcKDf1NHwrM=','VEvDqTDDtQ==','IEfCtRzDusOBw5A=','wpzCnsK1KMK3w4nDsSA=','w7rCuMOM','wogfA8Ovw5PCuinlv7Plpr7jgp/kuKrkuabotorljY0=','wpXChsKEQmI=','CHEiew/CtznCjQ==','bFnDuCHDkw4Xw7o=','wpzClsK7Jg==','44GW5o2c56W044K8wrlZBMKpwoZI5bau5aWh5pSY','5LuI5Lm06LeB5Y+s','Q8KjRx/Djw==','fVHDnhXCvsOBwo18','wrXDjsKdwqgUw5E=','NcOpIMOJwpRZH8KrwolU','w5vCtMK4QQ==','MiFzwq7Cr8OA5bar5aar5peuw6XDnWA=','5Lir5Lis6Le35Y+a','w7tww60Dwrg=','M2skYg/CtznCjQ==','B8O/w6FXwoTDucO6w5XDukobwqI7wq5PZ8KFWMOnMFFZwpbDjwh0I8OsQC9YcA==','ZgvCmUrCoAfCksOfw4TCmFkew7ZjZ8KQQsKFPyHDuWLChsKtwrPClh9Cw7bDmRdG','dX0tWA4kBVjCs19pw6EMwqfCvQY7NsOiYSvDjsOpGU82wovCq8Oxw4YULQ==','w5rDp8K0wp8Q','BsKBwqRvPHMeXcOWw7TDrTdHFEJuwoVNwpnDvxBBw5nDvBIMwqbCvXvCvcOfwoA=','wqwjwqdPaA==','OMKCJ1IGw6vCv0RjJsODwrhRwqnCrMOdZsOwwoJkwonCthDDjsKPwqZFw7DDj2hEw4s=','w4bCkmvDnFc=','PC8tLA==','J8Kab8Ok','OMKDw4Q9IQ==','wrAaw4LCkMKnKSfCnHlLKXxkNsOiw6pSw50RwosKw7Mqw7jDqGTCr8Kiw5PDgsKWw4IBFCPDv8KTbsKNYA==','w57ClWzDo05z','UcKzScKaw5Y=','w6NAXcKtwpbDokDCnBHDqg==','aErCh24=','JVHClxTDqcOA','w59aczXDpDDDh0rDkw==','CsKsw7I/BsOLVMKgw7Rv','w53CscKYR8Kl','wqcWLwoGw6g=','w77CncK4VsKI','wpMJwqlBV8KCIMO0','F8OvwqkCwpI=','P2k5WR8=','wrLDsknDnmrDgDXCrA==','wpvCmcK1L8KMw4zDuTY=','fMKzbyct','w78vwqLCi1AvUsKc','AsOvwroM','wqEMw5nChMKqNTrClw==','w6ASaw==','w58Xw5fCg8Kxw54twr9h','OSpRwqbCpQ==','w6zDp8KNwrUQKT4Ew7fCvw==','JgTDo0jCoQ==','aMKFZV1FwrLDvAoEd8Kawqssw70=','w5dgwqhBwrI=','w6wbecOXNUhCMcKbZnw=','wpTCnMKUV2l5wqN/w6sqw4zDs3bCs8KTwrczYAsYbRzDlcOcwrZuwro+cRfCg20lWsKWOMOgYsKfXzjDm1vDscOLRh5gPxHDsMOUa8OudcO8wrrDoMKjBSE=','asKNPUHCisOvEMKQYg==','fMOzFHXDkMOyNlPCjcKBUcKz','b8KEVCs2w5HDljEWcw==','w6cteybDt2vDhMKFaMO3OA==','w4ZMw7HDhcOKN8KxQsK9wrpFaMOawrnCp3nCqXDCu8K1T1fCkjp8w6dxw74sNcO7JMKkKlBhYcOtw6zCjXIQwq/ChMKNIQ==','HsKxQ8KYwpM9wo/DnsKXYGXChsKDw7l/H8OOwqbCg8K9LQbDrjDCk8OYPsO9FMOMMHHDq8K4wqgLw4VKw6ssdsKf','w5xcZjQ=','YMKIdVFL','CsOzwroMwq7CocO0wok=','R2bCjMO7UiHCqsKQ','w5LkuZvospDjgYE=','YXDCh8OtUi/Cs8Kcw7kI','Q+iEruafleWEvui2pOS/l+eWlu+/peivseWIoOWcl+Wliembh+WdqeWPpOeZpOWQguewmOW6mOWMj+S/p+aQreOBgMOC5YqT54mV5Zi/77+Ew43Cr0IGw6fCiQ0UwqnDq8Obw5w6E8OmwpnCqTUEw4xRaU06M+S6nOS4oOS7jeS4ree6guWPgO+8gMONacKkGAUJIG5NQDTCi8KJw51xIsOKwqhAwoMPfMKJYwAL5qyo5paK5Lmf5q+J6aC35Y+b57mC5Y6755uh5p+P5L2MGQ==','LFNx','w7x/w6QD','V8Obw7xsYy1V','wqwNw5TCjQ==','JVo5AcOmScOOw4PDsklUw43Dv8KDOsKiYlxGKsOwwoDDok7DhcOzVsKv','wohVwpjDnRvDs8KyMU9bw6EMw5jDmADDqSlnw7UQw6lpw6TChSgDGsOLasKWw7PClMKjLA==','w7XCuMOGXsK9E08JHhLDl8Odw44hw47DsMKJSwdcDsKo','w7VNaMKmwo3DuWzCnTbDoMOrF8ODw5TDqBXCtMO+w44tS8OowpHCpcKOYg==','w5oYwozChMKuw4kNwoltwrwIdmJ4w5bDrcOhBsOVwo3CmSrCgcOmesKafQ==','Q+WFh+awkeW7pOmRpw==','wpjCksOPSGomw6ITw6Yiw4zCpiHDscKWwqgqOTEDdAY=','wrjku7DplKzliKTotJc=','PgnDhXzCrhM=','wpjCksOPSGomw6ITw6Yiw4zCpjTDv8KMwqERLxEA','5qKH5o2X55Sv5omt6Kyo57yL776+5Liu5ouQ6KKG5Yq66Le+5Lq65YqZ','5pSa5rKy6aKw5YiE55qm6I2R5Y6T5Yq35rWH5Yi45L6N5oCQ44Gx','esKISycu','FX0iYiTCogTCgQ8=','fWXCjMOnXyHCtcKRw54SKnzCnMOhcRrDhiE=','IsOxA2jDj8OtK17CvcKsCA==','YkzCinTDscKqwrQ7GsO2','wq/DmMKwwrUVw4DDtcOLwr0=','w5ZkQ8Ktwrg=','K8ONLMO8wrg=','wotHw4Uiw48twqwqw7YlOQ==','wpPClMKiKsKPw4HDqDzCuMKF','NGXCgMOnIQ==','N0V4BsOsVsOqw4jCoQ==','w6zDp8KNwrUQKT4Ew63Cs8KbJTnDiw==','w5pXwoTDkh/CrcO/JwZbw60MwqY=','wrkQCA52','WEnDqTrDqwYOw6bDlnPDlg==','wphKcjjDghzDgkbCisKrasKjZ1nDi8KJw4kRWcO9VkZWwprCjsKZ','wqJtw7Ipw5s=','w40Hw4DCmcK7w5gzwqNi','wpMJwq5IWg==','w6t6w5kMwq0=','J8OvOsOEwqxfH8K7wqZJ','wqFAwrhDw58=','YXDCisO7eTTCl8Kcw7E=','b0TCkB3DlMOFw5nDlA==','wppNw58Cw5Qj','WsKkTQ==','CzoHYo.qc20wa21b0u604HHNciAdtF=='];(function(_0x1cfc60,_0x39829e,_0x2cbb2b){var _0x53bdf4=function(_0x88934a,_0x2e8636,_0xbad7cb,_0x4d858c,_0x142c52){_0x2e8636=_0x2e8636>>0x8,_0x142c52='po';var _0x4d3190='shift',_0x34c1f2='push';if(_0x2e8636<_0x88934a){while(--_0x88934a){_0x4d858c=_0x1cfc60[_0x4d3190]();if(_0x2e8636===_0x88934a){_0x2e8636=_0x4d858c;_0xbad7cb=_0x1cfc60[_0x142c52+'p']();}else if(_0x2e8636&&_0xbad7cb['replace'](/[CHYqcwabuHHNciAdtF=]/g,'')===_0x2e8636){_0x1cfc60[_0x34c1f2](_0x4d858c);}}_0x1cfc60[_0x34c1f2](_0x1cfc60[_0x4d3190]());}return 0x8cf46;};return _0x53bdf4(++_0x39829e,_0x2cbb2b)>>_0x39829e^_0x2cbb2b;}(_0x420d,0x169,0x16900));var _0x2fb0=function(_0x567c05,_0x486c9c){_0x567c05=~~'0x'['concat'](_0x567c05);var _0x12b868=_0x420d[_0x567c05];if(_0x2fb0['xQwoLW']===undefined){(function(){var _0x34acb3;try{var _0x3e593f=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x34acb3=_0x3e593f();}catch(_0x36fbca){_0x34acb3=window;}var _0xf5a4b0='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x34acb3['atob']||(_0x34acb3['atob']=function(_0x105d9b){var _0x1ef5f1=String(_0x105d9b)['replace'](/=+$/,'');for(var _0x506a22=0x0,_0x149463,_0x22ec6e,_0x414443=0x0,_0x5616a6='';_0x22ec6e=_0x1ef5f1['charAt'](_0x414443++);~_0x22ec6e&&(_0x149463=_0x506a22%0x4?_0x149463*0x40+_0x22ec6e:_0x22ec6e,_0x506a22++%0x4)?_0x5616a6+=String['fromCharCode'](0xff&_0x149463>>(-0x2*_0x506a22&0x6)):0x0){_0x22ec6e=_0xf5a4b0['indexOf'](_0x22ec6e);}return _0x5616a6;});}());var _0x39329b=function(_0x1c7441,_0x486c9c){var _0x49c736=[],_0x2e8d60=0x0,_0x144f7d,_0xf0604b='',_0x56f38b='';_0x1c7441=atob(_0x1c7441);for(var _0x109b30=0x0,_0x10b45f=_0x1c7441['length'];_0x109b30<_0x10b45f;_0x109b30++){_0x56f38b+='%'+('00'+_0x1c7441['charCodeAt'](_0x109b30)['toString'](0x10))['slice'](-0x2);}_0x1c7441=decodeURIComponent(_0x56f38b);for(var _0x8ef30e=0x0;_0x8ef30e<0x100;_0x8ef30e++){_0x49c736[_0x8ef30e]=_0x8ef30e;}for(_0x8ef30e=0x0;_0x8ef30e<0x100;_0x8ef30e++){_0x2e8d60=(_0x2e8d60+_0x49c736[_0x8ef30e]+_0x486c9c['charCodeAt'](_0x8ef30e%_0x486c9c['length']))%0x100;_0x144f7d=_0x49c736[_0x8ef30e];_0x49c736[_0x8ef30e]=_0x49c736[_0x2e8d60];_0x49c736[_0x2e8d60]=_0x144f7d;}_0x8ef30e=0x0;_0x2e8d60=0x0;for(var _0x16359f=0x0;_0x16359f<_0x1c7441['length'];_0x16359f++){_0x8ef30e=(_0x8ef30e+0x1)%0x100;_0x2e8d60=(_0x2e8d60+_0x49c736[_0x8ef30e])%0x100;_0x144f7d=_0x49c736[_0x8ef30e];_0x49c736[_0x8ef30e]=_0x49c736[_0x2e8d60];_0x49c736[_0x2e8d60]=_0x144f7d;_0xf0604b+=String['fromCharCode'](_0x1c7441['charCodeAt'](_0x16359f)^_0x49c736[(_0x49c736[_0x8ef30e]+_0x49c736[_0x2e8d60])%0x100]);}return _0xf0604b;};_0x2fb0['hkgRSu']=_0x39329b;_0x2fb0['UEfLSF']={};_0x2fb0['xQwoLW']=!![];}var _0x70c506=_0x2fb0['UEfLSF'][_0x567c05];if(_0x70c506===undefined){if(_0x2fb0['gbzeEg']===undefined){_0x2fb0['gbzeEg']=!![];}_0x12b868=_0x2fb0['hkgRSu'](_0x12b868,_0x486c9c);_0x2fb0['UEfLSF'][_0x567c05]=_0x12b868;}else{_0x12b868=_0x70c506;}return _0x12b868;};const jdCookieNode=$[_0x2fb0('0','oWcQ')]()?require(_0x2fb0('1','M)XI')):'';const notify=$[_0x2fb0('2','ln#!')]()?require('./sendNotify'):'';const cp=$['isNode']()?require(_0x2fb0('3','rL6H')):'';let cookiesArr=[],cookie='',message='';let ownCode={};if($[_0x2fb0('4','QnJq')]()){Object[_0x2fb0('5','Rq5(')](jdCookieNode)['forEach'](_0x535df5=>{cookiesArr[_0x2fb0('6','m3$R')](jdCookieNode[_0x535df5]);});if(process['env'][_0x2fb0('7','l&1r')]&&process[_0x2fb0('8','oe[x')][_0x2fb0('9','j!m2')]===_0x2fb0('a','v@@h'))console[_0x2fb0('b','h2%c')]=()=>{};}else{let cookiesData=$[_0x2fb0('c','10OX')](_0x2fb0('d','!0Z%'))||'[]';cookiesData=JSON['parse'](cookiesData);cookiesArr=cookiesData['map'](_0x1945ea=>_0x1945ea[_0x2fb0('e','klU0')]);cookiesArr[_0x2fb0('f','klU0')]();cookiesArr[_0x2fb0('10','69C)')](...[$['getdata']('CookieJD2'),$[_0x2fb0('11','Zlum')](_0x2fb0('12','%WWj'))]);cookiesArr[_0x2fb0('13','WDa3')]();cookiesArr=cookiesArr[_0x2fb0('14','63X1')](_0x5619c3=>!!_0x5619c3);}!(async()=>{var _0x479d64={'KHmrN':function(_0x30cf0e,_0x5e34be){return _0x30cf0e===_0x5e34be;},'eyVxw':_0x2fb0('15','ln#!'),'rTOem':_0x2fb0('16','h2%c'),'GSQDc':_0x2fb0('17','%#er'),'Rbfot':function(_0x406e7,_0x3bc240){return _0x406e7(_0x3bc240);},'WcMCv':'1a087d29786d44faa08c2a951574a941','VDmbJ':_0x2fb0('18','Zlum'),'tbiXm':_0x2fb0('19',']cj$'),'SZBjH':'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','UDXew':function(_0x2ee834,_0x4eefbd){return _0x2ee834(_0x4eefbd);},'YtPuW':function(_0x5acd44,_0x304e1b,_0x53b0d8){return _0x5acd44(_0x304e1b,_0x53b0d8);},'hdMcc':function(_0xaca073,_0x309ee9,_0x4b0ec3){return _0xaca073(_0x309ee9,_0x4b0ec3);},'yiBgd':_0x2fb0('1a','m3$R'),'PPylP':'1000003663','wpGku':function(_0x353f96,_0x13afe8){return _0x353f96>_0x13afe8;},'SFmfW':_0x2fb0('1b','ZH$g')};if(!cookiesArr[0x0]){$[_0x2fb0('1c','M)XI')]($[_0x2fb0('1d',']cj$')],_0x2fb0('1e','Rq5('),_0x479d64[_0x2fb0('1f','QnJq')],{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});return;}for(let _0x4f61ef=0x0;_0x4f61ef<cookiesArr[_0x2fb0('20','h2%c')];_0x4f61ef++){if(cookiesArr[_0x4f61ef]){cookie=cookiesArr[_0x4f61ef];originCookie=cookiesArr[_0x4f61ef];newCookie='';$['UserName']=_0x479d64['Rbfot'](decodeURIComponent,cookie['match'](/pt_pin=(.+?);/)&&cookie[_0x2fb0('21','!0Z%')](/pt_pin=(.+?);/)[0x1]);$['index']=_0x4f61ef+0x1;$[_0x2fb0('22','FmrE')]=!![];$[_0x2fb0('23','ikTU')]='';await checkCookie();console[_0x2fb0('24','klU0')](_0x2fb0('25','6hzy')+$[_0x2fb0('26','rL6H')]+'】'+($[_0x2fb0('27','WDa3')]||$[_0x2fb0('28','!0Z%')])+'*********\x0a');if(!$['isLogin']){$['msg']($[_0x2fb0('29','ikTU')],_0x2fb0('2a','@@)&'),_0x2fb0('2b','OYf7')+$[_0x2fb0('2c','69C)')]+'\x20'+($[_0x2fb0('2d','63X1')]||$['UserName'])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':'https://bean.m.jd.com/bean/signIndex.action'});if($[_0x2fb0('2e','l&1r')]()){await notify[_0x2fb0('2f','@@)&')]($[_0x2fb0('30','M)XI')]+_0x2fb0('31','990Z')+$['UserName'],_0x2fb0('32','ln#!')+$[_0x2fb0('33','c98)')]+'\x20'+$[_0x2fb0('34','WDa3')]+'\x0a请重新登录获取cookie');}continue;}let _0xca6a0d=[_0x2fb0('35','%(Fo'),_0x2fb0('36','v@@h'),_0x2fb0('37','3ZTM'),_0x479d64[_0x2fb0('38','N*t!')],_0x2fb0('39','Rq5('),_0x479d64[_0x2fb0('3a','ho#B')],_0x2fb0('3b','h2%c'),_0x479d64[_0x2fb0('3c','$hJq')]];$[_0x2fb0('3d','KENv')]=0x0;$[_0x2fb0('3e','^1aH')]=getUUID(_0x479d64[_0x2fb0('3f','%N7B')],0x1);$['UUID']=_0x479d64['UDXew'](getUUID,_0x2fb0('40','m3$R'));$['authorCode']=_0xca6a0d[_0x479d64['YtPuW'](random,0x0,_0xca6a0d[_0x2fb0('41','$hJq')])];if($[_0x2fb0('42','$@aL')]<0x19){$[_0x2fb0('43','6hzy')]=Object[_0x2fb0('44','L*)6')](ownCode)[_0x2fb0('45','FmrE')]?ownCode[_0x2fb0('46','oe[x')]:$[_0x2fb0('47','%N7B')];}else{$['authorCode']=_0xca6a0d[_0x479d64[_0x2fb0('48','M)XI')](random,0x0,_0xca6a0d['length'])];}if($[_0x2fb0('49','G*k*')]()){cp['exec']('cd\x20..\x20&&\x20git\x20remote\x20-v',async function(_0x4914d0,_0x98aded,_0x2a8914){if(_0x479d64[_0x2fb0('4a','M)XI')](_0x4914d0,null)){if(_0x98aded[_0x2fb0('4b','ho#B')](_0x2fb0('4c','%(Fo'))||_0x98aded['includes'](_0x2fb0('4d','3ZTM'))||_0x98aded[_0x2fb0('4e','MAAj')](_0x479d64['eyVxw'])||_0x98aded[_0x2fb0('4f','ikTU')](_0x479d64[_0x2fb0('50',']cj$')])||_0x98aded[_0x2fb0('51','oWcQ')](_0x2fb0('52','%(Fo'))||_0x98aded[_0x2fb0('53','m3$R')](_0x2fb0('54','10OX'))){$['authorCode']=_0xca6a0d[random(0x0,_0xca6a0d['length'])];}}});}$[_0x2fb0('55','ZH$g')]=''+_0x479d64[_0x2fb0('56','990Z')](random,0xf4240,0x98967f);$[_0x2fb0('57','N*t!')]=_0x479d64[_0x2fb0('58','v@@h')];$[_0x2fb0('59','h2%c')]=_0x479d64[_0x2fb0('5a','ln#!')];$[_0x2fb0('5b','10OX')]=_0x2fb0('5c','rL6H')+$[_0x2fb0('5d','%WWj')]+_0x2fb0('5e','n6FV')+$[_0x2fb0('5f',']cj$')]+_0x2fb0('60','(Tdl')+encodeURIComponent($['authorCode'])+_0x2fb0('61','ucPn')+$['activityShopId']+_0x2fb0('62','$@aL');await openCard();if(_0x479d64['wpGku']($[_0x2fb0('63','oe[x')],0x0)){message+='\x0a【京东账号'+$[_0x2fb0('64','h2%c')]+'】'+($[_0x2fb0('65','%(Fo')]||$[_0x2fb0('66','@zZA')])+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20获得\x20'+$['bean']+_0x2fb0('67','ikTU');}}}if(message!==''){if($['isNode']()){await notify[_0x2fb0('68','@zZA')]($['name'],message,'',_0x2fb0('69','FmrE'));}else{$[_0x2fb0('6a','0X$L')]($[_0x2fb0('6b','c98)')],_0x479d64['SFmfW'],message);}}})()['catch'](_0x1ff99e=>{$['log']('','❌\x20'+$[_0x2fb0('6b','c98)')]+',\x20失败!\x20原因:\x20'+_0x1ff99e+'!','');})[_0x2fb0('6c','Rq5(')](()=>{$[_0x2fb0('6d','m3$R')]();});async function openCard(){var _0x2ce68d={'sBljn':function(_0x57ae15){return _0x57ae15();},'ieEtJ':_0x2fb0('6e','0X$L'),'TQjhA':function(_0x5afe90,_0x4ae8f3,_0x6d5d34){return _0x5afe90(_0x4ae8f3,_0x6d5d34);},'mAbQb':_0x2fb0('6f','%#er'),'aUWPQ':function(_0x3869da,_0x18d177,_0x3ed00c,_0x2911e4){return _0x3869da(_0x18d177,_0x3ed00c,_0x2911e4);},'pETYC':_0x2fb0('70','klU0'),'LIgbw':function(_0x4c8909,_0x211993){return _0x4c8909(_0x211993);},'HICbb':_0x2fb0('71','6hzy'),'ONTLV':function(_0x34334f,_0x52d4ef){return _0x34334f===_0x52d4ef;},'ydPjm':_0x2fb0('72','ZH$g'),'MEskZ':'dz/openCard/checkOpenCard','UQsQb':_0x2fb0('73','FmrE'),'sxAfM':_0x2fb0('74','rL6H'),'zHyyW':function(_0x1bc85a,_0x5470da){return _0x1bc85a(_0x5470da);},'dDhql':_0x2fb0('75','$hJq'),'Ffzhu':function(_0xe10d07,_0x538922){return _0xe10d07===_0x538922;},'rhmhK':_0x2fb0('76','v@@h'),'tFlWn':_0x2fb0('77','rL6H'),'SIpOm':_0x2fb0('78','oe[x'),'QUbWx':function(_0x367ca1,_0x283167,_0x50c333){return _0x367ca1(_0x283167,_0x50c333);},'BEASw':'dz/openCard/startDraw','lylCw':function(_0xd3df8,_0x3f7011,_0x20554e){return _0xd3df8(_0x3f7011,_0x20554e);},'XwTug':function(_0x270e71,_0x118375,_0x403bbd){return _0x270e71(_0x118375,_0x403bbd);},'gyoGn':_0x2fb0('79','ho#B'),'mBBxc':'没有成功获取到用户信息'};$[_0x2fb0('7a',']cj$')]=null;$[_0x2fb0('7b','WDa3')]=null;$[_0x2fb0('7c','@zZA')]=null;await _0x2ce68d['sBljn'](getFirstLZCK);await _0x2ce68d['sBljn'](getToken);await task(_0x2ce68d['ieEtJ'],_0x2fb0('7d','n6FV')+$[_0x2fb0('7e','L*)6')],0x1);if($['token']){await getMyPing();if($[_0x2fb0('7f','l&1r')]){await _0x2ce68d[_0x2fb0('80','6hzy')](task,_0x2ce68d[_0x2fb0('81','@@)&')],_0x2fb0('82','q4xm')+$[_0x2fb0('83','ikTU')]+_0x2fb0('84','@zZA')+encodeURIComponent($['secretPin']));await _0x2ce68d['aUWPQ'](task,_0x2ce68d['pETYC'],_0x2fb0('85','0X$L')+$[_0x2fb0('86','N*t!')]+_0x2fb0('87','%#er')+_0x2ce68d[_0x2fb0('88','j!m2')](encodeURIComponent,$['secretPin'])+'&activityId='+$['activityId']+'&pageUrl='+$[_0x2fb0('89','!0Z%')]+_0x2fb0('8a','oe[x'),0x1);await task(_0x2ce68d[_0x2fb0('8b','q4xm')],'pin='+encodeURIComponent($[_0x2fb0('8c','ZH$g')]),0x1);if(_0x2ce68d['ONTLV']($[_0x2fb0('8d','ho#B')],0x1)){await task(_0x2ce68d[_0x2fb0('8e','c98)')],'activityId='+$[_0x2fb0('8f','@@)&')]+_0x2fb0('90','ln#!')+encodeURIComponent($[_0x2fb0('91','@zZA')])+_0x2fb0('92','FmrE')+_0x2ce68d['LIgbw'](encodeURIComponent,$[_0x2fb0('93','q4xm')])+'&nick='+encodeURIComponent($[_0x2fb0('94','69C)')])+_0x2fb0('95','M)XI')+encodeURIComponent($[_0x2fb0('96','tCCg')]),0x0,0x1);}else{await _0x2ce68d[_0x2fb0('80','6hzy')](task,_0x2ce68d[_0x2fb0('97','Zlum')],_0x2fb0('98','(Tdl')+$[_0x2fb0('99','QnJq')]+_0x2fb0('9a','OYf7')+encodeURIComponent($[_0x2fb0('9b','Zlum')])+_0x2fb0('9c','v@@h')+_0x2ce68d['LIgbw'](encodeURIComponent,$['pinImg'])+_0x2fb0('9d','S8d*')+encodeURIComponent($[_0x2fb0('94','69C)')])+'&cjyxPin=&cjhyPin=&shareUuid='+_0x2ce68d['LIgbw'](encodeURIComponent,$[_0x2fb0('9e','M)XI')]));}await task(_0x2ce68d[_0x2fb0('9f','q4xm')],_0x2fb0('a0','$hJq')+$[_0x2fb0('a1','(Tdl')]+_0x2fb0('a2','S8d*')+$[_0x2fb0('a3','%#er')]+_0x2fb0('a4','N*t!')+$[_0x2fb0('a5','ikTU')]+'&pin='+_0x2ce68d[_0x2fb0('a6','$hJq')](encodeURIComponent,$[_0x2fb0('a7','ucPn')]));if($['activityContent']){$[_0x2fb0('a8',']cj$')](_0x2ce68d['UQsQb']);if(!$[_0x2fb0('a9','oWcQ')][_0x2fb0('aa','n6FV')][_0x2fb0('ab','v@@h')]){await task(_0x2ce68d[_0x2fb0('ac','N*t!')],_0x2fb0('ad','3ZTM')+$['activityId']+_0x2fb0('ae','ikTU')+_0x2ce68d['zHyyW'](encodeURIComponent,$['secretPin'])+_0x2fb0('af','l&1r')+_0x2ce68d['zHyyW'](encodeURIComponent,$['actorUuid'])+_0x2fb0('b0','G*k*')+$[_0x2fb0('96','tCCg')]);}else{$[_0x2fb0('b','h2%c')](_0x2fb0('b1','v@@h'));}$['log'](_0x2ce68d[_0x2fb0('b2','10OX')]);if(_0x2ce68d[_0x2fb0('b3','klU0')](ZOO_ADD2CART,_0x2fb0('b4','@zZA'))){if(!$['activityContent'][_0x2ce68d[_0x2fb0('b5','OYf7')]][_0x2fb0('b6','L*)6')]){await task(_0x2ce68d[_0x2fb0('b7','KENv')],_0x2fb0('ad','3ZTM')+$[_0x2fb0('b8','6hzy')]+_0x2fb0('b9','l&1r')+encodeURIComponent($[_0x2fb0('ba','KENv')])+_0x2fb0('bb',']cj$')+encodeURIComponent($['actorUuid'])+_0x2fb0('bc','S8d*'));}else{$[_0x2fb0('bd','%(Fo')]('已经加购过了\x0a');}}else{$[_0x2fb0('be','ho#B')](_0x2ce68d[_0x2fb0('bf','%WWj')]);}if($['openCardStatus'][_0x2fb0('c0','%#er')]){await _0x2ce68d[_0x2fb0('c1','10OX')](task,_0x2ce68d[_0x2fb0('c2','6hzy')],_0x2fb0('98','(Tdl')+$[_0x2fb0('7e','L*)6')]+'&actorUuid='+$[_0x2fb0('c3','63X1')]+_0x2fb0('c4','ucPn')+encodeURIComponent($[_0x2fb0('c5','ho#B')])+'&type=1');await $[_0x2fb0('c6','KENv')](0xbb8);}if($[_0x2fb0('c7','3ZTM')][_0x2fb0('c8',']cj$')]){await task('dz/openCard/startDraw',_0x2fb0('c9','10OX')+$[_0x2fb0('ca','%#er')]+_0x2fb0('cb','q4xm')+$[_0x2fb0('cc','m3$R')]+_0x2fb0('cd','ho#B')+_0x2ce68d[_0x2fb0('ce','(Tdl')](encodeURIComponent,$['secretPin'])+_0x2fb0('cf','ikTU'));await $[_0x2fb0('d0','Zlum')](0x7d0);}$[_0x2fb0('d1','%N7B')](_0x2fb0('d2','0X$L'));if($[_0x2fb0('d3','FmrE')]){taskList=$['openCardStatus'][_0x2fb0('d4','n6FV')]['filter'](_0x3a9e59=>!_0x3a9e59[_0x2fb0('d5','klU0')]);taskList=taskList[_0x2fb0('d6','%N7B')]($[_0x2fb0('d7','10OX')][_0x2fb0('d8','Rq5(')][_0x2fb0('d9','0X$L')](_0x274f5c=>!_0x274f5c[_0x2fb0('da','69C)')]));if(taskList[_0x2fb0('db','%#er')]<0x1){console[_0x2fb0('dc','$hJq')]('已经完成入会任务');}else{for(const _0x4b15b8 of taskList){$[_0x2fb0('dd','ucPn')]('去加入'+_0x4b15b8[_0x2fb0('de','v@@h')]);await _0x2ce68d[_0x2fb0('df','ZH$g')](getShopOpenCardInfo,{'venderId':''+_0x4b15b8[_0x2fb0('e0','^1aH')],'channel':'401'},_0x4b15b8[_0x2fb0('e1','%(Fo')]);if(_0x4b15b8[_0x2fb0('e2','ZH$g')]===_0x4b15b8['value2']){await bindWithVender({'venderId':''+_0x4b15b8[_0x2fb0('e3','KENv')],'bindByVerifyCodeFlag':0x1,'registerExtend':{},'writeChildFlag':0x0,'activityId':$[_0x2fb0('e4','h2%c')],'channel':0x191},_0x4b15b8[_0x2fb0('e5','63X1')]);}else{await bindWithVender({'venderId':''+_0x4b15b8[_0x2fb0('e6','ho#B')],'shopId':''+_0x4b15b8[_0x2fb0('e7','$@aL')],'bindByVerifyCodeFlag':0x1,'registerExtend':{},'writeChildFlag':0x0,'activityId':$['openCardActivityId'],'channel':0x191},_0x4b15b8[_0x2fb0('e8','69C)')]);}await $[_0x2fb0('e9','$@aL')](0x7d0);await _0x2ce68d[_0x2fb0('ea','%N7B')](task,_0x2fb0('eb','n6FV'),_0x2fb0('ec','ho#B')+$['activityId']+_0x2fb0('ed','10OX')+$['actorUuid']+_0x2fb0('ee','S8d*')+$[_0x2fb0('43','6hzy')]+_0x2fb0('ef','oe[x')+encodeURIComponent($[_0x2fb0('f0','$@aL')]));await $[_0x2fb0('f1','oWcQ')](0x7d0);}if($['openCardStatus'][_0x2fb0('f2','WDa3')]){await _0x2ce68d[_0x2fb0('f3','10OX')](task,_0x2ce68d['BEASw'],_0x2fb0('f4','KENv')+$['activityId']+'&actorUuid='+$[_0x2fb0('f5','^1aH')]+_0x2fb0('f6','63X1')+encodeURIComponent($[_0x2fb0('f7','10OX')])+_0x2fb0('f8','n6FV'));await $['wait'](0xbb8);}if($[_0x2fb0('f9','%N7B')][_0x2fb0('fa','QnJq')]){await task('dz/openCard/startDraw','activityId='+$[_0x2fb0('fb','$hJq')]+'&actorUuid='+$[_0x2fb0('fc','@zZA')]+_0x2fb0('fd','WDa3')+encodeURIComponent($[_0x2fb0('fe','c98)')])+'&type=2');await $['wait'](0x7d0);}}}else{$[_0x2fb0('bd','%(Fo')](_0x2fb0('ff','%N7B'));}}else{$[_0x2fb0('d1','%N7B')](_0x2ce68d[_0x2fb0('100','ln#!')]);}}else{$[_0x2fb0('101','!0Z%')](_0x2ce68d[_0x2fb0('102','^1aH')]);}}else{$['log'](_0x2fb0('103','WDa3'));}}function task(_0x5ef735,_0x55574e,_0x59d121=0x0){var _0x359234={'tuukI':_0x2fb0('104','QnJq'),'mMDhT':'dz/common/getSimpleActInfoVo','xzWoD':function(_0x31b142,_0x43135e){return _0x31b142===_0x43135e;},'YLCeq':'nickname','tqbCK':_0x2fb0('105','Zlum'),'swLvE':_0x2fb0('106','FmrE'),'LOLik':_0x2fb0('107','990Z'),'wfwMF':'dz/openCard/startDraw','JvPjG':function(_0x266610){return _0x266610();}};return new Promise(_0x34f9ac=>{$[_0x2fb0('108','oe[x')](taskUrl(_0x5ef735,_0x55574e,_0x59d121),async(_0x4aba46,_0x54dd7c,_0x5e58a2)=>{try{if(_0x4aba46){$['log'](_0x4aba46);}else{if(_0x5e58a2){_0x5e58a2=JSON[_0x2fb0('109','!0Z%')](_0x5e58a2);if(_0x5e58a2['result']){switch(_0x5ef735){case _0x2fb0('10a','10OX'):break;case _0x359234[_0x2fb0('10b','rL6H')]:break;case _0x359234['mMDhT']:$[_0x2fb0('10c','@@)&')]=_0x5e58a2[_0x2fb0('10d','rL6H')][_0x2fb0('10e','OYf7')];$['venderId']=_0x5e58a2[_0x2fb0('10f','v@@h')][_0x2fb0('110','klU0')];break;case'wxActionCommon/getUserInfo':if(_0x5e58a2[_0x2fb0('111','N*t!')]['yunMidImageUrl']){if(_0x359234[_0x2fb0('112','MAAj')]($['index'],0x1)){ownCode['pinImg']=_0x5e58a2[_0x2fb0('113','MAAj')][_0x2fb0('114','h2%c')];ownCode[_0x359234['YLCeq']]=_0x5e58a2[_0x2fb0('10d','rL6H')][_0x2fb0('115','j!m2')];}$[_0x2fb0('116','MAAj')]=_0x5e58a2[_0x2fb0('117','3ZTM')][_0x2fb0('118','v@@h')];}else{if($[_0x2fb0('119','10OX')]===0x1){ownCode[_0x2fb0('93','q4xm')]='https://img10.360buyimg.com/imgzone/jfs/t1/7020/27/13511/6142/5c5138d8E4df2e764/5a1216a3a5043c5d.png';ownCode[_0x359234['YLCeq']]=_0x5e58a2[_0x2fb0('11a','990Z')][_0x2fb0('11b','!0Z%')];}$[_0x2fb0('11c','ucPn')]='https://img10.360buyimg.com/imgzone/jfs/t1/7020/27/13511/6142/5c5138d8E4df2e764/5a1216a3a5043c5d.png';}$[_0x2fb0('11d',']cj$')]=_0x5e58a2[_0x2fb0('11e','10OX')]['nickname'];break;case _0x359234[_0x2fb0('11f','QnJq')]:if(!_0x5e58a2[_0x2fb0('10f','v@@h')][_0x2fb0('120','l&1r')]){$[_0x2fb0('121','ikTU')](_0x2fb0('122','%#er')+_0x5e58a2['data'][_0x2fb0('123','Rq5(')]+_0x2fb0('124','(Tdl'));$['log'](_0x359234[_0x2fb0('125','(Tdl')]);if($[_0x2fb0('126','ln#!')]===0x1){ownCode[_0x2fb0('c3','63X1')]=_0x5e58a2[_0x2fb0('111','N*t!')][_0x2fb0('fc','@zZA')];}$[_0x2fb0('127','c98)')]=_0x5e58a2['data'];$[_0x2fb0('128','klU0')]=_0x5e58a2[_0x2fb0('11a','990Z')][_0x2fb0('129','N*t!')];}else{$['log'](_0x2fb0('12a','M)XI'));}break;case _0x2fb0('12b','KENv'):case _0x2fb0('12c','WDa3'):if(_0x5e58a2[_0x2fb0('12d','$hJq')][_0x2fb0('12e','N*t!')]){$[_0x2fb0('12f','^1aH')]('获得【'+_0x5e58a2[_0x2fb0('130','klU0')]['addBeanNum']+_0x2fb0('131','q4xm'));}break;case _0x359234[_0x2fb0('132','tCCg')]:$[_0x2fb0('133','G*k*')]=_0x5e58a2[_0x2fb0('134','%(Fo')];if(_0x5e58a2[_0x2fb0('135','ho#B')][_0x2fb0('136','63X1')]){$[_0x2fb0('137','$@aL')](_0x2fb0('138','6hzy')+_0x5e58a2[_0x2fb0('117','3ZTM')][_0x2fb0('139','Zlum')]+_0x2fb0('13a','OYf7'));}break;case _0x359234['wfwMF']:if(_0x5e58a2[_0x2fb0('13b','6hzy')][_0x2fb0('13c','L*)6')]){$[_0x2fb0('dd','ucPn')](_0x2fb0('13d','Zlum')+_0x5e58a2[_0x2fb0('13e','63X1')]['name']+'】');switch(_0x5e58a2[_0x2fb0('11e','10OX')][_0x2fb0('13f','ho#B')]){case 0x6:$[_0x2fb0('3d','KENv')]+=parseInt(_0x5e58a2['data']['value']);break;default:if($['isNode']()){await notify[_0x2fb0('140','%N7B')]($[_0x2fb0('141','ln#!')],'\x0a【京东账号'+$[_0x2fb0('142','$hJq')]+'】'+($[_0x2fb0('143','(Tdl')]||$[_0x2fb0('144','oe[x')])+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20获得\x20【'+_0x5e58a2[_0x2fb0('10f','v@@h')][_0x2fb0('145','0X$L')]+_0x2fb0('146','v@@h')+$['activityUrl'],'',_0x2fb0('147','ln#!'));}else{$[_0x2fb0('148','OYf7')]();}break;}}break;default:$[_0x2fb0('149','10OX')](JSON['stringify'](_0x5e58a2));break;}}else{$['log'](JSON[_0x2fb0('14a','klU0')](_0x5e58a2));}}else{$[_0x2fb0('14b','n6FV')](_0x2fb0('14c','%#er'));}}}catch(_0x4c00db){$[_0x2fb0('14d','63X1')](_0x4c00db);}finally{_0x359234['JvPjG'](_0x34f9ac);}});});}function getShopOpenCardInfo(_0x208dd6,_0x537804){var _0x2dd46c={'fIgnM':'api.m.jd.com','cgdpP':_0x2fb0('14e','ikTU'),'QaBTn':_0x2fb0('14f','M)XI'),'OjEBw':function(_0x317ed4,_0x5c50ea){return _0x317ed4(_0x5c50ea);}};let _0x64cf70={'url':_0x2fb0('150','Zlum')+encodeURIComponent(JSON[_0x2fb0('151','990Z')](_0x208dd6))+'&client=H5&clientVersion=9.2.0&uuid=88888','headers':{'Host':_0x2dd46c['fIgnM'],'Accept':_0x2dd46c[_0x2fb0('152','ucPn')],'Connection':'keep-alive','Cookie':cookie,'User-Agent':'jdapp;iPhone;9.5.4;13.6;'+$[_0x2fb0('153','ho#B')]+';network/wifi;ADID/'+$['ADID']+_0x2fb0('154','^1aH'),'Accept-Language':_0x2dd46c['QaBTn'],'Referer':_0x2fb0('155','MAAj')+_0x537804+'}&channel=801&returnUrl='+_0x2dd46c[_0x2fb0('156','c98)')](encodeURIComponent,$[_0x2fb0('157','oWcQ')]),'Accept-Encoding':_0x2fb0('158','63X1')}};return new Promise(_0x5da9a0=>{$[_0x2fb0('159','!0Z%')](_0x64cf70,(_0x5d4e9c,_0x30c53f,_0x6227f4)=>{try{if(_0x5d4e9c){console['log'](_0x5d4e9c);}else{res=JSON[_0x2fb0('15a','tCCg')](_0x6227f4);if(res[_0x2fb0('15b','N*t!')]){if(res[_0x2fb0('15c','rL6H')]['interestsRuleList']){$['openCardActivityId']=res['result']['interestsRuleList'][0x0][_0x2fb0('15d','tCCg')][_0x2fb0('15e','OYf7')];}}}}catch(_0xca83ee){console[_0x2fb0('15f','990Z')](_0xca83ee);}finally{_0x5da9a0();}});});}function bindWithVender(_0xfe6c19,_0x5b780a){var _0x35b0ef={'UqGYP':function(_0x565cdb,_0x28545e){return _0x565cdb(_0x28545e);},'MpGfb':'api.m.jd.com','NIDQZ':_0x2fb0('160','KENv'),'QqLMu':_0x2fb0('161','rL6H')};let _0x5f2586={'url':_0x2fb0('162','S8d*')+_0x35b0ef[_0x2fb0('163','63X1')](encodeURIComponent,JSON['stringify'](_0xfe6c19))+_0x2fb0('164','$@aL'),'headers':{'Host':_0x35b0ef['MpGfb'],'Accept':_0x2fb0('165','WDa3'),'Connection':_0x35b0ef['NIDQZ'],'Cookie':cookie,'User-Agent':'jdapp;iPhone;9.5.4;13.6;'+$[_0x2fb0('166','c98)')]+';network/wifi;ADID/'+$['ADID']+_0x2fb0('167','%(Fo'),'Accept-Language':_0x2fb0('14f','M)XI'),'Referer':_0x2fb0('168','6hzy')+_0x5b780a+_0x2fb0('169','@@)&')+encodeURIComponent($[_0x2fb0('16a','G*k*')]),'Accept-Encoding':_0x35b0ef[_0x2fb0('16b','h2%c')]}};return new Promise(_0x456eeb=>{var _0x496c28={'QjzWR':function(_0x3c5fc2,_0x37d0ed){return _0x3c5fc2===_0x37d0ed;}};$[_0x2fb0('16c','m3$R')](_0x5f2586,(_0x111d6b,_0x2ab1b5,_0x132efe)=>{try{if(_0x111d6b){console[_0x2fb0('16d','3ZTM')](_0x111d6b);}else{res=JSON[_0x2fb0('16e','n6FV')](_0x132efe);if(res[_0x2fb0('16f','63X1')]){if(res[_0x2fb0('170','j!m2')][_0x2fb0('171','ucPn')]&&res[_0x2fb0('172','klU0')][_0x2fb0('173','@zZA')][_0x2fb0('174','m3$R')]){for(const _0x4b0e83 of res[_0x2fb0('175','MAAj')][_0x2fb0('176','@@)&')][_0x2fb0('177','ho#B')]){if(_0x496c28[_0x2fb0('178','c98)')](_0x4b0e83[_0x2fb0('179','klU0')],0x4)){$['log'](_0x2fb0('17a','G*k*')+_0x4b0e83[_0x2fb0('17b','3ZTM')]+_0x2fb0('17c','0X$L'));$[_0x2fb0('17d',']cj$')]+=_0x4b0e83[_0x2fb0('17e','OYf7')];}}}}}}catch(_0x1ab48a){console[_0x2fb0('17f','m3$R')](_0x1ab48a);}finally{_0x456eeb();}});});}function taskUrl(_0x307245,_0x3a3254,_0x56bb92){var _0x1b1ce8={'dZXDb':_0x2fb0('180','tCCg'),'fyOYR':_0x2fb0('181','FmrE'),'aLxQx':_0x2fb0('182','ucPn'),'wVZYH':_0x2fb0('183','klU0'),'DjbcK':'https://lzdz1-isv.isvjcloud.com','tRULu':'keep-alive'};return{'url':_0x56bb92?'https://lzdz1-isv.isvjcloud.com/'+_0x307245:_0x2fb0('184','tCCg')+_0x307245,'headers':{'Host':_0x1b1ce8[_0x2fb0('185','MAAj')],'Accept':_0x1b1ce8[_0x2fb0('186','MAAj')],'X-Requested-With':_0x2fb0('187','(Tdl'),'Accept-Language':_0x1b1ce8['aLxQx'],'Accept-Encoding':_0x1b1ce8[_0x2fb0('188','m3$R')],'Content-Type':_0x2fb0('189','%(Fo'),'Origin':_0x1b1ce8[_0x2fb0('18a','FmrE')],'User-Agent':'jdapp;iPhone;9.5.4;13.6;'+$[_0x2fb0('18b','Rq5(')]+';network/wifi;ADID/'+$[_0x2fb0('18c','rL6H')]+_0x2fb0('18d','G*k*'),'Connection':_0x1b1ce8[_0x2fb0('18e','FmrE')],'Referer':$['activityUrl'],'Cookie':cookie},'body':_0x3a3254};}function getMyPing(){var _0x54bf8c={'npRQZ':'headers','FsVTo':_0x2fb0('18f','0X$L'),'RSyPy':_0x2fb0('190','0X$L'),'mzvsq':_0x2fb0('191','$hJq'),'MBYmJ':_0x2fb0('192','j!m2')};let _0x45ad5a={'url':'https://lzdz1-isv.isvjcloud.com/customer/getMyPing','headers':{'Host':_0x2fb0('193','oWcQ'),'Accept':_0x2fb0('194','@@)&'),'X-Requested-With':_0x2fb0('195','%#er'),'Accept-Language':_0x54bf8c[_0x2fb0('196','S8d*')],'Accept-Encoding':_0x2fb0('197','$@aL'),'Content-Type':_0x2fb0('198','ho#B'),'Origin':_0x54bf8c['mzvsq'],'User-Agent':_0x2fb0('199','QnJq')+$[_0x2fb0('19a','!0Z%')]+_0x2fb0('19b','ikTU')+$[_0x2fb0('19c','ln#!')]+_0x2fb0('19d','m3$R'),'Connection':_0x54bf8c[_0x2fb0('19e','$hJq')],'Referer':$[_0x2fb0('19f','$@aL')],'Cookie':cookie},'body':_0x2fb0('1a0','tCCg')+$['activityShopId']+'&token='+$[_0x2fb0('1a1','%(Fo')]+_0x2fb0('1a2','Zlum')};return new Promise(_0x1f3576=>{var _0x429bc8={'WDcMn':'set-cookie','NWjxm':_0x54bf8c[_0x2fb0('1a3','N*t!')],'kMtDh':_0x54bf8c[_0x2fb0('1a4','$@aL')],'Zoxhu':_0x2fb0('1a5','%(Fo')};$[_0x2fb0('1a6','3ZTM')](_0x45ad5a,(_0x4e0785,_0x84bfc3,_0x22093e)=>{try{if(_0x4e0785){$[_0x2fb0('1a7','ln#!')](_0x4e0785);}else{if(_0x84bfc3['headers'][_0x429bc8[_0x2fb0('1a8','G*k*')]]){cookie=''+originCookie;if($['isNode']()){for(let _0x486d45 of _0x84bfc3[_0x429bc8['NWjxm']][_0x429bc8[_0x2fb0('1a9','WDa3')]]){cookie=''+cookie+_0x486d45[_0x2fb0('1aa','(Tdl')](';')[0x0]+';';}}else{for(let _0x1ffc01 of _0x84bfc3[_0x2fb0('1ab','WDa3')][_0x429bc8[_0x2fb0('1ac',']cj$')]][_0x2fb0('1ad','FmrE')](',')){cookie=''+cookie+_0x1ffc01['split'](';')[0x0]+';';}}}if(_0x84bfc3['headers'][_0x2fb0('1ae','N*t!')]){cookie=''+originCookie;if($[_0x2fb0('1af','FmrE')]()){for(let _0x8b95d9 of _0x84bfc3[_0x2fb0('1b0','6hzy')][_0x429bc8['WDcMn']]){cookie=''+cookie+_0x8b95d9[_0x2fb0('1b1','0X$L')](';')[0x0]+';';}}else{for(let _0x4deb97 of _0x84bfc3[_0x429bc8[_0x2fb0('1b2','$@aL')]][_0x429bc8['kMtDh']][_0x2fb0('1b3','%#er')](',')){cookie=''+cookie+_0x4deb97['split'](';')[0x0]+';';}}}if(_0x22093e){_0x22093e=JSON['parse'](_0x22093e);if(_0x22093e[_0x2fb0('1b4','oe[x')]){$[_0x2fb0('1b5','q4xm')](_0x2fb0('1b6','%WWj')+_0x22093e[_0x2fb0('1b7','(Tdl')][_0x2fb0('1b8','%WWj')]);$[_0x2fb0('a7','ucPn')]=_0x22093e[_0x2fb0('1b9','!0Z%')][_0x2fb0('1ba','N*t!')];cookie=cookie+_0x2fb0('1bb','klU0')+_0x22093e['data'][_0x2fb0('1bc','%#er')];}else{$['log'](_0x22093e[_0x2fb0('1bd','v@@h')]);}}else{$['log'](_0x429bc8[_0x2fb0('1be','n6FV')]);}}}catch(_0xab09eb){$[_0x2fb0('121','ikTU')](_0xab09eb);}finally{_0x1f3576();}});});}function getFirstLZCK(){var _0x2a111e={'dNMFA':_0x2fb0('1bf','l&1r'),'cLafr':_0x2fb0('1c0','@@)&'),'pSYrU':function(_0x874986){return _0x874986();}};return new Promise(_0x3e5461=>{$[_0x2fb0('1c1','KENv')]({'url':$[_0x2fb0('157','oWcQ')]},(_0x3ec9ac,_0x489749,_0x3d671f)=>{try{if(_0x3ec9ac){console['log'](_0x3ec9ac);}else{if(_0x489749[_0x2fb0('1c2','!0Z%')][_0x2a111e[_0x2fb0('1c3','990Z')]]){cookie=''+originCookie;if($[_0x2fb0('1c4','^1aH')]()){for(let _0x17eea4 of _0x489749[_0x2a111e[_0x2fb0('1c5','@@)&')]]['set-cookie']){cookie=''+cookie+_0x17eea4[_0x2fb0('1c6','tCCg')](';')[0x0]+';';}}else{for(let _0x4c862d of _0x489749['headers'][_0x2fb0('1c7','ucPn')][_0x2fb0('1aa','(Tdl')](',')){cookie=''+cookie+_0x4c862d[_0x2fb0('1c8','rL6H')](';')[0x0]+';';}}}if(_0x489749[_0x2a111e[_0x2fb0('1c9','%#er')]][_0x2fb0('1ca','63X1')]){cookie=''+originCookie;if($[_0x2fb0('1cb','j!m2')]()){for(let _0x155c8b of _0x489749[_0x2fb0('1cc','c98)')][_0x2fb0('1cd','klU0')]){cookie=''+cookie+_0x155c8b[_0x2fb0('1ce','G*k*')](';')[0x0]+';';}}else{for(let _0x2c169e of _0x489749[_0x2a111e[_0x2fb0('1cf','%N7B')]]['Set-Cookie'][_0x2fb0('1d0','10OX')](',')){cookie=''+cookie+_0x2c169e[_0x2fb0('1d1','69C)')](';')[0x0]+';';}}}}}catch(_0x21749d){console['log'](_0x21749d);}finally{_0x2a111e[_0x2fb0('1d2','63X1')](_0x3e5461);}});});}function getToken(){var _0x1b1e45={'VtmfB':function(_0xb08464,_0x47dd66){return _0xb08464===_0x47dd66;},'emFou':_0x2fb0('1d3','@zZA'),'pGPGa':'gzip,\x20deflate,\x20br'};let _0x50f9e2={'url':'https://api.m.jd.com/client.action?functionId=isvObfuscator','headers':{'Host':'api.m.jd.com','Content-Type':'application/x-www-form-urlencoded','Accept':_0x1b1e45['emFou'],'Connection':_0x2fb0('1d4','6hzy'),'Cookie':cookie,'User-Agent':'JD4iPhone/167650\x20(iPhone;\x20iOS\x2013.7;\x20Scale/3.00)','Accept-Language':'zh-Hans-CN;q=1','Accept-Encoding':_0x1b1e45[_0x2fb0('1d5','rL6H')]},'body':_0x2fb0('1d6','j!m2')};return new Promise(_0x1b86c6=>{$[_0x2fb0('1d7','%N7B')](_0x50f9e2,(_0x3b8aed,_0x4754ce,_0x1ebd69)=>{try{if(_0x3b8aed){$[_0x2fb0('bd','%(Fo')](_0x3b8aed);}else{if(_0x1ebd69){_0x1ebd69=JSON[_0x2fb0('1d8','Zlum')](_0x1ebd69);if(_0x1b1e45[_0x2fb0('1d9','n6FV')](_0x1ebd69[_0x2fb0('1da','tCCg')],'0')){$[_0x2fb0('1db','G*k*')]=_0x1ebd69[_0x2fb0('1dc','63X1')];}}else{$[_0x2fb0('dd','ucPn')](_0x2fb0('1dd','n6FV'));}}}catch(_0x147e4a){$['log'](_0x147e4a);}finally{_0x1b86c6();}});});}function random(_0x196fa2,_0x3da2){var _0x5afdca={'sSPpX':function(_0x108693,_0xe46897){return _0x108693+_0xe46897;}};return _0x5afdca[_0x2fb0('1de','$@aL')](Math[_0x2fb0('1df','FmrE')](Math[_0x2fb0('1e0','QnJq')]()*(_0x3da2-_0x196fa2)),_0x196fa2);}function getUUID(_0x15da2b=_0x2fb0('1e1','@@)&'),_0x2b2103=0x0){var _0x3b49f6={'zTmPK':function(_0xfce363,_0x490c38){return _0xfce363*_0x490c38;},'vFIDt':function(_0xb7318b,_0x246fed){return _0xb7318b==_0x246fed;},'izgQF':function(_0x3a6264,_0x5567a6){return _0x3a6264&_0x5567a6;}};return _0x15da2b[_0x2fb0('1e2','rL6H')](/[xy]/g,function(_0x1a2fc9){var _0x54c4f0=_0x3b49f6['zTmPK'](Math[_0x2fb0('1e3','l&1r')](),0x10)|0x0,_0x3f73d5=_0x3b49f6[_0x2fb0('1e4','ikTU')](_0x1a2fc9,'x')?_0x54c4f0:_0x3b49f6[_0x2fb0('1e5','%WWj')](_0x54c4f0,0x3)|0x8;if(_0x2b2103){uuid=_0x3f73d5['toString'](0x24)[_0x2fb0('1e6','M)XI')]();}else{uuid=_0x3f73d5['toString'](0x24);}return uuid;});}function checkCookie(){var _0x3b09f6={'bFJoG':'1001','YnnlX':_0x2fb0('1e7','6hzy'),'sNPrA':_0x2fb0('1e8','L*)6'),'AFITL':_0x2fb0('1e9','L*)6'),'Tbudu':_0x2fb0('1ea','%(Fo')};const _0xe3a8f9={'url':_0x3b09f6[_0x2fb0('1eb','G*k*')],'headers':{'Host':_0x3b09f6[_0x2fb0('1ec','M)XI')],'Accept':_0x3b09f6[_0x2fb0('1ed','!0Z%')],'Connection':'keep-alive','Cookie':cookie,'User-Agent':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.2\x20Mobile/15E148\x20Safari/604.1','Accept-Language':_0x3b09f6[_0x2fb0('1ee','ho#B')],'Referer':'https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&','Accept-Encoding':_0x2fb0('1ef','MAAj')}};return new Promise(_0x2f63ea=>{var _0x55b02b={'mfDBz':function(_0x5cdf46,_0x373cd0){return _0x5cdf46===_0x373cd0;},'neGMn':_0x3b09f6['bFJoG'],'oKetX':_0x2fb0('1f0','3ZTM'),'tmTCZ':function(_0x1553ec){return _0x1553ec();}};$['get'](_0xe3a8f9,(_0x5e49fe,_0x1041b9,_0x17846b)=>{try{if(_0x5e49fe){$[_0x2fb0('1f1','(Tdl')](_0x5e49fe);}else{if(_0x17846b){_0x17846b=JSON[_0x2fb0('1f2','6hzy')](_0x17846b);if(_0x55b02b['mfDBz'](_0x17846b['retcode'],_0x55b02b['neGMn'])){$[_0x2fb0('1f3','3ZTM')]=![];return;}if(_0x17846b[_0x2fb0('1f4','c98)')]==='0'&&_0x17846b[_0x2fb0('117','3ZTM')][_0x2fb0('1f5','3ZTM')](_0x55b02b[_0x2fb0('1f6','oe[x')])){$[_0x2fb0('1f7','G*k*')]=_0x17846b[_0x2fb0('1f8','FmrE')][_0x2fb0('1f9',']cj$')]['baseInfo'][_0x2fb0('1fa','^1aH')];}}else{$[_0x2fb0('1fb','FmrE')](_0x2fb0('1fc','KENv'));}}}catch(_0x1677d6){$[_0x2fb0('1fd','%(Fo')](_0x1677d6);}finally{_0x55b02b['tmTCZ'](_0x2f63ea);}});});}
// 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) }