feat: en2zh
This commit is contained in:
1 parent
cc45325f01
commit
d47eddee5c
52 files changed
+387
-818
No files matched your search
@@ -7,8 +7,8 @@ QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
|
||||
* 优化日志膨胀问题
|
||||
* 在线状态刷新问题修复
|
||||
## 新增与调整
|
||||
* 支持非管理群 本地记录时间数据 (注意备份配置)
|
||||
* 新增翻译接口 Api: /xxxx
|
||||
* 新增群文件管理相关扩胸接口 Api: /xxxx
|
||||
* 支持非管理群 本地记录时间数据 (建议 **备份配置 清空配置 重新配置**)
|
||||
* 新增英译中接口 Api: /translate_en2zh
|
||||
* 新增群文件管理相关扩展接口 Api: /xxxx
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -4,7 +4,6 @@ import sqlite3 from 'sqlite3';
|
||||
import { log, logDebug, logError } from '@/common/utils/log';
|
||||
import { NTQQMsgApi } from '@/core';
|
||||
import LRU from "@/common/utils/LRUCache";
|
||||
import { ob11Config } from '@/onebot11/config';
|
||||
|
||||
export interface IRember {
|
||||
last_sent_time: number;
|
||||
|
||||
+1
-1
Submodule src/core updated: dc6d2ace4d...841da902e3.
@@ -1 +1 @@
|
||||
var _0x4286a3=_0xc001;function _0xc001(_0x4c2239,_0x96eba5){var _0x411e52=_0x411e();return _0xc001=function(_0xc0015f,_0xa050ce){_0xc0015f=_0xc0015f-0x131;var _0x38be80=_0x411e52[_0xc0015f];return _0x38be80;},_0xc001(_0x4c2239,_0x96eba5);}(function(_0x206675,_0x34f075){var _0x5471fa=_0xc001,_0x4a1e1e=_0x206675();while(!![]){try{var _0x27cb7b=-parseInt(_0x5471fa(0x139))/0x1+parseInt(_0x5471fa(0x134))/0x2*(-parseInt(_0x5471fa(0x137))/0x3)+parseInt(_0x5471fa(0x13a))/0x4+-parseInt(_0x5471fa(0x132))/0x5+-parseInt(_0x5471fa(0x138))/0x6*(parseInt(_0x5471fa(0x131))/0x7)+parseInt(_0x5471fa(0x135))/0x8*(-parseInt(_0x5471fa(0x13b))/0x9)+parseInt(_0x5471fa(0x136))/0xa;if(_0x27cb7b===_0x34f075)break;else _0x4a1e1e['push'](_0x4a1e1e['shift']());}catch(_0x138714){_0x4a1e1e['push'](_0x4a1e1e['shift']());}}}(_0x411e,0x450e7));function _0x411e(){var _0x755003=['214781tOSknq','1855195euFZTj','onMSFStatusChange','4714cSbHFO','8KTPhrc','17262790MMMkXf','141PjSgbd','102LdDKde','405414YILiZW','495392pIycFq','1425861FhlsKe','getGroupCode'];_0x411e=function(){return _0x755003;};return _0x411e();}export class DependsAdapter{[_0x4286a3(0x133)](_0x12de58,_0x1f0efe){}['onMSFSsoError'](_0xca0a39){}[_0x4286a3(0x13c)](_0x4c5eb1){}}
|
||||
var _0x126eee=_0x5f1d;(function(_0x5db8c6,_0x1cbf08){var _0x410be2=_0x5f1d,_0x239966=_0x5db8c6();while(!![]){try{var _0x31a2d7=-parseInt(_0x410be2(0x144))/0x1+-parseInt(_0x410be2(0x142))/0x2+parseInt(_0x410be2(0x14c))/0x3*(-parseInt(_0x410be2(0x148))/0x4)+parseInt(_0x410be2(0x143))/0x5*(parseInt(_0x410be2(0x149))/0x6)+parseInt(_0x410be2(0x147))/0x7+parseInt(_0x410be2(0x14d))/0x8*(parseInt(_0x410be2(0x14a))/0x9)+parseInt(_0x410be2(0x14b))/0xa;if(_0x31a2d7===_0x1cbf08)break;else _0x239966['push'](_0x239966['shift']());}catch(_0x197042){_0x239966['push'](_0x239966['shift']());}}}(_0xd009,0xbd39c));function _0x5f1d(_0x51323c,_0x46f2a6){var _0xd009cf=_0xd009();return _0x5f1d=function(_0x5f1d5b,_0x4f7fc9){_0x5f1d5b=_0x5f1d5b-0x141;var _0x3847df=_0xd009cf[_0x5f1d5b];return _0x3847df;},_0x5f1d(_0x51323c,_0x46f2a6);}export class DependsAdapter{[_0x126eee(0x146)](_0x1a639c,_0x4382e4){}[_0x126eee(0x145)](_0x121538){}[_0x126eee(0x141)](_0x178ff7){}}function _0xd009(){var _0x1c47da=['8113470adDLGw','5064ezmWVB','16LmWNTn','getGroupCode','1669988GzyBkM','10ZbrEpj','1451899mPMurV','onMSFSsoError','onMSFStatusChange','8329160mJBrdZ','184VqEHUG','970404zGDHbu','3667113CBoedZ'];_0xd009=function(){return _0x1c47da;};return _0xd009();}
|
||||
@@ -1 +1 @@
|
||||
function _0x21e6(_0x440a57,_0x31f94d){var _0x12f5d4=_0x12f5();return _0x21e6=function(_0x21e66d,_0x4920fd){_0x21e66d=_0x21e66d-0x14d;var _0x526a9e=_0x12f5d4[_0x21e66d];return _0x526a9e;},_0x21e6(_0x440a57,_0x31f94d);}var _0x422013=_0x21e6;(function(_0x2fa66e,_0x22800f){var _0x3c19fc=_0x21e6,_0x156abb=_0x2fa66e();while(!![]){try{var _0x3cc608=parseInt(_0x3c19fc(0x15b))/0x1*(parseInt(_0x3c19fc(0x155))/0x2)+parseInt(_0x3c19fc(0x14f))/0x3*(parseInt(_0x3c19fc(0x14e))/0x4)+-parseInt(_0x3c19fc(0x157))/0x5*(parseInt(_0x3c19fc(0x153))/0x6)+parseInt(_0x3c19fc(0x15a))/0x7+-parseInt(_0x3c19fc(0x159))/0x8*(parseInt(_0x3c19fc(0x154))/0x9)+-parseInt(_0x3c19fc(0x152))/0xa*(-parseInt(_0x3c19fc(0x151))/0xb)+-parseInt(_0x3c19fc(0x14d))/0xc;if(_0x3cc608===_0x22800f)break;else _0x156abb['push'](_0x156abb['shift']());}catch(_0x339181){_0x156abb['push'](_0x156abb['shift']());}}}(_0x12f5,0x2b75c));function _0x12f5(){var _0x19fc02=['595HTUNEc','dispatchCall','647328fnItMm','555324BKjuJv','100sqUxWm','4116228XRMnZq','8ECbvNz','499635BYIhlI','dispatchCallWithJson','11JzQOIl','2169940VldTwi','1338JttKec','27HVAuMI','3218hAtPMn','dispatchRequest'];_0x12f5=function(){return _0x19fc02;};return _0x12f5();}export class DispatcherAdapter{[_0x422013(0x156)](_0x3d7e84){}[_0x422013(0x158)](_0x30bbe4){}[_0x422013(0x150)](_0x37dc2d){}}
|
||||
function _0x44df(){var _0x35a41d=['2214640ubdLyM','7947081PrNagF','1120084fVrExS','307045iZqtAd','431056gcdKYN','9qAeRMY','820yMugzQ','23502CvYXvX','1904014DgXMST','dispatchRequest','dispatchCall'];_0x44df=function(){return _0x35a41d;};return _0x44df();}var _0x4a5017=_0x1d38;function _0x1d38(_0x2f882,_0x3010ad){var _0x44df80=_0x44df();return _0x1d38=function(_0x1d3836,_0x595a23){_0x1d3836=_0x1d3836-0x93;var _0x209346=_0x44df80[_0x1d3836];return _0x209346;},_0x1d38(_0x2f882,_0x3010ad);}(function(_0x4c8a41,_0x4d8dc2){var _0x18fa89=_0x1d38,_0x4865de=_0x4c8a41();while(!![]){try{var _0x13548a=parseInt(_0x18fa89(0x9c))/0x1+parseInt(_0x18fa89(0x99))/0x2+parseInt(_0x18fa89(0x93))/0x3*(-parseInt(_0x18fa89(0x9b))/0x4)+-parseInt(_0x18fa89(0x94))/0x5*(parseInt(_0x18fa89(0x95))/0x6)+-parseInt(_0x18fa89(0x96))/0x7+parseInt(_0x18fa89(0x9d))/0x8+parseInt(_0x18fa89(0x9a))/0x9;if(_0x13548a===_0x4d8dc2)break;else _0x4865de['push'](_0x4865de['shift']());}catch(_0x33ae5b){_0x4865de['push'](_0x4865de['shift']());}}}(_0x44df,0x91b43));export class DispatcherAdapter{[_0x4a5017(0x97)](_0x5dfd6f){}[_0x4a5017(0x98)](_0x4b38c4){}['dispatchCallWithJson'](_0x5899ff){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x2939c5=_0x5c92;function _0x444e(){var _0x387a96=['onGetOfflineMsg','508976CqGqPD','841056SpHjYV','1885953bvARcY','5vuDhBq','onUpdateGeneralFlag','539562iegsWb','1666696qZNLIt','1553646RwuGaH','300720tYgvjB'];_0x444e=function(){return _0x387a96;};return _0x444e();}function _0x5c92(_0x2b8964,_0x500df2){var _0x444e11=_0x444e();return _0x5c92=function(_0x5c92b2,_0x348f8a){_0x5c92b2=_0x5c92b2-0x96;var _0x5f1f53=_0x444e11[_0x5c92b2];return _0x5f1f53;},_0x5c92(_0x2b8964,_0x500df2);}(function(_0x12f213,_0x5b3c66){var _0x4b9e50=_0x5c92,_0x1df8cf=_0x12f213();while(!![]){try{var _0x3543f2=parseInt(_0x4b9e50(0x96))/0x1+-parseInt(_0x4b9e50(0x9b))/0x2+-parseInt(_0x4b9e50(0x98))/0x3+parseInt(_0x4b9e50(0x9c))/0x4+parseInt(_0x4b9e50(0x99))/0x5*(parseInt(_0x4b9e50(0x9d))/0x6)+-parseInt(_0x4b9e50(0x9e))/0x7+parseInt(_0x4b9e50(0x97))/0x8;if(_0x3543f2===_0x5b3c66)break;else _0x1df8cf['push'](_0x1df8cf['shift']());}catch(_0x48230a){_0x1df8cf['push'](_0x1df8cf['shift']());}}}(_0x444e,0x550ab));export class GlobalAdapter{['onLog'](..._0x134cfe){}['onGetSrvCalTime'](..._0x1ad4a8){}['onShowErrUITips'](..._0x4efcf4){}['fixPicImgType'](..._0x361410){}['getAppSetting'](..._0x59b72d){}['onInstallFinished'](..._0x5a6e5c){}[_0x2939c5(0x9a)](..._0x48be09){}[_0x2939c5(0x9f)](..._0x430918){}}
|
||||
function _0x14de(_0x346ab5,_0x27feb7){var _0x347850=_0x3478();return _0x14de=function(_0x14de00,_0x9cd929){_0x14de00=_0x14de00-0x1b3;var _0xae6a32=_0x347850[_0x14de00];return _0xae6a32;},_0x14de(_0x346ab5,_0x27feb7);}function _0x3478(){var _0x4d483e=['onUpdateGeneralFlag','onShowErrUITips','12KDbIfE','getAppSetting','28711qzOBKw','9052OoQAUn','fixPicImgType','133795trHMZO','198947KuuBlN','406390wOzHoU','onLog','6736Dxbgps','51XUgDtU','2430nCwvOT','255312xMhRgt'];_0x3478=function(){return _0x4d483e;};return _0x3478();}var _0x30880a=_0x14de;(function(_0x3a221f,_0x591bc7){var _0x208965=_0x14de,_0x3883b3=_0x3a221f();while(!![]){try{var _0x4c6e16=-parseInt(_0x208965(0x1bf))/0x1*(-parseInt(_0x208965(0x1bd))/0x2)+-parseInt(_0x208965(0x1b8))/0x3*(-parseInt(_0x208965(0x1c0))/0x4)+parseInt(_0x208965(0x1b3))/0x5+parseInt(_0x208965(0x1ba))/0x6+parseInt(_0x208965(0x1b4))/0x7+-parseInt(_0x208965(0x1b7))/0x8*(parseInt(_0x208965(0x1b9))/0x9)+parseInt(_0x208965(0x1b5))/0xa;if(_0x4c6e16===_0x591bc7)break;else _0x3883b3['push'](_0x3883b3['shift']());}catch(_0x337963){_0x3883b3['push'](_0x3883b3['shift']());}}}(_0x3478,0x1dba8));export class GlobalAdapter{[_0x30880a(0x1b6)](..._0x167ecd){}['onGetSrvCalTime'](..._0x3c9aff){}[_0x30880a(0x1bc)](..._0x4db9f6){}[_0x30880a(0x1c1)](..._0x5f18c2){}[_0x30880a(0x1be)](..._0x38e69f){}['onInstallFinished'](..._0x1c34ba){}[_0x30880a(0x1bb)](..._0xf01101){}['onGetOfflineMsg'](..._0x37b194){}}
|
||||
@@ -1 +1 @@
|
||||
(function(_0x2ea151,_0x55cc34){var _0x38d405=_0x57a7,_0x4d6dfb=_0x2ea151();while(!![]){try{var _0x27d103=-parseInt(_0x38d405(0x1bd))/0x1*(-parseInt(_0x38d405(0x1c2))/0x2)+parseInt(_0x38d405(0x1bb))/0x3*(-parseInt(_0x38d405(0x1be))/0x4)+-parseInt(_0x38d405(0x1bf))/0x5*(-parseInt(_0x38d405(0x1c3))/0x6)+-parseInt(_0x38d405(0x1c0))/0x7+-parseInt(_0x38d405(0x1bc))/0x8+parseInt(_0x38d405(0x1c4))/0x9+-parseInt(_0x38d405(0x1c1))/0xa*(parseInt(_0x38d405(0x1c5))/0xb);if(_0x27d103===_0x55cc34)break;else _0x4d6dfb['push'](_0x4d6dfb['shift']());}catch(_0x4b2257){_0x4d6dfb['push'](_0x4d6dfb['shift']());}}}(_0x36fd,0x53bf0));export*from'./NodeIDependsAdapter';function _0x57a7(_0x100c5a,_0x54ff5f){var _0x36fd98=_0x36fd();return _0x57a7=function(_0x57a7aa,_0x1efa11){_0x57a7aa=_0x57a7aa-0x1bb;var _0x34959b=_0x36fd98[_0x57a7aa];return _0x34959b;},_0x57a7(_0x100c5a,_0x54ff5f);}export*from'./NodeIDispatcherAdapter';function _0x36fd(){var _0x309643=['35vQBpsy','1740284LmgFVU','1020940gmwWOG','1232aIFRDL','474072xaKzGu','4018950PKMWYM','33BpnFdQ','27339bOcqOC','1411032ZtBdjU','136cixToE','4niHgnn'];_0x36fd=function(){return _0x309643;};return _0x36fd();}export*from'./NodeIGlobalAdapter';
|
||||
(function(_0x4cbb32,_0x3ea3e4){var _0x362609=_0x524e,_0x549216=_0x4cbb32();while(!![]){try{var _0x532254=parseInt(_0x362609(0x10b))/0x1+-parseInt(_0x362609(0x10c))/0x2*(-parseInt(_0x362609(0x10d))/0x3)+-parseInt(_0x362609(0x10e))/0x4*(parseInt(_0x362609(0x110))/0x5)+-parseInt(_0x362609(0x107))/0x6+-parseInt(_0x362609(0x108))/0x7*(parseInt(_0x362609(0x106))/0x8)+-parseInt(_0x362609(0x10a))/0x9*(parseInt(_0x362609(0x109))/0xa)+parseInt(_0x362609(0x10f))/0xb;if(_0x532254===_0x3ea3e4)break;else _0x549216['push'](_0x549216['shift']());}catch(_0x57c085){_0x549216['push'](_0x549216['shift']());}}}(_0x3e21,0x1c0b6));function _0x524e(_0x3d1dd2,_0x32bf77){var _0x3e2139=_0x3e21();return _0x524e=function(_0x524e30,_0x2ff165){_0x524e30=_0x524e30-0x106;var _0x4ba468=_0x3e2139[_0x524e30];return _0x4ba468;},_0x524e(_0x3d1dd2,_0x32bf77);}function _0x3e21(){var _0x34f17a=['835508Tovnhf','5735125ykvlCu','5tNjpAl','48dMAbpH','1293444jjwRFn','129094QVmTht','190030iSyqEw','27wijmFk','184631yXnxnc','122acjENG','48PwUwoe'];_0x3e21=function(){return _0x34f17a;};return _0x3e21();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';
|
||||
@@ -1 +1 @@
|
||||
const _0x55bf23=_0x309b;(function(_0x1e5f3e,_0x11d954){const _0x3a8fd9=_0x309b,_0x6b6c48=_0x1e5f3e();while(!![]){try{const _0x304267=-parseInt(_0x3a8fd9(0x184))/0x1+parseInt(_0x3a8fd9(0x183))/0x2*(parseInt(_0x3a8fd9(0x17e))/0x3)+parseInt(_0x3a8fd9(0x146))/0x4+parseInt(_0x3a8fd9(0x18a))/0x5*(-parseInt(_0x3a8fd9(0x176))/0x6)+parseInt(_0x3a8fd9(0x145))/0x7+parseInt(_0x3a8fd9(0x175))/0x8+-parseInt(_0x3a8fd9(0x171))/0x9;if(_0x304267===_0x11d954)break;else _0x6b6c48['push'](_0x6b6c48['shift']());}catch(_0x164b91){_0x6b6c48['push'](_0x6b6c48['shift']());}}}(_0x4b7d,0x7561b));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xc33a9e from'path';import _0x194602 from'fs';import _0x51289b from'fs/promises';function _0x309b(_0x5411ff,_0x3c284d){const _0x4b7d54=_0x4b7d();return _0x309b=function(_0x309b7c,_0xaa3dff){_0x309b7c=_0x309b7c-0x143;let _0x5a311c=_0x4b7d54[_0x309b7c];return _0x5a311c;},_0x309b(_0x5411ff,_0x3c284d);}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x422dd5 from'file-type';import{MsgListener}from'@/core/listeners';function _0x4b7d(){const _0x5e59db=['delete','unlink','indexOf','392504sunuXl','2194732WxBveF','getChatCacheList','getRkey','ZYcOT','onRichMediaDownloadComplete','LjnmI','RRPXL','basename','tsKWI','downloadRichMedia','&rkey=','下载超时','getStorageCleanService','existsSync','getDesktopTmpPath','getRichMediaFilePathForGuild','MZNbB','clearCache','lhntQ','session','SinJG','HqPdx','ext','PqYKt','BgPux','addCacheScannedPaths','scanCache','getImageUrl','originImageUrl','getImageSize','getChatCacheInfo','getFileCacheInfo','/download','VCkwo','filePath','startsWith','hotUpdate','getCacheSessionPathList','getFileSize','private_rkey','defaultFileDownloadPath','toUpperCase','set','3060927Itmpuo','copyFile','clearCacheDataByKeys','downloadMedia','4951488fPtkZZ','5874TmoVck','IGetM','onLoginSuccess','mIbVI','addListener','FAKTz','md5HexStr','图片url获取失败','3RreJkS','UAvVb','/gchatpic_new/0/0-0-','getFileType','util','98364crEOaG','257154AKNFJx','setCacheSilentScan','getHotUpdateCachePath','PIC','getMsgService','clearChatCacheInfo','995ddeOsR','clearChatCache'];_0x4b7d=function(){return _0x5e59db;};return _0x4b7d();}import _0x219445 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[_0x55bf23(0x14a)]=_0x30e1e9=>{const _0x1c8d6b=_0x55bf23,_0xd71df5={'BgPux':function(_0x4d57ee,_0x5393ba){return _0x4d57ee(_0x5393ba);}};for(const [_0x840339,_0x232915]of downloadMediaTasks){_0xd71df5[_0x1c8d6b(0x15e)](_0x232915,_0x30e1e9),downloadMediaTasks[_0x1c8d6b(0x18c)](_0x840339);}},setTimeout(()=>{const _0x14d545=_0x55bf23;napCatCore[_0x14d545(0x178)](()=>{const _0x222fa4=_0x14d545;napCatCore[_0x222fa4(0x17a)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x55bf23(0x181)](_0x296b01){return _0x422dd5['fileTypeFromFile'](_0x296b01);}static async[_0x55bf23(0x172)](_0x2b3e0c,_0x40e90b){const _0x41737f=_0x55bf23;await napCatCore[_0x41737f(0x182)][_0x41737f(0x172)](_0x2b3e0c,_0x40e90b);}static async[_0x55bf23(0x16c)](_0x54e9f){const _0x39c469=_0x55bf23;return await napCatCore[_0x39c469(0x182)]['getFileSize'](_0x54e9f);}static async['uploadFile'](_0x13eabc,_0x5c94e5=ElementType[_0x55bf23(0x187)],_0x263c29=0x0){const _0x1b9026=_0x55bf23,_0x41a1e0={'MZNbB':function(_0x572f59,_0x24ca78){return _0x572f59(_0x24ca78);},'FAKTz':function(_0x1f874b,_0x56add6){return _0x1f874b+_0x56add6;},'qCePU':function(_0x4ef9d7,_0x5f372d){return _0x4ef9d7===_0x5f372d;}},_0x343d6c=await _0x41a1e0[_0x1b9026(0x156)](calculateFileMD5,_0x13eabc);let _0x1c3003=(await NTQQFileApi[_0x1b9026(0x181)](_0x13eabc))?.[_0x1b9026(0x15c)]||'';_0x1c3003&&(_0x1c3003=_0x41a1e0[_0x1b9026(0x17b)]('.',_0x1c3003));let _0x5af45c=''+_0xc33a9e[_0x1b9026(0x14d)](_0x13eabc);_0x41a1e0['qCePU'](_0x5af45c[_0x1b9026(0x144)]('.'),-0x1)&&(_0x5af45c+=_0x1c3003);const _0x53f56c=napCatCore[_0x1b9026(0x159)]['getMsgService']()[_0x1b9026(0x155)]({'md5HexStr':_0x343d6c,'fileName':_0x5af45c,'elementType':_0x5c94e5,'elementSubType':_0x263c29,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x13eabc,_0x53f56c);const _0x3fc91e=await NTQQFileApi['getFileSize'](_0x13eabc);return{'md5':_0x343d6c,'fileName':_0x5af45c,'path':_0x53f56c,'fileSize':_0x3fc91e,'ext':_0x1c3003};}static async[_0x55bf23(0x174)](_0x46fce2,_0x41129a,_0x464b01,_0x56c4a5,_0x54d114,_0x2364e1,_0x115766=0x3e8*0x3c*0x2,_0x3ecd86=![]){const _0x1375d7=_0x55bf23,_0xed1a71={'PqYKt':function(_0x3e3bbb,_0x57af12){return _0x3e3bbb===_0x57af12;}};if(_0x2364e1&&_0x194602[_0x1375d7(0x153)](_0x2364e1)){if(_0x3ecd86)try{await _0x51289b[_0x1375d7(0x143)](_0x2364e1);}catcLine truncated
|
||||
const _0x1e0da9=_0x2ced;(function(_0x6d05a0,_0x89ffc0){const _0x4c552b=_0x2ced,_0x1e4bce=_0x6d05a0();while(!![]){try{const _0x320214=parseInt(_0x4c552b(0x1b6))/0x1+-parseInt(_0x4c552b(0x1ab))/0x2*(-parseInt(_0x4c552b(0x1a8))/0x3)+parseInt(_0x4c552b(0x1c8))/0x4+parseInt(_0x4c552b(0x1cd))/0x5+-parseInt(_0x4c552b(0x1c0))/0x6*(-parseInt(_0x4c552b(0x1cb))/0x7)+parseInt(_0x4c552b(0x1a0))/0x8*(-parseInt(_0x4c552b(0x1a6))/0x9)+-parseInt(_0x4c552b(0x1bd))/0xa*(parseInt(_0x4c552b(0x1d4))/0xb);if(_0x320214===_0x89ffc0)break;else _0x1e4bce['push'](_0x1e4bce['shift']());}catch(_0x549661){_0x1e4bce['push'](_0x1e4bce['shift']());}}}(_0x275d,0xb16a0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x275d(){const _0x477ab9=['getRkey','&rkey=','getMsgService','/download','729EnVdKM','getRichMediaFilePathForGuild','219WkEXPQ','iHoKU','indexOf','514BWBaPP','Ukrwq','getStorageCleanService','includes','set','KdvIR','PIC','md5HexStr','clearChatCacheInfo','getFileSize','filePath','189487oqtbYz','下载超时','getFileType','private_rkey','onLoginSuccess','getFileCacheInfo','lhuwO','50jVqhsj','startsWith','jXOtN','18QdwZLn','toUpperCase','addCacheScannedPaths','existsSync','downloadRichMedia','/gchatpic_new/0/0-0-','msgId','UEonW','3362076DNmTVo','scanCache','copyFile','2070341wtTphn','getChatCacheInfo','3029250WsuHNE','lBIxH','setCacheSilentScan','getChatCacheList','getCacheSessionPathList','basename','addCacheScanedPaths','2377562BjGBLk','group_rkey','LHQoH','defaultFileDownloadPath','uploadFile','session','join','72544vhelTU','clearChatCache'];_0x275d=function(){return _0x477ab9;};return _0x275d();}import _0x42ad16 from'path';import _0x249557 from'fs';import _0xd40143 from'fs/promises';function _0x2ced(_0x563d46,_0x42c9e1){const _0x275d4f=_0x275d();return _0x2ced=function(_0x2ced78,_0x133912){_0x2ced78=_0x2ced78-0x19a;let _0x3564e1=_0x275d4f[_0x2ced78];return _0x3564e1;},_0x2ced(_0x563d46,_0x42c9e1);}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x31ed7c from'file-type';import{MsgListener}from'@/core/listeners';import _0x1f40e4 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['onRichMediaDownloadComplete']=_0x28bc61=>{for(const [_0x356a49,_0x26800d]of downloadMediaTasks){_0x26800d(_0x28bc61),downloadMediaTasks['delete'](_0x356a49);}},setTimeout(()=>{const _0x4713ac=_0x2ced;napCatCore[_0x4713ac(0x1ba)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1e0da9(0x1b8)](_0x3de202){return _0x31ed7c['fileTypeFromFile'](_0x3de202);}static async[_0x1e0da9(0x1ca)](_0xfdbdf8,_0x345767){const _0x5ed788=_0x1e0da9;await napCatCore['util'][_0x5ed788(0x1ca)](_0xfdbdf8,_0x345767);}static async[_0x1e0da9(0x1b4)](_0x1c1647){const _0x7e9e1f=_0x1e0da9;return await napCatCore['util'][_0x7e9e1f(0x1b4)](_0x1c1647);}static async[_0x1e0da9(0x19d)](_0x4e5b69,_0x195503=ElementType[_0x1e0da9(0x1b1)],_0x1758de=0x0){const _0xe93516=_0x1e0da9,_0x3edb2f={'APjDi':function(_0x219a1d,_0x2ed707){return _0x219a1d(_0x2ed707);},'jXOtN':function(_0xdd3dff,_0x449046){return _0xdd3dff+_0x449046;},'hyuYW':function(_0x5b00ea,_0x10e995){return _0x5b00ea===_0x10e995;}},_0x6ba3fc=await _0x3edb2f['APjDi'](calculateFileMD5,_0x4e5b69);let _0xb12f28=(await NTQQFileApi[_0xe93516(0x1b8)](_0x4e5b69))?.['ext']||'';_0xb12f28&&(_0xb12f28=_0x3edb2f[_0xe93516(0x1bf)]('.',_0xb12f28));let _0xf2e2=''+_0x42ad16[_0xe93516(0x1d2)](_0x4e5b69);_0x3edb2f['hyuYW'](_0xf2e2[_0xe93516(0x1aa)]('.'),-0x1)&&(_0xf2e2+=_0xb12f28);const _0x1de1b7=napCatCore[_0xe93516(0x19e)][_0xe93516(0x1a4)]()[_0xe93516(0x1a7)]({'md5HexStr':_0x6ba3fc,'fileName':_0xf2e2,'elementType':_0x195503,'elementSubType':_0x1758de,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0xe93516(0x1ca)](_0x4e5b69,_0x1de1b7);const _0x18c15f=await NTQQFileApi[_0xe93516(0x1b4)](_0x4e5b69);return{'md5':_0x6ba3fc,'fileName':_0xf2e2,'path':_0x1de1b7,'fileSize':_0x18c15f,'ext':_0xb12f28};}static async['downloadMedia'](_0x4ac64e,_0x4ba3d6,_0x3dde59,_0x4315e3,_0x4973ac,_0x2b07c3,_0xa18bd9=0x3e8*0x3c*0x2,_0x50b229=![]){const _0xf42596=_0x1e0da9,_0x202161={'KdvIR':function(_0x47438f,_0x5ac6a8){return _0x47438f===_0x5ac6a8;},'lhuwO':function(_0x36fae3,_0x2ab3db){return _0x36fae3(_0x2ab3db);},'iHoKU':_0xf42596(0x1b7),'cvWEF':function(_0x39159a,_0xc8639,_0x266923){return _0x39159a(_0xc8639,_0x266923);}};if(_0x2b07c3&&_0x249557[_0xf42596(0x1c3)](_0x2b07c3)){if(_0x50b229)try{await _0xd40143['unlink'](_0x2b07c3);}catch(_0x5658ad){}else return _0x2b07c3;}return new Promise((_0x57ba29,_0x3f8ce0)=>{const _0xfcd27=_0xf42596;let _0x6cae2a=![];const _0x525432=_0x4ce162=>{const _0xf17Line truncated
|
||||
@@ -1 +1 @@
|
||||
const _0x457e45=_0x4e0e;function _0x4b5b(){const _0x240b2b=['getBuddyService','uin','set','AKKSa','234905esmYTn','getFriends','handleFriendRequest','获取好友列表超时','then','24826QGlpMc','delete','reqTime','KdUKu','2718HumsHl','6MgUQiL','809763HqUALi','1595344wOHVui','push','uid','getBuddyList','qsLsI','onBuddyListChange','31AXCCFJ','NzWmT','2280061jdrGaL','approvalFriendRequest','16cTHQou','2765609liXDhA','onLoginSuccess','7500rqLYqO','friendUid','session'];_0x4b5b=function(){return _0x240b2b;};return _0x4b5b();}(function(_0xd63ec6,_0x2cba24){const _0x245a4a=_0x4e0e,_0x9931d6=_0xd63ec6();while(!![]){try{const _0x479e62=-parseInt(_0x245a4a(0x1e6))/0x1*(-parseInt(_0x245a4a(0x1f9))/0x2)+parseInt(_0x245a4a(0x1df))/0x3+parseInt(_0x245a4a(0x1ea))/0x4*(parseInt(_0x245a4a(0x1f4))/0x5)+-parseInt(_0x245a4a(0x1fe))/0x6*(parseInt(_0x245a4a(0x1e8))/0x7)+parseInt(_0x245a4a(0x1e0))/0x8+parseInt(_0x245a4a(0x1fd))/0x9*(-parseInt(_0x245a4a(0x1ed))/0xa)+-parseInt(_0x245a4a(0x1eb))/0xb;if(_0x479e62===_0x2cba24)break;else _0x9931d6['push'](_0x9931d6['shift']());}catch(_0x1bfb06){_0x9931d6['push'](_0x9931d6['shift']());}}}(_0x4b5b,0x3a358));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x4e0e(_0x492aba,_0x2490de){const _0x4b5b78=_0x4b5b();return _0x4e0e=function(_0x4e0ec9,_0x351c9d){_0x4e0ec9=_0x4e0ec9-0x1df;let _0x4612a2=_0x4b5b78[_0x4e0ec9];return _0x4612a2;},_0x4e0e(_0x492aba,_0x2490de);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x457e45(0x1e5)]=_0x1c2a8e=>{const _0x323186=_0x457e45,_0x3c7104={'HvjSC':function(_0x4f1440,_0x4d9691){return _0x4f1440(_0x4d9691);}};for(const [_0x5efea5,_0x480780]of buddyChangeTasks){_0x3c7104['HvjSC'](_0x480780,_0x1c2a8e),buddyChangeTasks[_0x323186(0x1fa)](_0x5efea5);}},setTimeout(()=>{const _0x377492=_0x457e45;napCatCore[_0x377492(0x1ec)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x457e45(0x1f5)](_0xb2ddf2=![]){const _0x328b82=_0x457e45,_0x1ce56b={'qsLsI':function(_0x4702e9,_0x283231){return _0x4702e9(_0x283231);},'KdUKu':_0x328b82(0x1f7),'NzWmT':function(_0x846f01,_0x413925){return _0x846f01(_0x413925);},'AKKSa':function(_0x40b5f6,_0x5b741f,_0x5ebbb3){return _0x40b5f6(_0x5b741f,_0x5ebbb3);}};return new Promise((_0x5ac26f,_0x263ade)=>{const _0x5d8984=_0x328b82;let _0x24f5a8=![];_0x1ce56b[_0x5d8984(0x1f3)](setTimeout,()=>{const _0x14e176=_0x5d8984;!_0x24f5a8&&(_0x1ce56b[_0x14e176(0x1e4)](logDebug,_0x1ce56b[_0x14e176(0x1fc)]),_0x1ce56b[_0x14e176(0x1e4)](_0x263ade,_0x14e176(0x1f7)));},0x1388);const _0x2a1e1e=[],_0x2b2771=_0x1b6532=>{const _0x4e755a=_0x5d8984;for(const _0x136476 of _0x1b6532){for(const _0x233f4d of _0x136476['buddyList']){_0x2a1e1e[_0x4e755a(0x1e1)](_0x233f4d),uid2UinMap[_0x233f4d[_0x4e755a(0x1e2)]]=_0x233f4d[_0x4e755a(0x1f1)];}}_0x24f5a8=!![],_0x1ce56b[_0x4e755a(0x1e7)](_0x5ac26f,_0x2a1e1e);};buddyChangeTasks[_0x5d8984(0x1f2)](randomUUID(),_0x2b2771),napCatCore[_0x5d8984(0x1ef)][_0x5d8984(0x1f0)]()[_0x5d8984(0x1e3)](_0xb2ddf2)[_0x5d8984(0x1f8)](_0x1d398c=>{logDebug('开始获取好友列表',_0x1d398c);});});}static async[_0x457e45(0x1f6)](_0x209772,_0x81cd4b){const _0x3648ed=_0x457e45;napCatCore[_0x3648ed(0x1ef)]['getBuddyService']()?.[_0x3648ed(0x1e9)]({'friendUid':_0x209772[_0x3648ed(0x1ee)],'reqTime':_0x209772[_0x3648ed(0x1fb)],'accept':_0x81cd4b});}}
|
||||
const _0x43710c=_0x766a;(function(_0x5d2c5f,_0x4e45ec){const _0x3eb2f9=_0x766a,_0x581ad2=_0x5d2c5f();while(!![]){try{const _0x1d9872=-parseInt(_0x3eb2f9(0xbb))/0x1*(parseInt(_0x3eb2f9(0xb2))/0x2)+parseInt(_0x3eb2f9(0xa9))/0x3+-parseInt(_0x3eb2f9(0xa8))/0x4*(parseInt(_0x3eb2f9(0xad))/0x5)+parseInt(_0x3eb2f9(0xae))/0x6+parseInt(_0x3eb2f9(0x9d))/0x7+parseInt(_0x3eb2f9(0x9f))/0x8*(parseInt(_0x3eb2f9(0xb3))/0x9)+parseInt(_0x3eb2f9(0xa2))/0xa*(parseInt(_0x3eb2f9(0xa0))/0xb);if(_0x1d9872===_0x4e45ec)break;else _0x581ad2['push'](_0x581ad2['shift']());}catch(_0x3ab830){_0x581ad2['push'](_0x581ad2['shift']());}}}(_0x22f2,0x40bb8));import{BuddyListener,napCatCore}from'@/core';function _0x22f2(){const _0x3a25d5=['then','getBuddyService','794ITlKLp','wsotR','gyOWr','84560GCxPLE','delete','135416BNfgCy','55PJLgsU','onLoginSuccess','412310ijDHIm','set','uin','XkbEr','获取好友列表超时','approvalFriendRequest','1572204KZAspA','1142403touZIa','getBuddyList','session','mjbSL','5hTxbar','1020816ohYhpf','PfDSE','reqTime','BzUPq','578gLdfIY','63QAbbjL','friendUid','开始获取好友列表','getFriends','buddyList','handleFriendRequest'];_0x22f2=function(){return _0x3a25d5;};return _0x22f2();}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x766a(_0x256bb4,_0x3dd66c){const _0x22f2a4=_0x22f2();return _0x766a=function(_0x766ada,_0x36f789){_0x766ada=_0x766ada-0x9c;let _0x116422=_0x22f2a4[_0x766ada];return _0x116422;},_0x766a(_0x256bb4,_0x3dd66c);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x2897ca=>{const _0x99fade=_0x766a;for(const [_0x46636e,_0x15a4da]of buddyChangeTasks){_0x15a4da(_0x2897ca),buddyChangeTasks[_0x99fade(0x9e)](_0x46636e);}},setTimeout(()=>{const _0x2759aa=_0x766a;napCatCore[_0x2759aa(0xa1)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x43710c(0xb6)](_0x5461c4=![]){const _0x710332=_0x43710c,_0x91173b={'mjbSL':function(_0x20b27d,_0x4ca90a,_0x49120a){return _0x20b27d(_0x4ca90a,_0x49120a);},'BzUPq':_0x710332(0xb5),'XkbEr':function(_0x409751,_0x4b1253){return _0x409751(_0x4b1253);},'gyOWr':function(_0x14bf5c){return _0x14bf5c();}};return new Promise((_0x20effb,_0xcbcd09)=>{const _0xf7f2bc=_0x710332,_0x460482={'wsotR':function(_0x2e0db8,_0x137f01){const _0x4c65bc=_0x766a;return _0x91173b[_0x4c65bc(0xa5)](_0x2e0db8,_0x137f01);},'PfDSE':_0xf7f2bc(0xa6)};let _0xe2b618=![];_0x91173b['mjbSL'](setTimeout,()=>{const _0x234852=_0xf7f2bc;!_0xe2b618&&(_0x460482[_0x234852(0xbc)](logDebug,_0x460482[_0x234852(0xaf)]),_0xcbcd09(_0x460482[_0x234852(0xaf)]));},0x1388);const _0x51b9a=[],_0x369ff1=_0x582613=>{const _0x22d7bd=_0xf7f2bc;for(const _0x21a558 of _0x582613){for(const _0x17a8a0 of _0x21a558[_0x22d7bd(0xb7)]){_0x51b9a['push'](_0x17a8a0),uid2UinMap[_0x17a8a0['uid']]=_0x17a8a0[_0x22d7bd(0xa4)];}}_0xe2b618=!![],_0x460482[_0x22d7bd(0xbc)](_0x20effb,_0x51b9a);};buddyChangeTasks[_0xf7f2bc(0xa3)](_0x91173b[_0xf7f2bc(0x9c)](randomUUID),_0x369ff1),napCatCore['session']['getBuddyService']()[_0xf7f2bc(0xaa)](_0x5461c4)[_0xf7f2bc(0xb9)](_0x497b0f=>{const _0x583384=_0xf7f2bc;_0x91173b[_0x583384(0xac)](logDebug,_0x91173b[_0x583384(0xb1)],_0x497b0f);});});}static async[_0x43710c(0xb8)](_0x4d5015,_0x163383){const _0x2090a8=_0x43710c;napCatCore[_0x2090a8(0xab)][_0x2090a8(0xba)]()?.[_0x2090a8(0xa7)]({'friendUid':_0x4d5015[_0x2090a8(0xb4)],'reqTime':_0x4d5015[_0x2090a8(0xb0)],'accept':_0x163383});}}
|
||||
@@ -1 +1 @@
|
||||
const _0x1411f5=_0x1cb9;(function(_0x49162c,_0x46f52c){const _0x4fa21f=_0x1cb9,_0x156345=_0x49162c();while(!![]){try{const _0x3390c8=-parseInt(_0x4fa21f(0x200))/0x1+-parseInt(_0x4fa21f(0x1e3))/0x2*(parseInt(_0x4fa21f(0x1c8))/0x3)+-parseInt(_0x4fa21f(0x1e1))/0x4*(-parseInt(_0x4fa21f(0x1d6))/0x5)+parseInt(_0x4fa21f(0x203))/0x6+-parseInt(_0x4fa21f(0x1cb))/0x7+parseInt(_0x4fa21f(0x1ce))/0x8*(-parseInt(_0x4fa21f(0x1e2))/0x9)+-parseInt(_0x4fa21f(0x1d3))/0xa*(-parseInt(_0x4fa21f(0x1eb))/0xb);if(_0x3390c8===_0x46f52c)break;else _0x156345['push'](_0x156345['shift']());}catch(_0x3f7c4f){_0x156345['push'](_0x156345['shift']());}}}(_0x29fd,0x7b3ad));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x29fd(){const _0x469ca4=['uin','12312iMWZey','获取群列表超时','获取群成员列表出错,','wFzBn','iqoda','2260610rBSyoj','lSZjF','set','35xqbwQE','type','setGroupTitle','NCWkc','onGroupListUpdate','errCode','setGroupName','groupCode','groupMemberList_MainWindow','modifyMemberCardName','uploadGroupBulletinPic','564116lRHhmr','4185KpLHGL','369346nijsFd','setGroupShutUp','modifyGroupName','delete','setMemberShutUp','result','cDUUp','qun.qq.com','44RcJHcv','lmPPk','BlOVr','hdzfN','session','dwZhV','group','createMemberListScene','getPSkey','getGroupMembers','IPzIt','getGroupService','publishGroupBulletin','modifyMemberRole','errMsg','onLoginSuccess','tfJZS','addListener','setMemberCard','operateSysNotify','quitGroup','68874RZcIWd','kickMember','getGroups','1524360AOajmB','setMemberRole','infos','getSingleScreenNotifies','获取群系统消息列表超时','mEmQA','3lHnCZb','getGroupList','banMember','4701032nkJXsz','getGroupIgnoreNotifies'];_0x29fd=function(){return _0x469ca4;};return _0x29fd();}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';function _0x1cb9(_0x572ade,_0x543ac1){const _0x29fdee=_0x29fd();return _0x1cb9=function(_0x1cb912,_0x383162){_0x1cb912=_0x1cb912-0x1c8;let _0x200c2b=_0x29fdee[_0x1cb912];return _0x200c2b;},_0x1cb9(_0x572ade,_0x543ac1);}const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupSingleScreenNotifies']=(_0x36eb23,_0x4f642e,_0x16a475)=>{const _0x1d3479={'PDFNk':function(_0x1115fd,_0x122d8a,_0x3bd284,_0xa4e36b){return _0x1115fd(_0x122d8a,_0x3bd284,_0xa4e36b);}};for(const [_0x2faa6c,_0x4aad5d]of SingleScreenNotifiesTasks){_0x1d3479['PDFNk'](_0x4aad5d,_0x36eb23,_0x4f642e,_0x16a475),groupMemberTasks['delete'](_0x2faa6c);}},groupListener[_0x1411f5(0x1da)]=(_0x1343c7,_0x31f38d)=>{const _0x58b6f4=_0x1411f5,_0xbad26b={'lSZjF':function(_0x5c10bc,_0x54473f,_0xad94b7){return _0x5c10bc(_0x54473f,_0xad94b7);}};for(const [_0x5e0523,_0xdfe8eb]of groupMemberTasks){_0xbad26b[_0x58b6f4(0x1d4)](_0xdfe8eb,_0x1343c7,_0x31f38d),groupMemberTasks[_0x58b6f4(0x1e6)](_0x5e0523);}},setTimeout(()=>{const _0x34108d=_0x1411f5;napCatCore[_0x34108d(0x1fa)](()=>{const _0x39a6bf=_0x34108d;napCatCore[_0x39a6bf(0x1fc)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x1411f5(0x202)](_0xcd7e48=![]){const _0x52c6a0=_0x1411f5,_0x468dfe={'IPzIt':_0x52c6a0(0x1cf),'wFzBn':function(_0x23bde6,_0x3ba604){return _0x23bde6(_0x3ba604);},'dwZhV':'获取群列表完成','sZqoH':function(_0x581881,_0x36236f,_0x4ce65c){return _0x581881(_0x36236f,_0x4ce65c);}};let _0x543571=![];return new Promise((_0x2a6e4d,_0x25efd3)=>{const _0x56fde2=_0x52c6a0,_0x2f9688={'iqoda':_0x468dfe[_0x56fde2(0x1f0)]};_0x468dfe['sZqoH'](setTimeout,()=>{const _0x210365=_0x56fde2;!_0x543571&&(logDebug(_0x468dfe[_0x210365(0x1f5)]),_0x468dfe[_0x210365(0x1d1)](_0x25efd3,_0x468dfe[_0x210365(0x1f5)]));},0x1388);const _0x8f94f=(_0x1f2586,_0x13305d)=>{const _0x53e48a=_0x56fde2;_0x543571=!![],logDebug(_0x2f9688[_0x53e48a(0x1d2)],_0x13305d),_0x2a6e4d(_0x13305d);};groupMemberTasks[_0x56fde2(0x1d5)](randomUUID(),_0x8f94f),napCatCore['session']['getGroupService']()[_0x56fde2(0x1c9)](_0xcd7e48)['then']();});}static async[_0x1411f5(0x206)](_0x14c631){const _0x10f1a4=_0x1411f5,_0x11cfd6={'ObVLs':function(_0x4ee12f,_0x2f9739){return _0x4ee12f(_0x2f9739);},'lmPPk':_0x10f1a4(0x207),'rauAF':function(_0x2d70a9,_0x4af3f4){return _0x2d70a9(_0x4af3f4);},'NCWkc':function(_0x49676f,_0x459b14,_0x528223){return _0x49676f(_0x459b14,_0x528223);}},_0x256b64=napCatCore['session'][_0x10f1a4(0x1f6)]();return new Promise((_0x42aab0,_0x5ec90b)=>{const _0x1bfc28=_0x10f1a4,_0x41fd3f={'cDUUp':function(_0x401b07,_0x33e8cc){return _0x11cfd6['rauAF'](_0x401b07,_0x33e8cc);}};let _0x1e2aff=![];_0x11cfd6[_0x1bfc28(0x1d9)](setTimeout,()=>{const _0x335306=_0x1bfc28;!_0x1e2aff&&_0x11cfd6['ObVLs'](_0x5ec90b,_0x11cfd6[_0x335306(0x1ec)]);},0x1388);const _0x4efdae=(_0x5c5bc3,_0x491c86,_0x42e957)=>{const _0x4e3d71=_0x1bfc28;_0x1e2aff=!![],_0x41fd3f[_0x4e3d71(0x1e9)](_0x42aab0,_0x42e957);};SingleScreenNotifiesTasks[_0x1bfc28(0x1d5)](randomUUID(),_0x4efdae),_0x256b64[_0x1bfc28(0x206)](![],'',_0x14c631);});}static async[_0x1411f5(0xLine truncated
|
||||
const _0x4cf0ca=_0x5d56;(function(_0x45b392,_0x43e4dc){const _0x2f9368=_0x5d56,_0x5104b5=_0x45b392();while(!![]){try{const _0x3b5e28=-parseInt(_0x2f9368(0x135))/0x1*(-parseInt(_0x2f9368(0x130))/0x2)+parseInt(_0x2f9368(0x103))/0x3*(parseInt(_0x2f9368(0x10d))/0x4)+parseInt(_0x2f9368(0x110))/0x5*(-parseInt(_0x2f9368(0x141))/0x6)+-parseInt(_0x2f9368(0x138))/0x7*(-parseInt(_0x2f9368(0x13d))/0x8)+-parseInt(_0x2f9368(0x119))/0x9*(parseInt(_0x2f9368(0x137))/0xa)+-parseInt(_0x2f9368(0x11e))/0xb+parseInt(_0x2f9368(0x123))/0xc*(parseInt(_0x2f9368(0x117))/0xd);if(_0x3b5e28===_0x43e4dc)break;else _0x5104b5['push'](_0x5104b5['shift']());}catch(_0x552cae){_0x5104b5['push'](_0x5104b5['shift']());}}}(_0x4fe9,0x5291b));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();function _0x4fe9(){const _0x1863e2=['kickMember','getGroupMembers','xjdms','1662177BJoEYX','获取群系统消息列表超时','session','获取群列表完成','QDfxa','onGroupSingleScreenNotifies','modifyGroupName','getSingleScreenNotifies','getPSkey','operateSysNotify','4TuYnoz','createMemberListScene','handleGroupRequest','3067105eSIuRQ','result','banGroup','nWpsf','getGroupNotifies','sFwAr','onLoginSuccess','4783987hhvtnf','setGroupShutUp','2003013mHSBUi','groupCode','errMsg','modifyMemberRole','type','6709263AIqmRO','tuuVH','QPGyK','quitGroup','ocFAi','12nPCeSA','dnZwi','uploadGroupBulletinPic','set','forEach','cEBmW','errCode','setGroupTitle','getGroupService','groupMemberList_MainWindow','ORvQu','qun.qq.com','gTBna','18pcxKfm','publishGroupBulletin','获取群列表超时','uin','infos','64453ifvHok','获取群成员列表出错,','10JWLRKn','7uUbZUm','getGroupIgnoreNotifies','seq','QNNjb','delete','2255832mvelRm','setMemberCard','onGroupListUpdate','addListener','6aKrIJP','getNextMemberList','then'];_0x4fe9=function(){return _0x1863e2;};return _0x4fe9();}function _0x5d56(_0x75ac4a,_0xa3d961){const _0x4fe957=_0x4fe9();return _0x5d56=function(_0x5d562e,_0x5e7422){_0x5d562e=_0x5d562e-0x103;let _0x4b5189=_0x4fe957[_0x5d562e];return _0x4b5189;},_0x5d56(_0x75ac4a,_0xa3d961);}groupListener[_0x4cf0ca(0x108)]=(_0x8c9813,_0x5b566b,_0x41b662)=>{const _0x15b338=_0x4cf0ca,_0x1f6e4a={'ORvQu':function(_0x2d1f03,_0x3d418b,_0x1b7163,_0x4ceb80){return _0x2d1f03(_0x3d418b,_0x1b7163,_0x4ceb80);}};for(const [_0x1f7d71,_0x5d7858]of SingleScreenNotifiesTasks){_0x1f6e4a[_0x15b338(0x12d)](_0x5d7858,_0x8c9813,_0x5b566b,_0x41b662),groupMemberTasks[_0x15b338(0x13c)](_0x1f7d71);}},groupListener[_0x4cf0ca(0x13f)]=(_0x205d01,_0x1e246b)=>{const _0x13a486=_0x4cf0ca,_0x30f6d0={'dQwcQ':function(_0x3dc064,_0xcaf1ee,_0x3d8eda){return _0x3dc064(_0xcaf1ee,_0x3d8eda);}};for(const [_0x1c1b48,_0x2368d8]of groupMemberTasks){_0x30f6d0['dQwcQ'](_0x2368d8,_0x205d01,_0x1e246b),groupMemberTasks[_0x13a486(0x13c)](_0x1c1b48);}},setTimeout(()=>{const _0xda435c=_0x4cf0ca;napCatCore[_0xda435c(0x116)](()=>{const _0x32a8f6=_0xda435c;napCatCore[_0x32a8f6(0x140)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x46b890=![]){const _0x257be8=_0x4cf0ca,_0x319034={'xjdms':_0x257be8(0x132),'QNNjb':function(_0x1080ce,_0xbfa575,_0x2777bc){return _0x1080ce(_0xbfa575,_0x2777bc);},'sFwAr':_0x257be8(0x106),'oXAHE':function(_0x532266){return _0x532266();}};let _0x265343=![];return new Promise((_0x4bd0b9,_0x1b80a0)=>{const _0x398dab=_0x257be8;setTimeout(()=>{const _0x265694=_0x5d56;!_0x265343&&(logDebug(_0x319034['xjdms']),_0x1b80a0(_0x319034[_0x265694(0x146)]));},0x1388);const _0x46ae1e=(_0x2cef47,_0x3e73c9)=>{const _0x184c1a=_0x5d56;_0x265343=!![],_0x319034[_0x184c1a(0x13b)](logDebug,_0x319034[_0x184c1a(0x115)],_0x3e73c9),_0x4bd0b9(_0x3e73c9);};groupMemberTasks['set'](_0x319034['oXAHE'](randomUUID),_0x46ae1e),napCatCore[_0x398dab(0x105)]['getGroupService']()['getGroupList'](_0x46b890)[_0x398dab(0x143)]();});}static async['getSingleScreenNotifies'](_0x5a65bb){const _0x56d33f=_0x4cf0ca,_0x35ae8e={'tuuVH':function(_0x25105a,_0x15afd3){return _0x25105a(_0x15afd3);},'WAuhR':_0x56d33f(0x104),'pXAFu':function(_0x4141a7,_0x58a1c6,_0x48e949){return _0x4141a7(_0x58a1c6,_0x48e949);},'QDfxa':function(_0xe93f56){return _0xe93f56();}},_0x586401=napCatCore[_0x56d33f(0x105)][_0x56d33f(0x12b)]();return new Promise((_0x41e0d5,_0x59db1b)=>{const _0x38982a=_0x56d33f,_0x3e58c0={'lHrvI':function(_0x1382ca,_0x5af385){const _0x3057b4=_0x5d56;return _0x35ae8e[_0x3057b4(0x11f)](_0x1382ca,_0x5af385);}};let _0x41cb92=![];_0x35ae8e['pXAFu'](setTimeout,()=>{const _0x2c6930=_0x5d56;!_0x41cb92&&_0x35ae8e[_0x2c6930(0x11f)](_0x59db1b,_0x35ae8e['WAuhR']);},0x1388);const _0x1b6599=(_0x389bd8,_0x29a1c1,_0x5a9d62)=>{_0x41cb92=!![],_0x3e58c0['lHrvI'](_0x41e0d5,_0x5a9d62);};SingleScreenNotifiesTasks[_0x38982a(0x126)](_0x35ae8e[_0x38982a(0x107)](randomUUID),_0x1b6599),_0x586401[_0x38982a(Line truncated
|
||||
@@ -1 +1 @@
|
||||
function _0x5ba2(_0x46f271,_0x2cb014){var _0xff0d5d=_0xff0d();return _0x5ba2=function(_0x5ba2eb,_0x49c143){_0x5ba2eb=_0x5ba2eb-0xf7;var _0xb88bf3=_0xff0d5d[_0x5ba2eb];return _0xb88bf3;},_0x5ba2(_0x46f271,_0x2cb014);}(function(_0x418628,_0x3389d7){var _0x1546c0=_0x5ba2,_0x2b3a41=_0x418628();while(!![]){try{var _0x2ff6c0=-parseInt(_0x1546c0(0x101))/0x1*(-parseInt(_0x1546c0(0xf9))/0x2)+-parseInt(_0x1546c0(0x100))/0x3+-parseInt(_0x1546c0(0xf7))/0x4*(-parseInt(_0x1546c0(0xfd))/0x5)+parseInt(_0x1546c0(0xf8))/0x6*(parseInt(_0x1546c0(0xfa))/0x7)+parseInt(_0x1546c0(0xfc))/0x8+parseInt(_0x1546c0(0xfb))/0x9*(-parseInt(_0x1546c0(0xff))/0xa)+-parseInt(_0x1546c0(0xfe))/0xb;if(_0x2ff6c0===_0x3389d7)break;else _0x2b3a41['push'](_0x2b3a41['shift']());}catch(_0x524e16){_0x2b3a41['push'](_0x2b3a41['shift']());}}}(_0xff0d,0x2a687));function _0xff0d(){var _0x5cccba=['29844QHxsui','6rDqvXb','378eiptyC','409419yEpXuL','421808IXoyws','895hdAsXd','3359642GSqgVP','20pCLJNx','499728nKzdWv','110828nvUMqs','1852szNlXq'];_0xff0d=function(){return _0x5cccba;};return _0xff0d();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
|
||||
function _0x1945(_0x443539,_0x43d363){var _0x324caa=_0x324c();return _0x1945=function(_0x1945e3,_0x3013e6){_0x1945e3=_0x1945e3-0x10c;var _0x43c094=_0x324caa[_0x1945e3];return _0x43c094;},_0x1945(_0x443539,_0x43d363);}(function(_0x1891fb,_0x421bf1){var _0x1579c2=_0x1945,_0x403871=_0x1891fb();while(!![]){try{var _0x171503=parseInt(_0x1579c2(0x115))/0x1*(parseInt(_0x1579c2(0x110))/0x2)+-parseInt(_0x1579c2(0x114))/0x3*(parseInt(_0x1579c2(0x10e))/0x4)+parseInt(_0x1579c2(0x10d))/0x5+-parseInt(_0x1579c2(0x112))/0x6+parseInt(_0x1579c2(0x113))/0x7+-parseInt(_0x1579c2(0x111))/0x8+-parseInt(_0x1579c2(0x10c))/0x9*(parseInt(_0x1579c2(0x10f))/0xa);if(_0x171503===_0x421bf1)break;else _0x403871['push'](_0x403871['shift']());}catch(_0x11b9b4){_0x403871['push'](_0x403871['shift']());}}}(_0x324c,0xaedec));export*from'./file';export*from'./friend';function _0x324c(){var _0x3393b3=['735957cEOrkH','963635bTkmgi','29060lKHZhu','60ueqnZL','148ThuoCA','350392riXLlI','5559306qKVHxm','7682710KtBrbD','9qiABbX','12281AhGnws'];_0x324c=function(){return _0x3393b3;};return _0x324c();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
|
||||
@@ -1 +1 @@
|
||||
const _0x48d236=_0x2e0f;function _0x2e0f(_0x241dc5,_0x1a326c){const _0x943275=_0x9432();return _0x2e0f=function(_0x2e0f92,_0x5a01c1){_0x2e0f92=_0x2e0f92-0x14d;let _0x11129d=_0x943275[_0x2e0f92];return _0x11129d;},_0x2e0f(_0x241dc5,_0x1a326c);}(function(_0x1d6e0a,_0x18adc8){const _0x2242dc=_0x2e0f,_0x261c5f=_0x1d6e0a();while(!![]){try{const _0x4bb907=-parseInt(_0x2242dc(0x161))/0x1*(parseInt(_0x2242dc(0x16c))/0x2)+parseInt(_0x2242dc(0x174))/0x3+parseInt(_0x2242dc(0x171))/0x4*(parseInt(_0x2242dc(0x15c))/0x5)+parseInt(_0x2242dc(0x16b))/0x6*(parseInt(_0x2242dc(0x17d))/0x7)+parseInt(_0x2242dc(0x152))/0x8+parseInt(_0x2242dc(0x181))/0x9+-parseInt(_0x2242dc(0x165))/0xa;if(_0x4bb907===_0x18adc8)break;else _0x261c5f['push'](_0x261c5f['shift']());}catch(_0x4cc4a0){_0x261c5f['push'](_0x261c5f['shift']());}}}(_0x9432,0xd9678));function _0x9432(){const _0x692cdd=['onAddSendMsg','multiForwardMsgWithComment','addListener','com.tencent.multimsg','GYcow','getMsgHistory','find','WBUfw','TEdnz','KrdrB','setMsgRead','getMultiMsg','sendMsg','4906096TOmyhP','foBHP','nick','juUuv','setEmojiLike','yPrMQ','getMsgsByMsgId','dEtAJ','VxbbD','parse','590UQokaw','arkElement','zGxzY','msgId','session','52859Fekhzi','onLoginSuccess','nQHoG','elements','28350460rTJamY','NNzni','uid','getMsgService','set','forwardMsg','9055710BtmoSQ','24lJzGfB','sendStatus','getMsgsBySeqAndCount','catch','peerUid','25796CecsJy','then','WJtXb','1612848wnKGWQ','lQpZZ','LnQsQ','recallMsg','KcCxh','setMsgEmojiLikes','tNqhy','chatType','onMsgInfoListUpdate','7AnDPMb','activateChatAndGetHistory','fetchRecentContact','forEach','8448273dzjEUr'];_0x9432=function(){return _0x692cdd;};return _0x9432();}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';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x48d236(0x182)]=_0x1861a2=>{const _0x44fbe1=_0x48d236,_0x4df7b8={'lQpZZ':function(_0x4a656c,_0x2050ca){return _0x4a656c(_0x2050ca);},'WPdju':function(_0x4a0e73,_0x1a9c64){return _0x4a0e73 instanceof _0x1a9c64;}};for(const [_0x44d69f,_0x5e8456]of sentMsgTasks){_0x4df7b8[_0x44fbe1(0x175)](_0x5e8456,_0x1861a2),sentMsgTasks['delete'](_0x44d69f);}if(sendMessagePool[_0x1861a2[_0x44fbe1(0x170)]]){const _0x41cf3c=sendMessagePool[_0x1861a2[_0x44fbe1(0x170)]]?.(_0x1861a2);_0x4df7b8['WPdju'](_0x41cf3c,Promise)&&_0x41cf3c[_0x44fbe1(0x172)]()[_0x44fbe1(0x16f)](logError);}},msgListener[_0x48d236(0x17c)]=_0x12b44f=>{const _0x259da8=_0x48d236,_0x3fa3c5={'mVBHl':function(_0x4456d6,_0x2081f7){return _0x4456d6(_0x2081f7);},'KlmUi':function(_0x205f8a,_0x5ab890){return _0x205f8a instanceof _0x5ab890;},'ihJNl':function(_0x256393,_0x512fbd){return _0x256393(_0x512fbd);}};_0x12b44f[_0x259da8(0x180)](_0x2d7084=>{const _0x244683=_0x259da8;new Promise((_0x402a7d,_0x29d3b2)=>{const _0x351d2a=_0x2e0f;for(const _0x3a0b0f in sendSuccessCBMap){const _0x5b30a7=sendSuccessCBMap[_0x3a0b0f],_0x319007=_0x3fa3c5['mVBHl'](_0x5b30a7,_0x2d7084),_0x44f70b=_0x5b11f5=>{_0x5b11f5&&delete sendSuccessCBMap[_0x3a0b0f];};_0x3fa3c5['KlmUi'](_0x319007,Promise)?_0x319007[_0x351d2a(0x172)](_0x44f70b):_0x3fa3c5['ihJNl'](_0x44f70b,_0x319007);}})[_0x244683(0x172)]()[_0x244683(0x16f)](log);});},setTimeout(()=>{const _0x301b7c=_0x48d236;napCatCore[_0x301b7c(0x162)](()=>{const _0xeafadd=_0x301b7c;napCatCore[_0xeafadd(0x184)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x48d236(0x156)](_0xb76078,_0x5bb283,_0x3d2f49,_0x27e3a4=!![]){const _0x18142a=_0x48d236,_0x323124={'GYcow':function(_0x246af2,_0x236f96){return _0x246af2>_0x236f96;}};return _0x3d2f49=_0x3d2f49['toString'](),napCatCore[_0x18142a(0x160)][_0x18142a(0x168)]()[_0x18142a(0x179)](_0xb76078,_0x5bb283,_0x3d2f49,_0x323124[_0x18142a(0x186)](_0x3d2f49['length'],0x3)?'2':'1',_0x27e3a4);}static async[_0x48d236(0x150)](_0x9a6b2e,_0x3ead61,_0x298689){const _0x57cc34=_0x48d236;return napCatCore[_0x57cc34(0x160)][_0x57cc34(0x168)]()[_0x57cc34(0x150)](_0x9a6b2e,_0x3ead61,_0x298689);}static async[_0x48d236(0x158)](_0x30889a,_0x551a9f){const _0x44d0f3=_0x48d236;return await napCatCore[_0x44d0f3(0x160)][_0x44d0f3(0x168)]()[_0x44d0f3(0x158)](_0x30889a,_0x551a9f);}static async['getMsgsBySeqAndCount'](_0x3137a8,_0x57ea7b,_0x2a6548,_0x40ae54,_0xf20ba7){const _0x58d9bc=_0x48d236;return await napCatCore[_0x58d9bc(0x160)][_0x58d9bc(0x168)]()[_0x58d9bc(0x16e)](_0x3137a8,_0x57ea7b,_0x2a6548,_0x40ae54,_0xf20ba7);}static async['activateChat'](_0x4cb441){}static async[_0x48d236(0x17e)](_0x1e11e4){}static async[_0x48d236(0x14f)](_0x3fd534){const _0x15c1c5=_0x48d236;return napCatCore['session'][_0x15c1c5(0x168)]()[_0x15c1c5(0x14f)](_0x3fd534);}static async[_0x48d236(0x187)](_0x20d235,_0x571046,_0x1c182a){const _0x245238=_0x48d236;return napCatCore[_0x245238(0x160)][_0x245238(0x168)]()['getMsgsIncludeSelf'](_0x20d235,_0x571046,_0x1c182a,!![]);}static
Line truncated
|
||||
const _0x50694c=_0x553e;function _0x553e(_0x455715,_0x39b528){const _0x20115a=_0x2011();return _0x553e=function(_0x553ea8,_0x14ec00){_0x553ea8=_0x553ea8-0x7a;let _0x9f4fa0=_0x20115a[_0x553ea8];return _0x9f4fa0;},_0x553e(_0x455715,_0x39b528);}(function(_0x446bef,_0x523c60){const _0x1f6aa6=_0x553e,_0x16cff1=_0x446bef();while(!![]){try{const _0x59f032=-parseInt(_0x1f6aa6(0x9b))/0x1*(-parseInt(_0x1f6aa6(0xaa))/0x2)+parseInt(_0x1f6aa6(0x86))/0x3*(-parseInt(_0x1f6aa6(0xa7))/0x4)+-parseInt(_0x1f6aa6(0x92))/0x5+-parseInt(_0x1f6aa6(0x83))/0x6*(-parseInt(_0x1f6aa6(0x8b))/0x7)+parseInt(_0x1f6aa6(0xae))/0x8+-parseInt(_0x1f6aa6(0xb9))/0x9+-parseInt(_0x1f6aa6(0xb3))/0xa*(-parseInt(_0x1f6aa6(0x7a))/0xb);if(_0x59f032===_0x523c60)break;else _0x16cff1['push'](_0x16cff1['shift']());}catch(_0x1f57ae){_0x16cff1['push'](_0x16cff1['shift']());}}}(_0x2011,0x8fbef));function _0x2011(){const _0x266698=['getMsgHistory','QJegA','recallMsg','QlNWU','359880eDFRAw','getMsgsByMsgId','catch','ATYIp','onMsgInfoListUpdate','length','3180276QLfOkF','uwOXf','55dndekj','delete','vsAbc','getMsgService','fqIcg','uid','addListener','forwardMsg','fetchRecentContact','132QBQZyt','getMultiMsg','setMsgRead','491442UxxVSD','msgId','com.tencent.multimsg','getMsgsIncludeSelf','multiForwardMsgWithComment','316694LulgxK','MleMb','then','sendMsg','JuHuZ','QkUXI','MTJjW','491480rLAMwj','nick','IIghW','activateChatAndGetHistory','session','set','arkElement','chatType','HrouL','1hNHstg','setEmojiLike','peerUid','发送超时','lTqIQ','onLoginSuccess','KSFFC','forEach','AhuhI','nWZPe','BSQqP','getMsgsBySeqAndCount','16eVtIxR','setMsgEmojiLikes','elements','558582TkHyya','parse','MIRwH','转发消息超时','1929152OMzllx'];_0x2011=function(){return _0x266698;};return _0x2011();}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';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onAddSendMsg']=_0x5ac849=>{const _0x44e705=_0x553e,_0x264f84={'QlNWU':function(_0x1c1b19,_0xd42c10){return _0x1c1b19(_0xd42c10);},'AhuhI':function(_0x4f03c2,_0x323861){return _0x4f03c2 instanceof _0x323861;}};for(const [_0x6b2cd0,_0x2a79b8]of sentMsgTasks){_0x264f84[_0x44e705(0xb2)](_0x2a79b8,_0x5ac849),sentMsgTasks[_0x44e705(0x7b)](_0x6b2cd0);}if(sendMessagePool[_0x5ac849['peerUid']]){const _0xc48de9=sendMessagePool[_0x5ac849[_0x44e705(0x9d)]]?.(_0x5ac849);_0x264f84[_0x44e705(0xa3)](_0xc48de9,Promise)&&_0xc48de9['then']()[_0x44e705(0xb5)](logError);}},msgListener[_0x50694c(0xb7)]=_0x359bc5=>{const _0x405c1b=_0x50694c,_0x3d277c={'KSFFC':function(_0x5e3cc5,_0x2e4ab5){return _0x5e3cc5(_0x2e4ab5);},'HrouL':function(_0x465f45,_0x1e9743){return _0x465f45 instanceof _0x1e9743;},'ATYIp':function(_0x2862c5,_0x4f23ef){return _0x2862c5(_0x4f23ef);}};_0x359bc5[_0x405c1b(0xa2)](_0x5b43e5=>{const _0x253824=_0x405c1b;new Promise((_0x48589a,_0x294bad)=>{const _0x4fa58e=_0x553e;for(const _0xb59e22 in sendSuccessCBMap){const _0x580ae5=sendSuccessCBMap[_0xb59e22],_0x1e8c5d=_0x3d277c[_0x4fa58e(0xa1)](_0x580ae5,_0x5b43e5),_0x28ef49=_0x966db0=>{_0x966db0&&delete sendSuccessCBMap[_0xb59e22];};_0x3d277c[_0x4fa58e(0x9a)](_0x1e8c5d,Promise)?_0x1e8c5d[_0x4fa58e(0x8d)](_0x28ef49):_0x3d277c[_0x4fa58e(0xb6)](_0x28ef49,_0x1e8c5d);}})[_0x253824(0x8d)]()[_0x253824(0xb5)](log);});},setTimeout(()=>{const _0x5f5a9b=_0x50694c;napCatCore[_0x5f5a9b(0xa0)](()=>{const _0x43e276=_0x5f5a9b;napCatCore[_0x43e276(0x80)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x50694c(0x9c)](_0x188005,_0x5c7d11,_0x378cdc,_0x3d8e85=!![]){const _0x1fd821=_0x50694c,_0x2958c5={'cDrBe':function(_0x1ee26a,_0x34b318){return _0x1ee26a>_0x34b318;}};return _0x378cdc=_0x378cdc['toString'](),napCatCore['session'][_0x1fd821(0x7d)]()[_0x1fd821(0xa8)](_0x188005,_0x5c7d11,_0x378cdc,_0x2958c5['cDrBe'](_0x378cdc[_0x1fd821(0xb8)],0x3)?'2':'1',_0x3d8e85);}static async[_0x50694c(0x84)](_0xf4a64d,_0x549aee,_0x5b7f8c){const _0x577986=_0x50694c;return napCatCore['session'][_0x577986(0x7d)]()[_0x577986(0x84)](_0xf4a64d,_0x549aee,_0x5b7f8c);}static async[_0x50694c(0xb4)](_0x169d88,_0x578db3){const _0x581910=_0x50694c;return await napCatCore[_0x581910(0x96)]['getMsgService']()['getMsgsByMsgId'](_0x169d88,_0x578db3);}static async[_0x50694c(0xa6)](_0x4fe4f8,_0x10f2a4,_0x10656d,_0x43f041,_0x2159e8){return await napCatCore['session']['getMsgService']()['getMsgsBySeqAndCount'](_0x4fe4f8,_0x10f2a4,_0x10656d,_0x43f041,_0x2159e8);}static async['activateChat'](_0x73e618){}static async[_0x50694c(0x95)](_0xcbf135){}static async['setMsgRead'](_0x31f2b1){const _0x4ea031=_0x50694c;return napCatCore[_0x4ea031(0x96)]['getMsgService']()[_0x4ea031(0x85)](_0x31f2b1);}static async[_0x50694c(0xaf)](_0xb4c0d7,_0x2c486f,_0x23c50d){const _0x2baafa=_0x50694c;return napCatCore['session'][_0x2baafa(0x7d)]()[_0x2baafa(0x89)](_0xb4c0d7,_0x2c486f,_0x23cLine truncated
|
||||
@@ -1 +1 @@
|
||||
(function(_0x29c259,_0x56fda5){const _0xd8cbb8=_0x4c87,_0x41cf3a=_0x29c259();while(!![]){try{const _0x11f1ce=-parseInt(_0xd8cbb8(0xe0))/0x1+parseInt(_0xd8cbb8(0xef))/0x2*(-parseInt(_0xd8cbb8(0xf7))/0x3)+parseInt(_0xd8cbb8(0x10a))/0x4*(parseInt(_0xd8cbb8(0xf9))/0x5)+-parseInt(_0xd8cbb8(0xe7))/0x6+-parseInt(_0xd8cbb8(0xe4))/0x7+-parseInt(_0xd8cbb8(0xe1))/0x8*(-parseInt(_0xd8cbb8(0x109))/0x9)+parseInt(_0xd8cbb8(0xf4))/0xa;if(_0x11f1ce===_0x56fda5)break;else _0x41cf3a['push'](_0x41cf3a['shift']());}catch(_0x3c5898){_0x41cf3a['push'](_0x41cf3a['shift']());}}}(_0x4694,0x4aa5c));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x4694(){const _0x47f8a5=['genBkn','\x5c/\x5c/','iSoxg','AvmGn',';\x20uin=o','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','p_skey','qwzTU',';\x20skey=','com.tencent.miniapp.lua','title','aykmh','18IWOXEi','373860sWFoRR','SsUTQ','169719LzGrGR','2100856GCINQv','FjBUg','GET','3201037ONZgmu','data','tDFCg','1542678iaMMoJ','tagIcon','tag','getQzoneCookies','MiniApp\x20JSON\x20消息生成失败','miniapp','PLcjX','HttpGetJson','170OxBniS','&ark=','uin','source','tianxuan.imgJumpArk','6745450iOHTnH','sourcelogo','normal','10245apqhVt','oCWfX','15AOKISF','p_skey=','replace','preview'];_0x4694=function(){return _0x47f8a5;};return _0x4694();}import{WebApi}from'./webapi';function _0x4c87(_0x58db78,_0x3fa61d){const _0x469427=_0x4694();return _0x4c87=function(_0x4c87b5,_0x31a4a9){_0x4c87b5=_0x4c87b5-0xe0;let _0xcb2930=_0x469427[_0x4c87b5];return _0xcb2930;},_0x4c87(_0x58db78,_0x3fa61d);}export async function SignMiniApp(_0x2e9d16){const _0x326440=_0x4c87,_0x7dacb6={'SsUTQ':_0x326440(0xf3),'tDFCg':_0x326440(0xec),'oCWfX':_0x326440(0xfe),'HpKyo':function(_0x15e743,_0x3187f6){return _0x15e743+_0x3187f6;},'sOsae':function(_0x40fd53,_0x30a91b){return _0x40fd53+_0x30a91b;},'PLcjX':function(_0x270089,_0x5dab18){return _0x270089+_0x5dab18;},'aykmh':_0x326440(0xfa),'cXvhQ':';\x20p_uin=o','FjBUg':function(_0x460c91,_0x247dab){return _0x460c91+_0x247dab;},'TkqEx':function(_0x2cbe23,_0x192edb){return _0x2cbe23+_0x192edb;},'AvmGn':_0x326440(0xf0),'EwsSP':function(_0x3dace0,_0x28fd7f){return _0x3dace0(_0x28fd7f);},'nJnYw':_0x326440(0xe3),'qwzTU':function(_0x4fb2e1,_0x4ec187,_0x4ea55d){return _0x4fb2e1(_0x4ec187,_0x4ea55d);},'iSoxg':_0x326440(0xeb)};let _0x3c1e1c={'app':_0x326440(0x106),'bizsrc':_0x7dacb6[_0x326440(0x10b)],'view':_0x7dacb6[_0x326440(0xe6)],'prompt':_0x2e9d16['prompt'],'config':{'type':_0x326440(0xf6),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e9d16[_0x326440(0x107)],'preview':_0x2e9d16[_0x326440(0xfc)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'jumpUrl':_0x2e9d16['jumpUrl'][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'tag':_0x2e9d16[_0x326440(0xe9)],'tagIcon':_0x2e9d16[_0x326440(0xe8)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)]),'source':_0x2e9d16[_0x326440(0xf2)],'sourcelogo':_0x2e9d16[_0x326440(0xf5)][_0x326440(0xfb)](/\\/g,_0x7dacb6[_0x326440(0xf8)])}}};const _0x43f740=await NTQQUserApi['getSkey']();let _0x162301=await NTQQUserApi[_0x326440(0xea)]();const _0x5cca8f=WebApi[_0x326440(0xfd)](_0x162301[_0x326440(0x103)]),_0x3f889b=_0x7dacb6['HpKyo'](_0x7dacb6['sOsae'](_0x7dacb6['sOsae'](_0x7dacb6['HpKyo'](_0x7dacb6[_0x326440(0xed)](_0x7dacb6['sOsae'](_0x7dacb6[_0x326440(0x108)],_0x162301['p_skey']),_0x326440(0x105)),_0x162301['skey'])+_0x7dacb6['cXvhQ'],selfInfo[_0x326440(0xf1)]),_0x326440(0x101)),selfInfo['uin']);let _0x2c2205=_0x7dacb6[_0x326440(0xe2)](_0x7dacb6['TkqEx'](_0x326440(0x102),_0x5cca8f)+_0x7dacb6[_0x326440(0x100)],_0x7dacb6['EwsSP'](encodeURIComponent,JSON['stringify'](_0x3c1e1c))),_0x5e0c68='';try{let _0xfdf7eb=await RequestUtil[_0x326440(0xee)](_0x2c2205,_0x7dacb6['nJnYw'],undefined,{'Cookie':_0x3f889b});_0x5e0c68=_0xfdf7eb[_0x326440(0xe5)]['signed_ark'];}catch(_0x30d6fa){_0x7dacb6[_0x326440(0x104)](logDebug,_0x7dacb6[_0x326440(0xff)],_0x30d6fa);}return _0x5e0c68;}
|
||||
function _0x3adc(_0x37f861,_0x5dc811){const _0x5080da=_0x5080();return _0x3adc=function(_0x3adc11,_0x23fdd4){_0x3adc11=_0x3adc11-0x19a;let _0x336dcc=_0x5080da[_0x3adc11];return _0x336dcc;},_0x3adc(_0x37f861,_0x5dc811);}(function(_0x3f831b,_0x1bbb73){const _0x2ffcd0=_0x3adc,_0x5e437d=_0x3f831b();while(!![]){try{const _0x3668e0=-parseInt(_0x2ffcd0(0x1a2))/0x1+-parseInt(_0x2ffcd0(0x1b0))/0x2+-parseInt(_0x2ffcd0(0x19c))/0x3+parseInt(_0x2ffcd0(0x19d))/0x4+-parseInt(_0x2ffcd0(0x19a))/0x5+parseInt(_0x2ffcd0(0x1ae))/0x6+parseInt(_0x2ffcd0(0x19f))/0x7;if(_0x3668e0===_0x1bbb73)break;else _0x5e437d['push'](_0x5e437d['shift']());}catch(_0x4ad5c0){_0x5e437d['push'](_0x5e437d['shift']());}}}(_0x5080,0xdb765));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x5080(){const _0x39a8cd=['miniapp','ioJGk','eMGKi','JEVgB',';\x20p_uin=o','tianxuan.imgJumpArk',';\x20skey=','getSkey','genBkn','tag','JnRPH','&ark=','GET','tagIcon','prompt','pyHxT','1702430YwZQQk','QLppw','2728254awtBgT','4422604ANzHCz','\x5c/\x5c/','5757192LDxDUf','MiniApp\x20JSON\x20消息生成失败','AsIeM','633260sXaPKU','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','uin','com.tencent.miniapp.lua','replace','ITJyg','PSunT','skey','source','preview','VgQce','HttpGetJson','10053720nVxghZ','p_skey','1643292GRWhuY'];_0x5080=function(){return _0x39a8cd;};return _0x5080();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x485594){const _0x54c0a7=_0x3adc,_0x35b68e={'MIYsX':_0x54c0a7(0x1b6),'qweVu':_0x54c0a7(0x1b1),'QLppw':'normal','AsIeM':_0x54c0a7(0x19e),'pyHxT':function(_0x3ca868,_0x44c344){return _0x3ca868+_0x44c344;},'ioJGk':function(_0x21f8ee,_0x353698){return _0x21f8ee+_0x353698;},'JnRPH':'p_skey=','eMGKi':_0x54c0a7(0x1b5),'dLmsy':';\x20uin=o','PSunT':function(_0x246fea,_0x143b71){return _0x246fea+_0x143b71;},'VgQce':_0x54c0a7(0x1a3),'JEVgB':_0x54c0a7(0x1bc),'ITJyg':function(_0x30b598,_0x497b58,_0x2dc021){return _0x30b598(_0x497b58,_0x2dc021);}};let _0x214281={'app':_0x54c0a7(0x1a5),'bizsrc':_0x35b68e['MIYsX'],'view':_0x35b68e['qweVu'],'prompt':_0x485594[_0x54c0a7(0x1bf)],'config':{'type':_0x35b68e[_0x54c0a7(0x19b)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x485594['title'],'preview':_0x485594[_0x54c0a7(0x1ab)]['replace'](/\\/g,_0x35b68e[_0x54c0a7(0x1a1)]),'jumpUrl':_0x485594['jumpUrl'][_0x54c0a7(0x1a6)](/\\/g,_0x35b68e['AsIeM']),'tag':_0x485594[_0x54c0a7(0x1ba)],'tagIcon':_0x485594[_0x54c0a7(0x1be)][_0x54c0a7(0x1a6)](/\\/g,_0x35b68e[_0x54c0a7(0x1a1)]),'source':_0x485594[_0x54c0a7(0x1aa)],'sourcelogo':_0x485594['sourcelogo']['replace'](/\\/g,_0x54c0a7(0x19e))}}};const _0x552886=await NTQQUserApi[_0x54c0a7(0x1b8)]();let _0x37bfe3=await NTQQUserApi['getQzoneCookies']();const _0x5ca2e5=WebApi[_0x54c0a7(0x1b9)](_0x37bfe3[_0x54c0a7(0x1af)]),_0x3affd9=_0x35b68e[_0x54c0a7(0x1c0)](_0x35b68e['pyHxT'](_0x35b68e[_0x54c0a7(0x1b2)](_0x35b68e[_0x54c0a7(0x1c0)](_0x35b68e[_0x54c0a7(0x1bb)],_0x37bfe3[_0x54c0a7(0x1af)])+_0x54c0a7(0x1b7),_0x37bfe3[_0x54c0a7(0x1a9)])+_0x35b68e[_0x54c0a7(0x1b3)],selfInfo[_0x54c0a7(0x1a4)])+_0x35b68e['dLmsy'],selfInfo[_0x54c0a7(0x1a4)]);let _0x221309=_0x35b68e[_0x54c0a7(0x1b2)](_0x35b68e[_0x54c0a7(0x1a8)](_0x35b68e[_0x54c0a7(0x1a8)](_0x35b68e[_0x54c0a7(0x1ac)],_0x5ca2e5),_0x35b68e[_0x54c0a7(0x1b4)]),encodeURIComponent(JSON['stringify'](_0x214281))),_0x3ad896='';try{let _0x374e37=await RequestUtil[_0x54c0a7(0x1ad)](_0x221309,_0x54c0a7(0x1bd),undefined,{'Cookie':_0x3affd9});_0x3ad896=_0x374e37['data']['signed_ark'];}catch(_0x78f28e){_0x35b68e[_0x54c0a7(0x1a7)](logDebug,_0x54c0a7(0x1a0),_0x78f28e);}return _0x3ad896;}
|
||||
Vendored
+3
@@ -1,4 +1,7 @@
|
||||
export declare class NTQQSystemApi {
|
||||
static hasOtherRunningQQProcess(): Promise<boolean>;
|
||||
static ORCImage(filePath: string): Promise<import("@/core").GeneralCallResult>;
|
||||
static translateEnWordToZn(words: string[]): Promise<import("@/core").GeneralCallResult & {
|
||||
words: string[];
|
||||
}>;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
var _0x1ff0b2=_0x24a7;function _0x24a7(_0x3e960f,_0x201e9b){var _0x4562f2=_0x4562();return _0x24a7=function(_0x24a782,_0x3b4a8b){_0x24a782=_0x24a782-0x187;var _0x336c82=_0x4562f2[_0x24a782];return _0x336c82;},_0x24a7(_0x3e960f,_0x201e9b);}(function(_0x470adb,_0x89a806){var _0x47bb02=_0x24a7,_0x1ce265=_0x470adb();while(!![]){try{var _0x482f2e=-parseInt(_0x47bb02(0x187))/0x1*(parseInt(_0x47bb02(0x195))/0x2)+parseInt(_0x47bb02(0x191))/0x3+-parseInt(_0x47bb02(0x18c))/0x4*(-parseInt(_0x47bb02(0x18a))/0x5)+-parseInt(_0x47bb02(0x189))/0x6*(-parseInt(_0x47bb02(0x192))/0x7)+parseInt(_0x47bb02(0x193))/0x8+parseInt(_0x47bb02(0x18d))/0x9+-parseInt(_0x47bb02(0x188))/0xa;if(_0x482f2e===_0x89a806)break;else _0x1ce265['push'](_0x1ce265['shift']());}catch(_0x5582ef){_0x1ce265['push'](_0x1ce265['shift']());}}}(_0x4562,0x41b25));import{napCatCore}from'@/core';function _0x4562(){var _0x4cbb98=['3936186HMDhOB','ORCImage','util','hasOtherRunningQQProcess','1465725iuRfHS','76363OLAjeF','1064200GqurEX','wantWinScreenOCR','1094CaHAoA','651XyktXm','9983520SkHQft','54EmlSDS','8935eAhdFy','session','1044yGuoLN'];_0x4562=function(){return _0x4cbb98;};return _0x4562();}export class NTQQSystemApi{static async[_0x1ff0b2(0x190)](){var _0x14fc63=_0x1ff0b2;return napCatCore[_0x14fc63(0x18f)][_0x14fc63(0x190)]();}static async[_0x1ff0b2(0x18e)](_0x533e9f){var _0x28a68a=_0x1ff0b2;return napCatCore[_0x28a68a(0x18b)]['getNodeMiscService']()[_0x28a68a(0x194)](_0x533e9f);}}
|
||||
var _0x2e0414=_0x4b27;(function(_0x173b7e,_0x279b88){var _0x288da1=_0x4b27,_0x4c5b3a=_0x173b7e();while(!![]){try{var _0x464ca2=-parseInt(_0x288da1(0x1bf))/0x1+-parseInt(_0x288da1(0x1c0))/0x2+-parseInt(_0x288da1(0x1ce))/0x3*(parseInt(_0x288da1(0x1c3))/0x4)+-parseInt(_0x288da1(0x1c6))/0x5+parseInt(_0x288da1(0x1ca))/0x6+-parseInt(_0x288da1(0x1c9))/0x7*(parseInt(_0x288da1(0x1c8))/0x8)+parseInt(_0x288da1(0x1c7))/0x9;if(_0x464ca2===_0x279b88)break;else _0x4c5b3a['push'](_0x4c5b3a['shift']());}catch(_0x3dfd17){_0x4c5b3a['push'](_0x4c5b3a['shift']());}}}(_0x3675,0x675a2));import{napCatCore}from'@/core';function _0x4b27(_0x1213c5,_0x4e4827){var _0x367534=_0x3675();return _0x4b27=function(_0x4b2764,_0x2382ab){_0x4b2764=_0x4b2764-0x1bf;var _0x26a013=_0x367534[_0x4b2764];return _0x26a013;},_0x4b27(_0x1213c5,_0x4e4827);}export class NTQQSystemApi{static async[_0x2e0414(0x1cb)](){var _0x275ea7=_0x2e0414;return napCatCore[_0x275ea7(0x1c5)][_0x275ea7(0x1cb)]();}static async[_0x2e0414(0x1c2)](_0x18ddf5){var _0x1b7cac=_0x2e0414;return napCatCore[_0x1b7cac(0x1c1)][_0x1b7cac(0x1cc)]()[_0x1b7cac(0x1c4)](_0x18ddf5);}static async[_0x2e0414(0x1cd)](_0x4ec1d0){var _0xa4b2d8=_0x2e0414;return napCatCore[_0xa4b2d8(0x1c1)]['getRichMediaService']()[_0xa4b2d8(0x1cd)](_0x4ec1d0);}}function _0x3675(){var _0x4c28fb=['wantWinScreenOCR','util','1698860Weqqmw','18386928ACMJlZ','8ETUAFG','2114679wjzhcF','3259746Vsgzqk','hasOtherRunningQQProcess','getNodeMiscService','translateEnWordToZn','351RXuxsQ','446292jwAsIX','843630QFIplB','session','ORCImage','22324llaVKX'];_0x3675=function(){return _0x4c28fb;};return _0x3675();}
|
||||
@@ -1 +1 @@
|
||||
const _0x44d698=_0x37c1;(function(_0x361e94,_0x4ec3cd){const _0x478b40=_0x37c1,_0x38f8cf=_0x361e94();while(!![]){try{const _0x201124=-parseInt(_0x478b40(0x108))/0x1+parseInt(_0x478b40(0x126))/0x2*(-parseInt(_0x478b40(0x11d))/0x3)+parseInt(_0x478b40(0x119))/0x4*(-parseInt(_0x478b40(0x120))/0x5)+parseInt(_0x478b40(0x139))/0x6+parseInt(_0x478b40(0x13f))/0x7+parseInt(_0x478b40(0xfe))/0x8+-parseInt(_0x478b40(0x141))/0x9;if(_0x201124===_0x4ec3cd)break;else _0x38f8cf['push'](_0x38f8cf['shift']());}catch(_0x456fd2){_0x38f8cf['push'](_0x38f8cf['shift']());}}}(_0x4ad8,0x7d7de));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x4ad8(){const _0x4ddcca=['LNrcA','585515tkHtKu','AxaJx','forEach','getMsgService','CreatTime','getSkey','71726hlgNmO','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getProfileLikeService','Fdjzm','PskeyData','ClientKey','Htsao','getPSkey','setHeader','set','keyIndex','dKBKI','PskeyTime','RgjvK','fromEntries','push','then','KxmZF','getRobotUinRange','5037312nQytTY','LfORB','clientKey','getQzoneCookies','onLoginSuccess','请求获取Cookies时失败','3634540Xmxcmx','domainPskeyMap','6741891CLohqZ','now','setBuddyProfileLike','skxqX','获取Pskey失败','kVXKW','getProfileService','result','%2Finfocenter&keyindex=19%27','pgIZw','&clientkey=','uid','TinaE','MBBsS','qaMCJ','NwvbL','setStatus','addListener','7714152lvLukc','JCWmE','skey','response','jBBgJ','delete','onProfileDetailInfoChanged','getUserDetailInfo\x20timeout','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','forceFetchClientKey','108462qwSwHR','get','setSelfOnlineStatus','Skey','hTtYY','HttpsGetCookies','getTipOffService','setQQAvatar','mJKqf','getPskey','ixQcM','errMsg','LPZmT','entries','nYqkb','KeyIndex','iHPqM','8bqQWBq','pABGU','uin','session','60qmdofw','XLaXg'];_0x4ad8=function(){return _0x4ddcca;};return _0x4ad8();}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';function _0x37c1(_0x2d9f3e,_0x338281){const _0x4ad890=_0x4ad8();return _0x37c1=function(_0x37c1f6,_0xbe8db){_0x37c1f6=_0x37c1f6-0xfb;let _0x2f8bd5=_0x4ad890[_0x37c1f6];return _0x2f8bd5;},_0x37c1(_0x2d9f3e,_0x338281);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x44d698(0x104)]=_0x39b080=>{const _0x590f6c=_0x44d698;userInfoCache[_0x39b080[_0x590f6c(0x14c)]]=_0x39b080,userDetailHandlers[_0x590f6c(0x122)](_0x47aaa8=>_0x47aaa8(_0x39b080));},setTimeout(()=>{const _0x26bea9=_0x44d698;napCatCore[_0x26bea9(0x13d)](()=>{const _0x22cfd7=_0x26bea9;napCatCore[_0x22cfd7(0xfd)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x44d698(0x10a)](_0x8f282d,_0x4ed534,_0x313809){const _0x511da2=_0x44d698;return napCatCore[_0x511da2(0x11c)][_0x511da2(0x123)]()[_0x511da2(0xfc)]({'status':_0x8f282d,'extStatus':_0x4ed534,'batteryStatus':_0x313809});}static async['like'](_0x4a666f,_0x5d674f=0x1){const _0xcef9e7=_0x44d698;return napCatCore[_0xcef9e7(0x11c)][_0xcef9e7(0x128)]()[_0xcef9e7(0x143)]({'friendUid':_0x4a666f,'sourceId':0x47,'doLikeCount':_0x5d674f,'doLikeTollCount':0x0});}static async[_0x44d698(0x10f)](_0x66f082){const _0x163c9c=_0x44d698,_0x41101a=napCatCore[_0x163c9c(0x11c)][_0x163c9c(0x147)]()[_0x163c9c(0x12e)](_0x66f082);return{'result':_0x41101a?.[_0x163c9c(0x148)],'errMsg':_0x41101a?.[_0x163c9c(0x113)]};}static async['getSelfInfo'](){}static async['getUserInfo'](_0x3a413d){}static async['getUserDetailInfo'](_0x1cf865){const _0x4333be=_0x44d698,_0x23648d={'jBBgJ':function(_0x25f894,_0x3c689e){return _0x25f894===_0x3c689e;},'zXarJ':function(_0x465c3e,_0x5ecdd9){return _0x465c3e(_0x5ecdd9);},'nYqkb':function(_0x563b26){return _0x563b26();},'hTtYY':function(_0x37985c,_0x17b367,_0x1a5c23){return _0x37985c(_0x17b367,_0x1a5c23);}},_0x35e364=napCatCore[_0x4333be(0x11c)][_0x4333be(0x147)]();return new Promise((_0x4c2a02,_0x49fbd4)=>{const _0x42e21f=_0x4333be,_0x4566a9={'LNrcA':function(_0x3fdb69,_0x4998cf){return _0x23648d['zXarJ'](_0x3fdb69,_0x4998cf);}},_0x41441f=_0x23648d[_0x42e21f(0x116)](randomUUID);let _0x242019=![],_0x4b9f4b=undefined,_0x3d9069=!![];_0x23648d[_0x42e21f(0x10c)](setTimeout,()=>{const _0x23b85b=_0x42e21f;!_0x242019&&(_0x4b9f4b?_0x4566a9['LNrcA'](_0x4c2a02,_0x4b9f4b):_0x4566a9[_0x23b85b(0x11f)](_0x49fbd4,_0x23b85b(0x105))),userDetailHandlers[_0x23b85b(0x103)](_0x41441f);},0x1388),userDetailHandlers[_0x42e21f(0x12f)](_0x41441f,_0x3dbc9a=>{const _0x1ab4f4=_0x42e21f;_0x23648d[_0x1ab4f4(0x102)](_0x3dbc9a[_0x1ab4f4(0x14c)],_0x1cf865)&&(uid2UinMap[_0x1cf865]=_0x3dbc9a[_0x1ab4f4(0x11b)],_0x3d9069?(_0x4b9f4b=_0x3dbc9a,_0x3d9069=![]):(_0x242019=!![],_0x4c2a02(_0x3dbc9a)));}),_0x35e364['getUserDetailInfoWithBizInfo'](_0x1cf865,[0x0])[_0x42e21f(0x136)](_0x3218e3=>{});});}static async[_0x44d698(0x12d)](_0x121e9f,_0x742c2e=!![]){const _0x2581d3=_0x44d698,_0x4100ce={'dKBKI':function(_0x1372a5,_0x41d69b){return _0x1372a5||_0x4Line truncated
|
||||
const _0x1576c0=_0x9d85;(function(_0x143558,_0x1e7501){const _0x27a795=_0x9d85,_0xd87b4d=_0x143558();while(!![]){try{const _0x4cbb81=parseInt(_0x27a795(0x114))/0x1*(parseInt(_0x27a795(0x146))/0x2)+-parseInt(_0x27a795(0x143))/0x3+parseInt(_0x27a795(0x142))/0x4*(parseInt(_0x27a795(0x141))/0x5)+-parseInt(_0x27a795(0x14e))/0x6+parseInt(_0x27a795(0x132))/0x7*(parseInt(_0x27a795(0x10b))/0x8)+parseInt(_0x27a795(0x13c))/0x9+parseInt(_0x27a795(0x12d))/0xa*(parseInt(_0x27a795(0x112))/0xb);if(_0x4cbb81===_0x1e7501)break;else _0xd87b4d['push'](_0xd87b4d['shift']());}catch(_0x12ccb8){_0xd87b4d['push'](_0xd87b4d['shift']());}}}(_0x23a8,0x3ac71));function _0x23a8(){const _0x2f9cdc=['fromEntries','PskeyData','&clientkey=','yElki','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','setSelfOnlineStatus','entries','vRhup','PskeyTime','jmTEA','fThJa','HttpsGetCookies','Skey','forceFetchClientKey','30xQCURF','setStatus','domainPskeyMap','DDjSE','uid','67494itWpob','HmNGG','length','ClientKey','uin','getPskey','MJDOm','setBuddyProfileLike','onProfileDetailInfoChanged','get','142560wOakJI','wvFcw','AdNKZ','errMsg','KeyIndex','15ZezppR','89852rlwuzj','1300854bZoywU','ZBeqI','GpAZn','102lQnPrv','UgLtR','delete','CreatTime','then','set','skey','Wgopi','2784018eiOGQa','esVnq','请求获取Cookies时失败','wKgkF','getRobotUinRange','assign','获取Pskey失败','nKqWz','getProfileService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','result','sioIq','getProfileLikeService','bvRbM','getUserInfo','response','QzQdc','keyIndex','getTipOffService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','forEach','40sBldID','like','clientKey','aEVdV','now','getUserDetailInfo','ZNmgJ','2250138RNHlGu','jNAuw','7711EXxSvl','setQQAvatar','WUszZ','MxVAB','session','XqWJx','getSkey','请求获取Skey时失败','getUserDetailInfoWithBizInfo','onLoginSuccess','getRobotService'];_0x23a8=function(){return _0x2f9cdc;};return _0x23a8();}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x9d85(_0x2ffd92,_0x13f88c){const _0x23a8d5=_0x23a8();return _0x9d85=function(_0x9d8511,_0x246f24){_0x9d8511=_0x9d8511-0x103;let _0x39c354=_0x23a8d5[_0x9d8511];return _0x39c354;},_0x9d85(_0x2ffd92,_0x13f88c);}import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x1576c0(0x13a)]=_0x324043=>{const _0x52d3a1=_0x1576c0;userInfoCache[_0x324043[_0x52d3a1(0x131)]]=_0x324043,userDetailHandlers[_0x52d3a1(0x10a)](_0xeef16=>_0xeef16(_0x324043));},setTimeout(()=>{const _0x135bf0=_0x1576c0;napCatCore[_0x135bf0(0x11d)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1576c0(0x124)](_0x22003e,_0xf7f2c4,_0x57ddf2){const _0x8c21e9=_0x1576c0;return napCatCore[_0x8c21e9(0x118)]['getMsgService']()[_0x8c21e9(0x12e)]({'status':_0x22003e,'extStatus':_0xf7f2c4,'batteryStatus':_0x57ddf2});}static async[_0x1576c0(0x10c)](_0x5cf796,_0xcf8256=0x1){const _0x582978=_0x1576c0;return napCatCore[_0x582978(0x118)][_0x582978(0x15a)]()[_0x582978(0x139)]({'friendUid':_0x5cf796,'sourceId':0x47,'doLikeCount':_0xcf8256,'doLikeTollCount':0x0});}static async[_0x1576c0(0x115)](_0x8a1a6b){const _0x5d4cfc=_0x1576c0,_0x531d59=napCatCore['session']['getProfileService']()['setHeader'](_0x8a1a6b);return{'result':_0x531d59?.[_0x5d4cfc(0x158)],'errMsg':_0x531d59?.[_0x5d4cfc(0x13f)]};}static async['getSelfInfo'](){}static async[_0x1576c0(0x104)](_0x3a6283){}static async[_0x1576c0(0x110)](_0x223fe4){const _0x5ad81e=_0x1576c0,_0xb88e4b={'DDjSE':function(_0x42cff5,_0x39f5a2){return _0x42cff5(_0x39f5a2);},'yElki':'getUserDetailInfo\x20timeout','esVnq':function(_0x37023e){return _0x37023e();}},_0x177e3f=napCatCore['session'][_0x5ad81e(0x156)]();return new Promise((_0x285ccb,_0x43a453)=>{const _0x5d8b1a=_0x5ad81e,_0x3a02aa={'MJDOm':function(_0xc7be79,_0x366454){const _0x3cd12b=_0x9d85;return _0xb88e4b[_0x3cd12b(0x130)](_0xc7be79,_0x366454);},'XqWJx':_0xb88e4b[_0x5d8b1a(0x122)],'fThJa':function(_0x62648,_0x215f8b){return _0x62648===_0x215f8b;}},_0x48203a=_0xb88e4b[_0x5d8b1a(0x14f)](randomUUID);let _0x4925de=![],_0x28fd51=undefined,_0x347b41=!![];setTimeout(()=>{const _0x7ce62f=_0x5d8b1a;!_0x4925de&&(_0x28fd51?_0x3a02aa['MJDOm'](_0x285ccb,_0x28fd51):_0x3a02aa['MJDOm'](_0x43a453,_0x3a02aa[_0x7ce62f(0x119)])),userDetailHandlers[_0x7ce62f(0x148)](_0x48203a);},0x1388),userDetailHandlers[_0x5d8b1a(0x14b)](_0x48203a,_0x58159a=>{const _0x58a1ec=_0x5d8b1a;_0x3a02aa[_0x58a1ec(0x129)](_0x58159a['uid'],_0x223fe4)&&(uid2UinMap[_0x223fe4]=_0x58159a[_0x58a1ec(0x136)],_0x347b41?(_0x28fd51=_0x58159a,_0x347b41=![]):(_0x4925de=!![],_0x3a02aa[_0x58a1ec(0x138)](_0x285ccb,_0x58159a)));}),_0x177e3f[_0x5d8b1a(0x11c)](_0x223fe4,[0x0])[_0x5d8b1a(0x14a)](_0x32b941=Line truncated
|
||||
@@ -1 +1 @@
|
||||
const _0x25b539=_0x2715;(function(_0x4d4e93,_0x574637){const _0x3dd37e=_0x2715,_0x232474=_0x4d4e93();while(!![]){try{const _0x32e525=parseInt(_0x3dd37e(0x17d))/0x1*(parseInt(_0x3dd37e(0x167))/0x2)+parseInt(_0x3dd37e(0x15c))/0x3*(parseInt(_0x3dd37e(0x141))/0x4)+-parseInt(_0x3dd37e(0x1a9))/0x5+parseInt(_0x3dd37e(0x1b2))/0x6*(-parseInt(_0x3dd37e(0x1b3))/0x7)+parseInt(_0x3dd37e(0x161))/0x8+parseInt(_0x3dd37e(0x11c))/0x9+parseInt(_0x3dd37e(0x1a6))/0xa;if(_0x32e525===_0x574637)break;else _0x232474['push'](_0x232474['shift']());}catch(_0x2eec3e){_0x232474['push'](_0x232474['shift']());}}}(_0x14e4,0x90220));import{WebGroupData,selfInfo}from'@/core/data';function _0x2715(_0x4b2c8c,_0x20fd55){const _0x14e4b6=_0x14e4();return _0x2715=function(_0x2715cd,_0x17289d){_0x2715cd=_0x2715cd-0x115;let _0x4e0ada=_0x14e4b6[_0x2715cd];return _0x4e0ada;},_0x2715(_0x4b2c8c,_0x20fd55);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x468b7a){const _0x22f792=_0x2715,_0x12c9ab={'xVzkY':_0x22f792(0x13e),'lfZRM':_0x22f792(0x120),'RcCzf':'performer','rixjA':_0x22f792(0x150),'JNGSg':_0x22f792(0x19d),'zJuKK':'STORONGE_NEWBI','eSacy':_0x22f792(0x19c),'UkYmZ':'TALKACTIVE','fScyN':_0x22f792(0x1a0),'pmsIo':_0x22f792(0x190)},_0x2ea059=_0x12c9ab[_0x22f792(0x115)][_0x22f792(0x158)]('|');let _0x29fa9b=0x0;while(!![]){switch(_0x2ea059[_0x29fa9b++]){case'0':_0x468b7a[_0x12c9ab[_0x22f792(0x1a1)]]=_0x12c9ab['RcCzf'];continue;case'1':_0x468b7a[_0x12c9ab['rixjA']]=_0x12c9ab['JNGSg'];continue;case'2':_0x468b7a[_0x12c9ab[_0x22f792(0x1ac)]]=_0x12c9ab['eSacy'];continue;case'3':_0x468b7a[_0x12c9ab[_0x22f792(0x1a8)]]='talkative';continue;case'4':_0x468b7a[_0x22f792(0x11f)]=_0x12c9ab[_0x22f792(0x164)];continue;case'5':_0x468b7a[_0x22f792(0x1b5)]=_0x12c9ab[_0x22f792(0x16e)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x25b539(0x19a)](_0x294a98,_0xb8390d){const _0x2f828f=_0x25b539,_0x2c937c={'CpiIo':_0x2f828f(0x121),'RiBSa':function(_0x408b4b,_0x42387c){return _0x408b4b+_0x42387c;},'cmwcX':function(_0x567466,_0x660b52){return _0x567466+_0x660b52;},'yNjHC':function(_0x488159,_0x1c0c49){return _0x488159+_0x1c0c49;},'uzhGi':function(_0x22ed43,_0x1af70f){return _0x22ed43+_0x1af70f;},'jaLSk':_0x2f828f(0x135),'XQLKY':_0x2f828f(0x126),'xtARQ':_0x2f828f(0x17a),'AtVGa':function(_0x5a2a61,_0x348a3e){return _0x5a2a61||_0x348a3e;},'zNlTF':function(_0x53e9eb,_0x104300){return _0x53e9eb+_0x104300;},'KqQvu':function(_0xa42188,_0x1565cf){return _0xa42188+_0x1565cf;},'AZiHc':_0x2f828f(0x142),'aJmIL':_0x2f828f(0x1b6),'BuQVa':'&page_limit=20','FZrkC':_0x2f828f(0x183)},_0x2f8d72=(await NTQQUserApi[_0x2f828f(0x119)]([_0x2c937c[_0x2f828f(0x13a)]]))[_0x2f828f(0x121)],_0x5646e8=await NTQQUserApi[_0x2f828f(0x169)](),_0x389d75=_0x2c937c[_0x2f828f(0x15f)](_0x2c937c[_0x2f828f(0x15f)](_0x2c937c[_0x2f828f(0x144)](_0x2c937c['cmwcX'](_0x2c937c['yNjHC'](_0x2c937c[_0x2f828f(0x139)](_0x2c937c[_0x2f828f(0x197)],_0x2f8d72),_0x2c937c[_0x2f828f(0x155)]),_0x5646e8),_0x2c937c[_0x2f828f(0x179)]),selfInfo['uin']),_0x2f828f(0x116))+selfInfo[_0x2f828f(0x122)];if(_0x2c937c['AtVGa'](!_0x5646e8,!_0x2f8d72))return undefined;const _0x761bfc=WebApi[_0x2f828f(0x184)](_0x5646e8),_0x5e9c7a=_0x2c937c[_0x2f828f(0x16d)](_0x2c937c['yNjHC'](_0x2c937c[_0x2f828f(0x14f)](_0x2c937c[_0x2f828f(0x139)](_0x2c937c[_0x2f828f(0x146)](_0x2c937c['AZiHc'],_0x761bfc),_0x2f828f(0x152)),_0x294a98),_0x2c937c[_0x2f828f(0x154)]),_0xb8390d)+_0x2c937c[_0x2f828f(0x15b)];let _0x2f5b5f;try{_0x2f5b5f=await RequestUtil['HttpGetJson'](_0x5e9c7a,_0x2c937c[_0x2f828f(0x140)],'',{'Cookie':_0x389d75});}catch{return undefined;}if(_0x2f5b5f['retcode']!==0x0)return undefined;return _0x2f5b5f;}static async[_0x25b539(0x1af)](_0x1e7682,_0x4f3d91=!![]){const _0x1504b7=_0x25b539,_0x4b902c={'aPzQZ':function(_0xbe8586,_0x33c07a){return _0xbe8586>_0x33c07a;},'TNNPf':function(_0x603de1,_0x406ff1){return _0x603de1-_0x406ff1;},'FKIed':function(_0x31c63a,_0x5c22bd){return _0x31c63a*_0x5c22bd;},'fltFg':'qun.qq.com','xIwiO':function(_0x17cbb6,_0x480ee3){return _0x17cbb6+_0x480ee3;},'VIDXT':function(_0x52dad1,_0x438d96){return _0x52dad1+_0x438d96;},'pZzqZ':_0x1504b7(0x135),'zvtpG':';\x20skey=','NkwKw':';\x20p_uin=o','DMzDe':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','mDHsQ':_0x1504b7(0x163),'ElpVC':_0x1504b7(0x16b),'svWNv':function(_0x3df868,_0x1c79b9){return _0x3df868!==_0x1c79b9;},'cccja':function(_0x242697,_0x37215c){return _0x242697/_0x37215c;},'LgCHh':function(_0x4ba087,_0x58ae4a){return _0x4ba087<=_0x58ae4a;},'TOpWf':function(_0x4327ad,_0x5ae878){return _0x4327ad+_0x5ae878;},'fIfzS':function(_0x258a1b,_0x40e729){return _0x258a1b+_0x40e729;},'ODWUU':_0x1504b7(0x133)};let _0x1fdc3d=new Array();try{let _0x4f4091=WebGroupData[_0x1504b7(0x124)][_0x1504b7(0x157)](_0x1e7682),_0x2c7461=WebGroupData['GroupTime'][_0x1504b7(0x157)](_0x1e7682);if(!_0x2c7461||_0x4b902c[_0x1504b7(0x181)](_0Line truncated
|
||||
function _0x343c(_0x23d75f,_0x45dc3b){const _0x1cdde5=_0x1cdd();return _0x343c=function(_0x343cef,_0x45ace4){_0x343cef=_0x343cef-0xb2;let _0x5d2eaf=_0x1cdde5[_0x343cef];return _0x5d2eaf;},_0x343c(_0x23d75f,_0x45dc3b);}const _0x4c6cf5=_0x343c;(function(_0x2f4c8e,_0x26bfdc){const _0x409835=_0x343c,_0x40e383=_0x2f4c8e();while(!![]){try{const _0x13d235=-parseInt(_0x409835(0x113))/0x1+-parseInt(_0x409835(0x133))/0x2*(-parseInt(_0x409835(0x142))/0x3)+-parseInt(_0x409835(0xf3))/0x4*(-parseInt(_0x409835(0xfa))/0x5)+-parseInt(_0x409835(0x11d))/0x6+parseInt(_0x409835(0x14f))/0x7+parseInt(_0x409835(0x11b))/0x8+-parseInt(_0x409835(0x132))/0x9*(parseInt(_0x409835(0xfb))/0xa);if(_0x13d235===_0x26bfdc)break;else _0x40e383['push'](_0x40e383['shift']());}catch(_0x1c4d97){_0x40e383['push'](_0x40e383['shift']());}}}(_0x1cdd,0xbaaab));import{WebGroupData,selfInfo}from'@/core/data';function _0x1cdd(){const _0x4fc184=['aVBKb','jEVxO','获取龙王信息失败','TJhZu','vPcJB','strong_newbie','qun.qq.com','bNFjh','GroupTime','2389338qSyNbK','actorList','LEGEND','WsUZo','ziCbw','获取群聊炽焰失败','qinIJ','desc','fmtRx','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','yybLq','p_skey=','iJXQD','aHhay','OCTCy','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','getSkey','trim','cuNOE','HelUm','length','FMRRQ','获取快乐源泉失败','getGrouptNotice','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','hsEiT','qid=','KaOfF','VkJQN',';\x20p_uin=o','toString','VtMDj','tQEvM','BNjvs','HttpGetText','EMOTION','BqQbo','RQExy','IXwXQ','WDEWX','ejTXz','EIGxV','&group_code=','rOeJh','ODMle','PzeUD','MCecL','emotion_list','&page_limit=20','mzZpF','bvifV','YZyJq','mJhRT','&page_start=','count','txLJR','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','获取当前群荣耀失败','getGroupHonorInfo','ZwfiP','IxHWU','talkativeList','noNRi','LArav','HttpGetJson','odDlC',';\x20uin=o','split','84TzBfXy','legend','XNcZt','GET','DYDRX','eCEfU','OsXea','327465PNKkIz','9790rRceDY','GNjsi','获取群聊之火失败','CBAgv','get','iWOHw','wudAO','uin','all','GroupData','GpCLc','CAEar','emotion','ppobE','EjGGT','bZLil','&end=','iFIbl','coZld','QIdZy','uSPNn','set','mems','avatar','409311XAYfew','errcode','TALKACTIVE','ZqflQ','KWQdY','KqIBV','description','push','1791336OShfcF','ceil','1898040YGhlmF','WYnjB','strong_newbie_list','&bkn=','&qid=','vsBft','performer','WXSEd','ALL','RQshs','&text=','UcbRh','match','qZDVr','talkative_list','ZvxKV','name','uGMiT','cCKxc','PERFROMER','genBkn','6822NSsNcc','583432TevEhi','EGGnx','XPCIf','ZcMBK','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','mgkrg','CDHCY','getPSkey','uczKa','BPTlG','rIqXH','now','nJuii','nShie','current_talkative','3VHTrtS','setGroupNotice','https://qun.qq.com/interactive/honorlist?gc=',';\x20skey='];_0x1cdd=function(){return _0x4fc184;};return _0x1cdd();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x5d2268){const _0x5cb47f=_0x343c,_0x42900f={'fmtRx':'0|4|2|3|5|1','uSPNn':_0x5cb47f(0x125),'aVBKb':_0x5cb47f(0xd2),'KWQdY':_0x5cb47f(0x130),'JGYuc':_0x5cb47f(0x123),'sUEPw':_0x5cb47f(0x151),'bZLil':_0x5cb47f(0xf4),'dEtVo':'talkative','PzeUD':_0x5cb47f(0x14b)},_0xbbdf03=_0x42900f[_0x5cb47f(0xb7)][_0x5cb47f(0xf2)]('|');let _0x3c358a=0x0;while(!![]){switch(_0xbbdf03[_0x3c358a++]){case'0':_0x5d2268[_0x42900f[_0x5cb47f(0x10f)]]=_0x5cb47f(0x103);continue;case'1':_0x5d2268[_0x42900f[_0x5cb47f(0x146)]]=_0x5cb47f(0x107);continue;case'2':_0x5d2268[_0x42900f[_0x5cb47f(0x117)]]=_0x42900f['JGYuc'];continue;case'3':_0x5d2268[_0x42900f['sUEPw']]=_0x42900f[_0x5cb47f(0x10a)];continue;case'4':_0x5d2268[_0x5cb47f(0x115)]=_0x42900f['dEtVo'];continue;case'5':_0x5d2268['STORONGE_NEWBI']=_0x42900f[_0x5cb47f(0xdc)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x473a01,_0x51cf0f){const _0x1714e0=_0x343c,_0x53dcea={'bvifV':_0x1714e0(0x14c),'XajLa':function(_0x317cfb,_0x3131e7){return _0x317cfb+_0x3131e7;},'ejTXz':function(_0x13102c,_0x5a70a3){return _0x13102c+_0x5a70a3;},'BNjvs':function(_0x26914f,_0x80d431){return _0x26914f+_0x80d431;},'KaOfF':_0x1714e0(0xba),'sNEaT':_0x1714e0(0x145),'EZEFu':_0x1714e0(0xcc),'KqIBV':_0x1714e0(0xf1),'XPCIf':function(_0xbeb154,_0x1a0ba2){return _0xbeb154||_0x1a0ba2;},'BiaYu':function(_0x3d83a7,_0x268b77){return _0x3d83a7+_0x268b77;},'ppobE':function(_0x2f2f11,_0x5c6eea){return _0x2f2f11+_0x5c6eea;},'uGMiT':function(_0x13b445,_0x1b5914){return _0x13b445+_0x1b5914;},'TJhZu':_0x1714e0(0xb8),'EjGGT':_0x1714e0(0xd9),'FEblA':_0x1714e0(0xe4),'BqQbo':_0x1714e0(0xdf),'YoJvr':_0x1714e0(0xf6),'QIdZy':function(_0x4b69c6,_0x5b571e){return _0x4b69c6!==_0x5b571e;}},_0x5181df=(await NTQQUserApi[_0x1714e0(0x13a)]([_0x53dcea[_0x1714e0(0xe1)]]))[_0x53dcea[_0x1714e0(0xe1)]],_0x11169b=await NTQQUserApi[_0x1714Line truncated
|
||||
@@ -1 +1 @@
|
||||
const _0x5663c3=_0x13a7;(function(_0x5c436b,_0x22ccb2){const _0x4a5474=_0x13a7,_0x50f5f2=_0x5c436b();while(!![]){try{const _0x117b4b=parseInt(_0x4a5474(0x192))/0x1+-parseInt(_0x4a5474(0x1a3))/0x2+parseInt(_0x4a5474(0x1dd))/0x3+-parseInt(_0x4a5474(0x1d0))/0x4+-parseInt(_0x4a5474(0x1fb))/0x5+parseInt(_0x4a5474(0x223))/0x6+parseInt(_0x4a5474(0x185))/0x7;if(_0x117b4b===_0x22ccb2)break;else _0x50f5f2['push'](_0x50f5f2['shift']());}catch(_0x2dbfc2){_0x50f5f2['push'](_0x50f5f2['shift']());}}}(_0xeeb9,0xcd743));import _0x104b49 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5a1322 from'node:path';import _0x44de70 from'node:os';import _0x280043 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0xeeb9(){const _0x15f8b0=[')\x20在线状态变更','cNfda','createHash','dataPathGlobal','constructor','1710656zhENep','KCroq','isPki','tipsTitle','errMsg','RAruB','tipsDesc','IJJYv','\x20has\x20no\x20method\x20','getBuddyService','uin','NodeQQNTWrapperUtil','onSelfStatusChanged','2860866zOMwXs','loginListener','memberCount','dataPath','本账号数据/缓存目录:','onKickedOffLine','getProfileService','vpKmE','AbusP','V1_WIN_NQ_','onLoginSuccessFuncList','NEqLz','IFdwD','lWCwy','当前账号(','digest','mkdirSync','result','get','JYIfr','NodeIDependsAdapter','onSessionInitComplete','assign','addKernelProfileListener','getQuickLoginList','data:image/png;base64,','onMemberListChange','engine','floor','DPsND','2692370rLPUMP','getNextMemberList','./nt_qq/global','BuddyListener','find','length','VCTog','proxyHandler','HrHVj','loginService','onLineDev','aisOu','replace','onLoginSuccess','onLoginFailed','consoleLog','addMsg','getMsgByLongId','addListener','init','sLFul','util','_GW_B','loginErrorInfo','map','UMgXF','ETDdx','onBuddyListChange','split','session','wfdlt','OyaBH','catch','bCvOz','onRecvSysMsg','onUserLoggedIn','快速登录失败\x20','resolve','NodeIKernelGroupListener','NJvCQ','4371774fNPvYc','getGroupService','last_message_time','has','initWithDeskTopConfig','YqQTW','NodeIKernelSessionListener','NodeIKernelLoginService','message_sent','recallTime','./NapCat/data','initDataListener','hMDUT','登录失败','TtZDY','Wcxlb','getBuddyList','isDelete','sNPgK','IBKuB','passwordLogin','3668581gVxvtS','initSession','groupCode','pngBase64QrcodeData','message_received','NodeIGlobalAdapter','MsgListener','NodeIKernelLoginListener','fileLog','JlLSH','gnJWb','read','stringify','858437ThCqnu','initSession\x20failed','set','NodeIDispatcherAdapter','clientType','OSoYZ','now','PDXoI','forEach','./.config/QQ','uHQXC','finzU','没有可快速登录的QQ号','isQuickLogin','from','NodeIKernelMsgListener','wsQhc','2514188ULAHOn','infos','XzFQe','consoleLogLevel','MqRIP','undefined','packet_received','name','onQRCodeLoginSucceed','guteK','qrLogin','getLoginList','msgId','DGozr','startNT','dscDH','KHGlr','uid','HACSD','groupMemberList_MainWindow','curVersion','bREzt','getMsgService','devUid','NodeIQQNTWrapperEngine','onQRCodeSessionFailed','getQRCodePicture','base64','onMemberInfoChange','-v2.db','NodeIKernelProfileListener','GroupListener','push','LocalLoginInfoList','hex','getNTUserDataInfoConfig','EiDka','createMemberListScene','initConfig','then'];_0xeeb9=function(){return _0x15f8b0;};return _0xeeb9();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';function _0x13a7(_0x43846c,_0x30c3b5){const _0xeeb9d9=_0xeeb9();return _0x13a7=function(_0x13a74d,_0x152a68){_0x13a74d=_0x13a74d-0x17d;let _0x17d6b2=_0xeeb9d9[_0x13a74d];return _0x17d6b2;},_0x13a7(_0x43846c,_0x30c3b5);}import _0x56474a from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x5663c3(0x218)];['util'];[_0x5663c3(0x1f8)];[_0x5663c3(0x1de)];['loginService'];[_0x5663c3(0x1e7)]=[];[_0x5663c3(0x202)]={'get'(target,prop,receiver){const _0x462da4=_0x5663c3,Ynpbux={'YqQTW':_0x462da4(0x1a8)};if(typeof target[prop]===Ynpbux[_0x462da4(0x228)])return(...args)=>{const _0x3596f9=_0x462da4;logDebug(target[_0x3596f9(0x1cf)][_0x3596f9(0x1aa)]+_0x3596f9(0x1d8)+prop);};return Reflect[_0x462da4(0x1ef)](target,prop,receiver);}};constructor(){const _0x146576=_0x5663c3,_0x42877d={'HrHVj':function(_0x37a027,_0xf984ef){return _0x37a027(_0xf984ef);},'xoOjg':function(_0x34ec3c,_0x390de0){return _0x34ec3c+_0x390de0;},'Wcxlb':_0x146576(0x1eb),'KCroq':')已登录,无法重复登录','IBKuB':function(_0x4bea4c,_0x3ce746,_0x10209e){return _0x4bea4c(_0x3ce746,_0x10209e);},'NEqLz':function(_0x3bd45e,_0x50beab){return _0x3bd4Line truncated
|
||||
const _0x3fa1cc=_0x542e;(function(_0x28f030,_0x59444d){const _0x54eed8=_0x542e,_0x37b187=_0x28f030();while(!![]){try{const _0x1bb760=parseInt(_0x54eed8(0x1fd))/0x1+-parseInt(_0x54eed8(0x1c0))/0x2*(parseInt(_0x54eed8(0x1dc))/0x3)+parseInt(_0x54eed8(0x1ce))/0x4*(parseInt(_0x54eed8(0x21e))/0x5)+parseInt(_0x54eed8(0x21c))/0x6+parseInt(_0x54eed8(0x210))/0x7+parseInt(_0x54eed8(0x232))/0x8*(-parseInt(_0x54eed8(0x1b3))/0x9)+-parseInt(_0x54eed8(0x1ea))/0xa;if(_0x1bb760===_0x59444d)break;else _0x37b187['push'](_0x37b187['shift']());}catch(_0x2e7d8b){_0x37b187['push'](_0x37b187['shift']());}}}(_0x4a15,0xed666));import _0x264516 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x2d90ea from'node:path';import _0x521909 from'node:os';function _0x4a15(){const _0x2045a7=['onQRCodeLoginSucceed','NodeIQQNTWrapperSession','启动失败:\x20','groupMemberList_MainWindow','initDataListener','10788757OWeOXB','onLineDev','consoleLog','quickLogin','onRecvMsg','HWjTA','infos','onGroupListUpdate','onProfileDetailInfoChanged','onLoginSuccess','aWRWY','clientType','1734306oZSvCk','140022013','5epAPHY','getBuddyService','VRLZf','onAddSendMsg','onSessionInitComplete','onSelfStatusChanged','NodeIQQNTWrapperEngine','数据库初始化失败','base64','from','now','BuddyListener','name','V1_WIN_NQ_','onLoginFailed','getQuickLoginList','DsVhw','last_message_time','./NapCat/data','session','16ZfStom','_GW_B','快速登录不可用','util','hex','Jrgwx','startNT','message_received','140022008','yAzzV','recallTime','AkpCb','tipsDesc','groupCode','TWJVp','split','NodeIKernelSessionListener','then','fileLog','GroupListener','map','createMemberListScene','quickLoginWithUin','delete','onQRCodeSessionFailed','catch','packet_received','NodeIDependsAdapter','qEafy','./nt_qq/global','has','uin','digest','登录失败','onUserLoggedIn','bInEg','ZIFQT','qOdze','账号设备(','initSession\x20failed','AjrPo','addKernelGroupListener','length','memberCount','KVBeD','NodeIKernelBuddyListener','dlnIH','replace','fCbQO','result','ygImi','ProfileListener','NodeIKernelLoginService','./.config/QQ','initConfig','sVbyP','errMsg','getLoginList','addListener','OtxUm','getMsgByLongId','-v2.db','init\x20failed\x20','[KickedOffLine]\x20[','5387778LEcqsx','RUgsf','resolve','devUid','undefined','Cfrbr','fqhjM','快速登录失败\x20','fVEYM','qrcodeUrl','loginListener','ThmYj','proxyHandler','4ieiboi','getProfileService','getQRCodePicture','MjqRz','AVFNg','data:image/png;base64,','xdVfJ','engine','没有可快速登录的QQ号','getBuddyList','leLcx','uid','AbWJC','xQggQ','2621032CqhGyD',')已登录,无法重复登录','loginErrorInfo','push','addKernelBuddyListener','find','addKernelMsgListener','getNextMemberList','update','\x20has\x20no\x20method\x20','curVersion','onLoginSuccessFuncList','Windows\x2010\x20Pro','ndXTu','537579vNzUkb','md5','NodeIKernelGroupListener','initSession','SXfqr','dataPath','NodeIKernelProfileListener','onMemberListChange','onRecvSysMsg','addKernelProfileListener','AIaqo','EpawW','init','fileLogLevel','14853260RFTxqN','pngBase64QrcodeData','XwPns','onMsgInfoListUpdate','xyOxr','assign','getGroupService','forEach','FicaQ','packet_sent',')\x20在线状态变更','get','SXTNg','addKernelLoginListener','msgId','STLEE','set','floor','wBVBM','1527826lPZnmh','本账号数据/缓存目录:','NodeIGlobalAdapter','loginService','hpnjz','dataPathGlobal','OQYDb','homedir','passwordLogin','updateMsg','getMsgService','initWithDeskTopConfig','VzKzP','isQuickLogin'];_0x4a15=function(){return _0x2045a7;};return _0x4a15();}import _0x3b5b32 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';import _0x781a2a from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x542e(_0x218f3b,_0x2850b3){const _0x4a1506=_0x4a15();return _0x542e=function(_0x542e5b,_0x2d7d4b){_0x542e5b=_0x542e5b-0x194;let _0x283fda=_0x4a1506[_0x542e5b];return _0x283fda;},_0x542e(_0x218f3b,_0x2850b3);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x3fa1cc(0x231)];[_0x3fa1cc(0x235)];[_0x3fa1cc(0x1c7)];[_0x3fa1cc(0x1bd)];['loginService'];[_0x3fa1cc(0x1d9)]=[];[_0x3fa1cc(0x1bf)]={'get'(target,prop,receiver){const _0x505978=_0x3fa1cc,oiCXUV={'ZVsHR':function(callee,param1){return callee(param1);},'SXTNg':function(x,y){return x===y;},'CeYxZ':_0x505978(0x1b7)};if(oiCXUV[_0x505978(0x1f6)](typeof target[prop],oiCXUV['CeYxZ']))return(...args)=>{const _0x25c074=_0x505978;oiCXUV['ZVsHR'](logDebug,target['constructor'][_0x25c07Line truncated
|
||||
@@ -1 +1 @@
|
||||
const _0x561b1e=_0x19d2;function _0x5786(){const _0x489834=['from','find','get','values','1557cmjHXv','326944HiInCs','2335476oLkzta','9340965ZjAOqL','NapCat未能正常启动,请检查日志查看错误','forEach','42AeObdy','delete','89576aUGkiN','set','vLnfG','groupCode','NvisB','WuDWz','8293YbscuB','toString','5251085nmPVYn','uin','8327ydUUrB','length','224IDxJuZ','8620QpPKtA'];_0x5786=function(){return _0x489834;};return _0x5786();}(function(_0x2cea5b,_0x5435b7){const _0x5ccfcd=_0x19d2,_0x442fb3=_0x2cea5b();while(!![]){try{const _0x519bc4=-parseInt(_0x5ccfcd(0xac))/0x1*(-parseInt(_0x5ccfcd(0x98))/0x2)+parseInt(_0x5ccfcd(0xa4))/0x3*(parseInt(_0x5ccfcd(0x9f))/0x4)+parseInt(_0x5ccfcd(0xa1))/0x5+parseInt(_0x5ccfcd(0xa0))/0x6+-parseInt(_0x5ccfcd(0x94))/0x7+parseInt(_0x5ccfcd(0xa6))/0x8*(-parseInt(_0x5ccfcd(0x9e))/0x9)+parseInt(_0x5ccfcd(0x99))/0xa*(-parseInt(_0x5ccfcd(0x96))/0xb);if(_0x519bc4===_0x5435b7)break;else _0x442fb3['push'](_0x442fb3['shift']());}catch(_0x35f6ea){_0x442fb3['push'](_0x442fb3['shift']());}}}(_0x5786,0xf1e45));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x40d3fb){const _0x504f58=_0x19d2;groups[_0x504f58(0xa5)](_0x40d3fb),groupMembers[_0x504f58(0xa5)](_0x40d3fb);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x19d2(_0x366433,_0x3d2af2){const _0x5786bc=_0x5786();return _0x19d2=function(_0x19d2a8,_0x2f03e6){_0x19d2a8=_0x19d2a8-0x93;let _0x8aad7=_0x5786bc[_0x19d2a8];return _0x8aad7;},_0x19d2(_0x366433,_0x3d2af2);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x561b1e(0xa2)};export async function getFriend(_0x447ef0){const _0x65681b=_0x561b1e,_0x1a8b34={'NvisB':function(_0x655d89,_0x1dfbc7){return _0x655d89(_0x1dfbc7);}};_0x447ef0=_0x447ef0['toString']();if(_0x1a8b34[_0x65681b(0xaa)](isNumeric,_0x447ef0)){const _0x26792d=Array[_0x65681b(0x9a)](friends['values']());return _0x26792d[_0x65681b(0x9b)](_0x910c14=>_0x910c14[_0x65681b(0x95)]===_0x447ef0);}else return friends[_0x65681b(0x9c)](_0x447ef0);}export async function getGroup(_0x5d4cad){const _0x1a9732=_0x561b1e;let _0xa7840a=groups['get'](_0x5d4cad[_0x1a9732(0x93)]());if(!_0xa7840a)try{const _0x547d01=await NTQQGroupApi['getGroups']();_0x547d01[_0x1a9732(0x97)]&&_0x547d01[_0x1a9732(0xa3)](_0x469a98=>{const _0x116d0e=_0x1a9732;groups[_0x116d0e(0xa7)](_0x469a98[_0x116d0e(0xa9)],_0x469a98);});}catch(_0x3b88e9){return undefined;}return _0xa7840a=groups[_0x1a9732(0x9c)](_0x5d4cad[_0x1a9732(0x93)]()),_0xa7840a;}export async function getGroupMember(_0x958a21,_0x5c9f28){const _0x4763df=_0x561b1e,_0x546dc2={'vLnfG':function(_0x5996fa,_0x121bc3){return _0x5996fa(_0x121bc3);},'ZNkdc':function(_0x1b6087){return _0x1b6087();}};_0x958a21=_0x958a21['toString'](),_0x5c9f28=_0x5c9f28[_0x4763df(0x93)]();let _0x45ec0c=groupMembers['get'](_0x958a21);if(!_0x45ec0c)try{_0x45ec0c=await NTQQGroupApi['getGroupMembers'](_0x958a21),groupMembers[_0x4763df(0xa7)](_0x958a21,_0x45ec0c);}catch(_0x19972c){return null;}const _0x538033=()=>{const _0x1401a2=_0x4763df;let _0x5e1e33=undefined;return _0x546dc2[_0x1401a2(0xa8)](isNumeric,_0x5c9f28)?_0x5e1e33=Array[_0x1401a2(0x9a)](_0x45ec0c[_0x1401a2(0x9d)]())[_0x1401a2(0x9b)](_0x19593d=>_0x19593d[_0x1401a2(0x95)]===_0x5c9f28):_0x5e1e33=_0x45ec0c[_0x1401a2(0x9c)](_0x5c9f28),_0x5e1e33;};let _0x4cbbe7=_0x538033();return!_0x4cbbe7&&(_0x45ec0c=await NTQQGroupApi['getGroupMembers'](_0x958a21),_0x4cbbe7=_0x546dc2['ZNkdc'](_0x538033)),_0x4cbbe7;}export const uid2UinMap={};export function getUidByUin(_0x5c668b){const _0x2ab4d9=_0x561b1e,_0xa000da={'WuDWz':function(_0x6771d1,_0x73bd53){return _0x6771d1===_0x73bd53;}};for(const _0x1799b0 in uid2UinMap){if(_0xa000da[_0x2ab4d9(0xab)](uid2UinMap[_0x1799b0],_0x5c668b))return _0x1799b0;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
||||
(function(_0x401365,_0x49c61c){const _0x4cf9d3=_0x46ad,_0x35b7b1=_0x401365();while(!![]){try{const _0xf804b0=-parseInt(_0x4cf9d3(0xe0))/0x1+parseInt(_0x4cf9d3(0xd5))/0x2+parseInt(_0x4cf9d3(0xe4))/0x3+-parseInt(_0x4cf9d3(0xe5))/0x4+-parseInt(_0x4cf9d3(0xd3))/0x5+parseInt(_0x4cf9d3(0xe2))/0x6+-parseInt(_0x4cf9d3(0xdb))/0x7;if(_0xf804b0===_0x49c61c)break;else _0x35b7b1['push'](_0x35b7b1['shift']());}catch(_0x37cea4){_0x35b7b1['push'](_0x35b7b1['shift']());}}}(_0x1de9,0x3fb3a));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x276185){groups['delete'](_0x276185),groupMembers['delete'](_0x276185);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};function _0x1de9(){const _0x46c768=['1036428RIsfkI','181552oTBqTk','1480685bZoCFu','from','32058DZAjYK','getGroupMembers','groupCode','forEach','toString','get','440454sBiBSy','set','yZbcq','lVkTg','uin','26794ZpwVvZ','values','1983948YniqKh','FQazi'];_0x1de9=function(){return _0x46c768;};return _0x1de9();}export const groupNotifies={};function _0x46ad(_0x1099aa,_0x5a1b3a){const _0x1de96c=_0x1de9();return _0x46ad=function(_0x46ad8c,_0x3340f5){_0x46ad8c=_0x46ad8c-0xd3;let _0x49bbc0=_0x1de96c[_0x46ad8c];return _0x49bbc0;},_0x46ad(_0x1099aa,_0x5a1b3a);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x5f30fb){const _0x6e4da5=_0x46ad;_0x5f30fb=_0x5f30fb[_0x6e4da5(0xd9)]();if(isNumeric(_0x5f30fb)){const _0x3fc7a6=Array[_0x6e4da5(0xd4)](friends['values']());return _0x3fc7a6['find'](_0x2e800f=>_0x2e800f[_0x6e4da5(0xdf)]===_0x5f30fb);}else return friends[_0x6e4da5(0xda)](_0x5f30fb);}export async function getGroup(_0x21aabf){const _0x28377d=_0x46ad;let _0x2cd5c2=groups[_0x28377d(0xda)](_0x21aabf[_0x28377d(0xd9)]());if(!_0x2cd5c2)try{const _0x4d6144=await NTQQGroupApi['getGroups']();_0x4d6144['length']&&_0x4d6144[_0x28377d(0xd8)](_0x775b9b=>{const _0xf4c4e4=_0x28377d;groups[_0xf4c4e4(0xdc)](_0x775b9b[_0xf4c4e4(0xd7)],_0x775b9b);});}catch(_0x104e6d){return undefined;}return _0x2cd5c2=groups[_0x28377d(0xda)](_0x21aabf['toString']()),_0x2cd5c2;}export async function getGroupMember(_0x528bc3,_0x2e3d7e){const _0x559e60=_0x46ad,_0x594e7f={'yZbcq':function(_0x7a454b,_0x4f97d0){return _0x7a454b(_0x4f97d0);},'lVkTg':function(_0x58f8b7){return _0x58f8b7();}};_0x528bc3=_0x528bc3['toString'](),_0x2e3d7e=_0x2e3d7e['toString']();let _0x19c61a=groupMembers['get'](_0x528bc3);if(!_0x19c61a)try{_0x19c61a=await NTQQGroupApi[_0x559e60(0xd6)](_0x528bc3),groupMembers['set'](_0x528bc3,_0x19c61a);}catch(_0x521acf){return null;}const _0x4fcf5d=()=>{const _0x273111=_0x559e60;let _0x3c4506=undefined;return _0x594e7f[_0x273111(0xdd)](isNumeric,_0x2e3d7e)?_0x3c4506=Array[_0x273111(0xd4)](_0x19c61a[_0x273111(0xe1)]())['find'](_0x3cd5e1=>_0x3cd5e1[_0x273111(0xdf)]===_0x2e3d7e):_0x3c4506=_0x19c61a[_0x273111(0xda)](_0x2e3d7e),_0x3c4506;};let _0x4b71c2=_0x594e7f[_0x559e60(0xde)](_0x4fcf5d);return!_0x4b71c2&&(_0x19c61a=await NTQQGroupApi[_0x559e60(0xd6)](_0x528bc3),_0x4b71c2=_0x594e7f[_0x559e60(0xde)](_0x4fcf5d)),_0x4b71c2;}export const uid2UinMap={};export function getUidByUin(_0x2c19ed){const _0x7a948b=_0x46ad,_0x320798={'FQazi':function(_0x4bbb22,_0x56045b){return _0x4bbb22===_0x56045b;}};for(const _0x40d473 in uid2UinMap){if(_0x320798[_0x7a948b(0xe3)](uid2UinMap[_0x40d473],_0x2c19ed))return _0x40d473;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
||||
@@ -1 +1 @@
|
||||
(function(_0x3e1a0f,_0x1b567f){var _0x5d5053=_0x42a3,_0x517b92=_0x3e1a0f();while(!![]){try{var _0x50cb68=-parseInt(_0x5d5053(0x1c4))/0x1+parseInt(_0x5d5053(0x1c1))/0x2*(parseInt(_0x5d5053(0x1c9))/0x3)+-parseInt(_0x5d5053(0x1c7))/0x4+-parseInt(_0x5d5053(0x1c3))/0x5*(-parseInt(_0x5d5053(0x1cf))/0x6)+-parseInt(_0x5d5053(0x1cd))/0x7+-parseInt(_0x5d5053(0x1c5))/0x8*(parseInt(_0x5d5053(0x1ca))/0x9)+parseInt(_0x5d5053(0x1cc))/0xa;if(_0x50cb68===_0x1b567f)break;else _0x517b92['push'](_0x517b92['shift']());}catch(_0x23b68f){_0x517b92['push'](_0x517b92['shift']());}}}(_0x78aa,0x189de));;function _0x42a3(_0x1cf8f6,_0x648a48){var _0x78aa9c=_0x78aa();return _0x42a3=function(_0x42a3f2,_0x3eea2b){_0x42a3f2=_0x42a3f2-0x1c1;var _0x2e5cfa=_0x78aa9c[_0x42a3f2];return _0x2e5cfa;},_0x42a3(_0x1cf8f6,_0x648a48);}export var CacheFileType;function _0x78aa(){var _0x54db64=['4380EVElbb','naNRt','35795pWdIfR','112025chGuIt','6152qgoxfp','AUDIO','694380EMIxyA','OTHER','42AgMtGg','639EtmABB','VIDEO','4826570xAWBfU','555989vigWSg','ztYzc','6JqINkb','DOCUMENT','vOEgK','xCZLF'];_0x78aa=function(){return _0x54db64;};return _0x78aa();}(function(_0x1129e6){var _0x56a10b=_0x42a3,_0x132272={'vOEgK':'IMAGE','ztYzc':'VIDEO','xCZLF':_0x56a10b(0x1c6),'naNRt':_0x56a10b(0x1d0),'CuppO':_0x56a10b(0x1c8)};_0x1129e6[_0x1129e6[_0x132272['vOEgK']]=0x0]=_0x132272[_0x56a10b(0x1d1)],_0x1129e6[_0x1129e6[_0x56a10b(0x1cb)]=0x1]=_0x132272[_0x56a10b(0x1ce)],_0x1129e6[_0x1129e6[_0x132272[_0x56a10b(0x1d2)]]=0x2]=_0x132272[_0x56a10b(0x1d2)],_0x1129e6[_0x1129e6[_0x132272[_0x56a10b(0x1c2)]]=0x3]=_0x132272['naNRt'],_0x1129e6[_0x1129e6[_0x132272['CuppO']]=0x4]=_0x132272['CuppO'];}(CacheFileType||(CacheFileType={})));
|
||||
(function(_0x3bc2ff,_0x41b78b){var _0x12c40b=_0x59cc,_0x242db8=_0x3bc2ff();while(!![]){try{var _0x497fa2=-parseInt(_0x12c40b(0x19f))/0x1*(-parseInt(_0x12c40b(0x1a0))/0x2)+parseInt(_0x12c40b(0x193))/0x3+-parseInt(_0x12c40b(0x1a1))/0x4+-parseInt(_0x12c40b(0x1a3))/0x5*(parseInt(_0x12c40b(0x19e))/0x6)+-parseInt(_0x12c40b(0x199))/0x7*(-parseInt(_0x12c40b(0x194))/0x8)+parseInt(_0x12c40b(0x19d))/0x9*(-parseInt(_0x12c40b(0x198))/0xa)+-parseInt(_0x12c40b(0x1a5))/0xb*(parseInt(_0x12c40b(0x19b))/0xc);if(_0x497fa2===_0x41b78b)break;else _0x242db8['push'](_0x242db8['shift']());}catch(_0x30431d){_0x242db8['push'](_0x242db8['shift']());}}}(_0x3650,0x43516));function _0x3650(){var _0x10ba91=['66ZuPSnD','ZAwOo','1650648ouJnSD','3901256Zkkcdh','zERsl','OTHER','AUDIO','2440050pfxvoY','7WdoAmh','vRlOg','180816aNEtEn','IMAGE','9UxNPkl','675978bUaNqK','1fWgyAd','135116QQbIoS','1530484WPeWtL','pQIgm','5CXxuKb','DOCUMENT'];_0x3650=function(){return _0x10ba91;};return _0x3650();};function _0x59cc(_0x664e82,_0x5e95a9){var _0x36501c=_0x3650();return _0x59cc=function(_0x59ccc1,_0x2fb1c7){_0x59ccc1=_0x59ccc1-0x192;var _0xb560fe=_0x36501c[_0x59ccc1];return _0xb560fe;},_0x59cc(_0x664e82,_0x5e95a9);}export var CacheFileType;(function(_0x331a3c){var _0x14f5f3=_0x59cc,_0xaeee08={'ZAwOo':_0x14f5f3(0x19c),'zERsl':'VIDEO','pQIgm':_0x14f5f3(0x1a4),'vRlOg':_0x14f5f3(0x196)};_0x331a3c[_0x331a3c[_0x14f5f3(0x19c)]=0x0]=_0xaeee08[_0x14f5f3(0x192)],_0x331a3c[_0x331a3c[_0xaeee08[_0x14f5f3(0x195)]]=0x1]=_0xaeee08[_0x14f5f3(0x195)],_0x331a3c[_0x331a3c[_0x14f5f3(0x197)]=0x2]=_0x14f5f3(0x197),_0x331a3c[_0x331a3c[_0xaeee08[_0x14f5f3(0x1a2)]]=0x3]=_0xaeee08[_0x14f5f3(0x1a2)],_0x331a3c[_0x331a3c[_0xaeee08[_0x14f5f3(0x19a)]]=0x4]=_0xaeee08['vRlOg'];}(CacheFileType||(CacheFileType={})));
|
||||
@@ -1 +1 @@
|
||||
const _0x34f78a=_0x5382;(function(_0x1eeae4,_0x11dc6b){const _0x98b8e6=_0x5382,_0x2fcb87=_0x1eeae4();while(!![]){try{const _0x9fec81=-parseInt(_0x98b8e6(0x13e))/0x1*(parseInt(_0x98b8e6(0x146))/0x2)+parseInt(_0x98b8e6(0x143))/0x3*(parseInt(_0x98b8e6(0x186))/0x4)+-parseInt(_0x98b8e6(0x140))/0x5*(-parseInt(_0x98b8e6(0x14d))/0x6)+-parseInt(_0x98b8e6(0x149))/0x7*(parseInt(_0x98b8e6(0x161))/0x8)+parseInt(_0x98b8e6(0x150))/0x9+-parseInt(_0x98b8e6(0x17c))/0xa+parseInt(_0x98b8e6(0x17b))/0xb;if(_0x9fec81===_0x11dc6b)break;else _0x2fcb87['push'](_0x2fcb87['shift']());}catch(_0x4ee840){_0x2fcb87['push'](_0x2fcb87['shift']());}}}(_0x52bf,0xb22bb));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x4af065}from'node:fs';import _0x3917c9 from'fluent-ffmpeg';function _0x52bf(){const _0x5c11a2=['VIDEO','qFWeI','AniStickerPackId','FILE','4fWUkSf','QSid','PTT','yBpVl','mface','uploadFile','https://www.bilibili.com/','ark','end','FACE','MARKDOWN','markdown','then','time','AniStickerType','toString','[包剪锤]','dirname','tjvQS','PUbEr','HOscU','1230079tSztbf','fegxT','25pGPqLw','jiWif','Bot\x20Test','2037495rhlbJE','rps','video','2UtoYjd','OqpQG','MwWTu','8653309VxoOxk','Thumb','XfrVC','string','651666jbXVKg','获取视频信息失败','reply','604206CyfSsp','sysface','mp4','catch','dice','writeFile','fQTkm','error','stringify','AeTNg','zjiaY','ptt','zcVGf','[骰子]','notAt','sep','file','8tbyWOu','screenshots','get','aoeZB','UuhDl','text','xudxV','jpg','MFACE','RPS','width','gvOBQ','ARK','文件异常,大小为0','stat','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AniStickerId','unlink','getImageSize','FzeOL','REPLY','_0.png','PIC','[商城表情]','height','语音转换失败,\x20请检查语音文件是否正常','26358794gZUSjc','4895550SqiewB','gif','获取视频封面失败,使用默认封面','replace','JbcdN','xRfFr'];_0x52bf=function(){return _0x5c11a2;};return _0x52bf();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0x5382(_0x6883f5,_0x40f5a1){const _0x52bfdf=_0x52bf();return _0x5382=function(_0x53821d,_0x298314){_0x53821d=_0x53821d-0x137;let _0x305765=_0x52bfdf[_0x53821d];return _0x305765;},_0x5382(_0x6883f5,_0x40f5a1);}import _0x1be45e from'./face_config.json';import*as _0x17c989 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x34f78a(0x166)](_0x28dfa6){const _0x55a657=_0x34f78a;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x28dfa6,'atType':AtType[_0x55a657(0x15e)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x35bb71,_0x245c70,_0x4dc219,_0x115d3b){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x115d3b,'atType':_0x4dc219,'atUid':_0x35bb71,'atTinyId':'','atNtUid':_0x245c70}};}static[_0x34f78a(0x14f)](_0x91bc82,_0xd00003,_0x2d3ac8,_0x353ea1){const _0x55e852=_0x34f78a;return{'elementType':ElementType[_0x55e852(0x175)],'elementId':'','replyElement':{'replayMsgSeq':_0x91bc82,'replayMsgId':_0xd00003,'senderUin':_0x2d3ac8,'senderUinStr':_0x353ea1}};}static async['pic'](_0x505fee,_0x4963a1='',_0x42ad8a=0x0){const _0x5c0ad8=_0x34f78a,_0x5baa8f={'fegxT':function(_0x47babc,_0x5442e0){return _0x47babc===_0x5442e0;},'GNmmQ':function(_0x2030c7,_0x51f02e){return _0x2030c7(_0x51f02e);}},{md5:_0x5e7b39,fileName:_0x3fa9a2,path:_0xb4295f,fileSize:_0x9f47f1}=await NTQQFileApi[_0x5c0ad8(0x18b)](_0x505fee,ElementType[_0x5c0ad8(0x177)],_0x42ad8a);if(_0x5baa8f[_0x5c0ad8(0x13f)](_0x9f47f1,0x0))throw _0x5c0ad8(0x16e);const _0x2b7c89=await NTQQFileApi[_0x5c0ad8(0x173)](_0x505fee),_0x4b9bb8={'md5HexStr':_0x5e7b39,'fileSize':_0x9f47f1[_0x5c0ad8(0x138)](),'picWidth':_0x2b7c89?.['width'],'picHeight':_0x2b7c89?.[_0x5c0ad8(0x179)],'fileName':_0x3fa9a2,'sourcePath':_0xb4295f,'original':!![],'picType':_0x5baa8f['GNmmQ'](isGIF,_0x505fee)?PicType[_0x5c0ad8(0x17d)]:PicType[_0x5c0ad8(0x168)],'picSubType':_0x42ad8a,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4963a1};return{'elementType':ElementType[_0x5c0ad8(0x177)],'elementId':'','picElement':_0x4b9bb8};}static async[_0x34f78a(0x160)](_0x2b123a,_0x3a4444=''){const _0xcfa28f=_0x34f78a,_0x5aee44={'zjiaY':function(_0x9ee29b,_0x576955){return _0x9ee29b===_0x576955;},'HOscU':'文件异常,大小为0','WfUKt':function(_0x372ac4,_0xff9162){return _0x372ac4||_0xff9162;}},{md5:_0x5bf828,fileName:_0x456758,path:_0x53c8eb,fileSize:_0x865b5b}=await NTQQFileApi[_0xcfa28f(0x18b)](_0x2b123a,ElementType[_0xcfa28f(0x185)]);if(_0x5aee44[_0xcfa28f(0x15a)](_0x865b5b,0x0))throw _0x5aee44[_0xcfa28f(0x13d)];const _0x5ca9cb={'elementType':ElementType[_0xcfa28f(0x185)],'elementId':'','fileElement':{'fileName':_0x5aee44['WfUKt'](_0x3a4444,_0x456758),'filePath':_0x53c8eLine truncated
|
||||
const _0x336be0=_0x1549;(function(_0x3a1ddb,_0x48ec1f){const _0x3d7ed3=_0x1549,_0x2ce670=_0x3a1ddb();while(!![]){try{const _0x1d384b=-parseInt(_0x3d7ed3(0x1ce))/0x1*(-parseInt(_0x3d7ed3(0x1c7))/0x2)+-parseInt(_0x3d7ed3(0x19a))/0x3+parseInt(_0x3d7ed3(0x1c0))/0x4*(parseInt(_0x3d7ed3(0x1a7))/0x5)+parseInt(_0x3d7ed3(0x1b1))/0x6+-parseInt(_0x3d7ed3(0x19c))/0x7+parseInt(_0x3d7ed3(0x1cf))/0x8*(parseInt(_0x3d7ed3(0x1b7))/0x9)+-parseInt(_0x3d7ed3(0x1bf))/0xa*(parseInt(_0x3d7ed3(0x195))/0xb);if(_0x1d384b===_0x48ec1f)break;else _0x2ce670['push'](_0x2ce670['shift']());}catch(_0x14f7f6){_0x2ce670['push'](_0x2ce670['shift']());}}}(_0xf37f,0x4fb7c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1ae7c3}from'node:fs';import _0x165e37 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x1549(_0x24a4e5,_0x3c8e20){const _0xf37fcf=_0xf37f();return _0x1549=function(_0x154979,_0x3363a8){_0x154979=_0x154979-0x195;let _0x4483a1=_0xf37fcf[_0x154979];return _0x4483a1;},_0x1549(_0x24a4e5,_0x3c8e20);}import{encodeSilk}from'@/common/utils/audio';import _0x49722d from'./face_config.json';import*as _0x49ab4d from'node:path';import{SignMiniApp}from'../apis';function _0xf37f(){const _0x43886e=['ARK','catch','ThDlA','1127673qqcYqJ','dice','pic','width','markdown','sep','rps','taJpo','7242710ObepTU','1051716kCXOgY','Thumb','unlink','FACE','xGaQp','文件异常,大小为0','unGnB','2AmgtiR','string','find','copyFile','set','MFACE','toString','518963AwmGfy','8EyppwO','pBoUc','fUECG','BUdNG','text','Qhqvv','ptt','https://www.bilibili.com/','[包剪锤]','获取视频封面失败,使用默认封面','TOhQz','file','TklbT','HcvdN','then','grZWh','video','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','error','PIC','AniStickerType','join','QDes','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','LDFuO','REPLY','[商城表情]','jpg','11tedFEN','QSid','iWoHB','gif','TpySj','276225ncBOKM','kmjLB','1710212lwwwab','kBuzj','replace','jqQCx','dirname','ark','_0.png','emoji','size','sysface','jLwXJ','10tZjHny','Bot\x20Test','mface','end','TEXT','uploadFile','Ori','RPS','stat','height','1302408OPKlhm','FILE','stringify'];_0xf37f=function(){return _0x43886e;};return _0xf37f();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x336be0(0x1d3)](_0x20fcee){const _0x4cc7b6=_0x336be0;return{'elementType':ElementType[_0x4cc7b6(0x1ab)],'elementId':'','textElement':{'content':_0x20fcee,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3c1069,_0x19f2a3,_0xc93f13,_0x7117e4){const _0x4e6866=_0x336be0;return{'elementType':ElementType[_0x4e6866(0x1ab)],'elementId':'','textElement':{'content':'@'+_0x7117e4,'atType':_0xc93f13,'atUid':_0x3c1069,'atTinyId':'','atNtUid':_0x19f2a3}};}static['reply'](_0x1ab935,_0x4b0f8d,_0x4fb5fb,_0x5193fe){const _0x499d7e=_0x336be0;return{'elementType':ElementType[_0x499d7e(0x1e8)],'elementId':'','replyElement':{'replayMsgSeq':_0x1ab935,'replayMsgId':_0x4b0f8d,'senderUin':_0x4fb5fb,'senderUinStr':_0x5193fe}};}static async[_0x336be0(0x1b9)](_0x323079,_0x59e621='',_0x2f47d7=0x0){const _0x79649d=_0x336be0,_0x3c33a3={'taJpo':function(_0x592db2,_0x3193f3){return _0x592db2===_0x3193f3;}},{md5:_0x43a103,fileName:_0x114ba5,path:_0x3237d5,fileSize:_0x5cf0dc}=await NTQQFileApi[_0x79649d(0x1ac)](_0x323079,ElementType[_0x79649d(0x1e2)],_0x2f47d7);if(_0x3c33a3[_0x79649d(0x1be)](_0x5cf0dc,0x0))throw _0x79649d(0x1c5);const _0x24055e=await NTQQFileApi['getImageSize'](_0x323079),_0x4f22e3={'md5HexStr':_0x43a103,'fileSize':_0x5cf0dc['toString'](),'picWidth':_0x24055e?.[_0x79649d(0x1ba)],'picHeight':_0x24055e?.[_0x79649d(0x1b0)],'fileName':_0x114ba5,'sourcePath':_0x3237d5,'original':!![],'picType':isGIF(_0x323079)?PicType[_0x79649d(0x198)]:PicType[_0x79649d(0x1ea)],'picSubType':_0x2f47d7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x59e621};return{'elementType':ElementType[_0x79649d(0x1e2)],'elementId':'','picElement':_0x4f22e3};}static async[_0x336be0(0x1da)](_0x32bec4,_0x3a6ab9=''){const _0x7da55c=_0x336be0,_0x3e9c76={'jqQCx':function(_0x530923,_0xd7adfa){return _0x530923===_0xd7adfa;},'UYiOg':_0x7da55c(0x1c5)},{md5:_0x10b1c4,fileName:_0x47aa39,path:_0x26b624,fileSize:_0x5d8255}=await NTQQFileApi['uploadFile'](_0x32bec4,ElementType[_0x7da55c(0x1b2)]);if(_0x3e9c76[_0x7da55c(0x19f)](_0x5d8255,0x0))throw _0x3e9c76['UYiOg'];const _0x18da40={'elementType':ElementType[_0x7da55c(0x1b2)],'elementId':'','fileElement':{'fileName':_0x3a6ab9||_0x47aa39,'filePath':_0x26b624,'fileSize':_0x5d8255[_0x7da55c(0x1cd)]()}};return _0x18da40;}static async[_0x336be0(0x1df)](_0x40cede,_0x4399c8='',_0x56746d=''){const _0x5acc39=_0x336be0,_0x4d22eb={'Qhqvv':function(_0x2d8739,_0x5d479f,_0x342ceb){return _0x2d8739(_0x5d479f,_0x342Line truncated
|
||||
@@ -1 +1 @@
|
||||
function _0x2570(){var _0x538a5a=['1000212uFzhbF','2723ZFoyil','normal','1621865BAhmZk','3883852VlLWPr','129wrkmow','owner','VQqkh','50890GWsdLR','admin','CpVZD','6136waqguE','2383344hIXyVm','116302BnZNeJ','FcQXA'];_0x2570=function(){return _0x538a5a;};return _0x2570();}(function(_0x578f46,_0x16bfae){var _0x5bb041=_0x493c,_0x37052f=_0x578f46();while(!![]){try{var _0x5d1ef1=parseInt(_0x5bb041(0xc1))/0x1+parseInt(_0x5bb041(0xbc))/0x2*(parseInt(_0x5bb041(0xb9))/0x3)+-parseInt(_0x5bb041(0xb8))/0x4+-parseInt(_0x5bb041(0xb7))/0x5+parseInt(_0x5bb041(0xc3))/0x6+parseInt(_0x5bb041(0xc4))/0x7*(parseInt(_0x5bb041(0xbf))/0x8)+parseInt(_0x5bb041(0xc0))/0x9;if(_0x5d1ef1===_0x16bfae)break;else _0x37052f['push'](_0x37052f['shift']());}catch(_0x35f841){_0x37052f['push'](_0x37052f['shift']());}}}(_0x2570,0x9d776));export var GroupMemberRole;function _0x493c(_0x28e83f,_0x574985){var _0x257068=_0x2570();return _0x493c=function(_0x493cec,_0x5f4c75){_0x493cec=_0x493cec-0xb7;var _0x2031ee=_0x257068[_0x493cec];return _0x2031ee;},_0x493c(_0x28e83f,_0x574985);}(function(_0x2660b0){var _0x4687b5=_0x493c,_0x57db77={'VQqkh':_0x4687b5(0xc5),'CpVZD':_0x4687b5(0xbd),'FcQXA':_0x4687b5(0xba)};_0x2660b0[_0x2660b0[_0x57db77[_0x4687b5(0xbb)]]=0x2]='normal',_0x2660b0[_0x2660b0[_0x57db77['CpVZD']]=0x3]=_0x57db77[_0x4687b5(0xbe)],_0x2660b0[_0x2660b0[_0x57db77[_0x4687b5(0xc2)]]=0x4]=_0x57db77[_0x4687b5(0xc2)];}(GroupMemberRole||(GroupMemberRole={})));
|
||||
(function(_0x55481c,_0xd70e5f){var _0x5e32f9=_0x5818,_0xdc4c22=_0x55481c();while(!![]){try{var _0x3e07c4=parseInt(_0x5e32f9(0xc2))/0x1+-parseInt(_0x5e32f9(0xbf))/0x2*(parseInt(_0x5e32f9(0xb9))/0x3)+parseInt(_0x5e32f9(0xc1))/0x4*(-parseInt(_0x5e32f9(0xb8))/0x5)+parseInt(_0x5e32f9(0xbc))/0x6*(-parseInt(_0x5e32f9(0xbe))/0x7)+-parseInt(_0x5e32f9(0xb3))/0x8+-parseInt(_0x5e32f9(0xbd))/0x9*(-parseInt(_0x5e32f9(0xbb))/0xa)+parseInt(_0x5e32f9(0xb7))/0xb;if(_0x3e07c4===_0xd70e5f)break;else _0xdc4c22['push'](_0xdc4c22['shift']());}catch(_0x4ed220){_0xdc4c22['push'](_0xdc4c22['shift']());}}}(_0x5350,0x210d7));export var GroupMemberRole;function _0x5818(_0x153e26,_0x312ee1){var _0x5350b7=_0x5350();return _0x5818=function(_0x5818ef,_0x3fac2b){_0x5818ef=_0x5818ef-0xb3;var _0x18ce36=_0x5350b7[_0x5818ef];return _0x18ce36;},_0x5818(_0x153e26,_0x312ee1);}(function(_0x46734d){var _0x25cf9a=_0x5818,_0x2a4e94={'HESVW':_0x25cf9a(0xb4),'HbfEa':'admin','rKCja':_0x25cf9a(0xb6)};_0x46734d[_0x46734d[_0x2a4e94[_0x25cf9a(0xb5)]]=0x2]=_0x2a4e94[_0x25cf9a(0xb5)],_0x46734d[_0x46734d[_0x2a4e94[_0x25cf9a(0xba)]]=0x3]=_0x2a4e94[_0x25cf9a(0xba)],_0x46734d[_0x46734d[_0x25cf9a(0xb6)]=0x4]=_0x2a4e94[_0x25cf9a(0xc0)];}(GroupMemberRole||(GroupMemberRole={})));function _0x5350(){var _0x116273=['77780CZBWMS','86586YsgceL','117zmVJkC','56yfShoz','60346GUrjPp','rKCja','147772KXWmJA','154712rhKbxM','125544IPkGSs','normal','HESVW','owner','1668700iPiISD','15kcadnq','3OmLSvr','HbfEa'];_0x5350=function(){return _0x116273;};return _0x5350();}
|
||||
@@ -1 +1 @@
|
||||
(function(_0x447077,_0x4e9de3){var _0x296cf3=_0x4f75,_0x30a1ff=_0x447077();while(!![]){try{var _0x3b7f5f=parseInt(_0x296cf3(0xce))/0x1*(-parseInt(_0x296cf3(0xca))/0x2)+-parseInt(_0x296cf3(0xcc))/0x3*(-parseInt(_0x296cf3(0xcd))/0x4)+parseInt(_0x296cf3(0xcf))/0x5*(-parseInt(_0x296cf3(0xcb))/0x6)+-parseInt(_0x296cf3(0xd4))/0x7*(parseInt(_0x296cf3(0xd3))/0x8)+-parseInt(_0x296cf3(0xd0))/0x9+parseInt(_0x296cf3(0xd1))/0xa+-parseInt(_0x296cf3(0xd2))/0xb*(-parseInt(_0x296cf3(0xc9))/0xc);if(_0x3b7f5f===_0x4e9de3)break;else _0x30a1ff['push'](_0x30a1ff['shift']());}catch(_0x1ca52d){_0x30a1ff['push'](_0x30a1ff['shift']());}}}(_0x2273,0x612a2));export*from'./user';export*from'./group';function _0x2273(){var _0x3202e5=['203VzbBbL','2126568sMuXFI','282688CkjuFr','600DhpJyP','138iXuFdJ','67356zrHQiO','2CiztRn','19030TCklrL','6128901MYzGUt','3425360fJjmQa','44dQrcph','23096AHQRVK'];_0x2273=function(){return _0x3202e5;};return _0x2273();}function _0x4f75(_0x7abcca,_0x9c1cea){var _0x2273d5=_0x2273();return _0x4f75=function(_0x4f75a3,_0x27d1ee){_0x4f75a3=_0x4f75a3-0xc9;var _0x4c4379=_0x2273d5[_0x4f75a3];return _0x4c4379;},_0x4f75(_0x7abcca,_0x9c1cea);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
|
||||
function _0x1e01(){var _0x4fbc71=['6398249OnXOMI','2230PfYoDf','23639QLAAsE','125250KeXxER','834AKMOQx','6EfBvkC','151131UHbvxt','730204CtVryQ','2905400kESocE','4qoGEKD','19107pmUEsn'];_0x1e01=function(){return _0x4fbc71;};return _0x1e01();}(function(_0x706fcc,_0x46d8a5){var _0x158582=_0x1d20,_0x31a2af=_0x706fcc();while(!![]){try{var _0x23d15f=-parseInt(_0x158582(0x17e))/0x1*(parseInt(_0x158582(0x181))/0x2)+-parseInt(_0x158582(0x17d))/0x3*(-parseInt(_0x158582(0x17f))/0x4)+-parseInt(_0x158582(0x17b))/0x5+parseInt(_0x158582(0x17c))/0x6*(-parseInt(_0x158582(0x17a))/0x7)+-parseInt(_0x158582(0x180))/0x8+-parseInt(_0x158582(0x182))/0x9*(-parseInt(_0x158582(0x179))/0xa)+parseInt(_0x158582(0x183))/0xb;if(_0x23d15f===_0x46d8a5)break;else _0x31a2af['push'](_0x31a2af['shift']());}catch(_0x3f4286){_0x31a2af['push'](_0x31a2af['shift']());}}}(_0x1e01,0x3f8cc));export*from'./user';export*from'./group';function _0x1d20(_0x5273e4,_0x1a9847){var _0x1e0176=_0x1e01();return _0x1d20=function(_0x1d20f7,_0x5c07f2){_0x1d20f7=_0x1d20f7-0x179;var _0x29917a=_0x1e0176[_0x1d20f7];return _0x29917a;},_0x1d20(_0x5273e4,_0x1a9847);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
|
||||
@@ -1 +1 @@
|
||||
var _0x2b4726=_0x2d40;(function(_0x3bbe49,_0x1e2b66){var _0x102966=_0x2d40,_0x46cc4c=_0x3bbe49();while(!![]){try{var _0x3b9a16=-parseInt(_0x102966(0x183))/0x1*(-parseInt(_0x102966(0x1b2))/0x2)+-parseInt(_0x102966(0x1a2))/0x3*(parseInt(_0x102966(0x198))/0x4)+-parseInt(_0x102966(0x1b7))/0x5+parseInt(_0x102966(0x1ab))/0x6+parseInt(_0x102966(0x199))/0x7+parseInt(_0x102966(0x181))/0x8+-parseInt(_0x102966(0x1b0))/0x9*(-parseInt(_0x102966(0x1b8))/0xa);if(_0x3b9a16===_0x1e2b66)break;else _0x46cc4c['push'](_0x46cc4c['shift']());}catch(_0x3cbd51){_0x46cc4c['push'](_0x46cc4c['shift']());}}}(_0x390f,0xa7f3b));export var ElementType;(function(_0x2f5216){var _0x512df7=_0x2d40,_0x75da0d={'CYrAu':_0x512df7(0x185),'OjOOj':_0x512df7(0x1a7),'TAoHO':_0x512df7(0x1b9),'sgbCY':_0x512df7(0x1a3),'UkjXW':'MFACE','qkJSN':_0x512df7(0x19e),'CxJnN':_0x512df7(0x197),'liliu':'FILE','CZNFc':_0x512df7(0x19c),'OxEye':_0x512df7(0x18b)},_0x4f7f1c=_0x75da0d['CYrAu'][_0x512df7(0x1b4)]('|'),_0x9beb45=0x0;while(!![]){switch(_0x4f7f1c[_0x9beb45++]){case'0':_0x2f5216[_0x2f5216[_0x75da0d['OjOOj']]=0x7]=_0x75da0d[_0x512df7(0x1bc)];continue;case'1':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1a9)]]=0xe]=_0x512df7(0x1b9);continue;case'2':_0x2f5216[_0x2f5216[_0x75da0d['sgbCY']]=0x5]=_0x512df7(0x1a3);continue;case'3':_0x2f5216[_0x2f5216[_0x75da0d['UkjXW']]=0xb]=_0x75da0d[_0x512df7(0x1a0)];continue;case'4':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1ad)]]=0xa]=_0x512df7(0x19e);continue;case'5':_0x2f5216[_0x2f5216[_0x512df7(0x197)]=0x1]=_0x75da0d['CxJnN'];continue;case'6':_0x2f5216[_0x2f5216['FACE']=0x6]=_0x512df7(0x1a4);continue;case'7':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x1ae)]]=0x3]=_0x75da0d[_0x512df7(0x1ae)];continue;case'8':_0x2f5216[_0x2f5216[_0x75da0d[_0x512df7(0x190)]]=0x4]=_0x512df7(0x19c);continue;case'9':_0x2f5216[_0x2f5216['PIC']=0x2]=_0x75da0d['OxEye'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x205e83){var _0x25f45a=_0x2d40,_0x449bbf={'LgWOQ':_0x25f45a(0x196),'bqmgF':'jpg'};_0x205e83[_0x205e83[_0x25f45a(0x196)]=0x7d0]=_0x449bbf[_0x25f45a(0x18d)],_0x205e83[_0x205e83[_0x449bbf[_0x25f45a(0x19f)]]=0x3e8]=_0x449bbf['bqmgF'];}(PicType||(PicType={})));export var PicSubType;function _0x390f(){var _0x2a1cd4=['1ZGcefb','ObNrj','5|9|7|8|2|6|0|4|3|1','igoqC','oKmTZ','xgGCQ','notAt','GPmRX','PIC','uHkCZ','LgWOQ','normal','memberIncrease','CZNFc','pldMp','normal2','CXMUH','MEMBER_NEW_TITLE','https://multimedia.nt.qq.com.cn','gif','TEXT','250060ouXsft','8848798qWBJfT','xulkC','tYCMc','PTT','dice','ARK','bqmgF','UkjXW','atUser','21YovJex','VIDEO','FACE','CITTN','GQNIw','REPLY','LZRLX','TAoHO','atAll','3865674cUOwNe','MhVfb','qkJSN','liliu','AeSSS','127233xOtiPH','friend','339754EipVgi','KoEIc','split','group','ban','5576345FJiOwE','30SoZuGD','MARKDOWN','temp','chatDevice','OjOOj','960992FOzkni','https://gchat.qpic.cn'];_0x390f=function(){return _0x2a1cd4;};return _0x390f();}(function(_0x563fb2){var _0x9a3268=_0x2d40,_0x16e010={'ObNrj':_0x9a3268(0x18e),'MhVfb':'face'};_0x563fb2[_0x563fb2[_0x16e010[_0x9a3268(0x184)]]=0x0]=_0x9a3268(0x18e),_0x563fb2[_0x563fb2[_0x16e010[_0x9a3268(0x1ac)]]=0x1]=_0x16e010[_0x9a3268(0x1ac)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x33f3c6){var _0x239083=_0x2d40,_0x12dad4={'GPmRX':'notAt','GQNIw':_0x239083(0x1aa),'igoqC':_0x239083(0x1a1)};_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x18a)]]=0x0]=_0x239083(0x189),_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x1a6)]]=0x1]=_0x12dad4['GQNIw'],_0x33f3c6[_0x33f3c6[_0x12dad4[_0x239083(0x186)]]=0x2]=_0x12dad4['igoqC'];}(AtType||(AtType={})));export var ChatType;(function(_0x308bc8){var _0x399dee=_0x2d40,_0x271e88={'tYCMc':_0x399dee(0x1b1),'CITTN':_0x399dee(0x1b5),'pldMp':_0x399dee(0x1bb),'xulkC':_0x399dee(0x1ba)};_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x19b)]]=0x1]=_0x271e88[_0x399dee(0x19b)],_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x1a5)]]=0x2]=_0x271e88[_0x399dee(0x1a5)],_0x308bc8[_0x308bc8[_0x399dee(0x1bb)]=0x8]=_0x271e88[_0x399dee(0x191)],_0x308bc8[_0x308bc8[_0x271e88[_0x399dee(0x19a)]]=0x64]=_0x271e88[_0x399dee(0x19a)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x2b4726(0x182);export const IMAGE_HTTP_HOST_NT=_0x2b4726(0x195);export var GrayTipElementSubType;(function(_0x35e2ef){var _0x5b6594=_0x2b4726,_0x38d480={'CXMUH':'INVITE_NEW_MEMBER','xgGCQ':_0x5b6594(0x194)};_0x35e2ef[_0x35e2ef[_0x38d480['CXMUH']]=0xc]=_0x38d480[_0x5b6594(0x193)],_0x35e2ef[_0x35e2ef[_0x38d480[_0x5b6594(0x188)]]=0x11]=_0x5b6594(0x194);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x268c65){var _0xa6f3b=_0x2b4726,_0x2d0c30={'OYEIH':_0xa6f3b(0x18e),'ZcVpW':_0xa6f3b(0x192),'KoEIc':_0xa6f3b(0x19d)};_0x268c65[_0x268c65[_0x2d0c30['OYEIH']]=0x1]=_0x2d0c30['OYEIH'],_0x268c65[_0x268c65[_0x2d0c30['ZcVpW']]=0x2]='normal2',_0x268c65[_0x268c65[_0x2d0c30[_0xa6f3b(0x1b3)]]=0x3]=_0x2d0c30[_0xa6f3b(0x1b3)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x2d40(_0x3596cd,_0x15dd22){var _0x390f88=_0x390f();return
Line truncated
|
||||
var _0x40d45d=_0x30a4;(function(_0x4a984c,_0x1491a0){var _0x1b34eb=_0x30a4,_0x2149cc=_0x4a984c();while(!![]){try{var _0x39f986=-parseInt(_0x1b34eb(0x109))/0x1*(parseInt(_0x1b34eb(0xf4))/0x2)+-parseInt(_0x1b34eb(0x122))/0x3+-parseInt(_0x1b34eb(0x12e))/0x4+parseInt(_0x1b34eb(0xf5))/0x5+parseInt(_0x1b34eb(0x110))/0x6*(-parseInt(_0x1b34eb(0x12c))/0x7)+parseInt(_0x1b34eb(0x10d))/0x8+parseInt(_0x1b34eb(0xef))/0x9;if(_0x39f986===_0x1491a0)break;else _0x2149cc['push'](_0x2149cc['shift']());}catch(_0x25346e){_0x2149cc['push'](_0x2149cc['shift']());}}}(_0x3830,0x6e722));export var ElementType;(function(_0x147b3d){var _0x1493ba=_0x30a4,_0x1b9df9={'sMuJP':_0x1493ba(0x10e),'xQFvE':_0x1493ba(0x10b),'QulOo':_0x1493ba(0x127),'HSrst':_0x1493ba(0x11b),'woxVs':_0x1493ba(0x100),'wDDii':_0x1493ba(0xfa),'epwYs':_0x1493ba(0x119),'tjnoE':_0x1493ba(0x118),'wDXas':'REPLY','IFZJs':_0x1493ba(0xfd),'oMSTm':_0x1493ba(0x123)},_0x414dce=_0x1b9df9[_0x1493ba(0xf6)][_0x1493ba(0x128)]('|'),_0x3b9310=0x0;while(!![]){switch(_0x414dce[_0x3b9310++]){case'0':_0x147b3d[_0x147b3d[_0x1493ba(0x10b)]=0x5]=_0x1b9df9[_0x1493ba(0x106)];continue;case'1':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x11a)]]=0xb]=_0x1b9df9[_0x1493ba(0x11a)];continue;case'2':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x12a)]]=0x4]=_0x1493ba(0x11b);continue;case'3':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x12b)]]=0x3]=_0x1493ba(0x100);continue;case'4':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x115)]]=0xa]=_0x1b9df9[_0x1493ba(0x115)];continue;case'5':_0x147b3d[_0x147b3d[_0x1493ba(0x119)]=0x2]=_0x1b9df9[_0x1493ba(0xf0)];continue;case'6':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x10c)]]=0x1]=_0x1b9df9[_0x1493ba(0x10c)];continue;case'7':_0x147b3d[_0x147b3d[_0x1b9df9[_0x1493ba(0x125)]]=0x7]=_0x1493ba(0xf9);continue;case'8':_0x147b3d[_0x147b3d[_0x1493ba(0xfd)]=0x6]=_0x1b9df9['IFZJs'];continue;case'9':_0x147b3d[_0x147b3d[_0x1b9df9['oMSTm']]=0xe]=_0x1b9df9[_0x1493ba(0x11c)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x5ca758){var _0x478c61=_0x30a4,_0x4146c2={'sbTir':_0x478c61(0xf2),'CeHSN':_0x478c61(0x120)};_0x5ca758[_0x5ca758[_0x4146c2['sbTir']]=0x7d0]=_0x4146c2[_0x478c61(0x10a)],_0x5ca758[_0x5ca758[_0x4146c2[_0x478c61(0x107)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x1bf770){var _0x38f334=_0x30a4,_0x423e3d={'ezJXM':_0x38f334(0x113),'cdHaV':_0x38f334(0xf7)};_0x1bf770[_0x1bf770[_0x423e3d['ezJXM']]=0x0]=_0x423e3d[_0x38f334(0x116)],_0x1bf770[_0x1bf770[_0x423e3d[_0x38f334(0xfc)]]=0x1]=_0x423e3d[_0x38f334(0xfc)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3787ce){var _0x3b5cd1=_0x30a4,_0x5e7481={'mCSOx':_0x3b5cd1(0x114),'katit':_0x3b5cd1(0x102),'TFjxG':'atUser'};_0x3787ce[_0x3787ce[_0x5e7481[_0x3b5cd1(0x108)]]=0x0]=_0x5e7481[_0x3b5cd1(0x108)],_0x3787ce[_0x3787ce[_0x5e7481[_0x3b5cd1(0xf1)]]=0x1]=_0x3b5cd1(0x102),_0x3787ce[_0x3787ce[_0x3b5cd1(0x101)]=0x2]=_0x5e7481[_0x3b5cd1(0x112)];}(AtType||(AtType={})));export var ChatType;function _0x30a4(_0x44ab3e,_0x5272c4){var _0x383077=_0x3830();return _0x30a4=function(_0x30a407,_0x1a73eb){_0x30a407=_0x30a407-0xee;var _0xfaa2e1=_0x383077[_0x30a407];return _0xfaa2e1;},_0x30a4(_0x44ab3e,_0x5272c4);}(function(_0x5e4018){var _0x57a420=_0x30a4,_0x30b5a3={'VsxVq':_0x57a420(0x126),'aEygm':_0x57a420(0xee),'RMvst':_0x57a420(0xfe),'vsfAe':'temp'};_0x5e4018[_0x5e4018[_0x30b5a3[_0x57a420(0x12f)]]=0x1]=_0x30b5a3[_0x57a420(0x12f)],_0x5e4018[_0x5e4018[_0x57a420(0xee)]=0x2]=_0x30b5a3[_0x57a420(0x105)],_0x5e4018[_0x5e4018[_0x30b5a3[_0x57a420(0x11d)]]=0x8]=_0x30b5a3[_0x57a420(0x11d)],_0x5e4018[_0x5e4018[_0x30b5a3['vsfAe']]=0x64]=_0x57a420(0x121);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x40d45d(0x117);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x415bc8){var _0x2756e3=_0x40d45d,_0x554914={'ryMpv':_0x2756e3(0x10f)};_0x415bc8[_0x415bc8[_0x554914[_0x2756e3(0x124)]]=0xc]=_0x2756e3(0x10f),_0x415bc8[_0x415bc8['MEMBER_NEW_TITLE']=0x11]=_0x2756e3(0x103);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x3830(){var _0x5ca7fe=['aEygm','xQFvE','CeHSN','mCSOx','4vGctqT','sbTir','VIDEO','tjnoE','3969104BikVNj','6|5|3|2|0|8|7|4|1|9','INVITE_NEW_MEMBER','12066AJLHUe','RPS','TFjxG','normal','notAt','wDDii','ezJXM','https://gchat.qpic.cn','TEXT','PIC','QulOo','PTT','oMSTm','RMvst','iaviX','dice','jpg','temp','876621SjDYem','MARKDOWN','ryMpv','wDXas','friend','MFACE','split','VuLWG','HSrst','woxVs','609vDzvnW','EZXpi','1887852dVxIXS','VsxVq','normal2','group','9906318xtLmYJ','epwYs','katit','gif','kicked','213676msyxxm','1110125uoaXze','sMuJP','face','ban','REPLY','ARK','SEICf','cdHaV','FACE','chatDevice','ovMbd','FILE','atUser','atAll','MEMBER_NEW_TITLE','memberIncrease'];_0x3830=function(){return _0x5ca7fe;};return _0x3830();}(function(_0x588e12){var _0x1484ca=_0x40d45d,_0x16dfba={'TgQMG':_0x1484ca(0x113),'VuLWG':_0x1484ca(0x11f)};_0x588e12[_0x588e12[_0x16dfba['TgQMG']]=0x1]=_0x16dfba['TLine truncated
|
||||
@@ -1 +1 @@
|
||||
(function(_0x5b47ec,_0x2862e8){var _0x356d71=_0x27d5,_0x4ead16=_0x5b47ec();while(!![]){try{var _0x490a0f=parseInt(_0x356d71(0x207))/0x1+-parseInt(_0x356d71(0x1e7))/0x2+parseInt(_0x356d71(0x1f0))/0x3+parseInt(_0x356d71(0x201))/0x4+-parseInt(_0x356d71(0x1e9))/0x5*(-parseInt(_0x356d71(0x1fb))/0x6)+parseInt(_0x356d71(0x1fc))/0x7+-parseInt(_0x356d71(0x200))/0x8;if(_0x490a0f===_0x2862e8)break;else _0x4ead16['push'](_0x4ead16['shift']());}catch(_0x8f00b){_0x4ead16['push'](_0x4ead16['shift']());}}}(_0x501d,0x9b053));export var GroupNotifyTypes;function _0x27d5(_0x2d7249,_0x4d0766){var _0x501de9=_0x501d();return _0x27d5=function(_0x27d58f,_0x588dfc){_0x27d58f=_0x27d58f-0x1e7;var _0x301411=_0x501de9[_0x27d58f];return _0x301411;},_0x27d5(_0x2d7249,_0x4d0766);}(function(_0x8ae0e9){var _0x2fc13e=_0x27d5,_0x2f98d9={'Gxczc':_0x2fc13e(0x1e8),'QqXlw':_0x2fc13e(0x202),'wuSur':_0x2fc13e(0x1fd),'awZCA':_0x2fc13e(0x208),'UVYUw':_0x2fc13e(0x1ed),'xRbVr':_0x2fc13e(0x1ec),'YYhhS':'ADMIN_UNSET','EcCkP':_0x2fc13e(0x1f6)},_0x2eeb54=_0x2fc13e(0x1ee)[_0x2fc13e(0x1f7)]('|'),_0xf22097=0x0;while(!![]){switch(_0x2eeb54[_0xf22097++]){case'0':_0x8ae0e9[_0x8ae0e9[_0x2fc13e(0x1e8)]=0x7]=_0x2f98d9['Gxczc'];continue;case'1':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1ea)]]=0xd]=_0x2f98d9[_0x2fc13e(0x1ea)];continue;case'2':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1fe)]]=0x8]=_0x2fc13e(0x1fd);continue;case'3':_0x8ae0e9[_0x8ae0e9[_0x2f98d9['awZCA']]=0x9]=_0x2f98d9[_0x2fc13e(0x1f3)];continue;case'4':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1fa)]]=0x4]=_0x2f98d9['UVYUw'];continue;case'5':_0x8ae0e9[_0x8ae0e9[_0x2f98d9['xRbVr']]=0xb]=_0x2fc13e(0x1ec);continue;case'6':_0x8ae0e9[_0x8ae0e9[_0x2f98d9[_0x2fc13e(0x1eb)]]=0xc]=_0x2f98d9[_0x2fc13e(0x1eb)];continue;case'7':_0x8ae0e9[_0x8ae0e9[_0x2fc13e(0x1f6)]=0x1]=_0x2f98d9['EcCkP'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2f1eb9){var _0x3800df=_0x27d5,_0x2a0edd={'fDqsf':_0x3800df(0x1f9),'ODjYD':_0x3800df(0x203),'ShgRQ':_0x3800df(0x206),'TuCeJ':_0x3800df(0x1f5)};_0x2f1eb9[_0x2f1eb9[_0x3800df(0x1f9)]=0x0]=_0x2a0edd[_0x3800df(0x205)],_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1f2)]]=0x1]=_0x2a0edd[_0x3800df(0x1f2)],_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1ff)]]=0x2]=_0x3800df(0x206),_0x2f1eb9[_0x2f1eb9[_0x2a0edd[_0x3800df(0x1f4)]]=0x3]=_0x3800df(0x1f5);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x501d(){var _0x2ae724=['JOIN_REQUEST','20620NfZwoi','QqXlw','YYhhS','MEMBER_EXIT','INVITED_JOIN','7|4|0|2|3|5|6|1','reject','3258690OSKyBJ','approve','ODjYD','awZCA','TuCeJ','REJECT','INVITE_ME','split','nhMoG','IGNORE','UVYUw','1578GvvSaR','7915859AsEWhY','ADMIN_SET','wuSur','ShgRQ','20592352JTERUR','438420NfmtSt','ADMIN_UNSET_OTHER','WAIT_HANDLE','IytEu','fDqsf','APPROVE','547731xGTDnL','KICK_MEMBER','1500016vHqBFy'];_0x501d=function(){return _0x2ae724;};return _0x501d();}export var GroupRequestOperateTypes;(function(_0x482afc){var _0xdaae42=_0x27d5,_0x3f7c1c={'nhMoG':_0xdaae42(0x1f1),'IytEu':_0xdaae42(0x1ef)};_0x482afc[_0x482afc[_0x3f7c1c[_0xdaae42(0x1f8)]]=0x1]=_0x3f7c1c[_0xdaae42(0x1f8)],_0x482afc[_0x482afc[_0x3f7c1c[_0xdaae42(0x204)]]=0x2]=_0x3f7c1c[_0xdaae42(0x204)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));
|
||||
(function(_0x8cf057,_0x2bc697){var _0x24d93f=_0x4a02,_0x4db8f0=_0x8cf057();while(!![]){try{var _0x5894a8=parseInt(_0x24d93f(0x1ad))/0x1*(parseInt(_0x24d93f(0x1a8))/0x2)+parseInt(_0x24d93f(0x1b8))/0x3+parseInt(_0x24d93f(0x1bf))/0x4*(-parseInt(_0x24d93f(0x1bc))/0x5)+-parseInt(_0x24d93f(0x1ac))/0x6+parseInt(_0x24d93f(0x1a9))/0x7*(parseInt(_0x24d93f(0x1aa))/0x8)+parseInt(_0x24d93f(0x1c0))/0x9+-parseInt(_0x24d93f(0x1a4))/0xa*(-parseInt(_0x24d93f(0x1c1))/0xb);if(_0x5894a8===_0x2bc697)break;else _0x4db8f0['push'](_0x4db8f0['shift']());}catch(_0xca68d9){_0x4db8f0['push'](_0x4db8f0['shift']());}}}(_0x2e36,0x2434b));function _0x4a02(_0x3c6e6,_0x4f8b86){var _0x2e36bc=_0x2e36();return _0x4a02=function(_0x4a02c7,_0x195294){_0x4a02c7=_0x4a02c7-0x19f;var _0x2087e8=_0x2e36bc[_0x4a02c7];return _0x2087e8;},_0x4a02(_0x3c6e6,_0x4f8b86);}export var GroupNotifyTypes;(function(_0x58b3bc){var _0x18f468=_0x4a02,_0xc034eb={'omtKY':_0x18f468(0x1a6),'vCPaD':_0x18f468(0x1a1),'DAOsw':_0x18f468(0x1c2),'qAdOW':_0x18f468(0x1a0),'XoeDS':_0x18f468(0x1bd),'ZiEKm':_0x18f468(0x1b4),'KqHUW':_0x18f468(0x1ae),'jPTAX':_0x18f468(0x1b6)},_0xf18b7e=_0xc034eb[_0x18f468(0x1b0)][_0x18f468(0x1a2)]('|'),_0x59d8af=0x0;while(!![]){switch(_0xf18b7e[_0x59d8af++]){case'0':_0x58b3bc[_0x58b3bc[_0x18f468(0x1a1)]=0x9]=_0xc034eb[_0x18f468(0x1ab)];continue;case'1':_0x58b3bc[_0x58b3bc['INVITED_JOIN']=0x4]=_0xc034eb[_0x18f468(0x1c3)];continue;case'2':_0x58b3bc[_0x58b3bc[_0xc034eb[_0x18f468(0x1a5)]]=0x7]=_0xc034eb[_0x18f468(0x1a5)];continue;case'3':_0x58b3bc[_0x58b3bc[_0xc034eb[_0x18f468(0x1b1)]]=0xb]=_0xc034eb[_0x18f468(0x1b1)];continue;case'4':_0x58b3bc[_0x58b3bc['INVITE_ME']=0x1]=_0x18f468(0x1b5);continue;case'5':_0x58b3bc[_0x58b3bc[_0xc034eb[_0x18f468(0x1a3)]]=0xd]=_0xc034eb['ZiEKm'];continue;case'6':_0x58b3bc[_0x58b3bc[_0xc034eb[_0x18f468(0x1b9)]]=0xc]=_0xc034eb[_0x18f468(0x1b9)];continue;case'7':_0x58b3bc[_0x58b3bc[_0xc034eb['jPTAX']]=0x8]=_0x18f468(0x1b6);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x56a373){var _0x433f1a=_0x4a02,_0x2287c3={'iITyz':_0x433f1a(0x1b2),'FwJJA':_0x433f1a(0x19f),'jnnsI':_0x433f1a(0x1a7),'Ymevg':_0x433f1a(0x1af)};_0x56a373[_0x56a373[_0x2287c3[_0x433f1a(0x1ba)]]=0x0]=_0x2287c3[_0x433f1a(0x1ba)],_0x56a373[_0x56a373[_0x433f1a(0x19f)]=0x1]=_0x2287c3['FwJJA'],_0x56a373[_0x56a373[_0x433f1a(0x1a7)]=0x2]=_0x2287c3['jnnsI'],_0x56a373[_0x56a373[_0x2287c3[_0x433f1a(0x1b3)]]=0x3]=_0x2287c3[_0x433f1a(0x1b3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x2e36(){var _0x2dfe75=['KICK_MEMBER','split','ZiEKm','773230QQErvT','qAdOW','4|1|2|7|0|3|6|5','APPROVE','9258HmDLrc','87794CsmGtd','40ighgEr','vCPaD','1399152zDiJOo','34DcqCaE','ADMIN_UNSET','REJECT','omtKY','XoeDS','IGNORE','Ymevg','ADMIN_UNSET_OTHER','INVITE_ME','ADMIN_SET','vxwrN','12504aoZVvG','KqHUW','iITyz','approve','3955LtQUEv','MEMBER_EXIT','reject','1176tnYwmZ','724401LyGoXn','44bZLekc','INVITED_JOIN','DAOsw','WAIT_HANDLE','JOIN_REQUEST'];_0x2e36=function(){return _0x2dfe75;};return _0x2e36();}(function(_0x31df5b){var _0x271014=_0x4a02,_0x17fa61={'pHJhm':_0x271014(0x1bb),'vxwrN':_0x271014(0x1be)};_0x31df5b[_0x31df5b[_0x17fa61['pHJhm']]=0x1]='approve',_0x31df5b[_0x31df5b[_0x17fa61['vxwrN']]=0x2]=_0x17fa61[_0x271014(0x1b7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));
|
||||
@@ -1 +1 @@
|
||||
(function(_0x56a77d,_0x7f79ba){var _0x3d1108=_0x52e1,_0x49a694=_0x56a77d();while(!![]){try{var _0x2815b8=-parseInt(_0x3d1108(0x1c0))/0x1*(parseInt(_0x3d1108(0x1bd))/0x2)+-parseInt(_0x3d1108(0x1c3))/0x3+-parseInt(_0x3d1108(0x1c1))/0x4+-parseInt(_0x3d1108(0x1c6))/0x5*(parseInt(_0x3d1108(0x1ba))/0x6)+parseInt(_0x3d1108(0x1c5))/0x7+-parseInt(_0x3d1108(0x1be))/0x8+parseInt(_0x3d1108(0x1c8))/0x9*(parseInt(_0x3d1108(0x1bf))/0xa);if(_0x2815b8===_0x7f79ba)break;else _0x49a694['push'](_0x49a694['shift']());}catch(_0xd4aff2){_0x49a694['push'](_0x49a694['shift']());}}}(_0x3d89,0xa6b9c));export var Sex;(function(_0xe7bdd3){var _0x5d67b=_0x52e1,_0x5b28ba={'IkDlq':_0x5d67b(0x1bc),'jlBIq':_0x5d67b(0x1bb),'RDTxL':_0x5d67b(0x1c2)};_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c9)]]=0x1]=_0x5d67b(0x1bc),_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c4)]]=0x2]=_0x5b28ba[_0x5d67b(0x1c4)],_0xe7bdd3[_0xe7bdd3[_0x5b28ba[_0x5d67b(0x1c7)]]=0xff]=_0x5b28ba[_0x5d67b(0x1c7)];}(Sex||(Sex={})));function _0x52e1(_0x1296c3,_0x581834){var _0x3d89ac=_0x3d89();return _0x52e1=function(_0x52e108,_0xd5d682){_0x52e108=_0x52e108-0x1ba;var _0x5d089f=_0x3d89ac[_0x52e108];return _0x5d089f;},_0x52e1(_0x1296c3,_0x581834);}function _0x3d89(){var _0x5226f1=['1760854Qbgfao','9941736KIaCKb','41243610quDVuC','1DdzzFd','2468032AiHUQX','unknown','2311254MqvrzF','jlBIq','5997544eGtStn','25LVRtfA','RDTxL','9ZbuXxm','IkDlq','945210mmNYDt','female','male'];_0x3d89=function(){return _0x5226f1;};return _0x3d89();}
|
||||
(function(_0x37155b,_0x2ebeee){var _0x355f5c=_0x2c1a,_0x1970ad=_0x37155b();while(!![]){try{var _0x152ddb=parseInt(_0x355f5c(0x154))/0x1+-parseInt(_0x355f5c(0x159))/0x2*(-parseInt(_0x355f5c(0x151))/0x3)+-parseInt(_0x355f5c(0x14f))/0x4+-parseInt(_0x355f5c(0x152))/0x5+parseInt(_0x355f5c(0x158))/0x6*(parseInt(_0x355f5c(0x156))/0x7)+-parseInt(_0x355f5c(0x14e))/0x8*(-parseInt(_0x355f5c(0x15b))/0x9)+-parseInt(_0x355f5c(0x150))/0xa*(-parseInt(_0x355f5c(0x15a))/0xb);if(_0x152ddb===_0x2ebeee)break;else _0x1970ad['push'](_0x1970ad['shift']());}catch(_0x4a61f6){_0x1970ad['push'](_0x1970ad['shift']());}}}(_0x573e,0x7b071));function _0x573e(){var _0x2986c0=['4705928JyVMHI','857928lgEqOz','10LvEIfS','15judMUX','3554940rZYOVy','kUHua','49727pTHZmn','unknown','1750AtQkKl','uorxB','2814indQUZ','123846EfwsNf','4010138dQxfsP','9NgUsGy','female'];_0x573e=function(){return _0x2986c0;};return _0x573e();}function _0x2c1a(_0xd4b261,_0x595085){var _0x573ef5=_0x573e();return _0x2c1a=function(_0x2c1a6c,_0x5b7fb7){_0x2c1a6c=_0x2c1a6c-0x14e;var _0x324cde=_0x573ef5[_0x2c1a6c];return _0x324cde;},_0x2c1a(_0xd4b261,_0x595085);}export var Sex;(function(_0x254ab9){var _0x3bcd53=_0x2c1a,_0x405072={'uorxB':'male','kUHua':'female'};_0x254ab9[_0x254ab9[_0x405072[_0x3bcd53(0x157)]]=0x1]=_0x405072[_0x3bcd53(0x157)],_0x254ab9[_0x254ab9[_0x405072[_0x3bcd53(0x153)]]=0x2]=_0x3bcd53(0x15c),_0x254ab9[_0x254ab9[_0x3bcd53(0x155)]=0xff]='unknown';}(Sex||(Sex={})));
|
||||
@@ -1 +1 @@
|
||||
(function(_0x5b3097,_0x59d6dd){var _0x321f50=_0x1149,_0xd852d=_0x5b3097();while(!![]){try{var _0x24fb64=parseInt(_0x321f50(0x7b))/0x1+-parseInt(_0x321f50(0x79))/0x2*(-parseInt(_0x321f50(0x7f))/0x3)+-parseInt(_0x321f50(0x7e))/0x4+parseInt(_0x321f50(0x80))/0x5+parseInt(_0x321f50(0x81))/0x6+-parseInt(_0x321f50(0x7d))/0x7*(-parseInt(_0x321f50(0x82))/0x8)+-parseInt(_0x321f50(0x7c))/0x9*(parseInt(_0x321f50(0x7a))/0xa);if(_0x24fb64===_0x59d6dd)break;else _0xd852d['push'](_0xd852d['shift']());}catch(_0x1cf953){_0xd852d['push'](_0xd852d['shift']());}}}(_0x13b1,0x90620));import _0x359475 from'./wrapper';function _0x13b1(){var _0x3dab49=['16QVIhzF','106jSwMaL','2908660XKZFRL','174092UuyQQA','36xBOmIr','683543tioqlN','1306776GHtmnP','27093iIoBtc','4201940PxrQrU','2358774wxUrmt'];_0x13b1=function(){return _0x3dab49;};return _0x13b1();}function _0x1149(_0x57270c,_0x335705){var _0x13b1f5=_0x13b1();return _0x1149=function(_0x1149a4,_0x3333b1){_0x1149a4=_0x1149a4-0x79;var _0x12ffbf=_0x13b1f5[_0x1149a4];return _0x12ffbf;},_0x1149(_0x57270c,_0x335705);}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{_0x359475 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
||||
function _0x3408(){var _0x4a5c0d=['32464yTlwbh','907220FHyCQi','558NaTolX','1486510HZoOrf','936702aazrhI','6613992shvttg','8866150zXRTAb','293195qwLqtO','3cbOdYM','8rsSoQa'];_0x3408=function(){return _0x4a5c0d;};return _0x3408();}(function(_0x365cab,_0x3db9e8){var _0x374bf0=_0x5ceb,_0x95e134=_0x365cab();while(!![]){try{var _0x270f5f=-parseInt(_0x374bf0(0xb3))/0x1+parseInt(_0x374bf0(0xb2))/0x2*(parseInt(_0x374bf0(0xb7))/0x3)+parseInt(_0x374bf0(0xb8))/0x4*(parseInt(_0x374bf0(0xba))/0x5)+parseInt(_0x374bf0(0xb4))/0x6+-parseInt(_0x374bf0(0xb6))/0x7+-parseInt(_0x374bf0(0xb9))/0x8*(-parseInt(_0x374bf0(0xb1))/0x9)+-parseInt(_0x374bf0(0xb5))/0xa;if(_0x270f5f===_0x3db9e8)break;else _0x95e134['push'](_0x95e134['shift']());}catch(_0x392d7d){_0x95e134['push'](_0x95e134['shift']());}}}(_0x3408,0x913b5));import _0x31db0e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0x5ceb(_0x1dfe3b,_0x44087){var _0x3408ad=_0x3408();return _0x5ceb=function(_0x5ceb45,_0x35d635){_0x5ceb45=_0x5ceb45-0xb1;var _0x10cbd2=_0x3408ad[_0x5ceb45];return _0x10cbd2;},_0x5ceb(_0x1dfe3b,_0x44087);}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{_0x31db0e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
||||
@@ -1 +1 @@
|
||||
var _0x2d387d=_0x4993;(function(_0x20e1ca,_0x270438){var _0x373de0=_0x4993,_0xec4822=_0x20e1ca();while(!![]){try{var _0x42ad18=-parseInt(_0x373de0(0xb2))/0x1*(-parseInt(_0x373de0(0xac))/0x2)+-parseInt(_0x373de0(0xa8))/0x3*(parseInt(_0x373de0(0xb8))/0x4)+parseInt(_0x373de0(0xae))/0x5+parseInt(_0x373de0(0xb1))/0x6+parseInt(_0x373de0(0xb6))/0x7+parseInt(_0x373de0(0xaf))/0x8+-parseInt(_0x373de0(0xb7))/0x9*(parseInt(_0x373de0(0xad))/0xa);if(_0x42ad18===_0x270438)break;else _0xec4822['push'](_0xec4822['shift']());}catch(_0x3ba96e){_0xec4822['push'](_0xec4822['shift']());}}}(_0x4812,0xbc53a));function _0x4993(_0x4348bb,_0x5479a1){var _0x481245=_0x4812();return _0x4993=function(_0x49938f,_0x2ff291){_0x49938f=_0x49938f-0xa4;var _0x85b41c=_0x481245[_0x49938f];return _0x85b41c;},_0x4993(_0x4348bb,_0x5479a1);}function _0x4812(){var _0xae36de=['onBlockChanged','onBuddyReqUnreadCntChange','onSpacePermissionInfos','onAddMeSettingChanged','2012778kuqwAC','onSmartInfos','onBuddyInfoChange','onDoubtBuddyReqUnreadNumChange','86FRmLuB','3203330NNhSyW','2534800qoKNAR','3424968yftsld','onBuddyListChange','4265778hGAsqv','24074luEjxY','onAddBuddyNeedVerify','onBuddyDetailInfoChange','onCheckBuddySettingResult','9478070obljyf','54UgYKdS','8EXYuyn'];_0x4812=function(){return _0xae36de;};return _0x4812();}export class BuddyListener{[_0x2d387d(0xb3)](_0x185c40){}[_0x2d387d(0xa7)](_0x380da1){}['onAvatarUrlUpdated'](_0xaf2372){}[_0x2d387d(0xa4)](_0x9da1fa){}[_0x2d387d(0xb4)](_0x3664e6){}[_0x2d387d(0xaa)](_0x5ef054){}[_0x2d387d(0xb0)](_0xecf4de){}['onBuddyRemarkUpdated'](_0x4b71c6){}['onBuddyReqChange'](_0x9c57bb){}[_0x2d387d(0xa5)](_0x45ffdd){}[_0x2d387d(0xb5)](_0x2a445b){}['onDelBatchBuddyInfos'](_0x5861ba){}['onDoubtBuddyReqChange'](_0x441f0c){}[_0x2d387d(0xab)](_0x26998c){}['onNickUpdated'](_0x97813){}[_0x2d387d(0xa9)](_0x589bcc){}[_0x2d387d(0xa6)](_0x4c6502){}}
|
||||
var _0xe83fc1=_0x4147;(function(_0x2454be,_0x42d345){var _0x42eda8=_0x4147,_0x10d3fb=_0x2454be();while(!![]){try{var _0x37e962=-parseInt(_0x42eda8(0x16a))/0x1+parseInt(_0x42eda8(0x169))/0x2+parseInt(_0x42eda8(0x168))/0x3*(-parseInt(_0x42eda8(0x16b))/0x4)+-parseInt(_0x42eda8(0x16e))/0x5+-parseInt(_0x42eda8(0x173))/0x6+parseInt(_0x42eda8(0x171))/0x7*(-parseInt(_0x42eda8(0x178))/0x8)+-parseInt(_0x42eda8(0x175))/0x9*(-parseInt(_0x42eda8(0x177))/0xa);if(_0x37e962===_0x42d345)break;else _0x10d3fb['push'](_0x10d3fb['shift']());}catch(_0x2bd2ab){_0x10d3fb['push'](_0x10d3fb['shift']());}}}(_0x345b,0xce557));function _0x345b(){var _0x51a698=['onCheckBuddySettingResult','onBlockChanged','9JgvDQB','2544862aORvmH','1465934ltBcbO','1468280abZoCI','onBuddyDetailInfoChange','onDoubtBuddyReqChange','3457735IUGBeb','onBuddyListChange','onSmartInfos','28RJnctg','onBuddyReqChange','6745134GjwbTT','onAvatarUrlUpdated','1584bQQyno','onBuddyRemarkUpdated','267610UBJsOB','1508688MJTjVr','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','onSpacePermissionInfos','onAddBuddyNeedVerify','onAddMeSettingChanged'];_0x345b=function(){return _0x51a698;};return _0x345b();}function _0x4147(_0x2fc02d,_0x27035b){var _0x345bc8=_0x345b();return _0x4147=function(_0x41471d,_0x470021){_0x41471d=_0x41471d-0x161;var _0x7eb9c2=_0x345bc8[_0x41471d];return _0x7eb9c2;},_0x4147(_0x2fc02d,_0x27035b);}export class BuddyListener{[_0xe83fc1(0x164)](_0x3d255d){}[_0xe83fc1(0x165)](_0x31d4fc){}[_0xe83fc1(0x174)](_0x1c4078){}[_0xe83fc1(0x167)](_0x3299a9){}[_0xe83fc1(0x16c)](_0xb6f38d){}[_0xe83fc1(0x162)](_0x34186c){}[_0xe83fc1(0x16f)](_0x277dee){}[_0xe83fc1(0x176)](_0x517107){}[_0xe83fc1(0x172)](_0x158d9b){}['onBuddyReqUnreadCntChange'](_0x410093){}[_0xe83fc1(0x166)](_0x2fb4a7){}['onDelBatchBuddyInfos'](_0x424050){}[_0xe83fc1(0x16d)](_0x2e078f){}[_0xe83fc1(0x161)](_0x57495a){}['onNickUpdated'](_0x112d32){}[_0xe83fc1(0x170)](_0x18caf5){}[_0xe83fc1(0x163)](_0x73003f){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x419f8e=_0x115c;(function(_0xc458,_0x2a48ba){var _0x221256=_0x115c,_0xbb87e1=_0xc458();while(!![]){try{var _0x4fd887=parseInt(_0x221256(0x14e))/0x1*(parseInt(_0x221256(0x14f))/0x2)+parseInt(_0x221256(0x14a))/0x3*(-parseInt(_0x221256(0x148))/0x4)+parseInt(_0x221256(0x152))/0x5+parseInt(_0x221256(0x153))/0x6*(parseInt(_0x221256(0x14b))/0x7)+parseInt(_0x221256(0x154))/0x8*(parseInt(_0x221256(0x155))/0x9)+parseInt(_0x221256(0x157))/0xa*(parseInt(_0x221256(0x151))/0xb)+-parseInt(_0x221256(0x149))/0xc;if(_0x4fd887===_0x2a48ba)break;else _0xbb87e1['push'](_0xbb87e1['shift']());}catch(_0x5ddeac){_0xbb87e1['push'](_0xbb87e1['shift']());}}}(_0x3d59,0x31c91));function _0x3d59(){var _0x215dc4=['199640qTHSeZ','onSessionListChanged','308CoevUn','10725900BbFCTX','183INrZJh','68649ftdznX','onFileStatusChanged','onFileSearch','35nYjsZF','4076sHbCFX','onFileListChanged','88OiHiBe','1836355vxvSuH','234LNQhdm','152DuBLHc','57627UhUqgq','onSessionChanged'];_0x3d59=function(){return _0x215dc4;};return _0x3d59();}function _0x115c(_0x166947,_0x5b6eb3){var _0x3d59af=_0x3d59();return _0x115c=function(_0x115cb2,_0x583c51){_0x115cb2=_0x115cb2-0x148;var _0x465b18=_0x3d59af[_0x115cb2];return _0x465b18;},_0x115c(_0x166947,_0x5b6eb3);}export class KernelFileAssistantListener{[_0x419f8e(0x14c)](..._0xb47b12){}[_0x419f8e(0x158)](..._0x5dc007){}[_0x419f8e(0x156)](..._0x1f2739){}[_0x419f8e(0x150)](..._0x2e74fa){}[_0x419f8e(0x14d)](..._0x3b94c7){}}
|
||||
var _0x65462f=_0x4f5b;function _0x4164(){var _0x5069a2=['3333975tpUbQF','18729dOWKjF','1552aXnkkG','onFileSearch','2089072jkjxOP','88hIaNcN','onFileListChanged','3040387RayRvS','onSessionChanged','onSessionListChanged','52908WfNpbt','260720GxlNIO','87340vsajnG','3718LHxJPY','6RVCpBF'];_0x4164=function(){return _0x5069a2;};return _0x4164();}function _0x4f5b(_0x53d0e8,_0x34c664){var _0x416460=_0x4164();return _0x4f5b=function(_0x4f5b40,_0x34a496){_0x4f5b40=_0x4f5b40-0xdc;var _0x564bb2=_0x416460[_0x4f5b40];return _0x564bb2;},_0x4f5b(_0x53d0e8,_0x34c664);}(function(_0x1f9dee,_0x36e3f7){var _0x5bae0b=_0x4f5b,_0x3c8dfa=_0x1f9dee();while(!![]){try{var _0x4a423a=parseInt(_0x5bae0b(0xe1))/0x1+parseInt(_0x5bae0b(0xea))/0x2*(-parseInt(_0x5bae0b(0xe0))/0x3)+-parseInt(_0x5bae0b(0xe9))/0x4+-parseInt(_0x5bae0b(0xe5))/0x5+-parseInt(_0x5bae0b(0xe4))/0x6*(parseInt(_0x5bae0b(0xdd))/0x7)+-parseInt(_0x5bae0b(0xe7))/0x8*(parseInt(_0x5bae0b(0xe6))/0x9)+-parseInt(_0x5bae0b(0xe2))/0xa*(-parseInt(_0x5bae0b(0xe3))/0xb);if(_0x4a423a===_0x36e3f7)break;else _0x3c8dfa['push'](_0x3c8dfa['shift']());}catch(_0x3cd7ff){_0x3c8dfa['push'](_0x3c8dfa['shift']());}}}(_0x4164,0x6406e));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x4be581){}[_0x65462f(0xdf)](..._0x17905f){}[_0x65462f(0xde)](..._0x4d6945){}[_0x65462f(0xdc)](..._0x5a090a){}[_0x65462f(0xe8)](..._0x1c2a7e){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x4281a7=_0x7ddb;(function(_0x20b4a4,_0x1522e1){var _0x5581dc=_0x7ddb,_0x13aa3b=_0x20b4a4();while(!![]){try{var _0x1cc846=-parseInt(_0x5581dc(0x13b))/0x1*(-parseInt(_0x5581dc(0x120))/0x2)+-parseInt(_0x5581dc(0x125))/0x3*(parseInt(_0x5581dc(0x148))/0x4)+-parseInt(_0x5581dc(0x119))/0x5*(parseInt(_0x5581dc(0x138))/0x6)+-parseInt(_0x5581dc(0x14c))/0x7+-parseInt(_0x5581dc(0x14b))/0x8+parseInt(_0x5581dc(0x146))/0x9+-parseInt(_0x5581dc(0x127))/0xa*(-parseInt(_0x5581dc(0x11f))/0xb);if(_0x1cc846===_0x1522e1)break;else _0x13aa3b['push'](_0x13aa3b['shift']());}catch(_0x4a162a){_0x13aa3b['push'](_0x13aa3b['shift']());}}}(_0x4cef,0x62512));export class GroupListener{[_0x4281a7(0x131)](..._0x46fc12){}['onGetGroupBulletinListResult'](..._0x24b336){}['onGroupAllInfoChange'](..._0x53577a){}[_0x4281a7(0x118)](..._0x1d4d73){}[_0x4281a7(0x141)](..._0x26c5d4){}[_0x4281a7(0x115)](..._0x585fd2){}[_0x4281a7(0x14d)](..._0xbad44c){}[_0x4281a7(0x13e)](..._0x29e7ab){}[_0x4281a7(0x11d)](..._0x5ef065){}['onGroupExtListUpdate'](..._0x5b209a){}[_0x4281a7(0x116)](..._0x431029){}['onGroupListUpdate'](_0xbf928,_0x334107){}[_0x4281a7(0x13c)](_0x5891c8,_0x21e26c){}[_0x4281a7(0x134)](..._0x42d2bc){}['onGroupNotifiesUnreadCountUpdated'](..._0x40e9e7){}['onGroupSingleScreenNotifies'](_0x3b7264,_0x3220d4,_0x142074){}[_0x4281a7(0x12d)](..._0x3524e1){}[_0x4281a7(0x13d)](..._0x59201c){}['onJoinGroupNotify'](..._0x19341c){}[_0x4281a7(0x12f)](..._0x24c4ba){}[_0x4281a7(0x12b)](_0x331bba,_0x15bb7e,_0x5be622){}[_0x4281a7(0x149)](_0x337508){}[_0x4281a7(0x128)](..._0x5291af){}['onShutUpMemberListChanged'](..._0x11a0ab){}}function _0x7ddb(_0x299d76,_0x280e69){var _0x4cef77=_0x4cef();return _0x7ddb=function(_0x7ddbcc,_0x374b34){_0x7ddbcc=_0x7ddbcc-0x111;var _0x5308c2=_0x4cef77[_0x7ddbcc];return _0x5308c2;},_0x7ddb(_0x299d76,_0x280e69);}export class DebugGroupListener{[_0x4281a7(0x131)](..._0x4cb093){var _0x386e9a=_0x4281a7,_0x18cdff={'vtdQD':'onGroupMemberLevelInfoChange:'};console[_0x386e9a(0x129)](_0x18cdff['vtdQD'],..._0x4cb093);}['onGetGroupBulletinListResult'](..._0x230c54){var _0x418f7f=_0x4281a7,_0x728276={'vDxoO':_0x418f7f(0x139)};console[_0x418f7f(0x129)](_0x728276[_0x418f7f(0x124)],..._0x230c54);}[_0x4281a7(0x122)](..._0xc72983){var _0x27279e=_0x4281a7,_0x4726e6={'VWAxn':_0x27279e(0x11e)};console[_0x27279e(0x129)](_0x4726e6[_0x27279e(0x142)],..._0xc72983);}[_0x4281a7(0x118)](..._0x1bc1e3){var _0x3867bf=_0x4281a7,_0x381fd6={'qrMfh':_0x3867bf(0x11b)};console['log'](_0x381fd6[_0x3867bf(0x11a)],..._0x1bc1e3);}[_0x4281a7(0x141)](..._0x27436d){var _0x157d18=_0x4281a7,_0x25b816={'oIyME':_0x157d18(0x143)};console[_0x157d18(0x129)](_0x25b816[_0x157d18(0x111)],..._0x27436d);}['onGroupArkInviteStateResult'](..._0x4ed970){var _0x2b25db=_0x4281a7,_0x3e6111={'DhsDR':'onGroupArkInviteStateResult:'};console[_0x2b25db(0x129)](_0x3e6111[_0x2b25db(0x113)],..._0x4ed970);}[_0x4281a7(0x14d)](..._0x127032){var _0x165dea=_0x4281a7,_0x3fd799={'XsROU':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x165dea(0x129)](_0x3fd799[_0x165dea(0x136)],..._0x127032);}[_0x4281a7(0x13e)](..._0x484127){var _0x34ad24=_0x4281a7;console['log'](_0x34ad24(0x12a),..._0x484127);}[_0x4281a7(0x11d)](..._0x1222cf){var _0x167454=_0x4281a7,_0x26067d={'iVSWP':_0x167454(0x13a)};console['log'](_0x26067d['iVSWP'],..._0x1222cf);}[_0x4281a7(0x14a)](..._0x22ea3c){var _0x2fc224=_0x4281a7,_0xff3403={'bUjGP':_0x2fc224(0x137)};console[_0x2fc224(0x129)](_0xff3403[_0x2fc224(0x145)],..._0x22ea3c);}[_0x4281a7(0x116)](..._0x4c012f){var _0x592dd2=_0x4281a7,_0x20f74f={'nrDAA':_0x592dd2(0x123)};console[_0x592dd2(0x129)](_0x20f74f['nrDAA'],..._0x4c012f);}[_0x4281a7(0x135)](..._0x2aafa0){var _0x15d42a=_0x4281a7,_0x2f1e56={'fdDqP':'onGroupListUpdate:'};console[_0x15d42a(0x129)](_0x2f1e56[_0x15d42a(0x121)],..._0x2aafa0);}[_0x4281a7(0x13c)](..._0xa32a6f){var _0x380f9b=_0x4281a7,_0x31a643={'OqbZu':'onGroupNotifiesUpdated:'};console[_0x380f9b(0x129)](_0x31a643['OqbZu'],..._0xa32a6f);}[_0x4281a7(0x134)](..._0x336328){var _0x50e725=_0x4281a7,_0x33c78e={'cjsCG':_0x50e725(0x13f)};console[_0x50e725(0x129)](_0x33c78e[_0x50e725(0x140)],..._0x336328);}[_0x4281a7(0x147)](..._0x389db5){var _0x526c37=_0x4281a7,_0x2b9df2={'uQYqt':_0x526c37(0x130)};console[_0x526c37(0x129)](_0x2b9df2['uQYqt'],..._0x389db5);}['onGroupSingleScreenNotifies'](_0x3be87c,_0xf9e0e8,_0x593af0){var _0x148b14=_0x4281a7,_0x2a6d75={'upvxo':_0x148b14(0x12c)};console[_0x148b14(0x129)](_0x2a6d75['upvxo']);}[_0x4281a7(0x12d)](..._0x3edbd2){var _0x47c166=_0x4281a7,_0xd9d881={'yIAvZ':_0x47c166(0x114)};console['log'](_0xd9d881[_0x47c166(0x112)],..._0x3edbd2);}[_0x4281a7(0x13d)](..._0x3604ef){var _0x126561=_0x4281a7;console['log'](_0x126561(0x126),..._0x3604ef);}['onJoinGroupNotify'](..._0x426eb8){var _0x2dd470=_0x4281a7;console[_0x2dd470(0x129)]('onJoinGroupNotify:',..._0x426eb8);}[_0x4281a7(0x12f)](..._0x129ca0){var _0x331f04=_0x4281a7;console[_0x331f04(0x129)]('onJoinGroupNoVerifyFlag:',..._0x129ca0);}[_0x4281a7(0x12b)](_0x198eb5,_0x4569eb,_0x3ad14a){var _0x5Line truncated
|
||||
var _0x463bdc=_0x52cc;(function(_0x3a1883,_0x1f220c){var _0xc0b374=_0x52cc,_0x3b0118=_0x3a1883();while(!![]){try{var _0x360ca4=-parseInt(_0xc0b374(0x10a))/0x1*(-parseInt(_0xc0b374(0xe7))/0x2)+parseInt(_0xc0b374(0xd6))/0x3*(parseInt(_0xc0b374(0xe6))/0x4)+-parseInt(_0xc0b374(0x110))/0x5*(parseInt(_0xc0b374(0x102))/0x6)+parseInt(_0xc0b374(0xda))/0x7*(-parseInt(_0xc0b374(0xfa))/0x8)+-parseInt(_0xc0b374(0xf8))/0x9+parseInt(_0xc0b374(0xed))/0xa*(-parseInt(_0xc0b374(0xf2))/0xb)+parseInt(_0xc0b374(0xde))/0xc*(parseInt(_0xc0b374(0x10e))/0xd);if(_0x360ca4===_0x1f220c)break;else _0x3b0118['push'](_0x3b0118['shift']());}catch(_0xdde3b2){_0x3b0118['push'](_0x3b0118['shift']());}}}(_0xf2a1,0x59a98));function _0x52cc(_0x1e2734,_0x2dba87){var _0xf2a1e2=_0xf2a1();return _0x52cc=function(_0x52cc46,_0x39b2e1){_0x52cc46=_0x52cc46-0xd3;var _0x2e8b6c=_0xf2a1e2[_0x52cc46];return _0x2e8b6c;},_0x52cc(_0x1e2734,_0x2dba87);}function _0xf2a1(){var _0x5cd79e=['onGroupArkInviteStateResult','49EGLxdD','onGroupExtListUpdate','onGroupsMsgMaskResult:','onGroupBulletinRemindNotify:','12LUfJyq','ciTjK','onGroupNotifiesUnreadCountUpdated','XYSZP','onGroupBulletinChange','onGroupStatisticInfoChange:','EdIBu','sHKin','56492CrduyD','98Cegigc','onJoinGroupNoVerifyFlag:','onGroupNotifiesUpdated','iEcGC','qUIQY','onGroupNotifiesUpdated:','4710520lTXrVZ','onGetGroupBulletinListResult','onGroupAllInfoChange','onJoinGroupNotify:','onGroupListUpdate','11RoldOP','onGroupAllInfoChange:','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete:','onGroupsMsgMaskResult','fthPW','3450798nbVJMp','onGroupConfMemberChange:','259640jddvNB','HSOQe','onMemberInfoChange','onShutUpMemberListChanged:','onSearchMemberChange','onJoinGroupNotify','onGroupBulletinRemindNotify','onMemberListChange','1122nBzDHi','gvTOj','log','HPyMw','onGroupFirstBulletinNotify','onGroupListUpdate:','onGroupBulletinChange:','onGroupStatisticInfoChange','10522tKUUgX','onGroupConfMemberChange','onSearchMemberChange:','onMemberListChange:','12627095Yxmbsq','onGroupNotifiesUnreadCountUpdated:','7435jmyCfu','onShutUpMemberListChanged','HJKsI','onGroupBulletinRichMediaProgressUpdate:','onGroupMemberLevelInfoChange','onGroupDetailInfoChange','onGroupExtListUpdate:','51xDvROb','onJoinGroupNoVerifyFlag','onGroupBulletinRichMediaDownloadComplete'];_0xf2a1=function(){return _0x5cd79e;};return _0xf2a1();}export class GroupListener{[_0x463bdc(0xd3)](..._0x475639){}['onGetGroupBulletinListResult'](..._0x573b42){}[_0x463bdc(0xef)](..._0x4dc760){}[_0x463bdc(0xe2)](..._0x1f6bf6){}[_0x463bdc(0x100)](..._0x3d9c78){}[_0x463bdc(0xd9)](..._0x453efb){}[_0x463bdc(0xd8)](..._0x4e0791){}[_0x463bdc(0x10b)](..._0x3cb4e5){}[_0x463bdc(0xd4)](..._0x3ca0ba){}[_0x463bdc(0xdb)](..._0x1fe968){}['onGroupFirstBulletinNotify'](..._0x10b8ae){}[_0x463bdc(0xf1)](_0x149e27,_0x654ed6){}[_0x463bdc(0xe9)](_0x306d5c,_0x1f86fa){}[_0x463bdc(0xf4)](..._0x31afbc){}[_0x463bdc(0xe0)](..._0x157d7e){}['onGroupSingleScreenNotifies'](_0x109b9f,_0x2ffc9a,_0x711842){}[_0x463bdc(0xf6)](..._0x15e542){}[_0x463bdc(0x109)](..._0x1099f5){}[_0x463bdc(0xff)](..._0x1a8ca3){}[_0x463bdc(0xd7)](..._0x181297){}[_0x463bdc(0xfc)](_0x588cfa,_0xd4c04,_0x2deac0){}['onMemberListChange'](_0x34d0b2){}[_0x463bdc(0xfe)](..._0x791b47){}[_0x463bdc(0x111)](..._0x4a38e8){}}export class DebugGroupListener{[_0x463bdc(0xd3)](..._0x1ed8bc){var _0x46486a=_0x463bdc,_0x4a2169={'fthPW':'onGroupMemberLevelInfoChange:'};console[_0x46486a(0x104)](_0x4a2169[_0x46486a(0xf7)],..._0x1ed8bc);}[_0x463bdc(0xee)](..._0x2bc071){var _0x5ec1f9=_0x463bdc;console[_0x5ec1f9(0x104)]('onGetGroupBulletinListResult:',..._0x2bc071);}[_0x463bdc(0xef)](..._0x10a261){var _0xa4459=_0x463bdc,_0x401bf4={'HJKsI':_0xa4459(0xf3)};console['log'](_0x401bf4[_0xa4459(0x112)],..._0x10a261);}['onGroupBulletinChange'](..._0x4e5a2c){var _0x4aa576=_0x463bdc;console[_0x4aa576(0x104)](_0x4aa576(0x108),..._0x4e5a2c);}[_0x463bdc(0x100)](..._0x33be37){var _0x4fba66=_0x463bdc,_0xd0b033={'zGmkw':_0x4fba66(0xdd)};console['log'](_0xd0b033['zGmkw'],..._0x33be37);}[_0x463bdc(0xd9)](..._0x12da18){var _0x4c1719=_0x463bdc,_0x104aa3={'gvTOj':'onGroupArkInviteStateResult:'};console['log'](_0x104aa3[_0x4c1719(0x103)],..._0x12da18);}[_0x463bdc(0xd8)](..._0x546303){var _0x1ae900=_0x463bdc,_0x232199={'WtYcI':_0x1ae900(0xf5)};console[_0x1ae900(0x104)](_0x232199['WtYcI'],..._0x546303);}[_0x463bdc(0x10b)](..._0x506258){var _0x1d5356=_0x463bdc,_0xf53e2f={'ijXLZ':_0x1d5356(0xf9)};console[_0x1d5356(0x104)](_0xf53e2f['ijXLZ'],..._0x506258);}[_0x463bdc(0xd4)](..._0x1f9e69){var _0x44bd27=_0x463bdc,_0x266085={'guwva':'onGroupDetailInfoChange:'};console[_0x44bd27(0x104)](_0x266085['guwva'],..._0x1f9e69);}[_0x463bdc(0xdb)](..._0x4139da){var _0x4346a2=_0x463bdc,_0x4eb3ea={'HAApI':_0x4346a2(0xd5)};console[_0x4346a2(0x104)](_0x4eb3ea['HAApI'],..._0x4139da);}[_0x463bdc(0x106)](..._0x1667c7){var _0x2e9700=_0x463bdc,_0x3a2efc={'ibAYg':'onGroupFirstBulletinNotify:'};console[_0x2e9700(0x104)](_0x3a2efc['ibAYg'],..._0x1667c7);}['onGrLine truncated
|
||||
@@ -1 +1 @@
|
||||
var _0x36298e=_0x3b68;(function(_0x39270a,_0x25c7cb){var _0x545648=_0x3b68,_0x3d9041=_0x39270a();while(!![]){try{var _0x2c1f5e=parseInt(_0x545648(0xfa))/0x1*(-parseInt(_0x545648(0xe9))/0x2)+parseInt(_0x545648(0xf1))/0x3*(parseInt(_0x545648(0xe2))/0x4)+-parseInt(_0x545648(0xe3))/0x5*(-parseInt(_0x545648(0xec))/0x6)+parseInt(_0x545648(0xe8))/0x7*(-parseInt(_0x545648(0xdf))/0x8)+parseInt(_0x545648(0xef))/0x9+-parseInt(_0x545648(0xe5))/0xa+parseInt(_0x545648(0xe1))/0xb;if(_0x2c1f5e===_0x25c7cb)break;else _0x3d9041['push'](_0x3d9041['shift']());}catch(_0x12e1d9){_0x3d9041['push'](_0x3d9041['shift']());}}}(_0x5f0a,0x1bf96));export class LoginListener{[_0x36298e(0xf2)](..._0x1e6dad){}[_0x36298e(0xe6)](..._0x4d1b2c){}[_0x36298e(0xf7)](..._0xfad982){}[_0x36298e(0xf8)](_0x4a99fb){}[_0x36298e(0xe4)](..._0x5eca8e){}[_0x36298e(0xe0)](..._0x39d4f4){}[_0x36298e(0xf0)](_0x321643){}[_0x36298e(0xf3)](..._0x2edc08){}[_0x36298e(0xeb)](..._0x298d6e){}[_0x36298e(0xf6)](..._0x30f9d3){}[_0x36298e(0xe7)](..._0x862b43){}[_0x36298e(0xf9)](..._0x35c4c4){}[_0x36298e(0xf4)](..._0x44fa28){}[_0x36298e(0xf5)](..._0x3a237f){}[_0x36298e(0xee)](..._0x55e15c){}[_0x36298e(0xed)](..._0xd208c6){}[_0x36298e(0xea)](..._0x4aa974){}}function _0x3b68(_0x449d1a,_0x340df2){var _0x5f0ac7=_0x5f0a();return _0x3b68=function(_0x3b68ae,_0x571dfb){_0x3b68ae=_0x3b68ae-0xdf;var _0x2e54b8=_0x5f0ac7[_0x3b68ae];return _0x2e54b8;},_0x3b68(_0x449d1a,_0x340df2);}function _0x5f0a(){var _0x26279e=['3956ZdmGuR','onLoginState','onLoginFailed','121566sHjEOX','onQQLoginNumLimited','OnConfirmUnusualDeviceFailed','774117CqjSSY','onQRCodeLoginSucceed','2946JGlsjj','onLoginConnected','onQRCodeSessionFailed','onQRCodeSessionQuickLoginFailed','onPasswordLoginFailed','onLogoutSucceed','onLoginConnecting','onQRCodeGetPicture','onUserLoggedIn','95OnsFNO','304nntErM','onQRCodeSessionUserScaned','1646018GbccgG','488Rtiytv','30YtguTA','onQRCodeLoginPollingStarted','568050quMrmo','onLoginDisConnected','onLogoutFailed','21686XEIrOE'];_0x5f0a=function(){return _0x26279e;};return _0x5f0a();}
|
||||
function _0x5437(_0x55d46f,_0x5c72c5){var _0x1d1cc=_0x1d1c();return _0x5437=function(_0x54375f,_0x479d8c){_0x54375f=_0x54375f-0xcf;var _0x3dfa85=_0x1d1cc[_0x54375f];return _0x3dfa85;},_0x5437(_0x55d46f,_0x5c72c5);}var _0x12a638=_0x5437;function _0x1d1c(){var _0x5eaef1=['OnConfirmUnusualDeviceFailed','onQRCodeSessionFailed','4jlaohf','onLoginState','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','onQRCodeLoginPollingStarted','23424236eeEyNr','onUserLoggedIn','3576432HoiVET','849600GiLsNt','onLogoutSucceed','onQRCodeSessionUserScaned','75830qcHnLy','334COjmCU','onLoginFailed','6810111sUYDbt','8yaNkyT','onLogoutFailed','204kKogSA','3695BHopmR','onLoginDisConnected','6641154WwCeji','onQRCodeGetPicture'];_0x1d1c=function(){return _0x5eaef1;};return _0x1d1c();}(function(_0x570e69,_0x166fe9){var _0x5e79b4=_0x5437,_0x1fc70c=_0x570e69();while(!![]){try{var _0x5c18ea=-parseInt(_0x5e79b4(0xd8))/0x1*(parseInt(_0x5e79b4(0xd2))/0x2)+-parseInt(_0x5e79b4(0xe5))/0x3*(parseInt(_0x5e79b4(0xde))/0x4)+parseInt(_0x5e79b4(0xd1))/0x5*(parseInt(_0x5e79b4(0xd7))/0x6)+-parseInt(_0x5e79b4(0xd4))/0x7+-parseInt(_0x5e79b4(0xd5))/0x8*(-parseInt(_0x5e79b4(0xda))/0x9)+parseInt(_0x5e79b4(0xe6))/0xa+parseInt(_0x5e79b4(0xe3))/0xb;if(_0x5c18ea===_0x166fe9)break;else _0x1fc70c['push'](_0x1fc70c['shift']());}catch(_0x5a3087){_0x1fc70c['push'](_0x1fc70c['shift']());}}}(_0x1d1c,0xa7750));export class LoginListener{['onLoginConnected'](..._0x1b8255){}[_0x12a638(0xd9)](..._0x565433){}['onLoginConnecting'](..._0x3f2ef1){}[_0x12a638(0xdb)](_0x2c6477){}[_0x12a638(0xe2)](..._0x12772f){}[_0x12a638(0xd0)](..._0x1c4d81){}['onQRCodeLoginSucceed'](_0x9d27f9){}[_0x12a638(0xdd)](..._0x353b9e){}[_0x12a638(0xd3)](..._0x228e4f){}[_0x12a638(0xcf)](..._0x38ce50){}[_0x12a638(0xd6)](..._0x56181d){}[_0x12a638(0xe4)](..._0x4ccae0){}[_0x12a638(0xe1)](..._0xe642c6){}['onPasswordLoginFailed'](..._0x18bade){}[_0x12a638(0xdc)](..._0x2110f9){}[_0x12a638(0xe0)](..._0x2826bc){}[_0x12a638(0xdf)](..._0x576cfc){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x3c0bf5=_0x1e11;function _0x1d89(){var _0x53371b=['onNtMsgSyncEnd','onNtMsgSyncStart','onMsgQRCodeStatusChanged','onRecvGroupGuildFlag','onRecvS2CMsg','onUserSecQualityChanged','onBroadcastHelperProgerssUpdate','onInputStatusPush','onDraftUpdate','onMsgDelete','4689000JqZIGc','onEmojiDownloadComplete','onImportOldDbProgressUpdate','onlineStatusSmallIconDownloadPush','onRedTouchChanged','onMsgSettingUpdate','2839078bHJdRn','onUnreadCntAfterFirstView','onMsgInfoListAdd','2605776jcJJrY','onContactUnreadCntUpdate','onLogLevelChanged','onAddSendMsg','onFirstViewDirectMsgUpdate','onSendMsgError','onRichMediaProgerssUpdate','onMsgEventListUpdate','onSysMsgNotification','onRecvMsg','onMsgAbstractUpdate','onGuildMsgAbFlagChanged','onMsgSecurityNotify','onMsgWithRichLinkInfoUpdate','onBroadcastHelperProgressUpdate','onUserChannelTabStatusChanged','onFeedEventUpdate','682877KFraEN','onFirstViewGroupGuildMapping','onKickedOffLine','onGroupGuildUpdate','onEmojiResourceUpdate','onChannelFreqLimitInfoUpdate','onRichMediaDownloadComplete','16QZKLnO','7548079VmczRs','onLineDev','onRichMediaUploadComplete','onCustomWithdrawConfigUpdate','onUserOnlineStatusChanged','onHitEmojiKeywordResult','onNtFirstViewMsgSyncEnd','onMsgInfoListUpdate','504327QHcDnX','onGroupTransferInfoAdd','onUserTabStatusChanged','onGuildNotificationAbstractUpdate','onHitRelatedEmojiResult','onHitCsRelatedEmojiResult','6649524hyKOXJ','onGuildInteractiveUpdate'];_0x1d89=function(){return _0x53371b;};return _0x1d89();}(function(_0x300ec9,_0x4c8b76){var _0x2a59a6=_0x1e11,_0x13537f=_0x300ec9();while(!![]){try{var _0x5d184b=-parseInt(_0x2a59a6(0x198))/0x1+parseInt(_0x2a59a6(0x1c0))/0x2+parseInt(_0x2a59a6(0x1a8))/0x3+-parseInt(_0x2a59a6(0x1ae))/0x4+-parseInt(_0x2a59a6(0x1ba))/0x5+parseInt(_0x2a59a6(0x1c3))/0x6+parseInt(_0x2a59a6(0x1a0))/0x7*(parseInt(_0x2a59a6(0x19f))/0x8);if(_0x5d184b===_0x4c8b76)break;else _0x13537f['push'](_0x13537f['shift']());}catch(_0x4f5d35){_0x13537f['push'](_0x13537f['shift']());}}}(_0x1d89,0xda9f8));function _0x1e11(_0xb865ef,_0xb2910a){var _0x1d8900=_0x1d89();return _0x1e11=function(_0x1e11ac,_0x1ea1fc){_0x1e11ac=_0x1e11ac-0x18c;var _0x460e47=_0x1d8900[_0x1e11ac];return _0x460e47;},_0x1e11(_0xb865ef,_0xb2910a);}export class MsgListener{[_0x3c0bf5(0x1c6)](_0xaa82a9){}['onBroadcastHelperDownloadComplete'](_0x1db337){}[_0x3c0bf5(0x195)](_0x13bf52){}[_0x3c0bf5(0x19d)](_0x4af65b,_0x5d7362,_0xc7e2c8){}[_0x3c0bf5(0x1c4)](_0x52b9cf){}[_0x3c0bf5(0x1a3)](_0x42eea9){}[_0x3c0bf5(0x1b8)](_0x12e7d6,_0x8b2ed5,_0xb3f92){}[_0x3c0bf5(0x1bb)](_0x24c0a0){}[_0x3c0bf5(0x19c)](_0x245b31){}[_0x3c0bf5(0x197)](_0x440cf9){}['onFileMsgCome'](_0x30e9a0){}[_0x3c0bf5(0x1c7)](_0x359562){}[_0x3c0bf5(0x199)](_0x2afff8){}['onGrabPasswordRedBag'](_0x1d8b1a,_0x5e978c,_0x257fe4,_0x2e6b69,_0x309967){}['onGroupFileInfoAdd'](_0x977a){}['onGroupFileInfoUpdate'](_0x1c0c47){}[_0x3c0bf5(0x19b)](_0x5ae10e){}[_0x3c0bf5(0x1a9)](_0x483ccf){}['onGroupTransferInfoUpdate'](_0x1ab447){}[_0x3c0bf5(0x1af)](_0x2d6b35){}[_0x3c0bf5(0x192)](_0x614167){}[_0x3c0bf5(0x1ab)](_0x2da0b2){}[_0x3c0bf5(0x1ad)](_0x47fa75){}[_0x3c0bf5(0x1a5)](_0x34c2fd){}[_0x3c0bf5(0x1ac)](_0x4b4dc7){}[_0x3c0bf5(0x1bc)](_0x4e4b18){}[_0x3c0bf5(0x1b7)](_0x1beeca){}[_0x3c0bf5(0x19a)](_0x47dd49){}[_0x3c0bf5(0x1a1)](_0x53bc5a){}[_0x3c0bf5(0x1c5)](_0x52699f){}[_0x3c0bf5(0x191)](_0x4b82a3){}['onMsgBoxChanged'](_0x50f795){}[_0x3c0bf5(0x1b9)](_0x3e89f9,_0x58ff02){}[_0x3c0bf5(0x18e)](_0x2966a4){}[_0x3c0bf5(0x1c2)](_0x2a9b89){}[_0x3c0bf5(0x1a7)](_0x5e7771){}[_0x3c0bf5(0x1b2)](_0x3bc8a5){}['onMsgRecall'](_0x257eb7,_0x51e0ad,_0x276c44){}[_0x3c0bf5(0x193)](_0x5e60f3){}[_0x3c0bf5(0x1bf)](_0x11111f){}[_0x3c0bf5(0x1a6)](){}[_0x3c0bf5(0x1b0)](){}[_0x3c0bf5(0x1b1)](){}['onReadFeedEventUpdate'](_0x249cbd){}[_0x3c0bf5(0x1b3)](_0x91c770){}[_0x3c0bf5(0x190)](_0x3b10e3){}['onRecvMsgSvrRspTransInfo'](_0x3bef80,_0x59e330,_0x3f900e,_0x163398,_0x429e14,_0x1fb33c){}['onRecvOnlineFileMsg'](_0x398dc8){}[_0x3c0bf5(0x1b4)](_0x12bd99){}['onRecvSysMsg'](_0x949280){}['onRecvUDCFlag'](_0x260587){}[_0x3c0bf5(0x19e)](_0x5035a2){}[_0x3c0bf5(0x18d)](_0xa483ba){}[_0x3c0bf5(0x1a2)](_0x128852){}['onSearchGroupFileInfoUpdate'](_0x3af3f2){}[_0x3c0bf5(0x18c)](_0x30e426,_0x207c59,_0x5858b1,_0x5ed9a2){}[_0x3c0bf5(0x18f)](_0x451816,_0x53b825,_0x2e8f9c,_0x55ed78){}['onTempChatInfoUpdate'](_0x53f6d3){}[_0x3c0bf5(0x1c1)](_0x30ea41){}['onUnreadCntUpdate'](_0x159a48){}[_0x3c0bf5(0x196)](_0x2f5748){}[_0x3c0bf5(0x1a4)](_0x1d8d55){}[_0x3c0bf5(0x1aa)](_0x5b768b){}['onlineStatusBigIconDownloadPush'](_0x4486a8,_0x89cc16,_0x460ccc){}[_0x3c0bf5(0x1bd)](_0x3d005a,_0x3f8022,_0x38c049){}[_0x3c0bf5(0x1b5)](..._0x38b011){}[_0x3c0bf5(0x194)](..._0x308d9c){}[_0x3c0bf5(0x1be)](..._0x3302e0){}[_0x3c0bf5(0x1b6)](..._0x214682){}}
|
||||
var _0x40b1fb=_0x50cf;function _0x3741(){var _0x33ad4a=['27221607HZERAk','onNtFirstViewMsgSyncEnd','onKickedOffLine','onMsgSecurityNotify','onContactUnreadCntUpdate','onGroupFileInfoAdd','onMsgInfoListUpdate','onFirstViewGroupGuildMapping','onRecvMsg','26975sBUTLh','onMsgInfoListAdd','onHitCsRelatedEmojiResult','onRichMediaDownloadComplete','577836msOXhW','onRecvUDCFlag','6671770KWItwC','onFeedEventUpdate','onBroadcastHelperProgerssUpdate','onlineStatusSmallIconDownloadPush','onFirstViewDirectMsgUpdate','onLineDev','onGuildInteractiveUpdate','onUserTabStatusChanged','onRecvGroupGuildFlag','onBroadcastHelperDownloadComplete','onHitEmojiKeywordResult','onGroupGuildUpdate','onSendMsgError','onRedTouchChanged','onGroupTransferInfoAdd','onMsgAbstractUpdate','onUserOnlineStatusChanged','onMsgSettingUpdate','onlineStatusBigIconDownloadPush','2541904whaaVP','onMsgDelete','364318aePIVO','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','onMsgBoxChanged','onNtMsgSyncStart','onDraftUpdate','onMsgWithRichLinkInfoUpdate','onGroupFileInfoUpdate','onChannelFreqLimitInfoUpdate','onUnreadCntAfterFirstView','onCustomWithdrawConfigUpdate','822okGJXE','10kgzyuR','onHitRelatedEmojiResult','onGuildNotificationAbstractUpdate','3569256DQSNOF','onRecvMsgSvrRspTransInfo','onUnreadCntUpdate','onInputStatusPush','onEmojiResourceUpdate','3yYqIUP','onGroupTransferInfoUpdate','onBroadcastHelperProgressUpdate','onFileMsgCome','onTempChatInfoUpdate','onMsgQRCodeStatusChanged'];_0x3741=function(){return _0x33ad4a;};return _0x3741();}function _0x50cf(_0x2dc981,_0x4235c8){var _0x374146=_0x3741();return _0x50cf=function(_0x50cfea,_0x23ebd7){_0x50cfea=_0x50cfea-0x126;var _0x19c6b5=_0x374146[_0x50cfea];return _0x19c6b5;},_0x50cf(_0x2dc981,_0x4235c8);}(function(_0x488d8e,_0x8f4503){var _0x10da64=_0x50cf,_0x311f7c=_0x488d8e();while(!![]){try{var _0x4b986b=parseInt(_0x10da64(0x14d))/0x1+parseInt(_0x10da64(0x126))/0x2*(parseInt(_0x10da64(0x13a))/0x3)+parseInt(_0x10da64(0x162))/0x4+parseInt(_0x10da64(0x149))/0x5*(parseInt(_0x10da64(0x131))/0x6)+parseInt(_0x10da64(0x14f))/0x7+parseInt(_0x10da64(0x135))/0x8+parseInt(_0x10da64(0x140))/0x9*(-parseInt(_0x10da64(0x132))/0xa);if(_0x4b986b===_0x8f4503)break;else _0x311f7c['push'](_0x311f7c['shift']());}catch(_0x14a21d){_0x311f7c['push'](_0x311f7c['shift']());}}}(_0x3741,0x7c52e));export class MsgListener{['onAddSendMsg'](_0x208a68){}[_0x40b1fb(0x158)](_0x226581){}[_0x40b1fb(0x13c)](_0x2e6acc){}[_0x40b1fb(0x12e)](_0x5bf6bc,_0x259f66,_0x1b62ef){}[_0x40b1fb(0x144)](_0x3cf956){}[_0x40b1fb(0x130)](_0x51bb4d){}[_0x40b1fb(0x12b)](_0x325a85,_0x47bd6c,_0x56381c){}['onEmojiDownloadComplete'](_0x2be2d6){}[_0x40b1fb(0x139)](_0x52768b){}[_0x40b1fb(0x150)](_0x2f83b1){}[_0x40b1fb(0x13d)](_0x5e5802){}[_0x40b1fb(0x153)](_0x35afb5){}[_0x40b1fb(0x147)](_0x283496){}[_0x40b1fb(0x127)](_0x3d3f59,_0x13f166,_0x1387ab,_0x53a49a,_0x1ddd90){}[_0x40b1fb(0x145)](_0x59cac1){}[_0x40b1fb(0x12d)](_0x192a8d){}[_0x40b1fb(0x15a)](_0x1cc22b){}[_0x40b1fb(0x15d)](_0x5d1707){}[_0x40b1fb(0x13b)](_0x2b5bdc){}[_0x40b1fb(0x155)](_0x373967){}[_0x40b1fb(0x128)](_0x52ecb0){}[_0x40b1fb(0x134)](_0x213100){}[_0x40b1fb(0x14b)](_0x4f1380){}[_0x40b1fb(0x159)](_0x26191a){}[_0x40b1fb(0x133)](_0x2282a3){}['onImportOldDbProgressUpdate'](_0x28f878){}[_0x40b1fb(0x138)](_0x2e2e61){}[_0x40b1fb(0x142)](_0x392af3){}[_0x40b1fb(0x154)](_0x182339){}['onLogLevelChanged'](_0x2ea768){}[_0x40b1fb(0x15e)](_0x2d753c){}[_0x40b1fb(0x129)](_0x36ce75){}[_0x40b1fb(0x163)](_0x23601b,_0x3c6e0f){}['onMsgEventListUpdate'](_0x1810b3){}[_0x40b1fb(0x14a)](_0x46db13){}[_0x40b1fb(0x146)](_0x34741f){}[_0x40b1fb(0x13f)](_0x51dddf){}['onMsgRecall'](_0x15a75d,_0x3eb8ad,_0x23a2b3){}[_0x40b1fb(0x143)](_0x35a76e){}[_0x40b1fb(0x160)](_0x343254){}[_0x40b1fb(0x141)](){}['onNtMsgSyncEnd'](){}[_0x40b1fb(0x12a)](){}['onReadFeedEventUpdate'](_0xb9a232){}[_0x40b1fb(0x157)](_0x54271d){}[_0x40b1fb(0x148)](_0x4a190b){}[_0x40b1fb(0x136)](_0x753216,_0x292545,_0x44d066,_0x58f626,_0x35b346,_0x1e19d0){}['onRecvOnlineFileMsg'](_0x2b39e3){}['onRecvS2CMsg'](_0x5155c6){}['onRecvSysMsg'](_0x258bdb){}[_0x40b1fb(0x14e)](_0x301a89){}[_0x40b1fb(0x14c)](_0x1bc8b8){}['onRichMediaProgerssUpdate'](_0x58cfaf){}['onRichMediaUploadComplete'](_0x5cd6d4){}['onSearchGroupFileInfoUpdate'](_0x5b7f91){}[_0x40b1fb(0x15b)](_0x55f4e7,_0x29b4b0,_0x417233,_0x5c59cb){}['onSysMsgNotification'](_0x5bb6d1,_0x1c6785,_0x36ca3c,_0x49b8e7){}[_0x40b1fb(0x13e)](_0x2b7204){}[_0x40b1fb(0x12f)](_0x512891){}[_0x40b1fb(0x137)](_0x531c66){}['onUserChannelTabStatusChanged'](_0x479fdb){}[_0x40b1fb(0x15f)](_0x2a942e){}[_0x40b1fb(0x156)](_0x5436ed){}[_0x40b1fb(0x161)](_0x23f0ef,_0x4c4eb5,_0x6d5c1e){}[_0x40b1fb(0x152)](_0x21dd6c,_0x13f541,_0x69f8cc){}['onUserSecQualityChanged'](..._0x49d73b){}[_0x40b1fb(0x12c)](..._0x18f805){}[_0x40b1fb(0x15c)](..._0x148f5e){}[_0x40b1fb(0x151)](..._0x4072d1){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x2ad522=_0x46eb;function _0x49c0(){var _0x226a01=['onStrangerRemarkChanged','7679844Yaspdc','3wbgzZs','onProfileDetailInfoChanged','1735842pzSkIy','14796TrloFo','1705495WajDMG','onProfileSimpleChanged','4795224ZVNXpR','onSelfStatusChanged','onStatusUpdate','100810QTtMeM','5264eDWtQP','4470552SBvAlb'];_0x49c0=function(){return _0x226a01;};return _0x49c0();}function _0x46eb(_0x385d68,_0x2eaf33){var _0x49c090=_0x49c0();return _0x46eb=function(_0x46eb71,_0xe9b5fd){_0x46eb71=_0x46eb71-0x8c;var _0x539bfe=_0x49c090[_0x46eb71];return _0x539bfe;},_0x46eb(_0x385d68,_0x2eaf33);}(function(_0x4fd84a,_0x3eca87){var _0x37a016=_0x46eb,_0x303780=_0x4fd84a();while(!![]){try{var _0x19e8e2=-parseInt(_0x37a016(0x94))/0x1+parseInt(_0x37a016(0x8d))/0x2*(-parseInt(_0x37a016(0x99))/0x3)+parseInt(_0x37a016(0x96))/0x4+-parseInt(_0x37a016(0x8f))/0x5+parseInt(_0x37a016(0x98))/0x6+parseInt(_0x37a016(0x91))/0x7+parseInt(_0x37a016(0x95))/0x8*(-parseInt(_0x37a016(0x8e))/0x9);if(_0x19e8e2===_0x3eca87)break;else _0x303780['push'](_0x303780['shift']());}catch(_0x49496b){_0x303780['push'](_0x303780['shift']());}}}(_0x49c0,0xa8b76));export class ProfileListener{[_0x2ad522(0x90)](..._0x16e122){}[_0x2ad522(0x8c)](_0x5919df){}[_0x2ad522(0x93)](..._0x1a5800){}[_0x2ad522(0x92)](..._0x4f0d7e){}[_0x2ad522(0x97)](..._0x4f3224){}}
|
||||
function _0x4589(_0xcb2e02,_0x27d3ff){var _0x59a506=_0x59a5();return _0x4589=function(_0x4589f3,_0x570bf8){_0x4589f3=_0x4589f3-0x189;var _0x2e9fe9=_0x59a506[_0x4589f3];return _0x2e9fe9;},_0x4589(_0xcb2e02,_0x27d3ff);}var _0x29ae63=_0x4589;function _0x59a5(){var _0x3df54b=['3354995ngsqzS','11fahPij','1683070RCrSrU','25408NmHwDY','1918900rRZetI','99tsZQmM','467565RWFSIg','onStrangerRemarkChanged','onStatusUpdate','15TfrFdu','1629tSYkaC','onProfileDetailInfoChanged','onSelfStatusChanged','1894qFmOMN','518748bAbXEF'];_0x59a5=function(){return _0x3df54b;};return _0x59a5();}(function(_0x41ffca,_0x59eb87){var _0x326562=_0x4589,_0x19a62f=_0x41ffca();while(!![]){try{var _0x28f699=parseInt(_0x326562(0x18e))/0x1+parseInt(_0x326562(0x195))/0x2*(-parseInt(_0x326562(0x18d))/0x3)+-parseInt(_0x326562(0x18c))/0x4+-parseInt(_0x326562(0x191))/0x5*(-parseInt(_0x326562(0x196))/0x6)+parseInt(_0x326562(0x197))/0x7+-parseInt(_0x326562(0x18b))/0x8*(parseInt(_0x326562(0x192))/0x9)+parseInt(_0x326562(0x18a))/0xa*(parseInt(_0x326562(0x189))/0xb);if(_0x28f699===_0x59eb87)break;else _0x19a62f['push'](_0x19a62f['shift']());}catch(_0x54c294){_0x19a62f['push'](_0x19a62f['shift']());}}}(_0x59a5,0x467bb));export class ProfileListener{['onProfileSimpleChanged'](..._0x81dff9){}[_0x29ae63(0x193)](_0x2a93f7){}[_0x29ae63(0x190)](..._0x2a47f6){}[_0x29ae63(0x194)](..._0x4d3b05){}[_0x29ae63(0x18f)](..._0x28118e){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x5dbfcc=_0x3d8d;(function(_0x459873,_0x3ef49a){var _0x1dc98b=_0x3d8d,_0x470040=_0x459873();while(!![]){try{var _0x254b76=-parseInt(_0x1dc98b(0x7f))/0x1*(-parseInt(_0x1dc98b(0x73))/0x2)+-parseInt(_0x1dc98b(0x7e))/0x3*(-parseInt(_0x1dc98b(0x7b))/0x4)+-parseInt(_0x1dc98b(0x7a))/0x5*(-parseInt(_0x1dc98b(0x7c))/0x6)+parseInt(_0x1dc98b(0x75))/0x7*(parseInt(_0x1dc98b(0x79))/0x8)+parseInt(_0x1dc98b(0x80))/0x9+-parseInt(_0x1dc98b(0x74))/0xa*(-parseInt(_0x1dc98b(0x77))/0xb)+-parseInt(_0x1dc98b(0x81))/0xc;if(_0x254b76===_0x3ef49a)break;else _0x470040['push'](_0x470040['shift']());}catch(_0x2869e1){_0x470040['push'](_0x470040['shift']());}}}(_0x3fbc,0x3269c));export class KernelRobotListener{[_0x5dbfcc(0x7d)](..._0x519219){}[_0x5dbfcc(0x76)](..._0x2fcd5d){}[_0x5dbfcc(0x78)](..._0x29150c){}}function _0x3d8d(_0x5ccbec,_0x50511b){var _0x3fbc43=_0x3fbc();return _0x3d8d=function(_0x3d8d5f,_0x5b0a03){_0x3d8d5f=_0x3d8d5f-0x73;var _0x41ad1d=_0x3fbc43[_0x3d8d5f];return _0x41ad1d;},_0x3d8d(_0x5ccbec,_0x50511b);}function _0x3fbc(){var _0x549061=['90249FJYyaJ','260783FLmbXc','2905542BbFCsz','12502932nNMMcs','2nOrzkl','30BibIGX','7JkaNvf','onRobotListChanged','958639NEAiwL','onRobotProfileChanged','291752SZgLqL','20sMZTlR','40JQNNMR','99054CmCrmW','onRobotFriendListChanged'];_0x3fbc=function(){return _0x549061;};return _0x3fbc();}
|
||||
function _0x3dfe(_0x3423ae,_0x15d349){var _0x1e4fb1=_0x1e4f();return _0x3dfe=function(_0x3dfeb2,_0x31a492){_0x3dfeb2=_0x3dfeb2-0x6c;var _0x448bf3=_0x1e4fb1[_0x3dfeb2];return _0x448bf3;},_0x3dfe(_0x3423ae,_0x15d349);}var _0x248688=_0x3dfe;(function(_0x27aeb9,_0x4d2834){var _0x2bb9e6=_0x3dfe,_0x17d95c=_0x27aeb9();while(!![]){try{var _0x148754=parseInt(_0x2bb9e6(0x77))/0x1+parseInt(_0x2bb9e6(0x78))/0x2*(parseInt(_0x2bb9e6(0x73))/0x3)+parseInt(_0x2bb9e6(0x70))/0x4*(-parseInt(_0x2bb9e6(0x74))/0x5)+-parseInt(_0x2bb9e6(0x75))/0x6+parseInt(_0x2bb9e6(0x6e))/0x7+-parseInt(_0x2bb9e6(0x72))/0x8+-parseInt(_0x2bb9e6(0x6f))/0x9*(parseInt(_0x2bb9e6(0x71))/0xa);if(_0x148754===_0x4d2834)break;else _0x17d95c['push'](_0x17d95c['shift']());}catch(_0x26d777){_0x17d95c['push'](_0x17d95c['shift']());}}}(_0x1e4f,0xdf070));export class KernelRobotListener{[_0x248688(0x6c)](..._0x5f48d0){}[_0x248688(0x6d)](..._0x334b84){}[_0x248688(0x76)](..._0x43153c){}}function _0x1e4f(){var _0x472562=['12eWZJht','onRobotFriendListChanged','onRobotListChanged','4527523rpQypI','5321439WpWDBd','4TbaJCP','20lRYaKR','6235088vvxWcg','771018zmOcZv','261430YlhFbq','1845564rWgubO','onRobotProfileChanged','1046503SGnpPK'];_0x1e4f=function(){return _0x472562;};return _0x1e4f();}
|
||||
@@ -1 +1 @@
|
||||
var _0x25a2d2=_0x1876;(function(_0x2d6fca,_0x5555d4){var _0x3608a0=_0x1876,_0xac50f6=_0x2d6fca();while(!![]){try{var _0x2c6fb5=-parseInt(_0x3608a0(0xde))/0x1*(parseInt(_0x3608a0(0xda))/0x2)+-parseInt(_0x3608a0(0xe9))/0x3+parseInt(_0x3608a0(0xe5))/0x4*(parseInt(_0x3608a0(0xe3))/0x5)+parseInt(_0x3608a0(0xe6))/0x6*(parseInt(_0x3608a0(0xea))/0x7)+parseInt(_0x3608a0(0xe2))/0x8*(-parseInt(_0x3608a0(0xe4))/0x9)+parseInt(_0x3608a0(0xdd))/0xa*(parseInt(_0x3608a0(0xe0))/0xb)+parseInt(_0x3608a0(0xe8))/0xc;if(_0x2c6fb5===_0x5555d4)break;else _0xac50f6['push'](_0xac50f6['shift']());}catch(_0x596e52){_0xac50f6['push'](_0xac50f6['shift']());}}}(_0x177b,0xe677c));export class SessionListener{[_0x25a2d2(0xdb)](_0x2f8301){}[_0x25a2d2(0xdf)](_0xc15e8){}[_0x25a2d2(0xe7)](_0x154e51){}[_0x25a2d2(0xe1)](_0x2d74fc){}[_0x25a2d2(0xd9)](_0x44121b){}[_0x25a2d2(0xdc)](_0x4bd674){}}function _0x1876(_0x503e32,_0x486a34){var _0x177bd7=_0x177b();return _0x1876=function(_0x187678,_0xb92670){_0x187678=_0x187678-0xd9;var _0x1f8110=_0x177bd7[_0x187678];return _0x1f8110;},_0x1876(_0x503e32,_0x486a34);}function _0x177b(){var _0x15767b=['1ZHcjCe','onGProSessionCreate','1915826NsActM','onOpentelemetryInit','168aCitqp','1523810uGstUC','150975AqtOWi','20PeiSBR','258xnhOYA','onSessionInitComplete','3430776RTzLgb','4876986gERrTP','222033BIhWKO','onUserOnlineResult','1896712plhiPs','onNTSessionCreate','onGetSelfTinyId','40DmoPuQ'];_0x177b=function(){return _0x15767b;};return _0x177b();}
|
||||
function _0x2b6e(){var _0x36f4e9=['14885vSvWHR','2360792rqZTeb','onOpentelemetryInit','41835TaUski','22IieVEU','7898946ByeLvN','628hXZJmx','8430611TIpzHV','onUserOnlineResult','259566JLBfDG','4474116EgRGBk'];_0x2b6e=function(){return _0x36f4e9;};return _0x2b6e();}var _0x56f120=_0x1cd7;(function(_0x37cdcf,_0x27a257){var _0x1e1117=_0x1cd7,_0x1e4ff7=_0x37cdcf();while(!![]){try{var _0x1f5e7e=-parseInt(_0x1e1117(0x14c))/0x1*(parseInt(_0x1e1117(0x150))/0x2)+-parseInt(_0x1e1117(0x14a))/0x3+parseInt(_0x1e1117(0x147))/0x4*(-parseInt(_0x1e1117(0x14f))/0x5)+parseInt(_0x1e1117(0x146))/0x6+parseInt(_0x1e1117(0x148))/0x7+parseInt(_0x1e1117(0x14d))/0x8+-parseInt(_0x1e1117(0x14b))/0x9;if(_0x1f5e7e===_0x27a257)break;else _0x1e4ff7['push'](_0x1e4ff7['shift']());}catch(_0x3a7b4b){_0x1e4ff7['push'](_0x1e4ff7['shift']());}}}(_0x2b6e,0xb8513));function _0x1cd7(_0x38e71d,_0x1c97e4){var _0x2b6e5d=_0x2b6e();return _0x1cd7=function(_0x1cd779,_0x2cefc8){_0x1cd779=_0x1cd779-0x146;var _0x4fe299=_0x2b6e5d[_0x1cd779];return _0x4fe299;},_0x1cd7(_0x38e71d,_0x1c97e4);}export class SessionListener{['onNTSessionCreate'](_0x4bb925){}['onGProSessionCreate'](_0xe6f303){}['onSessionInitComplete'](_0x2b0717){}[_0x56f120(0x14e)](_0x5b36a6){}[_0x56f120(0x149)](_0x47be5d){}['onGetSelfTinyId'](_0x173f9e){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x3b9e23=_0x1e7f;(function(_0x4bda7a,_0x379a09){var _0x23bedf=_0x1e7f,_0x44bb55=_0x4bda7a();while(!![]){try{var _0x33f8d2=parseInt(_0x23bedf(0x1e2))/0x1+parseInt(_0x23bedf(0x1e0))/0x2+parseInt(_0x23bedf(0x1dc))/0x3+-parseInt(_0x23bedf(0x1e4))/0x4*(-parseInt(_0x23bedf(0x1e6))/0x5)+-parseInt(_0x23bedf(0x1e5))/0x6+parseInt(_0x23bedf(0x1dd))/0x7+-parseInt(_0x23bedf(0x1e3))/0x8;if(_0x33f8d2===_0x379a09)break;else _0x44bb55['push'](_0x44bb55['shift']());}catch(_0x3d8e57){_0x44bb55['push'](_0x44bb55['shift']());}}}(_0xf89e,0xa0918));function _0x1e7f(_0x7867f5,_0x17926a){var _0xf89ee=_0xf89e();return _0x1e7f=function(_0x1e7f1e,_0x4edc56){_0x1e7f1e=_0x1e7f1e-0x1db;var _0x11e06a=_0xf89ee[_0x1e7f1e];return _0x11e06a;},_0x1e7f(_0x7867f5,_0x17926a);}export class StorageCleanListener{[_0x3b9e23(0x1db)](_0x3f3e71){}[_0x3b9e23(0x1e1)](_0x5385f9){}[_0x3b9e23(0x1e7)](_0x24510b){}[_0x3b9e23(0x1de)](_0x4063cc){}[_0x3b9e23(0x1df)](_0x5c1d39){}}function _0xf89e(){var _0x5c23be=['onFinishScan','onChatCleanDone','1032840oCzhMR','onScanCacheProgressChanged','178194WfRsnj','6765272gOpCfY','4KwhNET','2856162lqQpHb','2028745qvJhdA','onCleanCacheStorageChanged','onCleanCacheProgressChanged','510195GrnUqY','4962622HZIcPk'];_0xf89e=function(){return _0x5c23be;};return _0xf89e();}
|
||||
var _0x472e65=_0x3354;(function(_0x2938be,_0x153bdd){var _0x23ba11=_0x3354,_0x3a174d=_0x2938be();while(!![]){try{var _0x548f20=parseInt(_0x23ba11(0x1ad))/0x1*(parseInt(_0x23ba11(0x1a9))/0x2)+-parseInt(_0x23ba11(0x1a8))/0x3*(parseInt(_0x23ba11(0x1a2))/0x4)+parseInt(_0x23ba11(0x1ac))/0x5*(parseInt(_0x23ba11(0x1ab))/0x6)+parseInt(_0x23ba11(0x1a0))/0x7+-parseInt(_0x23ba11(0x1a6))/0x8+-parseInt(_0x23ba11(0x1a4))/0x9+parseInt(_0x23ba11(0x1ae))/0xa*(-parseInt(_0x23ba11(0x1a3))/0xb);if(_0x548f20===_0x153bdd)break;else _0x3a174d['push'](_0x3a174d['shift']());}catch(_0x4680b1){_0x3a174d['push'](_0x3a174d['shift']());}}}(_0x3967,0xbddbf));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x531e70){}[_0x472e65(0x1a1)](_0xca2bda){}[_0x472e65(0x1a5)](_0x87f556){}[_0x472e65(0x1aa)](_0x590bf0){}[_0x472e65(0x1a7)](_0x198ead){}}function _0x3354(_0x57e984,_0x212ce7){var _0x396794=_0x3967();return _0x3354=function(_0x335499,_0x32f61b){_0x335499=_0x335499-0x1a0;var _0xf6f365=_0x396794[_0x335499];return _0xf6f365;},_0x3354(_0x57e984,_0x212ce7);}function _0x3967(){var _0x15c3b3=['5960635yOzdsp','3FEzRRR','43470EZENgI','1568784IsQZya','onScanCacheProgressChanged','8wtEvfP','1023isatlW','7311348hsLZbT','onCleanCacheStorageChanged','1034872PUIvVv','onChatCleanDone','983058EzVbAR','908532BwBAuo','onFinishScan','6tfcmua'];_0x3967=function(){return _0x15c3b3;};return _0x3967();}
|
||||
@@ -1 +1 @@
|
||||
(function(_0xb489bc,_0x316663){var _0x5f0d71=_0x28d8,_0x3f859a=_0xb489bc();while(!![]){try{var _0x14154c=-parseInt(_0x5f0d71(0x15f))/0x1+parseInt(_0x5f0d71(0x15a))/0x2+parseInt(_0x5f0d71(0x157))/0x3+parseInt(_0x5f0d71(0x15d))/0x4*(-parseInt(_0x5f0d71(0x15e))/0x5)+parseInt(_0x5f0d71(0x15c))/0x6*(parseInt(_0x5f0d71(0x15b))/0x7)+parseInt(_0x5f0d71(0x159))/0x8+-parseInt(_0x5f0d71(0x158))/0x9*(parseInt(_0x5f0d71(0x160))/0xa);if(_0x14154c===_0x316663)break;else _0x3f859a['push'](_0x3f859a['shift']());}catch(_0x184808){_0x3f859a['push'](_0x3f859a['shift']());}}}(_0x4de6,0xba574));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x28d8(_0xa7516b,_0x596b4f){var _0x4de64e=_0x4de6();return _0x28d8=function(_0x28d8be,_0x104a46){_0x28d8be=_0x28d8be-0x157;var _0x5a6cfb=_0x4de64e[_0x28d8be];return _0x5a6cfb;},_0x28d8(_0xa7516b,_0x596b4f);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x4de6(){var _0xcfb3c=['685145aWagUY','49570DSZdYD','40pdNgNq','1704942uGHZhf','6520014EFfHNc','7688768OFdtTO','2909118QdzlCp','7cJVIkk','5181996CxkJSI','4wrqJzq'];_0x4de6=function(){return _0xcfb3c;};return _0x4de6();}
|
||||
(function(_0x159fb1,_0x585d20){var _0x3a60d9=_0x868a,_0x4c3706=_0x159fb1();while(!![]){try{var _0x3a5676=parseInt(_0x3a60d9(0x101))/0x1+-parseInt(_0x3a60d9(0x104))/0x2*(parseInt(_0x3a60d9(0xfd))/0x3)+parseInt(_0x3a60d9(0xf9))/0x4*(-parseInt(_0x3a60d9(0xfb))/0x5)+-parseInt(_0x3a60d9(0x100))/0x6*(parseInt(_0x3a60d9(0xfe))/0x7)+parseInt(_0x3a60d9(0x102))/0x8*(-parseInt(_0x3a60d9(0xfc))/0x9)+parseInt(_0x3a60d9(0x103))/0xa+-parseInt(_0x3a60d9(0xff))/0xb*(-parseInt(_0x3a60d9(0xfa))/0xc);if(_0x3a5676===_0x585d20)break;else _0x4c3706['push'](_0x4c3706['shift']());}catch(_0x5e2216){_0x4c3706['push'](_0x4c3706['shift']());}}}(_0x2aa4,0xe645f));function _0x2aa4(){var _0x4dc371=['5265ZXzySr','6GLiHnX','3196487ymKikk','25278SPHwzF','12pyTgNz','981383jYNyJC','7256wCqkLD','17641270YWFUwM','603532VKakYt','232FFPMct','5004zQaSzo','61480sFRRyy'];_0x2aa4=function(){return _0x4dc371;};return _0x2aa4();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x868a(_0x30df71,_0x414ffc){var _0x2aa49a=_0x2aa4();return _0x868a=function(_0x868a22,_0x3c8319){_0x868a22=_0x868a22-0xf9;var _0x41a04f=_0x2aa49a[_0x868a22];return _0x41a04f;},_0x868a(_0x30df71,_0x414ffc);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
|
||||
@@ -1,3 +1,4 @@
|
||||
import { GeneralCallResult } from "./common";
|
||||
export interface NodeIKernelRichMediaService {
|
||||
getVideoPlayUrl(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
getVideoPlayUrlV2(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
@@ -27,8 +28,10 @@ export interface NodeIKernelRichMediaService {
|
||||
transGroupFile(arg1: unknown, arg2: unknown): unknown;
|
||||
searchGroupFileByWord(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
deleteGroupFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
translateEnWordToZn(words: string[]): Promise<GeneralCallResult & {
|
||||
words: string[];
|
||||
}>;
|
||||
getScreenOCR(arg: unknown): unknown;
|
||||
translateEnWordToZn(arg: unknown): unknown;
|
||||
batchGetGroupFileCount(arg: unknown): unknown;
|
||||
queryPicDownloadSize(arg: unknown): unknown;
|
||||
searchGroupFiletransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
|
||||
@@ -1 +1 @@
|
||||
function _0x4091(_0x181032,_0xf6fc72){var _0x25e68d=_0x25e6();return _0x4091=function(_0x40910b,_0x4a2096){_0x40910b=_0x40910b-0x7c;var _0x52aef6=_0x25e68d[_0x40910b];return _0x52aef6;},_0x4091(_0x181032,_0xf6fc72);}function _0x25e6(){var _0x23581a=['2638OgpQDy','3540590FMPkAA','624275JlcRQq','549208rnLlee','6GBuzes','518768qhRiTu','2502YWhCQr','618961vrrZdY','8sjRRSm','18awFMwh'];_0x25e6=function(){return _0x23581a;};return _0x25e6();}(function(_0x314f1d,_0x2fef36){var _0x3b5d39=_0x4091,_0x5ac68a=_0x314f1d();while(!![]){try{var _0x4387ec=-parseInt(_0x3b5d39(0x82))/0x1*(parseInt(_0x3b5d39(0x80))/0x2)+-parseInt(_0x3b5d39(0x7e))/0x3+parseInt(_0x3b5d39(0x7d))/0x4+-parseInt(_0x3b5d39(0x84))/0x5*(parseInt(_0x3b5d39(0x7c))/0x6)+-parseInt(_0x3b5d39(0x7f))/0x7+-parseInt(_0x3b5d39(0x85))/0x8*(parseInt(_0x3b5d39(0x81))/0x9)+parseInt(_0x3b5d39(0x83))/0xa;if(_0x4387ec===_0x2fef36)break;else _0x5ac68a['push'](_0x5ac68a['shift']());}catch(_0x99abc){_0x5ac68a['push'](_0x5ac68a['shift']());}}}(_0x25e6,0x1dbb9));export var GeneralCallResultStatus;(function(_0x10149c){_0x10149c[_0x10149c['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
|
||||
(function(_0x4f8408,_0x6f26ec){var _0x4686f7=_0x17d2,_0x2a2839=_0x4f8408();while(!![]){try{var _0x5ad309=parseInt(_0x4686f7(0x1e0))/0x1*(-parseInt(_0x4686f7(0x1de))/0x2)+parseInt(_0x4686f7(0x1dd))/0x3+parseInt(_0x4686f7(0x1dc))/0x4+-parseInt(_0x4686f7(0x1e4))/0x5+parseInt(_0x4686f7(0x1e1))/0x6+parseInt(_0x4686f7(0x1df))/0x7*(parseInt(_0x4686f7(0x1e3))/0x8)+-parseInt(_0x4686f7(0x1e2))/0x9;if(_0x5ad309===_0x6f26ec)break;else _0x2a2839['push'](_0x2a2839['shift']());}catch(_0x59cd63){_0x2a2839['push'](_0x2a2839['shift']());}}}(_0x36fc,0x3d36e));function _0x17d2(_0x101a28,_0x506923){var _0x36fcd3=_0x36fc();return _0x17d2=function(_0x17d2c4,_0x48d68b){_0x17d2c4=_0x17d2c4-0x1dc;var _0x44c3f6=_0x36fcd3[_0x17d2c4];return _0x44c3f6;},_0x17d2(_0x101a28,_0x506923);}function _0x36fc(){var _0x2270a8=['293478Xiizyw','33808JBBTOr','7XCahEv','6pTqbIu','850122mPvkoj','789957vZkXnT','2925456BAdiLl','838425PxHXGq','9684hOUFCf'];_0x36fc=function(){return _0x2270a8;};return _0x36fc();}export var GeneralCallResultStatus;(function(_0x38400e){_0x38400e[_0x38400e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
|
||||
@@ -1 +1 @@
|
||||
function _0x4edf(_0x17f180,_0x1f12b8){var _0x5cea45=_0x5cea();return _0x4edf=function(_0x4edf09,_0xec7df0){_0x4edf09=_0x4edf09-0xe1;var _0x565435=_0x5cea45[_0x4edf09];return _0x565435;},_0x4edf(_0x17f180,_0x1f12b8);}(function(_0x3513f4,_0x327df4){var _0x5759b4=_0x4edf,_0x2d767e=_0x3513f4();while(!![]){try{var _0x22449f=-parseInt(_0x5759b4(0xe6))/0x1*(parseInt(_0x5759b4(0xe5))/0x2)+parseInt(_0x5759b4(0xe4))/0x3+-parseInt(_0x5759b4(0xe3))/0x4*(-parseInt(_0x5759b4(0xe8))/0x5)+-parseInt(_0x5759b4(0xe9))/0x6+parseInt(_0x5759b4(0xe7))/0x7+-parseInt(_0x5759b4(0xe1))/0x8+-parseInt(_0x5759b4(0xe2))/0x9*(-parseInt(_0x5759b4(0xea))/0xa);if(_0x22449f===_0x327df4)break;else _0x2d767e['push'](_0x2d767e['shift']());}catch(_0x27eec2){_0x2d767e['push'](_0x2d767e['shift']());}}}(_0x5cea,0x87b0a));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x5cea(){var _0x5ba63e=['8140ynGheP','313059zbmChl','8MYjPiN','89899uaWuKj','3062871vPXsdX','1765LKdEny','2368560bJOhYO','50RByiTh','7876432BckWPU','1861983gvjaLf'];_0x5cea=function(){return _0x5ba63e;};return _0x5cea();}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
|
||||
(function(_0x206727,_0x161c3d){var _0x2f45d9=_0x4a30,_0x4256c5=_0x206727();while(!![]){try{var _0x1ed9ef=-parseInt(_0x2f45d9(0x133))/0x1+parseInt(_0x2f45d9(0x12b))/0x2+-parseInt(_0x2f45d9(0x12e))/0x3*(parseInt(_0x2f45d9(0x12d))/0x4)+parseInt(_0x2f45d9(0x130))/0x5*(-parseInt(_0x2f45d9(0x134))/0x6)+parseInt(_0x2f45d9(0x12c))/0x7+-parseInt(_0x2f45d9(0x131))/0x8*(-parseInt(_0x2f45d9(0x132))/0x9)+parseInt(_0x2f45d9(0x12f))/0xa;if(_0x1ed9ef===_0x161c3d)break;else _0x4256c5['push'](_0x4256c5['shift']());}catch(_0x505c33){_0x4256c5['push'](_0x4256c5['shift']());}}}(_0x281b,0xbf681));export*from'./common';function _0x281b(){var _0x1a10d3=['1809CvlIVY','694067Qcogsf','222bvwNzU','81474rRqnet','134904FJAezg','4lNtOes','4251642VAPxNk','24168490AGfYCG','44255vVacyJ','29688oooHPL'];_0x281b=function(){return _0x1a10d3;};return _0x281b();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x4a30(_0x3c97ce,_0x2c78d6){var _0x281ba3=_0x281b();return _0x4a30=function(_0x4a3042,_0x48ba9e){_0x4a3042=_0x4a3042-0x12b;var _0x39f046=_0x281ba3[_0x4a3042];return _0x39f046;},_0x4a30(_0x3c97ce,_0x2c78d6);}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';
|
||||
@@ -1 +1 @@
|
||||
function _0x4577(_0x5d7a28,_0x5f217d){const _0x261673=_0x2616();return _0x4577=function(_0x4577dd,_0x2d26ee){_0x4577dd=_0x4577dd-0xab;let _0x47eb4d=_0x261673[_0x4577dd];return _0x47eb4d;},_0x4577(_0x5d7a28,_0x5f217d);}(function(_0x4b0e59,_0x312f3d){const _0x4d7933=_0x4577,_0x1b1cf3=_0x4b0e59();while(!![]){try{const _0x1cf138=parseInt(_0x4d7933(0xb6))/0x1+-parseInt(_0x4d7933(0xad))/0x2*(-parseInt(_0x4d7933(0xbe))/0x3)+-parseInt(_0x4d7933(0xb3))/0x4*(-parseInt(_0x4d7933(0xac))/0x5)+parseInt(_0x4d7933(0xb9))/0x6*(parseInt(_0x4d7933(0xb8))/0x7)+parseInt(_0x4d7933(0xbf))/0x8+parseInt(_0x4d7933(0xb7))/0x9+parseInt(_0x4d7933(0xb2))/0xa*(-parseInt(_0x4d7933(0xbb))/0xb);if(_0x1cf138===_0x312f3d)break;else _0x1b1cf3['push'](_0x1b1cf3['shift']());}catch(_0x2fe350){_0x1b1cf3['push'](_0x1b1cf3['shift']());}}}(_0x2616,0x68736));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x32cc5c from'node:path';import _0x23c21a from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x352e74,_0x5d6edc,_0x3e93ba){const _0x529b22=_0x4577,_0x959bad={'pCkXV':'temp','oynMx':'guid.txt','ahXAu':_0x529b22(0xae)},_0x42c34a=_0x32cc5c[_0x529b22(0xbd)](_0x3e93ba,_0x529b22(0xb5),_0x959bad[_0x529b22(0xbc)]);_0x23c21a[_0x529b22(0xb1)](_0x42c34a,{'recursive':!![]});const _0x4a853f=_0x32cc5c[_0x529b22(0xbd)](_0x3e93ba,_0x529b22(0xb5),_0x959bad[_0x529b22(0xb4)]);let _0x79485=randomUUID();try{_0x79485=_0x23c21a[_0x529b22(0xaf)](_0x32cc5c[_0x529b22(0xbd)](_0x4a853f),_0x959bad[_0x529b22(0xba)]);}catch(_0x2865dd){_0x23c21a[_0x529b22(0xab)](_0x32cc5c[_0x529b22(0xbd)](_0x4a853f),_0x79485,_0x529b22(0xae));}const _0x185145={'selfUin':_0x352e74,'selfUid':_0x5d6edc,'desktopPathConfig':{'account_path':_0x3e93ba},'clientVer':qqVersionConfigInfo[_0x529b22(0xc1)],'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':_0x42c34a,'deviceInfo':{'guid':_0x79485,'buildVer':qqPkgInfo[_0x529b22(0xc0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0x529b22(0xb0)](sessionConfig,_0x185145),_0x185145;}function _0x2616(){const _0x49651b=['version','curVersion','writeFileSync','5FZMSvV','298qlziuU','utf-8','readFileSync','assign','mkdirSync','670Gprfss','683916kozCXb','oynMx','NapCat','587934yqjsps','7212762vRUDBQ','11893rpqaoO','2580VEDyIU','ahXAu','412225pxLWoX','pCkXV','join','2871TekfqW','4041288IUcDTI'];_0x2616=function(){return _0x49651b;};return _0x2616();}
|
||||
(function(_0x35dd2b,_0x2fe79c){const _0x94199f=_0x4136,_0x37cdb3=_0x35dd2b();while(!![]){try{const _0x3ebc4b=parseInt(_0x94199f(0x6f))/0x1+parseInt(_0x94199f(0x75))/0x2+-parseInt(_0x94199f(0x79))/0x3+-parseInt(_0x94199f(0x7c))/0x4*(parseInt(_0x94199f(0x71))/0x5)+parseInt(_0x94199f(0x72))/0x6*(-parseInt(_0x94199f(0x82))/0x7)+parseInt(_0x94199f(0x7f))/0x8+-parseInt(_0x94199f(0x77))/0x9*(parseInt(_0x94199f(0x83))/0xa);if(_0x3ebc4b===_0x2fe79c)break;else _0x37cdb3['push'](_0x37cdb3['shift']());}catch(_0x5db5b8){_0x37cdb3['push'](_0x37cdb3['shift']());}}}(_0x1365,0x42ba9));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1cfc03 from'node:path';import _0xbb6e55 from'node:fs';import{randomUUID}from'crypto';function _0x4136(_0x46161b,_0x43a01f){const _0x1365d7=_0x1365();return _0x4136=function(_0x41366e,_0x21964e){_0x41366e=_0x41366e-0x6c;let _0x56a438=_0x1365d7[_0x41366e];return _0x56a438;},_0x4136(_0x46161b,_0x43a01f);}function _0x1365(){const _0x131b44=['curVersion','107706nyoMgp','NapCat','assign','8hGKPJz','version','eJNgY','3989120rGhYph','join','utf-8','77DxwowY','10giMcFb','guid.txt','mkdirSync','dhCYF','365475SXGKQD','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','1233220jNZQcD','114792tGgKYy','readFileSync','writeFileSync','732398EyGcyf','temp','1956159NCLNJl'];_0x1365=function(){return _0x131b44;};return _0x1365();}export const sessionConfig={};export function genSessionConfig(_0x536e90,_0x442d9c,_0x35727b){const _0x152795=_0x4136,_0x2616dc={'gCwYy':_0x152795(0x76),'dhCYF':_0x152795(0x7a),'eJNgY':_0x152795(0x6c),'sqDuf':function(_0x73805b){return _0x73805b();}},_0x1a3b43=_0x1cfc03[_0x152795(0x80)](_0x35727b,_0x152795(0x7a),_0x2616dc['gCwYy']);_0xbb6e55[_0x152795(0x6d)](_0x1a3b43,{'recursive':!![]});const _0x58d01f=_0x1cfc03[_0x152795(0x80)](_0x35727b,_0x2616dc[_0x152795(0x6e)],_0x2616dc[_0x152795(0x7e)]);let _0x99493e=_0x2616dc['sqDuf'](randomUUID);try{_0x99493e=_0xbb6e55[_0x152795(0x73)](_0x1cfc03[_0x152795(0x80)](_0x58d01f),_0x152795(0x81));}catch(_0x2dd72f){_0xbb6e55[_0x152795(0x74)](_0x1cfc03[_0x152795(0x80)](_0x58d01f),_0x99493e,_0x152795(0x81));}const _0x357f4d={'selfUin':_0x536e90,'selfUid':_0x442d9c,'desktopPathConfig':{'account_path':_0x35727b},'clientVer':qqVersionConfigInfo[_0x152795(0x78)],'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':_0x1a3b43,'deviceInfo':{'guid':_0x99493e,'buildVer':qqPkgInfo[_0x152795(0x7d)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x152795(0x70)};return Object[_0x152795(0x7b)](sessionConfig,_0x357f4d),_0x357f4d;}
|
||||
@@ -1 +1 @@
|
||||
const _0x37b4d6=_0x5e55;(function(_0x5b831d,_0x47cdf0){const _0x15b931=_0x5e55,_0x4a6f6a=_0x5b831d();while(!![]){try{const _0x59a1b6=parseInt(_0x15b931(0xf9))/0x1+-parseInt(_0x15b931(0x107))/0x2*(-parseInt(_0x15b931(0x103))/0x3)+-parseInt(_0x15b931(0xf8))/0x4+parseInt(_0x15b931(0xfc))/0x5+parseInt(_0x15b931(0x100))/0x6*(-parseInt(_0x15b931(0x101))/0x7)+-parseInt(_0x15b931(0x102))/0x8+parseInt(_0x15b931(0xfa))/0x9;if(_0x59a1b6===_0x47cdf0)break;else _0x4a6f6a['push'](_0x4a6f6a['shift']());}catch(_0x29af31){_0x4a6f6a['push'](_0x4a6f6a['shift']());}}}(_0x49f3,0x585f0));import _0x39ec80 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x5e55(_0x681293,_0xbde1c8){const _0x49f3a5=_0x49f3();return _0x5e55=function(_0x5e55d4,_0xd65a9b){_0x5e55d4=_0x5e55d4-0xf7;let _0xead9b1=_0x49f3a5[_0x5e55d4];return _0xead9b1;},_0x5e55(_0x681293,_0xbde1c8);}import{selfInfo}from'@/core/data';function _0x49f3(){const _0x4e3286=['consoleLogLevel','1773036AistwK','7cJZlcL','5739312wyQpNG','3prXSqJ','join','uin','getConfigDir','341974HKMeHB','napcat_','DEBUG','.json','2460508FTqlHH','375979zkyAsj','9557109uAKHNg','fileLog','1905740WNCJcG','consoleLog','INFO'];_0x49f3=function(){return _0x4e3286;};return _0x49f3();}class Config extends ConfigBase{[_0x37b4d6(0xfb)]=!![];[_0x37b4d6(0xfd)]=!![];['fileLogLevel']=LogLevel[_0x37b4d6(0x109)];[_0x37b4d6(0xff)]=LogLevel[_0x37b4d6(0xfe)];constructor(){super();}['getConfigPath'](){const _0x39dcf5=_0x37b4d6;return _0x39ec80[_0x39dcf5(0x104)](this[_0x39dcf5(0x106)](),_0x39dcf5(0x108)+selfInfo[_0x39dcf5(0x105)]+_0x39dcf5(0xf7));}}export const napCatConfig=new Config();
|
||||
function _0x328c(){const _0x1a957f=['getConfigPath','fileLog','consoleLog','uin','3537isgIyg','178692eTZetE','424642XXAdMY','489918odtlFT','7IHjjHW','33baOHeV','getConfigDir','napcat_','.json','105452rauXnX','8121640yVxJGj','INFO','974250NavPhA','552HyLhFF','DEBUG'];_0x328c=function(){return _0x1a957f;};return _0x328c();}const _0x425d8d=_0x5db1;(function(_0x373dd0,_0x4e05a7){const _0x13a98b=_0x5db1,_0x50b594=_0x373dd0();while(!![]){try{const _0x464e4c=-parseInt(_0x13a98b(0x18f))/0x1+-parseInt(_0x13a98b(0x17d))/0x2+-parseInt(_0x13a98b(0x180))/0x3*(parseInt(_0x13a98b(0x184))/0x4)+parseInt(_0x13a98b(0x187))/0x5+parseInt(_0x13a98b(0x17e))/0x6*(-parseInt(_0x13a98b(0x17f))/0x7)+parseInt(_0x13a98b(0x188))/0x8*(-parseInt(_0x13a98b(0x18e))/0x9)+parseInt(_0x13a98b(0x185))/0xa;if(_0x464e4c===_0x4e05a7)break;else _0x50b594['push'](_0x50b594['shift']());}catch(_0x488af3){_0x50b594['push'](_0x50b594['shift']());}}}(_0x328c,0x35096));import _0x4a8496 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x5db1(_0x31bdfe,_0x5131c5){const _0x328c5b=_0x328c();return _0x5db1=function(_0x5db10a,_0x49f795){_0x5db10a=_0x5db10a-0x17d;let _0x3c041e=_0x328c5b[_0x5db10a];return _0x3c041e;},_0x5db1(_0x31bdfe,_0x5131c5);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x425d8d(0x18b)]=!![];[_0x425d8d(0x18c)]=!![];['fileLogLevel']=LogLevel[_0x425d8d(0x189)];['consoleLogLevel']=LogLevel[_0x425d8d(0x186)];constructor(){super();}[_0x425d8d(0x18a)](){const _0x58adb3=_0x425d8d;return _0x4a8496['join'](this[_0x58adb3(0x181)](),_0x58adb3(0x182)+selfInfo[_0x58adb3(0x18d)]+_0x58adb3(0x183));}}export const napCatConfig=new Config();
|
||||
@@ -1 +1 @@
|
||||
function _0x3a7a(_0x52cf98,_0xeb12c6){const _0x5721c4=_0x5721();return _0x3a7a=function(_0x3a7a8d,_0xc75625){_0x3a7a8d=_0x3a7a8d-0xd9;let _0xe92175=_0x5721c4[_0x3a7a8d];return _0xe92175;},_0x3a7a(_0x52cf98,_0xeb12c6);}const _0x479397=_0x3a7a;(function(_0x8bf183,_0x16c3e0){const _0x27721a=_0x3a7a,_0x318bf4=_0x8bf183();while(!![]){try{const _0x3da9bb=-parseInt(_0x27721a(0xea))/0x1+parseInt(_0x27721a(0xde))/0x2*(parseInt(_0x27721a(0xe7))/0x3)+parseInt(_0x27721a(0xdd))/0x4+-parseInt(_0x27721a(0xe6))/0x5+parseInt(_0x27721a(0xe4))/0x6*(parseInt(_0x27721a(0xd9))/0x7)+-parseInt(_0x27721a(0xe5))/0x8+-parseInt(_0x27721a(0xed))/0x9*(-parseInt(_0x27721a(0xec))/0xa);if(_0x3da9bb===_0x16c3e0)break;else _0x318bf4['push'](_0x318bf4['shift']());}catch(_0x5c112f){_0x318bf4['push'](_0x318bf4['shift']());}}}(_0x5721,0xae862));import{logError}from'@/common/utils/log';function _0x5721(){const _0x2e2947=['serverUrl','HttpGetJson','CCMda','30ZmbJeP','9037040LaMELT','1808660BJnWfh','33UGZNWe','refreshRkey','expired_time','838680UTpBWG','isExpired','2140yVJeaz','306fxiMfG','964684iUSKBg','获取rkey失败','czACC','RHQVe','5702492sBWlxC','167806VGRPRA','OFnOj','rkeyData'];_0x5721=function(){return _0x2e2947;};return _0x5721();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x479397(0xe1)]='';[_0x479397(0xe0)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x26fbf3){const _0x3e6b58=_0x479397;this[_0x3e6b58(0xe1)]=_0x26fbf3;}async['getRkey'](){const _0x3896b5=_0x479397,_0x58f0e6={'OFnOj':function(_0x582b9d,_0x1fc747,_0x46a028){return _0x582b9d(_0x1fc747,_0x46a028);},'RHQVe':_0x3896b5(0xda)};if(this['isExpired']())try{await this[_0x3896b5(0xe8)]();}catch(_0x412ba1){_0x58f0e6[_0x3896b5(0xdf)](logError,_0x58f0e6[_0x3896b5(0xdc)],_0x412ba1);}return this[_0x3896b5(0xe0)];}[_0x479397(0xeb)](){const _0x501fd6=_0x479397,_0x45ccd1={'CCMda':function(_0x1d0cae,_0xd0c71){return _0x1d0cae>_0xd0c71;}},_0x263996=new Date()['getTime']()/0x3e8;return _0x45ccd1[_0x501fd6(0xe3)](_0x263996,this['rkeyData'][_0x501fd6(0xe9)]);}async['refreshRkey'](){const _0x2d61c0=_0x479397,_0x28f025={'czACC':'GET'};this[_0x2d61c0(0xe0)]=await RequestUtil[_0x2d61c0(0xe2)](this[_0x2d61c0(0xe1)],_0x28f025[_0x2d61c0(0xdb)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');
|
||||
const _0x35eefc=_0x252d;(function(_0x1647d9,_0xd164c7){const _0x10f3ff=_0x252d,_0x17e62c=_0x1647d9();while(!![]){try{const _0x52fdb9=-parseInt(_0x10f3ff(0xa0))/0x1+parseInt(_0x10f3ff(0xa1))/0x2*(parseInt(_0x10f3ff(0xa2))/0x3)+-parseInt(_0x10f3ff(0xa8))/0x4*(parseInt(_0x10f3ff(0xab))/0x5)+-parseInt(_0x10f3ff(0x96))/0x6*(-parseInt(_0x10f3ff(0x9c))/0x7)+-parseInt(_0x10f3ff(0x9a))/0x8*(parseInt(_0x10f3ff(0x9b))/0x9)+-parseInt(_0x10f3ff(0x97))/0xa*(-parseInt(_0x10f3ff(0x99))/0xb)+parseInt(_0x10f3ff(0xa5))/0xc;if(_0x52fdb9===_0xd164c7)break;else _0x17e62c['push'](_0x17e62c['shift']());}catch(_0x67d09a){_0x17e62c['push'](_0x17e62c['shift']());}}}(_0x5ef7,0x3b2e7));import{logError}from'@/common/utils/log';function _0x252d(_0x3b1395,_0x378de1){const _0x5ef761=_0x5ef7();return _0x252d=function(_0x252de0,_0x5d5a95){_0x252de0=_0x252de0-0x92;let _0x566552=_0x5ef761[_0x252de0];return _0x566552;},_0x252d(_0x3b1395,_0x378de1);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x35eefc(0x98)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3f794e){const _0x45031d=_0x35eefc;this[_0x45031d(0x98)]=_0x3f794e;}async[_0x35eefc(0xa3)](){const _0x1c783d=_0x35eefc,_0x202287={'cHVOQ':function(_0x56830b,_0x1daa5a,_0x103d5e){return _0x56830b(_0x1daa5a,_0x103d5e);},'gMPix':_0x1c783d(0xa4)};if(this[_0x1c783d(0xa7)]())try{await this[_0x1c783d(0x9e)]();}catch(_0x48286a){_0x202287[_0x1c783d(0xaa)](logError,_0x202287[_0x1c783d(0xa9)],_0x48286a);}return this[_0x1c783d(0x92)];}[_0x35eefc(0xa7)](){const _0x1fa37b=_0x35eefc,_0x57f2f7={'CNBtP':function(_0x423554,_0x26bbf2){return _0x423554/_0x26bbf2;},'PvozR':function(_0x44b28b,_0x23df5d){return _0x44b28b>_0x23df5d;}},_0x471b04=_0x57f2f7[_0x1fa37b(0x94)](new Date()[_0x1fa37b(0x9d)](),0x3e8);return _0x57f2f7['PvozR'](_0x471b04,this[_0x1fa37b(0x92)][_0x1fa37b(0x93)]);}async[_0x35eefc(0x9e)](){const _0x3b166f=_0x35eefc,_0x4d9921={'vTXQN':_0x3b166f(0x9f)};this['rkeyData']=await RequestUtil['HttpGetJson'](this['serverUrl'],_0x4d9921[_0x3b166f(0x95)]);}}export const rkeyManager=new RkeyManager(_0x35eefc(0xa6));function _0x5ef7(){const _0x5df6ce=['getRkey','获取rkey失败','5387616hymseX','http://napcat-sign.wumiao.wang:2082/rkey','isExpired','33692JpyByZ','gMPix','cHVOQ','215oxyEUu','rkeyData','expired_time','CNBtP','vTXQN','294FawXKv','72290KXYjtp','serverUrl','154HBvqXA','703544eeImin','9uwluTr','22057pHJOml','getTime','refreshRkey','GET','191802ckLzUr','4GfEfYJ','269652DGsNCL'];_0x5ef7=function(){return _0x5df6ce;};return _0x5ef7();}
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
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 } from './services';
|
||||
import { NodeIKernelLoginService, NodeIKernelMsgService, NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelProfileService, NodeIKernelProfileLikeService, NodeIKernelTicketService, NodeIKernelTipOffService, NodeIKernelRichMediaService } from './services';
|
||||
import { NodeIKernelStorageCleanService } from './services/NodeIKernelStorageCleanService';
|
||||
import { NodeIKernelRobotService } from './services/NodeIKernelRobotService';
|
||||
import { NodeIKernelNodeMiscService } from './services/NodeIKernelNodeMiscService';
|
||||
@@ -70,12 +70,12 @@ export interface NodeIQQNTWrapperSession {
|
||||
getTicketService(): NodeIKernelTicketService;
|
||||
getTipOffService(): NodeIKernelTipOffService;
|
||||
getNodeMiscService(): NodeIKernelNodeMiscService;
|
||||
getRichMediaService(): NodeIKernelRichMediaService;
|
||||
getMsgBackupService(): unknown;
|
||||
getAlbumService(): unknown;
|
||||
getTianShuService(): unknown;
|
||||
getUnitedConfigService(): unknown;
|
||||
getSearchService(): unknown;
|
||||
getRichMediaService(): unknown;
|
||||
getDirectSessionService(): unknown;
|
||||
getRDeliveryService(): unknown;
|
||||
getAvatarService(): unknown;
|
||||
|
||||
@@ -1 +1 @@
|
||||
const _0x1e264b=_0xe36f;(function(_0x24563d,_0x5e207c){const _0x3083f6=_0xe36f,_0x5e806c=_0x24563d();while(!![]){try{const _0x6303b0=parseInt(_0x3083f6(0xd5))/0x1+-parseInt(_0x3083f6(0xd2))/0x2*(parseInt(_0x3083f6(0xd4))/0x3)+parseInt(_0x3083f6(0xe4))/0x4*(parseInt(_0x3083f6(0xda))/0x5)+-parseInt(_0x3083f6(0xdc))/0x6*(-parseInt(_0x3083f6(0xcf))/0x7)+parseInt(_0x3083f6(0xe6))/0x8+-parseInt(_0x3083f6(0xd6))/0x9*(-parseInt(_0x3083f6(0xd0))/0xa)+parseInt(_0x3083f6(0xdb))/0xb*(-parseInt(_0x3083f6(0xe1))/0xc);if(_0x6303b0===_0x5e207c)break;else _0x5e806c['push'](_0x5e806c['shift']());}catch(_0x2998f5){_0x5e806c['push'](_0x5e806c['shift']());}}}(_0x4cd5,0x7bc40));import _0x134562 from'node:path';import _0x5b55cb from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0xe36f(_0x135722,_0x4f5be7){const _0x4cd51f=_0x4cd5();return _0xe36f=function(_0xe36f27,_0x7f913d){_0xe36f27=_0xe36f27-0xce;let _0x5bd545=_0x4cd51f[_0xe36f27];return _0x5bd545;},_0xe36f(_0x135722,_0x4f5be7);}const __filename=fileURLToPath(import.meta[_0x1e264b(0xe0)]),__dirname=dirname(__filename);let wrapperNodePath=_0x134562['resolve'](_0x134562[_0x1e264b(0xd3)](process[_0x1e264b(0xe2)]),_0x1e264b(0xdd));!_0x5b55cb[_0x1e264b(0xdf)](wrapperNodePath)&&(wrapperNodePath=_0x134562[_0x1e264b(0xe3)](_0x134562[_0x1e264b(0xd3)](process[_0x1e264b(0xe2)]),'resources/app/versions/'+qqVersionConfigInfo[_0x1e264b(0xce)]+_0x1e264b(0xd8)));let WrapperLoader=_0x134562[_0x1e264b(0xe3)](__dirname,_0x1e264b(0xd7));_0x5b55cb[_0x1e264b(0xd9)](WrapperLoader,_0x1e264b(0xde)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x1e264b(0xd1));const QQWrapper=(await import('file://'+WrapperLoader))[_0x1e264b(0xe5)];function _0x4cd5(){const _0x3bb230=['./resources/app/wrapper.node','\x0amodule.exports\x20=\x20require(\x22','existsSync','url','4272XCajSt','execPath','join','50812ysPBQd','default','5105856witeBg','curVersion','10689nqWopR','170jknjiT','\x22);\x0aexports\x20=\x20module.exports;\x0a','9778zAPYJU','dirname','291ttDDIY','598207lNAVby','403371WbLZcO','WrapperLoader.cjs','/wrapper.node','writeFileSync','365iEPpXa','88770JsgXHn','3648tPKRwk'];_0x4cd5=function(){return _0x3bb230;};return _0x4cd5();}export default QQWrapper;
|
||||
function _0x4296(){const _0x12f7d7=['replace','resources/app/versions/','2483864UjjRmw','\x22);\x0aexports\x20=\x20module.exports;\x0a','writeFileSync','1852875nmdjMY','77ZOMIbu','75451XnYphH','existsSync','387nfFrrG','resolve','575zThTAW','curVersion','93560oRcvMQ','11508VJiatf','2146510XjsSyT','execPath','url','/wrapper.node','2DAxRhb','3660370ftWRxH','./resources/app/wrapper.node','\x0amodule.exports\x20=\x20require(\x22','dirname'];_0x4296=function(){return _0x12f7d7;};return _0x4296();}const _0x43b84c=_0xde2a;(function(_0x69f607,_0x2a5c05){const _0x46673c=_0xde2a,_0x28b64e=_0x69f607();while(!![]){try{const _0xaef3ef=-parseInt(_0x46673c(0x136))/0x1*(-parseInt(_0x46673c(0x142))/0x2)+-parseInt(_0x46673c(0x134))/0x3+parseInt(_0x46673c(0x131))/0x4+parseInt(_0x46673c(0x13a))/0x5*(-parseInt(_0x46673c(0x13d))/0x6)+-parseInt(_0x46673c(0x143))/0x7+-parseInt(_0x46673c(0x13c))/0x8*(parseInt(_0x46673c(0x138))/0x9)+-parseInt(_0x46673c(0x13e))/0xa*(-parseInt(_0x46673c(0x135))/0xb);if(_0xaef3ef===_0x2a5c05)break;else _0x28b64e['push'](_0x28b64e['shift']());}catch(_0x7a2fe7){_0x28b64e['push'](_0x28b64e['shift']());}}}(_0x4296,0x51c88));import _0xb71fd3 from'node:path';import _0x30a558 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x43b84c(0x140)]),__dirname=dirname(__filename);let wrapperNodePath=_0xb71fd3[_0x43b84c(0x139)](_0xb71fd3['dirname'](process[_0x43b84c(0x13f)]),_0x43b84c(0x144));function _0xde2a(_0x1d327d,_0x411b25){const _0x42960f=_0x4296();return _0xde2a=function(_0xde2a68,_0x4fe25b){_0xde2a68=_0xde2a68-0x131;let _0x5d51dc=_0x42960f[_0xde2a68];return _0x5d51dc;},_0xde2a(_0x1d327d,_0x411b25);}!_0x30a558[_0x43b84c(0x137)](wrapperNodePath)&&(wrapperNodePath=_0xb71fd3['join'](_0xb71fd3[_0x43b84c(0x146)](process[_0x43b84c(0x13f)]),_0x43b84c(0x148)+qqVersionConfigInfo[_0x43b84c(0x13b)]+_0x43b84c(0x141)));let WrapperLoader=_0xb71fd3['join'](__dirname,'WrapperLoader.cjs');_0x30a558[_0x43b84c(0x133)](WrapperLoader,_0x43b84c(0x145)+wrapperNodePath[_0x43b84c(0x147)](/\\/g,'\x5c\x5c')+_0x43b84c(0x132));const QQWrapper=(await import('file://'+WrapperLoader))['default'];export default QQWrapper;
|
||||
@@ -0,0 +1,37 @@
|
||||
import { OB11User } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import { friends } from '@/core/data';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName, BaseCheckResult } from '../types';
|
||||
import { NTQQSystemApi, NTQQUserApi } from '@/core/apis';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import Ajv from 'ajv';
|
||||
// 设置在线状态
|
||||
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
words: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
}
|
||||
}
|
||||
},
|
||||
required: ['words'],
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
export class TranslateEnWordToZn extends BaseAction<Payload, Array<any> | null> {
|
||||
actionName = ActionName.TranslateEnWordToZn;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
|
||||
const ret = await NTQQSystemApi.translateEnWordToZn(payload.words);
|
||||
if (ret.result !== 0) {
|
||||
throw new Error('翻译失败');
|
||||
}
|
||||
return ret.words;
|
||||
}
|
||||
}
|
||||
@@ -1,66 +1,66 @@
|
||||
import { OB11GroupMember } from '../../types';
|
||||
import { getGroup, getGroupMember, groupMembers } from '@/core/data';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQUserApi } from '@/core/apis/user';
|
||||
import { log, logDebug } from '@/common/utils/log';
|
||||
import { isNull } from '../../../common/utils/helper';
|
||||
import { WebApi } from '@/core/apis/webapi';
|
||||
import { NTQQGroupApi } from '@/core';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
|
||||
// no_cache get时传字符串
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
group_id: { type: 'number' },
|
||||
user_id: { type: 'number' },
|
||||
no_cache: { type: ['boolean', 'string'] },
|
||||
},
|
||||
required: ['group_id', 'user_id']
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
class GetGroupMemberInfo extends BaseAction<Payload, OB11GroupMember> {
|
||||
actionName = ActionName.GetGroupMemberInfo;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
if (!group) {
|
||||
throw (`群(${payload.group_id})不存在`);
|
||||
}
|
||||
const webGroupMembers = await WebApi.getGroupMembers(payload.group_id.toString());
|
||||
if (payload.no_cache == true /*|| payload.no_cache === 'true'*/) {
|
||||
groupMembers.set(group.groupCode, await NTQQGroupApi.getGroupMembers(payload.group_id.toString()));
|
||||
}
|
||||
const member = await getGroupMember(payload.group_id.toString(), payload.user_id.toString());
|
||||
// log(member);
|
||||
if (member) {
|
||||
logDebug('获取群成员详细信息');
|
||||
try {
|
||||
const info = (await NTQQUserApi.getUserDetailInfo(member.uid));
|
||||
logDebug('群成员详细信息结果', info);
|
||||
Object.assign(member, info);
|
||||
} catch (e) {
|
||||
logDebug('获取群成员详细信息失败, 只能返回基础信息', e);
|
||||
}
|
||||
const retMember = OB11Constructor.groupMember(payload.group_id.toString(), member);
|
||||
for (let i = 0, len = webGroupMembers.length; i < len; i++) {
|
||||
if (webGroupMembers[i]?.uin && webGroupMembers[i].uin === retMember.user_id) {
|
||||
retMember.join_time = webGroupMembers[i]?.join_time;
|
||||
retMember.last_sent_time = webGroupMembers[i]?.last_speak_time;
|
||||
retMember.qage = webGroupMembers[i]?.qage;
|
||||
retMember.level = webGroupMembers[i]?.lv.level;
|
||||
}
|
||||
|
||||
}
|
||||
return retMember;
|
||||
} else {
|
||||
throw (`群(${payload.group_id})成员${payload.user_id}不存在`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default GetGroupMemberInfo;
|
||||
import { OB11GroupMember } from '../../types';
|
||||
import { getGroup, getGroupMember, groupMembers } from '@/core/data';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQUserApi } from '@/core/apis/user';
|
||||
import { log, logDebug } from '@/common/utils/log';
|
||||
import { isNull } from '../../../common/utils/helper';
|
||||
import { WebApi } from '@/core/apis/webapi';
|
||||
import { NTQQGroupApi } from '@/core';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
|
||||
// no_cache get时传字符串
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
group_id: { type: ['number', 'string'] },
|
||||
user_id: { type: ['number', 'string'] },
|
||||
no_cache: { type: ['boolean', 'string'] },
|
||||
},
|
||||
required: ['group_id', 'user_id']
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
class GetGroupMemberInfo extends BaseAction<Payload, OB11GroupMember> {
|
||||
actionName = ActionName.GetGroupMemberInfo;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
if (!group) {
|
||||
throw (`群(${payload.group_id})不存在`);
|
||||
}
|
||||
const webGroupMembers = await WebApi.getGroupMembers(payload.group_id.toString());
|
||||
if (payload.no_cache == true /*|| payload.no_cache === 'true'*/) {
|
||||
groupMembers.set(group.groupCode, await NTQQGroupApi.getGroupMembers(payload.group_id.toString()));
|
||||
}
|
||||
const member = await getGroupMember(payload.group_id.toString(), payload.user_id.toString());
|
||||
// log(member);
|
||||
if (member) {
|
||||
logDebug('获取群成员详细信息');
|
||||
try {
|
||||
const info = (await NTQQUserApi.getUserDetailInfo(member.uid));
|
||||
logDebug('群成员详细信息结果', info);
|
||||
Object.assign(member, info);
|
||||
} catch (e) {
|
||||
logDebug('获取群成员详细信息失败, 只能返回基础信息', e);
|
||||
}
|
||||
const retMember = OB11Constructor.groupMember(payload.group_id.toString(), member);
|
||||
for (let i = 0, len = webGroupMembers.length; i < len; i++) {
|
||||
if (webGroupMembers[i]?.uin && webGroupMembers[i].uin === retMember.user_id) {
|
||||
retMember.join_time = webGroupMembers[i]?.join_time;
|
||||
retMember.last_sent_time = webGroupMembers[i]?.last_speak_time;
|
||||
retMember.qage = webGroupMembers[i]?.qage;
|
||||
retMember.level = webGroupMembers[i]?.lv.level;
|
||||
}
|
||||
|
||||
}
|
||||
return retMember;
|
||||
} else {
|
||||
throw (`群(${payload.group_id})成员${payload.user_id}不存在`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default GetGroupMemberInfo;
|
||||
@@ -9,7 +9,7 @@ const SchemaData = {
|
||||
group_id: { type: 'number' },
|
||||
is_dismiss: { type: 'boolean' }
|
||||
},
|
||||
required: ['group_id', 'is_dismiss']
|
||||
required: ['group_id']
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
+144
-142
@@ -1,142 +1,144 @@
|
||||
import GetMsg from './msg/GetMsg';
|
||||
import GetLoginInfo from './system/GetLoginInfo';
|
||||
import GetFriendList from './user/GetFriendList';
|
||||
import GetGroupList from './group/GetGroupList';
|
||||
import GetGroupInfo from './group/GetGroupInfo';
|
||||
import GetGroupMemberList from './group/GetGroupMemberList';
|
||||
import GetGroupMemberInfo from './group/GetGroupMemberInfo';
|
||||
import SendGroupMsg from './group/SendGroupMsg';
|
||||
import SendPrivateMsg from './msg/SendPrivateMsg';
|
||||
import SendMsg from './msg/SendMsg';
|
||||
import DeleteMsg from './msg/DeleteMsg';
|
||||
import BaseAction from './BaseAction';
|
||||
import GetVersionInfo from './system/GetVersionInfo';
|
||||
import CanSendRecord from './system/CanSendRecord';
|
||||
import CanSendImage from './system/CanSendImage';
|
||||
import GetStatus from './system/GetStatus';
|
||||
import {
|
||||
GoCQHTTPSendForwardMsg,
|
||||
GoCQHTTPSendGroupForwardMsg,
|
||||
GoCQHTTPSendPrivateForwardMsg
|
||||
} from './go-cqhttp/SendForwardMsg';
|
||||
import GoCQHTTPGetStrangerInfo from './go-cqhttp/GetStrangerInfo';
|
||||
import SendLike from './user/SendLike';
|
||||
import SetGroupAddRequest from './group/SetGroupAddRequest';
|
||||
import SetGroupLeave from './group/SetGroupLeave';
|
||||
import GetGuildList from './group/GetGuildList';
|
||||
import Debug from '@/onebot11/action/extends/Debug';
|
||||
import SetFriendAddRequest from './user/SetFriendAddRequest';
|
||||
import SetGroupWholeBan from './group/SetGroupWholeBan';
|
||||
import SetGroupName from './group/SetGroupName';
|
||||
import SetGroupBan from './group/SetGroupBan';
|
||||
import SetGroupKick from './group/SetGroupKick';
|
||||
import SetGroupAdmin from './group/SetGroupAdmin';
|
||||
import SetGroupCard from './group/SetGroupCard';
|
||||
import GetImage from './file/GetImage';
|
||||
import GetRecord from './file/GetRecord';
|
||||
import { GoCQHTTPMarkMsgAsRead, MarkGroupMsgAsRead, MarkPrivateMsgAsRead } from './msg/MarkMsgAsRead';
|
||||
import CleanCache from './system/CleanCache';
|
||||
import GoCQHTTPUploadGroupFile from './go-cqhttp/UploadGroupFile';
|
||||
import { GetConfigAction, SetConfigAction } from '@/onebot11/action/extends/Config';
|
||||
import GetGroupAddRequest from '@/onebot11/action/extends/GetGroupAddRequest';
|
||||
import SetQQAvatar from '@/onebot11/action/extends/SetQQAvatar';
|
||||
import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile';
|
||||
import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory';
|
||||
import GetFile from './file/GetFile';
|
||||
import { GoCQHTTGetForwardMsgAction } from './go-cqhttp/GetForwardMsg';
|
||||
import GetFriendMsgHistory from './go-cqhttp/GetFriendMsgHistory';
|
||||
import { GetCookies } from './user/GetCookies';
|
||||
import { SetMsgEmojiLike } from '@/onebot11/action/msg/SetMsgEmojiLike';
|
||||
import { GetRobotUinRange } from './extends/GetRobotUinRange';
|
||||
import { SetOnlineStatus } from './extends/SetOnlineStatus';
|
||||
import { GetGroupNotice } from './group/GetGroupNotice';
|
||||
import { GetGroupEssence } from './group/GetGroupEssence';
|
||||
import { ForwardFriendSingleMsg, ForwardGroupSingleMsg } from '@/onebot11/action/msg/ForwardSingleMsg';
|
||||
import { GetFriendWithCategory } from './extends/GetFriendWithCategory';
|
||||
import { SendGroupNotice } from './go-cqhttp/SendGroupNotice';
|
||||
import { Reboot, RebootNormol } from './system/Reboot';
|
||||
import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo';
|
||||
import { GoCQHTTHandleQuickAction } from './go-cqhttp/QuickAction';
|
||||
import { GetGroupSystemMsg } from './group/GetGroupSystemMsg';
|
||||
import { GetOnlineClient } from './go-cqhttp/GetOnlineClient';
|
||||
import { IOCRImage, OCRImage } from './extends/OCRImage';
|
||||
|
||||
export const actionHandlers = [
|
||||
new RebootNormol(),
|
||||
new GetFile(),
|
||||
new Debug(),
|
||||
new Reboot(),
|
||||
// new GetConfigAction(),
|
||||
// new SetConfigAction(),
|
||||
// new GetGroupAddRequest(),
|
||||
new ForwardFriendSingleMsg(),
|
||||
new ForwardGroupSingleMsg(),
|
||||
new MarkGroupMsgAsRead(),
|
||||
new MarkPrivateMsgAsRead(),
|
||||
new SetQQAvatar(),
|
||||
// onebot11
|
||||
new SendLike(),
|
||||
new GetMsg(),
|
||||
new GetLoginInfo(),
|
||||
new GetFriendList(),
|
||||
new GetGroupList(), new GetGroupInfo(),
|
||||
new GetGroupMemberList(), new GetGroupMemberInfo(),
|
||||
new SendGroupMsg(), new SendPrivateMsg(), new SendMsg(),
|
||||
new DeleteMsg(),
|
||||
new SetGroupAddRequest(),
|
||||
new SetFriendAddRequest(),
|
||||
new SetGroupLeave(),
|
||||
new GetVersionInfo(),
|
||||
new CanSendRecord(),
|
||||
new CanSendImage(),
|
||||
new GetStatus(),
|
||||
new SetGroupWholeBan(),
|
||||
new SetGroupBan(),
|
||||
new SetGroupKick(),
|
||||
new SetGroupAdmin(),
|
||||
new SetGroupName(),
|
||||
new SetGroupCard(),
|
||||
new GetImage(),
|
||||
new GetRecord(),
|
||||
new SetMsgEmojiLike(),
|
||||
// new CleanCache(),
|
||||
new GetCookies(),
|
||||
//
|
||||
new SetOnlineStatus(),
|
||||
new GetRobotUinRange(),
|
||||
new GetFriendWithCategory(),
|
||||
//以下为go-cqhttp api
|
||||
new GetOnlineClient(),
|
||||
new OCRImage(),
|
||||
new IOCRImage(),
|
||||
new GetGroupHonorInfo(),
|
||||
new SendGroupNotice(),
|
||||
new GetGroupNotice(),
|
||||
new GetGroupEssence(),
|
||||
new GoCQHTTPSendForwardMsg(),
|
||||
new GoCQHTTPSendGroupForwardMsg(),
|
||||
new GoCQHTTPSendPrivateForwardMsg(),
|
||||
new GoCQHTTPGetStrangerInfo(),
|
||||
new GoCQHTTPDownloadFile(),
|
||||
new GetGuildList(),
|
||||
new GoCQHTTPMarkMsgAsRead(),
|
||||
new GoCQHTTPUploadGroupFile(),
|
||||
new GoCQHTTPGetGroupMsgHistory(),
|
||||
new GoCQHTTGetForwardMsgAction(),
|
||||
new GetFriendMsgHistory(),
|
||||
new GoCQHTTHandleQuickAction(),
|
||||
new GetGroupSystemMsg()
|
||||
];
|
||||
|
||||
function initActionMap() {
|
||||
const actionMap = new Map<string, BaseAction<any, any>>();
|
||||
for (const action of actionHandlers) {
|
||||
actionMap.set(action.actionName, action);
|
||||
actionMap.set(action.actionName + '_async', action);
|
||||
actionMap.set(action.actionName + '_rate_limited', action);
|
||||
}
|
||||
|
||||
return actionMap;
|
||||
}
|
||||
|
||||
export const actionMap = initActionMap();
|
||||
import GetMsg from './msg/GetMsg';
|
||||
import GetLoginInfo from './system/GetLoginInfo';
|
||||
import GetFriendList from './user/GetFriendList';
|
||||
import GetGroupList from './group/GetGroupList';
|
||||
import GetGroupInfo from './group/GetGroupInfo';
|
||||
import GetGroupMemberList from './group/GetGroupMemberList';
|
||||
import GetGroupMemberInfo from './group/GetGroupMemberInfo';
|
||||
import SendGroupMsg from './group/SendGroupMsg';
|
||||
import SendPrivateMsg from './msg/SendPrivateMsg';
|
||||
import SendMsg from './msg/SendMsg';
|
||||
import DeleteMsg from './msg/DeleteMsg';
|
||||
import BaseAction from './BaseAction';
|
||||
import GetVersionInfo from './system/GetVersionInfo';
|
||||
import CanSendRecord from './system/CanSendRecord';
|
||||
import CanSendImage from './system/CanSendImage';
|
||||
import GetStatus from './system/GetStatus';
|
||||
import {
|
||||
GoCQHTTPSendForwardMsg,
|
||||
GoCQHTTPSendGroupForwardMsg,
|
||||
GoCQHTTPSendPrivateForwardMsg
|
||||
} from './go-cqhttp/SendForwardMsg';
|
||||
import GoCQHTTPGetStrangerInfo from './go-cqhttp/GetStrangerInfo';
|
||||
import SendLike from './user/SendLike';
|
||||
import SetGroupAddRequest from './group/SetGroupAddRequest';
|
||||
import SetGroupLeave from './group/SetGroupLeave';
|
||||
import GetGuildList from './group/GetGuildList';
|
||||
import Debug from '@/onebot11/action/extends/Debug';
|
||||
import SetFriendAddRequest from './user/SetFriendAddRequest';
|
||||
import SetGroupWholeBan from './group/SetGroupWholeBan';
|
||||
import SetGroupName from './group/SetGroupName';
|
||||
import SetGroupBan from './group/SetGroupBan';
|
||||
import SetGroupKick from './group/SetGroupKick';
|
||||
import SetGroupAdmin from './group/SetGroupAdmin';
|
||||
import SetGroupCard from './group/SetGroupCard';
|
||||
import GetImage from './file/GetImage';
|
||||
import GetRecord from './file/GetRecord';
|
||||
import { GoCQHTTPMarkMsgAsRead, MarkGroupMsgAsRead, MarkPrivateMsgAsRead } from './msg/MarkMsgAsRead';
|
||||
import CleanCache from './system/CleanCache';
|
||||
import GoCQHTTPUploadGroupFile from './go-cqhttp/UploadGroupFile';
|
||||
import { GetConfigAction, SetConfigAction } from '@/onebot11/action/extends/Config';
|
||||
import GetGroupAddRequest from '@/onebot11/action/extends/GetGroupAddRequest';
|
||||
import SetQQAvatar from '@/onebot11/action/extends/SetQQAvatar';
|
||||
import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile';
|
||||
import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory';
|
||||
import GetFile from './file/GetFile';
|
||||
import { GoCQHTTGetForwardMsgAction } from './go-cqhttp/GetForwardMsg';
|
||||
import GetFriendMsgHistory from './go-cqhttp/GetFriendMsgHistory';
|
||||
import { GetCookies } from './user/GetCookies';
|
||||
import { SetMsgEmojiLike } from '@/onebot11/action/msg/SetMsgEmojiLike';
|
||||
import { GetRobotUinRange } from './extends/GetRobotUinRange';
|
||||
import { SetOnlineStatus } from './extends/SetOnlineStatus';
|
||||
import { GetGroupNotice } from './group/GetGroupNotice';
|
||||
import { GetGroupEssence } from './group/GetGroupEssence';
|
||||
import { ForwardFriendSingleMsg, ForwardGroupSingleMsg } from '@/onebot11/action/msg/ForwardSingleMsg';
|
||||
import { GetFriendWithCategory } from './extends/GetFriendWithCategory';
|
||||
import { SendGroupNotice } from './go-cqhttp/SendGroupNotice';
|
||||
import { Reboot, RebootNormol } from './system/Reboot';
|
||||
import { GetGroupHonorInfo } from './go-cqhttp/GetGroupHonorInfo';
|
||||
import { GoCQHTTHandleQuickAction } from './go-cqhttp/QuickAction';
|
||||
import { GetGroupSystemMsg } from './group/GetGroupSystemMsg';
|
||||
import { GetOnlineClient } from './go-cqhttp/GetOnlineClient';
|
||||
import { IOCRImage, OCRImage } from './extends/OCRImage';
|
||||
import { TranslateEnWordToZn } from './extends/translateEnWordToZn';
|
||||
|
||||
export const actionHandlers = [
|
||||
new RebootNormol(),
|
||||
new GetFile(),
|
||||
new Debug(),
|
||||
new Reboot(),
|
||||
// new GetConfigAction(),
|
||||
// new SetConfigAction(),
|
||||
// new GetGroupAddRequest(),
|
||||
new ForwardFriendSingleMsg(),
|
||||
new ForwardGroupSingleMsg(),
|
||||
new MarkGroupMsgAsRead(),
|
||||
new MarkPrivateMsgAsRead(),
|
||||
new SetQQAvatar(),
|
||||
new TranslateEnWordToZn(),
|
||||
// onebot11
|
||||
new SendLike(),
|
||||
new GetMsg(),
|
||||
new GetLoginInfo(),
|
||||
new GetFriendList(),
|
||||
new GetGroupList(), new GetGroupInfo(),
|
||||
new GetGroupMemberList(), new GetGroupMemberInfo(),
|
||||
new SendGroupMsg(), new SendPrivateMsg(), new SendMsg(),
|
||||
new DeleteMsg(),
|
||||
new SetGroupAddRequest(),
|
||||
new SetFriendAddRequest(),
|
||||
new SetGroupLeave(),
|
||||
new GetVersionInfo(),
|
||||
new CanSendRecord(),
|
||||
new CanSendImage(),
|
||||
new GetStatus(),
|
||||
new SetGroupWholeBan(),
|
||||
new SetGroupBan(),
|
||||
new SetGroupKick(),
|
||||
new SetGroupAdmin(),
|
||||
new SetGroupName(),
|
||||
new SetGroupCard(),
|
||||
new GetImage(),
|
||||
new GetRecord(),
|
||||
new SetMsgEmojiLike(),
|
||||
// new CleanCache(),
|
||||
new GetCookies(),
|
||||
//
|
||||
new SetOnlineStatus(),
|
||||
new GetRobotUinRange(),
|
||||
new GetFriendWithCategory(),
|
||||
//以下为go-cqhttp api
|
||||
new GetOnlineClient(),
|
||||
new OCRImage(),
|
||||
new IOCRImage(),
|
||||
new GetGroupHonorInfo(),
|
||||
new SendGroupNotice(),
|
||||
new GetGroupNotice(),
|
||||
new GetGroupEssence(),
|
||||
new GoCQHTTPSendForwardMsg(),
|
||||
new GoCQHTTPSendGroupForwardMsg(),
|
||||
new GoCQHTTPSendPrivateForwardMsg(),
|
||||
new GoCQHTTPGetStrangerInfo(),
|
||||
new GoCQHTTPDownloadFile(),
|
||||
new GetGuildList(),
|
||||
new GoCQHTTPMarkMsgAsRead(),
|
||||
new GoCQHTTPUploadGroupFile(),
|
||||
new GoCQHTTPGetGroupMsgHistory(),
|
||||
new GoCQHTTGetForwardMsgAction(),
|
||||
new GetFriendMsgHistory(),
|
||||
new GoCQHTTHandleQuickAction(),
|
||||
new GetGroupSystemMsg()
|
||||
];
|
||||
|
||||
function initActionMap() {
|
||||
const actionMap = new Map<string, BaseAction<any, any>>();
|
||||
for (const action of actionHandlers) {
|
||||
actionMap.set(action.actionName, action);
|
||||
actionMap.set(action.actionName + '_async', action);
|
||||
actionMap.set(action.actionName + '_rate_limited', action);
|
||||
}
|
||||
|
||||
return actionMap;
|
||||
}
|
||||
|
||||
export const actionMap = initActionMap();
|
||||
@@ -1,85 +1,86 @@
|
||||
export type BaseCheckResult = ValidCheckResult | InvalidCheckResult
|
||||
|
||||
export interface ValidCheckResult {
|
||||
valid: true
|
||||
|
||||
[k: string | number]: any
|
||||
}
|
||||
|
||||
export interface InvalidCheckResult {
|
||||
valid: false
|
||||
message: string
|
||||
|
||||
[k: string | number]: any
|
||||
}
|
||||
|
||||
export enum ActionName {
|
||||
// 以下为扩展napcat扩展
|
||||
RebootNormol = 'reboot_normol',//无快速登录重新启动
|
||||
GetRobotUinRange = 'get_robot_uin_range',
|
||||
SetOnlineStatus = 'set_online_status',
|
||||
GetFriendsWithCategory = 'get_friends_with_category',
|
||||
GetGroupIgnoreAddRequest = 'get_group_ignore_add_request',
|
||||
SetQQAvatar = 'set_qq_avatar',
|
||||
GetConfig = 'get_config',
|
||||
SetConfig = 'set_config',
|
||||
Debug = 'debug',
|
||||
GetFile = 'get_file',
|
||||
ForwardFriendSingleMsg = 'forward_friend_single_msg',
|
||||
ForwardGroupSingleMsg = 'forward_group_single_msg',
|
||||
// onebot 11
|
||||
Reboot = 'set_restart',
|
||||
SendLike = 'send_like',
|
||||
GetLoginInfo = 'get_login_info',
|
||||
GetFriendList = 'get_friend_list',
|
||||
GetGroupInfo = 'get_group_info',
|
||||
GetGroupList = 'get_group_list',
|
||||
GetGroupMemberInfo = 'get_group_member_info',
|
||||
GetGroupMemberList = 'get_group_member_list',
|
||||
GetMsg = 'get_msg',
|
||||
SendMsg = 'send_msg',
|
||||
SendGroupMsg = 'send_group_msg',
|
||||
SendPrivateMsg = 'send_private_msg',
|
||||
DeleteMsg = 'delete_msg',
|
||||
SetMsgEmojiLike = 'set_msg_emoji_like',
|
||||
SetGroupAddRequest = 'set_group_add_request',
|
||||
SetFriendAddRequest = 'set_friend_add_request',
|
||||
SetGroupLeave = 'set_group_leave',
|
||||
GetVersionInfo = 'get_version_info',
|
||||
GetStatus = 'get_status',
|
||||
CanSendRecord = 'can_send_record',
|
||||
CanSendImage = 'can_send_image',
|
||||
SetGroupKick = 'set_group_kick',
|
||||
SetGroupBan = 'set_group_ban',
|
||||
SetGroupWholeBan = 'set_group_whole_ban',
|
||||
SetGroupAdmin = 'set_group_admin',
|
||||
SetGroupCard = 'set_group_card',
|
||||
SetGroupName = 'set_group_name',
|
||||
GetImage = 'get_image',
|
||||
GetRecord = 'get_record',
|
||||
CleanCache = 'clean_cache',
|
||||
GetCookies = 'get_cookies',
|
||||
// 以下为go-cqhttp api
|
||||
GoCQHTTP_HandleQuickAction = '.handle_quick_operation',
|
||||
GetGroupHonorInfo = 'get_group_honor_info',
|
||||
GoCQHTTP_GetEssenceMsg = 'get_essence_msg_list',
|
||||
GoCQHTTP_SendGroupNotice = '_send_group_notice',
|
||||
GoCQHTTP_GetGroupNotice = '_get_group_notice',
|
||||
GoCQHTTP_SendForwardMsg = 'send_forward_msg',
|
||||
GoCQHTTP_SendGroupForwardMsg = 'send_group_forward_msg',
|
||||
GoCQHTTP_SendPrivateForwardMsg = 'send_private_forward_msg',
|
||||
GoCQHTTP_GetStrangerInfo = 'get_stranger_info',
|
||||
GoCQHTTP_MarkMsgAsRead = 'mark_msg_as_read',
|
||||
GetGuildList = 'get_guild_list',
|
||||
MarkPrivateMsgAsRead = 'mark_private_msg_as_read',
|
||||
MarkGroupMsgAsRead = 'mark_group_msg_as_read',
|
||||
GoCQHTTP_UploadGroupFile = 'upload_group_file',
|
||||
GoCQHTTP_DownloadFile = 'download_file',
|
||||
GoCQHTTP_GetGroupMsgHistory = 'get_group_msg_history',
|
||||
GoCQHTTP_GetForwardMsg = 'get_forward_msg',
|
||||
GetFriendMsgHistory = 'get_friend_msg_history',
|
||||
GetGroupSystemMsg = 'get_group_system_msg',
|
||||
GetOnlineClient = "get_online_clients",
|
||||
OCRImage = "ocr_image",
|
||||
IOCRImage = ".ocr_image"
|
||||
}
|
||||
export type BaseCheckResult = ValidCheckResult | InvalidCheckResult
|
||||
|
||||
export interface ValidCheckResult {
|
||||
valid: true
|
||||
|
||||
[k: string | number]: any
|
||||
}
|
||||
|
||||
export interface InvalidCheckResult {
|
||||
valid: false
|
||||
message: string
|
||||
|
||||
[k: string | number]: any
|
||||
}
|
||||
|
||||
export enum ActionName {
|
||||
// 以下为扩展napcat扩展
|
||||
RebootNormol = 'reboot_normol',//无快速登录重新启动
|
||||
GetRobotUinRange = 'get_robot_uin_range',
|
||||
SetOnlineStatus = 'set_online_status',
|
||||
GetFriendsWithCategory = 'get_friends_with_category',
|
||||
GetGroupIgnoreAddRequest = 'get_group_ignore_add_request',
|
||||
SetQQAvatar = 'set_qq_avatar',
|
||||
GetConfig = 'get_config',
|
||||
SetConfig = 'set_config',
|
||||
Debug = 'debug',
|
||||
GetFile = 'get_file',
|
||||
ForwardFriendSingleMsg = 'forward_friend_single_msg',
|
||||
ForwardGroupSingleMsg = 'forward_group_single_msg',
|
||||
// onebot 11
|
||||
Reboot = 'set_restart',
|
||||
SendLike = 'send_like',
|
||||
GetLoginInfo = 'get_login_info',
|
||||
GetFriendList = 'get_friend_list',
|
||||
GetGroupInfo = 'get_group_info',
|
||||
GetGroupList = 'get_group_list',
|
||||
GetGroupMemberInfo = 'get_group_member_info',
|
||||
GetGroupMemberList = 'get_group_member_list',
|
||||
GetMsg = 'get_msg',
|
||||
SendMsg = 'send_msg',
|
||||
SendGroupMsg = 'send_group_msg',
|
||||
SendPrivateMsg = 'send_private_msg',
|
||||
DeleteMsg = 'delete_msg',
|
||||
SetMsgEmojiLike = 'set_msg_emoji_like',
|
||||
SetGroupAddRequest = 'set_group_add_request',
|
||||
SetFriendAddRequest = 'set_friend_add_request',
|
||||
SetGroupLeave = 'set_group_leave',
|
||||
GetVersionInfo = 'get_version_info',
|
||||
GetStatus = 'get_status',
|
||||
CanSendRecord = 'can_send_record',
|
||||
CanSendImage = 'can_send_image',
|
||||
SetGroupKick = 'set_group_kick',
|
||||
SetGroupBan = 'set_group_ban',
|
||||
SetGroupWholeBan = 'set_group_whole_ban',
|
||||
SetGroupAdmin = 'set_group_admin',
|
||||
SetGroupCard = 'set_group_card',
|
||||
SetGroupName = 'set_group_name',
|
||||
GetImage = 'get_image',
|
||||
GetRecord = 'get_record',
|
||||
CleanCache = 'clean_cache',
|
||||
GetCookies = 'get_cookies',
|
||||
// 以下为go-cqhttp api
|
||||
GoCQHTTP_HandleQuickAction = '.handle_quick_operation',
|
||||
GetGroupHonorInfo = 'get_group_honor_info',
|
||||
GoCQHTTP_GetEssenceMsg = 'get_essence_msg_list',
|
||||
GoCQHTTP_SendGroupNotice = '_send_group_notice',
|
||||
GoCQHTTP_GetGroupNotice = '_get_group_notice',
|
||||
GoCQHTTP_SendForwardMsg = 'send_forward_msg',
|
||||
GoCQHTTP_SendGroupForwardMsg = 'send_group_forward_msg',
|
||||
GoCQHTTP_SendPrivateForwardMsg = 'send_private_forward_msg',
|
||||
GoCQHTTP_GetStrangerInfo = 'get_stranger_info',
|
||||
GoCQHTTP_MarkMsgAsRead = 'mark_msg_as_read',
|
||||
GetGuildList = 'get_guild_list',
|
||||
MarkPrivateMsgAsRead = 'mark_private_msg_as_read',
|
||||
MarkGroupMsgAsRead = 'mark_group_msg_as_read',
|
||||
GoCQHTTP_UploadGroupFile = 'upload_group_file',
|
||||
GoCQHTTP_DownloadFile = 'download_file',
|
||||
GoCQHTTP_GetGroupMsgHistory = 'get_group_msg_history',
|
||||
GoCQHTTP_GetForwardMsg = 'get_forward_msg',
|
||||
GetFriendMsgHistory = 'get_friend_msg_history',
|
||||
GetGroupSystemMsg = 'get_group_system_msg',
|
||||
GetOnlineClient = "get_online_clients",
|
||||
OCRImage = "ocr_image",
|
||||
IOCRImage = ".ocr_image",
|
||||
TranslateEnWordToZn = "translate_en2zh"
|
||||
}
|
||||
@@ -1,476 +0,0 @@
|
||||
const SettingList = (items, title, isCollapsible = false, direction = "column") => {
|
||||
return `<setting-section ${title && !isCollapsible ? `data-title="${title}"` : ""}>
|
||||
<setting-panel>
|
||||
<setting-list ${direction ? `data-direction="${direction}"` : ""} ${isCollapsible ? "is-collapsible" : ""} ${title && isCollapsible ? `data-title="${title}"` : ""}>
|
||||
${items.join("")}
|
||||
</setting-list>
|
||||
</setting-panel>
|
||||
</setting-section>`;
|
||||
};
|
||||
|
||||
const SettingItem = (title, subtitle, action, id, visible = true) => {
|
||||
return `<setting-item ${id ? `id="${id}"` : ""} ${!visible ? "is-hidden" : ""}>
|
||||
<div>
|
||||
<setting-text>${title}</setting-text>
|
||||
${subtitle ? `<setting-text data-type="secondary">${subtitle}</setting-text>` : ""}
|
||||
</div>
|
||||
${action ? `<div>${action}</div>` : ""}
|
||||
</setting-item>`;
|
||||
};
|
||||
|
||||
const SettingButton = (text, id, type = "secondary") => {
|
||||
return `<setting-button ${type ? `data-type="${type}"` : ""} ${id ? `id="${id}"` : ""}>${text}</setting-button>`;
|
||||
};
|
||||
|
||||
const SettingSwitch = (configKey, isActive = false, extraData) => {
|
||||
return `<setting-switch
|
||||
${configKey ? `data-config-key="${configKey}"` : ""}
|
||||
${isActive ? "is-active" : ""}
|
||||
${extraData ? Object.keys(extraData).map((key) => `data-${key}="${extraData[key]}"`) : ""}
|
||||
>
|
||||
</setting-switch>`;
|
||||
};
|
||||
|
||||
const SettingOption = (text, value, isSelected = false) => {
|
||||
return `<setting-option ${value ? `data-value="${value}"` : ""} ${isSelected ? "is-selected" : ""}>${text}</setting-option>`;
|
||||
};
|
||||
|
||||
const SelectTemplate = document.createElement("template");
|
||||
SelectTemplate.innerHTML = `<style>
|
||||
.hidden { display: none !important; }
|
||||
</style>
|
||||
<div part="parent">
|
||||
<div part="button">
|
||||
<input type="text" placeholder="请选择" part="current-text" />
|
||||
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" part="button-arrow">
|
||||
<path d="M12 6.0001L8.00004 10L4 6" stroke="currentColor" stroke-linejoin="round"></path>
|
||||
</svg>
|
||||
</div>
|
||||
<ul class="hidden" part="option-list"><slot></slot></ul>
|
||||
</div>`;
|
||||
window.customElements.define(
|
||||
"ob-setting-select",
|
||||
class extends HTMLElement {
|
||||
_button;
|
||||
_text;
|
||||
_context;
|
||||
constructor() {
|
||||
super();
|
||||
this.attachShadow({ mode: "open" });
|
||||
this.shadowRoot?.append(SelectTemplate.content.cloneNode(true));
|
||||
this._button = this.shadowRoot.querySelector('div[part="button"]');
|
||||
this._text = this.shadowRoot.querySelector('input[part="current-text"]');
|
||||
this._context = this.shadowRoot.querySelector('ul[part="option-list"]');
|
||||
const buttonClick = () => {
|
||||
const isHidden = this._context.classList.toggle("hidden");
|
||||
window[`${isHidden ? "remove" : "add"}EventListener`]("pointerdown", windowPointerDown);
|
||||
};
|
||||
const windowPointerDown = ({ target }) => {
|
||||
if (!this.contains(target))
|
||||
buttonClick();
|
||||
};
|
||||
this._button.addEventListener("click", buttonClick);
|
||||
this._context.addEventListener("click", ({ target }) => {
|
||||
if (target.tagName !== "SETTING-OPTION")
|
||||
return;
|
||||
buttonClick();
|
||||
if (target.hasAttribute("is-selected"))
|
||||
return;
|
||||
this.querySelectorAll("setting-option[is-selected]").forEach((dom) => dom.toggleAttribute("is-selected"));
|
||||
target.toggleAttribute("is-selected");
|
||||
this._text.value = target.textContent;
|
||||
this.dispatchEvent(
|
||||
new CustomEvent("selected", {
|
||||
bubbles: true,
|
||||
composed: true,
|
||||
detail: {
|
||||
name: target.textContent,
|
||||
value: target.dataset.value
|
||||
}
|
||||
})
|
||||
);
|
||||
});
|
||||
this._text.value = this.querySelector("setting-option[is-selected]")?.textContent;
|
||||
}
|
||||
}
|
||||
);
|
||||
const SettingSelect = (items, configKey, configValue) => {
|
||||
return `<ob-setting-select ${configKey ? `data-config-key="${configKey}"` : ""}>
|
||||
${items.map((e, i) => {
|
||||
return SettingOption(e.text, e.value, configKey && configValue ? configValue === e.value : i === 0);
|
||||
}).join("")}
|
||||
</ob-setting-select>`;
|
||||
};
|
||||
|
||||
class WebUiApiOB11ConfigWrapper {
|
||||
retCredential = "";
|
||||
async Init(Credential) {
|
||||
this.retCredential = Credential;
|
||||
}
|
||||
async GetOB11Config() {
|
||||
const ConfigResponse = await fetch("/api/OB11Config/GetConfig", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: "Bearer " + this.retCredential,
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
if (ConfigResponse.status == 200) {
|
||||
const ConfigResponseJson = await ConfigResponse.json();
|
||||
if (ConfigResponseJson.code == 0) {
|
||||
return ConfigResponseJson?.data;
|
||||
}
|
||||
}
|
||||
return {};
|
||||
}
|
||||
async SetOB11Config(config) {
|
||||
const ConfigResponse = await fetch("/api/OB11Config/SetConfig", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: "Bearer " + this.retCredential,
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
body: JSON.stringify({ config: JSON.stringify(config) })
|
||||
});
|
||||
if (ConfigResponse.status == 200) {
|
||||
const ConfigResponseJson = await ConfigResponse.json();
|
||||
if (ConfigResponseJson.code == 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const OB11ConfigWrapper = new WebUiApiOB11ConfigWrapper();
|
||||
|
||||
async function onSettingWindowCreated(view) {
|
||||
const isEmpty = (value) => value === void 0 || value === void 0 || value === "";
|
||||
await OB11ConfigWrapper.Init(localStorage.getItem("auth"));
|
||||
const ob11Config = await OB11ConfigWrapper.GetOB11Config();
|
||||
const setOB11Config = (key, value) => {
|
||||
const configKey = key.split(".");
|
||||
if (configKey.length === 2) {
|
||||
ob11Config[configKey[1]] = value;
|
||||
} else if (configKey.length === 3) {
|
||||
ob11Config[configKey[1]][configKey[2]] = value;
|
||||
}
|
||||
OB11ConfigWrapper.SetOB11Config(ob11Config);
|
||||
};
|
||||
const parser = new DOMParser();
|
||||
const doc = parser.parseFromString(
|
||||
[
|
||||
"<div>",
|
||||
`<setting-section id="napcat-error">
|
||||
<setting-panel><pre><code></code></pre></setting-panel>
|
||||
</setting-section>`,
|
||||
SettingList([
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
void 0,
|
||||
SettingButton("V1.4.0", "napcat-update-button", "secondary")
|
||||
)
|
||||
]),
|
||||
SettingList([
|
||||
SettingItem(
|
||||
"启用 HTTP 服务",
|
||||
void 0,
|
||||
SettingSwitch("ob11.http.enable", ob11Config.http.enable, {
|
||||
"control-display-id": "config-ob11-http-port"
|
||||
})
|
||||
),
|
||||
SettingItem(
|
||||
"HTTP 服务监听端口",
|
||||
void 0,
|
||||
`<div class="q-input"><input class="q-input__inner" data-config-key="ob11.http.port" type="number" min="1" max="65534" value="${ob11Config.http.port}" placeholder="${ob11Config.http.port}" /></div>`,
|
||||
"config-ob11-http-port",
|
||||
ob11Config.http.enable
|
||||
),
|
||||
SettingItem(
|
||||
"启用 HTTP 心跳",
|
||||
void 0,
|
||||
SettingSwitch("ob11.http.enableHeart", ob11Config.http.enableHeart, {
|
||||
"control-display-id": "config-ob11-HTTP.enableHeart"
|
||||
})
|
||||
),
|
||||
SettingItem(
|
||||
"启用 HTTP 事件上报",
|
||||
void 0,
|
||||
SettingSwitch("ob11.http.enablePost", ob11Config.http.enablePost, {
|
||||
"control-display-id": "config-ob11-http-postUrls"
|
||||
})
|
||||
),
|
||||
`<div class="config-host-list" id="config-ob11-http-postUrls" ${ob11Config.http.enablePost ? "" : "is-hidden"}>
|
||||
<setting-item data-direction="row">
|
||||
<div>
|
||||
<setting-text>HTTP 事件上报密钥</setting-text>
|
||||
</div>
|
||||
<div class="q-input">
|
||||
<input id="config-ob11-http-secret" class="q-input__inner" data-config-key="ob11.http.secret" type="text" value="${ob11Config.http.secret}" placeholder="未设置" />
|
||||
</div>
|
||||
</setting-item>
|
||||
<setting-item data-direction="row">
|
||||
<div>
|
||||
<setting-text>HTTP 事件上报地址</setting-text>
|
||||
</div>
|
||||
<setting-button id="config-ob11-http-postUrls-add" data-type="primary">添加</setting-button>
|
||||
</setting-item>
|
||||
<div id="config-ob11-http-postUrls-list"></div>
|
||||
</div>`,
|
||||
SettingItem(
|
||||
"启用正向 WebSocket 服务",
|
||||
void 0,
|
||||
SettingSwitch("ob11.ws.enable", ob11Config.ws.enable, {
|
||||
"control-display-id": "config-ob11-ws-port"
|
||||
})
|
||||
),
|
||||
SettingItem(
|
||||
"正向 WebSocket 服务监听端口",
|
||||
void 0,
|
||||
`<div class="q-input"><input class="q-input__inner" data-config-key="ob11.ws.port" type="number" min="1" max="65534" value="${ob11Config.ws.port}" placeholder="${ob11Config.ws.port}" /></div>`,
|
||||
"config-ob11-ws-port",
|
||||
ob11Config.ws.enable
|
||||
),
|
||||
SettingItem(
|
||||
"启用反向 WebSocket 服务",
|
||||
void 0,
|
||||
SettingSwitch("ob11.reverseWs.enable", ob11Config.reverseWs.enable, {
|
||||
"control-display-id": "config-ob11-reverseWs-urls"
|
||||
})
|
||||
),
|
||||
`<div class="config-host-list" id="config-ob11-reverseWs-urls" ${ob11Config.reverseWs.enable ? "" : "is-hidden"}>
|
||||
<setting-item data-direction="row">
|
||||
<div>
|
||||
<setting-text>反向 WebSocket 监听地址</setting-text>
|
||||
</div>
|
||||
<setting-button id="config-ob11-reverseWs-urls-add" data-type="primary">添加</setting-button>
|
||||
</setting-item>
|
||||
<div id="config-ob11-reverseWs-urls-list"></div>
|
||||
</div>`,
|
||||
SettingItem(
|
||||
" WebSocket 服务心跳间隔",
|
||||
"控制每隔多久发送一个心跳包,单位为毫秒",
|
||||
`<div class="q-input"><input class="q-input__inner" data-config-key="ob11.heartInterval" type="number" min="1000" value="${ob11Config.heartInterval}" placeholder="${ob11Config.heartInterval}" /></div>`
|
||||
),
|
||||
SettingItem(
|
||||
"Access token",
|
||||
void 0,
|
||||
`<div class="q-input" style="width:210px;"><input class="q-input__inner" data-config-key="ob11.token" type="text" value="${ob11Config.token}" placeholder="未设置" /></div>`
|
||||
),
|
||||
SettingItem(
|
||||
"新消息上报格式",
|
||||
`如客户端无特殊需求推荐保持默认设置,两者的详细差异可参考 <a href="javascript:LiteLoader.api.openExternal('https://github.com/botuniverse/onebot-11/tree/master/message#readme');">OneBot v11 文档</a>`,
|
||||
SettingSelect(
|
||||
[
|
||||
{ text: "消息段", value: "array" },
|
||||
{ text: "CQ码", value: "string" }
|
||||
],
|
||||
"ob11.messagePostFormat",
|
||||
ob11Config.messagePostFormat
|
||||
)
|
||||
),
|
||||
SettingItem(
|
||||
"音乐卡片签名地址",
|
||||
void 0,
|
||||
`<div class="q-input" style="width:210px;"><input class="q-input__inner" data-config-key="ob11.musicSignUrl" type="text" value="${ob11Config.musicSignUrl}" placeholder="未设置" /></div>`,
|
||||
"ob11.musicSignUrl"
|
||||
),
|
||||
SettingItem(
|
||||
"启用本地进群时间与发言时间记录",
|
||||
void 0,
|
||||
SettingSwitch("ob11.GroupLocalTime.Record", ob11Config.GroupLocalTime.Record, {
|
||||
"control-display-id": "config-ob11-GroupLocalTime-RecordList"
|
||||
})
|
||||
),
|
||||
`<div class="config-host-list" id="config-ob11-GroupLocalTime-RecordList" ${ob11Config.GroupLocalTime.Record ? "" : "is-hidden"}>
|
||||
<setting-item data-direction="row">
|
||||
<div>
|
||||
<setting-text>群列表</setting-text>
|
||||
</div>
|
||||
<setting-button id="config-ob11-GroupLocalTime-RecordList-add" data-type="primary">添加</setting-button>
|
||||
</setting-item>
|
||||
<div id="config-ob11-GroupLocalTime-RecordList-list"></div>
|
||||
</div>`,
|
||||
SettingItem(
|
||||
"",
|
||||
void 0,
|
||||
SettingButton("保存", "config-ob11-save", "primary")
|
||||
)
|
||||
]),
|
||||
SettingList([
|
||||
SettingItem(
|
||||
"上报 Bot 自身发送的消息",
|
||||
"上报 event 为 message_sent",
|
||||
SettingSwitch("ob11.reportSelfMessage", ob11Config.reportSelfMessage)
|
||||
)
|
||||
]),
|
||||
SettingList([
|
||||
SettingItem(
|
||||
"GitHub 仓库",
|
||||
"https://github.com/NapNeko/NapCatQQ",
|
||||
SettingButton("点个星星", "open-github")
|
||||
),
|
||||
SettingItem("NapCat 文档", "", SettingButton("看看文档", "open-docs")),
|
||||
SettingItem(
|
||||
"Telegram 群",
|
||||
"https://t.me/+nLZEnpne-pQ1OWFl",
|
||||
SettingButton("进去逛逛", "open-telegram")
|
||||
),
|
||||
SettingItem(
|
||||
"QQ 群",
|
||||
"545402644",
|
||||
SettingButton("我要进去", "open-qq-group")
|
||||
)
|
||||
]),
|
||||
"</div>"
|
||||
].join(""),
|
||||
"text/html"
|
||||
);
|
||||
doc.querySelector("#open-github")?.addEventListener("click", () => {
|
||||
window.open("https://napneko.github.io/", "_blank");
|
||||
});
|
||||
doc.querySelector("#open-telegram")?.addEventListener("click", () => {
|
||||
window.open("https://t.me/+nLZEnpne-pQ1OWFl");
|
||||
});
|
||||
doc.querySelector("#open-qq-group")?.addEventListener("click", () => {
|
||||
window.open("https://qm.qq.com/q/bDnHRG38aI");
|
||||
});
|
||||
doc.querySelector("#open-docs")?.addEventListener("click", () => {
|
||||
window.open("https://github.com/NapNeko/NapCatQQ");
|
||||
});
|
||||
const buildHostListItem = (type, host, index, inputAttrs = {}) => {
|
||||
const dom = {
|
||||
container: document.createElement("setting-item"),
|
||||
input: document.createElement("input"),
|
||||
inputContainer: document.createElement("div"),
|
||||
deleteBtn: document.createElement("setting-button")
|
||||
};
|
||||
dom.container.classList.add("setting-host-list-item");
|
||||
dom.container.dataset.direction = "row";
|
||||
Object.assign(dom.input, inputAttrs);
|
||||
dom.input.classList.add("q-input__inner");
|
||||
dom.input.type = "url";
|
||||
dom.input.value = host;
|
||||
dom.input.addEventListener("input", () => {
|
||||
ob11Config[type.split("-")[0]][type.split("-")[1]][index] = dom.input.value;
|
||||
});
|
||||
dom.inputContainer.classList.add("q-input");
|
||||
dom.inputContainer.appendChild(dom.input);
|
||||
dom.deleteBtn.innerHTML = "删除";
|
||||
dom.deleteBtn.dataset.type = "secondary";
|
||||
dom.deleteBtn.addEventListener("click", () => {
|
||||
ob11Config[type.split("-")[0]][type.split("-")[1]].splice(index, 1);
|
||||
initReverseHost(type);
|
||||
});
|
||||
dom.container.appendChild(dom.inputContainer);
|
||||
dom.container.appendChild(dom.deleteBtn);
|
||||
return dom.container;
|
||||
};
|
||||
const buildHostList = (hosts, type, inputAttr = {}) => {
|
||||
const result = [];
|
||||
hosts?.forEach((host, index) => {
|
||||
result.push(buildHostListItem(type, host, index, inputAttr));
|
||||
});
|
||||
return result;
|
||||
};
|
||||
const addReverseHost = (type, doc2 = document, inputAttr = {}) => {
|
||||
type = type.replace(/\./g, "-");
|
||||
const hostContainerDom = doc2.body.querySelector(
|
||||
`#config-ob11-${type}-list`
|
||||
);
|
||||
hostContainerDom?.appendChild(
|
||||
buildHostListItem(
|
||||
type,
|
||||
"",
|
||||
ob11Config[type.split("-")[0]][type.split("-")[1]].length,
|
||||
inputAttr
|
||||
)
|
||||
);
|
||||
ob11Config[type.split("-")[0]][type.split("-")[1]].push("");
|
||||
};
|
||||
const initReverseHost = (type, doc2 = document) => {
|
||||
type = type.replace(/\./g, "-");
|
||||
const hostContainerDom = doc2.body?.querySelector(
|
||||
`#config-ob11-${type}-list`
|
||||
);
|
||||
if (hostContainerDom) {
|
||||
[...hostContainerDom.childNodes].forEach((dom) => dom.remove());
|
||||
buildHostList(
|
||||
ob11Config[type.split("-")[0]][type.split("-")[1]],
|
||||
type
|
||||
).forEach((dom) => {
|
||||
hostContainerDom?.appendChild(dom);
|
||||
});
|
||||
}
|
||||
};
|
||||
initReverseHost("http.postUrls", doc);
|
||||
initReverseHost("reverseWs.urls", doc);
|
||||
initReverseHost("GroupLocalTime.RecordList", doc);
|
||||
doc.querySelector("#config-ob11-http-postUrls-add")?.addEventListener(
|
||||
"click",
|
||||
() => addReverseHost("http.postUrls", document, {
|
||||
placeholder: "如:http://127.0.0.1:5140/onebot"
|
||||
})
|
||||
);
|
||||
doc.querySelector("#config-ob11-reverseWs-urls-add")?.addEventListener(
|
||||
"click",
|
||||
() => addReverseHost("reverseWs.urls", document, {
|
||||
placeholder: "如:ws://127.0.0.1:5140/onebot"
|
||||
})
|
||||
);
|
||||
doc.querySelector("#config-ob11-GroupLocalTime-RecordList-add")?.addEventListener(
|
||||
"click",
|
||||
() => addReverseHost("GroupLocalTime.RecordList", document, {
|
||||
placeholder: "此处填写群号 -1为全部"
|
||||
})
|
||||
);
|
||||
doc.querySelector("#config-ffmpeg-select")?.addEventListener("click", () => {
|
||||
});
|
||||
doc.querySelector("#config-open-log-path")?.addEventListener("click", () => {
|
||||
});
|
||||
doc.querySelectorAll("setting-switch[data-config-key]").forEach((dom) => {
|
||||
dom.addEventListener("click", () => {
|
||||
const active = dom.getAttribute("is-active") == void 0;
|
||||
setOB11Config(dom.dataset.configKey, active);
|
||||
if (active)
|
||||
dom.setAttribute("is-active", "");
|
||||
else
|
||||
dom.removeAttribute("is-active");
|
||||
if (!isEmpty(dom.dataset.controlDisplayId)) {
|
||||
const displayDom = document.querySelector(
|
||||
//@ts-expect-error 等待修复
|
||||
`#${dom.dataset.controlDisplayId}`
|
||||
);
|
||||
if (active)
|
||||
displayDom?.removeAttribute("is-hidden");
|
||||
else
|
||||
displayDom?.setAttribute("is-hidden", "");
|
||||
}
|
||||
});
|
||||
});
|
||||
doc.querySelectorAll(
|
||||
"setting-item .q-input input.q-input__inner[data-config-key]"
|
||||
).forEach((dom) => {
|
||||
dom.addEventListener("input", () => {
|
||||
const Type = dom.getAttribute("type");
|
||||
const configKey = dom.dataset.configKey;
|
||||
const configValue = Type === "number" ? parseInt(dom.value) >= 1 ? parseInt(dom.value) : 1 : dom.value;
|
||||
setOB11Config(configKey, configValue);
|
||||
});
|
||||
});
|
||||
doc.querySelectorAll("ob-setting-select[data-config-key]").forEach((dom) => {
|
||||
dom?.addEventListener("selected", (e) => {
|
||||
const configKey = dom.dataset.configKey;
|
||||
const configValue = e.detail.value;
|
||||
setOB11Config(configKey, configValue);
|
||||
});
|
||||
});
|
||||
doc.querySelector("#config-ob11-save")?.addEventListener("click", () => {
|
||||
OB11ConfigWrapper.SetOB11Config(ob11Config);
|
||||
alert("保存成功");
|
||||
});
|
||||
doc.body.childNodes.forEach((node) => {
|
||||
view.appendChild(node);
|
||||
});
|
||||
}
|
||||
|
||||
export { onSettingWindowCreated };
|
||||
@@ -420,7 +420,7 @@ async function onSettingWindowCreated(view) {
|
||||
doc.querySelector("#config-ob11-GroupLocalTime-RecordList-add")?.addEventListener(
|
||||
"click",
|
||||
() => addReverseHost("GroupLocalTime.RecordList", document, {
|
||||
placeholder: "如:ws://127.0.0.1:5140/onebot"
|
||||
placeholder: "此处填写群号 -1为全部"
|
||||
})
|
||||
);
|
||||
doc.querySelector("#config-ffmpeg-select")?.addEventListener("click", () => {
|
||||
|
||||
Reference in new issue
Block a user