From 3f681ec9147443643909bb1bfedad7f5e5587b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 31 May 2024 23:33:23 +0800 Subject: [PATCH] refactor:NT Event Finish --- src/common/utils/EventTask.ts | 102 ++++++++++-------- src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- .../action/group/GetGroupMemberInfo.ts | 3 +- 42 files changed, 100 insertions(+), 85 deletions(-) diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index e1d1df5f..a9555c41 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -13,16 +13,37 @@ export class ListenerClassBase { [key: string]: string; } +export interface ListenerIBase { + // eslint-disable-next-line @typescript-eslint/no-misused-new + new(listener: any): ListenerClassBase; +} + export class NTEventWrapper { - private ListenerMap: Map | undefined;//ListenerName-Unique -> Listener构造函数 + + private ListenerMap: { [key: string]: ListenerIBase } | undefined;//ListenerName-Unique -> Listener构造函数 private WrapperSession: NodeIQQNTWrapperSession | undefined;//WrapperSession private ListenerManger: Map = new Map(); //ListenerName-Unique -> Listener实例 - private EventTask: Map> = new Map>();//tasks ListenerName -> uuid -> {timeout,createtime,func} - private ListenerInit: Map = new Map(); + private EventTask = new Map>>();//tasks ListenerMainName -> ListenerSubName-> uuid -> {timeout,createtime,func} constructor() { } - init({ ListenerMap, WrapperSession }: { ListenerMap: Map, WrapperSession: NodeIQQNTWrapperSession }) { + createProxyDispatch(ListenerMainName: string) { + let current = this; + return new Proxy({}, { + get(target: any, prop: any, receiver: any) { + // console.log('get', prop, typeof target[prop]); + if (typeof target[prop] === 'undefined') { + // 如果方法不存在,返回一个函数,这个函数调用existentMethod + return (...args: any[]) => { + current.DispatcherListener.apply(current, [ListenerMainName, prop, ...args]).then(); + }; + } + // 如果方法存在,正常返回 + return Reflect.get(target, prop, receiver); + } + }); + } + init({ ListenerMap, WrapperSession }: { ListenerMap: { [key: string]: typeof ListenerClassBase }, WrapperSession: NodeIQQNTWrapperSession }) { this.ListenerMap = ListenerMap; this.WrapperSession = WrapperSession; } @@ -34,6 +55,8 @@ export class NTEventWrapper { if (eventNameArr.length > 1) { let serviceName = 'get' + eventNameArr[0].replace('NodeIKernel', ''); let eventName = eventNameArr[1]; + //getNodeIKernelGroupListener,GroupService + //console.log('2', eventName); let services = (this.WrapperSession as unknown as eventType)[serviceName](); let event = services[eventName]; //重新绑定this @@ -45,44 +68,27 @@ export class NTEventWrapper { } } - // 获取某个Listener 存在返回 不存在创建 - CreatListenerFunction(listenerName: string, uniqueCode: string = ""): T { - let ListenerType = this.ListenerMap!.get(listenerName); - let Listener = this.ListenerManger.get(listenerName + uniqueCode); + CreatListenerFunction(listenerMainName: string, uniqueCode: string = ""): T { + let ListenerType = this.ListenerMap![listenerMainName]; + let Listener = this.ListenerManger.get(listenerMainName + uniqueCode); if (!Listener && ListenerType) { - Listener = new ListenerType(); - let ServiceSubName = listenerName.match(/^NodeIKernel(.*?)Listener$/); + Listener = new ListenerType(this.createProxyDispatch(listenerMainName)); + let ServiceSubName = listenerMainName.match(/^NodeIKernel(.*?)Listener$/)![1]; let Service = "NodeIKernel" + ServiceSubName + "Service/addKernel" + ServiceSubName + "Listener"; let addfunc = this.CreatEventFunction<(listener: T) => number>(Service); addfunc!(Listener as T); - this.ListenerManger.set(listenerName + uniqueCode, Listener); + //console.log(addfunc!(Listener as T)); + this.ListenerManger.set(listenerMainName + uniqueCode, Listener); } return Listener as T; } - // 如果存在覆盖注册 不存在则创建Listener - RigisterListener any }>(listenerName: string, uniqueCode: string = "NTEvent", cb: (...args: any) => any) { - let ListenerNameList = listenerName.split('/'); - let ListenerMain = ListenerNameList[0]; - let ListenerMethod = ListenerNameList[1]; - let Listener = this.CreatListenerFunction(ListenerMain, uniqueCode); //uniqueCode NTEvent - (Listener[ListenerMethod] as any) = cb; - } - //初始化Listener回调 - initNTListener(ListenerName: string) { - if (this.ListenerInit.get(ListenerName)) { - return; - } - this.RigisterListener(ListenerName, "NTEvent", (...args) => { - console.log('wait... DispatcherListener'); - this.DispatcherListener(ListenerName, ...args).then().catch(); - }) - this.ListenerInit.set(ListenerName, true); - } //统一回调清理事件 - async DispatcherListener(ListenerName: string, ...args: any[]) { - this.EventTask.get(ListenerName)?.forEach((task, uuid) => { - if (task.createtime + task.timeout > Date.now()) { - this.EventTask.get(ListenerName)?.delete(uuid); + async DispatcherListener(ListenerMainName: string, ListenerSubName: string, ...args: any[]) { + console.log(ListenerMainName, this.EventTask.get(ListenerMainName), ListenerSubName, this.EventTask.get(ListenerMainName)?.get(ListenerSubName)); + this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.forEach((task, uuid) => { + //console.log(task.func, uuid, task.createtime, task.timeout); + if (task.createtime + task.timeout < Date.now()) { + this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.delete(uuid); return; } task.func(...args); @@ -114,32 +120,42 @@ export class NTEventWrapper { resolve(retData as ArrayLike>); } } - this.initNTListener(ListenerName); let Timeouter = setTimeout(databack, timeout); - let ListenerNameList = ListenerName.split('/'); - let ListenerMain = ListenerNameList[0]; - let ListenerMethod = ListenerNameList[1]; - this.EventTask.get(ListenerMain)?.set(id, { + let ListenerNameList = ListenerName.split('/'); + let ListenerMainName = ListenerNameList[0]; + let ListenerSubName = ListenerNameList[1]; + let eventCallbak = { timeout: timeout, createtime: Date.now(), func: (...args: any[]) => { complete++; + //console.log('func', ...args); retData = args as ArrayLike>; - if (complete == waitTimes) { + if (complete >= waitTimes) { clearTimeout(Timeouter); databack(); } } - }); + } + if (!this.EventTask.get(ListenerMainName)) { + this.EventTask.set(ListenerMainName, new Map()); + } + if (!(this.EventTask.get(ListenerMainName)?.get(ListenerSubName))) { + this.EventTask.get(ListenerMainName)?.set(ListenerSubName, new Map()); + } + this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.set(id, eventCallbak); + this.CreatListenerFunction(ListenerMainName); let EventFunc = this.CreatEventFunction(EventName); - await EventFunc!(...args); + console.log(await EventFunc!(...args)); }); } } +export const NTEventDispatch = new NTEventWrapper(); + // 示例代码 快速创建事件 -//let NTEvent = new NTEventWrapper(); +// let NTEvent = new NTEventWrapper(); // let TestEvent = NTEvent.CreatEventFunction<(force: boolean) => Promise>('NodeIKernelProfileLikeService/GetTest'); // if (TestEvent) { // TestEvent(true); diff --git a/src/core b/src/core index 300270c2..fd7f8bf9 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 300270c2f70ca4bdb614b0bdf8cc5d796efea6e7 +Subproject commit fd7f8bf92c6090fd9b13f9746dadafa7afb42b1c diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7c7e2f6c..2813a01b 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x4f8b54=_0x4f34;function _0x4f34(_0xbaed04,_0x4b53ad){var _0x4cc022=_0x4cc0();return _0x4f34=function(_0x4f349c,_0x9083e2){_0x4f349c=_0x4f349c-0x131;var _0x33410f=_0x4cc022[_0x4f349c];return _0x33410f;},_0x4f34(_0xbaed04,_0x4b53ad);}function _0x4cc0(){var _0x1d4b13=['477EyYLON','54UTQVQP','6vywxEB','326856HoPiQr','1859ZKXyOj','onMSFSsoError','250QjfjnE','139784xWKKzW','onMSFStatusChange','60qLkvMG','442211Jauitq','194770TWLKuK','97079vRHCFb','getGroupCode'];_0x4cc0=function(){return _0x1d4b13;};return _0x4cc0();}(function(_0x38fc1a,_0x101f93){var _0xb96e1c=_0x4f34,_0x35d74e=_0x38fc1a();while(!![]){try{var _0x468126=parseInt(_0xb96e1c(0x134))/0x1+-parseInt(_0xb96e1c(0x13c))/0x2*(-parseInt(_0xb96e1c(0x136))/0x3)+parseInt(_0xb96e1c(0x139))/0x4+-parseInt(_0xb96e1c(0x133))/0x5+-parseInt(_0xb96e1c(0x138))/0x6*(-parseInt(_0xb96e1c(0x132))/0x7)+parseInt(_0xb96e1c(0x13d))/0x8*(-parseInt(_0xb96e1c(0x137))/0x9)+-parseInt(_0xb96e1c(0x131))/0xa*(-parseInt(_0xb96e1c(0x13a))/0xb);if(_0x468126===_0x101f93)break;else _0x35d74e['push'](_0x35d74e['shift']());}catch(_0x46afc8){_0x35d74e['push'](_0x35d74e['shift']());}}}(_0x4cc0,0x1d117));export class DependsAdapter{[_0x4f8b54(0x13e)](_0x375bc6,_0x4931a2){}[_0x4f8b54(0x13b)](_0xdb7883){}[_0x4f8b54(0x135)](_0x4f0da6){}} \ No newline at end of file +var _0x4b0d6a=_0x1529;(function(_0x52ff36,_0x29fb2d){var _0x1a21ce=_0x1529,_0x167b98=_0x52ff36();while(!![]){try{var _0x17acaa=-parseInt(_0x1a21ce(0x166))/0x1*(-parseInt(_0x1a21ce(0x162))/0x2)+-parseInt(_0x1a21ce(0x16a))/0x3*(-parseInt(_0x1a21ce(0x168))/0x4)+parseInt(_0x1a21ce(0x16d))/0x5+parseInt(_0x1a21ce(0x165))/0x6*(parseInt(_0x1a21ce(0x169))/0x7)+parseInt(_0x1a21ce(0x161))/0x8*(parseInt(_0x1a21ce(0x160))/0x9)+-parseInt(_0x1a21ce(0x16c))/0xa+-parseInt(_0x1a21ce(0x16b))/0xb;if(_0x17acaa===_0x29fb2d)break;else _0x167b98['push'](_0x167b98['shift']());}catch(_0x31a5e5){_0x167b98['push'](_0x167b98['shift']());}}}(_0x24aa,0x9937f));function _0x24aa(){var _0x4f43f1=['99kigWuU','14419669KHvkID','10173660gpSMwY','1139955RyJjcm','90uyWZwb','964408gPUQMV','82jhxQeU','getGroupCode','onMSFStatusChange','2336814GFTjLf','17123RvpQvS','onMSFSsoError','52220VSoqMY','7aGvgIR'];_0x24aa=function(){return _0x4f43f1;};return _0x24aa();}function _0x1529(_0x4ee119,_0x5a0f42){var _0x24aa91=_0x24aa();return _0x1529=function(_0x1529cb,_0x16d326){_0x1529cb=_0x1529cb-0x160;var _0x5b63ba=_0x24aa91[_0x1529cb];return _0x5b63ba;},_0x1529(_0x4ee119,_0x5a0f42);}export class DependsAdapter{[_0x4b0d6a(0x164)](_0x4917b3,_0x572337){}[_0x4b0d6a(0x167)](_0x2da2f){}[_0x4b0d6a(0x163)](_0x39bee0){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index 07cfc774..518f50c9 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x1311(){var _0x21c10c=['759EwMYVJ','7649917vyYsAY','18AJNhUO','19844rnwfOz','7LYYXWh','2850560Hdzetk','855832KOoAHx','6094430aJQOfM','1188106kodgkd','1243134TqstUS','dispatchCall','dispatchRequest','3YGNuNP'];_0x1311=function(){return _0x21c10c;};return _0x1311();}function _0x9613(_0x124e1f,_0x5ca3b2){var _0x13111e=_0x1311();return _0x9613=function(_0x961396,_0x45cbb4){_0x961396=_0x961396-0x19f;var _0x589d0b=_0x13111e[_0x961396];return _0x589d0b;},_0x9613(_0x124e1f,_0x5ca3b2);}var _0x1cf984=_0x9613;(function(_0x424440,_0x3ba584){var _0x5949c9=_0x9613,_0x43e09f=_0x424440();while(!![]){try{var _0x4162c0=-parseInt(_0x5949c9(0x1a1))/0x1*(parseInt(_0x5949c9(0x1aa))/0x2)+parseInt(_0x5949c9(0x1a2))/0x3*(parseInt(_0x5949c9(0x1a5))/0x4)+-parseInt(_0x5949c9(0x1a7))/0x5+parseInt(_0x5949c9(0x1ab))/0x6+parseInt(_0x5949c9(0x1a6))/0x7*(-parseInt(_0x5949c9(0x1a8))/0x8)+parseInt(_0x5949c9(0x1a4))/0x9*(parseInt(_0x5949c9(0x1a9))/0xa)+parseInt(_0x5949c9(0x1a3))/0xb;if(_0x4162c0===_0x3ba584)break;else _0x43e09f['push'](_0x43e09f['shift']());}catch(_0x5a2141){_0x43e09f['push'](_0x43e09f['shift']());}}}(_0x1311,0xdff9d));export class DispatcherAdapter{[_0x1cf984(0x1a0)](_0x4e9185){}[_0x1cf984(0x19f)](_0xed1775){}['dispatchCallWithJson'](_0x4ff1ee){}} \ No newline at end of file +var _0x8cf134=_0x1024;(function(_0x2a21ab,_0x282266){var _0x5b3008=_0x1024,_0x24759b=_0x2a21ab();while(!![]){try{var _0x22a91c=parseInt(_0x5b3008(0x1ca))/0x1+parseInt(_0x5b3008(0x1c8))/0x2*(-parseInt(_0x5b3008(0x1bf))/0x3)+-parseInt(_0x5b3008(0x1c5))/0x4*(parseInt(_0x5b3008(0x1c6))/0x5)+-parseInt(_0x5b3008(0x1c2))/0x6+-parseInt(_0x5b3008(0x1c3))/0x7+-parseInt(_0x5b3008(0x1c9))/0x8*(-parseInt(_0x5b3008(0x1cb))/0x9)+-parseInt(_0x5b3008(0x1c4))/0xa*(-parseInt(_0x5b3008(0x1c0))/0xb);if(_0x22a91c===_0x282266)break;else _0x24759b['push'](_0x24759b['shift']());}catch(_0x3f1d85){_0x24759b['push'](_0x24759b['shift']());}}}(_0x2fc3,0xf2629));function _0x1024(_0x2b6ddc,_0x43acc5){var _0x2fc329=_0x2fc3();return _0x1024=function(_0x1024cf,_0x4333c7){_0x1024cf=_0x1024cf-0x1bf;var _0x317483=_0x2fc329[_0x1024cf];return _0x317483;},_0x1024(_0x2b6ddc,_0x43acc5);}export class DispatcherAdapter{[_0x8cf134(0x1c7)](_0x52d790){}[_0x8cf134(0x1c1)](_0x56d090){}['dispatchCallWithJson'](_0x5787d2){}}function _0x2fc3(){var _0x3b4bd5=['70LVtZKm','dispatchRequest','1644PEzIvI','1448sUOsMm','1900210xRavgB','79263fvSKHc','1353gwhUoG','715USkmqe','dispatchCall','7958814stQUsI','5885383WYPwQJ','253300reSIra','459988GnlLDJ'];_0x2fc3=function(){return _0x3b4bd5;};return _0x2fc3();} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index b6d1731c..913b0840 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x29b3(){var _0x50a1ac=['227dappVx','onLog','3ezeneX','82146BRNYZc','onGetOfflineMsg','13966LCzWGd','onGetSrvCalTime','4190520tddJqr','12542238Ejzuyc','42214070tGrJfU','fixPicImgType','497Rwzcci','1773784nMIZhG','4684616Ljokuo'];_0x29b3=function(){return _0x50a1ac;};return _0x29b3();}function _0x26ad(_0x210152,_0xd58e76){var _0x29b3c2=_0x29b3();return _0x26ad=function(_0x26ad07,_0xc58895){_0x26ad07=_0x26ad07-0x1b9;var _0x36b970=_0x29b3c2[_0x26ad07];return _0x36b970;},_0x26ad(_0x210152,_0xd58e76);}var _0x1738d3=_0x26ad;(function(_0x20c8f1,_0x517180){var _0x244916=_0x26ad,_0x32b58e=_0x20c8f1();while(!![]){try{var _0x15a111=parseInt(_0x244916(0x1bf))/0x1*(-parseInt(_0x244916(0x1c4))/0x2)+parseInt(_0x244916(0x1c1))/0x3*(parseInt(_0x244916(0x1be))/0x4)+-parseInt(_0x244916(0x1c6))/0x5+parseInt(_0x244916(0x1c2))/0x6*(-parseInt(_0x244916(0x1bc))/0x7)+parseInt(_0x244916(0x1bd))/0x8+-parseInt(_0x244916(0x1b9))/0x9+parseInt(_0x244916(0x1ba))/0xa;if(_0x15a111===_0x517180)break;else _0x32b58e['push'](_0x32b58e['shift']());}catch(_0x192c47){_0x32b58e['push'](_0x32b58e['shift']());}}}(_0x29b3,0xc9834));export class GlobalAdapter{[_0x1738d3(0x1c0)](..._0x3d1936){}[_0x1738d3(0x1c5)](..._0x4c8dae){}['onShowErrUITips'](..._0x5bf5a2){}[_0x1738d3(0x1bb)](..._0x2ef0dd){}['getAppSetting'](..._0x5b6467){}['onInstallFinished'](..._0x11433e){}['onUpdateGeneralFlag'](..._0x36e7ff){}[_0x1738d3(0x1c3)](..._0x302955){}} \ No newline at end of file +var _0x4f8113=_0xf1f2;function _0x35df(){var _0x3b9e7e=['3521436PmCwkG','149rXjTHk','4638996aYdwEH','fixPicImgType','getAppSetting','1427048kBFCdV','18529jIeosc','onShowErrUITips','3192hiXqws','onInstallFinished','onGetSrvCalTime','22749354RmvbJi','18208slaMDE','3610590bxnDbA','onGetOfflineMsg'];_0x35df=function(){return _0x3b9e7e;};return _0x35df();}function _0xf1f2(_0x595b4a,_0x28b7e1){var _0x35dffb=_0x35df();return _0xf1f2=function(_0xf1f29c,_0x559efc){_0xf1f29c=_0xf1f29c-0x179;var _0x1a08e9=_0x35dffb[_0xf1f29c];return _0x1a08e9;},_0xf1f2(_0x595b4a,_0x28b7e1);}(function(_0x1e4b79,_0x93502d){var _0x4fbf91=_0xf1f2,_0x220f4d=_0x1e4b79();while(!![]){try{var _0x2733dd=parseInt(_0x4fbf91(0x17c))/0x1*(parseInt(_0x4fbf91(0x187))/0x2)+parseInt(_0x4fbf91(0x17b))/0x3+-parseInt(_0x4fbf91(0x180))/0x4+-parseInt(_0x4fbf91(0x179))/0x5+parseInt(_0x4fbf91(0x17d))/0x6+parseInt(_0x4fbf91(0x181))/0x7*(parseInt(_0x4fbf91(0x183))/0x8)+-parseInt(_0x4fbf91(0x186))/0x9;if(_0x2733dd===_0x93502d)break;else _0x220f4d['push'](_0x220f4d['shift']());}catch(_0x2e9fea){_0x220f4d['push'](_0x220f4d['shift']());}}}(_0x35df,0xb7d91));export class GlobalAdapter{['onLog'](..._0x198012){}[_0x4f8113(0x185)](..._0x594cf7){}[_0x4f8113(0x182)](..._0x8cfe34){}[_0x4f8113(0x17e)](..._0x3ebfff){}[_0x4f8113(0x17f)](..._0x1a4158){}[_0x4f8113(0x184)](..._0x3475fc){}['onUpdateGeneralFlag'](..._0x370928){}[_0x4f8113(0x17a)](..._0x3c3b1a){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 4735da57..81230653 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x3bdc0a,_0x2b28d2){var _0x4f262f=_0x5807,_0x2cdc54=_0x3bdc0a();while(!![]){try{var _0x24155b=parseInt(_0x4f262f(0xf2))/0x1*(-parseInt(_0x4f262f(0xf3))/0x2)+-parseInt(_0x4f262f(0xf1))/0x3+-parseInt(_0x4f262f(0xf5))/0x4*(parseInt(_0x4f262f(0xf8))/0x5)+-parseInt(_0x4f262f(0xf4))/0x6+-parseInt(_0x4f262f(0xf7))/0x7*(-parseInt(_0x4f262f(0xf6))/0x8)+parseInt(_0x4f262f(0xf9))/0x9+-parseInt(_0x4f262f(0xef))/0xa*(-parseInt(_0x4f262f(0xf0))/0xb);if(_0x24155b===_0x2b28d2)break;else _0x2cdc54['push'](_0x2cdc54['shift']());}catch(_0x3e3eaf){_0x2cdc54['push'](_0x2cdc54['shift']());}}}(_0x40f5,0x1dc0b));function _0x5807(_0x1a67af,_0x167d9c){var _0x40f51e=_0x40f5();return _0x5807=function(_0x580701,_0xa71bda){_0x580701=_0x580701-0xef;var _0x8b501a=_0x40f51e[_0x580701];return _0x8b501a;},_0x5807(_0x1a67af,_0x167d9c);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x40f5(){var _0x516c0a=['20XtOAIT','2219195TpiCHh','432918TfuxVG','166613tJaCyR','2uEjykt','1290828cCTXnB','7348QUxezJ','1336PUrnLr','7147WruUXt','160AGXJYr','1194399FtRLXu'];_0x40f5=function(){return _0x516c0a;};return _0x40f5();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x1a6cfb,_0x5d2ba8){var _0x36f690=_0x4479,_0x3d156f=_0x1a6cfb();while(!![]){try{var _0x2fc096=-parseInt(_0x36f690(0xbf))/0x1*(-parseInt(_0x36f690(0xc0))/0x2)+-parseInt(_0x36f690(0xc5))/0x3*(parseInt(_0x36f690(0xc2))/0x4)+parseInt(_0x36f690(0xc1))/0x5+-parseInt(_0x36f690(0xc6))/0x6+parseInt(_0x36f690(0xc3))/0x7+parseInt(_0x36f690(0xc8))/0x8*(parseInt(_0x36f690(0xc4))/0x9)+-parseInt(_0x36f690(0xc7))/0xa;if(_0x2fc096===_0x5d2ba8)break;else _0x3d156f['push'](_0x3d156f['shift']());}catch(_0x213d15){_0x3d156f['push'](_0x3d156f['shift']());}}}(_0x268b,0x4eab2));function _0x268b(){var _0x1ba0e5=['1896170wmykrW','20suYgSm','1690052jPwLyQ','9BCYtih','162858ztksLk','2116542jDUTkT','145990Ufowus','786792NNZpcd','1QkcnXa','483986BZUGzS'];_0x268b=function(){return _0x1ba0e5;};return _0x268b();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x4479(_0x14664e,_0x54462a){var _0x268b9e=_0x268b();return _0x4479=function(_0x4479aa,_0x3dfa81){_0x4479aa=_0x4479aa-0xbf;var _0x95a000=_0x268b9e[_0x4479aa];return _0x95a000;},_0x4479(_0x14664e,_0x54462a);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 47cec051..208798a9 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0xefb9f=_0x9cdc;function _0x3e5b(){const _0x52ce17=['PIC','20845MmwoBo','getImageSize','clearCacheDataByKeys','setCacheSilentScan','7XpqCSM','getChatCacheInfo','indexOf','rqcoZ','uploadFile','delete','60woxOvD','copyFile','BWLXw','/gchatpic_new/0/0-0-','defaultFileDownloadPath','scanCache','unlink','util','getRichMediaFilePathForGuild','getFileType','getStorageCleanService','1107504qmeIPZ','hotUpdate','getFileCacheInfo','filePath','private_rkey','onLoginSuccess','toUpperCase','addCacheScannedPaths','fileUuid','basename','9434800yRXyKk','&rkey=','downloadRichMedia','51444RPzWvE','ext','5955uAtONj','startsWith','set','5246329QwdPcb','zCFGk','addCacheScanedPaths','WUxwF','/download','getCacheSessionPathList','onRichMediaDownloadComplete','jnwqk','wdwze','RTfJu','408FDqeil','getDesktopTmpPath','6996RVlTSM','downloadMedia','图片url获取失败','tmp','zQFaH','getChatCacheList','includes','originImageUrl','clearChatCacheInfo','fileTypeFromFile','clearCache','msgId','addListener','getFileSize','getMsgService','existsSync','174WrvKFC','下载超时','session'];_0x3e5b=function(){return _0x52ce17;};return _0x3e5b();}(function(_0x2dcd5a,_0x12e06d){const _0x597f5b=_0x9cdc,_0x259a55=_0x2dcd5a();while(!![]){try{const _0x1d7969=-parseInt(_0x597f5b(0x110))/0x1*(parseInt(_0x597f5b(0xe7))/0x2)+-parseInt(_0x597f5b(0x101))/0x3*(parseInt(_0x597f5b(0x10e))/0x4)+parseInt(_0x597f5b(0xdd))/0x5*(-parseInt(_0x597f5b(0xd9))/0x6)+parseInt(_0x597f5b(0xe1))/0x7*(-parseInt(_0x597f5b(0xf2))/0x8)+-parseInt(_0x597f5b(0xff))/0x9+parseInt(_0x597f5b(0xfc))/0xa+parseInt(_0x597f5b(0x104))/0xb;if(_0x1d7969===_0x12e06d)break;else _0x259a55['push'](_0x259a55['shift']());}catch(_0x236163){_0x259a55['push'](_0x259a55['shift']());}}}(_0x3e5b,0xb5666));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1a379c from'path';import _0x21feb7 from'fs';import _0x5e0fb7 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x9cdc(_0x170654,_0x5e5e81){const _0x3e5b47=_0x3e5b();return _0x9cdc=function(_0x9cdc25,_0x3258b5){_0x9cdc25=_0x9cdc25-0xcd;let _0x5d98dc=_0x3e5b47[_0x9cdc25];return _0x5d98dc;},_0x9cdc(_0x170654,_0x5e5e81);}import*as _0x3e18c4 from'file-type';import{MsgListener}from'@/core/listeners';import _0x1b62e3 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0xefb9f(0x10a)]=_0x841eef=>{const _0x47a8ca=_0xefb9f,_0x5d3baf={'fdaWP':function(_0x5516d2,_0x548842){return _0x5516d2(_0x548842);}};for(const [_0x5f1f18,_0x6b0f7d]of downloadMediaTasks){_0x5d3baf['fdaWP'](_0x6b0f7d,_0x841eef),downloadMediaTasks[_0x47a8ca(0xe6)](_0x5f1f18);}},setTimeout(()=>{const _0x3eb4e2=_0xefb9f;napCatCore[_0x3eb4e2(0xf7)](()=>{const _0x148e6b=_0x3eb4e2;napCatCore[_0x148e6b(0xd5)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0xefb9f(0xf0)](_0x576661){const _0x364338=_0xefb9f;return _0x3e18c4[_0x364338(0xd2)](_0x576661);}static async[_0xefb9f(0xe8)](_0xf621ac,_0x22cbac){const _0xafa5c3=_0xefb9f;await napCatCore[_0xafa5c3(0xee)][_0xafa5c3(0xe8)](_0xf621ac,_0x22cbac);}static async[_0xefb9f(0xd6)](_0x32b751){const _0x5b8f95=_0xefb9f;return await napCatCore[_0x5b8f95(0xee)][_0x5b8f95(0xd6)](_0x32b751);}static async[_0xefb9f(0xe5)](_0x21c523,_0x57151f=ElementType[_0xefb9f(0xdc)],_0x48ab6f=0x0){const _0x233faf=_0xefb9f,_0x1e97a5={'zQFaH':function(_0x1ae054,_0x43bbf8){return _0x1ae054+_0x43bbf8;},'UVhjE':function(_0x480245,_0x561078){return _0x480245===_0x561078;}},_0x55f518=await calculateFileMD5(_0x21c523);let _0x2e767c=(await NTQQFileApi[_0x233faf(0xf0)](_0x21c523))?.[_0x233faf(0x100)]||'';_0x2e767c&&(_0x2e767c=_0x1e97a5[_0x233faf(0xcd)]('.',_0x2e767c));let _0x5af73a=''+_0x1a379c[_0x233faf(0xfb)](_0x21c523);_0x1e97a5['UVhjE'](_0x5af73a[_0x233faf(0xe3)]('.'),-0x1)&&(_0x5af73a+=_0x2e767c);const _0x1a8521=napCatCore[_0x233faf(0xdb)][_0x233faf(0xd7)]()[_0x233faf(0xef)]({'md5HexStr':_0x55f518,'fileName':_0x5af73a,'elementType':_0x57151f,'elementSubType':_0x48ab6f,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x233faf(0xe8)](_0x21c523,_0x1a8521);const _0x239c4d=await NTQQFileApi[_0x233faf(0xd6)](_0x21c523);return{'md5':_0x55f518,'fileName':_0x5af73a,'path':_0x1a8521,'fileSize':_0x239c4d,'ext':_0x2e767c};}static async[_0xefb9f(0x111)](_0x2e8345,_0x1fdc92,_0x31b4dd,_0x95e704,_0x49bf69,_0x4dc626,_0x4d37eb=0x3e8*0x3c*0x2,_0x314460=![]){const _0x55e7e4=_0xefb9f,_0x29426b={'cZfUC':function(_0x71238e,_0x2777f3){return _0x71238e===_0x2777f3;},'WUxwF':function(_0x135636,_0x1edb61){return _0x135636(_0x1edb61);},'jsRqB':_0x55e7e4(0xda)};if(_0x4dc626&&_0x21feb7[_0x55e7e4(0xd8)](_0x4dc626)){if(_0x314460)try{await _0x5e0fb7[_0x55e7e4(0xed)](_0x4dc626);}catch(_0x4b7e90){}else return _0x4dc626;}return new Promise((_0x4f6a2a,_0x2c21c4)=>{const _0x371a4a=_0x55e7e4;let _0x4fbf95=![];const _0x9755de=_0x3bce1e=>{const _0x3e7e6d=_0x9cdc;if(_0x29426b['cZfUC'](_0x3bce1e[_0x3e7e6d(0xd4)],_0x2e8345)){_0x4fbf95=!![];let _0x831049=_0x3bce1e[_0x3e7e6d(0xf5)];if(_0x831049[_0x3e7e6d(0x102)]('\x5c')){const _0x28717e=sessionConfig[_0x3e7e6d(0xeb)];_0x831049=_0x1a379c['join'](_0x28717e,_0x831049);}_0x29426b[_0x3e7e6d(0x107)](_0x4f6a2a,_0x831049);}};downloadMediaTasks[_0x371a4a(0x103)](randomUUID(),_0x9755de),setTimeout(()=>{const _0x395755=_0x371a4a;!_0x4fbf95&&_0x29426b[_0x395755(0x107)](_0x2c21c4,_0x29426b['jsRqB']);},_0x4d37eb),napCatCore[_0x371a4a(0xdb)]['getMsgService']()[_0x371a4a(0xfe)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2e8345,'chatType':_0x1fdc92,'peerUid':_0x31b4dd,'elementId':_0x95e704,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x49bf69});});}static async[_0xefb9f(0xde)](_0x3cc4e5){const _0x327147={'RTfJu':function(_0x3a2ff4,_0x4e484a,_0x3016bf){return _0x3a2ff4(_0x4e484a,_0x3016bf);}};return new Promise((_0x4b0bfd,_0x180d67)=>{const _0x15a6c9=_0x9cdc;_0x327147[_0x15a6c9(0x10d)](_0x1b62e3,_0x3cc4e5,(_0x2ee95d,_0x1fe98f)=>{_0x2ee95d?_0x180d67(_0x2ee95d):_0x4b0bfd(_0x1fe98f);});});}static async['getImageUrl'](_0x4c0579,_0x2fd0d7){const _0x509cde=_0xefb9f,_0x3ca071={'Oxjkk':_0x509cde(0x108),'qMkii':_0x509cde(0xfd),'wdwze':function(_0x2b7645,_0x317a3d){return _0x2b7645+_0x317a3d;},'BWLXw':function(_0x171909,_0x360e98){return _0x171909+_0x360e98;},'zCFGk':function(_0x86b49c,_0x4fd0cd){return _0x86b49c+_0x4fd0cd;},'jnwqk':function(_0xac2480,_0x47624d){return _0xac2480||_0x47624d;},'rqcoZ':function(_0x20fef7,_0x15cd4e,_0x1c3417){return _0x20fef7(_0x15cd4e,_0x1c3417);},'NGRgw':_0x509cde(0x112)};if(!_0x4c0579)return'';const _0x4679cb=_0x4c0579[_0x509cde(0xd0)],_0x5d73c6=_0x4c0579['md5HexStr'],_0x9cd402=_0x4c0579['md5HexStr'],_0x5c2ec5=_0x4c0579[_0x509cde(0xfa)];if(_0x4679cb){if(_0x4679cb[_0x509cde(0x102)](_0x3ca071['Oxjkk'])){if(_0x4679cb[_0x509cde(0xcf)](_0x3ca071['qMkii']))return _0x3ca071[_0x509cde(0x10c)](IMAGE_HTTP_HOST_NT,_0x4679cb);const _0x11e3d2=await rkeyManager['getRkey'](),_0x2118d1=_0x2fd0d7?_0x11e3d2[_0x509cde(0xf6)]:_0x11e3d2['group_rkey'];return _0x3ca071[_0x509cde(0xe9)](IMAGE_HTTP_HOST_NT,_0x4679cb)+(''+_0x2118d1);}else return _0x3ca071[_0x509cde(0x105)](IMAGE_HTTP_HOST,_0x4679cb);}else{if(_0x9cd402||_0x5d73c6)return IMAGE_HTTP_HOST+_0x509cde(0xea)+_0x3ca071[_0x509cde(0x10b)](_0x9cd402,_0x5d73c6)[_0x509cde(0xf8)]()+'/0';}return _0x3ca071[_0x509cde(0xe4)](logDebug,_0x3ca071['NGRgw'],_0x4c0579),'';}}export class NTQQFileCacheApi{static async[_0xefb9f(0xe0)](_0x45659d=!![]){return'';}static[_0xefb9f(0x109)](){return'';}static[_0xefb9f(0xd3)](_0x4c7a14=[_0xefb9f(0x113),_0xefb9f(0xf3)]){const _0x3ea12b=_0xefb9f;return napCatCore['session'][_0x3ea12b(0xf1)]()[_0x3ea12b(0xdf)](_0x4c7a14);}static[_0xefb9f(0xf9)](_0x277d0e={}){const _0x2f260e=_0xefb9f;return napCatCore[_0x2f260e(0xdb)][_0x2f260e(0xf1)]()[_0x2f260e(0x106)](_0x277d0e);}static[_0xefb9f(0xec)](){const _0x104177=_0xefb9f;return napCatCore[_0x104177(0xdb)][_0x104177(0xf1)]()[_0x104177(0xec)]();}static['getHotUpdateCachePath'](){return'';}static[_0xefb9f(0x10f)](){return'';}static[_0xefb9f(0xce)](_0x3f16cc,_0x4f05e9=0x3e8,_0xb5e2f9=0x0){const _0x1f2463=_0xefb9f;return napCatCore[_0x1f2463(0xdb)][_0x1f2463(0xf1)]()[_0x1f2463(0xe2)](_0x3f16cc,_0x4f05e9,0x1,_0xb5e2f9);}static[_0xefb9f(0xf4)](_0x1c156a,_0x33bdc4=0x3e8,_0x2decd2){const _0x6be3b7=_0x2decd2?_0x2decd2:{'fileType':_0x1c156a};}static async['clearChatCache'](_0x5597da=[],_0x417a2f=[]){const _0x1a09c8=_0xefb9f;return napCatCore[_0x1a09c8(0xdb)][_0x1a09c8(0xf1)]()[_0x1a09c8(0xd1)](_0x5597da,_0x417a2f);}} \ No newline at end of file +const _0xd6a2ce=_0x51f8;(function(_0x39ac41,_0x56a240){const _0x239baa=_0x51f8,_0x18e128=_0x39ac41();while(!![]){try{const _0x2b01f5=-parseInt(_0x239baa(0x9d))/0x1*(parseInt(_0x239baa(0xaf))/0x2)+parseInt(_0x239baa(0xa4))/0x3*(-parseInt(_0x239baa(0xa6))/0x4)+-parseInt(_0x239baa(0xad))/0x5+-parseInt(_0x239baa(0xa7))/0x6*(-parseInt(_0x239baa(0xc0))/0x7)+parseInt(_0x239baa(0xa2))/0x8*(-parseInt(_0x239baa(0x9f))/0x9)+-parseInt(_0x239baa(0xac))/0xa*(parseInt(_0x239baa(0xb3))/0xb)+-parseInt(_0x239baa(0x96))/0xc*(-parseInt(_0x239baa(0xa1))/0xd);if(_0x2b01f5===_0x56a240)break;else _0x18e128['push'](_0x18e128['shift']());}catch(_0x1d6935){_0x18e128['push'](_0x18e128['shift']());}}}(_0x2468,0x878f9));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x517eca from'path';import _0x504ebf from'fs';import _0xc25505 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x13632c from'file-type';import{MsgListener}from'@/core/listeners';function _0x2468(){const _0x51d3f3=['copyFile','wLrDI','87edAvpt','util','6789141aqIljR','getChatCacheInfo','37399102YXEBEV','8bpoCbe','session','105993kfiFuW','clearChatCache','108NmeGnx','18sdqOOy','scanCache','JWzkP','图片url获取失败','gbHZO','13220sekDsI','168825QlSOcc','set','15182wvhlhs','XWUvj','getDesktopTmpPath','addListener','891WMRBce','existsSync','&rkey=','npmws','private_rkey','getHotUpdateCachePath','getStorageCleanService','SpNpj','startsWith','hotUpdate','clearChatCacheInfo','uploadFile','clearCacheDataByKeys','438557fptSad','group_rkey','setCacheSilentScan','ULbkj','getMsgService','delete','bbfIw','ext','basename','filePath','getCacheSessionPathList','getRkey','getFileSize','getFileType','fileTypeFromFile','getImageSize','onRichMediaDownloadComplete','fileUuid','originImageUrl','ndblM','onLoginSuccess','clearCache','defaultFileDownloadPath','getChatCacheList','includes','md5HexStr','JiwBm','/download','12OWxebo','downloadMedia','join','/gchatpic_new/0/0-0-','addCacheScanedPaths'];_0x2468=function(){return _0x51d3f3;};return _0x2468();}import _0x352978 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0xd6a2ce(0xd0)]=_0x5d5cea=>{const _0x30d6d2=_0xd6a2ce;for(const [_0x2ee94e,_0x1440c6]of downloadMediaTasks){_0x1440c6(_0x5d5cea),downloadMediaTasks[_0x30d6d2(0xc5)](_0x2ee94e);}},setTimeout(()=>{const _0x6798e0=_0xd6a2ce;napCatCore[_0x6798e0(0x8e)](()=>{const _0x33fd06=_0x6798e0;napCatCore[_0x33fd06(0xb2)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0xd6a2ce(0xcd)](_0x4c82d3){const _0x30cce6=_0xd6a2ce;return _0x13632c[_0x30cce6(0xce)](_0x4c82d3);}static async[_0xd6a2ce(0x9b)](_0xd4fbf0,_0x59f77b){const _0x327ec0=_0xd6a2ce;await napCatCore[_0x327ec0(0x9e)][_0x327ec0(0x9b)](_0xd4fbf0,_0x59f77b);}static async[_0xd6a2ce(0xcc)](_0x5dc2b9){const _0x4ee10b=_0xd6a2ce;return await napCatCore[_0x4ee10b(0x9e)][_0x4ee10b(0xcc)](_0x5dc2b9);}static async[_0xd6a2ce(0xbe)](_0x41b666,_0x45f361=ElementType['PIC'],_0x3e4054=0x0){const _0x4041de=_0xd6a2ce,_0x261ca9={'wLrDI':function(_0x9c0334,_0x1082ce){return _0x9c0334(_0x1082ce);},'JWzkP':function(_0x1cd46f,_0x302c2b){return _0x1cd46f+_0x302c2b;},'fnXJE':function(_0x21430f,_0x2af7a7){return _0x21430f===_0x2af7a7;}},_0x34aba5=await _0x261ca9[_0x4041de(0x9c)](calculateFileMD5,_0x41b666);let _0x331b0b=(await NTQQFileApi[_0x4041de(0xcd)](_0x41b666))?.[_0x4041de(0xc7)]||'';_0x331b0b&&(_0x331b0b=_0x261ca9[_0x4041de(0xa9)]('.',_0x331b0b));let _0x5245c6=''+_0x517eca[_0x4041de(0xc8)](_0x41b666);_0x261ca9['fnXJE'](_0x5245c6['indexOf']('.'),-0x1)&&(_0x5245c6+=_0x331b0b);const _0x3d7916=napCatCore[_0x4041de(0xa3)][_0x4041de(0xc4)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x34aba5,'fileName':_0x5245c6,'elementType':_0x45f361,'elementSubType':_0x3e4054,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4041de(0x9b)](_0x41b666,_0x3d7916);const _0x23a9c8=await NTQQFileApi[_0x4041de(0xcc)](_0x41b666);return{'md5':_0x34aba5,'fileName':_0x5245c6,'path':_0x3d7916,'fileSize':_0x23a9c8,'ext':_0x331b0b};}static async[_0xd6a2ce(0x97)](_0x57de69,_0x429ec1,_0x37aeb9,_0x12f8f5,_0x3b691a,_0x1b2431,_0x5d9396=0x3e8*0x3c*0x2,_0x3cf82f=![]){const _0x481d9c=_0xd6a2ce,_0x3b7e9d={'bbfIw':function(_0x5a45ca,_0x45bc0d){return _0x5a45ca(_0x45bc0d);},'gbHZO':'下载超时','obvyZ':function(_0x12b36e){return _0x12b36e();},'MNHou':function(_0x3a5f0f,_0x241324,_0x5b1d56){return _0x3a5f0f(_0x241324,_0x5b1d56);}};if(_0x1b2431&&_0x504ebf[_0x481d9c(0xb4)](_0x1b2431)){if(_0x3cf82f)try{await _0xc25505['unlink'](_0x1b2431);}catch(_0x34f254){}else return _0x1b2431;}return new Promise((_0x4beb55,_0x2d3f5c)=>{const _0x49aee8=_0x481d9c,_0x2a5572={'JJKGc':function(_0x46f915,_0x26651a){return _0x46f915===_0x26651a;},'JiwBm':function(_0x3c79a3,_0x23be6d){return _0x3c79a3(_0x23be6d);},'npmws':function(_0x3471aa,_0x411acb){const _0x553a6b=_0x51f8;return _0x3b7e9d[_0x553a6b(0xc6)](_0x3471aa,_0x411acb);},'ndblM':_0x3b7e9d[_0x49aee8(0xab)]};let _0x13ec1e=![];const _0x20c297=_0x4aa63b=>{const _0x464c95=_0x49aee8;if(_0x2a5572['JJKGc'](_0x4aa63b['msgId'],_0x57de69)){_0x13ec1e=!![];let _0x51c1b7=_0x4aa63b[_0x464c95(0xc9)];if(_0x51c1b7['startsWith']('\x5c')){const _0x221a81=sessionConfig[_0x464c95(0x90)];_0x51c1b7=_0x517eca[_0x464c95(0x98)](_0x221a81,_0x51c1b7);}_0x2a5572[_0x464c95(0x94)](_0x4beb55,_0x51c1b7);}};downloadMediaTasks[_0x49aee8(0xae)](_0x3b7e9d['obvyZ'](randomUUID),_0x20c297),_0x3b7e9d['MNHou'](setTimeout,()=>{const _0x2693f6=_0x49aee8;!_0x13ec1e&&_0x2a5572[_0x2693f6(0xb6)](_0x2d3f5c,_0x2a5572[_0x2693f6(0x8d)]);},_0x5d9396),napCatCore[_0x49aee8(0xa3)]['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x57de69,'chatType':_0x429ec1,'peerUid':_0x37aeb9,'elementId':_0x12f8f5,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3b691a});});}static async[_0xd6a2ce(0xcf)](_0x1b27b7){const _0x2eaaf1={'SpNpj':function(_0x5c5422,_0x279023){return _0x5c5422(_0x279023);}};return new Promise((_0x1ef9c2,_0x4c1798)=>{_0x352978(_0x1b27b7,(_0x2cfac6,_0x387f12)=>{const _0x2ce4b1=_0x51f8;_0x2cfac6?_0x2eaaf1[_0x2ce4b1(0xba)](_0x4c1798,_0x2cfac6):_0x2eaaf1[_0x2ce4b1(0xba)](_0x1ef9c2,_0x387f12);});});}static async['getImageUrl'](_0x40c738,_0xd10a04){const _0xe4485b=_0xd6a2ce,_0x1808f2={'TmcQJ':_0xe4485b(0xb5),'ULbkj':function(_0x5e26fc,_0x28979d){return _0x5e26fc+_0x28979d;},'NHlgg':function(_0x378a00,_0x42f0ff){return _0x378a00||_0x42f0ff;},'BKjLc':function(_0x5d9d93,_0x3014bb){return _0x5d9d93||_0x3014bb;},'XWUvj':function(_0x2124e3,_0x2dcc23,_0x142868){return _0x2124e3(_0x2dcc23,_0x142868);}};if(!_0x40c738)return'';const _0x36109c=_0x40c738[_0xe4485b(0x8c)],_0x539330=_0x40c738[_0xe4485b(0x93)],_0x5b210e=_0x40c738[_0xe4485b(0x93)],_0x507ce1=_0x40c738[_0xe4485b(0x8b)];if(_0x36109c){if(_0x36109c[_0xe4485b(0xbb)](_0xe4485b(0x95))){if(_0x36109c[_0xe4485b(0x92)](_0x1808f2['TmcQJ']))return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST_NT,_0x36109c);const _0x4ce612=await rkeyManager[_0xe4485b(0xcb)](),_0x1767db=_0xd10a04?_0x4ce612[_0xe4485b(0xb7)]:_0x4ce612[_0xe4485b(0xc1)];return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST_NT+_0x36109c,''+_0x1767db);}else return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST,_0x36109c);}else{if(_0x1808f2['NHlgg'](_0x5b210e,_0x539330))return IMAGE_HTTP_HOST+_0xe4485b(0x99)+_0x1808f2['BKjLc'](_0x5b210e,_0x539330)['toUpperCase']()+'/0';}return _0x1808f2[_0xe4485b(0xb0)](logDebug,_0xe4485b(0xaa),_0x40c738),'';}}function _0x51f8(_0xa5dc84,_0x2e4b9e){const _0x24686a=_0x2468();return _0x51f8=function(_0x51f828,_0x509e20){_0x51f828=_0x51f828-0x8b;let _0x1b1aeb=_0x24686a[_0x51f828];return _0x1b1aeb;},_0x51f8(_0xa5dc84,_0x2e4b9e);}export class NTQQFileCacheApi{static async[_0xd6a2ce(0xc2)](_0x3e47da=!![]){return'';}static[_0xd6a2ce(0xca)](){return'';}static[_0xd6a2ce(0x8f)](_0x353fed=['tmp',_0xd6a2ce(0xbc)]){const _0x1c9daa=_0xd6a2ce;return napCatCore['session'][_0x1c9daa(0xb9)]()[_0x1c9daa(0xbf)](_0x353fed);}static['addCacheScannedPaths'](_0x13db6e={}){const _0x3b9741=_0xd6a2ce;return napCatCore[_0x3b9741(0xa3)]['getStorageCleanService']()[_0x3b9741(0x9a)](_0x13db6e);}static['scanCache'](){const _0x555a7f=_0xd6a2ce;return napCatCore['session'][_0x555a7f(0xb9)]()[_0x555a7f(0xa8)]();}static[_0xd6a2ce(0xb8)](){return'';}static[_0xd6a2ce(0xb1)](){return'';}static[_0xd6a2ce(0x91)](_0x43bb2b,_0x37e57a=0x3e8,_0x3fdcfe=0x0){const _0x562e2b=_0xd6a2ce;return napCatCore[_0x562e2b(0xa3)]['getStorageCleanService']()[_0x562e2b(0xa0)](_0x43bb2b,_0x37e57a,0x1,_0x3fdcfe);}static['getFileCacheInfo'](_0x3e7f9b,_0x33fe9b=0x3e8,_0x5495c9){const _0x29ac9c=_0x5495c9?_0x5495c9:{'fileType':_0x3e7f9b};}static async[_0xd6a2ce(0xa5)](_0x5d58f3=[],_0x5d9fec=[]){const _0x213a8a=_0xd6a2ce;return napCatCore[_0x213a8a(0xa3)][_0x213a8a(0xb9)]()[_0x213a8a(0xbd)](_0x5d58f3,_0x5d9fec);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index b6f6a5b3..7dbc5440 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x3757d1=_0x17b2;(function(_0x2f62ad,_0x5963b4){const _0x5f29cb=_0x17b2,_0x543a5b=_0x2f62ad();while(!![]){try{const _0x3aa014=-parseInt(_0x5f29cb(0x206))/0x1*(-parseInt(_0x5f29cb(0x1f4))/0x2)+parseInt(_0x5f29cb(0x208))/0x3*(parseInt(_0x5f29cb(0x200))/0x4)+-parseInt(_0x5f29cb(0x207))/0x5+parseInt(_0x5f29cb(0x201))/0x6*(parseInt(_0x5f29cb(0x1fc))/0x7)+parseInt(_0x5f29cb(0x205))/0x8*(-parseInt(_0x5f29cb(0x1f5))/0x9)+parseInt(_0x5f29cb(0x1fd))/0xa+-parseInt(_0x5f29cb(0x1f7))/0xb*(parseInt(_0x5f29cb(0x1f9))/0xc);if(_0x3aa014===_0x5963b4)break;else _0x543a5b['push'](_0x543a5b['shift']());}catch(_0x1b0839){_0x543a5b['push'](_0x543a5b['shift']());}}}(_0x1b8f,0xbb9ab));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x17b2(_0x43434d,_0x30087a){const _0x1b8f1b=_0x1b8f();return _0x17b2=function(_0x17b27d,_0x34d322){_0x17b27d=_0x17b27d-0x1ee;let _0x432272=_0x1b8f1b[_0x17b27d];return _0x432272;},_0x17b2(_0x43434d,_0x30087a);}buddyListener['onBuddyListChange']=_0x25d05e=>{const _0x25cb4a=_0x17b2,_0x19c9d1={'qxpAE':function(_0x28d79a,_0x38af37){return _0x28d79a(_0x38af37);}};for(const [_0x3051c4,_0x348caa]of buddyChangeTasks){_0x19c9d1['qxpAE'](_0x348caa,_0x25d05e),buddyChangeTasks[_0x25cb4a(0x1f8)](_0x3051c4);}},setTimeout(()=>{const _0x17a999=_0x17b2;napCatCore[_0x17a999(0x203)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x3757d1(0x1f2)](_0x305132=![]){const _0x5e7a03=_0x3757d1,_0x55ec4f={'NXjGr':function(_0x3e934d,_0x93a49f,_0x144231){return _0x3e934d(_0x93a49f,_0x144231);},'DOMfK':_0x5e7a03(0x1f3),'pKUBU':function(_0xee9953,_0x2699d3){return _0xee9953(_0x2699d3);},'cdXPY':function(_0x2b95b8){return _0x2b95b8();}};return new Promise((_0x206f8e,_0x3d0ad9)=>{const _0x55c62f=_0x5e7a03,_0x31fed7={'wsrxw':_0x55c62f(0x1fb),'biKTl':function(_0x13b8de,_0x1600d2){const _0x3dda39=_0x55c62f;return _0x55ec4f[_0x3dda39(0x204)](_0x13b8de,_0x1600d2);}};let _0x50930b=![];_0x55ec4f[_0x55c62f(0x1f1)](setTimeout,()=>{const _0x29e19a=_0x55c62f;!_0x50930b&&(logDebug(_0x31fed7[_0x29e19a(0x1f0)]),_0x31fed7['biKTl'](_0x3d0ad9,'获取好友列表超时'));},0x1388);const _0x48e6f9=[],_0x3ef8a3=_0x6a8c50=>{const _0x2f25c0=_0x55c62f;for(const _0x103d42 of _0x6a8c50){for(const _0x71e37d of _0x103d42['buddyList']){_0x48e6f9['push'](_0x71e37d),uid2UinMap[_0x71e37d[_0x2f25c0(0x1fe)]]=_0x71e37d[_0x2f25c0(0x1fa)];}}_0x50930b=!![],_0x206f8e(_0x48e6f9);};buddyChangeTasks['set'](_0x55ec4f[_0x55c62f(0x20b)](randomUUID),_0x3ef8a3),napCatCore[_0x55c62f(0x209)][_0x55c62f(0x1ef)]()[_0x55c62f(0x20a)](_0x305132)[_0x55c62f(0x1ee)](_0xd52f69=>{const _0x4815f5=_0x55c62f;_0x55ec4f[_0x4815f5(0x1f1)](logDebug,_0x55ec4f['DOMfK'],_0xd52f69);});});}static async[_0x3757d1(0x1f6)](_0x44c874,_0x1011f3){const _0x480210=_0x3757d1;napCatCore[_0x480210(0x209)][_0x480210(0x1ef)]()?.['approvalFriendRequest']({'friendUid':_0x44c874[_0x480210(0x1ff)],'reqTime':_0x44c874[_0x480210(0x202)],'accept':_0x1011f3});}}function _0x1b8f(){const _0x287fa9=['2515681RzhBmA','11916620TZDGtc','uid','friendUid','68GAznyh','6bgSrBX','reqTime','onLoginSuccess','pKUBU','16LLgVDZ','4073mrGVbD','2275770jHpktY','170229pUvcbe','session','getBuddyList','cdXPY','then','getBuddyService','wsrxw','NXjGr','getFriends','开始获取好友列表','428jkhBfD','343377JzsWJk','handleFriendRequest','21241MJZZLX','delete','12972VCGNYp','uin','获取好友列表超时'];_0x1b8f=function(){return _0x287fa9;};return _0x1b8f();} \ No newline at end of file +const _0x1fccd4=_0x2295;(function(_0x6fc93d,_0x391304){const _0x4b8de9=_0x2295,_0x6871a3=_0x6fc93d();while(!![]){try{const _0x4f3cdf=parseInt(_0x4b8de9(0x8e))/0x1+parseInt(_0x4b8de9(0x9f))/0x2+-parseInt(_0x4b8de9(0x97))/0x3*(-parseInt(_0x4b8de9(0x85))/0x4)+-parseInt(_0x4b8de9(0x98))/0x5*(-parseInt(_0x4b8de9(0x84))/0x6)+parseInt(_0x4b8de9(0x96))/0x7+-parseInt(_0x4b8de9(0x9a))/0x8*(parseInt(_0x4b8de9(0x93))/0x9)+-parseInt(_0x4b8de9(0x9e))/0xa;if(_0x4f3cdf===_0x391304)break;else _0x6871a3['push'](_0x6871a3['shift']());}catch(_0x471877){_0x6871a3['push'](_0x6871a3['shift']());}}}(_0x3197,0xcadc8));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x3197(){const _0x563ca6=['8073863SyjBeL','81MrOmlj','45seZuwl','friendUid','8dIGzBR','获取好友列表超时','uid','KCUVq','24493710ffLWIF','2266890JFPMhS','reqTime','push','buddyList','onLoginSuccess','getBuddyList','hrHkO','485574sCUwmB','76024mMYACx','onBuddyListChange','qxyOa','PXiHh','then','getFriends','session','MpweF','HsUxN','937499TEYGoy','dOWBn','handleFriendRequest','getBuddyService','uin','10670265ImvcaF','addListener','fwiwO'];_0x3197=function(){return _0x563ca6;};return _0x3197();}function _0x2295(_0x5cfba9,_0x1c4b25){const _0x31974f=_0x3197();return _0x2295=function(_0x22955f,_0x3a99c4){_0x22955f=_0x22955f-0x84;let _0x1a1063=_0x31974f[_0x22955f];return _0x1a1063;},_0x2295(_0x5cfba9,_0x1c4b25);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x1fccd4(0x86)]=_0x30d16c=>{const _0x1770d8=_0x1fccd4,_0x22df02={'MpweF':function(_0x4f0710,_0x640672){return _0x4f0710(_0x640672);}};for(const [_0xf49065,_0x2b2bd9]of buddyChangeTasks){_0x22df02[_0x1770d8(0x8c)](_0x2b2bd9,_0x30d16c),buddyChangeTasks['delete'](_0xf49065);}},setTimeout(()=>{const _0x301eb0=_0x1fccd4;napCatCore[_0x301eb0(0xa3)](()=>{const _0x42a69e=_0x301eb0;napCatCore[_0x42a69e(0x94)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x1fccd4(0x8a)](_0x165fbf=![]){const _0x286e4b=_0x1fccd4,_0x1dc7fc={'hrHkO':function(_0xcbc06c,_0x3dbce9){return _0xcbc06c(_0x3dbce9);},'dOWBn':_0x286e4b(0x9b),'PXiHh':function(_0xcb2c3b,_0x1d1ca5){return _0xcb2c3b(_0x1d1ca5);},'qxyOa':function(_0x1683dd,_0x8b8df9,_0x4db8b8){return _0x1683dd(_0x8b8df9,_0x4db8b8);},'fwiwO':function(_0x82c800){return _0x82c800();}};return new Promise((_0x2ade1e,_0x567e4d)=>{const _0x201997=_0x286e4b,_0x55a9d8={'HsUxN':function(_0x403ee8,_0x5d9709){const _0x615dfe=_0x2295;return _0x1dc7fc[_0x615dfe(0x88)](_0x403ee8,_0x5d9709);},'KCUVq':'开始获取好友列表'};let _0x1259a4=![];_0x1dc7fc[_0x201997(0x87)](setTimeout,()=>{const _0x283741=_0x201997;!_0x1259a4&&(_0x1dc7fc[_0x283741(0xa5)](logDebug,_0x1dc7fc[_0x283741(0x8f)]),_0x1dc7fc['PXiHh'](_0x567e4d,_0x283741(0x9b)));},0x1388);const _0x2aee8c=[],_0x25db5f=_0x59cd92=>{const _0x10c1c6=_0x201997;for(const _0xa33c96 of _0x59cd92){for(const _0x19cb5e of _0xa33c96[_0x10c1c6(0xa2)]){_0x2aee8c[_0x10c1c6(0xa1)](_0x19cb5e),uid2UinMap[_0x19cb5e[_0x10c1c6(0x9c)]]=_0x19cb5e[_0x10c1c6(0x92)];}}_0x1259a4=!![],_0x55a9d8[_0x10c1c6(0x8d)](_0x2ade1e,_0x2aee8c);};buddyChangeTasks['set'](_0x1dc7fc[_0x201997(0x95)](randomUUID),_0x25db5f),napCatCore[_0x201997(0x8b)]['getBuddyService']()[_0x201997(0xa4)](_0x165fbf)[_0x201997(0x89)](_0x193524=>{const _0x4d2930=_0x201997;logDebug(_0x55a9d8[_0x4d2930(0x9d)],_0x193524);});});}static async[_0x1fccd4(0x90)](_0x403704,_0xda053a){const _0x58ae80=_0x1fccd4;napCatCore['session'][_0x58ae80(0x91)]()?.['approvalFriendRequest']({'friendUid':_0x403704[_0x58ae80(0x99)],'reqTime':_0x403704[_0x58ae80(0xa0)],'accept':_0xda053a});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 9e5fbb12..25e3560c 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x47e5c3=_0x7ef6;(function(_0x72e723,_0x5ea688){const _0x45e9c1=_0x7ef6,_0x5b8626=_0x72e723();while(!![]){try{const _0x531163=parseInt(_0x45e9c1(0x14d))/0x1+parseInt(_0x45e9c1(0x121))/0x2+parseInt(_0x45e9c1(0x12f))/0x3*(parseInt(_0x45e9c1(0x127))/0x4)+parseInt(_0x45e9c1(0x118))/0x5*(parseInt(_0x45e9c1(0x140))/0x6)+-parseInt(_0x45e9c1(0x147))/0x7+-parseInt(_0x45e9c1(0x119))/0x8*(parseInt(_0x45e9c1(0x11a))/0x9)+parseInt(_0x45e9c1(0x113))/0xa*(-parseInt(_0x45e9c1(0x108))/0xb);if(_0x531163===_0x5ea688)break;else _0x5b8626['push'](_0x5b8626['shift']());}catch(_0x16f83c){_0x5b8626['push'](_0x5b8626['shift']());}}}(_0x19c0,0x95009));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x19c0(){const _0x407571=['5022GNDLuo','nLneA','setGroupName','setMemberShutUp','getPSkey','getNextMemberList','infos','3387272hTGlQz','GetGroupFileCount','getGroupService','addListener','WToIk','type','758349ayrIHC','LQsrR','ZiKxo','errMsg','CreatGroupFileFolder','tpzpI','uFjbt','groupCode','qun.qq.com','setMemberRole','DelGroupFile','set','124058kbvaUf','nNPOp','kickMember','sfuJD','onGroupListUpdate','获取群列表超时','cpuCR','neOgu','IXsYZ','createGroupFolder','iTYda','1420eujfjn','group','DAwsP','qeNGV','seq','5905hDPiTw','15176joQKsY','3537SdcyHP','result','then','saycZ','setGroupTitle','handleGroupRequest','getRichMediaService','1993496EXpvhE','getGroupList','forEach','groupMemberList_MainWindow','getGroupNotifies','publishGroupBulletin','82072DNzpDa','getGroupMembers','getGroupIgnoreNotifies','uploadGroupBulletinPic','modifyGroupName','UPRPd','oFuWY','获取群列表完成','102yRdfJJ','获取群成员列表出错,','getSingleScreenNotifies','uin','LQYGn','getGroups','quitGroup','Kwmlm','onLoginSuccess','setGroupShutUp','operateSysNotify','modifyMemberRole','session','createMemberListScene','delete','errCode','batchGetGroupFileCount'];_0x19c0=function(){return _0x407571;};return _0x19c0();}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupSingleScreenNotifies']=(_0x48d51e,_0x1996c4,_0x432150)=>{const _0x2dfa4e=_0x7ef6,_0x330b01={'saycZ':function(_0x47161f,_0x26c2e0,_0x138f11,_0x55aa7a){return _0x47161f(_0x26c2e0,_0x138f11,_0x55aa7a);}};for(const [_0xfc2823,_0x22f9d5]of SingleScreenNotifiesTasks){_0x330b01[_0x2dfa4e(0x11d)](_0x22f9d5,_0x48d51e,_0x1996c4,_0x432150),SingleScreenNotifiesTasks[_0x2dfa4e(0x13d)](_0xfc2823);}},groupListener[_0x47e5c3(0x10c)]=(_0x1c2907,_0x9f93cf)=>{const _0xc5729c=_0x47e5c3,_0x17d214={'LQYGn':function(_0x4bc309,_0x594f27,_0x6cddf8){return _0x4bc309(_0x594f27,_0x6cddf8);}};for(const [_0x5f02e9,_0x43bbad]of groupMemberTasks){_0x17d214[_0xc5729c(0x133)](_0x43bbad,_0x1c2907,_0x9f93cf),groupMemberTasks[_0xc5729c(0x13d)](_0x5f02e9);}},setTimeout(()=>{const _0x5295a4=_0x47e5c3;napCatCore[_0x5295a4(0x137)](()=>{const _0x4b6900=_0x5295a4;napCatCore[_0x4b6900(0x14a)](groupListener);});},0x64);function _0x7ef6(_0x3f0a2d,_0x3b0f21){const _0x19c095=_0x19c0();return _0x7ef6=function(_0x7ef611,_0x475df8){_0x7ef611=_0x7ef611-0x105;let _0x1538f6=_0x19c095[_0x7ef611];return _0x1538f6;},_0x7ef6(_0x3f0a2d,_0x3b0f21);}export class NTQQGroupApi{static async[_0x47e5c3(0x134)](_0x349299=![]){const _0x338271=_0x47e5c3,_0x33f736={'UPRPd':function(_0xb791f3,_0x55b43a){return _0xb791f3(_0x55b43a);},'WToIk':_0x338271(0x10d),'sfuJD':function(_0x538b4e,_0x5ecae8,_0x120743){return _0x538b4e(_0x5ecae8,_0x120743);},'IXsYZ':function(_0x40953f,_0x2532ab,_0x1c117d){return _0x40953f(_0x2532ab,_0x1c117d);},'iTYda':function(_0x42139d){return _0x42139d();}};let _0x1734e5=![];return new Promise((_0x59ca24,_0x1812ac)=>{const _0x2afb88=_0x338271,_0x2c1986={'LQsrR':function(_0x5e8e0c,_0x33d593,_0xe4a6c3){const _0x5a79dc=_0x7ef6;return _0x33f736[_0x5a79dc(0x10b)](_0x5e8e0c,_0x33d593,_0xe4a6c3);}};_0x33f736[_0x2afb88(0x110)](setTimeout,()=>{const _0x8ac336=_0x2afb88;!_0x1734e5&&(_0x33f736[_0x8ac336(0x12c)](logDebug,_0x8ac336(0x10d)),_0x1812ac(_0x33f736[_0x8ac336(0x14b)]));},0x1388);const _0x40750b=(_0x3b5434,_0x36d121)=>{const _0x234f0d=_0x2afb88;_0x1734e5=!![],_0x2c1986[_0x234f0d(0x14e)](logDebug,_0x234f0d(0x12e),_0x36d121),_0x59ca24(_0x36d121);};groupMemberTasks[_0x2afb88(0x107)](_0x33f736[_0x2afb88(0x112)](randomUUID),_0x40750b),napCatCore[_0x2afb88(0x13b)][_0x2afb88(0x149)]()[_0x2afb88(0x122)](_0x349299)[_0x2afb88(0x11c)]();});}static async[_0x47e5c3(0x151)](_0x289ac4,_0x34f79f){const _0x543b2c=_0x47e5c3;return napCatCore[_0x543b2c(0x13b)][_0x543b2c(0x120)]()[_0x543b2c(0x111)](_0x289ac4,_0x34f79f);}static async[_0x47e5c3(0x106)](_0x3a503b,_0xa8e212){const _0x18f9f0=_0x47e5c3;return napCatCore[_0x18f9f0(0x13b)]['getRichMediaService']()['deleteGroupFile'](_0x3a503b,[0x66],_0xa8e212);}static async['DelGroupFileFolder'](_0x1da29b,_0x59ab28){const _0x4c753b=_0x47e5c3;return napCatCore[_0x4c753b(0x13b)][_0x4c753b(0x120)]()['deleteGroupFolder'](_0x1da29b,_0x59ab28);}static async['getSingleScreenNotifies'](_0x28ff50){const _0xcba294={'neOgu':'获取群系统消息列表超时','oFuWY':function(_0x114ff6,_0x17ebf4,_0x2d5d13){return _0x114ff6(_0x17ebf4,_0x2d5d13);},'Kwmlm':function(_0x9cbf14){return _0x9cbf14();}},_0x28afe5=napCatCore['session']['getGroupService']();return new Promise((_0x5b5864,_0x1c2752)=>{const _0x2b579c=_0x7ef6,_0x13f6d8={'DAwsP':function(_0x3e8bdf,_0x1f0231){return _0x3e8bdf(_0x1f0231);},'tpzpI':_0xcba294[_0x2b579c(0x10f)]};let _0x151557=![];_0xcba294[_0x2b579c(0x12d)](setTimeout,()=>{const _0x192b6=_0x2b579c;!_0x151557&&_0x13f6d8[_0x192b6(0x115)](_0x1c2752,_0x13f6d8[_0x192b6(0x152)]);},0x1388);const _0x432a32=(_0x51d910,_0x266450,_0x4dcf6f)=>{const _0x34d625=_0x2b579c;_0x151557=!![],_0x13f6d8[_0x34d625(0x115)](_0x5b5864,_0x4dcf6f);};SingleScreenNotifiesTasks['set'](_0xcba294[_0x2b579c(0x136)](randomUUID),_0x432a32),_0x28afe5[_0x2b579c(0x131)](![],'',_0x28ff50);});}static async[_0x47e5c3(0x128)](_0x2fbc67,_0x5ecf04=0xbb8){const _0x5aba8a=_0x47e5c3,_0x153328={'qeNGV':_0x5aba8a(0x124),'nLneA':function(_0x2d51c3,_0x64615){return _0x2d51c3!==_0x64615;}},_0x26e3a5=napCatCore[_0x5aba8a(0x13b)][_0x5aba8a(0x149)](),_0x2fa0b3=_0x26e3a5[_0x5aba8a(0x13c)](_0x2fbc67,_0x153328[_0x5aba8a(0x116)]),_0x1ec94c=await _0x26e3a5[_0x5aba8a(0x145)](_0x2fa0b3,undefined,_0x5ecf04);if(_0x153328[_0x5aba8a(0x141)](_0x1ec94c[_0x5aba8a(0x13e)],0x0))throw _0x5aba8a(0x130)+_0x1ec94c[_0x5aba8a(0x150)];return _0x1ec94c['result'][_0x5aba8a(0x146)][_0x5aba8a(0x123)](_0x3e5c64=>{const _0x1bc962=_0x5aba8a;uid2UinMap[_0x3e5c64['uid']]=_0x3e5c64[_0x1bc962(0x132)];}),_0x1ec94c[_0x5aba8a(0x11b)]['infos'];}static async[_0x47e5c3(0x125)](){}static async[_0x47e5c3(0x148)](_0x49b900){const _0x37a8f5=_0x47e5c3;return napCatCore[_0x37a8f5(0x13b)][_0x37a8f5(0x120)]()[_0x37a8f5(0x13f)](_0x49b900);}static async[_0x47e5c3(0x129)](){}static async[_0x47e5c3(0x12a)](_0x3ab057,_0x26f675){const _0x54afd0=_0x47e5c3,_0x1c7a3b={'nNPOp':_0x54afd0(0x155)},_0x2c325c=(await NTQQUserApi[_0x54afd0(0x144)]([_0x1c7a3b[_0x54afd0(0x109)]]))[_0x54afd0(0x155)];return napCatCore[_0x54afd0(0x13b)][_0x54afd0(0x149)]()[_0x54afd0(0x12a)](_0x3ab057,_0x2c325c,_0x26f675);}static async[_0x47e5c3(0x11f)](_0x30173e,_0x230442,_0x5482b1){const _0x572f4a=_0x47e5c3,_0x1f5012={'uFjbt':function(_0x5a2ad9,_0x4c27d3){return _0x5a2ad9||_0x4c27d3;}};return napCatCore['session']['getGroupService']()[_0x572f4a(0x139)](![],{'operateType':_0x230442,'targetMsg':{'seq':_0x30173e[_0x572f4a(0x117)],'type':_0x30173e[_0x572f4a(0x14c)],'groupCode':_0x30173e[_0x572f4a(0x114)][_0x572f4a(0x154)],'postscript':_0x1f5012[_0x572f4a(0x153)](_0x5482b1,'')}});}static async[_0x47e5c3(0x135)](_0x479c25){const _0x582d16=_0x47e5c3;return napCatCore['session']['getGroupService']()[_0x582d16(0x135)](_0x479c25);}static async[_0x47e5c3(0x10a)](_0x2997ab,_0x34d202,_0x230baf=![],_0x1b2e11=''){const _0x37d9a0=_0x47e5c3;return napCatCore['session'][_0x37d9a0(0x149)]()[_0x37d9a0(0x10a)](_0x2997ab,_0x34d202,_0x230baf,_0x1b2e11);}static async['banMember'](_0x14313a,_0x19347f){const _0x256482=_0x47e5c3;return napCatCore[_0x256482(0x13b)]['getGroupService']()[_0x256482(0x143)](_0x14313a,_0x19347f);}static async['banGroup'](_0xb58510,_0xe1f053){const _0x1b797a=_0x47e5c3;return napCatCore[_0x1b797a(0x13b)]['getGroupService']()[_0x1b797a(0x138)](_0xb58510,_0xe1f053);}static async['setMemberCard'](_0x255b7d,_0x28cc84,_0x2d152e){const _0x3619ec=_0x47e5c3;return napCatCore[_0x3619ec(0x13b)]['getGroupService']()['modifyMemberCardName'](_0x255b7d,_0x28cc84,_0x2d152e);}static async[_0x47e5c3(0x105)](_0x3fd7e8,_0x489f02,_0x3768bf){const _0x4e7c7d=_0x47e5c3;return napCatCore['session'][_0x4e7c7d(0x149)]()[_0x4e7c7d(0x13a)](_0x3fd7e8,_0x489f02,_0x3768bf);}static async[_0x47e5c3(0x142)](_0x5643e1,_0x2aa365){const _0x1b8faa=_0x47e5c3;return napCatCore['session'][_0x1b8faa(0x149)]()[_0x1b8faa(0x12b)](_0x5643e1,_0x2aa365,![]);}static async[_0x47e5c3(0x11e)](_0x4b13b6,_0x5722d4,_0xa52bb7){}static async[_0x47e5c3(0x126)](_0x175bb8,_0x18e694,_0x4e7c1d=undefined,_0x47ab5b=0x0,_0xed2f3c=0x0){const _0x39762a=_0x47e5c3,_0x5b01df={'ZiKxo':'qun.qq.com','cpuCR':function(_0x1aafe1,_0x1b68e4){return _0x1aafe1(_0x1b68e4);}},_0x3d379e=(await NTQQUserApi[_0x39762a(0x144)]([_0x5b01df[_0x39762a(0x14f)]]))[_0x5b01df[_0x39762a(0x14f)]];let _0x5c4abe={'text':_0x5b01df[_0x39762a(0x10e)](encodeURI,_0x18e694),'picInfo':_0x4e7c1d,'oldFeedsId':'','pinned':_0x47ab5b,'confirmRequired':_0xed2f3c};return napCatCore[_0x39762a(0x13b)][_0x39762a(0x149)]()['publishGroupBulletin'](_0x175bb8,_0x3d379e,_0x5c4abe);}} \ No newline at end of file +function _0x281b(_0x54eba0,_0xe9fb11){const _0x3ad4eb=_0x3ad4();return _0x281b=function(_0x281b07,_0x231e95){_0x281b07=_0x281b07-0x18f;let _0x29ab74=_0x3ad4eb[_0x281b07];return _0x29ab74;},_0x281b(_0x54eba0,_0xe9fb11);}const _0x1a2d0d=_0x281b;(function(_0x1ba496,_0x363a25){const _0x3fbcc6=_0x281b,_0xccccc=_0x1ba496();while(!![]){try{const _0x45b9cb=-parseInt(_0x3fbcc6(0x197))/0x1*(parseInt(_0x3fbcc6(0x1cc))/0x2)+-parseInt(_0x3fbcc6(0x1aa))/0x3*(parseInt(_0x3fbcc6(0x1a2))/0x4)+-parseInt(_0x3fbcc6(0x1c7))/0x5*(-parseInt(_0x3fbcc6(0x1b5))/0x6)+-parseInt(_0x3fbcc6(0x1ae))/0x7+-parseInt(_0x3fbcc6(0x1ab))/0x8*(-parseInt(_0x3fbcc6(0x196))/0x9)+-parseInt(_0x3fbcc6(0x1a5))/0xa+-parseInt(_0x3fbcc6(0x1b2))/0xb*(-parseInt(_0x3fbcc6(0x1d0))/0xc);if(_0x45b9cb===_0x363a25)break;else _0xccccc['push'](_0xccccc['shift']());}catch(_0xc5c703){_0xccccc['push'](_0xccccc['shift']());}}}(_0x3ad4,0xbd294));function _0x3ad4(){const _0x306adc=['kickMember','获取群列表超时','modifyMemberRole','981252mNCQel','getPSkey','errMsg','groupMemberList_MainWindow','CreatGroupFileFolder','session','DelGroupFileFolder','JxYpm','createGroupFolder','modifyMemberCardName','getGroupMembers','infos','getNextMemberList','6198057BFrQjP','127ukRNZu','deleteGroupFile','getGroupIgnoreNotifies','zlmNX','uploadGroupBulletinPic','qdhky','errCode','setMemberCard','set','onGroupSingleScreenNotifies','group','6788HEmqoC','getGroupNotifies','getSingleScreenNotifies','1736650AgBixR','uin','setMemberShutUp','onLoginSuccess','handleGroupRequest','1779tCyPIN','16ivvIAw','YBbyZ','获取群成员列表出错,','6901216bnuMlF','addListener','gVnMq','batchGetGroupFileCount','297jUqnJZ','zMVBE','getGroupService','6SfslHe','getGroupList','groupCode','seq','setGroupName','deleteGroupFolder','getGroups','modifyGroupName','quitGroup','vIhBT','rJfyZ','forEach','banMember','jZWwB','gJHjN','dZfnD','qun.qq.com','delete','2578935LiyyCM','xeDPD','publishGroupBulletin','operateSysNotify','ApzQp','18272AYNouI'];_0x3ad4=function(){return _0x306adc;};return _0x3ad4();}import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x1a2d0d(0x1a0)]=(_0x51e2ab,_0x1a7ee7,_0x3b9b07)=>{const _0x468b36=_0x1a2d0d,_0x1ab73d={'jZWwB':function(_0x31998a,_0x56b7a5,_0x132deb,_0x2155a1){return _0x31998a(_0x56b7a5,_0x132deb,_0x2155a1);}};for(const [_0x49f367,_0x574fe9]of SingleScreenNotifiesTasks){_0x1ab73d[_0x468b36(0x1c2)](_0x574fe9,_0x51e2ab,_0x1a7ee7,_0x3b9b07),SingleScreenNotifiesTasks[_0x468b36(0x1c6)](_0x49f367);}},groupListener['onGroupListUpdate']=(_0x27d714,_0x31a5c5)=>{const _0x1bd372=_0x1a2d0d,_0x119363={'MNcqX':function(_0x168dd1,_0x18f05d,_0x4460e9){return _0x168dd1(_0x18f05d,_0x4460e9);}};for(const [_0x585f16,_0x41334e]of groupMemberTasks){_0x119363['MNcqX'](_0x41334e,_0x27d714,_0x31a5c5),groupMemberTasks[_0x1bd372(0x1c6)](_0x585f16);}},setTimeout(()=>{const _0x4de849=_0x1a2d0d;napCatCore[_0x4de849(0x1a8)](()=>{const _0x5a891a=_0x4de849;napCatCore[_0x5a891a(0x1af)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x1a2d0d(0x1bb)](_0x1fb2b4=![]){const _0x5853fa={'ekchC':function(_0x29e843,_0x524729){return _0x29e843(_0x524729);},'zlmNX':function(_0x5393aa,_0x1c5670,_0x39c721){return _0x5393aa(_0x1c5670,_0x39c721);},'ElUdI':'获取群列表完成'};let _0x4041ee=![];return new Promise((_0x4e0a9a,_0x543c62)=>{const _0x5b65b4=_0x281b,_0x112e2c={'tIKls':function(_0x2cb0ca,_0x37accd){return _0x5853fa['ekchC'](_0x2cb0ca,_0x37accd);},'YBbyZ':function(_0x453115,_0x1b2c61,_0x231a4c){const _0x4e0ef2=_0x281b;return _0x5853fa[_0x4e0ef2(0x19a)](_0x453115,_0x1b2c61,_0x231a4c);},'qdhky':_0x5853fa['ElUdI'],'ApzQp':function(_0x4db0b5,_0x528375){return _0x5853fa['ekchC'](_0x4db0b5,_0x528375);}};_0x5853fa[_0x5b65b4(0x19a)](setTimeout,()=>{const _0x4dcdae=_0x5b65b4;!_0x4041ee&&(_0x112e2c['tIKls'](logDebug,_0x4dcdae(0x1ce)),_0x543c62(_0x4dcdae(0x1ce)));},0x1388);const _0x401043=(_0x3ee1dc,_0x4e2877)=>{const _0x73af69=_0x5b65b4;_0x4041ee=!![],_0x112e2c[_0x73af69(0x1ac)](logDebug,_0x112e2c[_0x73af69(0x19c)],_0x4e2877),_0x112e2c[_0x73af69(0x1cb)](_0x4e0a9a,_0x4e2877);};groupMemberTasks[_0x5b65b4(0x19f)](randomUUID(),_0x401043),napCatCore[_0x5b65b4(0x1d5)][_0x5b65b4(0x1b4)]()[_0x5b65b4(0x1b6)](_0x1fb2b4)['then']();});}static async[_0x1a2d0d(0x1d4)](_0x17ad1f,_0x95d044){const _0x46b0ed=_0x1a2d0d;return napCatCore[_0x46b0ed(0x1d5)]['getRichMediaService']()[_0x46b0ed(0x191)](_0x17ad1f,_0x95d044);}static async['DelGroupFile'](_0x395764,_0x233137){const _0x5bb4f9=_0x1a2d0d;return napCatCore[_0x5bb4f9(0x1d5)]['getRichMediaService']()[_0x5bb4f9(0x198)](_0x395764,[0x66],_0x233137);}static async[_0x1a2d0d(0x18f)](_0x5ac7ab,_0x1484bb){const _0x5958d3=_0x1a2d0d;return napCatCore[_0x5958d3(0x1d5)]['getRichMediaService']()[_0x5958d3(0x1ba)](_0x5ac7ab,_0x1484bb);}static async[_0x1a2d0d(0x1a4)](_0x5d84a5){const _0x4a5b1a=_0x1a2d0d,_0x494680={'gVnMq':function(_0x402770,_0x47e8d4,_0x26e7b6){return _0x402770(_0x47e8d4,_0x26e7b6);}},_0x470090=napCatCore[_0x4a5b1a(0x1d5)][_0x4a5b1a(0x1b4)]();return new Promise((_0x43fde3,_0x492ac4)=>{const _0x1ece85=_0x4a5b1a,_0x165bd8={'rJfyZ':'获取群系统消息列表超时','AtnYZ':function(_0x123136,_0x29fa7d){return _0x123136(_0x29fa7d);}};let _0x53733b=![];_0x494680[_0x1ece85(0x1b0)](setTimeout,()=>{const _0x4de598=_0x1ece85;!_0x53733b&&_0x492ac4(_0x165bd8[_0x4de598(0x1bf)]);},0x1388);const _0x30ef3b=(_0x2c9af7,_0x3f757a,_0x4c3eb4)=>{_0x53733b=!![],_0x165bd8['AtnYZ'](_0x43fde3,_0x4c3eb4);};SingleScreenNotifiesTasks[_0x1ece85(0x19f)](randomUUID(),_0x30ef3b),_0x470090[_0x1ece85(0x1a4)](![],'',_0x5d84a5);});}static async[_0x1a2d0d(0x193)](_0x37c5c5,_0x1e1e7b=0xbb8){const _0x22ffa0=_0x1a2d0d,_0x34244a={'xeDPD':function(_0x6b1f7,_0x5ce8d3){return _0x6b1f7!==_0x5ce8d3;},'zMVBE':function(_0x526a5b,_0x188c27){return _0x526a5b+_0x188c27;},'vIhBT':_0x22ffa0(0x1ad)},_0x33c818=napCatCore[_0x22ffa0(0x1d5)][_0x22ffa0(0x1b4)](),_0x401d8c=_0x33c818['createMemberListScene'](_0x37c5c5,_0x22ffa0(0x1d3)),_0xac8efc=await _0x33c818[_0x22ffa0(0x195)](_0x401d8c,undefined,_0x1e1e7b);if(_0x34244a[_0x22ffa0(0x1c8)](_0xac8efc[_0x22ffa0(0x19d)],0x0))throw _0x34244a[_0x22ffa0(0x1b3)](_0x34244a[_0x22ffa0(0x1be)],_0xac8efc[_0x22ffa0(0x1d2)]);return _0xac8efc['result']['infos'][_0x22ffa0(0x1c0)](_0x5d1e07=>{const _0x3222eb=_0x22ffa0;uid2UinMap[_0x5d1e07['uid']]=_0x5d1e07[_0x3222eb(0x1a6)];}),_0xac8efc['result'][_0x22ffa0(0x194)];}static async[_0x1a2d0d(0x1a3)](){}static async['GetGroupFileCount'](_0x3843fb){const _0x578224=_0x1a2d0d;return napCatCore[_0x578224(0x1d5)]['getRichMediaService']()[_0x578224(0x1b1)](_0x3843fb);}static async[_0x1a2d0d(0x199)](){}static async[_0x1a2d0d(0x19b)](_0x41d6ca,_0x5eefb0){const _0x1d8b0b=_0x1a2d0d,_0x4ede6d={'JxYpm':_0x1d8b0b(0x1c5)},_0x122edc=(await NTQQUserApi[_0x1d8b0b(0x1d1)](['qun.qq.com']))[_0x4ede6d[_0x1d8b0b(0x190)]];return napCatCore[_0x1d8b0b(0x1d5)][_0x1d8b0b(0x1b4)]()[_0x1d8b0b(0x19b)](_0x41d6ca,_0x122edc,_0x5eefb0);}static async[_0x1a2d0d(0x1a9)](_0x14ddd8,_0x3e34cd,_0x38cec0){const _0x284a1f=_0x1a2d0d,_0x43a60d={'EPKYE':function(_0x3d079c,_0x42f59e){return _0x3d079c||_0x42f59e;}};return napCatCore['session'][_0x284a1f(0x1b4)]()[_0x284a1f(0x1ca)](![],{'operateType':_0x3e34cd,'targetMsg':{'seq':_0x14ddd8[_0x284a1f(0x1b8)],'type':_0x14ddd8['type'],'groupCode':_0x14ddd8[_0x284a1f(0x1a1)][_0x284a1f(0x1b7)],'postscript':_0x43a60d['EPKYE'](_0x38cec0,'')}});}static async[_0x1a2d0d(0x1bd)](_0x4ae14f){const _0x1f2732=_0x1a2d0d;return napCatCore['session']['getGroupService']()[_0x1f2732(0x1bd)](_0x4ae14f);}static async[_0x1a2d0d(0x1cd)](_0x172a73,_0x512ec9,_0xac8728=![],_0x2ca1f4=''){const _0x3c3913=_0x1a2d0d;return napCatCore[_0x3c3913(0x1d5)]['getGroupService']()[_0x3c3913(0x1cd)](_0x172a73,_0x512ec9,_0xac8728,_0x2ca1f4);}static async[_0x1a2d0d(0x1c1)](_0x30d488,_0x3e16b2){const _0x5e8f7b=_0x1a2d0d;return napCatCore[_0x5e8f7b(0x1d5)][_0x5e8f7b(0x1b4)]()[_0x5e8f7b(0x1a7)](_0x30d488,_0x3e16b2);}static async['banGroup'](_0x56049d,_0x5328f8){const _0x451bde=_0x1a2d0d;return napCatCore[_0x451bde(0x1d5)]['getGroupService']()['setGroupShutUp'](_0x56049d,_0x5328f8);}static async[_0x1a2d0d(0x19e)](_0x15c6ef,_0x376535,_0x3605e6){const _0x598b6b=_0x1a2d0d;return napCatCore['session']['getGroupService']()[_0x598b6b(0x192)](_0x15c6ef,_0x376535,_0x3605e6);}static async['setMemberRole'](_0xe20d65,_0x5ed437,_0x3e35fd){const _0x191490=_0x1a2d0d;return napCatCore[_0x191490(0x1d5)][_0x191490(0x1b4)]()[_0x191490(0x1cf)](_0xe20d65,_0x5ed437,_0x3e35fd);}static async[_0x1a2d0d(0x1b9)](_0x38d62d,_0x4c8719){const _0x70811e=_0x1a2d0d;return napCatCore[_0x70811e(0x1d5)][_0x70811e(0x1b4)]()[_0x70811e(0x1bc)](_0x38d62d,_0x4c8719,![]);}static async['setGroupTitle'](_0xa40a56,_0x27f581,_0x42dca7){}static async[_0x1a2d0d(0x1c9)](_0x2e0121,_0x2045aa,_0x1eb159=undefined,_0x3598bf=0x0,_0x57ea23=0x0){const _0x92d8c9=_0x1a2d0d,_0x31d3d0={'gJHjN':_0x92d8c9(0x1c5),'dZfnD':function(_0x396f99,_0x3254ec){return _0x396f99(_0x3254ec);}},_0x1c5f96=(await NTQQUserApi[_0x92d8c9(0x1d1)]([_0x31d3d0['gJHjN']]))[_0x31d3d0[_0x92d8c9(0x1c3)]];let _0x8069f8={'text':_0x31d3d0[_0x92d8c9(0x1c4)](encodeURI,_0x2045aa),'picInfo':_0x1eb159,'oldFeedsId':'','pinned':_0x3598bf,'confirmRequired':_0x57ea23};return napCatCore['session'][_0x92d8c9(0x1b4)]()[_0x92d8c9(0x1c9)](_0x2e0121,_0x1c5f96,_0x8069f8);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index a5c935d6..9fb246c8 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2b9964,_0x4eba63){var _0x4caa76=_0x2542,_0x3940bf=_0x2b9964();while(!![]){try{var _0x1f0dca=-parseInt(_0x4caa76(0x121))/0x1+parseInt(_0x4caa76(0x124))/0x2*(parseInt(_0x4caa76(0x125))/0x3)+-parseInt(_0x4caa76(0x122))/0x4*(parseInt(_0x4caa76(0x11f))/0x5)+-parseInt(_0x4caa76(0x11c))/0x6+-parseInt(_0x4caa76(0x120))/0x7+-parseInt(_0x4caa76(0x123))/0x8*(parseInt(_0x4caa76(0x11d))/0x9)+parseInt(_0x4caa76(0x11e))/0xa;if(_0x1f0dca===_0x4eba63)break;else _0x3940bf['push'](_0x3940bf['shift']());}catch(_0x593be0){_0x3940bf['push'](_0x3940bf['shift']());}}}(_0x10d0,0x77b98));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x10d0(){var _0x5c19c9=['2688byUJPe','24fNPKLC','1850920DilIYg','3SoExQj','2440320iyYTIh','2246337HtHaCZ','23950550BvRgcD','2175obSxxW','4141102TAvKfE','790718yJjEha'];_0x10d0=function(){return _0x5c19c9;};return _0x10d0();}export*from'./user';export*from'./webapi';export*from'./sign';function _0x2542(_0x1a1a6b,_0x335d30){var _0x10d077=_0x10d0();return _0x2542=function(_0x25429d,_0x6243a6){_0x25429d=_0x25429d-0x11c;var _0x25d3af=_0x10d077[_0x25429d];return _0x25d3af;},_0x2542(_0x1a1a6b,_0x335d30);}export*from'./system'; \ No newline at end of file +(function(_0x580674,_0x3400d3){var _0x55c318=_0x517b,_0x1f0ab6=_0x580674();while(!![]){try{var _0x1c1177=-parseInt(_0x55c318(0x12c))/0x1+-parseInt(_0x55c318(0x12b))/0x2*(-parseInt(_0x55c318(0x126))/0x3)+parseInt(_0x55c318(0x128))/0x4+-parseInt(_0x55c318(0x125))/0x5+-parseInt(_0x55c318(0x129))/0x6+-parseInt(_0x55c318(0x12a))/0x7+parseInt(_0x55c318(0x127))/0x8;if(_0x1c1177===_0x3400d3)break;else _0x1f0ab6['push'](_0x1f0ab6['shift']());}catch(_0x202f1c){_0x1f0ab6['push'](_0x1f0ab6['shift']());}}}(_0x28df,0x6db6d));function _0x28df(){var _0x1bf5e9=['5127618jFNOxU','668941XfGLsg','823712PvetZQ','257842PzycbI','1525940QjBwOv','3vKlcdA','6091384cYyhMm','3157224NDwXcD'];_0x28df=function(){return _0x1bf5e9;};return _0x28df();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x517b(_0x22f3d4,_0x3df4fc){var _0x28df18=_0x28df();return _0x517b=function(_0x517bd8,_0x110e5b){_0x517bd8=_0x517bd8-0x125;var _0x2c2940=_0x28df18[_0x517bd8];return _0x2c2940;},_0x517b(_0x22f3d4,_0x3df4fc);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 25d3cfdb..4eb75b58 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x5cbf(_0x479eb1,_0x230623){const _0xf9fb1c=_0xf9fb();return _0x5cbf=function(_0x5cbf82,_0x8c450a){_0x5cbf82=_0x5cbf82-0x101;let _0x243436=_0xf9fb1c[_0x5cbf82];return _0x243436;},_0x5cbf(_0x479eb1,_0x230623);}const _0xed01a1=_0x5cbf;(function(_0x58aa53,_0x154c0d){const _0x268b1e=_0x5cbf,_0x1f9c40=_0x58aa53();while(!![]){try{const _0x7872ee=-parseInt(_0x268b1e(0x116))/0x1*(-parseInt(_0x268b1e(0x14b))/0x2)+parseInt(_0x268b1e(0x14f))/0x3*(-parseInt(_0x268b1e(0x147))/0x4)+parseInt(_0x268b1e(0x134))/0x5+parseInt(_0x268b1e(0x105))/0x6*(-parseInt(_0x268b1e(0x12e))/0x7)+parseInt(_0x268b1e(0x10e))/0x8+parseInt(_0x268b1e(0x141))/0x9+-parseInt(_0x268b1e(0x120))/0xa;if(_0x7872ee===_0x154c0d)break;else _0x1f9c40['push'](_0x1f9c40['shift']());}catch(_0x44871a){_0x1f9c40['push'](_0x1f9c40['shift']());}}}(_0xf9fb,0x1915f));import{selfInfo}from'@/core/data';function _0xf9fb(){const _0x44fdfb=['nick','280184dlryPH','catch','dxtzW','setMsgRead','msgId','peerUid','find','recallMsg','37duofnw','rnjZM','addListener','gjuKD','KFSMe','BmPSa','multiForwardMsg','app','getMsgsIncludeSelf','arkElement','951780UyKYcM','onMsgInfoListUpdate','ZBwRB','set','转发消息超时','uJweG','bytesData','UbrCp','setMsgEmojiLikes','getMsgService','map','qpTxN','DRndN','tMRWN','10871VEkDEO','MPLop','onGroupFileInfoUpdate','chatType','QVyVb','getMsgsBySeqAndCount','789305mMJuJw','activateChatAndGetHistory','jtodx','toString','yqWxw','item','getRichMediaService','elements','xECzv','fetchRecentContact','getMsgHistory','aNtcs','nNliq','1136142SxLXEn','com.tencent.multimsg','RWWuy','wQeIP','session','then','1316vshAlm','getMsgsByMsgId','forEach','activateChat','4574OzHukg','getMultiMsg','sendMsg','sendStatus','1551iqRerL','delete','hXtGO','forwardMsg','ioKKv','setEmojiLike','138jAjWaI','onAddSendMsg','ysVKI','onLoginSuccess','multiForwardMsgWithComment','XeuhO','tTvDb','getGroupFileList'];_0xf9fb=function(){return _0x44fdfb;};return _0xf9fb();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xed01a1(0x130)]=_0x47fa6b=>{const _0xfbe6c0=_0xed01a1,_0x58336a={'MPLop':function(_0x371ad1,_0x4a803d){return _0x371ad1(_0x4a803d);}};for(const [_0x2c1218,_0x4a40d2]of GroupFileInfoUpdateTasks){_0x58336a[_0xfbe6c0(0x12f)](_0x4a40d2,_0x47fa6b),GroupFileInfoUpdateTasks[_0xfbe6c0(0x150)](_0x2c1218);}},msgListener[_0xed01a1(0x106)]=_0x3c2f94=>{const _0x10cc58=_0xed01a1,_0x356857={'BmPSa':function(_0x453d9c,_0x30855f){return _0x453d9c(_0x30855f);},'aNtcs':function(_0x11688e,_0x43de08){return _0x11688e instanceof _0x43de08;}};for(const [_0x38d2ea,_0x11aa32]of sentMsgTasks){_0x356857[_0x10cc58(0x11b)](_0x11aa32,_0x3c2f94),sentMsgTasks[_0x10cc58(0x150)](_0x38d2ea);}if(sendMessagePool[_0x3c2f94[_0x10cc58(0x113)]]){const _0x23a12a=sendMessagePool[_0x3c2f94[_0x10cc58(0x113)]]?.(_0x3c2f94);_0x356857[_0x10cc58(0x13f)](_0x23a12a,Promise)&&_0x23a12a[_0x10cc58(0x146)]()[_0x10cc58(0x10f)](logError);}},msgListener[_0xed01a1(0x121)]=_0x1552b3=>{const _0x534f01=_0xed01a1,_0x5e2c42={'xEyQS':function(_0x261cd1,_0xc0c62f){return _0x261cd1(_0xc0c62f);},'zLIoA':function(_0x4768a5,_0x464a1c){return _0x4768a5 instanceof _0x464a1c;}};_0x1552b3[_0x534f01(0x149)](_0x5cd26a=>{const _0x29ac8a=_0x534f01,_0x27ffcc={'tMRWN':function(_0xaa8654,_0x1e0322){return _0x5e2c42['xEyQS'](_0xaa8654,_0x1e0322);},'KFSMe':function(_0x498491,_0x135ceb){return _0x5e2c42['zLIoA'](_0x498491,_0x135ceb);}};new Promise((_0x386a06,_0x3fc9f2)=>{const _0x3359b1=_0x5cbf;for(const _0x281946 in sendSuccessCBMap){const _0x395bae=sendSuccessCBMap[_0x281946],_0x3833a4=_0x27ffcc[_0x3359b1(0x12d)](_0x395bae,_0x5cd26a),_0x43e208=_0x52a774=>{_0x52a774&&delete sendSuccessCBMap[_0x281946];};_0x27ffcc[_0x3359b1(0x11a)](_0x3833a4,Promise)?_0x3833a4[_0x3359b1(0x146)](_0x43e208):_0x43e208(_0x3833a4);}})[_0x29ac8a(0x146)]()[_0x29ac8a(0x10f)](log);});},setTimeout(()=>{const _0x31f950=_0xed01a1;napCatCore[_0x31f950(0x108)](()=>{const _0x4b2aa4=_0x31f950;napCatCore[_0x4b2aa4(0x118)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xed01a1(0x104)](_0x59bc46,_0x3cc9cc,_0x395001,_0x4773a0=!![]){const _0x34826e=_0xed01a1,_0x45682f={'rnjZM':function(_0x20034b,_0x4798a5){return _0x20034b>_0x4798a5;}};return _0x395001=_0x395001[_0x34826e(0x137)](),napCatCore['session'][_0x34826e(0x129)]()[_0x34826e(0x128)](_0x59bc46,_0x3cc9cc,_0x395001,_0x45682f[_0x34826e(0x117)](_0x395001['length'],0x3)?'2':'1',_0x4773a0);}static async[_0xed01a1(0x14c)](_0x493def,_0x57e6d7,_0x3ce4fe){const _0x3276ce=_0xed01a1;return napCatCore[_0x3276ce(0x145)]['getMsgService']()[_0x3276ce(0x14c)](_0x493def,_0x57e6d7,_0x3ce4fe);}static async[_0xed01a1(0x148)](_0x526956,_0x2367d0){const _0x246b36=_0xed01a1;return await napCatCore['session'][_0x246b36(0x129)]()['getMsgsByMsgId'](_0x526956,_0x2367d0);}static async[_0xed01a1(0x133)](_0x7c2c02,_0x1327fa,_0x237830,_0x5c1bbf,_0x3b19b6){const _0xc988c9=_0xed01a1;return await napCatCore[_0xc988c9(0x145)][_0xc988c9(0x129)]()[_0xc988c9(0x133)](_0x7c2c02,_0x1327fa,_0x237830,_0x5c1bbf,_0x3b19b6);}static async[_0xed01a1(0x14a)](_0x15252d){}static async[_0xed01a1(0x135)](_0x56c122){}static async[_0xed01a1(0x111)](_0x442617){const _0x43fbbe=_0xed01a1;return napCatCore[_0x43fbbe(0x145)]['getMsgService']()[_0x43fbbe(0x111)](_0x442617);}static async[_0xed01a1(0x10c)](_0x294976,_0x4ea373){const _0x2405c9={'qpTxN':function(_0x3e91d4,_0x17bff4){return _0x3e91d4(_0x17bff4);},'wQeIP':'获取群文件列表超时','XeuhO':function(_0x55ff40,_0x50cf6e,_0x2db29d){return _0x55ff40(_0x50cf6e,_0x2db29d);},'ioKKv':function(_0x4ad79a){return _0x4ad79a();}};return new Promise(async(_0x36e28d,_0x101af0)=>{const _0x50f2fd=_0x5cbf,_0x47a2a6={'nNliq':_0x2405c9[_0x50f2fd(0x144)]};let _0x2c49b2=![];_0x2405c9[_0x50f2fd(0x10a)](setTimeout,()=>{const _0x12bf55=_0x50f2fd;!_0x2c49b2&&_0x101af0(_0x47a2a6[_0x12bf55(0x140)]);},0x1388);const _0x2e6785=_0x5edf4d=>{const _0x5468d8=_0x50f2fd;_0x2c49b2=!![],_0x2405c9[_0x5468d8(0x12b)](_0x36e28d,_0x5edf4d[_0x5468d8(0x139)]);};GroupFileInfoUpdateTasks[_0x50f2fd(0x123)](_0x2405c9[_0x50f2fd(0x103)](randomUUID),_0x2e6785),await napCatCore[_0x50f2fd(0x145)][_0x50f2fd(0x13a)]()[_0x50f2fd(0x10c)](_0x294976,_0x4ea373);});}static async[_0xed01a1(0x13e)](_0x5fc3c1,_0x5953ce,_0x1089d9){const _0xb96081=_0xed01a1;return napCatCore[_0xb96081(0x145)]['getMsgService']()[_0xb96081(0x11e)](_0x5fc3c1,_0x5953ce,_0x1089d9,!![]);}static async[_0xed01a1(0x13d)](){}static async[_0xed01a1(0x115)](_0x534e94,_0x9a526c){const _0x3750d6=_0xed01a1;await napCatCore['session'][_0x3750d6(0x129)]()[_0x3750d6(0x115)]({'chatType':_0x534e94[_0x3750d6(0x131)],'peerUid':_0x534e94[_0x3750d6(0x113)]},_0x9a526c);}static async[_0xed01a1(0x14d)](_0x5142a0,_0x487ae1,_0x472daa=!![],_0x289331=0x2710){const _0x4211c5=_0xed01a1,_0x5d3676={'ZBwRB':function(_0x6d18bc,_0x3d24a7){return _0x6d18bc>_0x3d24a7;},'tTvDb':'发送超时','UbrCp':function(_0x87c5f8,_0x1f6d6c){return _0x87c5f8(_0x1f6d6c);},'uJweG':function(_0x466a38){return _0x466a38();},'DRndN':function(_0x575b4b,_0x5b1652){return _0x575b4b===_0x5b1652;},'xECzv':function(_0x2de24e,_0x41ca48){return _0x2de24e(_0x41ca48);},'OVoRH':function(_0x5855a7,_0x4aaa45){return _0x5855a7(_0x4aaa45);},'hXtGO':function(_0x42265d){return _0x42265d();},'ysVKI':function(_0x34832a,_0x218e3b,_0x5ef1bf){return _0x34832a(_0x218e3b,_0x5ef1bf);}},_0x587e81=_0x5142a0[_0x4211c5(0x113)];let _0x13efed=0x0;const _0x37dd74=async()=>{const _0x1c65e6=_0x4211c5;if(_0x5d3676[_0x1c65e6(0x122)](_0x13efed,_0x289331))throw _0x5d3676[_0x1c65e6(0x10b)];const _0x14bb29=sendMessagePool[_0x5142a0[_0x1c65e6(0x113)]];if(_0x14bb29)return await _0x5d3676[_0x1c65e6(0x127)](sleep,0x1f4),_0x13efed+=0x1f4,await _0x5d3676[_0x1c65e6(0x125)](_0x37dd74);else return;};return await _0x37dd74(),new Promise((_0x472f12,_0x5286fe)=>{const _0x43b75b=_0x4211c5;let _0x566ba1=![],_0x1bded6=null;const _0x256ece=_0x5d3676[_0x43b75b(0x101)](randomUUID);sendSuccessCBMap[_0x256ece]=_0x499c48=>{const _0x3d36ca=_0x43b75b;if(_0x5d3676[_0x3d36ca(0x12c)](_0x499c48[_0x3d36ca(0x112)],_0x1bded6?.['msgId'])){if(_0x5d3676['DRndN'](_0x499c48[_0x3d36ca(0x14e)],0x2))return delete sendSuccessCBMap[_0x256ece],_0x566ba1=!![],_0x5d3676[_0x3d36ca(0x13c)](_0x472f12,_0x499c48),!![];return![];}return![];},sendMessagePool[_0x587e81]=async _0x2f0b67=>{delete sendMessagePool[_0x587e81],_0x1bded6=_0x2f0b67;},_0x5d3676[_0x43b75b(0x107)](setTimeout,()=>{if(_0x566ba1)return;delete sendMessagePool[_0x587e81],delete sendSuccessCBMap[_0x256ece],_0x5d3676['OVoRH'](_0x5286fe,_0x5d3676['tTvDb']);},_0x289331);const _0x7a710d=napCatCore[_0x43b75b(0x145)]['getMsgService']()[_0x43b75b(0x14d)]('0',_0x5142a0,_0x487ae1,new Map());});}static async[_0xed01a1(0x102)](_0xfa7efe,_0x25703e,_0x436dfe){const _0x45402e=_0xed01a1;return napCatCore['session'][_0x45402e(0x129)]()[_0x45402e(0x102)](_0x436dfe,_0xfa7efe,[_0x25703e],new Map());}static async[_0xed01a1(0x11c)](_0x6fd6fe,_0x12f5d8,_0x13da12){const _0x2305cd=_0xed01a1,_0x2752ea={'FfJnk':_0x2305cd(0x124),'SMFcq':_0x2305cd(0x142),'QVyVb':function(_0x4755c1,_0x36d629){return _0x4755c1==_0x36d629;},'gjuKD':function(_0x8d1e6a){return _0x8d1e6a();},'dxtzW':function(_0x24bd4f,_0x30f7be,_0x412d0f){return _0x24bd4f(_0x30f7be,_0x412d0f);}},_0x41642f=_0x13da12[_0x2305cd(0x12a)](_0x52bd16=>{const _0x93e46a=_0x2305cd;return{'msgId':_0x52bd16,'senderShowName':selfInfo[_0x93e46a(0x10d)]};});return new Promise((_0x1e0cc7,_0x466deb)=>{const _0x149b55=_0x2305cd,_0x120e8e={'yqWxw':function(_0x451c15,_0xc9c39){return _0x451c15!=_0xc9c39;},'jtodx':_0x2752ea['SMFcq'],'RWWuy':function(_0x59ac2f,_0x35c924){const _0x20daf7=_0x5cbf;return _0x2752ea[_0x20daf7(0x132)](_0x59ac2f,_0x35c924);}};let _0xce9c09=![];const _0xd5c8b5=_0x404b11=>{const _0x2b2dac=_0x5cbf,_0x67a52b=_0x404b11[_0x2b2dac(0x13b)][_0x2b2dac(0x114)](_0x518751=>_0x518751[_0x2b2dac(0x11f)]);if(!_0x67a52b)return;const _0x411ffe=JSON['parse'](_0x67a52b[_0x2b2dac(0x11f)][_0x2b2dac(0x126)]);if(_0x120e8e[_0x2b2dac(0x138)](_0x411ffe[_0x2b2dac(0x11d)],_0x120e8e[_0x2b2dac(0x136)]))return;_0x404b11[_0x2b2dac(0x113)]==_0x12f5d8[_0x2b2dac(0x113)]&&_0x120e8e[_0x2b2dac(0x143)](_0x404b11['senderUid'],selfInfo['uid'])&&(_0xce9c09=!![],_0x1e0cc7(_0x404b11));};sentMsgTasks['set'](_0x2752ea[_0x149b55(0x119)](randomUUID),_0xd5c8b5),_0x2752ea[_0x149b55(0x110)](setTimeout,()=>{!_0xce9c09&&_0x466deb(_0x2752ea['FfJnk']);},0x1388),napCatCore[_0x149b55(0x145)][_0x149b55(0x129)]()[_0x149b55(0x109)](_0x41642f,_0x6fd6fe,_0x12f5d8,[],new Map());});}} \ No newline at end of file +function _0x4058(){const _0x134c89=['10960895UMeTwV','getMsgsBySeqAndCount','5471595NwtRlU','hZyDf','21146oXESBm','转发消息超时','setMsgRead','parse','发送超时','chatType','获取群文件列表超时','forwardMsg','992709HGKjei','KiBAy','XEItL','msgId','ANSNT','com.tencent.multimsg','length','multiForwardMsgWithComment','nick','getMultiMsg','IUjFG','ZmXiN','getMsgService','kdaZY','GQbNB','8180442kUSXdC','BexFj','session','okOch','xsjaI','sendMsg','CSvmB','rwMiR','2091eGkGLe','set','map','NjCZk','ZBPfD','forEach','arkElement','onLoginSuccess','addListener','wIIiL','onMsgInfoListUpdate','getMsgsIncludeSelf','6556MFQzsl','activateChat','setMsgEmojiLikes','getMsgsByMsgId','28CVkAPy','setEmojiLike','20fDXDfY','dGYep','lXJvM','xTRAB','getRichMediaService','catch','getMsgHistory','2441048NQhUeo','activateChatAndGetHistory','delete','onAddSendMsg','app','47OBYpZC','recallMsg','elements','uid','senderUid','CpCrk','cNngI','multiForwardMsg','sendStatus','then','KGJzJ','peerUid','toString'];_0x4058=function(){return _0x134c89;};return _0x4058();}const _0x219883=_0x1d68;(function(_0x3d9a6c,_0x4cafc4){const _0x1a1119=_0x1d68,_0x30533b=_0x3d9a6c();while(!![]){try{const _0x1446f2=-parseInt(_0x1a1119(0x11a))/0x1*(parseInt(_0x1a1119(0x12b))/0x2)+-parseInt(_0x1a1119(0xfc))/0x3*(-parseInt(_0x1a1119(0x108))/0x4)+parseInt(_0x1a1119(0x129))/0x5+-parseInt(_0x1a1119(0x142))/0x6+parseInt(_0x1a1119(0x10c))/0x7*(parseInt(_0x1a1119(0x115))/0x8)+parseInt(_0x1a1119(0x133))/0x9*(parseInt(_0x1a1119(0x10e))/0xa)+-parseInt(_0x1a1119(0x127))/0xb;if(_0x1446f2===_0x4cafc4)break;else _0x30533b['push'](_0x30533b['shift']());}catch(_0x62c672){_0x30533b['push'](_0x30533b['shift']());}}}(_0x4058,0xc8735));import{selfInfo}from'@/core/data';function _0x1d68(_0x3dfdf0,_0x577e22){const _0x40584e=_0x4058();return _0x1d68=function(_0x1d6822,_0x2c644c){_0x1d6822=_0x1d6822-0xfb;let _0x5ea80c=_0x40584e[_0x1d6822];return _0x5ea80c;},_0x1d68(_0x3dfdf0,_0x577e22);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x1db44c=>{const _0x423a09=_0x1d68,_0x379dbc={'ZBPfD':function(_0x43597b,_0xb99cd){return _0x43597b(_0xb99cd);}};for(const [_0xb8d27f,_0x30fc1d]of GroupFileInfoUpdateTasks){_0x379dbc[_0x423a09(0x100)](_0x30fc1d,_0x1db44c),GroupFileInfoUpdateTasks[_0x423a09(0x117)](_0xb8d27f);}},msgListener[_0x219883(0x118)]=_0x322fdf=>{const _0x460149=_0x219883,_0x24b627={'cNngI':function(_0x242dc1,_0x4ec3fa){return _0x242dc1(_0x4ec3fa);},'xTRAB':function(_0xf84bc9,_0x5619cc){return _0xf84bc9 instanceof _0x5619cc;}};for(const [_0x3d22b8,_0x58f562]of sentMsgTasks){_0x24b627[_0x460149(0x120)](_0x58f562,_0x322fdf),sentMsgTasks['delete'](_0x3d22b8);}if(sendMessagePool[_0x322fdf[_0x460149(0x125)]]){const _0x20728d=sendMessagePool[_0x322fdf[_0x460149(0x125)]]?.(_0x322fdf);_0x24b627[_0x460149(0x111)](_0x20728d,Promise)&&_0x20728d[_0x460149(0x123)]()['catch'](logError);}},msgListener[_0x219883(0x106)]=_0x22d951=>{const _0x565e13=_0x219883,_0x2cd24d={'okOch':function(_0x828fb4,_0xd2d120){return _0x828fb4 instanceof _0xd2d120;},'rwMiR':function(_0x2900ed,_0xe6a50a){return _0x2900ed(_0xe6a50a);}};_0x22d951[_0x565e13(0x101)](_0x2c1a89=>{const _0xf02909=_0x565e13;new Promise((_0x3c5a65,_0xd59f20)=>{const _0x257a2b=_0x1d68;for(const _0x2f4e7b in sendSuccessCBMap){const _0x5d7f1f=sendSuccessCBMap[_0x2f4e7b],_0x240f70=_0x5d7f1f(_0x2c1a89),_0x314d45=_0x4d8147=>{_0x4d8147&&delete sendSuccessCBMap[_0x2f4e7b];};_0x2cd24d[_0x257a2b(0x145)](_0x240f70,Promise)?_0x240f70[_0x257a2b(0x123)](_0x314d45):_0x2cd24d[_0x257a2b(0xfb)](_0x314d45,_0x240f70);}})[_0xf02909(0x123)]()[_0xf02909(0x113)](log);});},setTimeout(()=>{const _0x2ecbe3=_0x219883;napCatCore[_0x2ecbe3(0x103)](()=>{const _0x3ae62b=_0x2ecbe3;napCatCore[_0x3ae62b(0x104)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x219883(0x10d)](_0xde14de,_0xb58ebb,_0x31bc52,_0x3ceae7=!![]){const _0x3f7ece=_0x219883;return _0x31bc52=_0x31bc52[_0x3f7ece(0x126)](),napCatCore['session'][_0x3f7ece(0x13f)]()[_0x3f7ece(0x10a)](_0xde14de,_0xb58ebb,_0x31bc52,_0x31bc52[_0x3f7ece(0x139)]>0x3?'2':'1',_0x3ceae7);}static async[_0x219883(0x13c)](_0x23f196,_0x50245a,_0x3881b3){const _0x294efe=_0x219883;return napCatCore[_0x294efe(0x144)][_0x294efe(0x13f)]()['getMultiMsg'](_0x23f196,_0x50245a,_0x3881b3);}static async[_0x219883(0x10b)](_0xd02e20,_0x336695){const _0x56d25d=_0x219883;return await napCatCore[_0x56d25d(0x144)][_0x56d25d(0x13f)]()[_0x56d25d(0x10b)](_0xd02e20,_0x336695);}static async[_0x219883(0x128)](_0x1424a1,_0x1460e7,_0xb0186b,_0x16656a,_0x42b1ec){const _0x4f81f6=_0x219883;return await napCatCore[_0x4f81f6(0x144)][_0x4f81f6(0x13f)]()[_0x4f81f6(0x128)](_0x1424a1,_0x1460e7,_0xb0186b,_0x16656a,_0x42b1ec);}static async[_0x219883(0x109)](_0x5582cc){}static async[_0x219883(0x116)](_0x323dd8){}static async[_0x219883(0x12d)](_0x2756f5){const _0x5c3edb=_0x219883;return napCatCore['session'][_0x5c3edb(0x13f)]()[_0x5c3edb(0x12d)](_0x2756f5);}static async['getGroupFileList'](_0x12a150,_0x6561dc){const _0x484d36={'IUjFG':function(_0x388aad,_0x950175){return _0x388aad(_0x950175);},'CpCrk':function(_0x3b6c6f,_0x2d6369,_0x2341a7){return _0x3b6c6f(_0x2d6369,_0x2341a7);},'ANSNT':function(_0x15f70e){return _0x15f70e();}};return new Promise(async(_0x284304,_0x2cb96b)=>{const _0x46aef0=_0x1d68,_0x3f3c97={'KGJzJ':_0x46aef0(0x131)};let _0x61dd63=![];_0x484d36[_0x46aef0(0x11f)](setTimeout,()=>{const _0x33b5fe=_0x46aef0;!_0x61dd63&&_0x2cb96b(_0x3f3c97[_0x33b5fe(0x124)]);},0x1388);const _0x26f712=_0x4cc7d4=>{const _0x183540=_0x46aef0;_0x61dd63=!![],_0x484d36[_0x183540(0x13d)](_0x284304,_0x4cc7d4['item']);};GroupFileInfoUpdateTasks[_0x46aef0(0xfd)](_0x484d36[_0x46aef0(0x137)](randomUUID),_0x26f712),await napCatCore['session'][_0x46aef0(0x112)]()['getGroupFileList'](_0x12a150,_0x6561dc);});}static async[_0x219883(0x114)](_0x451377,_0xd39960,_0x1471dc){const _0x11548f=_0x219883;return napCatCore[_0x11548f(0x144)]['getMsgService']()[_0x11548f(0x107)](_0x451377,_0xd39960,_0x1471dc,!![]);}static async['fetchRecentContact'](){}static async[_0x219883(0x11b)](_0x5d1f6c,_0x2e6c3e){const _0xa85e36=_0x219883;await napCatCore[_0xa85e36(0x144)][_0xa85e36(0x13f)]()[_0xa85e36(0x11b)]({'chatType':_0x5d1f6c[_0xa85e36(0x130)],'peerUid':_0x5d1f6c['peerUid']},_0x2e6c3e);}static async[_0x219883(0x147)](_0x1c3ecf,_0x1bcb70,_0x2ea40c=!![],_0x28e256=0x2710){const _0x1e0139=_0x219883,_0x35d42a={'XEItL':_0x1e0139(0x12f),'mYJMm':function(_0x2e79ff,_0x1128c3){return _0x2e79ff(_0x1128c3);},'ZmXiN':function(_0x414cae){return _0x414cae();},'dGYep':function(_0x3513cc,_0x5973c9){return _0x3513cc===_0x5973c9;},'KiBAy':function(_0x1e5832,_0x3334ac){return _0x1e5832(_0x3334ac);},'lXJvM':function(_0x48e5f0){return _0x48e5f0();}},_0x1ec357=_0x1c3ecf[_0x1e0139(0x125)];let _0xcbb3d0=0x0;const _0x5550d4=async()=>{const _0x30a619=_0x1e0139;if(_0xcbb3d0>_0x28e256)throw _0x35d42a[_0x30a619(0x135)];const _0x4614dd=sendMessagePool[_0x1c3ecf[_0x30a619(0x125)]];if(_0x4614dd)return await _0x35d42a['mYJMm'](sleep,0x1f4),_0xcbb3d0+=0x1f4,await _0x35d42a[_0x30a619(0x13e)](_0x5550d4);else return;};return await _0x35d42a[_0x1e0139(0x110)](_0x5550d4),new Promise((_0xdf01b4,_0x3b6b35)=>{const _0x57a4df=_0x1e0139,_0x4bd77d={'xsjaI':function(_0x4ce1ed,_0x48b6b5){const _0x3b7c3f=_0x1d68;return _0x35d42a[_0x3b7c3f(0x10f)](_0x4ce1ed,_0x48b6b5);},'JCbUz':function(_0x16c02d,_0x34f175){const _0x34fa28=_0x1d68;return _0x35d42a[_0x34fa28(0x134)](_0x16c02d,_0x34f175);},'kdaZY':_0x35d42a['XEItL']};let _0x502604=![],_0x22f520=null;const _0x17ff46=_0x35d42a['lXJvM'](randomUUID);sendSuccessCBMap[_0x17ff46]=_0x31b057=>{const _0x117b36=_0x1d68;if(_0x4bd77d[_0x117b36(0x146)](_0x31b057['msgId'],_0x22f520?.[_0x117b36(0x136)])){if(_0x4bd77d[_0x117b36(0x146)](_0x31b057[_0x117b36(0x122)],0x2))return delete sendSuccessCBMap[_0x17ff46],_0x502604=!![],_0x4bd77d['JCbUz'](_0xdf01b4,_0x31b057),!![];return![];}return![];},sendMessagePool[_0x1ec357]=async _0x36b36f=>{delete sendMessagePool[_0x1ec357],_0x22f520=_0x36b36f;},setTimeout(()=>{const _0x1a19f4=_0x1d68;if(_0x502604)return;delete sendMessagePool[_0x1ec357],delete sendSuccessCBMap[_0x17ff46],_0x4bd77d['JCbUz'](_0x3b6b35,_0x4bd77d[_0x1a19f4(0x140)]);},_0x28e256);const _0x14f710=napCatCore['session'][_0x57a4df(0x13f)]()[_0x57a4df(0x147)]('0',_0x1c3ecf,_0x1bcb70,new Map());});}static async[_0x219883(0x132)](_0x7232a3,_0x3e822a,_0x1ebfe7){const _0x49d4a6=_0x219883;return napCatCore[_0x49d4a6(0x144)]['getMsgService']()[_0x49d4a6(0x132)](_0x1ebfe7,_0x7232a3,[_0x3e822a],new Map());}static async[_0x219883(0x121)](_0x4aa339,_0x3f9b3f,_0x1639b1){const _0xb066c2=_0x219883,_0x415587={'GQbNB':function(_0x4b35a3,_0x2bf182){return _0x4b35a3!=_0x2bf182;},'JykCr':_0xb066c2(0x138),'ORNsd':function(_0x16e862,_0x59e70c){return _0x16e862(_0x59e70c);},'MJjHG':_0xb066c2(0x12c),'gpzui':function(_0x52fc4d){return _0x52fc4d();},'BexFj':function(_0x2b9995,_0x188d78,_0xc1eb75){return _0x2b9995(_0x188d78,_0xc1eb75);}},_0x5636aa=_0x1639b1[_0xb066c2(0xfe)](_0x53c980=>{const _0x47ae02=_0xb066c2;return{'msgId':_0x53c980,'senderShowName':selfInfo[_0x47ae02(0x13b)]};});return new Promise((_0x21b5c0,_0x11ab3c)=>{const _0x235e52=_0xb066c2,_0x12fa49={'CSvmB':function(_0x45e960,_0xa2c184){const _0x4eb0f8=_0x1d68;return _0x415587[_0x4eb0f8(0x141)](_0x45e960,_0xa2c184);},'jXWxL':_0x415587['JykCr'],'wIIiL':function(_0x44f407,_0x4b1286){return _0x44f407==_0x4b1286;},'CWTzU':function(_0x2cf125,_0x34e4c2){return _0x2cf125(_0x34e4c2);},'NjCZk':function(_0x21e4e,_0x55f5d7){return _0x415587['ORNsd'](_0x21e4e,_0x55f5d7);},'hZyDf':_0x415587['MJjHG']};let _0xd9340e=![];const _0x3563ac=_0x194631=>{const _0xdd8c2d=_0x1d68,_0x388354=_0x194631[_0xdd8c2d(0x11c)]['find'](_0x2b59d9=>_0x2b59d9[_0xdd8c2d(0x102)]);if(!_0x388354)return;const _0x51adcf=JSON[_0xdd8c2d(0x12e)](_0x388354[_0xdd8c2d(0x102)]['bytesData']);if(_0x12fa49[_0xdd8c2d(0x148)](_0x51adcf[_0xdd8c2d(0x119)],_0x12fa49['jXWxL']))return;_0x12fa49[_0xdd8c2d(0x105)](_0x194631[_0xdd8c2d(0x125)],_0x3f9b3f[_0xdd8c2d(0x125)])&&_0x194631[_0xdd8c2d(0x11e)]==selfInfo[_0xdd8c2d(0x11d)]&&(_0xd9340e=!![],_0x12fa49['CWTzU'](_0x21b5c0,_0x194631));};sentMsgTasks[_0x235e52(0xfd)](_0x415587['gpzui'](randomUUID),_0x3563ac),_0x415587[_0x235e52(0x143)](setTimeout,()=>{const _0x271f88=_0x235e52;!_0xd9340e&&_0x12fa49[_0x271f88(0xff)](_0x11ab3c,_0x12fa49[_0x271f88(0x12a)]);},0x1388),napCatCore[_0x235e52(0x144)]['getMsgService']()[_0x235e52(0x13a)](_0x5636aa,_0x4aa339,_0x3f9b3f,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 0de09d41..b4ad8c0c 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0xf184e2,_0x353f05){const _0x360916=_0x1217,_0x51f1aa=_0xf184e2();while(!![]){try{const _0x1fa391=-parseInt(_0x360916(0x1ae))/0x1*(parseInt(_0x360916(0x1c7))/0x2)+-parseInt(_0x360916(0x1bd))/0x3+parseInt(_0x360916(0x1b4))/0x4+-parseInt(_0x360916(0x1cd))/0x5+-parseInt(_0x360916(0x1a9))/0x6+parseInt(_0x360916(0x1b5))/0x7+parseInt(_0x360916(0x1c9))/0x8*(parseInt(_0x360916(0x1bc))/0x9);if(_0x1fa391===_0x353f05)break;else _0x51f1aa['push'](_0x51f1aa['shift']());}catch(_0x2fb135){_0x51f1aa['push'](_0x51f1aa['shift']());}}}(_0x519b,0xbd901));function _0x1217(_0x243e37,_0x14eece){const _0x519bce=_0x519b();return _0x1217=function(_0x121770,_0x218f39){_0x121770=_0x121770-0x1a2;let _0x1c676b=_0x519bce[_0x121770];return _0x1c676b;},_0x1217(_0x243e37,_0x14eece);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x519b(){const _0x3acfe0=['https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','p_skey','stringify','Fbwln','HttpGetJson','preview','9ohhiLg','572484WVnrNG','hykEb','signed_ark','Etwnn','replace',';\x20uin=o','cWDOP','tIoVo','tianxuan.imgJumpArk','tag','1082FCzudd',';\x20skey=','4267680nAfGHu','trInk','miniapp','MiniApp\x20JSON\x20消息生成失败','2060540eLrksV',';\x20p_uin=o','\x5c/\x5c/','tagIcon','com.tencent.miniapp.lua','rlerq','p_skey=','skey','2568414VIIckq','getQzoneCookies','IFxkW','jumpUrl','uin','1483bLAqSf','iovEi','data','normal','prompt','GET','3147876iymtOz','9025296wVgeQQ'];_0x519b=function(){return _0x3acfe0;};return _0x519b();}export async function SignMiniApp(_0x2e61d0){const _0x5cdd20=_0x1217,_0x3ec84b={'rlerq':_0x5cdd20(0x1cb),'IFxkW':_0x5cdd20(0x1b1),'Fbwln':'\x5c/\x5c/','qthrA':function(_0x38a6e8,_0x141303){return _0x38a6e8+_0x141303;},'Etwnn':function(_0x5b92aa,_0x213e63){return _0x5b92aa+_0x213e63;},'cWDOP':function(_0x1d0dc9,_0x5a06c0){return _0x1d0dc9+_0x5a06c0;},'trInk':_0x5cdd20(0x1a7),'hykEb':_0x5cdd20(0x1c8),'tIoVo':_0x5cdd20(0x1a2),'iovEi':_0x5cdd20(0x1c2),'PvXyV':function(_0x2d534b,_0x441eed){return _0x2d534b+_0x441eed;}};let _0x275de2={'app':_0x5cdd20(0x1a5),'bizsrc':_0x5cdd20(0x1c5),'view':_0x3ec84b[_0x5cdd20(0x1a6)],'prompt':_0x2e61d0[_0x5cdd20(0x1b2)],'config':{'type':_0x3ec84b[_0x5cdd20(0x1ab)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e61d0['title'],'preview':_0x2e61d0[_0x5cdd20(0x1bb)]['replace'](/\\/g,_0x5cdd20(0x1a3)),'jumpUrl':_0x2e61d0[_0x5cdd20(0x1ac)]['replace'](/\\/g,_0x3ec84b[_0x5cdd20(0x1b9)]),'tag':_0x2e61d0[_0x5cdd20(0x1c6)],'tagIcon':_0x2e61d0[_0x5cdd20(0x1a4)][_0x5cdd20(0x1c1)](/\\/g,_0x3ec84b[_0x5cdd20(0x1b9)]),'source':_0x2e61d0['source'],'sourcelogo':_0x2e61d0['sourcelogo'][_0x5cdd20(0x1c1)](/\\/g,_0x3ec84b['Fbwln'])}}};const _0x590261=await NTQQUserApi['getSkey']();let _0x3697ae=await NTQQUserApi[_0x5cdd20(0x1aa)]();const _0x20bcb8=WebApi['genBkn'](_0x3697ae[_0x5cdd20(0x1b7)]),_0x8c35b5=_0x3ec84b['qthrA'](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b['cWDOP'](_0x3ec84b[_0x5cdd20(0x1c3)](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b[_0x5cdd20(0x1ca)],_0x3697ae[_0x5cdd20(0x1b7)])+_0x3ec84b[_0x5cdd20(0x1be)],_0x3697ae[_0x5cdd20(0x1a8)])+_0x3ec84b[_0x5cdd20(0x1c4)],selfInfo[_0x5cdd20(0x1ad)]),_0x3ec84b[_0x5cdd20(0x1af)]),selfInfo[_0x5cdd20(0x1ad)]);let _0x3bbda1=_0x3ec84b['PvXyV'](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b[_0x5cdd20(0x1c3)](_0x5cdd20(0x1b6),_0x20bcb8),'&ark='),encodeURIComponent(JSON[_0x5cdd20(0x1b8)](_0x275de2))),_0x35a841='';try{let _0x100935=await RequestUtil[_0x5cdd20(0x1ba)](_0x3bbda1,_0x5cdd20(0x1b3),undefined,{'Cookie':_0x8c35b5});_0x35a841=_0x100935[_0x5cdd20(0x1b0)][_0x5cdd20(0x1bf)];}catch(_0x3c6532){logDebug(_0x5cdd20(0x1cc),_0x3c6532);}return _0x35a841;} \ No newline at end of file +(function(_0x1a951b,_0x3590e2){const _0xaf0c86=_0x46f6,_0x3cd099=_0x1a951b();while(!![]){try{const _0x4d7cb7=parseInt(_0xaf0c86(0x1af))/0x1*(parseInt(_0xaf0c86(0x1cc))/0x2)+-parseInt(_0xaf0c86(0x1cd))/0x3*(parseInt(_0xaf0c86(0x1d5))/0x4)+-parseInt(_0xaf0c86(0x1b5))/0x5+parseInt(_0xaf0c86(0x1dd))/0x6*(-parseInt(_0xaf0c86(0x1c9))/0x7)+-parseInt(_0xaf0c86(0x1bc))/0x8+-parseInt(_0xaf0c86(0x1e6))/0x9*(parseInt(_0xaf0c86(0x1ae))/0xa)+-parseInt(_0xaf0c86(0x1df))/0xb*(-parseInt(_0xaf0c86(0x1b6))/0xc);if(_0x4d7cb7===_0x3590e2)break;else _0x3cd099['push'](_0x3cd099['shift']());}catch(_0x34f802){_0x3cd099['push'](_0x3cd099['shift']());}}}(_0x5f4e,0x8fed6));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x5f4e(){const _0x5cbff3=['tianxuan.imgJumpArk','oCMiO','uDPEu','tag','yuJIy','1266oBTMNm','miniapp','53438DdAJrP','SFiqm','prompt','title','hKjqE','getQzoneCookies','Uqnbh','126yQejoH','349400rmLRyx','3unuBIh','p_skey=','KWCwz','source','mTdrT','\x5c/\x5c/','4430075diySic','7092yaFliH','utEws','signed_ark','GET','tagIcon','SpcVq','4285536wXDgbr','genBkn','RaSEa',';\x20skey=','com.tencent.miniapp.lua','vjNgH','kKeQt','preview','&ark=','jumpUrl','normal','stringify','MPaCt','6419AWuOrs','pMCWO','MiniApp\x20JSON\x20消息生成失败','25642KtecGt','9dYOoeU','p_skey','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','emeyS','sourcelogo','skey','287548OdNUhs','uin','GBPqs'];_0x5f4e=function(){return _0x5cbff3;};return _0x5f4e();}function _0x46f6(_0x228639,_0x1df27e){const _0x5f4ed5=_0x5f4e();return _0x46f6=function(_0x46f62f,_0x517b4c){_0x46f62f=_0x46f62f-0x1ae;let _0xab25b2=_0x5f4ed5[_0x46f62f];return _0xab25b2;},_0x46f6(_0x228639,_0x1df27e);}import{WebApi}from'./webapi';export async function SignMiniApp(_0x5b69f9){const _0x1ac2e8=_0x46f6,_0x5e92dc={'hKjqE':_0x1ac2e8(0x1c0),'vjNgH':_0x1ac2e8(0x1d8),'Uqnbh':_0x1ac2e8(0x1de),'yuJIy':_0x1ac2e8(0x1c6),'RaSEa':_0x1ac2e8(0x1b4),'pMCWO':function(_0x42a3a7,_0x558978){return _0x42a3a7+_0x558978;},'MPaCt':function(_0x448f5b,_0x182f91){return _0x448f5b+_0x182f91;},'utEws':function(_0x32b789,_0x3b5f09){return _0x32b789+_0x3b5f09;},'kKeQt':function(_0x4bb47d,_0x42417b){return _0x4bb47d+_0x42417b;},'oCMiO':function(_0x145637,_0x187b3e){return _0x145637+_0x187b3e;},'uDPEu':_0x1ac2e8(0x1bf),'IopmL':';\x20p_uin=o','MhDmW':function(_0x3678f5,_0x2d4827){return _0x3678f5+_0x2d4827;},'mTdrT':_0x1ac2e8(0x1d0),'KWCwz':_0x1ac2e8(0x1c4),'SFiqm':function(_0x543dd9,_0x3e67f2){return _0x543dd9(_0x3e67f2);},'SpcVq':_0x1ac2e8(0x1b9),'GBPqs':function(_0x49fddf,_0x34048e,_0x5699c3){return _0x49fddf(_0x34048e,_0x5699c3);},'emeyS':_0x1ac2e8(0x1cb)};let _0x5b1824={'app':_0x5e92dc[_0x1ac2e8(0x1e3)],'bizsrc':_0x5e92dc[_0x1ac2e8(0x1c1)],'view':_0x5e92dc[_0x1ac2e8(0x1e5)],'prompt':_0x5b69f9[_0x1ac2e8(0x1e1)],'config':{'type':_0x5e92dc[_0x1ac2e8(0x1dc)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5b69f9[_0x1ac2e8(0x1e2)],'preview':_0x5b69f9[_0x1ac2e8(0x1c3)]['replace'](/\\/g,_0x5e92dc[_0x1ac2e8(0x1be)]),'jumpUrl':_0x5b69f9[_0x1ac2e8(0x1c5)]['replace'](/\\/g,_0x5e92dc['RaSEa']),'tag':_0x5b69f9[_0x1ac2e8(0x1db)],'tagIcon':_0x5b69f9[_0x1ac2e8(0x1ba)][_0x1ac2e8(0x1d1)](/\\/g,_0x1ac2e8(0x1b4)),'source':_0x5b69f9[_0x1ac2e8(0x1b2)],'sourcelogo':_0x5b69f9[_0x1ac2e8(0x1d3)][_0x1ac2e8(0x1d1)](/\\/g,_0x5e92dc[_0x1ac2e8(0x1be)])}}};const _0x33bf03=await NTQQUserApi['getSkey']();let _0x2b0e54=await NTQQUserApi[_0x1ac2e8(0x1e4)]();const _0x44e4c7=WebApi[_0x1ac2e8(0x1bd)](_0x2b0e54[_0x1ac2e8(0x1ce)]),_0x3fcd2d=_0x5e92dc[_0x1ac2e8(0x1ca)](_0x5e92dc['pMCWO'](_0x5e92dc[_0x1ac2e8(0x1c8)](_0x5e92dc[_0x1ac2e8(0x1b7)](_0x5e92dc['MPaCt'](_0x5e92dc[_0x1ac2e8(0x1c2)](_0x5e92dc[_0x1ac2e8(0x1d9)](_0x1ac2e8(0x1b0),_0x2b0e54[_0x1ac2e8(0x1ce)]),_0x5e92dc[_0x1ac2e8(0x1da)]),_0x2b0e54[_0x1ac2e8(0x1d4)]),_0x5e92dc['IopmL']),selfInfo[_0x1ac2e8(0x1d6)]),';\x20uin=o'),selfInfo[_0x1ac2e8(0x1d6)]);let _0x4a0960=_0x5e92dc['MhDmW'](_0x5e92dc[_0x1ac2e8(0x1b3)],_0x44e4c7)+_0x5e92dc[_0x1ac2e8(0x1b1)]+_0x5e92dc[_0x1ac2e8(0x1e0)](encodeURIComponent,JSON[_0x1ac2e8(0x1c7)](_0x5b1824)),_0x532d3e='';try{let _0xd1d55a=await RequestUtil[_0x1ac2e8(0x1cf)](_0x4a0960,_0x5e92dc[_0x1ac2e8(0x1bb)],undefined,{'Cookie':_0x3fcd2d});_0x532d3e=_0xd1d55a['data'][_0x1ac2e8(0x1b8)];}catch(_0xe8ca03){_0x5e92dc[_0x1ac2e8(0x1d7)](logDebug,_0x5e92dc[_0x1ac2e8(0x1d2)],_0xe8ca03);}return _0x532d3e;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index d4f4dc37..5072c693 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x58874f=_0x499f;function _0x5bf6(){var _0x338222=['getRichMediaService','hasOtherRunningQQProcess','translateEnWordToZn','7812650SpaTIF','5IdOQKP','197463EOJGfS','getNodeMiscService','292KwunWF','24707826yYbHNa','1bDqocx','9245007XIPlWy','1503434WQmtZG','819GtruOw','wantWinScreenOCR','96fYPIaM','4578870IcAIKN','ORCImage'];_0x5bf6=function(){return _0x338222;};return _0x5bf6();}(function(_0x3c1b48,_0x4d0fc0){var _0x179f54=_0x499f,_0x240c82=_0x3c1b48();while(!![]){try{var _0x2dcffb=parseInt(_0x179f54(0xed))/0x1*(-parseInt(_0x179f54(0xef))/0x2)+-parseInt(_0x179f54(0xf0))/0x3*(-parseInt(_0x179f54(0xeb))/0x4)+-parseInt(_0x179f54(0xe8))/0x5*(parseInt(_0x179f54(0xf3))/0x6)+-parseInt(_0x179f54(0xe9))/0x7*(parseInt(_0x179f54(0xf2))/0x8)+parseInt(_0x179f54(0xee))/0x9+-parseInt(_0x179f54(0xe7))/0xa+parseInt(_0x179f54(0xec))/0xb;if(_0x2dcffb===_0x4d0fc0)break;else _0x240c82['push'](_0x240c82['shift']());}catch(_0x1ce6ea){_0x240c82['push'](_0x240c82['shift']());}}}(_0x5bf6,0xa0cfb));import{napCatCore}from'@/core';function _0x499f(_0x40b4d5,_0x1dd6b5){var _0x5bf6d3=_0x5bf6();return _0x499f=function(_0x499f35,_0x359f9a){_0x499f35=_0x499f35-0xe6;var _0x210e1c=_0x5bf6d3[_0x499f35];return _0x210e1c;},_0x499f(_0x40b4d5,_0x1dd6b5);}export class NTQQSystemApi{static async[_0x58874f(0xf6)](){var _0x2d3916=_0x58874f;return napCatCore['util'][_0x2d3916(0xf6)]();}static async[_0x58874f(0xf4)](_0x20b49c){var _0x20ca46=_0x58874f;return napCatCore['session'][_0x20ca46(0xea)]()[_0x20ca46(0xf1)](_0x20b49c);}static async['translateEnWordToZn'](_0x441891){var _0x815a7e=_0x58874f;return napCatCore['session'][_0x815a7e(0xf5)]()[_0x815a7e(0xe6)](_0x441891);}} \ No newline at end of file +var _0x242860=_0x13c0;function _0x46b7(){var _0x1bffbe=['254935ETVNYM','72hElSoj','2808582PbJetp','getNodeMiscService','1639001ztuMOW','6384WujzuE','72gUcvUg','218716wImySE','translateEnWordToZn','util','4905725ywZhtp','13608qCVtuv','2HwUZNo','6vDyYwr','5902526wnGFcX','10UxfbRz','getRichMediaService','session','wantWinScreenOCR','hasOtherRunningQQProcess'];_0x46b7=function(){return _0x1bffbe;};return _0x46b7();}function _0x13c0(_0x348e22,_0x325f2f){var _0x46b798=_0x46b7();return _0x13c0=function(_0x13c084,_0x48507b){_0x13c084=_0x13c084-0x1e0;var _0x2d9b3b=_0x46b798[_0x13c084];return _0x2d9b3b;},_0x13c0(_0x348e22,_0x325f2f);}(function(_0x5343da,_0x5884f8){var _0x37d0d6=_0x13c0,_0x335427=_0x5343da();while(!![]){try{var _0xe41c09=-parseInt(_0x37d0d6(0x1e5))/0x1*(parseInt(_0x37d0d6(0x1ea))/0x2)+parseInt(_0x37d0d6(0x1e0))/0x3+-parseInt(_0x37d0d6(0x1f3))/0x4*(parseInt(_0x37d0d6(0x1f2))/0x5)+-parseInt(_0x37d0d6(0x1eb))/0x6*(-parseInt(_0x37d0d6(0x1ec))/0x7)+parseInt(_0x37d0d6(0x1e3))/0x8*(parseInt(_0x37d0d6(0x1e9))/0x9)+parseInt(_0x37d0d6(0x1ed))/0xa*(-parseInt(_0x37d0d6(0x1e8))/0xb)+parseInt(_0x37d0d6(0x1e4))/0xc*(-parseInt(_0x37d0d6(0x1e2))/0xd);if(_0xe41c09===_0x5884f8)break;else _0x335427['push'](_0x335427['shift']());}catch(_0x1f8dc2){_0x335427['push'](_0x335427['shift']());}}}(_0x46b7,0x9df9d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x242860(0x1f1)](){var _0xdef835=_0x242860;return napCatCore[_0xdef835(0x1e7)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x483324){var _0x412616=_0x242860;return napCatCore[_0x412616(0x1ef)][_0x412616(0x1e1)]()[_0x412616(0x1f0)](_0x483324);}static async[_0x242860(0x1e6)](_0x518888){var _0xcd1298=_0x242860;return napCatCore[_0xcd1298(0x1ef)][_0xcd1298(0x1ee)]()[_0xcd1298(0x1e6)](_0x518888);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 332108cf..a8eb6ffb 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x940856=_0x2c3d;(function(_0x2d9db9,_0x4516c9){const _0x392d8e=_0x2c3d,_0x5ca67a=_0x2d9db9();while(!![]){try{const _0x20db83=parseInt(_0x392d8e(0xad))/0x1+-parseInt(_0x392d8e(0x92))/0x2*(parseInt(_0x392d8e(0xc5))/0x3)+-parseInt(_0x392d8e(0xae))/0x4*(-parseInt(_0x392d8e(0xca))/0x5)+-parseInt(_0x392d8e(0x97))/0x6+-parseInt(_0x392d8e(0x8e))/0x7*(parseInt(_0x392d8e(0xbb))/0x8)+-parseInt(_0x392d8e(0xbd))/0x9+-parseInt(_0x392d8e(0xc1))/0xa*(-parseInt(_0x392d8e(0x8f))/0xb);if(_0x20db83===_0x4516c9)break;else _0x5ca67a['push'](_0x5ca67a['shift']());}catch(_0x55a36a){_0x5ca67a['push'](_0x5ca67a['shift']());}}}(_0x3eb9,0x83d7e));function _0x3eb9(){const _0x3a9652=['568NVNrvK','getPSkey','6397443hKgjAL','skey','请求获取Cookies时失败','addListener','70LioXNO','lNaVK','setBuddyProfileLike','EqVRO','26241JFDAHK','getProfileService','getPskey','PskeyData','session','25yTSHqp','get','setQQAvatar','PskeyTime','HuyDs','getMsgService','fromEntries','getQzoneCookies','UMDzd','getProfileLikeService','forceFetchClientKey','tagll','kllWG','wxmkh','errMsg','zHXHz','getUserDetailInfo','delete','PRLvH','setHeader','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','DuGUM','getUserInfo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','then','getUserDetailInfo\x20timeout','setSelfOnlineStatus','5152pnoJLg','1688478ojfXPN','XCydT','keyIndex','230rDmGpo','onLoginSuccess','uid','like','domainPskeyMap','16392OZBlUH','pXtfj','uin','ojhHd','RRNDY','push','now','JwXyf','kDVTE','getRobotUinRange','result','YEaUL','response','Lcjjn','setStatus','DyZLj','HttpsGetCookies','getTipOffService','getRobotService','getTicketService','getSelfInfo','Skey','995529OApyXK','193388gQSOVM','获取Pskey失败','clientKey','ClientKey','length','KeyIndex','entries','lHija','haCOT','auFGv','&clientkey=','onProfileDetailInfoChanged','请求获取Skey时失败'];_0x3eb9=function(){return _0x3a9652;};return _0x3eb9();}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x2c3d(_0x49e9a1,_0x561105){const _0x3eb9b9=_0x3eb9();return _0x2c3d=function(_0x2c3d99,_0x58b52d){_0x2c3d99=_0x2c3d99-0x7d;let _0x582137=_0x3eb9b9[_0x2c3d99];return _0x582137;},_0x2c3d(_0x49e9a1,_0x561105);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x940856(0xb9)]=_0x3aa5c1=>{const _0x306061=_0x940856;userInfoCache[_0x3aa5c1[_0x306061(0x94)]]=_0x3aa5c1,userDetailHandlers['forEach'](_0x5317cd=>_0x5317cd(_0x3aa5c1));},setTimeout(()=>{const _0x399707=_0x940856;napCatCore[_0x399707(0x93)](()=>{const _0x505596=_0x399707;napCatCore[_0x505596(0xc0)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x940856(0x8d)](_0x479bd7,_0x556d61,_0x2575b8){const _0x1fd24f=_0x940856;return napCatCore[_0x1fd24f(0xc9)][_0x1fd24f(0xcf)]()[_0x1fd24f(0xa5)]({'status':_0x479bd7,'extStatus':_0x556d61,'batteryStatus':_0x2575b8});}static async[_0x940856(0x95)](_0x522d45,_0x1f7cc8=0x1){const _0x418d3c=_0x940856;return napCatCore['session'][_0x418d3c(0xd3)]()[_0x418d3c(0xc3)]({'friendUid':_0x522d45,'sourceId':0x47,'doLikeCount':_0x1f7cc8,'doLikeTollCount':0x0});}static async[_0x940856(0xcc)](_0x286b37){const _0x4335e1=_0x940856,_0xbf2e7b=napCatCore['session'][_0x4335e1(0xc6)]()[_0x4335e1(0x86)](_0x286b37);return{'result':_0xbf2e7b?.[_0x4335e1(0xa1)],'errMsg':_0xbf2e7b?.[_0x4335e1(0x81)]};}static async[_0x940856(0xab)](){}static async[_0x940856(0x89)](_0xc3e5f0){}static async[_0x940856(0x83)](_0x807e3){const _0x517481=_0x940856,_0x18cd8a={'kllWG':function(_0x202618,_0x1f5bc5){return _0x202618===_0x1f5bc5;},'YhvgF':function(_0x4513ae,_0x6f74a2){return _0x4513ae(_0x6f74a2);},'Lcjjn':function(_0x1c0b2d){return _0x1c0b2d();},'ojhHd':function(_0x520818,_0x53f05d,_0x1000f0){return _0x520818(_0x53f05d,_0x1000f0);}},_0x5db9bf=napCatCore[_0x517481(0xc9)][_0x517481(0xc6)]();return new Promise((_0x3e1e59,_0x251ab0)=>{const _0x50a86c=_0x517481,_0x142c52={'lNaVK':_0x50a86c(0x8c),'wxmkh':function(_0x1a0dcc,_0x26c66c){const _0xae4cc5=_0x50a86c;return _0x18cd8a[_0xae4cc5(0x7f)](_0x1a0dcc,_0x26c66c);},'pXtfj':function(_0x3f7562,_0x368e1b){return _0x18cd8a['YhvgF'](_0x3f7562,_0x368e1b);}},_0x448d2c=_0x18cd8a[_0x50a86c(0xa4)](randomUUID);let _0xc0dcd1=![],_0x2e708d=undefined,_0x564245=!![];_0x18cd8a[_0x50a86c(0x9a)](setTimeout,()=>{const _0x6ed714=_0x50a86c;!_0xc0dcd1&&(_0x2e708d?_0x3e1e59(_0x2e708d):_0x251ab0(_0x142c52[_0x6ed714(0xc2)])),userDetailHandlers[_0x6ed714(0x84)](_0x448d2c);},0x1388),userDetailHandlers['set'](_0x448d2c,_0x12a663=>{const _0x55f237=_0x50a86c;_0x142c52[_0x55f237(0x80)](_0x12a663['uid'],_0x807e3)&&(uid2UinMap[_0x807e3]=_0x12a663['uin'],_0x564245?(_0x2e708d=_0x12a663,_0x564245=![]):(_0xc0dcd1=!![],_0x142c52[_0x55f237(0x98)](_0x3e1e59,_0x12a663)));}),_0x5db9bf['getUserDetailInfoWithBizInfo'](_0x807e3,[0x0])[_0x50a86c(0x8b)](_0x5a54aa=>{});});}static async[_0x940856(0xbc)](_0x2803fd,_0x1ef851=!![]){const _0x4155f1=_0x940856,_0xefa810={'tagll':function(_0x209c33,_0x4d981f){return _0x209c33||_0x4d981f;},'lHija':function(_0x47a055,_0x54f16b){return _0x47a055>_0x54f16b;},'rRbTu':function(_0x993f4f,_0x1cde32){return _0x993f4f-_0x1cde32;},'XCydT':function(_0x1156ed,_0x36cdfb,_0x2b4563){return _0x1156ed(_0x36cdfb,_0x2b4563);},'zHXHz':_0x4155f1(0xaf)},_0x2da5ea=[],_0x484c94={};for(const _0x280bf3 in _0x2803fd){const _0x27eaea=Credentials['PskeyData']['get'](_0x2803fd[_0x280bf3]),_0x2f41df=Credentials['PskeyTime'][_0x4155f1(0xcb)](_0x2803fd[_0x280bf3]);_0xefa810[_0x4155f1(0x7e)](!_0x27eaea,!_0x2f41df)||_0xefa810[_0x4155f1(0xb5)](_0xefa810['rRbTu'](Date[_0x4155f1(0x9d)](),_0x2f41df),0x708*0x3e8)||!_0x1ef851?_0x2da5ea[_0x4155f1(0x9c)](_0x2803fd[_0x280bf3]):_0x484c94[_0x2803fd[_0x280bf3]]=_0x27eaea;}let _0x1b708a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2da5ea[_0x4155f1(0xb2)]>0x0&&(_0x1b708a=await napCatCore[_0x4155f1(0xc9)][_0x4155f1(0xa8)]()[_0x4155f1(0xc7)](_0x2da5ea,!![]));const _0x553178=_0x1b708a[_0x4155f1(0x96)];for(const _0x1044a0 of _0x553178[_0x4155f1(0xb4)]()){Credentials[_0x4155f1(0xc8)]['set'](_0x1044a0[0x0],_0x1044a0[0x1]),Credentials[_0x4155f1(0xcd)]['set'](_0x1044a0[0x0],Date[_0x4155f1(0x9d)]());}const _0x733f8b=Object['assign'](Object[_0x4155f1(0xd0)](_0x553178),_0x484c94);if(_0x1b708a[_0x4155f1(0xa1)]===0x0)return _0x733f8b;else _0xefa810[_0x4155f1(0x90)](logError,_0xefa810[_0x4155f1(0x82)],_0x1b708a['errMsg']);return{};}static async[_0x940856(0xa0)](){const _0x16b4b7=_0x940856,_0x5b20f5=await napCatCore['session'][_0x16b4b7(0xa9)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5b20f5?.[_0x16b4b7(0xa3)]?.['robotUinRanges'];}static async[_0x940856(0xd1)](){const _0x905ee=_0x940856,_0x3e2387={'HuyDs':function(_0x5da185,_0x4572ca){return _0x5da185+_0x4572ca;},'kDVTE':_0x905ee(0xb8),'YEaUL':_0x905ee(0x87),'DuGUM':'%2Finfocenter&keyindex=19%27','fjUCw':function(_0x1f18a3,_0x4d19fe,_0x307bf9){return _0x1f18a3(_0x4d19fe,_0x307bf9);},'UMDzd':_0x905ee(0xbf)},_0x534786=_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387['HuyDs'](_0x905ee(0x8a),selfInfo[_0x905ee(0x99)]),_0x3e2387[_0x905ee(0x9f)]),Credentials[_0x905ee(0xb1)]),_0x3e2387[_0x905ee(0xa2)])+selfInfo[_0x905ee(0x99)],_0x3e2387[_0x905ee(0x88)]);let _0x461d8f={};try{_0x461d8f=await RequestUtil[_0x905ee(0xa7)](_0x534786);}catch(_0x588958){_0x3e2387['fjUCw'](logDebug,_0x3e2387[_0x905ee(0xd2)],_0x588958),_0x461d8f={};}return _0x461d8f;}static async['getSkey'](_0x4fdfc6=!![]){const _0x23a0bd=_0x940856,_0x2d8cf9={'PRLvH':function(_0xe73af1,_0x1fdf0b){return _0xe73af1==_0x1fdf0b;},'RRNDY':function(_0x395e48,_0x11a4c1){return _0x395e48>_0x11a4c1;},'haCOT':function(_0x3f166f,_0xc4d9d8){return _0x3f166f-_0xc4d9d8;},'ytTLv':function(_0x21d4d8,_0x299823){return _0x21d4d8*_0x299823;},'EqVRO':function(_0x4f8983,_0x122b74){return _0x4f8983+_0x122b74;},'ZFDPf':function(_0x19da4d,_0x28e7d1){return _0x19da4d+_0x28e7d1;},'auFGv':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','DyZLj':_0x23a0bd(0xb8),'JwXyf':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','zBXfG':function(_0x130994,_0x120581,_0x145d7b){return _0x130994(_0x120581,_0x145d7b);},'BoHol':_0x23a0bd(0xba),'bmecM':_0x23a0bd(0xbe)};try{if(_0x2d8cf9[_0x23a0bd(0x85)](Credentials['CreatTime'],0x0)||_0x2d8cf9[_0x23a0bd(0x9b)](_0x2d8cf9[_0x23a0bd(0xb6)](Date[_0x23a0bd(0x9d)](),Credentials['CreatTime']),_0x2d8cf9['ytTLv'](0x3e8,0xe10))||!_0x4fdfc6){const _0x26e06c=await napCatCore[_0x23a0bd(0xc9)][_0x23a0bd(0xaa)]()[_0x23a0bd(0x7d)]('');if(_0x26e06c['result']!==0x0)return'';const _0x594293=_0x26e06c[_0x23a0bd(0xb0)],_0x170c0c=_0x26e06c[_0x23a0bd(0x91)],_0xc8c457=_0x2d8cf9[_0x23a0bd(0xc4)](_0x2d8cf9['EqVRO'](_0x2d8cf9['ZFDPf'](_0x2d8cf9['ZFDPf'](_0x2d8cf9[_0x23a0bd(0xb7)],selfInfo['uin']),_0x2d8cf9[_0x23a0bd(0xa6)]),_0x594293),_0x2d8cf9[_0x23a0bd(0x9e)])+_0x170c0c;let _0x351800={};try{_0x351800=await RequestUtil[_0x23a0bd(0xa7)](_0xc8c457);}catch(_0x5bcb19){_0x2d8cf9['zBXfG'](logDebug,_0x2d8cf9['BoHol'],_0x5bcb19),_0x351800={};}const _0x3f033e=_0x351800[_0x2d8cf9['bmecM']];if(!_0x3f033e)return'';return Credentials['ClientKey']=_0x594293,Credentials[_0x23a0bd(0xb3)]=_0x170c0c,Credentials['CreatTime']=Date[_0x23a0bd(0x9d)](),Credentials[_0x23a0bd(0xac)]=_0x3f033e,_0x3f033e;}return Credentials[_0x23a0bd(0xac)];}catch(_0x1d211d){}return undefined;}} \ No newline at end of file +const _0x146597=_0x3e34;(function(_0x36d75c,_0x40f6e5){const _0x311e65=_0x3e34,_0x424b87=_0x36d75c();while(!![]){try{const _0x437d09=parseInt(_0x311e65(0x180))/0x1+parseInt(_0x311e65(0x12b))/0x2*(-parseInt(_0x311e65(0x172))/0x3)+parseInt(_0x311e65(0x144))/0x4*(-parseInt(_0x311e65(0x16f))/0x5)+parseInt(_0x311e65(0x12e))/0x6*(parseInt(_0x311e65(0x14b))/0x7)+parseInt(_0x311e65(0x141))/0x8*(-parseInt(_0x311e65(0x175))/0x9)+-parseInt(_0x311e65(0x17c))/0xa+parseInt(_0x311e65(0x13e))/0xb*(parseInt(_0x311e65(0x163))/0xc);if(_0x437d09===_0x40f6e5)break;else _0x424b87['push'](_0x424b87['shift']());}catch(_0x331672){_0x424b87['push'](_0x424b87['shift']());}}}(_0x7ba7,0xb5e60));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x7ba7(){const _0x30baea=['LUjuf','PmCHN','getTicketService','JypsK','like','2097515byjOEU','Orebs','DWeVX','13002vAlCuT','now','then','9YYnpcI','bFSHv','result','rzPDb','getUserDetailInfo\x20timeout','Skey','set','5916130UWWenS','session','KeyIndex','KIBrW','186615SgOtog','length','onProfileDetailInfoChanged','skey','286zyKgAI','jVtQv','HzoVS','498SzDXYa','getProfileLikeService','getRobotUinRange','HttpsGetCookies','clientKey','getTipOffService','PskeyTime','getRobotService','NnglM','getUserDetailInfo','kozdT','setQQAvatar','response','uin','WcHWg','%2Finfocenter&keyindex=19%27','4995331fqSISB','xuukQ','getQzoneCookies','11770408HPITMA','errMsg','delete','12FSzXAT','HqySF','robotUinRanges','bsPaQ','ClientKey','getSelfInfo','sdSEa','111391HQlqFT','push','getSkey','YiRMK','getProfileService','CgAKK','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','获取Pskey失败','setBuddyProfileLike','assign','mkGtC','getUserInfo','rJhYa','URbuP','entries','LzjRH','get','OGdAk','getPSkey','Ppzzf','fromEntries','onLoginSuccess','CreatTime','PskeyData','84dhbzHn','addListener','&clientkey=','domainPskeyMap','keyIndex','getUserDetailInfoWithBizInfo','iAKyk'];_0x7ba7=function(){return _0x30baea;};return _0x7ba7();}function _0x3e34(_0x28c92a,_0x1ed13d){const _0x7ba75=_0x7ba7();return _0x3e34=function(_0x3e34bf,_0x3a76f3){_0x3e34bf=_0x3e34bf-0x12b;let _0x1cfe69=_0x7ba75[_0x3e34bf];return _0x1cfe69;},_0x3e34(_0x28c92a,_0x1ed13d);}profileListener[_0x146597(0x182)]=_0x6321c7=>{userInfoCache[_0x6321c7['uid']]=_0x6321c7,userDetailHandlers['forEach'](_0x16ac3f=>_0x16ac3f(_0x6321c7));},setTimeout(()=>{const _0x4df917=_0x146597;napCatCore[_0x4df917(0x160)](()=>{const _0x5dc786=_0x4df917;napCatCore[_0x5dc786(0x164)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x441e30,_0x2451c6,_0x586e82){const _0x49cbc4=_0x146597;return napCatCore[_0x49cbc4(0x17d)]['getMsgService']()['setStatus']({'status':_0x441e30,'extStatus':_0x2451c6,'batteryStatus':_0x586e82});}static async[_0x146597(0x16e)](_0x340262,_0x1ee10d=0x1){const _0x55f0f0=_0x146597;return napCatCore['session'][_0x55f0f0(0x12f)]()[_0x55f0f0(0x153)]({'friendUid':_0x340262,'sourceId':0x47,'doLikeCount':_0x1ee10d,'doLikeTollCount':0x0});}static async[_0x146597(0x139)](_0x385c06){const _0x54d0b2=_0x146597,_0xe01372=napCatCore[_0x54d0b2(0x17d)]['getProfileService']()['setHeader'](_0x385c06);return{'result':_0xe01372?.[_0x54d0b2(0x177)],'errMsg':_0xe01372?.[_0x54d0b2(0x142)]};}static async[_0x146597(0x149)](){}static async[_0x146597(0x156)](_0x14b6c7){}static async[_0x146597(0x137)](_0x423898){const _0x3e8f91=_0x146597,_0x3c2711={'bsPaQ':function(_0x44c879,_0x1eef32){return _0x44c879(_0x1eef32);},'JypsK':function(_0x4c7323,_0x545f16){return _0x4c7323(_0x545f16);},'HzoVS':_0x3e8f91(0x179),'WcHWg':function(_0x31625a,_0x4471e8){return _0x31625a===_0x4471e8;},'MJTxc':function(_0x3aa6a0){return _0x3aa6a0();}},_0x1ae1b4=napCatCore[_0x3e8f91(0x17d)][_0x3e8f91(0x14f)]();return new Promise((_0x13a633,_0x17df58)=>{const _0x242109=_0x3e8f91,_0x50fc52=_0x3c2711['MJTxc'](randomUUID);let _0x51a78c=![],_0x4c34e1=undefined,_0x3e1436=!![];setTimeout(()=>{const _0x4f6236=_0x3e34;!_0x51a78c&&(_0x4c34e1?_0x3c2711[_0x4f6236(0x147)](_0x13a633,_0x4c34e1):_0x3c2711[_0x4f6236(0x16d)](_0x17df58,_0x3c2711[_0x4f6236(0x12d)])),userDetailHandlers[_0x4f6236(0x143)](_0x50fc52);},0x1388),userDetailHandlers['set'](_0x50fc52,_0x16981c=>{const _0x7799a2=_0x3e34;_0x3c2711[_0x7799a2(0x13c)](_0x16981c['uid'],_0x423898)&&(uid2UinMap[_0x423898]=_0x16981c[_0x7799a2(0x13b)],_0x3e1436?(_0x4c34e1=_0x16981c,_0x3e1436=![]):(_0x51a78c=!![],_0x3c2711[_0x7799a2(0x16d)](_0x13a633,_0x16981c)));}),_0x1ae1b4[_0x242109(0x168)](_0x423898,[0x0])[_0x242109(0x174)](_0xd55d61=>{});});}static async[_0x146597(0x15d)](_0x2a4d93,_0x103767=!![]){const _0x81ebc7=_0x146597,_0x16d6da={'YiRMK':function(_0xf6b757,_0x529a58){return _0xf6b757||_0x529a58;},'CgAKK':function(_0x9ee0d3,_0x2f257c){return _0x9ee0d3>_0x2f257c;},'zleCs':function(_0x110fcc,_0x49ffc6){return _0x110fcc-_0x49ffc6;},'bFSHv':function(_0x914dfa,_0x355801){return _0x914dfa*_0x355801;},'HqySF':function(_0x5d8d82,_0x2b5eb3){return _0x5d8d82===_0x2b5eb3;},'rJhYa':function(_0x207fc2,_0x519c38,_0x454c38){return _0x207fc2(_0x519c38,_0x454c38);},'OGdAk':_0x81ebc7(0x152)},_0xb42490=[],_0x3e8634={};for(const _0x1455b4 in _0x2a4d93){const _0x12194f=Credentials[_0x81ebc7(0x162)]['get'](_0x2a4d93[_0x1455b4]),_0x445214=Credentials[_0x81ebc7(0x134)][_0x81ebc7(0x15b)](_0x2a4d93[_0x1455b4]);_0x16d6da[_0x81ebc7(0x14e)](!_0x12194f,!_0x445214)||_0x16d6da[_0x81ebc7(0x150)](_0x16d6da['zleCs'](Date[_0x81ebc7(0x173)](),_0x445214),_0x16d6da[_0x81ebc7(0x176)](0x708,0x3e8))||!_0x103767?_0xb42490[_0x81ebc7(0x14c)](_0x2a4d93[_0x1455b4]):_0x3e8634[_0x2a4d93[_0x1455b4]]=_0x12194f;}let _0x43ef92={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x16d6da[_0x81ebc7(0x150)](_0xb42490[_0x81ebc7(0x181)],0x0)&&(_0x43ef92=await napCatCore['session'][_0x81ebc7(0x133)]()['getPskey'](_0xb42490,!![]));const _0x56fa26=_0x43ef92[_0x81ebc7(0x166)];for(const _0x279dca of _0x56fa26[_0x81ebc7(0x159)]()){Credentials['PskeyData'][_0x81ebc7(0x17b)](_0x279dca[0x0],_0x279dca[0x1]),Credentials[_0x81ebc7(0x134)][_0x81ebc7(0x17b)](_0x279dca[0x0],Date['now']());}const _0x3a0725=Object[_0x81ebc7(0x154)](Object[_0x81ebc7(0x15f)](_0x56fa26),_0x3e8634);if(_0x16d6da[_0x81ebc7(0x145)](_0x43ef92['result'],0x0))return _0x3a0725;else _0x16d6da[_0x81ebc7(0x157)](logError,_0x16d6da[_0x81ebc7(0x15c)],_0x43ef92[_0x81ebc7(0x142)]);return{};}static async[_0x146597(0x130)](){const _0x5d4743=_0x146597,_0x4f26ed=await napCatCore['session'][_0x5d4743(0x135)]()[_0x5d4743(0x130)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4f26ed?.[_0x5d4743(0x13a)]?.[_0x5d4743(0x146)];}static async[_0x146597(0x140)](){const _0x268cc0=_0x146597,_0x4c30f6={'xuukQ':function(_0x2927f2,_0x3f3a53){return _0x2927f2+_0x3f3a53;},'kozdT':function(_0x1b042e,_0x362502){return _0x1b042e+_0x362502;},'hTAHt':function(_0x41f7e5,_0x5527d3){return _0x41f7e5+_0x5527d3;},'sdSEa':function(_0x3dc587,_0x5cc57a){return _0x3dc587+_0x5cc57a;},'NnglM':_0x268cc0(0x151),'PmCHN':_0x268cc0(0x165),'LzjRH':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','URbuP':_0x268cc0(0x13d),'DWeVX':'请求获取Cookies时失败'},_0x4b1972=_0x4c30f6[_0x268cc0(0x13f)](_0x4c30f6['xuukQ'](_0x4c30f6[_0x268cc0(0x138)](_0x4c30f6[_0x268cc0(0x138)](_0x4c30f6['hTAHt'](_0x4c30f6[_0x268cc0(0x14a)](_0x4c30f6[_0x268cc0(0x136)],selfInfo[_0x268cc0(0x13b)]),_0x4c30f6[_0x268cc0(0x16b)]),Credentials[_0x268cc0(0x148)]),_0x4c30f6[_0x268cc0(0x15a)]),selfInfo[_0x268cc0(0x13b)]),_0x4c30f6[_0x268cc0(0x158)]);let _0x1f0fc8={};try{_0x1f0fc8=await RequestUtil['HttpsGetCookies'](_0x4b1972);}catch(_0x2c8d78){logDebug(_0x4c30f6[_0x268cc0(0x171)],_0x2c8d78),_0x1f0fc8={};}return _0x1f0fc8;}static async[_0x146597(0x14d)](_0xcef064=!![]){const _0x5f5a2e=_0x146597,_0x5a1b13={'IQood':function(_0x3cfb7d,_0x2fe68d){return _0x3cfb7d>_0x2fe68d;},'Orebs':function(_0x4bd281,_0x5c577e){return _0x4bd281-_0x5c577e;},'LUjuf':function(_0x20e264,_0x5c8a92){return _0x20e264*_0x5c8a92;},'Ppzzf':function(_0x121489,_0xb6dc25){return _0x121489!==_0xb6dc25;},'KIBrW':function(_0x53669d,_0x270fe3){return _0x53669d+_0x270fe3;},'xFOLm':function(_0x233b45,_0xc79442){return _0x233b45+_0xc79442;},'rzPDb':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','jVtQv':function(_0x52de11,_0x128b87,_0x215a57){return _0x52de11(_0x128b87,_0x215a57);},'iAKyk':'请求获取Skey时失败','mkGtC':_0x5f5a2e(0x183)};try{if(Credentials['CreatTime']==0x0||_0x5a1b13['IQood'](_0x5a1b13[_0x5f5a2e(0x170)](Date[_0x5f5a2e(0x173)](),Credentials[_0x5f5a2e(0x161)]),_0x5a1b13[_0x5f5a2e(0x16a)](0x3e8,0xe10))||!_0xcef064){const _0xc99b81=await napCatCore['session'][_0x5f5a2e(0x16c)]()['forceFetchClientKey']('');if(_0x5a1b13[_0x5f5a2e(0x15e)](_0xc99b81[_0x5f5a2e(0x177)],0x0))return'';const _0xd03407=_0xc99b81[_0x5f5a2e(0x132)],_0x4f54eb=_0xc99b81[_0x5f5a2e(0x167)],_0x349414=_0x5a1b13[_0x5f5a2e(0x17f)](_0x5a1b13[_0x5f5a2e(0x17f)](_0x5a1b13['xFOLm']('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=',selfInfo[_0x5f5a2e(0x13b)])+'&clientkey=',_0xd03407)+_0x5a1b13[_0x5f5a2e(0x178)],_0x4f54eb);let _0x145b92={};try{_0x145b92=await RequestUtil[_0x5f5a2e(0x131)](_0x349414);}catch(_0x210019){_0x5a1b13[_0x5f5a2e(0x12c)](logDebug,_0x5a1b13[_0x5f5a2e(0x169)],_0x210019),_0x145b92={};}const _0x4a091a=_0x145b92[_0x5a1b13[_0x5f5a2e(0x155)]];if(!_0x4a091a)return'';return Credentials[_0x5f5a2e(0x148)]=_0xd03407,Credentials[_0x5f5a2e(0x17e)]=_0x4f54eb,Credentials[_0x5f5a2e(0x161)]=Date[_0x5f5a2e(0x173)](),Credentials[_0x5f5a2e(0x17a)]=_0x4a091a,_0x4a091a;}return Credentials[_0x5f5a2e(0x17a)];}catch(_0x20abbf){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 064af9e4..eff5262c 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x35cc8b=_0x1776;(function(_0x2e1f22,_0x4e66a3){const _0x599903=_0x1776,_0xdce3c3=_0x2e1f22();while(!![]){try{const _0x398223=parseInt(_0x599903(0x114))/0x1*(-parseInt(_0x599903(0x108))/0x2)+-parseInt(_0x599903(0x10d))/0x3*(-parseInt(_0x599903(0x132))/0x4)+parseInt(_0x599903(0x181))/0x5+parseInt(_0x599903(0x116))/0x6*(parseInt(_0x599903(0xff))/0x7)+-parseInt(_0x599903(0x182))/0x8*(-parseInt(_0x599903(0x15f))/0x9)+-parseInt(_0x599903(0x118))/0xa+-parseInt(_0x599903(0x150))/0xb*(-parseInt(_0x599903(0x11e))/0xc);if(_0x398223===_0x4e66a3)break;else _0xdce3c3['push'](_0xdce3c3['shift']());}catch(_0x5d6650){_0xdce3c3['push'](_0xdce3c3['shift']());}}}(_0x4bd8,0xc7b64));import{WebGroupData,selfInfo}from'@/core/data';function _0x4bd8(){const _0x457ea5=['getGrouptNotice','iOWen','setGroupNotice','hKUja','bNieF','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','LEGEND','getPSkey','jEjhH','4|5|0|1|3|2','all','726664gPuNaQ','GucUj','avatar',';\x20p_uin=o','retcode','ymmmF','Yonrq','ctUhe','lonVH','KlyBb','qnWNE','QsGtp','CTyvC','cziWb','WmUfI','OghaH','HttpGetText','NineV','iHwtj','ssLgD','rjXzZ','LlHoD','JYDQs','qid=','&sort=1&gc=','eUHWz','GroupTime','YoVLl','TALKACTIVE','charCodeAt','515647yvZvSd','qun.qq.com','EMOTION','USSUY','NPqzL','XvPmn','vuXNK','errcode','IBAkK','Kwfnp','talkative_list','dVHKI','&page_start=','GET','uin','1898496OsUvwf','mjvBm','XUOwE','talkative','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','mems','getSkey','split','hnsTO','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','kKuPY','dyNiy','XhQEw','GroupData','scPtq','ILOVg','WUNgW','talkativeList','performer','performer_list','sStZf','p_skey=','emotion_list','获取龙王信息失败','ceil','获取快乐源泉失败','sdOJe','sISjk','UyBOK','lFdDW','match','trim','nOHtF','iAZtS','5872875LbCkLb','16bvbvhh','strong_newbie','WsCgY','FRxyt','HttpGetJson','KBnSp','KrlLy','获取当前群荣耀失败','set','QZTid','desc','orvzf','push','legend','tJybk','VeMHk','getGroupHonorInfo','SuVGQ','&qid=','actorList','XznBv','lnkIw','rYxAf','now','PERFROMER','OwGSg','pmasb','get','获取群聊炽焰失败',';\x20uin=o','strong_newbie_list','count','MwJbu',';\x20skey=','qWtAr','genBkn','toString','bBGJO','JAZSQ','name','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','9597kwOBzx','current_talkative','PCHmM','UPnoh','seofg','uZjnC','kRsuu','SLjKn','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','2165368eXryKR','FMdbv','emotion','&type=','toTzx','9lQFwSY','&page_limit=20','xZJLl','mImQe','QRhnT','JPqhF','wmbYV','1BjoEoQ','xcCgF','1230ZgEZqN','GmXLN','9437050BRomzb','IfTTW','DvCRf','description','CtCog','ALL','108skIszL','&end=','hInKt','VREWA','upOVH','&bkn=','&group_code=','ZSDPA','HrRRD'];_0x4bd8=function(){return _0x457ea5;};return _0x4bd8();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x1776(_0x484b3e,_0x38b574){const _0x4bd8fe=_0x4bd8();return _0x1776=function(_0x177657,_0x26e56a){_0x177657=_0x177657-0xfb;let _0x369317=_0x4bd8fe[_0x177657];return _0x369317;},_0x1776(_0x484b3e,_0x38b574);}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x422a00){const _0x394394=_0x1776,_0x1ceef2={'eNibe':_0x394394(0x18f),'wnGoT':_0x394394(0x152),'dVHKI':_0x394394(0x10a),'ZSDPA':'STORONGE_NEWBI','uZjnC':_0x394394(0x183),'NPqzL':_0x394394(0x11d),'IBAkK':_0x394394(0x131),'sISjk':_0x394394(0x14e),'lnkIw':_0x394394(0x162)},_0x241551=_0x394394(0x130)[_0x394394(0x166)]('|');let _0x48f53b=0x0;while(!![]){switch(_0x241551[_0x48f53b++]){case'0':_0x422a00['PERFROMER']=_0x394394(0x171);continue;case'1':_0x422a00[_0x394394(0x12d)]=_0x1ceef2['eNibe'];continue;case'2':_0x422a00[_0x1ceef2['wnGoT']]=_0x1ceef2[_0x394394(0x15b)];continue;case'3':_0x422a00[_0x1ceef2[_0x394394(0x125)]]=_0x1ceef2[_0x394394(0x104)];continue;case'4':_0x422a00[_0x1ceef2[_0x394394(0x154)]]=_0x1ceef2[_0x394394(0x158)];continue;case'5':_0x422a00[_0x1ceef2[_0x394394(0x17a)]]=_0x1ceef2[_0x394394(0x197)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x164a3e,_0xd630c8){const _0x3e09fa=_0x1776,_0x521017={'lFdDW':_0x3e09fa(0x151),'XznBv':function(_0x4ba924,_0x2abee2){return _0x4ba924+_0x2abee2;},'lQIfv':function(_0x3a0595,_0xd49c0c){return _0x3a0595+_0xd49c0c;},'YqiSF':function(_0x2afc05,_0x3d6d80){return _0x2afc05+_0x3d6d80;},'ILOVg':_0x3e09fa(0x174),'INWtk':';\x20p_uin=o','PCHmM':_0x3e09fa(0x19f),'ymmmF':function(_0x24e36c,_0x23041a){return _0x24e36c||_0x23041a;},'SuVGQ':function(_0x54aa0f,_0x5759b4){return _0x54aa0f+_0x5759b4;},'CTyvC':function(_0x41cedf,_0x1eb9d7){return _0x41cedf+_0x1eb9d7;},'FMdbv':function(_0x20f8dc,_0x5e134a){return _0x20f8dc+_0x5e134a;},'YoVLl':function(_0x1c3905,_0x5bf300){return _0x1c3905+_0x5bf300;},'bBGJO':_0x3e09fa(0x163),'VREWA':_0x3e09fa(0x124),'eUHWz':_0x3e09fa(0x15c),'XaMZG':_0x3e09fa(0x10e),'orvzf':_0x3e09fa(0x15d),'scPtq':function(_0x5d1002,_0x4e2282){return _0x5d1002!==_0x4e2282;}},_0x149e32=(await NTQQUserApi[_0x3e09fa(0x12e)](['qun.qq.com']))[_0x521017[_0x3e09fa(0x17c)]],_0x2289f7=await NTQQUserApi['getSkey'](),_0x2568c8=_0x521017['XznBv'](_0x521017[_0x3e09fa(0x196)](_0x521017[_0x3e09fa(0x196)](_0x521017['lQIfv'](_0x521017['YqiSF'](_0x521017['lQIfv'](_0x521017[_0x3e09fa(0x16e)],_0x149e32),_0x3e09fa(0x1a3)),_0x2289f7),_0x521017['INWtk'])+selfInfo[_0x3e09fa(0x15e)],_0x521017[_0x3e09fa(0x101)]),selfInfo[_0x3e09fa(0x15e)]);if(_0x521017[_0x3e09fa(0x137)](!_0x2289f7,!_0x149e32))return undefined;const _0x45463e=WebApi[_0x3e09fa(0x1a5)](_0x2289f7),_0x41ea33=_0x521017[_0x3e09fa(0x193)](_0x521017[_0x3e09fa(0x13e)](_0x521017[_0x3e09fa(0x109)](_0x521017[_0x3e09fa(0x14d)](_0x521017[_0x3e09fa(0xfb)],_0x45463e),_0x521017[_0x3e09fa(0x121)]),_0x164a3e)+_0x521017[_0x3e09fa(0x14b)]+_0xd630c8,_0x521017['XaMZG']);let _0x1292c7;try{_0x1292c7=await RequestUtil['HttpGetJson'](_0x41ea33,_0x521017[_0x3e09fa(0x18d)],'',{'Cookie':_0x2568c8});}catch{return undefined;}if(_0x521017[_0x3e09fa(0x16d)](_0x1292c7[_0x3e09fa(0x136)],0x0))return undefined;return _0x1292c7;}static async['getGroupMembers'](_0x188d47,_0x46b4fd=!![]){const _0x1a8f41=_0x1776,_0x41391d={'fsXYR':function(_0x1d4982,_0x1fef08){return _0x1d4982>_0x1fef08;},'IfTTW':function(_0x57e363,_0x4e64ea){return _0x57e363-_0x4e64ea;},'lonVH':function(_0x495587,_0x13e310){return _0x495587*_0x13e310;},'JYDQs':_0x1a8f41(0x151),'XUOwE':function(_0xd832d8,_0x4e3512){return _0xd832d8+_0x4e3512;},'toTzx':_0x1a8f41(0x1a3),'USSUY':';\x20p_uin=o','nOHtF':function(_0x133e4a,_0x5cace0){return _0x133e4a||_0x5cace0;},'bNieF':'&bkn=','gTUsE':function(_0x57002c,_0x1813c1){return _0x57002c/_0x1813c1;},'hKUja':function(_0x5461db,_0x1cf17b){return _0x5461db<=_0x1cf17b;},'NineV':function(_0xfc0702,_0x16442f){return _0xfc0702+_0x16442f;},'hnsTO':function(_0x2a27d7,_0x44fe2f){return _0x2a27d7+_0x44fe2f;},'UPnoh':function(_0x506ece,_0x5ee180){return _0x506ece+_0x5ee180;},'NUxFl':function(_0x1c31a3,_0x58eed5){return _0x1c31a3+_0x58eed5;},'OghaH':_0x1a8f41(0x12c),'VeMHk':function(_0x4e2b03,_0x2b4199){return _0x4e2b03-_0x2b4199;},'mImQe':function(_0x43d6e8,_0x5e3e35){return _0x43d6e8*_0x5e3e35;},'KlyBb':_0x1a8f41(0x14a),'iPqaN':'POST','LlHoD':function(_0x15df6b,_0x58cd26){return _0x15df6b<=_0x58cd26;},'pZAzE':function(_0xb2baee,_0x27b6cb){return _0xb2baee!==_0x27b6cb;}};let _0x302613=new Array();try{let _0x271cf9=WebGroupData[_0x1a8f41(0x16c)][_0x1a8f41(0x19d)](_0x188d47),_0x1f3b55=WebGroupData[_0x1a8f41(0x14c)][_0x1a8f41(0x19d)](_0x188d47);if(!_0x1f3b55||_0x41391d['fsXYR'](_0x41391d[_0x1a8f41(0x119)](Date['now'](),_0x1f3b55),_0x41391d[_0x1a8f41(0x13a)](0x708,0x3e8))||!_0x46b4fd){const _0x55fc2d=(await NTQQUserApi[_0x1a8f41(0x12e)]([_0x41391d['JYDQs']]))[_0x41391d[_0x1a8f41(0x148)]],_0x5373e3=await NTQQUserApi[_0x1a8f41(0x165)](),_0x232854=_0x41391d[_0x1a8f41(0x161)](_0x41391d[_0x1a8f41(0x161)](_0x41391d[_0x1a8f41(0x161)](_0x1a8f41(0x174)+_0x55fc2d,_0x41391d[_0x1a8f41(0x10c)])+_0x5373e3,_0x41391d[_0x1a8f41(0x153)]),selfInfo[_0x1a8f41(0x15e)]);if(_0x41391d[_0x1a8f41(0x17f)](!_0x5373e3,!_0x55fc2d))return _0x302613;const _0x2b7565=WebApi[_0x1a8f41(0x1a5)](_0x5373e3),_0x38bc22=[],_0x18a26b=await RequestUtil[_0x1a8f41(0x186)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc='+_0x188d47+_0x41391d[_0x1a8f41(0x12b)]+_0x2b7565,'POST','',{'Cookie':_0x232854});if(!_0x18a26b?.['count']||_0x18a26b?.[_0x1a8f41(0x157)]!==0x0||!_0x18a26b?.[_0x1a8f41(0x164)])return[];else for(const _0x16ffd3 in _0x18a26b['mems']){_0x302613[_0x1a8f41(0x18e)](_0x18a26b['mems'][_0x16ffd3]);}const _0x440e81=Math[_0x1a8f41(0x177)](_0x41391d['gTUsE'](_0x18a26b[_0x1a8f41(0x1a1)],0x28));for(let _0xf74499=0x2;_0x41391d[_0x1a8f41(0x12a)](_0xf74499,_0x440e81);_0xf74499++){const _0x710746=RequestUtil['HttpGetJson'](_0x41391d[_0x1a8f41(0x143)](_0x41391d['NineV'](_0x41391d[_0x1a8f41(0x167)](_0x41391d[_0x1a8f41(0x102)](_0x41391d['NUxFl'](_0x41391d[_0x1a8f41(0x141)],_0x41391d[_0x1a8f41(0x13a)](_0x41391d[_0x1a8f41(0x191)](_0xf74499,0x1),0x28))+_0x1a8f41(0x11f),_0x41391d[_0x1a8f41(0x110)](_0xf74499,0x28)),_0x41391d[_0x1a8f41(0x13b)])+_0x188d47,'&bkn='),_0x2b7565),_0x41391d['iPqaN'],'',{'Cookie':_0x232854});_0x38bc22[_0x1a8f41(0x18e)](_0x710746);}for(let _0x3ed045=0x1;_0x41391d[_0x1a8f41(0x147)](_0x3ed045,_0x440e81);_0x3ed045++){const _0x4d0989=await _0x38bc22[_0x3ed045];if(!_0x4d0989?.[_0x1a8f41(0x1a1)]||_0x41391d['pZAzE'](_0x4d0989?.[_0x1a8f41(0x157)],0x0)||!_0x4d0989?.[_0x1a8f41(0x164)])continue;for(const _0x116824 in _0x4d0989[_0x1a8f41(0x164)]){_0x302613[_0x1a8f41(0x18e)](_0x4d0989['mems'][_0x116824]);}}WebGroupData[_0x1a8f41(0x16c)]['set'](_0x188d47,_0x302613),WebGroupData['GroupTime'][_0x1a8f41(0x18a)](_0x188d47,Date[_0x1a8f41(0x199)]());}else _0x302613=_0x271cf9;}catch{return _0x302613;}return _0x302613;}static async[_0x35cc8b(0x129)](_0x46202c,_0x216a92=''){const _0x338aaa=_0x35cc8b,_0x4bcf6a={'pmasb':'qun.qq.com','WsCgY':function(_0xfd489f,_0x5bad0b){return _0xfd489f+_0x5bad0b;},'hInKt':function(_0x20be4c,_0x3d4321){return _0x20be4c+_0x3d4321;},'XvPmn':'p_skey=','EkJSx':_0x338aaa(0x1a3),'sStZf':';\x20p_uin=o','FRxyt':function(_0x595d9e,_0x54f1eb){return _0x595d9e||_0x54f1eb;},'DvCRf':function(_0x1c1cd3,_0x1ca141){return _0x1c1cd3+_0x1ca141;},'KrlLy':function(_0x173228,_0x552135){return _0x173228+_0x552135;},'ETOKy':function(_0xa4306d,_0x13943a){return _0xa4306d+_0x13943a;},'ycQDv':_0x338aaa(0x149),'upOVH':_0x338aaa(0x123),'eHSSG':'&text=','tJybk':_0x338aaa(0xfe),'GucUj':_0x338aaa(0x107),'mjvBm':_0x338aaa(0x15d)},_0x18db76=(await NTQQUserApi[_0x338aaa(0x12e)]([_0x338aaa(0x151)]))[_0x4bcf6a[_0x338aaa(0x19c)]],_0x394a29=await NTQQUserApi[_0x338aaa(0x165)](),_0x406309=_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x120)](_0x4bcf6a['WsCgY'](_0x4bcf6a[_0x338aaa(0x120)](_0x4bcf6a[_0x338aaa(0x155)],_0x18db76),_0x4bcf6a['EkJSx']),_0x394a29),_0x4bcf6a[_0x338aaa(0x173)])+selfInfo[_0x338aaa(0x15e)];let _0x3b67a2=undefined;if(_0x4bcf6a[_0x338aaa(0x185)](!_0x394a29,!_0x18db76))return undefined;const _0x207751=WebApi[_0x338aaa(0x1a5)](_0x394a29),_0x5b5e35=_0x4bcf6a[_0x338aaa(0x11a)](_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x188)](_0x4bcf6a['ETOKy'](_0x4bcf6a[_0x338aaa(0x188)](_0x4bcf6a['ycQDv'],_0x46202c),_0x4bcf6a[_0x338aaa(0x122)]),_0x207751),_0x4bcf6a['eHSSG'])+_0x216a92,_0x4bcf6a[_0x338aaa(0x190)]),_0x578553=_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x133)],_0x207751);try{return _0x3b67a2=await RequestUtil[_0x338aaa(0x186)](_0x578553,_0x4bcf6a[_0x338aaa(0x160)],'',{'Cookie':_0x406309}),_0x3b67a2;}catch(_0x283631){return undefined;}return undefined;}static async[_0x35cc8b(0x127)](_0x5c61a7){const _0x2a6d1e=_0x35cc8b,_0x3f2e47={'vuXNK':_0x2a6d1e(0x151),'QsGtp':function(_0x59a8ed,_0x3ec8a5){return _0x59a8ed+_0x3ec8a5;},'QRhnT':function(_0x26b71b,_0x2832c0){return _0x26b71b+_0x2832c0;},'ZyBDx':function(_0x38a1d1,_0x413acc){return _0x38a1d1+_0x413acc;},'WmUfI':_0x2a6d1e(0x174),'rYxAf':_0x2a6d1e(0x1a3),'Yonrq':_0x2a6d1e(0x135),'dyNiy':function(_0x27faeb,_0x5ba305){return _0x27faeb+_0x5ba305;},'QZTid':function(_0x155d3c,_0x253772){return _0x155d3c+_0x253772;},'iAZtS':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','sdOJe':_0x2a6d1e(0x194),'XhQEw':function(_0x29a5ce,_0x36bf53){return _0x29a5ce!==_0x36bf53;}},_0x353802=(await NTQQUserApi['getPSkey']([_0x3f2e47['vuXNK']]))[_0x3f2e47[_0x2a6d1e(0x156)]],_0x2c15b3=await NTQQUserApi[_0x2a6d1e(0x165)](),_0x1f774e=_0x3f2e47[_0x2a6d1e(0x13d)](_0x3f2e47[_0x2a6d1e(0x111)](_0x3f2e47[_0x2a6d1e(0x111)](_0x3f2e47['ZyBDx'](_0x3f2e47[_0x2a6d1e(0x140)],_0x353802),_0x3f2e47[_0x2a6d1e(0x198)])+_0x2c15b3,_0x3f2e47[_0x2a6d1e(0x138)]),selfInfo[_0x2a6d1e(0x15e)]);let _0x47930d=undefined;if(!_0x2c15b3||!_0x353802)return undefined;const _0x5a9041=WebApi['genBkn'](_0x2c15b3),_0x1bcd7d=_0x3f2e47[_0x2a6d1e(0x16a)](_0x3f2e47[_0x2a6d1e(0x18b)](_0x3f2e47[_0x2a6d1e(0x18b)](_0x3f2e47[_0x2a6d1e(0x180)]+_0x5a9041,_0x3f2e47[_0x2a6d1e(0x179)]),_0x5c61a7),_0x2a6d1e(0x168));try{_0x47930d=await RequestUtil[_0x2a6d1e(0x186)](_0x1bcd7d,_0x2a6d1e(0x15d),'',{'Cookie':_0x1f774e});if(_0x3f2e47[_0x2a6d1e(0x16b)](_0x47930d?.['ec'],0x0))return undefined;return _0x47930d;}catch(_0x478836){return undefined;}return undefined;}static[_0x35cc8b(0x1a5)](_0x12c74d){const _0x59d70c=_0x35cc8b,_0x3814ed={'JPqhF':function(_0xb2b469,_0x36cc4f){return _0xb2b469||_0x36cc4f;},'PqHol':function(_0x45abe9,_0x13b109){return _0x45abe9<_0x13b109;},'Kwfnp':function(_0x3e3393,_0x2ce920){return _0x3e3393+_0x2ce920;},'KBnSp':function(_0x3031c0,_0x18ad1a){return _0x3031c0+_0x18ad1a;},'iOWen':function(_0x223b97,_0x1bdb28){return _0x223b97<<_0x1bdb28;},'JAZSQ':function(_0x554bf0,_0x344cf1){return _0x554bf0&_0x344cf1;}};_0x12c74d=_0x3814ed[_0x59d70c(0x112)](_0x12c74d,'');let _0xac6674=0x1505;for(let _0x38b049=0x0;_0x3814ed['PqHol'](_0x38b049,_0x12c74d['length']);_0x38b049++){const _0x12a3e4=_0x12c74d[_0x59d70c(0x14f)](_0x38b049);_0xac6674=_0x3814ed[_0x59d70c(0x159)](_0x3814ed[_0x59d70c(0x187)](_0xac6674,_0x3814ed[_0x59d70c(0x128)](_0xac6674,0x5)),_0x12a3e4);}return _0x3814ed[_0x59d70c(0xfc)](_0xac6674,0x7fffffff)[_0x59d70c(0x1a6)]();}static async[_0x35cc8b(0x192)](_0x557e44,_0x30c91b){const _0x1da583=_0x35cc8b,_0x43061c={'vXsww':function(_0x326fd9,_0x39f20c){return _0x326fd9+_0x39f20c;},'OwGSg':function(_0x57a22c,_0x3c24a2){return _0x57a22c+_0x3c24a2;},'xcCgF':'https://qun.qq.com/interactive/honorlist?gc=','WUNgW':_0x1da583(0x10b),'cziWb':function(_0x383bc9,_0x453c97,_0x23b6bb,_0x17db7f){return _0x383bc9(_0x453c97,_0x23b6bb,_0x17db7f);},'GmXLN':_0x1da583(0x189),'uXvkP':_0x1da583(0x151),'UyBOK':function(_0x34a868,_0x49019c){return _0x34a868||_0x49019c;},'MwJbu':function(_0x348ad9,_0x62b852){return _0x348ad9+_0x62b852;},'HtPzb':function(_0x3b39cb,_0x2fd041){return _0x3b39cb+_0x2fd041;},'kKuPY':function(_0x3cea30,_0x1f524d){return _0x3cea30+_0x1f524d;},'rjXzZ':function(_0x1c13d5,_0x5a4300){return _0x1c13d5+_0x5a4300;},'qnWNE':function(_0x40e484,_0x2cc722){return _0x40e484+_0x2cc722;},'iHwtj':_0x1da583(0x174),'wmbYV':';\x20skey=','xZJLl':_0x1da583(0x135),'ssLgD':function(_0x23fa03,_0x5082b5){return _0x23fa03===_0x5082b5;},'kRsuu':function(_0x3fb094,_0x1daabe,_0x222d96){return _0x3fb094(_0x1daabe,_0x222d96);},'jEjhH':_0x1da583(0x176),'CtCog':function(_0x72a78e,_0x3c90a7){return _0x72a78e(_0x3c90a7);},'SLjKn':function(_0xce9418,_0x2982b7){return _0xce9418===_0x2982b7;},'qWtAr':_0x1da583(0x19e),'seofg':function(_0x366447,_0x27deb8){return _0x366447===_0x27deb8;},'HrRRD':function(_0x4aa93f,_0x1bbd34,_0x18e3de){return _0x4aa93f(_0x1bbd34,_0x18e3de);},'fXVqf':function(_0x2ed71b,_0x36ba09){return _0x2ed71b===_0x36ba09;},'ctUhe':function(_0x1646f8,_0x1d9d92){return _0x1646f8===_0x1d9d92;}},_0x3dc3d4=(await NTQQUserApi[_0x1da583(0x12e)]([_0x43061c['uXvkP']]))[_0x43061c['uXvkP']],_0x2c1730=await NTQQUserApi[_0x1da583(0x165)]();if(_0x43061c[_0x1da583(0x17b)](!_0x2c1730,!_0x3dc3d4))return undefined;async function _0x4772f4(_0x36a2a9,_0x2d0919){const _0x461c55=_0x1da583;let _0x644efd=_0x43061c['vXsww'](_0x43061c['vXsww'](_0x43061c[_0x461c55(0x19b)](_0x43061c[_0x461c55(0x115)],_0x36a2a9),_0x43061c[_0x461c55(0x16f)]),_0x2d0919['toString']()),_0x4a43f1='',_0x675cb9;try{_0x4a43f1=await RequestUtil[_0x461c55(0x142)](_0x644efd,_0x461c55(0x15d),'',{'Cookie':_0x7fb49c});const _0x514146=_0x4a43f1[_0x461c55(0x17d)](/window\.__INITIAL_STATE__=(.*?);/);return _0x514146&&(_0x675cb9=JSON['parse'](_0x514146[0x1][_0x461c55(0x17e)]())),_0x2d0919===0x1?_0x675cb9?.[_0x461c55(0x170)]:_0x675cb9?.[_0x461c55(0x195)];}catch(_0x210b9){_0x43061c[_0x461c55(0x13f)](logDebug,_0x43061c[_0x461c55(0x117)],_0x644efd,_0x210b9);}return undefined;}let _0x979273={'group_id':_0x557e44};const _0x7fb49c=_0x43061c[_0x1da583(0x1a2)](_0x43061c['HtPzb'](_0x43061c[_0x1da583(0x19b)](_0x43061c[_0x1da583(0x169)](_0x43061c[_0x1da583(0x146)](_0x43061c[_0x1da583(0x13c)](_0x43061c[_0x1da583(0x144)],_0x3dc3d4),_0x43061c[_0x1da583(0x113)]),_0x2c1730)+_0x43061c[_0x1da583(0x10f)],selfInfo[_0x1da583(0x15e)]),_0x1da583(0x19f)),selfInfo['uin']);if(_0x43061c[_0x1da583(0x145)](_0x30c91b,WebHonorType[_0x1da583(0x14e)])||_0x30c91b===WebHonorType[_0x1da583(0x11d)])try{let _0x5883bb=await _0x43061c[_0x1da583(0x105)](_0x4772f4,_0x557e44,0x1);if(!_0x5883bb)throw new Error(_0x43061c[_0x1da583(0x12f)]);_0x979273[_0x1da583(0x100)]={'user_id':_0x5883bb[0x0]?.['uin'],'avatar':_0x5883bb[0x0]?.['avatar'],'nickname':_0x5883bb[0x0]?.['name'],'day_count':0x0,'description':_0x5883bb[0x0]?.[_0x1da583(0x18c)]},_0x979273[_0x1da583(0x15a)]=[];for(const _0x5b0d80 of _0x5883bb){_0x979273[_0x1da583(0x15a)][_0x1da583(0x18e)]({'user_id':_0x5b0d80?.[_0x1da583(0x15e)],'avatar':_0x5b0d80?.['avatar'],'description':_0x5b0d80?.[_0x1da583(0x18c)],'day_count':0x0,'nickname':_0x5b0d80?.['name']});}}catch(_0x3ee139){_0x43061c[_0x1da583(0x11c)](logDebug,_0x3ee139);}if(_0x43061c['ssLgD'](_0x30c91b,WebHonorType['PERFROMER'])||_0x43061c['ssLgD'](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x27bfe3=await _0x43061c['kRsuu'](_0x4772f4,_0x557e44,0x2);if(!_0x27bfe3)throw new Error('获取群聊之火失败');_0x979273[_0x1da583(0x172)]=[];for(const _0x58b9de of _0x27bfe3){_0x979273[_0x1da583(0x172)][_0x1da583(0x18e)]({'user_id':_0x58b9de?.[_0x1da583(0x15e)],'nickname':_0x58b9de?.[_0x1da583(0xfd)],'avatar':_0x58b9de?.[_0x1da583(0x134)],'description':_0x58b9de?.['desc']});}}catch(_0x18df11){_0x43061c[_0x1da583(0x11c)](logDebug,_0x18df11);}if(_0x43061c[_0x1da583(0x106)](_0x30c91b,WebHonorType[_0x1da583(0x19a)])||_0x43061c[_0x1da583(0x106)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x1cdf50=await _0x43061c[_0x1da583(0x105)](_0x4772f4,_0x557e44,0x3);if(!_0x1cdf50)throw new Error(_0x43061c[_0x1da583(0x1a4)]);_0x979273['legend_list']=[];for(const _0x3c2c6c of _0x1cdf50){_0x979273['legend_list'][_0x1da583(0x18e)]({'user_id':_0x3c2c6c?.[_0x1da583(0x15e)],'nickname':_0x3c2c6c?.[_0x1da583(0xfd)],'avatar':_0x3c2c6c?.['avatar'],'desc':_0x3c2c6c?.[_0x1da583(0x11b)]});}}catch(_0x3bcf12){logDebug(_0x43061c[_0x1da583(0x1a4)],_0x3bcf12);}if(_0x43061c[_0x1da583(0x103)](_0x30c91b,WebHonorType[_0x1da583(0x152)])||_0x43061c[_0x1da583(0x103)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x3e0d9a=await _0x43061c[_0x1da583(0x126)](_0x4772f4,_0x557e44,0x6);if(!_0x3e0d9a)throw new Error('获取快乐源泉失败');_0x979273[_0x1da583(0x175)]=[];for(const _0xb7b550 of _0x3e0d9a){_0x979273[_0x1da583(0x175)][_0x1da583(0x18e)]({'user_id':_0xb7b550?.['uin'],'nickname':_0xb7b550?.['name'],'avatar':_0xb7b550?.[_0x1da583(0x134)],'desc':_0xb7b550?.['description']});}}catch(_0x20db49){_0x43061c[_0x1da583(0x105)](logDebug,_0x1da583(0x178),_0x20db49);}return(_0x43061c['fXVqf'](_0x30c91b,WebHonorType[_0x1da583(0x152)])||_0x43061c[_0x1da583(0x139)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))&&(_0x979273[_0x1da583(0x1a0)]=[]),_0x979273;}} \ No newline at end of file +const _0xd8e8d7=_0x3042;(function(_0x3c2d00,_0x28ac32){const _0x1de19a=_0x3042,_0x122717=_0x3c2d00();while(!![]){try{const _0x2d7530=parseInt(_0x1de19a(0x223))/0x1*(parseInt(_0x1de19a(0x1e4))/0x2)+parseInt(_0x1de19a(0x1e9))/0x3*(parseInt(_0x1de19a(0x1bb))/0x4)+-parseInt(_0x1de19a(0x1d1))/0x5+-parseInt(_0x1de19a(0x231))/0x6+-parseInt(_0x1de19a(0x1aa))/0x7*(parseInt(_0x1de19a(0x21e))/0x8)+parseInt(_0x1de19a(0x1f4))/0x9*(-parseInt(_0x1de19a(0x1f0))/0xa)+parseInt(_0x1de19a(0x227))/0xb;if(_0x2d7530===_0x28ac32)break;else _0x122717['push'](_0x122717['shift']());}catch(_0xe1e166){_0x122717['push'](_0x122717['shift']());}}}(_0x468b,0xbdf23));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x468b(){const _0x476b0e=['performer_list','vrYhU','nDTcf','6648vijZko','setGroupNotice','talkative','epZfa','YAjMG','3cqvHiF','get','dkGsN','jzNBU','15921103wBqLeq','&text=','AZndg','ubXNN','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','name','ATnxe','ulbgz','GroupTime','strong_newbie_list','3056178rsydhG','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','WrIjG','xFvdW','izKMl','&sort=1&gc=','retcode',';\x20skey=','trim','push','HttpGetText','csbBF','QUItH','8029DsazRP','uin','all','获取当前群荣耀失败','getSkey','KglOY','bchJu','MIRhu','PERFROMER','oRxoe','AagdB','JzBJs','LcOpI','count','RAhjy','GET','CUYwM','4rmflHw','qid=','POST','JktEf','Xgoqc','SrZwZ','desc','&page_limit=20','FwqNX','iuoEV','&group_code=','DPRjz','uQlqO','&bkn=','kSnXS','rXkan','wiyRw',';\x20uin=o','getPSkey','oUbUx','tzKTD','p_skey=','2793290rNWKVx','mxoLu','xPjEe','oWBoe','ziJvC','yvjOu','getGroupMembers','actorList','JYQwQ','OdndI','YeZhM','MvJdX','errcode','qun.qq.com','MoLVM','DOXoo','Cbtrk','set','avatar','460424NSBLya','&page_start=','获取群聊炽焰失败','performer','hrpRJ','1993431GzfaDt','ktJco','bDSSn','SaWWH','dHItN','pLvdq','GsxyZ','230VDvbAh','iCFrT','vUwnD','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','1287TorsyT','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','TALKACTIVE','talkativeList','LQVfa','ceil','strong_newbie','toString','genBkn','description','OyEYF','https://qun.qq.com/interactive/honorlist?gc=','HttpGetJson',';\x20p_uin=o','ALL','now','legend_list','lcjQQ','PrDzI','uBsbY','eorCd','&end=','ASKXU','qftAd','emotion_list','gIqlf','MuwCq','YPbpj','evIlz','talkative_list','WIyjR','umwro','qUcBv','jGuzV','cRFOW','EMOTION','mems','match','GroupData'];_0x468b=function(){return _0x476b0e;};return _0x468b();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x3042(_0x381c35,_0xb3a986){const _0x468bb4=_0x468b();return _0x3042=function(_0x30422f,_0x5af13d){_0x30422f=_0x30422f-0x19e;let _0x47db20=_0x468bb4[_0x30422f];return _0x47db20;},_0x3042(_0x381c35,_0xb3a986);}export var WebHonorType;(function(_0x1f5d83){const _0x5c538f=_0x3042,_0x50344f={'csbBF':_0x5c538f(0x1ac),'FwqNX':_0x5c538f(0x1f6),'dkGsN':_0x5c538f(0x220),'ofPCQ':'LEGEND','bchJu':'STORONGE_NEWBI'};_0x1f5d83[_0x5c538f(0x202)]=_0x50344f[_0x5c538f(0x1a8)],_0x1f5d83[_0x50344f[_0x5c538f(0x1c3)]]=_0x50344f[_0x5c538f(0x225)],_0x1f5d83[_0x5c538f(0x1b2)]=_0x5c538f(0x1e7),_0x1f5d83[_0x50344f['ofPCQ']]='legend',_0x1f5d83[_0x50344f[_0x5c538f(0x1b0)]]=_0x5c538f(0x1fa),_0x1f5d83[_0x5c538f(0x217)]='emotion';}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x386c2b,_0x9d714c){const _0x58950a=_0x3042,_0x5bc642={'Cbtrk':'qun.qq.com','SrZwZ':function(_0x145eed,_0x2f13b1){return _0x145eed+_0x2f13b1;},'YPbpj':function(_0x2406eb,_0x578ada){return _0x2406eb+_0x578ada;},'OdndI':function(_0x34f266,_0x50a32e){return _0x34f266+_0x50a32e;},'ATnxe':_0x58950a(0x1d0),'uBsbY':';\x20skey=','yvjOu':_0x58950a(0x201),'SaWWH':function(_0x45d013,_0x152f27){return _0x45d013||_0x152f27;},'kSnXS':_0x58950a(0x1c2),'xPjEe':'GET','JzBJs':function(_0x5e6ffd,_0x34ea65){return _0x5e6ffd!==_0x34ea65;}},_0x27a80f=(await NTQQUserApi[_0x58950a(0x1cd)]([_0x5bc642['Cbtrk']]))[_0x5bc642[_0x58950a(0x1e1)]],_0x3fb303=await NTQQUserApi[_0x58950a(0x1ae)](),_0x1d4ec5=_0x5bc642['SrZwZ'](_0x5bc642[_0x58950a(0x20f)](_0x5bc642[_0x58950a(0x20f)](_0x5bc642[_0x58950a(0x1da)](_0x5bc642[_0x58950a(0x1da)](_0x5bc642[_0x58950a(0x22d)],_0x27a80f),_0x5bc642[_0x58950a(0x207)]),_0x3fb303),_0x5bc642[_0x58950a(0x1d6)])+selfInfo[_0x58950a(0x1ab)]+_0x58950a(0x1cc),selfInfo[_0x58950a(0x1ab)]);if(_0x5bc642[_0x58950a(0x1ec)](!_0x3fb303,!_0x27a80f))return undefined;const _0x9ad7e6=WebApi['genBkn'](_0x3fb303),_0x4ef87f=_0x5bc642['YPbpj'](_0x5bc642['YPbpj'](_0x5bc642[_0x58950a(0x1c0)](_0x58950a(0x1f5)+_0x9ad7e6,_0x58950a(0x1c5)),_0x386c2b),_0x58950a(0x1e5))+_0x9d714c+_0x5bc642[_0x58950a(0x1c9)];let _0x324503;try{_0x324503=await RequestUtil['HttpGetJson'](_0x4ef87f,_0x5bc642[_0x58950a(0x1d3)],'',{'Cookie':_0x1d4ec5});}catch{return undefined;}if(_0x5bc642[_0x58950a(0x1b5)](_0x324503[_0x58950a(0x1a3)],0x0))return undefined;return _0x324503;}static async[_0xd8e8d7(0x1d7)](_0x3b992f,_0x2d2a6e=!![]){const _0x1d3d88=_0xd8e8d7,_0x44e0fc={'hrpRJ':function(_0x54ce7c,_0x2d3f53){return _0x54ce7c>_0x2d3f53;},'umwro':function(_0x11946f,_0xd8b355){return _0x11946f-_0xd8b355;},'rGFDu':function(_0x5503ed,_0x4d2bc4){return _0x5503ed*_0x4d2bc4;},'QUItH':'qun.qq.com','evIlz':function(_0x6d4ede,_0x1498ea){return _0x6d4ede+_0x1498ea;},'dHItN':function(_0x5305d2,_0x3af81b){return _0x5305d2+_0x3af81b;},'LsBgu':_0x1d3d88(0x1d0),'iCFrT':_0x1d3d88(0x1a4),'mxoLu':function(_0x5827a2,_0x5ecb30){return _0x5827a2||_0x5ecb30;},'vdiBC':function(_0x4ccba4,_0x537f5e){return _0x4ccba4+_0x537f5e;},'pLvdq':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','WrIjG':'&bkn=','ktJco':_0x1d3d88(0x1bd),'nDTcf':function(_0x4064a4,_0x3ae814){return _0x4064a4<=_0x3ae814;},'eorCd':function(_0x2f32f5,_0x161c1d){return _0x2f32f5+_0x161c1d;},'DOXoo':function(_0x1202b0,_0xed0a7f){return _0x1202b0+_0xed0a7f;},'cRFOW':function(_0x543551,_0x5eec79){return _0x543551*_0x5eec79;},'LQVfa':_0x1d3d88(0x209),'ASKXU':_0x1d3d88(0x1a2),'SRbef':function(_0x4fa8d1,_0x339937){return _0x4fa8d1<=_0x339937;},'Xgoqc':function(_0x193ec9,_0x5c6751){return _0x193ec9!==_0x5c6751;}};let _0x364a77=new Array();try{let _0x3c7662=WebGroupData['GroupData'][_0x1d3d88(0x224)](_0x3b992f),_0x5e7390=WebGroupData['GroupTime']['get'](_0x3b992f);if(!_0x5e7390||_0x44e0fc[_0x1d3d88(0x1e8)](_0x44e0fc[_0x1d3d88(0x213)](Date['now'](),_0x5e7390),_0x44e0fc['rGFDu'](0x708,0x3e8))||!_0x2d2a6e){const _0x2d63a7=(await NTQQUserApi['getPSkey']([_0x44e0fc[_0x1d3d88(0x1a9)]]))[_0x44e0fc[_0x1d3d88(0x1a9)]],_0x2c4124=await NTQQUserApi[_0x1d3d88(0x1ae)](),_0x9e530a=_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc['dHItN'](_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc['LsBgu'],_0x2d63a7),_0x44e0fc[_0x1d3d88(0x1f1)]),_0x2c4124)+_0x1d3d88(0x201),selfInfo[_0x1d3d88(0x1ab)]);if(_0x44e0fc[_0x1d3d88(0x1d2)](!_0x2c4124,!_0x2d63a7))return _0x364a77;const _0x3b8c31=WebApi['genBkn'](_0x2c4124),_0x11b433=[],_0x2ce9da=await RequestUtil['HttpGetJson'](_0x44e0fc[_0x1d3d88(0x1ed)](_0x44e0fc['vdiBC'](_0x44e0fc[_0x1d3d88(0x1ee)]+_0x3b992f,_0x44e0fc[_0x1d3d88(0x19f)]),_0x3b8c31),_0x44e0fc[_0x1d3d88(0x1ea)],'',{'Cookie':_0x9e530a});if(!_0x2ce9da?.[_0x1d3d88(0x1b7)]||_0x2ce9da?.[_0x1d3d88(0x1dd)]!==0x0||!_0x2ce9da?.[_0x1d3d88(0x218)])return[];else for(const _0x5619a6 in _0x2ce9da[_0x1d3d88(0x218)]){_0x364a77[_0x1d3d88(0x1a6)](_0x2ce9da[_0x1d3d88(0x218)][_0x5619a6]);}const _0x353388=Math[_0x1d3d88(0x1f9)](_0x2ce9da[_0x1d3d88(0x1b7)]/0x28);for(let _0x200880=0x2;_0x44e0fc[_0x1d3d88(0x21d)](_0x200880,_0x353388);_0x200880++){const _0x49e6ce=RequestUtil[_0x1d3d88(0x200)](_0x44e0fc['dHItN'](_0x44e0fc['dHItN'](_0x44e0fc[_0x1d3d88(0x208)](_0x44e0fc[_0x1d3d88(0x1e0)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st='+_0x44e0fc[_0x1d3d88(0x216)](_0x44e0fc[_0x1d3d88(0x213)](_0x200880,0x1),0x28)+_0x44e0fc[_0x1d3d88(0x1f8)]+_0x44e0fc[_0x1d3d88(0x216)](_0x200880,0x28),_0x44e0fc[_0x1d3d88(0x20a)]),_0x3b992f),_0x1d3d88(0x1c8)),_0x3b8c31),_0x44e0fc['ktJco'],'',{'Cookie':_0x9e530a});_0x11b433[_0x1d3d88(0x1a6)](_0x49e6ce);}for(let _0x32d1fb=0x1;_0x44e0fc['SRbef'](_0x32d1fb,_0x353388);_0x32d1fb++){const _0x2f10b3=await _0x11b433[_0x32d1fb];if(!_0x2f10b3?.['count']||_0x44e0fc[_0x1d3d88(0x1bf)](_0x2f10b3?.['errcode'],0x0)||!_0x2f10b3?.[_0x1d3d88(0x218)])continue;for(const _0x10c928 in _0x2f10b3[_0x1d3d88(0x218)]){_0x364a77[_0x1d3d88(0x1a6)](_0x2f10b3['mems'][_0x10c928]);}}WebGroupData[_0x1d3d88(0x21a)][_0x1d3d88(0x1e2)](_0x3b992f,_0x364a77),WebGroupData[_0x1d3d88(0x22f)][_0x1d3d88(0x1e2)](_0x3b992f,Date[_0x1d3d88(0x203)]());}else _0x364a77=_0x3c7662;}catch{return _0x364a77;}return _0x364a77;}static async[_0xd8e8d7(0x21f)](_0x108fb9,_0x2ad126=''){const _0x1d0f32=_0xd8e8d7,_0x37cb45={'OnobU':_0x1d0f32(0x1de),'xFvdW':function(_0x1a6ab7,_0x14344b){return _0x1a6ab7+_0x14344b;},'bDSSn':function(_0x25e137,_0x50b8c4){return _0x25e137+_0x50b8c4;},'PrDzI':function(_0x15d636,_0x18c926){return _0x15d636+_0x18c926;},'ubXNN':function(_0xd5197b,_0x511ab3){return _0xd5197b+_0x511ab3;},'uQlqO':_0x1d0f32(0x1a4),'JuNdN':_0x1d0f32(0x201),'vrYhU':function(_0x47038c,_0x199bb4){return _0x47038c||_0x199bb4;},'WIyjR':function(_0x3b9ee1,_0x46703d){return _0x3b9ee1+_0x46703d;},'eupBK':function(_0x5be08b,_0x57b8b6){return _0x5be08b+_0x57b8b6;},'ijpAD':function(_0x477921,_0x211492){return _0x477921+_0x211492;},'AagdB':_0x1d0f32(0x1bc),'oUbUx':_0x1d0f32(0x22b),'fLJHC':function(_0x5102ab,_0x435d36){return _0x5102ab+_0x435d36;},'NpQLI':_0x1d0f32(0x19e),'RAhjy':'GET'},_0x54c1bc=(await NTQQUserApi[_0x1d0f32(0x1cd)]([_0x1d0f32(0x1de)]))[_0x37cb45['OnobU']],_0x512dcd=await NTQQUserApi[_0x1d0f32(0x1ae)](),_0x51b574=_0x37cb45[_0x1d0f32(0x1a0)](_0x37cb45[_0x1d0f32(0x1eb)](_0x37cb45[_0x1d0f32(0x206)](_0x37cb45[_0x1d0f32(0x22a)]('p_skey=',_0x54c1bc),_0x37cb45[_0x1d0f32(0x1c7)]),_0x512dcd),_0x37cb45['JuNdN'])+selfInfo[_0x1d0f32(0x1ab)];let _0x1c33fa=undefined;if(_0x37cb45[_0x1d0f32(0x21c)](!_0x512dcd,!_0x54c1bc))return undefined;const _0x40960c=WebApi[_0x1d0f32(0x1fc)](_0x512dcd),_0x5782bf=_0x37cb45[_0x1d0f32(0x212)](_0x37cb45['eupBK'](_0x37cb45['PrDzI'](_0x37cb45['ijpAD'](_0x37cb45['WIyjR'](_0x37cb45[_0x1d0f32(0x1b4)]+_0x108fb9,_0x1d0f32(0x1c8)),_0x40960c),_0x1d0f32(0x228)),_0x2ad126),_0x37cb45[_0x1d0f32(0x1ce)]),_0x236043=_0x37cb45['fLJHC'](_0x37cb45['NpQLI'],_0x40960c);try{return _0x1c33fa=await RequestUtil[_0x1d0f32(0x200)](_0x236043,_0x37cb45[_0x1d0f32(0x1b8)],'',{'Cookie':_0x51b574}),_0x1c33fa;}catch(_0x3cca0c){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2f5934){const _0x41e3c2=_0xd8e8d7,_0x1338a2={'GoKSj':_0x41e3c2(0x1de),'epZfa':function(_0x4f6066,_0x15466b){return _0x4f6066+_0x15466b;},'ziJvC':function(_0x477f0f,_0x2764fc){return _0x477f0f+_0x2764fc;},'lcjQQ':function(_0x2da8b4,_0x43cfda){return _0x2da8b4+_0x43cfda;},'KglOY':'p_skey=','KRWWM':_0x41e3c2(0x1a4),'WPEvO':function(_0x2d32d2,_0x1c55e3){return _0x2d32d2||_0x1c55e3;},'jzNBU':function(_0xfef5ca,_0x4a6696){return _0xfef5ca+_0x4a6696;},'oWBoe':function(_0x46cb90,_0x2f74e5){return _0x46cb90+_0x2f74e5;},'sLYNE':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','LcOpI':'&qid=','MIRhu':_0x41e3c2(0x1f3),'lLErc':'GET','JYQwQ':function(_0x19c1ac,_0x4e36c2){return _0x19c1ac!==_0x4e36c2;}},_0x297e08=(await NTQQUserApi[_0x41e3c2(0x1cd)]([_0x41e3c2(0x1de)]))[_0x1338a2['GoKSj']],_0x2b909c=await NTQQUserApi[_0x41e3c2(0x1ae)](),_0xd88633=_0x1338a2[_0x41e3c2(0x221)](_0x1338a2[_0x41e3c2(0x1d5)](_0x1338a2[_0x41e3c2(0x205)](_0x1338a2[_0x41e3c2(0x1af)]+_0x297e08,_0x1338a2['KRWWM']),_0x2b909c)+';\x20p_uin=o',selfInfo[_0x41e3c2(0x1ab)]);let _0x131c5e=undefined;if(_0x1338a2['WPEvO'](!_0x2b909c,!_0x297e08))return undefined;const _0x5b0ea1=WebApi[_0x41e3c2(0x1fc)](_0x2b909c),_0x5efd6d=_0x1338a2[_0x41e3c2(0x226)](_0x1338a2[_0x41e3c2(0x1d4)](_0x1338a2['sLYNE']+_0x5b0ea1+_0x1338a2[_0x41e3c2(0x1b6)],_0x2f5934),_0x1338a2[_0x41e3c2(0x1b1)]);try{_0x131c5e=await RequestUtil['HttpGetJson'](_0x5efd6d,_0x1338a2['lLErc'],'',{'Cookie':_0xd88633});if(_0x1338a2[_0x41e3c2(0x1d9)](_0x131c5e?.['ec'],0x0))return undefined;return _0x131c5e;}catch(_0x5514fc){return undefined;}return undefined;}static[_0xd8e8d7(0x1fc)](_0x5ca7a5){const _0x49fdbf=_0xd8e8d7,_0x3b4b4a={'DPRjz':function(_0x22d69f,_0x591202){return _0x22d69f<_0x591202;},'YeZhM':function(_0x1ab190,_0x2a7e6f){return _0x1ab190+_0x2a7e6f;},'qUcBv':function(_0xb1825f,_0x558df7){return _0xb1825f<<_0x558df7;}};_0x5ca7a5=_0x5ca7a5||'';let _0x5622a1=0x1505;for(let _0x2e21e8=0x0;_0x3b4b4a[_0x49fdbf(0x1c6)](_0x2e21e8,_0x5ca7a5['length']);_0x2e21e8++){const _0x52ce60=_0x5ca7a5['charCodeAt'](_0x2e21e8);_0x5622a1=_0x3b4b4a[_0x49fdbf(0x1db)](_0x5622a1,_0x3b4b4a[_0x49fdbf(0x214)](_0x5622a1,0x5))+_0x52ce60;}return(_0x5622a1&0x7fffffff)[_0x49fdbf(0x1fb)]();}static async['getGroupHonorInfo'](_0x138b03,_0x47ad12){const _0x2cb2db=_0xd8e8d7,_0x4d097e={'iuoEV':function(_0x2d9b90,_0x34c990){return _0x2d9b90+_0x34c990;},'wiyRw':'&type=','OyEYF':_0x2cb2db(0x1b9),'CUYwM':function(_0x11d515,_0x426d46){return _0x11d515===_0x426d46;},'gIqlf':_0x2cb2db(0x1ad),'izKMl':_0x2cb2db(0x1de),'fhpPJ':function(_0x5cc03f,_0xc3c2){return _0x5cc03f||_0xc3c2;},'AZndg':function(_0x317f9c,_0x4a8d7f){return _0x317f9c+_0x4a8d7f;},'jGuzV':function(_0x4520c9,_0x439fd2){return _0x4520c9+_0x439fd2;},'qftAd':function(_0x2734c3,_0x1e2a14){return _0x2734c3+_0x1e2a14;},'MuwCq':_0x2cb2db(0x1d0),'JktEf':_0x2cb2db(0x1a4),'MoLVM':';\x20p_uin=o','ADCTQ':_0x2cb2db(0x1cc),'lYFTi':function(_0x156615,_0xec28b){return _0x156615===_0xec28b;},'MvJdX':function(_0x5f3bab,_0x231d39,_0x420f95){return _0x5f3bab(_0x231d39,_0x420f95);},'iYpjf':'获取龙王信息失败','vUwnD':function(_0x37f7da,_0x435768){return _0x37f7da(_0x435768);},'oRxoe':'获取群聊之火失败','rXkan':function(_0x2debac,_0x52a272){return _0x2debac===_0x52a272;},'YAjMG':_0x2cb2db(0x1e6),'Zthpv':function(_0x313a91,_0x37fff2,_0x63d565){return _0x313a91(_0x37fff2,_0x63d565);},'GsxyZ':'获取快乐源泉失败','tzKTD':function(_0x20b78a,_0x19a36b){return _0x20b78a===_0x19a36b;},'ulbgz':function(_0x52fcf3,_0x3c7663){return _0x52fcf3===_0x3c7663;}},_0x202594=(await NTQQUserApi['getPSkey']([_0x4d097e[_0x2cb2db(0x1a1)]]))[_0x4d097e['izKMl']],_0x43145f=await NTQQUserApi['getSkey']();if(_0x4d097e['fhpPJ'](!_0x43145f,!_0x202594))return undefined;async function _0x1b4de6(_0x470f01,_0x42aa91){const _0x1d5ac7=_0x2cb2db;let _0x14ec66=_0x4d097e['iuoEV'](_0x4d097e[_0x1d5ac7(0x1c4)](_0x1d5ac7(0x1ff)+_0x470f01,_0x4d097e[_0x1d5ac7(0x1cb)]),_0x42aa91[_0x1d5ac7(0x1fb)]()),_0x3f22d4='',_0x3f98d4;try{_0x3f22d4=await RequestUtil[_0x1d5ac7(0x1a7)](_0x14ec66,_0x4d097e[_0x1d5ac7(0x1fe)],'',{'Cookie':_0x254bfb});const _0x106b33=_0x3f22d4[_0x1d5ac7(0x219)](/window\.__INITIAL_STATE__=(.*?);/);return _0x106b33&&(_0x3f98d4=JSON['parse'](_0x106b33[0x1][_0x1d5ac7(0x1a5)]())),_0x4d097e['CUYwM'](_0x42aa91,0x1)?_0x3f98d4?.[_0x1d5ac7(0x1f7)]:_0x3f98d4?.[_0x1d5ac7(0x1d8)];}catch(_0x1da258){logDebug(_0x4d097e[_0x1d5ac7(0x20d)],_0x14ec66,_0x1da258);}return undefined;}let _0x447119={'group_id':_0x138b03};const _0x254bfb=_0x4d097e[_0x2cb2db(0x1c4)](_0x4d097e['iuoEV'](_0x4d097e[_0x2cb2db(0x229)](_0x4d097e[_0x2cb2db(0x229)](_0x4d097e[_0x2cb2db(0x215)](_0x4d097e[_0x2cb2db(0x20b)](_0x4d097e[_0x2cb2db(0x20e)],_0x202594)+_0x4d097e[_0x2cb2db(0x1be)],_0x43145f),_0x4d097e[_0x2cb2db(0x1df)]),selfInfo['uin']),_0x4d097e['ADCTQ']),selfInfo[_0x2cb2db(0x1ab)]);if(_0x4d097e[_0x2cb2db(0x1ba)](_0x47ad12,WebHonorType[_0x2cb2db(0x1f6)])||_0x4d097e['lYFTi'](_0x47ad12,WebHonorType['ALL']))try{let _0x314b7b=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x1);if(!_0x314b7b)throw new Error(_0x4d097e['iYpjf']);_0x447119['current_talkative']={'user_id':_0x314b7b[0x0]?.[_0x2cb2db(0x1ab)],'avatar':_0x314b7b[0x0]?.['avatar'],'nickname':_0x314b7b[0x0]?.[_0x2cb2db(0x22c)],'day_count':0x0,'description':_0x314b7b[0x0]?.[_0x2cb2db(0x1c1)]},_0x447119[_0x2cb2db(0x211)]=[];for(const _0x15d525 of _0x314b7b){_0x447119[_0x2cb2db(0x211)][_0x2cb2db(0x1a6)]({'user_id':_0x15d525?.['uin'],'avatar':_0x15d525?.[_0x2cb2db(0x1e3)],'description':_0x15d525?.[_0x2cb2db(0x1c1)],'day_count':0x0,'nickname':_0x15d525?.[_0x2cb2db(0x22c)]});}}catch(_0x1bcf04){_0x4d097e[_0x2cb2db(0x1f2)](logDebug,_0x1bcf04);}if(_0x47ad12===WebHonorType[_0x2cb2db(0x1b2)]||_0x47ad12===WebHonorType[_0x2cb2db(0x202)])try{let _0x222384=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x2);if(!_0x222384)throw new Error(_0x4d097e[_0x2cb2db(0x1b3)]);_0x447119['performer_list']=[];for(const _0x1f28f9 of _0x222384){_0x447119[_0x2cb2db(0x21b)][_0x2cb2db(0x1a6)]({'user_id':_0x1f28f9?.[_0x2cb2db(0x1ab)],'nickname':_0x1f28f9?.[_0x2cb2db(0x22c)],'avatar':_0x1f28f9?.[_0x2cb2db(0x1e3)],'description':_0x1f28f9?.[_0x2cb2db(0x1c1)]});}}catch(_0x18bb2f){_0x4d097e[_0x2cb2db(0x1f2)](logDebug,_0x18bb2f);}if(_0x47ad12===WebHonorType['PERFROMER']||_0x4d097e[_0x2cb2db(0x1ca)](_0x47ad12,WebHonorType['ALL']))try{let _0x458a3f=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x3);if(!_0x458a3f)throw new Error(_0x4d097e[_0x2cb2db(0x222)]);_0x447119['legend_list']=[];for(const _0x2adfb5 of _0x458a3f){_0x447119[_0x2cb2db(0x204)][_0x2cb2db(0x1a6)]({'user_id':_0x2adfb5?.[_0x2cb2db(0x1ab)],'nickname':_0x2adfb5?.[_0x2cb2db(0x22c)],'avatar':_0x2adfb5?.[_0x2cb2db(0x1e3)],'desc':_0x2adfb5?.['description']});}}catch(_0x5a01d0){_0x4d097e['Zthpv'](logDebug,_0x4d097e['YAjMG'],_0x5a01d0);}if(_0x4d097e[_0x2cb2db(0x1ca)](_0x47ad12,WebHonorType[_0x2cb2db(0x217)])||_0x4d097e[_0x2cb2db(0x1ba)](_0x47ad12,WebHonorType[_0x2cb2db(0x202)]))try{let _0x15e5d0=await _0x4d097e['MvJdX'](_0x1b4de6,_0x138b03,0x6);if(!_0x15e5d0)throw new Error(_0x4d097e[_0x2cb2db(0x1ef)]);_0x447119[_0x2cb2db(0x20c)]=[];for(const _0x2dc20a of _0x15e5d0){_0x447119[_0x2cb2db(0x20c)][_0x2cb2db(0x1a6)]({'user_id':_0x2dc20a?.[_0x2cb2db(0x1ab)],'nickname':_0x2dc20a?.[_0x2cb2db(0x22c)],'avatar':_0x2dc20a?.['avatar'],'desc':_0x2dc20a?.[_0x2cb2db(0x1fd)]});}}catch(_0x22fd37){_0x4d097e[_0x2cb2db(0x1dc)](logDebug,_0x4d097e[_0x2cb2db(0x1ef)],_0x22fd37);}return(_0x4d097e[_0x2cb2db(0x1cf)](_0x47ad12,WebHonorType[_0x2cb2db(0x217)])||_0x4d097e[_0x2cb2db(0x22e)](_0x47ad12,WebHonorType[_0x2cb2db(0x202)]))&&(_0x447119[_0x2cb2db(0x230)]=[]),_0x447119;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index fe40862c..e11e5c64 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x156443=_0xd320;(function(_0x2613dc,_0x5942e2){const _0x7f38bb=_0xd320,_0x21c862=_0x2613dc();while(!![]){try{const _0x55332b=parseInt(_0x7f38bb(0x23d))/0x1*(parseInt(_0x7f38bb(0x192))/0x2)+parseInt(_0x7f38bb(0x1c1))/0x3+parseInt(_0x7f38bb(0x1db))/0x4*(parseInt(_0x7f38bb(0x1a0))/0x5)+-parseInt(_0x7f38bb(0x242))/0x6+parseInt(_0x7f38bb(0x234))/0x7*(parseInt(_0x7f38bb(0x202))/0x8)+parseInt(_0x7f38bb(0x20b))/0x9+parseInt(_0x7f38bb(0x211))/0xa*(parseInt(_0x7f38bb(0x20d))/0xb);if(_0x55332b===_0x5942e2)break;else _0x21c862['push'](_0x21c862['shift']());}catch(_0x58fb2b){_0x21c862['push'](_0x21c862['shift']());}}}(_0x242d,0x4c9c7));import _0x5d58f4 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5b445e from'node:path';import _0x4a8d1f from'node:os';import _0x2f70a6 from'node:fs';function _0xd320(_0x544e10,_0x1e0914){const _0x242df8=_0x242d();return _0xd320=function(_0xd3202d,_0x1b966a){_0xd3202d=_0xd3202d-0x183;let _0x20f8b6=_0x242df8[_0xd3202d];return _0x20f8b6;},_0xd320(_0x544e10,_0x1e0914);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1c3c92 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x156443(0x19d)];[_0x156443(0x1fb)];[_0x156443(0x1d9)];[_0x156443(0x1e6)];['loginService'];[_0x156443(0x21e)]=[];[_0x156443(0x19c)]={'get'(target,prop,receiver){const _0x593c1f=_0x156443,JaYGrc={'uHjCQ':function(callee,param1){return callee(param1);},'TqnVz':function(x,y){return x===y;}};if(JaYGrc[_0x593c1f(0x1ac)](typeof target[prop],_0x593c1f(0x1a6)))return(...args)=>{const _0x5f9fb1=_0x593c1f;JaYGrc[_0x5f9fb1(0x189)](logDebug,target[_0x5f9fb1(0x18a)]['name']+_0x5f9fb1(0x1d3)+prop);};return Reflect[_0x593c1f(0x208)](target,prop,receiver);}};constructor(){const _0x3f5b73=_0x156443,_0x17fbbb={'fJctO':function(_0x1016a9,_0x593527){return _0x1016a9+_0x593527;},'FAVVp':_0x3f5b73(0x23e),'jQDJR':_0x3f5b73(0x237),'aKGTj':function(_0x30e04e,_0x595d54,_0x203e99){return _0x30e04e(_0x595d54,_0x203e99);},'BDzyJ':function(_0x499b5c,_0x3a5ed2){return _0x499b5c instanceof _0x3a5ed2;},'ndPik':_0x3f5b73(0x1f1),'hmubS':function(_0x3eb785,_0x59af2c,_0x537841){return _0x3eb785(_0x59af2c,_0x537841);},'ONxhv':function(_0x5cef77,_0xb89ce3){return _0x5cef77==_0xb89ce3;},'ugYfC':function(_0x56a6fe,_0x6870ba,_0x2082c3){return _0x56a6fe(_0x6870ba,_0x2082c3);}};this['engine']=new _0x5d58f4[(_0x3f5b73(0x241))](),this[_0x3f5b73(0x1fb)]=new _0x5d58f4['NodeQQNTWrapperUtil'](),this['loginService']=new _0x5d58f4[(_0x3f5b73(0x20e))](),this[_0x3f5b73(0x19d)]=new _0x5d58f4['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this[_0x3f5b73(0x1e6)][_0x3f5b73(0x233)]=_0x1ece2d=>{const _0x459b25=_0x3f5b73;logError(_0x17fbbb[_0x459b25(0x240)](_0x17fbbb[_0x459b25(0x20c)]+_0x1ece2d,_0x17fbbb[_0x459b25(0x216)]));},this['loginListener']['onQRCodeLoginSucceed']=_0xf9c284=>{const _0x376c56=_0x3f5b73,_0x523a3e={'xHLUz':function(_0x207313,_0x5196d1,_0x670848){return _0x207313(_0x5196d1,_0x670848);},'ZNjys':'数据库初始化失败','eDfup':function(_0x4fa940,_0xf274ab){return _0x17fbbb['BDzyJ'](_0x4fa940,_0xf274ab);},'VaRMQ':function(_0x27042a,_0x36f09a,_0x534631){return _0x27042a(_0x36f09a,_0x534631);},'OpDYC':function(_0x18bbc0,_0x28aec0){return _0x18bbc0(_0x28aec0);},'cDnRq':_0x17fbbb[_0x376c56(0x1cf)]};this[_0x376c56(0x1ed)](_0xf9c284[_0x376c56(0x206)],_0xf9c284[_0x376c56(0x215)])[_0x376c56(0x23f)](_0x5b7124=>{const _0x53a1cb=_0x376c56,_0x422f06={'AqHuB':function(_0x149bcb,_0x359184,_0x3f3aed){return _0x149bcb(_0x359184,_0x3f3aed);},'QVYIj':function(_0x2cf939,_0x1fb288){const _0x1761d2=_0xd320;return _0x523a3e[_0x1761d2(0x1c6)](_0x2cf939,_0x1fb288);}};selfInfo[_0x53a1cb(0x206)]=_0xf9c284[_0x53a1cb(0x206)],selfInfo[_0x53a1cb(0x215)]=_0xf9c284[_0x53a1cb(0x215)],napCatConfig[_0x53a1cb(0x19a)](),_0x523a3e['VaRMQ'](setLogLevel,napCatConfig[_0x53a1cb(0x1bb)],napCatConfig[_0x53a1cb(0x22a)]),_0x523a3e['OpDYC'](enableFileLog,napCatConfig[_0x53a1cb(0x184)]),_0x523a3e[_0x53a1cb(0x1f4)](enableConsoleLog,napCatConfig[_0x53a1cb(0x1f8)]),setLogSelfInfo(selfInfo);const _0x2428da=_0x5b445e[_0x53a1cb(0x1a5)](this[_0x53a1cb(0x1fd)],_0x53a1cb(0x188));_0x2f70a6['mkdirSync'](_0x2428da,{'recursive':!![]}),logDebug(_0x523a3e[_0x53a1cb(0x198)],_0x2428da),dbUtil[_0x53a1cb(0x217)](_0x5b445e[_0x53a1cb(0x1a5)](_0x2428da,'./'+_0xf9c284[_0x53a1cb(0x206)]+_0x53a1cb(0x1ca)))['then'](()=>{const _0x50e3e2=_0x53a1cb,_0x118ef3={'rgNTJ':function(_0x2ab78c,_0x5709e0,_0x190964){const _0x1a4f9c=_0xd320;return _0x422f06[_0x1a4f9c(0x1af)](_0x2ab78c,_0x5709e0,_0x190964);},'cUnOV':function(_0x3a71af,_0x2ae618){const _0x2e3ad8=_0xd320;return _0x422f06[_0x2e3ad8(0x201)](_0x3a71af,_0x2ae618);}};this[_0x50e3e2(0x1d7)](),this[_0x50e3e2(0x21e)][_0x50e3e2(0x1b2)](_0x348515=>{const _0x4e2d23=_0x50e3e2;new Promise((_0x2952b8,_0xfeb2de)=>{const _0x52d4f5=_0xd320,_0x3209bf=_0x118ef3[_0x52d4f5(0x1e4)](_0x348515,_0xf9c284[_0x52d4f5(0x206)],_0xf9c284['uid']);_0x118ef3[_0x52d4f5(0x1eb)](_0x3209bf,Promise)&&_0x3209bf['then'](_0x2952b8)[_0x52d4f5(0x1b5)](_0xfeb2de);})[_0x4e2d23(0x23f)]();});})[_0x53a1cb(0x1b5)](_0xe1ef0a=>{const _0x287c32=_0x53a1cb;_0x523a3e[_0x287c32(0x1e3)](logError,_0x523a3e[_0x287c32(0x1c7)],_0xe1ef0a);});})[_0x376c56(0x1b5)](_0x2da2d6=>{const _0xcb08b7=_0x376c56;_0x17fbbb[_0xcb08b7(0x204)](logError,'initSession\x20failed',_0x2da2d6);throw new Error(_0xcb08b7(0x1ec)+JSON[_0xcb08b7(0x21c)](_0x2da2d6));});},this['loginListener']['onQRCodeSessionFailed']=(_0x28bf20,_0x15cdb7,_0x552b47)=>{const _0x133b07=_0x3f5b73;_0x17fbbb[_0x133b07(0x1f2)](logError,_0x133b07(0x22e),_0x552b47),_0x17fbbb[_0x133b07(0x1f3)](_0x28bf20,0x1)&&_0x15cdb7==0x3&&this[_0x133b07(0x1f5)][_0x133b07(0x1c9)]();},this[_0x3f5b73(0x1e6)][_0x3f5b73(0x248)]=_0x263661=>{const _0x117fff=_0x3f5b73;_0x17fbbb['ugYfC'](logError,_0x117fff(0x22e),_0x263661);},this['loginListener']=new Proxy(this[_0x3f5b73(0x1e6)],this[_0x3f5b73(0x19c)]),this[_0x3f5b73(0x1f5)][_0x3f5b73(0x245)](new _0x5d58f4[(_0x3f5b73(0x239))](this['loginListener'])),this['initConfig']();}get[_0x156443(0x1fd)](){const _0x45f1b3=_0x156443,_0x490c66={'nZEXm':_0x45f1b3(0x19e)};let _0x39e657=this[_0x45f1b3(0x1fb)]['getNTUserDataInfoConfig']();return!_0x39e657&&(_0x39e657=_0x5b445e[_0x45f1b3(0x1a5)](_0x4a8d1f['homedir'](),_0x490c66[_0x45f1b3(0x23b)]),_0x2f70a6[_0x45f1b3(0x210)](_0x39e657,{'recursive':!![]})),_0x39e657;}get[_0x156443(0x221)](){const _0x316123=_0x156443,_0xd1cef0={'bmVQT':_0x316123(0x230)};return _0x5b445e['resolve'](this['dataPath'],_0xd1cef0[_0x316123(0x1f0)]);}[_0x156443(0x1bd)](){const _0x41c71b=_0x156443,_0x1b6b42={'pdrGr':_0x41c71b(0x227)};this[_0x41c71b(0x1d9)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x41c71b(0x222)],'os_version':_0x1b6b42[_0x41c71b(0x236)],'use_xlog':!![],'qua':_0x41c71b(0x19b)+qqVersionConfigInfo[_0x41c71b(0x222)][_0x41c71b(0x191)]('-','_')+_0x41c71b(0x22f),'global_path_config':{'desktopGlobalPath':this[_0x41c71b(0x221)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5d58f4[(_0x41c71b(0x212))](new GlobalAdapter())),this[_0x41c71b(0x1f5)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x41c71b(0x221)],'clientVer':qqVersionConfigInfo[_0x41c71b(0x222)],'hostName':hostname});}[_0x156443(0x1ed)](_0x913e2,_0x44ce61){const _0x2add6f={'EEqZc':function(_0x12bc51,_0x523d63){return _0x12bc51===_0x523d63;},'FDQZC':function(_0x26b0b3,_0x4f06cc,_0x7a53ed,_0x351ba1){return _0x26b0b3(_0x4f06cc,_0x7a53ed,_0x351ba1);}};return new Promise((_0x2be04c,_0x59cb56)=>{const _0x225777=_0xd320,_0x2a9982={'eEtie':function(_0x558b1f,_0x500d59){const _0x1d1f54=_0xd320;return _0x2add6f[_0x1d1f54(0x23a)](_0x558b1f,_0x500d59);}},_0x6e4ef6=_0x2add6f[_0x225777(0x1b3)](genSessionConfig,_0x913e2,_0x44ce61,this[_0x225777(0x1fd)]),_0x13800f=new SessionListener();_0x13800f[_0x225777(0x1c0)]=_0x1049de=>{if(_0x2a9982['eEtie'](_0x1049de,0x0))return _0x2be04c(0x0);_0x59cb56(_0x1049de);},this[_0x225777(0x19d)][_0x225777(0x217)](_0x6e4ef6,new _0x5d58f4[(_0x225777(0x1ee))](new DependsAdapter()),new _0x5d58f4[(_0x225777(0x18b))](new DispatcherAdapter()),new _0x5d58f4[(_0x225777(0x1b4))](_0x13800f));try{this[_0x225777(0x19d)][_0x225777(0x1e1)](0x0);}catch(_0x37f273){try{this[_0x225777(0x19d)][_0x225777(0x1e1)]();}catch(_0x30b2a3){_0x59cb56(_0x225777(0x1aa)+_0x30b2a3);}}});}[_0x156443(0x1d7)](){const _0x38e021=_0x156443,_0x17180b={'qZsVB':function(_0x56b433,_0x534580){return _0x56b433+_0x534580;},'jXRBv':_0x38e021(0x1bf),'wAhAk':function(_0x17ee7e,_0x2ab114){return _0x17ee7e(_0x2ab114);},'EBxTT':function(_0x566bc8,_0x3c7cf6){return _0x566bc8+_0x3c7cf6;},'QgjaZ':'[KickedOffLine]\x20[','tsqoZ':function(_0x519008,_0x559048){return _0x519008===_0x559048;},'kVELz':function(_0x570aed,_0x58934e){return _0x570aed/_0x58934e;},'EOLjh':function(_0x2cf024,_0x12f68b){return _0x2cf024/_0x12f68b;},'wpvFX':function(_0xe79206,_0x3abaf3){return _0xe79206===_0x3abaf3;},'hwfjj':function(_0x4cc743,_0x212901){return _0x4cc743===_0x212901;}},_0x8770f1=new MsgListener();_0x8770f1[_0x38e021(0x247)]=_0x901183=>{const _0x45f635=_0x38e021,_0x3b75ea={'svuEQ':function(_0x372bf8,_0x21a073){return _0x372bf8===_0x21a073;},'xygAQ':function(_0x181ec5,_0x4baf17){return _0x17180b['qZsVB'](_0x181ec5,_0x4baf17);},'iGWVX':_0x17180b[_0x45f635(0x1ea)]};_0x901183[_0x45f635(0x1b2)](_0xc83b6a=>{const _0x566b12=_0x45f635;_0x3b75ea['svuEQ'](_0xc83b6a[_0x566b12(0x205)],0x2)&&log(_0x3b75ea['xygAQ'](_0x566b12(0x243)+_0xc83b6a[_0x566b12(0x18d)],_0x3b75ea['iGWVX']));});},_0x8770f1['onKickedOffLine']=_0x1cbf6a=>{const _0x4888ce=_0x38e021;_0x17180b[_0x4888ce(0x1ab)](log,_0x17180b['EBxTT'](_0x17180b[_0x4888ce(0x1c4)]+_0x1cbf6a[_0x4888ce(0x1d2)],']\x20')+_0x1cbf6a[_0x4888ce(0x1fc)]);},_0x8770f1['onMsgInfoListUpdate']=_0x17f3ce=>{const _0x1a53f0=_0x38e021,_0x4ac3ae={'NYaue':function(_0x43baeb,_0x5029d1){const _0x3b7c04=_0xd320;return _0x17180b[_0x3b7c04(0x200)](_0x43baeb,_0x5029d1);}};stat['packet_received']+=0x1,_0x17f3ce[_0x1a53f0(0x1b2)](_0x566848=>{const _0x5526f1=_0x1a53f0;_0x4ac3ae[_0x5526f1(0x1d1)](_0x566848[_0x5526f1(0x190)],'0')?dbUtil['addMsg'](_0x566848)['then']()[_0x5526f1(0x1b5)]():dbUtil[_0x5526f1(0x1c2)](_0x566848[_0x5526f1(0x229)])['then'](_0x3b8959=>{const _0x4d46c5=_0x5526f1;_0x3b8959&&(_0x3b8959[_0x4d46c5(0x190)]=_0x566848[_0x4d46c5(0x190)],dbUtil[_0x4d46c5(0x1c5)](_0x3b8959)[_0x4d46c5(0x23f)]());});});},_0x8770f1['onAddSendMsg']=_0x39030e=>{const _0x378c54=_0x38e021;stat[_0x378c54(0x1b9)]+=0x1,stat[_0x378c54(0x1f6)]+=0x1,stat[_0x378c54(0x22d)]=Math['floor'](_0x17180b[_0x378c54(0x195)](Date[_0x378c54(0x213)](),0x3e8));},_0x8770f1[_0x38e021(0x1cc)]=_0xc4c555=>{const _0x147a10=_0x38e021;stat['packet_received']+=0x1,stat[_0x147a10(0x1bc)]+=_0xc4c555[_0x147a10(0x197)],stat[_0x147a10(0x22d)]=Math[_0x147a10(0x199)](_0x17180b[_0x147a10(0x1fe)](Date[_0x147a10(0x213)](),0x3e8));},_0x8770f1[_0x38e021(0x185)]=(..._0x5e844e)=>{const _0x2887cb=_0x38e021;stat[_0x2887cb(0x1e7)]+=0x1;},this[_0x38e021(0x23c)](_0x8770f1);const _0xae2427=new BuddyListener();_0xae2427['onBuddyListChange']=_0x2214a2=>{const _0xa14cbd=_0x38e021;rawFriends[_0xa14cbd(0x197)]=0x0,rawFriends['push'](..._0x2214a2);for(const _0x16a69a of _0x2214a2){for(const _0x36029a of _0x16a69a[_0xa14cbd(0x1f7)]){const _0x2916ac=friends[_0xa14cbd(0x208)](_0x36029a[_0xa14cbd(0x215)]);uid2UinMap[_0x36029a[_0xa14cbd(0x215)]]=_0x36029a['uin'],_0x2916ac?Object['assign'](_0x2916ac,_0x36029a):friends['set'](_0x36029a[_0xa14cbd(0x215)],_0x36029a);}}},this['addListener'](_0xae2427),this[_0x38e021(0x19d)][_0x38e021(0x226)]()['getBuddyList'](!![])['then'](_0x57ba6f=>{});const _0x3bd980=new ProfileListener();_0x3bd980[_0x38e021(0x1b1)]=_0x1fe401=>{const _0xc04e80=_0x38e021;_0x17180b[_0xc04e80(0x200)](_0x1fe401['uid'],selfInfo[_0xc04e80(0x215)])&&Object[_0xc04e80(0x209)](selfInfo,_0x1fe401);},_0x3bd980[_0x38e021(0x1d0)]=_0x40170f=>{},this[_0x38e021(0x23c)](_0x3bd980);const _0x87c25=new GroupListener();_0x87c25[_0x38e021(0x1ce)]=(_0x1506b9,_0xa0f4f4)=>{const _0xb5b5f9=_0x38e021,_0xc8b6d4={'zIICc':function(_0x384683,_0x7aa0b5){const _0x1f2e06=_0xd320;return _0x17180b[_0x1f2e06(0x1a1)](_0x384683,_0x7aa0b5);}};_0xa0f4f4[_0xb5b5f9(0x1b2)](_0x4e71cd=>{const _0x3395c0=_0xb5b5f9,_0x10ec8c=groups['get'](_0x4e71cd[_0x3395c0(0x1a8)]);_0x10ec8c&&_0xc8b6d4[_0x3395c0(0x194)](_0x4e71cd['memberCount'],_0x10ec8c[_0x3395c0(0x20a)])?Object[_0x3395c0(0x209)](_0x10ec8c,_0x4e71cd):groups['set'](_0x4e71cd[_0x3395c0(0x1a8)],_0x4e71cd);const _0x56796a=this[_0x3395c0(0x19d)]['getGroupService']()[_0x3395c0(0x1b8)](_0x4e71cd[_0x3395c0(0x1a8)],_0x3395c0(0x1cb));this['session'][_0x3395c0(0x1c8)]()[_0x3395c0(0x207)](_0x56796a,undefined,0xbb8)[_0x3395c0(0x23f)](_0x4c514c=>{});});},_0x87c25[_0x38e021(0x1a2)]=_0x15a52d=>{const _0x1cb36d=_0x38e021,_0x57fc33=_0x15a52d[_0x1cb36d(0x235)][_0x1cb36d(0x1e5)]('_')[0x0];if(groupMembers[_0x1cb36d(0x1b7)](_0x57fc33)){const _0x119a73=groupMembers[_0x1cb36d(0x208)](_0x57fc33);_0x15a52d[_0x1cb36d(0x228)][_0x1cb36d(0x21b)]((_0x492a44,_0x35e30f)=>{const _0xb39b50=_0x1cb36d,_0x2ecc4e=_0x119a73[_0xb39b50(0x208)](_0x35e30f);_0x2ecc4e?Object[_0xb39b50(0x209)](_0x2ecc4e,_0x492a44):_0x119a73[_0xb39b50(0x18e)](_0x35e30f,_0x492a44);});}else groupMembers[_0x1cb36d(0x18e)](_0x57fc33,_0x15a52d['infos']);},_0x87c25[_0x38e021(0x1d6)]=(_0x46cfa7,_0x5849a4,_0x344bb8)=>{const _0x26dcd0=_0x38e021;_0x17180b['hwfjj'](_0x5849a4,0x0)&&_0x344bb8[_0x26dcd0(0x208)](selfInfo[_0x26dcd0(0x215)])&&_0x344bb8[_0x26dcd0(0x208)](selfInfo[_0x26dcd0(0x215)])?.[_0x26dcd0(0x1ef)]&&setTimeout(()=>{const _0x57074a=_0x26dcd0;groups[_0x57074a(0x196)](_0x46cfa7);},0x1388);_0x344bb8[_0x26dcd0(0x21b)]((_0x564760,_0x41e425)=>{uid2UinMap[_0x41e425]=_0x564760['uin'];});const _0x3f0089=groupMembers[_0x26dcd0(0x208)](_0x46cfa7);_0x3f0089?_0x344bb8[_0x26dcd0(0x21b)]((_0x468b30,_0x26bf72)=>{const _0x4a5aca=_0x26dcd0,_0x205a0d=_0x3f0089['get'](_0x26bf72);_0x205a0d?Object['assign'](_0x205a0d,_0x468b30):_0x3f0089[_0x4a5aca(0x18e)](_0x26bf72,_0x468b30);}):groupMembers['set'](_0x46cfa7,_0x344bb8);},this[_0x38e021(0x23c)](_0x87c25);}[_0x156443(0x23c)](_0x155f34){const _0x56c02f=_0x156443,_0x6c2561={'GMjSc':_0x56c02f(0x218),'DXZqM':_0x56c02f(0x1cd),'SLSfc':'MsgListener','eCltQ':_0x56c02f(0x1df)};_0x155f34=new Proxy(_0x155f34,this[_0x56c02f(0x19c)]);switch(_0x155f34[_0x56c02f(0x18a)][_0x56c02f(0x1dd)]){case _0x6c2561[_0x56c02f(0x1ff)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x226)]()[_0x56c02f(0x1e9)](new _0x5d58f4[(_0x56c02f(0x1d8))](_0x155f34));}case _0x6c2561[_0x56c02f(0x1da)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x1c8)]()[_0x56c02f(0x225)](new _0x5d58f4[(_0x56c02f(0x244))](_0x155f34));}case _0x6c2561[_0x56c02f(0x203)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x1dc)]()[_0x56c02f(0x21f)](new _0x5d58f4[(_0x56c02f(0x1b6))](_0x155f34));}case _0x6c2561[_0x56c02f(0x183)]:{return this[_0x56c02f(0x19d)]['getProfileService']()[_0x56c02f(0x223)](new _0x5d58f4['NodeIKernelProfileListener'](_0x155f34));}default:return-0x1;}}[_0x156443(0x1de)](_0x598893){const _0x1c3c5e=_0x156443;this[_0x1c3c5e(0x21e)]['push'](_0x598893);}async[_0x156443(0x1d4)](_0x291306){const _0x5369a8=_0x156443,_0x43209a={'SdzxD':_0x5369a8(0x1a7),'xVsCv':function(_0x4b77ec,_0x40b7ce){return _0x4b77ec+_0x40b7ce;},'ZvszE':_0x5369a8(0x224)},_0x49b55f=await this[_0x5369a8(0x1f5)]['getLoginList']();if(_0x49b55f['result']!==0x0)throw new Error(_0x43209a['SdzxD']);const _0x26ed8e=_0x49b55f['LocalLoginInfoList'][_0x5369a8(0x187)](_0x1526a2=>_0x1526a2[_0x5369a8(0x206)]===_0x291306);if(!_0x26ed8e||!_0x26ed8e?.[_0x5369a8(0x20f)])throw new Error(_0x291306+_0x5369a8(0x18c));await sleep(0x3e8);const _0x468ef2=await this[_0x5369a8(0x1f5)][_0x5369a8(0x1ba)](_0x291306);if(!_0x468ef2[_0x5369a8(0x193)])throw new Error(_0x43209a[_0x5369a8(0x1d5)](_0x43209a['ZvszE'],_0x468ef2[_0x5369a8(0x1a9)][_0x5369a8(0x18f)]));return _0x468ef2;}async[_0x156443(0x186)](_0x99d54c){const _0x157139={'bNUwv':function(_0x58ad5a,_0x2ea2b1,_0xb8e8dc,_0x44bea2){return _0x58ad5a(_0x2ea2b1,_0xb8e8dc,_0x44bea2);}};return new Promise((_0x1b753f,_0x2a05d4)=>{const _0x2f666e=_0xd320,_0x35ce3a={'NKPnc':_0x2f666e(0x21d),'PoMtb':function(_0x35b9de,_0x10a830,_0x4f691a,_0x1930cd){return _0x157139['bNUwv'](_0x35b9de,_0x10a830,_0x4f691a,_0x1930cd);}};this[_0x2f666e(0x1e6)][_0x2f666e(0x1e8)]=_0x331f00=>{const _0x4645fc=_0x2f666e,_0x298651=_0x331f00[_0x4645fc(0x1f9)][_0x4645fc(0x1e5)](_0x35ce3a[_0x4645fc(0x22c)])[0x1],_0x178570=Buffer['from'](_0x298651,_0x4645fc(0x214));_0x35ce3a[_0x4645fc(0x1a4)](_0x99d54c,_0x331f00[_0x4645fc(0x1e2)],_0x331f00[_0x4645fc(0x1f9)],_0x178570);},this['loginService'][_0x2f666e(0x1c9)]();});}async[_0x156443(0x1c3)](_0x4f0c01,_0x5de7d2,_0x309b6a,_0x1b3ce3,_0x594da4){const _0x59f128=_0x156443,_0xfad901={'tMPPu':_0x59f128(0x1a3),'oFxuV':_0x59f128(0x231),'HKXgz':function(_0x4e5067,_0x4ecf95){return _0x4e5067&&_0x4ecf95;},'ZydJJ':function(_0x250082,_0x4c6912){return _0x250082||_0x4c6912;},'BddEu':function(_0x4db07e,_0x43b975){return _0x4db07e||_0x43b975;},'RKMML':function(_0x55c60a,_0x41dfae){return _0x55c60a||_0x41dfae;},'QCnWV':_0x59f128(0x1fa),'FAQBa':_0x59f128(0x22b)},_0x4e479b=_0x1c3c92[_0x59f128(0x1b0)](_0xfad901[_0x59f128(0x219)])[_0x59f128(0x232)](_0x5de7d2)[_0x59f128(0x19f)](_0xfad901[_0x59f128(0x246)]),_0x4c8301={'uin':_0x4f0c01,'passwordMd5':_0x4e479b,'step':_0xfad901[_0x59f128(0x1e0)](_0x309b6a,_0x1b3ce3)&&_0x594da4?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xfad901[_0x59f128(0x1ad)](_0x309b6a,''),'proofWaterRand':_0xfad901[_0x59f128(0x238)](_0x1b3ce3,''),'proofWaterSid':_0xfad901['RKMML'](_0x594da4,'')};await this[_0x59f128(0x1f5)]['getLoginList'](),await sleep(0x3e8);const _0x32e90c=await this[_0x59f128(0x1f5)][_0x59f128(0x1c3)](_0x4c8301);switch(_0x32e90c[_0x59f128(0x193)]){case'0':{break;}case _0xfad901[_0x59f128(0x21a)]:{break;}case'4':case _0xfad901[_0x59f128(0x1ae)]:default:}}async[_0x156443(0x1be)](){const _0x16c393=_0x156443,_0x332eb4=await this[_0x16c393(0x1f5)][_0x16c393(0x220)]();return _0x332eb4;}}function _0x242d(){const _0x582a1e=['NodeIGlobalAdapter','now','base64','uid','jQDJR','init','BuddyListener','tMPPu','QCnWV','forEach','stringify','data:image/png;base64,','onLoginSuccessFuncList','addKernelMsgListener','getLoginList','dataPathGlobal','curVersion','addKernelProfileListener','快速登录失败\x20','addKernelGroupListener','getBuddyService','Windows\x2010\x20Pro','infos','msgId','consoleLogLevel','140022013','NKPnc','last_message_time','登录失败','_GW_B','./nt_qq/global','hex','update','onUserLoggedIn','21EBfnwr','sceneId','pdrGr',')已登录,无法重复登录','BddEu','NodeIKernelLoginListener','EEqZc','nZEXm','addListener','1ENYLAd','当前账号(','then','fJctO','NodeIQQNTWrapperEngine','2722008vkuwWf','账号设备(','NodeIKernelGroupListener','addKernelLoginListener','oFxuV','onLineDev','onLoginFailed','eCltQ','fileLog','onRecvSysMsg','qrLogin','find','./NapCat/data','uHjCQ','constructor','NodeIDispatcherAdapter','快速登录不可用','devUid','set','errMsg','recallTime','replace','239924sNIMDD','result','zIICc','kVELz','delete','length','cDnRq','floor','read','V1_WIN_NQ_','proxyHandler','session','./.config/QQ','digest','1415GCahDK','wpvFX','onMemberListChange','md5','PoMtb','resolve','undefined','没有可快速登录的QQ号','groupCode','loginErrorInfo','init\x20failed\x20','wAhAk','TqnVz','ZydJJ','FAQBa','AqHuB','createHash','onProfileDetailInfoChanged','map','FDQZC','NodeIKernelSessionListener','catch','NodeIKernelMsgListener','has','createMemberListScene','packet_sent','quickLoginWithUin','fileLogLevel','message_received','initConfig','getQuickLoginList',')\x20在线状态变更','onSessionInitComplete','541473GSskND','getMsgByLongId','passwordLogin','QgjaZ','updateMsg','eDfup','ZNjys','getGroupService','getQRCodePicture','-v2.db','groupMemberList_MainWindow','onRecvMsg','GroupListener','onGroupListUpdate','ndPik','onSelfStatusChanged','NYaue','tipsTitle','\x20has\x20no\x20method\x20','quickLogin','xVsCv','onMemberInfoChange','initDataListener','NodeIKernelBuddyListener','engine','DXZqM','676iERIVk','getMsgService','name','onLoginSuccess','ProfileListener','HKXgz','startNT','qrcodeUrl','xHLUz','rgNTJ','split','loginListener','packet_received','onQRCodeGetPicture','addKernelBuddyListener','jXRBv','cUnOV','启动失败:\x20','initSession','NodeIDependsAdapter','isDelete','bmVQT','本账号数据/缓存目录:','hmubS','ONxhv','OpDYC','loginService','message_sent','buddyList','consoleLog','pngBase64QrcodeData','140022008','util','tipsDesc','dataPath','EOLjh','GMjSc','tsqoZ','QVYIj','215432nTTxzq','SLSfc','aKGTj','clientType','uin','getNextMemberList','get','assign','memberCount','454770UOReac','FAVVp','28787MbqCJn','NodeIKernelLoginService','isQuickLogin','mkdirSync','1100DzgNEq'];_0x242d=function(){return _0x582a1e;};return _0x242d();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x24dd8c=_0x3f4a;(function(_0x4c51ef,_0xb58b8f){const _0x377090=_0x3f4a,_0x187dcc=_0x4c51ef();while(!![]){try{const _0x2d2215=parseInt(_0x377090(0x1b1))/0x1*(-parseInt(_0x377090(0x1c8))/0x2)+parseInt(_0x377090(0x20a))/0x3*(parseInt(_0x377090(0x1ee))/0x4)+parseInt(_0x377090(0x1d4))/0x5*(-parseInt(_0x377090(0x209))/0x6)+-parseInt(_0x377090(0x1ec))/0x7+-parseInt(_0x377090(0x1fb))/0x8*(-parseInt(_0x377090(0x165))/0x9)+parseInt(_0x377090(0x1b6))/0xa*(parseInt(_0x377090(0x173))/0xb)+parseInt(_0x377090(0x1de))/0xc*(parseInt(_0x377090(0x184))/0xd);if(_0x2d2215===_0xb58b8f)break;else _0x187dcc['push'](_0x187dcc['shift']());}catch(_0x47dc4a){_0x187dcc['push'](_0x187dcc['shift']());}}}(_0x1e28,0xdae0c));import _0x129bdd from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1f4662 from'node:path';import _0xbaa2fe from'node:os';import _0x1d6b83 from'node:fs';function _0x3f4a(_0x42ff47,_0x22aa50){const _0x1e28b3=_0x1e28();return _0x3f4a=function(_0x3f4afb,_0xeba0ad){_0x3f4afb=_0x3f4afb-0x15c;let _0x4a2ec4=_0x1e28b3[_0x3f4afb];return _0x4a2ec4;},_0x3f4a(_0x42ff47,_0x22aa50);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x178e9e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x1e28(){const _0x2c26f5=['nflJV','bovTF','data:image/png;base64,','then','QUOLg','cOvKV','uid','EdRQR','NodeIGlobalAdapter','quickLoginWithUin','CZUrV','onRecvSysMsg','没有可快速登录的QQ号','name','qrLogin','OatZG','infos','sDxum','groupMemberList_MainWindow','getQuickLoginList','packet_received','ZNDvO','recallTime','2803DfFkkd','pxGoy','NodeIKernelMsgListener','uin','快速登录不可用','2823610eqgDXS','getLoginList','constructor','RHjOP','KVvQV','登录失败','iZteQ','fileLogLevel','QGtAy','msgId','onLoginSuccessFuncList','./NapCat/data','MNzBN','AcfuV','Zhrgt','NodeIKernelBuddyListener','oxiSS','lXShP','230uouGnh','memberCount','./.config/QQ','tipsTitle','update','loginListener','LLXfl','result','getBuddyService','IiTug','onUserLoggedIn','addListener','781190qfqiZB','base64','qrcodeUrl','NodeIQQNTWrapperEngine','engine','delete','onAddSendMsg','V1_WIN_NQ_','passwordLogin','hex','15639636VJyGvw','rWmdL','onMemberInfoChange','onGroupListUpdate','get','last_message_time','dataPathGlobal','onLineDev','init\x20failed\x20','bHryB','tKjbf','NodeIKernelLoginListener','util','catch','7526883otjYlp','assign','100qRAJCr','createMemberListScene','QXaGT','dopYl','lBkys','message_received','devUid','floor','fileLog','QjAoi','数据库初始化失败','djGxQ','NodeQQNTWrapperUtil','2386808bKzijd','\x20has\x20no\x20method\x20','XLcBa','startNT','dnbBf','hAMRB','set','now','onLoginSuccess','pngBase64QrcodeData','[KickedOffLine]\x20[','./nt_qq/global','initSession','ProfileListener','48mlWvum','127599MqWRcz','NodeIQQNTWrapperSession','getNTUserDataInfoConfig','BuddyListener','packet_sent','session','getBuddyList','iKZIN','resolve','yBeao','split','onQRCodeSessionFailed','initConfig','快速登录失败\x20','NodeIKernelProfileListener','lxFIZ','kCxNh','_GW_B','clientType','nrIId','loginService','NodeIKernelSessionListener','当前账号(','sceneId','xhTLK',')\x20在线状态变更','updateMsg','EfctW','27SGpbSq','EMyGv','map',')已登录,无法重复登录','iqQja','addKernelProfileListener','errMsg','getProfileService','pQfiG','initSession\x20failed','addKernelLoginListener','DamNo','digest','proxyHandler','11PQuhjD','tipsDesc','groupCode','initWithDeskTopConfig','getMsgService','message_sent','from','zEGjK','XGSJs','onRecvMsg','本账号数据/缓存目录:','onProfileDetailInfoChanged','140022008','onKickedOffLine','md5','push','getMsgByLongId','13yGBoXL','consoleLog','forEach','onSelfStatusChanged','wVoyE','MuxEd','read','tJGpD','dataPath','has','length','onSessionInitComplete','账号设备(','ixVwG','undefined','addKernelMsgListener','isQuickLogin','curVersion','getQRCodePicture','homedir','mkdirSync','consoleLogLevel'];_0x1e28=function(){return _0x2c26f5;};return _0x1e28();}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x24dd8c(0x20f)];[_0x24dd8c(0x1ea)];[_0x24dd8c(0x1d8)];[_0x24dd8c(0x1cd)];[_0x24dd8c(0x15d)];['onLoginSuccessFuncList']=[];[_0x24dd8c(0x172)]={'get'(target,prop,receiver){const _0xc736d=_0x24dd8c,zKvnrU={'POaJL':function(callee,param1){return callee(param1);},'sNVJE':function(x,y){return x===y;},'tJGpD':_0xc736d(0x192)};if(zKvnrU['sNVJE'](typeof target[prop],zKvnrU[_0xc736d(0x18b)]))return(...args)=>{const _0x14d8c2=_0xc736d;zKvnrU['POaJL'](logDebug,target[_0x14d8c2(0x1b8)]['name']+_0x14d8c2(0x1fc)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x12a821=_0x24dd8c,_0x6052d8={'pxGoy':function(_0x17f7cd,_0x4078ee){return _0x17f7cd+_0x4078ee;},'iqQja':function(_0x5d4237,_0x33fec5,_0x4305dc){return _0x5d4237(_0x33fec5,_0x4305dc);},'pQfiG':_0x12a821(0x1f8),'CZUrV':function(_0xd13a49,_0x216f7e){return _0xd13a49(_0x216f7e);},'sklOF':_0x12a821(0x17d),'EfctW':_0x12a821(0x1bb),'XGSJs':function(_0xf4bba2,_0x557e14){return _0xf4bba2==_0x557e14;},'nflJV':function(_0x52f809,_0x5c86df){return _0x52f809==_0x5c86df;}};this[_0x12a821(0x1d8)]=new _0x129bdd[(_0x12a821(0x1d7))](),this[_0x12a821(0x1ea)]=new _0x129bdd[(_0x12a821(0x1fa))](),this[_0x12a821(0x15d)]=new _0x129bdd['NodeIKernelLoginService'](),this[_0x12a821(0x20f)]=new _0x129bdd[(_0x12a821(0x20b))](),this[_0x12a821(0x1cd)]=new LoginListener(),this[_0x12a821(0x1cd)][_0x12a821(0x1d2)]=_0x26f299=>{const _0x144897=_0x12a821;logError(_0x6052d8[_0x144897(0x1b2)](_0x144897(0x15f)+_0x26f299,_0x144897(0x168)));},this[_0x12a821(0x1cd)]['onQRCodeLoginSucceed']=_0x2cc90f=>{const _0x384e6a=_0x12a821,_0x517171={'wVoyE':function(_0xfc5489,_0x1c59e6,_0x250361){const _0x59b813=_0x3f4a;return _0x6052d8[_0x59b813(0x169)](_0xfc5489,_0x1c59e6,_0x250361);},'tKjbf':_0x6052d8[_0x384e6a(0x16d)],'kCxNh':function(_0x4d1948,_0x13be77,_0x13e2aa){return _0x6052d8['iqQja'](_0x4d1948,_0x13be77,_0x13e2aa);},'ZNDvO':function(_0x136fd4,_0x192292,_0x3b6ea7){const _0x1654cb=_0x384e6a;return _0x6052d8[_0x1654cb(0x169)](_0x136fd4,_0x192292,_0x3b6ea7);},'gvIbb':function(_0x551c6f,_0x1a35a8){const _0x292d7=_0x384e6a;return _0x6052d8[_0x292d7(0x1a4)](_0x551c6f,_0x1a35a8);},'lXShP':function(_0x946cb0,_0x43ec79){return _0x6052d8['CZUrV'](_0x946cb0,_0x43ec79);},'EMyGv':function(_0x6a5d54,_0x5dd258,_0x2f9e5b){const _0x1b0528=_0x384e6a;return _0x6052d8[_0x1b0528(0x169)](_0x6a5d54,_0x5dd258,_0x2f9e5b);},'nrIId':_0x6052d8['sklOF'],'DamNo':function(_0x3a32fe,_0x383bae,_0x284a4a){return _0x6052d8['iqQja'](_0x3a32fe,_0x383bae,_0x284a4a);},'dnbBf':_0x384e6a(0x16e)};this[_0x384e6a(0x207)](_0x2cc90f[_0x384e6a(0x1b4)],_0x2cc90f[_0x384e6a(0x1a0)])[_0x384e6a(0x19d)](_0x535ae0=>{const _0x23a9f3=_0x384e6a,_0x340915={'AcfuV':function(_0x1d06dd,_0x4f036f,_0x5c2036){const _0x198271=_0x3f4a;return _0x517171[_0x198271(0x21a)](_0x1d06dd,_0x4f036f,_0x5c2036);}};selfInfo[_0x23a9f3(0x1b4)]=_0x2cc90f[_0x23a9f3(0x1b4)],selfInfo[_0x23a9f3(0x1a0)]=_0x2cc90f[_0x23a9f3(0x1a0)],napCatConfig[_0x23a9f3(0x18a)](),_0x517171[_0x23a9f3(0x1af)](setLogLevel,napCatConfig[_0x23a9f3(0x1bd)],napCatConfig[_0x23a9f3(0x199)]),enableFileLog(napCatConfig[_0x23a9f3(0x1f6)]),_0x517171['gvIbb'](enableConsoleLog,napCatConfig[_0x23a9f3(0x185)]),_0x517171[_0x23a9f3(0x1c7)](setLogSelfInfo,selfInfo);const _0x4991d2=_0x1f4662[_0x23a9f3(0x212)](this[_0x23a9f3(0x18c)],_0x23a9f3(0x1c1));_0x1d6b83[_0x23a9f3(0x198)](_0x4991d2,{'recursive':!![]}),_0x517171[_0x23a9f3(0x166)](logDebug,_0x517171[_0x23a9f3(0x15c)],_0x4991d2),dbUtil['init'](_0x1f4662[_0x23a9f3(0x212)](_0x4991d2,'./'+_0x2cc90f[_0x23a9f3(0x1b4)]+'-v2.db'))['then'](()=>{const _0xbde1b0=_0x23a9f3,_0x36d73d={'KVvQV':function(_0x5d428a,_0x320528,_0x1d1a10){const _0x3224d2=_0x3f4a;return _0x340915[_0x3224d2(0x1c3)](_0x5d428a,_0x320528,_0x1d1a10);}};this['initDataListener'](),this[_0xbde1b0(0x1c0)][_0xbde1b0(0x167)](_0x43f754=>{const _0x1f2bd8={'XLcBa':function(_0x42375e,_0x55d02a,_0x5577ee){const _0x4ba62c=_0x3f4a;return _0x36d73d[_0x4ba62c(0x1ba)](_0x42375e,_0x55d02a,_0x5577ee);},'lBkys':function(_0xce211f,_0x643071){return _0xce211f instanceof _0x643071;}};new Promise((_0x177a3e,_0x1b3ee9)=>{const _0x2ce962=_0x3f4a,_0x4a1cae=_0x1f2bd8[_0x2ce962(0x1fd)](_0x43f754,_0x2cc90f[_0x2ce962(0x1b4)],_0x2cc90f[_0x2ce962(0x1a0)]);_0x1f2bd8[_0x2ce962(0x1f2)](_0x4a1cae,Promise)&&_0x4a1cae[_0x2ce962(0x19d)](_0x177a3e)[_0x2ce962(0x1eb)](_0x1b3ee9);})['then']();});})[_0x23a9f3(0x1eb)](_0x3ab969=>{const _0x2b395e=_0x23a9f3;_0x517171[_0x2b395e(0x188)](logError,_0x517171[_0x2b395e(0x1e8)],_0x3ab969);});})['catch'](_0x21e8ed=>{const _0xa0a2e7=_0x384e6a;_0x517171[_0xa0a2e7(0x170)](logError,_0x517171[_0xa0a2e7(0x1ff)],_0x21e8ed);throw new Error('启动失败:\x20'+JSON['stringify'](_0x21e8ed));});},this[_0x12a821(0x1cd)][_0x12a821(0x215)]=(_0x48f1a3,_0x3861df,_0x1baacd)=>{const _0x119172=_0x12a821;_0x6052d8[_0x119172(0x169)](logError,_0x6052d8['EfctW'],_0x1baacd),_0x6052d8[_0x119172(0x17b)](_0x48f1a3,0x1)&&_0x6052d8[_0x119172(0x19a)](_0x3861df,0x3)&&this[_0x119172(0x15d)][_0x119172(0x196)]();},this[_0x12a821(0x1cd)]['onLoginFailed']=_0x1c1e2e=>{const _0x177d03=_0x12a821;_0x6052d8['iqQja'](logError,_0x6052d8[_0x177d03(0x164)],_0x1c1e2e);},this[_0x12a821(0x1cd)]=new Proxy(this[_0x12a821(0x1cd)],this['proxyHandler']),this[_0x12a821(0x15d)][_0x12a821(0x16f)](new _0x129bdd[(_0x12a821(0x1e9))](this['loginListener'])),this[_0x12a821(0x216)]();}get[_0x24dd8c(0x18c)](){const _0x114864=_0x24dd8c;let _0xa336b0=this[_0x114864(0x1ea)][_0x114864(0x20c)]();return!_0xa336b0&&(_0xa336b0=_0x1f4662['resolve'](_0xbaa2fe[_0x114864(0x197)](),_0x114864(0x1ca)),_0x1d6b83[_0x114864(0x198)](_0xa336b0,{'recursive':!![]})),_0xa336b0;}get[_0x24dd8c(0x1e4)](){const _0x36376a=_0x24dd8c,_0x32cad9={'cOvKV':_0x36376a(0x206)};return _0x1f4662[_0x36376a(0x212)](this['dataPath'],_0x32cad9[_0x36376a(0x19f)]);}[_0x24dd8c(0x216)](){const _0x125290=_0x24dd8c,_0x40d3c3={'bovTF':'Windows\x2010\x20Pro'};this['engine'][_0x125290(0x176)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x125290(0x195)],'os_version':_0x40d3c3[_0x125290(0x19b)],'use_xlog':!![],'qua':_0x125290(0x1db)+qqVersionConfigInfo[_0x125290(0x195)]['replace']('-','_')+_0x125290(0x21b),'global_path_config':{'desktopGlobalPath':this[_0x125290(0x1e4)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x129bdd[(_0x125290(0x1a2))](new GlobalAdapter())),this['loginService'][_0x125290(0x216)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x125290(0x195)],'hostName':hostname});}['initSession'](_0x43aedb,_0x2cd3d1){const _0x4c3476={'QjAoi':function(_0x267fda,_0x62d78b){return _0x267fda===_0x62d78b;},'QUOLg':function(_0x4d11a3,_0x49719c){return _0x4d11a3(_0x49719c);},'dopYl':function(_0x3e0496,_0x543cab,_0x53ec6e,_0x3d6551){return _0x3e0496(_0x543cab,_0x53ec6e,_0x3d6551);},'iKZIN':function(_0x5dfa00,_0x43ea4c){return _0x5dfa00+_0x43ea4c;}};return new Promise((_0x3ef105,_0x21dd49)=>{const _0x448ddf=_0x3f4a,_0x511863=_0x4c3476[_0x448ddf(0x1f1)](genSessionConfig,_0x43aedb,_0x2cd3d1,this[_0x448ddf(0x18c)]),_0x2f00bb=new SessionListener();_0x2f00bb[_0x448ddf(0x18f)]=_0x1b6074=>{const _0x2f1c4f=_0x448ddf;if(_0x4c3476[_0x2f1c4f(0x1f7)](_0x1b6074,0x0))return _0x4c3476['QUOLg'](_0x3ef105,0x0);_0x4c3476[_0x2f1c4f(0x19e)](_0x21dd49,_0x1b6074);},this[_0x448ddf(0x20f)]['init'](_0x511863,new _0x129bdd['NodeIDependsAdapter'](new DependsAdapter()),new _0x129bdd['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x129bdd[(_0x448ddf(0x15e))](_0x2f00bb));try{this[_0x448ddf(0x20f)]['startNT'](0x0);}catch(_0x47640c){try{this[_0x448ddf(0x20f)][_0x448ddf(0x1fe)]();}catch(_0x3dc50a){_0x4c3476[_0x448ddf(0x19e)](_0x21dd49,_0x4c3476[_0x448ddf(0x211)](_0x448ddf(0x1e6),_0x3dc50a));}}});}['initDataListener'](){const _0x4ca3b6=_0x24dd8c,_0x5866cc={'iZteQ':function(_0x365900,_0x126b29){return _0x365900===_0x126b29;},'lxFIZ':_0x4ca3b6(0x190),'hAMRB':_0x4ca3b6(0x162),'QGtAy':function(_0x5665f0,_0x4e9874){return _0x5665f0(_0x4e9874);},'EdRQR':function(_0x3a4c96,_0x24f6bf){return _0x3a4c96+_0x24f6bf;},'LQbAR':function(_0x41d4ef,_0x3bada7){return _0x41d4ef+_0x3bada7;},'aOyyv':function(_0x212a24,_0x581233){return _0x212a24+_0x581233;},'FrSkE':function(_0x2f0300,_0x46c2f7){return _0x2f0300/_0x46c2f7;},'Zhrgt':function(_0x42b538,_0x45c4eb){return _0x42b538===_0x45c4eb;},'EARbB':_0x4ca3b6(0x1ac),'sxmlP':function(_0x4d897c,_0x507ed8,_0x2611c4){return _0x4d897c(_0x507ed8,_0x2611c4);}},_0x2790ef=new MsgListener();_0x2790ef[_0x4ca3b6(0x1e5)]=_0x2e336f=>{const _0x66591e=_0x4ca3b6,_0x298bd6={'oxiSS':function(_0x2fec82,_0x496c06){return _0x5866cc['iZteQ'](_0x2fec82,_0x496c06);},'MNzBN':function(_0x456a8f,_0x1178c6){return _0x456a8f+_0x1178c6;},'LLXfl':_0x5866cc[_0x66591e(0x219)],'ntIKq':_0x5866cc[_0x66591e(0x200)]};_0x2e336f[_0x66591e(0x167)](_0x36dee2=>{const _0x38a1b7=_0x66591e;_0x298bd6[_0x38a1b7(0x1c6)](_0x36dee2[_0x38a1b7(0x21c)],0x2)&&log(_0x298bd6['MNzBN'](_0x298bd6[_0x38a1b7(0x1c2)](_0x298bd6[_0x38a1b7(0x1ce)],_0x36dee2[_0x38a1b7(0x1f4)]),_0x298bd6['ntIKq']));});},_0x2790ef[_0x4ca3b6(0x180)]=_0x1028b0=>{const _0x51d65b=_0x4ca3b6;_0x5866cc[_0x51d65b(0x1be)](log,_0x5866cc[_0x51d65b(0x1a1)](_0x5866cc['LQbAR'](_0x5866cc['aOyyv'](_0x51d65b(0x205),_0x1028b0[_0x51d65b(0x1cb)]),']\x20'),_0x1028b0[_0x51d65b(0x174)]));},_0x2790ef['onMsgInfoListUpdate']=_0x260a63=>{const _0x1d5d26=_0x4ca3b6;stat[_0x1d5d26(0x1ae)]+=0x1,_0x260a63['map'](_0xf3e039=>{const _0x4d8b06=_0x1d5d26;_0xf3e039[_0x4d8b06(0x1b0)]==='0'?dbUtil['addMsg'](_0xf3e039)[_0x4d8b06(0x19d)]()[_0x4d8b06(0x1eb)]():dbUtil[_0x4d8b06(0x183)](_0xf3e039[_0x4d8b06(0x1bf)])['then'](_0x50bc80=>{const _0x1a6db4=_0x4d8b06;_0x50bc80&&(_0x50bc80[_0x1a6db4(0x1b0)]=_0xf3e039[_0x1a6db4(0x1b0)],dbUtil[_0x1a6db4(0x163)](_0x50bc80)[_0x1a6db4(0x19d)]());});});},_0x2790ef[_0x4ca3b6(0x1da)]=_0x18ab88=>{const _0x3f78c8=_0x4ca3b6;stat[_0x3f78c8(0x20e)]+=0x1,stat[_0x3f78c8(0x178)]+=0x1,stat[_0x3f78c8(0x1e3)]=Math[_0x3f78c8(0x1f5)](_0x5866cc['FrSkE'](Date[_0x3f78c8(0x202)](),0x3e8));},_0x2790ef[_0x4ca3b6(0x17c)]=_0x2a887e=>{const _0xb59441=_0x4ca3b6;stat[_0xb59441(0x1ae)]+=0x1,stat[_0xb59441(0x1f3)]+=_0x2a887e[_0xb59441(0x18e)],stat['last_message_time']=Math['floor'](Date['now']()/0x3e8);},_0x2790ef[_0x4ca3b6(0x1a5)]=(..._0x2436c8)=>{const _0x41030b=_0x4ca3b6;stat[_0x41030b(0x1ae)]+=0x1;},this[_0x4ca3b6(0x1d3)](_0x2790ef);const _0x42c4a6=new BuddyListener();_0x42c4a6['onBuddyListChange']=_0x365f53=>{const _0x181615=_0x4ca3b6;rawFriends[_0x181615(0x18e)]=0x0,rawFriends[_0x181615(0x182)](..._0x365f53);for(const _0x30ba03 of _0x365f53){for(const _0xcb7bd1 of _0x30ba03['buddyList']){const _0x3df9b0=friends['get'](_0xcb7bd1[_0x181615(0x1a0)]);uid2UinMap[_0xcb7bd1['uid']]=_0xcb7bd1[_0x181615(0x1b4)],_0x3df9b0?Object['assign'](_0x3df9b0,_0xcb7bd1):friends[_0x181615(0x201)](_0xcb7bd1[_0x181615(0x1a0)],_0xcb7bd1);}}},this[_0x4ca3b6(0x1d3)](_0x42c4a6),this[_0x4ca3b6(0x20f)]['getBuddyService']()[_0x4ca3b6(0x210)](!![])[_0x4ca3b6(0x19d)](_0x334d05=>{});const _0xd08df8=new ProfileListener();_0xd08df8[_0x4ca3b6(0x17e)]=_0x41f963=>{const _0x4d55d8=_0x4ca3b6;_0x5866cc[_0x4d55d8(0x1bc)](_0x41f963[_0x4d55d8(0x1a0)],selfInfo[_0x4d55d8(0x1a0)])&&Object[_0x4d55d8(0x1ed)](selfInfo,_0x41f963);},_0xd08df8[_0x4ca3b6(0x187)]=_0x425dfa=>{},this[_0x4ca3b6(0x1d3)](_0xd08df8);const _0x526918=new GroupListener();_0x526918[_0x4ca3b6(0x1e1)]=(_0x21238f,_0x3a01c4)=>{const _0x3265d3=_0x4ca3b6;_0x3a01c4[_0x3265d3(0x167)](_0x43afb5=>{const _0x3f8c2f=_0x3265d3,_0x3c271e=groups['get'](_0x43afb5[_0x3f8c2f(0x175)]);_0x3c271e&&_0x5866cc['Zhrgt'](_0x43afb5[_0x3f8c2f(0x1c9)],_0x3c271e[_0x3f8c2f(0x1c9)])?Object[_0x3f8c2f(0x1ed)](_0x3c271e,_0x43afb5):groups[_0x3f8c2f(0x201)](_0x43afb5[_0x3f8c2f(0x175)],_0x43afb5);const _0x4eaa06=this[_0x3f8c2f(0x20f)]['getGroupService']()[_0x3f8c2f(0x1ef)](_0x43afb5[_0x3f8c2f(0x175)],_0x5866cc['EARbB']);this['session']['getGroupService']()['getNextMemberList'](_0x4eaa06,undefined,0xbb8)[_0x3f8c2f(0x19d)](_0x2ab901=>{});});},_0x526918['onMemberListChange']=_0x11a909=>{const _0x1c754c=_0x4ca3b6,_0x3bb09f=_0x11a909[_0x1c754c(0x160)][_0x1c754c(0x214)]('_')[0x0];if(groupMembers[_0x1c754c(0x18d)](_0x3bb09f)){const _0x58cbaa=groupMembers['get'](_0x3bb09f);_0x11a909[_0x1c754c(0x1aa)][_0x1c754c(0x186)]((_0x19004c,_0x27eae9)=>{const _0x30f226=_0x1c754c,_0xb40119=_0x58cbaa[_0x30f226(0x1e2)](_0x27eae9);_0xb40119?Object[_0x30f226(0x1ed)](_0xb40119,_0x19004c):_0x58cbaa['set'](_0x27eae9,_0x19004c);});}else groupMembers[_0x1c754c(0x201)](_0x3bb09f,_0x11a909['infos']);},_0x526918[_0x4ca3b6(0x1e0)]=(_0x197070,_0xea5c80,_0x12a126)=>{const _0x157eb2=_0x4ca3b6;_0x5866cc[_0x157eb2(0x1c4)](_0xea5c80,0x0)&&_0x12a126[_0x157eb2(0x1e2)](selfInfo[_0x157eb2(0x1a0)])&&_0x12a126[_0x157eb2(0x1e2)](selfInfo[_0x157eb2(0x1a0)])?.['isDelete']&&_0x5866cc['sxmlP'](setTimeout,()=>{const _0x331197=_0x157eb2;groups[_0x331197(0x1d9)](_0x197070);},0x1388);_0x12a126[_0x157eb2(0x186)]((_0x1310a5,_0x52530d)=>{const _0x473007=_0x157eb2;uid2UinMap[_0x52530d]=_0x1310a5[_0x473007(0x1b4)];});const _0x4ad1db=groupMembers['get'](_0x197070);_0x4ad1db?_0x12a126['forEach']((_0x2e413b,_0x34e297)=>{const _0x76776d=_0x157eb2,_0x328792=_0x4ad1db[_0x76776d(0x1e2)](_0x34e297);_0x328792?Object[_0x76776d(0x1ed)](_0x328792,_0x2e413b):_0x4ad1db[_0x76776d(0x201)](_0x34e297,_0x2e413b);}):groupMembers[_0x157eb2(0x201)](_0x197070,_0x12a126);},this[_0x4ca3b6(0x1d3)](_0x526918);}['addListener'](_0x2b2bc6){const _0x333866=_0x24dd8c,_0x595f24={'rWmdL':_0x333866(0x20d),'JoEFY':'GroupListener','MuxEd':'MsgListener','IiTug':_0x333866(0x208)};_0x2b2bc6=new Proxy(_0x2b2bc6,this['proxyHandler']);switch(_0x2b2bc6['constructor'][_0x333866(0x1a7)]){case _0x595f24[_0x333866(0x1df)]:{return this[_0x333866(0x20f)][_0x333866(0x1d0)]()['addKernelBuddyListener'](new _0x129bdd[(_0x333866(0x1c5))](_0x2b2bc6));}case _0x595f24['JoEFY']:{return this[_0x333866(0x20f)]['getGroupService']()['addKernelGroupListener'](new _0x129bdd['NodeIKernelGroupListener'](_0x2b2bc6));}case _0x595f24[_0x333866(0x189)]:{return this[_0x333866(0x20f)][_0x333866(0x177)]()[_0x333866(0x193)](new _0x129bdd[(_0x333866(0x1b3))](_0x2b2bc6));}case _0x595f24[_0x333866(0x1d1)]:{return this['session'][_0x333866(0x16c)]()[_0x333866(0x16a)](new _0x129bdd[(_0x333866(0x218))](_0x2b2bc6));}default:return-0x1;}}[_0x24dd8c(0x203)](_0x298854){const _0x91e9b6=_0x24dd8c;this['onLoginSuccessFuncList'][_0x91e9b6(0x182)](_0x298854);}async['quickLogin'](_0x2335a6){const _0x115aea=_0x24dd8c,_0x29fa9e={'ixVwG':function(_0x55066b,_0x1cf0c0){return _0x55066b!==_0x1cf0c0;},'bHryB':_0x115aea(0x1a6),'sDxum':function(_0xb3d7e3,_0x328eef){return _0xb3d7e3(_0x328eef);},'QXaGT':function(_0x3776aa,_0x4394c7){return _0x3776aa+_0x4394c7;},'yBeao':_0x115aea(0x217)},_0x1d5d87=await this[_0x115aea(0x15d)]['getLoginList']();if(_0x29fa9e[_0x115aea(0x191)](_0x1d5d87[_0x115aea(0x1cf)],0x0))throw new Error(_0x29fa9e[_0x115aea(0x1e7)]);const _0x73fb40=_0x1d5d87['LocalLoginInfoList']['find'](_0x351e43=>_0x351e43[_0x115aea(0x1b4)]===_0x2335a6);if(!_0x73fb40||!_0x73fb40?.[_0x115aea(0x194)])throw new Error(_0x2335a6+_0x115aea(0x1b5));await _0x29fa9e[_0x115aea(0x1ab)](sleep,0x3e8);const _0x53635c=await this[_0x115aea(0x15d)][_0x115aea(0x1a3)](_0x2335a6);if(!_0x53635c[_0x115aea(0x1cf)])throw new Error(_0x29fa9e[_0x115aea(0x1f0)](_0x29fa9e[_0x115aea(0x213)],_0x53635c['loginErrorInfo'][_0x115aea(0x16b)]));return _0x53635c;}async[_0x24dd8c(0x1a8)](_0x158c0c){const _0x514da0=_0x24dd8c,_0x149467={'djGxQ':_0x514da0(0x19c),'RHjOP':function(_0x56a555,_0x13c4b6,_0x560d72,_0x5eee07){return _0x56a555(_0x13c4b6,_0x560d72,_0x5eee07);}};return new Promise((_0x49d193,_0x20ff09)=>{const _0x1df1d2=_0x514da0;this[_0x1df1d2(0x1cd)]['onQRCodeGetPicture']=_0x3fd1a6=>{const _0x4e9fee=_0x1df1d2,_0x559390=_0x3fd1a6['pngBase64QrcodeData'][_0x4e9fee(0x214)](_0x149467[_0x4e9fee(0x1f9)])[0x1],_0x1d860e=Buffer[_0x4e9fee(0x179)](_0x559390,_0x4e9fee(0x1d5));_0x149467[_0x4e9fee(0x1b9)](_0x158c0c,_0x3fd1a6[_0x4e9fee(0x1d6)],_0x3fd1a6[_0x4e9fee(0x204)],_0x1d860e);},this[_0x1df1d2(0x15d)][_0x1df1d2(0x196)]();});}async['passwordLogin'](_0x261718,_0x18b805,_0x22c272,_0x347a8e,_0x522347){const _0x100e4f=_0x24dd8c,_0x58d854={'VcTKu':_0x100e4f(0x181),'zEGjK':_0x100e4f(0x1dd),'OatZG':function(_0x536664,_0x110fc7){return _0x536664||_0x110fc7;},'xhTLK':function(_0x1684a6,_0x4aafb8){return _0x1684a6(_0x4aafb8);},'ztiJL':'140022013'},_0x44d8ef=_0x178e9e['createHash'](_0x58d854['VcTKu'])[_0x100e4f(0x1cc)](_0x18b805)[_0x100e4f(0x171)](_0x58d854[_0x100e4f(0x17a)]),_0x43be1a={'uin':_0x261718,'passwordMd5':_0x44d8ef,'step':_0x22c272&&_0x347a8e&&_0x522347?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x58d854[_0x100e4f(0x1a9)](_0x22c272,''),'proofWaterRand':_0x347a8e||'','proofWaterSid':_0x58d854[_0x100e4f(0x1a9)](_0x522347,'')};await this[_0x100e4f(0x15d)]['getLoginList'](),await _0x58d854[_0x100e4f(0x161)](sleep,0x3e8);const _0x15d118=await this[_0x100e4f(0x15d)][_0x100e4f(0x1dc)](_0x43be1a);switch(_0x15d118['result']){case'0':{break;}case _0x100e4f(0x17f):{break;}case'4':case _0x58d854['ztiJL']:default:}}async[_0x24dd8c(0x1ad)](){const _0x2c8784=_0x24dd8c,_0x43c8bc=await this[_0x2c8784(0x15d)][_0x2c8784(0x1b7)]();return _0x43c8bc;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index efcfba01..b0e51a3d 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x2f143c=_0x4db3;(function(_0x6dcd91,_0x29429b){const _0x4a8a26=_0x4db3,_0x4fb3fa=_0x6dcd91();while(!![]){try{const _0x464690=parseInt(_0x4a8a26(0x180))/0x1*(-parseInt(_0x4a8a26(0x17f))/0x2)+parseInt(_0x4a8a26(0x18f))/0x3+-parseInt(_0x4a8a26(0x196))/0x4+parseInt(_0x4a8a26(0x184))/0x5*(-parseInt(_0x4a8a26(0x19a))/0x6)+-parseInt(_0x4a8a26(0x18d))/0x7+-parseInt(_0x4a8a26(0x190))/0x8*(-parseInt(_0x4a8a26(0x188))/0x9)+parseInt(_0x4a8a26(0x18b))/0xa*(parseInt(_0x4a8a26(0x187))/0xb);if(_0x464690===_0x29429b)break;else _0x4fb3fa['push'](_0x4fb3fa['shift']());}catch(_0x337e37){_0x4fb3fa['push'](_0x4fb3fa['shift']());}}}(_0x5784,0x5eba8));import{isNumeric}from'@/common/utils/helper';function _0x4db3(_0x48cfa0,_0x3a59e5){const _0x578412=_0x5784();return _0x4db3=function(_0x4db31f,_0x27eebd){_0x4db31f=_0x4db31f-0x17f;let _0x4f003c=_0x578412[_0x4db31f];return _0x4f003c;},_0x4db3(_0x48cfa0,_0x3a59e5);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x5784(){const _0x42541c=['getGroups','groupCode','set','15765qlBhPu','get','delete','418RUuFVk','2107962BErqQv','forEach','length','459870rTLZoE','RJZnh','5085563AexJrI','uin','1060161rqBOtm','16ARissP','NapCat未能正常启动,请检查日志查看错误','from','zdmFc','getGroupMembers','find','2468796ZDIKVR','values','BqMqQ','gEpWX','846MopRqQ','toString','9248sSCRwC','85WiAhpP'];_0x5784=function(){return _0x42541c;};return _0x5784();}export const groups=new Map();export function deleteGroup(_0x429f1e){const _0x4ef735=_0x4db3;groups['delete'](_0x429f1e),groupMembers[_0x4ef735(0x186)](_0x429f1e);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x2f143c(0x191)};export async function getFriend(_0x2b2ada){const _0x568b3d=_0x2f143c,_0x376f2c={'BqMqQ':function(_0x29fa15,_0x4472a5){return _0x29fa15(_0x4472a5);}};_0x2b2ada=_0x2b2ada['toString']();if(_0x376f2c[_0x568b3d(0x198)](isNumeric,_0x2b2ada)){const _0x1614c3=Array[_0x568b3d(0x192)](friends[_0x568b3d(0x197)]());return _0x1614c3[_0x568b3d(0x195)](_0x372792=>_0x372792[_0x568b3d(0x18e)]===_0x2b2ada);}else return friends[_0x568b3d(0x185)](_0x2b2ada);}export async function getGroup(_0x308df6){const _0xb82bdc=_0x2f143c;let _0x482e6e=groups[_0xb82bdc(0x185)](_0x308df6[_0xb82bdc(0x19b)]());if(!_0x482e6e)try{const _0x3de901=await NTQQGroupApi[_0xb82bdc(0x181)]();_0x3de901[_0xb82bdc(0x18a)]&&_0x3de901[_0xb82bdc(0x189)](_0x3e0e1c=>{const _0x3933f4=_0xb82bdc;groups[_0x3933f4(0x183)](_0x3e0e1c[_0x3933f4(0x182)],_0x3e0e1c);});}catch(_0x52729b){return undefined;}return _0x482e6e=groups['get'](_0x308df6[_0xb82bdc(0x19b)]()),_0x482e6e;}export async function getGroupMember(_0x5dab24,_0x158535){const _0x33cfc0=_0x2f143c,_0x922ff7={'RJZnh':function(_0x3db2aa,_0x38db5b){return _0x3db2aa(_0x38db5b);},'zdmFc':function(_0x4a96cd){return _0x4a96cd();}};_0x5dab24=_0x5dab24['toString'](),_0x158535=_0x158535[_0x33cfc0(0x19b)]();let _0x34f961=groupMembers[_0x33cfc0(0x185)](_0x5dab24);if(!_0x34f961)try{_0x34f961=await NTQQGroupApi[_0x33cfc0(0x194)](_0x5dab24),groupMembers[_0x33cfc0(0x183)](_0x5dab24,_0x34f961);}catch(_0x4bd608){return null;}const _0x42a152=()=>{const _0x3790ee=_0x33cfc0;let _0x33f1de=undefined;return _0x922ff7[_0x3790ee(0x18c)](isNumeric,_0x158535)?_0x33f1de=Array[_0x3790ee(0x192)](_0x34f961[_0x3790ee(0x197)]())['find'](_0x91b924=>_0x91b924[_0x3790ee(0x18e)]===_0x158535):_0x33f1de=_0x34f961[_0x3790ee(0x185)](_0x158535),_0x33f1de;};let _0x5d9468=_0x42a152();return!_0x5d9468&&(_0x34f961=await NTQQGroupApi['getGroupMembers'](_0x5dab24),_0x5d9468=_0x922ff7[_0x33cfc0(0x193)](_0x42a152)),_0x5d9468;}export const uid2UinMap={};export function getUidByUin(_0x27ee8c){const _0x5cc43c=_0x2f143c,_0x1d3f59={'gEpWX':function(_0x3ceb76,_0xb8a37a){return _0x3ceb76===_0xb8a37a;}};for(const _0x1d348e in uid2UinMap){if(_0x1d3f59[_0x5cc43c(0x199)](uid2UinMap[_0x1d348e],_0x27ee8c))return _0x1d348e;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0x90e2a2=_0x2d85;(function(_0xc7f719,_0x1d0147){const _0x3e0fac=_0x2d85,_0x3cef6a=_0xc7f719();while(!![]){try{const _0x1c3be3=-parseInt(_0x3e0fac(0xa2))/0x1*(parseInt(_0x3e0fac(0xa6))/0x2)+-parseInt(_0x3e0fac(0x9f))/0x3+parseInt(_0x3e0fac(0x9a))/0x4+parseInt(_0x3e0fac(0xaa))/0x5+-parseInt(_0x3e0fac(0xab))/0x6+parseInt(_0x3e0fac(0xa5))/0x7*(parseInt(_0x3e0fac(0x9e))/0x8)+parseInt(_0x3e0fac(0xa7))/0x9;if(_0x1c3be3===_0x1d0147)break;else _0x3cef6a['push'](_0x3cef6a['shift']());}catch(_0x457b9b){_0x3cef6a['push'](_0x3cef6a['shift']());}}}(_0x3034,0x695b2));function _0x3034(){const _0x256a72=['from','set','1851304XYzHCx','uin','forEach','get','3808312COYmGn','2284947fWuNHw','length','NapCat未能正常启动,请检查日志查看错误','29hRXeHj','toString','values','7LrpZFb','10966XmqfEL','10352151VDdFBh','sJuxV','find','318385pHHtVR','4803522scCsxC','delete','getGroupMembers'];_0x3034=function(){return _0x256a72;};return _0x3034();}import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x2d85(_0x560e1f,_0x277283){const _0x303485=_0x3034();return _0x2d85=function(_0x2d85ae,_0xc9e851){_0x2d85ae=_0x2d85ae-0x96;let _0x3a6b90=_0x303485[_0x2d85ae];return _0x3a6b90;},_0x2d85(_0x560e1f,_0x277283);}export function deleteGroup(_0x1861dd){const _0x1f6856=_0x2d85;groups[_0x1f6856(0x96)](_0x1861dd),groupMembers[_0x1f6856(0x96)](_0x1861dd);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x90e2a2(0xa1)};export async function getFriend(_0xf0c10){const _0x17a066=_0x90e2a2,_0x1b7ca1={'ejxcT':function(_0x22dc2a,_0x4b8a69){return _0x22dc2a(_0x4b8a69);}};_0xf0c10=_0xf0c10[_0x17a066(0xa3)]();if(_0x1b7ca1['ejxcT'](isNumeric,_0xf0c10)){const _0x1b66cd=Array[_0x17a066(0x98)](friends[_0x17a066(0xa4)]());return _0x1b66cd['find'](_0x461b87=>_0x461b87['uin']===_0xf0c10);}else return friends[_0x17a066(0x9d)](_0xf0c10);}export async function getGroup(_0x31621b){const _0x136952=_0x90e2a2;let _0x315b50=groups[_0x136952(0x9d)](_0x31621b['toString']());if(!_0x315b50)try{const _0x7450f8=await NTQQGroupApi['getGroups']();_0x7450f8[_0x136952(0xa0)]&&_0x7450f8[_0x136952(0x9c)](_0x416332=>{const _0x7eeedf=_0x136952;groups[_0x7eeedf(0x99)](_0x416332['groupCode'],_0x416332);});}catch(_0xa9e00c){return undefined;}return _0x315b50=groups[_0x136952(0x9d)](_0x31621b[_0x136952(0xa3)]()),_0x315b50;}export async function getGroupMember(_0x5cca77,_0x15959b){const _0xa556ba=_0x90e2a2,_0x2c6a09={'phPdl':function(_0x5a9799){return _0x5a9799();},'sJuxV':function(_0x53f8cf){return _0x53f8cf();}};_0x5cca77=_0x5cca77[_0xa556ba(0xa3)](),_0x15959b=_0x15959b[_0xa556ba(0xa3)]();let _0x35d146=groupMembers['get'](_0x5cca77);if(!_0x35d146)try{_0x35d146=await NTQQGroupApi[_0xa556ba(0x97)](_0x5cca77),groupMembers[_0xa556ba(0x99)](_0x5cca77,_0x35d146);}catch(_0x3c2396){return null;}const _0x3bd971=()=>{const _0xa78f08=_0xa556ba;let _0x833ece=undefined;return isNumeric(_0x15959b)?_0x833ece=Array[_0xa78f08(0x98)](_0x35d146[_0xa78f08(0xa4)]())[_0xa78f08(0xa9)](_0x2138b7=>_0x2138b7[_0xa78f08(0x9b)]===_0x15959b):_0x833ece=_0x35d146[_0xa78f08(0x9d)](_0x15959b),_0x833ece;};let _0x261a91=_0x2c6a09['phPdl'](_0x3bd971);return!_0x261a91&&(_0x35d146=await NTQQGroupApi[_0xa556ba(0x97)](_0x5cca77),_0x261a91=_0x2c6a09[_0xa556ba(0xa8)](_0x3bd971)),_0x261a91;}export const uid2UinMap={};export function getUidByUin(_0x3ba102){const _0x29096f={'xeNrd':function(_0x3e896c,_0x57956b){return _0x3e896c===_0x57956b;}};for(const _0x903fbf in uid2UinMap){if(_0x29096f['xeNrd'](uid2UinMap[_0x903fbf],_0x3ba102))return _0x903fbf;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 39fc3dd8..e2558646 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x4b175e,_0x452713){var _0x404486=_0x35b6,_0x4481cc=_0x4b175e();while(!![]){try{var _0x40b0ac=parseInt(_0x404486(0x1c9))/0x1+-parseInt(_0x404486(0x1ce))/0x2*(parseInt(_0x404486(0x1cb))/0x3)+-parseInt(_0x404486(0x1c5))/0x4+parseInt(_0x404486(0x1c3))/0x5*(parseInt(_0x404486(0x1ca))/0x6)+parseInt(_0x404486(0x1c7))/0x7*(parseInt(_0x404486(0x1bf))/0x8)+parseInt(_0x404486(0x1bb))/0x9*(-parseInt(_0x404486(0x1cf))/0xa)+parseInt(_0x404486(0x1bd))/0xb*(parseInt(_0x404486(0x1cd))/0xc);if(_0x40b0ac===_0x452713)break;else _0x4481cc['push'](_0x4481cc['shift']());}catch(_0x1e1964){_0x4481cc['push'](_0x4481cc['shift']());}}}(_0x1730,0x4cfc6));;function _0x1730(){var _0x386f4a=['27hhgRWY','sITvM','967087wLIDnb','split','8Auensn','qfLgq','AUDIO','VIDEO','10MCZkne','IMAGE','1574844WDzRid','DOCUMENT','349937NbFSsB','OTHER','386302HKiqRN','838368fymGmy','3fwpTnC','RjXbr','132AufSvg','737076fvznmL','2017510uDaNMA'];_0x1730=function(){return _0x386f4a;};return _0x1730();}function _0x35b6(_0x377741,_0x6f7eb5){var _0x1730f1=_0x1730();return _0x35b6=function(_0x35b67e,_0x23361f){_0x35b67e=_0x35b67e-0x1bb;var _0x427dc3=_0x1730f1[_0x35b67e];return _0x427dc3;},_0x35b6(_0x377741,_0x6f7eb5);}export var CacheFileType;(function(_0x4459eb){var _0xc5079e=_0x35b6,_0x1e9f17={'RjXbr':'1|2|4|3|0','qfLgq':_0xc5079e(0x1c8),'VHPiP':_0xc5079e(0x1c4),'sITvM':_0xc5079e(0x1c2),'ioWiG':_0xc5079e(0x1c6),'ytjzY':_0xc5079e(0x1c1)},_0x2549df=_0x1e9f17[_0xc5079e(0x1cc)][_0xc5079e(0x1be)]('|'),_0x5eedeb=0x0;while(!![]){switch(_0x2549df[_0x5eedeb++]){case'0':_0x4459eb[_0x4459eb[_0x1e9f17[_0xc5079e(0x1c0)]]=0x4]=_0x1e9f17['qfLgq'];continue;case'1':_0x4459eb[_0x4459eb[_0xc5079e(0x1c4)]=0x0]=_0x1e9f17['VHPiP'];continue;case'2':_0x4459eb[_0x4459eb[_0x1e9f17[_0xc5079e(0x1bc)]]=0x1]=_0x1e9f17[_0xc5079e(0x1bc)];continue;case'3':_0x4459eb[_0x4459eb[_0x1e9f17['ioWiG']]=0x3]=_0xc5079e(0x1c6);continue;case'4':_0x4459eb[_0x4459eb[_0x1e9f17['ytjzY']]=0x2]=_0x1e9f17['ytjzY'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x3b92(_0x1bf527,_0x18fa78){var _0x27c620=_0x27c6();return _0x3b92=function(_0x3b920a,_0x29c3e5){_0x3b920a=_0x3b920a-0x86;var _0xcaea3f=_0x27c620[_0x3b920a];return _0xcaea3f;},_0x3b92(_0x1bf527,_0x18fa78);}(function(_0x9fc70e,_0xd3e5c7){var _0x5d1207=_0x3b92,_0x2f43cb=_0x9fc70e();while(!![]){try{var _0x34f32a=parseInt(_0x5d1207(0x87))/0x1*(-parseInt(_0x5d1207(0x99))/0x2)+parseInt(_0x5d1207(0x86))/0x3*(-parseInt(_0x5d1207(0x89))/0x4)+-parseInt(_0x5d1207(0x94))/0x5+parseInt(_0x5d1207(0x90))/0x6*(parseInt(_0x5d1207(0x92))/0x7)+-parseInt(_0x5d1207(0x9d))/0x8*(parseInt(_0x5d1207(0x8f))/0x9)+parseInt(_0x5d1207(0x88))/0xa*(-parseInt(_0x5d1207(0x93))/0xb)+parseInt(_0x5d1207(0x8a))/0xc;if(_0x34f32a===_0xd3e5c7)break;else _0x2f43cb['push'](_0x2f43cb['shift']());}catch(_0x3e5417){_0x2f43cb['push'](_0x2f43cb['shift']());}}}(_0x27c6,0xdf256));;export var CacheFileType;function _0x27c6(){var _0x5a6ebd=['1255383xawsuh','18qUTmCd','DVehd','3966837NWBMtA','11oHXpHe','5452915yFARQB','AUDIO','OTHER','PpFPX','IdwwF','2qSlSYO','VIDEO','IMAGE','split','104rRQBIS','60267PDpQsi','1398599raTjeb','7636730CiLVUu','4JuDHHT','51602496lZNEwG','DOCUMENT','2|0|4|3|1','KpKFz','RUwwM'];_0x27c6=function(){return _0x5a6ebd;};return _0x27c6();}(function(_0x5d11a0){var _0x1f8553=_0x3b92,_0x71f945={'RUwwM':_0x1f8553(0x8c),'DVehd':_0x1f8553(0x9a),'PpFPX':'OTHER','pInmz':_0x1f8553(0x9b),'IdwwF':_0x1f8553(0x8b),'KpKFz':_0x1f8553(0x95)},_0x447068=_0x71f945[_0x1f8553(0x8e)][_0x1f8553(0x9c)]('|'),_0x2d9d41=0x0;while(!![]){switch(_0x447068[_0x2d9d41++]){case'0':_0x5d11a0[_0x5d11a0[_0x71f945[_0x1f8553(0x91)]]=0x1]=_0x71f945[_0x1f8553(0x91)];continue;case'1':_0x5d11a0[_0x5d11a0[_0x1f8553(0x96)]=0x4]=_0x71f945[_0x1f8553(0x97)];continue;case'2':_0x5d11a0[_0x5d11a0[_0x1f8553(0x9b)]=0x0]=_0x71f945['pInmz'];continue;case'3':_0x5d11a0[_0x5d11a0[_0x71f945['IdwwF']]=0x3]=_0x71f945[_0x1f8553(0x98)];continue;case'4':_0x5d11a0[_0x5d11a0[_0x71f945['KpKFz']]=0x2]=_0x71f945[_0x1f8553(0x8d)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 8e735dde..2470df2a 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x46ff16=_0x2671;(function(_0x31d478,_0x522965){const _0x5a53c8=_0x2671,_0xed52ed=_0x31d478();while(!![]){try{const _0x431ea1=parseInt(_0x5a53c8(0x11b))/0x1*(parseInt(_0x5a53c8(0x12d))/0x2)+-parseInt(_0x5a53c8(0x100))/0x3+parseInt(_0x5a53c8(0x138))/0x4*(-parseInt(_0x5a53c8(0x11a))/0x5)+parseInt(_0x5a53c8(0x10b))/0x6+parseInt(_0x5a53c8(0x137))/0x7+-parseInt(_0x5a53c8(0x11f))/0x8+parseInt(_0x5a53c8(0x127))/0x9*(parseInt(_0x5a53c8(0x114))/0xa);if(_0x431ea1===_0x522965)break;else _0xed52ed['push'](_0xed52ed['shift']());}catch(_0x2d4c14){_0xed52ed['push'](_0xed52ed['shift']());}}}(_0x28df,0xe807c));function _0x28df(){const _0x15ec3b=['BouOr','FILE','108ehwnHl','FNrGc','Bot\x20Test','Bsava','video','WbbHK','find','yHvgb','reply','[包剪锤]','110320adlmbn','688072Qzigfv','NTnZf','then','_0.png','PTT','copyFile','TEXT','Rehpb','AniStickerId','catch','dirname','YplsR','toString','writeFile','语音转换失败,\x20请检查语音文件是否正常','ZQRiQ','uploadFile','height','miniapp','end','notAt','HeXkE','biWsV','YFKrC','KXYyo','yxWka','getImageSize','isFYn','time','replace','YIFBh','BQfpQ','ARK','screenshots','get','unlink','msliI','sep','rps','Thumb','AAMUG','XFjyU','ptt','2866584zgObTR','join','获取视频封面失败,使用默认封面','width','mUWjC','text','获取视频信息失败','mp4','sysface','MFACE','stat','5400030XfdJkt','ark','eHfYm','string','MARKDOWN','PUOwz','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','stringify','error','33510LigUJb','AniStickerPackId','UORvq','RPS','[骰子]','gif','5ZaHvfV','15848zLnVCD','AGhRg','dice','https://www.bilibili.com/','2937328cTYsNK','AniStickerType','QSid','[商城表情]','VIDEO','文件异常,大小为0','PIC','FACE','1809vAdCET','REPLY','face','Ori'];_0x28df=function(){return _0x15ec3b;};return _0x28df();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5dbce6}from'node:fs';import _0x5f2e1f from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0x2671(_0x429833,_0x3e0a25){const _0x28df77=_0x28df();return _0x2671=function(_0x2671c7,_0x38449d){_0x2671c7=_0x2671c7-0xf5;let _0x44cb1f=_0x28df77[_0x2671c7];return _0x44cb1f;},_0x2671(_0x429833,_0x3e0a25);}import _0x16b793 from'./face_config.json';import*as _0x4606ba from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x46ff16(0x105)](_0xa14a03){const _0x5a59e7=_0x46ff16;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xa14a03,'atType':AtType[_0x5a59e7(0x14c)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2887d9,_0x1a32c6,_0xa8580,_0x49d824){const _0x13213d=_0x46ff16;return{'elementType':ElementType[_0x13213d(0x13e)],'elementId':'','textElement':{'content':'@'+_0x49d824,'atType':_0xa8580,'atUid':_0x2887d9,'atTinyId':'','atNtUid':_0x1a32c6}};}static[_0x46ff16(0x135)](_0x2049dc,_0x19ca34,_0x21aced,_0x416ea7){const _0x2448ba=_0x46ff16;return{'elementType':ElementType[_0x2448ba(0x128)],'elementId':'','replyElement':{'replayMsgSeq':_0x2049dc,'replayMsgId':_0x19ca34,'senderUin':_0x21aced,'senderUinStr':_0x416ea7}};}static async['pic'](_0x5310a3,_0x1985f9='',_0x30fbf0=0x0){const _0x60e3b=_0x46ff16,_0x3c0e16={'mUWjC':function(_0x4c21b6,_0x201825){return _0x4c21b6===_0x201825;},'AAMUG':_0x60e3b(0x124),'NTnZf':function(_0x33aa33,_0x24a928){return _0x33aa33(_0x24a928);}},{md5:_0x5bb2bf,fileName:_0x1759e2,path:_0x490b91,fileSize:_0x1173b6}=await NTQQFileApi[_0x60e3b(0x148)](_0x5310a3,ElementType[_0x60e3b(0x125)],_0x30fbf0);if(_0x3c0e16[_0x60e3b(0x104)](_0x1173b6,0x0))throw _0x3c0e16[_0x60e3b(0xfd)];const _0x557036=await NTQQFileApi[_0x60e3b(0x152)](_0x5310a3),_0x232de9={'md5HexStr':_0x5bb2bf,'fileSize':_0x1173b6[_0x60e3b(0x144)](),'picWidth':_0x557036?.[_0x60e3b(0x103)],'picHeight':_0x557036?.[_0x60e3b(0x149)],'fileName':_0x1759e2,'sourcePath':_0x490b91,'original':!![],'picType':_0x3c0e16[_0x60e3b(0x139)](isGIF,_0x5310a3)?PicType[_0x60e3b(0x119)]:PicType['jpg'],'picSubType':_0x30fbf0,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1985f9};return{'elementType':ElementType[_0x60e3b(0x125)],'elementId':'','picElement':_0x232de9};}static async['file'](_0x3dffaf,_0x18cbdf=''){const _0x38f7c7=_0x46ff16,_0x25241e={'HVAzc':function(_0x2ce91c,_0x1230d2){return _0x2ce91c===_0x1230d2;},'FNrGc':'文件异常,大小为0','BouOr':function(_0x495e17,_0x5b14f7){return _0x495e17||_0x5b14f7;}},{md5:_0x1f65c7,fileName:_0x48988b,path:_0x5e2def,fileSize:_0x3a4529}=await NTQQFileApi['uploadFile'](_0x3dffaf,ElementType[_0x38f7c7(0x12c)]);if(_0x25241e['HVAzc'](_0x3a4529,0x0))throw _0x25241e[_0x38f7c7(0x12e)];const _0x2089f1={'elementType':ElementType[_0x38f7c7(0x12c)],'elementId':'','fileElement':{'fileName':_0x25241e[_0x38f7c7(0x12b)](_0x18cbdf,_0x48988b),'filePath':_0x5e2def,'fileSize':_0x3a4529[_0x38f7c7(0x144)]()}};return _0x2089f1;}static async[_0x46ff16(0x131)](_0x4cc369,_0x520fdd='',_0x1c90e0=''){const _0x32cd29=_0x46ff16,_0x478a00={'isFYn':function(_0x15d705,_0x5c5704){return _0x15d705(_0x5c5704);},'msliI':function(_0x2cf2b5,_0x1f9859,_0x3fa2f2){return _0x2cf2b5(_0x1f9859,_0x3fa2f2);},'Bsava':_0x32cd29(0x102),'WbbHK':_0x32cd29(0x14b),'yxWka':function(_0x2d1de5,_0x4af2b5){return _0x2d1de5+_0x4af2b5;},'YFKrC':_0x32cd29(0x107),'yHvgb':function(_0x520f2f,_0x20bbbe,_0xfc716){return _0x520f2f(_0x20bbbe,_0xfc716);},'eHfYm':_0x32cd29(0x106),'KXYyo':function(_0x5c697f,_0x53e81c){return _0x5c697f||_0x53e81c;}},{fileName:_0x373f25,path:_0x1200cc,fileSize:_0x41d745,md5:_0x63da07}=await NTQQFileApi[_0x32cd29(0x148)](_0x4cc369,ElementType[_0x32cd29(0x123)]);if(_0x41d745===0x0)throw _0x32cd29(0x124);let _0x3bddcd=_0x1200cc[_0x32cd29(0x155)](_0x4606ba[_0x32cd29(0xfa)]+_0x32cd29(0x12a)+_0x4606ba[_0x32cd29(0xfa)],_0x4606ba[_0x32cd29(0xfa)]+_0x32cd29(0xfc)+_0x4606ba['sep']);_0x3bddcd=_0x4606ba[_0x32cd29(0x142)](_0x3bddcd);let _0x508130={'width':0x780,'height':0x438,'time':0xf,'format':_0x478a00[_0x32cd29(0x14f)],'size':_0x41d745,'filePath':_0x4cc369};try{_0x508130=await getVideoInfo(_0x1200cc);}catch(_0x4595f3){_0x478a00[_0x32cd29(0x134)](logError,_0x478a00[_0x32cd29(0x10d)],_0x4595f3);}const _0x2cb242=new Promise((_0x31c770,_0x3d811d)=>{const _0x5950b6=_0x32cd29,_0x10d2d7=_0x63da07+_0x5950b6(0x13b),_0xa946a9=_0x4606ba[_0x5950b6(0x101)](_0x3bddcd,_0x10d2d7);_0x478a00[_0x5950b6(0x153)](_0x5f2e1f,_0x4cc369)['on'](_0x478a00[_0x5950b6(0x132)],()=>{})['on'](_0x5950b6(0x113),_0x40da6a=>{const _0x4a400f=_0x5950b6,_0x2bf991={'ZQRiQ':function(_0x3770dc,_0x5af5bb){const _0x59c3c0=_0x2671;return _0x478a00[_0x59c3c0(0x153)](_0x3770dc,_0x5af5bb);}};_0x478a00[_0x4a400f(0xf9)](logDebug,_0x478a00[_0x4a400f(0x130)],_0x40da6a),_0x1c90e0?_0x5dbce6[_0x4a400f(0x13d)](_0x1c90e0,_0xa946a9)[_0x4a400f(0x13a)](()=>{_0x2bf991['ZQRiQ'](_0x31c770,_0xa946a9);})[_0x4a400f(0x141)](_0x3d811d):_0x5dbce6[_0x4a400f(0x145)](_0xa946a9,defaultVideoThumb)[_0x4a400f(0x13a)](()=>{const _0x2af542=_0x4a400f;_0x2bf991[_0x2af542(0x147)](_0x31c770,_0xa946a9);})[_0x4a400f(0x141)](_0x3d811d);})[_0x5950b6(0xf6)]({'timestamps':[0x0],'filename':_0x10d2d7,'folder':_0x3bddcd,'size':_0x478a00['yxWka'](_0x478a00[_0x5950b6(0x151)](_0x508130[_0x5950b6(0x103)],'x'),_0x508130[_0x5950b6(0x149)])})['on'](_0x478a00[_0x5950b6(0x132)],()=>{const _0x1729a9=_0x5950b6;_0x478a00[_0x1729a9(0x153)](_0x31c770,_0xa946a9);});}),_0x4a4d6b=new Map(),_0x146c7b=await _0x2cb242,_0x5ead6f=(await _0x5dbce6[_0x32cd29(0x10a)](_0x146c7b))['size'];_0x4a4d6b['set'](0x0,_0x146c7b);const _0x589af1=await _0x478a00[_0x32cd29(0x153)](calculateFileMD5,_0x146c7b),_0x432021={'elementType':ElementType[_0x32cd29(0x123)],'elementId':'','videoElement':{'fileName':_0x478a00[_0x32cd29(0x150)](_0x520fdd,_0x373f25),'filePath':_0x1200cc,'videoMd5':_0x63da07,'thumbMd5':_0x589af1,'fileTime':_0x508130[_0x32cd29(0x154)],'thumbPath':_0x4a4d6b,'thumbSize':_0x5ead6f,'thumbWidth':_0x508130['width'],'thumbHeight':_0x508130[_0x32cd29(0x149)],'fileSize':_0x478a00[_0x32cd29(0x151)]('',_0x41d745)}};return _0x432021;}static async[_0x46ff16(0xff)](_0x22eee2){const _0x12c1ac=_0x46ff16,_0x21ed67={'BQfpQ':function(_0xe458a0,_0x3bda20){return _0xe458a0(_0x3bda20);},'UORvq':_0x12c1ac(0x146),'YIFBh':function(_0x12e8a8,_0x45397f){return _0x12e8a8===_0x45397f;},'XFjyU':function(_0xbc5093,_0x2ebe85){return _0xbc5093||_0x2ebe85;}},{converted:_0x100689,path:_0x40d90d,duration:_0xec42f5}=await _0x21ed67[_0x12c1ac(0x157)](encodeSilk,_0x22eee2);if(!_0x40d90d)throw _0x21ed67[_0x12c1ac(0x116)];const {md5:_0x32ca24,fileName:_0x207dea,path:_0x1cc2e9,fileSize:_0x1d365a}=await NTQQFileApi['uploadFile'](_0x40d90d,ElementType['PTT']);if(_0x21ed67[_0x12c1ac(0x156)](_0x1d365a,0x0))throw _0x12c1ac(0x124);return _0x100689&&_0x5dbce6[_0x12c1ac(0xf8)](_0x40d90d)['then'](),{'elementType':ElementType[_0x12c1ac(0x13c)],'elementId':'','pttElement':{'fileName':_0x207dea,'filePath':_0x1cc2e9,'md5HexStr':_0x32ca24,'fileSize':_0x1d365a,'duration':_0x21ed67[_0x12c1ac(0xfe)](_0xec42f5,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[_0x46ff16(0x129)](_0x14258b){const _0x4d5279=_0x46ff16,_0x30e916={'YplsR':function(_0xb6a803,_0x7ede5f){return _0xb6a803(_0x7ede5f);},'AGhRg':function(_0x35b751,_0x353003){return _0x35b751>=_0x353003;}},_0x175768=_0x16b793[_0x4d5279(0x108)],_0x59ee2f=_0x16b793['emoji'],_0x17f3c9=_0x175768[_0x4d5279(0x133)](_0x2a0b65=>_0x2a0b65[_0x4d5279(0x121)]===_0x14258b[_0x4d5279(0x144)]());_0x14258b=_0x30e916[_0x4d5279(0x143)](parseInt,_0x14258b['toString']());let _0x581d02=0x1;return _0x30e916[_0x4d5279(0x11c)](_0x14258b,0xde)&&(_0x581d02=0x2),_0x17f3c9[_0x4d5279(0x120)]&&(_0x581d02=0x3),{'elementType':ElementType[_0x4d5279(0x126)],'elementId':'','faceElement':{'faceIndex':_0x14258b,'faceType':_0x581d02,'faceText':_0x17f3c9['QDes'],'stickerId':_0x17f3c9[_0x4d5279(0x140)],'stickerType':_0x17f3c9[_0x4d5279(0x120)],'packId':_0x17f3c9[_0x4d5279(0x115)],'sourceType':0x1}};}static['mface'](_0x498482,_0x204eb0,_0x335141,_0x44d899){const _0x3ec95e=_0x46ff16;return{'elementType':ElementType[_0x3ec95e(0x109)],'marketFaceElement':{'emojiPackageId':_0x498482,'emojiId':_0x204eb0,'key':_0x335141,'faceName':_0x44d899||mFaceCache[_0x3ec95e(0xf7)](_0x204eb0)||_0x3ec95e(0x122)}};}static[_0x46ff16(0x11d)](_0x34979f){const _0x1632bd=_0x46ff16,_0x351205={'Rehpb':_0x1632bd(0x118)};return{'elementType':ElementType[_0x1632bd(0x126)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1632bd(0x11d)],'faceType':FaceType[_0x1632bd(0x11d)],'faceText':_0x351205[_0x1632bd(0x13f)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x46ff16(0xfb)](_0x11df3f){const _0x58beb8=_0x46ff16;return{'elementType':ElementType[_0x58beb8(0x126)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x58beb8(0x117)],'faceText':_0x58beb8(0x136),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x46ff16(0x10c)](_0x2fb9d1){const _0x5cdb12=_0x46ff16;return typeof _0x2fb9d1!==_0x5cdb12(0x10e)&&(_0x2fb9d1=JSON[_0x5cdb12(0x112)](_0x2fb9d1)),{'elementType':ElementType[_0x5cdb12(0xf5)],'elementId':'','arkElement':{'bytesData':_0x2fb9d1,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x3450b2){const _0x123db2=_0x46ff16;return{'elementType':ElementType[_0x123db2(0x10f)],'elementId':'','markdownElement':{'content':_0x3450b2}};}static async[_0x46ff16(0x14a)](){const _0x12da2c=_0x46ff16,_0x459843={'PUOwz':function(_0x11e6fc,_0x2d34ed){return _0x11e6fc(_0x2d34ed);},'HeXkE':'Bot\x20Test','biWsV':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','uUEjn':_0x12da2c(0x111)};let _0x4f0c63=await _0x459843[_0x12da2c(0x110)](SignMiniApp,{'prompt':_0x459843[_0x12da2c(0x14d)],'title':_0x12da2c(0x12f),'preview':_0x459843[_0x12da2c(0x14e)],'jumpUrl':_0x12da2c(0x11e),'tag':_0x12da2c(0x12f),'tagIcon':_0x459843['uUEjn'],'source':_0x459843[_0x12da2c(0x14d)],'sourcelogo':_0x459843['uUEjn']});return{'elementType':ElementType[_0x12da2c(0xf5)],'elementId':'','arkElement':{'bytesData':_0x4f0c63,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x467d34=_0x5759;(function(_0x3318d5,_0x5eb8f6){const _0x58cccf=_0x5759,_0x2afbbb=_0x3318d5();while(!![]){try{const _0x3fd3fd=parseInt(_0x58cccf(0x1e3))/0x1*(-parseInt(_0x58cccf(0x1ed))/0x2)+parseInt(_0x58cccf(0x1f0))/0x3+-parseInt(_0x58cccf(0x1ca))/0x4+-parseInt(_0x58cccf(0x1af))/0x5*(-parseInt(_0x58cccf(0x1ff))/0x6)+-parseInt(_0x58cccf(0x1ac))/0x7+-parseInt(_0x58cccf(0x1de))/0x8*(-parseInt(_0x58cccf(0x1b8))/0x9)+-parseInt(_0x58cccf(0x1f6))/0xa*(parseInt(_0x58cccf(0x1cb))/0xb);if(_0x3fd3fd===_0x5eb8f6)break;else _0x2afbbb['push'](_0x2afbbb['shift']());}catch(_0x4fa364){_0x2afbbb['push'](_0x2afbbb['shift']());}}}(_0x4add,0x4c6f6));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x59b8c2}from'node:fs';import _0x19007e from'fluent-ffmpeg';function _0x4add(){const _0x4a05a3=['LWzRh','Thumb','miniapp','9izEGiU','text','REPLY','[包剪锤]','获取视频信息失败','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','pic','AniStickerPackId','UfOqD','markdown','QnIet','copyFile','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','YwsvS','then','stat','RPS','time','860680leoSja','1694LHZmLv','writeFile','kcioD','GAGTM','stringify','PTT','语音转换失败,\x20请检查语音文件是否正常','set','rps','ibCPH','IYoVE','uploadFile','mIeVS','kMliu','PIC','size','AniStickerId','AniStickerType','TEXT','2417848ZpcgUK','QSid','face','CXKgQ','https://www.bilibili.com/','52859wABxZs','MARKDOWN','find','ARK','FILE','dirname','get','nnPnd','end','FpsIc','2uWtQKj','ark','文件异常,大小为0','435564CpOZlB','IGDMg','mSiqy','join','Ori','[商城表情]','9710JmuWUQ','catch','notAt','reply','getImageSize','EEpeC','dice','TzGro','width','318ZoSnhN','mface','pIzQe','error','sep','FACE','qaEyh','height','NIZOp','获取视频封面失败,使用默认封面','emoji','36428DttPzG','unlink','mp4','27210XCUSsj','replace','ZuiTI','Bot\x20Test','UBAGa','toString'];_0x4add=function(){return _0x4a05a3;};return _0x4add();}import{NTQQFileApi}from'@/core/apis/file';function _0x5759(_0x1a6c43,_0x338724){const _0x4add5f=_0x4add();return _0x5759=function(_0x575976,_0x5eea59){_0x575976=_0x575976-0x1a6;let _0x2ad81c=_0x4add5f[_0x575976];return _0x2ad81c;},_0x5759(_0x1a6c43,_0x338724);}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x466d81 from'./face_config.json';import*as _0x22c863 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x467d34(0x1b9)](_0xfa467a){const _0x1632a1=_0x467d34;return{'elementType':ElementType[_0x1632a1(0x1dd)],'elementId':'','textElement':{'content':_0xfa467a,'atType':AtType[_0x1632a1(0x1f8)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4cbfa3,_0x221199,_0xb6280e,_0x1622f9){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x1622f9,'atType':_0xb6280e,'atUid':_0x4cbfa3,'atTinyId':'','atNtUid':_0x221199}};}static[_0x467d34(0x1f9)](_0x528b5c,_0x53dea1,_0x110eff,_0x266d94){const _0x125699=_0x467d34;return{'elementType':ElementType[_0x125699(0x1ba)],'elementId':'','replyElement':{'replayMsgSeq':_0x528b5c,'replayMsgId':_0x53dea1,'senderUin':_0x110eff,'senderUinStr':_0x266d94}};}static async[_0x467d34(0x1be)](_0x19f320,_0x4b6911='',_0x4a09e6=0x0){const _0x5f2ff2=_0x467d34,_0x5e572d={'IYoVE':function(_0x1b0edd,_0x41ba2f){return _0x1b0edd===_0x41ba2f;},'QnIet':_0x5f2ff2(0x1ef),'IGDMg':function(_0x4d9af0,_0x63bdbe){return _0x4d9af0(_0x63bdbe);}},{md5:_0x4c2a68,fileName:_0x31ff0c,path:_0x470eba,fileSize:_0xac6c87}=await NTQQFileApi[_0x5f2ff2(0x1d6)](_0x19f320,ElementType[_0x5f2ff2(0x1d9)],_0x4a09e6);if(_0x5e572d[_0x5f2ff2(0x1d5)](_0xac6c87,0x0))throw _0x5e572d[_0x5f2ff2(0x1c2)];const _0x3fa3be=await NTQQFileApi[_0x5f2ff2(0x1fa)](_0x19f320),_0x9cf123={'md5HexStr':_0x4c2a68,'fileSize':_0xac6c87[_0x5f2ff2(0x1b4)](),'picWidth':_0x3fa3be?.['width'],'picHeight':_0x3fa3be?.[_0x5f2ff2(0x1a8)],'fileName':_0x31ff0c,'sourcePath':_0x470eba,'original':!![],'picType':_0x5e572d[_0x5f2ff2(0x1f1)](isGIF,_0x19f320)?PicType['gif']:PicType['jpg'],'picSubType':_0x4a09e6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4b6911};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x9cf123};}static async['file'](_0x233980,_0x2f0e73=''){const _0x46944c=_0x467d34,_0x78a1a6={'mIeVS':function(_0x25d228,_0x48a887){return _0x25d228===_0x48a887;},'ibCPH':_0x46944c(0x1ef)},{md5:_0x5c90ff,fileName:_0x1aea95,path:_0x3c8096,fileSize:_0x32d2be}=await NTQQFileApi['uploadFile'](_0x233980,ElementType[_0x46944c(0x1e7)]);if(_0x78a1a6[_0x46944c(0x1d7)](_0x32d2be,0x0))throw _0x78a1a6[_0x46944c(0x1d4)];const _0x3c5f05={'elementType':ElementType[_0x46944c(0x1e7)],'elementId':'','fileElement':{'fileName':_0x2f0e73||_0x1aea95,'filePath':_0x3c8096,'fileSize':_0x32d2be[_0x46944c(0x1b4)]()}};return _0x3c5f05;}static async['video'](_0x3bbcfb,_0x1b621d='',_0x2873ae=''){const _0x516bc2=_0x467d34,_0x203e21={'qaEyh':function(_0x59322e,_0x429824){return _0x59322e(_0x429824);},'JAlDn':_0x516bc2(0x1aa),'nnPnd':_0x516bc2(0x1eb),'CXKgQ':_0x516bc2(0x202),'kcioD':function(_0x4f0455,_0x1e9c1f){return _0x4f0455+_0x1e9c1f;},'ODpcE':_0x516bc2(0x1ef),'mSiqy':function(_0x3e4557,_0x56d6c8,_0x3b6232){return _0x3e4557(_0x56d6c8,_0x3b6232);},'SJXWD':_0x516bc2(0x1bc),'ChblM':function(_0x40f93d,_0x4366ba){return _0x40f93d(_0x4366ba);},'GAGTM':function(_0x570ebb,_0x6ed212){return _0x570ebb||_0x6ed212;}},{fileName:_0x278465,path:_0x3e4abd,fileSize:_0x196ad8,md5:_0x49a04a}=await NTQQFileApi[_0x516bc2(0x1d6)](_0x3bbcfb,ElementType['VIDEO']);if(_0x196ad8===0x0)throw _0x203e21['ODpcE'];let _0x4099ac=_0x3e4abd[_0x516bc2(0x1b0)](_0x22c863[_0x516bc2(0x203)]+_0x516bc2(0x1f4)+_0x22c863[_0x516bc2(0x203)],_0x22c863['sep']+_0x516bc2(0x1b6)+_0x22c863[_0x516bc2(0x203)]);_0x4099ac=_0x22c863[_0x516bc2(0x1e8)](_0x4099ac);let _0x3dbb20={'width':0x780,'height':0x438,'time':0xf,'format':_0x516bc2(0x1ae),'size':_0x196ad8,'filePath':_0x3bbcfb};try{_0x3dbb20=await getVideoInfo(_0x3e4abd);}catch(_0x5a0d3d){_0x203e21[_0x516bc2(0x1f2)](logError,_0x203e21['SJXWD'],_0x5a0d3d);}const _0x4017e9=new Promise((_0x76877d,_0x452eda)=>{const _0x50b22c=_0x516bc2,_0x31f8ad={'UBAGa':function(_0x48f7bd,_0x68533a){return _0x203e21['qaEyh'](_0x48f7bd,_0x68533a);}},_0x7b2233=_0x49a04a+'_0.png',_0x354420=_0x22c863[_0x50b22c(0x1f3)](_0x4099ac,_0x7b2233);_0x19007e(_0x3bbcfb)['on'](_0x203e21[_0x50b22c(0x1ea)],()=>{})['on'](_0x203e21[_0x50b22c(0x1e1)],_0x33a687=>{const _0x10b8d9=_0x50b22c,_0x267055={'NIZOp':function(_0x3ec028,_0x376028){const _0x5d4339=_0x5759;return _0x203e21[_0x5d4339(0x1a7)](_0x3ec028,_0x376028);},'kMliu':function(_0x198f2e,_0x395420){const _0x45d106=_0x5759;return _0x203e21[_0x45d106(0x1a7)](_0x198f2e,_0x395420);}};logDebug(_0x203e21['JAlDn'],_0x33a687),_0x2873ae?_0x59b8c2[_0x10b8d9(0x1c3)](_0x2873ae,_0x354420)[_0x10b8d9(0x1c6)](()=>{const _0x49f3a5=_0x10b8d9;_0x267055[_0x49f3a5(0x1a9)](_0x76877d,_0x354420);})[_0x10b8d9(0x1f7)](_0x452eda):_0x59b8c2[_0x10b8d9(0x1cc)](_0x354420,defaultVideoThumb)['then'](()=>{const _0x1db4a2=_0x10b8d9;_0x267055[_0x1db4a2(0x1d8)](_0x76877d,_0x354420);})['catch'](_0x452eda);})['screenshots']({'timestamps':[0x0],'filename':_0x7b2233,'folder':_0x4099ac,'size':_0x203e21[_0x50b22c(0x1cd)](_0x3dbb20[_0x50b22c(0x1fe)]+'x',_0x3dbb20[_0x50b22c(0x1a8)])})['on']('end',()=>{const _0x39ecdc=_0x50b22c;_0x31f8ad[_0x39ecdc(0x1b3)](_0x76877d,_0x354420);});}),_0x544e66=new Map(),_0x13f410=await _0x4017e9,_0x2c4cc8=(await _0x59b8c2[_0x516bc2(0x1c7)](_0x13f410))[_0x516bc2(0x1da)];_0x544e66[_0x516bc2(0x1d2)](0x0,_0x13f410);const _0x5db228=await _0x203e21['ChblM'](calculateFileMD5,_0x13f410),_0x1d81c3={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x203e21[_0x516bc2(0x1ce)](_0x1b621d,_0x278465),'filePath':_0x3e4abd,'videoMd5':_0x49a04a,'thumbMd5':_0x5db228,'fileTime':_0x3dbb20[_0x516bc2(0x1c9)],'thumbPath':_0x544e66,'thumbSize':_0x2c4cc8,'thumbWidth':_0x3dbb20[_0x516bc2(0x1fe)],'thumbHeight':_0x3dbb20['height'],'fileSize':''+_0x196ad8}};return _0x1d81c3;}static async['ptt'](_0x344429){const _0x42fa0e=_0x467d34,_0xa6c2ff={'AHlKx':function(_0x168c3c,_0x59d155){return _0x168c3c===_0x59d155;},'EEpeC':_0x42fa0e(0x1ef),'LWzRh':function(_0x110213,_0x519b36){return _0x110213||_0x519b36;}},{converted:_0xd8c923,path:_0x23fe9f,duration:_0x420685}=await encodeSilk(_0x344429);if(!_0x23fe9f)throw _0x42fa0e(0x1d1);const {md5:_0x163cc9,fileName:_0x8b2f4f,path:_0x19b3d9,fileSize:_0x208b72}=await NTQQFileApi[_0x42fa0e(0x1d6)](_0x23fe9f,ElementType[_0x42fa0e(0x1d0)]);if(_0xa6c2ff['AHlKx'](_0x208b72,0x0))throw _0xa6c2ff[_0x42fa0e(0x1fb)];return _0xd8c923&&_0x59b8c2[_0x42fa0e(0x1ad)](_0x23fe9f)[_0x42fa0e(0x1c6)](),{'elementType':ElementType[_0x42fa0e(0x1d0)],'elementId':'','pttElement':{'fileName':_0x8b2f4f,'filePath':_0x19b3d9,'md5HexStr':_0x163cc9,'fileSize':_0x208b72,'duration':_0xa6c2ff[_0x42fa0e(0x1b5)](_0x420685,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[_0x467d34(0x1e0)](_0x4d2c97){const _0x3304d0=_0x467d34,_0x278f76={'Qrtgr':function(_0xeb5947,_0x5851c8){return _0xeb5947(_0x5851c8);},'FpsIc':function(_0x5286d8,_0x394485){return _0x5286d8>=_0x394485;}},_0x1708ab=_0x466d81['sysface'],_0x5855d4=_0x466d81[_0x3304d0(0x1ab)],_0x53f637=_0x1708ab[_0x3304d0(0x1e5)](_0x27eef9=>_0x27eef9[_0x3304d0(0x1df)]===_0x4d2c97[_0x3304d0(0x1b4)]());_0x4d2c97=_0x278f76['Qrtgr'](parseInt,_0x4d2c97[_0x3304d0(0x1b4)]());let _0xf79596=0x1;return _0x278f76[_0x3304d0(0x1ec)](_0x4d2c97,0xde)&&(_0xf79596=0x2),_0x53f637['AniStickerType']&&(_0xf79596=0x3),{'elementType':ElementType[_0x3304d0(0x1a6)],'elementId':'','faceElement':{'faceIndex':_0x4d2c97,'faceType':_0xf79596,'faceText':_0x53f637['QDes'],'stickerId':_0x53f637[_0x3304d0(0x1db)],'stickerType':_0x53f637[_0x3304d0(0x1dc)],'packId':_0x53f637[_0x3304d0(0x1bf)],'sourceType':0x1}};}static[_0x467d34(0x200)](_0x43689d,_0x4137ef,_0x17661a,_0x573736){const _0xebd5e8=_0x467d34;return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x43689d,'emojiId':_0x4137ef,'key':_0x17661a,'faceName':_0x573736||mFaceCache[_0xebd5e8(0x1e9)](_0x4137ef)||_0xebd5e8(0x1f5)}};}static[_0x467d34(0x1fc)](_0x19d306){const _0xdbbdb=_0x467d34,_0x405c1b={'TzGro':'[骰子]'};return{'elementType':ElementType[_0xdbbdb(0x1a6)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x405c1b[_0xdbbdb(0x1fd)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x467d34(0x1d3)](_0x172742){const _0x4e913c=_0x467d34,_0x2c2aee={'ZuiTI':_0x4e913c(0x1bb)};return{'elementType':ElementType[_0x4e913c(0x1a6)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4e913c(0x1c8)],'faceText':_0x2c2aee[_0x4e913c(0x1b1)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x467d34(0x1ee)](_0x2df5bc){const _0x13bf65=_0x467d34,_0x57aa86={'jiDAF':'string'};return typeof _0x2df5bc!==_0x57aa86['jiDAF']&&(_0x2df5bc=JSON[_0x13bf65(0x1cf)](_0x2df5bc)),{'elementType':ElementType[_0x13bf65(0x1e6)],'elementId':'','arkElement':{'bytesData':_0x2df5bc,'linkInfo':null,'subElementType':null}};}static[_0x467d34(0x1c1)](_0x527134){const _0x2da518=_0x467d34;return{'elementType':ElementType[_0x2da518(0x1e4)],'elementId':'','markdownElement':{'content':_0x527134}};}static async[_0x467d34(0x1b7)](){const _0x23ad5c=_0x467d34,_0x31c46b={'pIzQe':_0x23ad5c(0x1b2),'UfOqD':_0x23ad5c(0x1bd),'YwsvS':_0x23ad5c(0x1c4)};let _0x12c57a=await SignMiniApp({'prompt':_0x31c46b[_0x23ad5c(0x201)],'title':_0x31c46b['pIzQe'],'preview':_0x31c46b[_0x23ad5c(0x1c0)],'jumpUrl':_0x23ad5c(0x1e2),'tag':_0x31c46b[_0x23ad5c(0x201)],'tagIcon':_0x23ad5c(0x1c4),'source':_0x23ad5c(0x1b2),'sourcelogo':_0x31c46b[_0x23ad5c(0x1c5)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x12c57a,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index bf9f6203..447f3342 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x2629d1,_0x1746d3){var _0x181451=_0x20bc,_0x108b02=_0x2629d1();while(!![]){try{var _0x1681bc=parseInt(_0x181451(0x7f))/0x1*(parseInt(_0x181451(0x85))/0x2)+-parseInt(_0x181451(0x80))/0x3+-parseInt(_0x181451(0x83))/0x4+parseInt(_0x181451(0x7a))/0x5+-parseInt(_0x181451(0x7e))/0x6+parseInt(_0x181451(0x81))/0x7*(parseInt(_0x181451(0x82))/0x8)+parseInt(_0x181451(0x7d))/0x9;if(_0x1681bc===_0x1746d3)break;else _0x108b02['push'](_0x108b02['shift']());}catch(_0x26cca1){_0x108b02['push'](_0x108b02['shift']());}}}(_0x73c7,0x29b06));export var GroupMemberRole;function _0x73c7(){var _0x41f620=['4655214RMHLAw','749034NyxcBU','1zXuUYy','998340vAazLm','28LhXqGW','431272UOyzjL','1123168iPPRvo','owner','6398sMMcyX','wRNWM','eUskL','normal','865440STWwdT','admin','kvlaV'];_0x73c7=function(){return _0x41f620;};return _0x73c7();}function _0x20bc(_0x46f0ba,_0x5d6a8d){var _0x73c76f=_0x73c7();return _0x20bc=function(_0x20bc9f,_0x39efe7){_0x20bc9f=_0x20bc9f-0x79;var _0x385b90=_0x73c76f[_0x20bc9f];return _0x385b90;},_0x20bc(_0x46f0ba,_0x5d6a8d);}(function(_0x1bdbef){var _0x32a4a3=_0x20bc,_0xff7650={'kvlaV':_0x32a4a3(0x79),'wRNWM':'admin','eUskL':_0x32a4a3(0x84)};_0x1bdbef[_0x1bdbef[_0x32a4a3(0x79)]=0x2]=_0xff7650[_0x32a4a3(0x7c)],_0x1bdbef[_0x1bdbef[_0x32a4a3(0x7b)]=0x3]=_0xff7650[_0x32a4a3(0x86)],_0x1bdbef[_0x1bdbef[_0x32a4a3(0x84)]=0x4]=_0xff7650[_0x32a4a3(0x87)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x30b689,_0x5d81a2){var _0x44383b=_0x58e6,_0x5822fe=_0x30b689();while(!![]){try{var _0x3a26a7=parseInt(_0x44383b(0x16d))/0x1+-parseInt(_0x44383b(0x175))/0x2*(parseInt(_0x44383b(0x174))/0x3)+parseInt(_0x44383b(0x172))/0x4*(parseInt(_0x44383b(0x176))/0x5)+-parseInt(_0x44383b(0x16a))/0x6*(-parseInt(_0x44383b(0x16e))/0x7)+parseInt(_0x44383b(0x16b))/0x8+-parseInt(_0x44383b(0x16f))/0x9+-parseInt(_0x44383b(0x169))/0xa;if(_0x3a26a7===_0x5d81a2)break;else _0x5822fe['push'](_0x5822fe['shift']());}catch(_0x2c019d){_0x5822fe['push'](_0x5822fe['shift']());}}}(_0x4282,0x76c7b));export var GroupMemberRole;function _0x58e6(_0x2665d9,_0x1d89a5){var _0x428200=_0x4282();return _0x58e6=function(_0x58e6fc,_0x4ebb1a){_0x58e6fc=_0x58e6fc-0x169;var _0x3b2c9e=_0x428200[_0x58e6fc];return _0x3b2c9e;},_0x58e6(_0x2665d9,_0x1d89a5);}(function(_0x3214b9){var _0xa1a321=_0x58e6,_0xccd718={'HxPqP':'normal','WeKbl':_0xa1a321(0x173),'zxzty':_0xa1a321(0x171)};_0x3214b9[_0x3214b9[_0xccd718[_0xa1a321(0x170)]]=0x2]=_0xa1a321(0x16c),_0x3214b9[_0x3214b9[_0xccd718['WeKbl']]=0x3]=_0xccd718['WeKbl'],_0x3214b9[_0x3214b9[_0xccd718[_0xa1a321(0x177)]]=0x4]=_0xccd718[_0xa1a321(0x177)];}(GroupMemberRole||(GroupMemberRole={})));function _0x4282(){var _0x2c3ad3=['78EXciGM','30860JFSzMS','365kQrrwZ','zxzty','4262150OcaWch','2454ePCAno','421872wqIBOJ','normal','766198SXpwRA','13195eZVHwz','7453359BpLbNE','HxPqP','owner','30256nFPfRM','admin'];_0x4282=function(){return _0x2c3ad3;};return _0x4282();} \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index c9828f43..21c15e19 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3eeb70,_0x20726b){var _0x4e0a62=_0x45ed,_0x5d24d3=_0x3eeb70();while(!![]){try{var _0x24a9a9=-parseInt(_0x4e0a62(0x1d1))/0x1*(-parseInt(_0x4e0a62(0x1d2))/0x2)+parseInt(_0x4e0a62(0x1d8))/0x3*(parseInt(_0x4e0a62(0x1d0))/0x4)+-parseInt(_0x4e0a62(0x1d5))/0x5+parseInt(_0x4e0a62(0x1d3))/0x6+-parseInt(_0x4e0a62(0x1cf))/0x7+-parseInt(_0x4e0a62(0x1d4))/0x8+parseInt(_0x4e0a62(0x1d6))/0x9*(-parseInt(_0x4e0a62(0x1d7))/0xa);if(_0x24a9a9===_0x20726b)break;else _0x5d24d3['push'](_0x5d24d3['shift']());}catch(_0x26adba){_0x5d24d3['push'](_0x5d24d3['shift']());}}}(_0x3535,0x2535d));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x3535(){var _0x205547=['1mmqEBQ','344224jhMupL','629478JzYVFn','1819312lOyRbI','339535cdzRkR','478917sgjIAV','10SSmTVa','15ZmGVnF','116291sPfHbC','192428Gfzgwg'];_0x3535=function(){return _0x205547;};return _0x3535();}export*from'./cache';function _0x45ed(_0xd044b6,_0x188143){var _0x3535da=_0x3535();return _0x45ed=function(_0x45ed5d,_0x3ad035){_0x45ed5d=_0x45ed5d-0x1cf;var _0x1a9f0b=_0x3535da[_0x45ed5d];return _0x1a9f0b;},_0x45ed(_0xd044b6,_0x188143);}export*from'./constructor'; \ No newline at end of file +function _0x34fa(_0x1c1f9d,_0x1ca971){var _0xce41c9=_0xce41();return _0x34fa=function(_0x34fabd,_0x5d5490){_0x34fabd=_0x34fabd-0x167;var _0x34cb05=_0xce41c9[_0x34fabd];return _0x34cb05;},_0x34fa(_0x1c1f9d,_0x1ca971);}(function(_0x2512b0,_0x32b067){var _0x294828=_0x34fa,_0x3d4345=_0x2512b0();while(!![]){try{var _0x1027f2=-parseInt(_0x294828(0x16c))/0x1*(-parseInt(_0x294828(0x16f))/0x2)+parseInt(_0x294828(0x170))/0x3*(parseInt(_0x294828(0x167))/0x4)+parseInt(_0x294828(0x171))/0x5*(parseInt(_0x294828(0x173))/0x6)+-parseInt(_0x294828(0x16e))/0x7*(parseInt(_0x294828(0x16a))/0x8)+-parseInt(_0x294828(0x168))/0x9*(parseInt(_0x294828(0x16d))/0xa)+-parseInt(_0x294828(0x172))/0xb+parseInt(_0x294828(0x169))/0xc*(parseInt(_0x294828(0x16b))/0xd);if(_0x1027f2===_0x32b067)break;else _0x3d4345['push'](_0x3d4345['shift']());}catch(_0x5968d6){_0x3d4345['push'](_0x3d4345['shift']());}}}(_0xce41,0xdabc0));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0xce41(){var _0xb5e25d=['2426065hIRxoG','10551167yrNvMf','12hVnCuL','608340qvzReq','8268687xtuBCR','58932rwsISc','24RKUdSS','7020bKHnvn','167qSvgFO','10vjstva','2967104QIEAgm','3246JPRUST','3gtpdNR'];_0xce41=function(){return _0xb5e25d;};return _0xce41();} \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 3420d92a..fdb7ef4e 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x4ff6c3=_0x113b;(function(_0x42b02f,_0xa4b1a){var _0x79d6f=_0x113b,_0x5e2f51=_0x42b02f();while(!![]){try{var _0x532c04=-parseInt(_0x79d6f(0x159))/0x1*(-parseInt(_0x79d6f(0x131))/0x2)+parseInt(_0x79d6f(0x13f))/0x3*(-parseInt(_0x79d6f(0x14c))/0x4)+parseInt(_0x79d6f(0x147))/0x5*(-parseInt(_0x79d6f(0x155))/0x6)+parseInt(_0x79d6f(0x12f))/0x7+parseInt(_0x79d6f(0x151))/0x8*(parseInt(_0x79d6f(0x15f))/0x9)+-parseInt(_0x79d6f(0x12a))/0xa*(parseInt(_0x79d6f(0x13a))/0xb)+parseInt(_0x79d6f(0x13d))/0xc*(parseInt(_0x79d6f(0x14d))/0xd);if(_0x532c04===_0xa4b1a)break;else _0x5e2f51['push'](_0x5e2f51['shift']());}catch(_0x1bb94f){_0x5e2f51['push'](_0x5e2f51['shift']());}}}(_0x2d14,0x43907));export var ElementType;(function(_0x3e9d36){var _0x2ff201=_0x113b,_0x173153={'sIkYv':_0x2ff201(0x129),'Fvaeq':'MFACE','iRUUS':_0x2ff201(0x14a),'NFXrV':_0x2ff201(0x139),'XwjJw':'FACE','OJkBs':_0x2ff201(0x12d),'IeqhQ':_0x2ff201(0x142),'GTbvs':_0x2ff201(0x123),'kibDa':_0x2ff201(0x130),'DKoVA':_0x2ff201(0x137)},_0x37efa0=_0x173153['sIkYv']['split']('|'),_0x4c8c97=0x0;while(!![]){switch(_0x37efa0[_0x4c8c97++]){case'0':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x124)]]=0xb]=_0x173153[_0x2ff201(0x124)];continue;case'1':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x149)]]=0x1]=_0x173153[_0x2ff201(0x149)];continue;case'2':_0x3e9d36[_0x3e9d36[_0x2ff201(0x140)]=0xe]=_0x2ff201(0x140);continue;case'3':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x14b)]]=0x4]=_0x173153[_0x2ff201(0x14b)];continue;case'4':_0x3e9d36[_0x3e9d36[_0x173153['XwjJw']]=0x6]=_0x2ff201(0x144);continue;case'5':_0x3e9d36[_0x3e9d36[_0x173153['OJkBs']]=0x7]=_0x173153['OJkBs'];continue;case'6':_0x3e9d36[_0x3e9d36[_0x173153['IeqhQ']]=0x5]=_0x173153[_0x2ff201(0x160)];continue;case'7':_0x3e9d36[_0x3e9d36['ARK']=0xa]=_0x173153[_0x2ff201(0x161)];continue;case'8':_0x3e9d36[_0x3e9d36[_0x2ff201(0x130)]=0x2]=_0x173153['kibDa'];continue;case'9':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x15e)]]=0x3]=_0x173153[_0x2ff201(0x15e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x7708f1){var _0x2aaea9=_0x113b,_0x17977a={'NYeNQ':_0x2aaea9(0x15d),'aMnGw':'jpg'};_0x7708f1[_0x7708f1[_0x2aaea9(0x15d)]=0x7d0]=_0x17977a[_0x2aaea9(0x156)],_0x7708f1[_0x7708f1[_0x17977a[_0x2aaea9(0x157)]]=0x3e8]=_0x17977a['aMnGw'];}(PicType||(PicType={})));export var PicSubType;(function(_0x340a06){var _0x478607=_0x113b,_0x35c6d1={'xmFrt':_0x478607(0x135),'VuxWB':_0x478607(0x153)};_0x340a06[_0x340a06[_0x478607(0x135)]=0x0]=_0x35c6d1[_0x478607(0x138)],_0x340a06[_0x340a06['face']=0x1]=_0x35c6d1[_0x478607(0x141)];}(PicSubType||(PicSubType={})));export var AtType;function _0x2d14(){var _0x9f3805=['5316JSlpEU','NYeNQ','aMnGw','kMrPA','252863EASyQq','mUAVJ','CSOno','INVITE_NEW_MEMBER','gif','DKoVA','18XjrboN','IeqhQ','GTbvs','https://gchat.qpic.cn','KaLmH','Ulxsy','MEMBER_NEW_TITLE','dice','ARK','Fvaeq','YQWJF','memberIncrease','temp','YYYhe','1|8|9|3|6|4|5|7|0|2','3109270OiDqgk','ThLgb','atAll','REPLY','normal2','948346WLbgLV','PIC','2Zrmxvq','dOIsf','ban','chatDevice','normal','CarxX','FILE','xmFrt','PTT','11azYqyh','coHLO','GyUlX','4944432ciXKYN','atUser','3ARooDo','MARKDOWN','VuxWB','VIDEO','oprJo','FACE','jMfkZ','RPS','255UVSZJF','friend','iRUUS','TEXT','NFXrV','1076724fuDAnW','13UeyEyu','kicked','hwmzg','https://multimedia.nt.qq.com.cn','406640fTCZnB','notAt','face','ZBenp'];_0x2d14=function(){return _0x9f3805;};return _0x2d14();}(function(_0x58fcaf){var _0x32522a=_0x113b,_0x4eefb1={'jMfkZ':_0x32522a(0x152),'hwmzg':_0x32522a(0x12c),'ZBenp':_0x32522a(0x13e)};_0x58fcaf[_0x58fcaf['notAt']=0x0]=_0x4eefb1[_0x32522a(0x145)],_0x58fcaf[_0x58fcaf[_0x4eefb1[_0x32522a(0x14f)]]=0x1]=_0x4eefb1['hwmzg'],_0x58fcaf[_0x58fcaf[_0x4eefb1[_0x32522a(0x154)]]=0x2]=_0x4eefb1['ZBenp'];}(AtType||(AtType={})));export var ChatType;(function(_0x118bd2){var _0x26a00b=_0x113b,_0xb3a74={'CSOno':'friend','oprJo':'group','dOIsf':_0x26a00b(0x134),'CarxX':_0x26a00b(0x127)};_0x118bd2[_0x118bd2[_0xb3a74[_0x26a00b(0x15b)]]=0x1]=_0x26a00b(0x148),_0x118bd2[_0x118bd2[_0xb3a74['oprJo']]=0x2]=_0xb3a74[_0x26a00b(0x143)],_0x118bd2[_0x118bd2[_0xb3a74[_0x26a00b(0x132)]]=0x8]=_0xb3a74[_0x26a00b(0x132)],_0x118bd2[_0x118bd2['temp']=0x64]=_0xb3a74[_0x26a00b(0x136)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4ff6c3(0x162);export const IMAGE_HTTP_HOST_NT=_0x4ff6c3(0x150);export var GrayTipElementSubType;(function(_0x169045){var _0x12fdec=_0x4ff6c3,_0x3bebba={'GyUlX':_0x12fdec(0x15c),'ThLgb':_0x12fdec(0x121)};_0x169045[_0x169045[_0x3bebba[_0x12fdec(0x13c)]]=0xc]=_0x3bebba[_0x12fdec(0x13c)],_0x169045[_0x169045[_0x3bebba[_0x12fdec(0x12b)]]=0x11]=_0x3bebba['ThLgb'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x113b(_0x4a60e1,_0x2408d7){var _0x2d1434=_0x2d14();return _0x113b=function(_0x113b7c,_0x505255){_0x113b7c=_0x113b7c-0x11f;var _0x2f29f4=_0x2d1434[_0x113b7c];return _0x2f29f4;},_0x113b(_0x4a60e1,_0x2408d7);}(function(_0x55379d){var _0x598720=_0x4ff6c3,_0x3e2663={'Ulxsy':_0x598720(0x135),'YQWJF':_0x598720(0x12e),'kMrPA':_0x598720(0x122)};_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x120)]]=0x1]=_0x3e2663[_0x598720(0x120)],_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x125)]]=0x2]=_0x598720(0x12e),_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x158)]]=0x3]=_0x3e2663[_0x598720(0x158)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xad70d9){var _0x2e0e2a=_0x4ff6c3,_0x8c3430={'YYYhe':_0x2e0e2a(0x122)};_0xad70d9[_0xad70d9[_0x8c3430['YYYhe']]=0x166]=_0x8c3430[_0x2e0e2a(0x128)],_0xad70d9[_0xad70d9[_0x2e0e2a(0x146)]=0x167]=_0x2e0e2a(0x146);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4a28c6){var _0x291fae=_0x4ff6c3,_0x251fe7={'KaLmH':'memberIncrease','mUAVJ':_0x291fae(0x14e),'coHLO':'ban'};_0x4a28c6[_0x4a28c6[_0x291fae(0x126)]=0x1]=_0x251fe7[_0x291fae(0x11f)],_0x4a28c6[_0x4a28c6[_0x251fe7['mUAVJ']]=0x3]=_0x251fe7[_0x291fae(0x15a)],_0x4a28c6[_0x4a28c6[_0x251fe7[_0x291fae(0x13b)]]=0x8]=_0x291fae(0x133);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +function _0x5377(){var _0x467d3d=['EVCjH','INVITE_NEW_MEMBER','ppdBC','VcpoX','ban','dmztD','QYlxB','PIC','VIDEO','SiCbT','REPLY','uDikd','21uyAohk','jpg','AdEoz','atUser','temp','AxiKK','normal2','face','JBsVJ','WMvui','gXKhC','60ObtBIp','GRNlD','KAsjT','150iTNeoz','PTT','179941Zswpkw','4098TswPNE','xLJGt','11EcEpFX','834584FVkhLQ','425466TNXJSm','FACE','MARKDOWN','dice','4827300StTGYs','uZfWn','MEMBER_NEW_TITLE','FILE','PbHnN','group','ARK','UlBiE','2180RkmGKV','TEXT','VkmrK','normal','oOpsK','xxodo','MFACE','DIUGo','5336wfSkGB','7|0|6|2|9|8|1|4|5|3','friend','https://gchat.qpic.cn','split','xeadr','gif','notAt','ngfal','21418wZyoHI'];_0x5377=function(){return _0x467d3d;};return _0x5377();}var _0x43e3e1=_0x1ba7;(function(_0x2b23c4,_0x4bbe27){var _0x5f6938=_0x1ba7,_0xff3e65=_0x2b23c4();while(!![]){try{var _0x5ad32d=parseInt(_0x5f6938(0xc4))/0x1+-parseInt(_0x5f6938(0xe6))/0x2+parseInt(_0x5f6938(0xc2))/0x3*(-parseInt(_0x5f6938(0xdd))/0x4)+-parseInt(_0x5f6938(0xd5))/0x5*(parseInt(_0x5f6938(0xc5))/0x6)+-parseInt(_0x5f6938(0xb4))/0x7*(parseInt(_0x5f6938(0xc8))/0x8)+-parseInt(_0x5f6938(0xc9))/0x9*(-parseInt(_0x5f6938(0xbf))/0xa)+parseInt(_0x5f6938(0xc7))/0xb*(parseInt(_0x5f6938(0xcd))/0xc);if(_0x5ad32d===_0x4bbe27)break;else _0xff3e65['push'](_0xff3e65['shift']());}catch(_0x5d4418){_0xff3e65['push'](_0xff3e65['shift']());}}}(_0x5377,0x2b61e));export var ElementType;(function(_0x225ce2){var _0x20d1c9=_0x1ba7,_0x3fb4f7={'xLJGt':_0x20d1c9(0xde),'ppdBC':_0x20d1c9(0xee),'GRNlD':_0x20d1c9(0xcb),'UlBiE':_0x20d1c9(0xd3),'DIUGo':_0x20d1c9(0xdb),'EVCjH':_0x20d1c9(0xd0),'AdEoz':_0x20d1c9(0xd6),'KAsjT':_0x20d1c9(0xca),'nSIpI':'VIDEO'},_0x399677=_0x3fb4f7[_0x20d1c9(0xc6)][_0x20d1c9(0xe1)]('|'),_0x4c0595=0x0;while(!![]){switch(_0x399677[_0x4c0595++]){case'0':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xe9)]]=0x2]='PIC';continue;case'1':_0x225ce2[_0x225ce2[_0x20d1c9(0xb2)]=0x7]=_0x20d1c9(0xb2);continue;case'2':_0x225ce2[_0x225ce2[_0x20d1c9(0xc3)]=0x4]=_0x20d1c9(0xc3);continue;case'3':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xc0)]]=0xe]=_0x3fb4f7[_0x20d1c9(0xc0)];continue;case'4':_0x225ce2[_0x225ce2[_0x3fb4f7['UlBiE']]=0xa]=_0x3fb4f7[_0x20d1c9(0xd4)];continue;case'5':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xdc)]]=0xb]=_0x3fb4f7['DIUGo'];continue;case'6':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xe7)]]=0x3]=_0x20d1c9(0xd0);continue;case'7':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xb6)]]=0x1]=_0x3fb4f7['AdEoz'];continue;case'8':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xc1)]]=0x6]=_0x3fb4f7[_0x20d1c9(0xc1)];continue;case'9':_0x225ce2[_0x225ce2[_0x3fb4f7['nSIpI']]=0x5]=_0x20d1c9(0xef);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x3ba5d4){var _0x936ab5=_0x1ba7,_0x4641ec={'uZfWn':_0x936ab5(0xb5)};_0x3ba5d4[_0x3ba5d4[_0x936ab5(0xe3)]=0x7d0]=_0x936ab5(0xe3),_0x3ba5d4[_0x3ba5d4[_0x4641ec[_0x936ab5(0xce)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;function _0x1ba7(_0x453052,_0x12f95f){var _0x537738=_0x5377();return _0x1ba7=function(_0x1ba73f,_0x34508b){_0x1ba73f=_0x1ba73f-0xb1;var _0x520752=_0x537738[_0x1ba73f];return _0x520752;},_0x1ba7(_0x453052,_0x12f95f);}(function(_0x120b96){var _0x296556=_0x1ba7,_0x2989f1={'oOpsK':_0x296556(0xd8),'WdVoq':_0x296556(0xbb)};_0x120b96[_0x120b96[_0x2989f1[_0x296556(0xd9)]]=0x0]=_0x2989f1[_0x296556(0xd9)],_0x120b96[_0x120b96[_0x2989f1['WdVoq']]=0x1]=_0x296556(0xbb);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1fee66){var _0x3f1cef=_0x1ba7,_0xcdb048={'UEaeH':_0x3f1cef(0xe4),'WMvui':'atAll','JBsVJ':_0x3f1cef(0xb7)};_0x1fee66[_0x1fee66[_0xcdb048['UEaeH']]=0x0]=_0x3f1cef(0xe4),_0x1fee66[_0x1fee66[_0xcdb048['WMvui']]=0x1]=_0xcdb048[_0x3f1cef(0xbd)],_0x1fee66[_0x1fee66[_0xcdb048[_0x3f1cef(0xbc)]]=0x2]=_0xcdb048['JBsVJ'];}(AtType||(AtType={})));export var ChatType;(function(_0xd587a4){var _0x60c7eb=_0x1ba7,_0x41f4a0={'AxiKK':'friend','gXKhC':_0x60c7eb(0xd2),'PbHnN':'chatDevice','FTzAR':_0x60c7eb(0xb8)};_0xd587a4[_0xd587a4[_0x60c7eb(0xdf)]=0x1]=_0x41f4a0[_0x60c7eb(0xb9)],_0xd587a4[_0xd587a4[_0x41f4a0[_0x60c7eb(0xbe)]]=0x2]=_0x60c7eb(0xd2),_0xd587a4[_0xd587a4[_0x41f4a0['PbHnN']]=0x8]=_0x41f4a0[_0x60c7eb(0xd1)],_0xd587a4[_0xd587a4[_0x41f4a0['FTzAR']]=0x64]=_0x41f4a0['FTzAR'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x43e3e1(0xe0);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x357932){var _0x488807=_0x43e3e1,_0x3267f7={'xxodo':_0x488807(0xe8),'VkmrK':_0x488807(0xcf)};_0x357932[_0x357932[_0x3267f7[_0x488807(0xda)]]=0xc]=_0x3267f7[_0x488807(0xda)],_0x357932[_0x357932[_0x3267f7['VkmrK']]=0x11]=_0x3267f7[_0x488807(0xd7)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x9270b3){var _0x3988e8=_0x43e3e1,_0x34d181={'dmztD':_0x3988e8(0xd8),'uDikd':_0x3988e8(0xba),'QYlxB':'dice'};_0x9270b3[_0x9270b3[_0x34d181['dmztD']]=0x1]=_0x34d181[_0x3988e8(0xec)],_0x9270b3[_0x9270b3[_0x34d181[_0x3988e8(0xb3)]]=0x2]=_0x34d181['uDikd'],_0x9270b3[_0x9270b3[_0x34d181[_0x3988e8(0xed)]]=0x3]=_0x34d181[_0x3988e8(0xed)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4e7a8b){var _0x17a15e=_0x43e3e1,_0x40c423={'IBCWL':_0x17a15e(0xcc),'xeadr':'RPS'};_0x4e7a8b[_0x4e7a8b[_0x17a15e(0xcc)]=0x166]=_0x40c423['IBCWL'],_0x4e7a8b[_0x4e7a8b[_0x40c423[_0x17a15e(0xe2)]]=0x167]=_0x40c423['xeadr'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x1866fe){var _0x5c6106=_0x43e3e1,_0x57415c={'VcpoX':'memberIncrease','ngfal':'kicked','SiCbT':_0x5c6106(0xeb)};_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xea)]]=0x1]=_0x57415c[_0x5c6106(0xea)],_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xe5)]]=0x3]=_0x57415c[_0x5c6106(0xe5)],_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xb1)]]=0x8]=_0x57415c[_0x5c6106(0xb1)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index fe3851f7..d29b0b1b 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x50fc83,_0xa9b6e){var _0x3e9640=_0x5823,_0x4ab2e7=_0x50fc83();while(!![]){try{var _0x34a23a=parseInt(_0x3e9640(0x1fb))/0x1+-parseInt(_0x3e9640(0x1dc))/0x2*(parseInt(_0x3e9640(0x1e8))/0x3)+-parseInt(_0x3e9640(0x1ee))/0x4+-parseInt(_0x3e9640(0x1f6))/0x5*(-parseInt(_0x3e9640(0x1f9))/0x6)+-parseInt(_0x3e9640(0x1f1))/0x7*(parseInt(_0x3e9640(0x1df))/0x8)+-parseInt(_0x3e9640(0x1e0))/0x9*(parseInt(_0x3e9640(0x1f4))/0xa)+parseInt(_0x3e9640(0x1f8))/0xb;if(_0x34a23a===_0xa9b6e)break;else _0x4ab2e7['push'](_0x4ab2e7['shift']());}catch(_0x5f1083){_0x4ab2e7['push'](_0x4ab2e7['shift']());}}}(_0x2b2a,0xf2426));export var GroupNotifyTypes;(function(_0x1bee10){var _0x4d190f=_0x5823,_0x32dacf={'mqfNe':'INVITE_ME','hrtTj':_0x4d190f(0x1eb),'iVCds':_0x4d190f(0x1d9),'Wqqgr':_0x4d190f(0x1e4),'mhFnM':_0x4d190f(0x1ed),'Ohadp':_0x4d190f(0x1f2),'DcOFc':_0x4d190f(0x1e1)};_0x1bee10[_0x1bee10[_0x4d190f(0x1d8)]=0x1]=_0x32dacf['mqfNe'],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1e9)]]=0x4]=_0x4d190f(0x1eb),_0x1bee10[_0x1bee10[_0x4d190f(0x1ef)]=0x7]=_0x4d190f(0x1ef),_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1da)]]=0x8]='ADMIN_SET',_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1ea)]]=0x9]=_0x32dacf[_0x4d190f(0x1ea)],_0x1bee10[_0x1bee10[_0x32dacf['mhFnM']]=0xb]=_0x32dacf[_0x4d190f(0x1db)],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1dd)]]=0xc]=_0x32dacf[_0x4d190f(0x1dd)],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1e3)]]=0xd]=_0x32dacf[_0x4d190f(0x1e3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2b2a(){var _0x3fafab=['mhFnM','4KaQOAO','Ohadp','iKXWS','120KEGoua','5112yEsyum','ADMIN_UNSET_OTHER','WAIT_HANDLE','DcOFc','KICK_MEMBER','REJECT','rMYNO','ORPnf','1507299mNkRyh','hrtTj','Wqqgr','INVITED_JOIN','qOHib','MEMBER_EXIT','2982496DEDNKZ','JOIN_REQUEST','reject','714602kJWEbL','ADMIN_UNSET','approve','21290SOJJGb','WyOZC','5WZHJAI','IGNORE','30060778shJLGT','9564666OkUmOc','TjHiN','1156437LWpZrN','APPROVE','INVITE_ME','ADMIN_SET','iVCds'];_0x2b2a=function(){return _0x3fafab;};return _0x2b2a();}(function(_0x53562f){var _0x5962a2=_0x5823,_0x31bb04={'iKXWS':_0x5962a2(0x1f7),'ORPnf':_0x5962a2(0x1e2),'WyOZC':_0x5962a2(0x1d7),'rMYNO':_0x5962a2(0x1e5)};_0x53562f[_0x53562f[_0x5962a2(0x1f7)]=0x0]=_0x31bb04[_0x5962a2(0x1de)],_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1e7)]]=0x1]=_0x31bb04['ORPnf'],_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1f5)]]=0x2]='APPROVE',_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1e6)]]=0x3]=_0x31bb04[_0x5962a2(0x1e6)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x5823(_0x8c74bf,_0x107880){var _0x2b2a6b=_0x2b2a();return _0x5823=function(_0x582356,_0x1df26a){_0x582356=_0x582356-0x1d7;var _0x337fab=_0x2b2a6b[_0x582356];return _0x337fab;},_0x5823(_0x8c74bf,_0x107880);}(function(_0x46e652){var _0x1f7680=_0x5823,_0x15fe34={'TjHiN':_0x1f7680(0x1f3),'qOHib':_0x1f7680(0x1f0)};_0x46e652[_0x46e652[_0x15fe34[_0x1f7680(0x1fa)]]=0x1]='approve',_0x46e652[_0x46e652[_0x15fe34['qOHib']]=0x2]=_0x15fe34[_0x1f7680(0x1ec)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x4eea44,_0x37cc4){var _0x1266ec=_0x9670,_0x5aa2d6=_0x4eea44();while(!![]){try{var _0x59e5ca=-parseInt(_0x1266ec(0xbf))/0x1*(parseInt(_0x1266ec(0xca))/0x2)+parseInt(_0x1266ec(0xb6))/0x3+-parseInt(_0x1266ec(0xc6))/0x4*(-parseInt(_0x1266ec(0xb3))/0x5)+-parseInt(_0x1266ec(0xb5))/0x6+-parseInt(_0x1266ec(0xd2))/0x7*(parseInt(_0x1266ec(0xc1))/0x8)+-parseInt(_0x1266ec(0xbe))/0x9*(parseInt(_0x1266ec(0xce))/0xa)+parseInt(_0x1266ec(0xcf))/0xb*(-parseInt(_0x1266ec(0xcd))/0xc);if(_0x59e5ca===_0x37cc4)break;else _0x5aa2d6['push'](_0x5aa2d6['shift']());}catch(_0x1d0f57){_0x5aa2d6['push'](_0x5aa2d6['shift']());}}}(_0x2e38,0x7f439));export var GroupNotifyTypes;(function(_0x1caa97){var _0x34858e=_0x9670,_0x206e79={'AImWB':_0x34858e(0xb7),'MLrjQ':_0x34858e(0xb8),'pwZkQ':_0x34858e(0xd0),'IzQhY':'JOIN_REQUEST','GRmFK':'ADMIN_SET','DwnAm':_0x34858e(0xc7),'MaYEe':_0x34858e(0xbd),'mdeSZ':_0x34858e(0xc4),'SHMeX':_0x34858e(0xc3)},_0x5e84a7=_0x206e79['AImWB'][_0x34858e(0xcb)]('|'),_0xf55c8c=0x0;while(!![]){switch(_0x5e84a7[_0xf55c8c++]){case'0':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xd1)]]=0xd]='ADMIN_UNSET_OTHER';continue;case'1':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xba)]]=0x4]=_0x206e79['pwZkQ'];continue;case'2':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xc8)]]=0x7]=_0x206e79[_0x34858e(0xc8)];continue;case'3':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xb1)]]=0x8]='ADMIN_SET';continue;case'4':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xc0)]]=0xc]=_0x206e79['DwnAm'];continue;case'5':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xcc)]]=0x1]=_0x206e79[_0x34858e(0xcc)];continue;case'6':_0x1caa97[_0x1caa97[_0x206e79['mdeSZ']]=0xb]=_0x34858e(0xc4);continue;case'7':_0x1caa97[_0x1caa97[_0x206e79['SHMeX']]=0x9]=_0x206e79['SHMeX'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x24cf6e){var _0x56169f=_0x9670,_0xc7498={'rCUXj':_0x56169f(0xd3),'RLjBt':_0x56169f(0xb4),'yWfvU':_0x56169f(0xb9)};_0x24cf6e[_0x24cf6e[_0xc7498[_0x56169f(0xd4)]]=0x0]=_0xc7498[_0x56169f(0xd4)],_0x24cf6e[_0x24cf6e[_0x56169f(0xb4)]=0x1]=_0xc7498[_0x56169f(0xc5)],_0x24cf6e[_0x24cf6e['APPROVE']=0x2]=_0x56169f(0xbb),_0x24cf6e[_0x24cf6e[_0xc7498[_0x56169f(0xb0)]]=0x3]=_0xc7498['yWfvU'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x2e38(){var _0x397d2d=['rJSLW','6pShsyE','split','MaYEe','996rwXjby','90dsKJZG','4488uCtWSU','INVITED_JOIN','MLrjQ','807562JjJIFg','IGNORE','rCUXj','yWfvU','GRmFK','approve','25YfCpKS','WAIT_HANDLE','1131426djweuU','2501454qwRdSf','5|1|2|3|7|6|4|0','ADMIN_UNSET_OTHER','REJECT','pwZkQ','APPROVE','ncPMo','INVITE_ME','144225xFfORn','147713yQiNhY','DwnAm','8nMVVPZ','reject','KICK_MEMBER','MEMBER_EXIT','RLjBt','490096VosbQY','ADMIN_UNSET','IzQhY'];_0x2e38=function(){return _0x397d2d;};return _0x2e38();}function _0x9670(_0x5ca7fd,_0x535cd0){var _0x2e38c1=_0x2e38();return _0x9670=function(_0x967032,_0x1fdd0c){_0x967032=_0x967032-0xb0;var _0x40d7d2=_0x2e38c1[_0x967032];return _0x40d7d2;},_0x9670(_0x5ca7fd,_0x535cd0);}(function(_0x3dfbf4){var _0x2928ad=_0x9670,_0x8b1b27={'ncPMo':_0x2928ad(0xb2),'rJSLW':_0x2928ad(0xc2)};_0x3dfbf4[_0x3dfbf4[_0x8b1b27[_0x2928ad(0xbc)]]=0x1]=_0x8b1b27[_0x2928ad(0xbc)],_0x3dfbf4[_0x3dfbf4[_0x8b1b27[_0x2928ad(0xc9)]]=0x2]=_0x8b1b27[_0x2928ad(0xc9)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 07b0faee..33b22ced 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x4f031d,_0x410210){var _0x43b4ee=_0x4444,_0x29e1a1=_0x4f031d();while(!![]){try{var _0x5ed45e=parseInt(_0x43b4ee(0xd8))/0x1+parseInt(_0x43b4ee(0xd0))/0x2+parseInt(_0x43b4ee(0xd7))/0x3*(parseInt(_0x43b4ee(0xd1))/0x4)+-parseInt(_0x43b4ee(0xda))/0x5+-parseInt(_0x43b4ee(0xd2))/0x6+parseInt(_0x43b4ee(0xdb))/0x7+parseInt(_0x43b4ee(0xd3))/0x8;if(_0x5ed45e===_0x410210)break;else _0x29e1a1['push'](_0x29e1a1['shift']());}catch(_0x958326){_0x29e1a1['push'](_0x29e1a1['shift']());}}}(_0x400d,0x2b8b3));export var Sex;function _0x4444(_0x7b19c0,_0x172564){var _0x400d85=_0x400d();return _0x4444=function(_0x4444e3,_0x15f9fe){_0x4444e3=_0x4444e3-0xd0;var _0xcb12d2=_0x400d85[_0x4444e3];return _0xcb12d2;},_0x4444(_0x7b19c0,_0x172564);}function _0x400d(){var _0x57a345=['385120dWHWxt','4gekAvI','2099052IEomQh','290712JqydLj','female','VbKQY','male','1009293TZqjns','205863Gxinbe','syKOq','1681840aGoUWU','653604wBMfBz'];_0x400d=function(){return _0x57a345;};return _0x400d();}(function(_0x3effcf){var _0x5a950e=_0x4444,_0xb8a219={'VbKQY':_0x5a950e(0xd6),'mDCFp':'female','syKOq':'unknown'};_0x3effcf[_0x3effcf[_0xb8a219[_0x5a950e(0xd5)]]=0x1]=_0xb8a219['VbKQY'],_0x3effcf[_0x3effcf[_0x5a950e(0xd4)]=0x2]=_0xb8a219['mDCFp'],_0x3effcf[_0x3effcf['unknown']=0xff]=_0xb8a219[_0x5a950e(0xd9)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x3f9c2b,_0x3f2a86){var _0x5913ed=_0x5399,_0x5b43a1=_0x3f9c2b();while(!![]){try{var _0x5a680b=parseInt(_0x5913ed(0xc2))/0x1*(parseInt(_0x5913ed(0xc9))/0x2)+-parseInt(_0x5913ed(0xbe))/0x3*(-parseInt(_0x5913ed(0xbc))/0x4)+parseInt(_0x5913ed(0xbd))/0x5*(-parseInt(_0x5913ed(0xba))/0x6)+-parseInt(_0x5913ed(0xb9))/0x7*(parseInt(_0x5913ed(0xc0))/0x8)+parseInt(_0x5913ed(0xc7))/0x9*(parseInt(_0x5913ed(0xc3))/0xa)+parseInt(_0x5913ed(0xbf))/0xb*(-parseInt(_0x5913ed(0xc1))/0xc)+parseInt(_0x5913ed(0xc8))/0xd;if(_0x5a680b===_0x3f2a86)break;else _0x5b43a1['push'](_0x5b43a1['shift']());}catch(_0x2dcbab){_0x5b43a1['push'](_0x5b43a1['shift']());}}}(_0x2a00,0x50fbc));function _0x5399(_0x11c12e,_0x3997f8){var _0x2a0000=_0x2a00();return _0x5399=function(_0x53993e,_0x82de){_0x53993e=_0x53993e-0xb9;var _0x3ae8a3=_0x2a0000[_0x53993e];return _0x3ae8a3;},_0x5399(_0x11c12e,_0x3997f8);}export var Sex;(function(_0x5f51b3){var _0x5fed3e=_0x5399,_0x51d6b5={'XcnHD':_0x5fed3e(0xca),'FJELB':'female','qyYsO':_0x5fed3e(0xcb)};_0x5f51b3[_0x5f51b3[_0x51d6b5[_0x5fed3e(0xc5)]]=0x1]=_0x5fed3e(0xca),_0x5f51b3[_0x5f51b3[_0x5fed3e(0xbb)]=0x2]=_0x51d6b5[_0x5fed3e(0xc6)],_0x5f51b3[_0x5f51b3[_0x51d6b5[_0x5fed3e(0xc4)]]=0xff]=_0x51d6b5['qyYsO'];}(Sex||(Sex={})));function _0x2a00(){var _0x141539=['FJELB','261ySKeBa','9354371gzdgsF','64098ecUxUv','male','unknown','4207WcKTpO','30aBwmie','female','4gmlZyN','286045oVatfj','486420NAHVkZ','34683TeAozz','6704AduqMO','1680UgnOoa','17azEXXN','46990fbzDtP','qyYsO','XcnHD'];_0x2a00=function(){return _0x141539;};return _0x2a00();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index fa4798e6..0cd12d15 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4d124c,_0x474f33){var _0x4c62e6=_0x5e05,_0x1eeba3=_0x4d124c();while(!![]){try{var _0x29af9c=parseInt(_0x4c62e6(0x190))/0x1*(-parseInt(_0x4c62e6(0x191))/0x2)+-parseInt(_0x4c62e6(0x199))/0x3+parseInt(_0x4c62e6(0x198))/0x4*(parseInt(_0x4c62e6(0x193))/0x5)+-parseInt(_0x4c62e6(0x196))/0x6+-parseInt(_0x4c62e6(0x194))/0x7+parseInt(_0x4c62e6(0x195))/0x8*(parseInt(_0x4c62e6(0x197))/0x9)+parseInt(_0x4c62e6(0x192))/0xa;if(_0x29af9c===_0x474f33)break;else _0x1eeba3['push'](_0x1eeba3['shift']());}catch(_0x190ba3){_0x1eeba3['push'](_0x1eeba3['shift']());}}}(_0xda19,0x7850c));import _0xfd6550 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0xda19(){var _0x18b492=['1981728UEGHyb','1NoPsPG','514190NPMpxt','20522330LvRRCk','105ljKZlR','2270555EKZSMR','8IMMUsj','4368558LXyEtB','883863ZRQPYH','59524DSYIKB'];_0xda19=function(){return _0x18b492;};return _0xda19();}export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x5e05(_0xb3d80d,_0x260eac){var _0xda1981=_0xda19();return _0x5e05=function(_0x5e056c,_0x3c5518){_0x5e056c=_0x5e056c-0x190;var _0x2fd7f5=_0xda1981[_0x5e056c];return _0x2fd7f5;},_0x5e05(_0xb3d80d,_0x260eac);}export*as Listeners from'./listeners';export*as Services from'./services';export{_0xfd6550 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x2c8ede,_0x3d78e2){var _0x1c916a=_0x1214,_0x349349=_0x2c8ede();while(!![]){try{var _0x44e494=-parseInt(_0x1c916a(0x6c))/0x1+parseInt(_0x1c916a(0x70))/0x2*(-parseInt(_0x1c916a(0x71))/0x3)+-parseInt(_0x1c916a(0x73))/0x4*(-parseInt(_0x1c916a(0x75))/0x5)+-parseInt(_0x1c916a(0x6e))/0x6+-parseInt(_0x1c916a(0x6d))/0x7*(-parseInt(_0x1c916a(0x6b))/0x8)+-parseInt(_0x1c916a(0x72))/0x9+parseInt(_0x1c916a(0x74))/0xa*(parseInt(_0x1c916a(0x6f))/0xb);if(_0x44e494===_0x3d78e2)break;else _0x349349['push'](_0x349349['shift']());}catch(_0xa5635b){_0x349349['push'](_0x349349['shift']());}}}(_0x1113,0x38833));import _0x1610dc from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x1214(_0x38525f,_0x16591b){var _0x111331=_0x1113();return _0x1214=function(_0x1214eb,_0x2932aa){_0x1214eb=_0x1214eb-0x6b;var _0x3be810=_0x111331[_0x1214eb];return _0x3be810;},_0x1214(_0x38525f,_0x16591b);}export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1610dc as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1113(){var _0x23cb86=['902168IjdDza','329318IhtMmw','7PBzcxL','1483386HVhDsL','11699325AjdRMp','715682PsbwSV','3KfZzgM','2610126uCgVvb','4fkwQSc','10dHbpXu','1397665xYtaFH'];_0x1113=function(){return _0x23cb86;};return _0x1113();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 17d4d582..8f3c73b7 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x53de(){var _0x5ac79e=['18297PSxiEG','onAddBuddyNeedVerify','onSmartInfos','onBuddyReqUnreadCntChange','onAvatarUrlUpdated','onDoubtBuddyReqUnreadNumChange','2546412FKcrRD','539235CLVuEp','onCheckBuddySettingResult','onDoubtBuddyReqChange','onBuddyDetailInfoChange','6368WCQDyn','469eGHfJe','25086LuRHEu','2488244InAoQq','4814028bSQLxE','onBuddyReqChange','7119820KauiLh','5EtDBSf','onBlockChanged','onDelBatchBuddyInfos'];_0x53de=function(){return _0x5ac79e;};return _0x53de();}var _0x52f379=_0x4b9d;(function(_0xba55a5,_0x13a47f){var _0x5e3cda=_0x4b9d,_0x3394f0=_0xba55a5();while(!![]){try{var _0x267e6f=parseInt(_0x5e3cda(0x1f2))/0x1+parseInt(_0x5e3cda(0x1f9))/0x2+-parseInt(_0x5e3cda(0x1f1))/0x3+-parseInt(_0x5e3cda(0x1fa))/0x4*(parseInt(_0x5e3cda(0x1fd))/0x5)+-parseInt(_0x5e3cda(0x1f8))/0x6*(-parseInt(_0x5e3cda(0x1f7))/0x7)+-parseInt(_0x5e3cda(0x1f6))/0x8*(-parseInt(_0x5e3cda(0x200))/0x9)+-parseInt(_0x5e3cda(0x1fc))/0xa;if(_0x267e6f===_0x13a47f)break;else _0x3394f0['push'](_0x3394f0['shift']());}catch(_0x391563){_0x3394f0['push'](_0x3394f0['shift']());}}}(_0x53de,0xdffd3));function _0x4b9d(_0x56f43d,_0x2ac6ce){var _0x53dec2=_0x53de();return _0x4b9d=function(_0x4b9d44,_0x12993a){_0x4b9d44=_0x4b9d44-0x1ee;var _0x335aa7=_0x53dec2[_0x4b9d44];return _0x335aa7;},_0x4b9d(_0x56f43d,_0x2ac6ce);}export class BuddyListener{[_0x52f379(0x201)](_0x556e4c){}['onAddMeSettingChanged'](_0x20b0b0){}[_0x52f379(0x1ef)](_0x36f5d6){}[_0x52f379(0x1fe)](_0x8942ad){}[_0x52f379(0x1f5)](_0x33ceb4){}['onBuddyInfoChange'](_0xde1189){}['onBuddyListChange'](_0x3e022d){}['onBuddyRemarkUpdated'](_0xfd0f31){}[_0x52f379(0x1fb)](_0x5a5c6e){}[_0x52f379(0x1ee)](_0x38020a){}[_0x52f379(0x1f3)](_0x2da935){}[_0x52f379(0x1ff)](_0x4c02ff){}[_0x52f379(0x1f4)](_0x29e9b7){}[_0x52f379(0x1f0)](_0x117df9){}['onNickUpdated'](_0x1a779d){}[_0x52f379(0x202)](_0x4d0b8e){}['onSpacePermissionInfos'](_0x6a0a33){}} \ No newline at end of file +var _0x439ed9=_0x126d;function _0x126d(_0x5d208e,_0x2a9436){var _0xd22acc=_0xd22a();return _0x126d=function(_0x126d41,_0x5d62e6){_0x126d41=_0x126d41-0x18f;var _0xf279c0=_0xd22acc[_0x126d41];return _0xf279c0;},_0x126d(_0x5d208e,_0x2a9436);}(function(_0x24f8d1,_0x37e777){var _0x466327=_0x126d,_0x122d50=_0x24f8d1();while(!![]){try{var _0x40fa15=-parseInt(_0x466327(0x19c))/0x1*(-parseInt(_0x466327(0x190))/0x2)+parseInt(_0x466327(0x1a2))/0x3+-parseInt(_0x466327(0x1a5))/0x4*(parseInt(_0x466327(0x1a3))/0x5)+parseInt(_0x466327(0x198))/0x6*(parseInt(_0x466327(0x18f))/0x7)+parseInt(_0x466327(0x195))/0x8*(-parseInt(_0x466327(0x1a1))/0x9)+-parseInt(_0x466327(0x19f))/0xa*(-parseInt(_0x466327(0x19d))/0xb)+-parseInt(_0x466327(0x197))/0xc;if(_0x40fa15===_0x37e777)break;else _0x122d50['push'](_0x122d50['shift']());}catch(_0x1fe30d){_0x122d50['push'](_0x122d50['shift']());}}}(_0xd22a,0x4980b));export class BuddyListener{[_0x439ed9(0x192)](_0x12a19b){}[_0x439ed9(0x191)](_0x411d5a){}['onAvatarUrlUpdated'](_0x1e53fb){}[_0x439ed9(0x19a)](_0x31fab8){}['onBuddyDetailInfoChange'](_0x123cdf){}[_0x439ed9(0x199)](_0x4076ab){}[_0x439ed9(0x19e)](_0x286992){}[_0x439ed9(0x193)](_0x3f2f2f){}[_0x439ed9(0x1a4)](_0x45e9d7){}['onBuddyReqUnreadCntChange'](_0x5c747c){}[_0x439ed9(0x1a6)](_0x2e76f5){}['onDelBatchBuddyInfos'](_0x55fce8){}[_0x439ed9(0x19b)](_0x57b870){}['onDoubtBuddyReqUnreadNumChange'](_0x38b1cf){}[_0x439ed9(0x196)](_0x4ef92b){}[_0x439ed9(0x1a0)](_0xf4d1c4){}[_0x439ed9(0x194)](_0x37d17d){}}function _0xd22a(){var _0x2521ce=['20xtuVtO','onCheckBuddySettingResult','77AqfNbq','160458yEbNEV','onAddMeSettingChanged','onAddBuddyNeedVerify','onBuddyRemarkUpdated','onSpacePermissionInfos','32pfDGHn','onNickUpdated','6179208popype','108078QibhlF','onBuddyInfoChange','onBlockChanged','onDoubtBuddyReqChange','5JpdeGi','297oPcwGQ','onBuddyListChange','146820ARMYNa','onSmartInfos','330714PBeYbD','1070589UCkYcJ','389580VYmVCK','onBuddyReqChange'];_0xd22a=function(){return _0x2521ce;};return _0xd22a();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 0bd27bbe..c8f5a0db 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x2cfa(_0x440451,_0x195768){var _0x50cd1c=_0x50cd();return _0x2cfa=function(_0x2cfa36,_0x5cb074){_0x2cfa36=_0x2cfa36-0xc8;var _0x293bb5=_0x50cd1c[_0x2cfa36];return _0x293bb5;},_0x2cfa(_0x440451,_0x195768);}var _0x5721de=_0x2cfa;(function(_0x648cbb,_0x2a8a80){var _0x36f25e=_0x2cfa,_0x1333a0=_0x648cbb();while(!![]){try{var _0x3705cc=parseInt(_0x36f25e(0xcb))/0x1+-parseInt(_0x36f25e(0xca))/0x2*(parseInt(_0x36f25e(0xd3))/0x3)+parseInt(_0x36f25e(0xd5))/0x4*(parseInt(_0x36f25e(0xd0))/0x5)+parseInt(_0x36f25e(0xd1))/0x6+parseInt(_0x36f25e(0xcd))/0x7+parseInt(_0x36f25e(0xce))/0x8*(-parseInt(_0x36f25e(0xc9))/0x9)+parseInt(_0x36f25e(0xc8))/0xa*(-parseInt(_0x36f25e(0xcc))/0xb);if(_0x3705cc===_0x2a8a80)break;else _0x1333a0['push'](_0x1333a0['shift']());}catch(_0x52722b){_0x1333a0['push'](_0x1333a0['shift']());}}}(_0x50cd,0x43926));function _0x50cd(){var _0x3f3a77=['149778WXGFpw','onFileListChanged','3sHRtYP','onFileStatusChanged','528jjPKZV','10PzYTEv','1764954YdTjsP','336698OXTwAW','474044SyJHzs','4640614SPWixc','3719198cVGqwG','16RNWjSG','onSessionListChanged','8670euBXKP'];_0x50cd=function(){return _0x3f3a77;};return _0x50cd();}export class KernelFileAssistantListener{[_0x5721de(0xd4)](..._0x177aa8){}[_0x5721de(0xcf)](..._0x5116e5){}['onSessionChanged'](..._0xc58567){}[_0x5721de(0xd2)](..._0x5ea1d8){}['onFileSearch'](..._0x3f8388){}} \ No newline at end of file +function _0x6139(_0x1fafbb,_0x1a564b){var _0x48cd73=_0x48cd();return _0x6139=function(_0x613961,_0x46e13c){_0x613961=_0x613961-0x11b;var _0x49396d=_0x48cd73[_0x613961];return _0x49396d;},_0x6139(_0x1fafbb,_0x1a564b);}var _0x4161f9=_0x6139;(function(_0x1b3860,_0x3923b9){var _0x155b1f=_0x6139,_0x17ee08=_0x1b3860();while(!![]){try{var _0x31a6b1=-parseInt(_0x155b1f(0x126))/0x1*(parseInt(_0x155b1f(0x11f))/0x2)+parseInt(_0x155b1f(0x129))/0x3*(parseInt(_0x155b1f(0x128))/0x4)+parseInt(_0x155b1f(0x11e))/0x5*(parseInt(_0x155b1f(0x127))/0x6)+parseInt(_0x155b1f(0x125))/0x7*(parseInt(_0x155b1f(0x124))/0x8)+-parseInt(_0x155b1f(0x11d))/0x9+-parseInt(_0x155b1f(0x121))/0xa+parseInt(_0x155b1f(0x11b))/0xb;if(_0x31a6b1===_0x3923b9)break;else _0x17ee08['push'](_0x17ee08['shift']());}catch(_0x226850){_0x17ee08['push'](_0x17ee08['shift']());}}}(_0x48cd,0x8a7b7));function _0x48cd(){var _0x4f2d99=['onFileSearch','3048450PZYksv','onSessionChanged','onFileStatusChanged','2468272GxoRBa','7Dmpxnt','3793VuASJd','101988XhuJSJ','8cFxkas','599868MjChvq','9472056QjTOLP','onFileListChanged','5414958rxNSYC','70lSjZRT','176fMFaKp'];_0x48cd=function(){return _0x4f2d99;};return _0x48cd();}export class KernelFileAssistantListener{[_0x4161f9(0x123)](..._0x34cafa){}['onSessionListChanged'](..._0xb44941){}[_0x4161f9(0x122)](..._0x2e1c94){}[_0x4161f9(0x11c)](..._0x41b95a){}[_0x4161f9(0x120)](..._0x43e2f0){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index d89e66a7..859db160 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x273db9=_0x39a3;function _0x82b3(){var _0x38b03a=['FwVEd','onGroupMemberLevelInfoChange','onGroupListUpdate:','onGroupAllInfoChange','onGroupNotifiesUpdated:','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinRemindNotify:','onGroupSingleScreenNotifies','TOPrC','onSearchMemberChange','onGroupExtListUpdate','ddIaD','KRrSs','SRuJh','onGroupNotifiesUnreadCountUpdated:','onGroupStatisticInfoChange:','onGroupBulletinChange:','DaOjL','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag','onGroupAllInfoChange:','onSearchMemberChange:','blgjW','onGroupDetailInfoChange:','UeBmC','onGroupDetailInfoChange','onJoinGroupNotify','13773159ZhbIEK','onGroupExtListUpdate:','onMemberListChange:','onJoinGroupNotify:','onGroupNotifiesUpdated','8oCRgeo','UuslW','VCBvW','log','onGroupsMsgMaskResult:','EUfdN','EOnMM','onGroupNotifiesUnreadCountUpdated','onGroupMemberLevelInfoChange:','SpGMX','CilPk','krxUU','onGetGroupBulletinListResult:','onGroupConfMemberChange','4629843NKIiQq','4668PJAXUo','onGetGroupBulletinListResult','onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify','onGroupArkInviteStateResult','2798314NcOpQs','onGroupStatisticInfoChange','3146985HPgGcX','588667zccFpu','onMemberInfoChange','10556HHEbYC','onGroupBulletinRichMediaDownloadComplete','onShutUpMemberListChanged','onGroupArkInviteStateResult:','onMemberListChange','onGroupsMsgMaskResult','onGroupSingleScreenNotifies:','1888240nQNeDc','vCRRg','onGroupBulletinRemindNotify','YSvRr','onGroupConfMemberChange:'];_0x82b3=function(){return _0x38b03a;};return _0x82b3();}(function(_0x2b841c,_0x22d5b8){var _0x6ad337=_0x39a3,_0x12100d=_0x2b841c();while(!![]){try{var _0x1db8e6=parseInt(_0x6ad337(0x121))/0x1+parseInt(_0x6ad337(0x11e))/0x2+parseInt(_0x6ad337(0x118))/0x3+-parseInt(_0x6ad337(0xe5))/0x4+parseInt(_0x6ad337(0x120))/0x5+parseInt(_0x6ad337(0x119))/0x6*(-parseInt(_0x6ad337(0x123))/0x7)+-parseInt(_0x6ad337(0x10a))/0x8*(parseInt(_0x6ad337(0x105))/0x9);if(_0x1db8e6===_0x22d5b8)break;else _0x12100d['push'](_0x12100d['shift']());}catch(_0x2e313b){_0x12100d['push'](_0x12100d['shift']());}}}(_0x82b3,0xf0723));function _0x39a3(_0x589b91,_0x1a47f8){var _0x82b36a=_0x82b3();return _0x39a3=function(_0x39a353,_0x2615ca){_0x39a353=_0x39a353-0xe0;var _0xf53b94=_0x82b36a[_0x39a353];return _0xf53b94;},_0x39a3(_0x589b91,_0x1a47f8);}export class GroupListener{[_0x273db9(0xeb)](..._0x53be05){}[_0x273db9(0x11a)](..._0x2f9ceb){}[_0x273db9(0xed)](..._0x2ecac1){}['onGroupBulletinChange'](..._0x227a6f){}[_0x273db9(0xe7)](..._0x14349e){}[_0x273db9(0x11d)](..._0x621fc2){}[_0x273db9(0x124)](..._0x2c86d0){}[_0x273db9(0x117)](..._0x3ffb35){}['onGroupDetailInfoChange'](..._0x4cfc1d){}[_0x273db9(0xf4)](..._0xbb5965){}[_0x273db9(0x11c)](..._0x1dcd78){}['onGroupListUpdate'](_0x19ed09,_0x206d4e){}[_0x273db9(0x109)](_0xe89f80,_0x3ed293){}[_0x273db9(0xfc)](..._0x22a63f){}['onGroupNotifiesUnreadCountUpdated'](..._0x1c616f){}['onGroupSingleScreenNotifies'](_0x14ca91,_0x1a11f8,_0x1a8ab7){}['onGroupsMsgMaskResult'](..._0x2ffb51){}[_0x273db9(0x11f)](..._0x3fe840){}['onJoinGroupNotify'](..._0x3bef96){}['onJoinGroupNoVerifyFlag'](..._0x14140f){}[_0x273db9(0x122)](_0x4b2a75,_0x495d75,_0x122ad1){}[_0x273db9(0xe2)](_0x321906){}[_0x273db9(0xf3)](..._0x2579f0){}[_0x273db9(0xe0)](..._0x359484){}}export class DebugGroupListener{[_0x273db9(0xeb)](..._0x3fbccf){var _0x54b871=_0x273db9,_0x36a1bb={'CilPk':_0x54b871(0x112)};console['log'](_0x36a1bb[_0x54b871(0x114)],..._0x3fbccf);}['onGetGroupBulletinListResult'](..._0x4b3b75){var _0x5dfc89=_0x273db9;console[_0x5dfc89(0x10d)](_0x5dfc89(0x116),..._0x4b3b75);}[_0x273db9(0xed)](..._0x3a4fd4){var _0x599177=_0x273db9,_0x29fecd={'ddIaD':_0x599177(0xfe)};console[_0x599177(0x10d)](_0x29fecd[_0x599177(0xf5)],..._0x3a4fd4);}['onGroupBulletinChange'](..._0x54c3a9){var _0x419556=_0x273db9,_0x43b8a0={'TOPrC':_0x419556(0xfa)};console['log'](_0x43b8a0[_0x419556(0xf2)],..._0x54c3a9);}['onGroupBulletinRemindNotify'](..._0x5e281b){var _0x45c6ae=_0x273db9,_0x404f28={'EUfdN':_0x45c6ae(0xf0)};console['log'](_0x404f28[_0x45c6ae(0x10f)],..._0x5e281b);}['onGroupArkInviteStateResult'](..._0x32b74f){var _0x51bdc5=_0x273db9,_0x23848b={'DaOjL':_0x51bdc5(0xe1)};console[_0x51bdc5(0x10d)](_0x23848b[_0x51bdc5(0xfb)],..._0x32b74f);}[_0x273db9(0x124)](..._0x4950c3){var _0x268383=_0x273db9,_0x416977={'FwVEd':_0x268383(0xef)};console[_0x268383(0x10d)](_0x416977[_0x268383(0xea)],..._0x4950c3);}[_0x273db9(0x117)](..._0x590f9c){var _0x439f5f=_0x273db9,_0x25cf4a={'SRuJh':_0x439f5f(0xe9)};console[_0x439f5f(0x10d)](_0x25cf4a[_0x439f5f(0xf7)],..._0x590f9c);}[_0x273db9(0x103)](..._0xa76411){var _0x37cde0=_0x273db9,_0x19d4fa={'VCBvW':_0x37cde0(0x101)};console[_0x37cde0(0x10d)](_0x19d4fa[_0x37cde0(0x10c)],..._0xa76411);}['onGroupExtListUpdate'](..._0x2c5793){var _0x25b643=_0x273db9,_0x58dee7={'UuslW':_0x25b643(0x106)};console[_0x25b643(0x10d)](_0x58dee7[_0x25b643(0x10b)],..._0x2c5793);}[_0x273db9(0x11c)](..._0x3148c7){var _0x264c3d=_0x273db9;console[_0x264c3d(0x10d)]('onGroupFirstBulletinNotify:',..._0x3148c7);}['onGroupListUpdate'](..._0x5c40a7){var _0x539a36=_0x273db9;console[_0x539a36(0x10d)](_0x539a36(0xec),..._0x5c40a7);}['onGroupNotifiesUpdated'](..._0x427af1){var _0x375c47=_0x273db9,_0x3b214d={'EOnMM':_0x375c47(0xee)};console[_0x375c47(0x10d)](_0x3b214d[_0x375c47(0x110)],..._0x427af1);}[_0x273db9(0xfc)](..._0xa77518){var _0x5819e0=_0x273db9;console[_0x5819e0(0x10d)](_0x5819e0(0x11b),..._0xa77518);}[_0x273db9(0x111)](..._0x4b9252){var _0x30a84e=_0x273db9,_0x422f62={'SpGMX':_0x30a84e(0xf8)};console[_0x30a84e(0x10d)](_0x422f62[_0x30a84e(0x113)],..._0x4b9252);}[_0x273db9(0xf1)](_0xeaf885,_0x5cad3d,_0x4be714){var _0x35c3ea=_0x273db9,_0x11b068={'tLcVo':_0x35c3ea(0xe4)};console[_0x35c3ea(0x10d)](_0x11b068['tLcVo']);}[_0x273db9(0xe3)](..._0x1a31ac){var _0x3ec5ce=_0x273db9,_0x5209a4={'uJFfY':_0x3ec5ce(0x10e)};console[_0x3ec5ce(0x10d)](_0x5209a4['uJFfY'],..._0x1a31ac);}['onGroupStatisticInfoChange'](..._0x5c30a5){var _0x5b1110=_0x273db9,_0x13a43a={'blgjW':_0x5b1110(0xf9)};console[_0x5b1110(0x10d)](_0x13a43a[_0x5b1110(0x100)],..._0x5c30a5);}[_0x273db9(0x104)](..._0x2af3c6){var _0x5ecc85=_0x273db9,_0x33fe4a={'krxUU':_0x5ecc85(0x108)};console[_0x5ecc85(0x10d)](_0x33fe4a[_0x5ecc85(0x115)],..._0x2af3c6);}[_0x273db9(0xfd)](..._0x342404){var _0x2e9db3=_0x273db9,_0x32746f={'vhtHc':'onJoinGroupNoVerifyFlag:'};console[_0x2e9db3(0x10d)](_0x32746f['vhtHc'],..._0x342404);}[_0x273db9(0x122)](_0x24a501,_0x7c2f37,_0x189810){var _0x297867=_0x273db9,_0x1cc645={'vCRRg':'onMemberInfoChange:'};console[_0x297867(0x10d)](_0x1cc645[_0x297867(0xe6)],_0x24a501,_0x7c2f37,_0x189810);}[_0x273db9(0xe2)](..._0x543bc6){var _0x2fd50b=_0x273db9,_0x38a256={'UeBmC':_0x2fd50b(0x107)};console[_0x2fd50b(0x10d)](_0x38a256[_0x2fd50b(0x102)],..._0x543bc6);}['onSearchMemberChange'](..._0x4c18d9){var _0x152fe1=_0x273db9,_0xc92abf={'KRrSs':_0x152fe1(0xff)};console[_0x152fe1(0x10d)](_0xc92abf[_0x152fe1(0xf6)],..._0x4c18d9);}[_0x273db9(0xe0)](..._0x4eb33a){var _0xd9c890=_0x273db9,_0x438815={'YSvRr':'onShutUpMemberListChanged:'};console[_0xd9c890(0x10d)](_0x438815[_0xd9c890(0xe8)],..._0x4eb33a);}} \ No newline at end of file +function _0x5f78(_0x215602,_0x512e0e){var _0x373167=_0x3731();return _0x5f78=function(_0x5f787b,_0x3e66cf){_0x5f787b=_0x5f787b-0x10d;var _0x20a73e=_0x373167[_0x5f787b];return _0x20a73e;},_0x5f78(_0x215602,_0x512e0e);}var _0x673f8f=_0x5f78;function _0x3731(){var _0x101db5=['onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','1854050PLeTHp','2196657CPpzsf','onGroupMemberLevelInfoChange:','onGroupAllInfoChange','onGroupStatisticInfoChange','ZUZWP','onGetGroupBulletinListResult','onMemberInfoChange','onJoinGroupNoVerifyFlag:','LJQjn','onSearchMemberChange','onGetGroupBulletinListResult:','1429078vjAAxX','213543WeSHFQ','onGroupBulletinRemindNotify','onGroupsMsgMaskResult:','onGroupArkInviteStateResult','onMemberListChange','onGroupNotifiesUnreadCountUpdated:','onGroupDetailInfoChange','ScIUf','ceIdx','onGroupAllInfoChange:','HAIrm','2xvzZPJ','YnEMP','onGroupNotifiesUpdated:','onJoinGroupNotify','onJoinGroupNotify:','onGroupSingleScreenNotifies','onGroupBulletinRichMediaDownloadComplete','FgaMv','onGroupListUpdate','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaProgressUpdate:','onGroupsMsgMaskResult','onGroupBulletinChange','rkzQc','8oxlMpo','onGroupSingleScreenNotifies:','2756510lcOYsK','onGroupArkInviteStateResult:','onShutUpMemberListChanged:','onGroupNotifiesUpdated','onGroupExtListUpdate','onGroupStatisticInfoChange:','HwdZc','onGroupConfMemberChange','onGroupFirstBulletinNotify:','onMemberInfoChange:','qVwTO','RoAMY','QTirV','onJoinGroupNoVerifyFlag','onGroupMemberLevelInfoChange','12fPpTnl','wRFdZ','log','4fCtecQ','10051855vbkFtW','296462pRVwHJ','UVVQZ','onSearchMemberChange:','onGroupFirstBulletinNotify','onGroupConfMemberChange:','onMemberListChange:'];_0x3731=function(){return _0x101db5;};return _0x3731();}(function(_0x403815,_0x4c7bc6){var _0xcf2a0a=_0x5f78,_0x20d3dc=_0x403815();while(!![]){try{var _0x5f2419=parseInt(_0xcf2a0a(0x140))/0x1+parseInt(_0xcf2a0a(0x11b))/0x2*(parseInt(_0xcf2a0a(0x110))/0x3)+-parseInt(_0xcf2a0a(0x13e))/0x4*(-parseInt(_0xcf2a0a(0x148))/0x5)+parseInt(_0xcf2a0a(0x13b))/0x6*(parseInt(_0xcf2a0a(0x10f))/0x7)+parseInt(_0xcf2a0a(0x12a))/0x8*(-parseInt(_0xcf2a0a(0x149))/0x9)+parseInt(_0xcf2a0a(0x12c))/0xa+-parseInt(_0xcf2a0a(0x13f))/0xb;if(_0x5f2419===_0x4c7bc6)break;else _0x20d3dc['push'](_0x20d3dc['shift']());}catch(_0x23d7d4){_0x20d3dc['push'](_0x20d3dc['shift']());}}}(_0x3731,0x40956));export class GroupListener{[_0x673f8f(0x13a)](..._0x2b428f){}[_0x673f8f(0x14e)](..._0xd73204){}[_0x673f8f(0x14b)](..._0x3ed4b0){}['onGroupBulletinChange'](..._0x576621){}[_0x673f8f(0x111)](..._0x89ae19){}[_0x673f8f(0x113)](..._0x45803c){}['onGroupBulletinRichMediaDownloadComplete'](..._0x398134){}[_0x673f8f(0x133)](..._0x483e47){}['onGroupDetailInfoChange'](..._0x23f472){}['onGroupExtListUpdate'](..._0x520d53){}['onGroupFirstBulletinNotify'](..._0x5d48f5){}[_0x673f8f(0x123)](_0x1e5122,_0x238a1e){}[_0x673f8f(0x12f)](_0x3e44e1,_0x338489){}[_0x673f8f(0x124)](..._0x30c9b5){}['onGroupNotifiesUnreadCountUpdated'](..._0x5ed57d){}[_0x673f8f(0x120)](_0x51d065,_0x7a56b8,_0x4780cd){}[_0x673f8f(0x127)](..._0x3af5e3){}[_0x673f8f(0x14c)](..._0x4283d0){}[_0x673f8f(0x11e)](..._0x12a91a){}[_0x673f8f(0x139)](..._0x451213){}[_0x673f8f(0x14f)](_0x1c6181,_0x56e4df,_0x32f467){}[_0x673f8f(0x114)](_0xcdb25b){}[_0x673f8f(0x10d)](..._0x164920){}[_0x673f8f(0x147)](..._0x3241ec){}}export class DebugGroupListener{[_0x673f8f(0x13a)](..._0x55f102){var _0x33cf57=_0x673f8f,_0x153d98={'FJVKY':_0x33cf57(0x14a)};console[_0x33cf57(0x13d)](_0x153d98['FJVKY'],..._0x55f102);}['onGetGroupBulletinListResult'](..._0x11827c){var _0x405ce8=_0x673f8f,_0x3d4126={'LJQjn':_0x405ce8(0x10e)};console[_0x405ce8(0x13d)](_0x3d4126[_0x405ce8(0x151)],..._0x11827c);}[_0x673f8f(0x14b)](..._0x44e3bc){var _0x2e2730=_0x673f8f;console['log'](_0x2e2730(0x119),..._0x44e3bc);}[_0x673f8f(0x128)](..._0x4c4fdd){var _0x38ec6d=_0x673f8f,_0x3fe7fd={'RoAMY':'onGroupBulletinChange:'};console[_0x38ec6d(0x13d)](_0x3fe7fd[_0x38ec6d(0x137)],..._0x4c4fdd);}[_0x673f8f(0x111)](..._0x9ab434){var _0x565d54=_0x673f8f,_0x53844b={'qZGqP':_0x565d54(0x125)};console['log'](_0x53844b['qZGqP'],..._0x9ab434);}['onGroupArkInviteStateResult'](..._0x355841){var _0x27656b=_0x673f8f,_0x7a24b4={'YnEMP':_0x27656b(0x12d)};console['log'](_0x7a24b4[_0x27656b(0x11c)],..._0x355841);}[_0x673f8f(0x121)](..._0xe9d680){var _0x4d22b0=_0x673f8f,_0x401e19={'MYxba':_0x4d22b0(0x146)};console[_0x4d22b0(0x13d)](_0x401e19['MYxba'],..._0xe9d680);}['onGroupConfMemberChange'](..._0x419f30){var _0x3fb236=_0x673f8f,_0x5bdefd={'jowvl':_0x3fb236(0x144)};console[_0x3fb236(0x13d)](_0x5bdefd['jowvl'],..._0x419f30);}[_0x673f8f(0x116)](..._0x450285){var _0x1b453c=_0x673f8f,_0x24bcb9={'qVwTO':'onGroupDetailInfoChange:'};console['log'](_0x24bcb9[_0x1b453c(0x136)],..._0x450285);}[_0x673f8f(0x130)](..._0x3e1395){var _0x16b0c3=_0x673f8f,_0x3a7719={'ceIdx':'onGroupExtListUpdate:'};console[_0x16b0c3(0x13d)](_0x3a7719[_0x16b0c3(0x118)],..._0x3e1395);}[_0x673f8f(0x143)](..._0x567452){var _0xb3d8e7=_0x673f8f;console[_0xb3d8e7(0x13d)](_0xb3d8e7(0x134),..._0x567452);}['onGroupListUpdate'](..._0x4ca7ab){var _0x2c1821=_0x673f8f,_0x2cb73a={'HwdZc':'onGroupListUpdate:'};console[_0x2c1821(0x13d)](_0x2cb73a[_0x2c1821(0x132)],..._0x4ca7ab);}[_0x673f8f(0x12f)](..._0x3c74ce){var _0x149393=_0x673f8f;console[_0x149393(0x13d)](_0x149393(0x11d),..._0x3c74ce);}[_0x673f8f(0x124)](..._0x3eb68f){var _0x2f509d=_0x673f8f;console[_0x2f509d(0x13d)](_0x2f509d(0x126),..._0x3eb68f);}['onGroupNotifiesUnreadCountUpdated'](..._0x1c6911){var _0x31a323=_0x673f8f,_0x28ca2a={'UVVQZ':_0x31a323(0x115)};console[_0x31a323(0x13d)](_0x28ca2a[_0x31a323(0x141)],..._0x1c6911);}['onGroupSingleScreenNotifies'](_0xd5b5f,_0x333901,_0x474001){var _0x49a739=_0x673f8f,_0x147b1a={'wRFdZ':_0x49a739(0x12b)};console['log'](_0x147b1a[_0x49a739(0x13c)]);}[_0x673f8f(0x127)](..._0x244546){var _0x4ab25a=_0x673f8f,_0x580011={'HAIrm':_0x4ab25a(0x112)};console[_0x4ab25a(0x13d)](_0x580011[_0x4ab25a(0x11a)],..._0x244546);}['onGroupStatisticInfoChange'](..._0x492afa){var _0x4969b8=_0x673f8f,_0x1bbb24={'FgaMv':_0x4969b8(0x131)};console['log'](_0x1bbb24[_0x4969b8(0x122)],..._0x492afa);}[_0x673f8f(0x11e)](..._0x15cdf2){var _0x3e4d70=_0x673f8f,_0x36066d={'IjlbO':_0x3e4d70(0x11f)};console[_0x3e4d70(0x13d)](_0x36066d['IjlbO'],..._0x15cdf2);}[_0x673f8f(0x139)](..._0x5a977e){var _0x3d6b04=_0x673f8f,_0xcfdc49={'rkzQc':_0x3d6b04(0x150)};console[_0x3d6b04(0x13d)](_0xcfdc49[_0x3d6b04(0x129)],..._0x5a977e);}[_0x673f8f(0x14f)](_0x1d26b,_0x7cac91,_0x2199ad){var _0x1b02a4=_0x673f8f,_0xe1977={'ZUZWP':_0x1b02a4(0x135)};console[_0x1b02a4(0x13d)](_0xe1977[_0x1b02a4(0x14d)],_0x1d26b,_0x7cac91,_0x2199ad);}[_0x673f8f(0x114)](..._0x558525){var _0x2f28d1=_0x673f8f,_0x18dc93={'ScIUf':_0x2f28d1(0x145)};console['log'](_0x18dc93[_0x2f28d1(0x117)],..._0x558525);}['onSearchMemberChange'](..._0x460f06){var _0x3ee585=_0x673f8f;console[_0x3ee585(0x13d)](_0x3ee585(0x142),..._0x460f06);}[_0x673f8f(0x147)](..._0x50e335){var _0xb6495c=_0x673f8f,_0x5897ef={'QTirV':_0xb6495c(0x12e)};console[_0xb6495c(0x13d)](_0x5897ef[_0xb6495c(0x138)],..._0x50e335);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 869b4918..df53775a 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x4a6d81=_0x53ff;(function(_0x5f3fa2,_0x17c26e){var _0x296af6=_0x53ff,_0x31a5dd=_0x5f3fa2();while(!![]){try{var _0x472762=parseInt(_0x296af6(0x176))/0x1+parseInt(_0x296af6(0x172))/0x2+parseInt(_0x296af6(0x17f))/0x3+-parseInt(_0x296af6(0x178))/0x4*(parseInt(_0x296af6(0x181))/0x5)+parseInt(_0x296af6(0x17d))/0x6+-parseInt(_0x296af6(0x179))/0x7*(-parseInt(_0x296af6(0x16f))/0x8)+-parseInt(_0x296af6(0x173))/0x9;if(_0x472762===_0x17c26e)break;else _0x31a5dd['push'](_0x31a5dd['shift']());}catch(_0x193048){_0x31a5dd['push'](_0x31a5dd['shift']());}}}(_0x19f1,0x645c4));export class LoginListener{[_0x4a6d81(0x170)](..._0x3f44b3){}[_0x4a6d81(0x183)](..._0x45ae18){}[_0x4a6d81(0x185)](..._0x37b15b){}[_0x4a6d81(0x17a)](_0x102a6f){}[_0x4a6d81(0x17b)](..._0x1d5ca5){}[_0x4a6d81(0x174)](..._0x3100fc){}['onQRCodeLoginSucceed'](_0x13b91b){}['onQRCodeSessionFailed'](..._0x63f2a4){}[_0x4a6d81(0x182)](..._0x270c99){}['onLogoutSucceed'](..._0x4598d2){}[_0x4a6d81(0x177)](..._0x1cfddc){}[_0x4a6d81(0x17c)](..._0x294e61){}[_0x4a6d81(0x17e)](..._0x14afc6){}[_0x4a6d81(0x180)](..._0x43c0bd){}[_0x4a6d81(0x175)](..._0x3d672e){}[_0x4a6d81(0x171)](..._0x4af210){}[_0x4a6d81(0x184)](..._0x117afe){}}function _0x53ff(_0x4e82aa,_0x3a80d0){var _0x19f1d8=_0x19f1();return _0x53ff=function(_0x53ff33,_0x46858a){_0x53ff33=_0x53ff33-0x16f;var _0x18ea07=_0x19f1d8[_0x53ff33];return _0x18ea07;},_0x53ff(_0x4e82aa,_0x3a80d0);}function _0x19f1(){var _0x218494=['296877lyfeXc','onQRCodeGetPicture','onQRCodeLoginPollingStarted','onUserLoggedIn','3705726EhwFoW','onQRCodeSessionQuickLoginFailed','2330652HlrcEk','onPasswordLoginFailed','295dddrcI','onLoginFailed','onLoginDisConnected','onLoginState','onLoginConnecting','56IOZfTf','onLoginConnected','onQQLoginNumLimited','1322630EVpCww','16745184ZBMBwp','onQRCodeSessionUserScaned','OnConfirmUnusualDeviceFailed','684421utFiEo','onLogoutFailed','51896PSGELL'];_0x19f1=function(){return _0x218494;};return _0x19f1();} \ No newline at end of file +function _0x1346(){var _0x11211f=['10LbzcDP','1807137dNUyLB','3670403KGxzFJ','onLoginConnecting','onUserLoggedIn','476kldoQR','onPasswordLoginFailed','onLoginDisConnected','24OtvEzQ','998ayCkze','onLoginFailed','3301050qTcqfT','724822FgxvPg','29215VQZvas','onQRCodeSessionQuickLoginFailed','1167369JyVawL','onQRCodeGetPicture','onLoginState','onLogoutFailed','436Slvtpe'];_0x1346=function(){return _0x11211f;};return _0x1346();}var _0x242adf=_0x2302;function _0x2302(_0x39e3f3,_0xc7d2a2){var _0x134635=_0x1346();return _0x2302=function(_0x23024e,_0xfac3a0){_0x23024e=_0x23024e-0x9a;var _0x53e4e7=_0x134635[_0x23024e];return _0x53e4e7;},_0x2302(_0x39e3f3,_0xc7d2a2);}(function(_0x286ed2,_0x1d9a7b){var _0x5b329a=_0x2302,_0x28ab91=_0x286ed2();while(!![]){try{var _0x5093f2=-parseInt(_0x5b329a(0xa7))/0x1*(parseInt(_0x5b329a(0xa3))/0x2)+-parseInt(_0x5b329a(0xad))/0x3+parseInt(_0x5b329a(0x9d))/0x4*(parseInt(_0x5b329a(0xab))/0x5)+parseInt(_0x5b329a(0xa9))/0x6+-parseInt(_0x5b329a(0xaa))/0x7*(parseInt(_0x5b329a(0xa6))/0x8)+-parseInt(_0x5b329a(0x9f))/0x9+parseInt(_0x5b329a(0x9e))/0xa*(parseInt(_0x5b329a(0xa0))/0xb);if(_0x5093f2===_0x1d9a7b)break;else _0x28ab91['push'](_0x28ab91['shift']());}catch(_0x142d88){_0x28ab91['push'](_0x28ab91['shift']());}}}(_0x1346,0x5d6c1));export class LoginListener{['onLoginConnected'](..._0x24bf8f){}[_0x242adf(0xa5)](..._0x52cd5b){}[_0x242adf(0xa1)](..._0x496868){}[_0x242adf(0x9a)](_0x41f197){}['onQRCodeLoginPollingStarted'](..._0x33827b){}['onQRCodeSessionUserScaned'](..._0x2913ee){}['onQRCodeLoginSucceed'](_0x53b13a){}['onQRCodeSessionFailed'](..._0x1d7393){}[_0x242adf(0xa8)](..._0x1d7ee8){}['onLogoutSucceed'](..._0x206231){}[_0x242adf(0x9c)](..._0x291e7c){}[_0x242adf(0xa2)](..._0x406009){}[_0x242adf(0xac)](..._0x2e9715){}[_0x242adf(0xa4)](..._0x4c3e05){}['OnConfirmUnusualDeviceFailed'](..._0x4a27c2){}['onQQLoginNumLimited'](..._0xa23581){}[_0x242adf(0x9b)](..._0x5d4e86){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index ea652793..f45209c5 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x11d257=_0x3ff2;function _0x3ff2(_0x2a0543,_0x40b984){var _0x1cec99=_0x1cec();return _0x3ff2=function(_0x3ff20e,_0x254840){_0x3ff20e=_0x3ff20e-0x183;var _0x337f0a=_0x1cec99[_0x3ff20e];return _0x337f0a;},_0x3ff2(_0x2a0543,_0x40b984);}(function(_0x508255,_0x216a83){var _0x20c36b=_0x3ff2,_0x4f947d=_0x508255();while(!![]){try{var _0x58a4a9=-parseInt(_0x20c36b(0x18d))/0x1*(-parseInt(_0x20c36b(0x19c))/0x2)+parseInt(_0x20c36b(0x183))/0x3+-parseInt(_0x20c36b(0x1b0))/0x4+parseInt(_0x20c36b(0x1a3))/0x5+-parseInt(_0x20c36b(0x1bb))/0x6*(parseInt(_0x20c36b(0x18a))/0x7)+parseInt(_0x20c36b(0x19a))/0x8*(-parseInt(_0x20c36b(0x196))/0x9)+parseInt(_0x20c36b(0x185))/0xa*(-parseInt(_0x20c36b(0x1b3))/0xb);if(_0x58a4a9===_0x216a83)break;else _0x4f947d['push'](_0x4f947d['shift']());}catch(_0x308887){_0x4f947d['push'](_0x4f947d['shift']());}}}(_0x1cec,0xdbdb4));export class MsgListener{[_0x11d257(0x1bd)](_0x162170){}['onBroadcastHelperDownloadComplete'](_0x54e586){}[_0x11d257(0x1b9)](_0x1fe9d3){}[_0x11d257(0x18e)](_0x3c6018,_0x5790a3,_0x4caf7a){}[_0x11d257(0x1b8)](_0x55af84){}[_0x11d257(0x1a4)](_0x2c0fa4){}[_0x11d257(0x194)](_0x510890,_0x3fb3dc,_0x552727){}[_0x11d257(0x198)](_0x3fb41c){}['onEmojiResourceUpdate'](_0x57278a){}[_0x11d257(0x1af)](_0x528394){}[_0x11d257(0x184)](_0x285d52){}[_0x11d257(0x192)](_0xbef023){}[_0x11d257(0x191)](_0x10e9c9){}[_0x11d257(0x19e)](_0x39b406,_0x4e815f,_0x1351b9,_0x438b0a,_0x1053b5){}[_0x11d257(0x188)](_0x268f17){}[_0x11d257(0x19d)](_0x1c0e3b){}[_0x11d257(0x1b5)](_0x19e2a0){}[_0x11d257(0x1a1)](_0x5bc5d5){}[_0x11d257(0x19b)](_0x4ee7e5){}[_0x11d257(0x1a2)](_0x179923){}['onGuildMsgAbFlagChanged'](_0x127b34){}[_0x11d257(0x1ac)](_0x36a723){}[_0x11d257(0x190)](_0x220ecb){}[_0x11d257(0x1bf)](_0x277581){}[_0x11d257(0x197)](_0x59806c){}[_0x11d257(0x1ad)](_0x3d057b){}[_0x11d257(0x1be)](_0x2611b1){}[_0x11d257(0x1b7)](_0x129971){}[_0x11d257(0x1a8)](_0x25e0b0){}['onLogLevelChanged'](_0x35ec60){}[_0x11d257(0x193)](_0x2de048){}[_0x11d257(0x189)](_0x122a51){}[_0x11d257(0x195)](_0x26e75d,_0xd5d094){}[_0x11d257(0x1a6)](_0x303805){}[_0x11d257(0x187)](_0xfaaccb){}[_0x11d257(0x199)](_0x53828b){}[_0x11d257(0x18b)](_0x28c9cb){}['onMsgRecall'](_0x27ab9a,_0x31cfe3,_0xba65ec){}[_0x11d257(0x1a9)](_0x27e58e){}[_0x11d257(0x1a5)](_0x2785a7){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}[_0x11d257(0x19f)](_0x32ecf8){}[_0x11d257(0x1ba)](_0x45c994){}[_0x11d257(0x1b6)](_0x14f8d3){}[_0x11d257(0x1bc)](_0x46dcc0,_0x3ee085,_0x3c9ed9,_0x57e238,_0x4bcced,_0x33f694){}['onRecvOnlineFileMsg'](_0x2dafad){}[_0x11d257(0x1aa)](_0x5452b4){}['onRecvSysMsg'](_0x270d7c){}[_0x11d257(0x1b1)](_0x3415c3){}[_0x11d257(0x1b4)](_0x3cf21e){}[_0x11d257(0x186)](_0x2590ca){}['onRichMediaUploadComplete'](_0x136d8e){}[_0x11d257(0x1ae)](_0x48ba92){}['onSendMsgError'](_0x1b0d6d,_0x41077f,_0x5ddc56,_0x40fa83){}[_0x11d257(0x1b2)](_0xf7e6a1,_0x57f3ac,_0x471719,_0x2c7400){}[_0x11d257(0x1c0)](_0x1f428b){}[_0x11d257(0x1a7)](_0x124979){}[_0x11d257(0x1ab)](_0x5b4e46){}['onUserChannelTabStatusChanged'](_0x87e63a){}[_0x11d257(0x1a0)](_0x19c83f){}[_0x11d257(0x18c)](_0x2afc00){}['onlineStatusBigIconDownloadPush'](_0x492585,_0x1412cb,_0x3feb08){}['onlineStatusSmallIconDownloadPush'](_0x116369,_0x151932,_0x9230da){}['onUserSecQualityChanged'](..._0x42bd45){}['onMsgWithRichLinkInfoUpdate'](..._0x5b4cfb){}[_0x11d257(0x18f)](..._0x2df90c){}[_0x11d257(0x1c1)](..._0x4b26c0){}}function _0x1cec(){var _0x4532c3=['onReadFeedEventUpdate','onUserOnlineStatusChanged','onGroupTransferInfoAdd','onGuildInteractiveUpdate','6858340zMXhen','onCustomWithdrawConfigUpdate','onMsgSettingUpdate','onMsgEventListUpdate','onUnreadCntAfterFirstView','onLineDev','onMsgSecurityNotify','onRecvS2CMsg','onUnreadCntUpdate','onGuildNotificationAbstractUpdate','onImportOldDbProgressUpdate','onSearchGroupFileInfoUpdate','onFeedEventUpdate','1211060HeTzCz','onRecvUDCFlag','onSysMsgNotification','22wOwmos','onRichMediaDownloadComplete','onGroupGuildUpdate','onRecvMsg','onKickedOffLine','onContactUnreadCntUpdate','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','6162690BWSKqb','onRecvMsgSvrRspTransInfo','onAddSendMsg','onInputStatusPush','onHitEmojiKeywordResult','onTempChatInfoUpdate','onBroadcastHelperProgerssUpdate','3729801pDgGuz','onFileMsgCome','313070KpMyCm','onRichMediaProgerssUpdate','onMsgInfoListAdd','onGroupFileInfoAdd','onMsgBoxChanged','7baiUgC','onMsgQRCodeStatusChanged','onUserTabStatusChanged','1282663UdckHK','onChannelFreqLimitInfoUpdate','onRedTouchChanged','onHitCsRelatedEmojiResult','onFirstViewGroupGuildMapping','onFirstViewDirectMsgUpdate','onMsgAbstractUpdate','onDraftUpdate','onMsgDelete','9rLsqDd','onHitRelatedEmojiResult','onEmojiDownloadComplete','onMsgInfoListUpdate','12836576RdZOkZ','onGroupTransferInfoUpdate','2fzLhqR','onGroupFileInfoUpdate','onGrabPasswordRedBag'];_0x1cec=function(){return _0x4532c3;};return _0x1cec();} \ No newline at end of file +var _0x84d165=_0x1ade;function _0x541d(){var _0x182fdd=['onMsgAbstractUpdate','onUserSecQualityChanged','onlineStatusSmallIconDownloadPush','onlineStatusBigIconDownloadPush','onGroupFileInfoUpdate','onGroupTransferInfoAdd','onBroadcastHelperDownloadComplete','393745snZmzl','onGuildInteractiveUpdate','1798738nXkBUj','2090565nfITHi','onGuildNotificationAbstractUpdate','635221Cxyrtu','6103902cuqhgh','onMsgDelete','onCustomWithdrawConfigUpdate','onEmojiResourceUpdate','onEmojiDownloadComplete','onRichMediaDownloadComplete','onNtMsgSyncStart','356624dYMUKS','onTempChatInfoUpdate','onFeedEventUpdate','onRichMediaUploadComplete','onFileMsgCome','onChannelFreqLimitInfoUpdate','onUnreadCntAfterFirstView','54ifTkap','onHitEmojiKeywordResult','onGroupGuildUpdate','onInputStatusPush','onUserOnlineStatusChanged','onGroupFileInfoAdd','onMsgSecurityNotify','onLogLevelChanged','3SoawoW','onMsgWithRichLinkInfoUpdate','onContactUnreadCntUpdate','onGrabPasswordRedBag','onFirstViewDirectMsgUpdate','1020032heIUWF','onGuildMsgAbFlagChanged','onUnreadCntUpdate','onMsgQRCodeStatusChanged','onSearchGroupFileInfoUpdate','onMsgSettingUpdate','onSysMsgNotification','onRecvSysMsg','onRecvMsg','onAddSendMsg','onRecvGroupGuildFlag','20YNgSqI','onLineDev','onUserTabStatusChanged'];_0x541d=function(){return _0x182fdd;};return _0x541d();}function _0x1ade(_0xbcc695,_0x19da3a){var _0x541d8c=_0x541d();return _0x1ade=function(_0x1ade04,_0x176cba){_0x1ade04=_0x1ade04-0x19c;var _0x43713b=_0x541d8c[_0x1ade04];return _0x43713b;},_0x1ade(_0xbcc695,_0x19da3a);}(function(_0x37b757,_0x21e405){var _0x289ba1=_0x1ade,_0x43e7b2=_0x37b757();while(!![]){try{var _0x34fa21=parseInt(_0x289ba1(0x19d))/0x1+parseInt(_0x289ba1(0x1d0))/0x2+-parseInt(_0x289ba1(0x1b4))/0x3*(parseInt(_0x289ba1(0x1a5))/0x4)+-parseInt(_0x289ba1(0x1ce))/0x5*(-parseInt(_0x289ba1(0x1ac))/0x6)+-parseInt(_0x289ba1(0x19e))/0x7+-parseInt(_0x289ba1(0x1b9))/0x8+-parseInt(_0x289ba1(0x1d1))/0x9*(parseInt(_0x289ba1(0x1c4))/0xa);if(_0x34fa21===_0x21e405)break;else _0x43e7b2['push'](_0x43e7b2['shift']());}catch(_0x194e5e){_0x43e7b2['push'](_0x43e7b2['shift']());}}}(_0x541d,0xa87c3));export class MsgListener{[_0x84d165(0x1c2)](_0x31d1e7){}[_0x84d165(0x1cd)](_0x25f52e){}['onBroadcastHelperProgressUpdate'](_0x5527e7){}[_0x84d165(0x1aa)](_0x21f593,_0x14acf7,_0x34cb28){}[_0x84d165(0x1b6)](_0x1fe33e){}[_0x84d165(0x1a0)](_0x22ba16){}['onDraftUpdate'](_0x38f0a5,_0x587f3b,_0x468c25){}[_0x84d165(0x1a2)](_0x1a895b){}[_0x84d165(0x1a1)](_0xfd376e){}[_0x84d165(0x1a7)](_0x345165){}[_0x84d165(0x1a9)](_0x4e7e85){}[_0x84d165(0x1b8)](_0x340991){}['onFirstViewGroupGuildMapping'](_0x3fe81f){}[_0x84d165(0x1b7)](_0x2e200c,_0x413301,_0x53c2af,_0x101bfd,_0x4b6b08){}[_0x84d165(0x1b1)](_0x44c0c3){}[_0x84d165(0x1cb)](_0x4f14fc){}[_0x84d165(0x1ae)](_0x18040e){}[_0x84d165(0x1cc)](_0x458796){}['onGroupTransferInfoUpdate'](_0x2aec44){}[_0x84d165(0x1cf)](_0x3d5dba){}[_0x84d165(0x1ba)](_0xaf78f0){}[_0x84d165(0x19c)](_0x4043a2){}['onHitCsRelatedEmojiResult'](_0x15ac53){}[_0x84d165(0x1ad)](_0x4de423){}['onHitRelatedEmojiResult'](_0x2292a7){}['onImportOldDbProgressUpdate'](_0x37f6e9){}[_0x84d165(0x1af)](_0x5883e0){}['onKickedOffLine'](_0x4ae24f){}[_0x84d165(0x1c5)](_0x3c748e){}[_0x84d165(0x1b3)](_0x6bc206){}[_0x84d165(0x1c7)](_0xb673dd){}['onMsgBoxChanged'](_0x291b73){}[_0x84d165(0x19f)](_0x902a63,_0x30a146){}['onMsgEventListUpdate'](_0x211fcd){}['onMsgInfoListAdd'](_0x10708f){}['onMsgInfoListUpdate'](_0x5e7e6b){}[_0x84d165(0x1bc)](_0x3a10fc){}['onMsgRecall'](_0x748e2e,_0x1ad011,_0x376fc4){}[_0x84d165(0x1b2)](_0x4973ba){}[_0x84d165(0x1be)](_0x538223){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}[_0x84d165(0x1a4)](){}['onReadFeedEventUpdate'](_0x24b639){}[_0x84d165(0x1c3)](_0x3ce548){}[_0x84d165(0x1c1)](_0xffec35){}['onRecvMsgSvrRspTransInfo'](_0x148cfd,_0x1b5c5f,_0x2128bd,_0x324d0c,_0x35ed65,_0x13ebf7){}['onRecvOnlineFileMsg'](_0x369b79){}['onRecvS2CMsg'](_0x5418f0){}[_0x84d165(0x1c0)](_0x26c452){}['onRecvUDCFlag'](_0x4881f8){}[_0x84d165(0x1a3)](_0xcbe140){}['onRichMediaProgerssUpdate'](_0x1ed8b7){}[_0x84d165(0x1a8)](_0x479f09){}[_0x84d165(0x1bd)](_0x636108){}['onSendMsgError'](_0x4e296b,_0x219e39,_0xd533ec,_0x138256){}[_0x84d165(0x1bf)](_0x56d0fc,_0xf89af1,_0x2eddb6,_0x24f9de){}[_0x84d165(0x1a6)](_0x21e57e){}[_0x84d165(0x1ab)](_0x42003e){}[_0x84d165(0x1bb)](_0x11a9e1){}['onUserChannelTabStatusChanged'](_0x1c8bd3){}[_0x84d165(0x1b0)](_0x3e2631){}[_0x84d165(0x1c6)](_0x11a52f){}[_0x84d165(0x1ca)](_0x2836e2,_0x151f44,_0x1a401d){}[_0x84d165(0x1c9)](_0xaffe4e,_0xcf1c42,_0x13cefd){}[_0x84d165(0x1c8)](..._0x269ed9){}[_0x84d165(0x1b5)](..._0x5142dd){}['onRedTouchChanged'](..._0x4dfa4d){}['onBroadcastHelperProgerssUpdate'](..._0x1d195b){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index bc786967..c4e1c518 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x386969=_0x56cd;(function(_0x3320f2,_0x5405c9){var _0x42313c=_0x56cd,_0x13a9e5=_0x3320f2();while(!![]){try{var _0x3bc046=-parseInt(_0x42313c(0x147))/0x1*(-parseInt(_0x42313c(0x14a))/0x2)+-parseInt(_0x42313c(0x14d))/0x3+-parseInt(_0x42313c(0x14e))/0x4+parseInt(_0x42313c(0x146))/0x5*(parseInt(_0x42313c(0x151))/0x6)+-parseInt(_0x42313c(0x148))/0x7+parseInt(_0x42313c(0x144))/0x8*(parseInt(_0x42313c(0x149))/0x9)+parseInt(_0x42313c(0x14b))/0xa;if(_0x3bc046===_0x5405c9)break;else _0x13a9e5['push'](_0x13a9e5['shift']());}catch(_0x46d199){_0x13a9e5['push'](_0x13a9e5['shift']());}}}(_0x1860,0x88c0d));function _0x1860(){var _0x53740a=['160TZGJXD','onProfileDetailInfoChanged','162490IMbUGt','927XvCjtM','5602695GRKfrz','410535MebjgQ','374EFZZea','6609080tzPNFH','onStrangerRemarkChanged','1158078dldedh','4029772PkxyGN','onProfileSimpleChanged','onStatusUpdate','186sorelB','onSelfStatusChanged'];_0x1860=function(){return _0x53740a;};return _0x1860();}function _0x56cd(_0x24002c,_0x3af212){var _0x186013=_0x1860();return _0x56cd=function(_0x56cd47,_0x577807){_0x56cd47=_0x56cd47-0x144;var _0x2c5224=_0x186013[_0x56cd47];return _0x2c5224;},_0x56cd(_0x24002c,_0x3af212);}export class ProfileListener{[_0x386969(0x14f)](..._0x1a8a2f){}[_0x386969(0x145)](_0x472002){}[_0x386969(0x150)](..._0x49185f){}[_0x386969(0x152)](..._0x2b3c3d){}[_0x386969(0x14c)](..._0x2e4b4a){}} \ No newline at end of file +function _0x8720(_0x2e87f5,_0x385acb){var _0x27ab62=_0x27ab();return _0x8720=function(_0x8720ee,_0x3fcaae){_0x8720ee=_0x8720ee-0x138;var _0x3c4c3a=_0x27ab62[_0x8720ee];return _0x3c4c3a;},_0x8720(_0x2e87f5,_0x385acb);}var _0x7fd3f0=_0x8720;(function(_0x539bdd,_0x38ff45){var _0x5c2b52=_0x8720,_0x5c24da=_0x539bdd();while(!![]){try{var _0x5d7633=-parseInt(_0x5c2b52(0x141))/0x1+-parseInt(_0x5c2b52(0x140))/0x2+parseInt(_0x5c2b52(0x13e))/0x3*(parseInt(_0x5c2b52(0x139))/0x4)+parseInt(_0x5c2b52(0x13f))/0x5*(-parseInt(_0x5c2b52(0x145))/0x6)+-parseInt(_0x5c2b52(0x142))/0x7*(parseInt(_0x5c2b52(0x13d))/0x8)+-parseInt(_0x5c2b52(0x143))/0x9*(-parseInt(_0x5c2b52(0x138))/0xa)+parseInt(_0x5c2b52(0x13b))/0xb;if(_0x5d7633===_0x38ff45)break;else _0x5c24da['push'](_0x5c24da['shift']());}catch(_0x4cb738){_0x5c24da['push'](_0x5c24da['shift']());}}}(_0x27ab,0xf13f4));export class ProfileListener{[_0x7fd3f0(0x144)](..._0x2f2c66){}[_0x7fd3f0(0x146)](_0x26fc3a){}[_0x7fd3f0(0x13a)](..._0x861bf9){}[_0x7fd3f0(0x13c)](..._0x24e7ac){}[_0x7fd3f0(0x147)](..._0x12c7bc){}}function _0x27ab(){var _0x1854ef=['onSelfStatusChanged','1768rKGWXt','9hhIknD','8295mEdYhl','2111112PWIMlL','42213dUWimi','19964FrBGgo','45YAQvtz','onProfileSimpleChanged','2634ROpnRu','onProfileDetailInfoChanged','onStrangerRemarkChanged','1875290KMdYBt','2239396ZOoRTA','onStatusUpdate','9100498DxJiLm'];_0x27ab=function(){return _0x1854ef;};return _0x27ab();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 09c25257..7150fd3a 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x36d8(){var _0xaf6eef=['656664paCuKr','22eORkel','786074mdvFng','4VDwgRN','onRobotProfileChanged','203760zCMGKU','54JLYibQ','6262662nqbKFc','6216928yOMidO','1369850SLprlK','onRobotFriendListChanged','7QFsADe','6528972Bcdfkr','2XYwWrd'];_0x36d8=function(){return _0xaf6eef;};return _0x36d8();}var _0x2b6505=_0x344d;function _0x344d(_0x51cc89,_0x2fb2de){var _0x36d8d8=_0x36d8();return _0x344d=function(_0x344d81,_0x143826){_0x344d81=_0x344d81-0x102;var _0x2e8158=_0x36d8d8[_0x344d81];return _0x2e8158;},_0x344d(_0x51cc89,_0x2fb2de);}(function(_0x4407cf,_0x316eff){var _0x4eafde=_0x344d,_0x1bf707=_0x4407cf();while(!![]){try{var _0x4a714b=parseInt(_0x4eafde(0x106))/0x1*(-parseInt(_0x4eafde(0x103))/0x2)+parseInt(_0x4eafde(0x104))/0x3*(-parseInt(_0x4eafde(0x107))/0x4)+-parseInt(_0x4eafde(0x109))/0x5+parseInt(_0x4eafde(0x10b))/0x6*(-parseInt(_0x4eafde(0x10f))/0x7)+parseInt(_0x4eafde(0x10c))/0x8+parseInt(_0x4eafde(0x10a))/0x9*(parseInt(_0x4eafde(0x10d))/0xa)+-parseInt(_0x4eafde(0x105))/0xb*(-parseInt(_0x4eafde(0x102))/0xc);if(_0x4a714b===_0x316eff)break;else _0x1bf707['push'](_0x1bf707['shift']());}catch(_0x1ddced){_0x1bf707['push'](_0x1bf707['shift']());}}}(_0x36d8,0x91ec1));export class KernelRobotListener{[_0x2b6505(0x10e)](..._0x1f56d0){}['onRobotListChanged'](..._0x53ea0b){}[_0x2b6505(0x108)](..._0x15b7bf){}} \ No newline at end of file +function _0x161b(){var _0x8ec46c=['onRobotListChanged','29788xLVHxQ','1495461eJWlLC','10470440ZdEyzu','onRobotFriendListChanged','11103UjybNP','9395480EXzZVk','42tjKakD','708RhXKQz','63ldZLOA','2551944CUPPks','onRobotProfileChanged','10385496MHqnoR'];_0x161b=function(){return _0x8ec46c;};return _0x161b();}var _0x53e87a=_0x1818;(function(_0x45a083,_0x3cd2ce){var _0x133bbe=_0x1818,_0x4cccad=_0x45a083();while(!![]){try{var _0x492153=-parseInt(_0x133bbe(0x153))/0x1+parseInt(_0x133bbe(0x152))/0x2+parseInt(_0x133bbe(0x156))/0x3*(parseInt(_0x133bbe(0x14c))/0x4)+-parseInt(_0x133bbe(0x157))/0x5+-parseInt(_0x133bbe(0x150))/0x6+-parseInt(_0x133bbe(0x158))/0x7*(parseInt(_0x133bbe(0x14e))/0x8)+parseInt(_0x133bbe(0x14d))/0x9*(parseInt(_0x133bbe(0x154))/0xa);if(_0x492153===_0x3cd2ce)break;else _0x4cccad['push'](_0x4cccad['shift']());}catch(_0x50fedc){_0x4cccad['push'](_0x4cccad['shift']());}}}(_0x161b,0xef388));function _0x1818(_0x1f1b85,_0x3204d9){var _0x161b01=_0x161b();return _0x1818=function(_0x18184b,_0x28cfce){_0x18184b=_0x18184b-0x14c;var _0x3710cf=_0x161b01[_0x18184b];return _0x3710cf;},_0x1818(_0x1f1b85,_0x3204d9);}export class KernelRobotListener{[_0x53e87a(0x155)](..._0x41137b){}[_0x53e87a(0x151)](..._0xe0c698){}[_0x53e87a(0x14f)](..._0x5f0448){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 8c65a9a0..b565ac84 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x376125=_0x44cf;function _0x44cf(_0x42f0f7,_0x2fe6b2){var _0x355f94=_0x355f();return _0x44cf=function(_0x44cfbc,_0x4356fb){_0x44cfbc=_0x44cfbc-0x193;var _0x27b1fe=_0x355f94[_0x44cfbc];return _0x27b1fe;},_0x44cf(_0x42f0f7,_0x2fe6b2);}function _0x355f(){var _0x587830=['1323738OIqGXY','onSessionInitComplete','3850192OiQpgH','onOpentelemetryInit','9500351WQzjlz','onNTSessionCreate','1145640DuWPff','439998oEonyD','1068lcOeyO','onUserOnlineResult','34105QGRiJM','1379932TUEIOC','onGProSessionCreate'];_0x355f=function(){return _0x587830;};return _0x355f();}(function(_0x1bac33,_0x507dcc){var _0x597fca=_0x44cf,_0x38db08=_0x1bac33();while(!![]){try{var _0x3baff1=parseInt(_0x597fca(0x19c))/0x1+-parseInt(_0x597fca(0x19a))/0x2+parseInt(_0x597fca(0x196))/0x3+parseInt(_0x597fca(0x195))/0x4+parseInt(_0x597fca(0x199))/0x5*(-parseInt(_0x597fca(0x197))/0x6)+parseInt(_0x597fca(0x193))/0x7+-parseInt(_0x597fca(0x19e))/0x8;if(_0x3baff1===_0x507dcc)break;else _0x38db08['push'](_0x38db08['shift']());}catch(_0x433a9e){_0x38db08['push'](_0x38db08['shift']());}}}(_0x355f,0xb1e35));export class SessionListener{[_0x376125(0x194)](_0x125d49){}[_0x376125(0x19b)](_0x1592b9){}[_0x376125(0x19d)](_0x54fc26){}[_0x376125(0x19f)](_0x28cba3){}[_0x376125(0x198)](_0x5a2add){}['onGetSelfTinyId'](_0xb084b7){}} \ No newline at end of file +var _0x19e004=_0x2677;function _0x2677(_0x3c68cb,_0x46bace){var _0x4d09d0=_0x4d09();return _0x2677=function(_0x26773b,_0x515d3b){_0x26773b=_0x26773b-0x105;var _0x3c630e=_0x4d09d0[_0x26773b];return _0x3c630e;},_0x2677(_0x3c68cb,_0x46bace);}(function(_0xefd74b,_0xab030e){var _0x4d5aea=_0x2677,_0x313c5e=_0xefd74b();while(!![]){try{var _0x47d64b=-parseInt(_0x4d5aea(0x105))/0x1+parseInt(_0x4d5aea(0x106))/0x2*(parseInt(_0x4d5aea(0x112))/0x3)+-parseInt(_0x4d5aea(0x10c))/0x4*(parseInt(_0x4d5aea(0x10d))/0x5)+-parseInt(_0x4d5aea(0x10f))/0x6*(-parseInt(_0x4d5aea(0x109))/0x7)+-parseInt(_0x4d5aea(0x114))/0x8*(-parseInt(_0x4d5aea(0x111))/0x9)+-parseInt(_0x4d5aea(0x10e))/0xa+parseInt(_0x4d5aea(0x107))/0xb;if(_0x47d64b===_0xab030e)break;else _0x313c5e['push'](_0x313c5e['shift']());}catch(_0x17fd67){_0x313c5e['push'](_0x313c5e['shift']());}}}(_0x4d09,0x478aa));function _0x4d09(){var _0x331e48=['415043cQxCpG','107812wMkudI','1981716HbNHRB','onNTSessionCreate','2204321vZeCfv','onGProSessionCreate','onSessionInitComplete','76yVFZSX','82760ZyzXmW','1327840eeNvwH','6sjUMLx','onUserOnlineResult','18iyMgnQ','9BfIKnb','onOpentelemetryInit','1994288rYirCT'];_0x4d09=function(){return _0x331e48;};return _0x4d09();}export class SessionListener{[_0x19e004(0x108)](_0xe9d21f){}[_0x19e004(0x10a)](_0x17718a){}[_0x19e004(0x10b)](_0x6c9b57){}[_0x19e004(0x113)](_0x164b90){}[_0x19e004(0x110)](_0x1b6509){}['onGetSelfTinyId'](_0x138039){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index eb209510..de3ece91 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x146011=_0x4155;(function(_0x5cb7d1,_0x31a60e){var _0x4b1ff8=_0x4155,_0x1dd5ca=_0x5cb7d1();while(!![]){try{var _0x333140=parseInt(_0x4b1ff8(0x1f3))/0x1*(parseInt(_0x4b1ff8(0x1f9))/0x2)+parseInt(_0x4b1ff8(0x1ec))/0x3+parseInt(_0x4b1ff8(0x1ef))/0x4+parseInt(_0x4b1ff8(0x1ee))/0x5*(parseInt(_0x4b1ff8(0x1f8))/0x6)+parseInt(_0x4b1ff8(0x1f6))/0x7*(-parseInt(_0x4b1ff8(0x1f2))/0x8)+-parseInt(_0x4b1ff8(0x1f1))/0x9*(parseInt(_0x4b1ff8(0x1f7))/0xa)+parseInt(_0x4b1ff8(0x1eb))/0xb;if(_0x333140===_0x31a60e)break;else _0x1dd5ca['push'](_0x1dd5ca['shift']());}catch(_0x41e2a8){_0x1dd5ca['push'](_0x1dd5ca['shift']());}}}(_0x1f59,0x9cdda));function _0x4155(_0x211739,_0x5c11d7){var _0x1f59de=_0x1f59();return _0x4155=function(_0x415520,_0x5c1e6b){_0x415520=_0x415520-0x1eb;var _0x5461bd=_0x1f59de[_0x415520];return _0x5461bd;},_0x4155(_0x211739,_0x5c11d7);}function _0x1f59(){var _0x562bdf=['73THkZOH','onCleanCacheProgressChanged','onScanCacheProgressChanged','120358cbXjDA','170990FgoXRz','6ZkibDy','18844jXnMMM','1858197MuqdTm','392559hWLfKf','onFinishScan','3138335HzIRVp','3036452ZDvNga','onChatCleanDone','450iHrzPP','408kdMfKF'];_0x1f59=function(){return _0x562bdf;};return _0x1f59();}export class StorageCleanListener{[_0x146011(0x1f4)](_0x2b7155){}[_0x146011(0x1f5)](_0x48ac32){}['onCleanCacheStorageChanged'](_0x20b4a6){}[_0x146011(0x1ed)](_0x200bd1){}[_0x146011(0x1f0)](_0x19457d){}} \ No newline at end of file +var _0x956bf7=_0x3bbb;function _0x1e90(){var _0x528342=['onScanCacheProgressChanged','298142LZsPOg','672704eeRNsB','267666uewNes','6Bawnuj','405504kdfEGX','3921736RzJTvk','36213kvwdEO','onCleanCacheStorageChanged','1083435txkfXd'];_0x1e90=function(){return _0x528342;};return _0x1e90();}function _0x3bbb(_0x5bfee5,_0x577c53){var _0x1e905e=_0x1e90();return _0x3bbb=function(_0x3bbbb3,_0x879272){_0x3bbbb3=_0x3bbbb3-0x1c3;var _0x3672c7=_0x1e905e[_0x3bbbb3];return _0x3672c7;},_0x3bbb(_0x5bfee5,_0x577c53);}(function(_0x1f31e0,_0x51bad2){var _0x59f52e=_0x3bbb,_0x30ae6a=_0x1f31e0();while(!![]){try{var _0x323845=-parseInt(_0x59f52e(0x1c9))/0x1+parseInt(_0x59f52e(0x1c3))/0x2+parseInt(_0x59f52e(0x1c7))/0x3+parseInt(_0x59f52e(0x1c4))/0x4+-parseInt(_0x59f52e(0x1cb))/0x5*(-parseInt(_0x59f52e(0x1c6))/0x6)+parseInt(_0x59f52e(0x1c5))/0x7+-parseInt(_0x59f52e(0x1c8))/0x8;if(_0x323845===_0x51bad2)break;else _0x30ae6a['push'](_0x30ae6a['shift']());}catch(_0x1b5228){_0x30ae6a['push'](_0x30ae6a['shift']());}}}(_0x1e90,0x2c2ae));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0xedeb8f){}[_0x956bf7(0x1cc)](_0x3ddc76){}[_0x956bf7(0x1ca)](_0x1d2ca7){}['onFinishScan'](_0x306651){}['onChatCleanDone'](_0x154fad){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 21d8d2e8..57854f95 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x59ec5e,_0x15e54d){var _0x489c6a=_0x44d4,_0x4f3502=_0x59ec5e();while(!![]){try{var _0x312f3d=parseInt(_0x489c6a(0x1cc))/0x1*(parseInt(_0x489c6a(0x1ca))/0x2)+-parseInt(_0x489c6a(0x1cb))/0x3+parseInt(_0x489c6a(0x1c4))/0x4+parseInt(_0x489c6a(0x1c7))/0x5+parseInt(_0x489c6a(0x1c3))/0x6*(-parseInt(_0x489c6a(0x1c6))/0x7)+parseInt(_0x489c6a(0x1c8))/0x8*(-parseInt(_0x489c6a(0x1c5))/0x9)+parseInt(_0x489c6a(0x1c9))/0xa;if(_0x312f3d===_0x15e54d)break;else _0x4f3502['push'](_0x4f3502['shift']());}catch(_0x2c53ca){_0x4f3502['push'](_0x4f3502['shift']());}}}(_0x2692,0xd0ad8));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x44d4(_0xca3f35,_0x375b36){var _0x269229=_0x2692();return _0x44d4=function(_0x44d45e,_0x393d95){_0x44d45e=_0x44d45e-0x1c3;var _0x17464e=_0x269229[_0x44d45e];return _0x17464e;},_0x44d4(_0xca3f35,_0x375b36);}function _0x2692(){var _0x2ff745=['2356590ZQdkqS','3YnRuQC','9840210gKZcnb','3435380GUEoxz','418851YuUSCt','7dJAeHB','4486450DomqdJ','264JzQtTZ','23936670sihHvh','444196WgPtum'];_0x2692=function(){return _0x2ff745;};return _0x2692();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +function _0x2d41(){var _0x10fede=['133wvxFpK','2822jRxIxk','2949335kTsdWU','1511992aanrCa','2416540Fbddsc','1438260lrLVtZ','663648USIEFD','8INpxzG','9788706ZymPVa'];_0x2d41=function(){return _0x10fede;};return _0x2d41();}(function(_0x4183a1,_0x198b1c){var _0x5a9334=_0x213a,_0x47ce24=_0x4183a1();while(!![]){try{var _0x2d6a2e=parseInt(_0x5a9334(0x105))/0x1*(-parseInt(_0x5a9334(0x106))/0x2)+-parseInt(_0x5a9334(0x102))/0x3+-parseInt(_0x5a9334(0x108))/0x4+-parseInt(_0x5a9334(0x107))/0x5+parseInt(_0x5a9334(0x10a))/0x6+-parseInt(_0x5a9334(0x109))/0x7*(-parseInt(_0x5a9334(0x103))/0x8)+parseInt(_0x5a9334(0x104))/0x9;if(_0x2d6a2e===_0x198b1c)break;else _0x47ce24['push'](_0x47ce24['shift']());}catch(_0x51d1bd){_0x47ce24['push'](_0x47ce24['shift']());}}}(_0x2d41,0x4838c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x213a(_0x1b4af7,_0x6ba3d4){var _0x2d41aa=_0x2d41();return _0x213a=function(_0x213aeb,_0x271543){_0x213aeb=_0x213aeb-0x102;var _0x2a2074=_0x2d41aa[_0x213aeb];return _0x2a2074;},_0x213a(_0x1b4af7,_0x6ba3d4);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index c387a77b..a1422e59 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x5f42(){var _0x231b91=['96089wFblIE','27828zEiZNX','198SyYBfP','475896zcjoSk','3779085qOHeRE','974776ymSvPB','807SSWyAd','238428ValbJe','6728HTqUvH'];_0x5f42=function(){return _0x231b91;};return _0x5f42();}(function(_0x84e567,_0x3175ef){var _0x2108c9=_0x144a,_0x451de2=_0x84e567();while(!![]){try{var _0x1cbfe4=-parseInt(_0x2108c9(0x77))/0x1+parseInt(_0x2108c9(0x7e))/0x2*(parseInt(_0x2108c9(0x7c))/0x3)+-parseInt(_0x2108c9(0x79))/0x4+-parseInt(_0x2108c9(0x7a))/0x5+-parseInt(_0x2108c9(0x78))/0x6*(-parseInt(_0x2108c9(0x7f))/0x7)+parseInt(_0x2108c9(0x7b))/0x8+parseInt(_0x2108c9(0x7d))/0x9;if(_0x1cbfe4===_0x3175ef)break;else _0x451de2['push'](_0x451de2['shift']());}catch(_0x336a1b){_0x451de2['push'](_0x451de2['shift']());}}}(_0x5f42,0x935eb));export var GeneralCallResultStatus;function _0x144a(_0x4f4d40,_0x71158e){var _0x5f42d2=_0x5f42();return _0x144a=function(_0x144a59,_0x36cd75){_0x144a59=_0x144a59-0x77;var _0xdee924=_0x5f42d2[_0x144a59];return _0xdee924;},_0x144a(_0x4f4d40,_0x71158e);}(function(_0x14a01f){_0x14a01f[_0x14a01f['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x4b482c,_0x505485){var _0x48b19c=_0x116f,_0x1fc02c=_0x4b482c();while(!![]){try{var _0x5ce885=parseInt(_0x48b19c(0xc0))/0x1+parseInt(_0x48b19c(0xc6))/0x2+parseInt(_0x48b19c(0xc4))/0x3*(-parseInt(_0x48b19c(0xc1))/0x4)+-parseInt(_0x48b19c(0xc3))/0x5+parseInt(_0x48b19c(0xc8))/0x6+-parseInt(_0x48b19c(0xc2))/0x7*(-parseInt(_0x48b19c(0xc7))/0x8)+-parseInt(_0x48b19c(0xc5))/0x9;if(_0x5ce885===_0x505485)break;else _0x1fc02c['push'](_0x1fc02c['shift']());}catch(_0x23f363){_0x1fc02c['push'](_0x1fc02c['shift']());}}}(_0x2bc5,0xc500c));function _0x116f(_0x414323,_0x5763c4){var _0x2bc517=_0x2bc5();return _0x116f=function(_0x116f5f,_0x12b1d5){_0x116f5f=_0x116f5f-0xc0;var _0x28d32e=_0x2bc517[_0x116f5f];return _0x28d32e;},_0x116f(_0x414323,_0x5763c4);}function _0x2bc5(){var _0x3b4729=['29724hJJGLh','24234714BXhaBY','3022808yCCVtA','1648aWkrKf','5238432pMALQV','1029000vXpcxy','368kXnTYG','49189ZKAbiv','2249160EgCUXD'];_0x2bc5=function(){return _0x3b4729;};return _0x2bc5();}export var GeneralCallResultStatus;(function(_0x252919){_0x252919[_0x252919['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index ed19003d..69644240 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x5c03a4,_0xfe24e){var _0x55f018=_0x1844,_0x3f9ca0=_0x5c03a4();while(!![]){try{var _0x1ebd86=-parseInt(_0x55f018(0x92))/0x1+-parseInt(_0x55f018(0x90))/0x2+parseInt(_0x55f018(0x91))/0x3+parseInt(_0x55f018(0x8f))/0x4+-parseInt(_0x55f018(0x95))/0x5*(-parseInt(_0x55f018(0x94))/0x6)+parseInt(_0x55f018(0x8e))/0x7*(-parseInt(_0x55f018(0x93))/0x8)+parseInt(_0x55f018(0x96))/0x9;if(_0x1ebd86===_0xfe24e)break;else _0x3f9ca0['push'](_0x3f9ca0['shift']());}catch(_0x1e51b5){_0x3f9ca0['push'](_0x3f9ca0['shift']());}}}(_0x4c92,0xab0c7));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x1844(_0x1a5c8a,_0x30c696){var _0x4c92f4=_0x4c92();return _0x1844=function(_0x1844e2,_0x5c0c48){_0x1844e2=_0x1844e2-0x8e;var _0x266a80=_0x4c92f4[_0x1844e2];return _0x266a80;},_0x1844(_0x1a5c8a,_0x30c696);}export*from'./NodeIKernelOnlineStatusService';function _0x4c92(){var _0x54ea6e=['1928171YHLRid','4022108rRJcGb','2346736RRvQAe','1748703yYMBDM','945827EmkYYX','8wpTvRV','2197842TrmHkP','5lsVJfT','10264752hTLRGF'];_0x4c92=function(){return _0x54ea6e;};return _0x4c92();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x59fc2b,_0x2f25fe){var _0x28e1fe=_0x5163,_0x4f9b95=_0x59fc2b();while(!![]){try{var _0x412e7b=-parseInt(_0x28e1fe(0x1a9))/0x1*(parseInt(_0x28e1fe(0x1ab))/0x2)+parseInt(_0x28e1fe(0x1a8))/0x3+parseInt(_0x28e1fe(0x1a2))/0x4+parseInt(_0x28e1fe(0x1a7))/0x5*(parseInt(_0x28e1fe(0x1a5))/0x6)+-parseInt(_0x28e1fe(0x1a3))/0x7+parseInt(_0x28e1fe(0x1aa))/0x8*(-parseInt(_0x28e1fe(0x1a4))/0x9)+-parseInt(_0x28e1fe(0x1a6))/0xa;if(_0x412e7b===_0x2f25fe)break;else _0x4f9b95['push'](_0x4f9b95['shift']());}catch(_0x5af61e){_0x4f9b95['push'](_0x4f9b95['shift']());}}}(_0x75c7,0xedbe4));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x5163(_0x37e77c,_0x5efeac){var _0x75c7dc=_0x75c7();return _0x5163=function(_0x51631b,_0x31aeb2){_0x51631b=_0x51631b-0x1a2;var _0x1b65ed=_0x75c7dc[_0x51631b];return _0x1b65ed;},_0x5163(_0x37e77c,_0x5efeac);}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x75c7(){var _0x4bf279=['3844872bVMJAn','345742EXebMm','239152OywcFl','4glDFsc','3213264bFYkZN','8261078jFLgNE','45IugElv','6BHsKFQ','8245770zgpBhD','8672705SUzBdO'];_0x75c7=function(){return _0x4bf279;};return _0x75c7();}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 853bcdc6..b80b9799 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x27364e,_0x5085f4){const _0x392e65=_0x4a7f,_0x36fc09=_0x27364e();while(!![]){try{const _0x170627=-parseInt(_0x392e65(0x16f))/0x1*(-parseInt(_0x392e65(0x17c))/0x2)+-parseInt(_0x392e65(0x16a))/0x3*(parseInt(_0x392e65(0x174))/0x4)+-parseInt(_0x392e65(0x16d))/0x5+parseInt(_0x392e65(0x176))/0x6+-parseInt(_0x392e65(0x16b))/0x7*(parseInt(_0x392e65(0x177))/0x8)+-parseInt(_0x392e65(0x170))/0x9+parseInt(_0x392e65(0x173))/0xa;if(_0x170627===_0x5085f4)break;else _0x36fc09['push'](_0x36fc09['shift']());}catch(_0x27603f){_0x36fc09['push'](_0x36fc09['shift']());}}}(_0xf9ec,0x2486b));function _0x4a7f(_0x40e1fc,_0x5a4ead){const _0xf9ec98=_0xf9ec();return _0x4a7f=function(_0x4a7fb4,_0x2de88c){_0x4a7fb4=_0x4a7fb4-0x168;let _0x5b3d86=_0xf9ec98[_0x4a7fb4];return _0x5b3d86;},_0x4a7f(_0x40e1fc,_0x5a4ead);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3bf612 from'node:path';import _0x37738b from'node:fs';function _0xf9ec(){const _0x38ba8c=['NapCat','temp','766wxlnKg','assign','join','200619sZalHn','14TAgqOi','utf-8','918165oIwlpL','curVersion','771ufzuhl','1318266VxHmeI','writeFileSync','DeJMP','3134150qGJUEE','12IYQCGF','version','1134450DpRhUO','469784YSkSoG','cLmFo','TKSvh'];_0xf9ec=function(){return _0x38ba8c;};return _0xf9ec();}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x33c30e,_0x179ee3,_0x62f723){const _0x4a9b59=_0x4a7f,_0x3787e8={'FHIWF':_0x4a9b59(0x17b),'TKSvh':'NapCat','cLmFo':'guid.txt','nXMyf':_0x4a9b59(0x16c),'DeJMP':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x59ce48=_0x3bf612[_0x4a9b59(0x169)](_0x62f723,_0x4a9b59(0x17a),_0x3787e8['FHIWF']);_0x37738b['mkdirSync'](_0x59ce48,{'recursive':!![]});const _0x5cba34=_0x3bf612[_0x4a9b59(0x169)](_0x62f723,_0x3787e8[_0x4a9b59(0x179)],_0x3787e8[_0x4a9b59(0x178)]);let _0x40b67a=randomUUID();try{_0x40b67a=_0x37738b['readFileSync'](_0x3bf612[_0x4a9b59(0x169)](_0x5cba34),_0x3787e8['nXMyf']);}catch(_0xa807a){_0x37738b[_0x4a9b59(0x171)](_0x3bf612[_0x4a9b59(0x169)](_0x5cba34),_0x40b67a,'utf-8');}const _0x1e71f1={'selfUin':_0x33c30e,'selfUid':_0x179ee3,'desktopPathConfig':{'account_path':_0x62f723},'clientVer':qqVersionConfigInfo[_0x4a9b59(0x16e)],'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':_0x59ce48,'deviceInfo':{'guid':_0x40b67a,'buildVer':qqPkgInfo[_0x4a9b59(0x175)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3787e8[_0x4a9b59(0x172)]};return Object[_0x4a9b59(0x168)](sessionConfig,_0x1e71f1),_0x1e71f1;} \ No newline at end of file +function _0x4118(){const _0x141f16=['2168815GYVCoE','NapCat','temp','495213dPcVBt','24iBTotp','nTmAS','LdBYc','113043mKLRsN','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','jiOdg','9avxDZK','join','70206QBmDJP','3878648eilyCN','utf-8','15430CfqRYA','11957VlXFbc','writeFileSync','46417LrPxOP','mkdirSync','curVersion','618qjsdUf'];_0x4118=function(){return _0x141f16;};return _0x4118();}(function(_0x2b4fb2,_0x1a8899){const _0x26d547=_0x5333,_0x2dcf1e=_0x2b4fb2();while(!![]){try{const _0x78b5dd=parseInt(_0x26d547(0xb7))/0x1+parseInt(_0x26d547(0xc1))/0x2+parseInt(_0x26d547(0xbb))/0x3*(-parseInt(_0x26d547(0xb8))/0x4)+-parseInt(_0x26d547(0xb4))/0x5+parseInt(_0x26d547(0xb3))/0x6*(-parseInt(_0x26d547(0xb0))/0x7)+parseInt(_0x26d547(0xc2))/0x8*(-parseInt(_0x26d547(0xbf))/0x9)+parseInt(_0x26d547(0xc4))/0xa*(parseInt(_0x26d547(0xc5))/0xb);if(_0x78b5dd===_0x1a8899)break;else _0x2dcf1e['push'](_0x2dcf1e['shift']());}catch(_0x5798d9){_0x2dcf1e['push'](_0x2dcf1e['shift']());}}}(_0x4118,0x5cbec));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x4b8962 from'node:path';function _0x5333(_0x2aa071,_0x42fb4d){const _0x41183f=_0x4118();return _0x5333=function(_0x5333e8,_0x4c789f){_0x5333e8=_0x5333e8-0xb0;let _0x33bd15=_0x41183f[_0x5333e8];return _0x33bd15;},_0x5333(_0x2aa071,_0x42fb4d);}import _0x4d6fb7 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x398494,_0x18e015,_0x269147){const _0xcb5baf=_0x5333,_0x288a72={'jiOdg':_0xcb5baf(0xb5),'nTmAS':_0xcb5baf(0xb6),'LdBYc':_0xcb5baf(0xc3)},_0x50ddc8=_0x4b8962[_0xcb5baf(0xc0)](_0x269147,_0x288a72[_0xcb5baf(0xbe)],_0x288a72[_0xcb5baf(0xb9)]);_0x4d6fb7[_0xcb5baf(0xb1)](_0x50ddc8,{'recursive':!![]});const _0x1da00e=_0x4b8962['join'](_0x269147,_0x288a72[_0xcb5baf(0xbe)],_0xcb5baf(0xbd));let _0x106bef=randomUUID();try{_0x106bef=_0x4d6fb7['readFileSync'](_0x4b8962['join'](_0x1da00e),_0x288a72[_0xcb5baf(0xba)]);}catch(_0x187016){_0x4d6fb7[_0xcb5baf(0xc6)](_0x4b8962['join'](_0x1da00e),_0x106bef,_0x288a72[_0xcb5baf(0xba)]);}const _0x42499c={'selfUin':_0x398494,'selfUid':_0x18e015,'desktopPathConfig':{'account_path':_0x269147},'clientVer':qqVersionConfigInfo[_0xcb5baf(0xb2)],'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':_0x50ddc8,'deviceInfo':{'guid':_0x106bef,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xcb5baf(0xbc)};return Object['assign'](sessionConfig,_0x42499c),_0x42499c;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 486e85a4..8615a032 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0xc45a(_0x373198,_0x1676dc){const _0x3dadfc=_0x3dad();return _0xc45a=function(_0xc45a80,_0x48fbaf){_0xc45a80=_0xc45a80-0x1de;let _0x56c679=_0x3dadfc[_0xc45a80];return _0x56c679;},_0xc45a(_0x373198,_0x1676dc);}const _0xd4dd7e=_0xc45a;(function(_0x3d002f,_0x184136){const _0x33e7e4=_0xc45a,_0x2b03c4=_0x3d002f();while(!![]){try{const _0x2315c4=parseInt(_0x33e7e4(0x1e5))/0x1+-parseInt(_0x33e7e4(0x1e7))/0x2*(-parseInt(_0x33e7e4(0x1eb))/0x3)+-parseInt(_0x33e7e4(0x1e2))/0x4+-parseInt(_0x33e7e4(0x1df))/0x5+-parseInt(_0x33e7e4(0x1e0))/0x6+-parseInt(_0x33e7e4(0x1ea))/0x7*(parseInt(_0x33e7e4(0x1ec))/0x8)+parseInt(_0x33e7e4(0x1e8))/0x9;if(_0x2315c4===_0x184136)break;else _0x2b03c4['push'](_0x2b03c4['shift']());}catch(_0x41dde9){_0x2b03c4['push'](_0x2b03c4['shift']());}}}(_0x3dad,0xe2178));import _0x29d068 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x3dad(){const _0x4abd84=['getConfigPath','12rFJsWw','35420121LycOaI','uin','560AsIvzX','694488EYJXzC','153536USTLMf','DEBUG','fileLog','INFO','consoleLogLevel','consoleLog','5927085FBQDln','7780782yvOYqN','getConfigDir','3969148YxQGmh','.json','fileLogLevel','611388JpVLKh'];_0x3dad=function(){return _0x4abd84;};return _0x3dad();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0xd4dd7e(0x1ee)]=!![];[_0xd4dd7e(0x1de)]=!![];[_0xd4dd7e(0x1e4)]=LogLevel[_0xd4dd7e(0x1ed)];[_0xd4dd7e(0x1f0)]=LogLevel[_0xd4dd7e(0x1ef)];constructor(){super();}[_0xd4dd7e(0x1e6)](){const _0x3dfbaf=_0xd4dd7e;return _0x29d068['join'](this[_0x3dfbaf(0x1e1)](),'napcat_'+selfInfo[_0x3dfbaf(0x1e9)]+_0x3dfbaf(0x1e3));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x399237=_0x5e00;(function(_0xabf79,_0x3474b1){const _0x5bf8f5=_0x5e00,_0x2522be=_0xabf79();while(!![]){try{const _0x24300c=parseInt(_0x5bf8f5(0x78))/0x1*(-parseInt(_0x5bf8f5(0x7a))/0x2)+-parseInt(_0x5bf8f5(0x69))/0x3*(-parseInt(_0x5bf8f5(0x6b))/0x4)+parseInt(_0x5bf8f5(0x68))/0x5*(-parseInt(_0x5bf8f5(0x71))/0x6)+-parseInt(_0x5bf8f5(0x6a))/0x7+-parseInt(_0x5bf8f5(0x6e))/0x8*(-parseInt(_0x5bf8f5(0x76))/0x9)+parseInt(_0x5bf8f5(0x6d))/0xa+-parseInt(_0x5bf8f5(0x6c))/0xb*(-parseInt(_0x5bf8f5(0x73))/0xc);if(_0x24300c===_0x3474b1)break;else _0x2522be['push'](_0x2522be['shift']());}catch(_0x200939){_0x2522be['push'](_0x2522be['shift']());}}}(_0x5c54,0x5a3cc));function _0x5e00(_0x4431e2,_0x3234c4){const _0x5c5445=_0x5c54();return _0x5e00=function(_0x5e0053,_0x19e87a){_0x5e0053=_0x5e0053-0x68;let _0x23ea9c=_0x5c5445[_0x5e0053];return _0x23ea9c;},_0x5e00(_0x4431e2,_0x3234c4);}import _0x2c93d9 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x399237(0x77)]=!![];[_0x399237(0x70)]=!![];['fileLogLevel']=LogLevel[_0x399237(0x7b)];[_0x399237(0x6f)]=LogLevel[_0x399237(0x74)];constructor(){super();}[_0x399237(0x79)](){const _0x29c86e=_0x399237;return _0x2c93d9['join'](this['getConfigDir'](),_0x29c86e(0x75)+selfInfo[_0x29c86e(0x72)]+'.json');}}export const napCatConfig=new Config();function _0x5c54(){const _0x490197=['1820166pXCuXM','uin','12PgbzYG','INFO','napcat_','1979676eQxeRm','fileLog','890lBPixZ','getConfigPath','1198WOSBEr','DEBUG','5IYhItT','42mAnvHz','2780855xitthX','110128JbPbXi','5395797dmFhEw','5074090pGAxrr','8lQvuZT','consoleLogLevel','consoleLog'];_0x5c54=function(){return _0x490197;};return _0x5c54();} \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index b232d099..776c793f 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x47616c=_0x43e4;(function(_0x5e7037,_0x2435ce){const _0x5896b6=_0x43e4,_0x46064f=_0x5e7037();while(!![]){try{const _0x57c85c=parseInt(_0x5896b6(0x1cf))/0x1*(-parseInt(_0x5896b6(0x1c0))/0x2)+parseInt(_0x5896b6(0x1c2))/0x3+parseInt(_0x5896b6(0x1c5))/0x4*(parseInt(_0x5896b6(0x1c9))/0x5)+-parseInt(_0x5896b6(0x1c4))/0x6*(parseInt(_0x5896b6(0x1c7))/0x7)+parseInt(_0x5896b6(0x1d5))/0x8*(-parseInt(_0x5896b6(0x1c6))/0x9)+-parseInt(_0x5896b6(0x1c3))/0xa*(parseInt(_0x5896b6(0x1ce))/0xb)+-parseInt(_0x5896b6(0x1d4))/0xc*(-parseInt(_0x5896b6(0x1d0))/0xd);if(_0x57c85c===_0x2435ce)break;else _0x46064f['push'](_0x46064f['shift']());}catch(_0x493729){_0x46064f['push'](_0x46064f['shift']());}}}(_0x1738,0x55e8d));function _0x1738(){const _0x11de70=['11835PVlWEO','114555GfXoyj','igJHJ','5ZiNWDz','QjDCZ','getRkey','GET','rkeyData','41558MmTyxf','7463vGiBPC','26bSCCTm','isExpired','serverUrl','jWjtz','7485900RKIXlh','3544QiPOtD','refreshRkey','gxhPb','102wUIBRq','HttpGetJson','1490859eHraHJ','940HlMdTs','54aCIYVC','291428XzbozE'];_0x1738=function(){return _0x11de70;};return _0x1738();}function _0x43e4(_0x541ea9,_0x4042a1){const _0x173881=_0x1738();return _0x43e4=function(_0x43e4b3,_0x440e10){_0x43e4b3=_0x43e4b3-0x1bf;let _0x223942=_0x173881[_0x43e4b3];return _0x223942;},_0x43e4(_0x541ea9,_0x4042a1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x47616c(0x1d2)]='';[_0x47616c(0x1cd)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2d4eb3){const _0x1be7b4=_0x47616c;this[_0x1be7b4(0x1d2)]=_0x2d4eb3;}async[_0x47616c(0x1cb)](){const _0x47194c=_0x47616c,_0x674127={'QjDCZ':'获取rkey失败'};if(this[_0x47194c(0x1d1)]())try{await this['refreshRkey']();}catch(_0x31b251){logError(_0x674127[_0x47194c(0x1ca)],_0x31b251);}return this['rkeyData'];}[_0x47616c(0x1d1)](){const _0x101063=_0x47616c,_0x39a43f={'gxhPb':function(_0x3607a5,_0xc47bb7){return _0x3607a5/_0xc47bb7;},'jWjtz':function(_0x5c1c6e,_0x3a13ad){return _0x5c1c6e>_0x3a13ad;}},_0x1b3f36=_0x39a43f[_0x101063(0x1bf)](new Date()['getTime'](),0x3e8);return _0x39a43f[_0x101063(0x1d3)](_0x1b3f36,this[_0x101063(0x1cd)]['expired_time']);}async[_0x47616c(0x1d6)](){const _0x144a44=_0x47616c,_0x1dd06e={'igJHJ':_0x144a44(0x1cc)};this['rkeyData']=await RequestUtil[_0x144a44(0x1c1)](this[_0x144a44(0x1d2)],_0x1dd06e[_0x144a44(0x1c8)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +const _0x5a14f4=_0x308f;function _0x308f(_0x14a25f,_0x1e8e29){const _0x11c1fc=_0x11c1();return _0x308f=function(_0x308f9d,_0x87c165){_0x308f9d=_0x308f9d-0xe4;let _0x4c9cda=_0x11c1fc[_0x308f9d];return _0x4c9cda;},_0x308f(_0x14a25f,_0x1e8e29);}(function(_0x32b5f2,_0x352da9){const _0x4afa54=_0x308f,_0x4f5ec0=_0x32b5f2();while(!![]){try{const _0x3e48dd=-parseInt(_0x4afa54(0xe9))/0x1*(-parseInt(_0x4afa54(0xf4))/0x2)+parseInt(_0x4afa54(0xf5))/0x3*(-parseInt(_0x4afa54(0xe7))/0x4)+parseInt(_0x4afa54(0xf6))/0x5*(parseInt(_0x4afa54(0xf8))/0x6)+parseInt(_0x4afa54(0xfa))/0x7*(-parseInt(_0x4afa54(0xec))/0x8)+parseInt(_0x4afa54(0xe5))/0x9+parseInt(_0x4afa54(0xf2))/0xa*(parseInt(_0x4afa54(0xf3))/0xb)+parseInt(_0x4afa54(0xf0))/0xc*(-parseInt(_0x4afa54(0xee))/0xd);if(_0x3e48dd===_0x352da9)break;else _0x4f5ec0['push'](_0x4f5ec0['shift']());}catch(_0x577aeb){_0x4f5ec0['push'](_0x4f5ec0['shift']());}}}(_0x11c1,0x26ba5));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x5a14f4(0xef)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x259eb5){const _0x260ad5=_0x5a14f4;this[_0x260ad5(0xef)]=_0x259eb5;}async[_0x5a14f4(0xe4)](){const _0x4020ff=_0x5a14f4,_0x42f608={'afXma':function(_0x36918a,_0x2ad276,_0x362969){return _0x36918a(_0x2ad276,_0x362969);},'NaKZG':_0x4020ff(0xf9)};if(this[_0x4020ff(0xed)]())try{await this['refreshRkey']();}catch(_0x16e8a4){_0x42f608[_0x4020ff(0xf7)](logError,_0x42f608['NaKZG'],_0x16e8a4);}return this['rkeyData'];}['isExpired'](){const _0x4b192d=_0x5a14f4,_0x5cebe2={'LRJbC':function(_0x40c4f9,_0xe489b5){return _0x40c4f9>_0xe489b5;}},_0x1b0cf4=new Date()[_0x4b192d(0xea)]()/0x3e8;return _0x5cebe2[_0x4b192d(0xe6)](_0x1b0cf4,this[_0x4b192d(0xe8)]['expired_time']);}async[_0x5a14f4(0xeb)](){const _0x2a0099=_0x5a14f4,_0x1dc096={'SOWjd':'GET'};this[_0x2a0099(0xe8)]=await RequestUtil[_0x2a0099(0xf1)](this[_0x2a0099(0xef)],_0x1dc096['SOWjd']);}}function _0x11c1(){const _0x460e33=['rkeyData','2307kFPhIp','getTime','refreshRkey','308208gpVFmY','isExpired','4640987etIbal','serverUrl','12dRxiUq','HttpGetJson','3580BhuCYd','3289HdjUkh','202HUjfOJ','164991FwhVOA','1261430dcKyHA','afXma','6zCLEuA','获取rkey失败','21ypRVlL','getRkey','1834758kIuhOH','LRJbC','12QvoLvy'];_0x11c1=function(){return _0x460e33;};return _0x11c1();}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index c432c64a..e1542b2a 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2d8ed2=_0x2255;(function(_0x3adaf1,_0x5d8924){const _0x2c0c83=_0x2255,_0x1cd8b8=_0x3adaf1();while(!![]){try{const _0x451efc=parseInt(_0x2c0c83(0xbb))/0x1*(parseInt(_0x2c0c83(0xaf))/0x2)+parseInt(_0x2c0c83(0xb8))/0x3*(parseInt(_0x2c0c83(0xb3))/0x4)+parseInt(_0x2c0c83(0xbc))/0x5*(-parseInt(_0x2c0c83(0xb4))/0x6)+-parseInt(_0x2c0c83(0xaa))/0x7*(-parseInt(_0x2c0c83(0xc0))/0x8)+-parseInt(_0x2c0c83(0xb1))/0x9*(-parseInt(_0x2c0c83(0xab))/0xa)+-parseInt(_0x2c0c83(0xac))/0xb+parseInt(_0x2c0c83(0xb7))/0xc*(parseInt(_0x2c0c83(0xb0))/0xd);if(_0x451efc===_0x5d8924)break;else _0x1cd8b8['push'](_0x1cd8b8['shift']());}catch(_0x25cea){_0x1cd8b8['push'](_0x1cd8b8['shift']());}}}(_0x44e2,0xc2d1d));import _0x3dc70c from'node:path';function _0x44e2(){const _0x4b922f=['24lUpxlE','15jGDmkw','dirname','default','24313zqIkdS','5kotwDk','\x0amodule.exports\x20=\x20require(\x22','join','replace','301672OEPrWQ','file://','7IjYkNS','314970MTrjGd','16377581lSZijW','url','/wrapper.node','86lQQTMR','6191848udCUsb','99FntpZi','resolve','337060GonyFt','3100200pYdlOD','execPath','writeFileSync'];_0x44e2=function(){return _0x4b922f;};return _0x44e2();}import _0x375ecd from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2d8ed2(0xad)]),__dirname=dirname(__filename);let wrapperNodePath=_0x3dc70c[_0x2d8ed2(0xb2)](_0x3dc70c[_0x2d8ed2(0xb9)](process[_0x2d8ed2(0xb5)]),'./resources/app/wrapper.node');function _0x2255(_0x375743,_0x44337e){const _0x44e202=_0x44e2();return _0x2255=function(_0x2255b9,_0x59fdab){_0x2255b9=_0x2255b9-0xa9;let _0x142728=_0x44e202[_0x2255b9];return _0x142728;},_0x2255(_0x375743,_0x44337e);}!_0x375ecd['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x3dc70c[_0x2d8ed2(0xbe)](_0x3dc70c[_0x2d8ed2(0xb9)](process[_0x2d8ed2(0xb5)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0x2d8ed2(0xae)));let WrapperLoader=_0x3dc70c[_0x2d8ed2(0xbe)](__dirname,'WrapperLoader.cjs');_0x375ecd[_0x2d8ed2(0xb6)](WrapperLoader,_0x2d8ed2(0xbd)+wrapperNodePath[_0x2d8ed2(0xbf)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x2d8ed2(0xa9)+WrapperLoader))[_0x2d8ed2(0xba)];export default QQWrapper; \ No newline at end of file +const _0x2e59c8=_0x33b2;(function(_0x5c426a,_0x2d7b0d){const _0xc70c6b=_0x33b2,_0x17bf7c=_0x5c426a();while(!![]){try{const _0x2cd4f1=-parseInt(_0xc70c6b(0x181))/0x1*(parseInt(_0xc70c6b(0x184))/0x2)+parseInt(_0xc70c6b(0x174))/0x3+parseInt(_0xc70c6b(0x187))/0x4+parseInt(_0xc70c6b(0x182))/0x5+parseInt(_0xc70c6b(0x183))/0x6+-parseInt(_0xc70c6b(0x189))/0x7*(parseInt(_0xc70c6b(0x185))/0x8)+-parseInt(_0xc70c6b(0x179))/0x9*(parseInt(_0xc70c6b(0x17d))/0xa);if(_0x2cd4f1===_0x2d7b0d)break;else _0x17bf7c['push'](_0x17bf7c['shift']());}catch(_0x409282){_0x17bf7c['push'](_0x17bf7c['shift']());}}}(_0x3f90,0x816f8));function _0x33b2(_0x4f9a1f,_0x167660){const _0x3f900f=_0x3f90();return _0x33b2=function(_0x33b2a9,_0x286715){_0x33b2a9=_0x33b2a9-0x172;let _0x1226dc=_0x3f900f[_0x33b2a9];return _0x1226dc;},_0x33b2(_0x4f9a1f,_0x167660);}import _0x17e22c from'node:path';import _0x115552 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2e59c8(0x188)]),__dirname=dirname(__filename);let wrapperNodePath=_0x17e22c[_0x2e59c8(0x17b)](_0x17e22c[_0x2e59c8(0x17f)](process['execPath']),_0x2e59c8(0x172));!_0x115552[_0x2e59c8(0x175)](wrapperNodePath)&&(wrapperNodePath=_0x17e22c[_0x2e59c8(0x186)](_0x17e22c[_0x2e59c8(0x17f)](process['execPath']),_0x2e59c8(0x17e)+qqVersionConfigInfo[_0x2e59c8(0x17c)]+_0x2e59c8(0x177)));function _0x3f90(){const _0x4f7a40=['1348726kMsFCI','104WWoOkO','join','4058968pGaaDR','url','423689QVrard','./resources/app/wrapper.node','WrapperLoader.cjs','2918157SvneDC','existsSync','\x0amodule.exports\x20=\x20require(\x22','/wrapper.node','file://','1874997xinYoN','replace','resolve','curVersion','50SQKdGM','resources/app/versions/','dirname','default','1nPVvAL','1563040MgJESz','4397868oGCwWX'];_0x3f90=function(){return _0x4f7a40;};return _0x3f90();}let WrapperLoader=_0x17e22c[_0x2e59c8(0x186)](__dirname,_0x2e59c8(0x173));_0x115552['writeFileSync'](WrapperLoader,_0x2e59c8(0x176)+wrapperNodePath[_0x2e59c8(0x17a)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x2e59c8(0x178)+WrapperLoader))[_0x2e59c8(0x180)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/group/GetGroupMemberInfo.ts b/src/onebot11/action/group/GetGroupMemberInfo.ts index 69a05992..958272e6 100644 --- a/src/onebot11/action/group/GetGroupMemberInfo.ts +++ b/src/onebot11/action/group/GetGroupMemberInfo.ts @@ -52,9 +52,8 @@ class GetGroupMemberInfo extends BaseAction { retMember.join_time = webGroupMembers[i]?.join_time; retMember.last_sent_time = webGroupMembers[i]?.last_speak_time; retMember.qage = webGroupMembers[i]?.qage; - retMember.level = webGroupMembers[i]?.lv.level; + retMember.level = webGroupMembers[i]?.lv.level.toString(); } - } return retMember; } else {