diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 10dc451f..00000000 --- a/.gitmodules +++ /dev/null @@ -1,4 +0,0 @@ -[submodule "src/core"] - path = src/core - url = https://github.com/NapNeko/core.git - branch = master diff --git a/src/core.lib/package.json b/src/core.lib/package.json deleted file mode 100644 index d7b4b825..00000000 --- a/src/core.lib/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@napneko/core", - "version": "1.0.0", - "description": "", - "type": "module", - "main": "./index.js", - "files": [ - "lib" - ], - "scripts": { - "lint": "eslint --fix ./src/**/*.ts", - "build:dev": "vite build --mode development", - "build:prod": "vite build --mode production", - "build": "npm run build:dev" - }, - "author": "NapNeko", - "license": "MIT", - "bugs": { - "url": "https://github.com/NapNeko/NapCatQQ/issues" - }, - "homepage": "https://github.com/NapNeko/NapCatQQ#readme" -} diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.d.ts b/src/core.lib/src/adapters/NodeIDependsAdapter.d.ts deleted file mode 100644 index ea249269..00000000 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface IDependsAdapter { - onMSFStatusChange(arg1: number, arg2: number): void; - onMSFSsoError(args: unknown): void; - getGroupCode(args: unknown): void; -} -export interface NodeIDependsAdapter extends IDependsAdapter { - new (adapter: IDependsAdapter): NodeIDependsAdapter; -} -export declare class DependsAdapter implements IDependsAdapter { - onMSFStatusChange(arg1: number, arg2: number): void; - onMSFSsoError(args: unknown): void; - getGroupCode(args: unknown): void; -} -export {}; diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js deleted file mode 100644 index dd66f393..00000000 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ /dev/null @@ -1 +0,0 @@ -function _0x21a3(){var _0x47a1fd=['248rmfMrR','179622UXIoav','1055459tsnnaS','onMSFStatusChange','689414NaQcNx','316cTYJBC','39830eOEQfH','30260maZsxw','1860726PpRoBo','80NMQPYe','6295452xCWIll','2FgvZer','getGroupCode'];_0x21a3=function(){return _0x47a1fd;};return _0x21a3();}var _0x3d5b59=_0xbbfe;function _0xbbfe(_0x35749d,_0x27b2cc){var _0x21a3b8=_0x21a3();return _0xbbfe=function(_0xbbfe69,_0x206a1e){_0xbbfe69=_0xbbfe69-0x18f;var _0x2155e2=_0x21a3b8[_0xbbfe69];return _0x2155e2;},_0xbbfe(_0x35749d,_0x27b2cc);}(function(_0x4ff99,_0x119e47){var _0x2caf22=_0xbbfe,_0x53ef76=_0x4ff99();while(!![]){try{var _0x8016be=parseInt(_0x2caf22(0x193))/0x1+parseInt(_0x2caf22(0x18f))/0x2*(-parseInt(_0x2caf22(0x199))/0x3)+parseInt(_0x2caf22(0x196))/0x4*(-parseInt(_0x2caf22(0x198))/0x5)+parseInt(_0x2caf22(0x19b))/0x6+parseInt(_0x2caf22(0x197))/0x7*(parseInt(_0x2caf22(0x191))/0x8)+parseInt(_0x2caf22(0x192))/0x9+parseInt(_0x2caf22(0x19a))/0xa*(-parseInt(_0x2caf22(0x195))/0xb);if(_0x8016be===_0x119e47)break;else _0x53ef76['push'](_0x53ef76['shift']());}catch(_0x20106d){_0x53ef76['push'](_0x53ef76['shift']());}}}(_0x21a3,0xab37b));export class DependsAdapter{[_0x3d5b59(0x194)](_0x41e90c,_0x453b93){}['onMSFSsoError'](_0x28ca66){}[_0x3d5b59(0x190)](_0x5c6159){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.d.ts b/src/core.lib/src/adapters/NodeIDispatcherAdapter.d.ts deleted file mode 100644 index 51a6919e..00000000 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface IDispatcherAdapter { - dispatchRequest(arg: unknown): void; - dispatchCall(arg: unknown): void; - dispatchCallWithJson(arg: unknown): void; -} -export interface NodeIDispatcherAdapter extends IDispatcherAdapter { - new (adapter: IDispatcherAdapter): NodeIDispatcherAdapter; -} -export declare class DispatcherAdapter implements IDispatcherAdapter { - dispatchRequest(arg: unknown): void; - dispatchCall(arg: unknown): void; - dispatchCallWithJson(arg: unknown): void; -} -export {}; diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js deleted file mode 100644 index 07d3ef43..00000000 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ /dev/null @@ -1 +0,0 @@ -var _0x50cc57=_0x2a38;function _0x1d03(){var _0x2f7261=['dispatchRequest','2128QBWYuE','2955ffkndp','21923YnBRfB','26780MQgRHX','260004hKzHAO','dispatchCallWithJson','dispatchCall','290OEvlVE','377BHGwms','2526NtXQEV','33hLvsox','20864pErFVq','37814CFKWXw','180jCyFLb','396MiYFIW'];_0x1d03=function(){return _0x2f7261;};return _0x1d03();}function _0x2a38(_0x55c9aa,_0x2a5536){var _0x1d03d1=_0x1d03();return _0x2a38=function(_0x2a38d7,_0x1266b8){_0x2a38d7=_0x2a38d7-0x1d2;var _0x3a9256=_0x1d03d1[_0x2a38d7];return _0x3a9256;},_0x2a38(_0x55c9aa,_0x2a5536);}(function(_0x469f5e,_0x7cac5f){var _0x530bdc=_0x2a38,_0x2415b5=_0x469f5e();while(!![]){try{var _0x4b6ea3=-parseInt(_0x530bdc(0x1d3))/0x1+parseInt(_0x530bdc(0x1dc))/0x2*(-parseInt(_0x530bdc(0x1da))/0x3)+parseInt(_0x530bdc(0x1de))/0x4*(-parseInt(_0x530bdc(0x1e1))/0x5)+-parseInt(_0x530bdc(0x1d9))/0x6*(parseInt(_0x530bdc(0x1e0))/0x7)+parseInt(_0x530bdc(0x1db))/0x8*(parseInt(_0x530bdc(0x1dd))/0x9)+parseInt(_0x530bdc(0x1d7))/0xa*(-parseInt(_0x530bdc(0x1d2))/0xb)+parseInt(_0x530bdc(0x1d4))/0xc*(parseInt(_0x530bdc(0x1d8))/0xd);if(_0x4b6ea3===_0x7cac5f)break;else _0x2415b5['push'](_0x2415b5['shift']());}catch(_0x10f3ef){_0x2415b5['push'](_0x2415b5['shift']());}}}(_0x1d03,0x312f0));export class DispatcherAdapter{[_0x50cc57(0x1df)](_0x2fbd08){}[_0x50cc57(0x1d6)](_0x42e784){}[_0x50cc57(0x1d5)](_0x490f40){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.d.ts b/src/core.lib/src/adapters/NodeIGlobalAdapter.d.ts deleted file mode 100644 index b44dcde0..00000000 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -interface IGlobalAdapter { - onLog(...args: unknown[]): void; - onGetSrvCalTime(...args: unknown[]): void; - onShowErrUITips(...args: unknown[]): void; - fixPicImgType(...args: unknown[]): void; - getAppSetting(...args: unknown[]): void; - onInstallFinished(...args: unknown[]): void; - onUpdateGeneralFlag(...args: unknown[]): void; - onGetOfflineMsg(...args: unknown[]): void; -} -export interface NodeIGlobalAdapter extends IGlobalAdapter { - new (adapter: IGlobalAdapter): NodeIGlobalAdapter; -} -export declare class GlobalAdapter implements IGlobalAdapter { - onLog(...args: unknown[]): void; - onGetSrvCalTime(...args: unknown[]): void; - onShowErrUITips(...args: unknown[]): void; - fixPicImgType(...args: unknown[]): void; - getAppSetting(...args: unknown[]): void; - onInstallFinished(...args: unknown[]): void; - onUpdateGeneralFlag(...args: unknown[]): void; - onGetOfflineMsg(...args: unknown[]): void; -} -export {}; diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js deleted file mode 100644 index 1fbf4c2b..00000000 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ /dev/null @@ -1 +0,0 @@ -var _0x53ab7c=_0x3e54;function _0x3e54(_0x55a7ce,_0x234c55){var _0x16d2de=_0x16d2();return _0x3e54=function(_0x3e54c2,_0x22b116){_0x3e54c2=_0x3e54c2-0x191;var _0x725a08=_0x16d2de[_0x3e54c2];return _0x725a08;},_0x3e54(_0x55a7ce,_0x234c55);}(function(_0x1516f6,_0x20436d){var _0x53e987=_0x3e54,_0x492fff=_0x1516f6();while(!![]){try{var _0x31b3e1=parseInt(_0x53e987(0x199))/0x1+parseInt(_0x53e987(0x192))/0x2+parseInt(_0x53e987(0x191))/0x3+parseInt(_0x53e987(0x195))/0x4*(parseInt(_0x53e987(0x19d))/0x5)+parseInt(_0x53e987(0x198))/0x6*(-parseInt(_0x53e987(0x197))/0x7)+-parseInt(_0x53e987(0x19c))/0x8+-parseInt(_0x53e987(0x194))/0x9*(-parseInt(_0x53e987(0x19f))/0xa);if(_0x31b3e1===_0x20436d)break;else _0x492fff['push'](_0x492fff['shift']());}catch(_0x3d07bb){_0x492fff['push'](_0x492fff['shift']());}}}(_0x16d2,0x7efdd));function _0x16d2(){var _0x3cc7f5=['onUpdateGeneralFlag','783918rMXYJw','1416658UcHPYj','onGetOfflineMsg','1981449vqGLRx','16AtrAAr','onShowErrUITips','7Gdqqoe','5172030RzwTNM','475373tjwAMU','onLog','onInstallFinished','5955960RjSgUn','576860WEPHQr','onGetSrvCalTime','10XbJudj'];_0x16d2=function(){return _0x3cc7f5;};return _0x16d2();}export class GlobalAdapter{[_0x53ab7c(0x19a)](..._0x29b5cf){}[_0x53ab7c(0x19e)](..._0x4a6c36){}[_0x53ab7c(0x196)](..._0x4240ec){}['fixPicImgType'](..._0xd9ff03){}['getAppSetting'](..._0x90040e){}[_0x53ab7c(0x19b)](..._0x4764da){}[_0x53ab7c(0x1a0)](..._0x4279ae){}[_0x53ab7c(0x193)](..._0x205a1f){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.d.ts b/src/core.lib/src/adapters/index.d.ts deleted file mode 100644 index 2db6d288..00000000 --- a/src/core.lib/src/adapters/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './NodeIDependsAdapter'; -export * from './NodeIDispatcherAdapter'; -export * from './NodeIGlobalAdapter'; diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js deleted file mode 100644 index beecc5b7..00000000 --- a/src/core.lib/src/adapters/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x682d9e,_0x3d3c77){var _0x914757=_0xb9dc,_0x46d2dc=_0x682d9e();while(!![]){try{var _0x1642d7=parseInt(_0x914757(0x12a))/0x1*(-parseInt(_0x914757(0x135))/0x2)+-parseInt(_0x914757(0x12b))/0x3*(-parseInt(_0x914757(0x134))/0x4)+-parseInt(_0x914757(0x131))/0x5+parseInt(_0x914757(0x133))/0x6+parseInt(_0x914757(0x132))/0x7*(parseInt(_0x914757(0x12e))/0x8)+-parseInt(_0x914757(0x130))/0x9*(-parseInt(_0x914757(0x12c))/0xa)+parseInt(_0x914757(0x12f))/0xb*(-parseInt(_0x914757(0x12d))/0xc);if(_0x1642d7===_0x3d3c77)break;else _0x46d2dc['push'](_0x46d2dc['shift']());}catch(_0x18ca27){_0x46d2dc['push'](_0x46d2dc['shift']());}}}(_0x8273,0xf28d8));function _0xb9dc(_0x201754,_0x29d6c8){var _0x82733d=_0x8273();return _0xb9dc=function(_0xb9dc41,_0x575625){_0xb9dc41=_0xb9dc41-0x12a;var _0x58d035=_0x82733d[_0xb9dc41];return _0x58d035;},_0xb9dc(_0x201754,_0x29d6c8);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x8273(){var _0x320e6d=['4XiLOTO','2XNYWKA','921073MzEkWL','3975633NUQwZE','460oTeNeK','2667540UEAMDy','8033768DbuECp','88WDAOSl','228816OIuixa','7846745lFeOyi','7KBrFmZ','10580052GIajAK'];_0x8273=function(){return _0x320e6d;};return _0x8273();} \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.d.ts b/src/core.lib/src/apis/collection.d.ts deleted file mode 100644 index 2e5998d7..00000000 --- a/src/core.lib/src/apis/collection.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -export declare class NTQQCollectionApi { - static createCollection(authorUin: string, authorUid: string, authorName: string, brief: string, rawData: string): Promise; - static getAllCollection(category?: number, count?: number): Promise; -} diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js deleted file mode 100644 index dd8dd7d1..00000000 --- a/src/core.lib/src/apis/collection.js +++ /dev/null @@ -1 +0,0 @@ -const _0x5cf374=_0xd04d;(function(_0x16b793,_0x45c1d3){const _0x137c2c=_0xd04d,_0x4f7af2=_0x16b793();while(!![]){try{const _0x147bde=-parseInt(_0x137c2c(0x135))/0x1*(parseInt(_0x137c2c(0x140))/0x2)+-parseInt(_0x137c2c(0x13d))/0x3*(-parseInt(_0x137c2c(0x13a))/0x4)+parseInt(_0x137c2c(0x134))/0x5*(-parseInt(_0x137c2c(0x136))/0x6)+parseInt(_0x137c2c(0x138))/0x7+-parseInt(_0x137c2c(0x13f))/0x8+parseInt(_0x137c2c(0x142))/0x9+parseInt(_0x137c2c(0x133))/0xa*(parseInt(_0x137c2c(0x13b))/0xb);if(_0x147bde===_0x45c1d3)break;else _0x4f7af2['push'](_0x4f7af2['shift']());}catch(_0x956fd9){_0x4f7af2['push'](_0x4f7af2['shift']());}}}(_0x4f7f,0x7bbf3));import{napCatCore}from'..';function _0xd04d(_0x5406d0,_0x3be0be){const _0x4f7f9f=_0x4f7f();return _0xd04d=function(_0xd04dbf,_0x1f7102){_0xd04dbf=_0xd04dbf-0x133;let _0x32c4f2=_0x4f7f9f[_0xd04dbf];return _0x32c4f2;},_0xd04d(_0x5406d0,_0x3be0be);}export class NTQQCollectionApi{static async[_0x5cf374(0x141)](_0x54ce5a,_0xf58136,_0x2e5e5a,_0x9a5c4a,_0x48cdc8){const _0x597558=_0x5cf374;let _0x46df5a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x54ce5a,'strId':_0x2e5e5a,'groupId':'0','groupName':'','uid':_0xf58136},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x597558(0x13c)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x9a5c4a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x48cdc8,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x597558(0x137)][_0x597558(0x13e)]()[_0x597558(0x139)](_0x46df5a);}static async['getAllCollection'](_0x4d7222=0x0,_0xc6ea63=0x32){let _0x23ade2={'category':_0x4d7222,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0xc6ea63,'searchDown':!![]};return napCatCore['session']['getCollectionService']()['getCollectionItemList'](_0x23ade2);}}function _0x4f7f(){const _0xa3be7=['590548OTxXpo','createNewCollectionItem','582116xMRIZR','262097hybSXZ','now','3DVrRPX','getCollectionService','6574256ZIiXee','6ZTVyLF','createCollection','8157987jjFOSW','490LuASHU','30GCbyig','292210xXWOBD','98580YKLGTf','session'];_0x4f7f=function(){return _0xa3be7;};return _0x4f7f();} \ No newline at end of file diff --git a/src/core.lib/src/apis/file.d.ts b/src/core.lib/src/apis/file.d.ts deleted file mode 100644 index 0bd86417..00000000 --- a/src/core.lib/src/apis/file.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { CacheFileListItem, CacheFileType, ChatCacheListItemBasic, ChatType, ElementType, RawMessage } from '@/core/entities'; -import { GeneralCallResult } from '@/core'; -import * as fileType from 'file-type'; -import { ISizeCalculationResult } from 'image-size/dist/types/interface'; -export declare class NTQQFileApi { - static getFileType(filePath: string): Promise; - static copyFile(filePath: string, destPath: string): Promise; - static getFileSize(filePath: string): Promise; - static getVideoUrl(msg: RawMessage, element: any): Promise; - static uploadFile(filePath: string, elementType?: ElementType, elementSubType?: number): Promise<{ - md5: string; - fileName: string; - path: string; - fileSize: number; - ext: string; - }>; - static downloadMedia(msgId: string, chatType: ChatType, peerUid: string, elementId: string, thumbPath: string, sourcePath: string, timeout?: number, force?: boolean): Promise; - static getImageSize(filePath: string): Promise; - static getImageUrl(element: { - originImageUrl: any; - md5HexStr?: any; - fileUuid: any; - }, isPrivateImage: boolean): Promise; -} -export declare class NTQQFileCacheApi { - static setCacheSilentScan(isSilent?: boolean): Promise; - static getCacheSessionPathList(): string; - static clearCache(cacheKeys?: Array): unknown; - static addCacheScannedPaths(pathMap?: object): unknown; - static scanCache(): Promise; - static getHotUpdateCachePath(): string; - static getDesktopTmpPath(): string; - static getChatCacheList(type: ChatType, pageSize?: number, pageIndex?: number): unknown; - static getFileCacheInfo(fileType: CacheFileType, pageSize?: number, lastRecord?: CacheFileListItem): void; - static clearChatCache(chats?: ChatCacheListItemBasic[], fileKeys?: string[]): Promise; -} diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js deleted file mode 100644 index 716ae18d..00000000 --- a/src/core.lib/src/apis/file.js +++ /dev/null @@ -1 +0,0 @@ -const _0x513451=_0x36af;(function(_0x4d07d4,_0x36c780){const _0x14b3b3=_0x36af,_0x57b96a=_0x4d07d4();while(!![]){try{const _0x3a8af9=-parseInt(_0x14b3b3(0x1e0))/0x1*(-parseInt(_0x14b3b3(0x21f))/0x2)+-parseInt(_0x14b3b3(0x22a))/0x3+-parseInt(_0x14b3b3(0x1e1))/0x4*(parseInt(_0x14b3b3(0x1fd))/0x5)+parseInt(_0x14b3b3(0x220))/0x6+parseInt(_0x14b3b3(0x20c))/0x7*(-parseInt(_0x14b3b3(0x208))/0x8)+-parseInt(_0x14b3b3(0x213))/0x9*(parseInt(_0x14b3b3(0x1e3))/0xa)+-parseInt(_0x14b3b3(0x1e8))/0xb*(-parseInt(_0x14b3b3(0x221))/0xc);if(_0x3a8af9===_0x36c780)break;else _0x57b96a['push'](_0x57b96a['shift']());}catch(_0x34b491){_0x57b96a['push'](_0x57b96a['shift']());}}}(_0x4ac2,0x3f07c));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2d2243 from'path';import _0x169cb8 from'fs';function _0x36af(_0x3a0f8b,_0x788f9b){const _0x4ac220=_0x4ac2();return _0x36af=function(_0x36afd1,_0x1ab08e){_0x36afd1=_0x36afd1-0x1e0;let _0x147d71=_0x4ac220[_0x36afd1];return _0x147d71;},_0x36af(_0x3a0f8b,_0x788f9b);}import _0x21e4ab from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0xe165f3 from'file-type';import{MsgListener}from'@/core/listeners';function _0x4ac2(){const _0x2a5ef9=['FZLvP','24657FsDLZw','98756oRyFHk','util','10eiZyLP','delete','set','onRichMediaDownloadComplete','onLoginSuccess','38687gLCYtQ','OOnOw','private_rkey','addCacheScanedPaths','chatType','/gchatpic_new/0/0-0-','copyFile','ahdYw','vTgur','getStorageCleanService','fileUuid','addCacheScannedPaths','WFDJl','zIlDk','getChatCacheInfo','getImageUrl','msgId','getFileType','下载超时','wbVai','addListener','15uFHtkl','ext','group_rkey','getChatCacheList','basename','originImageUrl','join','hotUpdate','getMsgService','EFmLi','setCacheSilentScan','1329288VvbWXx','图片url获取失败','existsSync','ZWGNg','21qbHWbP','tmp','MvjNn','filePath','urlResult','downloadMedia','clearChatCacheInfo','75258vqNrfr','elementId','getCacheSessionPathList','tGjSw','puHUL','getFileSize','scanCache','gFyFF','url','downloadRichMedia','fileTypeFromFile','PIC','20SHboYq','1236204tzsFKk','2820ofyglb','md5HexStr','clearCache','getImageSize','uploadFile','rtaYj','startsWith','session','clearCacheDataByKeys','1320045JlgMtk','Tprws','wzKfT'];_0x4ac2=function(){return _0x2a5ef9;};return _0x4ac2();}import _0x1f0475 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x513451(0x1e6)]=_0x527cb6=>{const _0x55e530=_0x513451,_0x22e704={'vTgur':function(_0x27ee64,_0x48e871){return _0x27ee64(_0x48e871);}};for(const [_0x301838,_0x3368eb]of downloadMediaTasks){_0x22e704[_0x55e530(0x1f0)](_0x3368eb,_0x527cb6),downloadMediaTasks[_0x55e530(0x1e4)](_0x301838);}},setTimeout(()=>{const _0x21e2e7=_0x513451;napCatCore[_0x21e2e7(0x1e7)](()=>{const _0x49cd54=_0x21e2e7;napCatCore[_0x49cd54(0x1fc)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x513451(0x1f9)](_0x3df700){const _0x2e2147=_0x513451;return _0xe165f3[_0x2e2147(0x21d)](_0x3df700);}static async[_0x513451(0x1ee)](_0x18058b,_0x2394fc){const _0x1898f8=_0x513451;await napCatCore[_0x1898f8(0x1e2)][_0x1898f8(0x1ee)](_0x18058b,_0x2394fc);}static async['getFileSize'](_0xc6957d){const _0x180b3d=_0x513451;return await napCatCore[_0x180b3d(0x1e2)][_0x180b3d(0x218)](_0xc6957d);}static async['getVideoUrl'](_0x53eaca,_0x73f7f0){const _0x393ee8=_0x513451;return(await napCatCore[_0x393ee8(0x228)]['getRichMediaService']()['getVideoPlayUrlV2']({'chatType':_0x53eaca[_0x393ee8(0x1ec)],'peerUid':_0x53eaca['peerUid'],'guildId':'0'},_0x53eaca[_0x393ee8(0x1f8)],_0x73f7f0[_0x393ee8(0x214)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x393ee8(0x210)]['domainUrl'][0x0][_0x393ee8(0x21b)];}static async[_0x513451(0x225)](_0x3ed508,_0x5bc295=ElementType[_0x513451(0x21e)],_0x49aa6a=0x0){const _0xb0f684=_0x513451,_0xec991a={'FZLvP':function(_0x17efb6,_0x29f5be){return _0x17efb6===_0x29f5be;}},_0x22ba39=await calculateFileMD5(_0x3ed508);let _0x50d7a5=(await NTQQFileApi[_0xb0f684(0x1f9)](_0x3ed508))?.[_0xb0f684(0x1fe)]||'';_0x50d7a5&&(_0x50d7a5='.'+_0x50d7a5);let _0x4430ba=''+_0x2d2243[_0xb0f684(0x201)](_0x3ed508);_0xec991a[_0xb0f684(0x22d)](_0x4430ba['indexOf']('.'),-0x1)&&(_0x4430ba+=_0x50d7a5);const _0x3e735e=napCatCore[_0xb0f684(0x228)][_0xb0f684(0x205)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x22ba39,'fileName':_0x4430ba,'elementType':_0x5bc295,'elementSubType':_0x49aa6a,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0xb0f684(0x1ee)](_0x3ed508,_0x3e735e);const _0x199a43=await NTQQFileApi[_0xb0f684(0x218)](_0x3ed508);return{'md5':_0x22ba39,'fileName':_0x4430ba,'path':_0x3e735e,'fileSize':_0x199a43,'ext':_0x50d7a5};}static async[_0x513451(0x211)](_0x550a92,_0x227c47,_0x335639,_0x2a809e,_0x2826a4,_0x467463,_0x5ed410=0x3e8*0x3c*0x2,_0x32bae1=![]){const _0x1e069d=_0x513451,_0x37e55d={'WFDJl':function(_0x43e4d7,_0x392bed){return _0x43e4d7(_0x392bed);},'wbVai':_0x1e069d(0x1fa),'Tprws':function(_0x3c971d,_0x37dbcc){return _0x3c971d===_0x37dbcc;},'ZWGNg':function(_0x8699b8){return _0x8699b8();},'EFmLi':function(_0xce6098,_0x44fad9,_0x4fd44b){return _0xce6098(_0x44fad9,_0x4fd44b);}};if(_0x467463&&_0x169cb8[_0x1e069d(0x20a)](_0x467463)){if(_0x32bae1)try{await _0x21e4ab['unlink'](_0x467463);}catch(_0x1a8478){}else return _0x467463;}return new Promise((_0x51e6f5,_0x54eec9)=>{const _0xc9471f=_0x1e069d,_0x572a6f={'zIlDk':function(_0x128a32,_0x5bace2){const _0x4510c6=_0x36af;return _0x37e55d[_0x4510c6(0x22b)](_0x128a32,_0x5bace2);}};let _0x4863b2=![];const _0x3331ad=_0x3334af=>{const _0x343ea1=_0x36af;if(_0x572a6f[_0x343ea1(0x1f5)](_0x3334af[_0x343ea1(0x1f8)],_0x550a92)){_0x4863b2=!![];let _0x12aa59=_0x3334af[_0x343ea1(0x20f)];if(_0x12aa59[_0x343ea1(0x227)]('\x5c')){const _0x5ba032=sessionConfig['defaultFileDownloadPath'];_0x12aa59=_0x2d2243[_0x343ea1(0x203)](_0x5ba032,_0x12aa59);}_0x51e6f5(_0x12aa59);}};downloadMediaTasks[_0xc9471f(0x1e5)](_0x37e55d[_0xc9471f(0x20b)](randomUUID),_0x3331ad),_0x37e55d[_0xc9471f(0x206)](setTimeout,()=>{const _0xb1ea6e=_0xc9471f;!_0x4863b2&&_0x37e55d[_0xb1ea6e(0x1f4)](_0x54eec9,_0x37e55d[_0xb1ea6e(0x1fb)]);},_0x5ed410),napCatCore[_0xc9471f(0x228)][_0xc9471f(0x205)]()[_0xc9471f(0x21c)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x550a92,'chatType':_0x227c47,'peerUid':_0x335639,'elementId':_0x2a809e,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2826a4});});}static async[_0x513451(0x224)](_0x3adf53){const _0xe02ea={'Oqimk':function(_0x2606a6,_0x28affa){return _0x2606a6(_0x28affa);},'wzKfT':function(_0x474859,_0x39373a,_0x46dbd2){return _0x474859(_0x39373a,_0x46dbd2);}};return new Promise((_0xae0897,_0x5a944c)=>{const _0x9006ec=_0x36af,_0x3d570b={'rtaYj':function(_0x1c086c,_0x5d3ffd){return _0xe02ea['Oqimk'](_0x1c086c,_0x5d3ffd);}};_0xe02ea[_0x9006ec(0x22c)](_0x1f0475,_0x3adf53,(_0x20f963,_0x5e9c8f)=>{const _0x292545=_0x9006ec;_0x20f963?_0x3d570b[_0x292545(0x226)](_0x5a944c,_0x20f963):_0x3d570b[_0x292545(0x226)](_0xae0897,_0x5e9c8f);});});}static async[_0x513451(0x1f7)](_0x29a01c,_0x3dc662){const _0x3cdba9=_0x513451,_0x517655={'MvjNn':'/download','ahdYw':'&rkey=','gFyFF':function(_0x572a39,_0x513b7){return _0x572a39+_0x513b7;},'puHUL':function(_0x12d20d,_0x3a5b58){return _0x12d20d||_0x3a5b58;},'OOnOw':function(_0x303c19,_0x428b7e,_0x365c9e){return _0x303c19(_0x428b7e,_0x365c9e);},'tGjSw':_0x3cdba9(0x209)};if(!_0x29a01c)return'';const _0x525c2c=_0x29a01c[_0x3cdba9(0x202)],_0x2f01a3=_0x29a01c[_0x3cdba9(0x222)],_0xef9fb8=_0x29a01c[_0x3cdba9(0x222)],_0x2f6b32=_0x29a01c[_0x3cdba9(0x1f2)];if(_0x525c2c){if(_0x525c2c[_0x3cdba9(0x227)](_0x517655[_0x3cdba9(0x20e)])){if(_0x525c2c['includes'](_0x517655[_0x3cdba9(0x1ef)]))return _0x517655[_0x3cdba9(0x21a)](IMAGE_HTTP_HOST_NT,_0x525c2c);const _0x1af3c3=await rkeyManager['getRkey'](),_0x3dea8d=_0x3dc662?_0x1af3c3[_0x3cdba9(0x1ea)]:_0x1af3c3[_0x3cdba9(0x1ff)];return _0x517655[_0x3cdba9(0x21a)](IMAGE_HTTP_HOST_NT+_0x525c2c,''+_0x3dea8d);}else return IMAGE_HTTP_HOST+_0x525c2c;}else{if(_0xef9fb8||_0x2f01a3)return IMAGE_HTTP_HOST+_0x3cdba9(0x1ed)+_0x517655[_0x3cdba9(0x217)](_0xef9fb8,_0x2f01a3)['toUpperCase']()+'/0';}return _0x517655[_0x3cdba9(0x1e9)](logDebug,_0x517655[_0x3cdba9(0x216)],_0x29a01c),'';}}export class NTQQFileCacheApi{static async[_0x513451(0x207)](_0x4114d0=!![]){return'';}static[_0x513451(0x215)](){return'';}static[_0x513451(0x223)](_0x354f62=[_0x513451(0x20d),_0x513451(0x204)]){const _0x33f612=_0x513451;return napCatCore[_0x33f612(0x228)][_0x33f612(0x1f1)]()[_0x33f612(0x229)](_0x354f62);}static[_0x513451(0x1f3)](_0x368ea1={}){const _0x7b71fc=_0x513451;return napCatCore[_0x7b71fc(0x228)][_0x7b71fc(0x1f1)]()[_0x7b71fc(0x1eb)](_0x368ea1);}static[_0x513451(0x219)](){const _0x237d95=_0x513451;return napCatCore['session'][_0x237d95(0x1f1)]()[_0x237d95(0x219)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x513451(0x200)](_0x57938d,_0x479963=0x3e8,_0x2f31fe=0x0){const _0x2b9c53=_0x513451;return napCatCore[_0x2b9c53(0x228)][_0x2b9c53(0x1f1)]()[_0x2b9c53(0x1f6)](_0x57938d,_0x479963,0x1,_0x2f31fe);}static['getFileCacheInfo'](_0x2e30dc,_0x50befc=0x3e8,_0x9a53a6){const _0x23cb07=_0x9a53a6?_0x9a53a6:{'fileType':_0x2e30dc};}static async['clearChatCache'](_0x2fff83=[],_0xeeb278=[]){const _0x38ced7=_0x513451;return napCatCore[_0x38ced7(0x228)][_0x38ced7(0x1f1)]()[_0x38ced7(0x212)](_0x2fff83,_0xeeb278);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.d.ts b/src/core.lib/src/apis/friend.d.ts deleted file mode 100644 index 1dc963cb..00000000 --- a/src/core.lib/src/apis/friend.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { User } from '@/core/entities'; -export declare class NTQQFriendApi { - static isBuddy(uid: string): Promise; - static getFriends(forced?: boolean): Promise; - static handleFriendRequest(flag: string, accept: boolean): Promise; -} diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js deleted file mode 100644 index e2bb0426..00000000 --- a/src/core.lib/src/apis/friend.js +++ /dev/null @@ -1 +0,0 @@ -function _0x88e9(_0x4fcf94,_0x28cacc){const _0x24ce99=_0x24ce();return _0x88e9=function(_0x88e956,_0x1b5a46){_0x88e956=_0x88e956-0x189;let _0x2633e6=_0x24ce99[_0x88e956];return _0x2633e6;},_0x88e9(_0x4fcf94,_0x28cacc);}const _0x416a46=_0x88e9;(function(_0x2a7047,_0x5a73a9){const _0x2ad60e=_0x88e9,_0x52e6f9=_0x2a7047();while(!![]){try{const _0x148df6=parseInt(_0x2ad60e(0x18d))/0x1+parseInt(_0x2ad60e(0x196))/0x2*(parseInt(_0x2ad60e(0x199))/0x3)+parseInt(_0x2ad60e(0x198))/0x4+-parseInt(_0x2ad60e(0x18b))/0x5*(parseInt(_0x2ad60e(0x194))/0x6)+-parseInt(_0x2ad60e(0x197))/0x7+-parseInt(_0x2ad60e(0x195))/0x8+parseInt(_0x2ad60e(0x19c))/0x9;if(_0x148df6===_0x5a73a9)break;else _0x52e6f9['push'](_0x52e6f9['shift']());}catch(_0x1c70c6){_0x52e6f9['push'](_0x52e6f9['shift']());}}}(_0x24ce,0x652fa));function _0x24ce(){const _0x11fbda=['buddyList','length','session','handleFriendRequest','1482ahvGHE','378408SjpaRD','4766AUCTBx','3904600AbDyZk','1042868KARvdb','153QowOrc','approvalFriendRequest','isBuddy','5023197becfHb','getBuddyService','NodeIKernelBuddyListener/onBuddyListChange','11710nKMnNk','push','657650nfMNrJ','split','getFriends'];_0x24ce=function(){return _0x11fbda;};return _0x24ce();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x416a46(0x19b)](_0x5056d7){const _0x565b81=_0x416a46;return napCatCore[_0x565b81(0x192)]['getBuddyService']()[_0x565b81(0x19b)](_0x5056d7);}static async[_0x416a46(0x18f)](_0xa5e378=![]){const _0x4130b5=_0x416a46;let [_0x3ddef9,_0x1b1ec1]=await NTEventDispatch['CallNormalEvent']('NodeIKernelBuddyService/getBuddyList',_0x4130b5(0x18a),0x1,0x1388,_0xa5e378);const _0x242e75=[];for(const _0x53ecf0 of _0x1b1ec1){for(const _0x38c04c of _0x53ecf0[_0x4130b5(0x190)]){_0x242e75[_0x4130b5(0x18c)](_0x38c04c);}}return _0x242e75;}static async[_0x416a46(0x193)](_0x55c5eb,_0x3aa96f){const _0x39e350=_0x416a46;let _0x9fb45e=_0x55c5eb[_0x39e350(0x18e)]('|');if(_0x9fb45e[_0x39e350(0x191)]<0x2)return;let _0x1c8394=_0x9fb45e[0x0],_0x4b5e4f=_0x9fb45e[0x1];napCatCore[_0x39e350(0x192)][_0x39e350(0x189)]()?.[_0x39e350(0x19a)]({'friendUid':_0x1c8394,'reqTime':_0x4b5e4f,'accept':_0x3aa96f});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts deleted file mode 100644 index 6132e3d1..00000000 --- a/src/core.lib/src/apis/group.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities'; -import { GeneralCallResult } from '@/core'; -export declare class NTQQGroupApi { - static getGroups(forced?: boolean): Promise; - static getGroupRecommendContactArkJson(GroupCode: string): Promise; - static CreatGroupFileFolder(groupCode: string, folderName: string): Promise; - static DelGroupFile(groupCode: string, files: string[]): Promise; - static DelGroupFileFolder(groupCode: string, folderId: string): Promise; - static getSingleScreenNotifies(num: number): Promise; - static getGroupMembers(groupQQ: string, num?: number): Promise>; - static getGroupNotifies(): Promise; - static GetGroupFileCount(Gids: Array): Promise; - static getGroupIgnoreNotifies(): Promise; - static getArkJsonGroupShare(GroupCode: string): Promise; - static uploadGroupBulletinPic(GroupCode: string, imageurl: string): Promise; - static handleGroupRequest(notify: GroupNotify, operateType: GroupRequestOperateTypes, reason?: string): Promise; - static quitGroup(groupQQ: string): Promise; - static kickMember(groupQQ: string, kickUids: string[], refuseForever?: boolean, kickReason?: string): Promise; - static banMember(groupQQ: string, memList: Array<{ - uid: string; - timeStamp: number; - }>): Promise; - static banGroup(groupQQ: string, shutUp: boolean): Promise; - static setMemberCard(groupQQ: string, memberUid: string, cardName: string): Promise; - static setMemberRole(groupQQ: string, memberUid: string, role: GroupMemberRole): Promise; - static setGroupName(groupQQ: string, groupName: string): Promise; - static setGroupTitle(groupQQ: string, uid: string, title: string): Promise; - static publishGroupBulletin(groupQQ: string, content: string, picInfo?: { - id: string; - width: number; - height: number; - } | undefined, pinned?: number, confirmRequired?: number): Promise; - static getGroupRemainAtTimes(GroupCode: string): Promise; - static getMemberExtInfo(groupCode: string, uin: string): Promise; -} diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js deleted file mode 100644 index d46ce173..00000000 --- a/src/core.lib/src/apis/group.js +++ /dev/null @@ -1 +0,0 @@ -const _0x43f500=_0x4084;function _0x17e4(){const _0x299f14=['getGroupNotifies','qun.qq.com','2439983JBlvst','group','RhJdx','NodeIKernelGroupListener/onGroupListUpdate','infos','kqnOt','banGroup','50VDdykI','domainPskeyMap','publishGroupBulletin','3346362uKdCRE','CallNormalEvent','setGroupTitle','setMemberCard','modifyMemberCardName','deleteGroupFolder','4066542JhhOek','errMsg','getGroupRemainAtTimes','getMemberExtInfo','getNextMemberList','get','WnuoH','OPKyf','result','errCode','getSingleScreenNotifies','357317AEENeu','bjKmJ','createMemberListScene','CreatGroupFileFolder','21084848WQjHQd','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupService/getGroupList','seq','getGroupService','createGroupFolder','getGroupMembers','2451144krFoPj','getGroupRecommendContactArkJson','RAmJY','setGroupName','FcGyJ','ncXTN','iHrGU','588132drRxNv','operateSysNotify','groupMemberList_MainWindow','arkJson','batchGetGroupFileCount','kickMember','type','NodeIKernelGroupService/getGroupRecommendContactArkJson','获取群成员列表出错,','setMemberShutUp','CallNoListenerEvent','groupCode','modifyMemberRole','getGroupIgnoreNotifies','setMemberRole','getRichMediaService','session','quitGroup','setGroupShutUp','uploadGroupBulletinPic','TITLETYPE','getPSkey','getArkJsonGroupShare'];_0x17e4=function(){return _0x299f14;};return _0x17e4();}function _0x4084(_0x2721cb,_0xa4fc3f){const _0x17e465=_0x17e4();return _0x4084=function(_0x408481,_0x4e71ab){_0x408481=_0x408481-0x16d;let _0x44e0da=_0x17e465[_0x408481];return _0x44e0da;},_0x4084(_0x2721cb,_0xa4fc3f);}(function(_0x14ffe6,_0x5b7eeb){const _0x58c186=_0x4084,_0x53e18a=_0x14ffe6();while(!![]){try{const _0x2e8045=-parseInt(_0x58c186(0x1a5))/0x1+parseInt(_0x58c186(0x1b0))/0x2+-parseInt(_0x58c186(0x19a))/0x3+-parseInt(_0x58c186(0x171))/0x4*(parseInt(_0x58c186(0x191))/0x5)+parseInt(_0x58c186(0x194))/0x6+-parseInt(_0x58c186(0x18a))/0x7+parseInt(_0x58c186(0x1a9))/0x8;if(_0x2e8045===_0x5b7eeb)break;else _0x53e18a['push'](_0x53e18a['shift']());}catch(_0x3de9fa){_0x53e18a['push'](_0x53e18a['shift']());}}}(_0x17e4,0xd8987));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x5cf05c=![]){const _0x38f5e4=_0x4084,_0x56a5b8={'ARCLw':_0x38f5e4(0x1ab),'RAmJY':_0x38f5e4(0x18d)};let [_0x50cbc2,_0x40eb0f,_0x531dc2]=await NTEventDispatch[_0x38f5e4(0x195)](_0x56a5b8['ARCLw'],_0x56a5b8[_0x38f5e4(0x1b2)],0x1,0x1388,_0x5cf05c);return _0x531dc2;}static async[_0x43f500(0x1b1)](_0x33b3c2){const _0x9ef5aa=_0x43f500;return napCatCore['session']['getGroupService']()[_0x9ef5aa(0x1b1)](_0x33b3c2);}static async[_0x43f500(0x1a8)](_0x394ba4,_0x5b9d57){const _0x5870a0=_0x43f500;return napCatCore[_0x5870a0(0x181)]['getRichMediaService']()[_0x5870a0(0x1ae)](_0x394ba4,_0x5b9d57);}static async['DelGroupFile'](_0x3fbaae,_0x1e08e9){const _0x1e0690=_0x43f500;return napCatCore[_0x1e0690(0x181)]['getRichMediaService']()['deleteGroupFile'](_0x3fbaae,[0x66],_0x1e08e9);}static async['DelGroupFileFolder'](_0x1a6dc1,_0xffa11d){const _0x27ddb2=_0x43f500;return napCatCore[_0x27ddb2(0x181)]['getRichMediaService']()[_0x27ddb2(0x199)](_0x1a6dc1,_0xffa11d);}static async[_0x43f500(0x1a4)](_0x523a19){const _0x50b13e=_0x43f500,_0x2ac257={'JeNLS':_0x50b13e(0x1aa),'ncXTN':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x5e1913,_0x36d796,_0x4877d2,_0x42f332]=await NTEventDispatch[_0x50b13e(0x195)](_0x2ac257['JeNLS'],_0x2ac257[_0x50b13e(0x16f)],0x1,0x1388,![],'',_0x523a19);return _0x42f332;}static async[_0x43f500(0x1af)](_0x14c2f6,_0xde9844=0xbb8){const _0x1d7609=_0x43f500,_0x4a90bf={'RhJdx':_0x1d7609(0x173),'WnuoH':function(_0x3e5580,_0x49dd5d){return _0x3e5580!==_0x49dd5d;},'FcGyJ':function(_0x3234d7,_0x2b2323){return _0x3234d7+_0x2b2323;},'iHrGU':_0x1d7609(0x179)},_0x5df85e=napCatCore['session'][_0x1d7609(0x1ad)](),_0x4e661b=_0x5df85e[_0x1d7609(0x1a7)](_0x14c2f6,_0x4a90bf[_0x1d7609(0x18c)]),_0x24f742=await _0x5df85e[_0x1d7609(0x19e)](_0x4e661b,undefined,_0xde9844);if(_0x4a90bf[_0x1d7609(0x1a0)](_0x24f742[_0x1d7609(0x1a3)],0x0))throw _0x4a90bf[_0x1d7609(0x16e)](_0x4a90bf[_0x1d7609(0x170)],_0x24f742[_0x1d7609(0x19b)]);return _0x24f742[_0x1d7609(0x1a2)][_0x1d7609(0x18e)];}static async[_0x43f500(0x188)](){}static async['GetGroupFileCount'](_0x5150e3){const _0x151780=_0x43f500;return napCatCore[_0x151780(0x181)][_0x151780(0x180)]()[_0x151780(0x175)](_0x5150e3);}static async[_0x43f500(0x17e)](){}static async[_0x43f500(0x187)](_0x3339da){const _0x1fb773=_0x43f500,_0x3b0e61={'hDley':_0x1fb773(0x178)};let _0x42430f=await NTEventDispatch[_0x1fb773(0x17b)](_0x3b0e61['hDley'],0x1388,_0x3339da);return _0x42430f[_0x1fb773(0x174)];}static async[_0x43f500(0x184)](_0x40cebd,_0x4e14ca){const _0x1adef8=_0x43f500,_0x4f5d66={'kqnOt':'qun.qq.com'},_0x24959a=(await NTQQUserApi[_0x1adef8(0x186)]([_0x1adef8(0x189)]))[_0x1adef8(0x192)][_0x1adef8(0x19f)](_0x4f5d66[_0x1adef8(0x18f)]);return napCatCore['session'][_0x1adef8(0x1ad)]()[_0x1adef8(0x184)](_0x40cebd,_0x24959a,_0x4e14ca);}static async['handleGroupRequest'](_0xe50363,_0x2ffa0e,_0x1aaf34){const _0x1bd61e=_0x43f500;return napCatCore[_0x1bd61e(0x181)][_0x1bd61e(0x1ad)]()[_0x1bd61e(0x172)](![],{'operateType':_0x2ffa0e,'targetMsg':{'seq':_0xe50363[_0x1bd61e(0x1ac)],'type':_0xe50363[_0x1bd61e(0x177)],'groupCode':_0xe50363[_0x1bd61e(0x18b)][_0x1bd61e(0x17c)],'postscript':_0x1aaf34||''}});}static async[_0x43f500(0x182)](_0x384ae4){const _0xac418f=_0x43f500;return napCatCore[_0xac418f(0x181)]['getGroupService']()[_0xac418f(0x182)](_0x384ae4);}static async[_0x43f500(0x176)](_0x42ad2f,_0x388bce,_0x43b0c1=![],_0xc9b9f4=''){const _0x35c466=_0x43f500;return napCatCore[_0x35c466(0x181)][_0x35c466(0x1ad)]()[_0x35c466(0x176)](_0x42ad2f,_0x388bce,_0x43b0c1,_0xc9b9f4);}static async['banMember'](_0x120f8e,_0x32430c){const _0x112619=_0x43f500;return napCatCore['session'][_0x112619(0x1ad)]()[_0x112619(0x17a)](_0x120f8e,_0x32430c);}static async[_0x43f500(0x190)](_0x35fe5b,_0x242f9c){const _0x43d752=_0x43f500;return napCatCore['session'][_0x43d752(0x1ad)]()[_0x43d752(0x183)](_0x35fe5b,_0x242f9c);}static async[_0x43f500(0x197)](_0x2b3636,_0x12d325,_0x1a757e){const _0xe456bf=_0x43f500;return napCatCore['session'][_0xe456bf(0x1ad)]()[_0xe456bf(0x198)](_0x2b3636,_0x12d325,_0x1a757e);}static async[_0x43f500(0x17f)](_0x18e85f,_0x5ea714,_0x4ff7d4){const _0x40d8ad=_0x43f500;return napCatCore[_0x40d8ad(0x181)][_0x40d8ad(0x1ad)]()[_0x40d8ad(0x17d)](_0x18e85f,_0x5ea714,_0x4ff7d4);}static async[_0x43f500(0x16d)](_0x43eafd,_0x496fbe){const _0x123bb5=_0x43f500;return napCatCore['session'][_0x123bb5(0x1ad)]()['modifyGroupName'](_0x43eafd,_0x496fbe,![]);}static async[_0x43f500(0x196)](_0x508c5f,_0x326c99,_0x585d21){}static async[_0x43f500(0x193)](_0x435b58,_0x203feb,_0x26b03d=undefined,_0x2dbde4=0x0,_0x17af6b=0x0){const _0x5bcf89=_0x43f500,_0xdc5f85={'bjKmJ':_0x5bcf89(0x189),'OPKyf':function(_0x95c8be,_0x453f83){return _0x95c8be(_0x453f83);}},_0x8931f5=(await NTQQUserApi[_0x5bcf89(0x186)]([_0xdc5f85['bjKmJ']]))['domainPskeyMap']['get'](_0xdc5f85[_0x5bcf89(0x1a6)]);let _0xd4ed7a={'text':_0xdc5f85[_0x5bcf89(0x1a1)](encodeURI,_0x203feb),'picInfo':_0x26b03d,'oldFeedsId':'','pinned':_0x2dbde4,'confirmRequired':_0x17af6b};return napCatCore[_0x5bcf89(0x181)][_0x5bcf89(0x1ad)]()[_0x5bcf89(0x193)](_0x435b58,_0x8931f5,_0xd4ed7a);}static async[_0x43f500(0x19c)](_0x140ccd){const _0x42974f=_0x43f500;napCatCore[_0x42974f(0x181)]['getGroupService']()['getGroupRemainAtTimes'](_0x140ccd);}static async[_0x43f500(0x19d)](_0x490eca,_0x467c68){const _0x5013e3=_0x43f500;return napCatCore[_0x5013e3(0x181)]['getGroupService']()['getMemberExtInfo']({'groupCode':_0x490eca,'sourceType':MemberExtSourceType[_0x5013e3(0x185)],'beginUin':'0','dataTime':'0','uinList':[_0x467c68],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.d.ts b/src/core.lib/src/apis/index.d.ts deleted file mode 100644 index bdf20c84..00000000 --- a/src/core.lib/src/apis/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './file'; -export * from './friend'; -export * from './group'; -export * from './msg'; -export * from './user'; -export * from './webapi'; -export * from './sign'; -export * from './system'; diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js deleted file mode 100644 index c8d3bb2d..00000000 --- a/src/core.lib/src/apis/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x1faeb7,_0x2b5858){var _0x356722=_0x1002,_0x492bfb=_0x1faeb7();while(!![]){try{var _0x40a758=parseInt(_0x356722(0x114))/0x1*(parseInt(_0x356722(0x10d))/0x2)+parseInt(_0x356722(0x10e))/0x3+-parseInt(_0x356722(0x110))/0x4*(-parseInt(_0x356722(0x112))/0x5)+-parseInt(_0x356722(0x115))/0x6*(-parseInt(_0x356722(0x10b))/0x7)+-parseInt(_0x356722(0x10a))/0x8+-parseInt(_0x356722(0x111))/0x9*(-parseInt(_0x356722(0x10c))/0xa)+parseInt(_0x356722(0x113))/0xb*(-parseInt(_0x356722(0x10f))/0xc);if(_0x40a758===_0x2b5858)break;else _0x492bfb['push'](_0x492bfb['shift']());}catch(_0xab1c67){_0x492bfb['push'](_0x492bfb['shift']());}}}(_0x176a,0x1c49e));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1002(_0x15e09f,_0x1c0031){var _0x176aff=_0x176a();return _0x1002=function(_0x100263,_0x140c07){_0x100263=_0x100263-0x10a;var _0xf86b1=_0x176aff[_0x100263];return _0xf86b1;},_0x1002(_0x15e09f,_0x1c0031);}export*from'./user';export*from'./webapi';function _0x176a(){var _0x564d0f=['372501JoLTtY','895415zIReFp','753577ZGJOnL','1AfzCoH','606FrOVcP','1379240ADjZDA','8519nCQdgC','20zvyVUA','73956jVsDJp','216120DGWWNg','36TthJRO','4TUgtTs'];_0x176a=function(){return _0x564d0f;};return _0x176a();}export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.d.ts b/src/core.lib/src/apis/msg.d.ts deleted file mode 100644 index 5f52dbbf..00000000 --- a/src/core.lib/src/apis/msg.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { GetFileListParam, Peer, RawMessage, SendMessageElement } from '@/core/entities'; -import { GeneralCallResult } from '@/core/services/common'; -export declare class NTQQMsgApi { - static setEmojiLike(peer: Peer, msgSeq: string, emojiId: string, set?: boolean): Promise; - static getMultiMsg(peer: Peer, rootMsgId: string, parentMsgId: string): Promise; - static getMsgsByMsgId(peer: Peer, msgIds: string[]): Promise; - static getMsgsBySeqAndCount(peer: Peer, seq: string, count: number, desc: boolean, z: boolean): Promise; - static activateChat(peer: Peer): Promise; - static activateChatAndGetHistory(peer: Peer): Promise; - static setMsgRead(peer: Peer): Promise; - static getGroupFileList(GroupCode: string, params: GetFileListParam): Promise; - static getMsgHistory(peer: Peer, msgId: string, count: number): Promise; - static fetchRecentContact(): Promise; - static recallMsg(peer: Peer, msgIds: string[]): Promise; - static sendMsg(peer: Peer, msgElements: SendMessageElement[], waitComplete?: boolean, timeout?: number): Promise; - static forwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise; - static multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise; -} diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js deleted file mode 100644 index 870c79e7..00000000 --- a/src/core.lib/src/apis/msg.js +++ /dev/null @@ -1 +0,0 @@ -const _0x88cb9b=_0x1082;(function(_0x3b354b,_0x1a278e){const _0x183937=_0x1082,_0x172988=_0x3b354b();while(!![]){try{const _0x5221a1=-parseInt(_0x183937(0x11e))/0x1*(parseInt(_0x183937(0xe6))/0x2)+-parseInt(_0x183937(0xe7))/0x3+parseInt(_0x183937(0xf2))/0x4+parseInt(_0x183937(0x10c))/0x5*(parseInt(_0x183937(0xfc))/0x6)+-parseInt(_0x183937(0x12a))/0x7+-parseInt(_0x183937(0x107))/0x8*(-parseInt(_0x183937(0x10f))/0x9)+parseInt(_0x183937(0x101))/0xa*(-parseInt(_0x183937(0xf6))/0xb);if(_0x5221a1===_0x1a278e)break;else _0x172988['push'](_0x172988['shift']());}catch(_0x34abf2){_0x172988['push'](_0x172988['shift']());}}}(_0x23e8,0xd89c5));function _0x23e8(){const _0x3e26f1=['activateChatAndGetHistory','862770qHYqFk','setEmojiLike','FKYnI','getMultiMsg','session','10AoFcVd','KCFta','getMsgHistory','setMsgRead','forwardMsg','sendMsg','8XIPgER','length','Ladtc','activateChat','recallMsg','60NRFNsR','then','multiForwardMsg','2767815pXMNBJ','AejbK','uid','set','getMsgsBySeqAndCount','arkElement','app','afFNW','IxBEW','onLoginSuccess','发送超时','map','msgxR','setMsgEmojiLikes','catch','23441ZuQWKe','elements','获取群文件列表超时','getGroupFileList','转发消息超时','ijxWu','getRichMediaService','LQGUT','addListener','oBwDp','toString','lcGTr','3882305cWdUIK','onAddSendMsg','msgId','150Jewdkr','64887XAgcLA','getMsgsByMsgId','find','delete','xbEbb','onGroupFileInfoUpdate','LCeLN','multiForwardMsgWithComment','xetwe','peerUid','ReGIW','6475568qldXPV','uFvSD','senderUid','parse','4734521KQfHoS','com.tencent.multimsg','sendStatus','getMsgsIncludeSelf','getMsgService'];_0x23e8=function(){return _0x3e26f1;};return _0x23e8();}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x1082(_0x37b29b,_0x18d416){const _0x23e850=_0x23e8();return _0x1082=function(_0x108292,_0x32a692){_0x108292=_0x108292-0xe4;let _0x3ef506=_0x23e850[_0x108292];return _0x3ef506;},_0x1082(_0x37b29b,_0x18d416);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x88cb9b(0xec)]=_0x197c58=>{const _0x3958f0=_0x88cb9b;for(const [_0x2850a2,_0x1b6751]of GroupFileInfoUpdateTasks){_0x1b6751(_0x197c58),GroupFileInfoUpdateTasks[_0x3958f0(0xea)](_0x2850a2);}},msgListener[_0x88cb9b(0xe4)]=_0x55c8b8=>{const _0xedfe40=_0x88cb9b,_0x3bf8d9={'KxXxL':function(_0x226246,_0x32a185){return _0x226246(_0x32a185);},'NDtiz':function(_0x551961,_0x232d73){return _0x551961 instanceof _0x232d73;}};for(const [_0x223e32,_0x4b7d79]of sentMsgTasks){_0x3bf8d9['KxXxL'](_0x4b7d79,_0x55c8b8),sentMsgTasks[_0xedfe40(0xea)](_0x223e32);}if(sendMessagePool[_0x55c8b8['peerUid']]){const _0x410bba=sendMessagePool[_0x55c8b8['peerUid']]?.(_0x55c8b8);_0x3bf8d9['NDtiz'](_0x410bba,Promise)&&_0x410bba[_0xedfe40(0x10d)]()['catch'](logError);}},msgListener['onMsgInfoListUpdate']=_0x55a7ed=>{const _0x3928d3={'IxBEW':function(_0xc25105,_0x1b1de8){return _0xc25105(_0x1b1de8);},'Ladtc':function(_0xd0c8ee,_0x2dcdf5){return _0xd0c8ee instanceof _0x2dcdf5;},'LCeLN':function(_0x1b56d4,_0x576959){return _0x1b56d4(_0x576959);}};_0x55a7ed['forEach'](_0x2fbfc8=>{const _0x50e74d=_0x1082;new Promise((_0x4603dd,_0x372ded)=>{const _0x47f0c9=_0x1082;for(const _0x542ca9 in sendSuccessCBMap){const _0x11a8fd=sendSuccessCBMap[_0x542ca9],_0x53ad80=_0x3928d3[_0x47f0c9(0x117)](_0x11a8fd,_0x2fbfc8),_0x148590=_0x582c68=>{_0x582c68&&delete sendSuccessCBMap[_0x542ca9];};_0x3928d3[_0x47f0c9(0x109)](_0x53ad80,Promise)?_0x53ad80[_0x47f0c9(0x10d)](_0x148590):_0x3928d3[_0x47f0c9(0xed)](_0x148590,_0x53ad80);}})[_0x50e74d(0x10d)]()[_0x50e74d(0x11d)](log);});},setTimeout(()=>{const _0x23b5df=_0x88cb9b;napCatCore[_0x23b5df(0x118)](()=>{const _0x4d93cf=_0x23b5df;napCatCore[_0x4d93cf(0x126)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x88cb9b(0xfd)](_0x340934,_0x14b51b,_0x53810d,_0x2b491f=!![]){const _0x1c353=_0x88cb9b;return _0x53810d=_0x53810d[_0x1c353(0x128)](),napCatCore[_0x1c353(0x100)]['getMsgService']()[_0x1c353(0x11c)](_0x340934,_0x14b51b,_0x53810d,_0x53810d[_0x1c353(0x108)]>0x3?'2':'1',_0x2b491f);}static async[_0x88cb9b(0xff)](_0x19a019,_0xa1c37e,_0x82d3f6){const _0x2cb9af=_0x88cb9b;return napCatCore[_0x2cb9af(0x100)]['getMsgService']()[_0x2cb9af(0xff)](_0x19a019,_0xa1c37e,_0x82d3f6);}static async[_0x88cb9b(0xe8)](_0x302d64,_0x3f2ce2){const _0x5e58e5=_0x88cb9b;return await napCatCore[_0x5e58e5(0x100)]['getMsgService']()[_0x5e58e5(0xe8)](_0x302d64,_0x3f2ce2);}static async[_0x88cb9b(0x113)](_0x3845fb,_0x50f485,_0x244a2a,_0x704daa,_0x268d6a){const _0x2de6b4=_0x88cb9b;return await napCatCore['session'][_0x2de6b4(0xfa)]()[_0x2de6b4(0x113)](_0x3845fb,_0x50f485,_0x244a2a,_0x704daa,_0x268d6a);}static async[_0x88cb9b(0x10a)](_0xac8571){}static async[_0x88cb9b(0xfb)](_0x4d8f02){}static async[_0x88cb9b(0x104)](_0x476d51){const _0x3dc143=_0x88cb9b;return napCatCore[_0x3dc143(0x100)]['getMsgService']()[_0x3dc143(0x104)](_0x476d51);}static async['getGroupFileList'](_0x3d23a7,_0x4402e7){const _0x23ba22=_0x88cb9b,_0x66060f={'KWvqW':function(_0x560a31,_0x381398){return _0x560a31(_0x381398);},'FKYnI':_0x23ba22(0x120)};return new Promise(async(_0x3e21e4,_0x2ad765)=>{const _0x3a4cd1=_0x23ba22;let _0x3c3c86=![];setTimeout(()=>{const _0x4c3cfe=_0x1082;!_0x3c3c86&&_0x66060f['KWvqW'](_0x2ad765,_0x66060f[_0x4c3cfe(0xfe)]);},0x1388);const _0x132364=_0x5607b5=>{_0x3c3c86=!![],_0x3e21e4(_0x5607b5['item']);};GroupFileInfoUpdateTasks['set'](randomUUID(),_0x132364),await napCatCore[_0x3a4cd1(0x100)][_0x3a4cd1(0x124)]()[_0x3a4cd1(0x121)](_0x3d23a7,_0x4402e7);});}static async[_0x88cb9b(0x103)](_0x32f52f,_0x326da0,_0x19f52a){const _0x5b20d6=_0x88cb9b;return napCatCore[_0x5b20d6(0x100)][_0x5b20d6(0xfa)]()[_0x5b20d6(0xf9)](_0x32f52f,_0x326da0,_0x19f52a,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x75a7da,_0x5b489c){const _0x2f090a=_0x88cb9b;await napCatCore[_0x2f090a(0x100)]['getMsgService']()[_0x2f090a(0x10b)]({'chatType':_0x75a7da['chatType'],'peerUid':_0x75a7da['peerUid']},_0x5b489c);}static async[_0x88cb9b(0x106)](_0x29376f,_0x323972,_0x523d5b=!![],_0xade997=0x2710){const _0x43ee5d=_0x88cb9b,_0x11969b={'ipAhy':function(_0x40fd4d,_0x2279b1){return _0x40fd4d>_0x2279b1;},'oBwDp':_0x43ee5d(0x119),'uFvSD':function(_0x5372f6,_0x2450af){return _0x5372f6(_0x2450af);},'lcGTr':function(_0x48b4e4){return _0x48b4e4();},'rlfKJ':function(_0x36d258,_0x2ce83b){return _0x36d258===_0x2ce83b;},'msgxR':function(_0x4c7b61,_0x1b4aaf){return _0x4c7b61(_0x1b4aaf);},'KCFta':function(_0x4f32b0,_0x3fb4a0,_0x576f15){return _0x4f32b0(_0x3fb4a0,_0x576f15);},'afFNW':function(_0x856b1b){return _0x856b1b();}},_0x53aab7=_0x29376f[_0x43ee5d(0xf0)];let _0x12ec09=0x0;const _0xdc446f=async()=>{const _0x50a0b5=_0x43ee5d;if(_0x11969b['ipAhy'](_0x12ec09,_0xade997))throw _0x11969b[_0x50a0b5(0x127)];const _0x5edeca=sendMessagePool[_0x29376f['peerUid']];if(_0x5edeca)return await _0x11969b[_0x50a0b5(0xf3)](sleep,0x1f4),_0x12ec09+=0x1f4,await _0x11969b[_0x50a0b5(0x129)](_0xdc446f);else return;};return await _0x11969b[_0x43ee5d(0x116)](_0xdc446f),new Promise((_0x4dac5c,_0x48e038)=>{const _0x537a29=_0x43ee5d,_0x3ab4b2={'LQGUT':function(_0x3b567a,_0x4dba36){const _0x236025=_0x1082;return _0x11969b[_0x236025(0x11b)](_0x3b567a,_0x4dba36);},'DwJfo':_0x537a29(0x119)};let _0x416e5e=![],_0x13246c=null;const _0x503518=randomUUID();sendSuccessCBMap[_0x503518]=_0x404fb3=>{const _0x33f16=_0x537a29;if(_0x404fb3[_0x33f16(0xe5)]===_0x13246c?.[_0x33f16(0xe5)]){if(_0x11969b['rlfKJ'](_0x404fb3[_0x33f16(0xf8)],0x2))return delete sendSuccessCBMap[_0x503518],_0x416e5e=!![],_0x11969b[_0x33f16(0x11b)](_0x4dac5c,_0x404fb3),!![];return![];}return![];},sendMessagePool[_0x53aab7]=async _0x4f4c5e=>{delete sendMessagePool[_0x53aab7],_0x13246c=_0x4f4c5e;},_0x11969b[_0x537a29(0x102)](setTimeout,()=>{const _0x151658=_0x537a29;if(_0x416e5e)return;delete sendMessagePool[_0x53aab7],delete sendSuccessCBMap[_0x503518],_0x3ab4b2[_0x151658(0x125)](_0x48e038,_0x3ab4b2['DwJfo']);},_0xade997);const _0x17ee23=napCatCore['session'][_0x537a29(0xfa)]()['sendMsg']('0',_0x29376f,_0x323972,new Map());});}static async[_0x88cb9b(0x105)](_0x44b8b8,_0x293a87,_0x759f3d){const _0x5f0502=_0x88cb9b;return napCatCore[_0x5f0502(0x100)][_0x5f0502(0xfa)]()[_0x5f0502(0x105)](_0x759f3d,_0x44b8b8,[_0x293a87],new Map());}static async[_0x88cb9b(0x10e)](_0xe15824,_0x27a426,_0x156e5e){const _0xedf91c=_0x88cb9b,_0x3aca60={'ijxWu':_0xedf91c(0xf7),'xbEbb':function(_0x27e984,_0x2bfac5){return _0x27e984==_0x2bfac5;},'ReGIW':function(_0x33e1e4,_0x5836de){return _0x33e1e4(_0x5836de);},'VmKUG':_0xedf91c(0x122),'DkVoU':function(_0x520d38,_0x5817db,_0x21be8f){return _0x520d38(_0x5817db,_0x21be8f);}},_0x3019ff=_0x156e5e[_0xedf91c(0x11a)](_0x18150d=>{return{'msgId':_0x18150d,'senderShowName':selfInfo['nick']};});return new Promise((_0x16fa84,_0x24b44c)=>{const _0x8183ea=_0xedf91c,_0x52af1e={'OptGu':_0x3aca60[_0x8183ea(0x123)],'jTzEE':function(_0x47fac0,_0x4578d9){const _0x832b3a=_0x8183ea;return _0x3aca60[_0x832b3a(0xeb)](_0x47fac0,_0x4578d9);},'AejbK':function(_0x237477,_0x1c5627){const _0x5dbd39=_0x8183ea;return _0x3aca60[_0x5dbd39(0xf1)](_0x237477,_0x1c5627);},'xetwe':_0x3aca60['VmKUG']};let _0x4098d9=![];const _0x27cbec=_0x5db5d7=>{const _0x55d83=_0x8183ea,_0x36aa9e=_0x5db5d7[_0x55d83(0x11f)][_0x55d83(0xe9)](_0x1c97f5=>_0x1c97f5[_0x55d83(0x114)]);if(!_0x36aa9e)return;const _0x51b89f=JSON[_0x55d83(0xf5)](_0x36aa9e[_0x55d83(0x114)]['bytesData']);if(_0x51b89f[_0x55d83(0x115)]!=_0x52af1e['OptGu'])return;_0x52af1e['jTzEE'](_0x5db5d7[_0x55d83(0xf0)],_0x27a426[_0x55d83(0xf0)])&&_0x5db5d7[_0x55d83(0xf4)]==selfInfo[_0x55d83(0x111)]&&(_0x4098d9=!![],_0x52af1e[_0x55d83(0x110)](_0x16fa84,_0x5db5d7));};sentMsgTasks[_0x8183ea(0x112)](randomUUID(),_0x27cbec),_0x3aca60['DkVoU'](setTimeout,()=>{const _0x500ca9=_0x8183ea;!_0x4098d9&&_0x52af1e[_0x500ca9(0x110)](_0x24b44c,_0x52af1e[_0x500ca9(0xef)]);},0x1388),napCatCore[_0x8183ea(0x100)]['getMsgService']()[_0x8183ea(0xee)](_0x3019ff,_0xe15824,_0x27a426,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.d.ts b/src/core.lib/src/apis/sign.d.ts deleted file mode 100644 index 4577dafb..00000000 --- a/src/core.lib/src/apis/sign.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export interface IdMusicSignPostData { - type: 'qq' | '163'; - id: string | number; -} -export interface CustomMusicSignPostData { - type: 'custom'; - url: string; - audio: string; - title: string; - image?: string; - singer?: string; -} -export interface MiniAppLuaJsonType { - prompt: string; - title: string; - preview: string; - jumpUrl: string; - tag: string; - tagIcon: string; - source: string; - sourcelogo: string; -} -export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise; -export declare function SignMusicInternal(songname: string, singer: string, cover: string, songmid: string, songmusic: string): Promise<{ - code: number; - data: { - arkResult: string; - }; -}>; -export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise<{ - mid: string; - name?: string | undefined; - singer?: string | undefined; - url?: string | undefined; - cover?: string | undefined; -}>; -export declare function CreateMusicThridWay1(id?: string, mid?: string): Promise; -export declare function SignMusicWrapper(id?: string): Promise<{ - code: number; - data: { - arkResult: string; - }; -}>; diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js deleted file mode 100644 index a877d367..00000000 --- a/src/core.lib/src/apis/sign.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x269d99,_0x4a5ee7){const _0x1eee88=_0x428e,_0xb2c582=_0x269d99();while(!![]){try{const _0x33dd63=-parseInt(_0x1eee88(0x211))/0x1*(-parseInt(_0x1eee88(0x203))/0x2)+-parseInt(_0x1eee88(0x1f5))/0x3+-parseInt(_0x1eee88(0x231))/0x4+-parseInt(_0x1eee88(0x222))/0x5+parseInt(_0x1eee88(0x210))/0x6*(-parseInt(_0x1eee88(0x1f0))/0x7)+parseInt(_0x1eee88(0x229))/0x8*(-parseInt(_0x1eee88(0x233))/0x9)+-parseInt(_0x1eee88(0x20d))/0xa*(-parseInt(_0x1eee88(0x206))/0xb);if(_0x33dd63===_0x4a5ee7)break;else _0xb2c582['push'](_0xb2c582['shift']());}catch(_0x97823c){_0xb2c582['push'](_0xb2c582['shift']());}}}(_0x4473,0xcee67));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x5613e8){const _0x50b96f=_0x428e,_0x1bb771={'HfrOb':_0x50b96f(0x1f7),'xwOjQ':'tianxuan.imgJumpArk','JXdOb':_0x50b96f(0x23b),'yxYPb':_0x50b96f(0x1ec),'YBgiW':function(_0x4b5370,_0x52bdc4){return _0x4b5370+_0x52bdc4;},'Kejdf':function(_0x2a7afe,_0x39ea5f){return _0x2a7afe+_0x39ea5f;},'ilupu':_0x50b96f(0x237),'ElpYC':_0x50b96f(0x1ed),'tHIkZ':_0x50b96f(0x239),'xTXSH':_0x50b96f(0x20f),'kZhCS':function(_0x2154e4,_0xd0a1f5){return _0x2154e4+_0xd0a1f5;},'FSyfJ':_0x50b96f(0x1f6),'QuWMA':'&ark=','KfVoR':_0x50b96f(0x1fe),'RXIgv':function(_0x266064,_0x54d844,_0x585e53){return _0x266064(_0x54d844,_0x585e53);}};let _0x312236={'app':_0x1bb771[_0x50b96f(0x22b)],'bizsrc':_0x1bb771[_0x50b96f(0x21f)],'view':_0x1bb771['JXdOb'],'prompt':_0x5613e8[_0x50b96f(0x1f9)],'config':{'type':_0x50b96f(0x1ef),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5613e8['title'],'preview':_0x5613e8['preview'][_0x50b96f(0x21a)](/\\/g,_0x1bb771[_0x50b96f(0x218)]),'jumpUrl':_0x5613e8[_0x50b96f(0x207)][_0x50b96f(0x21a)](/\\/g,'\x5c/\x5c/'),'tag':_0x5613e8[_0x50b96f(0x217)],'tagIcon':_0x5613e8[_0x50b96f(0x22a)][_0x50b96f(0x21a)](/\\/g,_0x1bb771[_0x50b96f(0x218)]),'source':_0x5613e8[_0x50b96f(0x1ee)],'sourcelogo':_0x5613e8[_0x50b96f(0x212)][_0x50b96f(0x21a)](/\\/g,_0x1bb771['yxYPb'])}}},_0x439563=await NTQQUserApi[_0x50b96f(0x208)]();const _0x36f24a=WebApi[_0x50b96f(0x20e)](_0x439563[_0x50b96f(0x204)]),_0x343b3d=_0x1bb771[_0x50b96f(0x216)](_0x1bb771['YBgiW'](_0x1bb771[_0x50b96f(0x227)](_0x1bb771[_0x50b96f(0x216)](_0x1bb771[_0x50b96f(0x227)](_0x1bb771['Kejdf'](_0x1bb771[_0x50b96f(0x227)](_0x1bb771['ilupu'],_0x439563['p_skey']),_0x1bb771['ElpYC']),_0x439563['skey']),_0x1bb771[_0x50b96f(0x1f1)]),selfInfo[_0x50b96f(0x21c)]),_0x1bb771['xTXSH']),selfInfo[_0x50b96f(0x21c)]);let _0x58da5d=_0x1bb771['Kejdf'](_0x1bb771[_0x50b96f(0x209)](_0x1bb771[_0x50b96f(0x21b)]+_0x36f24a,_0x1bb771['QuWMA']),encodeURIComponent(JSON[_0x50b96f(0x1ff)](_0x312236))),_0x4f99b9='';try{let _0xcb55dd=await RequestUtil[_0x50b96f(0x1f2)](_0x58da5d,_0x1bb771[_0x50b96f(0x20a)],undefined,{'Cookie':_0x343b3d});_0x4f99b9=_0xcb55dd[_0x50b96f(0x20b)]['signed_ark'];}catch(_0xa5805){_0x1bb771[_0x50b96f(0x1f3)](logDebug,_0x50b96f(0x215),_0xa5805);}return _0x4f99b9;}export async function SignMusicInternal(_0x4622c9,_0x3516a2,_0x49c3ac,_0x1a5bfd,_0x83cbd9){const _0x55a424=_0x428e,_0x24cd5e={'yndou':'com.tencent.qqreader.share','rWdlR':_0x55a424(0x202),'BGCLT':_0x55a424(0x1ef),'vnFoO':function(_0x98b575,_0x1999a7){return _0x98b575+_0x1999a7;},'mCrdq':'https://i.y.qq.com/v8/playsong.html?songmid=','jRUdl':_0x55a424(0x223),'NfHmN':_0x55a424(0x22f),'gqcGb':_0x55a424(0x238),'zpZPU':function(_0xf6fcc4,_0x1ae8a0){return _0xf6fcc4+_0x1ae8a0;},'nqXeP':_0x55a424(0x236),'rGufr':_0x55a424(0x235),'rUKED':_0x55a424(0x225),'NsWSA':'uin=o10086'};let _0x1f34f7=_0x55a424(0x214),_0x4e5911={'app':_0x24cd5e['yndou'],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x24cd5e[_0x55a424(0x1f4)],'type':_0x24cd5e['BGCLT']},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x3516a2,'jumpUrl':_0x24cd5e[_0x55a424(0x22d)](_0x24cd5e[_0x55a424(0x219)],_0x1a5bfd)+_0x24cd5e[_0x55a424(0x213)],'musicUrl':_0x83cbd9,'preview':_0x49c3ac,'cover':_0x49c3ac,'sourceMsgId':'0','source_icon':_0x24cd5e[_0x55a424(0x201)],'source_url':'','tag':_0x24cd5e[_0x55a424(0x1fa)],'title':_0x4622c9,'uin':0x2766}},'prompt':_0x24cd5e[_0x55a424(0x1eb)](_0x55a424(0x200),_0x4622c9),'ver':_0x24cd5e[_0x55a424(0x20c)],'view':_0x24cd5e[_0x55a424(0x220)]},_0x34218e=await RequestUtil['HttpGetJson'](_0x1f34f7,_0x24cd5e['rUKED'],_0x4e5911,{'Cookie':_0x24cd5e[_0x55a424(0x228)],'Content-Type':_0x55a424(0x234)});return _0x34218e;}export async function CreateMusicThridWay0(_0x1d57ef='',_0x9fac1d=''){const _0x3f8de0=_0x428e,_0x247ef6={'KIhiw':function(_0x4209e1,_0x12b48a){return _0x4209e1==_0x12b48a;},'AdwAn':function(_0x3f3f4e,_0x5428fd){return _0x3f3f4e+_0x5428fd;},'tWkgl':_0x3f8de0(0x1fd),'wWIzi':function(_0x42564a,_0x38536d){return _0x42564a+_0x38536d;},'WNaeg':_0x3f8de0(0x23a),'GKoes':_0x3f8de0(0x1fe)};if(_0x247ef6['KIhiw'](_0x9fac1d,'')){let _0x5f2ee7=await RequestUtil[_0x3f8de0(0x1f2)](_0x247ef6[_0x3f8de0(0x1fb)](_0x247ef6[_0x3f8de0(0x1fb)](_0x247ef6[_0x3f8de0(0x22c)],_0x1d57ef),'},\x22module\x22:\x22music.pf_song_detail_svr\x22}}'),_0x3f8de0(0x1fe),undefined);_0x9fac1d=_0x5f2ee7['songinfo']?.[_0x3f8de0(0x20b)]?.['track_info'][_0x3f8de0(0x221)];}let _0x534223=await RequestUtil['HttpGetJson'](_0x247ef6[_0x3f8de0(0x205)]('https://api.leafone.cn/api/qqmusic?id=',_0x9fac1d)+_0x247ef6[_0x3f8de0(0x224)],_0x247ef6[_0x3f8de0(0x1f8)],undefined);return{..._0x534223[_0x3f8de0(0x20b)],'mid':_0x9fac1d};}export async function CreateMusicThridWay1(_0x23979f='',_0xc7a9cf=''){}function _0x428e(_0x1dce84,_0x39859a){const _0x44731f=_0x4473();return _0x428e=function(_0x428eb3,_0x1c8e38){_0x428eb3=_0x428eb3-0x1eb;let _0x52c097=_0x44731f[_0x428eb3];return _0x52c097;},_0x428e(_0x1dce84,_0x39859a);}export async function SignMusicWrapper(_0x3ce237=''){const _0x4fb171=_0x428e,_0x373319={'rZfpr':function(_0x2e8d83,_0x24a2b9){return _0x2e8d83(_0x24a2b9);},'BkBwY':function(_0x16507f,_0x3aa3ce,_0x2b4607,_0x547685,_0x51211d,_0x4f7459){return _0x16507f(_0x3aa3ce,_0x2b4607,_0x547685,_0x51211d,_0x4f7459);},'PJIQE':function(_0x1bac53,_0x592d92){return _0x1bac53+_0x592d92;},'CPyEQ':'https://ws.stream.qqmusic.qq.com/'};let _0x1bcdce=await _0x373319[_0x4fb171(0x232)](CreateMusicThridWay0,_0x3ce237),_0x1d28cf=await _0x373319[_0x4fb171(0x21e)](SignMusicInternal,_0x1bcdce[_0x4fb171(0x230)],_0x1bcdce[_0x4fb171(0x1fc)],_0x1bcdce['cover'],_0x1bcdce[_0x4fb171(0x221)],_0x373319[_0x4fb171(0x22e)](_0x373319[_0x4fb171(0x226)],_0x1bcdce[_0x4fb171(0x21d)]));return _0x1d28cf;}function _0x4473(){const _0x2583c0=['NfHmN','9a63343c32d5a16bcde653eb97faa25d','4mSCEuJ','p_skey','wWIzi','4631ULCQWB','jumpUrl','getQzoneCookies','kZhCS','KfVoR','data','nqXeP','112810VrfKAX','genBkn',';\x20uin=o','117312kmIItj','426413MHfyuq','sourcelogo','jRUdl','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','MiniApp\x20JSON\x20消息生成失败','YBgiW','tag','yxYPb','mCrdq','replace','FSyfJ','uin','url','BkBwY','xwOjQ','rGufr','mid','5041750sZZvRW','&type=0','WNaeg','POST','CPyEQ','Kejdf','NsWSA','112VXWTpn','tagIcon','HfrOb','tWkgl','vnFoO','PJIQE','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','name','5671704ymdlWc','rZfpr','1034901TLjlco','application/json','music','0.0.0.1','p_skey=','QQ音乐',';\x20p_uin=o','&type=8','miniapp','zpZPU','\x5c/\x5c/',';\x20skey=','source','normal','91Kyudne','tHIkZ','HttpGetJson','RXIgv','rWdlR','1393098mkhLbj','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','com.tencent.miniapp.lua','GKoes','prompt','gqcGb','AdwAn','singer','https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','GET','stringify','[分享]'];_0x4473=function(){return _0x2583c0;};return _0x4473();} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.d.ts b/src/core.lib/src/apis/system.d.ts deleted file mode 100644 index 4f95c87c..00000000 --- a/src/core.lib/src/apis/system.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { GeneralCallResult } from '@/core'; -export declare class NTQQSystemApi { - static hasOtherRunningQQProcess(): Promise; - static ORCImage(filePath: string): Promise; - static translateEnWordToZn(words: string[]): Promise; - static getOnlineDev(): Promise; - static getArkJsonCollection(cid: string): Promise; - static BootMiniApp(appfile: string, params: string): Promise; -} diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js deleted file mode 100644 index b45712d4..00000000 --- a/src/core.lib/src/apis/system.js +++ /dev/null @@ -1 +0,0 @@ -function _0x16e5(){const _0x246698=['8785bQoZXg','hasOtherRunningQQProcess','startNewMiniApp','getArkJsonCollection','BootMiniApp','418058cctbYb','SCQqt','504nSkYdd','session','getNodeMiscService','154esUxAU','getRichMediaService','12YOSTpl','10615254BolcED','336970avLfUF','setMiniAppVersion','20552cPbIwa','CallNoListenerEvent','translateEnWordToZn','util','123828rFvlkh','getMsgService','3fsDYWO','185765eWNHid','612FofVEs','2.16.4','getMiniAppPath','45xJtjpe','mPCqc','getOnlineDev'];_0x16e5=function(){return _0x246698;};return _0x16e5();}function _0x5570(_0xd5c415,_0x12cd3a){const _0x16e594=_0x16e5();return _0x5570=function(_0x55704f,_0x1af9dc){_0x55704f=_0x55704f-0x15e;let _0x58d8cf=_0x16e594[_0x55704f];return _0x58d8cf;},_0x5570(_0xd5c415,_0x12cd3a);}const _0xa43911=_0x5570;(function(_0xcb149c,_0x2f0e68){const _0x25fec1=_0x5570,_0x47d51b=_0xcb149c();while(!![]){try{const _0x1fea4d=-parseInt(_0x25fec1(0x175))/0x1+parseInt(_0x25fec1(0x163))/0x2*(parseInt(_0x25fec1(0x174))/0x3)+-parseInt(_0x25fec1(0x172))/0x4*(-parseInt(_0x25fec1(0x179))/0x5)+-parseInt(_0x25fec1(0x165))/0x6*(-parseInt(_0x25fec1(0x15e))/0x7)+parseInt(_0x25fec1(0x16e))/0x8*(parseInt(_0x25fec1(0x176))/0x9)+parseInt(_0x25fec1(0x16c))/0xa*(parseInt(_0x25fec1(0x168))/0xb)+parseInt(_0x25fec1(0x16a))/0xc*(-parseInt(_0x25fec1(0x16b))/0xd);if(_0x1fea4d===_0x2f0e68)break;else _0x47d51b['push'](_0x47d51b['shift']());}catch(_0x2ccbf4){_0x47d51b['push'](_0x47d51b['shift']());}}}(_0x16e5,0x39e85));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0xa43911(0x15f)](){const _0x3684ab=_0xa43911;return napCatCore[_0x3684ab(0x171)][_0x3684ab(0x15f)]();}static async['ORCImage'](_0x5b3abc){const _0x2b44c3=_0xa43911;return napCatCore['session'][_0x2b44c3(0x167)]()['wantWinScreenOCR'](_0x5b3abc);}static async[_0xa43911(0x170)](_0x46b089){const _0x5c28f0=_0xa43911;return napCatCore[_0x5c28f0(0x166)][_0x5c28f0(0x169)]()[_0x5c28f0(0x170)](_0x46b089);}static async[_0xa43911(0x17b)](){const _0x4705d1=_0xa43911;return napCatCore[_0x4705d1(0x166)][_0x4705d1(0x173)]()['getOnLineDev']();}static async[_0xa43911(0x161)](_0x225a7f){const _0x25cac4=_0xa43911,_0x28efdf={'ALvZL':'NodeIKernelCollectionService/collectionArkShare','SCQqt':'1717662698058'};let _0xdb2601=await NTEventDispatch[_0x25cac4(0x16f)](_0x28efdf['ALvZL'],0x1388,_0x28efdf[_0x25cac4(0x164)]);return _0xdb2601;}static async[_0xa43911(0x162)](_0x2901a0,_0x2ca296){const _0x233eef=_0xa43911,_0x1cf1fa={'mPCqc':_0x233eef(0x177)};await napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x16d)](_0x1cf1fa[_0x233eef(0x17a)]);let _0x3c6d0a=await napCatCore['session'][_0x233eef(0x167)]()[_0x233eef(0x178)]();return console['log'](_0x3c6d0a),napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x160)](_0x2901a0,_0x2ca296);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts deleted file mode 100644 index 6fef55dc..00000000 --- a/src/core.lib/src/apis/user.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { ModifyProfileParams, User, UserDetailInfoByUin } from '@/core/entities'; -import { GeneralCallResult } from '@/core'; -export declare class NTQQUserApi { - static setLongNick(longNick: string): Promise; - static setSelfOnlineStatus(status: number, extStatus: number, batteryStatus: number): Promise; - static getBuddyRecommendContactArkJson(uin: string, sencenID?: string): Promise; - static like(uid: string, count?: number): Promise<{ - result: number; - errMsg: string; - succCounts: number; - }>; - static setQQAvatar(filePath: string): Promise<{ - result: number; - errMsg: string; - }>; - static getSelfInfo(): Promise; - static getUserInfo(uid: string): Promise; - static getUserDetailInfo(uid: string): Promise; - static modifySelfProfile(param: ModifyProfileParams): Promise; - static getCookies(domain: string): Promise<{ - [key: string]: string; - }>; - static getPSkey(domainList: string[]): Promise; - }>; - static getRobotUinRange(): Promise>; - static getQzoneCookies(): Promise<{ - [key: string]: string; - }>; - static getSkey(): Promise; - static getUidByUin(Uin: string): Promise; - static getUinByUid(Uid: string | undefined): Promise; - static getUserDetailInfoByUin(Uin: string): Promise; - static forceFetchClientKey(): Promise; -} diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js deleted file mode 100644 index 49cf98a5..00000000 --- a/src/core.lib/src/apis/user.js +++ /dev/null @@ -1 +0,0 @@ -const _0x4164e7=_0x24e3;(function(_0x470ea0,_0x54cbaf){const _0xfa0bc3=_0x24e3,_0x3f7056=_0x470ea0();while(!![]){try{const _0x256f2e=-parseInt(_0xfa0bc3(0xb7))/0x1+-parseInt(_0xfa0bc3(0xf5))/0x2*(parseInt(_0xfa0bc3(0xd3))/0x3)+parseInt(_0xfa0bc3(0x109))/0x4+parseInt(_0xfa0bc3(0xdf))/0x5*(parseInt(_0xfa0bc3(0xdc))/0x6)+-parseInt(_0xfa0bc3(0xcb))/0x7*(parseInt(_0xfa0bc3(0xe2))/0x8)+-parseInt(_0xfa0bc3(0xe5))/0x9*(parseInt(_0xfa0bc3(0xf7))/0xa)+parseInt(_0xfa0bc3(0x105))/0xb;if(_0x256f2e===_0x54cbaf)break;else _0x3f7056['push'](_0x3f7056['shift']());}catch(_0x1e9425){_0x3f7056['push'](_0x3f7056['shift']());}}}(_0x5563,0xecd00));var __decorate=this&&this[_0x4164e7(0xe3)]||function(_0x4c88c3,_0x41cb48,_0x3c9603,_0x7b92d1){const _0x33c45d=_0x4164e7,_0x312b00={'bEBii':function(_0x542d3a,_0x20e705){return _0x542d3a<_0x20e705;},'TukCx':function(_0x5755b7,_0x4ed4c9){return _0x5755b7===_0x4ed4c9;},'wHHLz':'function','WcDBj':function(_0x64104f,_0x4194d8){return _0x64104f-_0x4194d8;},'UMPBc':function(_0x1810df,_0x4a19cd){return _0x1810df<_0x4a19cd;},'NrOxJ':function(_0x22667f,_0x5dc34f){return _0x22667f>_0x5dc34f;},'juGPV':function(_0x310a98,_0x516931,_0x21f850,_0x3ca85a){return _0x310a98(_0x516931,_0x21f850,_0x3ca85a);},'ZMARY':function(_0x55d451,_0xd09f8a,_0xcdc825){return _0x55d451(_0xd09f8a,_0xcdc825);}};var _0x1d1396=arguments[_0x33c45d(0xb8)],_0x2372c1=_0x312b00['bEBii'](_0x1d1396,0x3)?_0x41cb48:_0x312b00[_0x33c45d(0xcf)](_0x7b92d1,null)?_0x7b92d1=Object[_0x33c45d(0xbe)](_0x41cb48,_0x3c9603):_0x7b92d1,_0x38ca4c;if(typeof Reflect===_0x33c45d(0xce)&&typeof Reflect[_0x33c45d(0x101)]===_0x312b00['wHHLz'])_0x2372c1=Reflect[_0x33c45d(0x101)](_0x4c88c3,_0x41cb48,_0x3c9603,_0x7b92d1);else{for(var _0x2bf32e=_0x312b00['WcDBj'](_0x4c88c3[_0x33c45d(0xb8)],0x1);_0x2bf32e>=0x0;_0x2bf32e--)if(_0x38ca4c=_0x4c88c3[_0x2bf32e])_0x2372c1=(_0x312b00[_0x33c45d(0xc6)](_0x1d1396,0x3)?_0x38ca4c(_0x2372c1):_0x312b00[_0x33c45d(0xf3)](_0x1d1396,0x3)?_0x312b00['juGPV'](_0x38ca4c,_0x41cb48,_0x3c9603,_0x2372c1):_0x312b00[_0x33c45d(0xd4)](_0x38ca4c,_0x41cb48,_0x3c9603))||_0x2372c1;}return _0x312b00[_0x33c45d(0xf3)](_0x1d1396,0x3)&&_0x2372c1&&Object[_0x33c45d(0xf4)](_0x41cb48,_0x3c9603,_0x2372c1),_0x2372c1;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x24e3(_0x1b28e3,_0x30c9c6){const _0x55630b=_0x5563();return _0x24e3=function(_0x24e307,_0x142737){_0x24e307=_0x24e307-0xb3;let _0x568033=_0x55630b[_0x24e307];return _0x568033;},_0x24e3(_0x1b28e3,_0x30c9c6);}import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x5563(){const _0x872fc4=['getUserDetailInfoWithBizInfo','%2F','onLoginSuccess','decorate','getTicketService','setHeader','setLongNick','19488909kyWMIa','keyIndex','kBfXE','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','7474660FbfgcJ','poiqk','getMsgService','hWNhX','uid','fkkGN','NodeIKernelProfileService/getUserDetailInfoByUin','CallNoListenerEvent','1501692mtezSv','length','getClientKey\x20Error','&u1=https%3A%2F%2F','PZkIg','LmHCo','uin','getOwnPropertyDescriptor','like','getUserDetailInfo\x20timeout','onProfileDetailInfoChanged','NodeIKernelUixConvertService/getUin','modifySelfProfile','setStatus','skey','UMPBc','getRobotService','getUserInfo','result','PEtci','35819MinXlR','seYZv','session','object','TukCx','getUinByUid','jUIiS','response','3xrTzAQ','ZMARY','forceFetchClientKey','NxMFe','then','TnPJi','getQzoneCookies','getPSkey','getRobotUinRange','1106934kfDlLW','setBuddyProfileLike','errMsg','45tSZPVL','getProfileLikeService','getTipOffService','24xLPcoa','__decorate','%2Finfocenter&keyindex=19%27','16083WrxyaK','&clientkey=','get','getSkey','getBuddyRecommendContactArkJson','ClientKey','forEach','GXqzO','getSkey\x20Skey\x20is\x20Empty','robotUinRanges','clientKey','getUserDetailInfoByUin','getPskey','HttpsGetCookies','NrOxJ','defineProperty','2278678AeEcOo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','9370cbYnkI','setQQAvatar','modifyDesktopMiniProfile','RLFVb','eVnPg','OhwGo','JvneL'];_0x5563=function(){return _0x872fc4;};return _0x5563();}profileListener[_0x4164e7(0xc1)]=_0x443c85=>{const _0x42e13d=_0x4164e7;userInfoCache[_0x443c85[_0x42e13d(0xb3)]]=_0x443c85,userDetailHandlers[_0x42e13d(0xeb)](_0x53a8a3=>_0x53a8a3(_0x443c85));},setTimeout(()=>{const _0xc7700b=_0x4164e7;napCatCore[_0xc7700b(0x100)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4164e7(0x104)](_0x5cc979){const _0x281821=_0x4164e7;return napCatCore[_0x281821(0xcd)]['getProfileService']()[_0x281821(0x104)](_0x5cc979);}static async['setSelfOnlineStatus'](_0x3b98c4,_0x4845b2,_0x338292){const _0x20f9fa=_0x4164e7;return napCatCore[_0x20f9fa(0xcd)][_0x20f9fa(0x10b)]()[_0x20f9fa(0xc4)]({'status':_0x3b98c4,'extStatus':_0x4845b2,'batteryStatus':_0x338292});}static async[_0x4164e7(0xe9)](_0xbd4fea,_0x1c6820=''){const _0x39f934=_0x4164e7;return napCatCore['session']['getBuddyService']()[_0x39f934(0xe9)](_0xbd4fea,_0x1c6820);}static async[_0x4164e7(0xbf)](_0x1cf551,_0x234d3f=0x1){const _0x4d204a=_0x4164e7;return napCatCore[_0x4d204a(0xcd)][_0x4d204a(0xe0)]()[_0x4d204a(0xdd)]({'friendUid':_0x1cf551,'sourceId':0x47,'doLikeCount':_0x234d3f,'doLikeTollCount':0x0});}static async[_0x4164e7(0xf8)](_0xc7ae09){const _0x396d2b=_0x4164e7,_0x1f0182=await napCatCore['session']['getProfileService']()[_0x396d2b(0x103)](_0xc7ae09);return{'result':_0x1f0182?.['result'],'errMsg':_0x1f0182?.[_0x396d2b(0xde)]};}static async['getSelfInfo'](){}static async[_0x4164e7(0xc8)](_0x2b8cca){}static async['getUserDetailInfo'](_0x5356d1){const _0x15b737=_0x4164e7,_0x9b2ae9={'RLFVb':function(_0x2b926b,_0x5078e0){return _0x2b926b(_0x5078e0);},'tCiPC':function(_0x134309,_0x2368f5){return _0x134309(_0x2368f5);},'hWNhX':_0x15b737(0xc0),'IpIOg':function(_0x1e77ea,_0x5a6b67){return _0x1e77ea===_0x5a6b67;}},_0x279778=napCatCore[_0x15b737(0xcd)]['getProfileService']();return new Promise((_0x788284,_0x3e5e34)=>{const _0x13fd28=_0x15b737,_0x20a315=randomUUID();let _0x92dde3=![],_0x291447=undefined,_0x5873fb=!![];setTimeout(()=>{const _0x3da429=_0x24e3;!_0x92dde3&&(_0x291447?_0x9b2ae9[_0x3da429(0xfa)](_0x788284,_0x291447):_0x9b2ae9['tCiPC'](_0x3e5e34,_0x9b2ae9[_0x3da429(0x10c)])),userDetailHandlers['delete'](_0x20a315);},0x1388),userDetailHandlers['set'](_0x20a315,_0x346f6c=>{const _0x5df4a1=_0x24e3;_0x9b2ae9['IpIOg'](_0x346f6c[_0x5df4a1(0xb3)],_0x5356d1)&&(_0x5873fb?(_0x291447=_0x346f6c,_0x5873fb=![]):(_0x92dde3=!![],_0x788284(_0x346f6c)));}),_0x279778[_0x13fd28(0xfe)](_0x5356d1,[0x0])[_0x13fd28(0xd7)](_0x21ba34=>{});});}static async[_0x4164e7(0xc3)](_0x16925f){const _0x43332d=_0x4164e7;return napCatCore[_0x43332d(0xcd)]['getProfileService']()[_0x43332d(0xf9)](_0x16925f);}static async['getCookies'](_0x9c2ca9){const _0x3cc5eb=_0x4164e7,_0x302cc9={'OhwGo':function(_0x19ba43,_0x560370){return _0x19ba43+_0x560370;},'kBfXE':function(_0x45acdc,_0x15f486){return _0x45acdc+_0x15f486;},'BQaOf':function(_0x2470ab,_0x434f0c){return _0x2470ab+_0x434f0c;},'JvneL':function(_0x4dd505,_0x3051da){return _0x4dd505+_0x3051da;},'poiqk':_0x3cc5eb(0xff),'eVnPg':'%2Finfocenter&keyindex=19%27'},_0x1012ab=await NTQQUserApi[_0x3cc5eb(0xd5)](),_0x276f98=_0x302cc9[_0x3cc5eb(0xfc)](_0x302cc9[_0x3cc5eb(0x107)](_0x302cc9['BQaOf'](_0x302cc9['JvneL'](_0x302cc9['BQaOf'](_0x302cc9[_0x3cc5eb(0xfd)](_0x3cc5eb(0xf6),selfInfo[_0x3cc5eb(0xbd)]),_0x3cc5eb(0xe6)),_0x1012ab['clientKey'])+_0x3cc5eb(0xba),_0x9c2ca9),_0x302cc9[_0x3cc5eb(0x10a)])+selfInfo['uin'],_0x302cc9[_0x3cc5eb(0xfb)]);let _0x21b732=await RequestUtil[_0x3cc5eb(0xf2)](_0x276f98);return _0x21b732;}static async['getPSkey'](_0x582fea){const _0x293830=_0x4164e7;return await napCatCore[_0x293830(0xcd)][_0x293830(0xe1)]()[_0x293830(0xf1)](_0x582fea,!![]);}static async['getRobotUinRange'](){const _0x5813b3=_0x4164e7,_0x3e7f4e=await napCatCore['session'][_0x5813b3(0xc7)]()[_0x5813b3(0xdb)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x3e7f4e?.[_0x5813b3(0xd2)]?.[_0x5813b3(0xee)];}static async[_0x4164e7(0xd9)](){const _0x4a459b=_0x4164e7,_0x1d9a53={'TnPJi':function(_0x266057,_0xab70ba){return _0x266057+_0xab70ba;},'PEtci':function(_0x2ee74d,_0x501e7e){return _0x2ee74d+_0x501e7e;},'NxMFe':_0x4a459b(0xf6),'fkkGN':_0x4a459b(0xe6)},_0x4d6a43=await NTQQUserApi[_0x4a459b(0xd5)](),_0x21f812=_0x1d9a53[_0x4a459b(0xd8)](_0x1d9a53[_0x4a459b(0xca)](_0x1d9a53[_0x4a459b(0xca)](_0x1d9a53[_0x4a459b(0xd6)],selfInfo[_0x4a459b(0xbd)])+_0x1d9a53[_0x4a459b(0xb4)]+_0x4d6a43[_0x4a459b(0xef)],_0x4a459b(0x108))+selfInfo[_0x4a459b(0xbd)],_0x4a459b(0xe4));let _0x220708=await RequestUtil['HttpsGetCookies'](_0x21f812);return _0x220708;}static async[_0x4164e7(0xe8)](){const _0x1f2308=_0x4164e7,_0x688026={'GXqzO':function(_0xc11a6e,_0x444938){return _0xc11a6e!==_0x444938;},'jUIiS':_0x1f2308(0xb9),'seYZv':function(_0x1b41d2,_0x17748c){return _0x1b41d2+_0x17748c;},'LmHCo':function(_0x78513d,_0x158f03){return _0x78513d+_0x158f03;},'yYSCQ':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','PZkIg':_0x1f2308(0xed)},_0x347f00=await NTQQUserApi[_0x1f2308(0xd5)]();if(_0x688026[_0x1f2308(0xec)](_0x347f00[_0x1f2308(0xc9)],0x0))throw new Error(_0x688026[_0x1f2308(0xd1)]);const _0x38f645=_0x347f00[_0x1f2308(0xef)],_0x3332d1=_0x347f00[_0x1f2308(0x106)],_0x1f628d=_0x688026[_0x1f2308(0xcc)](_0x688026[_0x1f2308(0xbc)](_0x1f2308(0xf6),selfInfo[_0x1f2308(0xbd)])+'&clientkey=',_0x38f645)+_0x688026['yYSCQ'];let _0xf78ca8=await RequestUtil['HttpsGetCookies'](_0x1f628d);const _0x1782ba=_0xf78ca8[_0x1f2308(0xc5)];if(!_0x1782ba)throw new Error(_0x688026[_0x1f2308(0xbb)]);return _0x1782ba;}static async['getUidByUin'](_0x114e4e){const _0x143081=_0x4164e7,_0x5776d9={'BkGoQ':'NodeIKernelUixConvertService/getUid'};let _0x59ce51=await NTEventDispatch[_0x143081(0xb6)](_0x5776d9['BkGoQ'],0x1388,[_0x114e4e]);return _0x59ce51['uidInfo']['get'](_0x114e4e);}static async[_0x4164e7(0xd0)](_0x54ae8d){const _0x4d67a1=_0x4164e7,_0x432e89={'qnzLD':_0x4d67a1(0xc2)};if(!_0x54ae8d)return'';let _0x3bdea9=await NTEventDispatch[_0x4d67a1(0xb6)](_0x432e89['qnzLD'],0x1388,[_0x54ae8d]);return _0x3bdea9['uinInfo'][_0x4d67a1(0xe7)](_0x54ae8d);}static async[_0x4164e7(0xf0)](_0x3206e8){const _0x297071=_0x4164e7,_0x11d826={'nsXqy':_0x297071(0xb5)};return NTEventDispatch[_0x297071(0xb6)](_0x11d826['nsXqy'],0x1388,_0x3206e8);}static async['forceFetchClientKey'](){const _0x2ff8b6=_0x4164e7;return await napCatCore['session'][_0x2ff8b6(0x102)]()[_0x2ff8b6(0xd5)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x4164e7(0xda),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x4164e7(0xd9),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getSkey',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4164e7(0xea))],NTQQUserApi,_0x4164e7(0xd5),null); \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.d.ts b/src/core.lib/src/apis/webapi.d.ts deleted file mode 100644 index 67ed206d..00000000 --- a/src/core.lib/src/apis/webapi.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -export declare enum WebHonorType { - ALL = "all", - TALKACTIVE = "talkative", - PERFROMER = "performer", - LEGEND = "legend", - STORONGE_NEWBI = "strong_newbie", - EMOTION = "emotion" -} -export interface WebApiGroupMember { - uin: number; - role: number; - g: number; - join_time: number; - last_speak_time: number; - lv: { - point: number; - level: number; - }; - card: string; - tags: string; - flag: number; - nick: string; - qage: number; - rm: number; -} -export interface WebApiGroupNoticeFeed { - u: number; - fid: string; - pubt: number; - msg: { - text: string; - text_face: string; - title: string; - pics?: { - id: string; - w: string; - h: string; - }[]; - }; - type: number; - fn: number; - cn: number; - vn: number; - settings: { - is_show_edit_card: number; - remind_ts: number; - tip_window_type: number; - confirm_required: number; - }; - read_num: number; - is_read: number; - is_all_confirm: number; -} -export interface WebApiGroupNoticeRet { - ec: number; - em: string; - ltsm: number; - srv_code: number; - read_only: number; - role: number; - feeds: WebApiGroupNoticeFeed[]; - group: { - group_id: number; - class_ext: number; - }; - sta: number; - gln: number; - tst: number; - ui: any; - server_time: number; - svrt: number; - ad: number; -} -interface GroupEssenceMsg { - group_code: string; - msg_seq: number; - msg_random: number; - sender_uin: string; - sender_nick: string; - sender_time: number; - add_digest_uin: string; - add_digest_nick: string; - add_digest_time: number; - msg_content: any[]; - can_be_removed: true; -} -export interface GroupEssenceMsgRet { - retcode: number; - retmsg: string; - data: { - msg_list: GroupEssenceMsg[]; - is_end: boolean; - group_role: number; - config_page_url: string; - }; -} -export declare class WebApi { - static getGroupEssenceMsg(GroupCode: string, page_start: string): Promise; - static getGroupMembers(GroupCode: string, cached?: boolean): Promise; - static setGroupNotice(GroupCode: string, Content?: string): Promise; - static getGrouptNotice(GroupCode: string): Promise; - static genBkn(sKey: string): string; - static getGroupHonorInfo(groupCode: string, getType: WebHonorType): Promise; -} -export {}; diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js deleted file mode 100644 index e8b8428e..00000000 --- a/src/core.lib/src/apis/webapi.js +++ /dev/null @@ -1 +0,0 @@ -const _0x206afd=_0x43f9;(function(_0x3ea103,_0x4604bd){const _0x4de134=_0x43f9,_0x43a976=_0x3ea103();while(!![]){try{const _0x202289=-parseInt(_0x4de134(0x18a))/0x1*(-parseInt(_0x4de134(0x14c))/0x2)+-parseInt(_0x4de134(0x192))/0x3+parseInt(_0x4de134(0x14a))/0x4*(-parseInt(_0x4de134(0x1b0))/0x5)+-parseInt(_0x4de134(0x13c))/0x6*(-parseInt(_0x4de134(0x19d))/0x7)+parseInt(_0x4de134(0x147))/0x8+parseInt(_0x4de134(0x1b7))/0x9+parseInt(_0x4de134(0x1a3))/0xa;if(_0x202289===_0x4604bd)break;else _0x43a976['push'](_0x43a976['shift']());}catch(_0x1f6011){_0x43a976['push'](_0x43a976['shift']());}}}(_0x3cd3,0x43a53));var __decorate=this&&this[_0x206afd(0x133)]||function(_0x3ce237,_0x356964,_0x5251bb,_0x4cdb52){const _0x518e24=_0x206afd,_0x5a7b19={'OQaqx':function(_0x34d631,_0x54f547){return _0x34d631===_0x54f547;},'glqKo':_0x518e24(0x191),'jfSYI':function(_0x360896,_0x2380e2){return _0x360896>=_0x2380e2;},'ntYuZ':function(_0x731ddf,_0x1f9743){return _0x731ddf<_0x1f9743;},'liJTm':function(_0x51fc8c,_0x4c829f){return _0x51fc8c>_0x4c829f;},'pArap':function(_0x2d796a,_0xf79647,_0x485fca,_0x33f29c){return _0x2d796a(_0xf79647,_0x485fca,_0x33f29c);}};var _0x323410=arguments[_0x518e24(0x190)],_0x141cc8=_0x323410<0x3?_0x356964:_0x4cdb52===null?_0x4cdb52=Object[_0x518e24(0x160)](_0x356964,_0x5251bb):_0x4cdb52,_0x51dc79;if(typeof Reflect===_0x518e24(0x14f)&&_0x5a7b19[_0x518e24(0x1ac)](typeof Reflect[_0x518e24(0x18d)],_0x5a7b19[_0x518e24(0x17f)]))_0x141cc8=Reflect[_0x518e24(0x18d)](_0x3ce237,_0x356964,_0x5251bb,_0x4cdb52);else{for(var _0x497f3f=_0x3ce237['length']-0x1;_0x5a7b19[_0x518e24(0x17a)](_0x497f3f,0x0);_0x497f3f--)if(_0x51dc79=_0x3ce237[_0x497f3f])_0x141cc8=(_0x5a7b19[_0x518e24(0x176)](_0x323410,0x3)?_0x51dc79(_0x141cc8):_0x5a7b19['liJTm'](_0x323410,0x3)?_0x5a7b19[_0x518e24(0x1b4)](_0x51dc79,_0x356964,_0x5251bb,_0x141cc8):_0x51dc79(_0x356964,_0x5251bb))||_0x141cc8;}return _0x5a7b19[_0x518e24(0x144)](_0x323410,0x3)&&_0x141cc8&&Object[_0x518e24(0x1a0)](_0x356964,_0x5251bb,_0x141cc8),_0x141cc8;};import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x43f9(_0x231757,_0x9d9a8c){const _0x3cd393=_0x3cd3();return _0x43f9=function(_0x43f9a0,_0x5776a1){_0x43f9a0=_0x43f9a0-0x132;let _0x18cf01=_0x3cd393[_0x43f9a0];return _0x18cf01;},_0x43f9(_0x231757,_0x9d9a8c);}import{RequestUtil}from'@/common/utils/request';function _0x3cd3(){const _0x2cdad8=['length','function','435327DXWKni','PERFROMER','获取龙王信息失败','&group_code=','OCRFO','desc','fUdAc','trim','aFQaz','VsigQ','join','28SCWnwb','emotion','talkative_list','defineProperty','qid=','current_talkative','975490WGIgha','sWKbh','KfxLv','ePqeS','HttpGetJson','WYmlf','FIdcQ','match','talkativeList','OQaqx','&end=','oIShY','actorList','370qxFmLU','获取快乐源泉失败','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','TALKACTIVE','pArap','performer_list','QfSyJ','2988828RYvHCN','xsBMW','__decorate','jUwRn','name','cdWfQ','toString','EMOTION','performer','map','webapi_get_group_members','438762klGCHx','yvzTF','POST','description','EKXkT','UfKOg','STORONGE_NEWBI','HQPZv','liJTm','LrQNL','getGrouptNotice','92416eqqSyK','hFxRU','IDwmk','18712PJBajW','ujXrr','69310PQTPJa','dBDIw','UcyqA','object','zdUQq','&sort=1&gc=','legend_list','uin','fzDvb','hfAVT','strong_newbie_list','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','legend','retcode','all','获取群聊炽焰失败','&page_limit=20','HttpGetText','RhLVz','strong_newbie','getOwnPropertyDescriptor','&bkn=','https://qun.qq.com/interactive/honorlist?gc=','YxESh','SxzZA','getGroupMembers','KHvMF','getGroupEssenceMsg','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','Tlwxr','lirgz','tdVkf','avatar','ImovK','emotion_list','mPTdV','qPitc','ThhBD','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','xIImA','&type=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ntYuZ','vIgNq','mems','gKuhu','jfSYI','gZiIl','Obaym','WPtjm','LEGEND','glqKo','ALL','GET','genBkn','skey','FBBRR','entries','qun.qq.com','获取当前群荣耀失败','push','IDsRJ','1KhtFso','axadf','count','decorate','getCookies','talkative'];_0x3cd3=function(){return _0x2cdad8;};return _0x3cd3();}import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x96db75){const _0x3b1f84=_0x206afd,_0x55d58d={'xeTBt':_0x3b1f84(0x1b3),'xsBMW':'PERFROMER','UfKOg':_0x3b1f84(0x139),'hfAVT':_0x3b1f84(0x142),'TWyva':_0x3b1f84(0x15f),'BkhvU':_0x3b1f84(0x138),'nSsNP':_0x3b1f84(0x19e)};_0x96db75[_0x3b1f84(0x180)]=_0x3b1f84(0x15a),_0x96db75[_0x55d58d['xeTBt']]=_0x3b1f84(0x18f),_0x96db75[_0x55d58d[_0x3b1f84(0x132)]]=_0x55d58d[_0x3b1f84(0x141)],_0x96db75[_0x3b1f84(0x17e)]=_0x3b1f84(0x158),_0x96db75[_0x55d58d[_0x3b1f84(0x155)]]=_0x55d58d['TWyva'],_0x96db75[_0x55d58d['BkhvU']]=_0x55d58d['nSsNP'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x562e9a,_0x241566){const _0x56df6d=_0x206afd,_0x59e4e6={'fzDvb':_0x56df6d(0x186),'IDwmk':function(_0x4c28ed,_0x5c8619){return _0x4c28ed+_0x5c8619;},'hFxRU':function(_0x1676ea,_0x4ffd6e){return _0x1676ea+_0x4ffd6e;},'ImovK':'&page_start=','vIgNq':_0x56df6d(0x15c),'cdWfQ':'GET','OCRFO':function(_0x60497a,_0x45f8b){return _0x60497a!==_0x45f8b;}},_0x3c8ece=await NTQQUserApi[_0x56df6d(0x18e)](_0x59e4e6[_0x56df6d(0x154)]),_0x41c80d=Object['entries'](_0x3c8ece)[_0x56df6d(0x13a)](([_0x306d16,_0x2a4c77])=>_0x306d16+'='+_0x2a4c77)[_0x56df6d(0x19c)](';\x20'),_0x2cd379=WebApi[_0x56df6d(0x182)](_0x3c8ece[_0x56df6d(0x183)]),_0x3a6439=_0x59e4e6['IDwmk'](_0x59e4e6[_0x56df6d(0x149)](_0x59e4e6[_0x56df6d(0x148)](_0x59e4e6[_0x56df6d(0x149)](_0x59e4e6[_0x56df6d(0x149)](_0x56df6d(0x175),_0x2cd379),_0x56df6d(0x195)),_0x562e9a),_0x59e4e6[_0x56df6d(0x16d)]),_0x241566)+_0x59e4e6[_0x56df6d(0x177)];let _0x5e5496;try{_0x5e5496=await RequestUtil[_0x56df6d(0x1a7)](_0x3a6439,_0x59e4e6[_0x56df6d(0x136)],'',{'Cookie':_0x41c80d});}catch{return undefined;}if(_0x59e4e6[_0x56df6d(0x196)](_0x5e5496[_0x56df6d(0x159)],0x0))return undefined;return _0x5e5496;}static async[_0x206afd(0x165)](_0x2ae929,_0x351a93=!![]){const _0x970326=_0x206afd,_0x1fdb39={'sWKbh':function(_0x179920,_0x21a1d6){return _0x179920+_0x21a1d6;},'qPitc':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','FIdcQ':_0x970326(0x161),'gZiIl':function(_0xc71d6a,_0xe3ed46){return _0xc71d6a!==_0xe3ed46;},'XHYLO':function(_0x4b3fdd,_0x29b159){return _0x4b3fdd/_0x29b159;},'xIImA':function(_0x13b830,_0x40b546){return _0x13b830+_0x40b546;},'SxzZA':function(_0xda9df7,_0x715c88){return _0xda9df7+_0x715c88;},'HQPZv':_0x970326(0x157),'ujXrr':function(_0x3148af,_0x1cac64){return _0x3148af*_0x1cac64;},'axadf':function(_0x3f5478,_0x21b18e){return _0x3f5478-_0x21b18e;},'xUoMW':_0x970326(0x1ad),'aFQaz':_0x970326(0x151),'EKXkT':_0x970326(0x13e),'Tlwxr':function(_0x449ec3,_0x2cd5d0){return _0x449ec3<=_0x2cd5d0;}};let _0x526dd9=new Array();try{const _0x2564db=await NTQQUserApi[_0x970326(0x18e)](_0x970326(0x186)),_0x448e29=Object[_0x970326(0x185)](_0x2564db)[_0x970326(0x13a)](([_0x2a254d,_0x472771])=>_0x2a254d+'='+_0x472771)[_0x970326(0x19c)](';\x20'),_0x566337=WebApi[_0x970326(0x182)](_0x2564db[_0x970326(0x183)]),_0x59be5d=[],_0x4279cf=await RequestUtil['HttpGetJson'](_0x1fdb39[_0x970326(0x1a4)](_0x1fdb39[_0x970326(0x1a4)](_0x1fdb39[_0x970326(0x1a4)](_0x1fdb39[_0x970326(0x170)],_0x2ae929),_0x1fdb39[_0x970326(0x1a9)]),_0x566337),_0x970326(0x13e),'',{'Cookie':_0x448e29});if(!_0x4279cf?.[_0x970326(0x18c)]||_0x1fdb39[_0x970326(0x17b)](_0x4279cf?.['errcode'],0x0)||!_0x4279cf?.['mems'])return[];else for(const _0x44f347 in _0x4279cf[_0x970326(0x178)]){_0x526dd9[_0x970326(0x188)](_0x4279cf['mems'][_0x44f347]);}const _0xba9361=Math['ceil'](_0x1fdb39['XHYLO'](_0x4279cf[_0x970326(0x18c)],0x28));for(let _0x4834e3=0x2;_0x4834e3<=_0xba9361;_0x4834e3++){const _0x3b8879=RequestUtil[_0x970326(0x1a7)](_0x1fdb39[_0x970326(0x1a4)](_0x1fdb39[_0x970326(0x173)](_0x1fdb39['sWKbh'](_0x1fdb39['xIImA'](_0x1fdb39[_0x970326(0x164)](_0x1fdb39[_0x970326(0x143)]+_0x1fdb39[_0x970326(0x14b)](_0x1fdb39[_0x970326(0x18b)](_0x4834e3,0x1),0x28),_0x1fdb39['xUoMW']),_0x1fdb39[_0x970326(0x14b)](_0x4834e3,0x28))+_0x1fdb39[_0x970326(0x19a)],_0x2ae929),_0x970326(0x161)),_0x566337),_0x1fdb39[_0x970326(0x140)],'',{'Cookie':_0x448e29});_0x59be5d[_0x970326(0x188)](_0x3b8879);}for(let _0x6f6414=0x1;_0x1fdb39[_0x970326(0x169)](_0x6f6414,_0xba9361);_0x6f6414++){const _0x1f49c6=await _0x59be5d[_0x6f6414];if(!_0x1f49c6?.['count']||_0x1f49c6?.['errcode']!==0x0||!_0x1f49c6?.[_0x970326(0x178)])continue;for(const _0x188c04 in _0x1f49c6[_0x970326(0x178)]){_0x526dd9['push'](_0x1f49c6[_0x970326(0x178)][_0x188c04]);}}}catch{return _0x526dd9;}return _0x526dd9;}static async['setGroupNotice'](_0x49ea06,_0x4db14a=''){const _0x7c53ed=_0x206afd,_0x53026f={'tdVkf':function(_0x18ea8e,_0x3b6ea9){return _0x18ea8e+_0x3b6ea9;},'yvzTF':function(_0x598390,_0x35fe3a){return _0x598390+_0x35fe3a;},'Obaym':function(_0xf6d16e,_0x563bf3){return _0xf6d16e+_0x563bf3;},'ldWNb':_0x7c53ed(0x1a1),'zxQFh':'&bkn=','liGRl':'&text=','FrAvH':_0x7c53ed(0x168),'oIShY':_0x7c53ed(0x181)},_0x987c1f=await NTQQUserApi['getCookies'](_0x7c53ed(0x186)),_0x46120e=Object[_0x7c53ed(0x185)](_0x987c1f)[_0x7c53ed(0x13a)](([_0x3f6a0f,_0x196dfa])=>_0x3f6a0f+'='+_0x196dfa)[_0x7c53ed(0x19c)](';\x20'),_0x42d49a=WebApi['genBkn'](_0x987c1f[_0x7c53ed(0x183)]);let _0x196a37=undefined;const _0x103d47=_0x53026f[_0x7c53ed(0x16b)](_0x53026f[_0x7c53ed(0x16b)](_0x53026f[_0x7c53ed(0x13d)](_0x53026f[_0x7c53ed(0x16b)](_0x53026f[_0x7c53ed(0x17c)](_0x53026f[_0x7c53ed(0x13d)](_0x53026f['ldWNb'],_0x49ea06),_0x53026f['zxQFh']),_0x42d49a),_0x53026f['liGRl']),_0x4db14a),_0x7c53ed(0x172)),_0xac38bf=_0x53026f['FrAvH']+_0x42d49a;try{return _0x196a37=await RequestUtil[_0x7c53ed(0x1a7)](_0xac38bf,_0x53026f[_0x7c53ed(0x1ae)],'',{'Cookie':_0x46120e}),_0x196a37;}catch(_0xa9fedc){return undefined;}return undefined;}static async[_0x206afd(0x146)](_0x37e68f){const _0x3ec052=_0x206afd,_0x49763c={'mPTdV':function(_0x34d70e,_0xde459a){return _0x34d70e+_0xde459a;},'UcyqA':function(_0x169ed3,_0x6c0eae){return _0x169ed3+_0x6c0eae;},'IDsRJ':function(_0x3af057,_0x555df3){return _0x3af057+_0x555df3;},'kShEU':_0x3ec052(0x1b2),'FBBRR':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','VXvuy':'GET','YxESh':function(_0x53de1e,_0x58fe66){return _0x53de1e!==_0x58fe66;}},_0x23e94f=await NTQQUserApi[_0x3ec052(0x18e)]('qun.qq.com'),_0x56f6ed=Object['entries'](_0x23e94f)['map'](([_0x47d735,_0xf94e75])=>_0x47d735+'='+_0xf94e75)[_0x3ec052(0x19c)](';\x20'),_0x22ac8b=WebApi[_0x3ec052(0x182)](_0x23e94f['skey']);let _0x598d97=undefined;const _0x2a3fdd=_0x49763c[_0x3ec052(0x16f)](_0x49763c[_0x3ec052(0x14e)](_0x49763c[_0x3ec052(0x189)](_0x49763c['kShEU'],_0x22ac8b),'&qid='),_0x37e68f)+_0x49763c[_0x3ec052(0x184)];try{_0x598d97=await RequestUtil[_0x3ec052(0x1a7)](_0x2a3fdd,_0x49763c['VXvuy'],'',{'Cookie':_0x56f6ed});if(_0x49763c[_0x3ec052(0x163)](_0x598d97?.['ec'],0x0))return undefined;return _0x598d97;}catch(_0xcfa9b3){return undefined;}return undefined;}static['genBkn'](_0x62e37b){const _0x5b44b6=_0x206afd,_0x3a30e4={'ePqeS':function(_0x495dbe,_0x35a1a7){return _0x495dbe||_0x35a1a7;},'fUdAc':function(_0x123bf6,_0x364594){return _0x123bf6<_0x364594;},'LrQNL':function(_0x4adac1,_0x4dca39){return _0x4adac1+_0x4dca39;},'RhLVz':function(_0x513ed7,_0x85c5a4){return _0x513ed7<<_0x85c5a4;}};_0x62e37b=_0x3a30e4[_0x5b44b6(0x1a6)](_0x62e37b,'');let _0x591546=0x1505;for(let _0x38ed37=0x0;_0x3a30e4[_0x5b44b6(0x198)](_0x38ed37,_0x62e37b['length']);_0x38ed37++){const _0x109522=_0x62e37b['charCodeAt'](_0x38ed37);_0x591546=_0x3a30e4[_0x5b44b6(0x145)](_0x591546,_0x3a30e4[_0x5b44b6(0x15e)](_0x591546,0x5))+_0x109522;}return(_0x591546&0x7fffffff)[_0x5b44b6(0x137)]();}static async['getGroupHonorInfo'](_0x5c6210,_0x3f103d){const _0x2aee51=_0x206afd,_0x2c2e2f={'lirgz':function(_0xeff3aa,_0x10dae7){return _0xeff3aa+_0x10dae7;},'WYmlf':function(_0x24d59b,_0x4a7dc2){return _0x24d59b+_0x4a7dc2;},'IuVvb':_0x2aee51(0x162),'iadnG':_0x2aee51(0x174),'jUwRn':_0x2aee51(0x181),'zdUQq':function(_0x4be1f5,_0x402e23){return _0x4be1f5===_0x402e23;},'TZrYX':_0x2aee51(0x187),'dBDIw':_0x2aee51(0x186),'kpWuQ':function(_0x3db4b1,_0x42a369,_0x5f1213){return _0x3db4b1(_0x42a369,_0x5f1213);},'KfxLv':function(_0x5598c6,_0x1c69cc){return _0x5598c6(_0x1c69cc);},'QfSyJ':function(_0xfe7627,_0x15482b){return _0xfe7627===_0x15482b;},'gKuhu':function(_0x12bdc3,_0x190483,_0x1253b4){return _0x12bdc3(_0x190483,_0x1253b4);},'xJtjZ':'获取群聊之火失败','KHvMF':function(_0x152ef1,_0x82db16,_0x491eff){return _0x152ef1(_0x82db16,_0x491eff);},'WPtjm':function(_0x4f112f,_0x4abea7,_0x495467){return _0x4f112f(_0x4abea7,_0x495467);},'ThhBD':function(_0x3cd381,_0x6aa477){return _0x3cd381===_0x6aa477;},'VsigQ':_0x2aee51(0x1b1)},_0x4897a6=await NTQQUserApi[_0x2aee51(0x18e)](_0x2c2e2f[_0x2aee51(0x14d)]),_0x3e2881=Object[_0x2aee51(0x185)](_0x4897a6)[_0x2aee51(0x13a)](([_0x5baeaf,_0x5650f1])=>_0x5baeaf+'='+_0x5650f1)[_0x2aee51(0x19c)](';\x20'),_0x4588e5=WebApi[_0x2aee51(0x182)](_0x4897a6[_0x2aee51(0x183)]);async function _0x3a2b48(_0x3b75d7,_0x271796){const _0x438e69=_0x2aee51;let _0x2ca4aa=_0x2c2e2f[_0x438e69(0x16a)](_0x2c2e2f['lirgz'](_0x2c2e2f[_0x438e69(0x1a8)](_0x2c2e2f['IuVvb'],_0x3b75d7),_0x2c2e2f['iadnG']),_0x271796['toString']()),_0x466ebe='',_0x35b5b1;try{_0x466ebe=await RequestUtil[_0x438e69(0x15d)](_0x2ca4aa,_0x2c2e2f[_0x438e69(0x134)],'',{'Cookie':_0x3e2881});const _0x4c6c60=_0x466ebe[_0x438e69(0x1aa)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4c6c60&&(_0x35b5b1=JSON['parse'](_0x4c6c60[0x1][_0x438e69(0x199)]())),_0x2c2e2f[_0x438e69(0x150)](_0x271796,0x1)?_0x35b5b1?.[_0x438e69(0x1ab)]:_0x35b5b1?.[_0x438e69(0x1af)];}catch(_0x1ff1e4){logDebug(_0x2c2e2f['TZrYX'],_0x2ca4aa,_0x1ff1e4);}return undefined;}let _0x59166d={'group_id':_0x5c6210};if(_0x3f103d===WebHonorType[_0x2aee51(0x1b3)]||_0x2c2e2f[_0x2aee51(0x150)](_0x3f103d,WebHonorType[_0x2aee51(0x180)]))try{let _0x56fc7a=await _0x2c2e2f['kpWuQ'](_0x3a2b48,_0x5c6210,0x1);if(!_0x56fc7a)throw new Error(_0x2aee51(0x194));_0x59166d[_0x2aee51(0x1a2)]={'user_id':_0x56fc7a[0x0]?.[_0x2aee51(0x153)],'avatar':_0x56fc7a[0x0]?.[_0x2aee51(0x16c)],'nickname':_0x56fc7a[0x0]?.[_0x2aee51(0x135)],'day_count':0x0,'description':_0x56fc7a[0x0]?.[_0x2aee51(0x197)]},_0x59166d[_0x2aee51(0x19f)]=[];for(const _0x94c94f of _0x56fc7a){_0x59166d[_0x2aee51(0x19f)][_0x2aee51(0x188)]({'user_id':_0x94c94f?.[_0x2aee51(0x153)],'avatar':_0x94c94f?.[_0x2aee51(0x16c)],'description':_0x94c94f?.[_0x2aee51(0x197)],'day_count':0x0,'nickname':_0x94c94f?.[_0x2aee51(0x135)]});}}catch(_0x30dd2a){_0x2c2e2f[_0x2aee51(0x1a5)](logDebug,_0x30dd2a);}if(_0x2c2e2f[_0x2aee51(0x1b6)](_0x3f103d,WebHonorType[_0x2aee51(0x193)])||_0x2c2e2f[_0x2aee51(0x1b6)](_0x3f103d,WebHonorType['ALL']))try{let _0xcf9996=await _0x2c2e2f[_0x2aee51(0x179)](_0x3a2b48,_0x5c6210,0x2);if(!_0xcf9996)throw new Error(_0x2c2e2f['xJtjZ']);_0x59166d[_0x2aee51(0x1b5)]=[];for(const _0x266022 of _0xcf9996){_0x59166d['performer_list']['push']({'user_id':_0x266022?.['uin'],'nickname':_0x266022?.[_0x2aee51(0x135)],'avatar':_0x266022?.[_0x2aee51(0x16c)],'description':_0x266022?.[_0x2aee51(0x197)]});}}catch(_0x135ba5){logDebug(_0x135ba5);}if(_0x3f103d===WebHonorType['PERFROMER']||_0x2c2e2f[_0x2aee51(0x150)](_0x3f103d,WebHonorType[_0x2aee51(0x180)]))try{let _0x21b6a8=await _0x2c2e2f[_0x2aee51(0x166)](_0x3a2b48,_0x5c6210,0x3);if(!_0x21b6a8)throw new Error(_0x2aee51(0x15b));_0x59166d[_0x2aee51(0x152)]=[];for(const _0x506a8d of _0x21b6a8){_0x59166d[_0x2aee51(0x152)][_0x2aee51(0x188)]({'user_id':_0x506a8d?.[_0x2aee51(0x153)],'nickname':_0x506a8d?.[_0x2aee51(0x135)],'avatar':_0x506a8d?.[_0x2aee51(0x16c)],'desc':_0x506a8d?.['description']});}}catch(_0xc14773){_0x2c2e2f[_0x2aee51(0x17d)](logDebug,_0x2aee51(0x15b),_0xc14773);}if(_0x2c2e2f[_0x2aee51(0x171)](_0x3f103d,WebHonorType[_0x2aee51(0x138)])||_0x2c2e2f[_0x2aee51(0x150)](_0x3f103d,WebHonorType[_0x2aee51(0x180)]))try{let _0x376bd8=await _0x2c2e2f['gKuhu'](_0x3a2b48,_0x5c6210,0x6);if(!_0x376bd8)throw new Error(_0x2c2e2f[_0x2aee51(0x19b)]);_0x59166d[_0x2aee51(0x16e)]=[];for(const _0x522e98 of _0x376bd8){_0x59166d[_0x2aee51(0x16e)]['push']({'user_id':_0x522e98?.[_0x2aee51(0x153)],'nickname':_0x522e98?.['name'],'avatar':_0x522e98?.['avatar'],'desc':_0x522e98?.[_0x2aee51(0x13f)]});}}catch(_0x35e8dd){logDebug(_0x2c2e2f[_0x2aee51(0x19b)],_0x35e8dd);}return(_0x2c2e2f[_0x2aee51(0x150)](_0x3f103d,WebHonorType[_0x2aee51(0x138)])||_0x2c2e2f['QfSyJ'](_0x3f103d,WebHonorType[_0x2aee51(0x180)]))&&(_0x59166d[_0x2aee51(0x156)]=[]),_0x59166d;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x206afd(0x13b))],WebApi,_0x206afd(0x167),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x206afd(0x13b))],WebApi,_0x206afd(0x165),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'GroupHonorInfo')],WebApi,'getGroupHonorInfo',null); \ No newline at end of file diff --git a/src/core.lib/src/core.d.ts b/src/core.lib/src/core.d.ts deleted file mode 100644 index b9f2fd92..00000000 --- a/src/core.lib/src/core.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -import { NodeIQQNTWrapperEngine, 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; -} -export declare class NapCatCore { - readonly session: NodeIQQNTWrapperSession; - readonly util: NodeQQNTWrapperUtil; - readonly engine: NodeIQQNTWrapperEngine; - private readonly loginListener; - private loginService; - private onLoginSuccessFuncList; - private proxyHandler; - 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; - qrLogin(cb: (url: string, base64: string, buffer: Buffer) => Promise): Promise<{ - url: string; - base64: string; - buffer: Buffer; - }>; - passwordLogin(uin: string, password: string, proofSig?: string, proofRand?: string, proofSid?: string): Promise; - getQuickLoginList(): Promise<{ - result: number; - LocalLoginInfoList: import("@/core/services").LoginListItem[]; - }>; -} -export declare const napCatCore: NapCatCore; diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js deleted file mode 100644 index 89d3e079..00000000 --- a/src/core.lib/src/core.js +++ /dev/null @@ -1 +0,0 @@ -const _0x13f1cf=_0x225d;function _0x225d(_0x2b58ff,_0x1eed4a){const _0x24af8a=_0x24af();return _0x225d=function(_0x225d71,_0x825d9a){_0x225d71=_0x225d71-0x7a;let _0x1e077d=_0x24af8a[_0x225d71];return _0x1e077d;},_0x225d(_0x2b58ff,_0x1eed4a);}(function(_0x1326a8,_0x2757d3){const _0xc22873=_0x225d,_0x156db1=_0x1326a8();while(!![]){try{const _0x5cb9c7=-parseInt(_0xc22873(0xd0))/0x1+parseInt(_0xc22873(0xa6))/0x2*(parseInt(_0xc22873(0x129))/0x3)+-parseInt(_0xc22873(0x122))/0x4+-parseInt(_0xc22873(0x8d))/0x5*(-parseInt(_0xc22873(0x10c))/0x6)+parseInt(_0xc22873(0x112))/0x7+parseInt(_0xc22873(0xb2))/0x8*(-parseInt(_0xc22873(0xc7))/0x9)+parseInt(_0xc22873(0xca))/0xa;if(_0x5cb9c7===_0x2757d3)break;else _0x156db1['push'](_0x156db1['shift']());}catch(_0xfaace2){_0x156db1['push'](_0x156db1['shift']());}}}(_0x24af,0x4356b));import _0x243652 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x23bc7f from'node:path';import _0xbc9aae from'node:os';import _0x3528ef from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';function _0x24af(){const _0x4c3cd4=['initWithDeskTopConfig','Windows\x2010\x20Pro','onLoginSuccessFuncList','DVbLP','EUSSw','qrLogin','NodeIGlobalAdapter','length','onKickedOffLine','errMsg','ProfileListener','PQejf','./NapCat/data','getQuickLoginList','message_received','NGska','uin','Hazdx','result','ICHIX','delete','ZsqBW','1002iXVhzb','XaYLc','addKernelBuddyListener','NodeIDispatcherAdapter','TrMfB','find','785029TVGitZ','onAddSendMsg','init','md5','loginListener','nYgAk','没有可快速登录的QQ号','groupCode','NodeIKernelLoginService','hfyLW','NodeQQNTWrapperUtil','resolve','bwnnv','groupMemberList_MainWindow','tipsDesc','getQRCodePicture','1774552XKLNlm','eEZjS','addKernelGroupListener','getProfileService','addKernelMsgListener','SJVMf','POuFZ','4182jmifCP','initSession','map','CTGRX','xBdeW','replace','uid','onMemberInfoChange',')\x20在线状态变更','session','getLoginList','zAGDr','split','onQRCodeGetPicture','NodeIKernelBuddyListener','infos','gfuYv','from','RlXrm','initDataListener','zbKvI','has','init\x20failed\x20','devUid','qrcodeUrl','proxyHandler','now','2995oNufTy','initSession\x20failed','getNTUserDataInfoConfig','sIRxr','isDelete','vuYxF','dataPath','set','constructor','createMemberListScene','onRecvMsg','账号设备(','快速登录不可用','fileLog','initConfig','\x20has\x20no\x20method\x20','本账号数据/缓存目录:','sCfDs','clientType','onQRCodeLoginSucceed','buddyList','engine','message_sent','onMemberListChange','packet_received','272kMBphj','addKernelProfileListener','fmXYH','onProfileDetailInfoChanged','NodeIKernelGroupListener','[KickedOffLine]\x20[','pgPdB','ThBXW','consoleLog','./.config/QQ','read','quickLogin','114168gUDEJr','fmWcQ','nPZSN','onLineDev','dataPathGlobal','./nt_qq/global','Biqxi','wTsMh','当前账号(','sBZCF','登录失败(onQRCodeSessionFailed)','getBuddyList','JNpxj','name','undefined','数据库初始化失败','createHash','vnnDc','loginService','JRYLD','get','279SPZtAg','NodeIKernelMsgListener','BuddyListener','9000790MJPjQq','hex','NodeIQQNTWrapperSession','VeaNN','startNT','iMhXi','139985pjndrq','addKernelLoginListener','sgTvG','fSnvB','catch','NodeIQQNTWrapperEngine','data:image/png;base64,','onSessionInitComplete','base64','floor','memberCount','bfmHE','stringify','aKseA','getGroupService','push','MsgListener','then','curVersion','onSelfStatusChanged','quickLoginWithUin','onGroupListUpdate','onLoginSuccess','V1_WIN_NQ_','addListener','getMsgService','packet_sent','NodeIKernelSessionListener','Nyjkf','ZAspz','getBuddyService','KczlX','hDUJj','XbeHq','last_message_time','mkdirSync','oXvYb','assign'];_0x24af=function(){return _0x4c3cd4;};return _0x24af();}import _0x206213 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x13f1cf(0xa2)];[_0x13f1cf(0x116)];[_0x13f1cf(0xc4)];['onLoginSuccessFuncList']=[];[_0x13f1cf(0x8b)]={'get'(target,prop,receiver){const _0x598a51=_0x13f1cf,eMiqlj={'TrMfB':function(callee,param1){return callee(param1);}};if(typeof target[prop]===_0x598a51(0xc0))return(...args)=>{const _0x520f5c=_0x598a51;eMiqlj[_0x520f5c(0x110)](logDebug,target['constructor'][_0x520f5c(0xbf)]+_0x520f5c(0x9c)+prop);};return Reflect[_0x598a51(0xc6)](target,prop,receiver);}};constructor(){const _0x5be96e=_0x13f1cf,_0xe00332={'ICHIX':function(_0x5c7825,_0x524cf9){return _0x5c7825(_0x524cf9);},'oXvYb':function(_0x4dc859,_0x3ac8e8){return _0x4dc859+_0x3ac8e8;},'VeaNN':')已登录,无法重复登录','EUSSw':function(_0x2056a4,_0x508b55,_0x28d48d){return _0x2056a4(_0x508b55,_0x28d48d);},'ThBXW':function(_0x4e6ed1,_0x5f0cbe){return _0x4e6ed1(_0x5f0cbe);},'wTsMh':function(_0x1010cc,_0x513f39){return _0x1010cc(_0x513f39);},'vnnDc':_0x5be96e(0x102),'itSnu':_0x5be96e(0x8e),'DVbLP':_0x5be96e(0xbc),'zbKvI':function(_0xb38488,_0x2bea47){return _0xb38488==_0x2bea47;},'SJVMf':function(_0x535fb6,_0x33fcd7){return _0x535fb6==_0x33fcd7;},'fSnvB':'登录失败(onLoginFailed)'};this[_0x5be96e(0xa2)]=new _0x243652[(_0x5be96e(0xd5))](),this['util']=new _0x243652[(_0x5be96e(0x11c))](),this[_0x5be96e(0xc4)]=new _0x243652[(_0x5be96e(0x11a))](),this[_0x5be96e(0x7b)]=new _0x243652[(_0x5be96e(0xcc))](),this[_0x5be96e(0x116)]=new LoginListener(),this[_0x5be96e(0x116)]['onUserLoggedIn']=_0x5db30c=>{const _0x5a750a=_0x5be96e;_0xe00332[_0x5a750a(0x109)](logError,_0xe00332[_0x5a750a(0xf4)](_0xe00332[_0x5a750a(0xf4)](_0x5a750a(0xba),_0x5db30c),_0xe00332[_0x5a750a(0xcd)]));},this[_0x5be96e(0x9b)](),this[_0x5be96e(0x116)][_0x5be96e(0xa0)]=_0x44dde8=>{const _0x1d65d6=_0x5be96e;this[_0x1d65d6(0x12a)](_0x44dde8['uin'],_0x44dde8[_0x1d65d6(0x12f)])[_0x1d65d6(0xe1)](_0x3e9dd5=>{const _0x1271e4=_0x1d65d6,_0x26c6c5={'KczlX':function(_0x580a4d,_0x1ace77,_0x3753b6){const _0x4b3d91=_0x225d;return _0xe00332[_0x4b3d91(0xfa)](_0x580a4d,_0x1ace77,_0x3753b6);}};selfInfo[_0x1271e4(0x106)]=_0x44dde8[_0x1271e4(0x106)],selfInfo[_0x1271e4(0x12f)]=_0x44dde8[_0x1271e4(0x12f)],napCatConfig[_0x1271e4(0xb0)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),_0xe00332[_0x1271e4(0xad)](enableFileLog,napCatConfig[_0x1271e4(0x9a)]),_0xe00332[_0x1271e4(0xad)](enableConsoleLog,napCatConfig[_0x1271e4(0xae)]),_0xe00332[_0x1271e4(0xb9)](setLogSelfInfo,selfInfo);const _0x3f18cd=_0x23bc7f[_0x1271e4(0x11d)](this[_0x1271e4(0x93)],_0xe00332[_0x1271e4(0xc3)]);_0x3528ef[_0x1271e4(0xf3)](_0x3f18cd,{'recursive':!![]}),_0xe00332[_0x1271e4(0xfa)](logDebug,_0x1271e4(0x9d),_0x3f18cd),dbUtil[_0x1271e4(0x114)](_0x23bc7f['resolve'](_0x3f18cd,'./'+_0x44dde8[_0x1271e4(0x106)]+'-v2.db'))[_0x1271e4(0xe1)](()=>{const _0x1d14e6=_0x1271e4,_0x2d64fc={'RlXrm':function(_0x48c5e2,_0x8bab73,_0xb1092b){return _0x48c5e2(_0x8bab73,_0xb1092b);}};this['initDataListener'](),this[_0x1d14e6(0xf8)][_0x1d14e6(0x12b)](_0x2fadff=>{const _0x12b1b8=_0x1d14e6,_0xb7fbd6={'Hazdx':function(_0x2db003,_0x38d093,_0x12178d){const _0x59c5aa=_0x225d;return _0x2d64fc[_0x59c5aa(0x84)](_0x2db003,_0x38d093,_0x12178d);}};new Promise((_0x1bfccd,_0x41cb9c)=>{const _0x14fcf9=_0x225d,_0x3b9b2a=_0xb7fbd6[_0x14fcf9(0x107)](_0x2fadff,_0x44dde8[_0x14fcf9(0x106)],_0x44dde8[_0x14fcf9(0x12f)]);_0x3b9b2a instanceof Promise&&_0x3b9b2a[_0x14fcf9(0xe1)](_0x1bfccd)[_0x14fcf9(0xd4)](_0x41cb9c);})[_0x12b1b8(0xe1)]();});})[_0x1271e4(0xd4)](_0x280c32=>{const _0x14a93b=_0x1271e4;_0x26c6c5[_0x14a93b(0xef)](logError,_0x14a93b(0xc1),_0x280c32);});})[_0x1d65d6(0xd4)](_0x320dde=>{const _0x4c1063=_0x1d65d6;_0xe00332['EUSSw'](logError,_0xe00332['itSnu'],_0x320dde);throw new Error('启动失败:\x20'+JSON[_0x4c1063(0xdc)](_0x320dde));});},this['loginListener']['onQRCodeSessionFailed']=(_0xa4789d,_0x325b78,_0x717a26)=>{const _0x4f9f99=_0x5be96e;_0xe00332['EUSSw'](logError,_0xe00332[_0x4f9f99(0xf9)],_0x717a26),_0xe00332[_0x4f9f99(0x86)](_0xa4789d,0x1)&&_0xe00332[_0x4f9f99(0x127)](_0x325b78,0x3)&&this[_0x4f9f99(0xc4)]['getQRCodePicture']();},this[_0x5be96e(0x116)]['onLoginFailed']=_0x285231=>{const _0x3ef3ff=_0x5be96e;_0xe00332['EUSSw'](logError,_0xe00332[_0x3ef3ff(0xd3)],_0x285231);},this[_0x5be96e(0x116)]=new Proxy(this[_0x5be96e(0x116)],this['proxyHandler']),this['loginService'][_0x5be96e(0xd1)](new _0x243652['NodeIKernelLoginListener'](this[_0x5be96e(0x116)]));}get[_0x13f1cf(0x93)](){const _0x11e88c=_0x13f1cf;let _0x1e909f=this['util'][_0x11e88c(0x8f)]();return!_0x1e909f&&(_0x1e909f=_0x23bc7f[_0x11e88c(0x11d)](_0xbc9aae['homedir'](),_0x11e88c(0xaf)),_0x3528ef[_0x11e88c(0xf3)](_0x1e909f,{'recursive':!![]})),_0x1e909f;}get[_0x13f1cf(0xb6)](){const _0x487956=_0x13f1cf,_0x10d01b={'vuYxF':_0x487956(0xb7)};return _0x23bc7f[_0x487956(0x11d)](this[_0x487956(0x93)],_0x10d01b[_0x487956(0x92)]);}['initConfig'](){const _0x542b60=_0x13f1cf,_0xff564c={'pgPdB':_0x542b60(0xf7)};this[_0x542b60(0xa2)][_0x542b60(0xf6)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x542b60(0xe2)],'os_version':_0xff564c[_0x542b60(0xac)],'use_xlog':!![],'qua':_0x542b60(0xe7)+qqVersionConfigInfo[_0x542b60(0xe2)][_0x542b60(0x12e)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x243652[(_0x542b60(0xfc))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x542b60(0xb6)],'clientVer':qqVersionConfigInfo[_0x542b60(0xe2)],'hostName':hostname});}[_0x13f1cf(0x12a)](_0x455528,_0x4c01ae){const _0x247fd5=_0x13f1cf,_0x3223e9={'JNpxj':function(_0x4a6e53,_0x3cd3a0){return _0x4a6e53===_0x3cd3a0;},'hDUJj':function(_0x43b978,_0x443b36){return _0x43b978(_0x443b36);},'WGsYL':function(_0x153ca1,_0xa72611,_0x31fd35,_0x1c9302){return _0x153ca1(_0xa72611,_0x31fd35,_0x1c9302);},'bwnnv':function(_0x489a95,_0x38ab6b){return _0x489a95+_0x38ab6b;},'nPZSN':_0x247fd5(0x88)};return new Promise(async(_0x54f82f,_0x2cbf5f)=>{const _0x50af4e=_0x247fd5,_0x540394=await _0x3223e9['WGsYL'](genSessionConfig,_0x455528,_0x4c01ae,this[_0x50af4e(0x93)]),_0x545a42=new SessionListener();_0x545a42[_0x50af4e(0xd7)]=_0x2f13ca=>{const _0x1e7cbe=_0x50af4e;if(_0x3223e9[_0x1e7cbe(0xbe)](_0x2f13ca,0x0))return _0x54f82f(0x0);_0x3223e9[_0x1e7cbe(0xf0)](_0x2cbf5f,_0x2f13ca);},this[_0x50af4e(0x7b)][_0x50af4e(0x114)](_0x540394,new _0x243652['NodeIDependsAdapter'](new DependsAdapter()),new _0x243652[(_0x50af4e(0x10f))](new DispatcherAdapter()),new _0x243652[(_0x50af4e(0xeb))](_0x545a42));try{this['session'][_0x50af4e(0xce)](0x0);}catch(_0x13c8df){try{this[_0x50af4e(0x7b)]['startNT']();}catch(_0x575a00){_0x3223e9[_0x50af4e(0xf0)](_0x2cbf5f,_0x3223e9[_0x50af4e(0x11e)](_0x3223e9[_0x50af4e(0xb4)],_0x575a00));}}});}[_0x13f1cf(0x85)](){const _0x336886=_0x13f1cf,_0x3c20f2={'Biqxi':function(_0x52577e,_0x179aa5){return _0x52577e===_0x179aa5;},'Nyjkf':function(_0x4375fa,_0x599d89){return _0x4375fa+_0x599d89;},'gfuYv':_0x336886(0x98),'PQejf':_0x336886(0x7a),'uowYO':function(_0x5a8df9,_0x329602){return _0x5a8df9(_0x329602);},'zAGDr':function(_0x146ced,_0x22b465){return _0x146ced+_0x22b465;},'NEZcX':function(_0x548d01,_0x2e2666){return _0x548d01+_0x2e2666;},'iMhXi':_0x336886(0xab),'CTGRX':function(_0x17f366,_0x4ae5ad){return _0x17f366/_0x4ae5ad;},'XbeHq':function(_0x32915d,_0x20233c){return _0x32915d/_0x20233c;},'ZAspz':function(_0x2f1b6d,_0x2e95ca){return _0x2f1b6d===_0x2e95ca;}},_0x39ac7e=new MsgListener();_0x39ac7e[_0x336886(0xb5)]=_0x194729=>{const _0x24440e=_0x336886,_0x1a80c3={'whSFS':function(_0x49b887,_0x11f784){const _0x33c055=_0x225d;return _0x3c20f2[_0x33c055(0xb8)](_0x49b887,_0x11f784);},'dRoMb':function(_0x38b943,_0x41a432){return _0x38b943(_0x41a432);},'bfmHE':function(_0x49e022,_0x761aea){const _0x5478f0=_0x225d;return _0x3c20f2[_0x5478f0(0xec)](_0x49e022,_0x761aea);},'fmXYH':_0x3c20f2[_0x24440e(0x82)],'fmWcQ':_0x3c20f2[_0x24440e(0x101)]};_0x194729['map'](_0x114474=>{const _0x4d6245=_0x24440e;_0x1a80c3['whSFS'](_0x114474[_0x4d6245(0x9f)],0x2)&&_0x1a80c3['dRoMb'](log,_0x1a80c3[_0x4d6245(0xdb)](_0x1a80c3[_0x4d6245(0xa8)]+_0x114474[_0x4d6245(0x89)],_0x1a80c3[_0x4d6245(0xb3)]));});},_0x39ac7e[_0x336886(0xfe)]=_0xdfa1fa=>{const _0x317b0f=_0x336886;_0x3c20f2['uowYO'](log,_0x3c20f2[_0x317b0f(0x7d)](_0x3c20f2[_0x317b0f(0xec)](_0x3c20f2['NEZcX'](_0x3c20f2[_0x317b0f(0xcf)],_0xdfa1fa['tipsTitle']),']\x20'),_0xdfa1fa[_0x317b0f(0x120)]));},_0x39ac7e[_0x336886(0x113)]=_0x361a34=>{const _0x25880a=_0x336886;stat[_0x25880a(0xea)]+=0x1,stat[_0x25880a(0xa3)]+=0x1,stat[_0x25880a(0xf2)]=Math[_0x25880a(0xd9)](_0x3c20f2[_0x25880a(0x12c)](Date[_0x25880a(0x8c)](),0x3e8));},_0x39ac7e[_0x336886(0x97)]=_0x11e58e=>{const _0x1dd7b1=_0x336886;stat[_0x1dd7b1(0xa5)]+=0x1,stat[_0x1dd7b1(0x104)]+=_0x11e58e[_0x1dd7b1(0xfd)],stat[_0x1dd7b1(0xf2)]=Math[_0x1dd7b1(0xd9)](_0x3c20f2[_0x1dd7b1(0xf1)](Date[_0x1dd7b1(0x8c)](),0x3e8));},_0x39ac7e['onRecvSysMsg']=(..._0x4d5754)=>{stat['packet_received']+=0x1;},this['addListener'](_0x39ac7e);const _0x3feb3a=new BuddyListener();_0x3feb3a['onBuddyListChange']=_0x46b1eb=>{const _0x1dc1a6=_0x336886;rawFriends[_0x1dc1a6(0xfd)]=0x0,rawFriends[_0x1dc1a6(0xdf)](..._0x46b1eb);for(const _0x16fe79 of _0x46b1eb){for(const _0x5a1a86 of _0x16fe79[_0x1dc1a6(0xa1)]){const _0x5e7b01=friends[_0x1dc1a6(0xc6)](_0x5a1a86[_0x1dc1a6(0x12f)]);_0x5e7b01?Object[_0x1dc1a6(0xf5)](_0x5e7b01,_0x5a1a86):friends[_0x1dc1a6(0x94)](_0x5a1a86[_0x1dc1a6(0x12f)],_0x5a1a86);}}},this[_0x336886(0xe8)](_0x3feb3a),this[_0x336886(0x7b)][_0x336886(0xee)]()[_0x336886(0xbd)](!![])[_0x336886(0xe1)](_0x423bb0=>{});const _0x1cfd81=new ProfileListener();_0x1cfd81[_0x336886(0xa9)]=_0x2c7270=>{const _0x10cb78=_0x336886;_0x2c7270['uid']===selfInfo[_0x10cb78(0x12f)]&&Object[_0x10cb78(0xf5)](selfInfo,_0x2c7270);},_0x1cfd81[_0x336886(0xe3)]=_0x1ea052=>{},this['addListener'](_0x1cfd81);const _0x5b2998=new GroupListener();_0x5b2998[_0x336886(0xe5)]=(_0x5a3fdb,_0x21e949)=>{_0x21e949['map'](_0x1f824b=>{const _0x2d2420=_0x225d,_0x48ae55=groups[_0x2d2420(0xc6)](_0x1f824b[_0x2d2420(0x119)]);_0x48ae55&&_0x3c20f2[_0x2d2420(0xb8)](_0x1f824b[_0x2d2420(0xda)],_0x48ae55[_0x2d2420(0xda)])?Object[_0x2d2420(0xf5)](_0x48ae55,_0x1f824b):groups[_0x2d2420(0x94)](_0x1f824b['groupCode'],_0x1f824b);const _0x5ba2d2=this['session']['getGroupService']()[_0x2d2420(0x96)](_0x1f824b[_0x2d2420(0x119)],_0x2d2420(0x11f));this[_0x2d2420(0x7b)][_0x2d2420(0xde)]()['getNextMemberList'](_0x5ba2d2,undefined,0xbb8)[_0x2d2420(0xe1)](_0xc1aa89=>{});});},_0x5b2998[_0x336886(0xa4)]=_0x163ce2=>{const _0x502361=_0x336886,_0x51fd8f=_0x163ce2['sceneId'][_0x502361(0x7e)]('_')[0x0];if(groupMembers[_0x502361(0x87)](_0x51fd8f)){const _0x4f012e=groupMembers[_0x502361(0xc6)](_0x51fd8f);_0x163ce2['infos']['forEach']((_0x548d0b,_0xdee8e1)=>{const _0x53370e=_0x502361,_0x258486=_0x4f012e[_0x53370e(0xc6)](_0xdee8e1);_0x258486?Object[_0x53370e(0xf5)](_0x258486,_0x548d0b):_0x4f012e['set'](_0xdee8e1,_0x548d0b),_0x548d0b[_0x53370e(0x91)]&&_0x4f012e[_0x53370e(0x10a)](_0xdee8e1);});}else groupMembers[_0x502361(0x94)](_0x51fd8f,_0x163ce2[_0x502361(0x81)]);},_0x5b2998[_0x336886(0x130)]=(_0x46d892,_0xb73e1f,_0x37a862)=>{const _0x1a4a6c=_0x336886;_0x3c20f2[_0x1a4a6c(0xed)](_0xb73e1f,0x0)&&_0x37a862[_0x1a4a6c(0xc6)](selfInfo['uid'])?.[_0x1a4a6c(0x91)]&&setTimeout(()=>{const _0x1052fc=_0x1a4a6c;groups[_0x1052fc(0x10a)](_0x46d892);},0x1388);const _0x47f1d7=groupMembers[_0x1a4a6c(0xc6)](_0x46d892);_0x47f1d7?_0x37a862['forEach']((_0x4d33de,_0x389265)=>{const _0x3ff2f7=_0x1a4a6c,_0x4b38c7=_0x47f1d7[_0x3ff2f7(0xc6)](_0x389265);_0x4b38c7?Object[_0x3ff2f7(0xf5)](_0x4b38c7,_0x4d33de):_0x47f1d7[_0x3ff2f7(0x94)](_0x389265,_0x4d33de),_0x4d33de[_0x3ff2f7(0x91)]&&_0x47f1d7['delete'](_0x389265);}):groupMembers['set'](_0x46d892,_0x37a862);},this[_0x336886(0xe8)](_0x5b2998);}[_0x13f1cf(0xe8)](_0x3c2798){const _0x283799=_0x13f1cf,_0x557379={'POuFZ':_0x283799(0xc9),'nYgAk':'GroupListener','JRYLD':_0x283799(0x100)};_0x3c2798=new Proxy(_0x3c2798,this[_0x283799(0x8b)]);switch(_0x3c2798[_0x283799(0x95)][_0x283799(0xbf)]){case _0x557379[_0x283799(0x128)]:{return this[_0x283799(0x7b)][_0x283799(0xee)]()[_0x283799(0x10e)](new _0x243652[(_0x283799(0x80))](_0x3c2798));}case _0x557379[_0x283799(0x117)]:{return this[_0x283799(0x7b)][_0x283799(0xde)]()[_0x283799(0x124)](new _0x243652[(_0x283799(0xaa))](_0x3c2798));}case _0x283799(0xe0):{return this[_0x283799(0x7b)][_0x283799(0xe9)]()[_0x283799(0x126)](new _0x243652[(_0x283799(0xc8))](_0x3c2798));}case _0x557379[_0x283799(0xc5)]:{return this[_0x283799(0x7b)][_0x283799(0x125)]()[_0x283799(0xa7)](new _0x243652['NodeIKernelProfileListener'](_0x3c2798));}default:return-0x1;}}[_0x13f1cf(0xe6)](_0x1d243e){const _0x20befe=_0x13f1cf;NTEventDispatch[_0x20befe(0x114)]({'ListenerMap':_0x243652,'WrapperSession':this[_0x20befe(0x7b)]}),this[_0x20befe(0xf8)][_0x20befe(0xdf)](_0x1d243e);}async[_0x13f1cf(0xb1)](_0x4c5c9c){const _0x27fc07=_0x13f1cf,_0x4895e9={'eEZjS':function(_0x1123e4,_0x30b575){return _0x1123e4!==_0x30b575;},'sCfDs':_0x27fc07(0x118),'sIRxr':function(_0x37fbb2,_0x55fda0){return _0x37fbb2(_0x55fda0);},'sBZCF':'快速登录失败\x20'},_0x20059e=await this[_0x27fc07(0xc4)]['getLoginList']();if(_0x4895e9[_0x27fc07(0x123)](_0x20059e[_0x27fc07(0x108)],0x0))throw new Error(_0x4895e9[_0x27fc07(0x9e)]);const _0x403aa3=_0x20059e['LocalLoginInfoList'][_0x27fc07(0x111)](_0x417913=>_0x417913['uin']===_0x4c5c9c);if(!_0x403aa3||!_0x403aa3?.['isQuickLogin'])throw new Error(_0x4c5c9c+_0x27fc07(0x99));await _0x4895e9[_0x27fc07(0x90)](sleep,0x3e8);const _0x4faf6b=await this[_0x27fc07(0xc4)][_0x27fc07(0xe4)](_0x4c5c9c);if(!_0x4faf6b[_0x27fc07(0x108)])throw new Error(_0x4895e9[_0x27fc07(0xbb)]+_0x4faf6b['loginErrorInfo'][_0x27fc07(0xff)]);return _0x4faf6b;}async[_0x13f1cf(0xfb)](_0x4a5e95){const _0x487d39=_0x13f1cf,_0x55c0df={'NGska':_0x487d39(0xd6),'hfyLW':_0x487d39(0xd8),'sgTvG':function(_0x455d16,_0x2d7e82,_0xb99e6b,_0x30bdaa){return _0x455d16(_0x2d7e82,_0xb99e6b,_0x30bdaa);}};return new Promise((_0x50e538,_0x3bb2e4)=>{const _0x46c16e=_0x487d39;this[_0x46c16e(0x116)][_0x46c16e(0x7f)]=_0x46259d=>{const _0x10bc2b=_0x46c16e,_0x400b5a=_0x46259d['pngBase64QrcodeData'][_0x10bc2b(0x7e)](_0x55c0df[_0x10bc2b(0x105)])[0x1],_0x2384f9=Buffer[_0x10bc2b(0x83)](_0x400b5a,_0x55c0df[_0x10bc2b(0x11b)]);_0x55c0df[_0x10bc2b(0xd2)](_0x4a5e95,_0x46259d[_0x10bc2b(0x8a)],_0x46259d['pngBase64QrcodeData'],_0x2384f9);},this[_0x46c16e(0xc4)][_0x46c16e(0x121)]();});}async['passwordLogin'](_0x148890,_0x356cf4,_0x5887b3,_0x1358c3,_0x460cb1){const _0x113ab8=_0x13f1cf,_0x1e8b40={'xBdeW':_0x113ab8(0x115),'aKseA':_0x113ab8(0xcb),'XaYLc':function(_0x548d82,_0x329fd7){return _0x548d82||_0x329fd7;},'ZsqBW':function(_0xba9f7a,_0x3163fd){return _0xba9f7a(_0x3163fd);}},_0x57a4d7=_0x206213[_0x113ab8(0xc2)](_0x1e8b40[_0x113ab8(0x12d)])['update'](_0x356cf4)['digest'](_0x1e8b40[_0x113ab8(0xdd)]),_0x22570f={'uin':_0x148890,'passwordMd5':_0x57a4d7,'step':_0x5887b3&&_0x1358c3&&_0x460cb1?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1e8b40[_0x113ab8(0x10d)](_0x5887b3,''),'proofWaterRand':_0x1e8b40[_0x113ab8(0x10d)](_0x1358c3,''),'proofWaterSid':_0x1e8b40[_0x113ab8(0x10d)](_0x460cb1,'')};await this['loginService'][_0x113ab8(0x7c)](),await _0x1e8b40[_0x113ab8(0x10b)](sleep,0x3e8);const _0x6ade97=await this[_0x113ab8(0xc4)]['passwordLogin'](_0x22570f);switch(_0x6ade97[_0x113ab8(0x108)]){case'0':{break;}case'140022008':{break;}case'4':case'140022013':default:}}async[_0x13f1cf(0x103)](){const _0x456fd4=_0x13f1cf,_0x11fc29=await this[_0x456fd4(0xc4)][_0x456fd4(0x7c)]();return _0x11fc29;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts deleted file mode 100644 index d8d11585..00000000 --- a/src/core.lib/src/data.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities'; -export declare const selfInfo: SelfInfo; -export declare const groups: Map; -export declare function deleteGroup(groupQQ: string): void; -export declare const groupMembers: Map>; -export declare const friends: Map; -export declare const rawFriends: Array; -export declare const groupNotifies: Record; -export declare function getGroup(qq: string | number): Promise; -export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise; -export declare const tempGroupCodeMap: Record; -export declare const stat: { - packet_received: number; - packet_sent: number; - message_received: number; - message_sent: number; - last_message_time: number; - disconnect_times: number; - lost_times: number; - packet_lost: number; -}; diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js deleted file mode 100644 index 3cd35a14..00000000 --- a/src/core.lib/src/data.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x3b14c1,_0x1768bc){const _0x189400=_0x4713,_0x57a559=_0x3b14c1();while(!![]){try{const _0x5279ec=parseInt(_0x189400(0xaf))/0x1*(parseInt(_0x189400(0x9a))/0x2)+parseInt(_0x189400(0x9b))/0x3*(parseInt(_0x189400(0xa0))/0x4)+parseInt(_0x189400(0xa2))/0x5*(parseInt(_0x189400(0xb0))/0x6)+parseInt(_0x189400(0xa7))/0x7+parseInt(_0x189400(0xae))/0x8+-parseInt(_0x189400(0xaa))/0x9+parseInt(_0x189400(0xa9))/0xa*(-parseInt(_0x189400(0xa4))/0xb);if(_0x5279ec===_0x1768bc)break;else _0x57a559['push'](_0x57a559['shift']());}catch(_0x50656d){_0x57a559['push'](_0x57a559['shift']());}}}(_0x4b9a,0xb89ea));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x46facc){const _0x7b4c8b=_0x4713;groups[_0x7b4c8b(0xa3)](_0x46facc),groupMembers[_0x7b4c8b(0xa3)](_0x46facc);}function _0x4713(_0x1df58e,_0x5aefb){const _0x4b9a5b=_0x4b9a();return _0x4713=function(_0x471333,_0x10d7a0){_0x471333=_0x471333-0x9a;let _0x15555e=_0x4b9a5b[_0x471333];return _0x15555e;},_0x4713(_0x1df58e,_0x5aefb);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4a554a){const _0x1e47ec=_0x4713;let _0x30a80f=groups[_0x1e47ec(0xa8)](_0x4a554a[_0x1e47ec(0xa6)]());if(!_0x30a80f)try{const _0x3b9d7f=await NTQQGroupApi[_0x1e47ec(0x9d)]();_0x3b9d7f[_0x1e47ec(0xa5)]&&_0x3b9d7f[_0x1e47ec(0xb1)](_0x447b2c=>{const _0x27efb2=_0x1e47ec;groups[_0x27efb2(0x9e)](_0x447b2c[_0x27efb2(0xab)],_0x447b2c);});}catch(_0x39133e){return undefined;}return _0x30a80f=groups['get'](_0x4a554a[_0x1e47ec(0xa6)]()),_0x30a80f;}function _0x4b9a(){const _0x4cbfaa=['14234570wWXNFA','6358158hXtXpj','groupCode','from','values','7287952DZfvAx','38sTbqQT','41718nOxbOc','forEach','45838lZbRTB','24GFrmky','getGroupMembers','getGroups','set','AhfsK','251464kfstie','Wsnlu','45JQQKlK','delete','11BtobFS','length','toString','3770900oIlGlM','get'];_0x4b9a=function(){return _0x4cbfaa;};return _0x4b9a();}export async function getGroupMember(_0x2dc4bb,_0x1b379c){const _0x3e2adc=_0x4713,_0x4623d3={'AhfsK':function(_0x3c3fec,_0x4c3189){return _0x3c3fec(_0x4c3189);},'Wsnlu':function(_0x24c3cc){return _0x24c3cc();},'FYWdT':function(_0x54d39a){return _0x54d39a();}};_0x2dc4bb=_0x2dc4bb[_0x3e2adc(0xa6)](),_0x1b379c=_0x1b379c[_0x3e2adc(0xa6)]();let _0xf9633b=groupMembers['get'](_0x2dc4bb);if(!_0xf9633b)try{_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),groupMembers[_0x3e2adc(0x9e)](_0x2dc4bb,_0xf9633b);}catch(_0x2f8ce5){return null;}const _0x40b3ee=()=>{const _0x1d054d=_0x3e2adc;let _0x176546=undefined;return _0x4623d3[_0x1d054d(0x9f)](isNumeric,_0x1b379c)?_0x176546=Array[_0x1d054d(0xac)](_0xf9633b[_0x1d054d(0xad)]())['find'](_0x57fc56=>_0x57fc56['uin']===_0x1b379c):_0x176546=_0xf9633b[_0x1d054d(0xa8)](_0x1b379c),_0x176546;};let _0x4fe8d5=_0x4623d3[_0x3e2adc(0xa1)](_0x40b3ee);return!_0x4fe8d5&&(_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),_0x4fe8d5=_0x4623d3['FYWdT'](_0x40b3ee)),_0x4fe8d5;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.d.ts b/src/core.lib/src/entities/cache.d.ts deleted file mode 100644 index c48cb2b1..00000000 --- a/src/core.lib/src/entities/cache.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { ChatType } from './msg'; -export interface CacheScanResult { - result: number; - size: [ - string, - string, - string, - string, - string, - string, - string, - string, - string - ]; -} -export interface ChatCacheList { - pageCount: number; - infos: ChatCacheListItem[]; -} -export interface ChatCacheListItem { - chatType: ChatType; - basicChatCacheInfo: ChatCacheListItemBasic; - guildChatCacheInfo: unknown[]; -} -export interface ChatCacheListItemBasic { - chatSize: string; - chatTime: string; - uid: string; - uin: string; - remarkName: string; - nickName: string; - chatType?: ChatType; - isChecked?: boolean; -} -export declare enum CacheFileType { - IMAGE = 0, - VIDEO = 1, - AUDIO = 2, - DOCUMENT = 3, - OTHER = 4 -} -export interface CacheFileList { - infos: CacheFileListItem[]; -} -export interface CacheFileListItem { - fileSize: string; - fileTime: string; - fileKey: string; - elementId: string; - elementIdStr: string; - fileType: CacheFileType; - path: string; - fileName: string; - senderId: string; - previewPath: string; - senderName: string; - isChecked?: boolean; -} diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js deleted file mode 100644 index 22349b0e..00000000 --- a/src/core.lib/src/entities/cache.js +++ /dev/null @@ -1 +0,0 @@ -function _0x498f(){var _0x4b1f54=['397917KmwLkB','3343888FGviXF','0|3|4|1|2','33iQsAAm','296502YnPpYP','20quMuiO','149860GPWLQs','5MZpNTS','24NqpXcM','qwXaf','VIDEO','split','ClkDg','DOCUMENT','BUGNl','9051159EneILl','489016ILLbDj','655618wgyAah','IMAGE','AUDIO','1YUCHtX','7tvfbDU','anHJr'];_0x498f=function(){return _0x4b1f54;};return _0x498f();}(function(_0x502bdc,_0x49bb46){var _0x397499=_0x5f25,_0x2eb671=_0x502bdc();while(!![]){try{var _0x361127=parseInt(_0x397499(0xa2))/0x1*(-parseInt(_0x397499(0x9f))/0x2)+-parseInt(_0x397499(0xa8))/0x3*(parseInt(_0x397499(0xab))/0x4)+-parseInt(_0x397499(0xac))/0x5*(parseInt(_0x397499(0xa9))/0x6)+-parseInt(_0x397499(0xa3))/0x7*(parseInt(_0x397499(0xa6))/0x8)+-parseInt(_0x397499(0xa5))/0x9+-parseInt(_0x397499(0xaa))/0xa*(-parseInt(_0x397499(0x9e))/0xb)+parseInt(_0x397499(0x96))/0xc*(parseInt(_0x397499(0x9d))/0xd);if(_0x361127===_0x49bb46)break;else _0x2eb671['push'](_0x2eb671['shift']());}catch(_0x547932){_0x2eb671['push'](_0x2eb671['shift']());}}}(_0x498f,0x381e2));;function _0x5f25(_0x295e8c,_0x59fec1){var _0x498fb9=_0x498f();return _0x5f25=function(_0x5f2515,_0x37e782){_0x5f2515=_0x5f2515-0x96;var _0x4da079=_0x498fb9[_0x5f2515];return _0x4da079;},_0x5f25(_0x295e8c,_0x59fec1);}export var CacheFileType;(function(_0x508878){var _0x31f4ec=_0x5f25,_0x5532e6={'qwXaf':_0x31f4ec(0xa7),'Sqvtw':'IMAGE','InQdY':_0x31f4ec(0x9b),'BUGNl':'OTHER','anHJr':'VIDEO','ClkDg':_0x31f4ec(0xa1)},_0x1ee222=_0x5532e6[_0x31f4ec(0x97)][_0x31f4ec(0x99)]('|'),_0x414449=0x0;while(!![]){switch(_0x1ee222[_0x414449++]){case'0':_0x508878[_0x508878[_0x31f4ec(0xa0)]=0x0]=_0x5532e6['Sqvtw'];continue;case'1':_0x508878[_0x508878['DOCUMENT']=0x3]=_0x5532e6['InQdY'];continue;case'2':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9c)]]=0x4]=_0x5532e6['BUGNl'];continue;case'3':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0xa4)]]=0x1]=_0x31f4ec(0x98);continue;case'4':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9a)]]=0x2]=_0x5532e6[_0x31f4ec(0x9a)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.d.ts b/src/core.lib/src/entities/constructor.d.ts deleted file mode 100644 index a99e836e..00000000 --- a/src/core.lib/src/entities/constructor.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { AtType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendMarketFaceElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from './index'; -export declare const mFaceCache: Map; -export declare class SendMsgElementConstructor { - static text(content: string): SendTextElement; - static at(atUid: string, atNtUid: string, atType: AtType, atName: string): SendTextElement; - static reply(msgSeq: string, msgId: string, senderUin: string, senderUinStr: string): SendReplyElement; - static pic(picPath: string, summary?: string, subType?: 0 | 1): Promise; - static file(filePath: string, fileName?: string, folderId?: string): Promise; - static video(filePath: string, fileName?: string, diyThumbPath?: string): Promise; - static ptt(pttPath: string): Promise; - static face(faceId: number): SendFaceElement; - static mface(emojiPackageId: number, emojiId: string, key: string, faceName: string): SendMarketFaceElement; - static dice(resultId: number | null): SendFaceElement; - static rps(resultId: number | null): SendFaceElement; - static ark(data: any): SendArkElement; - static markdown(content: string): SendMarkdownElement; - static miniapp(): Promise; -} diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js deleted file mode 100644 index 9667c29d..00000000 --- a/src/core.lib/src/entities/constructor.js +++ /dev/null @@ -1 +0,0 @@ -const _0xb7bc5=_0xd786;(function(_0x491690,_0x890ddc){const _0x5d4fbe=_0xd786,_0x219a61=_0x491690();while(!![]){try{const _0x3818c9=-parseInt(_0x5d4fbe(0x19d))/0x1+-parseInt(_0x5d4fbe(0x16c))/0x2+-parseInt(_0x5d4fbe(0x1aa))/0x3+parseInt(_0x5d4fbe(0x1ae))/0x4+parseInt(_0x5d4fbe(0x163))/0x5*(parseInt(_0x5d4fbe(0x15e))/0x6)+parseInt(_0x5d4fbe(0x178))/0x7+parseInt(_0x5d4fbe(0x191))/0x8;if(_0x3818c9===_0x890ddc)break;else _0x219a61['push'](_0x219a61['shift']());}catch(_0xb327a4){_0x219a61['push'](_0x219a61['shift']());}}}(_0x341c,0x8cd78));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3caaa1}from'node:fs';import _0x41629e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0xd786(_0x1d4d23,_0x43d7a0){const _0x341c64=_0x341c();return _0xd786=function(_0xd7862,_0x4d8e79){_0xd7862=_0xd7862-0x15b;let _0x58b872=_0x341c64[_0xd7862];return _0x58b872;},_0xd786(_0x1d4d23,_0x43d7a0);}function _0x341c(){const _0x559fe8=['unlink','width','AniStickerType','rps','YZITP','TEXT','dice','VIDEO','screenshots','7522808hVuOjQ','pic','FILE','jpg','语音转换失败,\x20请检查语音文件是否正常','time','pcAZk','end','PTT','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','获取视频封面失败,使用默认封面','获取视频信息失败','150553gEhiXl','markdown','mface','miniapp','文件异常,大小为0','reply','zNjZm','toString','TPDAf','ark','height','dirname','face','3253101LMQJmr','join','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','[包剪锤]','1828756XjSWcR','string','stat','[商城表情]','460626PEVpSn','get','AniStickerPackId','Ori','KCewu','5oUoPWl','PIC','RPS','ARK','catch','oeNxg','MARKDOWN','eoWPr','Ashby','97800MmKrrK','FIDAj','FACE','AniStickerId','AqcZF','WbntR','sep','find','Bot\x20Test','ZbyRa','gif','ptt','2704779sVKEoM','uploadFile','Thumb','nBFcI','copyFile','NqfTm','eCSfH','hUfeC','mp4','QSid','error','REPLY','YPXPo','WjGch','notAt','replace'];_0x341c=function(){return _0x559fe8;};return _0x341c();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x326594 from'./face_config.json';import*as _0x604e93 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x459050){const _0x2893bb=_0xd786;return{'elementType':ElementType[_0x2893bb(0x18d)],'elementId':'','textElement':{'content':_0x459050,'atType':AtType[_0x2893bb(0x186)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x38825d,_0x15d2e1,_0xc7c1bf,_0x1e6ccb){const _0x47dbec=_0xd786;return{'elementType':ElementType[_0x47dbec(0x18d)],'elementId':'','textElement':{'content':'@'+_0x1e6ccb,'atType':_0xc7c1bf,'atUid':_0x38825d,'atTinyId':'','atNtUid':_0x15d2e1}};}static[_0xb7bc5(0x1a2)](_0x18ffcf,_0x1a348b,_0x5b86b5,_0x25e5aa){const _0x3aef24=_0xb7bc5;return{'elementType':ElementType[_0x3aef24(0x183)],'elementId':'','replyElement':{'replayMsgSeq':_0x18ffcf,'replayMsgId':_0x1a348b,'senderUin':_0x5b86b5,'senderUinStr':_0x25e5aa}};}static async[_0xb7bc5(0x192)](_0x4deacf,_0x3b82f1='',_0x142d51=0x0){const _0x19af9b=_0xb7bc5,_0x33aa2c={'ZanUH':function(_0x2191a6,_0x262662){return _0x2191a6===_0x262662;}},{md5:_0xac8eef,fileName:_0x4ebf97,path:_0x41462d,fileSize:_0x5d3086}=await NTQQFileApi['uploadFile'](_0x4deacf,ElementType[_0x19af9b(0x164)],_0x142d51);if(_0x33aa2c['ZanUH'](_0x5d3086,0x0))throw _0x19af9b(0x1a1);const _0x10aa4d=await NTQQFileApi['getImageSize'](_0x4deacf),_0x32b310={'md5HexStr':_0xac8eef,'fileSize':_0x5d3086['toString'](),'picWidth':_0x10aa4d?.[_0x19af9b(0x189)],'picHeight':_0x10aa4d?.[_0x19af9b(0x1a7)],'fileName':_0x4ebf97,'sourcePath':_0x41462d,'original':!![],'picType':isGIF(_0x4deacf)?PicType[_0x19af9b(0x176)]:PicType[_0x19af9b(0x194)],'picSubType':_0x142d51,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3b82f1};return{'elementType':ElementType[_0x19af9b(0x164)],'elementId':'','picElement':_0x32b310};}static async['file'](_0x311db3,_0x21cb57='',_0x4e35c3=''){const _0x2e9912=_0xb7bc5,{md5:_0x510376,fileName:_0x456c16,path:_0x1a3c65,fileSize:_0x178a15}=await NTQQFileApi['uploadFile'](_0x311db3,ElementType[_0x2e9912(0x193)]);if(_0x178a15===0x0)throw _0x2e9912(0x1a1);const _0x3e7913={'elementType':ElementType[_0x2e9912(0x193)],'elementId':'','fileElement':{'fileName':_0x21cb57||_0x456c16,'folderId':_0x4e35c3,'filePath':_0x1a3c65,'fileSize':_0x178a15[_0x2e9912(0x1a4)]()}};return _0x3e7913;}static async['video'](_0x564e67,_0x23f9bf='',_0x2c02ee=''){const _0x359ff7=_0xb7bc5,_0x661aec={'YPXPo':function(_0x1e69c8,_0x19ca29){return _0x1e69c8(_0x19ca29);},'pcAZk':function(_0x4a18ea,_0x389d59,_0x25e015){return _0x4a18ea(_0x389d59,_0x25e015);},'hUfeC':_0x359ff7(0x19b),'ZbyRa':function(_0x46a785,_0x1e1863){return _0x46a785(_0x1e1863);},'KCewu':_0x359ff7(0x198),'ZMQTD':function(_0x56325b,_0x5e5749){return _0x56325b+_0x5e5749;},'YZITP':function(_0x19316c,_0x2ab73b){return _0x19316c===_0x2ab73b;},'DijTe':'文件异常,大小为0','WjGch':_0x359ff7(0x180),'eoWPr':_0x359ff7(0x19c),'zNjZm':function(_0x117da1,_0x58d138){return _0x117da1||_0x58d138;}},{fileName:_0xd72bdd,path:_0x2d4858,fileSize:_0x15f4bd,md5:_0x15ab14}=await NTQQFileApi[_0x359ff7(0x179)](_0x564e67,ElementType[_0x359ff7(0x18f)]);if(_0x661aec[_0x359ff7(0x18c)](_0x15f4bd,0x0))throw _0x661aec['DijTe'];let _0x278f79=_0x2d4858[_0x359ff7(0x187)](_0x604e93[_0x359ff7(0x172)]+_0x359ff7(0x161)+_0x604e93[_0x359ff7(0x172)],_0x604e93[_0x359ff7(0x172)]+_0x359ff7(0x17a)+_0x604e93[_0x359ff7(0x172)]);_0x278f79=_0x604e93[_0x359ff7(0x1a8)](_0x278f79);let _0x52e3cf={'width':0x780,'height':0x438,'time':0xf,'format':_0x661aec[_0x359ff7(0x185)],'size':_0x15f4bd,'filePath':_0x564e67};try{_0x52e3cf=await _0x661aec[_0x359ff7(0x184)](getVideoInfo,_0x2d4858);}catch(_0x2a5737){_0x661aec[_0x359ff7(0x197)](logError,_0x661aec[_0x359ff7(0x16a)],_0x2a5737);}const _0x59615e=new Promise((_0xadd7b2,_0x35d37e)=>{const _0xf87e10=_0x359ff7,_0x375b62={'eCSfH':function(_0x73444d,_0x69f12e){const _0x261511=_0xd786;return _0x661aec[_0x261511(0x184)](_0x73444d,_0x69f12e);},'WbntR':function(_0xb08515,_0x1b296c,_0x33f458){return _0x661aec['pcAZk'](_0xb08515,_0x1b296c,_0x33f458);},'zAyIU':_0x661aec[_0xf87e10(0x17f)]},_0x5963bf=_0x15ab14+'_0.png',_0x3f3bdd=_0x604e93[_0xf87e10(0x1ab)](_0x278f79,_0x5963bf);_0x661aec[_0xf87e10(0x175)](_0x41629e,_0x564e67)['on'](_0x661aec[_0xf87e10(0x162)],()=>{})['on'](_0xf87e10(0x182),_0x27c823=>{const _0x4931d8=_0xf87e10,_0x3e18d9={'oeNxg':function(_0x56f7e4,_0x2f60da){return _0x375b62['eCSfH'](_0x56f7e4,_0x2f60da);}};_0x375b62[_0x4931d8(0x171)](logDebug,_0x375b62['zAyIU'],_0x27c823),_0x2c02ee?_0x3caaa1[_0x4931d8(0x17c)](_0x2c02ee,_0x3f3bdd)['then'](()=>{_0xadd7b2(_0x3f3bdd);})['catch'](_0x35d37e):_0x3caaa1['writeFile'](_0x3f3bdd,defaultVideoThumb)['then'](()=>{const _0x3508e0=_0x4931d8;_0x3e18d9[_0x3508e0(0x168)](_0xadd7b2,_0x3f3bdd);})[_0x4931d8(0x167)](_0x35d37e);})[_0xf87e10(0x190)]({'timestamps':[0x0],'filename':_0x5963bf,'folder':_0x278f79,'size':_0x661aec['ZMQTD'](_0x52e3cf['width'],'x')+_0x52e3cf[_0xf87e10(0x1a7)]})['on'](_0xf87e10(0x198),()=>{const _0x434e79=_0xf87e10;_0x375b62[_0x434e79(0x17e)](_0xadd7b2,_0x3f3bdd);});}),_0x4880e2=new Map(),_0x178ef0=await _0x59615e,_0x69d9b7=(await _0x3caaa1[_0x359ff7(0x15c)](_0x178ef0))['size'];_0x4880e2['set'](0x0,_0x178ef0);const _0x2ef2c4=await calculateFileMD5(_0x178ef0),_0x57c922={'elementType':ElementType[_0x359ff7(0x18f)],'elementId':'','videoElement':{'fileName':_0x661aec[_0x359ff7(0x1a3)](_0x23f9bf,_0xd72bdd),'filePath':_0x2d4858,'videoMd5':_0x15ab14,'thumbMd5':_0x2ef2c4,'fileTime':_0x52e3cf[_0x359ff7(0x196)],'thumbPath':_0x4880e2,'thumbSize':_0x69d9b7,'thumbWidth':_0x52e3cf[_0x359ff7(0x189)],'thumbHeight':_0x52e3cf[_0x359ff7(0x1a7)],'fileSize':''+_0x15f4bd}};return _0x57c922;}static async[_0xb7bc5(0x177)](_0x116933){const _0x463e95=_0xb7bc5,_0xb9b052={'TPDAf':_0x463e95(0x195),'zHNlJ':function(_0x36d245,_0x52bbd1){return _0x36d245===_0x52bbd1;},'FIDAj':_0x463e95(0x1a1)},{converted:_0x326583,path:_0x375af6,duration:_0x2cfaa0}=await encodeSilk(_0x116933);if(!_0x375af6)throw _0xb9b052[_0x463e95(0x1a5)];const {md5:_0x22567a,fileName:_0x78a3dd,path:_0x1514bc,fileSize:_0x36d364}=await NTQQFileApi['uploadFile'](_0x375af6,ElementType[_0x463e95(0x199)]);if(_0xb9b052['zHNlJ'](_0x36d364,0x0))throw _0xb9b052[_0x463e95(0x16d)];return _0x326583&&_0x3caaa1[_0x463e95(0x188)](_0x375af6)['then'](),{'elementType':ElementType[_0x463e95(0x199)],'elementId':'','pttElement':{'fileName':_0x78a3dd,'filePath':_0x1514bc,'md5HexStr':_0x22567a,'fileSize':_0x36d364,'duration':_0x2cfaa0||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0xb7bc5(0x1a9)](_0x5a2e6f){const _0x5e1562=_0xb7bc5,_0x138782={'AqcZF':function(_0x12165d,_0x390994){return _0x12165d(_0x390994);}},_0x10c0ab=_0x326594['sysface'],_0x541bb4=_0x326594['emoji'],_0x5899c0=_0x10c0ab[_0x5e1562(0x173)](_0x1a72fd=>_0x1a72fd[_0x5e1562(0x181)]===_0x5a2e6f[_0x5e1562(0x1a4)]());_0x5a2e6f=_0x138782[_0x5e1562(0x170)](parseInt,_0x5a2e6f['toString']());let _0x36200d=0x1;return _0x5a2e6f>=0xde&&(_0x36200d=0x2),_0x5899c0[_0x5e1562(0x18a)]&&(_0x36200d=0x3),{'elementType':ElementType[_0x5e1562(0x16e)],'elementId':'','faceElement':{'faceIndex':_0x5a2e6f,'faceType':_0x36200d,'faceText':_0x5899c0['QDes'],'stickerId':_0x5899c0[_0x5e1562(0x16f)],'stickerType':_0x5899c0[_0x5e1562(0x18a)],'packId':_0x5899c0[_0x5e1562(0x160)],'sourceType':0x1}};}static[_0xb7bc5(0x19f)](_0x29daf0,_0x235f7a,_0x280f88,_0x5e87b3){const _0x3e5168=_0xb7bc5,_0x1b39a7={'NqfTm':_0x3e5168(0x15d)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x29daf0,'emojiId':_0x235f7a,'key':_0x280f88,'faceName':_0x5e87b3||mFaceCache[_0x3e5168(0x15f)](_0x235f7a)||_0x1b39a7[_0x3e5168(0x17d)]}};}static[_0xb7bc5(0x18e)](_0x2fc800){const _0x497770=_0xb7bc5,_0x300c5c={'VFhVb':'[骰子]'};return{'elementType':ElementType[_0x497770(0x16e)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x497770(0x18e)],'faceType':FaceType[_0x497770(0x18e)],'faceText':_0x300c5c['VFhVb'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xb7bc5(0x18b)](_0x7c2149){const _0x50caac=_0xb7bc5;return{'elementType':ElementType[_0x50caac(0x16e)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x50caac(0x165)],'faceText':_0x50caac(0x1ad),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xb7bc5(0x1a6)](_0x36e277){const _0x31efbc=_0xb7bc5;return typeof _0x36e277!==_0x31efbc(0x15b)&&(_0x36e277=JSON['stringify'](_0x36e277)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x36e277,'linkInfo':null,'subElementType':null}};}static[_0xb7bc5(0x19e)](_0x2650b9){const _0x556fc1=_0xb7bc5;return{'elementType':ElementType[_0x556fc1(0x169)],'elementId':'','markdownElement':{'content':_0x2650b9}};}static async[_0xb7bc5(0x1a0)](){const _0x313d15=_0xb7bc5,_0x43a7f5={'rwKLo':function(_0x10fad2,_0x4b1552){return _0x10fad2(_0x4b1552);},'nBFcI':_0x313d15(0x174),'Ashby':_0x313d15(0x19a),'eMlTa':'https://www.bilibili.com/','yIxva':_0x313d15(0x1ac)};let _0x297632=await _0x43a7f5['rwKLo'](SignMiniApp,{'prompt':_0x43a7f5['nBFcI'],'title':_0x43a7f5[_0x313d15(0x17b)],'preview':_0x43a7f5[_0x313d15(0x16b)],'jumpUrl':_0x43a7f5['eMlTa'],'tag':_0x43a7f5[_0x313d15(0x17b)],'tagIcon':_0x43a7f5['yIxva'],'source':_0x43a7f5[_0x313d15(0x17b)],'sourcelogo':_0x43a7f5['yIxva']});return{'elementType':ElementType[_0x313d15(0x166)],'elementId':'','arkElement':{'bytesData':_0x297632,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/face_config.json b/src/core.lib/src/entities/face_config.json deleted file mode 100644 index d065e29e..00000000 --- a/src/core.lib/src/entities/face_config.json +++ /dev/null @@ -1,3665 +0,0 @@ -{ - "sysface": [ - { - "QSid": "392", - "QDes": "/龙年快乐", - "IQLid": "392", - "AQLid": "392", - "EMCode": "10392", - "AniStickerType": 3, - "AniStickerPackId": "1", - "AniStickerId": "38" - }, - { - "QSid": "393", - "QDes": "/新年中龙", - "IQLid": "393", - "AQLid": "393", - "EMCode": "10393", - "QHide": "1", - "AniStickerType": 3, - "AniStickerPackId": "1", - "AniStickerId": "39" - }, - { - "QSid": "364", - "QDes": "/超级赞", - "IQLid": "364", - "AQLid": "364", - "EMCode": "10364", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "1", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "366", - "QDes": "/芒狗", - "IQLid": "366", - "AQLid": "366", - "EMCode": "10366", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "2", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "362", - "QDes": "/好兄弟", - "IQLid": "362", - "AQLid": "362", - "EMCode": "10362", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "3", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "397", - "QDes": "/抛媚眼", - "IQLid": "397", - "AQLid": "397", - "EMCode": "10397", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "4", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "396", - "QDes": "/狼狗", - "IQLid": "396", - "AQLid": "396", - "EMCode": "10396", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "5", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "360", - "QDes": "/亲亲", - "IQLid": "360", - "AQLid": "360", - "EMCode": "10360", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "6", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "361", - "QDes": "/狗狗笑哭", - "IQLid": "361", - "AQLid": "361", - "EMCode": "10361", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "7", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "363", - "QDes": "/狗狗可怜", - "IQLid": "363", - "AQLid": "363", - "EMCode": "10363", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "8", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "365", - "QDes": "/狗狗生气", - "IQLid": "365", - "AQLid": "365", - "EMCode": "10365", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "9", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "367", - "QDes": "/狗狗疑问", - "IQLid": "367", - "AQLid": "367", - "EMCode": "10367", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "10", - "AniStickerPackId": "2", - "AniStickerPackName": "汪汪" - }, - { - "QSid": "399", - "QDes": "/tui", - "IQLid": "399", - "AQLid": "399", - "EMCode": "10399", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "1", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "398", - "QDes": "/超级ok", - "IQLid": "398", - "AQLid": "398", - "EMCode": "10398", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "2", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "373", - "QDes": "/忙", - "IQLid": "373", - "AQLid": "373", - "EMCode": "10373", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "3", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "370", - "QDes": "/祝贺", - "IQLid": "370", - "AQLid": "370", - "EMCode": "10370", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "4", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "375", - "QDes": "/超级鼓掌", - "IQLid": "375", - "AQLid": "375", - "EMCode": "10375", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "5", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "368", - "QDes": "/奥特笑哭", - "IQLid": "368", - "AQLid": "368", - "EMCode": "10368", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "6", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "369", - "QDes": "/彩虹", - "IQLid": "369", - "AQLid": "369", - "EMCode": "10369", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "7", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "371", - "QDes": "/冒泡", - "IQLid": "371", - "AQLid": "371", - "EMCode": "10371", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "8", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "372", - "QDes": "/气呼呼", - "IQLid": "372", - "AQLid": "372", - "EMCode": "10372", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "9", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "374", - "QDes": "/波波流泪", - "IQLid": "374", - "AQLid": "374", - "EMCode": "10374", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "10", - "AniStickerPackId": "6", - "AniStickerPackName": "噗噗星人" - }, - { - "QSid": "382", - "QDes": "/emo", - "IQLid": "382", - "AQLid": "382", - "EMCode": "10382", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "1", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "383", - "QDes": "/企鹅爱心", - "IQLid": "383", - "AQLid": "383", - "EMCode": "10383", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "2", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "401", - "QDes": "/超级转圈", - "IQLid": "401", - "AQLid": "401", - "EMCode": "10401", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "3", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "400", - "QDes": "/快乐", - "IQLid": "400", - "AQLid": "400", - "EMCode": "10400", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "4", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "380", - "QDes": "/真棒", - "IQLid": "380", - "AQLid": "380", - "EMCode": "10380", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "5", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "381", - "QDes": "/路过", - "IQLid": "381", - "AQLid": "381", - "EMCode": "10381", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "6", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "379", - "QDes": "/企鹅流泪", - "IQLid": "379", - "AQLid": "379", - "EMCode": "10379", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "7", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "376", - "QDes": "/跺脚", - "IQLid": "376", - "AQLid": "376", - "EMCode": "10376", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "8", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "378", - "QDes": "/企鹅笑哭", - "IQLid": "378", - "AQLid": "378", - "EMCode": "10378", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "9", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "377", - "QDes": "/嗨", - "IQLid": "377", - "AQLid": "377", - "EMCode": "10377", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "10", - "AniStickerPackId": "5", - "AniStickerPackName": "企鹅" - }, - { - "QSid": "403", - "QDes": "/出去玩", - "IQLid": "403", - "AQLid": "403", - "EMCode": "10403", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "1", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "402", - "QDes": "/别说话", - "IQLid": "402", - "AQLid": "402", - "EMCode": "10402", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "2", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "390", - "QDes": "/太头秃", - "IQLid": "390", - "AQLid": "390", - "EMCode": "10390", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "3", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "391", - "QDes": "/太沧桑", - "IQLid": "391", - "AQLid": "391", - "EMCode": "10391", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "4", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "388", - "QDes": "/太头疼", - "IQLid": "388", - "AQLid": "388", - "EMCode": "10388", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "5", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "389", - "QDes": "/太赞了", - "IQLid": "389", - "AQLid": "389", - "EMCode": "10389", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "6", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "386", - "QDes": "/呜呜呜", - "IQLid": "386", - "AQLid": "386", - "EMCode": "10386", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "7", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "385", - "QDes": "/太气了", - "IQLid": "385", - "AQLid": "385", - "EMCode": "10385", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "8", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "384", - "QDes": "/晚安", - "IQLid": "384", - "AQLid": "384", - "EMCode": "10384", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "9", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "387", - "QDes": "/太好笑", - "IQLid": "387", - "AQLid": "387", - "EMCode": "10387", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "10", - "AniStickerPackId": "4", - "AniStickerPackName": "QQ黄脸" - }, - { - "QSid": "413", - "QDes": "/摇起来", - "IQLid": "413", - "AQLid": "413", - "EMCode": "10413", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "1", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "405", - "QDes": "/好运来", - "IQLid": "405", - "AQLid": "405", - "EMCode": "10405", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "2", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "404", - "QDes": "/闪亮登场", - "IQLid": "404", - "AQLid": "404", - "EMCode": "10404", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "3", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "406", - "QDes": "/姐是女王", - "IQLid": "406", - "AQLid": "406", - "EMCode": "10406", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "4", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "410", - "QDes": "/么么哒", - "IQLid": "410", - "AQLid": "410", - "EMCode": "10410", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "5", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "411", - "QDes": "/一起嗨", - "IQLid": "411", - "AQLid": "411", - "EMCode": "10411", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "6", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "407", - "QDes": "/我听听", - "IQLid": "407", - "AQLid": "407", - "EMCode": "10407", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "7", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "408", - "QDes": "/臭美", - "IQLid": "408", - "AQLid": "408", - "EMCode": "10408", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "8", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "412", - "QDes": "/开心", - "IQLid": "412", - "AQLid": "412", - "EMCode": "10412", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "9", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "409", - "QDes": "/送你花花", - "IQLid": "409", - "AQLid": "409", - "EMCode": "10409", - "QHide": "1", - "AniStickerType": 1, - "AniStickerId": "10", - "AniStickerPackId": "3", - "AniStickerPackName": "喜花妮" - }, - { - "QSid": "394", - "QDes": "/新年大龙", - "IQLid": "394", - "AQLid": "394", - "EMCode": "10394", - "QHide": "1", - "AniStickerType": 3, - "AniStickerPackId": "1", - "AniStickerId": "40" - }, - { - "QSid": "14", - "QDes": "/微笑", - "IQLid": "23", - "AQLid": "23", - "EMCode": "100" - }, - { - "QSid": "1", - "QDes": "/撇嘴", - "IQLid": "40", - "AQLid": "40", - "EMCode": "101" - }, - { - "QSid": "2", - "QDes": "/色", - "IQLid": "19", - "AQLid": "19", - "EMCode": "102" - }, - { - "QSid": "3", - "QDes": "/发呆", - "IQLid": "43", - "AQLid": "43", - "EMCode": "103" - }, - { - "QSid": "4", - "QDes": "/得意", - "IQLid": "21", - "AQLid": "21", - "EMCode": "104" - }, - { - "QSid": "6", - "QDes": "/害羞", - "IQLid": "20", - "AQLid": "20", - "EMCode": "106" - }, - { - "QSid": "7", - "QDes": "/闭嘴", - "IQLid": "104", - "AQLid": "106", - "EMCode": "107" - }, - { - "QSid": "8", - "QDes": "/睡", - "IQLid": "35", - "AQLid": "35", - "EMCode": "108" - }, - { - "QSid": "9", - "QDes": "/大哭", - "IQLid": "10", - "AQLid": "10", - "EMCode": "109" - }, - { - "QSid": "5", - "QDes": "/流泪", - "IQLid": "9", - "AQLid": "9", - "EMCode": "105", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "16" - }, - { - "QSid": "10", - "QDes": "/尴尬", - "IQLid": "25", - "AQLid": "25", - "EMCode": "110" - }, - { - "QSid": "11", - "QDes": "/发怒", - "IQLid": "24", - "AQLid": "24", - "EMCode": "111" - }, - { - "QSid": "12", - "QDes": "/调皮", - "IQLid": "1", - "AQLid": "1", - "EMCode": "112" - }, - { - "QSid": "13", - "QDes": "/呲牙", - "IQLid": "0", - "AQLid": "0", - "EMCode": "113" - }, - { - "QSid": "0", - "QDes": "/惊讶", - "IQLid": "33", - "AQLid": "33", - "EMCode": "114" - }, - { - "QSid": "15", - "QDes": "/难过", - "IQLid": "32", - "AQLid": "32", - "EMCode": "115" - }, - { - "QSid": "16", - "QDes": "/酷", - "IQLid": "12", - "AQLid": "12", - "EMCode": "116" - }, - { - "QSid": "96", - "QDes": "/冷汗", - "IQLid": "27", - "AQLid": "27", - "EMCode": "117" - }, - { - "QSid": "18", - "QDes": "/抓狂", - "IQLid": "13", - "AQLid": "13", - "EMCode": "118" - }, - { - "QSid": "19", - "QDes": "/吐", - "IQLid": "22", - "AQLid": "22", - "EMCode": "119" - }, - { - "QSid": "20", - "QDes": "/偷笑", - "IQLid": "3", - "AQLid": "3", - "EMCode": "120" - }, - { - "QSid": "21", - "QDes": "/可爱", - "IQLid": "18", - "AQLid": "18", - "EMCode": "121" - }, - { - "QSid": "22", - "QDes": "/白眼", - "IQLid": "30", - "AQLid": "30", - "EMCode": "122" - }, - { - "QSid": "23", - "QDes": "/傲慢", - "IQLid": "31", - "AQLid": "31", - "EMCode": "123" - }, - { - "QSid": "24", - "QDes": "/饥饿", - "IQLid": "79", - "AQLid": "81", - "EMCode": "124" - }, - { - "QSid": "25", - "QDes": "/困", - "IQLid": "80", - "AQLid": "82", - "EMCode": "125" - }, - { - "QSid": "26", - "QDes": "/惊恐", - "IQLid": "26", - "AQLid": "26", - "EMCode": "126" - }, - { - "QSid": "27", - "QDes": "/流汗", - "IQLid": "2", - "AQLid": "2", - "EMCode": "127" - }, - { - "QSid": "28", - "QDes": "/憨笑", - "IQLid": "37", - "AQLid": "37", - "EMCode": "128" - }, - { - "QSid": "29", - "QDes": "/悠闲", - "IQLid": "50", - "AQLid": "50", - "EMCode": "129" - }, - { - "QSid": "30", - "QDes": "/奋斗", - "IQLid": "42", - "AQLid": "42", - "EMCode": "130" - }, - { - "QSid": "31", - "QDes": "/咒骂", - "IQLid": "81", - "AQLid": "83", - "EMCode": "131" - }, - { - "QSid": "32", - "QDes": "/疑问", - "IQLid": "34", - "AQLid": "34", - "EMCode": "132" - }, - { - "QSid": "33", - "QDes": "/嘘", - "IQLid": "11", - "AQLid": "11", - "EMCode": "133" - }, - { - "QSid": "34", - "QDes": "/晕", - "IQLid": "49", - "AQLid": "49", - "EMCode": "134" - }, - { - "QSid": "35", - "QDes": "/折磨", - "IQLid": "82", - "AQLid": "84", - "EMCode": "135" - }, - { - "QSid": "36", - "QDes": "/衰", - "IQLid": "39", - "AQLid": "39", - "EMCode": "136" - }, - { - "QSid": "37", - "QDes": "/骷髅", - "isStatic": "1", - "IQLid": "76", - "AQLid": "78", - "EMCode": "137" - }, - { - "QSid": "38", - "QDes": "/敲打", - "IQLid": "5", - "AQLid": "5", - "EMCode": "138" - }, - { - "QSid": "39", - "QDes": "/再见", - "IQLid": "4", - "AQLid": "4", - "EMCode": "139" - }, - { - "QSid": "97", - "QDes": "/擦汗", - "IQLid": "6", - "AQLid": "6", - "EMCode": "140" - }, - { - "QSid": "98", - "QDes": "/抠鼻", - "IQLid": "83", - "AQLid": "85", - "EMCode": "141" - }, - { - "QSid": "99", - "QDes": "/鼓掌", - "IQLid": "84", - "AQLid": "86", - "EMCode": "142" - }, - { - "QSid": "100", - "QDes": "/糗大了", - "IQLid": "85", - "AQLid": "87", - "EMCode": "143" - }, - { - "QSid": "101", - "QDes": "/坏笑", - "IQLid": "46", - "AQLid": "46", - "EMCode": "144" - }, - { - "QSid": "102", - "QDes": "/左哼哼", - "IQLid": "86", - "AQLid": "88", - "EMCode": "145" - }, - { - "QSid": "103", - "QDes": "/右哼哼", - "IQLid": "44", - "AQLid": "44", - "EMCode": "146" - }, - { - "QSid": "104", - "QDes": "/哈欠", - "IQLid": "87", - "AQLid": "89", - "EMCode": "147" - }, - { - "QSid": "105", - "QDes": "/鄙视", - "IQLid": "48", - "AQLid": "48", - "EMCode": "148" - }, - { - "QSid": "106", - "QDes": "/委屈", - "IQLid": "14", - "AQLid": "14", - "EMCode": "149" - }, - { - "QSid": "107", - "QDes": "/快哭了", - "IQLid": "88", - "AQLid": "90", - "EMCode": "150" - }, - { - "QSid": "108", - "QDes": "/阴险", - "IQLid": "41", - "AQLid": "41", - "EMCode": "151" - }, - { - "QSid": "305", - "QDes": "/右亲亲", - "IQLid": "305", - "AQLid": "305", - "EMCode": "10305" - }, - { - "QSid": "109", - "QDes": "/左亲亲", - "IQLid": "36", - "AQLid": "36", - "EMCode": "152" - }, - { - "QSid": "110", - "QDes": "/吓", - "IQLid": "89", - "AQLid": "91", - "EMCode": "153" - }, - { - "QSid": "111", - "QDes": "/可怜", - "IQLid": "51", - "AQLid": "51", - "EMCode": "154" - }, - { - "QSid": "172", - "QDes": "/眨眼睛", - "IQLid": "142", - "AQLid": "164", - "EMCode": "242" - }, - { - "QSid": "182", - "QDes": "/笑哭", - "IQLid": "152", - "AQLid": "174", - "EMCode": "252" - }, - { - "QSid": "179", - "QDes": "/doge", - "IQLid": "149", - "AQLid": "171", - "EMCode": "249" - }, - { - "QSid": "173", - "QDes": "/泪奔", - "IQLid": "143", - "AQLid": "165", - "EMCode": "243" - }, - { - "QSid": "174", - "QDes": "/无奈", - "IQLid": "144", - "AQLid": "166", - "EMCode": "244" - }, - { - "QSid": "212", - "QDes": "/托腮", - "IQLid": "182", - "AQLid": "161", - "EMCode": "282" - }, - { - "QSid": "175", - "QDes": "/卖萌", - "IQLid": "145", - "AQLid": "167", - "EMCode": "245" - }, - { - "QSid": "178", - "QDes": "/斜眼笑", - "IQLid": "148", - "AQLid": "170", - "EMCode": "248" - }, - { - "QSid": "177", - "QDes": "/喷血", - "IQLid": "147", - "AQLid": "169", - "EMCode": "247" - }, - { - "QSid": "176", - "QDes": "/小纠结", - "IQLid": "146", - "AQLid": "168", - "EMCode": "246" - }, - { - "QSid": "183", - "QDes": "/我最美", - "IQLid": "153", - "AQLid": "175", - "EMCode": "253" - }, - { - "QSid": "262", - "QDes": "/脑阔疼", - "IQLid": "262", - "AQLid": "262", - "EMCode": "10262" - }, - { - "QSid": "263", - "QDes": "/沧桑", - "IQLid": "263", - "AQLid": "263", - "EMCode": "10263" - }, - { - "QSid": "264", - "QDes": "/捂脸", - "IQLid": "264", - "AQLid": "264", - "EMCode": "10264" - }, - { - "QSid": "265", - "QDes": "/辣眼睛", - "IQLid": "265", - "AQLid": "265", - "EMCode": "10265" - }, - { - "QSid": "266", - "QDes": "/哦哟", - "IQLid": "266", - "AQLid": "266", - "EMCode": "10266" - }, - { - "QSid": "267", - "QDes": "/头秃", - "IQLid": "267", - "AQLid": "267", - "EMCode": "10267" - }, - { - "QSid": "268", - "QDes": "/问号脸", - "IQLid": "268", - "AQLid": "268", - "EMCode": "10268" - }, - { - "QSid": "269", - "QDes": "/暗中观察", - "IQLid": "269", - "AQLid": "269", - "EMCode": "10269" - }, - { - "QSid": "270", - "QDes": "/emm", - "IQLid": "270", - "AQLid": "270", - "EMCode": "10270" - }, - { - "QSid": "271", - "QDes": "/吃瓜", - "IQLid": "271", - "AQLid": "271", - "EMCode": "10271" - }, - { - "QSid": "272", - "QDes": "/呵呵哒", - "IQLid": "272", - "AQLid": "272", - "EMCode": "10272" - }, - { - "QSid": "277", - "QDes": "/汪汪", - "IQLid": "277", - "AQLid": "277", - "EMCode": "10277" - }, - { - "QSid": "307", - "QDes": "/喵喵", - "IQLid": "307", - "AQLid": "307", - "EMCode": "10307" - }, - { - "QSid": "306", - "QDes": "/牛气冲天", - "isStatic": "1", - "IQLid": "306", - "AQLid": "306", - "EMCode": "10306" - }, - { - "QSid": "281", - "QDes": "/无眼笑", - "IQLid": "281", - "AQLid": "281", - "EMCode": "10281" - }, - { - "QSid": "282", - "QDes": "/敬礼", - "IQLid": "282", - "AQLid": "282", - "EMCode": "10282" - }, - { - "QSid": "283", - "QDes": "/狂笑", - "IQLid": "283", - "AQLid": "283", - "EMCode": "10283" - }, - { - "QSid": "284", - "QDes": "/面无表情", - "IQLid": "284", - "AQLid": "284", - "EMCode": "10284" - }, - { - "QSid": "285", - "QDes": "/摸鱼", - "IQLid": "285", - "AQLid": "285", - "EMCode": "10285" - }, - { - "QSid": "293", - "QDes": "/摸锦鲤", - "IQLid": "293", - "AQLid": "293", - "EMCode": "10293" - }, - { - "QSid": "286", - "QDes": "/魔鬼笑", - "IQLid": "286", - "AQLid": "286", - "EMCode": "10286" - }, - { - "QSid": "287", - "QDes": "/哦", - "IQLid": "287", - "AQLid": "287", - "EMCode": "10287" - }, - { - "QSid": "289", - "QDes": "/睁眼", - "IQLid": "289", - "AQLid": "289", - "EMCode": "10289" - }, - { - "QSid": "294", - "QDes": "/期待", - "IQLid": "294", - "AQLid": "294", - "EMCode": "10294" - }, - { - "QSid": "297", - "QDes": "/拜谢", - "IQLid": "297", - "AQLid": "297", - "EMCode": "10297" - }, - { - "QSid": "298", - "QDes": "/元宝", - "IQLid": "298", - "AQLid": "298", - "EMCode": "10298" - }, - { - "QSid": "299", - "QDes": "/牛啊", - "IQLid": "299", - "AQLid": "299", - "EMCode": "10299" - }, - { - "QSid": "300", - "QDes": "/胖三斤", - "IQLid": "300", - "AQLid": "300", - "EMCode": "10300" - }, - { - "QSid": "323", - "QDes": "/嫌弃", - "IQLid": "323", - "AQLid": "323", - "EMCode": "10323" - }, - { - "QSid": "332", - "QDes": "/举牌牌", - "IQLid": "332", - "AQLid": "332", - "EMCode": "10332" - }, - { - "QSid": "336", - "QDes": "/豹富", - "IQLid": "336", - "AQLid": "336", - "EMCode": "10336" - }, - { - "QSid": "353", - "QDes": "/拜托", - "IQLid": "353", - "AQLid": "353", - "EMCode": "10353" - }, - { - "QSid": "355", - "QDes": "/耶", - "IQLid": "355", - "AQLid": "355", - "EMCode": "10355" - }, - { - "QSid": "356", - "QDes": "/666", - "IQLid": "356", - "AQLid": "356", - "EMCode": "10356" - }, - { - "QSid": "354", - "QDes": "/尊嘟假嘟", - "IQLid": "354", - "AQLid": "354", - "EMCode": "10354" - }, - { - "QSid": "352", - "QDes": "/咦", - "IQLid": "352", - "AQLid": "352", - "EMCode": "10352" - }, - { - "QSid": "357", - "QDes": "/裂开", - "IQLid": "357", - "AQLid": "357", - "EMCode": "10357" - }, - { - "QSid": "334", - "QDes": "/虎虎生威", - "IQLid": "334", - "AQLid": "334", - "EMCode": "10334" - }, - { - "QSid": "347", - "QDes": "/大展宏兔", - "IQLid": "347", - "AQLid": "347", - "EMCode": "10347" - }, - { - "QSid": "303", - "QDes": "/右拜年", - "IQLid": "303", - "AQLid": "303", - "EMCode": "10303" - }, - { - "QSid": "302", - "QDes": "/左拜年", - "IQLid": "302", - "AQLid": "302", - "EMCode": "10302" - }, - { - "QSid": "295", - "QDes": "/拿到红包", - "IQLid": "295", - "AQLid": "295", - "EMCode": "10295" - }, - { - "QSid": "311", - "QDes": "/打call", - "IQLid": "311", - "AQLid": "311", - "EMCode": "10311", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "1" - }, - { - "QSid": "312", - "QDes": "/变形", - "IQLid": "312", - "AQLid": "312", - "EMCode": "10312", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "2" - }, - { - "QSid": "314", - "QDes": "/仔细分析", - "IQLid": "314", - "AQLid": "314", - "EMCode": "10314", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "4" - }, - { - "QSid": "317", - "QDes": "/菜汪", - "IQLid": "317", - "AQLid": "317", - "EMCode": "10317", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "7" - }, - { - "QSid": "318", - "QDes": "/崇拜", - "IQLid": "318", - "AQLid": "318", - "EMCode": "10318", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "8" - }, - { - "QSid": "319", - "QDes": "/比心", - "IQLid": "319", - "AQLid": "319", - "EMCode": "10319", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "9" - }, - { - "QSid": "320", - "QDes": "/庆祝", - "IQLid": "320", - "AQLid": "320", - "EMCode": "10320", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "10" - }, - { - "QSid": "324", - "QDes": "/吃糖", - "IQLid": "324", - "AQLid": "324", - "EMCode": "10324", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "12" - }, - { - "QSid": "325", - "QDes": "/惊吓", - "IQLid": "325", - "AQLid": "325", - "EMCode": "10325", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "14" - }, - { - "QSid": "337", - "QDes": "/花朵脸", - "IQLid": "337", - "AQLid": "337", - "EMCode": "10337", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "22" - }, - { - "QSid": "338", - "QDes": "/我想开了", - "IQLid": "338", - "AQLid": "338", - "EMCode": "10338", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "20" - }, - { - "QSid": "339", - "QDes": "/舔屏", - "IQLid": "339", - "AQLid": "339", - "EMCode": "10339", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "21" - }, - { - "QSid": "341", - "QDes": "/打招呼", - "IQLid": "341", - "AQLid": "341", - "EMCode": "10341", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "24" - }, - { - "QSid": "342", - "QDes": "/酸Q", - "IQLid": "342", - "AQLid": "342", - "EMCode": "10342", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "26" - }, - { - "QSid": "343", - "QDes": "/我方了", - "IQLid": "343", - "AQLid": "343", - "EMCode": "10343", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "27" - }, - { - "QSid": "344", - "QDes": "/大怨种", - "IQLid": "344", - "AQLid": "344", - "EMCode": "10344", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "28" - }, - { - "QSid": "345", - "QDes": "/红包多多", - "IQLid": "345", - "AQLid": "345", - "EMCode": "10345", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "29" - }, - { - "QSid": "346", - "QDes": "/你真棒棒", - "IQLid": "346", - "AQLid": "346", - "EMCode": "10346", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "25" - }, - { - "QSid": "181", - "QDes": "/戳一戳", - "IQLid": "151", - "AQLid": "173", - "EMCode": "251", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "37" - }, - { - "QSid": "74", - "QDes": "/太阳", - "isStatic": "1", - "IQLid": "73", - "AQLid": "75", - "EMCode": "176", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "35" - }, - { - "QSid": "75", - "QDes": "/月亮", - "isStatic": "1", - "IQLid": "67", - "AQLid": "68", - "EMCode": "175", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "36" - }, - { - "QSid": "351", - "QDes": "/敲敲", - "IQLid": "351", - "AQLid": "351", - "EMCode": "10351", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "30" - }, - { - "QSid": "349", - "QDes": "/坚强", - "IQLid": "349", - "AQLid": "349", - "EMCode": "10349", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "32" - }, - { - "QSid": "350", - "QDes": "/贴贴", - "IQLid": "350", - "AQLid": "350", - "EMCode": "10350", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "31" - }, - { - "QSid": "395", - "QDes": "/略略略", - "IQLid": "395", - "AQLid": "395", - "EMCode": "10395", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "41" - }, - { - "QSid": "114", - "QDes": "/篮球", - "IQLid": "90", - "AQLid": "92", - "EMCode": "158", - "AniStickerType": 2, - "AniStickerPackId": "1", - "AniStickerId": "13" - }, - { - "QSid": "358", - "QDes": "/骰子", - "IQLid": "358", - "AQLid": "358", - "QHide": "1", - "EMCode": "10358", - "AniStickerType": 2, - "AniStickerPackId": "1", - "AniStickerId": "33" - }, - { - "QSid": "359", - "QDes": "/包剪锤", - "IQLid": "359", - "AQLid": "359", - "QHide": "1", - "EMCode": "10359", - "AniStickerType": 2, - "AniStickerPackId": "1", - "AniStickerId": "34" - }, - { - "QSid": "326", - "QDes": "/生气", - "IQLid": "326", - "AQLid": "326", - "EMCode": "10326", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "15" - }, - { - "QSid": "53", - "QDes": "/蛋糕", - "IQLid": "59", - "AQLid": "59", - "EMCode": "168", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "17" - }, - { - "QSid": "49", - "QDes": "/拥抱", - "IQLid": "45", - "AQLid": "45", - "EMCode": "178" - }, - { - "QSid": "66", - "QDes": "/爱心", - "IQLid": "28", - "AQLid": "28", - "EMCode": "166" - }, - { - "QSid": "63", - "QDes": "/玫瑰", - "IQLid": "8", - "AQLid": "8", - "EMCode": "163" - }, - { - "QSid": "64", - "QDes": "/凋谢", - "IQLid": "57", - "AQLid": "57", - "EMCode": "164" - }, - { - "QSid": "187", - "QDes": "/幽灵", - "IQLid": "157", - "AQLid": "179", - "EMCode": "257" - }, - { - "QSid": "146", - "QDes": "/爆筋", - "IQLid": "116", - "AQLid": "118", - "EMCode": "121011" - }, - { - "QSid": "116", - "QDes": "/示爱", - "IQLid": "29", - "AQLid": "29", - "EMCode": "165" - }, - { - "QSid": "67", - "QDes": "/心碎", - "IQLid": "72", - "AQLid": "74", - "EMCode": "167" - }, - { - "QSid": "60", - "QDes": "/咖啡", - "IQLid": "66", - "AQLid": "66", - "EMCode": "160" - }, - { - "QSid": "185", - "QDes": "/羊驼", - "IQLid": "155", - "AQLid": "177", - "EMCode": "255" - }, - { - "QSid": "137", - "QDes": "/鞭炮", - "isStatic": "1", - "IQLid": "107", - "AQLid": "109", - "EMCode": "121002", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "18" - }, - { - "QSid": "333", - "QDes": "/烟花", - "isStatic": "1", - "IQLid": "333", - "AQLid": "333", - "EMCode": "10333", - "AniStickerType": 1, - "AniStickerPackId": "1", - "AniStickerId": "19" - }, - { - "QSid": "76", - "QDes": "/赞", - "IQLid": "52", - "AQLid": "52", - "EMCode": "179" - }, - { - "QSid": "124", - "QDes": "/OK", - "IQLid": "64", - "AQLid": "64", - "EMCode": "189" - }, - { - "QSid": "118", - "QDes": "/抱拳", - "IQLid": "56", - "AQLid": "56", - "EMCode": "183" - }, - { - "QSid": "78", - "QDes": "/握手", - "IQLid": "54", - "AQLid": "54", - "EMCode": "181" - }, - { - "QSid": "119", - "QDes": "/勾引", - "IQLid": "63", - "AQLid": "63", - "EMCode": "184" - }, - { - "QSid": "79", - "QDes": "/胜利", - "IQLid": "55", - "AQLid": "55", - "EMCode": "182" - }, - { - "QSid": "120", - "QDes": "/拳头", - "IQLid": "71", - "AQLid": "73", - "EMCode": "185" - }, - { - "QSid": "121", - "QDes": "/差劲", - "IQLid": "70", - "AQLid": "72", - "EMCode": "186" - }, - { - "QSid": "77", - "QDes": "/踩", - "IQLid": "53", - "AQLid": "53", - "EMCode": "180" - }, - { - "QSid": "123", - "QDes": "/NO", - "IQLid": "92", - "AQLid": "94", - "EMCode": "188" - }, - { - "QSid": "201", - "QDes": "/点赞", - "IQLid": "171", - "AQLid": "150", - "EMCode": "271" - }, - { - "QSid": "273", - "QDes": "/我酸了", - "isStatic": "1", - "IQLid": "273", - "AQLid": "273", - "EMCode": "10273" - }, - { - "QSid": "46", - "QDes": "/猪头", - "isStatic": "1", - "IQLid": "7", - "AQLid": "7", - "EMCode": "162" - }, - { - "QSid": "112", - "QDes": "/菜刀", - "IQLid": "17", - "AQLid": "17", - "EMCode": "155" - }, - { - "QSid": "56", - "QDes": "/刀", - "IQLid": "68", - "AQLid": "70", - "EMCode": "171" - }, - { - "QSid": "169", - "QDes": "/手枪", - "isStatic": "1", - "IQLid": "139", - "AQLid": "141", - "EMCode": "121034" - }, - { - "QSid": "171", - "QDes": "/茶", - "IQLid": "141", - "AQLid": "163", - "EMCode": "241" - }, - { - "QSid": "59", - "QDes": "/便便", - "IQLid": "15", - "AQLid": "15", - "EMCode": "174" - }, - { - "QSid": "144", - "QDes": "/喝彩", - "isStatic": "1", - "IQLid": "114", - "AQLid": "116", - "EMCode": "121009" - }, - { - "QSid": "147", - "QDes": "/棒棒糖", - "isStatic": "1", - "IQLid": "117", - "AQLid": "119", - "EMCode": "121012" - }, - { - "QSid": "89", - "QDes": "/西瓜", - "isStatic": "1", - "IQLid": "60", - "AQLid": "60", - "EMCode": "156" - }, - { - "QSid": "148", - "QDes": "/喝奶", - "isStatic": "1", - "IQLid": "118", - "AQLid": "120", - "QHide": "1", - "EMCode": "121013" - }, - { - "QSid": "55", - "QDes": "/炸弹", - "isStatic": "1", - "IQLid": "16", - "AQLid": "16", - "QHide": "1", - "EMCode": "170" - }, - { - "QSid": "41", - "QDes": "/发抖", - "isStatic": "1", - "IQLid": "69", - "AQLid": "71", - "EMCode": "193" - }, - { - "QSid": "125", - "QDes": "/转圈", - "IQLid": "95", - "AQLid": "97", - "EMCode": "195" - }, - { - "QSid": "42", - "QDes": "/爱情", - "IQLid": "38", - "AQLid": "38", - "EMCode": "190" - }, - { - "QSid": "43", - "QDes": "/跳跳", - "IQLid": "93", - "AQLid": "95", - "EMCode": "192" - }, - { - "QSid": "86", - "QDes": "/怄火", - "IQLid": "94", - "AQLid": "96", - "EMCode": "194" - }, - { - "QSid": "129", - "QDes": "/挥手", - "IQLid": "77", - "AQLid": "79", - "EMCode": "199" - }, - { - "QSid": "226", - "QDes": "/拍桌", - "IQLid": "196", - "isCMEmoji": "1", - "AQLid": "198", - "QHide": "1", - "EMCode": "297" - }, - { - "QSid": "85", - "QDes": "/飞吻", - "isStatic": "1", - "IQLid": "47", - "AQLid": "47", - "EMCode": "191" - }, - { - "QSid": "215", - "QDes": "/糊脸", - "IQLid": "185", - "isCMEmoji": "1", - "AQLid": "187", - "QHide": "1", - "EMCode": "285" - }, - { - "QSid": "214", - "QDes": "/啵啵", - "IQLid": "184", - "isCMEmoji": "1", - "AQLid": "186", - "QHide": "1", - "EMCode": "284" - }, - { - "QSid": "222", - "QDes": "/抱抱", - "IQLid": "192", - "isCMEmoji": "1", - "AQLid": "194", - "QHide": "1", - "EMCode": "292" - }, - { - "QSid": "203", - "QDes": "/托脸", - "IQLid": "173", - "AQLid": "152", - "QHide": "1", - "EMCode": "273" - }, - { - "QSid": "235", - "QDes": "/颤抖", - "IQLid": "205", - "isCMEmoji": "1", - "AQLid": "207", - "QHide": "1", - "EMCode": "305" - }, - { - "QSid": "241", - "QDes": "/生日快乐", - "IQLid": "211", - "isCMEmoji": "1", - "AQLid": "213", - "QHide": "1", - "EMCode": "311" - }, - { - "QSid": "237", - "QDes": "/偷看", - "IQLid": "207", - "isCMEmoji": "1", - "AQLid": "209", - "QHide": "1", - "EMCode": "307" - }, - { - "QSid": "218", - "QDes": "/舔一舔", - "IQLid": "188", - "isCMEmoji": "1", - "AQLid": "190", - "QHide": "1", - "EMCode": "288" - }, - { - "QSid": "233", - "QDes": "/掐一掐", - "IQLid": "203", - "isCMEmoji": "1", - "AQLid": "205", - "QHide": "1", - "EMCode": "303" - }, - { - "QSid": "232", - "QDes": "/佛系", - "IQLid": "202", - "isCMEmoji": "1", - "AQLid": "204", - "QHide": "1", - "EMCode": "302" - }, - { - "QSid": "238", - "QDes": "/扇脸", - "IQLid": "208", - "isCMEmoji": "1", - "AQLid": "210", - "QHide": "1", - "EMCode": "308" - }, - { - "QSid": "217", - "QDes": "/扯一扯", - "IQLid": "187", - "isCMEmoji": "1", - "AQLid": "189", - "QHide": "1", - "EMCode": "287" - }, - { - "QSid": "225", - "QDes": "/撩一撩", - "IQLid": "195", - "isCMEmoji": "1", - "AQLid": "197", - "QHide": "1", - "EMCode": "296" - }, - { - "QSid": "230", - "QDes": "/嘲讽", - "IQLid": "200", - "isCMEmoji": "1", - "AQLid": "202", - "QHide": "1", - "EMCode": "300" - }, - { - "QSid": "194", - "QDes": "/不开心", - "IQLid": "164", - "AQLid": "143", - "QHide": "1", - "EMCode": "264" - }, - { - "QSid": "210", - "QDes": "/飙泪", - "IQLid": "180", - "AQLid": "159", - "QHide": "1", - "EMCode": "280" - }, - { - "QSid": "193", - "QDes": "/大笑", - "IQLid": "163", - "AQLid": "185", - "QHide": "1", - "EMCode": "263" - }, - { - "QSid": "204", - "QDes": "/吃", - "IQLid": "174", - "AQLid": "153", - "QHide": "1", - "EMCode": "274" - }, - { - "QSid": "200", - "QDes": "/求求", - "IQLid": "170", - "AQLid": "149", - "QHide": "1", - "EMCode": "270" - }, - { - "QSid": "290", - "QDes": "/敲开心", - "IQLid": "290", - "isCMEmoji": "1", - "AQLid": "290", - "QHide": "1", - "EMCode": "20240" - }, - { - "QSid": "224", - "QDes": "/开枪", - "IQLid": "194", - "isCMEmoji": "1", - "AQLid": "196", - "QHide": "1", - "EMCode": "295" - }, - { - "QSid": "229", - "QDes": "/干杯", - "IQLid": "199", - "isCMEmoji": "1", - "AQLid": "201", - "QHide": "1", - "EMCode": "299" - }, - { - "QSid": "221", - "QDes": "/顶呱呱", - "IQLid": "191", - "isCMEmoji": "1", - "AQLid": "193", - "QHide": "1", - "EMCode": "291" - }, - { - "QSid": "219", - "QDes": "/蹭一蹭", - "IQLid": "189", - "isCMEmoji": "1", - "AQLid": "191", - "QHide": "1", - "EMCode": "289" - }, - { - "QSid": "227", - "QDes": "/拍手", - "IQLid": "197", - "isCMEmoji": "1", - "AQLid": "199", - "QHide": "1", - "EMCode": "294" - }, - { - "QSid": "216", - "QDes": "/拍头", - "IQLid": "186", - "isCMEmoji": "1", - "AQLid": "188", - "QHide": "1", - "EMCode": "286" - }, - { - "QSid": "231", - "QDes": "/哼", - "IQLid": "201", - "isCMEmoji": "1", - "AQLid": "203", - "QHide": "1", - "EMCode": "301" - }, - { - "QSid": "244", - "QDes": "/扔狗", - "IQLid": "214", - "isCMEmoji": "1", - "AQLid": "216", - "QHide": "1", - "EMCode": "312" - }, - { - "QSid": "223", - "QDes": "/暴击", - "IQLid": "193", - "isCMEmoji": "1", - "AQLid": "195", - "QHide": "1", - "EMCode": "293" - }, - { - "QSid": "243", - "QDes": "/甩头", - "IQLid": "213", - "isCMEmoji": "1", - "AQLid": "215", - "QHide": "1", - "EMCode": "313" - }, - { - "QSid": "211", - "QDes": "/我不看", - "IQLid": "181", - "AQLid": "160", - "QHide": "1", - "EMCode": "281" - }, - { - "QSid": "292", - "QDes": "/让我康康", - "IQLid": "292", - "isCMEmoji": "1", - "AQLid": "292", - "QHide": "1", - "EMCode": "20242" - }, - { - "QSid": "240", - "QDes": "/喷脸", - "IQLid": "210", - "isCMEmoji": "1", - "AQLid": "212", - "QHide": "1", - "EMCode": "310" - }, - { - "QSid": "180", - "QDes": "/惊喜", - "IQLid": "150", - "AQLid": "172", - "QHide": "1", - "EMCode": "250" - }, - { - "QSid": "122", - "QDes": "/爱你", - "IQLid": "65", - "AQLid": "65", - "QHide": "1", - "EMCode": "187" - }, - { - "QSid": "202", - "QDes": "/无聊", - "IQLid": "172", - "AQLid": "151", - "QHide": "1", - "EMCode": "272" - }, - { - "QSid": "278", - "QDes": "/汗", - "IQLid": "278", - "isCMEmoji": "1", - "AQLid": "278", - "QHide": "1", - "EMCode": "20237" - }, - { - "QSid": "301", - "QDes": "/好闪", - "IQLid": "301", - "AQLid": "301", - "QHide": "1", - "EMCode": "10301" - }, - { - "QSid": "288", - "QDes": "/请", - "IQLid": "288", - "AQLid": "288", - "QHide": "1", - "EMCode": "10288" - }, - { - "QSid": "322", - "QDes": "/拒绝", - "IQLid": "322", - "AQLid": "322", - "QHide": "1", - "EMCode": "10322" - }, - { - "QSid": "198", - "QDes": "/呃", - "IQLid": "168", - "AQLid": "147", - "QHide": "1", - "EMCode": "268" - }, - { - "QSid": "348", - "QDes": "/福萝卜", - "IQLid": "348", - "AQLid": "348", - "QHide": "1", - "EMCode": "10348" - }, - { - "QSid": "206", - "QDes": "/害怕", - "IQLid": "176", - "AQLid": "155", - "QHide": "1", - "EMCode": "276" - }, - { - "QSid": "239", - "QDes": "/原谅", - "IQLid": "209", - "isCMEmoji": "1", - "AQLid": "211", - "QHide": "1", - "EMCode": "309" - } - ], - "emoji": [ - { - "QSid": "😊", - "QCid": "128522", - "AQLid": "0", - "QDes": "/嘿嘿", - "EMCode": "400832" - }, - { - "QSid": "😌", - "QCid": "128524", - "AQLid": "1", - "QDes": "/羞涩", - "EMCode": "400834" - }, - { - "QSid": "😚", - "QCid": "128538", - "AQLid": "2", - "QDes": "/亲亲", - "EMCode": "400848" - }, - { - "QSid": "😓", - "QCid": "128531", - "AQLid": "3", - "QDes": "/汗", - "EMCode": "400841" - }, - { - "QSid": "😰", - "QCid": "128560", - "AQLid": "4", - "QDes": "/紧张", - "EMCode": "400870" - }, - { - "QSid": "😝", - "QCid": "128541", - "AQLid": "5", - "QDes": "/吐舌", - "EMCode": "400851" - }, - { - "QSid": "😁", - "QCid": "128513", - "AQLid": "6", - "QDes": "/呲牙", - "EMCode": "400823" - }, - { - "QSid": "😜", - "QCid": "128540", - "AQLid": "7", - "QDes": "/淘气", - "EMCode": "400850" - }, - { - "QSid": "☺", - "QCid": "9786", - "AQLid": "8", - "QDes": "/可爱", - "EMCode": "401181" - }, - { - "QSid": "😉", - "QCid": "128521", - "AQLid": "9", - "QDes": "/媚眼", - "QHide": "1", - "EMCode": "400831" - }, - { - "QSid": "😍", - "QCid": "128525", - "AQLid": "10", - "QDes": "/花痴", - "EMCode": "400835" - }, - { - "QSid": "😔", - "QCid": "128532", - "AQLid": "11", - "QDes": "/失落", - "EMCode": "400842" - }, - { - "QSid": "😄", - "QCid": "128516", - "AQLid": "12", - "QDes": "/高兴", - "EMCode": "400826" - }, - { - "QSid": "😏", - "QCid": "128527", - "AQLid": "13", - "QDes": "/哼哼", - "EMCode": "400837" - }, - { - "QSid": "😒", - "QCid": "128530", - "AQLid": "14", - "QDes": "/不屑", - "EMCode": "400840" - }, - { - "QSid": "😳", - "QCid": "128563", - "AQLid": "15", - "QDes": "/瞪眼", - "EMCode": "400873" - }, - { - "QSid": "😘", - "QCid": "128536", - "AQLid": "16", - "QDes": "/飞吻", - "EMCode": "400846" - }, - { - "QSid": "😭", - "QCid": "128557", - "AQLid": "17", - "QDes": "/大哭", - "EMCode": "400867" - }, - { - "QSid": "😱", - "QCid": "128561", - "AQLid": "18", - "QDes": "/害怕", - "EMCode": "400871" - }, - { - "QSid": "😂", - "QCid": "128514", - "AQLid": "19", - "QDes": "/激动", - "EMCode": "400824" - }, - { - "QSid": "💪", - "QCid": "128170", - "AQLid": "20", - "QDes": "/肌肉", - "EMCode": "400644" - }, - { - "QSid": "👊", - "QCid": "128074", - "AQLid": "21", - "QDes": "/拳头", - "EMCode": "400390" - }, - { - "QSid": "👍", - "QCid": "128077", - "AQLid": "22", - "QDes": "/厉害", - "EMCode": "400408" - }, - { - "QSid": "☝", - "QCid": "9757", - "AQLid": "23", - "QDes": "/向上", - "QHide": "1", - "EMCode": "401203" - }, - { - "QSid": "👏", - "QCid": "128079", - "AQLid": "24", - "QDes": "/鼓掌", - "EMCode": "400420" - }, - { - "QSid": "✌", - "QCid": "9996", - "AQLid": "25", - "QDes": "/胜利", - "QHide": "1", - "EMCode": "401210" - }, - { - "QSid": "👎", - "QCid": "128078", - "AQLid": "26", - "QDes": "/鄙视", - "EMCode": "400414" - }, - { - "QSid": "🙏", - "QCid": "128591", - "AQLid": "27", - "QDes": "/合十", - "EMCode": "400396" - }, - { - "QSid": "👌", - "QCid": "128076", - "AQLid": "28", - "QDes": "/好的", - "EMCode": "400402" - }, - { - "QSid": "👈", - "QCid": "128072", - "AQLid": "29", - "QDes": "/向左", - "QHide": "1", - "EMCode": "400378" - }, - { - "QSid": "👉", - "QCid": "128073", - "AQLid": "30", - "QDes": "/向右", - "QHide": "1", - "EMCode": "400384" - }, - { - "QSid": "👆", - "QCid": "128070", - "AQLid": "31", - "QDes": "/向上", - "EMCode": "400366" - }, - { - "QSid": "👇", - "QCid": "128071", - "AQLid": "32", - "QDes": "/向下", - "QHide": "1", - "EMCode": "400372" - }, - { - "QSid": "👀", - "QCid": "128064", - "AQLid": "33", - "QDes": "/眼睛", - "EMCode": "400351" - }, - { - "QSid": "👃", - "QCid": "128067", - "AQLid": "34", - "QDes": "/鼻子", - "QHide": "1", - "EMCode": "400358" - }, - { - "QSid": "👄", - "QCid": "128068", - "AQLid": "35", - "QDes": "/嘴唇", - "QHide": "1", - "EMCode": "400364" - }, - { - "QSid": "👂", - "QCid": "128066", - "AQLid": "36", - "QDes": "/耳朵", - "QHide": "1", - "EMCode": "400352" - }, - { - "QSid": "🍚", - "QCid": "127834", - "AQLid": "37", - "QDes": "/米饭", - "QHide": "1", - "EMCode": "400149" - }, - { - "QSid": "🍝", - "QCid": "127837", - "AQLid": "38", - "QDes": "/意面", - "QHide": "1", - "EMCode": "400152" - }, - { - "QSid": "🍜", - "QCid": "127836", - "AQLid": "39", - "QDes": "/拉面", - "EMCode": "400151" - }, - { - "QSid": "🍙", - "QCid": "127833", - "AQLid": "40", - "QDes": "/饭团", - "QHide": "1", - "EMCode": "400148" - }, - { - "QSid": "🍧", - "QCid": "127847", - "AQLid": "41", - "QDes": "/刨冰", - "EMCode": "400162" - }, - { - "QSid": "🍣", - "QCid": "127843", - "AQLid": "42", - "QDes": "/寿司", - "QHide": "1", - "EMCode": "400158" - }, - { - "QSid": "🎂", - "QCid": "127874", - "AQLid": "43", - "QDes": "/蛋糕", - "QHide": "1", - "EMCode": "400186" - }, - { - "QSid": "🍞", - "QCid": "127838", - "AQLid": "44", - "QDes": "/面包", - "EMCode": "400153" - }, - { - "QSid": "🍔", - "QCid": "127828", - "AQLid": "45", - "QDes": "/汉堡", - "QHide": "1", - "EMCode": "400143" - }, - { - "QSid": "🍳", - "QCid": "127859", - "AQLid": "46", - "QDes": "/煎蛋", - "QHide": "1", - "EMCode": "400174" - }, - { - "QSid": "🍟", - "QCid": "127839", - "AQLid": "47", - "QDes": "/薯条", - "QHide": "1", - "EMCode": "400154" - }, - { - "QSid": "🍺", - "QCid": "127866", - "AQLid": "48", - "QDes": "/啤酒", - "EMCode": "400181" - }, - { - "QSid": "🍻", - "QCid": "127867", - "AQLid": "49", - "QDes": "/干杯", - "EMCode": "400182" - }, - { - "QSid": "🍸", - "QCid": "127864", - "AQLid": "50", - "QDes": "/高脚杯", - "QHide": "1", - "EMCode": "400179" - }, - { - "QSid": "☕", - "QCid": "9749", - "AQLid": "51", - "QDes": "/咖啡", - "EMCode": "401262" - }, - { - "QSid": "🍎", - "QCid": "127822", - "AQLid": "52", - "QDes": "/苹果", - "EMCode": "400137" - }, - { - "QSid": "🍊", - "QCid": "127818", - "AQLid": "53", - "QDes": "/橙子", - "QHide": "1", - "EMCode": "400133" - }, - { - "QSid": "🍓", - "QCid": "127827", - "AQLid": "54", - "QDes": "/草莓", - "EMCode": "400142" - }, - { - "QSid": "🍉", - "QCid": "127817", - "AQLid": "55", - "QDes": "/西瓜", - "EMCode": "400132" - }, - { - "QSid": "💊", - "QCid": "128138", - "AQLid": "56", - "QDes": "/药丸", - "QHide": "1", - "EMCode": "400612" - }, - { - "QSid": "🚬", - "QCid": "128684", - "AQLid": "57", - "QDes": "/吸烟", - "EMCode": "400987" - }, - { - "QSid": "🎄", - "QCid": "127876", - "AQLid": "58", - "QDes": "/圣诞树", - "QHide": "1", - "EMCode": "400188" - }, - { - "QSid": "🌹", - "QCid": "127801", - "AQLid": "59", - "QDes": "/玫瑰", - "EMCode": "400116" - }, - { - "QSid": "🎉", - "QCid": "127881", - "AQLid": "60", - "QDes": "/庆祝", - "EMCode": "400198" - }, - { - "QSid": "🌴", - "QCid": "127796", - "AQLid": "61", - "QDes": "/椰子树", - "QHide": "1", - "EMCode": "400112" - }, - { - "QSid": "💝", - "QCid": "128157", - "AQLid": "62", - "QDes": "/礼物", - "EMCode": "400631" - }, - { - "QSid": "🎀", - "QCid": "127872", - "AQLid": "63", - "QDes": "/蝴蝶结", - "QHide": "1", - "EMCode": "400184" - }, - { - "QSid": "🎈", - "QCid": "127880", - "AQLid": "64", - "QDes": "/气球", - "QHide": "1", - "EMCode": "400197" - }, - { - "QSid": "🐚", - "QCid": "128026", - "AQLid": "65", - "QDes": "/海螺", - "QHide": "1", - "EMCode": "400314" - }, - { - "QSid": "💍", - "QCid": "128141", - "AQLid": "66", - "QDes": "/戒指", - "QHide": "1", - "EMCode": "400615" - }, - { - "QSid": "💣", - "QCid": "128163", - "AQLid": "67", - "QDes": "/炸弹", - "EMCode": "400637" - }, - { - "QSid": "👑", - "QCid": "128081", - "AQLid": "68", - "QDes": "/皇冠", - "QHide": "1", - "EMCode": "400432" - }, - { - "QSid": "🔔", - "QCid": "128276", - "AQLid": "69", - "QDes": "/铃铛", - "QHide": "1", - "EMCode": "400751" - }, - { - "QSid": "⭐", - "QCid": "11088", - "AQLid": "70", - "QDes": "/星星", - "QHide": "1", - "EMCode": "401686" - }, - { - "QSid": "✨", - "QCid": "10024", - "AQLid": "71", - "QDes": "/闪光", - "EMCode": "401137" - }, - { - "QSid": "💨", - "QCid": "128168", - "AQLid": "72", - "QDes": "/吹气", - "EMCode": "400642" - }, - { - "QSid": "💦", - "QCid": "128166", - "AQLid": "73", - "QDes": "/水", - "EMCode": "400640" - }, - { - "QSid": "🔥", - "QCid": "128293", - "AQLid": "74", - "QDes": "/火", - "EMCode": "400768" - }, - { - "QSid": "🏆", - "QCid": "127942", - "AQLid": "75", - "QDes": "/奖杯", - "QHide": "1", - "EMCode": "400256" - }, - { - "QSid": "💰", - "QCid": "128176", - "AQLid": "76", - "QDes": "/钱", - "QHide": "1", - "EMCode": "400655" - }, - { - "QSid": "💤", - "QCid": "128164", - "AQLid": "77", - "QDes": "/睡觉", - "EMCode": "400638" - }, - { - "QSid": "⚡", - "QCid": "9889", - "AQLid": "78", - "QDes": "/闪电", - "QHide": "1", - "EMCode": "401685" - }, - { - "QSid": "👣", - "QCid": "128099", - "AQLid": "79", - "QDes": "/脚印", - "QHide": "1", - "EMCode": "400450" - }, - { - "QSid": "💩", - "QCid": "128169", - "AQLid": "80", - "QDes": "/便便", - "EMCode": "400643" - }, - { - "QSid": "💉", - "QCid": "128137", - "AQLid": "81", - "QDes": "/打针", - "EMCode": "400611" - }, - { - "QSid": "♨", - "QCid": "9832", - "AQLid": "82", - "QDes": "/热", - "QHide": "1", - "EMCode": "401287" - }, - { - "QSid": "📫", - "QCid": "128235", - "AQLid": "83", - "QDes": "/邮箱", - "EMCode": "400714" - }, - { - "QSid": "🔑", - "QCid": "128273", - "AQLid": "84", - "QDes": "/钥匙", - "QHide": "1", - "EMCode": "400748" - }, - { - "QSid": "🔒", - "QCid": "128274", - "AQLid": "85", - "QDes": "/锁", - "QHide": "1", - "EMCode": "400749" - }, - { - "QSid": "✈", - "QCid": "9992", - "AQLid": "86", - "QDes": "/飞机", - "QHide": "1", - "EMCode": "401298" - }, - { - "QSid": "🚄", - "QCid": "128644", - "AQLid": "87", - "QDes": "/列车", - "QHide": "1", - "EMCode": "400942" - }, - { - "QSid": "🚗", - "QCid": "128663", - "AQLid": "88", - "QDes": "/汽车", - "QHide": "1", - "EMCode": "400961" - }, - { - "QSid": "🚤", - "QCid": "128676", - "AQLid": "89", - "QDes": "/快艇", - "QHide": "1", - "EMCode": "400979" - }, - { - "QSid": "🚲", - "QCid": "128690", - "AQLid": "90", - "QDes": "/自行车", - "QHide": "1", - "EMCode": "400993" - }, - { - "QSid": "🐎", - "QCid": "128014", - "AQLid": "91", - "QDes": "/骑马", - "EMCode": "400302" - }, - { - "QSid": "🚀", - "QCid": "128640", - "AQLid": "92", - "QDes": "/火箭", - "QHide": "1", - "EMCode": "400938" - }, - { - "QSid": "🚌", - "QCid": "128652", - "AQLid": "93", - "QDes": "/公交", - "QHide": "1", - "EMCode": "400950" - }, - { - "QSid": "⛵", - "QCid": "9973", - "AQLid": "94", - "QDes": "/船", - "QHide": "1", - "EMCode": "401294" - }, - { - "QSid": "👩", - "QCid": "128105", - "AQLid": "95", - "QDes": "/妈妈", - "QHide": "1", - "EMCode": "400482" - }, - { - "QSid": "👨", - "QCid": "128104", - "AQLid": "96", - "QDes": "/爸爸", - "QHide": "1", - "EMCode": "400465" - }, - { - "QSid": "👧", - "QCid": "128103", - "AQLid": "97", - "QDes": "/女孩", - "EMCode": "400459" - }, - { - "QSid": "👦", - "QCid": "128102", - "AQLid": "98", - "QDes": "/男孩", - "EMCode": "400453" - }, - { - "QSid": "🐵", - "QCid": "128053", - "AQLid": "99", - "QDes": "/猴", - "EMCode": "400341" - }, - { - "QSid": "🐙", - "QCid": "128025", - "AQLid": "100", - "QDes": "/章鱼", - "QHide": "1", - "EMCode": "400313" - }, - { - "QSid": "🐷", - "QCid": "128055", - "AQLid": "101", - "QDes": "/猪", - "EMCode": "400343" - }, - { - "QSid": "💀", - "QCid": "128128", - "AQLid": "102", - "QDes": "/骷髅", - "QHide": "1", - "EMCode": "400572" - }, - { - "QSid": "🐤", - "QCid": "128036", - "AQLid": "103", - "QDes": "/小鸡", - "QHide": "1", - "EMCode": "400324" - }, - { - "QSid": "🐨", - "QCid": "128040", - "AQLid": "104", - "QDes": "/树懒", - "QHide": "1", - "EMCode": "400328" - }, - { - "QSid": "🐮", - "QCid": "128046", - "AQLid": "105", - "QDes": "/牛", - "EMCode": "400334" - }, - { - "QSid": "🐔", - "QCid": "128020", - "AQLid": "106", - "QDes": "/公鸡", - "EMCode": "400308" - }, - { - "QSid": "🐸", - "QCid": "128056", - "AQLid": "107", - "QDes": "/青蛙", - "EMCode": "400344" - }, - { - "QSid": "👻", - "QCid": "128123", - "AQLid": "108", - "QDes": "/幽灵", - "EMCode": "400562" - }, - { - "QSid": "🐛", - "QCid": "128027", - "AQLid": "109", - "QDes": "/虫", - "EMCode": "400315" - }, - { - "QSid": "🐠", - "QCid": "128032", - "AQLid": "110", - "QDes": "/鱼", - "QHide": "1", - "EMCode": "400320" - }, - { - "QSid": "🐶", - "QCid": "128054", - "AQLid": "111", - "QDes": "/狗", - "EMCode": "400342" - }, - { - "QSid": "🐯", - "QCid": "128047", - "AQLid": "112", - "QDes": "/老虎", - "QHide": "1", - "EMCode": "400335" - }, - { - "QSid": "👼", - "QCid": "128124", - "AQLid": "113", - "QDes": "/天使", - "QHide": "1", - "EMCode": "400563" - }, - { - "QSid": "🐧", - "QCid": "128039", - "AQLid": "114", - "QDes": "/企鹅", - "QHide": "1", - "EMCode": "400327" - }, - { - "QSid": "🐳", - "QCid": "128051", - "AQLid": "115", - "QDes": "/鲸鱼", - "EMCode": "400339" - }, - { - "QSid": "🐭", - "QCid": "128045", - "AQLid": "116", - "QDes": "/老鼠", - "QHide": "1", - "EMCode": "400333" - }, - { - "QSid": "👒", - "QCid": "128082", - "AQLid": "117", - "QDes": "/帽子", - "QHide": "1", - "EMCode": "400433" - }, - { - "QSid": "👗", - "QCid": "128087", - "AQLid": "118", - "QDes": "/连衣裙", - "QHide": "1", - "EMCode": "400438" - }, - { - "QSid": "💄", - "QCid": "128132", - "AQLid": "119", - "QDes": "/口红", - "QHide": "1", - "EMCode": "400591" - }, - { - "QSid": "👠", - "QCid": "128096", - "AQLid": "120", - "QDes": "/高跟鞋", - "QHide": "1", - "EMCode": "400447" - }, - { - "QSid": "👢", - "QCid": "128098", - "AQLid": "121", - "QDes": "/靴子", - "EMCode": "400449" - }, - { - "QSid": "🌂", - "QCid": "127746", - "AQLid": "122", - "QDes": "/雨伞", - "QHide": "1", - "EMCode": "400077" - }, - { - "QSid": "👜", - "QCid": "128092", - "AQLid": "123", - "QDes": "/包", - "QHide": "1", - "EMCode": "400443" - }, - { - "QSid": "👙", - "QCid": "128089", - "AQLid": "124", - "QDes": "/内衣", - "QHide": "1", - "EMCode": "400440" - }, - { - "QSid": "👕", - "QCid": "128085", - "AQLid": "125", - "QDes": "/衣服", - "QHide": "1", - "EMCode": "400436" - }, - { - "QSid": "👟", - "QCid": "128095", - "AQLid": "126", - "QDes": "/鞋子", - "QHide": "1", - "EMCode": "400446" - }, - { - "QSid": "☁", - "QCid": "9729", - "AQLid": "127", - "QDes": "/云朵", - "QHide": "1", - "EMCode": "401329" - }, - { - "QSid": "☀", - "QCid": "9728", - "AQLid": "128", - "QDes": "/晴天", - "EMCode": "401328" - }, - { - "QSid": "☔", - "QCid": "9748", - "AQLid": "129", - "QDes": "/雨天", - "QHide": "1", - "EMCode": "401342" - }, - { - "QSid": "🌙", - "QCid": "127769", - "AQLid": "130", - "QDes": "/月亮", - "QHide": "1", - "EMCode": "400100" - }, - { - "QSid": "⛄", - "QCid": "9924", - "AQLid": "131", - "QDes": "/雪人", - "QHide": "1", - "EMCode": "401346" - }, - { - "QSid": "⭕", - "QCid": "11093", - "AQLid": "132", - "QDes": "/正确", - "QHide": "1", - "EMCode": "401687" - }, - { - "QSid": "❌", - "QCid": "10060", - "AQLid": "133", - "QDes": "/错误", - "QHide": "1", - "EMCode": "401142" - }, - { - "QSid": "❔", - "QCid": "10068", - "AQLid": "134", - "QDes": "/问号", - "EMCode": "401145" - }, - { - "QSid": "❕", - "QCid": "10069", - "AQLid": "135", - "QDes": "/叹号", - "QHide": "1", - "EMCode": "401146" - }, - { - "QSid": "☎", - "QCid": "9742", - "AQLid": "136", - "QDes": "/电话", - "QHide": "1", - "EMCode": "401398" - }, - { - "QSid": "📷", - "QCid": "128247", - "AQLid": "137", - "QDes": "/相机", - "QHide": "1", - "EMCode": "400726" - }, - { - "QSid": "📱", - "QCid": "128241", - "AQLid": "138", - "QDes": "/手机", - "QHide": "1", - "EMCode": "400720" - }, - { - "QSid": "📠", - "QCid": "128224", - "AQLid": "139", - "QDes": "/传真", - "QHide": "1", - "EMCode": "400703" - }, - { - "QSid": "💻", - "QCid": "128187", - "AQLid": "140", - "QDes": "/电脑", - "QHide": "1", - "EMCode": "400666" - }, - { - "QSid": "🎥", - "QCid": "127909", - "AQLid": "141", - "QDes": "/摄影机", - "QHide": "1", - "EMCode": "400214" - }, - { - "QSid": "🎤", - "QCid": "127908", - "AQLid": "142", - "QDes": "/话筒", - "QHide": "1", - "EMCode": "400213" - }, - { - "QSid": "🔫", - "QCid": "128299", - "AQLid": "143", - "QDes": "/手枪", - "EMCode": "400774" - }, - { - "QSid": "💿", - "QCid": "128191", - "AQLid": "144", - "QDes": "/光碟", - "QHide": "1", - "EMCode": "400670" - }, - { - "QSid": "💓", - "QCid": "128147", - "AQLid": "145", - "QDes": "/爱心", - "EMCode": "400621" - }, - { - "QSid": "♣", - "QCid": "9827", - "AQLid": "146", - "QDes": "/扑克", - "QHide": "1", - "EMCode": "401385" - }, - { - "QSid": "🀄", - "QCid": "126980", - "AQLid": "147", - "QDes": "/麻将", - "QHide": "1", - "EMCode": "401386" - }, - { - "QSid": "〽", - "QCid": "12349", - "AQLid": "148", - "QDes": "/股票", - "QHide": "1", - "EMCode": "401691" - }, - { - "QSid": "🎰", - "QCid": "127920", - "AQLid": "149", - "QDes": "/老虎机", - "QHide": "1", - "EMCode": "400225" - }, - { - "QSid": "🚥", - "QCid": "128677", - "AQLid": "150", - "QDes": "/信号灯", - "QHide": "1", - "EMCode": "400980" - }, - { - "QSid": "🚧", - "QCid": "128679", - "AQLid": "151", - "QDes": "/路障", - "QHide": "1", - "EMCode": "400982" - }, - { - "QSid": "🎸", - "QCid": "127928", - "AQLid": "152", - "QDes": "/吉他", - "QHide": "1", - "EMCode": "400233" - }, - { - "QSid": "💈", - "QCid": "128136", - "AQLid": "153", - "QDes": "/理发厅", - "QHide": "1", - "EMCode": "400610" - }, - { - "QSid": "🛀", - "QCid": "128704", - "AQLid": "154", - "QDes": "/浴缸", - "QHide": "1", - "EMCode": "401022" - }, - { - "QSid": "🚽", - "QCid": "128701", - "AQLid": "155", - "QDes": "/马桶", - "QHide": "1", - "EMCode": "401019" - }, - { - "QSid": "🏠", - "QCid": "127968", - "AQLid": "156", - "QDes": "/家", - "QHide": "1", - "EMCode": "400271" - }, - { - "QSid": "⛪", - "QCid": "9962", - "AQLid": "157", - "QDes": "/教堂", - "QHide": "1", - "EMCode": "401281" - }, - { - "QSid": "🏦", - "QCid": "127974", - "AQLid": "158", - "QDes": "/银行", - "QHide": "1", - "EMCode": "400277" - }, - { - "QSid": "🏥", - "QCid": "127973", - "AQLid": "159", - "QDes": "/医院", - "QHide": "1", - "EMCode": "400276" - }, - { - "QSid": "🏨", - "QCid": "127976", - "AQLid": "160", - "QDes": "/酒店", - "QHide": "1", - "EMCode": "400279" - }, - { - "QSid": "🏧", - "QCid": "127975", - "AQLid": "161", - "QDes": "/取款机", - "QHide": "1", - "EMCode": "400278" - }, - { - "QSid": "🏪", - "QCid": "127978", - "AQLid": "162", - "QDes": "/便利店", - "EMCode": "400281" - }, - { - "QSid": "🚹", - "QCid": "128697", - "AQLid": "163", - "QDes": "/男性", - "QHide": "1", - "EMCode": "401015" - }, - { - "QSid": "🚺", - "QCid": "128698", - "AQLid": "164", - "QDes": "/女性", - "QHide": "1", - "EMCode": "401016" - } - ] -} diff --git a/src/core.lib/src/entities/group.d.ts b/src/core.lib/src/entities/group.d.ts deleted file mode 100644 index 14218c4a..00000000 --- a/src/core.lib/src/entities/group.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { QQLevel, Sex } from './user'; -export interface Group { - groupCode: string; - maxMember: number; - memberCount: number; - groupName: string; - groupStatus: 0; - memberRole: 2; - isTop: boolean; - toppedTimestamp: string; - privilegeFlag: number; - isConf: boolean; - hasModifyConfGroupFace: boolean; - hasModifyConfGroupName: boolean; - remarkName: string; - hasMemo: boolean; - groupShutupExpireTime: string; - personShutupExpireTime: string; - discussToGroupUin: string; - discussToGroupMaxMsgSeq: number; - discussToGroupTime: number; - groupFlagExt: number; - authGroupType: number; - groupCreditLevel: number; - groupFlagExt3: number; - groupOwnerId: { - memberUin: string; - memberUid: string; - }; -} -export declare enum GroupMemberRole { - normal = 2, - admin = 3, - owner = 4 -} -export interface GroupMember { - memberSpecialTitle?: string; - avatarPath: string; - cardName: string; - cardType: number; - isDelete: boolean; - nick: string; - qid: string; - remark: string; - role: GroupMemberRole; - shutUpTime: number; - uid: string; - uin: string; - isRobot: boolean; - sex?: Sex; - qqLevel?: QQLevel; -} diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js deleted file mode 100644 index fc44d888..00000000 --- a/src/core.lib/src/entities/group.js +++ /dev/null @@ -1 +0,0 @@ -function _0xd0ba(){var _0x36db9f=['dsMSc','3662652sfZWWF','owner','admin','653040NFOTlW','ycBFe','7FgeyjU','2467605xxVgDE','120xmGgex','300958npdodm','832540gSwylc','TkRNT','normal','7394256Qefacs','608874DvuRbp','6KiFuAH'];_0xd0ba=function(){return _0x36db9f;};return _0xd0ba();}(function(_0x4784f0,_0x57e9cc){var _0x210e23=_0x3099,_0x1ffc1f=_0x4784f0();while(!![]){try{var _0x181b7a=-parseInt(_0x210e23(0xa5))/0x1*(-parseInt(_0x210e23(0xa8))/0x2)+-parseInt(_0x210e23(0x9e))/0x3*(-parseInt(_0x210e23(0xa9))/0x4)+-parseInt(_0x210e23(0xa6))/0x5+parseInt(_0x210e23(0x9d))/0x6+-parseInt(_0x210e23(0xa0))/0x7+parseInt(_0x210e23(0x9c))/0x8+-parseInt(_0x210e23(0xa3))/0x9*(parseInt(_0x210e23(0xa7))/0xa);if(_0x181b7a===_0x57e9cc)break;else _0x1ffc1f['push'](_0x1ffc1f['shift']());}catch(_0x90c7c){_0x1ffc1f['push'](_0x1ffc1f['shift']());}}}(_0xd0ba,0x946a3));function _0x3099(_0x251214,_0x35178e){var _0xd0bae9=_0xd0ba();return _0x3099=function(_0x3099f5,_0x5cb516){_0x3099f5=_0x3099f5-0x9a;var _0x56d168=_0xd0bae9[_0x3099f5];return _0x56d168;},_0x3099(_0x251214,_0x35178e);}export var GroupMemberRole;(function(_0x463087){var _0x5b45f6=_0x3099,_0x32e363={'ycBFe':_0x5b45f6(0x9b),'dsMSc':_0x5b45f6(0xa2),'TkRNT':_0x5b45f6(0xa1)};_0x463087[_0x463087['normal']=0x2]=_0x32e363[_0x5b45f6(0xa4)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9f)]]=0x3]=_0x32e363[_0x5b45f6(0x9f)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9a)]]=0x4]=_0x32e363[_0x5b45f6(0x9a)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.d.ts b/src/core.lib/src/entities/index.d.ts deleted file mode 100644 index d8bb67b6..00000000 --- a/src/core.lib/src/entities/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './user'; -export * from './group'; -export * from './msg'; -export * from './notify'; -export * from './cache'; -export * from './constructor'; diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js deleted file mode 100644 index 1159b1e3..00000000 --- a/src/core.lib/src/entities/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x5b45de,_0xbaa916){var _0x564d75=_0x5e29,_0x35f6f0=_0x5b45de();while(!![]){try{var _0x404409=parseInt(_0x564d75(0x1af))/0x1+parseInt(_0x564d75(0x1ae))/0x2*(-parseInt(_0x564d75(0x1ac))/0x3)+-parseInt(_0x564d75(0x1ad))/0x4+-parseInt(_0x564d75(0x1a9))/0x5*(parseInt(_0x564d75(0x1ab))/0x6)+parseInt(_0x564d75(0x1a8))/0x7+parseInt(_0x564d75(0x1b0))/0x8+parseInt(_0x564d75(0x1aa))/0x9;if(_0x404409===_0xbaa916)break;else _0x35f6f0['push'](_0x35f6f0['shift']());}catch(_0x241210){_0x35f6f0['push'](_0x35f6f0['shift']());}}}(_0x3ef1,0xd3e06));export*from'./user';function _0x5e29(_0x34fb10,_0x111f5a){var _0x3ef1b5=_0x3ef1();return _0x5e29=function(_0x5e2919,_0x2a30d6){_0x5e2919=_0x5e2919-0x1a8;var _0x1f5e1f=_0x3ef1b5[_0x5e2919];return _0x1f5e1f;},_0x5e29(_0x34fb10,_0x111f5a);}export*from'./group';function _0x3ef1(){var _0x415137=['15reHGfc','5926468JCBZbg','164476BIKuew','298622scvtzF','11068088mKGfwz','11974886isoMKx','25MQFsYR','3139353RUGaJU','1177194uNjcNZ'];_0x3ef1=function(){return _0x415137;};return _0x3ef1();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.d.ts b/src/core.lib/src/entities/msg.d.ts deleted file mode 100644 index 50e6215d..00000000 --- a/src/core.lib/src/entities/msg.d.ts +++ /dev/null @@ -1,456 +0,0 @@ -import { GroupMemberRole } from './group'; -export interface Peer { - chatType: ChatType; - peerUid: string; - guildId?: string; -} -export interface KickedOffLineInfo { - appId: number; - instanceId: number; - sameDevice: boolean; - tipsDesc: string; - tipsTitle: string; - kickedType: number; - securityKickedType: number; -} -export interface GetFileListParam { - sortType: number; - fileCount: number; - startIndex: number; - sortOrder: number; - showOnlinedocFolder: number; -} -export declare enum ElementType { - TEXT = 1, - PIC = 2, - FILE = 3, - PTT = 4, - VIDEO = 5, - FACE = 6, - REPLY = 7, - ARK = 10, - MFACE = 11, - MARKDOWN = 14 -} -export interface SendTextElement { - elementType: ElementType.TEXT; - elementId: string; - textElement: { - content: string; - atType: number; - atUid: string; - atTinyId: string; - atNtUid: string; - }; -} -export interface SendPttElement { - elementType: ElementType.PTT; - elementId: string; - pttElement: { - fileName: string; - filePath: string; - md5HexStr: string; - fileSize: number; - duration: number; - formatType: number; - voiceType: number; - voiceChangeType: number; - canConvert2Text: boolean; - waveAmplitudes: number[]; - fileSubId: string; - playState: number; - autoConvertText: number; - }; -} -export declare enum PicType { - gif = 2000, - jpg = 1000 -} -export declare enum PicSubType { - normal = 0,// 普通图片,大图 - face = 1 -} -export interface SendPicElement { - elementType: ElementType.PIC; - elementId: string; - picElement: { - md5HexStr: string; - fileSize: number | string; - picWidth: number; - picHeight: number; - fileName: string; - sourcePath: string; - original: boolean; - picType: PicType; - picSubType: PicSubType; - fileUuid: string; - fileSubId: string; - thumbFileSize: number; - summary: string; - }; -} -export interface SendReplyElement { - elementType: ElementType.REPLY; - elementId: string; - replyElement: { - replayMsgSeq: string; - replayMsgId: string; - senderUin: string; - senderUinStr: string; - }; -} -export interface SendFaceElement { - elementType: ElementType.FACE; - elementId: string; - faceElement: FaceElement; -} -export interface SendMarketFaceElement { - elementType: ElementType.MFACE; - marketFaceElement: MarketFaceElement; -} -export interface FileElement { - fileMd5?: string; - fileName: string; - filePath: string; - fileSize: string; - picHeight?: number; - picWidth?: number; - folderId?: string; - picThumbPath?: Map; - file10MMd5?: string; - fileSha?: string; - fileSha3?: string; - fileUuid?: string; - fileSubId?: string; - thumbFileSize?: number; - fileBizId?: number; -} -export interface SendFileElement { - elementType: ElementType.FILE; - elementId: string; - fileElement: FileElement; -} -export interface SendVideoElement { - elementType: ElementType.VIDEO; - elementId: string; - videoElement: VideoElement; -} -export interface SendArkElement { - elementType: ElementType.ARK; - elementId: string; - arkElement: ArkElement; -} -export interface SendMarkdownElement { - elementType: ElementType.MARKDOWN; - elementId: string; - markdownElement: MarkdownElement; -} -export type SendMessageElement = SendTextElement | SendPttElement | SendPicElement | SendReplyElement | SendFaceElement | SendMarketFaceElement | SendFileElement | SendVideoElement | SendArkElement | SendMarkdownElement; -export declare enum AtType { - notAt = 0, - atAll = 1, - atUser = 2 -} -export declare enum ChatType { - friend = 1, - group = 2, - chatDevice = 8,//移动设备? - temp = 100 -} -export declare enum ChatType2 { - KCHATTYPEADELIE = 42, - KCHATTYPEBUDDYNOTIFY = 5, - KCHATTYPEC2C = 1, - KCHATTYPECIRCLE = 113, - KCHATTYPEDATALINE = 8, - KCHATTYPEDATALINEMQQ = 134, - KCHATTYPEDISC = 3, - KCHATTYPEFAV = 41, - KCHATTYPEGAMEMESSAGE = 105, - KCHATTYPEGAMEMESSAGEFOLDER = 116, - KCHATTYPEGROUP = 2, - KCHATTYPEGROUPBLESS = 133, - KCHATTYPEGROUPGUILD = 9, - KCHATTYPEGROUPHELPER = 7, - KCHATTYPEGROUPNOTIFY = 6, - KCHATTYPEGUILD = 4, - KCHATTYPEGUILDMETA = 16, - KCHATTYPEMATCHFRIEND = 104, - KCHATTYPEMATCHFRIENDFOLDER = 109, - KCHATTYPENEARBY = 106, - KCHATTYPENEARBYASSISTANT = 107, - KCHATTYPENEARBYFOLDER = 110, - KCHATTYPENEARBYHELLOFOLDER = 112, - KCHATTYPENEARBYINTERACT = 108, - KCHATTYPEQQNOTIFY = 132, - KCHATTYPERELATEACCOUNT = 131, - KCHATTYPESERVICEASSISTANT = 118, - KCHATTYPESERVICEASSISTANTSUB = 201, - KCHATTYPESQUAREPUBLIC = 115, - KCHATTYPESUBSCRIBEFOLDER = 30, - KCHATTYPETEMPADDRESSBOOK = 111, - KCHATTYPETEMPBUSSINESSCRM = 102, - KCHATTYPETEMPC2CFROMGROUP = 100, - KCHATTYPETEMPC2CFROMUNKNOWN = 99, - KCHATTYPETEMPFRIENDVERIFY = 101, - KCHATTYPETEMPNEARBYPRO = 119, - KCHATTYPETEMPPUBLICACCOUNT = 103, - KCHATTYPETEMPWPA = 117, - KCHATTYPEUNKNOWN = 0, - KCHATTYPEWEIYUN = 40 -} -export interface PttElement { - canConvert2Text: boolean; - duration: number; - fileBizId: null; - fileId: number; - fileName: string; - filePath: string; - fileSize: string; - fileSubId: string; - fileUuid: string; - formatType: string; - invalidState: number; - md5HexStr: string; - playState: number; - progress: number; - text: string; - transferStatus: number; - translateStatus: number; - voiceChangeType: number; - voiceType: number; - waveAmplitudes: number[]; -} -export interface ArkElement { - bytesData: string; - linkInfo: null; - subElementType: null; -} -export declare const IMAGE_HTTP_HOST = "https://gchat.qpic.cn"; -export declare const IMAGE_HTTP_HOST_NT = "https://multimedia.nt.qq.com.cn"; -export interface PicElement { - picSubType?: number; - originImageUrl: string; - originImageMd5?: string; - sourcePath: string; - thumbPath: Map; - picWidth: number; - picHeight: number; - fileSize: number; - fileName: string; - fileUuid: string; - md5HexStr?: string; -} -export declare enum GrayTipElementSubType { - INVITE_NEW_MEMBER = 12, - MEMBER_NEW_TITLE = 17 -} -export interface GrayTipElement { - subElementType: GrayTipElementSubType; - revokeElement: { - operatorRole: string; - operatorUid: string; - operatorNick: string; - operatorRemark: string; - operatorMemRemark?: string; - wording: string; - }; - aioOpGrayTipElement: TipAioOpGrayTipElement; - groupElement: TipGroupElement; - xmlElement: { - content: string; - templId: string; - }; - jsonGrayTipElement: { - jsonStr: string; - }; -} -export declare enum FaceType { - normal = 1,// 小黄脸 - normal2 = 2,// 新小黄脸, 从faceIndex 222开始? - dice = 3 -} -export declare enum FaceIndex { - dice = 358, - RPS = 359 -} -export interface FaceElement { - faceIndex: number; - faceType: FaceType; - faceText?: string; - packId?: string; - stickerId?: string; - sourceType?: number; - stickerType?: number; - resultId?: string; - surpriseId?: string; - randomType?: number; -} -export interface MarketFaceElement { - emojiPackageId: number; - faceName: string; - emojiId: string; - key: string; -} -export interface VideoElement { - filePath: string; - fileName: string; - videoMd5?: string; - thumbMd5?: string; - fileTime?: number; - thumbSize?: number; - fileFormat?: number; - fileSize?: string; - thumbWidth?: number; - thumbHeight?: number; - busiType?: 0; - subBusiType?: 0; - thumbPath?: Map; - transferStatus?: 0; - progress?: 0; - invalidState?: 0; - fileUuid?: string; - fileSubId?: string; - fileBizId?: null; - originVideoMd5?: string; - import_rich_media_context?: null; - sourceVideoCodecFormat?: number; -} -export declare enum viedo_type { - VIDEO_FORMAT_AFS = 7, - VIDEO_FORMAT_AVI = 1, - VIDEO_FORMAT_MKV = 4, - VIDEO_FORMAT_MOD = 9, - VIDEO_FORMAT_MOV = 8, - VIDEO_FORMAT_MP4 = 2, - VIDEO_FORMAT_MTS = 11, - VIDEO_FORMAT_RM = 6, - VIDEO_FORMAT_RMVB = 5, - VIDEO_FORMAT_TS = 10, - VIDEO_FORMAT_WMV = 3 -} -export interface MarkdownElement { - content: string; -} -export interface InlineKeyboardElementRowButton { - id: string; - label: string; - visitedLabel: string; - style: 1; - type: 2; - clickLimit: 0; - unsupportTips: string; - data: string; - atBotShowChannelList: boolean; - permissionType: number; - specifyRoleIds: []; - specifyTinyids: []; - isReply: false; - anchor: 0; - enter: false; - subscribeDataTemplateIds: []; -} -export interface InlineKeyboardElement { - rows: [ - { - buttons: InlineKeyboardElementRowButton[]; - } - ]; -} -export interface TipAioOpGrayTipElement { - operateType: number; - peerUid: string; - fromGrpCodeOfTmpChat: string; -} -export declare enum TipGroupElementType { - memberIncrease = 1, - kicked = 3,// 被移出群 - ban = 8 -} -export interface TipGroupElement { - type: TipGroupElementType; - role: 0; - groupName: string; - memberUid: string; - memberNick: string; - memberRemark: string; - adminUid: string; - adminNick: string; - adminRemark: string; - createGroup: null; - memberAdd?: { - showType: 1; - otherAdd: null; - otherAddByOtherQRCode: null; - otherAddByYourQRCode: null; - youAddByOtherQRCode: null; - otherInviteOther: null; - otherInviteYou: null; - youInviteOther: null; - }; - shutUp?: { - curTime: string; - duration: string; - admin: { - uid: string; - card: string; - name: string; - role: GroupMemberRole; - }; - member: { - uid: string; - card: string; - name: string; - role: GroupMemberRole; - }; - }; -} -export interface MultiForwardMsgElement { - xmlContent: string; - resId: string; - fileName: string; -} -export interface RawMessage { - id?: number; - msgId: string; - msgTime: string; - msgSeq: string; - msgType: number; - subMsgType: number; - senderUid: string; - senderUin: string; - peerUid: string; - peerUin: string; - sendNickName: string; - sendMemberName?: string; - chatType: ChatType; - sendStatus?: number; - recallTime: string; - elements: { - elementId: string; - elementType: ElementType; - replyElement: { - senderUid: string; - sourceMsgIsIncPic: boolean; - sourceMsgText: string; - replayMsgSeq: string; - }; - textElement: { - atType: AtType; - atUid: string; - content: string; - atNtUid: string; - }; - picElement: PicElement; - pttElement: PttElement; - arkElement: ArkElement; - grayTipElement: GrayTipElement; - faceElement: FaceElement; - videoElement: VideoElement; - fileElement: FileElement; - marketFaceElement: MarketFaceElement; - inlineKeyboardElement: InlineKeyboardElement; - markdownElement: MarkdownElement; - multiForwardMsgElement: MultiForwardMsgElement; - }[]; -} diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js deleted file mode 100644 index b55af520..00000000 --- a/src/core.lib/src/entities/msg.js +++ /dev/null @@ -1 +0,0 @@ -var _0x2b4124=_0x33d9;(function(_0x5d8bb3,_0x6a68f9){var _0x14dc8d=_0x33d9,_0x26fb16=_0x5d8bb3();while(!![]){try{var _0x348131=parseInt(_0x14dc8d(0xfe))/0x1*(-parseInt(_0x14dc8d(0xcc))/0x2)+-parseInt(_0x14dc8d(0xc5))/0x3*(parseInt(_0x14dc8d(0x133))/0x4)+parseInt(_0x14dc8d(0x12e))/0x5*(-parseInt(_0x14dc8d(0x12f))/0x6)+parseInt(_0x14dc8d(0x135))/0x7+-parseInt(_0x14dc8d(0x108))/0x8+-parseInt(_0x14dc8d(0x12b))/0x9*(-parseInt(_0x14dc8d(0xdf))/0xa)+parseInt(_0x14dc8d(0x111))/0xb;if(_0x348131===_0x6a68f9)break;else _0x26fb16['push'](_0x26fb16['shift']());}catch(_0x4b18aa){_0x26fb16['push'](_0x26fb16['shift']());}}}(_0x46a2,0x955d3));export var ElementType;(function(_0x3d0b5d){var _0xfdb2cd=_0x33d9,_0x139a49={'NzRyQ':_0xfdb2cd(0x149),'bshLA':'PIC','FwHgP':_0xfdb2cd(0x12d),'upwmi':_0xfdb2cd(0xc2),'PbIVE':_0xfdb2cd(0x103),'ggeXk':_0xfdb2cd(0x106),'ffNcK':_0xfdb2cd(0xe9),'NCLlX':_0xfdb2cd(0x13e),'AreNP':'MFACE','FGPpD':_0xfdb2cd(0xb7)};_0x3d0b5d[_0x3d0b5d[_0xfdb2cd(0x149)]=0x1]=_0x139a49[_0xfdb2cd(0x136)],_0x3d0b5d[_0x3d0b5d[_0x139a49['bshLA']]=0x2]=_0x139a49['bshLA'],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x138)]]=0x3]=_0x139a49[_0xfdb2cd(0x138)],_0x3d0b5d[_0x3d0b5d[_0xfdb2cd(0xc2)]=0x4]=_0x139a49[_0xfdb2cd(0x140)],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x131)]]=0x5]=_0x139a49['PbIVE'],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xc7)]]=0x6]=_0x139a49[_0xfdb2cd(0xc7)],_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x125)]]=0x7]='REPLY',_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xde)]]=0xa]='ARK',_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0xb8)]]=0xb]=_0xfdb2cd(0x10a),_0x3d0b5d[_0x3d0b5d[_0x139a49[_0xfdb2cd(0x117)]]=0xe]=_0x139a49['FGPpD'];}(ElementType||(ElementType={})));export var PicType;(function(_0x572371){var _0x1bcfb1=_0x33d9,_0x2ee3dd={'nuYVN':_0x1bcfb1(0xee),'YgyEH':_0x1bcfb1(0x10d)};_0x572371[_0x572371[_0x2ee3dd[_0x1bcfb1(0xeb)]]=0x7d0]=_0x1bcfb1(0xee),_0x572371[_0x572371[_0x2ee3dd[_0x1bcfb1(0x11a)]]=0x3e8]=_0x1bcfb1(0x10d);}(PicType||(PicType={})));export var PicSubType;(function(_0x5afcc5){var _0x544584=_0x33d9,_0x1378e7={'LyqKr':_0x544584(0xf5),'qHDUB':'face'};_0x5afcc5[_0x5afcc5[_0x1378e7[_0x544584(0x128)]]=0x0]=_0x544584(0xf5),_0x5afcc5[_0x5afcc5[_0x1378e7[_0x544584(0x113)]]=0x1]=_0x1378e7['qHDUB'];}(PicSubType||(PicSubType={})));export var AtType;function _0x46a2(){var _0x23643c=['KCHATTYPECIRCLE','https://multimedia.nt.qq.com.cn','buhQn','Kkivp','KCHATTYPEMATCHFRIENDFOLDER','TEXT','xYFnB','gkQbJ','RAqWW','notAt','KCHATTYPESUBSCRIBEFOLDER','MARKDOWN','AreNP','KCHATTYPEGAMEMESSAGEFOLDER','gcmfO','kXiKI','KCHATTYPEGROUPHELPER','kuHIp','LhnDa','jQVpU','KCHATTYPEGUILD','BBAiQ','PTT','lNthX','KCHATTYPEBUDDYNOTIFY','10089kLElxV','KCHATTYPETEMPNEARBYPRO','ggeXk','KCHATTYPEGROUPNOTIFY','quVwN','KCHATTYPENEARBYFOLDER','kicked','2glpvre','KCHATTYPETEMPFRIENDVERIFY','TVvTz','VIDEO_FORMAT_AVI','VIDEO_FORMAT_WMV','VIDEO_FORMAT_MKV','nyFBS','rksRp','friend','VIDEO_FORMAT_RM','KCHATTYPETEMPADDRESSBOOK','KCHATTYPETEMPBUSSINESSCRM','dNaOa','JwBOY','atAll','KCHATTYPEFAV','INVITE_NEW_MEMBER','Eqedh','NCLlX','10990830nONAkS','KCHATTYPEGROUPBLESS','KCHATTYPEDISC','KCHATTYPEC2C','DZKWf','IMAhj','atUser','KCHATTYPEGROUP','uGFlL','KCHATTYPEQQNOTIFY','REPLY','KCHATTYPETEMPC2CFROMGROUP','nuYVN','RVXeq','memberIncrease','gif','KCHATTYPEGUILDMETA','dice','nKRnI','trEMZ','ban','KCHATTYPEWEIYUN','normal','bQtiS','ankTU','VIDEO_FORMAT_TS','xNxrz','RPS','IXRvH','KCHATTYPEUNKNOWN','group','696359XPonKD','ZopEf','VQiib','eeSmV','MYBTf','VIDEO','HsDfe','KCHATTYPEGAMEMESSAGE','FACE','KCHATTYPENEARBY','5711680uagcWA','VIDEO_FORMAT_RMVB','MFACE','XxTRx','KCHATTYPEGROUPGUILD','jpg','LDGoD','jFfmj','JmAuP','13122747UxVIpr','VIDEO_FORMAT_MP4','qHDUB','mNbZU','YfHcq','UGOfJ','FGPpD','iNrDN','Prrty','YgyEH','zzrPZ','MEMBER_NEW_TITLE','pgqlq','dTCTD','KCHATTYPEDATALINE','wRWhK','RbrWU','wEEmM','KCHATTYPESQUAREPUBLIC','https://gchat.qpic.cn','ffNcK','eooBD','lLntf','LyqKr','GIjlK','KCHATTYPEDATALINEMQQ','9WHkSQr','waawe','FILE','2067415mArUdC','12nILJfs','KbYeM','PbIVE','chatDevice','28skEfHQ','KCHATTYPEADELIE','4063927jxNojp','NzRyQ','TnKpL','FwHgP','KCHATTYPESERVICEASSISTANTSUB','dIVxX','KCHATTYPETEMPPUBLICACCOUNT','ztaNM','JuxWZ','ARK','UTuLf','upwmi','VIDEO_FORMAT_MOV','KCHATTYPERELATEACCOUNT','KCHATTYPENEARBYASSISTANT'];_0x46a2=function(){return _0x23643c;};return _0x46a2();}(function(_0x1f1839){var _0x59c4ec=_0x33d9,_0x569b3f={'wDlUb':_0x59c4ec(0x14d),'waawe':_0x59c4ec(0xda),'gcmfO':_0x59c4ec(0xe5)};_0x1f1839[_0x1f1839[_0x569b3f['wDlUb']]=0x0]=_0x569b3f['wDlUb'],_0x1f1839[_0x1f1839[_0x59c4ec(0xda)]=0x1]=_0x569b3f[_0x59c4ec(0x12c)],_0x1f1839[_0x1f1839[_0x569b3f[_0x59c4ec(0xba)]]=0x2]=_0x569b3f[_0x59c4ec(0xba)];}(AtType||(AtType={})));export var ChatType;(function(_0x41a766){var _0x359582=_0x33d9,_0x1ba923={'dNaOa':_0x359582(0xd4),'YfHcq':_0x359582(0x132),'UGOfJ':'temp'};_0x41a766[_0x41a766[_0x1ba923[_0x359582(0xd8)]]=0x1]=_0x1ba923[_0x359582(0xd8)],_0x41a766[_0x41a766[_0x359582(0xfd)]=0x2]=_0x359582(0xfd),_0x41a766[_0x41a766[_0x1ba923[_0x359582(0x115)]]=0x8]=_0x1ba923[_0x359582(0x115)],_0x41a766[_0x41a766[_0x1ba923[_0x359582(0x116)]]=0x64]=_0x1ba923[_0x359582(0x116)];}(ChatType||(ChatType={})));function _0x33d9(_0x2d8ce6,_0x5142b4){var _0x46a28c=_0x46a2();return _0x33d9=function(_0x33d9df,_0x12d7a3){_0x33d9df=_0x33d9df-0xb7;var _0x3c73df=_0x46a28c[_0x33d9df];return _0x3c73df;},_0x33d9(_0x2d8ce6,_0x5142b4);}export var ChatType2;(function(_0x538fcb){var _0x110cd0=_0x33d9,_0x3818c5={'LjAvI':_0x110cd0(0x134),'VQiib':_0x110cd0(0xc4),'JwBOY':_0x110cd0(0xe2),'DZKWf':_0x110cd0(0x144),'RbrWU':_0x110cd0(0x11f),'RVXeq':_0x110cd0(0x12a),'xYFnB':_0x110cd0(0xe1),'bQtiS':'KCHATTYPEFAV','ZopEf':_0x110cd0(0x105),'TnKpL':_0x110cd0(0xb9),'quVwN':_0x110cd0(0xe6),'BBAiQ':'KCHATTYPEGROUPBLESS','bXtgN':_0x110cd0(0x10c),'LhnDa':_0x110cd0(0xbc),'LbURJ':_0x110cd0(0xc8),'dTCTD':_0x110cd0(0xc0),'xNxrz':_0x110cd0(0xef),'trEMZ':'KCHATTYPEMATCHFRIEND','ankTU':_0x110cd0(0x148),'eeSmV':_0x110cd0(0x107),'Kkivp':'KCHATTYPENEARBYASSISTANT','gkQbJ':'KCHATTYPENEARBYFOLDER','rksRp':'KCHATTYPENEARBYHELLOFOLDER','wEEmM':'KCHATTYPENEARBYINTERACT','IMAhj':_0x110cd0(0xe8),'pgqlq':_0x110cd0(0x142),'UTuLf':'KCHATTYPESERVICEASSISTANT','Jppab':'KCHATTYPESERVICEASSISTANTSUB','Bnrvj':_0x110cd0(0x123),'wrjBs':_0x110cd0(0x14e),'Prrty':_0x110cd0(0xd6),'eooBD':_0x110cd0(0xd7),'nyFBS':_0x110cd0(0xea),'Eqedh':'KCHATTYPETEMPC2CFROMUNKNOWN','HsDfe':_0x110cd0(0xcd),'wRWhK':'KCHATTYPETEMPNEARBYPRO','JuxWZ':_0x110cd0(0x13b),'MYBTf':'KCHATTYPETEMPWPA','TVvTz':_0x110cd0(0xfc),'ztaNM':_0x110cd0(0xf4)};_0x538fcb[_0x538fcb[_0x3818c5['LjAvI']]=0x2a]=_0x110cd0(0x134),_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x100)]]=0x5]=_0x3818c5[_0x110cd0(0x100)],_0x538fcb[_0x538fcb[_0x3818c5['JwBOY']]=0x1]=_0x3818c5[_0x110cd0(0xd9)],_0x538fcb[_0x538fcb[_0x110cd0(0x144)]=0x71]=_0x3818c5[_0x110cd0(0xe3)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x121)]]=0x8]=_0x3818c5['RbrWU'],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xec)]]=0x86]=_0x3818c5[_0x110cd0(0xec)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x14a)]]=0x3]='KCHATTYPEDISC',_0x538fcb[_0x538fcb[_0x110cd0(0xdb)]=0x29]=_0x3818c5[_0x110cd0(0xf6)],_0x538fcb[_0x538fcb[_0x3818c5['ZopEf']]=0x69]=_0x3818c5[_0x110cd0(0xff)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x137)]]=0x74]=_0x110cd0(0xb9),_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xc9)]]=0x2]=_0x3818c5[_0x110cd0(0xc9)],_0x538fcb[_0x538fcb[_0x110cd0(0xe0)]=0x85]=_0x3818c5[_0x110cd0(0xc1)],_0x538fcb[_0x538fcb[_0x3818c5['bXtgN']]=0x9]='KCHATTYPEGROUPGUILD',_0x538fcb[_0x538fcb['KCHATTYPEGROUPHELPER']=0x7]=_0x3818c5[_0x110cd0(0xbe)],_0x538fcb[_0x538fcb[_0x110cd0(0xc8)]=0x6]=_0x3818c5['LbURJ'],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x11e)]]=0x4]=_0x3818c5['dTCTD'],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xf9)]]=0x10]=_0x3818c5[_0x110cd0(0xf9)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xf2)]]=0x68]=_0x3818c5[_0x110cd0(0xf2)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xf7)]]=0x6d]=_0x3818c5[_0x110cd0(0xf7)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x101)]]=0x6a]=_0x110cd0(0x107),_0x538fcb[_0x538fcb[_0x110cd0(0x143)]=0x6b]=_0x3818c5[_0x110cd0(0x147)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x14b)]]=0x6e]=_0x110cd0(0xca),_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xd3)]]=0x70]=_0x3818c5[_0x110cd0(0xd3)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x122)]]=0x6c]=_0x3818c5['wEEmM'],_0x538fcb[_0x538fcb[_0x3818c5['IMAhj']]=0x84]=_0x3818c5[_0x110cd0(0xe4)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x11d)]]=0x83]=_0x3818c5[_0x110cd0(0x11d)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x13f)]]=0x76]=_0x3818c5[_0x110cd0(0x13f)],_0x538fcb[_0x538fcb[_0x3818c5['Jppab']]=0xc9]=_0x110cd0(0x139),_0x538fcb[_0x538fcb[_0x3818c5['Bnrvj']]=0x73]=_0x110cd0(0x123),_0x538fcb[_0x538fcb[_0x3818c5['wrjBs']]=0x1e]='KCHATTYPESUBSCRIBEFOLDER',_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x119)]]=0x6f]=_0x3818c5[_0x110cd0(0x119)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x126)]]=0x66]=_0x3818c5['eooBD'],_0x538fcb[_0x538fcb[_0x3818c5['nyFBS']]=0x64]=_0x3818c5[_0x110cd0(0xd2)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xdd)]]=0x63]=_0x3818c5['Eqedh'],_0x538fcb[_0x538fcb[_0x110cd0(0xcd)]=0x65]=_0x3818c5[_0x110cd0(0x104)],_0x538fcb[_0x538fcb[_0x110cd0(0xc6)]=0x77]=_0x3818c5[_0x110cd0(0x120)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x13d)]]=0x67]=_0x3818c5[_0x110cd0(0x13d)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x102)]]=0x75]=_0x3818c5[_0x110cd0(0x102)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0xce)]]=0x0]=_0x3818c5[_0x110cd0(0xce)],_0x538fcb[_0x538fcb[_0x3818c5[_0x110cd0(0x13c)]]=0x28]=_0x110cd0(0xf4);}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x2b4124(0x124);export const IMAGE_HTTP_HOST_NT=_0x2b4124(0x145);export var GrayTipElementSubType;(function(_0x5d6e97){var _0x4c4226=_0x2b4124,_0x368c23={'IXRvH':_0x4c4226(0xdc),'kXiKI':_0x4c4226(0x11c)};_0x5d6e97[_0x5d6e97[_0x4c4226(0xdc)]=0xc]=_0x368c23[_0x4c4226(0xfb)],_0x5d6e97[_0x5d6e97[_0x368c23[_0x4c4226(0xbb)]]=0x11]=_0x368c23['kXiKI'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x221aba){var _0x20520b=_0x2b4124,_0x1bc557={'RAqWW':'normal','LDGoD':'normal2','JmAuP':_0x20520b(0xf0)};_0x221aba[_0x221aba[_0x20520b(0xf5)]=0x1]=_0x1bc557[_0x20520b(0x14c)],_0x221aba[_0x221aba[_0x1bc557[_0x20520b(0x10e)]]=0x2]=_0x1bc557[_0x20520b(0x10e)],_0x221aba[_0x221aba[_0x1bc557[_0x20520b(0x110)]]=0x3]=_0x20520b(0xf0);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xf6e718){var _0x4f2a72=_0x2b4124,_0x383f79={'dIVxX':_0x4f2a72(0xf0),'nKRnI':_0x4f2a72(0xfa)};_0xf6e718[_0xf6e718[_0x383f79['dIVxX']]=0x166]=_0x383f79[_0x4f2a72(0x13a)],_0xf6e718[_0xf6e718['RPS']=0x167]=_0x383f79[_0x4f2a72(0xf1)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x4b8740){var _0x2b19f5=_0x2b4124,_0x2bfb57={'kuHIp':'VIDEO_FORMAT_AFS','mNbZU':'VIDEO_FORMAT_AVI','zzrPZ':_0x2b19f5(0xd1),'iNrDN':'VIDEO_FORMAT_MOD','lLntf':_0x2b19f5(0x141),'lNthX':_0x2b19f5(0x112),'KbYeM':_0x2b19f5(0xd5),'XxTRx':'VIDEO_FORMAT_RMVB','buhQn':'VIDEO_FORMAT_TS','GIjlK':'VIDEO_FORMAT_WMV'};_0x4b8740[_0x4b8740[_0x2bfb57['kuHIp']]=0x7]=_0x2bfb57[_0x2b19f5(0xbd)],_0x4b8740[_0x4b8740[_0x2bfb57[_0x2b19f5(0x114)]]=0x1]=_0x2b19f5(0xcf),_0x4b8740[_0x4b8740[_0x2bfb57[_0x2b19f5(0x11b)]]=0x4]=_0x2bfb57[_0x2b19f5(0x11b)],_0x4b8740[_0x4b8740[_0x2bfb57['iNrDN']]=0x9]=_0x2bfb57[_0x2b19f5(0x118)],_0x4b8740[_0x4b8740[_0x2bfb57['lLntf']]=0x8]=_0x2bfb57[_0x2b19f5(0x127)],_0x4b8740[_0x4b8740[_0x2bfb57['lNthX']]=0x2]=_0x2bfb57[_0x2b19f5(0xc3)],_0x4b8740[_0x4b8740['VIDEO_FORMAT_MTS']=0xb]='VIDEO_FORMAT_MTS',_0x4b8740[_0x4b8740[_0x2bfb57[_0x2b19f5(0x130)]]=0x6]=_0x2bfb57[_0x2b19f5(0x130)],_0x4b8740[_0x4b8740[_0x2bfb57[_0x2b19f5(0x10b)]]=0x5]=_0x2b19f5(0x109),_0x4b8740[_0x4b8740[_0x2b19f5(0xf8)]=0xa]=_0x2bfb57[_0x2b19f5(0x146)],_0x4b8740[_0x4b8740[_0x2b19f5(0xd0)]=0x3]=_0x2bfb57[_0x2b19f5(0x129)];}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x407bd0){var _0x9ff7d0=_0x2b4124,_0x2f25bd={'jFfmj':_0x9ff7d0(0xed),'jQVpU':_0x9ff7d0(0xcb),'uGFlL':_0x9ff7d0(0xf3)};_0x407bd0[_0x407bd0[_0x2f25bd[_0x9ff7d0(0x10f)]]=0x1]=_0x2f25bd[_0x9ff7d0(0x10f)],_0x407bd0[_0x407bd0[_0x2f25bd[_0x9ff7d0(0xbf)]]=0x3]=_0x2f25bd['jQVpU'],_0x407bd0[_0x407bd0[_0x2f25bd[_0x9ff7d0(0xe7)]]=0x8]=_0x2f25bd[_0x9ff7d0(0xe7)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.d.ts b/src/core.lib/src/entities/notify.d.ts deleted file mode 100644 index 7ecbcca0..00000000 --- a/src/core.lib/src/entities/notify.d.ts +++ /dev/null @@ -1,123 +0,0 @@ -export declare enum GroupNotifyTypes { - INVITE_ME = 1, - INVITED_JOIN = 4,// 有人接受了邀请入群 - JOIN_REQUEST = 7, - ADMIN_SET = 8, - KICK_MEMBER = 9, - MEMBER_EXIT = 11,// 主动退出 - ADMIN_UNSET = 12, - ADMIN_UNSET_OTHER = 13 -} -export interface GroupNotifies { - doubt: boolean; - nextStartSeq: string; - notifies: GroupNotify[]; -} -export declare enum GroupNotifyStatus { - IGNORE = 0, - WAIT_HANDLE = 1, - APPROVE = 2, - REJECT = 3 -} -export interface GroupNotify { - time: number; - seq: string; - type: GroupNotifyTypes; - status: GroupNotifyStatus; - group: { - groupCode: string; - groupName: string; - }; - user1: { - uid: string; - nickName: string; - }; - user2: { - uid: string; - nickName: string; - }; - actionUser: { - uid: string; - nickName: string; - }; - actionTime: string; - invitationExt: { - srcType: number; - groupCode: string; - waitStatus: number; - }; - postscript: string; - repeatSeqs: []; - warningTips: string; -} -export declare enum GroupRequestOperateTypes { - approve = 1, - reject = 2 -} -export declare enum BuddyReqType { - KMEINITIATOR = 0, - KPEERINITIATOR = 1, - KMEAGREED = 2, - KMEAGREEDANDADDED = 3, - KPEERAGREED = 4, - KPEERAGREEDANDADDED = 5, - KPEERREFUSED = 6, - KMEREFUSED = 7, - KMEIGNORED = 8, - KMEAGREEANYONE = 9, - KMESETQUESTION = 10, - KMEAGREEANDADDFAILED = 11, - KMSGINFO = 12, - KMEINITIATORWAITPEERCONFIRM = 13 -} -export interface FriendRequest { - isDecide: boolean; - friendUid: string; - reqType: BuddyReqType; - reqTime: string; - extWords: string; - isUnread: boolean; - friendNick: string; - sourceId: number; - groupCode: string; -} -export interface FriendRequestNotify { - unreadNums: number; - buddyReqs: FriendRequest[]; -} -export declare enum MemberExtSourceType { - DEFAULTTYPE = 0, - TITLETYPE = 1, - NEWGROUPTYPE = 2 -} -export interface GroupExtParam { - groupCode: string; - seq: string; - beginUin: string; - dataTime: string; - uinList: Array; - uinNum: string; - groupType: string; - richCardNameVer: string; - sourceType: MemberExtSourceType; - memberExtFilter: { - memberLevelInfoUin: number; - memberLevelInfoPoint: number; - memberLevelInfoActiveDay: number; - memberLevelInfoLevel: number; - memberLevelInfoName: number; - levelName: number; - dataTime: number; - userShowFlag: number; - sysShowFlag: number; - timeToUpdate: number; - nickName: number; - specialTitle: number; - levelNameNew: number; - userShowFlagNew: number; - msgNeedField: number; - cmdUinFlagExt3Grocery: number; - memberIcon: number; - memberInfoSeq: number; - }; -} diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js deleted file mode 100644 index 2ced1a63..00000000 --- a/src/core.lib/src/entities/notify.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x5ed57b,_0x5c022c){var _0x31af0a=_0x2a24,_0x3d5160=_0x5ed57b();while(!![]){try{var _0x32b97d=-parseInt(_0x31af0a(0xa5))/0x1+parseInt(_0x31af0a(0x8c))/0x2*(-parseInt(_0x31af0a(0xa0))/0x3)+-parseInt(_0x31af0a(0xa1))/0x4*(parseInt(_0x31af0a(0x76))/0x5)+-parseInt(_0x31af0a(0x71))/0x6+parseInt(_0x31af0a(0x77))/0x7*(-parseInt(_0x31af0a(0xa7))/0x8)+-parseInt(_0x31af0a(0x89))/0x9*(parseInt(_0x31af0a(0x7a))/0xa)+parseInt(_0x31af0a(0x99))/0xb;if(_0x32b97d===_0x5c022c)break;else _0x3d5160['push'](_0x3d5160['shift']());}catch(_0x3c6b78){_0x3d5160['push'](_0x3d5160['shift']());}}}(_0x5f07,0xb694a));export var GroupNotifyTypes;(function(_0x28dc60){var _0x22d773=_0x2a24,_0xbe7849={'Fbcmx':_0x22d773(0x97),'iiJhv':_0x22d773(0x84),'KrJpp':_0x22d773(0x75),'OXMNr':_0x22d773(0x9b),'dDQBs':_0x22d773(0x9e),'CnVtM':_0x22d773(0x78),'BahZj':'MEMBER_EXIT'},_0x4ca97=_0x22d773(0x9f)[_0x22d773(0x81)]('|'),_0x37bcae=0x0;while(!![]){switch(_0x4ca97[_0x37bcae++]){case'0':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa3)]]=0x1]=_0x22d773(0x97);continue;case'1':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x86)]]=0x4]=_0xbe7849[_0x22d773(0x86)];continue;case'2':_0x28dc60[_0x28dc60[_0x22d773(0x82)]=0x8]=_0x22d773(0x82);continue;case'3':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa4)]]=0x9]=_0xbe7849[_0x22d773(0xa4)];continue;case'4':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x96)]]=0xd]=_0xbe7849[_0x22d773(0x96)];continue;case'5':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x8d)]]=0x7]=_0xbe7849[_0x22d773(0x8d)];continue;case'6':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0xa2)]]=0xc]=_0xbe7849[_0x22d773(0xa2)];continue;case'7':_0x28dc60[_0x28dc60[_0xbe7849[_0x22d773(0x88)]]=0xb]=_0xbe7849['BahZj'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2a24(_0x17c26c,_0x4a1805){var _0x5f0754=_0x5f07();return _0x2a24=function(_0x2a240b,_0x396e74){_0x2a240b=_0x2a240b-0x70;var _0x2f3749=_0x5f0754[_0x2a240b];return _0x2f3749;},_0x2a24(_0x17c26c,_0x4a1805);}(function(_0x3663ac){var _0x40595c=_0x2a24,_0x58bea1={'GJzzw':_0x40595c(0x98),'IaIlS':_0x40595c(0x9d),'LAqfb':'APPROVE','GwTnm':'REJECT'};_0x3663ac[_0x3663ac[_0x58bea1['GJzzw']]=0x0]=_0x58bea1['GJzzw'],_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x91)]]=0x1]=_0x40595c(0x9d),_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x73)]]=0x2]=_0x58bea1['LAqfb'],_0x3663ac[_0x3663ac[_0x58bea1[_0x40595c(0x87)]]=0x3]=_0x58bea1['GwTnm'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4eab3b){var _0x2cafb0=_0x2a24,_0x377963={'XscdQ':'approve','aGEOt':'reject'};_0x4eab3b[_0x4eab3b[_0x377963['XscdQ']]=0x1]=_0x377963[_0x2cafb0(0x9c)],_0x4eab3b[_0x4eab3b[_0x377963[_0x2cafb0(0x8e)]]=0x2]=_0x2cafb0(0x7e);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x3b6184){var _0x13ad5d=_0x2a24,_0xa7eca7={'VCIvi':_0x13ad5d(0x94),'lrmct':'KPEERINITIATOR','uIqdS':_0x13ad5d(0x85),'BjpkG':'KMEAGREEDANDADDED','HwPgO':'KPEERAGREED','iXONk':_0x13ad5d(0x95),'jgwqa':_0x13ad5d(0x7c),'TCwkY':'KMEIGNORED','RopfY':_0x13ad5d(0x70),'oqwMc':_0x13ad5d(0x72),'Sjhsw':'KMEAGREEANDADDFAILED','UrcIa':_0x13ad5d(0x93)};_0x3b6184[_0x3b6184[_0x13ad5d(0x94)]=0x0]=_0xa7eca7['VCIvi'],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x79)]]=0x1]=_0xa7eca7[_0x13ad5d(0x79)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x9a)]]=0x2]='KMEAGREED',_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x80)]]=0x3]=_0xa7eca7[_0x13ad5d(0x80)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x83)]]=0x4]=_0x13ad5d(0xa6),_0x3b6184[_0x3b6184[_0x13ad5d(0x95)]=0x5]=_0xa7eca7[_0x13ad5d(0xa8)],_0x3b6184[_0x3b6184[_0x13ad5d(0x7f)]=0x6]='KPEERREFUSED',_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x7b)]]=0x7]=_0xa7eca7[_0x13ad5d(0x7b)],_0x3b6184[_0x3b6184[_0xa7eca7[_0x13ad5d(0x8b)]]=0x8]='KMEIGNORED',_0x3b6184[_0x3b6184[_0x13ad5d(0x70)]=0x9]=_0xa7eca7['RopfY'],_0x3b6184[_0x3b6184[_0xa7eca7['oqwMc']]=0xa]=_0xa7eca7[_0x13ad5d(0x90)],_0x3b6184[_0x3b6184[_0xa7eca7['Sjhsw']]=0xb]='KMEAGREEANDADDFAILED',_0x3b6184[_0x3b6184['KMSGINFO']=0xc]='KMSGINFO',_0x3b6184[_0x3b6184[_0xa7eca7['UrcIa']]=0xd]=_0x13ad5d(0x93);}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x43c960){var _0x518be8=_0x2a24,_0x120f2d={'hmgCM':_0x518be8(0x8a),'ACqet':'TITLETYPE','heExo':_0x518be8(0x8f)};_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x74)]]=0x0]=_0x120f2d['hmgCM'],_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x7d)]]=0x1]=_0x120f2d['ACqet'],_0x43c960[_0x43c960[_0x120f2d[_0x518be8(0x92)]]=0x2]=_0x518be8(0x8f);}(MemberExtSourceType||(MemberExtSourceType={})));function _0x5f07(){var _0x5b44a6=['split','ADMIN_SET','HwPgO','INVITED_JOIN','KMEAGREED','iiJhv','GwTnm','BahZj','18OvJofY','DEFAULTTYPE','TCwkY','3302BApBgs','dDQBs','aGEOt','NEWGROUPTYPE','oqwMc','IaIlS','heExo','KMEINITIATORWAITPEERCONFIRM','KMEINITIATOR','KPEERAGREEDANDADDED','OXMNr','INVITE_ME','IGNORE','52130441IhysDN','uIqdS','ADMIN_UNSET_OTHER','XscdQ','WAIT_HANDLE','JOIN_REQUEST','0|1|5|2|3|7|6|4','978YKkRqU','164TflJSm','CnVtM','Fbcmx','KrJpp','144019QAWKqC','KPEERAGREED','920kfbwXj','iXONk','KMEAGREEANYONE','5116674bmNEhb','KMESETQUESTION','LAqfb','hmgCM','KICK_MEMBER','62455AwvhCl','44632rBgZZw','ADMIN_UNSET','lrmct','6054430qvAIbh','jgwqa','KMEREFUSED','ACqet','reject','KPEERREFUSED','BjpkG'];_0x5f07=function(){return _0x5b44a6;};return _0x5f07();} \ No newline at end of file diff --git a/src/core.lib/src/entities/user.d.ts b/src/core.lib/src/entities/user.d.ts deleted file mode 100644 index 1c134c05..00000000 --- a/src/core.lib/src/entities/user.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -export declare enum Sex { - male = 1, - female = 2, - unknown = 255 -} -export interface BuddyCategoryType { - categoryId: number; - categroyName: string; - categroyMbCount: number; - buddyList: User[]; -} -export interface ModifyProfileParams { - nick: string; - longNick: string; - sex: Sex; - birthday: { - birthday_year: string; - birthday_month: string; - birthday_day: string; - }; - location: any; -} -export interface BuddyProfileLikeReq { - friendUids: string[]; - basic: number; - vote: number; - favorite: number; - userProfile: number; - type: number; - start: number; - limit: number; -} -export interface QQLevel { - crownNum: number; - sunNum: number; - moonNum: number; - starNum: number; -} -export interface User { - uid: string; - uin: string; - nick: string; - avatarUrl?: string; - longNick?: string; - remark?: string; - sex?: Sex; - qqLevel?: QQLevel; - qid?: string; - birthday_year?: number; - birthday_month?: number; - birthday_day?: number; - topTime?: string; - constellation?: number; - shengXiao?: number; - kBloodType?: number; - homeTown?: string; - makeFriendCareer?: number; - pos?: string; - eMail?: string; - phoneNum?: string; - college?: string; - country?: string; - province?: string; - city?: string; - postCode?: string; - address?: string; - isBlock?: boolean; - isSpecialCareOpen?: boolean; - isSpecialCareZone?: boolean; - ringId?: string; - regTime?: number; - interest?: string; - labels?: string[]; - isHideQQLevel?: number; - privilegeIcon?: { - jumpUrl: string; - openIconList: unknown[]; - closeIconList: unknown[]; - }; - photoWall?: { - picList: unknown[]; - }; - vipFlag?: boolean; - yearVipFlag?: boolean; - svipFlag?: boolean; - vipLevel?: number; - status?: number; - qidianMasterFlag?: number; - qidianCrewFlag?: number; - qidianCrewFlag2?: number; - extStatus?: number; - recommendImgFlag?: number; - disableEmojiShortCuts?: number; - pendantId?: string; -} -export interface SelfInfo extends User { - online?: boolean; -} -export interface Friend extends User { -} -export declare enum BizKey { - KPRIVILEGEICON = 0, - KPHOTOWALL = 1 -} -export interface UserDetailInfoByUin { - result: number; - errMsg: string; - info: { - uid: string; - qid: string; - uin: string; - nick: string; - remark: string; - longNick: string; - avatarUrl: string; - birthday_year: number; - birthday_month: number; - birthday_day: number; - sex: number; - topTime: string; - constellation: number; - shengXiao: number; - kBloodType: number; - homeTown: string; - makeFriendCareer: number; - pos: string; - eMail: string; - phoneNum: string; - college: string; - country: string; - province: string; - city: string; - postCode: string; - address: string; - isBlock: boolean; - isSpecialCareOpen: boolean; - isSpecialCareZone: boolean; - ringId: string; - regTime: number; - interest: string; - termType: number; - labels: any[]; - qqLevel: { - crownNum: number; - sunNum: number; - moonNum: number; - starNum: number; - }; - isHideQQLevel: number; - privilegeIcon: { - jumpUrl: string; - openIconList: any[]; - closeIconList: any[]; - }; - isHidePrivilegeIcon: number; - photoWall: { - picList: any[]; - }; - vipFlag: boolean; - yearVipFlag: boolean; - svipFlag: boolean; - vipLevel: number; - status: number; - qidianMasterFlag: number; - qidianCrewFlag: number; - qidianCrewFlag2: number; - extStatus: number; - recommendImgFlag: number; - disableEmojiShortCuts: number; - pendantId: string; - vipNameColorId: string; - }; -} diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js deleted file mode 100644 index 3ea10941..00000000 --- a/src/core.lib/src/entities/user.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x2ad236,_0x523bb1){var _0x35a774=_0x31b7,_0x7b95b9=_0x2ad236();while(!![]){try{var _0x2b7715=-parseInt(_0x35a774(0x77))/0x1+-parseInt(_0x35a774(0x7d))/0x2+parseInt(_0x35a774(0x76))/0x3+-parseInt(_0x35a774(0x70))/0x4*(parseInt(_0x35a774(0x6d))/0x5)+parseInt(_0x35a774(0x7e))/0x6*(parseInt(_0x35a774(0x73))/0x7)+-parseInt(_0x35a774(0x7a))/0x8*(parseInt(_0x35a774(0x75))/0x9)+parseInt(_0x35a774(0x79))/0xa;if(_0x2b7715===_0x523bb1)break;else _0x7b95b9['push'](_0x7b95b9['shift']());}catch(_0x1ddedb){_0x7b95b9['push'](_0x7b95b9['shift']());}}}(_0x9e23,0xe78a6));export var Sex;function _0x31b7(_0x372cbd,_0x5760f9){var _0x9e2377=_0x9e23();return _0x31b7=function(_0x31b7cd,_0x10c400){_0x31b7cd=_0x31b7cd-0x6d;var _0xd3f03b=_0x9e2377[_0x31b7cd];return _0xd3f03b;},_0x31b7(_0x372cbd,_0x5760f9);}function _0x9e23(){var _0x51e118=['unknown','KPRIVILEGEICON','2918174aGauyu','6zcNeCl','4330fDopaP','male','KPHOTOWALL','5552fqQruL','ttoLX','OJYRw','1021769tOiowa','XuQqc','5483763cpVLNm','4526643LHcOsg','597381wvijvm','female','31613250ArPQwe','8MKTdyT'];_0x9e23=function(){return _0x51e118;};return _0x9e23();}(function(_0xb5ba63){var _0x5c6018=_0x31b7,_0x1303ee={'ttoLX':_0x5c6018(0x6e),'qMeDK':_0x5c6018(0x78)};_0xb5ba63[_0xb5ba63[_0x5c6018(0x6e)]=0x1]=_0x1303ee[_0x5c6018(0x71)],_0xb5ba63[_0xb5ba63[_0x5c6018(0x78)]=0x2]=_0x1303ee['qMeDK'],_0xb5ba63[_0xb5ba63[_0x5c6018(0x7b)]=0xff]=_0x5c6018(0x7b);}(Sex||(Sex={})));export var BizKey;(function(_0x3146e7){var _0x44c4b0=_0x31b7,_0x105698={'XuQqc':_0x44c4b0(0x7c),'OJYRw':_0x44c4b0(0x6f)};_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x74)]]=0x0]=_0x105698[_0x44c4b0(0x74)],_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x72)]]=0x1]=_0x105698[_0x44c4b0(0x72)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.d.ts b/src/core.lib/src/index.d.ts deleted file mode 100644 index d9ac99d7..00000000 --- a/src/core.lib/src/index.d.ts +++ /dev/null @@ -1,15 +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'; -export { napCatCore } from './core'; diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js deleted file mode 100644 index 10a7cccd..00000000 --- a/src/core.lib/src/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x5af152,_0x20bb14){var _0x4f14d7=_0xf2a8,_0x445300=_0x5af152();while(!![]){try{var _0x4e3ed7=-parseInt(_0x4f14d7(0x1a5))/0x1+parseInt(_0x4f14d7(0x1a7))/0x2+parseInt(_0x4f14d7(0x1a9))/0x3+parseInt(_0x4f14d7(0x1aa))/0x4+-parseInt(_0x4f14d7(0x1a2))/0x5+parseInt(_0x4f14d7(0x1a6))/0x6*(parseInt(_0x4f14d7(0x1a3))/0x7)+parseInt(_0x4f14d7(0x1a4))/0x8*(-parseInt(_0x4f14d7(0x1a8))/0x9);if(_0x4e3ed7===_0x20bb14)break;else _0x445300['push'](_0x445300['shift']());}catch(_0x5c22d5){_0x445300['push'](_0x445300['shift']());}}}(_0x10a7,0xb4f7d));import _0x337b77 from'./wrapper';export*from'./adapters';function _0x10a7(){var _0x33f79d=['48536fFhOXj','995880ZHWpPi','7760808pkfOZy','1669236CooyeT','2817FWyPHc','4303887FbbkWd','1288312tIeUyJ','1243485oCJKHJ','7WPUQZL'];_0x10a7=function(){return _0x33f79d;};return _0x10a7();}export*from'./apis';export*from'./entities';export*from'./listeners';function _0xf2a8(_0xd39da8,_0x23751c){var _0x10a72f=_0x10a7();return _0xf2a8=function(_0xf2a8f9,_0x467bf1){_0xf2a8f9=_0xf2a8f9-0x1a2;var _0x1720ce=_0x10a72f[_0xf2a8f9];return _0x1720ce;},_0xf2a8(_0xd39da8,_0x23751c);}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{_0x337b77 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts b/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts deleted file mode 100644 index 769246b9..00000000 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { BuddyCategoryType, FriendRequestNotify } from '@/core/entities'; -export type OnBuddyChangeParams = BuddyCategoryType[]; -interface IBuddyListener { - onBuddyListChange(arg: OnBuddyChangeParams): void; - onBuddyInfoChange(arg: unknown): void; - onBuddyDetailInfoChange(arg: unknown): void; - onNickUpdated(arg: unknown): void; - onBuddyRemarkUpdated(arg: unknown): void; - onAvatarUrlUpdated(arg: unknown): void; - onBuddyReqChange(arg: FriendRequestNotify): void; - onBuddyReqUnreadCntChange(arg: unknown): void; - onCheckBuddySettingResult(arg: unknown): void; - onAddBuddyNeedVerify(arg: unknown): void; - onSmartInfos(arg: unknown): void; - onSpacePermissionInfos(arg: unknown): void; - onDoubtBuddyReqChange(arg: unknown): void; - onDoubtBuddyReqUnreadNumChange(arg: unknown): void; - onBlockChanged(arg: unknown): void; - onAddMeSettingChanged(arg: unknown): void; - onDelBatchBuddyInfos(arg: unknown): void; -} -export interface NodeIKernelBuddyListener extends IBuddyListener { - new (listener: IBuddyListener): NodeIKernelBuddyListener; -} -export declare class BuddyListener implements IBuddyListener { - onAddBuddyNeedVerify(arg: unknown): void; - onAddMeSettingChanged(arg: unknown): void; - onAvatarUrlUpdated(arg: unknown): void; - onBlockChanged(arg: unknown): void; - onBuddyDetailInfoChange(arg: unknown): void; - onBuddyInfoChange(arg: unknown): void; - onBuddyListChange(arg: OnBuddyChangeParams): void; - onBuddyRemarkUpdated(arg: unknown): void; - onBuddyReqChange(arg: FriendRequestNotify): void; - onBuddyReqUnreadCntChange(arg: unknown): void; - onCheckBuddySettingResult(arg: unknown): void; - onDelBatchBuddyInfos(arg: unknown): void; - onDoubtBuddyReqChange(arg: unknown): void; - onDoubtBuddyReqUnreadNumChange(arg: unknown): void; - onNickUpdated(arg: unknown): void; - onSmartInfos(arg: unknown): void; - onSpacePermissionInfos(arg: unknown): void; -} -export {}; diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js deleted file mode 100644 index d83edc40..00000000 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x107aa6=_0x2d03;(function(_0x22ad02,_0x252c02){var _0x45abab=_0x2d03,_0x26d42b=_0x22ad02();while(!![]){try{var _0xe276d0=parseInt(_0x45abab(0xd9))/0x1+parseInt(_0x45abab(0xdf))/0x2*(-parseInt(_0x45abab(0xcf))/0x3)+parseInt(_0x45abab(0xe0))/0x4*(parseInt(_0x45abab(0xda))/0x5)+-parseInt(_0x45abab(0xca))/0x6+-parseInt(_0x45abab(0xd1))/0x7+parseInt(_0x45abab(0xcb))/0x8*(parseInt(_0x45abab(0xde))/0x9)+parseInt(_0x45abab(0xdb))/0xa*(-parseInt(_0x45abab(0xd8))/0xb);if(_0xe276d0===_0x252c02)break;else _0x26d42b['push'](_0x26d42b['shift']());}catch(_0x300382){_0x26d42b['push'](_0x26d42b['shift']());}}}(_0x53ad,0x94074));function _0x53ad(){var _0x75046a=['onAvatarUrlUpdated','onCheckBuddySettingResult','289289adWegU','1105343ozkxOM','49890KnZwvs','160SdqUAK','onDoubtBuddyReqUnreadNumChange','onBlockChanged','225gvMUlx','340ZUYLFi','404kaNAJq','onAddBuddyNeedVerify','onSmartInfos','3367584OvYUbT','230320TFMGvA','onBuddyInfoChange','onBuddyListChange','onDelBatchBuddyInfos','6297OQsuvJ','onBuddyDetailInfoChange','6213683gugWEu','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','onAddMeSettingChanged','onBuddyRemarkUpdated'];_0x53ad=function(){return _0x75046a;};return _0x53ad();}function _0x2d03(_0x157afb,_0x42391b){var _0x53ad11=_0x53ad();return _0x2d03=function(_0x2d0353,_0x53d295){_0x2d0353=_0x2d0353-0xc8;var _0x3cb7ca=_0x53ad11[_0x2d0353];return _0x3cb7ca;},_0x2d03(_0x157afb,_0x42391b);}export class BuddyListener{[_0x107aa6(0xc8)](_0x2faa93){}[_0x107aa6(0xd4)](_0x4f1203){}[_0x107aa6(0xd6)](_0x33ec2c){}[_0x107aa6(0xdd)](_0x28eedc){}[_0x107aa6(0xd0)](_0x4bd80a){}[_0x107aa6(0xcc)](_0x208a90){}[_0x107aa6(0xcd)](_0x576300){}[_0x107aa6(0xd5)](_0xc6042d){}['onBuddyReqChange'](_0x2ca07d){}[_0x107aa6(0xd3)](_0x564725){}[_0x107aa6(0xd7)](_0x385167){}[_0x107aa6(0xce)](_0x56204b){}[_0x107aa6(0xd2)](_0x3a5b2c){}[_0x107aa6(0xdc)](_0x34f373){}['onNickUpdated'](_0x58600d){}[_0x107aa6(0xc9)](_0x22e92b){}['onSpacePermissionInfos'](_0x47736e){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.d.ts b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.d.ts deleted file mode 100644 index 378741ed..00000000 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface IKernelFileAssistantListener { - onFileStatusChanged(...args: unknown[]): unknown; - onSessionListChanged(...args: unknown[]): unknown; - onSessionChanged(...args: unknown[]): unknown; - onFileListChanged(...args: unknown[]): unknown; - onFileSearch(...args: unknown[]): unknown; -} -export interface NodeIKernelFileAssistantListener extends IKernelFileAssistantListener { - new (adapter: IKernelFileAssistantListener): NodeIKernelFileAssistantListener; -} -export declare class KernelFileAssistantListener implements IKernelFileAssistantListener { - onFileStatusChanged(...args: unknown[]): void; - onSessionListChanged(...args: unknown[]): void; - onSessionChanged(...args: unknown[]): void; - onFileListChanged(...args: unknown[]): void; - onFileSearch(...args: unknown[]): void; -} diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js deleted file mode 100644 index ccd713ab..00000000 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x2b0a0e=_0x1ba2;(function(_0x16eea2,_0x56b860){var _0x13c856=_0x1ba2,_0x2a129b=_0x16eea2();while(!![]){try{var _0x18ebd3=-parseInt(_0x13c856(0x15b))/0x1+-parseInt(_0x13c856(0x157))/0x2+parseInt(_0x13c856(0x159))/0x3+parseInt(_0x13c856(0x15a))/0x4+-parseInt(_0x13c856(0x151))/0x5+-parseInt(_0x13c856(0x153))/0x6+parseInt(_0x13c856(0x152))/0x7;if(_0x18ebd3===_0x56b860)break;else _0x2a129b['push'](_0x2a129b['shift']());}catch(_0x1c25f4){_0x2a129b['push'](_0x2a129b['shift']());}}}(_0x97e9,0x42abc));function _0x1ba2(_0x354d26,_0x450338){var _0x97e96=_0x97e9();return _0x1ba2=function(_0x1ba28b,_0x2ecb57){_0x1ba28b=_0x1ba28b-0x151;var _0x1a9947=_0x97e96[_0x1ba28b];return _0x1a9947;},_0x1ba2(_0x354d26,_0x450338);}function _0x97e9(){var _0x4e5b34=['2470536tQomJZ','onFileStatusChanged','onFileListChanged','onFileSearch','995036rfvKmN','onSessionChanged','952677SelAEP','627444ZnVpXp','384233NAHnNk','1563420tDjDDc','9833985cmiiDY'];_0x97e9=function(){return _0x4e5b34;};return _0x97e9();}export class KernelFileAssistantListener{[_0x2b0a0e(0x154)](..._0x3c6b87){}['onSessionListChanged'](..._0x56d38f){}[_0x2b0a0e(0x158)](..._0x54b94c){}[_0x2b0a0e(0x155)](..._0x155e18){}[_0x2b0a0e(0x156)](..._0x4ca2e9){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts b/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts deleted file mode 100644 index 9a27b73b..00000000 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { Group, GroupMember, GroupNotify } from '@/core/entities'; -interface IGroupListener { - onGroupListUpdate(updateType: number, groupList: Group[]): void; - onGroupExtListUpdate(...args: unknown[]): void; - onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void; - onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void; - onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; - onGroupDetailInfoChange(...args: unknown[]): void; - onGroupAllInfoChange(...args: unknown[]): void; - onGroupsMsgMaskResult(...args: unknown[]): void; - onGroupConfMemberChange(...args: unknown[]): void; - onGroupBulletinChange(...args: unknown[]): void; - onGetGroupBulletinListResult(...args: unknown[]): void; - onMemberListChange(arg: { - sceneId: string; - ids: string[]; - infos: Map; - finish: boolean; - hasRobot: boolean; - }): void; - onMemberInfoChange(groupCode: string, changeType: number, members: Map): void; - onSearchMemberChange(...args: unknown[]): void; - onGroupBulletinRichMediaDownloadComplete(...args: unknown[]): void; - onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void; - onGroupStatisticInfoChange(...args: unknown[]): void; - onJoinGroupNotify(...args: unknown[]): void; - onShutUpMemberListChanged(...args: unknown[]): void; - onGroupBulletinRemindNotify(...args: unknown[]): void; - onGroupFirstBulletinNotify(...args: unknown[]): void; - onJoinGroupNoVerifyFlag(...args: unknown[]): void; - onGroupArkInviteStateResult(...args: unknown[]): void; - onGroupMemberLevelInfoChange(...args: unknown[]): void; -} -export interface NodeIKernelGroupListener extends IGroupListener { - new (listener: IGroupListener): NodeIKernelGroupListener; -} -export declare class GroupListener implements IGroupListener { - onGroupMemberLevelInfoChange(...args: unknown[]): void; - onGetGroupBulletinListResult(...args: unknown[]): void; - onGroupAllInfoChange(...args: unknown[]): void; - onGroupBulletinChange(...args: unknown[]): void; - onGroupBulletinRemindNotify(...args: unknown[]): void; - onGroupArkInviteStateResult(...args: unknown[]): void; - onGroupBulletinRichMediaDownloadComplete(...args: unknown[]): void; - onGroupConfMemberChange(...args: unknown[]): void; - onGroupDetailInfoChange(...args: unknown[]): void; - onGroupExtListUpdate(...args: unknown[]): void; - onGroupFirstBulletinNotify(...args: unknown[]): void; - onGroupListUpdate(updateType: number, groupList: Group[]): void; - onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void; - onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void; - onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; - onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void; - onGroupsMsgMaskResult(...args: unknown[]): void; - onGroupStatisticInfoChange(...args: unknown[]): void; - onJoinGroupNotify(...args: unknown[]): void; - onJoinGroupNoVerifyFlag(...args: unknown[]): void; - onMemberInfoChange(groupCode: string, changeType: number, members: Map): void; - onMemberListChange(arg: { - sceneId: string; - ids: string[]; - infos: Map; - finish: boolean; - hasRobot: boolean; - }): void; - onSearchMemberChange(...args: unknown[]): void; - onShutUpMemberListChanged(...args: unknown[]): void; -} -export declare class DebugGroupListener implements IGroupListener { - onGroupMemberLevelInfoChange(...args: unknown[]): void; - onGetGroupBulletinListResult(...args: unknown[]): void; - onGroupAllInfoChange(...args: unknown[]): void; - onGroupBulletinChange(...args: unknown[]): void; - onGroupBulletinRemindNotify(...args: unknown[]): void; - onGroupArkInviteStateResult(...args: unknown[]): void; - onGroupBulletinRichMediaDownloadComplete(...args: unknown[]): void; - onGroupConfMemberChange(...args: unknown[]): void; - onGroupDetailInfoChange(...args: unknown[]): void; - onGroupExtListUpdate(...args: unknown[]): void; - onGroupFirstBulletinNotify(...args: unknown[]): void; - onGroupListUpdate(...args: unknown[]): void; - onGroupNotifiesUpdated(...args: unknown[]): void; - onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void; - onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void; - onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void; - onGroupsMsgMaskResult(...args: unknown[]): void; - onGroupStatisticInfoChange(...args: unknown[]): void; - onJoinGroupNotify(...args: unknown[]): void; - onJoinGroupNoVerifyFlag(...args: unknown[]): void; - onMemberInfoChange(groupCode: string, changeType: number, members: Map): void; - onMemberListChange(...args: unknown[]): void; - onSearchMemberChange(...args: unknown[]): void; - onShutUpMemberListChanged(...args: unknown[]): void; -} -export {}; diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js deleted file mode 100644 index 689c9cfc..00000000 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x576a2f=_0x1726;function _0x1726(_0x28ffe4,_0x40b0b0){var _0x32fe7d=_0x32fe();return _0x1726=function(_0x17261f,_0x4ca164){_0x17261f=_0x17261f-0xec;var _0x33b755=_0x32fe7d[_0x17261f];return _0x33b755;},_0x1726(_0x28ffe4,_0x40b0b0);}function _0x32fe(){var _0x403133=['onGroupListUpdate:','onMemberListChange','onGetGroupBulletinListResult:','onGroupBulletinRemindNotify','hWVyx','onGroupConfMemberChange','XxQZt','FYaNu','MVYyG','onGroupDetailInfoChange','onJoinGroupNoVerifyFlag','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete','MTgWZ','zCTvp','onGroupStatisticInfoChange','onGroupArkInviteStateResult','735582eHAZfL','onGroupExtListUpdate:','onGroupAllInfoChange:','48955GPKcsC','onMemberInfoChange:','cvyha','jsGRD','GfMHe','lAUqF','OYOAB','onGroupDetailInfoChange:','onGroupNotifiesUnreadCountUpdated','onGroupAllInfoChange','663705lgzsgj','onMemberInfoChange','onGroupBulletinRichMediaProgressUpdate:','55TbJIOa','onGroupNotifiesUpdated','onJoinGroupNotify','ZPhMt','onGroupListUpdate','9RrLNVj','onGroupNotifiesUpdated:','onGroupExtListUpdate','onGroupSingleScreenNotifies:','onGroupNotifiesUnreadCountUpdated:','onGroupSingleScreenNotifies','Pyooq','geppH','PnwJW','onGroupMemberLevelInfoChange:','14083920nRstoi','onGroupMemberLevelInfoChange','onGetGroupBulletinListResult','onSearchMemberChange','604zXkXEp','514ImGJLd','onJoinGroupNotify:','onShutUpMemberListChanged:','9798SlWMiv','log','onShutUpMemberListChanged','onGroupsMsgMaskResult:','10287408leSkJE','2848968ftvtcX','YbVLZ','77MRExES','onGroupFirstBulletinNotify'];_0x32fe=function(){return _0x403133;};return _0x32fe();}(function(_0x1726c2,_0x27be96){var _0x253e31=_0x1726,_0x4b6ea9=_0x1726c2();while(!![]){try{var _0x129d81=-parseInt(_0x253e31(0x10d))/0x1+-parseInt(_0x253e31(0x124))/0x2*(parseInt(_0x253e31(0x127))/0x3)+-parseInt(_0x253e31(0x123))/0x4*(parseInt(_0x253e31(0x103))/0x5)+-parseInt(_0x253e31(0x100))/0x6*(-parseInt(_0x253e31(0x12e))/0x7)+parseInt(_0x253e31(0x12c))/0x8*(-parseInt(_0x253e31(0x115))/0x9)+-parseInt(_0x253e31(0x11f))/0xa+parseInt(_0x253e31(0x110))/0xb*(parseInt(_0x253e31(0x12b))/0xc);if(_0x129d81===_0x27be96)break;else _0x4b6ea9['push'](_0x4b6ea9['shift']());}catch(_0x34513d){_0x4b6ea9['push'](_0x4b6ea9['shift']());}}}(_0x32fe,0xd9086));export class GroupListener{[_0x576a2f(0x120)](..._0x551c92){}['onGetGroupBulletinListResult'](..._0x4a7324){}[_0x576a2f(0x10c)](..._0x3f4694){}['onGroupBulletinChange'](..._0x15e637){}[_0x576a2f(0xf0)](..._0x1ab7ea){}[_0x576a2f(0xff)](..._0x5f56c6){}[_0x576a2f(0xfb)](..._0x45fb76){}[_0x576a2f(0xf2)](..._0x12afc4){}[_0x576a2f(0xf6)](..._0x13a8d0){}['onGroupExtListUpdate'](..._0x4e1e66){}[_0x576a2f(0xec)](..._0x582999){}[_0x576a2f(0x114)](_0x4627c9,_0x3523c1){}[_0x576a2f(0x111)](_0x4f1ad6,_0x5d0a80){}[_0x576a2f(0xfa)](..._0x450777){}[_0x576a2f(0x10b)](..._0x66037b){}['onGroupSingleScreenNotifies'](_0x4a54f6,_0x157724,_0x146b3d){}[_0x576a2f(0xf8)](..._0x3d1483){}[_0x576a2f(0xfe)](..._0x30dab7){}[_0x576a2f(0x112)](..._0x116841){}[_0x576a2f(0xf7)](..._0x1a8c40){}[_0x576a2f(0x10e)](_0x51a842,_0x12041f,_0x286031){}[_0x576a2f(0xee)](_0x24bec0){}['onSearchMemberChange'](..._0xe0018a){}[_0x576a2f(0x129)](..._0x4530ec){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5199b2){var _0x1ef57e=_0x576a2f,_0x1ba10a={'MVYyG':_0x1ef57e(0x11e)};console[_0x1ef57e(0x128)](_0x1ba10a[_0x1ef57e(0xf5)],..._0x5199b2);}[_0x576a2f(0x121)](..._0x5f3f02){var _0x26b0ac=_0x576a2f,_0x57959f={'MTgWZ':_0x26b0ac(0xef)};console[_0x26b0ac(0x128)](_0x57959f[_0x26b0ac(0xfc)],..._0x5f3f02);}[_0x576a2f(0x10c)](..._0x22f5e5){var _0x2d54a8=_0x576a2f,_0x17c63e={'CYJBK':_0x2d54a8(0x102)};console[_0x2d54a8(0x128)](_0x17c63e['CYJBK'],..._0x22f5e5);}['onGroupBulletinChange'](..._0x1e8edc){console['log']('onGroupBulletinChange:',..._0x1e8edc);}[_0x576a2f(0xf0)](..._0x203655){var _0x27fd07=_0x576a2f,_0x24eb6d={'HyyOX':'onGroupBulletinRemindNotify:'};console[_0x27fd07(0x128)](_0x24eb6d['HyyOX'],..._0x203655);}[_0x576a2f(0xff)](..._0x3e4791){var _0x33fbd=_0x576a2f,_0x5a39eb={'cvyha':'onGroupArkInviteStateResult:'};console[_0x33fbd(0x128)](_0x5a39eb[_0x33fbd(0x105)],..._0x3e4791);}[_0x576a2f(0xfb)](..._0x28a2df){var _0x1f6348=_0x576a2f,_0x279b86={'lAUqF':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x1f6348(0x128)](_0x279b86[_0x1f6348(0x108)],..._0x28a2df);}[_0x576a2f(0xf2)](..._0x21148d){var _0x4b27dd=_0x576a2f,_0x265430={'jsGRD':'onGroupConfMemberChange:'};console[_0x4b27dd(0x128)](_0x265430[_0x4b27dd(0x106)],..._0x21148d);}[_0x576a2f(0xf6)](..._0x18dca4){var _0x111b8f=_0x576a2f;console[_0x111b8f(0x128)](_0x111b8f(0x10a),..._0x18dca4);}[_0x576a2f(0x117)](..._0x500b46){var _0x57dcfb=_0x576a2f,_0x14d5ae={'XxQZt':_0x57dcfb(0x101)};console[_0x57dcfb(0x128)](_0x14d5ae[_0x57dcfb(0xf3)],..._0x500b46);}['onGroupFirstBulletinNotify'](..._0x1fdb19){var _0x41295d=_0x576a2f,_0x493b60={'ZPhMt':_0x41295d(0xf9)};console['log'](_0x493b60[_0x41295d(0x113)],..._0x1fdb19);}[_0x576a2f(0x114)](..._0x39d187){var _0x10dc1e=_0x576a2f,_0x12b18b={'geppH':_0x10dc1e(0xed)};console[_0x10dc1e(0x128)](_0x12b18b[_0x10dc1e(0x11c)],..._0x39d187);}[_0x576a2f(0x111)](..._0x479cce){var _0x208a42=_0x576a2f,_0xcfd582={'aPkHb':_0x208a42(0x116)};console[_0x208a42(0x128)](_0xcfd582['aPkHb'],..._0x479cce);}[_0x576a2f(0xfa)](..._0x2181ee){var _0x3b56de=_0x576a2f;console[_0x3b56de(0x128)](_0x3b56de(0x10f),..._0x2181ee);}[_0x576a2f(0x10b)](..._0x1c0e5d){var _0x50cbd1=_0x576a2f,_0x1e0cd7={'PnwJW':_0x50cbd1(0x119)};console[_0x50cbd1(0x128)](_0x1e0cd7[_0x50cbd1(0x11d)],..._0x1c0e5d);}[_0x576a2f(0x11a)](_0x89da24,_0x11c978,_0x4212d3){var _0x5f42fb=_0x576a2f,_0x42ab51={'YbVLZ':_0x5f42fb(0x118)};console[_0x5f42fb(0x128)](_0x42ab51[_0x5f42fb(0x12d)]);}[_0x576a2f(0xf8)](..._0x582b6e){var _0x1396b6=_0x576a2f,_0x149ac8={'hWVyx':_0x1396b6(0x12a)};console[_0x1396b6(0x128)](_0x149ac8[_0x1396b6(0xf1)],..._0x582b6e);}['onGroupStatisticInfoChange'](..._0xc2989d){var _0x2a4ef9=_0x576a2f,_0x442eb2={'Pyooq':'onGroupStatisticInfoChange:'};console['log'](_0x442eb2[_0x2a4ef9(0x11b)],..._0xc2989d);}['onJoinGroupNotify'](..._0x17a0b8){var _0x300837=_0x576a2f,_0x57ffce={'zCTvp':_0x300837(0x125)};console['log'](_0x57ffce[_0x300837(0xfd)],..._0x17a0b8);}[_0x576a2f(0xf7)](..._0x3ce9f3){var _0x10b56f=_0x576a2f;console[_0x10b56f(0x128)]('onJoinGroupNoVerifyFlag:',..._0x3ce9f3);}[_0x576a2f(0x10e)](_0x4a9413,_0x31732e,_0x4c78e5){var _0x5be410=_0x576a2f;console['log'](_0x5be410(0x104),_0x4a9413,_0x31732e,_0x4c78e5);}[_0x576a2f(0xee)](..._0x1f16ba){var _0x1987ed=_0x576a2f,_0x57d498={'GfMHe':'onMemberListChange:'};console['log'](_0x57d498[_0x1987ed(0x107)],..._0x1f16ba);}[_0x576a2f(0x122)](..._0x37d5a8){var _0x1a710a=_0x576a2f,_0x4845e7={'FYaNu':'onSearchMemberChange:'};console[_0x1a710a(0x128)](_0x4845e7[_0x1a710a(0xf4)],..._0x37d5a8);}[_0x576a2f(0x129)](..._0xc5057d){var _0x5b5c67=_0x576a2f,_0x1c55b0={'OYOAB':_0x5b5c67(0x126)};console['log'](_0x1c55b0[_0x5b5c67(0x109)],..._0xc5057d);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.d.ts b/src/core.lib/src/listeners/NodeIKernelLoginListener.d.ts deleted file mode 100644 index 1e3c3581..00000000 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -export interface IKernelLoginListener { - onLoginConnected(...args: any[]): void; - onLoginDisConnected(...args: any[]): void; - onLoginConnecting(...args: any[]): void; - onQRCodeGetPicture(...args: any[]): void; - onQRCodeLoginPollingStarted(...args: any[]): void; - onQRCodeSessionUserScaned(...args: any[]): void; - onQRCodeLoginSucceed(...args: any[]): void; - onQRCodeSessionFailed(...args: any[]): void; - onLoginFailed(...args: any[]): void; - onLogoutSucceed(...args: any[]): void; - onLogoutFailed(...args: any[]): void; - onUserLoggedIn(...args: any[]): void; - onQRCodeSessionQuickLoginFailed(...args: any[]): void; - onPasswordLoginFailed(...args: any[]): void; - OnConfirmUnusualDeviceFailed(...args: any[]): void; - onQQLoginNumLimited(...args: any[]): void; - onLoginState(...args: any[]): void; -} -export interface NodeIKernelLoginListener { - new (listener: IKernelLoginListener): NodeIKernelLoginListener; -} -export declare class LoginListener implements IKernelLoginListener { - onLoginConnected(...args: any[]): void; - onLoginDisConnected(...args: any[]): void; - onLoginConnecting(...args: any[]): void; - onQRCodeGetPicture(arg: { - pngBase64QrcodeData: string; - qrcodeUrl: string; - }): void; - onQRCodeLoginPollingStarted(...args: any[]): void; - onQRCodeSessionUserScaned(...args: any[]): void; - onQRCodeLoginSucceed(arg: QRCodeLoginSucceedResult): void; - onQRCodeSessionFailed(...args: any[]): void; - onLoginFailed(...args: any[]): void; - onLogoutSucceed(...args: any[]): void; - onLogoutFailed(...args: any[]): void; - onUserLoggedIn(...args: any[]): void; - onQRCodeSessionQuickLoginFailed(...args: any[]): void; - onPasswordLoginFailed(...args: any[]): void; - OnConfirmUnusualDeviceFailed(...args: any[]): void; - onQQLoginNumLimited(...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; -} diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js deleted file mode 100644 index 5b666e15..00000000 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x2978c1=_0x5793;function _0x5793(_0x4b2c3f,_0x599e27){var _0x35733f=_0x3573();return _0x5793=function(_0x579356,_0x415045){_0x579356=_0x579356-0x15a;var _0x23b902=_0x35733f[_0x579356];return _0x23b902;},_0x5793(_0x4b2c3f,_0x599e27);}(function(_0x597623,_0x1f5e19){var _0x38f7cf=_0x5793,_0x2deb1a=_0x597623();while(!![]){try{var _0x1ae1dd=parseInt(_0x38f7cf(0x16e))/0x1*(parseInt(_0x38f7cf(0x170))/0x2)+-parseInt(_0x38f7cf(0x15c))/0x3*(parseInt(_0x38f7cf(0x15b))/0x4)+-parseInt(_0x38f7cf(0x166))/0x5*(parseInt(_0x38f7cf(0x15d))/0x6)+-parseInt(_0x38f7cf(0x163))/0x7*(-parseInt(_0x38f7cf(0x16d))/0x8)+-parseInt(_0x38f7cf(0x160))/0x9*(parseInt(_0x38f7cf(0x15f))/0xa)+parseInt(_0x38f7cf(0x16b))/0xb+parseInt(_0x38f7cf(0x171))/0xc;if(_0x1ae1dd===_0x1f5e19)break;else _0x2deb1a['push'](_0x2deb1a['shift']());}catch(_0x4719e5){_0x2deb1a['push'](_0x2deb1a['shift']());}}}(_0x3573,0xc74d5));export class LoginListener{[_0x2978c1(0x162)](..._0x50ef81){}[_0x2978c1(0x172)](..._0x54eb07){}['onLoginConnecting'](..._0x268338){}[_0x2978c1(0x16f)](_0x27a01b){}[_0x2978c1(0x169)](..._0x7c7cee){}[_0x2978c1(0x164)](..._0x2c1559){}[_0x2978c1(0x16c)](_0x44f486){}[_0x2978c1(0x15e)](..._0x463cc2){}[_0x2978c1(0x16a)](..._0x3e0632){}['onLogoutSucceed'](..._0x1202b2){}[_0x2978c1(0x15a)](..._0x14b02c){}[_0x2978c1(0x168)](..._0x753133){}['onQRCodeSessionQuickLoginFailed'](..._0x302243){}[_0x2978c1(0x165)](..._0x5a275d){}['OnConfirmUnusualDeviceFailed'](..._0x57f847){}[_0x2978c1(0x161)](..._0x4c6c5b){}[_0x2978c1(0x167)](..._0x5c99d4){}}function _0x3573(){var _0x541bab=['641756vWpPuq','27QRpfxh','4554294AJdrXy','onQRCodeSessionFailed','1683040QeQDYP','18uxMnUT','onQQLoginNumLimited','onLoginConnected','7Bfxlpi','onQRCodeSessionUserScaned','onPasswordLoginFailed','5iOnJLf','onLoginState','onUserLoggedIn','onQRCodeLoginPollingStarted','onLoginFailed','8695973xmynjD','onQRCodeLoginSucceed','10443632LgwlFv','753087wbUXvN','onQRCodeGetPicture','2jFpefG','6082380lxfpfy','onLoginDisConnected','onLogoutFailed'];_0x3573=function(){return _0x541bab;};return _0x3573();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts b/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts deleted file mode 100644 index ed547a13..00000000 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -import { ChatType, RawMessage } from '@/core/entities'; -export interface OnRichMediaDownloadCompleteParams { - fileModelId: string; - msgElementId: string; - msgId: string; - fileId: string; - fileProgress: string; - fileSpeed: string; - fileErrCode: string; - fileErrMsg: string; - fileDownType: number; - thumbSize: number; - filePath: string; - totalSize: string; - trasferStatus: number; - step: number; - commonFileInfo: unknown | null; - fileSrvErrCode: string; - clientMsg: string; - businessId: number; - userTotalSpacePerDay: unknown | null; - userUsedSpacePerDay: unknown | null; -} -export interface onGroupFileInfoUpdateParamType { - retCode: number; - retMsg: string; - clientWording: string; - isEnd: boolean; - item: Array; - allFileCount: string; - nextIndex: string; - reqId: string; -} -export interface TempOnRecvParams { - sessionType: number; - chatType: ChatType; - peerUid: string; - groupCode: string; - fromNick: string; - sig: string; -} -export interface IKernelMsgListener { - onAddSendMsg(msgRecord: RawMessage): void; - onBroadcastHelperDownloadComplete(broadcastHelperTransNotifyInfo: unknown): void; - onBroadcastHelperProgressUpdate(broadcastHelperTransNotifyInfo: unknown): void; - onChannelFreqLimitInfoUpdate(contact: unknown, z: unknown, freqLimitInfo: unknown): void; - onContactUnreadCntUpdate(hashMap: unknown): void; - onCustomWithdrawConfigUpdate(customWithdrawConfig: unknown): void; - onDraftUpdate(contact: unknown, arrayList: unknown, j2: unknown): void; - onEmojiDownloadComplete(emojiNotifyInfo: unknown): void; - onEmojiResourceUpdate(emojiResourceInfo: unknown): void; - onFeedEventUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onFileMsgCome(arrayList: unknown): void; - onFirstViewDirectMsgUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onFirstViewGroupGuildMapping(arrayList: unknown): void; - onGrabPasswordRedBag(i2: unknown, str: unknown, i3: unknown, recvdOrder: unknown, msgRecord: unknown): void; - onGroupFileInfoAdd(groupItem: unknown): void; - onGroupFileInfoUpdate(groupFileListResult: onGroupFileInfoUpdateParamType): void; - onGroupGuildUpdate(groupGuildNotifyInfo: unknown): void; - onGroupTransferInfoAdd(groupItem: unknown): void; - onGroupTransferInfoUpdate(groupFileListResult: unknown): void; - onGuildInteractiveUpdate(guildInteractiveNotificationItem: unknown): void; - onGuildMsgAbFlagChanged(guildMsgAbFlag: unknown): void; - onGuildNotificationAbstractUpdate(guildNotificationAbstractInfo: unknown): void; - onHitCsRelatedEmojiResult(downloadRelateEmojiResultInfo: unknown): void; - onHitEmojiKeywordResult(hitRelatedEmojiWordsResult: unknown): void; - onHitRelatedEmojiResult(relatedWordEmojiInfo: unknown): void; - onImportOldDbProgressUpdate(importOldDbMsgNotifyInfo: unknown): void; - onInputStatusPush(inputStatusInfo: unknown): void; - onKickedOffLine(kickedInfo: unknown): void; - onLineDev(arrayList: unknown): void; - onLogLevelChanged(j2: unknown): void; - onMsgAbstractUpdate(arrayList: unknown): void; - onMsgBoxChanged(arrayList: unknown): void; - onMsgDelete(contact: unknown, arrayList: unknown): void; - onMsgEventListUpdate(hashMap: unknown): void; - onMsgInfoListAdd(arrayList: unknown): void; - onMsgInfoListUpdate(msgList: RawMessage[]): void; - onMsgQRCodeStatusChanged(i2: unknown): void; - onMsgRecall(i2: unknown, str: unknown, j2: unknown): void; - onMsgSecurityNotify(msgRecord: unknown): void; - onMsgSettingUpdate(msgSetting: unknown): void; - onNtFirstViewMsgSyncEnd(): void; - onNtMsgSyncEnd(): void; - onNtMsgSyncStart(): void; - onReadFeedEventUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onRecvGroupGuildFlag(i2: unknown): void; - onRecvMsg(...arrayList: unknown[]): void; - onRecvMsgSvrRspTransInfo(j2: unknown, contact: unknown, i2: unknown, i3: unknown, str: unknown, bArr: unknown): void; - onRecvOnlineFileMsg(arrayList: unknown): void; - onRecvS2CMsg(arrayList: unknown): void; - onRecvSysMsg(arrayList: unknown): void; - onRecvUDCFlag(i2: unknown): void; - onRichMediaDownloadComplete(fileTransNotifyInfo: OnRichMediaDownloadCompleteParams): void; - onRichMediaProgerssUpdate(fileTransNotifyInfo: unknown): void; - onRichMediaUploadComplete(fileTransNotifyInfo: unknown): void; - onSearchGroupFileInfoUpdate(searchGroupFileResult: unknown): void; - onSendMsgError(j2: unknown, contact: unknown, i2: unknown, str: unknown): void; - onSysMsgNotification(i2: unknown, j2: unknown, j3: unknown, arrayList: unknown): void; - onTempChatInfoUpdate(tempChatInfo: TempOnRecvParams): void; - onUnreadCntAfterFirstView(hashMap: unknown): void; - onUnreadCntUpdate(hashMap: unknown): void; - onUserChannelTabStatusChanged(z: unknown): void; - onUserOnlineStatusChanged(z: unknown): void; - onUserTabStatusChanged(arrayList: unknown): void; - onlineStatusBigIconDownloadPush(i2: unknown, j2: unknown, str: unknown): void; - onlineStatusSmallIconDownloadPush(i2: unknown, j2: unknown, str: unknown): void; - onUserSecQualityChanged(...args: unknown[]): void; - onMsgWithRichLinkInfoUpdate(...args: unknown[]): void; - onRedTouchChanged(...args: unknown[]): void; - onBroadcastHelperProgerssUpdate(...args: unknown[]): void; -} -export interface NodeIKernelMsgListener { - new (listener: IKernelMsgListener): NodeIKernelMsgListener; -} -export declare class MsgListener implements IKernelMsgListener { - onAddSendMsg(msgRecord: RawMessage): void; - onBroadcastHelperDownloadComplete(broadcastHelperTransNotifyInfo: unknown): void; - onBroadcastHelperProgressUpdate(broadcastHelperTransNotifyInfo: unknown): void; - onChannelFreqLimitInfoUpdate(contact: unknown, z: unknown, freqLimitInfo: unknown): void; - onContactUnreadCntUpdate(hashMap: unknown): void; - onCustomWithdrawConfigUpdate(customWithdrawConfig: unknown): void; - onDraftUpdate(contact: unknown, arrayList: unknown, j2: unknown): void; - onEmojiDownloadComplete(emojiNotifyInfo: unknown): void; - onEmojiResourceUpdate(emojiResourceInfo: unknown): void; - onFeedEventUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onFileMsgCome(arrayList: unknown): void; - onFirstViewDirectMsgUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onFirstViewGroupGuildMapping(arrayList: unknown): void; - onGrabPasswordRedBag(i2: unknown, str: unknown, i3: unknown, recvdOrder: unknown, msgRecord: unknown): void; - onGroupFileInfoAdd(groupItem: unknown): void; - onGroupFileInfoUpdate(groupFileListResult: onGroupFileInfoUpdateParamType): void; - onGroupGuildUpdate(groupGuildNotifyInfo: unknown): void; - onGroupTransferInfoAdd(groupItem: unknown): void; - onGroupTransferInfoUpdate(groupFileListResult: unknown): void; - onGuildInteractiveUpdate(guildInteractiveNotificationItem: unknown): void; - onGuildMsgAbFlagChanged(guildMsgAbFlag: unknown): void; - onGuildNotificationAbstractUpdate(guildNotificationAbstractInfo: unknown): void; - onHitCsRelatedEmojiResult(downloadRelateEmojiResultInfo: unknown): void; - onHitEmojiKeywordResult(hitRelatedEmojiWordsResult: unknown): void; - onHitRelatedEmojiResult(relatedWordEmojiInfo: unknown): void; - onImportOldDbProgressUpdate(importOldDbMsgNotifyInfo: unknown): void; - onInputStatusPush(inputStatusInfo: unknown): void; - onKickedOffLine(kickedInfo: unknown): void; - onLineDev(arrayList: unknown): void; - onLogLevelChanged(j2: unknown): void; - onMsgAbstractUpdate(arrayList: unknown): void; - onMsgBoxChanged(arrayList: unknown): void; - onMsgDelete(contact: unknown, arrayList: unknown): void; - onMsgEventListUpdate(hashMap: unknown): void; - onMsgInfoListAdd(arrayList: unknown): void; - onMsgInfoListUpdate(msgList: RawMessage[]): void; - onMsgQRCodeStatusChanged(i2: unknown): void; - onMsgRecall(i2: unknown, str: unknown, j2: unknown): void; - onMsgSecurityNotify(msgRecord: unknown): void; - onMsgSettingUpdate(msgSetting: unknown): void; - onNtFirstViewMsgSyncEnd(): void; - onNtMsgSyncEnd(): void; - onNtMsgSyncStart(): void; - onReadFeedEventUpdate(firstViewDirectMsgNotifyInfo: unknown): void; - onRecvGroupGuildFlag(i2: unknown): void; - onRecvMsg(arrayList: RawMessage[]): void; - onRecvMsgSvrRspTransInfo(j2: unknown, contact: unknown, i2: unknown, i3: unknown, str: unknown, bArr: unknown): void; - onRecvOnlineFileMsg(arrayList: unknown): void; - onRecvS2CMsg(arrayList: unknown): void; - onRecvSysMsg(arrayList: unknown): void; - onRecvUDCFlag(i2: unknown): void; - onRichMediaDownloadComplete(fileTransNotifyInfo: OnRichMediaDownloadCompleteParams): void; - onRichMediaProgerssUpdate(fileTransNotifyInfo: unknown): void; - onRichMediaUploadComplete(fileTransNotifyInfo: unknown): void; - onSearchGroupFileInfoUpdate(searchGroupFileResult: unknown): void; - onSendMsgError(j2: unknown, contact: unknown, i2: unknown, str: unknown): void; - onSysMsgNotification(i2: unknown, j2: unknown, j3: unknown, arrayList: unknown): void; - onTempChatInfoUpdate(tempChatInfo: TempOnRecvParams): void; - onUnreadCntAfterFirstView(hashMap: unknown): void; - onUnreadCntUpdate(hashMap: unknown): void; - onUserChannelTabStatusChanged(z: unknown): void; - onUserOnlineStatusChanged(z: unknown): void; - onUserTabStatusChanged(arrayList: unknown): void; - onlineStatusBigIconDownloadPush(i2: unknown, j2: unknown, str: unknown): void; - onlineStatusSmallIconDownloadPush(i2: unknown, j2: unknown, str: unknown): void; - onUserSecQualityChanged(...args: unknown[]): void; - onMsgWithRichLinkInfoUpdate(...args: unknown[]): void; - onRedTouchChanged(...args: unknown[]): void; - onBroadcastHelperProgerssUpdate(...args: unknown[]): void; -} diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js deleted file mode 100644 index adee4e96..00000000 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ /dev/null @@ -1 +0,0 @@ -function _0x4f05(){var _0x3fe880=['onGroupTransferInfoAdd','onMsgDelete','onKickedOffLine','onNtMsgSyncEnd','104gLIYQn','onFirstViewDirectMsgUpdate','onGroupFileInfoAdd','onUserOnlineStatusChanged','onFirstViewGroupGuildMapping','onSearchGroupFileInfoUpdate','onMsgSecurityNotify','onRecvUDCFlag','189207gkBFBE','onImportOldDbProgressUpdate','onHitCsRelatedEmojiResult','4052426tgUntr','onAddSendMsg','onRecvMsgSvrRspTransInfo','onRedTouchChanged','onBroadcastHelperProgerssUpdate','onGuildNotificationAbstractUpdate','onBroadcastHelperDownloadComplete','onFeedEventUpdate','onFileMsgCome','onMsgWithRichLinkInfoUpdate','onNtMsgSyncStart','onInputStatusPush','onMsgAbstractUpdate','onLineDev','1323292ZuSUOu','onUserChannelTabStatusChanged','onDraftUpdate','onMsgEventListUpdate','732310zpJVoP','onHitRelatedEmojiResult','onBroadcastHelperProgressUpdate','onGroupTransferInfoUpdate','onHitEmojiKeywordResult','onCustomWithdrawConfigUpdate','onUserSecQualityChanged','onTempChatInfoUpdate','6ndaLvi','onSysMsgNotification','onRichMediaUploadComplete','onUnreadCntAfterFirstView','onMsgInfoListAdd','onGroupFileInfoUpdate','onGroupGuildUpdate','1677960RKAJvR','onMsgRecall','onGuildInteractiveUpdate','onlineStatusSmallIconDownloadPush','onMsgSettingUpdate','onRecvOnlineFileMsg','200105hTobey','onRecvSysMsg','10329OxNJwB','onNtFirstViewMsgSyncEnd','onEmojiResourceUpdate','onUserTabStatusChanged'];_0x4f05=function(){return _0x3fe880;};return _0x4f05();}function _0x3e52(_0x59ac87,_0x1dc050){var _0x4f05a6=_0x4f05();return _0x3e52=function(_0x3e52c5,_0x3f0ebf){_0x3e52c5=_0x3e52c5-0x1b9;var _0x51e664=_0x4f05a6[_0x3e52c5];return _0x51e664;},_0x3e52(_0x59ac87,_0x1dc050);}var _0x556e17=_0x3e52;(function(_0x444ba1,_0x532137){var _0xa65f9d=_0x3e52,_0x4ca53e=_0x444ba1();while(!![]){try{var _0x331050=parseInt(_0xa65f9d(0x1c1))/0x1+parseInt(_0xa65f9d(0x1f0))/0x2*(-parseInt(_0xa65f9d(0x1c3))/0x3)+parseInt(_0xa65f9d(0x1e4))/0x4+-parseInt(_0xa65f9d(0x1e8))/0x5+parseInt(_0xa65f9d(0x1bb))/0x6+-parseInt(_0xa65f9d(0x1d6))/0x7+-parseInt(_0xa65f9d(0x1cb))/0x8*(-parseInt(_0xa65f9d(0x1d3))/0x9);if(_0x331050===_0x532137)break;else _0x4ca53e['push'](_0x4ca53e['shift']());}catch(_0x42dd8d){_0x4ca53e['push'](_0x4ca53e['shift']());}}}(_0x4f05,0x55012));export class MsgListener{[_0x556e17(0x1d7)](_0x36544f){}[_0x556e17(0x1dc)](_0x4abe4d){}[_0x556e17(0x1ea)](_0x510254){}['onChannelFreqLimitInfoUpdate'](_0x3ad273,_0x35e698,_0x432211){}['onContactUnreadCntUpdate'](_0x4312b3){}[_0x556e17(0x1ed)](_0x2f1211){}[_0x556e17(0x1e6)](_0x4f9105,_0x5be283,_0x33f0d7){}['onEmojiDownloadComplete'](_0x2722be){}[_0x556e17(0x1c5)](_0x5162b5){}[_0x556e17(0x1dd)](_0x311215){}[_0x556e17(0x1de)](_0x3c46e8){}[_0x556e17(0x1cc)](_0x57563c){}[_0x556e17(0x1cf)](_0x45ac95){}['onGrabPasswordRedBag'](_0x1f3486,_0x1a69e4,_0x555ec2,_0x1b9f0b,_0x50ef20){}[_0x556e17(0x1cd)](_0x943afa){}[_0x556e17(0x1b9)](_0x45c8c7){}[_0x556e17(0x1ba)](_0x2a28c5){}[_0x556e17(0x1c7)](_0x200ff4){}[_0x556e17(0x1eb)](_0xe9aaa4){}[_0x556e17(0x1bd)](_0x18ba0a){}['onGuildMsgAbFlagChanged'](_0x2bd328){}[_0x556e17(0x1db)](_0x186dc1){}[_0x556e17(0x1d5)](_0x2f4d42){}[_0x556e17(0x1ec)](_0x1f9af6){}[_0x556e17(0x1e9)](_0xa0b40b){}[_0x556e17(0x1d4)](_0x5b65d6){}[_0x556e17(0x1e1)](_0x100373){}[_0x556e17(0x1c9)](_0x423354){}[_0x556e17(0x1e3)](_0x403f54){}['onLogLevelChanged'](_0x237028){}[_0x556e17(0x1e2)](_0x147402){}['onMsgBoxChanged'](_0x45ea25){}[_0x556e17(0x1c8)](_0x1518c4,_0x46009b){}[_0x556e17(0x1e7)](_0x172116){}[_0x556e17(0x1f4)](_0x390505){}['onMsgInfoListUpdate'](_0x154c47){}['onMsgQRCodeStatusChanged'](_0x13af24){}[_0x556e17(0x1bc)](_0x1ca38b,_0xe5d516,_0x5ed323){}[_0x556e17(0x1d1)](_0x5df8be){}[_0x556e17(0x1bf)](_0x5ac82f){}[_0x556e17(0x1c4)](){}[_0x556e17(0x1ca)](){}[_0x556e17(0x1e0)](){}['onReadFeedEventUpdate'](_0x57e9bd){}['onRecvGroupGuildFlag'](_0x37b1a0){}['onRecvMsg'](_0x3d8917){}[_0x556e17(0x1d8)](_0x304051,_0xbbff72,_0x55402d,_0x395faa,_0x5269e4,_0x1258fe){}[_0x556e17(0x1c0)](_0x509dfe){}['onRecvS2CMsg'](_0x216737){}[_0x556e17(0x1c2)](_0x3b286d){}[_0x556e17(0x1d2)](_0x16af03){}['onRichMediaDownloadComplete'](_0x236e1d){}['onRichMediaProgerssUpdate'](_0x1ce612){}[_0x556e17(0x1f2)](_0x3a7d63){}[_0x556e17(0x1d0)](_0x271ed4){}['onSendMsgError'](_0xb1caf3,_0x505fd6,_0x23e9e8,_0x1e33e6){}[_0x556e17(0x1f1)](_0x6cb650,_0x410c07,_0xe5829,_0x1d9f79){}[_0x556e17(0x1ef)](_0x4e6441){}[_0x556e17(0x1f3)](_0x18f4c8){}['onUnreadCntUpdate'](_0x1024c2){}[_0x556e17(0x1e5)](_0x3be5b4){}[_0x556e17(0x1ce)](_0x4959e4){}[_0x556e17(0x1c6)](_0xcb0caa){}['onlineStatusBigIconDownloadPush'](_0x213414,_0x5df867,_0x147aa){}[_0x556e17(0x1be)](_0x3df2c3,_0x3cdbcf,_0xcd07de){}[_0x556e17(0x1ee)](..._0x221465){}[_0x556e17(0x1df)](..._0x545f66){}[_0x556e17(0x1d9)](..._0x47dc1e){}[_0x556e17(0x1da)](..._0x2830bb){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.d.ts b/src/core.lib/src/listeners/NodeIKernelProfileListener.d.ts deleted file mode 100644 index 2c1bc5cd..00000000 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { User } from '@/core/entities'; -interface IProfileListener { - onProfileSimpleChanged(...args: unknown[]): void; - onProfileDetailInfoChanged(profile: User): void; - onStatusUpdate(...args: unknown[]): void; - onSelfStatusChanged(...args: unknown[]): void; - onStrangerRemarkChanged(...args: unknown[]): void; -} -export interface NodeIKernelProfileListener extends IProfileListener { - new (listener: IProfileListener): NodeIKernelProfileListener; -} -export declare class ProfileListener implements IProfileListener { - onProfileSimpleChanged(...args: unknown[]): void; - onProfileDetailInfoChanged(profile: User): void; - onStatusUpdate(...args: unknown[]): void; - onSelfStatusChanged(...args: unknown[]): void; - onStrangerRemarkChanged(...args: unknown[]): void; -} -export {}; diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js deleted file mode 100644 index 6fc9ffcd..00000000 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x20c24e=_0x2335;function _0x2335(_0x477a64,_0x55ffbd){var _0x5e020e=_0x5e02();return _0x2335=function(_0x233509,_0x17e994){_0x233509=_0x233509-0x19f;var _0x35b458=_0x5e020e[_0x233509];return _0x35b458;},_0x2335(_0x477a64,_0x55ffbd);}function _0x5e02(){var _0x238475=['onStatusUpdate','onProfileDetailInfoChanged','58414eDzkZj','5162298aKOpxk','39LqmIxf','onStrangerRemarkChanged','311172MrjgUO','5415728dgckHT','7yQXNeJ','onProfileSimpleChanged','onSelfStatusChanged','3887555ZVcGTk','1058933lVcAaK','28848627zPseLP'];_0x5e02=function(){return _0x238475;};return _0x5e02();}(function(_0x1c949e,_0x251548){var _0xd1d8bf=_0x2335,_0x5f4e51=_0x1c949e();while(!![]){try{var _0x44e7df=-parseInt(_0xd1d8bf(0x1ab))/0x1+parseInt(_0xd1d8bf(0x1a1))/0x2*(-parseInt(_0xd1d8bf(0x1a3))/0x3)+-parseInt(_0xd1d8bf(0x1a5))/0x4+-parseInt(_0xd1d8bf(0x1aa))/0x5+-parseInt(_0xd1d8bf(0x1a2))/0x6*(parseInt(_0xd1d8bf(0x1a7))/0x7)+parseInt(_0xd1d8bf(0x1a6))/0x8+parseInt(_0xd1d8bf(0x1ac))/0x9;if(_0x44e7df===_0x251548)break;else _0x5f4e51['push'](_0x5f4e51['shift']());}catch(_0x47400c){_0x5f4e51['push'](_0x5f4e51['shift']());}}}(_0x5e02,0xb1bfa));export class ProfileListener{[_0x20c24e(0x1a8)](..._0x385e81){}[_0x20c24e(0x1a0)](_0x321a6d){}[_0x20c24e(0x19f)](..._0x269942){}[_0x20c24e(0x1a9)](..._0x3d2feb){}[_0x20c24e(0x1a4)](..._0x420472){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.d.ts b/src/core.lib/src/listeners/NodeIKernelRobotListener.d.ts deleted file mode 100644 index 3f25e37f..00000000 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IKernelRobotListener { - onRobotFriendListChanged(...args: unknown[]): void; - onRobotListChanged(...args: unknown[]): void; - onRobotProfileChanged(...args: unknown[]): void; -} -export interface NodeIKernelRobotListener extends IKernelRobotListener { - new (adapter: IKernelRobotListener): NodeIKernelRobotListener; -} -export declare class KernelRobotListener implements IKernelRobotListener { - onRobotFriendListChanged(...args: unknown[]): void; - onRobotListChanged(...args: unknown[]): void; - onRobotProfileChanged(...args: unknown[]): void; -} diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js deleted file mode 100644 index a74be39b..00000000 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x151409=_0x31e4;function _0x31e4(_0xb6447b,_0x544c2e){var _0x423b1d=_0x423b();return _0x31e4=function(_0x31e40d,_0x53eec3){_0x31e40d=_0x31e40d-0x17f;var _0x227fec=_0x423b1d[_0x31e40d];return _0x227fec;},_0x31e4(_0xb6447b,_0x544c2e);}(function(_0x32a132,_0x1c0b3d){var _0xb8739d=_0x31e4,_0x48bb64=_0x32a132();while(!![]){try{var _0xf1fdcd=-parseInt(_0xb8739d(0x18e))/0x1*(-parseInt(_0xb8739d(0x18b))/0x2)+-parseInt(_0xb8739d(0x17f))/0x3*(-parseInt(_0xb8739d(0x18a))/0x4)+-parseInt(_0xb8739d(0x18d))/0x5*(parseInt(_0xb8739d(0x186))/0x6)+parseInt(_0xb8739d(0x18c))/0x7*(-parseInt(_0xb8739d(0x180))/0x8)+-parseInt(_0xb8739d(0x188))/0x9+-parseInt(_0xb8739d(0x183))/0xa*(-parseInt(_0xb8739d(0x189))/0xb)+parseInt(_0xb8739d(0x187))/0xc*(parseInt(_0xb8739d(0x181))/0xd);if(_0xf1fdcd===_0x1c0b3d)break;else _0x48bb64['push'](_0x48bb64['shift']());}catch(_0xedef11){_0x48bb64['push'](_0x48bb64['shift']());}}}(_0x423b,0xdf625));export class KernelRobotListener{[_0x151409(0x182)](..._0x318e67){}[_0x151409(0x185)](..._0x5505df){}[_0x151409(0x184)](..._0x18fa0b){}}function _0x423b(){var _0x583605=['15150AWcXOq','2DOhlnK','818469oRvDRQ','8OOIkmS','13HJeNnO','onRobotFriendListChanged','310ZzwMOj','onRobotProfileChanged','onRobotListChanged','648cYJlYd','22218480fizkDQ','16144164aWiYOA','174350ktaBuH','12eOJeza','1074136IXlwvv','8396346URwjwv'];_0x423b=function(){return _0x583605;};return _0x423b();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.d.ts b/src/core.lib/src/listeners/NodeIKernelSessionListener.d.ts deleted file mode 100644 index 1cfadc23..00000000 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface ISessionListener { - onNTSessionCreate(args: unknown): void; - onGProSessionCreate(args: unknown): void; - onSessionInitComplete(args: unknown): void; - onOpentelemetryInit(args: unknown): void; - onUserOnlineResult(args: unknown): void; - onGetSelfTinyId(args: unknown): void; -} -export interface NodeIKernelSessionListener extends ISessionListener { - new (adapter: ISessionListener): NodeIKernelSessionListener; -} -export declare class SessionListener implements ISessionListener { - onNTSessionCreate(args: unknown): void; - onGProSessionCreate(args: unknown): void; - onSessionInitComplete(args: unknown): void; - onOpentelemetryInit(args: unknown): void; - onUserOnlineResult(args: unknown): void; - onGetSelfTinyId(args: unknown): void; -} diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js deleted file mode 100644 index 8acab01b..00000000 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ /dev/null @@ -1 +0,0 @@ -function _0x51b3(_0x589c79,_0xd59039){var _0x3ba815=_0x3ba8();return _0x51b3=function(_0x51b36e,_0x23716b){_0x51b36e=_0x51b36e-0x64;var _0xa3b97f=_0x3ba815[_0x51b36e];return _0xa3b97f;},_0x51b3(_0x589c79,_0xd59039);}function _0x3ba8(){var _0x520cd8=['41930wbyTkt','onOpentelemetryInit','onNTSessionCreate','670668NxMlWm','onGProSessionCreate','297oSeCSw','1614rxZGpO','4aWsaSM','750820vbBNXR','onUserOnlineResult','183476IVVOYO','33OHuWRC','75612wdculc','onSessionInitComplete','2284136AaeGwg','3pmXCLH','6455VPGlkR'];_0x3ba8=function(){return _0x520cd8;};return _0x3ba8();}var _0x260f88=_0x51b3;(function(_0x3ade50,_0x4bb29d){var _0x5a7272=_0x51b3,_0x3e072a=_0x3ade50();while(!![]){try{var _0x17b9dc=parseInt(_0x5a7272(0x69))/0x1*(parseInt(_0x5a7272(0x64))/0x2)+parseInt(_0x5a7272(0x6c))/0x3*(-parseInt(_0x5a7272(0x67))/0x4)+-parseInt(_0x5a7272(0x6d))/0x5*(parseInt(_0x5a7272(0x74))/0x6)+parseInt(_0x5a7272(0x65))/0x7+parseInt(_0x5a7272(0x6b))/0x8+parseInt(_0x5a7272(0x73))/0x9*(-parseInt(_0x5a7272(0x6e))/0xa)+-parseInt(_0x5a7272(0x68))/0xb*(-parseInt(_0x5a7272(0x71))/0xc);if(_0x17b9dc===_0x4bb29d)break;else _0x3e072a['push'](_0x3e072a['shift']());}catch(_0x10518e){_0x3e072a['push'](_0x3e072a['shift']());}}}(_0x3ba8,0x2bfb7));export class SessionListener{[_0x260f88(0x70)](_0xe34710){}[_0x260f88(0x72)](_0x53864b){}[_0x260f88(0x6a)](_0x32e95c){}[_0x260f88(0x6f)](_0x100c43){}[_0x260f88(0x66)](_0x26849e){}['onGetSelfTinyId'](_0x3ad8a2){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.d.ts b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.d.ts deleted file mode 100644 index 78ebc311..00000000 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface IStorageCleanListener { - onCleanCacheProgressChanged(args: unknown): void; - onScanCacheProgressChanged(args: unknown): void; - onCleanCacheStorageChanged(args: unknown): void; - onFinishScan(args: unknown): void; - onChatCleanDone(args: unknown): void; -} -export interface NodeIKernelStorageCleanListener extends IStorageCleanListener { - new (adapter: IStorageCleanListener): NodeIKernelStorageCleanListener; -} -export declare class StorageCleanListener implements IStorageCleanListener { - onCleanCacheProgressChanged(args: unknown): void; - onScanCacheProgressChanged(args: unknown): void; - onCleanCacheStorageChanged(args: unknown): void; - onFinishScan(args: unknown): void; - onChatCleanDone(args: unknown): void; -} diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js deleted file mode 100644 index 0a853604..00000000 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ /dev/null @@ -1 +0,0 @@ -var _0x24da6e=_0x277b;function _0xfce3(){var _0x4e5a22=['97692YFbhVf','onChatCleanDone','30noVgfs','3278781srwoqV','1680973IywEnM','3192438BsZMTQ','375960fbuhXp','44868faXIPT','onFinishScan','onCleanCacheStorageChanged','238QaUpsj','297976erVset','onScanCacheProgressChanged','120wvcWBa','2ERsMLF','1177TtlqMq'];_0xfce3=function(){return _0x4e5a22;};return _0xfce3();}function _0x277b(_0x168c30,_0x2ab542){var _0xfce356=_0xfce3();return _0x277b=function(_0x277bd6,_0x2b4a3e){_0x277bd6=_0x277bd6-0xd7;var _0x3b896f=_0xfce356[_0x277bd6];return _0x3b896f;},_0x277b(_0x168c30,_0x2ab542);}(function(_0x3440c3,_0x11b9b8){var _0x2af4b9=_0x277b,_0x51ad0f=_0x3440c3();while(!![]){try{var _0xc63726=-parseInt(_0x2af4b9(0xde))/0x1*(-parseInt(_0x2af4b9(0xd8))/0x2)+parseInt(_0x2af4b9(0xdf))/0x3+parseInt(_0x2af4b9(0xe1))/0x4*(-parseInt(_0x2af4b9(0xd7))/0x5)+-parseInt(_0x2af4b9(0xe0))/0x6+-parseInt(_0x2af4b9(0xe4))/0x7*(parseInt(_0x2af4b9(0xe5))/0x8)+parseInt(_0x2af4b9(0xdd))/0x9*(-parseInt(_0x2af4b9(0xdc))/0xa)+-parseInt(_0x2af4b9(0xd9))/0xb*(-parseInt(_0x2af4b9(0xda))/0xc);if(_0xc63726===_0x11b9b8)break;else _0x51ad0f['push'](_0x51ad0f['shift']());}catch(_0x38b4b6){_0x51ad0f['push'](_0x51ad0f['shift']());}}}(_0xfce3,0xe1d55));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x288ce7){}[_0x24da6e(0xe6)](_0x317b53){}[_0x24da6e(0xe3)](_0x1377e5){}[_0x24da6e(0xe2)](_0x3c6d3e){}[_0x24da6e(0xdb)](_0x56fd60){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelTicketListener.d.ts b/src/core.lib/src/listeners/NodeIKernelTicketListener.d.ts deleted file mode 100644 index a7c12f05..00000000 --- a/src/core.lib/src/listeners/NodeIKernelTicketListener.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IKernelTicketListener { -} -export interface NodeIKernelTicketListener extends IKernelTicketListener { - new (adapter: IKernelTicketListener): NodeIKernelTicketListener; -} -export declare class KernelTicketListener implements IKernelTicketListener { -} diff --git a/src/core.lib/src/listeners/NodeIKernelTicketListener.js b/src/core.lib/src/listeners/NodeIKernelTicketListener.js deleted file mode 100644 index 9b40056b..00000000 --- a/src/core.lib/src/listeners/NodeIKernelTicketListener.js +++ /dev/null @@ -1 +0,0 @@ -export class KernelTicketListener{} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.d.ts b/src/core.lib/src/listeners/index.d.ts deleted file mode 100644 index 0e18afea..00000000 --- a/src/core.lib/src/listeners/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from './NodeIKernelSessionListener'; -export * from './NodeIKernelLoginListener'; -export * from './NodeIKernelMsgListener'; -export * from './NodeIKernelGroupListener'; -export * from './NodeIKernelBuddyListener'; -export * from './NodeIKernelProfileListener'; -export * from './NodeIKernelRobotListener'; -export * from './NodeIKernelTicketListener'; -export * from './NodeIKernelStorageCleanListener'; -export * from './NodeIKernelFileAssistantListener'; diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js deleted file mode 100644 index 9608726d..00000000 --- a/src/core.lib/src/listeners/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x361eb5,_0xfe18f6){var _0x4947b9=_0x219d,_0x116957=_0x361eb5();while(!![]){try{var _0x418f36=-parseInt(_0x4947b9(0xf8))/0x1*(-parseInt(_0x4947b9(0xf6))/0x2)+parseInt(_0x4947b9(0xf7))/0x3*(parseInt(_0x4947b9(0xfb))/0x4)+-parseInt(_0x4947b9(0xf4))/0x5*(parseInt(_0x4947b9(0xfa))/0x6)+-parseInt(_0x4947b9(0xfe))/0x7+parseInt(_0x4947b9(0xf9))/0x8+-parseInt(_0x4947b9(0xfc))/0x9*(-parseInt(_0x4947b9(0xfd))/0xa)+-parseInt(_0x4947b9(0xf5))/0xb;if(_0x418f36===_0xfe18f6)break;else _0x116957['push'](_0x116957['shift']());}catch(_0xa01026){_0x116957['push'](_0x116957['shift']());}}}(_0x4e23,0x63aee));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x219d(_0xfc35,_0x3743f8){var _0x4e23da=_0x4e23();return _0x219d=function(_0x219ded,_0x20463d){_0x219ded=_0x219ded-0xf4;var _0x341b8d=_0x4e23da[_0x219ded];return _0x341b8d;},_0x219d(_0xfc35,_0x3743f8);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x4e23(){var _0x5f016a=['14534xJdgla','3qKPQcQ','93TcIDHh','2356256vQcJln','6cLMbMX','640924UGRitL','261bJoyJR','218570dduEts','5400857gOonhZ','8130YlOXJC','6412648FDUBtA'];_0x4e23=function(){return _0x5f016a;};return _0x4e23();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelAlbumService.d.ts b/src/core.lib/src/services/NodeIKernelAlbumService.d.ts deleted file mode 100644 index 9a797ee0..00000000 --- a/src/core.lib/src/services/NodeIKernelAlbumService.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export interface NodeIKernelAlbumService { - setAlbumServiceInfo(...args: any[]): unknown; - getMainPage(...args: any[]): unknown; - getAlbumList(...args: any[]): unknown; - getAlbumInfo(...args: any[]): unknown; - deleteAlbum(...args: any[]): unknown; - addAlbum(...args: any[]): unknown; - deleteMedias(...args: any[]): unknown; - modifyAlbum(...args: any[]): unknown; - getMediaList(...args: any[]): unknown; - quoteToQzone(...args: any[]): unknown; - quoteToQunAlbum(...args: any[]): unknown; - queryQuoteToQunAlbumStatus(...args: any[]): unknown; - getQunFeeds(...args: any[]): unknown; - getQunFeedDetail(...args: any[]): unknown; - getQunNoticeList(...args: any[]): unknown; - getQunComment(...args: any[]): unknown; - getQunLikes(...args: any[]): unknown; - deleteQunFeed(...args: any[]): unknown; - doQunComment(...args: any[]): unknown; - doQunReply(...args: any[]): unknown; - doQunLike(...args: any[]): unknown; - getRedPoints(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelAlbumService.js b/src/core.lib/src/services/NodeIKernelAlbumService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelAlbumService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelAvatarService.d.ts b/src/core.lib/src/services/NodeIKernelAvatarService.d.ts deleted file mode 100644 index d3bb01f3..00000000 --- a/src/core.lib/src/services/NodeIKernelAvatarService.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface NodeIKernelAvatarService { - addAvatarListener(arg: unknown): unknown; - removeAvatarListener(arg: unknown): unknown; - getAvatarPath(arg1: unknown, arg2: unknown): unknown; - forceDownloadAvatar(uid: string, useCache: number): Promise; - getGroupAvatarPath(arg1: unknown, arg2: unknown): unknown; - getConfGroupAvatarPath(arg: unknown): unknown; - forceDownloadGroupAvatar(arg1: unknown, arg2: unknown): unknown; - getGroupPortraitPath(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - forceDownloadGroupPortrait(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - getAvatarPaths(arg1: unknown, arg2: unknown): unknown; - getGroupAvatarPaths(arg1: unknown, arg2: unknown): unknown; - getConfGroupAvatarPaths(arg: unknown): unknown; - getAvatarPathByUin(arg1: unknown, arg2: unknown): unknown; - forceDownloadAvatarByUin(arg1: unknown, arg2: unknown): unknown; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelAvatarService.js b/src/core.lib/src/services/NodeIKernelAvatarService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelAvatarService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts deleted file mode 100644 index ea3de2a4..00000000 --- a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Friend } from '@/core/entities'; -import { GeneralCallResult } from '@/core/services/common'; -import { NodeIKernelBuddyListener } from '@/core/listeners'; -export interface NodeIKernelBuddyService { - friends: Friend[]; - getFriend(uidOrUin: string): Promise; - addKernelBuddyListener(listener: NodeIKernelBuddyListener): number; - removeKernelBuddyListener(listener: unknown): void; - getBuddyList(bool: boolean): Promise; - getBuddyNick(uid: number): string; - getBuddyRemark(uid: number): string; - setBuddyRemark(uid: number, remark: string): void; - getAvatarUrl(uid: number): string; - isBuddy(uid: string): boolean; - getCategoryNameWithUid(uid: number): string; - getTargetBuddySetting(uid: number): unknown; - getTargetBuddySettingByType(uid: number, type: number): unknown; - getBuddyReqUnreadCnt(): number; - getBuddyReq(): unknown; - delBuddyReq(uid: number): void; - clearBuddyReqUnreadCnt(): void; - reqToAddFriends(uid: number, msg: string): void; - setSpacePermission(uid: number, permission: number): void; - approvalFriendRequest(arg: { - friendUid: string; - reqTime: string; - accept: boolean; - }): Promise; - delBuddy(uid: number): void; - delBatchBuddy(uids: number[]): void; - getSmartInfos(uid: number): unknown; - setBuddyCategory(uid: number, category: number): void; - setBatchBuddyCategory(uids: number[], category: number): void; - addCategory(category: string): void; - delCategory(category: string): void; - renameCategory(oldCategory: string, newCategory: string): void; - resortCategory(categorys: string[]): void; - pullCategory(uid: number, category: string): void; - setTop(uid: number, isTop: boolean): void; - SetSpecialCare(uid: number, isSpecialCare: boolean): void; - setMsgNotify(uid: number, isNotify: boolean): void; - hasBuddyList(): boolean; - setBlock(uid: number, isBlock: boolean): void; - isBlocked(uid: number): boolean; - modifyAddMeSetting(setting: unknown): void; - getAddMeSetting(): unknown; - getDoubtBuddyReq(): unknown; - getDoubtBuddyUnreadNum(): number; - approvalDoubtBuddyReq(uid: number, isAgree: boolean): void; - delDoubtBuddyReq(uid: number): void; - delAllDoubtBuddyReq(): void; - reportDoubtBuddyReqUnread(): void; - getBuddyRecommendContactArkJson(uid: string, phoneNumber: string): Promise; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelBuddyService.js b/src/core.lib/src/services/NodeIKernelBuddyService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelBuddyService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelCollectionService.d.ts b/src/core.lib/src/services/NodeIKernelCollectionService.d.ts deleted file mode 100644 index 932d7635..00000000 --- a/src/core.lib/src/services/NodeIKernelCollectionService.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { GeneralCallResult } from "./common"; -export interface NodeIKernelCollectionService { - addKernelCollectionListener(...args: any[]): unknown; - removeKernelCollectionListener(...args: any[]): unknown; - getCollectionItemList(param: { - category: number; - groupId: number; - forceSync: boolean; - forceFromDb: boolean; - timeStamp: string; - count: number; - searchDown: boolean; - }): Promise; - hasMore: boolean; - bottomTimeStamp: string; - }; - }>; - getCollectionContent(...args: any[]): unknown; - getCollectionCustomGroupList(...args: any[]): unknown; - getCollectionUserInfo(...args: any[]): unknown; - searchCollectionItemList(...args: any[]): unknown; - addMsgToCollection(...args: any[]): unknown; - collectionArkShare(...args: any[]): unknown; - collectionFileForward(...args: any[]): unknown; - downloadCollectionFile(...args: any[]): unknown; - downloadCollectionFileThumbPic(...args: any[]): unknown; - downloadCollectionPic(...args: any[]): unknown; - cancelDownloadCollectionFile(...args: any[]): unknown; - deleteCollectionItemList(...args: any[]): unknown; - editCollectionItem(...args: any[]): unknown; - getEditPicInfoByPath(...args: any[]): unknown; - collectionFastUpload(...args: any[]): unknown; - editCollectionItemAfterFastUpload(...args: any[]): unknown; - createNewCollectionItem(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelCollectionService.js b/src/core.lib/src/services/NodeIKernelCollectionService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelCollectionService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelDbToolsService.d.ts b/src/core.lib/src/services/NodeIKernelDbToolsService.d.ts deleted file mode 100644 index 96ac8a50..00000000 --- a/src/core.lib/src/services/NodeIKernelDbToolsService.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface NodeIKernelDbToolsService { - depositDatabase(...args: unknown[]): unknown; - backupDatabase(...args: unknown[]): unknown; - retrieveDatabase(...args: unknown[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelDbToolsService.js b/src/core.lib/src/services/NodeIKernelDbToolsService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelDbToolsService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelFileAssistantService.d.ts b/src/core.lib/src/services/NodeIKernelFileAssistantService.d.ts deleted file mode 100644 index 23eac679..00000000 --- a/src/core.lib/src/services/NodeIKernelFileAssistantService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface NodeIKernelFileAssistantService { - addKernelFileAssistantListener(arg1: unknown[]): unknown; - removeKernelFileAssistantListener(arg1: unknown[]): unknown; - getFileAssistantList(arg1: unknown[]): unknown; - getMoreFileAssistantList(arg1: unknown[]): unknown; - getFileSessionList(): unknown; - searchFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - resetSearchFileSortType(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - searchMoreFile(arg1: unknown[]): unknown; - cancelSearchFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - downloadFile(arg1: unknown[]): unknown; - forwardFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - cancelFileAction(arg1: unknown[]): unknown; - retryFileAction(arg1: unknown[]): unknown; - deleteFile(arg1: unknown[]): unknown; - saveAs(arg1: unknown, arg2: unknown): unknown; - saveAsWithRename(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelFileAssistantService.js b/src/core.lib/src/services/NodeIKernelFileAssistantService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelFileAssistantService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts deleted file mode 100644 index 51e0c4f1..00000000 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { NodeIKernelGroupListener } from '@/core/listeners/NodeIKernelGroupListener'; -import { GroupExtParam, GroupMember, GroupMemberRole, GroupNotifyTypes, GroupRequestOperateTypes } from '@/core/entities'; -import { GeneralCallResult } from '@/core/services/common'; -export interface NodeIKernelGroupService { - addKernelGroupListener(listener: NodeIKernelGroupListener): number; - removeKernelGroupListener(listenerId: unknown): void; - createMemberListScene(groupCode: string, scene: string): string; - destroyMemberListScene(): void; - getNextMemberList(sceneId: string, a: undefined, num: number): Promise<{ - errCode: number; - errMsg: string; - result: { - ids: string[]; - infos: Map; - finish: boolean; - hasRobot: boolean; - }; - }>; - getPrevMemberList(): unknown; - monitorMemberList(): unknown; - searchMember(uid: string): unknown; - getMemberInfo(uid: string): unknown; - kickMember(groupCode: string, memberUids: string[], refuseForever: boolean, kickReason: string): Promise; - modifyMemberRole(groupCode: string, uid: string, role: GroupMemberRole): void; - modifyMemberCardName(groupCode: string, uid: string, cardName: string): void; - getTransferableMemberInfo(uid: string): unknown; - transferGroup(uid: string): void; - getGroupList(force: boolean): Promise; - getGroupExtList(force: boolean): Promise; - getGroupDetailInfo(groupCode: string): unknown; - getMemberExtInfo(param: GroupExtParam): Promise; - getGroupAllInfo(): unknown; - getDiscussExistInfo(): unknown; - getGroupConfMember(): unknown; - getGroupMsgMask(): unknown; - getGroupPortrait(): void; - modifyGroupName(groupCode: string, groupName: string, arg: false): void; - modifyGroupRemark(groupCode: string, remark: string): void; - modifyGroupDetailInfo(groupCode: string, arg: unknown): void; - setGroupMsgMask(groupCode: string, arg: unknown): void; - changeGroupShieldSettingTemp(groupCode: string, arg: unknown): void; - inviteToGroup(arg: unknown): void; - inviteMembersToGroup(args: unknown[]): void; - inviteMembersToGroupWithMsg(args: unknown): void; - createGroup(arg: unknown): void; - createGroupWithMembers(arg: unknown): void; - quitGroup(groupCode: string): void; - destroyGroup(groupCode: string): void; - getSingleScreenNotifies(force: boolean, start_seq: string, num: number): Promise; - clearGroupNotifies(groupCode: string): void; - getGroupNotifiesUnreadCount(unknown: Boolean): Promise; - clearGroupNotifiesUnreadCount(groupCode: string): void; - operateSysNotify(doubt: boolean, operateMsg: { - operateType: GroupRequestOperateTypes; - targetMsg: { - seq: string; - type: GroupNotifyTypes; - groupCode: string; - postscript: string; - }; - }): Promise; - setTop(groupCode: string, isTop: boolean): void; - getGroupBulletin(groupCode: string): unknown; - deleteGroupBulletin(groupCode: string, seq: string): void; - publishGroupBulletin(groupCode: string, pskey: string, data: any): Promise; - publishInstructionForNewcomers(groupCode: string, arg: unknown): void; - uploadGroupBulletinPic(groupCode: string, pskey: string, imagePath: string): Promise; - downloadGroupBulletinRichMedia(groupCode: string): unknown; - getGroupBulletinList(groupCode: string): unknown; - getGroupStatisticInfo(groupCode: string): unknown; - getGroupRemainAtTimes(groupCode: string): number; - getJoinGroupNoVerifyFlag(groupCode: string): unknown; - getGroupArkInviteState(groupCode: string): unknown; - reqToJoinGroup(groupCode: string, arg: unknown): void; - setGroupShutUp(groupCode: string, shutUp: boolean): void; - getGroupShutUpMemberList(groupCode: string): unknown[]; - setMemberShutUp(groupCode: string, memberTimes: { - uid: string; - timeStamp: number; - }[]): Promise; - getGroupRecommendContactArkJson(groupCode: string): unknown; - getJoinGroupLink(groupCode: string): unknown; - modifyGroupExtInfo(groupCode: string, arg: unknown): void; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelGroupService.js b/src/core.lib/src/services/NodeIKernelGroupService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelGroupService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelLoginService.d.ts b/src/core.lib/src/services/NodeIKernelLoginService.d.ts deleted file mode 100644 index 065df2e7..00000000 --- a/src/core.lib/src/services/NodeIKernelLoginService.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { NodeIKernelLoginListener } from '@/core/listeners/NodeIKernelLoginListener'; -export interface LoginInitConfig { - machineId: ''; - appid: string; - platVer: string; - commonPath: string; - clientVer: string; - hostName: string; -} -export interface passwordLoginRetType { - result: string; - loginErrorInfo: { - step: number; - errMsg: string; - proofWaterUrl: string; - newDevicePullQrCodeSig: string; - jumpUrl: string; - jumpWord: string; - tipsTitle: string; - tipsContent: string; - }; -} -export interface passwordLoginArgType { - uin: string; - passwordMd5: string; - step: number; - newDeviceLoginSig: string; - proofWaterSig: string; - proofWaterRand: string; - proofWaterSid: string; -} -export interface LoginListItem { - uin: string; - uid: string; - nickName: string; - faceUrl: string; - facePath: string; - loginType: 1; - isQuickLogin: boolean; - isAutoLogin: boolean; -} -export interface QuickLoginResult { - result: string; - loginErrorInfo: { - step: number; - errMsg: string; - proofWaterUrl: string; - newDevicePullQrCodeSig: string; - jumpUrl: string; - jumpWord: string; - tipsTitle: string; - tipsContent: string; - }; -} -export interface NodeIKernelLoginService { - new (): NodeIKernelLoginService; - addKernelLoginListener(listener: NodeIKernelLoginListener): number; - removeKernelLoginListener(listener: number): void; - initConfig(config: LoginInitConfig): void; - getLoginMiscData(cb: (r: unknown) => void): void; - getLoginList(): Promise<{ - result: number; - LocalLoginInfoList: LoginListItem[]; - }>; - quickLoginWithUin(uin: string): Promise; - passwordLogin(param: passwordLoginArgType): Promise; - getQRCodePicture(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelLoginService.js b/src/core.lib/src/services/NodeIKernelLoginService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelLoginService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelMsgBackupService.d.ts b/src/core.lib/src/services/NodeIKernelMsgBackupService.d.ts deleted file mode 100644 index 9f10c3fd..00000000 --- a/src/core.lib/src/services/NodeIKernelMsgBackupService.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface NodeIKernelMsgBackupService { - addKernelMsgBackupListener(...args: any[]): unknown; - removeKernelMsgBackupListener(...args: any[]): unknown; - getMsgBackupLocation(...args: any[]): unknown; - setMsgBackupLocation(...args: any[]): unknown; - requestMsgBackup(...args: any[]): unknown; - requestMsgRestore(...args: any[]): unknown; - requestMsgMigrate(...args: any[]): unknown; - getLocalStorageBackup(...args: any[]): unknown; - deleteLocalBackup(...args: any[]): unknown; - clearCache(...args: any[]): unknown; - start(...args: any[]): unknown; - stop(...args: any[]): unknown; - pause(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelMsgBackupService.js b/src/core.lib/src/services/NodeIKernelMsgBackupService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelMsgBackupService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelMsgService.d.ts b/src/core.lib/src/services/NodeIKernelMsgService.d.ts deleted file mode 100644 index 082030c8..00000000 --- a/src/core.lib/src/services/NodeIKernelMsgService.d.ts +++ /dev/null @@ -1,351 +0,0 @@ -import { ElementType, Peer, RawMessage, SendMessageElement } from '@/core/entities'; -import { NodeIKernelMsgListener } from '@/core/listeners/NodeIKernelMsgListener'; -import { GeneralCallResult } from '@/core/services/common'; -export interface NodeIKernelMsgService { - addKernelMsgListener(nodeIKernelMsgListener: NodeIKernelMsgListener): number; - sendMsg(msgId: string, peer: Peer, msgElements: SendMessageElement[], map: Map): Promise; - recallMsg(peer: Peer, msgIds: string[]): Promise; - addKernelMsgImportToolListener(arg: Object): unknown; - removeKernelMsgListener(args: unknown): unknown; - addKernelTempChatSigListener(...args: unknown[]): unknown; - removeKernelTempChatSigListener(...args: unknown[]): unknown; - setAutoReplyTextList(AutoReplyText: Array, i2: number): unknown; - getAutoReplyTextList(...args: unknown[]): unknown; - getOnLineDev(): Promise; - kickOffLine(DevInfo: Object): unknown; - setStatus(args: { - status: number; - extStatus: number; - batteryStatus: number; - }): Promise; - fetchStatusMgrInfo(): unknown; - fetchStatusUnitedConfigInfo(): unknown; - getOnlineStatusSmallIconBasePath(): unknown; - getOnlineStatusSmallIconFileNameByUrl(Url: string): unknown; - downloadOnlineStatusSmallIconByUrl(arg0: number, arg1: string): unknown; - getOnlineStatusBigIconBasePath(): unknown; - downloadOnlineStatusBigIconByUrl(arg0: number, arg1: string): unknown; - getOnlineStatusCommonPath(arg: string): unknown; - getOnlineStatusCommonFileNameByUrl(Url: string): unknown; - downloadOnlineStatusCommonByUrl(arg0: string, arg1: string): unknown; - setToken(arg: Object): unknown; - switchForeGround(): unknown; - switchBackGround(arg: Object): unknown; - setTokenForMqq(token: string): unknown; - switchForeGroundForMqq(...args: unknown[]): unknown; - switchBackGroundForMqq(...args: unknown[]): unknown; - getMsgSetting(...args: unknown[]): unknown; - setMsgSetting(...args: unknown[]): unknown; - addSendMsg(...args: unknown[]): unknown; - cancelSendMsg(...args: unknown[]): unknown; - switchToOfflineSendMsg(...args: unknown[]): unknown; - reqToOfflineSendMsg(...args: unknown[]): unknown; - refuseReceiveOnlineFileMsg(peer: Peer, MsgId: string): unknown; - resendMsg(...args: unknown[]): unknown; - recallMsg(...args: unknown[]): unknown; - reeditRecallMsg(...args: unknown[]): unknown; - forwardMsg(...args: unknown[]): Promise; - forwardMsgWithComment(...args: unknown[]): unknown; - forwardSubMsgWithComment(...args: unknown[]): unknown; - forwardRichMsgInVist(...args: unknown[]): unknown; - forwardFile(...args: unknown[]): unknown; - multiForwardMsg(...args: unknown[]): unknown; - multiForwardMsgWithComment(...args: unknown[]): unknown; - deleteRecallMsg(...args: unknown[]): unknown; - deleteRecallMsgForLocal(...args: unknown[]): unknown; - addLocalGrayTipMsg(...args: unknown[]): unknown; - addLocalJsonGrayTipMsg(...args: unknown[]): unknown; - addLocalJsonGrayTipMsgExt(...args: unknown[]): unknown; - IsLocalJsonTipValid(...args: unknown[]): unknown; - addLocalAVRecordMsg(...args: unknown[]): unknown; - addLocalTofuRecordMsg(...args: unknown[]): unknown; - addLocalRecordMsg(...args: unknown[]): unknown; - deleteMsg(...args: unknown[]): unknown; - updateElementExtBufForUI(...args: unknown[]): unknown; - updateMsgRecordExtPbBufForUI(...args: unknown[]): unknown; - startMsgSync(...args: unknown[]): unknown; - startGuildMsgSync(...args: unknown[]): unknown; - isGuildChannelSync(...args: unknown[]): unknown; - getMsgUniqueId(UniqueId: string): string; - isMsgMatched(...args: unknown[]): unknown; - getOnlineFileMsgs(...args: unknown[]): unknown; - getAllOnlineFileMsgs(...args: unknown[]): unknown; - getLatestDbMsgs(peer: Peer, cnt: number): Promise; - getLastMessageList(peer: Peer[]): Promise; - getAioFirstViewLatestMsgs(...args: unknown[]): unknown; - getMsgs(peer: Peer, msgId: string, count: unknown, queryOrder: boolean): Promise; - getMsgsIncludeSelf(peer: Peer, msgId: string, count: number, queryOrder: boolean): Promise; - getMsgsWithMsgTimeAndClientSeqForC2C(...args: unknown[]): Promise; - getMsgsWithStatus(params: { - peer: Peer; - msgId: string; - msgTime: unknown; - cnt: unknown; - queryOrder: boolean; - isIncludeSelf: boolean; - appid: unknown; - }): Promise; - getMsgsBySeqRange(peer: Peer, startSeq: string, endSeq: string): Promise; - getMsgsBySeqAndCount(peer: Peer, seq: string, count: number, desc: boolean, unknownArg: boolean): Promise; - getMsgsByMsgId(peer: Peer, ids: string[]): Promise; - getRecallMsgsByMsgId(peer: Peer, MsgId: string[]): Promise; - getMsgsBySeqList(peer: Peer, seqList: string[]): Promise; - getSingleMsg(Peer: Peer, msgSeq: string): unknown; - getSourceOfReplyMsg(...args: unknown[]): unknown; - getSourceOfReplyMsgV2(...args: unknown[]): unknown; - getMsgByClientSeqAndTime(...args: unknown[]): unknown; - getSourceOfReplyMsgByClientSeqAndTime(...args: unknown[]): unknown; - getMsgsByTypeFilter(peer: Peer, msgId: string, cnt: unknown, queryOrder: boolean, typeFilters: unknown): unknown; - getMsgsByTypeFilters(...args: unknown[]): unknown; - getMsgWithAbstractByFilterParam(...args: unknown[]): unknown; - queryMsgsWithFilter(...args: unknown[]): unknown; - queryMsgsWithFilterVer2(MsgId: string, MsgTime: string, param: { - chatInfo: { - chatType: number; - peerUid: string; - }; - filterMsgType: []; - filterSendersUid: []; - filterMsgFromTime: string; - filterMsgToTime: string; - pageLimit: number; - isReverseOrder: boolean; - isIncludeCurrent: boolean; - }): Promise; - queryMsgsWithFilterEx(msgId: string, msgTime: string, megSeq: string, param: { - chatInfo: { - chatType: number; - peerUid: string; - }; - filterMsgType: []; - filterSendersUid: []; - filterMsgFromTime: string; - filterMsgToTime: string; - pageLimit: number; - isReverseOrder: boolean; - isIncludeCurrent: boolean; - }): Promise; - queryFileMsgsDesktop(...args: unknown[]): unknown; - setMsgRichInfoFlag(...args: unknown[]): unknown; - queryPicOrVideoMsgs(msgId: string, msgTime: string, megSeq: string, param: { - chatInfo: { - chatType: number; - peerUid: string; - }; - filterMsgType: []; - filterSendersUid: []; - filterMsgFromTime: string; - filterMsgToTime: string; - pageLimit: number; - isReverseOrder: boolean; - isIncludeCurrent: boolean; - }): Promise; - queryPicOrVideoMsgsDesktop(...args: unknown[]): unknown; - queryEmoticonMsgs(...args: unknown[]): unknown; - queryTroopEmoticonMsgs(...args: unknown[]): unknown; - queryMsgsAndAbstractsWithFilter(...args: unknown[]): unknown; - setFocusOnGuild(...args: unknown[]): unknown; - setFocusSession(...args: unknown[]): unknown; - enableFilterUnreadInfoNotify(...args: unknown[]): unknown; - enableFilterMsgAbstractNotify(...args: unknown[]): unknown; - onScenesChangeForSilenceMode(...args: unknown[]): unknown; - getContactUnreadCnt(...args: unknown[]): unknown; - getUnreadCntInfo(...args: unknown[]): unknown; - getGuildUnreadCntInfo(...args: unknown[]): unknown; - getGuildUnreadCntTabInfo(...args: unknown[]): unknown; - getAllGuildUnreadCntInfo(...args: unknown[]): unknown; - getAllJoinGuildCnt(...args: unknown[]): unknown; - getAllDirectSessionUnreadCntInfo(...args: unknown[]): unknown; - getCategoryUnreadCntInfo(...args: unknown[]): unknown; - getGuildFeedsUnreadCntInfo(...args: unknown[]): unknown; - setUnVisibleChannelCntInfo(...args: unknown[]): unknown; - setUnVisibleChannelTypeCntInfo(...args: unknown[]): unknown; - setVisibleGuildCntInfo(...args: unknown[]): unknown; - setMsgRead(peer: Peer): Promise; - setAllC2CAndGroupMsgRead(...args: unknown[]): unknown; - setGuildMsgRead(...args: unknown[]): unknown; - setAllGuildMsgRead(...args: unknown[]): unknown; - setMsgReadAndReport(...args: unknown[]): unknown; - setSpecificMsgReadAndReport(...args: unknown[]): unknown; - setLocalMsgRead(...args: unknown[]): unknown; - setGroupGuildMsgRead(...args: unknown[]): unknown; - getGuildGroupTransData(...args: unknown[]): unknown; - setGroupGuildBubbleRead(...args: unknown[]): unknown; - getGuildGroupBubble(...args: unknown[]): unknown; - fetchGroupGuildUnread(...args: unknown[]): unknown; - setGroupGuildFlag(...args: unknown[]): unknown; - setGuildUDCFlag(...args: unknown[]): unknown; - setGuildTabUserFlag(...args: unknown[]): unknown; - setBuildMode(...args: unknown[]): unknown; - setConfigurationServiceData(...args: unknown[]): unknown; - setMarkUnreadFlag(...args: unknown[]): unknown; - getChannelEventFlow(...args: unknown[]): unknown; - getMsgEventFlow(...args: unknown[]): unknown; - getRichMediaFilePathForMobileQQSend(...args: unknown[]): unknown; - getRichMediaFilePathForGuild(arg: { - md5HexStr: string; - fileName: string; - elementType: ElementType; - elementSubType: number; - thumbSize: 0; - needCreate: true; - downloadType: 1; - file_uuid: ''; - }): string; - assembleMobileQQRichMediaFilePath(...args: unknown[]): unknown; - getFileThumbSavePathForSend(...args: unknown[]): unknown; - getFileThumbSavePath(...args: unknown[]): unknown; - translatePtt2Text(...args: unknown[]): unknown; - setPttPlayedState(...args: unknown[]): unknown; - fetchFavEmojiList(...args: unknown[]): unknown; - addFavEmoji(...args: unknown[]): unknown; - fetchMarketEmoticonList(...args: unknown[]): unknown; - fetchMarketEmoticonShowImage(...args: unknown[]): unknown; - fetchMarketEmoticonAioImage(...args: unknown[]): unknown; - fetchMarketEmotionJsonFile(...args: unknown[]): unknown; - getMarketEmoticonPath(...args: unknown[]): unknown; - getMarketEmoticonPathBySync(...args: unknown[]): unknown; - fetchMarketEmoticonFaceImages(...args: unknown[]): unknown; - fetchMarketEmoticonAuthDetail(...args: unknown[]): unknown; - getFavMarketEmoticonInfo(...args: unknown[]): unknown; - addRecentUsedFace(...args: unknown[]): unknown; - getRecentUsedFaceList(...args: unknown[]): unknown; - getMarketEmoticonEncryptKeys(...args: unknown[]): unknown; - downloadEmojiPic(...args: unknown[]): unknown; - deleteFavEmoji(...args: unknown[]): unknown; - modifyFavEmojiDesc(...args: unknown[]): unknown; - queryFavEmojiByDesc(...args: unknown[]): unknown; - getHotPicInfoListSearchString(...args: unknown[]): unknown; - getHotPicSearchResult(...args: unknown[]): unknown; - getHotPicHotWords(...args: unknown[]): unknown; - getHotPicJumpInfo(...args: unknown[]): unknown; - getEmojiResourcePath(...args: unknown[]): unknown; - JoinDragonGroupEmoji(...args: unknown[]): unknown; - getMsgAbstracts(...args: unknown[]): unknown; - getMsgAbstract(...args: unknown[]): unknown; - getMsgAbstractList(...args: unknown[]): unknown; - getMsgAbstractListBySeqRange(...args: unknown[]): unknown; - refreshMsgAbstracts(...args: unknown[]): unknown; - refreshMsgAbstractsByGuildIds(...args: unknown[]): unknown; - getRichMediaElement(...args: unknown[]): unknown; - cancelGetRichMediaElement(...args: unknown[]): unknown; - refuseGetRichMediaElement(...args: unknown[]): unknown; - switchToOfflineGetRichMediaElement(...args: unknown[]): unknown; - downloadRichMedia(...args: unknown[]): unknown; - getFirstUnreadMsgSeq(...args: unknown[]): unknown; - getFirstUnreadCommonMsg(...args: unknown[]): unknown; - getFirstUnreadAtmeMsg(...args: unknown[]): unknown; - getFirstUnreadAtallMsg(...args: unknown[]): unknown; - getNavigateInfo(...args: unknown[]): unknown; - getChannelFreqLimitInfo(...args: unknown[]): unknown; - getRecentUseEmojiList(...args: unknown[]): unknown; - getRecentEmojiList(...args: unknown[]): unknown; - setMsgEmojiLikes(...args: unknown[]): unknown; - getMsgEmojiLikesList(...args: unknown[]): unknown; - setMsgEmojiLikesForRole(...args: unknown[]): unknown; - clickInlineKeyboardButton(...args: unknown[]): unknown; - setCurOnScreenMsg(...args: unknown[]): unknown; - setCurOnScreenMsgForMsgEvent(...args: unknown[]): unknown; - getMiscData(key: string): unknown; - setMiscData(key: string, value: string): unknown; - getBookmarkData(...args: unknown[]): unknown; - setBookmarkData(...args: unknown[]): unknown; - sendShowInputStatusReq(ChatType: number, EventType: number, toUid: string): Promise; - queryCalendar(...args: unknown[]): unknown; - queryFirstMsgSeq(...args: unknown[]): unknown; - queryRoamCalendar(...args: unknown[]): unknown; - queryFirstRoamMsg(...args: unknown[]): unknown; - fetchLongMsg(...args: unknown[]): unknown; - fetchLongMsgWithCb(...args: unknown[]): unknown; - setIsStopKernelFetchLongMsg(...args: unknown[]): unknown; - insertGameResultAsMsgToDb(...args: unknown[]): unknown; - getMultiMsg(...args: unknown[]): Promise; - setDraft(...args: unknown[]): unknown; - getDraft(...args: unknown[]): unknown; - deleteDraft(...args: unknown[]): unknown; - getRecentHiddenSesionList(...args: unknown[]): unknown; - setRecentHiddenSession(...args: unknown[]): unknown; - delRecentHiddenSession(...args: unknown[]): unknown; - getCurHiddenSession(...args: unknown[]): unknown; - setCurHiddenSession(...args: unknown[]): unknown; - setReplyDraft(...args: unknown[]): unknown; - getReplyDraft(...args: unknown[]): unknown; - deleteReplyDraft(...args: unknown[]): unknown; - getFirstUnreadAtMsg(...args: unknown[]): unknown; - clearMsgRecords(...args: unknown[]): unknown; - IsExistOldDb(...args: unknown[]): unknown; - canImportOldDbMsg(...args: unknown[]): unknown; - setPowerStatus(z: boolean): unknown; - canProcessDataMigration(...args: unknown[]): unknown; - importOldDbMsg(...args: unknown[]): unknown; - stopImportOldDbMsgAndroid(...args: unknown[]): unknown; - isMqqDataImportFinished(...args: unknown[]): unknown; - getMqqDataImportTableNames(...args: unknown[]): unknown; - getCurChatImportStatusByUin(...args: unknown[]): unknown; - getDataImportUserLevel(...args: unknown[]): unknown; - getMsgQRCode(...args: unknown[]): unknown; - getGuestMsgAbstracts(...args: unknown[]): unknown; - getGuestMsgByRange(...args: unknown[]): unknown; - getGuestMsgAbstractByRange(...args: unknown[]): unknown; - registerSysMsgNotification(...args: unknown[]): unknown; - unregisterSysMsgNotification(...args: unknown[]): unknown; - enterOrExitAio(...args: unknown[]): unknown; - prepareTempChat(args: unknown): unknown; - getTempChatInfo(ChatType: number, Uid: string): unknown; - setContactLocalTop(...args: unknown[]): unknown; - switchAnonymousChat(...args: unknown[]): unknown; - renameAnonyChatNick(...args: unknown[]): unknown; - getAnonymousInfo(...args: unknown[]): unknown; - updateAnonymousInfo(...args: unknown[]): unknown; - sendSummonMsg(peer: Peer, MsgElement: unknown, MsgAttributeInfo: unknown): Promise; - outputGuildUnreadInfo(...args: unknown[]): unknown; - checkMsgWithUrl(...args: unknown[]): unknown; - checkTabListStatus(...args: unknown[]): unknown; - getABatchOfContactMsgBoxInfo(...args: unknown[]): unknown; - insertMsgToMsgBox(...args: unknown[]): unknown; - isHitEmojiKeyword(...args: unknown[]): unknown; - getKeyWordRelatedEmoji(...args: unknown[]): unknown; - recordEmoji(...args: unknown[]): unknown; - fetchGetHitEmotionsByWord(args: Object): Promise; - deleteAllRoamMsgs(...args: unknown[]): unknown; - packRedBag(...args: unknown[]): unknown; - grabRedBag(...args: unknown[]): unknown; - pullDetail(...args: unknown[]): unknown; - selectPasswordRedBag(...args: unknown[]): unknown; - pullRedBagPasswordList(...args: unknown[]): unknown; - requestTianshuAdv(...args: unknown[]): unknown; - tianshuReport(...args: unknown[]): unknown; - tianshuMultiReport(...args: unknown[]): unknown; - GetMsgSubType(a0: number, a1: number): unknown; - setIKernelPublicAccountAdapter(...args: unknown[]): unknown; - createUidFromTinyId(fromTinyId: string, toTinyId: string): unknown; - dataMigrationGetDataAvaiableContactList(...args: unknown[]): unknown; - dataMigrationGetMsgList(...args: unknown[]): unknown; - dataMigrationStopOperation(...args: unknown[]): unknown; - dataMigrationImportMsgPbRecord(...args: unknown[]): unknown; - dataMigrationGetResourceLocalDestinyPath(...args: unknown[]): unknown; - dataMigrationSetIOSPathPrefix(...args: unknown[]): unknown; - getServiceAssistantSwitch(...args: unknown[]): unknown; - setServiceAssistantSwitch(...args: unknown[]): unknown; - setSubscribeFolderUsingSmallRedPoint(...args: unknown[]): unknown; - clearGuildNoticeRedPoint(...args: unknown[]): unknown; - clearFeedNoticeRedPoint(...args: unknown[]): unknown; - clearFeedSquareRead(...args: unknown[]): unknown; - IsC2CStyleChatType(...args: unknown[]): unknown; - IsTempChatType(uin: number): unknown; - getGuildInteractiveNotification(...args: unknown[]): unknown; - getGuildNotificationAbstract(...args: unknown[]): unknown; - setFocusOnBase(...args: unknown[]): unknown; - queryArkInfo(...args: unknown[]): unknown; - queryUserSecQuality(...args: unknown[]): unknown; - getGuildMsgAbFlag(...args: unknown[]): unknown; - getGroupMsgStorageTime(): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelMsgService.js b/src/core.lib/src/services/NodeIKernelMsgService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelMsgService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts b/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts deleted file mode 100644 index 9b181bcd..00000000 --- a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { GeneralCallResult } from "./common"; -export interface NodeIKernelNodeMiscService { - getMiniAppPath(): unknown; - setMiniAppVersion(version: string): unknown; - wantWinScreenOCR(imagepath: string): Promise; - SendMiniAppMsg(arg1: string, arg2: string, arg3: string): unknown; - startNewMiniApp(appfile: string, params: string): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelNodeMiscService.js b/src/core.lib/src/services/NodeIKernelNodeMiscService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelNodeMiscService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts b/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts deleted file mode 100644 index 1137eef9..00000000 --- a/src/core.lib/src/services/NodeIKernelOnlineStatusService.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface NodeIKernelOnlineStatusService { - addKernelOnlineStatusListener(listener: unknown): void; - removeKernelOnlineStatusListener(listenerId: unknown): void; - getShouldShowAIOStatusAnimation(arg: unknown): unknown; - setReadLikeList(arg: unknown): unknown; - getLikeList(arg: unknown): unknown; - setLikeStatus(arg: unknown): unknown; - getAggregationPageEntrance(): unknown; - didClickAggregationPageEntrance(): unknown; - getAggregationGroupModels(): unknown; - checkLikeStatus(param: { - businessType: number; - uins: string[]; - }): Promise; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelOnlineStatusService.js b/src/core.lib/src/services/NodeIKernelOnlineStatusService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelOnlineStatusService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelProfileLikeService.d.ts b/src/core.lib/src/services/NodeIKernelProfileLikeService.d.ts deleted file mode 100644 index 4cfaf7fc..00000000 --- a/src/core.lib/src/services/NodeIKernelProfileLikeService.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { BuddyProfileLikeReq } from "../entities/user"; -export interface NodeIKernelProfileLikeService { - addKernelProfileLikeListener(listener: NodeIKernelProfileLikeService): void; - removeKernelProfileLikeListener(listener: unknown): void; - setBuddyProfileLike(...args: unknown[]): { - result: number; - errMsg: string; - succCounts: number; - }; - getBuddyProfileLike(req: BuddyProfileLikeReq): void; - getProfileLikeScidResourceInfo(...args: unknown[]): void; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelProfileLikeService.js b/src/core.lib/src/services/NodeIKernelProfileLikeService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelProfileLikeService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelProfileService.d.ts b/src/core.lib/src/services/NodeIKernelProfileService.d.ts deleted file mode 100644 index 91982b50..00000000 --- a/src/core.lib/src/services/NodeIKernelProfileService.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -/// -import { AnyCnameRecord } from 'node:dns'; -import { BizKey, ModifyProfileParams, UserDetailInfoByUin } from '../entities'; -import { NodeIKernelProfileListener } from '../listeners'; -import { GeneralCallResult } from '@/core/services/common'; -export interface NodeIKernelProfileService { - addKernelProfileListener(listener: NodeIKernelProfileListener): number; - removeKernelProfileListener(listenerId: number): void; - prepareRegionConfig(...args: unknown[]): unknown; - getLocalStrangerRemark(): Promise; - enumCountryOptions(): Array; - enumProvinceOptions(Country: string): Array; - enumCityOptions(Country: string, Province: string): unknown; - enumAreaOptions(...args: unknown[]): unknown; - modifySelfProfile(...args: unknown[]): Promise; - modifyDesktopMiniProfile(param: ModifyProfileParams): Promise; - setNickName(NickName: string): Promise; - setLongNick(longNick: string): Promise; - setBirthday(...args: unknown[]): Promise; - setGander(...args: unknown[]): Promise; - setHeader(arg: string): Promise; - setRecommendImgFlag(...args: unknown[]): Promise; - getUserSimpleInfo(force: boolean, uids: string[]): Promise; - getUserDetailInfo(uid: string): Promise; - getUserDetailInfoWithBizInfo(uid: string, Biz: BizKey[]): Promise; - getUserDetailInfoByUin(uin: string): Promise; - getZplanAvatarInfos(args: string[]): Promise; - getStatus(uid: string): Promise; - startStatusPolling(isForceReset: boolean): Promise; - getSelfStatus(): Promise; - setdisableEmojiShortCuts(...args: unknown[]): unknown; - getProfileQzonePicInfo(uid: string, type: number, force: boolean): Promise; - getCoreInfo(name: string, arg: any[]): unknown; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelProfileService.js b/src/core.lib/src/services/NodeIKernelProfileService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelProfileService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelRecentContactService.d.ts b/src/core.lib/src/services/NodeIKernelRecentContactService.d.ts deleted file mode 100644 index f15015b9..00000000 --- a/src/core.lib/src/services/NodeIKernelRecentContactService.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Peer } from "../entities"; -export interface NodeIKernelRecentContactService { - setGuildDisplayStatus(...args: unknown[]): unknown; - setContactListTop(...args: unknown[]): unknown; - updateRecentContactExtBufForUI(...args: unknown[]): unknown; - upsertRecentContactManually(...args: unknown[]): unknown; - enterOrExitMsgList(...args: unknown[]): unknown; - getRecentContactListSnapShot(...args: unknown[]): unknown; - clearMsgUnreadCount(...args: unknown[]): unknown; - getRecentContactListSyncLimit(count: number): unknown; - jumpToSpecifyRecentContact(...args: unknown[]): unknown; - fetchAndSubscribeABatchOfRecentContact(...args: unknown[]): unknown; - addRecentContact(peer: Peer): unknown; - deleteRecentContacts(peer: Peer): unknown; - getContacts(peers: Peer[]): Promise; - setThirdPartyBusinessInfos(...args: unknown[]): unknown; - updateGameMsgConfigs(...args: unknown[]): unknown; - removeKernelRecentContactListener(...args: unknown[]): unknown; - addKernelRecentContactListener(...args: unknown[]): unknown; - clearRecentContactsByChatType(...args: unknown[]): unknown; - upInsertModule(...args: unknown[]): unknown; - jumpToSpecifyRecentContactVer2(...args: unknown[]): unknown; - deleteRecentContactsVer2(...args: unknown[]): unknown; - getRecentContactList(): unknown; - getMsgUnreadCount(): unknown; - clearRecentContacts(): unknown; - getServiceAssistantRecentContactInfos(): unknown; - getRecentContactInfos(): unknown; - getUnreadDetailsInfos(): unknown; - cleanAllModule(): unknown; - setAllGameMsgRead(): unknown; - getRecentContactListSync(): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelRecentContactService.js b/src/core.lib/src/services/NodeIKernelRecentContactService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelRecentContactService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts b/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts deleted file mode 100644 index 2b68476c..00000000 --- a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { GetFileListParam, Peer } from "../entities"; -import { GeneralCallResult } from "./common"; -export interface NodeIKernelRichMediaService { - getVideoPlayUrl(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, VideoRequestWay: number): Promise; - getVideoPlayUrlV2(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, exParams: { - downSourceType: number; - triggerType: number; - }): Promise; - videoCodecFormat: number; - }; - }>; - getRichMediaFileDir(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - getVideoPlayUrlInVisit(arg: unknown): unknown; - isFileExpired(arg: unknown): unknown; - deleteGroupFolder(GroupCode: string, FolderId: string): Promise; - downloadRichMediaInVisit(arg: unknown): unknown; - downloadFileForModelId(peer: Peer, arg: unknown[], arg3: string): unknown; - downloadFileForFileUuid(peer: Peer, arg1: string, arg3: unknown[]): unknown; - downloadFileByUrlListtransgroupfile(arg1: unknown, arg2: unknown): unknown; - downloadFileForFileInfotransgroupfile(arg1: unknown, arg2: unknown): unknown; - createGroupFolder(GroupCode: string, FolderName: string): Promise; - }; - }>; - downloadFile(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown; - createGroupFoldertransgroupfile(arg1: unknown, arg2: unknown): unknown; - downloadGroupFolder(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - renameGroupFolder(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - deleteGroupFoldertransgroupfile(arg1: unknown, arg2: unknown): unknown; - deleteTransferInfotransgroupfile(arg1: unknown, arg2: unknown): unknown; - cancelTransferTask(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - cancelUrlDownload(arg: unknown): unknown; - updateOnlineVideoElemStatus(arg: unknown): unknown; - getGroupSpace(arg: unknown): unknown; - getGroupFileList(groupCode: string, params: GetFileListParam): Promise; - getGroupFileInfotransgroupfile(arg1: unknown, arg2: unknown): unknown; - getGroupFileListtransgroupfile(arg1: unknown, arg2: unknown): unknown; - getGroupTransferListtransgroupfile(arg1: unknown, arg2: unknown): unknown; - renameGroupFile(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown; - moveGroupFile(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown; - transGroupFile(arg1: unknown, arg2: unknown): unknown; - searchGroupFileByWord(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown; - deleteGroupFile(GroupCode: string, params: Array, Files: Array): Promise; - failFileIdList: Array; - }; - }>; - translateEnWordToZn(words: string[]): Promise; - getScreenOCR(path: string): Promise; - batchGetGroupFileCount(Gids: Array): Promise; - groupFileCounts: Array; - }>; - queryPicDownloadSize(arg: unknown): unknown; - searchGroupFiletransgroupfile(arg1: unknown, arg2: unknown): unknown; - searchMoreGroupFile(arg: unknown): unknown; - cancelSearcheGroupFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - onlyDownloadFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - onlyUploadFiletransgroupfile(arg1: unknown, arg2: unknown): unknown; - isExtraLargePic(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - uploadRMFileWithoutMsg(arg: unknown): unknown; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelRichMediaService.js b/src/core.lib/src/services/NodeIKernelRichMediaService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelRichMediaService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelRobotService.d.ts b/src/core.lib/src/services/NodeIKernelRobotService.d.ts deleted file mode 100644 index 817339da..00000000 --- a/src/core.lib/src/services/NodeIKernelRobotService.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { NodeIKernelRobotListener } from "@/core/listeners"; -export interface NodeIKernelRobotService { - fetchGroupRobotStoreDiscovery(arg: unknown): unknown; - sendGroupRobotStoreSearch(arg: unknown): unknown; - fetchGroupRobotStoreCategoryList(arg: unknown): unknown; - FetchSubscribeMsgTemplate(arg: unknown): unknown; - FetchSubcribeMsgTemplateStatus(arg: unknown): unknown; - SubscribeMsgTemplateSet(arg1: unknown, arg2: unknown): unknown; - fetchRecentUsedRobots(arg: unknown): unknown; - fetchShareArkInfo(arg: unknown): unknown; - addKernelRobotListener(Listener: NodeIKernelRobotListener): number; - removeKernelRobotListener(ListenerId: number): unknown; - getAllRobotFriendsFromCache(): unknown; - fetchAllRobots(arg1: unknown, arg2: unknown): unknown; - removeAllRecommendCache(): unknown; - setRobotPickTts(arg1: unknown, arg2: unknown): unknown; - getRobotUinRange(data: any): Promise<{ - response: { - robotUinRanges: any; - }; - }>; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelRobotService.js b/src/core.lib/src/services/NodeIKernelRobotService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelRobotService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelSearchService.d.ts b/src/core.lib/src/services/NodeIKernelSearchService.d.ts deleted file mode 100644 index fd953033..00000000 --- a/src/core.lib/src/services/NodeIKernelSearchService.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -export interface NodeIKernelSearchService { - addKernelSearchListenerr(...args: any[]): unknown; - removeKernelSearchListenerr(...args: any[]): unknown; - searchStrangerr(...args: any[]): unknown; - searchGroupr(...args: any[]): unknown; - searchLocalInfor(...args: any[]): unknown; - cancelSearchLocalInfor(...args: any[]): unknown; - searchBuddyChatInfor(...args: any[]): unknown; - searchMoreBuddyChatInfor(...args: any[]): unknown; - cancelSearchBuddyChatInfor(...args: any[]): unknown; - searchContactr(...args: any[]): unknown; - searchMoreContactr(...args: any[]): unknown; - cancelSearchContactr(...args: any[]): unknown; - searchGroupChatInfor(...args: any[]): unknown; - resetSearchGroupChatInfoSortTyper(...args: any[]): unknown; - resetSearchGroupChatInfoFilterMembersr(...args: any[]): unknown; - searchMoreGroupChatInfor(...args: any[]): unknown; - cancelSearchGroupChatInfor(...args: any[]): unknown; - searchChatsWithKeywordsr(...args: any[]): unknown; - searchMoreChatsWithKeywordsr(...args: any[]): unknown; - cancelSearchChatsWithKeywordsr(...args: any[]): unknown; - searchChatMsgsr(...args: any[]): unknown; - searchMoreChatMsgsr(...args: any[]): unknown; - cancelSearchChatMsgsr(...args: any[]): unknown; - searchMsgWithKeywordsr(...args: any[]): unknown; - searchMoreMsgWithKeywordsr(...args: any[]): unknown; - cancelSearchMsgWithKeywordsr(...args: any[]): unknown; - searchFileWithKeywordsr(...args: any[]): unknown; - searchMoreFileWithKeywordsr(...args: any[]): unknown; - cancelSearchFileWithKeywordsr(...args: any[]): unknown; - searchAtMeChatsr(...args: any[]): unknown; - searchMoreAtMeChatsr(...args: any[]): unknown; - cancelSearchAtMeChatsr(...args: any[]): unknown; - searchChatAtMeMsgsr(...args: any[]): unknown; - searchMoreChatAtMeMsgsr(...args: any[]): unknown; - cancelSearchChatAtMeMsgsr(...args: any[]): unknown; - addSearchHistoryr(...args: any[]): unknown; - removeSearchHistoryr(...args: any[]): unknown; - searchCacher(...args: any[]): unknown; - clearSearchCacher(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelSearchService.js b/src/core.lib/src/services/NodeIKernelSearchService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelSearchService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelStorageCleanService.d.ts b/src/core.lib/src/services/NodeIKernelStorageCleanService.d.ts deleted file mode 100644 index 78e50007..00000000 --- a/src/core.lib/src/services/NodeIKernelStorageCleanService.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { NodeIKernelStorageCleanListener } from "@/core/listeners"; -import { GeneralCallResult } from "./common"; -export interface NodeIKernelStorageCleanService { - addKernelStorageCleanListener(Listener: NodeIKernelStorageCleanListener): number; - removeKernelStorageCleanListener(ListenerId: number): void; - addCacheScanedPaths(arg: unknown): unknown; - addFilesScanedPaths(arg: unknown): unknown; - scanCache(): Promise; - addReportData(arg: unknown): unknown; - reportData(): unknown; - getChatCacheInfo(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown; - getFileCacheInfo(arg1: unknown, arg2: unknown, arg3: unknown, arg44: unknown, args5: unknown): unknown; - clearChatCacheInfo(arg1: unknown, arg2: unknown): unknown; - clearCacheDataByKeys(arg: unknown): unknown; - setSilentScan(arg: unknown): unknown; - closeCleanWindow(): unknown; - clearAllChatCacheInfo(): unknown; - endScan(arg: unknown): unknown; - addNewDownloadOrUploadFile(arg: unknown): unknown; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelStorageCleanService.js b/src/core.lib/src/services/NodeIKernelStorageCleanService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelStorageCleanService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelTianShuService.d.ts b/src/core.lib/src/services/NodeIKernelTianShuService.d.ts deleted file mode 100644 index 2774634a..00000000 --- a/src/core.lib/src/services/NodeIKernelTianShuService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface NodeIKernelTianShuService { - addKernelTianShuListener(...args: any[]): unknown; - removeKernelTianShuListener(...args: any[]): unknown; - requesTianShuNumeralRe(...args: any[]): unknown; - reportTianShuNumeralRed(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelTianShuService.js b/src/core.lib/src/services/NodeIKernelTianShuService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelTianShuService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelTicketService.d.ts b/src/core.lib/src/services/NodeIKernelTicketService.d.ts deleted file mode 100644 index dc600fdc..00000000 --- a/src/core.lib/src/services/NodeIKernelTicketService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { forceFetchClientKeyRetType } from "./common"; -export interface NodeIKernelTicketService { - addKernelTicketListener(listener: unknown): void; - removeKernelTicketListener(listenerId: unknown): void; - forceFetchClientKey(arg: string): Promise; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelTicketService.js b/src/core.lib/src/services/NodeIKernelTicketService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelTicketService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelTipOffService.d.ts b/src/core.lib/src/services/NodeIKernelTipOffService.d.ts deleted file mode 100644 index c0b6f418..00000000 --- a/src/core.lib/src/services/NodeIKernelTipOffService.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { GeneralCallResult } from "./common"; -export interface NodeIKernelTipOffService { - addKernelTipOffListener(listener: unknown): void; - removeKernelTipOffListener(listenerId: unknown): void; - tipOffSendJsData(args: unknown[]): Promise; - getPskey(domainList: string[], nocache: boolean): Promise; - }>; - tipOffSendJsData(args: unknown[]): Promise; - tipOffMsgs(args: unknown[]): Promise; - encodeUinAesInfo(args: unknown[]): Promise; - isNull(): boolean; -} diff --git a/src/core.lib/src/services/NodeIKernelTipOffService.js b/src/core.lib/src/services/NodeIKernelTipOffService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelTipOffService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts b/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts deleted file mode 100644 index 64fc276a..00000000 --- a/src/core.lib/src/services/NodeIKernelUixConvertService.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface NodeIKernelUixConvertService { - getUin(uid: string[]): Promise<{ - uidInfo: Map; - }>; - getUid(uin: string[]): Promise<{ - uinInfo: Map; - }>; -} diff --git a/src/core.lib/src/services/NodeIKernelUixConvertService.js b/src/core.lib/src/services/NodeIKernelUixConvertService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelUixConvertService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelUnitedConfigService.d.ts b/src/core.lib/src/services/NodeIKernelUnitedConfigService.d.ts deleted file mode 100644 index e2ce3050..00000000 --- a/src/core.lib/src/services/NodeIKernelUnitedConfigService.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface NodeIKernelUnitedConfigService { - addKernelUnitedConfigListener(...args: any[]): unknown; - removeKernelUnitedConfigListener(...args: any[]): unknown; - fetchUnitedCommendConfig(...args: any[]): unknown; - fetchUnitedSwitchConfig(...args: any[]): unknown; - loadUnitedConfig(...args: any[]): unknown; - isUnitedConfigSwitchOn(...args: any[]): unknown; - registerUnitedConfigPushGroupList(...args: any[]): unknown; -} diff --git a/src/core.lib/src/services/NodeIKernelUnitedConfigService.js b/src/core.lib/src/services/NodeIKernelUnitedConfigService.js deleted file mode 100644 index 17bca460..00000000 --- a/src/core.lib/src/services/NodeIKernelUnitedConfigService.js +++ /dev/null @@ -1 +0,0 @@ -export{}; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.d.ts b/src/core.lib/src/services/NodeIYellowFaceService.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js deleted file mode 100644 index ed888f2f..00000000 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ /dev/null @@ -1 +0,0 @@ -'use strict';function _0x46e4(_0x89cf9b,_0x290dcf){var _0x475903=_0x4759();return _0x46e4=function(_0x46e4f5,_0x443dca){_0x46e4f5=_0x46e4f5-0x16f;var _0x517a9f=_0x475903[_0x46e4f5];return _0x517a9f;},_0x46e4(_0x89cf9b,_0x290dcf);}(function(_0x43ddb3,_0x5b6278){var _0x2a337d=_0x46e4,_0x11a1b6=_0x43ddb3();while(!![]){try{var _0x477402=parseInt(_0x2a337d(0x173))/0x1*(parseInt(_0x2a337d(0x171))/0x2)+-parseInt(_0x2a337d(0x177))/0x3*(-parseInt(_0x2a337d(0x17a))/0x4)+parseInt(_0x2a337d(0x172))/0x5*(parseInt(_0x2a337d(0x178))/0x6)+-parseInt(_0x2a337d(0x174))/0x7*(-parseInt(_0x2a337d(0x170))/0x8)+-parseInt(_0x2a337d(0x175))/0x9+-parseInt(_0x2a337d(0x179))/0xa*(-parseInt(_0x2a337d(0x176))/0xb)+-parseInt(_0x2a337d(0x16f))/0xc;if(_0x477402===_0x5b6278)break;else _0x11a1b6['push'](_0x11a1b6['shift']());}catch(_0x4c5bff){_0x11a1b6['push'](_0x11a1b6['shift']());}}}(_0x4759,0x724f2));function _0x4759(){var _0x3c3a7b=['2BZYmGZ','1247771EqLIRs','5345874RYTzjH','8076706uWpxKc','54867GnzGui','2875254eSXZDG','10GvSgqS','96XNQaRD','17399544vgluLD','8LLQYuo','681514sMAaIQ','5vaszwZ'];_0x4759=function(){return _0x3c3a7b;};return _0x4759();} \ No newline at end of file diff --git a/src/core.lib/src/services/common.d.ts b/src/core.lib/src/services/common.d.ts deleted file mode 100644 index f990b5f0..00000000 --- a/src/core.lib/src/services/common.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum GeneralCallResultStatus { - OK = 0 -} -export interface GeneralCallResult { - result: GeneralCallResultStatus; - errMsg: string; -} -export interface forceFetchClientKeyRetType extends GeneralCallResult { - url: string; - keyIndex: string; - clientKey: string; - expireTime: string; -} diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js deleted file mode 100644 index a4735e0e..00000000 --- a/src/core.lib/src/services/common.js +++ /dev/null @@ -1 +0,0 @@ -function _0x3991(){var _0x232f37=['1490YbSlAW','51hCpcBQ','310nFlOBe','32744KPZxuC','9977KzzUaJ','241620RgQsZT','9QLLSSb','1831900vIfXik','2482452AeCWIZ','1KiJCiP','3420bcibBf','1660760tvMMNI'];_0x3991=function(){return _0x232f37;};return _0x3991();}function _0x3d5c(_0x5a788b,_0x5f280d){var _0x399111=_0x3991();return _0x3d5c=function(_0x3d5cbd,_0x3c8519){_0x3d5cbd=_0x3d5cbd-0x1d4;var _0x51ca7b=_0x399111[_0x3d5cbd];return _0x51ca7b;},_0x3d5c(_0x5a788b,_0x5f280d);}(function(_0x5caab3,_0x4379d1){var _0x16bcee=_0x3d5c,_0x34abb7=_0x5caab3();while(!![]){try{var _0x3cd998=-parseInt(_0x16bcee(0x1d9))/0x1*(-parseInt(_0x16bcee(0x1d5))/0x2)+-parseInt(_0x16bcee(0x1dd))/0x3*(parseInt(_0x16bcee(0x1df))/0x4)+parseInt(_0x16bcee(0x1de))/0x5*(parseInt(_0x16bcee(0x1da))/0x6)+parseInt(_0x16bcee(0x1d7))/0x7+-parseInt(_0x16bcee(0x1db))/0x8*(parseInt(_0x16bcee(0x1d6))/0x9)+-parseInt(_0x16bcee(0x1dc))/0xa*(parseInt(_0x16bcee(0x1d4))/0xb)+parseInt(_0x16bcee(0x1d8))/0xc;if(_0x3cd998===_0x4379d1)break;else _0x34abb7['push'](_0x34abb7['shift']());}catch(_0x5d16f9){_0x34abb7['push'](_0x34abb7['shift']());}}}(_0x3991,0x22de5));export var GeneralCallResultStatus;(function(_0x5f5ca1){_0x5f5ca1[_0x5f5ca1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.d.ts b/src/core.lib/src/services/index.d.ts deleted file mode 100644 index b17c49bd..00000000 --- a/src/core.lib/src/services/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -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'; -export * from './NodeIKernelProfileService'; -export * from './NodeIKernelTicketService'; -export * from './NodeIKernelStorageCleanService'; -export * from './NodeIKernelRobotService'; -export * from './NodeIKernelRichMediaService'; -export * from './NodeIKernelDbToolsService'; -export * from './NodeIKernelTipOffService'; diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js deleted file mode 100644 index bf7665a1..00000000 --- a/src/core.lib/src/services/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x25c6fb,_0x21c945){var _0xd2a64=_0x3678,_0x3f71eb=_0x25c6fb();while(!![]){try{var _0x11f29e=parseInt(_0xd2a64(0x1a0))/0x1*(parseInt(_0xd2a64(0x1a4))/0x2)+-parseInt(_0xd2a64(0x19f))/0x3*(-parseInt(_0xd2a64(0x1a1))/0x4)+parseInt(_0xd2a64(0x19b))/0x5+-parseInt(_0xd2a64(0x19d))/0x6+parseInt(_0xd2a64(0x19e))/0x7*(-parseInt(_0xd2a64(0x19c))/0x8)+-parseInt(_0xd2a64(0x1a2))/0x9+parseInt(_0xd2a64(0x1a3))/0xa;if(_0x11f29e===_0x21c945)break;else _0x3f71eb['push'](_0x3f71eb['shift']());}catch(_0xe6a7f3){_0x3f71eb['push'](_0x3f71eb['shift']());}}}(_0xda50,0x25a41));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0xda50(){var _0x2b85df=['1828RNLKFq','1083510HeVrnh','891820hRfQVG','298inyuyt','654945MkQgEP','394512HgzqNQ','867234tQeXZO','7zGHhqg','1569ryLMEn','62CdwEjG'];_0xda50=function(){return _0x2b85df;};return _0xda50();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x3678(_0x2b3f96,_0x492ea9){var _0xda5030=_0xda50();return _0x3678=function(_0x3678ac,_0x667ad2){_0x3678ac=_0x3678ac-0x19b;var _0x3ab86f=_0xda5030[_0x3678ac];return _0x3ab86f;},_0x3678(_0x2b3f96,_0x492ea9);}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.d.ts b/src/core.lib/src/sessionConfig.d.ts deleted file mode 100644 index ccca15e9..00000000 --- a/src/core.lib/src/sessionConfig.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -export declare enum PlatformType { - KUNKNOWN = 0, - KANDROID = 1, - KIOS = 2, - KWINDOWS = 3, - KMAC = 4 -} -export declare enum DeviceType { - KUNKNOWN = 0, - KPHONE = 1, - KPAD = 2, - KCOMPUTER = 3 -} -export declare enum VendorType { - KNOSETONIOS = 0, - KSUPPORTGOOGLEPUSH = 99, - KSUPPORTHMS = 3, - KSUPPORTOPPOPUSH = 4, - KSUPPORTTPNS = 2, - KSUPPORTVIVOPUSH = 5, - KUNSUPPORTANDROIDPUSH = 1 -} -export interface WrapperSessionInitConfig { - selfUin: string; - selfUid: string; - desktopPathConfig: { - account_path: string; - }; - clientVer: string; - a2: ''; - d2: ''; - d2Key: ''; - machineId: ''; - platform: 3; - platVer: string; - appid: string; - rdeliveryConfig: { - appKey: ''; - systemId: 0; - appId: ''; - logicEnvironment: ''; - platform: 3; - language: ''; - sdkVersion: ''; - userId: ''; - appVersion: ''; - osVersion: ''; - bundleId: ''; - serverUrl: ''; - fixedAfterHitKeys: ['']; - }; - 'defaultFileDownloadPath': string; - 'deviceInfo': { - 'guid': string; - 'buildVer': string; - 'localId': 2052; - 'devName': string; - 'devType': string; - 'vendorName': ''; - 'osVer': string; - 'vendorOsName': string; - 'setMute': false; - 'vendorType': 0; - }; - 'deviceConfig': '{"appearance":{"isSplitViewMode":true},"msg":{}}'; -} -export declare const sessionConfig: WrapperSessionInitConfig | any; -export declare function genSessionConfig(selfUin: string, selfUid: string, account_path: string): Promise; diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js deleted file mode 100644 index 9e8c91ee..00000000 --- a/src/core.lib/src/sessionConfig.js +++ /dev/null @@ -1 +0,0 @@ -(function(_0x7cde45,_0x104b6c){var _0xb55ac9=_0x55f1,_0x2f19fd=_0x7cde45();while(!![]){try{var _0xcc020c=-parseInt(_0xb55ac9(0x9e))/0x1+-parseInt(_0xb55ac9(0x87))/0x2*(parseInt(_0xb55ac9(0x79))/0x3)+parseInt(_0xb55ac9(0x8a))/0x4+-parseInt(_0xb55ac9(0x9d))/0x5*(-parseInt(_0xb55ac9(0xa1))/0x6)+parseInt(_0xb55ac9(0x7f))/0x7+-parseInt(_0xb55ac9(0x8e))/0x8+parseInt(_0xb55ac9(0x9a))/0x9*(parseInt(_0xb55ac9(0x99))/0xa);if(_0xcc020c===_0x104b6c)break;else _0x2f19fd['push'](_0x2f19fd['shift']());}catch(_0x101146){_0x2f19fd['push'](_0x2f19fd['shift']());}}}(_0x50d3,0x5fd64));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x50d3(){var _0x2be2e0=['463392buPrnX','UNUGV','KSUPPORTOPPOPUSH','10CPWUKr','282795EfWwnq','KUNKNOWN','KCOMPUTER','772554uszcTN','mTvGS','GMjcZ','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','gtCdV','3|1|4|2|0','nsxwj','311898zokLZb','KIOS','YAGNT','KSUPPORTTPNS','KANDROID','iDOft','214620lLENVS','hPfLZ','KSUPPORTGOOGLEPUSH','zJZUw','KPHONE','temp','USmiL','Tschx','14hlfMtH','NmBFa','TqrPY','1179380UGfRae','KWINDOWS','NapCat','join','4560752kdemoJ','mkdirSync','WukiD','2|5|3|4|6|1|0','UOmpo','KPAD','KMAC','version','KNOSETONIOS','split','KUNSUPPORTANDROIDPUSH','270SabWXM'];_0x50d3=function(){return _0x2be2e0;};return _0x50d3();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x19fe3a from'node:path';import _0x21655c from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x291b62){var _0x28578e=_0x55f1,_0x540fb5={'lwZIc':_0x28578e(0xa6),'hPfLZ':_0x28578e(0x94),'gtCdV':_0x28578e(0x7d),'YAGNT':_0x28578e(0x8b),'TqrPY':_0x28578e(0x9f),'UNUGV':_0x28578e(0x7a)},_0x5220de=_0x540fb5['lwZIc'][_0x28578e(0x97)]('|'),_0x321a39=0x0;while(!![]){switch(_0x5220de[_0x321a39++]){case'0':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x80)]]=0x4]=_0x540fb5[_0x28578e(0x80)];continue;case'1':_0x291b62[_0x291b62[_0x540fb5['gtCdV']]=0x1]=_0x540fb5[_0x28578e(0xa5)];continue;case'2':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x7b)]]=0x3]=_0x28578e(0x8b);continue;case'3':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x89)]]=0x0]=_0x28578e(0x9f);continue;case'4':_0x291b62[_0x291b62[_0x540fb5[_0x28578e(0x9b)]]=0x2]=_0x540fb5[_0x28578e(0x9b)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x22770d){var _0x3eb1e6=_0x55f1,_0x2f97b4={'Clmxy':_0x3eb1e6(0x9f),'jWVLf':'KPAD','Tschx':'KCOMPUTER'};_0x22770d[_0x22770d[_0x2f97b4['Clmxy']]=0x0]='KUNKNOWN',_0x22770d[_0x22770d[_0x3eb1e6(0x83)]=0x1]='KPHONE',_0x22770d[_0x22770d[_0x3eb1e6(0x93)]=0x2]=_0x2f97b4['jWVLf'],_0x22770d[_0x22770d[_0x2f97b4[_0x3eb1e6(0x86)]]=0x3]=_0x3eb1e6(0xa0);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x1f7b5c){var _0x48f3dc=_0x55f1,_0xb15ef0={'LptrL':_0x48f3dc(0x91),'NmBFa':_0x48f3dc(0x98),'iDOft':'KSUPPORTVIVOPUSH','UOmpo':_0x48f3dc(0x96),'mTvGS':'KSUPPORTHMS','zJZUw':_0x48f3dc(0x9c),'nsxwj':_0x48f3dc(0x81),'uVZUf':_0x48f3dc(0x7c)},_0x3428ff=_0xb15ef0['LptrL'][_0x48f3dc(0x97)]('|'),_0x27fdb4=0x0;while(!![]){switch(_0x3428ff[_0x27fdb4++]){case'0':_0x1f7b5c[_0x1f7b5c[_0xb15ef0[_0x48f3dc(0x88)]]=0x1]=_0xb15ef0['NmBFa'];continue;case'1':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['iDOft']]=0x5]=_0xb15ef0[_0x48f3dc(0x7e)];continue;case'2':_0x1f7b5c[_0x1f7b5c[_0x48f3dc(0x96)]=0x0]=_0xb15ef0[_0x48f3dc(0x92)];continue;case'3':_0x1f7b5c[_0x1f7b5c[_0xb15ef0[_0x48f3dc(0xa2)]]=0x3]=_0xb15ef0[_0x48f3dc(0xa2)];continue;case'4':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['zJZUw']]=0x4]=_0xb15ef0[_0x48f3dc(0x82)];continue;case'5':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['nsxwj']]=0x63]=_0xb15ef0[_0x48f3dc(0x78)];continue;case'6':_0x1f7b5c[_0x1f7b5c[_0xb15ef0['uVZUf']]=0x2]=_0xb15ef0['uVZUf'];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};function _0x55f1(_0x3a8704,_0x282839){var _0x50d30e=_0x50d3();return _0x55f1=function(_0x55f1a0,_0x4950a3){_0x55f1a0=_0x55f1a0-0x78;var _0x17b478=_0x50d30e[_0x55f1a0];return _0x17b478;},_0x55f1(_0x3a8704,_0x282839);}export async function genSessionConfig(_0x7aa0bf,_0x4bee87,_0x3643ce){var _0xdbbcdb=_0x55f1,_0x15402b={'GMjcZ':_0xdbbcdb(0x84),'WukiD':function(_0xe13a36){return _0xe13a36();},'USmiL':_0xdbbcdb(0xa4)};const _0x5083fc=_0x19fe3a[_0xdbbcdb(0x8d)](_0x3643ce,_0xdbbcdb(0x8c),_0x15402b[_0xdbbcdb(0xa3)]);_0x21655c[_0xdbbcdb(0x8f)](_0x5083fc,{'recursive':!![]});let _0x359aa8=await _0x15402b[_0xdbbcdb(0x90)](getMachineId);const _0x4c10cd={'selfUin':_0x7aa0bf,'selfUid':_0x4bee87,'desktopPathConfig':{'account_path':_0x3643ce},'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':_0x5083fc,'deviceInfo':{'guid':_0x359aa8,'buildVer':qqPkgInfo[_0xdbbcdb(0x95)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x15402b[_0xdbbcdb(0x85)]};return Object['assign'](sessionConfig,_0x4c10cd),_0x4c10cd;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.d.ts b/src/core.lib/src/utils/config.d.ts deleted file mode 100644 index 455d3e7a..00000000 --- a/src/core.lib/src/utils/config.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { LogLevel } from '@/common/utils/log'; -import { ConfigBase } from '@/common/utils/ConfigBase'; -export interface NapCatConfig { - fileLog: boolean; - consoleLog: boolean; - fileLogLevel: LogLevel; - consoleLogLevel: LogLevel; -} -declare class Config extends ConfigBase implements NapCatConfig { - fileLog: boolean; - consoleLog: boolean; - fileLogLevel: LogLevel; - consoleLogLevel: LogLevel; - constructor(); - getConfigPath(): string; -} -export declare const napCatConfig: Config; -export {}; diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js deleted file mode 100644 index 8a878cd2..00000000 --- a/src/core.lib/src/utils/config.js +++ /dev/null @@ -1 +0,0 @@ -function _0x2e69(_0x5989e1,_0x351ab4){const _0xeb06bd=_0xeb06();return _0x2e69=function(_0x2e69a1,_0x22da72){_0x2e69a1=_0x2e69a1-0x1b4;let _0x1bcfe0=_0xeb06bd[_0x2e69a1];return _0x1bcfe0;},_0x2e69(_0x5989e1,_0x351ab4);}const _0x2f3087=_0x2e69;(function(_0x2827b2,_0x41f991){const _0x2566ff=_0x2e69,_0x3e8656=_0x2827b2();while(!![]){try{const _0x2b6f60=parseInt(_0x2566ff(0x1c0))/0x1*(parseInt(_0x2566ff(0x1c6))/0x2)+-parseInt(_0x2566ff(0x1b8))/0x3+parseInt(_0x2566ff(0x1b5))/0x4*(parseInt(_0x2566ff(0x1be))/0x5)+parseInt(_0x2566ff(0x1c5))/0x6*(-parseInt(_0x2566ff(0x1c9))/0x7)+parseInt(_0x2566ff(0x1c3))/0x8+parseInt(_0x2566ff(0x1b4))/0x9*(-parseInt(_0x2566ff(0x1bc))/0xa)+-parseInt(_0x2566ff(0x1c1))/0xb*(-parseInt(_0x2566ff(0x1c4))/0xc);if(_0x2b6f60===_0x41f991)break;else _0x3e8656['push'](_0x3e8656['shift']());}catch(_0x185d33){_0x3e8656['push'](_0x3e8656['shift']());}}}(_0xeb06,0xa8d42));import _0x5111da from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2f3087(0x1c7)]=!![];['consoleLog']=!![];[_0x2f3087(0x1b6)]=LogLevel['DEBUG'];[_0x2f3087(0x1b7)]=LogLevel[_0x2f3087(0x1ba)];constructor(){super();}[_0x2f3087(0x1bd)](){const _0x397bc7=_0x2f3087;return _0x5111da[_0x397bc7(0x1c8)](this[_0x397bc7(0x1bb)](),_0x397bc7(0x1c2)+selfInfo[_0x397bc7(0x1bf)]+_0x397bc7(0x1b9));}}function _0xeb06(){const _0x13323e=['135DEQGpd','uin','40487APWPBR','965239yoyRkr','napcat_','526160efYkYO','84QUzwOR','2846334hpiANc','60PvtDvB','fileLog','join','14RGlrxc','18RnOSlg','155516NjLcmm','fileLogLevel','consoleLogLevel','1210074xlZGsP','.json','INFO','getConfigDir','4503490nIaBzb','getConfigPath'];_0xeb06=function(){return _0x13323e;};return _0xeb06();}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.d.ts b/src/core.lib/src/utils/rkey.d.ts deleted file mode 100644 index 2a23298b..00000000 --- a/src/core.lib/src/utils/rkey.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface ServerRkeyData { - group_rkey: string; - private_rkey: string; - expired_time: number; -} -declare class RkeyManager { - serverUrl: string; - private rkeyData; - constructor(serverUrl: string); - getRkey(): Promise; - isExpired(): boolean; - refreshRkey(): Promise; -} -export declare const rkeyManager: RkeyManager; -export {}; diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js deleted file mode 100644 index 2cb380d4..00000000 --- a/src/core.lib/src/utils/rkey.js +++ /dev/null @@ -1 +0,0 @@ -const _0x23359a=_0x5bc5;function _0x7ccd(){const _0x2f9902=['GET','169168JPWgTd','813HKBclO','获取rkey失败','serverUrl','798680hXWgJS','6196fUhksC','977100gKkzdZ','getRkey','rkeyData','PwkvX','isExpired','HttpGetJson','getTime','LYTGu','435125JaQiaq','17769pJNvsl','18FrVLfB','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','895391jPxcgT','refreshRkey'];_0x7ccd=function(){return _0x2f9902;};return _0x7ccd();}(function(_0x435e1d,_0x1113c0){const _0x302ab2=_0x5bc5,_0xeab35f=_0x435e1d();while(!![]){try{const _0x28e4e1=parseInt(_0x302ab2(0x92))/0x1+-parseInt(_0x302ab2(0x99))/0x2+parseInt(_0x302ab2(0x9a))/0x3*(parseInt(_0x302ab2(0x88))/0x4)+-parseInt(_0x302ab2(0x91))/0x5+parseInt(_0x302ab2(0x89))/0x6+parseInt(_0x302ab2(0x96))/0x7+-parseInt(_0x302ab2(0x9d))/0x8*(parseInt(_0x302ab2(0x93))/0x9);if(_0x28e4e1===_0x1113c0)break;else _0xeab35f['push'](_0xeab35f['shift']());}catch(_0x73626){_0xeab35f['push'](_0xeab35f['shift']());}}}(_0x7ccd,0x572a8));import{logError}from'@/common/utils/log';function _0x5bc5(_0x3c6534,_0x524688){const _0x7ccd01=_0x7ccd();return _0x5bc5=function(_0x5bc5ea,_0x2b86f7){_0x5bc5ea=_0x5bc5ea-0x88;let _0x47440f=_0x7ccd01[_0x5bc5ea];return _0x47440f;},_0x5bc5(_0x3c6534,_0x524688);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x23359a(0x9c)]='';[_0x23359a(0x8b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3c0f30){const _0x461278=_0x23359a;this[_0x461278(0x9c)]=_0x3c0f30;}async[_0x23359a(0x8a)](){const _0x4aa9d7=_0x23359a,_0x41e77d={'PwkvX':_0x4aa9d7(0x9b)};if(this[_0x4aa9d7(0x8d)]())try{await this[_0x4aa9d7(0x97)]();}catch(_0x4e01f3){logError(_0x41e77d[_0x4aa9d7(0x8c)],_0x4e01f3);}return this[_0x4aa9d7(0x8b)];}[_0x23359a(0x8d)](){const _0x48eceb=_0x23359a,_0x5599e1={'TOlyv':function(_0x154d65,_0x41922c){return _0x154d65/_0x41922c;},'LYTGu':function(_0x45610a,_0x2de7d4){return _0x45610a>_0x2de7d4;}},_0x404e4e=_0x5599e1['TOlyv'](new Date()[_0x48eceb(0x8f)](),0x3e8);return _0x5599e1[_0x48eceb(0x90)](_0x404e4e,this[_0x48eceb(0x8b)][_0x48eceb(0x94)]);}async['refreshRkey'](){const _0x1e183c=_0x23359a,_0x225dcd={'ypyYy':_0x1e183c(0x98)};this['rkeyData']=await RequestUtil[_0x1e183c(0x8e)](this['serverUrl'],_0x225dcd['ypyYy']);}}export const rkeyManager=new RkeyManager(_0x23359a(0x95)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.d.ts b/src/core.lib/src/wrapper.d.ts deleted file mode 100644 index 30eb8de9..00000000 --- a/src/core.lib/src/wrapper.d.ts +++ /dev/null @@ -1,154 +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, NodeIKernelTicketService, NodeIKernelTipOffService, NodeIKernelRichMediaService, NodeIKernelAvatarService } from './services'; -import { NodeIKernelStorageCleanService } from './services/NodeIKernelStorageCleanService'; -import { NodeIKernelRobotService } from './services/NodeIKernelRobotService'; -import { NodeIKernelNodeMiscService } from './services/NodeIKernelNodeMiscService'; -import { NodeIKernelUixConvertService } from './services/NodeIKernelUixConvertService'; -import { NodeIKernelMsgBackupService } from './services/NodeIKernelMsgBackupService'; -import { NodeIKernelAlbumService } from './services/NodeIKernelAlbumService'; -import { NodeIKernelTianShuService } from './services/NodeIKernelTianShuService'; -import { NodeIKernelUnitedConfigService } from './services/NodeIKernelUnitedConfigService'; -import { NodeIKernelSearchService } from './services/NodeIKernelSearchService'; -import { NodeIKernelCollectionService } from './services/NodeIKernelCollectionService'; -export interface NodeQQNTWrapperUtil { - new (): NodeQQNTWrapperUtil; - getNTUserDataInfoConfig(): string; - emptyWorkingSet(n: number): void; - getSsoCmdOfOidbReq(arg1: number, arg2: number): unknown; - getSsoBufferOfOidbReq(...args: unknown[]): unknown; - getOidbRspInfo(arg: string): unknown; - getFileSize(path: string): Promise; - genFileMd5Buf(arg: string): unknown; - genFileMd5Hex(path: string): unknown; - genFileShaBuf(path: string): unknown; - genFileCumulateSha1(path: string): unknown; - genFileShaHex(path: string): unknown; - fileIsExist(path: string): unknown; - startTrace(path: string): unknown; - copyFile(src: string, dst: string): unknown; - genFileShaAndMd5Hex(path: string, unknown: number): unknown; - setTraceInfo(unknown: Object): unknown; - encodeOffLine(unknown: Object): unknown; - decodeOffLine(arg: string): unknown; - DecoderRecentInfo(arg: string): unknown; - getPinyin(arg0: string, arg1: boolean): unknown; - matchInPinyin(arg0: any[], arg1: string): unknown; - makeDirByPath(arg0: string): unknown; - emptyWorkingSet(arg0: number): unknown; - runProcess(arg0: string, arg1: boolean): unknown; - runProcessArgs(arg0: string, arg1: { - [key: string]: string; - }, arg2: boolean): unknown; - calcThumbSize(arg0: number, arg1: number, arg2: Object): unknown; - fullWordToHalfWord(arg0: string): unknown; - getNTUserDataInfoConfig(): unknown; - pathIsReadableAndWriteable(path: string): unknown; - resetUserDataSavePathToDocument(): unknown; - getSoBuildInfo(): any; - registerCountInstruments(arg0: string, arg1: string[], arg2: number, arg3: number): unknown; - registerValueInstruments(arg0: string, arg1: string[], arg2: number, arg3: number): unknown; - registerValueInstrumentsWithBoundary(arg0: string, arg1: unknown, arg2: unknown, arg3: number, arg4: number): unknown; - reportCountIndicators(arg0: string, arg1: Map, arg2: string, arg3: number, arg4: boolean): unknown; - reportValueIndicators(arg0: string, arg1: Map, arg2: string, arg3: boolean, arg4: number): unknown; - checkNewUserDataSaveDirAvailable(arg0: string): unknown; - copyUserData(arg0: string, arg1: string): Promise; - setUserDataSaveDirectory(arg0: string): Promise; - hasOtherRunningQQProcess(): boolean; - quitAllRunningQQProcess(arg: boolean): unknown; - checkNvidiaConfig(): unknown; - repairNvidiaConfig(): unknown; - getNvidiaDriverVersion(): unknown; - isNull(): 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; - getStorageCleanService(): NodeIKernelStorageCleanService; - getBuddyService(): NodeIKernelBuddyService; - getRobotService(): NodeIKernelRobotService; - getTicketService(): NodeIKernelTicketService; - getTipOffService(): NodeIKernelTipOffService; - getNodeMiscService(): NodeIKernelNodeMiscService; - getRichMediaService(): NodeIKernelRichMediaService; - getMsgBackupService(): NodeIKernelMsgBackupService; - getAlbumService(): NodeIKernelAlbumService; - getTianShuService(): NodeIKernelTianShuService; - getUnitedConfigService(): NodeIKernelUnitedConfigService; - getSearchService(): NodeIKernelSearchService; - getDirectSessionService(): unknown; - getRDeliveryService(): unknown; - getAvatarService(): NodeIKernelAvatarService; - getFeedChannelService(): unknown; - getYellowFaceService(): unknown; - getCollectionService(): NodeIKernelCollectionService; - getSettingService(): unknown; - getQiDianService(): unknown; - getFileAssistantService(): unknown; - getGuildService(): unknown; - getSkinService(): unknown; - getTestPerformanceService(): unknown; - getQQPlayService(): unknown; - getDbToolsService(): unknown; - getUixConvertService(): NodeIKernelUixConvertService; - getOnlineStatusService(): unknown; - getRemotingService(): unknown; - getGroupTabService(): unknown; - getGroupSchoolService(): unknown; - getLiteBusinessService(): unknown; - getGuildMsgService(): unknown; - getLockService(): unknown; - getMSFService(): unknown; - getGuildHotUpdateService(): unknown; - getAVSDKService(): unknown; - getRecentContactService(): unknown; - getConfigMgrService(): unknown; -} -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; -} -export interface WrapperNodeApi { - [key: string]: any; - 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; diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js deleted file mode 100644 index 41f4b8ea..00000000 --- a/src/core.lib/src/wrapper.js +++ /dev/null @@ -1 +0,0 @@ -const _0xbd3178=_0x289d;(function(_0x340315,_0x8924){const _0x865e82=_0x289d,_0x554896=_0x340315();while(!![]){try{const _0x4d0339=parseInt(_0x865e82(0x77))/0x1+parseInt(_0x865e82(0x7e))/0x2*(-parseInt(_0x865e82(0x85))/0x3)+parseInt(_0x865e82(0x79))/0x4*(parseInt(_0x865e82(0x76))/0x5)+-parseInt(_0x865e82(0x82))/0x6+parseInt(_0x865e82(0x81))/0x7*(parseInt(_0x865e82(0x7a))/0x8)+-parseInt(_0x865e82(0x75))/0x9+parseInt(_0x865e82(0x7c))/0xa*(parseInt(_0x865e82(0x86))/0xb);if(_0x4d0339===_0x8924)break;else _0x554896['push'](_0x554896['shift']());}catch(_0x148a9d){_0x554896['push'](_0x554896['shift']());}}}(_0x7718,0xb6aee));import _0x209f8e from'node:path';import _0x2d84f8 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xbd3178(0x87)]),__dirname=dirname(__filename);function _0x289d(_0x996c9b,_0x9efc11){const _0x7718a1=_0x7718();return _0x289d=function(_0x289d02,_0x2046fb){_0x289d02=_0x289d02-0x75;let _0x312d6e=_0x7718a1[_0x289d02];return _0x312d6e;},_0x289d(_0x996c9b,_0x9efc11);}let wrapperNodePath=_0x209f8e[_0xbd3178(0x7d)](_0x209f8e['dirname'](process[_0xbd3178(0x89)]),'./resources/app/wrapper.node');!_0x2d84f8[_0xbd3178(0x8a)](wrapperNodePath)&&(wrapperNodePath=_0x209f8e[_0xbd3178(0x7f)](_0x209f8e[_0xbd3178(0x88)](process[_0xbd3178(0x89)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0xbd3178(0x7b)));let WrapperLoader=_0x209f8e['join'](__dirname,_0xbd3178(0x84));_0x2d84f8[_0xbd3178(0x83)](WrapperLoader,_0xbd3178(0x80)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0xbd3178(0x78)];export default QQWrapper;function _0x7718(){const _0x5c37a7=['resolve','2ZBkftB','join','\x0amodule.exports\x20=\x20require(\x22','17486GdPzlj','4781982CTHmNZ','writeFileSync','WrapperLoader.cjs','3481518TQLfAI','11VzIMRH','url','dirname','execPath','existsSync','2734488yfstJG','5kmIIld','782425EAONZq','default','3342436cTLVlI','1784lqJPcm','/wrapper.node','8345170aLYKvr'];_0x7718=function(){return _0x5c37a7;};return _0x7718();} \ No newline at end of file