From b87ac09e43b8dbe326bb8eb864cc92b163e6c2f5 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Wed, 17 Apr 2024 17:37:23 +0800 Subject: [PATCH] update core --- src/core.lib/src/index.js | 2 +- src/core.lib/src/login.js | 2 +- src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/qqnt/adapters/index.js | 2 +- src/core.lib/src/qqnt/apis/file.js | 2 +- src/core.lib/src/qqnt/apis/friend.js | 2 +- src/core.lib/src/qqnt/apis/group.js | 2 +- src/core.lib/src/qqnt/apis/index.js | 2 +- src/core.lib/src/qqnt/apis/msg.js | 2 +- src/core.lib/src/qqnt/apis/user.js | 2 +- src/core.lib/src/qqnt/apis/webapi.js | 2 +- src/core.lib/src/qqnt/apis/window.js | 2 +- src/core.lib/src/qqnt/entities/cache.js | 2 +- src/core.lib/src/qqnt/entities/constructor.js | 2 +- src/core.lib/src/qqnt/entities/group.js | 2 +- src/core.lib/src/qqnt/entities/index.js | 2 +- src/core.lib/src/qqnt/entities/msg.js | 2 +- src/core.lib/src/qqnt/entities/notify.js | 2 +- src/core.lib/src/qqnt/entities/user.js | 2 +- src/core.lib/src/qqnt/index.js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js | 2 +- src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js | 2 +- src/core.lib/src/qqnt/listeners/index.js | 2 +- src/core.lib/src/qqnt/services/common.js | 2 +- src/core.lib/src/qqnt/services/index.js | 2 +- src/core.lib/src/qqnt/sessionConfig.js | 2 +- src/core.lib/src/qqnt/wrapper.js | 2 +- src/core.lib/src/service/buddy.js | 2 +- src/core.lib/src/service/group.js | 2 +- src/core.lib/src/service/index.js | 2 +- src/core.lib/src/service/message.js | 2 +- src/core.lib/src/service/profile.js | 2 +- src/core.lib/src/service/profileLike.js | 2 +- src/core.lib/src/session.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index db68132d..c3fa4133 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -const _0x3b6e35=_0x4974;(function(_0x3eed8f,_0x32eb2a){const _0x59cfc7=_0x4974,_0x329fcc=_0x3eed8f();while(!![]){try{const _0xbc0706=-parseInt(_0x59cfc7(0x17d))/0x1+parseInt(_0x59cfc7(0x195))/0x2+-parseInt(_0x59cfc7(0x18f))/0x3*(parseInt(_0x59cfc7(0x198))/0x4)+parseInt(_0x59cfc7(0x181))/0x5*(parseInt(_0x59cfc7(0x17c))/0x6)+-parseInt(_0x59cfc7(0x19a))/0x7+-parseInt(_0x59cfc7(0x17b))/0x8+-parseInt(_0x59cfc7(0x183))/0x9*(-parseInt(_0x59cfc7(0x19b))/0xa);if(_0xbc0706===_0x32eb2a)break;else _0x329fcc['push'](_0x329fcc['shift']());}catch(_0x5e82e8){_0x329fcc['push'](_0x329fcc['shift']());}}}(_0x1509,0xc9439));function _0x4974(_0x5d82ce,_0x7207fa){const _0x150909=_0x1509();return _0x4974=function(_0x4974fc,_0x4581d1){_0x4974fc=_0x4974fc-0x173;let _0x393b43=_0x150909[_0x4974fc];return _0x393b43;},_0x4974(_0x5d82ce,_0x7207fa);}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 _0x2248a5 from'node:path';import _0x595de9 from'node:fs';import{EventEmitter}from'node:events';import*as _0x5a6170 from'@log4js-node/log4js-api';export class NapCatCore extends EventEmitter{['log'];['adapter'];['wrapper'];[_0x3b6e35(0x173)];[_0x3b6e35(0x19f)];[_0x3b6e35(0x179)];[_0x3b6e35(0x196)]=[];constructor(){const _0x53ad68=_0x3b6e35,_0x4c7b8b={'CIvSf':'7|4|10|3|5|1|9|2|0|6|8','WsLSp':'QQNT\x20数据目录:','tujbw':_0x53ad68(0x1a7),'LLWRm':_0x53ad68(0x185),'qGXKT':'Windows\x2010\x20Pro'},_0x583f75=_0x4c7b8b['CIvSf'][_0x53ad68(0x176)]('|');let _0x541ef1=0x0;while(!![]){switch(_0x583f75[_0x541ef1++]){case'0':this['log']['debug'](_0x4c7b8b[_0x53ad68(0x19e)],this[_0x53ad68(0x18d)][_0x53ad68(0x17a)]);continue;case'1':this[_0x53ad68(0x19f)]=new NapCatCoreSession();continue;case'2':this['log'][_0x53ad68(0x188)](_0x4c7b8b[_0x53ad68(0x1a9)],qqVersionConfigInfo[_0x53ad68(0x19d)]);continue;case'3':this['wrapper']=new NapCatCoreWrapper();continue;case'4':this[_0x53ad68(0x199)]=_0x5a6170[_0x53ad68(0x194)](_0x4c7b8b[_0x53ad68(0x182)]);continue;case'5':this[_0x53ad68(0x173)]=new NapCatCoreLogin(this);continue;case'6':this[_0x53ad68(0x18d)][_0x53ad68(0x1a6)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x53ad68(0x19d)],'os_version':_0x4c7b8b[_0x53ad68(0x187)],'use_xlog':!![],'qua':_0x53ad68(0x190)+qqVersionConfigInfo[_0x53ad68(0x19d)][_0x53ad68(0x18c)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x53ad68(0x18d)][_0x53ad68(0x17a)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new Wrapper['NodeIGlobalAdapter'](this[_0x53ad68(0x193)]));continue;case'7':super();continue;case'8':this[_0x53ad68(0x173)][_0x53ad68(0x1a6)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x53ad68(0x18d)][_0x53ad68(0x17a)],'clientVer':qqVersionConfigInfo[_0x53ad68(0x19d)],'hostName':hostname});continue;case'9':this[_0x53ad68(0x179)]=new NapCatCoreService(this);continue;case'10':this[_0x53ad68(0x193)]=new GlobalAdapter();continue;}break;}}async[_0x3b6e35(0x18e)](_0x449f60){const _0x33b2cd=_0x3b6e35,_0x39e289={'FkPlR':_0x33b2cd(0x189)};this[_0x33b2cd(0x19f)][_0x33b2cd(0x1a6)](_0x449f60[_0x33b2cd(0x186)],_0x449f60[_0x33b2cd(0x17f)],this['wrapper'][_0x33b2cd(0x19c)])['then'](()=>{this['onLoginSuccess'](_0x449f60['uin'],_0x449f60['uid']);})[_0x33b2cd(0x175)](_0x2dee32=>{const _0x142e73=_0x33b2cd;console[_0x142e73(0x197)](_0x39e289['FkPlR'],JSON[_0x142e73(0x1a3)](_0x2dee32)),this['emit'](_0x142e73(0x18a),{'code':'-1','message':_0x2dee32});});}[_0x3b6e35(0x184)](_0x255701,_0x1dcd30){const _0x3144fb=_0x3b6e35,_0x2df415={'Fkxqd':_0x3144fb(0x177),'seBLi':_0x3144fb(0x180),'qPXCV':'system.online'},_0x834c44=_0x2248a5['resolve'](this[_0x3144fb(0x18d)][_0x3144fb(0x19c)],_0x2df415['Fkxqd']);_0x595de9[_0x3144fb(0x1a8)](_0x834c44,{'recursive':!![]}),this[_0x3144fb(0x199)]['debug'](_0x2df415[_0x3144fb(0x1a5)],_0x834c44),dbUtil['createConnection'](_0x2248a5['resolve'](_0x834c44,'./'+_0x255701+_0x3144fb(0x1a2))),selfInfo[_0x3144fb(0x186)]=_0x255701,selfInfo[_0x3144fb(0x17f)]=_0x1dcd30,this[_0x3144fb(0x179)][_0x3144fb(0x1a6)](this['session'][_0x3144fb(0x18d)][_0x3144fb(0x174)](),this['session'][_0x3144fb(0x18d)][_0x3144fb(0x1a0)](),this[_0x3144fb(0x19f)][_0x3144fb(0x18d)][_0x3144fb(0x191)](),this[_0x3144fb(0x19f)][_0x3144fb(0x18d)][_0x3144fb(0x1a1)](),this['session'][_0x3144fb(0x18d)][_0x3144fb(0x1a4)]()),this[_0x3144fb(0x196)][_0x3144fb(0x178)](_0x10c93f=>{const _0x497de8=_0x3144fb;new Promise((_0x3047f2,_0x343025)=>{const _0x4c9101=_0x4974,_0x564fe0=_0x10c93f();_0x564fe0 instanceof Promise&&_0x564fe0[_0x4c9101(0x18b)](_0x3047f2)[_0x4c9101(0x175)](_0x343025);})[_0x497de8(0x18b)]();}),this['emit'](_0x2df415[_0x3144fb(0x192)],{'uin':_0x255701,'uid':_0x1dcd30});}[_0x3b6e35(0x17e)](){}['addLoginSuccessCallback'](_0x356259){this['loginSuccessCbList']['push'](_0x356259);}}function _0x1509(){const _0x2f1e79=['curVersion','WsLSp','session','getGroupService','getProfileService','.db','stringify','getProfileLikeService','seBLi','init','QQNT\x20版本:','mkdirSync','tujbw','login','getMsgService','catch','split','./NapCat/data','map','service','dataPathGlobal','12582608DkQbzq','15288xKELqY','1380360qUiYIa','onMessage','uid','本账号数据/缓存目录:','905kHpRge','LLWRm','35000253LPCOwZ','onLoginSuccess','Core','uin','qGXKT','debug','登录失败','system.login.error','then','replace','wrapper','initPostLogin','9444NJQcgm','V1_WIN_NQ_','getBuddyService','qPXCV','adapter','getLogger','2314990ErtQTc','loginSuccessCbList','error','2052mUdsxy','log','805791Xjtqgq','10pztQLQ','dataPath'];_0x1509=function(){return _0x2f1e79;};return _0x1509();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x2cfd28=_0x1f4c;(function(_0x552fa8,_0x45fd80){const _0x5a29d7=_0x1f4c,_0x294688=_0x552fa8();while(!![]){try{const _0x39efae=-parseInt(_0x5a29d7(0x199))/0x1+-parseInt(_0x5a29d7(0x1a0))/0x2*(parseInt(_0x5a29d7(0x19b))/0x3)+parseInt(_0x5a29d7(0x1a2))/0x4+-parseInt(_0x5a29d7(0x194))/0x5*(parseInt(_0x5a29d7(0x19d))/0x6)+-parseInt(_0x5a29d7(0x19f))/0x7+parseInt(_0x5a29d7(0x1b7))/0x8+-parseInt(_0x5a29d7(0x1a5))/0x9*(-parseInt(_0x5a29d7(0x193))/0xa);if(_0x39efae===_0x45fd80)break;else _0x294688['push'](_0x294688['shift']());}catch(_0x20a04b){_0x294688['push'](_0x294688['shift']());}}}(_0x93e9,0x59646));import{Wrapper}from'./qqnt';import{GlobalAdapter}from'./qqnt/adapters';import{NapCatCoreWrapper}from'./wrapper';function _0x1f4c(_0x4ce8b8,_0x4fa41e){const _0x93e993=_0x93e9();return _0x1f4c=function(_0x1f4cbc,_0x41fa3e){_0x1f4cbc=_0x1f4cbc-0x181;let _0x511da7=_0x93e993[_0x1f4cbc];return _0x511da7;},_0x1f4c(_0x4ce8b8,_0x4fa41e);}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 _0x1729f2 from'node:path';import _0x3b1952 from'node:fs';function _0x93e9(){const _0x16a3d5=['replace','登录失败','getLogger','V1_WIN_NQ_','836568zRsNqA','emit','then','uid','0|1|2|10|5|8|9|4|3|6|7','resolve','本账号数据/缓存目录:','_GW_B','debug','system.online','getProfileService','YTRhn','uin','getGroupService','error','system.login.error','loginSuccessCbList','jsrOF','dataPath','QQNT\x20版本:','catch','onMessage','wrapper','ZCEXq','103640SSsgnX','290bspiQw','service','curVersion','QQNT\x20数据目录:','onLoginSuccess','266810XtCvbT','map','32484QAWTIs','stringify','52638KYWgea','split','4275845HgGxnK','82MwrtWs','getMsgService','1942344FVYIGR','dataPathGlobal','login','1395qNuaEb','mkdirSync','initPostLogin','addLoginSuccessCallback','log','getBuddyService','NodeIGlobalAdapter','init','adapter','./NapCat/data','session','Windows\x2010\x20Pro','kDWhs','pjTFo'];_0x93e9=function(){return _0x16a3d5;};return _0x93e9();}import{EventEmitter}from'node:events';import*as _0x400893 from'@log4js-node/log4js-api';export class NapCatCore extends EventEmitter{[_0x2cfd28(0x1a9)];[_0x2cfd28(0x1ad)];['wrapper'];[_0x2cfd28(0x1a4)];[_0x2cfd28(0x1af)];[_0x2cfd28(0x195)];[_0x2cfd28(0x18b)]=[];constructor(){const _0x1e0460=_0x2cfd28,_0x38e23d={'ZCEXq':_0x1e0460(0x1bb),'kGOIJ':'Core','pjTFo':_0x1e0460(0x197),'kImwV':_0x1e0460(0x18e),'YTRhn':_0x1e0460(0x1b0)},_0x403c30=_0x38e23d[_0x1e0460(0x192)][_0x1e0460(0x19e)]('|');let _0x439d01=0x0;while(!![]){switch(_0x403c30[_0x439d01++]){case'0':super();continue;case'1':this['log']=_0x400893[_0x1e0460(0x1b5)](_0x38e23d['kGOIJ']);continue;case'2':this[_0x1e0460(0x1ad)]=new GlobalAdapter();continue;case'3':this[_0x1e0460(0x1a9)][_0x1e0460(0x183)](_0x38e23d[_0x1e0460(0x1b2)],this[_0x1e0460(0x191)][_0x1e0460(0x1a3)]);continue;case'4':this[_0x1e0460(0x1a9)]['debug'](_0x38e23d['kImwV'],qqVersionConfigInfo['curVersion']);continue;case'5':this[_0x1e0460(0x1a4)]=new NapCatCoreLogin(this);continue;case'6':this[_0x1e0460(0x191)]['init']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1e0460(0x196)],'os_version':_0x38e23d[_0x1e0460(0x186)],'use_xlog':!![],'qua':_0x1e0460(0x1b6)+qqVersionConfigInfo[_0x1e0460(0x196)][_0x1e0460(0x1b3)]('-','_')+_0x1e0460(0x182),'global_path_config':{'desktopGlobalPath':this[_0x1e0460(0x191)][_0x1e0460(0x1a3)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new Wrapper[(_0x1e0460(0x1ab))](this['adapter']));continue;case'7':this[_0x1e0460(0x1a4)][_0x1e0460(0x1ac)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1e0460(0x191)]['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});continue;case'8':this['session']=new NapCatCoreSession();continue;case'9':this[_0x1e0460(0x195)]=new NapCatCoreService(this);continue;case'10':this[_0x1e0460(0x191)]=new NapCatCoreWrapper();continue;}break;}}async[_0x2cfd28(0x1a7)](_0x187a7c){const _0x5c14a4=_0x2cfd28,_0x1171d5={'kDWhs':_0x5c14a4(0x18a)};this[_0x5c14a4(0x1af)][_0x5c14a4(0x1ac)](_0x187a7c[_0x5c14a4(0x187)],_0x187a7c[_0x5c14a4(0x1ba)],this[_0x5c14a4(0x191)][_0x5c14a4(0x18d)])[_0x5c14a4(0x1b9)](()=>{const _0x299ecd=_0x5c14a4;this[_0x299ecd(0x198)](_0x187a7c[_0x299ecd(0x187)],_0x187a7c[_0x299ecd(0x1ba)]);})[_0x5c14a4(0x18f)](_0x165ac9=>{const _0x2346bb=_0x5c14a4;console[_0x2346bb(0x189)](_0x2346bb(0x1b4),JSON[_0x2346bb(0x19c)](_0x165ac9)),this['emit'](_0x1171d5[_0x2346bb(0x1b1)],{'code':'-1','message':_0x165ac9});});}[_0x2cfd28(0x198)](_0x497c23,_0x30ce63){const _0x20e395=_0x2cfd28,_0x1dae25={'jsrOF':function(_0x516994){return _0x516994();},'Gzciy':function(_0x1f43f4,_0x59053a){return _0x1f43f4 instanceof _0x59053a;},'yoOHY':_0x20e395(0x184)},_0x36e861=_0x1729f2[_0x20e395(0x1bc)](this[_0x20e395(0x191)]['dataPath'],_0x20e395(0x1ae));_0x3b1952[_0x20e395(0x1a6)](_0x36e861,{'recursive':!![]}),this[_0x20e395(0x1a9)][_0x20e395(0x183)](_0x20e395(0x181),_0x36e861),dbUtil['createConnection'](_0x1729f2[_0x20e395(0x1bc)](_0x36e861,'./'+_0x497c23+'.db')),selfInfo[_0x20e395(0x187)]=_0x497c23,selfInfo['uid']=_0x30ce63,this[_0x20e395(0x195)]['init'](this[_0x20e395(0x1af)][_0x20e395(0x191)][_0x20e395(0x1a1)](),this[_0x20e395(0x1af)]['wrapper'][_0x20e395(0x188)](),this[_0x20e395(0x1af)][_0x20e395(0x191)][_0x20e395(0x1aa)](),this['session'][_0x20e395(0x191)][_0x20e395(0x185)](),this[_0x20e395(0x1af)][_0x20e395(0x191)]['getProfileLikeService']()),this[_0x20e395(0x18b)][_0x20e395(0x19a)](_0x502a28=>{const _0x164f69=_0x20e395;new Promise((_0x4d7e73,_0x1541b2)=>{const _0xf1e5e8=_0x1f4c,_0x21750d=_0x1dae25[_0xf1e5e8(0x18c)](_0x502a28);_0x1dae25['Gzciy'](_0x21750d,Promise)&&_0x21750d[_0xf1e5e8(0x1b9)](_0x4d7e73)[_0xf1e5e8(0x18f)](_0x1541b2);})[_0x164f69(0x1b9)]();}),this[_0x20e395(0x1b8)](_0x1dae25['yoOHY'],{'uin':_0x497c23,'uid':_0x30ce63});}[_0x2cfd28(0x190)](){}[_0x2cfd28(0x1a8)](_0x3dc70e){const _0x5a1364=_0x2cfd28;this[_0x5a1364(0x18b)]['push'](_0x3dc70e);}}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 92c0d309..5e3d9a8d 100644 --- a/src/core.lib/src/login.js +++ b/src/core.lib/src/login.js @@ -1 +1 @@ -const _0x440eb9=_0x34e9;function _0x34e9(_0x1a2f5b,_0x1a4994){const _0x4af50c=_0x4af5();return _0x34e9=function(_0x34e998,_0x4e23a7){_0x34e998=_0x34e998-0xd2;let _0x460792=_0x4af50c[_0x34e998];return _0x460792;},_0x34e9(_0x1a2f5b,_0x1a4994);}(function(_0x122cd8,_0xbc2cd0){const _0x9875d8=_0x34e9,_0x3f165f=_0x122cd8();while(!![]){try{const _0x3b36a7=-parseInt(_0x9875d8(0xdb))/0x1+parseInt(_0x9875d8(0xd9))/0x2*(parseInt(_0x9875d8(0xf7))/0x3)+-parseInt(_0x9875d8(0xd5))/0x4*(parseInt(_0x9875d8(0xe6))/0x5)+parseInt(_0x9875d8(0x107))/0x6+-parseInt(_0x9875d8(0xfe))/0x7+parseInt(_0x9875d8(0xe7))/0x8*(parseInt(_0x9875d8(0xf5))/0x9)+parseInt(_0x9875d8(0xe2))/0xa;if(_0x3b36a7===_0xbc2cd0)break;else _0x3f165f['push'](_0x3f165f['shift']());}catch(_0x40a49d){_0x3f165f['push'](_0x3f165f['shift']());}}}(_0x4af5,0x362da));function _0x4af5(){const _0xa98966=['NodeIKernelLoginService','NvSKK','onQRCodeLoginSucceed','8jNtuDB','QmxTm','quick','addKernelLoginListener','627420scJZoK','digest','145465UVOwSp','listener','md5','getLoginList','init','140022013','error','746620YkjDBT','qrcodeUrl','result','HiQvg','293275dnpwVM','63224ZYxAMW','initPostLogin','onLoginFailed','biLqz','find','aPcnC','NodeIKernelLoginListener','\x20is\x20not\x20available','140022008','NMchG','initConfig','system.login.slider','hex','uin','369idGFJn','initListener','3wDxpQX','Quick\x20login\x20for\x20','LocalLoginInfoList','service','proofWaterUrl','passwordLogin','core','2611875ZdOWRR','getQRCodePicture','createHash','zZQWf','update','loginErrorInfo','onQRCodeSessionFailed','SDKkY','emit','872514kTmdTs'];_0x4af5=function(){return _0xa98966;};return _0x4af5();}import*as _0x2e8635 from'node:crypto';import{Wrapper as _0x5c1b79}from'./qqnt';import{LoginListener}from'./qqnt/listeners';import{sleep}from'@/common/utils/helper';export class NapCatCoreLogin{[_0x440eb9(0xfd)];['service'];[_0x440eb9(0xdc)];constructor(_0x54c9c7){const _0x515f47=_0x440eb9,_0x13fe3a={'QmxTm':_0x515f47(0x104),'cnblJ':'onLoginFailed'};this[_0x515f47(0xfd)]=_0x54c9c7,this[_0x515f47(0xfa)]=new _0x5c1b79[(_0x515f47(0xd2))](),this[_0x515f47(0xdc)]=new LoginListener(),this[_0x515f47(0xdc)][_0x515f47(0x104)]=_0x2935fd=>{const _0x51c57f=_0x515f47;console[_0x51c57f(0xe1)](_0x13fe3a[_0x51c57f(0xd6)],_0x2935fd);},this[_0x515f47(0xdc)][_0x515f47(0xe9)]=_0x1c8e52=>{const _0x31a6c1=_0x515f47;console[_0x31a6c1(0xe1)](_0x13fe3a['cnblJ'],_0x1c8e52);};}[_0x440eb9(0xdf)](_0x299cc0){const _0x5a9b19=_0x440eb9;this[_0x5a9b19(0xfa)][_0x5a9b19(0xf1)](_0x299cc0),this[_0x5a9b19(0xf6)](),this[_0x5a9b19(0xfa)][_0x5a9b19(0xd8)](new _0x5c1b79[(_0x5a9b19(0xed))](this['listener']));}[_0x440eb9(0xf6)](){const _0x283c17=_0x440eb9,_0x89e61a={'ACVpw':'system.login.qrcode'};this[_0x283c17(0xdc)]['onQRCodeGetPicture']=_0x5901e0=>{const _0x9171fd=_0x283c17;this[_0x9171fd(0xfd)][_0x9171fd(0x106)](_0x89e61a['ACVpw'],{'url':_0x5901e0[_0x9171fd(0xe3)],'base64':_0x5901e0['pngBase64QrcodeData']});},this[_0x283c17(0xdc)][_0x283c17(0xd4)]=_0x486507=>{const _0x4e78bd=_0x283c17;this[_0x4e78bd(0xfd)][_0x4e78bd(0xe8)](_0x486507);};}[_0x440eb9(0xde)](){const _0x1bb08b=_0x440eb9;return this[_0x1bb08b(0xfa)][_0x1bb08b(0xde)]();}async['qrcode'](){const _0x1c1942=_0x440eb9;this[_0x1c1942(0xfa)][_0x1c1942(0xff)]();}async[_0x440eb9(0xd7)](_0x430a0c){const _0x1b1dda=_0x440eb9,_0x46b213={'aPcnC':'No\x20quick\x20login\x20accounts\x20available','biLqz':function(_0x1f6e96,_0x2ff276){return _0x1f6e96(_0x2ff276);},'HiQvg':'system.login.error'},_0x47275f=await this[_0x1b1dda(0xde)]();if(_0x47275f[_0x1b1dda(0xe4)]!==0x0)throw new Error(_0x46b213[_0x1b1dda(0xec)]);const _0x24d032=_0x47275f[_0x1b1dda(0xf9)][_0x1b1dda(0xeb)](_0x4ad879=>_0x4ad879[_0x1b1dda(0xf4)]===_0x430a0c);if(!_0x24d032||!_0x24d032?.['isQuickLogin'])throw new Error(_0x1b1dda(0xf8)+_0x430a0c+_0x1b1dda(0xee));await _0x46b213[_0x1b1dda(0xea)](sleep,0x3e8);const _0x27b44a=await this[_0x1b1dda(0xfa)]['quickLoginWithUin'](_0x430a0c);if(!_0x27b44a[_0x1b1dda(0xe4)])this['core'][_0x1b1dda(0x106)](_0x46b213[_0x1b1dda(0xe5)],{'code':_0x27b44a[_0x1b1dda(0xe4)],'message':_0x27b44a[_0x1b1dda(0x103)]['errMsg']});}async['password'](_0x3f3a21,_0x4e5deb,_0x3c85f7,_0x32b2de,_0x881eee){const _0x55fdc4=_0x440eb9,_0x3cfd61={'NMchG':_0x55fdc4(0xdd),'zZQWf':_0x55fdc4(0xf3),'NvSKK':function(_0x637c8f,_0x3386eb){return _0x637c8f||_0x3386eb;},'SDKkY':_0x55fdc4(0xf2)},_0x2e6664=_0x2e8635[_0x55fdc4(0x100)](_0x3cfd61[_0x55fdc4(0xf0)])[_0x55fdc4(0x102)](_0x4e5deb)[_0x55fdc4(0xda)](_0x3cfd61[_0x55fdc4(0x101)]),_0x1c8913={'uin':_0x3f3a21,'passwordMd5':_0x2e6664,'step':_0x3c85f7&&_0x32b2de&&_0x881eee?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3cfd61[_0x55fdc4(0xd3)](_0x3c85f7,''),'proofWaterRand':_0x3cfd61[_0x55fdc4(0xd3)](_0x32b2de,''),'proofWaterSid':_0x3cfd61[_0x55fdc4(0xd3)](_0x881eee,'')};await this['getLoginList'](),await sleep(0x3e8);const _0x3fda55=await this[_0x55fdc4(0xfa)][_0x55fdc4(0xfc)](_0x1c8913);switch(_0x3fda55['result']){case'0':{break;}case _0x55fdc4(0xef):{this[_0x55fdc4(0xfd)][_0x55fdc4(0x106)](_0x3cfd61[_0x55fdc4(0x105)],{'url':_0x3fda55[_0x55fdc4(0x103)][_0x55fdc4(0xfb)]});break;}case'4':case _0x55fdc4(0xe0):default:{this[_0x55fdc4(0xfd)][_0x55fdc4(0x106)]('system.login.error',{'code':_0x3fda55['result'],'message':_0x3fda55[_0x55fdc4(0x103)]['errMsg']});}}}} \ No newline at end of file +const _0x1422e6=_0x4b4a;(function(_0x2733a7,_0x2658be){const _0x2be17d=_0x4b4a,_0x5c2415=_0x2733a7();while(!![]){try{const _0x2fac21=-parseInt(_0x2be17d(0x108))/0x1+parseInt(_0x2be17d(0x12a))/0x2+parseInt(_0x2be17d(0x110))/0x3*(parseInt(_0x2be17d(0x115))/0x4)+parseInt(_0x2be17d(0x122))/0x5*(parseInt(_0x2be17d(0x12f))/0x6)+-parseInt(_0x2be17d(0x13e))/0x7+parseInt(_0x2be17d(0x119))/0x8*(parseInt(_0x2be17d(0x13a))/0x9)+parseInt(_0x2be17d(0x13b))/0xa*(parseInt(_0x2be17d(0x125))/0xb);if(_0x2fac21===_0x2658be)break;else _0x5c2415['push'](_0x5c2415['shift']());}catch(_0x35aaff){_0x5c2415['push'](_0x5c2415['shift']());}}}(_0x2a42,0xb4865));import*as _0x214085 from'node:crypto';function _0x4b4a(_0x176765,_0x16fca8){const _0x2a423b=_0x2a42();return _0x4b4a=function(_0x4b4a8d,_0x441122){_0x4b4a8d=_0x4b4a8d-0x106;let _0x2a3ea0=_0x2a423b[_0x4b4a8d];return _0x2a3ea0;},_0x4b4a(_0x176765,_0x16fca8);}import{Wrapper as _0x2901b3}from'./qqnt';import{LoginListener}from'./qqnt/listeners';import{sleep}from'@/common/utils/helper';function _0x2a42(){const _0x1f90d6=['qrcode','core','digest','error','find','75eGDUXS','NodeIKernelLoginService','LocalLoginInfoList','462pefUzm','kRoNN','initConfig','eEkvr','pngBase64QrcodeData','2247316qXRYtC','tFwxn','qrcodeUrl','\x20is\x20not\x20available','password','322470OERTnS','onQRCodeLoginSucceed','errMsg','listener','getLoginList','onQRCodeSessionFailed','onLoginFailed','loginErrorInfo','createHash','hex','initListener','3538881YatFyz','24820GpWaSm','No\x20quick\x20login\x20accounts\x20available','initPostLogin','2527336nbNtYS','result','kXnlh','proofWaterUrl','OdXDb','Quick\x20login\x20for\x20','passwordLogin','1408635CpZvpP','DRQUX','pSWFU','vkFWM','emit','system.login.qrcode','md5','getQRCodePicture','978PhEzTi','140022013','system.login.error','init','140022008','1004htULku','HMmLm','zpUrU','quick','8AEGDwX','service','onQRCodeGetPicture','uin'];_0x2a42=function(){return _0x1f90d6;};return _0x2a42();}export class NapCatCoreLogin{['core'];[_0x1422e6(0x11a)];[_0x1422e6(0x132)];constructor(_0x2b91eb){const _0x1905c8=_0x1422e6,_0x57c7ac={'kRoNN':_0x1905c8(0x134)};this[_0x1905c8(0x11e)]=_0x2b91eb,this['service']=new _0x2901b3[(_0x1905c8(0x123))](),this['listener']=new LoginListener(),this[_0x1905c8(0x132)][_0x1905c8(0x134)]=_0x148acd=>{const _0x477e0c=_0x1905c8;console[_0x477e0c(0x120)](_0x57c7ac[_0x477e0c(0x126)],_0x148acd);},this[_0x1905c8(0x132)]['onLoginFailed']=_0x371513=>{const _0x5b29b6=_0x1905c8;console[_0x5b29b6(0x120)](_0x5b29b6(0x135),_0x371513);};}[_0x1422e6(0x113)](_0x2db83b){const _0x4665c3=_0x1422e6;this[_0x4665c3(0x11a)][_0x4665c3(0x127)](_0x2db83b),this[_0x4665c3(0x139)](),this[_0x4665c3(0x11a)]['addKernelLoginListener'](new _0x2901b3['NodeIKernelLoginListener'](this[_0x4665c3(0x132)]));}['initListener'](){const _0x412919=_0x1422e6;this[_0x412919(0x132)][_0x412919(0x11b)]=_0x2dde9e=>{const _0x1e5567=_0x412919;this['core'][_0x1e5567(0x10c)](_0x1e5567(0x10d),{'url':_0x2dde9e[_0x1e5567(0x12c)],'base64':_0x2dde9e[_0x1e5567(0x129)]});},this['listener'][_0x412919(0x130)]=_0x130d97=>{const _0x4c70a8=_0x412919;this[_0x4c70a8(0x11e)][_0x4c70a8(0x13d)](_0x130d97);};}[_0x1422e6(0x133)](){const _0x1639a8=_0x1422e6;return this['service'][_0x1639a8(0x133)]();}async[_0x1422e6(0x11d)](){const _0x1958bb=_0x1422e6;this[_0x1958bb(0x11a)][_0x1958bb(0x10f)]();}async[_0x1422e6(0x118)](_0x599c8a){const _0x28861c=_0x1422e6,_0x5d3c15={'DRQUX':function(_0x380b04,_0x10b9df){return _0x380b04!==_0x10b9df;},'OdXDb':_0x28861c(0x13c),'yHKAO':_0x28861c(0x112)},_0x31f6ef=await this[_0x28861c(0x133)]();if(_0x5d3c15[_0x28861c(0x109)](_0x31f6ef[_0x28861c(0x13f)],0x0))throw new Error(_0x5d3c15[_0x28861c(0x142)]);const _0x321a7f=_0x31f6ef[_0x28861c(0x124)][_0x28861c(0x121)](_0x5d4875=>_0x5d4875[_0x28861c(0x11c)]===_0x599c8a);if(!_0x321a7f||!_0x321a7f?.['isQuickLogin'])throw new Error(_0x28861c(0x106)+_0x599c8a+_0x28861c(0x12d));await sleep(0x3e8);const _0x2e7315=await this[_0x28861c(0x11a)]['quickLoginWithUin'](_0x599c8a);if(!_0x2e7315['result'])this[_0x28861c(0x11e)][_0x28861c(0x10c)](_0x5d3c15['yHKAO'],{'code':_0x2e7315[_0x28861c(0x13f)],'message':_0x2e7315[_0x28861c(0x136)][_0x28861c(0x131)]});}async[_0x1422e6(0x12e)](_0x18e80b,_0x33e621,_0x4574cd,_0x5b7439,_0x3a0e81){const _0x150999=_0x1422e6,_0xdd4466={'zpUrU':function(_0x2b356e,_0xf09aaa){return _0x2b356e&&_0xf09aaa;},'eEkvr':function(_0x4ea31f,_0x34d8a3){return _0x4ea31f||_0x34d8a3;},'kXnlh':function(_0x518340,_0x455543){return _0x518340||_0x455543;},'tFwxn':function(_0x3ae5eb,_0x31b4d9){return _0x3ae5eb(_0x31b4d9);},'pSWFU':_0x150999(0x114),'HMmLm':'system.login.slider','vkFWM':_0x150999(0x111),'RLNVT':_0x150999(0x112)},_0x3cdba4=_0x214085[_0x150999(0x137)](_0x150999(0x10e))['update'](_0x33e621)[_0x150999(0x11f)](_0x150999(0x138)),_0x9c527e={'uin':_0x18e80b,'passwordMd5':_0x3cdba4,'step':_0xdd4466[_0x150999(0x117)](_0x4574cd,_0x5b7439)&&_0x3a0e81?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xdd4466[_0x150999(0x128)](_0x4574cd,''),'proofWaterRand':_0xdd4466[_0x150999(0x128)](_0x5b7439,''),'proofWaterSid':_0xdd4466[_0x150999(0x140)](_0x3a0e81,'')};await this[_0x150999(0x133)](),await _0xdd4466[_0x150999(0x12b)](sleep,0x3e8);const _0x3db0c7=await this['service'][_0x150999(0x107)](_0x9c527e);switch(_0x3db0c7['result']){case'0':{break;}case _0xdd4466[_0x150999(0x10a)]:{this[_0x150999(0x11e)][_0x150999(0x10c)](_0xdd4466[_0x150999(0x116)],{'url':_0x3db0c7[_0x150999(0x136)][_0x150999(0x141)]});break;}case'4':case _0xdd4466[_0x150999(0x10b)]:default:{this[_0x150999(0x11e)]['emit'](_0xdd4466['RLNVT'],{'code':_0x3db0c7[_0x150999(0x13f)],'message':_0x3db0c7[_0x150999(0x136)]['errMsg']});}}}} \ 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 92beb19f..9cb4d946 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x1b2e4d=_0x597f;function _0x597f(_0x342f69,_0x213082){var _0x4ed8fc=_0x4ed8();return _0x597f=function(_0x597f5a,_0x4882fa){_0x597f5a=_0x597f5a-0x1a7;var _0x107f34=_0x4ed8fc[_0x597f5a];return _0x107f34;},_0x597f(_0x342f69,_0x213082);}function _0x4ed8(){var _0x9ea731=['16907360vIGjDC','4727807UJXLEB','584aUFqmt','getGroupCode','onMSFStatusChange','3025446ezLvXn','onMSFSsoError','5034150xUFHdu','30460ZBGUOn','1049620wbAkoi','637970WVehdz'];_0x4ed8=function(){return _0x9ea731;};return _0x4ed8();}(function(_0x3d961c,_0xaf9229){var _0x383824=_0x597f,_0x49781=_0x3d961c();while(!![]){try{var _0x3ab348=-parseInt(_0x383824(0x1af))/0x1+parseInt(_0x383824(0x1b0))/0x2+parseInt(_0x383824(0x1ab))/0x3+parseInt(_0x383824(0x1a8))/0x4*(parseInt(_0x383824(0x1ae))/0x5)+parseInt(_0x383824(0x1ad))/0x6+parseInt(_0x383824(0x1a7))/0x7+-parseInt(_0x383824(0x1b1))/0x8;if(_0x3ab348===_0xaf9229)break;else _0x49781['push'](_0x49781['shift']());}catch(_0x19e501){_0x49781['push'](_0x49781['shift']());}}}(_0x4ed8,0x8abdd));export class DependsAdapter{[_0x1b2e4d(0x1aa)](_0x3aecc6){}[_0x1b2e4d(0x1ac)](_0x3037cf){}[_0x1b2e4d(0x1a9)](_0x156f31){}} \ No newline at end of file +function _0xf120(_0xb970ba,_0xf7d893){var _0x4f9c7e=_0x4f9c();return _0xf120=function(_0xf12079,_0x131120){_0xf12079=_0xf12079-0xc6;var _0x3ddf5a=_0x4f9c7e[_0xf12079];return _0x3ddf5a;},_0xf120(_0xb970ba,_0xf7d893);}function _0x4f9c(){var _0x3d6dfa=['25760410sccxYa','6078224aJOjSq','6608637GGRCHx','30WjSudP','1263184GdIuXA','7jJbzkS','692352hUSolA','45928jbuIps','39RTDEhx','307669SAAUvZ'];_0x4f9c=function(){return _0x3d6dfa;};return _0x4f9c();}(function(_0x2d8616,_0x3a0482){var _0xf9b7aa=_0xf120,_0x189e1a=_0x2d8616();while(!![]){try{var _0x4e7d5b=parseInt(_0xf9b7aa(0xc8))/0x1+parseInt(_0xf9b7aa(0xcd))/0x2+-parseInt(_0xf9b7aa(0xc7))/0x3*(parseInt(_0xf9b7aa(0xc6))/0x4)+parseInt(_0xf9b7aa(0xcc))/0x5*(parseInt(_0xf9b7aa(0xcf))/0x6)+-parseInt(_0xf9b7aa(0xce))/0x7*(-parseInt(_0xf9b7aa(0xca))/0x8)+parseInt(_0xf9b7aa(0xcb))/0x9+-parseInt(_0xf9b7aa(0xc9))/0xa;if(_0x4e7d5b===_0x3a0482)break;else _0x189e1a['push'](_0x189e1a['shift']());}catch(_0x309c1d){_0x189e1a['push'](_0x189e1a['shift']());}}}(_0x4f9c,0x61bf9));export class DependsAdapter{['onMSFStatusChange'](_0x2f8187){}['onMSFSsoError'](_0x576690){}['getGroupCode'](_0x3bae35){}} \ 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 0642b76d..9ed207b0 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x59181e=_0x5716;function _0x1fd0(){var _0x22cc08=['183535jlFeOc','1265nMrQst','170TJqoiu','1181616OKkpxn','1034352skeOhK','8AICbFM','199451uraJbH','72cfMQcj','125312gVWRju','dispatchRequest','dispatchCallWithJson','7508493MOYksa','20424bhVJzB'];_0x1fd0=function(){return _0x22cc08;};return _0x1fd0();}(function(_0x36060b,_0x372443){var _0x437ffa=_0x5716,_0x546efd=_0x36060b();while(!![]){try{var _0x2f5734=parseInt(_0x437ffa(0x71))/0x1+-parseInt(_0x437ffa(0x6c))/0x2+parseInt(_0x437ffa(0x6d))/0x3*(-parseInt(_0x437ffa(0x6e))/0x4)+parseInt(_0x437ffa(0x6a))/0x5*(parseInt(_0x437ffa(0x75))/0x6)+-parseInt(_0x437ffa(0x6f))/0x7*(-parseInt(_0x437ffa(0x70))/0x8)+parseInt(_0x437ffa(0x74))/0x9+-parseInt(_0x437ffa(0x6b))/0xa*(parseInt(_0x437ffa(0x76))/0xb);if(_0x2f5734===_0x372443)break;else _0x546efd['push'](_0x546efd['shift']());}catch(_0xf8a633){_0x546efd['push'](_0x546efd['shift']());}}}(_0x1fd0,0x7d4c1));function _0x5716(_0x490bd8,_0xbc652a){var _0x1fd0ca=_0x1fd0();return _0x5716=function(_0x571626,_0x22f5c){_0x571626=_0x571626-0x6a;var _0x3548dd=_0x1fd0ca[_0x571626];return _0x3548dd;},_0x5716(_0x490bd8,_0xbc652a);}export class DispatcherAdapter{[_0x59181e(0x72)](_0x45672f){}['dispatchCall'](_0x3bc836){}[_0x59181e(0x73)](_0x146c63){}} \ No newline at end of file +var _0x5727b9=_0x2df7;function _0x2df7(_0x3971d8,_0x4c585e){var _0x4305f0=_0x4305();return _0x2df7=function(_0x2df780,_0x2fb009){_0x2df780=_0x2df780-0x19f;var _0x53e652=_0x4305f0[_0x2df780];return _0x53e652;},_0x2df7(_0x3971d8,_0x4c585e);}function _0x4305(){var _0x6cc688=['6488664ifSUlU','4178262LHiEOG','2nksJLr','8271480HkXfar','102498wlqXHm','12040029SSuaKe','3539620lzrEJI','dispatchCallWithJson','355yQEArS','995282mYiXUB'];_0x4305=function(){return _0x6cc688;};return _0x4305();}(function(_0x467d0a,_0x503a75){var _0x4d4195=_0x2df7,_0x3f2080=_0x467d0a();while(!![]){try{var _0x1922e8=-parseInt(_0x4d4195(0x19f))/0x1*(-parseInt(_0x4d4195(0x1a2))/0x2)+-parseInt(_0x4d4195(0x1a1))/0x3+parseInt(_0x4d4195(0x1a6))/0x4+-parseInt(_0x4d4195(0x1a8))/0x5*(-parseInt(_0x4d4195(0x1a4))/0x6)+parseInt(_0x4d4195(0x1a3))/0x7+-parseInt(_0x4d4195(0x1a0))/0x8+-parseInt(_0x4d4195(0x1a5))/0x9;if(_0x1922e8===_0x503a75)break;else _0x3f2080['push'](_0x3f2080['shift']());}catch(_0x364f26){_0x3f2080['push'](_0x3f2080['shift']());}}}(_0x4305,0xb2fae));export class DispatcherAdapter{['dispatchRequest'](_0x310115){}['dispatchCall'](_0x175ade){}[_0x5727b9(0x1a7)](_0x2773d9){}} \ 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 2c50d87c..4a0afd8f 100644 --- a/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/qqnt/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x127a6b=_0x3dd4;(function(_0x55adcb,_0x2d2d6f){var _0x1708e8=_0x3dd4,_0x49bc09=_0x55adcb();while(!![]){try{var _0x44a252=parseInt(_0x1708e8(0xbe))/0x1*(parseInt(_0x1708e8(0xc8))/0x2)+parseInt(_0x1708e8(0xc9))/0x3+parseInt(_0x1708e8(0xc7))/0x4+-parseInt(_0x1708e8(0xc6))/0x5+-parseInt(_0x1708e8(0xbc))/0x6*(-parseInt(_0x1708e8(0xc5))/0x7)+parseInt(_0x1708e8(0xbf))/0x8*(parseInt(_0x1708e8(0xc3))/0x9)+-parseInt(_0x1708e8(0xcc))/0xa*(parseInt(_0x1708e8(0xca))/0xb);if(_0x44a252===_0x2d2d6f)break;else _0x49bc09['push'](_0x49bc09['shift']());}catch(_0xe79d88){_0x49bc09['push'](_0x49bc09['shift']());}}}(_0x10df,0x85326));function _0x3dd4(_0x35a27a,_0x408ed1){var _0x10df85=_0x10df();return _0x3dd4=function(_0x3dd431,_0xb54048){_0x3dd431=_0x3dd431-0xbb;var _0x1bd180=_0x10df85[_0x3dd431];return _0x1bd180;},_0x3dd4(_0x35a27a,_0x408ed1);}export class GlobalAdapter{[_0x127a6b(0xcb)](..._0x18063c){}[_0x127a6b(0xbb)](..._0x1882d4){}['onShowErrUITips'](..._0x453db1){}[_0x127a6b(0xc0)](..._0x4c8402){}[_0x127a6b(0xc4)](..._0x3aa0d1){}[_0x127a6b(0xc2)](..._0x544a17){}[_0x127a6b(0xc1)](..._0x45f92c){}[_0x127a6b(0xbd)](..._0x79c7fc){}}function _0x10df(){var _0x4dc202=['310782figwCR','onGetOfflineMsg','1HrtvcF','8BVEgxN','fixPicImgType','onUpdateGeneralFlag','onInstallFinished','9597897EDJBEr','getAppSetting','21cyyLgt','21825njgmLe','1185348pXwsqz','379266MBQYKs','2868456ZzQRjd','77ispNXf','onLog','3020010NRHEyn','onGetSrvCalTime'];_0x10df=function(){return _0x4dc202;};return _0x10df();} \ No newline at end of file +function _0x2f88(_0x1eba24,_0x5ef2fd){var _0x352bbc=_0x352b();return _0x2f88=function(_0x2f8861,_0x28226b){_0x2f8861=_0x2f8861-0xba;var _0x360fea=_0x352bbc[_0x2f8861];return _0x360fea;},_0x2f88(_0x1eba24,_0x5ef2fd);}var _0x1829c2=_0x2f88;(function(_0x104ed5,_0x2d7c97){var _0x4ca004=_0x2f88,_0x36426e=_0x104ed5();while(!![]){try{var _0x38918e=-parseInt(_0x4ca004(0xc2))/0x1+-parseInt(_0x4ca004(0xc8))/0x2*(-parseInt(_0x4ca004(0xca))/0x3)+-parseInt(_0x4ca004(0xc9))/0x4+-parseInt(_0x4ca004(0xc5))/0x5*(-parseInt(_0x4ca004(0xcb))/0x6)+-parseInt(_0x4ca004(0xc4))/0x7*(-parseInt(_0x4ca004(0xbd))/0x8)+parseInt(_0x4ca004(0xbf))/0x9+parseInt(_0x4ca004(0xbb))/0xa*(-parseInt(_0x4ca004(0xbe))/0xb);if(_0x38918e===_0x2d7c97)break;else _0x36426e['push'](_0x36426e['shift']());}catch(_0x506caa){_0x36426e['push'](_0x36426e['shift']());}}}(_0x352b,0xa7ce0));export class GlobalAdapter{[_0x1829c2(0xc0)](..._0x36b0eb){}[_0x1829c2(0xba)](..._0x59de75){}[_0x1829c2(0xc1)](..._0x1b006c){}['fixPicImgType'](..._0xec6527){}[_0x1829c2(0xbc)](..._0x11ca5b){}[_0x1829c2(0xc7)](..._0x1c4a6f){}[_0x1829c2(0xc6)](..._0x3eb04a){}[_0x1829c2(0xc3)](..._0x144190){}}function _0x352b(){var _0x158f1c=['onUpdateGeneralFlag','onInstallFinished','2eRLDVa','5263128qtWkCV','1499370RbKusH','1164UwpnmO','onGetSrvCalTime','8110010wrCpUj','getAppSetting','4856lpyxQN','11wbemXL','11831211GEkruI','onLog','onShowErrUITips','374095AStjyy','onGetOfflineMsg','7259LZzDYB','19185UKFTEW'];_0x352b=function(){return _0x158f1c;};return _0x352b();} \ 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 f266d35f..cce3b51c 100644 --- a/src/core.lib/src/qqnt/adapters/index.js +++ b/src/core.lib/src/qqnt/adapters/index.js @@ -1 +1 @@ -(function(_0x460891,_0x4ad5f9){var _0x2046dd=_0x23ae,_0x2be564=_0x460891();while(!![]){try{var _0x6615e2=parseInt(_0x2046dd(0xde))/0x1+-parseInt(_0x2046dd(0xda))/0x2+-parseInt(_0x2046dd(0xd9))/0x3*(-parseInt(_0x2046dd(0xdc))/0x4)+-parseInt(_0x2046dd(0xd8))/0x5+parseInt(_0x2046dd(0xd7))/0x6+parseInt(_0x2046dd(0xdb))/0x7+-parseInt(_0x2046dd(0xdd))/0x8;if(_0x6615e2===_0x4ad5f9)break;else _0x2be564['push'](_0x2be564['shift']());}catch(_0x1461bd){_0x2be564['push'](_0x2be564['shift']());}}}(_0x3591,0x7dfa6));export*from'./NodeIDependsAdapter';function _0x3591(){var _0x59c47b=['304190hvuRFi','4393356VudOSH','854635ApKQAL','8277NasGPr','471150gOXBrU','6023332htGnVm','832TBmwGv','12386048mZDVrm'];_0x3591=function(){return _0x59c47b;};return _0x3591();}function _0x23ae(_0x29fae2,_0x304593){var _0x35919d=_0x3591();return _0x23ae=function(_0x23aed1,_0x2c0004){_0x23aed1=_0x23aed1-0xd7;var _0x5055fa=_0x35919d[_0x23aed1];return _0x5055fa;},_0x23ae(_0x29fae2,_0x304593);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2c82f1,_0x15a7f9){var _0x1f4fc5=_0x552e,_0x120ca7=_0x2c82f1();while(!![]){try{var _0x4c6d1c=parseInt(_0x1f4fc5(0x15c))/0x1+-parseInt(_0x1f4fc5(0x15e))/0x2*(-parseInt(_0x1f4fc5(0x162))/0x3)+parseInt(_0x1f4fc5(0x15b))/0x4*(parseInt(_0x1f4fc5(0x161))/0x5)+parseInt(_0x1f4fc5(0x164))/0x6+parseInt(_0x1f4fc5(0x163))/0x7*(parseInt(_0x1f4fc5(0x15f))/0x8)+-parseInt(_0x1f4fc5(0x160))/0x9+parseInt(_0x1f4fc5(0x165))/0xa*(-parseInt(_0x1f4fc5(0x15d))/0xb);if(_0x4c6d1c===_0x15a7f9)break;else _0x120ca7['push'](_0x120ca7['shift']());}catch(_0x3aefd3){_0x120ca7['push'](_0x120ca7['shift']());}}}(_0xd80b,0x20563));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x552e(_0x39eb72,_0x4dbf66){var _0xd80bdc=_0xd80b();return _0x552e=function(_0x552ee6,_0x13fdea){_0x552ee6=_0x552ee6-0x15b;var _0x3a61fe=_0xd80bdc[_0x552ee6];return _0x3a61fe;},_0x552e(_0x39eb72,_0x4dbf66);}export*from'./NodeIGlobalAdapter';function _0xd80b(){var _0x1bbbcb=['6fGUKmf','16WwftsI','1932201moPtem','107665lzVkdY','44268zTNceZ','823004HAclpT','369624MwMTRi','34250lRnGss','24RIiZmT','185176eqCtHc','990mKKIXr'];_0xd80b=function(){return _0x1bbbcb;};return _0xd80b();} \ 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 3656062e..aa022c0b 100644 --- a/src/core.lib/src/qqnt/apis/file.js +++ b/src/core.lib/src/qqnt/apis/file.js @@ -1 +1 @@ -const _0x201ddd=_0x1d85;(function(_0x3663f7,_0x471740){const _0x422e2f=_0x1d85,_0x8efbd7=_0x3663f7();while(!![]){try{const _0x1732ff=parseInt(_0x422e2f(0x1e2))/0x1*(parseInt(_0x422e2f(0x203))/0x2)+parseInt(_0x422e2f(0x200))/0x3*(parseInt(_0x422e2f(0x1f5))/0x4)+parseInt(_0x422e2f(0x1ff))/0x5+parseInt(_0x422e2f(0x1eb))/0x6*(-parseInt(_0x422e2f(0x1fb))/0x7)+-parseInt(_0x422e2f(0x1fa))/0x8+-parseInt(_0x422e2f(0x1e8))/0x9*(parseInt(_0x422e2f(0x208))/0xa)+-parseInt(_0x422e2f(0x1f4))/0xb*(parseInt(_0x422e2f(0x1f9))/0xc);if(_0x1732ff===_0x471740)break;else _0x8efbd7['push'](_0x8efbd7['shift']());}catch(_0x43d29d){_0x8efbd7['push'](_0x8efbd7['shift']());}}}(_0x30fc,0xbba52));import{ElementType}from'@/core/qqnt/entities';import _0x52d7e7 from'path';function _0x30fc(){const _0xd6a936=['2750741MhxXgs','downloadMedia','defaultFileDownloadPath','OxHvg','4641070pSaokd','114483NWRdgP','filePath','join','61170MlsPAB','existsSync','copyFile','getFileType','msg','10clWduL','jhlZZ','13SSjtcG','RUhmz','Vajkd','Vjvlq','kernelService','下载超时','2720691vsWZxz','ext','util','6BBdmFk','wrapper','service','getFileSize','removeKernelMsgListener','PIC','startsWith','onRichMediaDownloadComplete','addMsgListener','1155781HzEcJB','36DDoXch','uploadFile','fileTypeFromFile','vMwoe','12NzSPep','802728yQxsYv'];_0x30fc=function(){return _0xd6a936;};return _0x30fc();}import _0x3e9e6b from'fs';function _0x1d85(_0x4f2878,_0xc7b21f){const _0x30fcd2=_0x30fc();return _0x1d85=function(_0x1d8560,_0x3341d5){_0x1d8560=_0x1d8560-0x1e1;let _0x17402b=_0x30fcd2[_0x1d8560];return _0x17402b;},_0x1d85(_0x4f2878,_0xc7b21f);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x57207d from'file-type';import{MsgListener}from'@/core/qqnt/listeners';import _0x1d1580 from'image-size';import{sessionConfig}from'@/core/qqnt/sessionConfig';export class NTQQFileApi{static async[_0x201ddd(0x206)](_0x4e002d){const _0x1b04fa=_0x201ddd;return _0x57207d[_0x1b04fa(0x1f7)](_0x4e002d);}static async[_0x201ddd(0x205)](_0x11a2f9,_0x1f12ba){const _0x196fb5=_0x201ddd;await napCatCore[_0x196fb5(0x1ec)][_0x196fb5(0x1ea)][_0x196fb5(0x205)](_0x11a2f9,_0x1f12ba);}static async[_0x201ddd(0x1ee)](_0x2c9d2f){const _0x2829b9=_0x201ddd;return await napCatCore[_0x2829b9(0x1ec)][_0x2829b9(0x1ea)][_0x2829b9(0x1ee)](_0x2c9d2f);}static async[_0x201ddd(0x1f6)](_0xd87f4d,_0x4129b4=ElementType[_0x201ddd(0x1f0)],_0xab61a=0x0){const _0x2be4db=_0x201ddd,_0x43aef1={'jhlZZ':function(_0x32fae3,_0x171216){return _0x32fae3(_0x171216);},'Vajkd':function(_0x255abd,_0x110622){return _0x255abd+_0x110622;}},_0x276230=await _0x43aef1[_0x2be4db(0x1e1)](calculateFileMD5,_0xd87f4d);let _0x33dda5=(await NTQQFileApi[_0x2be4db(0x206)](_0xd87f4d))?.[_0x2be4db(0x1e9)]||'';_0x33dda5&&(_0x33dda5=_0x43aef1[_0x2be4db(0x1e4)]('.',_0x33dda5));let _0x3761de=''+_0x52d7e7['basename'](_0xd87f4d);_0x3761de['indexOf']('.')===-0x1&&(_0x3761de+=_0x33dda5);const _0x297829=napCatCore[_0x2be4db(0x1ed)][_0x2be4db(0x207)]['kernelService']['getRichMediaFilePathForGuild']({'md5HexStr':_0x276230,'fileName':_0x3761de,'elementType':_0x4129b4,'elementSubType':_0xab61a,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x2be4db(0x205)](_0xd87f4d,_0x297829);const _0x20e74f=await NTQQFileApi['getFileSize'](_0xd87f4d);return{'md5':_0x276230,'fileName':_0x3761de,'path':_0x297829,'fileSize':_0x20e74f,'ext':_0x33dda5};}static async[_0x201ddd(0x1fc)](_0x53a639,_0x3f4884,_0x4b4d53,_0x253a0d,_0xaa91ef,_0xabebc5,_0x200193=0x3e8*0x3c*0x2){const _0x2cd829=_0x201ddd,_0x5d0204={'OxHvg':function(_0x521447,_0x3c30e0){return _0x521447(_0x3c30e0);},'RLTBE':function(_0x55d35d,_0x4a0c66){return _0x55d35d(_0x4a0c66);},'Vjvlq':_0x2cd829(0x1e7),'RUhmz':function(_0x285d42,_0x441e27,_0x567152){return _0x285d42(_0x441e27,_0x567152);}};if(_0xabebc5&&_0x3e9e6b[_0x2cd829(0x204)](_0xabebc5))return _0xabebc5;const _0x2d2de3=new MsgListener();return new Promise((_0xef1555,_0x1f10ba)=>{const _0x2d0dd4=_0x2cd829;let _0x16130a=![];_0x2d2de3[_0x2d0dd4(0x1f2)]=_0x3712ba=>{const _0x1747c8=_0x2d0dd4;if(_0x3712ba['msgId']===_0x53a639){_0x16130a=!![];let _0x2939c4=_0x3712ba[_0x1747c8(0x201)];if(_0x2939c4[_0x1747c8(0x1f1)]('\x5c')){const _0x1d11a2=sessionConfig?.[_0x1747c8(0x1fd)];_0x2939c4=_0x52d7e7[_0x1747c8(0x202)](_0x1d11a2,_0x2939c4);}_0x5d0204[_0x1747c8(0x1fe)](_0xef1555,_0x2939c4),napCatCore[_0x1747c8(0x1ed)]['msg'][_0x1747c8(0x1e6)]?.['removeKernelMsgListener'](_0xeeacf1);}};const _0xeeacf1=napCatCore['service']['msg'][_0x2d0dd4(0x1f3)](_0x2d2de3);_0x5d0204[_0x2d0dd4(0x1e3)](setTimeout,()=>{const _0x12144f=_0x2d0dd4;!_0x16130a&&(_0x5d0204['RLTBE'](_0x1f10ba,new Error(_0x5d0204[_0x12144f(0x1e5)])),napCatCore[_0x12144f(0x1ed)][_0x12144f(0x207)][_0x12144f(0x1e6)]?.[_0x12144f(0x1ef)](_0xeeacf1));},_0x200193),napCatCore[_0x2d0dd4(0x1ed)][_0x2d0dd4(0x207)]['kernelService']?.['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x53a639,'chatType':_0x3f4884,'peerUid':_0x4b4d53,'elementId':_0x253a0d,'thumbSize':0x0,'downloadType':0x1,'filePath':_0xaa91ef});});}static async['getImageSize'](_0x1d582a){const _0xd25436={'vMwoe':function(_0x3e6450,_0x5a5869){return _0x3e6450(_0x5a5869);},'Hqtyg':function(_0x50061f,_0xb6632d,_0x7bc7c0){return _0x50061f(_0xb6632d,_0x7bc7c0);}};return new Promise((_0x31efd3,_0x3ee353)=>{_0xd25436['Hqtyg'](_0x1d1580,_0x1d582a,(_0xf9a96c,_0x57f7f1)=>{const _0x450de8=_0x1d85;_0xf9a96c?_0xd25436[_0x450de8(0x1f8)](_0x3ee353,_0xf9a96c):_0xd25436['vMwoe'](_0x31efd3,_0x57f7f1);});});}} \ No newline at end of file +const _0x27abcd=_0x454d;(function(_0x186060,_0x31edf8){const _0x168273=_0x454d,_0x13e5d8=_0x186060();while(!![]){try{const _0x318ab3=-parseInt(_0x168273(0xe0))/0x1+parseInt(_0x168273(0xf4))/0x2+parseInt(_0x168273(0xf5))/0x3*(parseInt(_0x168273(0xdc))/0x4)+-parseInt(_0x168273(0xf6))/0x5+-parseInt(_0x168273(0xe8))/0x6+-parseInt(_0x168273(0xea))/0x7*(-parseInt(_0x168273(0xe9))/0x8)+-parseInt(_0x168273(0xe3))/0x9*(-parseInt(_0x168273(0xda))/0xa);if(_0x318ab3===_0x31edf8)break;else _0x13e5d8['push'](_0x13e5d8['shift']());}catch(_0x1e8b6d){_0x13e5d8['push'](_0x13e5d8['shift']());}}}(_0x4bad,0xac1e2));function _0x4bad(){const _0x1b1dd2=['thbOJ','MWWeI','3814PcKhGA','UIQWN','defaultFileDownloadPath','9nDiVSh','PWYmw','startsWith','removeKernelMsgListener','kVTnm','6335550YYvnFD','10616bEgnRW','2135irJbEb','PIC','wrapper','msg','EgtaR','service','nPcMB','copyFile','下载超时','GIJLL','201628Kfbcvv','87YTFZRd','790685AtYJXq','tTpNN','basename','getRichMediaFilePathForGuild','uploadFile','util','jwqWm','JmzYy','existsSync','getFileSize','msgId','fileTypeFromFile','kernelService','XLumS','filePath','indexOf','6809820LGpMTP','downloadRichMedia','101564OfZfjF','GQSfq'];_0x4bad=function(){return _0x1b1dd2;};return _0x4bad();}import{ElementType}from'@/core/qqnt/entities';import _0x4c767a from'path';import _0x39a772 from'fs';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x395334 from'file-type';import{MsgListener}from'@/core/qqnt/listeners';import _0x1962f5 from'image-size';function _0x454d(_0x1f7edd,_0x2bb198){const _0x4badca=_0x4bad();return _0x454d=function(_0x454d8d,_0x2f1b7b){_0x454d8d=_0x454d8d-0xd9;let _0x1c14fc=_0x4badca[_0x454d8d];return _0x1c14fc;},_0x454d(_0x1f7edd,_0x2bb198);}import{sessionConfig}from'@/core/qqnt/sessionConfig';export class NTQQFileApi{static async['getFileType'](_0x7b2462){const _0x19f8bb=_0x454d;return _0x395334[_0x19f8bb(0x101)](_0x7b2462);}static async[_0x27abcd(0xf1)](_0x202608,_0x5eeadc){const _0x4a1e59=_0x27abcd;await napCatCore['wrapper'][_0x4a1e59(0xfb)][_0x4a1e59(0xf1)](_0x202608,_0x5eeadc);}static async[_0x27abcd(0xff)](_0x207f48){const _0x514b90=_0x27abcd;return await napCatCore[_0x514b90(0xec)][_0x514b90(0xfb)][_0x514b90(0xff)](_0x207f48);}static async[_0x27abcd(0xfa)](_0x3c26bf,_0x546166=ElementType[_0x27abcd(0xeb)],_0x1351ed=0x0){const _0x594a52=_0x27abcd,_0x2663b2={'MWWeI':function(_0x14975a,_0x55cd48){return _0x14975a(_0x55cd48);},'GQSfq':function(_0x202c1d,_0x382501){return _0x202c1d+_0x382501;},'AutkZ':function(_0x4f8a4b,_0x4d4214){return _0x4f8a4b===_0x4d4214;}},_0x14ac67=await _0x2663b2[_0x594a52(0xdf)](calculateFileMD5,_0x3c26bf);let _0x2b3b1a=(await NTQQFileApi['getFileType'](_0x3c26bf))?.['ext']||'';_0x2b3b1a&&(_0x2b3b1a=_0x2663b2[_0x594a52(0xdd)]('.',_0x2b3b1a));let _0x770118=''+_0x4c767a[_0x594a52(0xf8)](_0x3c26bf);_0x2663b2['AutkZ'](_0x770118[_0x594a52(0xd9)]('.'),-0x1)&&(_0x770118+=_0x2b3b1a);const _0x576b94=napCatCore['service'][_0x594a52(0xed)][_0x594a52(0x102)][_0x594a52(0xf9)]({'md5HexStr':_0x14ac67,'fileName':_0x770118,'elementType':_0x546166,'elementSubType':_0x1351ed,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x594a52(0xf1)](_0x3c26bf,_0x576b94);const _0x584f87=await NTQQFileApi[_0x594a52(0xff)](_0x3c26bf);return{'md5':_0x14ac67,'fileName':_0x770118,'path':_0x576b94,'fileSize':_0x584f87,'ext':_0x2b3b1a};}static async['downloadMedia'](_0x156b85,_0xee3d6f,_0x517bcd,_0x510caf,_0x36fcc9,_0x329c6d,_0x5e91ab=0x3e8*0x3c*0x2){const _0x29bc33=_0x27abcd,_0x232042={'tTpNN':function(_0x3e568a,_0x4433ae){return _0x3e568a===_0x4433ae;},'JmzYy':function(_0x48393d,_0x1a3cca){return _0x48393d(_0x1a3cca);},'EgtaR':_0x29bc33(0xf2),'thbOJ':function(_0x5b5634,_0x546d21,_0x815b1){return _0x5b5634(_0x546d21,_0x815b1);}};if(_0x329c6d&&_0x39a772[_0x29bc33(0xfe)](_0x329c6d))return _0x329c6d;const _0x526a2c=new MsgListener();return new Promise((_0x38b9b0,_0x593518)=>{const _0x4a077d=_0x29bc33,_0x24993c={'GIJLL':function(_0x108ed1,_0x362163){const _0x341840=_0x454d;return _0x232042[_0x341840(0xf7)](_0x108ed1,_0x362163);},'nPcMB':function(_0x17145f,_0x528c9b){const _0x40ce1d=_0x454d;return _0x232042[_0x40ce1d(0xfd)](_0x17145f,_0x528c9b);},'PWYmw':function(_0x59543c,_0x423c8e){return _0x59543c(_0x423c8e);},'XLumS':_0x232042[_0x4a077d(0xee)]};let _0x84f38f=![];_0x526a2c['onRichMediaDownloadComplete']=_0x189ec2=>{const _0x3fe4cd=_0x4a077d;if(_0x24993c[_0x3fe4cd(0xf3)](_0x189ec2[_0x3fe4cd(0x100)],_0x156b85)){_0x84f38f=!![];let _0x2b1d7e=_0x189ec2[_0x3fe4cd(0x104)];if(_0x2b1d7e[_0x3fe4cd(0xe5)]('\x5c')){const _0x415221=sessionConfig?.[_0x3fe4cd(0xe2)];_0x2b1d7e=_0x4c767a['join'](_0x415221,_0x2b1d7e);}_0x24993c[_0x3fe4cd(0xf0)](_0x38b9b0,_0x2b1d7e),napCatCore[_0x3fe4cd(0xef)][_0x3fe4cd(0xed)][_0x3fe4cd(0x102)]?.[_0x3fe4cd(0xe6)](_0x1944c5);}};const _0x1944c5=napCatCore['service'][_0x4a077d(0xed)]['addMsgListener'](_0x526a2c);_0x232042[_0x4a077d(0xde)](setTimeout,()=>{const _0x194838=_0x4a077d;!_0x84f38f&&(_0x24993c[_0x194838(0xe4)](_0x593518,new Error(_0x24993c[_0x194838(0x103)])),napCatCore['service']['msg'][_0x194838(0x102)]?.[_0x194838(0xe6)](_0x1944c5));},_0x5e91ab),napCatCore['service']['msg']['kernelService']?.[_0x4a077d(0xdb)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x156b85,'chatType':_0xee3d6f,'peerUid':_0x517bcd,'elementId':_0x510caf,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x36fcc9});});}static async['getImageSize'](_0x2f0624){const _0x4eeeab={'kVTnm':function(_0x353db8,_0x43b7ce){return _0x353db8(_0x43b7ce);},'UIQWN':function(_0xbd2ca7,_0x1cd60a,_0x47fb7b){return _0xbd2ca7(_0x1cd60a,_0x47fb7b);}};return new Promise((_0x23cde8,_0x1cd3fe)=>{const _0x16e262=_0x454d,_0x5b2b62={'jwqWm':function(_0x3ccb0b,_0x1714d1){const _0x56ad22=_0x454d;return _0x4eeeab[_0x56ad22(0xe7)](_0x3ccb0b,_0x1714d1);}};_0x4eeeab[_0x16e262(0xe1)](_0x1962f5,_0x2f0624,(_0x1fa08a,_0x51a172)=>{const _0x23bbd3=_0x16e262;_0x1fa08a?_0x1cd3fe(_0x1fa08a):_0x5b2b62[_0x23bbd3(0xfc)](_0x23cde8,_0x51a172);});});}} \ 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 bb7b9f0f..c2c3da83 100644 --- a/src/core.lib/src/qqnt/apis/friend.js +++ b/src/core.lib/src/qqnt/apis/friend.js @@ -1 +1 @@ -function _0x4e31(){var _0x266af8=['handleFriendRequest','373404UVDqkk','1620KeFfTm','34641WKKPFO','889535RTSxIB','7FowXLB','friendUid','service','1037661XRUytn','748PhrNnW','getFriends','4aOHWBA','5385080QLmZQc','buddy','1029YIfXNi','17586921pNLFmJ'];_0x4e31=function(){return _0x266af8;};return _0x4e31();}function _0x3091(_0x42836a,_0x482e34){var _0x4e31ad=_0x4e31();return _0x3091=function(_0x30916e,_0x202859){_0x30916e=_0x30916e-0x8f;var _0x395718=_0x4e31ad[_0x30916e];return _0x395718;},_0x3091(_0x42836a,_0x482e34);}var _0x48d374=_0x3091;(function(_0x547c73,_0x5e6ff3){var _0x1d745b=_0x3091,_0x299fc8=_0x547c73();while(!![]){try{var _0xcbdd12=-parseInt(_0x1d745b(0x9b))/0x1*(parseInt(_0x1d745b(0x96))/0x2)+parseInt(_0x1d745b(0x95))/0x3*(parseInt(_0x1d745b(0x98))/0x4)+parseInt(_0x1d745b(0x91))/0x5+-parseInt(_0x1d745b(0x9e))/0x6+parseInt(_0x1d745b(0x92))/0x7*(-parseInt(_0x1d745b(0x99))/0x8)+parseInt(_0x1d745b(0x90))/0x9*(-parseInt(_0x1d745b(0x8f))/0xa)+parseInt(_0x1d745b(0x9c))/0xb;if(_0xcbdd12===_0x5e6ff3)break;else _0x299fc8['push'](_0x299fc8['shift']());}catch(_0x588584){_0x299fc8['push'](_0x299fc8['shift']());}}}(_0x4e31,0x5c7e4));import{napCatCore}from'@/core';export class NTQQFriendApi{static async[_0x48d374(0x97)](_0x3a58f1=![]){}static async[_0x48d374(0x9d)](_0x4a49da,_0x38525f){var _0x38bcae=_0x48d374;napCatCore[_0x38bcae(0x94)][_0x38bcae(0x9a)]['kernelService']?.['approvalFriendRequest']({'friendUid':_0x4a49da[_0x38bcae(0x93)],'reqTime':_0x4a49da['reqTime'],'accept':_0x38525f});}} \ No newline at end of file +var _0x4ca1de=_0x34f9;(function(_0x7e0c07,_0x5cdc7e){var _0x2f2028=_0x34f9,_0x2ff538=_0x7e0c07();while(!![]){try{var _0x4c7b75=parseInt(_0x2f2028(0x1f4))/0x1+parseInt(_0x2f2028(0x1f2))/0x2+-parseInt(_0x2f2028(0x1ec))/0x3+parseInt(_0x2f2028(0x1f3))/0x4+parseInt(_0x2f2028(0x1f1))/0x5+parseInt(_0x2f2028(0x1ef))/0x6*(-parseInt(_0x2f2028(0x1ee))/0x7)+parseInt(_0x2f2028(0x1f6))/0x8;if(_0x4c7b75===_0x5cdc7e)break;else _0x2ff538['push'](_0x2ff538['shift']());}catch(_0x1968c1){_0x2ff538['push'](_0x2ff538['shift']());}}}(_0x32d1,0x3da68));function _0x32d1(){var _0x1cec81=['handleFriendRequest','4328576FDzCwc','kernelService','getFriends','buddy','924384dnjOwy','friendUid','30961wRVdVP','588WckXXN','approvalFriendRequest','1027420spUryZ','125202pRSscv','632696Ehvzus','26771SGppnE'];_0x32d1=function(){return _0x1cec81;};return _0x32d1();}import{napCatCore}from'@/core';function _0x34f9(_0x11186d,_0x218a52){var _0x32d1c2=_0x32d1();return _0x34f9=function(_0x34f95f,_0x337760){_0x34f95f=_0x34f95f-0x1ea;var _0x3145df=_0x32d1c2[_0x34f95f];return _0x3145df;},_0x34f9(_0x11186d,_0x218a52);}export class NTQQFriendApi{static async[_0x4ca1de(0x1ea)](_0x3db7fe=![]){}static async[_0x4ca1de(0x1f5)](_0x132184,_0x3d842c){var _0xc2c284=_0x4ca1de;napCatCore['service'][_0xc2c284(0x1eb)][_0xc2c284(0x1f7)]?.[_0xc2c284(0x1f0)]({'friendUid':_0x132184[_0xc2c284(0x1ed)],'reqTime':_0x132184['reqTime'],'accept':_0x3d842c});}} \ 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 bf12a0d0..5ceacf95 100644 --- a/src/core.lib/src/qqnt/apis/group.js +++ b/src/core.lib/src/qqnt/apis/group.js @@ -1 +1 @@ -function _0x1274(_0x53a75b,_0x15d753){const _0x396d68=_0x396d();return _0x1274=function(_0x12748e,_0x19d756){_0x12748e=_0x12748e-0x196;let _0x40a50f=_0x396d68[_0x12748e];return _0x40a50f;},_0x1274(_0x53a75b,_0x15d753);}const _0x309cff=_0x1274;(function(_0x533b87,_0x9a6872){const _0x46182b=_0x1274,_0x598f9a=_0x533b87();while(!![]){try{const _0x3b2d46=-parseInt(_0x46182b(0x19c))/0x1+parseInt(_0x46182b(0x1b1))/0x2*(-parseInt(_0x46182b(0x1a6))/0x3)+-parseInt(_0x46182b(0x19e))/0x4+parseInt(_0x46182b(0x1a9))/0x5+-parseInt(_0x46182b(0x1a4))/0x6+-parseInt(_0x46182b(0x1ad))/0x7*(parseInt(_0x46182b(0x1aa))/0x8)+parseInt(_0x46182b(0x1a2))/0x9;if(_0x3b2d46===_0x9a6872)break;else _0x598f9a['push'](_0x598f9a['shift']());}catch(_0x442193){_0x598f9a['push'](_0x598f9a['shift']());}}}(_0x396d,0xc32fa));import{napCatCore}from'@/core';import{GroupListener}from'@/core/qqnt';function _0x396d(){const _0x453870=['setMemberCard','group','banGroup','service','seq','operateSysNotify','handleGroupRequest','modifyGroupName','getGroupMembers','setGroupName','632132LEnnSo','kickMember','2954416AsGOML','removeKernelGroupListener','getGroupIgnoreNotifies','setGroupShutUp','43951275KOoCub','addGroupListener','640518yuRoon','getGroupList','2101542FcQzTq','modifyMemberCardName','getGroups','961400ooyroT','11182048iCxmPh','publishGroupBulletin','qLxvJ','7FvwKfV','setGroupTitle','quitGroup','kernelService','4QWYghi'];_0x396d=function(){return _0x453870;};return _0x396d();}export class NTQQGroupApi{static async[_0x309cff(0x1a8)](_0x4bd42d=![]){const _0x2baf33={'qLxvJ':function(_0x416fbc,_0xfe80bf){return _0x416fbc(_0xfe80bf);}};let _0xdf23bb=![];return new Promise((_0x12a85c,_0x452e17)=>{const _0x5a9708=_0x1274;setTimeout(()=>{const _0x2499a4=_0x1274;!_0xdf23bb&&(napCatCore[_0x2499a4(0x1b5)][_0x2499a4(0x1b3)][_0x2499a4(0x1b0)]?.['removeKernelGroupListener'](_0x13968b),_0x2baf33[_0x2499a4(0x1ac)](_0x12a85c,[]));},0x2710);const _0x14103f=new GroupListener();_0x14103f['onGroupListUpdate']=(_0x42b0e5,_0x4a55c0)=>{const _0x455a33=_0x1274;_0xdf23bb=!![],_0x12a85c(_0x4a55c0),napCatCore[_0x455a33(0x1b5)]['group'][_0x455a33(0x1b0)]?.[_0x455a33(0x19f)](_0x13968b);};const _0x13968b=napCatCore[_0x5a9708(0x1b5)][_0x5a9708(0x1b3)][_0x5a9708(0x1a3)](_0x14103f);napCatCore[_0x5a9708(0x1b5)][_0x5a9708(0x1b3)][_0x5a9708(0x1b0)]?.[_0x5a9708(0x1a5)](_0x4bd42d)['then']();});}static async[_0x309cff(0x19a)](_0x3c563c,_0x48d7c7=0xbb8){}static async['getGroupNotifies'](){}static async[_0x309cff(0x1a0)](){}static async[_0x309cff(0x198)](_0x522f5b,_0x25b2f2,_0xd6b151){const _0x3f253f=_0x309cff,_0x5a0fb3={'Tgmwq':function(_0x9a5399,_0x32fc1e){return _0x9a5399||_0x32fc1e;}};return napCatCore['service'][_0x3f253f(0x1b3)][_0x3f253f(0x1b0)]?.[_0x3f253f(0x197)](![],{'operateType':_0x25b2f2,'targetMsg':{'seq':_0x522f5b[_0x3f253f(0x196)],'type':_0x522f5b['type'],'groupCode':_0x522f5b[_0x3f253f(0x1b3)]['groupCode'],'postscript':_0x5a0fb3['Tgmwq'](_0xd6b151,'')}});}static async[_0x309cff(0x1af)](_0x19f3ba){const _0x468edd=_0x309cff;return napCatCore[_0x468edd(0x1b5)][_0x468edd(0x1b3)][_0x468edd(0x1b0)]?.['quitGroup'](_0x19f3ba);}static async[_0x309cff(0x19d)](_0xc2466d,_0x10a95c,_0x54fb54=![],_0xe43f98=''){const _0x2e08a8=_0x309cff;return napCatCore[_0x2e08a8(0x1b5)][_0x2e08a8(0x1b3)][_0x2e08a8(0x1b0)]?.[_0x2e08a8(0x19d)](_0xc2466d,_0x10a95c,_0x54fb54,_0xe43f98);}static async['banMember'](_0x18112b,_0x222601){const _0x4392c2=_0x309cff;return napCatCore[_0x4392c2(0x1b5)][_0x4392c2(0x1b3)][_0x4392c2(0x1b0)]?.['setMemberShutUp'](_0x18112b,_0x222601);}static async[_0x309cff(0x1b4)](_0x470f2c,_0x55f71d){const _0x50442e=_0x309cff;return napCatCore[_0x50442e(0x1b5)][_0x50442e(0x1b3)][_0x50442e(0x1b0)]?.[_0x50442e(0x1a1)](_0x470f2c,_0x55f71d);}static async[_0x309cff(0x1b2)](_0xaf55e0,_0x5c623c,_0x1a8fd9){const _0x98c719=_0x309cff;return napCatCore['service'][_0x98c719(0x1b3)][_0x98c719(0x1b0)]?.[_0x98c719(0x1a7)](_0xaf55e0,_0x5c623c,_0x1a8fd9);}static async['setMemberRole'](_0x3c487b,_0xdbd142,_0x83729){const _0x1075ce=_0x309cff;return napCatCore[_0x1075ce(0x1b5)][_0x1075ce(0x1b3)]['kernelService']?.['modifyMemberRole'](_0x3c487b,_0xdbd142,_0x83729);}static async[_0x309cff(0x19b)](_0x180f5c,_0x1a4581){const _0x49fe1d=_0x309cff;return napCatCore[_0x49fe1d(0x1b5)][_0x49fe1d(0x1b3)]['kernelService']?.[_0x49fe1d(0x199)](_0x180f5c,_0x1a4581,![]);}static async[_0x309cff(0x1ae)](_0x492ea8,_0x15b807,_0x2c2538){}static[_0x309cff(0x1ab)](_0x10aab0,_0x19fb7e,_0x523a5d){}} \ No newline at end of file +function _0xb985(){const _0x51c8a0=['onGroupListUpdate','banGroup','setGroupTitle','setGroupShutUp','quitGroup','8AhtgZN','groupCode','kernelService','setGroupName','setMemberCard','XGZCO','setMemberShutUp','84429ypkIVZ','operateSysNotify','107217DzVlua','108pqgHIy','modifyMemberCardName','2738937lDwOzG','2368684geGMsy','service','getGroups','modifyGroupName','20328540CiaNGl','376wtQSaY','getGroupMembers','then','group','handleGroupRequest','4756505ehSveg','type','banMember','removeKernelGroupListener','433489WjdMuq','kickMember'];_0xb985=function(){return _0x51c8a0;};return _0xb985();}const _0xef94fb=_0x5d15;(function(_0x5c0a08,_0x143632){const _0x343f63=_0x5d15,_0x103568=_0x5c0a08();while(!![]){try{const _0x49cc3d=-parseInt(_0x343f63(0x115))/0x1*(parseInt(_0x343f63(0x10e))/0x2)+parseInt(_0x343f63(0x11a))/0x3+parseInt(_0x343f63(0x11b))/0x4+-parseInt(_0x343f63(0x103))/0x5+parseInt(_0x343f63(0x118))/0x6*(-parseInt(_0x343f63(0x107))/0x7)+-parseInt(_0x343f63(0x120))/0x8*(parseInt(_0x343f63(0x117))/0x9)+parseInt(_0x343f63(0x11f))/0xa;if(_0x49cc3d===_0x143632)break;else _0x103568['push'](_0x103568['shift']());}catch(_0x2a08ba){_0x103568['push'](_0x103568['shift']());}}}(_0xb985,0x8c3b6));import{napCatCore}from'@/core';import{GroupListener}from'@/core/qqnt';function _0x5d15(_0x1c94b7,_0x28cfcb){const _0xb9851=_0xb985();return _0x5d15=function(_0x5d152e,_0x66587f){_0x5d152e=_0x5d152e-0xff;let _0x54fa62=_0xb9851[_0x5d152e];return _0x54fa62;},_0x5d15(_0x1c94b7,_0x28cfcb);}export class NTQQGroupApi{static async[_0xef94fb(0x11d)](_0x3100fa=![]){const _0xc059ed={'XGZCO':function(_0x373a57,_0x3001a4){return _0x373a57(_0x3001a4);},'pBdEx':function(_0x109df5,_0x1a1a79,_0x246b71){return _0x109df5(_0x1a1a79,_0x246b71);}};let _0xa0aa4a=![];return new Promise((_0x30c428,_0x17839a)=>{const _0x1acb61=_0x5d15;_0xc059ed['pBdEx'](setTimeout,()=>{const _0x4d698c=_0x5d15;!_0xa0aa4a&&(napCatCore[_0x4d698c(0x11c)][_0x4d698c(0x101)]['kernelService']?.[_0x4d698c(0x106)](_0x34f42e),_0xc059ed[_0x4d698c(0x113)](_0x30c428,[]));},0x2710);const _0x399940=new GroupListener();_0x399940[_0x1acb61(0x109)]=(_0x4d078e,_0x19737d)=>{const _0x24ec89=_0x1acb61;_0xa0aa4a=!![],_0xc059ed[_0x24ec89(0x113)](_0x30c428,_0x19737d),napCatCore[_0x24ec89(0x11c)]['group']['kernelService']?.[_0x24ec89(0x106)](_0x34f42e);};const _0x34f42e=napCatCore[_0x1acb61(0x11c)][_0x1acb61(0x101)]['addGroupListener'](_0x399940);napCatCore['service'][_0x1acb61(0x101)][_0x1acb61(0x110)]?.['getGroupList'](_0x3100fa)[_0x1acb61(0x100)]();});}static async[_0xef94fb(0xff)](_0x2337f4,_0x380095=0xbb8){}static async['getGroupNotifies'](){}static async['getGroupIgnoreNotifies'](){}static async[_0xef94fb(0x102)](_0x442ee1,_0x4ead35,_0x474fe9){const _0xc306cc=_0xef94fb,_0x2e4f8a={'PoBAn':function(_0x4c267e,_0x2ce44f){return _0x4c267e||_0x2ce44f;}};return napCatCore[_0xc306cc(0x11c)]['group'][_0xc306cc(0x110)]?.[_0xc306cc(0x116)](![],{'operateType':_0x4ead35,'targetMsg':{'seq':_0x442ee1['seq'],'type':_0x442ee1[_0xc306cc(0x104)],'groupCode':_0x442ee1[_0xc306cc(0x101)][_0xc306cc(0x10f)],'postscript':_0x2e4f8a['PoBAn'](_0x474fe9,'')}});}static async['quitGroup'](_0x41167a){const _0x51f3a8=_0xef94fb;return napCatCore['service'][_0x51f3a8(0x101)][_0x51f3a8(0x110)]?.[_0x51f3a8(0x10d)](_0x41167a);}static async['kickMember'](_0x5425b7,_0x526c07,_0x82e4eb=![],_0x383276=''){const _0x9cdd40=_0xef94fb;return napCatCore['service'][_0x9cdd40(0x101)][_0x9cdd40(0x110)]?.[_0x9cdd40(0x108)](_0x5425b7,_0x526c07,_0x82e4eb,_0x383276);}static async[_0xef94fb(0x105)](_0x4367d3,_0x4280cd){const _0x19cd0f=_0xef94fb;return napCatCore[_0x19cd0f(0x11c)]['group']['kernelService']?.[_0x19cd0f(0x114)](_0x4367d3,_0x4280cd);}static async[_0xef94fb(0x10a)](_0x49ad60,_0x35e977){const _0x2cd96e=_0xef94fb;return napCatCore['service'][_0x2cd96e(0x101)][_0x2cd96e(0x110)]?.[_0x2cd96e(0x10c)](_0x49ad60,_0x35e977);}static async[_0xef94fb(0x112)](_0x198039,_0x497014,_0x184095){const _0x43f2d7=_0xef94fb;return napCatCore[_0x43f2d7(0x11c)][_0x43f2d7(0x101)][_0x43f2d7(0x110)]?.[_0x43f2d7(0x119)](_0x198039,_0x497014,_0x184095);}static async['setMemberRole'](_0x376aaf,_0x4f14d2,_0x36a5c5){const _0x3f1af3=_0xef94fb;return napCatCore[_0x3f1af3(0x11c)][_0x3f1af3(0x101)][_0x3f1af3(0x110)]?.['modifyMemberRole'](_0x376aaf,_0x4f14d2,_0x36a5c5);}static async[_0xef94fb(0x111)](_0x52e9f3,_0x4c4cc9){const _0x2a8ae4=_0xef94fb;return napCatCore['service'][_0x2a8ae4(0x101)][_0x2a8ae4(0x110)]?.[_0x2a8ae4(0x11e)](_0x52e9f3,_0x4c4cc9,![]);}static async[_0xef94fb(0x10b)](_0xe4d508,_0x15b1f2,_0x428758){}static['publishGroupBulletin'](_0x52aacd,_0x36a063,_0x4d67c5){}} \ 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 bb8c3fc5..873a6d3a 100644 --- a/src/core.lib/src/qqnt/apis/index.js +++ b/src/core.lib/src/qqnt/apis/index.js @@ -1 +1 @@ -(function(_0x21fc56,_0x1bf985){var _0x4718ab=_0x1879,_0x3f8e9b=_0x21fc56();while(!![]){try{var _0xca4f16=parseInt(_0x4718ab(0x155))/0x1+-parseInt(_0x4718ab(0x14d))/0x2+-parseInt(_0x4718ab(0x152))/0x3*(-parseInt(_0x4718ab(0x154))/0x4)+parseInt(_0x4718ab(0x156))/0x5*(-parseInt(_0x4718ab(0x151))/0x6)+-parseInt(_0x4718ab(0x153))/0x7+parseInt(_0x4718ab(0x14e))/0x8*(parseInt(_0x4718ab(0x14f))/0x9)+parseInt(_0x4718ab(0x150))/0xa;if(_0xca4f16===_0x1bf985)break;else _0x3f8e9b['push'](_0x3f8e9b['shift']());}catch(_0x46f1ae){_0x3f8e9b['push'](_0x3f8e9b['shift']());}}}(_0x1024,0x3546d));export*from'./file';function _0x1879(_0x893a4c,_0x3e9e02){var _0x1024eb=_0x1024();return _0x1879=function(_0x18791f,_0x581554){_0x18791f=_0x18791f-0x14d;var _0x58cc3e=_0x1024eb[_0x18791f];return _0x58cc3e;},_0x1879(_0x893a4c,_0x3e9e02);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x1024(){var _0x1be019=['102395bYiypi','468288wyHKPT','1670456MrcAlv','9LOOWnE','4921230LXQaVK','126lwsfqI','110796ThGRfe','1086897TfYodz','12FwtwcI','225969DLZumX'];_0x1024=function(){return _0x1be019;};return _0x1024();}export*from'./webapi';export*from'./window'; \ No newline at end of file +(function(_0x3894af,_0x3d5053){var _0x58d356=_0x58ac,_0x55569f=_0x3894af();while(!![]){try{var _0x14cf6e=-parseInt(_0x58d356(0x72))/0x1*(-parseInt(_0x58d356(0x6b))/0x2)+parseInt(_0x58d356(0x71))/0x3+-parseInt(_0x58d356(0x73))/0x4+-parseInt(_0x58d356(0x6f))/0x5+parseInt(_0x58d356(0x70))/0x6+-parseInt(_0x58d356(0x6c))/0x7*(-parseInt(_0x58d356(0x6d))/0x8)+-parseInt(_0x58d356(0x6e))/0x9;if(_0x14cf6e===_0x3d5053)break;else _0x55569f['push'](_0x55569f['shift']());}catch(_0x165ee9){_0x55569f['push'](_0x55569f['shift']());}}}(_0x5f29,0xb6924));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x58ac(_0x2b3293,_0x4556ce){var _0x5f29da=_0x5f29();return _0x58ac=function(_0x58acee,_0x491171){_0x58acee=_0x58acee-0x6b;var _0x212cd7=_0x5f29da[_0x58acee];return _0x212cd7;},_0x58ac(_0x2b3293,_0x4556ce);}export*from'./user';export*from'./webapi';export*from'./window';function _0x5f29(){var _0x415e16=['29bLLLWc','670508TFnmtm','18290xjmwVS','6779668DueYlz','8BTtpQA','18371763hWRIZk','3141645LOoFGr','5393196Tisudp','4357440cpCWZo'];_0x5f29=function(){return _0x415e16;};return _0x5f29();} \ 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 4463b3a7..57dd002f 100644 --- a/src/core.lib/src/qqnt/apis/msg.js +++ b/src/core.lib/src/qqnt/apis/msg.js @@ -1 +1 @@ -function _0x49ef(_0x58954f,_0x387456){const _0x3a7de5=_0x3a7d();return _0x49ef=function(_0x49ef3d,_0x71acbb){_0x49ef3d=_0x49ef3d-0x19b;let _0x35e103=_0x3a7de5[_0x49ef3d];return _0x35e103;},_0x49ef(_0x58954f,_0x387456);}const _0x407635=_0x49ef;(function(_0x2826ee,_0x1b3f6a){const _0x225e1e=_0x49ef,_0x4c6810=_0x2826ee();while(!![]){try{const _0x44097a=parseInt(_0x225e1e(0x1be))/0x1*(parseInt(_0x225e1e(0x1a6))/0x2)+-parseInt(_0x225e1e(0x1c7))/0x3*(parseInt(_0x225e1e(0x1cf))/0x4)+-parseInt(_0x225e1e(0x1b3))/0x5+parseInt(_0x225e1e(0x1a8))/0x6+-parseInt(_0x225e1e(0x1c4))/0x7+-parseInt(_0x225e1e(0x1ae))/0x8*(-parseInt(_0x225e1e(0x1b9))/0x9)+parseInt(_0x225e1e(0x1c8))/0xa;if(_0x44097a===_0x1b3f6a)break;else _0x4c6810['push'](_0x4c6810['shift']());}catch(_0x5a18db){_0x4c6810['push'](_0x4c6810['shift']());}}}(_0x3a7d,0x5261e));function _0x3a7d(){const _0x2147e8=['1004078VqqMCS','addMsgListener','153780RKLGZw','msgId','cAlIX','fetchRecentContact','then','HhRzS','3224iHjlng','getMsgsIncludeSelf','sendMsg','AKaqX','bytesData','1376240nLffLG','onAddSendMsg','Kkipr','activateChat','NsWqL','map','549okcGEh','TWkri','uid','forwardMsg','removeKernelMsgListener','1hMUcyk','peerUid','app','recallMsg','ZeoZq','multiForwardMsg','1294965nBwVwI','arkElement','multiForwardMsgWithComment','1659201rSCblf','7984960jJwfOy','msg','kwgtD','ERNdT','nHOEf','AGENo','onMsgInfoListUpdate','4gcNwAW','service','Meavd','JTRPY','chatType','转发消息超时','NqjZs','sendStatus','kernelService','fTDoZ','发送超时','nick','getMultiMsg','SKQsh'];_0x3a7d=function(){return _0x2147e8;};return _0x3a7d();}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[_0x407635(0x1b4)]=_0x173340=>{const _0x1b4730=_0x407635,_0x5ab1bd={'kwgtD':function(_0xb2877c,_0xaeeb0f){return _0xb2877c instanceof _0xaeeb0f;}};if(sendMessagePool[_0x173340[_0x1b4730(0x1bf)]]){const _0x560d55=sendMessagePool[_0x173340[_0x1b4730(0x1bf)]]?.(_0x173340);_0x5ab1bd[_0x1b4730(0x1ca)](_0x560d55,Promise)&&_0x560d55[_0x1b4730(0x1ac)]()[_0x1b4730(0x1ac)](log);}},msgListener[_0x407635(0x1ce)]=_0x2b7a66=>{const _0x4b94c3={'NsWqL':function(_0x9cf564,_0x23e1ab){return _0x9cf564(_0x23e1ab);}};_0x2b7a66['forEach'](_0x54e477=>{const _0x427a8f=_0x49ef,_0x55bc77={'Meavd':function(_0xb84f81,_0x41e491){const _0x512b1a=_0x49ef;return _0x4b94c3[_0x512b1a(0x1b7)](_0xb84f81,_0x41e491);}};new Promise((_0x44ca77,_0x1b7cd7)=>{const _0x14a5f5=_0x49ef;for(const _0x33313c in sendSuccessCBMap){const _0x395349=sendSuccessCBMap[_0x33313c],_0x5dd2e=_0x55bc77['Meavd'](_0x395349,_0x54e477),_0x35edc8=_0x3ef571=>{_0x3ef571&&delete sendSuccessCBMap[_0x33313c];};_0x5dd2e instanceof Promise?_0x5dd2e[_0x14a5f5(0x1ac)](_0x35edc8):_0x55bc77[_0x14a5f5(0x1d1)](_0x35edc8,_0x5dd2e);}})[_0x427a8f(0x1ac)]()['catch'](log);});},setTimeout(()=>{napCatCore['addLoginSuccessCallback'](()=>{const _0x57427b=_0x49ef;napCatCore[_0x57427b(0x1d0)][_0x57427b(0x1c9)][_0x57427b(0x1a7)](msgListener);});},0x64);export class NTQQMsgApi{static ['napCatCore']=null;static async[_0x407635(0x1a4)](_0x522d41,_0x541824,_0x18ad5b){const _0x23e2f3=_0x407635;return napCatCore['service']['msg']['kernelService']?.[_0x23e2f3(0x1a4)](_0x522d41,_0x541824,_0x18ad5b);}static async[_0x407635(0x1b6)](_0xbb0da){}static async['activateChatAndGetHistory'](_0x45a152){}static async['getMsgHistory'](_0x2ff92f,_0x3c00e1,_0x269b23){const _0x3244a0=_0x407635;return napCatCore[_0x3244a0(0x1d0)][_0x3244a0(0x1c9)]['kernelService'][_0x3244a0(0x1af)](_0x2ff92f,_0x3c00e1,_0x269b23,!![]);}static async[_0x407635(0x1ab)](){}static async[_0x407635(0x1c1)](_0x56988a,_0x304c17){const _0x5b0713=_0x407635;await napCatCore['service']['msg'][_0x5b0713(0x1a0)]?.[_0x5b0713(0x1c1)]({'chatType':_0x56988a[_0x5b0713(0x19c)],'peerUid':_0x56988a[_0x5b0713(0x1bf)]},_0x304c17);}static async['sendMsg'](_0x4739fd,_0x524fda,_0x2aa189=!![],_0x1ca866=0x2710){const _0x30e708=_0x407635,_0x2faa52={'AGENo':function(_0x39d9f0,_0x32ad57){return _0x39d9f0>_0x32ad57;},'SKQsh':function(_0x259b2b,_0x4ad6de){return _0x259b2b(_0x4ad6de);},'ERNdT':function(_0x2d1559){return _0x2d1559();},'TWkri':function(_0x5a4c20,_0x45e05a){return _0x5a4c20===_0x45e05a;},'ZeoZq':function(_0x94d51b,_0x4bf70a){return _0x94d51b===_0x4bf70a;},'fTDoZ':function(_0x5bc767,_0x41b8f1){return _0x5bc767(_0x41b8f1);},'nHOEf':function(_0x556b46,_0x145745){return _0x556b46(_0x145745);},'HhRzS':_0x30e708(0x1a2),'JTRPY':function(_0x2128a6){return _0x2128a6();},'cAlIX':function(_0x3dbde6,_0x41c092,_0x322b1e){return _0x3dbde6(_0x41c092,_0x322b1e);},'AKaqX':function(_0x51e3a8){return _0x51e3a8();}},_0x464552=_0x4739fd['peerUid'];let _0x464e80=0x0;const _0x4281ff=async()=>{const _0x243997=_0x30e708;if(_0x2faa52[_0x243997(0x1cd)](_0x464e80,_0x1ca866))throw'发送超时';const _0x967f22=sendMessagePool[_0x4739fd['peerUid']];if(_0x967f22)return await _0x2faa52[_0x243997(0x1a5)](sleep,0x1f4),_0x464e80+=0x1f4,await _0x2faa52[_0x243997(0x1cb)](_0x4281ff);else return;};return await _0x2faa52[_0x30e708(0x1b1)](_0x4281ff),new Promise((_0x450431,_0x39b446)=>{const _0x2eb598=_0x30e708;let _0x37b5d5=![],_0x24d524=null;const _0x147dc1=_0x2faa52[_0x2eb598(0x19b)](randomUUID);sendSuccessCBMap[_0x147dc1]=_0x135846=>{const _0x32114c=_0x2eb598;if(_0x2faa52[_0x32114c(0x1ba)](_0x135846['msgId'],_0x24d524?.[_0x32114c(0x1a9)])){if(_0x2faa52[_0x32114c(0x1c2)](_0x135846[_0x32114c(0x19f)],0x2))return delete sendSuccessCBMap[_0x147dc1],_0x37b5d5=!![],_0x2faa52[_0x32114c(0x1a1)](_0x450431,_0x135846),!![];return![];}return![];},sendMessagePool[_0x464552]=async _0x367333=>{delete sendMessagePool[_0x464552],_0x24d524=_0x367333;},_0x2faa52[_0x2eb598(0x1aa)](setTimeout,()=>{const _0xc2fecd=_0x2eb598;if(_0x37b5d5)return;delete sendMessagePool[_0x464552],delete sendSuccessCBMap[_0x147dc1],_0x2faa52[_0xc2fecd(0x1cc)](_0x39b446,_0x2faa52[_0xc2fecd(0x1ad)]);},_0x1ca866);const _0xe942bd=napCatCore[_0x2eb598(0x1d0)][_0x2eb598(0x1c9)][_0x2eb598(0x1a0)]?.[_0x2eb598(0x1b0)]('0',_0x4739fd,_0x524fda,new Map());});}static async[_0x407635(0x1bc)](_0x10f5d3,_0x3a4773,_0x31c80b){}static async[_0x407635(0x1c3)](_0x52f397,_0x44182f,_0x42fafd){const _0x4d8620=_0x407635,_0x57169a={'NWkSz':function(_0x18b9a8,_0x23c7dc){return _0x18b9a8!=_0x23c7dc;},'kJTsd':function(_0x1aab05,_0x12afc3){return _0x1aab05==_0x12afc3;},'Kkipr':function(_0x2c301c,_0x391e5e){return _0x2c301c(_0x391e5e);},'NqjZs':_0x4d8620(0x19d)},_0x4ae868=_0x42fafd[_0x4d8620(0x1b8)](_0xdb01e5=>{const _0x2f3876=_0x4d8620;return{'msgId':_0xdb01e5,'senderShowName':selfInfo[_0x2f3876(0x1a3)]};});return new Promise((_0x40bc71,_0x5a1526)=>{const _0x4e0eac=_0x4d8620;let _0x31fa52=![];const _0xf79d2d=new MsgListener(),_0x4958fe=_0x30c94f=>{const _0x25521a=_0x49ef,_0x5b48dd=_0x30c94f['elements']['find'](_0x42b246=>_0x42b246['arkElement']);if(!_0x5b48dd)return;const _0x3c3fe8=JSON['parse'](_0x5b48dd[_0x25521a(0x1c5)][_0x25521a(0x1b2)]);if(_0x57169a['NWkSz'](_0x3c3fe8[_0x25521a(0x1c0)],'com.tencent.multimsg'))return;_0x57169a['kJTsd'](_0x30c94f['peerUid'],_0x44182f[_0x25521a(0x1bf)])&&_0x30c94f['senderUid']==selfInfo[_0x25521a(0x1bb)]&&(_0x31fa52=!![]);};_0xf79d2d[_0x4e0eac(0x1b4)]=_0x4958fe;const _0x37eef6=napCatCore[_0x4e0eac(0x1d0)][_0x4e0eac(0x1c9)][_0x4e0eac(0x1a7)](_0xf79d2d);setTimeout(()=>{const _0x5e6c4e=_0x4e0eac;!_0x31fa52&&(napCatCore[_0x5e6c4e(0x1d0)]['msg'][_0x5e6c4e(0x1a0)]?.[_0x5e6c4e(0x1bd)](_0x37eef6),_0x57169a[_0x5e6c4e(0x1b5)](_0x5a1526,_0x57169a[_0x5e6c4e(0x19e)]));},0x1388),napCatCore[_0x4e0eac(0x1d0)]['msg'][_0x4e0eac(0x1a0)]?.[_0x4e0eac(0x1c6)](_0x4ae868,_0x52f397,_0x44182f,[],new Map());});}} \ No newline at end of file +const _0x1dbfca=_0x549a;(function(_0x545fbb,_0x391207){const _0x18aba3=_0x549a,_0x1e6e96=_0x545fbb();while(!![]){try{const _0x4ef638=parseInt(_0x18aba3(0x17b))/0x1*(parseInt(_0x18aba3(0x176))/0x2)+parseInt(_0x18aba3(0x159))/0x3+-parseInt(_0x18aba3(0x173))/0x4*(parseInt(_0x18aba3(0x15b))/0x5)+parseInt(_0x18aba3(0x18a))/0x6*(-parseInt(_0x18aba3(0x18f))/0x7)+-parseInt(_0x18aba3(0x17a))/0x8*(-parseInt(_0x18aba3(0x183))/0x9)+-parseInt(_0x18aba3(0x171))/0xa+parseInt(_0x18aba3(0x15c))/0xb*(parseInt(_0x18aba3(0x17c))/0xc);if(_0x4ef638===_0x391207)break;else _0x1e6e96['push'](_0x1e6e96['shift']());}catch(_0x2a44a6){_0x1e6e96['push'](_0x1e6e96['shift']());}}}(_0x50dc,0x908b7));import{selfInfo}from'@/common/data';function _0x50dc(){const _0x448a3e=['service','ktsgz','ELPAS','uid','msgId','cMwSH','14262ciDpTa','com.tencent.multimsg','arkElement','removeKernelMsgListener','iLIFi','434xHdpFw','getMsgHistory','recallMsg','转发消息超时','341100UqnVJO','vDutF','82970vIYrmD','11cpxfgg','hAtXu','forwardMsg','onAddSendMsg','msg','sendStatus','GqZLp','发送超时','IBJBY','multiForwardMsg','senderUid','chatType','activateChatAndGetHistory','bytesData','addLoginSuccessCallback','peerUid','sendMsg','napCatCore','activateChat','then','catch','1330670qLbgkg','multiForwardMsgWithComment','196lnRgFI','gZnfP','BbBDK','1724582uXvDJq','onMsgInfoListUpdate','parse','fetchRecentContact','433240IcWgti','1yBUIZk','7215612Norzrc','find','getMultiMsg','kernelService','BJyTb','oiyek','addMsgListener','18rdrcCs'];_0x50dc=function(){return _0x448a3e;};return _0x50dc();}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();function _0x549a(_0x1bd3b0,_0x8585dc){const _0x50dcea=_0x50dc();return _0x549a=function(_0x549a81,_0x32b370){_0x549a81=_0x549a81-0x157;let _0x16b580=_0x50dcea[_0x549a81];return _0x16b580;},_0x549a(_0x1bd3b0,_0x8585dc);}msgListener['onAddSendMsg']=_0x100077=>{const _0x9fc58f=_0x549a,_0x33cdaa={'hAtXu':function(_0x5add12,_0x4b6f2f){return _0x5add12 instanceof _0x4b6f2f;}};if(sendMessagePool[_0x100077[_0x9fc58f(0x16b)]]){const _0x1d0a98=sendMessagePool[_0x100077[_0x9fc58f(0x16b)]]?.(_0x100077);_0x33cdaa[_0x9fc58f(0x15d)](_0x1d0a98,Promise)&&_0x1d0a98[_0x9fc58f(0x16f)]()[_0x9fc58f(0x16f)](log);}},msgListener[_0x1dbfca(0x177)]=_0x1df3fe=>{const _0x4be96a={'WuiiW':function(_0x4c9cc9,_0x15a06a){return _0x4c9cc9 instanceof _0x15a06a;},'cMwSH':function(_0x523174,_0x2e3cd7){return _0x523174(_0x2e3cd7);}};_0x1df3fe['forEach'](_0x395936=>{const _0x305fa9=_0x549a;new Promise((_0x17c46a,_0xc296b5)=>{const _0x1fca95=_0x549a;for(const _0x26b11a in sendSuccessCBMap){const _0x16b834=sendSuccessCBMap[_0x26b11a],_0x562fc8=_0x16b834(_0x395936),_0xe74dec=_0x2dc69e=>{_0x2dc69e&&delete sendSuccessCBMap[_0x26b11a];};_0x4be96a['WuiiW'](_0x562fc8,Promise)?_0x562fc8[_0x1fca95(0x16f)](_0xe74dec):_0x4be96a[_0x1fca95(0x189)](_0xe74dec,_0x562fc8);}})['then']()[_0x305fa9(0x170)](log);});},setTimeout(()=>{const _0x10a2f0=_0x1dbfca;napCatCore[_0x10a2f0(0x16a)](()=>{const _0x13d5f9=_0x10a2f0;napCatCore['service'][_0x13d5f9(0x160)][_0x13d5f9(0x182)](msgListener);});},0x64);export class NTQQMsgApi{static [_0x1dbfca(0x16d)]=null;static async[_0x1dbfca(0x17e)](_0x1a16ab,_0x5ea404,_0x3dd3f2){const _0x4fc3c1=_0x1dbfca;return napCatCore[_0x4fc3c1(0x184)]['msg'][_0x4fc3c1(0x17f)]?.['getMultiMsg'](_0x1a16ab,_0x5ea404,_0x3dd3f2);}static async[_0x1dbfca(0x16e)](_0x2cb919){}static async[_0x1dbfca(0x168)](_0x51df77){}static async[_0x1dbfca(0x190)](_0x2f7134,_0xe77ff5,_0x1c4e34){const _0x4ac6a4=_0x1dbfca;return napCatCore[_0x4ac6a4(0x184)]['msg'][_0x4ac6a4(0x17f)]['getMsgsIncludeSelf'](_0x2f7134,_0xe77ff5,_0x1c4e34,!![]);}static async[_0x1dbfca(0x179)](){}static async[_0x1dbfca(0x157)](_0x15238a,_0x50c21a){const _0x297adc=_0x1dbfca;await napCatCore['service'][_0x297adc(0x160)][_0x297adc(0x17f)]?.[_0x297adc(0x157)]({'chatType':_0x15238a[_0x297adc(0x167)],'peerUid':_0x15238a[_0x297adc(0x16b)]},_0x50c21a);}static async['sendMsg'](_0x32ee1b,_0x58d596,_0x4360f1=!![],_0x38d2e9=0x2710){const _0x5a06a1=_0x1dbfca,_0x3b43ef={'gZnfP':function(_0x4498de,_0x2e05f1){return _0x4498de>_0x2e05f1;},'oiyek':function(_0x103e42,_0x551567){return _0x103e42(_0x551567);},'GqZLp':function(_0x21f0d0){return _0x21f0d0();},'BbBDK':function(_0x50eba6,_0x424c4f){return _0x50eba6===_0x424c4f;},'IBJBY':function(_0x5d05b4){return _0x5d05b4();},'iLIFi':function(_0x40f262,_0x1a78a8,_0x284744){return _0x40f262(_0x1a78a8,_0x284744);}},_0x1ceec7=_0x32ee1b[_0x5a06a1(0x16b)];let _0x4917d8=0x0;const _0x262b15=async()=>{const _0x13f829=_0x5a06a1;if(_0x3b43ef[_0x13f829(0x174)](_0x4917d8,_0x38d2e9))throw _0x13f829(0x163);const _0x45997f=sendMessagePool[_0x32ee1b[_0x13f829(0x16b)]];if(_0x45997f)return await _0x3b43ef[_0x13f829(0x181)](sleep,0x1f4),_0x4917d8+=0x1f4,await _0x3b43ef[_0x13f829(0x162)](_0x262b15);else return;};return await _0x3b43ef[_0x5a06a1(0x164)](_0x262b15),new Promise((_0xe103d6,_0x43f96f)=>{const _0x4aa0f8=_0x5a06a1;let _0x4f221a=![],_0x5003ee=null;const _0x3a7f68=_0x3b43ef[_0x4aa0f8(0x164)](randomUUID);sendSuccessCBMap[_0x3a7f68]=_0x3aadac=>{const _0x5e808f=_0x4aa0f8;if(_0x3aadac[_0x5e808f(0x188)]===_0x5003ee?.[_0x5e808f(0x188)]){if(_0x3b43ef[_0x5e808f(0x175)](_0x3aadac[_0x5e808f(0x161)],0x2))return delete sendSuccessCBMap[_0x3a7f68],_0x4f221a=!![],_0x3b43ef['oiyek'](_0xe103d6,_0x3aadac),!![];return![];}return![];},sendMessagePool[_0x1ceec7]=async _0x46e44f=>{delete sendMessagePool[_0x1ceec7],_0x5003ee=_0x46e44f;},_0x3b43ef[_0x4aa0f8(0x18e)](setTimeout,()=>{const _0x339c01=_0x4aa0f8;if(_0x4f221a)return;delete sendMessagePool[_0x1ceec7],delete sendSuccessCBMap[_0x3a7f68],_0x3b43ef[_0x339c01(0x181)](_0x43f96f,'发送超时');},_0x38d2e9);const _0x3e31f0=napCatCore[_0x4aa0f8(0x184)][_0x4aa0f8(0x160)][_0x4aa0f8(0x17f)]?.[_0x4aa0f8(0x16c)]('0',_0x32ee1b,_0x58d596,new Map());});}static async[_0x1dbfca(0x15e)](_0x56e15e,_0x49bf1f,_0x2e27a4){}static async[_0x1dbfca(0x165)](_0x52d720,_0x1c7d54,_0x578fa8){const _0x5f1670=_0x1dbfca,_0x505059={'BJyTb':_0x5f1670(0x158),'Pzgah':function(_0x4dcf46,_0x4ab524){return _0x4dcf46!=_0x4ab524;},'ELPAS':function(_0x4e8344,_0x4e7db9){return _0x4e8344(_0x4e7db9);}},_0x333292=_0x578fa8['map'](_0x5b04b0=>{return{'msgId':_0x5b04b0,'senderShowName':selfInfo['nick']};});return new Promise((_0x4fa0ca,_0x1e285d)=>{const _0x337eed=_0x5f1670,_0x442da6={'vDutF':function(_0x414899,_0x5a3c9a){return _0x505059['Pzgah'](_0x414899,_0x5a3c9a);},'PBYVs':function(_0x24ef4d,_0x3960c7){return _0x24ef4d==_0x3960c7;},'ktsgz':function(_0x5756b7,_0x1ede80){const _0x1aff5c=_0x549a;return _0x505059[_0x1aff5c(0x186)](_0x5756b7,_0x1ede80);}};let _0x2b04cf=![];const _0x11b467=new MsgListener(),_0x2760c8=_0x54556f=>{const _0x12d482=_0x549a,_0x97e943=_0x54556f['elements'][_0x12d482(0x17d)](_0x5bdf3d=>_0x5bdf3d['arkElement']);if(!_0x97e943)return;const _0x41032e=JSON[_0x12d482(0x178)](_0x97e943[_0x12d482(0x18c)][_0x12d482(0x169)]);if(_0x442da6[_0x12d482(0x15a)](_0x41032e['app'],_0x12d482(0x18b)))return;_0x54556f[_0x12d482(0x16b)]==_0x1c7d54['peerUid']&&_0x442da6['PBYVs'](_0x54556f[_0x12d482(0x166)],selfInfo[_0x12d482(0x187)])&&(_0x2b04cf=!![],napCatCore[_0x12d482(0x184)]['msg'][_0x12d482(0x17f)]?.[_0x12d482(0x18d)](_0x43b504),_0x442da6[_0x12d482(0x185)](_0x4fa0ca,_0x54556f));};_0x11b467[_0x337eed(0x15f)]=_0x2760c8;const _0x43b504=napCatCore[_0x337eed(0x184)][_0x337eed(0x160)][_0x337eed(0x182)](_0x11b467);setTimeout(()=>{const _0x3c5806=_0x337eed;!_0x2b04cf&&(napCatCore['service'][_0x3c5806(0x160)][_0x3c5806(0x17f)]?.[_0x3c5806(0x18d)](_0x43b504),_0x1e285d(_0x505059[_0x3c5806(0x180)]));},0x1388),napCatCore[_0x337eed(0x184)][_0x337eed(0x160)][_0x337eed(0x17f)]?.[_0x337eed(0x172)](_0x333292,_0x52d720,_0x1c7d54,[],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 4ac9189f..dd99e501 100644 --- a/src/core.lib/src/qqnt/apis/user.js +++ b/src/core.lib/src/qqnt/apis/user.js @@ -1 +1 @@ -const _0x9e23f1=_0x4c22;(function(_0x4d1e95,_0x251fd8){const _0x35d267=_0x4c22,_0x13a581=_0x4d1e95();while(!![]){try{const _0x558b7c=-parseInt(_0x35d267(0x1dc))/0x1+parseInt(_0x35d267(0x1d9))/0x2*(-parseInt(_0x35d267(0x1ef))/0x3)+-parseInt(_0x35d267(0x1f6))/0x4+-parseInt(_0x35d267(0x1dd))/0x5*(parseInt(_0x35d267(0x1e4))/0x6)+-parseInt(_0x35d267(0x1ea))/0x7*(-parseInt(_0x35d267(0x1f2))/0x8)+parseInt(_0x35d267(0x1e9))/0x9*(parseInt(_0x35d267(0x1f1))/0xa)+parseInt(_0x35d267(0x1e3))/0xb*(parseInt(_0x35d267(0x1e0))/0xc);if(_0x558b7c===_0x251fd8)break;else _0x13a581['push'](_0x13a581['shift']());}catch(_0x5ac96f){_0x13a581['push'](_0x13a581['shift']());}}}(_0x54c7,0x3d562));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x4c22(_0x2d3a9f,_0x570c1c){const _0x54c701=_0x54c7();return _0x4c22=function(_0x4c22da,_0x3194f0){_0x4c22da=_0x4c22da-0x1d6;let _0x592ac9=_0x54c701[_0x4c22da];return _0x592ac9;},_0x4c22(_0x2d3a9f,_0x570c1c);}profileListener['onProfileDetailInfoChanged']=_0x4dfe3c=>{const _0x58e305=_0x4c22;userInfoCache[_0x4dfe3c['uid']]=_0x4dfe3c,userDetailHandlers[_0x58e305(0x1e8)](_0xf32747=>_0xf32747(_0x4dfe3c));},setTimeout(()=>{const _0x470d1c=_0x4c22;napCatCore[_0x470d1c(0x1de)](()=>{const _0x1a333f=_0x470d1c;napCatCore[_0x1a333f(0x1ec)][_0x1a333f(0x1e5)]['addProfileListener'](profileListener);});},0x64);function _0x54c7(){const _0x243b2e=['addLoginSuccessCallback','getUserDetailInfoWithBizInfo','48VBiLwA','setHeader','UkXCt','2696386IZWnZy','306QvDBuY','profile','errMsg','result','forEach','108423XenqRB','7DfKSZe','kernelService','service','setQQAvatar','getUserInfo','4773ZYqqKP','nEjLQ','40zHQwAF','2976008elaIsa','getPSkey','getSkey','getUserDetailInfo','920020aDeaQR','getUserDetailInfo\x20timeout','qQCcR','delete','then','514yMzXaP','getSelfInfo','uid','121488qeHpiF','38145ODmIwy'];_0x54c7=function(){return _0x243b2e;};return _0x54c7();}export class NTQQUserApi{static async['like'](_0x44c212,_0xc73b9d=0x1){const _0xde4c17=_0x4c22;return napCatCore[_0xde4c17(0x1ec)]['profileLike'][_0xde4c17(0x1eb)]['setBuddyProfileLike']({'friendUid':_0x44c212,'sourceId':0x47,'doLikeCount':_0xc73b9d,'doLikeTollCount':0x0});}static async[_0x9e23f1(0x1ed)](_0x52ce2c){const _0x3aace1=_0x9e23f1,_0x3d5df2=napCatCore[_0x3aace1(0x1ec)][_0x3aace1(0x1e5)][_0x3aace1(0x1eb)]?.[_0x3aace1(0x1e1)](_0x52ce2c);return{'result':_0x3d5df2?.[_0x3aace1(0x1e7)],'errMsg':_0x3d5df2?.[_0x3aace1(0x1e6)]};}static async[_0x9e23f1(0x1da)](){}static async[_0x9e23f1(0x1ee)](_0x486426){}static async[_0x9e23f1(0x1f5)](_0x14295e){const _0x193e21=_0x9e23f1,_0x981a82={'QEWid':function(_0x2435ee,_0x914734){return _0x2435ee(_0x914734);},'nEjLQ':_0x193e21(0x1f7),'UkXCt':function(_0x51a13a,_0x492684){return _0x51a13a===_0x492684;},'qQCcR':function(_0x1f3d7b){return _0x1f3d7b();}},_0x1da3af=napCatCore[_0x193e21(0x1ec)]['profile'][_0x193e21(0x1eb)];return new Promise((_0x2e62dd,_0xb0d00b)=>{const _0x2fe1a2=_0x193e21,_0x37a60c={'gOZTg':function(_0x3fb09d,_0x48e1d2){const _0x3bcc26=_0x4c22;return _0x981a82[_0x3bcc26(0x1e2)](_0x3fb09d,_0x48e1d2);},'nMWNl':function(_0xebc78c,_0x508242){return _0x981a82['QEWid'](_0xebc78c,_0x508242);}},_0x385bd5=_0x981a82[_0x2fe1a2(0x1d6)](randomUUID);let _0x34654c=![];setTimeout(()=>{const _0x2c11f6=_0x2fe1a2;!_0x34654c&&_0x981a82['QEWid'](_0xb0d00b,_0x981a82[_0x2c11f6(0x1f0)]);},0x1388),userDetailHandlers['set'](_0x385bd5,_0x1c7aa5=>{const _0x49d563=_0x2fe1a2;_0x37a60c['gOZTg'](_0x1c7aa5[_0x49d563(0x1db)],_0x14295e)&&(_0x34654c=!![],userDetailHandlers[_0x49d563(0x1d7)](_0x385bd5),_0x37a60c['nMWNl'](_0x2e62dd,_0x1c7aa5));}),_0x1da3af[_0x2fe1a2(0x1df)](_0x14295e,[0x0])[_0x2fe1a2(0x1d8)](_0x192e5d=>{});});}static async[_0x9e23f1(0x1f3)](){}static async[_0x9e23f1(0x1f4)](_0x4af148,_0x3b82ef){}} \ No newline at end of file +const _0x2a96ba=_0x264b;function _0x3d3d(){const _0x3394cc=['set','7235JsjWni','3085224mGvbwT','addLoginSuccessCallback','getUserDetailInfo\x20timeout','delete','onProfileDetailInfoChanged','setQQAvatar','getUserDetailInfoWithBizInfo','then','274087neyRaE','102XjUnDP','kernelService','660hpMlOr','setHeader','440yHCykd','profileLike','getUserInfo','423fgJkCy','412xrdoEV','70zxeNrj','addProfileListener','447942QqatJn','32298YTAtPE','getUserDetailInfo','result','profile','getSkey','28881pvUXFc','Igrkl','MkWmf','getSelfInfo','service','forEach','like','uid'];_0x3d3d=function(){return _0x3394cc;};return _0x3d3d();}(function(_0x247eee,_0x564413){const _0x39e585=_0x264b,_0xb4e9fe=_0x247eee();while(!![]){try{const _0x28691f=parseInt(_0x39e585(0x13f))/0x1*(parseInt(_0x39e585(0x13a))/0x2)+parseInt(_0x39e585(0x143))/0x3+parseInt(_0x39e585(0x140))/0x4*(parseInt(_0x39e585(0x152))/0x5)+-parseInt(_0x39e585(0x138))/0x6*(parseInt(_0x39e585(0x144))/0x7)+-parseInt(_0x39e585(0x13c))/0x8*(-parseInt(_0x39e585(0x149))/0x9)+-parseInt(_0x39e585(0x141))/0xa*(parseInt(_0x39e585(0x15b))/0xb)+-parseInt(_0x39e585(0x153))/0xc;if(_0x28691f===_0x564413)break;else _0xb4e9fe['push'](_0xb4e9fe['shift']());}catch(_0x1b85c5){_0xb4e9fe['push'](_0xb4e9fe['shift']());}}}(_0x3d3d,0x19821));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';function _0x264b(_0x1d0ba3,_0xcaff09){const _0x3d3dae=_0x3d3d();return _0x264b=function(_0x264ba9,_0x489b4c){_0x264ba9=_0x264ba9-0x138;let _0x4b9f88=_0x3d3dae[_0x264ba9];return _0x4b9f88;},_0x264b(_0x1d0ba3,_0xcaff09);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2a96ba(0x157)]=_0x3d00fd=>{const _0x2654a8=_0x2a96ba;userInfoCache[_0x3d00fd[_0x2654a8(0x150)]]=_0x3d00fd,userDetailHandlers[_0x2654a8(0x14e)](_0x4b03cf=>_0x4b03cf(_0x3d00fd));},setTimeout(()=>{const _0x392652=_0x2a96ba;napCatCore[_0x392652(0x154)](()=>{const _0x432a1b=_0x392652;napCatCore[_0x432a1b(0x14d)][_0x432a1b(0x147)][_0x432a1b(0x142)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2a96ba(0x14f)](_0x1ea06c,_0x2013c9=0x1){const _0x23ebc8=_0x2a96ba;return napCatCore['service'][_0x23ebc8(0x13d)][_0x23ebc8(0x139)]['setBuddyProfileLike']({'friendUid':_0x1ea06c,'sourceId':0x47,'doLikeCount':_0x2013c9,'doLikeTollCount':0x0});}static async[_0x2a96ba(0x158)](_0x32cbc4){const _0x1ff6c0=_0x2a96ba,_0x9a2369=napCatCore[_0x1ff6c0(0x14d)]['profile'][_0x1ff6c0(0x139)]?.[_0x1ff6c0(0x13b)](_0x32cbc4);return{'result':_0x9a2369?.[_0x1ff6c0(0x146)],'errMsg':_0x9a2369?.['errMsg']};}static async[_0x2a96ba(0x14c)](){}static async[_0x2a96ba(0x13e)](_0x5dffdd){}static async[_0x2a96ba(0x145)](_0x390a41){const _0x3b31e2=_0x2a96ba,_0x324e04={'Igrkl':function(_0x10a511,_0x649a4e){return _0x10a511===_0x649a4e;},'DjnGf':function(_0x114dbb,_0x218a54){return _0x114dbb(_0x218a54);},'MkWmf':function(_0x5cfe20){return _0x5cfe20();},'BNGZC':function(_0x46500d,_0x1d5299,_0x41101e){return _0x46500d(_0x1d5299,_0x41101e);}},_0x55516c=napCatCore[_0x3b31e2(0x14d)]['profile'][_0x3b31e2(0x139)];return new Promise((_0x3d7af5,_0xf9f68a)=>{const _0x3ef6f2=_0x3b31e2,_0x4bd7c9=_0x324e04[_0x3ef6f2(0x14b)](randomUUID);let _0x157462=![];_0x324e04['BNGZC'](setTimeout,()=>{const _0x417930=_0x3ef6f2;!_0x157462&&_0xf9f68a(_0x417930(0x155));},0x1388),userDetailHandlers[_0x3ef6f2(0x151)](_0x4bd7c9,_0x5adb86=>{const _0x4f52c8=_0x3ef6f2;_0x324e04[_0x4f52c8(0x14a)](_0x5adb86['uid'],_0x390a41)&&(_0x157462=!![],userDetailHandlers[_0x4f52c8(0x156)](_0x4bd7c9),_0x324e04['DjnGf'](_0x3d7af5,_0x5adb86));}),_0x55516c[_0x3ef6f2(0x159)](_0x390a41,[0x0])[_0x3ef6f2(0x15a)](_0x26f1dc=>{});});}static async['getPSkey'](){}static async[_0x2a96ba(0x148)](_0x8e5e68,_0x1ff1c8){}} \ 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 6ce4c396..166dc798 100644 --- a/src/core.lib/src/qqnt/apis/webapi.js +++ b/src/core.lib/src/qqnt/apis/webapi.js @@ -1 +1 @@ -function _0x3a50(_0x2fd2c7,_0x547452){const _0x5f5d5e=_0x5f5d();return _0x3a50=function(_0x3a50c9,_0x24e185){_0x3a50c9=_0x3a50c9-0x1e6;let _0x48ab77=_0x5f5d5e[_0x3a50c9];return _0x48ab77;},_0x3a50(_0x2fd2c7,_0x547452);}function _0x5f5d(){const _0x394bfd=['TZFTd','cookie','5242512xuLOvj','MCYUU','charCodeAt','TKUPm','defaultHeaders','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0','init','1431402hHLIQy','getGroupDigest','1017925hbytWb','4033825rwVSgA','json','72zZbdWS','bkn','&msg_random=444021292','RXnUH','pskey','JViXC','EyPIA','genBkn','&msg_seq=','3515859gCkUmh','746431ajitfX','request','cRZRq','&bkn=','include','156303jmXzNG','54SZlvia','skey','VnwLU','gnhQt','YomdL','dpbne','headers','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='];_0x5f5d=function(){return _0x394bfd;};return _0x5f5d();}const _0x448c1d=_0x3a50;(function(_0x4f74ae,_0x229f9a){const _0x27ba19=_0x3a50,_0x51623b=_0x4f74ae();while(!![]){try{const _0x4ecc03=-parseInt(_0x27ba19(0x1ea))/0x1+-parseInt(_0x27ba19(0x1e8))/0x2+parseInt(_0x27ba19(0x1f6))/0x3+parseInt(_0x27ba19(0x207))/0x4+parseInt(_0x27ba19(0x1eb))/0x5+-parseInt(_0x27ba19(0x1fd))/0x6*(parseInt(_0x27ba19(0x1f7))/0x7)+parseInt(_0x27ba19(0x1ed))/0x8*(parseInt(_0x27ba19(0x1fc))/0x9);if(_0x4ecc03===_0x229f9a)break;else _0x51623b['push'](_0x51623b['shift']());}catch(_0x31a5c1){_0x51623b['push'](_0x51623b['shift']());}}}(_0x5f5d,0xb7ac6));import{log}from'@/common/utils/log';export class WebApi{static ['bkn'];static [_0x448c1d(0x1fe)];static [_0x448c1d(0x1f1)];static [_0x448c1d(0x206)];[_0x448c1d(0x20b)]={'User-Agent':_0x448c1d(0x1e6)};constructor(){}async['addGroupDigest'](_0x1b326f,_0x222801){const _0x18d5ec=_0x448c1d,_0x4144ef=_0x18d5ec(0x204)+_0x1b326f+_0x18d5ec(0x1f5)+_0x222801+_0x18d5ec(0x1ef),_0x279502=await this['request'](_0x4144ef);return await _0x279502[_0x18d5ec(0x1ec)]();}async[_0x448c1d(0x1e9)](_0x1d85e2){const _0x3dcd66=_0x448c1d,_0x44139c={'MCYUU':function(_0x5a2a5a,_0xdf07dc){return _0x5a2a5a(_0xdf07dc);}},_0x5ee697='https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x1d85e2+'&page_start=0&page_limit=20',_0x3b0ad0=await this['request'](_0x5ee697);return _0x44139c[_0x3dcd66(0x208)](log,_0x3b0ad0[_0x3dcd66(0x203)]),await _0x3b0ad0['json']();}[_0x448c1d(0x1f4)](_0x1b6a84){const _0x119b02=_0x448c1d,_0x3fb428={'dpbne':function(_0x46b29a,_0x3573b9){return _0x46b29a||_0x3573b9;},'EyPIA':function(_0x20dcfe,_0x31e26c){return _0x20dcfe<_0x31e26c;},'gnhQt':function(_0x2c32c5,_0x4067a7){return _0x2c32c5+_0x4067a7;},'RXnUH':function(_0x17bad6,_0x8392ea){return _0x17bad6+_0x8392ea;},'JViXC':function(_0x1d7034,_0x520f64){return _0x1d7034<<_0x520f64;},'TKUPm':function(_0x15a95c,_0x2a271c){return _0x15a95c&_0x2a271c;}};_0x1b6a84=_0x3fb428[_0x119b02(0x202)](_0x1b6a84,'');let _0x4c06e4=0x1505;for(let _0x5de05b=0x0;_0x3fb428[_0x119b02(0x1f3)](_0x5de05b,_0x1b6a84['length']);_0x5de05b++){const _0x304146=_0x1b6a84[_0x119b02(0x209)](_0x5de05b);_0x4c06e4=_0x3fb428[_0x119b02(0x200)](_0x3fb428[_0x119b02(0x1f0)](_0x4c06e4,_0x3fb428[_0x119b02(0x1f2)](_0x4c06e4,0x5)),_0x304146);}return _0x3fb428[_0x119b02(0x20a)](_0x4c06e4,0x7fffffff)['toString']();}async[_0x448c1d(0x1e7)](){const _0x40199e=_0x448c1d;if(!WebApi[_0x40199e(0x1ee)]){}}async[_0x448c1d(0x1f8)](_0x3cb855,_0x30f9e9='GET',_0x21bfa2={}){const _0x2f7ed2=_0x448c1d,_0x52d243={'TZFTd':function(_0x3498b3,_0x1105bc){return _0x3498b3+_0x1105bc;},'VnwLU':_0x2f7ed2(0x1fa),'NTldh':_0x2f7ed2(0x1fb),'cRZRq':function(_0x195e7e,_0x1a0bfd,_0x5961a7,_0x4827f0){return _0x195e7e(_0x1a0bfd,_0x5961a7,_0x4827f0);},'YomdL':_0x2f7ed2(0x1f8)};await this['init'](),_0x3cb855+=_0x52d243[_0x2f7ed2(0x205)](_0x52d243[_0x2f7ed2(0x1ff)],WebApi['bkn']);const _0x3ae5f0={...this[_0x2f7ed2(0x20b)],..._0x21bfa2,'Cookie':WebApi[_0x2f7ed2(0x206)],'credentials':_0x52d243['NTldh']};_0x52d243[_0x2f7ed2(0x1f9)](log,_0x52d243[_0x2f7ed2(0x201)],_0x3cb855,_0x3ae5f0);const _0x281953={'method':_0x30f9e9,'headers':_0x3ae5f0};return fetch(_0x3cb855,_0x281953);}} \ No newline at end of file +const _0x447b25=_0x44f5;(function(_0x5d3681,_0x395c87){const _0x3ebfd6=_0x44f5,_0x58ee89=_0x5d3681();while(!![]){try{const _0x1dc950=-parseInt(_0x3ebfd6(0x1ca))/0x1+parseInt(_0x3ebfd6(0x1bd))/0x2*(parseInt(_0x3ebfd6(0x1cf))/0x3)+parseInt(_0x3ebfd6(0x1c4))/0x4+parseInt(_0x3ebfd6(0x1c6))/0x5*(-parseInt(_0x3ebfd6(0x1bc))/0x6)+parseInt(_0x3ebfd6(0x1e0))/0x7*(-parseInt(_0x3ebfd6(0x1c1))/0x8)+parseInt(_0x3ebfd6(0x1d4))/0x9+-parseInt(_0x3ebfd6(0x1ce))/0xa*(parseInt(_0x3ebfd6(0x1e2))/0xb);if(_0x1dc950===_0x395c87)break;else _0x58ee89['push'](_0x58ee89['shift']());}catch(_0x469cb8){_0x58ee89['push'](_0x58ee89['shift']());}}}(_0x5824,0x266d9));function _0x5824(){const _0x59813a=['8449zENILZ','WIiGs','77MLZIXT','include','request','3048PAvCMs','16kuulLx','bkn','json','skey','352EvbWJT','&msg_seq=','CFmXU','862404fNrzqn','&bkn=','1455BKIqqx','https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code=','headers','genBkn','129847bNmjZw','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code=','&msg_random=444021292','getGroupDigest','226020BorPhS','93831gVGRjN','JpGnD','addGroupDigest','length','afGhO','1625229eiBBXW','GET','VepUx','utBMM','YkHxF','defaultHeaders','MpBSl','init','toString','kVfpJ','cookie','&page_start=0&page_limit=20'];_0x5824=function(){return _0x59813a;};return _0x5824();}import{log}from'@/common/utils/log';function _0x44f5(_0x430e94,_0x3fc05c){const _0x582483=_0x5824();return _0x44f5=function(_0x44f52e,_0x30be5b){_0x44f52e=_0x44f52e-0x1bb;let _0x58ae39=_0x582483[_0x44f52e];return _0x58ae39;},_0x44f5(_0x430e94,_0x3fc05c);}export class WebApi{static [_0x447b25(0x1be)];static [_0x447b25(0x1c0)];static ['pskey'];static [_0x447b25(0x1de)];[_0x447b25(0x1d9)]={'User-Agent':'QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0'};constructor(){}async[_0x447b25(0x1d1)](_0x34f337,_0x5c2aeb){const _0x305fa5=_0x447b25,_0x3aa085=_0x305fa5(0x1cb)+_0x34f337+_0x305fa5(0x1c2)+_0x5c2aeb+_0x305fa5(0x1cc),_0xbac247=await this[_0x305fa5(0x1bb)](_0x3aa085);return await _0xbac247[_0x305fa5(0x1bf)]();}async[_0x447b25(0x1cd)](_0x15fef1){const _0xaaf645=_0x447b25,_0x33c1d5={'JpGnD':function(_0x480b63,_0x41e7b7){return _0x480b63(_0x41e7b7);}},_0x1c16fd=_0xaaf645(0x1c7)+_0x15fef1+_0xaaf645(0x1df),_0x1c4d9e=await this[_0xaaf645(0x1bb)](_0x1c16fd);return _0x33c1d5[_0xaaf645(0x1d0)](log,_0x1c4d9e[_0xaaf645(0x1c8)]),await _0x1c4d9e[_0xaaf645(0x1bf)]();}[_0x447b25(0x1c9)](_0x3a8099){const _0x58828e=_0x447b25,_0x2ca5aa={'YkHxF':function(_0x5146bf,_0x35f0b3){return _0x5146bf||_0x35f0b3;},'MpBSl':function(_0x5b456c,_0x351cb6){return _0x5b456c<_0x351cb6;},'utBMM':function(_0x1697de,_0x520433){return _0x1697de+_0x520433;},'YKntL':function(_0x4eae49,_0x129bdc){return _0x4eae49&_0x129bdc;}};_0x3a8099=_0x2ca5aa[_0x58828e(0x1d8)](_0x3a8099,'');let _0x30751e=0x1505;for(let _0x2434a5=0x0;_0x2ca5aa[_0x58828e(0x1da)](_0x2434a5,_0x3a8099[_0x58828e(0x1d2)]);_0x2434a5++){const _0x255291=_0x3a8099['charCodeAt'](_0x2434a5);_0x30751e=_0x2ca5aa[_0x58828e(0x1d7)](_0x2ca5aa['utBMM'](_0x30751e,_0x30751e<<0x5),_0x255291);}return _0x2ca5aa['YKntL'](_0x30751e,0x7fffffff)[_0x58828e(0x1dc)]();}async[_0x447b25(0x1db)](){const _0x423548=_0x447b25;if(!WebApi[_0x423548(0x1be)]){}}async[_0x447b25(0x1bb)](_0x28965b,_0x544ccf=_0x447b25(0x1d5),_0x1921d6={}){const _0x84e9f9=_0x447b25,_0x31d253={'afGhO':function(_0x34ea1d,_0x5c41ae){return _0x34ea1d+_0x5c41ae;},'kVfpJ':_0x84e9f9(0x1e3),'CFmXU':function(_0x73469c,_0x591ea7,_0x1765ce,_0x31674b){return _0x73469c(_0x591ea7,_0x1765ce,_0x31674b);},'WIiGs':'request','VepUx':function(_0x47a805,_0xa98a61,_0x48042b){return _0x47a805(_0xa98a61,_0x48042b);}};await this[_0x84e9f9(0x1db)](),_0x28965b+=_0x31d253[_0x84e9f9(0x1d3)](_0x84e9f9(0x1c5),WebApi[_0x84e9f9(0x1be)]);const _0x37f976={...this[_0x84e9f9(0x1d9)],..._0x1921d6,'Cookie':WebApi[_0x84e9f9(0x1de)],'credentials':_0x31d253[_0x84e9f9(0x1dd)]};_0x31d253[_0x84e9f9(0x1c3)](log,_0x31d253[_0x84e9f9(0x1e1)],_0x28965b,_0x37f976);const _0x2b5a8b={'method':_0x544ccf,'headers':_0x37f976};return _0x31d253[_0x84e9f9(0x1d6)](fetch,_0x28965b,_0x2b5a8b);}} \ 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 18bb81ff..a9bae546 100644 --- a/src/core.lib/src/qqnt/apis/window.js +++ b/src/core.lib/src/qqnt/apis/window.js @@ -1 +1 @@ -var _0x52fdd6=_0x3a13;function _0x2841(){var _0x2495c9=['1371948nUrbVX','21KeokzX','1817890UcKqMi','358528YeouEH','1546265iZdggq','241256jZQDNP','6SwcnTL','GroupHomeWorkWindow','292624dlbsfH','GroupEssenceWindow','1688450UktGWD','18LJrvKX','GroupNotifyFilterWindow','#/group-home-work'];_0x2841=function(){return _0x2495c9;};return _0x2841();}function _0x3a13(_0x40f31b,_0x1bae1e){var _0x2841d9=_0x2841();return _0x3a13=function(_0x3a13bd,_0x25b637){_0x3a13bd=_0x3a13bd-0x18d;var _0x462571=_0x2841d9[_0x3a13bd];return _0x462571;},_0x3a13(_0x40f31b,_0x1bae1e);}(function(_0x4bb0bd,_0x20169c){var _0x123133=_0x3a13,_0xf9332=_0x4bb0bd();while(!![]){try{var _0x40dca6=parseInt(_0x123133(0x198))/0x1+parseInt(_0x123133(0x190))/0x2+-parseInt(_0x123133(0x191))/0x3*(parseInt(_0x123133(0x195))/0x4)+parseInt(_0x123133(0x19a))/0x5+-parseInt(_0x123133(0x196))/0x6*(parseInt(_0x123133(0x194))/0x7)+parseInt(_0x123133(0x193))/0x8+-parseInt(_0x123133(0x18d))/0x9*(parseInt(_0x123133(0x192))/0xa);if(_0x40dca6===_0x20169c)break;else _0xf9332['push'](_0xf9332['shift']());}catch(_0xc153cc){_0xf9332['push'](_0xf9332['shift']());}}}(_0x2841,0x56881));export class NTQQWindows{static [_0x52fdd6(0x197)]={'windowName':_0x52fdd6(0x197),'windowUrlHash':_0x52fdd6(0x18f)};static [_0x52fdd6(0x18e)]={'windowName':_0x52fdd6(0x18e),'windowUrlHash':'#/group-notify-filter'};static ['GroupEssenceWindow']={'windowName':_0x52fdd6(0x199),'windowUrlHash':'#/group-essence'};}export class NTQQWindowApi{} \ No newline at end of file +function _0x521e(){var _0x33adf8=['7059141BHboty','1270bIrDJy','386573vgVvuG','6784464wYencX','38096jnUSSo','GroupEssenceWindow','101TKMtJH','GroupNotifyFilterWindow','#/group-home-work','GroupHomeWorkWindow','132368pRXXlI','#/group-essence','15972wduSQg','318ujvPbx','2093830ZNfykx','133tGDqgg','#/group-notify-filter'];_0x521e=function(){return _0x33adf8;};return _0x521e();}var _0xad48dc=_0x22d1;(function(_0x5e7a4d,_0x98e132){var _0x3d8de1=_0x22d1,_0x3ae5b5=_0x5e7a4d();while(!![]){try{var _0x391d92=parseInt(_0x3d8de1(0x1dd))/0x1*(-parseInt(_0x3d8de1(0x1e3))/0x2)+-parseInt(_0x3d8de1(0x1e4))/0x3*(parseInt(_0x3d8de1(0x1db))/0x4)+parseInt(_0x3d8de1(0x1d4))/0x5+-parseInt(_0x3d8de1(0x1da))/0x6+parseInt(_0x3d8de1(0x1d5))/0x7*(-parseInt(_0x3d8de1(0x1e1))/0x8)+-parseInt(_0x3d8de1(0x1d7))/0x9+parseInt(_0x3d8de1(0x1d8))/0xa*(parseInt(_0x3d8de1(0x1d9))/0xb);if(_0x391d92===_0x98e132)break;else _0x3ae5b5['push'](_0x3ae5b5['shift']());}catch(_0x4ad141){_0x3ae5b5['push'](_0x3ae5b5['shift']());}}}(_0x521e,0xcc2ea));function _0x22d1(_0x1514d1,_0x59145c){var _0x521ed3=_0x521e();return _0x22d1=function(_0x22d10f,_0x50a268){_0x22d10f=_0x22d10f-0x1d4;var _0x3e5d51=_0x521ed3[_0x22d10f];return _0x3e5d51;},_0x22d1(_0x1514d1,_0x59145c);}export class NTQQWindows{static [_0xad48dc(0x1e0)]={'windowName':_0xad48dc(0x1e0),'windowUrlHash':_0xad48dc(0x1df)};static [_0xad48dc(0x1de)]={'windowName':'GroupNotifyFilterWindow','windowUrlHash':_0xad48dc(0x1d6)};static [_0xad48dc(0x1dc)]={'windowName':'GroupEssenceWindow','windowUrlHash':_0xad48dc(0x1e2)};}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 a19c1d89..4788694f 100644 --- a/src/core.lib/src/qqnt/entities/cache.js +++ b/src/core.lib/src/qqnt/entities/cache.js @@ -1 +1 @@ -function _0x422d(){var _0xb57a1f=['57972pyxOYa','IMAGE','60iLxYbP','2oyciXe','12qlOjxu','3119960qipSah','1444425AxZTgK','DOCUMENT','bQUcM','mOELh','OTHER','2896490qGitGv','12752410jVjAmj','cywGy','18226362OZgGsg','13425664wBZvGo','36rttZRT','gYBgv'];_0x422d=function(){return _0xb57a1f;};return _0x422d();}function _0x536f(_0x2bcc41,_0x4eec9a){var _0x422d84=_0x422d();return _0x536f=function(_0x536f88,_0x61200e){_0x536f88=_0x536f88-0xe3;var _0x16f926=_0x422d84[_0x536f88];return _0x16f926;},_0x536f(_0x2bcc41,_0x4eec9a);}(function(_0x175a9f,_0x1bdbe1){var _0x3773f7=_0x536f,_0x2adc71=_0x175a9f();while(!![]){try{var _0x24eabc=parseInt(_0x3773f7(0xe6))/0x1*(-parseInt(_0x3773f7(0xe3))/0x2)+parseInt(_0x3773f7(0xf2))/0x3*(parseInt(_0x3773f7(0xf4))/0x4)+parseInt(_0x3773f7(0xeb))/0x5*(-parseInt(_0x3773f7(0xe4))/0x6)+parseInt(_0x3773f7(0xef))/0x7+parseInt(_0x3773f7(0xe5))/0x8*(-parseInt(_0x3773f7(0xf0))/0x9)+parseInt(_0x3773f7(0xec))/0xa+parseInt(_0x3773f7(0xee))/0xb;if(_0x24eabc===_0x1bdbe1)break;else _0x2adc71['push'](_0x2adc71['shift']());}catch(_0x16a29b){_0x2adc71['push'](_0x2adc71['shift']());}}}(_0x422d,0xee862));export var CacheFileType;(function(_0x29baf5){var _0x594c13=_0x536f,_0x2239dd={'mOELh':_0x594c13(0xf3),'bQUcM':'AUDIO','gYBgv':'VIDEO','xSEJy':'OTHER','cywGy':_0x594c13(0xe7)},_0x52701a='0|2|1|4|3'['split']('|'),_0x277ce1=0x0;while(!![]){switch(_0x52701a[_0x277ce1++]){case'0':_0x29baf5[_0x29baf5[_0x2239dd[_0x594c13(0xe9)]]=0x0]=_0x594c13(0xf3);continue;case'1':_0x29baf5[_0x29baf5['AUDIO']=0x2]=_0x2239dd[_0x594c13(0xe8)];continue;case'2':_0x29baf5[_0x29baf5[_0x2239dd[_0x594c13(0xf1)]]=0x1]=_0x2239dd[_0x594c13(0xf1)];continue;case'3':_0x29baf5[_0x29baf5[_0x2239dd['xSEJy']]=0x4]=_0x594c13(0xea);continue;case'4':_0x29baf5[_0x29baf5['DOCUMENT']=0x3]=_0x2239dd[_0x594c13(0xed)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x9634(){var _0x4f7a62=['138qcUzkH','AQhpq','8ETqkLK','hkESv','13383326DCFGaZ','1415202apEvKv','171zJiCNa','912919eWeZfc','DOCUMENT','185894JtlDZu','414316MtZxXF','18640lxwwEZ','IMAGE','4OKPJIo','OTHER','119740LcVYkN','AUDIO','IrUoN','VIDEO','mJCEE'];_0x9634=function(){return _0x4f7a62;};return _0x9634();}(function(_0x34f60c,_0x13f860){var _0x521222=_0x4be1,_0x2905b3=_0x34f60c();while(!![]){try{var _0x463b86=-parseInt(_0x521222(0xf7))/0x1+-parseInt(_0x521222(0xf6))/0x2+-parseInt(_0x521222(0xf2))/0x3*(-parseInt(_0x521222(0xfa))/0x4)+parseInt(_0x521222(0xfc))/0x5*(-parseInt(_0x521222(0x101))/0x6)+-parseInt(_0x521222(0xf4))/0x7*(parseInt(_0x521222(0xef))/0x8)+-parseInt(_0x521222(0xf3))/0x9*(-parseInt(_0x521222(0xf8))/0xa)+parseInt(_0x521222(0xf1))/0xb;if(_0x463b86===_0x13f860)break;else _0x2905b3['push'](_0x2905b3['shift']());}catch(_0x429281){_0x2905b3['push'](_0x2905b3['shift']());}}}(_0x9634,0x82b24));function _0x4be1(_0x150f6b,_0x49f53){var _0x96345c=_0x9634();return _0x4be1=function(_0x4be103,_0xa966ae){_0x4be103=_0x4be103-0xef;var _0x2b74f9=_0x96345c[_0x4be103];return _0x2b74f9;},_0x4be1(_0x150f6b,_0x49f53);}export var CacheFileType;(function(_0x45b59b){var _0x3a1171=_0x4be1,_0x4f79d7={'VeYZL':_0x3a1171(0xf9),'AQhpq':_0x3a1171(0xff),'hkESv':_0x3a1171(0xfd),'IrUoN':_0x3a1171(0xf5),'mJCEE':_0x3a1171(0xfb)};_0x45b59b[_0x45b59b[_0x3a1171(0xf9)]=0x0]=_0x4f79d7['VeYZL'],_0x45b59b[_0x45b59b[_0x4f79d7[_0x3a1171(0x102)]]=0x1]=_0x4f79d7[_0x3a1171(0x102)],_0x45b59b[_0x45b59b[_0x4f79d7[_0x3a1171(0xf0)]]=0x2]=_0x4f79d7[_0x3a1171(0xf0)],_0x45b59b[_0x45b59b[_0x4f79d7['IrUoN']]=0x3]=_0x4f79d7[_0x3a1171(0xfe)],_0x45b59b[_0x45b59b[_0x4f79d7[_0x3a1171(0x100)]]=0x4]=_0x4f79d7[_0x3a1171(0x100)];}(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 a209816e..68a8a116 100644 --- a/src/core.lib/src/qqnt/entities/constructor.js +++ b/src/core.lib/src/qqnt/entities/constructor.js @@ -1 +1 @@ -const _0x13f5a8=_0x1f16;(function(_0xee30f1,_0x34968b){const _0x2afa9e=_0x1f16,_0x84b61e=_0xee30f1();while(!![]){try{const _0x2da0c6=-parseInt(_0x2afa9e(0x192))/0x1+-parseInt(_0x2afa9e(0x165))/0x2+parseInt(_0x2afa9e(0x16f))/0x3*(parseInt(_0x2afa9e(0x1a6))/0x4)+-parseInt(_0x2afa9e(0x167))/0x5+-parseInt(_0x2afa9e(0x1aa))/0x6+parseInt(_0x2afa9e(0x19b))/0x7+-parseInt(_0x2afa9e(0x1a0))/0x8*(-parseInt(_0x2afa9e(0x17f))/0x9);if(_0x2da0c6===_0x34968b)break;else _0x84b61e['push'](_0x84b61e['shift']());}catch(_0x4b737e){_0x84b61e['push'](_0x84b61e['shift']());}}}(_0x18a3,0xb6d4f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'../entities';import{promises as _0x51d468}from'node:fs';function _0x1f16(_0x2d0bba,_0xdcd2c){const _0x18a3d3=_0x18a3();return _0x1f16=function(_0x1f1678,_0x16a8ba){_0x1f1678=_0x1f1678-0x161;let _0x10698d=_0x18a3d3[_0x1f1678];return _0x10698d;},_0x1f16(_0x2d0bba,_0xdcd2c);}import _0x442333 from'fluent-ffmpeg';function _0x18a3(){const _0xa2d529=['uSFlN','_0.png','error','ZlyLa','DMnaj','KTJIk','time','2889JJtzxm','jpg','width','normal2','视频信息','RPS','toString','ARK','gif','FACE','height','GZIFj','nNctJ','normal','face','HsGaJ','NGBiH','PTT','TEXT','1037285LxqYSl','VIDEO','LzkAN','OKcaq','video','[骰子]','uploadFile','Ori','size','9532397yPYdfx','AjwNI','yHBzq','BWcnp','图片信息','31984huabQe','获取视频封面失败,使用默认封面','文件异常,大小为0','notAt','FILE','copyFile','8RqiLlh','file','kCPwD','then','2236674hmNCMg','RoVvv','rps','twrEC','sep','ZAxDh','1881266rYjgVa','screenshots','1805555YeFUir','reply','rBTcI','mp4','path','writeFile','text','获取视频信息失败','1223337OAVtra','Thumb','end','fLLLT','Uexlo','catch','PIC','dirname','replace'];_0x18a3=function(){return _0xa2d529;};return _0x18a3();}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';import{encodeSilk}from'@/common/utils/audio';export class SendMsgElementConstructor{static[_0x13f5a8(0x16d)](_0x4e2153){const _0x1ec767=_0x13f5a8;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x4e2153,'atType':AtType[_0x1ec767(0x1a3)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x47d66e,_0x2ffa08,_0x10dda1,_0x762f9f){const _0x2a0f04=_0x13f5a8;return{'elementType':ElementType[_0x2a0f04(0x191)],'elementId':'','textElement':{'content':'@'+_0x762f9f,'atType':_0x10dda1,'atUid':_0x47d66e,'atTinyId':'','atNtUid':_0x2ffa08}};}static[_0x13f5a8(0x168)](_0x438cf4,_0x16900a,_0xffbf80,_0x30830b){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x438cf4,'replayMsgId':_0x16900a,'senderUin':_0xffbf80,'senderUinStr':_0x30830b}};}static async['pic'](_0x1141a6,_0x4fa18b='',_0x123e62=0x0){const _0x5ef1b2=_0x13f5a8,_0xd31729={'ZAxDh':function(_0x359c57,_0x5a1d8e){return _0x359c57===_0x5a1d8e;},'KTJIk':_0x5ef1b2(0x1a2),'nNctJ':function(_0xda3cbd,_0x2b1b89){return _0xda3cbd(_0x2b1b89);},'aFcao':function(_0x2c6330,_0x3fdc71,_0x15b9ed){return _0x2c6330(_0x3fdc71,_0x15b9ed);},'DMnaj':_0x5ef1b2(0x19f)},{md5:_0x1cb8d5,fileName:_0x35615c,path:_0x4471c1,fileSize:_0x43f7d8}=await NTQQFileApi[_0x5ef1b2(0x198)](_0x1141a6,ElementType[_0x5ef1b2(0x175)],_0x123e62);if(_0xd31729[_0x5ef1b2(0x164)](_0x43f7d8,0x0))throw _0xd31729[_0x5ef1b2(0x17d)];const _0x3424f7=await NTQQFileApi['getImageSize'](_0x1141a6),_0xeec5bc={'md5HexStr':_0x1cb8d5,'fileSize':_0x43f7d8[_0x5ef1b2(0x185)](),'picWidth':_0x3424f7?.['width'],'picHeight':_0x3424f7?.[_0x5ef1b2(0x189)],'fileName':_0x35615c,'sourcePath':_0x4471c1,'original':!![],'picType':_0xd31729[_0x5ef1b2(0x18b)](isGIF,_0x1141a6)?PicType[_0x5ef1b2(0x187)]:PicType[_0x5ef1b2(0x180)],'picSubType':_0x123e62,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4fa18b};return _0xd31729['aFcao'](log,_0xd31729[_0x5ef1b2(0x17c)],_0xeec5bc),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xeec5bc};}static async[_0x13f5a8(0x1a7)](_0x2825fd,_0x87d16d=''){const _0x6e01f2=_0x13f5a8,_0x1d77e7={'uSFlN':function(_0x301ce9,_0x55edc3){return _0x301ce9===_0x55edc3;},'HsGaJ':_0x6e01f2(0x1a2),'twrEC':function(_0x54d588,_0x68012c){return _0x54d588||_0x68012c;}},{md5:_0x5b14d0,fileName:_0x5bfc60,path:_0x130bf8,fileSize:_0x178f5e}=await NTQQFileApi[_0x6e01f2(0x198)](_0x2825fd,ElementType[_0x6e01f2(0x1a4)]);if(_0x1d77e7[_0x6e01f2(0x178)](_0x178f5e,0x0))throw _0x1d77e7[_0x6e01f2(0x18e)];const _0x1678b3={'elementType':ElementType[_0x6e01f2(0x1a4)],'elementId':'','fileElement':{'fileName':_0x1d77e7[_0x6e01f2(0x162)](_0x87d16d,_0x5bfc60),'filePath':_0x130bf8,'fileSize':_0x178f5e['toString']()}};return _0x1678b3;}static async[_0x13f5a8(0x196)](_0x31d2cc,_0x42c05a='',_0x407a75=''){const _0x27cbb9=_0x13f5a8,_0x3486bd={'RoVvv':function(_0x3128b6,_0x5a3e1d,_0x2ab04d){return _0x3128b6(_0x5a3e1d,_0x2ab04d);},'NGBiH':_0x27cbb9(0x1a1),'rBTcI':function(_0xd6c783,_0x34d783){return _0xd6c783(_0x34d783);},'Uexlo':function(_0x411308,_0x2de3e4){return _0x411308(_0x2de3e4);},'GZIFj':_0x27cbb9(0x171),'qEAQc':_0x27cbb9(0x17a),'QRdzk':function(_0x45bbe6,_0xd47ead){return _0x45bbe6+_0xd47ead;},'yHBzq':function(_0x8db56d,_0x5cb93a){return _0x8db56d===_0x5cb93a;},'kCPwD':_0x27cbb9(0x16b),'LzkAN':function(_0x4cf8b5,_0x247f88){return _0x4cf8b5(_0x247f88);},'OKcaq':_0x27cbb9(0x183),'AjwNI':function(_0x4b2510,_0x4f22a0){return _0x4b2510(_0x4f22a0);}},{fileName:_0x406cee,path:_0x324f0e,fileSize:_0x1c69d6,md5:_0x2ce2e9}=await NTQQFileApi['uploadFile'](_0x31d2cc,ElementType[_0x27cbb9(0x193)]);if(_0x3486bd[_0x27cbb9(0x19d)](_0x1c69d6,0x0))throw'文件异常,大小为0';const _0x1aeeed=_0x3486bd[_0x27cbb9(0x173)](require,_0x3486bd[_0x27cbb9(0x1a8)]);let _0x178f6b=_0x324f0e[_0x27cbb9(0x177)](_0x1aeeed[_0x27cbb9(0x163)]+_0x27cbb9(0x199)+_0x1aeeed[_0x27cbb9(0x163)],_0x1aeeed[_0x27cbb9(0x163)]+_0x27cbb9(0x170)+_0x1aeeed['sep']);_0x178f6b=_0x1aeeed[_0x27cbb9(0x176)](_0x178f6b);let _0x4aeb9d={'width':0x780,'height':0x438,'time':0xf,'format':_0x27cbb9(0x16a),'size':_0x1c69d6,'filePath':_0x31d2cc};try{_0x4aeb9d=await _0x3486bd[_0x27cbb9(0x194)](getVideoInfo,_0x324f0e),log(_0x3486bd[_0x27cbb9(0x195)],_0x4aeb9d);}catch(_0xe34bcb){_0x3486bd[_0x27cbb9(0x1ab)](log,_0x27cbb9(0x16e),_0xe34bcb);}const _0x212d1f=new Promise((_0x2c2421,_0x4c934d)=>{const _0x2cb2b4=_0x27cbb9,_0x145897={'ZlyLa':function(_0x3c5616,_0x9b74a){const _0x5cda48=_0x1f16;return _0x3486bd[_0x5cda48(0x169)](_0x3c5616,_0x9b74a);}},_0x4198ac=_0x2ce2e9+_0x2cb2b4(0x179),_0x513752=_0x1aeeed['join'](_0x178f6b,_0x4198ac);_0x3486bd[_0x2cb2b4(0x173)](_0x442333,_0x31d2cc)['on'](_0x3486bd['GZIFj'],()=>{})['on'](_0x3486bd['qEAQc'],_0x550af3=>{const _0x3e0bf1=_0x2cb2b4;_0x3486bd['RoVvv'](log,_0x3486bd[_0x3e0bf1(0x18f)],_0x550af3),_0x407a75?_0x51d468[_0x3e0bf1(0x1a5)](_0x407a75,_0x513752)['then'](()=>{_0x145897['ZlyLa'](_0x2c2421,_0x513752);})[_0x3e0bf1(0x174)](_0x4c934d):_0x51d468[_0x3e0bf1(0x16c)](_0x513752,defaultVideoThumb)[_0x3e0bf1(0x1a9)](()=>{const _0x15209c=_0x3e0bf1;_0x145897[_0x15209c(0x17b)](_0x2c2421,_0x513752);})[_0x3e0bf1(0x174)](_0x4c934d);})[_0x2cb2b4(0x166)]({'timestamps':[0x0],'filename':_0x4198ac,'folder':_0x178f6b,'size':_0x3486bd['QRdzk'](_0x4aeb9d[_0x2cb2b4(0x181)]+'x',_0x4aeb9d[_0x2cb2b4(0x189)])})['on'](_0x3486bd[_0x2cb2b4(0x18a)],()=>{const _0x4d160a=_0x2cb2b4;_0x3486bd[_0x4d160a(0x169)](_0x2c2421,_0x513752);});}),_0x3369af=new Map(),_0x5d6a18=await _0x212d1f,_0x4b9299=(await _0x51d468['stat'](_0x5d6a18))[_0x27cbb9(0x19a)];_0x3369af['set'](0x0,_0x5d6a18);const _0x3d243a=await _0x3486bd[_0x27cbb9(0x19c)](calculateFileMD5,_0x5d6a18),_0x18b63f={'elementType':ElementType[_0x27cbb9(0x193)],'elementId':'','videoElement':{'fileName':_0x42c05a||_0x406cee,'filePath':_0x324f0e,'videoMd5':_0x2ce2e9,'thumbMd5':_0x3d243a,'fileTime':_0x4aeb9d[_0x27cbb9(0x17e)],'thumbPath':_0x3369af,'thumbSize':_0x4b9299,'thumbWidth':_0x4aeb9d[_0x27cbb9(0x181)],'thumbHeight':_0x4aeb9d[_0x27cbb9(0x189)],'fileSize':''+_0x1c69d6}};return _0x18b63f;}static async['ptt'](_0x2138d2){const _0x2355ab=_0x13f5a8,_0x59ac17={'qenPI':function(_0x29725f,_0x13aa61){return _0x29725f(_0x13aa61);}},{converted:_0x59ddeb,path:_0x14f5d1,duration:_0x4e540a}=await _0x59ac17['qenPI'](encodeSilk,_0x2138d2),{md5:_0x1a4c52,fileName:_0x44f8f0,path:_0x58950a,fileSize:_0x3fe4aa}=await NTQQFileApi['uploadFile'](_0x14f5d1,ElementType[_0x2355ab(0x190)]);if(_0x3fe4aa===0x0)throw _0x2355ab(0x1a2);return _0x59ddeb&&_0x51d468['unlink'](_0x14f5d1)[_0x2355ab(0x1a9)](),{'elementType':ElementType[_0x2355ab(0x190)],'elementId':'','pttElement':{'fileName':_0x44f8f0,'filePath':_0x58950a,'md5HexStr':_0x1a4c52,'fileSize':_0x3fe4aa,'duration':_0x4e540a||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[_0x13f5a8(0x18d)](_0x437fbd){const _0x3e412d=_0x13f5a8,_0x2d352c={'fLLLT':function(_0x247acc,_0x540ed7){return _0x247acc<_0x540ed7;}};return{'elementType':ElementType[_0x3e412d(0x188)],'elementId':'','faceElement':{'faceIndex':_0x437fbd,'faceType':_0x2d352c[_0x3e412d(0x172)](_0x437fbd,0xde)?FaceType[_0x3e412d(0x18c)]:FaceType[_0x3e412d(0x182)]}};}static['dice'](_0x287170){const _0x1ea55f=_0x13f5a8;return{'elementType':ElementType[_0x1ea55f(0x188)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x1ea55f(0x197),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x13f5a8(0x161)](_0x134ce4){const _0x28ad2a=_0x13f5a8,_0xaad355={'BWcnp':'[包剪锤]'};return{'elementType':ElementType[_0x28ad2a(0x188)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x28ad2a(0x184)],'faceText':_0xaad355[_0x28ad2a(0x19e)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x142847){const _0x3113be=_0x13f5a8;return{'elementType':ElementType[_0x3113be(0x186)],'elementId':'','arkElement':{'bytesData':_0x142847,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x216785=_0x3587;(function(_0x39ce8d,_0x4b164c){const _0x5a00b8=_0x3587,_0x19709b=_0x39ce8d();while(!![]){try{const _0x5f0029=-parseInt(_0x5a00b8(0x166))/0x1*(-parseInt(_0x5a00b8(0x159))/0x2)+-parseInt(_0x5a00b8(0x169))/0x3*(parseInt(_0x5a00b8(0x154))/0x4)+parseInt(_0x5a00b8(0x191))/0x5+-parseInt(_0x5a00b8(0x15e))/0x6+parseInt(_0x5a00b8(0x174))/0x7*(-parseInt(_0x5a00b8(0x17d))/0x8)+parseInt(_0x5a00b8(0x194))/0x9+-parseInt(_0x5a00b8(0x197))/0xa;if(_0x5f0029===_0x4b164c)break;else _0x19709b['push'](_0x19709b['shift']());}catch(_0x49d369){_0x19709b['push'](_0x19709b['shift']());}}}(_0x53b9,0x7715d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'../entities';import{promises as _0x420ef5}from'node:fs';function _0x53b9(){const _0x2e27aa=['iWHkt','then','PWjWN','48vzecad','TEXT','denTM','RvEDH','face','1484870KKmBjL','HWbhC','copyFile','normal2','XVWNr','659922uhseLr','width','QduwI','图片信息','jpg','sep','Ori','UMkaf','1hhcylk','SUHDh','文件异常,大小为0','1371aawGbm','toString','text','FDWyI','dice','catch','notAt','hZFik','GOtNv','获取视频信息失败','_0.png','70POEPsC','PIC','qxhsh','ark','RPS','视频信息','IrsxB','height','set','392944KPoRKp','mp4','stat','FACE','FILE','replace','writeFile','[骰子]','rps','VIDEO','path','YalGi','end','uploadFile','REPLY','ptt','sDmKp','PTT','video','time','868945jFddPh','获取视频封面失败,使用默认封面','join','7063524YpbFGF','pic','dirname','6066360dXciKl','size','DMoXI'];_0x53b9=function(){return _0x2e27aa;};return _0x53b9();}import _0x171841 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/qqnt/apis/file';function _0x3587(_0x47af47,_0x5bea8c){const _0x53b955=_0x53b9();return _0x3587=function(_0x3587da,_0x3fa7f5){_0x3587da=_0x3587da-0x154;let _0x3f521e=_0x53b955[_0x3587da];return _0x3f521e;},_0x3587(_0x47af47,_0x5bea8c);}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{log}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export class SendMsgElementConstructor{static[_0x216785(0x16b)](_0x1ac664){const _0x18cf1d=_0x216785;return{'elementType':ElementType[_0x18cf1d(0x155)],'elementId':'','textElement':{'content':_0x1ac664,'atType':AtType[_0x18cf1d(0x16f)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x188637,_0x35543d,_0x45c021,_0x4f10bc){const _0x341dca=_0x216785;return{'elementType':ElementType[_0x341dca(0x155)],'elementId':'','textElement':{'content':'@'+_0x4f10bc,'atType':_0x45c021,'atUid':_0x188637,'atTinyId':'','atNtUid':_0x35543d}};}static['reply'](_0x35b62a,_0x4e6d29,_0x49a557,_0x571aa2){const _0x3e0156=_0x216785;return{'elementType':ElementType[_0x3e0156(0x18b)],'elementId':'','replyElement':{'replayMsgSeq':_0x35b62a,'replayMsgId':_0x4e6d29,'senderUin':_0x49a557,'senderUinStr':_0x571aa2}};}static async[_0x216785(0x195)](_0x5cb52a,_0x422a94='',_0x3f70a0=0x0){const _0x2e69ec=_0x216785,_0x2d22ec={'oICdr':function(_0x352702,_0x408f40){return _0x352702===_0x408f40;},'XVWNr':_0x2e69ec(0x168),'bmfGQ':function(_0x5030db,_0x28a513){return _0x5030db(_0x28a513);},'qxhsh':function(_0x36dead,_0xc043e3,_0x432938){return _0x36dead(_0xc043e3,_0x432938);}},{md5:_0x53bd69,fileName:_0x2bdd5f,path:_0x864d96,fileSize:_0x1ba0d1}=await NTQQFileApi['uploadFile'](_0x5cb52a,ElementType[_0x2e69ec(0x175)],_0x3f70a0);if(_0x2d22ec['oICdr'](_0x1ba0d1,0x0))throw _0x2d22ec[_0x2e69ec(0x15d)];const _0x2865d7=await NTQQFileApi['getImageSize'](_0x5cb52a),_0x347175={'md5HexStr':_0x53bd69,'fileSize':_0x1ba0d1[_0x2e69ec(0x16a)](),'picWidth':_0x2865d7?.['width'],'picHeight':_0x2865d7?.[_0x2e69ec(0x17b)],'fileName':_0x2bdd5f,'sourcePath':_0x864d96,'original':!![],'picType':_0x2d22ec['bmfGQ'](isGIF,_0x5cb52a)?PicType['gif']:PicType[_0x2e69ec(0x162)],'picSubType':_0x3f70a0,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x422a94};return _0x2d22ec[_0x2e69ec(0x176)](log,_0x2e69ec(0x161),_0x347175),{'elementType':ElementType[_0x2e69ec(0x175)],'elementId':'','picElement':_0x347175};}static async['file'](_0x3f476a,_0x4c9ca7=''){const _0x50a44f=_0x216785,_0x17f8e0={'DMoXI':function(_0x2442b7,_0x97c7ab){return _0x2442b7===_0x97c7ab;},'gVfTY':_0x50a44f(0x168)},{md5:_0x450245,fileName:_0x493f5a,path:_0x51a8c6,fileSize:_0x26426c}=await NTQQFileApi[_0x50a44f(0x18a)](_0x3f476a,ElementType[_0x50a44f(0x181)]);if(_0x17f8e0[_0x50a44f(0x199)](_0x26426c,0x0))throw _0x17f8e0['gVfTY'];const _0x35dc35={'elementType':ElementType[_0x50a44f(0x181)],'elementId':'','fileElement':{'fileName':_0x4c9ca7||_0x493f5a,'filePath':_0x51a8c6,'fileSize':_0x26426c[_0x50a44f(0x16a)]()}};return _0x35dc35;}static async[_0x216785(0x18f)](_0x7c206e,_0x4b8b2d='',_0x27e911=''){const _0x5a91d9=_0x216785,_0x2b254d={'denTM':function(_0x58712b,_0x4a0595){return _0x58712b(_0x4a0595);},'RvEDH':function(_0x340b31,_0x12cd1c){return _0x340b31(_0x12cd1c);},'HWbhC':_0x5a91d9(0x192),'YalGi':function(_0x508349,_0x1828d9){return _0x508349+_0x1828d9;},'aJcaA':function(_0x2e2e43,_0x380f5e){return _0x2e2e43+_0x380f5e;},'IrsxB':_0x5a91d9(0x189),'SUHDh':function(_0x18ea74,_0x2b8dde){return _0x18ea74===_0x2b8dde;},'qOhqS':_0x5a91d9(0x168),'OTlMu':function(_0x42b054,_0x35a1a0){return _0x42b054(_0x35a1a0);},'GOtNv':_0x5a91d9(0x187),'taQTw':function(_0x221a94,_0x52fc3a){return _0x221a94(_0x52fc3a);},'FDWyI':function(_0x250595,_0x403255,_0x564632){return _0x250595(_0x403255,_0x564632);},'Rlzwl':_0x5a91d9(0x179),'hZFik':function(_0x46a466,_0x58b196,_0x17f84b){return _0x46a466(_0x58b196,_0x17f84b);},'YrdRT':_0x5a91d9(0x172),'iWHkt':function(_0x12e0d3,_0x5c9c94){return _0x12e0d3||_0x5c9c94;}},{fileName:_0x492866,path:_0x5d24a2,fileSize:_0x364119,md5:_0x13bd03}=await NTQQFileApi[_0x5a91d9(0x18a)](_0x7c206e,ElementType[_0x5a91d9(0x186)]);if(_0x2b254d[_0x5a91d9(0x167)](_0x364119,0x0))throw _0x2b254d['qOhqS'];const _0x3f72d3=_0x2b254d['OTlMu'](require,_0x2b254d[_0x5a91d9(0x171)]);let _0x46c34c=_0x5d24a2[_0x5a91d9(0x182)](_0x3f72d3[_0x5a91d9(0x163)]+_0x5a91d9(0x164)+_0x3f72d3[_0x5a91d9(0x163)],_0x3f72d3[_0x5a91d9(0x163)]+'Thumb'+_0x3f72d3['sep']);_0x46c34c=_0x3f72d3[_0x5a91d9(0x196)](_0x46c34c);let _0x4d7a40={'width':0x780,'height':0x438,'time':0xf,'format':_0x5a91d9(0x17e),'size':_0x364119,'filePath':_0x7c206e};try{_0x4d7a40=await _0x2b254d['taQTw'](getVideoInfo,_0x5d24a2),_0x2b254d[_0x5a91d9(0x16c)](log,_0x2b254d['Rlzwl'],_0x4d7a40);}catch(_0x24263e){_0x2b254d[_0x5a91d9(0x170)](log,_0x2b254d['YrdRT'],_0x24263e);}const _0x1d5321=new Promise((_0x25a4f8,_0x2a7911)=>{const _0x36baef=_0x5a91d9,_0x1922b2=_0x13bd03+_0x36baef(0x173),_0x52e54d=_0x3f72d3[_0x36baef(0x193)](_0x46c34c,_0x1922b2);_0x2b254d['RvEDH'](_0x171841,_0x7c206e)['on'](_0x36baef(0x189),()=>{})['on']('error',_0x8c00a=>{const _0x451112=_0x36baef,_0x238cc7={'sDmKp':function(_0x5d92f5,_0x57e646){const _0x143b3a=_0x3587;return _0x2b254d[_0x143b3a(0x156)](_0x5d92f5,_0x57e646);},'QduwI':function(_0x18b2e4,_0x446435){const _0x2a7b3d=_0x3587;return _0x2b254d[_0x2a7b3d(0x157)](_0x18b2e4,_0x446435);}};log(_0x2b254d[_0x451112(0x15a)],_0x8c00a),_0x27e911?_0x420ef5[_0x451112(0x15b)](_0x27e911,_0x52e54d)[_0x451112(0x19b)](()=>{const _0x1460ff=_0x451112;_0x238cc7[_0x1460ff(0x18d)](_0x25a4f8,_0x52e54d);})[_0x451112(0x16e)](_0x2a7911):_0x420ef5[_0x451112(0x183)](_0x52e54d,defaultVideoThumb)[_0x451112(0x19b)](()=>{const _0x6530e2=_0x451112;_0x238cc7[_0x6530e2(0x160)](_0x25a4f8,_0x52e54d);})['catch'](_0x2a7911);})['screenshots']({'timestamps':[0x0],'filename':_0x1922b2,'folder':_0x46c34c,'size':_0x2b254d[_0x36baef(0x188)](_0x2b254d['aJcaA'](_0x4d7a40[_0x36baef(0x15f)],'x'),_0x4d7a40[_0x36baef(0x17b)])})['on'](_0x2b254d[_0x36baef(0x17a)],()=>{_0x25a4f8(_0x52e54d);});}),_0x125648=new Map(),_0x2fc766=await _0x1d5321,_0xa84d77=(await _0x420ef5[_0x5a91d9(0x17f)](_0x2fc766))[_0x5a91d9(0x198)];_0x125648[_0x5a91d9(0x17c)](0x0,_0x2fc766);const _0x536191=await calculateFileMD5(_0x2fc766),_0xe08a35={'elementType':ElementType[_0x5a91d9(0x186)],'elementId':'','videoElement':{'fileName':_0x2b254d[_0x5a91d9(0x19a)](_0x4b8b2d,_0x492866),'filePath':_0x5d24a2,'videoMd5':_0x13bd03,'thumbMd5':_0x536191,'fileTime':_0x4d7a40[_0x5a91d9(0x190)],'thumbPath':_0x125648,'thumbSize':_0xa84d77,'thumbWidth':_0x4d7a40[_0x5a91d9(0x15f)],'thumbHeight':_0x4d7a40[_0x5a91d9(0x17b)],'fileSize':''+_0x364119}};return _0xe08a35;}static async[_0x216785(0x18c)](_0x271e11){const _0x3e1b92=_0x216785,_0x5d7ea4={'PWjWN':function(_0x251e84,_0x2afc0e){return _0x251e84(_0x2afc0e);},'MCqiG':function(_0x1d0d59,_0x41ee97){return _0x1d0d59===_0x41ee97;},'Gommb':function(_0x337fa9,_0x7389a){return _0x337fa9||_0x7389a;}},{converted:_0x4d9b7b,path:_0x54f482,duration:_0x35c78a}=await _0x5d7ea4[_0x3e1b92(0x19c)](encodeSilk,_0x271e11),{md5:_0x365805,fileName:_0xdee99c,path:_0x4f0190,fileSize:_0x57a450}=await NTQQFileApi[_0x3e1b92(0x18a)](_0x54f482,ElementType[_0x3e1b92(0x18e)]);if(_0x5d7ea4['MCqiG'](_0x57a450,0x0))throw _0x3e1b92(0x168);return _0x4d9b7b&&_0x420ef5['unlink'](_0x54f482)[_0x3e1b92(0x19b)](),{'elementType':ElementType[_0x3e1b92(0x18e)],'elementId':'','pttElement':{'fileName':_0xdee99c,'filePath':_0x4f0190,'md5HexStr':_0x365805,'fileSize':_0x57a450,'duration':_0x5d7ea4['Gommb'](_0x35c78a,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[_0x216785(0x158)](_0x2c5322){const _0x3f34e8=_0x216785,_0x3fd94e={'HaNFO':function(_0x175ee8,_0x4e2f40){return _0x175ee8<_0x4e2f40;}};return{'elementType':ElementType[_0x3f34e8(0x180)],'elementId':'','faceElement':{'faceIndex':_0x2c5322,'faceType':_0x3fd94e['HaNFO'](_0x2c5322,0xde)?FaceType['normal']:FaceType[_0x3f34e8(0x15c)]}};}static[_0x216785(0x16d)](_0x41be6d){const _0x57917b=_0x216785;return{'elementType':ElementType[_0x57917b(0x180)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x57917b(0x16d)],'faceText':_0x57917b(0x184),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x216785(0x185)](_0x29cc58){const _0x3e3dc3=_0x216785,_0x183836={'UMkaf':'[包剪锤]'};return{'elementType':ElementType[_0x3e3dc3(0x180)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3e3dc3(0x178)],'faceText':_0x183836[_0x3e3dc3(0x165)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x216785(0x177)](_0x329b99){return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x329b99,'linkInfo':null,'subElementType':null}};}} \ 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 3f8b94eb..0ba26496 100644 --- a/src/core.lib/src/qqnt/entities/group.js +++ b/src/core.lib/src/qqnt/entities/group.js @@ -1 +1 @@ -function _0x12c2(){var _0x2a4c92=['4360656soWlYU','owner','45860WDGPAB','xRzmM','4QtVbKQ','193392yHWHiM','11424314uTHyBI','2323895YmIWcs','10fENeAT','normal','1190xkIeqF','11628160JgjsSa','XJvcG','384sKfqSf','admin','1441CMVRSn','NAObj'];_0x12c2=function(){return _0x2a4c92;};return _0x12c2();}(function(_0x5e0a19,_0x2c9f83){var _0xcf2f4f=_0x499f,_0x6d9c79=_0x5e0a19();while(!![]){try{var _0x40d619=parseInt(_0xcf2f4f(0x108))/0x1*(-parseInt(_0xcf2f4f(0x103))/0x2)+parseInt(_0xcf2f4f(0xf9))/0x3*(parseInt(_0xcf2f4f(0xfd))/0x4)+-parseInt(_0xcf2f4f(0xfb))/0x5*(parseInt(_0xcf2f4f(0x106))/0x6)+parseInt(_0xcf2f4f(0x100))/0x7+parseInt(_0xcf2f4f(0x104))/0x8+-parseInt(_0xcf2f4f(0xfe))/0x9+parseInt(_0xcf2f4f(0x101))/0xa*(-parseInt(_0xcf2f4f(0xff))/0xb);if(_0x40d619===_0x2c9f83)break;else _0x6d9c79['push'](_0x6d9c79['shift']());}catch(_0x4e8b14){_0x6d9c79['push'](_0x6d9c79['shift']());}}}(_0x12c2,0xb3580));function _0x499f(_0x194deb,_0x50dfdd){var _0x12c20b=_0x12c2();return _0x499f=function(_0x499f88,_0x1a4a11){_0x499f88=_0x499f88-0xf9;var _0x1910f0=_0x12c20b[_0x499f88];return _0x1910f0;},_0x499f(_0x194deb,_0x50dfdd);}export var GroupMemberRole;(function(_0x3e0244){var _0x288b3c=_0x499f,_0x157f68={'XJvcG':_0x288b3c(0x102),'xRzmM':_0x288b3c(0x107),'NAObj':'owner'};_0x3e0244[_0x3e0244[_0x157f68[_0x288b3c(0x105)]]=0x2]=_0x157f68[_0x288b3c(0x105)],_0x3e0244[_0x3e0244[_0x157f68[_0x288b3c(0xfc)]]=0x3]=_0x157f68['xRzmM'],_0x3e0244[_0x3e0244[_0x157f68[_0x288b3c(0x109)]]=0x4]=_0x288b3c(0xfa);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x1b34(_0x8e876c,_0x19b006){var _0x4081cd=_0x4081();return _0x1b34=function(_0x1b346b,_0x56ac77){_0x1b346b=_0x1b346b-0x15c;var _0xa26e7f=_0x4081cd[_0x1b346b];return _0xa26e7f;},_0x1b34(_0x8e876c,_0x19b006);}(function(_0x2751f4,_0x50d4d1){var _0x359eb7=_0x1b34,_0x1cca62=_0x2751f4();while(!![]){try{var _0x49d544=-parseInt(_0x359eb7(0x15c))/0x1+parseInt(_0x359eb7(0x15f))/0x2*(-parseInt(_0x359eb7(0x162))/0x3)+parseInt(_0x359eb7(0x169))/0x4+-parseInt(_0x359eb7(0x163))/0x5+parseInt(_0x359eb7(0x160))/0x6+-parseInt(_0x359eb7(0x15e))/0x7*(parseInt(_0x359eb7(0x167))/0x8)+parseInt(_0x359eb7(0x168))/0x9;if(_0x49d544===_0x50d4d1)break;else _0x1cca62['push'](_0x1cca62['shift']());}catch(_0x5c934e){_0x1cca62['push'](_0x1cca62['shift']());}}}(_0x4081,0x5c354));export var GroupMemberRole;function _0x4081(){var _0x1e9f80=['owner','GcJOL','1040FZbSnz','4749606ypAeck','1641448CsRPdi','3107MEMiUO','OuiNA','19243qqdYRA','12xClyqo','3801672uRAuBC','NsHtZ','116661MIIHfT','3001125uQXxBT','admin'];_0x4081=function(){return _0x1e9f80;};return _0x4081();}(function(_0x434f1e){var _0x493c64=_0x1b34,_0x1e9ec2={'NsHtZ':'normal','GcJOL':_0x493c64(0x164),'OuiNA':_0x493c64(0x165)};_0x434f1e[_0x434f1e[_0x1e9ec2[_0x493c64(0x161)]]=0x2]=_0x1e9ec2[_0x493c64(0x161)],_0x434f1e[_0x434f1e[_0x1e9ec2[_0x493c64(0x166)]]=0x3]=_0x1e9ec2[_0x493c64(0x166)],_0x434f1e[_0x434f1e[_0x1e9ec2[_0x493c64(0x15d)]]=0x4]=_0x493c64(0x165);}(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 071a2083..663aedcd 100644 --- a/src/core.lib/src/qqnt/entities/index.js +++ b/src/core.lib/src/qqnt/entities/index.js @@ -1 +1 @@ -function _0x4ef2(_0x2cff9f,_0x301cb5){var _0x1935da=_0x1935();return _0x4ef2=function(_0x4ef221,_0x2b319a){_0x4ef221=_0x4ef221-0x1c2;var _0x15a4f5=_0x1935da[_0x4ef221];return _0x15a4f5;},_0x4ef2(_0x2cff9f,_0x301cb5);}(function(_0x5120d0,_0xbc7026){var _0x36a933=_0x4ef2,_0x241038=_0x5120d0();while(!![]){try{var _0x40387f=-parseInt(_0x36a933(0x1c9))/0x1+parseInt(_0x36a933(0x1c3))/0x2+-parseInt(_0x36a933(0x1c4))/0x3*(-parseInt(_0x36a933(0x1cb))/0x4)+parseInt(_0x36a933(0x1c7))/0x5*(-parseInt(_0x36a933(0x1cc))/0x6)+-parseInt(_0x36a933(0x1c2))/0x7*(-parseInt(_0x36a933(0x1c5))/0x8)+-parseInt(_0x36a933(0x1c8))/0x9*(-parseInt(_0x36a933(0x1ca))/0xa)+-parseInt(_0x36a933(0x1c6))/0xb;if(_0x40387f===_0xbc7026)break;else _0x241038['push'](_0x241038['shift']());}catch(_0x55a61a){_0x241038['push'](_0x241038['shift']());}}}(_0x1935,0xc62ea));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x1935(){var _0x5a17e0=['2796wgjofq','8426369lomDls','1781770SLebXP','607866IAYvfW','8VxbTFA','22902363EvNPLY','15985Qcthgo','18iduMGR','216099INGUsF','7459630NabNQU','20TQoUTc'];_0x1935=function(){return _0x5a17e0;};return _0x1935();}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x1a335b,_0x56de0e){var _0x506033=_0x50e6,_0x146c7d=_0x1a335b();while(!![]){try{var _0x10d1e7=parseInt(_0x506033(0xa8))/0x1+-parseInt(_0x506033(0xa6))/0x2*(-parseInt(_0x506033(0xaa))/0x3)+parseInt(_0x506033(0xac))/0x4+parseInt(_0x506033(0xa7))/0x5*(-parseInt(_0x506033(0xa3))/0x6)+parseInt(_0x506033(0xa4))/0x7+-parseInt(_0x506033(0xa9))/0x8*(parseInt(_0x506033(0xa5))/0x9)+-parseInt(_0x506033(0xab))/0xa;if(_0x10d1e7===_0x56de0e)break;else _0x146c7d['push'](_0x146c7d['shift']());}catch(_0x40b4c7){_0x146c7d['push'](_0x146c7d['shift']());}}}(_0x1fc1,0x9b216));export*from'./user';function _0x50e6(_0x1dc155,_0x32a10c){var _0x1fc10d=_0x1fc1();return _0x50e6=function(_0x50e6d1,_0x4c452c){_0x50e6d1=_0x50e6d1-0xa3;var _0x205f62=_0x1fc10d[_0x50e6d1];return _0x205f62;},_0x50e6(_0x1dc155,_0x32a10c);}export*from'./group';export*from'./msg';export*from'./notify';function _0x1fc1(){var _0x11f3d9=['9444915ZuKUfk','2020dWvUBo','52255TfdWUG','950201ZyxWlB','8xiakEF','1407KdoGan','7918380godIXk','2812956oVNMlC','402mYyiPG','7348418VtpeAU'];_0x1fc1=function(){return _0x11f3d9;};return _0x1fc1();}export*from'./cache';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 4f769369..d4a93cac 100644 --- a/src/core.lib/src/qqnt/entities/msg.js +++ b/src/core.lib/src/qqnt/entities/msg.js @@ -1 +1 @@ -var _0x5cf17b=_0x4673;(function(_0x3890b7,_0xcc023d){var _0x26334e=_0x4673,_0x587462=_0x3890b7();while(!![]){try{var _0x165de4=parseInt(_0x26334e(0x19e))/0x1*(-parseInt(_0x26334e(0x1ab))/0x2)+parseInt(_0x26334e(0x1ac))/0x3+-parseInt(_0x26334e(0x1a1))/0x4*(parseInt(_0x26334e(0x1b1))/0x5)+parseInt(_0x26334e(0x1b8))/0x6*(-parseInt(_0x26334e(0x1cc))/0x7)+parseInt(_0x26334e(0x1c7))/0x8*(parseInt(_0x26334e(0x1c6))/0x9)+parseInt(_0x26334e(0x1c0))/0xa*(-parseInt(_0x26334e(0x1ae))/0xb)+parseInt(_0x26334e(0x1af))/0xc;if(_0x165de4===_0xcc023d)break;else _0x587462['push'](_0x587462['shift']());}catch(_0x5a0034){_0x587462['push'](_0x587462['shift']());}}}(_0x2ff7,0x1c763));export var ElementType;(function(_0x5cb4d8){var _0x516c02=_0x4673,_0x2bac57={'pMiiA':'5|3|4|2|0|7|6|1','FZApj':_0x516c02(0x1b3),'PhZAE':'PTT','nsDeq':'PIC','enVVV':_0x516c02(0x1bd),'azHzt':_0x516c02(0x1a7),'ZyAaa':'REPLY','WFoUI':_0x516c02(0x19f)},_0x4b6bbb=_0x2bac57[_0x516c02(0x1ce)][_0x516c02(0x1b0)]('|'),_0x2cff9b=0x0;while(!![]){switch(_0x4b6bbb[_0x2cff9b++]){case'0':_0x5cb4d8[_0x5cb4d8['VIDEO']=0x5]=_0x516c02(0x1b7);continue;case'1':_0x5cb4d8[_0x5cb4d8[_0x2bac57[_0x516c02(0x199)]]=0xa]=_0x2bac57[_0x516c02(0x199)];continue;case'2':_0x5cb4d8[_0x5cb4d8[_0x516c02(0x1c5)]=0x4]=_0x2bac57['PhZAE'];continue;case'3':_0x5cb4d8[_0x5cb4d8[_0x2bac57[_0x516c02(0x19d)]]=0x2]=_0x2bac57[_0x516c02(0x19d)];continue;case'4':_0x5cb4d8[_0x5cb4d8['FILE']=0x3]=_0x2bac57[_0x516c02(0x1c3)];continue;case'5':_0x5cb4d8[_0x5cb4d8[_0x2bac57[_0x516c02(0x1b5)]]=0x1]=_0x2bac57['azHzt'];continue;case'6':_0x5cb4d8[_0x5cb4d8[_0x2bac57[_0x516c02(0x1a2)]]=0x7]=_0x2bac57[_0x516c02(0x1a2)];continue;case'7':_0x5cb4d8[_0x5cb4d8[_0x2bac57[_0x516c02(0x19b)]]=0x6]=_0x2bac57[_0x516c02(0x19b)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x4673(_0x5ef09d,_0x2bdd1c){var _0x2ff701=_0x2ff7();return _0x4673=function(_0x467320,_0x247116){_0x467320=_0x467320-0x195;var _0x49c519=_0x2ff701[_0x467320];return _0x49c519;},_0x4673(_0x5ef09d,_0x2bdd1c);}(function(_0x3e6066){var _0xf9b7ef=_0x4673,_0x1b3aed={'kEjhL':_0xf9b7ef(0x1c9),'jhgPI':_0xf9b7ef(0x19c)};_0x3e6066[_0x3e6066[_0x1b3aed[_0xf9b7ef(0x1cb)]]=0x7d0]=_0xf9b7ef(0x1c9),_0x3e6066[_0x3e6066[_0x1b3aed['jhgPI']]=0x3e8]=_0x1b3aed['jhgPI'];}(PicType||(PicType={})));function _0x2ff7(){var _0x1213a1=['kEjhL','49RBpxUZ','group','pMiiA','yFGgF','rNifP','normal2','RPS','atAll','FZApj','XhXJu','WFoUI','jpg','nsDeq','5095DwaZKI','FACE','ban','16ErxOws','ZyAaa','dice','ijoyM','dNiMn','temp','TEXT','JYMvI','qvyxX','https://multimedia.nt.qq.com.cn','50ccfalE','342234CvDoXd','PTfqz','5643XRNwjQ','3438468BgolhO','split','122410WuLznu','DyALp','ARK','zwJLc','azHzt','face','VIDEO','68076ViIGSs','memberIncrease','tKWHK','rYVTK','friend','FILE','atUser','csPxT','1910WUvMoW','normal','kicked','enVVV','MEMBER_NEW_TITLE','PTT','106803EpffTy','80CzQJFU','XAyfs','gif','notAt'];_0x2ff7=function(){return _0x1213a1;};return _0x2ff7();}export var PicSubType;(function(_0x2eb224){var _0x3e392d=_0x4673,_0x4661b8={'zwJLc':_0x3e392d(0x1c1),'yFGgF':_0x3e392d(0x1b6)};_0x2eb224[_0x2eb224[_0x4661b8[_0x3e392d(0x1b4)]]=0x0]=_0x4661b8[_0x3e392d(0x1b4)],_0x2eb224[_0x2eb224[_0x4661b8[_0x3e392d(0x1cf)]]=0x1]=_0x4661b8[_0x3e392d(0x1cf)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x4673c6){var _0x46bd17=_0x4673,_0x353fa7={'tKWHK':_0x46bd17(0x198),'rNifP':_0x46bd17(0x1be)};_0x4673c6[_0x4673c6[_0x46bd17(0x1ca)]=0x0]=_0x46bd17(0x1ca),_0x4673c6[_0x4673c6[_0x353fa7[_0x46bd17(0x1ba)]]=0x1]=_0x353fa7[_0x46bd17(0x1ba)],_0x4673c6[_0x4673c6[_0x353fa7[_0x46bd17(0x195)]]=0x2]=_0x353fa7[_0x46bd17(0x195)];}(AtType||(AtType={})));export var ChatType;(function(_0x27e304){var _0x56b241=_0x4673,_0x596cfe={'qvyxX':_0x56b241(0x1bc),'dEGpo':_0x56b241(0x1cd),'JYMvI':_0x56b241(0x1a6)};_0x27e304[_0x27e304[_0x596cfe['qvyxX']]=0x1]=_0x596cfe[_0x56b241(0x1a9)],_0x27e304[_0x27e304[_0x596cfe['dEGpo']]=0x2]='group',_0x27e304[_0x27e304[_0x596cfe[_0x56b241(0x1a8)]]=0x64]=_0x596cfe['JYMvI'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x5cf17b(0x1aa);export var GrayTipElementSubType;(function(_0x1bf236){var _0x3b2af4=_0x5cf17b,_0x1bfb52={'DyALp':'INVITE_NEW_MEMBER','ijoyM':_0x3b2af4(0x1c4)};_0x1bf236[_0x1bf236[_0x1bfb52[_0x3b2af4(0x1b2)]]=0xc]='INVITE_NEW_MEMBER',_0x1bf236[_0x1bf236[_0x1bfb52[_0x3b2af4(0x1a4)]]=0x11]=_0x1bfb52['ijoyM'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x2b2747){var _0x18d6b0=_0x5cf17b,_0x5abec1={'XAyfs':'normal','csPxT':_0x18d6b0(0x196),'rYVTK':_0x18d6b0(0x1a3)};_0x2b2747[_0x2b2747[_0x5abec1[_0x18d6b0(0x1c8)]]=0x1]=_0x5abec1[_0x18d6b0(0x1c8)],_0x2b2747[_0x2b2747[_0x5abec1[_0x18d6b0(0x1bf)]]=0x2]=_0x5abec1['csPxT'],_0x2b2747[_0x2b2747[_0x5abec1[_0x18d6b0(0x1bb)]]=0x3]=_0x18d6b0(0x1a3);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x223760){var _0x5ad5e9=_0x5cf17b,_0x34abe2={'tDMZl':_0x5ad5e9(0x197)};_0x223760[_0x223760['dice']=0x166]=_0x5ad5e9(0x1a3),_0x223760[_0x223760[_0x34abe2['tDMZl']]=0x167]=_0x34abe2['tDMZl'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4fa082){var _0x361ec3=_0x5cf17b,_0x50840d={'dNiMn':_0x361ec3(0x1b9),'XhXJu':_0x361ec3(0x1c2),'PTfqz':'ban'};_0x4fa082[_0x4fa082[_0x50840d[_0x361ec3(0x1a5)]]=0x1]=_0x50840d[_0x361ec3(0x1a5)],_0x4fa082[_0x4fa082[_0x50840d[_0x361ec3(0x19a)]]=0x3]=_0x50840d[_0x361ec3(0x19a)],_0x4fa082[_0x4fa082[_0x361ec3(0x1a0)]=0x8]=_0x50840d[_0x361ec3(0x1ad)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x32eb30=_0x4dd2;(function(_0x48c94b,_0xaf50ff){var _0x1e544f=_0x4dd2,_0x3f5c94=_0x48c94b();while(!![]){try{var _0x9ba7e2=parseInt(_0x1e544f(0x90))/0x1+-parseInt(_0x1e544f(0x98))/0x2*(parseInt(_0x1e544f(0x81))/0x3)+parseInt(_0x1e544f(0xab))/0x4+parseInt(_0x1e544f(0xb1))/0x5*(-parseInt(_0x1e544f(0x8a))/0x6)+-parseInt(_0x1e544f(0x96))/0x7+parseInt(_0x1e544f(0x83))/0x8*(parseInt(_0x1e544f(0x95))/0x9)+-parseInt(_0x1e544f(0x9e))/0xa*(-parseInt(_0x1e544f(0x7d))/0xb);if(_0x9ba7e2===_0xaf50ff)break;else _0x3f5c94['push'](_0x3f5c94['shift']());}catch(_0x5bfbd9){_0x3f5c94['push'](_0x3f5c94['shift']());}}}(_0x4809,0x4110c));export var ElementType;function _0x4dd2(_0x249c61,_0x1e334d){var _0x4809bc=_0x4809();return _0x4dd2=function(_0x4dd2e9,_0x32ea9a){_0x4dd2e9=_0x4dd2e9-0x73;var _0x466cfa=_0x4809bc[_0x4dd2e9];return _0x466cfa;},_0x4dd2(_0x249c61,_0x1e334d);}(function(_0x2c70dd){var _0x3caaed=_0x4dd2,_0x3bed8f={'NkRwz':'1|0|2|7|5|6|4|3','mtdML':_0x3caaed(0x7c),'idHyk':_0x3caaed(0xa4),'KwtOd':_0x3caaed(0x9f),'rioOG':_0x3caaed(0x87),'dNibJ':_0x3caaed(0xa0),'aupxH':_0x3caaed(0x75),'NqUsL':_0x3caaed(0x92),'HiIHT':_0x3caaed(0x99)},_0xceec1a=_0x3bed8f[_0x3caaed(0xa3)][_0x3caaed(0x7a)]('|'),_0x413de4=0x0;while(!![]){switch(_0xceec1a[_0x413de4++]){case'0':_0x2c70dd[_0x2c70dd[_0x3bed8f[_0x3caaed(0xac)]]=0x2]=_0x3bed8f['mtdML'];continue;case'1':_0x2c70dd[_0x2c70dd['TEXT']=0x1]=_0x3bed8f[_0x3caaed(0x82)];continue;case'2':_0x2c70dd[_0x2c70dd[_0x3caaed(0x9f)]=0x3]=_0x3bed8f['KwtOd'];continue;case'3':_0x2c70dd[_0x2c70dd[_0x3bed8f[_0x3caaed(0x88)]]=0xa]=_0x3caaed(0x87);continue;case'4':_0x2c70dd[_0x2c70dd[_0x3bed8f['dNibJ']]=0x7]=_0x3bed8f[_0x3caaed(0x8e)];continue;case'5':_0x2c70dd[_0x2c70dd[_0x3caaed(0x75)]=0x5]=_0x3bed8f[_0x3caaed(0xa9)];continue;case'6':_0x2c70dd[_0x2c70dd[_0x3caaed(0x92)]=0x6]=_0x3bed8f[_0x3caaed(0x79)];continue;case'7':_0x2c70dd[_0x2c70dd[_0x3bed8f[_0x3caaed(0xa7)]]=0x4]=_0x3bed8f[_0x3caaed(0xa7)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x3161ea){var _0x1c87bf=_0x4dd2,_0x37bef7={'GHaqC':_0x1c87bf(0x76),'xzsgy':_0x1c87bf(0x93)};_0x3161ea[_0x3161ea[_0x37bef7[_0x1c87bf(0x8c)]]=0x7d0]=_0x37bef7[_0x1c87bf(0x8c)],_0x3161ea[_0x3161ea[_0x37bef7[_0x1c87bf(0xa8)]]=0x3e8]=_0x1c87bf(0x93);}(PicType||(PicType={})));export var PicSubType;(function(_0x3dc7e0){var _0x12602c=_0x4dd2,_0x49f476={'FVCBb':_0x12602c(0x77),'vXAHp':_0x12602c(0x7b)};_0x3dc7e0[_0x3dc7e0[_0x49f476[_0x12602c(0x86)]]=0x0]=_0x12602c(0x77),_0x3dc7e0[_0x3dc7e0[_0x49f476[_0x12602c(0xae)]]=0x1]=_0x49f476['vXAHp'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2e210a){var _0x539636=_0x4dd2,_0x69583d={'VfDax':_0x539636(0x9c),'qbCDV':_0x539636(0x8f),'CmWwJ':_0x539636(0x94)};_0x2e210a[_0x2e210a[_0x69583d[_0x539636(0xaa)]]=0x0]=_0x69583d['VfDax'],_0x2e210a[_0x2e210a[_0x69583d['qbCDV']]=0x1]=_0x69583d[_0x539636(0xad)],_0x2e210a[_0x2e210a[_0x69583d[_0x539636(0x78)]]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x57a50b){var _0x19fa96=_0x4dd2,_0x432c36={'gpifD':'friend','kmAjn':_0x19fa96(0xa1),'tHyOe':'temp'};_0x57a50b[_0x57a50b[_0x432c36[_0x19fa96(0x84)]]=0x1]=_0x432c36[_0x19fa96(0x84)],_0x57a50b[_0x57a50b[_0x19fa96(0xa1)]=0x2]=_0x432c36[_0x19fa96(0x8d)],_0x57a50b[_0x57a50b[_0x432c36[_0x19fa96(0x73)]]=0x64]=_0x432c36[_0x19fa96(0x73)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x32eb30(0xb0);export var GrayTipElementSubType;function _0x4809(){var _0x21e153=['INVITE_NEW_MEMBER','exeae','33AuUVlw','idHyk','40SNWAFT','gpifD','exGja','FVCBb','ARK','rioOG','bRNlm','5526uMMHXa','DMQkK','GHaqC','kmAjn','dNibJ','atAll','161935crORHs','kicked','FACE','jpg','atUser','907578tjPXda','2519230yGySbI','dice','88906SJjdQU','PTT','cipzv','MEMBER_NEW_TITLE','notAt','NuEfl','10mdlcEI','FILE','REPLY','group','kGXta','NkRwz','TEXT','memberIncrease','ban','HiIHT','xzsgy','aupxH','VfDax','1662164NmhWLk','mtdML','qbCDV','vXAHp','normal2','https://multimedia.nt.qq.com.cn','10cyYAHJ','tHyOe','oJymQ','VIDEO','gif','normal','CmWwJ','NqUsL','split','face','PIC','390907FoVoLY','PfSVM'];_0x4809=function(){return _0x21e153;};return _0x4809();}(function(_0x24e2c9){var _0x13a183=_0x32eb30,_0x148aa5={'FXLMI':_0x13a183(0x7f),'exeae':_0x13a183(0x9b)};_0x24e2c9[_0x24e2c9[_0x148aa5['FXLMI']]=0xc]=_0x148aa5['FXLMI'],_0x24e2c9[_0x24e2c9[_0x148aa5['exeae']]=0x11]=_0x148aa5[_0x13a183(0x80)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x330062){var _0x35bde0=_0x32eb30,_0x459a5a={'DMQkK':'normal','PfSVM':_0x35bde0(0xaf),'NuEfl':_0x35bde0(0x97)};_0x330062[_0x330062[_0x459a5a[_0x35bde0(0x8b)]]=0x1]=_0x459a5a[_0x35bde0(0x8b)],_0x330062[_0x330062[_0x459a5a[_0x35bde0(0x7e)]]=0x2]=_0x459a5a[_0x35bde0(0x7e)],_0x330062[_0x330062['dice']=0x3]=_0x459a5a[_0x35bde0(0x9d)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x58a154){var _0x349386=_0x32eb30,_0x3a2e95={'exGja':_0x349386(0x97),'bRNlm':'RPS'};_0x58a154[_0x58a154[_0x3a2e95[_0x349386(0x85)]]=0x166]=_0x3a2e95[_0x349386(0x85)],_0x58a154[_0x58a154[_0x3a2e95[_0x349386(0x89)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x46327b){var _0x1b2635=_0x32eb30,_0x4ddb5e={'oJymQ':_0x1b2635(0xa5),'kGXta':_0x1b2635(0x91),'cipzv':_0x1b2635(0xa6)};_0x46327b[_0x46327b[_0x4ddb5e[_0x1b2635(0x74)]]=0x1]=_0x4ddb5e[_0x1b2635(0x74)],_0x46327b[_0x46327b[_0x4ddb5e[_0x1b2635(0xa2)]]=0x3]=_0x4ddb5e[_0x1b2635(0xa2)],_0x46327b[_0x46327b[_0x4ddb5e['cipzv']]=0x8]=_0x4ddb5e[_0x1b2635(0x9a)];}(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 df76bd8f..bcaf6214 100644 --- a/src/core.lib/src/qqnt/entities/notify.js +++ b/src/core.lib/src/qqnt/entities/notify.js @@ -1 +1 @@ -(function(_0xbf110b,_0x4349ba){var _0x10912b=_0x5570,_0x42f839=_0xbf110b();while(!![]){try{var _0x407200=-parseInt(_0x10912b(0x106))/0x1+-parseInt(_0x10912b(0x10b))/0x2*(-parseInt(_0x10912b(0xff))/0x3)+parseInt(_0x10912b(0xf7))/0x4*(-parseInt(_0x10912b(0x102))/0x5)+parseInt(_0x10912b(0xfb))/0x6+-parseInt(_0x10912b(0xf2))/0x7+parseInt(_0x10912b(0xef))/0x8*(parseInt(_0x10912b(0xee))/0x9)+parseInt(_0x10912b(0xf0))/0xa*(parseInt(_0x10912b(0xfd))/0xb);if(_0x407200===_0x4349ba)break;else _0x42f839['push'](_0x42f839['shift']());}catch(_0x11b27b){_0x42f839['push'](_0x42f839['shift']());}}}(_0x15b7,0x80c8e));export var GroupNotifyTypes;(function(_0x2e2bba){var _0x20ca58=_0x5570,_0x1e738c={'EAeuP':_0x20ca58(0x10a),'wwTwk':'INVITED_JOIN','qYVfb':_0x20ca58(0x108),'eTHFO':_0x20ca58(0x109),'NTDRb':_0x20ca58(0xf6),'TchdE':_0x20ca58(0x103),'tgUGy':_0x20ca58(0xfc)};_0x2e2bba[_0x2e2bba[_0x1e738c[_0x20ca58(0xf8)]]=0x1]=_0x1e738c[_0x20ca58(0xf8)],_0x2e2bba[_0x2e2bba[_0x1e738c[_0x20ca58(0x10c)]]=0x4]=_0x20ca58(0x104),_0x2e2bba[_0x2e2bba[_0x1e738c['qYVfb']]=0x7]=_0x1e738c[_0x20ca58(0xfa)],_0x2e2bba[_0x2e2bba[_0x20ca58(0x109)]=0x8]=_0x1e738c[_0x20ca58(0xf4)],_0x2e2bba[_0x2e2bba[_0x1e738c[_0x20ca58(0xf5)]]=0x9]=_0x20ca58(0xf6),_0x2e2bba[_0x2e2bba[_0x1e738c[_0x20ca58(0x107)]]=0xb]=_0x1e738c['TchdE'],_0x2e2bba[_0x2e2bba[_0x1e738c['tgUGy']]=0xc]=_0x1e738c[_0x20ca58(0x100)];}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x15b7(){var _0x1c136c=['qYVfb','2772846rxLbIX','ADMIN_UNSET','136807VuHLGX','xIVfm','1943511swuoya','tgUGy','reject','4239665YLAoPo','MEMBER_EXIT','INVITED_JOIN','ydLTq','1033560NlVITt','TchdE','JOIN_REQUEST','ADMIN_SET','INVITE_ME','2YlQRoR','wwTwk','WAIT_HANDLE','approve','7802343ASrlLa','8kGjKhC','1040KyFyyr','fgyDo','6029506poYIkA','APPROVE','eTHFO','NTDRb','KICK_MEMBER','4ORnxDN','EAeuP','IGNORE'];_0x15b7=function(){return _0x1c136c;};return _0x15b7();}function _0x5570(_0x3ea474,_0x106eb1){var _0x15b70d=_0x15b7();return _0x5570=function(_0x55708e,_0x5f16d1){_0x55708e=_0x55708e-0xed;var _0x1173cd=_0x15b70d[_0x55708e];return _0x1173cd;},_0x5570(_0x3ea474,_0x106eb1);}export var GroupNotifyStatus;(function(_0x24fecf){var _0x4dbdcd=_0x5570,_0x564e4a={'fgyDo':_0x4dbdcd(0xf9),'ydLTq':_0x4dbdcd(0x10d),'xIVfm':_0x4dbdcd(0xf3),'PhzNA':'REJECT'};_0x24fecf[_0x24fecf[_0x564e4a[_0x4dbdcd(0xf1)]]=0x0]=_0x564e4a[_0x4dbdcd(0xf1)],_0x24fecf[_0x24fecf[_0x4dbdcd(0x10d)]=0x1]=_0x564e4a[_0x4dbdcd(0x105)],_0x24fecf[_0x24fecf[_0x564e4a[_0x4dbdcd(0xfe)]]=0x2]=_0x4dbdcd(0xf3),_0x24fecf[_0x24fecf['REJECT']=0x3]=_0x564e4a['PhzNA'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x1f6424){var _0x40ebd5=_0x5570,_0x389d13={'xLgyC':_0x40ebd5(0x101)};_0x1f6424[_0x1f6424[_0x40ebd5(0xed)]=0x1]=_0x40ebd5(0xed),_0x1f6424[_0x1f6424[_0x389d13['xLgyC']]=0x2]=_0x389d13['xLgyC'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x4e65fd,_0x581fb5){var _0x87f250=_0x3174,_0xa04f98=_0x4e65fd();while(!![]){try{var _0x37d483=parseInt(_0x87f250(0x153))/0x1*(-parseInt(_0x87f250(0x144))/0x2)+parseInt(_0x87f250(0x161))/0x3+-parseInt(_0x87f250(0x14a))/0x4*(-parseInt(_0x87f250(0x147))/0x5)+parseInt(_0x87f250(0x15f))/0x6+-parseInt(_0x87f250(0x14f))/0x7*(-parseInt(_0x87f250(0x160))/0x8)+parseInt(_0x87f250(0x150))/0x9*(parseInt(_0x87f250(0x15a))/0xa)+-parseInt(_0x87f250(0x15c))/0xb;if(_0x37d483===_0x581fb5)break;else _0xa04f98['push'](_0xa04f98['shift']());}catch(_0x1bbeeb){_0xa04f98['push'](_0xa04f98['shift']());}}}(_0x5cb7,0x6ba07));export var GroupNotifyTypes;(function(_0x3d5a51){var _0x1fd500=_0x3174,_0x4b4996={'kARXm':_0x1fd500(0x158),'DNXfM':_0x1fd500(0x141),'GIUJJ':_0x1fd500(0x15d),'OIMNY':'INVITED_JOIN','aNVkp':'JOIN_REQUEST','DaDQJ':_0x1fd500(0x155),'VtKDp':_0x1fd500(0x146),'YArYb':_0x1fd500(0x149)},_0x19a383=_0x4b4996[_0x1fd500(0x145)][_0x1fd500(0x157)]('|'),_0x220586=0x0;while(!![]){switch(_0x19a383[_0x220586++]){case'0':_0x3d5a51[_0x3d5a51[_0x4b4996[_0x1fd500(0x154)]]=0x8]=_0x4b4996[_0x1fd500(0x154)];continue;case'1':_0x3d5a51[_0x3d5a51[_0x4b4996[_0x1fd500(0x162)]]=0x9]=_0x4b4996[_0x1fd500(0x162)];continue;case'2':_0x3d5a51[_0x3d5a51[_0x4b4996[_0x1fd500(0x142)]]=0x4]=_0x4b4996[_0x1fd500(0x142)];continue;case'3':_0x3d5a51[_0x3d5a51[_0x4b4996[_0x1fd500(0x148)]]=0x7]=_0x4b4996[_0x1fd500(0x148)];continue;case'4':_0x3d5a51[_0x3d5a51[_0x4b4996['DaDQJ']]=0xc]=_0x4b4996[_0x1fd500(0x15b)];continue;case'5':_0x3d5a51[_0x3d5a51[_0x1fd500(0x146)]=0xb]=_0x4b4996['VtKDp'];continue;case'6':_0x3d5a51[_0x3d5a51[_0x4b4996['YArYb']]=0x1]=_0x4b4996[_0x1fd500(0x14c)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x3174(_0x466573,_0x4a9fef){var _0x5cb7fc=_0x5cb7();return _0x3174=function(_0x317483,_0x26c346){_0x317483=_0x317483-0x140;var _0x1e3ad6=_0x5cb7fc[_0x317483];return _0x1e3ad6;},_0x3174(_0x466573,_0x4a9fef);}function _0x5cb7(){var _0x97c24f=['YBAIt','ADMIN_SET','OIMNY','KYboP','134jtaDMX','kARXm','MEMBER_EXIT','5xPeGsk','aNVkp','INVITE_ME','3111788pxIpHU','EbzZM','YArYb','approve','YLTrW','1144108aplgcs','9StqFin','fTFNZ','WAIT_HANDLE','10281wBEhka','DNXfM','ADMIN_UNSET','IGNORE','split','6|2|3|0|1|5|4','xAyUV','1306490halxRV','DaDQJ','12173788CKZGMB','KICK_MEMBER','reject','2763228uLecGe','16SdtmCi','1621056CLAjxd','GIUJJ','APPROVE'];_0x5cb7=function(){return _0x97c24f;};return _0x5cb7();}export var GroupNotifyStatus;(function(_0x3a6297){var _0x5c3869=_0x3174,_0xf8229e={'YBAIt':_0x5c3869(0x156),'YLTrW':_0x5c3869(0x152),'xAyUV':_0x5c3869(0x163),'EbzZM':'REJECT'};_0x3a6297[_0x3a6297[_0x5c3869(0x156)]=0x0]=_0xf8229e[_0x5c3869(0x140)],_0x3a6297[_0x3a6297[_0x5c3869(0x152)]=0x1]=_0xf8229e[_0x5c3869(0x14e)],_0x3a6297[_0x3a6297[_0xf8229e['xAyUV']]=0x2]=_0xf8229e[_0x5c3869(0x159)],_0x3a6297[_0x3a6297[_0xf8229e[_0x5c3869(0x14b)]]=0x3]=_0xf8229e[_0x5c3869(0x14b)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5d2ec6){var _0x20c53c=_0x3174,_0x4cb2aa={'KYboP':_0x20c53c(0x14d),'fTFNZ':_0x20c53c(0x15e)};_0x5d2ec6[_0x5d2ec6[_0x4cb2aa[_0x20c53c(0x143)]]=0x1]=_0x4cb2aa[_0x20c53c(0x143)],_0x5d2ec6[_0x5d2ec6[_0x4cb2aa[_0x20c53c(0x151)]]=0x2]=_0x4cb2aa[_0x20c53c(0x151)];}(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 f9aaf3f2..519ee3ff 100644 --- a/src/core.lib/src/qqnt/entities/user.js +++ b/src/core.lib/src/qqnt/entities/user.js @@ -1 +1 @@ -(function(_0x55e9a1,_0x353a5d){var _0x3fa333=_0x4c76,_0x370811=_0x55e9a1();while(!![]){try{var _0x27b22b=-parseInt(_0x3fa333(0x1bf))/0x1*(parseInt(_0x3fa333(0x1ba))/0x2)+parseInt(_0x3fa333(0x1b4))/0x3+-parseInt(_0x3fa333(0x1b2))/0x4*(parseInt(_0x3fa333(0x1c0))/0x5)+parseInt(_0x3fa333(0x1bc))/0x6*(-parseInt(_0x3fa333(0x1b8))/0x7)+-parseInt(_0x3fa333(0x1c1))/0x8+-parseInt(_0x3fa333(0x1b3))/0x9*(parseInt(_0x3fa333(0x1b9))/0xa)+parseInt(_0x3fa333(0x1be))/0xb*(parseInt(_0x3fa333(0x1b7))/0xc);if(_0x27b22b===_0x353a5d)break;else _0x370811['push'](_0x370811['shift']());}catch(_0x242187){_0x370811['push'](_0x370811['shift']());}}}(_0x3997,0x87240));export var Sex;function _0x3997(){var _0x2650a7=['2145736AQgsZU','6376uvpusX','551412XAvTHi','567897FNlvnU','vKZwe','unknown','12dWiIcl','147Fijjbi','20GfJAOE','14038HLlUGu','male','115590QkWOWt','dsDLn','16048406ievoWB','7jlDrRY','785XRKlby'];_0x3997=function(){return _0x2650a7;};return _0x3997();}function _0x4c76(_0x43be4c,_0x4f9a75){var _0x3997e0=_0x3997();return _0x4c76=function(_0x4c768a,_0x2fc795){_0x4c768a=_0x4c768a-0x1b2;var _0x222a13=_0x3997e0[_0x4c768a];return _0x222a13;},_0x4c76(_0x43be4c,_0x4f9a75);}(function(_0x2f34ab){var _0x5182fa=_0x4c76,_0x4e0830={'dsDLn':_0x5182fa(0x1bb),'vKZwe':'female'};_0x2f34ab[_0x2f34ab[_0x4e0830[_0x5182fa(0x1bd)]]=0x1]=_0x5182fa(0x1bb),_0x2f34ab[_0x2f34ab[_0x4e0830['vKZwe']]=0x2]=_0x4e0830[_0x5182fa(0x1b5)],_0x2f34ab[_0x2f34ab['unknown']=0xff]=_0x5182fa(0x1b6);}(Sex||(Sex={}))); \ No newline at end of file +function _0x1a7e(){var _0xd0f553=['998312dFnyiY','2171038GRyBcz','9javMxU','4061370WKKWmE','TXnit','14noUmae','363aEZtmZ','12eTVoBl','184340wgbCYa','female','SbqkB','VWmbF','28748dgtrWK','4717764IsHJdI','1UdlILl','41331917IvNfpN','unknown'];_0x1a7e=function(){return _0xd0f553;};return _0x1a7e();}function _0x255d(_0x5d637a,_0x42bc91){var _0x1a7e79=_0x1a7e();return _0x255d=function(_0x255df1,_0x2f5c5a){_0x255df1=_0x255df1-0xb9;var _0x6427ce=_0x1a7e79[_0x255df1];return _0x6427ce;},_0x255d(_0x5d637a,_0x42bc91);}(function(_0x44e5fb,_0x211db5){var _0x42b3d5=_0x255d,_0xb30228=_0x44e5fb();while(!![]){try{var _0x9f7cbd=-parseInt(_0x42b3d5(0xc6))/0x1*(parseInt(_0x42b3d5(0xb9))/0x2)+-parseInt(_0x42b3d5(0xbe))/0x3*(parseInt(_0x42b3d5(0xc4))/0x4)+parseInt(_0x42b3d5(0xbb))/0x5+-parseInt(_0x42b3d5(0xc5))/0x6*(parseInt(_0x42b3d5(0xbd))/0x7)+-parseInt(_0x42b3d5(0xc9))/0x8+parseInt(_0x42b3d5(0xba))/0x9*(-parseInt(_0x42b3d5(0xc0))/0xa)+parseInt(_0x42b3d5(0xc7))/0xb*(parseInt(_0x42b3d5(0xbf))/0xc);if(_0x9f7cbd===_0x211db5)break;else _0xb30228['push'](_0xb30228['shift']());}catch(_0x23fc14){_0xb30228['push'](_0xb30228['shift']());}}}(_0x1a7e,0xdb6cc));export var Sex;(function(_0x9e1085){var _0x448cc8=_0x255d,_0x5c7856={'SbqkB':'male','TXnit':_0x448cc8(0xc1),'VWmbF':_0x448cc8(0xc8)};_0x9e1085[_0x9e1085[_0x5c7856[_0x448cc8(0xc2)]]=0x1]=_0x5c7856[_0x448cc8(0xc2)],_0x9e1085[_0x9e1085[_0x5c7856[_0x448cc8(0xbc)]]=0x2]=_0x5c7856[_0x448cc8(0xbc)],_0x9e1085[_0x9e1085[_0x5c7856['VWmbF']]=0xff]=_0x5c7856[_0x448cc8(0xc3)];}(Sex||(Sex={}))); \ 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 88bcb8d4..a24fd199 100644 --- a/src/core.lib/src/qqnt/index.js +++ b/src/core.lib/src/qqnt/index.js @@ -1 +1 @@ -(function(_0x12a880,_0x430432){var _0x4a1f95=_0x57ab,_0x23df51=_0x12a880();while(!![]){try{var _0x38449d=parseInt(_0x4a1f95(0x18d))/0x1*(-parseInt(_0x4a1f95(0x189))/0x2)+-parseInt(_0x4a1f95(0x18e))/0x3*(parseInt(_0x4a1f95(0x190))/0x4)+parseInt(_0x4a1f95(0x18f))/0x5+parseInt(_0x4a1f95(0x18c))/0x6+-parseInt(_0x4a1f95(0x18b))/0x7+-parseInt(_0x4a1f95(0x191))/0x8*(-parseInt(_0x4a1f95(0x193))/0x9)+parseInt(_0x4a1f95(0x192))/0xa*(parseInt(_0x4a1f95(0x18a))/0xb);if(_0x38449d===_0x430432)break;else _0x23df51['push'](_0x23df51['shift']());}catch(_0x9c0f9c){_0x23df51['push'](_0x23df51['shift']());}}}(_0xd63e,0x2380e));import _0x100f96 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x57ab(_0x33993d,_0x19d679){var _0xd63e88=_0xd63e();return _0x57ab=function(_0x57abaf,_0x1bafe2){_0x57abaf=_0x57abaf-0x189;var _0x5c1a12=_0xd63e88[_0x57abaf];return _0x5c1a12;},_0x57ab(_0x33993d,_0x19d679);}export*as Services from'./services';export{_0x100f96 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0xd63e(){var _0xe9bb41=['740673CwDApG','36gWGOSg','11irKOMz','819392awlYDZ','102672wLsetf','12619TWDfPj','24PLNBbp','1243880FZcwab','27932AmRJDB','8kGyChG','1972990Vpxdwc'];_0xd63e=function(){return _0xe9bb41;};return _0xd63e();} \ No newline at end of file +function _0x4233(){var _0xac06a9=['4AUIyAv','780WVbhhm','2OFLmgh','20Ilqxfj','4112LBbMXm','1718845ZSyIiD','574hBoLHk','1098NIFxRX','1989891NgMdSh','223371wxvlmi','533797IAizcC','3368844mrecbz'];_0x4233=function(){return _0xac06a9;};return _0x4233();}(function(_0x24bfa6,_0x233107){var _0x358a4c=_0x5da2,_0xebd235=_0x24bfa6();while(!![]){try{var _0x3291bf=parseInt(_0x358a4c(0x173))/0x1*(parseInt(_0x358a4c(0x178))/0x2)+-parseInt(_0x358a4c(0x172))/0x3*(parseInt(_0x358a4c(0x176))/0x4)+parseInt(_0x358a4c(0x16f))/0x5+parseInt(_0x358a4c(0x177))/0x6*(parseInt(_0x358a4c(0x170))/0x7)+parseInt(_0x358a4c(0x16e))/0x8*(parseInt(_0x358a4c(0x171))/0x9)+-parseInt(_0x358a4c(0x16d))/0xa*(-parseInt(_0x358a4c(0x174))/0xb)+parseInt(_0x358a4c(0x175))/0xc;if(_0x3291bf===_0x233107)break;else _0xebd235['push'](_0xebd235['shift']());}catch(_0x3a345f){_0xebd235['push'](_0xebd235['shift']());}}}(_0x4233,0x56aba));import _0x5ac432 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x5da2(_0x17faa9,_0x41d39c){var _0x423314=_0x4233();return _0x5da2=function(_0x5da243,_0x4a622a){_0x5da243=_0x5da243-0x16d;var _0x3cbce3=_0x423314[_0x5da243];return _0x3cbce3;},_0x5da2(_0x17faa9,_0x41d39c);}export*as Services from'./services';export{_0x5ac432 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 69e27b4c..1805f833 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x3552(_0x1711b4,_0x364903){var _0x23aac0=_0x23aa();return _0x3552=function(_0x355263,_0x42f532){_0x355263=_0x355263-0xb9;var _0x2efeba=_0x23aac0[_0x355263];return _0x2efeba;},_0x3552(_0x1711b4,_0x364903);}var _0x412069=_0x3552;(function(_0x49749a,_0x50f91c){var _0x770553=_0x3552,_0x5e5f86=_0x49749a();while(!![]){try{var _0x16b505=parseInt(_0x770553(0xce))/0x1*(-parseInt(_0x770553(0xcc))/0x2)+-parseInt(_0x770553(0xd0))/0x3+parseInt(_0x770553(0xbf))/0x4*(parseInt(_0x770553(0xc8))/0x5)+-parseInt(_0x770553(0xcb))/0x6+parseInt(_0x770553(0xcd))/0x7+parseInt(_0x770553(0xc4))/0x8+parseInt(_0x770553(0xbe))/0x9*(parseInt(_0x770553(0xc9))/0xa);if(_0x16b505===_0x50f91c)break;else _0x5e5f86['push'](_0x5e5f86['shift']());}catch(_0x318bbe){_0x5e5f86['push'](_0x5e5f86['shift']());}}}(_0x23aa,0x35d1b));function _0x23aa(){var _0x47aeab=['onDoubtBuddyReqChange','onBuddyRemarkUpdated','onDelBatchBuddyInfos','onBlockChanged','9qMPmvC','20gMTNZo','onBuddyReqChange','onBuddyListChange','onDoubtBuddyReqUnreadNumChange','onNickUpdated','3428216DVLabH','onAddBuddyNeedVerify','onCheckBuddySettingResult','onAvatarUrlUpdated','439475jZdVki','1482480ZyFvAw','onAddMeSettingChanged','2566356SBnGix','6HLtoIb','1764413JBzNPm','139852qfaDbO','onBuddyInfoChange','601752VRxmXf','onSpacePermissionInfos','onBuddyDetailInfoChange'];_0x23aa=function(){return _0x47aeab;};return _0x23aa();}export class BuddyListener{[_0x412069(0xc5)](_0x83447b){}[_0x412069(0xca)](_0x3afc00){}[_0x412069(0xc7)](_0x11d856){}[_0x412069(0xbd)](_0x5a9895){}[_0x412069(0xb9)](_0x36ca81){}[_0x412069(0xcf)](_0x9e003){}[_0x412069(0xc1)](_0x4824d0){}[_0x412069(0xbb)](_0x7c332f){}[_0x412069(0xc0)](_0x219232){}['onBuddyReqUnreadCntChange'](_0x5cca59){}[_0x412069(0xc6)](_0x2787cb){}[_0x412069(0xbc)](_0x512e4c){}[_0x412069(0xba)](_0x1aa378){}[_0x412069(0xc2)](_0x112dc5){}[_0x412069(0xc3)](_0x44a940){}['onSmartInfos'](_0x4621da){}[_0x412069(0xd1)](_0x1b0d34){}} \ No newline at end of file +var _0x19de79=_0x4817;function _0x4817(_0x4e9f26,_0x39aacc){var _0x9ae40f=_0x9ae4();return _0x4817=function(_0x481725,_0x54ccb8){_0x481725=_0x481725-0x1b6;var _0x4373fb=_0x9ae40f[_0x481725];return _0x4373fb;},_0x4817(_0x4e9f26,_0x39aacc);}function _0x9ae4(){var _0x7a2dca=['onBlockChanged','8mtaCle','onDoubtBuddyReqChange','1282092AnYcsB','60eObfPW','onAddMeSettingChanged','onDelBatchBuddyInfos','onSmartInfos','1781290APPlbB','32ObIQvb','onAddBuddyNeedVerify','547893XcWmIw','onBuddyDetailInfoChange','85014ypzIUb','15144LbyiaJ','onCheckBuddySettingResult','onBuddyReqUnreadCntChange','onBuddyReqChange','onAvatarUrlUpdated','286581nIbbZV','4121843nzaKal','onBuddyListChange','4cOSXDo'];_0x9ae4=function(){return _0x7a2dca;};return _0x9ae4();}(function(_0x39a67b,_0x48dfad){var _0x492a9b=_0x4817,_0x53fd82=_0x39a67b();while(!![]){try{var _0x5bef31=parseInt(_0x492a9b(0x1bc))/0x1*(-parseInt(_0x492a9b(0x1c7))/0x2)+parseInt(_0x492a9b(0x1c2))/0x3*(parseInt(_0x492a9b(0x1c5))/0x4)+parseInt(_0x492a9b(0x1ca))/0x5*(-parseInt(_0x492a9b(0x1bd))/0x6)+parseInt(_0x492a9b(0x1c9))/0x7+-parseInt(_0x492a9b(0x1b8))/0x8*(parseInt(_0x492a9b(0x1ba))/0x9)+parseInt(_0x492a9b(0x1b7))/0xa+parseInt(_0x492a9b(0x1c3))/0xb;if(_0x5bef31===_0x48dfad)break;else _0x53fd82['push'](_0x53fd82['shift']());}catch(_0x45cdcd){_0x53fd82['push'](_0x53fd82['shift']());}}}(_0x9ae4,0x35249));export class BuddyListener{[_0x19de79(0x1b9)](_0x13deb3){}[_0x19de79(0x1cb)](_0x4c4323){}[_0x19de79(0x1c1)](_0x21ae78){}[_0x19de79(0x1c6)](_0x4d795f){}[_0x19de79(0x1bb)](_0x238e0a){}['onBuddyInfoChange'](_0x1dc9a8){}[_0x19de79(0x1c4)](_0x5242b7){}['onBuddyRemarkUpdated'](_0x46fc03){}[_0x19de79(0x1c0)](_0x3e17a6){}[_0x19de79(0x1bf)](_0x1e1da1){}[_0x19de79(0x1be)](_0x53296b){}[_0x19de79(0x1cc)](_0x4816bb){}[_0x19de79(0x1c8)](_0x55e5a5){}['onDoubtBuddyReqUnreadNumChange'](_0x523d05){}['onNickUpdated'](_0x3f660f){}[_0x19de79(0x1b6)](_0x114fea){}['onSpacePermissionInfos'](_0x384ab3){}} \ 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 6ead75c2..d80ec720 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x9e5b73=_0x2739;(function(_0x4e45c8,_0x104305){var _0x3e5d83=_0x2739,_0x48f364=_0x4e45c8();while(!![]){try{var _0x3a4905=-parseInt(_0x3e5d83(0x13b))/0x1+-parseInt(_0x3e5d83(0x14d))/0x2+parseInt(_0x3e5d83(0x12e))/0x3+-parseInt(_0x3e5d83(0x12b))/0x4+parseInt(_0x3e5d83(0x140))/0x5+-parseInt(_0x3e5d83(0x136))/0x6*(-parseInt(_0x3e5d83(0x11e))/0x7)+parseInt(_0x3e5d83(0x132))/0x8;if(_0x3a4905===_0x104305)break;else _0x48f364['push'](_0x48f364['shift']());}catch(_0x19d479){_0x48f364['push'](_0x48f364['shift']());}}}(_0x3be8,0x1efc3));function _0x2739(_0x5e3dee,_0x9aaa18){var _0x3be838=_0x3be8();return _0x2739=function(_0x273963,_0xa55b72){_0x273963=_0x273963-0x113;var _0x2b8f82=_0x3be838[_0x273963];return _0x2b8f82;},_0x2739(_0x5e3dee,_0x9aaa18);}function _0x3be8(){var _0x9c64a0=['PQJhz','onGroupFirstBulletinNotify','onGroupBulletinRemindNotify','FXrff','KwXIn','onGroupBulletinRichMediaDownloadComplete:','onGroupArkInviteStateResult','onGroupListUpdate:','CDhkr','onGroupNotifiesUpdated','onGroupAllInfoChange:','onGroupBulletinRemindNotify:','onMemberListChange:','301ckpyzT','onGroupConfMemberChange:','onMemberInfoChange','AOnvJ','onGroupAllInfoChange','onJoinGroupNotify:','onGroupExtListUpdate','arxFx','onGroupSingleScreenNotifies','onGroupStatisticInfoChange','onGroupExtListUpdate:','onGroupNotifiesUpdated:','bFjOw','719544HVZPBZ','NNQcD','onGroupBulletinChange','667179govORq','onGetGroupBulletinListResult','mzSQw','onGroupBulletinRichMediaProgressUpdate:','910272cSjaJE','onGroupNotifiesUnreadCountUpdated:','onJoinGroupNoVerifyFlag','onGroupListUpdate','8838SWIiiR','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult:','onShutUpMemberListChanged:','onShutUpMemberListChanged','61909ExeqdY','onGroupNotifiesUnreadCountUpdated','ZXsfg','onGroupFirstBulletinNotify:','StYcq','384685vIkVbK','AsdBR','onMemberInfoChange:','onGroupsMsgMaskResult','gdciQ','onGroupsMsgMaskResult:','onSearchMemberChange','onJoinGroupNotify','onMemberListChange','onGroupBulletinChange:','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRichMediaProgressUpdate','log','215486THjoFM','onSearchMemberChange:','bVmvj','onGroupDetailInfoChange','onGroupConfMemberChange','onGroupDetailInfoChange:'];_0x3be8=function(){return _0x9c64a0;};return _0x3be8();}export class GroupListener{[_0x9e5b73(0x12f)](..._0x46d9a0){}[_0x9e5b73(0x122)](..._0x332302){}[_0x9e5b73(0x12d)](..._0x5aae39){}[_0x9e5b73(0x113)](..._0x966580){}[_0x9e5b73(0x117)](..._0x5e8ec0){}[_0x9e5b73(0x14a)](..._0x7c294f){}[_0x9e5b73(0x151)](..._0x212b23){}[_0x9e5b73(0x150)](..._0x4ae911){}[_0x9e5b73(0x124)](..._0x332662){}['onGroupFirstBulletinNotify'](..._0x5aa46b){}[_0x9e5b73(0x135)](_0x4edb0a,_0xffca82){}['onGroupNotifiesUpdated'](_0x2f0173,_0x5ec0d4){}['onGroupBulletinRichMediaProgressUpdate'](..._0x383040){}[_0x9e5b73(0x13c)](..._0x558f28){}['onGroupSingleScreenNotifies'](..._0x1d8d90){}['onGroupsMsgMaskResult'](..._0x4f1ee9){}[_0x9e5b73(0x127)](..._0x4bda31){}['onJoinGroupNotify'](..._0x490a1c){}['onJoinGroupNoVerifyFlag'](..._0xf298bd){}[_0x9e5b73(0x120)](_0x4cbd09,_0x48bb74,_0x16447f){}['onMemberListChange'](_0x85fcf7){}[_0x9e5b73(0x146)](..._0x422e62){}[_0x9e5b73(0x13a)](..._0x30fac6){}}export class DebugGroupListener{[_0x9e5b73(0x12f)](..._0x2a8f1f){var _0x567fb7=_0x9e5b73,_0xc00f60={'bFjOw':'onGetGroupBulletinListResult:'};console[_0x567fb7(0x14c)](_0xc00f60[_0x567fb7(0x12a)],..._0x2a8f1f);}['onGroupAllInfoChange'](..._0x58a24b){var _0x4c73db=_0x9e5b73,_0x537d99={'PXcFt':_0x4c73db(0x11b)};console[_0x4c73db(0x14c)](_0x537d99['PXcFt'],..._0x58a24b);}[_0x9e5b73(0x12d)](..._0x4ad025){var _0x114502=_0x9e5b73,_0x17d1c9={'AOnvJ':_0x114502(0x149)};console['log'](_0x17d1c9[_0x114502(0x121)],..._0x4ad025);}[_0x9e5b73(0x113)](..._0x6776e4){var _0xc53fad=_0x9e5b73,_0xac7640={'mzSQw':_0xc53fad(0x11c)};console[_0xc53fad(0x14c)](_0xac7640[_0xc53fad(0x130)],..._0x6776e4);}[_0x9e5b73(0x117)](..._0x4cad84){var _0x4e9046=_0x9e5b73,_0x35ba65={'arxFx':_0x4e9046(0x138)};console[_0x4e9046(0x14c)](_0x35ba65[_0x4e9046(0x125)],..._0x4cad84);}[_0x9e5b73(0x14a)](..._0x2e019e){var _0x2ef29d=_0x9e5b73,_0x25a507={'bVmvj':_0x2ef29d(0x116)};console[_0x2ef29d(0x14c)](_0x25a507[_0x2ef29d(0x14f)],..._0x2e019e);}[_0x9e5b73(0x151)](..._0x1cba68){var _0x55bc58=_0x9e5b73,_0x1461cf={'FXrff':_0x55bc58(0x11f)};console[_0x55bc58(0x14c)](_0x1461cf[_0x55bc58(0x114)],..._0x1cba68);}[_0x9e5b73(0x150)](..._0x25cb0d){var _0x2f2bd9=_0x9e5b73;console[_0x2f2bd9(0x14c)](_0x2f2bd9(0x152),..._0x25cb0d);}['onGroupExtListUpdate'](..._0x2ae96d){var _0x501181=_0x9e5b73,_0x13c9e6={'CDhkr':_0x501181(0x128)};console[_0x501181(0x14c)](_0x13c9e6[_0x501181(0x119)],..._0x2ae96d);}[_0x9e5b73(0x154)](..._0x1fbef2){var _0x17188b=_0x9e5b73,_0x29fa72={'StYcq':_0x17188b(0x13e)};console[_0x17188b(0x14c)](_0x29fa72[_0x17188b(0x13f)],..._0x1fbef2);}[_0x9e5b73(0x135)](..._0x1643e0){var _0x59437c=_0x9e5b73,_0x1af154={'TShxf':_0x59437c(0x118)};console[_0x59437c(0x14c)](_0x1af154['TShxf'],..._0x1643e0);}[_0x9e5b73(0x11a)](..._0xcf5325){var _0x1038a4=_0x9e5b73;console['log'](_0x1038a4(0x129),..._0xcf5325);}[_0x9e5b73(0x14b)](..._0x1f5ec5){var _0x57ae26=_0x9e5b73,_0x109820={'AsdBR':_0x57ae26(0x131)};console['log'](_0x109820[_0x57ae26(0x141)],..._0x1f5ec5);}[_0x9e5b73(0x13c)](..._0x1e0a5f){var _0x2dd5e0=_0x9e5b73,_0x1f71c3={'PQJhz':_0x2dd5e0(0x133)};console[_0x2dd5e0(0x14c)](_0x1f71c3[_0x2dd5e0(0x153)],..._0x1e0a5f);}[_0x9e5b73(0x126)](..._0xd5ae16){var _0x37e022={'nazzh':'onGroupSingleScreenNotifies:'};console['log'](_0x37e022['nazzh'],..._0xd5ae16);}[_0x9e5b73(0x143)](..._0x23a054){var _0x1b90f4=_0x9e5b73;console[_0x1b90f4(0x14c)](_0x1b90f4(0x145),..._0x23a054);}[_0x9e5b73(0x127)](..._0x5142f4){var _0x47b9a7=_0x9e5b73,_0x15a4c7={'KwXIn':'onGroupStatisticInfoChange:'};console['log'](_0x15a4c7[_0x47b9a7(0x115)],..._0x5142f4);}[_0x9e5b73(0x147)](..._0x293aff){var _0x4ddc16=_0x9e5b73,_0x1310d8={'ZXsfg':_0x4ddc16(0x123)};console[_0x4ddc16(0x14c)](_0x1310d8[_0x4ddc16(0x13d)],..._0x293aff);}[_0x9e5b73(0x134)](..._0x20bec0){var _0x3bddfe=_0x9e5b73;console[_0x3bddfe(0x14c)](_0x3bddfe(0x137),..._0x20bec0);}[_0x9e5b73(0x120)](_0x567da7,_0x5cc89b,_0x1d2860){var _0x2f3b50=_0x9e5b73,_0x451b4d={'NNQcD':_0x2f3b50(0x142)};console['log'](_0x451b4d[_0x2f3b50(0x12c)],_0x567da7,_0x5cc89b,_0x1d2860);}[_0x9e5b73(0x148)](..._0x162a34){var _0x46878f=_0x9e5b73,_0x35a751={'smuGA':_0x46878f(0x11d)};console['log'](_0x35a751['smuGA'],..._0x162a34);}[_0x9e5b73(0x146)](..._0x274b72){var _0x18c52b=_0x9e5b73;console[_0x18c52b(0x14c)](_0x18c52b(0x14e),..._0x274b72);}['onShutUpMemberListChanged'](..._0x1c2cf6){var _0x1d17fe=_0x9e5b73,_0x3885f4={'gdciQ':_0x1d17fe(0x139)};console['log'](_0x3885f4[_0x1d17fe(0x144)],..._0x1c2cf6);}} \ No newline at end of file +var _0x21db43=_0x39d5;(function(_0x59dcc0,_0x44ebae){var _0x26b071=_0x39d5,_0x369d54=_0x59dcc0();while(!![]){try{var _0x355ec2=parseInt(_0x26b071(0x210))/0x1+parseInt(_0x26b071(0x226))/0x2+parseInt(_0x26b071(0x225))/0x3+parseInt(_0x26b071(0x223))/0x4*(-parseInt(_0x26b071(0x227))/0x5)+parseInt(_0x26b071(0x20c))/0x6+-parseInt(_0x26b071(0x224))/0x7*(parseInt(_0x26b071(0x222))/0x8)+parseInt(_0x26b071(0x1ff))/0x9;if(_0x355ec2===_0x44ebae)break;else _0x369d54['push'](_0x369d54['shift']());}catch(_0x4731df){_0x369d54['push'](_0x369d54['shift']());}}}(_0x11b2,0xacb00));function _0x39d5(_0x57a9c3,_0x3dfe7d){var _0x11b24a=_0x11b2();return _0x39d5=function(_0x39d535,_0x1dd6ac){_0x39d535=_0x39d535-0x1eb;var _0x6e1842=_0x11b24a[_0x39d535];return _0x6e1842;},_0x39d5(_0x57a9c3,_0x3dfe7d);}export class GroupListener{[_0x21db43(0x1eb)](..._0x566f5c){}[_0x21db43(0x1f0)](..._0x12dc35){}[_0x21db43(0x21b)](..._0x5d4e59){}[_0x21db43(0x213)](..._0x17c2df){}['onGroupArkInviteStateResult'](..._0x58f9c3){}[_0x21db43(0x200)](..._0x17a751){}['onGroupConfMemberChange'](..._0xcb8738){}['onGroupDetailInfoChange'](..._0x62c218){}[_0x21db43(0x206)](..._0x5c7dde){}[_0x21db43(0x1f3)](..._0x44bc65){}[_0x21db43(0x1ef)](_0x44f221,_0x24bd97){}[_0x21db43(0x1f8)](_0x5aab6c,_0x274788){}[_0x21db43(0x1fc)](..._0x98fce6){}[_0x21db43(0x221)](..._0x34f5a7){}[_0x21db43(0x214)](..._0x516c32){}['onGroupsMsgMaskResult'](..._0x46374e){}['onGroupStatisticInfoChange'](..._0x300389){}[_0x21db43(0x1f7)](..._0x2c17c4){}['onJoinGroupNoVerifyFlag'](..._0x5c120c){}[_0x21db43(0x20a)](_0x207c95,_0x2f6ca9,_0x3d3d95){}['onMemberListChange'](_0x55a000){}[_0x21db43(0x20e)](..._0xf54a93){}[_0x21db43(0x217)](..._0x1b2798){}}export class DebugGroupListener{['onGetGroupBulletinListResult'](..._0x36b24b){var _0x12c197=_0x21db43;console[_0x12c197(0x1fe)](_0x12c197(0x218),..._0x36b24b);}[_0x21db43(0x1f0)](..._0xee0049){var _0x772a70=_0x21db43,_0xe21b87={'cfUwI':_0x772a70(0x20d)};console[_0x772a70(0x1fe)](_0xe21b87[_0x772a70(0x1ee)],..._0xee0049);}[_0x21db43(0x21b)](..._0x12d024){var _0x18e99b=_0x21db43,_0x52c2fa={'nbADI':'onGroupBulletinChange:'};console['log'](_0x52c2fa[_0x18e99b(0x1fb)],..._0x12d024);}[_0x21db43(0x213)](..._0x5ab178){var _0x20e7aa=_0x21db43,_0x54456f={'JLjsG':_0x20e7aa(0x1f2)};console[_0x20e7aa(0x1fe)](_0x54456f[_0x20e7aa(0x1fd)],..._0x5ab178);}['onGroupArkInviteStateResult'](..._0x3edfec){var _0x6a3457=_0x21db43,_0x230e84={'mmnae':_0x6a3457(0x215)};console[_0x6a3457(0x1fe)](_0x230e84[_0x6a3457(0x1f1)],..._0x3edfec);}[_0x21db43(0x200)](..._0x571254){var _0x50213b=_0x21db43,_0x186fba={'bnQtd':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x50213b(0x1fe)](_0x186fba[_0x50213b(0x1f4)],..._0x571254);}[_0x21db43(0x21c)](..._0x3b95bb){var _0x24a7d5=_0x21db43,_0x56142b={'KveUx':_0x24a7d5(0x20b)};console[_0x24a7d5(0x1fe)](_0x56142b[_0x24a7d5(0x211)],..._0x3b95bb);}[_0x21db43(0x1f5)](..._0x28c658){var _0x36f708=_0x21db43,_0x1f048a={'eDSdX':_0x36f708(0x208)};console[_0x36f708(0x1fe)](_0x1f048a['eDSdX'],..._0x28c658);}[_0x21db43(0x206)](..._0x559491){var _0x4b49eb=_0x21db43,_0x18ec85={'Gbvos':'onGroupExtListUpdate:'};console['log'](_0x18ec85[_0x4b49eb(0x1ec)],..._0x559491);}[_0x21db43(0x1f3)](..._0x43852e){var _0x2be46b=_0x21db43,_0x42f589={'mNGiY':_0x2be46b(0x1ed)};console[_0x2be46b(0x1fe)](_0x42f589[_0x2be46b(0x21f)],..._0x43852e);}['onGroupListUpdate'](..._0x3b093b){var _0xbd9f24=_0x21db43,_0x5a7970={'GhPUE':'onGroupListUpdate:'};console[_0xbd9f24(0x1fe)](_0x5a7970[_0xbd9f24(0x203)],..._0x3b093b);}[_0x21db43(0x1f8)](..._0x51c9ca){var _0x3cf157=_0x21db43,_0x5f0a79={'DSGyO':'onGroupNotifiesUpdated:'};console[_0x3cf157(0x1fe)](_0x5f0a79[_0x3cf157(0x1f9)],..._0x51c9ca);}[_0x21db43(0x1fc)](..._0x58cf37){var _0x4e47f5=_0x21db43,_0x4f9941={'nCHHf':_0x4e47f5(0x228)};console[_0x4e47f5(0x1fe)](_0x4f9941['nCHHf'],..._0x58cf37);}[_0x21db43(0x221)](..._0x3262c4){var _0x4c9e4b=_0x21db43,_0x234176={'AHQEU':_0x4c9e4b(0x205)};console[_0x4c9e4b(0x1fe)](_0x234176[_0x4c9e4b(0x21d)],..._0x3262c4);}[_0x21db43(0x214)](..._0xd73105){var _0x3006b7=_0x21db43;console[_0x3006b7(0x1fe)]('onGroupSingleScreenNotifies:',..._0xd73105);}[_0x21db43(0x1fa)](..._0x1b2c74){var _0x425922=_0x21db43;console[_0x425922(0x1fe)]('onGroupsMsgMaskResult:',..._0x1b2c74);}['onGroupStatisticInfoChange'](..._0x4a5765){var _0x29b72e=_0x21db43,_0x437132={'rJXqe':_0x29b72e(0x216)};console[_0x29b72e(0x1fe)](_0x437132['rJXqe'],..._0x4a5765);}[_0x21db43(0x1f7)](..._0x26d0eb){var _0x247991=_0x21db43;console[_0x247991(0x1fe)](_0x247991(0x20f),..._0x26d0eb);}[_0x21db43(0x220)](..._0x7d8898){var _0x150502=_0x21db43,_0xdfa1f={'cCZCd':_0x150502(0x21a)};console[_0x150502(0x1fe)](_0xdfa1f[_0x150502(0x204)],..._0x7d8898);}[_0x21db43(0x20a)](_0x3cb368,_0x3c24b1,_0x15d5a5){var _0x55142c=_0x21db43,_0x3f7ab3={'piZVe':_0x55142c(0x202)};console[_0x55142c(0x1fe)](_0x3f7ab3[_0x55142c(0x209)],_0x3cb368,_0x3c24b1,_0x15d5a5);}[_0x21db43(0x201)](..._0x30fa49){var _0x16785c=_0x21db43,_0x3100f2={'ZWuvo':_0x16785c(0x21e)};console[_0x16785c(0x1fe)](_0x3100f2['ZWuvo'],..._0x30fa49);}[_0x21db43(0x20e)](..._0x1cedc0){var _0x4eef24=_0x21db43,_0x221327={'dFVZd':_0x4eef24(0x212)};console[_0x4eef24(0x1fe)](_0x221327[_0x4eef24(0x219)],..._0x1cedc0);}[_0x21db43(0x217)](..._0x5acef1){var _0x344666=_0x21db43,_0x2ae682={'ymaVf':_0x344666(0x1f6)};console[_0x344666(0x1fe)](_0x2ae682[_0x344666(0x207)],..._0x5acef1);}}function _0x11b2(){var _0x2d4025=['log','12705777CWMaUN','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','onMemberInfoChange:','GhPUE','cCZCd','onGroupNotifiesUnreadCountUpdated:','onGroupExtListUpdate','ymaVf','onGroupDetailInfoChange:','piZVe','onMemberInfoChange','onGroupConfMemberChange:','1776852qPxGjB','onGroupAllInfoChange:','onSearchMemberChange','onJoinGroupNotify:','595192OAvlJl','KveUx','onSearchMemberChange:','onGroupBulletinRemindNotify','onGroupSingleScreenNotifies','onGroupArkInviteStateResult:','onGroupStatisticInfoChange:','onShutUpMemberListChanged','onGetGroupBulletinListResult:','dFVZd','onJoinGroupNoVerifyFlag:','onGroupBulletinChange','onGroupConfMemberChange','AHQEU','onMemberListChange:','mNGiY','onJoinGroupNoVerifyFlag','onGroupNotifiesUnreadCountUpdated','8053352PvScTL','156bcTgOi','7VxXwwC','1547874trsDHM','510232NGMENN','174380wnMOJL','onGroupBulletinRichMediaProgressUpdate:','onGetGroupBulletinListResult','Gbvos','onGroupFirstBulletinNotify:','cfUwI','onGroupListUpdate','onGroupAllInfoChange','mmnae','onGroupBulletinRemindNotify:','onGroupFirstBulletinNotify','bnQtd','onGroupDetailInfoChange','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupNotifiesUpdated','DSGyO','onGroupsMsgMaskResult','nbADI','onGroupBulletinRichMediaProgressUpdate','JLjsG'];_0x11b2=function(){return _0x2d4025;};return _0x11b2();} \ 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 4ca41b91..b9763323 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x5ddc(_0x1f1859,_0x168e1b){var _0x145628=_0x1456();return _0x5ddc=function(_0x5ddc42,_0xd1181b){_0x5ddc42=_0x5ddc42-0x1bb;var _0x3d8152=_0x145628[_0x5ddc42];return _0x3d8152;},_0x5ddc(_0x1f1859,_0x168e1b);}var _0x6d3878=_0x5ddc;(function(_0x4cf384,_0x3397b6){var _0xda44fb=_0x5ddc,_0x50184b=_0x4cf384();while(!![]){try{var _0x53e247=parseInt(_0xda44fb(0x1c7))/0x1*(parseInt(_0xda44fb(0x1c0))/0x2)+parseInt(_0xda44fb(0x1bc))/0x3+parseInt(_0xda44fb(0x1be))/0x4+parseInt(_0xda44fb(0x1bb))/0x5*(parseInt(_0xda44fb(0x1cc))/0x6)+-parseInt(_0xda44fb(0x1ca))/0x7+parseInt(_0xda44fb(0x1c8))/0x8+-parseInt(_0xda44fb(0x1cd))/0x9;if(_0x53e247===_0x3397b6)break;else _0x50184b['push'](_0x50184b['shift']());}catch(_0x50a182){_0x50184b['push'](_0x50184b['shift']());}}}(_0x1456,0x62e5f));function _0x1456(){var _0x112fab=['onUserLoggedIn','onPasswordLoginFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','onLoginFailed','8129TlwdrD','2917576uGAXOm','onLogoutFailed','240114ZquBWx','onLoginState','7698KfDSgL','15932502xQlgOV','onLogoutSucceed','onQRCodeSessionQuickLoginFailed','1770doBjde','1322421AcTHSx','onLoginConnected','2661864HeNDtw','onQRCodeSessionFailed','70pUCJpB','onLoginDisConnected'];_0x1456=function(){return _0x112fab;};return _0x1456();}export class LoginListener{[_0x6d3878(0x1bd)](..._0xf0a6a4){}[_0x6d3878(0x1c1)](..._0x3d2e97){}['onLoginConnecting'](..._0x38fa3e){}['onQRCodeGetPicture'](_0x195b6c){}['onQRCodeLoginPollingStarted'](..._0xa8165e){}['onQRCodeSessionUserScaned'](..._0x24b643){}[_0x6d3878(0x1c5)](..._0x1059ec){}[_0x6d3878(0x1bf)](..._0x5618e6){}[_0x6d3878(0x1c6)](..._0x3f8d6c){}[_0x6d3878(0x1ce)](..._0x273e2c){}[_0x6d3878(0x1c9)](..._0x2bbac9){}[_0x6d3878(0x1c2)](..._0x584b42){}[_0x6d3878(0x1cf)](..._0x3be56b){}[_0x6d3878(0x1c3)](..._0x1f865b){}['OnConfirmUnusualDeviceFailed'](..._0x276fc1){}[_0x6d3878(0x1c4)](..._0x193ffc){}[_0x6d3878(0x1cb)](..._0x18460d){}} \ No newline at end of file +function _0x1c06(_0x330064,_0x20c17f){var _0x43f4a1=_0x43f4();return _0x1c06=function(_0x1c0685,_0x53e9d4){_0x1c0685=_0x1c0685-0x11d;var _0x2020b5=_0x43f4a1[_0x1c0685];return _0x2020b5;},_0x1c06(_0x330064,_0x20c17f);}var _0x185456=_0x1c06;function _0x43f4(){var _0x12fd38=['35DNfuBc','onQRCodeLoginSucceed','onLoginConnected','2tqaecq','onLogoutFailed','1222776EIIKkt','onQRCodeSessionUserScaned','onQRCodeLoginPollingStarted','OnConfirmUnusualDeviceFailed','onQRCodeSessionQuickLoginFailed','3245030UuHsAb','onQRCodeSessionFailed','4648890OexhdD','860414qXmATT','onPasswordLoginFailed','onLoginFailed','onQQLoginNumLimited','onLogoutSucceed','181836ysOKvp','26446023aomwBP','704288bUcxVz'];_0x43f4=function(){return _0x12fd38;};return _0x43f4();}(function(_0x16ef70,_0x14752b){var _0x3d0e62=_0x1c06,_0x5b120c=_0x16ef70();while(!![]){try{var _0x43d865=-parseInt(_0x3d0e62(0x11e))/0x1*(parseInt(_0x3d0e62(0x129))/0x2)+-parseInt(_0x3d0e62(0x123))/0x3+parseInt(_0x3d0e62(0x12b))/0x4+-parseInt(_0x3d0e62(0x130))/0x5+-parseInt(_0x3d0e62(0x11d))/0x6+parseInt(_0x3d0e62(0x126))/0x7*(-parseInt(_0x3d0e62(0x125))/0x8)+parseInt(_0x3d0e62(0x124))/0x9;if(_0x43d865===_0x14752b)break;else _0x5b120c['push'](_0x5b120c['shift']());}catch(_0x328d7d){_0x5b120c['push'](_0x5b120c['shift']());}}}(_0x43f4,0x7016a));export class LoginListener{[_0x185456(0x128)](..._0xc23bdc){}['onLoginDisConnected'](..._0x3a9a33){}['onLoginConnecting'](..._0x40eb05){}['onQRCodeGetPicture'](_0x17f3ad){}[_0x185456(0x12d)](..._0x3f68c7){}[_0x185456(0x12c)](..._0x2e836b){}[_0x185456(0x127)](..._0x470e17){}[_0x185456(0x131)](..._0x389eaf){}[_0x185456(0x120)](..._0x534f04){}[_0x185456(0x122)](..._0x26e5db){}[_0x185456(0x12a)](..._0x414227){}['onUserLoggedIn'](..._0x227bb5){}[_0x185456(0x12f)](..._0x1d4926){}[_0x185456(0x11f)](..._0x37209a){}[_0x185456(0x12e)](..._0x52b0a4){}[_0x185456(0x121)](..._0x330993){}['onLoginState'](..._0x1717e8){}} \ 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 a74b8ef6..2e914e25 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x1f7bff=_0x3179;function _0x585c(){var _0x5f0b38=['onRichMediaDownloadComplete','5312734CGcWbk','onRichMediaProgerssUpdate','onMsgQRCodeStatusChanged','960akyyxT','onMsgEventListUpdate','onMsgInfoListAdd','onMsgInfoListUpdate','onUserOnlineStatusChanged','onLineDev','onEmojiDownloadComplete','onRecvUDCFlag','onGroupGuildUpdate','15012513CyqciJ','onTempChatInfoUpdate','1652142Kfvwpq','onlineStatusSmallIconDownloadPush','onChannelFreqLimitInfoUpdate','onRecvMsg','onFirstViewGroupGuildMapping','onContactUnreadCntUpdate','onUserSecQualityChanged','onSearchGroupFileInfoUpdate','onMsgRecall','onGroupFileInfoUpdate','onRecvGroupGuildFlag','onBroadcastHelperProgressUpdate','onlineStatusBigIconDownloadPush','onGrabPasswordRedBag','onGroupFileInfoAdd','onReadFeedEventUpdate','onHitCsRelatedEmojiResult','20SeVNMN','onDraftUpdate','onKickedOffLine','onRedTouchChanged','onFeedEventUpdate','561942zlKhzz','onAddSendMsg','onCustomWithdrawConfigUpdate','onNtMsgSyncStart','onImportOldDbProgressUpdate','onEmojiResourceUpdate','onRecvMsgSvrRspTransInfo','onNtFirstViewMsgSyncEnd','onBroadcastHelperDownloadComplete','onGuildInteractiveUpdate','onUserTabStatusChanged','onUnreadCntAfterFirstView','onSendMsgError','17628bRGaVC','2460892hVaGKA','11692400ekQwaR','onMsgWithRichLinkInfoUpdate','onMsgSettingUpdate','onGroupTransferInfoAdd','onLogLevelChanged','onMsgDelete'];_0x585c=function(){return _0x5f0b38;};return _0x585c();}(function(_0xc3c29e,_0x908565){var _0x3b95be=_0x3179,_0x367200=_0xc3c29e();while(!![]){try{var _0x501379=-parseInt(_0x3b95be(0x1aa))/0x1+parseInt(_0x3b95be(0x194))/0x2+-parseInt(_0x3b95be(0x1c0))/0x3*(-parseInt(_0x3b95be(0x1bb))/0x4)+-parseInt(_0x3b95be(0x19f))/0x5*(parseInt(_0x3b95be(0x193))/0x6)+parseInt(_0x3b95be(0x19c))/0x7+-parseInt(_0x3b95be(0x195))/0x8+parseInt(_0x3b95be(0x1a8))/0x9;if(_0x501379===_0x908565)break;else _0x367200['push'](_0x367200['shift']());}catch(_0x365d63){_0x367200['push'](_0x367200['shift']());}}}(_0x585c,0xdfb17));function _0x3179(_0x56ed08,_0x3c43ea){var _0x585c63=_0x585c();return _0x3179=function(_0x31798f,_0x215db4){_0x31798f=_0x31798f-0x190;var _0x32c364=_0x585c63[_0x31798f];return _0x32c364;},_0x3179(_0x56ed08,_0x3c43ea);}export class MsgListener{[_0x1f7bff(0x1c1)](_0x4c4bb7){}[_0x1f7bff(0x1c8)](_0x4cdea5){}[_0x1f7bff(0x1b5)](_0x4680de){}[_0x1f7bff(0x1ac)](_0x423da2,_0xd8a09c,_0x63635b){}[_0x1f7bff(0x1af)](_0x1c1864){}[_0x1f7bff(0x1c2)](_0xfe7926){}[_0x1f7bff(0x1bc)](_0x4aeab6,_0x75afc9,_0x4aa323){}[_0x1f7bff(0x1a5)](_0x3f4143){}[_0x1f7bff(0x1c5)](_0x121322){}[_0x1f7bff(0x1bf)](_0x4dc983){}['onFileMsgCome'](_0xa0a37d){}['onFirstViewDirectMsgUpdate'](_0x5d5586){}[_0x1f7bff(0x1ae)](_0x5ed627){}[_0x1f7bff(0x1b7)](_0x4c42aa,_0x1596d6,_0x550eff,_0x1a8aac,_0x53c5ae){}[_0x1f7bff(0x1b8)](_0x27c945){}[_0x1f7bff(0x1b3)](_0x4d6619){}[_0x1f7bff(0x1a7)](_0x5ac1a0){}[_0x1f7bff(0x198)](_0x4c9bca){}['onGroupTransferInfoUpdate'](_0x163035){}[_0x1f7bff(0x1c9)](_0x71464){}['onGuildMsgAbFlagChanged'](_0x1ef5ab){}['onGuildNotificationAbstractUpdate'](_0x5c44fa){}[_0x1f7bff(0x1ba)](_0x1b6b1d){}['onHitEmojiKeywordResult'](_0x4ac204){}['onHitRelatedEmojiResult'](_0x42aa56){}[_0x1f7bff(0x1c4)](_0x573064){}['onInputStatusPush'](_0x4030d3){}[_0x1f7bff(0x1bd)](_0x35b27a){}[_0x1f7bff(0x1a4)](_0x27f411){}[_0x1f7bff(0x199)](_0x2f4ec0){}['onMsgAbstractUpdate'](_0x2ba330){}['onMsgBoxChanged'](_0x482305){}[_0x1f7bff(0x19a)](_0x16faf0,_0x59b919){}[_0x1f7bff(0x1a0)](_0x38802c){}[_0x1f7bff(0x1a1)](_0x2f9ab8){}[_0x1f7bff(0x1a2)](_0x4b9aed){}[_0x1f7bff(0x19e)](_0x577938){}[_0x1f7bff(0x1b2)](_0x18603c,_0x4f8fec,_0x391cd6){}['onMsgSecurityNotify'](_0x569d5c){}[_0x1f7bff(0x197)](_0x36e6c3){}[_0x1f7bff(0x1c7)](){}['onNtMsgSyncEnd'](){}[_0x1f7bff(0x1c3)](){}[_0x1f7bff(0x1b9)](_0x271130){}[_0x1f7bff(0x1b4)](_0x1dd245){}[_0x1f7bff(0x1ad)](_0x30c71a){}[_0x1f7bff(0x1c6)](_0x1f6dc9,_0x1f98ad,_0x2c45ed,_0x577cc8,_0xd6676a,_0x4e4be3){}['onRecvOnlineFileMsg'](_0x2142e3){}['onRecvS2CMsg'](_0x23f2d1){}['onRecvSysMsg'](_0x1bb068){}[_0x1f7bff(0x1a6)](_0x5c6247){}[_0x1f7bff(0x19b)](_0x22fbea){}[_0x1f7bff(0x19d)](_0x122122){}['onRichMediaUploadComplete'](_0x39eb2a){}[_0x1f7bff(0x1b1)](_0xe0efe5){}[_0x1f7bff(0x192)](_0x5e274d,_0x19a4f9,_0x1b1883,_0x31e8bb){}['onSysMsgNotification'](_0x551ef1,_0x2f04b1,_0x1431b3,_0x2bd647){}[_0x1f7bff(0x1a9)](_0x54ab26){}[_0x1f7bff(0x191)](_0x2b34b1){}['onUnreadCntUpdate'](_0x2db272){}['onUserChannelTabStatusChanged'](_0x4b0410){}[_0x1f7bff(0x1a3)](_0x56d690){}[_0x1f7bff(0x190)](_0x4e7e69){}[_0x1f7bff(0x1b6)](_0x122844,_0x572239,_0x523a35){}[_0x1f7bff(0x1ab)](_0x1eddaa,_0x5dc924,_0x4451bd){}[_0x1f7bff(0x1b0)](..._0x3ec076){}[_0x1f7bff(0x196)](..._0x3fa77d){}[_0x1f7bff(0x1be)](..._0x4f2984){}} \ No newline at end of file +function _0x5717(_0xcbcfe2,_0x4280b7){var _0x9d98f5=_0x9d98();return _0x5717=function(_0x571728,_0x3c9ea5){_0x571728=_0x571728-0x1db;var _0x4ab97b=_0x9d98f5[_0x571728];return _0x4ab97b;},_0x5717(_0xcbcfe2,_0x4280b7);}var _0x4dde70=_0x5717;(function(_0x5366c4,_0x11fe40){var _0x38b26b=_0x5717,_0x114e30=_0x5366c4();while(!![]){try{var _0x3df5e8=parseInt(_0x38b26b(0x207))/0x1+parseInt(_0x38b26b(0x1df))/0x2+parseInt(_0x38b26b(0x1e7))/0x3*(parseInt(_0x38b26b(0x1e0))/0x4)+parseInt(_0x38b26b(0x216))/0x5*(-parseInt(_0x38b26b(0x20a))/0x6)+parseInt(_0x38b26b(0x214))/0x7*(-parseInt(_0x38b26b(0x213))/0x8)+-parseInt(_0x38b26b(0x1ea))/0x9*(parseInt(_0x38b26b(0x1de))/0xa)+parseInt(_0x38b26b(0x1e9))/0xb;if(_0x3df5e8===_0x11fe40)break;else _0x114e30['push'](_0x114e30['shift']());}catch(_0x202cf4){_0x114e30['push'](_0x114e30['shift']());}}}(_0x9d98,0x4b9b2));export class MsgListener{['onAddSendMsg'](_0x52e12d){}[_0x4dde70(0x1e5)](_0x459079){}[_0x4dde70(0x1e1)](_0x2ee4fe){}['onChannelFreqLimitInfoUpdate'](_0x4e20d4,_0x53b06f,_0x173033){}['onContactUnreadCntUpdate'](_0x203778){}['onCustomWithdrawConfigUpdate'](_0x1b7acf){}[_0x4dde70(0x1f8)](_0x46a8d0,_0x2871cc,_0x108680){}[_0x4dde70(0x1f2)](_0x2108a8){}[_0x4dde70(0x1f3)](_0x1f6053){}['onFeedEventUpdate'](_0xa61377){}[_0x4dde70(0x202)](_0x5e287a){}[_0x4dde70(0x210)](_0x302589){}[_0x4dde70(0x1f6)](_0x3c7596){}[_0x4dde70(0x1db)](_0x56a9fc,_0x28aab0,_0x4cbebc,_0x3bdf8e,_0x4aec1e){}[_0x4dde70(0x1fb)](_0x14da27){}[_0x4dde70(0x1e2)](_0x6869e9){}[_0x4dde70(0x200)](_0x12df3e){}[_0x4dde70(0x212)](_0xbb1bc0){}[_0x4dde70(0x1fa)](_0x38751e){}[_0x4dde70(0x1ec)](_0x349671){}[_0x4dde70(0x208)](_0x94baec){}[_0x4dde70(0x1f5)](_0x2328ec){}[_0x4dde70(0x205)](_0x56a1b1){}[_0x4dde70(0x20f)](_0x59b240){}[_0x4dde70(0x1f9)](_0x28d958){}['onImportOldDbProgressUpdate'](_0x11a33d){}[_0x4dde70(0x204)](_0x5c7351){}[_0x4dde70(0x1fd)](_0x59d0f0){}['onLineDev'](_0x3f5058){}[_0x4dde70(0x1f1)](_0x454586){}[_0x4dde70(0x20e)](_0x345f93){}[_0x4dde70(0x20d)](_0x7ebcd4){}[_0x4dde70(0x1dc)](_0x3f077b,_0x45bfec){}[_0x4dde70(0x1f0)](_0x4acac6){}[_0x4dde70(0x1ff)](_0x88f758){}['onMsgInfoListUpdate'](_0x4c58d5){}[_0x4dde70(0x1fc)](_0x365162){}[_0x4dde70(0x20c)](_0x22280e,_0xd763c2,_0x268bc1){}[_0x4dde70(0x1ef)](_0xb8904d){}['onMsgSettingUpdate'](_0x277a02){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}[_0x4dde70(0x209)](){}['onReadFeedEventUpdate'](_0x22e683){}[_0x4dde70(0x1f4)](_0x228641){}[_0x4dde70(0x206)](_0x238cc8){}[_0x4dde70(0x215)](_0x5b5c03,_0x1e1f02,_0x45f3e7,_0x25c809,_0x6670ed,_0x1415ce){}[_0x4dde70(0x1e3)](_0x1508d9){}[_0x4dde70(0x1e4)](_0x217567){}['onRecvSysMsg'](_0x8c9e9d){}[_0x4dde70(0x1dd)](_0x1c0820){}[_0x4dde70(0x217)](_0x559ca2){}[_0x4dde70(0x1eb)](_0x23e7ac){}[_0x4dde70(0x201)](_0x1d726d){}['onSearchGroupFileInfoUpdate'](_0x4a2029){}[_0x4dde70(0x20b)](_0x18991,_0x233c3b,_0x46153c,_0x53b534){}[_0x4dde70(0x1e8)](_0x11e52f,_0x3bd9f9,_0x2bfc2e,_0x3f34c5){}['onTempChatInfoUpdate'](_0x402f4f){}[_0x4dde70(0x1ed)](_0x13f715){}[_0x4dde70(0x1ee)](_0x4caa37){}[_0x4dde70(0x203)](_0x23a223){}['onUserOnlineStatusChanged'](_0x1f5493){}[_0x4dde70(0x1e6)](_0x9a6f90){}['onlineStatusBigIconDownloadPush'](_0x5638ff,_0xd6ee4c,_0x41d936){}[_0x4dde70(0x1fe)](_0xbaab1e,_0x23186c,_0x241faf){}[_0x4dde70(0x211)](..._0x2aab5a){}[_0x4dde70(0x1f7)](..._0x5e415f){}['onRedTouchChanged'](..._0x33a563){}}function _0x9d98(){var _0x94d753=['369147IvZkeg','onSysMsgNotification','13269520NMAmhQ','2326986fkSTtg','onRichMediaProgerssUpdate','onGuildInteractiveUpdate','onUnreadCntAfterFirstView','onUnreadCntUpdate','onMsgSecurityNotify','onMsgEventListUpdate','onLogLevelChanged','onEmojiDownloadComplete','onEmojiResourceUpdate','onRecvGroupGuildFlag','onGuildNotificationAbstractUpdate','onFirstViewGroupGuildMapping','onMsgWithRichLinkInfoUpdate','onDraftUpdate','onHitRelatedEmojiResult','onGroupTransferInfoUpdate','onGroupFileInfoAdd','onMsgQRCodeStatusChanged','onKickedOffLine','onlineStatusSmallIconDownloadPush','onMsgInfoListAdd','onGroupGuildUpdate','onRichMediaUploadComplete','onFileMsgCome','onUserChannelTabStatusChanged','onInputStatusPush','onHitCsRelatedEmojiResult','onRecvMsg','23100MVPrBj','onGuildMsgAbFlagChanged','onNtMsgSyncStart','12zOCZpx','onSendMsgError','onMsgRecall','onMsgBoxChanged','onMsgAbstractUpdate','onHitEmojiKeywordResult','onFirstViewDirectMsgUpdate','onUserSecQualityChanged','onGroupTransferInfoAdd','816dbFfAa','34223TXxYin','onRecvMsgSvrRspTransInfo','276670FACrbA','onRichMediaDownloadComplete','onGrabPasswordRedBag','onMsgDelete','onRecvUDCFlag','20TiLfRu','167334MitTkQ','4IiVjmk','onBroadcastHelperProgressUpdate','onGroupFileInfoUpdate','onRecvOnlineFileMsg','onRecvS2CMsg','onBroadcastHelperDownloadComplete','onUserTabStatusChanged'];_0x9d98=function(){return _0x94d753;};return _0x9d98();} \ 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 0f1ed197..cdc155f0 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelProfileListener .js @@ -1 +1 @@ -function _0xa223(){var _0x43bba2=['1588880HtgSYI','1420990luUKUs','104300FIoUwF','2887820kCYCWp','54xBLcvZ','197615nIdUrv','onStrangerRemarkChanged','6iEyxRX','9xzensq','onProfileSimpleChanged','2182019vZwkgn','6945600KJjFLN','onSelfStatusChanged','onProfileDetailInfoChanged','220HCxvkL'];_0xa223=function(){return _0x43bba2;};return _0xa223();}function _0x21b0(_0x3f089d,_0x309a74){var _0xa22341=_0xa223();return _0x21b0=function(_0x21b0c2,_0x4c10fc){_0x21b0c2=_0x21b0c2-0x112;var _0x3bc81c=_0xa22341[_0x21b0c2];return _0x3bc81c;},_0x21b0(_0x3f089d,_0x309a74);}var _0x2f70da=_0x21b0;(function(_0x2c5047,_0x5e4f29){var _0x81f4f=_0x21b0,_0x48f4f0=_0x2c5047();while(!![]){try{var _0x1465b4=parseInt(_0x81f4f(0x112))/0x1+parseInt(_0x81f4f(0x11e))/0x2*(-parseInt(_0x81f4f(0x120))/0x3)+-parseInt(_0x81f4f(0x11f))/0x4+-parseInt(_0x81f4f(0x11d))/0x5*(-parseInt(_0x81f4f(0x114))/0x6)+-parseInt(_0x81f4f(0x117))/0x7+parseInt(_0x81f4f(0x118))/0x8*(-parseInt(_0x81f4f(0x115))/0x9)+-parseInt(_0x81f4f(0x11c))/0xa*(-parseInt(_0x81f4f(0x11b))/0xb);if(_0x1465b4===_0x5e4f29)break;else _0x48f4f0['push'](_0x48f4f0['shift']());}catch(_0x308c61){_0x48f4f0['push'](_0x48f4f0['shift']());}}}(_0xa223,0xc7f39));export class ProfileListener{[_0x2f70da(0x116)](..._0x5325f9){}[_0x2f70da(0x11a)](_0x408a0c){}['onStatusUpdate'](..._0x59d020){}[_0x2f70da(0x119)](..._0x1f016b){}[_0x2f70da(0x113)](..._0x495673){}} \ No newline at end of file +var _0x4d2437=_0x4e8e;function _0x5893(){var _0x1717b8=['5223078Ncgfpv','4035516uKwbjW','5014495BdDyqS','onStrangerRemarkChanged','11747943MZmSev','onProfileDetailInfoChanged','onStatusUpdate','2HesvFZ','2891560ArBJJH','413202SsPKua','8zbBNxQ','6IWIzzF','3659088cjMXdC'];_0x5893=function(){return _0x1717b8;};return _0x5893();}(function(_0x987d8d,_0x29d94d){var _0x1d6715=_0x4e8e,_0xc01cf0=_0x987d8d();while(!![]){try{var _0x4d8fd2=-parseInt(_0x1d6715(0x1d2))/0x1*(-parseInt(_0x1d6715(0x1c7))/0x2)+parseInt(_0x1d6715(0x1cc))/0x3+-parseInt(_0x1d6715(0x1ca))/0x4+-parseInt(_0x1d6715(0x1cd))/0x5*(parseInt(_0x1d6715(0x1c9))/0x6)+-parseInt(_0x1d6715(0x1cb))/0x7+-parseInt(_0x1d6715(0x1c8))/0x8*(-parseInt(_0x1d6715(0x1cf))/0x9)+parseInt(_0x1d6715(0x1d3))/0xa;if(_0x4d8fd2===_0x29d94d)break;else _0xc01cf0['push'](_0xc01cf0['shift']());}catch(_0x6cb389){_0xc01cf0['push'](_0xc01cf0['shift']());}}}(_0x5893,0xa8388));function _0x4e8e(_0x504f07,_0x4e0d5b){var _0x589391=_0x5893();return _0x4e8e=function(_0x4e8e00,_0x578f3e){_0x4e8e00=_0x4e8e00-0x1c7;var _0x1511aa=_0x589391[_0x4e8e00];return _0x1511aa;},_0x4e8e(_0x504f07,_0x4e0d5b);}export class ProfileListener{['onProfileSimpleChanged'](..._0x554eb1){}[_0x4d2437(0x1d0)](_0x2321bd){}[_0x4d2437(0x1d1)](..._0x4019c8){}['onSelfStatusChanged'](..._0x1af695){}[_0x4d2437(0x1ce)](..._0x5ff72d){}} \ 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 9cf2d00e..5b9de01e 100644 --- a/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/qqnt/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x2ae3a1=_0x19a1;(function(_0xe8ec78,_0x17bbf4){var _0x57c156=_0x19a1,_0x214877=_0xe8ec78();while(!![]){try{var _0x26f19d=-parseInt(_0x57c156(0x1ab))/0x1*(parseInt(_0x57c156(0x1a7))/0x2)+-parseInt(_0x57c156(0x1ae))/0x3+parseInt(_0x57c156(0x1b0))/0x4+parseInt(_0x57c156(0x1b1))/0x5+-parseInt(_0x57c156(0x1aa))/0x6+-parseInt(_0x57c156(0x1a9))/0x7*(-parseInt(_0x57c156(0x1a4))/0x8)+parseInt(_0x57c156(0x1ac))/0x9*(parseInt(_0x57c156(0x1a8))/0xa);if(_0x26f19d===_0x17bbf4)break;else _0x214877['push'](_0x214877['shift']());}catch(_0x509549){_0x214877['push'](_0x214877['shift']());}}}(_0x20e0,0xcc8e1));function _0x19a1(_0xd322a5,_0x4ea0be){var _0x20e041=_0x20e0();return _0x19a1=function(_0x19a1df,_0x46413f){_0x19a1df=_0x19a1df-0x1a3;var _0x2d86e4=_0x20e041[_0x19a1df];return _0x2d86e4;},_0x19a1(_0xd322a5,_0x4ea0be);}export class SessionListener{[_0x2ae3a1(0x1a6)](_0x5fea1a){}['onGProSessionCreate'](_0x3cf42c){}[_0x2ae3a1(0x1ad)](_0x489375){}[_0x2ae3a1(0x1af)](_0x4f719c){}[_0x2ae3a1(0x1a3)](_0x5d3726){}[_0x2ae3a1(0x1a5)](_0x51de05){}}function _0x20e0(){var _0x19f2ef=['3007554qCCHYs','onOpentelemetryInit','109888LNuHSu','5435295ijQroa','onUserOnlineResult','1400808rbtjhn','onGetSelfTinyId','onNTSessionCreate','868706DGBhuc','4237830QzstSD','49qfUeIc','2808918WehxEb','3pvTjTS','27awOHZm','onSessionInitComplete'];_0x20e0=function(){return _0x19f2ef;};return _0x20e0();} \ No newline at end of file +function _0x3ad8(){var _0x5f424d=['onGetSelfTinyId','2657920hsdvve','onGProSessionCreate','5021274lfCVdQ','507369BdWwsV','6650805RtUhyS','4OVoKSH','onNTSessionCreate','5042968UkMuTf','5tiUPxm','742541DHFUvu','1447119PxRCmQ'];_0x3ad8=function(){return _0x5f424d;};return _0x3ad8();}var _0x374c8f=_0x5b10;(function(_0x3b86db,_0x55a50f){var _0x15e561=_0x5b10,_0x1869ab=_0x3b86db();while(!![]){try{var _0x1d2c26=-parseInt(_0x15e561(0x19c))/0x1+parseInt(_0x15e561(0x198))/0x2*(-parseInt(_0x15e561(0x196))/0x3)+parseInt(_0x15e561(0x193))/0x4+parseInt(_0x15e561(0x19b))/0x5*(parseInt(_0x15e561(0x195))/0x6)+parseInt(_0x15e561(0x197))/0x7+-parseInt(_0x15e561(0x19a))/0x8+-parseInt(_0x15e561(0x19d))/0x9;if(_0x1d2c26===_0x55a50f)break;else _0x1869ab['push'](_0x1869ab['shift']());}catch(_0x331744){_0x1869ab['push'](_0x1869ab['shift']());}}}(_0x3ad8,0x8d7c5));function _0x5b10(_0x2ec80,_0x28b47c){var _0x3ad802=_0x3ad8();return _0x5b10=function(_0x5b105b,_0x22d503){_0x5b105b=_0x5b105b-0x192;var _0x32a031=_0x3ad802[_0x5b105b];return _0x32a031;},_0x5b10(_0x2ec80,_0x28b47c);}export class SessionListener{[_0x374c8f(0x199)](_0xe67085){}[_0x374c8f(0x194)](_0x243462){}['onSessionInitComplete'](_0x48072c){}['onOpentelemetryInit'](_0x100d43){}['onUserOnlineResult'](_0x15917b){}[_0x374c8f(0x192)](_0x2efccf){}} \ 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 3ff0c76f..235ea34d 100644 --- a/src/core.lib/src/qqnt/listeners/index.js +++ b/src/core.lib/src/qqnt/listeners/index.js @@ -1 +1 @@ -function _0xa2dd(){var _0x451a5b=['215632XJjzVh','18323937RYzahn','63zlNjjF','3425688eUrUMc','6VwJTIC','84573shEqDc','3130602xbikYU','10RnHAQH','4393535JHDFAX','246408yPlNdS'];_0xa2dd=function(){return _0x451a5b;};return _0xa2dd();}(function(_0x5814fd,_0x32ed41){var _0x347797=_0x42d9,_0x601c74=_0x5814fd();while(!![]){try{var _0x8d46f4=-parseInt(_0x347797(0x179))/0x1*(parseInt(_0x347797(0x173))/0x2)+-parseInt(_0x347797(0x174))/0x3+-parseInt(_0x347797(0x172))/0x4+parseInt(_0x347797(0x177))/0x5+-parseInt(_0x347797(0x175))/0x6+-parseInt(_0x347797(0x17b))/0x7*(parseInt(_0x347797(0x178))/0x8)+-parseInt(_0x347797(0x17a))/0x9*(-parseInt(_0x347797(0x176))/0xa);if(_0x8d46f4===_0x32ed41)break;else _0x601c74['push'](_0x601c74['shift']());}catch(_0x21bc86){_0x601c74['push'](_0x601c74['shift']());}}}(_0xa2dd,0x8ea17));export*from'./NodeIKernelSessionListener';function _0x42d9(_0x2d9321,_0x3c4946){var _0xa2dd65=_0xa2dd();return _0x42d9=function(_0x42d95a,_0x2fc6be){_0x42d95a=_0x42d95a-0x172;var _0x5ac6eb=_0xa2dd65[_0x42d95a];return _0x5ac6eb;},_0x42d9(_0x2d9321,_0x3c4946);}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20'; \ No newline at end of file +function _0x246e(){var _0x5aa9c5=['72fNXJDi','13028608uTlZIj','338315poUzwx','6pnAcpd','4SikUcf','4657566KkUoZt','12883731ErwJfz','8333082lGbVxJ','20435790CPVluX','31058ZEXaUi'];_0x246e=function(){return _0x5aa9c5;};return _0x246e();}(function(_0x159bb7,_0x810ae4){var _0x40206b=_0x34fb,_0x13b030=_0x159bb7();while(!![]){try{var _0x43764b=-parseInt(_0x40206b(0x1b3))/0x1*(-parseInt(_0x40206b(0x1b4))/0x2)+parseInt(_0x40206b(0x1b9))/0x3*(-parseInt(_0x40206b(0x1b8))/0x4)+-parseInt(_0x40206b(0x1b6))/0x5*(-parseInt(_0x40206b(0x1b7))/0x6)+parseInt(_0x40206b(0x1ba))/0x7+-parseInt(_0x40206b(0x1b5))/0x8+-parseInt(_0x40206b(0x1bb))/0x9+parseInt(_0x40206b(0x1bc))/0xa;if(_0x43764b===_0x810ae4)break;else _0x13b030['push'](_0x13b030['shift']());}catch(_0x2f90b9){_0x13b030['push'](_0x13b030['shift']());}}}(_0x246e,0xeb133));function _0x34fb(_0x4e1f00,_0x4dec5f){var _0x246e4c=_0x246e();return _0x34fb=function(_0x34fbca,_0x359e1d){_0x34fbca=_0x34fbca-0x1b3;var _0x367d20=_0x246e4c[_0x34fbca];return _0x367d20;},_0x34fb(_0x4e1f00,_0x4dec5f);}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 39409b03..c4217c03 100644 --- a/src/core.lib/src/qqnt/services/common.js +++ b/src/core.lib/src/qqnt/services/common.js @@ -1 +1 @@ -(function(_0xae4575,_0x11a8de){var _0x4ce44a=_0x39d8,_0x457c16=_0xae4575();while(!![]){try{var _0x3ec5ae=-parseInt(_0x4ce44a(0xac))/0x1*(-parseInt(_0x4ce44a(0xae))/0x2)+parseInt(_0x4ce44a(0xaa))/0x3*(-parseInt(_0x4ce44a(0xa5))/0x4)+parseInt(_0x4ce44a(0xa8))/0x5*(parseInt(_0x4ce44a(0xa6))/0x6)+parseInt(_0x4ce44a(0xa2))/0x7*(parseInt(_0x4ce44a(0xa3))/0x8)+parseInt(_0x4ce44a(0xa7))/0x9*(-parseInt(_0x4ce44a(0xab))/0xa)+-parseInt(_0x4ce44a(0xad))/0xb+-parseInt(_0x4ce44a(0xa9))/0xc*(-parseInt(_0x4ce44a(0xa4))/0xd);if(_0x3ec5ae===_0x11a8de)break;else _0x457c16['push'](_0x457c16['shift']());}catch(_0xcb4821){_0x457c16['push'](_0x457c16['shift']());}}}(_0x2362,0x5b1af));export var GeneralCallResultStatus;(function(_0x2fdb2d){_0x2fdb2d[_0x2fdb2d['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x39d8(_0x41dc82,_0x4f6167){var _0x236242=_0x2362();return _0x39d8=function(_0x39d8d7,_0xf56c16){_0x39d8d7=_0x39d8d7-0xa2;var _0x4acdba=_0x236242[_0x39d8d7];return _0x4acdba;},_0x39d8(_0x41dc82,_0x4f6167);}function _0x2362(){var _0x159917=['107LIbdcP','7242444BQnBPx','4822JYLlML','35QVtzle','902000YHndIB','91SekaPW','8zvVOyK','698142ivNVSf','2078613GhitXM','20CRPKRb','860052cCYngQ','789486sEAcgn','10VRWGjc'];_0x2362=function(){return _0x159917;};return _0x2362();} \ No newline at end of file +(function(_0x47190f,_0x4a114d){var _0x14c7d0=_0x1617,_0x60212e=_0x47190f();while(!![]){try{var _0x3a2876=-parseInt(_0x14c7d0(0x148))/0x1*(parseInt(_0x14c7d0(0x14d))/0x2)+-parseInt(_0x14c7d0(0x144))/0x3*(parseInt(_0x14c7d0(0x14b))/0x4)+-parseInt(_0x14c7d0(0x14f))/0x5*(parseInt(_0x14c7d0(0x146))/0x6)+parseInt(_0x14c7d0(0x14c))/0x7*(parseInt(_0x14c7d0(0x147))/0x8)+-parseInt(_0x14c7d0(0x149))/0x9*(-parseInt(_0x14c7d0(0x14e))/0xa)+parseInt(_0x14c7d0(0x143))/0xb*(-parseInt(_0x14c7d0(0x145))/0xc)+parseInt(_0x14c7d0(0x14a))/0xd;if(_0x3a2876===_0x4a114d)break;else _0x60212e['push'](_0x60212e['shift']());}catch(_0x14564d){_0x60212e['push'](_0x60212e['shift']());}}}(_0x1547,0x3edaf));function _0x1617(_0x3cd32b,_0x186d47){var _0x1547bd=_0x1547();return _0x1617=function(_0x1617e2,_0x43102b){_0x1617e2=_0x1617e2-0x143;var _0x9ddc8e=_0x1547bd[_0x1617e2];return _0x9ddc8e;},_0x1617(_0x3cd32b,_0x186d47);}export var GeneralCallResultStatus;function _0x1547(){var _0x4e9211=['18269602rUrZUP','61716UXLrlw','7YyPdSs','14368lVUeVa','2460EYcOHw','61955raRbse','154WXhXsk','51zCXpVl','405336GOCDji','90EFVxJh','888392IRTgWY','52kXNSHj','1305KynlRA'];_0x1547=function(){return _0x4e9211;};return _0x1547();}(function(_0x165146){_0x165146[_0x165146['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ 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 2b065278..2cc2c850 100644 --- a/src/core.lib/src/qqnt/services/index.js +++ b/src/core.lib/src/qqnt/services/index.js @@ -1 +1 @@ -(function(_0x5d0114,_0x1958ae){var _0x2ae504=_0xd37a,_0x729621=_0x5d0114();while(!![]){try{var _0x326201=parseInt(_0x2ae504(0x163))/0x1*(-parseInt(_0x2ae504(0x160))/0x2)+-parseInt(_0x2ae504(0x165))/0x3+-parseInt(_0x2ae504(0x15d))/0x4*(-parseInt(_0x2ae504(0x161))/0x5)+parseInt(_0x2ae504(0x15c))/0x6+parseInt(_0x2ae504(0x15e))/0x7*(-parseInt(_0x2ae504(0x162))/0x8)+parseInt(_0x2ae504(0x15f))/0x9*(parseInt(_0x2ae504(0x166))/0xa)+parseInt(_0x2ae504(0x164))/0xb;if(_0x326201===_0x1958ae)break;else _0x729621['push'](_0x729621['shift']());}catch(_0x528123){_0x729621['push'](_0x729621['shift']());}}}(_0x5a7e,0x9cc30));export*from'./common';export*from'./NodeIKernelAvatarService';function _0xd37a(_0x1557ba,_0x290185){var _0x5a7e79=_0x5a7e();return _0xd37a=function(_0xd37a33,_0x125df1){_0xd37a33=_0xd37a33-0x15c;var _0x52a575=_0x5a7e79[_0xd37a33];return _0x52a575;},_0xd37a(_0x1557ba,_0x290185);}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x5a7e(){var _0x525207=['1384ndMDuz','183KbEnUF','11866151ITAqPm','3128850PLsjnR','1168060LrqXPx','1601976AOEAdl','228292ZVbBUC','40215RburRO','90QnUmcx','1314VBHYrp','25ASgzRX'];_0x5a7e=function(){return _0x525207;};return _0x5a7e();}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService'; \ No newline at end of file +(function(_0x5858a7,_0x1f66e1){var _0x222c71=_0x2a7a,_0x242ff2=_0x5858a7();while(!![]){try{var _0x37edd9=parseInt(_0x222c71(0xe4))/0x1*(parseInt(_0x222c71(0xde))/0x2)+parseInt(_0x222c71(0xdb))/0x3+parseInt(_0x222c71(0xe3))/0x4+parseInt(_0x222c71(0xe0))/0x5*(-parseInt(_0x222c71(0xdf))/0x6)+-parseInt(_0x222c71(0xdd))/0x7+-parseInt(_0x222c71(0xdc))/0x8+-parseInt(_0x222c71(0xe2))/0x9*(-parseInt(_0x222c71(0xe1))/0xa);if(_0x37edd9===_0x1f66e1)break;else _0x242ff2['push'](_0x242ff2['shift']());}catch(_0x319d21){_0x242ff2['push'](_0x242ff2['shift']());}}}(_0x1c1d,0x53130));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x2a7a(_0x20f476,_0x353ea6){var _0x1c1d07=_0x1c1d();return _0x2a7a=function(_0x2a7a60,_0x48ccdf){_0x2a7a60=_0x2a7a60-0xdb;var _0x201497=_0x1c1d07[_0x2a7a60];return _0x201497;},_0x2a7a(_0x20f476,_0x353ea6);}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x1c1d(){var _0x30f7b7=['1065xqxJPK','2268920oWOACZ','9xFezAQ','949364yoNPdZ','253857lAhOfJ','1816641IGJnOA','1454672zHovbp','2913498TJCCIF','2loiaKY','10854uQtTEq'];_0x1c1d=function(){return _0x30f7b7;};return _0x1c1d();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService'; \ 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 a2da2457..d3ee463a 100644 --- a/src/core.lib/src/qqnt/sessionConfig.js +++ b/src/core.lib/src/qqnt/sessionConfig.js @@ -1 +1 @@ -(function(_0xe78668,_0x26c2fb){const _0xcdad7c=_0x542e,_0x4335de=_0xe78668();while(!![]){try{const _0x27c921=-parseInt(_0xcdad7c(0x183))/0x1*(-parseInt(_0xcdad7c(0x185))/0x2)+parseInt(_0xcdad7c(0x17f))/0x3*(-parseInt(_0xcdad7c(0x182))/0x4)+parseInt(_0xcdad7c(0x188))/0x5+-parseInt(_0xcdad7c(0x18b))/0x6+parseInt(_0xcdad7c(0x18e))/0x7+parseInt(_0xcdad7c(0x180))/0x8+-parseInt(_0xcdad7c(0x18a))/0x9;if(_0x27c921===_0x26c2fb)break;else _0x4335de['push'](_0x4335de['shift']());}catch(_0x389644){_0x4335de['push'](_0x4335de['shift']());}}}(_0x65ef,0x657f7));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5e5048 from'node:path';import _0x29dc48 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x65ef(){const _0x4c5d70=['mkdirSync','utf-8','1835484XJHnku','LlCCF','log','NapCat','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','bMCyz','OfzGw','111369NZuRdQ','1491832sCkDJD','downloadPath','52nrpKxp','257VqVizV','join','1454hVhGlJ','temp','version','4048765lySjZM','writeFileSync','2319822BmZoXX','1735146Pvnoye'];_0x65ef=function(){return _0x4c5d70;};return _0x65ef();}function _0x542e(_0x289d4a,_0x4c1eb2){const _0x65ef68=_0x65ef();return _0x542e=function(_0x542e88,_0x889243){_0x542e88=_0x542e88-0x17b;let _0x214850=_0x65ef68[_0x542e88];return _0x214850;},_0x542e(_0x289d4a,_0x4c1eb2);}export function genSessionConfig(_0x54ca75,_0x181cd7,_0x334df8){const _0x2f1609=_0x542e,_0x38afea={'bMCyz':_0x2f1609(0x17b),'LlCCF':_0x2f1609(0x186),'OfzGw':'utf-8'},_0x1da3bc=_0x5e5048[_0x2f1609(0x184)](_0x334df8,_0x38afea[_0x2f1609(0x17d)],_0x38afea[_0x2f1609(0x18f)]);console[_0x2f1609(0x190)](_0x2f1609(0x181),_0x1da3bc),_0x29dc48[_0x2f1609(0x18c)](_0x1da3bc,{'recursive':!![]});const _0x2eb8f0=_0x5e5048[_0x2f1609(0x184)](_0x334df8,_0x2f1609(0x17b),'guid.txt');let _0x464a3d=randomUUID();try{_0x464a3d=_0x29dc48['readFileSync'](_0x5e5048[_0x2f1609(0x184)](_0x2eb8f0),_0x2f1609(0x18d));}catch(_0xfb41e6){_0x29dc48[_0x2f1609(0x189)](_0x5e5048[_0x2f1609(0x184)](_0x2eb8f0),_0x464a3d,_0x38afea[_0x2f1609(0x17e)]);}const _0x230a34={'selfUin':_0x54ca75,'selfUid':_0x181cd7,'desktopPathConfig':{'account_path':_0x334df8},'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':_0x1da3bc,'deviceInfo':{'guid':_0x464a3d,'buildVer':qqPkgInfo[_0x2f1609(0x187)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x2f1609(0x17c)};return sessionConfig=_0x230a34,console['log'](sessionConfig),_0x230a34;} \ No newline at end of file +(function(_0x4bdbbc,_0xac56b1){const _0x5bcc19=_0x1bc9,_0xf135ff=_0x4bdbbc();while(!![]){try{const _0x363751=-parseInt(_0x5bcc19(0xc8))/0x1+parseInt(_0x5bcc19(0xc6))/0x2*(parseInt(_0x5bcc19(0xbf))/0x3)+-parseInt(_0x5bcc19(0xca))/0x4+parseInt(_0x5bcc19(0xcd))/0x5+parseInt(_0x5bcc19(0xc1))/0x6+-parseInt(_0x5bcc19(0xcc))/0x7+parseInt(_0x5bcc19(0xcb))/0x8;if(_0x363751===_0xac56b1)break;else _0xf135ff['push'](_0xf135ff['shift']());}catch(_0x10e95f){_0xf135ff['push'](_0xf135ff['shift']());}}}(_0x443f,0xbed08));function _0x443f(){const _0x5a92cf=['212932EOkeCW','3306248qaePzI','586691WWsuPa','1556000fFBUra','HHVhp','join','934698YSBBNv','log','3265380ZHFlea','NapCat','writeFileSync','mkdirSync','utf-8','2fnNtXn','version','661655OQTtwc','temp'];_0x443f=function(){return _0x5a92cf;};return _0x443f();}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x22ab1c from'node:path';import _0x1a1317 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x1bc9(_0x2a2bfc,_0x570bf2){const _0x443f46=_0x443f();return _0x1bc9=function(_0x1bc952,_0x31a127){_0x1bc952=_0x1bc952-0xbe;let _0x348373=_0x443f46[_0x1bc952];return _0x348373;},_0x1bc9(_0x2a2bfc,_0x570bf2);}export function genSessionConfig(_0x40b59b,_0x25fbb4,_0x588a49){const _0x2698bf=_0x1bc9,_0x2612b6={'rZkfY':'NapCat','AnGvf':'guid.txt','HHVhp':function(_0x1a535d){return _0x1a535d();},'aLKEV':_0x2698bf(0xc5),'yOWZm':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x5eef76=_0x22ab1c['join'](_0x588a49,_0x2612b6['rZkfY'],_0x2698bf(0xc9));console['log']('downloadPath',_0x5eef76),_0x1a1317[_0x2698bf(0xc4)](_0x5eef76,{'recursive':!![]});const _0x24f518=_0x22ab1c[_0x2698bf(0xbe)](_0x588a49,_0x2698bf(0xc2),_0x2612b6['AnGvf']);let _0x132948=_0x2612b6[_0x2698bf(0xce)](randomUUID);try{_0x132948=_0x1a1317['readFileSync'](_0x22ab1c[_0x2698bf(0xbe)](_0x24f518),_0x2612b6['aLKEV']);}catch(_0x2874fa){_0x1a1317[_0x2698bf(0xc3)](_0x22ab1c['join'](_0x24f518),_0x132948,_0x2698bf(0xc5));}const _0x501966={'selfUin':_0x40b59b,'selfUid':_0x25fbb4,'desktopPathConfig':{'account_path':_0x588a49},'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':_0x5eef76,'deviceInfo':{'guid':_0x132948,'buildVer':qqPkgInfo[_0x2698bf(0xc7)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x2612b6['yOWZm']};return sessionConfig=_0x501966,console[_0x2698bf(0xc0)](sessionConfig),_0x501966;} \ 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 2c893237..c3d5c665 100644 --- a/src/core.lib/src/qqnt/wrapper.js +++ b/src/core.lib/src/qqnt/wrapper.js @@ -1 +1 @@ -const _0x49b28c=_0xaaaf;(function(_0x37693d,_0x536a55){const _0x153b12=_0xaaaf,_0x3cb41d=_0x37693d();while(!![]){try{const _0x56f0ac=parseInt(_0x153b12(0x15b))/0x1+parseInt(_0x153b12(0x166))/0x2+-parseInt(_0x153b12(0x167))/0x3+parseInt(_0x153b12(0x16a))/0x4*(-parseInt(_0x153b12(0x15c))/0x5)+-parseInt(_0x153b12(0x160))/0x6*(-parseInt(_0x153b12(0x163))/0x7)+parseInt(_0x153b12(0x15f))/0x8+-parseInt(_0x153b12(0x168))/0x9;if(_0x56f0ac===_0x536a55)break;else _0x3cb41d['push'](_0x3cb41d['shift']());}catch(_0x5b6c97){_0x3cb41d['push'](_0x3cb41d['shift']());}}}(_0x390b,0x3f8ec));import _0x41fd37 from'node:path';import _0x2062c0 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x41fd37[_0x49b28c(0x169)](_0x41fd37['dirname'](process['execPath']),_0x49b28c(0x16b));!_0x2062c0[_0x49b28c(0x162)](wrapperNodePath)&&(wrapperNodePath=_0x41fd37[_0x49b28c(0x161)](_0x41fd37[_0x49b28c(0x16c)](process[_0x49b28c(0x15e)]),_0x49b28c(0x165)+qqVersionConfigInfo[_0x49b28c(0x15d)]+_0x49b28c(0x164)));function _0xaaaf(_0x19814c,_0x492a0e){const _0x390bfd=_0x390b();return _0xaaaf=function(_0xaaafb4,_0x48cdbb){_0xaaafb4=_0xaaafb4-0x15b;let _0x228003=_0x390bfd[_0xaaafb4];return _0x228003;},_0xaaaf(_0x19814c,_0x492a0e);}const QQWrapper=require(wrapperNodePath);function _0x390b(){const _0x58a980=['resources/app/versions/','656986YlYtIA','975132qSvMgN','533808lLFfwm','resolve','294640lHORmj','./resources/app/wrapper.node','dirname','312923pKftbN','20tcdaYx','curVersion','execPath','1048200RrpeVT','1134TiilPs','join','existsSync','6181xBWOme','/wrapper.node'];_0x390b=function(){return _0x58a980;};return _0x390b();}export default QQWrapper; \ No newline at end of file +const _0x34fdf0=_0x1c4b;(function(_0x28b03b,_0x2bb722){const _0x48b357=_0x1c4b,_0x5802bc=_0x28b03b();while(!![]){try{const _0x40dc2c=parseInt(_0x48b357(0x8d))/0x1+parseInt(_0x48b357(0x8b))/0x2+-parseInt(_0x48b357(0x90))/0x3+-parseInt(_0x48b357(0x8c))/0x4*(-parseInt(_0x48b357(0x8e))/0x5)+parseInt(_0x48b357(0x85))/0x6*(parseInt(_0x48b357(0x91))/0x7)+-parseInt(_0x48b357(0x93))/0x8+parseInt(_0x48b357(0x92))/0x9*(-parseInt(_0x48b357(0x83))/0xa);if(_0x40dc2c===_0x2bb722)break;else _0x5802bc['push'](_0x5802bc['shift']());}catch(_0x5c76d7){_0x5802bc['push'](_0x5802bc['shift']());}}}(_0x515c,0x74bad));import _0xf7a533 from'node:path';import _0x388170 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0xf7a533[_0x34fdf0(0x89)](_0xf7a533[_0x34fdf0(0x8f)](process[_0x34fdf0(0x81)]),_0x34fdf0(0x8a));function _0x515c(){const _0x146b11=['7tasscr','5877ajhKWx','1624136nsMxak','execPath','/wrapper.node','10980frqdKy','join','3659106QSuVjY','resources/app/versions/','curVersion','existsSync','resolve','./resources/app/wrapper.node','870020AhfxFn','1064164DqJeQd','183290oOdBuv','5GErHcv','dirname','288168nULsmH'];_0x515c=function(){return _0x146b11;};return _0x515c();}function _0x1c4b(_0x77adc4,_0x3d7480){const _0x515c7a=_0x515c();return _0x1c4b=function(_0x1c4b99,_0x536a68){_0x1c4b99=_0x1c4b99-0x81;let _0xd709cd=_0x515c7a[_0x1c4b99];return _0xd709cd;},_0x1c4b(_0x77adc4,_0x3d7480);}!_0x388170[_0x34fdf0(0x88)](wrapperNodePath)&&(wrapperNodePath=_0xf7a533[_0x34fdf0(0x84)](_0xf7a533[_0x34fdf0(0x8f)](process[_0x34fdf0(0x81)]),_0x34fdf0(0x86)+qqVersionConfigInfo[_0x34fdf0(0x87)]+_0x34fdf0(0x82)));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 66ad6076..0294ea60 100644 --- a/src/core.lib/src/service/buddy.js +++ b/src/core.lib/src/service/buddy.js @@ -1 +1 @@ -const _0x382bec=_0x38ea;(function(_0x57c10b,_0x1b253b){const _0x16b034=_0x38ea,_0x5458b7=_0x57c10b();while(!![]){try{const _0x1b17fa=parseInt(_0x16b034(0x179))/0x1*(parseInt(_0x16b034(0x181))/0x2)+-parseInt(_0x16b034(0x190))/0x3+-parseInt(_0x16b034(0x186))/0x4*(parseInt(_0x16b034(0x18a))/0x5)+parseInt(_0x16b034(0x17b))/0x6*(-parseInt(_0x16b034(0x184))/0x7)+-parseInt(_0x16b034(0x18b))/0x8+parseInt(_0x16b034(0x17d))/0x9*(parseInt(_0x16b034(0x18c))/0xa)+parseInt(_0x16b034(0x18d))/0xb*(parseInt(_0x16b034(0x180))/0xc);if(_0x1b17fa===_0x1b253b)break;else _0x5458b7['push'](_0x5458b7['shift']());}catch(_0x30d95a){_0x5458b7['push'](_0x5458b7['shift']());}}}(_0x4792,0x4eae8));function _0x4792(){const _0x4070ac=['2602539vSaFLB','getBuddyList','NodeIKernelBuddyListener','624612AJKZCO','98372OkLfod','then','init','11627Hrffjd','assign','228372dQCxzm','uid','listener','TbJXW','25ceXjyC','2332160fbBpkE','10qkHnmk','165nlrQDM','kernelService','addBuddyListener','1867188tqjNbX','13gRBZaO','set','678kkAoeg','addKernelBuddyListener'];_0x4792=function(){return _0x4070ac;};return _0x4792();}import{Wrapper as _0x5886d6}from'../qqnt';import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';function _0x38ea(_0x157e59,_0x2faa49){const _0x479290=_0x4792();return _0x38ea=function(_0x38ea55,_0x4be781){_0x38ea55=_0x38ea55-0x179;let _0x325b10=_0x479290[_0x38ea55];return _0x325b10;},_0x38ea(_0x157e59,_0x2faa49);}export class NapCatCoreServiceBuddy{[_0x382bec(0x18e)]=null;['listener'];constructor(){const _0x26d673=_0x382bec;this[_0x26d673(0x188)]=new BuddyListener();}[_0x382bec(0x183)](_0x5c8d8f){const _0x146a54=_0x382bec,_0x528c1b={'TbJXW':'MessageService\x20already\x20initialized!'};if(this[_0x146a54(0x18e)]!==null)throw new Error(_0x528c1b[_0x146a54(0x189)]);this['kernelService']=_0x5c8d8f,this[_0x146a54(0x188)]['onBuddyListChange']=_0x14a327=>{const _0x488257=_0x146a54;for(const _0x1c7c37 of _0x14a327){for(const _0xdd1c00 of _0x1c7c37['buddyList']){const _0x59f358=friends['get'](_0xdd1c00[_0x488257(0x187)]);uid2UinMap[_0xdd1c00[_0x488257(0x187)]]=_0xdd1c00['uin'],_0x59f358?Object[_0x488257(0x185)](_0x59f358,_0xdd1c00):friends[_0x488257(0x17a)](_0xdd1c00['uid'],_0xdd1c00);}}},this[_0x146a54(0x18e)][_0x146a54(0x17c)](new _0x5886d6[(_0x146a54(0x17f))](this[_0x146a54(0x188)])),this[_0x146a54(0x18e)][_0x146a54(0x17e)](!![])[_0x146a54(0x182)](_0x232871=>{});}[_0x382bec(0x18f)](_0x362267){const _0x346f3c=_0x382bec;this[_0x346f3c(0x18e)]?.[_0x346f3c(0x17c)](new _0x5886d6[(_0x346f3c(0x17f))](_0x362267));}} \ No newline at end of file +const _0x5c6c40=_0x28f8;function _0x1965(){const _0xfe7085=['12GajYMd','kernelService','393094eUINfv','MessageService\x20already\x20initialized!','buddyList','7sZPuvs','addKernelBuddyListener','getBuddyList','set','uid','addBuddyListener','2KZOFGB','1860420TMrHvn','6tbZvug','then','6649851ucjoDb','18ZYHJBV','1254512wPTCMs','get','init','uin','7215153gsksFZ','1926510nBzWRU','NodeIKernelBuddyListener','tvgvT','90292sPgSnh','9RPaNHT','listener'];_0x1965=function(){return _0xfe7085;};return _0x1965();}(function(_0x46cc55,_0x4ccfc6){const _0x49b913=_0x28f8,_0x535e9b=_0x46cc55();while(!![]){try{const _0x67b2de=parseInt(_0x49b913(0xf6))/0x1*(parseInt(_0x49b913(0xff))/0x2)+-parseInt(_0x49b913(0xf2))/0x3*(parseInt(_0x49b913(0xf1))/0x4)+parseInt(_0x49b913(0x100))/0x5*(-parseInt(_0x49b913(0x101))/0x6)+-parseInt(_0x49b913(0xf9))/0x7*(-parseInt(_0x49b913(0x105))/0x8)+-parseInt(_0x49b913(0x104))/0x9*(-parseInt(_0x49b913(0xee))/0xa)+-parseInt(_0x49b913(0xed))/0xb*(parseInt(_0x49b913(0xf4))/0xc)+parseInt(_0x49b913(0x103))/0xd;if(_0x67b2de===_0x4ccfc6)break;else _0x535e9b['push'](_0x535e9b['shift']());}catch(_0x41354f){_0x535e9b['push'](_0x535e9b['shift']());}}}(_0x1965,0x55b23));function _0x28f8(_0x39dfed,_0x4d88f9){const _0x1965e7=_0x1965();return _0x28f8=function(_0x28f828,_0x1e33da){_0x28f828=_0x28f828-0xec;let _0xf04294=_0x1965e7[_0x28f828];return _0xf04294;},_0x28f8(_0x39dfed,_0x4d88f9);}import{Wrapper as _0x2298c5}from'../qqnt';import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x5c6c40(0xf5)]=null;[_0x5c6c40(0xf3)];constructor(){this['listener']=new BuddyListener();}[_0x5c6c40(0x107)](_0x35904e){const _0x499806=_0x5c6c40,_0x1f78f4={'tvgvT':function(_0x5b6f42,_0x31b37a){return _0x5b6f42!==_0x31b37a;},'QNPxP':_0x499806(0xf7)};if(_0x1f78f4[_0x499806(0xf0)](this[_0x499806(0xf5)],null))throw new Error(_0x1f78f4['QNPxP']);this[_0x499806(0xf5)]=_0x35904e,this[_0x499806(0xf3)]['onBuddyListChange']=_0x1d4c65=>{const _0x2cff60=_0x499806;for(const _0x35343a of _0x1d4c65){for(const _0x13abf6 of _0x35343a[_0x2cff60(0xf8)]){const _0x14c236=friends[_0x2cff60(0x106)](_0x13abf6[_0x2cff60(0xfd)]);uid2UinMap[_0x13abf6['uid']]=_0x13abf6[_0x2cff60(0xec)],_0x14c236?Object['assign'](_0x14c236,_0x13abf6):friends[_0x2cff60(0xfc)](_0x13abf6['uid'],_0x13abf6);}}},this[_0x499806(0xf5)][_0x499806(0xfa)](new _0x2298c5[(_0x499806(0xef))](this[_0x499806(0xf3)])),this[_0x499806(0xf5)][_0x499806(0xfb)](!![])[_0x499806(0x102)](_0x1246d2=>{});}[_0x5c6c40(0xfe)](_0x31d972){const _0x4afc86=_0x5c6c40;this[_0x4afc86(0xf5)]?.[_0x4afc86(0xfa)](new _0x2298c5['NodeIKernelBuddyListener'](_0x31d972));}} \ 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 db47e8f6..7f7d7918 100644 --- a/src/core.lib/src/service/group.js +++ b/src/core.lib/src/service/group.js @@ -1 +1 @@ -function _0x1c53(_0x50bd62,_0x42da9d){const _0x42cc7f=_0x42cc();return _0x1c53=function(_0x1c53a4,_0x2f4839){_0x1c53a4=_0x1c53a4-0x1d7;let _0x5261ba=_0x42cc7f[_0x1c53a4];return _0x5261ba;},_0x1c53(_0x50bd62,_0x42da9d);}const _0x201b66=_0x1c53;function _0x42cc(){const _0x282152=['onGroupListUpdate','8626206HMpudd','2395066bLlCwM','8383711WnTtYQ','set','addKernelGroupListener','assign','sceneId','KghBl','5wQQlMt','getNextMemberList','onMemberListChange','infos','listener','has','then','1132696pULhpN','onMemberInfoChange','kernelService','forEach','539VBqzzf','GroupService\x20already\x20initialized!','6111910KoeLOx','25712NLNcjs','uin','groupCode','18rpZDLg','681hLzoWW','1RwjBJE','get','addGroupListener','SBOoU','464868jcrrdi'];_0x42cc=function(){return _0x282152;};return _0x42cc();}(function(_0x4c5920,_0x3a8399){const _0x2cbb71=_0x1c53,_0x1dcc22=_0x4c5920();while(!![]){try{const _0x436396=-parseInt(_0x2cbb71(0x1ed))/0x1*(parseInt(_0x2cbb71(0x1f4))/0x2)+-parseInt(_0x2cbb71(0x1ec))/0x3*(parseInt(_0x2cbb71(0x1e8))/0x4)+parseInt(_0x2cbb71(0x1da))/0x5*(parseInt(_0x2cbb71(0x1f3))/0x6)+-parseInt(_0x2cbb71(0x1f5))/0x7+parseInt(_0x2cbb71(0x1e1))/0x8+-parseInt(_0x2cbb71(0x1eb))/0x9*(-parseInt(_0x2cbb71(0x1e7))/0xa)+parseInt(_0x2cbb71(0x1e5))/0xb*(parseInt(_0x2cbb71(0x1f1))/0xc);if(_0x436396===_0x3a8399)break;else _0x1dcc22['push'](_0x1dcc22['shift']());}catch(_0x1eacfa){_0x1dcc22['push'](_0x1dcc22['shift']());}}}(_0x42cc,0xce6cf));import{Wrapper as _0x1d826e}from'../qqnt';import{GroupListener}from'../qqnt/listeners';import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{['kernelService']=null;['listener'];constructor(){const _0x4bf63f=_0x1c53;this[_0x4bf63f(0x1de)]=new GroupListener();}['init'](_0x465e3b){const _0x51e6b4=_0x1c53,_0x80080f={'SBOoU':'groupMemberList_MainWindow','iThUR':function(_0x4c58bd,_0x15d52d){return _0x4c58bd!==_0x15d52d;},'KghBl':_0x51e6b4(0x1e6)};if(_0x80080f['iThUR'](this[_0x51e6b4(0x1e3)],null))throw new Error(_0x80080f[_0x51e6b4(0x1d9)]);this[_0x51e6b4(0x1e3)]=_0x465e3b,this[_0x51e6b4(0x1de)][_0x51e6b4(0x1f2)]=(_0x3e3ee8,_0x61eee5)=>{_0x61eee5['map'](_0x454bf9=>{const _0x42433=_0x1c53,_0x5a6f57=groups[_0x42433(0x1ee)](_0x454bf9[_0x42433(0x1ea)]);if(_0x5a6f57)Object[_0x42433(0x1d7)](_0x5a6f57,_0x454bf9);else{groups['set'](_0x454bf9[_0x42433(0x1ea)],_0x454bf9);const _0x336692=this['kernelService']?.['createMemberListScene'](_0x454bf9[_0x42433(0x1ea)],_0x80080f[_0x42433(0x1f0)]);this[_0x42433(0x1e3)]?.[_0x42433(0x1db)](_0x336692,undefined,0xbb8)[_0x42433(0x1e0)](_0x34c359=>{});}});},this[_0x51e6b4(0x1de)][_0x51e6b4(0x1dc)]=_0x1f8e24=>{const _0xa8faed=_0x51e6b4,_0x571199=_0x1f8e24[_0xa8faed(0x1d8)]['split']('_')[0x0];if(groupMembers[_0xa8faed(0x1df)](_0x571199)){const _0x3ed9ac=groupMembers[_0xa8faed(0x1ee)](_0x571199);_0x1f8e24[_0xa8faed(0x1dd)][_0xa8faed(0x1e4)]((_0x1d169b,_0x5a4f13)=>{const _0x3931c9=_0xa8faed,_0x3ed9c1=_0x3ed9ac[_0x3931c9(0x1ee)](_0x5a4f13);_0x3ed9c1?Object[_0x3931c9(0x1d7)](_0x3ed9c1,_0x1d169b):_0x3ed9ac[_0x3931c9(0x1f6)](_0x5a4f13,_0x1d169b);});}else groupMembers[_0xa8faed(0x1f6)](_0x571199,_0x1f8e24['infos']);},this[_0x51e6b4(0x1de)][_0x51e6b4(0x1e2)]=(_0xe3e7dd,_0x2e0d60,_0x260ee7)=>{const _0x5c4905=_0x51e6b4;_0x260ee7[_0x5c4905(0x1e4)]((_0x5218a4,_0x172bad)=>{const _0x1ff8c8=_0x5c4905;uid2UinMap[_0x172bad]=_0x5218a4[_0x1ff8c8(0x1e9)];});const _0x472b73=groupMembers[_0x5c4905(0x1ee)](_0xe3e7dd);_0x472b73?_0x260ee7['forEach']((_0x141dab,_0x498508)=>{const _0x246d75=_0x5c4905,_0x40128f=_0x472b73[_0x246d75(0x1ee)](_0x498508);_0x40128f?Object[_0x246d75(0x1d7)](_0x40128f,_0x141dab):_0x472b73[_0x246d75(0x1f6)](_0x498508,_0x141dab);}):groupMembers[_0x5c4905(0x1f6)](_0xe3e7dd,_0x260ee7);},this[_0x51e6b4(0x1e3)][_0x51e6b4(0x1f7)](new _0x1d826e['NodeIKernelGroupListener'](this[_0x51e6b4(0x1de)]));}[_0x201b66(0x1ef)](_0x1f5ec9){const _0x391904=_0x201b66;return this[_0x391904(0x1e3)]?.['addKernelGroupListener'](new _0x1d826e['NodeIKernelGroupListener'](_0x1f5ec9));}} \ No newline at end of file +const _0x2e9245=_0x3cb5;(function(_0x27617d,_0x4ec4ea){const _0x48d9d9=_0x3cb5,_0x535619=_0x27617d();while(!![]){try{const _0x4d8f56=-parseInt(_0x48d9d9(0xce))/0x1*(-parseInt(_0x48d9d9(0xc2))/0x2)+parseInt(_0x48d9d9(0xc0))/0x3+-parseInt(_0x48d9d9(0xcc))/0x4+-parseInt(_0x48d9d9(0xbe))/0x5+-parseInt(_0x48d9d9(0xb3))/0x6+parseInt(_0x48d9d9(0xc6))/0x7+-parseInt(_0x48d9d9(0xb4))/0x8*(-parseInt(_0x48d9d9(0xcb))/0x9);if(_0x4d8f56===_0x4ec4ea)break;else _0x535619['push'](_0x535619['shift']());}catch(_0x5f5372){_0x535619['push'](_0x535619['shift']());}}}(_0x137f,0x2d12f));import{Wrapper as _0x4c3568}from'../qqnt';import{GroupListener}from'../qqnt/listeners';import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x2e9245(0xb6)]=null;[_0x2e9245(0xbc)];constructor(){const _0x221b87=_0x2e9245;this[_0x221b87(0xbc)]=new GroupListener();}[_0x2e9245(0xc5)](_0x20fe43){const _0x2b611f=_0x2e9245,_0x2cd67d={'avakJ':_0x2b611f(0xbd),'YwaTf':function(_0x358727,_0x2a05c4){return _0x358727!==_0x2a05c4;},'lEKCK':_0x2b611f(0xcf)};if(_0x2cd67d['YwaTf'](this[_0x2b611f(0xb6)],null))throw new Error(_0x2cd67d['lEKCK']);this[_0x2b611f(0xb6)]=_0x20fe43,this[_0x2b611f(0xbc)][_0x2b611f(0xcd)]=(_0x3e1629,_0x25372e)=>{const _0x303995=_0x2b611f,_0x4ada86={'VtvFW':_0x2cd67d['avakJ']};_0x25372e[_0x303995(0xc1)](_0x53179c=>{const _0x12f88b=_0x303995,_0x9d5454=groups[_0x12f88b(0xc7)](_0x53179c[_0x12f88b(0xb1)]);if(_0x9d5454)Object[_0x12f88b(0xc9)](_0x9d5454,_0x53179c);else{groups['set'](_0x53179c[_0x12f88b(0xb1)],_0x53179c);const _0x374e2d=this[_0x12f88b(0xb6)]?.[_0x12f88b(0xc4)](_0x53179c[_0x12f88b(0xb1)],_0x4ada86[_0x12f88b(0xb0)]);this[_0x12f88b(0xb6)]?.[_0x12f88b(0xc3)](_0x374e2d,undefined,0xbb8)[_0x12f88b(0xb7)](_0x15fffc=>{});}});},this[_0x2b611f(0xbc)][_0x2b611f(0xca)]=_0x2396ee=>{const _0x521d3e=_0x2b611f,_0x5561a0=_0x2396ee['sceneId']['split']('_')[0x0];if(groupMembers['has'](_0x5561a0)){const _0x590789=groupMembers[_0x521d3e(0xc7)](_0x5561a0);_0x2396ee[_0x521d3e(0xbb)][_0x521d3e(0xb8)]((_0x2fe95b,_0x22cfd1)=>{const _0x4f49b4=_0x521d3e,_0x585044=_0x590789[_0x4f49b4(0xc7)](_0x22cfd1);_0x585044?Object[_0x4f49b4(0xc9)](_0x585044,_0x2fe95b):_0x590789[_0x4f49b4(0xc8)](_0x22cfd1,_0x2fe95b);});}else groupMembers['set'](_0x5561a0,_0x2396ee['infos']);},this[_0x2b611f(0xbc)][_0x2b611f(0xb5)]=(_0xed7d55,_0x527cee,_0x3bc637)=>{const _0x1cfc7f=_0x2b611f;_0x3bc637[_0x1cfc7f(0xb8)]((_0x28107e,_0x244d73)=>{const _0x446596=_0x1cfc7f;uid2UinMap[_0x244d73]=_0x28107e[_0x446596(0xb2)];});const _0x3657ac=groupMembers[_0x1cfc7f(0xc7)](_0xed7d55);_0x3657ac?_0x3bc637[_0x1cfc7f(0xb8)]((_0x40f001,_0xdc03ea)=>{const _0x3e94c7=_0x1cfc7f,_0x1b2145=_0x3657ac[_0x3e94c7(0xc7)](_0xdc03ea);_0x1b2145?Object[_0x3e94c7(0xc9)](_0x1b2145,_0x40f001):_0x3657ac[_0x3e94c7(0xc8)](_0xdc03ea,_0x40f001);}):groupMembers[_0x1cfc7f(0xc8)](_0xed7d55,_0x3bc637);},this[_0x2b611f(0xb6)][_0x2b611f(0xbf)](new _0x4c3568['NodeIKernelGroupListener'](this[_0x2b611f(0xbc)]));}[_0x2e9245(0xba)](_0x5b5e74){const _0x58f433=_0x2e9245;return this['kernelService']?.[_0x58f433(0xbf)](new _0x4c3568[(_0x58f433(0xb9))](_0x5b5e74));}}function _0x3cb5(_0x2c9add,_0x4d9d8e){const _0x137ff7=_0x137f();return _0x3cb5=function(_0x3cb5e6,_0x5dbf99){_0x3cb5e6=_0x3cb5e6-0xb0;let _0x2a9c14=_0x137ff7[_0x3cb5e6];return _0x2a9c14;},_0x3cb5(_0x2c9add,_0x4d9d8e);}function _0x137f(){const _0x51b855=['getNextMemberList','createMemberListScene','init','2033367IwWAFM','get','set','assign','onMemberListChange','9JQBjav','1284768LwaqrF','onGroupListUpdate','1437PptSmS','GroupService\x20already\x20initialized!','VtvFW','groupCode','uin','1534026rmvLrJ','1758928bfzdta','onMemberInfoChange','kernelService','then','forEach','NodeIKernelGroupListener','addGroupListener','infos','listener','groupMemberList_MainWindow','571715vwWTGV','addKernelGroupListener','324777gqiWrw','map','358rtDgOF'];_0x137f=function(){return _0x51b855;};return _0x137f();} \ 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 9c5a683f..6c50639e 100644 --- a/src/core.lib/src/service/index.js +++ b/src/core.lib/src/service/index.js @@ -1 +1 @@ -const _0x12f841=_0x4288;(function(_0x1444f7,_0x610127){const _0x3aba71=_0x4288,_0x268c64=_0x1444f7();while(!![]){try{const _0x54e583=parseInt(_0x3aba71(0x1c2))/0x1*(-parseInt(_0x3aba71(0x1b8))/0x2)+parseInt(_0x3aba71(0x1ab))/0x3*(parseInt(_0x3aba71(0x1bb))/0x4)+-parseInt(_0x3aba71(0x1b9))/0x5*(-parseInt(_0x3aba71(0x1c8))/0x6)+-parseInt(_0x3aba71(0x1c0))/0x7*(-parseInt(_0x3aba71(0x1af))/0x8)+-parseInt(_0x3aba71(0x1b1))/0x9+parseInt(_0x3aba71(0x1c9))/0xa*(parseInt(_0x3aba71(0x1c4))/0xb)+-parseInt(_0x3aba71(0x1aa))/0xc;if(_0x54e583===_0x610127)break;else _0x268c64['push'](_0x268c64['shift']());}catch(_0x340635){_0x268c64['push'](_0x268c64['shift']());}}}(_0x2d4f,0xdb6fb));import{NapCatCoreServiceMessage}from'./message';function _0x2d4f(){const _0x4dd5d2=['5025DHbjLM','5|7|3|1|0|2|4|6','16KqFWVa','msg','initListener','message.private','emit','35602wlEwGG','profileLike','13QnAIMm','onRecvMsg','301895NithFT','profile','peerUin','isInit','8730hwcRFy','370xQpHsG','listener','40182228tismWD','1143003kDjDcD','senderUin','xAqWD','core','2664NkUjEM','buddy','8697735oUqOzV','zEAGC','init','message','qnJYV','group','split','74098vwEVCr'];_0x2d4f=function(){return _0x4dd5d2;};return _0x2d4f();}import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';function _0x4288(_0x34ee6c,_0x983702){const _0x2d4f05=_0x2d4f();return _0x4288=function(_0x428885,_0x145429){_0x428885=_0x428885-0x1aa;let _0x29517b=_0x2d4f05[_0x428885];return _0x29517b;},_0x4288(_0x34ee6c,_0x983702);}import{NapCatCoreServiceProfile}from'./profile';import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x12f841(0x1c7)]=![];[_0x12f841(0x1ae)];[_0x12f841(0x1bc)];[_0x12f841(0x1b6)];[_0x12f841(0x1b0)];[_0x12f841(0x1c5)];[_0x12f841(0x1c1)];constructor(_0x267e65){const _0x2f53a4=_0x12f841,_0x4ff809={'xAqWD':'3|5|2|1|4|0'},_0x534248=_0x4ff809[_0x2f53a4(0x1ad)]['split']('|');let _0xa7c4f6=0x0;while(!![]){switch(_0x534248[_0xa7c4f6++]){case'0':this[_0x2f53a4(0x1c1)]=new NapCatCoreServiceProfileLike();continue;case'1':this['buddy']=new NapCatCoreServiceBuddy();continue;case'2':this['group']=new NapCatCoreServiceGroup();continue;case'3':this['core']=_0x267e65;continue;case'4':this[_0x2f53a4(0x1c5)]=new NapCatCoreServiceProfile();continue;case'5':this[_0x2f53a4(0x1bc)]=new NapCatCoreServiceMessage();continue;}break;}}[_0x12f841(0x1b3)](_0x2273d1,_0x5c7ff2,_0x25375f,_0x227a08,_0x4261b4){const _0x31589d=_0x12f841,_0x21246b=_0x31589d(0x1ba)[_0x31589d(0x1b7)]('|');let _0x3c0c44=0x0;while(!![]){switch(_0x21246b[_0x3c0c44++]){case'0':this[_0x31589d(0x1c5)]['init'](_0x227a08);continue;case'1':this[_0x31589d(0x1b0)]['init'](_0x25375f);continue;case'2':this[_0x31589d(0x1c1)][_0x31589d(0x1b3)](_0x4261b4);continue;case'3':this[_0x31589d(0x1b6)][_0x31589d(0x1b3)](_0x5c7ff2);continue;case'4':this[_0x31589d(0x1bd)]();continue;case'5':if(this['isInit'])throw new Error('Services\x20already\x20initialized!');continue;case'6':this[_0x31589d(0x1c7)]=!![];continue;case'7':this[_0x31589d(0x1bc)][_0x31589d(0x1b3)](_0x2273d1);continue;}break;}}[_0x12f841(0x1bd)](){const _0x5180d2=_0x12f841,_0x4b8cf2={'zEAGC':_0x5180d2(0x1b4),'qnJYV':function(_0x15f4d0,_0x5aa5bd){return _0x15f4d0!==_0x5aa5bd;},'yUQXs':'message.group'};this[_0x5180d2(0x1bc)][_0x5180d2(0x1ca)][_0x5180d2(0x1c3)]=_0x2f7417=>{const _0x4da2ff=_0x5180d2;for(const _0x5decac of _0x2f7417){this[_0x4da2ff(0x1ae)][_0x4da2ff(0x1bf)](_0x4b8cf2[_0x4da2ff(0x1b2)],_0x5decac);if(_0x4b8cf2[_0x4da2ff(0x1b5)](_0x5decac[_0x4da2ff(0x1c6)],_0x5decac[_0x4da2ff(0x1ac)]))this[_0x4da2ff(0x1ae)][_0x4da2ff(0x1bf)](_0x4b8cf2['yUQXs'],_0x5decac);else this[_0x4da2ff(0x1ae)][_0x4da2ff(0x1bf)](_0x4da2ff(0x1be),_0x5decac);}};}} \ No newline at end of file +const _0x25aa13=_0x2118;(function(_0x3d488d,_0x7a67cc){const _0x78f4f=_0x2118,_0x482262=_0x3d488d();while(!![]){try{const _0x10800f=-parseInt(_0x78f4f(0x16e))/0x1*(-parseInt(_0x78f4f(0x163))/0x2)+-parseInt(_0x78f4f(0x158))/0x3*(parseInt(_0x78f4f(0x16f))/0x4)+parseInt(_0x78f4f(0x166))/0x5+parseInt(_0x78f4f(0x171))/0x6*(-parseInt(_0x78f4f(0x161))/0x7)+parseInt(_0x78f4f(0x162))/0x8*(parseInt(_0x78f4f(0x15d))/0x9)+parseInt(_0x78f4f(0x170))/0xa+-parseInt(_0x78f4f(0x167))/0xb;if(_0x10800f===_0x7a67cc)break;else _0x482262['push'](_0x482262['shift']());}catch(_0x3d33a){_0x482262['push'](_0x482262['shift']());}}}(_0x15ba,0x1a726));import{NapCatCoreServiceMessage}from'./message';import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';function _0x2118(_0x300c5d,_0x357138){const _0x15ba56=_0x15ba();return _0x2118=function(_0x21183d,_0x3fc82c){_0x21183d=_0x21183d-0x157;let _0x4bef6d=_0x15ba56[_0x21183d];return _0x4bef6d;},_0x2118(_0x300c5d,_0x357138);}import{NapCatCoreServiceProfile}from'./profile';import{NapCatCoreServiceProfileLike}from'./profileLike';function _0x15ba(){const _0x2ae341=['VpixY','67753WnGigR','56fRUsZL','6XSgxVM','msg','senderUin','9630oOPShU','1121142bVUBUm','isInit','profileLike','listener','message.group','initListener','split','39113gtUMTn','4DWyQTY','936900HLBKKA','108FJYScY','profile','emit','96639PFREZS','uMfKr','core','buddy','init','261936IJcwYY','group','6|5|3|1|2|4|0|7'];_0x15ba=function(){return _0x2ae341;};return _0x15ba();}export class NapCatCoreService{['isInit']=![];[_0x25aa13(0x15a)];[_0x25aa13(0x164)];[_0x25aa13(0x15e)];[_0x25aa13(0x15b)];[_0x25aa13(0x172)];[_0x25aa13(0x169)];constructor(_0x1b49f6){const _0x598227=_0x25aa13,_0x242381={'TBrDm':'2|1|3|4|0|5'},_0x381b45=_0x242381['TBrDm'][_0x598227(0x16d)]('|');let _0x35d931=0x0;while(!![]){switch(_0x381b45[_0x35d931++]){case'0':this[_0x598227(0x172)]=new NapCatCoreServiceProfile();continue;case'1':this['msg']=new NapCatCoreServiceMessage();continue;case'2':this[_0x598227(0x15a)]=_0x1b49f6;continue;case'3':this[_0x598227(0x15e)]=new NapCatCoreServiceGroup();continue;case'4':this[_0x598227(0x15b)]=new NapCatCoreServiceBuddy();continue;case'5':this[_0x598227(0x169)]=new NapCatCoreServiceProfileLike();continue;}break;}}[_0x25aa13(0x15c)](_0x4e9bcd,_0xdb2ec5,_0x4164a2,_0x6b9dce,_0x286135){const _0x339833=_0x25aa13,_0x51cb02={'uMfKr':'Services\x20already\x20initialized!'},_0x2f0eac=_0x339833(0x15f)[_0x339833(0x16d)]('|');let _0x14b2d6=0x0;while(!![]){switch(_0x2f0eac[_0x14b2d6++]){case'0':this[_0x339833(0x16c)]();continue;case'1':this[_0x339833(0x15b)][_0x339833(0x15c)](_0x4164a2);continue;case'2':this[_0x339833(0x172)][_0x339833(0x15c)](_0x6b9dce);continue;case'3':this['group']['init'](_0xdb2ec5);continue;case'4':this['profileLike'][_0x339833(0x15c)](_0x286135);continue;case'5':this['msg'][_0x339833(0x15c)](_0x4e9bcd);continue;case'6':if(this[_0x339833(0x168)])throw new Error(_0x51cb02[_0x339833(0x159)]);continue;case'7':this[_0x339833(0x168)]=!![];continue;}break;}}[_0x25aa13(0x16c)](){const _0x2951dd=_0x25aa13,_0x14f23e={'PJidp':'message','VpixY':function(_0x4e6b7e,_0x56b850){return _0x4e6b7e!==_0x56b850;},'bZGbx':'message.private'};this['msg'][_0x2951dd(0x16a)]['onRecvMsg']=_0x5a7b37=>{const _0x575b5d=_0x2951dd;for(const _0x55e5de of _0x5a7b37){this[_0x575b5d(0x15a)][_0x575b5d(0x157)](_0x14f23e['PJidp'],_0x55e5de);if(_0x14f23e[_0x575b5d(0x160)](_0x55e5de['peerUin'],_0x55e5de[_0x575b5d(0x165)]))this['core']['emit'](_0x575b5d(0x16b),_0x55e5de);else this['core'][_0x575b5d(0x157)](_0x14f23e['bZGbx'],_0x55e5de);}};}} \ 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 be1cee6d..b42ea638 100644 --- a/src/core.lib/src/service/message.js +++ b/src/core.lib/src/service/message.js @@ -1 +1 @@ -function _0x18f8(_0x1e31f2,_0x92bd4b){var _0x5b9850=_0x5b98();return _0x18f8=function(_0x18f8e4,_0x2f4f3e){_0x18f8e4=_0x18f8e4-0xac;var _0x9056b6=_0x5b9850[_0x18f8e4];return _0x9056b6;},_0x18f8(_0x1e31f2,_0x92bd4b);}var _0x59d168=_0x18f8;function _0x5b98(){var _0x1d4f50=['map','listener','104tuckds','getMsgByLongId','1589mJuQml','145618iVLLMT','MessageService\x20already\x20initialized!','onMsgInfoListUpdate','16328LAUKuE','852vQujVO','kernelService','msgId','94906TfqfzU','9930MqtCeb','12vxgsdS','addMsgListener','122481mykWvk','then','NodeIKernelMsgListener','recallTime','addMsg','315309yTcqco','init','2KRGeax','70MNFJVg','addKernelMsgListener','31020ORomdi','850oYOIiK'];_0x5b98=function(){return _0x1d4f50;};return _0x5b98();}(function(_0x214e9c,_0x1192fb){var _0x2abd88=_0x18f8,_0x501553=_0x214e9c();while(!![]){try{var _0x27c326=-parseInt(_0x2abd88(0xc5))/0x1*(-parseInt(_0x2abd88(0xbb))/0x2)+parseInt(_0x2abd88(0xb9))/0x3*(-parseInt(_0x2abd88(0xb2))/0x4)+parseInt(_0x2abd88(0xbf))/0x5*(-parseInt(_0x2abd88(0xb1))/0x6)+parseInt(_0x2abd88(0xc4))/0x7*(parseInt(_0x2abd88(0xac))/0x8)+parseInt(_0x2abd88(0xb4))/0x9*(parseInt(_0x2abd88(0xbc))/0xa)+parseInt(_0x2abd88(0xbe))/0xb*(parseInt(_0x2abd88(0xad))/0xc)+parseInt(_0x2abd88(0xc2))/0xd*(-parseInt(_0x2abd88(0xb0))/0xe);if(_0x27c326===_0x1192fb)break;else _0x501553['push'](_0x501553['shift']());}catch(_0x485edb){_0x501553['push'](_0x501553['shift']());}}}(_0x5b98,0x3de4d));import{Wrapper as _0x2bcda7}from'../qqnt';import{MsgListener}from'../qqnt/listeners';import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0x59d168(0xae)]=null;['listener'];constructor(){var _0x3f892f=_0x59d168,_0x1eccfc={'MNyEd':function(_0x41df16,_0x1b8e85){return _0x41df16===_0x1b8e85;}};this['listener']=new MsgListener(),this[_0x3f892f(0xc1)][_0x3f892f(0xc7)]=_0x2cda1d=>{var _0x358920=_0x3f892f;_0x2cda1d[_0x358920(0xc0)](_0x56bc0a=>{var _0x50a4d7=_0x358920;_0x1eccfc['MNyEd'](_0x56bc0a['recallTime'],'0')?dbUtil[_0x50a4d7(0xb8)](_0x56bc0a)[_0x50a4d7(0xb5)]()['catch']():dbUtil[_0x50a4d7(0xc3)](_0x56bc0a[_0x50a4d7(0xaf)])[_0x50a4d7(0xb5)](_0x4b5859=>{var _0x3eb26a=_0x50a4d7;_0x4b5859&&(_0x4b5859[_0x3eb26a(0xb7)]=_0x56bc0a[_0x3eb26a(0xb7)],dbUtil['updateMsg'](_0x4b5859)[_0x3eb26a(0xb5)]());});});};}[_0x59d168(0xba)](_0x42df54){var _0x2a9e00=_0x59d168,_0x7f62f5={'ZkoEF':function(_0x5c3e66,_0x4ef821){return _0x5c3e66!==_0x4ef821;},'xdAhq':_0x2a9e00(0xc6)};if(_0x7f62f5['ZkoEF'](this[_0x2a9e00(0xae)],null))throw new Error(_0x7f62f5['xdAhq']);this[_0x2a9e00(0xae)]=_0x42df54,this[_0x2a9e00(0xae)][_0x2a9e00(0xbd)](new _0x2bcda7[(_0x2a9e00(0xb6))](this[_0x2a9e00(0xc1)]));}[_0x59d168(0xb3)](_0x58207f){var _0xfd44d4=_0x59d168;return this[_0xfd44d4(0xae)]?.[_0xfd44d4(0xbd)](new _0x2bcda7['NodeIKernelMsgListener'](_0x58207f));}} \ No newline at end of file +function _0x5b60(_0x49614c,_0x240378){var _0xea5db3=_0xea5d();return _0x5b60=function(_0x5b602a,_0x2d2228){_0x5b602a=_0x5b602a-0x17d;var _0x4b08df=_0xea5db3[_0x5b602a];return _0x4b08df;},_0x5b60(_0x49614c,_0x240378);}var _0x5e95c3=_0x5b60;(function(_0x35edf1,_0x25299b){var _0xb6c02c=_0x5b60,_0xdc93d1=_0x35edf1();while(!![]){try{var _0x4d1ada=parseInt(_0xb6c02c(0x18a))/0x1*(-parseInt(_0xb6c02c(0x195))/0x2)+-parseInt(_0xb6c02c(0x18b))/0x3+parseInt(_0xb6c02c(0x194))/0x4+parseInt(_0xb6c02c(0x18e))/0x5*(parseInt(_0xb6c02c(0x18c))/0x6)+parseInt(_0xb6c02c(0x193))/0x7*(-parseInt(_0xb6c02c(0x188))/0x8)+-parseInt(_0xb6c02c(0x186))/0x9*(parseInt(_0xb6c02c(0x18f))/0xa)+-parseInt(_0xb6c02c(0x17e))/0xb*(-parseInt(_0xb6c02c(0x189))/0xc);if(_0x4d1ada===_0x25299b)break;else _0xdc93d1['push'](_0xdc93d1['shift']());}catch(_0x48e94c){_0xdc93d1['push'](_0xdc93d1['shift']());}}}(_0xea5d,0x3ed1d));import{Wrapper as _0x3f0033}from'../qqnt';function _0xea5d(){var _0x20356c=['aZFrJ','listener','updateMsg','kernelService','9EBWInl','MessageService\x20already\x20initialized!','568yEcLeW','60LgydNc','1WwESRr','534486IKooBB','6tIXYKW','NodeIKernelMsgListener','210415pwusbm','3939890mHcJgk','addKernelMsgListener','getMsgByLongId','onMsgInfoListUpdate','2947hEtYSv','1358140YLHpIz','211364bdDYsY','init','then','recallTime','1283513HrSPfr','map','msgId','catch'];_0xea5d=function(){return _0x20356c;};return _0xea5d();}import{MsgListener}from'../qqnt/listeners';import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{['kernelService']=null;[_0x5e95c3(0x183)];constructor(){var _0x3085e5=_0x5e95c3,_0xa751b6={'lPhLB':function(_0xc01077,_0x256975){return _0xc01077===_0x256975;}};this[_0x3085e5(0x183)]=new MsgListener(),this[_0x3085e5(0x183)][_0x3085e5(0x192)]=_0x33c546=>{var _0x31de28=_0x3085e5,_0x4ba280={'wvMBN':function(_0xb93d69,_0x9f29e9){return _0xa751b6['lPhLB'](_0xb93d69,_0x9f29e9);}};_0x33c546[_0x31de28(0x17f)](_0x4e8bc6=>{var _0x24ecf7=_0x31de28;_0x4ba280['wvMBN'](_0x4e8bc6[_0x24ecf7(0x17d)],'0')?dbUtil['addMsg'](_0x4e8bc6)[_0x24ecf7(0x197)]()[_0x24ecf7(0x181)]():dbUtil[_0x24ecf7(0x191)](_0x4e8bc6[_0x24ecf7(0x180)])[_0x24ecf7(0x197)](_0xb87a23=>{var _0x494832=_0x24ecf7;_0xb87a23&&(_0xb87a23['recallTime']=_0x4e8bc6['recallTime'],dbUtil[_0x494832(0x184)](_0xb87a23)[_0x494832(0x197)]());});});};}[_0x5e95c3(0x196)](_0xa6fd60){var _0x3a8701=_0x5e95c3,_0x2e0c0a={'SklCk':function(_0x3c619f,_0x1f59de){return _0x3c619f!==_0x1f59de;},'aZFrJ':_0x3a8701(0x187)};if(_0x2e0c0a['SklCk'](this[_0x3a8701(0x185)],null))throw new Error(_0x2e0c0a[_0x3a8701(0x182)]);this['kernelService']=_0xa6fd60,this[_0x3a8701(0x185)][_0x3a8701(0x190)](new _0x3f0033[(_0x3a8701(0x18d))](this[_0x3a8701(0x183)]));}['addMsgListener'](_0x4b7212){var _0x37fed5=_0x5e95c3;return this[_0x37fed5(0x185)]?.[_0x37fed5(0x190)](new _0x3f0033['NodeIKernelMsgListener'](_0x4b7212));}} \ 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 2ff1daff..f6d38581 100644 --- a/src/core.lib/src/service/profile.js +++ b/src/core.lib/src/service/profile.js @@ -1 +1 @@ -var _0x389f78=_0x2fbc;(function(_0xe48bd4,_0x504278){var _0x2316c1=_0x2fbc,_0x160e6f=_0xe48bd4();while(!![]){try{var _0x222604=-parseInt(_0x2316c1(0x19c))/0x1+parseInt(_0x2316c1(0x1a4))/0x2+-parseInt(_0x2316c1(0x1a5))/0x3*(-parseInt(_0x2316c1(0x1a1))/0x4)+-parseInt(_0x2316c1(0x199))/0x5+parseInt(_0x2316c1(0x1aa))/0x6+parseInt(_0x2316c1(0x1a8))/0x7*(parseInt(_0x2316c1(0x1a2))/0x8)+parseInt(_0x2316c1(0x198))/0x9;if(_0x222604===_0x504278)break;else _0x160e6f['push'](_0x160e6f['shift']());}catch(_0x305cbd){_0x160e6f['push'](_0x160e6f['shift']());}}}(_0x270e,0x7cf1c));function _0x270e(){var _0x90d72f=['yFPhC','936231yqAhsk','init','onProfileDetailInfoChanged','addProfileListener','ProfileService\x20already\x20initialized!','88GctQKb','56owqtzw','NodeIKernelProfileListener','1269038cbjAuO','44271wHpTRM','listener','addKernelProfileListener','22561sxqKCV','kernelService','295032HTONbP','GFjqO','assign','8787537bLKxTv','2796480uLnJYc','uid'];_0x270e=function(){return _0x90d72f;};return _0x270e();}import{Wrapper as _0x47300e}from'../qqnt';function _0x2fbc(_0xb19a53,_0x127ab8){var _0x270e23=_0x270e();return _0x2fbc=function(_0x2fbce5,_0x580e95){_0x2fbce5=_0x2fbce5-0x197;var _0x6c5b28=_0x270e23[_0x2fbce5];return _0x6c5b28;},_0x2fbc(_0xb19a53,_0x127ab8);}import{ProfileListener}from'../qqnt/listeners';import{selfInfo}from'@/common/data';export class NapCatCoreServiceProfile{[_0x389f78(0x1a9)]=null;[_0x389f78(0x1a6)];constructor(){var _0x174607=_0x389f78,_0x45da1e={'yFPhC':function(_0x44e742,_0x7971f0){return _0x44e742===_0x7971f0;}};this[_0x174607(0x1a6)]=new ProfileListener(),this[_0x174607(0x1a6)][_0x174607(0x19e)]=_0x9554a5=>{var _0x2c5b4a=_0x174607;_0x45da1e[_0x2c5b4a(0x19b)](_0x9554a5[_0x2c5b4a(0x19a)],selfInfo[_0x2c5b4a(0x19a)])&&Object[_0x2c5b4a(0x197)](selfInfo,_0x9554a5);};}[_0x389f78(0x19d)](_0x1e90b3){var _0x478cd0=_0x389f78,_0x5a06f4={'GFjqO':function(_0x49e0e4,_0x12198d){return _0x49e0e4!==_0x12198d;}};if(_0x5a06f4[_0x478cd0(0x1ab)](this[_0x478cd0(0x1a9)],null))throw new Error(_0x478cd0(0x1a0));this[_0x478cd0(0x1a9)]=_0x1e90b3,this[_0x478cd0(0x1a9)][_0x478cd0(0x1a7)](new _0x47300e[(_0x478cd0(0x1a3))](this[_0x478cd0(0x1a6)])),this[_0x478cd0(0x1a9)]['getUserDetailInfoWithBizInfo'](selfInfo[_0x478cd0(0x19a)],[0x1,0x0]);}[_0x389f78(0x19f)](_0x16c1a3){var _0x298a74=_0x389f78;return this['kernelService']?.[_0x298a74(0x1a7)](new _0x47300e[(_0x298a74(0x1a3))](_0x16c1a3));}} \ No newline at end of file +function _0x5b13(_0x25d409,_0xc3f00d){var _0x127248=_0x1272();return _0x5b13=function(_0x5b1312,_0x4db178){_0x5b1312=_0x5b1312-0x111;var _0x49245a=_0x127248[_0x5b1312];return _0x49245a;},_0x5b13(_0x25d409,_0xc3f00d);}var _0x54e111=_0x5b13;(function(_0x43f12a,_0x1b8cde){var _0x48f440=_0x5b13,_0x436665=_0x43f12a();while(!![]){try{var _0x2256ea=-parseInt(_0x48f440(0x113))/0x1+-parseInt(_0x48f440(0x124))/0x2+-parseInt(_0x48f440(0x112))/0x3+-parseInt(_0x48f440(0x115))/0x4*(parseInt(_0x48f440(0x11d))/0x5)+-parseInt(_0x48f440(0x122))/0x6+parseInt(_0x48f440(0x123))/0x7+parseInt(_0x48f440(0x118))/0x8;if(_0x2256ea===_0x1b8cde)break;else _0x436665['push'](_0x436665['shift']());}catch(_0x13871c){_0x436665['push'](_0x436665['shift']());}}}(_0x1272,0x51868));import{Wrapper as _0x45ff09}from'../qqnt';function _0x1272(){var _0x39d040=['listener','365ChNJIf','ProfileService\x20already\x20initialized!','GHQxZ','addKernelProfileListener','getUserDetailInfoWithBizInfo','1544448nCGCib','3461479uhdift','996508ZgdtTp','init','96477PnFSmp','652704uXMkjU','ascuF','88VvHdeP','uid','assign','10252496ySCfXp','NodeIKernelProfileListener','kernelService','addProfileListener'];_0x1272=function(){return _0x39d040;};return _0x1272();}import{ProfileListener}from'../qqnt/listeners';import{selfInfo}from'@/common/data';export class NapCatCoreServiceProfile{[_0x54e111(0x11a)]=null;[_0x54e111(0x11c)];constructor(){var _0x37bfe7=_0x54e111,_0x202e3b={'pTLGv':function(_0x3a2132,_0x7b98b1){return _0x3a2132===_0x7b98b1;}};this[_0x37bfe7(0x11c)]=new ProfileListener(),this['listener']['onProfileDetailInfoChanged']=_0x55fe96=>{var _0x19cd90=_0x37bfe7;_0x202e3b['pTLGv'](_0x55fe96[_0x19cd90(0x116)],selfInfo['uid'])&&Object[_0x19cd90(0x117)](selfInfo,_0x55fe96);};}[_0x54e111(0x111)](_0x4875da){var _0x4a2cbd=_0x54e111,_0x112875={'ascuF':function(_0x1facdf,_0x3b705b){return _0x1facdf!==_0x3b705b;},'GHQxZ':_0x4a2cbd(0x11e)};if(_0x112875[_0x4a2cbd(0x114)](this[_0x4a2cbd(0x11a)],null))throw new Error(_0x112875[_0x4a2cbd(0x11f)]);this[_0x4a2cbd(0x11a)]=_0x4875da,this[_0x4a2cbd(0x11a)][_0x4a2cbd(0x120)](new _0x45ff09['NodeIKernelProfileListener'](this[_0x4a2cbd(0x11c)])),this[_0x4a2cbd(0x11a)][_0x4a2cbd(0x121)](selfInfo['uid'],[0x1,0x0]);}[_0x54e111(0x11b)](_0x1bebfb){var _0x5a6ed7=_0x54e111;return this['kernelService']?.[_0x5a6ed7(0x120)](new _0x45ff09[(_0x5a6ed7(0x119))](_0x1bebfb));}} \ 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 b6e47390..161187fa 100644 --- a/src/core.lib/src/service/profileLike.js +++ b/src/core.lib/src/service/profileLike.js @@ -1 +1 @@ -function _0x2e7b(_0x3b7036,_0x505a1b){var _0x58b19e=_0x58b1();return _0x2e7b=function(_0x2e7b4e,_0x2b3a54){_0x2e7b4e=_0x2e7b4e-0xe4;var _0x2d5e6d=_0x58b19e[_0x2e7b4e];return _0x2d5e6d;},_0x2e7b(_0x3b7036,_0x505a1b);}var _0x521e0b=_0x2e7b;function _0x58b1(){var _0x263332=['ProfileLikeService\x20already\x20initialized!','922027kVMUnF','bUEWt','6589494pjBffs','4122036JavEBD','659596xfrTzU','6SRUjPO','kernelService','791946raCCLy','init','1400DNrCPO','520400aQWcYu','15211fpGvns'];_0x58b1=function(){return _0x263332;};return _0x58b1();}(function(_0x11d8e1,_0x137621){var _0x43c44b=_0x2e7b,_0x4818c4=_0x11d8e1();while(!![]){try{var _0x1e5096=-parseInt(_0x43c44b(0xe5))/0x1+-parseInt(_0x43c44b(0xe9))/0x2*(parseInt(_0x43c44b(0xea))/0x3)+parseInt(_0x43c44b(0xe8))/0x4+parseInt(_0x43c44b(0xef))/0x5+-parseInt(_0x43c44b(0xec))/0x6+parseInt(_0x43c44b(0xf0))/0x7*(parseInt(_0x43c44b(0xee))/0x8)+parseInt(_0x43c44b(0xe7))/0x9;if(_0x1e5096===_0x137621)break;else _0x4818c4['push'](_0x4818c4['shift']());}catch(_0x646f1d){_0x4818c4['push'](_0x4818c4['shift']());}}}(_0x58b1,0x823a8));export class NapCatCoreServiceProfileLike{[_0x521e0b(0xeb)]=null;[_0x521e0b(0xed)](_0x3c5906){var _0x28753f=_0x521e0b,_0x4583e2={'dOVoI':function(_0x54433b,_0x71e862){return _0x54433b!==_0x71e862;},'bUEWt':_0x28753f(0xe4)};if(_0x4583e2['dOVoI'](this[_0x28753f(0xeb)],null))throw new Error(_0x4583e2[_0x28753f(0xe6)]);this[_0x28753f(0xeb)]=_0x3c5906;}} \ No newline at end of file +var _0x2f9123=_0x4cf9;function _0x23fc(){var _0x1733b8=['kernelService','3tofkOP','ProfileLikeService\x20already\x20initialized!','12jbyiuq','5757345YwVmxg','2152657SibbKT','414eDcfYT','1padWyr','13373426zlbdgA','init','534090HqItCK','1377768wCPlOw','8NtmiZM','77770MzPvRv','10BpZmbN','4749488uGRHsE'];_0x23fc=function(){return _0x1733b8;};return _0x23fc();}function _0x4cf9(_0x11ed45,_0x16b015){var _0x23fc92=_0x23fc();return _0x4cf9=function(_0x4cf94b,_0x42e438){_0x4cf94b=_0x4cf94b-0x1aa;var _0x36eee2=_0x23fc92[_0x4cf94b];return _0x36eee2;},_0x4cf9(_0x11ed45,_0x16b015);}(function(_0x3068f8,_0x3b8a13){var _0x6c53ee=_0x4cf9,_0x141ff3=_0x3068f8();while(!![]){try{var _0x3ac036=parseInt(_0x6c53ee(0x1af))/0x1*(parseInt(_0x6c53ee(0x1b3))/0x2)+parseInt(_0x6c53ee(0x1b9))/0x3*(-parseInt(_0x6c53ee(0x1b7))/0x4)+-parseInt(_0x6c53ee(0x1b2))/0x5+-parseInt(_0x6c53ee(0x1ae))/0x6*(-parseInt(_0x6c53ee(0x1b5))/0x7)+-parseInt(_0x6c53ee(0x1b4))/0x8*(parseInt(_0x6c53ee(0x1ac))/0x9)+parseInt(_0x6c53ee(0x1b6))/0xa*(parseInt(_0x6c53ee(0x1b0))/0xb)+-parseInt(_0x6c53ee(0x1ab))/0xc*(-parseInt(_0x6c53ee(0x1ad))/0xd);if(_0x3ac036===_0x3b8a13)break;else _0x141ff3['push'](_0x141ff3['shift']());}catch(_0x1fcfbf){_0x141ff3['push'](_0x141ff3['shift']());}}}(_0x23fc,0xdc716));export class NapCatCoreServiceProfileLike{[_0x2f9123(0x1b8)]=null;[_0x2f9123(0x1b1)](_0x5a3b4b){var _0x66abdb=_0x2f9123;if(this[_0x66abdb(0x1b8)]!==null)throw new Error(_0x66abdb(0x1aa));this[_0x66abdb(0x1b8)]=_0x5a3b4b;}} \ No newline at end of file diff --git a/src/core.lib/src/session.js b/src/core.lib/src/session.js index 6b7161a8..d3207cf2 100644 --- a/src/core.lib/src/session.js +++ b/src/core.lib/src/session.js @@ -1 +1 @@ -const _0x3d2393=_0x4d57;(function(_0x551787,_0x1214d7){const _0x5e9e2d=_0x4d57,_0xdc3f52=_0x551787();while(!![]){try{const _0x3a62af=-parseInt(_0x5e9e2d(0xeb))/0x1*(-parseInt(_0x5e9e2d(0xdf))/0x2)+parseInt(_0x5e9e2d(0xe8))/0x3*(-parseInt(_0x5e9e2d(0xf3))/0x4)+parseInt(_0x5e9e2d(0xe2))/0x5+parseInt(_0x5e9e2d(0xe4))/0x6*(parseInt(_0x5e9e2d(0xf4))/0x7)+-parseInt(_0x5e9e2d(0xe1))/0x8*(-parseInt(_0x5e9e2d(0xf2))/0x9)+parseInt(_0x5e9e2d(0xe7))/0xa+-parseInt(_0x5e9e2d(0xf0))/0xb;if(_0x3a62af===_0x1214d7)break;else _0xdc3f52['push'](_0xdc3f52['shift']());}catch(_0x147053){_0xdc3f52['push'](_0xdc3f52['shift']());}}}(_0x125d,0xc0656));function _0x125d(){const _0x426382=['init','22559097iOlmZG','startNT','150534XQjqDB','699404CUwRdt','7pgnkWy','init\x20failed','NodeIQQNTWrapperSession','228468qunjJK','wrapper','648DPAaGE','66115mwkJwy','listener','2584002FKguCD','onSessionInitComplete','euZYH','5902490epwPnl','6ZvsJfZ','error','NodeIDispatcherAdapter','7SqqMOK','cIonc','qdyWL','NodeIKernelSessionListener'];_0x125d=function(){return _0x426382;};return _0x125d();}import{Wrapper as _0x213d90}from'./qqnt';import{genSessionConfig}from'./qqnt/sessionConfig';import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';function _0x4d57(_0x6cbe2a,_0x388187){const _0x125da1=_0x125d();return _0x4d57=function(_0x4d5799,_0x10ae69){_0x4d5799=_0x4d5799-0xdf;let _0x8e7026=_0x125da1[_0x4d5799];return _0x8e7026;},_0x4d57(_0x6cbe2a,_0x388187);}export class NapCatCoreSession{[_0x3d2393(0xe0)];[_0x3d2393(0xe3)];constructor(){const _0x7e9847=_0x3d2393;this['wrapper']=new _0x213d90[(_0x7e9847(0xf6))](),this['listener']=new SessionListener();}[_0x3d2393(0xef)](_0x45c960,_0x30c549,_0x26cdcf){const _0x54fe6d={'qdyWL':function(_0x33d22b,_0x545114){return _0x33d22b===_0x545114;},'cIonc':function(_0x49fb92,_0x2a9e02){return _0x49fb92(_0x2a9e02);},'euZYH':function(_0x3f2028,_0x172fca,_0x17231e,_0x4818c4){return _0x3f2028(_0x172fca,_0x17231e,_0x4818c4);}};return new Promise((_0xaa3d4e,_0xf65214)=>{const _0x146286=_0x4d57,_0x348e4c=_0x54fe6d[_0x146286(0xe6)](genSessionConfig,_0x45c960,_0x30c549,_0x26cdcf);this[_0x146286(0xe3)][_0x146286(0xe5)]=_0x5aebe1=>{const _0x58272f=_0x146286;if(_0x54fe6d[_0x58272f(0xed)](_0x5aebe1,0x0))return _0xaa3d4e(0x0);_0x54fe6d[_0x58272f(0xec)](_0xf65214,_0x5aebe1);},this[_0x146286(0xe0)]['init'](_0x348e4c,new _0x213d90['NodeIDependsAdapter'](new DependsAdapter()),new _0x213d90[(_0x146286(0xea))](new DispatcherAdapter()),new _0x213d90[(_0x146286(0xee))](this[_0x146286(0xe3)]));try{this[_0x146286(0xe0)][_0x146286(0xf1)](0x0);}catch(_0x123b84){try{this[_0x146286(0xe0)][_0x146286(0xf1)]();}catch(_0x49a7ef){console[_0x146286(0xe9)](_0x146286(0xf5),_0x49a7ef);}}});}} \ No newline at end of file +const _0x507e28=_0x28d2;(function(_0x261d89,_0x4dc7fd){const _0x4fbc2c=_0x28d2,_0x5a16fe=_0x261d89();while(!![]){try{const _0x67b2d5=parseInt(_0x4fbc2c(0x199))/0x1+-parseInt(_0x4fbc2c(0x1a5))/0x2+parseInt(_0x4fbc2c(0x198))/0x3*(-parseInt(_0x4fbc2c(0x19b))/0x4)+-parseInt(_0x4fbc2c(0x19a))/0x5*(-parseInt(_0x4fbc2c(0x1a7))/0x6)+parseInt(_0x4fbc2c(0x193))/0x7+parseInt(_0x4fbc2c(0x1a0))/0x8+-parseInt(_0x4fbc2c(0x197))/0x9*(parseInt(_0x4fbc2c(0x1a1))/0xa);if(_0x67b2d5===_0x4dc7fd)break;else _0x5a16fe['push'](_0x5a16fe['shift']());}catch(_0x392c92){_0x5a16fe['push'](_0x5a16fe['shift']());}}}(_0x76c6,0x888b4));function _0x76c6(){const _0x27361b=['listener','wrapper','20439wKwiIp','36ZnTToY','1035500VMtfZD','5ALlEEK','266692EYSQaJ','init','init\x20failed','vtckv','uWzRY','7476416KXLrLS','7410GAcWap','Rzeah','NodeIQQNTWrapperSession','error','1181624fhdcqu','onSessionInitComplete','5808246dwDoBF','NodeIKernelSessionListener','harDv','4864230QerYkS','startNT'];_0x76c6=function(){return _0x27361b;};return _0x76c6();}import{Wrapper as _0x988312}from'./qqnt';function _0x28d2(_0x510087,_0x14ee75){const _0x76c6ed=_0x76c6();return _0x28d2=function(_0x28d2b9,_0x9419f5){_0x28d2b9=_0x28d2b9-0x193;let _0x3803d5=_0x76c6ed[_0x28d2b9];return _0x3803d5;},_0x28d2(_0x510087,_0x14ee75);}import{genSessionConfig}from'./qqnt/sessionConfig';import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x507e28(0x196)];[_0x507e28(0x195)];constructor(){const _0x308ad7=_0x507e28;this[_0x308ad7(0x196)]=new _0x988312[(_0x308ad7(0x1a3))](),this['listener']=new SessionListener();}[_0x507e28(0x19c)](_0x273c30,_0xcadfb3,_0x101609){const _0x4ef02a=_0x507e28,_0x528e63={'fNMXW':function(_0x161286,_0x56cec2){return _0x161286===_0x56cec2;},'harDv':function(_0x102e5a,_0x23d86d){return _0x102e5a(_0x23d86d);},'vtckv':function(_0x4a1bb9,_0x28eeb1){return _0x4a1bb9(_0x28eeb1);},'Rzeah':function(_0x43d1fb,_0x1faf13,_0x124308,_0x5853ec){return _0x43d1fb(_0x1faf13,_0x124308,_0x5853ec);},'uWzRY':_0x4ef02a(0x19d)};return new Promise((_0x574401,_0xb88575)=>{const _0xedfac2=_0x4ef02a,_0x113360=_0x528e63[_0xedfac2(0x1a2)](genSessionConfig,_0x273c30,_0xcadfb3,_0x101609);this[_0xedfac2(0x195)][_0xedfac2(0x1a6)]=_0x432173=>{const _0x2efd7d=_0xedfac2;if(_0x528e63['fNMXW'](_0x432173,0x0))return _0x528e63[_0x2efd7d(0x1a9)](_0x574401,0x0);_0x528e63[_0x2efd7d(0x19e)](_0xb88575,_0x432173);},this[_0xedfac2(0x196)][_0xedfac2(0x19c)](_0x113360,new _0x988312['NodeIDependsAdapter'](new DependsAdapter()),new _0x988312['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x988312[(_0xedfac2(0x1a8))](this['listener']));try{this[_0xedfac2(0x196)][_0xedfac2(0x194)](0x0);}catch(_0x46eafb){try{this[_0xedfac2(0x196)][_0xedfac2(0x194)]();}catch(_0x5cbac6){console[_0xedfac2(0x1a4)](_0x528e63[_0xedfac2(0x19f)],_0x5cbac6);}}});}} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 3f619f28..57831dc0 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2004f0=_0xdd22;(function(_0x4d22c9,_0x5bf4f8){const _0x1f53f9=_0xdd22,_0x5f4806=_0x4d22c9();while(!![]){try{const _0x4ef947=-parseInt(_0x1f53f9(0x73))/0x1*(-parseInt(_0x1f53f9(0x81))/0x2)+-parseInt(_0x1f53f9(0x85))/0x3*(-parseInt(_0x1f53f9(0x6e))/0x4)+-parseInt(_0x1f53f9(0x7c))/0x5+-parseInt(_0x1f53f9(0x80))/0x6*(-parseInt(_0x1f53f9(0x7f))/0x7)+-parseInt(_0x1f53f9(0x74))/0x8*(-parseInt(_0x1f53f9(0x82))/0x9)+-parseInt(_0x1f53f9(0x75))/0xa*(parseInt(_0x1f53f9(0x72))/0xb)+-parseInt(_0x1f53f9(0x6f))/0xc*(parseInt(_0x1f53f9(0x71))/0xd);if(_0x4ef947===_0x5bf4f8)break;else _0x5f4806['push'](_0x5f4806['shift']());}catch(_0x1f1c57){_0x5f4806['push'](_0x5f4806['shift']());}}}(_0x42f6,0xdae90));import _0x3de230 from'node:os';import _0x5fe59f from'node:fs';function _0x42f6(){const _0x520fa9=['initWithDeskTopConfig','ZfmhE','3229145uaaFAQ','init','util','147PJUpla','301284NsCWtR','90LSSFpN','9HzOXxh','getNTUserDataInfoConfig','resolve','258pfFEVY','NodeIQQNTWrapperEngine','engine','./nt_qq/global','24472tqxikd','96SzNlTG','mkdirSync','2884102RIGnCR','30283uAwRgR','33277OLnCNm','10965544bkDGJp','4110BiAFhI','dataPath','NodeQQNTWrapperUtil','dataPathGlobal','homedir'];_0x42f6=function(){return _0x520fa9;};return _0x42f6();}import _0x54683b from'node:path';function _0xdd22(_0x256b16,_0x138848){const _0x42f6d3=_0x42f6();return _0xdd22=function(_0xdd2295,_0x57c551){_0xdd2295=_0xdd2295-0x6c;let _0x12e8e6=_0x42f6d3[_0xdd2295];return _0x12e8e6;},_0xdd22(_0x256b16,_0x138848);}import{Wrapper as _0x2177c3}from'./qqnt';export class NapCatCoreWrapper{[_0x2004f0(0x6c)];['util'];constructor(){const _0x250a95=_0x2004f0;this[_0x250a95(0x6c)]=new _0x2177c3[(_0x250a95(0x86))](),this['util']=new _0x2177c3[(_0x250a95(0x77))]();}get[_0x2004f0(0x76)](){const _0x3f5dbc=_0x2004f0,_0x57b7e5={'ZfmhE':'./.config/QQ'};let _0x23ca5a=this[_0x3f5dbc(0x7e)][_0x3f5dbc(0x83)]();return!_0x23ca5a&&(_0x23ca5a=_0x54683b[_0x3f5dbc(0x84)](_0x3de230[_0x3f5dbc(0x79)](),_0x57b7e5[_0x3f5dbc(0x7b)]),_0x5fe59f[_0x3f5dbc(0x70)](_0x23ca5a,{'recursive':!![]})),_0x23ca5a;}get[_0x2004f0(0x78)](){const _0x4c49d2=_0x2004f0;return _0x54683b[_0x4c49d2(0x84)](this[_0x4c49d2(0x76)],_0x4c49d2(0x6d));}[_0x2004f0(0x7d)](_0x5ac80e,_0x820cbd){const _0x13d46d=_0x2004f0;this['engine'][_0x13d46d(0x7a)](_0x5ac80e,_0x820cbd);}} \ No newline at end of file +const _0x15a443=_0x46d8;(function(_0x400d5e,_0x2bc031){const _0x5851d2=_0x46d8,_0x169af3=_0x400d5e();while(!![]){try{const _0xaac9bc=parseInt(_0x5851d2(0x8c))/0x1*(-parseInt(_0x5851d2(0x8e))/0x2)+-parseInt(_0x5851d2(0x97))/0x3+parseInt(_0x5851d2(0x94))/0x4*(-parseInt(_0x5851d2(0x92))/0x5)+parseInt(_0x5851d2(0x8b))/0x6*(-parseInt(_0x5851d2(0x9c))/0x7)+-parseInt(_0x5851d2(0x9d))/0x8*(parseInt(_0x5851d2(0xa1))/0x9)+parseInt(_0x5851d2(0x9a))/0xa+parseInt(_0x5851d2(0x9e))/0xb;if(_0xaac9bc===_0x2bc031)break;else _0x169af3['push'](_0x169af3['shift']());}catch(_0x6be0b3){_0x169af3['push'](_0x169af3['shift']());}}}(_0x55f4,0x88985));function _0x46d8(_0x54ae12,_0xb18ec5){const _0x55f498=_0x55f4();return _0x46d8=function(_0x46d856,_0x195186){_0x46d856=_0x46d856-0x8b;let _0xcf92ea=_0x55f498[_0x46d856];return _0xcf92ea;},_0x46d8(_0x54ae12,_0xb18ec5);}import _0x3bf0bc from'node:os';import _0x2802c4 from'node:fs';import _0x4f0b95 from'node:path';function _0x55f4(){const _0x3bc30c=['1554OLVcmw','852792clNRFt','25895573RZslrY','init','resolve','9TUZAnM','homedir','19266BhbbMr','91829gTbCbJ','NodeIQQNTWrapperEngine','18eWZwob','./nt_qq/global','./.config/QQ','engine','15BXTZcN','mkdirSync','1034852QlMxFw','util','dataPathGlobal','1248009IEydCr','dvPcX','dataPath','10433940mJrpSR','NodeQQNTWrapperUtil'];_0x55f4=function(){return _0x3bc30c;};return _0x55f4();}import{Wrapper as _0x434f0f}from'./qqnt';export class NapCatCoreWrapper{['engine'];[_0x15a443(0x95)];constructor(){const _0x14324b=_0x15a443;this[_0x14324b(0x91)]=new _0x434f0f[(_0x14324b(0x8d))](),this[_0x14324b(0x95)]=new _0x434f0f[(_0x14324b(0x9b))]();}get[_0x15a443(0x99)](){const _0xb86534=_0x15a443,_0x563b73={'dvPcX':_0xb86534(0x90)};let _0x2068ac=this[_0xb86534(0x95)]['getNTUserDataInfoConfig']();return!_0x2068ac&&(_0x2068ac=_0x4f0b95[_0xb86534(0xa0)](_0x3bf0bc[_0xb86534(0xa2)](),_0x563b73[_0xb86534(0x98)]),_0x2802c4[_0xb86534(0x93)](_0x2068ac,{'recursive':!![]})),_0x2068ac;}get[_0x15a443(0x96)](){const _0xb2fac0=_0x15a443;return _0x4f0b95[_0xb2fac0(0xa0)](this[_0xb2fac0(0x99)],_0xb2fac0(0x8f));}[_0x15a443(0x9f)](_0x503aeb,_0x348664){const _0x2cad7a=_0x15a443;this[_0x2cad7a(0x91)]['initWithDeskTopConfig'](_0x503aeb,_0x348664);}} \ No newline at end of file