refactor: core

This commit is contained in:
linyuchen 2024-04-27 01:02:58 +08:00
parent ce60aa3823
commit 6f0783acc4
143 changed files with 253 additions and 446 deletions

View File

@ -0,0 +1 @@
var _0x44d943=_0x2946;(function(_0x3a6c57,_0x1d89c8){var _0x154383=_0x2946,_0x28f577=_0x3a6c57();while(!![]){try{var _0x58d5d9=-parseInt(_0x154383(0x101))/0x1+parseInt(_0x154383(0x109))/0x2*(-parseInt(_0x154383(0x104))/0x3)+parseInt(_0x154383(0x108))/0x4*(parseInt(_0x154383(0x107))/0x5)+-parseInt(_0x154383(0x103))/0x6*(parseInt(_0x154383(0x106))/0x7)+parseInt(_0x154383(0x102))/0x8*(parseInt(_0x154383(0x10b))/0x9)+-parseInt(_0x154383(0x10d))/0xa*(parseInt(_0x154383(0x100))/0xb)+parseInt(_0x154383(0x10c))/0xc;if(_0x58d5d9===_0x1d89c8)break;else _0x28f577['push'](_0x28f577['shift']());}catch(_0x44fd9a){_0x28f577['push'](_0x28f577['shift']());}}}(_0x5240,0x40f41));export class DependsAdapter{[_0x44d943(0x105)](_0x260a91){}['onMSFSsoError'](_0x4d98a9){}[_0x44d943(0x10a)](_0x3b48cf){}}function _0x2946(_0xfbd1a9,_0x25f413){var _0x5240bc=_0x5240();return _0x2946=function(_0x2946a8,_0x4ad762){_0x2946a8=_0x2946a8-0x100;var _0x20d14a=_0x5240bc[_0x2946a8];return _0x20d14a;},_0x2946(_0xfbd1a9,_0x25f413);}function _0x5240(){var _0x1f6db7=['getGroupCode','2097KaYuuQ','7256616tbeaRR','2690gOqSrK','6809BrpSrl','464136IJetcU','2272dXbjRj','657960GDFKuR','12oVUgqL','onMSFStatusChange','14WjQVtt','2380490NuVYHx','4SFdGYK','15486Dfkdie'];_0x5240=function(){return _0x1f6db7;};return _0x5240();}

View File

@ -0,0 +1 @@
var _0xcac673=_0x58b8;function _0x58b8(_0x20266c,_0x446416){var _0x569fae=_0x569f();return _0x58b8=function(_0x58b87b,_0x21e108){_0x58b87b=_0x58b87b-0x113;var _0x6de4a9=_0x569fae[_0x58b87b];return _0x6de4a9;},_0x58b8(_0x20266c,_0x446416);}(function(_0x3e2bdd,_0x2ea2da){var _0x7d2900=_0x58b8,_0x4eb81a=_0x3e2bdd();while(!![]){try{var _0xffeae1=parseInt(_0x7d2900(0x116))/0x1+-parseInt(_0x7d2900(0x117))/0x2+parseInt(_0x7d2900(0x11e))/0x3*(-parseInt(_0x7d2900(0x11a))/0x4)+-parseInt(_0x7d2900(0x11c))/0x5+-parseInt(_0x7d2900(0x115))/0x6*(parseInt(_0x7d2900(0x118))/0x7)+-parseInt(_0x7d2900(0x113))/0x8*(parseInt(_0x7d2900(0x119))/0x9)+parseInt(_0x7d2900(0x11f))/0xa*(parseInt(_0x7d2900(0x11d))/0xb);if(_0xffeae1===_0x2ea2da)break;else _0x4eb81a['push'](_0x4eb81a['shift']());}catch(_0x218d53){_0x4eb81a['push'](_0x4eb81a['shift']());}}}(_0x569f,0x8e19a));export class DispatcherAdapter{[_0xcac673(0x11b)](_0x28c2b5){}[_0xcac673(0x114)](_0x577da2){}['dispatchCallWithJson'](_0x28f05c){}}function _0x569f(){var _0x4ca045=['11qteyrB','60327iuayBJ','27879910LaPKNJ','1031032EGIbIL','dispatchCall','30RxGHbg','641112qTvAxX','407820EaOeBm','518644zACyKq','63MtSMkJ','228NkxifA','dispatchRequest','1121625copZia'];_0x569f=function(){return _0x4ca045;};return _0x569f();}

View File

@ -0,0 +1 @@
function _0x1eca(_0x3f5f6a,_0x228dc9){var _0x1dcfa9=_0x1dcf();return _0x1eca=function(_0x1eca7f,_0x4b49f5){_0x1eca7f=_0x1eca7f-0x14f;var _0x24df07=_0x1dcfa9[_0x1eca7f];return _0x24df07;},_0x1eca(_0x3f5f6a,_0x228dc9);}var _0x1263f8=_0x1eca;(function(_0x5a7353,_0x4837a5){var _0x18a42e=_0x1eca,_0x3cb7ad=_0x5a7353();while(!![]){try{var _0x8660b8=parseInt(_0x18a42e(0x15d))/0x1+-parseInt(_0x18a42e(0x15a))/0x2+parseInt(_0x18a42e(0x15e))/0x3+-parseInt(_0x18a42e(0x150))/0x4*(-parseInt(_0x18a42e(0x156))/0x5)+-parseInt(_0x18a42e(0x14f))/0x6+parseInt(_0x18a42e(0x154))/0x7+-parseInt(_0x18a42e(0x15c))/0x8;if(_0x8660b8===_0x4837a5)break;else _0x3cb7ad['push'](_0x3cb7ad['shift']());}catch(_0x21b59f){_0x3cb7ad['push'](_0x3cb7ad['shift']());}}}(_0x1dcf,0xf178e));export class GlobalAdapter{[_0x1263f8(0x157)](..._0x17c46f){}[_0x1263f8(0x153)](..._0x5a9cec){}[_0x1263f8(0x152)](..._0x3ade20){}[_0x1263f8(0x151)](..._0x1623d4){}[_0x1263f8(0x15b)](..._0x304ef7){}[_0x1263f8(0x155)](..._0x56944a){}[_0x1263f8(0x159)](..._0x34e4ec){}[_0x1263f8(0x158)](..._0x27a473){}}function _0x1dcf(){var _0x3c0b71=['onLog','onGetOfflineMsg','onUpdateGeneralFlag','1325876iQpQET','getAppSetting','9308824YjprUz','596848RSxxQp','2132682ouIHRY','8749104qzkGGW','12292HVUcbT','fixPicImgType','onShowErrUITips','onGetSrvCalTime','12803301paOTcK','onInstallFinished','1850ovMPff'];_0x1dcf=function(){return _0x3c0b71;};return _0x1dcf();}

View File

