diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 893aedded..0c0cf95f3 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -function _0xc0c2(){const _0x1dcab9=['933200SsfgmI','dataPath','getBuddyService','5RsnAfN','2250666pyfzxJ','init','log','dataPathGlobal','wrapper','4922330RlcDja','getProfileService','onLoginSuccess','catch','NodeIGlobalAdapter','DUpSc','EVVPr','QQNT\x20版本:','addLoginSuccessCallback','atUtq','push','stringify','pKbUn','24688gWqeCI','284916MOkZrF','49GzwuxU','emit','QQNT\x20数据目录:','2283066uWHOgo','createConnection','Windows\x2010\x20Pro','service','debug','8AcmNqu','login','./NapCat/data','XJRio','curVersion','session','getMsgService','adapter','getLogger','initPostLogin','mkdirSync','replace','uid','resolve','登录失败','then','_GW_B','.db','getProfileLikeService','14430XKsotm','error','uin','loginSuccessCbList'];_0xc0c2=function(){return _0x1dcab9;};return _0xc0c2();}const _0x5d44ad=_0x1bdf;(function(_0x4a9ba0,_0x4d8c54){const _0x3dd477=_0x1bdf,_0x37f370=_0x4a9ba0();while(!![]){try{const _0x3c0fbd=-parseInt(_0x3dd477(0x1a0))/0x1+-parseInt(_0x3dd477(0x18d))/0x2*(-parseInt(_0x3dd477(0x184))/0x3)+parseInt(_0x3dd477(0x1a4))/0x4*(parseInt(_0x3dd477(0x1a7))/0x5)+parseInt(_0x3dd477(0x171))/0x6+-parseInt(_0x3dd477(0x185))/0x7*(-parseInt(_0x3dd477(0x183))/0x8)+-parseInt(_0x3dd477(0x188))/0x9+-parseInt(_0x3dd477(0x176))/0xa;if(_0x3c0fbd===_0x4d8c54)break;else _0x37f370['push'](_0x37f370['shift']());}catch(_0x2bc8d0){_0x37f370['push'](_0x37f370['shift']());}}}(_0xc0c2,0x3cedc));import{Wrapper}from'./qqnt';import{GlobalAdapter}from'./qqnt/adapters';import{NapCatCoreWrapper}from'./wrapper';import{NapCatCoreLogin}from'./login';import{NapCatCoreSession}from'./session';import{NapCatCoreService}from'./service';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dbUtil}from'@/common/utils/db';import{hostname,systemVersion}from'@/common/utils/system';import{selfInfo}from'@/common/data';import _0x3be7b4 from'node:path';import _0x1b1ef6 from'node:fs';function _0x1bdf(_0x2889e4,_0x15c1b0){const _0xc0c248=_0xc0c2();return _0x1bdf=function(_0x1bdf4e,_0x19836f){_0x1bdf4e=_0x1bdf4e-0x171;let _0x500119=_0xc0c248[_0x1bdf4e];return _0x500119;},_0x1bdf(_0x2889e4,_0x15c1b0);}import{EventEmitter}from'node:events';import*as _0x2da551 from'@log4js-node/log4js-api';export class NapCatCore extends EventEmitter{['log'];[_0x5d44ad(0x194)];[_0x5d44ad(0x175)];['login'];[_0x5d44ad(0x192)];[_0x5d44ad(0x18b)];[_0x5d44ad(0x1a3)]=[];constructor(){const _0x472364=_0x5d44ad,_0x4e826e={'DUpSc':'Core','pKbUn':_0x472364(0x187)};super(),this[_0x472364(0x173)]=_0x2da551[_0x472364(0x195)](_0x4e826e[_0x472364(0x17b)]),this[_0x472364(0x194)]=new GlobalAdapter(),this[_0x472364(0x175)]=new NapCatCoreWrapper(),this[_0x472364(0x18e)]=new NapCatCoreLogin(this),this[_0x472364(0x192)]=new NapCatCoreSession(),this[_0x472364(0x18b)]=new NapCatCoreService(this),this[_0x472364(0x173)]['debug'](_0x472364(0x17d),qqVersionConfigInfo['curVersion']),this['log'][_0x472364(0x18c)](_0x4e826e[_0x472364(0x182)],this['wrapper'][_0x472364(0x174)]),this[_0x472364(0x175)]['init']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x472364(0x191)],'os_version':_0x472364(0x18a),'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x472364(0x198)]('-','_')+_0x472364(0x19d),'global_path_config':{'desktopGlobalPath':this[_0x472364(0x175)][_0x472364(0x174)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new Wrapper[(_0x472364(0x17a))](this['adapter'])),this[_0x472364(0x18e)][_0x472364(0x172)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x472364(0x175)][_0x472364(0x174)],'clientVer':qqVersionConfigInfo[_0x472364(0x191)],'hostName':hostname});}async[_0x5d44ad(0x196)](_0x50b60e){const _0x478cc7=_0x5d44ad,_0x8ca4ae={'EVVPr':_0x478cc7(0x19b),'atUtq':'system.login.error'};this[_0x478cc7(0x192)]['init'](_0x50b60e[_0x478cc7(0x1a2)],_0x50b60e['uid'],this['wrapper'][_0x478cc7(0x1a5)])['then'](()=>{const _0x327da8=_0x478cc7;this[_0x327da8(0x178)](_0x50b60e['uin'],_0x50b60e[_0x327da8(0x199)]);})[_0x478cc7(0x179)](_0x1091fa=>{const _0x44df2c=_0x478cc7;console[_0x44df2c(0x1a1)](_0x8ca4ae[_0x44df2c(0x17c)],JSON[_0x44df2c(0x181)](_0x1091fa)),this[_0x44df2c(0x186)](_0x8ca4ae[_0x44df2c(0x17f)],{'code':'-1','message':_0x1091fa});});}[_0x5d44ad(0x178)](_0x1a8541,_0x4acb9d){const _0x2c5db5=_0x5d44ad,_0x2b2578={'WJoRC':_0x2c5db5(0x18f),'XJRio':'本账号数据/缓存目录:'},_0x2a401c=_0x3be7b4[_0x2c5db5(0x19a)](this[_0x2c5db5(0x175)][_0x2c5db5(0x1a5)],_0x2b2578['WJoRC']);_0x1b1ef6[_0x2c5db5(0x197)](_0x2a401c,{'recursive':!![]}),this['log'][_0x2c5db5(0x18c)](_0x2b2578[_0x2c5db5(0x190)],_0x2a401c),dbUtil[_0x2c5db5(0x189)](_0x3be7b4['resolve'](_0x2a401c,'./'+_0x1a8541+_0x2c5db5(0x19e))),selfInfo['uin']=_0x1a8541,selfInfo[_0x2c5db5(0x199)]=_0x4acb9d,this[_0x2c5db5(0x18b)][_0x2c5db5(0x172)](this[_0x2c5db5(0x192)]['wrapper'][_0x2c5db5(0x193)](),this[_0x2c5db5(0x192)][_0x2c5db5(0x175)]['getGroupService'](),this[_0x2c5db5(0x192)][_0x2c5db5(0x175)][_0x2c5db5(0x1a6)](),this[_0x2c5db5(0x192)][_0x2c5db5(0x175)][_0x2c5db5(0x177)](),this[_0x2c5db5(0x192)][_0x2c5db5(0x175)][_0x2c5db5(0x19f)]()),this['loginSuccessCbList']['map'](_0x4d3a18=>{const _0x114d46={'fShVk':function(_0x224538,_0x45a464){return _0x224538 instanceof _0x45a464;}};new Promise((_0x3a4027,_0x39e47d)=>{const _0x37dd0e=_0x1bdf,_0x3b30aa=_0x4d3a18();_0x114d46['fShVk'](_0x3b30aa,Promise)&&_0x3b30aa[_0x37dd0e(0x19c)](_0x3a4027)[_0x37dd0e(0x179)](_0x39e47d);})['then']();}),this[_0x2c5db5(0x186)]('system.online',{'uin':_0x1a8541,'uid':_0x4acb9d});}['onMessage'](){}[_0x5d44ad(0x17e)](_0x4409b9){const _0x35d560=_0x5d44ad;this['loginSuccessCbList'][_0x35d560(0x180)](_0x4409b9);}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x318f18=_0x4ddc;(function(_0x510717,_0x3984fb){const _0x2bb954=_0x4ddc,_0x5e6bdb=_0x510717();while(!![]){try{const _0x2f573a=-parseInt(_0x2bb954(0x160))/0x1*(-parseInt(_0x2bb954(0x172))/0x2)+parseInt(_0x2bb954(0x158))/0x3*(parseInt(_0x2bb954(0x149))/0x4)+-parseInt(_0x2bb954(0x14c))/0x5*(-parseInt(_0x2bb954(0x148))/0x6)+parseInt(_0x2bb954(0x13f))/0x7*(-parseInt(_0x2bb954(0x16e))/0x8)+-parseInt(_0x2bb954(0x156))/0x9+parseInt(_0x2bb954(0x142))/0xa+-parseInt(_0x2bb954(0x140))/0xb*(parseInt(_0x2bb954(0x15c))/0xc);if(_0x2f573a===_0x3984fb)break;else _0x5e6bdb['push'](_0x5e6bdb['shift']());}catch(_0x27e3d4){_0x5e6bdb['push'](_0x5e6bdb['shift']());}}}(_0x1772,0xd25b3));import{Wrapper}from'./qqnt';import{GlobalAdapter}from'./qqnt/adapters';import{NapCatCoreWrapper}from'./wrapper';import{NapCatCoreLogin}from'./login';import{NapCatCoreSession}from'./session';import{NapCatCoreService}from'./service';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dbUtil}from'@/common/utils/db';function _0x1772(){const _0x4145d2=['log','adapter','init','102552wqUfao','push','getBuddyService','then','163pAXoOC','emit','uid','V1_WIN_NQ_','getProfileLikeService','map','Core','dataPath','createConnection','session','loginSuccessCbList','QQNT\x20数据目录:','fPsfk','NodeIGlobalAdapter','40UlLBfq','catch','onLoginSuccess','mkdirSync','16606NsvkTn','getLogger','error','rBFkS','971803TreAdF','2981KzqcCN','login','16990880GvCOoH','debug','dKqTS','登录失败','Windows\x2010\x20Pro','initPostLogin','3510wVlmbg','4CmaQqW','addLoginSuccessCallback','wrapper','12715RWOcfJ','GJaNx','split','system.login.error','uin','stringify','./NapCat/data','.db','本账号数据/缓存目录:','service','6828147lcObnS','curVersion','270843dqjfCb'];_0x1772=function(){return _0x4145d2;};return _0x1772();}import{hostname,systemVersion}from'@/common/utils/system';function _0x4ddc(_0x230d4d,_0x59e55f){const _0x1772e4=_0x1772();return _0x4ddc=function(_0x4ddc63,_0x2cf728){_0x4ddc63=_0x4ddc63-0x13f;let _0x3106ac=_0x1772e4[_0x4ddc63];return _0x3106ac;},_0x4ddc(_0x230d4d,_0x59e55f);}import{selfInfo}from'@/common/data';import _0x232062 from'node:path';import _0x15418d from'node:fs';import{EventEmitter}from'node:events';import*as _0x455a77 from'@log4js-node/log4js-api';export class NapCatCore extends EventEmitter{[_0x318f18(0x159)];[_0x318f18(0x15a)];['wrapper'];[_0x318f18(0x141)];[_0x318f18(0x169)];[_0x318f18(0x155)];['loginSuccessCbList']=[];constructor(){const _0x362ab5=_0x318f18,_0x41e0fc={'LrIXM':'10|0|7|6|8|4|3|5|2|9|1','MFiht':'QQNT\x20版本:','dKqTS':_0x362ab5(0x146)},_0x2ef5dd=_0x41e0fc['LrIXM'][_0x362ab5(0x14e)]('|');let _0x1510bb=0x0;while(!![]){switch(_0x2ef5dd[_0x1510bb++]){case'0':this['log']=_0x455a77[_0x362ab5(0x173)](_0x362ab5(0x166));continue;case'1':this[_0x362ab5(0x141)][_0x362ab5(0x15b)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x362ab5(0x14b)]['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});continue;case'2':this[_0x362ab5(0x159)][_0x362ab5(0x143)](_0x362ab5(0x16b),this['wrapper']['dataPathGlobal']);continue;case'3':this[_0x362ab5(0x155)]=new NapCatCoreService(this);continue;case'4':this[_0x362ab5(0x169)]=new NapCatCoreSession();continue;case'5':this[_0x362ab5(0x159)][_0x362ab5(0x143)](_0x41e0fc['MFiht'],qqVersionConfigInfo['curVersion']);continue;case'6':this['wrapper']=new NapCatCoreWrapper();continue;case'7':this['adapter']=new GlobalAdapter();continue;case'8':this['login']=new NapCatCoreLogin(this);continue;case'9':this[_0x362ab5(0x14b)][_0x362ab5(0x15b)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x362ab5(0x157)],'os_version':_0x41e0fc[_0x362ab5(0x144)],'use_xlog':!![],'qua':_0x362ab5(0x163)+qqVersionConfigInfo[_0x362ab5(0x157)]['replace']('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x362ab5(0x14b)]['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new Wrapper[(_0x362ab5(0x16d))](this[_0x362ab5(0x15a)]));continue;case'10':super();continue;}break;}}async[_0x318f18(0x147)](_0xf98772){const _0x147f77=_0x318f18,_0x1a99d6={'GJaNx':_0x147f77(0x145)};this[_0x147f77(0x169)]['init'](_0xf98772['uin'],_0xf98772['uid'],this[_0x147f77(0x14b)]['dataPath'])[_0x147f77(0x15f)](()=>{const _0x2b53c8=_0x147f77;this[_0x2b53c8(0x170)](_0xf98772[_0x2b53c8(0x150)],_0xf98772[_0x2b53c8(0x162)]);})[_0x147f77(0x16f)](_0x35fa1a=>{const _0x501081=_0x147f77;console[_0x501081(0x174)](_0x1a99d6[_0x501081(0x14d)],JSON[_0x501081(0x151)](_0x35fa1a)),this[_0x501081(0x161)](_0x501081(0x14f),{'code':'-1','message':_0x35fa1a});});}[_0x318f18(0x170)](_0x121be4,_0x5bf429){const _0x3e5860=_0x318f18,_0x3aaa9d={'DLbXx':function(_0x3bdd56){return _0x3bdd56();},'oSnJG':function(_0x31eac5,_0x3a4dc1){return _0x31eac5 instanceof _0x3a4dc1;},'MbiCY':_0x3e5860(0x152),'rBFkS':'system.online'},_0x4c1598=_0x232062['resolve'](this[_0x3e5860(0x14b)][_0x3e5860(0x167)],_0x3aaa9d['MbiCY']);_0x15418d[_0x3e5860(0x171)](_0x4c1598,{'recursive':!![]}),this['log'][_0x3e5860(0x143)](_0x3e5860(0x154),_0x4c1598),dbUtil[_0x3e5860(0x168)](_0x232062['resolve'](_0x4c1598,'./'+_0x121be4+_0x3e5860(0x153))),selfInfo[_0x3e5860(0x150)]=_0x121be4,selfInfo['uid']=_0x5bf429,this['service'][_0x3e5860(0x15b)](this[_0x3e5860(0x169)][_0x3e5860(0x14b)]['getMsgService'](),this['session']['wrapper']['getGroupService'](),this[_0x3e5860(0x169)][_0x3e5860(0x14b)][_0x3e5860(0x15e)](),this['session'][_0x3e5860(0x14b)]['getProfileService'](),this[_0x3e5860(0x169)][_0x3e5860(0x14b)][_0x3e5860(0x164)]()),this[_0x3e5860(0x16a)][_0x3e5860(0x165)](_0x16ed05=>{const _0x3ae4c6=_0x3e5860,_0x252773={'fPsfk':function(_0x1fd2a2){return _0x3aaa9d['DLbXx'](_0x1fd2a2);},'mFFfm':function(_0x490227,_0xbc0aa4){return _0x3aaa9d['oSnJG'](_0x490227,_0xbc0aa4);}};new Promise((_0x1a0934,_0x43d4d7)=>{const _0x4b01ff=_0x4ddc,_0x44be18=_0x252773[_0x4b01ff(0x16c)](_0x16ed05);_0x252773['mFFfm'](_0x44be18,Promise)&&_0x44be18['then'](_0x1a0934)[_0x4b01ff(0x16f)](_0x43d4d7);})[_0x3ae4c6(0x15f)]();}),this[_0x3e5860(0x161)](_0x3aaa9d[_0x3e5860(0x175)],{'uin':_0x121be4,'uid':_0x5bf429});}['onMessage'](){}[_0x318f18(0x14a)](_0x2aab3c){const _0x33ec36=_0x318f18;this[_0x33ec36(0x16a)][_0x33ec36(0x15d)](_0x2aab3c);}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/login.js b/src/core.lib/src/login.js index d210b7ab5..0e93c3e1b 100644 --- a/src/core.lib/src/login.js +++ b/src/core.lib/src/login.js @@ -1 +1 @@ -const _0x5c0c07=_0x7c41;function _0x498f(){const _0x5ab21e=['921645tdUKer','OpvEx','140022008','qrcodeUrl','password','listener','system.login.slider','initListener','init','FmlSH','update','106508qHKgJE','660226LXKKvs','md5','initPostLogin','onLoginFailed','Quick\x20login\x20for\x20','service','find','uin','system.login.error','izyCz','10reLcvH','addKernelLoginListener','emit','6957050ZBenys','error','initConfig','onQRCodeGetPicture','onQRCodeSessionFailed','loginErrorInfo','4369392Hyqtiq','getLoginList','isQuickLogin','No\x20quick\x20login\x20accounts\x20available','quickLoginWithUin','wMtCc','7191610pNgjwv','result','88xSOWTF','system.login.qrcode','core','123rIrdTn','zUtxQ','passwordLogin','hex','createHash','qwils','NodeIKernelLoginListener','pngBase64QrcodeData','102903YiXaDp','digest','quick'];_0x498f=function(){return _0x5ab21e;};return _0x498f();}(function(_0x3ba56e,_0x17f415){const _0x188025=_0x7c41,_0x22856e=_0x3ba56e();while(!![]){try{const _0xd982ee=parseInt(_0x188025(0xe0))/0x1*(-parseInt(_0x188025(0xc4))/0x2)+parseInt(_0x188025(0xd8))/0x3*(-parseInt(_0x188025(0xee))/0x4)+parseInt(_0x188025(0xc7))/0x5+parseInt(_0x188025(0xcd))/0x6+-parseInt(_0x188025(0xef))/0x7*(-parseInt(_0x188025(0xd5))/0x8)+-parseInt(_0x188025(0xe3))/0x9+-parseInt(_0x188025(0xd3))/0xa;if(_0xd982ee===_0x17f415)break;else _0x22856e['push'](_0x22856e['shift']());}catch(_0x211627){_0x22856e['push'](_0x22856e['shift']());}}}(_0x498f,0xb2108));import*as _0x464a33 from'node:crypto';import{Wrapper as _0x495889}from'./qqnt';function _0x7c41(_0x438931,_0x48c6e5){const _0x498f80=_0x498f();return _0x7c41=function(_0x7c41fc,_0x1f0430){_0x7c41fc=_0x7c41fc-0xc3;let _0x3407c2=_0x498f80[_0x7c41fc];return _0x3407c2;},_0x7c41(_0x438931,_0x48c6e5);}import{LoginListener}from'./qqnt/listeners';import{sleep}from'@/common/utils/helper';export class NapCatCoreLogin{[_0x5c0c07(0xd7)];['service'];[_0x5c0c07(0xe8)];constructor(_0x3d3e75){const _0x2454a1=_0x5c0c07,_0x80740f={'OpvEx':_0x2454a1(0xcb),'XRovW':'onLoginFailed'};this[_0x2454a1(0xd7)]=_0x3d3e75,this[_0x2454a1(0xf4)]=new _0x495889['NodeIKernelLoginService'](),this[_0x2454a1(0xe8)]=new LoginListener(),this[_0x2454a1(0xe8)][_0x2454a1(0xcb)]=_0x22d630=>{const _0x10deee=_0x2454a1;console[_0x10deee(0xc8)](_0x80740f[_0x10deee(0xe4)],_0x22d630);},this['listener'][_0x2454a1(0xf2)]=_0x3263ab=>{console['error'](_0x80740f['XRovW'],_0x3263ab);};}[_0x5c0c07(0xeb)](_0x4c6314){const _0x2f7129=_0x5c0c07;this['service'][_0x2f7129(0xc9)](_0x4c6314),this['initListener'](),this[_0x2f7129(0xf4)][_0x2f7129(0xc5)](new _0x495889[(_0x2f7129(0xde))](this['listener']));}[_0x5c0c07(0xea)](){const _0x4c7f44=_0x5c0c07,_0x109a22={'zUtxQ':_0x4c7f44(0xd6)};this[_0x4c7f44(0xe8)][_0x4c7f44(0xca)]=_0x52d098=>{const _0x100c6d=_0x4c7f44;this['core'][_0x100c6d(0xc6)](_0x109a22[_0x100c6d(0xd9)],{'url':_0x52d098[_0x100c6d(0xe6)],'base64':_0x52d098[_0x100c6d(0xdf)]});},this[_0x4c7f44(0xe8)]['onQRCodeLoginSucceed']=_0x14a9c4=>{const _0x529519=_0x4c7f44;this[_0x529519(0xd7)][_0x529519(0xf1)](_0x14a9c4);};}['getLoginList'](){const _0x158f64=_0x5c0c07;return this[_0x158f64(0xf4)][_0x158f64(0xce)]();}async['qrcode'](){const _0x1f488f=_0x5c0c07;this[_0x1f488f(0xf4)]['getQRCodePicture']();}async[_0x5c0c07(0xe2)](_0x178f42){const _0x11e7e9=_0x5c0c07,_0x347e1a={'kmejd':function(_0x3910df,_0x41c2fc){return _0x3910df!==_0x41c2fc;},'MfxKb':_0x11e7e9(0xd0),'FmlSH':function(_0x3bc544,_0x311d36){return _0x3bc544(_0x311d36);}},_0x1a17e0=await this['getLoginList']();if(_0x347e1a['kmejd'](_0x1a17e0['result'],0x0))throw new Error(_0x347e1a['MfxKb']);const _0x4c9dc7=_0x1a17e0['LocalLoginInfoList'][_0x11e7e9(0xf5)](_0x5ec4de=>_0x5ec4de[_0x11e7e9(0xf6)]===_0x178f42);if(!_0x4c9dc7||!_0x4c9dc7?.[_0x11e7e9(0xcf)])throw new Error(_0x11e7e9(0xf3)+_0x178f42+'\x20is\x20not\x20available');await _0x347e1a[_0x11e7e9(0xec)](sleep,0x3e8);const _0x3bc026=await this[_0x11e7e9(0xf4)][_0x11e7e9(0xd1)](_0x178f42);if(!_0x3bc026[_0x11e7e9(0xd4)])this[_0x11e7e9(0xd7)][_0x11e7e9(0xc6)](_0x11e7e9(0xf7),{'code':_0x3bc026[_0x11e7e9(0xd4)],'message':_0x3bc026[_0x11e7e9(0xcc)]['errMsg']});}async[_0x5c0c07(0xe7)](_0x734848,_0x3b901c,_0x2c2cf3,_0x5d6e0c,_0x4e4b0f){const _0x968873=_0x5c0c07,_0x119fe4={'izyCz':function(_0x1d1d22,_0x2ad3d0){return _0x1d1d22||_0x2ad3d0;},'mlFyd':_0x968873(0xe5),'wMtCc':_0x968873(0xe9),'qwils':'system.login.error'},_0x2aaecc=_0x464a33[_0x968873(0xdc)](_0x968873(0xf0))[_0x968873(0xed)](_0x3b901c)[_0x968873(0xe1)](_0x968873(0xdb)),_0x2fc2e2={'uin':_0x734848,'passwordMd5':_0x2aaecc,'step':_0x2c2cf3&&_0x5d6e0c&&_0x4e4b0f?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x119fe4[_0x968873(0xc3)](_0x2c2cf3,''),'proofWaterRand':_0x5d6e0c||'','proofWaterSid':_0x119fe4[_0x968873(0xc3)](_0x4e4b0f,'')};await this[_0x968873(0xce)](),await sleep(0x3e8);const _0x48dfc1=await this['service'][_0x968873(0xda)](_0x2fc2e2);switch(_0x48dfc1[_0x968873(0xd4)]){case'0':{break;}case _0x119fe4['mlFyd']:{this[_0x968873(0xd7)][_0x968873(0xc6)](_0x119fe4[_0x968873(0xd2)],{'url':_0x48dfc1[_0x968873(0xcc)]['proofWaterUrl']});break;}case'4':case'140022013':default:{this['core'][_0x968873(0xc6)](_0x119fe4[_0x968873(0xdd)],{'code':_0x48dfc1['result'],'message':_0x48dfc1[_0x968873(0xcc)]['errMsg']});}}}} \ No newline at end of file +function _0x5dd8(_0x3826f9,_0x42c349){const _0x289ba1=_0x289b();return _0x5dd8=function(_0x5dd8cc,_0x264c2a){_0x5dd8cc=_0x5dd8cc-0x1c6;let _0x7603a9=_0x289ba1[_0x5dd8cc];return _0x7603a9;},_0x5dd8(_0x3826f9,_0x42c349);}const _0x398652=_0x5dd8;function _0x289b(){const _0x5a8d5d=['onLoginFailed','35MwabcA','listener','digest','loginErrorInfo','byGCL','1237794tLTTnJ','qrcode','core','service','3277780JuDczn','result','No\x20quick\x20login\x20accounts\x20available','initPostLogin','quickLoginWithUin','iyRut','oyDUO','proofWaterUrl','Vbmjt','cOTkF','onQRCodeLoginSucceed','system.login.error','error','NodeIKernelLoginListener','system.login.qrcode','find','LocalLoginInfoList','getLoginList','140022008','passwordLogin','2229884NJvMZz','vuPaI','10488296kJKzdZ','errMsg','onQRCodeGetPicture','pngBase64QrcodeData','3522033YetqrW','\x20is\x20not\x20available','isQuickLogin','md5','136gSVvyu','emit','lfFMK','addKernelLoginListener','onQRCodeSessionFailed','hex','1147746Kxlrhm','quick','pNNoR','NodeIKernelLoginService','474268QDHPbq','uin','initListener'];_0x289b=function(){return _0x5a8d5d;};return _0x289b();}(function(_0x59346b,_0x431ec7){const _0x37c73c=_0x5dd8,_0x536288=_0x59346b();while(!![]){try{const _0x2dd4d5=-parseInt(_0x37c73c(0x1ec))/0x1+-parseInt(_0x37c73c(0x1d8))/0x2+-parseInt(_0x37c73c(0x1e8))/0x3+-parseInt(_0x37c73c(0x1f9))/0x4+-parseInt(_0x37c73c(0x1f0))/0x5*(parseInt(_0x37c73c(0x1f5))/0x6)+-parseInt(_0x37c73c(0x1da))/0x7+-parseInt(_0x37c73c(0x1e2))/0x8*(-parseInt(_0x37c73c(0x1de))/0x9);if(_0x2dd4d5===_0x431ec7)break;else _0x536288['push'](_0x536288['shift']());}catch(_0x15b03a){_0x536288['push'](_0x536288['shift']());}}}(_0x289b,0xe061f));import*as _0x4547e6 from'node:crypto';import{Wrapper as _0x1eb77a}from'./qqnt';import{LoginListener}from'./qqnt/listeners';import{sleep}from'@/common/utils/helper';export class NapCatCoreLogin{['core'];[_0x398652(0x1f8)];[_0x398652(0x1f1)];constructor(_0x2d5010){const _0x9aec1c=_0x398652,_0x1757e8={'oyDUO':_0x9aec1c(0x1e6),'weHlA':'onLoginFailed'};this[_0x9aec1c(0x1f7)]=_0x2d5010,this[_0x9aec1c(0x1f8)]=new _0x1eb77a[(_0x9aec1c(0x1eb))](),this[_0x9aec1c(0x1f1)]=new LoginListener(),this[_0x9aec1c(0x1f1)][_0x9aec1c(0x1e6)]=_0x2ad9f0=>{const _0x8c93bf=_0x9aec1c;console[_0x8c93bf(0x1d0)](_0x1757e8[_0x8c93bf(0x1ca)],_0x2ad9f0);},this[_0x9aec1c(0x1f1)][_0x9aec1c(0x1ef)]=_0x5c713c=>{const _0x5b38f5=_0x9aec1c;console[_0x5b38f5(0x1d0)](_0x1757e8['weHlA'],_0x5c713c);};}['init'](_0x5c9157){const _0x2b5ac2=_0x398652;this['service']['initConfig'](_0x5c9157),this[_0x2b5ac2(0x1ee)](),this[_0x2b5ac2(0x1f8)][_0x2b5ac2(0x1e5)](new _0x1eb77a[(_0x2b5ac2(0x1d1))](this[_0x2b5ac2(0x1f1)]));}[_0x398652(0x1ee)](){const _0x16d629=_0x398652,_0x2821d4={'iyRut':_0x16d629(0x1d2)};this['listener'][_0x16d629(0x1dc)]=_0x37c278=>{const _0x12cb3a=_0x16d629;this['core'][_0x12cb3a(0x1e3)](_0x2821d4[_0x12cb3a(0x1c9)],{'url':_0x37c278['qrcodeUrl'],'base64':_0x37c278[_0x12cb3a(0x1dd)]});},this[_0x16d629(0x1f1)][_0x16d629(0x1ce)]=_0x2debe7=>{const _0x1cf911=_0x16d629;this[_0x1cf911(0x1f7)][_0x1cf911(0x1c7)](_0x2debe7);};}[_0x398652(0x1d5)](){const _0xc4ede=_0x398652;return this[_0xc4ede(0x1f8)][_0xc4ede(0x1d5)]();}async[_0x398652(0x1f6)](){const _0x2843eb=_0x398652;this[_0x2843eb(0x1f8)]['getQRCodePicture']();}async[_0x398652(0x1e9)](_0x1cd71d){const _0x3aba3c=_0x398652,_0x36086f={'kqzUz':function(_0x289432,_0x506819){return _0x289432!==_0x506819;},'GmEyk':function(_0x448f1a,_0x588711){return _0x448f1a(_0x588711);}},_0x377c00=await this[_0x3aba3c(0x1d5)]();if(_0x36086f['kqzUz'](_0x377c00[_0x3aba3c(0x1fa)],0x0))throw new Error(_0x3aba3c(0x1c6));const _0x200026=_0x377c00[_0x3aba3c(0x1d4)][_0x3aba3c(0x1d3)](_0x1ca45e=>_0x1ca45e[_0x3aba3c(0x1ed)]===_0x1cd71d);if(!_0x200026||!_0x200026?.[_0x3aba3c(0x1e0)])throw new Error('Quick\x20login\x20for\x20'+_0x1cd71d+_0x3aba3c(0x1df));await _0x36086f['GmEyk'](sleep,0x3e8);const _0xe2cb81=await this[_0x3aba3c(0x1f8)][_0x3aba3c(0x1c8)](_0x1cd71d);if(!_0xe2cb81[_0x3aba3c(0x1fa)])this[_0x3aba3c(0x1f7)][_0x3aba3c(0x1e3)](_0x3aba3c(0x1cf),{'code':_0xe2cb81[_0x3aba3c(0x1fa)],'message':_0xe2cb81[_0x3aba3c(0x1f3)]['errMsg']});}async['password'](_0x32666e,_0x385dba,_0x477ae2,_0x237a62,_0x1bc032){const _0x2c25d4=_0x398652,_0x5a346f={'byGCL':_0x2c25d4(0x1e1),'vuPaI':_0x2c25d4(0x1e7),'lfFMK':function(_0x1148fe,_0x4aca6a){return _0x1148fe||_0x4aca6a;},'pNNoR':function(_0x1a8151,_0x36ed38){return _0x1a8151(_0x36ed38);},'Vbmjt':_0x2c25d4(0x1d6),'cOTkF':'140022013'},_0x16d26a=_0x4547e6['createHash'](_0x5a346f[_0x2c25d4(0x1f4)])['update'](_0x385dba)[_0x2c25d4(0x1f2)](_0x5a346f[_0x2c25d4(0x1d9)]),_0x557851={'uin':_0x32666e,'passwordMd5':_0x16d26a,'step':_0x477ae2&&_0x237a62&&_0x1bc032?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5a346f[_0x2c25d4(0x1e4)](_0x477ae2,''),'proofWaterRand':_0x5a346f[_0x2c25d4(0x1e4)](_0x237a62,''),'proofWaterSid':_0x5a346f[_0x2c25d4(0x1e4)](_0x1bc032,'')};await this[_0x2c25d4(0x1d5)](),await _0x5a346f[_0x2c25d4(0x1ea)](sleep,0x3e8);const _0x3633aa=await this[_0x2c25d4(0x1f8)][_0x2c25d4(0x1d7)](_0x557851);switch(_0x3633aa[_0x2c25d4(0x1fa)]){case'0':{break;}case _0x5a346f[_0x2c25d4(0x1cc)]:{this['core']['emit']('system.login.slider',{'url':_0x3633aa['loginErrorInfo'][_0x2c25d4(0x1cb)]});break;}case'4':case _0x5a346f[_0x2c25d4(0x1cd)]:default:{this[_0x2c25d4(0x1f7)]['emit'](_0x2c25d4(0x1cf),{'code':_0x3633aa[_0x2c25d4(0x1fa)],'message':_0x3633aa[_0x2c25d4(0x1f3)][_0x2c25d4(0x1db)]});}}}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js b/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js index c69c7d0b8..27ff0613a 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x4f94e4=_0x999b;(function(_0x22cb71,_0xedc5fc){var _0x360be2=_0x999b,_0x49405d=_0x22cb71();while(!![]){try{var _0x7d4ada=-parseInt(_0x360be2(0x1e3))/0x1*(-parseInt(_0x360be2(0x1e2))/0x2)+parseInt(_0x360be2(0x1dd))/0x3+-parseInt(_0x360be2(0x1e7))/0x4+-parseInt(_0x360be2(0x1e4))/0x5+-parseInt(_0x360be2(0x1df))/0x6*(parseInt(_0x360be2(0x1e1))/0x7)+-parseInt(_0x360be2(0x1de))/0x8+-parseInt(_0x360be2(0x1e5))/0x9*(-parseInt(_0x360be2(0x1e6))/0xa);if(_0x7d4ada===_0xedc5fc)break;else _0x49405d['push'](_0x49405d['shift']());}catch(_0xdca540){_0x49405d['push'](_0x49405d['shift']());}}}(_0xf39e,0xdae13));function _0x999b(_0x136e66,_0x339405){var _0xf39ef9=_0xf39e();return _0x999b=function(_0x999b7,_0x3047c9){_0x999b7=_0x999b7-0x1dc;var _0x54d1fc=_0xf39ef9[_0x999b7];return _0x54d1fc;},_0x999b(_0x136e66,_0x339405);}export class DependsAdapter{['onMSFStatusChange'](_0xafbdb3){}[_0x4f94e4(0x1e0)](_0x372efc){}[_0x4f94e4(0x1dc)](_0x206ab0){}}function _0xf39e(){var _0x47ad04=['2612384OBgAmJ','13704RAvKkV','onMSFSsoError','3227gTLUMf','62cCYaco','14107pECFIu','5524185NCHWEf','9GQJCkL','41209630xpoolG','5653932JdqWaQ','getGroupCode','708129ylsOxL'];_0xf39e=function(){return _0x47ad04;};return _0xf39e();} \ No newline at end of file +function _0x8ce7(){var _0xa11c96=['32aWalgz','938082htISaY','150792TyrLJi','onMSFStatusChange','201299xiaybU','onMSFSsoError','1105052SMAVgY','421565ujKine','1740560BtlxSY','3314802ecuJRm'];_0x8ce7=function(){return _0xa11c96;};return _0x8ce7();}var _0xdb9b7f=_0x40f2;function _0x40f2(_0x1762a8,_0x28f0b){var _0x8ce79b=_0x8ce7();return _0x40f2=function(_0x40f287,_0x27cb3b){_0x40f287=_0x40f287-0x7a;var _0x3dbd5a=_0x8ce79b[_0x40f287];return _0x3dbd5a;},_0x40f2(_0x1762a8,_0x28f0b);}(function(_0xb93725,_0x233979){var _0x760039=_0x40f2,_0x4b144d=_0xb93725();while(!![]){try{var _0x428067=parseInt(_0x760039(0x82))/0x1+parseInt(_0x760039(0x7c))/0x2+-parseInt(_0x760039(0x81))/0x3+-parseInt(_0x760039(0x7e))/0x4+-parseInt(_0x760039(0x7d))/0x5+parseInt(_0x760039(0x7f))/0x6+parseInt(_0x760039(0x7a))/0x7*(-parseInt(_0x760039(0x80))/0x8);if(_0x428067===_0x233979)break;else _0x4b144d['push'](_0x4b144d['shift']());}catch(_0xbce604){_0x4b144d['push'](_0x4b144d['shift']());}}}(_0x8ce7,0x4b582));export class DependsAdapter{[_0xdb9b7f(0x83)](_0x187b6f){}[_0xdb9b7f(0x7b)](_0x4e25a7){}['getGroupCode'](_0x22f7c9){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js index b6701d6d2..b188ac6ad 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x17ba35=_0x349f;function _0x5e90(){var _0x2536ad=['411054LQHOLs','111084yHPnAb','dispatchRequest','2607YgphYH','dispatchCallWithJson','dispatchCall','2427896qdsuKQ','2954853LOVNku','622EtoviX','1955712vDfhIV','80aEOjNN','2090473XtbOsr'];_0x5e90=function(){return _0x2536ad;};return _0x5e90();}function _0x349f(_0x131470,_0x171217){var _0x5e905a=_0x5e90();return _0x349f=function(_0x349fc7,_0x99db16){_0x349fc7=_0x349fc7-0xae;var _0x359541=_0x5e905a[_0x349fc7];return _0x359541;},_0x349f(_0x131470,_0x171217);}(function(_0x1e7407,_0x21ddf1){var _0x23df90=_0x349f,_0x4b67ae=_0x1e7407();while(!![]){try{var _0x4b97ff=parseInt(_0x23df90(0xb8))/0x1+-parseInt(_0x23df90(0xb4))/0x2*(parseInt(_0x23df90(0xaf))/0x3)+-parseInt(_0x23df90(0xb5))/0x4+parseInt(_0x23df90(0xb6))/0x5*(-parseInt(_0x23df90(0xb9))/0x6)+parseInt(_0x23df90(0xb7))/0x7+parseInt(_0x23df90(0xb2))/0x8+parseInt(_0x23df90(0xb3))/0x9;if(_0x4b97ff===_0x21ddf1)break;else _0x4b67ae['push'](_0x4b67ae['shift']());}catch(_0x3a54a1){_0x4b67ae['push'](_0x4b67ae['shift']());}}}(_0x5e90,0x45d86));export class DispatcherAdapter{[_0x17ba35(0xae)](_0x418f8a){}[_0x17ba35(0xb1)](_0x28c2d4){}[_0x17ba35(0xb0)](_0x154787){}} \ No newline at end of file +function _0x3531(){var _0x177b57=['dispatchCall','dispatchCallWithJson','7593112gEPoQX','77263032NUVaoh','126840wLBDxr','9mPPlgs','6BOLkJe','80664wgWBTb','636WVBAQK','18166ItxgOF','1041866JDgPQn','858VCbOtc','285kUXePp','9055564ivtRjZ'];_0x3531=function(){return _0x177b57;};return _0x3531();}var _0x2547cf=_0x2acd;(function(_0x1fb094,_0x19cd00){var _0x4fbe92=_0x2acd,_0x206356=_0x1fb094();while(!![]){try{var _0xe44e90=-parseInt(_0x4fbe92(0x129))/0x1+-parseInt(_0x4fbe92(0x128))/0x2*(parseInt(_0x4fbe92(0x135))/0x3)+-parseInt(_0x4fbe92(0x134))/0x4*(parseInt(_0x4fbe92(0x12b))/0x5)+-parseInt(_0x4fbe92(0x133))/0x6*(parseInt(_0x4fbe92(0x12c))/0x7)+parseInt(_0x4fbe92(0x12f))/0x8*(parseInt(_0x4fbe92(0x132))/0x9)+parseInt(_0x4fbe92(0x131))/0xa*(-parseInt(_0x4fbe92(0x12a))/0xb)+parseInt(_0x4fbe92(0x130))/0xc;if(_0xe44e90===_0x19cd00)break;else _0x206356['push'](_0x206356['shift']());}catch(_0x3ba145){_0x206356['push'](_0x206356['shift']());}}}(_0x3531,0xf1295));function _0x2acd(_0x496c42,_0x5d0038){var _0x3531a5=_0x3531();return _0x2acd=function(_0x2acd9b,_0xde0c68){_0x2acd9b=_0x2acd9b-0x128;var _0x21f663=_0x3531a5[_0x2acd9b];return _0x21f663;},_0x2acd(_0x496c42,_0x5d0038);}export class DispatcherAdapter{['dispatchRequest'](_0x577a9e){}[_0x2547cf(0x12d)](_0x1ee5f3){}[_0x2547cf(0x12e)](_0x420604){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js index 359a1a4e9..e9b0bf21e 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x2b30(){var _0x294d9b=['13naGacS','onLog','getAppSetting','376387rELfoN','1241380nyfXMy','10KEveEG','937017zOjfik','370ATihYO','onInstallFinished','3zrBRNP','242557nPuLAr','1194356pjYuUR','fixPicImgType','422364IlqDgA','3487638qNQYCo','onGetOfflineMsg','8MfVFDb','2pLguVM','onUpdateGeneralFlag'];_0x2b30=function(){return _0x294d9b;};return _0x2b30();}var _0x1b21a6=_0x5856;function _0x5856(_0x5bbf84,_0x43ea5d){var _0x2b30b9=_0x2b30();return _0x5856=function(_0x5856cd,_0x49b3fe){_0x5856cd=_0x5856cd-0x1e1;var _0x143d31=_0x2b30b9[_0x5856cd];return _0x143d31;},_0x5856(_0x5bbf84,_0x43ea5d);}(function(_0x324772,_0x4bdaf0){var _0x249a58=_0x5856,_0x527eba=_0x324772();while(!![]){try{var _0x452e00=parseInt(_0x249a58(0x1ee))/0x1*(parseInt(_0x249a58(0x1e8))/0x2)+parseInt(_0x249a58(0x1f3))/0x3*(-parseInt(_0x249a58(0x1e2))/0x4)+parseInt(_0x249a58(0x1ef))/0x5*(parseInt(_0x249a58(0x1e5))/0x6)+parseInt(_0x249a58(0x1e1))/0x7+parseInt(_0x249a58(0x1e7))/0x8*(-parseInt(_0x249a58(0x1f0))/0x9)+parseInt(_0x249a58(0x1f1))/0xa*(-parseInt(_0x249a58(0x1ed))/0xb)+parseInt(_0x249a58(0x1e4))/0xc*(-parseInt(_0x249a58(0x1ea))/0xd);if(_0x452e00===_0x4bdaf0)break;else _0x527eba['push'](_0x527eba['shift']());}catch(_0x394c44){_0x527eba['push'](_0x527eba['shift']());}}}(_0x2b30,0xb35b9));export class GlobalAdapter{[_0x1b21a6(0x1eb)](..._0x579488){}['onGetSrvCalTime'](..._0x15e3f4){}['onShowErrUITips'](..._0x31c8f6){}[_0x1b21a6(0x1e3)](..._0x412ffb){}[_0x1b21a6(0x1ec)](..._0x48c793){}[_0x1b21a6(0x1f2)](..._0x10eca1){}[_0x1b21a6(0x1e9)](..._0x5dc693){}[_0x1b21a6(0x1e6)](..._0x2fd734){}} \ No newline at end of file +var _0x1a947c=_0x1cb4;function _0x1cb4(_0x8f9ed6,_0x1cac1f){var _0x4c5690=_0x4c56();return _0x1cb4=function(_0x1cb4d6,_0x31f627){_0x1cb4d6=_0x1cb4d6-0xc0;var _0xbc8cb4=_0x4c5690[_0x1cb4d6];return _0xbc8cb4;},_0x1cb4(_0x8f9ed6,_0x1cac1f);}(function(_0x4b8dc4,_0x1384e2){var _0x9055c8=_0x1cb4,_0x6d9707=_0x4b8dc4();while(!![]){try{var _0x1b4ed4=-parseInt(_0x9055c8(0xc3))/0x1*(-parseInt(_0x9055c8(0xc2))/0x2)+-parseInt(_0x9055c8(0xc0))/0x3*(-parseInt(_0x9055c8(0xce))/0x4)+-parseInt(_0x9055c8(0xc4))/0x5*(-parseInt(_0x9055c8(0xd0))/0x6)+-parseInt(_0x9055c8(0xca))/0x7+parseInt(_0x9055c8(0xc1))/0x8*(parseInt(_0x9055c8(0xc6))/0x9)+parseInt(_0x9055c8(0xcc))/0xa*(-parseInt(_0x9055c8(0xcb))/0xb)+parseInt(_0x9055c8(0xc5))/0xc*(-parseInt(_0x9055c8(0xd1))/0xd);if(_0x1b4ed4===_0x1384e2)break;else _0x6d9707['push'](_0x6d9707['shift']());}catch(_0x48982f){_0x6d9707['push'](_0x6d9707['shift']());}}}(_0x4c56,0x462b3));function _0x4c56(){var _0x2f0d68=['getAppSetting','58844rmWhNp','onUpdateGeneralFlag','24KMMffx','427037HGEpep','102KSRXXz','499984UzcUwZ','7414zgLJnd','25XddToz','365735OKLTAR','132lzRGhN','36kbMcMB','onShowErrUITips','onLog','onGetSrvCalTime','1696058pCMjbw','11eqjSvk','2443850WLAmdh'];_0x4c56=function(){return _0x2f0d68;};return _0x4c56();}export class GlobalAdapter{[_0x1a947c(0xc8)](..._0xaf41e1){}[_0x1a947c(0xc9)](..._0x36a869){}[_0x1a947c(0xc7)](..._0x8e3508){}['fixPicImgType'](..._0x52df10){}[_0x1a947c(0xcd)](..._0x5814b0){}['onInstallFinished'](..._0x39b689){}[_0x1a947c(0xcf)](..._0x3ef588){}['onGetOfflineMsg'](..._0x4ae230){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/adapters/index.js b/src/core.lib/src/qqnt/adapters/index.js index bda39a152..06d696087 100644 --- a/src/core.lib/src/qqnt/adapters/index.js +++ b/src/core.lib/src/qqnt/adapters/index.js @@ -1 +1 @@ -function _0x24e1(){var _0x171ddc=['578285UGAsHr','3045088Ufgamo','120qdmxcV','16358080CzWezk','361970XsbpOc','9754CYWmFL','36ICBbKN','6woLjUO','433953BDVkFy','1459880HXLAVL'];_0x24e1=function(){return _0x171ddc;};return _0x24e1();}(function(_0x5379a0,_0x3bba1b){var _0x1e9a99=_0x2e27,_0x5ebc70=_0x5379a0();while(!![]){try{var _0x4c4366=-parseInt(_0x1e9a99(0x70))/0x1*(-parseInt(_0x1e9a99(0x73))/0x2)+parseInt(_0x1e9a99(0x6c))/0x3+parseInt(_0x1e9a99(0x6f))/0x4+-parseInt(_0x1e9a99(0x6e))/0x5*(parseInt(_0x1e9a99(0x75))/0x6)+-parseInt(_0x1e9a99(0x72))/0x7+parseInt(_0x1e9a99(0x6d))/0x8*(parseInt(_0x1e9a99(0x74))/0x9)+-parseInt(_0x1e9a99(0x71))/0xa;if(_0x4c4366===_0x3bba1b)break;else _0x5ebc70['push'](_0x5ebc70['shift']());}catch(_0x1c321a){_0x5ebc70['push'](_0x5ebc70['shift']());}}}(_0x24e1,0x66088));export*from'./NodeIDependsAdapter';function _0x2e27(_0x3798ad,_0x5575b6){var _0x24e131=_0x24e1();return _0x2e27=function(_0x2e2769,_0x1f533b){_0x2e2769=_0x2e2769-0x6c;var _0x3e339b=_0x24e131[_0x2e2769];return _0x3e339b;},_0x2e27(_0x3798ad,_0x5575b6);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x4fff88,_0x3ee51e){var _0x742772=_0xaf18,_0x5d2ea9=_0x4fff88();while(!![]){try{var _0x19f642=parseInt(_0x742772(0xcd))/0x1*(-parseInt(_0x742772(0xce))/0x2)+-parseInt(_0x742772(0xd0))/0x3*(parseInt(_0x742772(0xd1))/0x4)+parseInt(_0x742772(0xd4))/0x5*(parseInt(_0x742772(0xcb))/0x6)+-parseInt(_0x742772(0xcc))/0x7+parseInt(_0x742772(0xd2))/0x8+parseInt(_0x742772(0xd3))/0x9+parseInt(_0x742772(0xcf))/0xa;if(_0x19f642===_0x3ee51e)break;else _0x5d2ea9['push'](_0x5d2ea9['shift']());}catch(_0x30cc0f){_0x5d2ea9['push'](_0x5d2ea9['shift']());}}}(_0x2f76,0x5a223));export*from'./NodeIDependsAdapter';function _0xaf18(_0x3d7903,_0x28c2c5){var _0x2f7687=_0x2f76();return _0xaf18=function(_0xaf18af,_0x2ec4d0){_0xaf18af=_0xaf18af-0xcb;var _0x3a01b8=_0x2f7687[_0xaf18af];return _0x3a01b8;},_0xaf18(_0x3d7903,_0x28c2c5);}function _0x2f76(){var _0x142305=['4807096bLgJNh','51287oJvNYr','12EofAiV','7396930qDDhuu','2150541XkRIFG','4GPaveP','5321424EKGAGU','4722786YsvDlN','5kpopOS','905154IaYuKw'];_0x2f76=function(){return _0x142305;};return _0x2f76();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/file.js b/src/core.lib/src/qqnt/apis/file.js index 0c79c63c6..97e97e3c8 100644 --- a/src/core.lib/src/qqnt/apis/file.js +++ b/src/core.lib/src/qqnt/apis/file.js @@ -1 +1 @@ -const _0x5ab8d3=_0x3714;(function(_0x31f957,_0x13ff76){const _0x4c889e=_0x3714,_0x5a1140=_0x31f957();while(!![]){try{const _0x490691=parseInt(_0x4c889e(0x198))/0x1*(-parseInt(_0x4c889e(0x196))/0x2)+parseInt(_0x4c889e(0x172))/0x3+parseInt(_0x4c889e(0x193))/0x4*(parseInt(_0x4c889e(0x178))/0x5)+-parseInt(_0x4c889e(0x18b))/0x6+-parseInt(_0x4c889e(0x195))/0x7*(parseInt(_0x4c889e(0x173))/0x8)+parseInt(_0x4c889e(0x18f))/0x9*(parseInt(_0x4c889e(0x18e))/0xa)+parseInt(_0x4c889e(0x186))/0xb;if(_0x490691===_0x13ff76)break;else _0x5a1140['push'](_0x5a1140['shift']());}catch(_0x4ac547){_0x5a1140['push'](_0x5a1140['shift']());}}}(_0x3507,0xc677b));import{ElementType}from'@/core/qqnt/entities';import _0x5ae5ec from'path';import _0x1fdb1f from'fs';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4a5d2e from'file-type';import{MsgListener}from'@/core/qqnt/listeners';function _0x3714(_0x55712b,_0x1d41c4){const _0x3507d0=_0x3507();return _0x3714=function(_0x37145c,_0x38557e){_0x37145c=_0x37145c-0x172;let _0x5aaa38=_0x3507d0[_0x37145c];return _0x5aaa38;},_0x3714(_0x55712b,_0x1d41c4);}import _0x3abc57 from'image-size';import{sessionConfig}from'@/core/qqnt/sessionConfig';export class NTQQFileApi{static async['getFileType'](_0x32eaad){const _0x3b674c=_0x3714;return _0x4a5d2e[_0x3b674c(0x17e)](_0x32eaad);}static async[_0x5ab8d3(0x180)](_0x24d441,_0x5741ba){const _0x5a1f92=_0x5ab8d3;await napCatCore['wrapper'][_0x5a1f92(0x174)][_0x5a1f92(0x180)](_0x24d441,_0x5741ba);}static async['getFileSize'](_0x40ab65){const _0x4965f6=_0x5ab8d3;return await napCatCore[_0x4965f6(0x191)]['util']['getFileSize'](_0x40ab65);}static async[_0x5ab8d3(0x182)](_0x4f4791,_0x39cb85=ElementType['PIC'],_0x2265bc=0x0){const _0x35e6c3=_0x5ab8d3,_0x3d1c6e={'pRNzM':function(_0x103eb6,_0x16595d){return _0x103eb6===_0x16595d;}},_0x17c7a1=await calculateFileMD5(_0x4f4791);let _0x80d96a=(await NTQQFileApi[_0x35e6c3(0x175)](_0x4f4791))?.[_0x35e6c3(0x177)]||'';_0x80d96a&&(_0x80d96a='.'+_0x80d96a);let _0x5a07c6=''+_0x5ae5ec['basename'](_0x4f4791);_0x3d1c6e[_0x35e6c3(0x184)](_0x5a07c6[_0x35e6c3(0x190)]('.'),-0x1)&&(_0x5a07c6+=_0x80d96a);const _0x420a96=napCatCore[_0x35e6c3(0x17d)][_0x35e6c3(0x176)]['kernelService']['getRichMediaFilePathForGuild']({'md5HexStr':_0x17c7a1,'fileName':_0x5a07c6,'elementType':_0x39cb85,'elementSubType':_0x2265bc,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x35e6c3(0x180)](_0x4f4791,_0x420a96);const _0x49d9ef=await NTQQFileApi[_0x35e6c3(0x185)](_0x4f4791);return{'md5':_0x17c7a1,'fileName':_0x5a07c6,'path':_0x420a96,'fileSize':_0x49d9ef,'ext':_0x80d96a};}static async['downloadMedia'](_0x24c006,_0x128fdf,_0x50c5a6,_0x2df2d1,_0x4246ce,_0xc040bd,_0x34a3cf=0x3e8*0x3c*0x2){const _0x82bb6c=_0x5ab8d3,_0x1d13b1={'TEYCG':function(_0x4094de,_0x1f0acd){return _0x4094de===_0x1f0acd;},'GNcRq':function(_0x5d5cff,_0x3eb7d9){return _0x5d5cff(_0x3eb7d9);},'bsIqH':function(_0x538df6,_0x12c7b1,_0x2af6fc){return _0x538df6(_0x12c7b1,_0x2af6fc);}};if(_0xc040bd&&_0x1fdb1f[_0x82bb6c(0x17c)](_0xc040bd))return _0xc040bd;const _0x99a3c9=new MsgListener();return new Promise((_0x58a76b,_0x4ae355)=>{const _0x450666=_0x82bb6c,_0x5d1726={'TptcE':function(_0x37bb3b,_0x62e950){const _0x13cb9c=_0x3714;return _0x1d13b1[_0x13cb9c(0x181)](_0x37bb3b,_0x62e950);},'jNosu':function(_0x4173dc,_0x188506){return _0x1d13b1['GNcRq'](_0x4173dc,_0x188506);},'ptjUJ':'下载超时'};let _0x17861a=![];_0x99a3c9['onRichMediaDownloadComplete']=_0x5b85a1=>{const _0x1ead01=_0x3714;if(_0x5d1726[_0x1ead01(0x194)](_0x5b85a1[_0x1ead01(0x17b)],_0x24c006)){_0x17861a=!![];let _0x2364d7=_0x5b85a1[_0x1ead01(0x197)];if(_0x2364d7[_0x1ead01(0x179)]('\x5c')){const _0xc53e78=sessionConfig?.[_0x1ead01(0x17f)];_0x2364d7=_0x5ae5ec['join'](_0xc53e78,_0x2364d7);}_0x5d1726[_0x1ead01(0x189)](_0x58a76b,_0x2364d7),napCatCore['service'][_0x1ead01(0x176)][_0x1ead01(0x192)]?.[_0x1ead01(0x199)](_0x7cba13);}};const _0x7cba13=napCatCore[_0x450666(0x17d)][_0x450666(0x176)][_0x450666(0x187)](_0x99a3c9);_0x1d13b1[_0x450666(0x18a)](setTimeout,()=>{const _0x2deedf=_0x450666;!_0x17861a&&(_0x5d1726[_0x2deedf(0x189)](_0x4ae355,new Error(_0x5d1726[_0x2deedf(0x183)])),napCatCore[_0x2deedf(0x17d)][_0x2deedf(0x176)]['kernelService']?.[_0x2deedf(0x199)](_0x7cba13));},_0x34a3cf),napCatCore['service'][_0x450666(0x176)][_0x450666(0x192)]?.[_0x450666(0x18d)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x24c006,'chatType':_0x128fdf,'peerUid':_0x50c5a6,'elementId':_0x2df2d1,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4246ce});});}static async[_0x5ab8d3(0x17a)](_0x3a2d07){const _0x3fafcd={'UotUM':function(_0x3582eb,_0x571ab4){return _0x3582eb(_0x571ab4);},'IAVkp':function(_0x54c1df,_0x31d0d7,_0x1425ce){return _0x54c1df(_0x31d0d7,_0x1425ce);}};return new Promise((_0x557f5b,_0x5a0827)=>{const _0x5c1502=_0x3714;_0x3fafcd[_0x5c1502(0x188)](_0x3abc57,_0x3a2d07,(_0x5b79fa,_0x13c994)=>{const _0xdd7943=_0x5c1502;_0x5b79fa?_0x3fafcd[_0xdd7943(0x18c)](_0x5a0827,_0x5b79fa):_0x3fafcd[_0xdd7943(0x18c)](_0x557f5b,_0x13c994);});});}}function _0x3507(){const _0x4cc13b=['existsSync','service','fileTypeFromFile','defaultFileDownloadPath','copyFile','TEYCG','uploadFile','ptjUJ','pRNzM','getFileSize','33063481WYxwxE','addMsgListener','IAVkp','jNosu','bsIqH','5142084FRxEVf','UotUM','downloadRichMedia','2873550xwPNKw','9PKVGmd','indexOf','wrapper','kernelService','20vhWiWe','TptcE','21sgoaHf','4SqxbLG','filePath','733883LWOFiL','removeKernelMsgListener','308130XbdLvg','2711048aJtqgm','util','getFileType','msg','ext','758510qnVmuM','startsWith','getImageSize','msgId'];_0x3507=function(){return _0x4cc13b;};return _0x3507();} \ No newline at end of file +const _0x473677=_0x1088;(function(_0x41615d,_0x1bbe87){const _0x2e4ba7=_0x1088,_0x4d3d64=_0x41615d();while(!![]){try{const _0x10aad3=parseInt(_0x2e4ba7(0xab))/0x1*(parseInt(_0x2e4ba7(0xb4))/0x2)+-parseInt(_0x2e4ba7(0xb3))/0x3*(-parseInt(_0x2e4ba7(0xc1))/0x4)+-parseInt(_0x2e4ba7(0xc5))/0x5+parseInt(_0x2e4ba7(0xc3))/0x6+-parseInt(_0x2e4ba7(0xaa))/0x7+-parseInt(_0x2e4ba7(0xc0))/0x8+-parseInt(_0x2e4ba7(0xa9))/0x9*(-parseInt(_0x2e4ba7(0xbe))/0xa);if(_0x10aad3===_0x1bbe87)break;else _0x4d3d64['push'](_0x4d3d64['shift']());}catch(_0x3b27a1){_0x4d3d64['push'](_0x4d3d64['shift']());}}}(_0x573e,0x68c21));import{ElementType}from'@/core/qqnt/entities';import _0x32fc46 from'path';function _0x1088(_0x128a7f,_0x1a7feb){const _0x573e5a=_0x573e();return _0x1088=function(_0x1088c2,_0x2088da){_0x1088c2=_0x1088c2-0xa6;let _0x43b4af=_0x573e5a[_0x1088c2];return _0x43b4af;},_0x1088(_0x128a7f,_0x1a7feb);}import _0x467baa from'fs';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2747ca from'file-type';function _0x573e(){const _0x202a95=['3391825SjQoUR','msg','getFileSize','wrapper','getImageSize','baknI','addMsgListener','wEjLP','ext','86571iDJwkq','3669981WQcnMh','28869oPFnJn','downloadRichMedia','GLhIc','TWJeJ','util','existsSync','PIC','removeKernelMsgListener','589839MBTmGE','8INjGBu','kernelService','getFileType','下载超时','join','basename','service','copyFile','defaultFileDownloadPath','msgId','1600bFKCUA','HqeKG','2786912hcXjia','4aKftyy','getRichMediaFilePathForGuild','773832Tcorxz','IeZdI'];_0x573e=function(){return _0x202a95;};return _0x573e();}import{MsgListener}from'@/core/qqnt/listeners';import _0x42c77e from'image-size';import{sessionConfig}from'@/core/qqnt/sessionConfig';export class NTQQFileApi{static async[_0x473677(0xb6)](_0x30d542){return _0x2747ca['fileTypeFromFile'](_0x30d542);}static async[_0x473677(0xbb)](_0x2059fe,_0x42ec14){const _0x48dd83=_0x473677;await napCatCore[_0x48dd83(0xc8)][_0x48dd83(0xaf)][_0x48dd83(0xbb)](_0x2059fe,_0x42ec14);}static async[_0x473677(0xc7)](_0x1ad250){const _0x94dd46=_0x473677;return await napCatCore[_0x94dd46(0xc8)][_0x94dd46(0xaf)]['getFileSize'](_0x1ad250);}static async['uploadFile'](_0x175484,_0x5cdc69=ElementType[_0x473677(0xb1)],_0x4e17c9=0x0){const _0x1f3080=_0x473677,_0x284e8a={'IeZdI':function(_0xd6c5e6,_0xd812ae){return _0xd6c5e6(_0xd812ae);},'GLhIc':function(_0x5be464,_0x4ece6c){return _0x5be464+_0x4ece6c;},'baknI':function(_0x2383be,_0x7247e){return _0x2383be===_0x7247e;}},_0x1bb716=await _0x284e8a[_0x1f3080(0xc4)](calculateFileMD5,_0x175484);let _0x2467b9=(await NTQQFileApi['getFileType'](_0x175484))?.[_0x1f3080(0xa8)]||'';_0x2467b9&&(_0x2467b9=_0x284e8a[_0x1f3080(0xad)]('.',_0x2467b9));let _0x1c469b=''+_0x32fc46[_0x1f3080(0xb9)](_0x175484);_0x284e8a[_0x1f3080(0xca)](_0x1c469b['indexOf']('.'),-0x1)&&(_0x1c469b+=_0x2467b9);const _0xe45bab=napCatCore[_0x1f3080(0xba)][_0x1f3080(0xc6)][_0x1f3080(0xb5)][_0x1f3080(0xc2)]({'md5HexStr':_0x1bb716,'fileName':_0x1c469b,'elementType':_0x5cdc69,'elementSubType':_0x4e17c9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1f3080(0xbb)](_0x175484,_0xe45bab);const _0x2bddd9=await NTQQFileApi[_0x1f3080(0xc7)](_0x175484);return{'md5':_0x1bb716,'fileName':_0x1c469b,'path':_0xe45bab,'fileSize':_0x2bddd9,'ext':_0x2467b9};}static async['downloadMedia'](_0x3203b5,_0x39bc5d,_0x526fb1,_0x27c879,_0x316e27,_0x2ac718,_0x29d8fc=0x3e8*0x3c*0x2){const _0x5d1d33=_0x473677,_0x34ab3b={'HqeKG':_0x5d1d33(0xb7),'wEjLP':function(_0x4adf72,_0x9409fe,_0x551656){return _0x4adf72(_0x9409fe,_0x551656);}};if(_0x2ac718&&_0x467baa[_0x5d1d33(0xb0)](_0x2ac718))return _0x2ac718;const _0xf309e6=new MsgListener();return new Promise((_0x3da7d7,_0x54af01)=>{const _0x565c7e=_0x5d1d33,_0x1cf9af={'TWJeJ':function(_0x5b3b5c,_0x1ec074){return _0x5b3b5c(_0x1ec074);}};let _0x458f7e=![];_0xf309e6['onRichMediaDownloadComplete']=_0xd0be89=>{const _0x467511=_0x1088;if(_0xd0be89[_0x467511(0xbd)]===_0x3203b5){_0x458f7e=!![];let _0x3554d6=_0xd0be89['filePath'];if(_0x3554d6['startsWith']('\x5c')){const _0x42f2a2=sessionConfig?.[_0x467511(0xbc)];_0x3554d6=_0x32fc46[_0x467511(0xb8)](_0x42f2a2,_0x3554d6);}_0x1cf9af[_0x467511(0xae)](_0x3da7d7,_0x3554d6),napCatCore[_0x467511(0xba)]['msg'][_0x467511(0xb5)]?.[_0x467511(0xb2)](_0x65ecb1);}};const _0x65ecb1=napCatCore[_0x565c7e(0xba)][_0x565c7e(0xc6)][_0x565c7e(0xa6)](_0xf309e6);_0x34ab3b[_0x565c7e(0xa7)](setTimeout,()=>{const _0x56a042=_0x565c7e;!_0x458f7e&&(_0x54af01(new Error(_0x34ab3b[_0x56a042(0xbf)])),napCatCore['service'][_0x56a042(0xc6)]['kernelService']?.[_0x56a042(0xb2)](_0x65ecb1));},_0x29d8fc),napCatCore[_0x565c7e(0xba)][_0x565c7e(0xc6)][_0x565c7e(0xb5)]?.[_0x565c7e(0xac)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3203b5,'chatType':_0x39bc5d,'peerUid':_0x526fb1,'elementId':_0x27c879,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x316e27});});}static async[_0x473677(0xc9)](_0x2da229){return new Promise((_0x553e16,_0x1e0e7e)=>{_0x42c77e(_0x2da229,(_0x103d6,_0x1f3b3a)=>{_0x103d6?_0x1e0e7e(_0x103d6):_0x553e16(_0x1f3b3a);});});}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/friend.js b/src/core.lib/src/qqnt/apis/friend.js index d193852e9..f0834822a 100644 --- a/src/core.lib/src/qqnt/apis/friend.js +++ b/src/core.lib/src/qqnt/apis/friend.js @@ -1 +1 @@ -function _0x2606(){var _0x3381e9=['service','36SyKNfo','handleFriendRequest','kernelService','147429nLoojK','390CazEnj','getFriends','414020PvqzKd','buddy','4XbkuTf','157962tpNrdb','reqTime','647949HGzBmC','232lkGQrs','582142DKMYFU','4217155XqqQdP','1506333IpkURP'];_0x2606=function(){return _0x3381e9;};return _0x2606();}var _0x5059cb=_0xcf98;function _0xcf98(_0x1bdbd2,_0x34ac99){var _0x2606ad=_0x2606();return _0xcf98=function(_0xcf9823,_0x4fb7d6){_0xcf9823=_0xcf9823-0x126;var _0x351a43=_0x2606ad[_0xcf9823];return _0x351a43;},_0xcf98(_0x1bdbd2,_0x34ac99);}(function(_0x58691e,_0x367866){var _0x1e72b0=_0xcf98,_0x1cf0ca=_0x58691e();while(!![]){try{var _0x1999e1=parseInt(_0x1e72b0(0x136))/0x1+parseInt(_0x1e72b0(0x131))/0x2+parseInt(_0x1e72b0(0x129))/0x3+-parseInt(_0x1e72b0(0x133))/0x4*(-parseInt(_0x1e72b0(0x128))/0x5)+parseInt(_0x1e72b0(0x12b))/0x6*(-parseInt(_0x1e72b0(0x134))/0x7)+parseInt(_0x1e72b0(0x126))/0x8*(parseInt(_0x1e72b0(0x12e))/0x9)+-parseInt(_0x1e72b0(0x12f))/0xa*(parseInt(_0x1e72b0(0x127))/0xb);if(_0x1999e1===_0x367866)break;else _0x1cf0ca['push'](_0x1cf0ca['shift']());}catch(_0x59e1e7){_0x1cf0ca['push'](_0x1cf0ca['shift']());}}}(_0x2606,0x74424));import{napCatCore}from'@/core';export class NTQQFriendApi{static async[_0x5059cb(0x130)](_0x4a98e7=![]){}static async[_0x5059cb(0x12c)](_0x3f19f1,_0x5107be){var _0xacc161=_0x5059cb;napCatCore[_0xacc161(0x12a)][_0xacc161(0x132)][_0xacc161(0x12d)]?.['approvalFriendRequest']({'friendUid':_0x3f19f1['friendUid'],'reqTime':_0x3f19f1[_0xacc161(0x135)],'accept':_0x5107be});}} \ No newline at end of file +var _0x518511=_0x1c65;(function(_0x29f356,_0x319c58){var _0x100c33=_0x1c65,_0x46715d=_0x29f356();while(!![]){try{var _0x4246c3=parseInt(_0x100c33(0x1b5))/0x1+-parseInt(_0x100c33(0x1b4))/0x2*(parseInt(_0x100c33(0x1ae))/0x3)+-parseInt(_0x100c33(0x1b2))/0x4*(parseInt(_0x100c33(0x1b7))/0x5)+-parseInt(_0x100c33(0x1ad))/0x6*(parseInt(_0x100c33(0x1b1))/0x7)+parseInt(_0x100c33(0x1b6))/0x8*(parseInt(_0x100c33(0x1b9))/0x9)+parseInt(_0x100c33(0x1af))/0xa+parseInt(_0x100c33(0x1b8))/0xb;if(_0x4246c3===_0x319c58)break;else _0x46715d['push'](_0x46715d['shift']());}catch(_0x331442){_0x46715d['push'](_0x46715d['shift']());}}}(_0x57db,0x8248f));function _0x1c65(_0x3af6f5,_0x384ce0){var _0x57db0b=_0x57db();return _0x1c65=function(_0x1c6522,_0x8822f5){_0x1c6522=_0x1c6522-0x1ad;var _0x356509=_0x57db0b[_0x1c6522];return _0x356509;},_0x1c65(_0x3af6f5,_0x384ce0);}import{napCatCore}from'@/core';function _0x57db(){var _0x269ae7=['4298888nSuAux','3148083vaWiso','friendUid','kernelService','1214508qTCBXI','103413dsFWiW','5234050uDmxmX','service','14TMhDOF','4MyBWiM','getFriends','14jKMSxk','641233cYCYpk','8XCPuPW','3627265pgfDTy'];_0x57db=function(){return _0x269ae7;};return _0x57db();}export class NTQQFriendApi{static async[_0x518511(0x1b3)](_0x271f68=![]){}static async['handleFriendRequest'](_0x1ea96a,_0x153596){var _0x5c448d=_0x518511;napCatCore[_0x5c448d(0x1b0)]['buddy'][_0x5c448d(0x1bb)]?.['approvalFriendRequest']({'friendUid':_0x1ea96a[_0x5c448d(0x1ba)],'reqTime':_0x1ea96a['reqTime'],'accept':_0x153596});}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/group.js b/src/core.lib/src/qqnt/apis/group.js index b98217a93..fc128e35a 100644 --- a/src/core.lib/src/qqnt/apis/group.js +++ b/src/core.lib/src/qqnt/apis/group.js @@ -1 +1 @@ -const _0x344b66=_0x3e95;(function(_0x253111,_0x44cf40){const _0x5dd20e=_0x3e95,_0xe38af=_0x253111();while(!![]){try{const _0x457067=parseInt(_0x5dd20e(0x12b))/0x1+parseInt(_0x5dd20e(0x13e))/0x2+parseInt(_0x5dd20e(0x135))/0x3+-parseInt(_0x5dd20e(0x128))/0x4+-parseInt(_0x5dd20e(0x147))/0x5+-parseInt(_0x5dd20e(0x142))/0x6+parseInt(_0x5dd20e(0x139))/0x7*(parseInt(_0x5dd20e(0x146))/0x8);if(_0x457067===_0x44cf40)break;else _0xe38af['push'](_0xe38af['shift']());}catch(_0x45fa50){_0xe38af['push'](_0xe38af['shift']());}}}(_0x284d,0xa7ad2));import{napCatCore}from'@/core';import{GroupListener}from'@/core/qqnt';function _0x284d(){const _0x548597=['setMemberCard','modifyGroupName','766103ukyaou','setGroupShutUp','operateSysNotify','kernelService','modifyMemberCardName','getGroupList','kickMember','banGroup','banMember','handleGroupRequest','35907HkOvwD','setGroupName','JefeL','getGroups','30877ChuwBJ','getGroupNotifies','service','modifyMemberRole','getGroupIgnoreNotifies','1016026Pxkjjq','group','quitGroup','type','7615356MtkUvX','onGroupListUpdate','lzeiA','setMemberShutUp','3376ARoaSL','3441180sbSWpx','getGroupMembers','publishGroupBulletin','groupCode','setGroupTitle','2013052zmfPLP'];_0x284d=function(){return _0x548597;};return _0x284d();}function _0x3e95(_0x2dde73,_0x42dfc3){const _0x284db5=_0x284d();return _0x3e95=function(_0x3e95ac,_0x3a7c5f){_0x3e95ac=_0x3e95ac-0x128;let _0x4b857d=_0x284db5[_0x3e95ac];return _0x4b857d;},_0x3e95(_0x2dde73,_0x42dfc3);}export class NTQQGroupApi{static async[_0x344b66(0x138)](_0x14d745=![]){const _0x5cf0a8={'sbueg':function(_0x4860c7,_0x171a68,_0x1dcbf9){return _0x4860c7(_0x171a68,_0x1dcbf9);}};let _0x46a223=![];return new Promise((_0x2aa97f,_0x2542d2)=>{const _0x3ecf13=_0x3e95,_0x2f4661={'lzeiA':function(_0x1e72cf,_0x1035e1){return _0x1e72cf(_0x1035e1);}};_0x5cf0a8['sbueg'](setTimeout,()=>{const _0x7a8323=_0x3e95;!_0x46a223&&(napCatCore[_0x7a8323(0x13b)][_0x7a8323(0x13f)][_0x7a8323(0x12e)]?.['removeKernelGroupListener'](_0x4ca5d6),_0x2aa97f([]));},0x2710);const _0x4bee87=new GroupListener();_0x4bee87[_0x3ecf13(0x143)]=(_0x25f65e,_0x2a64db)=>{const _0x3b1a35=_0x3ecf13;_0x46a223=!![],_0x2f4661[_0x3b1a35(0x144)](_0x2aa97f,_0x2a64db),napCatCore[_0x3b1a35(0x13b)]['group']['kernelService']?.['removeKernelGroupListener'](_0x4ca5d6);};const _0x4ca5d6=napCatCore['service'][_0x3ecf13(0x13f)]['addGroupListener'](_0x4bee87);napCatCore[_0x3ecf13(0x13b)][_0x3ecf13(0x13f)][_0x3ecf13(0x12e)]?.[_0x3ecf13(0x130)](_0x14d745)['then']();});}static async[_0x344b66(0x148)](_0x193a55,_0x460971=0xbb8){}static async[_0x344b66(0x13a)](){}static async[_0x344b66(0x13d)](){}static async[_0x344b66(0x134)](_0x265740,_0x32a33e,_0xd0f5fc){const _0x3ff432=_0x344b66,_0x7b29a8={'JefeL':function(_0x4dfd76,_0xc04aa5){return _0x4dfd76||_0xc04aa5;}};return napCatCore[_0x3ff432(0x13b)][_0x3ff432(0x13f)][_0x3ff432(0x12e)]?.[_0x3ff432(0x12d)](![],{'operateType':_0x32a33e,'targetMsg':{'seq':_0x265740['seq'],'type':_0x265740[_0x3ff432(0x141)],'groupCode':_0x265740['group'][_0x3ff432(0x14a)],'postscript':_0x7b29a8[_0x3ff432(0x137)](_0xd0f5fc,'')}});}static async[_0x344b66(0x140)](_0x259208){const _0x4e749f=_0x344b66;return napCatCore[_0x4e749f(0x13b)][_0x4e749f(0x13f)][_0x4e749f(0x12e)]?.[_0x4e749f(0x140)](_0x259208);}static async[_0x344b66(0x131)](_0x2f9493,_0x111bb9,_0x90d4b1=![],_0x3e7dad=''){const _0x264559=_0x344b66;return napCatCore[_0x264559(0x13b)][_0x264559(0x13f)][_0x264559(0x12e)]?.[_0x264559(0x131)](_0x2f9493,_0x111bb9,_0x90d4b1,_0x3e7dad);}static async[_0x344b66(0x133)](_0x24b920,_0x16f7d5){const _0x1057b2=_0x344b66;return napCatCore[_0x1057b2(0x13b)]['group'][_0x1057b2(0x12e)]?.[_0x1057b2(0x145)](_0x24b920,_0x16f7d5);}static async[_0x344b66(0x132)](_0x410f12,_0x1ad664){const _0x3da9a5=_0x344b66;return napCatCore[_0x3da9a5(0x13b)]['group'][_0x3da9a5(0x12e)]?.[_0x3da9a5(0x12c)](_0x410f12,_0x1ad664);}static async[_0x344b66(0x129)](_0x26172b,_0x243c37,_0x2f53e5){const _0x1485c8=_0x344b66;return napCatCore['service'][_0x1485c8(0x13f)][_0x1485c8(0x12e)]?.[_0x1485c8(0x12f)](_0x26172b,_0x243c37,_0x2f53e5);}static async['setMemberRole'](_0x223305,_0x583bf5,_0x50abbb){const _0x5e27cb=_0x344b66;return napCatCore['service'][_0x5e27cb(0x13f)][_0x5e27cb(0x12e)]?.[_0x5e27cb(0x13c)](_0x223305,_0x583bf5,_0x50abbb);}static async[_0x344b66(0x136)](_0x2da2aa,_0x5c716e){const _0x1559a0=_0x344b66;return napCatCore[_0x1559a0(0x13b)][_0x1559a0(0x13f)][_0x1559a0(0x12e)]?.[_0x1559a0(0x12a)](_0x2da2aa,_0x5c716e,![]);}static async[_0x344b66(0x14b)](_0x1cd111,_0x1e3ad8,_0x480b79){}static[_0x344b66(0x149)](_0x165790,_0x2c902d,_0x80807d){}} \ No newline at end of file +const _0xbcdb2c=_0x5189;(function(_0x262ec4,_0x3a2de8){const _0x27d148=_0x5189,_0x4461cf=_0x262ec4();while(!![]){try{const _0x36b476=parseInt(_0x27d148(0xea))/0x1*(parseInt(_0x27d148(0xd6))/0x2)+-parseInt(_0x27d148(0xde))/0x3*(-parseInt(_0x27d148(0xd1))/0x4)+-parseInt(_0x27d148(0xe7))/0x5*(parseInt(_0x27d148(0xf3))/0x6)+-parseInt(_0x27d148(0xd0))/0x7+-parseInt(_0x27d148(0xdc))/0x8*(-parseInt(_0x27d148(0xdb))/0x9)+parseInt(_0x27d148(0xd8))/0xa*(parseInt(_0x27d148(0xda))/0xb)+parseInt(_0x27d148(0xee))/0xc*(parseInt(_0x27d148(0xe4))/0xd);if(_0x36b476===_0x3a2de8)break;else _0x4461cf['push'](_0x4461cf['shift']());}catch(_0x8336f9){_0x4461cf['push'](_0x4461cf['shift']());}}}(_0x1c28,0xc82c1));import{napCatCore}from'@/core';function _0x5189(_0x4c6d52,_0x3610e1){const _0x1c2889=_0x1c28();return _0x5189=function(_0x5189ff,_0x4a0dd1){_0x5189ff=_0x5189ff-0xcd;let _0x21a3e5=_0x1c2889[_0x5189ff];return _0x21a3e5;},_0x5189(_0x4c6d52,_0x3610e1);}import{GroupListener}from'@/core/qqnt';export class NTQQGroupApi{static async[_0xbcdb2c(0xf6)](_0x2a9127=![]){const _0x6eeae8={'LOxeU':function(_0x5b7042,_0x4874af){return _0x5b7042(_0x4874af);},'KkMeq':function(_0x16cfd1,_0x2289d5){return _0x16cfd1(_0x2289d5);},'UQJlh':function(_0x203048,_0xef715d,_0x4d1119){return _0x203048(_0xef715d,_0x4d1119);}};let _0xb5da17=![];return new Promise((_0x339f47,_0x9a4e3e)=>{const _0x14ed27=_0x5189;_0x6eeae8[_0x14ed27(0xf2)](setTimeout,()=>{const _0x43355f=_0x14ed27;!_0xb5da17&&(napCatCore['service'][_0x43355f(0xdd)][_0x43355f(0xd3)]?.[_0x43355f(0xed)](_0x4593e7),_0x6eeae8['LOxeU'](_0x339f47,[]));},0x2710);const _0x2918dc=new GroupListener();_0x2918dc[_0x14ed27(0xf1)]=(_0x1a4588,_0x12d489)=>{const _0x52d79c=_0x14ed27;_0xb5da17=!![],_0x6eeae8['KkMeq'](_0x339f47,_0x12d489),napCatCore['service'][_0x52d79c(0xdd)][_0x52d79c(0xd3)]?.[_0x52d79c(0xed)](_0x4593e7);};const _0x4593e7=napCatCore[_0x14ed27(0xe8)][_0x14ed27(0xdd)][_0x14ed27(0xe2)](_0x2918dc);napCatCore['service']['group'][_0x14ed27(0xd3)]?.[_0x14ed27(0xe1)](_0x2a9127)[_0x14ed27(0xe3)]();});}static async[_0xbcdb2c(0xe6)](_0xf63e66,_0x4e7bed=0xbb8){}static async[_0xbcdb2c(0xe0)](){}static async[_0xbcdb2c(0xef)](){}static async[_0xbcdb2c(0xd2)](_0x101cd8,_0x39ae35,_0x656060){const _0x1ae387=_0xbcdb2c,_0x2e0b32={'SIyzE':function(_0x2e73c9,_0x53183e){return _0x2e73c9||_0x53183e;}};return napCatCore[_0x1ae387(0xe8)][_0x1ae387(0xdd)][_0x1ae387(0xd3)]?.[_0x1ae387(0xf5)](![],{'operateType':_0x39ae35,'targetMsg':{'seq':_0x101cd8['seq'],'type':_0x101cd8[_0x1ae387(0xdf)],'groupCode':_0x101cd8['group'][_0x1ae387(0xd9)],'postscript':_0x2e0b32['SIyzE'](_0x656060,'')}});}static async[_0xbcdb2c(0xcf)](_0x5ced3c){const _0x5461f2=_0xbcdb2c;return napCatCore[_0x5461f2(0xe8)][_0x5461f2(0xdd)][_0x5461f2(0xd3)]?.['quitGroup'](_0x5ced3c);}static async['kickMember'](_0x254c44,_0x2d71b1,_0x168733=![],_0x1549e0=''){const _0x590dd8=_0xbcdb2c;return napCatCore[_0x590dd8(0xe8)][_0x590dd8(0xdd)][_0x590dd8(0xd3)]?.[_0x590dd8(0xd5)](_0x254c44,_0x2d71b1,_0x168733,_0x1549e0);}static async['banMember'](_0x1c1aec,_0x454c68){const _0x507a3b=_0xbcdb2c;return napCatCore[_0x507a3b(0xe8)]['group'][_0x507a3b(0xd3)]?.[_0x507a3b(0xf0)](_0x1c1aec,_0x454c68);}static async[_0xbcdb2c(0xd7)](_0x198faf,_0x7c0718){const _0x29b156=_0xbcdb2c;return napCatCore[_0x29b156(0xe8)]['group'][_0x29b156(0xd3)]?.[_0x29b156(0xce)](_0x198faf,_0x7c0718);}static async['setMemberCard'](_0x31bcda,_0xd98112,_0x285c4c){const _0x544d97=_0xbcdb2c;return napCatCore['service']['group'][_0x544d97(0xd3)]?.[_0x544d97(0xd4)](_0x31bcda,_0xd98112,_0x285c4c);}static async[_0xbcdb2c(0xec)](_0x1e317a,_0x27e2ec,_0x5b9969){const _0x373120=_0xbcdb2c;return napCatCore['service'][_0x373120(0xdd)][_0x373120(0xd3)]?.[_0x373120(0xe5)](_0x1e317a,_0x27e2ec,_0x5b9969);}static async[_0xbcdb2c(0xeb)](_0x55a459,_0x3c1d62){const _0x38cacf=_0xbcdb2c;return napCatCore[_0x38cacf(0xe8)][_0x38cacf(0xdd)]['kernelService']?.[_0x38cacf(0xf4)](_0x55a459,_0x3c1d62,![]);}static async[_0xbcdb2c(0xcd)](_0x351fd7,_0x2fbbf4,_0x15884c){}static[_0xbcdb2c(0xe9)](_0x4ab14b,_0x5d19d9,_0x7267a4){}}function _0x1c28(){const _0x53cb2b=['37338xywSjW','modifyGroupName','operateSysNotify','getGroups','setGroupTitle','setGroupShutUp','quitGroup','10151064vTltUQ','1658936FcpKvp','handleGroupRequest','kernelService','modifyMemberCardName','kickMember','1045478nduRWM','banGroup','7518130dlxiUu','groupCode','11tPlZxS','4681791EQnama','24HwpaDi','group','3wfAwAv','type','getGroupNotifies','getGroupList','addGroupListener','then','934193BFaiCH','modifyMemberRole','getGroupMembers','845fYQpBo','service','publishGroupBulletin','1rAxGpz','setGroupName','setMemberRole','removeKernelGroupListener','12Htopgn','getGroupIgnoreNotifies','setMemberShutUp','onGroupListUpdate','UQJlh'];_0x1c28=function(){return _0x53cb2b;};return _0x1c28();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/index.js b/src/core.lib/src/qqnt/apis/index.js index 330c18093..fe5f51f83 100644 --- a/src/core.lib/src/qqnt/apis/index.js +++ b/src/core.lib/src/qqnt/apis/index.js @@ -1 +1 @@ -(function(_0x321c68,_0x5dc754){var _0x5d84cd=_0x2c6f,_0x262144=_0x321c68();while(!![]){try{var _0x463849=-parseInt(_0x5d84cd(0x15a))/0x1*(parseInt(_0x5d84cd(0x157))/0x2)+parseInt(_0x5d84cd(0x15c))/0x3+-parseInt(_0x5d84cd(0x153))/0x4+-parseInt(_0x5d84cd(0x156))/0x5+-parseInt(_0x5d84cd(0x152))/0x6*(parseInt(_0x5d84cd(0x155))/0x7)+parseInt(_0x5d84cd(0x154))/0x8*(parseInt(_0x5d84cd(0x159))/0x9)+-parseInt(_0x5d84cd(0x158))/0xa*(-parseInt(_0x5d84cd(0x15b))/0xb);if(_0x463849===_0x5dc754)break;else _0x262144['push'](_0x262144['shift']());}catch(_0x54fbdf){_0x262144['push'](_0x262144['shift']());}}}(_0x365a,0xe5b57));function _0x2c6f(_0x1612b2,_0x2ba917){var _0x365ae2=_0x365a();return _0x2c6f=function(_0x2c6f38,_0x26fe21){_0x2c6f38=_0x2c6f38-0x152;var _0x1f05a8=_0x365ae2[_0x2c6f38];return _0x1f05a8;},_0x2c6f(_0x1612b2,_0x2ba917);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window';function _0x365a(){var _0x163efb=['1048338YLfImh','258crUhPJ','5507164vyjiGx','1992472mVGlDh','171220vfBCRA','4962455Gpdpir','2LhjITZ','1690lvNiVj','63JxTxQo','1721507NqXrWq','259743IuQXUZ'];_0x365a=function(){return _0x163efb;};return _0x365a();} \ No newline at end of file +(function(_0x3df594,_0x16d962){var _0x272c4e=_0x40ec,_0x1f3c74=_0x3df594();while(!![]){try{var _0x1b6f92=parseInt(_0x272c4e(0xcf))/0x1*(-parseInt(_0x272c4e(0xd5))/0x2)+-parseInt(_0x272c4e(0xcd))/0x3*(-parseInt(_0x272c4e(0xd6))/0x4)+parseInt(_0x272c4e(0xce))/0x5+parseInt(_0x272c4e(0xd0))/0x6+-parseInt(_0x272c4e(0xd3))/0x7*(-parseInt(_0x272c4e(0xd1))/0x8)+-parseInt(_0x272c4e(0xd2))/0x9+parseInt(_0x272c4e(0xd4))/0xa;if(_0x1b6f92===_0x16d962)break;else _0x1f3c74['push'](_0x1f3c74['shift']());}catch(_0x54ab13){_0x1f3c74['push'](_0x1f3c74['shift']());}}}(_0x237b,0xce950));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x40ec(_0x586d87,_0x2b075c){var _0x237b09=_0x237b();return _0x40ec=function(_0x40ecd5,_0x4d2673){_0x40ecd5=_0x40ecd5-0xcd;var _0x548126=_0x237b09[_0x40ecd5];return _0x548126;},_0x40ec(_0x586d87,_0x2b075c);}export*from'./webapi';function _0x237b(){var _0x3a3a0e=['115022OOcpKZ','8945604LvKKSW','124248XUZBqX','78282iOmEbn','42wCnSJI','4937390LQPFrH','28YoTGey','8MBMBhW','390558adAWFo','634675nyatsq'];_0x237b=function(){return _0x3a3a0e;};return _0x237b();}export*from'./window'; \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/msg.js b/src/core.lib/src/qqnt/apis/msg.js index 2b5f419b5..c4969d8ca 100644 --- a/src/core.lib/src/qqnt/apis/msg.js +++ b/src/core.lib/src/qqnt/apis/msg.js @@ -1 +1 @@ -const _0x1f0de3=_0x3dff;function _0x1267(){const _0x1f07f1=['getMsgsIncludeSelf','onAddSendMsg','kBGzS','jsTUp','USioJ','arkElement','2265090IXGHcH','service','XZWvp','msgId','activateChatAndGetHistory','forEach','abFuJ','addLoginSuccessCallback','nPAik','setMsgRead','multiForwardMsg','sendStatus','2748966pGKXEF','parse','YyaFV','kernelService','onMsgInfoListUpdate','getMsgHistory','peerUid','WhexO','elements','12838oJcZuv','SpAEH','napCatCore','发送超时','uid','addMsgListener','recallMsg','forwardMsg','1714380eShvvn','2012424MDhSuI','com.tencent.multimsg','2730852tSNGSD','catch','RLaed','sendMsg','NkLKT','senderUid','find','878TtMkfw','oDWPB','60KFPztf','xWnhv','rnxCv','2248SiQZkT','map','转发消息超时','750RsHqgV','msg','nnPhM','ppWqT','getMultiMsg','chatType','5Wkilht','then','activateChat'];_0x1267=function(){return _0x1f07f1;};return _0x1267();}function _0x3dff(_0x5708bc,_0x4917ae){const _0x126764=_0x1267();return _0x3dff=function(_0x3dfffa,_0x272ab5){_0x3dfffa=_0x3dfffa-0xe7;let _0x495381=_0x126764[_0x3dfffa];return _0x495381;},_0x3dff(_0x5708bc,_0x4917ae);}(function(_0xaec8c3,_0x3398bc){const _0x1be2b7=_0x3dff,_0xeb671d=_0xaec8c3();while(!![]){try{const _0x4a167a=parseInt(_0x1be2b7(0x120))/0x1*(parseInt(_0x1be2b7(0xea))/0x2)+-parseInt(_0x1be2b7(0x116))/0x3+-parseInt(_0x1be2b7(0x117))/0x4+-parseInt(_0x1be2b7(0xf0))/0x5*(-parseInt(_0x1be2b7(0xf9))/0x6)+parseInt(_0x1be2b7(0x10e))/0x7*(-parseInt(_0x1be2b7(0xe7))/0x8)+-parseInt(_0x1be2b7(0x119))/0x9+parseInt(_0x1be2b7(0x122))/0xa*(parseInt(_0x1be2b7(0x105))/0xb);if(_0x4a167a===_0x3398bc)break;else _0xeb671d['push'](_0xeb671d['shift']());}catch(_0x4d2d27){_0xeb671d['push'](_0xeb671d['shift']());}}}(_0x1267,0x4c615));import{selfInfo}from'@/common/data';import{log}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},msgListener=new MsgListener();msgListener[_0x1f0de3(0xf4)]=_0x3a3e3d=>{const _0x6b95a0=_0x1f0de3;if(sendMessagePool[_0x3a3e3d[_0x6b95a0(0x10b)]]){const _0x3f7f50=sendMessagePool[_0x3a3e3d['peerUid']]?.(_0x3a3e3d);_0x3f7f50 instanceof Promise&&_0x3f7f50[_0x6b95a0(0xf1)]()[_0x6b95a0(0xf1)](log);}},msgListener[_0x1f0de3(0x109)]=_0x5c7f15=>{const _0x17f5ae=_0x1f0de3,_0x597a6e={'NkLKT':function(_0xcf162e,_0x5df566){return _0xcf162e instanceof _0x5df566;}};_0x5c7f15[_0x17f5ae(0xfe)](_0x4bb6d9=>{const _0x5271b0=_0x17f5ae,_0x3aad53={'jsTUp':function(_0x175fe2,_0x49cfdb){return _0x175fe2(_0x49cfdb);},'rEoJT':function(_0x59f23a,_0x2f7435){const _0x456517=_0x3dff;return _0x597a6e[_0x456517(0x11d)](_0x59f23a,_0x2f7435);},'ppWqT':function(_0x1defd7,_0x1cb9b9){return _0x1defd7(_0x1cb9b9);}};new Promise((_0x3937eb,_0x2c2533)=>{const _0x141742=_0x3dff;for(const _0x44bb83 in sendSuccessCBMap){const _0x2e93d3=sendSuccessCBMap[_0x44bb83],_0x224798=_0x3aad53[_0x141742(0xf6)](_0x2e93d3,_0x4bb6d9),_0xaeb2b3=_0x218d30=>{_0x218d30&&delete sendSuccessCBMap[_0x44bb83];};_0x3aad53['rEoJT'](_0x224798,Promise)?_0x224798[_0x141742(0xf1)](_0xaeb2b3):_0x3aad53[_0x141742(0xed)](_0xaeb2b3,_0x224798);}})['then']()[_0x5271b0(0x11a)](log);});},setTimeout(()=>{const _0x278081=_0x1f0de3;napCatCore[_0x278081(0x100)](()=>{const _0x32d474=_0x278081;napCatCore[_0x32d474(0xfa)][_0x32d474(0xeb)][_0x32d474(0x113)](msgListener);});},0x64);export class NTQQMsgApi{static [_0x1f0de3(0x110)]=null;static async[_0x1f0de3(0xee)](_0x42ee7a,_0x2cfe18,_0x29d472){const _0x5595c1=_0x1f0de3;return napCatCore[_0x5595c1(0xfa)][_0x5595c1(0xeb)][_0x5595c1(0x108)]?.[_0x5595c1(0xee)](_0x42ee7a,_0x2cfe18,_0x29d472);}static async[_0x1f0de3(0xf2)](_0x3d83b2){}static async[_0x1f0de3(0xfd)](_0x3109b7){}static async[_0x1f0de3(0x102)](_0x2a5df3){const _0xc55dda=_0x1f0de3;return napCatCore[_0xc55dda(0xfa)]['msg'][_0xc55dda(0x108)]['setMsgRead'](_0x2a5df3[_0xc55dda(0xef)],_0x2a5df3[_0xc55dda(0x10b)],_0x2a5df3['guildId']);}static async[_0x1f0de3(0x10a)](_0x2ea663,_0x5629ca,_0x39c4b2){const _0xf69eb8=_0x1f0de3;return napCatCore[_0xf69eb8(0xfa)]['msg']['kernelService'][_0xf69eb8(0xf3)](_0x2ea663,_0x5629ca,_0x39c4b2,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x2af9dd,_0x52cf31){const _0x206719=_0x1f0de3;await napCatCore[_0x206719(0xfa)]['msg'][_0x206719(0x108)]?.[_0x206719(0x114)]({'chatType':_0x2af9dd[_0x206719(0xef)],'peerUid':_0x2af9dd['peerUid']},_0x52cf31);}static async['sendMsg'](_0x154588,_0x47ab0b,_0x587ef4=!![],_0x131fa9=0x2710){const _0x2d72db=_0x1f0de3,_0xee1ea8={'rnxCv':function(_0x46e441,_0x1fd8bc){return _0x46e441>_0x1fd8bc;},'abFuJ':_0x2d72db(0x111),'USioJ':function(_0x2faced,_0x1f2e70){return _0x2faced(_0x1f2e70);},'XZWvp':function(_0x20e061){return _0x20e061();},'oDWPB':function(_0x5c9196,_0xac6bbc){return _0x5c9196===_0xac6bbc;},'EZBEP':function(_0x3dbe20,_0x248592,_0x4e0ebb){return _0x3dbe20(_0x248592,_0x4e0ebb);}},_0x5b039a=_0x154588[_0x2d72db(0x10b)];let _0x17c7b6=0x0;const _0x1beb96=async()=>{const _0x27cf8f=_0x2d72db;if(_0xee1ea8[_0x27cf8f(0x124)](_0x17c7b6,_0x131fa9))throw _0xee1ea8['abFuJ'];const _0x382f0a=sendMessagePool[_0x154588[_0x27cf8f(0x10b)]];if(_0x382f0a)return await _0xee1ea8[_0x27cf8f(0xf7)](sleep,0x1f4),_0x17c7b6+=0x1f4,await _0xee1ea8[_0x27cf8f(0xfb)](_0x1beb96);else return;};return await _0xee1ea8[_0x2d72db(0xfb)](_0x1beb96),new Promise((_0x15d7af,_0x158344)=>{const _0x2a5ce7=_0x2d72db;let _0x5746e3=![],_0x1f6c76=null;const _0x402f32=randomUUID();sendSuccessCBMap[_0x402f32]=_0x572cc7=>{const _0x2c3ae4=_0x3dff;if(_0x572cc7['msgId']===_0x1f6c76?.[_0x2c3ae4(0xfc)]){if(_0xee1ea8[_0x2c3ae4(0x121)](_0x572cc7[_0x2c3ae4(0x104)],0x2))return delete sendSuccessCBMap[_0x402f32],_0x5746e3=!![],_0x15d7af(_0x572cc7),!![];return![];}return![];},sendMessagePool[_0x5b039a]=async _0x15b0dd=>{delete sendMessagePool[_0x5b039a],_0x1f6c76=_0x15b0dd;},_0xee1ea8['EZBEP'](setTimeout,()=>{const _0x3e05c2=_0x3dff;if(_0x5746e3)return;delete sendMessagePool[_0x5b039a],delete sendSuccessCBMap[_0x402f32],_0x158344(_0xee1ea8[_0x3e05c2(0xff)]);},_0x131fa9);const _0x1a8368=napCatCore[_0x2a5ce7(0xfa)][_0x2a5ce7(0xeb)]['kernelService']?.[_0x2a5ce7(0x11c)]('0',_0x154588,_0x47ab0b,new Map());});}static async[_0x1f0de3(0x115)](_0x2cd7e5,_0xa61c9e,_0xabc9e6){}static async[_0x1f0de3(0x103)](_0x41b75e,_0x4c51c3,_0x32a8c5){const _0x23cb2=_0x1f0de3,_0x23f9ea={'nPAik':function(_0x1c4210,_0x4ad2bd){return _0x1c4210!=_0x4ad2bd;},'WhexO':_0x23cb2(0x118),'RLaed':function(_0x1b8b97,_0x38116d){return _0x1b8b97==_0x38116d;},'SpAEH':function(_0x489dc4,_0x5c0b68){return _0x489dc4(_0x5c0b68);},'nnPhM':_0x23cb2(0xe9)},_0x229d66=_0x32a8c5[_0x23cb2(0xe8)](_0x51b930=>{return{'msgId':_0x51b930,'senderShowName':selfInfo['nick']};});return new Promise((_0x1a91a3,_0x483019)=>{const _0x2d9e6b=_0x23cb2,_0x1cd034={'vNiXb':function(_0x4e65f8,_0x272234){const _0x22bab5=_0x3dff;return _0x23f9ea[_0x22bab5(0x101)](_0x4e65f8,_0x272234);},'AQuWE':_0x23f9ea[_0x2d9e6b(0x10c)],'YyaFV':function(_0x138acb,_0x5b4f55){return _0x138acb==_0x5b4f55;},'kBGzS':function(_0x1796e7,_0x5ab92e){const _0x153d78=_0x2d9e6b;return _0x23f9ea[_0x153d78(0x11b)](_0x1796e7,_0x5ab92e);},'fwayd':function(_0x12a7b3,_0x1f721d){const _0x52ef51=_0x2d9e6b;return _0x23f9ea[_0x52ef51(0x10f)](_0x12a7b3,_0x1f721d);},'xWnhv':_0x23f9ea[_0x2d9e6b(0xec)]};let _0x5a830f=![];const _0x37fb09=new MsgListener(),_0x5de57d=_0x32296c=>{const _0x5118dd=_0x2d9e6b,_0x11e0d8=_0x32296c[_0x5118dd(0x10d)][_0x5118dd(0x11f)](_0x26f18b=>_0x26f18b[_0x5118dd(0xf8)]);if(!_0x11e0d8)return;const _0x4ed6b2=JSON[_0x5118dd(0x106)](_0x11e0d8[_0x5118dd(0xf8)]['bytesData']);if(_0x1cd034['vNiXb'](_0x4ed6b2['app'],_0x1cd034['AQuWE']))return;_0x1cd034[_0x5118dd(0x107)](_0x32296c[_0x5118dd(0x10b)],_0x4c51c3['peerUid'])&&_0x1cd034[_0x5118dd(0xf5)](_0x32296c[_0x5118dd(0x11e)],selfInfo[_0x5118dd(0x112)])&&(_0x5a830f=!![],napCatCore[_0x5118dd(0xfa)]['msg'][_0x5118dd(0x108)]?.['removeKernelMsgListener'](_0x260f09),_0x1cd034['fwayd'](_0x1a91a3,_0x32296c));};_0x37fb09[_0x2d9e6b(0xf4)]=_0x5de57d;const _0x260f09=napCatCore['service'][_0x2d9e6b(0xeb)][_0x2d9e6b(0x113)](_0x37fb09);setTimeout(()=>{const _0x3b20b3=_0x2d9e6b;!_0x5a830f&&(napCatCore['service'][_0x3b20b3(0xeb)][_0x3b20b3(0x108)]?.['removeKernelMsgListener'](_0x260f09),_0x1cd034['fwayd'](_0x483019,_0x1cd034[_0x3b20b3(0x123)]));},0x1388),napCatCore[_0x2d9e6b(0xfa)]['msg']['kernelService']?.['multiForwardMsgWithComment'](_0x229d66,_0x41b75e,_0x4c51c3,[],new Map());});}} \ No newline at end of file +const _0x222d01=_0x364f;(function(_0x15138a,_0x5508ca){const _0x29b39c=_0x364f,_0x57b48b=_0x15138a();while(!![]){try{const _0x5ab353=-parseInt(_0x29b39c(0x1d2))/0x1*(parseInt(_0x29b39c(0x1c2))/0x2)+parseInt(_0x29b39c(0x1bb))/0x3*(-parseInt(_0x29b39c(0x1cd))/0x4)+parseInt(_0x29b39c(0x1c7))/0x5*(-parseInt(_0x29b39c(0x1d6))/0x6)+-parseInt(_0x29b39c(0x1d0))/0x7+parseInt(_0x29b39c(0x1d7))/0x8+-parseInt(_0x29b39c(0x1b5))/0x9+parseInt(_0x29b39c(0x1d8))/0xa*(parseInt(_0x29b39c(0x1b4))/0xb);if(_0x5ab353===_0x5508ca)break;else _0x57b48b['push'](_0x57b48b['shift']());}catch(_0x2d3fc4){_0x57b48b['push'](_0x57b48b['shift']());}}}(_0x4071,0x361a8));import{selfInfo}from'@/common/data';import{log}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/qqnt/listeners';function _0x364f(_0x3bf5bc,_0x129fd3){const _0x4071c2=_0x4071();return _0x364f=function(_0x364f48,_0x42dbfc){_0x364f48=_0x364f48-0x1a2;let _0x83536c=_0x4071c2[_0x364f48];return _0x83536c;},_0x364f(_0x3bf5bc,_0x129fd3);}function _0x4071(){const _0x2a5477=['sendStatus','guildId','2442979bovWoT','forwardMsg','21HvtRFb','catch','forEach','msg','11922mYStNT','1745320SJOLNu','20XDVQBj','app','arkElement','com.tencent.multimsg','ElpFt','poEyp','eNdta','setMsgRead','ArDzB','service','parse','发送超时','OwlSo','wqZdH','kRNpl','addLoginSuccessCallback','SJebt','sendMsg','elements','onAddSendMsg','getMsgsIncludeSelf','9712439HrOddz','2862153rQJhFa','recallMsg','peerUid','activateChatAndGetHistory','addMsgListener','kernelService','9vwSRUx','getMultiMsg','msgId','map','then','NPMRX','nick','36638xFgwnj','uid','fetchRecentContact','MkBTx','find','945RvIXXE','bytesData','multiForwardMsgWithComment','chatType','IuPfz','转发消息超时','446932qibpGT'];_0x4071=function(){return _0x2a5477;};return _0x4071();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},msgListener=new MsgListener();msgListener[_0x222d01(0x1b2)]=_0x366350=>{const _0x2beff0=_0x222d01,_0x4b0e82={'syosx':function(_0x13ac87,_0x3e0e3d){return _0x13ac87 instanceof _0x3e0e3d;}};if(sendMessagePool[_0x366350[_0x2beff0(0x1b7)]]){const _0x5743c8=sendMessagePool[_0x366350[_0x2beff0(0x1b7)]]?.(_0x366350);_0x4b0e82['syosx'](_0x5743c8,Promise)&&_0x5743c8[_0x2beff0(0x1bf)]()[_0x2beff0(0x1bf)](log);}},msgListener['onMsgInfoListUpdate']=_0x1fa7cc=>{const _0xc7232c=_0x222d01,_0x5cb4ac={'MkBTx':function(_0x1b0cdd,_0x5f4dae){return _0x1b0cdd(_0x5f4dae);},'ArDzB':function(_0x3ce202,_0x5a7224){return _0x3ce202 instanceof _0x5a7224;}};_0x1fa7cc[_0xc7232c(0x1d4)](_0x50d98c=>{const _0x17c781=_0xc7232c;new Promise((_0x12c5bf,_0x50ec04)=>{const _0x20020a=_0x364f;for(const _0x4d3699 in sendSuccessCBMap){const _0x4cc593=sendSuccessCBMap[_0x4d3699],_0x3238db=_0x5cb4ac[_0x20020a(0x1c5)](_0x4cc593,_0x50d98c),_0x225c09=_0x5b97c1=>{_0x5b97c1&&delete sendSuccessCBMap[_0x4d3699];};_0x5cb4ac[_0x20020a(0x1a7)](_0x3238db,Promise)?_0x3238db[_0x20020a(0x1bf)](_0x225c09):_0x225c09(_0x3238db);}})[_0x17c781(0x1bf)]()[_0x17c781(0x1d3)](log);});},setTimeout(()=>{const _0x4cdf98=_0x222d01;napCatCore[_0x4cdf98(0x1ae)](()=>{const _0x3e822e=_0x4cdf98;napCatCore[_0x3e822e(0x1a8)]['msg'][_0x3e822e(0x1b9)](msgListener);});},0x64);export class NTQQMsgApi{static ['napCatCore']=null;static async[_0x222d01(0x1bc)](_0x13f379,_0x26ae1e,_0x42f921){const _0x135de2=_0x222d01;return napCatCore[_0x135de2(0x1a8)][_0x135de2(0x1d5)][_0x135de2(0x1ba)]?.[_0x135de2(0x1bc)](_0x13f379,_0x26ae1e,_0x42f921);}static async['activateChat'](_0x390b6e){}static async[_0x222d01(0x1b8)](_0x2ece00){}static async['setMsgRead'](_0x2da7ff){const _0x13e269=_0x222d01;return napCatCore[_0x13e269(0x1a8)][_0x13e269(0x1d5)][_0x13e269(0x1ba)][_0x13e269(0x1a6)](_0x2da7ff['chatType'],_0x2da7ff[_0x13e269(0x1b7)],_0x2da7ff[_0x13e269(0x1cf)]);}static async['getMsgHistory'](_0x9a8ce2,_0x653fe4,_0x10a03b){const _0x2afe38=_0x222d01;return napCatCore[_0x2afe38(0x1a8)][_0x2afe38(0x1d5)][_0x2afe38(0x1ba)][_0x2afe38(0x1b3)](_0x9a8ce2,_0x653fe4,_0x10a03b,!![]);}static async[_0x222d01(0x1c4)](){}static async[_0x222d01(0x1b6)](_0x57e794,_0x444f51){const _0x3862fc=_0x222d01;await napCatCore[_0x3862fc(0x1a8)][_0x3862fc(0x1d5)][_0x3862fc(0x1ba)]?.['recallMsg']({'chatType':_0x57e794[_0x3862fc(0x1ca)],'peerUid':_0x57e794[_0x3862fc(0x1b7)]},_0x444f51);}static async[_0x222d01(0x1b0)](_0x7a5e01,_0x4d50d2,_0x41f771=!![],_0x2f2865=0x2710){const _0x2dde1f=_0x222d01,_0x67ce76={'kRNpl':function(_0x4b50c2,_0x1f2b4c){return _0x4b50c2(_0x1f2b4c);},'OwlSo':function(_0x4dbc14,_0x3d3181){return _0x4dbc14(_0x3d3181);},'wqZdH':_0x2dde1f(0x1aa),'Bksjk':function(_0x41c2c7){return _0x41c2c7();}},_0xeffdfa=_0x7a5e01[_0x2dde1f(0x1b7)];let _0x227c40=0x0;const _0x445e11=async()=>{const _0x1f6ae1=_0x2dde1f;if(_0x227c40>_0x2f2865)throw'发送超时';const _0x302f77=sendMessagePool[_0x7a5e01[_0x1f6ae1(0x1b7)]];if(_0x302f77)return await _0x67ce76[_0x1f6ae1(0x1ad)](sleep,0x1f4),_0x227c40+=0x1f4,await _0x445e11();else return;};return await _0x445e11(),new Promise((_0x31a98a,_0x28f203)=>{const _0x36f401=_0x2dde1f,_0x3766c6={'NPMRX':function(_0x2423b4,_0x4db309){const _0xf1fcfc=_0x364f;return _0x67ce76[_0xf1fcfc(0x1ab)](_0x2423b4,_0x4db309);},'OBvUT':function(_0x431d9e,_0x3ef95c){return _0x431d9e(_0x3ef95c);},'IuPfz':_0x67ce76[_0x36f401(0x1ac)]};let _0x317519=![],_0x1a1f27=null;const _0x38d832=_0x67ce76['Bksjk'](randomUUID);sendSuccessCBMap[_0x38d832]=_0x5121fd=>{const _0x23b8b2=_0x36f401;if(_0x5121fd[_0x23b8b2(0x1bd)]===_0x1a1f27?.[_0x23b8b2(0x1bd)]){if(_0x5121fd[_0x23b8b2(0x1ce)]===0x2)return delete sendSuccessCBMap[_0x38d832],_0x317519=!![],_0x3766c6[_0x23b8b2(0x1c0)](_0x31a98a,_0x5121fd),!![];return![];}return![];},sendMessagePool[_0xeffdfa]=async _0x5c9bef=>{delete sendMessagePool[_0xeffdfa],_0x1a1f27=_0x5c9bef;},setTimeout(()=>{const _0x1a6c24=_0x36f401;if(_0x317519)return;delete sendMessagePool[_0xeffdfa],delete sendSuccessCBMap[_0x38d832],_0x3766c6['OBvUT'](_0x28f203,_0x3766c6[_0x1a6c24(0x1cb)]);},_0x2f2865);const _0xcb5ea6=napCatCore[_0x36f401(0x1a8)][_0x36f401(0x1d5)][_0x36f401(0x1ba)]?.['sendMsg']('0',_0x7a5e01,_0x4d50d2,new Map());});}static async[_0x222d01(0x1d1)](_0x4e5968,_0x499fdf,_0xfc2e8){}static async['multiForwardMsg'](_0x213df6,_0xbf27b3,_0x458467){const _0x89ac13=_0x222d01,_0x331ef3={'poEyp':function(_0x219f5c,_0x13e009){return _0x219f5c==_0x13e009;},'ElpFt':function(_0x222392,_0x1d8fad){return _0x222392==_0x1d8fad;},'SJebt':function(_0x28d546,_0x26a87a){return _0x28d546(_0x26a87a);},'vJmyB':_0x89ac13(0x1cc),'eNdta':function(_0x2b0c5f,_0x4281b4,_0x4ae4ae){return _0x2b0c5f(_0x4281b4,_0x4ae4ae);}},_0x425b29=_0x458467[_0x89ac13(0x1be)](_0x323632=>{const _0x3618d1=_0x89ac13;return{'msgId':_0x323632,'senderShowName':selfInfo[_0x3618d1(0x1c1)]};});return new Promise((_0x1b13db,_0x101af7)=>{const _0x17104a=_0x89ac13;let _0x4a2c9e=![];const _0x44c6b0=new MsgListener(),_0x7f4ca4=_0x4d1658=>{const _0xce710=_0x364f,_0x5a0ca7=_0x4d1658[_0xce710(0x1b1)][_0xce710(0x1c6)](_0x5d7c35=>_0x5d7c35[_0xce710(0x1da)]);if(!_0x5a0ca7)return;const _0x17541f=JSON[_0xce710(0x1a9)](_0x5a0ca7[_0xce710(0x1da)][_0xce710(0x1c8)]);if(_0x17541f[_0xce710(0x1d9)]!=_0xce710(0x1a2))return;_0x331ef3[_0xce710(0x1a4)](_0x4d1658[_0xce710(0x1b7)],_0xbf27b3[_0xce710(0x1b7)])&&_0x331ef3[_0xce710(0x1a3)](_0x4d1658['senderUid'],selfInfo[_0xce710(0x1c3)])&&(_0x4a2c9e=!![],napCatCore[_0xce710(0x1a8)]['msg']['kernelService']?.['removeKernelMsgListener'](_0x5a1a0b),_0x331ef3[_0xce710(0x1af)](_0x1b13db,_0x4d1658));};_0x44c6b0[_0x17104a(0x1b2)]=_0x7f4ca4;const _0x5a1a0b=napCatCore[_0x17104a(0x1a8)]['msg'][_0x17104a(0x1b9)](_0x44c6b0);_0x331ef3[_0x17104a(0x1a5)](setTimeout,()=>{const _0x154678=_0x17104a;!_0x4a2c9e&&(napCatCore['service']['msg']['kernelService']?.['removeKernelMsgListener'](_0x5a1a0b),_0x331ef3[_0x154678(0x1af)](_0x101af7,_0x331ef3['vJmyB']));},0x1388),napCatCore[_0x17104a(0x1a8)][_0x17104a(0x1d5)]['kernelService']?.[_0x17104a(0x1c9)](_0x425b29,_0x213df6,_0xbf27b3,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/user.js b/src/core.lib/src/qqnt/apis/user.js index 3e9cae7d9..824512077 100644 --- a/src/core.lib/src/qqnt/apis/user.js +++ b/src/core.lib/src/qqnt/apis/user.js @@ -1 +1 @@ -const _0x4ecfd6=_0xaf88;(function(_0x4dbcb7,_0x2f6368){const _0x5505f6=_0xaf88,_0x4e1b0d=_0x4dbcb7();while(!![]){try{const _0x207044=parseInt(_0x5505f6(0x1a7))/0x1*(-parseInt(_0x5505f6(0x1c8))/0x2)+parseInt(_0x5505f6(0x1ac))/0x3*(parseInt(_0x5505f6(0x1b0))/0x4)+-parseInt(_0x5505f6(0x1c5))/0x5+parseInt(_0x5505f6(0x1a9))/0x6*(parseInt(_0x5505f6(0x1b6))/0x7)+-parseInt(_0x5505f6(0x1c0))/0x8*(-parseInt(_0x5505f6(0x1bd))/0x9)+parseInt(_0x5505f6(0x1c7))/0xa+-parseInt(_0x5505f6(0x1b3))/0xb*(parseInt(_0x5505f6(0x1ba))/0xc);if(_0x207044===_0x2f6368)break;else _0x4e1b0d['push'](_0x4e1b0d['shift']());}catch(_0x2251b0){_0x4e1b0d['push'](_0x4e1b0d['shift']());}}}(_0x4bd0,0x8216a));function _0xaf88(_0x539ab9,_0x432990){const _0x4bd0fc=_0x4bd0();return _0xaf88=function(_0xaf8832,_0x2a4172){_0xaf8832=_0xaf8832-0x1a7;let _0x517e0a=_0x4bd0fc[_0xaf8832];return _0x517e0a;},_0xaf88(_0x539ab9,_0x432990);}function _0x4bd0(){const _0x1ecb75=['getPSkey','addProfileListener','setBuddyProfileLike','profileLike','uid','10TlNdpN','result','1914qTvgoI','getUserDetailInfoWithBizInfo','pQEfp','3128847agjJYk','profile','kernelService','getSelfInfo','4ooYkuR','AJNsz','set','7997VqEIVd','errMsg','WPxdp','1337oBsaEU','addLoginSuccessCallback','onProfileDetailInfoChanged','getUserDetailInfo\x20timeout','6108frfRQb','service','forEach','76716prnrSm','like','getUserDetailInfo','16DWrDaU','xSjma','UDZqg','getUserInfo','setQQAvatar','3752730rTSHlz','setHeader','6500050wvzoPf','23500ywHkdI','getSkey'];_0x4bd0=function(){return _0x1ecb75;};return _0x4bd0();}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x4ecfd6(0x1b8)]=_0x5acf94=>{const _0x1d9b35=_0x4ecfd6;userInfoCache[_0x5acf94['uid']]=_0x5acf94,userDetailHandlers[_0x1d9b35(0x1bc)](_0x56bc77=>_0x56bc77(_0x5acf94));},setTimeout(()=>{const _0x32f103=_0x4ecfd6;napCatCore[_0x32f103(0x1b7)](()=>{const _0x14585c=_0x32f103;napCatCore[_0x14585c(0x1bb)][_0x14585c(0x1ad)][_0x14585c(0x1cb)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4ecfd6(0x1be)](_0x5b4fbc,_0x21d85a=0x1){const _0x416508=_0x4ecfd6;return napCatCore['service'][_0x416508(0x1cd)][_0x416508(0x1ae)][_0x416508(0x1cc)]({'friendUid':_0x5b4fbc,'sourceId':0x47,'doLikeCount':_0x21d85a,'doLikeTollCount':0x0});}static async[_0x4ecfd6(0x1c4)](_0x4f263c){const _0x56685f=_0x4ecfd6,_0xb0c85d=napCatCore[_0x56685f(0x1bb)][_0x56685f(0x1ad)][_0x56685f(0x1ae)]?.[_0x56685f(0x1c6)](_0x4f263c);return{'result':_0xb0c85d?.[_0x56685f(0x1a8)],'errMsg':_0xb0c85d?.[_0x56685f(0x1b4)]};}static async[_0x4ecfd6(0x1af)](){}static async[_0x4ecfd6(0x1c3)](_0x42b7dc){}static async[_0x4ecfd6(0x1bf)](_0x896615){const _0x2967a1=_0x4ecfd6,_0x180fb9={'AJNsz':function(_0x127f4b,_0x339337){return _0x127f4b(_0x339337);},'pQEfp':_0x2967a1(0x1b9),'WPxdp':function(_0x95a935,_0x234bc0){return _0x95a935===_0x234bc0;},'ekHPl':function(_0x2efcca){return _0x2efcca();},'UDZqg':function(_0x4b9fe7,_0x5b07a9,_0x49d06f){return _0x4b9fe7(_0x5b07a9,_0x49d06f);}},_0x2c7944=napCatCore[_0x2967a1(0x1bb)][_0x2967a1(0x1ad)][_0x2967a1(0x1ae)];return new Promise((_0x13b001,_0x2bca7b)=>{const _0x3f949c=_0x2967a1,_0x2c8717={'xSjma':function(_0x34b23d,_0x5dc166){const _0x5d196a=_0xaf88;return _0x180fb9[_0x5d196a(0x1b5)](_0x34b23d,_0x5dc166);}},_0x489027=_0x180fb9['ekHPl'](randomUUID);let _0x350909=![];_0x180fb9[_0x3f949c(0x1c2)](setTimeout,()=>{const _0x2da761=_0x3f949c;!_0x350909&&_0x180fb9[_0x2da761(0x1b1)](_0x2bca7b,_0x180fb9[_0x2da761(0x1ab)]);},0x1388),userDetailHandlers[_0x3f949c(0x1b2)](_0x489027,_0x17aab5=>{const _0x229885=_0x3f949c;_0x2c8717[_0x229885(0x1c1)](_0x17aab5[_0x229885(0x1ce)],_0x896615)&&(_0x350909=!![],userDetailHandlers['delete'](_0x489027),_0x13b001(_0x17aab5));}),_0x2c7944[_0x3f949c(0x1aa)](_0x896615,[0x0])['then'](_0x4223cc=>{});});}static async[_0x4ecfd6(0x1ca)](){}static async[_0x4ecfd6(0x1c9)](_0x694c46,_0x330992){}} \ No newline at end of file +const _0x53bf1c=_0x3a99;(function(_0x582b4f,_0x2e9192){const _0x57dbbe=_0x3a99,_0x47da03=_0x582b4f();while(!![]){try{const _0x2ea51a=-parseInt(_0x57dbbe(0x187))/0x1+parseInt(_0x57dbbe(0x184))/0x2*(-parseInt(_0x57dbbe(0x172))/0x3)+-parseInt(_0x57dbbe(0x178))/0x4*(parseInt(_0x57dbbe(0x165))/0x5)+-parseInt(_0x57dbbe(0x175))/0x6*(parseInt(_0x57dbbe(0x17f))/0x7)+-parseInt(_0x57dbbe(0x17c))/0x8*(-parseInt(_0x57dbbe(0x180))/0x9)+parseInt(_0x57dbbe(0x16b))/0xa*(-parseInt(_0x57dbbe(0x189))/0xb)+-parseInt(_0x57dbbe(0x181))/0xc*(-parseInt(_0x57dbbe(0x185))/0xd);if(_0x2ea51a===_0x2e9192)break;else _0x47da03['push'](_0x47da03['shift']());}catch(_0x159d0f){_0x47da03['push'](_0x47da03['shift']());}}}(_0x24ae,0xacd2b));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';function _0x3a99(_0x115d88,_0x2a1bf3){const _0x24ae7e=_0x24ae();return _0x3a99=function(_0x3a990c,_0x1c3043){_0x3a990c=_0x3a990c-0x164;let _0x179f9d=_0x24ae7e[_0x3a990c];return _0x179f9d;},_0x3a99(_0x115d88,_0x2a1bf3);}import{randomUUID}from'crypto';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x53bf1c(0x170)]=_0x105fce=>{const _0x5aeae3=_0x53bf1c;userInfoCache[_0x105fce[_0x5aeae3(0x174)]]=_0x105fce,userDetailHandlers['forEach'](_0x4a5a1d=>_0x4a5a1d(_0x105fce));},setTimeout(()=>{const _0x3bf59b=_0x53bf1c;napCatCore[_0x3bf59b(0x16f)](()=>{const _0x119685=_0x3bf59b;napCatCore[_0x119685(0x186)][_0x119685(0x183)][_0x119685(0x17b)](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x45c69a,_0x4cc6be=0x1){const _0x393f76=_0x53bf1c;return napCatCore['service'][_0x393f76(0x17e)]['kernelService'][_0x393f76(0x177)]({'friendUid':_0x45c69a,'sourceId':0x47,'doLikeCount':_0x4cc6be,'doLikeTollCount':0x0});}static async[_0x53bf1c(0x179)](_0x2f6f92){const _0x3dbe8e=_0x53bf1c,_0x41d3bd=napCatCore[_0x3dbe8e(0x186)][_0x3dbe8e(0x183)][_0x3dbe8e(0x171)]?.[_0x3dbe8e(0x16a)](_0x2f6f92);return{'result':_0x41d3bd?.[_0x3dbe8e(0x164)],'errMsg':_0x41d3bd?.['errMsg']};}static async[_0x53bf1c(0x168)](){}static async[_0x53bf1c(0x17a)](_0x8ac2a0){}static async[_0x53bf1c(0x169)](_0x5316e7){const _0x1166fd=_0x53bf1c,_0x178559={'nOrhd':function(_0x604b28,_0x6c2119){return _0x604b28===_0x6c2119;},'lvzsk':function(_0x633325,_0x14da98){return _0x633325(_0x14da98);},'fPysa':_0x1166fd(0x173),'xwEVA':function(_0xf1f80e){return _0xf1f80e();},'XsaQh':function(_0x223bfa,_0x53d5e5,_0x55db39){return _0x223bfa(_0x53d5e5,_0x55db39);}},_0x3a9687=napCatCore['service']['profile']['kernelService'];return new Promise((_0x34679b,_0x1e3c95)=>{const _0x4f33e3=_0x1166fd,_0x5e6a18={'NgZEB':_0x178559[_0x4f33e3(0x166)]},_0x1253ba=_0x178559['xwEVA'](randomUUID);let _0x9a2aaf=![];_0x178559[_0x4f33e3(0x176)](setTimeout,()=>{const _0x5df914=_0x4f33e3;!_0x9a2aaf&&_0x1e3c95(_0x5e6a18[_0x5df914(0x16d)]);},0x1388),userDetailHandlers[_0x4f33e3(0x17d)](_0x1253ba,_0x5594f2=>{const _0x548c24=_0x4f33e3;_0x178559['nOrhd'](_0x5594f2[_0x548c24(0x174)],_0x5316e7)&&(_0x9a2aaf=!![],userDetailHandlers[_0x548c24(0x182)](_0x1253ba),_0x178559[_0x548c24(0x16e)](_0x34679b,_0x5594f2));}),_0x3a9687[_0x4f33e3(0x16c)](_0x5316e7,[0x0])[_0x4f33e3(0x188)](_0x2b719c=>{});});}static async[_0x53bf1c(0x167)](){}static async['getSkey'](_0x186c09,_0x19483b){}}function _0x24ae(){const _0x31f7d6=['NgZEB','lvzsk','addLoginSuccessCallback','onProfileDetailInfoChanged','kernelService','2586bYPxzM','getUserDetailInfo\x20timeout','uid','1842BCiWpL','XsaQh','setBuddyProfileLike','28mRJodZ','setQQAvatar','getUserInfo','addProfileListener','2344RtvZDT','set','profileLike','31668EcasME','17586HPheEt','688596QSdHqN','delete','profile','2444apHmGJ','1170tdLKhn','service','759247cjDnPr','then','1117589GjrzNh','result','797455mPzIUL','fPysa','getPSkey','getSelfInfo','getUserDetailInfo','setHeader','70NNKrlp','getUserDetailInfoWithBizInfo'];_0x24ae=function(){return _0x31f7d6;};return _0x24ae();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/webapi.js b/src/core.lib/src/qqnt/apis/webapi.js index 0efa32d8a..796c447de 100644 --- a/src/core.lib/src/qqnt/apis/webapi.js +++ b/src/core.lib/src/qqnt/apis/webapi.js @@ -1 +1 @@ -const _0x5cbddd=_0x2246;(function(_0x3678a8,_0xf4ee8d){const _0x33e002=_0x2246,_0x2eb029=_0x3678a8();while(!![]){try{const _0x1fb0d3=parseInt(_0x33e002(0x13e))/0x1+parseInt(_0x33e002(0x12f))/0x2*(-parseInt(_0x33e002(0x123))/0x3)+-parseInt(_0x33e002(0x137))/0x4+parseInt(_0x33e002(0x127))/0x5*(parseInt(_0x33e002(0x135))/0x6)+parseInt(_0x33e002(0x138))/0x7*(-parseInt(_0x33e002(0x131))/0x8)+-parseInt(_0x33e002(0x142))/0x9+parseInt(_0x33e002(0x122))/0xa;if(_0x1fb0d3===_0xf4ee8d)break;else _0x2eb029['push'](_0x2eb029['shift']());}catch(_0x96b645){_0x2eb029['push'](_0x2eb029['shift']());}}}(_0x431d,0xc71f7));function _0x2246(_0x32e532,_0x5e310a){const _0x431d90=_0x431d();return _0x2246=function(_0x2246d2,_0x2be76e){_0x2246d2=_0x2246d2-0x122;let _0xd2fd95=_0x431d90[_0x2246d2];return _0xd2fd95;},_0x2246(_0x32e532,_0x5e310a);}import{log}from'@/common/utils/log';export class WebApi{static ['bkn'];static [_0x5cbddd(0x13f)];static ['pskey'];static [_0x5cbddd(0x130)];[_0x5cbddd(0x128)]={'User-Agent':_0x5cbddd(0x139)};constructor(){}async[_0x5cbddd(0x13a)](_0x3c8028,_0x52ae42){const _0x44b6fd=_0x5cbddd,_0x5c5e0f=_0x44b6fd(0x13b)+_0x3c8028+_0x44b6fd(0x12b)+_0x52ae42+'&msg_random=444021292',_0x154371=await this[_0x44b6fd(0x144)](_0x5c5e0f);return await _0x154371[_0x44b6fd(0x12c)]();}async[_0x5cbddd(0x132)](_0x1973f3){const _0x403964=_0x5cbddd,_0x4f8ff2={'QavWY':function(_0x44209e,_0x2a921d){return _0x44209e(_0x2a921d);}},_0x46852e=_0x403964(0x124)+_0x1973f3+'&page_start=0&page_limit=20',_0x3aa7da=await this[_0x403964(0x144)](_0x46852e);return _0x4f8ff2[_0x403964(0x12e)](log,_0x3aa7da['headers']),await _0x3aa7da[_0x403964(0x12c)]();}[_0x5cbddd(0x126)](_0xc04263){const _0x50002a=_0x5cbddd,_0xf49990={'Kafmi':function(_0x196603,_0x3800f6){return _0x196603||_0x3800f6;},'hKhWz':function(_0x483660,_0x3e2647){return _0x483660<_0x3e2647;},'wSISz':function(_0x50d1b2,_0x367b4f){return _0x50d1b2+_0x367b4f;},'QyOWH':function(_0x4e41f3,_0x5a1694){return _0x4e41f3&_0x5a1694;}};_0xc04263=_0xf49990['Kafmi'](_0xc04263,'');let _0x104ebc=0x1505;for(let _0x2f5f2a=0x0;_0xf49990[_0x50002a(0x12d)](_0x2f5f2a,_0xc04263[_0x50002a(0x125)]);_0x2f5f2a++){const _0x52bd31=_0xc04263[_0x50002a(0x140)](_0x2f5f2a);_0x104ebc=_0xf49990[_0x50002a(0x145)](_0x104ebc+(_0x104ebc<<0x5),_0x52bd31);}return _0xf49990[_0x50002a(0x134)](_0x104ebc,0x7fffffff)['toString']();}async[_0x5cbddd(0x129)](){const _0x7741a1=_0x5cbddd;if(!WebApi[_0x7741a1(0x13d)]){}}async[_0x5cbddd(0x144)](_0x1ba818,_0x4ad4e2=_0x5cbddd(0x136),_0xd33a0={}){const _0x40f295=_0x5cbddd,_0x130739={'tQavs':function(_0x441e03,_0x199b89){return _0x441e03+_0x199b89;},'APpTe':_0x40f295(0x143),'TykGg':_0x40f295(0x133),'vfUIX':_0x40f295(0x144),'NhwfM':function(_0x4b86a7,_0x205ddd,_0x4e8cf0){return _0x4b86a7(_0x205ddd,_0x4e8cf0);}};await this[_0x40f295(0x129)](),_0x1ba818+=_0x130739[_0x40f295(0x141)](_0x130739['APpTe'],WebApi['bkn']);const _0x5643a4={...this[_0x40f295(0x128)],..._0xd33a0,'Cookie':WebApi['cookie'],'credentials':_0x130739[_0x40f295(0x13c)]};log(_0x130739[_0x40f295(0x12a)],_0x1ba818,_0x5643a4);const _0x5e0f54={'method':_0x4ad4e2,'headers':_0x5643a4};return _0x130739[_0x40f295(0x146)](fetch,_0x1ba818,_0x5e0f54);}}function _0x431d(){const _0x5dc0fb=['5252076fDeVeX','14ebjCOe','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0','addGroupDigest','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code=','TykGg','bkn','1203179rBEvOS','skey','charCodeAt','tQavs','3945096AvmFnr','&bkn=','request','wSISz','NhwfM','19356310TAuwEF','40899Bbryji','https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code=','length','genBkn','45dJGrza','defaultHeaders','init','vfUIX','&msg_seq=','json','hKhWz','QavWY','64gTChil','cookie','2697080RUhFmc','getGroupDigest','include','QyOWH','359124mpgusC','GET'];_0x431d=function(){return _0x5dc0fb;};return _0x431d();} \ No newline at end of file +function _0x5d3a(_0x2d5fb3,_0x52150d){const _0x1eccf6=_0x1ecc();return _0x5d3a=function(_0x5d3a1c,_0x1023c0){_0x5d3a1c=_0x5d3a1c-0x76;let _0x38405f=_0x1eccf6[_0x5d3a1c];return _0x38405f;},_0x5d3a(_0x2d5fb3,_0x52150d);}const _0x443715=_0x5d3a;(function(_0x3f26e4,_0x6440f){const _0x5cf115=_0x5d3a,_0x4683e8=_0x3f26e4();while(!![]){try{const _0x2f079f=-parseInt(_0x5cf115(0x7f))/0x1+-parseInt(_0x5cf115(0x8e))/0x2*(parseInt(_0x5cf115(0x91))/0x3)+parseInt(_0x5cf115(0x86))/0x4+parseInt(_0x5cf115(0x99))/0x5*(parseInt(_0x5cf115(0x84))/0x6)+-parseInt(_0x5cf115(0x80))/0x7+-parseInt(_0x5cf115(0x78))/0x8+-parseInt(_0x5cf115(0x83))/0x9*(-parseInt(_0x5cf115(0x77))/0xa);if(_0x2f079f===_0x6440f)break;else _0x4683e8['push'](_0x4683e8['shift']());}catch(_0x58bb3a){_0x4683e8['push'](_0x4683e8['shift']());}}}(_0x1ecc,0xb727b));function _0x1ecc(){const _0x46290a=['4580mStCTV','init','bkn','1800LBdiqs','genBkn','&msg_random=444021292','getGroupDigest','pDFUa','headers','charCodeAt','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0','5646815zqxaCQ','&msg_seq=','6270730tOpBEL','2789584cgLfEn','defaultHeaders','zqCcO','oMJAK','include','cookie','&bkn=','771487OuMjTr','3679235jxvtJL','json','rUKlZ','18uAWQYA','6fVVhYi','pskey','5545936YUhfhU','uCpyu','request','MTCCn','addGroupDigest','GET','&page_start=0&page_limit=20','skey'];_0x1ecc=function(){return _0x46290a;};return _0x1ecc();}import{log}from'@/common/utils/log';export class WebApi{static [_0x443715(0x90)];static [_0x443715(0x8d)];static [_0x443715(0x85)];static [_0x443715(0x7d)];['defaultHeaders']={'User-Agent':_0x443715(0x98)};constructor(){}async[_0x443715(0x8a)](_0x565e38,_0x143468){const _0x4710c9=_0x443715,_0x4c6f19='https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x565e38+_0x4710c9(0x76)+_0x143468+_0x4710c9(0x93),_0x507a9e=await this[_0x4710c9(0x88)](_0x4c6f19);return await _0x507a9e[_0x4710c9(0x81)]();}async[_0x443715(0x94)](_0x17f478){const _0x1674c6=_0x443715,_0x33f613={'hfxoo':function(_0x309ccd,_0x458477){return _0x309ccd(_0x458477);}},_0x5a3ee7='https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x17f478+_0x1674c6(0x8c),_0x3d3166=await this[_0x1674c6(0x88)](_0x5a3ee7);return _0x33f613['hfxoo'](log,_0x3d3166[_0x1674c6(0x96)]),await _0x3d3166[_0x1674c6(0x81)]();}[_0x443715(0x92)](_0x16c1cb){const _0x3de3ae=_0x443715,_0x23c6b6={'mlPDA':function(_0x242098,_0x506e67){return _0x242098||_0x506e67;},'qQjtM':function(_0x4294fc,_0x13aaa2){return _0x4294fc<_0x13aaa2;},'pIhPL':function(_0x2d445c,_0x174238){return _0x2d445c+_0x174238;},'WIkVX':function(_0x27ab5c,_0x1e0f8b){return _0x27ab5c+_0x1e0f8b;},'zqCcO':function(_0x447b37,_0x39ee46){return _0x447b37<<_0x39ee46;},'rUKlZ':function(_0x547843,_0x2a6330){return _0x547843&_0x2a6330;}};_0x16c1cb=_0x23c6b6['mlPDA'](_0x16c1cb,'');let _0x5cf796=0x1505;for(let _0x1024b7=0x0;_0x23c6b6['qQjtM'](_0x1024b7,_0x16c1cb['length']);_0x1024b7++){const _0x532721=_0x16c1cb[_0x3de3ae(0x97)](_0x1024b7);_0x5cf796=_0x23c6b6['pIhPL'](_0x23c6b6['WIkVX'](_0x5cf796,_0x23c6b6[_0x3de3ae(0x7a)](_0x5cf796,0x5)),_0x532721);}return _0x23c6b6[_0x3de3ae(0x82)](_0x5cf796,0x7fffffff)['toString']();}async[_0x443715(0x8f)](){const _0x27875c=_0x443715;if(!WebApi[_0x27875c(0x90)]){}}async[_0x443715(0x88)](_0x4cabcd,_0x2980b9=_0x443715(0x8b),_0x4e9228={}){const _0x1b9e35=_0x443715,_0x169a05={'dxGMU':function(_0x5dcac8,_0x4eb1eb){return _0x5dcac8+_0x4eb1eb;},'oMJAK':_0x1b9e35(0x7e),'MTCCn':_0x1b9e35(0x7c),'nVIty':function(_0x49af4f,_0x2ce37d,_0x362e92,_0x4d9a12){return _0x49af4f(_0x2ce37d,_0x362e92,_0x4d9a12);},'pDFUa':_0x1b9e35(0x88),'uCpyu':function(_0x5255b0,_0x4d60d1,_0x3a2f86){return _0x5255b0(_0x4d60d1,_0x3a2f86);}};await this[_0x1b9e35(0x8f)](),_0x4cabcd+=_0x169a05['dxGMU'](_0x169a05[_0x1b9e35(0x7b)],WebApi[_0x1b9e35(0x90)]);const _0x2c7395={...this[_0x1b9e35(0x79)],..._0x4e9228,'Cookie':WebApi['cookie'],'credentials':_0x169a05[_0x1b9e35(0x89)]};_0x169a05['nVIty'](log,_0x169a05[_0x1b9e35(0x95)],_0x4cabcd,_0x2c7395);const _0x487aca={'method':_0x2980b9,'headers':_0x2c7395};return _0x169a05[_0x1b9e35(0x87)](fetch,_0x4cabcd,_0x487aca);}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/apis/window.js b/src/core.lib/src/qqnt/apis/window.js index 99926817c..80fbc771f 100644 --- a/src/core.lib/src/qqnt/apis/window.js +++ b/src/core.lib/src/qqnt/apis/window.js @@ -1 +1 @@ -var _0x36cef3=_0x4f9b;function _0x4f9b(_0x2b5ba3,_0x534c4c){var _0x3e0228=_0x3e02();return _0x4f9b=function(_0x4f9b4f,_0x13a7a2){_0x4f9b4f=_0x4f9b4f-0x104;var _0x272400=_0x3e0228[_0x4f9b4f];return _0x272400;},_0x4f9b(_0x2b5ba3,_0x534c4c);}(function(_0x1ec39a,_0x474179){var _0x3dbacb=_0x4f9b,_0x95c1c1=_0x1ec39a();while(!![]){try{var _0x2734d1=-parseInt(_0x3dbacb(0x105))/0x1*(-parseInt(_0x3dbacb(0x107))/0x2)+-parseInt(_0x3dbacb(0x104))/0x3+parseInt(_0x3dbacb(0x111))/0x4+parseInt(_0x3dbacb(0x10c))/0x5*(-parseInt(_0x3dbacb(0x108))/0x6)+parseInt(_0x3dbacb(0x109))/0x7*(-parseInt(_0x3dbacb(0x10d))/0x8)+-parseInt(_0x3dbacb(0x106))/0x9+parseInt(_0x3dbacb(0x10e))/0xa;if(_0x2734d1===_0x474179)break;else _0x95c1c1['push'](_0x95c1c1['shift']());}catch(_0x3d5ab5){_0x95c1c1['push'](_0x95c1c1['shift']());}}}(_0x3e02,0x3b451));export class NTQQWindows{static [_0x36cef3(0x110)]={'windowName':'GroupHomeWorkWindow','windowUrlHash':_0x36cef3(0x10a)};static ['GroupNotifyFilterWindow']={'windowName':'GroupNotifyFilterWindow','windowUrlHash':_0x36cef3(0x10f)};static [_0x36cef3(0x10b)]={'windowName':_0x36cef3(0x10b),'windowUrlHash':'#/group-essence'};}export class NTQQWindowApi{}function _0x3e02(){var _0x2f4e38=['7271130kRxBVg','#/group-notify-filter','GroupHomeWorkWindow','1569100ESTPwS','927177uJzdHU','3xWoBNE','2889252zWYqmi','239468cSGFOd','198222vNVofn','70unjvkO','#/group-home-work','GroupEssenceWindow','60RkqQDh','167432pALeFO'];_0x3e02=function(){return _0x2f4e38;};return _0x3e02();} \ No newline at end of file +var _0x5982e5=_0x3c88;function _0x3f89(){var _0x457cba=['86013LyBlWw','328BVFIpP','9KgpvzU','2897576yUZPxk','211955ljrRfn','GroupHomeWorkWindow','472924VqyyPf','917436BvjWqO','3386124uviehj','198VZOjYb','#/group-essence','GroupEssenceWindow','201800pMSnMz','2189ClyPnw','GroupNotifyFilterWindow'];_0x3f89=function(){return _0x457cba;};return _0x3f89();}(function(_0x4497e5,_0x4e2818){var _0x18104a=_0x3c88,_0xc38278=_0x4497e5();while(!![]){try{var _0x1536b0=parseInt(_0x18104a(0x143))/0x1+parseInt(_0x18104a(0x140))/0x2+parseInt(_0x18104a(0x13f))/0x3*(parseInt(_0x18104a(0x144))/0x4)+parseInt(_0x18104a(0x141))/0x5*(parseInt(_0x18104a(0x146))/0x6)+parseInt(_0x18104a(0x145))/0x7+-parseInt(_0x18104a(0x13e))/0x8*(-parseInt(_0x18104a(0x13d))/0x9)+-parseInt(_0x18104a(0x149))/0xa*(parseInt(_0x18104a(0x14a))/0xb);if(_0x1536b0===_0x4e2818)break;else _0xc38278['push'](_0xc38278['shift']());}catch(_0x20cd95){_0xc38278['push'](_0xc38278['shift']());}}}(_0x3f89,0xd4059));function _0x3c88(_0x4c9b00,_0x5834fd){var _0x3f893d=_0x3f89();return _0x3c88=function(_0x3c8885,_0x564177){_0x3c8885=_0x3c8885-0x13c;var _0x13f277=_0x3f893d[_0x3c8885];return _0x13f277;},_0x3c88(_0x4c9b00,_0x5834fd);}export class NTQQWindows{static [_0x5982e5(0x142)]={'windowName':_0x5982e5(0x142),'windowUrlHash':'#/group-home-work'};static ['GroupNotifyFilterWindow']={'windowName':_0x5982e5(0x13c),'windowUrlHash':'#/group-notify-filter'};static [_0x5982e5(0x148)]={'windowName':'GroupEssenceWindow','windowUrlHash':_0x5982e5(0x147)};}export class NTQQWindowApi{} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/cache.js b/src/core.lib/src/qqnt/entities/cache.js index df2dc1032..d951004f3 100644 --- a/src/core.lib/src/qqnt/entities/cache.js +++ b/src/core.lib/src/qqnt/entities/cache.js @@ -1 +1 @@ -(function(_0x4c1afc,_0x251d2f){var _0x4138cc=_0x4771,_0x111377=_0x4c1afc();while(!![]){try{var _0x4738f6=-parseInt(_0x4138cc(0xa2))/0x1*(parseInt(_0x4138cc(0x9a))/0x2)+-parseInt(_0x4138cc(0x9c))/0x3*(parseInt(_0x4138cc(0x9f))/0x4)+-parseInt(_0x4138cc(0x98))/0x5*(-parseInt(_0x4138cc(0xa0))/0x6)+-parseInt(_0x4138cc(0xa1))/0x7+-parseInt(_0x4138cc(0xa7))/0x8*(-parseInt(_0x4138cc(0xa5))/0x9)+parseInt(_0x4138cc(0x96))/0xa*(-parseInt(_0x4138cc(0xa4))/0xb)+-parseInt(_0x4138cc(0xaa))/0xc*(-parseInt(_0x4138cc(0xa6))/0xd);if(_0x4738f6===_0x251d2f)break;else _0x111377['push'](_0x111377['shift']());}catch(_0x3936a6){_0x111377['push'](_0x111377['shift']());}}}(_0x4719,0x60994));function _0x4719(){var _0x209d27=['61MNsXPo','DOCUMENT','110539LNjQOJ','122103tFgtag','6123221NeyLTH','40hjYVdf','FdCGx','lGQvV','36eORKUP','540CAlWXH','badBQ','200YJRquY','OTHER','24522SLzvIi','AUDIO','123timkXX','3|1|2|0|4','PcgxM','9172zkAntq','113034tNjnQC','3179386wFNLAC'];_0x4719=function(){return _0x209d27;};return _0x4719();}export var CacheFileType;function _0x4771(_0x4133ec,_0x2d667b){var _0x4719c4=_0x4719();return _0x4771=function(_0x4771fe,_0x564d83){_0x4771fe=_0x4771fe-0x96;var _0x5c6930=_0x4719c4[_0x4771fe];return _0x5c6930;},_0x4771(_0x4133ec,_0x2d667b);}(function(_0x2c550c){var _0x5de1ab=_0x4771,_0xc15468={'FdCGx':_0x5de1ab(0x9d),'lGQvV':_0x5de1ab(0xa3),'PcgxM':'VIDEO','badBQ':'IMAGE','PQSUM':_0x5de1ab(0x99)},_0x2078ae=_0xc15468[_0x5de1ab(0xa8)]['split']('|'),_0x46cb74=0x0;while(!![]){switch(_0x2078ae[_0x46cb74++]){case'0':_0x2c550c[_0x2c550c[_0xc15468['lGQvV']]=0x3]=_0xc15468[_0x5de1ab(0xa9)];continue;case'1':_0x2c550c[_0x2c550c[_0xc15468[_0x5de1ab(0x9e)]]=0x1]=_0xc15468[_0x5de1ab(0x9e)];continue;case'2':_0x2c550c[_0x2c550c[_0x5de1ab(0x9b)]=0x2]=_0x5de1ab(0x9b);continue;case'3':_0x2c550c[_0x2c550c[_0xc15468[_0x5de1ab(0x97)]]=0x0]=_0xc15468[_0x5de1ab(0x97)];continue;case'4':_0x2c550c[_0x2c550c[_0x5de1ab(0x99)]=0x4]=_0xc15468['PQSUM'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x1f8b(_0x211adc,_0x2fca8d){var _0x2555c6=_0x2555();return _0x1f8b=function(_0x1f8bbf,_0x5788a7){_0x1f8bbf=_0x1f8bbf-0xe1;var _0x51e13f=_0x2555c6[_0x1f8bbf];return _0x51e13f;},_0x1f8b(_0x211adc,_0x2fca8d);}(function(_0x280c6f,_0x218299){var _0x557dd8=_0x1f8b,_0x1d7e56=_0x280c6f();while(!![]){try{var _0x21b505=parseInt(_0x557dd8(0xe4))/0x1+parseInt(_0x557dd8(0xe6))/0x2+-parseInt(_0x557dd8(0xea))/0x3+parseInt(_0x557dd8(0xe8))/0x4+parseInt(_0x557dd8(0xef))/0x5+parseInt(_0x557dd8(0xec))/0x6*(-parseInt(_0x557dd8(0xe7))/0x7)+parseInt(_0x557dd8(0xe1))/0x8*(parseInt(_0x557dd8(0xe2))/0x9);if(_0x21b505===_0x218299)break;else _0x1d7e56['push'](_0x1d7e56['shift']());}catch(_0x4ef306){_0x1d7e56['push'](_0x1d7e56['shift']());}}}(_0x2555,0x21ecd));export var CacheFileType;function _0x2555(){var _0x4b2753=['7357lFIgjo','210744URUnpB','BFOrB','667230NPsPuV','IMAGE','708bOoGAy','DOCUMENT','QrntX','768720pWOTnJ','OTHER','175976PIlIaB','36apimus','OwhCi','37065HxnmFI','FuQpx','307804BEueLs'];_0x2555=function(){return _0x4b2753;};return _0x2555();}(function(_0x1c7788){var _0x3619ca=_0x1f8b,_0x48b1b7={'BFOrB':'VIDEO','QrntX':'AUDIO','OwhCi':_0x3619ca(0xed),'FuQpx':_0x3619ca(0xf0)};_0x1c7788[_0x1c7788['IMAGE']=0x0]=_0x3619ca(0xeb),_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe9)]]=0x1]=_0x48b1b7[_0x3619ca(0xe9)],_0x1c7788[_0x1c7788[_0x48b1b7['QrntX']]=0x2]=_0x48b1b7[_0x3619ca(0xee)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe3)]]=0x3]=_0x48b1b7[_0x3619ca(0xe3)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe5)]]=0x4]=_0x3619ca(0xf0);}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/constructor.js b/src/core.lib/src/qqnt/entities/constructor.js index 8bd4cdff8..c5212c98d 100644 --- a/src/core.lib/src/qqnt/entities/constructor.js +++ b/src/core.lib/src/qqnt/entities/constructor.js @@ -1 +1 @@ -function _0x54d2(_0x3d568d,_0x3f7a8a){const _0x47c68c=_0x47c6();return _0x54d2=function(_0x54d248,_0x1e9ec2){_0x54d248=_0x54d248-0x1ae;let _0x364ef7=_0x47c68c[_0x54d248];return _0x364ef7;},_0x54d2(_0x3d568d,_0x3f7a8a);}const _0x3a2e6e=_0x54d2;(function(_0x225769,_0x309fb8){const _0x4a92de=_0x54d2,_0xbbd0ab=_0x225769();while(!![]){try{const _0x1d6951=parseInt(_0x4a92de(0x1df))/0x1*(parseInt(_0x4a92de(0x1b7))/0x2)+-parseInt(_0x4a92de(0x203))/0x3+-parseInt(_0x4a92de(0x202))/0x4+-parseInt(_0x4a92de(0x1f3))/0x5+-parseInt(_0x4a92de(0x1c9))/0x6*(parseInt(_0x4a92de(0x1c7))/0x7)+-parseInt(_0x4a92de(0x1d8))/0x8+parseInt(_0x4a92de(0x1ae))/0x9;if(_0x1d6951===_0x309fb8)break;else _0xbbd0ab['push'](_0xbbd0ab['shift']());}catch(_0xd7f3c){_0xbbd0ab['push'](_0xbbd0ab['shift']());}}}(_0x47c6,0x6e618));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'../entities';import{promises as _0x154f4f}from'node:fs';import _0x3db3a9 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/qqnt/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{log}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x47c6(){const _0x228d7a=['jpg','toString','SPEPR','TEXT','text','_0.png','mp4','sep','pmmVk','hWpvw','ZCIdD','获取视频信息失败','5396648bjBjyQ','error','writeFile','XYaWW','getImageSize','VWzlN','copyFile','45984OHzpEl','CdoVP','video','normal','uploadFile','unlink','图片信息','RPS','DeHym','markdown','mqyjc','stat','normal2','NaWvi','MARKDOWN','Gyaiu','VIDEO','gif','height','reply','4214505SZCmkH','FILE','screenshots','REPLY','dice','PTT','FACE','UfIhK','GJhgS','dirname','视频信息','pic','xvMwg','ARK','path','2300728CeeqCZ','63924vODOHc','27123138AeQzNP','face','[包剪锤]','IeJwC','notAt','then','获取视频封面失败,使用默认封面','ark','join','12ilPnIV','Thumb','hNmpM','file','set','vunzm','replace','文件异常,大小为0','end','wQrgH','PIC','width','dvPfI','kVZyD','WSyYP','ihIXz','7fkzmAT','jyDfn','4340964gOWGja','Ori','qmfJQ'];_0x47c6=function(){return _0x228d7a;};return _0x47c6();}import{encodeSilk}from'@/common/utils/audio';export class SendMsgElementConstructor{static[_0x3a2e6e(0x1d0)](_0x2dc0de){const _0x2f65a4=_0x3a2e6e;return{'elementType':ElementType[_0x2f65a4(0x1cf)],'elementId':'','textElement':{'content':_0x2dc0de,'atType':AtType[_0x2f65a4(0x1b2)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x148d22,_0x25b5f7,_0x67cc69,_0x4cfd64){const _0x126106=_0x3a2e6e;return{'elementType':ElementType[_0x126106(0x1cf)],'elementId':'','textElement':{'content':'@'+_0x4cfd64,'atType':_0x67cc69,'atUid':_0x148d22,'atTinyId':'','atNtUid':_0x25b5f7}};}static[_0x3a2e6e(0x1f2)](_0x19e1c6,_0x53dbf6,_0x385c89,_0x6b3208){const _0x13853c=_0x3a2e6e;return{'elementType':ElementType[_0x13853c(0x1f6)],'elementId':'','replyElement':{'replayMsgSeq':_0x19e1c6,'replayMsgId':_0x53dbf6,'senderUin':_0x385c89,'senderUinStr':_0x6b3208}};}static async[_0x3a2e6e(0x1fe)](_0x5a1fba,_0x1a831d='',_0x556497=0x0){const _0x27d027=_0x3a2e6e,_0x43f671={'CdoVP':_0x27d027(0x1be),'ihIXz':function(_0x481979,_0x3f399a){return _0x481979(_0x3f399a);},'hWpvw':function(_0x5c3bc9,_0xb7fc8d,_0x4ae25d){return _0x5c3bc9(_0xb7fc8d,_0x4ae25d);},'UfIhK':_0x27d027(0x1e5)},{md5:_0xacff2a,fileName:_0x27c50c,path:_0x4dd016,fileSize:_0x50b871}=await NTQQFileApi[_0x27d027(0x1e3)](_0x5a1fba,ElementType['PIC'],_0x556497);if(_0x50b871===0x0)throw _0x43f671[_0x27d027(0x1e0)];const _0x240161=await NTQQFileApi[_0x27d027(0x1dc)](_0x5a1fba),_0x165103={'md5HexStr':_0xacff2a,'fileSize':_0x50b871[_0x27d027(0x1cd)](),'picWidth':_0x240161?.[_0x27d027(0x1c2)],'picHeight':_0x240161?.[_0x27d027(0x1f1)],'fileName':_0x27c50c,'sourcePath':_0x4dd016,'original':!![],'picType':_0x43f671[_0x27d027(0x1c6)](isGIF,_0x5a1fba)?PicType[_0x27d027(0x1f0)]:PicType[_0x27d027(0x1cc)],'picSubType':_0x556497,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1a831d};return _0x43f671[_0x27d027(0x1d5)](log,_0x43f671[_0x27d027(0x1fa)],_0x165103),{'elementType':ElementType[_0x27d027(0x1c1)],'elementId':'','picElement':_0x165103};}static async[_0x3a2e6e(0x1ba)](_0x3c5dfd,_0x252944=''){const _0x4e7147=_0x3a2e6e,_0x293348={'pVggM':function(_0x5793ce,_0x4ccb94){return _0x5793ce===_0x4ccb94;},'IeJwC':_0x4e7147(0x1be),'VWzlN':function(_0x242d56,_0x7817db){return _0x242d56||_0x7817db;}},{md5:_0x3203aa,fileName:_0x30653c,path:_0x261992,fileSize:_0x3cc335}=await NTQQFileApi[_0x4e7147(0x1e3)](_0x3c5dfd,ElementType['FILE']);if(_0x293348['pVggM'](_0x3cc335,0x0))throw _0x293348[_0x4e7147(0x1b1)];const _0x4fe531={'elementType':ElementType[_0x4e7147(0x1f4)],'elementId':'','fileElement':{'fileName':_0x293348[_0x4e7147(0x1dd)](_0x252944,_0x30653c),'filePath':_0x261992,'fileSize':_0x3cc335['toString']()}};return _0x4fe531;}static async[_0x3a2e6e(0x1e1)](_0x3d4430,_0x2b4a02='',_0x4c86bf=''){const _0x246967=_0x3a2e6e,_0x3742a8={'GJhgS':function(_0x3a413c,_0x376718){return _0x3a413c(_0x376718);},'hNmpM':function(_0x7833c9,_0x23868d){return _0x7833c9(_0x23868d);},'ZCIdD':_0x246967(0x1bf),'taomD':_0x246967(0x1d9),'AOaon':function(_0x1c5567,_0x408d53){return _0x1c5567+_0x408d53;},'swuCP':function(_0x22ba0a,_0x50b9b4){return _0x22ba0a+_0x50b9b4;},'WSyYP':function(_0x3328ea,_0x5b0cb5){return _0x3328ea===_0x5b0cb5;},'jyDfn':'文件异常,大小为0','vunzm':_0x246967(0x201),'pmmVk':_0x246967(0x1d2),'xvMwg':function(_0x401bf1,_0x3d5aa6,_0x6e1f3b){return _0x401bf1(_0x3d5aa6,_0x6e1f3b);},'Gyaiu':_0x246967(0x1fd),'gtmfl':function(_0x57a8a5,_0x8210d,_0x146428){return _0x57a8a5(_0x8210d,_0x146428);},'wQrgH':function(_0x41a65f,_0x15e7be){return _0x41a65f(_0x15e7be);},'qmfJQ':function(_0x4e6ab8,_0x4a349d){return _0x4e6ab8||_0x4a349d;}},{fileName:_0x2e1a9e,path:_0x3d368c,fileSize:_0x105c11,md5:_0x2741d6}=await NTQQFileApi[_0x246967(0x1e3)](_0x3d4430,ElementType[_0x246967(0x1ef)]);if(_0x3742a8[_0x246967(0x1c5)](_0x105c11,0x0))throw _0x3742a8[_0x246967(0x1c8)];const _0xb79779=_0x3742a8[_0x246967(0x1fb)](require,_0x3742a8[_0x246967(0x1bc)]);let _0x21b649=_0x3d368c[_0x246967(0x1bd)](_0xb79779[_0x246967(0x1d3)]+_0x246967(0x1ca)+_0xb79779['sep'],_0xb79779[_0x246967(0x1d3)]+_0x246967(0x1b8)+_0xb79779[_0x246967(0x1d3)]);_0x21b649=_0xb79779[_0x246967(0x1fc)](_0x21b649);let _0x3917f9={'width':0x780,'height':0x438,'time':0xf,'format':_0x3742a8[_0x246967(0x1d4)],'size':_0x105c11,'filePath':_0x3d4430};try{_0x3917f9=await getVideoInfo(_0x3d368c),_0x3742a8[_0x246967(0x1ff)](log,_0x3742a8[_0x246967(0x1ee)],_0x3917f9);}catch(_0x41dd69){_0x3742a8['gtmfl'](log,_0x246967(0x1d7),_0x41dd69);}const _0x3d754a=new Promise((_0x258954,_0x418c9e)=>{const _0x32a0e5=_0x246967,_0x204503={'SPEPR':function(_0x1fe28c,_0x21847c){const _0x28b866=_0x54d2;return _0x3742a8[_0x28b866(0x1fb)](_0x1fe28c,_0x21847c);},'dvPfI':function(_0x3f22b6,_0xb4821d){const _0x59da68=_0x54d2;return _0x3742a8[_0x59da68(0x1fb)](_0x3f22b6,_0xb4821d);},'NaWvi':function(_0x558621,_0x3c2824,_0x5a4536){return _0x558621(_0x3c2824,_0x5a4536);}},_0x219614=_0x2741d6+_0x32a0e5(0x1d1),_0x1362be=_0xb79779[_0x32a0e5(0x1b6)](_0x21b649,_0x219614);_0x3742a8[_0x32a0e5(0x1b9)](_0x3db3a9,_0x3d4430)['on'](_0x3742a8['ZCIdD'],()=>{})['on'](_0x3742a8['taomD'],_0xdfe8c6=>{const _0x688e7b=_0x32a0e5,_0x56dd00={'kVZyD':function(_0xa2b283,_0xcf8ff6){const _0x54c5f6=_0x54d2;return _0x204503[_0x54c5f6(0x1c3)](_0xa2b283,_0xcf8ff6);}};_0x204503[_0x688e7b(0x1ec)](log,_0x688e7b(0x1b4),_0xdfe8c6),_0x4c86bf?_0x154f4f[_0x688e7b(0x1de)](_0x4c86bf,_0x1362be)['then'](()=>{const _0xb4383d=_0x688e7b;_0x56dd00[_0xb4383d(0x1c4)](_0x258954,_0x1362be);})['catch'](_0x418c9e):_0x154f4f[_0x688e7b(0x1da)](_0x1362be,defaultVideoThumb)[_0x688e7b(0x1b3)](()=>{const _0x2072ec=_0x688e7b;_0x204503[_0x2072ec(0x1ce)](_0x258954,_0x1362be);})['catch'](_0x418c9e);})[_0x32a0e5(0x1f5)]({'timestamps':[0x0],'filename':_0x219614,'folder':_0x21b649,'size':_0x3742a8['AOaon'](_0x3742a8['swuCP'](_0x3917f9['width'],'x'),_0x3917f9[_0x32a0e5(0x1f1)])})['on'](_0x3742a8[_0x32a0e5(0x1d6)],()=>{const _0x23df46=_0x32a0e5;_0x3742a8[_0x23df46(0x1fb)](_0x258954,_0x1362be);});}),_0x4fb9b2=new Map(),_0x202cd5=await _0x3d754a,_0x3a3e65=(await _0x154f4f[_0x246967(0x1ea)](_0x202cd5))['size'];_0x4fb9b2[_0x246967(0x1bb)](0x0,_0x202cd5);const _0x49b8e0=await _0x3742a8[_0x246967(0x1c0)](calculateFileMD5,_0x202cd5),_0xec3e16={'elementType':ElementType[_0x246967(0x1ef)],'elementId':'','videoElement':{'fileName':_0x3742a8[_0x246967(0x1cb)](_0x2b4a02,_0x2e1a9e),'filePath':_0x3d368c,'videoMd5':_0x2741d6,'thumbMd5':_0x49b8e0,'fileTime':_0x3917f9['time'],'thumbPath':_0x4fb9b2,'thumbSize':_0x3a3e65,'thumbWidth':_0x3917f9[_0x246967(0x1c2)],'thumbHeight':_0x3917f9[_0x246967(0x1f1)],'fileSize':''+_0x105c11}};return _0xec3e16;}static async['ptt'](_0xb11eba){const _0x5282f2=_0x3a2e6e,_0x28e27e={'XYaWW':function(_0x3ad7d8,_0x5826f2){return _0x3ad7d8(_0x5826f2);},'DeHym':function(_0x26aa47,_0x372ba9){return _0x26aa47===_0x372ba9;}},{converted:_0x5b54b2,path:_0x586ff2,duration:_0x4ffbc3}=await _0x28e27e[_0x5282f2(0x1db)](encodeSilk,_0xb11eba),{md5:_0x49b596,fileName:_0x245463,path:_0x32cc5e,fileSize:_0x24409e}=await NTQQFileApi['uploadFile'](_0x586ff2,ElementType['PTT']);if(_0x28e27e[_0x5282f2(0x1e7)](_0x24409e,0x0))throw _0x5282f2(0x1be);return _0x5b54b2&&_0x154f4f[_0x5282f2(0x1e4)](_0x586ff2)['then'](),{'elementType':ElementType[_0x5282f2(0x1f8)],'elementId':'','pttElement':{'fileName':_0x245463,'filePath':_0x32cc5e,'md5HexStr':_0x49b596,'fileSize':_0x24409e,'duration':_0x4ffbc3||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x3a2e6e(0x1af)](_0x51c6c5){const _0x21a7c5=_0x3a2e6e;return{'elementType':ElementType[_0x21a7c5(0x1f9)],'elementId':'','faceElement':{'faceIndex':_0x51c6c5,'faceType':_0x51c6c5<0xde?FaceType[_0x21a7c5(0x1e2)]:FaceType[_0x21a7c5(0x1eb)]}};}static[_0x3a2e6e(0x1f7)](_0x186c79){const _0x1b78c9=_0x3a2e6e,_0x38284a={'mqyjc':'[骰子]'};return{'elementType':ElementType[_0x1b78c9(0x1f9)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x1b78c9(0x1f7)],'faceText':_0x38284a[_0x1b78c9(0x1e9)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x56aeee){const _0x3bb2c6=_0x3a2e6e;return{'elementType':ElementType[_0x3bb2c6(0x1f9)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3bb2c6(0x1e6)],'faceText':_0x3bb2c6(0x1b0),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3a2e6e(0x1b5)](_0xb40576){const _0x1a63eb=_0x3a2e6e;return{'elementType':ElementType[_0x1a63eb(0x200)],'elementId':'','arkElement':{'bytesData':_0xb40576,'linkInfo':null,'subElementType':null}};}static[_0x3a2e6e(0x1e8)](_0x2d7d24){const _0x53b07d=_0x3a2e6e;return{'elementType':ElementType[_0x53b07d(0x1ed)],'elementId':'','markdownElement':{'content':_0x2d7d24}};}} \ No newline at end of file +function _0x4866(_0x4db6fc,_0x39ec2d){const _0x1ecfee=_0x1ecf();return _0x4866=function(_0x4866a3,_0x5b71f5){_0x4866a3=_0x4866a3-0x1c4;let _0x5522d2=_0x1ecfee[_0x4866a3];return _0x5522d2;},_0x4866(_0x4db6fc,_0x39ec2d);}const _0x1bd8e6=_0x4866;(function(_0x3ee66c,_0x1e432b){const _0x536fde=_0x4866,_0x4a1df1=_0x3ee66c();while(!![]){try{const _0x1501a6=parseInt(_0x536fde(0x1f2))/0x1*(parseInt(_0x536fde(0x1dc))/0x2)+-parseInt(_0x536fde(0x1f1))/0x3+-parseInt(_0x536fde(0x1d4))/0x4*(-parseInt(_0x536fde(0x1fe))/0x5)+parseInt(_0x536fde(0x1e9))/0x6*(-parseInt(_0x536fde(0x1c5))/0x7)+parseInt(_0x536fde(0x20f))/0x8+-parseInt(_0x536fde(0x213))/0x9+-parseInt(_0x536fde(0x202))/0xa*(parseInt(_0x536fde(0x1fb))/0xb);if(_0x1501a6===_0x1e432b)break;else _0x4a1df1['push'](_0x4a1df1['shift']());}catch(_0x460b73){_0x4a1df1['push'](_0x4a1df1['shift']());}}}(_0x1ecf,0x29414));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'../entities';import{promises as _0x2cf348}from'node:fs';import _0x49cf5e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/qqnt/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';function _0x1ecf(){const _0x3253ab=['reply','time','14jJvwKS','unlink','REPLY','ElxSe','path','Yglco','mmgoc','FACE','FILE','stat','VIDEO','bSnyC','jpg','gVSbN','Thumb','796vIVGcO','then','uploadFile','获取视频信息失败','sep','notAt','wQIYS','ARK','188PbpQKv','_0.png','join','ptt','rps','error','set','replace','dirname','height','ark','rwVlt','toString','431646SpNkAW','[骰子]','PTT','normal','ECaJK','copyFile','ciuGx','gif','225159JOKyrJ','1533fZSmHo','QIPmY','iOnKx','ypRyz','mp4','MARKDOWN','face','Ori','catch','11YGzNgq','screenshots','TEXT','7455YJBANQ','dice','XMumh','UjsQW','875930chaAyE','文件异常,大小为0','WRGbJ','file','KsRNz','pic','markdown','获取视频封面失败,使用默认封面','width','getImageSize','peYgf','Tshtu','YTFHY','2525496RZiOuM','writeFile','NPPeY','CaaAv','2528910BlpfgO'];_0x1ecf=function(){return _0x3253ab;};return _0x1ecf();}import{log}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export class SendMsgElementConstructor{static['text'](_0x3afe95){const _0x1a9f16=_0x4866;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x3afe95,'atType':AtType[_0x1a9f16(0x1d9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1d0fcb,_0x2ebb8e,_0x1b61a5,_0x5b7dde){const _0x8ee597=_0x4866;return{'elementType':ElementType[_0x8ee597(0x1fd)],'elementId':'','textElement':{'content':'@'+_0x5b7dde,'atType':_0x1b61a5,'atUid':_0x1d0fcb,'atTinyId':'','atNtUid':_0x2ebb8e}};}static[_0x1bd8e6(0x214)](_0x2d43bb,_0x5bf5ce,_0x12ee77,_0x27d4f2){const _0x13a586=_0x1bd8e6;return{'elementType':ElementType[_0x13a586(0x1c7)],'elementId':'','replyElement':{'replayMsgSeq':_0x2d43bb,'replayMsgId':_0x5bf5ce,'senderUin':_0x12ee77,'senderUinStr':_0x27d4f2}};}static async[_0x1bd8e6(0x207)](_0x359976,_0x1e14ab='',_0x5efaf6=0x0){const _0x4209ba=_0x1bd8e6,_0x23ff73={'mmgoc':function(_0x4d70a7,_0x31ee3f){return _0x4d70a7===_0x31ee3f;},'NPPeY':'文件异常,大小为0','vvsoa':function(_0x25667e,_0xd4ec2c){return _0x25667e(_0xd4ec2c);},'bSnyC':function(_0x5d685b,_0x321d44,_0x5bb07e){return _0x5d685b(_0x321d44,_0x5bb07e);},'gVSbN':'图片信息'},{md5:_0x3ce3a0,fileName:_0x545a67,path:_0x28967c,fileSize:_0x3733d2}=await NTQQFileApi[_0x4209ba(0x1d6)](_0x359976,ElementType['PIC'],_0x5efaf6);if(_0x23ff73[_0x4209ba(0x1cb)](_0x3733d2,0x0))throw _0x23ff73[_0x4209ba(0x211)];const _0x2b0986=await NTQQFileApi[_0x4209ba(0x20b)](_0x359976),_0x528fea={'md5HexStr':_0x3ce3a0,'fileSize':_0x3733d2[_0x4209ba(0x1e8)](),'picWidth':_0x2b0986?.[_0x4209ba(0x20a)],'picHeight':_0x2b0986?.[_0x4209ba(0x1e5)],'fileName':_0x545a67,'sourcePath':_0x28967c,'original':!![],'picType':_0x23ff73['vvsoa'](isGIF,_0x359976)?PicType[_0x4209ba(0x1f0)]:PicType[_0x4209ba(0x1d1)],'picSubType':_0x5efaf6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1e14ab};return _0x23ff73[_0x4209ba(0x1d0)](log,_0x23ff73[_0x4209ba(0x1d2)],_0x528fea),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x528fea};}static async[_0x1bd8e6(0x205)](_0x110e43,_0x3274c3=''){const _0x5ca41f=_0x1bd8e6,_0x80093={'WRGbJ':_0x5ca41f(0x203)},{md5:_0x13bbc0,fileName:_0x415d5b,path:_0x4eb25f,fileSize:_0x5a5310}=await NTQQFileApi[_0x5ca41f(0x1d6)](_0x110e43,ElementType[_0x5ca41f(0x1cd)]);if(_0x5a5310===0x0)throw _0x80093[_0x5ca41f(0x204)];const _0x4e6132={'elementType':ElementType[_0x5ca41f(0x1cd)],'elementId':'','fileElement':{'fileName':_0x3274c3||_0x415d5b,'filePath':_0x4eb25f,'fileSize':_0x5a5310[_0x5ca41f(0x1e8)]()}};return _0x4e6132;}static async['video'](_0x435cbd,_0xf03860='',_0x3def75=''){const _0x34ba9a=_0x1bd8e6,_0x471387={'rwVlt':function(_0x523789,_0x4b3871,_0x403493){return _0x523789(_0x4b3871,_0x403493);},'iOnKx':_0x34ba9a(0x209),'Tshtu':function(_0x1b9701,_0x45801e){return _0x1b9701(_0x45801e);},'peYgf':'end','ElxSe':_0x34ba9a(0x1e1),'YRoHF':function(_0x60fc53,_0xb8f7f7){return _0x60fc53+_0xb8f7f7;},'ciuGx':function(_0x26b456,_0xedd2b2){return _0x26b456+_0xedd2b2;},'UcZXn':_0x34ba9a(0x203),'ECaJK':_0x34ba9a(0x1c9),'Yglco':_0x34ba9a(0x1f6),'KJkrr':function(_0x118845,_0x497911,_0x5a1465){return _0x118845(_0x497911,_0x5a1465);},'ypRyz':_0x34ba9a(0x1d7),'CaaAv':function(_0x1439f1,_0x4d46a5){return _0x1439f1(_0x4d46a5);},'YTFHY':function(_0x38afd6,_0x4f8e8d){return _0x38afd6||_0x4f8e8d;}},{fileName:_0x480535,path:_0xc51538,fileSize:_0x507eca,md5:_0x43797f}=await NTQQFileApi['uploadFile'](_0x435cbd,ElementType[_0x34ba9a(0x1cf)]);if(_0x507eca===0x0)throw _0x471387['UcZXn'];const _0x205145=require(_0x471387[_0x34ba9a(0x1ed)]);let _0x29946b=_0xc51538[_0x34ba9a(0x1e3)](_0x205145['sep']+_0x34ba9a(0x1f9)+_0x205145['sep'],_0x205145[_0x34ba9a(0x1d8)]+_0x34ba9a(0x1d3)+_0x205145[_0x34ba9a(0x1d8)]);_0x29946b=_0x205145[_0x34ba9a(0x1e4)](_0x29946b);let _0xd24f2={'width':0x780,'height':0x438,'time':0xf,'format':_0x471387[_0x34ba9a(0x1ca)],'size':_0x507eca,'filePath':_0x435cbd};try{_0xd24f2=await _0x471387['Tshtu'](getVideoInfo,_0xc51538),_0x471387['KJkrr'](log,'视频信息',_0xd24f2);}catch(_0x46da71){_0x471387[_0x34ba9a(0x1e7)](log,_0x471387[_0x34ba9a(0x1f5)],_0x46da71);}const _0x279c44=new Promise((_0x4ed102,_0x50946c)=>{const _0x5b6415=_0x34ba9a,_0x56cf28={'QIPmY':function(_0x27bd6c,_0x38ebe7){const _0x3ce24b=_0x4866;return _0x471387[_0x3ce24b(0x20d)](_0x27bd6c,_0x38ebe7);},'wQIYS':function(_0x555387,_0x4fd96b){return _0x555387(_0x4fd96b);}},_0x431a51=_0x43797f+_0x5b6415(0x1dd),_0x35e1b2=_0x205145[_0x5b6415(0x1de)](_0x29946b,_0x431a51);_0x471387[_0x5b6415(0x20d)](_0x49cf5e,_0x435cbd)['on'](_0x471387[_0x5b6415(0x20c)],()=>{})['on'](_0x471387[_0x5b6415(0x1c8)],_0x5b3608=>{const _0x470c0d=_0x5b6415;_0x471387[_0x470c0d(0x1e7)](log,_0x471387[_0x470c0d(0x1f4)],_0x5b3608),_0x3def75?_0x2cf348[_0x470c0d(0x1ee)](_0x3def75,_0x35e1b2)['then'](()=>{const _0x4e5ccc=_0x470c0d;_0x56cf28[_0x4e5ccc(0x1f3)](_0x4ed102,_0x35e1b2);})['catch'](_0x50946c):_0x2cf348[_0x470c0d(0x210)](_0x35e1b2,defaultVideoThumb)['then'](()=>{const _0x52963b=_0x470c0d;_0x56cf28[_0x52963b(0x1da)](_0x4ed102,_0x35e1b2);})[_0x470c0d(0x1fa)](_0x50946c);})[_0x5b6415(0x1fc)]({'timestamps':[0x0],'filename':_0x431a51,'folder':_0x29946b,'size':_0x471387['YRoHF'](_0x471387[_0x5b6415(0x1ef)](_0xd24f2[_0x5b6415(0x20a)],'x'),_0xd24f2[_0x5b6415(0x1e5)])})['on'](_0x471387['peYgf'],()=>{const _0x3e6bdd=_0x5b6415;_0x471387[_0x3e6bdd(0x20d)](_0x4ed102,_0x35e1b2);});}),_0x3ed7f9=new Map(),_0x2f29ce=await _0x279c44,_0x5c8287=(await _0x2cf348[_0x34ba9a(0x1ce)](_0x2f29ce))['size'];_0x3ed7f9[_0x34ba9a(0x1e2)](0x0,_0x2f29ce);const _0x3a53a1=await _0x471387[_0x34ba9a(0x212)](calculateFileMD5,_0x2f29ce),_0x4bba54={'elementType':ElementType[_0x34ba9a(0x1cf)],'elementId':'','videoElement':{'fileName':_0x471387[_0x34ba9a(0x20e)](_0xf03860,_0x480535),'filePath':_0xc51538,'videoMd5':_0x43797f,'thumbMd5':_0x3a53a1,'fileTime':_0xd24f2[_0x34ba9a(0x1c4)],'thumbPath':_0x3ed7f9,'thumbSize':_0x5c8287,'thumbWidth':_0xd24f2['width'],'thumbHeight':_0xd24f2[_0x34ba9a(0x1e5)],'fileSize':''+_0x507eca}};return _0x4bba54;}static async[_0x1bd8e6(0x1df)](_0x1d7392){const _0x32ca39=_0x1bd8e6,_0x48bd8c={'UjsQW':function(_0x2e2525,_0x22bfe1){return _0x2e2525(_0x22bfe1);},'XMumh':_0x32ca39(0x203)},{converted:_0x9afc7,path:_0x1d7b12,duration:_0x997e15}=await _0x48bd8c[_0x32ca39(0x201)](encodeSilk,_0x1d7392),{md5:_0x3278d7,fileName:_0x3c1de8,path:_0x1ec354,fileSize:_0x47b439}=await NTQQFileApi['uploadFile'](_0x1d7b12,ElementType[_0x32ca39(0x1eb)]);if(_0x47b439===0x0)throw _0x48bd8c[_0x32ca39(0x200)];return _0x9afc7&&_0x2cf348[_0x32ca39(0x1c6)](_0x1d7b12)[_0x32ca39(0x1d5)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x3c1de8,'filePath':_0x1ec354,'md5HexStr':_0x3278d7,'fileSize':_0x47b439,'duration':_0x997e15||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x1bd8e6(0x1f8)](_0x3fb4e1){const _0x41ff63=_0x1bd8e6,_0x11dec0={'KsRNz':function(_0x2af383,_0x13107f){return _0x2af383<_0x13107f;}};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x3fb4e1,'faceType':_0x11dec0[_0x41ff63(0x206)](_0x3fb4e1,0xde)?FaceType[_0x41ff63(0x1ec)]:FaceType['normal2']}};}static[_0x1bd8e6(0x1ff)](_0x1ca2c5){const _0x2ba664=_0x1bd8e6,_0x287d65={'KQtHH':_0x2ba664(0x1ea)};return{'elementType':ElementType[_0x2ba664(0x1cc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2ba664(0x1ff)],'faceType':FaceType['dice'],'faceText':_0x287d65['KQtHH'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1bd8e6(0x1e0)](_0x430969){const _0x2fd11c=_0x1bd8e6;return{'elementType':ElementType[_0x2fd11c(0x1cc)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1bd8e6(0x1e6)](_0x5cfa7b){const _0x2f67c9=_0x1bd8e6;return{'elementType':ElementType[_0x2f67c9(0x1db)],'elementId':'','arkElement':{'bytesData':_0x5cfa7b,'linkInfo':null,'subElementType':null}};}static[_0x1bd8e6(0x208)](_0x206193){const _0x26e8e9=_0x1bd8e6;return{'elementType':ElementType[_0x26e8e9(0x1f7)],'elementId':'','markdownElement':{'content':_0x206193}};}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/group.js b/src/core.lib/src/qqnt/entities/group.js index 158d4a594..282984a8d 100644 --- a/src/core.lib/src/qqnt/entities/group.js +++ b/src/core.lib/src/qqnt/entities/group.js @@ -1 +1 @@ -(function(_0x9d4762,_0x52c402){var _0x442778=_0x5a9d,_0x175bf9=_0x9d4762();while(!![]){try{var _0x1b5606=-parseInt(_0x442778(0x96))/0x1+-parseInt(_0x442778(0x8f))/0x2+-parseInt(_0x442778(0x9a))/0x3+parseInt(_0x442778(0x98))/0x4*(-parseInt(_0x442778(0x91))/0x5)+-parseInt(_0x442778(0x95))/0x6+-parseInt(_0x442778(0x97))/0x7*(-parseInt(_0x442778(0x94))/0x8)+parseInt(_0x442778(0x92))/0x9;if(_0x1b5606===_0x52c402)break;else _0x175bf9['push'](_0x175bf9['shift']());}catch(_0x5952ac){_0x175bf9['push'](_0x175bf9['shift']());}}}(_0x54b5,0xd04f6));function _0x5a9d(_0x115efe,_0x385b3b){var _0x54b5ef=_0x54b5();return _0x5a9d=function(_0x5a9d2d,_0x210bb8){_0x5a9d2d=_0x5a9d2d-0x8e;var _0xaae7ab=_0x54b5ef[_0x5a9d2d];return _0xaae7ab;},_0x5a9d(_0x115efe,_0x385b3b);}export var GroupMemberRole;(function(_0x5e3931){var _0x32edb2=_0x5a9d,_0x24249d={'dpkid':_0x32edb2(0x93),'VQtve':'owner'};_0x5e3931[_0x5e3931[_0x32edb2(0x99)]=0x2]=_0x32edb2(0x99),_0x5e3931[_0x5e3931[_0x24249d[_0x32edb2(0x8e)]]=0x3]=_0x24249d[_0x32edb2(0x8e)],_0x5e3931[_0x5e3931[_0x24249d[_0x32edb2(0x90)]]=0x4]=_0x24249d[_0x32edb2(0x90)];}(GroupMemberRole||(GroupMemberRole={})));function _0x54b5(){var _0x456732=['8HQVOFs','4312878LnhfYG','448391dtyzXr','11833269JDpUel','164fLaMgO','normal','2043417bxYPQF','dpkid','2717320ndfhPT','VQtve','82725DPhEBu','27433071uCFjSb','admin'];_0x54b5=function(){return _0x456732;};return _0x54b5();} \ No newline at end of file +function _0xdd85(){var _0x8aee54=['owner','204PAyMBG','admin','1522088VzrprI','105036ImtSBq','448299Klrnki','18425FMIwXN','40BpQcAs','yCOhr','4KTZczv','OHTAR','1096235oQaljQ','MZPVP','119219bWkHEX','359874GHXFtx'];_0xdd85=function(){return _0x8aee54;};return _0xdd85();}function _0x4740(_0x2184fd,_0x288faa){var _0xdd85d5=_0xdd85();return _0x4740=function(_0x4740d5,_0x4c799f){_0x4740d5=_0x4740d5-0x17c;var _0x1bcb01=_0xdd85d5[_0x4740d5];return _0x1bcb01;},_0x4740(_0x2184fd,_0x288faa);}(function(_0x1d86a9,_0x2851c2){var _0x211200=_0x4740,_0x9ee885=_0x1d86a9();while(!![]){try{var _0x5c9b43=-parseInt(_0x211200(0x184))/0x1+parseInt(_0x211200(0x180))/0x2*(-parseInt(_0x211200(0x18a))/0x3)+-parseInt(_0x211200(0x187))/0x4*(parseInt(_0x211200(0x17d))/0x5)+-parseInt(_0x211200(0x185))/0x6+parseInt(_0x211200(0x182))/0x7+parseInt(_0x211200(0x189))/0x8+parseInt(_0x211200(0x17c))/0x9*(parseInt(_0x211200(0x17e))/0xa);if(_0x5c9b43===_0x2851c2)break;else _0x9ee885['push'](_0x9ee885['shift']());}catch(_0x121ef3){_0x9ee885['push'](_0x9ee885['shift']());}}}(_0xdd85,0x1a999));export var GroupMemberRole;(function(_0x59e7a5){var _0x586b9a=_0x4740,_0x48ef58={'MZPVP':'normal','OHTAR':_0x586b9a(0x188),'yCOhr':_0x586b9a(0x186)};_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x183)]]=0x2]=_0x48ef58[_0x586b9a(0x183)],_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x181)]]=0x3]='admin',_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x17f)]]=0x4]=_0x48ef58[_0x586b9a(0x17f)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/index.js b/src/core.lib/src/qqnt/entities/index.js index 79c302ed8..6d280fccb 100644 --- a/src/core.lib/src/qqnt/entities/index.js +++ b/src/core.lib/src/qqnt/entities/index.js @@ -1 +1 @@ -(function(_0x1cc2bc,_0x35e726){var _0xb84398=_0x4551,_0x2f189d=_0x1cc2bc();while(!![]){try{var _0x1a1695=parseInt(_0xb84398(0x65))/0x1+parseInt(_0xb84398(0x67))/0x2*(-parseInt(_0xb84398(0x69))/0x3)+-parseInt(_0xb84398(0x6c))/0x4*(-parseInt(_0xb84398(0x6a))/0x5)+-parseInt(_0xb84398(0x6b))/0x6+-parseInt(_0xb84398(0x68))/0x7+-parseInt(_0xb84398(0x66))/0x8*(-parseInt(_0xb84398(0x6d))/0x9)+-parseInt(_0xb84398(0x6f))/0xa*(-parseInt(_0xb84398(0x6e))/0xb);if(_0x1a1695===_0x35e726)break;else _0x2f189d['push'](_0x2f189d['shift']());}catch(_0x2f6b7b){_0x2f189d['push'](_0x2f189d['shift']());}}}(_0x283f,0xb988b));export*from'./user';function _0x283f(){var _0x15394e=['86613xCUQDm','483950oCQecz','4042140ZhXjKv','40qFviWB','81630ByhIiC','6665483RAowVu','10NcwquS','501874JcFSbF','24tCgzrn','14sgYORO','3270421YCiCNF'];_0x283f=function(){return _0x15394e;};return _0x283f();}export*from'./group';export*from'./msg';function _0x4551(_0x2dfa88,_0x2e3e97){var _0x283f34=_0x283f();return _0x4551=function(_0x45519c,_0x25a880){_0x45519c=_0x45519c-0x65;var _0x48e80d=_0x283f34[_0x45519c];return _0x48e80d;},_0x4551(_0x2dfa88,_0x2e3e97);}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x40cb53,_0x4607ad){var _0x2a30d6=_0x54ef,_0x1e72e8=_0x40cb53();while(!![]){try{var _0x109b8a=-parseInt(_0x2a30d6(0x115))/0x1*(-parseInt(_0x2a30d6(0x11a))/0x2)+-parseInt(_0x2a30d6(0x118))/0x3*(parseInt(_0x2a30d6(0x116))/0x4)+parseInt(_0x2a30d6(0x11c))/0x5+-parseInt(_0x2a30d6(0x11b))/0x6*(parseInt(_0x2a30d6(0x11d))/0x7)+parseInt(_0x2a30d6(0x119))/0x8+parseInt(_0x2a30d6(0x114))/0x9+-parseInt(_0x2a30d6(0x11e))/0xa*(-parseInt(_0x2a30d6(0x117))/0xb);if(_0x109b8a===_0x4607ad)break;else _0x1e72e8['push'](_0x1e72e8['shift']());}catch(_0x35b93b){_0x1e72e8['push'](_0x1e72e8['shift']());}}}(_0x3a46,0x22c8e));function _0x3a46(){var _0x56a0ff=['7sRvroy','2687610OXJxIf','1854864QDIcpI','1ppYTSa','357092DvGXdJ','11SzRixC','6Vizrxs','360496mwIRDi','44914PrSmJY','1370838MLtyrI','35605ELRImu'];_0x3a46=function(){return _0x56a0ff;};return _0x3a46();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x54ef(_0x1eeacf,_0x4ab49a){var _0x3a466d=_0x3a46();return _0x54ef=function(_0x54ef4b,_0x5a6168){_0x54ef4b=_0x54ef4b-0x114;var _0xe7c4f=_0x3a466d[_0x54ef4b];return _0xe7c4f;},_0x54ef(_0x1eeacf,_0x4ab49a);}export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/msg.js b/src/core.lib/src/qqnt/entities/msg.js index 086154b11..389a5c609 100644 --- a/src/core.lib/src/qqnt/entities/msg.js +++ b/src/core.lib/src/qqnt/entities/msg.js @@ -1 +1 @@ -var _0x418f3d=_0xbacc;(function(_0x5ca714,_0x42cdd){var _0xdc7d66=_0xbacc,_0x5bfa5a=_0x5ca714();while(!![]){try{var _0x3cbc03=-parseInt(_0xdc7d66(0xe5))/0x1*(parseInt(_0xdc7d66(0x100))/0x2)+parseInt(_0xdc7d66(0xed))/0x3*(parseInt(_0xdc7d66(0x109))/0x4)+parseInt(_0xdc7d66(0x10a))/0x5+parseInt(_0xdc7d66(0xfa))/0x6*(parseInt(_0xdc7d66(0xdc))/0x7)+parseInt(_0xdc7d66(0xfc))/0x8*(parseInt(_0xdc7d66(0xf3))/0x9)+-parseInt(_0xdc7d66(0x108))/0xa*(-parseInt(_0xdc7d66(0xfd))/0xb)+parseInt(_0xdc7d66(0xe0))/0xc*(-parseInt(_0xdc7d66(0xe7))/0xd);if(_0x3cbc03===_0x42cdd)break;else _0x5bfa5a['push'](_0x5bfa5a['shift']());}catch(_0x5193de){_0x5bfa5a['push'](_0x5bfa5a['shift']());}}}(_0x3d7b,0xc57dc));function _0xbacc(_0x82c4bb,_0xe7960f){var _0x3d7b0b=_0x3d7b();return _0xbacc=function(_0xbacc75,_0x29db60){_0xbacc75=_0xbacc75-0xce;var _0x2cf5ba=_0x3d7b0b[_0xbacc75];return _0x2cf5ba;},_0xbacc(_0x82c4bb,_0xe7960f);}export var ElementType;(function(_0x1f1c2b){var _0x50dd33=_0xbacc,_0xee15ff={'TXswh':_0x50dd33(0xe9),'DPqDO':_0x50dd33(0x103),'qvCcz':_0x50dd33(0xd3),'hKDwv':_0x50dd33(0x104),'BebDu':_0x50dd33(0xd4),'roJkE':'REPLY','CFwfj':_0x50dd33(0x106),'QQaVL':_0x50dd33(0xe6),'xsvfz':_0x50dd33(0xd6)},_0x59cf7d=_0xee15ff[_0x50dd33(0xda)][_0x50dd33(0xec)]('|'),_0x475b88=0x0;while(!![]){switch(_0x59cf7d[_0x475b88++]){case'0':_0x1f1c2b[_0x1f1c2b['FILE']=0x3]=_0xee15ff['DPqDO'];continue;case'1':_0x1f1c2b[_0x1f1c2b[_0x50dd33(0xd3)]=0x2]=_0xee15ff[_0x50dd33(0xcf)];continue;case'2':_0x1f1c2b[_0x1f1c2b['PTT']=0x4]='PTT';continue;case'3':_0x1f1c2b[_0x1f1c2b[_0xee15ff[_0x50dd33(0xf9)]]=0xa]=_0x50dd33(0x104);continue;case'4':_0x1f1c2b[_0x1f1c2b[_0x50dd33(0xd4)]=0x5]=_0xee15ff['BebDu'];continue;case'5':_0x1f1c2b[_0x1f1c2b[_0xee15ff[_0x50dd33(0xde)]]=0x7]=_0xee15ff[_0x50dd33(0xde)];continue;case'6':_0x1f1c2b[_0x1f1c2b[_0xee15ff['CFwfj']]=0xe]=_0x50dd33(0x106);continue;case'7':_0x1f1c2b[_0x1f1c2b[_0xee15ff[_0x50dd33(0xdb)]]=0x6]=_0xee15ff['QQaVL'];continue;case'8':_0x1f1c2b[_0x1f1c2b[_0xee15ff['xsvfz']]=0x1]=_0x50dd33(0xd6);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2bda7e){var _0xbcf62c=_0xbacc,_0x2d8a55={'VDZEi':_0xbcf62c(0xd9),'BvLmC':_0xbcf62c(0x101)};_0x2bda7e[_0x2bda7e[_0x2d8a55[_0xbcf62c(0xf8)]]=0x7d0]=_0x2d8a55['VDZEi'],_0x2bda7e[_0x2bda7e[_0x2d8a55['BvLmC']]=0x3e8]=_0x2d8a55[_0xbcf62c(0xce)];}(PicType||(PicType={})));export var PicSubType;(function(_0x49da92){var _0x25c694=_0xbacc,_0x32f58c={'BcTGv':_0x25c694(0xf1),'JHqws':_0x25c694(0x102)};_0x49da92[_0x49da92[_0x32f58c[_0x25c694(0xe8)]]=0x0]=_0x25c694(0xf1),_0x49da92[_0x49da92[_0x25c694(0x102)]=0x1]=_0x32f58c[_0x25c694(0xef)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x30f88c){var _0x2647f0=_0xbacc,_0x25ae37={'DERdd':'notAt','mVdIp':'atAll','FnlUv':_0x2647f0(0xe1)};_0x30f88c[_0x30f88c[_0x25ae37[_0x2647f0(0xf5)]]=0x0]=_0x25ae37['DERdd'],_0x30f88c[_0x30f88c[_0x25ae37[_0x2647f0(0xf0)]]=0x1]=_0x2647f0(0xf7),_0x30f88c[_0x30f88c[_0x25ae37[_0x2647f0(0xeb)]]=0x2]=_0x25ae37[_0x2647f0(0xeb)];}(AtType||(AtType={})));export var ChatType;(function(_0x587434){var _0x334ce6=_0xbacc,_0xa9d7ec={'IGEBK':'group','bIeZZ':_0x334ce6(0xf6)};_0x587434[_0x587434[_0x334ce6(0xd0)]=0x1]='friend',_0x587434[_0x587434[_0xa9d7ec['IGEBK']]=0x2]=_0x334ce6(0xea),_0x587434[_0x587434[_0xa9d7ec[_0x334ce6(0xe3)]]=0x64]=_0xa9d7ec[_0x334ce6(0xe3)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x418f3d(0xe4);export const IMAGE_HTTP_HOST_NT=_0x418f3d(0xdd);export var GrayTipElementSubType;(function(_0x1c45b0){var _0x34bc0a=_0x418f3d,_0x4a715a={'boWve':'MEMBER_NEW_TITLE'};_0x1c45b0[_0x1c45b0[_0x34bc0a(0xe2)]=0xc]=_0x34bc0a(0xe2),_0x1c45b0[_0x1c45b0[_0x34bc0a(0xd7)]=0x11]=_0x4a715a[_0x34bc0a(0xf2)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x375fc8){var _0x441a9c=_0x418f3d,_0x1c3fb1={'DWIjv':'normal','qDNDW':'normal2','pXcrc':_0x441a9c(0xf4)};_0x375fc8[_0x375fc8[_0x1c3fb1[_0x441a9c(0xd5)]]=0x1]=_0x1c3fb1[_0x441a9c(0xd5)],_0x375fc8[_0x375fc8[_0x1c3fb1[_0x441a9c(0x107)]]=0x2]=_0x441a9c(0xdf),_0x375fc8[_0x375fc8[_0x1c3fb1[_0x441a9c(0xd8)]]=0x3]=_0x441a9c(0xf4);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x28d3c8){var _0x5dd400=_0x418f3d,_0x1e09a6={'AFFLN':_0x5dd400(0xf4),'MExYC':_0x5dd400(0xfe)};_0x28d3c8[_0x28d3c8[_0x1e09a6[_0x5dd400(0xfb)]]=0x166]=_0x5dd400(0xf4),_0x28d3c8[_0x28d3c8[_0x1e09a6[_0x5dd400(0xee)]]=0x167]=_0x1e09a6['MExYC'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0xd037d7){var _0x376816=_0x418f3d,_0x11e009={'KNJgh':'memberIncrease','hyshh':'kicked','PNkyD':_0x376816(0x105)};_0xd037d7[_0xd037d7[_0x11e009[_0x376816(0xd2)]]=0x1]=_0x11e009[_0x376816(0xd2)],_0xd037d7[_0xd037d7[_0x11e009['hyshh']]=0x3]=_0x11e009[_0x376816(0xff)],_0xd037d7[_0xd037d7[_0x11e009[_0x376816(0xd1)]]=0x8]=_0x376816(0x105);}(TipGroupElementType||(TipGroupElementType={})));function _0x3d7b(){var _0x36404c=['126292zFTfCb','jpg','face','FILE','ARK','ban','MARKDOWN','qDNDW','180SpYLOG','176Rkqwav','5361375yoxQCh','BvLmC','qvCcz','friend','PNkyD','KNJgh','PIC','VIDEO','DWIjv','TEXT','MEMBER_NEW_TITLE','pXcrc','gif','TXswh','QQaVL','8337lNedbL','https://multimedia.nt.qq.com.cn','roJkE','normal2','9528KqSilL','atUser','INVITE_NEW_MEMBER','bIeZZ','https://gchat.qpic.cn','3PxXMSR','FACE','44811dChkhN','BcTGv','8|1|0|2|4|7|5|3|6','group','FnlUv','split','59079cUGwXC','MExYC','JHqws','mVdIp','normal','boWve','51174QjCmTm','dice','DERdd','temp','atAll','VDZEi','hKDwv','1926oyEJfR','AFFLN','1096ipvzwg','388190CVzpZV','RPS','hyshh'];_0x3d7b=function(){return _0x36404c;};return _0x3d7b();} \ No newline at end of file +var _0x2afb8b=_0x4cd3;function _0x4e75(){var _0x6695f3=['lRELx','TEXT','1588VGGAXE','4757964eoXBBm','normal2','kCtOx','mmEhe','8132080cViKNC','gif','MARKDOWN','YrqTE','notAt','JXzho','1850065WyMySi','4136090EMVbga','face','REPLY','FILE','atUser','7jKzxbC','wWySu','Yjkin','SYwmo','atAll','ARK','group','NnMwi','AiAgK','8LHKyZv','20686Vdpbct','https://multimedia.nt.qq.com.cn','ban','memberIncrease','Ywcio','pLnZy','hhFMv','OZLBI','nGhuf','dice','PIC','qlfdc','VIDEO','4719654nxqMJz','kicked','5886YPzxwE','friend','jpg','https://gchat.qpic.cn','0|1|6|5|4|2|7|3|8','normal','eQIeR','FACE','INVITE_NEW_MEMBER','XVucb','jArSZ','PTT','NLzjh','wajbz','TDYIH','UCvzl'];_0x4e75=function(){return _0x6695f3;};return _0x4e75();}(function(_0x126e40,_0x297ec5){var _0x22d0dd=_0x4cd3,_0x20eed4=_0x126e40();while(!![]){try{var _0x137cbc=parseInt(_0x22d0dd(0x1fb))/0x1*(-parseInt(_0x22d0dd(0x205))/0x2)+-parseInt(_0x22d0dd(0x214))/0x3*(-parseInt(_0x22d0dd(0x226))/0x4)+-parseInt(_0x22d0dd(0x1f6))/0x5+-parseInt(_0x22d0dd(0x227))/0x6+parseInt(_0x22d0dd(0x1f5))/0x7+-parseInt(_0x22d0dd(0x204))/0x8*(-parseInt(_0x22d0dd(0x212))/0x9)+parseInt(_0x22d0dd(0x1ef))/0xa;if(_0x137cbc===_0x297ec5)break;else _0x20eed4['push'](_0x20eed4['shift']());}catch(_0x553823){_0x20eed4['push'](_0x20eed4['shift']());}}}(_0x4e75,0xa8052));export var ElementType;(function(_0x3710b7){var _0x7ce05a=_0x4cd3,_0x35499d={'LOYhs':_0x7ce05a(0x218),'XVucb':_0x7ce05a(0x225),'YrqTE':_0x7ce05a(0x20f),'JXzho':_0x7ce05a(0x21b),'Yjkin':_0x7ce05a(0x200),'OZLBI':_0x7ce05a(0x211),'fLKIj':_0x7ce05a(0x21f),'AiAgK':_0x7ce05a(0x1f9),'jArSZ':_0x7ce05a(0x1f8)},_0x27f0f1=_0x35499d['LOYhs']['split']('|'),_0x2bad6b=0x0;while(!![]){switch(_0x27f0f1[_0x2bad6b++]){case'0':_0x3710b7[_0x3710b7[_0x35499d[_0x7ce05a(0x21d)]]=0x1]=_0x35499d[_0x7ce05a(0x21d)];continue;case'1':_0x3710b7[_0x3710b7[_0x35499d[_0x7ce05a(0x1f2)]]=0x2]=_0x35499d[_0x7ce05a(0x1f2)];continue;case'2':_0x3710b7[_0x3710b7[_0x35499d[_0x7ce05a(0x1f4)]]=0x6]=_0x35499d[_0x7ce05a(0x1f4)];continue;case'3':_0x3710b7[_0x3710b7[_0x35499d[_0x7ce05a(0x1fd)]]=0xa]=_0x7ce05a(0x200);continue;case'4':_0x3710b7[_0x3710b7[_0x35499d['OZLBI']]=0x5]=_0x35499d[_0x7ce05a(0x20c)];continue;case'5':_0x3710b7[_0x3710b7[_0x7ce05a(0x21f)]=0x4]=_0x35499d['fLKIj'];continue;case'6':_0x3710b7[_0x3710b7[_0x7ce05a(0x1f9)]=0x3]=_0x35499d[_0x7ce05a(0x203)];continue;case'7':_0x3710b7[_0x3710b7[_0x35499d['jArSZ']]=0x7]=_0x35499d[_0x7ce05a(0x21e)];continue;case'8':_0x3710b7[_0x3710b7['MARKDOWN']=0xe]=_0x7ce05a(0x1f1);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x21e4bc){var _0x2fccbe=_0x4cd3,_0x3da7f6={'NnMwi':_0x2fccbe(0x1f0),'nGhuf':'jpg'};_0x21e4bc[_0x21e4bc[_0x3da7f6[_0x2fccbe(0x202)]]=0x7d0]=_0x3da7f6[_0x2fccbe(0x202)],_0x21e4bc[_0x21e4bc[_0x2fccbe(0x216)]=0x3e8]=_0x3da7f6[_0x2fccbe(0x20d)];}(PicType||(PicType={})));export var PicSubType;(function(_0x3e009f){var _0x735b0=_0x4cd3,_0x51be5d={'kCtOx':'normal','eQIeR':_0x735b0(0x1f7)};_0x3e009f[_0x3e009f[_0x51be5d[_0x735b0(0x229)]]=0x0]=_0x51be5d[_0x735b0(0x229)],_0x3e009f[_0x3e009f[_0x51be5d['eQIeR']]=0x1]=_0x51be5d[_0x735b0(0x21a)];}(PicSubType||(PicSubType={})));export var AtType;function _0x4cd3(_0x1d1e77,_0x2afa9b){var _0x4e7575=_0x4e75();return _0x4cd3=function(_0x4cd3ff,_0x1b2b2b){_0x4cd3ff=_0x4cd3ff-0x1ef;var _0x1f3a3a=_0x4e7575[_0x4cd3ff];return _0x1f3a3a;},_0x4cd3(_0x1d1e77,_0x2afa9b);}(function(_0x5cd5eb){var _0x3282e9=_0x4cd3,_0x395301={'SYwmo':_0x3282e9(0x1f3),'XECnw':_0x3282e9(0x1ff),'pLnZy':_0x3282e9(0x1fa)};_0x5cd5eb[_0x5cd5eb[_0x395301['SYwmo']]=0x0]=_0x395301[_0x3282e9(0x1fe)],_0x5cd5eb[_0x5cd5eb[_0x395301['XECnw']]=0x1]=_0x395301['XECnw'],_0x5cd5eb[_0x5cd5eb[_0x395301[_0x3282e9(0x20a)]]=0x2]=_0x395301[_0x3282e9(0x20a)];}(AtType||(AtType={})));export var ChatType;(function(_0x3805e8){var _0x158aa0=_0x4cd3,_0x2ec588={'UCvzl':_0x158aa0(0x215),'TDYIH':'temp'};_0x3805e8[_0x3805e8[_0x2ec588['UCvzl']]=0x1]=_0x2ec588[_0x158aa0(0x223)],_0x3805e8[_0x3805e8[_0x158aa0(0x201)]=0x2]=_0x158aa0(0x201),_0x3805e8[_0x3805e8[_0x2ec588[_0x158aa0(0x222)]]=0x64]=_0x2ec588[_0x158aa0(0x222)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2afb8b(0x217);export const IMAGE_HTTP_HOST_NT=_0x2afb8b(0x206);export var GrayTipElementSubType;(function(_0x49e941){var _0x158626=_0x2afb8b,_0x238112={'QFyMj':_0x158626(0x21c),'hhFMv':'MEMBER_NEW_TITLE'};_0x49e941[_0x49e941['INVITE_NEW_MEMBER']=0xc]=_0x238112['QFyMj'],_0x49e941[_0x49e941[_0x238112[_0x158626(0x20b)]]=0x11]=_0x238112[_0x158626(0x20b)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x19c2d7){var _0x5a8c5c=_0x2afb8b,_0x2ed0ac={'NLzjh':_0x5a8c5c(0x219),'wWySu':_0x5a8c5c(0x228),'wajbz':_0x5a8c5c(0x20e)};_0x19c2d7[_0x19c2d7[_0x2ed0ac[_0x5a8c5c(0x220)]]=0x1]=_0x2ed0ac['NLzjh'],_0x19c2d7[_0x19c2d7[_0x2ed0ac[_0x5a8c5c(0x1fc)]]=0x2]=_0x5a8c5c(0x228),_0x19c2d7[_0x19c2d7[_0x2ed0ac[_0x5a8c5c(0x221)]]=0x3]=_0x2ed0ac[_0x5a8c5c(0x221)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x445c15){var _0x1a0b2f=_0x2afb8b,_0x37f2d4={'Ywcio':_0x1a0b2f(0x20e),'mmEhe':'RPS'};_0x445c15[_0x445c15[_0x37f2d4[_0x1a0b2f(0x209)]]=0x166]=_0x37f2d4[_0x1a0b2f(0x209)],_0x445c15[_0x445c15[_0x37f2d4['mmEhe']]=0x167]=_0x37f2d4[_0x1a0b2f(0x22a)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x3fecd7){var _0x58b71c=_0x2afb8b,_0x4c3f14={'lRELx':_0x58b71c(0x208),'qlfdc':_0x58b71c(0x207)};_0x3fecd7[_0x3fecd7[_0x4c3f14[_0x58b71c(0x224)]]=0x1]=_0x4c3f14[_0x58b71c(0x224)],_0x3fecd7[_0x3fecd7[_0x58b71c(0x213)]=0x3]='kicked',_0x3fecd7[_0x3fecd7[_0x4c3f14[_0x58b71c(0x210)]]=0x8]=_0x4c3f14[_0x58b71c(0x210)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/notify.js b/src/core.lib/src/qqnt/entities/notify.js index bd0c1b367..b202bb49e 100644 --- a/src/core.lib/src/qqnt/entities/notify.js +++ b/src/core.lib/src/qqnt/entities/notify.js @@ -1 +1 @@ -function _0x5439(){var _0x13bdbf=['APPROVE','INVITED_JOIN','265630CyPSwP','193196CcrWQS','iXuOA','558027jWCkeK','496746pxwIzG','oMFaR','AKquL','MEMBER_EXIT','683830kbDfTs','hwYwy','6680SFdkhv','pesXT','WAIT_HANDLE','BlftA','CCfhp','JOIN_REQUEST','REJECT','973LhBFpp','NMnAj','DZdYx','KICK_MEMBER','112213mdjTAA','ADMIN_SET','JKTvW','INVITE_ME','reject','ADMIN_UNSET'];_0x5439=function(){return _0x13bdbf;};return _0x5439();}(function(_0x3153bd,_0x400605){var _0x3a1ff9=_0x5b1b,_0x411c0b=_0x3153bd();while(!![]){try{var _0xb40a70=-parseInt(_0x3a1ff9(0xcd))/0x1+-parseInt(_0x3a1ff9(0xd5))/0x2+parseInt(_0x3a1ff9(0xd8))/0x3+parseInt(_0x3a1ff9(0xd6))/0x4+parseInt(_0x3a1ff9(0xc0))/0x5+-parseInt(_0x3a1ff9(0xd9))/0x6+parseInt(_0x3a1ff9(0xc9))/0x7*(parseInt(_0x3a1ff9(0xc2))/0x8);if(_0xb40a70===_0x400605)break;else _0x411c0b['push'](_0x411c0b['shift']());}catch(_0x43e7c7){_0x411c0b['push'](_0x411c0b['shift']());}}}(_0x5439,0x26e58));export var GroupNotifyTypes;(function(_0x4c29ec){var _0x25d9fe=_0x5b1b,_0x5254e6={'NMnAj':_0x25d9fe(0xd0),'hNGMu':'INVITED_JOIN','DZdYx':_0x25d9fe(0xc7),'xIqFy':_0x25d9fe(0xce),'iXuOA':_0x25d9fe(0xcc),'CCfhp':_0x25d9fe(0xbf),'hwYwy':_0x25d9fe(0xd2)};_0x4c29ec[_0x4c29ec[_0x25d9fe(0xd0)]=0x1]=_0x5254e6[_0x25d9fe(0xca)],_0x4c29ec[_0x4c29ec[_0x25d9fe(0xd4)]=0x4]=_0x5254e6['hNGMu'],_0x4c29ec[_0x4c29ec[_0x5254e6[_0x25d9fe(0xcb)]]=0x7]=_0x5254e6[_0x25d9fe(0xcb)],_0x4c29ec[_0x4c29ec[_0x25d9fe(0xce)]=0x8]=_0x5254e6['xIqFy'],_0x4c29ec[_0x4c29ec[_0x5254e6[_0x25d9fe(0xd7)]]=0x9]=_0x5254e6[_0x25d9fe(0xd7)],_0x4c29ec[_0x4c29ec[_0x25d9fe(0xbf)]=0xb]=_0x5254e6[_0x25d9fe(0xc6)],_0x4c29ec[_0x4c29ec[_0x5254e6[_0x25d9fe(0xc1)]]=0xc]=_0x5254e6[_0x25d9fe(0xc1)];}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5b1b(_0x531414,_0xc1ef1b){var _0x54397a=_0x5439();return _0x5b1b=function(_0x5b1bba,_0x2dce81){_0x5b1bba=_0x5b1bba-0xbe;var _0x50b5b1=_0x54397a[_0x5b1bba];return _0x50b5b1;},_0x5b1b(_0x531414,_0xc1ef1b);}export var GroupNotifyStatus;(function(_0xeaa9c9){var _0x396274=_0x5b1b,_0x54c9da={'pesXT':'IGNORE','JKTvW':_0x396274(0xc4),'BlftA':_0x396274(0xd3)};_0xeaa9c9[_0xeaa9c9[_0x54c9da[_0x396274(0xc3)]]=0x0]=_0x54c9da[_0x396274(0xc3)],_0xeaa9c9[_0xeaa9c9[_0x54c9da[_0x396274(0xcf)]]=0x1]=_0x54c9da[_0x396274(0xcf)],_0xeaa9c9[_0xeaa9c9['APPROVE']=0x2]=_0x54c9da[_0x396274(0xc5)],_0xeaa9c9[_0xeaa9c9[_0x396274(0xc8)]=0x3]=_0x396274(0xc8);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x26d6fa){var _0x4524e5=_0x5b1b,_0x16b39e={'AKquL':'approve','oMFaR':_0x4524e5(0xd1)};_0x26d6fa[_0x26d6fa[_0x16b39e[_0x4524e5(0xbe)]]=0x1]=_0x16b39e['AKquL'],_0x26d6fa[_0x26d6fa[_0x16b39e[_0x4524e5(0xda)]]=0x2]=_0x16b39e[_0x4524e5(0xda)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x36b4(){var _0x2cde96=['HJEay','reject','YhHhr','pRQMp','lsNsz','11AAUaqA','3OOlfyx','1970950ErILgM','yZVFn','guxWB','WyxlW','DhhWn','CjgEr','INVITE_ME','6550640enYrdC','IGNORE','1812592fiRuMy','approve','14332TkOOPo','MEMBER_EXIT','72kCfAFy','10403440MyuOIS','KICK_MEMBER','178kZfemo','7yrWqiw','INVITED_JOIN','DPesz','JOIN_REQUEST','49530108VaygiE','pCeUo','10644264RjIGYD','APPROVE','TOFsN','OmPLr','ADMIN_UNSET','ADMIN_SET','REJECT'];_0x36b4=function(){return _0x2cde96;};return _0x36b4();}(function(_0x42be81,_0x36c152){var _0x15b322=_0x2299,_0x467395=_0x42be81();while(!![]){try{var _0x38f819=parseInt(_0x15b322(0x167))/0x1*(parseInt(_0x15b322(0x16c))/0x2)+parseInt(_0x15b322(0x15b))/0x3*(parseInt(_0x15b322(0x165))/0x4)+parseInt(_0x15b322(0x163))/0x5+parseInt(_0x15b322(0x14e))/0x6+-parseInt(_0x15b322(0x16d))/0x7*(parseInt(_0x15b322(0x16a))/0x8)+parseInt(_0x15b322(0x169))/0x9*(parseInt(_0x15b322(0x15c))/0xa)+-parseInt(_0x15b322(0x15a))/0xb*(parseInt(_0x15b322(0x171))/0xc);if(_0x38f819===_0x36c152)break;else _0x467395['push'](_0x467395['shift']());}catch(_0x1db9e0){_0x467395['push'](_0x467395['shift']());}}}(_0x36b4,0xeac99));export var GroupNotifyTypes;(function(_0x13c112){var _0x1f406d=_0x2299,_0x303385={'CjgEr':_0x1f406d(0x162),'pCeUo':_0x1f406d(0x16e),'yZVFn':_0x1f406d(0x170),'YhHhr':_0x1f406d(0x153),'DhhWn':_0x1f406d(0x16b),'DPesz':_0x1f406d(0x168),'HJEay':_0x1f406d(0x152)};_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x161)]]=0x1]=_0x303385['CjgEr'],_0x13c112[_0x13c112[_0x1f406d(0x16e)]=0x4]=_0x303385[_0x1f406d(0x14d)],_0x13c112[_0x13c112[_0x303385['yZVFn']]=0x7]=_0x303385[_0x1f406d(0x15d)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x157)]]=0x8]=_0x303385['YhHhr'],_0x13c112[_0x13c112[_0x1f406d(0x16b)]=0x9]=_0x303385[_0x1f406d(0x160)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x16f)]]=0xb]=_0x303385[_0x1f406d(0x16f)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x155)]]=0xc]=_0x303385[_0x1f406d(0x155)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4c94db){var _0x4201e7=_0x2299,_0x2cd7fe={'OmPLr':_0x4201e7(0x164),'WyxlW':'WAIT_HANDLE','guxWB':_0x4201e7(0x14f),'TOFsN':_0x4201e7(0x154)};_0x4c94db[_0x4c94db[_0x4201e7(0x164)]=0x0]=_0x2cd7fe[_0x4201e7(0x151)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x15f)]]=0x1]=_0x2cd7fe[_0x4201e7(0x15f)],_0x4c94db[_0x4c94db[_0x4201e7(0x14f)]=0x2]=_0x2cd7fe[_0x4201e7(0x15e)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x150)]]=0x3]=_0x4201e7(0x154);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2299(_0x3a3cc9,_0x515d29){var _0x36b48a=_0x36b4();return _0x2299=function(_0x2299f8,_0x22dbf7){_0x2299f8=_0x2299f8-0x14d;var _0x20d837=_0x36b48a[_0x2299f8];return _0x20d837;},_0x2299(_0x3a3cc9,_0x515d29);}export var GroupRequestOperateTypes;(function(_0x5d3518){var _0x1c5a6c=_0x2299,_0x48e094={'pRQMp':'approve','lsNsz':_0x1c5a6c(0x156)};_0x5d3518[_0x5d3518[_0x1c5a6c(0x166)]=0x1]=_0x48e094[_0x1c5a6c(0x158)],_0x5d3518[_0x5d3518[_0x48e094[_0x1c5a6c(0x159)]]=0x2]=_0x1c5a6c(0x156);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/qqnt/entities/user.js b/src/core.lib/src/qqnt/entities/user.js index 76e036ac6..0645c2f51 100644 --- a/src/core.lib/src/qqnt/entities/user.js +++ b/src/core.lib/src/qqnt/entities/user.js @@ -1 +1 @@ -function _0x17fe(){var _0x302d47=['346494FegJrQ','77817UeiLgQ','5SuRUuL','7269147weNsHC','hzklL','207898DJylrM','855312HULReu','2BCvEic','unknown','1171877nMxZgj','yCrtY','female','male','692452ZnGRMb'];_0x17fe=function(){return _0x302d47;};return _0x17fe();}(function(_0x11b05d,_0x500b72){var _0xa5fa8b=_0x1717,_0x1a8970=_0x11b05d();while(!![]){try{var _0x142c3c=parseInt(_0xa5fa8b(0xbc))/0x1*(-parseInt(_0xa5fa8b(0xbe))/0x2)+parseInt(_0xa5fa8b(0xc6))/0x3+parseInt(_0xa5fa8b(0xc4))/0x4*(-parseInt(_0xa5fa8b(0xc7))/0x5)+-parseInt(_0xa5fa8b(0xc5))/0x6+-parseInt(_0xa5fa8b(0xc0))/0x7+-parseInt(_0xa5fa8b(0xbd))/0x8+parseInt(_0xa5fa8b(0xc8))/0x9;if(_0x142c3c===_0x500b72)break;else _0x1a8970['push'](_0x1a8970['shift']());}catch(_0x4d23ed){_0x1a8970['push'](_0x1a8970['shift']());}}}(_0x17fe,0x1d6d9));function _0x1717(_0x330c72,_0x15507a){var _0x17fe21=_0x17fe();return _0x1717=function(_0x17178a,_0xb355cc){_0x17178a=_0x17178a-0xbc;var _0x33d1ca=_0x17fe21[_0x17178a];return _0x33d1ca;},_0x1717(_0x330c72,_0x15507a);}export var Sex;(function(_0x5a9273){var _0x1271e7=_0x1717,_0x53d26b={'hzklL':_0x1271e7(0xc3),'yCrtY':_0x1271e7(0xc2),'nfMQi':_0x1271e7(0xbf)};_0x5a9273[_0x5a9273[_0x53d26b[_0x1271e7(0xc9)]]=0x1]=_0x53d26b[_0x1271e7(0xc9)],_0x5a9273[_0x5a9273[_0x53d26b[_0x1271e7(0xc1)]]=0x2]=_0x53d26b[_0x1271e7(0xc1)],_0x5a9273[_0x5a9273[_0x1271e7(0xbf)]=0xff]=_0x53d26b['nfMQi'];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x2fdf6d,_0x19ae82){var _0x40541e=_0x1d41,_0x2bbfd4=_0x2fdf6d();while(!![]){try{var _0x401481=parseInt(_0x40541e(0xc2))/0x1*(-parseInt(_0x40541e(0xb6))/0x2)+-parseInt(_0x40541e(0xbb))/0x3+parseInt(_0x40541e(0xb9))/0x4+parseInt(_0x40541e(0xc0))/0x5+parseInt(_0x40541e(0xbf))/0x6+parseInt(_0x40541e(0xbe))/0x7+parseInt(_0x40541e(0xba))/0x8;if(_0x401481===_0x19ae82)break;else _0x2bbfd4['push'](_0x2bbfd4['shift']());}catch(_0x246cb9){_0x2bbfd4['push'](_0x2bbfd4['shift']());}}}(_0x3b94,0xe60d6));function _0x1d41(_0x556fa8,_0x3ac444){var _0x3b945d=_0x3b94();return _0x1d41=function(_0x1d4191,_0x3a2f95){_0x1d4191=_0x1d4191-0xb6;var _0x305be2=_0x3b945d[_0x1d4191];return _0x305be2;},_0x1d41(_0x556fa8,_0x3ac444);}export var Sex;(function(_0x243a19){var _0x18923b=_0x1d41,_0x1be68d={'pcKHa':'male','GNHjP':_0x18923b(0xbd),'AWSAb':_0x18923b(0xc1)};_0x243a19[_0x243a19[_0x1be68d['pcKHa']]=0x1]=_0x18923b(0xbc),_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb7)]]=0x2]=_0x1be68d[_0x18923b(0xb7)],_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb8)]]=0xff]=_0x1be68d[_0x18923b(0xb8)];}(Sex||(Sex={})));function _0x3b94(){var _0x5f2410=['851755bSueiG','unknown','1631837YJKynR','2XXNqmY','GNHjP','AWSAb','1384896yWlJGx','8201048DkZbtl','4417452Xkincj','male','female','5765795pyaWzB','10087344Pcafxc'];_0x3b94=function(){return _0x5f2410;};return _0x3b94();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/extends/rkey.js b/src/core.lib/src/qqnt/extends/rkey.js index 085cdd1e5..06b631a1d 100644 --- a/src/core.lib/src/qqnt/extends/rkey.js +++ b/src/core.lib/src/qqnt/extends/rkey.js @@ -1 +1 @@ -function _0x4490(_0x6ca5ad,_0x2e0faa){const _0x48ec94=_0x48ec();return _0x4490=function(_0x44909c,_0x4fa018){_0x44909c=_0x44909c-0x18c;let _0x503519=_0x48ec94[_0x44909c];return _0x503519;},_0x4490(_0x6ca5ad,_0x2e0faa);}(function(_0x302fd1,_0x31cf85){const _0x3f8d26=_0x4490,_0x40fcf3=_0x302fd1();while(!![]){try{const _0x52040a=-parseInt(_0x3f8d26(0x193))/0x1*(parseInt(_0x3f8d26(0x190))/0x2)+parseInt(_0x3f8d26(0x192))/0x3+parseInt(_0x3f8d26(0x191))/0x4+-parseInt(_0x3f8d26(0x18f))/0x5*(-parseInt(_0x3f8d26(0x18e))/0x6)+parseInt(_0x3f8d26(0x18c))/0x7+-parseInt(_0x3f8d26(0x194))/0x8+parseInt(_0x3f8d26(0x18d))/0x9;if(_0x52040a===_0x31cf85)break;else _0x40fcf3['push'](_0x40fcf3['shift']());}catch(_0x18bcbb){_0x40fcf3['push'](_0x40fcf3['shift']());}}}(_0x48ec,0x68ab4));function _0x48ec(){const _0xc0fd3d=['321360ouhctu','57540mfCQTg','41265kQPeYO','494848dOQBxY','871318ldjYHh','4905vqoAep','12mqQmmj','768265WWRatV','2NhtcDT'];_0x48ec=function(){return _0xc0fd3d;};return _0x48ec();}const Hook=require('./MoeHoo');export const rkeyHook=Hook; \ No newline at end of file +const _0x186730=_0x303a;(function(_0x17c9c8,_0x35d5d8){const _0x1da1d7=_0x303a,_0x4f8c79=_0x17c9c8();while(!![]){try{const _0x15f5e7=parseInt(_0x1da1d7(0xb8))/0x1+parseInt(_0x1da1d7(0xb7))/0x2*(-parseInt(_0x1da1d7(0xbb))/0x3)+parseInt(_0x1da1d7(0xbf))/0x4*(-parseInt(_0x1da1d7(0xbd))/0x5)+parseInt(_0x1da1d7(0xbe))/0x6+parseInt(_0x1da1d7(0xba))/0x7*(parseInt(_0x1da1d7(0xb9))/0x8)+-parseInt(_0x1da1d7(0xb6))/0x9+-parseInt(_0x1da1d7(0xbc))/0xa;if(_0x15f5e7===_0x35d5d8)break;else _0x4f8c79['push'](_0x4f8c79['shift']());}catch(_0x3dd1d6){_0x4f8c79['push'](_0x4f8c79['shift']());}}}(_0x271e,0x7e00e));function _0x303a(_0x345c91,_0x4bd761){const _0x271e9b=_0x271e();return _0x303a=function(_0x303a9d,_0xeb29eb){_0x303a9d=_0x303a9d-0xb6;let _0x82522f=_0x271e9b[_0x303a9d];return _0x82522f;},_0x303a(_0x345c91,_0x4bd761);}const Hook=require(_0x186730(0xc0));export const rkeyHook=Hook;function _0x271e(){const _0x57d995=['339441AbvhoL','45160ZMJyID','252WGwFcR','9DNWPHD','7266480yMjfMr','230550TEmGcG','6018186LjlJVA','16iuuPMG','./MoeHoo','200097rcTwKb','64174UtPkGv'];_0x271e=function(){return _0x57d995;};return _0x271e();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/index.js b/src/core.lib/src/qqnt/index.js index f4cbee15d..a8763f227 100644 --- a/src/core.lib/src/qqnt/index.js +++ b/src/core.lib/src/qqnt/index.js @@ -1 +1 @@ -(function(_0x5fa1c9,_0x4e35ba){var _0x244318=_0x2cbc,_0x3075cc=_0x5fa1c9();while(!![]){try{var _0x36722f=parseInt(_0x244318(0x146))/0x1*(-parseInt(_0x244318(0x145))/0x2)+parseInt(_0x244318(0x147))/0x3+parseInt(_0x244318(0x148))/0x4*(parseInt(_0x244318(0x14c))/0x5)+parseInt(_0x244318(0x143))/0x6+parseInt(_0x244318(0x144))/0x7+-parseInt(_0x244318(0x14a))/0x8*(-parseInt(_0x244318(0x14d))/0x9)+-parseInt(_0x244318(0x149))/0xa*(parseInt(_0x244318(0x14b))/0xb);if(_0x36722f===_0x4e35ba)break;else _0x3075cc['push'](_0x3075cc['shift']());}catch(_0x473e75){_0x3075cc['push'](_0x3075cc['shift']());}}}(_0x3699,0x3626d));import _0x96ef5c from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x2cbc(_0x546284,_0xf8b6c9){var _0x3699a3=_0x3699();return _0x2cbc=function(_0x2cbc7d,_0x310195){_0x2cbc7d=_0x2cbc7d-0x143;var _0x2d9a23=_0x3699a3[_0x2cbc7d];return _0x2d9a23;},_0x2cbc(_0x546284,_0xf8b6c9);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x3699(){var _0x2ed538=['1927562RljgJf','46iycYjk','17691liaRHt','339vMxyFN','192872ramxhA','10pVAJqV','1457672aFNHaT','2999513eyCVsa','10yiKUjP','9NhUGln','2083542ROCeXQ'];_0x3699=function(){return _0x2ed538;};return _0x3699();}export*as Services from'./services';export{_0x96ef5c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig'; \ No newline at end of file +(function(_0x7b2e0,_0x12d010){var _0x1e7cdf=_0x228f,_0x1882da=_0x7b2e0();while(!![]){try{var _0x4d8ebd=-parseInt(_0x1e7cdf(0xcb))/0x1+parseInt(_0x1e7cdf(0xc7))/0x2*(parseInt(_0x1e7cdf(0xc4))/0x3)+parseInt(_0x1e7cdf(0xc6))/0x4*(parseInt(_0x1e7cdf(0xcc))/0x5)+parseInt(_0x1e7cdf(0xca))/0x6+-parseInt(_0x1e7cdf(0xc8))/0x7+parseInt(_0x1e7cdf(0xc5))/0x8+-parseInt(_0x1e7cdf(0xc9))/0x9;if(_0x4d8ebd===_0x12d010)break;else _0x1882da['push'](_0x1882da['shift']());}catch(_0xabc820){_0x1882da['push'](_0x1882da['shift']());}}}(_0x9067,0xe304e));import _0x1c303b from'./wrapper';export*from'./adapters';function _0x9067(){var _0x4a4db8=['31448EslOgu','8748061chKGrf','10233855xWbLTh','7096140ldPDFI','1795459pckVxy','26635zYrfed','252gcBdHc','12345928nSGhsT','800awVJjv'];_0x9067=function(){return _0x4a4db8;};return _0x9067();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x228f(_0x1e4a34,_0x6f48c0){var _0x90675=_0x9067();return _0x228f=function(_0x228faa,_0x295f68){_0x228faa=_0x228faa-0xc4;var _0x2d73af=_0x90675[_0x228faa];return _0x2d73af;},_0x228f(_0x1e4a34,_0x6f48c0);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1c303b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig'; \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js index bef26085d..2db674f86 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x346f10=_0x42f4;(function(_0x16644b,_0x380037){var _0x37a4e3=_0x42f4,_0x1af470=_0x16644b();while(!![]){try{var _0x59035f=parseInt(_0x37a4e3(0x7b))/0x1+-parseInt(_0x37a4e3(0x7f))/0x2*(-parseInt(_0x37a4e3(0x86))/0x3)+parseInt(_0x37a4e3(0x89))/0x4+-parseInt(_0x37a4e3(0x8c))/0x5*(parseInt(_0x37a4e3(0x87))/0x6)+parseInt(_0x37a4e3(0x88))/0x7*(parseInt(_0x37a4e3(0x8f))/0x8)+-parseInt(_0x37a4e3(0x7a))/0x9+-parseInt(_0x37a4e3(0x8d))/0xa;if(_0x59035f===_0x380037)break;else _0x1af470['push'](_0x1af470['shift']());}catch(_0xbcf611){_0x1af470['push'](_0x1af470['shift']());}}}(_0x40d8,0x22c66));function _0x40d8(){var _0x1dcc4c=['6cWBnNI','4389YbQzwP','417172GLsvIv','onDelBatchBuddyInfos','onBuddyDetailInfoChange','1022335ctBzQm','44890ykVtuN','onBuddyReqUnreadCntChange','2152ZDoEGA','onNickUpdated','onSmartInfos','213903UIOZPx','56441WyenVh','onAddBuddyNeedVerify','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','8ENATDJ','onDoubtBuddyReqChange','onAddMeSettingChanged','onCheckBuddySettingResult','onBuddyListChange','onBuddyRemarkUpdated','onBlockChanged','34323ZtJzDM'];_0x40d8=function(){return _0x1dcc4c;};return _0x40d8();}function _0x42f4(_0x280924,_0x22c56d){var _0x40d8cc=_0x40d8();return _0x42f4=function(_0x42f417,_0x39c831){_0x42f417=_0x42f417-0x78;var _0x383dc8=_0x40d8cc[_0x42f417];return _0x383dc8;},_0x42f4(_0x280924,_0x22c56d);}export class BuddyListener{[_0x346f10(0x7c)](_0x53fd50){}[_0x346f10(0x81)](_0x318223){}['onAvatarUrlUpdated'](_0x1742b4){}[_0x346f10(0x85)](_0xf8e6b3){}[_0x346f10(0x8b)](_0x437ae8){}[_0x346f10(0x7e)](_0x379816){}[_0x346f10(0x83)](_0x4e17d2){}[_0x346f10(0x84)](_0x5dbc92){}['onBuddyReqChange'](_0x5e2b4f){}[_0x346f10(0x8e)](_0x400792){}[_0x346f10(0x82)](_0x2787a6){}[_0x346f10(0x8a)](_0x439eb6){}[_0x346f10(0x80)](_0x1874c3){}[_0x346f10(0x7d)](_0x37d15a){}[_0x346f10(0x78)](_0xf5b05c){}[_0x346f10(0x79)](_0x52b243){}['onSpacePermissionInfos'](_0x5a8e7e){}} \ No newline at end of file +var _0x22541a=_0x5c6e;(function(_0x38e2fb,_0x42a93d){var _0x3cd32f=_0x5c6e,_0x49f393=_0x38e2fb();while(!![]){try{var _0x56c5c6=parseInt(_0x3cd32f(0x191))/0x1+-parseInt(_0x3cd32f(0x186))/0x2*(parseInt(_0x3cd32f(0x196))/0x3)+-parseInt(_0x3cd32f(0x199))/0x4+parseInt(_0x3cd32f(0x18d))/0x5+parseInt(_0x3cd32f(0x188))/0x6*(parseInt(_0x3cd32f(0x190))/0x7)+parseInt(_0x3cd32f(0x189))/0x8*(parseInt(_0x3cd32f(0x195))/0x9)+-parseInt(_0x3cd32f(0x192))/0xa*(-parseInt(_0x3cd32f(0x18c))/0xb);if(_0x56c5c6===_0x42a93d)break;else _0x49f393['push'](_0x49f393['shift']());}catch(_0x150a63){_0x49f393['push'](_0x49f393['shift']());}}}(_0x1b2d,0xa3291));function _0x5c6e(_0x198146,_0x408925){var _0x1b2d36=_0x1b2d();return _0x5c6e=function(_0x5c6e83,_0x1eae19){_0x5c6e83=_0x5c6e83-0x186;var _0x3adb10=_0x1b2d36[_0x5c6e83];return _0x3adb10;},_0x5c6e(_0x198146,_0x408925);}function _0x1b2d(){var _0x1673c4=['354oRxzYN','74944mYoTbi','onNickUpdated','onCheckBuddySettingResult','88957lRXekX','4567375fZjQGZ','onDoubtBuddyReqUnreadNumChange','onBuddyRemarkUpdated','44009rIiuXI','1121642qtYRar','590oHSNCB','onAddBuddyNeedVerify','onBuddyListChange','261DKrfaq','3745347SRqTUl','onBuddyReqUnreadCntChange','onDelBatchBuddyInfos','4952404WAodnR','onDoubtBuddyReqChange','2hAGKiW','onSmartInfos'];_0x1b2d=function(){return _0x1673c4;};return _0x1b2d();}export class BuddyListener{[_0x22541a(0x193)](_0x167caf){}['onAddMeSettingChanged'](_0x4a4ae4){}['onAvatarUrlUpdated'](_0x1174a5){}['onBlockChanged'](_0x16a206){}['onBuddyDetailInfoChange'](_0x59e55e){}['onBuddyInfoChange'](_0x51fc65){}[_0x22541a(0x194)](_0x28528e){}[_0x22541a(0x18f)](_0x103d7){}['onBuddyReqChange'](_0x265312){}[_0x22541a(0x197)](_0x9d10a7){}[_0x22541a(0x18b)](_0x2e97f2){}[_0x22541a(0x198)](_0x1cb85){}[_0x22541a(0x19a)](_0x3e08ba){}[_0x22541a(0x18e)](_0x28ea72){}[_0x22541a(0x18a)](_0x34b6d7){}[_0x22541a(0x187)](_0x17de79){}['onSpacePermissionInfos'](_0x20434){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js index d2231f174..c7ea485ef 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x2eac07=_0xbfdb;(function(_0x165add,_0x5c6a1d){var _0x275a59=_0xbfdb,_0x771d7d=_0x165add();while(!![]){try{var _0x219672=-parseInt(_0x275a59(0x173))/0x1+parseInt(_0x275a59(0x16d))/0x2*(parseInt(_0x275a59(0x187))/0x3)+parseInt(_0x275a59(0x169))/0x4*(-parseInt(_0x275a59(0x170))/0x5)+parseInt(_0x275a59(0x17b))/0x6*(parseInt(_0x275a59(0x178))/0x7)+parseInt(_0x275a59(0x16a))/0x8+parseInt(_0x275a59(0x14f))/0x9*(parseInt(_0x275a59(0x183))/0xa)+parseInt(_0x275a59(0x17e))/0xb;if(_0x219672===_0x5c6a1d)break;else _0x771d7d['push'](_0x771d7d['shift']());}catch(_0x2248d6){_0x771d7d['push'](_0x771d7d['shift']());}}}(_0xb0b5,0xe82a5));function _0xb0b5(){var _0x5dd6cf=['onGroupSingleScreenNotifies:','onGroupBulletinRichMediaDownloadComplete:','onSearchMemberChange','onGroupFirstBulletinNotify:','onGroupArkInviteStateResult:','onGroupBulletinRichMediaProgressUpdate','fyXIS','onGroupExtListUpdate:','onGroupSingleScreenNotifies','onGroupBulletinChange:','onGroupFirstBulletinNotify','onGroupBulletinRemindNotify:','onJoinGroupNotify:','seJfi','ftDDU','onGroupStatisticInfoChange:','onJoinGroupNotify','onGetGroupBulletinListResult','onGroupExtListUpdate','onGroupsMsgMaskResult:','Kudhc','onGroupNotifiesUnreadCountUpdated','3380khFtBR','5356944MFcgaO','onGroupListUpdate:','onMemberInfoChange:','5432vnEZCM','onShutUpMemberListChanged','FIjiE','10705yJTFtl','onGroupBulletinRichMediaDownloadComplete','FDjRQ','1623130fsYsRY','onJoinGroupNoVerifyFlag:','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','VxXNe','7YUmeVX','onGroupDetailInfoChange:','onGroupNotifiesUpdated:','8745498oxUjjz','onGroupBulletinChange','xEYtK','23186262ZNPkHY','onGroupBulletinRemindNotify','onGetGroupBulletinListResult:','onGroupNotifiesUpdated','cWPRN','410wYnqag','onGroupStatisticInfoChange','onGroupsMsgMaskResult','onGroupDetailInfoChange','162KzYTDs','onMemberListChange','onGroupListUpdate','AgaNK','onShutUpMemberListChanged:','333duLEpv','onGroupArkInviteStateResult','log','onMemberInfoChange'];_0xb0b5=function(){return _0x5dd6cf;};return _0xb0b5();}export class GroupListener{[_0x2eac07(0x164)](..._0x5c3356){}['onGroupAllInfoChange'](..._0x28ec45){}['onGroupBulletinChange'](..._0x4f8451){}[_0x2eac07(0x17f)](..._0x5af98a){}[_0x2eac07(0x150)](..._0x30e6ce){}['onGroupBulletinRichMediaDownloadComplete'](..._0x31d811){}[_0x2eac07(0x176)](..._0x21e5eb){}[_0x2eac07(0x186)](..._0x238145){}['onGroupExtListUpdate'](..._0x40dd95){}[_0x2eac07(0x15d)](..._0x486f04){}[_0x2eac07(0x14c)](_0xdab348,_0x497c74){}[_0x2eac07(0x181)](_0x49a465,_0x2747f7){}['onGroupBulletinRichMediaProgressUpdate'](..._0x22a4ac){}[_0x2eac07(0x168)](..._0x3da15b){}[_0x2eac07(0x15b)](..._0x385297){}[_0x2eac07(0x185)](..._0x56859e){}['onGroupStatisticInfoChange'](..._0x3f2822){}['onJoinGroupNotify'](..._0x591c94){}[_0x2eac07(0x175)](..._0x5bb65d){}[_0x2eac07(0x152)](_0x50e632,_0x15a328,_0x1b156e){}['onMemberListChange'](_0x462e04){}[_0x2eac07(0x155)](..._0x447b01){}[_0x2eac07(0x16e)](..._0x45ea31){}}function _0xbfdb(_0x3920be,_0x5425d2){var _0xb0b5f5=_0xb0b5();return _0xbfdb=function(_0xbfdb16,_0x184955){_0xbfdb16=_0xbfdb16-0x14b;var _0x38834c=_0xb0b5f5[_0xbfdb16];return _0x38834c;},_0xbfdb(_0x3920be,_0x5425d2);}export class DebugGroupListener{[_0x2eac07(0x164)](..._0xfc4f32){var _0x7faada=_0x2eac07,_0xe3dab6={'FDjRQ':_0x7faada(0x180)};console[_0x7faada(0x151)](_0xe3dab6[_0x7faada(0x172)],..._0xfc4f32);}['onGroupAllInfoChange'](..._0xb8076e){var _0x2bdf2e=_0x2eac07;console[_0x2bdf2e(0x151)]('onGroupAllInfoChange:',..._0xb8076e);}[_0x2eac07(0x17c)](..._0x396a59){var _0x11d024=_0x2eac07;console[_0x11d024(0x151)](_0x11d024(0x15c),..._0x396a59);}['onGroupBulletinRemindNotify'](..._0x3eb47d){var _0x535635=_0x2eac07,_0x341f3c={'ZmNRy':_0x535635(0x15e)};console[_0x535635(0x151)](_0x341f3c['ZmNRy'],..._0x3eb47d);}['onGroupArkInviteStateResult'](..._0x467d92){var _0x1ab361=_0x2eac07;console[_0x1ab361(0x151)](_0x1ab361(0x157),..._0x467d92);}[_0x2eac07(0x171)](..._0x401908){var _0x47bc4e=_0x2eac07,_0x9d469a={'qfksN':_0x47bc4e(0x154)};console[_0x47bc4e(0x151)](_0x9d469a['qfksN'],..._0x401908);}[_0x2eac07(0x176)](..._0xf65350){var _0x3696d4=_0x2eac07,_0x361c2a={'AgaNK':'onGroupConfMemberChange:'};console[_0x3696d4(0x151)](_0x361c2a[_0x3696d4(0x14d)],..._0xf65350);}[_0x2eac07(0x186)](..._0x2b9732){var _0x507f73=_0x2eac07,_0x1c29b2={'Kudhc':_0x507f73(0x179)};console[_0x507f73(0x151)](_0x1c29b2[_0x507f73(0x167)],..._0x2b9732);}[_0x2eac07(0x165)](..._0x2b20d5){var _0x4c6baf=_0x2eac07,_0x2abcd0={'zjCEI':_0x4c6baf(0x15a)};console[_0x4c6baf(0x151)](_0x2abcd0['zjCEI'],..._0x2b20d5);}[_0x2eac07(0x15d)](..._0x5cb7b0){var _0x2e7f32=_0x2eac07,_0x4630b7={'VxXNe':_0x2e7f32(0x156)};console[_0x2e7f32(0x151)](_0x4630b7[_0x2e7f32(0x177)],..._0x5cb7b0);}[_0x2eac07(0x14c)](..._0x390237){var _0x333f2f=_0x2eac07,_0x3f19e8={'xEYtK':_0x333f2f(0x16b)};console[_0x333f2f(0x151)](_0x3f19e8[_0x333f2f(0x17d)],..._0x390237);}[_0x2eac07(0x181)](..._0x26e83d){var _0x3db960=_0x2eac07,_0x68ac56={'ZvPbR':_0x3db960(0x17a)};console[_0x3db960(0x151)](_0x68ac56['ZvPbR'],..._0x26e83d);}[_0x2eac07(0x158)](..._0x4cec81){var _0x12caeb=_0x2eac07,_0x5b0484={'cWPRN':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x12caeb(0x151)](_0x5b0484[_0x12caeb(0x182)],..._0x4cec81);}['onGroupNotifiesUnreadCountUpdated'](..._0x8f4db4){var _0x59e881=_0x2eac07,_0x3af6d2={'FIjiE':'onGroupNotifiesUnreadCountUpdated:'};console['log'](_0x3af6d2[_0x59e881(0x16f)],..._0x8f4db4);}[_0x2eac07(0x15b)](..._0x4808e8){var _0x1a16bf=_0x2eac07,_0x2aa57d={'uGPEW':_0x1a16bf(0x153)};console['log'](_0x2aa57d['uGPEW'],..._0x4808e8);}[_0x2eac07(0x185)](..._0x1c40c5){var _0x202e58=_0x2eac07;console[_0x202e58(0x151)](_0x202e58(0x166),..._0x1c40c5);}[_0x2eac07(0x184)](..._0x1822c2){var _0x2202bb=_0x2eac07,_0x219ecc={'fyXIS':_0x2202bb(0x162)};console[_0x2202bb(0x151)](_0x219ecc[_0x2202bb(0x159)],..._0x1822c2);}[_0x2eac07(0x163)](..._0x4dfeb2){var _0x451893=_0x2eac07,_0x20ba5c={'seJfi':_0x451893(0x15f)};console[_0x451893(0x151)](_0x20ba5c[_0x451893(0x160)],..._0x4dfeb2);}['onJoinGroupNoVerifyFlag'](..._0x579d7a){var _0x15fb17=_0x2eac07;console[_0x15fb17(0x151)](_0x15fb17(0x174),..._0x579d7a);}[_0x2eac07(0x152)](_0x46b7bd,_0x4a9e67,_0x3f8b46){var _0xe669d=_0x2eac07,_0x45b006={'ftDDU':_0xe669d(0x16c)};console[_0xe669d(0x151)](_0x45b006[_0xe669d(0x161)],_0x46b7bd,_0x4a9e67,_0x3f8b46);}[_0x2eac07(0x14b)](..._0x59bbbf){console['log']('onMemberListChange:',..._0x59bbbf);}[_0x2eac07(0x155)](..._0x1672e0){var _0x1fde1b=_0x2eac07;console[_0x1fde1b(0x151)]('onSearchMemberChange:',..._0x1672e0);}['onShutUpMemberListChanged'](..._0x218c45){var _0x201434=_0x2eac07,_0x584aec={'RUybk':_0x201434(0x14e)};console['log'](_0x584aec['RUybk'],..._0x218c45);}} \ No newline at end of file +var _0x2eea98=_0x4514;(function(_0x5f0eb5,_0x8a7ec2){var _0x4b9a26=_0x4514,_0x39cd41=_0x5f0eb5();while(!![]){try{var _0x2a5e72=-parseInt(_0x4b9a26(0x1b7))/0x1*(-parseInt(_0x4b9a26(0x1b8))/0x2)+parseInt(_0x4b9a26(0x1ac))/0x3*(parseInt(_0x4b9a26(0x1a0))/0x4)+-parseInt(_0x4b9a26(0x1af))/0x5*(parseInt(_0x4b9a26(0x1d6))/0x6)+parseInt(_0x4b9a26(0x1c9))/0x7+parseInt(_0x4b9a26(0x1b1))/0x8*(parseInt(_0x4b9a26(0x1c7))/0x9)+parseInt(_0x4b9a26(0x1b5))/0xa*(-parseInt(_0x4b9a26(0x1ad))/0xb)+parseInt(_0x4b9a26(0x1cd))/0xc*(-parseInt(_0x4b9a26(0x1e0))/0xd);if(_0x2a5e72===_0x8a7ec2)break;else _0x39cd41['push'](_0x39cd41['shift']());}catch(_0x3f2ea2){_0x39cd41['push'](_0x39cd41['shift']());}}}(_0x5d09,0x73f11));export class GroupListener{[_0x2eea98(0x1bf)](..._0x3f2023){}[_0x2eea98(0x1b9)](..._0x1bb306){}[_0x2eea98(0x1c5)](..._0x1d6981){}['onGroupBulletinRemindNotify'](..._0x21d732){}['onGroupArkInviteStateResult'](..._0x99b01b){}[_0x2eea98(0x1db)](..._0x5b76e4){}[_0x2eea98(0x1dc)](..._0x376909){}[_0x2eea98(0x1d1)](..._0x419c13){}[_0x2eea98(0x19e)](..._0x72d50d){}[_0x2eea98(0x1a9)](..._0x5c652a){}['onGroupListUpdate'](_0x5ead3c,_0x1bb191){}['onGroupNotifiesUpdated'](_0x5e16f3,_0x58aa8b){}[_0x2eea98(0x1d0)](..._0x22651a){}[_0x2eea98(0x1da)](..._0x4795e2){}[_0x2eea98(0x1b4)](..._0x42e276){}[_0x2eea98(0x1c1)](..._0x18caf0){}[_0x2eea98(0x1d8)](..._0x4e8d2d){}[_0x2eea98(0x1c4)](..._0x187102){}[_0x2eea98(0x1a3)](..._0x2a5def){}[_0x2eea98(0x19f)](_0x4cc7cd,_0x5d7ba1,_0x1bff53){}[_0x2eea98(0x1cf)](_0x46904d){}['onSearchMemberChange'](..._0x25b557){}['onShutUpMemberListChanged'](..._0x3eba6d){}}function _0x4514(_0x1156fe,_0x2a209d){var _0x5d09d2=_0x5d09();return _0x4514=function(_0x451459,_0x3e774b){_0x451459=_0x451459-0x19b;var _0x41d35b=_0x5d09d2[_0x451459];return _0x41d35b;},_0x4514(_0x1156fe,_0x2a209d);}export class DebugGroupListener{[_0x2eea98(0x1bf)](..._0x1419d9){var _0x3f7b3d=_0x2eea98,_0x47ad63={'oNqNt':'onGetGroupBulletinListResult:'};console['log'](_0x47ad63[_0x3f7b3d(0x1a6)],..._0x1419d9);}[_0x2eea98(0x1b9)](..._0x4a22a5){var _0x2fd5b2=_0x2eea98;console[_0x2fd5b2(0x1c0)](_0x2fd5b2(0x1cc),..._0x4a22a5);}[_0x2eea98(0x1c5)](..._0x2157e9){var _0x3f14fd=_0x2eea98,_0x4ef861={'kBAOR':_0x3f14fd(0x1ce)};console[_0x3f14fd(0x1c0)](_0x4ef861[_0x3f14fd(0x1d4)],..._0x2157e9);}[_0x2eea98(0x1df)](..._0x2f6b6f){var _0x14374e=_0x2eea98;console['log'](_0x14374e(0x1cb),..._0x2f6b6f);}[_0x2eea98(0x1be)](..._0x355878){var _0xaa142b=_0x2eea98,_0xedcf1={'chknW':_0xaa142b(0x1d9)};console[_0xaa142b(0x1c0)](_0xedcf1[_0xaa142b(0x1c6)],..._0x355878);}[_0x2eea98(0x1db)](..._0x28b769){var _0x43427e=_0x2eea98,_0x5b2357={'GeUCF':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x43427e(0x1c0)](_0x5b2357[_0x43427e(0x1dd)],..._0x28b769);}[_0x2eea98(0x1dc)](..._0x1b2de1){var _0x3d065a=_0x2eea98,_0x4a898f={'PJBRM':_0x3d065a(0x1bb)};console[_0x3d065a(0x1c0)](_0x4a898f[_0x3d065a(0x1bc)],..._0x1b2de1);}[_0x2eea98(0x1d1)](..._0x20a1cd){var _0x245211=_0x2eea98,_0x1e009d={'MDQpe':'onGroupDetailInfoChange:'};console[_0x245211(0x1c0)](_0x1e009d[_0x245211(0x1c2)],..._0x20a1cd);}['onGroupExtListUpdate'](..._0x5af802){var _0x4a3089=_0x2eea98;console[_0x4a3089(0x1c0)](_0x4a3089(0x1bd),..._0x5af802);}['onGroupFirstBulletinNotify'](..._0x4428de){var _0x182844=_0x2eea98,_0x273e5c={'qDUtc':_0x182844(0x1ae)};console['log'](_0x273e5c[_0x182844(0x1a4)],..._0x4428de);}[_0x2eea98(0x1b2)](..._0x27c4c7){var _0x40b05d=_0x2eea98,_0x4677f8={'WSckD':_0x40b05d(0x1a8)};console['log'](_0x4677f8[_0x40b05d(0x1ca)],..._0x27c4c7);}[_0x2eea98(0x1d2)](..._0x211f09){var _0x55b073=_0x2eea98,_0x40c27a={'SQKKL':_0x55b073(0x19b)};console['log'](_0x40c27a[_0x55b073(0x19c)],..._0x211f09);}['onGroupBulletinRichMediaProgressUpdate'](..._0x260677){var _0x3e957e=_0x2eea98,_0x509509={'WlrTK':_0x3e957e(0x19d)};console[_0x3e957e(0x1c0)](_0x509509['WlrTK'],..._0x260677);}['onGroupNotifiesUnreadCountUpdated'](..._0x3b215a){var _0x100692=_0x2eea98;console[_0x100692(0x1c0)]('onGroupNotifiesUnreadCountUpdated:',..._0x3b215a);}[_0x2eea98(0x1b4)](..._0x519a1b){var _0x2cb8b9=_0x2eea98;console[_0x2cb8b9(0x1c0)](_0x2cb8b9(0x1b3),..._0x519a1b);}[_0x2eea98(0x1c1)](..._0x543a92){var _0x57018b=_0x2eea98,_0x25ac45={'QFEIp':_0x57018b(0x1aa)};console[_0x57018b(0x1c0)](_0x25ac45[_0x57018b(0x1a2)],..._0x543a92);}[_0x2eea98(0x1d8)](..._0x3274b7){var _0x46d9a6=_0x2eea98,_0x4f54cb={'yoxAi':_0x46d9a6(0x1de)};console[_0x46d9a6(0x1c0)](_0x4f54cb[_0x46d9a6(0x1a5)],..._0x3274b7);}[_0x2eea98(0x1c4)](..._0x435494){var _0x2b9466=_0x2eea98,_0x17e0d6={'itCLc':_0x2b9466(0x1b6)};console[_0x2b9466(0x1c0)](_0x17e0d6[_0x2b9466(0x1d3)],..._0x435494);}[_0x2eea98(0x1a3)](..._0x3d1823){var _0x202f51=_0x2eea98;console[_0x202f51(0x1c0)]('onJoinGroupNoVerifyFlag:',..._0x3d1823);}['onMemberInfoChange'](_0x484a5d,_0x22844c,_0x154520){var _0x1a4ad1=_0x2eea98,_0x4c5469={'cccqv':_0x1a4ad1(0x1a1)};console['log'](_0x4c5469[_0x1a4ad1(0x1d7)],_0x484a5d,_0x22844c,_0x154520);}[_0x2eea98(0x1cf)](..._0x5582e4){var _0x5315b8=_0x2eea98,_0x9f5cb1={'vehSZ':_0x5315b8(0x1c8)};console[_0x5315b8(0x1c0)](_0x9f5cb1[_0x5315b8(0x1a7)],..._0x5582e4);}['onSearchMemberChange'](..._0x296747){var _0x5f45a9=_0x2eea98,_0x19d29d={'QWIRe':_0x5f45a9(0x1ba)};console['log'](_0x19d29d[_0x5f45a9(0x1ab)],..._0x296747);}[_0x2eea98(0x1b0)](..._0x1fbf5b){var _0x458596=_0x2eea98,_0x5973de={'oJICg':_0x458596(0x1c3)};console[_0x458596(0x1c0)](_0x5973de[_0x458596(0x1d5)],..._0x1fbf5b);}}function _0x5d09(){var _0x2026af=['GeUCF','onGroupStatisticInfoChange:','onGroupBulletinRemindNotify','52KhYVyE','onGroupNotifiesUpdated:','SQKKL','onGroupBulletinRichMediaProgressUpdate:','onGroupExtListUpdate','onMemberInfoChange','4QjLfCo','onMemberInfoChange:','QFEIp','onJoinGroupNoVerifyFlag','qDUtc','yoxAi','oNqNt','vehSZ','onGroupListUpdate:','onGroupFirstBulletinNotify','onGroupsMsgMaskResult:','QWIRe','2473941fOqlhr','254452vZtwVf','onGroupFirstBulletinNotify:','5bTdtCo','onShutUpMemberListChanged','18952EWeIMh','onGroupListUpdate','onGroupSingleScreenNotifies:','onGroupSingleScreenNotifies','50ZNqloj','onJoinGroupNotify:','401rDKFQt','476twvxfd','onGroupAllInfoChange','onSearchMemberChange:','onGroupConfMemberChange:','PJBRM','onGroupExtListUpdate:','onGroupArkInviteStateResult','onGetGroupBulletinListResult','log','onGroupsMsgMaskResult','MDQpe','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupBulletinChange','chknW','72QTIdwH','onMemberListChange:','1685411pUheRO','WSckD','onGroupBulletinRemindNotify:','onGroupAllInfoChange:','113436SElsTS','onGroupBulletinChange:','onMemberListChange','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange','onGroupNotifiesUpdated','itCLc','kBAOR','oJICg','3308646JRmzdT','cccqv','onGroupStatisticInfoChange','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRichMediaDownloadComplete','onGroupConfMemberChange'];_0x5d09=function(){return _0x2026af;};return _0x5d09();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js index 8d97dda5f..6978e1af8 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3e02(_0x42f1f9,_0x4e32f6){var _0x317f59=_0x317f();return _0x3e02=function(_0x3e02df,_0x20f404){_0x3e02df=_0x3e02df-0xbb;var _0x30f5f8=_0x317f59[_0x3e02df];return _0x30f5f8;},_0x3e02(_0x42f1f9,_0x4e32f6);}var _0x1ca815=_0x3e02;function _0x317f(){var _0x2c7867=['onQRCodeGetPicture','5350DefeNl','8562132kNuzxV','6714239BXqzTF','onQRCodeSessionUserScaned','onLoginFailed','onLoginConnecting','OnConfirmUnusualDeviceFailed','45477uxcfYE','245934KKGilO','onUserLoggedIn','onLoginState','onLoginDisConnected','onLoginConnected','1240wAWnrM','onQRCodeSessionQuickLoginFailed','onLogoutFailed','38811190xxtzAQ','984gkINJl','4916BDfcYM','onQRCodeLoginPollingStarted','6477xdibIA'];_0x317f=function(){return _0x2c7867;};return _0x317f();}(function(_0x1d5f3f,_0x4a3e09){var _0x3a62f6=_0x3e02,_0x213635=_0x1d5f3f();while(!![]){try{var _0x4cb56e=parseInt(_0x3a62f6(0xc0))/0x1+parseInt(_0x3a62f6(0xc5))/0x2*(parseInt(_0x3a62f6(0xcc))/0x3)+-parseInt(_0x3a62f6(0xca))/0x4*(-parseInt(_0x3a62f6(0xce))/0x5)+parseInt(_0x3a62f6(0xcf))/0x6+parseInt(_0x3a62f6(0xd0))/0x7+-parseInt(_0x3a62f6(0xc9))/0x8*(parseInt(_0x3a62f6(0xbf))/0x9)+-parseInt(_0x3a62f6(0xc8))/0xa;if(_0x4cb56e===_0x4a3e09)break;else _0x213635['push'](_0x213635['shift']());}catch(_0x12b75a){_0x213635['push'](_0x213635['shift']());}}}(_0x317f,0xbf301));export class LoginListener{[_0x1ca815(0xc4)](..._0x1bae6a){}[_0x1ca815(0xc3)](..._0x1fb0ce){}[_0x1ca815(0xbd)](..._0x221f81){}[_0x1ca815(0xcd)](_0x589cc2){}[_0x1ca815(0xcb)](..._0x27ab83){}[_0x1ca815(0xbb)](..._0x564a23){}['onQRCodeLoginSucceed'](..._0x1e3a09){}['onQRCodeSessionFailed'](..._0xf9bb79){}[_0x1ca815(0xbc)](..._0x153c8c){}['onLogoutSucceed'](..._0x7c8eee){}[_0x1ca815(0xc7)](..._0xed9044){}[_0x1ca815(0xc1)](..._0x1a560d){}[_0x1ca815(0xc6)](..._0x5b2894){}['onPasswordLoginFailed'](..._0x1363be){}[_0x1ca815(0xbe)](..._0x46828e){}['onQQLoginNumLimited'](..._0x324604){}[_0x1ca815(0xc2)](..._0x9042ef){}} \ No newline at end of file +function _0x4d6c(){var _0x3e337d=['18BJunfM','onQRCodeGetPicture','7889544arRmJo','onLogoutFailed','onPasswordLoginFailed','onQRCodeLoginPollingStarted','onLogoutSucceed','onLoginState','1281HwkrmW','4593568YPqyoJ','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','31914918PNEkJn','onLoginConnecting','onQRCodeSessionFailed','onUserLoggedIn','1860167UfUWAb','OnConfirmUnusualDeviceFailed','2438084KSUBnq','2606655jIyItf','18424LlGzLU','onLoginDisConnected','onLoginConnected'];_0x4d6c=function(){return _0x3e337d;};return _0x4d6c();}var _0x368da3=_0x3335;function _0x3335(_0x57cd10,_0xa8bc55){var _0x4d6c6c=_0x4d6c();return _0x3335=function(_0x3335b9,_0x10b63a){_0x3335b9=_0x3335b9-0x1dd;var _0x1049f7=_0x4d6c6c[_0x3335b9];return _0x1049f7;},_0x3335(_0x57cd10,_0xa8bc55);}(function(_0x181a73,_0x5eb4f2){var _0x5df1ef=_0x3335,_0x5e9ade=_0x181a73();while(!![]){try{var _0x370035=parseInt(_0x5df1ef(0x1e0))/0x1+-parseInt(_0x5df1ef(0x1e2))/0x2+-parseInt(_0x5df1ef(0x1ef))/0x3*(parseInt(_0x5df1ef(0x1e4))/0x4)+parseInt(_0x5df1ef(0x1e3))/0x5*(-parseInt(_0x5df1ef(0x1e7))/0x6)+-parseInt(_0x5df1ef(0x1f0))/0x7+parseInt(_0x5df1ef(0x1e9))/0x8+parseInt(_0x5df1ef(0x1f3))/0x9;if(_0x370035===_0x5eb4f2)break;else _0x5e9ade['push'](_0x5e9ade['shift']());}catch(_0x2d888e){_0x5e9ade['push'](_0x5e9ade['shift']());}}}(_0x4d6c,0xf0d49));export class LoginListener{[_0x368da3(0x1e6)](..._0x2e46bf){}[_0x368da3(0x1e5)](..._0x50d32d){}[_0x368da3(0x1dd)](..._0xdf191d){}[_0x368da3(0x1e8)](_0x419c83){}[_0x368da3(0x1ec)](..._0x7796e6){}['onQRCodeSessionUserScaned'](..._0x1a5bfa){}[_0x368da3(0x1f1)](..._0x1ba7c5){}[_0x368da3(0x1de)](..._0x2947ae){}['onLoginFailed'](..._0x140c53){}[_0x368da3(0x1ed)](..._0x18c909){}[_0x368da3(0x1ea)](..._0x456016){}[_0x368da3(0x1df)](..._0x45ace8){}[_0x368da3(0x1f2)](..._0x124c99){}[_0x368da3(0x1eb)](..._0x219679){}[_0x368da3(0x1e1)](..._0xc2791c){}['onQQLoginNumLimited'](..._0x2b69ca){}[_0x368da3(0x1ee)](..._0x118e13){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js index 1cb0c76c1..60daf0b3e 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x53d4(_0x1f9a0e,_0x3bf446){var _0x431cae=_0x431c();return _0x53d4=function(_0x53d4fd,_0x4f2b04){_0x53d4fd=_0x53d4fd-0x193;var _0x19b2cf=_0x431cae[_0x53d4fd];return _0x19b2cf;},_0x53d4(_0x1f9a0e,_0x3bf446);}var _0x4016c1=_0x53d4;function _0x431c(){var _0x327eff=['onGroupFileInfoAdd','onMsgEventListUpdate','onFileMsgCome','onUnreadCntAfterFirstView','5936KbeHvP','138FEJzlB','onRedTouchChanged','onRecvS2CMsg','7392051ISOMVt','onMsgSettingUpdate','onCustomWithdrawConfigUpdate','onMsgSecurityNotify','onMsgInfoListUpdate','onInputStatusPush','onHitCsRelatedEmojiResult','onEmojiDownloadComplete','9079861ZmpIeo','onMsgAbstractUpdate','onRichMediaDownloadComplete','20dKOVxx','onReadFeedEventUpdate','onBroadcastHelperDownloadComplete','onAddSendMsg','onDraftUpdate','onSearchGroupFileInfoUpdate','onMsgInfoListAdd','onFirstViewGroupGuildMapping','onEmojiResourceUpdate','onSysMsgNotification','onRecvOnlineFileMsg','onUserSecQualityChanged','onRichMediaProgerssUpdate','onMsgBoxChanged','252eHmrap','onHitEmojiKeywordResult','onUnreadCntUpdate','onLogLevelChanged','onGroupGuildUpdate','onUserOnlineStatusChanged','onChannelFreqLimitInfoUpdate','4yqWWNC','onlineStatusBigIconDownloadPush','onGroupTransferInfoAdd','onMsgQRCodeStatusChanged','onKickedOffLine','onContactUnreadCntUpdate','onSendMsgError','3205176GMlVZp','onGuildMsgAbFlagChanged','onLineDev','4958616csjnJK','onRecvSysMsg','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onTempChatInfoUpdate','onImportOldDbProgressUpdate','onGrabPasswordRedBag','onGuildInteractiveUpdate','11151393nfusJo','onGroupTransferInfoUpdate','86290NHZJmo','onBroadcastHelperProgressUpdate','onRecvUDCFlag'];_0x431c=function(){return _0x327eff;};return _0x431c();}(function(_0x50e11f,_0x35c31f){var _0x2d2ff4=_0x53d4,_0xfbd6a=_0x50e11f();while(!![]){try{var _0x4bee8d=-parseInt(_0x2d2ff4(0x1ad))/0x1*(-parseInt(_0x2d2ff4(0x1cf))/0x2)+-parseInt(_0x2d2ff4(0x1be))/0x3*(-parseInt(_0x2d2ff4(0x1b4))/0x4)+parseInt(_0x2d2ff4(0x1c8))/0x5*(-parseInt(_0x2d2ff4(0x1d0))/0x6)+parseInt(_0x2d2ff4(0x19c))/0x7+parseInt(_0x2d2ff4(0x1bb))/0x8+-parseInt(_0x2d2ff4(0x194))/0x9+parseInt(_0x2d2ff4(0x19f))/0xa*(-parseInt(_0x2d2ff4(0x1c6))/0xb);if(_0x4bee8d===_0x35c31f)break;else _0xfbd6a['push'](_0xfbd6a['shift']());}catch(_0x7cdb81){_0xfbd6a['push'](_0xfbd6a['shift']());}}}(_0x431c,0xd032b));export class MsgListener{[_0x4016c1(0x1a2)](_0x39982e){}[_0x4016c1(0x1a1)](_0x317acb){}[_0x4016c1(0x1c9)](_0x23611a){}[_0x4016c1(0x1b3)](_0x2d729f,_0x17b5c9,_0x555770){}[_0x4016c1(0x1b9)](_0x2bcbd9){}[_0x4016c1(0x196)](_0x258c31){}[_0x4016c1(0x1a3)](_0x47aca9,_0x1227ed,_0x1d5b0b){}[_0x4016c1(0x19b)](_0x42ded3){}[_0x4016c1(0x1a7)](_0x1d7172){}[_0x4016c1(0x1c1)](_0x18129a){}[_0x4016c1(0x1cd)](_0x3b6029){}[_0x4016c1(0x1c0)](_0x2a4ee4){}[_0x4016c1(0x1a6)](_0x45e058){}[_0x4016c1(0x1c4)](_0xee42a7,_0x589126,_0xa1778d,_0x2eb4f2,_0x593a80){}[_0x4016c1(0x1cb)](_0x515667){}['onGroupFileInfoUpdate'](_0x4ec682){}[_0x4016c1(0x1b1)](_0x340edb){}[_0x4016c1(0x1b6)](_0x1a772e){}[_0x4016c1(0x1c7)](_0x40543e){}[_0x4016c1(0x1c5)](_0x4bbc6d){}[_0x4016c1(0x1bc)](_0x22f8f8){}['onGuildNotificationAbstractUpdate'](_0x4e583e){}[_0x4016c1(0x19a)](_0x3e8eb8){}[_0x4016c1(0x1ae)](_0xe6b3e){}['onHitRelatedEmojiResult'](_0x543cf8){}[_0x4016c1(0x1c3)](_0x25161a){}[_0x4016c1(0x199)](_0xe340e6){}[_0x4016c1(0x1b8)](_0x296679){}[_0x4016c1(0x1bd)](_0x1acfc0){}[_0x4016c1(0x1b0)](_0x99d3e5){}[_0x4016c1(0x19d)](_0x3f2217){}[_0x4016c1(0x1ac)](_0x118020){}['onMsgDelete'](_0x308c06,_0x2fc9f3){}[_0x4016c1(0x1cc)](_0x11fd36){}[_0x4016c1(0x1a5)](_0x505170){}[_0x4016c1(0x198)](_0x4301fb){}[_0x4016c1(0x1b7)](_0x336ddb){}['onMsgRecall'](_0x157586,_0x385690,_0x3a9b9b){}[_0x4016c1(0x197)](_0x22320b){}[_0x4016c1(0x195)](_0xd0463b){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}[_0x4016c1(0x1a0)](_0x2253c1){}['onRecvGroupGuildFlag'](_0x38ec0a){}['onRecvMsg'](_0x27bf0d){}['onRecvMsgSvrRspTransInfo'](_0x41fa09,_0x177c15,_0x32c145,_0x5a70d5,_0x5753c7,_0x31fcfe){}[_0x4016c1(0x1a9)](_0x4b6600){}[_0x4016c1(0x193)](_0x274278){}[_0x4016c1(0x1bf)](_0x4a2135){}[_0x4016c1(0x1ca)](_0x11fbeb){}[_0x4016c1(0x19e)](_0x28ccf){}[_0x4016c1(0x1ab)](_0xf8bf83){}['onRichMediaUploadComplete'](_0x40fc8a){}[_0x4016c1(0x1a4)](_0x5e45e0){}[_0x4016c1(0x1ba)](_0x4163fe,_0xfa2f76,_0x36cc53,_0x30c7dc){}[_0x4016c1(0x1a8)](_0x2de48c,_0x3357b8,_0x1e0262,_0x540ce3){}[_0x4016c1(0x1c2)](_0x5bc55d){}[_0x4016c1(0x1ce)](_0x315ae9){}[_0x4016c1(0x1af)](_0x3050df){}['onUserChannelTabStatusChanged'](_0x49500d){}[_0x4016c1(0x1b2)](_0x5d5a38){}['onUserTabStatusChanged'](_0x4a421b){}[_0x4016c1(0x1b5)](_0x231db5,_0x78a083,_0x2243b0){}['onlineStatusSmallIconDownloadPush'](_0x5a13a5,_0x4a6c20,_0x328b0d){}[_0x4016c1(0x1aa)](..._0x5aa0ba){}['onMsgWithRichLinkInfoUpdate'](..._0x15509d){}[_0x4016c1(0x1d1)](..._0x55e622){}} \ No newline at end of file +function _0x4857(_0x478cfa,_0x1e4bc1){var _0x1916e2=_0x1916();return _0x4857=function(_0x485717,_0x4aa074){_0x485717=_0x485717-0x98;var _0xfce07f=_0x1916e2[_0x485717];return _0xfce07f;},_0x4857(_0x478cfa,_0x1e4bc1);}function _0x1916(){var _0x50ee72=['onFirstViewDirectMsgUpdate','onNtMsgSyncStart','onUnreadCntAfterFirstView','6378mlxtaT','onRecvGroupGuildFlag','1480404zsFxNk','onGroupFileInfoUpdate','onFileMsgCome','onKickedOffLine','onUserChannelTabStatusChanged','onGroupTransferInfoUpdate','onRichMediaProgerssUpdate','onGroupGuildUpdate','onImportOldDbProgressUpdate','11CoOBXk','onlineStatusSmallIconDownloadPush','onMsgInfoListUpdate','onMsgSettingUpdate','onRedTouchChanged','onSendMsgError','onNtFirstViewMsgSyncEnd','6723516ZAVavh','onSearchGroupFileInfoUpdate','8qImgZP','onUnreadCntUpdate','onMsgEventListUpdate','onFeedEventUpdate','onMsgRecall','27pTotel','onHitEmojiKeywordResult','onReadFeedEventUpdate','onEmojiResourceUpdate','41837fHgFbS','onCustomWithdrawConfigUpdate','onMsgBoxChanged','2118704nwiGfg','onAddSendMsg','onMsgAbstractUpdate','onGuildInteractiveUpdate','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','onlineStatusBigIconDownloadPush','onMsgInfoListAdd','1161760EYFRCi','onHitRelatedEmojiResult','onChannelFreqLimitInfoUpdate','onTempChatInfoUpdate','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','474xOHrtl','onRichMediaDownloadComplete','onMsgWithRichLinkInfoUpdate','onDraftUpdate','4278wRJpUX','onContactUnreadCntUpdate','onRecvS2CMsg','onMsgQRCodeStatusChanged','onBroadcastHelperProgressUpdate','onRecvSysMsg','onRecvMsgSvrRspTransInfo','onGroupFileInfoAdd','onNtMsgSyncEnd','1660wKjGMb','onInputStatusPush','onMsgDelete','onLogLevelChanged','onGroupTransferInfoAdd'];_0x1916=function(){return _0x50ee72;};return _0x1916();}var _0x3539cc=_0x4857;(function(_0x97bff1,_0x3c9e3c){var _0x17e48c=_0x4857,_0x3171f5=_0x97bff1();while(!![]){try{var _0xa846b4=parseInt(_0x17e48c(0xca))/0x1+parseInt(_0x17e48c(0x98))/0x2*(-parseInt(_0x17e48c(0x9c))/0x3)+-parseInt(_0x17e48c(0xaf))/0x4+-parseInt(_0x17e48c(0xa5))/0x5*(parseInt(_0x17e48c(0xad))/0x6)+-parseInt(_0x17e48c(0xcd))/0x7*(-parseInt(_0x17e48c(0xc1))/0x8)+-parseInt(_0x17e48c(0xc6))/0x9*(-parseInt(_0x17e48c(0xd5))/0xa)+parseInt(_0x17e48c(0xb8))/0xb*(parseInt(_0x17e48c(0xbf))/0xc);if(_0xa846b4===_0x3c9e3c)break;else _0x3171f5['push'](_0x3171f5['shift']());}catch(_0x5e8ac0){_0x3171f5['push'](_0x3171f5['shift']());}}}(_0x1916,0x2ef5f));export class MsgListener{[_0x3539cc(0xce)](_0x35e77b){}['onBroadcastHelperDownloadComplete'](_0x5f40b9){}[_0x3539cc(0xa0)](_0x3c8ef1){}[_0x3539cc(0xd7)](_0x3d4773,_0x3f05a6,_0x271bd1){}[_0x3539cc(0x9d)](_0x27def0){}[_0x3539cc(0xcb)](_0x5b7d9e){}[_0x3539cc(0x9b)](_0x5a4b81,_0x1c2c7d,_0x2621a5){}['onEmojiDownloadComplete'](_0x454f91){}[_0x3539cc(0xc9)](_0x224733){}[_0x3539cc(0xc4)](_0xf21a7e){}[_0x3539cc(0xb1)](_0x3f1b7b){}[_0x3539cc(0xaa)](_0x54435d){}['onFirstViewGroupGuildMapping'](_0x3039c9){}[_0x3539cc(0xd9)](_0x2694c4,_0x3e1078,_0x509a47,_0x2cd500,_0x60d079){}[_0x3539cc(0xa3)](_0x4faf83){}[_0x3539cc(0xb0)](_0x1fb38c){}[_0x3539cc(0xb6)](_0xfd564c){}[_0x3539cc(0xa9)](_0x20e66f){}[_0x3539cc(0xb4)](_0x3076ed){}[_0x3539cc(0xd0)](_0x4fbdd0){}[_0x3539cc(0xda)](_0x11b7a6){}[_0x3539cc(0xd2)](_0x201c52){}[_0x3539cc(0xd1)](_0x20b675){}[_0x3539cc(0xc7)](_0x590aeb){}[_0x3539cc(0xd6)](_0xf1eaa9){}[_0x3539cc(0xb7)](_0x3294e1){}[_0x3539cc(0xa6)](_0x34fa86){}[_0x3539cc(0xb2)](_0x298d10){}['onLineDev'](_0x417b8a){}[_0x3539cc(0xa8)](_0x5889ba){}[_0x3539cc(0xcf)](_0x471ac1){}[_0x3539cc(0xcc)](_0x445ed1){}[_0x3539cc(0xa7)](_0x114878,_0x347ef3){}[_0x3539cc(0xc3)](_0x2ade52){}[_0x3539cc(0xd4)](_0xed1718){}[_0x3539cc(0xba)](_0x14c758){}[_0x3539cc(0x9f)](_0x17151b){}[_0x3539cc(0xc5)](_0x5ccc0b,_0x3c0c9c,_0x254e69){}['onMsgSecurityNotify'](_0x2a8763){}[_0x3539cc(0xbb)](_0x1f82b5){}[_0x3539cc(0xbe)](){}[_0x3539cc(0xa4)](){}[_0x3539cc(0xab)](){}[_0x3539cc(0xc8)](_0x2ea65b){}[_0x3539cc(0xae)](_0x3bad2b){}['onRecvMsg'](_0x31f678){}[_0x3539cc(0xa2)](_0x9deca3,_0x5dd1cc,_0x8f7cc6,_0x2b9e49,_0x182d6e,_0x2d69c7){}['onRecvOnlineFileMsg'](_0x11a919){}[_0x3539cc(0x9e)](_0x3f27cf){}[_0x3539cc(0xa1)](_0x3ba5e2){}['onRecvUDCFlag'](_0x34d0b6){}[_0x3539cc(0x99)](_0x548aaf){}[_0x3539cc(0xb5)](_0x4ccf3a){}['onRichMediaUploadComplete'](_0x211a3f){}[_0x3539cc(0xc0)](_0x4abc4f){}[_0x3539cc(0xbd)](_0x2a249a,_0x8242af,_0xfe91b,_0x29ffe7){}['onSysMsgNotification'](_0xdf1c8d,_0x2c4381,_0x1b91fd,_0x4c3769){}[_0x3539cc(0xd8)](_0x565737){}[_0x3539cc(0xac)](_0x1ff896){}[_0x3539cc(0xc2)](_0x22dba9){}[_0x3539cc(0xb3)](_0x36eefa){}['onUserOnlineStatusChanged'](_0x1caeee){}['onUserTabStatusChanged'](_0x586014){}[_0x3539cc(0xd3)](_0x24b19e,_0x404306,_0x1fa604){}[_0x3539cc(0xb9)](_0x4e2651,_0x316fde,_0x256bb2){}['onUserSecQualityChanged'](..._0x4ca7c8){}[_0x3539cc(0x9a)](..._0xc23e36){}[_0x3539cc(0xbc)](..._0x1dd596){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js b/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js index 98cf11157..f79f8932c 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js @@ -1 +1 @@ -var _0x90047=_0xec3b;(function(_0x433024,_0x1fd546){var _0x1ea6e6=_0xec3b,_0x49dbb9=_0x433024();while(!![]){try{var _0x18948d=parseInt(_0x1ea6e6(0x1f8))/0x1*(parseInt(_0x1ea6e6(0x1f2))/0x2)+parseInt(_0x1ea6e6(0x1f1))/0x3*(parseInt(_0x1ea6e6(0x1f7))/0x4)+-parseInt(_0x1ea6e6(0x1f0))/0x5*(-parseInt(_0x1ea6e6(0x1ed))/0x6)+-parseInt(_0x1ea6e6(0x1ef))/0x7+parseInt(_0x1ea6e6(0x1f9))/0x8+parseInt(_0x1ea6e6(0x1f6))/0x9+-parseInt(_0x1ea6e6(0x1f5))/0xa*(parseInt(_0x1ea6e6(0x1ee))/0xb);if(_0x18948d===_0x1fd546)break;else _0x49dbb9['push'](_0x49dbb9['shift']());}catch(_0x1237fc){_0x49dbb9['push'](_0x49dbb9['shift']());}}}(_0x2c80,0x5743c));function _0xec3b(_0x5dee4a,_0x46c713){var _0x2c80d9=_0x2c80();return _0xec3b=function(_0xec3b83,_0x22150c){_0xec3b83=_0xec3b83-0x1ed;var _0x546d23=_0x2c80d9[_0xec3b83];return _0x546d23;},_0xec3b(_0x5dee4a,_0x46c713);}export class ProfileListener{[_0x90047(0x1f3)](..._0x2ec080){}[_0x90047(0x1f4)](_0x532b5b){}['onStatusUpdate'](..._0x2dbac6){}['onSelfStatusChanged'](..._0x4aa361){}['onStrangerRemarkChanged'](..._0xdfad2b){}}function _0x2c80(){var _0x2d7bd2=['4106600flpxTI','6dLYFUb','5698SUTrAz','1352904XlETTn','2502935xMrzLX','189843IHjGli','15118eeGjYB','onProfileSimpleChanged','onProfileDetailInfoChanged','32510iRtNuS','2774889DPglOW','40kaRXtf','37eqDWHg'];_0x2c80=function(){return _0x2d7bd2;};return _0x2c80();} \ No newline at end of file +var _0x3c7742=_0xf4ca;function _0x34f7(){var _0x3828a5=['onStatusUpdate','242103fAGScf','3518459hdjPxc','51930eWwnMD','64510MNkStp','1344WpMMSk','3446856krBoah','1544436bJNlXQ','onStrangerRemarkChanged','onSelfStatusChanged','26IEkitY','128324GAUyDJ'];_0x34f7=function(){return _0x3828a5;};return _0x34f7();}function _0xf4ca(_0x590e4b,_0x47b8f7){var _0x34f764=_0x34f7();return _0xf4ca=function(_0xf4ca55,_0x2cacbb){_0xf4ca55=_0xf4ca55-0xec;var _0x21236d=_0x34f764[_0xf4ca55];return _0x21236d;},_0xf4ca(_0x590e4b,_0x47b8f7);}(function(_0x3f1d97,_0x1aebe1){var _0x490265=_0xf4ca,_0x4d8557=_0x3f1d97();while(!![]){try{var _0x5abb87=-parseInt(_0x490265(0xf0))/0x1+parseInt(_0x490265(0xef))/0x2*(parseInt(_0x490265(0xf2))/0x3)+-parseInt(_0x490265(0xec))/0x4+parseInt(_0x490265(0xf5))/0x5+parseInt(_0x490265(0xf7))/0x6+parseInt(_0x490265(0xf3))/0x7+parseInt(_0x490265(0xf6))/0x8*(-parseInt(_0x490265(0xf4))/0x9);if(_0x5abb87===_0x1aebe1)break;else _0x4d8557['push'](_0x4d8557['shift']());}catch(_0x4a5c43){_0x4d8557['push'](_0x4d8557['shift']());}}}(_0x34f7,0x9ffe7));export class ProfileListener{['onProfileSimpleChanged'](..._0x1d73c7){}['onProfileDetailInfoChanged'](_0x3a77df){}[_0x3c7742(0xf1)](..._0x38eab0){}[_0x3c7742(0xee)](..._0x3d4f9f){}[_0x3c7742(0xed)](..._0x51400a){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js index edfde9a53..08c511042 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x2830(_0x4ea10d,_0x29cb9a){var _0x187382=_0x1873();return _0x2830=function(_0x283038,_0xbf6087){_0x283038=_0x283038-0x1e6;var _0x517c8e=_0x187382[_0x283038];return _0x517c8e;},_0x2830(_0x4ea10d,_0x29cb9a);}function _0x1873(){var _0x1291ef=['2542331JeBscc','2347735CDGxKr','onNTSessionCreate','10ptYUad','onOpentelemetryInit','448XYvHjj','8jdCWBc','3fiVSHh','onUserOnlineResult','256104MoAvsh','719396ysThKr','9pzMSoU','5534659rymyqM','onGProSessionCreate','39174tMZkFE','84smaxQE','6957396oyLGjG'];_0x1873=function(){return _0x1291ef;};return _0x1873();}var _0x2e2c38=_0x2830;(function(_0x1e2bf0,_0x5e2ba9){var _0x1efcc1=_0x2830,_0x423839=_0x1e2bf0();while(!![]){try{var _0x1c068a=-parseInt(_0x1efcc1(0x1ee))/0x1*(parseInt(_0x1efcc1(0x1ec))/0x2)+-parseInt(_0x1efcc1(0x1ea))/0x3*(parseInt(_0x1efcc1(0x1ed))/0x4)+-parseInt(_0x1efcc1(0x1f5))/0x5+parseInt(_0x1efcc1(0x1f1))/0x6*(parseInt(_0x1efcc1(0x1e8))/0x7)+parseInt(_0x1efcc1(0x1e9))/0x8*(-parseInt(_0x1efcc1(0x1f3))/0x9)+-parseInt(_0x1efcc1(0x1e6))/0xa*(parseInt(_0x1efcc1(0x1f4))/0xb)+parseInt(_0x1efcc1(0x1f2))/0xc*(parseInt(_0x1efcc1(0x1ef))/0xd);if(_0x1c068a===_0x5e2ba9)break;else _0x423839['push'](_0x423839['shift']());}catch(_0xcffffb){_0x423839['push'](_0x423839['shift']());}}}(_0x1873,0x9089c));export class SessionListener{[_0x2e2c38(0x1f6)](_0x131886){}[_0x2e2c38(0x1f0)](_0x302a0b){}['onSessionInitComplete'](_0x161305){}[_0x2e2c38(0x1e7)](_0x577145){}[_0x2e2c38(0x1eb)](_0x1e48c3){}['onGetSelfTinyId'](_0x2b49a1){}} \ No newline at end of file +function _0xd068(_0x52352b,_0x307f35){var _0x353fab=_0x353f();return _0xd068=function(_0xd068e6,_0x4a1ec8){_0xd068e6=_0xd068e6-0x13b;var _0x1896fb=_0x353fab[_0xd068e6];return _0x1896fb;},_0xd068(_0x52352b,_0x307f35);}var _0x47640e=_0xd068;function _0x353f(){var _0x5c41af=['onSessionInitComplete','420936sysupS','1549928LaOnFp','305310yeGbDv','onOpentelemetryInit','11yISdNW','18354864CvoDXZ','onNTSessionCreate','5TwbZRT','28uviBzf','4167812czoVUE','919470dzDrGb','5271bzazVg','onUserOnlineResult','148REsuhG','onGProSessionCreate','90PTSbYG'];_0x353f=function(){return _0x5c41af;};return _0x353f();}(function(_0x401e97,_0x471d4c){var _0x232b72=_0xd068,_0x4e24c6=_0x401e97();while(!![]){try{var _0x5d69d=parseInt(_0x232b72(0x145))/0x1+parseInt(_0x232b72(0x148))/0x2*(parseInt(_0x232b72(0x146))/0x3)+-parseInt(_0x232b72(0x144))/0x4*(parseInt(_0x232b72(0x142))/0x5)+parseInt(_0x232b72(0x13b))/0x6+parseInt(_0x232b72(0x143))/0x7*(-parseInt(_0x232b72(0x13c))/0x8)+-parseInt(_0x232b72(0x14a))/0x9*(parseInt(_0x232b72(0x13d))/0xa)+-parseInt(_0x232b72(0x13f))/0xb*(-parseInt(_0x232b72(0x140))/0xc);if(_0x5d69d===_0x471d4c)break;else _0x4e24c6['push'](_0x4e24c6['shift']());}catch(_0x5ed231){_0x4e24c6['push'](_0x4e24c6['shift']());}}}(_0x353f,0x80a8d));export class SessionListener{[_0x47640e(0x141)](_0x45c465){}[_0x47640e(0x149)](_0x4d71d7){}[_0x47640e(0x14b)](_0x3bb0f1){}[_0x47640e(0x13e)](_0x5b24e9){}[_0x47640e(0x147)](_0x5f3d47){}['onGetSelfTinyId'](_0x5a557a){}} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/listeners/index.js b/src/core.lib/src/qqnt/listeners/index.js index e671851c6..68f86d251 100644 --- a/src/core.lib/src/qqnt/listeners/index.js +++ b/src/core.lib/src/qqnt/listeners/index.js @@ -1 +1 @@ -function _0x513b(){var _0x1f987b=['46TyPJma','2251413BNxKPY','394779WUfeQA','12riISYC','1106934zpOBwR','765730RNZAZu','554172BsoLIC','11599340IPrKUU','10267nHTmXz','16BVCnYi'];_0x513b=function(){return _0x1f987b;};return _0x513b();}function _0x32f7(_0x9c9063,_0x58c8ec){var _0x513ba5=_0x513b();return _0x32f7=function(_0x32f73e,_0x2c7e99){_0x32f73e=_0x32f73e-0x170;var _0xefe8c8=_0x513ba5[_0x32f73e];return _0xefe8c8;},_0x32f7(_0x9c9063,_0x58c8ec);}(function(_0x4df481,_0xcad709){var _0x41964c=_0x32f7,_0x2e29d0=_0x4df481();while(!![]){try{var _0x568171=parseInt(_0x41964c(0x179))/0x1*(parseInt(_0x41964c(0x171))/0x2)+-parseInt(_0x41964c(0x177))/0x3+parseInt(_0x41964c(0x174))/0x4*(-parseInt(_0x41964c(0x176))/0x5)+parseInt(_0x41964c(0x175))/0x6+-parseInt(_0x41964c(0x173))/0x7+parseInt(_0x41964c(0x170))/0x8*(-parseInt(_0x41964c(0x172))/0x9)+parseInt(_0x41964c(0x178))/0xa;if(_0x568171===_0xcad709)break;else _0x2e29d0['push'](_0x2e29d0['shift']());}catch(_0x31193f){_0x2e29d0['push'](_0x2e29d0['shift']());}}}(_0x513b,0x5cb2b));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20'; \ No newline at end of file +(function(_0x168183,_0x106c5a){var _0x9ced02=_0x1563,_0xf2e445=_0x168183();while(!![]){try{var _0x272307=-parseInt(_0x9ced02(0x155))/0x1+-parseInt(_0x9ced02(0x14f))/0x2*(parseInt(_0x9ced02(0x152))/0x3)+-parseInt(_0x9ced02(0x14e))/0x4*(-parseInt(_0x9ced02(0x151))/0x5)+-parseInt(_0x9ced02(0x14d))/0x6+-parseInt(_0x9ced02(0x154))/0x7*(-parseInt(_0x9ced02(0x150))/0x8)+-parseInt(_0x9ced02(0x156))/0x9+-parseInt(_0x9ced02(0x14c))/0xa*(-parseInt(_0x9ced02(0x153))/0xb);if(_0x272307===_0x106c5a)break;else _0xf2e445['push'](_0xf2e445['shift']());}catch(_0x34289a){_0xf2e445['push'](_0xf2e445['shift']());}}}(_0x2185,0x91508));function _0x2185(){var _0x3134b1=['1752720CsiQhw','4oKIbQP','58fdYMra','390792pTYCFs','2757735qKkUhj','98919aMKskC','11JYJMsT','133ZnNdWB','473834zgLYdj','2870829gqdEuK','11566820egnBbc'];_0x2185=function(){return _0x3134b1;};return _0x2185();}function _0x1563(_0x5493ee,_0x3862b2){var _0x218562=_0x2185();return _0x1563=function(_0x15632e,_0x5d920c){_0x15632e=_0x15632e-0x14c;var _0x55cf32=_0x218562[_0x15632e];return _0x55cf32;},_0x1563(_0x5493ee,_0x3862b2);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20'; \ No newline at end of file diff --git a/src/core.lib/src/qqnt/services/common.js b/src/core.lib/src/qqnt/services/common.js index 9a65f0778..6e6558d75 100644 --- a/src/core.lib/src/qqnt/services/common.js +++ b/src/core.lib/src/qqnt/services/common.js @@ -1 +1 @@ -function _0x2e7d(_0x44b5bc,_0x7c5911){var _0x910ea4=_0x910e();return _0x2e7d=function(_0x2e7d76,_0x36e1cd){_0x2e7d76=_0x2e7d76-0xbc;var _0x3f6fb1=_0x910ea4[_0x2e7d76];return _0x3f6fb1;},_0x2e7d(_0x44b5bc,_0x7c5911);}(function(_0x569b09,_0x5a2812){var _0x1930d5=_0x2e7d,_0x282a02=_0x569b09();while(!![]){try{var _0x561bfd=parseInt(_0x1930d5(0xc2))/0x1*(-parseInt(_0x1930d5(0xbf))/0x2)+parseInt(_0x1930d5(0xc7))/0x3*(-parseInt(_0x1930d5(0xc3))/0x4)+parseInt(_0x1930d5(0xc0))/0x5*(parseInt(_0x1930d5(0xc5))/0x6)+parseInt(_0x1930d5(0xbd))/0x7*(-parseInt(_0x1930d5(0xbe))/0x8)+-parseInt(_0x1930d5(0xbc))/0x9+-parseInt(_0x1930d5(0xc1))/0xa+-parseInt(_0x1930d5(0xc6))/0xb*(-parseInt(_0x1930d5(0xc4))/0xc);if(_0x561bfd===_0x5a2812)break;else _0x282a02['push'](_0x282a02['shift']());}catch(_0x540f4a){_0x282a02['push'](_0x282a02['shift']());}}}(_0x910e,0xd3989));function _0x910e(){var _0x5f1fdb=['6308270jJtAQw','11810190AGXILB','12167tGNnlQ','52FWrKKT','50938824TOxsKr','6XQrFcq','11DJXMnQ','45519WZSJdq','9682245VJDndo','139741pcimtG','520FjFVxg','146iOMkdr'];_0x910e=function(){return _0x5f1fdb;};return _0x910e();}export var GeneralCallResultStatus;(function(_0x152f5e){_0x152f5e[_0x152f5e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0xbc1e5a,_0x258030){var _0x4830d3=_0x1b9a,_0x1be01a=_0xbc1e5a();while(!![]){try{var _0x37368c=parseInt(_0x4830d3(0x73))/0x1*(-parseInt(_0x4830d3(0x7a))/0x2)+parseInt(_0x4830d3(0x74))/0x3+-parseInt(_0x4830d3(0x78))/0x4*(-parseInt(_0x4830d3(0x79))/0x5)+-parseInt(_0x4830d3(0x7b))/0x6+-parseInt(_0x4830d3(0x75))/0x7+-parseInt(_0x4830d3(0x77))/0x8+-parseInt(_0x4830d3(0x76))/0x9*(-parseInt(_0x4830d3(0x7c))/0xa);if(_0x37368c===_0x258030)break;else _0x1be01a['push'](_0x1be01a['shift']());}catch(_0x3e1d59){_0x1be01a['push'](_0x1be01a['shift']());}}}(_0x4324,0x58bff));function _0x1b9a(_0x202260,_0x498bef){var _0x43243e=_0x4324();return _0x1b9a=function(_0x1b9a57,_0xfabeb1){_0x1b9a57=_0x1b9a57-0x73;var _0x49ca09=_0x43243e[_0x1b9a57];return _0x49ca09;},_0x1b9a(_0x202260,_0x498bef);}export var GeneralCallResultStatus;(function(_0x36a30e){_0x36a30e[_0x36a30e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x4324(){var _0x103a8b=['23903090FlWbGf','9yRvCDF','176142wWCqdb','4875465JydHGa','9LtMtzD','4719440woTqHC','245780KhHdzR','35aKfGSo','130506KACwbE','3851502PwHQvd'];_0x4324=function(){return _0x103a8b;};return _0x4324();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/services/index.js b/src/core.lib/src/qqnt/services/index.js index 0e6ce13e1..eb116e1aa 100644 --- a/src/core.lib/src/qqnt/services/index.js +++ b/src/core.lib/src/qqnt/services/index.js @@ -1 +1 @@ -(function(_0x53d62f,_0x32b9d3){var _0x28a808=_0x558a,_0x5cd411=_0x53d62f();while(!![]){try{var _0x3da125=-parseInt(_0x28a808(0x16d))/0x1*(parseInt(_0x28a808(0x175))/0x2)+-parseInt(_0x28a808(0x16e))/0x3+-parseInt(_0x28a808(0x16b))/0x4*(-parseInt(_0x28a808(0x16f))/0x5)+parseInt(_0x28a808(0x171))/0x6+-parseInt(_0x28a808(0x16a))/0x7*(parseInt(_0x28a808(0x16c))/0x8)+parseInt(_0x28a808(0x172))/0x9*(parseInt(_0x28a808(0x173))/0xa)+-parseInt(_0x28a808(0x170))/0xb*(-parseInt(_0x28a808(0x174))/0xc);if(_0x3da125===_0x32b9d3)break;else _0x5cd411['push'](_0x5cd411['shift']());}catch(_0x442afa){_0x5cd411['push'](_0x5cd411['shift']());}}}(_0x453d,0xc5118));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x558a(_0x582fbc,_0x36303c){var _0x453d78=_0x453d();return _0x558a=function(_0x558a5c,_0x1d3dfe){_0x558a5c=_0x558a5c-0x16a;var _0x27a1b2=_0x453d78[_0x558a5c];return _0x27a1b2;},_0x558a(_0x582fbc,_0x36303c);}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x453d(){var _0x51488c=['5056890kOjMid','23274gljiIc','3590yvHPKi','12NdBBGT','1604VTLdYD','413399hHRfbg','269144vBhjIy','152EJHCxS','1345OTHiWh','4761264qdqmCu','90wGVqlz','17739876SLEZiu'];_0x453d=function(){return _0x51488c;};return _0x453d();}export*from'./NodeIKernelTicketService'; \ No newline at end of file +(function(_0x14bb60,_0x1b5d2e){var _0x106c42=_0x1247,_0x585928=_0x14bb60();while(!![]){try{var _0x36df6a=-parseInt(_0x106c42(0x10b))/0x1*(parseInt(_0x106c42(0x10e))/0x2)+-parseInt(_0x106c42(0x108))/0x3*(-parseInt(_0x106c42(0x106))/0x4)+parseInt(_0x106c42(0x104))/0x5*(parseInt(_0x106c42(0x109))/0x6)+-parseInt(_0x106c42(0x10c))/0x7+parseInt(_0x106c42(0x105))/0x8*(parseInt(_0x106c42(0x10a))/0x9)+-parseInt(_0x106c42(0x10d))/0xa+-parseInt(_0x106c42(0x107))/0xb;if(_0x36df6a===_0x1b5d2e)break;else _0x585928['push'](_0x585928['shift']());}catch(_0x20d641){_0x585928['push'](_0x585928['shift']());}}}(_0x5d90,0x5bbd3));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x1247(_0x13b53c,_0x405003){var _0x5d9041=_0x5d90();return _0x1247=function(_0x1247ab,_0x5e5688){_0x1247ab=_0x1247ab-0x104;var _0x47fb93=_0x5d9041[_0x1247ab];return _0x47fb93;},_0x1247(_0x13b53c,_0x405003);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x5d90(){var _0x31854b=['15crCnOz','192zGwADF','56928TzRugv','4971296jWZHtw','111bbwETT','1157880CeKgtI','214902xkSwek','13985xTDfAH','2489466nswfWP','1176640jPlFhx','54LxljlT'];_0x5d90=function(){return _0x31854b;};return _0x5d90();} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/sessionConfig.js b/src/core.lib/src/qqnt/sessionConfig.js index d335d98b2..f74d9ef79 100644 --- a/src/core.lib/src/qqnt/sessionConfig.js +++ b/src/core.lib/src/qqnt/sessionConfig.js @@ -1 +1 @@ -(function(_0x461ae1,_0x3cc515){const _0x1be444=_0x5df0,_0x180123=_0x461ae1();while(!![]){try{const _0x2d38ed=parseInt(_0x1be444(0xf7))/0x1+-parseInt(_0x1be444(0xe0))/0x2+parseInt(_0x1be444(0xde))/0x3*(-parseInt(_0x1be444(0xf4))/0x4)+-parseInt(_0x1be444(0xeb))/0x5*(parseInt(_0x1be444(0xf1))/0x6)+-parseInt(_0x1be444(0xe9))/0x7+-parseInt(_0x1be444(0xe4))/0x8*(parseInt(_0x1be444(0xed))/0x9)+parseInt(_0x1be444(0xe2))/0xa;if(_0x2d38ed===_0x3cc515)break;else _0x180123['push'](_0x180123['shift']());}catch(_0x395be2){_0x180123['push'](_0x180123['shift']());}}}(_0xabd2,0x88240));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0xabd2(){const _0x515ce2=['40PZDMtF','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','writeFileSync','jCwtn','utf-8','6382068xRBQNx','guid.txt','5AxoELL','downloadPath','26163ySEEIa','mkdirSync','rDUGA','log','2269746tLFTkP','ZLJTp','FLbxh','16yEQXGm','NapCat','curVersion','862712UcfnoT','40083hjAfvP','join','1686124yXwfcO','dzmup','18959760xRqvYM','temp'];_0xabd2=function(){return _0x515ce2;};return _0xabd2();}import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x5df0(_0x4aed42,_0xc89e98){const _0xabd2b9=_0xabd2();return _0x5df0=function(_0x5df0cb,_0x12e834){_0x5df0cb=_0x5df0cb-0xde;let _0x395b62=_0xabd2b9[_0x5df0cb];return _0x395b62;},_0x5df0(_0x4aed42,_0xc89e98);}import _0x35319d from'node:path';import _0x3dc451 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;export function genSessionConfig(_0x2d09ae,_0x181171,_0x201824){const _0x4e403e=_0x5df0,_0x28de46={'dzmup':_0x4e403e(0xf5),'zGxli':_0x4e403e(0xe3),'jCwtn':_0x4e403e(0xec),'rDUGA':function(_0x509e5a){return _0x509e5a();},'FLbxh':_0x4e403e(0xe8),'ZLJTp':_0x4e403e(0xe5)},_0x993375=_0x35319d['join'](_0x201824,_0x28de46[_0x4e403e(0xe1)],_0x28de46['zGxli']);console[_0x4e403e(0xf0)](_0x28de46[_0x4e403e(0xe7)],_0x993375),_0x3dc451[_0x4e403e(0xee)](_0x993375,{'recursive':!![]});const _0x4bd51d=_0x35319d['join'](_0x201824,_0x28de46['dzmup'],_0x4e403e(0xea));let _0x4a57c8=_0x28de46[_0x4e403e(0xef)](randomUUID);try{_0x4a57c8=_0x3dc451['readFileSync'](_0x35319d[_0x4e403e(0xdf)](_0x4bd51d),_0x28de46[_0x4e403e(0xf3)]);}catch(_0x4a2238){_0x3dc451[_0x4e403e(0xe6)](_0x35319d[_0x4e403e(0xdf)](_0x4bd51d),_0x4a57c8,_0x4e403e(0xe8));}const _0x23fe16={'selfUin':_0x2d09ae,'selfUid':_0x181171,'desktopPathConfig':{'account_path':_0x201824},'clientVer':qqVersionConfigInfo[_0x4e403e(0xf6)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x993375,'deviceInfo':{'guid':_0x4a57c8,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x28de46[_0x4e403e(0xf2)]};return sessionConfig=_0x23fe16,console[_0x4e403e(0xf0)](sessionConfig),_0x23fe16;} \ No newline at end of file +(function(_0x4dbf87,_0x18764f){const _0x24ab2f=_0xec43,_0x22f3ce=_0x4dbf87();while(!![]){try{const _0x5253f5=-parseInt(_0x24ab2f(0x91))/0x1*(-parseInt(_0x24ab2f(0x90))/0x2)+-parseInt(_0x24ab2f(0x95))/0x3*(-parseInt(_0x24ab2f(0x8a))/0x4)+-parseInt(_0x24ab2f(0x8e))/0x5+-parseInt(_0x24ab2f(0x9c))/0x6*(-parseInt(_0x24ab2f(0x8b))/0x7)+-parseInt(_0x24ab2f(0x86))/0x8+parseInt(_0x24ab2f(0x87))/0x9+parseInt(_0x24ab2f(0x89))/0xa;if(_0x5253f5===_0x18764f)break;else _0x22f3ce['push'](_0x22f3ce['shift']());}catch(_0x283ab7){_0x22f3ce['push'](_0x22f3ce['shift']());}}}(_0x3da3,0xecc5c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0xec43(_0x239b07,_0x2f8737){const _0x3da304=_0x3da3();return _0xec43=function(_0xec436b,_0x33f133){_0xec436b=_0xec436b-0x84;let _0x2a655c=_0x3da304[_0xec436b];return _0x2a655c;},_0xec43(_0x239b07,_0x2f8737);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3ae48e from'node:path';import _0x5a3b9b from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x3da3(){const _0x27ab31=['1819732YFBNhh','168889zpitjo','temp','log','2927470OJvEoE','guid.txt','2yXUyUP','344737BXKJKX','fbNMU','utf-8','version','9HtcllX','join','pBgsx','yLtlC','vXoae','ortya','readFileSync','324ytqwCU','NapCat','downloadPath','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','15130080oKANyv','3321972VjcyZr','mkdirSync','650720gqXFSL'];_0x3da3=function(){return _0x27ab31;};return _0x3da3();}export function genSessionConfig(_0x2e5425,_0x535177,_0x2078ef){const _0x5e3663=_0xec43,_0x268b3c={'fbNMU':_0x5e3663(0x9d),'PYrKx':_0x5e3663(0x8c),'yLtlC':_0x5e3663(0x84),'ortya':function(_0x2d765c){return _0x2d765c();},'vXoae':_0x5e3663(0x93),'pBgsx':_0x5e3663(0x85)},_0x305052=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x268b3c['PYrKx']);console[_0x5e3663(0x8d)](_0x268b3c[_0x5e3663(0x98)],_0x305052),_0x5a3b9b[_0x5e3663(0x88)](_0x305052,{'recursive':!![]});const _0x39890e=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x5e3663(0x8f));let _0x22d7dd=_0x268b3c[_0x5e3663(0x9a)](randomUUID);try{_0x22d7dd=_0x5a3b9b[_0x5e3663(0x9b)](_0x3ae48e[_0x5e3663(0x96)](_0x39890e),_0x5e3663(0x93));}catch(_0x49c7e8){_0x5a3b9b['writeFileSync'](_0x3ae48e['join'](_0x39890e),_0x22d7dd,_0x268b3c[_0x5e3663(0x99)]);}const _0x5bb943={'selfUin':_0x2e5425,'selfUid':_0x535177,'desktopPathConfig':{'account_path':_0x2078ef},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x305052,'deviceInfo':{'guid':_0x22d7dd,'buildVer':qqPkgInfo[_0x5e3663(0x94)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x268b3c[_0x5e3663(0x97)]};return sessionConfig=_0x5bb943,console[_0x5e3663(0x8d)](sessionConfig),_0x5bb943;} \ No newline at end of file diff --git a/src/core.lib/src/qqnt/wrapper.js b/src/core.lib/src/qqnt/wrapper.js index d37336a96..df9b7d1ee 100644 --- a/src/core.lib/src/qqnt/wrapper.js +++ b/src/core.lib/src/qqnt/wrapper.js @@ -1 +1 @@ -const _0x47a12c=_0x269d;(function(_0x3e9b55,_0x25fafa){const _0x14a48c=_0x269d,_0x2c80d2=_0x3e9b55();while(!![]){try{const _0x193e09=-parseInt(_0x14a48c(0xb2))/0x1*(-parseInt(_0x14a48c(0xb1))/0x2)+-parseInt(_0x14a48c(0xb7))/0x3+-parseInt(_0x14a48c(0xac))/0x4*(-parseInt(_0x14a48c(0xb4))/0x5)+-parseInt(_0x14a48c(0xb0))/0x6+parseInt(_0x14a48c(0xae))/0x7+parseInt(_0x14a48c(0xb6))/0x8*(-parseInt(_0x14a48c(0xad))/0x9)+parseInt(_0x14a48c(0xa8))/0xa*(parseInt(_0x14a48c(0xb8))/0xb);if(_0x193e09===_0x25fafa)break;else _0x2c80d2['push'](_0x2c80d2['shift']());}catch(_0x9a8707){_0x2c80d2['push'](_0x2c80d2['shift']());}}}(_0x255e,0xa638f));import _0x3cf4b6 from'node:path';function _0x255e(){const _0x4d33ec=['3953685IPoZUL','2959OSokgf','/wrapper.node','join','existsSync','108470GNKGnN','curVersion','./resources/app/wrapper.node','dirname','2691268sKAryR','9VZlvmP','28049gKpPPT','resolve','6091134iHZcER','217014yRlmqi','1NSqHNt','resources/app/versions/','5rhROAj','execPath','5513944EhWhaq'];_0x255e=function(){return _0x4d33ec;};return _0x255e();}import _0x54aced from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x269d(_0x1ab5c3,_0x408aa4){const _0x255e84=_0x255e();return _0x269d=function(_0x269d2c,_0x48d0fa){_0x269d2c=_0x269d2c-0xa5;let _0x10bf31=_0x255e84[_0x269d2c];return _0x10bf31;},_0x269d(_0x1ab5c3,_0x408aa4);}let wrapperNodePath=_0x3cf4b6[_0x47a12c(0xaf)](_0x3cf4b6[_0x47a12c(0xab)](process[_0x47a12c(0xb5)]),_0x47a12c(0xaa));!_0x54aced[_0x47a12c(0xa7)](wrapperNodePath)&&(wrapperNodePath=_0x3cf4b6[_0x47a12c(0xa6)](_0x3cf4b6[_0x47a12c(0xab)](process[_0x47a12c(0xb5)]),_0x47a12c(0xb3)+qqVersionConfigInfo[_0x47a12c(0xa9)]+_0x47a12c(0xa5)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +const _0x19f0be=_0x4e91;function _0x1baa(){const _0x37ad04=['curVersion','execPath','5801537XbvzQF','1117724NRmdzJ','1521552MLgKbc','./resources/app/wrapper.node','1823736uxLqiN','2358462lEvHmx','20rKmKbj','join','36ciiHGs','existsSync','178842VZsjsa','resources/app/versions/','/wrapper.node','resolve','1841144lKSeIz'];_0x1baa=function(){return _0x37ad04;};return _0x1baa();}(function(_0xd07544,_0x23bced){const _0x33efa3=_0x4e91,_0x14019a=_0xd07544();while(!![]){try{const _0x520223=parseInt(_0x33efa3(0x8e))/0x1+parseInt(_0x33efa3(0x97))/0x2+parseInt(_0x33efa3(0x92))/0x3+-parseInt(_0x33efa3(0x91))/0x4+parseInt(_0x33efa3(0x93))/0x5*(-parseInt(_0x33efa3(0x8f))/0x6)+-parseInt(_0x33efa3(0x9e))/0x7+-parseInt(_0x33efa3(0x9b))/0x8*(-parseInt(_0x33efa3(0x95))/0x9);if(_0x520223===_0x23bced)break;else _0x14019a['push'](_0x14019a['shift']());}catch(_0x1158fa){_0x14019a['push'](_0x14019a['shift']());}}}(_0x1baa,0x9617a));import _0x4e2600 from'node:path';import _0x4ca776 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x4e2600[_0x19f0be(0x9a)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x90));function _0x4e91(_0x3caf03,_0x51ad3b){const _0x1baaf2=_0x1baa();return _0x4e91=function(_0x4e91c2,_0x362f7c){_0x4e91c2=_0x4e91c2-0x8e;let _0x2cd6af=_0x1baaf2[_0x4e91c2];return _0x2cd6af;},_0x4e91(_0x3caf03,_0x51ad3b);}!_0x4ca776[_0x19f0be(0x96)](wrapperNodePath)&&(wrapperNodePath=_0x4e2600[_0x19f0be(0x94)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x98)+qqVersionConfigInfo[_0x19f0be(0x9c)]+_0x19f0be(0x99)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file diff --git a/src/core.lib/src/service/buddy.js b/src/core.lib/src/service/buddy.js index 13a7fa2fd..b2e1f3fdc 100644 --- a/src/core.lib/src/service/buddy.js +++ b/src/core.lib/src/service/buddy.js @@ -1 +1 @@ -function _0x4e45(){const _0x937441=['uin','26322BNSaJo','addKernelBuddyListener','vGOxx','buddyList','720144KLvOks','get','ZkQoP','6GyuDTk','set','2580CsEKfz','init','MessageService\x20already\x20initialized!','6705blKFUx','NodeIKernelBuddyListener','72374WMvvXl','144277xWtoaV','10DuOzPG','listener','then','141488rKkjRa','onBuddyListChange','assign','271909GYTASz','getBuddyList','3SJMvsn','uid','kernelService'];_0x4e45=function(){return _0x937441;};return _0x4e45();}const _0x4328d6=_0x1080;(function(_0x324df2,_0x1a4c66){const _0x2b14c6=_0x1080,_0x210b2c=_0x324df2();while(!![]){try{const _0x50a829=parseInt(_0x2b14c6(0xdb))/0x1*(-parseInt(_0x2b14c6(0xed))/0x2)+-parseInt(_0x2b14c6(0xdf))/0x3+-parseInt(_0x2b14c6(0xf2))/0x4*(-parseInt(_0x2b14c6(0xef))/0x5)+parseInt(_0x2b14c6(0xe6))/0x6*(parseInt(_0x2b14c6(0xee))/0x7)+-parseInt(_0x2b14c6(0xe3))/0x8+parseInt(_0x2b14c6(0xeb))/0x9*(parseInt(_0x2b14c6(0xe8))/0xa)+parseInt(_0x2b14c6(0xd9))/0xb;if(_0x50a829===_0x1a4c66)break;else _0x210b2c['push'](_0x210b2c['shift']());}catch(_0x389c2e){_0x210b2c['push'](_0x210b2c['shift']());}}}(_0x4e45,0x18a43));function _0x1080(_0x1cd1ac,_0x5ee451){const _0x4e4548=_0x4e45();return _0x1080=function(_0x108027,_0x4d2ba4){_0x108027=_0x108027-0xd7;let _0x2aac54=_0x4e4548[_0x108027];return _0x2aac54;},_0x1080(_0x1cd1ac,_0x5ee451);}import{Wrapper as _0x3fbc39}from'../qqnt';import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x4328d6(0xdd)]=null;[_0x4328d6(0xf0)];constructor(){const _0x1940ae=_0x4328d6;this[_0x1940ae(0xf0)]=new BuddyListener();}[_0x4328d6(0xe9)](_0x38cb50){const _0x53de55=_0x4328d6,_0x3d3ea6={'vGOxx':function(_0x1f9f89,_0xa8df0a){return _0x1f9f89!==_0xa8df0a;},'ZkQoP':_0x53de55(0xea)};if(_0x3d3ea6[_0x53de55(0xe1)](this['kernelService'],null))throw new Error(_0x3d3ea6[_0x53de55(0xe5)]);this['kernelService']=_0x38cb50,this['listener'][_0x53de55(0xd7)]=_0xcc23dd=>{const _0x36f620=_0x53de55;for(const _0x5de768 of _0xcc23dd){for(const _0x2e638b of _0x5de768[_0x36f620(0xe2)]){const _0x38304b=friends[_0x36f620(0xe4)](_0x2e638b[_0x36f620(0xdc)]);uid2UinMap[_0x2e638b[_0x36f620(0xdc)]]=_0x2e638b[_0x36f620(0xde)],_0x38304b?Object[_0x36f620(0xd8)](_0x38304b,_0x2e638b):friends[_0x36f620(0xe7)](_0x2e638b[_0x36f620(0xdc)],_0x2e638b);}}},this[_0x53de55(0xdd)]['addKernelBuddyListener'](new _0x3fbc39[(_0x53de55(0xec))](this[_0x53de55(0xf0)])),this[_0x53de55(0xdd)][_0x53de55(0xda)](!![])[_0x53de55(0xf1)](_0x326fdd=>{});}['addBuddyListener'](_0x33f132){const _0xef9651=_0x4328d6;this[_0xef9651(0xdd)]?.[_0xef9651(0xe0)](new _0x3fbc39['NodeIKernelBuddyListener'](_0x33f132));}} \ No newline at end of file +const _0x10ad30=_0x2622;(function(_0x56ac06,_0x56c554){const _0x1c7000=_0x2622,_0x400817=_0x56ac06();while(!![]){try{const _0x2b2bf4=-parseInt(_0x1c7000(0x11b))/0x1*(-parseInt(_0x1c7000(0x113))/0x2)+-parseInt(_0x1c7000(0x11e))/0x3+parseInt(_0x1c7000(0x114))/0x4+parseInt(_0x1c7000(0x121))/0x5*(-parseInt(_0x1c7000(0x120))/0x6)+-parseInt(_0x1c7000(0x11a))/0x7*(parseInt(_0x1c7000(0x117))/0x8)+-parseInt(_0x1c7000(0x116))/0x9*(parseInt(_0x1c7000(0x115))/0xa)+parseInt(_0x1c7000(0x126))/0xb;if(_0x2b2bf4===_0x56c554)break;else _0x400817['push'](_0x400817['shift']());}catch(_0x22ba32){_0x400817['push'](_0x400817['shift']());}}}(_0x2939,0x91ab6));import{Wrapper as _0x30cefa}from'../qqnt';function _0x2939(){const _0x47c896=['10559fVVatR','get','uin','803115uQritF','addKernelBuddyListener','416046sqRtoa','5nXuNsI','addBuddyListener','kernelService','NodeIKernelBuddyListener','HNIGO','15823313uthqnD','listener','MessageService\x20already\x20initialized!','146ZtkbSo','2024652PupJUf','90oVljJI','1141263zyZHAm','1707952iokEVU','uid','then','21apZasu'];_0x2939=function(){return _0x47c896;};return _0x2939();}function _0x2622(_0xbdb85d,_0x1f895f){const _0x2939f2=_0x2939();return _0x2622=function(_0x2622d7,_0x32db64){_0x2622d7=_0x2622d7-0x112;let _0x5edfa4=_0x2939f2[_0x2622d7];return _0x5edfa4;},_0x2622(_0xbdb85d,_0x1f895f);}import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x10ad30(0x123)]=null;['listener'];constructor(){const _0x143dbc=_0x10ad30;this[_0x143dbc(0x127)]=new BuddyListener();}['init'](_0xd497a2){const _0x2de1d9=_0x10ad30,_0x1322ab={'dvyXy':function(_0x1f05af,_0x4803a2){return _0x1f05af!==_0x4803a2;},'HNIGO':_0x2de1d9(0x112)};if(_0x1322ab['dvyXy'](this[_0x2de1d9(0x123)],null))throw new Error(_0x1322ab[_0x2de1d9(0x125)]);this['kernelService']=_0xd497a2,this[_0x2de1d9(0x127)]['onBuddyListChange']=_0x83a614=>{const _0xf5ff95=_0x2de1d9;for(const _0xf9ed97 of _0x83a614){for(const _0x1f8015 of _0xf9ed97['buddyList']){const _0x5a2271=friends[_0xf5ff95(0x11c)](_0x1f8015[_0xf5ff95(0x118)]);uid2UinMap[_0x1f8015[_0xf5ff95(0x118)]]=_0x1f8015[_0xf5ff95(0x11d)],_0x5a2271?Object['assign'](_0x5a2271,_0x1f8015):friends['set'](_0x1f8015['uid'],_0x1f8015);}}},this['kernelService'][_0x2de1d9(0x11f)](new _0x30cefa[(_0x2de1d9(0x124))](this['listener'])),this[_0x2de1d9(0x123)]['getBuddyList'](!![])[_0x2de1d9(0x119)](_0x29b05f=>{});}[_0x10ad30(0x122)](_0x51eb9c){const _0x54fd0e=_0x10ad30;this['kernelService']?.[_0x54fd0e(0x11f)](new _0x30cefa[(_0x54fd0e(0x124))](_0x51eb9c));}} \ No newline at end of file diff --git a/src/core.lib/src/service/group.js b/src/core.lib/src/service/group.js index 2f40c3f87..175d3f251 100644 --- a/src/core.lib/src/service/group.js +++ b/src/core.lib/src/service/group.js @@ -1 +1 @@ -function _0x56f1(){const _0x349cf0=['20pnsNUV','24WTeilR','78896czPiLE','listener','groupCode','infos','kRjeq','gIanV','addKernelGroupListener','set','20495gGVrRP','8388ugJFbr','forEach','getNextMemberList','378278EUMQER','assign','has','kernelService','8cDaAwO','then','get','addGroupListener','2511981MrnAgt','uin','NodeIKernelGroupListener','onMemberInfoChange','map','sceneId','GroupService\x20already\x20initialized!','11PAqPXX','5834930rLAbPd','2759897zwTZmz','init'];_0x56f1=function(){return _0x349cf0;};return _0x56f1();}function _0x1d93(_0x27e646,_0x10078f){const _0x56f179=_0x56f1();return _0x1d93=function(_0x1d933e,_0x91527e){_0x1d933e=_0x1d933e-0x1d2;let _0xc081e3=_0x56f179[_0x1d933e];return _0xc081e3;},_0x1d93(_0x27e646,_0x10078f);}const _0x34549d=_0x1d93;(function(_0x42e553,_0xcd53ff){const _0x4742c4=_0x1d93,_0x347213=_0x42e553();while(!![]){try{const _0xd25d08=parseInt(_0x4742c4(0x1f2))/0x1+parseInt(_0x4742c4(0x1e6))/0x2*(parseInt(_0x4742c4(0x1e5))/0x3)+parseInt(_0x4742c4(0x1e4))/0x4*(parseInt(_0x4742c4(0x1ee))/0x5)+parseInt(_0x4742c4(0x1ef))/0x6+parseInt(_0x4742c4(0x1e2))/0x7+-parseInt(_0x4742c4(0x1d5))/0x8*(parseInt(_0x4742c4(0x1d9))/0x9)+-parseInt(_0x4742c4(0x1e1))/0xa*(parseInt(_0x4742c4(0x1e0))/0xb);if(_0xd25d08===_0xcd53ff)break;else _0x347213['push'](_0x347213['shift']());}catch(_0x4737cb){_0x347213['push'](_0x347213['shift']());}}}(_0x56f1,0x3c680));import{Wrapper as _0xc786c3}from'../qqnt';import{GroupListener}from'../qqnt/listeners';import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{['kernelService']=null;['listener'];constructor(){this['listener']=new GroupListener();}[_0x34549d(0x1e3)](_0x4bec9b){const _0x28395c=_0x34549d,_0x122c9b={'kRjeq':'groupMemberList_MainWindow','gIanV':function(_0x5d9be5,_0x4a8568){return _0x5d9be5!==_0x4a8568;},'Ygpzc':_0x28395c(0x1df)};if(_0x122c9b[_0x28395c(0x1eb)](this[_0x28395c(0x1d4)],null))throw new Error(_0x122c9b['Ygpzc']);this[_0x28395c(0x1d4)]=_0x4bec9b,this[_0x28395c(0x1e7)]['onGroupListUpdate']=(_0x518260,_0x26070b)=>{const _0x4bb7a8=_0x28395c;_0x26070b[_0x4bb7a8(0x1dd)](_0x38109a=>{const _0x581a57=_0x4bb7a8,_0x26df8d=groups['get'](_0x38109a['groupCode']);if(_0x26df8d)Object[_0x581a57(0x1d2)](_0x26df8d,_0x38109a);else{groups[_0x581a57(0x1ed)](_0x38109a[_0x581a57(0x1e8)],_0x38109a);const _0x57bdd0=this[_0x581a57(0x1d4)]?.['createMemberListScene'](_0x38109a[_0x581a57(0x1e8)],_0x122c9b[_0x581a57(0x1ea)]);this[_0x581a57(0x1d4)]?.[_0x581a57(0x1f1)](_0x57bdd0,undefined,0xbb8)[_0x581a57(0x1d6)](_0x2cf9f1=>{});}});},this['listener']['onMemberListChange']=_0x433685=>{const _0xecc67d=_0x28395c,_0x45487f=_0x433685[_0xecc67d(0x1de)]['split']('_')[0x0];if(groupMembers[_0xecc67d(0x1d3)](_0x45487f)){const _0x4d7b9e=groupMembers[_0xecc67d(0x1d7)](_0x45487f);_0x433685[_0xecc67d(0x1e9)][_0xecc67d(0x1f0)]((_0x576765,_0x4e1cfa)=>{const _0x31aebf=_0xecc67d,_0xc4d8d2=_0x4d7b9e[_0x31aebf(0x1d7)](_0x4e1cfa);_0xc4d8d2?Object[_0x31aebf(0x1d2)](_0xc4d8d2,_0x576765):_0x4d7b9e[_0x31aebf(0x1ed)](_0x4e1cfa,_0x576765);});}else groupMembers['set'](_0x45487f,_0x433685['infos']);},this[_0x28395c(0x1e7)][_0x28395c(0x1dc)]=(_0x4675c4,_0x11ec8e,_0x2fe7e4)=>{const _0x108794=_0x28395c;_0x2fe7e4[_0x108794(0x1f0)]((_0x1f0de4,_0x365197)=>{const _0x504320=_0x108794;uid2UinMap[_0x365197]=_0x1f0de4[_0x504320(0x1da)];});const _0x585223=groupMembers[_0x108794(0x1d7)](_0x4675c4);_0x585223?_0x2fe7e4[_0x108794(0x1f0)]((_0xa4fcb4,_0x51511e)=>{const _0x2ffb44=_0x108794,_0x44cb83=_0x585223[_0x2ffb44(0x1d7)](_0x51511e);_0x44cb83?Object['assign'](_0x44cb83,_0xa4fcb4):_0x585223['set'](_0x51511e,_0xa4fcb4);}):groupMembers['set'](_0x4675c4,_0x2fe7e4);},this[_0x28395c(0x1d4)][_0x28395c(0x1ec)](new _0xc786c3[(_0x28395c(0x1db))](this[_0x28395c(0x1e7)]));}[_0x34549d(0x1d8)](_0x2b3c8a){const _0x5a2d21=_0x34549d;return this['kernelService']?.['addKernelGroupListener'](new _0xc786c3[(_0x5a2d21(0x1db))](_0x2b3c8a));}} \ No newline at end of file +const _0x272d4d=_0x4570;(function(_0x290c04,_0x306c5d){const _0x3eaa04=_0x4570,_0x19ec71=_0x290c04();while(!![]){try{const _0x42fd61=-parseInt(_0x3eaa04(0x1c7))/0x1+-parseInt(_0x3eaa04(0x1cf))/0x2*(-parseInt(_0x3eaa04(0x1e1))/0x3)+parseInt(_0x3eaa04(0x1d4))/0x4*(-parseInt(_0x3eaa04(0x1d7))/0x5)+parseInt(_0x3eaa04(0x1d8))/0x6+parseInt(_0x3eaa04(0x1db))/0x7*(-parseInt(_0x3eaa04(0x1d2))/0x8)+-parseInt(_0x3eaa04(0x1d5))/0x9*(parseInt(_0x3eaa04(0x1ca))/0xa)+parseInt(_0x3eaa04(0x1d3))/0xb;if(_0x42fd61===_0x306c5d)break;else _0x19ec71['push'](_0x19ec71['shift']());}catch(_0x453497){_0x19ec71['push'](_0x19ec71['shift']());}}}(_0x1e83,0x82547));import{Wrapper as _0x301f0d}from'../qqnt';import{GroupListener}from'../qqnt/listeners';function _0x4570(_0x319576,_0xefa420){const _0x1e833a=_0x1e83();return _0x4570=function(_0x4570d4,_0x705044){_0x4570d4=_0x4570d4-0x1c6;let _0x3e8181=_0x1e833a[_0x4570d4];return _0x3e8181;},_0x4570(_0x319576,_0xefa420);}function _0x1e83(){const _0x34cbdb=['addKernelGroupListener','4926453nwgLmG','get','NodeIKernelGroupListener','assign','onGroupListUpdate','uin','1402659pkMwwD','CPHRt','has','kernelService','forEach','416430zBvuNE','addGroupListener','onMemberInfoChange','26710tGoMaX','listener','infos','set','getNextMemberList','2lPQbVC','groupMemberList_MainWindow','groupCode','8oCaCZw','11971124DgfcpI','499616Iejgjr','2007HzlDYA','map','10lsAdtJ','5661864hDPimK','split'];_0x1e83=function(){return _0x34cbdb;};return _0x1e83();}import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x272d4d(0x1e4)]=null;[_0x272d4d(0x1cb)];constructor(){const _0x44d1d2=_0x272d4d;this[_0x44d1d2(0x1cb)]=new GroupListener();}['init'](_0x2e5d77){const _0x28c4b1=_0x272d4d,_0x14c109={'CPHRt':function(_0x3e6451,_0x4bdfb9){return _0x3e6451!==_0x4bdfb9;}};if(_0x14c109[_0x28c4b1(0x1e2)](this['kernelService'],null))throw new Error('GroupService\x20already\x20initialized!');this[_0x28c4b1(0x1e4)]=_0x2e5d77,this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1df)]=(_0x5875cb,_0xd8f4fa)=>{const _0x58b7c0=_0x28c4b1;_0xd8f4fa[_0x58b7c0(0x1d6)](_0x5a86be=>{const _0x30734d=_0x58b7c0,_0x15d0a4=groups[_0x30734d(0x1dc)](_0x5a86be[_0x30734d(0x1d1)]);if(_0x15d0a4)Object[_0x30734d(0x1de)](_0x15d0a4,_0x5a86be);else{groups['set'](_0x5a86be[_0x30734d(0x1d1)],_0x5a86be);const _0x36abff=this['kernelService']?.['createMemberListScene'](_0x5a86be[_0x30734d(0x1d1)],_0x30734d(0x1d0));this[_0x30734d(0x1e4)]?.[_0x30734d(0x1ce)](_0x36abff,undefined,0xbb8)['then'](_0x380338=>{});}});},this[_0x28c4b1(0x1cb)]['onMemberListChange']=_0x4df092=>{const _0x2e0dfb=_0x28c4b1,_0x58edf8=_0x4df092['sceneId'][_0x2e0dfb(0x1d9)]('_')[0x0];if(groupMembers[_0x2e0dfb(0x1e3)](_0x58edf8)){const _0x282b5f=groupMembers[_0x2e0dfb(0x1dc)](_0x58edf8);_0x4df092[_0x2e0dfb(0x1cc)]['forEach']((_0x519e85,_0x169583)=>{const _0x25dedd=_0x2e0dfb,_0x3f2d12=_0x282b5f[_0x25dedd(0x1dc)](_0x169583);_0x3f2d12?Object[_0x25dedd(0x1de)](_0x3f2d12,_0x519e85):_0x282b5f[_0x25dedd(0x1cd)](_0x169583,_0x519e85);});}else groupMembers['set'](_0x58edf8,_0x4df092[_0x2e0dfb(0x1cc)]);},this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1c9)]=(_0x423889,_0x37480a,_0x4a53f9)=>{const _0x334f9d=_0x28c4b1;_0x4a53f9[_0x334f9d(0x1c6)]((_0x28f00a,_0x311f90)=>{const _0x1c972a=_0x334f9d;uid2UinMap[_0x311f90]=_0x28f00a[_0x1c972a(0x1e0)];});const _0x361ce8=groupMembers[_0x334f9d(0x1dc)](_0x423889);_0x361ce8?_0x4a53f9[_0x334f9d(0x1c6)]((_0x4b3d2a,_0x23af3f)=>{const _0x22c54c=_0x334f9d,_0x4e16de=_0x361ce8[_0x22c54c(0x1dc)](_0x23af3f);_0x4e16de?Object['assign'](_0x4e16de,_0x4b3d2a):_0x361ce8[_0x22c54c(0x1cd)](_0x23af3f,_0x4b3d2a);}):groupMembers[_0x334f9d(0x1cd)](_0x423889,_0x4a53f9);},this[_0x28c4b1(0x1e4)][_0x28c4b1(0x1da)](new _0x301f0d['NodeIKernelGroupListener'](this[_0x28c4b1(0x1cb)]));}[_0x272d4d(0x1c8)](_0xd6ab4f){const _0x2a6a66=_0x272d4d;return this[_0x2a6a66(0x1e4)]?.[_0x2a6a66(0x1da)](new _0x301f0d[(_0x2a6a66(0x1dd))](_0xd6ab4f));}} \ No newline at end of file diff --git a/src/core.lib/src/service/index.js b/src/core.lib/src/service/index.js index a257fa517..db72bcbac 100644 --- a/src/core.lib/src/service/index.js +++ b/src/core.lib/src/service/index.js @@ -1 +1 @@ -const _0x2878ec=_0x41fa;(function(_0x348d83,_0x2195fc){const _0xe0c4de=_0x41fa,_0x1df2a7=_0x348d83();while(!![]){try{const _0x237216=parseInt(_0xe0c4de(0xe9))/0x1+-parseInt(_0xe0c4de(0x107))/0x2*(-parseInt(_0xe0c4de(0x101))/0x3)+parseInt(_0xe0c4de(0xf7))/0x4+-parseInt(_0xe0c4de(0xfb))/0x5*(parseInt(_0xe0c4de(0x100))/0x6)+-parseInt(_0xe0c4de(0xfe))/0x7*(parseInt(_0xe0c4de(0xe7))/0x8)+parseInt(_0xe0c4de(0xee))/0x9*(-parseInt(_0xe0c4de(0xe5))/0xa)+parseInt(_0xe0c4de(0xf9))/0xb*(parseInt(_0xe0c4de(0xef))/0xc);if(_0x237216===_0x2195fc)break;else _0x1df2a7['push'](_0x1df2a7['shift']());}catch(_0x1ba96e){_0x1df2a7['push'](_0x1df2a7['shift']());}}}(_0xa7f0,0x7f07b));import{NapCatCoreServiceMessage}from'./message';function _0xa7f0(){const _0x2ae149=['jDPkB','listener','rNopo','dYRKj','profile','1|4|0|2|3|5','117372hAPyMm','nmnEz','5970613EfAIBn','message.group','3016280QjFNVn','initListener','peerUin','77DHwPbN','emit','6slujIW','15LICixE','init','core','group','FRQZx','isInit','4188RYkPAe','profileLike','1718110GYOhSE','message','230696TCmMQH','buddy','1029993eDFjOQ','4|1|7|3|0|5|2|6','senderUin','msg','message.private','9ynmOsg','12yJuWpY','Services\x20already\x20initialized!'];_0xa7f0=function(){return _0x2ae149;};return _0xa7f0();}import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';import{NapCatCoreServiceProfile}from'./profile';function _0x41fa(_0xb43f96,_0x5452d2){const _0xa7f0bf=_0xa7f0();return _0x41fa=function(_0x41fac7,_0x1a0efe){_0x41fac7=_0x41fac7-0xe4;let _0xd09d7f=_0xa7f0bf[_0x41fac7];return _0xd09d7f;},_0x41fa(_0xb43f96,_0x5452d2);}import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x2878ec(0x106)]=![];[_0x2878ec(0x103)];[_0x2878ec(0xec)];[_0x2878ec(0x104)];[_0x2878ec(0xe8)];['profile'];[_0x2878ec(0xe4)];constructor(_0x255794){const _0x4c90f9=_0x2878ec,_0x4ba2ee={'dYRKj':_0x4c90f9(0xf6)},_0x186ef7=_0x4ba2ee[_0x4c90f9(0xf4)]['split']('|');let _0xd8635b=0x0;while(!![]){switch(_0x186ef7[_0xd8635b++]){case'0':this[_0x4c90f9(0x104)]=new NapCatCoreServiceGroup();continue;case'1':this[_0x4c90f9(0x103)]=_0x255794;continue;case'2':this['buddy']=new NapCatCoreServiceBuddy();continue;case'3':this[_0x4c90f9(0xf5)]=new NapCatCoreServiceProfile();continue;case'4':this[_0x4c90f9(0xec)]=new NapCatCoreServiceMessage();continue;case'5':this[_0x4c90f9(0xe4)]=new NapCatCoreServiceProfileLike();continue;}break;}}[_0x2878ec(0x102)](_0x23bb6c,_0x509b5a,_0x1f6be1,_0x329f00,_0x585583){const _0x5e83b4=_0x2878ec,_0x2381a8={'nmnEz':_0x5e83b4(0xea),'FRQZx':_0x5e83b4(0xf0)},_0x5ddbc5=_0x2381a8[_0x5e83b4(0xf8)]['split']('|');let _0x300258=0x0;while(!![]){switch(_0x5ddbc5[_0x300258++]){case'0':this['profile'][_0x5e83b4(0x102)](_0x329f00);continue;case'1':this[_0x5e83b4(0xec)][_0x5e83b4(0x102)](_0x23bb6c);continue;case'2':this[_0x5e83b4(0xfc)]();continue;case'3':this['buddy']['init'](_0x1f6be1);continue;case'4':if(this[_0x5e83b4(0x106)])throw new Error(_0x2381a8[_0x5e83b4(0x105)]);continue;case'5':this[_0x5e83b4(0xe4)][_0x5e83b4(0x102)](_0x585583);continue;case'6':this[_0x5e83b4(0x106)]=!![];continue;case'7':this['group'][_0x5e83b4(0x102)](_0x509b5a);continue;}break;}}[_0x2878ec(0xfc)](){const _0xdd373b=_0x2878ec,_0x3ef36a={'rNopo':_0xdd373b(0xfa),'jDPkB':_0xdd373b(0xed)};this[_0xdd373b(0xec)][_0xdd373b(0xf2)]['onRecvMsg']=_0x15b1a0=>{const _0x3c8152=_0xdd373b;for(const _0x1f8d55 of _0x15b1a0){this['core'][_0x3c8152(0xff)](_0x3c8152(0xe6),_0x1f8d55);if(_0x1f8d55[_0x3c8152(0xfd)]!==_0x1f8d55[_0x3c8152(0xeb)])this[_0x3c8152(0x103)]['emit'](_0x3ef36a[_0x3c8152(0xf3)],_0x1f8d55);else this['core']['emit'](_0x3ef36a[_0x3c8152(0xf1)],_0x1f8d55);}};}} \ No newline at end of file +function _0x11dc(_0x50104e,_0x3706e9){const _0x134182=_0x1341();return _0x11dc=function(_0x11dc7a,_0x3517f4){_0x11dc7a=_0x11dc7a-0x1df;let _0x114035=_0x134182[_0x11dc7a];return _0x114035;},_0x11dc(_0x50104e,_0x3706e9);}const _0x557aae=_0x11dc;(function(_0x127897,_0x46229d){const _0x1a5392=_0x11dc,_0x292b83=_0x127897();while(!![]){try{const _0x18363b=-parseInt(_0x1a5392(0x1df))/0x1+parseInt(_0x1a5392(0x1e1))/0x2+parseInt(_0x1a5392(0x1f0))/0x3+parseInt(_0x1a5392(0x1f8))/0x4+-parseInt(_0x1a5392(0x1e2))/0x5+-parseInt(_0x1a5392(0x1f4))/0x6*(parseInt(_0x1a5392(0x1fd))/0x7)+-parseInt(_0x1a5392(0x1e8))/0x8*(parseInt(_0x1a5392(0x1fb))/0x9);if(_0x18363b===_0x46229d)break;else _0x292b83['push'](_0x292b83['shift']());}catch(_0x3e93b4){_0x292b83['push'](_0x292b83['shift']());}}}(_0x1341,0xd2f70));import{NapCatCoreServiceMessage}from'./message';function _0x1341(){const _0x45619e=['2|4|0|1|3|5','message','kArFp','3544baWHzj','init','0|2|6|3|1|7|5|4','MCMlq','PspRS','message.private','initListener','message.group','1087317hldQWc','ISYJC','listener','Services\x20already\x20initialized!','173892pbDRpe','group','emit','hWgnQ','3400372VlndrL','profileLike','onRecvMsg','1017PTgrNy','core','77Heuphz','isInit','buddy','msg','1174813hdVZVw','peerUin','3020824CKxlRi','1575790QxWkBl','split','profile'];_0x1341=function(){return _0x45619e;};return _0x1341();}import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';import{NapCatCoreServiceProfile}from'./profile';import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x557aae(0x1fe)]=![];[_0x557aae(0x1fc)];[_0x557aae(0x200)];[_0x557aae(0x1f5)];[_0x557aae(0x1ff)];[_0x557aae(0x1e4)];[_0x557aae(0x1f9)];constructor(_0x3fa007){const _0x4e2e7d=_0x557aae,_0x424dcc={'XNnAD':_0x4e2e7d(0x1e5)},_0x58c1e5=_0x424dcc['XNnAD'][_0x4e2e7d(0x1e3)]('|');let _0x505c3a=0x0;while(!![]){switch(_0x58c1e5[_0x505c3a++]){case'0':this[_0x4e2e7d(0x1f5)]=new NapCatCoreServiceGroup();continue;case'1':this['buddy']=new NapCatCoreServiceBuddy();continue;case'2':this[_0x4e2e7d(0x1fc)]=_0x3fa007;continue;case'3':this['profile']=new NapCatCoreServiceProfile();continue;case'4':this[_0x4e2e7d(0x200)]=new NapCatCoreServiceMessage();continue;case'5':this[_0x4e2e7d(0x1f9)]=new NapCatCoreServiceProfileLike();continue;}break;}}['init'](_0x45f259,_0x572b44,_0x2b11b8,_0x4c74e6,_0x1c9b3a){const _0x247132=_0x557aae,_0x240b83={'kArFp':_0x247132(0x1f3)},_0x3e7ed1=_0x247132(0x1ea)[_0x247132(0x1e3)]('|');let _0x5e5034=0x0;while(!![]){switch(_0x3e7ed1[_0x5e5034++]){case'0':if(this[_0x247132(0x1fe)])throw new Error(_0x240b83[_0x247132(0x1e7)]);continue;case'1':this['profile'][_0x247132(0x1e9)](_0x4c74e6);continue;case'2':this[_0x247132(0x200)][_0x247132(0x1e9)](_0x45f259);continue;case'3':this[_0x247132(0x1ff)][_0x247132(0x1e9)](_0x2b11b8);continue;case'4':this[_0x247132(0x1fe)]=!![];continue;case'5':this[_0x247132(0x1ee)]();continue;case'6':this['group']['init'](_0x572b44);continue;case'7':this[_0x247132(0x1f9)][_0x247132(0x1e9)](_0x1c9b3a);continue;}break;}}['initListener'](){const _0x37d363=_0x557aae,_0x27616b={'PspRS':_0x37d363(0x1e6),'ISYJC':function(_0x177c7a,_0x202048){return _0x177c7a!==_0x202048;},'MCMlq':_0x37d363(0x1ef),'hWgnQ':_0x37d363(0x1ed)};this[_0x37d363(0x200)][_0x37d363(0x1f2)][_0x37d363(0x1fa)]=_0x3873ed=>{const _0x10b90e=_0x37d363;for(const _0x5aaa82 of _0x3873ed){this[_0x10b90e(0x1fc)][_0x10b90e(0x1f6)](_0x27616b[_0x10b90e(0x1ec)],_0x5aaa82);if(_0x27616b[_0x10b90e(0x1f1)](_0x5aaa82[_0x10b90e(0x1e0)],_0x5aaa82['senderUin']))this[_0x10b90e(0x1fc)][_0x10b90e(0x1f6)](_0x27616b[_0x10b90e(0x1eb)],_0x5aaa82);else this[_0x10b90e(0x1fc)]['emit'](_0x27616b[_0x10b90e(0x1f7)],_0x5aaa82);}};}} \ No newline at end of file diff --git a/src/core.lib/src/service/message.js b/src/core.lib/src/service/message.js index 34aacf2ae..9b4ee0994 100644 --- a/src/core.lib/src/service/message.js +++ b/src/core.lib/src/service/message.js @@ -1 +1 @@ -var _0x577b4e=_0x141b;function _0x46d7(){var _0x1ffdaf=['onMsgInfoListUpdate','55284jDbXah','1465830lACHOH','addMsg','LFvFZ','catch','6307nhiHOJ','NodeIKernelMsgListener','1048aHDJFO','15590ujUhQm','then','addMsgListener','listener','MessageService\x20already\x20initialized!','kernelService','init','3864933ANTYem','160dzajSJ','updateMsg','recallTime','101918mHSbej','487641Pcwnjv','map','getMsgByLongId','addKernelMsgListener'];_0x46d7=function(){return _0x1ffdaf;};return _0x46d7();}function _0x141b(_0x2b1922,_0x32ad1b){var _0x46d765=_0x46d7();return _0x141b=function(_0x141ba8,_0x1cb1d6){_0x141ba8=_0x141ba8-0x164;var _0x2985a2=_0x46d765[_0x141ba8];return _0x2985a2;},_0x141b(_0x2b1922,_0x32ad1b);}(function(_0x3204f5,_0xe348be){var _0x427473=_0x141b,_0x800710=_0x3204f5();while(!![]){try{var _0x161bd2=-parseInt(_0x427473(0x170))/0x1+-parseInt(_0x427473(0x16a))/0x2+-parseInt(_0x427473(0x16b))/0x3+-parseInt(_0x427473(0x167))/0x4*(parseInt(_0x427473(0x178))/0x5)+parseInt(_0x427473(0x171))/0x6+-parseInt(_0x427473(0x175))/0x7*(parseInt(_0x427473(0x177))/0x8)+parseInt(_0x427473(0x166))/0x9;if(_0x161bd2===_0xe348be)break;else _0x800710['push'](_0x800710['shift']());}catch(_0x67d0f9){_0x800710['push'](_0x800710['shift']());}}}(_0x46d7,0x27999));import{Wrapper as _0x2ea011}from'../qqnt';import{MsgListener}from'../qqnt/listeners';import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0x577b4e(0x164)]=null;[_0x577b4e(0x17b)];constructor(){var _0xb74c2e=_0x577b4e,_0x435b9c={'LFvFZ':function(_0x48aba4,_0x2c764a){return _0x48aba4===_0x2c764a;}};this[_0xb74c2e(0x17b)]=new MsgListener(),this[_0xb74c2e(0x17b)][_0xb74c2e(0x16f)]=_0x22c926=>{var _0x1982b4=_0xb74c2e;_0x22c926[_0x1982b4(0x16c)](_0x9aa8da=>{var _0x441e16=_0x1982b4;_0x435b9c[_0x441e16(0x173)](_0x9aa8da[_0x441e16(0x169)],'0')?dbUtil[_0x441e16(0x172)](_0x9aa8da)['then']()[_0x441e16(0x174)]():dbUtil[_0x441e16(0x16d)](_0x9aa8da['msgId'])[_0x441e16(0x179)](_0x534eef=>{var _0x1d630a=_0x441e16;_0x534eef&&(_0x534eef[_0x1d630a(0x169)]=_0x9aa8da[_0x1d630a(0x169)],dbUtil[_0x1d630a(0x168)](_0x534eef)[_0x1d630a(0x179)]());});});};}[_0x577b4e(0x165)](_0x264dcc){var _0x517672=_0x577b4e,_0x54d979={'rxmyQ':function(_0x49f5a7,_0x1ca819){return _0x49f5a7!==_0x1ca819;}};if(_0x54d979['rxmyQ'](this[_0x517672(0x164)],null))throw new Error(_0x517672(0x17c));this[_0x517672(0x164)]=_0x264dcc,this[_0x517672(0x164)][_0x517672(0x16e)](new _0x2ea011[(_0x517672(0x176))](this[_0x517672(0x17b)]));}[_0x577b4e(0x17a)](_0x137954){var _0x2f1680=_0x577b4e;return this[_0x2f1680(0x164)]?.['addKernelMsgListener'](new _0x2ea011[(_0x2f1680(0x176))](_0x137954));}} \ No newline at end of file +var _0x56d664=_0xb439;function _0xb439(_0x4b0269,_0x1d12d3){var _0x151a08=_0x151a();return _0xb439=function(_0xb439d4,_0x2bd608){_0xb439d4=_0xb439d4-0xac;var _0x3c5897=_0x151a08[_0xb439d4];return _0x3c5897;},_0xb439(_0x4b0269,_0x1d12d3);}(function(_0x18a7f9,_0x45c875){var _0x55786e=_0xb439,_0xf30b83=_0x18a7f9();while(!![]){try{var _0x414d43=-parseInt(_0x55786e(0xb8))/0x1*(parseInt(_0x55786e(0xb4))/0x2)+-parseInt(_0x55786e(0xb0))/0x3*(parseInt(_0x55786e(0xaf))/0x4)+-parseInt(_0x55786e(0xbe))/0x5+-parseInt(_0x55786e(0xb1))/0x6+-parseInt(_0x55786e(0xc3))/0x7*(parseInt(_0x55786e(0xbc))/0x8)+parseInt(_0x55786e(0xac))/0x9*(-parseInt(_0x55786e(0xbb))/0xa)+parseInt(_0x55786e(0xb7))/0xb;if(_0x414d43===_0x45c875)break;else _0xf30b83['push'](_0xf30b83['shift']());}catch(_0x25300b){_0xf30b83['push'](_0xf30b83['shift']());}}}(_0x151a,0x7e5bc));import{Wrapper as _0x394653}from'../qqnt';import{MsgListener}from'../qqnt/listeners';function _0x151a(){var _0x13a044=['onMsgInfoListUpdate','init','2956DEReFa','2274skipKU','3044508LMSKjQ','listener','kernelService','4pbiHjh','addMsg','yolVj','39112590dEOJyF','351539iKOVAy','getMsgByLongId','NodeIKernelMsgListener','2740wcuQUm','8pGocML','map','974115PlcgYC','recallTime','catch','msgId','updateMsg','1589567wicvHx','then','27774yHWCgl'];_0x151a=function(){return _0x13a044;};return _0x151a();}import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0x56d664(0xb3)]=null;[_0x56d664(0xb2)];constructor(){var _0x50b426=_0x56d664,_0x20785b={'htHiz':function(_0x4a27d8,_0x222c8c){return _0x4a27d8===_0x222c8c;}};this[_0x50b426(0xb2)]=new MsgListener(),this[_0x50b426(0xb2)][_0x50b426(0xad)]=_0x1c3a32=>{var _0x30f16e=_0x50b426;_0x1c3a32[_0x30f16e(0xbd)](_0x33793b=>{var _0x37cc5d=_0x30f16e;_0x20785b['htHiz'](_0x33793b[_0x37cc5d(0xbf)],'0')?dbUtil[_0x37cc5d(0xb5)](_0x33793b)[_0x37cc5d(0xc4)]()[_0x37cc5d(0xc0)]():dbUtil[_0x37cc5d(0xb9)](_0x33793b[_0x37cc5d(0xc1)])[_0x37cc5d(0xc4)](_0x36ec59=>{var _0x19796a=_0x37cc5d;_0x36ec59&&(_0x36ec59['recallTime']=_0x33793b['recallTime'],dbUtil[_0x19796a(0xc2)](_0x36ec59)[_0x19796a(0xc4)]());});});};}[_0x56d664(0xae)](_0xee3e6e){var _0x48a0d1=_0x56d664,_0x1b363f={'usTYA':function(_0x59aa08,_0x25f732){return _0x59aa08!==_0x25f732;},'yolVj':'MessageService\x20already\x20initialized!'};if(_0x1b363f['usTYA'](this[_0x48a0d1(0xb3)],null))throw new Error(_0x1b363f[_0x48a0d1(0xb6)]);this[_0x48a0d1(0xb3)]=_0xee3e6e,this[_0x48a0d1(0xb3)]['addKernelMsgListener'](new _0x394653[(_0x48a0d1(0xba))](this['listener']));}['addMsgListener'](_0x388d81){var _0x5d044e=_0x56d664;return this['kernelService']?.['addKernelMsgListener'](new _0x394653[(_0x5d044e(0xba))](_0x388d81));}} \ No newline at end of file diff --git a/src/core.lib/src/service/profile.js b/src/core.lib/src/service/profile.js index cc25561a4..564e3b25c 100644 --- a/src/core.lib/src/service/profile.js +++ b/src/core.lib/src/service/profile.js @@ -1 +1 @@ -function _0x20e5(){var _0x30845f=['10eEajjB','512553kalFPZ','addKernelProfileListener','assign','getUserDetailInfoWithBizInfo','ProfileService\x20already\x20initialized!','3998466NjIjOG','754185NsAIBJ','listener','2466236buLwno','1172640wqgOoK','24GkWiZr','init','686007ylzLYk','zaLOf','16WHoOvW','uid','NodeIKernelProfileListener','onProfileDetailInfoChanged','kernelService','cQrEX','peyiQ','2226270IjJOVl'];_0x20e5=function(){return _0x30845f;};return _0x20e5();}var _0x4cd600=_0x34cb;(function(_0x4286e8,_0x383a44){var _0x182fa5=_0x34cb,_0x4f7919=_0x4286e8();while(!![]){try{var _0x40ce2c=-parseInt(_0x182fa5(0x1a1))/0x1+parseInt(_0x182fa5(0x1a3))/0x2+-parseInt(_0x182fa5(0x19b))/0x3*(-parseInt(_0x182fa5(0x1a9))/0x4)+parseInt(_0x182fa5(0x199))/0x5+parseInt(_0x182fa5(0x1a5))/0x6*(-parseInt(_0x182fa5(0x1a7))/0x7)+-parseInt(_0x182fa5(0x1a4))/0x8+parseInt(_0x182fa5(0x1a0))/0x9*(-parseInt(_0x182fa5(0x19a))/0xa);if(_0x40ce2c===_0x383a44)break;else _0x4f7919['push'](_0x4f7919['shift']());}catch(_0x1bc553){_0x4f7919['push'](_0x4f7919['shift']());}}}(_0x20e5,0x9885d));import{Wrapper as _0x40cc64}from'../qqnt';import{ProfileListener}from'../qqnt/listeners';import{selfInfo}from'@/common/data';function _0x34cb(_0x32e553,_0x5d097f){var _0x20e560=_0x20e5();return _0x34cb=function(_0x34cbe8,_0x3a2073){_0x34cbe8=_0x34cbe8-0x194;var _0x3a51bb=_0x20e560[_0x34cbe8];return _0x3a51bb;},_0x34cb(_0x32e553,_0x5d097f);}export class NapCatCoreServiceProfile{[_0x4cd600(0x196)]=null;[_0x4cd600(0x1a2)];constructor(){var _0x31d742=_0x4cd600,_0x596b81={'peyiQ':function(_0x8881cf,_0x4d0a39){return _0x8881cf===_0x4d0a39;}};this['listener']=new ProfileListener(),this[_0x31d742(0x1a2)][_0x31d742(0x195)]=_0x22fe64=>{var _0x2b9b70=_0x31d742;_0x596b81[_0x2b9b70(0x198)](_0x22fe64['uid'],selfInfo[_0x2b9b70(0x1aa)])&&Object[_0x2b9b70(0x19d)](selfInfo,_0x22fe64);};}[_0x4cd600(0x1a6)](_0xb001a5){var _0x358cfc=_0x4cd600,_0x143664={'cQrEX':function(_0x44903b,_0x535843){return _0x44903b!==_0x535843;},'zaLOf':_0x358cfc(0x19f)};if(_0x143664[_0x358cfc(0x197)](this['kernelService'],null))throw new Error(_0x143664[_0x358cfc(0x1a8)]);this['kernelService']=_0xb001a5,this[_0x358cfc(0x196)][_0x358cfc(0x19c)](new _0x40cc64[(_0x358cfc(0x194))](this[_0x358cfc(0x1a2)])),this[_0x358cfc(0x196)][_0x358cfc(0x19e)](selfInfo[_0x358cfc(0x1aa)],[0x1,0x0]);}['addProfileListener'](_0x49fc31){var _0x39ee73=_0x4cd600;return this['kernelService']?.[_0x39ee73(0x19c)](new _0x40cc64[(_0x39ee73(0x194))](_0x49fc31));}} \ No newline at end of file +var _0x1b44f5=_0x2d7f;(function(_0x1087af,_0x1e0a58){var _0x4005bb=_0x2d7f,_0x384e41=_0x1087af();while(!![]){try{var _0x1ca714=parseInt(_0x4005bb(0x167))/0x1+parseInt(_0x4005bb(0x15e))/0x2*(-parseInt(_0x4005bb(0x15c))/0x3)+parseInt(_0x4005bb(0x159))/0x4+parseInt(_0x4005bb(0x162))/0x5*(parseInt(_0x4005bb(0x165))/0x6)+-parseInt(_0x4005bb(0x156))/0x7+parseInt(_0x4005bb(0x166))/0x8+-parseInt(_0x4005bb(0x158))/0x9*(parseInt(_0x4005bb(0x160))/0xa);if(_0x1ca714===_0x1e0a58)break;else _0x384e41['push'](_0x384e41['shift']());}catch(_0x7134d7){_0x384e41['push'](_0x384e41['shift']());}}}(_0x573f,0x537af));function _0x2d7f(_0x536c51,_0x3110c){var _0x573f2b=_0x573f();return _0x2d7f=function(_0x2d7f53,_0x352421){_0x2d7f53=_0x2d7f53-0x155;var _0x5c1fd8=_0x573f2b[_0x2d7f53];return _0x5c1fd8;},_0x2d7f(_0x536c51,_0x3110c);}import{Wrapper as _0x167c6e}from'../qqnt';import{ProfileListener}from'../qqnt/listeners';function _0x573f(){var _0x1826b1=['379336rSCDNT','assign','2373007xVTxpy','WrLMa','9MtmgwD','2195140iykmBt','listener','NodeIKernelProfileListener','1194jGFIDe','kernelService','916vWeBqs','uid','12411260zTHcEv','addProfileListener','5yjwnlS','ProfileService\x20already\x20initialized!','init','3921648ZThcyz','4180936ksVWyc'];_0x573f=function(){return _0x1826b1;};return _0x573f();}import{selfInfo}from'@/common/data';export class NapCatCoreServiceProfile{[_0x1b44f5(0x15d)]=null;['listener'];constructor(){var _0x1be5a2=_0x1b44f5,_0x5a55a4={'xVpBT':function(_0x2871d7,_0xc68045){return _0x2871d7===_0xc68045;}};this[_0x1be5a2(0x15a)]=new ProfileListener(),this[_0x1be5a2(0x15a)]['onProfileDetailInfoChanged']=_0x3f38d3=>{var _0x4c2bd6=_0x1be5a2;_0x5a55a4['xVpBT'](_0x3f38d3[_0x4c2bd6(0x15f)],selfInfo['uid'])&&Object[_0x4c2bd6(0x155)](selfInfo,_0x3f38d3);};}[_0x1b44f5(0x164)](_0x5eea3f){var _0x49c7c5=_0x1b44f5,_0x4d9481={'WrLMa':_0x49c7c5(0x163)};if(this['kernelService']!==null)throw new Error(_0x4d9481[_0x49c7c5(0x157)]);this[_0x49c7c5(0x15d)]=_0x5eea3f,this['kernelService']['addKernelProfileListener'](new _0x167c6e[(_0x49c7c5(0x15b))](this[_0x49c7c5(0x15a)])),this[_0x49c7c5(0x15d)]['getUserDetailInfoWithBizInfo'](selfInfo[_0x49c7c5(0x15f)],[0x1,0x0]);}[_0x1b44f5(0x161)](_0x2badd8){var _0x19a1df=_0x1b44f5;return this[_0x19a1df(0x15d)]?.['addKernelProfileListener'](new _0x167c6e[(_0x19a1df(0x15b))](_0x2badd8));}} \ No newline at end of file diff --git a/src/core.lib/src/service/profileLike.js b/src/core.lib/src/service/profileLike.js index ae6a04d15..4686bcc89 100644 --- a/src/core.lib/src/service/profileLike.js +++ b/src/core.lib/src/service/profileLike.js @@ -1 +1 @@ -(function(_0x4ba3b2,_0x5ec200){var _0x41cde7=_0x3585,_0x3520ca=_0x4ba3b2();while(!![]){try{var _0x277fe6=-parseInt(_0x41cde7(0x1c6))/0x1+parseInt(_0x41cde7(0x1cb))/0x2*(parseInt(_0x41cde7(0x1bf))/0x3)+parseInt(_0x41cde7(0x1c8))/0x4+parseInt(_0x41cde7(0x1cc))/0x5*(parseInt(_0x41cde7(0x1ca))/0x6)+-parseInt(_0x41cde7(0x1c9))/0x7*(parseInt(_0x41cde7(0x1c2))/0x8)+parseInt(_0x41cde7(0x1c7))/0x9+parseInt(_0x41cde7(0x1c3))/0xa*(-parseInt(_0x41cde7(0x1c5))/0xb);if(_0x277fe6===_0x5ec200)break;else _0x3520ca['push'](_0x3520ca['shift']());}catch(_0x10e883){_0x3520ca['push'](_0x3520ca['shift']());}}}(_0x4bf7,0x4210a));function _0x3585(_0x38d122,_0x16ba66){var _0x4bf7d2=_0x4bf7();return _0x3585=function(_0x358564,_0x15aafc){_0x358564=_0x358564-0x1bf;var _0x48d65d=_0x4bf7d2[_0x358564];return _0x48d65d;},_0x3585(_0x38d122,_0x16ba66);}export class NapCatCoreServiceProfileLike{['kernelService']=null;['init'](_0x49796a){var _0x3dde66=_0x3585,_0x436e87={'tiwRk':function(_0x2ee822,_0x5e7d3c){return _0x2ee822!==_0x5e7d3c;}};if(_0x436e87[_0x3dde66(0x1c0)](this[_0x3dde66(0x1c1)],null))throw new Error(_0x3dde66(0x1c4));this[_0x3dde66(0x1c1)]=_0x49796a;}}function _0x4bf7(){var _0x298820=['108764GmwllL','45llygjz','27PWtqXL','tiwRk','kernelService','112Dmailb','6491590xhScdk','ProfileLikeService\x20already\x20initialized!','11iVvFQh','50326ZacIDS','1075140tFeeRM','1328048Zxqvya','150899rlWuqg','220650XworeK'];_0x4bf7=function(){return _0x298820;};return _0x4bf7();} \ No newline at end of file +var _0x2b5f19=_0x304a;function _0x304a(_0x298e54,_0x40e845){var _0x280c8e=_0x280c();return _0x304a=function(_0x304a73,_0x1749f3){_0x304a73=_0x304a73-0xdf;var _0x515b60=_0x280c8e[_0x304a73];return _0x515b60;},_0x304a(_0x298e54,_0x40e845);}(function(_0x470ed2,_0x109d09){var _0x1223cb=_0x304a,_0x50df05=_0x470ed2();while(!![]){try{var _0x1602ce=-parseInt(_0x1223cb(0xe5))/0x1+parseInt(_0x1223cb(0xdf))/0x2*(-parseInt(_0x1223cb(0xe9))/0x3)+parseInt(_0x1223cb(0xe6))/0x4*(parseInt(_0x1223cb(0xe8))/0x5)+-parseInt(_0x1223cb(0xe4))/0x6*(parseInt(_0x1223cb(0xeb))/0x7)+parseInt(_0x1223cb(0xe7))/0x8+parseInt(_0x1223cb(0xed))/0x9*(-parseInt(_0x1223cb(0xec))/0xa)+parseInt(_0x1223cb(0xee))/0xb;if(_0x1602ce===_0x109d09)break;else _0x50df05['push'](_0x50df05['shift']());}catch(_0x3e56c1){_0x50df05['push'](_0x50df05['shift']());}}}(_0x280c,0x772b2));function _0x280c(){var _0x54b117=['5uuiPMc','2878278BMZKro','ProfileLikeService\x20already\x20initialized!','5858657ucLKgp','601670aeGgEa','9etKXna','13326203MfMOKZ','2qBzTSu','kernelService','AdsjD','WNFLl','init','6FcPePK','236365jsSrJC','1976752Ujsbzw','7002896NxjnQD'];_0x280c=function(){return _0x54b117;};return _0x280c();}export class NapCatCoreServiceProfileLike{[_0x2b5f19(0xe0)]=null;[_0x2b5f19(0xe3)](_0x3786bf){var _0x383d15=_0x2b5f19,_0x91b517={'AdsjD':function(_0x151822,_0x270f89){return _0x151822!==_0x270f89;},'WNFLl':_0x383d15(0xea)};if(_0x91b517[_0x383d15(0xe1)](this[_0x383d15(0xe0)],null))throw new Error(_0x91b517[_0x383d15(0xe2)]);this[_0x383d15(0xe0)]=_0x3786bf;}} \ No newline at end of file diff --git a/src/core.lib/src/session.js b/src/core.lib/src/session.js index c8aee5ee9..65ac2b8b9 100644 --- a/src/core.lib/src/session.js +++ b/src/core.lib/src/session.js @@ -1 +1 @@ -const _0x374053=_0x1ac8;(function(_0x437b73,_0x43bc78){const _0x1d7cd3=_0x1ac8,_0x454e6d=_0x437b73();while(!![]){try{const _0x59cbb8=parseInt(_0x1d7cd3(0x1f9))/0x1*(-parseInt(_0x1d7cd3(0x1f3))/0x2)+-parseInt(_0x1d7cd3(0x1ed))/0x3+parseInt(_0x1d7cd3(0x1f4))/0x4+-parseInt(_0x1d7cd3(0x1fb))/0x5*(parseInt(_0x1d7cd3(0x1e8))/0x6)+-parseInt(_0x1d7cd3(0x1ee))/0x7*(-parseInt(_0x1d7cd3(0x1f5))/0x8)+-parseInt(_0x1d7cd3(0x1f6))/0x9*(-parseInt(_0x1d7cd3(0x1f0))/0xa)+parseInt(_0x1d7cd3(0x1fc))/0xb*(parseInt(_0x1d7cd3(0x1fa))/0xc);if(_0x59cbb8===_0x43bc78)break;else _0x454e6d['push'](_0x454e6d['shift']());}catch(_0x9cd62f){_0x454e6d['push'](_0x454e6d['shift']());}}}(_0x25a0,0x1d568));function _0x1ac8(_0xa5766e,_0x261326){const _0x25a0a1=_0x25a0();return _0x1ac8=function(_0x1ac8d4,_0x183d05){_0x1ac8d4=_0x1ac8d4-0x1e5;let _0x2e4528=_0x25a0a1[_0x1ac8d4];return _0x2e4528;},_0x1ac8(_0xa5766e,_0x261326);}import{Wrapper as _0x5bde63}from'./qqnt';function _0x25a0(){const _0x288485=['46560IiFpKO','12RZBJpi','60EKWexc','1039841fPenLV','NodeIQQNTWrapperSession','init','startNT','87666NhKPme','hJxAv','NodeIDispatcherAdapter','NodeIDependsAdapter','wrapper','320448kfwPip','63NdStFy','error','182170kwsRQj','onSessionInitComplete','qoDDM','2jYRdSi','347156XrSVvC','27320joOSRl','117NMxdRR','init\x20failed','NodeIKernelSessionListener'];_0x25a0=function(){return _0x288485;};return _0x25a0();}import{genSessionConfig}from'./qqnt/sessionConfig';import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x374053(0x1ec)];['listener'];constructor(){const _0x637756=_0x374053;this[_0x637756(0x1ec)]=new _0x5bde63[(_0x637756(0x1e5))](),this['listener']=new SessionListener();}[_0x374053(0x1e6)](_0x4e8f44,_0x4246d8,_0x19b79f){const _0x413bdf={'hJxAv':function(_0x49ed16,_0x334fd5){return _0x49ed16(_0x334fd5);},'qoDDM':function(_0x518aaa,_0x41349d){return _0x518aaa(_0x41349d);}};return new Promise((_0x3dea21,_0x3bebda)=>{const _0x56ce8f=_0x1ac8,_0x3867ec=genSessionConfig(_0x4e8f44,_0x4246d8,_0x19b79f);this['listener'][_0x56ce8f(0x1f1)]=_0x3a4034=>{const _0x2f1ac2=_0x56ce8f;if(_0x3a4034===0x0)return _0x413bdf[_0x2f1ac2(0x1e9)](_0x3dea21,0x0);_0x413bdf[_0x2f1ac2(0x1f2)](_0x3bebda,_0x3a4034);},this[_0x56ce8f(0x1ec)][_0x56ce8f(0x1e6)](_0x3867ec,new _0x5bde63[(_0x56ce8f(0x1eb))](new DependsAdapter()),new _0x5bde63[(_0x56ce8f(0x1ea))](new DispatcherAdapter()),new _0x5bde63[(_0x56ce8f(0x1f8))](this['listener']));try{this['wrapper'][_0x56ce8f(0x1e7)](0x0);}catch(_0x4bdcc3){try{this[_0x56ce8f(0x1ec)][_0x56ce8f(0x1e7)]();}catch(_0x5415a5){console[_0x56ce8f(0x1ef)](_0x56ce8f(0x1f7),_0x5415a5);}}});}} \ No newline at end of file +const _0x4dc7b9=_0x4e84;(function(_0x2a145f,_0x4972ff){const _0x1f1170=_0x4e84,_0xc2b501=_0x2a145f();while(!![]){try{const _0x4704dd=parseInt(_0x1f1170(0x169))/0x1*(-parseInt(_0x1f1170(0x167))/0x2)+parseInt(_0x1f1170(0x173))/0x3+parseInt(_0x1f1170(0x179))/0x4*(-parseInt(_0x1f1170(0x170))/0x5)+-parseInt(_0x1f1170(0x17e))/0x6*(parseInt(_0x1f1170(0x17a))/0x7)+parseInt(_0x1f1170(0x177))/0x8*(parseInt(_0x1f1170(0x178))/0x9)+parseInt(_0x1f1170(0x17d))/0xa*(-parseInt(_0x1f1170(0x16d))/0xb)+parseInt(_0x1f1170(0x168))/0xc*(parseInt(_0x1f1170(0x183))/0xd);if(_0x4704dd===_0x4972ff)break;else _0xc2b501['push'](_0xc2b501['shift']());}catch(_0x1564e1){_0xc2b501['push'](_0xc2b501['shift']());}}}(_0xe48b,0x59159));function _0xe48b(){const _0x30be99=['8xmjYoQ','1956609DlKbUA','1250252clUKyP','84fIdfos','zFeii','rzWSv','2235580XsPMfm','33954fvimhF','NodeIQQNTWrapperSession','sqIOa','NodeIKernelSessionListener','error','3101709XuwxHD','10BsJJSP','36wMopps','35591StLlck','wrapper','listener','NodeIDependsAdapter','33Rxggbg','init','EITxh','5EECUDV','onSessionInitComplete','xdmnG','1982427yOipOp','NodeIDispatcherAdapter','startNT','init\x20failed'];_0xe48b=function(){return _0x30be99;};return _0xe48b();}import{Wrapper as _0x3cf883}from'./qqnt';function _0x4e84(_0x2d553d,_0x36781d){const _0xe48b2e=_0xe48b();return _0x4e84=function(_0x4e84df,_0x562401){_0x4e84df=_0x4e84df-0x167;let _0x17f17b=_0xe48b2e[_0x4e84df];return _0x17f17b;},_0x4e84(_0x2d553d,_0x36781d);}import{genSessionConfig}from'./qqnt/sessionConfig';import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x4dc7b9(0x16a)];[_0x4dc7b9(0x16b)];constructor(){const _0x9696f=_0x4dc7b9;this[_0x9696f(0x16a)]=new _0x3cf883[(_0x9696f(0x17f))](),this[_0x9696f(0x16b)]=new SessionListener();}[_0x4dc7b9(0x16e)](_0x55bfca,_0x35a79a,_0x3c8678){const _0x244118=_0x4dc7b9,_0x2f8e4f={'xdmnG':function(_0x3ec3de,_0x4224ef){return _0x3ec3de===_0x4224ef;},'sqIOa':function(_0x5a6051,_0x40c91d){return _0x5a6051(_0x40c91d);},'EITxh':function(_0x29e1b0,_0x117e67,_0x1e9204,_0x4df4cb){return _0x29e1b0(_0x117e67,_0x1e9204,_0x4df4cb);},'zFeii':_0x244118(0x176)};return new Promise((_0x482509,_0x18b612)=>{const _0x254c75=_0x244118,_0x185bc4={'rzWSv':function(_0x556935,_0x8060e2){const _0x5cfa63=_0x4e84;return _0x2f8e4f[_0x5cfa63(0x172)](_0x556935,_0x8060e2);},'xxODr':function(_0x4916bb,_0x2b39f8){const _0x3e55b5=_0x4e84;return _0x2f8e4f[_0x3e55b5(0x180)](_0x4916bb,_0x2b39f8);}},_0x1b5051=_0x2f8e4f[_0x254c75(0x16f)](genSessionConfig,_0x55bfca,_0x35a79a,_0x3c8678);this[_0x254c75(0x16b)][_0x254c75(0x171)]=_0x12928d=>{const _0x2598a2=_0x254c75;if(_0x185bc4[_0x2598a2(0x17c)](_0x12928d,0x0))return _0x482509(0x0);_0x185bc4['xxODr'](_0x18b612,_0x12928d);},this['wrapper']['init'](_0x1b5051,new _0x3cf883[(_0x254c75(0x16c))](new DependsAdapter()),new _0x3cf883[(_0x254c75(0x174))](new DispatcherAdapter()),new _0x3cf883[(_0x254c75(0x181))](this[_0x254c75(0x16b)]));try{this[_0x254c75(0x16a)][_0x254c75(0x175)](0x0);}catch(_0x266c72){try{this['wrapper'][_0x254c75(0x175)]();}catch(_0x500b8f){console[_0x254c75(0x182)](_0x2f8e4f[_0x254c75(0x17b)],_0x500b8f);}}});}} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 82d96c627..f502e32f0 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x34991e=_0x4c1c;function _0x4c1c(_0x3dbbae,_0x414370){const _0x359362=_0x3593();return _0x4c1c=function(_0x4c1ce6,_0x541a9e){_0x4c1ce6=_0x4c1ce6-0x1cb;let _0x5e585f=_0x359362[_0x4c1ce6];return _0x5e585f;},_0x4c1c(_0x3dbbae,_0x414370);}(function(_0x2acdcd,_0x105f9f){const _0xde2367=_0x4c1c,_0x10e19d=_0x2acdcd();while(!![]){try{const _0x1a7824=parseInt(_0xde2367(0x1cc))/0x1+parseInt(_0xde2367(0x1e0))/0x2*(-parseInt(_0xde2367(0x1df))/0x3)+-parseInt(_0xde2367(0x1d6))/0x4+-parseInt(_0xde2367(0x1dd))/0x5*(parseInt(_0xde2367(0x1ce))/0x6)+parseInt(_0xde2367(0x1d8))/0x7+-parseInt(_0xde2367(0x1da))/0x8*(-parseInt(_0xde2367(0x1dc))/0x9)+parseInt(_0xde2367(0x1d2))/0xa*(parseInt(_0xde2367(0x1cb))/0xb);if(_0x1a7824===_0x105f9f)break;else _0x10e19d['push'](_0x10e19d['shift']());}catch(_0x5c7675){_0x10e19d['push'](_0x10e19d['shift']());}}}(_0x3593,0x43df9));import _0x4c4e0e from'node:os';import _0x24f670 from'node:fs';import _0x16cc63 from'node:path';import{Wrapper as _0xf8e972}from'./qqnt';export class NapCatCoreWrapper{[_0x34991e(0x1d9)];['util'];constructor(){const _0x541177=_0x34991e;this['engine']=new _0xf8e972[(_0x541177(0x1d5))](),this[_0x541177(0x1d4)]=new _0xf8e972['NodeQQNTWrapperUtil']();}get[_0x34991e(0x1e1)](){const _0x2c734b=_0x34991e;let _0x321d71=this[_0x2c734b(0x1d4)][_0x2c734b(0x1cd)]();return!_0x321d71&&(_0x321d71=_0x16cc63[_0x2c734b(0x1cf)](_0x4c4e0e[_0x2c734b(0x1e3)](),_0x2c734b(0x1d3)),_0x24f670[_0x2c734b(0x1d7)](_0x321d71,{'recursive':!![]})),_0x321d71;}get[_0x34991e(0x1d0)](){const _0x573d66=_0x34991e,_0x1688a3={'CFlRG':_0x573d66(0x1de)};return _0x16cc63[_0x573d66(0x1cf)](this['dataPath'],_0x1688a3[_0x573d66(0x1db)]);}[_0x34991e(0x1e2)](_0x1d4835,_0x1cac8a){const _0x4d43a8=_0x34991e;this['engine'][_0x4d43a8(0x1d1)](_0x1d4835,_0x1cac8a);}}function _0x3593(){const _0x32aebe=['555304arhrZz','getNTUserDataInfoConfig','6WWSkaw','resolve','dataPathGlobal','initWithDeskTopConfig','561590Bnlyld','./.config/QQ','util','NodeIQQNTWrapperEngine','1564424PYKntd','mkdirSync','539014bvzaMD','engine','1160nmaTFp','CFlRG','6651yvCfxE','1874935YEWaPc','./nt_qq/global','39UjQKqm','74090EBNnoF','dataPath','init','homedir','154sTmJvQ'];_0x3593=function(){return _0x32aebe;};return _0x3593();} \ No newline at end of file +const _0x472b69=_0x40e1;(function(_0x2ab85d,_0x2864f2){const _0xb93af1=_0x40e1,_0x54c7ae=_0x2ab85d();while(!![]){try{const _0x2e3a53=-parseInt(_0xb93af1(0x1b5))/0x1+-parseInt(_0xb93af1(0x1b3))/0x2*(-parseInt(_0xb93af1(0x1a6))/0x3)+parseInt(_0xb93af1(0x1af))/0x4*(parseInt(_0xb93af1(0x1ad))/0x5)+-parseInt(_0xb93af1(0x1a4))/0x6+parseInt(_0xb93af1(0x1a2))/0x7*(-parseInt(_0xb93af1(0x1aa))/0x8)+-parseInt(_0xb93af1(0x1a5))/0x9+parseInt(_0xb93af1(0x1ae))/0xa;if(_0x2e3a53===_0x2864f2)break;else _0x54c7ae['push'](_0x54c7ae['shift']());}catch(_0x2c5515){_0x54c7ae['push'](_0x54c7ae['shift']());}}}(_0x5f1c,0x8af9f));function _0x40e1(_0x2af087,_0x4df5d3){const _0x5f1cf8=_0x5f1c();return _0x40e1=function(_0x40e1d0,_0x1e96d8){_0x40e1d0=_0x40e1d0-0x1a2;let _0x19e51b=_0x5f1cf8[_0x40e1d0];return _0x19e51b;},_0x40e1(_0x2af087,_0x4df5d3);}import _0x5337c8 from'node:os';import _0x1ce633 from'node:fs';function _0x5f1c(){const _0x13f1dc=['util','./.config/QQ','115474RjHguK','NodeIQQNTWrapperEngine','1021053zoiFVY','mkdirSync','initWithDeskTopConfig','resolve','6397699GZFXYN','izgNM','2053452bDvZJZ','2376009sTHqZr','30YlcIfV','NodeQQNTWrapperUtil','engine','dataPath','8JkEaEO','homedir','getNTUserDataInfoConfig','10ZaATon','23148880znvlxO','436484ZspMuu','./nt_qq/global'];_0x5f1c=function(){return _0x13f1dc;};return _0x5f1c();}import _0x37e0eb from'node:path';import{Wrapper as _0x534805}from'./qqnt';export class NapCatCoreWrapper{[_0x472b69(0x1a8)];['util'];constructor(){const _0x15a68d=_0x472b69;this['engine']=new _0x534805[(_0x15a68d(0x1b4))](),this[_0x15a68d(0x1b1)]=new _0x534805[(_0x15a68d(0x1a7))]();}get['dataPath'](){const _0x5d3015=_0x472b69;let _0x1d12a1=this['util'][_0x5d3015(0x1ac)]();return!_0x1d12a1&&(_0x1d12a1=_0x37e0eb['resolve'](_0x5337c8[_0x5d3015(0x1ab)](),_0x5d3015(0x1b2)),_0x1ce633[_0x5d3015(0x1b6)](_0x1d12a1,{'recursive':!![]})),_0x1d12a1;}get['dataPathGlobal'](){const _0xa929ae=_0x472b69,_0x499669={'izgNM':_0xa929ae(0x1b0)};return _0x37e0eb[_0xa929ae(0x1b8)](this[_0xa929ae(0x1a9)],_0x499669[_0xa929ae(0x1a3)]);}['init'](_0x548f46,_0x5b1ad7){const _0x23693b=_0x472b69;this[_0x23693b(0x1a8)][_0x23693b(0x1b7)](_0x548f46,_0x5b1ad7);}} \ No newline at end of file diff --git a/src/onebot11/index.ts b/src/onebot11/index.ts index c7495bddf..aad454908 100644 --- a/src/onebot11/index.ts +++ b/src/onebot11/index.ts @@ -1,4 +1,4 @@ -import { rkeyManager } from '@/core/qqnt/extends/rkey'; +import { rkeyHook as rkeyManager } from '@/core/qqnt/extends/rkey'; import { napCatCore } from '@/core'; import { MsgListener } from '@/core/qqnt/listeners'; import { NapCatOnebot11 } from '@/onebot11/main';