faker3/jd_wyw_qdfx.js

15 lines
28 KiB
JavaScript
Raw Normal View History

2024-06-28 15:38:28 +08:00
/*
活动名称新版玩一玩签到返现 5.17-8.31结束
活动入口: APP-我的-更多工具-玩一玩-下单全额返
活动建议定时自行修改奖票有效期2个月仅参与打卡账号输出日志
活动变量jd_wyw_notify // 是否推送通知,默认不推送
jd_wyw_pinFilter // 账号pin过滤多个pin用@分隔,默认不过滤
*/
const $ = new Env('新版玩一玩签到返现')
var _js='jsjiami.com.v7';const a5=b;function a(){const ac=(function(){return[...[_js,'uwDjRLsBhPjiAlqaSmSIiX.pcXxomU.Rwvh7uJDw==','W63cGhj0W5u','k8okW5mxW7z3ymobb3m','W5FdLwf2ze3dLw16W4FcLG','gMpdKSoGW5eJ','W7RcKH7dUG','hmopuSkgW40','W5dLPQxNPj/dKW','kEAFQEwkMUAiSUwmUoAuLUMwPo++TUI8MEMCQEIMSoAlOUwnJa','W63dVSkzW4lcHHqN','WR5vaqKfW7rOufyDWRqprG','4PM4W4tOH7ZLRABKUOpOVk/OOkNPLR/PMjtMLQxPL4pORRVNVAVPLz7OR4u','Fg9GWOzS','W6tcSmoqdu0+WRW','t3Ta','q1r6WPL6aSk3W4lcMaVdRXKA','W6hcUJVcH8obv0/cSG','doAkV+woNUAjG+wlR++9PUI+OEMEN+IKMUAiOEwmLW','WQmTbG','W4VdRHxcVcu','W7pcVv0','aSoQWQSUoW','rXZcPtOldW','m8kdWPa/fqSx','W6JcNqe','hmk3W54rkSoAF8kvWQbzwmkFqeq+WPq/g8ogW5xdLq','W6pcShhcHSoU','A8oIBJhdVCo+oq','W6/cQmoWWR/dOKawwtxcJmkvpW','beBcQYNcQW','WOBdGupdO8ocxCk/WOtcHeldMCo6k8oXW5z+WOlcISobvGBdHSkaDmkWsNC','jSknWPyNjamuW7O','W6rnWOSuWOddPa','WQnqnWO','kmo1ubRdM8o8hsVdQtrT','WPzomMvUqa','EW09W4C','WPddPCo7uG','W7mjW7i','imorEq','WPxcMCkq','WRNORlxMSk7LPlROTRmO4PYIW6pML5lLKkFLUQtML7tMJyK','eCoYAs/dIG','W7qvWPhcNCktWO3dPNm','aXuKW6KTvW','W5hdRCorWPzgWRFdGCoXnSo4W6aAW63cLv5yWQ0xWOFcJIq','wSojEsldIG','dmoDW5ajma','WP8nmNm','W6WkW7WVW6S','WRW3dhmUs8oAWRhdL3DjxNCJzMP+WPq','FM9kAYxcS8o4qW','44oe5O+H56wK44gV6k6l5yEl6i6a5y+iEGBcSGjwiq','mmk2hu3cVZ1NxxyI','eamnW4u6','W5vCEmkdW63cPCkTuSoaW64fBZi','eGO7ECkx','8kUyMmkG','imkuWOSGga','WPJdJbZdTLjjW4jjcCk7ErZcGq','hWuVW4GrvSoOW6tcVYZdJXiIW4r8WOCKW7zQn1O','W5ZdIH3cQIS','WOFdPhTPq0FdIW','W6VdMJlcKG','W6ZdIIe','WQJdSdXOW5HqW63cJq','gGuZW58','W65lWOa','W4FdOmoZWPfX','W4tcGve','bSkLWPaqpq','WRW3aKqKtmoi','WRRdS8knWQ7dMG','pHqLB8kQtSkua3dcKfNdJ31nWPS','dhFdImoe','ga45W4KXrW','WRCqWRCZWOZdG8oMWRy','W5/XG4grAEI/MEIGOEE4VoAEN2m','WPz1WPBcJmkJ','z0vjlCoJdCo6u0ZcJ0RdUf5o','zXCP','WPqBpSoz','nYamDCkl','5Psb5B656l+E5ywlW6lcVEs5MowpQUs6JEAlIowmH+I0IowoH+I9I+wfIoAxO+w9Kq','5B6B5yUW5OM05P2K6lsw5y6B5zYs5RkS5P+m5Q+z5z2e5y+U5lMh5OIM5y+G55Q45zss5zcv5zcJuW','WPZMNiVLI7hMIP3LJPVMLk7PLyFVVjdOVjhPNjlOPlFMIRpLJim','W6ldIbRcNIq','WOzzgdi4','gmkOWQ0','ASkxW50wW4DrAW','m8kvW4GUfq','W47cT2jVW44','bchcMNVcNvu','W77cPXHoW6r6W5hcSx/cMvC','mZuFW7KX'],...(function(){return[...['W7XWvX55cSkdWQFdLM9nuK4','WPiKsmodW64','W77dLYJcJG','WPZcMmkb','WRtcI3e','bcVcKW','t8o+WOCpjXNdIW','W6RcRGvOW7m','W7tcGqhdNru','6AAD6Acn6i+55y255AAn6lwcCr4','W7FcPWLVW4rTW5pcRetcJ3pdQ0JcQWKqWRdcL0hcNmoL','qw4i','WQJdSLW7','WOtdUmo6u8k4W6NdQqj3Fdi','W6pcJIPZW6e','CMbj','W4VcOvRdNmok','4PYyuoADKoEFVEISPoAXU8oR','W6NdHY/cPqb7WOJdRCkig0tdNCkxca','W5RcPCoGq8kKW6BdRMneDdxdMmkfW7RcMtC','WOVdL8kuWRldOLa','W6NcQhNdTmoZ','WRddMmkfWOhdMq','pCk2W4WJdG','776K5OQ95y2x5AA+5PEBc8oS','W4/dHN1bEeNdJ2D6W5pcGa','w35hsXC','WPFdQ8oHvmkL','W7P+W6xdK1C','WRtcGSobig4d','WQ9eWRBcM8kjWR3dGq','esexta5OAI/cIrVdSCo6W5C','W6RcQWTLW5b6W5VcPN3cMftdOvxcIq4tWPBcTuZcISoP','W5xcUhVcHmo+fa','WQhdHe0FrG','c8oG6l2t54+mmq','FCkqlSo/WOq','WOZdS8koW4hcKq','W6lcVd3cSSoK','WP3dUCourCk/W6VdPa','zNDSdfy','sg8z','W5ldNxW','5OQl5y6f5AsN6lEzW7ddNW','WRzRlc8o','hqdcSxhcUW','WR/cGwlcSCkVWOWwkSoNnG','WQtdKLm','W6VcUZBcJCoDva','W5r0W60','W7xdJmonWR9I','jsueW5Gb','W5GqqG','WQ0uD8oR','xCoVzbhdJa','BhvdWQfoWPzwW4HY','W4ncnKeT','FCk/orhcHHjLW5e','4PIIboIeJEwVUUs6RoI9HUIJV+MuREMBUUAvMEMvRoIVNEE8HUMvNUIUPa','dCkzW5meeG','W5JdRCoaWRDMWQddG8oSdCoUW4q','W6VcL37cTmow','wtq+W7BdPG','kqRcH37cKa','W7WuW7aTW7Ox','W7FdVKbCEa','aSoXW5mlbW','WPipAmogW70','mLhdJmoiW5u','aSkWW7i3oG','WPzomG','fcn1dMyulYe','ACoQvbe','W57dU8ohWPTZWRW','kUAlVEwoJ+AjK+wlTU+9UoAlQowmKUwKJoAwHUw2NUA6SE+8TEw+KEwmNoweToAoQ+wNHowkPEwrVCoc','W6lMI5VLJ5xMI6lLIOVVV57OVBtPNP7OP4hMI47LJ4i','pSosxrRdQq','FUAjH+wnHUwLKUAvH+w2O+A6U++9MEw8TEwpS+whK+ApQowNJEwlREwrKwq','WQKAC8oG','qLa7WO0b','omosW7mqbYZdSXZcJw3dMmojz8kzW5q','W79EW54','W7NcGxfmW7y','WQDtWQtcQ8k7WRxdNgNcP2y','W4NcJuldVSoDwmk4W4lcS1tdPmoVk8oJW71RWOJcLSoi','6AE46AgB6i255y6M5AEk6lEyW5zn','AaVcMZWj','W7atW7tdVmomW6dcGs3cI0xdSSkml1u','5yYg6ywu54M+5Okm57Ig5PYQsGXsW7/dVNrUE8o2ta','W50rvItdQCoY','aWu6W4aIumoG','WQFdIgCvqa','WP7dL8kqWP/cTLCI','W5NcKuVcRs0kWPvLemkwDX0','pmoUsJVdGG','nSoYwmkPW4m'],...(function(){return['eSktW68Nfa','W53cQuVdSvpdOSkUpSo0W7bWWRhcGq','aeVcQXtcQCkyWOecfCoZh8kXsKJdUSostSoql8osoW','WPNc
// prettier-ignore
function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"])