@ -0,0 +1 @@
(function(_0x105b40,_0x1b608f){var _0x62c524=_0x5205,_0x537ba3=_0x105b40();while(!![]){try{var _0xcca8e7=parseInt(_0x62c524(0x87))/0x1*(-parseInt(_0x62c524(0x82))/0x2)+-parseInt(_0x62c524(0x83))/0x3+-parseInt(_0x62c524(0x7f))/0x4*(parseInt(_0x62c524(0x84))/0x5)+-parseInt(_0x62c524(0x81))/0x6+-parseInt(_0x62c524(0x80))/0x7+-parseInt(_0x62c524(0x86))/0x8*(-parseInt(_0x62c524(0x85))/0x9)+parseInt(_0x62c524(0x88))/0xa;if(_0xcca8e7===_0x1b608f)break;else _0x537ba3['push'](_0x537ba3['shift']());}catch(_0x45fed5){_0x537ba3['push'](_0x537ba3['shift']());}}}(_0x50b0,0xece8a));function _0x5205(_0x4d820a,_0x59c7d6){var _0x50b02d=_0x50b0();return _0x5205=function(_0x52051c,_0x3d13e4){_0x52051c=_0x52051c-0x7f;var _0x36e292=_0x50b02d[_0x52051c];return _0x36e292;},_0x5205(_0x4d820a,_0x59c7d6);}export*from'./NodeIDependsAdapter';function _0x50b0(){var _0x2f3979=['38039230sBEPly','1224532eyLeDG','790811MHnnVh','9134082grUQoj','2XWfXJM','3946266ZTUpti','5IuukCp','144jtQLYI','710480yUSVkH','997630Nyloqj'];_0x50b0=function(){return _0x2f3979;};return _0x50b0();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';

View File

@ -1,4 +1,4 @@
import { ChatType, ElementType } from '../../../../core/src/entities'; import { ChatType, ElementType, RawMessage } from '@/core/entities';
import * as fileType from 'file-type'; import * as fileType from 'file-type';
import { ISizeCalculationResult } from 'image-size/dist/types/interface'; import { ISizeCalculationResult } from 'image-size/dist/types/interface';
export declare class NTQQFileApi { export declare class NTQQFileApi {
@ -12,6 +12,7 @@ export declare class NTQQFileApi {
fileSize: number; fileSize: number;
ext: string; ext: string;
}>; }>;
static downloadMedia(msgId: string, chatType: ChatType, peerUid: string, elementId: string, thumbPath: string, sourcePath: string, timeout?: number): Promise<string>; static downloadMedia(msgId: string, chatType: ChatType, peerUid: string, elementId: string, thumbPath: string, sourcePath: string, timeout?: number, force?: boolean): Promise<string>;
static getImageSize(filePath: string): Promise<ISizeCalculationResult | undefined>; static getImageSize(filePath: string): Promise<ISizeCalculationResult | undefined>;
static getImageUrl(msg: RawMessage): Promise<string>;
} }

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import { FriendRequest } from '../../../../core/src/entities'; import { FriendRequest } from '@/core/entities';
export declare class NTQQFriendApi { export declare class NTQQFriendApi {
static getFriends(forced?: boolean): Promise<void>; static getFriends(forced?: boolean): Promise<void>;
static handleFriendRequest(request: FriendRequest, accept: boolean): Promise<void>; static handleFriendRequest(request: FriendRequest, accept: boolean): Promise<void>;

View File

@ -0,0 +1 @@
function _0x53cd(_0x6c973f,_0x482362){var _0x295129=_0x2951();return _0x53cd=function(_0x53cd88,_0x5cf733){_0x53cd88=_0x53cd88-0xdd;var _0x4748b1=_0x295129[_0x53cd88];return _0x4748b1;},_0x53cd(_0x6c973f,_0x482362);}var _0xcb08fb=_0x53cd;function _0x2951(){var _0x55a867=['15nwNFqd','159944UCtmYp','19756Drgcew','getBuddyService','session','16392456kuoQGf','208128tNMUYj','approvalFriendRequest','1pOlGLr','4955384ciRvsP','friendUid','730726PNEQih','1261023nyQGpC','getFriends','handleFriendRequest'];_0x2951=function(){return _0x55a867;};return _0x2951();}(function(_0x20bf4c,_0x5c1f9c){var _0x7d4976=_0x53cd,_0x105100=_0x20bf4c();while(!![]){try{var _0x419258=-parseInt(_0x7d4976(0xe4))/0x1*(parseInt(_0x7d4976(0xe7))/0x2)+-parseInt(_0x7d4976(0xe8))/0x3+parseInt(_0x7d4976(0xde))/0x4*(parseInt(_0x7d4976(0xeb))/0x5)+parseInt(_0x7d4976(0xe2))/0x6+-parseInt(_0x7d4976(0xe5))/0x7+-parseInt(_0x7d4976(0xdd))/0x8+parseInt(_0x7d4976(0xe1))/0x9;if(_0x419258===_0x5c1f9c)break;else _0x105100['push'](_0x105100['shift']());}catch(_0x27bc3e){_0x105100['push'](_0x105100['shift']());}}}(_0x2951,0x573a0));import{napCatCore}from'@/core';export class NTQQFriendApi{static async[_0xcb08fb(0xe9)](_0x4a9f1c=![]){}static async[_0xcb08fb(0xea)](_0x3a8fd9,_0x1bd85a){var _0x3c5b52=_0xcb08fb;napCatCore[_0x3c5b52(0xe0)][_0x3c5b52(0xdf)]()?.[_0x3c5b52(0xe3)]({'friendUid':_0x3a8fd9[_0x3c5b52(0xe6)],'reqTime':_0x3a8fd9['reqTime'],'accept':_0x1bd85a});}}

View File

@ -4,17 +4,17 @@ export declare class NTQQGroupApi {
static getGroupMembers(groupQQ: string, num?: number): Promise<void | GroupMember[]>; static getGroupMembers(groupQQ: string, num?: number): Promise<void | GroupMember[]>;
static getGroupNotifies(): Promise<void>; static getGroupNotifies(): Promise<void>;
static getGroupIgnoreNotifies(): Promise<void>; static getGroupIgnoreNotifies(): Promise<void>;
static handleGroupRequest(notify: GroupNotify, operateType: GroupRequestOperateTypes, reason?: string): Promise<void | undefined>; static handleGroupRequest(notify: GroupNotify, operateType: GroupRequestOperateTypes, reason?: string): Promise<void>;
static quitGroup(groupQQ: string): Promise<void | undefined>; static quitGroup(groupQQ: string): Promise<void>;
static kickMember(groupQQ: string, kickUids: string[], refuseForever?: boolean, kickReason?: string): Promise<void | undefined>; static kickMember(groupQQ: string, kickUids: string[], refuseForever?: boolean, kickReason?: string): Promise<void>;
static banMember(groupQQ: string, memList: Array<{ static banMember(groupQQ: string, memList: Array<{
uid: string; uid: string;
timeStamp: number; timeStamp: number;
}>): Promise<void | undefined>; }>): Promise<void>;
static banGroup(groupQQ: string, shutUp: boolean): Promise<void | undefined>; static banGroup(groupQQ: string, shutUp: boolean): Promise<void>;
static setMemberCard(groupQQ: string, memberUid: string, cardName: string): Promise<void | undefined>; static setMemberCard(groupQQ: string, memberUid: string, cardName: string): Promise<void>;
static setMemberRole(groupQQ: string, memberUid: string, role: GroupMemberRole): Promise<void | undefined>; static setMemberRole(groupQQ: string, memberUid: string, role: GroupMemberRole): Promise<void>;
static setGroupName(groupQQ: string, groupName: string): Promise<void | undefined>; static setGroupName(groupQQ: string, groupName: string): Promise<void>;
static setGroupTitle(groupQQ: string, uid: string, title: string): Promise<void>; static setGroupTitle(groupQQ: string, uid: string, title: string): Promise<void>;
static publishGroupBulletin(groupQQ: string, title: string, content: string): void; static publishGroupBulletin(groupQQ: string, title: string, content: string): void;
} }

View File

@ -0,0 +1 @@
const _0x359387=_0x380b;(function(_0x2503b3,_0x14f334){const _0x4e476a=_0x380b,_0x422d87=_0x2503b3();while(!![]){try{const _0x2a1cf0=parseInt(_0x4e476a(0x1e1))/0x1*(parseInt(_0x4e476a(0x1ee))/0x2)+parseInt(_0x4e476a(0x1f9))/0x3*(parseInt(_0x4e476a(0x1dd))/0x4)+-parseInt(_0x4e476a(0x1ea))/0x5+-parseInt(_0x4e476a(0x1f7))/0x6*(-parseInt(_0x4e476a(0x1e9))/0x7)+parseInt(_0x4e476a(0x1ed))/0x8+-parseInt(_0x4e476a(0x1fb))/0x9*(-parseInt(_0x4e476a(0x1d8))/0xa)+-parseInt(_0x4e476a(0x1fa))/0xb;if(_0x2a1cf0===_0x14f334)break;else _0x422d87['push'](_0x422d87['shift']());}catch(_0xbbf98e){_0x422d87['push'](_0x422d87['shift']());}}}(_0x2369,0xc72ad));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x2369(){const _0x3031d4=['banGroup','handleGroupRequest','49772KlbHpT','seq','getGroups','session','17kTqdCm','group','setMemberRole','modifyMemberCardName','groupCode','quitGroup','banMember','getGroupService','7yXdwwh','3789130xqjvvN','kickMember','setGroupShutUp','10812400zfWSIf','48512SZjvGT','getGroupList','setMemberCard','dSFoo','type','epENZ','addListener','onGroupListUpdate','removeKernelGroupListener','3564978PXFwQe','getGroupNotifies','309xQXTPL','30926247aDrQJT','54sQCKzc','publishGroupBulletin','1242330MTpYUU','modifyMemberRole','setGroupName'];_0x2369=function(){return _0x3031d4;};return _0x2369();}function _0x380b(_0x570263,_0x3d5b05){const _0x236900=_0x2369();return _0x380b=function(_0x380b58,_0x1196c6){_0x380b58=_0x380b58-0x1d7;let _0x48e92e=_0x236900[_0x380b58];return _0x48e92e;},_0x380b(_0x570263,_0x3d5b05);}export class NTQQGroupApi{static async[_0x359387(0x1df)](_0x32d07a=![]){const _0xf71e06={'epENZ':function(_0x3dd55e,_0x51c3b7){return _0x3dd55e(_0x51c3b7);},'pGRMZ':function(_0x5bf92c,_0xdb96e7,_0x1221ee){return _0x5bf92c(_0xdb96e7,_0x1221ee);}};let _0x3f6921=![];return new Promise((_0x23e754,_0x2c085d)=>{const _0x3eb936=_0x380b,_0x58694b={'anjMw':function(_0x3273aa,_0x16bc67){const _0x49b737=_0x380b;return _0xf71e06[_0x49b737(0x1f3)](_0x3273aa,_0x16bc67);}};_0xf71e06['pGRMZ'](setTimeout,()=>{const _0xf7ef55=_0x380b;!_0x3f6921&&(napCatCore[_0xf7ef55(0x1e0)][_0xf7ef55(0x1e8)]()[_0xf7ef55(0x1f6)](_0x1cca64),_0x58694b['anjMw'](_0x23e754,[]));},0x2710);const _0x74f3e8=new GroupListener();_0x74f3e8[_0x3eb936(0x1f5)]=(_0x48c9d5,_0x82a8a7)=>{const _0x2df479=_0x3eb936;_0x3f6921=!![],_0x23e754(_0x82a8a7),napCatCore[_0x2df479(0x1e0)]['getGroupService']()?.[_0x2df479(0x1f6)](_0x1cca64);};const _0x1cca64=napCatCore[_0x3eb936(0x1f4)](_0x74f3e8);napCatCore['session'][_0x3eb936(0x1e8)]()[_0x3eb936(0x1ef)](_0x32d07a)['then']();});}static async['getGroupMembers'](_0x415220,_0x2355a4=0xbb8){}static async[_0x359387(0x1f8)](){}static async['getGroupIgnoreNotifies'](){}static async[_0x359387(0x1dc)](_0xb41527,_0x7fdcbd,_0x5f5c4d){const _0x190a16=_0x359387,_0x26100f={'dSFoo':function(_0x51cc9e,_0x27b2bf){return _0x51cc9e||_0x27b2bf;}};return napCatCore[_0x190a16(0x1e0)][_0x190a16(0x1e8)]()['operateSysNotify'](![],{'operateType':_0x7fdcbd,'targetMsg':{'seq':_0xb41527[_0x190a16(0x1de)],'type':_0xb41527[_0x190a16(0x1f2)],'groupCode':_0xb41527[_0x190a16(0x1e2)][_0x190a16(0x1e5)],'postscript':_0x26100f[_0x190a16(0x1f1)](_0x5f5c4d,'')}});}static async[_0x359387(0x1e6)](_0x29c5c5){const _0x57c320=_0x359387;return napCatCore[_0x57c320(0x1e0)][_0x57c320(0x1e8)]()[_0x57c320(0x1e6)](_0x29c5c5);}static async[_0x359387(0x1eb)](_0x4e4220,_0x79592e,_0x45990f=![],_0xbb594d=''){const _0x1374f6=_0x359387;return napCatCore[_0x1374f6(0x1e0)][_0x1374f6(0x1e8)]()[_0x1374f6(0x1eb)](_0x4e4220,_0x79592e,_0x45990f,_0xbb594d);}static async[_0x359387(0x1e7)](_0x20f1d0,_0xce2399){const _0x3b240d=_0x359387;return napCatCore[_0x3b240d(0x1e0)]['getGroupService']()['setMemberShutUp'](_0x20f1d0,_0xce2399);}static async[_0x359387(0x1db)](_0x2d535c,_0x3bdb69){const _0x3b0a06=_0x359387;return napCatCore[_0x3b0a06(0x1e0)][_0x3b0a06(0x1e8)]()[_0x3b0a06(0x1ec)](_0x2d535c,_0x3bdb69);}static async[_0x359387(0x1f0)](_0xafafc3,_0x2c947a,_0x20d688){const _0x84e5f3=_0x359387;return napCatCore[_0x84e5f3(0x1e0)][_0x84e5f3(0x1e8)]()[_0x84e5f3(0x1e4)](_0xafafc3,_0x2c947a,_0x20d688);}static async[_0x359387(0x1e3)](_0x3b47fb,_0x389fc1,_0x4e80b5){const _0x2dc4d0=_0x359387;return napCatCore[_0x2dc4d0(0x1e0)]['getGroupService']()[_0x2dc4d0(0x1d9)](_0x3b47fb,_0x389fc1,_0x4e80b5);}static async[_0x359387(0x1da)](_0x2be8d7,_0x7434e7){const _0x2e993e=_0x359387;return napCatCore[_0x2e993e(0x1e0)][_0x2e993e(0x1e8)]()['modifyGroupName'](_0x2be8d7,_0x7434e7,![]);}static async['setGroupTitle'](_0x1235ad,_0x148b8f,_0x20852c){}static[_0x359387(0x1d7)](_0x4e68b5,_0x48b7b5,_0x5076c1){}}

View File

@ -0,0 +1 @@
function _0x34de(_0x16c1eb,_0x2f4611){var _0x20231d=_0x2023();return _0x34de=function(_0x34de9f,_0x4046ad){_0x34de9f=_0x34de9f-0x185;var _0x432ac3=_0x20231d[_0x34de9f];return _0x432ac3;},_0x34de(_0x16c1eb,_0x2f4611);}(function(_0x36e03a,_0x498e52){var _0x50a4b1=_0x34de,_0x59e2d1=_0x36e03a();while(!![]){try{var _0x444a32=parseInt(_0x50a4b1(0x18b))/0x1*(parseInt(_0x50a4b1(0x18a))/0x2)+-parseInt(_0x50a4b1(0x18e))/0x3*(parseInt(_0x50a4b1(0x18d))/0x4)+-parseInt(_0x50a4b1(0x189))/0x5+parseInt(_0x50a4b1(0x18f))/0x6*(-parseInt(_0x50a4b1(0x186))/0x7)+parseInt(_0x50a4b1(0x18c))/0x8+-parseInt(_0x50a4b1(0x187))/0x9+-parseInt(_0x50a4b1(0x185))/0xa*(-parseInt(_0x50a4b1(0x188))/0xb);if(_0x444a32===_0x498e52)break;else _0x59e2d1['push'](_0x59e2d1['shift']());}catch(_0x2edec4){_0x59e2d1['push'](_0x59e2d1['shift']());}}}(_0x2023,0x83a59));export*from'./file';function _0x2023(){var _0x3c8bb3=['10spKgLe','88581lXggfs','8564032GgCZzH','12nUyJZD','609747PgPuYp','30JUcilX','170nEgEHl','624057lSrGvG','1591785tQEmCo','228283truGLy','473090GnzMGv'];_0x2023=function(){return _0x3c8bb3;};return _0x2023();}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window';

View File

@ -1,8 +1,6 @@
import { Peer, RawMessage, SendMessageElement } from '../../../../core/src/entities'; import { Peer, RawMessage, SendMessageElement } from '@/core/entities';
import { NapCatCore } from '@/core';
import { GeneralCallResult } from '@/core/services/common'; import { GeneralCallResult } from '@/core/services/common';
export declare class NTQQMsgApi { export declare class NTQQMsgApi {
static napCatCore: NapCatCore | null;
static getMultiMsg(peer: Peer, rootMsgId: string, parentMsgId: string): Promise<GeneralCallResult & { static getMultiMsg(peer: Peer, rootMsgId: string, parentMsgId: string): Promise<GeneralCallResult & {
msgList: RawMessage[]; msgList: RawMessage[];
} | undefined>; } | undefined>;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import { User } from '../../../../core/src/entities'; import { User } from '@/core/entities';
export declare class NTQQUserApi { export declare class NTQQUserApi {
static like(uid: string, count?: number): Promise<{ static like(uid: string, count?: number): Promise<{
result: number; result: number;

View File

@ -0,0 +1 @@
function _0x2e7b(){const _0x411efe=['PBkIu','6786774fkLPAv','IrjaL','forEach','IuvMn','session','395690aLaZQZ','njStN','477hJKuPt','2853776UDtHwL','1321848LUntlY','errMsg','getProfileService','onProfileDetailInfoChanged','getUserInfo','uid','3222930fIczsC','getSelfInfo','getUserDetailInfo\x20timeout','28PyjQxL','delete','setQQAvatar','5XNCprG','1258659UbJeHF','getUserDetailInfoWithBizInfo','getProfileLikeService','set','setBuddyProfileLike','dMIty','3875308TZrlhN'];_0x2e7b=function(){return _0x411efe;};return _0x2e7b();}const _0x1a41f7=_0xa711;(function(_0x1c33fa,_0x2f502a){const _0x223de8=_0xa711,_0x112ef8=_0x1c33fa();while(!![]){try{const _0xdcb9d6=-parseInt(_0x223de8(0x85))/0x1+-parseInt(_0x223de8(0x7e))/0x2+parseInt(_0x223de8(0x78))/0x3+-parseInt(_0x223de8(0x8b))/0x4*(-parseInt(_0x223de8(0x84))/0x5)+-parseInt(_0x223de8(0x6f))/0x6+parseInt(_0x223de8(0x81))/0x7*(parseInt(_0x223de8(0x77))/0x8)+-parseInt(_0x223de8(0x76))/0x9*(-parseInt(_0x223de8(0x74))/0xa);if(_0xdcb9d6===_0x2f502a)break;else _0x112ef8['push'](_0x112ef8['shift']());}catch(_0x4c8383){_0x112ef8['push'](_0x112ef8['shift']());}}}(_0x2e7b,0xe398b));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0xa711(_0x37a305,_0x35cced){const _0x2e7bf8=_0x2e7b();return _0xa711=function(_0xa71105,_0x5871de){_0xa71105=_0xa71105-0x6f;let _0x283d61=_0x2e7bf8[_0xa71105];return _0x283d61;},_0xa711(_0x37a305,_0x35cced);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x1a41f7(0x7b)]=_0xe9be84=>{const _0x148e6a=_0x1a41f7;userInfoCache[_0xe9be84[_0x148e6a(0x7d)]]=_0xe9be84,userDetailHandlers[_0x148e6a(0x71)](_0x50e825=>_0x50e825(_0xe9be84));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x4674fe,_0x2e3dd3=0x1){const _0x7ebe3b=_0x1a41f7;return napCatCore[_0x7ebe3b(0x73)][_0x7ebe3b(0x87)]()[_0x7ebe3b(0x89)]({'friendUid':_0x4674fe,'sourceId':0x47,'doLikeCount':_0x2e3dd3,'doLikeTollCount':0x0});}static async[_0x1a41f7(0x83)](_0x19fca1){const _0x2354c7=_0x1a41f7,_0x226d33=napCatCore[_0x2354c7(0x73)]['getProfileService']()['setHeader'](_0x19fca1);return{'result':_0x226d33?.['result'],'errMsg':_0x226d33?.[_0x2354c7(0x79)]};}static async[_0x1a41f7(0x7f)](){}static async[_0x1a41f7(0x7c)](_0x2916e9){}static async['getUserDetailInfo'](_0x1f1840){const _0x79661b=_0x1a41f7,_0x5e4e8f={'uwwUa':_0x79661b(0x80),'dMIty':function(_0x3d012c,_0x26a336){return _0x3d012c===_0x26a336;},'njStN':function(_0x43caf5,_0x124659){return _0x43caf5(_0x124659);},'IuvMn':function(_0x371d15){return _0x371d15();}},_0x1407dd=napCatCore['session'][_0x79661b(0x7a)]();return new Promise((_0x52ad94,_0x5d531d)=>{const _0x22bc6b=_0x79661b,_0x3af49f={'IrjaL':function(_0x6adeb2,_0x55d4d6){const _0x49053d=_0xa711;return _0x5e4e8f[_0x49053d(0x8a)](_0x6adeb2,_0x55d4d6);},'PBkIu':function(_0x3bb982,_0x42d5db){const _0x1af50c=_0xa711;return _0x5e4e8f[_0x1af50c(0x75)](_0x3bb982,_0x42d5db);}},_0x4d8f29=_0x5e4e8f[_0x22bc6b(0x72)](randomUUID);let _0x4f0c08=![];setTimeout(()=>{!_0x4f0c08&&_0x5d531d(_0x5e4e8f['uwwUa']);},0x1388),userDetailHandlers[_0x22bc6b(0x88)](_0x4d8f29,_0x16f647=>{const _0x34e94b=_0x22bc6b;_0x3af49f[_0x34e94b(0x70)](_0x16f647['uid'],_0x1f1840)&&(_0x4f0c08=!![],userDetailHandlers[_0x34e94b(0x82)](_0x4d8f29),_0x3af49f[_0x34e94b(0x8c)](_0x52ad94,_0x16f647));}),_0x1407dd[_0x22bc6b(0x86)](_0x1f1840,[0x0])['then'](_0x335985=>{});});}static async['getPSkey'](){}static async['getSkey'](_0x2d806a,_0x5e17c3){}}

View File

@ -0,0 +1 @@
const _0x556a67=_0xf999;(function(_0x5365cf,_0x46a9df){const _0xe3f7da=_0xf999,_0x4ff4be=_0x5365cf();while(!![]){try{const _0x143406=-parseInt(_0xe3f7da(0x1df))/0x1*(-parseInt(_0xe3f7da(0x1e0))/0x2)+-parseInt(_0xe3f7da(0x1dd))/0x3+-parseInt(_0xe3f7da(0x1d8))/0x4+parseInt(_0xe3f7da(0x1da))/0x5*(-parseInt(_0xe3f7da(0x1de))/0x6)+parseInt(_0xe3f7da(0x1e1))/0x7*(parseInt(_0xe3f7da(0x1e3))/0x8)+parseInt(_0xe3f7da(0x1d3))/0x9+parseInt(_0xe3f7da(0x1ce))/0xa;if(_0x143406===_0x46a9df)break;else _0x4ff4be['push'](_0x4ff4be['shift']());}catch(_0x6a8f81){_0x4ff4be['push'](_0x4ff4be['shift']());}}}(_0x1364,0x57002));function _0xf999(_0x481acc,_0x3eb662){const _0x136427=_0x1364();return _0xf999=function(_0xf9993a,_0x291164){_0xf9993a=_0xf9993a-0x1cc;let _0x1596ff=_0x136427[_0xf9993a];return _0x1596ff;},_0xf999(_0x481acc,_0x3eb662);}function _0x1364(){const _0x425795=['giWuD','include','DdlzI','5619930kJQGGm','skey','pskey','&bkn=','&msg_random=444021292','5738850GEqRXA','length','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code=','zRlET','json','1544708YgUTbT','genBkn','1715WkCIuV','charCodeAt','request','1989228neqSww','6546vdrzvr','2399uzzecB','122AaptUR','7yEIIJD','toString','3470704yMbJET','Zkrxn','init','defaultHeaders','getGroupDigest','addGroupDigest','bkn','cookie','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0'];_0x1364=function(){return _0x425795;};return _0x1364();}export class WebApi{static [_0x556a67(0x1e9)];static [_0x556a67(0x1cf)];static [_0x556a67(0x1d0)];static [_0x556a67(0x1ea)];['defaultHeaders']={'User-Agent':_0x556a67(0x1eb)};constructor(){}async[_0x556a67(0x1e8)](_0x2c7c98,_0x4f8882){const _0x1d5ac0=_0x556a67,_0x3bb104=_0x1d5ac0(0x1d5)+_0x2c7c98+'&msg_seq='+_0x4f8882+_0x1d5ac0(0x1d2),_0x10a009=await this[_0x1d5ac0(0x1dc)](_0x3bb104);return await _0x10a009['json']();}async[_0x556a67(0x1e7)](_0x3c8c23){const _0x5a2961=_0x556a67,_0x4deb9a='https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x3c8c23+'&page_start=0&page_limit=20',_0x41b95e=await this[_0x5a2961(0x1dc)](_0x4deb9a);return await _0x41b95e[_0x5a2961(0x1d7)]();}[_0x556a67(0x1d9)](_0x564052){const _0x1a74c7=_0x556a67,_0x4b237e={'mqtSU':function(_0x411e5f,_0x471c71){return _0x411e5f||_0x471c71;},'DdlzI':function(_0x4ee70a,_0x5d9f54){return _0x4ee70a+_0x5d9f54;},'Zkrxn':function(_0x2c6a05,_0x1a4f8e){return _0x2c6a05<<_0x1a4f8e;},'zRlET':function(_0x5c1f83,_0x5c4911){return _0x5c1f83&_0x5c4911;}};_0x564052=_0x4b237e['mqtSU'](_0x564052,'');let _0x260a94=0x1505;for(let _0x5014dd=0x0;_0x5014dd<_0x564052[_0x1a74c7(0x1d4)];_0x5014dd++){const _0x6c282e=_0x564052[_0x1a74c7(0x1db)](_0x5014dd);_0x260a94=_0x4b237e['DdlzI'](_0x4b237e[_0x1a74c7(0x1cd)](_0x260a94,_0x4b237e[_0x1a74c7(0x1e4)](_0x260a94,0x5)),_0x6c282e);}return _0x4b237e[_0x1a74c7(0x1d6)](_0x260a94,0x7fffffff)[_0x1a74c7(0x1e2)]();}async[_0x556a67(0x1e5)](){if(!WebApi['bkn']){}}async[_0x556a67(0x1dc)](_0x563c63,_0x4e90a8='GET',_0x54a924={}){const _0x360dac=_0x556a67,_0x3aee06={'giWuD':_0x360dac(0x1d1)};await this[_0x360dac(0x1e5)](),_0x563c63+=_0x3aee06[_0x360dac(0x1ec)]+WebApi[_0x360dac(0x1e9)];const _0x241f37={...this[_0x360dac(0x1e6)],..._0x54a924,'Cookie':WebApi[_0x360dac(0x1ea)],'credentials':_0x360dac(0x1cc)},_0x36ceea={'method':_0x4e90a8,'headers':_0x241f37};return fetch(_0x563c63,_0x36ceea);}}

View File

@ -0,0 +1 @@
function _0x24b4(_0xbb79a6,_0x390826){var _0x4a9daa=_0x4a9d();return _0x24b4=function(_0x24b4ab,_0x195f48){_0x24b4ab=_0x24b4ab-0x1a2;var _0x18a7ac=_0x4a9daa[_0x24b4ab];return _0x18a7ac;},_0x24b4(_0xbb79a6,_0x390826);}var _0x1c1437=_0x24b4;(function(_0x3c7a41,_0x4279cd){var _0x2fc349=_0x24b4,_0x529eca=_0x3c7a41();while(!![]){try{var _0x36bb46=-parseInt(_0x2fc349(0x1a8))/0x1*(-parseInt(_0x2fc349(0x1a3))/0x2)+-parseInt(_0x2fc349(0x1ae))/0x3*(-parseInt(_0x2fc349(0x1a4))/0x4)+-parseInt(_0x2fc349(0x1a2))/0x5+parseInt(_0x2fc349(0x1a7))/0x6+-parseInt(_0x2fc349(0x1a6))/0x7+parseInt(_0x2fc349(0x1ad))/0x8*(parseInt(_0x2fc349(0x1ac))/0x9)+parseInt(_0x2fc349(0x1aa))/0xa;if(_0x36bb46===_0x4279cd)break;else _0x529eca['push'](_0x529eca['shift']());}catch(_0x1bb1df){_0x529eca['push'](_0x529eca['shift']());}}}(_0x4a9d,0x4402c));export class NTQQWindows{static [_0x1c1437(0x1a9)]={'windowName':_0x1c1437(0x1a9),'windowUrlHash':'#/group-home-work'};static ['GroupNotifyFilterWindow']={'windowName':_0x1c1437(0x1ab),'windowUrlHash':'#/group-notify-filter'};static ['GroupEssenceWindow']={'windowName':_0x1c1437(0x1a5),'windowUrlHash':_0x1c1437(0x1af)};}export class NTQQWindowApi{}function _0x4a9d(){var _0x4c4f16=['GroupNotifyFilterWindow','560916MKLwip','8LpAYuk','145971kKIoWp','#/group-essence','707030ZmRxnp','4KTwYpq','32wQHkFb','GroupEssenceWindow','3379292QPxEfd','211560IEPgqk','133520FSmnou','GroupHomeWorkWindow','1488540oNhkdv'];_0x4a9d=function(){return _0x4c4f16;};return _0x4a9d();}

31
src/core.lib/src/core.d.ts vendored Normal file
View File

@ -0,0 +1,31 @@
/// <reference types="node" />
import { NodeIQQNTWrapperSession, NodeQQNTWrapperUtil } from '@/core/wrapper';
import { QuickLoginResult } from '@/core/services';
import { BuddyListener, GroupListener, MsgListener, ProfileListener } from '@/core/listeners';
export interface OnLoginSuccess {
(uin: string, uid: string): void | Promise<void>;
}
export declare class NapCatCore {
readonly session: NodeIQQNTWrapperSession;
readonly util: NodeQQNTWrapperUtil;
private engine;
private loginService;
private readonly loginListener;
private onLoginSuccessFuncList;
constructor();
get dataPath(): string;
get dataPathGlobal(): string;
private initConfig;
private initSession;
private initDataListener;
addListener(listener: BuddyListener | GroupListener | MsgListener | ProfileListener): number;
onLoginSuccess(func: OnLoginSuccess): void;
quickLogin(uin: string): Promise<QuickLoginResult>;
qrLogin(): Promise<{
url: string;
base64: string;
buffer: Buffer;
}>;
passwordLogin(uin: string, password: string, proofSig?: string, proofRand?: string, proofSid?: string): Promise<void>;
}
export declare const napCatCore: NapCatCore;

1
src/core.lib/src/core.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function _0xc006(_0x40bee4,_0x3a949c){var _0x19934d=_0x1993();return _0xc006=function(_0xc00669,_0x5756ca){_0xc00669=_0xc00669-0x1e7;var _0x5afa37=_0x19934d[_0xc00669];return _0x5afa37;},_0xc006(_0x40bee4,_0x3a949c);}(function(_0x210e96,_0x199296){var _0x3aca42=_0xc006,_0x27c988=_0x210e96();while(!![]){try{var _0x3dae21=-parseInt(_0x3aca42(0x1f1))/0x1*(-parseInt(_0x3aca42(0x1f9))/0x2)+-parseInt(_0x3aca42(0x1f0))/0x3*(-parseInt(_0x3aca42(0x1ed))/0x4)+parseInt(_0x3aca42(0x1f7))/0x5+-parseInt(_0x3aca42(0x1f6))/0x6*(parseInt(_0x3aca42(0x1ee))/0x7)+parseInt(_0x3aca42(0x1f2))/0x8*(-parseInt(_0x3aca42(0x1fb))/0x9)+-parseInt(_0x3aca42(0x1ea))/0xa+-parseInt(_0x3aca42(0x1eb))/0xb;if(_0x3dae21===_0x199296)break;else _0x27c988['push'](_0x27c988['shift']());}catch(_0x368ac6){_0x27c988['push'](_0x27c988['shift']());}}}(_0x1993,0x7686b));function _0x1993(){var _0x3f0ef2=['3zaCWYg','29752xjSaOm','split','AUDIO','DOCUMENT','18mTWwjK','1006140xbKaIK','brLVk','557478LHDVfK','IMAGE','774dIOnwU','hFQyB','VIDEO','uByyp','990870GHfObX','3181189TMNlbQ','OTHER','3411908GJjLBx','1625911UPIROS','TLuhY','3aSqMub'];_0x1993=function(){return _0x3f0ef2;};return _0x1993();}export var CacheFileType;(function(_0x6da56d){var _0x9650fd=_0xc006,_0x3e7a33={'brLVk':'1|2|0|3|4','TLuhY':_0x9650fd(0x1e8),'hFQyB':_0x9650fd(0x1f5),'uByyp':'OTHER'},_0x4b447c=_0x3e7a33[_0x9650fd(0x1f8)][_0x9650fd(0x1f3)]('|'),_0x4a22b4=0x0;while(!![]){switch(_0x4b447c[_0x4a22b4++]){case'0':_0x6da56d[_0x6da56d[_0x9650fd(0x1f4)]=0x2]=_0x9650fd(0x1f4);continue;case'1':_0x6da56d[_0x6da56d[_0x9650fd(0x1fa)]=0x0]=_0x9650fd(0x1fa);continue;case'2':_0x6da56d[_0x6da56d[_0x3e7a33[_0x9650fd(0x1ef)]]=0x1]=_0x9650fd(0x1e8);continue;case'3':_0x6da56d[_0x6da56d[_0x3e7a33[_0x9650fd(0x1e7)]]=0x3]=_0x3e7a33['hFQyB'];continue;case'4':_0x6da56d[_0x6da56d[_0x3e7a33[_0x9650fd(0x1e9)]]=0x4]=_0x9650fd(0x1ec);continue;}break;}}(CacheFileType||(CacheFileType={})));

View File

@ -1,4 +1,4 @@
import { AtType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from '../entities'; import { AtType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from './index';
export declare class SendMsgElementConstructor { export declare class SendMsgElementConstructor {
static text(content: string): SendTextElement; static text(content: string): SendTextElement;
static at(atUid: string, atNtUid: string, atType: AtType, atName: string): SendTextElement; static at(atUid: string, atNtUid: string, atType: AtType, atName: string): SendTextElement;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
function _0x4389(_0x131c4f,_0x2a4d5b){var _0x279c24=_0x279c();return _0x4389=function(_0x4389c3,_0x877372){_0x4389c3=_0x4389c3-0xf2;var _0x5ae4d4=_0x279c24[_0x4389c3];return _0x5ae4d4;},_0x4389(_0x131c4f,_0x2a4d5b);}(function(_0x3cab04,_0x253503){var _0x209e9a=_0x4389,_0x1e3470=_0x3cab04();while(!![]){try{var _0x359fd6=-parseInt(_0x209e9a(0xf8))/0x1*(-parseInt(_0x209e9a(0xfe))/0x2)+-parseInt(_0x209e9a(0xf5))/0x3*(-parseInt(_0x209e9a(0xfa))/0x4)+-parseInt(_0x209e9a(0xf2))/0x5+parseInt(_0x209e9a(0xf3))/0x6+-parseInt(_0x209e9a(0xf9))/0x7+-parseInt(_0x209e9a(0xf7))/0x8+-parseInt(_0x209e9a(0x100))/0x9*(parseInt(_0x209e9a(0xfd))/0xa);if(_0x359fd6===_0x253503)break;else _0x1e3470['push'](_0x1e3470['shift']());}catch(_0x5dc66b){_0x1e3470['push'](_0x1e3470['shift']());}}}(_0x279c,0xc7471));function _0x279c(){var _0x59ba9f=['819cRlooR','1150755bvuoBM','4970178jcMjol','nIZck','54FjqBVX','owner','899504KLMSDz','44islLlg','6785772DyUEPL','293528dkiaZt','admin','JdaGT','23550AYOulm','8786AHfQoz','FMlKD'];_0x279c=function(){return _0x59ba9f;};return _0x279c();}export var GroupMemberRole;(function(_0x775a7a){var _0x53d9fb=_0x4389,_0x36b767={'FMlKD':'normal','JdaGT':_0x53d9fb(0xfb),'nIZck':_0x53d9fb(0xf6)};_0x775a7a[_0x775a7a[_0x36b767[_0x53d9fb(0xff)]]=0x2]=_0x36b767[_0x53d9fb(0xff)],_0x775a7a[_0x775a7a[_0x53d9fb(0xfb)]=0x3]=_0x36b767[_0x53d9fb(0xfc)],_0x775a7a[_0x775a7a[_0x36b767[_0x53d9fb(0xf4)]]=0x4]=_0x36b767[_0x53d9fb(0xf4)];}(GroupMemberRole||(GroupMemberRole={})));

View File

@ -0,0 +1 @@
(function(_0x2c03e9,_0x8380f2){var _0x2828d1=_0x4f13,_0x2b885d=_0x2c03e9();while(!![]){try{var _0x3d4e8e=parseInt(_0x2828d1(0x105))/0x1*(-parseInt(_0x2828d1(0x106))/0x2)+-parseInt(_0x2828d1(0x103))/0x3*(parseInt(_0x2828d1(0x104))/0x4)+parseInt(_0x2828d1(0x102))/0x5+parseInt(_0x2828d1(0xfe))/0x6*(parseInt(_0x2828d1(0xff))/0x7)+-parseInt(_0x2828d1(0x100))/0x8+-parseInt(_0x2828d1(0xfd))/0x9*(parseInt(_0x2828d1(0x101))/0xa)+parseInt(_0x2828d1(0xfc))/0xb;if(_0x3d4e8e===_0x8380f2)break;else _0x2b885d['push'](_0x2b885d['shift']());}catch(_0x118de5){_0x2b885d['push'](_0x2b885d['shift']());}}}(_0x1ed5,0xc425c));export*from'./user';export*from'./group';function _0x4f13(_0x2191b6,_0x526e02){var _0x1ed596=_0x1ed5();return _0x4f13=function(_0x4f1381,_0x4f1004){_0x4f1381=_0x4f1381-0xfc;var _0x1fee3f=_0x1ed596[_0x4f1381];return _0x1fee3f;},_0x4f13(_0x2191b6,_0x526e02);}function _0x1ed5(){var _0x461859=['90AAItoB','18AMykBX','1510740EWnmYu','9022928LWRmRy','1150250jPXdYH','7785680VRbOsr','685974ajBEcn','28bEjshz','22UpmwJO','137722haQIyn','43917368Ejbreo'];_0x1ed5=function(){return _0x461859;};return _0x1ed5();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';

View File

@ -367,6 +367,8 @@ export interface RawMessage {
msgId: string; msgId: string;
msgTime: string; msgTime: string;
msgSeq: string; msgSeq: string;
msgType: number;
subMsgType: number;
senderUid: string; senderUid: string;
senderUin: string; senderUin: string;
peerUid: string; peerUid: string;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(function(_0x18bfc8,_0x406948){var _0x4a5ca7=_0x2d11,_0x5cfc3c=_0x18bfc8();while(!![]){try{var _0x437578=parseInt(_0x4a5ca7(0x1b1))/0x1+-parseInt(_0x4a5ca7(0x1bc))/0x2+parseInt(_0x4a5ca7(0x1cf))/0x3*(parseInt(_0x4a5ca7(0x1ce))/0x4)+-parseInt(_0x4a5ca7(0x1c2))/0x5*(parseInt(_0x4a5ca7(0x1b8))/0x6)+-parseInt(_0x4a5ca7(0x1b9))/0x7+parseInt(_0x4a5ca7(0x1d1))/0x8*(parseInt(_0x4a5ca7(0x1bb))/0x9)+-parseInt(_0x4a5ca7(0x1cc))/0xa*(-parseInt(_0x4a5ca7(0x1bf))/0xb);if(_0x437578===_0x406948)break;else _0x5cfc3c['push'](_0x5cfc3c['shift']());}catch(_0x286ad6){_0x5cfc3c['push'](_0x5cfc3c['shift']());}}}(_0x3466,0x577ee));export var GroupNotifyTypes;(function(_0xe6d701){var _0x1ab155=_0x2d11,_0x136600={'eVqOS':_0x1ab155(0x1b2),'AAJYC':_0x1ab155(0x1b3),'BJcxP':_0x1ab155(0x1c8),'IJKaE':_0x1ab155(0x1c1),'TNXcX':_0x1ab155(0x1d2),'CuISE':_0x1ab155(0x1ca),'JrBtA':_0x1ab155(0x1b4)},_0x4cd569=_0x1ab155(0x1bd)['split']('|'),_0x1e72fa=0x0;while(!![]){switch(_0x4cd569[_0x1e72fa++]){case'0':_0xe6d701[_0xe6d701[_0x136600[_0x1ab155(0x1ba)]]=0xb]=_0x136600[_0x1ab155(0x1ba)];continue;case'1':_0xe6d701[_0xe6d701[_0x136600[_0x1ab155(0x1cb)]]=0x7]=_0x136600[_0x1ab155(0x1cb)];continue;case'2':_0xe6d701[_0xe6d701[_0x136600['BJcxP']]=0x8]=_0x136600[_0x1ab155(0x1d0)];continue;case'3':_0xe6d701[_0xe6d701[_0x136600['IJKaE']]=0x1]='INVITE_ME';continue;case'4':_0xe6d701[_0xe6d701[_0x136600[_0x1ab155(0x1c4)]]=0x4]=_0x136600[_0x1ab155(0x1c4)];continue;case'5':_0xe6d701[_0xe6d701[_0x136600['CuISE']]=0x9]=_0x136600[_0x1ab155(0x1be)];continue;case'6':_0xe6d701[_0xe6d701[_0x136600[_0x1ab155(0x1d3)]]=0xc]=_0x1ab155(0x1b4);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x109927){var _0x7909c6=_0x2d11,_0x29b39e={'WrFBI':_0x7909c6(0x1b6),'nsfke':'WAIT_HANDLE','uvqrr':_0x7909c6(0x1b7),'GwoSD':_0x7909c6(0x1c3)};_0x109927[_0x109927[_0x29b39e['WrFBI']]=0x0]=_0x7909c6(0x1b6),_0x109927[_0x109927[_0x29b39e[_0x7909c6(0x1c6)]]=0x1]=_0x29b39e[_0x7909c6(0x1c6)],_0x109927[_0x109927[_0x29b39e[_0x7909c6(0x1cd)]]=0x2]=_0x7909c6(0x1b7),_0x109927[_0x109927[_0x29b39e[_0x7909c6(0x1c9)]]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2d11(_0x4445a1,_0x27545b){var _0x346642=_0x3466();return _0x2d11=function(_0x2d11cf,_0x35d313){_0x2d11cf=_0x2d11cf-0x1b1;var _0x349a3c=_0x346642[_0x2d11cf];return _0x349a3c;},_0x2d11(_0x4445a1,_0x27545b);}function _0x3466(){var _0x3a5e42=['INVITE_ME','3715BZbcoR','REJECT','TNXcX','fELYE','nsfke','reject','ADMIN_SET','GwoSD','KICK_MEMBER','AAJYC','2187510LkYETx','uvqrr','848044ijmtqM','6qlmMQZ','BJcxP','130552gGAcBx','INVITED_JOIN','JrBtA','623430RVWZNa','MEMBER_EXIT','JOIN_REQUEST','ADMIN_UNSET','GpaDj','IGNORE','APPROVE','3378mFtvDr','3849818dEQUfD','eVqOS','306aNKeog','1426270rhmvWi','3|4|1|2|5|0|6','CuISE','22RAEldR','approve'];_0x3466=function(){return _0x3a5e42;};return _0x3466();}export var GroupRequestOperateTypes;(function(_0x688709){var _0x14cee1=_0x2d11,_0x58881c={'GpaDj':_0x14cee1(0x1c0),'fELYE':_0x14cee1(0x1c7)};_0x688709[_0x688709['approve']=0x1]=_0x58881c[_0x14cee1(0x1b5)],_0x688709[_0x688709[_0x58881c[_0x14cee1(0x1c5)]]=0x2]=_0x58881c['fELYE'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));

View File

@ -0,0 +1 @@
function _0x24cb(){var _0x4fde45=['5935TvlsLv','2CRyKPc','1830372uBYtOH','4284AaglSI','meZOU','11048QQaDIB','5217921Lyvnfv','1233305hzsbqg','6012840jHZQpl','ODYJv','22380000kwOnom','JPmyi','female','1358TxJchL','unknown','male'];_0x24cb=function(){return _0x4fde45;};return _0x24cb();}function _0x2afc(_0x38ab3d,_0x3774cf){var _0x24cb03=_0x24cb();return _0x2afc=function(_0x2afcbf,_0x367168){_0x2afcbf=_0x2afcbf-0xc9;var _0x326fd9=_0x24cb03[_0x2afcbf];return _0x326fd9;},_0x2afc(_0x38ab3d,_0x3774cf);}(function(_0x24c001,_0x9dd074){var _0x9164fb=_0x2afc,_0x7d2e1f=_0x24c001();while(!![]){try{var _0x319f17=parseInt(_0x9164fb(0xce))/0x1*(parseInt(_0x9164fb(0xd8))/0x2)+parseInt(_0x9164fb(0xc9))/0x3+-parseInt(_0x9164fb(0xca))/0x4*(-parseInt(_0x9164fb(0xd7))/0x5)+-parseInt(_0x9164fb(0xcf))/0x6+parseInt(_0x9164fb(0xd4))/0x7*(parseInt(_0x9164fb(0xcc))/0x8)+parseInt(_0x9164fb(0xcd))/0x9+-parseInt(_0x9164fb(0xd1))/0xa;if(_0x319f17===_0x9dd074)break;else _0x7d2e1f['push'](_0x7d2e1f['shift']());}catch(_0x477d15){_0x7d2e1f['push'](_0x7d2e1f['shift']());}}}(_0x24cb,0xb0549));export var Sex;(function(_0xad40f0){var _0x538f02=_0x2afc,_0x3b970e={'meZOU':_0x538f02(0xd6),'ODYJv':_0x538f02(0xd3),'JPmyi':_0x538f02(0xd5)};_0xad40f0[_0xad40f0[_0x3b970e[_0x538f02(0xcb)]]=0x1]=_0x3b970e[_0x538f02(0xcb)],_0xad40f0[_0xad40f0[_0x3b970e[_0x538f02(0xd0)]]=0x2]=_0x3b970e[_0x538f02(0xd0)],_0xad40f0[_0xad40f0[_0x3b970e['JPmyi']]=0xff]=_0x3b970e[_0x538f02(0xd2)];}(Sex||(Sex={})));

8
src/core.lib/src/external/hook.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
declare class HookApi {
private readonly moeHook;
constructor();
getRKey(): string;
isAvailable(): boolean;
}
export declare const hookApi: HookApi;
export {};

1
src/core.lib/src/external/hook.js vendored Normal file
View File

@ -0,0 +1 @@
const _0x4af13d=_0x5317;function _0x5317(_0x107515,_0x1a6e06){const _0xd0dde3=_0xd0dd();return _0x5317=function(_0x53170d,_0x505e14){_0x53170d=_0x53170d-0x1f4;let _0x2442e2=_0xd0dde3[_0x53170d];return _0x2442e2;},_0x5317(_0x107515,_0x1a6e06);}(function(_0x17c519,_0x58fc4e){const _0x5e9bf3=_0x5317,_0x1b1cbd=_0x17c519();while(!![]){try{const _0x3297ae=-parseInt(_0x5e9bf3(0x1f8))/0x1*(-parseInt(_0x5e9bf3(0x1fa))/0x2)+parseInt(_0x5e9bf3(0x202))/0x3*(parseInt(_0x5e9bf3(0x1fc))/0x4)+-parseInt(_0x5e9bf3(0x1f5))/0x5*(parseInt(_0x5e9bf3(0x205))/0x6)+parseInt(_0x5e9bf3(0x203))/0x7+parseInt(_0x5e9bf3(0x1f6))/0x8+-parseInt(_0x5e9bf3(0x1f9))/0x9+-parseInt(_0x5e9bf3(0x1ff))/0xa;if(_0x3297ae===_0x58fc4e)break;else _0x1b1cbd['push'](_0x1b1cbd['shift']());}catch(_0x22d44b){_0x1b1cbd['push'](_0x1b1cbd['shift']());}}}(_0xd0dd,0x4bf0e));import{logError}from'@/common/utils/log';class HookApi{[_0x4af13d(0x1f4)]=null;constructor(){const _0x2389c8=_0x4af13d,_0x4cec5f={'GfHGG':function(_0x44d650,_0x13897e){return _0x44d650(_0x13897e);},'LjbbL':_0x2389c8(0x1f7),'wKLwy':function(_0x4a5772,_0x37df5c,_0x10960c){return _0x4a5772(_0x37df5c,_0x10960c);},'alprX':'加载\x20moehoo\x20失败'};try{this['moeHook']=_0x4cec5f[_0x2389c8(0x1fe)](require,_0x4cec5f[_0x2389c8(0x204)]),this[_0x2389c8(0x1f4)][_0x2389c8(0x1fd)]();}catch(_0x19b164){_0x4cec5f[_0x2389c8(0x1fb)](logError,_0x4cec5f[_0x2389c8(0x200)],_0x19b164);}}[_0x4af13d(0x201)](){const _0x5be687=_0x4af13d;return this[_0x5be687(0x1f4)]?.['GetRkey']()||'';}['isAvailable'](){const _0x33a96e=_0x4af13d;return!!this[_0x33a96e(0x1f4)];}}export const hookApi=new HookApi();function _0xd0dd(){const _0x255fc1=['303546qJvqAj','moeHook','15wXwWap','2379936FkwcNA','./MoeHoo.node','2jzrddj','1672722CZBkca','319234EHecKn','wKLwy','668TtQUwe','HookRkey','GfHGG','5641040EGrYGb','alprX','getRKey','189YNeQpU','4098794dHtbil','LjbbL'];_0xd0dd=function(){return _0x255fc1;};return _0xd0dd();}

View File

@ -1,27 +1,15 @@
/// <reference types="node" /> import QQWrapper from './wrapper';
import { GlobalAdapter } from './qqnt/adapters'; export * from './adapters';
import { QRCodeLoginSucceedType } from './qqnt/services'; export * from './apis';
import { NapCatCoreWrapper } from './wrapper'; export * from './entities';
import { NapCatCoreLogin } from './login'; export * from './listeners';
import { NapCatCoreSession } from './session'; export * from './services';
import { NapCatCoreService } from './service'; export * as Adapters from './adapters';
import { EventEmitter } from 'node:events'; export * as APIs from './apis';
import * as log4js from '@log4js-node/log4js-api'; export * as Entities from './entities';
export interface LoginSuccessCallback { export * as Listeners from './listeners';
(): void | Promise<void>; export * as Services from './services';
} export { QQWrapper as Wrapper };
export declare class NapCatCore extends EventEmitter { export * as WrapperInterface from './wrapper';
readonly log: log4js.Logger; export * as SessionConfig from './sessionConfig';
readonly adapter: GlobalAdapter; export { napCatCore } from './core';
readonly wrapper: NapCatCoreWrapper;
readonly login: NapCatCoreLogin;
readonly session: NapCatCoreSession;
readonly service: NapCatCoreService;
private loginSuccessCbList;
constructor();
initPostLogin(args: QRCodeLoginSucceedType): Promise<void>;
private onLoginSuccess;
private onMessage;
addLoginSuccessCallback(cb: LoginSuccessCallback): void;
}
export declare const napCatCore: NapCatCore;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import { FriendRequestNotify, User } from '../../../../core/src/entities'; import { FriendRequestNotify, User } from '@/core/entities';
interface IBuddyListener { interface IBuddyListener {
onBuddyListChange(arg: { onBuddyListChange(arg: {
categoryId: number; categoryId: number;

View File

@ -0,0 +1 @@
function _0x38f5(_0x114f76,_0x1e7ce7){var _0x6d0a68=_0x6d0a();return _0x38f5=function(_0x38f507,_0x4858af){_0x38f507=_0x38f507-0x1be;var _0x318f3c=_0x6d0a68[_0x38f507];return _0x318f3c;},_0x38f5(_0x114f76,_0x1e7ce7);}function _0x6d0a(){var _0x387bfd=['onCheckBuddySettingResult','onDoubtBuddyReqUnreadNumChange','8wGMPYx','onDelBatchBuddyInfos','onBuddyReqChange','onNickUpdated','onAddMeSettingChanged','611829DoMbuM','onBuddyReqUnreadCntChange','onBuddyRemarkUpdated','onDoubtBuddyReqChange','onBuddyDetailInfoChange','825984RVmxbb','30aSRLlx','onBuddyInfoChange','onBlockChanged','952966ZCdFHI','onAddBuddyNeedVerify','onBuddyListChange','onSpacePermissionInfos','1033116luutwU','237775nvCqph','2387920mGuWKR','72477OJhcQT','onAvatarUrlUpdated'];_0x6d0a=function(){return _0x387bfd;};return _0x6d0a();}var _0x3bcc24=_0x38f5;(function(_0x5c1a48,_0x3c4088){var _0x47a250=_0x38f5,_0x1fded0=_0x5c1a48();while(!![]){try{var _0x56e40f=parseInt(_0x47a250(0x1c9))/0x1*(parseInt(_0x47a250(0x1cd))/0x2)+parseInt(_0x47a250(0x1be))/0x3+-parseInt(_0x47a250(0x1c6))/0x4+parseInt(_0x47a250(0x1c7))/0x5*(parseInt(_0x47a250(0x1bf))/0x6)+-parseInt(_0x47a250(0x1c2))/0x7+-parseInt(_0x47a250(0x1c8))/0x8+parseInt(_0x47a250(0x1d2))/0x9;if(_0x56e40f===_0x3c4088)break;else _0x1fded0['push'](_0x1fded0['shift']());}catch(_0x212d1e){_0x1fded0['push'](_0x1fded0['shift']());}}}(_0x6d0a,0x2b7a5));export class BuddyListener{[_0x3bcc24(0x1c3)](_0x4ab2ae){}[_0x3bcc24(0x1d1)](_0x4eb805){}[_0x3bcc24(0x1ca)](_0x5358b1){}[_0x3bcc24(0x1c1)](_0x502141){}[_0x3bcc24(0x1d6)](_0x31dc11){}[_0x3bcc24(0x1c0)](_0xc7722a){}[_0x3bcc24(0x1c4)](_0x297f7a){}[_0x3bcc24(0x1d4)](_0x4670cc){}[_0x3bcc24(0x1cf)](_0x4b0f50){}[_0x3bcc24(0x1d3)](_0x2a334a){}[_0x3bcc24(0x1cb)](_0x5f0076){}[_0x3bcc24(0x1ce)](_0x69b89e){}[_0x3bcc24(0x1d5)](_0x56d505){}[_0x3bcc24(0x1cc)](_0x6b9152){}[_0x3bcc24(0x1d0)](_0x3499e8){}['onSmartInfos'](_0x54ea5e){}[_0x3bcc24(0x1c5)](_0x10c731){}}

View File

@ -1,4 +1,4 @@
import { Group, GroupMember, GroupNotify } from '../../../../core/src/entities'; import { Group, GroupMember, GroupNotify } from '@/core/entities';
interface IGroupListener { interface IGroupListener {
onGroupListUpdate(updateType: number, groupList: Group[]): void; onGroupListUpdate(updateType: number, groupList: Group[]): void;
onGroupExtListUpdate(...args: unknown[]): void; onGroupExtListUpdate(...args: unknown[]): void;

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,7 @@ export declare class LoginListener implements IKernelLoginListener {
}): void; }): void;
onQRCodeLoginPollingStarted(...args: any[]): void; onQRCodeLoginPollingStarted(...args: any[]): void;
onQRCodeSessionUserScaned(...args: any[]): void; onQRCodeSessionUserScaned(...args: any[]): void;
onQRCodeLoginSucceed(...args: any[]): void; onQRCodeLoginSucceed(arg: QRCodeLoginSucceedResult): void;
onQRCodeSessionFailed(...args: any[]): void; onQRCodeSessionFailed(...args: any[]): void;
onLoginFailed(...args: any[]): void; onLoginFailed(...args: any[]): void;
onLogoutSucceed(...args: any[]): void; onLogoutSucceed(...args: any[]): void;
@ -42,3 +42,13 @@ export declare class LoginListener implements IKernelLoginListener {
onQQLoginNumLimited(...args: any[]): void; onQQLoginNumLimited(...args: any[]): void;
onLoginState(...args: any[]): void; onLoginState(...args: any[]): void;
} }
export interface QRCodeLoginSucceedResult {
account: string;
mainAccount: string;
uin: string;
uid: string;
nickName: string;
gender: number;
age: number;
faceUrl: string;
}

View File

@ -0,0 +1 @@
function _0x4522(){var _0x3c0063=['onUserLoggedIn','onLoginState','onLoginConnected','onQRCodeLoginSucceed','8FRREbq','2752520BZhphs','12473769bXUohA','onLoginConnecting','690350zKGaaN','2487cJFvTN','2310696otJWGr','1304120eyWvol','onQQLoginNumLimited','onLoginFailed','9733872tousRt','onQRCodeSessionFailed','OnConfirmUnusualDeviceFailed','4638MkbpfK','onQRCodeSessionQuickLoginFailed'];_0x4522=function(){return _0x3c0063;};return _0x4522();}var _0x59f39c=_0x54c0;function _0x54c0(_0xb771df,_0x2b0fdf){var _0x4522b0=_0x4522();return _0x54c0=function(_0x54c041,_0x3778dc){_0x54c041=_0x54c041-0x183;var _0x4a8d4d=_0x4522b0[_0x54c041];return _0x4a8d4d;},_0x54c0(_0xb771df,_0x2b0fdf);}(function(_0x50407a,_0x37afb4){var _0x1abb79=_0x54c0,_0x3a6b4e=_0x50407a();while(!![]){try{var _0x5cbe9=parseInt(_0x1abb79(0x190))/0x1+parseInt(_0x1abb79(0x186))/0x2*(-parseInt(_0x1abb79(0x191))/0x3)+parseInt(_0x1abb79(0x18c))/0x4*(-parseInt(_0x1abb79(0x18d))/0x5)+parseInt(_0x1abb79(0x183))/0x6+parseInt(_0x1abb79(0x18e))/0x7+parseInt(_0x1abb79(0x193))/0x8+-parseInt(_0x1abb79(0x192))/0x9;if(_0x5cbe9===_0x37afb4)break;else _0x3a6b4e['push'](_0x3a6b4e['shift']());}catch(_0x46a84f){_0x3a6b4e['push'](_0x3a6b4e['shift']());}}}(_0x4522,0xeea21));export class LoginListener{[_0x59f39c(0x18a)](..._0x1fd753){}['onLoginDisConnected'](..._0x3e87bd){}[_0x59f39c(0x18f)](..._0x598043){}['onQRCodeGetPicture'](_0x59f9ce){}['onQRCodeLoginPollingStarted'](..._0x5a41c3){}['onQRCodeSessionUserScaned'](..._0x16b976){}[_0x59f39c(0x18b)](_0x109638){}[_0x59f39c(0x184)](..._0x37e786){}[_0x59f39c(0x195)](..._0x4facac){}['onLogoutSucceed'](..._0x590984){}['onLogoutFailed'](..._0x197b97){}[_0x59f39c(0x188)](..._0x311ecb){}[_0x59f39c(0x187)](..._0x3c4ae6){}['onPasswordLoginFailed'](..._0x12d562){}[_0x59f39c(0x185)](..._0x30a260){}[_0x59f39c(0x194)](..._0xe8031a){}[_0x59f39c(0x189)](..._0x129784){}}

View File

@ -1,4 +1,4 @@
import { RawMessage } from '../../../../core/src/entities'; import { RawMessage } from '@/core/entities';
export interface OnRichMediaDownloadCompleteParams { export interface OnRichMediaDownloadCompleteParams {
fileModelId: string; fileModelId: string;
msgElementId: string; msgElementId: string;

View File

@ -0,0 +1 @@
var _0x328914=_0x9cbf;function _0x9cbf(_0x519f7c,_0x4652f7){var _0x5bc748=_0x5bc7();return _0x9cbf=function(_0x9cbff2,_0x5efc0c){_0x9cbff2=_0x9cbff2-0x134;var _0x1273ef=_0x5bc748[_0x9cbff2];return _0x1273ef;},_0x9cbf(_0x519f7c,_0x4652f7);}function _0x5bc7(){var _0x4274b9=['onLogLevelChanged','onGroupGuildUpdate','onMsgBoxChanged','8diMYdO','onHitEmojiKeywordResult','226716rLCoaE','onUserTabStatusChanged','onFeedEventUpdate','onRecvUDCFlag','onNtFirstViewMsgSyncEnd','onNtMsgSyncStart','onCustomWithdrawConfigUpdate','onGuildMsgAbFlagChanged','onMsgEventListUpdate','onMsgInfoListAdd','onGroupTransferInfoUpdate','onRecvSysMsg','onFileMsgCome','onReadFeedEventUpdate','onRichMediaProgerssUpdate','onChannelFreqLimitInfoUpdate','onGuildInteractiveUpdate','onBroadcastHelperProgressUpdate','87JRczjc','onGroupFileInfoUpdate','onInputStatusPush','onUserSecQualityChanged','4172IcjHmm','onSendMsgError','5503631TrPSCJ','onTempChatInfoUpdate','onRecvS2CMsg','onImportOldDbProgressUpdate','onRecvGroupGuildFlag','81ndiMAU','onAddSendMsg','onlineStatusBigIconDownloadPush','onMsgSecurityNotify','onGrabPasswordRedBag','5601770tPTVnn','onRichMediaUploadComplete','448100aIVMIl','onKickedOffLine','3iuCHEu','onGroupFileInfoAdd','517wqIMUi','onHitCsRelatedEmojiResult','onMsgQRCodeStatusChanged','onUnreadCntUpdate','onRichMediaDownloadComplete','onGroupTransferInfoAdd','onSysMsgNotification','onDraftUpdate','onMsgSettingUpdate','onMsgAbstractUpdate','onMsgWithRichLinkInfoUpdate','onNtMsgSyncEnd','onMsgInfoListUpdate','6247878WEYKVb','onEmojiResourceUpdate','onContactUnreadCntUpdate','onRecvOnlineFileMsg','onRecvMsgSvrRspTransInfo','859942OAIWXl','onFirstViewGroupGuildMapping'];_0x5bc7=function(){return _0x4274b9;};return _0x5bc7();}(function(_0x521bea,_0x5b07bf){var _0x11dee7=_0x9cbf,_0x26efd2=_0x521bea();while(!![]){try{var _0x5afaf7=parseInt(_0x11dee7(0x163))/0x1*(-parseInt(_0x11dee7(0x136))/0x2)+-parseInt(_0x11dee7(0x14f))/0x3*(-parseInt(_0x11dee7(0x153))/0x4)+-parseInt(_0x11dee7(0x15f))/0x5+parseInt(_0x11dee7(0x172))/0x6+-parseInt(_0x11dee7(0x155))/0x7*(-parseInt(_0x11dee7(0x13b))/0x8)+parseInt(_0x11dee7(0x15a))/0x9*(parseInt(_0x11dee7(0x161))/0xa)+parseInt(_0x11dee7(0x165))/0xb*(parseInt(_0x11dee7(0x13d))/0xc);if(_0x5afaf7===_0x5b07bf)break;else _0x26efd2['push'](_0x26efd2['shift']());}catch(_0x2abb84){_0x26efd2['push'](_0x26efd2['shift']());}}}(_0x5bc7,0xb45e3));export class MsgListener{[_0x328914(0x15b)](_0x45ffbf){}['onBroadcastHelperDownloadComplete'](_0x418231){}[_0x328914(0x14e)](_0x75563e){}[_0x328914(0x14c)](_0x49d789,_0x29b870,_0xb5cbba){}[_0x328914(0x174)](_0x144373){}[_0x328914(0x143)](_0x2898fa){}[_0x328914(0x16c)](_0x309ce8,_0x8753f1,_0x1da082){}['onEmojiDownloadComplete'](_0x3d0f32){}[_0x328914(0x173)](_0x4cddb2){}[_0x328914(0x13f)](_0x1a3cc7){}[_0x328914(0x149)](_0x54521e){}['onFirstViewDirectMsgUpdate'](_0x944b61){}[_0x328914(0x137)](_0x2c88c0){}[_0x328914(0x15e)](_0x69ca28,_0x227cb6,_0x436cec,_0x8343f5,_0x54e43f){}[_0x328914(0x164)](_0x2a5c5a){}[_0x328914(0x150)](_0x37505d){}[_0x328914(0x139)](_0x3cb486){}[_0x328914(0x16a)](_0xe66294){}[_0x328914(0x147)](_0x184042){}[_0x328914(0x14d)](_0x7ce603){}[_0x328914(0x144)](_0x153ae6){}['onGuildNotificationAbstractUpdate'](_0x4860f6){}[_0x328914(0x166)](_0x3afd9b){}[_0x328914(0x13c)](_0x4ed1d5){}['onHitRelatedEmojiResult'](_0x1d9077){}[_0x328914(0x158)](_0x2e6037){}[_0x328914(0x151)](_0x147816){}[_0x328914(0x162)](_0x1bfa57){}['onLineDev'](_0x1018a8){}[_0x328914(0x138)](_0x30d701){}[_0x328914(0x16e)](_0x3207aa){}[_0x328914(0x13a)](_0x2f614c){}['onMsgDelete'](_0x208261,_0x3fbaa5){}[_0x328914(0x145)](_0x255b26){}[_0x328914(0x146)](_0x13588f){}[_0x328914(0x171)](_0x33b2a6){}[_0x328914(0x167)](_0x23725b){}['onMsgRecall'](_0x5e719b,_0x77b099,_0x25322e){}[_0x328914(0x15d)](_0xd07de6){}[_0x328914(0x16d)](_0x252103){}[_0x328914(0x141)](){}[_0x328914(0x170)](){}[_0x328914(0x142)](){}[_0x328914(0x14a)](_0x177a68){}[_0x328914(0x159)](_0x55a883){}['onRecvMsg'](_0x76aae5){}[_0x328914(0x135)](_0x3e41c8,_0x59c91e,_0x305d7c,_0x38c340,_0x224f17,_0x54571){}[_0x328914(0x134)](_0x2410ee){}[_0x328914(0x157)](_0x4d3843){}[_0x328914(0x148)](_0x3410ef){}[_0x328914(0x140)](_0x4194cf){}[_0x328914(0x169)](_0x589162){}[_0x328914(0x14b)](_0x3909b5){}[_0x328914(0x160)](_0x2af83c){}['onSearchGroupFileInfoUpdate'](_0x4dd16d){}[_0x328914(0x154)](_0x18f58b,_0x5a5d6e,_0x31fa40,_0xae72ba){}[_0x328914(0x16b)](_0x8d8fb0,_0x2319ca,_0x411e7b,_0xd2b2ac){}[_0x328914(0x156)](_0x4445ba){}['onUnreadCntAfterFirstView'](_0x46d528){}[_0x328914(0x168)](_0x5a9fba){}['onUserChannelTabStatusChanged'](_0x29c27a){}['onUserOnlineStatusChanged'](_0x59eb36){}[_0x328914(0x13e)](_0x445b2a){}[_0x328914(0x15c)](_0x4de7e1,_0x5d580e,_0x338ab4){}['onlineStatusSmallIconDownloadPush'](_0x359a3f,_0x33a713,_0x3670fd){}[_0x328914(0x152)](..._0x14b3f2){}[_0x328914(0x16f)](..._0x2578d2){}['onRedTouchChanged'](..._0x1cbe3c){}}

View File

@ -1,4 +1,4 @@
import { User } from '../../../../core/src/entities'; import { User } from '@/core/entities';
interface IProfileListener { interface IProfileListener {
onProfileSimpleChanged(...args: unknown[]): void; onProfileSimpleChanged(...args: unknown[]): void;
onProfileDetailInfoChanged(profile: User): void; onProfileDetailInfoChanged(profile: User): void;

View File

@ -0,0 +1 @@
function _0xf5b6(){var _0x261568=['1414vPeAcr','4805490xCvSlo','1011FtxgIR','2917944UyPkkL','5oqQPno','714159WsaqDc','onStrangerRemarkChanged','1034026NySrpI','onStatusUpdate','onProfileDetailInfoChanged','10446394KPDVQv','658664npTqxh'];_0xf5b6=function(){return _0x261568;};return _0xf5b6();}var _0x69903b=_0x59ea;(function(_0x2cb183,_0x1b7576){var _0xc65659=_0x59ea,_0x7cc957=_0x2cb183();while(!![]){try{var _0x4a2f21=parseInt(_0xc65659(0x133))/0x1+-parseInt(_0xc65659(0x12c))/0x2*(-parseInt(_0xc65659(0x12e))/0x3)+parseInt(_0xc65659(0x12b))/0x4*(-parseInt(_0xc65659(0x130))/0x5)+parseInt(_0xc65659(0x12d))/0x6+-parseInt(_0xc65659(0x12a))/0x7+parseInt(_0xc65659(0x12f))/0x8+parseInt(_0xc65659(0x131))/0x9;if(_0x4a2f21===_0x1b7576)break;else _0x7cc957['push'](_0x7cc957['shift']());}catch(_0x205c12){_0x7cc957['push'](_0x7cc957['shift']());}}}(_0xf5b6,0xd207e));function _0x59ea(_0x8690ee,_0x3823b4){var _0xf5b654=_0xf5b6();return _0x59ea=function(_0x59eaae,_0xcefa62){_0x59eaae=_0x59eaae-0x128;var _0x4db65f=_0xf5b654[_0x59eaae];return _0x4db65f;},_0x59ea(_0x8690ee,_0x3823b4);}export class ProfileListener{['onProfileSimpleChanged'](..._0x3413a6){}[_0x69903b(0x129)](_0x1b844e){}[_0x69903b(0x128)](..._0x3d1212){}['onSelfStatusChanged'](..._0x4ac2a9){}[_0x69903b(0x132)](..._0x68b89){}}

View File

@ -0,0 +1 @@
function _0x14c4(){var _0x30be4=['11MjBgNr','9060654oUUvpt','onSessionInitComplete','onGProSessionCreate','605scGWYZ','onUserOnlineResult','22904412MoZaxw','1099806SebZdy','13655210OJvutb','1UeaQcp','onOpentelemetryInit','1036520TGgpQB','onNTSessionCreate','27TEpMwr','5273745vUmFUo','7kBhLpe','15836KypOvV'];_0x14c4=function(){return _0x30be4;};return _0x14c4();}var _0x3f0862=_0xbccd;(function(_0x235c02,_0x2231c7){var _0x124e3d=_0xbccd,_0x3c5e0d=_0x235c02();while(!![]){try{var _0x5e2620=parseInt(_0x124e3d(0xfd))/0x1*(parseInt(_0x124e3d(0xfb))/0x2)+-parseInt(_0x124e3d(0xf1))/0x3+parseInt(_0x124e3d(0xf3))/0x4*(parseInt(_0x124e3d(0xf8))/0x5)+parseInt(_0x124e3d(0xf5))/0x6*(parseInt(_0x124e3d(0xf2))/0x7)+-parseInt(_0x124e3d(0xff))/0x8*(parseInt(_0x124e3d(0xf0))/0x9)+-parseInt(_0x124e3d(0xfc))/0xa+parseInt(_0x124e3d(0xf4))/0xb*(parseInt(_0x124e3d(0xfa))/0xc);if(_0x5e2620===_0x2231c7)break;else _0x3c5e0d['push'](_0x3c5e0d['shift']());}catch(_0x120c4d){_0x3c5e0d['push'](_0x3c5e0d['shift']());}}}(_0x14c4,0xe46c5));function _0xbccd(_0x550f14,_0x552a13){var _0x14c46b=_0x14c4();return _0xbccd=function(_0xbccd97,_0x415bda){_0xbccd97=_0xbccd97-0xf0;var _0x1ae348=_0x14c46b[_0xbccd97];return _0x1ae348;},_0xbccd(_0x550f14,_0x552a13);}export class SessionListener{[_0x3f0862(0x100)](_0x495de5){}[_0x3f0862(0xf7)](_0x11509c){}[_0x3f0862(0xf6)](_0x28b056){}[_0x3f0862(0xfe)](_0x5588cb){}[_0x3f0862(0xf9)](_0x20c1ec){}['onGetSelfTinyId'](_0x14aac7){}}

View File

@ -0,0 +1 @@
function _0x2d02(_0x202e9d,_0x2b57be){var _0x206e51=_0x206e();return _0x2d02=function(_0x2d02aa,_0x1ca196){_0x2d02aa=_0x2d02aa-0x12c;var _0x203196=_0x206e51[_0x2d02aa];return _0x203196;},_0x2d02(_0x202e9d,_0x2b57be);}(function(_0x2b5b1c,_0x810476){var _0x58aee8=_0x2d02,_0x432a5c=_0x2b5b1c();while(!![]){try{var _0x219ea8=-parseInt(_0x58aee8(0x132))/0x1+-parseInt(_0x58aee8(0x134))/0x2*(-parseInt(_0x58aee8(0x133))/0x3)+parseInt(_0x58aee8(0x131))/0x4*(-parseInt(_0x58aee8(0x12d))/0x5)+-parseInt(_0x58aee8(0x136))/0x6*(-parseInt(_0x58aee8(0x130))/0x7)+-parseInt(_0x58aee8(0x12e))/0x8+-parseInt(_0x58aee8(0x135))/0x9*(-parseInt(_0x58aee8(0x12c))/0xa)+parseInt(_0x58aee8(0x12f))/0xb;if(_0x219ea8===_0x810476)break;else _0x432a5c['push'](_0x432a5c['shift']());}catch(_0x29e0f1){_0x432a5c['push'](_0x432a5c['shift']());}}}(_0x206e,0x9d1fb));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x206e(){var _0x4000d5=['794825zNZKwQ','6166136ojaYRm','18095616YXTuXj','7AuSEKS','28GhqskZ','579322EweFXU','91995cDaIAE','14qKMbti','540HXXuHL','3704952UjoHzI','104870wKQxyU'];_0x206e=function(){return _0x4000d5;};return _0x206e();}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';

View File

@ -1,48 +0,0 @@
import { LoginListener } from './qqnt/listeners';
import { LoginInitConfig, NodeIKernelLoginService } from './qqnt/services';
import { NapCatCore } from '.';
/**
* NapCat
*
* **** `init`
*/
export declare class NapCatCoreLogin {
readonly core: NapCatCore;
readonly service: NodeIKernelLoginService;
readonly listener: LoginListener;
constructor(core: NapCatCore);
/**
* `NodeIKernelLoginService`
* @param {LoginInitConfig} config `NodeIKernelLoginService`
* @returns {void}
*/
init(config: LoginInitConfig): void;
/**
* `NapCatCore`
*/
private initListener;
/**
*
* @returns {Promise<{ result: number, LocalLoginInfoList: LoginListItem[] }>}
*/
private getLoginList;
/**
* 使 `system.login.qrcode`
*/
qrcode(): Promise<void>;
/**
* 使
* @param {string} uin Uin
* @returns {Promise<void>}
*/
quick(uin: string): Promise<void>;
/**
* 使 `system.login.slider` `system.login.error`
* @param {string} uin
* @param {string} password
* @param {string} [proofSig] ticket
* @param {string} [proofRand]
* @param {string} [proofSid] sid
*/
password(uin: string, password: string, proofSig?: string, proofRand?: string, proofSid?: string): Promise<void>;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
function _0x8ce7(){var _0xa11c96=['32aWalgz','938082htISaY','150792TyrLJi','onMSFStatusChange','201299xiaybU','onMSFSsoError','1105052SMAVgY','421565ujKine','1740560BtlxSY','3314802ecuJRm'];_0x8ce7=function(){return _0xa11c96;};return _0x8ce7();}var _0xdb9b7f=_0x40f2;function _0x40f2(_0x1762a8,_0x28f0b){var _0x8ce79b=_0x8ce7();return _0x40f2=function(_0x40f287,_0x27cb3b){_0x40f287=_0x40f287-0x7a;var _0x3dbd5a=_0x8ce79b[_0x40f287];return _0x3dbd5a;},_0x40f2(_0x1762a8,_0x28f0b);}(function(_0xb93725,_0x233979){var _0x760039=_0x40f2,_0x4b144d=_0xb93725();while(!![]){try{var _0x428067=parseInt(_0x760039(0x82))/0x1+parseInt(_0x760039(0x7c))/0x2+-parseInt(_0x760039(0x81))/0x3+-parseInt(_0x760039(0x7e))/0x4+-parseInt(_0x760039(0x7d))/0x5+parseInt(_0x760039(0x7f))/0x6+parseInt(_0x760039(0x7a))/0x7*(-parseInt(_0x760039(0x80))/0x8);if(_0x428067===_0x233979)break;else _0x4b144d['push'](_0x4b144d['shift']());}catch(_0xbce604){_0x4b144d['push'](_0x4b144d['shift']());}}}(_0x8ce7,0x4b582));export class DependsAdapter{[_0xdb9b7f(0x83)](_0x187b6f){}[_0xdb9b7f(0x7b)](_0x4e25a7){}['getGroupCode'](_0x22f7c9){}}

View File

@ -1 +0,0 @@
function _0x3531(){var _0x177b57=['dispatchCall','dispatchCallWithJson','7593112gEPoQX','77263032NUVaoh','126840wLBDxr','9mPPlgs','6BOLkJe','80664wgWBTb','636WVBAQK','18166ItxgOF','1041866JDgPQn','858VCbOtc','285kUXePp','9055564ivtRjZ'];_0x3531=function(){return _0x177b57;};return _0x3531();}var _0x2547cf=_0x2acd;(function(_0x1fb094,_0x19cd00){var _0x4fbe92=_0x2acd,_0x206356=_0x1fb094();while(!![]){try{var _0xe44e90=-parseInt(_0x4fbe92(0x129))/0x1+-parseInt(_0x4fbe92(0x128))/0x2*(parseInt(_0x4fbe92(0x135))/0x3)+-parseInt(_0x4fbe92(0x134))/0x4*(parseInt(_0x4fbe92(0x12b))/0x5)+-parseInt(_0x4fbe92(0x133))/0x6*(parseInt(_0x4fbe92(0x12c))/0x7)+parseInt(_0x4fbe92(0x12f))/0x8*(parseInt(_0x4fbe92(0x132))/0x9)+parseInt(_0x4fbe92(0x131))/0xa*(-parseInt(_0x4fbe92(0x12a))/0xb)+parseInt(_0x4fbe92(0x130))/0xc;if(_0xe44e90===_0x19cd00)break;else _0x206356['push'](_0x206356['shift']());}catch(_0x3ba145){_0x206356['push'](_0x206356['shift']());}}}(_0x3531,0xf1295));function _0x2acd(_0x496c42,_0x5d0038){var _0x3531a5=_0x3531();return _0x2acd=function(_0x2acd9b,_0xde0c68){_0x2acd9b=_0x2acd9b-0x128;var _0x21f663=_0x3531a5[_0x2acd9b];return _0x21f663;},_0x2acd(_0x496c42,_0x5d0038);}export class DispatcherAdapter{['dispatchRequest'](_0x577a9e){}[_0x2547cf(0x12d)](_0x1ee5f3){}[_0x2547cf(0x12e)](_0x420604){}}

View File

@ -1 +0,0 @@
var _0x1a947c=_0x1cb4;function _0x1cb4(_0x8f9ed6,_0x1cac1f){var _0x4c5690=_0x4c56();return _0x1cb4=function(_0x1cb4d6,_0x31f627){_0x1cb4d6=_0x1cb4d6-0xc0;var _0xbc8cb4=_0x4c5690[_0x1cb4d6];return _0xbc8cb4;},_0x1cb4(_0x8f9ed6,_0x1cac1f);}(function(_0x4b8dc4,_0x1384e2){var _0x9055c8=_0x1cb4,_0x6d9707=_0x4b8dc4();while(!![]){try{var _0x1b4ed4=-parseInt(_0x9055c8(0xc3))/0x1*(-parseInt(_0x9055c8(0xc2))/0x2)+-parseInt(_0x9055c8(0xc0))/0x3*(-parseInt(_0x9055c8(0xce))/0x4)+-parseInt(_0x9055c8(0xc4))/0x5*(-parseInt(_0x9055c8(0xd0))/0x6)+-parseInt(_0x9055c8(0xca))/0x7+parseInt(_0x9055c8(0xc1))/0x8*(parseInt(_0x9055c8(0xc6))/0x9)+parseInt(_0x9055c8(0xcc))/0xa*(-parseInt(_0x9055c8(0xcb))/0xb)+parseInt(_0x9055c8(0xc5))/0xc*(-parseInt(_0x9055c8(0xd1))/0xd);if(_0x1b4ed4===_0x1384e2)break;else _0x6d9707['push'](_0x6d9707['shift']());}catch(_0x48982f){_0x6d9707['push'](_0x6d9707['shift']());}}}(_0x4c56,0x462b3));function _0x4c56(){var _0x2f0d68=['getAppSetting','58844rmWhNp','onUpdateGeneralFlag','24KMMffx','427037HGEpep','102KSRXXz','499984UzcUwZ','7414zgLJnd','25XddToz','365735OKLTAR','132lzRGhN','36kbMcMB','onShowErrUITips','onLog','onGetSrvCalTime','1696058pCMjbw','11eqjSvk','2443850WLAmdh'];_0x4c56=function(){return _0x2f0d68;};return _0x4c56();}export class GlobalAdapter{[_0x1a947c(0xc8)](..._0xaf41e1){}[_0x1a947c(0xc9)](..._0x36a869){}[_0x1a947c(0xc7)](..._0x8e3508){}['fixPicImgType'](..._0x52df10){}[_0x1a947c(0xcd)](..._0x5814b0){}['onInstallFinished'](..._0x39b689){}[_0x1a947c(0xcf)](..._0x3ef588){}['onGetOfflineMsg'](..._0x4ae230){}}

View File

@ -1 +0,0 @@
(function(_0x4fff88,_0x3ee51e){var _0x742772=_0xaf18,_0x5d2ea9=_0x4fff88();while(!![]){try{var _0x19f642=parseInt(_0x742772(0xcd))/0x1*(-parseInt(_0x742772(0xce))/0x2)+-parseInt(_0x742772(0xd0))/0x3*(parseInt(_0x742772(0xd1))/0x4)+parseInt(_0x742772(0xd4))/0x5*(parseInt(_0x742772(0xcb))/0x6)+-parseInt(_0x742772(0xcc))/0x7+parseInt(_0x742772(0xd2))/0x8+parseInt(_0x742772(0xd3))/0x9+parseInt(_0x742772(0xcf))/0xa;if(_0x19f642===_0x3ee51e)break;else _0x5d2ea9['push'](_0x5d2ea9['shift']());}catch(_0x30cc0f){_0x5d2ea9['push'](_0x5d2ea9['shift']());}}}(_0x2f76,0x5a223));export*from'./NodeIDependsAdapter';function _0xaf18(_0x3d7903,_0x28c2c5){var _0x2f7687=_0x2f76();return _0xaf18=function(_0xaf18af,_0x2ec4d0){_0xaf18af=_0xaf18af-0xcb;var _0x3a01b8=_0x2f7687[_0xaf18af];return _0x3a01b8;},_0xaf18(_0x3d7903,_0x28c2c5);}function _0x2f76(){var _0x142305=['4807096bLgJNh','51287oJvNYr','12EofAiV','7396930qDDhuu','2150541XkRIFG','4GPaveP','5321424EKGAGU','4722786YsvDlN','5kpopOS','905154IaYuKw'];_0x2f76=function(){return _0x142305;};return _0x2f76();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
var _0x518511=_0x1c65;(function(_0x29f356,_0x319c58){var _0x100c33=_0x1c65,_0x46715d=_0x29f356();while(!![]){try{var _0x4246c3=parseInt(_0x100c33(0x1b5))/0x1+-parseInt(_0x100c33(0x1b4))/0x2*(parseInt(_0x100c33(0x1ae))/0x3)+-parseInt(_0x100c33(0x1b2))/0x4*(parseInt(_0x100c33(0x1b7))/0x5)+-parseInt(_0x100c33(0x1ad))/0x6*(parseInt(_0x100c33(0x1b1))/0x7)+parseInt(_0x100c33(0x1b6))/0x8*(parseInt(_0x100c33(0x1b9))/0x9)+parseInt(_0x100c33(0x1af))/0xa+parseInt(_0x100c33(0x1b8))/0xb;if(_0x4246c3===_0x319c58)break;else _0x46715d['push'](_0x46715d['shift']());}catch(_0x331442){_0x46715d['push'](_0x46715d['shift']());}}}(_0x57db,0x8248f));function _0x1c65(_0x3af6f5,_0x384ce0){var _0x57db0b=_0x57db();return _0x1c65=function(_0x1c6522,_0x8822f5){_0x1c6522=_0x1c6522-0x1ad;var _0x356509=_0x57db0b[_0x1c6522];return _0x356509;},_0x1c65(_0x3af6f5,_0x384ce0);}import{napCatCore}from'@/core';function _0x57db(){var _0x269ae7=['4298888nSuAux','3148083vaWiso','friendUid','kernelService','1214508qTCBXI','103413dsFWiW','5234050uDmxmX','service','14TMhDOF','4MyBWiM','getFriends','14jKMSxk','641233cYCYpk','8XCPuPW','3627265pgfDTy'];_0x57db=function(){return _0x269ae7;};return _0x57db();}export class NTQQFriendApi{static async[_0x518511(0x1b3)](_0x271f68=![]){}static async['handleFriendRequest'](_0x1ea96a,_0x153596){var _0x5c448d=_0x518511;napCatCore[_0x5c448d(0x1b0)]['buddy'][_0x5c448d(0x1bb)]?.['approvalFriendRequest']({'friendUid':_0x1ea96a[_0x5c448d(0x1ba)],'reqTime':_0x1ea96a['reqTime'],'accept':_0x153596});}}

View File

@ -1 +0,0 @@
const _0xbcdb2c=_0x5189;(function(_0x262ec4,_0x3a2de8){const _0x27d148=_0x5189,_0x4461cf=_0x262ec4();while(!![]){try{const _0x36b476=parseInt(_0x27d148(0xea))/0x1*(parseInt(_0x27d148(0xd6))/0x2)+-parseInt(_0x27d148(0xde))/0x3*(-parseInt(_0x27d148(0xd1))/0x4)+-parseInt(_0x27d148(0xe7))/0x5*(parseInt(_0x27d148(0xf3))/0x6)+-parseInt(_0x27d148(0xd0))/0x7+-parseInt(_0x27d148(0xdc))/0x8*(-parseInt(_0x27d148(0xdb))/0x9)+parseInt(_0x27d148(0xd8))/0xa*(parseInt(_0x27d148(0xda))/0xb)+parseInt(_0x27d148(0xee))/0xc*(parseInt(_0x27d148(0xe4))/0xd);if(_0x36b476===_0x3a2de8)break;else _0x4461cf['push'](_0x4461cf['shift']());}catch(_0x8336f9){_0x4461cf['push'](_0x4461cf['shift']());}}}(_0x1c28,0xc82c1));import{napCatCore}from'@/core';function _0x5189(_0x4c6d52,_0x3610e1){const _0x1c2889=_0x1c28();return _0x5189=function(_0x5189ff,_0x4a0dd1){_0x5189ff=_0x5189ff-0xcd;let _0x21a3e5=_0x1c2889[_0x5189ff];return _0x21a3e5;},_0x5189(_0x4c6d52,_0x3610e1);}import{GroupListener}from '@/core';export class NTQQGroupApi{static async[_0xbcdb2c(0xf6)](_0x2a9127=![]){const _0x6eeae8={'LOxeU':function(_0x5b7042, _0x4874af){return _0x5b7042(_0x4874af);},'KkMeq':function(_0x16cfd1, _0x2289d5){return _0x16cfd1(_0x2289d5);},'UQJlh':function(_0x203048, _0xef715d, _0x4d1119){return _0x203048(_0xef715d,_0x4d1119);}};let _0xb5da17=![];return new Promise((_0x339f47, _0x9a4e3e)=>{const _0x14ed27=_0x5189;_0x6eeae8[_0x14ed27(0xf2)](setTimeout,()=>{const _0x43355f=_0x14ed27;!_0xb5da17&&(napCatCore['service'][_0x43355f(0xdd)][_0x43355f(0xd3)]?.[_0x43355f(0xed)](_0x4593e7),_0x6eeae8['LOxeU'](_0x339f47,[]));},0x2710);const _0x2918dc=new GroupListener();_0x2918dc[_0x14ed27(0xf1)]=(_0x1a4588, _0x12d489)=>{const _0x52d79c=_0x14ed27;_0xb5da17=!![],_0x6eeae8['KkMeq'](_0x339f47,_0x12d489),napCatCore['service'][_0x52d79c(0xdd)][_0x52d79c(0xd3)]?.[_0x52d79c(0xed)](_0x4593e7);};const _0x4593e7=napCatCore[_0x14ed27(0xe8)][_0x14ed27(0xdd)][_0x14ed27(0xe2)](_0x2918dc);napCatCore['service']['group'][_0x14ed27(0xd3)]?.[_0x14ed27(0xe1)](_0x2a9127)[_0x14ed27(0xe3)]();});}static async[_0xbcdb2c(0xe6)](_0xf63e66, _0x4e7bed=0xbb8){}static async[_0xbcdb2c(0xe0)](){}static async[_0xbcdb2c(0xef)](){}static async[_0xbcdb2c(0xd2)](_0x101cd8, _0x39ae35, _0x656060){const _0x1ae387=_0xbcdb2c,_0x2e0b32={'SIyzE':function(_0x2e73c9, _0x53183e){return _0x2e73c9||_0x53183e;}};return napCatCore[_0x1ae387(0xe8)][_0x1ae387(0xdd)][_0x1ae387(0xd3)]?.[_0x1ae387(0xf5)](![],{'operateType':_0x39ae35,'targetMsg':{'seq':_0x101cd8['seq'],'type':_0x101cd8[_0x1ae387(0xdf)],'groupCode':_0x101cd8['group'][_0x1ae387(0xd9)],'postscript':_0x2e0b32['SIyzE'](_0x656060,'')}});}static async[_0xbcdb2c(0xcf)](_0x5ced3c){const _0x5461f2=_0xbcdb2c;return napCatCore[_0x5461f2(0xe8)][_0x5461f2(0xdd)][_0x5461f2(0xd3)]?.['quitGroup'](_0x5ced3c);}static async['kickMember'](_0x254c44, _0x2d71b1, _0x168733=![], _0x1549e0=''){const _0x590dd8=_0xbcdb2c;return napCatCore[_0x590dd8(0xe8)][_0x590dd8(0xdd)][_0x590dd8(0xd3)]?.[_0x590dd8(0xd5)](_0x254c44,_0x2d71b1,_0x168733,_0x1549e0);}static async['banMember'](_0x1c1aec, _0x454c68){const _0x507a3b=_0xbcdb2c;return napCatCore[_0x507a3b(0xe8)]['group'][_0x507a3b(0xd3)]?.[_0x507a3b(0xf0)](_0x1c1aec,_0x454c68);}static async[_0xbcdb2c(0xd7)](_0x198faf, _0x7c0718){const _0x29b156=_0xbcdb2c;return napCatCore[_0x29b156(0xe8)]['group'][_0x29b156(0xd3)]?.[_0x29b156(0xce)](_0x198faf,_0x7c0718);}static async['setMemberCard'](_0x31bcda, _0xd98112, _0x285c4c){const _0x544d97=_0xbcdb2c;return napCatCore['service']['group'][_0x544d97(0xd3)]?.[_0x544d97(0xd4)](_0x31bcda,_0xd98112,_0x285c4c);}static async[_0xbcdb2c(0xec)](_0x1e317a, _0x27e2ec, _0x5b9969){const _0x373120=_0xbcdb2c;return napCatCore['service'][_0x373120(0xdd)][_0x373120(0xd3)]?.[_0x373120(0xe5)](_0x1e317a,_0x27e2ec,_0x5b9969);}static async[_0xbcdb2c(0xeb)](_0x55a459, _0x3c1d62){const _0x38cacf=_0xbcdb2c;return napCatCore[_0x38cacf(0xe8)][_0x38cacf(0xdd)]['kernelService']?.[_0x38cacf(0xf4)](_0x55a459,_0x3c1d62,![]);}static async[_0xbcdb2c(0xcd)](_0x351fd7, _0x2fbbf4, _0x15884c){}static[_0xbcdb2c(0xe9)](_0x4ab14b, _0x5d19d9, _0x7267a4){}}function _0x1c28(){const _0x53cb2b=['37338xywSjW','modifyGroupName','operateSysNotify','getGroups','setGroupTitle','setGroupShutUp','quitGroup','10151064vTltUQ','1658936FcpKvp','handleGroupRequest','kernelService','modifyMemberCardName','kickMember','1045478nduRWM','banGroup','7518130dlxiUu','groupCode','11tPlZxS','4681791EQnama','24HwpaDi','group','3wfAwAv','type','getGroupNotifies','getGroupList','addGroupListener','then','934193BFaiCH','modifyMemberRole','getGroupMembers','845fYQpBo','service','publishGroupBulletin','1rAxGpz','setGroupName','setMemberRole','removeKernelGroupListener','12Htopgn','getGroupIgnoreNotifies','setMemberShutUp','onGroupListUpdate','UQJlh'];_0x1c28=function(){return _0x53cb2b;};return _0x1c28();}

View File

@ -1 +0,0 @@
(function(_0x3df594,_0x16d962){var _0x272c4e=_0x40ec,_0x1f3c74=_0x3df594();while(!![]){try{var _0x1b6f92=parseInt(_0x272c4e(0xcf))/0x1*(-parseInt(_0x272c4e(0xd5))/0x2)+-parseInt(_0x272c4e(0xcd))/0x3*(-parseInt(_0x272c4e(0xd6))/0x4)+parseInt(_0x272c4e(0xce))/0x5+parseInt(_0x272c4e(0xd0))/0x6+-parseInt(_0x272c4e(0xd3))/0x7*(-parseInt(_0x272c4e(0xd1))/0x8)+-parseInt(_0x272c4e(0xd2))/0x9+parseInt(_0x272c4e(0xd4))/0xa;if(_0x1b6f92===_0x16d962)break;else _0x1f3c74['push'](_0x1f3c74['shift']());}catch(_0x54ab13){_0x1f3c74['push'](_0x1f3c74['shift']());}}}(_0x237b,0xce950));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x40ec(_0x586d87,_0x2b075c){var _0x237b09=_0x237b();return _0x40ec=function(_0x40ecd5,_0x4d2673){_0x40ecd5=_0x40ecd5-0xcd;var _0x548126=_0x237b09[_0x40ecd5];return _0x548126;},_0x40ec(_0x586d87,_0x2b075c);}export*from'./webapi';function _0x237b(){var _0x3a3a0e=['115022OOcpKZ','8945604LvKKSW','124248XUZBqX','78282iOmEbn','42wCnSJI','4937390LQPFrH','28YoTGey','8MBMBhW','390558adAWFo','634675nyatsq'];_0x237b=function(){return _0x3a3a0e;};return _0x237b();}export*from'./window';

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
const _0x53bf1c=_0x3a99;(function(_0x582b4f,_0x2e9192){const _0x57dbbe=_0x3a99,_0x47da03=_0x582b4f();while(!![]){try{const _0x2ea51a=-parseInt(_0x57dbbe(0x187))/0x1+parseInt(_0x57dbbe(0x184))/0x2*(-parseInt(_0x57dbbe(0x172))/0x3)+-parseInt(_0x57dbbe(0x178))/0x4*(parseInt(_0x57dbbe(0x165))/0x5)+-parseInt(_0x57dbbe(0x175))/0x6*(parseInt(_0x57dbbe(0x17f))/0x7)+-parseInt(_0x57dbbe(0x17c))/0x8*(-parseInt(_0x57dbbe(0x180))/0x9)+parseInt(_0x57dbbe(0x16b))/0xa*(-parseInt(_0x57dbbe(0x189))/0xb)+-parseInt(_0x57dbbe(0x181))/0xc*(-parseInt(_0x57dbbe(0x185))/0xd);if(_0x2ea51a===_0x2e9192)break;else _0x47da03['push'](_0x47da03['shift']());}catch(_0x159d0f){_0x47da03['push'](_0x47da03['shift']());}}}(_0x24ae,0xacd2b));import{napCatCore}from'@/core';import{ProfileListener}from 'src/core/src/listeners';function _0x3a99(_0x115d88, _0x2a1bf3){const _0x24ae7e=_0x24ae();return _0x3a99=function(_0x3a990c, _0x1c3043){_0x3a990c=_0x3a990c-0x164;let _0x179f9d=_0x24ae7e[_0x3a990c];return _0x179f9d;},_0x3a99(_0x115d88,_0x2a1bf3);}import{randomUUID}from'crypto';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x53bf1c(0x170)]= _0x105fce=>{const _0x5aeae3=_0x53bf1c;userInfoCache[_0x105fce[_0x5aeae3(0x174)]]=_0x105fce,userDetailHandlers['forEach'](_0x4a5a1d=>_0x4a5a1d(_0x105fce));},setTimeout(()=>{const _0x3bf59b=_0x53bf1c;napCatCore[_0x3bf59b(0x16f)](()=>{const _0x119685=_0x3bf59b;napCatCore[_0x119685(0x186)][_0x119685(0x183)][_0x119685(0x17b)](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x45c69a, _0x4cc6be=0x1){const _0x393f76=_0x53bf1c;return napCatCore['service'][_0x393f76(0x17e)]['kernelService'][_0x393f76(0x177)]({'friendUid':_0x45c69a,'sourceId':0x47,'doLikeCount':_0x4cc6be,'doLikeTollCount':0x0});}static async[_0x53bf1c(0x179)](_0x2f6f92){const _0x3dbe8e=_0x53bf1c,_0x41d3bd=napCatCore[_0x3dbe8e(0x186)][_0x3dbe8e(0x183)][_0x3dbe8e(0x171)]?.[_0x3dbe8e(0x16a)](_0x2f6f92);return{'result':_0x41d3bd?.[_0x3dbe8e(0x164)],'errMsg':_0x41d3bd?.['errMsg']};}static async[_0x53bf1c(0x168)](){}static async[_0x53bf1c(0x17a)](_0x8ac2a0){}static async[_0x53bf1c(0x169)](_0x5316e7){const _0x1166fd=_0x53bf1c,_0x178559={'nOrhd':function(_0x604b28, _0x6c2119){return _0x604b28===_0x6c2119;},'lvzsk':function(_0x633325, _0x14da98){return _0x633325(_0x14da98);},'fPysa':_0x1166fd(0x173),'xwEVA':function(_0xf1f80e){return _0xf1f80e();},'XsaQh':function(_0x223bfa, _0x53d5e5, _0x55db39){return _0x223bfa(_0x53d5e5,_0x55db39);}},_0x3a9687=napCatCore['service']['profile']['kernelService'];return new Promise((_0x34679b, _0x1e3c95)=>{const _0x4f33e3=_0x1166fd,_0x5e6a18={'NgZEB':_0x178559[_0x4f33e3(0x166)]},_0x1253ba=_0x178559['xwEVA'](randomUUID);let _0x9a2aaf=![];_0x178559[_0x4f33e3(0x176)](setTimeout,()=>{const _0x5df914=_0x4f33e3;!_0x9a2aaf&&_0x1e3c95(_0x5e6a18[_0x5df914(0x16d)]);},0x1388),userDetailHandlers[_0x4f33e3(0x17d)](_0x1253ba, _0x5594f2=>{const _0x548c24=_0x4f33e3;_0x178559['nOrhd'](_0x5594f2[_0x548c24(0x174)],_0x5316e7)&&(_0x9a2aaf=!![],userDetailHandlers[_0x548c24(0x182)](_0x1253ba),_0x178559[_0x548c24(0x16e)](_0x34679b,_0x5594f2));}),_0x3a9687[_0x4f33e3(0x16c)](_0x5316e7,[0x0])[_0x4f33e3(0x188)](_0x2b719c=>{});});}static async[_0x53bf1c(0x167)](){}static async['getSkey'](_0x186c09, _0x19483b){}}function _0x24ae(){const _0x31f7d6=['NgZEB','lvzsk','addLoginSuccessCallback','onProfileDetailInfoChanged','kernelService','2586bYPxzM','getUserDetailInfo\x20timeout','uid','1842BCiWpL','XsaQh','setBuddyProfileLike','28mRJodZ','setQQAvatar','getUserInfo','addProfileListener','2344RtvZDT','set','profileLike','31668EcasME','17586HPheEt','688596QSdHqN','delete','profile','2444apHmGJ','1170tdLKhn','service','759247cjDnPr','then','1117589GjrzNh','result','797455mPzIUL','fPysa','getPSkey','getSelfInfo','getUserDetailInfo','setHeader','70NNKrlp','getUserDetailInfoWithBizInfo'];_0x24ae=function(){return _0x31f7d6;};return _0x24ae();}

View File

@ -1 +0,0 @@
function _0x5d3a(_0x2d5fb3,_0x52150d){const _0x1eccf6=_0x1ecc();return _0x5d3a=function(_0x5d3a1c,_0x1023c0){_0x5d3a1c=_0x5d3a1c-0x76;let _0x38405f=_0x1eccf6[_0x5d3a1c];return _0x38405f;},_0x5d3a(_0x2d5fb3,_0x52150d);}const _0x443715=_0x5d3a;(function(_0x3f26e4,_0x6440f){const _0x5cf115=_0x5d3a,_0x4683e8=_0x3f26e4();while(!![]){try{const _0x2f079f=-parseInt(_0x5cf115(0x7f))/0x1+-parseInt(_0x5cf115(0x8e))/0x2*(parseInt(_0x5cf115(0x91))/0x3)+parseInt(_0x5cf115(0x86))/0x4+parseInt(_0x5cf115(0x99))/0x5*(parseInt(_0x5cf115(0x84))/0x6)+-parseInt(_0x5cf115(0x80))/0x7+-parseInt(_0x5cf115(0x78))/0x8+-parseInt(_0x5cf115(0x83))/0x9*(-parseInt(_0x5cf115(0x77))/0xa);if(_0x2f079f===_0x6440f)break;else _0x4683e8['push'](_0x4683e8['shift']());}catch(_0x58bb3a){_0x4683e8['push'](_0x4683e8['shift']());}}}(_0x1ecc,0xb727b));function _0x1ecc(){const _0x46290a=['4580mStCTV','init','bkn','1800LBdiqs','genBkn','&msg_random=444021292','getGroupDigest','pDFUa','headers','charCodeAt','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0','5646815zqxaCQ','&msg_seq=','6270730tOpBEL','2789584cgLfEn','defaultHeaders','zqCcO','oMJAK','include','cookie','&bkn=','771487OuMjTr','3679235jxvtJL','json','rUKlZ','18uAWQYA','6fVVhYi','pskey','5545936YUhfhU','uCpyu','request','MTCCn','addGroupDigest','GET','&page_start=0&page_limit=20','skey'];_0x1ecc=function(){return _0x46290a;};return _0x1ecc();}import{log}from'@/common/utils/log';export class WebApi{static [_0x443715(0x90)];static [_0x443715(0x8d)];static [_0x443715(0x85)];static [_0x443715(0x7d)];['defaultHeaders']={'User-Agent':_0x443715(0x98)};constructor(){}async[_0x443715(0x8a)](_0x565e38,_0x143468){const _0x4710c9=_0x443715,_0x4c6f19='https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x565e38+_0x4710c9(0x76)+_0x143468+_0x4710c9(0x93),_0x507a9e=await this[_0x4710c9(0x88)](_0x4c6f19);return await _0x507a9e[_0x4710c9(0x81)]();}async[_0x443715(0x94)](_0x17f478){const _0x1674c6=_0x443715,_0x33f613={'hfxoo':function(_0x309ccd,_0x458477){return _0x309ccd(_0x458477);}},_0x5a3ee7='https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x17f478+_0x1674c6(0x8c),_0x3d3166=await this[_0x1674c6(0x88)](_0x5a3ee7);return _0x33f613['hfxoo'](log,_0x3d3166[_0x1674c6(0x96)]),await _0x3d3166[_0x1674c6(0x81)]();}[_0x443715(0x92)](_0x16c1cb){const _0x3de3ae=_0x443715,_0x23c6b6={'mlPDA':function(_0x242098,_0x506e67){return _0x242098||_0x506e67;},'qQjtM':function(_0x4294fc,_0x13aaa2){return _0x4294fc<_0x13aaa2;},'pIhPL':function(_0x2d445c,_0x174238){return _0x2d445c+_0x174238;},'WIkVX':function(_0x27ab5c,_0x1e0f8b){return _0x27ab5c+_0x1e0f8b;},'zqCcO':function(_0x447b37,_0x39ee46){return _0x447b37<<_0x39ee46;},'rUKlZ':function(_0x547843,_0x2a6330){return _0x547843&_0x2a6330;}};_0x16c1cb=_0x23c6b6['mlPDA'](_0x16c1cb,'');let _0x5cf796=0x1505;for(let _0x1024b7=0x0;_0x23c6b6['qQjtM'](_0x1024b7,_0x16c1cb['length']);_0x1024b7++){const _0x532721=_0x16c1cb[_0x3de3ae(0x97)](_0x1024b7);_0x5cf796=_0x23c6b6['pIhPL'](_0x23c6b6['WIkVX'](_0x5cf796,_0x23c6b6[_0x3de3ae(0x7a)](_0x5cf796,0x5)),_0x532721);}return _0x23c6b6[_0x3de3ae(0x82)](_0x5cf796,0x7fffffff)['toString']();}async[_0x443715(0x8f)](){const _0x27875c=_0x443715;if(!WebApi[_0x27875c(0x90)]){}}async[_0x443715(0x88)](_0x4cabcd,_0x2980b9=_0x443715(0x8b),_0x4e9228={}){const _0x1b9e35=_0x443715,_0x169a05={'dxGMU':function(_0x5dcac8,_0x4eb1eb){return _0x5dcac8+_0x4eb1eb;},'oMJAK':_0x1b9e35(0x7e),'MTCCn':_0x1b9e35(0x7c),'nVIty':function(_0x49af4f,_0x2ce37d,_0x362e92,_0x4d9a12){return _0x49af4f(_0x2ce37d,_0x362e92,_0x4d9a12);},'pDFUa':_0x1b9e35(0x88),'uCpyu':function(_0x5255b0,_0x4d60d1,_0x3a2f86){return _0x5255b0(_0x4d60d1,_0x3a2f86);}};await this[_0x1b9e35(0x8f)](),_0x4cabcd+=_0x169a05['dxGMU'](_0x169a05[_0x1b9e35(0x7b)],WebApi[_0x1b9e35(0x90)]);const _0x2c7395={...this[_0x1b9e35(0x79)],..._0x4e9228,'Cookie':WebApi['cookie'],'credentials':_0x169a05[_0x1b9e35(0x89)]};_0x169a05['nVIty'](log,_0x169a05[_0x1b9e35(0x95)],_0x4cabcd,_0x2c7395);const _0x487aca={'method':_0x2980b9,'headers':_0x2c7395};return _0x169a05[_0x1b9e35(0x87)](fetch,_0x4cabcd,_0x487aca);}}

View File

@ -1 +0,0 @@
var _0x5982e5=_0x3c88;function _0x3f89(){var _0x457cba=['86013LyBlWw','328BVFIpP','9KgpvzU','2897576yUZPxk','211955ljrRfn','GroupHomeWorkWindow','472924VqyyPf','917436BvjWqO','3386124uviehj','198VZOjYb','#/group-essence','GroupEssenceWindow','201800pMSnMz','2189ClyPnw','GroupNotifyFilterWindow'];_0x3f89=function(){return _0x457cba;};return _0x3f89();}(function(_0x4497e5,_0x4e2818){var _0x18104a=_0x3c88,_0xc38278=_0x4497e5();while(!![]){try{var _0x1536b0=parseInt(_0x18104a(0x143))/0x1+parseInt(_0x18104a(0x140))/0x2+parseInt(_0x18104a(0x13f))/0x3*(parseInt(_0x18104a(0x144))/0x4)+parseInt(_0x18104a(0x141))/0x5*(parseInt(_0x18104a(0x146))/0x6)+parseInt(_0x18104a(0x145))/0x7+-parseInt(_0x18104a(0x13e))/0x8*(-parseInt(_0x18104a(0x13d))/0x9)+-parseInt(_0x18104a(0x149))/0xa*(parseInt(_0x18104a(0x14a))/0xb);if(_0x1536b0===_0x4e2818)break;else _0xc38278['push'](_0xc38278['shift']());}catch(_0x20cd95){_0xc38278['push'](_0xc38278['shift']());}}}(_0x3f89,0xd4059));function _0x3c88(_0x4c9b00,_0x5834fd){var _0x3f893d=_0x3f89();return _0x3c88=function(_0x3c8885,_0x564177){_0x3c8885=_0x3c8885-0x13c;var _0x13f277=_0x3f893d[_0x3c8885];return _0x13f277;},_0x3c88(_0x4c9b00,_0x5834fd);}export class NTQQWindows{static [_0x5982e5(0x142)]={'windowName':_0x5982e5(0x142),'windowUrlHash':'#/group-home-work'};static ['GroupNotifyFilterWindow']={'windowName':_0x5982e5(0x13c),'windowUrlHash':'#/group-notify-filter'};static [_0x5982e5(0x148)]={'windowName':'GroupEssenceWindow','windowUrlHash':_0x5982e5(0x147)};}export class NTQQWindowApi{}

View File

@ -1 +0,0 @@
function _0x1f8b(_0x211adc,_0x2fca8d){var _0x2555c6=_0x2555();return _0x1f8b=function(_0x1f8bbf,_0x5788a7){_0x1f8bbf=_0x1f8bbf-0xe1;var _0x51e13f=_0x2555c6[_0x1f8bbf];return _0x51e13f;},_0x1f8b(_0x211adc,_0x2fca8d);}(function(_0x280c6f,_0x218299){var _0x557dd8=_0x1f8b,_0x1d7e56=_0x280c6f();while(!![]){try{var _0x21b505=parseInt(_0x557dd8(0xe4))/0x1+parseInt(_0x557dd8(0xe6))/0x2+-parseInt(_0x557dd8(0xea))/0x3+parseInt(_0x557dd8(0xe8))/0x4+parseInt(_0x557dd8(0xef))/0x5+parseInt(_0x557dd8(0xec))/0x6*(-parseInt(_0x557dd8(0xe7))/0x7)+parseInt(_0x557dd8(0xe1))/0x8*(parseInt(_0x557dd8(0xe2))/0x9);if(_0x21b505===_0x218299)break;else _0x1d7e56['push'](_0x1d7e56['shift']());}catch(_0x4ef306){_0x1d7e56['push'](_0x1d7e56['shift']());}}}(_0x2555,0x21ecd));export var CacheFileType;function _0x2555(){var _0x4b2753=['7357lFIgjo','210744URUnpB','BFOrB','667230NPsPuV','IMAGE','708bOoGAy','DOCUMENT','QrntX','768720pWOTnJ','OTHER','175976PIlIaB','36apimus','OwhCi','37065HxnmFI','FuQpx','307804BEueLs'];_0x2555=function(){return _0x4b2753;};return _0x2555();}(function(_0x1c7788){var _0x3619ca=_0x1f8b,_0x48b1b7={'BFOrB':'VIDEO','QrntX':'AUDIO','OwhCi':_0x3619ca(0xed),'FuQpx':_0x3619ca(0xf0)};_0x1c7788[_0x1c7788['IMAGE']=0x0]=_0x3619ca(0xeb),_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe9)]]=0x1]=_0x48b1b7[_0x3619ca(0xe9)],_0x1c7788[_0x1c7788[_0x48b1b7['QrntX']]=0x2]=_0x48b1b7[_0x3619ca(0xee)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe3)]]=0x3]=_0x48b1b7[_0x3619ca(0xe3)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe5)]]=0x4]=_0x3619ca(0xf0);}(CacheFileType||(CacheFileType={})));

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
function _0xdd85(){var _0x8aee54=['owner','204PAyMBG','admin','1522088VzrprI','105036ImtSBq','448299Klrnki','18425FMIwXN','40BpQcAs','yCOhr','4KTZczv','OHTAR','1096235oQaljQ','MZPVP','119219bWkHEX','359874GHXFtx'];_0xdd85=function(){return _0x8aee54;};return _0xdd85();}function _0x4740(_0x2184fd,_0x288faa){var _0xdd85d5=_0xdd85();return _0x4740=function(_0x4740d5,_0x4c799f){_0x4740d5=_0x4740d5-0x17c;var _0x1bcb01=_0xdd85d5[_0x4740d5];return _0x1bcb01;},_0x4740(_0x2184fd,_0x288faa);}(function(_0x1d86a9,_0x2851c2){var _0x211200=_0x4740,_0x9ee885=_0x1d86a9();while(!![]){try{var _0x5c9b43=-parseInt(_0x211200(0x184))/0x1+parseInt(_0x211200(0x180))/0x2*(-parseInt(_0x211200(0x18a))/0x3)+-parseInt(_0x211200(0x187))/0x4*(parseInt(_0x211200(0x17d))/0x5)+-parseInt(_0x211200(0x185))/0x6+parseInt(_0x211200(0x182))/0x7+parseInt(_0x211200(0x189))/0x8+parseInt(_0x211200(0x17c))/0x9*(parseInt(_0x211200(0x17e))/0xa);if(_0x5c9b43===_0x2851c2)break;else _0x9ee885['push'](_0x9ee885['shift']());}catch(_0x121ef3){_0x9ee885['push'](_0x9ee885['shift']());}}}(_0xdd85,0x1a999));export var GroupMemberRole;(function(_0x59e7a5){var _0x586b9a=_0x4740,_0x48ef58={'MZPVP':'normal','OHTAR':_0x586b9a(0x188),'yCOhr':_0x586b9a(0x186)};_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x183)]]=0x2]=_0x48ef58[_0x586b9a(0x183)],_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x181)]]=0x3]='admin',_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x17f)]]=0x4]=_0x48ef58[_0x586b9a(0x17f)];}(GroupMemberRole||(GroupMemberRole={})));

View File

@ -1 +0,0 @@
(function(_0x40cb53,_0x4607ad){var _0x2a30d6=_0x54ef,_0x1e72e8=_0x40cb53();while(!![]){try{var _0x109b8a=-parseInt(_0x2a30d6(0x115))/0x1*(-parseInt(_0x2a30d6(0x11a))/0x2)+-parseInt(_0x2a30d6(0x118))/0x3*(parseInt(_0x2a30d6(0x116))/0x4)+parseInt(_0x2a30d6(0x11c))/0x5+-parseInt(_0x2a30d6(0x11b))/0x6*(parseInt(_0x2a30d6(0x11d))/0x7)+parseInt(_0x2a30d6(0x119))/0x8+parseInt(_0x2a30d6(0x114))/0x9+-parseInt(_0x2a30d6(0x11e))/0xa*(-parseInt(_0x2a30d6(0x117))/0xb);if(_0x109b8a===_0x4607ad)break;else _0x1e72e8['push'](_0x1e72e8['shift']());}catch(_0x35b93b){_0x1e72e8['push'](_0x1e72e8['shift']());}}}(_0x3a46,0x22c8e));function _0x3a46(){var _0x56a0ff=['7sRvroy','2687610OXJxIf','1854864QDIcpI','1ppYTSa','357092DvGXdJ','11SzRixC','6Vizrxs','360496mwIRDi','44914PrSmJY','1370838MLtyrI','35605ELRImu'];_0x3a46=function(){return _0x56a0ff;};return _0x3a46();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x54ef(_0x1eeacf,_0x4ab49a){var _0x3a466d=_0x3a46();return _0x54ef=function(_0x54ef4b,_0x5a6168){_0x54ef4b=_0x54ef4b-0x114;var _0xe7c4f=_0x3a466d[_0x54ef4b];return _0xe7c4f;},_0x54ef(_0x1eeacf,_0x4ab49a);}export*from'./constructor';

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
function _0x36b4(){var _0x2cde96=['HJEay','reject','YhHhr','pRQMp','lsNsz','11AAUaqA','3OOlfyx','1970950ErILgM','yZVFn','guxWB','WyxlW','DhhWn','CjgEr','INVITE_ME','6550640enYrdC','IGNORE','1812592fiRuMy','approve','14332TkOOPo','MEMBER_EXIT','72kCfAFy','10403440MyuOIS','KICK_MEMBER','178kZfemo','7yrWqiw','INVITED_JOIN','DPesz','JOIN_REQUEST','49530108VaygiE','pCeUo','10644264RjIGYD','APPROVE','TOFsN','OmPLr','ADMIN_UNSET','ADMIN_SET','REJECT'];_0x36b4=function(){return _0x2cde96;};return _0x36b4();}(function(_0x42be81,_0x36c152){var _0x15b322=_0x2299,_0x467395=_0x42be81();while(!![]){try{var _0x38f819=parseInt(_0x15b322(0x167))/0x1*(parseInt(_0x15b322(0x16c))/0x2)+parseInt(_0x15b322(0x15b))/0x3*(parseInt(_0x15b322(0x165))/0x4)+parseInt(_0x15b322(0x163))/0x5+parseInt(_0x15b322(0x14e))/0x6+-parseInt(_0x15b322(0x16d))/0x7*(parseInt(_0x15b322(0x16a))/0x8)+parseInt(_0x15b322(0x169))/0x9*(parseInt(_0x15b322(0x15c))/0xa)+-parseInt(_0x15b322(0x15a))/0xb*(parseInt(_0x15b322(0x171))/0xc);if(_0x38f819===_0x36c152)break;else _0x467395['push'](_0x467395['shift']());}catch(_0x1db9e0){_0x467395['push'](_0x467395['shift']());}}}(_0x36b4,0xeac99));export var GroupNotifyTypes;(function(_0x13c112){var _0x1f406d=_0x2299,_0x303385={'CjgEr':_0x1f406d(0x162),'pCeUo':_0x1f406d(0x16e),'yZVFn':_0x1f406d(0x170),'YhHhr':_0x1f406d(0x153),'DhhWn':_0x1f406d(0x16b),'DPesz':_0x1f406d(0x168),'HJEay':_0x1f406d(0x152)};_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x161)]]=0x1]=_0x303385['CjgEr'],_0x13c112[_0x13c112[_0x1f406d(0x16e)]=0x4]=_0x303385[_0x1f406d(0x14d)],_0x13c112[_0x13c112[_0x303385['yZVFn']]=0x7]=_0x303385[_0x1f406d(0x15d)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x157)]]=0x8]=_0x303385['YhHhr'],_0x13c112[_0x13c112[_0x1f406d(0x16b)]=0x9]=_0x303385[_0x1f406d(0x160)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x16f)]]=0xb]=_0x303385[_0x1f406d(0x16f)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x155)]]=0xc]=_0x303385[_0x1f406d(0x155)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4c94db){var _0x4201e7=_0x2299,_0x2cd7fe={'OmPLr':_0x4201e7(0x164),'WyxlW':'WAIT_HANDLE','guxWB':_0x4201e7(0x14f),'TOFsN':_0x4201e7(0x154)};_0x4c94db[_0x4c94db[_0x4201e7(0x164)]=0x0]=_0x2cd7fe[_0x4201e7(0x151)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x15f)]]=0x1]=_0x2cd7fe[_0x4201e7(0x15f)],_0x4c94db[_0x4c94db[_0x4201e7(0x14f)]=0x2]=_0x2cd7fe[_0x4201e7(0x15e)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x150)]]=0x3]=_0x4201e7(0x154);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2299(_0x3a3cc9,_0x515d29){var _0x36b48a=_0x36b4();return _0x2299=function(_0x2299f8,_0x22dbf7){_0x2299f8=_0x2299f8-0x14d;var _0x20d837=_0x36b48a[_0x2299f8];return _0x20d837;},_0x2299(_0x3a3cc9,_0x515d29);}export var GroupRequestOperateTypes;(function(_0x5d3518){var _0x1c5a6c=_0x2299,_0x48e094={'pRQMp':'approve','lsNsz':_0x1c5a6c(0x156)};_0x5d3518[_0x5d3518[_0x1c5a6c(0x166)]=0x1]=_0x48e094[_0x1c5a6c(0x158)],_0x5d3518[_0x5d3518[_0x48e094[_0x1c5a6c(0x159)]]=0x2]=_0x1c5a6c(0x156);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));

