diff --git a/jdd/jdd.txt b/jdd/jdd.txt new file mode 100644 index 0000000..8d0e535 --- /dev/null +++ b/jdd/jdd.txt @@ -0,0 +1,14 @@ +群友投稿 金杜丹 小程序 +24.1.31 完成 +定时 cron "14 10,12 * * *" +变量: +export JDD='备注#access_token' +export YMLCARD='卡密' 通用一个即可 + +1.31 签到, 阅读 + + +抓包: +抓 tianxin.jmd724.com 的包, 找到 access_token 就行 + +积分换实物的, 一个年终奖系列 +1 diff --git a/jdd/jdd_tg.js b/jdd/jdd_tg.js new file mode 100644 index 0000000..8a48738 --- /dev/null +++ b/jdd/jdd_tg.js @@ -0,0 +1 @@ +"use strict";var require$$0=require("dotenv");require("crypto-js"),require("node-rsa");var _0x6b5a8c=require("got"),hpagent=require("hpagent"),require$$1=require("querystring"),require$$2=require("tunnel"),require$$3=require("crypto"),require$$5=require("fs"),require$$6=require("path"),require$$8=require("tough-cookie");function _interopNamespaceDefault(t){var e=Object.create(null);return t&&Object.keys(t).forEach((function(o){if("default"!==o){var n=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,n.get?n:{enumerable:!0,get:function(){return t[o]}})}})),e.default=t,Object.freeze(e)}var require$$0__namespace=_interopNamespaceDefault(require$$0);!function(t,e){const o=_0x3cf3,n=_0x586b();for(;;)try{if(402591===parseInt(o(233,"I8*I"))/1+parseInt(o(279,"T5R2"))/2+-parseInt(o(245,"9tOF"))/3+-parseInt(o(282,"mbW$"))/4+-parseInt(o(274,"%jHV"))/5+parseInt(o(242,"Hn(V"))/6+parseInt(o(286,"wsLN"))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}();const _0x514ccf=function(){let t=!0;return function(e,o){const n=t?function(){if(o){const t=o[_0x3cf3(248,"Oip9")](e,arguments);return o=null,t}}:function(){};return t=!1,n}}(),_0x199b35=_0x514ccf(void 0,(function(){const t=_0x3cf3,e={uhWve:"(((.+)+)+)+$"};return _0x199b35[t(238,"Usxn")]().search(e[t(284,"TAiz")]).toString()[t(281,"AGV%")+"r"](_0x199b35)[t(243,"^WVn")](e[t(244,"w1TR")])}));function _0x586b(){const t=["WQxdNmk+gtm","AmogFmkexCkDW6FdM8oGo8o1oW","kZLUW4hcTeBcVmontCk8","W49as8oOW6e","W7nFDXm","W4fBemoOWOG","WPTWW6Cq","W6pcHSkdhHm","g2hcQq","vSk7WP4GESk5","gtFdSmk7W6XF","WPtcUG0j","n8oLWQq","W590W7Cs","W4fggSkekrCY","WPmjWRFcTfvPW5T0W6ddI8oIWQm","xK/cKGhcKajtnSoOWRK+m8k9","W4aCE8oQ","W4ldVxBdJa","W7PsfX8P","vSk7W5iuWQ7cQcLtW4b8wCk1WR4","WQT0fXbQ","WRVcJ8kijCkZnNiWW4JcOW","WQdcGapdHb0EW6rWWOnqEZuG","pKZdTSk3dq","W4BcHCk3g0e","W6TbW5JcL8kv","WR45WQqFvr9ptw5+xaDz","W57cICkqW5Gv","o8kyl8oehmoFW70","y30HdMGoW5C","W6PSDSoWW53cImkBzq","W7P0W5FdMa","WRldTSkJosW","W69UW7i","i2tdTSkymW","W4q2WPKuWOu","arpdHfC","WQNdR8kb","e2BdNG","W4LqW68","CNWrcgmxW40G","W7dcJ8oKWOBcLW","W4FcGSk1hvqLWRbAWOa9","wNlcQSoGWRCom8oJW5JdLSouW4O","WOFdM8kuw3q","lSkjj8ot","xuNcLaVcNa1EiSoYWPubmCkZ","mHyU","W5TVW6lcLmk1W75gW7a","W7agFG","cb1CW6ZcGG","W5RcH8kXW58cWOyNxG","WOuKuKnJW6OFAmkIWP/cNCob","WR1HW6bAW5pdHq","WOFcOdusW4O","WOOdt8kMW753W73cRCobxGldStm","WP0FtSohyfC2xMtdOmkQqq","W6ehtSkMrCoItgS","W6hcNSoMWPNcIW","WQe4fcnOBG","rmk7WP82kq","W7vLDmooW70","kIjDWOK","cSoMWO5h","WR5LW6u","W7tcGCofWOhcGmoWeKu","gspdTSkZW6Xsma","W4bakItcGCk6","o8kylW"];return(_0x586b=function(){return t})()}function _0x3cf3(t,e){const o=_0x586b();return _0x3cf3=function(e,n){let s=o[e-=224];if(void 0===_0x3cf3.NUeiVH){var c=function(t){let e="",o="",n=e+c;for(let o,s,c=0,r=0;s=t.charAt(r++);~s&&(o=c%4?64*o+s:s,c++%4)?e+=n.charCodeAt(r+10)-10!=0?String.fromCharCode(255&o>>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t>(-2*i&6)):i:0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(var a=0,d=n.length;a>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;tsetTimeout(e,1e3*t)))}function _0x184108(){return Math[_0x4ef5(284,"tYXd")]((new Date).getTime()/1e3)}function _0x4cae4b(){const t=_0x4ef5;return Math[t(281,"2v]l")]((new Date)[t(287,"77b#")]())}function _0x189caf(){const t=_0x4ef5;return(new Date)[t(288,"dMX$")]()}function _0x432b8e(){const t=_0x4ef5;return(new Date)[t(305,"Xi0w")]()}function _0x3c2071(){return(new Date).getFullYear()}function _0x594222(){const t=_0x4ef5;return{qYZte:function(t,e){return t+e}}[t(275,"*gq0")]((new Date)[t(279,"9Iqo")](),1)}function _0x15e10a(){const t=_0x4ef5;return(new Date)[t(304,")oUc")]()}function _0x2a94(){const t=["wIz8cCoky2NcN8owW6i","WPNdP8k/WQPTx8kZqt7dUSkGqfS","hd3dSSknAq","dGVdHSkkEmoXW7ZcUhBdOq","jsNcLrD5WQmbc8ono8oFW7hdPa","W6FcQmo7W44F","nmk6x8orh3n8vG","pbRcTKHOkSoxW7nsmcFdR8oV","rWZcLJ7dOG","EWFdHe8zBmo2WQztvfT/WOS","zCoPh8kTrcL8wmoeW77dQ8k2","W6aGEwuK","WRZcSeedWQGe","WQ7cPvaDWRi","r8o9eSkrW5xcM8oQ","W5FcVxOMcCkxW7TE","WQOnACkVW60mWQvbW79Yu3Tv","W6ToW5PkW5/dRCkdlaRdNW5n","i8kYwJa6W6Wh","fSkMECkCyLldMHRcLSoIW4hcLba9","WONcT0JdOmkYfvFdIwZcQ3JcTCkK","WR89c2pcIW","bSoaW58XiIRcHdW","WRxcQCoqWPRdMYSou2VcR8k0kCkWWOW","xavHcCkx","jCkxWQPPWRJcTWiS","WPRdQCojW40QpmoSya","oSoyWQNcLH0B","WQWYWPLfW5DHz0yHcIpcISk3","aCodW6uMnq","jw/dSra0W7DUW5XtW7O","rmk5cLldSSof","WRODWPO2WOlcT8kcpIpdOW","oNpdRq4TW6HXWPaPWRFdMNfE","W5LjW4GPWRi","WOldOd9zvSovWRTcWPNcLgPdW6y","pdrqAYabW4dcUa","vZ51oCkD","umk5h2tdSmou","ySoPBmomb0LLCa"];return(_0x2a94=function(){return t})()}function _0x39dc88(){return(new Date).getSeconds()}function _0x51249d(){const t=_0x4ef5;return(new Date)[t(291,"(&J0")]()}function _0x2e4752(t){const e=_0x4ef5,o={PaidK:function(t,e){return t===e},GBeYP:function(t,e){return t(e)},LwuSB:function(t,e){return t*e},HWKSX:function(t,e){return t+e}};t=o.PaidK(t[e(309,"SQj!")]()[e(300,"#5&f")],13)?o[e(307,"RZBO")](parseInt,t):o[e(278,"vqB#")](o[e(294,"PS[j")](parseInt,t),1e3);return new Date(o.HWKSX(t,o[e(297,"AS71")](28800,1e3)))[e(313,"FWQ[")+"g"]().replace("T"," ")[e(302,"D(7h")](0,19)}const _0x47d6e2=_0x6b2d;!function(t,e){const o=_0x6b2d,n=_0x3869();for(;;)try{if(412491===parseInt(o(192,"^9cs"))/1+parseInt(o(229,"E^)O"))/2+parseInt(o(180,"i[br"))/3*(-parseInt(o(227,"4ozR"))/4)+-parseInt(o(249,"Bezo"))/5*(parseInt(o(208,"BkKj"))/6)+-parseInt(o(193,"(OC["))/7+-parseInt(o(243,"E^)O"))/8+-parseInt(o(250,"64[I"))/9*(-parseInt(o(207,"OYO$"))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}();const _0x386c69=function(){let t=!0;return function(e,o){const n=t?function(){if(o){const t=o[_0x6b2d(241,"PN!Q")](e,arguments);return o=null,t}}:function(){};return t=!1,n}}(),_0x34c365=_0x386c69(void 0,(function(){const t=_0x6b2d,e={ZDhZN:t(222,"Ep&e")+"+$"};return _0x34c365.toString()[t(184,"lLZc")](e.ZDhZN)[t(228,"PDy1")]()[t(238,"N08&")+"r"](_0x34c365)[t(225,"3!*z")](e[t(248,"Bezo")])}));function _0x6b2d(t,e){const o=_0x3869();return _0x6b2d=function(e,n){let s=o[e-=175];if(void 0===_0x6b2d.wsyAhZ){var c=function(t){let e="",o="",n=e+c;for(let o,s,c=0,r=0;s=t.charAt(r++);~s&&(o=c%4?64*o+s:s,c++%4)?e+=n.charCodeAt(r+10)-10!=0?String.fromCharCode(255&o>>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t{o.get({url:t},((t,o,n)=>e(n)))}))}runScript(t,e){return new Promise((n=>{let s=this.getdata("@chavy_boxjs_userCfgs.httpapi");s=s?s.replace(/\n/g,"").trim():s;let c=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");c=c?1*c:20,c=e&&e.timeout?e.timeout:c;const[r,i]=s.split("@"),W={url:`http://${i}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:c},headers:{"X-Key":r,Accept:"*/*"}};o.post(W,((t,e,o)=>n(o)))})).catch((t=>this.logErr(t)))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require$$5,this.path=this.path?this.path:require$$6;const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),o=this.fs.existsSync(t),n=!o&&this.fs.existsSync(e);if(!o&&!n)return{};{const n=o?t:e;try{return JSON.parse(this.fs.readFileSync(n))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require$$5,this.path=this.path?this.path:require$$6;const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),o=this.fs.existsSync(t),n=!o&&this.fs.existsSync(e),s=JSON.stringify(this.data);o?this.fs.writeFileSync(t,s):n?this.fs.writeFileSync(e,s):this.fs.writeFileSync(t,s)}}lodash_get(t,e,o){const n=e.replace(/\[(\d+)\]/g,".$1").split(".");let s=t;for(const t of n)if(s=Object(s)[t],void 0===s)return o;return s}lodash_set(t,e,o){return Object(t)!==t||(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce(((t,o,n)=>Object(t[o])===t[o]?t[o]:t[o]=Math.abs(e[n+1])>>0==+e[n+1]?[]:{}),t)[e[e.length-1]]=o),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,o,n]=/^@(.*?)\.(.*?)$/.exec(t),s=o?this.getval(o):"";if(s)try{const t=JSON.parse(s);e=t?this.lodash_get(t,n,""):e}catch(t){e=""}}return e}setdata(t,e){let n=!1;if(/^@/.test(e)){const[,o,s]=/^@(.*?)\.(.*?)$/.exec(e),c=this.getval(o),r=o?"null"===c?null:c||"{}":"{}";try{const e=JSON.parse(r);this.lodash_set(e,s,t),n=this.setval(JSON.stringify(e),o)}catch(e){const c={};this.lodash_set(c,s,t),n=this.setval(JSON.stringify(c),o)}}else n=o.setval(t,e);return n}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:_0x6b5a8c,this.cktough=this.cktough?this.cktough:require$$8,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()?$httpClient.get(t,((t,o,n)=>{!t&&o&&(o.body=n,o.statusCode=o.status),e(t,o,n)})):this.isQuanX()?$task.fetch(t).then((t=>{const{statusCode:o,statusCode:n,headers:s,body:c}=t;e(null,{status:o,statusCode:n,headers:s,body:c},c)}),(t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",((t,e)=>{try{const o=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();this.ckjar.setCookieSync(o,null),e.cookieJar=this.ckjar}catch(t){this.logErr(t)}})).then((t=>{const{statusCode:o,statusCode:n,headers:s,body:c}=t;e(null,{status:o,statusCode:n,headers:s,body:c},c)}),(t=>e(t))))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),delete t.headers["Content-Length"],this.isSurge()||this.isLoon())$httpClient.post(t,((t,o,n)=>{!t&&o&&(o.body=n,o.statusCode=o.status),e(t,o,n)}));else if(this.isQuanX())t.method="POST",$task.fetch(t).then((t=>{const{statusCode:o,statusCode:n,headers:s,body:c}=t;e(null,{status:o,statusCode:n,headers:s,body:c},c)}),(t=>e(t)));else if(this.isNode()){this.initGotEnv(t);const{url:o,...n}=t;this.got.post(o,n).then((t=>{const{statusCode:o,statusCode:n,headers:s,body:c}=t;e(null,{status:o,statusCode:n,headers:s,body:c},c)}),(t=>e(t)))}}time(t){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let o in e)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[o]:("00"+e[o]).substr((""+e[o]).length)));return t}msg(t=e,n="",s="",c){const r=t=>!t||!this.isLoon()&&this.isSurge()?t:"string"==typeof t?this.isLoon()?t:this.isQuanX()?{"open-url":t}:void 0:"object"==typeof t&&(t["open-url"]||t["media-url"])?this.isLoon()?t["open-url"]:this.isQuanX()?t:void 0:void 0;o.isMute||(this.isSurge()||this.isLoon()?$notification.post(t,n,s,r(c)):this.isQuanX()&&$notify(t,n,s,r(c))),this.logs.push("","==============📣系统通知📣=============="),this.logs.push(t),n&&this.logs.push(n),s&&this.logs.push(s)}log(...t){t.length>0?this.logs=[...this.logs,...t]:console.log(this.logs.join(this.logSeparator))}logErr(t,e){!this.isSurge()&&!this.isQuanX()&&!this.isLoon()?o.log("",`❗️${this.name}, 错误!`,t.stack):o.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise((e=>setTimeout(e,t)))}done(t={}){const e=((new Date).getTime()-this.startTime)/1e3;this.log("",`🔔${this.name}, 结束! 🕛 ${e} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(e,n)},n=15e3;let s="",c="",r=0,i="",W="",a="",d="",h="",u="",l="",f="",p="",x="https://qn.whyour.cn/logo.png",k="",m="QingLong",S="active",g="",_="",C="",O="",b="",R="",y="api.telegram.org",P="",v="",w="",I="",G="",q="",T="",Q="",N="",K="",M="",H="",J="",A="false",E="",L="",B="",V="";function F(t,e){return new Promise((n=>{if(s&&c){const i={url:`${s}/message?token=${c}`,body:`title=${encodeURIComponent(t)}&message=${encodeURIComponent(e)}&priority=${r}`,headers:{"Content-Type":"application/x-www-form-urlencoded"}};o.post(i,((t,e,s)=>{try{t?(console.log("gotify发送通知调用API失败!!\n"),console.log(t)):(s=JSON.parse(s)).id?console.log("gotify发送通知消息成功🎉\n"):console.log(`${s.message}\n`)}catch(t){o.logErr(t,e)}finally{n()}}))}else n()}))}function $(t,e){return new Promise((s=>{if(i){const c={url:`${i}?access_token=${W}&${a}`,json:{message:`${t}\n${e}`},headers:{"Content-Type":"application/json"},timeout:n};o.post(c,((t,e,n)=>{try{t?(console.log("发送go-cqhttp通知调用API失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).retcode?console.log("go-cqhttp发送通知消息成功🎉\n"):100===n.retcode?console.log(`go-cqhttp发送通知消息异常: ${n.errmsg}\n`):console.log(`go-cqhttp发送通知消息异常\n${JSON.stringify(n)}`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function D(t,e){return new Promise((s=>{if(d){e=e.replace(/[\n\r]/g,"\n\n");const c={url:d.includes("SCT")?`https://sctapi.ftqq.com/${d}.send`:`https://sc.ftqq.com/${d}.send`,body:`text=${t}&desp=${e}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:n};o.post(c,((t,e,n)=>{try{t?(console.log("发送通知调用API失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).errno||0===n.data.errno?console.log("server酱发送通知消息成功🎉\n"):1024===n.errno?console.log(`server酱发送通知消息异常: ${n.errmsg}\n`):console.log(`server酱发送通知消息异常\n${JSON.stringify(n)}`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function Z(t,e){return new Promise((s=>{if(h){e=encodeURI(e);const c={url:u||"https://api2.pushdeer.com/message/push",body:`pushkey=${h}&text=${t}&desp=${e}&type=markdown`,headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:n};o.post(c,((t,e,n)=>{try{t?(console.log("发送通知调用API失败!!\n"),console.log(t)):void 0!==(n=JSON.parse(n)).content.result.length&&n.content.result.length>0?console.log("PushDeer发送通知消息成功🎉\n"):console.log(`PushDeer发送通知消息异常\n${JSON.stringify(n)}`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function j(t,e){return new Promise((n=>{if(l&&f){e=encodeURI(e);const s={url:`${l}${f}`,body:`payload={"text":"${t}\n${e}"}`,headers:{"Content-Type":"application/x-www-form-urlencoded"}};o.post(s,((t,e,s)=>{try{t?(console.log("发送通知调用API失败!!\n"),console.log(t)):(s=JSON.parse(s)).success?console.log("Chat发送通知消息成功🎉\n"):console.log(`Chat发送通知消息异常\n${JSON.stringify(s)}`)}catch(t){o.logErr(t)}finally{n(s)}}))}else n()}))}function X(t,s,c={}){return new Promise((r=>{if(p){const i={url:`${p}/${encodeURIComponent(t)}/${encodeURIComponent(s)}?icon=${x}&sound=${k}&group=${m}&level=${S}&url=${g}&${e.stringify(c)}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:n};o.get(i,((t,e,n)=>{try{t?(console.log("Bark APP发送通知调用API失败!!\n"),console.log(t)):200===(n=JSON.parse(n)).code?console.log("Bark APP发送通知消息成功🎉\n"):console.log(`${n.message}\n`)}catch(t){o.logErr(t,e)}finally{r()}}))}else r()}))}function U(t,e){return new Promise((s=>{if(_&&C){const c={url:`https://${y}/bot${_}/sendMessage`,json:{chat_id:`${C}`,text:`${t}\n\n${e}`,disable_web_page_preview:!0},headers:{"Content-Type":"application/json"},timeout:n};if(O&&b){const t={https:require$$2.httpsOverHttp({proxy:{host:O,port:1*b,proxyAuth:R}})};Object.assign(c,{agent:t})}o.post(c,((t,e,n)=>{try{t?(console.log("telegram发送通知消息失败!!\n"),console.log(t)):(n=JSON.parse(n)).ok?console.log("Telegram发送通知消息成功🎉。\n"):400===n.error_code?console.log("请主动给bot发送一条消息并检查接收用户ID是否正确。\n"):401===n.error_code&&console.log("Telegram bot token 填写错误。\n")}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function z(t,e){return new Promise((s=>{const c={url:`https://oapi.dingtalk.com/robot/send?access_token=${P}`,json:{msgtype:"text",text:{content:`${t}\n\n${e}`}},headers:{"Content-Type":"application/json"},timeout:n};if(P&&v){const t=require$$3,e=Date.now(),n=t.createHmac("sha256",v);n.update(`${e}\n${v}`);const r=encodeURIComponent(n.digest("base64"));c.url=`${c.url}×tamp=${e}&sign=${r}`,o.post(c,((t,e,n)=>{try{t?(console.log("钉钉发送通知消息失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).errcode?console.log("钉钉发送通知消息成功🎉。\n"):console.log(`${n.errmsg}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else P?o.post(c,((t,e,n)=>{try{t?(console.log("钉钉发送通知消息失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).errcode?console.log("钉钉发送通知消息完成。\n"):console.log(`${n.errmsg}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}})):s()}))}function Y(t,e){return new Promise((s=>{const c={url:`${w}/cgi-bin/webhook/send?key=${I}`,json:{msgtype:"text",text:{content:`${t}\n\n${e}`}},headers:{"Content-Type":"application/json"},timeout:n};I?o.post(c,((t,e,n)=>{try{t?(console.log("企业微信发送通知消息失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).errcode?console.log("企业微信发送通知消息成功🎉。\n"):console.log(`${n.errmsg}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}})):s()}))}function tt(t){const e=G.split(",");if(e[2]){const o=e[2].split("|");let n="";for(let e=0;e{if(G){const c=G.split(","),r={url:`${w}/cgi-bin/gettoken`,json:{corpid:`${c[0]}`,corpsecret:`${c[1]}`},headers:{"Content-Type":"application/json"},timeout:n};o.post(r,((n,r,i)=>{let W,a=e.replace(/\n/g,"
"),d=JSON.parse(i).access_token;switch(c[4]){case"0":W={msgtype:"textcard",textcard:{title:`${t}`,description:`${e}`,url:"https://github.com/whyour/qinglong",btntxt:"更多"}};break;case"1":W={msgtype:"text",text:{content:`${t}\n\n${e}`}};break;default:W={msgtype:"mpnews",mpnews:{articles:[{title:`${t}`,thumb_media_id:`${c[4]}`,author:"智能助手",content_source_url:"",content:`${a}`,digest:`${e}`}]}}}c[4]||(W={msgtype:"text",text:{content:`${t}\n\n${e}`}}),W={url:`${w}/cgi-bin/message/send?access_token=${d}`,json:{touser:`${tt(e)}`,agentid:`${c[3]}`,safe:"0",...W},headers:{"Content-Type":"application/json"}},o.post(W,((t,n,c)=>{try{t?(console.log("成员ID:"+tt(e)+"企业微信应用消息发送通知消息失败!!\n"),console.log(t)):0===(c=JSON.parse(c)).errcode?console.log("成员ID:"+tt(e)+"企业微信应用消息发送通知消息成功🎉。\n"):console.log(`${c.errmsg}\n`)}catch(t){o.logErr(t,n)}finally{s(c)}}))}))}else s()}))}function ot(t,s,c={}){return new Promise((r=>{if(q){if(!new RegExp("^[a-zA-Z0-9]{24}$").test(q))return console.log("您所提供的IGOT_PUSH_KEY无效\n"),void r();const i={url:`https://push.hellyw.com/${q.toLowerCase()}`,body:`title=${t}&content=${s}&${e.stringify(c)}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:n};o.post(i,((t,e,n)=>{try{t?(console.log("发送通知调用API失败!!\n"),console.log(t)):("string"==typeof n&&(n=JSON.parse(n)),0===n.ret?console.log("iGot发送通知消息成功🎉\n"):console.log(`iGot发送通知消息失败:${n.errMsg}\n`))}catch(t){o.logErr(t,e)}finally{r(n)}}))}else r()}))}function nt(t,e){return new Promise((s=>{if(T){e=e.replace(/[\n\r]/g,"
");const c={token:`${T}`,title:`${t}`,content:`${e}`,topic:`${Q}`},r={url:"https://www.pushplus.plus/send",body:JSON.stringify(c),headers:{"Content-Type":" application/json"},timeout:n};o.post(r,((t,e,n)=>{try{t?(console.log(`push+发送${Q?"一对多":"一对一"}通知消息失败!!\n`),console.log(t)):200===(n=JSON.parse(n)).code?console.log(`push+发送${Q?"一对多":"一对一"}通知消息完成。\n`):console.log(`push+发送${Q?"一对多":"一对一"}通知消息失败:${n.msg}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function st(t,e){return new Promise((s=>{if(N&&K&&M){let c={},r="";switch(K){case"room":r="https://api-bot.aibotk.com/openapi/v1/chat/room",c={apiKey:`${N}`,roomName:`${M}`,message:{type:1,content:`【青龙快讯】\n\n${t}\n${e}`}};break;case"contact":r="https://api-bot.aibotk.com/openapi/v1/chat/contact",c={apiKey:`${N}`,name:`${M}`,message:{type:1,content:`【青龙快讯】\n\n${t}\n${e}`}}}const i={url:r,json:c,headers:{"Content-Type":"application/json"},timeout:n};o.post(i,((t,e,n)=>{try{t?(console.log("智能微秘书发送通知消息失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).code?console.log("智能微秘书发送通知消息成功🎉。\n"):console.log(`${n.error}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}function ct(t,e){return new Promise((s=>{if(H){const c={url:`https://open.feishu.cn/open-apis/bot/v2/hook/${H}`,json:{msg_type:"text",content:{text:`${t}\n\n${e}`}},headers:{"Content-Type":"application/json"},timeout:n};o.post(c,((t,e,n)=>{try{t?(console.log("发送通知调用API失败!!\n"),console.log(t)):0===(n=JSON.parse(n)).StatusCode?console.log("飞书发送通知消息成功🎉\n"):console.log(`${n.msg}\n`)}catch(t){o.logErr(t,e)}finally{s(n)}}))}else s()}))}async function rt(t,e){if([J,E,L].every(Boolean))try{const o=require("nodemailer").createTransport(`${"true"===A?"smtps:":"smtp:"}//${J}`,{auth:{user:E,pass:L}}),n=B?`"${B}" <${E}>`:E;if((await o.sendMail({from:n,to:n,subject:t,text:e})).messageId)return console.log("SMTP发送通知消息成功🎉\n"),!0;console.log("SMTP发送通知消息失败!!\n")}catch(t){console.log("SMTP发送通知消息出现错误!!\n"),console.log(t)}}function it(t,e,s={}){return new Promise((c=>{if(V){const r={url:`https://push.i-i.me?push_key=${V}`,json:{title:t,content:e,...s},headers:{"Content-Type":"application/json"},timeout:n};o.post(r,((t,e,n)=>{try{t?(console.log("PushMeNotify发送通知调用API失败!!\n"),console.log(t)):"success"===n?console.log("PushMe发送通知消息成功🎉\n"):console.log(`${n}\n`)}catch(t){o.logErr(t,e)}finally{c(n)}}))}else c()}))}process.env.GOTIFY_URL&&(s=process.env.GOTIFY_URL),process.env.GOTIFY_TOKEN&&(c=process.env.GOTIFY_TOKEN),process.env.GOTIFY_PRIORITY&&(r=process.env.GOTIFY_PRIORITY),process.env.GOBOT_URL&&(i=process.env.GOBOT_URL),process.env.GOBOT_TOKEN&&(W=process.env.GOBOT_TOKEN),process.env.GOBOT_QQ&&(a=process.env.GOBOT_QQ),process.env.PUSH_KEY&&(d=process.env.PUSH_KEY),process.env.DEER_KEY&&(h=process.env.DEER_KEY,u=process.env.DEER_URL),process.env.CHAT_URL&&(l=process.env.CHAT_URL),process.env.CHAT_TOKEN&&(f=process.env.CHAT_TOKEN),process.env.QQ_SKEY&&process.env.QQ_SKEY,process.env.QQ_MODE&&process.env.QQ_MODE,process.env.BARK_PUSH?(p=process.env.BARK_PUSH.indexOf("https")>-1||process.env.BARK_PUSH.indexOf("http")>-1?process.env.BARK_PUSH:`https://api.day.app/${process.env.BARK_PUSH}`,process.env.BARK_ICON&&(x=process.env.BARK_ICON),process.env.BARK_SOUND&&(k=process.env.BARK_SOUND),process.env.BARK_GROUP&&(m=process.env.BARK_GROUP),process.env.BARK_LEVEL&&(S=process.env.BARK_LEVEL),process.env.BARK_URL&&(g=process.env.BARK_URL)):p&&-1===p.indexOf("https")&&-1===p.indexOf("http")&&(p=`https://api.day.app/${p}`),process.env.TG_BOT_TOKEN&&(_=process.env.TG_BOT_TOKEN),process.env.TG_USER_ID&&(C=process.env.TG_USER_ID),process.env.TG_PROXY_AUTH&&(R=process.env.TG_PROXY_AUTH),process.env.TG_PROXY_HOST&&(O=process.env.TG_PROXY_HOST),process.env.TG_PROXY_PORT&&(b=process.env.TG_PROXY_PORT),process.env.TG_API_HOST&&(y=process.env.TG_API_HOST),process.env.DD_BOT_TOKEN&&(P=process.env.DD_BOT_TOKEN,process.env.DD_BOT_SECRET&&(v=process.env.DD_BOT_SECRET)),w=process.env.QYWX_ORIGIN?process.env.QYWX_ORIGIN:"https://qyapi.weixin.qq.com",process.env.QYWX_KEY&&(I=process.env.QYWX_KEY),process.env.QYWX_AM&&(G=process.env.QYWX_AM),process.env.IGOT_PUSH_KEY&&(q=process.env.IGOT_PUSH_KEY),process.env.PUSH_PLUS_TOKEN&&(T=process.env.PUSH_PLUS_TOKEN),process.env.PUSH_PLUS_USER&&(Q=process.env.PUSH_PLUS_USER),process.env.AIBOTK_KEY&&(N=process.env.AIBOTK_KEY),process.env.AIBOTK_TYPE&&(K=process.env.AIBOTK_TYPE),process.env.AIBOTK_NAME&&(M=process.env.AIBOTK_NAME),process.env.FSKEY&&(H=process.env.FSKEY),process.env.SMTP_SERVER&&(J=process.env.SMTP_SERVER),process.env.SMTP_SSL&&(A=process.env.SMTP_SSL),process.env.SMTP_EMAIL&&(E=process.env.SMTP_EMAIL),process.env.SMTP_PASSWORD&&(L=process.env.SMTP_PASSWORD),process.env.SMTP_NAME&&(B=process.env.SMTP_NAME),process.env.PUSHME_KEY&&(V=process.env.PUSHME_KEY),t.exports={sendNotify:async function(t,e,o={},n="\n\n本通知 By:https://github.com/whyour/qinglong"){e+=n;let s=process.env.SKIP_PUSH_TITLE;s&&s.split("\n").includes(t)?console.info(t+"在SKIP_PUSH_TITLE环境变量内,跳过推送!"):(await Promise.all([D(t,e),nt(t,e)]),t=t.match(/.*?(?=\s?-)/g)?t.match(/.*?(?=\s?-)/g)[0]:t,await Promise.all([X(t,e,o),U(t,e),z(t,e),Y(t,e),et(t,e),ot(t,e,o),$(t,e),F(t,e),j(t,e),Z(t,e),st(t,e),ct(t,e),rt(t,e),it(t,e,o)]))},BARK_PUSH:p}}(sendNotify);var _0x431453=sendNotify.exports;const _0xe640eb=_0x41c9;!function(t,e){const o=_0x41c9,n=_0x486b();for(;;)try{if(180965===parseInt(o(278,"qEcl"))/1*(parseInt(o(199,"qEcl"))/2)+-parseInt(o(312,"qEcl"))/3+parseInt(o(316,"B@Fe"))/4+parseInt(o(218,"ch%X"))/5+-parseInt(o(240,"CKKa"))/6*(parseInt(o(324,"B@Fe"))/7)+-parseInt(o(300,"6FJx"))/8*(-parseInt(o(255,"n7Na"))/9)+-parseInt(o(252,"n7Na"))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}();const _0x3105b6=function(){let t=!0;return function(e,o){const n=t?function(){if(o){const t=o.apply(e,arguments);return o=null,t}}:function(){};return t=!1,n}}(),_0x3022b0=_0x3105b6(void 0,(function(){const t=_0x41c9,e={pKTMv:t(343,"hp5*")+"+$"};return _0x3022b0[t(200,"%WRp")]()[t(198,"S%X^")](e[t(248,"s9q%")]).toString()[t(288,"CKKa")+"r"](_0x3022b0).search(e[t(192,"ch%X")])}));_0x3022b0();let _0x2751dc=_0x431453;class _0x3e1542{[_0xe640eb(259,"4hy^")](t){const e=_0xe640eb,o={xeFuI:function(t,e){return t===e},eKibw:function(t,e){return t+e}};(t||o[e(331,"#oT[")](t,0))&&(this.index=o.eKibw(t,1),this.msg="账号"+this[e(237,"Oycv")]+" ",this[e(339,"i(n(")]=""),this[e(320,"e19K")]=!0,this["sendNotifi"+e(217,"F%EW")]=!1}[_0xe640eb(183,"15vw")](t){this.ck=t}[_0xe640eb(223,"n7Na")](){this[_0xe640eb(233,"$xJ0")]=!1}[_0xe640eb(235,"d)rY")](t){const e=_0xe640eb,o={eiQOK:function(t,e){return t===e},WIqmX:e(295,"hp5*")};console.log(this.index+e(202,"*9e!")+this[e(313,"1&1W")]+e(205,"4hy^")+(o[e(189,"CKKa")](typeof t,o.WIqmX)?JSON.stringify(t):t))}[_0xe640eb(281,"Oycv")](t){const e=_0xe640eb,o=e(188,"(s9j"),n=(new Date)[e(309,"bJ&N")+"teString"]()+" "+(new Date)[e(273,"ds]S")+e(221,"EMS%")]()+"."+(new Date)["getMillise"+e(334,"eF0V")]();console[e(210,"qEcl")](n+": "+this[e(267,"Q1f#")]+e(274,"F%EW")+this[e(348,"eF0V")]+e(329,"&%tb")+(typeof t===o?JSON[e(336,"icxa")](t):t))}[_0xe640eb(306,"ch%X")](t){const e=_0xe640eb;console[e(214,"zafh")](e(182,"#oT[")+e(201,"ch%X")+t+(e(296,"6FJx")+e(187,"eF0V")))}[_0xe640eb(242,"s9q%")](t){this[_0xe640eb(321,"DsNH")](t)}[_0xe640eb(293,"qEcl")](t){const e=_0xe640eb,o={FCQdU:function(t,e){return t===e},pvyMW:e(265,"i(n("),dndAJ:function(t,e){return t+e},HVcTo:function(t,e){return t+e}};this[e(271,"n7Na")](t),this["sendNotifi"+e(287,"d$7Z")]=!0,o[e(251,"*]5r")](typeof t,o[e(282,"s9q%")])?this[e(194,"Q1f#")]+=o[e(266,"(s9j")](JSON[e(191,"Oycv")](t),"\n"):this[e(222,"HMo%")]+=o[e(314,"0etH")](t,"\n")}async[_0xe640eb(196,"EMS%")](){}[_0xe640eb(337,"d)rY")](t){this[_0xe640eb(301,"$Z2z")]=t}async handle(t,e){const o={gnvgp:function(t,e,o){return t(e,o)},fWgbL:function(t,e){return t(e)},viWdr:function(t,e){return t(e)},AzNYX:function(t,e){return t(e)}};return new Promise((async(n,s)=>{const c=_0x41c9;try{let{res:s,res_hd:r}=await t.then();if(this[c(301,"$Z2z")])if(this.success(s)){let t=await o[c(342,"0etH")](e,s,r);o[c(344,"PilH")](n,t)}else this[c(277,"X]zm")](s),o[c(253,"F%EW")](n,s);else this[c(211,"ch%X")](),o[c(213,"B@Fe")](n,{res:s,res_hd:r})}catch(t){this.log(t),o[c(310,"0etH")](n,"")}}))}setRemark(t){this[_0xe640eb(179,"ch%X")]=t}}function _0x486b(){const t=["WPbBvI/dQ8oL","W5VcJfBcVmoWfq","r8kamSoYWPJcU145gSoKWO7dLw4","WR7dVu8","B8ktW57dMW","W6ldTsFcG8oOj8kSW5m","W5xdV8o/","AmkvW53dKCoXWOC","i8oMWOpcKsaNW77dRCoHDW","W6yDWP8XW6n7W7hdUCkdBG","W5SXWOWFjXSx","W4WEW4FcJxNcJ3vctCo8","WOTkBG/dKq","f0dcTW","W4/dGSkcWOHc","iSk1W5m9W5JdVCotW5/dVeO","W7SXWQxcSYRdUYqxW4tcGa","oCkJW6eSW73dT8oAW4NdNa","oHJcLSktfq","W6DAW70","5yAn5OMa5yIi","eKhcTc/cJq","wSkAjCoihG","jEI/KUIIK+E7QoAFU++9UUwhSEI/I+IGI+s5Tq","q8oDW4FcTSkWW4RdG1pdT2m","F3BdG8oAvSkMlmod55wt5OMG","WQddOKDv","WPJdH8kkWPddRq","W5JdMCoJnmostq","W4HFWRddOmkiW6hcOXVcOaPnWQW","m8ocWORcHSk3W5xdP8kuWPrLWOO/","WQ3LVPFLPzROVR/OOiCfWPqq","WQpdHxX/ma","j8kdWO7dRSkR","WRW2W4CiWQ7dUG","W5m7WQaXW7G","nColWORcJmk3W5BcMmkkWOb2WPa5ya","W57cUKxcT8ot","vdxcNW8","mmogWOFdJmo3WQxdUSkaWRq","uttcNG","srvDWO0","CmoWWPj5WR7cTmkFW4NdOvW","n8kHge4XWQhcSNrF","WRJdSmkjWRG","W4FdMCo5hCojuCkaW6uh","ehBdLgO","zHxcGIxdKa","zujk","xJtcG1CsW7O","umo2zaCk","vvaxnXq","FmoJW79hwaXBhW7cGG","WQhcOc/dHge","5PYB5OIO5yUzCtO","BCkDW5q","W7FdQqddLuLtW77dKmkfW6W","C8klsY/cNrhdSGG+xq","WPJdGa/dTq","WRBcQ0O","zmkSWR1GW47cOSoEWO9BWQm","W6hdUmo2","W4mSWRhcPJpdOuz9WRddJe7dTG","W67dMCkT","5l6q5OkcW57cR8oXWP/cLG7cVWy","d0BcVs/cMCkyWOy","WQpdUff/eq","BKHzW4xdJSkEpW","WPbrxW","m8kXW4y6W7y","W4ZcN0VcUa","WPtdM8kqW43dS8oK","eSkcWPddSCkOW4ddJKddPKq","WQC+W5Gi","WRdcQf7cOdC","pmk/W5u","W6vuW7FcOq","WOj5W6BdUKVcUw4","ybpcV8kwmSoBsG","WRNcQsXVWRtdHq","W5WtfwxcSSkGouZcLmkU","WP8hW6VcUCoCWR3cTG","AmkCW5xdKq","DWJcHmosoq","W40pdxdcP8k9EdNdSmo6zmkH","xG9qWOS9WQ7cLa","WR3dRmkCW5hdQa","W75ZW4pcRmo0","5BM+5OM76koe5lML5yQMW7yKf8oeWOa","oCk+W5ST","gSoDzmkmW4NdOaS","b8oRWRnLCw9lj04R","WQldL8k3W63dKa","j8kRWOrOWQtdJGRcSNVcRG","t8kXW6ddPvu","j8k8WQ8r","W4mTWR7cP0BcUejDWPVdIq","W44XWPuQpb0HDmkV","rSkDW43dQgi","pJtcIq","lCoZWOXGh8ofnCoSCSkyW68","v8o5Dc8Vpa","W5pcVKNcO8oV","5OUx5yMw5lIK","q8k1W409pYedEra","WOOlW6VcVmo8WR7cQa","WR/dPSkRWRtdMJzA","h0OkW5W0WQxcNY1QsG","lCoZWOuDv8oEdSobuG","foELIU+8Gq","pdRcG8ks","5lQK6lwc5yY177+n","W6/dL8k6","B8kLWPC","W7tdNCk9WRva","rt7cVXuV","W4OFW67cH2hcKMq","WO1GW4GcnGuZy8kX","l3pdTmoJWO8","WPVdN8kkW4pdQmoI","WQ/dQ8kvWRtdMtHhW6RcLG","W7HqW67cL8oaW6f0W5Gxta","WPLqtG","qZpcHfmdW6xcS8klmG","EKHdW7xdQCkClNZdOJG","qWT9iSk5beNcVCkcW6e","ACkLW5JdM30","W77dO24KW7ZcMmoefs7dUa","tr91lSkw","WQJdTSkbWQtcL2ioW77cISkL","W7FdImkyWPK","rJZcUSkNW5X9WQ43gmoJ","pNNdT8oMWO42W51JsG","owJdVmk/","bmoxBSkHW5ldPt0fba","BCkxW53dMCo3WOO","WR9qW7VdUebhECkzWO3cLmkh","n3BdLe1lW67cKSkwWQfg","W6RdH8kcWOy","xmoaW5pcIa","WPWwW6dcU8ofWQxcQHtcGaC","WPf5W5vMy1TFlCo95BIb","ythcT8kQW5fWWQm6mG","w8o6AImJjG","fmkeWQ/dJCkx","gmkdWPFdTSkvW5ZdN0BdQG","cfVcOIpcM8kqWOGVnG","bSo5v8knW5y","WRpcHmo7dmkeW7pdVSoGFNWDW7CA","uu0u","xtNcJG","W7VdSqFcNa","WRddR1XBkCkl","it7cJ8kfgmoJ","W4nuW5NdV07cHKi","W73dHSkNWOqmAg3cKa","w8kFlSoTWO3cO0nCvG","cCohzmkb","B8kZW5qMwW","WR7cPedcHCoUcCkqW6Ct","CSoVuq","WQxcRIHUWPNdNSkBvwpcUa","5y+65OIV6kgE5lQ35yM7urBdOSokWQi","WQZcJWxdHMmp","tXBdQxJdGCodW5eqaN0JWPNcUq","WP1ZW68","h8ovBCkVW5ldQW","b1pdHNlcSCocWOhcSmkhEq","ASkUW6iWxq","W4ujW4u","rmo/W6rtne89vvhdIW"];return(_0x486b=function(){return t})()}class _0x263be3{constructor(t,e,o={author:"",notify:1,tip:"",file:""}){const n=_0xe640eb,s="0|1|3|2|4"[n(238,"*9e!")]("|");let c=0;for(;;){switch(s[c++]){case"0":this[n(254,"#oT[")]=o;continue;case"1":this.ckName=e;continue;case"2":this.startTime=(new Date)[n(226,"1&1W")]();continue;case"3":this[n(289,"vL&M")]=t;continue;case"4":console[n(279,"g^5!")](this[n(220,"n7Na")]+n(247,"X]zm"));continue}break}}async[_0xe640eb(257,"$Z2z")](){const t=_0xe640eb,e=function(t,e){return t/e}(function(t,e){return t-e}((new Date)[t(283,"b$LM")](),this.startTime),1e3);console.log("\n"+this[t(326,"S%X^")]+t(239,"VYcG")+" "+e+t(325,"(s9j"))}[_0xe640eb(261,"&EG1")](_0x5b7250){const _0x548d76=_0xe640eb,_0x5a4c6d={JVxut:function(t,e){return t(e)}};try{_0x5a4c6d[_0x548d76(302,"d$7Z")](eval,_0x548d76(347,"eF0V")+_0x548d76(258,"$xJ0")+_0x548d76(345,"icxa")+_0x548d76(250,"vL&M")+_0x5b7250+(_0x548d76(276,"&%tb")+" "))}catch(t){}}async[_0xe640eb(185,"DsNH")+"hConcurren"+_0xe640eb(322,"icxa")](t,e=20){const o=_0xe640eb,n={kSkvp:function(t,e){return t>=e}},s=[];for(const c of t){const t=c();s.push(t),n[o(318,"F%EW")](s[o(216,"6FJx")],e)&&await Promise.race(s)}await Promise.all(s)}async[_0xe640eb(203,"B@Fe")](t,e=!1,o){const n=_0xe640eb,s={DXmMZ:function(t,e){return t>e},aJDev:n(272,"kk@*")+n(241,"S%X^")+n(280,"CKKa")+n(224,"0etH")+"\n",UmSIL:function(t,e){return t>e},MbuXy:function(t,e){return t{const c=n;let{author:r,notify:i,tip:W}=this[c(311,"XR$Q")];!i&&(i=1),!r&&(r=""),console[c(291,"$xJ0")](s[c(269,"^hC@")]);let a=await _0x3563c2(this.ckName,t,this[c(298,"n7Na")].file);console[c(315,"S%X^")](c(319,"zafh")+a[c(244,"&EG1")]+c(327,"HltR"));let d=async t=>{const e=c;s[e(243,"icxa")](r.length,0)?await _0x2751dc[e(225,"*]5r")](this[e(292,"d)rY")],t,{},r):await _0x2751dc[e(340,"b$LM")](this.name,t)};if(s[c(308,"d$7Z")](a[c(208,"^hC@")],0)){if(e)console[c(264,"b$LM")](c(215,"XR$Q")+c(186,"1&1W")+c(207,"PilH")+c(212,"Nv$M")+c(184,"CKKa")),await this[c(227,"zafh")+c(341,"PilH")+c(332,"zafh")](a[c(328,"g^5!")]((t=>()=>t[c(196,"EMS%")]())),o);else{console[c(229,"Oycv")](c(232,"qEcl")+"-------- 顺"+c(304,"qEcl")+c(307,"e19K")+c(262,"#oT["));for(let t=0;s[c(299,"kRHZ")](t,a.length);t++){const e=a[t];await e[c(346,"15vw")]()}}let t="",n=!1;for(const e of a)t+=s[c(303,"d)rY")](e.msg,"\n"),s[c(330,"15vw")](i,2)&&e["sendNotifi"+c(317,"(s9j")]&&await d(e[c(219,"s9q%")]),e[c(206,"hp5*")+c(197,"s9q%")]&&(n=!0);s[c(228,"6FJx")](i,1)&&n&&await s[c(230,"15vw")](d,t),W&&console[c(195,"i(n(")](W)}else W&&(console.log(W),await s[c(263,"Nv$M")](d,W))})()[n(285,"$xJ0")]((t=>console[n(284,"6FJx")](t)))[n(297,"DsNH")]((()=>this[n(260,"icxa")]()))}}function _0x41c9(t,e){const o=_0x486b();return _0x41c9=function(e,n){let s=o[e-=179];if(void 0===_0x41c9.UgKfdL){var c=function(t){let e="",o="",n=e+c;for(let o,s,c=0,r=0;s=t.charAt(r++);~s&&(o=c%4?64*o+s:s,c++%4)?e+=n.charCodeAt(r+10)-10!=0?String.fromCharCode(255&o>>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;te},hCxdn:n(349,"eF0V"),RRzTq:function(t,e){return t>e},jlsXS:n(270,"i(n(")};let c=[],r=process[n(338,"6FJx")][t];if(s[n(249,"CKKa")](o,null)&&s.rhyhg(o[n(335,"d$7Z")],0))try{r=require$$5[n(231,"$xJ0")+"nc"](o,s[n(234,"S%X^")])[n(286,"F%EW")](),console.log("#### 从配置文件"+o+"获取ck ####")}catch(t){console[n(256,"#oT[")](t)}let i=["@","&","\n"],W=0;if(r){let t=i[0];for(let e of i)if(s.RRzTq(r.indexOf(e),-1)){t=e;break}let o=r.split(t);for(let t=0;t>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t>(-2*i&6)):i:0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(var a=0,d=n.length;a>(-2*c&6)):c:0)s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(s);for(let t=0,n=e.length;t{const n=e;return o[n(462,"(O89")](t[n(598,"es#]")],200)})),this[e(456,"amEX")]=process[e(440,"dzd5")][e(618,"*2zZ")];let n=t[e(460,"(h[[")]("#");this[e(537,"YMLo")](n[0]),this[e(579,"Mwb!")]=n[0],this[e(570,"sW4l")+"en"]=n[1],this[e(513,"@L%O")]=process[e(565,"Q%O0")][e(589,"dYu2")]||0,this[e(470,"sW4l")]=new _0x3db26f(o.JAdpc,{"User-Agent":e(554,"WnXE")+"0 (Linux; "+e(604,"jFBE")+e(560,"Za]H")+"C Build/RK"+e(584,"R^T7")+e(468,"zmKX")+e(624,"dzd5")+e(444,"R^T7")+e(464,"7dq]")+e(623,"Mwb!")+e(538,"Kv@C")+e(518,"jFBE")+".0.0.0 Mob"+e(524,"yGIL")+e(573,"O^ao")+e(615,"FM0a")+" MMWEBSDK/"+e(607,"amEX")+e(415,"yGIL")+e(457,"KGGV")+e(551,"Kv@C")+e(522,"dYu2")+e(449,"yNM4")+e(549,"%#M)")+e(550,"yGIL")+e(508,"yNM4")+e(548,"P^Vv")+"ge/zh_CN A"+e(616,"MrW^")+e(474,"zmeZ")+"Env/android","Accept-Encoding":o.fzfiX,charset:o[e(574,"O^ao")],Referer:o[e(541,"$8pa")]})}async task(){const t=_0x52bbe8;await this[t(523,"lFKK")](),this[t(478,"dzd5")]&&(await this[t(526,"(O89")](),await this[t(494,"kD1n")]())}async read(){const t=_0x52bbe8,e={BYzmt:function(t,e){return t==e}};let{id:o,browse_nums:n}=await this[t(472,"kD1n")]();await this[t(442,"dYu2")](o,n),await this.comment(o),await this[t(490,"dzd5")+"le"](o);let s={article_id:o,access_token:this[t(506,"$8pa")+"en"]},{res:c}=await this[t(470,"sW4l")][t(475,"(h[[")](t(530,"P^Vv")+t(611,"^IY$")+t(577,"WnXE")+t(521,"*2zZ")+"/read-gold",{},s);e.BYzmt(c[t(586,"FM0a")],0)?this.log("阅读: "+o+t(527,"f65i")):e[t(596,"JLoW")](c[t(562,"O^ao")],1)?this[t(510,"MrW^")]("阅读: "+o+t(552,"Mwb!")+c.msg):this[t(477,"O^ao")](c)}async[_0x52bbe8(626,"yGIL")](){const t=_0x52bbe8;let{res:e}=await this[t(545,"&[*K")][t(511,"yGIL")]("index.php?store_id=1"+t(414,"es#]")+"v1/article"+t(517,"KGGV")+t(592,"Mwb!")+t(417,"TgIn")+t(484,"O^ao")+"ecommend=1"+t(482,"Za]H")+t(533,"Mwb!")+t(603,"KGGV")+this[t(441,"KGGV")+"en"],{},"");if(0==e.code){let o=random.element(e.data[t(467,"Mz%n")]);return{id:o.id,browse_nums:o[t(614,"AM9S")]}}}async detail(t,e){const o=_0x52bbe8;await this[o(498,"JLoW")][o(553,"R^T7")](o(486,"Mwb!")+o(443,"hOjC")+o(613,")J^k")+"v1/article/detail&ar"+o(489,"AM9S")+t+o(459,"zmeZ")+"&is_recomm"+o(458,"Q%O0")+o(448,"Mwb!")+e+o(461,"%#M)")+"r_id=&article_user_s"+o(439,"zmeZ")+o(594,"JLoW")+this[o(496,"Mwb!")+"en"],{},"")}async[_0x52bbe8(622,"oH8t")](t){const e=_0x52bbe8;await this.http[e(564,"WnXE")](e(429,"yGIL")+e(567,"jFBE")+e(509,"^IY$")+e(546,"P^Vv")+e(481,"SRmn")+e(547,"XBP$")+e(536,"f!^E")+t+(e(492,"lFKK")+e(557,"O^ao")+e(588,"$8pa")+e(540,"(h[[")+e(576,"FM0a"))+this[e(558,"wG&r")+"en"],{},"")}async read_article(t){const e=_0x52bbe8;await this[e(413,"dYu2")][e(424,"Mwb!")](e(539,"(O89")+e(606,"YMLo")+e(422,"yNM4")+e(578,"amEX")+"/read-arti"+e(425,"kD1n")+"e_id="+t+"&share_uid=&access_t"+e(625,"]K[*")+this[e(597,"AM9S")+"en"],{},""),await time[e(435,"(h[[")](20)}async signIn(){const t=_0x52bbe8,e={VZcjl:function(t,e){return t==e},fbwIY:function(t,e){return t==e}};let{res:o}=await this.http[t(619,"wG&r")](t(493,"lFKK")+t(445,"AA8#")+t(620,"*2zZ")+"v1/task/si"+t(465,"f65i")+t(520,"f!^E")+this[t(433,"JLoW")+"en"],{},"");e.VZcjl(o[t(612,"YMLo")],0)?this.log(t(411,"lFKK")+o[t(555,"dYu2")]+t(426,"zmeZ")+o.data[t(416,"lFKK")]+t(563,"dYu2")):e[t(544,"Mwb!")](o.code,1)?this.log(t(617,"(O89")+o[t(593,"(O89")]):this[t(608,"dYu2")](o)}async[_0x52bbe8(583,"^IY$")](){const t=_0x52bbe8,e={gDbpd:function(t,e){return t==e},GpgMY:t(571,"wG&r"),QfYDN:function(t,e){return t-e},NmeRT:function(t,e){return tnew _0x9b95b3),!1)[_0x52bbe8(610,"YMLo")]((t=>{}));