From daab5d150b1b55eff8475000eccf8d83d5e32a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 9 Jun 2024 19:13:49 +0800 Subject: [PATCH] refactor: friend add --- src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/collection.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.d.ts | 4 ++-- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.d.ts | 1 + src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.d.ts | 3 +-- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.d.ts | 18 ++++++++++++++++++ src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- src/onebot11/action/extends/SetLongNick.ts | 2 +- .../action/user/SetFriendAddRequest.ts | 4 +--- src/onebot11/constructor.ts | 13 ------------- .../event/notice/OB11FriendAddNoticeEvent.ts | 11 ----------- src/onebot11/main.ts | 17 ++++------------- src/onebot11/server/postOB11Event.ts | 4 ++-- 52 files changed, 72 insertions(+), 89 deletions(-) delete mode 100644 src/onebot11/event/notice/OB11FriendAddNoticeEvent.ts diff --git a/src/core b/src/core index b7f124c9..5a979d96 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit b7f124c9a8438e0c489185969e6e0709c1c2a972 +Subproject commit 5a979d96d13735cb2fbd526319e4448a0f91b52b diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 871a9e78..d155656b 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x492a(){var _0x3fff12=['5554295apOWQo','1375407uoTFDj','8451448wJGMux','142891ojAJcQ','10vLAYrY','onMSFStatusChange','16KQHBDI','onMSFSsoError','22471427PwxOKM','474YxYFCM','146131DWablT','4bvqVkS','14441274LjwqQn'];_0x492a=function(){return _0x3fff12;};return _0x492a();}var _0x1edc20=_0x3405;(function(_0x2e4814,_0x19dc6b){var _0x4acdd9=_0x3405,_0x66837f=_0x2e4814();while(!![]){try{var _0x1dd12c=parseInt(_0x4acdd9(0x134))/0x1*(parseInt(_0x4acdd9(0x13d))/0x2)+-parseInt(_0x4acdd9(0x138))/0x3+parseInt(_0x4acdd9(0x135))/0x4*(parseInt(_0x4acdd9(0x137))/0x5)+-parseInt(_0x4acdd9(0x140))/0x6*(-parseInt(_0x4acdd9(0x13a))/0x7)+parseInt(_0x4acdd9(0x139))/0x8+-parseInt(_0x4acdd9(0x136))/0x9*(parseInt(_0x4acdd9(0x13b))/0xa)+-parseInt(_0x4acdd9(0x13f))/0xb;if(_0x1dd12c===_0x19dc6b)break;else _0x66837f['push'](_0x66837f['shift']());}catch(_0x118330){_0x66837f['push'](_0x66837f['shift']());}}}(_0x492a,0xcdd2d));function _0x3405(_0x3bd26d,_0x37ef9d){var _0x492a2b=_0x492a();return _0x3405=function(_0x34052b,_0x296c08){_0x34052b=_0x34052b-0x134;var _0x194848=_0x492a2b[_0x34052b];return _0x194848;},_0x3405(_0x3bd26d,_0x37ef9d);}export class DependsAdapter{[_0x1edc20(0x13c)](_0x5aa588,_0x3d73c3){}[_0x1edc20(0x13e)](_0x518457){}['getGroupCode'](_0x39d19f){}} \ No newline at end of file +function _0x4cc3(_0x4d048b,_0x305f8d){var _0x557031=_0x5570();return _0x4cc3=function(_0x4cc318,_0x33ab12){_0x4cc318=_0x4cc318-0xd3;var _0x391661=_0x557031[_0x4cc318];return _0x391661;},_0x4cc3(_0x4d048b,_0x305f8d);}var _0x2d5ec9=_0x4cc3;function _0x5570(){var _0x3b2534=['6868872sQfMRQ','3477362aUvSOD','3604056mVYxqc','1317830OJJegK','9566682uEDAan','getGroupCode','onMSFSsoError','10532LBAMse','16datDpu','8DrOMvo','onMSFStatusChange','4648188nQSnvi'];_0x5570=function(){return _0x3b2534;};return _0x5570();}(function(_0x7343c7,_0x4721d3){var _0x130d18=_0x4cc3,_0x13288f=_0x7343c7();while(!![]){try{var _0x3d2c94=-parseInt(_0x130d18(0xd6))/0x1*(-parseInt(_0x130d18(0xd4))/0x2)+-parseInt(_0x130d18(0xd8))/0x3+parseInt(_0x130d18(0xdb))/0x4+-parseInt(_0x130d18(0xdc))/0x5+parseInt(_0x130d18(0xdd))/0x6+-parseInt(_0x130d18(0xda))/0x7*(-parseInt(_0x130d18(0xd5))/0x8)+-parseInt(_0x130d18(0xd9))/0x9;if(_0x3d2c94===_0x4721d3)break;else _0x13288f['push'](_0x13288f['shift']());}catch(_0x45f407){_0x13288f['push'](_0x13288f['shift']());}}}(_0x5570,0xe9247));export class DependsAdapter{[_0x2d5ec9(0xd7)](_0x41c1fc,_0x33c985){}[_0x2d5ec9(0xd3)](_0x51484c){}[_0x2d5ec9(0xde)](_0x203b84){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index fdfde929..b9409281 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x68a1(_0x20142c,_0x40bc77){var _0x4481ba=_0x4481();return _0x68a1=function(_0x68a193,_0x388d15){_0x68a193=_0x68a193-0xb7;var _0x4a3559=_0x4481ba[_0x68a193];return _0x4a3559;},_0x68a1(_0x20142c,_0x40bc77);}var _0x319e09=_0x68a1;function _0x4481(){var _0x4cf260=['dispatchCall','39154eDUExE','4847160vCYuTz','247532gBJVOH','dispatchRequest','692725iCysyT','16315632viOmuS','4709845OfpcIH','21ZhawAC','8861251BhoVPe'];_0x4481=function(){return _0x4cf260;};return _0x4481();}(function(_0x387a00,_0x37479b){var _0x51d60e=_0x68a1,_0x46fdf1=_0x387a00();while(!![]){try{var _0x46b133=-parseInt(_0x51d60e(0xb8))/0x1+-parseInt(_0x51d60e(0xbe))/0x2+parseInt(_0x51d60e(0xbb))/0x3*(parseInt(_0x51d60e(0xc0))/0x4)+parseInt(_0x51d60e(0xba))/0x5+parseInt(_0x51d60e(0xbf))/0x6+parseInt(_0x51d60e(0xbc))/0x7+-parseInt(_0x51d60e(0xb9))/0x8;if(_0x46b133===_0x37479b)break;else _0x46fdf1['push'](_0x46fdf1['shift']());}catch(_0x40cb31){_0x46fdf1['push'](_0x46fdf1['shift']());}}}(_0x4481,0xaa33b));export class DispatcherAdapter{[_0x319e09(0xb7)](_0x17bed8){}[_0x319e09(0xbd)](_0x5032ef){}['dispatchCallWithJson'](_0x52a5e6){}} \ No newline at end of file +function _0x54c9(_0x2bf1f0,_0x5b0cbe){var _0x40100a=_0x4010();return _0x54c9=function(_0x54c970,_0x59aada){_0x54c970=_0x54c970-0x189;var _0x51c111=_0x40100a[_0x54c970];return _0x51c111;},_0x54c9(_0x2bf1f0,_0x5b0cbe);}var _0x3b34c2=_0x54c9;(function(_0x5796a2,_0x3f50db){var _0x3f3c44=_0x54c9,_0x4fe798=_0x5796a2();while(!![]){try{var _0x18c774=parseInt(_0x3f3c44(0x193))/0x1+-parseInt(_0x3f3c44(0x18a))/0x2+parseInt(_0x3f3c44(0x189))/0x3*(-parseInt(_0x3f3c44(0x18b))/0x4)+parseInt(_0x3f3c44(0x190))/0x5*(-parseInt(_0x3f3c44(0x18d))/0x6)+parseInt(_0x3f3c44(0x18f))/0x7+-parseInt(_0x3f3c44(0x18e))/0x8*(parseInt(_0x3f3c44(0x192))/0x9)+-parseInt(_0x3f3c44(0x194))/0xa*(-parseInt(_0x3f3c44(0x191))/0xb);if(_0x18c774===_0x3f50db)break;else _0x4fe798['push'](_0x4fe798['shift']());}catch(_0x3a7e9b){_0x4fe798['push'](_0x4fe798['shift']());}}}(_0x4010,0x39ddd));function _0x4010(){var _0x5988d9=['3FfNtWV','504588IeUNMi','1775884czLAPn','dispatchCallWithJson','6HWxUVI','1336QOCjfC','1603287PwevDX','1129855KacneS','2772VBYNdM','387sBvCJv','434153fMyxct','19970ZBcpcv'];_0x4010=function(){return _0x5988d9;};return _0x4010();}export class DispatcherAdapter{['dispatchRequest'](_0x376fb4){}['dispatchCall'](_0x398064){}[_0x3b34c2(0x18c)](_0x2387da){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 94be1c53..f59d77ee 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x4564(_0x355331,_0xcb31e0){var _0x89d3d9=_0x89d3();return _0x4564=function(_0x4564b1,_0x123e64){_0x4564b1=_0x4564b1-0xed;var _0x2f733c=_0x89d3d9[_0x4564b1];return _0x2f733c;},_0x4564(_0x355331,_0xcb31e0);}var _0x2b1f42=_0x4564;(function(_0x7ad94c,_0x2cff6d){var _0x417783=_0x4564,_0x249395=_0x7ad94c();while(!![]){try{var _0x54efd9=parseInt(_0x417783(0xf7))/0x1+-parseInt(_0x417783(0xff))/0x2*(parseInt(_0x417783(0xed))/0x3)+-parseInt(_0x417783(0xf0))/0x4*(-parseInt(_0x417783(0xf6))/0x5)+parseInt(_0x417783(0xfa))/0x6*(parseInt(_0x417783(0xee))/0x7)+-parseInt(_0x417783(0xf5))/0x8*(-parseInt(_0x417783(0xf1))/0x9)+-parseInt(_0x417783(0xfb))/0xa+parseInt(_0x417783(0xf2))/0xb*(-parseInt(_0x417783(0xfc))/0xc);if(_0x54efd9===_0x2cff6d)break;else _0x249395['push'](_0x249395['shift']());}catch(_0x829f9f){_0x249395['push'](_0x249395['shift']());}}}(_0x89d3,0xd0c05));function _0x89d3(){var _0x16cc06=['62382QKCCvU','6957250ibykCH','32124AdavLN','onLog','onGetOfflineMsg','134BfSIVA','onInstallFinished','20319VwsiRX','959CinZmO','onShowErrUITips','3285608PsJYYf','1423521UvbvMC','14509ZTWUtZ','onUpdateGeneralFlag','fixPicImgType','40aozUab','10LrfnJU','1677486AtYvcK','getAppSetting','onGetSrvCalTime'];_0x89d3=function(){return _0x16cc06;};return _0x89d3();}export class GlobalAdapter{[_0x2b1f42(0xfd)](..._0x5d42eb){}[_0x2b1f42(0xf9)](..._0x1fe968){}[_0x2b1f42(0xef)](..._0x4bacca){}[_0x2b1f42(0xf4)](..._0x309021){}[_0x2b1f42(0xf8)](..._0x426866){}[_0x2b1f42(0x100)](..._0x309948){}[_0x2b1f42(0xf3)](..._0x28b970){}[_0x2b1f42(0xfe)](..._0x220001){}} \ No newline at end of file +function _0x6968(){var _0x30d010=['onGetSrvCalTime','onLog','9714SADQWU','8882384DJFrSF','fixPicImgType','1245OpPXuR','onShowErrUITips','5124831FMxWjN','getAppSetting','4YwNzLv','6517928aNAZhp','3446390KZJsYQ','onUpdateGeneralFlag','24093792FNGGXa','61308lhXXtT','onGetOfflineMsg'];_0x6968=function(){return _0x30d010;};return _0x6968();}var _0x505b8a=_0x37b6;(function(_0x1a86f7,_0x7d681d){var _0x218ec6=_0x37b6,_0x45a1d9=_0x1a86f7();while(!![]){try{var _0x19fdba=parseInt(_0x218ec6(0x1a0))/0x1+-parseInt(_0x218ec6(0x19d))/0x2+-parseInt(_0x218ec6(0x199))/0x3*(parseInt(_0x218ec6(0x19b))/0x4)+-parseInt(_0x218ec6(0x197))/0x5*(parseInt(_0x218ec6(0x194))/0x6)+parseInt(_0x218ec6(0x195))/0x7+parseInt(_0x218ec6(0x19c))/0x8+parseInt(_0x218ec6(0x19f))/0x9;if(_0x19fdba===_0x7d681d)break;else _0x45a1d9['push'](_0x45a1d9['shift']());}catch(_0x391250){_0x45a1d9['push'](_0x45a1d9['shift']());}}}(_0x6968,0xf1136));function _0x37b6(_0x3e1497,_0x268143){var _0x696896=_0x6968();return _0x37b6=function(_0x37b6ed,_0x192b8e){_0x37b6ed=_0x37b6ed-0x191;var _0x1a4217=_0x696896[_0x37b6ed];return _0x1a4217;},_0x37b6(_0x3e1497,_0x268143);}export class GlobalAdapter{[_0x505b8a(0x193)](..._0x24ed98){}[_0x505b8a(0x192)](..._0x299ecc){}[_0x505b8a(0x198)](..._0x528fb1){}[_0x505b8a(0x196)](..._0x471710){}[_0x505b8a(0x19a)](..._0x19edcb){}['onInstallFinished'](..._0x367d44){}[_0x505b8a(0x19e)](..._0x1e5def){}[_0x505b8a(0x191)](..._0x1eda1b){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index ad6c404c..762ccac8 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x3f3084,_0x4e5354){var _0x59deae=_0x5510,_0x5980ac=_0x3f3084();while(!![]){try{var _0x53f153=-parseInt(_0x59deae(0xe5))/0x1+parseInt(_0x59deae(0xe7))/0x2+parseInt(_0x59deae(0xeb))/0x3+-parseInt(_0x59deae(0xe6))/0x4+parseInt(_0x59deae(0xe9))/0x5*(parseInt(_0x59deae(0xe4))/0x6)+parseInt(_0x59deae(0xea))/0x7+-parseInt(_0x59deae(0xe8))/0x8;if(_0x53f153===_0x4e5354)break;else _0x5980ac['push'](_0x5980ac['shift']());}catch(_0x407183){_0x5980ac['push'](_0x5980ac['shift']());}}}(_0x4ecc,0x3db3e));export*from'./NodeIDependsAdapter';function _0x5510(_0x466054,_0x5b6bca){var _0x4eccd3=_0x4ecc();return _0x5510=function(_0x551042,_0x4eaec9){_0x551042=_0x551042-0xe4;var _0x355b78=_0x4eccd3[_0x551042];return _0x355b78;},_0x5510(_0x466054,_0x5b6bca);}export*from'./NodeIDispatcherAdapter';function _0x4ecc(){var _0x4408cb=['1304208xPmEID','15CnbzIM','1859949dqrjiE','299832SnktWz','614694qWBXna','305623NPcDHW','978060NIBGEH','585800fgAxUj'];_0x4ecc=function(){return _0x4408cb;};return _0x4ecc();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x8e2c96,_0x3d3ede){var _0x404c2e=_0x34a0,_0x32b008=_0x8e2c96();while(!![]){try{var _0x3eff74=-parseInt(_0x404c2e(0xd2))/0x1+parseInt(_0x404c2e(0xcc))/0x2+-parseInt(_0x404c2e(0xd3))/0x3*(-parseInt(_0x404c2e(0xcf))/0x4)+parseInt(_0x404c2e(0xd0))/0x5+-parseInt(_0x404c2e(0xcd))/0x6+-parseInt(_0x404c2e(0xd1))/0x7+parseInt(_0x404c2e(0xce))/0x8;if(_0x3eff74===_0x3d3ede)break;else _0x32b008['push'](_0x32b008['shift']());}catch(_0x333c62){_0x32b008['push'](_0x32b008['shift']());}}}(_0x31cf,0x61b65));function _0x34a0(_0x4c2245,_0x2e5176){var _0x31cfe8=_0x31cf();return _0x34a0=function(_0x34a023,_0x448973){_0x34a023=_0x34a023-0xcc;var _0x27802e=_0x31cfe8[_0x34a023];return _0x27802e;},_0x34a0(_0x4c2245,_0x2e5176);}function _0x31cf(){var _0x244be1=['749582ZbdvYT','15765OGEByB','994042lQMHXL','2373606qtjGfS','8382440LhNQzA','244qbtVXG','1057195MBdiXe','3719856ZOEUGr'];_0x31cf=function(){return _0x244be1;};return _0x31cf();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index a90fdaf6..99105d7d 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x2a2b5c=_0x89ce;(function(_0x3727f5,_0x2b7819){const _0x20294c=_0x89ce,_0x385719=_0x3727f5();while(!![]){try{const _0x4a35c3=-parseInt(_0x20294c(0x164))/0x1+parseInt(_0x20294c(0x170))/0x2*(parseInt(_0x20294c(0x165))/0x3)+parseInt(_0x20294c(0x16f))/0x4*(-parseInt(_0x20294c(0x168))/0x5)+parseInt(_0x20294c(0x16e))/0x6+parseInt(_0x20294c(0x163))/0x7+parseInt(_0x20294c(0x166))/0x8*(-parseInt(_0x20294c(0x172))/0x9)+parseInt(_0x20294c(0x16a))/0xa;if(_0x4a35c3===_0x2b7819)break;else _0x385719['push'](_0x385719['shift']());}catch(_0x5bb118){_0x385719['push'](_0x385719['shift']());}}}(_0x139b,0x2a35b));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x2a2b5c(0x171)](_0x92f96f,_0x104249,_0xcb2113,_0x53f857,_0x1e67ac){const _0x2144b9=_0x2a2b5c;let _0x279c59={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x92f96f,'strId':_0xcb2113,'groupId':'0','groupName':'','uid':_0x104249},'customGroupId':'0','createTime':Date[_0x2144b9(0x162)]()[_0x2144b9(0x16c)](),'sequence':Date[_0x2144b9(0x162)]()[_0x2144b9(0x16c)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x53f857,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x1e67ac,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2144b9(0x16d)][_0x2144b9(0x167)]()[_0x2144b9(0x169)](_0x279c59);}static async[_0x2a2b5c(0x16b)](_0x58f57c=0x0,_0x15dd1a=0x32){const _0x4b0919=_0x2a2b5c;let _0x3115f7={'category':_0x58f57c,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x15dd1a,'searchDown':!![]};return napCatCore[_0x4b0919(0x16d)][_0x4b0919(0x167)]()['getCollectionItemList'](_0x3115f7);}}function _0x89ce(_0x577c42,_0x28e87a){const _0x139bcc=_0x139b();return _0x89ce=function(_0x89ceb1,_0x29157f){_0x89ceb1=_0x89ceb1-0x162;let _0x16a90d=_0x139bcc[_0x89ceb1];return _0x16a90d;},_0x89ce(_0x577c42,_0x28e87a);}function _0x139b(){const _0x4b39e0=['getAllCollection','toString','session','350220cZPuIP','664520RjdPkM','23866NPOnet','createCollection','204183LkieTb','now','1797481vJnjkA','128077UlQIzG','69XcXcdn','88peqnny','getCollectionService','5bfeaVO','createNewCollectionItem','1270430YoaZwt'];_0x139b=function(){return _0x4b39e0;};return _0x139b();} \ No newline at end of file +const _0x4abc90=_0x63c6;(function(_0xd3396a,_0x10ce0d){const _0x576743=_0x63c6,_0x5ee915=_0xd3396a();while(!![]){try{const _0x1849c9=-parseInt(_0x576743(0xf3))/0x1+-parseInt(_0x576743(0xf1))/0x2+-parseInt(_0x576743(0xe5))/0x3+-parseInt(_0x576743(0xe9))/0x4*(parseInt(_0x576743(0xed))/0x5)+parseInt(_0x576743(0xe7))/0x6*(parseInt(_0x576743(0xe6))/0x7)+-parseInt(_0x576743(0xee))/0x8*(parseInt(_0x576743(0xef))/0x9)+parseInt(_0x576743(0xe4))/0xa;if(_0x1849c9===_0x10ce0d)break;else _0x5ee915['push'](_0x5ee915['shift']());}catch(_0x87d151){_0x5ee915['push'](_0x5ee915['shift']());}}}(_0x29ce,0x23c1b));import{napCatCore}from'..';function _0x63c6(_0x723e11,_0x280450){const _0x29ce70=_0x29ce();return _0x63c6=function(_0x63c6ed,_0x227142){_0x63c6ed=_0x63c6ed-0xe3;let _0x4dd79a=_0x29ce70[_0x63c6ed];return _0x4dd79a;},_0x63c6(_0x723e11,_0x280450);}export class NTQQCollectionApi{static async[_0x4abc90(0xea)](_0x5dc934,_0x567b4c,_0xdcddd8,_0xd0cad7,_0x51b4cf){const _0x27fea4=_0x4abc90;let _0x74d1bf={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5dc934,'strId':_0xdcddd8,'groupId':'0','groupName':'','uid':_0x567b4c},'customGroupId':'0','createTime':Date[_0x27fea4(0xf2)]()[_0x27fea4(0xec)](),'sequence':Date[_0x27fea4(0xf2)]()[_0x27fea4(0xec)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0xd0cad7,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x51b4cf,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x27fea4(0xeb)][_0x27fea4(0xf0)]()['createNewCollectionItem'](_0x74d1bf);}static async[_0x4abc90(0xe8)](_0x19fff6=0x0,_0x3951e6=0x32){const _0x31c1ff=_0x4abc90;let _0x27243d={'category':_0x19fff6,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x3951e6,'searchDown':!![]};return napCatCore['session']['getCollectionService']()[_0x31c1ff(0xe3)](_0x27243d);}}function _0x29ce(){const _0x243de3=['4296740aAMPWw','11784sKlxxM','7OhUxrV','892974jmbhlb','getAllCollection','4GZFkOx','createCollection','session','toString','220560oeQkYS','56gRKyLC','100971iIJttg','getCollectionService','477084otKHla','now','66929uFTFIt','getCollectionItemList'];_0x29ce=function(){return _0x243de3;};return _0x29ce();} \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index adbef538..dc47c3e0 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x9b8979=_0x24a9;(function(_0x56aaf9,_0x45772c){const _0x2a7ac5=_0x24a9,_0x497f7=_0x56aaf9();while(!![]){try{const _0x31a768=parseInt(_0x2a7ac5(0x1fb))/0x1*(parseInt(_0x2a7ac5(0x1b3))/0x2)+-parseInt(_0x2a7ac5(0x1ec))/0x3*(parseInt(_0x2a7ac5(0x1fd))/0x4)+-parseInt(_0x2a7ac5(0x1f5))/0x5+parseInt(_0x2a7ac5(0x1c9))/0x6*(-parseInt(_0x2a7ac5(0x1f0))/0x7)+parseInt(_0x2a7ac5(0x1d1))/0x8*(parseInt(_0x2a7ac5(0x1d0))/0x9)+parseInt(_0x2a7ac5(0x1f7))/0xa+parseInt(_0x2a7ac5(0x1e3))/0xb*(parseInt(_0x2a7ac5(0x1f9))/0xc);if(_0x31a768===_0x45772c)break;else _0x497f7['push'](_0x497f7['shift']());}catch(_0x2f626c){_0x497f7['push'](_0x497f7['shift']());}}}(_0x3ce4,0x1f1cd));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x38a249 from'path';import _0x4ef5ed from'fs';import _0x294110 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x22d203 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5c279b from'image-size';function _0x24a9(_0x15bea2,_0x1f17e5){const _0x3ce488=_0x3ce4();return _0x24a9=function(_0x24a950,_0x4752c4){_0x24a950=_0x24a950-0x1b0;let _0x565650=_0x3ce488[_0x24a950];return _0x565650;},_0x24a9(_0x15bea2,_0x1f17e5);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x512fbe=>{const _0x42b58e=_0x24a9;for(const [_0xca9f7b,_0x51232a]of downloadMediaTasks){_0x51232a(_0x512fbe),downloadMediaTasks[_0x42b58e(0x1bd)](_0xca9f7b);}},setTimeout(()=>{const _0x37de98=_0x24a9;napCatCore[_0x37de98(0x1bc)](()=>{const _0x51c0af=_0x37de98;napCatCore[_0x51c0af(0x1c4)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x49ae8a){const _0x24508f=_0x24a9;return _0x22d203[_0x24508f(0x1c7)](_0x49ae8a);}static async[_0x9b8979(0x1bf)](_0x54cdc4,_0x9e7e42){const _0x56e2f1=_0x9b8979;await napCatCore[_0x56e2f1(0x1ed)][_0x56e2f1(0x1bf)](_0x54cdc4,_0x9e7e42);}static async[_0x9b8979(0x1b9)](_0x57f60d){const _0x14fff3=_0x9b8979;return await napCatCore[_0x14fff3(0x1ed)]['getFileSize'](_0x57f60d);}static async[_0x9b8979(0x1bb)](_0x2c355e,_0x592024=ElementType[_0x9b8979(0x1e2)],_0x45e85e=0x0){const _0x312108=_0x9b8979,_0x5c003b={'nCtLD':function(_0x2c1624,_0x408c5a){return _0x2c1624(_0x408c5a);},'DupNk':function(_0x272263,_0xc4fd98){return _0x272263===_0xc4fd98;}},_0x43987e=await _0x5c003b[_0x312108(0x1cb)](calculateFileMD5,_0x2c355e);let _0xb27eca=(await NTQQFileApi[_0x312108(0x1b0)](_0x2c355e))?.[_0x312108(0x1c5)]||'';_0xb27eca&&(_0xb27eca='.'+_0xb27eca);let _0x51efee=''+_0x38a249[_0x312108(0x1e1)](_0x2c355e);_0x5c003b[_0x312108(0x1c8)](_0x51efee[_0x312108(0x1e5)]('.'),-0x1)&&(_0x51efee+=_0xb27eca);const _0x364ebd=napCatCore[_0x312108(0x1fa)][_0x312108(0x1d7)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x43987e,'fileName':_0x51efee,'elementType':_0x592024,'elementSubType':_0x45e85e,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x2c355e,_0x364ebd);const _0x580878=await NTQQFileApi[_0x312108(0x1b9)](_0x2c355e);return{'md5':_0x43987e,'fileName':_0x51efee,'path':_0x364ebd,'fileSize':_0x580878,'ext':_0xb27eca};}static async[_0x9b8979(0x1ea)](_0x5cb8f9,_0x430609,_0x3d062c,_0x57fb54,_0x3a3e9f,_0x245d04,_0x1f638e=0x3e8*0x3c*0x2,_0x356700=![]){const _0x329dc6=_0x9b8979,_0x138aa7={'sicbQ':function(_0x4305fb,_0x45da88){return _0x4305fb(_0x45da88);},'RjyeF':_0x329dc6(0x1d9),'CIaBj':function(_0x14a766){return _0x14a766();},'nTcpO':function(_0x35c055,_0xa850be,_0x119662){return _0x35c055(_0xa850be,_0x119662);}};if(_0x245d04&&_0x4ef5ed[_0x329dc6(0x1f3)](_0x245d04)){if(_0x356700)try{await _0x294110[_0x329dc6(0x1b6)](_0x245d04);}catch(_0x548f01){}else return _0x245d04;}return new Promise((_0xf5ba90,_0x9eb567)=>{const _0x55f940=_0x329dc6,_0x21ce3e={'jiDCm':function(_0xb92873,_0x2eca90){return _0xb92873===_0x2eca90;},'zvbUK':function(_0x480c87,_0x2231c3){const _0x4c766e=_0x24a9;return _0x138aa7[_0x4c766e(0x1c1)](_0x480c87,_0x2231c3);},'PBhTh':function(_0x21b79c,_0x38ff03){return _0x21b79c(_0x38ff03);},'Npfdk':_0x138aa7['RjyeF']};let _0x3d1dfa=![];const _0xb20044=_0x10c2bc=>{const _0x13f8ec=_0x24a9;if(_0x21ce3e['jiDCm'](_0x10c2bc['msgId'],_0x5cb8f9)){_0x3d1dfa=!![];let _0x1a7077=_0x10c2bc[_0x13f8ec(0x1f2)];if(_0x1a7077['startsWith']('\x5c')){const _0x4f41c4=sessionConfig[_0x13f8ec(0x1ca)];_0x1a7077=_0x38a249['join'](_0x4f41c4,_0x1a7077);}_0x21ce3e[_0x13f8ec(0x1ef)](_0xf5ba90,_0x1a7077);}};downloadMediaTasks[_0x55f940(0x1eb)](_0x138aa7[_0x55f940(0x1b7)](randomUUID),_0xb20044),_0x138aa7['nTcpO'](setTimeout,()=>{const _0x5b7b13=_0x55f940;!_0x3d1dfa&&_0x21ce3e['PBhTh'](_0x9eb567,_0x21ce3e[_0x5b7b13(0x1ee)]);},_0x1f638e),napCatCore[_0x55f940(0x1fa)][_0x55f940(0x1d7)]()[_0x55f940(0x1c6)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5cb8f9,'chatType':_0x430609,'peerUid':_0x3d062c,'elementId':_0x57fb54,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3a3e9f});});}static async[_0x9b8979(0x1d2)](_0xca9f1c){const _0x1f7dbd={'nCoFa':function(_0x175c47,_0x42afe2){return _0x175c47(_0x42afe2);},'YLdfh':function(_0x44aaf3,_0x38b4e5,_0x28da0b){return _0x44aaf3(_0x38b4e5,_0x28da0b);}};return new Promise((_0x3c399e,_0x4cc644)=>{const _0x493f22=_0x24a9,_0x5dcc93={'GkSYA':function(_0x3617e5,_0x24bd62){const _0x28e813=_0x24a9;return _0x1f7dbd[_0x28e813(0x1da)](_0x3617e5,_0x24bd62);}};_0x1f7dbd[_0x493f22(0x1de)](_0x5c279b,_0xca9f1c,(_0x1c511d,_0x4e31a4)=>{const _0x423f94=_0x493f22;_0x1c511d?_0x4cc644(_0x1c511d):_0x5dcc93[_0x423f94(0x1d5)](_0x3c399e,_0x4e31a4);});});}static async[_0x9b8979(0x1d6)](_0x482f87,_0x4b97c9){const _0x2f3438=_0x9b8979,_0x5f2db5={'shMPe':_0x2f3438(0x1ce),'pYiiI':'&rkey=','kYImZ':function(_0x5e6766,_0x5afa6c){return _0x5e6766+_0x5afa6c;},'dPeCK':function(_0x3c93cf,_0x1a1e01){return _0x3c93cf+_0x1a1e01;},'VEMrW':function(_0x344785,_0x5a1f19){return _0x344785+_0x5a1f19;},'DbkrN':function(_0x285465,_0x4d3f4d){return _0x285465||_0x4d3f4d;},'ngQBm':function(_0xf477c0,_0x59b7b6){return _0xf477c0||_0x59b7b6;},'zUCIw':function(_0x578089,_0x491dfc,_0x3fa955){return _0x578089(_0x491dfc,_0x3fa955);},'ctIQS':_0x2f3438(0x1df)};if(!_0x482f87)return'';const _0x26ef6a=_0x482f87[_0x2f3438(0x1d3)],_0x4b1696=_0x482f87[_0x2f3438(0x1b5)],_0x3c31b2=_0x482f87[_0x2f3438(0x1b5)],_0x1a5de0=_0x482f87[_0x2f3438(0x1f4)];if(_0x26ef6a){if(_0x26ef6a['startsWith'](_0x5f2db5[_0x2f3438(0x1dc)])){if(_0x26ef6a[_0x2f3438(0x1dd)](_0x5f2db5[_0x2f3438(0x1cc)]))return _0x5f2db5[_0x2f3438(0x1e8)](IMAGE_HTTP_HOST_NT,_0x26ef6a);const _0x312db8=await rkeyManager[_0x2f3438(0x1b1)](),_0x4e7e35=_0x4b97c9?_0x312db8[_0x2f3438(0x1e9)]:_0x312db8['group_rkey'];return _0x5f2db5[_0x2f3438(0x1ba)](_0x5f2db5[_0x2f3438(0x1c2)](IMAGE_HTTP_HOST_NT,_0x26ef6a),''+_0x4e7e35);}else return _0x5f2db5[_0x2f3438(0x1ba)](IMAGE_HTTP_HOST,_0x26ef6a);}else{if(_0x5f2db5[_0x2f3438(0x1e7)](_0x3c31b2,_0x4b1696))return IMAGE_HTTP_HOST+_0x2f3438(0x1d4)+_0x5f2db5[_0x2f3438(0x1b8)](_0x3c31b2,_0x4b1696)[_0x2f3438(0x1b2)]()+'/0';}return _0x5f2db5[_0x2f3438(0x1e4)](logDebug,_0x5f2db5[_0x2f3438(0x1be)],_0x482f87),'';}}export class NTQQFileCacheApi{static async[_0x9b8979(0x1cf)](_0x31921e=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x9b8979(0x1f1)](_0x436bec=['tmp',_0x9b8979(0x1c0)]){const _0x429d9c=_0x9b8979;return napCatCore[_0x429d9c(0x1fa)]['getStorageCleanService']()[_0x429d9c(0x1fc)](_0x436bec);}static['addCacheScannedPaths'](_0x5b85b1={}){const _0x12cc40=_0x9b8979;return napCatCore[_0x12cc40(0x1fa)][_0x12cc40(0x1f6)]()[_0x12cc40(0x1b4)](_0x5b85b1);}static[_0x9b8979(0x1d8)](){const _0x17b42d=_0x9b8979;return napCatCore['session'][_0x17b42d(0x1f6)]()[_0x17b42d(0x1d8)]();}static[_0x9b8979(0x1cd)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x9b8979(0x1c3)](_0x244fd4,_0x152a84=0x3e8,_0x1338aa=0x0){const _0x2263f2=_0x9b8979;return napCatCore[_0x2263f2(0x1fa)][_0x2263f2(0x1f6)]()[_0x2263f2(0x1db)](_0x244fd4,_0x152a84,0x1,_0x1338aa);}static[_0x9b8979(0x1e0)](_0x157945,_0x3b0d46=0x3e8,_0x2d8d31){const _0xa7a330=_0x2d8d31?_0x2d8d31:{'fileType':_0x157945};}static async[_0x9b8979(0x1e6)](_0x3dc690=[],_0x1cd413=[]){const _0x334f0e=_0x9b8979;return napCatCore[_0x334f0e(0x1fa)][_0x334f0e(0x1f6)]()[_0x334f0e(0x1f8)](_0x3dc690,_0x1cd413);}}function _0x3ce4(){const _0x303dac=['GkSYA','getImageUrl','getMsgService','scanCache','下载超时','nCoFa','getChatCacheInfo','shMPe','includes','YLdfh','图片url获取失败','getFileCacheInfo','basename','PIC','9053ihLwSv','zUCIw','indexOf','clearChatCache','DbkrN','kYImZ','private_rkey','downloadMedia','set','48mrCwTq','util','Npfdk','zvbUK','44548VkkHtv','clearCache','filePath','existsSync','fileUuid','923050RXOhiW','getStorageCleanService','1404710IPoZJU','clearChatCacheInfo','1464xzNPnU','session','5322ypRZue','clearCacheDataByKeys','29968Fviaqv','getFileType','getRkey','toUpperCase','82TvnyUf','addCacheScanedPaths','md5HexStr','unlink','CIaBj','ngQBm','getFileSize','dPeCK','uploadFile','onLoginSuccess','delete','ctIQS','copyFile','hotUpdate','sicbQ','VEMrW','getChatCacheList','addListener','ext','downloadRichMedia','fileTypeFromFile','DupNk','186ufVQcV','defaultFileDownloadPath','nCtLD','pYiiI','getHotUpdateCachePath','/download','setCacheSilentScan','108gCvzux','113416wuJqvp','getImageSize','originImageUrl','/gchatpic_new/0/0-0-'];_0x3ce4=function(){return _0x303dac;};return _0x3ce4();} \ No newline at end of file +const _0x46f519=_0x375b;(function(_0x4058f0,_0x16ebeb){const _0x47abbc=_0x375b,_0x500807=_0x4058f0();while(!![]){try{const _0x37d83e=parseInt(_0x47abbc(0xfd))/0x1*(-parseInt(_0x47abbc(0xe0))/0x2)+parseInt(_0x47abbc(0xff))/0x3*(-parseInt(_0x47abbc(0xe2))/0x4)+parseInt(_0x47abbc(0xe7))/0x5+-parseInt(_0x47abbc(0x113))/0x6*(parseInt(_0x47abbc(0xdc))/0x7)+parseInt(_0x47abbc(0xcc))/0x8+-parseInt(_0x47abbc(0xde))/0x9*(-parseInt(_0x47abbc(0xdd))/0xa)+parseInt(_0x47abbc(0xea))/0xb;if(_0x37d83e===_0x16ebeb)break;else _0x500807['push'](_0x500807['shift']());}catch(_0x200e76){_0x500807['push'](_0x500807['shift']());}}}(_0x4526,0x1f4f0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3e62f9 from'path';import _0x1e1312 from'fs';import _0x1c32af from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x375b(_0x2b29c1,_0x1bfdf2){const _0x4526e4=_0x4526();return _0x375b=function(_0x375b16,_0x3bdde1){_0x375b16=_0x375b16-0xcc;let _0x46ab49=_0x4526e4[_0x375b16];return _0x46ab49;},_0x375b(_0x2b29c1,_0x1bfdf2);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2219ad from'file-type';import{MsgListener}from'@/core/listeners';import _0x44eb97 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x46f519(0xd7)]=_0x15c3ad=>{const _0x57b543=_0x46f519,_0x198c41={'amfDA':function(_0x55c537,_0x3d81e2){return _0x55c537(_0x3d81e2);}};for(const [_0x2494a4,_0x19dbfa]of downloadMediaTasks){_0x198c41[_0x57b543(0x101)](_0x19dbfa,_0x15c3ad),downloadMediaTasks['delete'](_0x2494a4);}},setTimeout(()=>{const _0x16a324=_0x46f519;napCatCore[_0x16a324(0xf6)](()=>{const _0x448293=_0x16a324;napCatCore[_0x448293(0xf1)](downloadMediaListener);});},0x64);function _0x4526(){const _0x411809=['437526qQYTmm','/gchatpic_new/0/0-0-','540168JQnjsd','addCacheScannedPaths','tmp','join','getImageSize','getChatCacheList','getCacheSessionPathList','clearChatCacheInfo','PifxL','hotUpdate','md5HexStr','onRichMediaDownloadComplete','defaultFileDownloadPath','getDesktopTmpPath','getHotUpdateCachePath','fileTypeFromFile','14ebeOsj','340SGegLH','30753SDdBTX','startsWith','125148QEghKO','originImageUrl','4DeBkUr','DSkoB','unlink','getChatCacheInfo','group_rkey','55425cdeOfq','getMsgService','indexOf','3394325wSyuOP','msgId','图片url获取失败','KFeWo','clearCache','LbuGx','private_rkey','addListener','下载超时','getFileType','copyFile','gsrtp','onLoginSuccess','downloadRichMedia','Upgez','getRichMediaFilePathForGuild','jxcWf','session','clearChatCache','2wViHXb','UBjxd','312387CQqFfr','existsSync','amfDA','getStorageCleanService','scanCache','PIC','getRkey','riZMd','XnQYe','downloadMedia','basename','util','aYvfu','includes','getFileSize','TKONu','&rkey=','QcjlX','toUpperCase','fileUuid'];_0x4526=function(){return _0x411809;};return _0x4526();}export class NTQQFileApi{static async[_0x46f519(0xf3)](_0xa974a3){const _0x202b53=_0x46f519;return _0x2219ad[_0x202b53(0xdb)](_0xa974a3);}static async[_0x46f519(0xf4)](_0x14bf58,_0x1d12ff){const _0x32b8ae=_0x46f519;await napCatCore[_0x32b8ae(0x10a)][_0x32b8ae(0xf4)](_0x14bf58,_0x1d12ff);}static async['getFileSize'](_0x28dff4){const _0x70d0b8=_0x46f519;return await napCatCore[_0x70d0b8(0x10a)]['getFileSize'](_0x28dff4);}static async['uploadFile'](_0x3890ec,_0x440084=ElementType[_0x46f519(0x104)],_0x480368=0x0){const _0x1ca3b7=_0x46f519,_0x2db39f={'kVYBy':function(_0x51f2f0,_0x2b808b){return _0x51f2f0(_0x2b808b);},'gsrtp':function(_0x37b308,_0x3fefc9){return _0x37b308+_0x3fefc9;}},_0x2e7189=await _0x2db39f['kVYBy'](calculateFileMD5,_0x3890ec);let _0x552d3b=(await NTQQFileApi[_0x1ca3b7(0xf3)](_0x3890ec))?.['ext']||'';_0x552d3b&&(_0x552d3b=_0x2db39f[_0x1ca3b7(0xf5)]('.',_0x552d3b));let _0x205dee=''+_0x3e62f9[_0x1ca3b7(0x109)](_0x3890ec);_0x205dee[_0x1ca3b7(0xe9)]('.')===-0x1&&(_0x205dee+=_0x552d3b);const _0x2e4b4b=napCatCore[_0x1ca3b7(0xfb)][_0x1ca3b7(0xe8)]()[_0x1ca3b7(0xf9)]({'md5HexStr':_0x2e7189,'fileName':_0x205dee,'elementType':_0x440084,'elementSubType':_0x480368,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1ca3b7(0xf4)](_0x3890ec,_0x2e4b4b);const _0x149dd4=await NTQQFileApi[_0x1ca3b7(0x10d)](_0x3890ec);return{'md5':_0x2e7189,'fileName':_0x205dee,'path':_0x2e4b4b,'fileSize':_0x149dd4,'ext':_0x552d3b};}static async[_0x46f519(0x108)](_0xb360ea,_0x4f5e85,_0x4ce1ee,_0x4fa795,_0x8ba753,_0x3c4a93,_0x422dee=0x3e8*0x3c*0x2,_0x401903=![]){const _0x338210=_0x46f519,_0x1bf8d1={'QcjlX':function(_0xf08170,_0x3c7975){return _0xf08170===_0x3c7975;},'jxcWf':_0x338210(0xf2),'ppzUJ':function(_0xed2c49){return _0xed2c49();},'KFeWo':function(_0x83e63c,_0x186fa2,_0x4f0cba){return _0x83e63c(_0x186fa2,_0x4f0cba);}};if(_0x3c4a93&&_0x1e1312[_0x338210(0x100)](_0x3c4a93)){if(_0x401903)try{await _0x1c32af[_0x338210(0xe4)](_0x3c4a93);}catch(_0x9f8259){}else return _0x3c4a93;}return new Promise((_0x4177ef,_0xdc295f)=>{const _0x2aa24b=_0x338210;let _0x3d8379=![];const _0x245008=_0x3f0a92=>{const _0x8a4262=_0x375b;if(_0x1bf8d1[_0x8a4262(0x110)](_0x3f0a92[_0x8a4262(0xeb)],_0xb360ea)){_0x3d8379=!![];let _0x27256c=_0x3f0a92['filePath'];if(_0x27256c[_0x8a4262(0xdf)]('\x5c')){const _0x181392=sessionConfig[_0x8a4262(0xd8)];_0x27256c=_0x3e62f9[_0x8a4262(0xcf)](_0x181392,_0x27256c);}_0x4177ef(_0x27256c);}};downloadMediaTasks['set'](_0x1bf8d1['ppzUJ'](randomUUID),_0x245008),_0x1bf8d1[_0x2aa24b(0xed)](setTimeout,()=>{const _0x3cc860=_0x2aa24b;!_0x3d8379&&_0xdc295f(_0x1bf8d1[_0x3cc860(0xfa)]);},_0x422dee),napCatCore['session'][_0x2aa24b(0xe8)]()[_0x2aa24b(0xf7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xb360ea,'chatType':_0x4f5e85,'peerUid':_0x4ce1ee,'elementId':_0x4fa795,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x8ba753});});}static async[_0x46f519(0xd0)](_0xb87e8){const _0x5ecf9e={'TKONu':function(_0x5ce5bf,_0x29f95e){return _0x5ce5bf(_0x29f95e);},'DSkoB':function(_0x137f2b,_0x5a56d7,_0x1d05f3){return _0x137f2b(_0x5a56d7,_0x1d05f3);}};return new Promise((_0x2ccf23,_0x25b7f4)=>{const _0x44f2ad=_0x375b;_0x5ecf9e[_0x44f2ad(0xe3)](_0x44eb97,_0xb87e8,(_0x3480ca,_0x17e5c9)=>{const _0x400a87=_0x44f2ad;_0x3480ca?_0x5ecf9e[_0x400a87(0x10e)](_0x25b7f4,_0x3480ca):_0x2ccf23(_0x17e5c9);});});}static async['getImageUrl'](_0x55d3b9,_0x4eaf56){const _0x1cd135=_0x46f519,_0x19098e={'PifxL':'/download','XnQYe':_0x1cd135(0x10f),'OzcRH':function(_0x5abd68,_0x41540d){return _0x5abd68+_0x41540d;},'UBjxd':function(_0x380dea,_0x28b158){return _0x380dea+_0x28b158;},'aYvfu':function(_0x2c6d4e,_0x560a02){return _0x2c6d4e+_0x560a02;},'riZMd':function(_0x5ace3b,_0x13fdc9){return _0x5ace3b+_0x13fdc9;},'Upgez':function(_0x363796,_0x234a5f){return _0x363796||_0x234a5f;},'LbuGx':_0x1cd135(0xec)};if(!_0x55d3b9)return'';const _0x2932a0=_0x55d3b9[_0x1cd135(0xe1)],_0x1f9873=_0x55d3b9[_0x1cd135(0xd6)],_0x3e87e1=_0x55d3b9[_0x1cd135(0xd6)],_0x22c26f=_0x55d3b9[_0x1cd135(0x112)];if(_0x2932a0){if(_0x2932a0[_0x1cd135(0xdf)](_0x19098e[_0x1cd135(0xd4)])){if(_0x2932a0[_0x1cd135(0x10c)](_0x19098e[_0x1cd135(0x107)]))return _0x19098e['OzcRH'](IMAGE_HTTP_HOST_NT,_0x2932a0);const _0x4ac4b6=await rkeyManager[_0x1cd135(0x105)](),_0x2eae8d=_0x4eaf56?_0x4ac4b6[_0x1cd135(0xf0)]:_0x4ac4b6[_0x1cd135(0xe6)];return _0x19098e[_0x1cd135(0xfe)](_0x19098e[_0x1cd135(0x10b)](IMAGE_HTTP_HOST_NT,_0x2932a0),''+_0x2eae8d);}else return _0x19098e[_0x1cd135(0x106)](IMAGE_HTTP_HOST,_0x2932a0);}else{if(_0x19098e[_0x1cd135(0xf8)](_0x3e87e1,_0x1f9873))return IMAGE_HTTP_HOST+_0x1cd135(0x114)+(_0x3e87e1||_0x1f9873)[_0x1cd135(0x111)]()+'/0';}return logDebug(_0x19098e[_0x1cd135(0xef)],_0x55d3b9),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0xeaf75e=!![]){return'';}static[_0x46f519(0xd2)](){return'';}static[_0x46f519(0xee)](_0x132db9=[_0x46f519(0xce),_0x46f519(0xd5)]){const _0x2fc703=_0x46f519;return napCatCore[_0x2fc703(0xfb)][_0x2fc703(0x102)]()['clearCacheDataByKeys'](_0x132db9);}static[_0x46f519(0xcd)](_0x174bbe={}){const _0x2ffbc5=_0x46f519;return napCatCore[_0x2ffbc5(0xfb)][_0x2ffbc5(0x102)]()['addCacheScanedPaths'](_0x174bbe);}static[_0x46f519(0x103)](){const _0xb01b47=_0x46f519;return napCatCore[_0xb01b47(0xfb)][_0xb01b47(0x102)]()[_0xb01b47(0x103)]();}static[_0x46f519(0xda)](){return'';}static[_0x46f519(0xd9)](){return'';}static[_0x46f519(0xd1)](_0x2cf330,_0x1bfd06=0x3e8,_0x5f512e=0x0){const _0x14e11d=_0x46f519;return napCatCore[_0x14e11d(0xfb)][_0x14e11d(0x102)]()[_0x14e11d(0xe5)](_0x2cf330,_0x1bfd06,0x1,_0x5f512e);}static['getFileCacheInfo'](_0x12948a,_0x37de75=0x3e8,_0x55aa66){const _0x55b855=_0x55aa66?_0x55aa66:{'fileType':_0x12948a};}static async[_0x46f519(0xfc)](_0x26ae58=[],_0x3ba7f7=[]){const _0x262e89=_0x46f519;return napCatCore[_0x262e89(0xfb)][_0x262e89(0x102)]()[_0x262e89(0xd3)](_0x26ae58,_0x3ba7f7);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.d.ts b/src/core.lib/src/apis/friend.d.ts index b3da78e3..7d0d8db7 100644 --- a/src/core.lib/src/apis/friend.d.ts +++ b/src/core.lib/src/apis/friend.d.ts @@ -1,5 +1,5 @@ -import { FriendRequest, User } from '@/core/entities'; +import { User } from '@/core/entities'; export declare class NTQQFriendApi { static getFriends(forced?: boolean): Promise; - static handleFriendRequest(request: FriendRequest, accept: boolean): Promise; + static handleFriendRequest(flag: string, accept: boolean): Promise; } diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 698f0488..67dad9cd 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x2650f6=_0x2d3d;(function(_0x3cfd4e,_0xc8abde){const _0x128515=_0x2d3d,_0x29440a=_0x3cfd4e();while(!![]){try{const _0x17c471=parseInt(_0x128515(0xec))/0x1+parseInt(_0x128515(0xe5))/0x2*(parseInt(_0x128515(0xef))/0x3)+-parseInt(_0x128515(0xe7))/0x4*(parseInt(_0x128515(0xf0))/0x5)+parseInt(_0x128515(0xeb))/0x6*(parseInt(_0x128515(0xe4))/0x7)+parseInt(_0x128515(0xe2))/0x8+-parseInt(_0x128515(0xf9))/0x9*(-parseInt(_0x128515(0xf7))/0xa)+-parseInt(_0x128515(0xe9))/0xb;if(_0x17c471===_0xc8abde)break;else _0x29440a['push'](_0x29440a['shift']());}catch(_0x73e855){_0x29440a['push'](_0x29440a['shift']());}}}(_0x1c83,0x33f85));function _0x1c83(){const _0x5bfa71=['1123200fLhqwY','reqTime','35cgHSCe','8426aQCIio','push','77620ZOGulw','handleFriendRequest','9148876CmFLFJ','session','441006bTTUQR','367317snZmPm','eBAjR','getBuddyService','30tJHwtO','10oZjYzQ','getFriends','NodeIKernelBuddyListener/onBuddyListChange','CallNormalEvent','friendUid','approvalFriendRequest','NodeIKernelBuddyService/getBuddyList','1660430DHupHC','buddyList','9dyrqip'];_0x1c83=function(){return _0x5bfa71;};return _0x1c83();}import{napCatCore}from'@/core';function _0x2d3d(_0xf0614f,_0x511017){const _0x1c83da=_0x1c83();return _0x2d3d=function(_0x2d3df9,_0x5ae823){_0x2d3df9=_0x2d3df9-0xe2;let _0x1588e9=_0x1c83da[_0x2d3df9];return _0x1588e9;},_0x2d3d(_0xf0614f,_0x511017);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x2650f6(0xf1)](_0x532019=![]){const _0x5477e6=_0x2650f6,_0x372087={'eBAjR':_0x5477e6(0xf2)};let [_0x4036a2,_0x478dff]=await NTEventDispatch[_0x5477e6(0xf3)](_0x5477e6(0xf6),_0x372087[_0x5477e6(0xed)],0x1,0x1388,_0x532019);const _0x496b78=[];for(const _0x453aff of _0x478dff){for(const _0x1a4734 of _0x453aff[_0x5477e6(0xf8)]){_0x496b78[_0x5477e6(0xe6)](_0x1a4734);}}return _0x496b78;}static async[_0x2650f6(0xe8)](_0x25d0da,_0x24c46e){const _0x5786f5=_0x2650f6;napCatCore[_0x5786f5(0xea)][_0x5786f5(0xee)]()?.[_0x5786f5(0xf5)]({'friendUid':_0x25d0da[_0x5786f5(0xf4)],'reqTime':_0x25d0da[_0x5786f5(0xe3)],'accept':_0x24c46e});}} \ No newline at end of file +(function(_0x4ef8e2,_0xefa55c){const _0x2795c1=_0x3cdc,_0x4673c8=_0x4ef8e2();while(!![]){try{const _0x44e19b=parseInt(_0x2795c1(0x119))/0x1+parseInt(_0x2795c1(0x11f))/0x2*(-parseInt(_0x2795c1(0x10b))/0x3)+-parseInt(_0x2795c1(0x114))/0x4*(parseInt(_0x2795c1(0x111))/0x5)+-parseInt(_0x2795c1(0x116))/0x6*(parseInt(_0x2795c1(0x117))/0x7)+parseInt(_0x2795c1(0x118))/0x8+parseInt(_0x2795c1(0x10f))/0x9*(-parseInt(_0x2795c1(0x11c))/0xa)+-parseInt(_0x2795c1(0x10d))/0xb*(-parseInt(_0x2795c1(0x11b))/0xc);if(_0x44e19b===_0xefa55c)break;else _0x4673c8['push'](_0x4673c8['shift']());}catch(_0x3aa008){_0x4673c8['push'](_0x4673c8['shift']());}}}(_0xd376,0xb3586));import{napCatCore}from'@/core';function _0xd376(){const _0xb1be0=['45OgoZbG','getBuddyService','3160340lVyzRu','CallNormalEvent','length','4aKqkqU','NodeIKernelBuddyListener/onBuddyListChange','6cnepHU','847714dYlUnz','5166184lBKNXP','924355MEnFsW','split','27111300cVlxnm','2475740qLPVnN','buddyList','approvalFriendRequest','26BsHprd','254715mJeiGg','odFhs','11dXgCHe','push'];_0xd376=function(){return _0xb1be0;};return _0xd376();}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3cdc(_0x4f357c,_0x6bab2a){const _0xd37618=_0xd376();return _0x3cdc=function(_0x3cdce4,_0x220d41){_0x3cdce4=_0x3cdce4-0x10b;let _0x14e08c=_0xd37618[_0x3cdce4];return _0x14e08c;},_0x3cdc(_0x4f357c,_0x6bab2a);}export class NTQQFriendApi{static async['getFriends'](_0x407d91=![]){const _0x514ca2=_0x3cdc,_0x4c8e93={'odFhs':_0x514ca2(0x115)};let [_0x279235,_0x3d04c9]=await NTEventDispatch[_0x514ca2(0x112)]('NodeIKernelBuddyService/getBuddyList',_0x4c8e93[_0x514ca2(0x10c)],0x1,0x1388,_0x407d91);const _0x17ae9e=[];for(const _0x503f83 of _0x3d04c9){for(const _0x4636b7 of _0x503f83[_0x514ca2(0x11d)]){_0x17ae9e[_0x514ca2(0x10e)](_0x4636b7);}}return _0x17ae9e;}static async['handleFriendRequest'](_0x4d658c,_0x236c8b){const _0x5753d6=_0x3cdc;let _0x53e923=_0x4d658c[_0x5753d6(0x11a)]('|');if(_0x53e923[_0x5753d6(0x113)]<0x2)return;let _0x1f4130=_0x53e923[0x0],_0xcdf22e=_0x53e923[0x1];napCatCore['session'][_0x5753d6(0x110)]()?.[_0x5753d6(0x11e)]({'friendUid':_0x1f4130,'reqTime':_0xcdf22e,'accept':_0x236c8b});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 1d95224e..c46e3e30 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x5f4f(){const _0x3fc5de=['获取群成员列表出错,','1902oYGgMS','1891280cpxwDv','quitGroup','publishGroupBulletin','TITLETYPE','session','banMember','lANTn','groupMemberList_MainWindow','modifyGroupName','createGroupFolder','result','NodeIKernelGroupService/getGroupList','321CifNZK','getGroupService','getRichMediaService','deleteGroupFolder','DelGroupFile','NodeIKernelGroupListener/onGroupListUpdate','GdiMy','NodeIKernelGroupService/getSingleScreenNotifies','DelGroupFileFolder','13112SvRJBl','CallNormalEvent','1176970oWmCqX','56dPJPew','efdoo','arkJson','CreatGroupFileFolder','modifyMemberCardName','getMemberExtInfo','kickMember','XeKFZ','qun.qq.com','handleGroupRequest','setMemberRole','UjfyY','221175QGZGMh','347wpGKRL','getGroupRemainAtTimes','539567yRqUrN','group','NodeIKernelGroupService/getGroupRecommendContactArkJson','operateSysNotify','11boSpSB','HqPBH','NodeIKernelGroupListener/onGroupSingleScreenNotifies','9948684ptfmRZ','setGroupShutUp','deleteGroupFile','createMemberListScene','18ciXzdH','errCode','getGroupRecommendContactArkJson','getNextMemberList','setGroupName','groupCode','uploadGroupBulletinPic','getGroupIgnoreNotifies','type','HTjwu'];_0x5f4f=function(){return _0x3fc5de;};return _0x5f4f();}const _0x1302bb=_0x2b0c;(function(_0x40822b,_0x478850){const _0x1a0041=_0x2b0c,_0xcc91f=_0x40822b();while(!![]){try{const _0x1dd884=-parseInt(_0x1a0041(0x200))/0x1*(-parseInt(_0x1a0041(0x1da))/0x2)+parseInt(_0x1a0041(0x1e7))/0x3*(parseInt(_0x1a0041(0x1f0))/0x4)+parseInt(_0x1a0041(0x1f2))/0x5+-parseInt(_0x1a0041(0x1cf))/0x6*(parseInt(_0x1a0041(0x1c4))/0x7)+-parseInt(_0x1a0041(0x1f3))/0x8*(-parseInt(_0x1a0041(0x1ff))/0x9)+parseInt(_0x1a0041(0x1db))/0xa+parseInt(_0x1a0041(0x1c8))/0xb*(-parseInt(_0x1a0041(0x1cb))/0xc);if(_0x1dd884===_0x478850)break;else _0xcc91f['push'](_0xcc91f['shift']());}catch(_0x44dcb7){_0xcc91f['push'](_0xcc91f['shift']());}}}(_0x5f4f,0x34f9e));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x2b0c(_0x4cce60,_0x469ef2){const _0x5f4fa0=_0x5f4f();return _0x2b0c=function(_0x2b0c33,_0x5e2c08){_0x2b0c33=_0x2b0c33-0x1c3;let _0x475f18=_0x5f4fa0[_0x2b0c33];return _0x475f18;},_0x2b0c(_0x4cce60,_0x469ef2);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x41df47=![]){const _0x196f35=_0x2b0c,_0x438557={'HqPBH':_0x196f35(0x1e6),'rJzeC':_0x196f35(0x1ec)};let [_0x3f7874,_0x4b79eb,_0x787ac4]=await NTEventDispatch[_0x196f35(0x1f1)](_0x438557[_0x196f35(0x1c9)],_0x438557['rJzeC'],0x1,0x1388,_0x41df47);return _0x787ac4;}static async[_0x1302bb(0x1d1)](_0x2c38af){const _0x112701=_0x1302bb;return napCatCore[_0x112701(0x1df)][_0x112701(0x1e8)]()[_0x112701(0x1d1)](_0x2c38af);}static async[_0x1302bb(0x1f6)](_0x19b099,_0x33d479){const _0x54848e=_0x1302bb;return napCatCore[_0x54848e(0x1df)]['getRichMediaService']()[_0x54848e(0x1e4)](_0x19b099,_0x33d479);}static async[_0x1302bb(0x1eb)](_0x441890,_0x3747cd){const _0x3bf4e4=_0x1302bb;return napCatCore[_0x3bf4e4(0x1df)][_0x3bf4e4(0x1e9)]()[_0x3bf4e4(0x1cd)](_0x441890,[0x66],_0x3747cd);}static async[_0x1302bb(0x1ef)](_0x56f5d8,_0x3a6764){const _0x43c05e=_0x1302bb;return napCatCore[_0x43c05e(0x1df)][_0x43c05e(0x1e9)]()[_0x43c05e(0x1ea)](_0x56f5d8,_0x3a6764);}static async['getSingleScreenNotifies'](_0x37f1b2){const _0xf380c7=_0x1302bb,_0x1d106d={'UjfyY':_0xf380c7(0x1ca)};let [_0x4a27b1,_0x364339,_0x41e890,_0x41c2c0]=await NTEventDispatch[_0xf380c7(0x1f1)](_0xf380c7(0x1ee),_0x1d106d[_0xf380c7(0x1fe)],0x1,0x1388,![],'',_0x37f1b2);return _0x41c2c0;}static async['getGroupMembers'](_0x568b66,_0x153916=0xbb8){const _0x2cbb5d=_0x1302bb,_0x490c9f={'GdiMy':_0x2cbb5d(0x1e2),'XeKFZ':function(_0x891dc8,_0x4cc0a1){return _0x891dc8+_0x4cc0a1;},'efdoo':_0x2cbb5d(0x1d9)},_0x269c8c=napCatCore[_0x2cbb5d(0x1df)]['getGroupService'](),_0xfcff87=_0x269c8c[_0x2cbb5d(0x1ce)](_0x568b66,_0x490c9f[_0x2cbb5d(0x1ed)]),_0x396adb=await _0x269c8c[_0x2cbb5d(0x1d2)](_0xfcff87,undefined,_0x153916);if(_0x396adb[_0x2cbb5d(0x1d0)]!==0x0)throw _0x490c9f[_0x2cbb5d(0x1fa)](_0x490c9f[_0x2cbb5d(0x1f4)],_0x396adb['errMsg']);return _0x396adb[_0x2cbb5d(0x1e5)]['infos'];}static async['getGroupNotifies'](){}static async['GetGroupFileCount'](_0x302082){const _0x2e33e6=_0x1302bb;return napCatCore[_0x2e33e6(0x1df)][_0x2e33e6(0x1e9)]()['batchGetGroupFileCount'](_0x302082);}static async[_0x1302bb(0x1d6)](){}static async['getArkJsonGroupShare'](_0x57c336){const _0x1c3686=_0x1302bb,_0x5f3bcb={'OVWzS':_0x1c3686(0x1c6)};let _0x429aa4=await NTEventDispatch['CallNoListenerEvent'](_0x5f3bcb['OVWzS'],0x1388,_0x57c336);return _0x429aa4[_0x1c3686(0x1f5)];}static async[_0x1302bb(0x1d5)](_0x29dfc4,_0x4ff611){const _0x2d8685=_0x1302bb,_0x2a9bcc={'EjRDC':_0x2d8685(0x1fb)},_0x550d36=(await NTQQUserApi['getPSkey']([_0x2d8685(0x1fb)]))[_0x2a9bcc['EjRDC']];return napCatCore[_0x2d8685(0x1df)][_0x2d8685(0x1e8)]()[_0x2d8685(0x1d5)](_0x29dfc4,_0x550d36,_0x4ff611);}static async[_0x1302bb(0x1fc)](_0x24ef10,_0x35b803,_0x37e271){const _0x57b43b=_0x1302bb,_0x567acd={'jiAeq':function(_0x55fe6d,_0x15994d){return _0x55fe6d||_0x15994d;}};return napCatCore[_0x57b43b(0x1df)][_0x57b43b(0x1e8)]()[_0x57b43b(0x1c7)](![],{'operateType':_0x35b803,'targetMsg':{'seq':_0x24ef10['seq'],'type':_0x24ef10[_0x57b43b(0x1d7)],'groupCode':_0x24ef10[_0x57b43b(0x1c5)][_0x57b43b(0x1d4)],'postscript':_0x567acd['jiAeq'](_0x37e271,'')}});}static async[_0x1302bb(0x1dc)](_0x509eb7){const _0x4ca9dc=_0x1302bb;return napCatCore[_0x4ca9dc(0x1df)]['getGroupService']()['quitGroup'](_0x509eb7);}static async[_0x1302bb(0x1f9)](_0x366d84,_0x120a5e,_0x42eb13=![],_0x396ac1=''){const _0x2d5ce0=_0x1302bb;return napCatCore[_0x2d5ce0(0x1df)][_0x2d5ce0(0x1e8)]()[_0x2d5ce0(0x1f9)](_0x366d84,_0x120a5e,_0x42eb13,_0x396ac1);}static async[_0x1302bb(0x1e0)](_0x1628c2,_0x139164){const _0x5e259f=_0x1302bb;return napCatCore['session'][_0x5e259f(0x1e8)]()['setMemberShutUp'](_0x1628c2,_0x139164);}static async['banGroup'](_0x46607b,_0x1e3769){const _0x1386b7=_0x1302bb;return napCatCore['session']['getGroupService']()[_0x1386b7(0x1cc)](_0x46607b,_0x1e3769);}static async['setMemberCard'](_0x5a9531,_0x546d4f,_0x5acec8){const _0x2ef86a=_0x1302bb;return napCatCore['session']['getGroupService']()[_0x2ef86a(0x1f7)](_0x5a9531,_0x546d4f,_0x5acec8);}static async[_0x1302bb(0x1fd)](_0x289db4,_0x27727c,_0x127a79){const _0x3f8dfe=_0x1302bb;return napCatCore[_0x3f8dfe(0x1df)][_0x3f8dfe(0x1e8)]()['modifyMemberRole'](_0x289db4,_0x27727c,_0x127a79);}static async[_0x1302bb(0x1d3)](_0x52a321,_0xaf5de5){const _0x100ff5=_0x1302bb;return napCatCore[_0x100ff5(0x1df)][_0x100ff5(0x1e8)]()[_0x100ff5(0x1e3)](_0x52a321,_0xaf5de5,![]);}static async['setGroupTitle'](_0x17e48c,_0x448865,_0x526ee0){}static async['publishGroupBulletin'](_0x914ca6,_0x315656,_0x2553d0=undefined,_0x5738be=0x0,_0x1a93cb=0x0){const _0x324b37=_0x1302bb,_0x2fa7a7={'HTjwu':_0x324b37(0x1fb),'lANTn':function(_0x50c7f5,_0x2099c9){return _0x50c7f5(_0x2099c9);}},_0x4caae7=(await NTQQUserApi['getPSkey']([_0x2fa7a7[_0x324b37(0x1d8)]]))[_0x2fa7a7[_0x324b37(0x1d8)]];let _0x221266={'text':_0x2fa7a7[_0x324b37(0x1e1)](encodeURI,_0x315656),'picInfo':_0x2553d0,'oldFeedsId':'','pinned':_0x5738be,'confirmRequired':_0x1a93cb};return napCatCore['session'][_0x324b37(0x1e8)]()[_0x324b37(0x1dd)](_0x914ca6,_0x4caae7,_0x221266);}static async[_0x1302bb(0x1c3)](_0x460e6d){const _0x5941b7=_0x1302bb;napCatCore[_0x5941b7(0x1df)]['getGroupService']()[_0x5941b7(0x1c3)](_0x460e6d);}static async['getMemberExtInfo'](_0x218a30,_0x2343a4){const _0x2489e8=_0x1302bb;return napCatCore[_0x2489e8(0x1df)][_0x2489e8(0x1e8)]()[_0x2489e8(0x1f8)]({'groupCode':_0x218a30,'sourceType':MemberExtSourceType[_0x2489e8(0x1de)],'beginUin':'0','dataTime':'0','uinList':[_0x2343a4],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +function _0x2eab(_0x470dc9,_0xf1fe3b){const _0x5b0352=_0x5b03();return _0x2eab=function(_0x2eab8d,_0xff35e2){_0x2eab8d=_0x2eab8d-0x19b;let _0x55c5bb=_0x5b0352[_0x2eab8d];return _0x55c5bb;},_0x2eab(_0x470dc9,_0xf1fe3b);}const _0x22b2e1=_0x2eab;(function(_0x5f1204,_0x3e4b56){const _0x1dde43=_0x2eab,_0x3a058b=_0x5f1204();while(!![]){try{const _0x3f13a7=parseInt(_0x1dde43(0x1a1))/0x1+-parseInt(_0x1dde43(0x1c8))/0x2*(-parseInt(_0x1dde43(0x1d2))/0x3)+-parseInt(_0x1dde43(0x19f))/0x4+parseInt(_0x1dde43(0x1de))/0x5*(-parseInt(_0x1dde43(0x1ce))/0x6)+-parseInt(_0x1dde43(0x1d3))/0x7+-parseInt(_0x1dde43(0x1a7))/0x8+parseInt(_0x1dde43(0x1c6))/0x9;if(_0x3f13a7===_0x3e4b56)break;else _0x3a058b['push'](_0x3a058b['shift']());}catch(_0x64f4d2){_0x3a058b['push'](_0x3a058b['shift']());}}}(_0x5b03,0x4a674));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5b03(){const _0x1dedc3=['11282679FshwxI','setMemberShutUp','2Piepqa','getNextMemberList','GetGroupFileCount','setGroupShutUp','modifyMemberCardName','CallNormalEvent','6DWnbQc','errCode','DelGroupFile','groupCode','181977ocJzET','2139165WnxYjF','infos','group','SDnGY','eCPxU','modifyGroupName','NodeIKernelGroupListener/onGroupListUpdate','createMemberListScene','deleteGroupFile','arkJson','quitGroup','197605xjJsKB','getMemberExtInfo','deleteGroupFolder','result','kickMember','operateSysNotify','NQmYh','2066196EPFnhJ','publishGroupBulletin','426607VatgUy','handleGroupRequest','getRichMediaService','getPSkey','KcUBW','createGroupFolder','4595808zUvAdo','NodeIKernelGroupListener/onGroupSingleScreenNotifies','banMember','NodeIKernelGroupService/getGroupRecommendContactArkJson','session','tqDhq','getGroupRecommendContactArkJson','setMemberCard','CallNoListenerEvent','type','CreatGroupFileFolder','setGroupName','modifyMemberRole','MYwXJ','WAMoN','DelGroupFileFolder','getGroupService','NodeIKernelGroupService/getGroupList','getArkJsonGroupShare','OQmSy','banGroup','NodeIKernelGroupService/getSingleScreenNotifies','uploadGroupBulletinPic','XafcE','qun.qq.com','getGroups','setGroupTitle','batchGetGroupFileCount','xpVXE','JKPoX','getGroupNotifies'];_0x5b03=function(){return _0x1dedc3;};return _0x5b03();}export class NTQQGroupApi{static async[_0x22b2e1(0x1c0)](_0x625e51=![]){const _0x3a64e9=_0x22b2e1,_0x579182={'SDnGY':_0x3a64e9(0x1b8),'MYwXJ':_0x3a64e9(0x1d9)};let [_0x5ef31f,_0x5881b4,_0x411457]=await NTEventDispatch[_0x3a64e9(0x1cd)](_0x579182[_0x3a64e9(0x1d6)],_0x579182[_0x3a64e9(0x1b4)],0x1,0x1388,_0x625e51);return _0x411457;}static async[_0x22b2e1(0x1ad)](_0x1164cc){const _0x5caee6=_0x22b2e1;return napCatCore[_0x5caee6(0x1ab)][_0x5caee6(0x1b7)]()[_0x5caee6(0x1ad)](_0x1164cc);}static async[_0x22b2e1(0x1b1)](_0x3976d9,_0x4ee288){const _0x3eb7e1=_0x22b2e1;return napCatCore['session']['getRichMediaService']()[_0x3eb7e1(0x1a6)](_0x3976d9,_0x4ee288);}static async[_0x22b2e1(0x1d0)](_0x15a1f9,_0x10a488){const _0x3590d2=_0x22b2e1;return napCatCore['session'][_0x3590d2(0x1a3)]()[_0x3590d2(0x1db)](_0x15a1f9,[0x66],_0x10a488);}static async[_0x22b2e1(0x1b6)](_0x2a9250,_0x5b46ed){const _0x459e18=_0x22b2e1;return napCatCore[_0x459e18(0x1ab)][_0x459e18(0x1a3)]()[_0x459e18(0x1e0)](_0x2a9250,_0x5b46ed);}static async['getSingleScreenNotifies'](_0x16d1c9){const _0x17a87e=_0x22b2e1,_0x1a7477={'tqDhq':_0x17a87e(0x1bc),'KcUBW':_0x17a87e(0x1a8)};let [_0x40b609,_0x2e2d2d,_0x115ea9,_0x3f1dce]=await NTEventDispatch[_0x17a87e(0x1cd)](_0x1a7477[_0x17a87e(0x1ac)],_0x1a7477[_0x17a87e(0x1a5)],0x1,0x1388,![],'',_0x16d1c9);return _0x3f1dce;}static async['getGroupMembers'](_0x598670,_0x12b07a=0xbb8){const _0x5d23d3=_0x22b2e1,_0x5c9580={'JKPoX':function(_0x4300f7,_0x39745c){return _0x4300f7!==_0x39745c;},'OQmSy':function(_0x5960f4,_0x14d3b5){return _0x5960f4+_0x14d3b5;},'NQmYh':'获取群成员列表出错,'},_0x1c2a4e=napCatCore[_0x5d23d3(0x1ab)]['getGroupService'](),_0x3c810d=_0x1c2a4e[_0x5d23d3(0x1da)](_0x598670,'groupMemberList_MainWindow'),_0x5ca1d1=await _0x1c2a4e[_0x5d23d3(0x1c9)](_0x3c810d,undefined,_0x12b07a);if(_0x5c9580[_0x5d23d3(0x1c4)](_0x5ca1d1[_0x5d23d3(0x1cf)],0x0))throw _0x5c9580[_0x5d23d3(0x1ba)](_0x5c9580[_0x5d23d3(0x19e)],_0x5ca1d1['errMsg']);return _0x5ca1d1[_0x5d23d3(0x19b)][_0x5d23d3(0x1d4)];}static async[_0x22b2e1(0x1c5)](){}static async[_0x22b2e1(0x1ca)](_0x57f810){const _0x415ad0=_0x22b2e1;return napCatCore[_0x415ad0(0x1ab)]['getRichMediaService']()[_0x415ad0(0x1c2)](_0x57f810);}static async['getGroupIgnoreNotifies'](){}static async[_0x22b2e1(0x1b9)](_0x15bdc2){const _0x53d2b3=_0x22b2e1,_0xd3f26c={'eCPxU':_0x53d2b3(0x1aa)};let _0x44a4b6=await NTEventDispatch[_0x53d2b3(0x1af)](_0xd3f26c[_0x53d2b3(0x1d7)],0x1388,_0x15bdc2);return _0x44a4b6[_0x53d2b3(0x1dc)];}static async[_0x22b2e1(0x1bd)](_0x29ee38,_0x5ee1f5){const _0x43b6ca=_0x22b2e1,_0x208101={'xpVXE':_0x43b6ca(0x1bf)},_0x445caf=(await NTQQUserApi[_0x43b6ca(0x1a4)]([_0x43b6ca(0x1bf)]))[_0x208101[_0x43b6ca(0x1c3)]];return napCatCore['session'][_0x43b6ca(0x1b7)]()[_0x43b6ca(0x1bd)](_0x29ee38,_0x445caf,_0x5ee1f5);}static async[_0x22b2e1(0x1a2)](_0x658441,_0x33c785,_0x77db7c){const _0x401335=_0x22b2e1,_0x52979a={'drCDa':function(_0x2e2399,_0x3b070d){return _0x2e2399||_0x3b070d;}};return napCatCore[_0x401335(0x1ab)][_0x401335(0x1b7)]()[_0x401335(0x19d)](![],{'operateType':_0x33c785,'targetMsg':{'seq':_0x658441['seq'],'type':_0x658441[_0x401335(0x1b0)],'groupCode':_0x658441[_0x401335(0x1d5)][_0x401335(0x1d1)],'postscript':_0x52979a['drCDa'](_0x77db7c,'')}});}static async[_0x22b2e1(0x1dd)](_0x21978f){const _0x57792f=_0x22b2e1;return napCatCore[_0x57792f(0x1ab)]['getGroupService']()[_0x57792f(0x1dd)](_0x21978f);}static async[_0x22b2e1(0x19c)](_0x28d762,_0x2530d2,_0x37707a=![],_0x39126c=''){const _0x5405fc=_0x22b2e1;return napCatCore[_0x5405fc(0x1ab)][_0x5405fc(0x1b7)]()[_0x5405fc(0x19c)](_0x28d762,_0x2530d2,_0x37707a,_0x39126c);}static async[_0x22b2e1(0x1a9)](_0x56facd,_0x18e129){const _0x253efd=_0x22b2e1;return napCatCore[_0x253efd(0x1ab)][_0x253efd(0x1b7)]()[_0x253efd(0x1c7)](_0x56facd,_0x18e129);}static async[_0x22b2e1(0x1bb)](_0x59cc96,_0x328915){const _0x27fc36=_0x22b2e1;return napCatCore[_0x27fc36(0x1ab)][_0x27fc36(0x1b7)]()[_0x27fc36(0x1cb)](_0x59cc96,_0x328915);}static async[_0x22b2e1(0x1ae)](_0x5465b7,_0x4e50fe,_0x5de9d7){const _0x1ad808=_0x22b2e1;return napCatCore[_0x1ad808(0x1ab)][_0x1ad808(0x1b7)]()[_0x1ad808(0x1cc)](_0x5465b7,_0x4e50fe,_0x5de9d7);}static async['setMemberRole'](_0x465c73,_0x34b2be,_0x2d47c9){const _0x404aa8=_0x22b2e1;return napCatCore[_0x404aa8(0x1ab)]['getGroupService']()[_0x404aa8(0x1b3)](_0x465c73,_0x34b2be,_0x2d47c9);}static async[_0x22b2e1(0x1b2)](_0x218406,_0x4e70c3){const _0x130520=_0x22b2e1;return napCatCore[_0x130520(0x1ab)][_0x130520(0x1b7)]()[_0x130520(0x1d8)](_0x218406,_0x4e70c3,![]);}static async[_0x22b2e1(0x1c1)](_0x2dd237,_0x1cc341,_0x2c3685){}static async[_0x22b2e1(0x1a0)](_0x189657,_0x5a125e,_0x47a425=undefined,_0x371947=0x0,_0xd5f820=0x0){const _0x239aed=_0x22b2e1,_0x39cd36={'WAMoN':_0x239aed(0x1bf),'XafcE':function(_0x54a7bb,_0xdab0e5){return _0x54a7bb(_0xdab0e5);}},_0x216bbb=(await NTQQUserApi[_0x239aed(0x1a4)]([_0x39cd36['WAMoN']]))[_0x39cd36[_0x239aed(0x1b5)]];let _0x579115={'text':_0x39cd36[_0x239aed(0x1be)](encodeURI,_0x5a125e),'picInfo':_0x47a425,'oldFeedsId':'','pinned':_0x371947,'confirmRequired':_0xd5f820};return napCatCore[_0x239aed(0x1ab)]['getGroupService']()['publishGroupBulletin'](_0x189657,_0x216bbb,_0x579115);}static async['getGroupRemainAtTimes'](_0x2eb483){const _0x4b830d=_0x22b2e1;napCatCore['session'][_0x4b830d(0x1b7)]()['getGroupRemainAtTimes'](_0x2eb483);}static async['getMemberExtInfo'](_0x13d06a,_0x578942){const _0x1f0bfb=_0x22b2e1;return napCatCore[_0x1f0bfb(0x1ab)][_0x1f0bfb(0x1b7)]()[_0x1f0bfb(0x1df)]({'groupCode':_0x13d06a,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x578942],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 5c944fec..52a1d156 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2407ef,_0x182d6d){var _0x590b44=_0xf5fa,_0x5312a6=_0x2407ef();while(!![]){try{var _0x207ebc=-parseInt(_0x590b44(0x1cf))/0x1*(-parseInt(_0x590b44(0x1d2))/0x2)+parseInt(_0x590b44(0x1ce))/0x3*(parseInt(_0x590b44(0x1d4))/0x4)+-parseInt(_0x590b44(0x1d8))/0x5+parseInt(_0x590b44(0x1d7))/0x6+-parseInt(_0x590b44(0x1d5))/0x7*(parseInt(_0x590b44(0x1d6))/0x8)+-parseInt(_0x590b44(0x1d1))/0x9+-parseInt(_0x590b44(0x1d3))/0xa*(-parseInt(_0x590b44(0x1d0))/0xb);if(_0x207ebc===_0x182d6d)break;else _0x5312a6['push'](_0x5312a6['shift']());}catch(_0x59e052){_0x5312a6['push'](_0x5312a6['shift']());}}}(_0x1b7d,0x4e34d));export*from'./file';export*from'./friend';function _0x1b7d(){var _0x12db0c=['21679fPQWuF','1528QAnOCh','66618JroRlN','3148380ggTIzp','1986xPxEJu','510254ZoQmiu','2032074JErlKW','5096025orEfbQ','2FuzEkd','70yOqJgB','1772PDpjJm'];_0x1b7d=function(){return _0x12db0c;};return _0x1b7d();}function _0xf5fa(_0x3e2ebc,_0x398f15){var _0x1b7d61=_0x1b7d();return _0xf5fa=function(_0xf5faf,_0x2cd4bc){_0xf5faf=_0xf5faf-0x1ce;var _0x43e12f=_0x1b7d61[_0xf5faf];return _0x43e12f;},_0xf5fa(_0x3e2ebc,_0x398f15);}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x1b411a,_0x1b715d){var _0x244faf=_0x53ed,_0x3cb2a7=_0x1b411a();while(!![]){try{var _0x5cd598=parseInt(_0x244faf(0x98))/0x1*(parseInt(_0x244faf(0x9f))/0x2)+parseInt(_0x244faf(0x9b))/0x3*(-parseInt(_0x244faf(0x99))/0x4)+-parseInt(_0x244faf(0xa0))/0x5*(-parseInt(_0x244faf(0x9c))/0x6)+-parseInt(_0x244faf(0x9d))/0x7+-parseInt(_0x244faf(0x97))/0x8+parseInt(_0x244faf(0x9e))/0x9+parseInt(_0x244faf(0x9a))/0xa;if(_0x5cd598===_0x1b715d)break;else _0x3cb2a7['push'](_0x3cb2a7['shift']());}catch(_0x41548c){_0x3cb2a7['push'](_0x3cb2a7['shift']());}}}(_0xd331,0xce691));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x53ed(_0x4cb001,_0xa9fd61){var _0xd33165=_0xd331();return _0x53ed=function(_0x53ed24,_0x2728bf){_0x53ed24=_0x53ed24-0x97;var _0x5e9b38=_0xd33165[_0x53ed24];return _0x5e9b38;},_0x53ed(_0x4cb001,_0xa9fd61);}export*from'./user';export*from'./webapi';function _0xd331(){var _0x570049=['3204496oFsLlT','1313065HNYUJr','5018092OLSWSr','15576210WVrUFy','3VMuWYG','561426zLWNnJ','7438452xssemH','5390289dGZZUr','2SEhiUy','5EyMbAc'];_0xd331=function(){return _0x570049;};return _0xd331();}export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 2e1a59d2..2d467ae4 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0xa5566e=_0x2c31;(function(_0x48487b,_0x1ebd34){const _0xf5929e=_0x2c31,_0x14a2b7=_0x48487b();while(!![]){try{const _0x168507=-parseInt(_0xf5929e(0x11e))/0x1+-parseInt(_0xf5929e(0x11a))/0x2*(-parseInt(_0xf5929e(0x118))/0x3)+parseInt(_0xf5929e(0x119))/0x4*(parseInt(_0xf5929e(0x151))/0x5)+parseInt(_0xf5929e(0x138))/0x6+-parseInt(_0xf5929e(0x152))/0x7*(parseInt(_0xf5929e(0x144))/0x8)+-parseInt(_0xf5929e(0x15a))/0x9+-parseInt(_0xf5929e(0x11f))/0xa*(-parseInt(_0xf5929e(0x116))/0xb);if(_0x168507===_0x1ebd34)break;else _0x14a2b7['push'](_0x14a2b7['shift']());}catch(_0x1af08d){_0x14a2b7['push'](_0x14a2b7['shift']());}}}(_0x2f8c,0xcd0b2));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x2f8c(){const _0x2d2b10=['2HfTrSv','senderUid','uid','catch','1091058MVQKfV','2180EIxbXt','SzrzD','recallMsg','onMsgInfoListUpdate','setMsgEmojiLikes','fetchRecentContact','kELne','SpHZa','arkElement','parse','LKNnT','VosTp','then','sendMsg','发送超时','lZiQB','nick','activateChatAndGetHistory','forwardMsg','edysW','set','getMsgsIncludeSelf','yFBRC','bPBsw','getMsgService','7972644AVtTtj','getMsgsByMsgId','FtiiX','SzRUz','RUqsF','item','session','setMsgRead','find','XaBhl','onLoginSuccess','onAddSendMsg','40ygsfKq','转发消息超时','getGroupFileList','peerUid','onGroupFileInfoUpdate','CbfYs','elements','jpOXm','WWQXl','tWGbD','getMultiMsg','msgId','nTQJd','2917435PKxCuZ','1791517wFWFNN','YyoHh','com.tencent.multimsg','length','delete','toString','otWTV','addListener','3903453JZfoUA','setEmojiLike','getMsgsBySeqAndCount','RLMhE','multiForwardMsgWithComment','sendStatus','85052dximfg','forEach','139353myybXe','4twYzQS'];_0x2f8c=function(){return _0x2d2b10;};return _0x2f8c();}import{randomUUID}from'crypto';function _0x2c31(_0x4b04b2,_0x26f063){const _0x2f8c01=_0x2f8c();return _0x2c31=function(_0x2c310a,_0x3b946e){_0x2c310a=_0x2c310a-0x115;let _0x28bf25=_0x2f8c01[_0x2c310a];return _0x28bf25;},_0x2c31(_0x4b04b2,_0x26f063);}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xa5566e(0x148)]=_0x42fdf2=>{const _0x2b0f07={'TlLdm':function(_0xc07ccf,_0x9bcca7){return _0xc07ccf(_0x9bcca7);}};for(const [_0x28af08,_0x1cc8c6]of GroupFileInfoUpdateTasks){_0x2b0f07['TlLdm'](_0x1cc8c6,_0x42fdf2),GroupFileInfoUpdateTasks['delete'](_0x28af08);}},msgListener[_0xa5566e(0x143)]=_0x220059=>{const _0xd89ee6=_0xa5566e,_0x326a91={'lZiQB':function(_0x1e39c1,_0x59f1de){return _0x1e39c1(_0x59f1de);},'SpHZa':function(_0x366f38,_0x29bd6a){return _0x366f38 instanceof _0x29bd6a;}};for(const [_0x53858f,_0x147355]of sentMsgTasks){_0x326a91[_0xd89ee6(0x12e)](_0x147355,_0x220059),sentMsgTasks[_0xd89ee6(0x156)](_0x53858f);}if(sendMessagePool[_0x220059[_0xd89ee6(0x147)]]){const _0x923c7e=sendMessagePool[_0x220059[_0xd89ee6(0x147)]]?.(_0x220059);_0x326a91[_0xd89ee6(0x126)](_0x923c7e,Promise)&&_0x923c7e[_0xd89ee6(0x12b)]()[_0xd89ee6(0x11d)](logError);}},msgListener[_0xa5566e(0x122)]=_0xd67313=>{const _0x567c5e=_0xa5566e,_0x46f5b1={'YyoHh':function(_0x40849d,_0x213b30){return _0x40849d instanceof _0x213b30;}};_0xd67313[_0x567c5e(0x117)](_0x3ef707=>{const _0x5a1e69=_0x567c5e,_0x5303bd={'fDryZ':function(_0x58e66b,_0x75fe2b){return _0x58e66b(_0x75fe2b);},'VosTp':function(_0xa85732,_0x1c9eae){const _0x2627d0=_0x2c31;return _0x46f5b1[_0x2627d0(0x153)](_0xa85732,_0x1c9eae);}};new Promise((_0x55ffd0,_0x13ccfa)=>{const _0x5db503=_0x2c31;for(const _0x4a89b8 in sendSuccessCBMap){const _0x435c10=sendSuccessCBMap[_0x4a89b8],_0x367434=_0x5303bd['fDryZ'](_0x435c10,_0x3ef707),_0x2b9a54=_0x2f1c8a=>{_0x2f1c8a&&delete sendSuccessCBMap[_0x4a89b8];};_0x5303bd[_0x5db503(0x12a)](_0x367434,Promise)?_0x367434[_0x5db503(0x12b)](_0x2b9a54):_0x2b9a54(_0x367434);}})[_0x5a1e69(0x12b)]()[_0x5a1e69(0x11d)](log);});},setTimeout(()=>{const _0x3d9eec=_0xa5566e;napCatCore[_0x3d9eec(0x142)](()=>{const _0x1fda60=_0x3d9eec;napCatCore[_0x1fda60(0x159)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xa5566e(0x15b)](_0x3a4013,_0x2ea49c,_0xdb323,_0x27441f=!![]){const _0x792580=_0xa5566e,_0x362184={'SzrzD':function(_0x233ef5,_0x8892de){return _0x233ef5>_0x8892de;}};return _0xdb323=_0xdb323[_0x792580(0x157)](),napCatCore['session'][_0x792580(0x137)]()[_0x792580(0x123)](_0x3a4013,_0x2ea49c,_0xdb323,_0x362184[_0x792580(0x120)](_0xdb323[_0x792580(0x155)],0x3)?'2':'1',_0x27441f);}static async[_0xa5566e(0x14e)](_0x534e95,_0x1112f4,_0x247d31){const _0x2f8540=_0xa5566e;return napCatCore[_0x2f8540(0x13e)][_0x2f8540(0x137)]()[_0x2f8540(0x14e)](_0x534e95,_0x1112f4,_0x247d31);}static async[_0xa5566e(0x139)](_0x405910,_0x18efef){const _0xfdb831=_0xa5566e;return await napCatCore['session'][_0xfdb831(0x137)]()['getMsgsByMsgId'](_0x405910,_0x18efef);}static async['getMsgsBySeqAndCount'](_0x932fbf,_0x5cd5d3,_0x404578,_0x3e959d,_0x149b23){const _0x1cb096=_0xa5566e;return await napCatCore[_0x1cb096(0x13e)][_0x1cb096(0x137)]()[_0x1cb096(0x15c)](_0x932fbf,_0x5cd5d3,_0x404578,_0x3e959d,_0x149b23);}static async['activateChat'](_0x1531bd){}static async[_0xa5566e(0x130)](_0x1ae517){}static async[_0xa5566e(0x13f)](_0x379964){const _0x3eb1e0=_0xa5566e;return napCatCore[_0x3eb1e0(0x13e)]['getMsgService']()[_0x3eb1e0(0x13f)](_0x379964);}static async['getGroupFileList'](_0x4c5b13,_0x327940){const _0x244912={'FVqAj':function(_0x55039e,_0x224a52,_0x51b010){return _0x55039e(_0x224a52,_0x51b010);}};return new Promise(async(_0x5df704,_0x443fa6)=>{const _0x5394e4=_0x2c31,_0x3c5afb={'kFjOi':function(_0x3451e8,_0x356e6e){return _0x3451e8(_0x356e6e);},'SzRUz':'获取群文件列表超时'};let _0x13e765=![];_0x244912['FVqAj'](setTimeout,()=>{const _0x3c803f=_0x2c31;!_0x13e765&&_0x3c5afb['kFjOi'](_0x443fa6,_0x3c5afb[_0x3c803f(0x13b)]);},0x1388);const _0x3060b5=_0x57d2e7=>{const _0x210207=_0x2c31;_0x13e765=!![],_0x5df704(_0x57d2e7[_0x210207(0x13d)]);};GroupFileInfoUpdateTasks[_0x5394e4(0x133)](randomUUID(),_0x3060b5),await napCatCore[_0x5394e4(0x13e)]['getRichMediaService']()[_0x5394e4(0x146)](_0x4c5b13,_0x327940);});}static async['getMsgHistory'](_0x154486,_0x17018a,_0x55d8cc){const _0x27afc6=_0xa5566e;return napCatCore[_0x27afc6(0x13e)]['getMsgService']()[_0x27afc6(0x134)](_0x154486,_0x17018a,_0x55d8cc,!![]);}static async[_0xa5566e(0x124)](){}static async['recallMsg'](_0x4a191a,_0x2e7428){const _0x57478c=_0xa5566e;await napCatCore[_0x57478c(0x13e)][_0x57478c(0x137)]()[_0x57478c(0x121)]({'chatType':_0x4a191a['chatType'],'peerUid':_0x4a191a[_0x57478c(0x147)]},_0x2e7428);}static async[_0xa5566e(0x12c)](_0x15d8e2,_0x45319c,_0x45aec5=!![],_0x16e627=0x2710){const _0x411d33=_0xa5566e,_0x1236a2={'jpOXm':function(_0x3a7936,_0x108afd){return _0x3a7936>_0x108afd;},'CbfYs':function(_0x1a67c2,_0x41aaae){return _0x1a67c2(_0x41aaae);},'FtiiX':function(_0x3adb05){return _0x3adb05();},'bPBsw':function(_0x182241,_0x23db78){return _0x182241===_0x23db78;},'yFBRC':'发送超时'},_0x76787=_0x15d8e2[_0x411d33(0x147)];let _0x27ed44=0x0;const _0x50d1ab=async()=>{const _0x11fcb0=_0x411d33;if(_0x1236a2[_0x11fcb0(0x14b)](_0x27ed44,_0x16e627))throw _0x11fcb0(0x12d);const _0xd6cfd5=sendMessagePool[_0x15d8e2[_0x11fcb0(0x147)]];if(_0xd6cfd5)return await _0x1236a2[_0x11fcb0(0x149)](sleep,0x1f4),_0x27ed44+=0x1f4,await _0x1236a2['FtiiX'](_0x50d1ab);else return;};return await _0x1236a2[_0x411d33(0x13a)](_0x50d1ab),new Promise((_0x5ebedc,_0x5713da)=>{const _0x5227b5=_0x411d33,_0x43d428={'hcAYU':function(_0x36c62c,_0x5b866d){const _0x2f1ec3=_0x2c31;return _0x1236a2[_0x2f1ec3(0x136)](_0x36c62c,_0x5b866d);},'RLMhE':function(_0x49dffb,_0x3ad099){const _0x1739d1=_0x2c31;return _0x1236a2[_0x1739d1(0x149)](_0x49dffb,_0x3ad099);},'vxvNT':_0x1236a2[_0x5227b5(0x135)]};let _0x5a562b=![],_0x51ec4a=null;const _0x4c2353=randomUUID();sendSuccessCBMap[_0x4c2353]=_0x11cc1b=>{const _0x14815b=_0x5227b5;if(_0x43d428['hcAYU'](_0x11cc1b[_0x14815b(0x14f)],_0x51ec4a?.[_0x14815b(0x14f)])){if(_0x11cc1b[_0x14815b(0x115)]===0x2)return delete sendSuccessCBMap[_0x4c2353],_0x5a562b=!![],_0x5ebedc(_0x11cc1b),!![];return![];}return![];},sendMessagePool[_0x76787]=async _0x18505d=>{delete sendMessagePool[_0x76787],_0x51ec4a=_0x18505d;},setTimeout(()=>{const _0x27c5f4=_0x5227b5;if(_0x5a562b)return;delete sendMessagePool[_0x76787],delete sendSuccessCBMap[_0x4c2353],_0x43d428[_0x27c5f4(0x15d)](_0x5713da,_0x43d428['vxvNT']);},_0x16e627);const _0x15dee1=napCatCore[_0x5227b5(0x13e)][_0x5227b5(0x137)]()['sendMsg']('0',_0x15d8e2,_0x45319c,new Map());});}static async[_0xa5566e(0x131)](_0x119a95,_0x3611c8,_0x36a2d8){const _0x56dd3e=_0xa5566e;return napCatCore[_0x56dd3e(0x13e)][_0x56dd3e(0x137)]()[_0x56dd3e(0x131)](_0x36a2d8,_0x119a95,[_0x3611c8],new Map());}static async['multiForwardMsg'](_0x2d62e2,_0x5b2e21,_0x30d98d){const _0xbc11a8=_0xa5566e,_0x9d4ad5={'WWQXl':function(_0x5dbb08,_0x29c765){return _0x5dbb08(_0x29c765);},'nTQJd':function(_0x25142c,_0x30b4d2){return _0x25142c!=_0x30b4d2;},'kELne':_0xbc11a8(0x154),'MpfOd':function(_0x390a3a,_0x37f481){return _0x390a3a(_0x37f481);},'XaBhl':function(_0x49fda5,_0x32aff3,_0x472c06){return _0x49fda5(_0x32aff3,_0x472c06);}},_0x1a2c05=_0x30d98d['map'](_0x2589bc=>{const _0x1f5e9c=_0xbc11a8;return{'msgId':_0x2589bc,'senderShowName':selfInfo[_0x1f5e9c(0x12f)]};});return new Promise((_0x38bfcd,_0x5578ff)=>{const _0x383202=_0xbc11a8,_0x2c0c35={'RUqsF':function(_0x527405,_0x408c01){const _0x4eff47=_0x2c31;return _0x9d4ad5[_0x4eff47(0x150)](_0x527405,_0x408c01);},'LKNnT':_0x9d4ad5[_0x383202(0x125)],'tWGbD':function(_0x2f14ec,_0x3c62ae){return _0x2f14ec==_0x3c62ae;},'edysW':function(_0x67f7fd,_0xfbf240){return _0x67f7fd==_0xfbf240;},'otWTV':function(_0x5755d3,_0xef5ab7){return _0x9d4ad5['MpfOd'](_0x5755d3,_0xef5ab7);}};let _0x216f17=![];const _0x346303=_0x47cf3d=>{const _0x5cbffd=_0x383202,_0x2ff50b=_0x47cf3d[_0x5cbffd(0x14a)][_0x5cbffd(0x140)](_0x32b09d=>_0x32b09d['arkElement']);if(!_0x2ff50b)return;const _0x394a17=JSON[_0x5cbffd(0x128)](_0x2ff50b[_0x5cbffd(0x127)]['bytesData']);if(_0x2c0c35[_0x5cbffd(0x13c)](_0x394a17['app'],_0x2c0c35[_0x5cbffd(0x129)]))return;_0x2c0c35[_0x5cbffd(0x14d)](_0x47cf3d['peerUid'],_0x5b2e21['peerUid'])&&_0x2c0c35[_0x5cbffd(0x132)](_0x47cf3d[_0x5cbffd(0x11b)],selfInfo[_0x5cbffd(0x11c)])&&(_0x216f17=!![],_0x2c0c35[_0x5cbffd(0x158)](_0x38bfcd,_0x47cf3d));};sentMsgTasks[_0x383202(0x133)](randomUUID(),_0x346303),_0x9d4ad5[_0x383202(0x141)](setTimeout,()=>{const _0x2cd3ce=_0x383202;!_0x216f17&&_0x9d4ad5[_0x2cd3ce(0x14c)](_0x5578ff,_0x2cd3ce(0x145));},0x1388),napCatCore[_0x383202(0x13e)]['getMsgService']()[_0x383202(0x15e)](_0x1a2c05,_0x2d62e2,_0x5b2e21,[],new Map());});}} \ No newline at end of file +const _0x22880d=_0x2d28;(function(_0x454b6e,_0x3ff179){const _0x4e84e0=_0x2d28,_0x3a63c3=_0x454b6e();while(!![]){try{const _0x2bb637=parseInt(_0x4e84e0(0xac))/0x1+parseInt(_0x4e84e0(0xa1))/0x2+parseInt(_0x4e84e0(0x7e))/0x3*(-parseInt(_0x4e84e0(0x73))/0x4)+parseInt(_0x4e84e0(0x9d))/0x5+-parseInt(_0x4e84e0(0x8b))/0x6+parseInt(_0x4e84e0(0x80))/0x7*(-parseInt(_0x4e84e0(0x84))/0x8)+parseInt(_0x4e84e0(0x78))/0x9;if(_0x2bb637===_0x3ff179)break;else _0x3a63c3['push'](_0x3a63c3['shift']());}catch(_0x52f5ed){_0x3a63c3['push'](_0x3a63c3['shift']());}}}(_0x408e,0x84ab7));import{selfInfo}from'@/core/data';function _0x408e(){const _0x5ede2d=['ApLPR','发送超时','arjbv','msgId','ICocf','multiForwardMsgWithComment','433465ENwKhL','multiForwardMsg','activateChatAndGetHistory','tsFyW','kcsVg','item','elements','xVfUJ','wnoAi','getMsgsByMsgId','forEach','sendMsg','43756CDHjhU','CnDWM','recallMsg','转发消息超时','iaQhy','4340511KIOobq','setMsgEmojiLikes','getRichMediaService','CXvMJ','ePklM','ufowp','177QFwLVo','map','21DtVLYO','getMultiMsg','set','app','711992EjEMbi','IIKXj','setEmojiLike','activateChat','then','ePcpe','uid','4748754tWEHcV','session','getGroupFileList','ZwZdH','onLoginSuccess','toString','SayjI','chatType','getMsgsBySeqAndCount','rBOBt','com.tencent.multimsg','bytesData','sYIwM','peerUid','wBDVO','onGroupFileInfoUpdate','setMsgRead','NZmVY','3812665LFCBYE','catch','getMsgHistory','onMsgInfoListUpdate','1137990hwqAmZ','getMsgService','onAddSendMsg','forwardMsg','arkElement'];_0x408e=function(){return _0x5ede2d;};return _0x408e();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x2d28(_0x21f3cc,_0x514e0e){const _0x408ecf=_0x408e();return _0x2d28=function(_0x2d283e,_0x5907db){_0x2d283e=_0x2d283e-0x6a;let _0x44c282=_0x408ecf[_0x2d283e];return _0x44c282;},_0x2d28(_0x21f3cc,_0x514e0e);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x22880d(0x9a)]=_0x5a0dbe=>{const _0x1f1084=_0x22880d,_0x1cba9b={'CXvMJ':function(_0x45d1df,_0x4ee4ac){return _0x45d1df(_0x4ee4ac);}};for(const [_0x2e8311,_0x144ba0]of GroupFileInfoUpdateTasks){_0x1cba9b[_0x1f1084(0x7b)](_0x144ba0,_0x5a0dbe),GroupFileInfoUpdateTasks['delete'](_0x2e8311);}},msgListener[_0x22880d(0xa3)]=_0x1c31ea=>{const _0x4aded1=_0x22880d,_0x33e67e={'arjbv':function(_0x48d380,_0x3ae4b0){return _0x48d380(_0x3ae4b0);},'ufowp':function(_0x2a9fd4,_0x30e902){return _0x2a9fd4 instanceof _0x30e902;}};for(const [_0x2994e5,_0x234fd7]of sentMsgTasks){_0x33e67e[_0x4aded1(0xa8)](_0x234fd7,_0x1c31ea),sentMsgTasks['delete'](_0x2994e5);}if(sendMessagePool[_0x1c31ea[_0x4aded1(0x98)]]){const _0x57d894=sendMessagePool[_0x1c31ea[_0x4aded1(0x98)]]?.(_0x1c31ea);_0x33e67e[_0x4aded1(0x7d)](_0x57d894,Promise)&&_0x57d894['then']()[_0x4aded1(0x9e)](logError);}},msgListener[_0x22880d(0xa0)]=_0x555528=>{const _0x10f5af=_0x22880d,_0x460124={'tsFyW':function(_0x40e5f1,_0x46b2f3){return _0x40e5f1(_0x46b2f3);},'SayjI':function(_0x139691,_0x5f30ab){return _0x139691 instanceof _0x5f30ab;}};_0x555528[_0x10f5af(0x71)](_0x2f788b=>{const _0x17a35d=_0x10f5af;new Promise((_0x33f5ec,_0x594bc0)=>{const _0x28ae8f=_0x2d28;for(const _0x492951 in sendSuccessCBMap){const _0x113e98=sendSuccessCBMap[_0x492951],_0x2304e3=_0x460124[_0x28ae8f(0x6a)](_0x113e98,_0x2f788b),_0x243478=_0x4b1a54=>{_0x4b1a54&&delete sendSuccessCBMap[_0x492951];};_0x460124[_0x28ae8f(0x91)](_0x2304e3,Promise)?_0x2304e3[_0x28ae8f(0x88)](_0x243478):_0x460124[_0x28ae8f(0x6a)](_0x243478,_0x2304e3);}})['then']()[_0x17a35d(0x9e)](log);});},setTimeout(()=>{const _0x449012=_0x22880d;napCatCore[_0x449012(0x8f)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x22880d(0x86)](_0x2cc0da,_0x474e74,_0x335b77,_0x501e89=!![]){const _0x4d8da4=_0x22880d;return _0x335b77=_0x335b77[_0x4d8da4(0x90)](),napCatCore[_0x4d8da4(0x8c)][_0x4d8da4(0xa2)]()[_0x4d8da4(0x79)](_0x2cc0da,_0x474e74,_0x335b77,_0x335b77['length']>0x3?'2':'1',_0x501e89);}static async[_0x22880d(0x81)](_0x455546,_0x4d6a7a,_0x56e718){const _0x16e37c=_0x22880d;return napCatCore[_0x16e37c(0x8c)][_0x16e37c(0xa2)]()[_0x16e37c(0x81)](_0x455546,_0x4d6a7a,_0x56e718);}static async[_0x22880d(0x70)](_0x1d25d1,_0xf64539){const _0x3af99d=_0x22880d;return await napCatCore[_0x3af99d(0x8c)][_0x3af99d(0xa2)]()[_0x3af99d(0x70)](_0x1d25d1,_0xf64539);}static async['getMsgsBySeqAndCount'](_0x4d5320,_0x19cd3c,_0x480ae4,_0x409aa2,_0x6c90fb){const _0x43caf9=_0x22880d;return await napCatCore[_0x43caf9(0x8c)][_0x43caf9(0xa2)]()[_0x43caf9(0x93)](_0x4d5320,_0x19cd3c,_0x480ae4,_0x409aa2,_0x6c90fb);}static async[_0x22880d(0x87)](_0x2d26cc){}static async[_0x22880d(0xae)](_0x4632b0){}static async[_0x22880d(0x9b)](_0x35af3d){const _0xe6f802=_0x22880d;return napCatCore[_0xe6f802(0x8c)][_0xe6f802(0xa2)]()[_0xe6f802(0x9b)](_0x35af3d);}static async['getGroupFileList'](_0x118356,_0x10046e){const _0x2ab859={'rBOBt':'获取群文件列表超时','MCfAz':function(_0x3282a0,_0x5de79a){return _0x3282a0(_0x5de79a);},'wBDVO':function(_0x343353){return _0x343353();}};return new Promise(async(_0x2f1ca1,_0x212cd6)=>{const _0x4e4071=_0x2d28;let _0x2f672a=![];setTimeout(()=>{const _0x973816=_0x2d28;!_0x2f672a&&_0x212cd6(_0x2ab859[_0x973816(0x94)]);},0x1388);const _0x272a17=_0x228c8d=>{const _0x7cfeb9=_0x2d28;_0x2f672a=!![],_0x2ab859['MCfAz'](_0x2f1ca1,_0x228c8d[_0x7cfeb9(0x6c)]);};GroupFileInfoUpdateTasks[_0x4e4071(0x82)](_0x2ab859[_0x4e4071(0x99)](randomUUID),_0x272a17),await napCatCore[_0x4e4071(0x8c)][_0x4e4071(0x7a)]()[_0x4e4071(0x8d)](_0x118356,_0x10046e);});}static async[_0x22880d(0x9f)](_0x1c4131,_0x28400e,_0x3889c8){const _0x493e00=_0x22880d;return napCatCore[_0x493e00(0x8c)][_0x493e00(0xa2)]()['getMsgsIncludeSelf'](_0x1c4131,_0x28400e,_0x3889c8,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x5bcb48,_0x567950){const _0x47efda=_0x22880d;await napCatCore[_0x47efda(0x8c)][_0x47efda(0xa2)]()[_0x47efda(0x75)]({'chatType':_0x5bcb48[_0x47efda(0x92)],'peerUid':_0x5bcb48[_0x47efda(0x98)]},_0x567950);}static async[_0x22880d(0x72)](_0x364f4c,_0x1d2f11,_0x2fbeea=!![],_0x7c7e69=0x2710){const _0x1e282f=_0x22880d,_0x47d2ca={'wnoAi':function(_0x2b2ba0,_0x246de0){return _0x2b2ba0>_0x246de0;},'HRAyo':_0x1e282f(0xa7),'NZmVY':function(_0x2b946e,_0xcec40b){return _0x2b946e(_0xcec40b);},'ePcpe':function(_0x2ccf36){return _0x2ccf36();},'ApLPR':function(_0x4fad5a,_0x2863e1){return _0x4fad5a===_0x2863e1;},'QOCMa':function(_0x91c7bf,_0x28f2fd){return _0x91c7bf===_0x28f2fd;},'wCNBT':function(_0x26550a){return _0x26550a();},'DKdgo':function(_0x5a8ae1,_0x51eec4,_0x563085){return _0x5a8ae1(_0x51eec4,_0x563085);}},_0x235cff=_0x364f4c[_0x1e282f(0x98)];let _0x30955f=0x0;const _0x338e97=async()=>{const _0xa214ef=_0x1e282f;if(_0x47d2ca[_0xa214ef(0x6f)](_0x30955f,_0x7c7e69))throw _0x47d2ca['HRAyo'];const _0x41b449=sendMessagePool[_0x364f4c[_0xa214ef(0x98)]];if(_0x41b449)return await _0x47d2ca[_0xa214ef(0x9c)](sleep,0x1f4),_0x30955f+=0x1f4,await _0x47d2ca[_0xa214ef(0x89)](_0x338e97);else return;};return await _0x338e97(),new Promise((_0x485722,_0x515e34)=>{const _0x1523fc=_0x1e282f,_0x445da9={'ePklM':function(_0x269f31,_0xa5645e){const _0x2d9507=_0x2d28;return _0x47d2ca[_0x2d9507(0xa6)](_0x269f31,_0xa5645e);},'izDTY':function(_0x21606e,_0x50e36e){return _0x47d2ca['QOCMa'](_0x21606e,_0x50e36e);},'kcsVg':function(_0x5712f6,_0x1301a0){const _0x2fd9e0=_0x2d28;return _0x47d2ca[_0x2fd9e0(0x9c)](_0x5712f6,_0x1301a0);}};let _0x1327d8=![],_0x27c711=null;const _0x1c066e=_0x47d2ca['wCNBT'](randomUUID);sendSuccessCBMap[_0x1c066e]=_0x6b700c=>{const _0x379873=_0x2d28;if(_0x445da9[_0x379873(0x7c)](_0x6b700c[_0x379873(0xa9)],_0x27c711?.[_0x379873(0xa9)])){if(_0x445da9['izDTY'](_0x6b700c['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1c066e],_0x1327d8=!![],_0x445da9[_0x379873(0x6b)](_0x485722,_0x6b700c),!![];return![];}return![];},sendMessagePool[_0x235cff]=async _0x22e1fd=>{delete sendMessagePool[_0x235cff],_0x27c711=_0x22e1fd;},_0x47d2ca['DKdgo'](setTimeout,()=>{if(_0x1327d8)return;delete sendMessagePool[_0x235cff],delete sendSuccessCBMap[_0x1c066e],_0x47d2ca['NZmVY'](_0x515e34,_0x47d2ca['HRAyo']);},_0x7c7e69);const _0x5c613a=napCatCore[_0x1523fc(0x8c)]['getMsgService']()[_0x1523fc(0x72)]('0',_0x364f4c,_0x1d2f11,new Map());});}static async[_0x22880d(0xa4)](_0x3c9410,_0x2c180a,_0x19b73f){const _0x7da5e3=_0x22880d;return napCatCore[_0x7da5e3(0x8c)][_0x7da5e3(0xa2)]()[_0x7da5e3(0xa4)](_0x19b73f,_0x3c9410,[_0x2c180a],new Map());}static async[_0x22880d(0xad)](_0x113a92,_0x43f59b,_0xd8d56b){const _0x2be357=_0x22880d,_0x215141={'iaQhy':_0x2be357(0x95),'ZwZdH':function(_0x46fae9,_0x38049a){return _0x46fae9==_0x38049a;},'xVfUJ':function(_0x5da8b9,_0x586730){return _0x5da8b9==_0x586730;},'IIKXj':function(_0x1fece2,_0x42da9c){return _0x1fece2(_0x42da9c);},'CnDWM':function(_0x2e6b4b){return _0x2e6b4b();},'ICocf':function(_0x1810fe,_0x3faf75,_0x591a63){return _0x1810fe(_0x3faf75,_0x591a63);}},_0x4a3d3d=_0xd8d56b[_0x2be357(0x7f)](_0x11385d=>{return{'msgId':_0x11385d,'senderShowName':selfInfo['nick']};});return new Promise((_0x569f18,_0x2f358f)=>{const _0x3a6bb9=_0x2be357,_0x2d95ed={'sYIwM':function(_0x5b4ff9,_0x3db2a3){const _0x208b02=_0x2d28;return _0x215141[_0x208b02(0x85)](_0x5b4ff9,_0x3db2a3);},'zPZes':_0x3a6bb9(0x76)};let _0xdd88da=![];const _0x950785=_0x412da8=>{const _0xd29c72=_0x3a6bb9,_0x4a0d24=_0x412da8[_0xd29c72(0x6d)]['find'](_0x456ad7=>_0x456ad7['arkElement']);if(!_0x4a0d24)return;const _0x13dcc2=JSON['parse'](_0x4a0d24[_0xd29c72(0xa5)][_0xd29c72(0x96)]);if(_0x13dcc2[_0xd29c72(0x83)]!=_0x215141[_0xd29c72(0x77)])return;_0x215141[_0xd29c72(0x8e)](_0x412da8[_0xd29c72(0x98)],_0x43f59b[_0xd29c72(0x98)])&&_0x215141[_0xd29c72(0x6e)](_0x412da8['senderUid'],selfInfo[_0xd29c72(0x8a)])&&(_0xdd88da=!![],_0x215141[_0xd29c72(0x85)](_0x569f18,_0x412da8));};sentMsgTasks['set'](_0x215141[_0x3a6bb9(0x74)](randomUUID),_0x950785),_0x215141[_0x3a6bb9(0xaa)](setTimeout,()=>{const _0x1261b7=_0x3a6bb9;!_0xdd88da&&_0x2d95ed[_0x1261b7(0x97)](_0x2f358f,_0x2d95ed['zPZes']);},0x1388),napCatCore['session'][_0x3a6bb9(0xa2)]()[_0x3a6bb9(0xab)](_0x4a3d3d,_0x113a92,_0x43f59b,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 35824e3e..431b066d 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2c8d6f,_0x440f50){const _0x11ee88=_0x5755,_0xcff08b=_0x2c8d6f();while(!![]){try{const _0x5b0186=parseInt(_0x11ee88(0xaa))/0x1*(-parseInt(_0x11ee88(0xa3))/0x2)+parseInt(_0x11ee88(0xac))/0x3+parseInt(_0x11ee88(0xa0))/0x4*(-parseInt(_0x11ee88(0xa1))/0x5)+parseInt(_0x11ee88(0x90))/0x6+parseInt(_0x11ee88(0x8d))/0x7*(parseInt(_0x11ee88(0x8a))/0x8)+parseInt(_0x11ee88(0x92))/0x9*(-parseInt(_0x11ee88(0x8f))/0xa)+-parseInt(_0x11ee88(0xa8))/0xb;if(_0x5b0186===_0x440f50)break;else _0xcff08b['push'](_0xcff08b['shift']());}catch(_0x39487e){_0xcff08b['push'](_0xcff08b['shift']());}}}(_0x2e9e,0x44491));function _0x5755(_0x2a8a79,_0x4e7f9b){const _0x2e9e82=_0x2e9e();return _0x5755=function(_0x5755b0,_0x75b89b){_0x5755b0=_0x5755b0-0x85;let _0x57fe2b=_0x2e9e82[_0x5755b0];return _0x57fe2b;},_0x5755(_0x2a8a79,_0x4e7f9b);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x2e9e(){const _0x2124d2=['CQpFH','7tLXsUC','kiRrT','4981160WZblnc','364290UqbbUp','title','9lrfJki','p_skey','&ark=','tag','replace','HttpGetJson','signed_ark','JIWwG','bhmvW','tianxuan.imgJumpArk','jwipJ','oDcJc','eRNpy','preview','16ZEfBzT','37585BavLwB','ppRBA','83924tTMtop','sourcelogo','\x5c/\x5c/','CLqte','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','238007nWbniH','source','3iPmSpk','LHoyZ','1138272QoYysG','com.tencent.miniapp.lua','stringify','p_skey=','skey','tqwMb','normal','jumpUrl','data','NnACD','dzOpO','MiniApp\x20JSON\x20消息生成失败','miniapp','getQzoneCookies','4122120zPiWuK','uin'];_0x2e9e=function(){return _0x2124d2;};return _0x2e9e();}import{WebApi}from'./webapi';export async function SignMiniApp(_0x4dd77b){const _0x203dbd=_0x5755,_0x192040={'CLqte':_0x203dbd(0xad),'CQpFH':_0x203dbd(0x88),'LHoyZ':_0x203dbd(0xb2),'tqwMb':_0x203dbd(0xa5),'eRNpy':function(_0x27ee0e,_0x56469d){return _0x27ee0e+_0x56469d;},'oDcJc':_0x203dbd(0xaf),'JIWwG':';\x20skey=','jwipJ':';\x20p_uin=o','bhmvW':function(_0x874fd2,_0x6dff72){return _0x874fd2+_0x6dff72;},'ppRBA':function(_0x25ec77,_0x4ffa64){return _0x25ec77+_0x4ffa64;},'dzOpO':_0x203dbd(0xa7),'NnACD':function(_0x35fe97,_0x323653){return _0x35fe97(_0x323653);},'vBeOp':'GET','kiRrT':function(_0x43c052,_0x28a0fa,_0x5a2526){return _0x43c052(_0x28a0fa,_0x5a2526);}};let _0x29cb78={'app':_0x192040[_0x203dbd(0xa6)],'bizsrc':_0x203dbd(0x9b),'view':_0x192040[_0x203dbd(0x8c)],'prompt':_0x4dd77b['prompt'],'config':{'type':_0x192040[_0x203dbd(0xab)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4dd77b[_0x203dbd(0x91)],'preview':_0x4dd77b[_0x203dbd(0x9f)][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'jumpUrl':_0x4dd77b[_0x203dbd(0xb3)][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'tag':_0x4dd77b[_0x203dbd(0x95)],'tagIcon':_0x4dd77b['tagIcon'][_0x203dbd(0x96)](/\\/g,_0x192040[_0x203dbd(0xb1)]),'source':_0x4dd77b[_0x203dbd(0xa9)],'sourcelogo':_0x4dd77b[_0x203dbd(0xa4)][_0x203dbd(0x96)](/\\/g,_0x203dbd(0xa5))}}};const _0x4ce407=await NTQQUserApi['getSkey']();let _0x16da73=await NTQQUserApi[_0x203dbd(0x89)]();const _0x50116f=WebApi['genBkn'](_0x16da73[_0x203dbd(0x93)]),_0x3daeb0=_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9e)](_0x192040['eRNpy'](_0x192040[_0x203dbd(0x9d)],_0x16da73['p_skey']),_0x192040[_0x203dbd(0x99)])+_0x16da73[_0x203dbd(0xb0)],_0x192040[_0x203dbd(0x9c)])+selfInfo[_0x203dbd(0x8b)],';\x20uin=o')+selfInfo[_0x203dbd(0x8b)];let _0x363aac=_0x192040[_0x203dbd(0x9e)](_0x192040[_0x203dbd(0x9a)](_0x192040[_0x203dbd(0xa2)](_0x192040[_0x203dbd(0x86)],_0x50116f),_0x203dbd(0x94)),_0x192040[_0x203dbd(0x85)](encodeURIComponent,JSON[_0x203dbd(0xae)](_0x29cb78))),_0x30550a='';try{let _0x1aff91=await RequestUtil[_0x203dbd(0x97)](_0x363aac,_0x192040['vBeOp'],undefined,{'Cookie':_0x3daeb0});_0x30550a=_0x1aff91[_0x203dbd(0xb4)][_0x203dbd(0x98)];}catch(_0x59731c){_0x192040[_0x203dbd(0x8e)](logDebug,_0x203dbd(0x87),_0x59731c);}return _0x30550a;} \ No newline at end of file +(function(_0x1bcec0,_0x311cd9){const _0x27f6e9=_0x2b1f,_0x3ecc57=_0x1bcec0();while(!![]){try{const _0x5e1993=parseInt(_0x27f6e9(0x99))/0x1+parseInt(_0x27f6e9(0x90))/0x2*(-parseInt(_0x27f6e9(0xb6))/0x3)+-parseInt(_0x27f6e9(0xab))/0x4+-parseInt(_0x27f6e9(0x9e))/0x5+parseInt(_0x27f6e9(0xb3))/0x6+parseInt(_0x27f6e9(0x9f))/0x7*(parseInt(_0x27f6e9(0x94))/0x8)+parseInt(_0x27f6e9(0xa4))/0x9;if(_0x5e1993===_0x311cd9)break;else _0x3ecc57['push'](_0x3ecc57['shift']());}catch(_0x42dc34){_0x3ecc57['push'](_0x3ecc57['shift']());}}}(_0x27f9,0xbaed5));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x2b1f(_0x59df29,_0x32e4ec){const _0x27f9f4=_0x27f9();return _0x2b1f=function(_0x2b1fc0,_0x426362){_0x2b1fc0=_0x2b1fc0-0x8e;let _0x57ad58=_0x27f9f4[_0x2b1fc0];return _0x57ad58;},_0x2b1f(_0x59df29,_0x32e4ec);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x27f9(){const _0x2e5ea4=['mlgSc','NKcjV','\x5c/\x5c/','hpAdx','nIFHJ','EdvuC','10jdMxIX','CLmQC','com.tencent.miniapp.lua','p_skey=','56sPyMps','sRJOs','replace','miniapp','uin','1294262qYrvAp','prompt','preview','tianxuan.imgJumpArk','rlnQn','188965NADImT','1050742MtqcrL','FSrHP','tag','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','sourcelogo','148176ydneyr','pZYxA','&ark=','normal','GET','yTbRa','stringify','4152076nIQEeZ','title','data','jumpUrl','getQzoneCookies','HttpGetJson','MiniApp\x20JSON\x20消息生成失败','cebQT','870252ffJwyj','getSkey','tagIcon','399027HCgZlT','PTDln',';\x20skey='];_0x27f9=function(){return _0x2e5ea4;};return _0x27f9();}export async function SignMiniApp(_0x4eb057){const _0x33cc25=_0x2b1f,_0x44b685={'bHuFe':_0x33cc25(0x92),'sRJOs':_0x33cc25(0x9c),'aOzHa':_0x33cc25(0x97),'rlnQn':_0x33cc25(0xa7),'NKcjV':_0x33cc25(0xbb),'FSrHP':function(_0x4b21d9,_0x28ac87){return _0x4b21d9+_0x28ac87;},'hpAdx':function(_0x4c368c,_0x180732){return _0x4c368c+_0x180732;},'pZYxA':function(_0xc75119,_0x1f128e){return _0xc75119+_0x1f128e;},'vhhNh':_0x33cc25(0x93),'nIFHJ':_0x33cc25(0xb8),'yTbRa':';\x20p_uin=o','vfZhZ':';\x20uin=o','mlgSc':function(_0xc00eb9,_0x52adfe){return _0xc00eb9+_0x52adfe;},'HvcKE':_0x33cc25(0xa2),'cebQT':function(_0x2ea86a,_0x59b7a0){return _0x2ea86a(_0x59b7a0);},'PTDln':_0x33cc25(0xa8),'EdvuC':function(_0x239d7f,_0x135206,_0x5ec2f7){return _0x239d7f(_0x135206,_0x5ec2f7);},'CLmQC':_0x33cc25(0xb1)};let _0x512f64={'app':_0x44b685['bHuFe'],'bizsrc':_0x44b685[_0x33cc25(0x95)],'view':_0x44b685['aOzHa'],'prompt':_0x4eb057[_0x33cc25(0x9a)],'config':{'type':_0x44b685[_0x33cc25(0x9d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4eb057[_0x33cc25(0xac)],'preview':_0x4eb057[_0x33cc25(0x9b)]['replace'](/\\/g,_0x44b685['NKcjV']),'jumpUrl':_0x4eb057[_0x33cc25(0xae)][_0x33cc25(0x96)](/\\/g,_0x33cc25(0xbb)),'tag':_0x4eb057[_0x33cc25(0xa1)],'tagIcon':_0x4eb057[_0x33cc25(0xb5)][_0x33cc25(0x96)](/\\/g,_0x44b685[_0x33cc25(0xba)]),'source':_0x4eb057['source'],'sourcelogo':_0x4eb057[_0x33cc25(0xa3)][_0x33cc25(0x96)](/\\/g,_0x44b685['NKcjV'])}}};const _0x32921f=await NTQQUserApi[_0x33cc25(0xb4)]();let _0x56c523=await NTQQUserApi[_0x33cc25(0xaf)]();const _0x4dbc62=WebApi['genBkn'](_0x56c523['p_skey']),_0x227790=_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xbc)](_0x44b685['pZYxA'](_0x44b685['pZYxA'](_0x44b685[_0x33cc25(0xa5)](_0x44b685['vhhNh'],_0x56c523['p_skey']),_0x44b685[_0x33cc25(0x8e)])+_0x56c523['skey'],_0x44b685[_0x33cc25(0xa9)]),selfInfo[_0x33cc25(0x98)]),_0x44b685['vfZhZ']),selfInfo[_0x33cc25(0x98)]);let _0x20b2b6=_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xb9)](_0x44b685['HvcKE'],_0x4dbc62),_0x33cc25(0xa6))+_0x44b685[_0x33cc25(0xb2)](encodeURIComponent,JSON[_0x33cc25(0xaa)](_0x512f64)),_0x41b725='';try{let _0x3bee84=await RequestUtil[_0x33cc25(0xb0)](_0x20b2b6,_0x44b685[_0x33cc25(0xb7)],undefined,{'Cookie':_0x227790});_0x41b725=_0x3bee84[_0x33cc25(0xad)]['signed_ark'];}catch(_0x76aed3){_0x44b685[_0x33cc25(0x8f)](logDebug,_0x44b685[_0x33cc25(0x91)],_0x76aed3);}return _0x41b725;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 427f8410..0e417839 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x33269d=_0x4995;function _0x5357(){const _0x30b6b6=['18dlIHfO','getMsgService','getOnLineDev','10LVTmMX','NodeIKernelCollectionService/collectionArkShare','getOnlineDev','session','ORCImage','util','34445PcFiFV','getNodeMiscService','6AVMLsC','1717662698058','13109WfArlx','145166qPwZcV','getArkJsonCollection','translateEnWordToZn','4403439gKlcYs','713106lDcSNS','wantWinScreenOCR','8628928oAPyQv','getRichMediaService','138728WIphtn','akbVT','hasOtherRunningQQProcess','32eyTEOm','CallNoListenerEvent'];_0x5357=function(){return _0x30b6b6;};return _0x5357();}(function(_0x39d0d2,_0x41ad8f){const _0xa98dfa=_0x4995,_0x5ae3cd=_0x39d0d2();while(!![]){try{const _0x49b704=-parseInt(_0xa98dfa(0x132))/0x1*(-parseInt(_0xa98dfa(0x140))/0x2)+-parseInt(_0xa98dfa(0x130))/0x3*(-parseInt(_0xa98dfa(0x13b))/0x4)+parseInt(_0xa98dfa(0x12e))/0x5+-parseInt(_0xa98dfa(0x137))/0x6+-parseInt(_0xa98dfa(0x133))/0x7*(parseInt(_0xa98dfa(0x13e))/0x8)+parseInt(_0xa98dfa(0x136))/0x9*(-parseInt(_0xa98dfa(0x143))/0xa)+parseInt(_0xa98dfa(0x139))/0xb;if(_0x49b704===_0x41ad8f)break;else _0x5ae3cd['push'](_0x5ae3cd['shift']());}catch(_0x12bc75){_0x5ae3cd['push'](_0x5ae3cd['shift']());}}}(_0x5357,0x46378));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x4995(_0x25681f,_0xd7cf37){const _0x53576c=_0x5357();return _0x4995=function(_0x499511,_0x384667){_0x499511=_0x499511-0x12e;let _0x52d888=_0x53576c[_0x499511];return _0x52d888;},_0x4995(_0x25681f,_0xd7cf37);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x33269d(0x13d)](){const _0x4be2e1=_0x33269d;return napCatCore[_0x4be2e1(0x148)]['hasOtherRunningQQProcess']();}static async[_0x33269d(0x147)](_0x5be50b){const _0x2e00c1=_0x33269d;return napCatCore['session'][_0x2e00c1(0x12f)]()[_0x2e00c1(0x138)](_0x5be50b);}static async[_0x33269d(0x135)](_0x20def5){const _0x488366=_0x33269d;return napCatCore['session'][_0x488366(0x13a)]()[_0x488366(0x135)](_0x20def5);}static async[_0x33269d(0x145)](){const _0xdb9999=_0x33269d;return napCatCore[_0xdb9999(0x146)][_0xdb9999(0x141)]()[_0xdb9999(0x142)]();}static async[_0x33269d(0x134)](_0x289d23){const _0x742861=_0x33269d,_0x271b0a={'akbVT':_0x742861(0x144)};let _0x26c65d=await NTEventDispatch[_0x742861(0x13f)](_0x271b0a[_0x742861(0x13c)],0x1388,_0x742861(0x131));return _0x26c65d;}} \ No newline at end of file +function _0x73ee(_0x2bcdc6,_0x1c4578){const _0x4fa913=_0x4fa9();return _0x73ee=function(_0x73eea5,_0x3356f3){_0x73eea5=_0x73eea5-0x1d2;let _0x4ad010=_0x4fa913[_0x73eea5];return _0x4ad010;},_0x73ee(_0x2bcdc6,_0x1c4578);}function _0x4fa9(){const _0x38a208=['310712vTZtYu','CallNoListenerEvent','1994652jGhrRy','getOnLineDev','5131570uvuERW','1349795fgTfME','7lzdJeq','4222824BDumUQ','1164750tMpXIw','wantWinScreenOCR','4hzWRpv','707963JiGBYV','getRichMediaService','getMsgService','hasOtherRunningQQProcess','ILUty','translateEnWordToZn','NodeIKernelCollectionService/collectionArkShare','81kSLPQC','ORCImage','1717662698058','session'];_0x4fa9=function(){return _0x38a208;};return _0x4fa9();}const _0x927dec=_0x73ee;(function(_0x524303,_0x345554){const _0x14b63d=_0x73ee,_0x394e72=_0x524303();while(!![]){try{const _0x3759a1=-parseInt(_0x14b63d(0x1e2))/0x1+-parseInt(_0x14b63d(0x1df))/0x2+parseInt(_0x14b63d(0x1d9))/0x3+parseInt(_0x14b63d(0x1e1))/0x4*(parseInt(_0x14b63d(0x1dc))/0x5)+-parseInt(_0x14b63d(0x1de))/0x6*(-parseInt(_0x14b63d(0x1dd))/0x7)+parseInt(_0x14b63d(0x1d7))/0x8*(-parseInt(_0x14b63d(0x1d3))/0x9)+parseInt(_0x14b63d(0x1db))/0xa;if(_0x3759a1===_0x345554)break;else _0x394e72['push'](_0x394e72['shift']());}catch(_0x2424ba){_0x394e72['push'](_0x394e72['shift']());}}}(_0x4fa9,0x7cfab));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x1f18e8=_0x73ee;return napCatCore['util'][_0x1f18e8(0x1e5)]();}static async[_0x927dec(0x1d4)](_0x2a8d8f){const _0x321ae4=_0x927dec;return napCatCore['session']['getNodeMiscService']()[_0x321ae4(0x1e0)](_0x2a8d8f);}static async[_0x927dec(0x1e7)](_0x11df29){const _0xcd1c14=_0x927dec;return napCatCore[_0xcd1c14(0x1d6)][_0xcd1c14(0x1e3)]()['translateEnWordToZn'](_0x11df29);}static async['getOnlineDev'](){const _0x297876=_0x927dec;return napCatCore['session'][_0x297876(0x1e4)]()[_0x297876(0x1da)]();}static async['getArkJsonCollection'](_0x486b29){const _0x1b7c6e=_0x927dec,_0x2c763c={'ILUty':_0x1b7c6e(0x1d5)};let _0x282239=await NTEventDispatch[_0x1b7c6e(0x1d8)](_0x1b7c6e(0x1d2),0x1388,_0x2c763c[_0x1b7c6e(0x1e6)]);return _0x282239;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts index 4212a804..46834278 100644 --- a/src/core.lib/src/apis/user.d.ts +++ b/src/core.lib/src/apis/user.d.ts @@ -1,6 +1,7 @@ import { ModifyProfileParams, User, UserDetailInfoByUin } from '@/core/entities'; import { GeneralCallResult } from '@/core'; export declare class NTQQUserApi { + static setLongNick(longNick: string): Promise; static setSelfOnlineStatus(status: number, extStatus: number, batteryStatus: number): Promise; static getBuddyRecommendContactArkJson(uin: string, sencenID?: string): Promise; static like(uid: string, count?: number): Promise<{ diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 946688d6..2c1d8e0c 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x14c5a7=_0x4146;(function(_0x32ed5f,_0x5e6817){const _0xdf1b33=_0x4146,_0x1486f0=_0x32ed5f();while(!![]){try{const _0x32e4a2=parseInt(_0xdf1b33(0xea))/0x1+-parseInt(_0xdf1b33(0xdb))/0x2+parseInt(_0xdf1b33(0xfa))/0x3+parseInt(_0xdf1b33(0x118))/0x4+-parseInt(_0xdf1b33(0x110))/0x5+-parseInt(_0xdf1b33(0x11c))/0x6*(-parseInt(_0xdf1b33(0x11e))/0x7)+-parseInt(_0xdf1b33(0xf2))/0x8;if(_0x32e4a2===_0x5e6817)break;else _0x1486f0['push'](_0x1486f0['shift']());}catch(_0x4dc310){_0x1486f0['push'](_0x1486f0['shift']());}}}(_0x5dcb,0x7ceee));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x5dcb(){const _0x4adc55=['setStatus','ehiMZ','ZCAyl','response','robotUinRanges','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','fromEntries','oSLaz','JuzYd','NodeIKernelUixConvertService/getUin','getMsgService','getQzoneCookies','KeyIndex','102042zdCpKD','GvVoC','uin','getRobotService','&clientkey=','setSelfOnlineStatus','NodeIKernelProfileService/getUserDetailInfoByUin','UVuRv','6846992Ecrpwa','jhHEM','assign','session','YcRlO','keyIndex','setQQAvatar','uYuUK','1562652VRIFZS','push','set','modifyDesktopMiniProfile','uid','getProfileService','getSelfInfo','like','CallNoListenerEvent','getRobotUinRange','PkZvf','clientKey','TgyCV','result','ClientKey','CreatTime','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','uEFAh','TGtHe','GNnZX','NodeIKernelUixConvertService/getUid','get','2740430HjuRKp','Skey','MNsBt','%2Finfocenter&keyindex=19%27','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getUserInfo','domainPskeyMap','PskeyTime','2905764CPNupL','errMsg','getUidByUin','getPSkey','228cPNGxN','获取Pskey失败','131838hdmDUs','pvYjw','onProfileDetailInfoChanged','getTipOffService','length','Kbvqs','VCQSN','请求获取Cookies时失败','now','wCvoY','getProfileLikeService','setHeader','dQknn','mxqYQ','uidInfo','HttpsGetCookies','getUserDetailInfoWithBizInfo','uinInfo','skey','fIJRv','then','RapFb','PskeyData','298746OuxadR','getPskey'];_0x5dcb=function(){return _0x4adc55;};return _0x5dcb();}function _0x4146(_0x4357aa,_0x210c82){const _0x5dcb00=_0x5dcb();return _0x4146=function(_0x414630,_0x1878da){_0x414630=_0x414630-0xd7;let _0x2ff298=_0x5dcb00[_0x414630];return _0x2ff298;},_0x4146(_0x4357aa,_0x210c82);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x14c5a7(0x120)]=_0x264df1=>{const _0x2f7485=_0x14c5a7;userInfoCache[_0x264df1[_0x2f7485(0xfe)]]=_0x264df1,userDetailHandlers['forEach'](_0x30cf92=>_0x30cf92(_0x264df1));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x14c5a7(0xef)](_0x181321,_0xb72100,_0x1f40d6){const _0x324f09=_0x14c5a7;return napCatCore[_0x324f09(0xf5)][_0x324f09(0xe7)]()[_0x324f09(0xdd)]({'status':_0x181321,'extStatus':_0xb72100,'batteryStatus':_0x1f40d6});}static async['getBuddyRecommendContactArkJson'](_0x94ba73,_0x28ba47=''){const _0x58c369=_0x14c5a7;return napCatCore[_0x58c369(0xf5)]['getBuddyService']()['getBuddyRecommendContactArkJson'](_0x94ba73,_0x28ba47);}static async[_0x14c5a7(0x101)](_0x447116,_0x74f81=0x1){const _0xcb9e78=_0x14c5a7;return napCatCore[_0xcb9e78(0xf5)][_0xcb9e78(0x128)]()['setBuddyProfileLike']({'friendUid':_0x447116,'sourceId':0x47,'doLikeCount':_0x74f81,'doLikeTollCount':0x0});}static async[_0x14c5a7(0xf8)](_0x10fe8d){const _0x458bf5=_0x14c5a7,_0x2d5e72=await napCatCore['session']['getProfileService']()[_0x458bf5(0x129)](_0x10fe8d);return{'result':_0x2d5e72?.[_0x458bf5(0x107)],'errMsg':_0x2d5e72?.['errMsg']};}static async[_0x14c5a7(0x100)](){}static async[_0x14c5a7(0x115)](_0x13012f){}static async['getUserDetailInfo'](_0x2578de){const _0x3cb668=_0x14c5a7,_0x4f2883={'uEFAh':function(_0x3de4b9,_0x171bbc){return _0x3de4b9(_0x171bbc);},'VCQSN':'getUserDetailInfo\x20timeout','pvYjw':function(_0x41a6b7,_0x5b016e){return _0x41a6b7===_0x5b016e;},'uYuUK':function(_0x47857e){return _0x47857e();}},_0x435968=napCatCore[_0x3cb668(0xf5)][_0x3cb668(0xff)]();return new Promise((_0x13c618,_0x43630c)=>{const _0x11a561=_0x3cb668,_0x3fcb2c={'dQknn':function(_0x5aeedf,_0x942a76){const _0x36d6eb=_0x4146;return _0x4f2883[_0x36d6eb(0x11f)](_0x5aeedf,_0x942a76);},'ehiMZ':function(_0x39014a,_0x372f17){return _0x4f2883['uEFAh'](_0x39014a,_0x372f17);}},_0x248316=_0x4f2883[_0x11a561(0xf9)](randomUUID);let _0x3738e3=![],_0x2587bd=undefined,_0x33dfaf=!![];setTimeout(()=>{const _0x2f528f=_0x11a561;!_0x3738e3&&(_0x2587bd?_0x4f2883[_0x2f528f(0x10b)](_0x13c618,_0x2587bd):_0x43630c(_0x4f2883[_0x2f528f(0x124)])),userDetailHandlers['delete'](_0x248316);},0x1388),userDetailHandlers['set'](_0x248316,_0x17155e=>{const _0x10b005=_0x11a561;_0x3fcb2c[_0x10b005(0x12a)](_0x17155e[_0x10b005(0xfe)],_0x2578de)&&(_0x33dfaf?(_0x2587bd=_0x17155e,_0x33dfaf=![]):(_0x3738e3=!![],_0x3fcb2c[_0x10b005(0xde)](_0x13c618,_0x17155e)));}),_0x435968[_0x11a561(0x12e)](_0x2578de,[0x0])[_0x11a561(0xd8)](_0x210aad=>{});});}static async['modifySelfProfile'](_0x19b9fd){const _0x260fff=_0x14c5a7;return napCatCore[_0x260fff(0xf5)][_0x260fff(0xff)]()[_0x260fff(0xfd)](_0x19b9fd);}static async[_0x14c5a7(0x11b)](_0x141aca,_0xfad02f=!![]){const _0x4eb0bd=_0x14c5a7,_0x47ac72={'GvVoC':function(_0x1ed0da,_0x32f4a8){return _0x1ed0da||_0x32f4a8;},'TgyCV':function(_0x5f287f,_0x10dfe2){return _0x5f287f-_0x10dfe2;},'jhHEM':function(_0x3ece97,_0x3fc919){return _0x3ece97*_0x3fc919;},'oSLaz':function(_0xbab146,_0x30cfc0){return _0xbab146>_0x30cfc0;},'fIJRv':function(_0x2f628a,_0x3a7f0d){return _0x2f628a===_0x3a7f0d;},'Kbvqs':_0x4eb0bd(0x11d)},_0x14c00d=[],_0x1b38ee={};for(const _0x392c31 in _0x141aca){const _0x2da3a9=Credentials[_0x4eb0bd(0xda)]['get'](_0x141aca[_0x392c31]),_0x3705f6=Credentials[_0x4eb0bd(0x117)]['get'](_0x141aca[_0x392c31]);_0x47ac72[_0x4eb0bd(0xeb)](!_0x2da3a9,!_0x3705f6)||_0x47ac72[_0x4eb0bd(0x106)](Date['now'](),_0x3705f6)>_0x47ac72[_0x4eb0bd(0xf3)](0x708,0x3e8)||!_0xfad02f?_0x14c00d[_0x4eb0bd(0xfb)](_0x141aca[_0x392c31]):_0x1b38ee[_0x141aca[_0x392c31]]=_0x2da3a9;}let _0x510041={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x47ac72[_0x4eb0bd(0xe4)](_0x14c00d[_0x4eb0bd(0x122)],0x0)&&(_0x510041=await napCatCore[_0x4eb0bd(0xf5)][_0x4eb0bd(0x121)]()[_0x4eb0bd(0xdc)](_0x14c00d,!![]));const _0x1a0fc2=_0x510041[_0x4eb0bd(0x116)];for(const _0x5a2aaf of _0x1a0fc2['entries']()){Credentials[_0x4eb0bd(0xda)][_0x4eb0bd(0xfc)](_0x5a2aaf[0x0],_0x5a2aaf[0x1]),Credentials[_0x4eb0bd(0x117)][_0x4eb0bd(0xfc)](_0x5a2aaf[0x0],Date[_0x4eb0bd(0x126)]());}const _0x356509=Object[_0x4eb0bd(0xf4)](Object[_0x4eb0bd(0xe3)](_0x1a0fc2),_0x1b38ee);if(_0x47ac72[_0x4eb0bd(0xd7)](_0x510041['result'],0x0))return _0x356509;else logError(_0x47ac72[_0x4eb0bd(0x123)],_0x510041[_0x4eb0bd(0x119)]);return{};}static async['getRobotUinRange'](){const _0xe255ff=_0x14c5a7,_0x16a19a=await napCatCore[_0xe255ff(0xf5)][_0xe255ff(0xed)]()[_0xe255ff(0x103)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x16a19a?.[_0xe255ff(0xe0)]?.[_0xe255ff(0xe1)];}static async[_0x14c5a7(0xe8)](){const _0x12f148=_0x14c5a7,_0x1a04c3={'MNsBt':function(_0xa68986,_0x118b50){return _0xa68986+_0x118b50;},'UVuRv':function(_0x411903,_0x2c35a4){return _0x411903+_0x2c35a4;},'YcRlO':_0x12f148(0x10a),'TGtHe':'&clientkey=','NgGxt':_0x12f148(0xe2),'kBIbx':_0x12f148(0x113),'habmw':function(_0x5f3b95,_0x3997da,_0x65197a){return _0x5f3b95(_0x3997da,_0x65197a);},'mxqYQ':_0x12f148(0x125)},_0x30e4da=_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0x112)](_0x1a04c3[_0x12f148(0xf1)](_0x1a04c3[_0x12f148(0xf6)],selfInfo[_0x12f148(0xec)]),_0x1a04c3[_0x12f148(0x10c)])+Credentials[_0x12f148(0x108)],_0x1a04c3['NgGxt'])+selfInfo[_0x12f148(0xec)],_0x1a04c3['kBIbx']);let _0x5daacd={};try{_0x5daacd=await RequestUtil[_0x12f148(0x12d)](_0x30e4da);}catch(_0x3015d8){_0x1a04c3['habmw'](logDebug,_0x1a04c3[_0x12f148(0x12b)],_0x3015d8),_0x5daacd={};}return _0x5daacd;}static async['getSkey'](_0x4b5860=!![]){const _0x6c7b84=_0x14c5a7,_0x1d1ca2={'XbsXA':function(_0x5450ed,_0x5d0df2){return _0x5450ed==_0x5d0df2;},'FeoEP':function(_0x26a6e6,_0xf1ceb6){return _0x26a6e6>_0xf1ceb6;},'GNnZX':function(_0x53e005,_0x21f232){return _0x53e005*_0x21f232;},'JuzYd':function(_0x47e9b6,_0x2e9e4c){return _0x47e9b6!==_0x2e9e4c;},'PkZvf':function(_0x542059,_0x206d03){return _0x542059+_0x206d03;},'wCvoY':_0x6c7b84(0xee),'ZCAyl':_0x6c7b84(0x114),'kxGMg':function(_0x58dc94,_0x5ad70f,_0x45d26b){return _0x58dc94(_0x5ad70f,_0x45d26b);},'RapFb':'请求获取Skey时失败'};try{if(_0x1d1ca2['XbsXA'](Credentials['CreatTime'],0x0)||_0x1d1ca2['FeoEP'](Date['now']()-Credentials[_0x6c7b84(0x109)],_0x1d1ca2[_0x6c7b84(0x10d)](0x3e8,0xe10))||!_0x4b5860){const _0xe2a241=await napCatCore[_0x6c7b84(0xf5)]['getTicketService']()['forceFetchClientKey']('');if(_0x1d1ca2[_0x6c7b84(0xe5)](_0xe2a241['result'],0x0))return'';const _0x1d07f2=_0xe2a241[_0x6c7b84(0x105)],_0x63f650=_0xe2a241[_0x6c7b84(0xf7)],_0x213769=_0x1d1ca2['PkZvf'](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x1d1ca2[_0x6c7b84(0x104)](_0x6c7b84(0x10a),selfInfo[_0x6c7b84(0xec)]),_0x1d1ca2[_0x6c7b84(0x127)]),_0x1d07f2),_0x1d1ca2[_0x6c7b84(0xdf)]),_0x63f650);let _0x2e835c={};try{_0x2e835c=await RequestUtil[_0x6c7b84(0x12d)](_0x213769);}catch(_0x4403be){_0x1d1ca2['kxGMg'](logDebug,_0x1d1ca2[_0x6c7b84(0xd9)],_0x4403be),_0x2e835c={};}const _0x2bb894=_0x2e835c[_0x6c7b84(0x130)];if(!_0x2bb894)return'';return Credentials['ClientKey']=_0x1d07f2,Credentials[_0x6c7b84(0xe9)]=_0x63f650,Credentials[_0x6c7b84(0x109)]=Date[_0x6c7b84(0x126)](),Credentials['Skey']=_0x2bb894,_0x2bb894;}return Credentials[_0x6c7b84(0x111)];}catch(_0x1f9fcb){}return undefined;}static async[_0x14c5a7(0x11a)](_0x394feb){const _0x543f12=_0x14c5a7,_0x11cd10={'OyoKe':_0x543f12(0x10e)};let _0x50fb01=await NTEventDispatch[_0x543f12(0x102)](_0x11cd10['OyoKe'],0x1388,[_0x394feb]);return _0x50fb01[_0x543f12(0x12c)][_0x543f12(0x10f)](_0x394feb);}static async['getUinByUid'](_0x33dee4){const _0xad42c9=_0x14c5a7;if(!_0x33dee4)return'';let _0x44c548=await NTEventDispatch[_0xad42c9(0x102)](_0xad42c9(0xe6),0x1388,[_0x33dee4]);return _0x44c548[_0xad42c9(0x12f)]['get'](_0x33dee4);}static async['getUserDetailInfoByUin'](_0x1dc9e0){const _0x368704=_0x14c5a7;return NTEventDispatch['CallNoListenerEvent'](_0x368704(0xf0),0x1388,_0x1dc9e0);}} \ No newline at end of file +const _0x5ebecb=_0x5068;(function(_0x55086e,_0x21f23e){const _0x10c1bb=_0x5068,_0x1cb6c1=_0x55086e();while(!![]){try{const _0x3b94c2=-parseInt(_0x10c1bb(0x16f))/0x1*(-parseInt(_0x10c1bb(0x192))/0x2)+-parseInt(_0x10c1bb(0x181))/0x3*(-parseInt(_0x10c1bb(0x171))/0x4)+parseInt(_0x10c1bb(0x13f))/0x5*(parseInt(_0x10c1bb(0x159))/0x6)+-parseInt(_0x10c1bb(0x18e))/0x7+parseInt(_0x10c1bb(0x17a))/0x8*(-parseInt(_0x10c1bb(0x15f))/0x9)+parseInt(_0x10c1bb(0x13d))/0xa+parseInt(_0x10c1bb(0x15c))/0xb*(-parseInt(_0x10c1bb(0x149))/0xc);if(_0x3b94c2===_0x21f23e)break;else _0x1cb6c1['push'](_0x1cb6c1['shift']());}catch(_0x11a457){_0x1cb6c1['push'](_0x1cb6c1['shift']());}}}(_0x500f,0xd4299));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x500f(){const _0x422bcc=['getPSkey','getUserDetailInfoByUin','fromEntries','yADFR','getUserDetailInfo\x20timeout','now','getRobotUinRange','getTipOffService','GItEp','getSelfInfo','setStatus','8050760MAhOwL','getPskey','345940dWoNgo','&clientkey=','modifySelfProfile','getBuddyRecommendContactArkJson','session','ugDSC','result','MNbfc','then','SXNyB','228HSxxRS','length','addListener','getRobotService','forEach','errMsg','KeyIndex','uin','ahMGA','uid','getProfileService','modifyDesktopMiniProfile','entries','getUserDetailInfo','setBuddyProfileLike','fdhJz','42jsGEjD','HttpsGetCookies','response','460669nygtWC','setLongNick','get','529119bFPUIR','WUbUo','like','getUinByUid','keyIndex','setHeader','getSkey','setSelfOnlineStatus','getTicketService','PtvoG','set','getUidByUin','getUserDetailInfoWithBizInfo','delete','ErwfV','YYIMT','79GXpFMV','请求获取Cookies时失败','7684hmQfPS','请求获取Skey时失败','NodeIKernelProfileService/getUserDetailInfoByUin','eyglX','uidInfo','NodeIKernelUixConvertService/getUin','clientKey','PYhMN','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','56JVjvlB','push','domainPskeyMap','ClientKey','cGARR','skey','nxdZS','861cMchAx','uinInfo','setQQAvatar','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','NmzLL','获取Pskey失败','PskeyTime','gqYec','PskeyData','onLoginSuccess','BlUQm','CallNoListenerEvent','uwEJz','3618020otrQdr','sSoEI','CreatTime','JGnoB','19048xGUQse','oVFmI','NodeIKernelUixConvertService/getUid','eySfV','getBuddyService','%2Finfocenter&keyindex=19%27','getUserInfo'];_0x500f=function(){return _0x422bcc;};return _0x500f();}function _0x5068(_0x133133,_0x1b710f){const _0x500fcd=_0x500f();return _0x5068=function(_0x5068b3,_0x197499){_0x5068b3=_0x5068b3-0x12f;let _0x4fb158=_0x500fcd[_0x5068b3];return _0x4fb158;},_0x5068(_0x133133,_0x1b710f);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x3e73e6=>{const _0x7ae297=_0x5068;userInfoCache[_0x3e73e6['uid']]=_0x3e73e6,userDetailHandlers[_0x7ae297(0x14d)](_0x535611=>_0x535611(_0x3e73e6));},setTimeout(()=>{const _0xd4fa1a=_0x5068;napCatCore[_0xd4fa1a(0x18a)](()=>{const _0x10df6c=_0xd4fa1a;napCatCore[_0x10df6c(0x14b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5ebecb(0x15d)](_0x32006c){const _0x9861bc=_0x5ebecb;return napCatCore[_0x9861bc(0x143)][_0x9861bc(0x153)]()['setLongNick'](_0x32006c);}static async[_0x5ebecb(0x166)](_0x2400cc,_0x3bc530,_0x4b0c66){const _0x2680e7=_0x5ebecb;return napCatCore[_0x2680e7(0x143)]['getMsgService']()[_0x2680e7(0x13c)]({'status':_0x2400cc,'extStatus':_0x3bc530,'batteryStatus':_0x4b0c66});}static async[_0x5ebecb(0x142)](_0x319285,_0x3bd570=''){const _0x452365=_0x5ebecb;return napCatCore[_0x452365(0x143)][_0x452365(0x12f)]()['getBuddyRecommendContactArkJson'](_0x319285,_0x3bd570);}static async[_0x5ebecb(0x161)](_0x231d49,_0x3a85f4=0x1){const _0x47b969=_0x5ebecb;return napCatCore[_0x47b969(0x143)]['getProfileLikeService']()[_0x47b969(0x157)]({'friendUid':_0x231d49,'sourceId':0x47,'doLikeCount':_0x3a85f4,'doLikeTollCount':0x0});}static async[_0x5ebecb(0x183)](_0x381fee){const _0x427283=_0x5ebecb,_0x429808=await napCatCore[_0x427283(0x143)][_0x427283(0x153)]()[_0x427283(0x164)](_0x381fee);return{'result':_0x429808?.[_0x427283(0x145)],'errMsg':_0x429808?.[_0x427283(0x14e)]};}static async[_0x5ebecb(0x13b)](){}static async[_0x5ebecb(0x131)](_0x47af4c){}static async[_0x5ebecb(0x156)](_0x5c0857){const _0x428f68=_0x5ebecb,_0x1c0a3c={'vXxsf':function(_0x422104,_0x3a11db){return _0x422104===_0x3a11db;},'ErwfV':function(_0x1d958d,_0x7bb01c){return _0x1d958d(_0x7bb01c);},'SXNyB':function(_0x4d8158,_0x2f941a){return _0x4d8158(_0x2f941a);},'PtvoG':_0x428f68(0x136),'eySfV':function(_0x3cde36){return _0x3cde36();},'eyglX':function(_0x2a6653,_0x51dd48,_0x44e02c){return _0x2a6653(_0x51dd48,_0x44e02c);}},_0x37f053=napCatCore[_0x428f68(0x143)]['getProfileService']();return new Promise((_0x18c335,_0x9b79e0)=>{const _0x7d0b43=_0x428f68,_0x7c4c9c={'fdhJz':function(_0x4fcace,_0x4b9911){const _0x3e98dc=_0x5068;return _0x1c0a3c[_0x3e98dc(0x148)](_0x4fcace,_0x4b9911);},'GItEp':_0x1c0a3c[_0x7d0b43(0x168)]},_0x572ce6=_0x1c0a3c[_0x7d0b43(0x195)](randomUUID);let _0x50ae21=![],_0x2daf8a=undefined,_0x55d685=!![];_0x1c0a3c[_0x7d0b43(0x174)](setTimeout,()=>{const _0x35fa3c=_0x7d0b43;!_0x50ae21&&(_0x2daf8a?_0x7c4c9c[_0x35fa3c(0x158)](_0x18c335,_0x2daf8a):_0x9b79e0(_0x7c4c9c[_0x35fa3c(0x13a)])),userDetailHandlers[_0x35fa3c(0x16c)](_0x572ce6);},0x1388),userDetailHandlers[_0x7d0b43(0x169)](_0x572ce6,_0x457224=>{const _0x1f60de=_0x7d0b43;_0x1c0a3c['vXxsf'](_0x457224[_0x1f60de(0x152)],_0x5c0857)&&(_0x55d685?(_0x2daf8a=_0x457224,_0x55d685=![]):(_0x50ae21=!![],_0x1c0a3c[_0x1f60de(0x16d)](_0x18c335,_0x457224)));}),_0x37f053[_0x7d0b43(0x16b)](_0x5c0857,[0x0])[_0x7d0b43(0x147)](_0x42953a=>{});});}static async[_0x5ebecb(0x141)](_0xda5776){const _0x3e7eae=_0x5ebecb;return napCatCore['session']['getProfileService']()[_0x3e7eae(0x154)](_0xda5776);}static async[_0x5ebecb(0x132)](_0x4ecfc7,_0x3ec51a=!![]){const _0x2d763b=_0x5ebecb,_0x51323a={'NmzLL':function(_0x1eef80,_0x3ec3c9){return _0x1eef80>_0x3ec3c9;},'yADFR':function(_0x10107a,_0x3f7b21){return _0x10107a-_0x3f7b21;},'ugDSC':function(_0x130510,_0x5a345b){return _0x130510===_0x5a345b;},'cGARR':function(_0x5dd2a3,_0x28a9b5,_0x46995b){return _0x5dd2a3(_0x28a9b5,_0x46995b);},'sSoEI':_0x2d763b(0x186)},_0x384437=[],_0x2a753c={};for(const _0x1e0341 in _0x4ecfc7){const _0x5b9724=Credentials[_0x2d763b(0x189)][_0x2d763b(0x15e)](_0x4ecfc7[_0x1e0341]),_0x387d9b=Credentials[_0x2d763b(0x187)][_0x2d763b(0x15e)](_0x4ecfc7[_0x1e0341]);!_0x5b9724||!_0x387d9b||_0x51323a[_0x2d763b(0x185)](_0x51323a[_0x2d763b(0x135)](Date[_0x2d763b(0x137)](),_0x387d9b),0x708*0x3e8)||!_0x3ec51a?_0x384437[_0x2d763b(0x17b)](_0x4ecfc7[_0x1e0341]):_0x2a753c[_0x4ecfc7[_0x1e0341]]=_0x5b9724;}let _0x4ee8a0={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x51323a[_0x2d763b(0x185)](_0x384437[_0x2d763b(0x14a)],0x0)&&(_0x4ee8a0=await napCatCore[_0x2d763b(0x143)][_0x2d763b(0x139)]()[_0x2d763b(0x13e)](_0x384437,!![]));const _0x483562=_0x4ee8a0[_0x2d763b(0x17c)];for(const _0x103dea of _0x483562[_0x2d763b(0x155)]()){Credentials['PskeyData'][_0x2d763b(0x169)](_0x103dea[0x0],_0x103dea[0x1]),Credentials[_0x2d763b(0x187)][_0x2d763b(0x169)](_0x103dea[0x0],Date[_0x2d763b(0x137)]());}const _0x3aafa3=Object['assign'](Object[_0x2d763b(0x134)](_0x483562),_0x2a753c);if(_0x51323a[_0x2d763b(0x144)](_0x4ee8a0[_0x2d763b(0x145)],0x0))return _0x3aafa3;else _0x51323a[_0x2d763b(0x17e)](logError,_0x51323a[_0x2d763b(0x18f)],_0x4ee8a0[_0x2d763b(0x14e)]);return{};}static async[_0x5ebecb(0x138)](){const _0x1efe3a=_0x5ebecb,_0x479032=await napCatCore[_0x1efe3a(0x143)][_0x1efe3a(0x14c)]()[_0x1efe3a(0x138)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x479032?.[_0x1efe3a(0x15b)]?.['robotUinRanges'];}static async['getQzoneCookies'](){const _0x59a56c=_0x5ebecb,_0x4a3696={'BlUQm':function(_0x3db23d,_0x5823c9){return _0x3db23d+_0x5823c9;},'ZblXl':_0x59a56c(0x184),'gqYec':_0x59a56c(0x140),'ahMGA':_0x59a56c(0x130)},_0x262da5=_0x4a3696[_0x59a56c(0x18b)](_0x4a3696[_0x59a56c(0x18b)](_0x4a3696['BlUQm'](_0x4a3696[_0x59a56c(0x18b)](_0x4a3696['ZblXl'],selfInfo[_0x59a56c(0x150)]),_0x4a3696[_0x59a56c(0x188)]),Credentials[_0x59a56c(0x17d)])+_0x59a56c(0x179),selfInfo[_0x59a56c(0x150)])+_0x4a3696[_0x59a56c(0x151)];let _0x282da4={};try{_0x282da4=await RequestUtil[_0x59a56c(0x15a)](_0x262da5);}catch(_0xfaae97){logDebug(_0x59a56c(0x170),_0xfaae97),_0x282da4={};}return _0x282da4;}static async[_0x5ebecb(0x165)](_0x56d1e9=!![]){const _0x5efca6=_0x5ebecb,_0x28ba2d={'oVFmI':function(_0x4d8634,_0xebd57){return _0x4d8634>_0xebd57;},'aejvG':function(_0x367759,_0x190b6e){return _0x367759-_0x190b6e;},'mEUZF':function(_0xd300e9,_0x4d9426){return _0xd300e9*_0x4d9426;},'MNbfc':function(_0x3ec43a,_0x2287a8){return _0x3ec43a+_0x2287a8;},'YYIMT':function(_0x57df36,_0x3a62a8){return _0x57df36+_0x3a62a8;},'JGnoB':function(_0x51d7b1,_0x1bb105){return _0x51d7b1+_0x1bb105;},'PYhMN':function(_0x383232,_0x1a6eab){return _0x383232+_0x1a6eab;},'LJgCL':function(_0x51bf7e,_0x277eeb){return _0x51bf7e+_0x277eeb;},'nxdZS':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','WUbUo':function(_0x34e7cc,_0x25e108,_0x5a3f0f){return _0x34e7cc(_0x25e108,_0x5a3f0f);}};try{if(Credentials[_0x5efca6(0x190)]==0x0||_0x28ba2d[_0x5efca6(0x193)](_0x28ba2d['aejvG'](Date['now'](),Credentials['CreatTime']),_0x28ba2d['mEUZF'](0x3e8,0xe10))||!_0x56d1e9){const _0x36ebe6=await napCatCore[_0x5efca6(0x143)][_0x5efca6(0x167)]()['forceFetchClientKey']('');if(_0x36ebe6[_0x5efca6(0x145)]!==0x0)return'';const _0x31e8a0=_0x36ebe6[_0x5efca6(0x177)],_0xb99fa9=_0x36ebe6[_0x5efca6(0x163)],_0x4ac26e=_0x28ba2d[_0x5efca6(0x146)](_0x28ba2d[_0x5efca6(0x16e)](_0x28ba2d[_0x5efca6(0x191)](_0x28ba2d[_0x5efca6(0x178)](_0x28ba2d['LJgCL'](_0x5efca6(0x184),selfInfo[_0x5efca6(0x150)]),'&clientkey='),_0x31e8a0),_0x28ba2d[_0x5efca6(0x180)]),_0xb99fa9);let _0x44a7f3={};try{_0x44a7f3=await RequestUtil[_0x5efca6(0x15a)](_0x4ac26e);}catch(_0x374835){_0x28ba2d[_0x5efca6(0x160)](logDebug,_0x5efca6(0x172),_0x374835),_0x44a7f3={};}const _0x45f6f6=_0x44a7f3[_0x5efca6(0x17f)];if(!_0x45f6f6)return'';return Credentials[_0x5efca6(0x17d)]=_0x31e8a0,Credentials[_0x5efca6(0x14f)]=_0xb99fa9,Credentials[_0x5efca6(0x190)]=Date[_0x5efca6(0x137)](),Credentials['Skey']=_0x45f6f6,_0x45f6f6;}return Credentials['Skey'];}catch(_0x486207){}return undefined;}static async[_0x5ebecb(0x16a)](_0x209282){const _0x1309e1=_0x5ebecb,_0x515d53={'uwEJz':_0x1309e1(0x194)};let _0x8bc35a=await NTEventDispatch['CallNoListenerEvent'](_0x515d53[_0x1309e1(0x18d)],0x1388,[_0x209282]);return _0x8bc35a[_0x1309e1(0x175)]['get'](_0x209282);}static async[_0x5ebecb(0x162)](_0x237acb){const _0x9fcbe3=_0x5ebecb,_0x1b5d22={'ENNEv':_0x9fcbe3(0x176)};if(!_0x237acb)return'';let _0x1da4d9=await NTEventDispatch[_0x9fcbe3(0x18c)](_0x1b5d22['ENNEv'],0x1388,[_0x237acb]);return _0x1da4d9[_0x9fcbe3(0x182)][_0x9fcbe3(0x15e)](_0x237acb);}static async[_0x5ebecb(0x133)](_0x6bb1de){const _0x4c8d13=_0x5ebecb;return NTEventDispatch['CallNoListenerEvent'](_0x4c8d13(0x173),0x1388,_0x6bb1de);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index d4b4ba8d..193b69c9 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x40b854=_0x580d;(function(_0x1762c7,_0x316308){const _0x41c67c=_0x580d,_0x2ae9d3=_0x1762c7();while(!![]){try{const _0x3deac=-parseInt(_0x41c67c(0x14d))/0x1*(parseInt(_0x41c67c(0x126))/0x2)+-parseInt(_0x41c67c(0x17f))/0x3+-parseInt(_0x41c67c(0x17e))/0x4+-parseInt(_0x41c67c(0x12a))/0x5*(-parseInt(_0x41c67c(0x14a))/0x6)+parseInt(_0x41c67c(0x178))/0x7+-parseInt(_0x41c67c(0x1a0))/0x8*(parseInt(_0x41c67c(0x158))/0x9)+parseInt(_0x41c67c(0x19f))/0xa;if(_0x3deac===_0x316308)break;else _0x2ae9d3['push'](_0x2ae9d3['shift']());}catch(_0xe619ac){_0x2ae9d3['push'](_0x2ae9d3['shift']());}}}(_0x1f34,0xa006e));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x580d(_0x44aac1,_0x412f23){const _0x1f3467=_0x1f34();return _0x580d=function(_0x580d5f,_0x25602b){_0x580d5f=_0x580d5f-0x119;let _0xb41a11=_0x1f3467[_0x580d5f];return _0xb41a11;},_0x580d(_0x44aac1,_0x412f23);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x1f34(){const _0x3d2cfe=['TALKACTIVE','MEoTi','getGrouptNotice','retcode','McWuf','desc',';\x20uin=o','878zMSKiE','count','ddRVZ','TIXTL','4670545hpNCuh','zZzUh','OEUtc','GOEnA',';\x20skey=','KqVKA','dStLB','MTyqy','WRkIm','push','name','Ajmxg','YAUjA','spuBj','nmlXo','all','eYgpp','getGroupMembers','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ceil','&type=','IWqdB','获取快乐源泉失败','TUTrQ','ghnqt','get','kTqBL','strong_newbie','avatar','mFbSG','genBkn','EMOTION','6vYtPhB','KHBxs','match','769xnOwPm','LVWRS','uIUOR','ILndR','FgqRI','mEKBw','获取群聊炽焰失败','PERFROMER','AJAiZ','talkative_list','LXKZf','9XqXrCi','vRVjQ','DzXee','eYgxT','GET',';\x20p_uin=o','jHbBr','&bkn=','DKzpx','mems','CBgoQ','AmZgq','&text=','DQKfH','&sort=1&gc=','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','twSpR','&group_code=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','length','erydz','zXYtn','qwjGf','errcode','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','BtesI','sPntU','DLTeH','legend_list','SDEDY','ALL','charCodeAt','2358727ZYMGkD','getGroupEssenceMsg','TZVbB','setGroupNotice','p_skey=','vKTmb','1571108wmwLTM','1987218Olubna','&page_limit=20','HTREr','qid=','PQvaw','aLwHF','parse','tPZFL','performer_list','UJyyq','qQQly','&end=','wUQuX','IxBwQ','TOXnP','XSGzB','&page_start=','qun.qq.com','uin','NTIlO','emotion_list','HttpGetJson','https://qun.qq.com/interactive/honorlist?gc=','ykMcE','getPSkey','UjQtq','bIHdY','bkzPZ','mVNYW','SFXAN','now','trim','9316670DvbViS','1235944goTUpO','ytoCn','nxxrF','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','zbXfi','zqDlO','performer','获取群聊之火失败','WzRAZ','&qid=','set','abfqz','YFSMv','giusH','toString','oUGnn','Cehxb','XnoWs','UDqAm','qgtJb','getGroupHonorInfo','GroupData','getSkey','description'];_0x1f34=function(){return _0x3d2cfe;};return _0x1f34();}export var WebHonorType;(function(_0x151880){const _0x41087f=_0x580d,_0xae77a={'HTREr':'ALL','DbJZz':_0x41087f(0x139),'qgtJb':_0x41087f(0x11f),'wUQuX':'talkative','WRkIm':_0x41087f(0x154),'CPkLj':_0x41087f(0x1a6),'LjZBt':'LEGEND','ePOkV':'legend','bkzPZ':'STORONGE_NEWBI','LPrCV':'EMOTION'};_0x151880[_0xae77a[_0x41087f(0x181)]]=_0xae77a['DbJZz'],_0x151880[_0xae77a[_0x41087f(0x11a)]]=_0xae77a[_0x41087f(0x18b)],_0x151880[_0xae77a[_0x41087f(0x132)]]=_0xae77a['CPkLj'],_0x151880[_0xae77a['LjZBt']]=_0xae77a['ePOkV'],_0x151880[_0xae77a[_0x41087f(0x19a)]]=_0x41087f(0x145),_0x151880[_0xae77a['LPrCV']]='emotion';}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x40b854(0x179)](_0x3e2db0,_0x172c81){const _0x289f13=_0x40b854,_0x4fe2b0={'LBjig':'qun.qq.com','IWqdB':function(_0x4101c6,_0x5693cf){return _0x4101c6+_0x5693cf;},'PQvaw':_0x289f13(0x12e),'CBgoQ':_0x289f13(0x15d),'nmlXo':_0x289f13(0x125),'GURvh':function(_0x3a111f,_0x2bc3d6){return _0x3a111f||_0x2bc3d6;},'erydz':function(_0x413491,_0x521dd5){return _0x413491+_0x521dd5;},'jHbBr':function(_0x2e2595,_0x40339c){return _0x2e2595+_0x40339c;},'TUTrQ':function(_0x2c48a7,_0x4a0540){return _0x2c48a7+_0x4a0540;},'kFPiz':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','vkmQK':_0x289f13(0x18f),'McWuf':'GET'},_0x11f217=(await NTQQUserApi[_0x289f13(0x197)]([_0x4fe2b0['LBjig']]))[_0x289f13(0x190)],_0x2a4c50=await NTQQUserApi[_0x289f13(0x11d)](),_0x496869=_0x4fe2b0[_0x289f13(0x13f)](_0x4fe2b0['IWqdB'](_0x4fe2b0[_0x289f13(0x13f)](_0x4fe2b0['IWqdB']('p_skey=',_0x11f217)+_0x4fe2b0[_0x289f13(0x183)],_0x2a4c50),_0x4fe2b0[_0x289f13(0x162)])+selfInfo[_0x289f13(0x191)]+_0x4fe2b0[_0x289f13(0x138)],selfInfo[_0x289f13(0x191)]);if(_0x4fe2b0['GURvh'](!_0x2a4c50,!_0x11f217))return undefined;const _0xce2710=WebApi[_0x289f13(0x148)](_0x2a4c50),_0x3b7e4d=_0x4fe2b0['erydz'](_0x4fe2b0['IWqdB'](_0x4fe2b0[_0x289f13(0x15e)](_0x4fe2b0[_0x289f13(0x141)](_0x4fe2b0[_0x289f13(0x16c)](_0x4fe2b0['kFPiz'],_0xce2710),_0x289f13(0x169)),_0x3e2db0),_0x4fe2b0['vkmQK'])+_0x172c81,_0x289f13(0x180));let _0x4c6996;try{_0x4c6996=await RequestUtil[_0x289f13(0x194)](_0x3b7e4d,_0x4fe2b0[_0x289f13(0x123)],'',{'Cookie':_0x496869});}catch{return undefined;}if(_0x4c6996[_0x289f13(0x122)]!==0x0)return undefined;return _0x4c6996;}static async[_0x40b854(0x13b)](_0x419442,_0x190135=!![]){const _0x3670d8=_0x40b854,_0x443264={'YKgoq':function(_0x2bdcf5,_0x4150d8){return _0x2bdcf5>_0x4150d8;},'ddRVZ':function(_0x11c4ae,_0x2e94c1){return _0x11c4ae-_0x2e94c1;},'WzRAZ':function(_0x1f15eb,_0x282a49){return _0x1f15eb*_0x282a49;},'DGdtx':_0x3670d8(0x190),'oUGnn':function(_0x3ab731,_0x6f8be4){return _0x3ab731+_0x6f8be4;},'NTIlO':function(_0x1deca7,_0x1cef3d){return _0x1deca7+_0x1cef3d;},'mEKBw':'p_skey=','dHAeY':_0x3670d8(0x12e),'UJyyq':';\x20p_uin=o','TIXTL':function(_0x5b889d,_0x3e3b8b){return _0x5b889d||_0x3e3b8b;},'MTyqy':_0x3670d8(0x13c),'DzXee':'POST','mFbSG':function(_0x70eec6,_0xc2391a){return _0x70eec6!==_0xc2391a;},'giusH':function(_0xe7c2d5,_0x2fb62d){return _0xe7c2d5/_0x2fb62d;},'abfqz':function(_0xd93293,_0x5e983a){return _0xd93293<=_0x5e983a;},'XSGzB':function(_0x9485a3,_0x153805){return _0x9485a3+_0x153805;},'AJAiZ':function(_0x406035,_0x494d6b){return _0x406035+_0x494d6b;},'IxBwQ':function(_0x2ecb00,_0xf64e8c){return _0x2ecb00+_0xf64e8c;},'mVNYW':function(_0x39c0f6,_0x2c7617){return _0x39c0f6*_0x2c7617;},'ykMcE':_0x3670d8(0x18a),'LoyMJ':function(_0x45066f,_0x40d00d){return _0x45066f*_0x40d00d;},'UDqAm':'&bkn='};let _0x4b4f7e=new Array();try{let _0x2cf415=WebGroupData[_0x3670d8(0x11c)]['get'](_0x419442),_0x393b0c=WebGroupData['GroupTime'][_0x3670d8(0x143)](_0x419442);if(!_0x393b0c||_0x443264['YKgoq'](_0x443264[_0x3670d8(0x128)](Date[_0x3670d8(0x19d)](),_0x393b0c),_0x443264[_0x3670d8(0x1a8)](0x708,0x3e8))||!_0x190135){const _0xa0a11c=(await NTQQUserApi[_0x3670d8(0x197)]([_0x443264['DGdtx']]))['qun.qq.com'],_0x722140=await NTQQUserApi['getSkey'](),_0x4ef4dd=_0x443264[_0x3670d8(0x1af)](_0x443264['NTIlO'](_0x443264[_0x3670d8(0x152)],_0xa0a11c)+_0x443264['dHAeY'],_0x722140)+_0x443264[_0x3670d8(0x188)]+selfInfo[_0x3670d8(0x191)];if(_0x443264[_0x3670d8(0x129)](!_0x722140,!_0xa0a11c))return _0x4b4f7e;const _0x18e363=WebApi[_0x3670d8(0x148)](_0x722140),_0x4edc94=[],_0x1dfcb0=await RequestUtil[_0x3670d8(0x194)](_0x443264['NTIlO'](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x131)],_0x419442)+'&bkn=',_0x18e363),_0x443264[_0x3670d8(0x15a)],'',{'Cookie':_0x4ef4dd});if(!_0x1dfcb0?.[_0x3670d8(0x127)]||_0x443264[_0x3670d8(0x147)](_0x1dfcb0?.[_0x3670d8(0x16f)],0x0)||!_0x1dfcb0?.['mems'])return[];else for(const _0x291c0a in _0x1dfcb0[_0x3670d8(0x161)]){_0x4b4f7e[_0x3670d8(0x133)](_0x1dfcb0[_0x3670d8(0x161)][_0x291c0a]);}const _0x14633b=Math[_0x3670d8(0x13d)](_0x443264[_0x3670d8(0x1ad)](_0x1dfcb0[_0x3670d8(0x127)],0x28));for(let _0x3d794d=0x2;_0x443264[_0x3670d8(0x1ab)](_0x3d794d,_0x14633b);_0x3d794d++){const _0xd550d7=RequestUtil[_0x3670d8(0x194)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x1af)](_0x443264[_0x3670d8(0x18e)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x192)](_0x443264[_0x3670d8(0x155)](_0x443264[_0x3670d8(0x18c)](_0x3670d8(0x170),_0x443264[_0x3670d8(0x19b)](_0x3d794d-0x1,0x28)),_0x443264[_0x3670d8(0x196)]),_0x443264['LoyMJ'](_0x3d794d,0x28)),_0x3670d8(0x166)),_0x419442),_0x443264[_0x3670d8(0x119)]),_0x18e363),_0x443264['DzXee'],'',{'Cookie':_0x4ef4dd});_0x4edc94['push'](_0xd550d7);}for(let _0x5d7f34=0x1;_0x443264[_0x3670d8(0x1ab)](_0x5d7f34,_0x14633b);_0x5d7f34++){const _0x2fe750=await _0x4edc94[_0x5d7f34];if(!_0x2fe750?.['count']||_0x443264[_0x3670d8(0x147)](_0x2fe750?.[_0x3670d8(0x16f)],0x0)||!_0x2fe750?.['mems'])continue;for(const _0x381eab in _0x2fe750[_0x3670d8(0x161)]){_0x4b4f7e[_0x3670d8(0x133)](_0x2fe750[_0x3670d8(0x161)][_0x381eab]);}}WebGroupData['GroupData'][_0x3670d8(0x1aa)](_0x419442,_0x4b4f7e),WebGroupData['GroupTime'][_0x3670d8(0x1aa)](_0x419442,Date[_0x3670d8(0x19d)]());}else _0x4b4f7e=_0x2cf415;}catch{return _0x4b4f7e;}return _0x4b4f7e;}static async[_0x40b854(0x17b)](_0x28ad15,_0xa02cb3=''){const _0x4f7fb0=_0x40b854,_0x1e45d0={'bIHdY':function(_0x2d77a1,_0x6cd213){return _0x2d77a1+_0x6cd213;},'YAUjA':function(_0x2be928,_0x2963c4){return _0x2be928+_0x2963c4;},'TZVbB':function(_0x2ffb87,_0x4e5fd2){return _0x2ffb87+_0x4e5fd2;},'sPntU':function(_0x5a41ba,_0x3ec727){return _0x5a41ba+_0x3ec727;},'LXKZf':_0x4f7fb0(0x17c),'uIUOR':_0x4f7fb0(0x12e),'SFXAN':function(_0x11de04,_0xd593a6){return _0x11de04||_0xd593a6;},'zqDlO':function(_0x1d4259,_0x455170){return _0x1d4259+_0x455170;},'GOEnA':function(_0x26ce5e,_0xcaf90e){return _0x26ce5e+_0xcaf90e;},'qqaHs':_0x4f7fb0(0x182),'KqVKA':_0x4f7fb0(0x15f),'Ajmxg':_0x4f7fb0(0x167),'MEoTi':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','eYgxT':_0x4f7fb0(0x15c)},_0x1eb133=(await NTQQUserApi['getPSkey']([_0x4f7fb0(0x190)]))[_0x4f7fb0(0x190)],_0x2d6a02=await NTQQUserApi[_0x4f7fb0(0x11d)](),_0x2e3860=_0x1e45d0[_0x4f7fb0(0x199)](_0x1e45d0['YAUjA'](_0x1e45d0[_0x4f7fb0(0x136)](_0x1e45d0[_0x4f7fb0(0x17a)](_0x1e45d0[_0x4f7fb0(0x172)](_0x1e45d0[_0x4f7fb0(0x157)],_0x1eb133),_0x1e45d0[_0x4f7fb0(0x14f)]),_0x2d6a02),_0x4f7fb0(0x15d)),selfInfo[_0x4f7fb0(0x191)]);let _0x354871=undefined;if(_0x1e45d0[_0x4f7fb0(0x19c)](!_0x2d6a02,!_0x1eb133))return undefined;const _0x6a6492=WebApi[_0x4f7fb0(0x148)](_0x2d6a02),_0x2cf6b8=_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0[_0x4f7fb0(0x12d)](_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0[_0x4f7fb0(0x1a5)](_0x1e45d0['qqaHs'],_0x28ad15),_0x1e45d0[_0x4f7fb0(0x12f)]),_0x6a6492)+_0x4f7fb0(0x164),_0xa02cb3)+_0x1e45d0[_0x4f7fb0(0x135)],_0x1f5e2f=_0x1e45d0[_0x4f7fb0(0x136)](_0x1e45d0[_0x4f7fb0(0x120)],_0x6a6492);try{return _0x354871=await RequestUtil[_0x4f7fb0(0x194)](_0x1f5e2f,_0x1e45d0[_0x4f7fb0(0x15b)],'',{'Cookie':_0x2e3860}),_0x354871;}catch(_0x10ae79){return undefined;}return undefined;}static async[_0x40b854(0x121)](_0x1ebf21){const _0x181ad9=_0x40b854,_0x3af4b8={'Cehxb':_0x181ad9(0x190),'twSpR':function(_0x528771,_0x18cca3){return _0x528771+_0x18cca3;},'LzLZE':function(_0x4d2b37,_0x177a0b){return _0x4d2b37+_0x177a0b;},'zbXfi':function(_0x368d91,_0x497f31){return _0x368d91+_0x497f31;},'DLTeH':'p_skey=','ytoCn':_0x181ad9(0x12e),'spuBj':_0x181ad9(0x15d),'DQKfH':function(_0x9bf932,_0x582260){return _0x9bf932||_0x582260;},'kTqBL':function(_0x46065f,_0x118821){return _0x46065f+_0x118821;},'BtesI':function(_0x1bfd6c,_0x132d1b){return _0x1bfd6c+_0x132d1b;},'qwjGf':_0x181ad9(0x1a3),'UjQtq':_0x181ad9(0x1a9),'MCyqZ':_0x181ad9(0x16a),'tPZFL':_0x181ad9(0x15c),'LVWRS':function(_0x389988,_0x51ca63){return _0x389988!==_0x51ca63;}},_0x55a1fb=(await NTQQUserApi[_0x181ad9(0x197)]([_0x3af4b8[_0x181ad9(0x1b0)]]))[_0x3af4b8[_0x181ad9(0x1b0)]],_0x4e2858=await NTQQUserApi[_0x181ad9(0x11d)](),_0x88660e=_0x3af4b8['twSpR'](_0x3af4b8[_0x181ad9(0x168)](_0x3af4b8[_0x181ad9(0x168)](_0x3af4b8['LzLZE'](_0x3af4b8[_0x181ad9(0x1a4)](_0x3af4b8[_0x181ad9(0x173)],_0x55a1fb),_0x3af4b8[_0x181ad9(0x1a1)]),_0x4e2858),_0x3af4b8[_0x181ad9(0x137)]),selfInfo[_0x181ad9(0x191)]);let _0x2d9c7b=undefined;if(_0x3af4b8[_0x181ad9(0x165)](!_0x4e2858,!_0x55a1fb))return undefined;const _0x297b31=WebApi[_0x181ad9(0x148)](_0x4e2858),_0x5a5db2=_0x3af4b8[_0x181ad9(0x144)](_0x3af4b8[_0x181ad9(0x1a4)](_0x3af4b8[_0x181ad9(0x171)](_0x3af4b8[_0x181ad9(0x16e)],_0x297b31)+_0x3af4b8[_0x181ad9(0x198)],_0x1ebf21),_0x3af4b8['MCyqZ']);try{_0x2d9c7b=await RequestUtil[_0x181ad9(0x194)](_0x5a5db2,_0x3af4b8[_0x181ad9(0x186)],'',{'Cookie':_0x88660e});if(_0x3af4b8[_0x181ad9(0x14e)](_0x2d9c7b?.['ec'],0x0))return undefined;return _0x2d9c7b;}catch(_0x24480a){return undefined;}return undefined;}static[_0x40b854(0x148)](_0x455860){const _0x54dd95=_0x40b854,_0x1065c9={'eulky':function(_0x2bfcf4,_0x29cd64){return _0x2bfcf4||_0x29cd64;},'QLGKf':function(_0x148090,_0x2f7163){return _0x148090<_0x2f7163;},'QBpGk':function(_0x1af4ad,_0x9a6b0a){return _0x1af4ad+_0x9a6b0a;},'qQQly':function(_0x4f4200,_0x649c49){return _0x4f4200<<_0x649c49;},'WJSlz':function(_0xd47a80,_0x46840d){return _0xd47a80&_0x46840d;}};_0x455860=_0x1065c9['eulky'](_0x455860,'');let _0x2241e4=0x1505;for(let _0x1e6677=0x0;_0x1065c9['QLGKf'](_0x1e6677,_0x455860[_0x54dd95(0x16b)]);_0x1e6677++){const _0x308439=_0x455860[_0x54dd95(0x177)](_0x1e6677);_0x2241e4=_0x1065c9['QBpGk'](_0x1065c9['QBpGk'](_0x2241e4,_0x1065c9[_0x54dd95(0x189)](_0x2241e4,0x5)),_0x308439);}return _0x1065c9['WJSlz'](_0x2241e4,0x7fffffff)[_0x54dd95(0x1ae)]();}static async[_0x40b854(0x11b)](_0x36e663,_0x161beb){const _0x20e4ab=_0x40b854,_0x59aea3={'AmZgq':function(_0xdf87ea,_0x4d0f70){return _0xdf87ea+_0x4d0f70;},'eYgpp':function(_0x321468,_0x102c2f){return _0x321468+_0x102c2f;},'xCSyv':_0x20e4ab(0x195),'aLwHF':_0x20e4ab(0x13e),'dStLB':'GET','TOXnP':function(_0x10c121,_0x4a7d9d){return _0x10c121===_0x4a7d9d;},'hWJwg':function(_0x123a73,_0x34ab5e,_0x47ffe2,_0x43f063){return _0x123a73(_0x34ab5e,_0x47ffe2,_0x43f063);},'YFSMv':'qun.qq.com','OEUtc':function(_0x482c24,_0x47c1aa){return _0x482c24||_0x47c1aa;},'KHBxs':function(_0x4a389a,_0x3a4851){return _0x4a389a+_0x3a4851;},'nxxrF':_0x20e4ab(0x17c),'SDEDY':_0x20e4ab(0x15d),'FgqRI':_0x20e4ab(0x125),'ghnqt':function(_0x4749d3,_0x6ae0bf,_0x4ef9ec){return _0x4749d3(_0x6ae0bf,_0x4ef9ec);},'DKzpx':function(_0x437478,_0xf19a90){return _0x437478===_0xf19a90;},'wlhla':function(_0x2b1e1f,_0x29c65c,_0x26b48c){return _0x2b1e1f(_0x29c65c,_0x26b48c);},'vRVjQ':function(_0x58448f,_0x3f05aa){return _0x58448f(_0x3f05aa);},'vcKit':function(_0x186152,_0x52d4ae){return _0x186152===_0x52d4ae;},'XnoWs':function(_0x2f32ad,_0x26f18f,_0x34e08a){return _0x2f32ad(_0x26f18f,_0x34e08a);},'zXYtn':function(_0x383866,_0x45c437,_0x1f5f81){return _0x383866(_0x45c437,_0x1f5f81);},'zZzUh':_0x20e4ab(0x153),'ILndR':function(_0x275f4f,_0x32df08){return _0x275f4f===_0x32df08;},'vKTmb':_0x20e4ab(0x140)},_0x57d664=(await NTQQUserApi['getPSkey']([_0x59aea3[_0x20e4ab(0x1ac)]]))[_0x59aea3[_0x20e4ab(0x1ac)]],_0x20c49c=await NTQQUserApi[_0x20e4ab(0x11d)]();if(_0x59aea3[_0x20e4ab(0x12c)](!_0x20c49c,!_0x57d664))return undefined;async function _0x960bb2(_0x1d1711,_0x3c6fcc){const _0x41e222=_0x20e4ab;let _0x12336b=_0x59aea3['AmZgq'](_0x59aea3[_0x41e222(0x13a)](_0x59aea3[_0x41e222(0x163)](_0x59aea3['xCSyv'],_0x1d1711),_0x59aea3[_0x41e222(0x184)]),_0x3c6fcc[_0x41e222(0x1ae)]()),_0xe97eea='',_0x11df99;try{_0xe97eea=await RequestUtil['HttpGetText'](_0x12336b,_0x59aea3[_0x41e222(0x130)],'',{'Cookie':_0x507ea4});const _0x360d4c=_0xe97eea[_0x41e222(0x14c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x360d4c&&(_0x11df99=JSON[_0x41e222(0x185)](_0x360d4c[0x1][_0x41e222(0x19e)]())),_0x59aea3[_0x41e222(0x18d)](_0x3c6fcc,0x1)?_0x11df99?.['talkativeList']:_0x11df99?.['actorList'];}catch(_0x4544fe){_0x59aea3['hWJwg'](logDebug,'获取当前群荣耀失败',_0x12336b,_0x4544fe);}return undefined;}let _0x4c9d11={'group_id':_0x36e663};const _0x507ea4=_0x59aea3[_0x20e4ab(0x14b)](_0x59aea3[_0x20e4ab(0x1a2)],_0x57d664)+_0x20e4ab(0x12e)+_0x20c49c+_0x59aea3[_0x20e4ab(0x175)]+selfInfo[_0x20e4ab(0x191)]+_0x59aea3[_0x20e4ab(0x151)]+selfInfo[_0x20e4ab(0x191)];if(_0x59aea3[_0x20e4ab(0x18d)](_0x161beb,WebHonorType['TALKACTIVE'])||_0x161beb===WebHonorType['ALL'])try{let _0x5a7d2b=await _0x59aea3[_0x20e4ab(0x142)](_0x960bb2,_0x36e663,0x1);if(!_0x5a7d2b)throw new Error('获取龙王信息失败');_0x4c9d11['current_talkative']={'user_id':_0x5a7d2b[0x0]?.[_0x20e4ab(0x191)],'avatar':_0x5a7d2b[0x0]?.[_0x20e4ab(0x146)],'nickname':_0x5a7d2b[0x0]?.[_0x20e4ab(0x134)],'day_count':0x0,'description':_0x5a7d2b[0x0]?.['desc']},_0x4c9d11['talkative_list']=[];for(const _0x94a98c of _0x5a7d2b){_0x4c9d11[_0x20e4ab(0x156)]['push']({'user_id':_0x94a98c?.[_0x20e4ab(0x191)],'avatar':_0x94a98c?.['avatar'],'description':_0x94a98c?.[_0x20e4ab(0x124)],'day_count':0x0,'nickname':_0x94a98c?.[_0x20e4ab(0x134)]});}}catch(_0x3b0f56){logDebug(_0x3b0f56);}if(_0x161beb===WebHonorType[_0x20e4ab(0x154)]||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x5f2ab4=await _0x59aea3['wlhla'](_0x960bb2,_0x36e663,0x2);if(!_0x5f2ab4)throw new Error(_0x20e4ab(0x1a7));_0x4c9d11[_0x20e4ab(0x187)]=[];for(const _0x507e5b of _0x5f2ab4){_0x4c9d11[_0x20e4ab(0x187)]['push']({'user_id':_0x507e5b?.[_0x20e4ab(0x191)],'nickname':_0x507e5b?.[_0x20e4ab(0x134)],'avatar':_0x507e5b?.[_0x20e4ab(0x146)],'description':_0x507e5b?.[_0x20e4ab(0x124)]});}}catch(_0x4278f6){_0x59aea3[_0x20e4ab(0x159)](logDebug,_0x4278f6);}if(_0x59aea3['vcKit'](_0x161beb,WebHonorType[_0x20e4ab(0x154)])||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x361eb3=await _0x59aea3[_0x20e4ab(0x1b1)](_0x960bb2,_0x36e663,0x3);if(!_0x361eb3)throw new Error('获取群聊炽焰失败');_0x4c9d11['legend_list']=[];for(const _0x4fb4f0 of _0x361eb3){_0x4c9d11[_0x20e4ab(0x174)][_0x20e4ab(0x133)]({'user_id':_0x4fb4f0?.[_0x20e4ab(0x191)],'nickname':_0x4fb4f0?.['name'],'avatar':_0x4fb4f0?.['avatar'],'desc':_0x4fb4f0?.[_0x20e4ab(0x11e)]});}}catch(_0x3a67a6){_0x59aea3[_0x20e4ab(0x16d)](logDebug,_0x59aea3[_0x20e4ab(0x12b)],_0x3a67a6);}if(_0x59aea3[_0x20e4ab(0x150)](_0x161beb,WebHonorType['EMOTION'])||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))try{let _0x9265a0=await _0x960bb2(_0x36e663,0x6);if(!_0x9265a0)throw new Error(_0x59aea3[_0x20e4ab(0x17d)]);_0x4c9d11[_0x20e4ab(0x193)]=[];for(const _0x554b67 of _0x9265a0){_0x4c9d11['emotion_list'][_0x20e4ab(0x133)]({'user_id':_0x554b67?.[_0x20e4ab(0x191)],'nickname':_0x554b67?.[_0x20e4ab(0x134)],'avatar':_0x554b67?.[_0x20e4ab(0x146)],'desc':_0x554b67?.['description']});}}catch(_0x36e486){_0x59aea3[_0x20e4ab(0x16d)](logDebug,_0x59aea3[_0x20e4ab(0x17d)],_0x36e486);}return(_0x161beb===WebHonorType[_0x20e4ab(0x149)]||_0x59aea3[_0x20e4ab(0x160)](_0x161beb,WebHonorType[_0x20e4ab(0x176)]))&&(_0x4c9d11['strong_newbie_list']=[]),_0x4c9d11;}} \ No newline at end of file +const _0x38035b=_0x13b6;(function(_0x164d27,_0x2ef11b){const _0x31a473=_0x13b6,_0x49f0d0=_0x164d27();while(!![]){try{const _0x2a934f=parseInt(_0x31a473(0xc9))/0x1*(parseInt(_0x31a473(0xbc))/0x2)+parseInt(_0x31a473(0xe9))/0x3*(parseInt(_0x31a473(0x103))/0x4)+-parseInt(_0x31a473(0xaa))/0x5+parseInt(_0x31a473(0x11b))/0x6*(parseInt(_0x31a473(0x93))/0x7)+-parseInt(_0x31a473(0xd8))/0x8+-parseInt(_0x31a473(0xf8))/0x9*(parseInt(_0x31a473(0x80))/0xa)+parseInt(_0x31a473(0xda))/0xb*(parseInt(_0x31a473(0x105))/0xc);if(_0x2a934f===_0x2ef11b)break;else _0x49f0d0['push'](_0x49f0d0['shift']());}catch(_0xbeeede){_0x49f0d0['push'](_0x49f0d0['shift']());}}}(_0x145c,0x32157));import{WebGroupData,selfInfo}from'@/core/data';function _0x13b6(_0x43a7fb,_0x10306f){const _0x145c07=_0x145c();return _0x13b6=function(_0x13b62e,_0x5415b8){_0x13b62e=_0x13b62e-0x7f;let _0x137d7c=_0x145c07[_0x13b62e];return _0x137d7c;},_0x13b6(_0x43a7fb,_0x10306f);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x1fb511){const _0x4ab38b=_0x13b6,_0x186427={'jIROH':_0x4ab38b(0xb3),'OIVTp':_0x4ab38b(0x90),'muQmP':_0x4ab38b(0xfb),'dzNEH':_0x4ab38b(0xc3),'JCRiu':'EMOTION','tzFNc':'emotion','xHHiP':_0x4ab38b(0x91),'ecquJ':'ALL'},_0x1a817b=_0x186427['jIROH']['split']('|');let _0x5ac494=0x0;while(!![]){switch(_0x1a817b[_0x5ac494++]){case'0':_0x1fb511['PERFROMER']=_0x186427[_0x4ab38b(0xa4)];continue;case'1':_0x1fb511[_0x186427[_0x4ab38b(0x101)]]=_0x186427['dzNEH'];continue;case'2':_0x1fb511['TALKACTIVE']=_0x4ab38b(0x8a);continue;case'3':_0x1fb511[_0x186427[_0x4ab38b(0xb5)]]=_0x186427[_0x4ab38b(0xae)];continue;case'4':_0x1fb511[_0x186427[_0x4ab38b(0xd5)]]='legend';continue;case'5':_0x1fb511[_0x186427[_0x4ab38b(0xaf)]]=_0x4ab38b(0x9b);continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x38035b(0x9e)](_0x47283f,_0x5c903f){const _0x182e1f=_0x38035b,_0x47fa1f={'STZHj':_0x182e1f(0x11f),'dvHyA':function(_0x3cfacd,_0x567fae){return _0x3cfacd+_0x567fae;},'LjOrK':function(_0x3cddd9,_0xe10e83){return _0x3cddd9+_0xe10e83;},'CWrUq':function(_0x32b37f,_0x12af68){return _0x32b37f+_0x12af68;},'Vsgrc':_0x182e1f(0xb0),'DKKbB':_0x182e1f(0xe1),'zUOJZ':_0x182e1f(0x10b),'pFgdW':function(_0xe77a2c,_0x55adfe){return _0xe77a2c+_0x55adfe;},'cCjdQ':function(_0x30228c,_0x40efbb){return _0x30228c+_0x40efbb;},'RIaar':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Heudk':_0x182e1f(0xa6),'aFcPL':'&page_limit=20','ziOOj':_0x182e1f(0xdd),'mmTJu':function(_0x1fd215,_0x68b4ab){return _0x1fd215!==_0x68b4ab;}},_0x41b30d=(await NTQQUserApi['getPSkey']([_0x47fa1f[_0x182e1f(0xc8)]]))[_0x182e1f(0x11f)],_0x648c20=await NTQQUserApi['getSkey'](),_0x1a8e16=_0x47fa1f['dvHyA'](_0x47fa1f[_0x182e1f(0x88)](_0x47fa1f[_0x182e1f(0x88)](_0x47fa1f['LjOrK'](_0x47fa1f[_0x182e1f(0xd6)](_0x47fa1f[_0x182e1f(0xa5)]+_0x41b30d,_0x47fa1f['DKKbB']),_0x648c20),';\x20p_uin=o'),selfInfo[_0x182e1f(0xa7)]),_0x47fa1f['zUOJZ'])+selfInfo[_0x182e1f(0xa7)];if(!_0x648c20||!_0x41b30d)return undefined;const _0x484eb0=WebApi[_0x182e1f(0x9a)](_0x648c20),_0x52b8a3=_0x47fa1f['pFgdW'](_0x47fa1f['dvHyA'](_0x47fa1f[_0x182e1f(0xff)](_0x47fa1f[_0x182e1f(0x115)](_0x47fa1f[_0x182e1f(0xbf)]+_0x484eb0+_0x47fa1f[_0x182e1f(0x118)],_0x47283f),_0x182e1f(0x112)),_0x5c903f),_0x47fa1f[_0x182e1f(0x99)]);let _0x14dfd6;try{_0x14dfd6=await RequestUtil['HttpGetJson'](_0x52b8a3,_0x47fa1f[_0x182e1f(0x123)],'',{'Cookie':_0x1a8e16});}catch{return undefined;}if(_0x47fa1f[_0x182e1f(0xc5)](_0x14dfd6[_0x182e1f(0xfd)],0x0))return undefined;return _0x14dfd6;}static async[_0x38035b(0x8d)](_0x2386fb,_0x1c8b20=!![]){const _0x559f24=_0x38035b,_0x17a04e={'vgjGy':function(_0x2a9f44,_0x130136){return _0x2a9f44>_0x130136;},'hPiyf':function(_0x5674cc,_0x99b476){return _0x5674cc-_0x99b476;},'XSeMh':function(_0x520e0c,_0x135a38){return _0x520e0c*_0x135a38;},'IZTIP':_0x559f24(0x11f),'ATsVH':function(_0xfeb8d6,_0x50936b){return _0xfeb8d6+_0x50936b;},'Zcxed':function(_0x26ecb5,_0x18660a){return _0x26ecb5+_0x18660a;},'RyRox':_0x559f24(0xb0),'JlDYS':_0x559f24(0xe1),'ssFtm':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','wmxKj':_0x559f24(0xa3),'hqwfM':function(_0x1bbfe0,_0x486b4f){return _0x1bbfe0!==_0x486b4f;},'QsXPQ':function(_0x25eea3,_0x2c6255){return _0x25eea3/_0x2c6255;},'MFUkO':function(_0x2a05e8,_0x2406df){return _0x2a05e8+_0x2406df;},'NkrTc':function(_0x1326fb,_0x48b063){return _0x1326fb+_0x48b063;},'RAAMK':function(_0xc3d5,_0x3843d7){return _0xc3d5+_0x3843d7;},'xgnLF':function(_0x544715,_0x575f00){return _0x544715+_0x575f00;},'DJIUY':_0x559f24(0xdf),'igkID':function(_0x364223,_0x198a3e){return _0x364223-_0x198a3e;},'BJnGA':_0x559f24(0xe6),'Dldnj':_0x559f24(0xa2),'PnzQV':'POST','skhEG':function(_0xcd1386,_0x27eb6c){return _0xcd1386<=_0x27eb6c;},'suqJS':function(_0xef834,_0x3076b3){return _0xef834!==_0x3076b3;}};let _0x6cab4=new Array();try{let _0x52d53f=WebGroupData[_0x559f24(0xf9)][_0x559f24(0xab)](_0x2386fb),_0x47be38=WebGroupData['GroupTime'][_0x559f24(0xab)](_0x2386fb);if(!_0x47be38||_0x17a04e['vgjGy'](_0x17a04e[_0x559f24(0xfc)](Date['now'](),_0x47be38),_0x17a04e[_0x559f24(0xb9)](0x708,0x3e8))||!_0x1c8b20){const _0x3c97df=(await NTQQUserApi[_0x559f24(0x10a)]([_0x17a04e['IZTIP']]))[_0x17a04e[_0x559f24(0x10c)]],_0x23505e=await NTQQUserApi[_0x559f24(0xeb)](),_0x1efb1f=_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e['Zcxed'](_0x17a04e[_0x559f24(0xc1)],_0x3c97df),_0x17a04e['JlDYS']),_0x23505e)+_0x559f24(0xb8),selfInfo[_0x559f24(0xa7)]);if(!_0x23505e||!_0x3c97df)return _0x6cab4;const _0x3b4856=WebApi[_0x559f24(0x9a)](_0x23505e),_0x548c22=[],_0x5a2b2e=await RequestUtil[_0x559f24(0xce)](_0x17a04e['ATsVH'](_0x17a04e[_0x559f24(0xad)],_0x2386fb)+_0x17a04e[_0x559f24(0xb6)]+_0x3b4856,_0x559f24(0xf7),'',{'Cookie':_0x1efb1f});if(!_0x5a2b2e?.[_0x559f24(0x11d)]||_0x17a04e[_0x559f24(0xd0)](_0x5a2b2e?.[_0x559f24(0xdc)],0x0)||!_0x5a2b2e?.[_0x559f24(0x125)])return[];else for(const _0x47f048 in _0x5a2b2e['mems']){_0x6cab4[_0x559f24(0xc0)](_0x5a2b2e[_0x559f24(0x125)][_0x47f048]);}const _0x388af9=Math[_0x559f24(0x97)](_0x17a04e[_0x559f24(0xf3)](_0x5a2b2e['count'],0x28));for(let _0x278d0f=0x2;_0x278d0f<=_0x388af9;_0x278d0f++){const _0x2ee8d=RequestUtil[_0x559f24(0xce)](_0x17a04e[_0x559f24(0xc2)](_0x17a04e[_0x559f24(0x8e)](_0x17a04e[_0x559f24(0xe8)](_0x17a04e[_0x559f24(0x85)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xe3)](_0x17a04e[_0x559f24(0x82)],_0x17a04e[_0x559f24(0x113)](_0x278d0f,0x1)*0x28),_0x17a04e[_0x559f24(0x116)])+_0x17a04e['XSeMh'](_0x278d0f,0x28),_0x17a04e['Dldnj']),_0x2386fb),_0x559f24(0xa3)),_0x3b4856),_0x17a04e[_0x559f24(0xde)],'',{'Cookie':_0x1efb1f});_0x548c22[_0x559f24(0xc0)](_0x2ee8d);}for(let _0x5a7378=0x1;_0x17a04e['skhEG'](_0x5a7378,_0x388af9);_0x5a7378++){const _0x4a4851=await _0x548c22[_0x5a7378];if(!_0x4a4851?.[_0x559f24(0x11d)]||_0x17a04e['suqJS'](_0x4a4851?.[_0x559f24(0xdc)],0x0)||!_0x4a4851?.[_0x559f24(0x125)])continue;for(const _0x3e47b1 in _0x4a4851[_0x559f24(0x125)]){_0x6cab4[_0x559f24(0xc0)](_0x4a4851[_0x559f24(0x125)][_0x3e47b1]);}}WebGroupData[_0x559f24(0xf9)][_0x559f24(0xfa)](_0x2386fb,_0x6cab4),WebGroupData[_0x559f24(0xfe)][_0x559f24(0xfa)](_0x2386fb,Date[_0x559f24(0xa0)]());}else _0x6cab4=_0x52d53f;}catch{return _0x6cab4;}return _0x6cab4;}static async[_0x38035b(0x126)](_0x38f25c,_0x4873ff=''){const _0x3adabe=_0x38035b,_0x4fa9e2={'vqvis':_0x3adabe(0x11f),'UTGKL':function(_0xd50b1a,_0x35b5bb){return _0xd50b1a+_0x35b5bb;},'XcCyP':function(_0x5784c8,_0x51d8b6){return _0x5784c8+_0x51d8b6;},'dBvYU':function(_0xd45984,_0x40eb92){return _0xd45984+_0x40eb92;},'XltAk':function(_0x3c9772,_0x555e55){return _0x3c9772+_0x555e55;},'cSfMF':function(_0x275228,_0x30a696){return _0x275228+_0x30a696;},'BklHm':_0x3adabe(0xb0),'KUtTL':_0x3adabe(0xe1),'lDSji':_0x3adabe(0xb8),'iUlmF':function(_0x30dba2,_0x1d1d49){return _0x30dba2||_0x1d1d49;},'QYqUF':function(_0x17aac4,_0x263691){return _0x17aac4+_0x263691;},'NYeAn':function(_0x68587e,_0x5b4100){return _0x68587e+_0x5b4100;},'NzRws':_0x3adabe(0x107),'ROoSa':'&bkn=','LqNoB':_0x3adabe(0xf6),'okWFX':function(_0x1a0259,_0x4bced6){return _0x1a0259+_0x4bced6;},'ZsfDf':_0x3adabe(0x9f),'qcuDU':_0x3adabe(0xdd)},_0x14bbd1=(await NTQQUserApi[_0x3adabe(0x10a)]([_0x4fa9e2[_0x3adabe(0xcc)]]))[_0x4fa9e2[_0x3adabe(0xcc)]],_0x2e70e6=await NTQQUserApi[_0x3adabe(0xeb)](),_0x5c07ce=_0x4fa9e2[_0x3adabe(0x8b)](_0x4fa9e2[_0x3adabe(0xa8)](_0x4fa9e2['dBvYU'](_0x4fa9e2[_0x3adabe(0xea)](_0x4fa9e2['cSfMF'](_0x4fa9e2[_0x3adabe(0xcd)],_0x14bbd1),_0x4fa9e2[_0x3adabe(0xbe)]),_0x2e70e6),_0x4fa9e2[_0x3adabe(0x122)]),selfInfo[_0x3adabe(0xa7)]);let _0x2007d0=undefined;if(_0x4fa9e2['iUlmF'](!_0x2e70e6,!_0x14bbd1))return undefined;const _0x489ab6=WebApi[_0x3adabe(0x9a)](_0x2e70e6),_0x11b171=_0x4fa9e2[_0x3adabe(0xb4)](_0x4fa9e2['QYqUF'](_0x4fa9e2[_0x3adabe(0xcf)](_0x4fa9e2['NzRws']+_0x38f25c,_0x4fa9e2[_0x3adabe(0x11a)]),_0x489ab6)+_0x4fa9e2[_0x3adabe(0xa1)],_0x4873ff)+_0x3adabe(0x121),_0x20d5ba=_0x4fa9e2['okWFX'](_0x4fa9e2[_0x3adabe(0x11c)],_0x489ab6);try{return _0x2007d0=await RequestUtil[_0x3adabe(0xce)](_0x20d5ba,_0x4fa9e2[_0x3adabe(0xf1)],'',{'Cookie':_0x5c07ce}),_0x2007d0;}catch(_0x19a2e9){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2c83fa){const _0x5f443b=_0x38035b,_0x15a3e9={'fchfX':_0x5f443b(0x11f),'eWKtv':function(_0xae0720,_0x29858f){return _0xae0720+_0x29858f;},'tLZhT':';\x20skey=','kbous':_0x5f443b(0xb8),'hckvn':function(_0x4c17d4,_0x55b742){return _0x4c17d4||_0x55b742;},'TJKAj':function(_0x2f23d7,_0x5e4764){return _0x2f23d7+_0x5e4764;},'FBNxs':_0x5f443b(0xf2),'QAzdC':_0x5f443b(0x119),'KiKJI':_0x5f443b(0x11e),'mLdJl':function(_0x82d113,_0x4e855c){return _0x82d113!==_0x4e855c;}},_0x569b0a=(await NTQQUserApi[_0x5f443b(0x10a)]([_0x15a3e9['fchfX']]))[_0x15a3e9[_0x5f443b(0xe7)]],_0x28d802=await NTQQUserApi[_0x5f443b(0xeb)](),_0x35281f=_0x15a3e9[_0x5f443b(0xdb)](_0x5f443b(0xb0),_0x569b0a)+_0x15a3e9[_0x5f443b(0xcb)]+_0x28d802+_0x15a3e9[_0x5f443b(0x89)]+selfInfo[_0x5f443b(0xa7)];let _0x3ab783=undefined;if(_0x15a3e9[_0x5f443b(0xf4)](!_0x28d802,!_0x569b0a))return undefined;const _0x2cc983=WebApi[_0x5f443b(0x9a)](_0x28d802),_0x326322=_0x15a3e9['TJKAj'](_0x15a3e9[_0x5f443b(0xdb)](_0x15a3e9[_0x5f443b(0xc7)](_0x15a3e9[_0x5f443b(0xd1)]+_0x2cc983,_0x15a3e9[_0x5f443b(0x104)]),_0x2c83fa),_0x15a3e9[_0x5f443b(0x86)]);try{_0x3ab783=await RequestUtil[_0x5f443b(0xce)](_0x326322,_0x5f443b(0xdd),'',{'Cookie':_0x35281f});if(_0x15a3e9[_0x5f443b(0xef)](_0x3ab783?.['ec'],0x0))return undefined;return _0x3ab783;}catch(_0x566e27){return undefined;}return undefined;}static[_0x38035b(0x9a)](_0x6e0e9a){const _0x3a65e3=_0x38035b,_0x24abe1={'HjZZI':function(_0x11e4fb,_0x35c512){return _0x11e4fb||_0x35c512;},'MyiRr':function(_0x1de028,_0x4acaa9){return _0x1de028+_0x4acaa9;},'HyyjV':function(_0x4202df,_0x62156){return _0x4202df+_0x62156;},'xaqQk':function(_0x10714d,_0x444524){return _0x10714d<<_0x444524;},'OXXMB':function(_0x16e86b,_0x704eb7){return _0x16e86b&_0x704eb7;}};_0x6e0e9a=_0x24abe1[_0x3a65e3(0x117)](_0x6e0e9a,'');let _0x398b61=0x1505;for(let _0x526a4a=0x0;_0x526a4a<_0x6e0e9a[_0x3a65e3(0x114)];_0x526a4a++){const _0x110656=_0x6e0e9a[_0x3a65e3(0xed)](_0x526a4a);_0x398b61=_0x24abe1['MyiRr'](_0x24abe1[_0x3a65e3(0xb1)](_0x398b61,_0x24abe1[_0x3a65e3(0xca)](_0x398b61,0x5)),_0x110656);}return _0x24abe1['OXXMB'](_0x398b61,0x7fffffff)[_0x3a65e3(0x83)]();}static async[_0x38035b(0xd2)](_0x58b3f0,_0x13b8dc){const _0x400b6d=_0x38035b,_0x5e2ed3={'JlvzA':function(_0x1777af,_0x553576){return _0x1777af+_0x553576;},'YHmiI':function(_0x3dba98,_0x550d69){return _0x3dba98+_0x550d69;},'sbCBI':function(_0x1ca842,_0x319a25){return _0x1ca842+_0x319a25;},'cyKlS':_0x400b6d(0x98),'YogxW':function(_0x307223,_0x4380f9){return _0x307223===_0x4380f9;},'bzsOz':function(_0x27d0b5,_0xb486ed,_0x2bdc28,_0x209e7b){return _0x27d0b5(_0xb486ed,_0x2bdc28,_0x209e7b);},'ZukvK':_0x400b6d(0x110),'PsUxz':'qun.qq.com','iVNIg':function(_0x33804c,_0x2b4233){return _0x33804c+_0x2b4233;},'wZszj':function(_0x22fd38,_0x5ca6d8){return _0x22fd38+_0x5ca6d8;},'lTDbm':function(_0x4d296a,_0xedcd31){return _0x4d296a+_0xedcd31;},'GqzJo':function(_0x5569a2,_0x394420){return _0x5569a2+_0x394420;},'RwSxN':_0x400b6d(0xb0),'Iurtq':_0x400b6d(0xe1),'dDKbb':';\x20p_uin=o','QiYQv':_0x400b6d(0x10b),'AaAvE':function(_0x4f95ed,_0x33b86){return _0x4f95ed===_0x33b86;},'JgDcl':function(_0x5da07a,_0x148318,_0x128e84){return _0x5da07a(_0x148318,_0x128e84);},'VxGUR':function(_0x54bc13,_0x4690cd){return _0x54bc13(_0x4690cd);},'PDhpk':function(_0x1c73aa,_0x495fd8,_0x492710){return _0x1c73aa(_0x495fd8,_0x492710);},'VPnYH':'获取群聊之火失败','aFfMh':function(_0x8d7874,_0x1ba15a){return _0x8d7874(_0x1ba15a);},'SuiXK':function(_0x4a633c,_0x3d08d9){return _0x4a633c===_0x3d08d9;},'dkPVS':function(_0x9299e,_0x4a7ed0,_0x23c21d){return _0x9299e(_0x4a7ed0,_0x23c21d);},'qaBwC':_0x400b6d(0x124),'FFAmT':function(_0x18e55f,_0x590ad1,_0x147356){return _0x18e55f(_0x590ad1,_0x147356);},'CUOWz':_0x400b6d(0x94),'AjCsz':function(_0x38d55e,_0x5ab3a5){return _0x38d55e===_0x5ab3a5;}},_0x2f047b=(await NTQQUserApi[_0x400b6d(0x10a)]([_0x400b6d(0x11f)]))[_0x5e2ed3[_0x400b6d(0x7f)]],_0xe87b2c=await NTQQUserApi['getSkey']();if(!_0xe87b2c||!_0x2f047b)return undefined;async function _0x1c7c6e(_0x3ae3b2,_0x3eb53e){const _0x30eea1=_0x400b6d;let _0x2b91d9=_0x5e2ed3[_0x30eea1(0xa9)](_0x5e2ed3[_0x30eea1(0x109)](_0x5e2ed3['sbCBI'](_0x5e2ed3['cyKlS'],_0x3ae3b2),_0x30eea1(0xe2)),_0x3eb53e['toString']()),_0x2f6191='',_0x510e1e;try{_0x2f6191=await RequestUtil[_0x30eea1(0xc4)](_0x2b91d9,'GET','',{'Cookie':_0x2fde47});const _0x188bdb=_0x2f6191[_0x30eea1(0xb7)](/window\.__INITIAL_STATE__=(.*?);/);return _0x188bdb&&(_0x510e1e=JSON[_0x30eea1(0x106)](_0x188bdb[0x1]['trim']())),_0x5e2ed3[_0x30eea1(0xd4)](_0x3eb53e,0x1)?_0x510e1e?.[_0x30eea1(0xee)]:_0x510e1e?.[_0x30eea1(0xd3)];}catch(_0x393408){_0x5e2ed3['bzsOz'](logDebug,_0x5e2ed3[_0x30eea1(0xec)],_0x2b91d9,_0x393408);}return undefined;}let _0xce5f0a={'group_id':_0x58b3f0};const _0x2fde47=_0x5e2ed3[_0x400b6d(0x120)](_0x5e2ed3['wZszj'](_0x5e2ed3[_0x400b6d(0x8f)](_0x5e2ed3['JlvzA'](_0x5e2ed3[_0x400b6d(0x109)](_0x5e2ed3['lTDbm'](_0x5e2ed3[_0x400b6d(0x9c)](_0x5e2ed3['RwSxN'],_0x2f047b),_0x5e2ed3[_0x400b6d(0x10f)]),_0xe87b2c),_0x5e2ed3[_0x400b6d(0x96)]),selfInfo[_0x400b6d(0xa7)]),_0x5e2ed3['QiYQv']),selfInfo[_0x400b6d(0xa7)]);if(_0x13b8dc===WebHonorType[_0x400b6d(0x87)]||_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType['ALL']))try{let _0x541592=await _0x5e2ed3[_0x400b6d(0x9d)](_0x1c7c6e,_0x58b3f0,0x1);if(!_0x541592)throw new Error(_0x400b6d(0x92));_0xce5f0a[_0x400b6d(0x8c)]={'user_id':_0x541592[0x0]?.['uin'],'avatar':_0x541592[0x0]?.[_0x400b6d(0x84)],'nickname':_0x541592[0x0]?.[_0x400b6d(0xb2)],'day_count':0x0,'description':_0x541592[0x0]?.[_0x400b6d(0xba)]},_0xce5f0a[_0x400b6d(0x95)]=[];for(const _0x916bf of _0x541592){_0xce5f0a['talkative_list'][_0x400b6d(0xc0)]({'user_id':_0x916bf?.[_0x400b6d(0xa7)],'avatar':_0x916bf?.[_0x400b6d(0x84)],'description':_0x916bf?.[_0x400b6d(0xba)],'day_count':0x0,'nickname':_0x916bf?.['name']});}}catch(_0x1ac32f){_0x5e2ed3[_0x400b6d(0x10d)](logDebug,_0x1ac32f);}if(_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType[_0x400b6d(0xbb)])||_0x13b8dc===WebHonorType['ALL'])try{let _0x3f2c4e=await _0x5e2ed3[_0x400b6d(0x102)](_0x1c7c6e,_0x58b3f0,0x2);if(!_0x3f2c4e)throw new Error(_0x5e2ed3[_0x400b6d(0xe0)]);_0xce5f0a[_0x400b6d(0xd9)]=[];for(const _0x1d8c8c of _0x3f2c4e){_0xce5f0a[_0x400b6d(0xd9)][_0x400b6d(0xc0)]({'user_id':_0x1d8c8c?.['uin'],'nickname':_0x1d8c8c?.[_0x400b6d(0xb2)],'avatar':_0x1d8c8c?.[_0x400b6d(0x84)],'description':_0x1d8c8c?.[_0x400b6d(0xba)]});}}catch(_0x1e0af9){_0x5e2ed3['aFfMh'](logDebug,_0x1e0af9);}if(_0x5e2ed3[_0x400b6d(0xc6)](_0x13b8dc,WebHonorType['PERFROMER'])||_0x13b8dc===WebHonorType['ALL'])try{let _0x1ed84b=await _0x5e2ed3[_0x400b6d(0xf5)](_0x1c7c6e,_0x58b3f0,0x3);if(!_0x1ed84b)throw new Error(_0x5e2ed3[_0x400b6d(0xe4)]);_0xce5f0a[_0x400b6d(0xd7)]=[];for(const _0x378617 of _0x1ed84b){_0xce5f0a[_0x400b6d(0xd7)][_0x400b6d(0xc0)]({'user_id':_0x378617?.[_0x400b6d(0xa7)],'nickname':_0x378617?.['name'],'avatar':_0x378617?.[_0x400b6d(0x84)],'desc':_0x378617?.[_0x400b6d(0x81)]});}}catch(_0x98e6e2){_0x5e2ed3[_0x400b6d(0xf5)](logDebug,_0x5e2ed3[_0x400b6d(0xe4)],_0x98e6e2);}if(_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType[_0x400b6d(0x108)])||_0x13b8dc===WebHonorType[_0x400b6d(0xf0)])try{let _0x48048e=await _0x5e2ed3[_0x400b6d(0xe5)](_0x1c7c6e,_0x58b3f0,0x6);if(!_0x48048e)throw new Error(_0x5e2ed3[_0x400b6d(0x10e)]);_0xce5f0a[_0x400b6d(0xac)]=[];for(const _0x4a0158 of _0x48048e){_0xce5f0a['emotion_list'][_0x400b6d(0xc0)]({'user_id':_0x4a0158?.[_0x400b6d(0xa7)],'nickname':_0x4a0158?.[_0x400b6d(0xb2)],'avatar':_0x4a0158?.[_0x400b6d(0x84)],'desc':_0x4a0158?.['description']});}}catch(_0x34a408){_0x5e2ed3[_0x400b6d(0x102)](logDebug,_0x5e2ed3[_0x400b6d(0x10e)],_0x34a408);}return(_0x5e2ed3[_0x400b6d(0x111)](_0x13b8dc,WebHonorType[_0x400b6d(0x108)])||_0x5e2ed3[_0x400b6d(0x111)](_0x13b8dc,WebHonorType[_0x400b6d(0xf0)]))&&(_0xce5f0a[_0x400b6d(0x100)]=[]),_0xce5f0a;}}function _0x145c(){const _0xa8c300=['BJnGA','HjZZI','Heudk','&qid=','ROoSa','36BmQUry','ZsfDf','count','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','qun.qq.com','iVNIg','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','lDSji','ziOOj','获取群聊炽焰失败','mems','setGroupNotice','AaAvE','PsUxz','1092110cyfIPj','description','DJIUY','toString','avatar','RAAMK','KiKJI','TALKACTIVE','dvHyA','kbous','talkative','UTGKL','current_talkative','getGroupMembers','Zcxed','sbCBI','performer','LEGEND','获取龙王信息失败','246127vRBqUr','获取快乐源泉失败','talkative_list','dDKbb','ceil','https://qun.qq.com/interactive/honorlist?gc=','aFcPL','genBkn','all','GqzJo','JgDcl','getGroupEssenceMsg','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','now','LqNoB','&sort=1&gc=','&bkn=','OIVTp','Vsgrc','&group_code=','uin','XcCyP','JlvzA','643460ZJuMSj','get','emotion_list','ssFtm','tzFNc','ecquJ','p_skey=','HyyjV','name','5|2|0|4|1|3','cSfMF','JCRiu','wmxKj','match',';\x20p_uin=o','XSeMh','desc','PERFROMER','4ykRoXV','ATsVH','KUtTL','RIaar','push','RyRox','MFUkO','strong_newbie','HttpGetText','mmTJu','SuiXK','TJKAj','STZHj','60573fzCHNa','xaqQk','tLZhT','vqvis','BklHm','HttpGetJson','NYeAn','hqwfM','FBNxs','getGroupHonorInfo','actorList','YogxW','xHHiP','CWrUq','legend_list','2648056mHPeZS','performer_list','1246069euKxiA','eWKtv','errcode','GET','PnzQV','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','VPnYH',';\x20skey=','&type=','xgnLF','qaBwC','FFAmT','&end=','fchfX','NkrTc','6pSjwKb','XltAk','getSkey','ZukvK','charCodeAt','talkativeList','mLdJl','ALL','qcuDU','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','QsXPQ','hckvn','dkPVS','&text=','POST','9pcdDNI','GroupData','set','STORONGE_NEWBI','hPiyf','retcode','GroupTime','cCjdQ','strong_newbie_list','muQmP','PDhpk','204208agGJLF','QAzdC','36DAWUtW','parse','qid=','EMOTION','YHmiI','getPSkey',';\x20uin=o','IZTIP','VxGUR','CUOWz','Iurtq','获取当前群荣耀失败','AjCsz','&page_start=','igkID','length','pFgdW'];_0x145c=function(){return _0xa8c300;};return _0x145c();} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 86405ec1..01b13924 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x172af7=_0x5f25;(function(_0x5a8285,_0x1a8d4f){const _0x15ce94=_0x5f25,_0xdf4b8e=_0x5a8285();while(!![]){try{const _0x1c8070=parseInt(_0x15ce94(0x289))/0x1*(-parseInt(_0x15ce94(0x23f))/0x2)+parseInt(_0x15ce94(0x1fe))/0x3+-parseInt(_0x15ce94(0x256))/0x4*(parseInt(_0x15ce94(0x28d))/0x5)+parseInt(_0x15ce94(0x214))/0x6+parseInt(_0x15ce94(0x236))/0x7*(-parseInt(_0x15ce94(0x298))/0x8)+-parseInt(_0x15ce94(0x284))/0x9*(parseInt(_0x15ce94(0x243))/0xa)+-parseInt(_0x15ce94(0x1fa))/0xb*(-parseInt(_0x15ce94(0x22d))/0xc);if(_0x1c8070===_0x1a8d4f)break;else _0xdf4b8e['push'](_0xdf4b8e['shift']());}catch(_0x3c1a58){_0xdf4b8e['push'](_0xdf4b8e['shift']());}}}(_0x1b06,0x815a6));import _0x5694df from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x4b3798 from'node:path';import _0x16e31e from'node:os';import _0xed30da from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x396ab4 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x172af7(0x232)];[_0x172af7(0x248)];[_0x172af7(0x294)];[_0x172af7(0x274)];[_0x172af7(0x250)];[_0x172af7(0x21c)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x1f1fba=_0x172af7,IUlAyr={'oszMV':'undefined'};if(typeof target[prop]===IUlAyr['oszMV'])return(...args)=>{const _0x3c7e14=_0x5f25;logDebug(target['constructor']['name']+_0x3c7e14(0x21a)+prop);};return Reflect[_0x1f1fba(0x23b)](target,prop,receiver);}};constructor(){const _0x43f308=_0x172af7,_0x48a7ea={'ZATAX':function(_0x251f9f,_0x75b179){return _0x251f9f+_0x75b179;},'IbZCj':'当前账号(','dHtHO':function(_0x3e799f,_0x290ce0){return _0x3e799f(_0x290ce0);},'AJvNf':function(_0x443cb9,_0x40c0d8){return _0x443cb9(_0x40c0d8);},'GXDEc':_0x43f308(0x22f),'gkcQg':function(_0x5db28e,_0x4d12f8,_0x4fd5c6){return _0x5db28e(_0x4d12f8,_0x4fd5c6);},'BSxEg':'数据库初始化失败','Lxpcq':_0x43f308(0x287),'sxlFH':function(_0x1cd080,_0x54f603,_0x3cbb3c){return _0x1cd080(_0x54f603,_0x3cbb3c);},'cKCGm':_0x43f308(0x20a),'mjzNg':function(_0x2212a8,_0x2a8f0a){return _0x2212a8==_0x2a8f0a;}};this[_0x43f308(0x294)]=new _0x5694df[(_0x43f308(0x27e))](),this[_0x43f308(0x248)]=new _0x5694df[(_0x43f308(0x262))](),this[_0x43f308(0x250)]=new _0x5694df[(_0x43f308(0x222))](),this[_0x43f308(0x232)]=new _0x5694df[(_0x43f308(0x224))](),this['loginListener']=new LoginListener(),this[_0x43f308(0x274)]['onUserLoggedIn']=_0x1de9c3=>{const _0xd8515=_0x43f308;logError(_0x48a7ea[_0xd8515(0x25f)](_0x48a7ea[_0xd8515(0x25f)](_0x48a7ea[_0xd8515(0x255)],_0x1de9c3),_0xd8515(0x28a)));},this[_0x43f308(0x274)][_0x43f308(0x260)]=_0x7a7607=>{const _0x3f9988=_0x43f308,_0xce5f4c={'BVLfb':function(_0xfcb68a,_0x56aa30,_0x1ea7a5){const _0x505dc2=_0x5f25;return _0x48a7ea[_0x505dc2(0x23a)](_0xfcb68a,_0x56aa30,_0x1ea7a5);},'NSUoF':_0x48a7ea[_0x3f9988(0x296)],'wPVAM':_0x48a7ea[_0x3f9988(0x261)]};this['initSession'](_0x7a7607[_0x3f9988(0x23d)],_0x7a7607['uid'])[_0x3f9988(0x235)](_0x4c7825=>{const _0x4a3e33=_0x3f9988;selfInfo[_0x4a3e33(0x23d)]=_0x7a7607[_0x4a3e33(0x23d)],selfInfo[_0x4a3e33(0x28b)]=_0x7a7607[_0x4a3e33(0x28b)],napCatConfig[_0x4a3e33(0x25e)](),setLogLevel(napCatConfig[_0x4a3e33(0x229)],napCatConfig[_0x4a3e33(0x20c)]),_0x48a7ea[_0x4a3e33(0x267)](enableFileLog,napCatConfig[_0x4a3e33(0x254)]),_0x48a7ea['AJvNf'](enableConsoleLog,napCatConfig['consoleLog']),_0x48a7ea['dHtHO'](setLogSelfInfo,selfInfo);const _0x47c328=_0x4b3798[_0x4a3e33(0x28e)](this[_0x4a3e33(0x286)],_0x48a7ea[_0x4a3e33(0x22e)]);_0xed30da[_0x4a3e33(0x282)](_0x47c328,{'recursive':!![]}),logDebug(_0x4a3e33(0x27b),_0x47c328),dbUtil['init'](_0x4b3798[_0x4a3e33(0x28e)](_0x47c328,'./'+_0x7a7607[_0x4a3e33(0x23d)]+_0x4a3e33(0x1f1)))['then'](()=>{const _0x1282dc=_0x4a3e33,_0x2e9523={'fKHjb':function(_0x58789b,_0x428d70,_0xe9b831){const _0x1d8b2d=_0x5f25;return _0xce5f4c[_0x1d8b2d(0x22b)](_0x58789b,_0x428d70,_0xe9b831);},'leYpX':function(_0x12c86f,_0x5d5ce0){return _0x12c86f instanceof _0x5d5ce0;}};this[_0x1282dc(0x29a)](),this[_0x1282dc(0x21c)]['map'](_0x3d3704=>{const _0x26b19b=_0x1282dc;new Promise((_0x55e08a,_0x2520cb)=>{const _0x5b3952=_0x5f25,_0x2d7fe4=_0x2e9523[_0x5b3952(0x273)](_0x3d3704,_0x7a7607[_0x5b3952(0x23d)],_0x7a7607[_0x5b3952(0x28b)]);_0x2e9523[_0x5b3952(0x240)](_0x2d7fe4,Promise)&&_0x2d7fe4[_0x5b3952(0x235)](_0x55e08a)['catch'](_0x2520cb);})[_0x26b19b(0x235)]();});})[_0x4a3e33(0x207)](_0x4e2267=>{const _0x4a3e3c=_0x4a3e33;_0xce5f4c[_0x4a3e3c(0x22b)](logError,_0xce5f4c[_0x4a3e3c(0x21b)],_0x4e2267);});})[_0x3f9988(0x207)](_0x4d1fc9=>{const _0x323beb=_0x3f9988;_0xce5f4c[_0x323beb(0x22b)](logError,_0xce5f4c[_0x323beb(0x238)],_0x4d1fc9);throw new Error(_0x323beb(0x27d)+JSON[_0x323beb(0x279)](_0x4d1fc9));});},this[_0x43f308(0x274)][_0x43f308(0x24a)]=(_0x2d0ce4,_0x307fb9,_0xe6f2a0)=>{const _0x4debea=_0x43f308;_0x48a7ea[_0x4debea(0x29b)](logError,_0x48a7ea[_0x4debea(0x225)],_0xe6f2a0),_0x2d0ce4==0x1&&_0x48a7ea['mjzNg'](_0x307fb9,0x3)&&this[_0x4debea(0x250)][_0x4debea(0x242)]();},this['loginListener']['onLoginFailed']=_0x345809=>{const _0x4ea185=_0x43f308;_0x48a7ea[_0x4ea185(0x29b)](logError,_0x48a7ea[_0x4ea185(0x225)],_0x345809);},this[_0x43f308(0x274)]=new Proxy(this[_0x43f308(0x274)],this[_0x43f308(0x220)]),this[_0x43f308(0x250)][_0x43f308(0x1f9)](new _0x5694df[(_0x43f308(0x230))](this[_0x43f308(0x274)])),this['initConfig']();}get[_0x172af7(0x286)](){const _0x188c7a=_0x172af7,_0xfd830c={'TBrwI':'./.config/QQ'};let _0x326de5=this[_0x188c7a(0x248)][_0x188c7a(0x29f)]();return!_0x326de5&&(_0x326de5=_0x4b3798['resolve'](_0x16e31e['homedir'](),_0xfd830c['TBrwI']),_0xed30da[_0x188c7a(0x282)](_0x326de5,{'recursive':!![]})),_0x326de5;}get[_0x172af7(0x227)](){const _0x225507=_0x172af7,_0x38b54b={'XfHFP':_0x225507(0x24b)};return _0x4b3798[_0x225507(0x28e)](this[_0x225507(0x286)],_0x38b54b['XfHFP']);}[_0x172af7(0x1f7)](){const _0x3dfcc1=_0x172af7,_0x2a1c9a={'cbcGt':_0x3dfcc1(0x285)};this[_0x3dfcc1(0x294)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3dfcc1(0x25c)],'os_version':_0x2a1c9a[_0x3dfcc1(0x1ff)],'use_xlog':!![],'qua':_0x3dfcc1(0x24c)+qqVersionConfigInfo[_0x3dfcc1(0x25c)][_0x3dfcc1(0x252)]('-','_')+_0x3dfcc1(0x221),'global_path_config':{'desktopGlobalPath':this[_0x3dfcc1(0x227)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5694df[(_0x3dfcc1(0x26a))](new GlobalAdapter())),this[_0x3dfcc1(0x250)][_0x3dfcc1(0x1f7)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x172af7(0x290)](_0x454e72,_0x1c3248){const _0x39cb80=_0x172af7,_0x38e90b={'yEbMk':function(_0x5ecaa6,_0x25e4d0){return _0x5ecaa6===_0x25e4d0;},'YMdVD':function(_0x2a2527,_0x3f27bb){return _0x2a2527(_0x3f27bb);},'AkpBm':function(_0x21555d,_0x45f731,_0x2ec547,_0x41a8e4){return _0x21555d(_0x45f731,_0x2ec547,_0x41a8e4);},'tHolG':function(_0x36a2f4,_0x92a588){return _0x36a2f4+_0x92a588;},'AhLix':_0x39cb80(0x24e)};return new Promise(async(_0x418b8e,_0x4a7c3b)=>{const _0x119903=_0x39cb80,_0x162ec3=await _0x38e90b[_0x119903(0x292)](genSessionConfig,_0x454e72,_0x1c3248,this['dataPath']),_0x587c1d=new SessionListener();_0x587c1d[_0x119903(0x226)]=_0x522bad=>{const _0x1ab9ae=_0x119903;if(_0x38e90b[_0x1ab9ae(0x21f)](_0x522bad,0x0))return _0x38e90b[_0x1ab9ae(0x20e)](_0x418b8e,0x0);_0x38e90b[_0x1ab9ae(0x20e)](_0x4a7c3b,_0x522bad);},this['session'][_0x119903(0x203)](_0x162ec3,new _0x5694df[(_0x119903(0x245))](new DependsAdapter()),new _0x5694df[(_0x119903(0x22c))](new DispatcherAdapter()),new _0x5694df['NodeIKernelSessionListener'](_0x587c1d));try{this[_0x119903(0x232)]['startNT'](0x0);}catch(_0xd48c94){try{this['session'][_0x119903(0x208)]();}catch(_0x47916d){_0x38e90b['YMdVD'](_0x4a7c3b,_0x38e90b[_0x119903(0x29e)](_0x38e90b[_0x119903(0x2a2)],_0x47916d));}}});}[_0x172af7(0x29a)](){const _0x5784f6=_0x172af7,_0x411ee2={'fbkyl':function(_0x3752f5,_0x579e11){return _0x3752f5(_0x579e11);},'BkxhY':function(_0x230d06,_0x5eeac4){return _0x230d06+_0x5eeac4;},'cWlfW':_0x5784f6(0x23c),'yOpoZ':_0x5784f6(0x27c),'nLWWf':function(_0x4e0f57,_0x349431){return _0x4e0f57+_0x349431;},'eFjRV':_0x5784f6(0x280),'dJIet':function(_0x14ac90,_0x35b47e){return _0x14ac90/_0x35b47e;},'kBbjO':function(_0x194fbe,_0x3a37c7){return _0x194fbe/_0x3a37c7;},'mgYJf':function(_0xb0452e,_0x18da75){return _0xb0452e===_0x18da75;},'IprGp':'groupMemberList_MainWindow','QxdqG':function(_0x24d0e1,_0xefcdf4,_0x10c4bc){return _0x24d0e1(_0xefcdf4,_0x10c4bc);}},_0x5e2eaa=new MsgListener();_0x5e2eaa[_0x5784f6(0x231)]=_0x15ba2f=>{const _0x38a78e=_0x5784f6;_0x15ba2f[_0x38a78e(0x257)](_0x2ff768=>{const _0x56553f=_0x38a78e;_0x2ff768['clientType']===0x2&&_0x411ee2[_0x56553f(0x21d)](log,_0x411ee2[_0x56553f(0x271)](_0x411ee2[_0x56553f(0x213)],_0x2ff768['devUid'])+_0x411ee2['yOpoZ']);});},_0x5e2eaa['onKickedOffLine']=_0x4b894b=>{const _0x4b172a=_0x5784f6;log(_0x411ee2['BkxhY'](_0x411ee2[_0x4b172a(0x271)](_0x411ee2[_0x4b172a(0x278)](_0x411ee2[_0x4b172a(0x218)],_0x4b894b[_0x4b172a(0x27f)]),']\x20'),_0x4b894b[_0x4b172a(0x276)]));},_0x5e2eaa['onAddSendMsg']=_0x25ac41=>{const _0x152da0=_0x5784f6;stat[_0x152da0(0x275)]+=0x1,stat['message_sent']+=0x1,stat['last_message_time']=Math['floor'](_0x411ee2[_0x152da0(0x2a1)](Date['now'](),0x3e8));},_0x5e2eaa['onRecvMsg']=_0x4babb8=>{const _0x475a1f=_0x5784f6;stat[_0x475a1f(0x264)]+=0x1,stat[_0x475a1f(0x26f)]+=_0x4babb8['length'],stat['last_message_time']=Math['floor'](_0x411ee2[_0x475a1f(0x24f)](Date[_0x475a1f(0x217)](),0x3e8));},_0x5e2eaa[_0x5784f6(0x269)]=(..._0x4d0c92)=>{stat['packet_received']+=0x1;},this[_0x5784f6(0x204)](_0x5e2eaa);const _0x16eebf=new BuddyListener();_0x16eebf[_0x5784f6(0x244)]=_0x2c2906=>{const _0x25c75e=_0x5784f6;rawFriends[_0x25c75e(0x247)]=0x0,rawFriends[_0x25c75e(0x1f4)](..._0x2c2906);for(const _0x3410ed of _0x2c2906){for(const _0xb12ff2 of _0x3410ed['buddyList']){const _0x232dfd=friends[_0x25c75e(0x23b)](_0xb12ff2[_0x25c75e(0x28b)]);_0x232dfd?Object[_0x25c75e(0x28f)](_0x232dfd,_0xb12ff2):friends[_0x25c75e(0x206)](_0xb12ff2[_0x25c75e(0x28b)],_0xb12ff2);}}},this[_0x5784f6(0x204)](_0x16eebf),this[_0x5784f6(0x232)][_0x5784f6(0x270)]()['getBuddyList'](!![])[_0x5784f6(0x235)](_0x20c468=>{});const _0x5192bb=new ProfileListener();_0x5192bb[_0x5784f6(0x20d)]=_0x83601c=>{const _0x50d0cc=_0x5784f6;_0x411ee2['mgYJf'](_0x83601c[_0x50d0cc(0x28b)],selfInfo[_0x50d0cc(0x28b)])&&Object[_0x50d0cc(0x28f)](selfInfo,_0x83601c);},_0x5192bb['onSelfStatusChanged']=_0x3da95f=>{},this['addListener'](_0x5192bb);const _0x283561=new GroupListener();_0x283561[_0x5784f6(0x211)]=(_0x3cb25a,_0x4386c2)=>{const _0x411008=_0x5784f6;_0x4386c2[_0x411008(0x257)](_0x5860d7=>{const _0x3e52e7=_0x411008,_0x294765=groups[_0x3e52e7(0x23b)](_0x5860d7[_0x3e52e7(0x1fc)]);_0x294765&&_0x5860d7[_0x3e52e7(0x1fd)]===_0x294765['memberCount']?Object[_0x3e52e7(0x28f)](_0x294765,_0x5860d7):groups[_0x3e52e7(0x206)](_0x5860d7[_0x3e52e7(0x1fc)],_0x5860d7);const _0x29a2df=this[_0x3e52e7(0x232)]['getGroupService']()[_0x3e52e7(0x27a)](_0x5860d7[_0x3e52e7(0x1fc)],_0x411ee2[_0x3e52e7(0x205)]);this[_0x3e52e7(0x232)][_0x3e52e7(0x22a)]()['getNextMemberList'](_0x29a2df,undefined,0xbb8)[_0x3e52e7(0x235)](_0x31c457=>{});});},_0x283561[_0x5784f6(0x297)]=_0x147b12=>{const _0x23a520=_0x5784f6,_0x21440e=_0x147b12[_0x23a520(0x253)][_0x23a520(0x24d)]('_')[0x0];if(groupMembers[_0x23a520(0x1f6)](_0x21440e)){const _0x411418=groupMembers[_0x23a520(0x23b)](_0x21440e);_0x147b12[_0x23a520(0x272)][_0x23a520(0x202)]((_0x507d71,_0x1edda1)=>{const _0x4b22e2=_0x23a520,_0x4784db=_0x411418[_0x4b22e2(0x23b)](_0x1edda1);_0x4784db?Object[_0x4b22e2(0x28f)](_0x4784db,_0x507d71):_0x411418['set'](_0x1edda1,_0x507d71);});}else groupMembers[_0x23a520(0x206)](_0x21440e,_0x147b12[_0x23a520(0x272)]);},_0x283561[_0x5784f6(0x239)]=(_0x41059c,_0x166ee1,_0x138c27)=>{const _0x53892b=_0x5784f6;_0x166ee1===0x0&&_0x138c27[_0x53892b(0x23b)](selfInfo[_0x53892b(0x28b)])&&_0x138c27[_0x53892b(0x23b)](selfInfo['uid'])?.[_0x53892b(0x237)]&&_0x411ee2[_0x53892b(0x200)](setTimeout,()=>{const _0x3fc327=_0x53892b;groups[_0x3fc327(0x216)](_0x41059c);},0x1388);const _0x2e3cca=groupMembers[_0x53892b(0x23b)](_0x41059c);_0x2e3cca?_0x138c27['forEach']((_0xdaa0c4,_0x1c0db0)=>{const _0x1f682b=_0x53892b,_0x33fc66=_0x2e3cca[_0x1f682b(0x23b)](_0x1c0db0);_0x33fc66?Object['assign'](_0x33fc66,_0xdaa0c4):_0x2e3cca[_0x1f682b(0x206)](_0x1c0db0,_0xdaa0c4);}):groupMembers[_0x53892b(0x206)](_0x41059c,_0x138c27);},this[_0x5784f6(0x204)](_0x283561);}[_0x172af7(0x204)](_0x849690){const _0x41947b=_0x172af7,_0x308d41={'NCvbK':_0x41947b(0x28c),'xUhCq':'ProfileListener'};_0x849690=new Proxy(_0x849690,this[_0x41947b(0x220)]);switch(_0x849690[_0x41947b(0x25a)][_0x41947b(0x259)]){case'BuddyListener':{return this[_0x41947b(0x232)][_0x41947b(0x270)]()[_0x41947b(0x1f2)](new _0x5694df[(_0x41947b(0x291))](_0x849690));}case _0x41947b(0x219):{return this[_0x41947b(0x232)][_0x41947b(0x22a)]()[_0x41947b(0x295)](new _0x5694df[(_0x41947b(0x26b))](_0x849690));}case _0x308d41['NCvbK']:{return this[_0x41947b(0x232)][_0x41947b(0x210)]()[_0x41947b(0x25b)](new _0x5694df[(_0x41947b(0x209))](_0x849690));}case _0x308d41[_0x41947b(0x1f3)]:{return this[_0x41947b(0x232)][_0x41947b(0x241)]()[_0x41947b(0x29d)](new _0x5694df['NodeIKernelProfileListener'](_0x849690));}default:return-0x1;}}[_0x172af7(0x228)](_0x4da20b){const _0xf56e34=_0x172af7;NTEventDispatch[_0xf56e34(0x203)]({'ListenerMap':_0x5694df,'WrapperSession':this[_0xf56e34(0x232)]}),this[_0xf56e34(0x21c)][_0xf56e34(0x1f4)](_0x4da20b);}async[_0x172af7(0x223)](_0x5cec92){const _0xc30ea7=_0x172af7,_0xd0d708={'tTsIF':function(_0x27d6b3,_0x42bb9d){return _0x27d6b3!==_0x42bb9d;},'vnBel':'没有可快速登录的QQ号','HTvWz':function(_0x2f89b8,_0x5500ae){return _0x2f89b8(_0x5500ae);},'LbXqc':function(_0x1e2d6b,_0x2f88ec){return _0x1e2d6b+_0x2f88ec;},'axnvI':_0xc30ea7(0x25d)},_0x1e7f69=await this['loginService']['getLoginList']();if(_0xd0d708[_0xc30ea7(0x215)](_0x1e7f69[_0xc30ea7(0x266)],0x0))throw new Error(_0xd0d708[_0xc30ea7(0x26c)]);const _0x4732ba=_0x1e7f69[_0xc30ea7(0x1f8)][_0xc30ea7(0x1fb)](_0x2cc5c4=>_0x2cc5c4[_0xc30ea7(0x23d)]===_0x5cec92);if(!_0x4732ba||!_0x4732ba?.['isQuickLogin'])throw new Error(_0x5cec92+'快速登录不可用');await _0xd0d708['HTvWz'](sleep,0x3e8);const _0x139b5a=await this[_0xc30ea7(0x250)]['quickLoginWithUin'](_0x5cec92);if(!_0x139b5a[_0xc30ea7(0x266)])throw new Error(_0xd0d708[_0xc30ea7(0x283)](_0xd0d708[_0xc30ea7(0x265)],_0x139b5a[_0xc30ea7(0x23e)][_0xc30ea7(0x212)]));return _0x139b5a;}async[_0x172af7(0x29c)](_0x30aa81){const _0xf9fcb1=_0x172af7,_0x5c574a={'EIUUo':_0xf9fcb1(0x263),'RRznz':function(_0x59c6df,_0x54407a,_0x30f726,_0x275d99){return _0x59c6df(_0x54407a,_0x30f726,_0x275d99);}};return new Promise((_0x523d30,_0x111a39)=>{const _0xcccd5=_0xf9fcb1;this[_0xcccd5(0x274)][_0xcccd5(0x258)]=_0x5e6bb6=>{const _0x525124=_0xcccd5,_0x276c7f=_0x5e6bb6[_0x525124(0x299)][_0x525124(0x24d)](_0x5c574a[_0x525124(0x288)])[0x1],_0x99e362=Buffer[_0x525124(0x21e)](_0x276c7f,_0x525124(0x281));_0x5c574a['RRznz'](_0x30aa81,_0x5e6bb6[_0x525124(0x277)],_0x5e6bb6['pngBase64QrcodeData'],_0x99e362);},this['loginService'][_0xcccd5(0x242)]();});}async['passwordLogin'](_0x106fdf,_0x2e8bb8,_0x314b47,_0x30aecc,_0x2f6fd9){const _0x1ed05b=_0x172af7,_0x269a11={'BvgQQ':'hex','xpFfJ':function(_0x185670,_0x4e0bb4){return _0x185670||_0x4e0bb4;},'voTtk':function(_0x2c559e,_0x11fb8f){return _0x2c559e||_0x11fb8f;},'YqiYl':function(_0x10db8e,_0x258804){return _0x10db8e||_0x258804;},'mrBrp':function(_0x336602,_0x1d64e8){return _0x336602(_0x1d64e8);},'cXZdU':_0x1ed05b(0x1f5)},_0x5384d1=_0x396ab4[_0x1ed05b(0x293)](_0x1ed05b(0x251))[_0x1ed05b(0x20b)](_0x2e8bb8)[_0x1ed05b(0x26d)](_0x269a11[_0x1ed05b(0x20f)]),_0x548be2={'uin':_0x106fdf,'passwordMd5':_0x5384d1,'step':_0x314b47&&_0x30aecc&&_0x2f6fd9?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x269a11[_0x1ed05b(0x26e)](_0x314b47,''),'proofWaterRand':_0x269a11[_0x1ed05b(0x2a0)](_0x30aecc,''),'proofWaterSid':_0x269a11[_0x1ed05b(0x201)](_0x2f6fd9,'')};await this[_0x1ed05b(0x250)][_0x1ed05b(0x246)](),await _0x269a11[_0x1ed05b(0x234)](sleep,0x3e8);const _0x5e5121=await this[_0x1ed05b(0x250)]['passwordLogin'](_0x548be2);switch(_0x5e5121[_0x1ed05b(0x266)]){case'0':{break;}case _0x1ed05b(0x233):{break;}case'4':case _0x269a11[_0x1ed05b(0x249)]:default:}}async[_0x172af7(0x268)](){const _0x50b8ef=_0x172af7,_0x4988ba=await this['loginService'][_0x50b8ef(0x246)]();return _0x4988ba;}}function _0x5f25(_0x4ef522,_0x2c3dd5){const _0x1b06ef=_0x1b06();return _0x5f25=function(_0x5f2577,_0x453f97){_0x5f2577=_0x5f2577-0x1f1;let _0x40cb57=_0x1b06ef[_0x5f2577];return _0x40cb57;},_0x5f25(_0x4ef522,_0x2c3dd5);}function _0x1b06(){const _0x13d60f=['from','yEbMk','proxyHandler','_GW_B','NodeIKernelLoginService','quickLogin','NodeIQQNTWrapperSession','cKCGm','onSessionInitComplete','dataPathGlobal','onLoginSuccess','fileLogLevel','getGroupService','BVLfb','NodeIDispatcherAdapter','1164RVFWLk','GXDEc','./NapCat/data','NodeIKernelLoginListener','onLineDev','session','140022008','mrBrp','then','7vXiUUo','isDelete','wPVAM','onMemberInfoChange','gkcQg','get','账号设备(','uin','loginErrorInfo','2vwDRxq','leYpX','getProfileService','getQRCodePicture','10vKwPAS','onBuddyListChange','NodeIDependsAdapter','getLoginList','length','util','cXZdU','onQRCodeSessionFailed','./nt_qq/global','V1_WIN_NQ_','split','init\x20failed\x20','kBbjO','loginService','md5','replace','sceneId','fileLog','IbZCj','10084WjrSVR','map','onQRCodeGetPicture','name','constructor','addKernelMsgListener','curVersion','快速登录失败\x20','read','ZATAX','onQRCodeLoginSucceed','Lxpcq','NodeQQNTWrapperUtil','data:image/png;base64,','packet_received','axnvI','result','dHtHO','getQuickLoginList','onRecvSysMsg','NodeIGlobalAdapter','NodeIKernelGroupListener','vnBel','digest','xpFfJ','message_received','getBuddyService','BkxhY','infos','fKHjb','loginListener','packet_sent','tipsDesc','qrcodeUrl','nLWWf','stringify','createMemberListScene','本账号数据/缓存目录:',')\x20在线状态变更','启动失败:\x20','NodeIQQNTWrapperEngine','tipsTitle','[KickedOffLine]\x20[','base64','mkdirSync','LbXqc','7343397VYvBrg','Windows\x2010\x20Pro','dataPath','initSession\x20failed','EIUUo','96010dbrAfi',')已登录,无法重复登录','uid','MsgListener','105nvrpoC','resolve','assign','initSession','NodeIKernelBuddyListener','AkpBm','createHash','engine','addKernelGroupListener','BSxEg','onMemberListChange','881064mlnuXl','pngBase64QrcodeData','initDataListener','sxlFH','qrLogin','addKernelProfileListener','tHolG','getNTUserDataInfoConfig','voTtk','dJIet','AhLix','-v2.db','addKernelBuddyListener','xUhCq','push','140022013','has','initConfig','LocalLoginInfoList','addKernelLoginListener','52855mIaLjV','find','groupCode','memberCount','916224YpYBQW','cbcGt','QxdqG','YqiYl','forEach','init','addListener','IprGp','set','catch','startNT','NodeIKernelMsgListener','登录失败','update','consoleLogLevel','onProfileDetailInfoChanged','YMdVD','BvgQQ','getMsgService','onGroupListUpdate','errMsg','cWlfW','5000124bIwaxL','tTsIF','delete','now','eFjRV','GroupListener','\x20has\x20no\x20method\x20','NSUoF','onLoginSuccessFuncList','fbkyl'];_0x1b06=function(){return _0x13d60f;};return _0x1b06();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x471e28=_0x2430;(function(_0x1a26c9,_0x1d0c58){const _0x1c8bd4=_0x2430,_0x4ef290=_0x1a26c9();while(!![]){try{const _0x4026c5=parseInt(_0x1c8bd4(0x7c))/0x1*(-parseInt(_0x1c8bd4(0x81))/0x2)+-parseInt(_0x1c8bd4(0x105))/0x3+parseInt(_0x1c8bd4(0xfa))/0x4+parseInt(_0x1c8bd4(0xc2))/0x5*(-parseInt(_0x1c8bd4(0x122))/0x6)+-parseInt(_0x1c8bd4(0xde))/0x7*(parseInt(_0x1c8bd4(0xba))/0x8)+-parseInt(_0x1c8bd4(0x8b))/0x9+-parseInt(_0x1c8bd4(0xff))/0xa*(-parseInt(_0x1c8bd4(0xb5))/0xb);if(_0x4026c5===_0x1d0c58)break;else _0x4ef290['push'](_0x4ef290['shift']());}catch(_0x2bf51c){_0x4ef290['push'](_0x4ef290['shift']());}}}(_0x3cec,0x9bade));import _0x533866 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x396cbf from'node:path';import _0x686818 from'node:os';import _0xfc8fe7 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x269bcf from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';function _0x3cec(){const _0x50ddb8=['find','IAVoI','loginListener','passwordLogin','isQuickLogin','FcuYV','7810IcenhJ','curVersion','NodeIGlobalAdapter','xryLV','initSession','19288teQZOc','hsSCS','loginService','LQUui','getNTUserDataInfoConfig','LCNKj','loginErrorInfo','session','15ybCxXf','NodeIKernelProfileListener','isDelete','result','tipsDesc','homedir','SvHmW','consoleLog','OKPVb','addKernelMsgListener','quickLogin','[KickedOffLine]\x20[','wUrlb','bpRmF','groupCode','NodeQQNTWrapperUtil','get','onAddSendMsg','resolve','NodeIKernelGroupListener','hlEgq','memberCount','push','onMemberInfoChange','buddyList','set','digest','pPLxa','630xKDHmW','./.config/QQ','read','EsFLs','addKernelBuddyListener','undefined','yASDR','from','tipsTitle','NodeIKernelLoginListener','onQRCodeGetPicture','./NapCat/data','initSession\x20failed','replace','KUbdB','addKernelGroupListener','zSnAb','getGroupService','BnUda','onRecvSysMsg','devUid','qrLogin','\x20has\x20no\x20method\x20','uin','dataPathGlobal','JBBQG','XzoJg','util','4612696ZXVxpM','qzWmg','uWmVf','onQRCodeSessionFailed','errMsg','53470FotHtN',')\x20在线状态变更','vgzYe','数据库初始化失败','createMemberListScene','onGroupListUpdate','3690006MozdkQ','addListener','base64','onLoginFailed','dataPath','mkdirSync','then','./nt_qq/global','quickLoginWithUin','onLineDev','euUXK','onBuddyListChange','LhoOD','catch','V1_WIN_NQ_','message_received','consoleLogLevel','stringify','ProfileListener','jwjLp','mslEg','infos','constructor','fcNKU','pGXEL','fileLog','本账号数据/缓存目录:','clientType','DNFEw','1859754YuwLpq','forEach','initWithDeskTopConfig','NodeIKernelBuddyListener','getBuddyService','init\x20failed\x20','split','sceneId','now','init','RMJSK','initDataListener','onMemberListChange','JCjSO','yeRbc','addKernelLoginListener','map','groupMemberList_MainWindow','hbtie','1257974oxRsoA','DSfnb','hBelH','startNT','JyeSQ','2MTVwkR','md5','BuddyListener','UCYlN','has','initConfig','uqChA','aGTEj','LocalLoginInfoList','hex','6093351EzpKQe','Sfqfq','trVxs','uid','qrcodeUrl','140022013','TjOjO','-v2.db','update','sJDbs','NodeIDispatcherAdapter','mJapT','proxyHandler','onSessionInitComplete','getLoginList','packet_sent','NodeIQQNTWrapperEngine','pngBase64QrcodeData','_GW_B','启动失败:\x20','GroupListener','addKernelProfileListener','message_sent','onLoginSuccessFuncList','packet_received','onProfileDetailInfoChanged','没有可快速登录的QQ号','aJXYh','engine','tqqGP','XEcTV','EiGul','name','last_message_time','assign','getQRCodePicture'];_0x3cec=function(){return _0x50ddb8;};return _0x3cec();}import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x2430(_0x558fbc,_0x15d386){const _0x3cec54=_0x3cec();return _0x2430=function(_0x24308e,_0x5bbfaf){_0x24308e=_0x24308e-0x73;let _0x28c21c=_0x3cec54[_0x24308e];return _0x28c21c;},_0x2430(_0x558fbc,_0x15d386);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x471e28(0xc1)];[_0x471e28(0xf9)];[_0x471e28(0xa7)];[_0x471e28(0xb1)];[_0x471e28(0xbc)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x4e0b6e=_0x471e28,GLHRNt={'aGTEj':function(callee,param1){return callee(param1);},'pPLxa':function(x,y){return x===y;}};if(GLHRNt[_0x4e0b6e(0xdd)](typeof target[prop],_0x4e0b6e(0xe3)))return(...args)=>{const _0x1748d5=_0x4e0b6e;GLHRNt[_0x1748d5(0x88)](logDebug,target[_0x1748d5(0x11b)][_0x1748d5(0xab)]+_0x1748d5(0xf4)+prop);};return Reflect[_0x4e0b6e(0xd2)](target,prop,receiver);}};constructor(){const _0x2e366c=_0x471e28,_0x462d58={'DSfnb':function(_0x4e22ed,_0x3d106e){return _0x4e22ed(_0x3d106e);},'KUbdB':function(_0x3ef272,_0x5c95a0){return _0x3ef272+_0x5c95a0;},'UCYlN':function(_0x526663,_0x50b69d){return _0x526663+_0x50b69d;},'EiGul':'当前账号(','Skupp':')已登录,无法重复登录','JCjSO':function(_0x59290a,_0x5282a0,_0x4a68b7){return _0x59290a(_0x5282a0,_0x4a68b7);},'mslEg':_0x2e366c(0x102),'BnUda':_0x2e366c(0xe9),'FcuYV':function(_0x3fd874,_0x2a0714,_0x26c559){return _0x3fd874(_0x2a0714,_0x26c559);},'DNFEw':'登录失败','jujxY':function(_0x44ff0d,_0x20de4c){return _0x44ff0d==_0x20de4c;}};this[_0x2e366c(0xa7)]=new _0x533866[(_0x2e366c(0x9b))](),this[_0x2e366c(0xf9)]=new _0x533866[(_0x2e366c(0xd1))](),this[_0x2e366c(0xbc)]=new _0x533866['NodeIKernelLoginService'](),this[_0x2e366c(0xc1)]=new _0x533866['NodeIQQNTWrapperSession'](),this[_0x2e366c(0xb1)]=new LoginListener(),this[_0x2e366c(0xb1)]['onUserLoggedIn']=_0x291793=>{const _0x35633a=_0x2e366c;_0x462d58['DSfnb'](logError,_0x462d58[_0x35633a(0xec)](_0x462d58[_0x35633a(0x84)](_0x462d58[_0x35633a(0xaa)],_0x291793),_0x462d58['Skupp']));},this[_0x2e366c(0xb1)]['onQRCodeLoginSucceed']=_0x39e886=>{const _0x203631=_0x2e366c,_0x5ef03b={'EsFLs':function(_0x37af99,_0x2a5658,_0x25a000){const _0x53dd76=_0x2430;return _0x462d58[_0x53dd76(0x76)](_0x37af99,_0x2a5658,_0x25a000);},'bpRmF':_0x462d58[_0x203631(0x119)],'xryLV':function(_0x4bb2c4,_0x3fb4a5,_0x3902bb){const _0x2515c5=_0x203631;return _0x462d58[_0x2515c5(0x76)](_0x4bb2c4,_0x3fb4a5,_0x3902bb);},'LhoOD':function(_0x233a52,_0x5e679f){const _0x5ac3e8=_0x203631;return _0x462d58[_0x5ac3e8(0x7d)](_0x233a52,_0x5e679f);},'hsSCS':_0x462d58[_0x203631(0xf0)]};this['initSession'](_0x39e886[_0x203631(0xf5)],_0x39e886[_0x203631(0x8e)])[_0x203631(0x10b)](_0x502dc0=>{const _0x518a13=_0x203631,_0x3d982e={'hbtie':_0x5ef03b[_0x518a13(0xcf)]};selfInfo['uin']=_0x39e886[_0x518a13(0xf5)],selfInfo[_0x518a13(0x8e)]=_0x39e886[_0x518a13(0x8e)],napCatConfig[_0x518a13(0xe0)](),_0x5ef03b[_0x518a13(0xb8)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x518a13(0x115)]),enableFileLog(napCatConfig[_0x518a13(0x11e)]),_0x5ef03b[_0x518a13(0x111)](enableConsoleLog,napCatConfig[_0x518a13(0xc9)]),_0x5ef03b[_0x518a13(0x111)](setLogSelfInfo,selfInfo);const _0x140a78=_0x396cbf[_0x518a13(0xd4)](this[_0x518a13(0x109)],_0x5ef03b[_0x518a13(0xbb)]);_0xfc8fe7['mkdirSync'](_0x140a78,{'recursive':!![]}),_0x5ef03b[_0x518a13(0xe1)](logDebug,_0x518a13(0x11f),_0x140a78),dbUtil[_0x518a13(0x12b)](_0x396cbf[_0x518a13(0xd4)](_0x140a78,'./'+_0x39e886[_0x518a13(0xf5)]+_0x518a13(0x92)))['then'](()=>{const _0x144b48=_0x518a13,_0x1042d3={'tqqGP':function(_0x360c83,_0x5999b6,_0x19e40b){const _0x4176c5=_0x2430;return _0x5ef03b[_0x4176c5(0xe1)](_0x360c83,_0x5999b6,_0x19e40b);},'sJDbs':function(_0x302839,_0x47f8a0){return _0x302839 instanceof _0x47f8a0;}};this[_0x144b48(0x74)](),this[_0x144b48(0xa2)][_0x144b48(0x79)](_0x8fde9f=>{const _0xffac48=_0x144b48;new Promise((_0x3d15ab,_0x47b257)=>{const _0x40ab30=_0x2430,_0x9105ef=_0x1042d3[_0x40ab30(0xa8)](_0x8fde9f,_0x39e886[_0x40ab30(0xf5)],_0x39e886[_0x40ab30(0x8e)]);_0x1042d3[_0x40ab30(0x94)](_0x9105ef,Promise)&&_0x9105ef[_0x40ab30(0x10b)](_0x3d15ab)[_0x40ab30(0x112)](_0x47b257);})[_0xffac48(0x10b)]();});})[_0x518a13(0x112)](_0x59aec5=>{const _0x495845=_0x518a13;logError(_0x3d982e[_0x495845(0x7b)],_0x59aec5);});})[_0x203631(0x112)](_0xf1bb16=>{const _0x349ac8=_0x203631;logError(_0x349ac8(0xea),_0xf1bb16);throw new Error(_0x349ac8(0x9e)+JSON[_0x349ac8(0x116)](_0xf1bb16));});},this[_0x2e366c(0xb1)][_0x2e366c(0xfd)]=(_0x265d02,_0x3380fc,_0x1545c5)=>{const _0x28c948=_0x2e366c;_0x462d58[_0x28c948(0xb4)](logError,_0x462d58[_0x28c948(0x121)],_0x1545c5),_0x462d58['jujxY'](_0x265d02,0x1)&&_0x3380fc==0x3&&this[_0x28c948(0xbc)]['getQRCodePicture']();},this[_0x2e366c(0xb1)][_0x2e366c(0x108)]=_0x51f202=>{const _0xc4ef03=_0x2e366c;_0x462d58['FcuYV'](logError,_0x462d58[_0xc4ef03(0x121)],_0x51f202);},this[_0x2e366c(0xb1)]=new Proxy(this['loginListener'],this['proxyHandler']),this[_0x2e366c(0xbc)][_0x2e366c(0x78)](new _0x533866[(_0x2e366c(0xe7))](this[_0x2e366c(0xb1)])),this[_0x2e366c(0x86)]();}get[_0x471e28(0x109)](){const _0x275ec6=_0x471e28,_0x9bc302={'GByvt':_0x275ec6(0xdf)};let _0x579aa1=this['util'][_0x275ec6(0xbe)]();return!_0x579aa1&&(_0x579aa1=_0x396cbf[_0x275ec6(0xd4)](_0x686818[_0x275ec6(0xc7)](),_0x9bc302['GByvt']),_0xfc8fe7[_0x275ec6(0x10a)](_0x579aa1,{'recursive':!![]})),_0x579aa1;}get['dataPathGlobal'](){const _0x23c9d7=_0x471e28,_0x4d2637={'JBBQG':_0x23c9d7(0x10c)};return _0x396cbf['resolve'](this[_0x23c9d7(0x109)],_0x4d2637[_0x23c9d7(0xf7)]);}[_0x471e28(0x86)](){const _0x3633d3=_0x471e28,_0xa720dc={'aJXYh':'Windows\x2010\x20Pro'};this[_0x3633d3(0xa7)][_0x3633d3(0x124)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0xa720dc[_0x3633d3(0xa6)],'use_xlog':!![],'qua':_0x3633d3(0x113)+qqVersionConfigInfo[_0x3633d3(0xb6)][_0x3633d3(0xeb)]('-','_')+_0x3633d3(0x9d),'global_path_config':{'desktopGlobalPath':this[_0x3633d3(0xf6)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x533866[(_0x3633d3(0xb7))](new GlobalAdapter())),this[_0x3633d3(0xbc)][_0x3633d3(0x86)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x3633d3(0xf6)],'clientVer':qqVersionConfigInfo[_0x3633d3(0xb6)],'hostName':hostname});}[_0x471e28(0xb9)](_0x24f796,_0x20cee7){const _0x247138=_0x471e28,_0x5ba8c4={'zSnAb':function(_0xfddb13,_0x452ccb){return _0xfddb13===_0x452ccb;},'vMqLS':function(_0x3f6517,_0x11759e){return _0x3f6517(_0x11759e);},'TjOjO':function(_0xaed9c4,_0x182732,_0x529d81,_0x59a047){return _0xaed9c4(_0x182732,_0x529d81,_0x59a047);},'jwjLp':function(_0x56bb36,_0x2154b7){return _0x56bb36(_0x2154b7);},'jRxUD':_0x247138(0x127)};return new Promise(async(_0x33fc89,_0x5d7f45)=>{const _0x1090be=_0x247138,_0x3964ea=await _0x5ba8c4[_0x1090be(0x91)](genSessionConfig,_0x24f796,_0x20cee7,this[_0x1090be(0x109)]),_0xa38a71=new SessionListener();_0xa38a71[_0x1090be(0x98)]=_0x98b33f=>{const _0x45566b=_0x1090be;if(_0x5ba8c4[_0x45566b(0xee)](_0x98b33f,0x0))return _0x33fc89(0x0);_0x5ba8c4['vMqLS'](_0x5d7f45,_0x98b33f);},this['session']['init'](_0x3964ea,new _0x533866['NodeIDependsAdapter'](new DependsAdapter()),new _0x533866[(_0x1090be(0x95))](new DispatcherAdapter()),new _0x533866['NodeIKernelSessionListener'](_0xa38a71));try{this[_0x1090be(0xc1)][_0x1090be(0x7f)](0x0);}catch(_0x9a95e5){try{this[_0x1090be(0xc1)][_0x1090be(0x7f)]();}catch(_0x462c1f){_0x5ba8c4[_0x1090be(0x118)](_0x5d7f45,_0x5ba8c4['jRxUD']+_0x462c1f);}}});}['initDataListener'](){const _0x50e5bb=_0x471e28,_0x12314={'XEcTV':function(_0x17348b,_0x39c0c2){return _0x17348b===_0x39c0c2;},'RMJSK':function(_0x12861f,_0x3b976d){return _0x12861f(_0x3b976d);},'hlEgq':function(_0x2c3c88,_0x23d2d5){return _0x2c3c88+_0x23d2d5;},'IAVoI':_0x50e5bb(0x100),'wUrlb':function(_0x550fa5,_0x4838b7){return _0x550fa5(_0x4838b7);},'LQUui':function(_0x182a7f,_0xee9592){return _0x182a7f+_0xee9592;},'QfENd':_0x50e5bb(0xcd),'hKJbB':function(_0x466fdf,_0xd7689){return _0x466fdf/_0xd7689;},'uWmVf':function(_0x34960d,_0x58d190){return _0x34960d===_0x58d190;},'hBelH':function(_0x182d39,_0x21eebf){return _0x182d39===_0x21eebf;},'OKPVb':_0x50e5bb(0x7a),'JmImQ':function(_0x3d21ef,_0x2b155d,_0x8e10e6){return _0x3d21ef(_0x2b155d,_0x8e10e6);}},_0x3f1f13=new MsgListener();_0x3f1f13[_0x50e5bb(0x10e)]=_0x33c676=>{const _0x8a9c0d=_0x50e5bb,_0x82237f={'JyeSQ':function(_0x4a2b2c,_0x10e455){const _0x440925=_0x2430;return _0x12314[_0x440925(0xa9)](_0x4a2b2c,_0x10e455);},'BKmSd':function(_0x4a543a,_0x518d2f){const _0x3177d1=_0x2430;return _0x12314[_0x3177d1(0x73)](_0x4a543a,_0x518d2f);},'Sfqfq':function(_0x282ebc,_0x96fbf7){return _0x12314['hlEgq'](_0x282ebc,_0x96fbf7);},'gCmwj':'账号设备(','fcNKU':_0x12314[_0x8a9c0d(0xb0)]};_0x33c676[_0x8a9c0d(0x79)](_0x147ceb=>{const _0x47395b=_0x8a9c0d;_0x82237f[_0x47395b(0x80)](_0x147ceb[_0x47395b(0x120)],0x2)&&_0x82237f['BKmSd'](log,_0x82237f[_0x47395b(0x8c)](_0x82237f[_0x47395b(0x8c)](_0x82237f['gCmwj'],_0x147ceb[_0x47395b(0xf2)]),_0x82237f[_0x47395b(0x11c)]));});},_0x3f1f13['onKickedOffLine']=_0x55e50a=>{const _0x1873a8=_0x50e5bb;_0x12314[_0x1873a8(0xce)](log,_0x12314[_0x1873a8(0xd6)](_0x12314[_0x1873a8(0xbd)](_0x12314[_0x1873a8(0xd6)](_0x12314['QfENd'],_0x55e50a[_0x1873a8(0xe6)]),']\x20'),_0x55e50a[_0x1873a8(0xc6)]));},_0x3f1f13[_0x50e5bb(0xd3)]=_0x1511a=>{const _0x329799=_0x50e5bb;stat[_0x329799(0x9a)]+=0x1,stat[_0x329799(0xa1)]+=0x1,stat[_0x329799(0xac)]=Math['floor'](_0x12314['hKJbB'](Date[_0x329799(0x12a)](),0x3e8));},_0x3f1f13['onRecvMsg']=_0x3d3aa9=>{const _0x2b8d30=_0x50e5bb;stat[_0x2b8d30(0xa3)]+=0x1,stat[_0x2b8d30(0x114)]+=_0x3d3aa9['length'],stat['last_message_time']=Math['floor'](Date[_0x2b8d30(0x12a)]()/0x3e8);},_0x3f1f13[_0x50e5bb(0xf1)]=(..._0x51f56a)=>{const _0x8c62f0=_0x50e5bb;stat[_0x8c62f0(0xa3)]+=0x1;},this[_0x50e5bb(0x106)](_0x3f1f13);const _0x4acf4f=new BuddyListener();_0x4acf4f[_0x50e5bb(0x110)]=_0x4269da=>{const _0x2d9964=_0x50e5bb;rawFriends['length']=0x0,rawFriends[_0x2d9964(0xd8)](..._0x4269da);for(const _0x35e6b5 of _0x4269da){for(const _0x4fc6f1 of _0x35e6b5[_0x2d9964(0xda)]){const _0x42eb31=friends[_0x2d9964(0xd2)](_0x4fc6f1[_0x2d9964(0x8e)]);_0x42eb31?Object['assign'](_0x42eb31,_0x4fc6f1):friends[_0x2d9964(0xdb)](_0x4fc6f1[_0x2d9964(0x8e)],_0x4fc6f1);}}},this[_0x50e5bb(0x106)](_0x4acf4f),this[_0x50e5bb(0xc1)][_0x50e5bb(0x126)]()['getBuddyList'](!![])[_0x50e5bb(0x10b)](_0x8b22ac=>{});const _0x2614fb=new ProfileListener();_0x2614fb[_0x50e5bb(0xa4)]=_0x3c3da9=>{const _0x526a08=_0x50e5bb;_0x12314[_0x526a08(0xfc)](_0x3c3da9[_0x526a08(0x8e)],selfInfo[_0x526a08(0x8e)])&&Object['assign'](selfInfo,_0x3c3da9);},_0x2614fb['onSelfStatusChanged']=_0x4195b7=>{},this[_0x50e5bb(0x106)](_0x2614fb);const _0x46d09f=new GroupListener();_0x46d09f[_0x50e5bb(0x104)]=(_0x505421,_0x138cfd)=>{_0x138cfd['map'](_0x21b102=>{const _0x10e9af=_0x2430,_0x23028b=groups[_0x10e9af(0xd2)](_0x21b102['groupCode']);_0x23028b&&_0x12314[_0x10e9af(0x7e)](_0x21b102[_0x10e9af(0xd7)],_0x23028b[_0x10e9af(0xd7)])?Object[_0x10e9af(0xad)](_0x23028b,_0x21b102):groups[_0x10e9af(0xdb)](_0x21b102[_0x10e9af(0xd0)],_0x21b102);const _0x4e3ba9=this[_0x10e9af(0xc1)][_0x10e9af(0xef)]()[_0x10e9af(0x103)](_0x21b102['groupCode'],_0x12314[_0x10e9af(0xca)]);this[_0x10e9af(0xc1)][_0x10e9af(0xef)]()['getNextMemberList'](_0x4e3ba9,undefined,0xbb8)[_0x10e9af(0x10b)](_0x2f4941=>{});});},_0x46d09f[_0x50e5bb(0x75)]=_0x4fa70b=>{const _0x54bb49=_0x50e5bb,_0x1639da=_0x4fa70b[_0x54bb49(0x129)]['split']('_')[0x0];if(groupMembers[_0x54bb49(0x85)](_0x1639da)){const _0x27bbaf=groupMembers[_0x54bb49(0xd2)](_0x1639da);_0x4fa70b[_0x54bb49(0x11a)][_0x54bb49(0x123)]((_0x47f080,_0x35f14e)=>{const _0x5cb588=_0x54bb49,_0x480405=_0x27bbaf[_0x5cb588(0xd2)](_0x35f14e);_0x480405?Object[_0x5cb588(0xad)](_0x480405,_0x47f080):_0x27bbaf[_0x5cb588(0xdb)](_0x35f14e,_0x47f080);});}else groupMembers['set'](_0x1639da,_0x4fa70b['infos']);},_0x46d09f[_0x50e5bb(0xd9)]=(_0x2cb44d,_0x103287,_0x553a19)=>{const _0x49a9b2=_0x50e5bb;_0x12314[_0x49a9b2(0x7e)](_0x103287,0x0)&&_0x553a19['get'](selfInfo['uid'])&&_0x553a19[_0x49a9b2(0xd2)](selfInfo[_0x49a9b2(0x8e)])?.[_0x49a9b2(0xc4)]&&_0x12314['JmImQ'](setTimeout,()=>{groups['delete'](_0x2cb44d);},0x1388);const _0x35538e=groupMembers[_0x49a9b2(0xd2)](_0x2cb44d);_0x35538e?_0x553a19['forEach']((_0x5ce629,_0x3020e9)=>{const _0x292bdf=_0x49a9b2,_0x164bdf=_0x35538e[_0x292bdf(0xd2)](_0x3020e9);_0x164bdf?Object[_0x292bdf(0xad)](_0x164bdf,_0x5ce629):_0x35538e[_0x292bdf(0xdb)](_0x3020e9,_0x5ce629);}):groupMembers['set'](_0x2cb44d,_0x553a19);},this[_0x50e5bb(0x106)](_0x46d09f);}[_0x471e28(0x106)](_0x269a8c){const _0x3c94af=_0x471e28,_0x38d0c5={'mJapT':_0x3c94af(0x83),'trVxs':_0x3c94af(0x9f),'yeRbc':'MsgListener','bhRAI':_0x3c94af(0x117)};_0x269a8c=new Proxy(_0x269a8c,this[_0x3c94af(0x97)]);switch(_0x269a8c['constructor']['name']){case _0x38d0c5[_0x3c94af(0x96)]:{return this[_0x3c94af(0xc1)][_0x3c94af(0x126)]()[_0x3c94af(0xe2)](new _0x533866[(_0x3c94af(0x125))](_0x269a8c));}case _0x38d0c5[_0x3c94af(0x8d)]:{return this['session'][_0x3c94af(0xef)]()[_0x3c94af(0xed)](new _0x533866[(_0x3c94af(0xd5))](_0x269a8c));}case _0x38d0c5[_0x3c94af(0x77)]:{return this[_0x3c94af(0xc1)]['getMsgService']()[_0x3c94af(0xcb)](new _0x533866['NodeIKernelMsgListener'](_0x269a8c));}case _0x38d0c5['bhRAI']:{return this[_0x3c94af(0xc1)]['getProfileService']()[_0x3c94af(0xa0)](new _0x533866[(_0x3c94af(0xc3))](_0x269a8c));}default:return-0x1;}}['onLoginSuccess'](_0x2303f0){const _0x1cb2e6=_0x471e28;NTEventDispatch['init']({'ListenerMap':_0x533866,'WrapperSession':this[_0x1cb2e6(0xc1)]}),this[_0x1cb2e6(0xa2)][_0x1cb2e6(0xd8)](_0x2303f0);}async[_0x471e28(0xcc)](_0x3f2a0b){const _0x4954cc=_0x471e28,_0x2b9ed6={'yiiRO':_0x4954cc(0xa5),'yASDR':function(_0x39b059,_0x4b73ac){return _0x39b059+_0x4b73ac;}},_0x2866f9=await this[_0x4954cc(0xbc)]['getLoginList']();if(_0x2866f9[_0x4954cc(0xc5)]!==0x0)throw new Error(_0x2b9ed6['yiiRO']);const _0x45d758=_0x2866f9[_0x4954cc(0x89)][_0x4954cc(0xaf)](_0x21fa42=>_0x21fa42['uin']===_0x3f2a0b);if(!_0x45d758||!_0x45d758?.[_0x4954cc(0xb3)])throw new Error(_0x3f2a0b+'快速登录不可用');await sleep(0x3e8);const _0x59bb28=await this['loginService'][_0x4954cc(0x10d)](_0x3f2a0b);if(!_0x59bb28[_0x4954cc(0xc5)])throw new Error(_0x2b9ed6[_0x4954cc(0xe4)]('快速登录失败\x20',_0x59bb28[_0x4954cc(0xc0)][_0x4954cc(0xfe)]));return _0x59bb28;}async[_0x471e28(0xf3)](_0x2365ad){const _0x2c2fe2={'pGXEL':'data:image/png;base64,','euUXK':function(_0x190c27,_0x1b8048,_0x3b454f,_0xde7bbb){return _0x190c27(_0x1b8048,_0x3b454f,_0xde7bbb);}};return new Promise((_0x335d5d,_0x4e688d)=>{const _0x45071f=_0x2430,_0x1d7370={'vgzYe':_0x2c2fe2[_0x45071f(0x11d)],'uqChA':_0x45071f(0x107),'Emggp':function(_0x2e743c,_0x50d2fc,_0x2857ec,_0x23b36c){const _0x5ae81b=_0x45071f;return _0x2c2fe2[_0x5ae81b(0x10f)](_0x2e743c,_0x50d2fc,_0x2857ec,_0x23b36c);}};this[_0x45071f(0xb1)][_0x45071f(0xe8)]=_0xe2e048=>{const _0x3806e7=_0x45071f,_0xdb24fb=_0xe2e048[_0x3806e7(0x9c)][_0x3806e7(0x128)](_0x1d7370[_0x3806e7(0x101)])[0x1],_0x530031=Buffer[_0x3806e7(0xe5)](_0xdb24fb,_0x1d7370[_0x3806e7(0x87)]);_0x1d7370['Emggp'](_0x2365ad,_0xe2e048[_0x3806e7(0x8f)],_0xe2e048[_0x3806e7(0x9c)],_0x530031);},this[_0x45071f(0xbc)][_0x45071f(0xae)]();});}async[_0x471e28(0xb2)](_0x4bdb93,_0x23a731,_0x353522,_0x3bb14e,_0x392e5e){const _0x312ec7=_0x471e28,_0x5c88ef={'SyQbm':_0x312ec7(0x82),'XzoJg':_0x312ec7(0x8a),'govzY':function(_0x57dc6e,_0x2082fa){return _0x57dc6e&&_0x2082fa;},'qzWmg':function(_0x9ff8b6,_0x353b2b){return _0x9ff8b6||_0x353b2b;},'SvHmW':function(_0x1506aa,_0x3f2f93){return _0x1506aa(_0x3f2f93);},'ugcSj':'140022008','LCNKj':_0x312ec7(0x90)},_0x29efd2=_0x269bcf['createHash'](_0x5c88ef['SyQbm'])[_0x312ec7(0x93)](_0x23a731)[_0x312ec7(0xdc)](_0x5c88ef[_0x312ec7(0xf8)]),_0x15b290={'uin':_0x4bdb93,'passwordMd5':_0x29efd2,'step':_0x5c88ef['govzY'](_0x353522,_0x3bb14e)&&_0x392e5e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5c88ef[_0x312ec7(0xfb)](_0x353522,''),'proofWaterRand':_0x3bb14e||'','proofWaterSid':_0x5c88ef['qzWmg'](_0x392e5e,'')};await this['loginService']['getLoginList'](),await _0x5c88ef[_0x312ec7(0xc8)](sleep,0x3e8);const _0x48adee=await this['loginService'][_0x312ec7(0xb2)](_0x15b290);switch(_0x48adee[_0x312ec7(0xc5)]){case'0':{break;}case _0x5c88ef['ugcSj']:{break;}case'4':case _0x5c88ef[_0x312ec7(0xbf)]:default:}}async['getQuickLoginList'](){const _0x26528a=_0x471e28,_0x3c7ddb=await this[_0x26528a(0xbc)][_0x26528a(0x99)]();return _0x3c7ddb;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts index 50a256ca..76dd5789 100644 --- a/src/core.lib/src/data.d.ts +++ b/src/core.lib/src/data.d.ts @@ -1,4 +1,4 @@ -import { type Friend, type FriendRequest, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities'; +import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities'; import { WebApiGroupMember } from '@/core/apis'; export declare const Credentials: { Skey: string; @@ -18,7 +18,6 @@ export declare const groups: Map; export declare function deleteGroup(groupQQ: string): void; export declare const groupMembers: Map>; export declare const friends: Map; -export declare const friendRequests: Record; export declare const groupNotifies: Record; export declare function getFriend(uinOrUid: string): Promise; export declare function getGroup(qq: string | number): Promise; diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 4a1970b4..c59be67b 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x384e96,_0x39280c){const _0x4e05fa=_0x12bd,_0x12026e=_0x384e96();while(!![]){try{const _0x5d097f=-parseInt(_0x4e05fa(0x83))/0x1*(-parseInt(_0x4e05fa(0x7b))/0x2)+parseInt(_0x4e05fa(0x8d))/0x3+parseInt(_0x4e05fa(0x7a))/0x4*(parseInt(_0x4e05fa(0x8f))/0x5)+parseInt(_0x4e05fa(0x82))/0x6*(-parseInt(_0x4e05fa(0x7e))/0x7)+-parseInt(_0x4e05fa(0x7f))/0x8+-parseInt(_0x4e05fa(0x84))/0x9+parseInt(_0x4e05fa(0x81))/0xa*(-parseInt(_0x4e05fa(0x89))/0xb);if(_0x5d097f===_0x39280c)break;else _0x12026e['push'](_0x12026e['shift']());}catch(_0x5873a6){_0x12026e['push'](_0x12026e['shift']());}}}(_0x72c8,0x41ce7));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x12bd(_0x17f07c,_0x351357){const _0x72c88a=_0x72c8();return _0x12bd=function(_0x12bd0e,_0x1fc179){_0x12bd0e=_0x12bd0e-0x7a;let _0x2e9249=_0x72c88a[_0x12bd0e];return _0x2e9249;},_0x12bd(_0x17f07c,_0x351357);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x5eac4a){const _0x31e823=_0x12bd;groups[_0x31e823(0x8c)](_0x5eac4a),groupMembers[_0x31e823(0x8c)](_0x5eac4a);}export const groupMembers=new Map();export const friends=new Map();function _0x72c8(){const _0x438b93=['2074338FXFeIM','set','from','getGroupMembers','toString','5137cfeNkJ','find','uin','delete','1393701mSqfgZ','getGroups','631715cyjoHS','8qepnGJ','92278dZmUSa','yXnMc','values','133OFiWgr','660096tXhTEY','get','670ZJBGPH','90942wAfqXn','4ovztXd'];_0x72c8=function(){return _0x438b93;};return _0x72c8();}export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x30f6f8){const _0x557fa6=_0x12bd;_0x30f6f8=_0x30f6f8['toString']();if(isNumeric(_0x30f6f8)){const _0x5f2f18=Array['from'](friends['values']());return _0x5f2f18[_0x557fa6(0x8a)](_0x61b5a8=>_0x61b5a8[_0x557fa6(0x8b)]===_0x30f6f8);}else return friends[_0x557fa6(0x80)](_0x30f6f8);}export async function getGroup(_0x4798f9){const _0x1fc25f=_0x12bd;let _0x211e9e=groups[_0x1fc25f(0x80)](_0x4798f9[_0x1fc25f(0x88)]());if(!_0x211e9e)try{const _0x3839f1=await NTQQGroupApi[_0x1fc25f(0x8e)]();_0x3839f1['length']&&_0x3839f1['forEach'](_0x10e4c8=>{groups['set'](_0x10e4c8['groupCode'],_0x10e4c8);});}catch(_0x31376f){return undefined;}return _0x211e9e=groups[_0x1fc25f(0x80)](_0x4798f9['toString']()),_0x211e9e;}export async function getGroupMember(_0x1bcbbd,_0x4e3119){const _0x4378ed=_0x12bd,_0x1e9c68={'dieHg':function(_0x487afc,_0x68d63){return _0x487afc(_0x68d63);},'yXnMc':function(_0x5babf8){return _0x5babf8();}};_0x1bcbbd=_0x1bcbbd[_0x4378ed(0x88)](),_0x4e3119=_0x4e3119[_0x4378ed(0x88)]();let _0x2895a9=groupMembers[_0x4378ed(0x80)](_0x1bcbbd);if(!_0x2895a9)try{_0x2895a9=await NTQQGroupApi[_0x4378ed(0x87)](_0x1bcbbd),groupMembers[_0x4378ed(0x85)](_0x1bcbbd,_0x2895a9);}catch(_0x7d91c7){return null;}const _0x4865e2=()=>{const _0x1522e6=_0x4378ed;let _0x30412b=undefined;return _0x1e9c68['dieHg'](isNumeric,_0x4e3119)?_0x30412b=Array[_0x1522e6(0x86)](_0x2895a9[_0x1522e6(0x7d)]())[_0x1522e6(0x8a)](_0x3c1ef9=>_0x3c1ef9[_0x1522e6(0x8b)]===_0x4e3119):_0x30412b=_0x2895a9[_0x1522e6(0x80)](_0x4e3119),_0x30412b;};let _0x47ac1e=_0x1e9c68[_0x4378ed(0x7c)](_0x4865e2);return!_0x47ac1e&&(_0x2895a9=await NTQQGroupApi['getGroupMembers'](_0x1bcbbd),_0x47ac1e=_0x1e9c68[_0x4378ed(0x7c)](_0x4865e2)),_0x47ac1e;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x5c7768,_0x12617e){const _0xb3ead3=_0xdf80,_0x28bfb4=_0x5c7768();while(!![]){try{const _0x4ecd77=-parseInt(_0xb3ead3(0xb9))/0x1*(-parseInt(_0xb3ead3(0xad))/0x2)+parseInt(_0xb3ead3(0xb3))/0x3*(-parseInt(_0xb3ead3(0xa7))/0x4)+-parseInt(_0xb3ead3(0xbd))/0x5+parseInt(_0xb3ead3(0xb5))/0x6+-parseInt(_0xb3ead3(0xb6))/0x7+-parseInt(_0xb3ead3(0xa8))/0x8*(parseInt(_0xb3ead3(0xb0))/0x9)+parseInt(_0xb3ead3(0xbc))/0xa;if(_0x4ecd77===_0x12617e)break;else _0x28bfb4['push'](_0x28bfb4['shift']());}catch(_0x246b60){_0x28bfb4['push'](_0x28bfb4['shift']());}}}(_0x57ef,0x96b17));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};function _0xdf80(_0x45b835,_0x4c9d69){const _0x57ef71=_0x57ef();return _0xdf80=function(_0xdf8067,_0x4d275e){_0xdf8067=_0xdf8067-0xa7;let _0x17bae9=_0x57ef71[_0xdf8067];return _0x17bae9;},_0xdf80(_0x45b835,_0x4c9d69);}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x57ef(){const _0x5b161d=['getGroupMembers','465516kOHYNJ','set','values','157818hzAkoU','uin','3796824OTjjhm','4218389heeRkL','forEach','delete','486806LauJGg','length','ntbOt','14734100QvZxqR','4609360tVmHBP','32sjfGHG','80ozzdok','find','groupCode','NJJcD','get','4LAuJJH','toString'];_0x57ef=function(){return _0x5b161d;};return _0x57ef();}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x46c3d4){const _0x10034b=_0xdf80;groups[_0x10034b(0xb8)](_0x46c3d4),groupMembers[_0x10034b(0xb8)](_0x46c3d4);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getFriend(_0x57fc28){const _0x5724cc=_0xdf80,_0x356e7e={'szwpn':function(_0x48661e,_0x48b50e){return _0x48661e(_0x48b50e);}};_0x57fc28=_0x57fc28[_0x5724cc(0xae)]();if(_0x356e7e['szwpn'](isNumeric,_0x57fc28)){const _0x1edba1=Array['from'](friends['values']());return _0x1edba1[_0x5724cc(0xa9)](_0x5319c5=>_0x5319c5[_0x5724cc(0xb4)]===_0x57fc28);}else return friends[_0x5724cc(0xac)](_0x57fc28);}export async function getGroup(_0x43bd90){const _0x1e17ab=_0xdf80;let _0x59df67=groups[_0x1e17ab(0xac)](_0x43bd90['toString']());if(!_0x59df67)try{const _0x32ee25=await NTQQGroupApi['getGroups']();_0x32ee25[_0x1e17ab(0xba)]&&_0x32ee25[_0x1e17ab(0xb7)](_0x566578=>{const _0xb745bd=_0x1e17ab;groups[_0xb745bd(0xb1)](_0x566578[_0xb745bd(0xaa)],_0x566578);});}catch(_0x3cc621){return undefined;}return _0x59df67=groups[_0x1e17ab(0xac)](_0x43bd90[_0x1e17ab(0xae)]()),_0x59df67;}export async function getGroupMember(_0x2acd4f,_0x569df1){const _0x2eeda9=_0xdf80,_0x354c19={'ntbOt':function(_0x56296b,_0x2971b6){return _0x56296b(_0x2971b6);},'NJJcD':function(_0x42180d){return _0x42180d();}};_0x2acd4f=_0x2acd4f[_0x2eeda9(0xae)](),_0x569df1=_0x569df1['toString']();let _0x5c561c=groupMembers[_0x2eeda9(0xac)](_0x2acd4f);if(!_0x5c561c)try{_0x5c561c=await NTQQGroupApi['getGroupMembers'](_0x2acd4f),groupMembers['set'](_0x2acd4f,_0x5c561c);}catch(_0x5c0f8e){return null;}const _0x4f8ffc=()=>{const _0x55f271=_0x2eeda9;let _0x3ee857=undefined;return _0x354c19[_0x55f271(0xbb)](isNumeric,_0x569df1)?_0x3ee857=Array['from'](_0x5c561c[_0x55f271(0xb2)]())[_0x55f271(0xa9)](_0x5023db=>_0x5023db['uin']===_0x569df1):_0x3ee857=_0x5c561c[_0x55f271(0xac)](_0x569df1),_0x3ee857;};let _0x31339d=_0x4f8ffc();return!_0x31339d&&(_0x5c561c=await NTQQGroupApi[_0x2eeda9(0xaf)](_0x2acd4f),_0x31339d=_0x354c19[_0x2eeda9(0xab)](_0x4f8ffc)),_0x31339d;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 9a268489..da4153f7 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x434c73,_0x7f5445){var _0x12ca6e=_0x4a41,_0xee8607=_0x434c73();while(!![]){try{var _0xe98f43=-parseInt(_0x12ca6e(0x11b))/0x1+parseInt(_0x12ca6e(0x110))/0x2*(parseInt(_0x12ca6e(0x10b))/0x3)+parseInt(_0x12ca6e(0x108))/0x4*(-parseInt(_0x12ca6e(0x116))/0x5)+parseInt(_0x12ca6e(0x109))/0x6*(-parseInt(_0x12ca6e(0x113))/0x7)+parseInt(_0x12ca6e(0x10d))/0x8+-parseInt(_0x12ca6e(0x10e))/0x9*(-parseInt(_0x12ca6e(0x118))/0xa)+parseInt(_0x12ca6e(0x115))/0xb;if(_0xe98f43===_0x7f5445)break;else _0xee8607['push'](_0xee8607['shift']());}catch(_0x517e2d){_0xee8607['push'](_0xee8607['shift']());}}}(_0xe3f3,0xb61f7));function _0x4a41(_0x237421,_0xcaccfc){var _0xe3f345=_0xe3f3();return _0x4a41=function(_0x4a4187,_0xb37102){_0x4a4187=_0x4a4187-0x108;var _0x3ba17d=_0xe3f345[_0x4a4187];return _0x3ba17d;},_0x4a41(_0x237421,_0xcaccfc);};export var CacheFileType;(function(_0x18d59b){var _0x566759=_0x4a41,_0x27f386={'IAZSo':_0x566759(0x112),'MjVpw':_0x566759(0x10a),'IPxqY':_0x566759(0x11a),'jOfWn':_0x566759(0x10f),'MxjXH':_0x566759(0x114),'cHnCx':_0x566759(0x11c)},_0x3d24a2=_0x27f386[_0x566759(0x10c)]['split']('|'),_0x36f752=0x0;while(!![]){switch(_0x3d24a2[_0x36f752++]){case'0':_0x18d59b[_0x18d59b[_0x27f386['MjVpw']]=0x1]=_0x566759(0x10a);continue;case'1':_0x18d59b[_0x18d59b['AUDIO']=0x2]=_0x27f386[_0x566759(0x117)];continue;case'2':_0x18d59b[_0x18d59b['DOCUMENT']=0x3]=_0x27f386[_0x566759(0x111)];continue;case'3':_0x18d59b[_0x18d59b[_0x27f386[_0x566759(0x119)]]=0x4]='OTHER';continue;case'4':_0x18d59b[_0x18d59b[_0x566759(0x11c)]=0x0]=_0x27f386['cHnCx'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xe3f3(){var _0x743eed=['jOfWn','4|0|1|2|3','259JiJbtF','OTHER','2487452QAJmwP','85udfzah','IPxqY','10zRBCxk','MxjXH','AUDIO','1037922HmVolG','IMAGE','43492hwlAej','53814SOHTfP','VIDEO','3831yQZoEQ','IAZSo','9539648DdIMhw','6179598mlHqAV','DOCUMENT','306reLzvD'];_0xe3f3=function(){return _0x743eed;};return _0xe3f3();} \ No newline at end of file +(function(_0x1da9d2,_0x285933){var _0x5141e0=_0x193e,_0x4f6665=_0x1da9d2();while(!![]){try{var _0x105878=-parseInt(_0x5141e0(0xb4))/0x1+parseInt(_0x5141e0(0xbf))/0x2*(-parseInt(_0x5141e0(0xc3))/0x3)+-parseInt(_0x5141e0(0xbb))/0x4*(parseInt(_0x5141e0(0xb1))/0x5)+-parseInt(_0x5141e0(0xc0))/0x6*(-parseInt(_0x5141e0(0xbd))/0x7)+parseInt(_0x5141e0(0xc2))/0x8*(parseInt(_0x5141e0(0xb3))/0x9)+parseInt(_0x5141e0(0xb9))/0xa*(-parseInt(_0x5141e0(0xc5))/0xb)+parseInt(_0x5141e0(0xb8))/0xc*(parseInt(_0x5141e0(0xb5))/0xd);if(_0x105878===_0x285933)break;else _0x4f6665['push'](_0x4f6665['shift']());}catch(_0x30fe5a){_0x4f6665['push'](_0x4f6665['shift']());}}}(_0x4aad,0xcea41));function _0x193e(_0x36077c,_0x3f030e){var _0x4aad36=_0x4aad();return _0x193e=function(_0x193ef5,_0x1eafe9){_0x193ef5=_0x193ef5-0xb0;var _0x21082f=_0x4aad36[_0x193ef5];return _0x21082f;},_0x193e(_0x36077c,_0x3f030e);};export var CacheFileType;(function(_0x43cd4d){var _0x420250=_0x193e,_0x2e3ad3={'WrVCT':'IMAGE','LhiXh':_0x420250(0xc1),'gKoOh':_0x420250(0xb6),'uFZbe':_0x420250(0xb0),'XdmJW':_0x420250(0xc4)};_0x43cd4d[_0x43cd4d[_0x420250(0xb2)]=0x0]=_0x2e3ad3[_0x420250(0xb7)],_0x43cd4d[_0x43cd4d[_0x2e3ad3['LhiXh']]=0x1]=_0x2e3ad3[_0x420250(0xba)],_0x43cd4d[_0x43cd4d[_0x2e3ad3[_0x420250(0xbc)]]=0x2]=_0x2e3ad3[_0x420250(0xbc)],_0x43cd4d[_0x43cd4d[_0x2e3ad3['uFZbe']]=0x3]=_0x2e3ad3['uFZbe'],_0x43cd4d[_0x43cd4d[_0x2e3ad3[_0x420250(0xbe)]]=0x4]=_0x420250(0xc4);}(CacheFileType||(CacheFileType={})));function _0x4aad(){var _0x202598=['6290trGxrw','LhiXh','343156fCpeQH','gKoOh','5943833jzzLPY','XdmJW','14tCnrUT','6ziHvME','VIDEO','32dkUclu','236946wZebiQ','OTHER','24431WYtjwI','DOCUMENT','65RMGolk','IMAGE','1078407cYDmwe','1184801ElygHo','16327701KjttVM','AUDIO','WrVCT','36ONnUtS'];_0x4aad=function(){return _0x202598;};return _0x4aad();} \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 5d8a6f1e..237bf230 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x12358b=_0x410f;(function(_0x2d79c6,_0x3331d4){const _0x2630f3=_0x410f,_0x5e6c6c=_0x2d79c6();while(!![]){try{const _0x1bc293=-parseInt(_0x2630f3(0x1b4))/0x1*(parseInt(_0x2630f3(0x1da))/0x2)+parseInt(_0x2630f3(0x1be))/0x3*(-parseInt(_0x2630f3(0x1a5))/0x4)+parseInt(_0x2630f3(0x1a8))/0x5*(-parseInt(_0x2630f3(0x19c))/0x6)+-parseInt(_0x2630f3(0x1cf))/0x7+-parseInt(_0x2630f3(0x1d1))/0x8*(parseInt(_0x2630f3(0x1c3))/0x9)+-parseInt(_0x2630f3(0x198))/0xa+parseInt(_0x2630f3(0x1bf))/0xb;if(_0x1bc293===_0x3331d4)break;else _0x5e6c6c['push'](_0x5e6c6c['shift']());}catch(_0x51140b){_0x5e6c6c['push'](_0x5e6c6c['shift']());}}}(_0xaa82,0xce29b));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x9ec4d9}from'node:fs';import _0x36f529 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0xaa82(){const _0x1917f3=['pic','FILE','获取视频信息失败','WCAcO','uVZXq','getImageSize','ark','gHZPC','ssRPM','4131580JcVVyR','[骰子]','toString','UNTxP','18MQQiAp','writeFile','uploadFile','lwzAP','fmMpM','video','then','语音转换失败,\x20请检查语音文件是否正常','face','4FOQXYb','文件异常,大小为0','REPLY','2261925KoHUHQ','ptt','jpg','AniStickerPackId','width','aYZeY','PTT','set','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','unlink','AniStickerType','string','9988LjXhJF','[商城表情]','dice','miniapp','gvSSY','gif','获取视频封面失败,使用默认封面','VpLZZ','ClBLa','time','2487363HneqvL','75110662eaxWaV','ARK','OKYbf','stat','7367679ZWulXs','screenshots','oKWff','IeZOS','TEXT','MtNmg','VIDEO','AniStickerId','FACE','vUqbe','QSid','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','10901317xztYdT','size','16kibvyq','height','kJmop','file','Ori','PYzUN','aNoPO','pXAzH','sysface','38VsPQpU','notAt','reply','sep','rfGWM','dirname','lcUFt','yoNWa','xSVbZ','rps','PIC','pxgxv','MFACE','Bot\x20Test','copyFile','emoji','get','tsabU','replace'];_0xaa82=function(){return _0x1917f3;};return _0xaa82();}import{encodeSilk}from'@/common/utils/audio';function _0x410f(_0x4ea501,_0xb41ad3){const _0xaa82a4=_0xaa82();return _0x410f=function(_0x410fab,_0x1795ee){_0x410fab=_0x410fab-0x185;let _0x540f31=_0xaa82a4[_0x410fab];return _0x540f31;},_0x410f(_0x4ea501,_0xb41ad3);}import _0x3e1271 from'./face_config.json';import*as _0x5e06ff from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0xe86796){const _0x4cf05f=_0x410f;return{'elementType':ElementType[_0x4cf05f(0x1c7)],'elementId':'','textElement':{'content':_0xe86796,'atType':AtType[_0x4cf05f(0x1db)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x14b587,_0x40e843,_0x3ef1fc,_0x5de5c2){const _0x1f7c64=_0x410f;return{'elementType':ElementType[_0x1f7c64(0x1c7)],'elementId':'','textElement':{'content':'@'+_0x5de5c2,'atType':_0x3ef1fc,'atUid':_0x14b587,'atTinyId':'','atNtUid':_0x40e843}};}static[_0x12358b(0x1dc)](_0x5ac16a,_0x14de9a,_0x22600f,_0x2ab8cd){const _0x1a1949=_0x12358b;return{'elementType':ElementType[_0x1a1949(0x1a7)],'elementId':'','replyElement':{'replayMsgSeq':_0x5ac16a,'replayMsgId':_0x14de9a,'senderUin':_0x22600f,'senderUinStr':_0x2ab8cd}};}static async[_0x12358b(0x18f)](_0x449c2e,_0x1ea0b0='',_0x215766=0x0){const _0x388ef5=_0x12358b,_0x53e17a={'xSVbZ':function(_0x10f6fc,_0xec35f8){return _0x10f6fc===_0xec35f8;},'gvSSY':'文件异常,大小为0','wQIqH':function(_0x190f49,_0x5012aa){return _0x190f49(_0x5012aa);}},{md5:_0x27957d,fileName:_0x37332b,path:_0x5dffcd,fileSize:_0x2f614e}=await NTQQFileApi['uploadFile'](_0x449c2e,ElementType[_0x388ef5(0x186)],_0x215766);if(_0x53e17a[_0x388ef5(0x1e2)](_0x2f614e,0x0))throw _0x53e17a[_0x388ef5(0x1b8)];const _0x54b3d5=await NTQQFileApi[_0x388ef5(0x194)](_0x449c2e),_0xb09ca7={'md5HexStr':_0x27957d,'fileSize':_0x2f614e[_0x388ef5(0x19a)](),'picWidth':_0x54b3d5?.['width'],'picHeight':_0x54b3d5?.[_0x388ef5(0x1d2)],'fileName':_0x37332b,'sourcePath':_0x5dffcd,'original':!![],'picType':_0x53e17a['wQIqH'](isGIF,_0x449c2e)?PicType[_0x388ef5(0x1b9)]:PicType[_0x388ef5(0x1aa)],'picSubType':_0x215766,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1ea0b0};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xb09ca7};}static async[_0x12358b(0x1d4)](_0x54fb6b,_0x4eeab6='',_0x4d124e=''){const _0x22258e=_0x12358b,_0x1b06b2={'ssRPM':_0x22258e(0x1a6),'pxgxv':function(_0x3e44ce,_0x4759d8){return _0x3e44ce||_0x4759d8;}},{md5:_0xb0dc8,fileName:_0x460fc9,path:_0x55ca61,fileSize:_0x53ee92}=await NTQQFileApi['uploadFile'](_0x54fb6b,ElementType[_0x22258e(0x190)]);if(_0x53ee92===0x0)throw _0x1b06b2[_0x22258e(0x197)];const _0xdda941={'elementType':ElementType[_0x22258e(0x190)],'elementId':'','fileElement':{'fileName':_0x1b06b2[_0x22258e(0x187)](_0x4eeab6,_0x460fc9),'folderId':_0x4d124e,'filePath':_0x55ca61,'fileSize':_0x53ee92['toString']()}};return _0xdda941;}static async[_0x12358b(0x1a1)](_0xa99923,_0x7371f2='',_0x12846a=''){const _0x8f54eb=_0x12358b,_0x52fab9={'VpLZZ':function(_0x36d33d,_0x1ef2e0,_0x2b69d5){return _0x36d33d(_0x1ef2e0,_0x2b69d5);},'oKWff':_0x8f54eb(0x1ba),'lcUFt':function(_0x52406e,_0x580ded){return _0x52406e(_0x580ded);},'yoNWa':'end','wsZDv':'error','pXAzH':function(_0x6ed657,_0x4156e2){return _0x6ed657+_0x4156e2;},'gHZPC':function(_0x5d7d0d,_0xc08744){return _0x5d7d0d===_0xc08744;},'tsabU':'文件异常,大小为0','OKYbf':'mp4','aNoPO':function(_0x126960,_0x4f6ac7,_0x3c88c4){return _0x126960(_0x4f6ac7,_0x3c88c4);},'UNTxP':_0x8f54eb(0x191),'WqVDX':function(_0xe41b46,_0x1d4218){return _0xe41b46+_0x1d4218;}},{fileName:_0x210a5c,path:_0x56aede,fileSize:_0x326059,md5:_0x428771}=await NTQQFileApi['uploadFile'](_0xa99923,ElementType[_0x8f54eb(0x1c9)]);if(_0x52fab9[_0x8f54eb(0x196)](_0x326059,0x0))throw _0x52fab9[_0x8f54eb(0x18d)];let _0x39e19e=_0x56aede[_0x8f54eb(0x18e)](_0x5e06ff[_0x8f54eb(0x1dd)]+_0x8f54eb(0x1d5)+_0x5e06ff[_0x8f54eb(0x1dd)],_0x5e06ff[_0x8f54eb(0x1dd)]+'Thumb'+_0x5e06ff[_0x8f54eb(0x1dd)]);_0x39e19e=_0x5e06ff[_0x8f54eb(0x1df)](_0x39e19e);let _0x4fe3c4={'width':0x780,'height':0x438,'time':0xf,'format':_0x52fab9[_0x8f54eb(0x1c1)],'size':_0x326059,'filePath':_0xa99923};try{_0x4fe3c4=await getVideoInfo(_0x56aede);}catch(_0x1b0533){_0x52fab9[_0x8f54eb(0x1d7)](logError,_0x52fab9[_0x8f54eb(0x19b)],_0x1b0533);}const _0x1f6dad=new Promise((_0x3dfcdb,_0x41a22b)=>{const _0x182884=_0x8f54eb,_0x47af0a={'uVZXq':function(_0x37330b,_0xdc6d65){const _0x40d41d=_0x410f;return _0x52fab9[_0x40d41d(0x1e0)](_0x37330b,_0xdc6d65);}},_0x2bc83f=_0x428771+'_0.png',_0x5b557c=_0x5e06ff['join'](_0x39e19e,_0x2bc83f);_0x52fab9['lcUFt'](_0x36f529,_0xa99923)['on'](_0x52fab9[_0x182884(0x1e1)],()=>{})['on'](_0x52fab9['wsZDv'],_0x2e5c49=>{const _0x4f6205=_0x182884;_0x52fab9[_0x4f6205(0x1bb)](logDebug,_0x52fab9[_0x4f6205(0x1c5)],_0x2e5c49),_0x12846a?_0x9ec4d9[_0x4f6205(0x18a)](_0x12846a,_0x5b557c)[_0x4f6205(0x1a2)](()=>{const _0x230739=_0x4f6205;_0x47af0a[_0x230739(0x193)](_0x3dfcdb,_0x5b557c);})['catch'](_0x41a22b):_0x9ec4d9[_0x4f6205(0x19d)](_0x5b557c,defaultVideoThumb)[_0x4f6205(0x1a2)](()=>{_0x3dfcdb(_0x5b557c);})['catch'](_0x41a22b);})[_0x182884(0x1c4)]({'timestamps':[0x0],'filename':_0x2bc83f,'folder':_0x39e19e,'size':_0x52fab9['pXAzH'](_0x52fab9[_0x182884(0x1d8)](_0x4fe3c4['width'],'x'),_0x4fe3c4[_0x182884(0x1d2)])})['on'](_0x52fab9[_0x182884(0x1e1)],()=>{const _0x107b51=_0x182884;_0x52fab9[_0x107b51(0x1e0)](_0x3dfcdb,_0x5b557c);});}),_0x21ab3f=new Map(),_0xaa4353=await _0x1f6dad,_0x4c5b87=(await _0x9ec4d9[_0x8f54eb(0x1c2)](_0xaa4353))[_0x8f54eb(0x1d0)];_0x21ab3f[_0x8f54eb(0x1af)](0x0,_0xaa4353);const _0x104a7d=await calculateFileMD5(_0xaa4353),_0x32bc3d={'elementType':ElementType[_0x8f54eb(0x1c9)],'elementId':'','videoElement':{'fileName':_0x7371f2||_0x210a5c,'filePath':_0x56aede,'videoMd5':_0x428771,'thumbMd5':_0x104a7d,'fileTime':_0x4fe3c4[_0x8f54eb(0x1bd)],'thumbPath':_0x21ab3f,'thumbSize':_0x4c5b87,'thumbWidth':_0x4fe3c4[_0x8f54eb(0x1ac)],'thumbHeight':_0x4fe3c4['height'],'fileSize':_0x52fab9['WqVDX']('',_0x326059)}};return _0x32bc3d;}static async[_0x12358b(0x1a9)](_0x5762f9){const _0x1c8610=_0x12358b,_0x384eed={'PYzUN':function(_0x54dbf4,_0x31af27){return _0x54dbf4(_0x31af27);},'WCAcO':_0x1c8610(0x1a3),'kJmop':function(_0x2273d6,_0x3aadfd){return _0x2273d6===_0x3aadfd;},'lwzAP':_0x1c8610(0x1a6)},{converted:_0x14a29e,path:_0x41181e,duration:_0x252f3d}=await _0x384eed[_0x1c8610(0x1d6)](encodeSilk,_0x5762f9);if(!_0x41181e)throw _0x384eed[_0x1c8610(0x192)];const {md5:_0x23371f,fileName:_0x4f9460,path:_0x5eb4af,fileSize:_0x3d4196}=await NTQQFileApi[_0x1c8610(0x19e)](_0x41181e,ElementType['PTT']);if(_0x384eed[_0x1c8610(0x1d3)](_0x3d4196,0x0))throw _0x384eed[_0x1c8610(0x19f)];return _0x14a29e&&_0x9ec4d9[_0x1c8610(0x1b1)](_0x41181e)['then'](),{'elementType':ElementType[_0x1c8610(0x1ae)],'elementId':'','pttElement':{'fileName':_0x4f9460,'filePath':_0x5eb4af,'md5HexStr':_0x23371f,'fileSize':_0x3d4196,'duration':_0x252f3d||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x12358b(0x1a4)](_0x26f6a1){const _0x3636c6=_0x12358b,_0x71761c={'ClBLa':function(_0x392613,_0x37694a){return _0x392613(_0x37694a);}},_0x3eea8e=_0x3e1271[_0x3636c6(0x1d9)],_0x5a17c5=_0x3e1271[_0x3636c6(0x18b)],_0x4ed33f=_0x3eea8e['find'](_0x5ca25b=>_0x5ca25b[_0x3636c6(0x1cd)]===_0x26f6a1[_0x3636c6(0x19a)]());_0x26f6a1=_0x71761c[_0x3636c6(0x1bc)](parseInt,_0x26f6a1[_0x3636c6(0x19a)]());let _0x142404=0x1;return _0x26f6a1>=0xde&&(_0x142404=0x2),_0x4ed33f[_0x3636c6(0x1b2)]&&(_0x142404=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x26f6a1,'faceType':_0x142404,'faceText':_0x4ed33f['QDes'],'stickerId':_0x4ed33f[_0x3636c6(0x1ca)],'stickerType':_0x4ed33f[_0x3636c6(0x1b2)],'packId':_0x4ed33f[_0x3636c6(0x1ab)],'sourceType':0x1}};}static['mface'](_0x1f2947,_0x2cf8fd,_0x222c77,_0x3a3855){const _0x2e3290=_0x12358b,_0x164373={'MtNmg':_0x2e3290(0x1b5)};return{'elementType':ElementType[_0x2e3290(0x188)],'marketFaceElement':{'emojiPackageId':_0x1f2947,'emojiId':_0x2cf8fd,'key':_0x222c77,'faceName':_0x3a3855||mFaceCache[_0x2e3290(0x18c)](_0x2cf8fd)||_0x164373[_0x2e3290(0x1c8)]}};}static[_0x12358b(0x1b6)](_0x1618f4){const _0x4adece=_0x12358b,_0x4c1c43={'rDoXU':_0x4adece(0x199)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4adece(0x1b6)],'faceType':FaceType[_0x4adece(0x1b6)],'faceText':_0x4c1c43['rDoXU'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x12358b(0x185)](_0x1c2b56){const _0x3a49b5=_0x12358b;return{'elementType':ElementType[_0x3a49b5(0x1cb)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x12358b(0x195)](_0x28dd5d){const _0x56350e=_0x12358b,_0x228f76={'IeZOS':function(_0x5267a0,_0x31bf30){return _0x5267a0!==_0x31bf30;},'rfGWM':_0x56350e(0x1b3)};return _0x228f76[_0x56350e(0x1c6)](typeof _0x28dd5d,_0x228f76[_0x56350e(0x1de)])&&(_0x28dd5d=JSON['stringify'](_0x28dd5d)),{'elementType':ElementType[_0x56350e(0x1c0)],'elementId':'','arkElement':{'bytesData':_0x28dd5d,'linkInfo':null,'subElementType':null}};}static['markdown'](_0xee87e6){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xee87e6}};}static async[_0x12358b(0x1b7)](){const _0x445a83=_0x12358b,_0x4bc42b={'ZeKgn':function(_0x462c53,_0x19838a){return _0x462c53(_0x19838a);},'fmMpM':_0x445a83(0x189),'vUqbe':'https://www.bilibili.com/','aYZeY':_0x445a83(0x1ce)};let _0x472eab=await _0x4bc42b['ZeKgn'](SignMiniApp,{'prompt':_0x4bc42b[_0x445a83(0x1a0)],'title':_0x4bc42b[_0x445a83(0x1a0)],'preview':_0x445a83(0x1b0),'jumpUrl':_0x4bc42b[_0x445a83(0x1cc)],'tag':_0x4bc42b[_0x445a83(0x1a0)],'tagIcon':_0x445a83(0x1ce),'source':_0x4bc42b['fmMpM'],'sourcelogo':_0x4bc42b[_0x445a83(0x1ad)]});return{'elementType':ElementType[_0x445a83(0x1c0)],'elementId':'','arkElement':{'bytesData':_0x472eab,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x489f3a=_0x2aaa;(function(_0x274000,_0x4673b1){const _0x167f32=_0x2aaa,_0x3c9513=_0x274000();while(!![]){try{const _0x3a4242=parseInt(_0x167f32(0x101))/0x1*(parseInt(_0x167f32(0xe2))/0x2)+-parseInt(_0x167f32(0xe4))/0x3+parseInt(_0x167f32(0xe7))/0x4*(-parseInt(_0x167f32(0xa8))/0x5)+-parseInt(_0x167f32(0xdd))/0x6*(-parseInt(_0x167f32(0x102))/0x7)+-parseInt(_0x167f32(0xd8))/0x8+-parseInt(_0x167f32(0xfd))/0x9*(-parseInt(_0x167f32(0xb1))/0xa)+parseInt(_0x167f32(0xec))/0xb;if(_0x3a4242===_0x4673b1)break;else _0x3c9513['push'](_0x3c9513['shift']());}catch(_0xe0084f){_0x3c9513['push'](_0x3c9513['shift']());}}}(_0x30db,0xe5260));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x2aaa(_0x3e311b,_0x2e8954){const _0x30dbeb=_0x30db();return _0x2aaa=function(_0x2aaa3f,_0x1ea520){_0x2aaa3f=_0x2aaa3f-0x9d;let _0x4f91c3=_0x30dbeb[_0x2aaa3f];return _0x4f91c3;},_0x2aaa(_0x3e311b,_0x2e8954);}import{promises as _0x28769f}from'node:fs';import _0x31f474 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x2498b9 from'./face_config.json';import*as _0x2421c6 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x489f3a(0xe9)](_0x167d96){const _0x27fae7=_0x489f3a;return{'elementType':ElementType[_0x27fae7(0xd9)],'elementId':'','textElement':{'content':_0x167d96,'atType':AtType[_0x27fae7(0xfc)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3b632f,_0x592254,_0x5384a7,_0x3cc594){const _0x2c12c5=_0x489f3a;return{'elementType':ElementType[_0x2c12c5(0xd9)],'elementId':'','textElement':{'content':'@'+_0x3cc594,'atType':_0x5384a7,'atUid':_0x3b632f,'atTinyId':'','atNtUid':_0x592254}};}static[_0x489f3a(0xe5)](_0x326e5d,_0x4e7c0e,_0x261b6f,_0x544981){const _0xd2e2a=_0x489f3a;return{'elementType':ElementType[_0xd2e2a(0xd7)],'elementId':'','replyElement':{'replayMsgSeq':_0x326e5d,'replayMsgId':_0x4e7c0e,'senderUin':_0x261b6f,'senderUinStr':_0x544981}};}static async['pic'](_0x2001ff,_0x5b48f0='',_0x28ff98=0x0){const _0x5ab67f=_0x489f3a,_0x551495={'sEkca':_0x5ab67f(0xaa)},{md5:_0xc4ca94,fileName:_0x63576b,path:_0x1302b4,fileSize:_0x11be9b}=await NTQQFileApi[_0x5ab67f(0xe1)](_0x2001ff,ElementType[_0x5ab67f(0xf5)],_0x28ff98);if(_0x11be9b===0x0)throw _0x551495[_0x5ab67f(0xbe)];const _0x4e68f6=await NTQQFileApi[_0x5ab67f(0xc1)](_0x2001ff),_0x3f31bb={'md5HexStr':_0xc4ca94,'fileSize':_0x11be9b[_0x5ab67f(0xa5)](),'picWidth':_0x4e68f6?.[_0x5ab67f(0x100)],'picHeight':_0x4e68f6?.[_0x5ab67f(0xa2)],'fileName':_0x63576b,'sourcePath':_0x1302b4,'original':!![],'picType':isGIF(_0x2001ff)?PicType[_0x5ab67f(0xa6)]:PicType[_0x5ab67f(0xaf)],'picSubType':_0x28ff98,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5b48f0};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x3f31bb};}static async[_0x489f3a(0xd5)](_0x22516a,_0x442ff9='',_0x35b58b=''){const _0x425580=_0x489f3a,_0x2db940={'SXejI':function(_0x50a300,_0x5a4c2a){return _0x50a300===_0x5a4c2a;},'UobJj':_0x425580(0xaa),'jzGuw':function(_0xdcc38,_0xcadbeb){return _0xdcc38||_0xcadbeb;}},{md5:_0xe8bbcc,fileName:_0x2a0363,path:_0x59b754,fileSize:_0x37cec1}=await NTQQFileApi[_0x425580(0xe1)](_0x22516a,ElementType[_0x425580(0xbf)]);if(_0x2db940[_0x425580(0xad)](_0x37cec1,0x0))throw _0x2db940[_0x425580(0xf8)];const _0x241b14={'elementType':ElementType[_0x425580(0xbf)],'elementId':'','fileElement':{'fileName':_0x2db940[_0x425580(0xb7)](_0x442ff9,_0x2a0363),'folderId':_0x35b58b,'filePath':_0x59b754,'fileSize':_0x37cec1[_0x425580(0xa5)]()}};return _0x241b14;}static async[_0x489f3a(0xa3)](_0x525266,_0x2aa272='',_0x2cdbfa=''){const _0x2c03c3=_0x489f3a,_0x1f30da={'pkPYB':function(_0x41f3d8,_0x192d6c){return _0x41f3d8(_0x192d6c);},'IAOlw':function(_0x59504d,_0x3d0609,_0x544847){return _0x59504d(_0x3d0609,_0x544847);},'jmGKM':function(_0xa2939f,_0x9e3710){return _0xa2939f(_0x9e3710);},'cQMwj':_0x2c03c3(0xe8),'bIBkS':_0x2c03c3(0xc6),'hdgXP':function(_0x124b9f,_0x5c691e){return _0x124b9f+_0x5c691e;},'mQiVV':function(_0x4caef7,_0x47601e){return _0x4caef7+_0x47601e;},'vSLNQ':function(_0x29e844,_0x4aab6c){return _0x29e844===_0x4aab6c;},'sVevU':_0x2c03c3(0xaa),'XGDeH':_0x2c03c3(0xcc),'THXCU':function(_0x5c1ecc,_0x358ca3){return _0x5c1ecc(_0x358ca3);},'VkBSp':function(_0x56d251,_0x530c77,_0x339fe4){return _0x56d251(_0x530c77,_0x339fe4);},'oWzxC':_0x2c03c3(0xd6),'LIYUm':function(_0x269e45,_0x28c246){return _0x269e45||_0x28c246;}},{fileName:_0x991af0,path:_0x553d6b,fileSize:_0x3fe676,md5:_0x48f89c}=await NTQQFileApi[_0x2c03c3(0xe1)](_0x525266,ElementType[_0x2c03c3(0xd3)]);if(_0x1f30da[_0x2c03c3(0xfa)](_0x3fe676,0x0))throw _0x1f30da[_0x2c03c3(0xf7)];let _0x2fc4aa=_0x553d6b[_0x2c03c3(0xce)](_0x2421c6[_0x2c03c3(0xb3)]+_0x2c03c3(0xb5)+_0x2421c6[_0x2c03c3(0xb3)],_0x2421c6[_0x2c03c3(0xb3)]+'Thumb'+_0x2421c6[_0x2c03c3(0xb3)]);_0x2fc4aa=_0x2421c6['dirname'](_0x2fc4aa);let _0x28cdc7={'width':0x780,'height':0x438,'time':0xf,'format':_0x1f30da[_0x2c03c3(0xc0)],'size':_0x3fe676,'filePath':_0x525266};try{_0x28cdc7=await _0x1f30da[_0x2c03c3(0xf6)](getVideoInfo,_0x553d6b);}catch(_0x26aa0c){_0x1f30da[_0x2c03c3(0xca)](logError,_0x1f30da[_0x2c03c3(0xb0)],_0x26aa0c);}const _0x5995d7=new Promise((_0x5eda1e,_0xda69a1)=>{const _0x329db2=_0x2c03c3,_0x2a86f9={'oCIEr':function(_0x11abda,_0x24b123){const _0x3da3d4=_0x2aaa;return _0x1f30da[_0x3da3d4(0xc8)](_0x11abda,_0x24b123);}},_0x32f58a=_0x48f89c+_0x329db2(0xe3),_0x212c9b=_0x2421c6[_0x329db2(0xa9)](_0x2fc4aa,_0x32f58a);_0x1f30da[_0x329db2(0xc8)](_0x31f474,_0x525266)['on'](_0x1f30da[_0x329db2(0xba)],()=>{})['on'](_0x1f30da[_0x329db2(0xdb)],_0x345b15=>{const _0x574f6c=_0x329db2,_0x592bfa={'iSFjd':function(_0x142541,_0x1e50a6){return _0x1f30da['pkPYB'](_0x142541,_0x1e50a6);}};_0x1f30da[_0x574f6c(0xe0)](logDebug,_0x574f6c(0xef),_0x345b15),_0x2cdbfa?_0x28769f[_0x574f6c(0xa0)](_0x2cdbfa,_0x212c9b)['then'](()=>{const _0x3948a1=_0x574f6c;_0x592bfa[_0x3948a1(0xc5)](_0x5eda1e,_0x212c9b);})[_0x574f6c(0xb9)](_0xda69a1):_0x28769f[_0x574f6c(0xff)](_0x212c9b,defaultVideoThumb)['then'](()=>{const _0x1f063e=_0x574f6c;_0x592bfa[_0x1f063e(0xc5)](_0x5eda1e,_0x212c9b);})[_0x574f6c(0xb9)](_0xda69a1);})[_0x329db2(0xdf)]({'timestamps':[0x0],'filename':_0x32f58a,'folder':_0x2fc4aa,'size':_0x1f30da['hdgXP'](_0x1f30da[_0x329db2(0xb8)](_0x28cdc7['width'],'x'),_0x28cdc7[_0x329db2(0xa2)])})['on'](_0x1f30da[_0x329db2(0xba)],()=>{const _0x15227c=_0x329db2;_0x2a86f9[_0x15227c(0xf9)](_0x5eda1e,_0x212c9b);});}),_0x655da7=new Map(),_0x577588=await _0x5995d7,_0x4d9362=(await _0x28769f[_0x2c03c3(0xa1)](_0x577588))[_0x2c03c3(0xc3)];_0x655da7[_0x2c03c3(0x103)](0x0,_0x577588);const _0x1bc085=await calculateFileMD5(_0x577588),_0x20cb63={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x1f30da[_0x2c03c3(0xc4)](_0x2aa272,_0x991af0),'filePath':_0x553d6b,'videoMd5':_0x48f89c,'thumbMd5':_0x1bc085,'fileTime':_0x28cdc7[_0x2c03c3(0xab)],'thumbPath':_0x655da7,'thumbSize':_0x4d9362,'thumbWidth':_0x28cdc7[_0x2c03c3(0x100)],'thumbHeight':_0x28cdc7[_0x2c03c3(0xa2)],'fileSize':''+_0x3fe676}};return _0x20cb63;}static async[_0x489f3a(0xcb)](_0x8804a1){const _0x314f3f=_0x489f3a,_0x31bfa7={'DSClR':function(_0x31ffdb,_0x54d2e8){return _0x31ffdb(_0x54d2e8);},'fTPTy':_0x314f3f(0xf1),'GXvDv':function(_0x37b11c,_0x202f5e){return _0x37b11c===_0x202f5e;},'MtInG':_0x314f3f(0xaa)},{converted:_0x2b2216,path:_0x4df898,duration:_0x3bb174}=await _0x31bfa7[_0x314f3f(0xcf)](encodeSilk,_0x8804a1);if(!_0x4df898)throw _0x31bfa7['fTPTy'];const {md5:_0xb958dc,fileName:_0x1908f4,path:_0x42e837,fileSize:_0x197b17}=await NTQQFileApi[_0x314f3f(0xe1)](_0x4df898,ElementType[_0x314f3f(0xa7)]);if(_0x31bfa7[_0x314f3f(0xf3)](_0x197b17,0x0))throw _0x31bfa7[_0x314f3f(0xa4)];return _0x2b2216&&_0x28769f['unlink'](_0x4df898)[_0x314f3f(0xcd)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x1908f4,'filePath':_0x42e837,'md5HexStr':_0xb958dc,'fileSize':_0x197b17,'duration':_0x3bb174||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x489f3a(0xbb)](_0x2b7878){const _0x5a613a=_0x489f3a,_0x442f7b={'PcRzl':function(_0x5e40d4,_0x2e7764){return _0x5e40d4(_0x2e7764);},'rDKyu':function(_0x521656,_0x291db9){return _0x521656>=_0x291db9;}},_0x557ba3=_0x2498b9[_0x5a613a(0xee)],_0x25ac1e=_0x2498b9['emoji'],_0x4095f0=_0x557ba3[_0x5a613a(0xea)](_0x3608a0=>_0x3608a0[_0x5a613a(0xe6)]===_0x2b7878[_0x5a613a(0xa5)]());_0x2b7878=_0x442f7b[_0x5a613a(0xb6)](parseInt,_0x2b7878[_0x5a613a(0xa5)]());let _0x350e5f=0x1;return _0x442f7b[_0x5a613a(0xbd)](_0x2b7878,0xde)&&(_0x350e5f=0x2),_0x4095f0[_0x5a613a(0xc9)]&&(_0x350e5f=0x3),{'elementType':ElementType[_0x5a613a(0xf2)],'elementId':'','faceElement':{'faceIndex':_0x2b7878,'faceType':_0x350e5f,'faceText':_0x4095f0['QDes'],'stickerId':_0x4095f0[_0x5a613a(0xc2)],'stickerType':_0x4095f0['AniStickerType'],'packId':_0x4095f0[_0x5a613a(0xd2)],'sourceType':0x1}};}static['mface'](_0x30e93f,_0x4ab0ac,_0x351196,_0x56b8de){const _0x4c6e69=_0x489f3a,_0x31d54b={'gmLwx':_0x4c6e69(0xed)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x30e93f,'emojiId':_0x4ab0ac,'key':_0x351196,'faceName':_0x56b8de||mFaceCache['get'](_0x4ab0ac)||_0x31d54b['gmLwx']}};}static[_0x489f3a(0x9d)](_0x4da4a3){const _0x45889a=_0x489f3a,_0x52d301={'RTnWc':_0x45889a(0xf0)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x45889a(0x9d)],'faceType':FaceType['dice'],'faceText':_0x52d301[_0x45889a(0x9e)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x489f3a(0xfe)](_0x197295){const _0x303db3=_0x489f3a,_0x4c16a3={'vvaSn':'[包剪锤]'};return{'elementType':ElementType[_0x303db3(0xf2)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x4c16a3['vvaSn'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x1027f6){const _0x5b17c2=_0x489f3a,_0x342ec8={'XCGnr':function(_0x664037,_0x5d3f6f){return _0x664037!==_0x5d3f6f;},'hXBIH':_0x5b17c2(0xd4)};return _0x342ec8['XCGnr'](typeof _0x1027f6,_0x342ec8[_0x5b17c2(0xfb)])&&(_0x1027f6=JSON[_0x5b17c2(0xde)](_0x1027f6)),{'elementType':ElementType[_0x5b17c2(0xac)],'elementId':'','arkElement':{'bytesData':_0x1027f6,'linkInfo':null,'subElementType':null}};}static[_0x489f3a(0x9f)](_0x13ccb2){const _0x116127=_0x489f3a;return{'elementType':ElementType[_0x116127(0xdc)],'elementId':'','markdownElement':{'content':_0x13ccb2}};}static async[_0x489f3a(0xb4)](){const _0x4cac15=_0x489f3a,_0x1a6a90={'cBlPV':function(_0x5d9317,_0x30cbae){return _0x5d9317(_0x30cbae);},'EIMCc':_0x4cac15(0xd1),'qmRwc':_0x4cac15(0xb2),'aSSSH':_0x4cac15(0xbc),'JUfkx':_0x4cac15(0xc7)};let _0x164ad1=await _0x1a6a90[_0x4cac15(0xae)](SignMiniApp,{'prompt':_0x1a6a90[_0x4cac15(0xf4)],'title':_0x4cac15(0xd1),'preview':_0x1a6a90[_0x4cac15(0xda)],'jumpUrl':_0x1a6a90[_0x4cac15(0xeb)],'tag':_0x1a6a90[_0x4cac15(0xf4)],'tagIcon':_0x1a6a90[_0x4cac15(0xd0)],'source':_0x1a6a90['EIMCc'],'sourcelogo':_0x1a6a90[_0x4cac15(0xd0)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x164ad1,'linkInfo':null,'subElementType':null}};}}function _0x30db(){const _0x1de806=['133XSIATn','set','dice','RTnWc','markdown','copyFile','stat','height','video','MtInG','toString','gif','PTT','5bRVNFa','join','文件异常,大小为0','time','ARK','SXejI','cBlPV','jpg','oWzxC','10Lsdywg','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','sep','miniapp','Ori','PcRzl','jzGuw','mQiVV','catch','cQMwj','face','https://www.bilibili.com/','rDKyu','sEkca','FILE','XGDeH','getImageSize','AniStickerId','size','LIYUm','iSFjd','error','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','jmGKM','AniStickerType','VkBSp','ptt','mp4','then','replace','DSClR','JUfkx','Bot\x20Test','AniStickerPackId','VIDEO','string','file','获取视频信息失败','REPLY','11848752dFQJWi','TEXT','qmRwc','bIBkS','MARKDOWN','66390pKMRqF','stringify','screenshots','IAOlw','uploadFile','4lrMSam','_0.png','1980879EYeayB','reply','QSid','5091932VjzXWD','end','text','find','aSSSH','22092928oCSwNy','[商城表情]','sysface','获取视频封面失败,使用默认封面','[骰子]','语音转换失败,\x20请检查语音文件是否正常','FACE','GXvDv','EIMCc','PIC','THXCU','sVevU','UobJj','oCIEr','vSLNQ','hXBIH','notAt','5401989ZyVmHq','rps','writeFile','width','767029QRlngI'];_0x30db=function(){return _0x1de806;};return _0x30db();} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 57e185ad..97a0b925 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x5014c5,_0x3257f1){var _0x6b1050=_0x4fef,_0x3dc1ae=_0x5014c5();while(!![]){try{var _0x5bafb7=-parseInt(_0x6b1050(0x1ef))/0x1+parseInt(_0x6b1050(0x1f0))/0x2*(-parseInt(_0x6b1050(0x1f7))/0x3)+parseInt(_0x6b1050(0x1fb))/0x4*(-parseInt(_0x6b1050(0x1fd))/0x5)+-parseInt(_0x6b1050(0x1f1))/0x6+-parseInt(_0x6b1050(0x1f3))/0x7*(-parseInt(_0x6b1050(0x1f9))/0x8)+parseInt(_0x6b1050(0x1fc))/0x9*(parseInt(_0x6b1050(0x1fa))/0xa)+parseInt(_0x6b1050(0x1f6))/0xb*(parseInt(_0x6b1050(0x1f2))/0xc);if(_0x5bafb7===_0x3257f1)break;else _0x3dc1ae['push'](_0x3dc1ae['shift']());}catch(_0x3fe12f){_0x3dc1ae['push'](_0x3dc1ae['shift']());}}}(_0x20a5,0x78943));function _0x20a5(){var _0xff2334=['96FiZFLT','333fIWZvJ','156385THefld','AYfpj','36425vOPLoy','129526CRRepa','2129478uKlXNv','372SOXrUO','1971158cspsDW','owner','admin','573859mnEVxL','42pcFRNN','mOCAq','8SIcAZv','173980WCWfFp'];_0x20a5=function(){return _0xff2334;};return _0x20a5();}export var GroupMemberRole;function _0x4fef(_0x56e8d0,_0x563754){var _0x20a588=_0x20a5();return _0x4fef=function(_0x4fef63,_0x36941e){_0x4fef63=_0x4fef63-0x1ee;var _0x2f400b=_0x20a588[_0x4fef63];return _0x2f400b;},_0x4fef(_0x56e8d0,_0x563754);}(function(_0x51da83){var _0x49775b=_0x4fef,_0x164cb9={'mOCAq':'normal','bzXxP':_0x49775b(0x1f5),'AYfpj':_0x49775b(0x1f4)};_0x51da83[_0x51da83[_0x164cb9[_0x49775b(0x1f8)]]=0x2]=_0x164cb9[_0x49775b(0x1f8)],_0x51da83[_0x51da83[_0x49775b(0x1f5)]=0x3]=_0x164cb9['bzXxP'],_0x51da83[_0x51da83[_0x164cb9[_0x49775b(0x1ee)]]=0x4]=_0x49775b(0x1f4);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x4c7d(){var _0x5108da=['2668360sMSmzR','400101OFwLzb','XyGEV','UVkhW','312829KBCEvJ','owner','1330856tiNTtw','423052oHebyq','53334HtzAfe','normal','49YzOlNO','admin','1394075IDkqgv'];_0x4c7d=function(){return _0x5108da;};return _0x4c7d();}(function(_0x106ae7,_0x242339){var _0x5e454f=_0x2444,_0x4fb47a=_0x106ae7();while(!![]){try{var _0x395b11=parseInt(_0x5e454f(0xb1))/0x1+-parseInt(_0x5e454f(0xb4))/0x2+-parseInt(_0x5e454f(0xae))/0x3+parseInt(_0x5e454f(0xb3))/0x4+parseInt(_0x5e454f(0xac))/0x5+-parseInt(_0x5e454f(0xb5))/0x6*(parseInt(_0x5e454f(0xaa))/0x7)+-parseInt(_0x5e454f(0xad))/0x8;if(_0x395b11===_0x242339)break;else _0x4fb47a['push'](_0x4fb47a['shift']());}catch(_0x325f5f){_0x4fb47a['push'](_0x4fb47a['shift']());}}}(_0x4c7d,0x2cd91));function _0x2444(_0x16ced8,_0x252e3f){var _0x4c7d71=_0x4c7d();return _0x2444=function(_0x244464,_0x571118){_0x244464=_0x244464-0xaa;var _0x897a6c=_0x4c7d71[_0x244464];return _0x897a6c;},_0x2444(_0x16ced8,_0x252e3f);}export var GroupMemberRole;(function(_0x384b7a){var _0x234c66=_0x2444,_0x3cb8be={'UVkhW':_0x234c66(0xb6),'XyGEV':_0x234c66(0xb2)};_0x384b7a[_0x384b7a[_0x3cb8be['UVkhW']]=0x2]=_0x3cb8be[_0x234c66(0xb0)],_0x384b7a[_0x384b7a[_0x234c66(0xab)]=0x3]=_0x234c66(0xab),_0x384b7a[_0x384b7a[_0x3cb8be[_0x234c66(0xaf)]]=0x4]=_0x3cb8be[_0x234c66(0xaf)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 3a6d4b5e..5d7d7519 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3a3013,_0x253cf7){var _0x3e2cce=_0x422a,_0x2fc70f=_0x3a3013();while(!![]){try{var _0x5c6549=-parseInt(_0x3e2cce(0xd1))/0x1*(-parseInt(_0x3e2cce(0xd4))/0x2)+parseInt(_0x3e2cce(0xcd))/0x3*(-parseInt(_0x3e2cce(0xd3))/0x4)+-parseInt(_0x3e2cce(0xca))/0x5+-parseInt(_0x3e2cce(0xcf))/0x6+parseInt(_0x3e2cce(0xcc))/0x7+parseInt(_0x3e2cce(0xce))/0x8*(parseInt(_0x3e2cce(0xd0))/0x9)+-parseInt(_0x3e2cce(0xd2))/0xa*(-parseInt(_0x3e2cce(0xcb))/0xb);if(_0x5c6549===_0x253cf7)break;else _0x2fc70f['push'](_0x2fc70f['shift']());}catch(_0x33f4c0){_0x2fc70f['push'](_0x2fc70f['shift']());}}}(_0x3079,0x56aa6));export*from'./user';export*from'./group';export*from'./msg';function _0x422a(_0x3d1f50,_0x13e133){var _0x30790d=_0x3079();return _0x422a=function(_0x422ae1,_0x2f6560){_0x422ae1=_0x422ae1-0xca;var _0x4bfdeb=_0x30790d[_0x422ae1];return _0x4bfdeb;},_0x422a(_0x3d1f50,_0x13e133);}function _0x3079(){var _0x532ebb=['4VuiYmU','1598pBzIUd','3400650mfVREW','154XCcnwH','1944138Kunzyr','1885569rnrUuZ','185864tHKqCW','2538198BsyzbT','189IQznOc','421WWPOnD','703330zdmltR'];_0x3079=function(){return _0x532ebb;};return _0x3079();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x530966,_0x37d5f3){var _0x4f2e3a=_0x4152,_0x4b98f0=_0x530966();while(!![]){try{var _0x5b5bff=parseInt(_0x4f2e3a(0xaa))/0x1+-parseInt(_0x4f2e3a(0xae))/0x2+parseInt(_0x4f2e3a(0xb0))/0x3*(parseInt(_0x4f2e3a(0xb2))/0x4)+-parseInt(_0x4f2e3a(0xa9))/0x5*(parseInt(_0x4f2e3a(0xad))/0x6)+parseInt(_0x4f2e3a(0xac))/0x7*(-parseInt(_0x4f2e3a(0xaf))/0x8)+-parseInt(_0x4f2e3a(0xb1))/0x9+parseInt(_0x4f2e3a(0xab))/0xa;if(_0x5b5bff===_0x37d5f3)break;else _0x4b98f0['push'](_0x4b98f0['shift']());}catch(_0x3814ce){_0x4b98f0['push'](_0x4b98f0['shift']());}}}(_0x5fee,0x4ebb5));export*from'./user';export*from'./group';function _0x5fee(){var _0x2dfcc5=['961470XOGTWw','68UuXXSi','25mELKKh','312928QPdPbp','11482880YWRJxd','3462109ZlQntQ','456834mEAOHu','604414qkqZzb','8oBKxMa','25692YXIJOr'];_0x5fee=function(){return _0x2dfcc5;};return _0x5fee();}export*from'./msg';export*from'./notify';export*from'./cache';function _0x4152(_0xf3bad2,_0x57da6e){var _0x5feeeb=_0x5fee();return _0x4152=function(_0x4152af,_0x11f460){_0x4152af=_0x4152af-0xa9;var _0x3d8fdb=_0x5feeeb[_0x4152af];return _0x3d8fdb;},_0x4152(_0xf3bad2,_0x57da6e);}export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index f8336c5e..a8643f9a 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x321e0b=_0xe294;(function(_0x3dc5e1,_0x25f77e){var _0x163e16=_0xe294,_0x4e0432=_0x3dc5e1();while(!![]){try{var _0x49876c=parseInt(_0x163e16(0x218))/0x1+parseInt(_0x163e16(0x1f7))/0x2+parseInt(_0x163e16(0x20a))/0x3*(parseInt(_0x163e16(0x243))/0x4)+parseInt(_0x163e16(0x1f9))/0x5+parseInt(_0x163e16(0x250))/0x6*(-parseInt(_0x163e16(0x234))/0x7)+parseInt(_0x163e16(0x25b))/0x8+-parseInt(_0x163e16(0x27a))/0x9*(parseInt(_0x163e16(0x24f))/0xa);if(_0x49876c===_0x25f77e)break;else _0x4e0432['push'](_0x4e0432['shift']());}catch(_0xba2df1){_0x4e0432['push'](_0x4e0432['shift']());}}}(_0x59cf,0xf0249));export var ElementType;function _0xe294(_0x52bd19,_0x6064e2){var _0x59cf6a=_0x59cf();return _0xe294=function(_0xe2942a,_0x5b7ef6){_0xe2942a=_0xe2942a-0x1e5;var _0x1cc48e=_0x59cf6a[_0xe2942a];return _0x1cc48e;},_0xe294(_0x52bd19,_0x6064e2);}(function(_0x4be961){var _0x325872=_0xe294,_0xae21f0={'PNCGM':_0x325872(0x27b),'rgBnU':_0x325872(0x23f),'fkRaS':'PIC','EjFXy':_0x325872(0x202),'fhttv':_0x325872(0x232),'RNNxj':_0x325872(0x264),'nECKx':_0x325872(0x26d),'duCyS':_0x325872(0x26f),'ACaWB':_0x325872(0x1f6),'FXUET':'REPLY'},_0x19a80d=_0xae21f0[_0x325872(0x26b)]['split']('|'),_0x53eebd=0x0;while(!![]){switch(_0x19a80d[_0x53eebd++]){case'0':_0x4be961[_0x4be961['PTT']=0x4]=_0x325872(0x246);continue;case'1':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x212)]]=0xb]=_0xae21f0['rgBnU'];continue;case'2':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x25a)]]=0x2]=_0x325872(0x222);continue;case'3':_0x4be961[_0x4be961[_0xae21f0['EjFXy']]=0xa]=_0xae21f0[_0x325872(0x21a)];continue;case'4':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x272)]]=0x5]=_0x325872(0x232);continue;case'5':_0x4be961[_0x4be961[_0x325872(0x264)]=0x1]=_0xae21f0['RNNxj'];continue;case'6':_0x4be961[_0x4be961[_0xae21f0[_0x325872(0x201)]]=0x6]=_0x325872(0x26d);continue;case'7':_0x4be961[_0x4be961[_0xae21f0['duCyS']]=0x3]=_0x325872(0x26f);continue;case'8':_0x4be961[_0x4be961[_0x325872(0x1f6)]=0xe]=_0xae21f0[_0x325872(0x247)];continue;case'9':_0x4be961[_0x4be961[_0x325872(0x22e)]=0x7]=_0xae21f0[_0x325872(0x1ff)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x194aad){var _0x424074=_0xe294,_0x143d2c={'NrmFy':_0x424074(0x260)};_0x194aad[_0x194aad[_0x424074(0x253)]=0x7d0]=_0x424074(0x253),_0x194aad[_0x194aad[_0x143d2c[_0x424074(0x1e6)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;(function(_0x4a4348){var _0x2b8430=_0xe294,_0x553c28={'szkwr':_0x2b8430(0x24d),'EgwaC':_0x2b8430(0x1e9)};_0x4a4348[_0x4a4348[_0x553c28[_0x2b8430(0x20d)]]=0x0]=_0x553c28[_0x2b8430(0x20d)],_0x4a4348[_0x4a4348[_0x553c28[_0x2b8430(0x238)]]=0x1]=_0x553c28[_0x2b8430(0x238)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x17ea2){var _0x416a1f=_0xe294,_0x503217={'NPVBO':_0x416a1f(0x269),'nGvxs':_0x416a1f(0x203),'ReYpq':_0x416a1f(0x216)};_0x17ea2[_0x17ea2[_0x416a1f(0x269)]=0x0]=_0x503217['NPVBO'],_0x17ea2[_0x17ea2[_0x503217['nGvxs']]=0x1]=_0x416a1f(0x203),_0x17ea2[_0x17ea2[_0x503217['ReYpq']]=0x2]=_0x416a1f(0x216);}(AtType||(AtType={})));export var ChatType;(function(_0x24d09d){var _0x3e1fe2=_0xe294,_0x4dc28d={'qshTf':_0x3e1fe2(0x262),'oHeHr':_0x3e1fe2(0x26a),'OEGDr':_0x3e1fe2(0x209),'FXpmu':_0x3e1fe2(0x22d)};_0x24d09d[_0x24d09d[_0x4dc28d[_0x3e1fe2(0x1fe)]]=0x1]=_0x4dc28d[_0x3e1fe2(0x1fe)],_0x24d09d[_0x24d09d[_0x4dc28d['oHeHr']]=0x2]=_0x4dc28d[_0x3e1fe2(0x273)],_0x24d09d[_0x24d09d[_0x4dc28d['OEGDr']]=0x8]=_0x4dc28d['OEGDr'],_0x24d09d[_0x24d09d[_0x4dc28d['FXpmu']]=0x64]=_0x4dc28d['FXpmu'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1a00b6){var _0x50680f=_0xe294,_0x853916={'vHQnj':_0x50680f(0x274),'RJRxN':_0x50680f(0x241),'Ldaua':'KCHATTYPENEARBYHELLOFOLDER','qOgzJ':_0x50680f(0x239),'cOCdL':'KCHATTYPEMATCHFRIENDFOLDER','ppQRW':_0x50680f(0x25d),'iIrSF':_0x50680f(0x257),'cwoYu':_0x50680f(0x21b),'iljMc':_0x50680f(0x276),'KmJFU':'KCHATTYPEGROUPBLESS','qscfq':'KCHATTYPESUBSCRIBEFOLDER','UHHlM':_0x50680f(0x228),'ULzYE':'KCHATTYPETEMPWPA','blqkI':'KCHATTYPEBUDDYNOTIFY','BoXwO':_0x50680f(0x221),'wTdwR':'KCHATTYPENEARBYFOLDER','TSPVV':_0x50680f(0x24b),'xBKZu':_0x50680f(0x215),'hWBaT':'KCHATTYPETEMPC2CFROMGROUP','KQlkh':_0x50680f(0x20c),'HfoGB':_0x50680f(0x214),'Ooqgz':_0x50680f(0x24e),'nfQon':_0x50680f(0x27c),'mRUFJ':_0x50680f(0x20f),'ZAmXw':_0x50680f(0x200),'bwLgY':'KCHATTYPESQUAREPUBLIC','pnBMw':_0x50680f(0x25e),'BKEUu':_0x50680f(0x236),'FUICW':_0x50680f(0x1e8),'SGQjK':_0x50680f(0x22a),'UxCnl':_0x50680f(0x233),'bcNYL':'KCHATTYPEDISC','wFayx':_0x50680f(0x252),'Cbwkf':_0x50680f(0x21e),'Fbobt':_0x50680f(0x23d),'yhGtd':_0x50680f(0x1f5),'AyZNg':_0x50680f(0x258),'KXZkT':_0x50680f(0x1f1),'kIQuv':_0x50680f(0x279),'xamyf':_0x50680f(0x21c)},_0x16a614=_0x853916[_0x50680f(0x1ea)]['split']('|'),_0xcb8ad2=0x0;while(!![]){switch(_0x16a614[_0xcb8ad2++]){case'0':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x231)]]=0x6f]=_0x853916[_0x50680f(0x231)];continue;case'1':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x26c)]]=0x70]=_0x853916[_0x50680f(0x26c)];continue;case'2':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1ec)]]=0x71]=_0x853916['qOgzJ'];continue;case'3':_0x1a00b6[_0x1a00b6[_0x853916['cOCdL']]=0x6d]=_0x50680f(0x245);continue;case'4':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x275)]]=0x28]=_0x853916['ppQRW'];continue;case'5':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x21f)]]=0x8]='KCHATTYPEDATALINE';continue;case'6':_0x1a00b6[_0x1a00b6['KCHATTYPEGROUPGUILD']=0x9]=_0x853916[_0x50680f(0x223)];continue;case'7':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x210)]]=0x86]=_0x853916[_0x50680f(0x210)];continue;case'8':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f3)]]=0x85]=_0x853916[_0x50680f(0x1f3)];continue;case'9':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x25f)]]=0x1e]=_0x853916[_0x50680f(0x25f)];continue;case'10':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x242)]]=0x67]=_0x853916[_0x50680f(0x242)];continue;case'11':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1fb)]]=0x75]=_0x853916[_0x50680f(0x1fb)];continue;case'12':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f8)]]=0x5]=_0x853916[_0x50680f(0x1f8)];continue;case'13':_0x1a00b6[_0x1a00b6[_0x853916['BoXwO']]=0x2a]=_0x853916[_0x50680f(0x205)];continue;case'14':_0x1a00b6[_0x1a00b6[_0x50680f(0x251)]=0x6b]=_0x50680f(0x251);continue;case'15':_0x1a00b6[_0x1a00b6[_0x50680f(0x211)]=0x6e]=_0x853916[_0x50680f(0x213)];continue;case'16':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x26e)]]=0x68]=_0x50680f(0x24b);continue;case'17':_0x1a00b6[_0x1a00b6[_0x50680f(0x215)]=0x69]=_0x853916['xBKZu'];continue;case'18':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x256)]]=0x64]=_0x853916[_0x50680f(0x256)];continue;case'19':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1f0)]]=0x74]=_0x50680f(0x20c);continue;case'20':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x271)]]=0x6c]=_0x50680f(0x214);continue;case'21':_0x1a00b6[_0x1a00b6[_0x50680f(0x24e)]=0x65]=_0x853916['Ooqgz'];continue;case'22':_0x1a00b6[_0x1a00b6[_0x853916['nfQon']]=0x0]=_0x853916[_0x50680f(0x1e7)];continue;case'23':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x263)]]=0x2]=_0x853916[_0x50680f(0x263)];continue;case'24':_0x1a00b6[_0x1a00b6[_0x50680f(0x200)]=0x66]=_0x853916['ZAmXw'];continue;case'25':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x235)]]=0x73]=_0x853916['bwLgY'];continue;case'26':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x23e)]]=0x76]=_0x853916['pnBMw'];continue;case'27':_0x1a00b6[_0x1a00b6[_0x853916['BKEUu']]=0x6a]=_0x50680f(0x236);continue;case'28':_0x1a00b6[_0x1a00b6[_0x50680f(0x1e8)]=0x4]=_0x853916[_0x50680f(0x220)];continue;case'29':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x208)]]=0x29]=_0x853916[_0x50680f(0x208)];continue;case'30':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x244)]]=0x1]=_0x853916['UxCnl'];continue;case'31':_0x1a00b6[_0x1a00b6[_0x50680f(0x20b)]=0x3]=_0x853916[_0x50680f(0x1eb)];continue;case'32':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x267)]]=0x63]=_0x853916['wFayx'];continue;case'33':_0x1a00b6[_0x1a00b6[_0x853916['Cbwkf']]=0xc9]='KCHATTYPESERVICEASSISTANTSUB';continue;case'34':_0x1a00b6[_0x1a00b6['KCHATTYPEQQNOTIFY']=0x84]=_0x853916[_0x50680f(0x254)];continue;case'35':_0x1a00b6[_0x1a00b6[_0x853916['yhGtd']]=0x10]=_0x853916[_0x50680f(0x25c)];continue;case'36':_0x1a00b6[_0x1a00b6[_0x853916['AyZNg']]=0x7]=_0x853916[_0x50680f(0x204)];continue;case'37':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x1fd)]]=0x77]=_0x853916[_0x50680f(0x1fd)];continue;case'38':_0x1a00b6[_0x1a00b6[_0x853916[_0x50680f(0x249)]]=0x6]=_0x853916[_0x50680f(0x249)];continue;case'39':_0x1a00b6[_0x1a00b6[_0x853916['xamyf']]=0x83]=_0x853916['xamyf'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x321e0b(0x23b);export const IMAGE_HTTP_HOST_NT=_0x321e0b(0x24a);export var GrayTipElementSubType;(function(_0x531887){var _0x3fac7f=_0x321e0b,_0x242ec4={'SCTVE':_0x3fac7f(0x21d),'iLGhX':_0x3fac7f(0x1f2)};_0x531887[_0x531887[_0x242ec4[_0x3fac7f(0x237)]]=0xc]=_0x242ec4[_0x3fac7f(0x237)],_0x531887[_0x531887[_0x242ec4['iLGhX']]=0x11]=_0x242ec4[_0x3fac7f(0x1fa)];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x59cf(){var _0x711da1=['3221435NAIpee','iLGhX','ULzYE','kLaWH','KXZkT','qshTf','FXUET','KCHATTYPETEMPBUSSINESSCRM','nECKx','ARK','atAll','AyZNg','BoXwO','GVAGE','RAKQW','SGQjK','chatDevice','24330GfDnZc','KCHATTYPEDISC','KCHATTYPEGAMEMESSAGEFOLDER','szkwr','WkbCu','KCHATTYPEGROUP','iljMc','KCHATTYPENEARBYFOLDER','rgBnU','wTdwR','KCHATTYPENEARBYINTERACT','KCHATTYPEGAMEMESSAGE','atUser','sQFof','1589602GyesKy','VIDEO_FORMAT_MP4','EjFXy','KCHATTYPEGROUPGUILD','KCHATTYPERELATEACCOUNT','INVITE_NEW_MEMBER','KCHATTYPESERVICEASSISTANTSUB','iIrSF','FUICW','KCHATTYPEADELIE','PIC','cwoYu','VIDEO_FORMAT_AVI','RPS','VIDEO_FORMAT_WMV','VIDEO_FORMAT_MOV','KCHATTYPETEMPPUBLICACCOUNT','normal2','KCHATTYPEFAV','kicked','VIDEO_FORMAT_AFS','temp','REPLY','ban','BnrcD','RJRxN','VIDEO','KCHATTYPEC2C','9037hEUeDz','bwLgY','KCHATTYPENEARBY','SCTVE','EgwaC','KCHATTYPECIRCLE','vHwlu','https://gchat.qpic.cn','dice','KCHATTYPEQQNOTIFY','pnBMw','MFACE','odlwz','KCHATTYPETEMPADDRESSBOOK','UHHlM','836RiYwTj','UxCnl','KCHATTYPEMATCHFRIENDFOLDER','PTT','ACaWB','split','kIQuv','https://multimedia.nt.qq.com.cn','KCHATTYPEMATCHFRIEND','VIDEO_FORMAT_TS','normal','KCHATTYPETEMPFRIENDVERIFY','10KwdbsV','7374YnHGbU','KCHATTYPENEARBYASSISTANT','KCHATTYPETEMPC2CFROMUNKNOWN','gif','Fbobt','tIeNi','hWBaT','KCHATTYPEDATALINE','KCHATTYPEGROUPHELPER','VIDEO_FORMAT_MOD','fkRaS','12024296oNoLuI','yhGtd','KCHATTYPEWEIYUN','KCHATTYPESERVICEASSISTANT','qscfq','jpg','pUhwK','friend','mRUFJ','TEXT','VIDEO_FORMAT_RM','xyNRE','wFayx','jjvod','notAt','group','PNCGM','Ldaua','FACE','TSPVV','FILE','kBoPL','HfoGB','fhttv','oHeHr','13|12|30|2|5|7|31|29|17|19|23|8|6|36|38|28|35|16|3|27|14|15|1|20|34|39|26|33|25|9|0|24|18|32|21|37|10|11|22|4','ppQRW','KCHATTYPEDATALINEMQQ','3|6|2|5|1|9|8|10|4|7|0','hSuhJ','KCHATTYPEGROUPNOTIFY','33262758ADXobN','5|2|7|0|4|6|9|3|1|8','KCHATTYPEUNKNOWN','VIDEO_FORMAT_RMVB','NrmFy','nfQon','KCHATTYPEGUILD','face','vHQnj','bcNYL','qOgzJ','flqnV','royRz','vWNsB','KQlkh','KCHATTYPETEMPNEARBYPRO','MEMBER_NEW_TITLE','KmJFU','VIDEO_FORMAT_MTS','KCHATTYPEGUILDMETA','MARKDOWN','1668420oijdtp','blqkI'];_0x59cf=function(){return _0x711da1;};return _0x59cf();}export var FaceType;(function(_0x1a15ce){var _0x4bd6c=_0x321e0b,_0x60bd38={'jjvod':'normal','GVAGE':_0x4bd6c(0x229),'vHwlu':_0x4bd6c(0x23c)};_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x268)]]=0x1]=_0x60bd38['jjvod'],_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x206)]]=0x2]=_0x60bd38[_0x4bd6c(0x206)],_0x1a15ce[_0x1a15ce[_0x60bd38[_0x4bd6c(0x23a)]]=0x3]=_0x60bd38[_0x4bd6c(0x23a)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1eae65){var _0xe1c678=_0x321e0b,_0x37f05e={'tIeNi':_0xe1c678(0x23c),'vWNsB':_0xe1c678(0x225)};_0x1eae65[_0x1eae65[_0x37f05e[_0xe1c678(0x255)]]=0x166]=_0x37f05e[_0xe1c678(0x255)],_0x1eae65[_0x1eae65[_0xe1c678(0x225)]=0x167]=_0x37f05e[_0xe1c678(0x1ef)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x617962){var _0x5b7a2b=_0x321e0b,_0x4df61d={'FGhgh':_0x5b7a2b(0x277),'sQFof':_0x5b7a2b(0x226),'hSuhJ':_0x5b7a2b(0x227),'hZxXJ':'VIDEO_FORMAT_MKV','RAKQW':_0x5b7a2b(0x22c),'WkbCu':_0x5b7a2b(0x1e5),'odlwz':_0x5b7a2b(0x259),'flqnV':_0x5b7a2b(0x224),'kBoPL':_0x5b7a2b(0x24c),'royRz':_0x5b7a2b(0x1f4),'ylJGc':_0x5b7a2b(0x219),'kLaWH':_0x5b7a2b(0x265)},_0x578b8f=_0x4df61d['FGhgh'][_0x5b7a2b(0x248)]('|'),_0xdc434d=0x0;while(!![]){switch(_0x578b8f[_0xdc434d++]){case'0':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x217)]]=0x3]=_0x4df61d[_0x5b7a2b(0x217)];continue;case'1':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x278)]]=0x8]=_0x4df61d[_0x5b7a2b(0x278)];continue;case'2':_0x617962[_0x617962[_0x4df61d['hZxXJ']]=0x4]=_0x4df61d['hZxXJ'];continue;case'3':_0x617962[_0x617962[_0x5b7a2b(0x22c)]=0x7]=_0x4df61d[_0x5b7a2b(0x207)];continue;case'4':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x20e)]]=0x5]=_0x5b7a2b(0x1e5);continue;case'5':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x240)]]=0x9]=_0x5b7a2b(0x259);continue;case'6':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x1ed)]]=0x1]=_0x5b7a2b(0x224);continue;case'7':_0x617962[_0x617962[_0x4df61d[_0x5b7a2b(0x270)]]=0xa]=_0x4df61d['kBoPL'];continue;case'8':_0x617962[_0x617962[_0x5b7a2b(0x1f4)]=0xb]=_0x4df61d[_0x5b7a2b(0x1ee)];continue;case'9':_0x617962[_0x617962[_0x4df61d['ylJGc']]=0x2]=_0x5b7a2b(0x219);continue;case'10':_0x617962[_0x617962[_0x5b7a2b(0x265)]=0x6]=_0x4df61d[_0x5b7a2b(0x1fc)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x49dd21){var _0x50dbaf=_0x321e0b,_0x28b696={'pUhwK':'memberIncrease','BnrcD':_0x50dbaf(0x22b),'xyNRE':_0x50dbaf(0x22f)};_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x261)]]=0x1]=_0x28b696['pUhwK'],_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x230)]]=0x3]='kicked',_0x49dd21[_0x49dd21[_0x28b696[_0x50dbaf(0x266)]]=0x8]=_0x28b696[_0x50dbaf(0x266)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x28287b=_0x3eac;(function(_0x2a8e9a,_0x1c8f76){var _0x2d67e8=_0x3eac,_0x21dfa0=_0x2a8e9a();while(!![]){try{var _0x3f74bd=parseInt(_0x2d67e8(0x1c8))/0x1+parseInt(_0x2d67e8(0x1d7))/0x2+-parseInt(_0x2d67e8(0x19e))/0x3+-parseInt(_0x2d67e8(0x19c))/0x4*(-parseInt(_0x2d67e8(0x1c0))/0x5)+-parseInt(_0x2d67e8(0x1bd))/0x6*(parseInt(_0x2d67e8(0x1b7))/0x7)+parseInt(_0x2d67e8(0x1a0))/0x8*(-parseInt(_0x2d67e8(0x20c))/0x9)+parseInt(_0x2d67e8(0x20b))/0xa;if(_0x3f74bd===_0x1c8f76)break;else _0x21dfa0['push'](_0x21dfa0['shift']());}catch(_0x35f457){_0x21dfa0['push'](_0x21dfa0['shift']());}}}(_0x49a8,0xcd07f));function _0x3eac(_0x36e586,_0x202d45){var _0x49a8b0=_0x49a8();return _0x3eac=function(_0x3eacac,_0x1ffba9){_0x3eacac=_0x3eacac-0x17a;var _0x5ccc1b=_0x49a8b0[_0x3eacac];return _0x5ccc1b;},_0x3eac(_0x36e586,_0x202d45);}export var ElementType;(function(_0x597df6){var _0x349a3b=_0x3eac,_0x546676={'LscMN':_0x349a3b(0x1e3),'qBQeH':_0x349a3b(0x198),'npamc':_0x349a3b(0x1e0),'AJKEn':_0x349a3b(0x1e8),'kSCNJ':_0x349a3b(0x1ec),'qDsnv':_0x349a3b(0x1df),'UuQUB':_0x349a3b(0x1f5),'aQrbz':_0x349a3b(0x204),'wPoiA':_0x349a3b(0x1f3),'Evpei':_0x349a3b(0x184)},_0x13fc76='6|5|1|2|9|3|7|4|8|0'['split']('|'),_0x2869fa=0x0;while(!![]){switch(_0x13fc76[_0x2869fa++]){case'0':_0x597df6[_0x597df6[_0x349a3b(0x1e3)]=0xe]=_0x546676[_0x349a3b(0x1b4)];continue;case'1':_0x597df6[_0x597df6[_0x349a3b(0x198)]=0x3]=_0x546676[_0x349a3b(0x194)];continue;case'2':_0x597df6[_0x597df6['PTT']=0x4]=_0x546676[_0x349a3b(0x1e7)];continue;case'3':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x202)]]=0x6]=_0x546676[_0x349a3b(0x202)];continue;case'4':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x207)]]=0xa]=_0x349a3b(0x1ec);continue;case'5':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x1c1)]]=0x2]=_0x546676[_0x349a3b(0x1c1)];continue;case'6':_0x597df6[_0x597df6['TEXT']=0x1]=_0x546676['UuQUB'];continue;case'7':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x182)]]=0x7]=_0x546676[_0x349a3b(0x182)];continue;case'8':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x1a4)]]=0xb]=_0x546676[_0x349a3b(0x1a4)];continue;case'9':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x17b)]]=0x5]=_0x546676[_0x349a3b(0x17b)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x49a8(){var _0x1b1204=['AJKEn','VIDEO_FORMAT_WMV','REPLY','QGMKs','KCHATTYPENEARBY','kSCNJ','vjSAP','mGZQv','friend','10951760ARQBWe','11169JPMuZh','kicked','TbPrb','YktyZ','https://multimedia.nt.qq.com.cn','gDPjx','KCHATTYPEC2C','vYVkB','VIDEO_FORMAT_MOD','DJAHS','Evpei','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGUILDMETA','fFnmX','OJsUR','atUser','LfZhJ','aQrbz','KCHATTYPENEARBYASSISTANT','VIDEO','notAt','KCHATTYPENEARBYINTERACT','kVWzz','pDiri','NOOtl','IFtzW','uizGv','aTEsC','zIrpU','OdYFn','KCHATTYPEWEIYUN','CHJWN','jpg','ZeeRE','KCHATTYPEMATCHFRIENDFOLDER','qBQeH','ban','atAll','KCHATTYPETEMPC2CFROMGROUP','FILE','tCmgB','LMJUB','soPVl','1040404eSCMEf','ztTGj','3881184hCuLjD','ScbGg','6160nRBemA','WaYxB','xdFuR','pcFMb','wPoiA','dWTcB','split','bMRYA','VIDEO_FORMAT_MTS','PuIQc','cHmkK','RPS','RiqxO','rcKSn','YHlRT','ksewP','EzvSE','YWYpN','7|8|10|6|5|3|2|0|4|9|1','KCHATTYPEUNKNOWN','LscMN','SeVbP','YQxqI','7XeTSRM','VVBWL','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPESUBSCRIBEFOLDER','VIDEO_FORMAT_MOV','normal2','6693762oLTowg','HEOSt','VIDEO_FORMAT_RMVB','25tAotNH','qDsnv','KCHATTYPEGROUP','MQwhS','VIDEO_FORMAT_RM','KCHATTYPEDISC','KCHATTYPETEMPADDRESSBOOK','face','1509292ejdEdr','KCHATTYPETEMPWPA','KCHATTYPEGAMEMESSAGE','ecKDf','KCHATTYPETEMPPUBLICACCOUNT','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYFOLDER','KCHATTYPEFAV','KCHATTYPENEARBYHELLOFOLDER','pFEvq','ATzZM','MEMBER_NEW_TITLE','HCqlB','QPEbG','KCHATTYPEGROUPNOTIFY','599518saoOpj','KCHATTYPETEMPC2CFROMUNKNOWN','aSUmQ','JxlWe','khIVa','KCHATTYPEQQNOTIFY','chatDevice','mfIRp','PIC','PTT','KCHATTYPEGROUPHELPER','KCHATTYPEADELIE','MARKDOWN','VIDEO_FORMAT_MKV','KCHATTYPESERVICEASSISTANT','lsWxg','npamc','FACE','KCHATTYPETEMPFRIENDVERIFY','fMrsY','dice','ARK','normal','nDaZI','VIDEO_FORMAT_AFS','KCHATTYPEGROUPBLESS','KCHATTYPECIRCLE','iIqyp','MFACE','KCHATTYPEMATCHFRIEND','TEXT','RSwgP','INVITE_NEW_MEMBER','memberIncrease','BeyFc','FytSG','sNTQE','KCHATTYPESQUAREPUBLIC','VIDEO_FORMAT_MP4','group','KCHATTYPEGROUPGUILD','gif','yvrtk'];_0x49a8=function(){return _0x1b1204;};return _0x49a8();}(function(_0x2b0a04){var _0x1b111f=_0x3eac,_0x24799a={'YQxqI':_0x1b111f(0x200),'LfZhJ':_0x1b111f(0x191)};_0x2b0a04[_0x2b0a04[_0x1b111f(0x200)]=0x7d0]=_0x24799a[_0x1b111f(0x1b6)],_0x2b0a04[_0x2b0a04[_0x24799a[_0x1b111f(0x181)]]=0x3e8]=_0x1b111f(0x191);}(PicType||(PicType={})));export var PicSubType;(function(_0x238d64){var _0xe7bb4b=_0x3eac,_0x4c9508={'BLlId':'normal','pFEvq':_0xe7bb4b(0x1c7)};_0x238d64[_0x238d64[_0xe7bb4b(0x1ed)]=0x0]=_0x4c9508['BLlId'],_0x238d64[_0x238d64[_0x4c9508['pFEvq']]=0x1]=_0x4c9508[_0xe7bb4b(0x1d1)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5b2103){var _0x3ba0b0=_0x3eac,_0x5577dd={'FytSG':'notAt','aSUmQ':_0x3ba0b0(0x196),'ylQfH':_0x3ba0b0(0x180)};_0x5b2103[_0x5b2103[_0x5577dd[_0x3ba0b0(0x1fa)]]=0x0]=_0x3ba0b0(0x185),_0x5b2103[_0x5b2103['atAll']=0x1]=_0x5577dd[_0x3ba0b0(0x1d9)],_0x5b2103[_0x5b2103[_0x5577dd['ylQfH']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x21ac09){var _0xcacb88=_0x3eac,_0x5f48d7={'SeVbP':_0xcacb88(0x20a),'nDaZI':_0xcacb88(0x1fe),'soPVl':_0xcacb88(0x1dd),'pcFMb':'temp'};_0x21ac09[_0x21ac09[_0x5f48d7[_0xcacb88(0x1b5)]]=0x1]=_0x5f48d7[_0xcacb88(0x1b5)],_0x21ac09[_0x21ac09[_0x5f48d7['nDaZI']]=0x2]=_0x5f48d7[_0xcacb88(0x1ee)],_0x21ac09[_0x21ac09[_0x5f48d7['soPVl']]=0x8]=_0x5f48d7[_0xcacb88(0x19b)],_0x21ac09[_0x21ac09[_0x5f48d7[_0xcacb88(0x1a3)]]=0x64]=_0x5f48d7[_0xcacb88(0x1a3)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x3773fa){var _0x4e9e22=_0x3eac,_0x225bfa={'uizGv':'5|28|19|34|21|30|24|33|9|36|12|32|20|4|11|25|6|7|22|39|35|3|1|23|29|27|26|37|14|8|17|15|10|2|38|31|0|16|18|13','MQwhS':_0x4e9e22(0x1cc),'zIrpU':_0x4e9e22(0x1d0),'rcKSn':'KCHATTYPETEMPC2CFROMUNKNOWN','mGZQv':_0x4e9e22(0x1e1),'cHmkK':_0x4e9e22(0x1e2),'HEOSt':_0x4e9e22(0x17d),'gDPjx':_0x4e9e22(0x1ba),'fMrsY':_0x4e9e22(0x1ca),'wbKNI':_0x4e9e22(0x197),'mfIRp':_0x4e9e22(0x1d6),'bMRYA':_0x4e9e22(0x1c2),'ALDSX':_0x4e9e22(0x18f),'ztTGj':_0x4e9e22(0x1fc),'DJAHS':'KCHATTYPETEMPBUSSINESSCRM','BeyFc':_0x4e9e22(0x1c9),'YWYpN':_0x4e9e22(0x1c6),'VVBWL':_0x4e9e22(0x1b3),'HCqlB':_0x4e9e22(0x212),'PuIQc':_0x4e9e22(0x1ff),'yvrtk':'KCHATTYPEDATALINE','IFtzW':_0x4e9e22(0x193),'OJsUR':_0x4e9e22(0x186),'ZeeRE':_0x4e9e22(0x1c5),'lsWxg':'KCHATTYPEGUILD','boRhh':'KCHATTYPESERVICEASSISTANT','ksewP':'KCHATTYPERELATEACCOUNT','pDiri':'KCHATTYPEBUDDYNOTIFY','ytxGE':_0x4e9e22(0x1dc),'vYVkB':'KCHATTYPEDATALINEMQQ','fFnmX':_0x4e9e22(0x17c),'vjSAP':_0x4e9e22(0x1f0),'EzvSE':'KCHATTYPEFAV','YktyZ':_0x4e9e22(0x1f1),'sNTQE':_0x4e9e22(0x183),'qpeMF':_0x4e9e22(0x1cd),'ecKDf':_0x4e9e22(0x1b9),'LMJUB':_0x4e9e22(0x1e9),'WaYxB':_0x4e9e22(0x206)},_0x9d208=_0x225bfa[_0x4e9e22(0x18b)][_0x4e9e22(0x1a6)]('|'),_0x6537cb=0x0;while(!![]){switch(_0x9d208[_0x6537cb++]){case'0':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1c3)]]=0x67]=_0x225bfa[_0x4e9e22(0x1c3)];continue;case'1':_0x3773fa[_0x3773fa[_0x225bfa['zIrpU']]=0x70]=_0x225bfa[_0x4e9e22(0x18d)];continue;case'2':_0x3773fa[_0x3773fa[_0x4e9e22(0x1d8)]=0x63]=_0x225bfa[_0x4e9e22(0x1ad)];continue;case'3':_0x3773fa[_0x3773fa[_0x4e9e22(0x1ce)]=0x6e]=_0x4e9e22(0x1ce);continue;case'4':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x209)]]=0x7]=_0x225bfa[_0x4e9e22(0x209)];continue;case'5':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1aa)]]=0x2a]=_0x225bfa[_0x4e9e22(0x1aa)];continue;case'6':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1be)]]=0x10]=_0x225bfa[_0x4e9e22(0x1be)];continue;case'7':_0x3773fa[_0x3773fa[_0x4e9e22(0x1f4)]=0x68]=_0x4e9e22(0x1f4);continue;case'8':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x211)]]=0x1e]=_0x225bfa[_0x4e9e22(0x211)];continue;case'9':_0x3773fa[_0x3773fa[_0x225bfa['fMrsY']]=0x69]=_0x225bfa[_0x4e9e22(0x1ea)];continue;case'10':_0x3773fa[_0x3773fa[_0x225bfa['wbKNI']]=0x64]=_0x225bfa['wbKNI'];continue;case'11':_0x3773fa[_0x3773fa[_0x225bfa['mfIRp']]=0x6]=_0x225bfa[_0x4e9e22(0x1de)];continue;case'12':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1a7)]]=0x2]=_0x4e9e22(0x1c2);continue;case'13':_0x3773fa[_0x3773fa[_0x4e9e22(0x18f)]=0x28]=_0x225bfa['ALDSX'];continue;case'14':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x19d)]]=0x73]=_0x225bfa[_0x4e9e22(0x19d)];continue;case'15':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17a)]]=0x66]=_0x225bfa['DJAHS'];continue;case'16':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1f9)]]=0x75]=_0x4e9e22(0x1c9);continue;case'17':_0x3773fa[_0x3773fa[_0x225bfa['YWYpN']]=0x6f]=_0x225bfa[_0x4e9e22(0x1b1)];continue;case'18':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1b8)]]=0x0]=_0x225bfa[_0x4e9e22(0x1b8)];continue;case'19':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1d4)]]=0x1]=_0x225bfa[_0x4e9e22(0x1d4)];continue;case'20':_0x3773fa[_0x3773fa[_0x4e9e22(0x1ff)]=0x9]=_0x225bfa[_0x4e9e22(0x1a9)];continue;case'21':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x201)]]=0x8]=_0x225bfa[_0x4e9e22(0x201)];continue;case'22':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x18a)]]=0x6d]=_0x4e9e22(0x193);continue;case'23':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17f)]]=0x6c]=_0x4e9e22(0x186);continue;case'24':_0x3773fa[_0x3773fa['KCHATTYPEDISC']=0x3]=_0x225bfa[_0x4e9e22(0x192)];continue;case'25':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1e6)]]=0x4]=_0x225bfa[_0x4e9e22(0x1e6)];continue;case'26':_0x3773fa[_0x3773fa[_0x4e9e22(0x1e5)]=0x76]=_0x225bfa['boRhh'];continue;case'27':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1af)]]=0x83]='KCHATTYPERELATEACCOUNT';continue;case'28':_0x3773fa[_0x3773fa[_0x225bfa['pDiri']]=0x5]=_0x225bfa[_0x4e9e22(0x188)];continue;case'29':_0x3773fa[_0x3773fa[_0x4e9e22(0x1dc)]=0x84]=_0x225bfa['ytxGE'];continue;case'30':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x213)]]=0x86]=_0x225bfa[_0x4e9e22(0x213)];continue;case'31':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17e)]]=0x77]=_0x225bfa[_0x4e9e22(0x17e)];continue;case'32':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x208)]]=0x85]='KCHATTYPEGROUPBLESS';continue;case'33':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1b0)]]=0x29]=_0x4e9e22(0x1cf);continue;case'34':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x20f)]]=0x71]=_0x4e9e22(0x1f1);continue;case'35':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1fb)]]=0x6b]=_0x225bfa['sNTQE'];continue;case'36':_0x3773fa[_0x3773fa[_0x4e9e22(0x1cd)]=0x74]=_0x225bfa['qpeMF'];continue;case'37':_0x3773fa[_0x3773fa[_0x4e9e22(0x1b9)]=0xc9]=_0x225bfa[_0x4e9e22(0x1cb)];continue;case'38':_0x3773fa[_0x3773fa[_0x4e9e22(0x1e9)]=0x65]=_0x225bfa[_0x4e9e22(0x19a)];continue;case'39':_0x3773fa[_0x3773fa[_0x4e9e22(0x206)]=0x6a]=_0x225bfa[_0x4e9e22(0x1a1)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x28287b(0x210);export var GrayTipElementSubType;(function(_0x275a22){var _0x5f3361=_0x28287b,_0x56facd={'ATzZM':_0x5f3361(0x1f7),'OdYFn':_0x5f3361(0x1d3)};_0x275a22[_0x275a22[_0x56facd[_0x5f3361(0x1d2)]]=0xc]=_0x5f3361(0x1f7),_0x275a22[_0x275a22[_0x56facd[_0x5f3361(0x18e)]]=0x11]=_0x56facd[_0x5f3361(0x18e)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xbe5855){var _0x532598=_0x28287b,_0x59d2f8={'NbjfM':_0x532598(0x1ed),'QGMKs':_0x532598(0x1bc),'khIVa':'dice'};_0xbe5855[_0xbe5855[_0x532598(0x1ed)]=0x1]=_0x59d2f8['NbjfM'],_0xbe5855[_0xbe5855[_0x59d2f8['QGMKs']]=0x2]=_0x59d2f8[_0x532598(0x205)],_0xbe5855[_0xbe5855[_0x59d2f8[_0x532598(0x1db)]]=0x3]=_0x59d2f8[_0x532598(0x1db)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x22c72f){var _0xc9c42d=_0x28287b,_0x33bdb5={'tCmgB':_0xc9c42d(0x1eb),'QPEbG':_0xc9c42d(0x1ab)};_0x22c72f[_0x22c72f[_0xc9c42d(0x1eb)]=0x166]=_0x33bdb5[_0xc9c42d(0x199)],_0x22c72f[_0x22c72f[_0x33bdb5[_0xc9c42d(0x1d5)]]=0x167]=_0x33bdb5[_0xc9c42d(0x1d5)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x5d6390){var _0x223e88=_0x28287b,_0x5d99c9={'kVWzz':_0x223e88(0x1b2),'RSwgP':_0x223e88(0x1c4),'RiqxO':_0x223e88(0x203),'aTEsC':_0x223e88(0x1a8),'CZOUV':_0x223e88(0x1fd),'iIqyp':_0x223e88(0x1bf),'TbPrb':'VIDEO_FORMAT_MOV','YHlRT':_0x223e88(0x214),'JxlWe':_0x223e88(0x1ef),'xdFuR':'VIDEO_FORMAT_AVI','NOOtl':'VIDEO_FORMAT_TS','PRLLI':'VIDEO_FORMAT_MKV'},_0x532d8d=_0x5d99c9[_0x223e88(0x187)]['split']('|'),_0x391d49=0x0;while(!![]){switch(_0x532d8d[_0x391d49++]){case'0':_0x5d6390[_0x5d6390[_0x223e88(0x1c4)]=0x6]=_0x5d99c9[_0x223e88(0x1f6)];continue;case'1':_0x5d6390[_0x5d6390[_0x5d99c9['RiqxO']]=0x3]=_0x5d99c9[_0x223e88(0x1ac)];continue;case'2':_0x5d6390[_0x5d6390[_0x223e88(0x1a8)]=0xb]=_0x5d99c9[_0x223e88(0x18c)];continue;case'3':_0x5d6390[_0x5d6390[_0x223e88(0x1fd)]=0x2]=_0x5d99c9['CZOUV'];continue;case'4':_0x5d6390[_0x5d6390[_0x5d99c9[_0x223e88(0x1f2)]]=0x5]=_0x5d99c9[_0x223e88(0x1f2)];continue;case'5':_0x5d6390[_0x5d6390[_0x223e88(0x1bb)]=0x8]=_0x5d99c9[_0x223e88(0x20e)];continue;case'6':_0x5d6390[_0x5d6390[_0x223e88(0x214)]=0x9]=_0x5d99c9[_0x223e88(0x1ae)];continue;case'7':_0x5d6390[_0x5d6390[_0x5d99c9['JxlWe']]=0x7]=_0x5d99c9[_0x223e88(0x1da)];continue;case'8':_0x5d6390[_0x5d6390[_0x5d99c9[_0x223e88(0x1a2)]]=0x1]='VIDEO_FORMAT_AVI';continue;case'9':_0x5d6390[_0x5d6390[_0x5d99c9['NOOtl']]=0xa]=_0x5d99c9[_0x223e88(0x189)];continue;case'10':_0x5d6390[_0x5d6390[_0x5d99c9['PRLLI']]=0x4]=_0x223e88(0x1e4);continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x36c35a){var _0x110182=_0x28287b,_0x2b39a4={'ScbGg':_0x110182(0x1f8),'dWTcB':_0x110182(0x20d),'CHJWN':_0x110182(0x195)};_0x36c35a[_0x36c35a[_0x2b39a4[_0x110182(0x19f)]]=0x1]=_0x2b39a4['ScbGg'],_0x36c35a[_0x36c35a[_0x2b39a4['dWTcB']]=0x3]=_0x2b39a4[_0x110182(0x1a5)],_0x36c35a[_0x36c35a[_0x2b39a4[_0x110182(0x190)]]=0x8]=_0x2b39a4['CHJWN'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.d.ts b/src/core.lib/src/entities/notify.d.ts index 71d790a1..7ecbcca0 100644 --- a/src/core.lib/src/entities/notify.d.ts +++ b/src/core.lib/src/entities/notify.d.ts @@ -54,8 +54,26 @@ export declare enum GroupRequestOperateTypes { approve = 1, reject = 2 } +export declare enum BuddyReqType { + KMEINITIATOR = 0, + KPEERINITIATOR = 1, + KMEAGREED = 2, + KMEAGREEDANDADDED = 3, + KPEERAGREED = 4, + KPEERAGREEDANDADDED = 5, + KPEERREFUSED = 6, + KMEREFUSED = 7, + KMEIGNORED = 8, + KMEAGREEANYONE = 9, + KMESETQUESTION = 10, + KMEAGREEANDADDFAILED = 11, + KMSGINFO = 12, + KMEINITIATORWAITPEERCONFIRM = 13 +} export interface FriendRequest { + isDecide: boolean; friendUid: string; + reqType: BuddyReqType; reqTime: string; extWords: string; isUnread: boolean; diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index ad460c0e..3e6f73dd 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x3991a3,_0x4a17ee){var _0x3dbe3e=_0x5b5d,_0x23c956=_0x3991a3();while(!![]){try{var _0x32aacb=-parseInt(_0x3dbe3e(0x213))/0x1*(-parseInt(_0x3dbe3e(0x202))/0x2)+parseInt(_0x3dbe3e(0x1fd))/0x3*(-parseInt(_0x3dbe3e(0x203))/0x4)+parseInt(_0x3dbe3e(0x201))/0x5*(-parseInt(_0x3dbe3e(0x1f5))/0x6)+parseInt(_0x3dbe3e(0x212))/0x7*(parseInt(_0x3dbe3e(0x204))/0x8)+parseInt(_0x3dbe3e(0x1fa))/0x9*(-parseInt(_0x3dbe3e(0x20d))/0xa)+-parseInt(_0x3dbe3e(0x21d))/0xb*(-parseInt(_0x3dbe3e(0x206))/0xc)+parseInt(_0x3dbe3e(0x21b))/0xd*(parseInt(_0x3dbe3e(0x1f4))/0xe);if(_0x32aacb===_0x4a17ee)break;else _0x23c956['push'](_0x23c956['shift']());}catch(_0x3e3ef4){_0x23c956['push'](_0x23c956['shift']());}}}(_0x1866,0x6c4a3));export var GroupNotifyTypes;(function(_0x14421c){var _0x24b9c1=_0x5b5d,_0x919389={'DTail':_0x24b9c1(0x210),'mUXFd':_0x24b9c1(0x217),'WWRCw':_0x24b9c1(0x200),'IHXIE':_0x24b9c1(0x219),'UKxQP':'JOIN_REQUEST','Mrfyt':_0x24b9c1(0x1f9),'HOidV':_0x24b9c1(0x21c),'LJYJv':_0x24b9c1(0x1fe)},_0x8888bf=_0x919389[_0x24b9c1(0x21e)][_0x24b9c1(0x207)]('|'),_0x1fd465=0x0;while(!![]){switch(_0x8888bf[_0x1fd465++]){case'0':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x1fc)]]=0xb]=_0x24b9c1(0x217);continue;case'1':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x21a)]]=0x1]=_0x24b9c1(0x200);continue;case'2':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x20e)]]=0x8]='ADMIN_SET';continue;case'3':_0x14421c[_0x14421c['JOIN_REQUEST']=0x7]=_0x919389[_0x24b9c1(0x21f)];continue;case'4':_0x14421c[_0x14421c['KICK_MEMBER']=0x9]=_0x24b9c1(0x218);continue;case'5':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x1f8)]]=0x4]=_0x919389[_0x24b9c1(0x1f8)];continue;case'6':_0x14421c[_0x14421c[_0x24b9c1(0x21c)]=0xc]=_0x919389[_0x24b9c1(0x1f7)];continue;case'7':_0x14421c[_0x14421c[_0x919389[_0x24b9c1(0x205)]]=0xd]=_0x919389['LJYJv'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5b5d(_0xafbfbb,_0x189843){var _0x18667c=_0x1866();return _0x5b5d=function(_0x5b5d1c,_0x2f9010){_0x5b5d1c=_0x5b5d1c-0x1f4;var _0x53a25a=_0x18667c[_0x5b5d1c];return _0x53a25a;},_0x5b5d(_0xafbfbb,_0x189843);}export var GroupNotifyStatus;(function(_0x8e523a){var _0x1bec1b=_0x5b5d,_0x179060={'xBKMx':_0x1bec1b(0x215),'Qcvtw':_0x1bec1b(0x208),'dMVfb':_0x1bec1b(0x1f6)};_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x214)]]=0x0]=_0x1bec1b(0x215),_0x8e523a[_0x8e523a['WAIT_HANDLE']=0x1]='WAIT_HANDLE',_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x209)]]=0x2]=_0x179060[_0x1bec1b(0x209)],_0x8e523a[_0x8e523a[_0x179060[_0x1bec1b(0x20b)]]=0x3]=_0x1bec1b(0x1f6);}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x1866(){var _0x3331d8=['2cHSmnc','62044jncYXL','128Tzsuja','LJYJv','2928gAVRhY','split','APPROVE','Qcvtw','GbUTH','dMVfb','fyYmu','530DSIjlF','IHXIE','SsYbt','1|5|3|2|4|0|6|7','wYfNU','224stEWSN','726467DnCSwa','xBKMx','IGNORE','reject','MEMBER_EXIT','KICK_MEMBER','ADMIN_SET','WWRCw','949DbSNCn','ADMIN_UNSET','30624xJIvde','DTail','UKxQP','135758wCxoYu','140940uvvRcx','REJECT','HOidV','Mrfyt','INVITED_JOIN','29538JFZiLx','ngIwE','mUXFd','135sZSkBQ','ADMIN_UNSET_OTHER','NEWGROUPTYPE','INVITE_ME','170vteQwD'];_0x1866=function(){return _0x3331d8;};return _0x1866();}(function(_0x287650){var _0x3d4ec2=_0x5b5d,_0x5821a5={'GbUTH':'approve','ngIwE':_0x3d4ec2(0x216)};_0x287650[_0x287650[_0x5821a5[_0x3d4ec2(0x20a)]]=0x1]=_0x5821a5['GbUTH'],_0x287650[_0x287650[_0x5821a5[_0x3d4ec2(0x1fb)]]=0x2]=_0x5821a5[_0x3d4ec2(0x1fb)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x26fa04){var _0x91d0af=_0x5b5d,_0xa55c7a={'fyYmu':'DEFAULTTYPE','wYfNU':'TITLETYPE','SsYbt':_0x91d0af(0x1ff)};_0x26fa04[_0x26fa04[_0xa55c7a[_0x91d0af(0x20c)]]=0x0]=_0xa55c7a[_0x91d0af(0x20c)],_0x26fa04[_0x26fa04[_0xa55c7a[_0x91d0af(0x211)]]=0x1]=_0xa55c7a[_0x91d0af(0x211)],_0x26fa04[_0x26fa04[_0x91d0af(0x1ff)]=0x2]=_0xa55c7a[_0x91d0af(0x20f)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x31747c,_0x551271){var _0x4ad7cd=_0x2f37,_0x5d5550=_0x31747c();while(!![]){try{var _0x150828=-parseInt(_0x4ad7cd(0x182))/0x1*(parseInt(_0x4ad7cd(0x194))/0x2)+parseInt(_0x4ad7cd(0x177))/0x3*(-parseInt(_0x4ad7cd(0x1a7))/0x4)+parseInt(_0x4ad7cd(0x18b))/0x5+-parseInt(_0x4ad7cd(0x181))/0x6+parseInt(_0x4ad7cd(0x1a6))/0x7*(-parseInt(_0x4ad7cd(0x1a0))/0x8)+-parseInt(_0x4ad7cd(0x183))/0x9+parseInt(_0x4ad7cd(0x187))/0xa;if(_0x150828===_0x551271)break;else _0x5d5550['push'](_0x5d5550['shift']());}catch(_0x1b41cf){_0x5d5550['push'](_0x5d5550['shift']());}}}(_0x3c58,0x8817d));export var GroupNotifyTypes;(function(_0x581d36){var _0x573530=_0x2f37,_0x31f425={'jZHnP':_0x573530(0x178),'cIqMQ':_0x573530(0x17c),'Yroun':_0x573530(0x190),'VSbtH':_0x573530(0x195),'LrFWy':_0x573530(0x19a),'zzUlF':_0x573530(0x1ae),'HbqMz':'ADMIN_UNSET','YzFPT':_0x573530(0x1ac)};_0x581d36[_0x581d36[_0x573530(0x178)]=0x1]=_0x31f425[_0x573530(0x199)],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x179)]]=0x4]=_0x31f425['cIqMQ'],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1a9)]]=0x7]=_0x31f425[_0x573530(0x1a9)],_0x581d36[_0x581d36[_0x573530(0x195)]=0x8]=_0x31f425[_0x573530(0x17a)],_0x581d36[_0x581d36[_0x573530(0x19a)]=0x9]=_0x31f425[_0x573530(0x1af)],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1ad)]]=0xb]='MEMBER_EXIT',_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1b2)]]=0xc]='ADMIN_UNSET',_0x581d36[_0x581d36[_0x31f425[_0x573530(0x186)]]=0xd]=_0x31f425[_0x573530(0x186)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x330dc8){var _0x5c3c01=_0x2f37,_0x30e791={'CnsdM':_0x5c3c01(0x1ab),'FXXWc':_0x5c3c01(0x1b0),'DdMnx':_0x5c3c01(0x19b),'OZFZA':'REJECT'};_0x330dc8[_0x330dc8[_0x30e791[_0x5c3c01(0x185)]]=0x0]=_0x5c3c01(0x1ab),_0x330dc8[_0x330dc8[_0x30e791[_0x5c3c01(0x18c)]]=0x1]=_0x30e791['FXXWc'],_0x330dc8[_0x330dc8[_0x5c3c01(0x19b)]=0x2]=_0x30e791[_0x5c3c01(0x19f)],_0x330dc8[_0x330dc8[_0x5c3c01(0x19e)]=0x3]=_0x30e791[_0x5c3c01(0x1b3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2f37(_0x221e85,_0x485d89){var _0x3c5801=_0x3c58();return _0x2f37=function(_0x2f37cc,_0x4fb9f0){_0x2f37cc=_0x2f37cc-0x175;var _0x221e92=_0x3c5801[_0x2f37cc];return _0x221e92;},_0x2f37(_0x221e85,_0x485d89);}export var GroupRequestOperateTypes;(function(_0xfecb68){var _0x12a349=_0x2f37,_0x4bdf3c={'BXeOs':_0x12a349(0x1a2)};_0xfecb68[_0xfecb68[_0x4bdf3c[_0x12a349(0x1a1)]]=0x1]=_0x4bdf3c[_0x12a349(0x1a1)],_0xfecb68[_0xfecb68['reject']=0x2]=_0x12a349(0x1a8);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x1b3001){var _0x3b97b1=_0x2f37,_0x58c556={'eWWBW':_0x3b97b1(0x192),'Ozxpm':_0x3b97b1(0x18e),'UttFX':_0x3b97b1(0x1b1),'hsUth':_0x3b97b1(0x175),'MBbpF':_0x3b97b1(0x176),'EcrHc':'KMSGINFO','dLmJG':_0x3b97b1(0x188),'AIOjv':'KMEAGREEDANDADDED','bldkA':_0x3b97b1(0x1aa),'PQrEQ':'KMEIGNORED','MybZm':_0x3b97b1(0x1a4),'ALfiQ':_0x3b97b1(0x198),'bckGQ':'KPEERAGREEDANDADDED','qTXTQ':'KPEERAGREED'},_0x22e2ce=_0x58c556[_0x3b97b1(0x18a)]['split']('|'),_0x1f2988=0x0;while(!![]){switch(_0x22e2ce[_0x1f2988++]){case'0':_0x1b3001[_0x1b3001['KMEAGREEANYONE']=0x9]=_0x58c556['Ozxpm'];continue;case'1':_0x1b3001[_0x1b3001[_0x58c556['UttFX']]=0x7]=_0x58c556[_0x3b97b1(0x180)];continue;case'2':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x1a3)]]=0x0]=_0x58c556['hsUth'];continue;case'3':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x17f)]]=0x1]=_0x58c556[_0x3b97b1(0x17f)];continue;case'4':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x184)]]=0xc]=_0x58c556[_0x3b97b1(0x184)];continue;case'5':_0x1b3001[_0x1b3001[_0x3b97b1(0x188)]=0xd]=_0x58c556[_0x3b97b1(0x196)];continue;case'6':_0x1b3001[_0x1b3001['KMEAGREEDANDADDED']=0x3]=_0x58c556[_0x3b97b1(0x191)];continue;case'7':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x193)]]=0x2]=_0x58c556[_0x3b97b1(0x193)];continue;case'8':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x197)]]=0x8]=_0x58c556['PQrEQ'];continue;case'9':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x1b4)]]=0xb]=_0x58c556[_0x3b97b1(0x1b4)];continue;case'10':_0x1b3001[_0x1b3001[_0x3b97b1(0x19d)]=0xa]=_0x3b97b1(0x19d);continue;case'11':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x17d)]]=0x6]=_0x58c556[_0x3b97b1(0x17d)];continue;case'12':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x18d)]]=0x5]=_0x58c556[_0x3b97b1(0x18d)];continue;case'13':_0x1b3001[_0x1b3001[_0x3b97b1(0x19c)]=0x4]=_0x58c556['qTXTQ'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x3c58(){var _0x448b66=['PQrEQ','KPEERREFUSED','jZHnP','KICK_MEMBER','APPROVE','KPEERAGREED','KMESETQUESTION','REJECT','DdMnx','8QGMqqe','BXeOs','approve','hsUth','KMEAGREEANDADDFAILED','SKgsU','6152727NRinwO','382916GgUrQG','reject','Yroun','KMEAGREED','IGNORE','ADMIN_UNSET_OTHER','zzUlF','MEMBER_EXIT','LrFWy','WAIT_HANDLE','KMEREFUSED','HbqMz','OZFZA','MybZm','ejpxJ','KMEINITIATOR','KPEERINITIATOR','21MPTViy','INVITE_ME','cIqMQ','VSbtH','NEWGROUPTYPE','INVITED_JOIN','ALfiQ','pSwrZ','MBbpF','UttFX','5870970nNpQYM','153dOjUGR','8909766YeDYsw','EcrHc','CnsdM','YzFPT','47046480mBHULI','KMEINITIATORWAITPEERCONFIRM','TITLETYPE','eWWBW','1123370XkbNBt','FXXWc','bckGQ','KMEAGREEANYONE','DEFAULTTYPE','JOIN_REQUEST','AIOjv','2|3|7|6|13|12|11|1|8|0|10|9|4|5','bldkA','11168zBXqDP','ADMIN_SET','dLmJG'];_0x3c58=function(){return _0x448b66;};return _0x3c58();}(function(_0x222a3e){var _0xc9eabe=_0x2f37,_0x414d00={'pSwrZ':_0xc9eabe(0x18f),'SKgsU':_0xc9eabe(0x189),'ejpxJ':_0xc9eabe(0x17b)};_0x222a3e[_0x222a3e[_0x414d00[_0xc9eabe(0x17e)]]=0x0]=_0x414d00['pSwrZ'],_0x222a3e[_0x222a3e[_0x414d00[_0xc9eabe(0x1a5)]]=0x1]='TITLETYPE',_0x222a3e[_0x222a3e[_0xc9eabe(0x17b)]=0x2]=_0x414d00[_0xc9eabe(0x1b5)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 6ab2e10e..a750792b 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x1e77e9,_0x4c2c7f){var _0x1bbc42=_0x4698,_0x384fd5=_0x1e77e9();while(!![]){try{var _0x1c9436=-parseInt(_0x1bbc42(0x9e))/0x1*(parseInt(_0x1bbc42(0x99))/0x2)+-parseInt(_0x1bbc42(0xa5))/0x3+-parseInt(_0x1bbc42(0x9b))/0x4+parseInt(_0x1bbc42(0xa4))/0x5*(parseInt(_0x1bbc42(0x98))/0x6)+parseInt(_0x1bbc42(0x9d))/0x7+-parseInt(_0x1bbc42(0xa0))/0x8+-parseInt(_0x1bbc42(0x97))/0x9*(-parseInt(_0x1bbc42(0x9a))/0xa);if(_0x1c9436===_0x4c2c7f)break;else _0x384fd5['push'](_0x384fd5['shift']());}catch(_0x5e5ad3){_0x384fd5['push'](_0x384fd5['shift']());}}}(_0x4a4b,0x90b53));function _0x4a4b(){var _0x15ad53=['female','ZHfSz','23498973jfXToP','684jFoqMv','2QNMcMN','10LVeQrP','4117388JqGOZy','dWEyi','5052117vyorwJ','895963QRWkHm','ilYIw','5164744tvZaeA','male','IFQgW','KPRIVILEGEICON','38635PnbQis','3149940VUFTIE'];_0x4a4b=function(){return _0x15ad53;};return _0x4a4b();}export var Sex;(function(_0x13d413){var _0x257882=_0x4698,_0x556930={'AYikw':_0x257882(0xa1),'ilYIw':_0x257882(0x95),'IFQgW':'unknown'};_0x13d413[_0x13d413[_0x556930['AYikw']]=0x1]=_0x556930['AYikw'],_0x13d413[_0x13d413[_0x556930[_0x257882(0x9f)]]=0x2]=_0x556930[_0x257882(0x9f)],_0x13d413[_0x13d413[_0x556930[_0x257882(0xa2)]]=0xff]=_0x556930[_0x257882(0xa2)];}(Sex||(Sex={})));function _0x4698(_0x4a3080,_0x192696){var _0x4a4b85=_0x4a4b();return _0x4698=function(_0x4698d8,_0x3c0c9f){_0x4698d8=_0x4698d8-0x95;var _0x54c870=_0x4a4b85[_0x4698d8];return _0x54c870;},_0x4698(_0x4a3080,_0x192696);}export var BizKey;(function(_0x422385){var _0x574ec6=_0x4698,_0x580e79={'ZHfSz':_0x574ec6(0xa3),'dWEyi':'KPHOTOWALL'};_0x422385[_0x422385[_0x580e79[_0x574ec6(0x96)]]=0x0]=_0x580e79[_0x574ec6(0x96)],_0x422385[_0x422385[_0x580e79['dWEyi']]=0x1]=_0x580e79[_0x574ec6(0x9c)];}(BizKey||(BizKey={}))); \ No newline at end of file +function _0x69fe(){var _0x17981e=['866930FRFUph','645897lRtqNe','135jxwQoD','6762960BCdJqQ','1spPGhT','1148090XeHnkA','sGcQP','12jTLpxM','XyOEN','3369865bLsNtC','female','male','bdgJb','KPRIVILEGEICON','zskiE','unknown','47836SLTePA','142128NcamUD'];_0x69fe=function(){return _0x17981e;};return _0x69fe();}function _0x2ff3(_0x16d464,_0x128a89){var _0x69feaf=_0x69fe();return _0x2ff3=function(_0x2ff3b8,_0x2dc6e1){_0x2ff3b8=_0x2ff3b8-0x115;var _0x23dcfc=_0x69feaf[_0x2ff3b8];return _0x23dcfc;},_0x2ff3(_0x16d464,_0x128a89);}(function(_0x1acada,_0x10c3fe){var _0x3a8e0c=_0x2ff3,_0x400c34=_0x1acada();while(!![]){try{var _0x31653f=parseInt(_0x3a8e0c(0x122))/0x1*(parseInt(_0x3a8e0c(0x123))/0x2)+parseInt(_0x3a8e0c(0x120))/0x3*(-parseInt(_0x3a8e0c(0x11c))/0x4)+-parseInt(_0x3a8e0c(0x115))/0x5+parseInt(_0x3a8e0c(0x125))/0x6*(parseInt(_0x3a8e0c(0x11f))/0x7)+parseInt(_0x3a8e0c(0x121))/0x8+-parseInt(_0x3a8e0c(0x11d))/0x9+parseInt(_0x3a8e0c(0x11e))/0xa;if(_0x31653f===_0x10c3fe)break;else _0x400c34['push'](_0x400c34['shift']());}catch(_0x75e72e){_0x400c34['push'](_0x400c34['shift']());}}}(_0x69fe,0x70f8a));export var Sex;(function(_0x531117){var _0x319e2c=_0x2ff3,_0x493877={'zskiE':_0x319e2c(0x117),'XyOEN':_0x319e2c(0x116)};_0x531117[_0x531117[_0x493877['zskiE']]=0x1]=_0x493877[_0x319e2c(0x11a)],_0x531117[_0x531117[_0x493877['XyOEN']]=0x2]=_0x493877[_0x319e2c(0x126)],_0x531117[_0x531117[_0x319e2c(0x11b)]=0xff]=_0x319e2c(0x11b);}(Sex||(Sex={})));export var BizKey;(function(_0x18c1d0){var _0x58b978=_0x2ff3,_0x1d4e0e={'sGcQP':_0x58b978(0x119),'bdgJb':'KPHOTOWALL'};_0x18c1d0[_0x18c1d0[_0x1d4e0e[_0x58b978(0x124)]]=0x0]=_0x1d4e0e['sGcQP'],_0x18c1d0[_0x18c1d0[_0x1d4e0e['bdgJb']]=0x1]=_0x1d4e0e[_0x58b978(0x118)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 89cd2b70..5cbfc2e7 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x33ac77,_0x220356){var _0x3e7cf1=_0x292d,_0x49d952=_0x33ac77();while(!![]){try{var _0x50f3db=parseInt(_0x3e7cf1(0x1f5))/0x1*(parseInt(_0x3e7cf1(0x1f0))/0x2)+-parseInt(_0x3e7cf1(0x1f8))/0x3*(parseInt(_0x3e7cf1(0x1f6))/0x4)+-parseInt(_0x3e7cf1(0x1f7))/0x5+parseInt(_0x3e7cf1(0x1ef))/0x6*(parseInt(_0x3e7cf1(0x1f2))/0x7)+parseInt(_0x3e7cf1(0x1f4))/0x8+parseInt(_0x3e7cf1(0x1f3))/0x9+parseInt(_0x3e7cf1(0x1ee))/0xa*(-parseInt(_0x3e7cf1(0x1f1))/0xb);if(_0x50f3db===_0x220356)break;else _0x49d952['push'](_0x49d952['shift']());}catch(_0x4773e8){_0x49d952['push'](_0x49d952['shift']());}}}(_0x3d85,0x3bf01));import _0x323c1f 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';function _0x292d(_0x29d1e9,_0x360f95){var _0x3d8592=_0x3d85();return _0x292d=function(_0x292d52,_0x5b4dc6){_0x292d52=_0x292d52-0x1ee;var _0x549fc1=_0x3d8592[_0x292d52];return _0x549fc1;},_0x292d(_0x29d1e9,_0x360f95);}function _0x3d85(){var _0x42a906=['4QFXhKy','12199yyKmYE','42UeUkKf','450990qmtgio','973784PTWfLK','191633XbxEBI','2316NQFPkb','1513180ffGYwr','1509XIvuPb','230wlugcl','309786AqrEQC'];_0x3d85=function(){return _0x42a906;};return _0x3d85();}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x323c1f as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x37d107,_0x31ea5e){var _0x46f6c0=_0x4606,_0x3262ae=_0x37d107();while(!![]){try{var _0x3dd38b=-parseInt(_0x46f6c0(0x196))/0x1*(-parseInt(_0x46f6c0(0x198))/0x2)+-parseInt(_0x46f6c0(0x193))/0x3+parseInt(_0x46f6c0(0x195))/0x4+-parseInt(_0x46f6c0(0x19a))/0x5*(-parseInt(_0x46f6c0(0x197))/0x6)+-parseInt(_0x46f6c0(0x19c))/0x7+-parseInt(_0x46f6c0(0x19b))/0x8*(-parseInt(_0x46f6c0(0x199))/0x9)+-parseInt(_0x46f6c0(0x194))/0xa*(parseInt(_0x46f6c0(0x192))/0xb);if(_0x3dd38b===_0x31ea5e)break;else _0x3262ae['push'](_0x3262ae['shift']());}catch(_0x4baaf8){_0x3262ae['push'](_0x3262ae['shift']());}}}(_0x9011,0x20e5c));import _0x16c58e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x4606(_0x38dd92,_0x341666){var _0x901136=_0x9011();return _0x4606=function(_0x46064e,_0x130a91){_0x46064e=_0x46064e-0x192;var _0x1eabdf=_0x901136[_0x46064e];return _0x1eabdf;},_0x4606(_0x38dd92,_0x341666);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x16c58e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x9011(){var _0x7183a0=['25VeoEEn','258704bLWMMF','309617GjoMWZ','607244mhIEZH','19473yoBJwI','40aMbrhh','936640chcBZv','43Iprkjo','107526AzmjmR','830jgGrcc','18QpQLMn'];_0x9011=function(){return _0x7183a0;};return _0x9011();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 4a416f5c..97b8eb1f 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x9732bc=_0x16e2;function _0x16e2(_0x3dff87,_0x5a2780){var _0x58c60a=_0x58c6();return _0x16e2=function(_0x16e261,_0x7d1e1f){_0x16e261=_0x16e261-0xb6;var _0x4803a7=_0x58c60a[_0x16e261];return _0x4803a7;},_0x16e2(_0x3dff87,_0x5a2780);}(function(_0x23dece,_0x1d167d){var _0x1ba526=_0x16e2,_0x102de8=_0x23dece();while(!![]){try{var _0x50e940=parseInt(_0x1ba526(0xc5))/0x1*(parseInt(_0x1ba526(0xbc))/0x2)+-parseInt(_0x1ba526(0xba))/0x3+parseInt(_0x1ba526(0xb9))/0x4+parseInt(_0x1ba526(0xb6))/0x5*(-parseInt(_0x1ba526(0xbb))/0x6)+parseInt(_0x1ba526(0xb7))/0x7*(parseInt(_0x1ba526(0xcb))/0x8)+parseInt(_0x1ba526(0xc1))/0x9+-parseInt(_0x1ba526(0xbd))/0xa*(parseInt(_0x1ba526(0xca))/0xb);if(_0x50e940===_0x1d167d)break;else _0x102de8['push'](_0x102de8['shift']());}catch(_0x149eb8){_0x102de8['push'](_0x102de8['shift']());}}}(_0x58c6,0xa9dff));function _0x58c6(){var _0x417cb1=['onSmartInfos','onDoubtBuddyReqUnreadNumChange','29629rfSRUU','onBuddyInfoChange','onBuddyReqUnreadCntChange','onBuddyDetailInfoChange','onAddMeSettingChanged','84491bSTPdf','488TihOXv','onBuddyRemarkUpdated','onCheckBuddySettingResult','1076115eZshzv','45101LVJAJE','onBuddyListChange','1233984kLQVpa','1689876hwniZI','6ChELjA','22vzrpuu','530ZxBnIx','onSpacePermissionInfos','onDelBatchBuddyInfos','onBuddyReqChange','7685793QrXMcX','onAddBuddyNeedVerify'];_0x58c6=function(){return _0x417cb1;};return _0x58c6();}export class BuddyListener{[_0x9732bc(0xc2)](_0x5b9006){}[_0x9732bc(0xc9)](_0x240d86){}['onAvatarUrlUpdated'](_0x3a19b3){}['onBlockChanged'](_0xe4ab72){}[_0x9732bc(0xc8)](_0x491326){}[_0x9732bc(0xc6)](_0x21576e){}[_0x9732bc(0xb8)](_0x23645c){}[_0x9732bc(0xcc)](_0x1b6fbb){}[_0x9732bc(0xc0)](_0x3c2494){}[_0x9732bc(0xc7)](_0x597387){}[_0x9732bc(0xcd)](_0x542578){}[_0x9732bc(0xbf)](_0x514997){}['onDoubtBuddyReqChange'](_0x238074){}[_0x9732bc(0xc4)](_0xa3754d){}['onNickUpdated'](_0x1c1693){}[_0x9732bc(0xc3)](_0x32a8f9){}[_0x9732bc(0xbe)](_0xc3d49a){}} \ No newline at end of file +function _0x4dde(_0x113915,_0x2cc4ba){var _0x366bc4=_0x366b();return _0x4dde=function(_0x4ddef9,_0x3cedfb){_0x4ddef9=_0x4ddef9-0x1e2;var _0x497b10=_0x366bc4[_0x4ddef9];return _0x497b10;},_0x4dde(_0x113915,_0x2cc4ba);}function _0x366b(){var _0x4ad1ff=['onSpacePermissionInfos','onAvatarUrlUpdated','94086YHAEoC','onAddBuddyNeedVerify','973698IuBaNu','159CsNQdF','onCheckBuddySettingResult','3200qrMegE','56ccoosm','onBlockChanged','onBuddyInfoChange','6063580CBbyaG','onBuddyDetailInfoChange','onDelBatchBuddyInfos','1269935MzMJRp','1845935xxdXVY','7779snJBnC','onBuddyListChange','onAddMeSettingChanged','onSmartInfos','onDoubtBuddyReqUnreadNumChange','onBuddyRemarkUpdated','376Mktehu','onDoubtBuddyReqChange'];_0x366b=function(){return _0x4ad1ff;};return _0x366b();}var _0x52c733=_0x4dde;(function(_0x33249d,_0x45ac4b){var _0x5bdc96=_0x4dde,_0x55b2c1=_0x33249d();while(!![]){try{var _0x5691e2=-parseInt(_0x5bdc96(0x1e5))/0x1*(parseInt(_0x5bdc96(0x1e7))/0x2)+parseInt(_0x5bdc96(0x1f0))/0x3*(parseInt(_0x5bdc96(0x1f6))/0x4)+parseInt(_0x5bdc96(0x1ee))/0x5+parseInt(_0x5bdc96(0x1e4))/0x6+parseInt(_0x5bdc96(0x1ef))/0x7+parseInt(_0x5bdc96(0x1e8))/0x8*(parseInt(_0x5bdc96(0x1e2))/0x9)+-parseInt(_0x5bdc96(0x1eb))/0xa;if(_0x5691e2===_0x45ac4b)break;else _0x55b2c1['push'](_0x55b2c1['shift']());}catch(_0x40fda7){_0x55b2c1['push'](_0x55b2c1['shift']());}}}(_0x366b,0x213c9));export class BuddyListener{[_0x52c733(0x1e3)](_0x5cf500){}[_0x52c733(0x1f2)](_0x357531){}[_0x52c733(0x1f9)](_0x524aa4){}[_0x52c733(0x1e9)](_0x4ec75c){}[_0x52c733(0x1ec)](_0x48b967){}[_0x52c733(0x1ea)](_0x5809d8){}[_0x52c733(0x1f1)](_0xaa47b7){}[_0x52c733(0x1f5)](_0x345199){}['onBuddyReqChange'](_0x218a41){}['onBuddyReqUnreadCntChange'](_0x21b199){}[_0x52c733(0x1e6)](_0x4cf4c3){}[_0x52c733(0x1ed)](_0x2b13bc){}[_0x52c733(0x1f7)](_0x272c8d){}[_0x52c733(0x1f4)](_0x2fd8b1){}['onNickUpdated'](_0x46bde2){}[_0x52c733(0x1f3)](_0x57fec8){}[_0x52c733(0x1f8)](_0x1ef999){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 67225d90..34019964 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0xceaf(_0xf1b716,_0x278739){var _0x19a45f=_0x19a4();return _0xceaf=function(_0xceafc8,_0x28016a){_0xceafc8=_0xceafc8-0x89;var _0x1c62b0=_0x19a45f[_0xceafc8];return _0x1c62b0;},_0xceaf(_0xf1b716,_0x278739);}var _0x458c39=_0xceaf;(function(_0x2ac7f6,_0xd921ca){var _0x27818a=_0xceaf,_0x514e23=_0x2ac7f6();while(!![]){try{var _0x5524e7=-parseInt(_0x27818a(0x8e))/0x1*(-parseInt(_0x27818a(0x94))/0x2)+-parseInt(_0x27818a(0x92))/0x3+parseInt(_0x27818a(0x96))/0x4+-parseInt(_0x27818a(0x89))/0x5+parseInt(_0x27818a(0x93))/0x6*(parseInt(_0x27818a(0x8d))/0x7)+-parseInt(_0x27818a(0x8a))/0x8*(parseInt(_0x27818a(0x8b))/0x9)+parseInt(_0x27818a(0x8f))/0xa*(parseInt(_0x27818a(0x90))/0xb);if(_0x5524e7===_0xd921ca)break;else _0x514e23['push'](_0x514e23['shift']());}catch(_0x1badb3){_0x514e23['push'](_0x514e23['shift']());}}}(_0x19a4,0x6ed95));function _0x19a4(){var _0x287738=['104sBLLJX','452961yMCGuD','onFileStatusChanged','14kLfria','2SXvHFg','11354830gmSayt','11XPFVxn','onFileSearch','817842fNhclV','238452indwLg','167162AjpaJz','onFileListChanged','1948436AAwZpW','2441550lZqTqF'];_0x19a4=function(){return _0x287738;};return _0x19a4();}export class KernelFileAssistantListener{[_0x458c39(0x8c)](..._0x120200){}['onSessionListChanged'](..._0x4fb5f2){}['onSessionChanged'](..._0x1c0db0){}[_0x458c39(0x95)](..._0x328a06){}[_0x458c39(0x91)](..._0x91b3ee){}} \ No newline at end of file +function _0x1f97(_0x16a989,_0x448247){var _0x20ff1b=_0x20ff();return _0x1f97=function(_0x1f9787,_0x7716d5){_0x1f9787=_0x1f9787-0x135;var _0x380496=_0x20ff1b[_0x1f9787];return _0x380496;},_0x1f97(_0x16a989,_0x448247);}var _0x339315=_0x1f97;function _0x20ff(){var _0x533b23=['9104ATLwXy','10eHLUHj','25509402TwZBaw','onFileStatusChanged','3182022WtmFNp','1439525xgGMBa','10182cdMFtk','onSessionListChanged','122hEUUhG','164029ubAWLm','onFileSearch','2425716rHfvki','5383cberHj','onSessionChanged'];_0x20ff=function(){return _0x533b23;};return _0x20ff();}(function(_0x2a194f,_0x3a15e0){var _0x18d4c4=_0x1f97,_0x111c42=_0x2a194f();while(!![]){try{var _0x509991=parseInt(_0x18d4c4(0x135))/0x1+-parseInt(_0x18d4c4(0x142))/0x2*(parseInt(_0x18d4c4(0x140))/0x3)+-parseInt(_0x18d4c4(0x137))/0x4+-parseInt(_0x18d4c4(0x13f))/0x5+-parseInt(_0x18d4c4(0x13e))/0x6+-parseInt(_0x18d4c4(0x138))/0x7*(parseInt(_0x18d4c4(0x13a))/0x8)+-parseInt(_0x18d4c4(0x13c))/0x9*(-parseInt(_0x18d4c4(0x13b))/0xa);if(_0x509991===_0x3a15e0)break;else _0x111c42['push'](_0x111c42['shift']());}catch(_0x3f1d92){_0x111c42['push'](_0x111c42['shift']());}}}(_0x20ff,0x7803c));export class KernelFileAssistantListener{[_0x339315(0x13d)](..._0x3a88e9){}[_0x339315(0x141)](..._0x7f8f75){}[_0x339315(0x139)](..._0x467931){}['onFileListChanged'](..._0x1c13ef){}[_0x339315(0x136)](..._0xb779b4){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 882d13c0..4c1ee6f5 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2396(){var _0x73f844=['dxPrf','onMemberInfoChange','onSearchMemberChange','UctDm','YpMXP','onGroupListUpdate','onGroupExtListUpdate','pnNki','1544BStmOl','onShutUpMemberListChanged:','onGroupBulletinRichMediaProgressUpdate','fVQhL','onGroupAllInfoChange:','log','gMzXP','133808YGFOPi','onGroupsMsgMaskResult','onJoinGroupNoVerifyFlag:','onGroupDetailInfoChange','onMemberListChange','onGetGroupBulletinListResult:','onGroupStatisticInfoChange','onGroupNotifiesUnreadCountUpdated','onShutUpMemberListChanged','onGroupNotifiesUpdated','lTdCO','onGroupConfMemberChange','onMemberInfoChange:','bsDiq','onGroupListUpdate:','937204OkKvmj','onGroupDetailInfoChange:','onGroupSingleScreenNotifies:','onGroupNotifiesUnreadCountUpdated:','onGroupArkInviteStateResult:','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinChange','onGroupStatisticInfoChange:','fRMho','503KElhaE','onGroupBulletinRemindNotify:','cXpXH','onGroupsMsgMaskResult:','6323702mYmlqR','onGroupSingleScreenNotifies','ksIFD','onGroupAllInfoChange','onGroupConfMemberChange:','onGroupBulletinRichMediaDownloadComplete','77ccbFxw','1278uzsWhn','onGroupNotifiesUpdated:','690inGIBu','PfEsP','onGroupBulletinChange:','SGHtt','onMemberListChange:','onJoinGroupNoVerifyFlag','onGetGroupBulletinListResult','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify:','onGroupFirstBulletinNotify','onGroupMemberLevelInfoChange','1256208IRXpZV','rzEtD','19825TcqBHc','onGroupArkInviteStateResult','onSearchMemberChange:','25240yLrMIT','zGpOG','onJoinGroupNotify'];_0x2396=function(){return _0x73f844;};return _0x2396();}function _0x5279(_0xa59b7d,_0x41af92){var _0x2396a6=_0x2396();return _0x5279=function(_0x52797a,_0x1bf01b){_0x52797a=_0x52797a-0x128;var _0x2c2729=_0x2396a6[_0x52797a];return _0x2c2729;},_0x5279(_0xa59b7d,_0x41af92);}var _0x42b8e6=_0x5279;(function(_0xed33de,_0x279e12){var _0x5ad111=_0x5279,_0x1a5a05=_0xed33de();while(!![]){try{var _0x320154=-parseInt(_0x5ad111(0x142))/0x1*(parseInt(_0x5ad111(0x16a))/0x2)+parseInt(_0x5ad111(0x15a))/0x3+-parseInt(_0x5ad111(0x139))/0x4+-parseInt(_0x5ad111(0x15c))/0x5*(-parseInt(_0x5ad111(0x14f))/0x6)+-parseInt(_0x5ad111(0x14c))/0x7*(parseInt(_0x5ad111(0x12a))/0x8)+-parseInt(_0x5ad111(0x14d))/0x9*(parseInt(_0x5ad111(0x15f))/0xa)+parseInt(_0x5ad111(0x146))/0xb;if(_0x320154===_0x279e12)break;else _0x1a5a05['push'](_0x1a5a05['shift']());}catch(_0x47f13a){_0x1a5a05['push'](_0x1a5a05['shift']());}}}(_0x2396,0x457a6));export class GroupListener{[_0x42b8e6(0x159)](..._0x3ee918){}[_0x42b8e6(0x155)](..._0x444820){}[_0x42b8e6(0x149)](..._0x12e683){}[_0x42b8e6(0x13f)](..._0x4be18b){}[_0x42b8e6(0x156)](..._0x478428){}[_0x42b8e6(0x15d)](..._0x136d94){}[_0x42b8e6(0x14b)](..._0x1c9132){}['onGroupConfMemberChange'](..._0x2988ca){}[_0x42b8e6(0x12d)](..._0x193c70){}[_0x42b8e6(0x168)](..._0x182074){}[_0x42b8e6(0x158)](..._0x1544e8){}[_0x42b8e6(0x167)](_0x1f16ef,_0x32de0d){}[_0x42b8e6(0x133)](_0x11c871,_0x1202df){}[_0x42b8e6(0x16c)](..._0x458735){}[_0x42b8e6(0x131)](..._0x3ae5ed){}['onGroupSingleScreenNotifies'](_0x5b253e,_0x485f77,_0x5e2969){}[_0x42b8e6(0x12b)](..._0x12fca4){}[_0x42b8e6(0x130)](..._0x43f38d){}[_0x42b8e6(0x161)](..._0x1ae968){}[_0x42b8e6(0x154)](..._0x5636b8){}[_0x42b8e6(0x163)](_0x27cdd4,_0x5647ff,_0x285855){}['onMemberListChange'](_0xff68a0){}[_0x42b8e6(0x164)](..._0x5e41aa){}[_0x42b8e6(0x132)](..._0x55ca63){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x5bab91){var _0x5f51e4={'RIkTi':'onGroupMemberLevelInfoChange:'};console['log'](_0x5f51e4['RIkTi'],..._0x5bab91);}[_0x42b8e6(0x155)](..._0x1a036c){var _0x32c61f=_0x42b8e6,_0x5005a8={'cXpXH':_0x32c61f(0x12f)};console[_0x32c61f(0x128)](_0x5005a8[_0x32c61f(0x144)],..._0x1a036c);}[_0x42b8e6(0x149)](..._0x35c57d){var _0x1e2518=_0x42b8e6,_0x5a5054={'gMzXP':_0x1e2518(0x16e)};console[_0x1e2518(0x128)](_0x5a5054[_0x1e2518(0x129)],..._0x35c57d);}['onGroupBulletinChange'](..._0x132241){var _0x530ef2=_0x42b8e6,_0x1c2dfb={'bsDiq':_0x530ef2(0x151)};console[_0x530ef2(0x128)](_0x1c2dfb[_0x530ef2(0x137)],..._0x132241);}['onGroupBulletinRemindNotify'](..._0x1c41f6){var _0x391405=_0x42b8e6,_0x5a4443={'PfEsP':_0x391405(0x143)};console[_0x391405(0x128)](_0x5a4443[_0x391405(0x150)],..._0x1c41f6);}[_0x42b8e6(0x15d)](..._0x5bfc8c){var _0x7b4d93=_0x42b8e6,_0x26f164={'SGHtt':_0x7b4d93(0x13d)};console[_0x7b4d93(0x128)](_0x26f164[_0x7b4d93(0x152)],..._0x5bfc8c);}[_0x42b8e6(0x14b)](..._0x452510){var _0x4c3258=_0x42b8e6;console['log'](_0x4c3258(0x13e),..._0x452510);}[_0x42b8e6(0x135)](..._0x16e313){var _0x366a21=_0x42b8e6,_0x32ef23={'rzEtD':_0x366a21(0x14a)};console[_0x366a21(0x128)](_0x32ef23[_0x366a21(0x15b)],..._0x16e313);}[_0x42b8e6(0x12d)](..._0x24f658){var _0x5414ef=_0x42b8e6,_0x5eb765={'ksIFD':_0x5414ef(0x13a)};console[_0x5414ef(0x128)](_0x5eb765[_0x5414ef(0x148)],..._0x24f658);}[_0x42b8e6(0x168)](..._0x3278e5){console['log']('onGroupExtListUpdate:',..._0x3278e5);}[_0x42b8e6(0x158)](..._0x4c0a93){var _0x21096c=_0x42b8e6,_0xa19073={'fVQhL':_0x21096c(0x157)};console[_0x21096c(0x128)](_0xa19073[_0x21096c(0x16d)],..._0x4c0a93);}['onGroupListUpdate'](..._0x239531){var _0x43fc36=_0x42b8e6,_0x379f13={'pnNki':_0x43fc36(0x138)};console[_0x43fc36(0x128)](_0x379f13[_0x43fc36(0x169)],..._0x239531);}['onGroupNotifiesUpdated'](..._0x34e0fb){var _0x3a331d=_0x42b8e6,_0x134f7={'dCBwF':_0x3a331d(0x14e)};console[_0x3a331d(0x128)](_0x134f7['dCBwF'],..._0x34e0fb);}[_0x42b8e6(0x16c)](..._0x4bbe0b){var _0x281bb1=_0x42b8e6,_0x2276b1={'YpMXP':'onGroupBulletinRichMediaProgressUpdate:'};console['log'](_0x2276b1[_0x281bb1(0x166)],..._0x4bbe0b);}[_0x42b8e6(0x131)](..._0x55555c){var _0x4752be=_0x42b8e6,_0x4b09ef={'fRMho':_0x4752be(0x13c)};console['log'](_0x4b09ef[_0x4752be(0x141)],..._0x55555c);}[_0x42b8e6(0x147)](_0x3585cb,_0x5abae7,_0x5879f4){var _0x3e9820=_0x42b8e6;console[_0x3e9820(0x128)](_0x3e9820(0x13b));}['onGroupsMsgMaskResult'](..._0x199820){var _0x5358dd=_0x42b8e6,_0x16703d={'UctDm':_0x5358dd(0x145)};console[_0x5358dd(0x128)](_0x16703d[_0x5358dd(0x165)],..._0x199820);}[_0x42b8e6(0x130)](..._0x7da0d1){var _0x154ebd=_0x42b8e6,_0x49e5b2={'dxPrf':_0x154ebd(0x140)};console[_0x154ebd(0x128)](_0x49e5b2[_0x154ebd(0x162)],..._0x7da0d1);}[_0x42b8e6(0x161)](..._0x3d337f){console['log']('onJoinGroupNotify:',..._0x3d337f);}['onJoinGroupNoVerifyFlag'](..._0x699458){var _0x2e923c=_0x42b8e6,_0x5b4be0={'jGCIx':_0x2e923c(0x12c)};console[_0x2e923c(0x128)](_0x5b4be0['jGCIx'],..._0x699458);}[_0x42b8e6(0x163)](_0x9d38e4,_0x75c403,_0xb29d0f){var _0x3da17e=_0x42b8e6,_0x150095={'BolXY':_0x3da17e(0x136)};console[_0x3da17e(0x128)](_0x150095['BolXY'],_0x9d38e4,_0x75c403,_0xb29d0f);}[_0x42b8e6(0x12e)](..._0x43b1ca){var _0x358e37=_0x42b8e6,_0x59beee={'lTdCO':_0x358e37(0x153)};console[_0x358e37(0x128)](_0x59beee[_0x358e37(0x134)],..._0x43b1ca);}[_0x42b8e6(0x164)](..._0x290f49){var _0x5595b4=_0x42b8e6,_0x3cd2af={'zGpOG':_0x5595b4(0x15e)};console[_0x5595b4(0x128)](_0x3cd2af[_0x5595b4(0x160)],..._0x290f49);}[_0x42b8e6(0x132)](..._0x542036){var _0x59ce3c=_0x42b8e6;console['log'](_0x59ce3c(0x16b),..._0x542036);}} \ No newline at end of file +function _0x7aee(_0x391e5c,_0x3818e2){var _0x51a027=_0x51a0();return _0x7aee=function(_0x7aee70,_0x50449b){_0x7aee70=_0x7aee70-0x12e;var _0x3e5ed9=_0x51a027[_0x7aee70];return _0x3e5ed9;},_0x7aee(_0x391e5c,_0x3818e2);}var _0x45e8f4=_0x7aee;function _0x51a0(){var _0x400979=['onGroupListUpdate','UCYwL','13253517VDiBgN','onGroupStatisticInfoChange:','onShutUpMemberListChanged','22996RPwitX','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','onJoinGroupNoVerifyFlag','onGroupsMsgMaskResult:','onGroupBulletinRichMediaDownloadComplete','onMemberInfoChange','onGroupBulletinRemindNotify:','onGroupBulletinRemindNotify','onGroupNotifiesUnreadCountUpdated','3943866hgyyKE','eBIGS','onGetGroupBulletinListResult:','7uylOFz','onGroupArkInviteStateResult','onGroupExtListUpdate','onGroupNotifiesUnreadCountUpdated:','2626932acOsQw','onGroupBulletinRichMediaProgressUpdate','cbsXN','onGroupFirstBulletinNotify','onGroupNotifiesUpdated','onGroupListUpdate:','CnGxC','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete:','onGroupExtListUpdate:','TbdQJ','onGroupAllInfoChange','onGetGroupBulletinListResult','yKAvk','1959682ZWAwIU','onMemberListChange','log','onGroupMemberLevelInfoChange','teOiy','onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','onGroupDetailInfoChange:','368845Jeamie','455008ynHILn','OcKuP','onGroupAllInfoChange:','onGroupBulletinChange:','onGroupStatisticInfoChange','onMemberListChange:','OwXdl','XKmOI','onGroupConfMemberChange:','onGroupsMsgMaskResult','onShutUpMemberListChanged:','onSearchMemberChange','XYIFg','105CkENdH','onJoinGroupNotify:','onGroupBulletinChange','onGroupNotifiesUpdated:','onJoinGroupNotify'];_0x51a0=function(){return _0x400979;};return _0x51a0();}(function(_0xdfdc26,_0x30cfe6){var _0x4a0a9e=_0x7aee,_0x1e318c=_0xdfdc26();while(!![]){try{var _0x21c775=-parseInt(_0x4a0a9e(0x141))/0x1+parseInt(_0x4a0a9e(0x139))/0x2+-parseInt(_0x4a0a9e(0x16a))/0x3+parseInt(_0x4a0a9e(0x159))/0x4*(parseInt(_0x4a0a9e(0x14f))/0x5)+parseInt(_0x4a0a9e(0x163))/0x6*(-parseInt(_0x4a0a9e(0x166))/0x7)+-parseInt(_0x4a0a9e(0x142))/0x8+parseInt(_0x4a0a9e(0x156))/0x9;if(_0x21c775===_0x30cfe6)break;else _0x1e318c['push'](_0x1e318c['shift']());}catch(_0x575736){_0x1e318c['push'](_0x1e318c['shift']());}}}(_0x51a0,0x9606b));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x861d22){}[_0x45e8f4(0x137)](..._0x5593ba){}[_0x45e8f4(0x136)](..._0x5c2c65){}[_0x45e8f4(0x151)](..._0x1be349){}[_0x45e8f4(0x161)](..._0x40de35){}[_0x45e8f4(0x167)](..._0x32083e){}[_0x45e8f4(0x15e)](..._0x223443){}[_0x45e8f4(0x15a)](..._0x1963c2){}[_0x45e8f4(0x132)](..._0x32c413){}[_0x45e8f4(0x168)](..._0x1fa4a6){}[_0x45e8f4(0x12e)](..._0x2558ce){}[_0x45e8f4(0x154)](_0xce8b44,_0x5665d5){}[_0x45e8f4(0x12f)](_0x3575b5,_0x1fc731){}[_0x45e8f4(0x16b)](..._0x4b1e5c){}['onGroupNotifiesUnreadCountUpdated'](..._0x501953){}['onGroupSingleScreenNotifies'](_0x215e55,_0x272c12,_0x13fd98){}[_0x45e8f4(0x14b)](..._0x3eb595){}['onGroupStatisticInfoChange'](..._0x5f5b6c){}[_0x45e8f4(0x153)](..._0x511a7e){}['onJoinGroupNoVerifyFlag'](..._0x4a0a9f){}[_0x45e8f4(0x15f)](_0x2fdb68,_0x4109eb,_0x2ccfaf){}[_0x45e8f4(0x13a)](_0x28e949){}[_0x45e8f4(0x14d)](..._0x56a76a){}[_0x45e8f4(0x158)](..._0x458f28){}}export class DebugGroupListener{[_0x45e8f4(0x13c)](..._0x4168ac){var _0xf54eb6=_0x45e8f4,_0x3f111e={'edCnW':'onGroupMemberLevelInfoChange:'};console[_0xf54eb6(0x13b)](_0x3f111e['edCnW'],..._0x4168ac);}[_0x45e8f4(0x137)](..._0x109fbb){var _0x26a320=_0x45e8f4;console[_0x26a320(0x13b)](_0x26a320(0x165),..._0x109fbb);}[_0x45e8f4(0x136)](..._0x573c54){var _0x370064=_0x45e8f4,_0x20d2c2={'TbdQJ':_0x370064(0x144)};console['log'](_0x20d2c2[_0x370064(0x135)],..._0x573c54);}['onGroupBulletinChange'](..._0x127c01){var _0x4fb706=_0x45e8f4,_0x237260={'eBIGS':_0x4fb706(0x145)};console[_0x4fb706(0x13b)](_0x237260[_0x4fb706(0x164)],..._0x127c01);}['onGroupBulletinRemindNotify'](..._0x31de15){var _0x595702=_0x45e8f4,_0x262af5={'UCYwL':_0x595702(0x160)};console[_0x595702(0x13b)](_0x262af5[_0x595702(0x155)],..._0x31de15);}[_0x45e8f4(0x167)](..._0x47c0fd){var _0x144c6b={'ezcYb':'onGroupArkInviteStateResult:'};console['log'](_0x144c6b['ezcYb'],..._0x47c0fd);}[_0x45e8f4(0x15e)](..._0x157e5c){var _0x4d5f6a=_0x45e8f4,_0x306c5a={'XYIFg':_0x4d5f6a(0x133)};console[_0x4d5f6a(0x13b)](_0x306c5a[_0x4d5f6a(0x14e)],..._0x157e5c);}[_0x45e8f4(0x15a)](..._0x5436a6){var _0x4fda91=_0x45e8f4;console['log'](_0x4fda91(0x14a),..._0x5436a6);}[_0x45e8f4(0x132)](..._0x627f46){var _0x3746b2=_0x45e8f4;console['log'](_0x3746b2(0x140),..._0x627f46);}['onGroupExtListUpdate'](..._0xc87b8f){var _0x5ea8c7=_0x45e8f4;console[_0x5ea8c7(0x13b)](_0x5ea8c7(0x134),..._0xc87b8f);}[_0x45e8f4(0x12e)](..._0x2e3ac9){var _0x10e9aa=_0x45e8f4,_0x449bf8={'osaxk':_0x10e9aa(0x13f)};console[_0x10e9aa(0x13b)](_0x449bf8['osaxk'],..._0x2e3ac9);}[_0x45e8f4(0x154)](..._0x319add){var _0x167bc7=_0x45e8f4;console['log'](_0x167bc7(0x130),..._0x319add);}['onGroupNotifiesUpdated'](..._0x1f6ba4){var _0x49f4e7=_0x45e8f4;console['log'](_0x49f4e7(0x152),..._0x1f6ba4);}[_0x45e8f4(0x16b)](..._0x543cb9){var _0x591c24=_0x45e8f4;console[_0x591c24(0x13b)]('onGroupBulletinRichMediaProgressUpdate:',..._0x543cb9);}[_0x45e8f4(0x162)](..._0x52f9be){var _0x34a5e2=_0x45e8f4,_0x52f9c5={'teOiy':_0x34a5e2(0x169)};console[_0x34a5e2(0x13b)](_0x52f9c5[_0x34a5e2(0x13d)],..._0x52f9be);}['onGroupSingleScreenNotifies'](_0x31113a,_0x54f244,_0x5c928b){var _0x544d98=_0x45e8f4,_0x3e4e94={'cbsXN':_0x544d98(0x13e)};console[_0x544d98(0x13b)](_0x3e4e94[_0x544d98(0x16c)]);}['onGroupsMsgMaskResult'](..._0x5d0ace){var _0x4ce834=_0x45e8f4,_0x4d7451={'OcKuP':_0x4ce834(0x15d)};console[_0x4ce834(0x13b)](_0x4d7451[_0x4ce834(0x143)],..._0x5d0ace);}[_0x45e8f4(0x146)](..._0x8c71f4){var _0x2a80fd=_0x45e8f4,_0x4e4d9e={'CnGxC':_0x2a80fd(0x157)};console[_0x2a80fd(0x13b)](_0x4e4d9e[_0x2a80fd(0x131)],..._0x8c71f4);}['onJoinGroupNotify'](..._0x852987){var _0x31ab51=_0x45e8f4,_0x478296={'OwXdl':_0x31ab51(0x150)};console['log'](_0x478296[_0x31ab51(0x148)],..._0x852987);}[_0x45e8f4(0x15c)](..._0x89077c){var _0x55f6d1=_0x45e8f4,_0x417075={'XKmOI':_0x55f6d1(0x15b)};console[_0x55f6d1(0x13b)](_0x417075[_0x55f6d1(0x149)],..._0x89077c);}[_0x45e8f4(0x15f)](_0x3e80b0,_0x4b6f9b,_0xaa0911){var _0x56b355=_0x45e8f4,_0x2457d8={'TtGnb':'onMemberInfoChange:'};console[_0x56b355(0x13b)](_0x2457d8['TtGnb'],_0x3e80b0,_0x4b6f9b,_0xaa0911);}['onMemberListChange'](..._0x477884){var _0x3ee57f=_0x45e8f4,_0x716bc5={'asmnx':_0x3ee57f(0x147)};console[_0x3ee57f(0x13b)](_0x716bc5['asmnx'],..._0x477884);}['onSearchMemberChange'](..._0x5ebfbe){var _0x185c9d=_0x45e8f4,_0x6fb4ba={'UqXTB':'onSearchMemberChange:'};console[_0x185c9d(0x13b)](_0x6fb4ba['UqXTB'],..._0x5ebfbe);}[_0x45e8f4(0x158)](..._0x224d78){var _0x1f9bfd=_0x45e8f4,_0x5bf7ec={'yKAvk':_0x1f9bfd(0x14c)};console[_0x1f9bfd(0x13b)](_0x5bf7ec[_0x1f9bfd(0x138)],..._0x224d78);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 2d198a12..4d7e30b6 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0xc507b4=_0x39df;(function(_0x52db1e,_0x2bb0e5){var _0x3ba848=_0x39df,_0x4255fa=_0x52db1e();while(!![]){try{var _0x4f3656=-parseInt(_0x3ba848(0xe6))/0x1*(parseInt(_0x3ba848(0xe9))/0x2)+-parseInt(_0x3ba848(0xec))/0x3*(-parseInt(_0x3ba848(0xe7))/0x4)+parseInt(_0x3ba848(0xe4))/0x5*(parseInt(_0x3ba848(0xeb))/0x6)+parseInt(_0x3ba848(0xe5))/0x7+parseInt(_0x3ba848(0xde))/0x8+parseInt(_0x3ba848(0xef))/0x9*(parseInt(_0x3ba848(0xe3))/0xa)+-parseInt(_0x3ba848(0xe2))/0xb;if(_0x4f3656===_0x2bb0e5)break;else _0x4255fa['push'](_0x4255fa['shift']());}catch(_0x54b09b){_0x4255fa['push'](_0x4255fa['shift']());}}}(_0x15f4,0xc1002));export class LoginListener{['onLoginConnected'](..._0x52fa23){}[_0xc507b4(0xee)](..._0x3a55b8){}['onLoginConnecting'](..._0x55fb4e){}[_0xc507b4(0xdf)](_0x3bbd8a){}[_0xc507b4(0xf2)](..._0x579c88){}[_0xc507b4(0xdd)](..._0x5ce135){}['onQRCodeLoginSucceed'](_0x5e9d46){}['onQRCodeSessionFailed'](..._0x359e57){}[_0xc507b4(0xe0)](..._0x70d73a){}[_0xc507b4(0xe8)](..._0x5619e5){}[_0xc507b4(0xf0)](..._0x19ead4){}[_0xc507b4(0xea)](..._0xd362e6){}['onQRCodeSessionQuickLoginFailed'](..._0x14d81a){}['onPasswordLoginFailed'](..._0x3d42d9){}[_0xc507b4(0xed)](..._0x445a6e){}[_0xc507b4(0xe1)](..._0x277f0b){}[_0xc507b4(0xf1)](..._0x256e3f){}}function _0x39df(_0x244bd3,_0x54f452){var _0x15f432=_0x15f4();return _0x39df=function(_0x39df35,_0x3c86a5){_0x39df35=_0x39df35-0xdd;var _0xdc48c7=_0x15f432[_0x39df35];return _0xdc48c7;},_0x39df(_0x244bd3,_0x54f452);}function _0x15f4(){var _0x4c4139=['onLoginFailed','onQQLoginNumLimited','18327342VIuYjo','20OtgHQL','35660OoWcZp','1403339caPKmC','186281SPbohp','4605004yHGAUs','onLogoutSucceed','2WTaXla','onUserLoggedIn','96jIGcVI','3cEJtYs','OnConfirmUnusualDeviceFailed','onLoginDisConnected','2043603UUyyXu','onLogoutFailed','onLoginState','onQRCodeLoginPollingStarted','onQRCodeSessionUserScaned','5783672cATBoX','onQRCodeGetPicture'];_0x15f4=function(){return _0x4c4139;};return _0x15f4();} \ No newline at end of file +var _0x4a23f7=_0x1a91;function _0x3734(){var _0xd01d49=['57638530ACJNBW','462628wCWMHP','onLogoutFailed','onPasswordLoginFailed','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','onLoginDisConnected','11759920LDGniL','onQRCodeGetPicture','onLoginState','onLoginFailed','2969230gyqBIt','9YHYrjZ','15paAgSV','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','1682710KYWfUH','onUserLoggedIn','4JdSUlt','onQRCodeSessionFailed','10553081KfNXUa','onQRCodeLoginPollingStarted','4670352hIpjdF'];_0x3734=function(){return _0xd01d49;};return _0x3734();}function _0x1a91(_0x440259,_0x4edcee){var _0x3734d2=_0x3734();return _0x1a91=function(_0x1a91c0,_0x2da6d3){_0x1a91c0=_0x1a91c0-0xad;var _0x594105=_0x3734d2[_0x1a91c0];return _0x594105;},_0x1a91(_0x440259,_0x4edcee);}(function(_0x31e27f,_0x308a49){var _0x4b6fb8=_0x1a91,_0x38d81d=_0x31e27f();while(!![]){try{var _0x2e9514=-parseInt(_0x4b6fb8(0xba))/0x1+-parseInt(_0x4b6fb8(0xc2))/0x2*(-parseInt(_0x4b6fb8(0xb7))/0x3)+-parseInt(_0x4b6fb8(0xbc))/0x4*(parseInt(_0x4b6fb8(0xb5))/0x5)+-parseInt(_0x4b6fb8(0xc0))/0x6+-parseInt(_0x4b6fb8(0xbe))/0x7+-parseInt(_0x4b6fb8(0xb1))/0x8+parseInt(_0x4b6fb8(0xb6))/0x9*(parseInt(_0x4b6fb8(0xc1))/0xa);if(_0x2e9514===_0x308a49)break;else _0x38d81d['push'](_0x38d81d['shift']());}catch(_0x18b568){_0x38d81d['push'](_0x38d81d['shift']());}}}(_0x3734,0xd8c5e));export class LoginListener{['onLoginConnected'](..._0x2197a2){}[_0x4a23f7(0xb0)](..._0x3ecd65){}['onLoginConnecting'](..._0x5c8021){}[_0x4a23f7(0xb2)](_0x43aedf){}[_0x4a23f7(0xbf)](..._0x13068a){}[_0x4a23f7(0xb9)](..._0xbe6849){}[_0x4a23f7(0xb8)](_0x282638){}[_0x4a23f7(0xbd)](..._0x4a6f5c){}[_0x4a23f7(0xb4)](..._0x4ffab0){}['onLogoutSucceed'](..._0x1ced93){}[_0x4a23f7(0xc3)](..._0x4f2488){}[_0x4a23f7(0xbb)](..._0x2fc8ef){}[_0x4a23f7(0xaf)](..._0x395398){}[_0x4a23f7(0xad)](..._0x451d52){}['OnConfirmUnusualDeviceFailed'](..._0x418024){}[_0x4a23f7(0xae)](..._0x228bdf){}[_0x4a23f7(0xb3)](..._0x574b74){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index d2a4fafe..bac61c3c 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x1b7ea2=_0x1114;function _0x1114(_0x2b3cb9,_0x478bfc){var _0x36eaab=_0x36ea();return _0x1114=function(_0x111467,_0x266aa0){_0x111467=_0x111467-0x65;var _0x391c8b=_0x36eaab[_0x111467];return _0x391c8b;},_0x1114(_0x2b3cb9,_0x478bfc);}(function(_0x520ab0,_0x31943c){var _0x260163=_0x1114,_0x4d3590=_0x520ab0();while(!![]){try{var _0x9d23d6=parseInt(_0x260163(0x71))/0x1+-parseInt(_0x260163(0x6a))/0x2+-parseInt(_0x260163(0x66))/0x3+-parseInt(_0x260163(0x9a))/0x4*(-parseInt(_0x260163(0x74))/0x5)+parseInt(_0x260163(0x8e))/0x6+-parseInt(_0x260163(0x88))/0x7+-parseInt(_0x260163(0x7c))/0x8;if(_0x9d23d6===_0x31943c)break;else _0x4d3590['push'](_0x4d3590['shift']());}catch(_0x21f9b8){_0x4d3590['push'](_0x4d3590['shift']());}}}(_0x36ea,0xb4a46));export class MsgListener{[_0x1b7ea2(0x98)](_0x4f7afa){}[_0x1b7ea2(0x95)](_0x422559){}['onBroadcastHelperProgressUpdate'](_0x10a9b2){}[_0x1b7ea2(0x70)](_0x231d27,_0x165088,_0x2ff5bf){}[_0x1b7ea2(0x97)](_0x23bc7f){}['onCustomWithdrawConfigUpdate'](_0x5a11df){}['onDraftUpdate'](_0x5ea5c2,_0x1842f1,_0x21c5c7){}['onEmojiDownloadComplete'](_0x410c12){}[_0x1b7ea2(0x89)](_0x204357){}[_0x1b7ea2(0x79)](_0x16b279){}[_0x1b7ea2(0x94)](_0x28ae42){}[_0x1b7ea2(0x78)](_0x5e2840){}[_0x1b7ea2(0x90)](_0x40aee4){}['onGrabPasswordRedBag'](_0xff0f9f,_0x470b0b,_0x1647e6,_0xe2475f,_0x222fc3){}['onGroupFileInfoAdd'](_0x2f912f){}[_0x1b7ea2(0x92)](_0x2ba776){}[_0x1b7ea2(0x7a)](_0x1d11f4){}[_0x1b7ea2(0x9e)](_0x4c5de7){}[_0x1b7ea2(0x99)](_0x4a28bf){}[_0x1b7ea2(0x8b)](_0xffe5e1){}[_0x1b7ea2(0x6f)](_0x3a7852){}[_0x1b7ea2(0x65)](_0x2cbcbe){}[_0x1b7ea2(0x9f)](_0x26b0b7){}[_0x1b7ea2(0x6e)](_0x4353d4){}[_0x1b7ea2(0x6d)](_0x1cd620){}[_0x1b7ea2(0x81)](_0x24f74b){}[_0x1b7ea2(0x93)](_0x2b0e2b){}[_0x1b7ea2(0x6c)](_0x117177){}[_0x1b7ea2(0x82)](_0x287bb7){}[_0x1b7ea2(0x67)](_0x525ceb){}[_0x1b7ea2(0x69)](_0x399553){}[_0x1b7ea2(0x9b)](_0x7ce245){}['onMsgDelete'](_0x5385d9,_0x36e0bc){}['onMsgEventListUpdate'](_0x3ed23e){}[_0x1b7ea2(0x8f)](_0x1de16c){}[_0x1b7ea2(0x9c)](_0x464c11){}['onMsgQRCodeStatusChanged'](_0x20d67e){}[_0x1b7ea2(0x8d)](_0x537c02,_0x296dca,_0x5dbfa2){}[_0x1b7ea2(0x68)](_0x54c6e5){}[_0x1b7ea2(0x8c)](_0x5946c4){}[_0x1b7ea2(0x76)](){}['onNtMsgSyncEnd'](){}[_0x1b7ea2(0x7e)](){}['onReadFeedEventUpdate'](_0x2923cb){}[_0x1b7ea2(0x7b)](_0x121849){}[_0x1b7ea2(0x7d)](_0x265f0b){}['onRecvMsgSvrRspTransInfo'](_0x5efa83,_0x5aecf4,_0x461002,_0x1fb488,_0x4a1c20,_0x2874a3){}['onRecvOnlineFileMsg'](_0x370297){}[_0x1b7ea2(0x85)](_0x2f6260){}[_0x1b7ea2(0x8a)](_0xf462d8){}[_0x1b7ea2(0x91)](_0x325a85){}[_0x1b7ea2(0x77)](_0x275bce){}[_0x1b7ea2(0x80)](_0x974084){}[_0x1b7ea2(0x72)](_0x1a3da2){}[_0x1b7ea2(0x7f)](_0x35e328){}['onSendMsgError'](_0xdce637,_0x17dcfe,_0x146f14,_0x1b6a4c){}['onSysMsgNotification'](_0x3e2ccf,_0x63c8f3,_0xee6f5f,_0x2f48f3){}['onTempChatInfoUpdate'](_0x1598e7){}[_0x1b7ea2(0x87)](_0x538953){}[_0x1b7ea2(0x84)](_0x2d9607){}[_0x1b7ea2(0x9d)](_0x3d5193){}[_0x1b7ea2(0x96)](_0x44bd09){}[_0x1b7ea2(0x6b)](_0x5d411b){}[_0x1b7ea2(0x86)](_0x1f1c2d,_0xa5887,_0x479298){}['onlineStatusSmallIconDownloadPush'](_0x1742e1,_0x1730be,_0x2fd72d){}[_0x1b7ea2(0x83)](..._0x54003f){}[_0x1b7ea2(0x75)](..._0x314dd2){}['onRedTouchChanged'](..._0x6b5129){}[_0x1b7ea2(0x73)](..._0x2fed82){}}function _0x36ea(){var _0x1e7f70=['onFileMsgCome','onBroadcastHelperDownloadComplete','onUserOnlineStatusChanged','onContactUnreadCntUpdate','onAddSendMsg','onGroupTransferInfoUpdate','4eGTwiN','onMsgBoxChanged','onMsgInfoListUpdate','onUserChannelTabStatusChanged','onGroupTransferInfoAdd','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','2036643YPQSsQ','onLogLevelChanged','onMsgSecurityNotify','onMsgAbstractUpdate','1570150AjXLhx','onUserTabStatusChanged','onKickedOffLine','onHitRelatedEmojiResult','onHitEmojiKeywordResult','onGuildMsgAbFlagChanged','onChannelFreqLimitInfoUpdate','892361jnquCq','onRichMediaUploadComplete','onBroadcastHelperProgerssUpdate','7037440LPISeX','onMsgWithRichLinkInfoUpdate','onNtFirstViewMsgSyncEnd','onRichMediaDownloadComplete','onFirstViewDirectMsgUpdate','onFeedEventUpdate','onGroupGuildUpdate','onRecvGroupGuildFlag','1073472dbauYv','onRecvMsg','onNtMsgSyncStart','onSearchGroupFileInfoUpdate','onRichMediaProgerssUpdate','onImportOldDbProgressUpdate','onLineDev','onUserSecQualityChanged','onUnreadCntUpdate','onRecvS2CMsg','onlineStatusBigIconDownloadPush','onUnreadCntAfterFirstView','9697758OuxCDg','onEmojiResourceUpdate','onRecvSysMsg','onGuildInteractiveUpdate','onMsgSettingUpdate','onMsgRecall','8541570YqtodQ','onMsgInfoListAdd','onFirstViewGroupGuildMapping','onRecvUDCFlag','onGroupFileInfoUpdate','onInputStatusPush'];_0x36ea=function(){return _0x1e7f70;};return _0x36ea();} \ No newline at end of file +function _0x2f93(){var _0x28399a=['onRichMediaUploadComplete','onLineDev','74418aNmPHP','onMsgRecall','onMsgInfoListUpdate','onGroupTransferInfoUpdate','onGroupGuildUpdate','onGuildNotificationAbstractUpdate','3536NlSObx','onImportOldDbProgressUpdate','onMsgInfoListAdd','18dmqUkI','2856042bxglrq','onEmojiResourceUpdate','onRecvMsgSvrRspTransInfo','onMsgDelete','onUnreadCntUpdate','onCustomWithdrawConfigUpdate','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onMsgSecurityNotify','786110ofZnav','onFileMsgCome','onNtMsgSyncEnd','onHitRelatedEmojiResult','onMsgAbstractUpdate','758416HQaUcX','onChannelFreqLimitInfoUpdate','onNtMsgSyncStart','onRecvMsg','onSysMsgNotification','onSearchGroupFileInfoUpdate','onUnreadCntAfterFirstView','onGuildInteractiveUpdate','240AnpkZy','onUserSecQualityChanged','onMsgSettingUpdate','onFeedEventUpdate','onMsgQRCodeStatusChanged','onMsgWithRichLinkInfoUpdate','onGrabPasswordRedBag','onRecvGroupGuildFlag','onMsgEventListUpdate','onSendMsgError','onTempChatInfoUpdate','onBroadcastHelperDownloadComplete','onReadFeedEventUpdate','2007442GTASik','onRedTouchChanged','onDraftUpdate','onKickedOffLine','3ZXPbJl','onAddSendMsg','onUserTabStatusChanged','onRecvUDCFlag','onHitCsRelatedEmojiResult','onRecvS2CMsg','onUserOnlineStatusChanged','onlineStatusSmallIconDownloadPush','6683680VKCzxZ','onRecvSysMsg'];_0x2f93=function(){return _0x28399a;};return _0x2f93();}function _0x1112(_0x332a4a,_0x3d18f2){var _0x2f9304=_0x2f93();return _0x1112=function(_0x11126e,_0x1a1bde){_0x11126e=_0x11126e-0x18c;var _0x34a70d=_0x2f9304[_0x11126e];return _0x34a70d;},_0x1112(_0x332a4a,_0x3d18f2);}var _0x1d9626=_0x1112;(function(_0x2e299d,_0x126b1a){var _0x564ed9=_0x1112,_0x28f894=_0x2e299d();while(!![]){try{var _0x135c71=parseInt(_0x564ed9(0x1be))/0x1+parseInt(_0x564ed9(0x196))/0x2*(parseInt(_0x564ed9(0x19a))/0x3)+-parseInt(_0x564ed9(0x1ac))/0x4+-parseInt(_0x564ed9(0x1c6))/0x5*(parseInt(_0x564ed9(0x1a6))/0x6)+parseInt(_0x564ed9(0x1b0))/0x7+-parseInt(_0x564ed9(0x1a2))/0x8+parseInt(_0x564ed9(0x1af))/0x9*(-parseInt(_0x564ed9(0x1b9))/0xa);if(_0x135c71===_0x126b1a)break;else _0x28f894['push'](_0x28f894['shift']());}catch(_0x4d3e1d){_0x28f894['push'](_0x28f894['shift']());}}}(_0x2f93,0x8de71));export class MsgListener{[_0x1d9626(0x19b)](_0x45ad29){}[_0x1d9626(0x194)](_0x2eb488){}['onBroadcastHelperProgressUpdate'](_0x2bfe05){}[_0x1d9626(0x1bf)](_0x3f453e,_0x491b78,_0x12a4cd){}['onContactUnreadCntUpdate'](_0x25a9c1){}[_0x1d9626(0x1b5)](_0x593a7f){}[_0x1d9626(0x198)](_0x4a1ff4,_0x19207c,_0x3f4adc){}['onEmojiDownloadComplete'](_0x1e56d3){}[_0x1d9626(0x1b1)](_0x2c72b0){}[_0x1d9626(0x18c)](_0x4107e7){}[_0x1d9626(0x1ba)](_0x5a81d6){}['onFirstViewDirectMsgUpdate'](_0x54a906){}['onFirstViewGroupGuildMapping'](_0xff4a07){}[_0x1d9626(0x18f)](_0x21cbd4,_0x3c6157,_0x3f1304,_0x2ed494,_0x2a43f9){}['onGroupFileInfoAdd'](_0x97499d){}['onGroupFileInfoUpdate'](_0xde1191){}[_0x1d9626(0x1aa)](_0x303664){}['onGroupTransferInfoAdd'](_0x2e8ddc){}[_0x1d9626(0x1a9)](_0x4e0ec8){}[_0x1d9626(0x1c5)](_0x455079){}['onGuildMsgAbFlagChanged'](_0x2032dc){}[_0x1d9626(0x1ab)](_0x4dc316){}[_0x1d9626(0x19e)](_0x1830d0){}['onHitEmojiKeywordResult'](_0x1282e1){}[_0x1d9626(0x1bc)](_0x5d1ae3){}[_0x1d9626(0x1ad)](_0x362b1e){}['onInputStatusPush'](_0x3fcf2c){}[_0x1d9626(0x199)](_0x573930){}[_0x1d9626(0x1a5)](_0x5a8347){}['onLogLevelChanged'](_0x2ebef2){}[_0x1d9626(0x1bd)](_0x45b1e5){}['onMsgBoxChanged'](_0x1f17db){}[_0x1d9626(0x1b3)](_0x55d0c8,_0x88aa3c){}[_0x1d9626(0x191)](_0x3e9be2){}[_0x1d9626(0x1ae)](_0x196283){}[_0x1d9626(0x1a8)](_0x46abca){}[_0x1d9626(0x18d)](_0x1b6fff){}[_0x1d9626(0x1a7)](_0x2b6a97,_0x371546,_0x57083c){}[_0x1d9626(0x1b8)](_0x5743ae){}[_0x1d9626(0x1c8)](_0x182486){}['onNtFirstViewMsgSyncEnd'](){}[_0x1d9626(0x1bb)](){}[_0x1d9626(0x1c0)](){}[_0x1d9626(0x195)](_0x408c7c){}[_0x1d9626(0x190)](_0x7c4405){}[_0x1d9626(0x1c1)](_0x179d3c){}[_0x1d9626(0x1b2)](_0x24bade,_0x527b22,_0x3827de,_0x3e1f6e,_0xa1b40d,_0x73f3c0){}['onRecvOnlineFileMsg'](_0x13e129){}[_0x1d9626(0x19f)](_0x53b5d0){}[_0x1d9626(0x1a3)](_0x233382){}[_0x1d9626(0x19d)](_0x1aec57){}[_0x1d9626(0x1b6)](_0x9a91a0){}[_0x1d9626(0x1b7)](_0x54dc37){}[_0x1d9626(0x1a4)](_0x44966f){}[_0x1d9626(0x1c3)](_0x18f98d){}[_0x1d9626(0x192)](_0x277c82,_0x481786,_0x4260c1,_0x2e0c4e){}[_0x1d9626(0x1c2)](_0x4f4367,_0x55ec18,_0xb7bfa3,_0x17145c){}[_0x1d9626(0x193)](_0x33de0c){}[_0x1d9626(0x1c4)](_0x4e9f3c){}[_0x1d9626(0x1b4)](_0x54e201){}['onUserChannelTabStatusChanged'](_0x5344f5){}[_0x1d9626(0x1a0)](_0x22cfea){}[_0x1d9626(0x19c)](_0x5d2eff){}['onlineStatusBigIconDownloadPush'](_0x3cba27,_0x43d895,_0x32783a){}[_0x1d9626(0x1a1)](_0x589dce,_0x3e288d,_0x2c6b42){}[_0x1d9626(0x1c7)](..._0x3d8551){}[_0x1d9626(0x18e)](..._0x5e4d61){}[_0x1d9626(0x197)](..._0x515884){}['onBroadcastHelperProgerssUpdate'](..._0x43826e){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index f4b4b1df..c3cee6c2 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x24ca(_0x44307d,_0x37eac7){var _0x43aed5=_0x43ae();return _0x24ca=function(_0x24ca10,_0x29d0d8){_0x24ca10=_0x24ca10-0x1d8;var _0x11c9b3=_0x43aed5[_0x24ca10];return _0x11c9b3;},_0x24ca(_0x44307d,_0x37eac7);}function _0x43ae(){var _0x2324a7=['2551655WPXRnF','123IMxmcB','714364cHcpIe','32zmIfrD','2181408DPDtfW','onStrangerRemarkChanged','45vwILcG','769381roWHNX','onProfileSimpleChanged','1418172eWKIoJ','3303350flzoyu','onSelfStatusChanged','22268mLGBnV'];_0x43ae=function(){return _0x2324a7;};return _0x43ae();}var _0x4be51c=_0x24ca;(function(_0x300d8c,_0x3c5e89){var _0x2e895d=_0x24ca,_0x164a07=_0x300d8c();while(!![]){try{var _0xd3915=-parseInt(_0x2e895d(0x1db))/0x1+-parseInt(_0x2e895d(0x1dd))/0x2+-parseInt(_0x2e895d(0x1e2))/0x3*(parseInt(_0x2e895d(0x1e0))/0x4)+parseInt(_0x2e895d(0x1e1))/0x5+parseInt(_0x2e895d(0x1d8))/0x6+-parseInt(_0x2e895d(0x1e3))/0x7*(parseInt(_0x2e895d(0x1e4))/0x8)+-parseInt(_0x2e895d(0x1da))/0x9*(-parseInt(_0x2e895d(0x1de))/0xa);if(_0xd3915===_0x3c5e89)break;else _0x164a07['push'](_0x164a07['shift']());}catch(_0x30f6d5){_0x164a07['push'](_0x164a07['shift']());}}}(_0x43ae,0x6441c));export class ProfileListener{[_0x4be51c(0x1dc)](..._0x157b1d){}['onProfileDetailInfoChanged'](_0x3ccb80){}['onStatusUpdate'](..._0x2b8d78){}[_0x4be51c(0x1df)](..._0x549137){}[_0x4be51c(0x1d9)](..._0x5f17c3){}} \ No newline at end of file +var _0x3a82e4=_0x3782;function _0x5c2a(){var _0x248eb0=['4boSMcG','55218PXLHuS','399XseTDU','581988KeFIOM','33hISzEi','182FYMbVk','133305qvCUrh','4596744qhFziJ','245397sOpDUv','onProfileSimpleChanged','3284690wDjQOH','5776000imQIxO','18dqLHSc','12pcFONw'];_0x5c2a=function(){return _0x248eb0;};return _0x5c2a();}function _0x3782(_0x3b0d2f,_0x3becf8){var _0x5c2a8d=_0x5c2a();return _0x3782=function(_0x378296,_0x54cd36){_0x378296=_0x378296-0x148;var _0x362aaf=_0x5c2a8d[_0x378296];return _0x362aaf;},_0x3782(_0x3b0d2f,_0x3becf8);}(function(_0x55fdd0,_0x3d6b6b){var _0x56bda2=_0x3782,_0x54c5cc=_0x55fdd0();while(!![]){try{var _0x1e9321=parseInt(_0x56bda2(0x151))/0x1*(parseInt(_0x56bda2(0x14b))/0x2)+-parseInt(_0x56bda2(0x153))/0x3*(-parseInt(_0x56bda2(0x14a))/0x4)+parseInt(_0x56bda2(0x148))/0x5+-parseInt(_0x56bda2(0x14c))/0x6*(parseInt(_0x56bda2(0x14d))/0x7)+parseInt(_0x56bda2(0x152))/0x8*(parseInt(_0x56bda2(0x149))/0x9)+parseInt(_0x56bda2(0x155))/0xa*(-parseInt(_0x56bda2(0x14f))/0xb)+-parseInt(_0x56bda2(0x14e))/0xc*(parseInt(_0x56bda2(0x150))/0xd);if(_0x1e9321===_0x3d6b6b)break;else _0x54c5cc['push'](_0x54c5cc['shift']());}catch(_0x5a0bbd){_0x54c5cc['push'](_0x54c5cc['shift']());}}}(_0x5c2a,0x992e5));export class ProfileListener{[_0x3a82e4(0x154)](..._0x545fb2){}['onProfileDetailInfoChanged'](_0x40e2c7){}['onStatusUpdate'](..._0x50e3f0){}['onSelfStatusChanged'](..._0x4492a5){}['onStrangerRemarkChanged'](..._0x1e3b2d){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 8ad442cf..14297c31 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x50d0ad=_0x43cb;function _0x1226(){var _0x3c2179=['3419032Swyqgb','155475iDCcZl','1786257seNjWe','120AkiYJy','1123ByUGBo','48GNPrtU','2589594uejTlq','onRobotFriendListChanged','526xLlVyi','onRobotListChanged','43570eZlKVO','1475412IqUpCm'];_0x1226=function(){return _0x3c2179;};return _0x1226();}(function(_0x18aa06,_0x2f450f){var _0x448b0a=_0x43cb,_0x75b122=_0x18aa06();while(!![]){try{var _0x5ee9bd=-parseInt(_0x448b0a(0x1f5))/0x1*(-parseInt(_0x448b0a(0x1f9))/0x2)+parseInt(_0x448b0a(0x1f3))/0x3+-parseInt(_0x448b0a(0x1f0))/0x4+parseInt(_0x448b0a(0x1ef))/0x5*(parseInt(_0x448b0a(0x1f6))/0x6)+parseInt(_0x448b0a(0x1f7))/0x7+-parseInt(_0x448b0a(0x1f1))/0x8+parseInt(_0x448b0a(0x1f2))/0x9*(-parseInt(_0x448b0a(0x1f4))/0xa);if(_0x5ee9bd===_0x2f450f)break;else _0x75b122['push'](_0x75b122['shift']());}catch(_0x152b13){_0x75b122['push'](_0x75b122['shift']());}}}(_0x1226,0x4fcea));function _0x43cb(_0x1f8062,_0x4e26f4){var _0x1226ea=_0x1226();return _0x43cb=function(_0x43cb9a,_0x4327ac){_0x43cb9a=_0x43cb9a-0x1ee;var _0x1e4083=_0x1226ea[_0x43cb9a];return _0x1e4083;},_0x43cb(_0x1f8062,_0x4e26f4);}export class KernelRobotListener{[_0x50d0ad(0x1f8)](..._0x306fc9){}[_0x50d0ad(0x1ee)](..._0x552ba1){}['onRobotProfileChanged'](..._0x2eefd4){}} \ No newline at end of file +function _0x8dcf(_0x402aec,_0x473f47){var _0x3531e2=_0x3531();return _0x8dcf=function(_0x8dcf48,_0xfc39b7){_0x8dcf48=_0x8dcf48-0x6d;var _0x1b3c0a=_0x3531e2[_0x8dcf48];return _0x1b3c0a;},_0x8dcf(_0x402aec,_0x473f47);}var _0x1867c2=_0x8dcf;(function(_0x5da2d5,_0x30a579){var _0x37c1d7=_0x8dcf,_0x250290=_0x5da2d5();while(!![]){try{var _0x18f4b0=-parseInt(_0x37c1d7(0x6f))/0x1*(-parseInt(_0x37c1d7(0x78))/0x2)+-parseInt(_0x37c1d7(0x76))/0x3+-parseInt(_0x37c1d7(0x70))/0x4*(-parseInt(_0x37c1d7(0x75))/0x5)+parseInt(_0x37c1d7(0x71))/0x6+parseInt(_0x37c1d7(0x74))/0x7*(parseInt(_0x37c1d7(0x6d))/0x8)+-parseInt(_0x37c1d7(0x77))/0x9+-parseInt(_0x37c1d7(0x6e))/0xa*(parseInt(_0x37c1d7(0x72))/0xb);if(_0x18f4b0===_0x30a579)break;else _0x250290['push'](_0x250290['shift']());}catch(_0x50d285){_0x250290['push'](_0x250290['shift']());}}}(_0x3531,0x9cc83));function _0x3531(){var _0x229f11=['56580tSZzCk','266928UuqtIY','11261151qunGoO','2882EdeLSr','8072nTPimv','2833140PCpKzM','501dmdCZh','92UCreYM','4465578JCnKvy','33nxGYaa','onRobotFriendListChanged','7672tdpRSH'];_0x3531=function(){return _0x229f11;};return _0x3531();}export class KernelRobotListener{[_0x1867c2(0x73)](..._0x57a92a){}['onRobotListChanged'](..._0x5b944f){}['onRobotProfileChanged'](..._0x528036){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index da6765c3..f180b276 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x5724(){var _0x25ed35=['336XdjOmW','onOpentelemetryInit','2072570JWuaVC','onGProSessionCreate','onGetSelfTinyId','2015862IzUpIN','onSessionInitComplete','onUserOnlineResult','45LyajAV','2104512NMJQFN','35SQhDtO','50724WbPDXt','11UrpjFz','onNTSessionCreate','1uRPghb','659632CgdRDE','33333552MWaMCZ','437004hqyMIm'];_0x5724=function(){return _0x25ed35;};return _0x5724();}var _0x5a90d6=_0x4a89;function _0x4a89(_0x51ce7a,_0x3ae033){var _0x57240=_0x5724();return _0x4a89=function(_0x4a890c,_0x15a7ae){_0x4a890c=_0x4a890c-0x13d;var _0xd917ff=_0x57240[_0x4a890c];return _0xd917ff;},_0x4a89(_0x51ce7a,_0x3ae033);}(function(_0x343c27,_0x2c0b96){var _0x3d1c2a=_0x4a89,_0x2361c3=_0x343c27();while(!![]){try{var _0xdd54fa=parseInt(_0x3d1c2a(0x143))/0x1*(parseInt(_0x3d1c2a(0x14c))/0x2)+-parseInt(_0x3d1c2a(0x146))/0x3+parseInt(_0x3d1c2a(0x144))/0x4*(-parseInt(_0x3d1c2a(0x13f))/0x5)+-parseInt(_0x3d1c2a(0x140))/0x6*(parseInt(_0x3d1c2a(0x147))/0x7)+-parseInt(_0x3d1c2a(0x13e))/0x8+-parseInt(_0x3d1c2a(0x13d))/0x9*(parseInt(_0x3d1c2a(0x149))/0xa)+-parseInt(_0x3d1c2a(0x141))/0xb*(-parseInt(_0x3d1c2a(0x145))/0xc);if(_0xdd54fa===_0x2c0b96)break;else _0x2361c3['push'](_0x2361c3['shift']());}catch(_0x38e1f9){_0x2361c3['push'](_0x2361c3['shift']());}}}(_0x5724,0xbe912));export class SessionListener{[_0x5a90d6(0x142)](_0x1e493c){}[_0x5a90d6(0x14a)](_0x2e60d0){}[_0x5a90d6(0x14d)](_0x4a5b9){}[_0x5a90d6(0x148)](_0x1a89ae){}[_0x5a90d6(0x14e)](_0x4eb3c5){}[_0x5a90d6(0x14b)](_0x2079dd){}} \ No newline at end of file +var _0x3217ce=_0x1b53;function _0x1b53(_0x31fa45,_0xeba2ba){var _0x3a13a5=_0x3a13();return _0x1b53=function(_0x1b535f,_0x1d9462){_0x1b535f=_0x1b535f-0xc0;var _0x48c9c4=_0x3a13a5[_0x1b535f];return _0x48c9c4;},_0x1b53(_0x31fa45,_0xeba2ba);}function _0x3a13(){var _0x3eadd6=['2005899rLKGkJ','6mUbYPC','8312FCRrPh','onNTSessionCreate','2992548yVRcrO','3657423njcaNd','19080hKyPtu','4066760XYFlgu','onGProSessionCreate','onOpentelemetryInit','297888SPzcvs','onUserOnlineResult','3080550Owfuvm'];_0x3a13=function(){return _0x3eadd6;};return _0x3a13();}(function(_0x5c0fec,_0x43e46d){var _0x132868=_0x1b53,_0x45a8b2=_0x5c0fec();while(!![]){try{var _0x67783=-parseInt(_0x132868(0xc7))/0x1*(-parseInt(_0x132868(0xcb))/0x2)+parseInt(_0x132868(0xca))/0x3+-parseInt(_0x132868(0xc1))/0x4+parseInt(_0x132868(0xc4))/0x5+parseInt(_0x132868(0xc9))/0x6+parseInt(_0x132868(0xc2))/0x7+-parseInt(_0x132868(0xcc))/0x8*(parseInt(_0x132868(0xc3))/0x9);if(_0x67783===_0x43e46d)break;else _0x45a8b2['push'](_0x45a8b2['shift']());}catch(_0x50d84a){_0x45a8b2['push'](_0x45a8b2['shift']());}}}(_0x3a13,0x707ca));export class SessionListener{[_0x3217ce(0xc0)](_0x2c5032){}[_0x3217ce(0xc5)](_0x349f35){}['onSessionInitComplete'](_0x2aa360){}[_0x3217ce(0xc6)](_0x3b1b75){}[_0x3217ce(0xc8)](_0x423acc){}['onGetSelfTinyId'](_0x355c85){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index e7606067..7c46590f 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x39fd(_0x45ab11,_0x710476){var _0x2abd2c=_0x2abd();return _0x39fd=function(_0x39fd20,_0x20d49a){_0x39fd20=_0x39fd20-0x1b5;var _0x5eb03e=_0x2abd2c[_0x39fd20];return _0x5eb03e;},_0x39fd(_0x45ab11,_0x710476);}function _0x2abd(){var _0x58062b=['9437013PlIIZT','onCleanCacheStorageChanged','96xnrfkO','2154522Jjgymz','922999CHXrJs','onFinishScan','1613540ULTrDK','2628300rvuPtO','onChatCleanDone','onCleanCacheProgressChanged','2180154zQKleE','onScanCacheProgressChanged','8WcBQKQ','10UFqCpf','582638eyNFKh'];_0x2abd=function(){return _0x58062b;};return _0x2abd();}var _0x2e4ccf=_0x39fd;(function(_0x26ad9d,_0x317542){var _0x3b83ac=_0x39fd,_0x457d7f=_0x26ad9d();while(!![]){try{var _0x1973be=-parseInt(_0x3b83ac(0x1c2))/0x1+-parseInt(_0x3b83ac(0x1b5))/0x2+parseInt(_0x3b83ac(0x1c1))/0x3*(parseInt(_0x3b83ac(0x1bb))/0x4)+-parseInt(_0x3b83ac(0x1bc))/0x5*(parseInt(_0x3b83ac(0x1b9))/0x6)+parseInt(_0x3b83ac(0x1bd))/0x7*(parseInt(_0x3b83ac(0x1c0))/0x8)+parseInt(_0x3b83ac(0x1be))/0x9+-parseInt(_0x3b83ac(0x1b6))/0xa;if(_0x1973be===_0x317542)break;else _0x457d7f['push'](_0x457d7f['shift']());}catch(_0x476b83){_0x457d7f['push'](_0x457d7f['shift']());}}}(_0x2abd,0xba9ec));export class StorageCleanListener{[_0x2e4ccf(0x1b8)](_0x1cda0c){}[_0x2e4ccf(0x1ba)](_0x4bf53f){}[_0x2e4ccf(0x1bf)](_0x5dcf7d){}[_0x2e4ccf(0x1c3)](_0x328d02){}[_0x2e4ccf(0x1b7)](_0x2b0e3e){}} \ No newline at end of file +var _0x1eee99=_0x586a;(function(_0x517108,_0x5c5c7d){var _0x56029b=_0x586a,_0xe5f51e=_0x517108();while(!![]){try{var _0x1ddd95=-parseInt(_0x56029b(0x89))/0x1*(parseInt(_0x56029b(0x8f))/0x2)+parseInt(_0x56029b(0x86))/0x3+-parseInt(_0x56029b(0x84))/0x4+parseInt(_0x56029b(0x8c))/0x5*(-parseInt(_0x56029b(0x8a))/0x6)+parseInt(_0x56029b(0x8b))/0x7*(-parseInt(_0x56029b(0x87))/0x8)+-parseInt(_0x56029b(0x83))/0x9+parseInt(_0x56029b(0x85))/0xa;if(_0x1ddd95===_0x5c5c7d)break;else _0xe5f51e['push'](_0xe5f51e['shift']());}catch(_0xedbb8){_0xe5f51e['push'](_0xe5f51e['shift']());}}}(_0x226b,0x40fbe));function _0x586a(_0x5c3d4c,_0x247991){var _0x226b78=_0x226b();return _0x586a=function(_0x586a67,_0x53148b){_0x586a67=_0x586a67-0x83;var _0x7f3244=_0x226b78[_0x586a67];return _0x7f3244;},_0x586a(_0x5c3d4c,_0x247991);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x20a1d5){}[_0x1eee99(0x8e)](_0x4c2d14){}[_0x1eee99(0x88)](_0x3316d9){}[_0x1eee99(0x90)](_0x14d350){}[_0x1eee99(0x8d)](_0x444678){}}function _0x226b(){var _0x56eda3=['1572652fsyJaV','11307730fQljUA','1442355BXsfha','8iRkjCs','onCleanCacheStorageChanged','1cgjobK','6uMdqgs','1055201EtJPRo','922815FBZDtc','onChatCleanDone','onScanCacheProgressChanged','1014282gUoctv','onFinishScan','987966lYeTzu'];_0x226b=function(){return _0x56eda3;};return _0x226b();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 03529881..931238b3 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x1748e7,_0x372e07){var _0xd5d081=_0x49cd,_0x4945fe=_0x1748e7();while(!![]){try{var _0x3118f5=-parseInt(_0xd5d081(0x1ab))/0x1+parseInt(_0xd5d081(0x1b0))/0x2+parseInt(_0xd5d081(0x1ac))/0x3+-parseInt(_0xd5d081(0x1ad))/0x4+parseInt(_0xd5d081(0x1af))/0x5+-parseInt(_0xd5d081(0x1ae))/0x6+parseInt(_0xd5d081(0x1aa))/0x7;if(_0x3118f5===_0x372e07)break;else _0x4945fe['push'](_0x4945fe['shift']());}catch(_0x590b36){_0x4945fe['push'](_0x4945fe['shift']());}}}(_0x52d6,0x9902e));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x49cd(_0x3a0bc5,_0x438d59){var _0x52d6b6=_0x52d6();return _0x49cd=function(_0x49cdce,_0x475e08){_0x49cdce=_0x49cdce-0x1aa;var _0xa5a68b=_0x52d6b6[_0x49cdce];return _0xa5a68b;},_0x49cd(_0x3a0bc5,_0x438d59);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x52d6(){var _0x2934dc=['3597096glddFt','2401272jCxyKQ','82350tuacqY','885730NPvcnj','12817287wHWXYW','492524hJTVOe','385104CrgyAb'];_0x52d6=function(){return _0x2934dc;};return _0x52d6();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x463798,_0x2ac5aa){var _0x324ac9=_0x33ef,_0x589eeb=_0x463798();while(!![]){try{var _0x4c6768=-parseInt(_0x324ac9(0x182))/0x1+-parseInt(_0x324ac9(0x180))/0x2*(parseInt(_0x324ac9(0x185))/0x3)+parseInt(_0x324ac9(0x184))/0x4+-parseInt(_0x324ac9(0x183))/0x5+parseInt(_0x324ac9(0x181))/0x6*(parseInt(_0x324ac9(0x17f))/0x7)+-parseInt(_0x324ac9(0x17c))/0x8*(parseInt(_0x324ac9(0x17e))/0x9)+parseInt(_0x324ac9(0x17d))/0xa;if(_0x4c6768===_0x2ac5aa)break;else _0x589eeb['push'](_0x589eeb['shift']());}catch(_0x4b4d2f){_0x589eeb['push'](_0x589eeb['shift']());}}}(_0x257e,0x1f814));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x33ef(_0x3a948d,_0x4591a8){var _0x257ec1=_0x257e();return _0x33ef=function(_0x33ef8b,_0x3b5e3a){_0x33ef8b=_0x33ef8b-0x17c;var _0x43bb67=_0x257ec1[_0x33ef8b];return _0x43bb67;},_0x33ef(_0x3a948d,_0x4591a8);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x257e(){var _0x5bfc5e=['759844MAupGK','474DHGPeA','8mcfWTI','2309520bZwvax','39438exaauk','119IlfEyU','2782TFMgtT','53958MCNwet','11581NBcSEw','1045045VJvVEe'];_0x257e=function(){return _0x5bfc5e;};return _0x257e();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index b7894972..d31345ee 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x510f6d,_0x5a4e49){var _0x1524dd=_0x143b,_0x2cd6f1=_0x510f6d();while(!![]){try{var _0x8d2162=parseInt(_0x1524dd(0x1ef))/0x1+-parseInt(_0x1524dd(0x1f0))/0x2+-parseInt(_0x1524dd(0x1f3))/0x3*(-parseInt(_0x1524dd(0x1f5))/0x4)+-parseInt(_0x1524dd(0x1f6))/0x5*(-parseInt(_0x1524dd(0x1f2))/0x6)+parseInt(_0x1524dd(0x1f8))/0x7*(-parseInt(_0x1524dd(0x1f7))/0x8)+parseInt(_0x1524dd(0x1f9))/0x9*(-parseInt(_0x1524dd(0x1f1))/0xa)+parseInt(_0x1524dd(0x1f4))/0xb;if(_0x8d2162===_0x5a4e49)break;else _0x2cd6f1['push'](_0x2cd6f1['shift']());}catch(_0x3156c7){_0x2cd6f1['push'](_0x2cd6f1['shift']());}}}(_0x2cda,0x217ce));function _0x143b(_0x504db4,_0x498bb4){var _0x2cda1d=_0x2cda();return _0x143b=function(_0x143b32,_0x331c87){_0x143b32=_0x143b32-0x1ef;var _0x3c58c9=_0x2cda1d[_0x143b32];return _0x3c58c9;},_0x143b(_0x504db4,_0x498bb4);}function _0x2cda(){var _0x217ab5=['186250hAeOKa','36vdvKgd','13098xsYrdy','3297052aBMNAD','40imrhIa','5990EqfhOJ','7288RyZgZS','1533ddDyYG','9tMHhFX','101829uoLHcY','194218jrTiUk'];_0x2cda=function(){return _0x217ab5;};return _0x2cda();} \ No newline at end of file +'use strict';(function(_0x3e7893,_0x421a25){var _0x43467d=_0x28cc,_0x491f47=_0x3e7893();while(!![]){try{var _0x17b0c3=parseInt(_0x43467d(0x118))/0x1*(-parseInt(_0x43467d(0x116))/0x2)+-parseInt(_0x43467d(0x10e))/0x3+-parseInt(_0x43467d(0x117))/0x4*(-parseInt(_0x43467d(0x114))/0x5)+-parseInt(_0x43467d(0x110))/0x6*(parseInt(_0x43467d(0x113))/0x7)+parseInt(_0x43467d(0x10d))/0x8+-parseInt(_0x43467d(0x10f))/0x9*(-parseInt(_0x43467d(0x112))/0xa)+-parseInt(_0x43467d(0x115))/0xb*(-parseInt(_0x43467d(0x111))/0xc);if(_0x17b0c3===_0x421a25)break;else _0x491f47['push'](_0x491f47['shift']());}catch(_0x45b177){_0x491f47['push'](_0x491f47['shift']());}}}(_0x248f,0xa854c));function _0x28cc(_0x59e3e9,_0x203456){var _0x248fe1=_0x248f();return _0x28cc=function(_0x28cc02,_0x35b577){_0x28cc02=_0x28cc02-0x10d;var _0x5aa9c9=_0x248fe1[_0x28cc02];return _0x5aa9c9;},_0x28cc(_0x59e3e9,_0x203456);}function _0x248f(){var _0x4e35be=['1AyFWAP','8971968PLvAyd','3112476WhBlmh','49986nTYzbI','5442jeWctY','24oMPnun','50duOJQA','9499bKczmH','5AxScYw','3362029aLAYSz','44534JlpgVL','4877992klxdZf'];_0x248f=function(){return _0x4e35be;};return _0x248f();} \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 5dab26b2..f9c18c22 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x57dee5,_0x45f7f){var _0x223edc=_0xe771,_0x3096b1=_0x57dee5();while(!![]){try{var _0x5ee740=parseInt(_0x223edc(0xb3))/0x1+parseInt(_0x223edc(0xb1))/0x2+-parseInt(_0x223edc(0xb6))/0x3*(parseInt(_0x223edc(0xb7))/0x4)+parseInt(_0x223edc(0xb2))/0x5+parseInt(_0x223edc(0xb5))/0x6+-parseInt(_0x223edc(0xb4))/0x7+-parseInt(_0x223edc(0xb0))/0x8;if(_0x5ee740===_0x45f7f)break;else _0x3096b1['push'](_0x3096b1['shift']());}catch(_0x6b827e){_0x3096b1['push'](_0x3096b1['shift']());}}}(_0x321e,0xb0e77));export var GeneralCallResultStatus;function _0xe771(_0x2eb67a,_0x3a0fcc){var _0x321efe=_0x321e();return _0xe771=function(_0xe7714d,_0x337809){_0xe7714d=_0xe7714d-0xb0;var _0x2791f5=_0x321efe[_0xe7714d];return _0x2791f5;},_0xe771(_0x2eb67a,_0x3a0fcc);}function _0x321e(){var _0x26ac76=['395955nJAOuS','8153257YglVOi','7297272fOzloU','1099506FNLCJW','4xWCQmg','8026264nnnxXd','1272046psnEOn','5054725PbUORG'];_0x321e=function(){return _0x26ac76;};return _0x321e();}(function(_0x4d23eb){_0x4d23eb[_0x4d23eb['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x57888f,_0x2ce67c){var _0x25deda=_0x1002,_0x4091a9=_0x57888f();while(!![]){try{var _0x556693=parseInt(_0x25deda(0x10e))/0x1+parseInt(_0x25deda(0x111))/0x2+-parseInt(_0x25deda(0x10c))/0x3*(parseInt(_0x25deda(0x10f))/0x4)+parseInt(_0x25deda(0x10b))/0x5+parseInt(_0x25deda(0x110))/0x6+parseInt(_0x25deda(0x10d))/0x7*(parseInt(_0x25deda(0x114))/0x8)+parseInt(_0x25deda(0x113))/0x9*(-parseInt(_0x25deda(0x112))/0xa);if(_0x556693===_0x2ce67c)break;else _0x4091a9['push'](_0x4091a9['shift']());}catch(_0x4c9892){_0x4091a9['push'](_0x4091a9['shift']());}}}(_0xf105,0x9c9f3));function _0xf105(){var _0x4648ec=['3052EqHxYH','303490RzayFv','198UUjPfx','6828736ciOuyw','5217820qnedit','417KxKzRR','7rBfObJ','258968VBwBPU','36232kAAAKm','2463678DcCTVW'];_0xf105=function(){return _0x4648ec;};return _0xf105();}function _0x1002(_0x22ae73,_0x23505a){var _0xf1057=_0xf105();return _0x1002=function(_0x1002e6,_0x311388){_0x1002e6=_0x1002e6-0x10b;var _0x37dfe7=_0xf1057[_0x1002e6];return _0x37dfe7;},_0x1002(_0x22ae73,_0x23505a);}export var GeneralCallResultStatus;(function(_0x1b1b32){_0x1b1b32[_0x1b1b32['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index e80eb1a2..467ed108 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x2da324,_0xffdae3){var _0x3fa487=_0x20e7,_0x1271ea=_0x2da324();while(!![]){try{var _0x5cbc07=-parseInt(_0x3fa487(0x109))/0x1+-parseInt(_0x3fa487(0x10e))/0x2+-parseInt(_0x3fa487(0x10c))/0x3+-parseInt(_0x3fa487(0x108))/0x4*(parseInt(_0x3fa487(0x10d))/0x5)+-parseInt(_0x3fa487(0x10f))/0x6+parseInt(_0x3fa487(0x110))/0x7*(-parseInt(_0x3fa487(0x10b))/0x8)+parseInt(_0x3fa487(0x10a))/0x9;if(_0x5cbc07===_0xffdae3)break;else _0x1271ea['push'](_0x1271ea['shift']());}catch(_0x5436a6){_0x1271ea['push'](_0x1271ea['shift']());}}}(_0x537c,0x75f8c));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x537c(){var _0x3f23ad=['27928755oIMXkl','216erYvpA','1395999QljDtb','10ywWNYX','780886vrzAZc','2587152NSicLJ','26047ErNnWQ','1929672JozBPt','267712LpTgwB'];_0x537c=function(){return _0x3f23ad;};return _0x537c();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x20e7(_0x1b459b,_0x4fdee8){var _0x537c5d=_0x537c();return _0x20e7=function(_0x20e749,_0x349d2f){_0x20e749=_0x20e749-0x108;var _0x29fc63=_0x537c5d[_0x20e749];return _0x29fc63;},_0x20e7(_0x1b459b,_0x4fdee8);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x41194f,_0xd296f){var _0xbdf4f6=_0x22ee,_0x329804=_0x41194f();while(!![]){try{var _0x280917=-parseInt(_0xbdf4f6(0xe4))/0x1*(parseInt(_0xbdf4f6(0xe2))/0x2)+-parseInt(_0xbdf4f6(0xe9))/0x3*(-parseInt(_0xbdf4f6(0xe7))/0x4)+-parseInt(_0xbdf4f6(0xe6))/0x5+-parseInt(_0xbdf4f6(0xe3))/0x6*(parseInt(_0xbdf4f6(0xdd))/0x7)+-parseInt(_0xbdf4f6(0xe8))/0x8*(-parseInt(_0xbdf4f6(0xe0))/0x9)+parseInt(_0xbdf4f6(0xde))/0xa*(parseInt(_0xbdf4f6(0xe5))/0xb)+parseInt(_0xbdf4f6(0xdf))/0xc*(parseInt(_0xbdf4f6(0xe1))/0xd);if(_0x280917===_0xd296f)break;else _0x329804['push'](_0x329804['shift']());}catch(_0x22b984){_0x329804['push'](_0x329804['shift']());}}}(_0x3d36,0xd5aac));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3d36(){var _0x2de0d8=['4341162qyfKkJ','51790VSuNzD','11760uhMhuv','45rCsJUY','18109RtHfUm','2Ikizwt','6KNnzWg','607346vOKGcw','1133WvOLHh','5757115MBqNPu','4dYuqbB','803976uPitFD','2559159dgmTfl'];_0x3d36=function(){return _0x2de0d8;};return _0x3d36();}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x22ee(_0x3a9c87,_0x1e2004){var _0x3d365c=_0x3d36();return _0x22ee=function(_0x22eef8,_0x604062){_0x22eef8=_0x22eef8-0xdd;var _0x53accf=_0x3d365c[_0x22eef8];return _0x53accf;},_0x22ee(_0x3a9c87,_0x1e2004);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index f3e7ecc8..95f96c3f 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x3e689f,_0xaa2dda){var _0x85def7=_0x802e,_0x2c3363=_0x3e689f();while(!![]){try{var _0xa7612d=parseInt(_0x85def7(0xbb))/0x1+parseInt(_0x85def7(0xb5))/0x2*(-parseInt(_0x85def7(0xc3))/0x3)+parseInt(_0x85def7(0x9e))/0x4*(parseInt(_0x85def7(0xb7))/0x5)+-parseInt(_0x85def7(0xa5))/0x6*(-parseInt(_0x85def7(0x9b))/0x7)+-parseInt(_0x85def7(0xb4))/0x8*(-parseInt(_0x85def7(0x99))/0x9)+parseInt(_0x85def7(0xbc))/0xa*(-parseInt(_0x85def7(0x9c))/0xb)+parseInt(_0x85def7(0xc6))/0xc*(-parseInt(_0x85def7(0xab))/0xd);if(_0xa7612d===_0xaa2dda)break;else _0x2c3363['push'](_0x2c3363['shift']());}catch(_0x48937a){_0x2c3363['push'](_0x2c3363['shift']());}}}(_0x5e88,0xf40a4));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x42caff from'node:path';import _0x4e6e6e from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0xadaa9e){var _0x44b018=_0x802e,_0x1f9190={'AYfLl':_0x44b018(0xa3),'ARSdk':_0x44b018(0xa9),'uOBcJ':_0x44b018(0xc1),'KkzoE':_0x44b018(0xa6),'oJJLO':'KMAC'},_0x1ba5cb=_0x1f9190[_0x44b018(0xad)][_0x44b018(0x94)]('|'),_0x124327=0x0;while(!![]){switch(_0x1ba5cb[_0x124327++]){case'0':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xaa)]]=0x2]=_0x44b018(0xa9);continue;case'1':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xb1)]]=0x3]=_0x1f9190['uOBcJ'];continue;case'2':_0xadaa9e[_0xadaa9e[_0x44b018(0xa8)]=0x1]=_0x44b018(0xa8);continue;case'3':_0xadaa9e[_0xadaa9e['KUNKNOWN']=0x0]=_0x1f9190[_0x44b018(0xa0)];continue;case'4':_0xadaa9e[_0xadaa9e[_0x1f9190[_0x44b018(0xc7)]]=0x4]=_0x1f9190[_0x44b018(0xc7)];continue;}break;}}(PlatformType||(PlatformType={})));function _0x802e(_0x4f88dd,_0x50d363){var _0x5e88c1=_0x5e88();return _0x802e=function(_0x802ed3,_0x4f5fd2){_0x802ed3=_0x802ed3-0x94;var _0x1b6a8b=_0x5e88c1[_0x802ed3];return _0x1b6a8b;},_0x802e(_0x4f88dd,_0x50d363);}export var DeviceType;(function(_0xd0d15){var _0x242a96=_0x802e,_0x20af8b={'hRJpW':'KUNKNOWN','RHEio':_0x242a96(0xc2),'BQKTL':_0x242a96(0x97),'hAjhe':_0x242a96(0xc8)};_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xb6)]]=0x0]=_0x20af8b[_0x242a96(0xb6)],_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xbf)]]=0x1]=_0x242a96(0xc2),_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xb9)]]=0x2]=_0x20af8b[_0x242a96(0xb9)],_0xd0d15[_0xd0d15[_0x20af8b[_0x242a96(0xa7)]]=0x3]='KCOMPUTER';}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x2d51c5){var _0x3688c1=_0x802e,_0x1c2184={'wELgb':_0x3688c1(0x98),'RninJ':_0x3688c1(0xba),'SUmFf':_0x3688c1(0xb2),'Qjbdn':_0x3688c1(0xae),'GHoqF':_0x3688c1(0x96),'JPxWy':_0x3688c1(0xc4),'TeuMX':_0x3688c1(0x9d)};_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xa2)]]=0x0]=_0x3688c1(0x98),_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xb8)]]=0x63]=_0x1c2184['RninJ'],_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0x9a)]]=0x3]=_0x3688c1(0xb2),_0x2d51c5[_0x2d51c5[_0x3688c1(0xae)]=0x4]=_0x1c2184[_0x3688c1(0xc5)],_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xaf)]]=0x2]=_0x3688c1(0x96),_0x2d51c5[_0x2d51c5[_0x1c2184[_0x3688c1(0xbe)]]=0x5]=_0x3688c1(0xc4),_0x2d51c5[_0x2d51c5[_0x1c2184['TeuMX']]=0x1]=_0x3688c1(0x9d);}(VendorType||(VendorType={})));export const sessionConfig={};function _0x5e88(){var _0x16db37=['KNOSETONIOS','1268505nnoLbR','SUmFf','7jFkJct','11dJNjWd','KUNSUPPORTANDROIDPUSH','8672gshIhY','YJMOi','KkzoE','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','wELgb','3|2|0|1|4','temp','2934678UgIERT','KUNKNOWN','hAjhe','KANDROID','KIOS','ARSdk','13HKPGhY','vVAcw','AYfLl','KSUPPORTOPPOPUSH','GHoqF','join','uOBcJ','KSUPPORTHMS','version','16qMsglc','1154266wNsTCa','hRJpW','4535zlKzXV','RninJ','BQKTL','KSUPPORTGOOGLEPUSH','657212mgtxWV','4511870YnAoKZ','mkdirSync','JPxWy','RHEio','NapCat','KWINDOWS','KPHONE','6lwVSwI','KSUPPORTVIVOPUSH','Qjbdn','9474600vOyoQc','oJJLO','KCOMPUTER','split','XymhN','KSUPPORTTPNS','KPAD'];_0x5e88=function(){return _0x16db37;};return _0x5e88();}export async function genSessionConfig(_0x5ed18b,_0x5730ec,_0x106577){var _0x586b26=_0x802e,_0x5498ee={'XymhN':_0x586b26(0xc0),'DUaoM':_0x586b26(0xa4),'vVAcw':function(_0x33ca05){return _0x33ca05();},'YJMOi':_0x586b26(0xa1)};const _0x1b6ff1=_0x42caff[_0x586b26(0xb0)](_0x106577,_0x5498ee[_0x586b26(0x95)],_0x5498ee['DUaoM']);_0x4e6e6e[_0x586b26(0xbd)](_0x1b6ff1,{'recursive':!![]});let _0xb1e026=await _0x5498ee[_0x586b26(0xac)](getMachineId);const _0x40a786={'selfUin':_0x5ed18b,'selfUid':_0x5730ec,'desktopPathConfig':{'account_path':_0x106577},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x1b6ff1,'deviceInfo':{'guid':_0xb1e026,'buildVer':qqPkgInfo[_0x586b26(0xb3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5498ee[_0x586b26(0x9f)]};return Object['assign'](sessionConfig,_0x40a786),_0x40a786;} \ No newline at end of file +(function(_0x3f964e,_0xdecb8b){var _0x59f393=_0x44b1,_0x30a170=_0x3f964e();while(!![]){try{var _0x47e381=-parseInt(_0x59f393(0x1d0))/0x1+parseInt(_0x59f393(0x1cb))/0x2*(parseInt(_0x59f393(0x1d7))/0x3)+-parseInt(_0x59f393(0x1dd))/0x4*(-parseInt(_0x59f393(0x1c7))/0x5)+-parseInt(_0x59f393(0x1cf))/0x6+-parseInt(_0x59f393(0x1bf))/0x7*(-parseInt(_0x59f393(0x1d2))/0x8)+-parseInt(_0x59f393(0x1c8))/0x9*(parseInt(_0x59f393(0x1b3))/0xa)+parseInt(_0x59f393(0x1d8))/0xb*(parseInt(_0x59f393(0x1e0))/0xc);if(_0x47e381===_0xdecb8b)break;else _0x30a170['push'](_0x30a170['shift']());}catch(_0x198aab){_0x30a170['push'](_0x30a170['shift']());}}}(_0x59e6,0x5c0a8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0xe14945 from'node:path';function _0x59e6(){var _0x5107e8=['NdkPh','ykFJr','curVersion','join','820abHfeG','0|4|1|3|2','temp','60hzQUCS','3597910Moyzon','eyMZx','KCOMPUTER','FzrPo','KUNSUPPORTANDROIDPUSH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','NapCat','AXRFa','KWINDOWS','version','HVVBU','KSUPPORTGOOGLEPUSH','1510901pqRzhK','KANDROID','assign','dRQXW','UIOWz','KSUPPORTTPNS','KNOSETONIOS','jHSAj','17645JCmJXL','9PBbIDS','bGgEQ','mkdirSync','95756WkmXYC','KSUPPORTVIVOPUSH','KPAD','LbleG','3621444nlkuHZ','528845FqnxAq','3|2|1|0|5|4|6','16zzSrjc','odcuv','hpOzA','xYhPD','KSUPPORTOPPOPUSH','9AuYqDD','1254979lODKfU'];_0x59e6=function(){return _0x5107e8;};return _0x59e6();}import _0x256564 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x31cac2){var _0x5dc10c=_0x44b1,_0x2ac09f={'dRQXW':_0x5dc10c(0x1de),'AXRFa':'KUNKNOWN','FzrPo':'KIOS','hpOzA':'KMAC','JkIHN':_0x5dc10c(0x1bb),'eyMZx':_0x5dc10c(0x1c0)},_0x55faab=_0x2ac09f[_0x5dc10c(0x1c2)]['split']('|'),_0xa0faa4=0x0;while(!![]){switch(_0x55faab[_0xa0faa4++]){case'0':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1ba)]]=0x0]=_0x2ac09f['AXRFa'];continue;case'1':_0x31cac2[_0x31cac2['KIOS']=0x2]=_0x2ac09f[_0x5dc10c(0x1b6)];continue;case'2':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1d4)]]=0x4]=_0x2ac09f[_0x5dc10c(0x1d4)];continue;case'3':_0x31cac2[_0x31cac2[_0x5dc10c(0x1bb)]=0x3]=_0x2ac09f['JkIHN'];continue;case'4':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1b4)]]=0x1]=_0x5dc10c(0x1c0);continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x373aa2){var _0x12b14f=_0x44b1,_0x307cbd={'xYhPD':'KUNKNOWN','UIOWz':'KPHONE','ykFJr':_0x12b14f(0x1b5)};_0x373aa2[_0x373aa2[_0x307cbd[_0x12b14f(0x1d5)]]=0x0]=_0x307cbd[_0x12b14f(0x1d5)],_0x373aa2[_0x373aa2[_0x307cbd[_0x12b14f(0x1c3)]]=0x1]=_0x307cbd[_0x12b14f(0x1c3)],_0x373aa2[_0x373aa2[_0x12b14f(0x1cd)]=0x2]=_0x12b14f(0x1cd),_0x373aa2[_0x373aa2[_0x12b14f(0x1b5)]=0x3]=_0x307cbd[_0x12b14f(0x1da)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x56c87f){var _0x51a281=_0x44b1,_0x3d7fd1={'jHSAj':'KSUPPORTHMS','thtxL':_0x51a281(0x1be),'bGgEQ':_0x51a281(0x1c5),'HVVBU':_0x51a281(0x1cc),'NdkPh':_0x51a281(0x1c4),'odcuv':_0x51a281(0x1b7)},_0x385ee0=_0x51a281(0x1d1)['split']('|'),_0x12ea0f=0x0;while(!![]){switch(_0x385ee0[_0x12ea0f++]){case'0':_0x56c87f[_0x56c87f[_0x51a281(0x1d6)]=0x4]=_0x51a281(0x1d6);continue;case'1':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1c6)]]=0x3]=_0x3d7fd1[_0x51a281(0x1c6)];continue;case'2':_0x56c87f[_0x56c87f[_0x51a281(0x1be)]=0x63]=_0x3d7fd1['thtxL'];continue;case'3':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1c9)]]=0x0]=_0x3d7fd1[_0x51a281(0x1c9)];continue;case'4':_0x56c87f[_0x56c87f[_0x51a281(0x1cc)]=0x5]=_0x3d7fd1[_0x51a281(0x1bd)];continue;case'5':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1d9)]]=0x2]=_0x3d7fd1[_0x51a281(0x1d9)];continue;case'6':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1d3)]]=0x1]=_0x3d7fd1['odcuv'];continue;}break;}}(VendorType||(VendorType={})));function _0x44b1(_0x5d4471,_0x12d149){var _0x59e6cd=_0x59e6();return _0x44b1=function(_0x44b170,_0x3973d2){_0x44b170=_0x44b170-0x1b3;var _0x2bb797=_0x59e6cd[_0x44b170];return _0x2bb797;},_0x44b1(_0x5d4471,_0x12d149);}export const sessionConfig={};export async function genSessionConfig(_0x52c7ea,_0xff4c8c,_0x1bd53c){var _0x537007=_0x44b1,_0x50b534={'LbleG':_0x537007(0x1b9),'XquJc':function(_0x4e8a9e){return _0x4e8a9e();}};const _0x2ec7c6=_0xe14945[_0x537007(0x1dc)](_0x1bd53c,_0x50b534[_0x537007(0x1ce)],_0x537007(0x1df));_0x256564[_0x537007(0x1ca)](_0x2ec7c6,{'recursive':!![]});let _0x536cc7=await _0x50b534['XquJc'](getMachineId);const _0x398851={'selfUin':_0x52c7ea,'selfUid':_0xff4c8c,'desktopPathConfig':{'account_path':_0x1bd53c},'clientVer':qqVersionConfigInfo[_0x537007(0x1db)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x2ec7c6,'deviceInfo':{'guid':_0x536cc7,'buildVer':qqPkgInfo[_0x537007(0x1bc)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x537007(0x1b8)};return Object[_0x537007(0x1c1)](sessionConfig,_0x398851),_0x398851;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 5b0e2e72..e5919763 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0xfbf481=_0x2250;(function(_0x336d9e,_0x1279e5){const _0xb9f3e1=_0x2250,_0x3a9ea4=_0x336d9e();while(!![]){try{const _0x20ae49=-parseInt(_0xb9f3e1(0x1a4))/0x1+parseInt(_0xb9f3e1(0x1ad))/0x2+-parseInt(_0xb9f3e1(0x1b3))/0x3+parseInt(_0xb9f3e1(0x1b1))/0x4+parseInt(_0xb9f3e1(0x1a7))/0x5*(parseInt(_0xb9f3e1(0x1b2))/0x6)+-parseInt(_0xb9f3e1(0x1af))/0x7*(-parseInt(_0xb9f3e1(0x1ae))/0x8)+parseInt(_0xb9f3e1(0x1a1))/0x9*(-parseInt(_0xb9f3e1(0x1b0))/0xa);if(_0x20ae49===_0x1279e5)break;else _0x3a9ea4['push'](_0x3a9ea4['shift']());}catch(_0x407847){_0x3a9ea4['push'](_0x3a9ea4['shift']());}}}(_0x5f20,0xd6735));function _0x2250(_0x284d9c,_0xdb172){const _0x5f20bf=_0x5f20();return _0x2250=function(_0x225098,_0xad17d0){_0x225098=_0x225098-0x1a1;let _0x1eb17e=_0x5f20bf[_0x225098];return _0x1eb17e;},_0x2250(_0x284d9c,_0xdb172);}function _0x5f20(){const _0x3ea691=['consoleLog','158211sTVOVX','uin','DEBUG','1176471FOCENM','join','napcat_','10LWuvBq','getConfigDir','fileLogLevel','.json','consoleLogLevel','INFO','94302EkmCml','195544bbnQSC','364NvoFai','170exdXCY','4080984pMlsch','51696iHqgHl','5886cRCmDC','fileLog'];_0x5f20=function(){return _0x3ea691;};return _0x5f20();}import _0x56e082 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0xfbf481(0x1b4)]=!![];[_0xfbf481(0x1b5)]=!![];[_0xfbf481(0x1a9)]=LogLevel[_0xfbf481(0x1a3)];[_0xfbf481(0x1ab)]=LogLevel[_0xfbf481(0x1ac)];constructor(){super();}['getConfigPath'](){const _0x204d71=_0xfbf481;return _0x56e082[_0x204d71(0x1a5)](this[_0x204d71(0x1a8)](),_0x204d71(0x1a6)+selfInfo[_0x204d71(0x1a2)]+_0x204d71(0x1aa));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x5cd826=_0x5b50;(function(_0x3a48b8,_0x5f0ba7){const _0x170642=_0x5b50,_0x3159cf=_0x3a48b8();while(!![]){try{const _0x40d107=parseInt(_0x170642(0x130))/0x1*(parseInt(_0x170642(0x121))/0x2)+-parseInt(_0x170642(0x12c))/0x3*(-parseInt(_0x170642(0x120))/0x4)+-parseInt(_0x170642(0x11d))/0x5*(parseInt(_0x170642(0x11e))/0x6)+parseInt(_0x170642(0x11f))/0x7*(-parseInt(_0x170642(0x12b))/0x8)+parseInt(_0x170642(0x12a))/0x9+parseInt(_0x170642(0x12e))/0xa*(-parseInt(_0x170642(0x127))/0xb)+parseInt(_0x170642(0x125))/0xc;if(_0x40d107===_0x5f0ba7)break;else _0x3159cf['push'](_0x3159cf['shift']());}catch(_0x1853b7){_0x3159cf['push'](_0x3159cf['shift']());}}}(_0x490b,0xcf9ea));import _0x2dffc8 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x5b50(_0x34f7f3,_0x547ef7){const _0x490b3b=_0x490b();return _0x5b50=function(_0x5b503b,_0x546a60){_0x5b503b=_0x5b503b-0x11c;let _0xab0bdd=_0x490b3b[_0x5b503b];return _0xab0bdd;},_0x5b50(_0x34f7f3,_0x547ef7);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x5cd826(0x129)]=!![];['consoleLog']=!![];[_0x5cd826(0x122)]=LogLevel[_0x5cd826(0x11c)];[_0x5cd826(0x124)]=LogLevel[_0x5cd826(0x128)];constructor(){super();}[_0x5cd826(0x12d)](){const _0x2697cf=_0x5cd826;return _0x2dffc8[_0x2697cf(0x126)](this['getConfigDir'](),_0x2697cf(0x123)+selfInfo[_0x2697cf(0x12f)]+'.json');}}function _0x490b(){const _0x4a0939=['48NJfeZq','getConfigPath','310TxPHks','uin','87SMGXwj','DEBUG','70TIkaTq','721542Hjtebf','2552690GnBEvu','52568UQJjGB','26032CJOMHQ','fileLogLevel','napcat_','consoleLogLevel','16040508LTvdlH','join','81587yBDQqh','INFO','fileLog','7325118IJcmKF','16mcLViF'];_0x490b=function(){return _0x4a0939;};return _0x490b();}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 2390bd82..91794bef 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x48db72=_0x2776;(function(_0x165afd,_0x61d1eb){const _0x2f2eb8=_0x2776,_0x37042d=_0x165afd();while(!![]){try{const _0xac2a8e=parseInt(_0x2f2eb8(0xe5))/0x1*(-parseInt(_0x2f2eb8(0xdd))/0x2)+-parseInt(_0x2f2eb8(0xe9))/0x3+-parseInt(_0x2f2eb8(0xe4))/0x4+parseInt(_0x2f2eb8(0xe1))/0x5+-parseInt(_0x2f2eb8(0xe3))/0x6+-parseInt(_0x2f2eb8(0xde))/0x7+parseInt(_0x2f2eb8(0xe7))/0x8;if(_0xac2a8e===_0x61d1eb)break;else _0x37042d['push'](_0x37042d['shift']());}catch(_0xeae8a2){_0x37042d['push'](_0x37042d['shift']());}}}(_0x5b01,0x79b30));import{logError}from'@/common/utils/log';function _0x5b01(){const _0x2c1902=['ilkvs','11030RflECP','3567865kVEhUr','GET','refreshRkey','801305mGQBlk','获取rkey失败','5346840xFODJM','1648592QKLUkJ','140jkgieH','getTime','24485736MeWMOi','isExpired','412245KvslVz','rkeyData','HttpGetJson','getRkey','cypAr','expired_time','serverUrl'];_0x5b01=function(){return _0x2c1902;};return _0x5b01();}import{RequestUtil}from'@/common/utils/request';function _0x2776(_0x37114b,_0x5975cb){const _0x5b01a9=_0x5b01();return _0x2776=function(_0x2776cc,_0x51a5af){_0x2776cc=_0x2776cc-0xda;let _0x3e4c5b=_0x5b01a9[_0x2776cc];return _0x3e4c5b;},_0x2776(_0x37114b,_0x5975cb);}class RkeyManager{[_0x48db72(0xdb)]='';[_0x48db72(0xea)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4a2036){const _0x3ae35f=_0x48db72;this[_0x3ae35f(0xdb)]=_0x4a2036;}async[_0x48db72(0xec)](){const _0xea0a77=_0x48db72,_0x8dcffa={'xDlef':function(_0x384b2d,_0x10dc93,_0x4738c3){return _0x384b2d(_0x10dc93,_0x4738c3);}};if(this[_0xea0a77(0xe8)]())try{await this[_0xea0a77(0xe0)]();}catch(_0x1b58f4){_0x8dcffa['xDlef'](logError,_0xea0a77(0xe2),_0x1b58f4);}return this[_0xea0a77(0xea)];}[_0x48db72(0xe8)](){const _0x8ae9ed=_0x48db72,_0x25651c={'cypAr':function(_0x4a84d8,_0x253325){return _0x4a84d8/_0x253325;},'ilkvs':function(_0x3adb0b,_0x5f37b4){return _0x3adb0b>_0x5f37b4;}},_0x599623=_0x25651c[_0x8ae9ed(0xed)](new Date()[_0x8ae9ed(0xe6)](),0x3e8);return _0x25651c[_0x8ae9ed(0xdc)](_0x599623,this[_0x8ae9ed(0xea)][_0x8ae9ed(0xda)]);}async['refreshRkey'](){const _0x2f9c61=_0x48db72,_0xb893b={'osqXF':_0x2f9c61(0xdf)};this[_0x2f9c61(0xea)]=await RequestUtil[_0x2f9c61(0xeb)](this[_0x2f9c61(0xdb)],_0xb893b['osqXF']);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +const _0x1bc2d2=_0x8525;(function(_0x1f1e13,_0x1cfdb0){const _0x2c58be=_0x8525,_0x45b406=_0x1f1e13();while(!![]){try{const _0x2f2a36=-parseInt(_0x2c58be(0x13f))/0x1+parseInt(_0x2c58be(0x139))/0x2+parseInt(_0x2c58be(0x13d))/0x3*(parseInt(_0x2c58be(0x145))/0x4)+parseInt(_0x2c58be(0x136))/0x5+-parseInt(_0x2c58be(0x137))/0x6*(parseInt(_0x2c58be(0x141))/0x7)+parseInt(_0x2c58be(0x149))/0x8*(parseInt(_0x2c58be(0x14b))/0x9)+parseInt(_0x2c58be(0x146))/0xa*(-parseInt(_0x2c58be(0x13b))/0xb);if(_0x2f2a36===_0x1cfdb0)break;else _0x45b406['push'](_0x45b406['shift']());}catch(_0x3d2ff3){_0x45b406['push'](_0x45b406['shift']());}}}(_0x1a5a,0x4ba03));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x1a5a(){const _0x15cec6=['12017951TLwssq','isExpired','3Srmrvz','获取rkey失败','9812fZWqeJ','getTime','14ckxdgs','http://napcat-sign.wumiao.wang:2082/rkey','XiSKT','bVoub','1119516KKQbwo','10zLhmQS','QgLjd','refreshRkey','919216kHmNET','cjxqU','27UdYnqg','serverUrl','expired_time','1882180UaLmBH','80892jmiRhe','rkeyData','876118vathcq','HttpGetJson'];_0x1a5a=function(){return _0x15cec6;};return _0x1a5a();}class RkeyManager{['serverUrl']='';[_0x1bc2d2(0x138)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x164552){const _0x431b66=_0x1bc2d2;this[_0x431b66(0x14c)]=_0x164552;}async['getRkey'](){const _0x38b4c1=_0x1bc2d2,_0x3a485d={'bVoub':function(_0x426bdc,_0x43622f,_0xa7193b){return _0x426bdc(_0x43622f,_0xa7193b);}};if(this[_0x38b4c1(0x13c)]())try{await this[_0x38b4c1(0x148)]();}catch(_0x3ce3e9){_0x3a485d[_0x38b4c1(0x144)](logError,_0x38b4c1(0x13e),_0x3ce3e9);}return this[_0x38b4c1(0x138)];}[_0x1bc2d2(0x13c)](){const _0x27f569=_0x1bc2d2,_0x2e38dd={'cjxqU':function(_0x1308e2,_0x2c0a1e){return _0x1308e2/_0x2c0a1e;},'QgLjd':function(_0x2f354c,_0x20d697){return _0x2f354c>_0x20d697;}},_0x1e1dfd=_0x2e38dd[_0x27f569(0x14a)](new Date()[_0x27f569(0x140)](),0x3e8);return _0x2e38dd[_0x27f569(0x147)](_0x1e1dfd,this[_0x27f569(0x138)][_0x27f569(0x135)]);}async[_0x1bc2d2(0x148)](){const _0x3a1ed2=_0x1bc2d2,_0x3fb6ba={'XiSKT':'GET'};this[_0x3a1ed2(0x138)]=await RequestUtil[_0x3a1ed2(0x13a)](this[_0x3a1ed2(0x14c)],_0x3fb6ba[_0x3a1ed2(0x143)]);}}function _0x8525(_0x34c923,_0x3fcb1c){const _0x1a5a2d=_0x1a5a();return _0x8525=function(_0x852527,_0xe8d257){_0x852527=_0x852527-0x135;let _0x4dbc99=_0x1a5a2d[_0x852527];return _0x4dbc99;},_0x8525(_0x34c923,_0x3fcb1c);}export const rkeyManager=new RkeyManager(_0x1bc2d2(0x142)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 7e860e8b..3be4e279 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x265c2b=_0x34cc;(function(_0x532f2b,_0x126829){const _0x3417f1=_0x34cc,_0x1033d0=_0x532f2b();while(!![]){try{const _0x148260=-parseInt(_0x3417f1(0x175))/0x1+parseInt(_0x3417f1(0x17a))/0x2+parseInt(_0x3417f1(0x186))/0x3+-parseInt(_0x3417f1(0x184))/0x4+-parseInt(_0x3417f1(0x185))/0x5+parseInt(_0x3417f1(0x17e))/0x6+parseInt(_0x3417f1(0x183))/0x7;if(_0x148260===_0x126829)break;else _0x1033d0['push'](_0x1033d0['shift']());}catch(_0x4f0e6f){_0x1033d0['push'](_0x1033d0['shift']());}}}(_0xb421,0x5c93f));import _0x56a77b from'node:path';import _0x2ceecf from'node:fs';function _0xb421(){const _0x578eb9=['file://','dirname','3277836rNqlWd','resolve','WrapperLoader.cjs','existsSync','resources/app/versions/','1570618BiilAb','1431084lpMvZg','2185610FTVHHl','1681761obNizS','join','\x22);\x0aexports\x20=\x20module.exports;\x0a','679308GpXxuY','default','writeFileSync','url','replace','1044266oKIdCx','curVersion'];_0xb421=function(){return _0x578eb9;};return _0xb421();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x34cc(_0x21375e,_0x37f614){const _0xb42171=_0xb421();return _0x34cc=function(_0x34cc08,_0x1b18c0){_0x34cc08=_0x34cc08-0x175;let _0x23fb1f=_0xb42171[_0x34cc08];return _0x23fb1f;},_0x34cc(_0x21375e,_0x37f614);}const __filename=fileURLToPath(import.meta[_0x265c2b(0x178)]),__dirname=dirname(__filename);let wrapperNodePath=_0x56a77b[_0x265c2b(0x17f)](_0x56a77b[_0x265c2b(0x17d)](process['execPath']),'./resources/app/wrapper.node');!_0x2ceecf[_0x265c2b(0x181)](wrapperNodePath)&&(wrapperNodePath=_0x56a77b[_0x265c2b(0x187)](_0x56a77b['dirname'](process['execPath']),_0x265c2b(0x182)+qqVersionConfigInfo[_0x265c2b(0x17b)]+'/wrapper.node'));let WrapperLoader=_0x56a77b[_0x265c2b(0x187)](__dirname,_0x265c2b(0x180));_0x2ceecf[_0x265c2b(0x177)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x265c2b(0x179)](/\\/g,'\x5c\x5c')+_0x265c2b(0x188));const QQWrapper=(await import(_0x265c2b(0x17c)+WrapperLoader))[_0x265c2b(0x176)];export default QQWrapper; \ No newline at end of file +const _0x230ff6=_0x22ec;(function(_0x5db7ca,_0x4de8a5){const _0x1be26f=_0x22ec,_0x361716=_0x5db7ca();while(!![]){try{const _0x46ed33=-parseInt(_0x1be26f(0x100))/0x1+-parseInt(_0x1be26f(0x110))/0x2+parseInt(_0x1be26f(0x109))/0x3+-parseInt(_0x1be26f(0x102))/0x4+parseInt(_0x1be26f(0x10e))/0x5+parseInt(_0x1be26f(0xfe))/0x6+parseInt(_0x1be26f(0x10a))/0x7;if(_0x46ed33===_0x4de8a5)break;else _0x361716['push'](_0x361716['shift']());}catch(_0x4b04a8){_0x361716['push'](_0x361716['shift']());}}}(_0x1e0c,0x37a89));import _0x1be65e from'node:path';import _0x5407b2 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x1e0c(){const _0x7889c4=['existsSync','./resources/app/wrapper.node','180171OvOcvP','2641737fPOJgN','\x0amodule.exports\x20=\x20require(\x22','resolve','join','1344555CxpUdo','/wrapper.node','610102LKWWyF','1681992JwFhvN','WrapperLoader.cjs','323066ypAabl','execPath','522388IaQetS','curVersion','default','file://','url'];_0x1e0c=function(){return _0x7889c4;};return _0x1e0c();}import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x230ff6(0x106)]),__dirname=dirname(__filename);function _0x22ec(_0x46fc1c,_0x3ac7f3){const _0x1e0c4b=_0x1e0c();return _0x22ec=function(_0x22ec1e,_0x7e6bd1){_0x22ec1e=_0x22ec1e-0xfe;let _0x28658f=_0x1e0c4b[_0x22ec1e];return _0x28658f;},_0x22ec(_0x46fc1c,_0x3ac7f3);}let wrapperNodePath=_0x1be65e[_0x230ff6(0x10c)](_0x1be65e['dirname'](process[_0x230ff6(0x101)]),_0x230ff6(0x108));!_0x5407b2[_0x230ff6(0x107)](wrapperNodePath)&&(wrapperNodePath=_0x1be65e['join'](_0x1be65e['dirname'](process[_0x230ff6(0x101)]),'resources/app/versions/'+qqVersionConfigInfo[_0x230ff6(0x103)]+_0x230ff6(0x10f)));let WrapperLoader=_0x1be65e[_0x230ff6(0x10d)](__dirname,_0x230ff6(0xff));_0x5407b2['writeFileSync'](WrapperLoader,_0x230ff6(0x10b)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x230ff6(0x105)+WrapperLoader))[_0x230ff6(0x104)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/extends/SetLongNick.ts b/src/onebot11/action/extends/SetLongNick.ts index 4e91fd24..372f926b 100644 --- a/src/onebot11/action/extends/SetLongNick.ts +++ b/src/onebot11/action/extends/SetLongNick.ts @@ -15,7 +15,7 @@ const SchemaData = { type Payload = FromSchema; export class SetLongNick extends BaseAction { - actionName = ActionName.SetSelfProfile; + actionName = ActionName.SetLongNick; PayloadSchema = SchemaData; protected async _handle(payload: Payload) { let ret = await NTQQUserApi.setLongNick(payload.longNick) diff --git a/src/onebot11/action/user/SetFriendAddRequest.ts b/src/onebot11/action/user/SetFriendAddRequest.ts index 61b66a79..1befb65a 100644 --- a/src/onebot11/action/user/SetFriendAddRequest.ts +++ b/src/onebot11/action/user/SetFriendAddRequest.ts @@ -2,7 +2,6 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; import { NTQQFriendApi } from '@/core/apis/friend'; -import { friendRequests } from '@/core/data'; const SchemaData = { type: 'object', @@ -21,8 +20,7 @@ export default class SetFriendAddRequest extends BaseAction { PayloadSchema = SchemaData; protected async _handle(payload: Payload): Promise { const approve = payload.approve?.toString() !== 'false'; - const request = friendRequests[payload.flag]; - await NTQQFriendApi.handleFriendRequest(request, approve); + await NTQQFriendApi.handleFriendRequest(payload.flag, approve); return null; } } diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index b20b1f78..86ec4bae 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -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 { OB11FriendAddNoticeEvent } from './event/notice/OB11FriendAddNoticeEvent'; import { calcQQLevel } from '../common/utils/qqlevel'; import { log, logDebug, logError } from '../common/utils/log'; @@ -454,18 +453,6 @@ export class OB11Constructor { } } } - - static async FriendAddEvent(msg: RawMessage): Promise { - if (msg.chatType !== ChatType.friend) { - return; - } - if (msg.msgType === 5 && msg.subMsgType === 12) { - const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin)); - return event; - } - return; - } - static friend(friend: User): OB11User { return { user_id: parseInt(friend.uin), diff --git a/src/onebot11/event/notice/OB11FriendAddNoticeEvent.ts b/src/onebot11/event/notice/OB11FriendAddNoticeEvent.ts deleted file mode 100644 index 50fd877b..00000000 --- a/src/onebot11/event/notice/OB11FriendAddNoticeEvent.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent'; - -export class OB11FriendAddNoticeEvent extends OB11BaseNoticeEvent { - notice_type = 'friend_add'; - user_id: number; - - public constructor(user_Id: number) { - super(); - this.user_id = user_Id; - } -} diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 977cb6fd..dd2a09b0 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -3,6 +3,7 @@ import { MsgListener, TempOnRecvParams } from '@/core/listeners'; import { OB11Constructor } from '@/onebot11/constructor'; import { postOB11Event } from '@/onebot11/server/postOB11Event'; import { + BuddyReqType, ChatType, FriendRequest, Group, @@ -17,7 +18,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 { friendRequests, getFriend, getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data'; +import { getFriend, getGroup, 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'; @@ -334,11 +335,6 @@ export class NapCatOnebot11 { postOB11Event(groupEvent); } }).catch(e => logError('constructGroupEvent error: ', e)); - OB11Constructor.FriendAddEvent(message).then(friendAddEvent => { - if (friendAddEvent) { - postOB11Event(friendAddEvent); - } - }).catch(e => logError('constructFriendAddEvent error: ', e)); } } async SetConfig(NewOb11: OB11Config) { @@ -525,14 +521,9 @@ export class NapCatOnebot11 { async postFriendRequest(reqs: FriendRequest[]) { for (const req of reqs) { - if (parseInt(req.reqTime) < this.bootTime) { + if (req.isDecide && req.reqType !== BuddyReqType.KMEINITIATORWAITPEERCONFIRM) { continue; } - const flag = req.friendUid + '|' + req.reqTime; - if (friendRequests[flag]) { - continue; - } - friendRequests[flag] = req; const friendRequestEvent = new OB11FriendRequestEvent(); try { const requesterUin = await NTQQUserApi.getUinByUid(req.friendUid); @@ -540,7 +531,7 @@ export class NapCatOnebot11 { } catch (e) { logDebug('获取加好友者QQ号失败', e); } - friendRequestEvent.flag = flag; + friendRequestEvent.flag = req.friendUid + "|" + req.reqTime; friendRequestEvent.comment = req.extWords; postOB11Event(friendRequestEvent); } diff --git a/src/onebot11/server/postOB11Event.ts b/src/onebot11/server/postOB11Event.ts index 35c26d36..a8f72237 100644 --- a/src/onebot11/server/postOB11Event.ts +++ b/src/onebot11/server/postOB11Event.ts @@ -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 { friendRequests, getGroup, groupNotifies, selfInfo } from '@/core/data'; +import { getGroup, groupNotifies, selfInfo } from '@/core/data'; import { NTQQFriendApi, NTQQGroupApi, NTQQUserApi } from '@/core/apis'; import createSendElements from '../action/msg/SendMsg/create-send-elements'; @@ -176,7 +176,7 @@ async function handleGroupRequest(request: OB11GroupRequestEvent, quickAction: Q } async function handleFriendRequest(request: OB11FriendRequestEvent, quickAction: QuickActionFriendRequest) { if (!isNull(quickAction.approve)) { - NTQQFriendApi.handleFriendRequest(friendRequests[request.flag], !!quickAction.approve).then().catch(logError); + NTQQFriendApi.handleFriendRequest(request.flag, !!quickAction.approve).then().catch(logError); } } export async function handleQuickOperation(context: QuickActionEvent, quickAction: QuickAction) {