View File

@ -1 +0,0 @@
(function(_0x2fdf6d,_0x19ae82){var _0x40541e=_0x1d41,_0x2bbfd4=_0x2fdf6d();while(!![]){try{var _0x401481=parseInt(_0x40541e(0xc2))/0x1*(-parseInt(_0x40541e(0xb6))/0x2)+-parseInt(_0x40541e(0xbb))/0x3+parseInt(_0x40541e(0xb9))/0x4+parseInt(_0x40541e(0xc0))/0x5+parseInt(_0x40541e(0xbf))/0x6+parseInt(_0x40541e(0xbe))/0x7+parseInt(_0x40541e(0xba))/0x8;if(_0x401481===_0x19ae82)break;else _0x2bbfd4['push'](_0x2bbfd4['shift']());}catch(_0x246cb9){_0x2bbfd4['push'](_0x2bbfd4['shift']());}}}(_0x3b94,0xe60d6));function _0x1d41(_0x556fa8,_0x3ac444){var _0x3b945d=_0x3b94();return _0x1d41=function(_0x1d4191,_0x3a2f95){_0x1d4191=_0x1d4191-0xb6;var _0x305be2=_0x3b945d[_0x1d4191];return _0x305be2;},_0x1d41(_0x556fa8,_0x3ac444);}export var Sex;(function(_0x243a19){var _0x18923b=_0x1d41,_0x1be68d={'pcKHa':'male','GNHjP':_0x18923b(0xbd),'AWSAb':_0x18923b(0xc1)};_0x243a19[_0x243a19[_0x1be68d['pcKHa']]=0x1]=_0x18923b(0xbc),_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb7)]]=0x2]=_0x1be68d[_0x18923b(0xb7)],_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb8)]]=0xff]=_0x1be68d[_0x18923b(0xb8)];}(Sex||(Sex={})));function _0x3b94(){var _0x5f2410=['851755bSueiG','unknown','1631837YJKynR','2XXNqmY','GNHjP','AWSAb','1384896yWlJGx','8201048DkZbtl','4417452Xkincj','male','female','5765795pyaWzB','10087344Pcafxc'];_0x3b94=function(){return _0x5f2410;};return _0x3b94();}

