chore: sync core to core.lib

This commit is contained in:
手瓜一十雪 committed 2024-05-02 21:42:13 +08:00
1 parent 76a9edb7f5
commit 8ae0d07ec1
46 files changed
+62 -43

No files matched your search

+1 -1
View File
@@ -1 +1 @@
const _0xc785de=_0x1287;(function(_0x10530e,_0x449f9b){const _0xcfa018=_0x1287,_0x325480=_0x10530e();while(!![]){try{const _0x4b1a23=-parseInt(_0xcfa018(0x134))/0x1+parseInt(_0xcfa018(0x152))/0x2*(parseInt(_0xcfa018(0x11b))/0x3)+parseInt(_0xcfa018(0x10e))/0x4+parseInt(_0xcfa018(0x159))/0x5*(parseInt(_0xcfa018(0x133))/0x6)+parseInt(_0xcfa018(0x112))/0x7+parseInt(_0xcfa018(0x119))/0x8+-parseInt(_0xcfa018(0x144))/0x9;if(_0x4b1a23===_0x449f9b)break;else _0x325480['push'](_0x325480['shift']());}catch(_0x2536b4){_0x325480['push'](_0x325480['shift']());}}}(_0x2e34,0xcfe24));import{selfInfo}from'@/core/data';import{NTQQUserApi}from'./user';function _0x1287(_0x3b1db6,_0x2c26f5){const _0x2e34b0=_0x2e34();return _0x1287=function(_0x1287b9,_0x251e47){_0x1287b9=_0x1287b9-0x10e;let _0x51ff04=_0x2e34b0[_0x1287b9];return _0x51ff04;},_0x1287(_0x3b1db6,_0x2c26f5);}export class WebApi{static async[_0xc785de(0x13f)](_0x24042c,_0x468869){const _0x3d0692=_0xc785de,_0x14f99c={'KyTFa':'qun.qq.com','sybdz':function(_0x56343d,_0x5d2f06){return _0x56343d+_0x5d2f06;},'XcDuQ':function(_0x475532,_0x5673b1){return _0x475532+_0x5673b1;},'REBgR':_0x3d0692(0x114),'lNGvV':_0x3d0692(0x136),'ZaqXK':_0x3d0692(0x14c),'eWKuW':';\x20uin=o','Ujppj':function(_0x463e21,_0xc372bb){return _0x463e21||_0xc372bb;},'JwfsS':function(_0x25a9f6,_0x260c0d){return _0x25a9f6+_0x260c0d;},'KrPaE':function(_0xec457f,_0x4b884e){return _0xec457f+_0x4b884e;},'YCFad':_0x3d0692(0x13a),'rStvx':_0x3d0692(0x137),'mcxLX':_0x3d0692(0x16a),'yFhiL':function(_0x1f3ca5,_0x5f5b0e){return _0x1f3ca5!==_0x5f5b0e;}},_0x200c27=(await NTQQUserApi['getPSkey']([_0x3d0692(0x145)]))[_0x14f99c[_0x3d0692(0x13d)]],_0x47f49d=await NTQQUserApi[_0x3d0692(0x16e)](),_0x4946f2=_0x14f99c[_0x3d0692(0x15b)](_0x14f99c[_0x3d0692(0x161)](_0x14f99c['sybdz'](_0x14f99c['REBgR']+_0x200c27+_0x14f99c['lNGvV'],_0x47f49d),_0x14f99c[_0x3d0692(0x148)]),selfInfo[_0x3d0692(0x14b)])+_0x14f99c[_0x3d0692(0x163)]+selfInfo['uin'];if(_0x14f99c[_0x3d0692(0x12a)](!_0x47f49d,!_0x200c27))return undefined;const _0x50e9c9=WebApi[_0x3d0692(0x177)](_0x47f49d);let _0x5b181e=_0x14f99c[_0x3d0692(0x161)](_0x14f99c['XcDuQ'](_0x14f99c[_0x3d0692(0x117)](_0x14f99c[_0x3d0692(0x12e)](_0x14f99c[_0x3d0692(0x16f)],_0x50e9c9),_0x14f99c[_0x3d0692(0x129)]),_0x24042c)+_0x14f99c[_0x3d0692(0x12f)],_0x468869)+_0x3d0692(0x166),_0x27ef25=await WebApi[_0x3d0692(0x162)](_0x5b181e,'GET','',_0x4946f2);if(_0x14f99c[_0x3d0692(0x14e)](_0x27ef25[_0x3d0692(0x126)],0x0))return undefined;return _0x27ef25;}static async[_0xc785de(0x13c)](_0x309420){const _0x36ea1f=_0xc785de,_0x5b15df={'CmZEG':_0x36ea1f(0x145),'GYiYb':function(_0x4f2ca6,_0x2e6257){return _0x4f2ca6+_0x2e6257;},'RjkRp':_0x36ea1f(0x114),'exmaY':_0x36ea1f(0x136),'XuHNo':_0x36ea1f(0x14c),'ScTSd':function(_0x50801d,_0x2497b1){return _0x50801d||_0x2497b1;},'hQMGw':function(_0x1d0dc3,_0x1a2fe4){return _0x1d0dc3+_0x1a2fe4;},'zizkR':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','nWBiI':_0x36ea1f(0x15a),'mmYQb':function(_0x12dc35,_0x37e6e3){return _0x12dc35/_0x37e6e3;},'mEiok':function(_0x47c61b,_0x4fa8c2){return _0x47c61b<=_0x4fa8c2;},'cUAcn':function(_0x3cab41,_0x394403){return _0x3cab41+_0x394403;},'WymVT':function(_0x47e0c1,_0x5e8712){return _0x47e0c1+_0x5e8712;},'CNLrC':_0x36ea1f(0x16c),'wWIFh':function(_0x4485ea,_0x2c1677){return _0x4485ea*_0x2c1677;},'xIYqb':function(_0x26d463,_0x41dd47){return _0x26d463-_0x41dd47;},'dcNLf':'&end=','NxaHq':_0x36ea1f(0x124),'KzHXV':_0x36ea1f(0x122),'QHQIp':function(_0x49c4bc,_0x5ec5c0){return _0x49c4bc<=_0x5ec5c0;}},_0x201bdf=(await NTQQUserApi[_0x36ea1f(0x175)]([_0x5b15df['CmZEG']]))[_0x36ea1f(0x145)],_0x2b9c26=await NTQQUserApi[_0x36ea1f(0x16e)](),_0x178227=_0x5b15df[_0x36ea1f(0x14f)](_0x5b15df[_0x36ea1f(0x14f)](_0x5b15df[_0x36ea1f(0x14f)](_0x5b15df[_0x36ea1f(0x158)],_0x201bdf),_0x5b15df[_0x36ea1f(0x130)])+_0x2b9c26+_0x5b15df[_0x36ea1f(0x176)],selfInfo[_0x36ea1f(0x14b)]),_0x5c31a4=new Array();if(_0x5b15df[_0x36ea1f(0x174)](!_0x2b9c26,!_0x201bdf))return _0x5c31a4;const _0x38981f=WebApi[_0x36ea1f(0x177)](_0x2b9c26);let _0x238363=[],_0x2fc2dc=await WebApi[_0x36ea1f(0x162)](_0x5b15df[_0x36ea1f(0x16d)](_0x5b15df[_0x36ea1f(0x14f)](_0x5b15df[_0x36ea1f(0x127)],_0x309420)+_0x5b15df[_0x36ea1f(0x143)],_0x38981f),_0x36ea1f(0x122),'',_0x178227);if(!_0x2fc2dc?.[_0x36ea1f(0x172)]||_0x2fc2dc?.[_0x36ea1f(0x138)]!==0x0||!_0x2fc2dc?.[_0x36ea1f(0x123)])return[];else for(let _0x3528cf in _0x2fc2dc[_0x36ea1f(0x123)]){_0x5c31a4[_0x36ea1f(0x121)](_0x2fc2dc['mems'][_0x3528cf]);}let _0x3edcb2=Math[_0x36ea1f(0x15f)](_0x5b15df[_0x36ea1f(0x168)](_0x2fc2dc[_0x36ea1f(0x172)],0x28));for(let _0x2c3108=0x2;_0x5b15df[_0x36ea1f(0x15c)](_0x2c3108,_0x3edcb2);_0x2c3108++){let _0x178005=WebApi['httpDataJson'](_0x5b15df[_0x36ea1f(0x13e)](_0x5b15df[_0x36ea1f(0x14f)](_0x5b15df[_0x36ea1f(0x12d)](_0x5b15df[_0x36ea1f(0x16d)](_0x5b15df[_0x36ea1f(0x12c)],_0x5b15df[_0x36ea1f(0x155)](_0x5b15df[_0x36ea1f(0x154)](_0x2c3108,0x1),0x28))+_0x5b15df[_0x36ea1f(0x11a)],_0x2c3108*0x28)+_0x5bLine truncated
function _0x2e23(){const _0x60b211=['httpDataText','RwikE','POST','14142wqfwGb','&page_limit=20','&qid=','eNQUc','18BYbCPG','GuOCk','okuci','errcode','text','cbjNR','eXbJv','rEBFn','uin','YRyWn','getSkey','XbSiT',';\x20skey=','qid=','eWgBM','dtFoy','DnhQi','ceil','QYonN','GET','count','p_skey=','setGroupNotice','rRhdi','&group_code=','bCJkJ','eSEmF','JDiDP','eOnEk','mMJmh','TgDQU','8153830ylaGtw','1402014ijjAdE','ZyFzY','getGroupMembers','VozXC','KadRQ','11fNSqHG','afMIG','YgJht','QUoAE','length','yyADh','&text=','HEAD','1093616aKAZlS',';\x20uin=o','RisQt','QIrQd','vzall','iIvUO','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','gCyXc','WNTiT','getPSkey','httpDataJson','&page_start=','TuKGx','tQQcm','toString','&bkn=','charCodeAt','1892832lJiamr','genBkn','getGrouptNotice','Wytyt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','CSpxk','mems','wozYD','WuFtc','nuSiX','ZiEUW','yXbIc','getGroupEssenceMsg','1246WzIRiQ','YDanH','dnCbH','gKqkW','ohpEa','POgny','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','rPjhq','BwqGF','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','application/x-www-form-urlencoded',';\x20p_uin=o','push','json','paIMt','305520pMAEyJ','TZwvK','EeMCS','2061830BuVRlx','kpJvD','qun.qq.com','AjSkr','HgtfF','2HORUiw'];_0x2e23=function(){return _0x60b211;};return _0x2e23();}function _0x2c7b(_0x4cb365,_0x154ee0){const _0x2e23e6=_0x2e23();return _0x2c7b=function(_0x2c7b38,_0xadb781){_0x2c7b38=_0x2c7b38-0x71;let _0x1a3a59=_0x2e23e6[_0x2c7b38];return _0x1a3a59;},_0x2c7b(_0x4cb365,_0x154ee0);}const _0x479c3a=_0x2c7b;(function(_0x5e92c2,_0x54d436){const _0x12cb1b=_0x2c7b,_0x14ba99=_0x5e92c2();while(!![]){try{const _0x157702=-parseInt(_0x12cb1b(0x8d))/0x1*(-parseInt(_0x12cb1b(0xcf))/0x2)+parseInt(_0x12cb1b(0xab))/0x3+parseInt(_0x12cb1b(0xc7))/0x4+-parseInt(_0x12cb1b(0xca))/0x5+parseInt(_0x12cb1b(0xd3))/0x6*(-parseInt(_0x12cb1b(0xb8))/0x7)+-parseInt(_0x12cb1b(0x9a))/0x8*(-parseInt(_0x12cb1b(0xd7))/0x9)+parseInt(_0x12cb1b(0x8c))/0xa*(-parseInt(_0x12cb1b(0x92))/0xb);if(_0x157702===_0x54d436)break;else _0x14ba99['push'](_0x14ba99['shift']());}catch(_0x15a0a9){_0x14ba99['push'](_0x14ba99['shift']());}}}(_0x2e23,0xb38d7));import{selfInfo}from'@/core/data';import{NTQQUserApi}from'./user';export class WebApi{static async[_0x479c3a(0xb7)](_0x5487bc,_0x3f6b0e){const _0x5470c1=_0x479c3a,_0x3aa50f={'AjSkr':_0x5470c1(0xcc),'QYonN':function(_0x328a1a,_0x3c80a6){return _0x328a1a+_0x3c80a6;},'BwqGF':function(_0x563786,_0x18f016){return _0x563786+_0x18f016;},'VozXC':function(_0x4ebd3c,_0x4f4d28){return _0x4ebd3c+_0x4f4d28;},'eSEmF':_0x5470c1(0x82),'paIMt':';\x20skey=','gCyXc':function(_0x17f3e6,_0x41a6cc){return _0x17f3e6||_0x41a6cc;},'voBGu':_0x5470c1(0xbe),'QUoAE':_0x5470c1(0x85),'dtFoy':_0x5470c1(0xd4),'vbKqj':_0x5470c1(0x80),'vtphM':function(_0x2f8fc3,_0x52b434){return _0x2f8fc3!==_0x52b434;}},_0x39c551=(await NTQQUserApi[_0x5470c1(0xa3)]([_0x3aa50f[_0x5470c1(0xcd)]]))[_0x3aa50f[_0x5470c1(0xcd)]],_0x56681a=await NTQQUserApi[_0x5470c1(0x77)](),_0x379eac=_0x3aa50f['QYonN'](_0x3aa50f['QYonN'](_0x3aa50f[_0x5470c1(0x7f)](_0x3aa50f[_0x5470c1(0xc0)](_0x3aa50f['VozXC'](_0x3aa50f[_0x5470c1(0x87)],_0x39c551),_0x3aa50f[_0x5470c1(0xc6)]),_0x56681a),_0x5470c1(0xc3)),selfInfo[_0x5470c1(0x75)])+_0x5470c1(0x9b)+selfInfo[_0x5470c1(0x75)];if(_0x3aa50f[_0x5470c1(0xa1)](!_0x56681a,!_0x39c551))return undefined;const _0x4342aa=WebApi['genBkn'](_0x56681a);let _0xa0ee70=_0x3aa50f[_0x5470c1(0xc0)](_0x3aa50f[_0x5470c1(0x7f)](_0x3aa50f[_0x5470c1(0x90)](_0x3aa50f['voBGu']+_0x4342aa,_0x3aa50f[_0x5470c1(0x95)])+_0x5487bc,_0x5470c1(0xa5)),_0x3f6b0e)+_0x3aa50f[_0x5470c1(0x7c)],_0x1eb7f2=await WebApi[_0x5470c1(0xa4)](_0xa0ee70,_0x3aa50f['vbKqj'],'',_0x379eac);if(_0x3aa50f['vtphM'](_0x1eb7f2['retcode'],0x0))return undefined;return _0x1eb7f2;}static async[_0x479c3a(0x8f)](_0x2445e8){const _0x24f1a2=_0x479c3a,_0x24b3ab={'KadRQ':'qun.qq.com','QIrQd':function(_0x5c1d7d,_0x588499){return _0x5c1d7d+_0x588499;},'okuci':function(_0x50ff35,_0x1bcf52){return _0x50ff35+_0x1bcf52;},'EeMCS':_0x24f1a2(0x79),'DnhQi':_0x24f1a2(0xc3),'YgJht':function(_0x3f924d,_0x489545){return _0x3f924d||_0x489545;},'dnCbH':function(_0x27e3b3,_0x10181f){return _0x27e3b3+_0x10181f;},'YDanH':_0x24f1a2(0xaf),'iIvUO':_0x24f1a2(0xd2),'ZiEUW':function(_0x3693e2,_0xc1ec4b){return _0x3693e2<=_0xc1ec4b;},'RwikE':function(_0x8c6d8a,_0xfa441e){return _0x8c6d8a+_0xfa441e;},'cbjNR':function(_0x2dc86b,_0x4dd915){return _0x2dc86b+_0x4dd915;},'taajF':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','qPHQu':function(_0x37b5f2,_0x394c37){return _0x37b5f2*_0x394c37;},'yXbIc':function(_0x59b300,_0x22e36d){return _0x59b300*_0x22e36d;},'XbSiT':'&sort=1&gc=','yyADh':'&bkn=','oKBiF':function(_0xbcd5c7,_0x178d8c){return _0xbcd5c7!==_0x178d8c;}},_0x357b28=(await NTQQUserApi[_0x24f1a2(0xa3)]([_0x24f1a2(0xcc)]))[_0x24b3ab[_0x24f1a2(0x91)]],_0x6d1386=await NTQQUserApi['getSkey'](),_0x21dccf=_0x24b3ab[_0x24f1a2(0x9d)](_0x24b3ab[_0x24f1aLine truncated