/************************************** @Name:知轩 签到 @Author:Sliverkiss @Date:2023-10-10 12:17:56 网址入口:https://zxcstxt.com 使用方法:抓取yuchenios.com域名下签到的cookie填写到zhixuan_data,多账号用 @ 分隔 脚本兼容:Surge、QuantumultX、Loon、Shadowrocket、Node.js 只测试过loon和青龙,其它环境请自行尝试】 Surge、QuantumultX、Loon、Shadowrocket: 使用方法: 1.将获取ck脚本保存到本地 2.登录网站,打开个人中心,若提示获取ck成功则可以使用该脚本 3.关闭获取ck脚本,防止产生不必要的mitm ------------------------------------------ Loon ------------------------------------------ [Script] cron "15 0 * * *" script-path=https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/zhixuan.js, timeout=300, tag=知轩 http-request ^https:\/\/zxcstxt\.com\/user\/ script-path=https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/zhixuan.js, timeout=10, tag=知轩获取token [MITM] hostname =zxcstxt.com ------------------------------------------ QuantumultX ------------------------------------------ [rewrite_local] ^https:\/\/zxcstxt\.com\/user\/ url script-request-header https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/zhixuan.js [mitm] hostname =zxcstxt.com ==================================== ⚠️【免责声明】 ------------------------------------------ 1、此脚本仅用于学习研究,不保证其合法性、准确性、有效性,请根据情况自行判断,本人对此不承担任何保证责任。 2、由于此脚本仅用于学习研究,您必须在下载后 24 小时内将所有内容从您的计算机或手机或任何存储设备中完全删除,若违反规定引起任何事件本人对此均不负责。 3、请勿将此脚本用于任何商业或非法目的,若违反规定请自行对此负责。 4、此脚本涉及应用与本人无关,本人对因此引起的任何隐私泄漏或其他后果不承担任何责任。 5、本人对任何脚本引发的问题概不负责,包括但不限于由脚本错误引起的任何损失和损害。 6、如果任何单位或个人认为此脚本可能涉嫌侵犯其权利,应及时通知并提供身份证明,所有权证明,我们将在收到认证文件确认后删除此脚本。 7、所有直接或间接使用、查看此脚本的人均应该仔细阅读此声明。本人保留随时更改或补充此声明的权利。一旦您使用或复制了此脚本,即视为您已接受此免责声明。 ******************************************/ // env.js 全局 const _0x2ca8bc=_0x323c;(function(_0x3c6378,_0x15badf){const _0x19ee8c=_0x323c,_0x347d7b=_0x3c6378();while(!![]){try{const _0xa2a210=-parseInt(_0x19ee8c(0x136))/0x1+-parseInt(_0x19ee8c(0x193))/0x2+parseInt(_0x19ee8c(0x168))/0x3*(parseInt(_0x19ee8c(0x1ae))/0x4)+-parseInt(_0x19ee8c(0x192))/0x5*(-parseInt(_0x19ee8c(0x149))/0x6)+-parseInt(_0x19ee8c(0x15d))/0x7+-parseInt(_0x19ee8c(0x170))/0x8*(parseInt(_0x19ee8c(0x13c))/0x9)+parseInt(_0x19ee8c(0x144))/0xa*(parseInt(_0x19ee8c(0x1bb))/0xb);if(_0xa2a210===_0x15badf)break;else _0x347d7b['push'](_0x347d7b['shift']());}catch(_0x329932){_0x347d7b['push'](_0x347d7b['shift']());}}}(_0x5830,0xe9b8e));const $=new Env('知轩'),ckName='zhixuan_data',Notify=0x1,notify=$[_0x2ca8bc(0x177)]()?require(_0x2ca8bc(0x160)):'';let envSplitor=['@'],userCookie=($['isNode']()?process['env'][ckName]:$[_0x2ca8bc(0x1a5)](ckName))||'',userList=[],userIdx=0x0,userCount=0x0;$['notifyMsg']=[],$[_0x2ca8bc(0x14f)]=($[_0x2ca8bc(0x177)]()?process[_0x2ca8bc(0x159)][_0x2ca8bc(0x185)]:$[_0x2ca8bc(0x1a5)](_0x2ca8bc(0x185)))||'';async function main(){const _0x3077e7=_0x2ca8bc;console[_0x3077e7(0x17d)](_0x3077e7(0x137)),taskall=[];for(let _0xf0e1f1 of userList){_0xf0e1f1[_0x3077e7(0x14d)]?(DoubleLog(_0x3077e7(0x1c2)+_0xf0e1f1[_0x3077e7(0x128)]+_0x3077e7(0x1a0)),console[_0x3077e7(0x17d)](_0x3077e7(0x139)+_0xf0e1f1[_0x3077e7(0x180)]()+'ms'),taskall['push'](await _0xf0e1f1[_0x3077e7(0x19f)]()),await $[_0x3077e7(0x181)](_0xf0e1f1[_0x3077e7(0x180)]())):$[_0x3077e7(0x1cf)][_0x3077e7(0x1ca)](_0x3077e7(0x1d7)+_0xf0e1f1['index']+_0x3077e7(0x1ba));}await Promise[_0x3077e7(0x140)](taskall);}class UserInfo{constructor(_0x395202){const _0x1879ba=_0x2ca8bc;this[_0x1879ba(0x128)]=++userIdx,this['ck']=_0x395202,this[_0x1879ba(0x14d)]=!![],this[_0x1879ba(0x15b)]={'User-Agent':_0x1879ba(0x16e),'Cookie':this['ck'],'Content-Type':_0x1879ba(0x175)},this['body']='action=user_checkin';}[_0x2ca8bc(0x180)](){return randomInt(0x3e8,0xbb8);}async[_0x2ca8bc(0x19f)](){const _0x4f4489=_0x2ca8bc;try{const _0x5678dd={'url':'https://zxcstxt.com/wp-admin/admin-ajax.php','headers':this[_0x4f4489(0x15b)],'body':this['body']};let _0x5205ea=await httpRequest(_0x5678dd);_0x5205ea?.[_0x4f4489(0x1aa)]==_0x4f4489(0x1aa)?DoubleLog('✅'+_0x5205ea?.['msg']):DoubleLog('🔶'+_0x5205ea?.[_0x4f4489(0x15e)]);}catch(_0xfce862){console['log'](_0xfce862);}}}function _0x5830(){const _0x106216=['getdata','getval','getDate','toStr','object','success','cookie','Shadowrocket','body','13448HxFTOz','keys','Quantumult\x20X','string','logs','.$1','open-url','message','isStash','loaddata','http://','initGotEnv','\x20>>\x20Check\x20ck\x20error!','16588121AdmYun','cwd','content-length',',\x20开始!','ckjar',',\x20错误!','setValueForKey','🔷账号','random','fetch','floor','请求api返回数据为空,请检查自身原因','stringify','dataFile','encoding','push','status','setdata','stack','Stash','notifyMsg','getMinutes','join','isShadowrocket','logSeparator','application/x-www-form-urlencoded','get','send','❌账号','box.dat','catch','post','writedata','isArray','cktough','index','utf-8','isNeedRewrite','error','lodash_set','replace','indexOf','@chavy_boxjs_userCfgs.httpapi','slice','existsSync','Content-Type','🔷Bark\x20notify\x20>>\x20Start\x20push\x20(','获取签到Cookie成功🎉','content-type','1685216Muacbb','\x0a==================\x20任务\x20==================\x0a','queryStr','随机延迟','isMute','update-pasteboard','54CuutNY','getMilliseconds','resolve','个账号','all','cron','updatePasteboard','substr','30reMSSP','then','Cookie','http','getMonth','2178600YkeNTe','startTime','parse','readFileSync','ckStatus','Node.js','barkKey','redirect','url','POST','未找到CK','statusCode','valueForKey','❌Push\x20failed!\x20>>\x20','writeFileSync','getSeconds','env','media-url','headers','decode','6529915TqAxpZ','msg','getEnv','./sendNotify','Content-Length','getScript','共找到','tough-cookie','getjson','got','isQuanX','606LmqdjR','opts','CookieJar','substring','toString','data','StormSniffer-Extension/2254\x20CFNetwork/1327.0.4\x20Darwin/21.2.0','name','2357000YTvUjf','logErr','method','timeout','time','application/x-www-form-urlencoded;\x20charset=utf-8','cookieJar','isNode','runScript','OPTIONS','undefined','toLocaleLowerCase','请求失败','log','setval','split','getRandomTime','wait','isSurge','✅Push\x20success!','UndefinedError','bark_key','abs','finally','getTime','iconv-lite','setCookieSync','getHours','Surge','Loon','==============📣系统通知📣==============','rawBody','openUrl','length','5LPoEhW','446240uhgLUA','stash-version','isLoon','map','write','trim','lodash_get','assign','call','exports',',\x20结束!\x20🕛\x20','https://api.day.app/push','signin','\x20>>\x20Start\x20work','exit','concat','path','test'];_0x5830=function(){return _0x106216;};return _0x5830();}async function getCookie(){const _0x381bc7=_0x2ca8bc;if($request&&$request[_0x381bc7(0x172)]!=_0x381bc7(0x179)){const _0x56590b=$request[_0x381bc7(0x15b)][_0x381bc7(0x146)]||$request[_0x381bc7(0x15b)][_0x381bc7(0x1ab)];_0x56590b?($[_0x381bc7(0x1cc)](_0x56590b,ckName),$['msg']($['name'],'',_0x381bc7(0x134))):$[_0x381bc7(0x15e)]($[_0x381bc7(0x16f)],'','错误获取签到Cookie失败');}}!(async()=>{const _0x1b7ab0=_0x2ca8bc;if(typeof $request!='undefined'){await getCookie();return;}if(!await checkEnv())throw new Error('❌未检测到ck,请添加环境变量');;userList[_0x1b7ab0(0x191)]>0x0&&await main();$['barkKey']&&await BarkNotify($,$[_0x1b7ab0(0x14f)],$['name'],$[_0x1b7ab0(0x1cf)][_0x1b7ab0(0x1d1)]('\x0a'));;})()['catch'](_0x36281b=>$['notifyMsg'][_0x2ca8bc(0x1ca)](_0x36281b[_0x2ca8bc(0x1b5)]||_0x36281b))[_0x2ca8bc(0x187)](async()=>{const _0x35577a=_0x2ca8bc;await SendMsg($[_0x35577a(0x1cf)][_0x35577a(0x1d1)]('\x0a')),$['done']();});function _0x323c(_0x4a5047,_0x560247){const _0x5830fa=_0x5830();return _0x323c=function(_0x323c40,_0x9a717e){_0x323c40=_0x323c40-0x128;let _0x2f5c20=_0x5830fa[_0x323c40];return _0x2f5c20;},_0x323c(_0x4a5047,_0x560247);}function DoubleLog(_0x4eac8b){const _0x1189b7=_0x2ca8bc;$[_0x1189b7(0x177)]()?_0x4eac8b&&(console['log'](''+_0x4eac8b),$[_0x1189b7(0x1cf)]['push'](''+_0x4eac8b)):(console[_0x1189b7(0x17d)](''+_0x4eac8b),$[_0x1189b7(0x1cf)]['push'](''+_0x4eac8b));}function toParams(_0x163933){const _0x55146e=_0x2ca8bc;var _0x44b7c2=Object[_0x55146e(0x1af)](_0x163933)[_0x55146e(0x196)](function(_0x304e2a){return encodeURIComponent(_0x304e2a)+'='+encodeURIComponent(_0x163933[_0x304e2a]);})[_0x55146e(0x1d1)]('&');return _0x44b7c2;}async function checkEnv(){const _0x2ad8c9=_0x2ca8bc;if(userCookie){let _0x516744=envSplitor[0x0];for(let _0x10a09f of envSplitor)if(userCookie[_0x2ad8c9(0x12e)](_0x10a09f)>-0x1){_0x516744=_0x10a09f;break;}for(let _0x25ea45 of userCookie[_0x2ad8c9(0x17f)](_0x516744))_0x25ea45&&userList[_0x2ad8c9(0x1ca)](new UserInfo(_0x25ea45));userCount=userList['length'];}else{console[_0x2ad8c9(0x17d)](_0x2ad8c9(0x153));return;}return console[_0x2ad8c9(0x17d)](_0x2ad8c9(0x163)+userCount+_0x2ad8c9(0x13f)),!![];}function randomInt(_0x398e3d,_0x18c84c){const _0x407ae6=_0x2ca8bc;return Math['round'](Math[_0x407ae6(0x1c3)]()*(_0x18c84c-_0x398e3d)+_0x398e3d);}async function SendMsg(_0x46ae91){const _0x119ff7=_0x2ca8bc;if(!_0x46ae91)return;Notify>0x0?$[_0x119ff7(0x177)]()?await notify['sendNotify']($[_0x119ff7(0x16f)],_0x46ae91):$[_0x119ff7(0x15e)]($[_0x119ff7(0x16f)],'',_0x46ae91):console[_0x119ff7(0x17d)](_0x46ae91);}function httpRequest(_0x4a2779,_0xeb8582){const _0x4f7089=_0x2ca8bc;return typeof _0xeb8582===_0x4f7089(0x17a)?_0x4f7089(0x1ad)in _0x4a2779?_0xeb8582=_0x4f7089(0x1da):_0xeb8582=_0x4f7089(0x1d5):_0xeb8582=_0xeb8582,new Promise(_0x58a87b=>{$[_0xeb8582](_0x4a2779,(_0x3d33da,_0x37ddb0,_0x5454f5)=>{const _0x7f81a=_0x323c;try{_0x3d33da?(console[_0x7f81a(0x17d)](_0xeb8582+_0x7f81a(0x17c)),$['logErr'](_0x3d33da)):_0x5454f5?(typeof JSON['parse'](_0x5454f5)=='object'?_0x5454f5=JSON[_0x7f81a(0x14b)](_0x5454f5):_0x5454f5=_0x5454f5,_0x58a87b(_0x5454f5)):console[_0x7f81a(0x17d)](_0x7f81a(0x1c6));}catch(_0x279264){$['logErr'](_0x279264,_0x37ddb0);}finally{_0x58a87b();}});});}async function BarkNotify(_0x3118cb,_0x5ece3e,_0x1bedfb,_0x1f690d){const _0x24e186=_0x2ca8bc;for(let _0x11bc27=0x0;_0x11bc27<0x3;_0x11bc27++){console['log'](_0x24e186(0x133)+(_0x11bc27+0x1)+')');const _0x4d7759=await new Promise(_0x57fcc5=>{const _0x5884d1=_0x24e186;_0x3118cb[_0x5884d1(0x1da)]({'url':_0x5884d1(0x19e),'headers':{'Content-Type':'application/json'},'body':JSON[_0x5884d1(0x1c7)]({'title':_0x1bedfb,'body':_0x1f690d,'device_key':_0x5ece3e,'ext_params':{'group':_0x1bedfb}})},(_0x42bafa,_0x232c1e,_0x140be3)=>_0x232c1e&&_0x232c1e['status']==0xc8?_0x57fcc5(0x1):_0x57fcc5(_0x140be3||_0x42bafa));});if(_0x4d7759===0x1){console['log'](_0x24e186(0x183));break;}else console[_0x24e186(0x17d)](_0x24e186(0x156)+(_0x4d7759[_0x24e186(0x1b5)]||_0x4d7759));}};function Env(_0x127405,_0x25adc9){const _0x35eeb6=_0x2ca8bc;class _0x10b372{constructor(_0x5423c2){const _0x167215=_0x323c;this[_0x167215(0x159)]=_0x5423c2;}[_0x35eeb6(0x1d6)](_0x42060f,_0x5c5f4c='GET'){const _0x1367a5=_0x35eeb6;_0x42060f='string'==typeof _0x42060f?{'url':_0x42060f}:_0x42060f;let _0x5d63b4=this[_0x1367a5(0x1d5)];return _0x1367a5(0x152)===_0x5c5f4c&&(_0x5d63b4=this[_0x1367a5(0x1da)]),new Promise((_0x4aeb24,_0x98b19d)=>{const _0x3b3427=_0x1367a5;_0x5d63b4[_0x3b3427(0x19b)](this,_0x42060f,(_0x16e1b3,_0x50ce61,_0x4cdf0a)=>{_0x16e1b3?_0x98b19d(_0x16e1b3):_0x4aeb24(_0x50ce61);});});}[_0x35eeb6(0x1d5)](_0x11a229){const _0x5c1b6e=_0x35eeb6;return this[_0x5c1b6e(0x1d6)]['call'](this[_0x5c1b6e(0x159)],_0x11a229);}[_0x35eeb6(0x1da)](_0x1f53df){const _0x43a485=_0x35eeb6;return this[_0x43a485(0x1d6)]['call'](this[_0x43a485(0x159)],_0x1f53df,'POST');}}return new class{constructor(_0x483f2c,_0x39ec99){const _0x25dd5a=_0x35eeb6;this[_0x25dd5a(0x16f)]=_0x483f2c,this[_0x25dd5a(0x147)]=new _0x10b372(this),this[_0x25dd5a(0x16d)]=null,this[_0x25dd5a(0x1c8)]=_0x25dd5a(0x1d8),this[_0x25dd5a(0x1b2)]=[],this['isMute']=!0x1,this[_0x25dd5a(0x12a)]=!0x1,this['logSeparator']='\x0a',this['encoding']=_0x25dd5a(0x129),this['startTime']=new Date()[_0x25dd5a(0x188)](),Object[_0x25dd5a(0x19a)](this,_0x39ec99),this[_0x25dd5a(0x17d)]('','🔔'+this[_0x25dd5a(0x16f)]+_0x25dd5a(0x1be));}[_0x35eeb6(0x15f)](){const _0x21aaa5=_0x35eeb6;return _0x21aaa5(0x17a)!=typeof $environment&&$environment['surge-version']?_0x21aaa5(0x18c):_0x21aaa5(0x17a)!=typeof $environment&&$environment[_0x21aaa5(0x194)]?_0x21aaa5(0x1ce):_0x21aaa5(0x17a)!=typeof module&&module[_0x21aaa5(0x19c)]?_0x21aaa5(0x14e):_0x21aaa5(0x17a)!=typeof $task?'Quantumult\x20X':_0x21aaa5(0x17a)!=typeof $loon?_0x21aaa5(0x18d):_0x21aaa5(0x17a)!=typeof $rocket?'Shadowrocket':void 0x0;}[_0x35eeb6(0x177)](){return'Node.js'===this['getEnv']();}[_0x35eeb6(0x167)](){const _0x3f40ac=_0x35eeb6;return'Quantumult\x20X'===this[_0x3f40ac(0x15f)]();}[_0x35eeb6(0x182)](){const _0x353b5b=_0x35eeb6;return _0x353b5b(0x18c)===this[_0x353b5b(0x15f)]();}[_0x35eeb6(0x195)](){const _0x1312b4=_0x35eeb6;return _0x1312b4(0x18d)===this[_0x1312b4(0x15f)]();}[_0x35eeb6(0x1d2)](){const _0x312223=_0x35eeb6;return _0x312223(0x1ac)===this['getEnv']();}[_0x35eeb6(0x1b6)](){const _0x133c93=_0x35eeb6;return _0x133c93(0x1ce)===this[_0x133c93(0x15f)]();}['toObj'](_0x3bc67e,_0x49a801=null){const _0x1439ab=_0x35eeb6;try{return JSON[_0x1439ab(0x14b)](_0x3bc67e);}catch{return _0x49a801;}}[_0x35eeb6(0x1a8)](_0x58a944,_0x33c046=null){try{return JSON['stringify'](_0x58a944);}catch{return _0x33c046;}}[_0x35eeb6(0x165)](_0x239c5b,_0x5af80a){const _0x15c572=_0x35eeb6;let _0x20017c=_0x5af80a;const _0xa46558=this[_0x15c572(0x1a5)](_0x239c5b);if(_0xa46558)try{_0x20017c=JSON['parse'](this[_0x15c572(0x1a5)](_0x239c5b));}catch{}return _0x20017c;}['setjson'](_0xa511f8,_0x5d7c85){const _0x2f8173=_0x35eeb6;try{return this[_0x2f8173(0x1cc)](JSON[_0x2f8173(0x1c7)](_0xa511f8),_0x5d7c85);}catch{return!0x1;}}[_0x35eeb6(0x162)](_0x4461e4){return new Promise(_0x2c4e73=>{this['get']({'url':_0x4461e4},(_0xdbdb8f,_0x274c71,_0x4a25b0)=>_0x2c4e73(_0x4a25b0));});}[_0x35eeb6(0x178)](_0x54e894,_0x46cc4e){const _0xe74e52=_0x35eeb6;return new Promise(_0x5c838c=>{const _0x59d94e=_0x323c;let _0x1ccfcb=this[_0x59d94e(0x1a5)](_0x59d94e(0x12f));_0x1ccfcb=_0x1ccfcb?_0x1ccfcb[_0x59d94e(0x12d)](/\n/g,'')[_0x59d94e(0x198)]():_0x1ccfcb;let _0x4c6563=this[_0x59d94e(0x1a5)]('@chavy_boxjs_userCfgs.httpapi_timeout');_0x4c6563=_0x4c6563?0x1*_0x4c6563:0x14,_0x4c6563=_0x46cc4e&&_0x46cc4e[_0x59d94e(0x173)]?_0x46cc4e['timeout']:_0x4c6563;const [_0x2664a3,_0x332be7]=_0x1ccfcb[_0x59d94e(0x17f)]('@'),_0x49a989={'url':_0x59d94e(0x1b8)+_0x332be7+'/v1/scripting/evaluate','body':{'script_text':_0x54e894,'mock_type':_0x59d94e(0x141),'timeout':_0x4c6563},'headers':{'X-Key':_0x2664a3,'Accept':'*/*'},'timeout':_0x4c6563};this[_0x59d94e(0x1da)](_0x49a989,(_0x593a2e,_0x4056b4,_0xcd9f5f)=>_0x5c838c(_0xcd9f5f));})[_0xe74e52(0x1d9)](_0x33278a=>this[_0xe74e52(0x171)](_0x33278a));}[_0x35eeb6(0x1b7)](){const _0x1220a8=_0x35eeb6;if(!this['isNode']())return{};{this['fs']=this['fs']?this['fs']:require('fs'),this['path']=this[_0x1220a8(0x1a3)]?this[_0x1220a8(0x1a3)]:require('path');const _0xe9d681=this['path']['resolve'](this['dataFile']),_0x2e0868=this[_0x1220a8(0x1a3)][_0x1220a8(0x13e)](process[_0x1220a8(0x1bc)](),this[_0x1220a8(0x1c8)]),_0x5a046e=this['fs'][_0x1220a8(0x131)](_0xe9d681),_0x2a7dc8=!_0x5a046e&&this['fs']['existsSync'](_0x2e0868);if(!_0x5a046e&&!_0x2a7dc8)return{};{const _0x33c669=_0x5a046e?_0xe9d681:_0x2e0868;try{return JSON['parse'](this['fs'][_0x1220a8(0x14c)](_0x33c669));}catch(_0x35c1c5){return{};}}}}[_0x35eeb6(0x1db)](){const _0x3b3ff7=_0x35eeb6;if(this[_0x3b3ff7(0x177)]()){this['fs']=this['fs']?this['fs']:require('fs'),this['path']=this['path']?this[_0x3b3ff7(0x1a3)]:require('path');const _0x1b7e12=this[_0x3b3ff7(0x1a3)][_0x3b3ff7(0x13e)](this['dataFile']),_0x2e2dab=this['path']['resolve'](process[_0x3b3ff7(0x1bc)](),this[_0x3b3ff7(0x1c8)]),_0x2094e6=this['fs']['existsSync'](_0x1b7e12),_0xda94eb=!_0x2094e6&&this['fs'][_0x3b3ff7(0x131)](_0x2e2dab),_0xbfd735=JSON['stringify'](this[_0x3b3ff7(0x16d)]);_0x2094e6?this['fs'][_0x3b3ff7(0x157)](_0x1b7e12,_0xbfd735):_0xda94eb?this['fs'][_0x3b3ff7(0x157)](_0x2e2dab,_0xbfd735):this['fs'][_0x3b3ff7(0x157)](_0x1b7e12,_0xbfd735);}}[_0x35eeb6(0x199)](_0x2fba35,_0x1a4e8e,_0x6d8a88){const _0x4e9952=_0x35eeb6,_0x288f40=_0x1a4e8e[_0x4e9952(0x12d)](/\[(\d+)\]/g,_0x4e9952(0x1b3))[_0x4e9952(0x17f)]('.');let _0x5b954e=_0x2fba35;for(const _0x491fc7 of _0x288f40)if(_0x5b954e=Object(_0x5b954e)[_0x491fc7],void 0x0===_0x5b954e)return _0x6d8a88;return _0x5b954e;}[_0x35eeb6(0x12c)](_0x299f0d,_0x3b3bd0,_0x3af21d){const _0x15c223=_0x35eeb6;return Object(_0x299f0d)!==_0x299f0d?_0x299f0d:(Array[_0x15c223(0x1dc)](_0x3b3bd0)||(_0x3b3bd0=_0x3b3bd0[_0x15c223(0x16c)]()['match'](/[^.[\]]+/g)||[]),_0x3b3bd0[_0x15c223(0x130)](0x0,-0x1)['reduce']((_0x4cc11f,_0x1371a9,_0x4b49f2)=>Object(_0x4cc11f[_0x1371a9])===_0x4cc11f[_0x1371a9]?_0x4cc11f[_0x1371a9]:_0x4cc11f[_0x1371a9]=Math[_0x15c223(0x186)](_0x3b3bd0[_0x4b49f2+0x1])>>0x0==+_0x3b3bd0[_0x4b49f2+0x1]?[]:{},_0x299f0d)[_0x3b3bd0[_0x3b3bd0[_0x15c223(0x191)]-0x1]]=_0x3af21d,_0x299f0d);}[_0x35eeb6(0x1a5)](_0x475446){const _0x226485=_0x35eeb6;let _0x255188=this[_0x226485(0x1a6)](_0x475446);if(/^@/[_0x226485(0x1a4)](_0x475446)){const [,_0x44bd43,_0x5bd6d3]=/^@(.*?)\.(.*?)$/['exec'](_0x475446),_0xf03f93=_0x44bd43?this['getval'](_0x44bd43):'';if(_0xf03f93)try{const _0x5cd1b5=JSON['parse'](_0xf03f93);_0x255188=_0x5cd1b5?this['lodash_get'](_0x5cd1b5,_0x5bd6d3,''):_0x255188;}catch(_0x2e2458){_0x255188='';}}return _0x255188;}[_0x35eeb6(0x1cc)](_0x5d4d88,_0x2d3af6){const _0x1dfda5=_0x35eeb6;let _0xbcff63=!0x1;if(/^@/[_0x1dfda5(0x1a4)](_0x2d3af6)){const [,_0x6ea79d,_0x3aceb6]=/^@(.*?)\.(.*?)$/['exec'](_0x2d3af6),_0x1909a7=this[_0x1dfda5(0x1a6)](_0x6ea79d),_0x482e9e=_0x6ea79d?'null'===_0x1909a7?null:_0x1909a7||'{}':'{}';try{const _0x248e36=JSON[_0x1dfda5(0x14b)](_0x482e9e);this[_0x1dfda5(0x12c)](_0x248e36,_0x3aceb6,_0x5d4d88),_0xbcff63=this['setval'](JSON[_0x1dfda5(0x1c7)](_0x248e36),_0x6ea79d);}catch(_0x2833ae){const _0x437e90={};this[_0x1dfda5(0x12c)](_0x437e90,_0x3aceb6,_0x5d4d88),_0xbcff63=this[_0x1dfda5(0x17e)](JSON[_0x1dfda5(0x1c7)](_0x437e90),_0x6ea79d);}}else _0xbcff63=this[_0x1dfda5(0x17e)](_0x5d4d88,_0x2d3af6);return _0xbcff63;}[_0x35eeb6(0x1a6)](_0x2c891c){const _0x715b0c=_0x35eeb6;switch(this[_0x715b0c(0x15f)]()){case _0x715b0c(0x18c):case _0x715b0c(0x18d):case _0x715b0c(0x1ce):case _0x715b0c(0x1ac):return $persistentStore['read'](_0x2c891c);case _0x715b0c(0x1b0):return $prefs[_0x715b0c(0x155)](_0x2c891c);case _0x715b0c(0x14e):return this[_0x715b0c(0x16d)]=this[_0x715b0c(0x1b7)](),this[_0x715b0c(0x16d)][_0x2c891c];default:return this[_0x715b0c(0x16d)]&&this[_0x715b0c(0x16d)][_0x2c891c]||null;}}[_0x35eeb6(0x17e)](_0x4cc48e,_0x46a180){const _0x42a096=_0x35eeb6;switch(this[_0x42a096(0x15f)]()){case _0x42a096(0x18c):case _0x42a096(0x18d):case _0x42a096(0x1ce):case _0x42a096(0x1ac):return $persistentStore[_0x42a096(0x197)](_0x4cc48e,_0x46a180);case _0x42a096(0x1b0):return $prefs[_0x42a096(0x1c1)](_0x4cc48e,_0x46a180);case _0x42a096(0x14e):return this[_0x42a096(0x16d)]=this['loaddata'](),this[_0x42a096(0x16d)][_0x46a180]=_0x4cc48e,this[_0x42a096(0x1db)](),!0x0;default:return this['data']&&this[_0x42a096(0x16d)][_0x46a180]||null;}}[_0x35eeb6(0x1b9)](_0x4e2495){const _0x5adc1d=_0x35eeb6;this['got']=this['got']?this[_0x5adc1d(0x166)]:require(_0x5adc1d(0x166)),this[_0x5adc1d(0x1dd)]=this[_0x5adc1d(0x1dd)]?this[_0x5adc1d(0x1dd)]:require(_0x5adc1d(0x164)),this[_0x5adc1d(0x1bf)]=this[_0x5adc1d(0x1bf)]?this[_0x5adc1d(0x1bf)]:new this[(_0x5adc1d(0x1dd))][(_0x5adc1d(0x16a))](),_0x4e2495&&(_0x4e2495[_0x5adc1d(0x15b)]=_0x4e2495[_0x5adc1d(0x15b)]?_0x4e2495[_0x5adc1d(0x15b)]:{},void 0x0===_0x4e2495[_0x5adc1d(0x15b)][_0x5adc1d(0x146)]&&void 0x0===_0x4e2495['cookieJar']&&(_0x4e2495['cookieJar']=this[_0x5adc1d(0x1bf)]));}[_0x35eeb6(0x1d5)](_0x2bb7ff,_0x7de74e=()=>{}){const _0x3a5de5=_0x35eeb6;switch(_0x2bb7ff['headers']&&(delete _0x2bb7ff[_0x3a5de5(0x15b)][_0x3a5de5(0x132)],delete _0x2bb7ff[_0x3a5de5(0x15b)][_0x3a5de5(0x161)],delete _0x2bb7ff[_0x3a5de5(0x15b)][_0x3a5de5(0x135)],delete _0x2bb7ff[_0x3a5de5(0x15b)]['content-length']),_0x2bb7ff['params']&&(_0x2bb7ff[_0x3a5de5(0x151)]+='?'+this[_0x3a5de5(0x138)](_0x2bb7ff['params'])),this[_0x3a5de5(0x15f)]()){case'Surge':case _0x3a5de5(0x18d):case _0x3a5de5(0x1ce):case'Shadowrocket':default:this[_0x3a5de5(0x182)]()&&this[_0x3a5de5(0x12a)]&&(_0x2bb7ff['headers']=_0x2bb7ff[_0x3a5de5(0x15b)]||{},Object[_0x3a5de5(0x19a)](_0x2bb7ff[_0x3a5de5(0x15b)],{'X-Surge-Skip-Scripting':!0x1})),$httpClient[_0x3a5de5(0x1d5)](_0x2bb7ff,(_0x522720,_0x164a4c,_0x4e4faa)=>{const _0x343353=_0x3a5de5;!_0x522720&&_0x164a4c&&(_0x164a4c['body']=_0x4e4faa,_0x164a4c[_0x343353(0x154)]=_0x164a4c[_0x343353(0x1cb)]?_0x164a4c[_0x343353(0x1cb)]:_0x164a4c[_0x343353(0x154)],_0x164a4c['status']=_0x164a4c['statusCode']),_0x7de74e(_0x522720,_0x164a4c,_0x4e4faa);});break;case _0x3a5de5(0x1b0):this[_0x3a5de5(0x12a)]&&(_0x2bb7ff['opts']=_0x2bb7ff[_0x3a5de5(0x169)]||{},Object[_0x3a5de5(0x19a)](_0x2bb7ff[_0x3a5de5(0x169)],{'hints':!0x1})),$task[_0x3a5de5(0x1c4)](_0x2bb7ff)[_0x3a5de5(0x145)](_0x256b75=>{const {statusCode:_0x1f2f5d,statusCode:_0x1e6c69,headers:_0x39c7ea,body:_0x345a4a,bodyBytes:_0xc55ffe}=_0x256b75;_0x7de74e(null,{'status':_0x1f2f5d,'statusCode':_0x1e6c69,'headers':_0x39c7ea,'body':_0x345a4a,'bodyBytes':_0xc55ffe},_0x345a4a,_0xc55ffe);},_0x25583e=>_0x7de74e(_0x25583e&&_0x25583e[_0x3a5de5(0x12b)]||_0x3a5de5(0x184)));break;case'Node.js':let _0x56f950=require(_0x3a5de5(0x189));this['initGotEnv'](_0x2bb7ff),this[_0x3a5de5(0x166)](_0x2bb7ff)['on'](_0x3a5de5(0x150),(_0x39e248,_0x4402aa)=>{const _0x5133e0=_0x3a5de5;try{if(_0x39e248[_0x5133e0(0x15b)]['set-cookie']){const _0x2f6a81=_0x39e248['headers']['set-cookie'][_0x5133e0(0x196)](this[_0x5133e0(0x1dd)][_0x5133e0(0x146)][_0x5133e0(0x14b)])[_0x5133e0(0x16c)]();_0x2f6a81&&this['ckjar'][_0x5133e0(0x18a)](_0x2f6a81,null),_0x4402aa[_0x5133e0(0x176)]=this[_0x5133e0(0x1bf)];}}catch(_0x287f77){this[_0x5133e0(0x171)](_0x287f77);}})[_0x3a5de5(0x145)](_0x606fc0=>{const _0x1bc24d=_0x3a5de5,{statusCode:_0x4b64c5,statusCode:_0x34678f,headers:_0x23d3d3,rawBody:_0x27f792}=_0x606fc0,_0x5423c0=_0x56f950[_0x1bc24d(0x15c)](_0x27f792,this['encoding']);_0x7de74e(null,{'status':_0x4b64c5,'statusCode':_0x34678f,'headers':_0x23d3d3,'rawBody':_0x27f792,'body':_0x5423c0},_0x5423c0);},_0x4cb160=>{const _0x31136c=_0x3a5de5,{message:_0x511091,response:_0x2bfd95}=_0x4cb160;_0x7de74e(_0x511091,_0x2bfd95,_0x2bfd95&&_0x56f950[_0x31136c(0x15c)](_0x2bfd95['rawBody'],this[_0x31136c(0x1c9)]));});}}[_0x35eeb6(0x1da)](_0x4877a3,_0x582f61=()=>{}){const _0x3e4cab=_0x35eeb6,_0xe06174=_0x4877a3[_0x3e4cab(0x172)]?_0x4877a3[_0x3e4cab(0x172)][_0x3e4cab(0x17b)]():_0x3e4cab(0x1da);switch(_0x4877a3[_0x3e4cab(0x1ad)]&&_0x4877a3[_0x3e4cab(0x15b)]&&!_0x4877a3[_0x3e4cab(0x15b)]['Content-Type']&&!_0x4877a3[_0x3e4cab(0x15b)][_0x3e4cab(0x135)]&&(_0x4877a3['headers'][_0x3e4cab(0x135)]=_0x3e4cab(0x1d4)),_0x4877a3['headers']&&(delete _0x4877a3[_0x3e4cab(0x15b)][_0x3e4cab(0x161)],delete _0x4877a3[_0x3e4cab(0x15b)][_0x3e4cab(0x1bd)]),this['getEnv']()){case _0x3e4cab(0x18c):case'Loon':case _0x3e4cab(0x1ce):case _0x3e4cab(0x1ac):default:this[_0x3e4cab(0x182)]()&&this['isNeedRewrite']&&(_0x4877a3[_0x3e4cab(0x15b)]=_0x4877a3[_0x3e4cab(0x15b)]||{},Object[_0x3e4cab(0x19a)](_0x4877a3[_0x3e4cab(0x15b)],{'X-Surge-Skip-Scripting':!0x1})),$httpClient[_0xe06174](_0x4877a3,(_0x1e3f85,_0x2298a1,_0x5e6d3c)=>{const _0x4ba099=_0x3e4cab;!_0x1e3f85&&_0x2298a1&&(_0x2298a1[_0x4ba099(0x1ad)]=_0x5e6d3c,_0x2298a1[_0x4ba099(0x154)]=_0x2298a1[_0x4ba099(0x1cb)]?_0x2298a1['status']:_0x2298a1[_0x4ba099(0x154)],_0x2298a1[_0x4ba099(0x1cb)]=_0x2298a1[_0x4ba099(0x154)]),_0x582f61(_0x1e3f85,_0x2298a1,_0x5e6d3c);});break;case _0x3e4cab(0x1b0):_0x4877a3['method']=_0xe06174,this['isNeedRewrite']&&(_0x4877a3[_0x3e4cab(0x169)]=_0x4877a3['opts']||{},Object[_0x3e4cab(0x19a)](_0x4877a3[_0x3e4cab(0x169)],{'hints':!0x1})),$task['fetch'](_0x4877a3)[_0x3e4cab(0x145)](_0x55c55b=>{const {statusCode:_0x1784d0,statusCode:_0x1a1cd5,headers:_0x561372,body:_0x586db1,bodyBytes:_0x1838d7}=_0x55c55b;_0x582f61(null,{'status':_0x1784d0,'statusCode':_0x1a1cd5,'headers':_0x561372,'body':_0x586db1,'bodyBytes':_0x1838d7},_0x586db1,_0x1838d7);},_0x4963fe=>_0x582f61(_0x4963fe&&_0x4963fe[_0x3e4cab(0x12b)]||_0x3e4cab(0x184)));break;case _0x3e4cab(0x14e):let _0x25e612=require(_0x3e4cab(0x189));this[_0x3e4cab(0x1b9)](_0x4877a3);const {url:_0x1640b3,..._0x4670e0}=_0x4877a3;this[_0x3e4cab(0x166)][_0xe06174](_0x1640b3,_0x4670e0)['then'](_0x5387ef=>{const _0x4fd4ce=_0x3e4cab,{statusCode:_0x3c6fa9,statusCode:_0x488eb4,headers:_0xdfe1ce,rawBody:_0x51f40e}=_0x5387ef,_0x39b6c7=_0x25e612[_0x4fd4ce(0x15c)](_0x51f40e,this[_0x4fd4ce(0x1c9)]);_0x582f61(null,{'status':_0x3c6fa9,'statusCode':_0x488eb4,'headers':_0xdfe1ce,'rawBody':_0x51f40e,'body':_0x39b6c7},_0x39b6c7);},_0x2cb721=>{const _0x4fe6f0=_0x3e4cab,{message:_0x2d7f1c,response:_0x4236c9}=_0x2cb721;_0x582f61(_0x2d7f1c,_0x4236c9,_0x4236c9&&_0x25e612['decode'](_0x4236c9[_0x4fe6f0(0x18f)],this[_0x4fe6f0(0x1c9)]));});}}[_0x35eeb6(0x174)](_0xc14912,_0x502d0b=null){const _0x435553=_0x35eeb6,_0x40b53d=_0x502d0b?new Date(_0x502d0b):new Date();let _0x95b3ca={'M+':_0x40b53d[_0x435553(0x148)]()+0x1,'d+':_0x40b53d[_0x435553(0x1a7)](),'H+':_0x40b53d[_0x435553(0x18b)](),'m+':_0x40b53d[_0x435553(0x1d0)](),'s+':_0x40b53d[_0x435553(0x158)](),'q+':Math[_0x435553(0x1c5)]((_0x40b53d[_0x435553(0x148)]()+0x3)/0x3),'S':_0x40b53d[_0x435553(0x13d)]()};/(y+)/[_0x435553(0x1a4)](_0xc14912)&&(_0xc14912=_0xc14912[_0x435553(0x12d)](RegExp['$1'],(_0x40b53d['getFullYear']()+'')[_0x435553(0x143)](0x4-RegExp['$1'][_0x435553(0x191)])));for(let _0x2aca60 in _0x95b3ca)new RegExp('('+_0x2aca60+')')[_0x435553(0x1a4)](_0xc14912)&&(_0xc14912=_0xc14912[_0x435553(0x12d)](RegExp['$1'],0x1==RegExp['$1'][_0x435553(0x191)]?_0x95b3ca[_0x2aca60]:('00'+_0x95b3ca[_0x2aca60])[_0x435553(0x143)]((''+_0x95b3ca[_0x2aca60])[_0x435553(0x191)])));return _0xc14912;}[_0x35eeb6(0x138)](_0x148b16){const _0x27e060=_0x35eeb6;let _0x4cadbe='';for(const _0x177770 in _0x148b16){let _0x4eb1e6=_0x148b16[_0x177770];null!=_0x4eb1e6&&''!==_0x4eb1e6&&(_0x27e060(0x1a9)==typeof _0x4eb1e6&&(_0x4eb1e6=JSON['stringify'](_0x4eb1e6)),_0x4cadbe+=_0x177770+'='+_0x4eb1e6+'&');}return _0x4cadbe=_0x4cadbe[_0x27e060(0x16b)](0x0,_0x4cadbe[_0x27e060(0x191)]-0x1),_0x4cadbe;}[_0x35eeb6(0x15e)](_0x46a9d3=_0x127405,_0x3c274c='',_0x3c08b3='',_0x39d8df){const _0x4fe34b=_0x35eeb6,_0x5ad081=_0x116d98=>{const _0x39f997=_0x323c;switch(typeof _0x116d98){case void 0x0:return _0x116d98;case _0x39f997(0x1b1):switch(this[_0x39f997(0x15f)]()){case _0x39f997(0x18c):case'Stash':default:return{'url':_0x116d98};case _0x39f997(0x18d):case _0x39f997(0x1ac):return _0x116d98;case'Quantumult\x20X':return{'open-url':_0x116d98};case'Node.js':return;}case _0x39f997(0x1a9):switch(this[_0x39f997(0x15f)]()){case _0x39f997(0x18c):case _0x39f997(0x1ce):case _0x39f997(0x1ac):default:{let _0x5d083e=_0x116d98['url']||_0x116d98[_0x39f997(0x190)]||_0x116d98[_0x39f997(0x1b4)];return{'url':_0x5d083e};}case _0x39f997(0x18d):{let _0x413af2=_0x116d98[_0x39f997(0x190)]||_0x116d98['url']||_0x116d98[_0x39f997(0x1b4)],_0x5c0959=_0x116d98['mediaUrl']||_0x116d98['media-url'];return{'openUrl':_0x413af2,'mediaUrl':_0x5c0959};}case'Quantumult\x20X':{let _0x294c24=_0x116d98[_0x39f997(0x1b4)]||_0x116d98[_0x39f997(0x151)]||_0x116d98[_0x39f997(0x190)],_0x5bd507=_0x116d98[_0x39f997(0x15a)]||_0x116d98['mediaUrl'],_0x2362dc=_0x116d98[_0x39f997(0x13b)]||_0x116d98[_0x39f997(0x142)];return{'open-url':_0x294c24,'media-url':_0x5bd507,'update-pasteboard':_0x2362dc};}case _0x39f997(0x14e):return;}default:return;}};if(!this[_0x4fe34b(0x13a)])switch(this['getEnv']()){case _0x4fe34b(0x18c):case _0x4fe34b(0x18d):case _0x4fe34b(0x1ce):case _0x4fe34b(0x1ac):default:$notification[_0x4fe34b(0x1da)](_0x46a9d3,_0x3c274c,_0x3c08b3,_0x5ad081(_0x39d8df));break;case _0x4fe34b(0x1b0):$notify(_0x46a9d3,_0x3c274c,_0x3c08b3,_0x5ad081(_0x39d8df));break;case'Node.js':}if(!this['isMuteLog']){let _0xf7fb50=['',_0x4fe34b(0x18e)];_0xf7fb50[_0x4fe34b(0x1ca)](_0x46a9d3),_0x3c274c&&_0xf7fb50['push'](_0x3c274c),_0x3c08b3&&_0xf7fb50[_0x4fe34b(0x1ca)](_0x3c08b3),console['log'](_0xf7fb50[_0x4fe34b(0x1d1)]('\x0a')),this[_0x4fe34b(0x1b2)]=this['logs'][_0x4fe34b(0x1a2)](_0xf7fb50);}}['log'](..._0x194aaf){const _0x2bd645=_0x35eeb6;_0x194aaf[_0x2bd645(0x191)]>0x0&&(this[_0x2bd645(0x1b2)]=[...this[_0x2bd645(0x1b2)],..._0x194aaf]),console[_0x2bd645(0x17d)](_0x194aaf[_0x2bd645(0x1d1)](this[_0x2bd645(0x1d3)]));}[_0x35eeb6(0x171)](_0x29e7fc,_0xea6c38){const _0x2f309c=_0x35eeb6;switch(this[_0x2f309c(0x15f)]()){case _0x2f309c(0x18c):case _0x2f309c(0x18d):case'Stash':case _0x2f309c(0x1ac):case _0x2f309c(0x1b0):default:this[_0x2f309c(0x17d)]('','❗️'+this[_0x2f309c(0x16f)]+_0x2f309c(0x1c0),_0x29e7fc);break;case'Node.js':this[_0x2f309c(0x17d)]('','❗️'+this[_0x2f309c(0x16f)]+_0x2f309c(0x1c0),_0x29e7fc[_0x2f309c(0x1cd)]);}}[_0x35eeb6(0x181)](_0x462494){return new Promise(_0x28eae6=>setTimeout(_0x28eae6,_0x462494));}['done'](_0x210a28={}){const _0x5a803a=_0x35eeb6,_0x1afb8e=new Date()[_0x5a803a(0x188)](),_0x246e2a=(_0x1afb8e-this[_0x5a803a(0x14a)])/0x3e8;switch(this['log']('','🔔'+this[_0x5a803a(0x16f)]+_0x5a803a(0x19d)+_0x246e2a+'\x20秒'),this[_0x5a803a(0x17d)](),this[_0x5a803a(0x15f)]()){case _0x5a803a(0x18c):case _0x5a803a(0x18d):case'Stash':case _0x5a803a(0x1ac):case _0x5a803a(0x1b0):default:$done(_0x210a28);break;case'Node.js':process[_0x5a803a(0x1a1)](0x1);}}}(_0x127405,_0x25adc9);}