View File

@ -1,4 +0,0 @@
export declare const rkeyHook: {
GetRkey: () => string;
HookRkey: () => string;
};

View File

@ -1 +0,0 @@
const _0x186730=_0x303a;(function(_0x17c9c8,_0x35d5d8){const _0x1da1d7=_0x303a,_0x4f8c79=_0x17c9c8();while(!![]){try{const _0x15f5e7=parseInt(_0x1da1d7(0xb8))/0x1+parseInt(_0x1da1d7(0xb7))/0x2*(-parseInt(_0x1da1d7(0xbb))/0x3)+parseInt(_0x1da1d7(0xbf))/0x4*(-parseInt(_0x1da1d7(0xbd))/0x5)+parseInt(_0x1da1d7(0xbe))/0x6+parseInt(_0x1da1d7(0xba))/0x7*(parseInt(_0x1da1d7(0xb9))/0x8)+-parseInt(_0x1da1d7(0xb6))/0x9+-parseInt(_0x1da1d7(0xbc))/0xa;if(_0x15f5e7===_0x35d5d8)break;else _0x4f8c79['push'](_0x4f8c79['shift']());}catch(_0x3dd1d6){_0x4f8c79['push'](_0x4f8c79['shift']());}}}(_0x271e,0x7e00e));function _0x303a(_0x345c91,_0x4bd761){const _0x271e9b=_0x271e();return _0x303a=function(_0x303a9d,_0xeb29eb){_0x303a9d=_0x303a9d-0xb6;let _0x82522f=_0x271e9b[_0x303a9d];return _0x82522f;},_0x303a(_0x345c91,_0x4bd761);}const Hook=require(_0x186730(0xc0));export const rkeyHook=Hook;function _0x271e(){const _0x57d995=['339441AbvhoL','45160ZMJyID','252WGwFcR','9DNWPHD','7266480yMjfMr','230550TEmGcG','6018186LjlJVA','16iuuPMG','./MoeHoo','200097rcTwKb','64174UtPkGv'];_0x271e=function(){return _0x57d995;};return _0x271e();}

