mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f43c1eadd7 | ||
![]() |
ae4b4e7ff9 | ||
![]() |
68b9771fa9 | ||
![]() |
114c98f4cf | ||
![]() |
685dc74742 | ||
![]() |
56966961dc | ||
![]() |
75b8002616 | ||
![]() |
6cd2d14e85 | ||
![]() |
d11ad0585b | ||
![]() |
ccbb641a8e | ||
![]() |
5695d10a86 | ||
![]() |
185f167c5f | ||
![]() |
9cf38a439b | ||
![]() |
de65cd810c |
@@ -1,11 +0,0 @@
|
||||
# v1.6.1
|
||||
|
||||
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
|
||||
|
||||
## 修复与优化
|
||||
|
||||
|
||||
## 新增与调整
|
||||
* 修复poke异常事件
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
@@ -1,11 +0,0 @@
|
||||
# v1.6.0
|
||||
|
||||
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
|
||||
|
||||
## 修复与优化
|
||||
|
||||
|
||||
## 新增与调整
|
||||
* 新增图片subtype属性 区分表情图片与商城图片
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
@@ -2,7 +2,7 @@
|
||||
"name": "napcat",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.6.1",
|
||||
"version": "1.5.9",
|
||||
"scripts": {
|
||||
"watch:dev": "vite --mode development",
|
||||
"watch:prod": "vite --mode production",
|
||||
@@ -33,7 +33,7 @@
|
||||
"@types/fluent-ffmpeg": "^2.1.24",
|
||||
"@types/node": "^20.11.30",
|
||||
"@types/qrcode-terminal": "^0.12.2",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/ws": "^8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||||
"@typescript-eslint/parser": "^7.4.0",
|
||||
|
@@ -64,7 +64,8 @@ export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toSt
|
||||
// appid: '537213764',
|
||||
// platVer: '10.0.26100',
|
||||
// clientVer: '9.9.9-23159',
|
||||
|
||||
//Android
|
||||
//V1_AND_SQ_9.0.60_6478_YYB_D
|
||||
// Linux
|
||||
// app_version: '3.2.9-24568',
|
||||
// qua: 'V1_LNX_NQ_3.2.9_24568_GW_B',
|
||||
|
@@ -157,6 +157,7 @@ export class RequestUtil {
|
||||
});
|
||||
|
||||
res.on('end', () => {
|
||||
|
||||
try {
|
||||
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
|
||||
const responseJson = JSON.parse(responseBody) as retType;
|
||||
|
2
src/core
2
src/core
Submodule src/core updated: eec6f2a5c0...f362cdb9fa
@@ -1 +1 @@
|
||||
var _0xcc391f=_0x1dbc;function _0x52b6(){var _0x415ac1=['getGroupCode','688761AQTgdS','onMSFStatusChange','4780153elzsdz','104jUCcYC','335227uPPfBg','976830pbzGRQ','5625055eKGJTT','5073624gTujzP','6DxfcvM','5630040LsNiIa'];_0x52b6=function(){return _0x415ac1;};return _0x52b6();}function _0x1dbc(_0x2e7338,_0x3c3487){var _0x52b69c=_0x52b6();return _0x1dbc=function(_0x1dbc94,_0x5792b5){_0x1dbc94=_0x1dbc94-0xbe;var _0x2be02b=_0x52b69c[_0x1dbc94];return _0x2be02b;},_0x1dbc(_0x2e7338,_0x3c3487);}(function(_0x1457cf,_0x101874){var _0x174c51=_0x1dbc,_0x5a350c=_0x1457cf();while(!![]){try{var _0x4060d=parseInt(_0x174c51(0xc4))/0x1+parseInt(_0x174c51(0xc5))/0x2*(parseInt(_0x174c51(0xc8))/0x3)+parseInt(_0x174c51(0xc7))/0x4+-parseInt(_0x174c51(0xc6))/0x5+-parseInt(_0x174c51(0xbe))/0x6+-parseInt(_0x174c51(0xc2))/0x7+parseInt(_0x174c51(0xc3))/0x8*(parseInt(_0x174c51(0xc0))/0x9);if(_0x4060d===_0x101874)break;else _0x5a350c['push'](_0x5a350c['shift']());}catch(_0x33aafc){_0x5a350c['push'](_0x5a350c['shift']());}}}(_0x52b6,0xca6b6));export class DependsAdapter{[_0xcc391f(0xc1)](_0x160645,_0x5838f1){}['onMSFSsoError'](_0x502d99){}[_0xcc391f(0xbf)](_0x45bdb6){}}
|
||||
function _0x3af3(_0x356d40,_0x2a20fb){var _0x101a99=_0x101a();return _0x3af3=function(_0x3af393,_0x53d8da){_0x3af393=_0x3af393-0x64;var _0x1a7781=_0x101a99[_0x3af393];return _0x1a7781;},_0x3af3(_0x356d40,_0x2a20fb);}var _0x37baa3=_0x3af3;(function(_0x3d6d4c,_0x1c9364){var _0x3270f1=_0x3af3,_0x5d4667=_0x3d6d4c();while(!![]){try{var _0x6921cf=parseInt(_0x3270f1(0x68))/0x1+-parseInt(_0x3270f1(0x6b))/0x2+parseInt(_0x3270f1(0x6f))/0x3+-parseInt(_0x3270f1(0x6e))/0x4*(parseInt(_0x3270f1(0x67))/0x5)+-parseInt(_0x3270f1(0x6a))/0x6*(parseInt(_0x3270f1(0x64))/0x7)+-parseInt(_0x3270f1(0x66))/0x8*(parseInt(_0x3270f1(0x65))/0x9)+parseInt(_0x3270f1(0x6d))/0xa;if(_0x6921cf===_0x1c9364)break;else _0x5d4667['push'](_0x5d4667['shift']());}catch(_0xc0a47b){_0x5d4667['push'](_0x5d4667['shift']());}}}(_0x101a,0xe1bfe));export class DependsAdapter{[_0x37baa3(0x69)](_0x1e1f6e,_0x459b96){}[_0x37baa3(0x6c)](_0x1f7874){}[_0x37baa3(0x70)](_0x52d383){}}function _0x101a(){var _0xa96996=['42367970pybWcp','5588848WWCYNI','1222647CgLZgG','getGroupCode','7658BHknpG','4631319UaMPvI','24IHKGAL','5juNrBF','406432qNpTWf','onMSFStatusChange','54fzBnPw','2350554PxwUSd','onMSFSsoError'];_0x101a=function(){return _0xa96996;};return _0x101a();}
|
@@ -1 +1 @@
|
||||
var _0x24dc95=_0x585a;function _0x585a(_0x98cee9,_0x215212){var _0x1e1827=_0x1e18();return _0x585a=function(_0x585a22,_0x290a2f){_0x585a22=_0x585a22-0x146;var _0x206eae=_0x1e1827[_0x585a22];return _0x206eae;},_0x585a(_0x98cee9,_0x215212);}(function(_0x2602b9,_0x23ed1f){var _0x29821b=_0x585a,_0xf0f43=_0x2602b9();while(!![]){try{var _0x39040d=parseInt(_0x29821b(0x14b))/0x1+parseInt(_0x29821b(0x149))/0x2+-parseInt(_0x29821b(0x150))/0x3*(-parseInt(_0x29821b(0x14f))/0x4)+-parseInt(_0x29821b(0x14d))/0x5+-parseInt(_0x29821b(0x146))/0x6+parseInt(_0x29821b(0x147))/0x7+-parseInt(_0x29821b(0x148))/0x8;if(_0x39040d===_0x23ed1f)break;else _0xf0f43['push'](_0xf0f43['shift']());}catch(_0x4448d5){_0xf0f43['push'](_0xf0f43['shift']());}}}(_0x1e18,0x9a7c0));function _0x1e18(){var _0x1859c2=['1072386zxkYvO','1702120yxKQxg','594584YdGdNa','584644jnxrqu','dispatchCallWithJson','197388uWeHvx','dispatchRequest','1250350nrYfbC','dispatchCall','8gExNtR','604533fSuWEr'];_0x1e18=function(){return _0x1859c2;};return _0x1e18();}export class DispatcherAdapter{[_0x24dc95(0x14c)](_0x251321){}[_0x24dc95(0x14e)](_0x525c84){}[_0x24dc95(0x14a)](_0x222c8d){}}
|
||||
var _0x1a2d1a=_0x34fa;(function(_0x1a1675,_0x286fde){var _0x8a52bc=_0x34fa,_0x5eddf7=_0x1a1675();while(!![]){try{var _0x18454f=parseInt(_0x8a52bc(0x72))/0x1+-parseInt(_0x8a52bc(0x6b))/0x2*(-parseInt(_0x8a52bc(0x74))/0x3)+parseInt(_0x8a52bc(0x6e))/0x4*(-parseInt(_0x8a52bc(0x6f))/0x5)+parseInt(_0x8a52bc(0x76))/0x6*(parseInt(_0x8a52bc(0x78))/0x7)+parseInt(_0x8a52bc(0x6c))/0x8+-parseInt(_0x8a52bc(0x77))/0x9*(parseInt(_0x8a52bc(0x6d))/0xa)+-parseInt(_0x8a52bc(0x79))/0xb*(-parseInt(_0x8a52bc(0x73))/0xc);if(_0x18454f===_0x286fde)break;else _0x5eddf7['push'](_0x5eddf7['shift']());}catch(_0x39129d){_0x5eddf7['push'](_0x5eddf7['shift']());}}}(_0x5423,0x8d2fe));function _0x34fa(_0x11e3c6,_0x18a7d3){var _0x5423ce=_0x5423();return _0x34fa=function(_0x34fa44,_0x1c1e83){_0x34fa44=_0x34fa44-0x6b;var _0x529ce9=_0x5423ce[_0x34fa44];return _0x529ce9;},_0x34fa(_0x11e3c6,_0x18a7d3);}function _0x5423(){var _0x4f219a=['534RXDMqF','1512891LnLYPL','70672RErDOC','4908838tnrFuS','2WKotYM','4074456lRLzFT','50xLhqVM','10548OlSYSu','2105dnCecF','dispatchRequest','dispatchCall','100450BrGFPc','24rEVuId','384471eTeeAT','dispatchCallWithJson'];_0x5423=function(){return _0x4f219a;};return _0x5423();}export class DispatcherAdapter{[_0x1a2d1a(0x70)](_0x2b7d81){}[_0x1a2d1a(0x71)](_0x25661b){}[_0x1a2d1a(0x75)](_0x3209fd){}}
|
@@ -1 +1 @@
|
||||
function _0x5cfc(_0x1a414e,_0x2b6945){var _0x4561bc=_0x4561();return _0x5cfc=function(_0x5cfc0a,_0x39f2fa){_0x5cfc0a=_0x5cfc0a-0xdc;var _0x29bccb=_0x4561bc[_0x5cfc0a];return _0x29bccb;},_0x5cfc(_0x1a414e,_0x2b6945);}var _0x13ad04=_0x5cfc;(function(_0x39368b,_0x1c4f7a){var _0x240e55=_0x5cfc,_0xa55402=_0x39368b();while(!![]){try{var _0x19ea16=parseInt(_0x240e55(0xe7))/0x1+parseInt(_0x240e55(0xe1))/0x2+-parseInt(_0x240e55(0xe4))/0x3*(-parseInt(_0x240e55(0xe6))/0x4)+parseInt(_0x240e55(0xdf))/0x5+-parseInt(_0x240e55(0xdc))/0x6+-parseInt(_0x240e55(0xe2))/0x7+parseInt(_0x240e55(0xe3))/0x8;if(_0x19ea16===_0x1c4f7a)break;else _0xa55402['push'](_0xa55402['shift']());}catch(_0x1e89fd){_0xa55402['push'](_0xa55402['shift']());}}}(_0x4561,0x3ebcd));function _0x4561(){var _0x4c7d39=['1071210VcxehC','818592ZGlgqp','126aNfYQt','onUpdateGeneralFlag','47692ndSNHo','178420OjINhX','2616834RVkoeU','onLog','onShowErrUITips','303535qZPoZF','onGetOfflineMsg','7850wMzNtw'];_0x4561=function(){return _0x4c7d39;};return _0x4561();}export class GlobalAdapter{[_0x13ad04(0xdd)](..._0x3e119a){}['onGetSrvCalTime'](..._0x18ecc5){}[_0x13ad04(0xde)](..._0x100e62){}['fixPicImgType'](..._0x2cde61){}['getAppSetting'](..._0x33e2eb){}['onInstallFinished'](..._0x223f3d){}[_0x13ad04(0xe5)](..._0x43f8e2){}[_0x13ad04(0xe0)](..._0x907c35){}}
|
||||
var _0x3c354d=_0x3b46;(function(_0xf8f98c,_0x45495c){var _0x5f2988=_0x3b46,_0x2c4e82=_0xf8f98c();while(!![]){try{var _0x1801ba=parseInt(_0x5f2988(0xae))/0x1*(-parseInt(_0x5f2988(0xb8))/0x2)+parseInt(_0x5f2988(0xb7))/0x3+-parseInt(_0x5f2988(0xb5))/0x4*(parseInt(_0x5f2988(0xad))/0x5)+parseInt(_0x5f2988(0xb1))/0x6*(parseInt(_0x5f2988(0xa8))/0x7)+parseInt(_0x5f2988(0xa9))/0x8*(-parseInt(_0x5f2988(0xb9))/0x9)+-parseInt(_0x5f2988(0xac))/0xa*(parseInt(_0x5f2988(0xaa))/0xb)+-parseInt(_0x5f2988(0xb4))/0xc*(-parseInt(_0x5f2988(0xaf))/0xd);if(_0x1801ba===_0x45495c)break;else _0x2c4e82['push'](_0x2c4e82['shift']());}catch(_0x4dbbd6){_0x2c4e82['push'](_0x2c4e82['shift']());}}}(_0x474f,0x69172));function _0x474f(){var _0x3ee35d=['34978177AIDyES','onLog','192060noCQbU','onUpdateGeneralFlag','onShowErrUITips','12vbnUnK','668OiwwSf','getAppSetting','1233990kfBaaw','974zIRzTn','6014043WVSUxt','56PxbZlm','8vOxLof','258962qYXpMY','onInstallFinished','340kZgviQ','25615umUBvX','1239nBzLHw'];_0x474f=function(){return _0x3ee35d;};return _0x474f();}function _0x3b46(_0x282052,_0x1a1016){var _0x474f1f=_0x474f();return _0x3b46=function(_0x3b46fc,_0x1b9e81){_0x3b46fc=_0x3b46fc-0xa8;var _0x54f1ce=_0x474f1f[_0x3b46fc];return _0x54f1ce;},_0x3b46(_0x282052,_0x1a1016);}export class GlobalAdapter{[_0x3c354d(0xb0)](..._0x3b6849){}['onGetSrvCalTime'](..._0x563485){}[_0x3c354d(0xb3)](..._0x585ec0){}['fixPicImgType'](..._0x3668d1){}[_0x3c354d(0xb6)](..._0x488201){}[_0x3c354d(0xab)](..._0x38eda3){}[_0x3c354d(0xb2)](..._0x3654f6){}['onGetOfflineMsg'](..._0x175446){}}
|
@@ -1 +1 @@
|
||||
(function(_0x3bd320,_0x59cad1){var _0x5b8350=_0x2e39,_0x5f2fbc=_0x3bd320();while(!![]){try{var _0x48276f=-parseInt(_0x5b8350(0x129))/0x1+parseInt(_0x5b8350(0x12a))/0x2+-parseInt(_0x5b8350(0x12c))/0x3+-parseInt(_0x5b8350(0x12b))/0x4*(parseInt(_0x5b8350(0x12f))/0x5)+parseInt(_0x5b8350(0x127))/0x6*(parseInt(_0x5b8350(0x12d))/0x7)+parseInt(_0x5b8350(0x126))/0x8+-parseInt(_0x5b8350(0x12e))/0x9*(-parseInt(_0x5b8350(0x128))/0xa);if(_0x48276f===_0x59cad1)break;else _0x5f2fbc['push'](_0x5f2fbc['shift']());}catch(_0x5c216f){_0x5f2fbc['push'](_0x5f2fbc['shift']());}}}(_0xf9fd,0xae9e1));function _0x2e39(_0x4fe14e,_0x2ce9ef){var _0xf9fd06=_0xf9fd();return _0x2e39=function(_0x2e3985,_0x1300b5){_0x2e3985=_0x2e3985-0x126;var _0x458d58=_0xf9fd06[_0x2e3985];return _0x458d58;},_0x2e39(_0x4fe14e,_0x2ce9ef);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0xf9fd(){var _0x113674=['9Psfnwm','1255gvGSSW','8940456QkCTfV','546MtNrzV','3069540AuWaws','149260sAWoZS','472274vEalJO','14696sQGKES','3882108rVTCKd','109235UStmLQ'];_0xf9fd=function(){return _0x113674;};return _0xf9fd();}export*from'./NodeIGlobalAdapter';
|
||||
(function(_0x1e93c0,_0x5a6695){var _0x2a6062=_0x153d,_0xdcabef=_0x1e93c0();while(!![]){try{var _0x3be4aa=parseInt(_0x2a6062(0x134))/0x1*(-parseInt(_0x2a6062(0x133))/0x2)+parseInt(_0x2a6062(0x135))/0x3*(-parseInt(_0x2a6062(0x13b))/0x4)+-parseInt(_0x2a6062(0x13a))/0x5+parseInt(_0x2a6062(0x138))/0x6*(parseInt(_0x2a6062(0x136))/0x7)+parseInt(_0x2a6062(0x137))/0x8+parseInt(_0x2a6062(0x132))/0x9+parseInt(_0x2a6062(0x139))/0xa;if(_0x3be4aa===_0x5a6695)break;else _0xdcabef['push'](_0xdcabef['shift']());}catch(_0x5e4725){_0xdcabef['push'](_0xdcabef['shift']());}}}(_0x26c1,0x9fe93));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x26c1(){var _0x5ab3ab=['1045125RogMJB','4HtttjG','7126110XrNMQk','19792pkfHra','6UjmuQF','3470811spDoPb','100821kYZGkB','2481152tdUThE','42ZCdkWb','8775780ThKppr'];_0x26c1=function(){return _0x5ab3ab;};return _0x26c1();}function _0x153d(_0x40bd82,_0x4e0626){var _0x26c110=_0x26c1();return _0x153d=function(_0x153dc9,_0x1f8255){_0x153dc9=_0x153dc9-0x132;var _0x42dfdf=_0x26c110[_0x153dc9];return _0x42dfdf;},_0x153d(_0x40bd82,_0x4e0626);}export*from'./NodeIGlobalAdapter';
|
@@ -1 +1 @@
|
||||
const _0xb3b733=_0x45ad;(function(_0x4bffd0,_0x176a97){const _0x5ae4cb=_0x45ad,_0x19227e=_0x4bffd0();while(!![]){try{const _0x232a10=parseInt(_0x5ae4cb(0x9e))/0x1*(-parseInt(_0x5ae4cb(0xa3))/0x2)+parseInt(_0x5ae4cb(0x9f))/0x3+-parseInt(_0x5ae4cb(0x98))/0x4+-parseInt(_0x5ae4cb(0xa4))/0x5*(parseInt(_0x5ae4cb(0xa1))/0x6)+parseInt(_0x5ae4cb(0x9a))/0x7+-parseInt(_0x5ae4cb(0x9c))/0x8+-parseInt(_0x5ae4cb(0x9b))/0x9*(-parseInt(_0x5ae4cb(0xa2))/0xa);if(_0x232a10===_0x176a97)break;else _0x19227e['push'](_0x19227e['shift']());}catch(_0x5a2898){_0x19227e['push'](_0x19227e['shift']());}}}(_0x3563,0x5c34e));function _0x3563(){const _0x2b00dc=['now','483126HtoXls','9LnNbBO','3145248lVakQe','getCollectionItemList','1GKTnyB','1666581DNwykv','getCollectionService','24QkRxvQ','10785410wJqEAX','34634zixcbT','782685ybfoFF','createCollection','toString','session','1155148LpPQiB'];_0x3563=function(){return _0x2b00dc;};return _0x3563();}function _0x45ad(_0x1f4c0f,_0x339836){const _0x356308=_0x3563();return _0x45ad=function(_0x45ad53,_0x31dee2){_0x45ad53=_0x45ad53-0x96;let _0x9ded03=_0x356308[_0x45ad53];return _0x9ded03;},_0x45ad(_0x1f4c0f,_0x339836);}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0xb3b733(0xa5)](_0xc13a04,_0x336a77,_0xa0ed04,_0x57ade0,_0x49485d){const _0x1b5d4d=_0xb3b733;let _0x57b825={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0xc13a04,'strId':_0xa0ed04,'groupId':'0','groupName':'','uid':_0x336a77},'customGroupId':'0','createTime':Date[_0x1b5d4d(0x99)]()['toString'](),'sequence':Date['now']()[_0x1b5d4d(0x96)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x57ade0,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x49485d,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x1b5d4d(0x97)]['getCollectionService']()['createNewCollectionItem'](_0x57b825);}static async['getAllCollection'](_0x258049=0x0,_0x39c346=0x32){const _0x2dbee4=_0xb3b733;let _0x497dec={'category':_0x258049,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x39c346,'searchDown':!![]};return napCatCore[_0x2dbee4(0x97)][_0x2dbee4(0xa0)]()[_0x2dbee4(0x9d)](_0x497dec);}}
|
||||
const _0x2a256f=_0x7eb6;(function(_0x4493fb,_0x2ee991){const _0x37ecc8=_0x7eb6,_0x3dd8ba=_0x4493fb();while(!![]){try{const _0xc11bad=parseInt(_0x37ecc8(0x15a))/0x1+parseInt(_0x37ecc8(0x167))/0x2+parseInt(_0x37ecc8(0x15d))/0x3*(-parseInt(_0x37ecc8(0x168))/0x4)+-parseInt(_0x37ecc8(0x163))/0x5*(parseInt(_0x37ecc8(0x15e))/0x6)+parseInt(_0x37ecc8(0x16b))/0x7+-parseInt(_0x37ecc8(0x164))/0x8*(parseInt(_0x37ecc8(0x169))/0x9)+-parseInt(_0x37ecc8(0x15b))/0xa*(parseInt(_0x37ecc8(0x160))/0xb);if(_0xc11bad===_0x2ee991)break;else _0x3dd8ba['push'](_0x3dd8ba['shift']());}catch(_0x29c5db){_0x3dd8ba['push'](_0x3dd8ba['shift']());}}}(_0x2939,0x688c8));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x2a256f(0x162)](_0x24e2dd,_0x5a812d,_0x36ec48,_0x1f96c5,_0x43ae5e){const _0x4722c1=_0x2a256f;let _0x1af445={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x24e2dd,'strId':_0x36ec48,'groupId':'0','groupName':'','uid':_0x5a812d},'customGroupId':'0','createTime':Date['now']()[_0x4722c1(0x165)](),'sequence':Date[_0x4722c1(0x161)]()[_0x4722c1(0x165)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x1f96c5,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x43ae5e,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x4722c1(0x16a)][_0x4722c1(0x16c)]()[_0x4722c1(0x15f)](_0x1af445);}static async[_0x2a256f(0x166)](_0x71a742=0x0,_0x33b489=0x32){const _0xee929=_0x2a256f;let _0x48cb33={'category':_0x71a742,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x33b489,'searchDown':!![]};return napCatCore[_0xee929(0x16a)][_0xee929(0x16c)]()[_0xee929(0x15c)](_0x48cb33);}}function _0x7eb6(_0x31436a,_0x3db8f3){const _0x29394d=_0x2939();return _0x7eb6=function(_0x7eb6ec,_0x1f82ac){_0x7eb6ec=_0x7eb6ec-0x15a;let _0x1ac45f=_0x29394d[_0x7eb6ec];return _0x1ac45f;},_0x7eb6(_0x31436a,_0x3db8f3);}function _0x2939(){const _0x45b02f=['session','5171593boFMAV','getCollectionService','576409KTadoA','250dEpJMF','getCollectionItemList','449817nQzMkW','6WaquQm','createNewCollectionItem','101167uOkBSF','now','createCollection','4067885AjgkPQ','16vFkWTs','toString','getAllCollection','1014584BZLvBR','8BlMKhh','228996atcIhL'];_0x2939=function(){return _0x45b02f;};return _0x2939();}
|
File diff suppressed because one or more lines are too long
3
src/core.lib/src/apis/friend.d.ts
vendored
3
src/core.lib/src/apis/friend.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
import { User } from '@/core/entities';
|
||||
import { BuddyCategoryType, User } from '@/core/entities';
|
||||
export declare class NTQQFriendApi {
|
||||
static isBuddy(uid: string): Promise<boolean>;
|
||||
static getFriends(forced?: boolean): Promise<User[]>;
|
||||
static getFriendsRaw(forced?: boolean): Promise<BuddyCategoryType[]>;
|
||||
static handleFriendRequest(flag: string, accept: boolean): Promise<void>;
|
||||
}
|
||||
|
@@ -1 +1 @@
|
||||
function _0x572e(){const _0x148979=['1156458bEJCcO','zhkSh','isBuddy','4883408mjKJUx','NodeIKernelBuddyListener/onBuddyListChange','4923304MUIyrf','push','getBuddyService','CallNormalEvent','session','NodeIKernelBuddyService/getBuddyList','2128800couLCr','10xtggtF','getFriends','3019086EwvboM','3531879AMsxZr','siGMJ','split','length','1CiZNwY','LkFJX','3QCxwZb','2281635HvFgDb'];_0x572e=function(){return _0x148979;};return _0x572e();}const _0x52bfd4=_0x7c45;function _0x7c45(_0x56d024,_0x107e94){const _0x572ed3=_0x572e();return _0x7c45=function(_0x7c4507,_0xf08bc4){_0x7c4507=_0x7c4507-0x179;let _0x4657f2=_0x572ed3[_0x7c4507];return _0x4657f2;},_0x7c45(_0x56d024,_0x107e94);}(function(_0x33f803,_0x59681e){const _0x2c8e3a=_0x7c45,_0x4c1f51=_0x33f803();while(!![]){try{const _0x9751db=-parseInt(_0x2c8e3a(0x186))/0x1*(parseInt(_0x2c8e3a(0x18a))/0x2)+parseInt(_0x2c8e3a(0x188))/0x3*(parseInt(_0x2c8e3a(0x18f))/0x4)+parseInt(_0x2c8e3a(0x189))/0x5+parseInt(_0x2c8e3a(0x17e))/0x6+parseInt(_0x2c8e3a(0x181))/0x7+-parseInt(_0x2c8e3a(0x18d))/0x8+parseInt(_0x2c8e3a(0x182))/0x9*(-parseInt(_0x2c8e3a(0x17f))/0xa);if(_0x9751db===_0x59681e)break;else _0x4c1f51['push'](_0x4c1f51['shift']());}catch(_0x53ed90){_0x4c1f51['push'](_0x4c1f51['shift']());}}}(_0x572e,0xd9d05));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x52bfd4(0x18c)](_0x567d71){const _0xffd032=_0x52bfd4;return napCatCore[_0xffd032(0x17c)]['getBuddyService']()[_0xffd032(0x18c)](_0x567d71);}static async[_0x52bfd4(0x180)](_0x447f3a=![]){const _0x2dfee7=_0x52bfd4,_0x278a6e={'LkFJX':_0x2dfee7(0x17d),'zhkSh':_0x2dfee7(0x18e)};let [_0x583242,_0x58cd69]=await NTEventDispatch[_0x2dfee7(0x17b)](_0x278a6e[_0x2dfee7(0x187)],_0x278a6e[_0x2dfee7(0x18b)],0x1,0x1388,_0x447f3a);const _0x2fc3f0=[];for(const _0x1fbe49 of _0x58cd69){for(const _0x27baef of _0x1fbe49['buddyList']){_0x2fc3f0[_0x2dfee7(0x179)](_0x27baef);}}return _0x2fc3f0;}static async['handleFriendRequest'](_0x538183,_0x52f244){const _0x125cc8=_0x52bfd4,_0x51590b={'siGMJ':function(_0x100047,_0x97eb59){return _0x100047<_0x97eb59;}};let _0x4d8606=_0x538183[_0x125cc8(0x184)]('|');if(_0x51590b[_0x125cc8(0x183)](_0x4d8606[_0x125cc8(0x185)],0x2))return;let _0x49e576=_0x4d8606[0x0],_0x1b4e84=_0x4d8606[0x1];napCatCore[_0x125cc8(0x17c)][_0x125cc8(0x17a)]()?.['approvalFriendRequest']({'friendUid':_0x49e576,'reqTime':_0x1b4e84,'accept':_0x52f244});}}
|
||||
const _0x359c1d=_0x2ce0;(function(_0x179d88,_0x4e098e){const _0x203a9b=_0x2ce0,_0x2659bf=_0x179d88();while(!![]){try{const _0x1c34a1=parseInt(_0x203a9b(0x163))/0x1+-parseInt(_0x203a9b(0x15a))/0x2+parseInt(_0x203a9b(0x15d))/0x3+parseInt(_0x203a9b(0x15e))/0x4+-parseInt(_0x203a9b(0x155))/0x5+parseInt(_0x203a9b(0x15b))/0x6*(parseInt(_0x203a9b(0x158))/0x7)+parseInt(_0x203a9b(0x152))/0x8*(-parseInt(_0x203a9b(0x165))/0x9);if(_0x1c34a1===_0x4e098e)break;else _0x2659bf['push'](_0x2659bf['shift']());}catch(_0x5aa158){_0x2659bf['push'](_0x2659bf['shift']());}}}(_0x1680,0x1fd21));function _0x2ce0(_0xe61570,_0x57b6c4){const _0x168002=_0x1680();return _0x2ce0=function(_0x2ce0d2,_0xf34ea4){_0x2ce0d2=_0x2ce0d2-0x14e;let _0xc995a1=_0x168002[_0x2ce0d2];return _0xc995a1;},_0x2ce0(_0xe61570,_0x57b6c4);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1680(){const _0x14d3ec=['FnWMW','494068QHoHHO','6SjRBCo','NodeIKernelBuddyListener/onBuddyListChange','755598jkWdlO','91516YdYpLS','session','NVVsQ','getFriends','approvalFriendRequest','231047MualYQ','handleFriendRequest','27tlkXId','isBuddy','NodeIKernelBuddyService/getBuddyList','split','getBuddyService','560088mpYXYw','push','cVhsM','871865oiMkEH','length','QEXcv','1791895GKaSdB'];_0x1680=function(){return _0x14d3ec;};return _0x1680();}export class NTQQFriendApi{static async[_0x359c1d(0x14e)](_0x27e7c9){const _0x3c2d25=_0x359c1d;return napCatCore[_0x3c2d25(0x15f)][_0x3c2d25(0x151)]()['isBuddy'](_0x27e7c9);}static async[_0x359c1d(0x161)](_0x229e39=![]){const _0x15772d=_0x359c1d,_0x1d1e60={'NVVsQ':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x7d0350,_0x1cbb23]=await NTEventDispatch['CallNormalEvent'](_0x15772d(0x14f),_0x1d1e60[_0x15772d(0x160)],0x1,0x1388,_0x229e39);const _0x58ecac=[];for(const _0x3f8407 of _0x1cbb23){for(const _0x7b596b of _0x3f8407['buddyList']){_0x58ecac[_0x15772d(0x153)](_0x7b596b);}}return _0x58ecac;}static async['getFriendsRaw'](_0x5f53b2=![]){const _0x429157=_0x359c1d,_0x584e08={'QEXcv':_0x429157(0x14f),'FnWMW':_0x429157(0x15c)};let [_0x4aa72e,_0x17d4fd]=await NTEventDispatch['CallNormalEvent'](_0x584e08[_0x429157(0x157)],_0x584e08[_0x429157(0x159)],0x1,0x1388,_0x5f53b2);return _0x17d4fd;}static async[_0x359c1d(0x164)](_0x1df72a,_0x358cbd){const _0x2e1a53=_0x359c1d,_0x671392={'cVhsM':function(_0xcaefd0,_0x2db9e2){return _0xcaefd0<_0x2db9e2;}};let _0xb0bfeb=_0x1df72a[_0x2e1a53(0x150)]('|');if(_0x671392[_0x2e1a53(0x154)](_0xb0bfeb[_0x2e1a53(0x156)],0x2))return;let _0x1e5422=_0xb0bfeb[0x0],_0x69e4ae=_0xb0bfeb[0x1];napCatCore[_0x2e1a53(0x15f)]['getBuddyService']()?.[_0x2e1a53(0x162)]({'friendUid':_0x1e5422,'reqTime':_0x69e4ae,'accept':_0x358cbd});}}
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(function(_0x15ce39,_0x13199b){var _0x4c22b3=_0xadf5,_0x2951c6=_0x15ce39();while(!![]){try{var _0x273778=parseInt(_0x4c22b3(0x15d))/0x1*(-parseInt(_0x4c22b3(0x160))/0x2)+-parseInt(_0x4c22b3(0x15f))/0x3+-parseInt(_0x4c22b3(0x162))/0x4+-parseInt(_0x4c22b3(0x15a))/0x5*(-parseInt(_0x4c22b3(0x15b))/0x6)+parseInt(_0x4c22b3(0x159))/0x7+parseInt(_0x4c22b3(0x15c))/0x8*(parseInt(_0x4c22b3(0x161))/0x9)+parseInt(_0x4c22b3(0x158))/0xa*(-parseInt(_0x4c22b3(0x15e))/0xb);if(_0x273778===_0x13199b)break;else _0x2951c6['push'](_0x2951c6['shift']());}catch(_0x4a9e88){_0x2951c6['push'](_0x2951c6['shift']());}}}(_0x6b56,0x1d080));export*from'./file';export*from'./friend';function _0xadf5(_0xe85888,_0x18b3b9){var _0x6b56db=_0x6b56();return _0xadf5=function(_0xadf584,_0x15ac02){_0xadf584=_0xadf584-0x158;var _0xbb2ac2=_0x6b56db[_0xadf584];return _0xbb2ac2;},_0xadf5(_0xe85888,_0x18b3b9);}function _0x6b56(){var _0x4e2e8e=['3930fQOinP','407064cMrPYp','15fUHMJF','355902nohPBG','32oIFdwa','9457vpjIhu','99gBukQY','556590KGOdrS','2bzftJU','498429htphvM','560764TpbQoN'];_0x6b56=function(){return _0x4e2e8e;};return _0x6b56();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
|
||||
(function(_0x31fa30,_0x4dc339){var _0xd13ae6=_0x1cd2,_0x83225f=_0x31fa30();while(!![]){try{var _0x22a79f=-parseInt(_0xd13ae6(0xc7))/0x1+parseInt(_0xd13ae6(0xc5))/0x2+-parseInt(_0xd13ae6(0xc9))/0x3+-parseInt(_0xd13ae6(0xca))/0x4*(parseInt(_0xd13ae6(0xc8))/0x5)+-parseInt(_0xd13ae6(0xcc))/0x6+parseInt(_0xd13ae6(0xcb))/0x7*(-parseInt(_0xd13ae6(0xc4))/0x8)+parseInt(_0xd13ae6(0xc6))/0x9;if(_0x22a79f===_0x4dc339)break;else _0x83225f['push'](_0x83225f['shift']());}catch(_0x5ef940){_0x83225f['push'](_0x83225f['shift']());}}}(_0x54ec,0x4a67b));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';function _0x54ec(){var _0x44e0f7=['53887ZDJIrx','25MsMJFo','1460136GEJVZd','302756gCkVDF','196NOsvqE','1467768CGZUWF','49880QgRcPu','981290DZNCfB','10371330zVPJGi'];_0x54ec=function(){return _0x44e0f7;};return _0x54ec();}function _0x1cd2(_0x1948ba,_0x1beade){var _0x54ec02=_0x54ec();return _0x1cd2=function(_0x1cd2f6,_0x2876d3){_0x1cd2f6=_0x1cd2f6-0xc4;var _0x2b12dd=_0x54ec02[_0x1cd2f6];return _0x2b12dd;},_0x1cd2(_0x1948ba,_0x1beade);}export*from'./sign';export*from'./system';
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
const _0xd859fc=_0x27c0;(function(_0x19ec60,_0x1340d9){const _0x53807a=_0x27c0,_0x589f6a=_0x19ec60();while(!![]){try{const _0x450fe3=parseInt(_0x53807a(0x1d3))/0x1+-parseInt(_0x53807a(0x1dc))/0x2*(parseInt(_0x53807a(0x1d5))/0x3)+parseInt(_0x53807a(0x1d1))/0x4*(-parseInt(_0x53807a(0x1ce))/0x5)+parseInt(_0x53807a(0x1e0))/0x6+-parseInt(_0x53807a(0x1df))/0x7*(-parseInt(_0x53807a(0x1d2))/0x8)+parseInt(_0x53807a(0x1d0))/0x9+-parseInt(_0x53807a(0x1e2))/0xa;if(_0x450fe3===_0x1340d9)break;else _0x589f6a['push'](_0x589f6a['shift']());}catch(_0x5d2186){_0x589f6a['push'](_0x589f6a['shift']());}}}(_0x1cd5,0x8e049));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x27c0(_0xdb50cc,_0x3c6ddd){const _0x1cd504=_0x1cd5();return _0x27c0=function(_0x27c07a,_0x338a39){_0x27c07a=_0x27c07a-0x1c9;let _0x1d8fdd=_0x1cd504[_0x27c07a];return _0x1d8fdd;},_0x27c0(_0xdb50cc,_0x3c6ddd);}function _0x1cd5(){const _0x44d371=['getNodeMiscService','util','80521wpTPdK','5307684DwKiXT','getRichMediaService','15344410wBAEVs','getOnLineDev','aaWSB','NodeIKernelCollectionService/collectionArkShare','wantWinScreenOCR','hasOtherRunningQQProcess','235qqyPQJ','session','5299326IZjbvb','31412fPwsGq','704fgVNNV','386427cRltiW','2.16.4','580323gWozXc','CallNoListenerEvent','startNewMiniApp','setMiniAppVersion','getOnlineDev','BootMiniApp','translateEnWordToZn','4DxeBNp'];_0x1cd5=function(){return _0x44d371;};return _0x1cd5();}export class NTQQSystemApi{static async[_0xd859fc(0x1cd)](){const _0x28feba=_0xd859fc;return napCatCore[_0x28feba(0x1de)][_0x28feba(0x1cd)]();}static async['ORCImage'](_0x10fcc3){const _0x5bd5e6=_0xd859fc;return napCatCore['session'][_0x5bd5e6(0x1dd)]()[_0x5bd5e6(0x1cc)](_0x10fcc3);}static async[_0xd859fc(0x1db)](_0x8c6ade){const _0x176f7b=_0xd859fc;return napCatCore['session'][_0x176f7b(0x1e1)]()['translateEnWordToZn'](_0x8c6ade);}static async[_0xd859fc(0x1d9)](){const _0x33a331=_0xd859fc;return napCatCore[_0x33a331(0x1cf)]['getMsgService']()[_0x33a331(0x1c9)]();}static async['getArkJsonCollection'](_0x1683d5){const _0x168187=_0xd859fc,_0x22487d={'aaWSB':_0x168187(0x1cb),'ToPFw':'1717662698058'};let _0x31b204=await NTEventDispatch[_0x168187(0x1d6)](_0x22487d[_0x168187(0x1ca)],0x1388,_0x22487d['ToPFw']);return _0x31b204;}static async[_0xd859fc(0x1da)](_0x50e076,_0xe84000){const _0x1f5c3d=_0xd859fc;await napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d8)](_0x1f5c3d(0x1d4));let _0x2133c5=await napCatCore[_0x1f5c3d(0x1cf)][_0x1f5c3d(0x1dd)]()['getMiniAppPath']();return console['log'](_0x2133c5),napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d7)](_0x50e076,_0xe84000);}}
|
||||
const _0x3de4d1=_0x2e6f;function _0x4ece(){const _0x1099ac=['4021820Zwofnx','hasOtherRunningQQProcess','474tgXvij','getOnLineDev','BootMiniApp','16890120PtxuND','startNewMiniApp','4ggiZpi','session','1967709gDffCK','NodeIKernelCollectionService/collectionArkShare','7010024JKdBbE','getNodeMiscService','939570GtiRJs','FUSlq','5013666osYlWz','CallNoListenerEvent','wantWinScreenOCR','JifDj','sPsBP','getRichMediaService','2191AIZCDC','getMiniAppPath','log','getOnlineDev','setMiniAppVersion','util','2.16.4','translateEnWordToZn'];_0x4ece=function(){return _0x1099ac;};return _0x4ece();}function _0x2e6f(_0x33eacd,_0x93bb05){const _0x4ece19=_0x4ece();return _0x2e6f=function(_0x2e6f0d,_0x328137){_0x2e6f0d=_0x2e6f0d-0x172;let _0x405801=_0x4ece19[_0x2e6f0d];return _0x405801;},_0x2e6f(_0x33eacd,_0x93bb05);}(function(_0x14421c,_0x6e6316){const _0xcdad56=_0x2e6f,_0x41ab50=_0x14421c();while(!![]){try{const _0x412256=-parseInt(_0xcdad56(0x179))/0x1*(parseInt(_0xcdad56(0x183))/0x2)+parseInt(_0xcdad56(0x18a))/0x3+parseInt(_0xcdad56(0x188))/0x4*(parseInt(_0xcdad56(0x181))/0x5)+-parseInt(_0xcdad56(0x18e))/0x6+parseInt(_0xcdad56(0x173))/0x7+parseInt(_0xcdad56(0x18c))/0x8+-parseInt(_0xcdad56(0x186))/0x9;if(_0x412256===_0x6e6316)break;else _0x41ab50['push'](_0x41ab50['shift']());}catch(_0x1dc32e){_0x41ab50['push'](_0x41ab50['shift']());}}}(_0x4ece,0x7a1f8));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x386c01=_0x2e6f;return napCatCore[_0x386c01(0x17e)][_0x386c01(0x182)]();}static async['ORCImage'](_0x19edb7){const _0x1041e3=_0x2e6f;return napCatCore[_0x1041e3(0x189)][_0x1041e3(0x18d)]()[_0x1041e3(0x175)](_0x19edb7);}static async[_0x3de4d1(0x180)](_0x2af078){const _0x4cbd33=_0x3de4d1;return napCatCore[_0x4cbd33(0x189)][_0x4cbd33(0x178)]()['translateEnWordToZn'](_0x2af078);}static async[_0x3de4d1(0x17c)](){const _0x43e628=_0x3de4d1;return napCatCore[_0x43e628(0x189)]['getMsgService']()[_0x43e628(0x184)]();}static async['getArkJsonCollection'](_0x409fef){const _0x34dbd3=_0x3de4d1,_0x20d647={'FUSlq':_0x34dbd3(0x18b),'sPsBP':'1717662698058'};let _0x59d26d=await NTEventDispatch[_0x34dbd3(0x174)](_0x20d647[_0x34dbd3(0x172)],0x1388,_0x20d647[_0x34dbd3(0x177)]);return _0x59d26d;}static async[_0x3de4d1(0x185)](_0x404ffe,_0xcba4ff){const _0x11c489=_0x3de4d1,_0x2c0df6={'JifDj':_0x11c489(0x17f)};await napCatCore[_0x11c489(0x189)][_0x11c489(0x18d)]()[_0x11c489(0x17d)](_0x2c0df6[_0x11c489(0x176)]);let _0x260e2d=await napCatCore[_0x11c489(0x189)][_0x11c489(0x18d)]()[_0x11c489(0x17a)]();return console[_0x11c489(0x17b)](_0x260e2d),napCatCore[_0x11c489(0x189)][_0x11c489(0x18d)]()[_0x11c489(0x187)](_0x404ffe,_0xcba4ff);}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
7
src/core.lib/src/data.d.ts
vendored
7
src/core.lib/src/data.d.ts
vendored
@@ -1,12 +1,7 @@
|
||||
import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities';
|
||||
import { type GroupMember, GroupNotify, type SelfInfo } from './entities';
|
||||
export declare const selfInfo: SelfInfo;
|
||||
export declare const groups: Map<string, Group>;
|
||||
export declare function deleteGroup(groupQQ: string): void;
|
||||
export declare const groupMembers: Map<string, Map<string, GroupMember>>;
|
||||
export declare const friends: Map<string, Friend>;
|
||||
export declare const rawFriends: Array<BuddyCategoryType>;
|
||||
export declare const groupNotifies: Record<string, GroupNotify>;
|
||||
export declare function getGroup(qq: string | number): Promise<Group | undefined>;
|
||||
export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise<GroupMember | null | undefined>;
|
||||
export declare const tempGroupCodeMap: Record<string, string>;
|
||||
export declare const stat: {
|
||||
|
@@ -1 +1 @@
|
||||
(function(_0x2ae82b,_0x5521a2){const _0x107c37=_0x8034,_0x583285=_0x2ae82b();while(!![]){try{const _0x441003=-parseInt(_0x107c37(0x193))/0x1*(-parseInt(_0x107c37(0x195))/0x2)+-parseInt(_0x107c37(0x18c))/0x3+-parseInt(_0x107c37(0x18f))/0x4+parseInt(_0x107c37(0x190))/0x5*(parseInt(_0x107c37(0x18e))/0x6)+parseInt(_0x107c37(0x1a2))/0x7+parseInt(_0x107c37(0x199))/0x8+parseInt(_0x107c37(0x1a1))/0x9*(-parseInt(_0x107c37(0x194))/0xa);if(_0x441003===_0x5521a2)break;else _0x583285['push'](_0x583285['shift']());}catch(_0x16a888){_0x583285['push'](_0x583285['shift']());}}}(_0x5f43,0x6b13e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x5f43(){const _0x57ef38=['get','YJEXc','toString','set','81MnQDvY','1836569ZqKSOM','756921UNdvFm','uin','58860YSbBqy','1859392EGleDH','270MAuyLq','pAbUj','values','360947KMQzes','395400ZgYaIP','2ifZRGe','getGroupMembers','from','getGroups','2868408yqQbTT','delete','groupCode','forEach'];_0x5f43=function(){return _0x57ef38;};return _0x5f43();}function _0x8034(_0x56584a,_0x3d3593){const _0x5f43e8=_0x5f43();return _0x8034=function(_0x8034f4,_0x4b0b7e){_0x8034f4=_0x8034f4-0x18c;let _0x49dcd4=_0x5f43e8[_0x8034f4];return _0x49dcd4;},_0x8034(_0x56584a,_0x3d3593);}export const groups=new Map();export function deleteGroup(_0x192627){const _0x6a813d=_0x8034;groups[_0x6a813d(0x19a)](_0x192627),groupMembers['delete'](_0x192627);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4f6104){const _0x5e163b=_0x8034;let _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104['toString']());if(!_0x12e5a5)try{const _0x4748f1=await NTQQGroupApi[_0x5e163b(0x198)]();_0x4748f1['length']&&_0x4748f1[_0x5e163b(0x19c)](_0x426239=>{const _0x3345e8=_0x5e163b;groups[_0x3345e8(0x1a0)](_0x426239[_0x3345e8(0x19b)],_0x426239);});}catch(_0x250269){return undefined;}return _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104[_0x5e163b(0x19f)]()),_0x12e5a5;}export async function getGroupMember(_0x4a2b82,_0x531ed4){const _0x2e3cb3=_0x8034,_0x50e18c={'WFUIc':function(_0x31bbd2,_0x3f9435){return _0x31bbd2(_0x3f9435);},'YJEXc':function(_0x517da1){return _0x517da1();},'pAbUj':function(_0xa6df48){return _0xa6df48();}};_0x4a2b82=_0x4a2b82[_0x2e3cb3(0x19f)](),_0x531ed4=_0x531ed4[_0x2e3cb3(0x19f)]();let _0x5d565b=groupMembers[_0x2e3cb3(0x19d)](_0x4a2b82);if(!_0x5d565b)try{_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),groupMembers[_0x2e3cb3(0x1a0)](_0x4a2b82,_0x5d565b);}catch(_0x46da0b){return null;}const _0x265a9d=()=>{const _0x58c04d=_0x2e3cb3;let _0x5d2e2a=undefined;return _0x50e18c['WFUIc'](isNumeric,_0x531ed4)?_0x5d2e2a=Array[_0x58c04d(0x197)](_0x5d565b[_0x58c04d(0x192)]())['find'](_0x5ba709=>_0x5ba709[_0x58c04d(0x18d)]===_0x531ed4):_0x5d2e2a=_0x5d565b['get'](_0x531ed4),_0x5d2e2a;};let _0x44ca6b=_0x50e18c[_0x2e3cb3(0x19e)](_0x265a9d);return!_0x44ca6b&&(_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),_0x44ca6b=_0x50e18c[_0x2e3cb3(0x191)](_0x265a9d)),_0x44ca6b;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
||||
(function(_0x2ce4f4,_0x1379fe){const _0x4960b0=_0x116f,_0x4d19ab=_0x2ce4f4();while(!![]){try{const _0x453c60=parseInt(_0x4960b0(0xb3))/0x1+parseInt(_0x4960b0(0xbb))/0x2*(-parseInt(_0x4960b0(0xbc))/0x3)+parseInt(_0x4960b0(0xb7))/0x4*(parseInt(_0x4960b0(0xc0))/0x5)+-parseInt(_0x4960b0(0xb0))/0x6*(-parseInt(_0x4960b0(0xbe))/0x7)+parseInt(_0x4960b0(0xb2))/0x8*(parseInt(_0x4960b0(0xba))/0x9)+parseInt(_0x4960b0(0xb6))/0xa+parseInt(_0x4960b0(0xb9))/0xb*(-parseInt(_0x4960b0(0xc1))/0xc);if(_0x453c60===_0x1379fe)break;else _0x4d19ab['push'](_0x4d19ab['shift']());}catch(_0x5073cd){_0x4d19ab['push'](_0x4d19ab['shift']());}}}(_0x4e0c,0x493dd));function _0x116f(_0x3f6bef,_0x5b9aff){const _0x4e0c23=_0x4e0c();return _0x116f=function(_0x116f23,_0x21a912){_0x116f23=_0x116f23-0xaf;let _0xbb9d1f=_0x4e0c23[_0x116f23];return _0xbb9d1f;},_0x116f(_0x3f6bef,_0x5b9aff);}function _0x4e0c(){const _0x1a83b7=['341944VJeLcQ','25132OAewvs','get','find','787840pouKim','72KcOGkx','MQOjO','32494mvMnjh','9UZxEmI','190132QzOjZY','12FJwZNF','NyqSJ','41671iDtgJx','uin','143370hUmvtR','1380HhybVt','toString','getGroupMembers','360jNLVAF','pUqBb'];_0x4e0c=function(){return _0x1a83b7;};return _0x4e0c();}import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groupMembers=new Map();export const groupNotifies={};export async function getGroupMember(_0x2a1928,_0x3c2bdc){const _0x432ab2=_0x116f,_0x1d5b7a={'MQOjO':function(_0xae238e,_0x13c0a5){return _0xae238e(_0x13c0a5);},'pUqBb':function(_0x18ab3f){return _0x18ab3f();},'NyqSJ':function(_0x48a597){return _0x48a597();}};_0x2a1928=_0x2a1928[_0x432ab2(0xc2)](),_0x3c2bdc=_0x3c2bdc[_0x432ab2(0xc2)]();let _0x20391c=groupMembers[_0x432ab2(0xb4)](_0x2a1928);if(!_0x20391c)try{_0x20391c=await NTQQGroupApi[_0x432ab2(0xaf)](_0x2a1928),groupMembers['set'](_0x2a1928,_0x20391c);}catch(_0x3b1b83){return null;}const _0x3f4f31=()=>{const _0x1f37b6=_0x432ab2;let _0x42b5c3=undefined;return _0x1d5b7a[_0x1f37b6(0xb8)](isNumeric,_0x3c2bdc)?_0x42b5c3=Array['from'](_0x20391c['values']())[_0x1f37b6(0xb5)](_0x55ed1d=>_0x55ed1d[_0x1f37b6(0xbf)]===_0x3c2bdc):_0x42b5c3=_0x20391c[_0x1f37b6(0xb4)](_0x3c2bdc),_0x42b5c3;};let _0x1bbece=_0x1d5b7a[_0x432ab2(0xb1)](_0x3f4f31);return!_0x1bbece&&(_0x20391c=await NTQQGroupApi[_0x432ab2(0xaf)](_0x2a1928),_0x1bbece=_0x1d5b7a[_0x432ab2(0xbd)](_0x3f4f31)),_0x1bbece;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
@@ -1 +1 @@
|
||||
(function(_0x82d6f1,_0x1dd832){var _0x578224=_0xb5e2,_0x5d6ee2=_0x82d6f1();while(!![]){try{var _0x5a4f51=-parseInt(_0x578224(0x8b))/0x1+parseInt(_0x578224(0x7a))/0x2*(-parseInt(_0x578224(0x82))/0x3)+-parseInt(_0x578224(0x85))/0x4+parseInt(_0x578224(0x84))/0x5+parseInt(_0x578224(0x83))/0x6*(-parseInt(_0x578224(0x8d))/0x7)+parseInt(_0x578224(0x89))/0x8*(-parseInt(_0x578224(0x8a))/0x9)+parseInt(_0x578224(0x7f))/0xa;if(_0x5a4f51===_0x1dd832)break;else _0x5d6ee2['push'](_0x5d6ee2['shift']());}catch(_0x29c7cd){_0x5d6ee2['push'](_0x5d6ee2['shift']());}}}(_0x417c,0x6d6e3));function _0xb5e2(_0xd26eab,_0x500603){var _0x417c9e=_0x417c();return _0xb5e2=function(_0xb5e207,_0x5d8616){_0xb5e207=_0xb5e207-0x7a;var _0x22ff59=_0x417c9e[_0xb5e207];return _0x22ff59;},_0xb5e2(_0xd26eab,_0x500603);}function _0x417c(){var _0x486dd0=['OTHER','14TrooVz','12BZLawf','VIDEO','HDWWn','UArdR','IUVtg','18480360VermPA','Azfyv','IMAGE','233463BjJIDs','2351802mVesbi','4145165JLnXil','699244MmGstQ','AUDIO','split','wVMeJ','8PuLgMm','2616192heGAjK','512483nlRulV'];_0x417c=function(){return _0x486dd0;};return _0x417c();};export var CacheFileType;(function(_0x836b1d){var _0x4f7cc8=_0xb5e2,_0x1dc981={'IUVtg':_0x4f7cc8(0x7b),'wVMeJ':'OTHER','Azfyv':'DOCUMENT','HDWWn':_0x4f7cc8(0x86),'UArdR':'IMAGE'},_0x2e4ac1='4|0|3|2|1'[_0x4f7cc8(0x87)]('|'),_0xf1ac3b=0x0;while(!![]){switch(_0x2e4ac1[_0xf1ac3b++]){case'0':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7e)]]=0x1]=_0x1dc981[_0x4f7cc8(0x7e)];continue;case'1':_0x836b1d[_0x836b1d[_0x4f7cc8(0x8c)]=0x4]=_0x1dc981[_0x4f7cc8(0x88)];continue;case'2':_0x836b1d[_0x836b1d[_0x1dc981['Azfyv']]=0x3]=_0x1dc981[_0x4f7cc8(0x80)];continue;case'3':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7c)]]=0x2]=_0x1dc981[_0x4f7cc8(0x7c)];continue;case'4':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7d)]]=0x0]=_0x4f7cc8(0x81);continue;}break;}}(CacheFileType||(CacheFileType={})));
|
||||
function _0x1b7d(_0x42c842,_0x423739){var _0x24d073=_0x24d0();return _0x1b7d=function(_0x1b7d55,_0x3d45eb){_0x1b7d55=_0x1b7d55-0x1ae;var _0x6c111d=_0x24d073[_0x1b7d55];return _0x6c111d;},_0x1b7d(_0x42c842,_0x423739);}(function(_0x1abcb9,_0x56cd8b){var _0x2e5d0d=_0x1b7d,_0x13c89e=_0x1abcb9();while(!![]){try{var _0x1662e8=parseInt(_0x2e5d0d(0x1c1))/0x1*(-parseInt(_0x2e5d0d(0x1bf))/0x2)+parseInt(_0x2e5d0d(0x1bd))/0x3*(parseInt(_0x2e5d0d(0x1b0))/0x4)+parseInt(_0x2e5d0d(0x1c2))/0x5+parseInt(_0x2e5d0d(0x1c3))/0x6*(parseInt(_0x2e5d0d(0x1b4))/0x7)+-parseInt(_0x2e5d0d(0x1c0))/0x8*(parseInt(_0x2e5d0d(0x1b5))/0x9)+parseInt(_0x2e5d0d(0x1bb))/0xa*(-parseInt(_0x2e5d0d(0x1be))/0xb)+-parseInt(_0x2e5d0d(0x1b9))/0xc*(-parseInt(_0x2e5d0d(0x1bc))/0xd);if(_0x1662e8===_0x56cd8b)break;else _0x13c89e['push'](_0x13c89e['shift']());}catch(_0x32a9b4){_0x13c89e['push'](_0x13c89e['shift']());}}}(_0x24d0,0xbba9c));function _0x24d0(){var _0x37b820=['split','4512810AEaOGC','3250vSyVeY','3UAfcno','22rZlNLg','4wjqSoS','1030888RFMbqP','74891YjMbnf','1031840hOuPZU','582WBqQeg','2|4|1|0|3','OTHER','1912668WFUnZJ','qvrzM','hNJei','IMAGE','34419OQWVDt','18wQYZtg','VIDEO','PWnpT','DOCUMENT','44028DLcUhw'];_0x24d0=function(){return _0x37b820;};return _0x24d0();};export var CacheFileType;(function(_0x1f8adf){var _0x56652f=_0x1b7d,_0x12990e={'hNJei':_0x56652f(0x1b8),'PWnpT':'AUDIO','UdtuQ':_0x56652f(0x1b3),'dreDF':'OTHER','qvrzM':_0x56652f(0x1b6)},_0x58dcd2=_0x56652f(0x1ae)[_0x56652f(0x1ba)]('|'),_0x272ac7=0x0;while(!![]){switch(_0x58dcd2[_0x272ac7++]){case'0':_0x1f8adf[_0x1f8adf[_0x12990e[_0x56652f(0x1b2)]]=0x3]=_0x12990e[_0x56652f(0x1b2)];continue;case'1':_0x1f8adf[_0x1f8adf[_0x12990e[_0x56652f(0x1b7)]]=0x2]=_0x12990e[_0x56652f(0x1b7)];continue;case'2':_0x1f8adf[_0x1f8adf[_0x12990e['UdtuQ']]=0x0]=_0x56652f(0x1b3);continue;case'3':_0x1f8adf[_0x1f8adf[_0x12990e['dreDF']]=0x4]=_0x56652f(0x1af);continue;case'4':_0x1f8adf[_0x1f8adf[_0x12990e[_0x56652f(0x1b1)]]=0x1]=_0x12990e[_0x56652f(0x1b1)];continue;}break;}}(CacheFileType||(CacheFileType={})));
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(function(_0x3dced5,_0x2c485b){var _0x281449=_0x490f,_0x1845dc=_0x3dced5();while(!![]){try{var _0x280f18=parseInt(_0x281449(0x1f9))/0x1+parseInt(_0x281449(0x1fc))/0x2*(-parseInt(_0x281449(0x1ef))/0x3)+parseInt(_0x281449(0x1f1))/0x4+parseInt(_0x281449(0x1f2))/0x5+parseInt(_0x281449(0x1f8))/0x6*(parseInt(_0x281449(0x1f7))/0x7)+-parseInt(_0x281449(0x1f0))/0x8*(parseInt(_0x281449(0x1fb))/0x9)+-parseInt(_0x281449(0x1f3))/0xa;if(_0x280f18===_0x2c485b)break;else _0x1845dc['push'](_0x1845dc['shift']());}catch(_0x2218a4){_0x1845dc['push'](_0x1845dc['shift']());}}}(_0x16e1,0xed685));function _0x16e1(){var _0x351aeb=['8834FZxmdg','5178fSiXKj','852105DqaKVI','ZxGYB','9xcRocm','8530brQQwl','582kRxwhY','2242008fVhKMy','655756IUMRdV','7581785RzWlWM','15414250dicBGg','owner','admin','MQuiD'];_0x16e1=function(){return _0x351aeb;};return _0x16e1();}function _0x490f(_0x2673cc,_0x41ddd2){var _0x16e1e0=_0x16e1();return _0x490f=function(_0x490f37,_0x3fe4d6){_0x490f37=_0x490f37-0x1ef;var _0xcce750=_0x16e1e0[_0x490f37];return _0xcce750;},_0x490f(_0x2673cc,_0x41ddd2);}export var GroupMemberRole;(function(_0x2b0afc){var _0x35d605=_0x490f,_0x25276f={'ZxGYB':'normal','MQuiD':_0x35d605(0x1f4)};_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1fa)]]=0x2]='normal',_0x2b0afc[_0x2b0afc['admin']=0x3]=_0x35d605(0x1f5),_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1f6)]]=0x4]=_0x35d605(0x1f4);}(GroupMemberRole||(GroupMemberRole={})));
|
||||
(function(_0x256298,_0x2e6d95){var _0x5d7b85=_0x2275,_0x3ab8cf=_0x256298();while(!![]){try{var _0x251be9=-parseInt(_0x5d7b85(0x12a))/0x1+-parseInt(_0x5d7b85(0x12e))/0x2*(parseInt(_0x5d7b85(0x12b))/0x3)+-parseInt(_0x5d7b85(0x126))/0x4*(-parseInt(_0x5d7b85(0x124))/0x5)+-parseInt(_0x5d7b85(0x127))/0x6+-parseInt(_0x5d7b85(0x131))/0x7+parseInt(_0x5d7b85(0x128))/0x8+-parseInt(_0x5d7b85(0x125))/0x9*(-parseInt(_0x5d7b85(0x12c))/0xa);if(_0x251be9===_0x2e6d95)break;else _0x3ab8cf['push'](_0x3ab8cf['shift']());}catch(_0x45480e){_0x3ab8cf['push'](_0x3ab8cf['shift']());}}}(_0x4579,0x79b0d));export var GroupMemberRole;function _0x2275(_0xab6b8a,_0x35339c){var _0x45794a=_0x4579();return _0x2275=function(_0x227514,_0x2c9bc2){_0x227514=_0x227514-0x123;var _0x19ad12=_0x45794a[_0x227514];return _0x19ad12;},_0x2275(_0xab6b8a,_0x35339c);}(function(_0x5de561){var _0x2e570b=_0x2275,_0x2332ec={'wAsuO':_0x2e570b(0x130),'oiJZE':_0x2e570b(0x129),'TVfJT':_0x2e570b(0x123)};_0x5de561[_0x5de561[_0x2e570b(0x130)]=0x2]=_0x2332ec[_0x2e570b(0x12d)],_0x5de561[_0x5de561[_0x2e570b(0x129)]=0x3]=_0x2332ec['oiJZE'],_0x5de561[_0x5de561[_0x2332ec[_0x2e570b(0x12f)]]=0x4]=_0x2332ec['TVfJT'];}(GroupMemberRole||(GroupMemberRole={})));function _0x4579(){var _0x58639c=['1041065tarjrE','5798781YFGHyx','8JXzsDe','2357118UJJWTC','1445624YQlInO','admin','452042UxEmRB','747rbQLOw','20TRkXPz','wAsuO','3302fKtSDI','TVfJT','normal','919156DxZYcH','owner'];_0x4579=function(){return _0x58639c;};return _0x4579();}
|
@@ -1 +1 @@
|
||||
function _0x5436(){var _0x7e1d96=['525aRNMDk','24774ADzSFE','1768vSmtSK','389939GpYsiX','134193FNvady','18092WAsbnc','6363pEYOTQ','3418800fZnBvW','35dOEdLr','99192ZpRgWp'];_0x5436=function(){return _0x7e1d96;};return _0x5436();}(function(_0x24b220,_0x3310bf){var _0xd69dd6=_0x3bbe,_0x47a565=_0x24b220();while(!![]){try{var _0x1e1718=-parseInt(_0xd69dd6(0x175))/0x1+parseInt(_0xd69dd6(0x171))/0x2+-parseInt(_0xd69dd6(0x176))/0x3+parseInt(_0xd69dd6(0x177))/0x4*(parseInt(_0xd69dd6(0x172))/0x5)+parseInt(_0xd69dd6(0x173))/0x6*(parseInt(_0xd69dd6(0x170))/0x7)+parseInt(_0xd69dd6(0x174))/0x8*(-parseInt(_0xd69dd6(0x178))/0x9)+parseInt(_0xd69dd6(0x16f))/0xa;if(_0x1e1718===_0x3310bf)break;else _0x47a565['push'](_0x47a565['shift']());}catch(_0x431aba){_0x47a565['push'](_0x47a565['shift']());}}}(_0x5436,0x484b7));export*from'./user';export*from'./group';function _0x3bbe(_0x568205,_0x2896c0){var _0x543655=_0x5436();return _0x3bbe=function(_0x3bbe58,_0x440211){_0x3bbe58=_0x3bbe58-0x16f;var _0x526ba1=_0x543655[_0x3bbe58];return _0x526ba1;},_0x3bbe(_0x568205,_0x2896c0);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
|
||||
function _0x270e(){var _0x2c19d1=['58382cUascg','1301157hawbxY','10432521FKngEB','13tJBKJI','419601ZMFfZb','6kskzdJ','187386egYPWN','48tgRBGh','8nyIqtE','572410paDubJ','1971005JEnPzr'];_0x270e=function(){return _0x2c19d1;};return _0x270e();}(function(_0x426a82,_0x2bbb4a){var _0xba9992=_0x26d8,_0x235655=_0x426a82();while(!![]){try{var _0xd97186=parseInt(_0xba9992(0x148))/0x1*(parseInt(_0xba9992(0x145))/0x2)+-parseInt(_0xba9992(0x14b))/0x3*(-parseInt(_0xba9992(0x142))/0x4)+-parseInt(_0xba9992(0x144))/0x5*(-parseInt(_0xba9992(0x14a))/0x6)+parseInt(_0xba9992(0x149))/0x7*(parseInt(_0xba9992(0x141))/0x8)+-parseInt(_0xba9992(0x146))/0x9+parseInt(_0xba9992(0x143))/0xa+-parseInt(_0xba9992(0x147))/0xb;if(_0xd97186===_0x2bbb4a)break;else _0x235655['push'](_0x235655['shift']());}catch(_0x236bd0){_0x235655['push'](_0x235655['shift']());}}}(_0x270e,0x3653b));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x26d8(_0x15fb49,_0x4cfa8f){var _0x270e58=_0x270e();return _0x26d8=function(_0x26d80a,_0xcfdf39){_0x26d80a=_0x26d80a-0x141;var _0x5d374a=_0x270e58[_0x26d80a];return _0x5d374a;},_0x26d8(_0x15fb49,_0x4cfa8f);}export*from'./cache';export*from'./constructor';
|
1
src/core.lib/src/entities/msg.d.ts
vendored
1
src/core.lib/src/entities/msg.d.ts
vendored
@@ -229,7 +229,6 @@ export interface ArkElement {
|
||||
export declare const IMAGE_HTTP_HOST = "https://gchat.qpic.cn";
|
||||
export declare const IMAGE_HTTP_HOST_NT = "https://multimedia.nt.qq.com.cn";
|
||||
export interface PicElement {
|
||||
picSubType?: number;
|
||||
originImageUrl: string;
|
||||
originImageMd5?: string;
|
||||
sourcePath: string;
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(function(_0x5650bf,_0xe51e96){var _0x5cd9ab=_0x2cdb,_0x480c63=_0x5650bf();while(!![]){try{var _0x3d0f03=-parseInt(_0x5cd9ab(0x14d))/0x1+parseInt(_0x5cd9ab(0x14f))/0x2*(-parseInt(_0x5cd9ab(0x154))/0x3)+parseInt(_0x5cd9ab(0x151))/0x4+parseInt(_0x5cd9ab(0x15b))/0x5+parseInt(_0x5cd9ab(0x159))/0x6*(parseInt(_0x5cd9ab(0x15a))/0x7)+parseInt(_0x5cd9ab(0x158))/0x8*(-parseInt(_0x5cd9ab(0x14b))/0x9)+-parseInt(_0x5cd9ab(0x155))/0xa;if(_0x3d0f03===_0xe51e96)break;else _0x480c63['push'](_0x480c63['shift']());}catch(_0x434ee3){_0x480c63['push'](_0x480c63['shift']());}}}(_0x4d56,0xed20a));export var Sex;function _0x2cdb(_0x3d5b1c,_0x1fbd7c){var _0x4d5635=_0x4d56();return _0x2cdb=function(_0x2cdb84,_0x2fde94){_0x2cdb84=_0x2cdb84-0x14b;var _0x327e8e=_0x4d5635[_0x2cdb84];return _0x327e8e;},_0x2cdb(_0x3d5b1c,_0x1fbd7c);}function _0x4d56(){var _0x3b1b50=['9ywjKCE','female','6755SmnXtB','RaDUz','44134qWRnuW','bBzeI','6933932slYrkw','male','KPHOTOWALL','78JYBxIs','10854850MpxAVM','cSRtr','unknown','13097944VlTEkL','11886XHQVqz','2828svUqbe','8703460KgfOhI'];_0x4d56=function(){return _0x3b1b50;};return _0x4d56();}(function(_0x573086){var _0x4a64b5=_0x2cdb,_0x50bbe0={'BuehO':_0x4a64b5(0x14c),'bBzeI':_0x4a64b5(0x157)};_0x573086[_0x573086[_0x4a64b5(0x152)]=0x1]='male',_0x573086[_0x573086[_0x50bbe0['BuehO']]=0x2]=_0x50bbe0['BuehO'],_0x573086[_0x573086[_0x50bbe0[_0x4a64b5(0x150)]]=0xff]='unknown';}(Sex||(Sex={})));export var BizKey;(function(_0x25af09){var _0xbbd430=_0x2cdb,_0xcbd994={'cSRtr':'KPRIVILEGEICON','RaDUz':_0xbbd430(0x153)};_0x25af09[_0x25af09[_0xcbd994[_0xbbd430(0x156)]]=0x0]=_0xcbd994[_0xbbd430(0x156)],_0x25af09[_0x25af09[_0xcbd994['RaDUz']]=0x1]=_0xcbd994[_0xbbd430(0x14e)];}(BizKey||(BizKey={})));
|
||||
(function(_0x404d94,_0x3285b2){var _0x4e29e2=_0x1c53,_0x524d15=_0x404d94();while(!![]){try{var _0x1df94c=-parseInt(_0x4e29e2(0xdc))/0x1*(parseInt(_0x4e29e2(0xda))/0x2)+-parseInt(_0x4e29e2(0xd4))/0x3+-parseInt(_0x4e29e2(0xcb))/0x4*(-parseInt(_0x4e29e2(0xd5))/0x5)+-parseInt(_0x4e29e2(0xd7))/0x6+-parseInt(_0x4e29e2(0xcc))/0x7*(parseInt(_0x4e29e2(0xca))/0x8)+-parseInt(_0x4e29e2(0xd3))/0x9+-parseInt(_0x4e29e2(0xd1))/0xa*(-parseInt(_0x4e29e2(0xd2))/0xb);if(_0x1df94c===_0x3285b2)break;else _0x524d15['push'](_0x524d15['shift']());}catch(_0x36e69b){_0x524d15['push'](_0x524d15['shift']());}}}(_0x2d57,0x7dbc2));export var Sex;(function(_0x426e5a){var _0x51009e=_0x1c53,_0x3e21ff={'LCmDL':_0x51009e(0xd9),'feGDz':_0x51009e(0xce)};_0x426e5a[_0x426e5a[_0x3e21ff[_0x51009e(0xd8)]]=0x1]=_0x3e21ff[_0x51009e(0xd8)],_0x426e5a[_0x426e5a[_0x3e21ff[_0x51009e(0xd6)]]=0x2]=_0x3e21ff[_0x51009e(0xd6)],_0x426e5a[_0x426e5a['unknown']=0xff]=_0x51009e(0xcd);}(Sex||(Sex={})));export var BizKey;function _0x2d57(){var _0x3e59af=['76785tocBrZ','8Bdcosu','45488GZqIzm','6827583NtwBfN','unknown','female','KPHOTOWALL','wBvVL','18978710jZbpyA','22xqbpfH','2012166nHSaVf','1329741WqMXxx','125tScxLU','feGDz','5547822hQXRSS','LCmDL','male','26guEwGI','KPRIVILEGEICON'];_0x2d57=function(){return _0x3e59af;};return _0x2d57();}function _0x1c53(_0x5bb7d3,_0x464179){var _0x2d5762=_0x2d57();return _0x1c53=function(_0x1c530e,_0x3099d7){_0x1c530e=_0x1c530e-0xca;var _0x19f5f8=_0x2d5762[_0x1c530e];return _0x19f5f8;},_0x1c53(_0x5bb7d3,_0x464179);}(function(_0x21e8ab){var _0x3cff1e=_0x1c53,_0x2c723f={'vAFSz':_0x3cff1e(0xdb),'wBvVL':_0x3cff1e(0xcf)};_0x21e8ab[_0x21e8ab[_0x2c723f['vAFSz']]=0x0]=_0x3cff1e(0xdb),_0x21e8ab[_0x21e8ab[_0x2c723f[_0x3cff1e(0xd0)]]=0x1]=_0x2c723f[_0x3cff1e(0xd0)];}(BizKey||(BizKey={})));
|
@@ -1 +1 @@
|
||||
(function(_0x5a611f,_0x3308b1){var _0x31267f=_0x3daa,_0x2a0ebf=_0x5a611f();while(!![]){try{var _0x4c8c78=-parseInt(_0x31267f(0x182))/0x1*(-parseInt(_0x31267f(0x17f))/0x2)+-parseInt(_0x31267f(0x186))/0x3*(-parseInt(_0x31267f(0x17e))/0x4)+-parseInt(_0x31267f(0x188))/0x5*(parseInt(_0x31267f(0x187))/0x6)+-parseInt(_0x31267f(0x180))/0x7+parseInt(_0x31267f(0x183))/0x8+parseInt(_0x31267f(0x181))/0x9*(-parseInt(_0x31267f(0x189))/0xa)+-parseInt(_0x31267f(0x185))/0xb*(-parseInt(_0x31267f(0x184))/0xc);if(_0x4c8c78===_0x3308b1)break;else _0x2a0ebf['push'](_0x2a0ebf['shift']());}catch(_0x5cb6b8){_0x2a0ebf['push'](_0x2a0ebf['shift']());}}}(_0x44d9,0xc66d6));import _0x21ae4a from'./wrapper';export*from'./adapters';function _0x3daa(_0x4c5ad3,_0x1c5bf5){var _0x44d917=_0x44d9();return _0x3daa=function(_0x3daaab,_0x43bb68){_0x3daaab=_0x3daaab-0x17e;var _0x3abd90=_0x44d917[_0x3daaab];return _0x3abd90;},_0x3daa(_0x4c5ad3,_0x1c5bf5);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x44d9(){var _0x6bcbcc=['215qKWFmZ','9280znJdEW','159684aKOSlB','4mhrhJq','11122125dhrXkz','5409KDpclF','95219dOgrzz','2176728ugeRXJ','118452QZoXkP','3223emvWXb','48IaQoAP','144294OmMqDZ'];_0x44d9=function(){return _0x6bcbcc;};return _0x44d9();}export*as Services from'./services';export{_0x21ae4a as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
||||
function _0x3c95(_0x3542e0,_0x65e975){var _0x2b434c=_0x2b43();return _0x3c95=function(_0x3c9584,_0x100255){_0x3c9584=_0x3c9584-0x17d;var _0x201f1a=_0x2b434c[_0x3c9584];return _0x201f1a;},_0x3c95(_0x3542e0,_0x65e975);}(function(_0x53aa4a,_0x2f3368){var _0x47bd96=_0x3c95,_0x3b55ef=_0x53aa4a();while(!![]){try{var _0x54ae81=parseInt(_0x47bd96(0x184))/0x1+-parseInt(_0x47bd96(0x182))/0x2+parseInt(_0x47bd96(0x180))/0x3*(parseInt(_0x47bd96(0x17e))/0x4)+parseInt(_0x47bd96(0x181))/0x5*(parseInt(_0x47bd96(0x183))/0x6)+parseInt(_0x47bd96(0x17f))/0x7+-parseInt(_0x47bd96(0x17d))/0x8+-parseInt(_0x47bd96(0x185))/0x9;if(_0x54ae81===_0x2f3368)break;else _0x3b55ef['push'](_0x3b55ef['shift']());}catch(_0x5c1a71){_0x3b55ef['push'](_0x3b55ef['shift']());}}}(_0x2b43,0xde95c));import _0x27ff6b from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x27ff6b as Wrapper};function _0x2b43(){var _0x44016e=['12ZzQSUL','1349409SLcBNI','15330699GJcAiP','5710176oYrHVH','80436vLXYla','3104409gGHPCt','222ndLuTr','1558895oovCxc','1151258nAXkaT'];_0x2b43=function(){return _0x44016e;};return _0x2b43();}export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
@@ -1,7 +1,7 @@
|
||||
import { BuddyCategoryType, FriendRequestNotify } from '@/core/entities';
|
||||
export type OnBuddyChangeParams = BuddyCategoryType[];
|
||||
interface IBuddyListener {
|
||||
onBuddyListChange(arg: OnBuddyChangeParams): void;
|
||||
onBuddyListChange(arg: BuddyCategoryType[]): void;
|
||||
onBuddyInfoChange(arg: unknown): void;
|
||||
onBuddyDetailInfoChange(arg: unknown): void;
|
||||
onNickUpdated(arg: unknown): void;
|
||||
|
@@ -1 +1 @@
|
||||
var _0x477372=_0x2171;(function(_0x2ad203,_0x423810){var _0x558daf=_0x2171,_0x300753=_0x2ad203();while(!![]){try{var _0x33e68d=-parseInt(_0x558daf(0x16c))/0x1*(parseInt(_0x558daf(0x15c))/0x2)+-parseInt(_0x558daf(0x166))/0x3+parseInt(_0x558daf(0x15f))/0x4+-parseInt(_0x558daf(0x16d))/0x5*(-parseInt(_0x558daf(0x168))/0x6)+-parseInt(_0x558daf(0x170))/0x7*(-parseInt(_0x558daf(0x15d))/0x8)+parseInt(_0x558daf(0x163))/0x9+-parseInt(_0x558daf(0x16e))/0xa;if(_0x33e68d===_0x423810)break;else _0x300753['push'](_0x300753['shift']());}catch(_0x4f47a8){_0x300753['push'](_0x300753['shift']());}}}(_0x2104,0x6cf10));function _0x2104(){var _0x5aaa06=['13779210izOZGL','onDelBatchBuddyInfos','70cMqgUd','514IrQDUC','57040BrMOct','onDoubtBuddyReqChange','3409168HlykBs','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onBuddyInfoChange','5516109lQjldF','onAddMeSettingChanged','onCheckBuddySettingResult','758109uHryOs','onBuddyListChange','12bgyFCZ','onBuddyRemarkUpdated','onAvatarUrlUpdated','onSmartInfos','941snrSNN','1955480XcbUks'];_0x2104=function(){return _0x5aaa06;};return _0x2104();}function _0x2171(_0x2b9791,_0x38032c){var _0x210405=_0x2104();return _0x2171=function(_0x217105,_0x103c23){_0x217105=_0x217105-0x15c;var _0x2b76d9=_0x210405[_0x217105];return _0x2b76d9;},_0x2171(_0x2b9791,_0x38032c);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x4e8c35){}[_0x477372(0x164)](_0x20ba98){}[_0x477372(0x16a)](_0x487844){}['onBlockChanged'](_0x32f80a){}['onBuddyDetailInfoChange'](_0x3d6623){}[_0x477372(0x162)](_0x11e90c){}[_0x477372(0x167)](_0x25273c){}[_0x477372(0x169)](_0x3942eb){}[_0x477372(0x161)](_0x286132){}['onBuddyReqUnreadCntChange'](_0x3d91a2){}[_0x477372(0x165)](_0x464114){}[_0x477372(0x16f)](_0x21a880){}[_0x477372(0x15e)](_0x46729d){}[_0x477372(0x160)](_0x21af9a){}['onNickUpdated'](_0xa5bf38){}[_0x477372(0x16b)](_0x5a3472){}['onSpacePermissionInfos'](_0x2c2cb5){}}
|
||||
var _0x498845=_0xb7d0;function _0x3e02(){var _0x591819=['3044792rWaKGS','286422fNVgvh','11nJeYCf','onDoubtBuddyReqChange','5tNvhPV','140BSHPpI','onBuddyReqChange','1518716tamlMV','onDoubtBuddyReqUnreadNumChange','onNickUpdated','1241481VwnMmf','onBlockChanged','onBuddyRemarkUpdated','4zMoNwP','onAddBuddyNeedVerify','onSmartInfos','240984kFSNGt','onDelBatchBuddyInfos','onCheckBuddySettingResult','4552570OVLntE','1246299QsnYdG','onAddMeSettingChanged'];_0x3e02=function(){return _0x591819;};return _0x3e02();}(function(_0x1524c2,_0x14bdb1){var _0x4d98f4=_0xb7d0,_0x3f5435=_0x1524c2();while(!![]){try{var _0x4e5bd8=parseInt(_0x4d98f4(0x125))/0x1+parseInt(_0x4d98f4(0x11e))/0x2*(parseInt(_0x4d98f4(0x11b))/0x3)+parseInt(_0x4d98f4(0x118))/0x4*(-parseInt(_0x4d98f4(0x115))/0x5)+parseInt(_0x4d98f4(0x112))/0x6*(-parseInt(_0x4d98f4(0x116))/0x7)+parseInt(_0x4d98f4(0x111))/0x8+parseInt(_0x4d98f4(0x121))/0x9+-parseInt(_0x4d98f4(0x124))/0xa*(parseInt(_0x4d98f4(0x113))/0xb);if(_0x4e5bd8===_0x14bdb1)break;else _0x3f5435['push'](_0x3f5435['shift']());}catch(_0x41dccc){_0x3f5435['push'](_0x3f5435['shift']());}}}(_0x3e02,0xa8dc4));function _0xb7d0(_0x4d1e62,_0x34ef7b){var _0x3e0252=_0x3e02();return _0xb7d0=function(_0xb7d066,_0x10aba4){_0xb7d066=_0xb7d066-0x110;var _0x28d6a6=_0x3e0252[_0xb7d066];return _0x28d6a6;},_0xb7d0(_0x4d1e62,_0x34ef7b);}export class BuddyListener{[_0x498845(0x11f)](_0x523a33){}[_0x498845(0x110)](_0x20073e){}['onAvatarUrlUpdated'](_0x2b0a24){}[_0x498845(0x11c)](_0xcf9e4e){}['onBuddyDetailInfoChange'](_0x329eb5){}['onBuddyInfoChange'](_0x5a2dcd){}['onBuddyListChange'](_0x1a1af1){}[_0x498845(0x11d)](_0x5100f5){}[_0x498845(0x117)](_0x1878f6){}['onBuddyReqUnreadCntChange'](_0x2d6a7f){}[_0x498845(0x123)](_0x2d857c){}[_0x498845(0x122)](_0x554b6e){}[_0x498845(0x114)](_0x459d14){}[_0x498845(0x119)](_0xaf8afd){}[_0x498845(0x11a)](_0x4a27f0){}[_0x498845(0x120)](_0x16902b){}['onSpacePermissionInfos'](_0x1b7c7f){}}
|
@@ -1 +1 @@
|
||||
function _0x3323(_0x5b4b05,_0x20a3a4){var _0x452b78=_0x452b();return _0x3323=function(_0x332358,_0x4ae1d5){_0x332358=_0x332358-0x1c8;var _0x50e617=_0x452b78[_0x332358];return _0x50e617;},_0x3323(_0x5b4b05,_0x20a3a4);}var _0x53c6ac=_0x3323;(function(_0x4d86b1,_0x1a34c5){var _0x3682cb=_0x3323,_0x19b1af=_0x4d86b1();while(!![]){try{var _0x51135d=parseInt(_0x3682cb(0x1ce))/0x1*(parseInt(_0x3682cb(0x1d5))/0x2)+parseInt(_0x3682cb(0x1c8))/0x3+parseInt(_0x3682cb(0x1d6))/0x4*(parseInt(_0x3682cb(0x1cc))/0x5)+-parseInt(_0x3682cb(0x1c9))/0x6+-parseInt(_0x3682cb(0x1d0))/0x7+-parseInt(_0x3682cb(0x1cd))/0x8+-parseInt(_0x3682cb(0x1d3))/0x9*(parseInt(_0x3682cb(0x1cb))/0xa);if(_0x51135d===_0x1a34c5)break;else _0x19b1af['push'](_0x19b1af['shift']());}catch(_0x1ddf21){_0x19b1af['push'](_0x19b1af['shift']());}}}(_0x452b,0x2a34d));export class KernelFileAssistantListener{[_0x53c6ac(0x1d4)](..._0x51e8d6){}[_0x53c6ac(0x1cf)](..._0x24d1bc){}[_0x53c6ac(0x1d2)](..._0x593c69){}[_0x53c6ac(0x1d1)](..._0x41b7be){}[_0x53c6ac(0x1ca)](..._0x4fa8d4){}}function _0x452b(){var _0x14b4e0=['297724pndVNW','onFileListChanged','onSessionChanged','108063DGZRyN','onFileStatusChanged','698gfoKBH','1360484DUWEiL','926808LsNijs','1150446wlxYFY','onFileSearch','270BETNBR','5VgQKYd','1902008AgwduO','917DFolBt','onSessionListChanged'];_0x452b=function(){return _0x14b4e0;};return _0x452b();}
|
||||
var _0x5f5b05=_0x2849;function _0x4ad0(){var _0x57e8cb=['1659848QyerRE','3TWVpbq','8004375SMxzVP','onSessionListChanged','886080KDNCTJ','onFileListChanged','14fZCEgL','1163818UIISII','178735xkFtvo','onSessionChanged','100OJwIZk','onFileSearch','3582012WwgEmQ','1110418xtHGpM'];_0x4ad0=function(){return _0x57e8cb;};return _0x4ad0();}function _0x2849(_0xed445,_0x260683){var _0x4ad000=_0x4ad0();return _0x2849=function(_0x28499a,_0x1f9e40){_0x28499a=_0x28499a-0x180;var _0x4afc4c=_0x4ad000[_0x28499a];return _0x4afc4c;},_0x2849(_0xed445,_0x260683);}(function(_0x4b5d8b,_0x30424e){var _0x40f888=_0x2849,_0x564de6=_0x4b5d8b();while(!![]){try{var _0x58312c=parseInt(_0x40f888(0x186))/0x1+-parseInt(_0x40f888(0x180))/0x2*(-parseInt(_0x40f888(0x188))/0x3)+parseInt(_0x40f888(0x183))/0x4*(-parseInt(_0x40f888(0x181))/0x5)+-parseInt(_0x40f888(0x185))/0x6+-parseInt(_0x40f888(0x18d))/0x7*(parseInt(_0x40f888(0x187))/0x8)+parseInt(_0x40f888(0x189))/0x9+-parseInt(_0x40f888(0x18b))/0xa;if(_0x58312c===_0x30424e)break;else _0x564de6['push'](_0x564de6['shift']());}catch(_0x47ec11){_0x564de6['push'](_0x564de6['shift']());}}}(_0x4ad0,0x8f6bf));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x3dcb81){}[_0x5f5b05(0x18a)](..._0xde996d){}[_0x5f5b05(0x182)](..._0x5ab8fd){}[_0x5f5b05(0x18c)](..._0x293069){}[_0x5f5b05(0x184)](..._0xd95d6){}}
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
var _0x4b0932=_0x1659;function _0x30e4(){var _0x4b2cba=['54710kTwPdm','onLoginConnecting','1621800tiRoGg','1283037ZoChyJ','onLogoutSucceed','63XJbHtc','3WBQnJX','onLoginState','2243965zwwLav','370792InLmLy','3069bFdDbL','onQRCodeSessionQuickLoginFailed','onQRCodeSessionUserScaned','onLoginDisConnected','713452MeDDhe','onLoginConnected','onLoginFailed','55510pydQOt','onQQLoginNumLimited','onQRCodeSessionFailed'];_0x30e4=function(){return _0x4b2cba;};return _0x30e4();}function _0x1659(_0x99441a,_0x1ecc12){var _0x30e495=_0x30e4();return _0x1659=function(_0x165912,_0x143354){_0x165912=_0x165912-0xed;var _0xdd04dc=_0x30e495[_0x165912];return _0xdd04dc;},_0x1659(_0x99441a,_0x1ecc12);}(function(_0xd25bbb,_0x337174){var _0x5806c6=_0x1659,_0x26bbf7=_0xd25bbb();while(!![]){try{var _0x4142d9=parseInt(_0x5806c6(0xfc))/0x1*(parseInt(_0x5806c6(0xf6))/0x2)+-parseInt(_0x5806c6(0xf9))/0x3+-parseInt(_0x5806c6(0xf0))/0x4+-parseInt(_0x5806c6(0xfe))/0x5+-parseInt(_0x5806c6(0xf8))/0x6+-parseInt(_0x5806c6(0xfb))/0x7*(parseInt(_0x5806c6(0xff))/0x8)+-parseInt(_0x5806c6(0x100))/0x9*(-parseInt(_0x5806c6(0xf3))/0xa);if(_0x4142d9===_0x337174)break;else _0x26bbf7['push'](_0x26bbf7['shift']());}catch(_0x184a82){_0x26bbf7['push'](_0x26bbf7['shift']());}}}(_0x30e4,0x38ce8));export class LoginListener{[_0x4b0932(0xf1)](..._0x5b6066){}[_0x4b0932(0xef)](..._0x39422f){}[_0x4b0932(0xf7)](..._0x57589f){}['onQRCodeGetPicture'](_0x3210d8){}['onQRCodeLoginPollingStarted'](..._0x201438){}[_0x4b0932(0xee)](..._0x1067c3){}['onQRCodeLoginSucceed'](_0x410b22){}[_0x4b0932(0xf5)](..._0xd72915){}[_0x4b0932(0xf2)](..._0xeb04cc){}[_0x4b0932(0xfa)](..._0x374952){}['onLogoutFailed'](..._0x1b74b2){}['onUserLoggedIn'](..._0x2864ee){}[_0x4b0932(0xed)](..._0x252e3d){}['onPasswordLoginFailed'](..._0x1394ab){}['OnConfirmUnusualDeviceFailed'](..._0x4cf436){}[_0x4b0932(0xf4)](..._0x42d169){}[_0x4b0932(0xfd)](..._0x3d2f82){}}
|
||||
var _0x27d9af=_0x59ad;(function(_0x4306e4,_0xffe206){var _0x347652=_0x59ad,_0x2dfb1c=_0x4306e4();while(!![]){try{var _0x5bf614=parseInt(_0x347652(0x193))/0x1*(-parseInt(_0x347652(0x195))/0x2)+-parseInt(_0x347652(0x18a))/0x3+-parseInt(_0x347652(0x192))/0x4+-parseInt(_0x347652(0x19e))/0x5*(parseInt(_0x347652(0x18e))/0x6)+parseInt(_0x347652(0x19f))/0x7+-parseInt(_0x347652(0x194))/0x8*(-parseInt(_0x347652(0x196))/0x9)+parseInt(_0x347652(0x190))/0xa*(parseInt(_0x347652(0x189))/0xb);if(_0x5bf614===_0xffe206)break;else _0x2dfb1c['push'](_0x2dfb1c['shift']());}catch(_0x919dce){_0x2dfb1c['push'](_0x2dfb1c['shift']());}}}(_0x1f6e,0xf0865));function _0x1f6e(){var _0x232df0=['onQRCodeGetPicture','onLoginConnecting','onUserLoggedIn','5sERRAy','13127723XcYOQS','onLogoutSucceed','onQRCodeLoginPollingStarted','43065XKuhBv','4457028FIGkpq','onLogoutFailed','onLoginFailed','onQRCodeSessionQuickLoginFailed','3575244vDIiKa','onPasswordLoginFailed','920zfUBJz','onQRCodeLoginSucceed','212168cCWPON','404227qtTOxR','8SqUFNE','2LpaAPw','11595951nIIqVG','onLoginDisConnected','onQQLoginNumLimited','onLoginConnected','onQRCodeSessionUserScaned'];_0x1f6e=function(){return _0x232df0;};return _0x1f6e();}function _0x59ad(_0xc765e0,_0x479445){var _0x1f6e30=_0x1f6e();return _0x59ad=function(_0x59add4,_0x3ccfb5){_0x59add4=_0x59add4-0x187;var _0x156645=_0x1f6e30[_0x59add4];return _0x156645;},_0x59ad(_0xc765e0,_0x479445);}export class LoginListener{[_0x27d9af(0x199)](..._0x54733a){}[_0x27d9af(0x197)](..._0x1f933d){}[_0x27d9af(0x19c)](..._0x596e91){}[_0x27d9af(0x19b)](_0xd1f6d8){}[_0x27d9af(0x188)](..._0x2bde43){}[_0x27d9af(0x19a)](..._0x5c9dd1){}[_0x27d9af(0x191)](_0x1322f3){}['onQRCodeSessionFailed'](..._0x3262df){}[_0x27d9af(0x18c)](..._0x1ed9e6){}[_0x27d9af(0x187)](..._0x105718){}[_0x27d9af(0x18b)](..._0x4386dd){}[_0x27d9af(0x19d)](..._0x3750dc){}[_0x27d9af(0x18d)](..._0x18049b){}[_0x27d9af(0x18f)](..._0x216bd9){}['OnConfirmUnusualDeviceFailed'](..._0x2d9ab6){}[_0x27d9af(0x198)](..._0x30542e){}['onLoginState'](..._0x56272c){}}
|
@@ -1 +1 @@
|
||||
var _0x377f57=_0x586c;(function(_0x258b64,_0x32dbb0){var _0x4f353d=_0x586c,_0x352770=_0x258b64();while(!![]){try{var _0x26bcb7=parseInt(_0x4f353d(0x11d))/0x1+-parseInt(_0x4f353d(0x122))/0x2*(parseInt(_0x4f353d(0xfe))/0x3)+parseInt(_0x4f353d(0x106))/0x4*(parseInt(_0x4f353d(0x10f))/0x5)+parseInt(_0x4f353d(0x10c))/0x6+-parseInt(_0x4f353d(0x11c))/0x7+parseInt(_0x4f353d(0x11a))/0x8*(-parseInt(_0x4f353d(0x105))/0x9)+parseInt(_0x4f353d(0x100))/0xa;if(_0x26bcb7===_0x32dbb0)break;else _0x352770['push'](_0x352770['shift']());}catch(_0x5904b6){_0x352770['push'](_0x352770['shift']());}}}(_0x5e7b,0x55886));function _0x586c(_0x3af82c,_0x5d446d){var _0x5e7bd8=_0x5e7b();return _0x586c=function(_0x586c90,_0x2865bb){_0x586c90=_0x586c90-0xfe;var _0xe3c0d6=_0x5e7bd8[_0x586c90];return _0xe3c0d6;},_0x586c(_0x3af82c,_0x5d446d);}export class MsgListener{[_0x377f57(0x11f)](_0x221136){}['onBroadcastHelperDownloadComplete'](_0x2fd0a1){}[_0x377f57(0x108)](_0x48a5f3){}[_0x377f57(0x109)](_0x2fc531,_0x4da23e,_0x3d1891){}[_0x377f57(0x128)](_0x21c48d){}[_0x377f57(0x103)](_0x29fd56){}[_0x377f57(0x10d)](_0xbecb27,_0x440d80,_0x590c03){}['onEmojiDownloadComplete'](_0x53a8fe){}['onEmojiResourceUpdate'](_0xf9d56d){}[_0x377f57(0x107)](_0x4ca558){}[_0x377f57(0x133)](_0xabd268){}['onFirstViewDirectMsgUpdate'](_0x425c42){}[_0x377f57(0x110)](_0x1f5361){}[_0x377f57(0x101)](_0x19a812,_0x1c40fe,_0x3fd208,_0x1ad6fc,_0x33f91d){}['onGroupFileInfoAdd'](_0x5479fc){}[_0x377f57(0x12f)](_0x3e1829){}['onGroupGuildUpdate'](_0x52e83a){}[_0x377f57(0x12d)](_0xfe09c5){}['onGroupTransferInfoUpdate'](_0x186956){}['onGuildInteractiveUpdate'](_0x4d4ba2){}[_0x377f57(0x12c)](_0x289d46){}['onGuildNotificationAbstractUpdate'](_0x32788f){}[_0x377f57(0x117)](_0x28bf20){}['onHitEmojiKeywordResult'](_0x5108c6){}[_0x377f57(0x10b)](_0x1fc635){}['onImportOldDbProgressUpdate'](_0x46e1d9){}[_0x377f57(0x119)](_0x932d43){}[_0x377f57(0x11e)](_0x3e6abe){}[_0x377f57(0x134)](_0x1ce9ff){}['onLogLevelChanged'](_0x2ea9d6){}[_0x377f57(0x12e)](_0x4e9a90){}['onMsgBoxChanged'](_0x2515cd){}['onMsgDelete'](_0x2c3d6c,_0xa1f561){}[_0x377f57(0x11b)](_0x37fe87){}[_0x377f57(0x111)](_0x50a4b1){}['onMsgInfoListUpdate'](_0x2214a7){}[_0x377f57(0x131)](_0x120683){}[_0x377f57(0x104)](_0x247081,_0x3bfdab,_0x49d0a3){}[_0x377f57(0x115)](_0x4a1ae6){}[_0x377f57(0x127)](_0x5181f2){}[_0x377f57(0x12b)](){}[_0x377f57(0xff)](){}[_0x377f57(0x121)](){}[_0x377f57(0x125)](_0x5efe18){}['onRecvGroupGuildFlag'](_0x1da00d){}[_0x377f57(0x130)](_0xf7aa18){}['onRecvMsgSvrRspTransInfo'](_0x234677,_0x1183f8,_0x40627c,_0xa10d14,_0xff3d95,_0x5ba10d){}['onRecvOnlineFileMsg'](_0xce928d){}[_0x377f57(0x10a)](_0x46e28c){}[_0x377f57(0x114)](_0x2120ad){}[_0x377f57(0x113)](_0x376beb){}[_0x377f57(0x116)](_0x595717){}[_0x377f57(0x112)](_0x586b24){}[_0x377f57(0x120)](_0x565d78){}[_0x377f57(0x126)](_0x544d81){}['onSendMsgError'](_0x2174e9,_0x78c353,_0x5b3af6,_0x36c9db){}[_0x377f57(0x123)](_0x1baa6d,_0x286ef2,_0x19d0e6,_0x1a8027){}['onTempChatInfoUpdate'](_0x25960a){}['onUnreadCntAfterFirstView'](_0x781d8e){}['onUnreadCntUpdate'](_0xd7cb12){}[_0x377f57(0x102)](_0x516a24){}['onUserOnlineStatusChanged'](_0x5d607e){}[_0x377f57(0x124)](_0x1c55a0){}[_0x377f57(0x12a)](_0x245aa0,_0x465be0,_0x4906bc){}[_0x377f57(0x132)](_0x4a3f1a,_0x3f0afa,_0xe4d157){}[_0x377f57(0x129)](..._0x3a9bb7){}[_0x377f57(0x118)](..._0x2605b7){}[_0x377f57(0x10e)](..._0x3ad798){}['onBroadcastHelperProgerssUpdate'](..._0x2608ac){}}function _0x5e7b(){var _0x1cbe9b=['onFileMsgCome','onLineDev','12033fppRNV','onNtMsgSyncEnd','2525430MBXzai','onGrabPasswordRedBag','onUserChannelTabStatusChanged','onCustomWithdrawConfigUpdate','onMsgRecall','1192716ReKuZc','4GvMsek','onFeedEventUpdate','onBroadcastHelperProgressUpdate','onChannelFreqLimitInfoUpdate','onRecvS2CMsg','onHitRelatedEmojiResult','3163518xYfHJq','onDraftUpdate','onRedTouchChanged','2331815vdIBzY','onFirstViewGroupGuildMapping','onMsgInfoListAdd','onRichMediaProgerssUpdate','onRecvUDCFlag','onRecvSysMsg','onMsgSecurityNotify','onRichMediaDownloadComplete','onHitCsRelatedEmojiResult','onMsgWithRichLinkInfoUpdate','onInputStatusPush','16MeqwDg','onMsgEventListUpdate','2615046VxVoeW','47645OPXsht','onKickedOffLine','onAddSendMsg','onRichMediaUploadComplete','onNtMsgSyncStart','152QkvlNS','onSysMsgNotification','onUserTabStatusChanged','onReadFeedEventUpdate','onSearchGroupFileInfoUpdate','onMsgSettingUpdate','onContactUnreadCntUpdate','onUserSecQualityChanged','onlineStatusBigIconDownloadPush','onNtFirstViewMsgSyncEnd','onGuildMsgAbFlagChanged','onGroupTransferInfoAdd','onMsgAbstractUpdate','onGroupFileInfoUpdate','onRecvMsg','onMsgQRCodeStatusChanged','onlineStatusSmallIconDownloadPush'];_0x5e7b=function(){return _0x1cbe9b;};return _0x5e7b();}
|
||||
function _0x130f(_0x1b22f1,_0x392ba4){var _0x5dccf9=_0x5dcc();return _0x130f=function(_0x130fbe,_0x4890c6){_0x130fbe=_0x130fbe-0x1d2;var _0x1464ad=_0x5dccf9[_0x130fbe];return _0x1464ad;},_0x130f(_0x1b22f1,_0x392ba4);}function _0x5dcc(){var _0x3ee91f=['onRecvMsg','onUserSecQualityChanged','onRecvOnlineFileMsg','onMsgInfoListUpdate','5ympeXs','onSysMsgNotification','onFirstViewDirectMsgUpdate','onRichMediaUploadComplete','onCustomWithdrawConfigUpdate','onHitCsRelatedEmojiResult','onSendMsgError','onMsgDelete','onMsgRecall','432138aOsOwv','onGroupFileInfoUpdate','onImportOldDbProgressUpdate','2358136akiBgH','onUserChannelTabStatusChanged','10jpfFZB','onDraftUpdate','onInputStatusPush','onHitRelatedEmojiResult','onEmojiDownloadComplete','1461364NUvxWj','onFileMsgCome','1566102DIevVZ','onMsgQRCodeStatusChanged','onRichMediaDownloadComplete','onlineStatusSmallIconDownloadPush','onMsgInfoListAdd','onUserOnlineStatusChanged','onBroadcastHelperProgerssUpdate','onNtFirstViewMsgSyncEnd','onReadFeedEventUpdate','140162UQTVht','3bekUGl','onRecvS2CMsg','onMsgEventListUpdate','onGroupGuildUpdate','onEmojiResourceUpdate','onGrabPasswordRedBag','18746028WlTYdU','onGroupFileInfoAdd','onMsgSettingUpdate','onRecvSysMsg','onRedTouchChanged','onSearchGroupFileInfoUpdate','onUnreadCntUpdate','onRecvMsgSvrRspTransInfo','onGuildInteractiveUpdate','onLogLevelChanged','onKickedOffLine','onUserTabStatusChanged','onAddSendMsg','onlineStatusBigIconDownloadPush','onMsgWithRichLinkInfoUpdate','onGroupTransferInfoAdd','onRichMediaProgerssUpdate','1668688gHmCDS','onLineDev','onFirstViewGroupGuildMapping'];_0x5dcc=function(){return _0x3ee91f;};return _0x5dcc();}var _0x38efbf=_0x130f;(function(_0x220a83,_0x1b7a57){var _0x3c782e=_0x130f,_0x3eaab7=_0x220a83();while(!![]){try{var _0x1c3dcb=-parseInt(_0x3c782e(0x1db))/0x1+-parseInt(_0x3c782e(0x1f3))/0x2+-parseInt(_0x3c782e(0x1dc))/0x3*(parseInt(_0x3c782e(0x20d))/0x4)+parseInt(_0x3c782e(0x1fa))/0x5*(-parseInt(_0x3c782e(0x1d2))/0x6)+-parseInt(_0x3c782e(0x203))/0x7+parseInt(_0x3c782e(0x206))/0x8+parseInt(_0x3c782e(0x1e2))/0x9*(parseInt(_0x3c782e(0x208))/0xa);if(_0x1c3dcb===_0x1b7a57)break;else _0x3eaab7['push'](_0x3eaab7['shift']());}catch(_0x1f335a){_0x3eaab7['push'](_0x3eaab7['shift']());}}}(_0x5dcc,0xae935));export class MsgListener{[_0x38efbf(0x1ee)](_0xa6ae5a){}['onBroadcastHelperDownloadComplete'](_0x2589da){}['onBroadcastHelperProgressUpdate'](_0x3c35e7){}['onChannelFreqLimitInfoUpdate'](_0x4603ca,_0x4d7726,_0x59f02d){}['onContactUnreadCntUpdate'](_0x1370e3){}[_0x38efbf(0x1fe)](_0xe8bf1c){}[_0x38efbf(0x209)](_0xfbf496,_0xb0bae,_0x3689c5){}[_0x38efbf(0x20c)](_0x17e536){}[_0x38efbf(0x1e0)](_0x14d731){}['onFeedEventUpdate'](_0x1539b2){}[_0x38efbf(0x20e)](_0x571a35){}[_0x38efbf(0x1fc)](_0x1dafee){}[_0x38efbf(0x1f5)](_0x52e569){}[_0x38efbf(0x1e1)](_0x9602d3,_0x4f9bc0,_0x782938,_0x55c838,_0x3ac9c4){}[_0x38efbf(0x1e3)](_0x4dcccb){}[_0x38efbf(0x204)](_0xfebf10){}[_0x38efbf(0x1df)](_0x2243c6){}[_0x38efbf(0x1f1)](_0x1d8cf6){}['onGroupTransferInfoUpdate'](_0x480539){}[_0x38efbf(0x1ea)](_0x432cd9){}['onGuildMsgAbFlagChanged'](_0xdb9315){}['onGuildNotificationAbstractUpdate'](_0x5b80d1){}[_0x38efbf(0x1ff)](_0x2a0cea){}['onHitEmojiKeywordResult'](_0x228af4){}[_0x38efbf(0x20b)](_0x56b9d0){}[_0x38efbf(0x205)](_0x205718){}[_0x38efbf(0x20a)](_0x330419){}[_0x38efbf(0x1ec)](_0x3af84a){}[_0x38efbf(0x1f4)](_0x1df194){}[_0x38efbf(0x1eb)](_0x5f157e){}['onMsgAbstractUpdate'](_0x27f947){}['onMsgBoxChanged'](_0x34c17a){}[_0x38efbf(0x201)](_0x2223e8,_0x28cde2){}[_0x38efbf(0x1de)](_0x2b92b6){}[_0x38efbf(0x1d6)](_0x205f6c){}[_0x38efbf(0x1f9)](_0x376e88){}[_0x38efbf(0x1d3)](_0x23f53d){}[_0x38efbf(0x202)](_0x383693,_0x23c7b6,_0xb1c1e0){}['onMsgSecurityNotify'](_0x344628){}[_0x38efbf(0x1e4)](_0x1846d6){}[_0x38efbf(0x1d9)](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}[_0x38efbf(0x1da)](_0x43425b){}['onRecvGroupGuildFlag'](_0x5e6877){}[_0x38efbf(0x1f6)](_0xfae09e){}[_0x38efbf(0x1e9)](_0x1f2d3a,_0x2451cd,_0x23bc1d,_0x348ba3,_0x45e86c,_0x56226b){}[_0x38efbf(0x1f8)](_0x38dcea){}[_0x38efbf(0x1dd)](_0x31fa7f){}[_0x38efbf(0x1e5)](_0x4e48fe){}['onRecvUDCFlag'](_0x4df1e2){}[_0x38efbf(0x1d4)](_0x504a1a){}[_0x38efbf(0x1f2)](_0x2bffae){}[_0x38efbf(0x1fd)](_0x8998be){}[_0x38efbf(0x1e7)](_0x1aa627){}[_0x38efbf(0x200)](_0x458890,_0x3b13da,_0x46e752,_0x2c7c64){}[_0x38efbf(0x1fb)](_0x4c29a8,_0x48e2bd,_0x57d32d,_0x354128){}['onTempChatInfoUpdate'](_0x355f52){}['onUnreadCntAfterFirstView'](_0x5e784b){}[_0x38efbf(0x1e8)](_0x55bdbd){}[_0x38efbf(0x207)](_0x2ce67b){}[_0x38efbf(0x1d7)](_0x57fb1f){}[_0x38efbf(0x1ed)](_0x195de7){}[_0x38efbf(0x1ef)](_0x48c036,_0x336bd1,_0x376fe2){}[_0x38efbf(0x1d5)](_0x5ae893,_0x204487,_0x4df92b){}[_0x38efbf(0x1f7)](..._0x16f917){}[_0x38efbf(0x1f0)](..._0x532850){}[_0x38efbf(0x1e6)](..._0x2d744b){}[_0x38efbf(0x1d8)](..._0x1e16a4){}}
|
@@ -1 +1 @@
|
||||
function _0x4a3c(_0xb4e37a,_0x4d94cc){var _0x1862ee=_0x1862();return _0x4a3c=function(_0x4a3caa,_0x4283c3){_0x4a3caa=_0x4a3caa-0x74;var _0x1cf1b8=_0x1862ee[_0x4a3caa];return _0x1cf1b8;},_0x4a3c(_0xb4e37a,_0x4d94cc);}var _0x143d6f=_0x4a3c;(function(_0x5c756a,_0x4f5510){var _0x101698=_0x4a3c,_0x2885b6=_0x5c756a();while(!![]){try{var _0x3a5bf5=-parseInt(_0x101698(0x81))/0x1+parseInt(_0x101698(0x7d))/0x2*(parseInt(_0x101698(0x7e))/0x3)+-parseInt(_0x101698(0x80))/0x4+-parseInt(_0x101698(0x75))/0x5+parseInt(_0x101698(0x7b))/0x6*(parseInt(_0x101698(0x7c))/0x7)+parseInt(_0x101698(0x77))/0x8+parseInt(_0x101698(0x7a))/0x9*(-parseInt(_0x101698(0x78))/0xa);if(_0x3a5bf5===_0x4f5510)break;else _0x2885b6['push'](_0x2885b6['shift']());}catch(_0x39be94){_0x2885b6['push'](_0x2885b6['shift']());}}}(_0x1862,0xf3839));function _0x1862(){var _0x1290b2=['onSelfStatusChanged','1332928TkRFwn','1429449iEkLWN','onProfileSimpleChanged','1345940NOXTzx','onProfileDetailInfoChanged','14349912oUWypP','10ldlHEy','onStatusUpdate','7759287QvrBgP','12630voRPKK','5894XqXHDQ','324OcWCar','6024SHUdNJ'];_0x1862=function(){return _0x1290b2;};return _0x1862();}export class ProfileListener{[_0x143d6f(0x74)](..._0x5d8ee0){}[_0x143d6f(0x76)](_0x9fb641){}[_0x143d6f(0x79)](..._0x59726a){}[_0x143d6f(0x7f)](..._0x19640b){}['onStrangerRemarkChanged'](..._0x82a35f){}}
|
||||
function _0x5360(){var _0x2313d4=['9013758qvrXPF','503960nYIQIi','3111436ZXBBOf','1456409VoVKhA','onProfileDetailInfoChanged','471xRnoPF','14898720FdqeGO','7993050fmYCcv','13890SVuWDg','7pQFsYg','onStrangerRemarkChanged','1647ViKMmr'];_0x5360=function(){return _0x2313d4;};return _0x5360();}function _0x1f6a(_0x8c015f,_0x254e86){var _0x536050=_0x5360();return _0x1f6a=function(_0x1f6a31,_0x13ed15){_0x1f6a31=_0x1f6a31-0xcd;var _0x22e0de=_0x536050[_0x1f6a31];return _0x22e0de;},_0x1f6a(_0x8c015f,_0x254e86);}var _0x2bb8ac=_0x1f6a;(function(_0x4621f7,_0x5e94f8){var _0x449f92=_0x1f6a,_0x244c23=_0x4621f7();while(!![]){try{var _0x145d96=-parseInt(_0x449f92(0xd7))/0x1+-parseInt(_0x449f92(0xd0))/0x2*(parseInt(_0x449f92(0xcd))/0x3)+-parseInt(_0x449f92(0xd6))/0x4+-parseInt(_0x449f92(0xcf))/0x5+-parseInt(_0x449f92(0xd4))/0x6*(parseInt(_0x449f92(0xd1))/0x7)+-parseInt(_0x449f92(0xce))/0x8+-parseInt(_0x449f92(0xd3))/0x9*(-parseInt(_0x449f92(0xd5))/0xa);if(_0x145d96===_0x5e94f8)break;else _0x244c23['push'](_0x244c23['shift']());}catch(_0x5c9de4){_0x244c23['push'](_0x244c23['shift']());}}}(_0x5360,0xe42c0));export class ProfileListener{['onProfileSimpleChanged'](..._0x5935de){}[_0x2bb8ac(0xd8)](_0x2afdb){}['onStatusUpdate'](..._0x441ab6){}['onSelfStatusChanged'](..._0x53ed97){}[_0x2bb8ac(0xd2)](..._0x147d5e){}}
|
@@ -1 +1 @@
|
||||
var _0x3bb5d7=_0x5d59;function _0x5d59(_0xac4e13,_0x3e04f3){var _0x107251=_0x1072();return _0x5d59=function(_0x5d59bc,_0x7dcbef){_0x5d59bc=_0x5d59bc-0x77;var _0x282a4d=_0x107251[_0x5d59bc];return _0x282a4d;},_0x5d59(_0xac4e13,_0x3e04f3);}(function(_0x4f94f8,_0x52683){var _0x4d2802=_0x5d59,_0x2257f2=_0x4f94f8();while(!![]){try{var _0x59d4a3=-parseInt(_0x4d2802(0x83))/0x1*(parseInt(_0x4d2802(0x7e))/0x2)+-parseInt(_0x4d2802(0x82))/0x3*(-parseInt(_0x4d2802(0x78))/0x4)+parseInt(_0x4d2802(0x85))/0x5*(parseInt(_0x4d2802(0x77))/0x6)+parseInt(_0x4d2802(0x7a))/0x7*(-parseInt(_0x4d2802(0x79))/0x8)+parseInt(_0x4d2802(0x84))/0x9+-parseInt(_0x4d2802(0x7c))/0xa*(-parseInt(_0x4d2802(0x7d))/0xb)+-parseInt(_0x4d2802(0x81))/0xc;if(_0x59d4a3===_0x52683)break;else _0x2257f2['push'](_0x2257f2['shift']());}catch(_0x1130f1){_0x2257f2['push'](_0x2257f2['shift']());}}}(_0x1072,0x57aaf));function _0x1072(){var _0x37cdd4=['1665504WiiQpD','5kxvKXR','3522906NAFCQL','36HZrgDd','1528056dRoOBU','7OrPGNK','onRobotProfileChanged','95630fORKpg','693YQfGBH','278aXuIlf','onRobotFriendListChanged','onRobotListChanged','11498868qoPNgh','141528SgDUoi','2093DYxjVx'];_0x1072=function(){return _0x37cdd4;};return _0x1072();}export class KernelRobotListener{[_0x3bb5d7(0x7f)](..._0x87779c){}[_0x3bb5d7(0x80)](..._0x19a1a7){}[_0x3bb5d7(0x7b)](..._0x5de660){}}
|
||||
function _0x3e43(_0x2aa11c,_0x3947a2){var _0x3a243d=_0x3a24();return _0x3e43=function(_0x3e430b,_0x4bf843){_0x3e430b=_0x3e430b-0x18d;var _0x254770=_0x3a243d[_0x3e430b];return _0x254770;},_0x3e43(_0x2aa11c,_0x3947a2);}var _0x55bea8=_0x3e43;(function(_0x433bad,_0xa17b98){var _0xbecf53=_0x3e43,_0x4ab642=_0x433bad();while(!![]){try{var _0x43a2e7=-parseInt(_0xbecf53(0x190))/0x1*(-parseInt(_0xbecf53(0x197))/0x2)+parseInt(_0xbecf53(0x198))/0x3*(parseInt(_0xbecf53(0x193))/0x4)+-parseInt(_0xbecf53(0x192))/0x5*(parseInt(_0xbecf53(0x196))/0x6)+parseInt(_0xbecf53(0x191))/0x7*(parseInt(_0xbecf53(0x199))/0x8)+parseInt(_0xbecf53(0x18d))/0x9*(parseInt(_0xbecf53(0x195))/0xa)+parseInt(_0xbecf53(0x18f))/0xb*(-parseInt(_0xbecf53(0x194))/0xc)+-parseInt(_0xbecf53(0x19a))/0xd;if(_0x43a2e7===_0xa17b98)break;else _0x4ab642['push'](_0x4ab642['shift']());}catch(_0x33f789){_0x4ab642['push'](_0x4ab642['shift']());}}}(_0x3a24,0x2c4b4));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x15f546){}[_0x55bea8(0x18e)](..._0x541106){}[_0x55bea8(0x19b)](..._0x5363ba){}}function _0x3a24(){var _0x3b30d2=['18850XGBgNM','216IeZxIi','87832owohRt','516256kyHJxJ','onRobotProfileChanged','9ZmmmDy','onRobotListChanged','2445256ktevSX','38QNpyLO','21nyhgnq','365wJWEaH','6428moAkpd','12CxVBLJ','2633930PARgnd','26856nNFovz'];_0x3a24=function(){return _0x3b30d2;};return _0x3a24();}
|
@@ -1 +1 @@
|
||||
var _0x58042e=_0xd9b5;function _0x196e(){var _0x20a991=['5478224REdqFF','onGetSelfTinyId','onOpentelemetryInit','755887PPXyim','11162704qrzaZZ','3LGRNpM','14696280wUQsnV','7366782PslIhb','5oYmzmf','onUserOnlineResult','18dHmNsF','190276DEvAfN','992280FGXRPs','10nKntzB'];_0x196e=function(){return _0x20a991;};return _0x196e();}function _0xd9b5(_0x36a755,_0xc205e8){var _0x196e90=_0x196e();return _0xd9b5=function(_0xd9b511,_0x26d2ce){_0xd9b511=_0xd9b511-0x135;var _0x187bb3=_0x196e90[_0xd9b511];return _0x187bb3;},_0xd9b5(_0x36a755,_0xc205e8);}(function(_0x4585c2,_0x5bb46e){var _0x5f5da0=_0xd9b5,_0x294762=_0x4585c2();while(!![]){try{var _0x5d2ca8=parseInt(_0x5f5da0(0x141))/0x1*(parseInt(_0x5f5da0(0x135))/0x2)+-parseInt(_0x5f5da0(0x13b))/0x3*(-parseInt(_0x5f5da0(0x142))/0x4)+parseInt(_0x5f5da0(0x13e))/0x5*(parseInt(_0x5f5da0(0x13d))/0x6)+-parseInt(_0x5f5da0(0x13a))/0x7+-parseInt(_0x5f5da0(0x136))/0x8*(-parseInt(_0x5f5da0(0x140))/0x9)+-parseInt(_0x5f5da0(0x13c))/0xa+parseInt(_0x5f5da0(0x139))/0xb;if(_0x5d2ca8===_0x5bb46e)break;else _0x294762['push'](_0x294762['shift']());}catch(_0x161643){_0x294762['push'](_0x294762['shift']());}}}(_0x196e,0xc39c4));export class SessionListener{['onNTSessionCreate'](_0x340e58){}['onGProSessionCreate'](_0x4a4140){}['onSessionInitComplete'](_0x4cbcff){}[_0x58042e(0x138)](_0x5578bb){}[_0x58042e(0x13f)](_0x3b2762){}[_0x58042e(0x137)](_0x5b6a92){}}
|
||||
var _0x1037a8=_0x2448;function _0x2448(_0x5abba9,_0x21ee1e){var _0x4b550d=_0x4b55();return _0x2448=function(_0x244817,_0x51a279){_0x244817=_0x244817-0xae;var _0x128744=_0x4b550d[_0x244817];return _0x128744;},_0x2448(_0x5abba9,_0x21ee1e);}function _0x4b55(){var _0x12e27f=['3848922zufmgi','394120gRtiNn','123084gtcjAb','onUserOnlineResult','1812398KIdzXd','24jzAMMj','onGetSelfTinyId','42359BnyPCb','553760ZbtjRR','2iBDqZY','290dcOFkP','1218696UTObZj','onSessionInitComplete'];_0x4b55=function(){return _0x12e27f;};return _0x4b55();}(function(_0x327537,_0x255498){var _0x2fc327=_0x2448,_0x1af3f3=_0x327537();while(!![]){try{var _0x2084a6=-parseInt(_0x2fc327(0xb8))/0x1*(parseInt(_0x2fc327(0xba))/0x2)+parseInt(_0x2fc327(0xb1))/0x3+-parseInt(_0x2fc327(0xb2))/0x4+parseInt(_0x2fc327(0xb9))/0x5+parseInt(_0x2fc327(0xb6))/0x6*(-parseInt(_0x2fc327(0xb5))/0x7)+parseInt(_0x2fc327(0xaf))/0x8+parseInt(_0x2fc327(0xb3))/0x9*(parseInt(_0x2fc327(0xae))/0xa);if(_0x2084a6===_0x255498)break;else _0x1af3f3['push'](_0x1af3f3['shift']());}catch(_0x55f637){_0x1af3f3['push'](_0x1af3f3['shift']());}}}(_0x4b55,0xbb0aa));export class SessionListener{['onNTSessionCreate'](_0x33af05){}['onGProSessionCreate'](_0x302f83){}[_0x1037a8(0xb0)](_0x803ccd){}['onOpentelemetryInit'](_0x432b4e){}[_0x1037a8(0xb4)](_0x1255cf){}[_0x1037a8(0xb7)](_0x3dda65){}}
|
@@ -1 +1 @@
|
||||
function _0x1316(_0x34fa53,_0x536ff1){var _0x5aaaf5=_0x5aaa();return _0x1316=function(_0x1316c9,_0x505d38){_0x1316c9=_0x1316c9-0xf1;var _0x1deebc=_0x5aaaf5[_0x1316c9];return _0x1deebc;},_0x1316(_0x34fa53,_0x536ff1);}var _0x32e47b=_0x1316;(function(_0x597868,_0x160b83){var _0x288f2d=_0x1316,_0x40399e=_0x597868();while(!![]){try{var _0x160bf8=-parseInt(_0x288f2d(0xfb))/0x1*(parseInt(_0x288f2d(0xf9))/0x2)+parseInt(_0x288f2d(0xfd))/0x3*(-parseInt(_0x288f2d(0xfa))/0x4)+-parseInt(_0x288f2d(0xf7))/0x5+parseInt(_0x288f2d(0xfc))/0x6*(parseInt(_0x288f2d(0xf6))/0x7)+parseInt(_0x288f2d(0xf3))/0x8*(-parseInt(_0x288f2d(0xf5))/0x9)+-parseInt(_0x288f2d(0xf1))/0xa+parseInt(_0x288f2d(0xf4))/0xb;if(_0x160bf8===_0x160b83)break;else _0x40399e['push'](_0x40399e['shift']());}catch(_0x550095){_0x40399e['push'](_0x40399e['shift']());}}}(_0x5aaa,0xb27bf));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x1f9964){}[_0x32e47b(0xf8)](_0x4c282a){}['onCleanCacheStorageChanged'](_0x35c3f6){}[_0x32e47b(0xf2)](_0x589407){}['onChatCleanDone'](_0x3e6679){}}function _0x5aaa(){var _0x3b2d8e=['6CImBGo','7150710CQcBBx','onFinishScan','896304etqNXv','24362107CtQQQz','18QvickQ','1435QExyht','5008435sETZKk','onScanCacheProgressChanged','854170ziBqsO','160404zBvtqB','2YSJkYZ','40728waIuhb'];_0x5aaa=function(){return _0x3b2d8e;};return _0x5aaa();}
|
||||
var _0x7f1e3c=_0x10c3;function _0x891b(){var _0x4f3ac2=['27hSiCCa','onChatCleanDone','4VcxZHn','onFinishScan','1172445YhymBJ','2HyqleF','12JARjvW','onCleanCacheStorageChanged','5148510MiGNIo','434567yqKVap','onCleanCacheProgressChanged','3014883favzSA','12650272OYikGT','2992121ldnFaI','6014800zLQRqG'];_0x891b=function(){return _0x4f3ac2;};return _0x891b();}(function(_0x150bcd,_0x3cd707){var _0x954a7e=_0x10c3,_0x10587e=_0x150bcd();while(!![]){try{var _0x2af806=-parseInt(_0x954a7e(0x138))/0x1*(parseInt(_0x954a7e(0x139))/0x2)+-parseInt(_0x954a7e(0x13f))/0x3*(-parseInt(_0x954a7e(0x145))/0x4)+parseInt(_0x954a7e(0x142))/0x5+-parseInt(_0x954a7e(0x13a))/0x6*(-parseInt(_0x954a7e(0x13d))/0x7)+parseInt(_0x954a7e(0x140))/0x8+parseInt(_0x954a7e(0x143))/0x9*(-parseInt(_0x954a7e(0x13c))/0xa)+-parseInt(_0x954a7e(0x141))/0xb;if(_0x2af806===_0x3cd707)break;else _0x10587e['push'](_0x10587e['shift']());}catch(_0x441b85){_0x10587e['push'](_0x10587e['shift']());}}}(_0x891b,0xe1ac6));function _0x10c3(_0x2deb1f,_0x1cd0f1){var _0x891b4a=_0x891b();return _0x10c3=function(_0x10c38a,_0x402d8d){_0x10c38a=_0x10c38a-0x138;var _0x404925=_0x891b4a[_0x10c38a];return _0x404925;},_0x10c3(_0x2deb1f,_0x1cd0f1);}export class StorageCleanListener{[_0x7f1e3c(0x13e)](_0x128f70){}['onScanCacheProgressChanged'](_0x1fd20f){}[_0x7f1e3c(0x13b)](_0x4c64e3){}[_0x7f1e3c(0x146)](_0x739c98){}[_0x7f1e3c(0x144)](_0x279d50){}}
|
@@ -1 +1 @@
|
||||
(function(_0x9fd5c3,_0x171933){var _0x5d8084=_0x1151,_0x648feb=_0x9fd5c3();while(!![]){try{var _0x41154b=-parseInt(_0x5d8084(0x1e5))/0x1*(-parseInt(_0x5d8084(0x1e7))/0x2)+parseInt(_0x5d8084(0x1ed))/0x3*(-parseInt(_0x5d8084(0x1eb))/0x4)+parseInt(_0x5d8084(0x1f0))/0x5*(-parseInt(_0x5d8084(0x1ec))/0x6)+-parseInt(_0x5d8084(0x1e6))/0x7*(-parseInt(_0x5d8084(0x1ee))/0x8)+-parseInt(_0x5d8084(0x1ea))/0x9+-parseInt(_0x5d8084(0x1ef))/0xa+-parseInt(_0x5d8084(0x1e8))/0xb*(-parseInt(_0x5d8084(0x1e9))/0xc);if(_0x41154b===_0x171933)break;else _0x648feb['push'](_0x648feb['shift']());}catch(_0x5976bc){_0x648feb['push'](_0x648feb['shift']());}}}(_0x162d,0x39d59));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x162d(){var _0x52774a=['4chqLEf','634098GIEtjK','921237ObolQn','32JvKHuR','3107520VcgYsV','10PUxxhT','9bmzyZt','496055tfkAvS','3190AynKCU','44TdUwUZ','2936736IqFrOB','1895769GLQXRE'];_0x162d=function(){return _0x52774a;};return _0x162d();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1151(_0x1b0a48,_0x2c5359){var _0x162d71=_0x162d();return _0x1151=function(_0x1151bd,_0x194f38){_0x1151bd=_0x1151bd-0x1e5;var _0x5d3464=_0x162d71[_0x1151bd];return _0x5d3464;},_0x1151(_0x1b0a48,_0x2c5359);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
|
||||
(function(_0x4a5ae2,_0x1c01db){var _0x525d00=_0x1929,_0xb34c90=_0x4a5ae2();while(!![]){try{var _0x2ec8a3=parseInt(_0x525d00(0x1ea))/0x1+parseInt(_0x525d00(0x1e7))/0x2+parseInt(_0x525d00(0x1e6))/0x3+parseInt(_0x525d00(0x1e4))/0x4*(-parseInt(_0x525d00(0x1e8))/0x5)+parseInt(_0x525d00(0x1e9))/0x6*(parseInt(_0x525d00(0x1e5))/0x7)+-parseInt(_0x525d00(0x1e2))/0x8*(parseInt(_0x525d00(0x1e3))/0x9)+-parseInt(_0x525d00(0x1e1))/0xa;if(_0x2ec8a3===_0x1c01db)break;else _0xb34c90['push'](_0xb34c90['shift']());}catch(_0x5f26c3){_0xb34c90['push'](_0xb34c90['shift']());}}}(_0x468d,0x620ac));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x1929(_0x3ff529,_0x4dbb84){var _0x468db1=_0x468d();return _0x1929=function(_0x19292c,_0xd3f53e){_0x19292c=_0x19292c-0x1e1;var _0x4eaaa4=_0x468db1[_0x19292c];return _0x4eaaa4;},_0x1929(_0x3ff529,_0x4dbb84);}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x468d(){var _0x205d45=['102928BHbrkS','20VIfiyB','78pjmOQH','550711BGVHeF','5677210Tglidi','5494072EHxwNp','9fyRKeV','140348JLtiVW','246995qBkHQk','2206584wpheLc'];_0x468d=function(){return _0x205d45;};return _0x468d();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
|
@@ -1 +1 @@
|
||||
'use strict';function _0x541c(){var _0x549e5b=['2661184gIsHiM','75892QhhIPK','1GRDaxi','3999738HJfvPW','81CXiQVB','12GXcViz','27DxWmVn','726954KbLjdZ','205985mtBzSx','7rqDeat','1746720FxORjf','5812268dkGMcz'];_0x541c=function(){return _0x549e5b;};return _0x541c();}function _0x2135(_0x1eee98,_0x2d9e15){var _0x541c5e=_0x541c();return _0x2135=function(_0x2135f5,_0x12f997){_0x2135f5=_0x2135f5-0x102;var _0x263c4f=_0x541c5e[_0x2135f5];return _0x263c4f;},_0x2135(_0x1eee98,_0x2d9e15);}(function(_0x2c4f99,_0x53df02){var _0x4ace5a=_0x2135,_0x44136d=_0x2c4f99();while(!![]){try{var _0x1ab584=parseInt(_0x4ace5a(0x105))/0x1*(parseInt(_0x4ace5a(0x10a))/0x2)+parseInt(_0x4ace5a(0x107))/0x3*(parseInt(_0x4ace5a(0x104))/0x4)+-parseInt(_0x4ace5a(0x10b))/0x5+-parseInt(_0x4ace5a(0x106))/0x6+parseInt(_0x4ace5a(0x10c))/0x7*(parseInt(_0x4ace5a(0x103))/0x8)+-parseInt(_0x4ace5a(0x109))/0x9*(-parseInt(_0x4ace5a(0x10d))/0xa)+-parseInt(_0x4ace5a(0x102))/0xb*(parseInt(_0x4ace5a(0x108))/0xc);if(_0x1ab584===_0x53df02)break;else _0x44136d['push'](_0x44136d['shift']());}catch(_0xc41ffd){_0x44136d['push'](_0x44136d['shift']());}}}(_0x541c,0x7924c));
|
||||
'use strict';function _0x3066(_0x4085c1,_0x50b682){var _0xd50d36=_0xd50d();return _0x3066=function(_0x30661b,_0x181041){_0x30661b=_0x30661b-0x82;var _0x46dd0d=_0xd50d36[_0x30661b];return _0x46dd0d;},_0x3066(_0x4085c1,_0x50b682);}function _0xd50d(){var _0x1c1bed=['292164XJguLG','11UyllcG','2693920MUvkCG','552bXYHTk','9134KXZjIu','6gkjMKK','20thaPMS','166986CikhEp','1613346QthJcO','8397ktXGxn','182ddSNPK','2907110jSQmvu'];_0xd50d=function(){return _0x1c1bed;};return _0xd50d();}(function(_0x3917c5,_0x5285ae){var _0x4a996a=_0x3066,_0x4cb24c=_0x3917c5();while(!![]){try{var _0x422498=-parseInt(_0x4a996a(0x85))/0x1*(parseInt(_0x4a996a(0x8b))/0x2)+-parseInt(_0x4a996a(0x88))/0x3*(-parseInt(_0x4a996a(0x87))/0x4)+-parseInt(_0x4a996a(0x8c))/0x5*(-parseInt(_0x4a996a(0x86))/0x6)+parseInt(_0x4a996a(0x89))/0x7+parseInt(_0x4a996a(0x84))/0x8*(-parseInt(_0x4a996a(0x8a))/0x9)+parseInt(_0x4a996a(0x83))/0xa+parseInt(_0x4a996a(0x82))/0xb*(parseInt(_0x4a996a(0x8d))/0xc);if(_0x422498===_0x5285ae)break;else _0x4cb24c['push'](_0x4cb24c['shift']());}catch(_0x2193b6){_0x4cb24c['push'](_0x4cb24c['shift']());}}}(_0xd50d,0x773ba));
|
@@ -1 +1 @@
|
||||
function _0x2190(){var _0x416016=['6515400yvznvR','291rdBOmW','30200neiKto','286710thhota','10AwrksZ','231FxQMBV','155MYVfZc','4984ujwGim','22Mpolsn','3485718oKRZUL','139232qLxber','1270912VaHiwy'];_0x2190=function(){return _0x416016;};return _0x2190();}(function(_0x5517ba,_0xae5577){var _0x260c87=_0x1e9d,_0x333b55=_0x5517ba();while(!![]){try{var _0xcf71de=-parseInt(_0x260c87(0xcc))/0x1+parseInt(_0x260c87(0xcd))/0x2+parseInt(_0x260c87(0xcf))/0x3*(parseInt(_0x260c87(0xd5))/0x4)+-parseInt(_0x260c87(0xd4))/0x5*(-parseInt(_0x260c87(0xd1))/0x6)+-parseInt(_0x260c87(0xd3))/0x7*(-parseInt(_0x260c87(0xd0))/0x8)+parseInt(_0x260c87(0xcb))/0x9*(-parseInt(_0x260c87(0xd2))/0xa)+-parseInt(_0x260c87(0xd6))/0xb*(parseInt(_0x260c87(0xce))/0xc);if(_0xcf71de===_0xae5577)break;else _0x333b55['push'](_0x333b55['shift']());}catch(_0x39cba3){_0x333b55['push'](_0x333b55['shift']());}}}(_0x2190,0xb70e2));export var GeneralCallResultStatus;function _0x1e9d(_0x3ca8b7,_0x506462){var _0x21908e=_0x2190();return _0x1e9d=function(_0x1e9d92,_0x39d94c){_0x1e9d92=_0x1e9d92-0xcb;var _0x18522b=_0x21908e[_0x1e9d92];return _0x18522b;},_0x1e9d(_0x3ca8b7,_0x506462);}(function(_0x3ccd3b){_0x3ccd3b[_0x3ccd3b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
|
||||
(function(_0x391a57,_0x6f25af){var _0x255c57=_0x4b16,_0x534a32=_0x391a57();while(!![]){try{var _0x20c537=-parseInt(_0x255c57(0x1f4))/0x1*(-parseInt(_0x255c57(0x1f7))/0x2)+parseInt(_0x255c57(0x1f0))/0x3+parseInt(_0x255c57(0x1f6))/0x4*(-parseInt(_0x255c57(0x1f2))/0x5)+parseInt(_0x255c57(0x1ef))/0x6*(parseInt(_0x255c57(0x1f1))/0x7)+parseInt(_0x255c57(0x1ee))/0x8+-parseInt(_0x255c57(0x1f3))/0x9+-parseInt(_0x255c57(0x1f5))/0xa;if(_0x20c537===_0x6f25af)break;else _0x534a32['push'](_0x534a32['shift']());}catch(_0x2207da){_0x534a32['push'](_0x534a32['shift']());}}}(_0x18fe,0x1cdb3));export var GeneralCallResultStatus;function _0x4b16(_0x568505,_0x161581){var _0x18fe2f=_0x18fe();return _0x4b16=function(_0x4b16cf,_0x5791f8){_0x4b16cf=_0x4b16cf-0x1ee;var _0x344ab1=_0x18fe2f[_0x4b16cf];return _0x344ab1;},_0x4b16(_0x568505,_0x161581);}(function(_0x524014){_0x524014[_0x524014['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x18fe(){var _0x532270=['6iAGlDt','73944kKoBoM','1378244fdWHPq','5PfAWKR','1710252btXEld','67395msEsMC','207340eCjJUZ','489908xVSWTv','4LHBguY','760832DdBeWE'];_0x18fe=function(){return _0x532270;};return _0x18fe();}
|
@@ -1 +1 @@
|
||||
(function(_0x25dfcb,_0xe9a1f){var _0x3a9b4a=_0x3af5,_0x2454ad=_0x25dfcb();while(!![]){try{var _0x1d6d9e=-parseInt(_0x3a9b4a(0x18c))/0x1+parseInt(_0x3a9b4a(0x18a))/0x2*(-parseInt(_0x3a9b4a(0x186))/0x3)+parseInt(_0x3a9b4a(0x183))/0x4+parseInt(_0x3a9b4a(0x188))/0x5+parseInt(_0x3a9b4a(0x18b))/0x6*(parseInt(_0x3a9b4a(0x185))/0x7)+parseInt(_0x3a9b4a(0x18d))/0x8*(parseInt(_0x3a9b4a(0x184))/0x9)+-parseInt(_0x3a9b4a(0x187))/0xa*(parseInt(_0x3a9b4a(0x189))/0xb);if(_0x1d6d9e===_0xe9a1f)break;else _0x2454ad['push'](_0x2454ad['shift']());}catch(_0x1f51d3){_0x2454ad['push'](_0x2454ad['shift']());}}}(_0x5e61,0xac666));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x5e61(){var _0x1c2264=['14108391dkCwkU','5134eAIBrW','60KzgHay','844012FBIlFw','677728XkwoYl','1994584jVrWhl','27IfHccT','916468AzrEiv','129dSmOYy','10DJkHlu','4405450GTaDUj'];_0x5e61=function(){return _0x1c2264;};return _0x5e61();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3af5(_0x4e8d50,_0x9f361b){var _0x5e6101=_0x5e61();return _0x3af5=function(_0x3af523,_0x5407f0){_0x3af523=_0x3af523-0x183;var _0x253454=_0x5e6101[_0x3af523];return _0x253454;},_0x3af5(_0x4e8d50,_0x9f361b);}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
|
||||
function _0x3d52(_0xb61914,_0x129b46){var _0x10aab6=_0x10aa();return _0x3d52=function(_0x3d5266,_0x253e4a){_0x3d5266=_0x3d5266-0x1b6;var _0x3b35bc=_0x10aab6[_0x3d5266];return _0x3b35bc;},_0x3d52(_0xb61914,_0x129b46);}(function(_0x519645,_0x55fdca){var _0x3d2806=_0x3d52,_0x5a6a94=_0x519645();while(!![]){try{var _0x106d48=parseInt(_0x3d2806(0x1bc))/0x1+-parseInt(_0x3d2806(0x1b9))/0x2+-parseInt(_0x3d2806(0x1b6))/0x3+-parseInt(_0x3d2806(0x1b8))/0x4*(parseInt(_0x3d2806(0x1b7))/0x5)+parseInt(_0x3d2806(0x1ba))/0x6+parseInt(_0x3d2806(0x1bd))/0x7+parseInt(_0x3d2806(0x1bb))/0x8;if(_0x106d48===_0x55fdca)break;else _0x5a6a94['push'](_0x5a6a94['shift']());}catch(_0x135a6b){_0x5a6a94['push'](_0x5a6a94['shift']());}}}(_0x10aa,0xa0db1));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x10aa(){var _0x74fdda=['1224735gyuUtW','20sRNnPh','1033618DjGQRi','2116794ImqaKw','14516376MHTqWD','514963qMqIxt','5454246schKip','3183234bQmZxA'];_0x10aa=function(){return _0x74fdda;};return _0x10aa();}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
const _0x47bffc=_0xdb04;function _0xf51c(){const _0x5c97a5=['napcat_','777304gZfuAx','14320ObkOJz','5jjYTkL','2724956cCHeVL','1538094pkQxBO','INFO','DEBUG','2072151ceixng','7456484yYelfJ','uin','3996600erTjMj','12735bMSRSC','getConfigPath','fileLog','fileLogLevel','consoleLog'];_0xf51c=function(){return _0x5c97a5;};return _0xf51c();}(function(_0x3335eb,_0x166d8f){const _0x22cb76=_0xdb04,_0x598e91=_0x3335eb();while(!![]){try{const _0x3f97c5=parseInt(_0x22cb76(0x87))/0x1+parseInt(_0x22cb76(0x8b))/0x2+parseInt(_0x22cb76(0x8e))/0x3+parseInt(_0x22cb76(0x8a))/0x4+-parseInt(_0x22cb76(0x89))/0x5*(parseInt(_0x22cb76(0x91))/0x6)+parseInt(_0x22cb76(0x8f))/0x7+-parseInt(_0x22cb76(0x88))/0x8*(parseInt(_0x22cb76(0x92))/0x9);if(_0x3f97c5===_0x166d8f)break;else _0x598e91['push'](_0x598e91['shift']());}catch(_0x563cac){_0x598e91['push'](_0x598e91['shift']());}}}(_0xf51c,0xbf8b9));import _0x1273c1 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0xdb04(_0x28e704,_0x353d66){const _0xf51ce0=_0xf51c();return _0xdb04=function(_0xdb042c,_0x5884d7){_0xdb042c=_0xdb042c-0x86;let _0x14e5cd=_0xf51ce0[_0xdb042c];return _0x14e5cd;},_0xdb04(_0x28e704,_0x353d66);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x47bffc(0x94)]=!![];[_0x47bffc(0x96)]=!![];[_0x47bffc(0x95)]=LogLevel[_0x47bffc(0x8d)];['consoleLogLevel']=LogLevel[_0x47bffc(0x8c)];constructor(){super();}[_0x47bffc(0x93)](){const _0x3f6f17=_0x47bffc;return _0x1273c1['join'](this['getConfigDir'](),_0x3f6f17(0x86)+selfInfo[_0x3f6f17(0x90)]+'.json');}}export const napCatConfig=new Config();
|
||||
const _0x12b47f=_0x452e;(function(_0x503a1d,_0x5b97ac){const _0x5f14a4=_0x452e,_0x49eca5=_0x503a1d();while(!![]){try{const _0x397182=parseInt(_0x5f14a4(0xbc))/0x1+-parseInt(_0x5f14a4(0xbb))/0x2+parseInt(_0x5f14a4(0xbe))/0x3+parseInt(_0x5f14a4(0xb8))/0x4*(parseInt(_0x5f14a4(0xb4))/0x5)+parseInt(_0x5f14a4(0xb9))/0x6+parseInt(_0x5f14a4(0xb3))/0x7+parseInt(_0x5f14a4(0xb7))/0x8*(-parseInt(_0x5f14a4(0xc1))/0x9);if(_0x397182===_0x5b97ac)break;else _0x49eca5['push'](_0x49eca5['shift']());}catch(_0x2c2117){_0x49eca5['push'](_0x49eca5['shift']());}}}(_0x5502,0x69e05));function _0x452e(_0x147b51,_0x5d8919){const _0x550215=_0x5502();return _0x452e=function(_0x452e28,_0x20beb5){_0x452e28=_0x452e28-0xb2;let _0x3caf01=_0x550215[_0x452e28];return _0x3caf01;},_0x452e(_0x147b51,_0x5d8919);}import _0xcad753 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x5502(){const _0x165eee=['fileLogLevel','fileLog','1631231kjYRrM','91345OJygmA','.json','consoleLogLevel','8uRphSC','140iQLnKh','4028676TFXPhZ','napcat_','1378532MDTDVi','150135OhHNPg','join','470700PfYgnf','getConfigDir','INFO','6551946gvXOPA'];_0x5502=function(){return _0x165eee;};return _0x5502();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x12b47f(0xb2)]=!![];['consoleLog']=!![];[_0x12b47f(0xc2)]=LogLevel['DEBUG'];[_0x12b47f(0xb6)]=LogLevel[_0x12b47f(0xc0)];constructor(){super();}['getConfigPath'](){const _0x53eb78=_0x12b47f;return _0xcad753[_0x53eb78(0xbd)](this[_0x53eb78(0xbf)](),_0x53eb78(0xba)+selfInfo['uin']+_0x53eb78(0xb5));}}export const napCatConfig=new Config();
|
@@ -1 +1 @@
|
||||
const _0xb21765=_0xf2ab;(function(_0xf3e40a,_0x5134de){const _0x66f849=_0xf2ab,_0x58c480=_0xf3e40a();while(!![]){try{const _0x1b5981=-parseInt(_0x66f849(0x1ce))/0x1*(-parseInt(_0x66f849(0x1d3))/0x2)+parseInt(_0x66f849(0x1c3))/0x3*(parseInt(_0x66f849(0x1d1))/0x4)+parseInt(_0x66f849(0x1cf))/0x5+-parseInt(_0x66f849(0x1c5))/0x6*(-parseInt(_0x66f849(0x1bc))/0x7)+-parseInt(_0x66f849(0x1c0))/0x8+-parseInt(_0x66f849(0x1c7))/0x9+-parseInt(_0x66f849(0x1cd))/0xa;if(_0x1b5981===_0x5134de)break;else _0x58c480['push'](_0x58c480['shift']());}catch(_0x353d76){_0x58c480['push'](_0x58c480['shift']());}}}(_0x41ab,0x9b6e8));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x41ab(){const _0xb1220a=['ApsZW','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','7259350DfwLBM','1kIYKqg','2883425Xkbomi','HttpGetJson','508fWhMdn','rkeyData','145686YfmOTc','968359rElDcY','uWlkq','GET','refreshRkey','7703232mBgheC','expired_time','getTime','25233KhYtfC','isExpired','36YvjGAo','arRzp','2000340uwYpot','getRkey','serverUrl'];_0x41ab=function(){return _0xb1220a;};return _0x41ab();}class RkeyManager{[_0xb21765(0x1c9)]='';[_0xb21765(0x1d2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x36bc67){const _0x2594c6=_0xb21765;this[_0x2594c6(0x1c9)]=_0x36bc67;}async[_0xb21765(0x1c8)](){const _0x4150d2=_0xb21765,_0x2762dd={'uWlkq':function(_0x24157b,_0x329e26,_0x9c3284){return _0x24157b(_0x329e26,_0x9c3284);},'arRzp':_0x4150d2(0x1cc)};if(this[_0x4150d2(0x1c4)]())try{await this[_0x4150d2(0x1bf)]();}catch(_0x29b2fa){_0x2762dd[_0x4150d2(0x1bd)](logError,_0x2762dd[_0x4150d2(0x1c6)],_0x29b2fa);}return this['rkeyData'];}[_0xb21765(0x1c4)](){const _0x3c1d95=_0xb21765,_0x4a3662={'CduvW':function(_0xbe0b02,_0x4e53b2){return _0xbe0b02/_0x4e53b2;}},_0x3bf0f6=_0x4a3662['CduvW'](new Date()[_0x3c1d95(0x1c2)](),0x3e8);return _0x3bf0f6>this[_0x3c1d95(0x1d2)][_0x3c1d95(0x1c1)];}async[_0xb21765(0x1bf)](){const _0xd80f60=_0xb21765,_0xe860da={'ApsZW':_0xd80f60(0x1be)};this['rkeyData']=await RequestUtil[_0xd80f60(0x1d0)](this[_0xd80f60(0x1c9)],_0xe860da[_0xd80f60(0x1ca)]);}}function _0xf2ab(_0x30e0bc,_0x3d439c){const _0x41ab33=_0x41ab();return _0xf2ab=function(_0xf2aba4,_0x345f82){_0xf2aba4=_0xf2aba4-0x1bc;let _0x5c49cb=_0x41ab33[_0xf2aba4];return _0x5c49cb;},_0xf2ab(_0x30e0bc,_0x3d439c);}export const rkeyManager=new RkeyManager(_0xb21765(0x1cb));
|
||||
const _0x4fc65b=_0x538d;(function(_0x5de398,_0x22763c){const _0x77f7ba=_0x538d,_0x13efed=_0x5de398();while(!![]){try{const _0x4d50cc=-parseInt(_0x77f7ba(0x127))/0x1*(parseInt(_0x77f7ba(0x124))/0x2)+parseInt(_0x77f7ba(0x122))/0x3+-parseInt(_0x77f7ba(0x11a))/0x4+parseInt(_0x77f7ba(0x12b))/0x5+-parseInt(_0x77f7ba(0x125))/0x6+-parseInt(_0x77f7ba(0x117))/0x7*(parseInt(_0x77f7ba(0x129))/0x8)+parseInt(_0x77f7ba(0x119))/0x9;if(_0x4d50cc===_0x22763c)break;else _0x13efed['push'](_0x13efed['shift']());}catch(_0xcaddfe){_0x13efed['push'](_0x13efed['shift']());}}}(_0x247c,0x84cd9));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x538d(_0x5aa9fa,_0x501faf){const _0x247c02=_0x247c();return _0x538d=function(_0x538d4b,_0x4c887b){_0x538d4b=_0x538d4b-0x116;let _0x403dff=_0x247c02[_0x538d4b];return _0x403dff;},_0x538d(_0x5aa9fa,_0x501faf);}class RkeyManager{['serverUrl']='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x9b47ee){const _0x4f011b=_0x538d;this[_0x4f011b(0x118)]=_0x9b47ee;}async[_0x4fc65b(0x11f)](){const _0x310318=_0x4fc65b,_0x246a84={'vuFgI':function(_0x385014,_0x249642,_0x5b9d46){return _0x385014(_0x249642,_0x5b9d46);},'NrEoF':_0x310318(0x11d)};if(this[_0x310318(0x123)]())try{await this[_0x310318(0x121)]();}catch(_0x44e1e0){_0x246a84['vuFgI'](logError,_0x246a84['NrEoF'],_0x44e1e0);}return this[_0x310318(0x128)];}['isExpired'](){const _0x1cb3c8=_0x4fc65b,_0x175eb3={'WIdkk':function(_0x6cbf9b,_0x1a3259){return _0x6cbf9b/_0x1a3259;},'MOroK':function(_0x2b8112,_0x3f473d){return _0x2b8112>_0x3f473d;}},_0x3485c7=_0x175eb3[_0x1cb3c8(0x12a)](new Date()[_0x1cb3c8(0x11e)](),0x3e8);return _0x175eb3[_0x1cb3c8(0x11b)](_0x3485c7,this[_0x1cb3c8(0x128)][_0x1cb3c8(0x116)]);}async[_0x4fc65b(0x121)](){const _0x36db4e=_0x4fc65b,_0x56e105={'TrwpU':_0x36db4e(0x120)};this[_0x36db4e(0x128)]=await RequestUtil[_0x36db4e(0x11c)](this['serverUrl'],_0x56e105['TrwpU']);}}export const rkeyManager=new RkeyManager(_0x4fc65b(0x126));function _0x247c(){const _0x4b4e1d=['1171317iKOeSi','isExpired','96wKzSvq','1176774rbQiHh','http://napcat-sign.wumiao.wang:2082/rkey','8920nPIQmr','rkeyData','8OlhatS','WIdkk','3408130liywFv','expired_time','1783327RmBsMp','serverUrl','7707546KjoRJk','2021792RWciqU','MOroK','HttpGetJson','获取rkey失败','getTime','getRkey','GET','refreshRkey'];_0x247c=function(){return _0x4b4e1d;};return _0x247c();}
|
@@ -1 +1 @@
|
||||
const _0x42aae0=_0x5423;(function(_0x38d2a4,_0x49699a){const _0x4585dd=_0x5423,_0x4ca49e=_0x38d2a4();while(!![]){try{const _0x50e82d=parseInt(_0x4585dd(0x7d))/0x1*(parseInt(_0x4585dd(0x72))/0x2)+parseInt(_0x4585dd(0x81))/0x3+-parseInt(_0x4585dd(0x6c))/0x4+parseInt(_0x4585dd(0x7e))/0x5*(-parseInt(_0x4585dd(0x7f))/0x6)+-parseInt(_0x4585dd(0x7c))/0x7*(-parseInt(_0x4585dd(0x70))/0x8)+-parseInt(_0x4585dd(0x6d))/0x9+-parseInt(_0x4585dd(0x7a))/0xa*(-parseInt(_0x4585dd(0x82))/0xb);if(_0x50e82d===_0x49699a)break;else _0x4ca49e['push'](_0x4ca49e['shift']());}catch(_0x10ece4){_0x4ca49e['push'](_0x4ca49e['shift']());}}}(_0x13c1,0xbbee3));import _0xb34a9c from'node:path';import _0x271f26 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x42aae0(0x80)]),__dirname=dirname(__filename);function _0x13c1(){const _0x526d55=['1KLymfW','80quKTrf','208800EwigUN','url','1610304pDlhax','11XKPaLf','/wrapper.node','file://','1620428KOyrgf','8393895bUjqQz','join','curVersion','8RdMOUb','replace','2840262ARFljA','execPath','resolve','\x0amodule.exports\x20=\x20require(\x22','resources/app/versions/','\x22);\x0aexports\x20=\x20module.exports;\x0a','default','./resources/app/wrapper.node','212930fULyof','dirname','4802931kDTXkr'];_0x13c1=function(){return _0x526d55;};return _0x13c1();}function _0x5423(_0x3b0779,_0x1e6929){const _0x13c17d=_0x13c1();return _0x5423=function(_0x54234b,_0x5c8647){_0x54234b=_0x54234b-0x6b;let _0x25ef9c=_0x13c17d[_0x54234b];return _0x25ef9c;},_0x5423(_0x3b0779,_0x1e6929);}let wrapperNodePath=_0xb34a9c[_0x42aae0(0x74)](_0xb34a9c['dirname'](process[_0x42aae0(0x73)]),_0x42aae0(0x79));!_0x271f26['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xb34a9c[_0x42aae0(0x6e)](_0xb34a9c[_0x42aae0(0x7b)](process[_0x42aae0(0x73)]),_0x42aae0(0x76)+qqVersionConfigInfo[_0x42aae0(0x6f)]+_0x42aae0(0x83)));let WrapperLoader=_0xb34a9c[_0x42aae0(0x6e)](__dirname,'WrapperLoader.cjs');_0x271f26['writeFileSync'](WrapperLoader,_0x42aae0(0x75)+wrapperNodePath[_0x42aae0(0x71)](/\\/g,'\x5c\x5c')+_0x42aae0(0x77));const QQWrapper=(await import(_0x42aae0(0x6b)+WrapperLoader))[_0x42aae0(0x78)];export default QQWrapper;
|
||||
const _0x1189f3=_0x235e;function _0x235e(_0x57d9c5,_0x50a4d4){const _0x34882b=_0x3488();return _0x235e=function(_0x235e07,_0x3b422d){_0x235e07=_0x235e07-0x6c;let _0x2551fc=_0x34882b[_0x235e07];return _0x2551fc;},_0x235e(_0x57d9c5,_0x50a4d4);}(function(_0x264544,_0x450d0d){const _0x61c0c5=_0x235e,_0x4717fd=_0x264544();while(!![]){try{const _0x14856b=-parseInt(_0x61c0c5(0x81))/0x1*(-parseInt(_0x61c0c5(0x80))/0x2)+-parseInt(_0x61c0c5(0x79))/0x3*(parseInt(_0x61c0c5(0x75))/0x4)+-parseInt(_0x61c0c5(0x70))/0x5*(-parseInt(_0x61c0c5(0x73))/0x6)+-parseInt(_0x61c0c5(0x71))/0x7+parseInt(_0x61c0c5(0x7f))/0x8+parseInt(_0x61c0c5(0x72))/0x9+-parseInt(_0x61c0c5(0x76))/0xa;if(_0x14856b===_0x450d0d)break;else _0x4717fd['push'](_0x4717fd['shift']());}catch(_0x194077){_0x4717fd['push'](_0x4717fd['shift']());}}}(_0x3488,0x2d9c7));import _0x2b4547 from'node:path';import _0xfcf4c0 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';function _0x3488(){const _0x2c74bb=['3218810xqFGBr','default','WrapperLoader.cjs','3cjYYjm','curVersion','join','\x0amodule.exports\x20=\x20require(\x22','resources/app/versions/','file://','2168288MPMDTk','5718uagmXL','14BNpqAA','/wrapper.node','writeFileSync','url','replace','dirname','112615nBzcqM','823445pYtpOh','2262060OHdlPB','30SrEhBn','execPath','194712hvzevG'];_0x3488=function(){return _0x2c74bb;};return _0x3488();}import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x1189f3(0x6d)]),__dirname=dirname(__filename);let wrapperNodePath=_0x2b4547['resolve'](_0x2b4547[_0x1189f3(0x6f)](process['execPath']),'./resources/app/wrapper.node');!_0xfcf4c0['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x2b4547[_0x1189f3(0x7b)](_0x2b4547[_0x1189f3(0x6f)](process[_0x1189f3(0x74)]),_0x1189f3(0x7d)+qqVersionConfigInfo[_0x1189f3(0x7a)]+_0x1189f3(0x82)));let WrapperLoader=_0x2b4547[_0x1189f3(0x7b)](__dirname,_0x1189f3(0x78));_0xfcf4c0[_0x1189f3(0x6c)](WrapperLoader,_0x1189f3(0x7c)+wrapperNodePath[_0x1189f3(0x6e)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x1189f3(0x7e)+WrapperLoader))[_0x1189f3(0x77)];export default QQWrapper;
|
@@ -1,12 +1,22 @@
|
||||
import { rawFriends } from '@/core/data';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { BuddyCategoryType } from '@/core/entities/';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import { NTQQFriendApi } from '@/core';
|
||||
|
||||
export class GetFriendWithCategory extends BaseAction<void, Array<BuddyCategoryType>> {
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
no_cache: { type: ['boolean', 'string'] },
|
||||
}
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
export class GetFriendWithCategory extends BaseAction<Payload, BuddyCategoryType[]> {
|
||||
actionName = ActionName.GetFriendsWithCategory;
|
||||
|
||||
protected async _handle(payload: void) {
|
||||
return rawFriends;
|
||||
protected async _handle(payload: Payload) {
|
||||
return await NTQQFriendApi.getFriendsRaw(payload?.no_cache?.toString() === 'true');
|
||||
}
|
||||
}
|
||||
|
@@ -1,13 +1,12 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { OB11Message, OB11User } from '../../types';
|
||||
import { getGroup, groups } from '@/core/data';
|
||||
import { ActionName } from '../types';
|
||||
import { ChatType } from '@/core/entities';
|
||||
import { dbUtil } from '@/common/utils/db';
|
||||
import { NTQQMsgApi } from '@/core/apis/msg';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import { logDebug } from '@/common/utils/log';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import { NTQQGroupApi } from '@/core';
|
||||
interface Response {
|
||||
messages: OB11Message[];
|
||||
}
|
||||
@@ -28,7 +27,7 @@ export default class GoCQHTTPGetGroupMsgHistory extends BaseAction<Payload, Resp
|
||||
actionName = ActionName.GoCQHTTP_GetGroupMsgHistory;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload): Promise<Response> {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString());
|
||||
if (!group) {
|
||||
throw `群${payload.group_id}不存在`;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { getGroup } from '@/core/data';
|
||||
import { ActionName } from '../types';
|
||||
import { SendMsgElementConstructor } from '@/core/entities/constructor';
|
||||
import { ChatType, SendFileElement } from '@/core/entities';
|
||||
@@ -7,6 +6,7 @@ import fs from 'fs';
|
||||
import { SendMsg, sendMsg } from '@/onebot11/action/msg/SendMsg';
|
||||
import { uri2local } from '@/common/utils/file';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import { NTQQGroupApi } from '@/core';
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
@@ -25,7 +25,7 @@ export default class GoCQHTTPUploadGroupFile extends BaseAction<Payload, null> {
|
||||
actionName = ActionName.GoCQHTTP_UploadGroupFile;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload): Promise<null> {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString());
|
||||
if (!group) {
|
||||
throw new Error(`群组${payload.group_id}不存在`);
|
||||
}
|
||||
|
@@ -1,9 +1,10 @@
|
||||
import { getGroup } from '@/core/data';
|
||||
|
||||
import { OB11Group } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import { NTQQGroupApi } from '@/core';
|
||||
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
@@ -19,7 +20,7 @@ class GetGroupInfo extends BaseAction<Payload, OB11Group> {
|
||||
actionName = ActionName.GetGroupInfo;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString());
|
||||
if (group) {
|
||||
return OB11Constructor.group(group);
|
||||
} else {
|
||||
|
@@ -2,7 +2,6 @@ import { OB11Group } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { groups } from '@/core/data';
|
||||
import { NTQQGroupApi } from '@/core/apis';
|
||||
import { Group } from '@/core/entities';
|
||||
import { log } from '@/common/utils/log';
|
||||
@@ -21,7 +20,7 @@ class GetGroupList extends BaseAction<Payload, OB11Group[]> {
|
||||
actionName = ActionName.GetGroupList;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
let groupList: Group[] = Array.from(groups.values());
|
||||
let groupList: Group[] = await NTQQGroupApi.getGroups();
|
||||
if (groupList.length === 0 || payload?.no_cache === true || payload.no_cache === 'true') {
|
||||
groupList = await NTQQGroupApi.getGroups(true);
|
||||
// log('get groups', groups);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { OB11GroupMember } from '../../types';
|
||||
import { getGroup, getGroupMember, groupMembers } from '@/core/data';
|
||||
import { getGroupMember, groupMembers } from '@/core/data';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
@@ -27,7 +27,7 @@ class GetGroupMemberInfo extends BaseAction<Payload, OB11GroupMember> {
|
||||
actionName = ActionName.GetGroupMemberInfo;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString());
|
||||
if (!group) {
|
||||
throw (`群(${payload.group_id})不存在`);
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { getGroup, getGroupMember, groupMembers, selfInfo } from '@/core/data';
|
||||
import { getGroupMember, groupMembers, selfInfo } from '@/core/data';
|
||||
import { OB11GroupMember } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import BaseAction from '../BaseAction';
|
||||
@@ -28,7 +28,7 @@ class GetGroupMemberList extends BaseAction<Payload, OB11GroupMember[]> {
|
||||
protected async _handle(payload: Payload) {
|
||||
const role = (await getGroupMember(payload.group_id, selfInfo.uin))?.role;
|
||||
|
||||
const group = await getGroup(payload.group_id.toString());
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString());
|
||||
if (!group) {
|
||||
throw (`群${payload.group_id}不存在`);
|
||||
}
|
||||
@@ -82,7 +82,7 @@ class GetGroupMemberList extends BaseAction<Payload, OB11GroupMember[]> {
|
||||
// }
|
||||
|
||||
// _groupMembers = Array.from(retData);
|
||||
|
||||
|
||||
_groupMembers = Array.from(MemberMap.values());
|
||||
return _groupMembers;
|
||||
}
|
||||
|
@@ -7,9 +7,8 @@ import {
|
||||
OB11PostSendMsg
|
||||
} from '@/onebot11/types';
|
||||
import { ActionName, BaseCheckResult } from '@/onebot11/action/types';
|
||||
import { getGroup } from '@/core/data';
|
||||
import { dbUtil } from '@/common/utils/db';
|
||||
import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core';
|
||||
import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core';
|
||||
import fs from 'node:fs';
|
||||
import { logDebug, logError } from '@/common/utils/log';
|
||||
import { decodeCQCode } from '@/onebot11/cqcode';
|
||||
@@ -79,7 +78,7 @@ async function createContext(payload: OB11PostSendMsg): Promise<{
|
||||
// This redundant design of Ob11 here should be blamed.
|
||||
|
||||
if (payload.group_id) { // take this as a group message
|
||||
const group = (await getGroup(payload.group_id))!; // checked before
|
||||
const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString())!; // checked before
|
||||
return {
|
||||
peer: {
|
||||
chatType: ChatType.group,
|
||||
@@ -116,7 +115,8 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
|
||||
if (nodeElementLength > 0 && nodeElementLength != messages.length) {
|
||||
return { valid: false, message: '转发消息不能和普通消息混在一起发送,转发需要保证message只有type为node的元素' };
|
||||
}
|
||||
if (payload.message_type !== 'private' && payload.group_id && !(await getGroup(payload.group_id))) {
|
||||
if (payload.message_type !== 'private' && payload.group_id && !(
|
||||
(await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id!.toString()))) {
|
||||
return { valid: false, message: `群${payload.group_id}不存在` };
|
||||
}
|
||||
if (payload.user_id && payload.message_type !== 'group') {
|
||||
|
@@ -1,6 +1,5 @@
|
||||
import { OB11User } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import { friends } from '@/core/data';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { NTQQFriendApi } from '@/core';
|
||||
@@ -20,16 +19,6 @@ export default class GetFriendList extends BaseAction<Payload, OB11User[]> {
|
||||
actionName = ActionName.GetFriendList;
|
||||
PayloadSchema = SchemaData;
|
||||
protected async _handle(payload: Payload) {
|
||||
if (friends.size === 0 || payload?.no_cache === true || payload?.no_cache === 'true') {
|
||||
const _friends = await NTQQFriendApi.getFriends(true);
|
||||
// log('强制刷新好友列表,结果: ', _friends)
|
||||
if (_friends.length > 0) {
|
||||
friends.clear();
|
||||
for (const friend of _friends) {
|
||||
friends.set(friend.uid, friend);
|
||||
}
|
||||
}
|
||||
}
|
||||
return OB11Constructor.friends(Array.from(friends.values()));
|
||||
return OB11Constructor.friends(await NTQQFriendApi.getFriends(payload?.no_cache?.toString() === 'true'));
|
||||
}
|
||||
}
|
||||
|
@@ -31,7 +31,6 @@ import { OB11GroupIncreaseEvent } from './event/notice/OB11GroupIncreaseEvent';
|
||||
import { OB11GroupBanEvent } from './event/notice/OB11GroupBanEvent';
|
||||
import { OB11GroupUploadNoticeEvent } from './event/notice/OB11GroupUploadNoticeEvent';
|
||||
import { OB11GroupNoticeEvent } from './event/notice/OB11GroupNoticeEvent';
|
||||
|
||||
import { calcQQLevel } from '../common/utils/qqlevel';
|
||||
import { log, logDebug, logError } from '../common/utils/log';
|
||||
import { sleep } from '../common/utils/helper';
|
||||
@@ -39,7 +38,7 @@ import { OB11GroupTitleEvent } from './event/notice/OB11GroupTitleEvent';
|
||||
import { OB11GroupCardEvent } from './event/notice/OB11GroupCardEvent';
|
||||
import { OB11GroupDecreaseEvent } from './event/notice/OB11GroupDecreaseEvent';
|
||||
import { ob11Config } from '@/onebot11/config';
|
||||
import { deleteGroup, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data';
|
||||
import { getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data';
|
||||
import { NTQQFileApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis';
|
||||
import { OB11GroupMsgEmojiLikeEvent } from '@/onebot11/event/notice/OB11MsgEmojiLikeEvent';
|
||||
import { napCatCore } from '@/core';
|
||||
@@ -162,7 +161,6 @@ export class OB11Constructor {
|
||||
message_data['type'] = 'image';
|
||||
// message_data["data"]["file"] = element.picElement.sourcePath
|
||||
message_data['data']['file'] = element.picElement.fileName;
|
||||
message_data['subType']= element.picElement.picSubType;
|
||||
// message_data["data"]["path"] = element.picElement.sourcePath
|
||||
// let currentRKey = "CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64"
|
||||
|
||||
@@ -349,7 +347,8 @@ export class OB11Constructor {
|
||||
}
|
||||
else if (groupElement.type == TipGroupElementType.kicked) {
|
||||
logDebug(`收到我被踢出或退群提示, 群${msg.peerUid}`, groupElement);
|
||||
deleteGroup(msg.peerUid);
|
||||
await NTQQGroupApi.getGroups(true);
|
||||
//deleteGroup(msg.peerUid);
|
||||
NTQQGroupApi.quitGroup(msg.peerUid).then();
|
||||
try {
|
||||
const adminUin = (await getGroupMember(msg.peerUid, groupElement.adminUid))?.uin || (await NTQQUserApi.getUidByUin(groupElement.adminUid));
|
||||
|
@@ -1,8 +1,7 @@
|
||||
import { OB11Message } from '@/onebot11/types';
|
||||
import { log } from '@/common/utils/log';
|
||||
import { getGroup, getGroupMember, selfInfo } from '@/core/data';
|
||||
import exp from 'constants';
|
||||
import { Group } from '@/core';
|
||||
import { getGroupMember, selfInfo } from '@/core/data';
|
||||
import { Group, NTQQGroupApi } from '@/core';
|
||||
import chalk from 'chalk';
|
||||
|
||||
const spSegColor = chalk.blue;// for special segment
|
||||
@@ -24,7 +23,8 @@ export async function logMessage(ob11Message: OB11Message) {
|
||||
}
|
||||
}
|
||||
if (ob11Message.message_type === 'group') {
|
||||
group = await getGroup(ob11Message.group_id!);
|
||||
group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == ob11Message.group_id!.toString());
|
||||
// group = await getGroup(ob11Message.group_id!);
|
||||
prefix += `群[${group?.groupName}(${ob11Message.group_id})] `;
|
||||
}
|
||||
let msgChain = '';
|
||||
|
@@ -19,7 +19,7 @@ import { OB11Config, ob11Config } from '@/onebot11/config';
|
||||
import { httpHeart, ob11HTTPServer } from '@/onebot11/server/http';
|
||||
import { ob11WebsocketServer } from '@/onebot11/server/ws/WebsocketServer';
|
||||
import { ob11ReverseWebsockets } from '@/onebot11/server/ws/ReverseWebsocket';
|
||||
import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data';
|
||||
import { getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data';
|
||||
import { dbUtil } from '@/common/utils/db';
|
||||
import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners';
|
||||
import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest';
|
||||
@@ -114,8 +114,11 @@ export class NapCatOnebot11 {
|
||||
// }
|
||||
// };
|
||||
try {
|
||||
// 生产环境会自己去掉
|
||||
const hex = buf2hex(Buffer.from(protobufData));
|
||||
let hex = buf2hex(Buffer.from(protobufData));
|
||||
// if (import.meta.env.MODE == 'development') {
|
||||
// logDebug(buf2hex(Buffer.from(protobufData)));
|
||||
// }
|
||||
//console.log(hex);
|
||||
const sysMsg = SysData.fromBinary(Buffer.from(protobufData));
|
||||
const peeruin = sysMsg.header[0].peerNumber;
|
||||
const peeruid = sysMsg.header[0].peerString;
|
||||
@@ -124,29 +127,33 @@ export class NapCatOnebot11 {
|
||||
const subType1 = sysMsg.body[0].subType1;
|
||||
let pokeEvent: OB11FriendPokeEvent | OB11GroupPokeEvent;
|
||||
//console.log(peeruid);
|
||||
if (MsgType == 528 && subType0 == 290 && hex.length < 250 && hex.endsWith('04')) {
|
||||
// 防止上报两次 私聊戳一戳
|
||||
if (PokeCache.has(peeruid)) {
|
||||
log('[私聊] 用户 ', peeruin, ' 对你戳一戳');
|
||||
pokeEvent = new OB11FriendPokeEvent(peeruin);
|
||||
postOB11Event(pokeEvent);
|
||||
if (MsgType == 528 && subType0 == 290) {
|
||||
// 这里不知道怎么也会有奇怪的信息乱来 04结尾就是没有content
|
||||
if (hex.length < 250 && hex.endsWith('04')) {
|
||||
if (!PokeCache.has(peeruid)) {
|
||||
log('[私聊] 用户 ', peeruin, ' 对你戳一戳');
|
||||
pokeEvent = new OB11FriendPokeEvent(peeruin);
|
||||
postOB11Event(pokeEvent);
|
||||
}
|
||||
PokeCache.set(peeruid, false);
|
||||
setTimeout(() => {
|
||||
PokeCache.delete(peeruid)
|
||||
}, 1000);
|
||||
}
|
||||
PokeCache.set(peeruid, false);
|
||||
setTimeout(() => {
|
||||
PokeCache.delete(peeruid);
|
||||
}, 1000);
|
||||
}
|
||||
if (MsgType == 732 && subType0 == 20 && hex.length < 150 && hex.endsWith('04')) {
|
||||
// 防止上报两次 群聊戳一戳
|
||||
if (PokeCache.has(peeruid)) {
|
||||
log('[群聊] 群组 ', peeruin, ' 戳一戳');
|
||||
pokeEvent = new OB11GroupPokeEvent(peeruin);
|
||||
postOB11Event(pokeEvent);
|
||||
if (MsgType == 732 && subType0 == 20) {
|
||||
// GroupCommonTip 由于GroupPoke没有关键内容 所以混在一起 小包且无内容为poke
|
||||
if (hex.length < 150 && hex.endsWith('04')) {
|
||||
if (PokeCache.has(peeruid)) {
|
||||
log('[群聊] 群组 ', peeruin, ' 戳一戳');
|
||||
pokeEvent = new OB11GroupPokeEvent(peeruin);
|
||||
postOB11Event(pokeEvent);
|
||||
}
|
||||
PokeCache.set(peeruid, false);
|
||||
setTimeout(() => {
|
||||
PokeCache.delete(peeruid)
|
||||
}, 1000);
|
||||
}
|
||||
PokeCache.set(peeruid, false);
|
||||
setTimeout(() => {
|
||||
PokeCache.delete(peeruid);
|
||||
}, 1000);
|
||||
}
|
||||
if (MsgType == 528 && subType0 == 349) {
|
||||
const sysDeviceMsg = DeviceData.fromBinary(Buffer.from(protobufData));
|
||||
@@ -433,7 +440,7 @@ export class NapCatOnebot11 {
|
||||
// member1.role = notify.type == GroupNotifyTypes.ADMIN_SET ? GroupMemberRole.admin : GroupMemberRole.normal;
|
||||
postOB11Event(groupAdminNoticeEvent, true);
|
||||
} else {
|
||||
logDebug('获取群通知的成员信息失败', notify, getGroup(notify.group.groupCode));
|
||||
logDebug('获取群通知的成员信息失败', notify, (notify.group.groupCode));
|
||||
}
|
||||
} else if (notify.type == GroupNotifyTypes.MEMBER_EXIT || notify.type == GroupNotifyTypes.KICK_MEMBER) {
|
||||
logDebug('有成员退出通知', notify);
|
||||
@@ -577,5 +584,6 @@ export class NapCatOnebot11 {
|
||||
// console.log(ret);
|
||||
// }, 20000);
|
||||
// setTimeout(async () => {
|
||||
// await SignMusicWrapper('429450678');
|
||||
// let t =await SignMusicWrapper('429450678');
|
||||
// console.log(t)
|
||||
// }, 15000)
|
@@ -12,7 +12,7 @@ import { OB11FriendRequestEvent } from '../event/request/OB11FriendRequest';
|
||||
import { OB11GroupRequestEvent } from '../event/request/OB11GroupRequest';
|
||||
import { isNull } from '@/common/utils/helper';
|
||||
import { dbUtil } from '@/common/utils/db';
|
||||
import { getGroup, groupNotifies, selfInfo } from '@/core/data';
|
||||
import { groupNotifies, selfInfo } from '@/core/data';
|
||||
import { NTQQFriendApi, NTQQGroupApi, NTQQUserApi } from '@/core/apis';
|
||||
import createSendElements from '../action/msg/SendMsg/create-send-elements';
|
||||
|
||||
@@ -144,7 +144,9 @@ async function handleMsg(msg: OB11Message, quickAction: QuickAction) {
|
||||
let replyMessage: OB11MessageData[] = [];
|
||||
|
||||
if (msg.message_type == 'group') {
|
||||
group = await getGroup(msg.group_id!.toString());
|
||||
group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == msg.group_id!.toString());
|
||||
//筛选
|
||||
//group = await getGroup(msg.group_id!.toString());
|
||||
replyMessage.push({
|
||||
type: 'reply',
|
||||
data: {
|
||||
|
@@ -1 +1 @@
|
||||
export const version = '1.6.1';
|
||||
export const version = '1.5.9';
|
||||
|
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
undefined,
|
||||
SettingButton('V1.6.1', 'napcat-update-button', 'secondary')
|
||||
SettingButton('V1.5.9', 'napcat-update-button', 'secondary')
|
||||
),
|
||||
]),
|
||||
SettingList([
|
||||
|
@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
void 0,
|
||||
SettingButton("V1.6.1", "napcat-update-button", "secondary")
|
||||
SettingButton("V1.5.9", "napcat-update-button", "secondary")
|
||||
)
|
||||
]),
|
||||
SettingList([
|
||||
|
Reference in New Issue
Block a user