1 Star 0 Fork 0

Zhao/faker2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_wxUnPackingActivity.js 46.50 KB
一键复制 编辑 原始数据 按行查看 历史
Faker 提交于 2022-11-01 16:17 . free soul
/*
让福袋飞
地址: https://lzkjdz-isv.isvjcloud.com/wxUnPackingActivity/activity/activity?activityId="xxx"
不自动入会。
export jd_wxUnPackingActivity_activityId="" // 活动id
cron "1 1 1 1 1" jd_wxUnPackingActivity.js
*/
const $ = new Env('让福袋飞');
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
var __encode ='jsjiami.com',_a={}, _0xb483=["\x5F\x64\x65\x63\x6F\x64\x65","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];(function(_0xd642x1){_0xd642x1[_0xb483[0]]= _0xb483[1]})(_a);var __Oxee990=["","\x69\x73\x4E\x6F\x64\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x4A\x44\x5F\x44\x45\x42\x55\x47","\x65\x6E\x76","\x66\x61\x6C\x73\x65","\x6C\x6F\x67","\x66\x69\x6C\x74\x65\x72","\x43\x6F\x6F\x6B\x69\x65\x4A\x44","\x67\x65\x74\x64\x61\x74\x61","\x43\x6F\x6F\x6B\x69\x65\x4A\x44\x32","\x63\x6F\x6F\x6B\x69\x65","\x6D\x61\x70","\x43\x6F\x6F\x6B\x69\x65\x73\x4A\x44","\x5B\x5D","\x68\x6F\x74\x46\x6C\x61\x67","\x6F\x75\x74\x46\x6C\x61\x67","\x61\x63\x74\x69\x76\x69\x74\x79\x45\x6E\x64","\x6A\x64\x5F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x5F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64","\x6A\x64\x5F\x6C\x7A\x6B\x6A\x5F\x62\x6C\x61\x63\x6B\x5F\x70\x69\x6E","\x6A\x64\x61\x70\x70\x3B\x61\x6E\x64\x72\x6F\x69\x64\x3B\x31\x31\x2E\x31\x2E\x34\x3B\x6A\x64\x53\x75\x70\x70\x6F\x72\x74\x44\x61\x72\x6B\x4D\x6F\x64\x65\x2F\x30\x3B\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x35\x2E\x30\x20\x28\x4C\x69\x6E\x75\x78\x3B\x20\x41\x6E\x64\x72\x6F\x69\x64\x20\x31\x30\x3B\x20\x50\x43\x43\x4D\x30\x30\x20\x42\x75\x69\x6C\x64\x2F\x51\x4B\x51\x31\x2E\x31\x39\x31\x30\x32\x31\x2E\x30\x30\x32\x3B\x20\x77\x76\x29\x20\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F\x35\x33\x37\x2E\x33\x36\x20\x28\x4B\x48\x54\x4D\x4C\x2C\x20\x6C\x69\x6B\x65\x20\x47\x65\x63\x6B\x6F\x29\x20\x56\x65\x72\x73\x69\x6F\x6E\x2F\x34\x2E\x30\x20\x43\x68\x72\x6F\x6D\x65\x2F\x38\x39\x2E\x30\x2E\x34\x33\x38\x39\x2E\x37\x32\x20\x4D\x51\x51\x42\x72\x6F\x77\x73\x65\x72\x2F\x36\x2E\x32\x20\x54\x42\x53\x2F\x30\x34\x36\x30\x31\x31\x20\x4D\x6F\x62\x69\x6C\x65\x20\x53\x61\x66\x61\x72\x69\x2F\x35\x33\x37\x2E\x33\x36","\x6A\x64\x61\x70\x70\x3B\x61\x6E\x64\x72\x6F\x69\x64\x3B\x31\x31\x2E\x32\x2E\x34\x3B\x6A\x64\x53\x75\x70\x70\x6F\x72\x74\x44\x61\x72\x6B\x4D\x6F\x64\x65\x2F\x30\x3B\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x35\x2E\x30\x20\x28\x4C\x69\x6E\x75\x78\x3B\x20\x41\x6E\x64\x72\x6F\x69\x64\x20\x31\x30\x3B\x20\x50\x43\x43\x4D\x30\x30\x20\x42\x75\x69\x6C\x64\x2F\x51\x4B\x51\x31\x2E\x31\x39\x31\x30\x32\x31\x2E\x30\x30\x32\x3B\x20\x77\x76\x29\x20\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F\x35\x33\x37\x2E\x33\x36\x20\x28\x4B\x48\x54\x4D\x4C\x2C\x20\x6C\x69\x6B\x65\x20\x47\x65\x63\x6B\x6F\x29\x20\x56\x65\x72\x73\x69\x6F\x6E\x2F\x34\x2E\x30\x20\x43\x68\x72\x6F\x6D\x65\x2F\x38\x39\x2E\x30\x2E\x34\x33\x38\x39\x2E\x37\x32\x20\x4D\x51\x51\x42\x72\x6F\x77\x73\x65\x72\x2F\x36\x2E\x32\x20\x54\x42\x53\x2F\x30\x34\x36\x30\x31\x31\x20\x4D\x6F\x62\x69\x6C\x65\x20\x53\x61\x66\x61\x72\x69\x2F\x35\x33\x37\x2E\x33\x36","\x68\x74\x74\x70\x3A\x2F\x2F\x68\x7A\x2E\x66\x65\x76\x65\x72\x72\x75\x6E\x2E\x74\x6F\x70\x3A\x39\x39\x2F\x73\x68\x61\x72\x65\x2F\x63\x61\x72\x64\x2F\x67\x65\x74\x54\x6F\x6B\x65\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x68\x7A\x2E\x66\x65\x76\x65\x72\x72\x75\x6E\x2E\x74\x6F\x70\x3A\x39\x39\x2F\x73\x68\x61\x72\x65\x2F\x63\x61\x72\x64\x2F\x67\x65\x74\x43\x61\x72\x64","\x64\x6F\x6E\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\x6C\x6F\x67\x45\x72\x72","\x63\x61\x74\x63\x68","\x6E\x61\x6D\x65","\u3010\u63D0\u793A\u3011\u8BF7\u5148\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65\x0A\u76F4\u63A5\u4F7F\u7528\x4E\x6F\x62\x79\x44\x61\u7684\u4EAC\u4E1C\u7B7E\u5230\u83B7\u53D6","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x65\x61\x6E\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F","\x6D\x73\x67","\u3010\u4FDD\u62A4\u73AF\u5883\u3011\x68\x74\x74\x70\x73\x3A\x2F\x2F\x74\x2E\x6D\x65\x2F\x70\x72\x6F\x65\x6E\x76\x63\x20\u63D0\u9192\u4F60\x3A","\x65\x78\x70\x6F\x72\x74\x20\x6A\x64\x5F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x5F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D\x22\x78\x78\x78\x22\x20\u672A\u8BBE\u7F6E\u9000\u51FA\x21\x21\x21","\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64","\x73\x68\x61\x72\x65\x55\x75\x69\x64","\u6D3B\u52A8\u5165\u53E3\x3A\x20\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x7A\x6B\x6A\x64\x7A\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x3F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x6C\x65\x6E\x67\x74\x68","\x55\x73\x65\x72\x4E\x61\x6D\x65","\x6D\x61\x74\x63\x68","\x69\x6E\x64\x65\x78","\x62\x65\x61\x6E","\x6E\x69\x63\x6B\x4E\x61\x6D\x65","\x2A\x2A\x2A\x2A\x2A\x2A\u5F00\u59CB\u3010\u4EAC\u4E1C\u8D26\u53F7","\u3011","\x2A\x2A\x2A\x2A\x2A\x2A","\x69\x6E\x64\x65\x78\x4F\x66","\u9ED1\u540D\u5355\u5185\x2C\u8DF3\u8FC7\x21","\x77\x61\x69\x74","\x61\x63\x74\x6F\x72\x55\x75\x69\x64","\x68\x61\x73\x45\x6E\x64","\u6B64\x69\x70\u5DF2\u88AB\u9650\u5236\uFF0C\u8BF7\u8FC7\x31\x30\u5206\u949F\u540E\u518D\u6267\u884C\u811A\u672C","\x73\x65\x6E\x64\x4E\x6F\x74\x69\x66\x79","\x61\x73\x73\x69\x73\x74\x43\x6F\x75\x6E\x74","\x65\x6E\x64\x54\x69\x6D\x65","\x54\x6F\x6B\x65\x6E","\x50\x69\x6E","\x69\x73\x76\x4F\x62\x66\x75\x73\x63\x61\x74\x6F\x72","\u83B7\u53D6\x5B\x74\x6F\x6B\x65\x6E\x5D\u5931\u8D25\uFF01","\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65\u5931\u8D25","\u6D3B\u52A8\u7ED3\u675F","\u6B64\x69\x70\u5DF2\u88AB\u9650\u5236\uFF0C\u8BF7\u8FC7\x31\x30\u5206\u949F\u540E\u518D\u6267\u884C\u811A\u672C\x0A","\x67\x65\x74\x53\x69\x6D\x70\x6C\x65\x41\x63\x74\x49\x6E\x66\x6F\x56\x6F","\x67\x65\x74\x4D\x79\x50\x69\x6E\x67","\u83B7\u53D6\x5B\x50\x69\x6E\x5D\u5931\u8D25\uFF01","\x61\x63\x63\x65\x73\x73\x4C\x6F\x67\x57\x69\x74\x68\x41\x44","\x67\x65\x74\x41\x63\x74\x4D\x65\x6D\x62\x65\x72\x49\x6E\x66\x6F","\x6F\x70\x65\x6E\x43\x61\x72\x64","\x73\x68\x6F\x70\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64","\x6A\x6F\x69\x6E\x56\x65\x6E\x64\x65\x72\x49\x64","\x76\x65\x6E\x64\x65\x72\x49\x64","\u6682\u4E0D\u81EA\u52A8\u5165\u4F1A","\x67\x65\x74\x55\x73\x65\x72\x49\x6E\x66\x6F","\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x73\x68\x6F\x70\x49\x6E\x66\x6F","\u6D3B\u52A8\u83B7\u53D6\u6210\u529F\uFF0C\u52A9\u529B\u7801\uFF1A","\x20\u9ED8\u8BA4\u4E0D\u5F00\u5361\uFF0C\u8BF7\u624B\u52A8\u8FDB\u5165\u6D3B\u52A8\u9875\u9762\u5F00\u5361","\u6D3B\u52A8\u5E97\u94FA\uFF1A","\x73\x68\x6F\x70\x4E\x61\x6D\x65","\u5F00\u59CB\u65F6\u95F4\uFF1A","\x73\x74\x61\x72\x74\x54\x69\x6D\x65","\u7ED3\u675F\u65F6\u95F4\uFF1A","\u52A9\u529B\u6B21\u6570\uFF1A","\x75\x6E\x70\x61\x63\x6B\x69\x6E\x67\x50\x65\x6F\x70\x6C\x65","\u5DF2\u6709\u52A9\u529B\uFF1A","\x68\x61\x73\x55\x6E\x70\x61\x63\x6B\x69\x6E\x67\x50\x65\x6F\x70\x6C\x65","\x20\u8FD8\u9700\u52A9\u529B\uFF1A","\x6E\x65\x65\x64\x55\x6E\x70\x61\x63\x6B\x69\x6E\x67\x50\x65\x6F\x70\x6C\x65","\x67\x65\x74\x4D\x79\x46\x72\x69\x65\x6E\x64\x49\x6E\x66\x6F","\x75\x6E\x70\x61\x63\x6B\x69\x6E\x67\x49\x6E\x66\x6F","\x75\x6E\x50\x61\x63\x6B\x69\x6E\x67","\x68\x65\x6C\x70\x53\x74\x61\x74\x75\x73","\u52A9\u529B\u6210\u529F","\u5DF2\u52A9\u529B\u4ED6\u4EBA","\u5DF2\u52A9\u529B","\u5176\u4ED6\u60C5\u51B5","\x68\x65\x6C\x70\x43\x6F\x75\x6E\x74","\u3010\u8D26\u53F7","\u3011\u5DF2\u6709\u52A9\u529B\uFF1A","\x20\u3010\u8D26\u53F7\x31\u3011\u5DF2\u6709\u52A9\u529B\uFF1A","\u5168\u90E8\u52A9\u529B\x20\u2192\x20","\x72\x61\x6E\x64\x6F\x6D","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x7A\x6B\x6A\x64\x7A\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D","\x50\x4F\x53\x54","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x61\x70\x69\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F\x63\x6C\x69\x65\x6E\x74\x2E\x61\x63\x74\x69\x6F\x6E\x3F\x66\x75\x6E\x63\x74\x69\x6F\x6E\x49\x64\x3D\x69\x73\x76\x4F\x62\x66\x75\x73\x63\x61\x74\x6F\x72","\x2F\x63\x75\x73\x74\x6F\x6D\x65\x72\x2F\x67\x65\x74\x4D\x79\x50\x69\x6E\x67","\x74\x6F\x6B\x65\x6E\x3D","\x26\x66\x72\x6F\x6D\x54\x79\x70\x65\x3D\x41\x50\x50\x26\x75\x73\x65\x72\x49\x64\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x73\x68\x6F\x70\x49\x6E\x66\x6F","\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x2F\x63\x75\x73\x74\x6F\x6D\x65\x72\x2F\x67\x65\x74\x53\x69\x6D\x70\x6C\x65\x41\x63\x74\x49\x6E\x66\x6F\x56\x6F","\x2F\x77\x78\x43\x6F\x6D\x6D\x6F\x6E\x49\x6E\x66\x6F\x2F\x67\x65\x74\x41\x63\x74\x4D\x65\x6D\x62\x65\x72\x49\x6E\x66\x6F","\x76\x65\x6E\x64\x65\x72\x49\x64\x3D","\x26\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x26\x70\x69\x6E\x3D","\x2F\x63\x6F\x6D\x6D\x6F\x6E\x2F\x61\x63\x63\x65\x73\x73\x4C\x6F\x67\x57\x69\x74\x68\x41\x44","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x7A\x6B\x6A\x64\x7A\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x3F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x26\x66\x72\x69\x65\x6E\x64\x55\x75\x69\x64\x3D","\x26\x63\x6F\x64\x65\x3D","\x61\x63\x74\x69\x76\x69\x74\x79\x54\x79\x70\x65","\x26\x70\x61\x67\x65\x55\x72\x6C\x3D","\x26\x73\x75\x62\x54\x79\x70\x65\x3D\x61\x70\x70\x26\x61\x64\x53\x6F\x75\x72\x63\x65\x3D","\x2F\x77\x78\x41\x63\x74\x69\x6F\x6E\x43\x6F\x6D\x6D\x6F\x6E\x2F\x67\x65\x74\x55\x73\x65\x72\x49\x6E\x66\x6F","\x70\x69\x6E\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x67\x65\x74\x4D\x79\x46\x72\x69\x65\x6E\x64\x49\x6E\x66\x6F","\x66\x72\x69\x65\x6E\x64\x55\x75\x69\x64\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x26\x62\x75\x79\x65\x72\x4E\x69\x63\x6B\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x75\x6E\x70\x61\x63\x6B\x69\x6E\x67\x49\x6E\x66\x6F","\x26\x6D\x79\x53\x65\x6C\x66\x55\x75\x69\x64\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x75\x6E\x50\x61\x63\x6B\x69\x6E\x67","\x26\x6D\x79\x53\x65\x6C\x66\x49\x64\x3D","\x2F\x77\x78\x55\x6E\x50\x61\x63\x6B\x69\x6E\x67\x41\x63\x74\x69\x76\x69\x74\x79\x2F\x67\x65\x74\x50\x72\x69\x7A\x65","\x67\x65\x74\x50\x72\x69\x7A\x65","\u9519\u8BEF","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x74\x6F\x53\x74\x72","\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\x70\x6F\x73\x74","\x64\x72\x61\x77\x43\x6F\x6E\x74\x65\x6E\x74","\x70\x61\x72\x73\x65","\x20\u6267\u884C\u4EFB\u52A1\u5F02\u5E38","\x72\x75\x6E\x46\x61\x6C\x61\x67","\x6F\x62\x6A\x65\x63\x74","\x65\x72\x72\x63\x6F\x64\x65","\x74\x6F\x6B\x65\x6E","\x6D\x65\x73\x73\x61\x67\x65","\x69\x73\x76\x4F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x20","\x72\x65\x73\x75\x6C\x74","\x64\x61\x74\x61","\x73\x65\x63\x72\x65\x74\x50\x69\x6E","\x6E\x69\x63\x6B\x6E\x61\x6D\x65","\x65\x72\x72\x6F\x72\x4D\x65\x73\x73\x61\x67\x65","\x20","\x73\x68\x6F\x70\x49\x64","\x70\x69\x6E\x49\x6D\x67","\x79\x75\x6E\x4D\x69\x64\x49\x6D\x61\x67\x65\x55\x72\x6C","\x6A\x64\x4E\x69\x63\x6B","\x6D\x79\x53\x65\x6C\x66\x49\x64","\x77\x75\x63\x76\x6F","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x63\x68\x65\x63\x6B\x44\x72\x61\x77\x53\x74\x61\x74\x75\x73","\x77\x75\x69\x76\x6F","\x6A\x70\x6E\x61\x6D\x65","\x77\x64\x69\x66\x6F","\x68\x61\x73\x46\x6F\x6C\x6C\x6F\x77","\x72\x75\x6C\x65","\u7ED3\u675F","\u51C6\u5907\u52A9\u529B\x20\x3D\x3E\x20","\x73\x68\x61\x72\x65\x53\x74\x61\x74\x75\x73","\x63\x6F\x6E\x74\x65\x6E\x74","\x2D\x3E\x20","\u706B\u7206","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E\x2C\x20\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x2C\x20\x2A\x2F\x2A\x3B\x20\x71\x3D\x30\x2E\x30\x31","\x67\x7A\x69\x70\x2C\x20\x64\x65\x66\x6C\x61\x74\x65\x2C\x20\x62\x72","\x7A\x68\x2D\x63\x6E","\x6B\x65\x65\x70\x2D\x61\x6C\x69\x76\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64\x3B\x20\x63\x68\x61\x72\x73\x65\x74\x3D\x55\x54\x46\x2D\x38","\x55\x41","\x58\x4D\x4C\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x4F\x72\x69\x67\x69\x6E","\x52\x65\x66\x65\x72\x65\x72","\x43\x6F\x6F\x6B\x69\x65","\x41\x55\x54\x48\x5F\x43\x5F\x55\x53\x45\x52\x3D","\x3B","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x7A\x6B\x6A\x64\x7A\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D\x2F\x77\x78\x43\x6F\x6D\x6D\x6F\x6E\x49\x6E\x66\x6F\x2F\x74\x6F\x6B\x65\x6E","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E\x2C\x20\x74\x65\x78\x74\x2F\x70\x6C\x61\x69\x6E\x2C\x20\x2A\x2F\x2A","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x20\x63\x6F\x6F\x6B\x69\x65\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\u6D3B\u52A8\u5DF2\u7ED3\u675F","\x67\x65\x74","\x73\x65\x74\x2D\x63\x6F\x6F\x6B\x69\x65","\x68\x65\x61\x64\x65\x72\x73","\x3D","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72","\x6A\x64\x61\x70\x70\x3B\x69\x50\x68\x6F\x6E\x65\x3B\x31\x30\x2E\x34\x2E\x36\x3B\x31\x33\x2E\x31\x2E\x32\x3B","\x3B\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x77\x69\x66\x69\x3B\x6D\x6F\x64\x65\x6C\x2F\x69\x50\x68\x6F\x6E\x65\x38\x2C\x31\x3B\x61\x64\x64\x72\x65\x73\x73\x69\x64\x2F\x32\x33\x30\x38\x34\x36\x30\x36\x31\x31\x3B\x61\x70\x70\x42\x75\x69\x6C\x64\x2F\x31\x36\x37\x38\x31\x34\x3B\x6A\x64\x53\x75\x70\x70\x6F\x72\x74\x44\x61\x72\x6B\x4D\x6F\x64\x65\x2F\x30\x3B\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x35\x2E\x30\x20\x28\x69\x50\x68\x6F\x6E\x65\x3B\x20\x43\x50\x55\x20\x69\x50\x68\x6F\x6E\x65\x20\x4F\x53\x20\x31\x33\x5F\x31\x5F\x32\x20\x6C\x69\x6B\x65\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F\x36\x30\x35\x2E\x31\x2E\x31\x35\x20\x28\x4B\x48\x54\x4D\x4C\x2C\x20\x6C\x69\x6B\x65\x20\x47\x65\x63\x6B\x6F\x29\x20\x4D\x6F\x62\x69\x6C\x65\x2F\x31\x35\x45\x31\x34\x38\x3B\x73\x75\x70\x70\x6F\x72\x74\x4A\x44\x53\x48\x57\x4B\x2F\x31","\x61\x62\x63\x64\x65\x66\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39","\x66\x6C\x6F\x6F\x72","\x63\x68\x61\x72\x41\x74","\x6D\x61\x78","\x61\x70\x70\x6C\x79","\x6D\x69\x6E","\x3F\x76\x65\x6E\x64\x65\x72\x69\x64\x3D","\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF","\x3F\x74\x79\x70\x65\x3D\x6C\x7A\x6B\x6A\x64\x7A","\x63\x6F\x64\x65","\x73\x74\x72\x69\x6E\x67","\u8BF7\u52FF\u968F\u610F\u5728\x42\x6F\x78\x4A\x73\u8F93\u5165\u6846\u4FEE\u6539\u5185\u5BB9\x0A\u5EFA\u8BAE\u901A\u8FC7\u811A\u672C\u53BB\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65","\u5220\u9664","\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A","\u671F\u5F39\u7A97\uFF0C","\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C","\x6A\x73\x6A\x69\x61","\x6D\x69\x2E\x63\x6F\x6D"];let lz_cookie={};let cookiesArr=[],cookie=__Oxee990[0x0];if($[__Oxee990[0x1]]()){Object[__Oxee990[0x4]](jdCookieNode)[__Oxee990[0x3]]((_0x1a0dx4)=>{cookiesArr[__Oxee990[0x2]](jdCookieNode[_0x1a0dx4])});if(process[__Oxee990[0x6]][__Oxee990[0x5]]&& process[__Oxee990[0x6]][__Oxee990[0x5]]=== __Oxee990[0x7]){console[__Oxee990[0x8]]= ()=>{}}}else {cookiesArr= [$[__Oxee990[0xb]](__Oxee990[0xa]),$[__Oxee990[0xb]](__Oxee990[0xc]),...jsonParse($[__Oxee990[0xb]](__Oxee990[0xf])|| __Oxee990[0x10])[__Oxee990[0xe]]((_0x1a0dx4)=>{return _0x1a0dx4[__Oxee990[0xd]]})][__Oxee990[0x9]]((_0x1a0dx4)=>{return !!_0x1a0dx4})};allMessage= __Oxee990[0x0];message= __Oxee990[0x0];$[__Oxee990[0x11]]= false;$[__Oxee990[0x12]]= false;$[__Oxee990[0x13]]= false;let lz_jdpin_token_cookie=__Oxee990[0x0];let activityCookie=__Oxee990[0x0];let jd_wxUnPackingActivity_activityId=__Oxee990[0x0];jd_wxUnPackingActivity_activityId= $[__Oxee990[0x1]]()?(process[__Oxee990[0x6]][__Oxee990[0x14]]?process[__Oxee990[0x6]][__Oxee990[0x14]]:`${__Oxee990[0x0]}${jd_wxUnPackingActivity_activityId}${__Oxee990[0x0]}`):($[__Oxee990[0xb]](__Oxee990[0x14])?$[__Oxee990[0xb]](__Oxee990[0x14]):`${__Oxee990[0x0]}${jd_wxUnPackingActivity_activityId}${__Oxee990[0x0]}`);let jd_lzkj_black_pin=process[__Oxee990[0x6]][__Oxee990[0x15]]?process[__Oxee990[0x6]][__Oxee990[0x15]]:__Oxee990[0x0];let ver1=__Oxee990[0x16];let ver2=__Oxee990[0x17];let url1=__Oxee990[0x18];let url2=__Oxee990[0x19];!(async ()=>{if(!cookiesArr[0x0]){$[__Oxee990[0x21]]($[__Oxee990[0x1e]],__Oxee990[0x1f],__Oxee990[0x20],{"\x6F\x70\x65\x6E\x2D\x75\x72\x6C":__Oxee990[0x20]});return};if(!jd_wxUnPackingActivity_activityId){console[__Oxee990[0x8]](`${__Oxee990[0x22]}`);console[__Oxee990[0x8]](`${__Oxee990[0x23]}`);return};$[__Oxee990[0x24]]= jd_wxUnPackingActivity_activityId;$[__Oxee990[0x25]]= __Oxee990[0x0];console[__Oxee990[0x8]](`${__Oxee990[0x26]}${$[__Oxee990[0x24]]}${__Oxee990[0x0]}`);for(let _0x1a0dxe=0;_0x1a0dxe< cookiesArr[__Oxee990[0x27]];_0x1a0dxe++){cookie= cookiesArr[_0x1a0dxe];originCookie= cookiesArr[_0x1a0dxe];if(cookie){$[__Oxee990[0x28]]= decodeURIComponent(cookie[__Oxee990[0x29]](/pt_pin=([^; ]+)(?=;?)/)&& cookie[__Oxee990[0x29]](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[__Oxee990[0x2a]]= _0x1a0dxe+ 1;message= __Oxee990[0x0];$[__Oxee990[0x2b]]= 0;$[__Oxee990[0x11]]= false;$[__Oxee990[0x2c]]= __Oxee990[0x0];console[__Oxee990[0x8]](`${__Oxee990[0x2d]}${$[__Oxee990[0x2a]]}${__Oxee990[0x2e]}${$[__Oxee990[0x2c]]|| $[__Oxee990[0x28]]}${__Oxee990[0x2f]}`);if(jd_lzkj_black_pin[__Oxee990[0x30]]($.UserName)> -1){console[__Oxee990[0x8]](`${__Oxee990[0x31]}`);continue}; await getUA(); await run(); await $[__Oxee990[0x32]](3000);if(_0x1a0dxe== 0&& !$[__Oxee990[0x33]]){break};if($[__Oxee990[0x12]]|| $[__Oxee990[0x13]]){break};if($[__Oxee990[0x34]]== true){break}}};if($[__Oxee990[0x12]]){let _0x1a0dxf=__Oxee990[0x35];$[__Oxee990[0x21]]($[__Oxee990[0x1e]],`${__Oxee990[0x0]}`,`${__Oxee990[0x0]}${_0x1a0dxf}${__Oxee990[0x0]}`);if($[__Oxee990[0x1]]()){ await notify[__Oxee990[0x36]](`${__Oxee990[0x0]}${$[__Oxee990[0x1e]]}${__Oxee990[0x0]}`,`${__Oxee990[0x0]}${_0x1a0dxf}${__Oxee990[0x0]}`)}};if(allMessage){$[__Oxee990[0x21]]($[__Oxee990[0x1e]],`${__Oxee990[0x0]}`,`${__Oxee990[0x0]}${allMessage}${__Oxee990[0x0]}`)}})()[__Oxee990[0x1d]]((_0x1a0dxd)=>{return $[__Oxee990[0x1c]](_0x1a0dxd)})[__Oxee990[0x1b]](()=>{return $[__Oxee990[0x1a]]()});async function run(){try{$[__Oxee990[0x37]]= 0;$[__Oxee990[0x38]]= 0;lz_jdpin_token_cookie= __Oxee990[0x0];$[__Oxee990[0x39]]= __Oxee990[0x0];$[__Oxee990[0x3a]]= __Oxee990[0x0];let _0x1a0dx11=false; await takePostRequest(__Oxee990[0x3b]);if($[__Oxee990[0x39]]== __Oxee990[0x0]){console[__Oxee990[0x8]](__Oxee990[0x3c]);return}; await getCk();if(activityCookie== __Oxee990[0x0]){console[__Oxee990[0x8]](`${__Oxee990[0x3d]}`);return};if($[__Oxee990[0x13]]=== true){console[__Oxee990[0x8]](__Oxee990[0x3e]);return};if($[__Oxee990[0x12]]){console[__Oxee990[0x8]](__Oxee990[0x3f]);return}; await takePostRequest(__Oxee990[0x40]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x41]);if(!$[__Oxee990[0x3a]]){console[__Oxee990[0x8]](__Oxee990[0x42]);return}; await takePostRequest(__Oxee990[0x43]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x44]);if(!$[__Oxee990[0x45]]){$[__Oxee990[0x46]]= __Oxee990[0x0];$[__Oxee990[0x47]]= $[__Oxee990[0x48]];console[__Oxee990[0x8]](__Oxee990[0x49])}; await takePostRequest(__Oxee990[0x4a]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x4b]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x4c]); await $[__Oxee990[0x32]](1000);if($[__Oxee990[0x2a]]== 1){console[__Oxee990[0x8]](`${__Oxee990[0x4d]}${$[__Oxee990[0x33]]}${__Oxee990[0x4e]}`);console[__Oxee990[0x8]](`${__Oxee990[0x4f]}${$[__Oxee990[0x50]]}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x51]}${$[__Oxee990[0x52]]}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x53]}${$[__Oxee990[0x38]]}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x54]}${$[__Oxee990[0x55]]}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x56]}${$[__Oxee990[0x57]]}${__Oxee990[0x58]}${$[__Oxee990[0x59]]}${__Oxee990[0x0]}`)};if($[__Oxee990[0x2a]]!= 1){ await takePostRequest(__Oxee990[0x5a]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x5b]); await $[__Oxee990[0x32]](1000); await takePostRequest(__Oxee990[0x5c]); await $[__Oxee990[0x32]](1000);console[__Oxee990[0x8]]($[__Oxee990[0x5d]]== 1?__Oxee990[0x5e]:$[__Oxee990[0x5d]]== 3?__Oxee990[0x5f]:$[__Oxee990[0x5d]]== 2?__Oxee990[0x60]:__Oxee990[0x61]+ $[__Oxee990[0x5d]])};if($[__Oxee990[0x2a]]== 1){$[__Oxee990[0x62]]= $[__Oxee990[0x57]]}else {if($[__Oxee990[0x5d]]== 1){$[__Oxee990[0x62]]++}};console[__Oxee990[0x8]](`${__Oxee990[0x63]}${$[__Oxee990[0x2a]]}${__Oxee990[0x64]}${$[__Oxee990[0x57]]}${__Oxee990[0x0]}${$[__Oxee990[0x2a]]!= 1&& __Oxee990[0x65]+ $[__Oxee990[0x62]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`);if($[__Oxee990[0x62]]>= $[__Oxee990[0x55]]){$[__Oxee990[0x34]]= true};if($[__Oxee990[0x11]]){return};if($[__Oxee990[0x12]]){console[__Oxee990[0x8]](__Oxee990[0x3f]);return};if($[__Oxee990[0x2a]]== 1){$[__Oxee990[0x25]]= $[__Oxee990[0x33]];console[__Oxee990[0x8]](`${__Oxee990[0x66]}${$[__Oxee990[0x25]]}${__Oxee990[0x0]}`)};if($[__Oxee990[0x2a]]% 3== 0){ await $[__Oxee990[0x32]](parseInt(Math[__Oxee990[0x67]]()* 3000+ 3000,10))}}catch(e){console[__Oxee990[0x8]](e)}}async function takePostRequest(_0x1a0dx13){if($[__Oxee990[0x12]]){return};let _0x1a0dx14=__Oxee990[0x68];let _0x1a0dx15=`${__Oxee990[0x0]}`;let _0x1a0dx16=__Oxee990[0x69];let _0x1a0dx17=__Oxee990[0x0];switch(_0x1a0dx13){case __Oxee990[0x3b]:url= `${__Oxee990[0x6a]}`;_0x1a0dx15= await getToken();break;case __Oxee990[0x41]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x6b]}`;_0x1a0dx15= `${__Oxee990[0x6c]}${$[__Oxee990[0x39]]}${__Oxee990[0x6d]}${$[__Oxee990[0x48]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x4c]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x6e]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x40]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x70]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x44]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x71]}`;_0x1a0dx15= `${__Oxee990[0x72]}${$[__Oxee990[0x48]]}${__Oxee990[0x73]}${$[__Oxee990[0x24]]}${__Oxee990[0x74]}${encodeURIComponent($.Pin)}${__Oxee990[0x0]}`;break;case __Oxee990[0x43]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x75]}`;let _0x1a0dx18=`${__Oxee990[0x76]}${$[__Oxee990[0x24]]}${__Oxee990[0x77]}${$[__Oxee990[0x25]]}${__Oxee990[0x0]}`;_0x1a0dx15= `${__Oxee990[0x72]}${$[__Oxee990[0x48]]}${__Oxee990[0x78]}${$[__Oxee990[0x79]]}${__Oxee990[0x74]}${encodeURIComponent($.Pin)}${__Oxee990[0x73]}${$[__Oxee990[0x24]]}${__Oxee990[0x7a]}${encodeURIComponent(_0x1a0dx18)}${__Oxee990[0x7b]}`;break;case __Oxee990[0x4a]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x7c]}`;_0x1a0dx15= `${__Oxee990[0x7d]}${encodeURIComponent($.Pin)}${__Oxee990[0x0]}`;break;case __Oxee990[0x5a]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x7e]}`;_0x1a0dx15= `${__Oxee990[0x7f]}${$[__Oxee990[0x25]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x4b]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x80]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x81]}${encodeURIComponent($.Pin)}${__Oxee990[0x77]}${$[__Oxee990[0x25]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x5b]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x82]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x77]}${$[__Oxee990[0x25]]}${__Oxee990[0x83]}${$[__Oxee990[0x33]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x5c]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x84]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x77]}${$[__Oxee990[0x25]]}${__Oxee990[0x85]}${$[__Oxee990[0x33]]}${__Oxee990[0x0]}`;break;case __Oxee990[0x87]:url= `${__Oxee990[0x0]}${_0x1a0dx14}${__Oxee990[0x86]}`;_0x1a0dx15= `${__Oxee990[0x6f]}${$[__Oxee990[0x24]]}${__Oxee990[0x74]}${encodeURIComponent($.Pin)}${__Oxee990[0x0]}`;break;default:console[__Oxee990[0x8]](`${__Oxee990[0x88]}${_0x1a0dx13}${__Oxee990[0x0]}`)};let _0x1a0dx19=getPostRequest(url,_0x1a0dx15,_0x1a0dx16);return new Promise(async (_0x1a0dx1a)=>{$[__Oxee990[0x8d]](_0x1a0dx19,(_0x1a0dx1b,_0x1a0dx1c,_0x1a0dx1d)=>{try{setActivityCookie(_0x1a0dx1c);if(_0x1a0dx1b){if(_0x1a0dx1c&& typeof _0x1a0dx1c[__Oxee990[0x89]]!= __Oxee990[0x8a]){if(_0x1a0dx1c[__Oxee990[0x89]]== 493){console[__Oxee990[0x8]](__Oxee990[0x3f]);$[__Oxee990[0x12]]= true}};console[__Oxee990[0x8]](`${__Oxee990[0x0]}${$[__Oxee990[0x8b]](_0x1a0dx1b,_0x1a0dx1b)}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x8c]}`)}else {dealReturn(_0x1a0dx13,_0x1a0dx1d)}}catch(e){console[__Oxee990[0x8]](e,_0x1a0dx1c)}finally{_0x1a0dx1a()}})})}async function dealReturn(_0x1a0dx13,_0x1a0dx1d){let _0x1a0dx1f=__Oxee990[0x0];try{if(_0x1a0dx13!= __Oxee990[0x43]|| _0x1a0dx13!= __Oxee990[0x8e]){if(_0x1a0dx1d){_0x1a0dx1f= JSON[__Oxee990[0x8f]](_0x1a0dx1d)}}}catch(e){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x90]}`);$[__Oxee990[0x91]]= false};try{switch(_0x1a0dx13){case __Oxee990[0x3b]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x93]]== 0){if( typeof _0x1a0dx1f[__Oxee990[0x94]]!= __Oxee990[0x8a]){$[__Oxee990[0x39]]= _0x1a0dx1f[__Oxee990[0x94]]}}else {if(_0x1a0dx1f[__Oxee990[0x95]]){console[__Oxee990[0x8]](`${__Oxee990[0x96]}${_0x1a0dx1f[__Oxee990[0x95]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](_0x1a0dx1d)}}}else {console[__Oxee990[0x8]](_0x1a0dx1d)};break;case __Oxee990[0x41]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){if(_0x1a0dx1f[__Oxee990[0x98]]&& typeof _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x99]]!= __Oxee990[0x8a]){$[__Oxee990[0x3a]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x99]]};if(_0x1a0dx1f[__Oxee990[0x98]]&& typeof _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9a]]!= __Oxee990[0x8a]){$[__Oxee990[0x9a]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9a]]}}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {};break;case __Oxee990[0x4c]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0x50]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x50]]|| __Oxee990[0x0]}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x40]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){if( typeof _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9d]]!= __Oxee990[0x8a]){$[__Oxee990[0x9d]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9d]]};if( typeof _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x48]]!= __Oxee990[0x8a]){$[__Oxee990[0x48]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x48]]};$[__Oxee990[0x79]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x79]]}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {};break;case __Oxee990[0x4a]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0x9e]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9f]]|| __Oxee990[0x0];$[__Oxee990[0xa0]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9a]]|| __Oxee990[0x0]}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x4b]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0x33]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa2]][__Oxee990[0xa1]];$[__Oxee990[0x55]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa2]][__Oxee990[0x55]];$[__Oxee990[0xa3]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa2]][__Oxee990[0xa3]];$[__Oxee990[0x52]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa2]][__Oxee990[0x52]];$[__Oxee990[0x38]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa2]][__Oxee990[0x38]];$[__Oxee990[0xa4]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa5]][__Oxee990[0xa4]];$[__Oxee990[0x57]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa5]][__Oxee990[0x57]];$[__Oxee990[0x59]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa5]][__Oxee990[0x59]];$[__Oxee990[0xa6]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa7]][__Oxee990[0x1e]];$[__Oxee990[0xa8]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa5]][__Oxee990[0xa8]];$[__Oxee990[0xa9]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xa5]][__Oxee990[0xa9]]}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){if(_0x1a0dx1f[__Oxee990[0x9b]][__Oxee990[0x30]](__Oxee990[0xaa])> -1){$[__Oxee990[0x13]]= true};console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x5a]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){console[__Oxee990[0x8]](`${__Oxee990[0xab]}${_0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x9a]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x5b]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0x5d]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xac]]|| 0}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {};break;case __Oxee990[0x5c]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){console[__Oxee990[0x8]](`${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x8e]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0xad]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0xad]]|| []}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x44]:if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x97]]&& _0x1a0dx1f[__Oxee990[0x97]]=== true){$[__Oxee990[0x45]]= _0x1a0dx1f[__Oxee990[0x98]][__Oxee990[0x45]]|| false}else {if(_0x1a0dx1f[__Oxee990[0x9b]]){console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1f[__Oxee990[0x9b]]|| __Oxee990[0x0]}${__Oxee990[0x0]}`)}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)}}}else {console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0x9c]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};break;case __Oxee990[0x43]:;case __Oxee990[0x8e]:break;default:console[__Oxee990[0x8]](`${__Oxee990[0x0]}${_0x1a0dx13}${__Oxee990[0xae]}${_0x1a0dx1d}${__Oxee990[0x0]}`)};if( typeof _0x1a0dx1f== __Oxee990[0x92]){if(_0x1a0dx1f[__Oxee990[0x9b]]){if(_0x1a0dx1f[__Oxee990[0x9b]][__Oxee990[0x30]](__Oxee990[0xaf])> -1){$[__Oxee990[0x11]]= true}}}}catch(e){console[__Oxee990[0x8]](e)}}function getPostRequest(_0x1a0dx21,_0x1a0dx15,_0x1a0dx16= __Oxee990[0x69]){let _0x1a0dx22={"\x41\x63\x63\x65\x70\x74":__Oxee990[0xb0],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxee990[0xb1],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxee990[0xb2],"\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E":__Oxee990[0xb3],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxee990[0xb4],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":$[__Oxee990[0xb5]],"\x58\x2D\x52\x65\x71\x75\x65\x73\x74\x65\x64\x2D\x57\x69\x74\x68":__Oxee990[0xb6]};if(_0x1a0dx21[__Oxee990[0x30]](__Oxee990[0x68])> -1){_0x1a0dx22[__Oxee990[0xb7]]= `${__Oxee990[0x68]}`;_0x1a0dx22[__Oxee990[0xb8]]= `${__Oxee990[0x76]}${$[__Oxee990[0x24]]}${__Oxee990[0x77]}${$[__Oxee990[0x25]]}${__Oxee990[0x0]}`;_0x1a0dx22[__Oxee990[0xb9]]= `${__Oxee990[0x0]}${lz_jdpin_token_cookie&& lz_jdpin_token_cookie|| __Oxee990[0x0]}${__Oxee990[0x0]}${$[__Oxee990[0x3a]]&& __Oxee990[0xba]+ $[__Oxee990[0x3a]]+ __Oxee990[0xbb]|| __Oxee990[0x0]}${__Oxee990[0x0]}${activityCookie}${__Oxee990[0x0]}`};return {url:_0x1a0dx21,method:_0x1a0dx16,headers:_0x1a0dx22,body:_0x1a0dx15,timeout:99000}}function getCk(){return new Promise((_0x1a0dx1a)=>{let _0x1a0dx24={url:`${__Oxee990[0xbc]}`,headers:{"\x41\x63\x63\x65\x70\x74":__Oxee990[0xbd],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxee990[0xb1],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxee990[0xb2],"\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E":__Oxee990[0xb3],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxee990[0xbe],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x52\x65\x66\x65\x72\x65\x72":`${__Oxee990[0x76]}${$[__Oxee990[0x24]]}${__Oxee990[0x0]}`,"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":$[__Oxee990[0xb5]]},timeout:99000};$[__Oxee990[0xc1]](_0x1a0dx24,async (_0x1a0dx1b,_0x1a0dx1c,_0x1a0dx1d)=>{try{if(_0x1a0dx1b){if(_0x1a0dx1c&& typeof _0x1a0dx1c[__Oxee990[0x89]]!= __Oxee990[0x8a]){if(_0x1a0dx1c[__Oxee990[0x89]]== 493){console[__Oxee990[0x8]](__Oxee990[0x3f]);$[__Oxee990[0x12]]= true}};console[__Oxee990[0x8]](`${__Oxee990[0x0]}${$[__Oxee990[0x8b]](_0x1a0dx1b)}${__Oxee990[0x0]}`);console[__Oxee990[0x8]](`${__Oxee990[0x0]}${$[__Oxee990[0x1e]]}${__Oxee990[0xbf]}`)}else {let _0x1a0dx25=_0x1a0dx1d[__Oxee990[0x29]](/<title>(活动已结束)<\/title>/)&& _0x1a0dx1d[__Oxee990[0x29]](/<title>(活动已结束)<\/title>/)[0x1]|| __Oxee990[0x0];if(_0x1a0dx25){$[__Oxee990[0x13]]= true;console[__Oxee990[0x8]](__Oxee990[0xc0])};setActivityCookie(_0x1a0dx1c)}}catch(e){$[__Oxee990[0x1c]](e,_0x1a0dx1c)}finally{_0x1a0dx1a()}})})}function setActivityCookie(_0x1a0dx1c){try{if(_0x1a0dx1c[__Oxee990[0xc3]][__Oxee990[0xc2]]){cookie= `${__Oxee990[0x0]}${originCookie}${__Oxee990[0xbb]}`;for(let _0x1a0dx27 of _0x1a0dx1c[__Oxee990[0xc3]][__Oxee990[0xc2]]){lz_cookie[_0x1a0dx27[__Oxee990[0xc5]](__Oxee990[0xbb])[0x0][__Oxee990[0xc6]](0,_0x1a0dx27[__Oxee990[0xc5]](__Oxee990[0xbb])[0x0][__Oxee990[0x30]](__Oxee990[0xc4]))]= _0x1a0dx27[__Oxee990[0xc5]](__Oxee990[0xbb])[0x0][__Oxee990[0xc6]](_0x1a0dx27[__Oxee990[0xc5]](__Oxee990[0xbb])[0x0][__Oxee990[0x30]](__Oxee990[0xc4])+ 1)};for(const _0x1a0dx28 of Object[__Oxee990[0x4]](lz_cookie)){cookie+= _0x1a0dx28+ __Oxee990[0xc4]+ lz_cookie[_0x1a0dx28]+ __Oxee990[0xbb]};activityCookie= cookie}}catch(e){activityCookie= cookie}}async function getUA(){$[__Oxee990[0xb5]]= `${__Oxee990[0xc7]}${randomString(40)}${__Oxee990[0xc8]}`}function randomString(_0x1a0dxd){_0x1a0dxd= _0x1a0dxd|| 32;let _0x1a0dx2b=__Oxee990[0xc9],_0x1a0dx2c=_0x1a0dx2b[__Oxee990[0x27]],_0x1a0dx2d=__Oxee990[0x0];for(i= 0;i< _0x1a0dxd;i++){_0x1a0dx2d+= _0x1a0dx2b[__Oxee990[0xcb]](Math[__Oxee990[0xca]](Math[__Oxee990[0x67]]()* _0x1a0dx2c))};return _0x1a0dx2d}function getMaxMin(_0x1a0dx2f,_0x1a0dx30){if(_0x1a0dx30=== __Oxee990[0xcc]){return Math[__Oxee990[0xcc]][__Oxee990[0xcd]](Math,_0x1a0dx2f)}else {if(_0x1a0dx30=== __Oxee990[0xce]){return Math[__Oxee990[0xce]][__Oxee990[0xcd]](Math,_0x1a0dx2f)}}}function getCard(_0x1a0dx32){return new Promise((_0x1a0dx1a)=>{$[__Oxee990[0xc1]]({url:`${__Oxee990[0x0]}${url2}${__Oxee990[0xcf]}${_0x1a0dx32}${__Oxee990[0x0]}`,headers:{"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":ver2},timeout:99000},(_0x1a0dx1b,_0x1a0dx1c,_0x1a0dx1d)=>{try{if(_0x1a0dx1b){console[__Oxee990[0x8]](`${__Oxee990[0xd0]}`)}else {_0x1a0dx1d= _0x1a0dx1d}}catch(e){}finally{_0x1a0dx1a(_0x1a0dx1d|| __Oxee990[0x0])}})})}function getToken(){return new Promise((_0x1a0dx1a)=>{$[__Oxee990[0xc1]]({url:`${__Oxee990[0x0]}${url1}${__Oxee990[0xd1]}`,headers:{"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":ver1},timeout:99000},(_0x1a0dx1b,_0x1a0dx1c,_0x1a0dx1d)=>{try{if(_0x1a0dx1b){console[__Oxee990[0x8]](`${__Oxee990[0xd0]}`)}else {try{_0x1a0dx1d= JSON[__Oxee990[0x8f]](_0x1a0dx1d);if(_0x1a0dx1d[__Oxee990[0xd2]]== 0){_0x1a0dx1d= _0x1a0dx1d[__Oxee990[0x98]]}else {_0x1a0dx1d= __Oxee990[0x0]}}catch(e){_0x1a0dx1d= __Oxee990[0x0]}}}catch(e){}finally{_0x1a0dx1a(_0x1a0dx1d|| __Oxee990[0x0])}})})}function jsonParse(_0x1a0dx35){if( typeof _0x1a0dx35== __Oxee990[0xd3]){try{return JSON[__Oxee990[0x8f]](_0x1a0dx35)}catch(e){console[__Oxee990[0x8]](e);$[__Oxee990[0x21]]($[__Oxee990[0x1e]],__Oxee990[0x0],__Oxee990[0xd4]);return []}}}(function(_0x1a0dx36,_0x1a0dx37,_0x1a0dx38,_0x1a0dx39,_0x1a0dx3a,_0x1a0dx3b){_0x1a0dx3b= __Oxee990[0x8a];_0x1a0dx39= function(_0x1a0dx3c){if( typeof alert!== _0x1a0dx3b){alert(_0x1a0dx3c)};if( typeof console!== _0x1a0dx3b){console[__Oxee990[0x8]](_0x1a0dx3c)}};_0x1a0dx38= function(_0x1a0dx2c,_0x1a0dx36){return _0x1a0dx2c+ _0x1a0dx36};_0x1a0dx3a= _0x1a0dx38(__Oxee990[0xd5],_0x1a0dx38(_0x1a0dx38(__Oxee990[0xd6],__Oxee990[0xd7]),__Oxee990[0xd8]));try{_0x1a0dx36= __encode;if(!( typeof _0x1a0dx36!== _0x1a0dx3b&& _0x1a0dx36=== _0x1a0dx38(__Oxee990[0xd9],__Oxee990[0xda]))){_0x1a0dx39(_0x1a0dx3a)}}catch(e){_0x1a0dx39(_0x1a0dx3a)}})({})
// prettier-ignore
function Env(t,e){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.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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}isShadowrocket(){return"undefined"!=typeof $rocket}isStash(){return"undefined"!=typeof $environment&&$environment["stash-version"]}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,a]=i.split("@"),n={url:`http://${a}/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),a=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(a);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=(()=>{})){if(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?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)});else if(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&&t.error||"UndefinedError"));else if(this.isNode()){let s=require("iconv-lite");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:i,statusCode:r,headers:o,rawBody:a}=t,n=s.decode(a,this.encoding);e(null,{status:i,statusCode:r,headers:o,rawBody:a,body:n},n)},t=>{const{message:i,response:r}=t;e(i,r,r&&s.decode(r.rawBody,this.encoding))})}}post(t,e=(()=>{})){const s=t.method?t.method.toLocaleLowerCase():"post";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[s](t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)});else if(this.isQuanX())t.method=s,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&&t.error||"UndefinedError"));else if(this.isNode()){let i=require("iconv-lite");this.initGotEnv(t);const{url:r,...o}=t;this.got[s](r,o).then(t=>{const{statusCode:s,statusCode:r,headers:o,rawBody:a}=t,n=i.decode(a,this.encoding);e(null,{status:s,statusCode:r,headers:o,rawBody:a,body:n},n)},t=>{const{message:s,response:r}=t;e(s,r,r&&i.decode(r.rawBody,this.encoding))})}}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,i=t["update-pasteboard"]||t.updatePasteboard;return{"open-url":e,"media-url":s,"update-pasteboard":i}}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=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];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("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),this.isSurge()||this.isQuanX()||this.isLoon()?$done(t):this.isNode()&&process.exit(1)}}(t,e)}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/booyaka/faker2.git
git@gitee.com:booyaka/faker2.git
booyaka
faker2
faker2
main

搜索帮助