View File

@ -1,14 +0,0 @@
import QQWrapper from './wrapper';
export * from './adapters';
export * from './apis';
export * from './entities';
export * from './listeners';
export * from './services';
export * as Adapters from './adapters';
export * as APIs from './apis';
export * as Entities from './entities';
export * as Listeners from './listeners';
export * as Services from './services';
export { QQWrapper as Wrapper };
export * as WrapperInterface from './wrapper';
export * as SessionConfig from './sessionConfig';

View File

@ -1 +0,0 @@
(function(_0x7b2e0,_0x12d010){var _0x1e7cdf=_0x228f,_0x1882da=_0x7b2e0();while(!![]){try{var _0x4d8ebd=-parseInt(_0x1e7cdf(0xcb))/0x1+parseInt(_0x1e7cdf(0xc7))/0x2*(parseInt(_0x1e7cdf(0xc4))/0x3)+parseInt(_0x1e7cdf(0xc6))/0x4*(parseInt(_0x1e7cdf(0xcc))/0x5)+parseInt(_0x1e7cdf(0xca))/0x6+-parseInt(_0x1e7cdf(0xc8))/0x7+parseInt(_0x1e7cdf(0xc5))/0x8+-parseInt(_0x1e7cdf(0xc9))/0x9;if(_0x4d8ebd===_0x12d010)break;else _0x1882da['push'](_0x1882da['shift']());}catch(_0xabc820){_0x1882da['push'](_0x1882da['shift']());}}}(_0x9067,0xe304e));import _0x1c303b from'./wrapper';export*from'./adapters';function _0x9067(){var _0x4a4db8=['31448EslOgu','8748061chKGrf','10233855xWbLTh','7096140ldPDFI','1795459pckVxy','26635zYrfed','252gcBdHc','12345928nSGhsT','800awVJjv'];_0x9067=function(){return _0x4a4db8;};return _0x9067();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x228f(_0x1e4a34,_0x6f48c0){var _0x90675=_0x9067();return _0x228f=function(_0x228faa,_0x295f68){_0x228faa=_0x228faa-0xc4;var _0x2d73af=_0x90675[_0x228faa];return _0x2d73af;},_0x228f(_0x1e4a34,_0x6f48c0);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1c303b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';

View File

@ -1 +0,0 @@
var _0x22541a=_0x5c6e;(function(_0x38e2fb,_0x42a93d){var _0x3cd32f=_0x5c6e,_0x49f393=_0x38e2fb();while(!![]){try{var _0x56c5c6=parseInt(_0x3cd32f(0x191))/0x1+-parseInt(_0x3cd32f(0x186))/0x2*(parseInt(_0x3cd32f(0x196))/0x3)+-parseInt(_0x3cd32f(0x199))/0x4+parseInt(_0x3cd32f(0x18d))/0x5+parseInt(_0x3cd32f(0x188))/0x6*(parseInt(_0x3cd32f(0x190))/0x7)+parseInt(_0x3cd32f(0x189))/0x8*(parseInt(_0x3cd32f(0x195))/0x9)+-parseInt(_0x3cd32f(0x192))/0xa*(-parseInt(_0x3cd32f(0x18c))/0xb);if(_0x56c5c6===_0x42a93d)break;else _0x49f393['push'](_0x49f393['shift']());}catch(_0x150a63){_0x49f393['push'](_0x49f393['shift']());}}}(_0x1b2d,0xa3291));function _0x5c6e(_0x198146,_0x408925){var _0x1b2d36=_0x1b2d();return _0x5c6e=function(_0x5c6e83,_0x1eae19){_0x5c6e83=_0x5c6e83-0x186;var _0x3adb10=_0x1b2d36[_0x5c6e83];return _0x3adb10;},_0x5c6e(_0x198146,_0x408925);}function _0x1b2d(){var _0x1673c4=['354oRxzYN','74944mYoTbi','onNickUpdated','onCheckBuddySettingResult','88957lRXekX','4567375fZjQGZ','onDoubtBuddyReqUnreadNumChange','onBuddyRemarkUpdated','44009rIiuXI','1121642qtYRar','590oHSNCB','onAddBuddyNeedVerify','onBuddyListChange','261DKrfaq','3745347SRqTUl','onBuddyReqUnreadCntChange','onDelBatchBuddyInfos','4952404WAodnR','onDoubtBuddyReqChange','2hAGKiW','onSmartInfos'];_0x1b2d=function(){return _0x1673c4;};return _0x1b2d();}export class BuddyListener{[_0x22541a(0x193)](_0x167caf){}['onAddMeSettingChanged'](_0x4a4ae4){}['onAvatarUrlUpdated'](_0x1174a5){}['onBlockChanged'](_0x16a206){}['onBuddyDetailInfoChange'](_0x59e55e){}['onBuddyInfoChange'](_0x51fc65){}[_0x22541a(0x194)](_0x28528e){}[_0x22541a(0x18f)](_0x103d7){}['onBuddyReqChange'](_0x265312){}[_0x22541a(0x197)](_0x9d10a7){}[_0x22541a(0x18b)](_0x2e97f2){}[_0x22541a(0x198)](_0x1cb85){}[_0x22541a(0x19a)](_0x3e08ba){}[_0x22541a(0x18e)](_0x28ea72){}[_0x22541a(0x18a)](_0x34b6d7){}[_0x22541a(0x187)](_0x17de79){}['onSpacePermissionInfos'](_0x20434){}}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
function _0x4d6c(){var _0x3e337d=['18BJunfM','onQRCodeGetPicture','7889544arRmJo','onLogoutFailed','onPasswordLoginFailed','onQRCodeLoginPollingStarted','onLogoutSucceed','onLoginState','1281HwkrmW','4593568YPqyoJ','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','31914918PNEkJn','onLoginConnecting','onQRCodeSessionFailed','onUserLoggedIn','1860167UfUWAb','OnConfirmUnusualDeviceFailed','2438084KSUBnq','2606655jIyItf','18424LlGzLU','onLoginDisConnected','onLoginConnected'];_0x4d6c=function(){return _0x3e337d;};return _0x4d6c();}var _0x368da3=_0x3335;function _0x3335(_0x57cd10,_0xa8bc55){var _0x4d6c6c=_0x4d6c();return _0x3335=function(_0x3335b9,_0x10b63a){_0x3335b9=_0x3335b9-0x1dd;var _0x1049f7=_0x4d6c6c[_0x3335b9];return _0x1049f7;},_0x3335(_0x57cd10,_0xa8bc55);}(function(_0x181a73,_0x5eb4f2){var _0x5df1ef=_0x3335,_0x5e9ade=_0x181a73();while(!![]){try{var _0x370035=parseInt(_0x5df1ef(0x1e0))/0x1+-parseInt(_0x5df1ef(0x1e2))/0x2+-parseInt(_0x5df1ef(0x1ef))/0x3*(parseInt(_0x5df1ef(0x1e4))/0x4)+parseInt(_0x5df1ef(0x1e3))/0x5*(-parseInt(_0x5df1ef(0x1e7))/0x6)+-parseInt(_0x5df1ef(0x1f0))/0x7+parseInt(_0x5df1ef(0x1e9))/0x8+parseInt(_0x5df1ef(0x1f3))/0x9;if(_0x370035===_0x5eb4f2)break;else _0x5e9ade['push'](_0x5e9ade['shift']());}catch(_0x2d888e){_0x5e9ade['push'](_0x5e9ade['shift']());}}}(_0x4d6c,0xf0d49));export class LoginListener{[_0x368da3(0x1e6)](..._0x2e46bf){}[_0x368da3(0x1e5)](..._0x50d32d){}[_0x368da3(0x1dd)](..._0xdf191d){}[_0x368da3(0x1e8)](_0x419c83){}[_0x368da3(0x1ec)](..._0x7796e6){}['onQRCodeSessionUserScaned'](..._0x1a5bfa){}[_0x368da3(0x1f1)](..._0x1ba7c5){}[_0x368da3(0x1de)](..._0x2947ae){}['onLoginFailed'](..._0x140c53){}[_0x368da3(0x1ed)](..._0x18c909){}[_0x368da3(0x1ea)](..._0x456016){}[_0x368da3(0x1df)](..._0x45ace8){}[_0x368da3(0x1f2)](..._0x124c99){}[_0x368da3(0x1eb)](..._0x219679){}[_0x368da3(0x1e1)](..._0xc2791c){}['onQQLoginNumLimited'](..._0x2b69ca){}[_0x368da3(0x1ee)](..._0x118e13){}}

View File

@ -1 +0,0 @@
function _0x4857(_0x478cfa,_0x1e4bc1){var _0x1916e2=_0x1916();return _0x4857=function(_0x485717,_0x4aa074){_0x485717=_0x485717-0x98;var _0xfce07f=_0x1916e2[_0x485717];return _0xfce07f;},_0x4857(_0x478cfa,_0x1e4bc1);}function _0x1916(){var _0x50ee72=['onFirstViewDirectMsgUpdate','onNtMsgSyncStart','onUnreadCntAfterFirstView','6378mlxtaT','onRecvGroupGuildFlag','1480404zsFxNk','onGroupFileInfoUpdate','onFileMsgCome','onKickedOffLine','onUserChannelTabStatusChanged','onGroupTransferInfoUpdate','onRichMediaProgerssUpdate','onGroupGuildUpdate','onImportOldDbProgressUpdate','11CoOBXk','onlineStatusSmallIconDownloadPush','onMsgInfoListUpdate','onMsgSettingUpdate','onRedTouchChanged','onSendMsgError','onNtFirstViewMsgSyncEnd','6723516ZAVavh','onSearchGroupFileInfoUpdate','8qImgZP','onUnreadCntUpdate','onMsgEventListUpdate','onFeedEventUpdate','onMsgRecall','27pTotel','onHitEmojiKeywordResult','onReadFeedEventUpdate','onEmojiResourceUpdate','41837fHgFbS','onCustomWithdrawConfigUpdate','onMsgBoxChanged','2118704nwiGfg','onAddSendMsg','onMsgAbstractUpdate','onGuildInteractiveUpdate','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','onlineStatusBigIconDownloadPush','onMsgInfoListAdd','1161760EYFRCi','onHitRelatedEmojiResult','onChannelFreqLimitInfoUpdate','onTempChatInfoUpdate','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','474xOHrtl','onRichMediaDownloadComplete','onMsgWithRichLinkInfoUpdate','onDraftUpdate','4278wRJpUX','onContactUnreadCntUpdate','onRecvS2CMsg','onMsgQRCodeStatusChanged','onBroadcastHelperProgressUpdate','onRecvSysMsg','onRecvMsgSvrRspTransInfo','onGroupFileInfoAdd','onNtMsgSyncEnd','1660wKjGMb','onInputStatusPush','onMsgDelete','onLogLevelChanged','onGroupTransferInfoAdd'];_0x1916=function(){return _0x50ee72;};return _0x1916();}var _0x3539cc=_0x4857;(function(_0x97bff1,_0x3c9e3c){var _0x17e48c=_0x4857,_0x3171f5=_0x97bff1();while(!![]){try{var _0xa846b4=parseInt(_0x17e48c(0xca))/0x1+parseInt(_0x17e48c(0x98))/0x2*(-parseInt(_0x17e48c(0x9c))/0x3)+-parseInt(_0x17e48c(0xaf))/0x4+-parseInt(_0x17e48c(0xa5))/0x5*(parseInt(_0x17e48c(0xad))/0x6)+-parseInt(_0x17e48c(0xcd))/0x7*(-parseInt(_0x17e48c(0xc1))/0x8)+-parseInt(_0x17e48c(0xc6))/0x9*(-parseInt(_0x17e48c(0xd5))/0xa)+parseInt(_0x17e48c(0xb8))/0xb*(parseInt(_0x17e48c(0xbf))/0xc);if(_0xa846b4===_0x3c9e3c)break;else _0x3171f5['push'](_0x3171f5['shift']());}catch(_0x5e8ac0){_0x3171f5['push'](_0x3171f5['shift']());}}}(_0x1916,0x2ef5f));export class MsgListener{[_0x3539cc(0xce)](_0x35e77b){}['onBroadcastHelperDownloadComplete'](_0x5f40b9){}[_0x3539cc(0xa0)](_0x3c8ef1){}[_0x3539cc(0xd7)](_0x3d4773,_0x3f05a6,_0x271bd1){}[_0x3539cc(0x9d)](_0x27def0){}[_0x3539cc(0xcb)](_0x5b7d9e){}[_0x3539cc(0x9b)](_0x5a4b81,_0x1c2c7d,_0x2621a5){}['onEmojiDownloadComplete'](_0x454f91){}[_0x3539cc(0xc9)](_0x224733){}[_0x3539cc(0xc4)](_0xf21a7e){}[_0x3539cc(0xb1)](_0x3f1b7b){}[_0x3539cc(0xaa)](_0x54435d){}['onFirstViewGroupGuildMapping'](_0x3039c9){}[_0x3539cc(0xd9)](_0x2694c4,_0x3e1078,_0x509a47,_0x2cd500,_0x60d079){}[_0x3539cc(0xa3)](_0x4faf83){}[_0x3539cc(0xb0)](_0x1fb38c){}[_0x3539cc(0xb6)](_0xfd564c){}[_0x3539cc(0xa9)](_0x20e66f){}[_0x3539cc(0xb4)](_0x3076ed){}[_0x3539cc(0xd0)](_0x4fbdd0){}[_0x3539cc(0xda)](_0x11b7a6){}[_0x3539cc(0xd2)](_0x201c52){}[_0x3539cc(0xd1)](_0x20b675){}[_0x3539cc(0xc7)](_0x590aeb){}[_0x3539cc(0xd6)](_0xf1eaa9){}[_0x3539cc(0xb7)](_0x3294e1){}[_0x3539cc(0xa6)](_0x34fa86){}[_0x3539cc(0xb2)](_0x298d10){}['onLineDev'](_0x417b8a){}[_0x3539cc(0xa8)](_0x5889ba){}[_0x3539cc(0xcf)](_0x471ac1){}[_0x3539cc(0xcc)](_0x445ed1){}[_0x3539cc(0xa7)](_0x114878,_0x347ef3){}[_0x3539cc(0xc3)](_0x2ade52){}[_0x3539cc(0xd4)](_0xed1718){}[_0x3539cc(0xba)](_0x14c758){}[_0x3539cc(0x9f)](_0x17151b){}[_0x3539cc(0xc5)](_0x5ccc0b,_0x3c0c9c,_0x254e69){}['onMsgSecurityNotify'](_0x2a8763){}[_0x3539cc(0xbb)](_0x1f82b5){}[_0x3539cc(0xbe)](){}[_0x3539cc(0xa4)](){}[_0x3539cc(0xab)](){}[_0x3539cc(0xc8)](_0x2ea65b){}[_0x3539cc(0xae)](_0x3bad2b){}['onRecvMsg'](_0x31f678){}[_0x3539cc(0xa2)](_0x9deca3,_0x5dd1cc,_0x8f7cc6,_0x2b9e49,_0x182d6e,_0x2d69c7){}['onRecvOnlineFileMsg'](_0x11a919){}[_0x3539cc(0x9e)](_0x3f27cf){}[_0x3539cc(0xa1)](_0x3ba5e2){}['onRecvUDCFlag'](_0x34d0b6){}[_0x3539cc(0x99)](_0x548aaf){}[_0x3539cc(0xb5)](_0x4ccf3a){}['onRichMediaUploadComplete'](_0x211a3f){}[_0x3539cc(0xc0)](_0x4abc4f){}[_0x3539cc(0xbd)](_0x2a249a,_0x8242af,_0xfe91b,_0x29ffe7){}['onSysMsgNotification'](_0xdf1c8d,_0x2c4381,_0x1b91fd,_0x4c3769){}[_0x3539cc(0xd8)](_0x565737){}[_0x3539cc(0xac)](_0x1ff896){}[_0x3539cc(0xc2)](_0x22dba9){}[_0x3539cc(0xb3)](_0x36eefa){}['onUserOnlineStatusChanged'](_0x1caeee){}['onUserTabStatusChanged'](_0x586014){}[_0x3539cc(0xd3)](_0x24b19e,_0x404306,_0x1fa604){}[_0x3539cc(0xb9)](_0x4e2651,_0x316fde,_0x256bb2){}['onUserSecQualityChanged'](..._0x4ca7c8){}[_0x3539cc(0x9a)](..._0xc23e36){}[_0x3539cc(0xbc)](..._0x1dd596){}}

View File

@ -1 +0,0 @@
var _0x3c7742=_0xf4ca;function _0x34f7(){var _0x3828a5=['onStatusUpdate','242103fAGScf','3518459hdjPxc','51930eWwnMD','64510MNkStp','1344WpMMSk','3446856krBoah','1544436bJNlXQ','onStrangerRemarkChanged','onSelfStatusChanged','26IEkitY','128324GAUyDJ'];_0x34f7=function(){return _0x3828a5;};return _0x34f7();}function _0xf4ca(_0x590e4b,_0x47b8f7){var _0x34f764=_0x34f7();return _0xf4ca=function(_0xf4ca55,_0x2cacbb){_0xf4ca55=_0xf4ca55-0xec;var _0x21236d=_0x34f764[_0xf4ca55];return _0x21236d;},_0xf4ca(_0x590e4b,_0x47b8f7);}(function(_0x3f1d97,_0x1aebe1){var _0x490265=_0xf4ca,_0x4d8557=_0x3f1d97();while(!![]){try{var _0x5abb87=-parseInt(_0x490265(0xf0))/0x1+parseInt(_0x490265(0xef))/0x2*(parseInt(_0x490265(0xf2))/0x3)+-parseInt(_0x490265(0xec))/0x4+parseInt(_0x490265(0xf5))/0x5+parseInt(_0x490265(0xf7))/0x6+parseInt(_0x490265(0xf3))/0x7+parseInt(_0x490265(0xf6))/0x8*(-parseInt(_0x490265(0xf4))/0x9);if(_0x5abb87===_0x1aebe1)break;else _0x4d8557['push'](_0x4d8557['shift']());}catch(_0x4a5c43){_0x4d8557['push'](_0x4d8557['shift']());}}}(_0x34f7,0x9ffe7));export class ProfileListener{['onProfileSimpleChanged'](..._0x1d73c7){}['onProfileDetailInfoChanged'](_0x3a77df){}[_0x3c7742(0xf1)](..._0x38eab0){}[_0x3c7742(0xee)](..._0x3d4f9f){}[_0x3c7742(0xed)](..._0x51400a){}}

View File

@ -1 +0,0 @@
function _0xd068(_0x52352b,_0x307f35){var _0x353fab=_0x353f();return _0xd068=function(_0xd068e6,_0x4a1ec8){_0xd068e6=_0xd068e6-0x13b;var _0x1896fb=_0x353fab[_0xd068e6];return _0x1896fb;},_0xd068(_0x52352b,_0x307f35);}var _0x47640e=_0xd068;function _0x353f(){var _0x5c41af=['onSessionInitComplete','420936sysupS','1549928LaOnFp','305310yeGbDv','onOpentelemetryInit','11yISdNW','18354864CvoDXZ','onNTSessionCreate','5TwbZRT','28uviBzf','4167812czoVUE','919470dzDrGb','5271bzazVg','onUserOnlineResult','148REsuhG','onGProSessionCreate','90PTSbYG'];_0x353f=function(){return _0x5c41af;};return _0x353f();}(function(_0x401e97,_0x471d4c){var _0x232b72=_0xd068,_0x4e24c6=_0x401e97();while(!![]){try{var _0x5d69d=parseInt(_0x232b72(0x145))/0x1+parseInt(_0x232b72(0x148))/0x2*(parseInt(_0x232b72(0x146))/0x3)+-parseInt(_0x232b72(0x144))/0x4*(parseInt(_0x232b72(0x142))/0x5)+parseInt(_0x232b72(0x13b))/0x6+parseInt(_0x232b72(0x143))/0x7*(-parseInt(_0x232b72(0x13c))/0x8)+-parseInt(_0x232b72(0x14a))/0x9*(parseInt(_0x232b72(0x13d))/0xa)+-parseInt(_0x232b72(0x13f))/0xb*(-parseInt(_0x232b72(0x140))/0xc);if(_0x5d69d===_0x471d4c)break;else _0x4e24c6['push'](_0x4e24c6['shift']());}catch(_0x5ed231){_0x4e24c6['push'](_0x4e24c6['shift']());}}}(_0x353f,0x80a8d));export class SessionListener{[_0x47640e(0x141)](_0x45c465){}[_0x47640e(0x149)](_0x4d71d7){}[_0x47640e(0x14b)](_0x3bb0f1){}[_0x47640e(0x13e)](_0x5b24e9){}[_0x47640e(0x147)](_0x5f3d47){}['onGetSelfTinyId'](_0x5a557a){}}

View File

@ -1 +0,0 @@
(function(_0x168183,_0x106c5a){var _0x9ced02=_0x1563,_0xf2e445=_0x168183();while(!![]){try{var _0x272307=-parseInt(_0x9ced02(0x155))/0x1+-parseInt(_0x9ced02(0x14f))/0x2*(parseInt(_0x9ced02(0x152))/0x3)+-parseInt(_0x9ced02(0x14e))/0x4*(-parseInt(_0x9ced02(0x151))/0x5)+-parseInt(_0x9ced02(0x14d))/0x6+-parseInt(_0x9ced02(0x154))/0x7*(-parseInt(_0x9ced02(0x150))/0x8)+-parseInt(_0x9ced02(0x156))/0x9+-parseInt(_0x9ced02(0x14c))/0xa*(-parseInt(_0x9ced02(0x153))/0xb);if(_0x272307===_0x106c5a)break;else _0xf2e445['push'](_0xf2e445['shift']());}catch(_0x34289a){_0xf2e445['push'](_0xf2e445['shift']());}}}(_0x2185,0x91508));function _0x2185(){var _0x3134b1=['1752720CsiQhw','4oKIbQP','58fdYMra','390792pTYCFs','2757735qKkUhj','98919aMKskC','11JYJMsT','133ZnNdWB','473834zgLYdj','2870829gqdEuK','11566820egnBbc'];_0x2185=function(){return _0x3134b1;};return _0x2185();}function _0x1563(_0x5493ee,_0x3862b2){var _0x218562=_0x2185();return _0x1563=function(_0x15632e,_0x5d920c){_0x15632e=_0x15632e-0x14c;var _0x55cf32=_0x218562[_0x15632e];return _0x55cf32;},_0x1563(_0x5493ee,_0x3862b2);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20';

View File

@ -1 +0,0 @@
(function(_0xbc1e5a,_0x258030){var _0x4830d3=_0x1b9a,_0x1be01a=_0xbc1e5a();while(!![]){try{var _0x37368c=parseInt(_0x4830d3(0x73))/0x1*(-parseInt(_0x4830d3(0x7a))/0x2)+parseInt(_0x4830d3(0x74))/0x3+-parseInt(_0x4830d3(0x78))/0x4*(-parseInt(_0x4830d3(0x79))/0x5)+-parseInt(_0x4830d3(0x7b))/0x6+-parseInt(_0x4830d3(0x75))/0x7+-parseInt(_0x4830d3(0x77))/0x8+-parseInt(_0x4830d3(0x76))/0x9*(-parseInt(_0x4830d3(0x7c))/0xa);if(_0x37368c===_0x258030)break;else _0x1be01a['push'](_0x1be01a['shift']());}catch(_0x3e1d59){_0x1be01a['push'](_0x1be01a['shift']());}}}(_0x4324,0x58bff));function _0x1b9a(_0x202260,_0x498bef){var _0x43243e=_0x4324();return _0x1b9a=function(_0x1b9a57,_0xfabeb1){_0x1b9a57=_0x1b9a57-0x73;var _0x49ca09=_0x43243e[_0x1b9a57];return _0x49ca09;},_0x1b9a(_0x202260,_0x498bef);}export var GeneralCallResultStatus;(function(_0x36a30e){_0x36a30e[_0x36a30e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x4324(){var _0x103a8b=['23903090FlWbGf','9yRvCDF','176142wWCqdb','4875465JydHGa','9LtMtzD','4719440woTqHC','245780KhHdzR','35aKfGSo','130506KACwbE','3851502PwHQvd'];_0x4324=function(){return _0x103a8b;};return _0x4324();}

View File

@ -1 +0,0 @@
(function(_0x14bb60,_0x1b5d2e){var _0x106c42=_0x1247,_0x585928=_0x14bb60();while(!![]){try{var _0x36df6a=-parseInt(_0x106c42(0x10b))/0x1*(parseInt(_0x106c42(0x10e))/0x2)+-parseInt(_0x106c42(0x108))/0x3*(-parseInt(_0x106c42(0x106))/0x4)+parseInt(_0x106c42(0x104))/0x5*(parseInt(_0x106c42(0x109))/0x6)+-parseInt(_0x106c42(0x10c))/0x7+parseInt(_0x106c42(0x105))/0x8*(parseInt(_0x106c42(0x10a))/0x9)+-parseInt(_0x106c42(0x10d))/0xa+-parseInt(_0x106c42(0x107))/0xb;if(_0x36df6a===_0x1b5d2e)break;else _0x585928['push'](_0x585928['shift']());}catch(_0x20d641){_0x585928['push'](_0x585928['shift']());}}}(_0x5d90,0x5bbd3));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x1247(_0x13b53c,_0x405003){var _0x5d9041=_0x5d90();return _0x1247=function(_0x1247ab,_0x5e5688){_0x1247ab=_0x1247ab-0x104;var _0x47fb93=_0x5d9041[_0x1247ab];return _0x47fb93;},_0x1247(_0x13b53c,_0x405003);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x5d90(){var _0x31854b=['15crCnOz','192zGwADF','56928TzRugv','4971296jWZHtw','111bbwETT','1157880CeKgtI','214902xkSwek','13985xTDfAH','2489466nswfWP','1176640jPlFhx','54LxljlT'];_0x5d90=function(){return _0x31854b;};return _0x5d90();}

View File

@ -1 +0,0 @@
(function(_0x4dbf87,_0x18764f){const _0x24ab2f=_0xec43,_0x22f3ce=_0x4dbf87();while(!![]){try{const _0x5253f5=-parseInt(_0x24ab2f(0x91))/0x1*(-parseInt(_0x24ab2f(0x90))/0x2)+-parseInt(_0x24ab2f(0x95))/0x3*(-parseInt(_0x24ab2f(0x8a))/0x4)+-parseInt(_0x24ab2f(0x8e))/0x5+-parseInt(_0x24ab2f(0x9c))/0x6*(-parseInt(_0x24ab2f(0x8b))/0x7)+-parseInt(_0x24ab2f(0x86))/0x8+parseInt(_0x24ab2f(0x87))/0x9+parseInt(_0x24ab2f(0x89))/0xa;if(_0x5253f5===_0x18764f)break;else _0x22f3ce['push'](_0x22f3ce['shift']());}catch(_0x283ab7){_0x22f3ce['push'](_0x22f3ce['shift']());}}}(_0x3da3,0xecc5c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0xec43(_0x239b07,_0x2f8737){const _0x3da304=_0x3da3();return _0xec43=function(_0xec436b,_0x33f133){_0xec436b=_0xec436b-0x84;let _0x2a655c=_0x3da304[_0xec436b];return _0x2a655c;},_0xec43(_0x239b07,_0x2f8737);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3ae48e from'node:path';import _0x5a3b9b from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x3da3(){const _0x27ab31=['1819732YFBNhh','168889zpitjo','temp','log','2927470OJvEoE','guid.txt','2yXUyUP','344737BXKJKX','fbNMU','utf-8','version','9HtcllX','join','pBgsx','yLtlC','vXoae','ortya','readFileSync','324ytqwCU','NapCat','downloadPath','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','15130080oKANyv','3321972VjcyZr','mkdirSync','650720gqXFSL'];_0x3da3=function(){return _0x27ab31;};return _0x3da3();}export function genSessionConfig(_0x2e5425,_0x535177,_0x2078ef){const _0x5e3663=_0xec43,_0x268b3c={'fbNMU':_0x5e3663(0x9d),'PYrKx':_0x5e3663(0x8c),'yLtlC':_0x5e3663(0x84),'ortya':function(_0x2d765c){return _0x2d765c();},'vXoae':_0x5e3663(0x93),'pBgsx':_0x5e3663(0x85)},_0x305052=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x268b3c['PYrKx']);console[_0x5e3663(0x8d)](_0x268b3c[_0x5e3663(0x98)],_0x305052),_0x5a3b9b[_0x5e3663(0x88)](_0x305052,{'recursive':!![]});const _0x39890e=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x5e3663(0x8f));let _0x22d7dd=_0x268b3c[_0x5e3663(0x9a)](randomUUID);try{_0x22d7dd=_0x5a3b9b[_0x5e3663(0x9b)](_0x3ae48e[_0x5e3663(0x96)](_0x39890e),_0x5e3663(0x93));}catch(_0x49c7e8){_0x5a3b9b['writeFileSync'](_0x3ae48e['join'](_0x39890e),_0x22d7dd,_0x268b3c[_0x5e3663(0x99)]);}const _0x5bb943={'selfUin':_0x2e5425,'selfUid':_0x535177,'desktopPathConfig':{'account_path':_0x2078ef},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x305052,'deviceInfo':{'guid':_0x22d7dd,'buildVer':qqPkgInfo[_0x5e3663(0x94)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x268b3c[_0x5e3663(0x97)]};return sessionConfig=_0x5bb943,console[_0x5e3663(0x8d)](sessionConfig),_0x5bb943;}

View File

@ -1,103 +0,0 @@
import { WrapperSessionInitConfig } from './sessionConfig';
import { NodeIDependsAdapter, NodeIDispatcherAdapter, NodeIGlobalAdapter } from './adapters';
import { NodeIKernelSessionListener, NodeIKernelMsgListener, NodeIKernelLoginListener, NodeIKernelBuddyListener, NodeIKernelGroupListener, NodeIKernelProfileListener } from './listeners';
import { NodeIKernelLoginService, NodeIKernelMsgService, NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from './services';
export interface NodeQQNTWrapperUtil {
new (): NodeQQNTWrapperUtil;
getNTUserDataInfoConfig(): string;
emptyWorkingSet(n: 38704): void;
getSsoCmdOfOidbReq(...args: unknown[]): unknown;
getSsoBufferOfOidbReq(...args: unknown[]): unknown;
getOidbRspInfo(...args: unknown[]): unknown;
getFileSize(...args: unknown[]): Promise<number>;
genFileMd5Buf(...args: unknown[]): unknown;
genFileMd5Hex(...args: unknown[]): unknown;
genFileShaBuf(...args: unknown[]): unknown;
genFileCumulateSha1(...args: unknown[]): unknown;
genFileShaHex(...args: unknown[]): unknown;
fileIsExist(...args: unknown[]): unknown;
startTrace(...args: unknown[]): unknown;
copyFile(...args: unknown[]): unknown;
genFileShaAndMd5Hex(...args: unknown[]): unknown;
setTraceInfo(...args: unknown[]): unknown;
encodeOffLine(...args: unknown[]): unknown;
decodeOffLine(...args: unknown[]): unknown;
DecoderRecentInfo(...args: unknown[]): unknown;
getPinyin(...args: unknown[]): unknown;
matchInPinyin(...args: unknown[]): unknown;
makeDirByPath(...args: unknown[]): unknown;
emptyWorkingSet(...args: unknown[]): unknown;
runProcess(...args: unknown[]): unknown;
runProcessArgs(...args: unknown[]): unknown;
calcThumbSize(...args: unknown[]): unknown;
fullWordToHalfWord(...args: unknown[]): unknown;
getNTUserDataInfoConfig(...args: unknown[]): unknown;
pathIsReadableAndWriteable(...args: unknown[]): unknown;
resetUserDataSavePathToDocument(...args: unknown[]): unknown;
getSoBuildInfo(...args: unknown[]): unknown;
registerCountInstruments(...args: unknown[]): unknown;
registerValueInstruments(...args: unknown[]): unknown;
registerValueInstrumentsWithBoundary(...args: unknown[]): unknown;
reportCountIndicators(...args: unknown[]): unknown;
reportValueIndicators(...args: unknown[]): unknown;
checkNewUserDataSaveDirAvailable(...args: unknown[]): unknown;
copyUserData(...args: unknown[]): unknown;
setUserDataSaveDirectory(...args: unknown[]): unknown;
hasOtherRunningQQProcess(...args: unknown[]): unknown;
quitAllRunningQQProcess(...args: unknown[]): unknown;
checkNvidiaConfig(...args: unknown[]): unknown;
repairNvidiaConfig(...args: unknown[]): unknown;
getNvidiaDriverVersion(...args: unknown[]): unknown;
isNull(...args: unknown[]): unknown;
}
export interface NodeIQQNTWrapperSession {
new (): NodeIQQNTWrapperSession;
init(wrapperSessionInitConfig: WrapperSessionInitConfig, nodeIDependsAdapter: NodeIDependsAdapter, nodeIDispatcherAdapter: NodeIDispatcherAdapter, nodeIKernelSessionListener: NodeIKernelSessionListener): void;
startNT(n: 0): void;
startNT(): void;
getMsgService(): NodeIKernelMsgService;
getProfileService(): NodeIKernelProfileService;
getProfileLikeService(): NodeIKernelProfileLikeService;
getGroupService(): NodeIKernelGroupService;
getBuddyService(): NodeIKernelBuddyService;
}
export interface EnginInitDesktopConfig {
base_path_prefix: string;
platform_type: 3;
app_type: 4;
app_version: string;
os_version: string;
use_xlog: true;
qua: string;
global_path_config: {
desktopGlobalPath: string;
};
thumb_config: {
maxSide: 324;
minSide: 48;
longLimit: 6;
density: 2;
};
}
export interface NodeIQQNTWrapperEngine {
new (): NodeIQQNTWrapperEngine;
initWithDeskTopConfig(config: EnginInitDesktopConfig, nodeIGlobalAdapter: NodeIGlobalAdapter): void;
}
interface WrapperNodeApi {
NodeIKernelBuddyListener: NodeIKernelBuddyListener;
NodeIKernelGroupListener: NodeIKernelGroupListener;
NodeQQNTWrapperUtil: NodeQQNTWrapperUtil;
NodeIQQNTWrapperSession: NodeIQQNTWrapperSession;
NodeIKernelMsgListener: NodeIKernelMsgListener;
NodeIQQNTWrapperEngine: NodeIQQNTWrapperEngine;
NodeIGlobalAdapter: NodeIGlobalAdapter;
NodeIDependsAdapter: NodeIDependsAdapter;
NodeIDispatcherAdapter: NodeIDispatcherAdapter;
NodeIKernelSessionListener: NodeIKernelSessionListener;
NodeIKernelLoginService: NodeIKernelLoginService;
NodeIKernelLoginListener: NodeIKernelLoginListener;
NodeIKernelProfileService: NodeIKernelProfileService;
NodeIKernelProfileListener: NodeIKernelProfileListener;
}
declare const QQWrapper: WrapperNodeApi;
export default QQWrapper;

View File

@ -1 +0,0 @@
const _0x19f0be=_0x4e91;function _0x1baa(){const _0x37ad04=['curVersion','execPath','5801537XbvzQF','1117724NRmdzJ','1521552MLgKbc','./resources/app/wrapper.node','1823736uxLqiN','2358462lEvHmx','20rKmKbj','join','36ciiHGs','existsSync','178842VZsjsa','resources/app/versions/','/wrapper.node','resolve','1841144lKSeIz'];_0x1baa=function(){return _0x37ad04;};return _0x1baa();}(function(_0xd07544,_0x23bced){const _0x33efa3=_0x4e91,_0x14019a=_0xd07544();while(!![]){try{const _0x520223=parseInt(_0x33efa3(0x8e))/0x1+parseInt(_0x33efa3(0x97))/0x2+parseInt(_0x33efa3(0x92))/0x3+-parseInt(_0x33efa3(0x91))/0x4+parseInt(_0x33efa3(0x93))/0x5*(-parseInt(_0x33efa3(0x8f))/0x6)+-parseInt(_0x33efa3(0x9e))/0x7+-parseInt(_0x33efa3(0x9b))/0x8*(-parseInt(_0x33efa3(0x95))/0x9);if(_0x520223===_0x23bced)break;else _0x14019a['push'](_0x14019a['shift']());}catch(_0x1158fa){_0x14019a['push'](_0x14019a['shift']());}}}(_0x1baa,0x9617a));import _0x4e2600 from'node:path';import _0x4ca776 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x4e2600[_0x19f0be(0x9a)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x90));function _0x4e91(_0x3caf03,_0x51ad3b){const _0x1baaf2=_0x1baa();return _0x4e91=function(_0x4e91c2,_0x362f7c){_0x4e91c2=_0x4e91c2-0x8e;let _0x2cd6af=_0x1baaf2[_0x4e91c2];return _0x2cd6af;},_0x4e91(_0x3caf03,_0x51ad3b);}!_0x4ca776[_0x19f0be(0x96)](wrapperNodePath)&&(wrapperNodePath=_0x4e2600[_0x19f0be(0x94)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x98)+qqVersionConfigInfo[_0x19f0be(0x9c)]+_0x19f0be(0x99)));const QQWrapper=require(wrapperNodePath);export default QQWrapper;

View File

@ -1,19 +0,0 @@
import { BuddyListener } from '../qqnt/listeners';
import { NodeIKernelBuddyService } from '../qqnt/services';
/**
* NapCat
*
* **** `init`
*/
export declare class NapCatCoreServiceBuddy {
kernelService: NodeIKernelBuddyService | null;
readonly listener: BuddyListener;
constructor();
/**
*
* @param {NodeIKernelBuddyService} service
* @returns {void}
*/
init(service: NodeIKernelBuddyService): void;
addBuddyListener(listener: BuddyListener): void;
}

View File

@ -1 +0,0 @@
const _0x10ad30=_0x2622;(function(_0x56ac06,_0x56c554){const _0x1c7000=_0x2622,_0x400817=_0x56ac06();while(!![]){try{const _0x2b2bf4=-parseInt(_0x1c7000(0x11b))/0x1*(-parseInt(_0x1c7000(0x113))/0x2)+-parseInt(_0x1c7000(0x11e))/0x3+parseInt(_0x1c7000(0x114))/0x4+parseInt(_0x1c7000(0x121))/0x5*(-parseInt(_0x1c7000(0x120))/0x6)+-parseInt(_0x1c7000(0x11a))/0x7*(parseInt(_0x1c7000(0x117))/0x8)+-parseInt(_0x1c7000(0x116))/0x9*(parseInt(_0x1c7000(0x115))/0xa)+parseInt(_0x1c7000(0x126))/0xb;if(_0x2b2bf4===_0x56c554)break;else _0x400817['push'](_0x400817['shift']());}catch(_0x22ba32){_0x400817['push'](_0x400817['shift']());}}}(_0x2939,0x91ab6));import{Wrapper as _0x30cefa}from'../qqnt';function _0x2939(){const _0x47c896=['10559fVVatR','get','uin','803115uQritF','addKernelBuddyListener','416046sqRtoa','5nXuNsI','addBuddyListener','kernelService','NodeIKernelBuddyListener','HNIGO','15823313uthqnD','listener','MessageService\x20already\x20initialized!','146ZtkbSo','2024652PupJUf','90oVljJI','1141263zyZHAm','1707952iokEVU','uid','then','21apZasu'];_0x2939=function(){return _0x47c896;};return _0x2939();}function _0x2622(_0xbdb85d,_0x1f895f){const _0x2939f2=_0x2939();return _0x2622=function(_0x2622d7,_0x32db64){_0x2622d7=_0x2622d7-0x112;let _0x5edfa4=_0x2939f2[_0x2622d7];return _0x5edfa4;},_0x2622(_0xbdb85d,_0x1f895f);}import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x10ad30(0x123)]=null;['listener'];constructor(){const _0x143dbc=_0x10ad30;this[_0x143dbc(0x127)]=new BuddyListener();}['init'](_0xd497a2){const _0x2de1d9=_0x10ad30,_0x1322ab={'dvyXy':function(_0x1f05af,_0x4803a2){return _0x1f05af!==_0x4803a2;},'HNIGO':_0x2de1d9(0x112)};if(_0x1322ab['dvyXy'](this[_0x2de1d9(0x123)],null))throw new Error(_0x1322ab[_0x2de1d9(0x125)]);this['kernelService']=_0xd497a2,this[_0x2de1d9(0x127)]['onBuddyListChange']=_0x83a614=>{const _0xf5ff95=_0x2de1d9;for(const _0xf9ed97 of _0x83a614){for(const _0x1f8015 of _0xf9ed97['buddyList']){const _0x5a2271=friends[_0xf5ff95(0x11c)](_0x1f8015[_0xf5ff95(0x118)]);uid2UinMap[_0x1f8015[_0xf5ff95(0x118)]]=_0x1f8015[_0xf5ff95(0x11d)],_0x5a2271?Object['assign'](_0x5a2271,_0x1f8015):friends['set'](_0x1f8015['uid'],_0x1f8015);}}},this['kernelService'][_0x2de1d9(0x11f)](new _0x30cefa[(_0x2de1d9(0x124))](this['listener'])),this[_0x2de1d9(0x123)]['getBuddyList'](!![])[_0x2de1d9(0x119)](_0x29b05f=>{});}[_0x10ad30(0x122)](_0x51eb9c){const _0x54fd0e=_0x10ad30;this['kernelService']?.[_0x54fd0e(0x11f)](new _0x30cefa[(_0x54fd0e(0x124))](_0x51eb9c));}}

View File

@ -1,19 +0,0 @@
import { GroupListener } from '../qqnt/listeners';
import { NodeIKernelGroupService } from '../qqnt/services';
/**
* NapCat
*
* **** `init`
*/
export declare class NapCatCoreServiceGroup {
kernelService: NodeIKernelGroupService | null;
readonly listener: GroupListener;
constructor();
/**
*
* @param {NodeIKernelGroupService} service
* @returns {void}
*/
init(service: NodeIKernelGroupService): void;
addGroupListener(listener: GroupListener): number | undefined;
}

View File

@ -1 +0,0 @@
const _0x272d4d=_0x4570;(function(_0x290c04,_0x306c5d){const _0x3eaa04=_0x4570,_0x19ec71=_0x290c04();while(!![]){try{const _0x42fd61=-parseInt(_0x3eaa04(0x1c7))/0x1+-parseInt(_0x3eaa04(0x1cf))/0x2*(-parseInt(_0x3eaa04(0x1e1))/0x3)+parseInt(_0x3eaa04(0x1d4))/0x4*(-parseInt(_0x3eaa04(0x1d7))/0x5)+parseInt(_0x3eaa04(0x1d8))/0x6+parseInt(_0x3eaa04(0x1db))/0x7*(-parseInt(_0x3eaa04(0x1d2))/0x8)+-parseInt(_0x3eaa04(0x1d5))/0x9*(parseInt(_0x3eaa04(0x1ca))/0xa)+parseInt(_0x3eaa04(0x1d3))/0xb;if(_0x42fd61===_0x306c5d)break;else _0x19ec71['push'](_0x19ec71['shift']());}catch(_0x453497){_0x19ec71['push'](_0x19ec71['shift']());}}}(_0x1e83,0x82547));import{Wrapper as _0x301f0d}from'../qqnt';import{GroupListener}from'../qqnt/listeners';function _0x4570(_0x319576,_0xefa420){const _0x1e833a=_0x1e83();return _0x4570=function(_0x4570d4,_0x705044){_0x4570d4=_0x4570d4-0x1c6;let _0x3e8181=_0x1e833a[_0x4570d4];return _0x3e8181;},_0x4570(_0x319576,_0xefa420);}function _0x1e83(){const _0x34cbdb=['addKernelGroupListener','4926453nwgLmG','get','NodeIKernelGroupListener','assign','onGroupListUpdate','uin','1402659pkMwwD','CPHRt','has','kernelService','forEach','416430zBvuNE','addGroupListener','onMemberInfoChange','26710tGoMaX','listener','infos','set','getNextMemberList','2lPQbVC','groupMemberList_MainWindow','groupCode','8oCaCZw','11971124DgfcpI','499616Iejgjr','2007HzlDYA','map','10lsAdtJ','5661864hDPimK','split'];_0x1e83=function(){return _0x34cbdb;};return _0x1e83();}import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x272d4d(0x1e4)]=null;[_0x272d4d(0x1cb)];constructor(){const _0x44d1d2=_0x272d4d;this[_0x44d1d2(0x1cb)]=new GroupListener();}['init'](_0x2e5d77){const _0x28c4b1=_0x272d4d,_0x14c109={'CPHRt':function(_0x3e6451,_0x4bdfb9){return _0x3e6451!==_0x4bdfb9;}};if(_0x14c109[_0x28c4b1(0x1e2)](this['kernelService'],null))throw new Error('GroupService\x20already\x20initialized!');this[_0x28c4b1(0x1e4)]=_0x2e5d77,this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1df)]=(_0x5875cb,_0xd8f4fa)=>{const _0x58b7c0=_0x28c4b1;_0xd8f4fa[_0x58b7c0(0x1d6)](_0x5a86be=>{const _0x30734d=_0x58b7c0,_0x15d0a4=groups[_0x30734d(0x1dc)](_0x5a86be[_0x30734d(0x1d1)]);if(_0x15d0a4)Object[_0x30734d(0x1de)](_0x15d0a4,_0x5a86be);else{groups['set'](_0x5a86be[_0x30734d(0x1d1)],_0x5a86be);const _0x36abff=this['kernelService']?.['createMemberListScene'](_0x5a86be[_0x30734d(0x1d1)],_0x30734d(0x1d0));this[_0x30734d(0x1e4)]?.[_0x30734d(0x1ce)](_0x36abff,undefined,0xbb8)['then'](_0x380338=>{});}});},this[_0x28c4b1(0x1cb)]['onMemberListChange']=_0x4df092=>{const _0x2e0dfb=_0x28c4b1,_0x58edf8=_0x4df092['sceneId'][_0x2e0dfb(0x1d9)]('_')[0x0];if(groupMembers[_0x2e0dfb(0x1e3)](_0x58edf8)){const _0x282b5f=groupMembers[_0x2e0dfb(0x1dc)](_0x58edf8);_0x4df092[_0x2e0dfb(0x1cc)]['forEach']((_0x519e85,_0x169583)=>{const _0x25dedd=_0x2e0dfb,_0x3f2d12=_0x282b5f[_0x25dedd(0x1dc)](_0x169583);_0x3f2d12?Object[_0x25dedd(0x1de)](_0x3f2d12,_0x519e85):_0x282b5f[_0x25dedd(0x1cd)](_0x169583,_0x519e85);});}else groupMembers['set'](_0x58edf8,_0x4df092[_0x2e0dfb(0x1cc)]);},this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1c9)]=(_0x423889,_0x37480a,_0x4a53f9)=>{const _0x334f9d=_0x28c4b1;_0x4a53f9[_0x334f9d(0x1c6)]((_0x28f00a,_0x311f90)=>{const _0x1c972a=_0x334f9d;uid2UinMap[_0x311f90]=_0x28f00a[_0x1c972a(0x1e0)];});const _0x361ce8=groupMembers[_0x334f9d(0x1dc)](_0x423889);_0x361ce8?_0x4a53f9[_0x334f9d(0x1c6)]((_0x4b3d2a,_0x23af3f)=>{const _0x22c54c=_0x334f9d,_0x4e16de=_0x361ce8[_0x22c54c(0x1dc)](_0x23af3f);_0x4e16de?Object['assign'](_0x4e16de,_0x4b3d2a):_0x361ce8[_0x22c54c(0x1cd)](_0x23af3f,_0x4b3d2a);}):groupMembers[_0x334f9d(0x1cd)](_0x423889,_0x4a53f9);},this[_0x28c4b1(0x1e4)][_0x28c4b1(0x1da)](new _0x301f0d['NodeIKernelGroupListener'](this[_0x28c4b1(0x1cb)]));}[_0x272d4d(0x1c8)](_0xd6ab4f){const _0x2a6a66=_0x272d4d;return this[_0x2a6a66(0x1e4)]?.[_0x2a6a66(0x1da)](new _0x301f0d[(_0x2a6a66(0x1dd))](_0xd6ab4f));}}

View File

@ -1,35 +0,0 @@
import { NapCatCoreServiceMessage } from './message';
import { NapCatCoreServiceGroup } from './group';
import { NapCatCoreServiceBuddy } from './buddy';
import { NapCatCoreServiceProfile } from './profile';
import { NapCatCoreServiceProfileLike } from './profileLike';
import { NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelMsgService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from '../qqnt/services';
import { NapCatCore } from '..';
/**
* NapCat
*
* `messgae``group` `buddy`
*
* **** `init`
*/
export declare class NapCatCoreService {
private isInit;
private readonly core;
msg: NapCatCoreServiceMessage;
group: NapCatCoreServiceGroup;
buddy: NapCatCoreServiceBuddy;
profile: NapCatCoreServiceProfile;
profileLike: NapCatCoreServiceProfileLike;
constructor(core: NapCatCore);
/**
* WrapperSession WrapperSession
* @param {NodeIKernelMsgService} msg
* @param {NodeIKernelGroupService} group
* @param {NodeIKernelBuddyService} buddy
* @param profile
* @param profileLike
* @returns {void}
*/
init(msg: NodeIKernelMsgService, group: NodeIKernelGroupService, buddy: NodeIKernelBuddyService, profile: NodeIKernelProfileService, profileLike: NodeIKernelProfileLikeService): void;
private initListener;
}

Some files were not shown because too many files have changed in this diff Show More