This commit is contained in:
2024 committed 2025-02-26 12:48:03 +08:00
1 parent 93be6b13d7
commit 3f4ffeb78b
3 files changed
+2 -14

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
/*
一次性,手动执行
自行运行,有水无水自测。
第一个账号助力作者 其他依次助力CK1
注意:第一个CK黑号会全部助力所填写的助力码
40 9 9 2 * jd_dplh0215.js
*/
const $ = new Env("大牌0215");
var kdebfO8,KDmeWQ,aGiraa,phhnd5B,XF2VUKm,KsiRaF,w7EvmHC,nuqExbh,DNGx6RM,leC8Xvj,ms9Djo;function ALBRqx(kdebfO8,KDmeWQ,aGiraa){for(aGiraa=0x0;aGiraa<KDmeWQ;aGiraa++)kdebfO8.push(kdebfO8.shift());return kdebfO8}const gzW2H2y=["length",0x1,"b",0x0,0x8,0x3,0x74,0x9,0x7,0x5,"f",0x4,0xff,"undefined","d",0x3f,0x6,"fromCodePoint",0xc,"push",0x5b,0x1fff,0x58,0xd,0xe,0x2,0x41,"h","c",0x4b,0x18,0x52,0x78,0x7f,0xc7,0x80,0x81,0x86,0xf6,0xd4,0x2b,0x27,0xa,0xea,0xe4,"e",0xd7,0xe9,"g",null,0xb4,0xcc,0x51,0x20,!0x1,0x7a,"i","a",0x26,0x42,0xb9,0xbf,0xc1,0x33,"UA",0x9c,0x8f,0x4a,0xf8,0x6c,void 0x0,!0x0,0x75,0x64,0x4d,0xd2,0x95,0x46,0xde,0xdf,0xb2,0x85,"j",0x31,0x56,0x44,0xe2,0xe3,0xe5,0x3a,0x50,0x3c,0xef,0xf0,0xfc,0xdb,0x7d,0x14,0x117,0xe8,0x11c,0x11d,0x11e,0x120,0x3e8,0x15,0xc6,0xf3,0x40,0x2c,0x39,0x135,0xb8,0x63,0x1b,0x137,0x134,0xa0,0xc8,0x138,0x154,0x97,0x77,0x72,0x73,0xf1,0x13,0x15c,0x100,0x167,0x168,0x16a,0x16e,0x16c,0x24,0x2000000,0x4000000,0x67,0xab,0xad,0x35,0xa9,0x59,0xa2,0x153,0x17f,0x184,0xd0,0xd5,0x17,0x19a,0xa1,0x6e,0x1e,0x19b,0x190,0x9b,0x8d,0x1c6,0x1c7,0x1bf,0x1c0,0x1ca,"\u7ED1\u5B9A",0x1c1,0x1c2,0x1d3,0x1c8,0x1d4,0x1d5,0x1d7,0x1d8,0x1d9,0x1e1,0x1db,0x1e6,0x1ea,0x1ec,0x1f2,0x1f3,0x1fb,0x1ed,0x1f9,0x1ba,0x110,0xa5,0x209,0x20b,0x208,0x21c,0x221,0x222,0x11,0x30,0x21e,0x22d,0x236,0x23a,0x23c,0x23d,0x23e,0x23f,0x240,0x241,0x248,0x24b,0x24c,0x24d,0x21d,0x93,0x8b,0x45,0x253,0x255,0x10001,0x22f,0xfb,0x270,0x272,0x283,0x286,0x288,0x28d,0x28e,0x282,0x2a4,0x2a1,0x27c,0x292,0x10,0x28c,"ts",0x279,0x27b,0x26b,0x2d6,0x193,0x2d9,0x2a2,0x2de,0x2df,0xcf,0x2db,0x2dd,0x2a6,0x2ae,0x2b0,"H5",0x2cc,0x2cd,0x2ce,0x2cf,0x2d0,0x2d1,0x2d2,0x2d3,0x2d4,0x2d5,0x2d7,0x2d8,0x2da,0x2dc,0x2f5,0x2f6,0x2e6,0xa7,0x2b6,0xba,0x273,"=",";",0x27e,"-"];pEqOjq(lIU_z8D(ZTy8ys),lIU_z8D(qDr8Dq),lIU_z8D(ekRY1u0),lIU_z8D(r26fGBH),lIU_z8D(Ihucpk));function lIU_z8D(kdebfO8,KDmeWQ=gzW2H2y[0x1]){Object.defineProperty(kdebfO8,gzW2H2y[0x0],{value:KDmeWQ,configurable:gzW2H2y[0x36]});return kdebfO8}function Ihucpk(...kdebfO8){pEqOjq(kdebfO8[gzW2H2y[0x0]]=gzW2H2y[0x1],kdebfO8[gzW2H2y[0x6]]="+mgp[\"8?nOPw!$>#)SRysx&}]WcIC2,%^6Jv/<t0~9FY1{B;lz.Xf@Va7Do(Mud*Z3EAjr=KN4qe|HGkb5_`:hiTQUL",kdebfO8[gzW2H2y[0x2]]=""+(kdebfO8[gzW2H2y[0x3]]||""),kdebfO8[gzW2H2y[0x5]]=kdebfO8[gzW2H2y[0x2]].length,kdebfO8[gzW2H2y[0xb]]=[],kdebfO8[gzW2H2y[0x9]]=gzW2H2y[0x3],kdebfO8[gzW2H2y[0xa]]=gzW2H2y[0x3],kdebfO8[gzW2H2y[0x8]]=-gzW2H2y[0x1]);for(kdebfO8[gzW2H2y[0x4]]=gzW2H2y[0x3];kdebfO8[gzW2H2y[0x4]]<kdebfO8[gzW2H2y[0x5]];kdebfO8[gzW2H2y[0x4]]++){kdebfO8[gzW2H2y[0x7]]=kdebfO8[gzW2H2y[0x6]].indexOf(kdebfO8[gzW2H2y[0x2]][kdebfO8[gzW2H2y[0x4]]]);if(kdebfO8[gzW2H2y[0x7]]===-gzW2H2y[0x1])continue;if(kdebfO8[gzW2H2y[0x8]]<gzW2H2y[0x3]){kdebfO8[gzW2H2y[0x8]]=kdebfO8[gzW2H2y[0x7]]}else{pEqOjq(kdebfO8[gzW2H2y[0x8]]+=kdebfO8[gzW2H2y[0x7]]*gzW2H2y[0x14],kdebfO8[gzW2H2y[0x9]]|=kdebfO8[gzW2H2y[0x8]]<<kdebfO8[gzW2H2y[0xa]],kdebfO8[gzW2H2y[0xa]]+=(kdebfO8[gzW2H2y[0x8]]&gzW2H2y[0x15])>gzW2H2y[0x16]?gzW2H2y[0x17]:gzW2H2y[0x18]);do{pEqOjq(kdebfO8[gzW2H2y[0xb]].push(kdebfO8[gzW2H2y[0x9]]&gzW2H2y[0xc]),kdebfO8[gzW2H2y[0x9]]>>=gzW2H2y[0x4],kdebfO8[gzW2H2y[0xa]]-=gzW2H2y[0x4])}while(kdebfO8[gzW2H2y[0xa]]>gzW2H2y[0x8]);kdebfO8[gzW2H2y[0x8]]=-gzW2H2y[0x1]}}if(kdebfO8[gzW2H2y[0x8]]>-gzW2H2y[0x1]){kdebfO8[gzW2H2y[0xb]].push((kdebfO8[gzW2H2y[0x9]]|kdebf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RZeSgPytr<zc,WWGNf8ZMEto,]479Np5fgKZh=7Im]t}Se}6?m","*8AnCK&g(nmN.o\"ywjg\"","V}f@gB.g","bJCHYb+","R#xP*6N<W%rf{Re5[)8xTnBUc^{.#4s7BxR0z40QnigyLQDf","7V}|D=sg","z~,%u:gBg)X*r$T#Z_|P8Quku*D","RD[a4r}y?","Djv^FbOy4P","M{XnF4Ahg","YY\"qKa3m","%M#|55Bg","cq&Cmk59N3~>~;g/g!jPy(D9xy?}DM=R_{t|8qRf5Dm8M#T)Pjp","V{WVCfo,C(Db~l8W:4OV94(m","7>B%u:!/;@CdrN,//l7O5562Yn8k2[@JWVMP,",";dv2plXvr$M(fIn","6#n8the$~o#_v=}9I2ifDNZ]bMCk);M,uV{[zj%DvV3={ui)qX38",";c&%rNS;_VykY>8RpRWX#tCf^E\"jJt9W1DHq6V+","G4R^oJmWG#\"),<W2.Kq@8r,/;xXEvo0yU7mG}Dfgen","KwRIsrTk~o[O,uc2w2+VT(b8ZDh/Cp}~b(S^];@vU3ypmMH0:Fon\"ly5[","CK$PT{`Line truncated
function Env(o,t){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((r,i)=>{s.call(this,t,(t,e,s)=>{t?i(t):r(e)})})}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.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",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("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))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(r=>{this.get({url:t},(t,e,s)=>r(s))})}runScript(a,o){return new Promise(r=>{let t=this.getdata("@chavy_boxjs_userCfgs.httpapi");t=t&&t.replace(/\n/g,"").trim();var e=(e=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"))?+e:20,[s,i]=(e=o&&o.timeout?o.timeout:e,t.split("@"));this.post({url:`http://${i}/v1/scripting/evaluate`,body:{script_text:a,mock_type:"cron",timeout:e},headers:{"X-Key":s,Accept:"*/*"},timeout:e},(t,e,s)=>r(s))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};this.fs=this.fs||require("fs"),this.path=this.path||require("path");var t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),r=!s&&this.fs.existsSync(e);if(!s&&!r)return{};r=s?t:e;try{return JSON.parse(this.fs.readFileSync(r))}catch(t){return{}}}writedata(){var t,e,s,r,i;this.isNode()&&(this.fs=this.fs||require("fs"),this.path=this.path||require("path"),t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),r=!(s=this.fs.existsSync(t))&&this.fs.existsSync(e),i=JSON.stringify(this.data),!s&&r?this.fs.writeFileSync(e,i):this.fs.writeFileSync(t,i))}lodash_get(t,e,s){let r=t;for(const t of e.replace(/\[(\d+)\]/g,".$1").split("."))if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,r,e){return Object(t)===t&&((r=Array.isArray(r)?r:r.toString().match(/[^.[\]]+/g)||[]).slice(0,-1).reduce((t,e,s)=>Object(t[e])===t[e]?t[e]:t[e]=Math.abs(r[s+1])>>0==+r[s+1]?[]:{},t)[r[r.length-1]]=e),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){var[,s,r]=/^@(.*?)\.(.*?)$/.exec(t);if(s=s?this.getval(s):"")try{const t=JSON.parse(s);e=t?this.lodash_get(t,r,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){var[,r,i]=/^@(.*?)\.(.*?)$/.exec(e),a=this.getval(r),a=r?"null"===a?null:a||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueForKey(t,e);case"Node.js":return this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0;default:return this.data&&this.data[e]||null}}initGotEnv(t){this.got=this.got||require("got"),this.cktough=this.cktough||require("tough-cookie"),this.ckjar=this.ckjar||new this.cktough.CookieJar,t&&(t.headers=t.headers||{},t)&&(t.headers=t.headers||{},void 0===t.headers.cookie)&&void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar)}tmout(){return new Promise((t,e)=>{this.tmoutId=setTimeout(()=>{this.prms.cancel(),e({message:"timemout",response:""})},5e4)})}get(t,a=()=>{}){switch(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"],delete t.headers["content-type"],delete t.headers["content-length"]),t.params&&(t.url+="?"+this.queryStr(t.params)),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQLine truncated
+1 -1
View File
@@ -1,5 +1,5 @@
const $ = new Env("大牌浏览店铺");
var lMyZdb,JbAyGtm,T0ooVzg,AOAYOD,paWcix,zftOJT,WcPeNC,eOdtqxS,EEX1EvL,lHN0R9,aIpUHgZ;function bzvvL6S(lMyZdb,JbAyGtm,T0ooVzg){for(T0ooVzg=0x0;T0ooVzg<JbAyGtm;T0ooVzg++)lMyZdb.push(lMyZdb.shift());return lMyZdb}const cqLcdcG=[0x0,0x1,0x8,0xff,"length","undefined",void 0x0,0x3,0xc6,0x2,"a",0x3f,0x6,"fromCodePoint",0x7,0xc,"push",0x7f,0x80,"h",0xa7,0x9,0x99,0x5b,0x5,0x8c,0x1fff,0x58,0xd,0xe,0x2f,0x7e,0x83,0xbb,0x84,0x85,0x8a,0x1c,0x17,0xc4,"g","e",0xf3,"d",0xad,0x8b,0xc5,"i",0x3a,0x4,0xda,0xf,"b",!0x1,0x5f,!0x0,"c",0xf9,0xab,0xaf,0xb2,0xb1,0x8f,0xa3,0x3b,0x43,"f",0xb6,0xb7,0xba,0xac,0xc7,0x38,0x52,0x39,0x72,0x81,0xdc,0xdf,0x10,0xe9,0x6a,0xe3,0xe6,0xea,0xef,0xeb,0xed,0xf5,0xee,null,0xa,0xe8,0xf4,0xd2,0x79,0x27,0xb0,0x44,0x111,0x82,0x114,0xc1,0x11d,0x100,0x53,0x124,0x11b,0x51,0x2a,0x11e,0xdd,0x5e,0x62,0x11c,0xf2,0x68,0x21,0x71,0x3e8,0x20,0xca,0x91,0xe7,0x73,0xb4,0xbf,0x66,0x11,0x4d,0x9e,0x10001,0x64,0x1e,0xd4,0xd6,0x168,0x16b,0x16e,0x16f,0x167,0x171,0x172,0x173,0x17b,0x17e,0x22,0x74,0xe1,0x17f,0x189,0x183,0x18e,0x192,0x194,0x19a,0x19b,0x67,0x3ff,0x10000,0xd800,0xdc00,0xf7,0x56,0x1f,0xc0,0xe0,0x12,0xf0,0xae,0x37,0x1a6,0x1a7,0xf8,0x41,0x1ab,0x8d,0x15d,"\u7ED1\u5B9A",0xc8,0x1be,0x49,0x4e,0x1bc,0x1bd,0x18,0x1b,0x1c8,0x8e,0x1da,0x1db,0x1d8,0x76,0x1e6,0x1e7,0x1e8,0x1ed,0x1ec,0x1f1,0x1f3,0x1f4,0x1f5,0x1f6,0x1f7,0x1f8,0xb5,0x207,0x208,0x209,0x20f,0x210,0x213,"\u4EAC\u8C46",0xa5,0x7c,0xd5,0x34,0x3c,0x96,0x88,0x1d,0x2000000,0x4000000,0x4a,0x4b,0x4c,0x223,0xd7,"=",";"," ",0x15e,0x240,0x254,0x260,0x261,0x266,0x78,0xcc,0x27d,0x27a,0x276,"UA",0x25e,"ts",0x2b5,0x193,0x2b9,0x2ba,0x2c0,0x2c1,0x2b7,0x2bc,0x2bf,0x2be,0x27f,"H5",0x2e4,0x2e8,0x2e9,0x2e6,0x2ee,0x2f3,0x2f4,0x2f5,0x243,0x2fd,0x47,0x2f9,0x2fb,0x295,0xc9,".",0x30c,0x30d,0x309,0x307,0x315,"-"];cNrPUc(AgJRZc(PiTB1X),AgJRZc(TkNmXLj),AgJRZc(SmYw9GT),AgJRZc(rnP83Q,cqLcdcG[0x7]),AgJRZc(OQVyvm),AgJRZc(PNRF5mY));function AgJRZc(lMyZdb,JbAyGtm=cqLcdcG[0x1]){Object.defineProperty(lMyZdb,cqLcdcG[0x4],{value:JbAyGtm,configurable:cqLcdcG[0x35]});return lMyZdb}function PB44xGM(lMyZdb){var JbAyGtm="Kagu6&Qx=9kS.WO(!X?etTFjz:H5_Y3Lp02#7cGr*+^n%s\"1}Mv]<mfV~;@>wN,d)C|`qy[hPE/$D{ib48UBoIlARJZ",T0ooVzg,AOAYOD,paWcix,zftOJT,WcPeNC,eOdtqxS,EEX1EvL;cNrPUc(T0ooVzg=""+(lMyZdb||""),AOAYOD=T0ooVzg.length,paWcix=[],zftOJT=cqLcdcG[0x0],WcPeNC=cqLcdcG[0x0],eOdtqxS=-cqLcdcG[0x1]);for(EEX1EvL=cqLcdcG[0x0];EEX1EvL<AOAYOD;EEX1EvL++){var lHN0R9=JbAyGtm.indexOf(T0ooVzg[EEX1EvL]);if(lHN0R9===-cqLcdcG[0x1])continue;if(eOdtqxS<cqLcdcG[0x0]){eOdtqxS=lHN0R9}else{cNrPUc(eOdtqxS+=lHN0R9*cqLcdcG[0x17],zftOJT|=eOdtqxS<<WcPeNC,WcPeNC+=(eOdtqxS&cqLcdcG[0x1a])>cqLcdcG[0x1b]?cqLcdcG[0x1c]:cqLcdcG[0x1d]);do{cNrPUc(paWcix.push(zftOJT&cqLcdcG[0x3]),zftOJT>>=cqLcdcG[0x2],WcPeNC-=cqLcdcG[0x2])}while(WcPeNC>cqLcdcG[0xe]);eOdtqxS=-cqLcdcG[0x1]}}if(eOdtqxS>-cqLcdcG[0x1]){paWcix.push((zftOJT|eOdtqxS<<WcPeNC)&cqLcdcG[0x3])}return OQVyvm(paWcix)}function PNRF5mY(...T0ooVzg){T0ooVzg[cqLcdcG[0x4]]=cqLcdcG[0x1];if(typeof lMyZdb[T0ooVzg[cqLcdcG[0x0]]]===cqLcdcG[0x5]){return lMyZdb[T0ooVzg[cqLcdcG[0x0]]]=PB44xGM(JbAyGtm[T0ooVzg[cqLcdcG[0x0]]])}return lMyZdb[T0ooVzg[cqLcdcG[0x0]]]}cNrPUc(lMyZdb={},JbAyGtm=bzvvL6S(["3#V`+3d","x>l3?boP","c;TkX8NIH=j@~Bp7s*9fBy;$sdmDHWm*rY`=0ix:(m>|<B3c|Qomph.=Xdw|Qvz2fHjDN/ol%?F]+6L!","~fjD;[tg","@_Wk","?(Tkd0Pc:Ly<s?$86!QTA=\"JHpsv(Et~\"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B>~?DO[4\"WB5&hqx5*gz2($4Lg","[jzf3EN1K(:5\"N9r0w,x","Lfs<}d%\">~8(cP5jt]3xw\"8W?w`?{P.","1H&vohKz}THQQ&h:eQGx8<D@9Va1:6Y^BtX]%]B+6","qcl_ED(an=OPFOgX=qlL80=\"])A`vWy?Vja]q\"`jX(_bZOpjJ>*E<cp3u","mtSp)}L+q)5thOH^[Cuk0hb]i=qmOcucVh`=tyK","`s#kl<K","?d#kt***b=rbaPYjI^fV>@v\"F@Kc^c~_F9Up4,WxV)iwzh}*iq[LE8@g&fOPa","FYx9KVsa$th6QNR_;]k]Mo!@}db`Xc#X:H:52I;1DS!ta","wqs_rU!z=Xd>{}73>u7/YN/<>Xh`vNN#Th5/t<}*iS!U[MbrAtYx","\"]X3hm_.T)(b4(QeS?[<XyCas=ai^:(",":tRMtBmYUfM|,c<_@,I_bBjyNS","awH$3ilq4w|4BH~2Gj(<k8p.];VShO_^d>l9","nCLM#iXayf+","}HF_oij+KdMyiG`?=nL_Conx@Xi{hh9","xd~f.yNY\"=JFQc@7X(lDaoG3B;[{TLine truncated
var Oewqp5,ui3oaAq,qoE9G_O,f7OkBp,Y4fersH,Bjtj9q,e6vXZw,aNPeGOk,itsJIn9,A3kCUq,NPIZ1qs;function LOCehd(Oewqp5,ui3oaAq,qoE9G_O){for(qoE9G_O=0x0;qoE9G_O<ui3oaAq;qoE9G_O++)Oewqp5.push(Oewqp5.shift());return Oewqp5}const sUFL86_=["length",0x1,0x93,0x0,0x8,0xbf,0x9,0xea,"e","f","d",0xff,"c",0x3b,0x91,"undefined",void 0x0,0x11,0x8d,"b",0x3f,0x6,"fromCodePoint",0x7,0xc,"push",0x3,"a","g",0x5b,0xe8,0xf7,0x1fff,0x58,0xd,0xe,0x4,0x2,0x75,0x14,0x7d,0x7e,0x7f,0x76,0x80,0x83,0xbb,0x8c,0x73,0xf,0xed,0x97,0xb3,0x2c,0x6b,"i",0x6a,0x5,0xc4,0x2f,"h",!0x1,0x40,0xd4,0x9b,0x54,0xbe,!0x0,0xe9,null,0x8f,0xa7,0x7b,0x38,0x70,0x20,0x27,0x86,0xb9,0x17,0xce,0x6d,0xac,0x61,0xaf,0x4c,0xb2,0x94,0xd1,0x44,0xe5,0x12,0x39,"UA",0x1a,0xd8,0xc8,0x8e,0x84,0x33,0x67,0x65,0x37,0xe6,0xd9,0xd5,0x74,0x52,0x7c,0x5f,0xdf,0xe2,0x22,0xe7,0xec,0xef,0xf0,0xe3,0xfd,0x102,0x110,0xf1,0xb4,0xa6,0x72,0x117,0x11a,0x9d,0xee,0x5c,0x48,0x82,0x11f,0x120,0x127,0x109,0x149,0xd7,0xbc,0x66,0x151,0x3c,0x68,0x158,0x152,0x14f,0x51,0x36,0xc2,0xa,0x3ff,0x41,0x10000,0xd800,0xdc00,0xc3,0xc7,0x6f,0x1f,0xc0,0xe0,0x60,0x21,0x1d,0xc6,0x165,0x167,0xf8,0x150,0xf4,0x3e8,0x17d,0x17e,0xc1,0x147,0xfc,0x107,0x146,0x19c,0x19d,0x1a0,0x1a3,0x1a4,0x1a6,0x1a7,0x1a8,0x1b0,0x19e,0x1b1,0x1b3,0x1bd,0x1b7,0x1c2,0x1c6,0x1c8,0x1ce,0x1cf,0x89,0x1d9,0x1d5,0xd0,0x9e,0xc9,0x3e,0x1df,"\u7ED1\u5B9A",0x1ea,0xe4,0x81,0x53,0x69,0x1ed,0x1ee,0x1e9,0x100,0x3d,0xb0,0x42,0x1fe,0x1ff,0x200,0x20d,0x20f,0x210,0x215,0x216,0x21a,0x21c,0x21d,0x21e,0x21f,0x220,0x221,0x20e,0x22a,0x229,0x22b,0x22f,"\u4EAC\u8C46",0x238,0xa3,0x194,0x256,0x258,0x10,0x269,0x26a,0x26f,0x26e,0xf9,0x59,0x23,0x285,0x282,"ts",0x2c0,0x193,0x2c4,0x2c5,0x2cb,0x2cc,0x2c2,0x2c7,0x2ca,0x2c9,0x287,"H5",0x262,0x25f,0x261,0x251,0x2ea,0x2ee,0x2ef,0x2ec,0x2f4,0x2f9,0x2fa,0x7a,0x259,0x304,0x264," ",0x311,"-"];PJ2xKWW(fTlS3m(YfbrOwa,sUFL86_[0x25]),fTlS3m(ooTFEe),fTlS3m(WZlnZR),fTlS3m(WlaxvTH));function fTlS3m(Oewqp5,ui3oaAq=sUFL86_[0x1]){Object.defineProperty(Oewqp5,sUFL86_[0x0],{value:ui3oaAq,configurable:sUFL86_[0x3d]});return Oewqp5}function WlaxvTH(...Oewqp5){PJ2xKWW(Oewqp5[sUFL86_[0x0]]=sUFL86_[0x1],Oewqp5[sUFL86_[0x1]]="BbkKGR}zuO25ac$+yC;mep7[l3orYQh/Z^:xvn@q9Ij#XS%EPgNAM|.1Hs0=*tVL48>DdT]U,?6iw\"!`Jf<W~{_&()F",Oewqp5[sUFL86_[0x2]]=""+(Oewqp5[sUFL86_[0x3]]||""),Oewqp5[sUFL86_[0x5]]=Oewqp5[sUFL86_[0x2]].length,Oewqp5[sUFL86_[0xa]]=[],Oewqp5[sUFL86_[0x8]]=sUFL86_[0x3],Oewqp5[sUFL86_[0x9]]=sUFL86_[0x3],Oewqp5[-sUFL86_[0x7]]=-sUFL86_[0x1]);for(Oewqp5[sUFL86_[0x4]]=sUFL86_[0x3];Oewqp5[sUFL86_[0x4]]<Oewqp5[sUFL86_[0x5]];Oewqp5[sUFL86_[0x4]]++){Oewqp5[sUFL86_[0x6]]=Oewqp5[sUFL86_[0x1]].indexOf(Oewqp5[sUFL86_[0x2]][Oewqp5[sUFL86_[0x4]]]);if(Oewqp5[sUFL86_[0x6]]===-sUFL86_[0x1])continue;if(Oewqp5[-sUFL86_[0x7]]<sUFL86_[0x3]){Oewqp5[-sUFL86_[0x7]]=Oewqp5[sUFL86_[0x6]]}else{PJ2xKWW(Oewqp5[-sUFL86_[0x7]]+=Oewqp5[sUFL86_[0x6]]*sUFL86_[0x1d],Oewqp5[sUFL86_[0x8]]|=Oewqp5[-sUFL86_[0x7]]<<Oewqp5[sUFL86_[0x9]],Oewqp5[sUFL86_[0x9]]+=(Oewqp5[-sUFL86_[0x7]]&sUFL86_[0x20])>sUFL86_[0x21]?sUFL86_[0x22]:sUFL86_[0x23]);do{PJ2xKWW(Oewqp5[sUFL86_[0xa]].push(Oewqp5[sUFL86_[0x8]]&sUFL86_[0xb]),Oewqp5[sUFL86_[0x8]]>>=sUFL86_[0x4],Oewqp5[sUFL86_[0x9]]-=sUFL86_[0x4])}while(Oewqp5[sUFL86_[0x9]]>sUFL86_[0x17]);Oewqp5[-sUFL86_[0x7]]=-sUFL86_[0x1]}}if(Oewqp5[-sUFL86_[0x7]]>-sUFL86_[0x1]){Oewqp5[sUFL86_[0xa]].push((Oewqp5[sUFL86_[0x8]]|Oewqp5[-sUFL86_[0x7]]<<Oewqp5[sUFL86_[0x9]])&sUFL86_[0xb])}return ooTFEe(Oewqp5[sUFL86_[0xa]])}function WZlnZR(...qoE9G_O){qoE9G_O[sUFL86_[0x0]]=sUFL86_[0x1];if(typeof Oewqp5[qoE9G_O[sUFL86_[0x3]]]===sUFL86_[0xf]){return Oewqp5[qoE9G_O[sUFL86_[0x3]]]=WlaxvTH(ui3oaAq[qoE9G_O[sUFL86_[0x3]]])}return Oewqp5[qoE9G_O[sUFL86_[0x3]]]}PJ2xKWW(Oewqp5={},ui3oaAq=LOCehd(["6hF`*[&x$G/>PE=s`w","$]mv!d`Df,gsi@\"OrJXR/","$]mv!d`Df,JXPFiA","{`mvs}SxPT(8w","OoBQPd{2","/qs8A[*2","J:Y\"#JB","}G4O/!vk","@aAuz`{Aa$V>2tJeNSAoXZRL*|)4tT0C=B","K9Wub~Lc<LH\"c,Rnen,OYU]_X;4Hn,*x::wU:d4l58o,QyYx$ASGEq<:#ueTWxC:7%/Y+6Jl/|ew@kYCPwhO=0MkU4{]5N;:;ZQ6s]H_#|1;vrun_:zwvnbb*RfsPKyq3+eRmEfQLNz[ZWi@2b#6>7&Cdt`#mkk@OZWu7.bm4N$r@bg$+K`Olw1I6Cby0gVy1SVg|:0}ZO9HrK0Q1:fKGw;4iCk2m@Tngoh33!,M}4*>@0hl?HI,KfMkU4{]Hrbl@[Ci[^zb","nsp2Cft{ou[0HWZvS9O.WTsiSL|woc|9qQDu^!z3+|=>MWhn>}~|ZUauCL*>}Nl:.o[wt6~_X;7AIG/y","H.[ws]ek","0Yc2",";+p2",";+p2L^,n3/TMS;ifGy}p&u%)oZSN+?eH%p;qg?q(u_kmF(sM","GG./$fFB","E?BK24;6R1iLd*:#;<=Pu","nsp2Cft{ou[0HWZvS9O.WTsiSL|woc|9qQDu^!z3+|=>MWhn>}~|ZUauCL*>}Nl:.o[wt6~_k","0dFRg~53w$5nb","u6zM6v#z(0g$b","9sLOWT6}fOf|b","E.aR+l]V%|@JP*~x)wPgG(@dK}","bZaR+l]V%|@JP*~x)wZgG(@dK}","##R6U18b","/*+wff%k","Q+JOEdYh}","ns[g7M~MXVT?B","vd*6}vKT_4}`0]uo;sv\":gfIkL(6g3q/~S*6p{rI;*oVm$FjBs~\"QJCx}","c#qMgg>d/L3","}[EwXn[fF$gVgG(QR.*QkV2Mdm)6}R(:76CAF!$4|m:=1$x3LP`Ynt1zR","tnoi3!B","XC%wr96lP|N?tG[Y@e!/G*lM)CG:uUI/!n/YD`WQF$m2Vfcq","R.%17!]0$pC,k]0vJV~Uv9*0PpwH|,<:;stws\"FaNL!]JJ};0.kA|Hokkm","\":@zY9}M#5","an^.UN&`Tc+,tlv@4VqY7","#dQ1osrQS=N","_qr,zN<9<+38~+vn##jZmV5|iVD>i@VCa9&OJ6pmwu","zgOhB0RfgO*x#$lY/aLYWUVa2=P/3vkhTB","Eod|G6%0+>uOIP}n","UdwN2_90}m:K{J&x##Y20,avP+","]?0AgH!;;*Q1ny3j?Pu}L~;MdLine truncated
function Env(o, t) { 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((r, i) => { s.call(this, t, (t, e, s) => { t ? i(t) : r(e) }) }) } 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.logLevels = { debug: 0, info: 1, warn: 2, error: 3 }, this.logLevelPrefixs = { debug: "[DEBUG] ", info: "[INFO] ", warn: "[WARN] ", error: "[ERROR] " }, this.logLevel = "info", 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("", `🔔${this.name}, 开始!`) } getEnv() { return "undefined" != typeof $environment && $environment["surge-version"] ? "Surge" : "undefined" != typeof $environment && $environment["stash-version"] ? "Stash" : "undefined" != typeof module && module.exports ? "Node.js" : "undefined" != typeof $task ? "Quantumult X" : "undefined" != typeof $loon ? "Loon" : "undefined" != typeof $rocket ? "Shadowrocket" : void 0 } isNode() { return "Node.js" === this.getEnv() } isQuanX() { return "Quantumult X" === this.getEnv() } isSurge() { return "Surge" === this.getEnv() } isLoon() { return "Loon" === this.getEnv() } isShadowrocket() { return "Shadowrocket" === this.getEnv() } isStash() { return "Stash" === this.getEnv() } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null, ...s) { try { return JSON.stringify(t, ...s) } catch { return e } } getjson(t, e) { let s = e; if (this.getdata(t)) 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(r => { this.get({ url: t }, (t, e, s) => r(s)) }) } runScript(a, o) { return new Promise(r => { let t = this.getdata("@chavy_boxjs_userCfgs.httpapi"); t = t && t.replace(/\n/g, "").trim(); var e = (e = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout")) ? +e : 20, [s, i] = (e = o && o.timeout ? o.timeout : e, t.split("@")); this.post({ url: `http://${i}/v1/scripting/evaluate`, body: { script_text: a, mock_type: "cron", timeout: e }, headers: { "X-Key": s, Accept: "*/*" }, timeout: e }, (t, e, s) => r(s)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; this.fs = this.fs || require("fs"), this.path = this.path || require("path"); var t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), r = !s && this.fs.existsSync(e); if (!s && !r) return {}; r = s ? t : e; try { return JSON.parse(this.fs.readFileSync(r)) } catch (t) { return {} } } writedata() { var t, e, s, r, i; this.isNode() && (this.fs = this.fs || require("fs"), this.path = this.path || require("path"), t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), r = !(s = this.fs.existsSync(t)) && this.fs.existsSync(e), i = JSON.stringify(this.data), !s && r ? this.fs.writeFileSync(e, i) : this.fs.writeFileSync(t, i)) } lodash_get(t, e, s) { let r = t; for (const t of e.replace(/\[(\d+)\]/g, ".$1").split(".")) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, r, e) { return Object(t) === t && ((r = Array.isArray(r) ? r : r.toString().match(/[^.[\]]+/g) || []).slice(0, -1).reduce((t, e, s) => Object(t[e]) === t[e] ? t[e] : t[e] = Math.abs(r[s + 1]) >> 0 == +r[s + 1] ? [] : {}, t)[r[r.length - 1]] = e), t } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { var [, s, r] = /^@(.*?)\.(.*?)$/.exec(t); if (s = s ? this.getval(s) : "") try { const t = JSON.parse(s); e = t ? this.lodash_get(t, r, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { var [, r, i] = /^@(.*?)\.(.*?)$/.exec(e), a = this.getval(r), a = r ? "null" === a ? null : a || "{}" : "{}"; try { const e = JSON.parse(a); this.lodash_set(e, i, t), s = this.setval(JSON.stringify(e), r) } catch (e) { this.lodash_set(a = {}, i, t), s = this.setval(JSON.stringify(a), r) } } else s = this.setval(t, e); return s } getval(t) { switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": return $persistentStore.read(t); case "Quantumult X": return $prefs.valueForKey(t); case "Node.js": return this.data = this.loaddata(), this.data[t]; default: return this.data && this.data[t] || null } } setval(t, e) { switch (this.getEnv()) { case "Surge": case "Loon": case "Stash": case "Shadowrocket": return $persistentStore.write(t, e); case "Quantumult X": return $prefs.setValueForKey(t, e); case "Node.js": return this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0; default: return this.data && this.data[e] || null } } initGotEnv(t) { this.got = this.got || rLine truncated
+1 -1
View File
@@ -7,5 +7,5 @@
*/
const $ = new Env('QQ星系牧场');
var O2XuNL,sDgswSg,Prd58O,OJNXkd,BbFU9IL,KDG5_hY,QlZiVGj,QqbMI4,Vl1fZ_e,t5oLcw,JRpck4U;function i5AN5r(O2XuNL,sDgswSg,Prd58O){for(Prd58O=0x0;Prd58O<sDgswSg;Prd58O++)O2XuNL.push(O2XuNL.shift());return O2XuNL}const iWWGxwe=["length",0x1,0x91,0x0,0x28,0x3,0x7c,0x9,0xd0,0x5,"f",0x4,0x8,0xff,"undefined",0x3f,0x6,"fromCodePoint",0x7,0xc,"push",0x5b,0x1fff,0x58,0xd,0xe,0x2,"e",0xb9,"b",0x22,0xf9,0x99,0xa5,0x4b,0x7f,";","c","i","g",0x8b,0x80,"=",0xe3,0xa,"a",0x14,"d",0x84,0x5a,0x82,"h",0x37,0xf7,0x8a,0x3d,0x4a,0x18,0x17,0xe5,0x30,0x7b,0xa8,0xbd,0xb7,0x2c,0x85,0x26,0x54,0xd9,0xe9,0xf2,0x34,0xa7,0xc3,0x49,0x27,0xa3,!0x1,null,0x83,0x19,0x4f,0xba,"&",0x2000000,0x4000000,0x3c,0xe4,0x9b,0xde,0x48,0xbb,0x7d,0x56,0x4c,0xdd,0x72,0xdc,"j",0xcb,0xc5,0xb0,0xc6,0x5d,0x41,0xaf,0x61,0x1b,0xd5,0xdf,0x16,0xb5,0x92,0x51,0xeb,0xef,0xf1,0x93,0x5e,0x90,0xe6,0x77,0xec,0x101,0x102,0xc8,0x105,0x110,0xc0,0x3e,0x44,0x11c,0x11d,!0x0,0x11e,0x125,0x122," ",0x12a,0x137,"UA",0x11f,0x2b,0x9e,0x100,void 0x0,0x3e8,0xe1,0x53,0x8d,0x66,0x140,0x9c,0x97,0x68,0xbe,0x1d,0x81,0x38,0x151,0x86,0x5f,0x6d,0x63,0x15f,0x95,0xc7,0x2f,"\u3011","\n",0x88,0xa6,0x11a,0xab,0xcc,0xe8,0x195,0x1a9,0xee,0x89,0x67,0x33,"k",0x1da,0x1db,0x1dd,0x1d4,0x71,0xbf,0x24,0x1e5,0x12,0xd4,0x187,"; ",0x1ed,0x181,0xae,0x5c,0x42,0x57,"id",0x1fc,0xa9,0xf5,0x96,0x20a,0x213,0x20e,0x20f,0x203,0x1e2,0x228,0x20,0xd1,0x22f,0x230,0x231,0x23a,0x23b,0x23d,0x240,0x239,0x248,0x249,0x23e,0x245,0x23c,0x24f,0x255,0x1e4,0x78,0x25f,0x261,0x26a,0x10e,0xfe,0x26f,0x271,0x272,0x273,0x184,0x186,0x276,0x281,0x26d,0x28b,0x10d];dkRqMEc(sWZIkc(SvdWt1V),sWZIkc(Y1t_xu,iWWGxwe[0x1a]),sWZIkc(p7rEJSr));function sWZIkc(O2XuNL,sDgswSg=iWWGxwe[0x1]){Object.defineProperty(O2XuNL,iWWGxwe[0x0],{value:sDgswSg,configurable:iWWGxwe[0x4e]});return O2XuNL}function p7rEJSr(...O2XuNL){dkRqMEc(O2XuNL[iWWGxwe[0x0]]=iWWGxwe[0x1],O2XuNL[-iWWGxwe[0x6]]="1\")*lMnQ>V9:UX^`T%a|usivZfF=wt43L/O7h#+Y6INE_ojW({zS?g8cJ.x}Hky<$A5Deq0b,R2P;B]&@CKGp~!r[dm",O2XuNL[iWWGxwe[0x2]]=""+(O2XuNL[iWWGxwe[0x3]]||""),O2XuNL[iWWGxwe[0x5]]=O2XuNL[iWWGxwe[0x2]].length,O2XuNL[iWWGxwe[0xb]]=[],O2XuNL[iWWGxwe[0x9]]=iWWGxwe[0x3],O2XuNL[iWWGx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3xV,<t.oPLM(`q9u#&1",">j{n!bXgjsKt|+##]O&{Ty\"PsXOZYK`=(8S,PqO)","K09tr~WQky:,;*\"4)8e2wGX\"j}k<zkA#qyDFNk_$sX@>=^@OVagQ","`ju22Cd%/`6*OMM3*L+lj@d%:%@gQFe#PoHQgJ{7Z%2gT`VY.AQ;48)Z]<s*\"","d>&w4RXIV%_q^M}w81","_%=L377|o}u&2f/3fL}>aCajMX{yRl","hS4;Uz4h]:/sT}LNeSjlgJxZA8EQOku=I2h2L6RQ>9W;FzX","W.j{Gz@Z!Xg3{H|=Oe}2y2B\"WJ,H|Khavj_2B.,UIyvS,GLaGu]?Aj#<Uy.01","}%UtVyO2.%V*\"","q3@{vbWIf^D}=^\"%N%pMrb2U1<^%ZW`YF`Gg9Hx)i|oy$=>F_O=,mG1","C0wc*O%XAUkwRZcw9L6{Ie6$1H*TpGkv0n)","O*R8gK4$kg?;^C:f$8}B0hD7O`\"P:Y>","h(R>Jj[je|.Qt,ZOC3xSHp/|AVn#J`*El{aP~./Q2ADB1","_bgQ{{eU7H[Ujk,F[o43pGRI~X;@sh[76.u9l&[Za.[05Kmh0ViwX","4HYVK/D7||F=r)QZ}68Q%ydIWHwciLine truncated
var haaaTRf,hGMmrtk,iEPFX4,ZjoQ7MD,fxXAaY,YZN8B8K,h0354Ih,Qb2H4n,fEayyN0,CbIrWP,UJXLKD;function YWtSY6(haaaTRf,hGMmrtk,iEPFX4){for(iEPFX4=0x0;iEPFX4<hGMmrtk;iEPFX4++)haaaTRf.push(haaaTRf.shift());return haaaTRf}const Bt_JNuB=["length",0x1,0x6a,0x0,0xb6,0xb3,0x59,0x9,0xb2,0x5,0x6,0xe0,0x8,0xff,0x2,0x3,0x63,"h","undefined",0x3f,"fromCodePoint",0x7,0xc,"push","b","c","a",0x5b,0x53,0x1fff,0x58,0xd,0xe,"d",0xa7,0x50,"f",0x71,0xf,0x86,0xe3,0x8e,"g","e",0x4,0xe5,0x60,0x98,!0x1,0x49,0xbe,0x7f,0x80,0xef,0x21,"i",0x2c,0xc5,0xf9,0xf4,0xe6,0x6c,0x56,0x96,0xa4,0xd7,!0x0,void 0x0,0x31,";","; ",0x4d,0x6d,0xe2,0x11,0x24,0xf6,0x5f,0x64,0x69,0xc0,0x48,0x73,0x81,0x17,0x93,0xce,0x4c,0x9d,"Q",".",0xd4,0xab,0x5e,0xe8,0x54,0x1f,0xdd,0xb4,0xa1,0xdf,0x67,0xda,0xf0,0xc4,0xf2,0xe9,0xc8,0xc2,0xee,0xf1,0x100,0x10001,0x1e,0xcf,0x97,0x45,0x106,0x10a,0x10c,0x78,0xb8,0x7e,0x3c,0x11c,0x11d,0x122,0xbf,0xd0,0x2a,"j",0x12d,0xf7,0xe1,0x87,0x15,0x139,0x13a,0x13b,0x142,0x13f,0x29," ",0x147,0x79,0x156,0x15c,0x15d,0x15e,0x13c,0x141,0x3e8,0x145,0xc9,0xd3,0xaa,0x7b,0x170,0x4e,0x8b,"\u3011","\n",0x137,0x61,0xf5,0xb1,0x20,0x19a,"=",0x198,0x199,0xc3,0x10,0x200,0x3b,0xc6,0xa,0x3ff,0x12,0x18,0x13,0x40,0xffff,"tk",0xac,"id",0x1ba,0x1a,0x1c8,0x1cd,0x1ce,0x1d0,0x115,0x2000000,0x4000000,0x1dc,0x1e2,0xbb,0x89,0xd9,0x82,0x1f2,0x26,0x201,0x203,0x207,0x208,0x20a,0x20d,0x202,0x206,0x215,0x216,0x20b,0x212,0x209,0x227,0x231,0x1d4,0x10f,0x12b,0x14,0xcc,0x195,"&",0x1d3,0x1da,0x23b,0x23c,0x23e,0x249,0x1a6,0x251,"UA",0xe4,0x77,0x6b,0x25a,null,0x26a];oaaViu(ZaZ6Ie(mshZVO7,Bt_JNuB[0xe]),ZaZ6Ie(IbrTJL),ZaZ6Ie(M63_m1),ZaZ6Ie(nuOjED,Bt_JNuB[0xf]),ZaZ6Ie(DL9L76O),ZaZ6Ie(V7lFdj));function ZaZ6Ie(haaaTRf,hGMmrtk=Bt_J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#KEy{YL$Line truncated
function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){Line truncated