From 269de65201a2ea12d96a696c5276126ef5e62c84 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: Thu, 30 May 2024 20:53:58 +0800 Subject: [PATCH] fix: undel --- src/common/utils/EventTask.ts | 20 +++++++++++-------- 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/file.js | 2 +- 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.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- 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.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/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 +- 41 files changed, 52 insertions(+), 48 deletions(-) diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index 35dc8596..6a939df1 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -3,7 +3,7 @@ export enum NTEventMode { Once = 1, Twice = 2 } -export interface NTEventType { +export interface NTEventType any> { EventName: string, EventFunction: U, ListenerName: string, @@ -15,14 +15,16 @@ interface Internal_MapKey { createtime: number, func: Function } -export class NTEvent any, R> { +export class NTEvent any, R = any> { EventData: NTEventType; EventTask: Map = new Map(); constructor(params: NTEventType) { - params.ListenerFunction = this.DispatcherListener; + params.ListenerFunction = this.DispatcherListener.bind(this); this.EventData = params; + this.EventData.EventFunction = params.EventFunction.bind(this) as any; } async DispatcherListener(...args: any[]) { + console.log(...args); this.EventTask.forEach((task, uuid) => { if (task.createtime + task.timeout > Date.now()) { this.EventTask.delete(uuid); @@ -39,11 +41,12 @@ export class NTEvent any, R> { let databack = () => { if (!complete) { this.EventTask.delete(id); - } else { reject(new Error('NTEvent EventName:' + this.EventData.EventName + ' EventListener:' + this.EventData.ListenerName + ' timeout')); + } else { + resolve(retData as R); } } - + let Timeouter = setTimeout(databack, timeout); this.EventTask.set(id, { @@ -59,7 +62,7 @@ export class NTEvent any, R> { } } }); - + this.EventData.EventFunction(...args); }); } @@ -71,8 +74,9 @@ export class NTEvent any, R> { let databack = () => { if (!complete) { this.EventTask.delete(id); - } else { reject(new Error('NTEvent EventName:' + this.EventData.EventName + ' EventListener:' + this.EventData.ListenerName + ' timeout')); + } else { + resolve(retData as R); } } let Timeouter = setTimeout(databack, timeout); @@ -88,7 +92,7 @@ export class NTEvent any, R> { databack(); } }); - + this.EventData.EventFunction(...args); }); } } diff --git a/src/core b/src/core index b1a9207a..300270c2 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit b1a9207a5933476276b7247bae025966b89dc52a +Subproject commit 300270c2f70ca4bdb614b0bdf8cc5d796efea6e7 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 94634275..7c7e2f6c 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x1475(){var _0x2917c4=['4zlJgUI','10PCXFEj','187032ihsQZn','1562GSpatN','6HHGUFY','2447004kuAdjB','1238286NMbIGu','1732624fuLHZx','onMSFSsoError','141066acUsZF','1747840HPLnuO','514sbzJOR','3466vsjCSd','onMSFStatusChange'];_0x1475=function(){return _0x2917c4;};return _0x1475();}var _0x32c1af=_0x2a2b;function _0x2a2b(_0x7d8788,_0x2b77a6){var _0x1475e7=_0x1475();return _0x2a2b=function(_0x2a2be1,_0x2fa0c9){_0x2a2be1=_0x2a2be1-0x12e;var _0xb5cbb5=_0x1475e7[_0x2a2be1];return _0xb5cbb5;},_0x2a2b(_0x7d8788,_0x2b77a6);}(function(_0x508369,_0xed04aa){var _0x254f25=_0x2a2b,_0x57c2b8=_0x508369();while(!![]){try{var _0xa91b1c=-parseInt(_0x254f25(0x13b))/0x1*(parseInt(_0x254f25(0x12e))/0x2)+-parseInt(_0x254f25(0x135))/0x3+-parseInt(_0x254f25(0x130))/0x4*(-parseInt(_0x254f25(0x13a))/0x5)+-parseInt(_0x254f25(0x134))/0x6*(parseInt(_0x254f25(0x136))/0x7)+-parseInt(_0x254f25(0x137))/0x8+-parseInt(_0x254f25(0x139))/0x9*(-parseInt(_0x254f25(0x131))/0xa)+-parseInt(_0x254f25(0x133))/0xb*(-parseInt(_0x254f25(0x132))/0xc);if(_0xa91b1c===_0xed04aa)break;else _0x57c2b8['push'](_0x57c2b8['shift']());}catch(_0x53d8f8){_0x57c2b8['push'](_0x57c2b8['shift']());}}}(_0x1475,0x74d54));export class DependsAdapter{[_0x32c1af(0x12f)](_0x4ae2e4,_0x4d2c5b){}[_0x32c1af(0x138)](_0x559e2c){}['getGroupCode'](_0x5bf549){}} \ No newline at end of file +var _0x4f8b54=_0x4f34;function _0x4f34(_0xbaed04,_0x4b53ad){var _0x4cc022=_0x4cc0();return _0x4f34=function(_0x4f349c,_0x9083e2){_0x4f349c=_0x4f349c-0x131;var _0x33410f=_0x4cc022[_0x4f349c];return _0x33410f;},_0x4f34(_0xbaed04,_0x4b53ad);}function _0x4cc0(){var _0x1d4b13=['477EyYLON','54UTQVQP','6vywxEB','326856HoPiQr','1859ZKXyOj','onMSFSsoError','250QjfjnE','139784xWKKzW','onMSFStatusChange','60qLkvMG','442211Jauitq','194770TWLKuK','97079vRHCFb','getGroupCode'];_0x4cc0=function(){return _0x1d4b13;};return _0x4cc0();}(function(_0x38fc1a,_0x101f93){var _0xb96e1c=_0x4f34,_0x35d74e=_0x38fc1a();while(!![]){try{var _0x468126=parseInt(_0xb96e1c(0x134))/0x1+-parseInt(_0xb96e1c(0x13c))/0x2*(-parseInt(_0xb96e1c(0x136))/0x3)+parseInt(_0xb96e1c(0x139))/0x4+-parseInt(_0xb96e1c(0x133))/0x5+-parseInt(_0xb96e1c(0x138))/0x6*(-parseInt(_0xb96e1c(0x132))/0x7)+parseInt(_0xb96e1c(0x13d))/0x8*(-parseInt(_0xb96e1c(0x137))/0x9)+-parseInt(_0xb96e1c(0x131))/0xa*(-parseInt(_0xb96e1c(0x13a))/0xb);if(_0x468126===_0x101f93)break;else _0x35d74e['push'](_0x35d74e['shift']());}catch(_0x46afc8){_0x35d74e['push'](_0x35d74e['shift']());}}}(_0x4cc0,0x1d117));export class DependsAdapter{[_0x4f8b54(0x13e)](_0x375bc6,_0x4931a2){}[_0x4f8b54(0x13b)](_0xdb7883){}[_0x4f8b54(0x135)](_0x4f0da6){}} \ 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 0296d844..07cfc774 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x8779(_0x182efc,_0x1ba152){var _0x570779=_0x5707();return _0x8779=function(_0x8779d5,_0x17c22e){_0x8779d5=_0x8779d5-0x1b1;var _0x2d383c=_0x570779[_0x8779d5];return _0x2d383c;},_0x8779(_0x182efc,_0x1ba152);}var _0x440ffd=_0x8779;(function(_0x2815cf,_0x4fb7a7){var _0x1df47a=_0x8779,_0x45bd26=_0x2815cf();while(!![]){try{var _0x116c42=parseInt(_0x1df47a(0x1ba))/0x1+parseInt(_0x1df47a(0x1b3))/0x2*(parseInt(_0x1df47a(0x1b6))/0x3)+-parseInt(_0x1df47a(0x1b8))/0x4+-parseInt(_0x1df47a(0x1bc))/0x5+-parseInt(_0x1df47a(0x1b7))/0x6*(-parseInt(_0x1df47a(0x1bb))/0x7)+parseInt(_0x1df47a(0x1b2))/0x8*(parseInt(_0x1df47a(0x1b1))/0x9)+parseInt(_0x1df47a(0x1b4))/0xa;if(_0x116c42===_0x4fb7a7)break;else _0x45bd26['push'](_0x45bd26['shift']());}catch(_0x9117fe){_0x45bd26['push'](_0x45bd26['shift']());}}}(_0x5707,0xe0eed));function _0x5707(){var _0x395265=['9MvrRRi','10015736NowFZn','2EtrWJE','969550nqHxgu','dispatchCallWithJson','3385617QYqbVj','102nhirny','5806788eJHvsG','dispatchCall','1017688ayQcFu','228851tkJMMq','8389540ZeRmtD','dispatchRequest'];_0x5707=function(){return _0x395265;};return _0x5707();}export class DispatcherAdapter{[_0x440ffd(0x1bd)](_0x2521be){}[_0x440ffd(0x1b9)](_0x3177ca){}[_0x440ffd(0x1b5)](_0x3fd151){}} \ No newline at end of file +function _0x1311(){var _0x21c10c=['759EwMYVJ','7649917vyYsAY','18AJNhUO','19844rnwfOz','7LYYXWh','2850560Hdzetk','855832KOoAHx','6094430aJQOfM','1188106kodgkd','1243134TqstUS','dispatchCall','dispatchRequest','3YGNuNP'];_0x1311=function(){return _0x21c10c;};return _0x1311();}function _0x9613(_0x124e1f,_0x5ca3b2){var _0x13111e=_0x1311();return _0x9613=function(_0x961396,_0x45cbb4){_0x961396=_0x961396-0x19f;var _0x589d0b=_0x13111e[_0x961396];return _0x589d0b;},_0x9613(_0x124e1f,_0x5ca3b2);}var _0x1cf984=_0x9613;(function(_0x424440,_0x3ba584){var _0x5949c9=_0x9613,_0x43e09f=_0x424440();while(!![]){try{var _0x4162c0=-parseInt(_0x5949c9(0x1a1))/0x1*(parseInt(_0x5949c9(0x1aa))/0x2)+parseInt(_0x5949c9(0x1a2))/0x3*(parseInt(_0x5949c9(0x1a5))/0x4)+-parseInt(_0x5949c9(0x1a7))/0x5+parseInt(_0x5949c9(0x1ab))/0x6+parseInt(_0x5949c9(0x1a6))/0x7*(-parseInt(_0x5949c9(0x1a8))/0x8)+parseInt(_0x5949c9(0x1a4))/0x9*(parseInt(_0x5949c9(0x1a9))/0xa)+parseInt(_0x5949c9(0x1a3))/0xb;if(_0x4162c0===_0x3ba584)break;else _0x43e09f['push'](_0x43e09f['shift']());}catch(_0x5a2141){_0x43e09f['push'](_0x43e09f['shift']());}}}(_0x1311,0xdff9d));export class DispatcherAdapter{[_0x1cf984(0x1a0)](_0x4e9185){}[_0x1cf984(0x19f)](_0xed1775){}['dispatchCallWithJson'](_0x4ff1ee){}} \ 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 e522e728..b6d1731c 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x55d8d8=_0x5499;(function(_0x7fab98,_0x88ce4b){var _0x4c3bc5=_0x5499,_0x4d63e2=_0x7fab98();while(!![]){try{var _0x1e4d71=parseInt(_0x4c3bc5(0x170))/0x1*(-parseInt(_0x4c3bc5(0x16e))/0x2)+parseInt(_0x4c3bc5(0x16b))/0x3*(parseInt(_0x4c3bc5(0x178))/0x4)+-parseInt(_0x4c3bc5(0x179))/0x5+parseInt(_0x4c3bc5(0x17a))/0x6+parseInt(_0x4c3bc5(0x176))/0x7*(-parseInt(_0x4c3bc5(0x175))/0x8)+parseInt(_0x4c3bc5(0x177))/0x9*(parseInt(_0x4c3bc5(0x173))/0xa)+parseInt(_0x4c3bc5(0x171))/0xb;if(_0x1e4d71===_0x88ce4b)break;else _0x4d63e2['push'](_0x4d63e2['shift']());}catch(_0x55cb83){_0x4d63e2['push'](_0x4d63e2['shift']());}}}(_0x5600,0xd9b92));function _0x5499(_0x517676,_0x518f01){var _0x56007d=_0x5600();return _0x5499=function(_0x5499bc,_0x59e170){_0x5499bc=_0x5499bc-0x16b;var _0x58cffd=_0x56007d[_0x5499bc];return _0x58cffd;},_0x5499(_0x517676,_0x518f01);}export class GlobalAdapter{[_0x55d8d8(0x16c)](..._0x433054){}[_0x55d8d8(0x172)](..._0x473890){}['onShowErrUITips'](..._0x37626c){}['fixPicImgType'](..._0x2f20a3){}['getAppSetting'](..._0x4f2cde){}[_0x55d8d8(0x16d)](..._0xf99b3d){}[_0x55d8d8(0x16f)](..._0x1f249d){}[_0x55d8d8(0x174)](..._0x2f3017){}}function _0x5600(){var _0x2e4fdc=['210wzPnVI','onGetOfflineMsg','4467112ubWRgb','21UVuMxo','656037GYRugw','3170916mMLtWL','4082750iLfpJh','1325094nwmwVW','3GPfRlM','onLog','onInstallFinished','41284gpniEA','onUpdateGeneralFlag','66CowbAe','24217072RtohOA','onGetSrvCalTime'];_0x5600=function(){return _0x2e4fdc;};return _0x5600();} \ No newline at end of file +function _0x29b3(){var _0x50a1ac=['227dappVx','onLog','3ezeneX','82146BRNYZc','onGetOfflineMsg','13966LCzWGd','onGetSrvCalTime','4190520tddJqr','12542238Ejzuyc','42214070tGrJfU','fixPicImgType','497Rwzcci','1773784nMIZhG','4684616Ljokuo'];_0x29b3=function(){return _0x50a1ac;};return _0x29b3();}function _0x26ad(_0x210152,_0xd58e76){var _0x29b3c2=_0x29b3();return _0x26ad=function(_0x26ad07,_0xc58895){_0x26ad07=_0x26ad07-0x1b9;var _0x36b970=_0x29b3c2[_0x26ad07];return _0x36b970;},_0x26ad(_0x210152,_0xd58e76);}var _0x1738d3=_0x26ad;(function(_0x20c8f1,_0x517180){var _0x244916=_0x26ad,_0x32b58e=_0x20c8f1();while(!![]){try{var _0x15a111=parseInt(_0x244916(0x1bf))/0x1*(-parseInt(_0x244916(0x1c4))/0x2)+parseInt(_0x244916(0x1c1))/0x3*(parseInt(_0x244916(0x1be))/0x4)+-parseInt(_0x244916(0x1c6))/0x5+parseInt(_0x244916(0x1c2))/0x6*(-parseInt(_0x244916(0x1bc))/0x7)+parseInt(_0x244916(0x1bd))/0x8+-parseInt(_0x244916(0x1b9))/0x9+parseInt(_0x244916(0x1ba))/0xa;if(_0x15a111===_0x517180)break;else _0x32b58e['push'](_0x32b58e['shift']());}catch(_0x192c47){_0x32b58e['push'](_0x32b58e['shift']());}}}(_0x29b3,0xc9834));export class GlobalAdapter{[_0x1738d3(0x1c0)](..._0x3d1936){}[_0x1738d3(0x1c5)](..._0x4c8dae){}['onShowErrUITips'](..._0x5bf5a2){}[_0x1738d3(0x1bb)](..._0x2ef0dd){}['getAppSetting'](..._0x5b6467){}['onInstallFinished'](..._0x11433e){}['onUpdateGeneralFlag'](..._0x36e7ff){}[_0x1738d3(0x1c3)](..._0x302955){}} \ 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 6832b2b6..4735da57 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x550740,_0x1f7ea3){var _0x578011=_0x2235,_0x4b0b9d=_0x550740();while(!![]){try{var _0x17c7ea=parseInt(_0x578011(0x198))/0x1+parseInt(_0x578011(0x195))/0x2+parseInt(_0x578011(0x197))/0x3+parseInt(_0x578011(0x19a))/0x4+parseInt(_0x578011(0x196))/0x5+parseInt(_0x578011(0x199))/0x6+-parseInt(_0x578011(0x194))/0x7;if(_0x17c7ea===_0x1f7ea3)break;else _0x4b0b9d['push'](_0x4b0b9d['shift']());}catch(_0x12a135){_0x4b0b9d['push'](_0x4b0b9d['shift']());}}}(_0x1e89,0xb7851));export*from'./NodeIDependsAdapter';function _0x2235(_0x3e20eb,_0x1d2666){var _0x1e89a=_0x1e89();return _0x2235=function(_0x2235f7,_0x5c8521){_0x2235f7=_0x2235f7-0x194;var _0x358172=_0x1e89a[_0x2235f7];return _0x358172;},_0x2235(_0x3e20eb,_0x1d2666);}function _0x1e89(){var _0x38391c=['2008533SSSpSP','786580LuXQUa','4922532kbygSo','66440AKumhc','17526026GtAYub','510490CHEgYB','3535235CfrsYM'];_0x1e89=function(){return _0x38391c;};return _0x1e89();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3bdc0a,_0x2b28d2){var _0x4f262f=_0x5807,_0x2cdc54=_0x3bdc0a();while(!![]){try{var _0x24155b=parseInt(_0x4f262f(0xf2))/0x1*(-parseInt(_0x4f262f(0xf3))/0x2)+-parseInt(_0x4f262f(0xf1))/0x3+-parseInt(_0x4f262f(0xf5))/0x4*(parseInt(_0x4f262f(0xf8))/0x5)+-parseInt(_0x4f262f(0xf4))/0x6+-parseInt(_0x4f262f(0xf7))/0x7*(-parseInt(_0x4f262f(0xf6))/0x8)+parseInt(_0x4f262f(0xf9))/0x9+-parseInt(_0x4f262f(0xef))/0xa*(-parseInt(_0x4f262f(0xf0))/0xb);if(_0x24155b===_0x2b28d2)break;else _0x2cdc54['push'](_0x2cdc54['shift']());}catch(_0x3e3eaf){_0x2cdc54['push'](_0x2cdc54['shift']());}}}(_0x40f5,0x1dc0b));function _0x5807(_0x1a67af,_0x167d9c){var _0x40f51e=_0x40f5();return _0x5807=function(_0x580701,_0xa71bda){_0x580701=_0x580701-0xef;var _0x8b501a=_0x40f51e[_0x580701];return _0x8b501a;},_0x5807(_0x1a67af,_0x167d9c);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x40f5(){var _0x516c0a=['20XtOAIT','2219195TpiCHh','432918TfuxVG','166613tJaCyR','2uEjykt','1290828cCTXnB','7348QUxezJ','1336PUrnLr','7147WruUXt','160AGXJYr','1194399FtRLXu'];_0x40f5=function(){return _0x516c0a;};return _0x40f5();}export*from'./NodeIGlobalAdapter'; \ 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 71b0e8d3..47cec051 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x1e5772=_0x1b14;(function(_0x222e52,_0x5b0d6a){const _0x5a6ca8=_0x1b14,_0x32c37f=_0x222e52();while(!![]){try{const _0x3759ea=-parseInt(_0x5a6ca8(0x184))/0x1*(parseInt(_0x5a6ca8(0x192))/0x2)+parseInt(_0x5a6ca8(0x182))/0x3+-parseInt(_0x5a6ca8(0x198))/0x4+-parseInt(_0x5a6ca8(0x190))/0x5*(parseInt(_0x5a6ca8(0x16f))/0x6)+parseInt(_0x5a6ca8(0x17e))/0x7+parseInt(_0x5a6ca8(0x194))/0x8+-parseInt(_0x5a6ca8(0x158))/0x9*(-parseInt(_0x5a6ca8(0x162))/0xa);if(_0x3759ea===_0x5b0d6a)break;else _0x32c37f['push'](_0x32c37f['shift']());}catch(_0x5d985c){_0x32c37f['push'](_0x32c37f['shift']());}}}(_0x6aa9,0xb5f98));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3f2bc9 from'path';import _0x4e3ae1 from'fs';import _0x3f8494 from'fs/promises';function _0x6aa9(){const _0x2252c5=['&rkey=','8498063LEMmzd','ext','hotUpdate','oWmEP','1789326Hppmdu','getDesktopTmpPath','1389lZuewn','hVTsn','clearChatCache','getChatCacheList','dwhsY','DsVIm','clearChatCacheInfo','getCacheSessionPathList','defaultFileDownloadPath','AnfkM','KBQNg','fileTypeFromFile','266885jwIMbJ','uploadFile','1200UMDwyM','downloadRichMedia','307512bssvMM','unlink','util','set','2778016eSYWTl','filePath','clearCache','/gchatpic_new/0/0-0-','setCacheSilentScan','group_rkey','getFileSize','downloadMedia','75321Vwapim','tDXkm','图片url获取失败','getStorageCleanService','originImageUrl','/download','getFileCacheInfo','WwsTX','下载超时','rqEPf','1400XcbDUe','getFileType','onLoginSuccess','clearCacheDataByKeys','tmp','basename','copyFile','session','getHotUpdateCachePath','apDIy','jFQJe','eOZNV','scanCache','84kTtXGo','msgId','startsWith','getRichMediaFilePathForGuild','MWFDq','addListener','addCacheScanedPaths','PIC','getMsgService','md5HexStr','getImageUrl','includes','indexOf','getChatCacheInfo'];_0x6aa9=function(){return _0x2252c5;};return _0x6aa9();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x373f31 from'file-type';import{MsgListener}from'@/core/listeners';import _0x40f49d from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x1b14(_0x49743a,_0x320ce7){const _0x6aa936=_0x6aa9();return _0x1b14=function(_0x1b1430,_0x344e91){_0x1b1430=_0x1b1430-0x155;let _0x4332e1=_0x6aa936[_0x1b1430];return _0x4332e1;},_0x1b14(_0x49743a,_0x320ce7);}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']=_0x40139b=>{const _0x17a051=_0x1b14,_0x27640b={'AnfkM':function(_0x1e55ce,_0x3f3115){return _0x1e55ce(_0x3f3115);}};for(const [_0x3c26c7,_0x51654c]of downloadMediaTasks){_0x27640b[_0x17a051(0x18d)](_0x51654c,_0x40139b),downloadMediaTasks['delete'](_0x3c26c7);}},setTimeout(()=>{const _0x52197d=_0x1b14;napCatCore[_0x52197d(0x164)](()=>{const _0x2e4c48=_0x52197d;napCatCore[_0x2e4c48(0x174)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1e5772(0x163)](_0x550d98){const _0x17f066=_0x1e5772;return _0x373f31[_0x17f066(0x18f)](_0x550d98);}static async[_0x1e5772(0x168)](_0x595efe,_0x4b2ff0){const _0x232fad=_0x1e5772;await napCatCore[_0x232fad(0x196)][_0x232fad(0x168)](_0x595efe,_0x4b2ff0);}static async[_0x1e5772(0x156)](_0x2683ce){const _0x5223f7=_0x1e5772;return await napCatCore[_0x5223f7(0x196)]['getFileSize'](_0x2683ce);}static async[_0x1e5772(0x191)](_0x20d64c,_0x2bbbe9=ElementType[_0x1e5772(0x176)],_0x1ab51b=0x0){const _0x11336c=_0x1e5772,_0x14c53e={'kClMV':function(_0x40dc25,_0x388a39){return _0x40dc25+_0x388a39;},'tDXkm':function(_0x3e90f0,_0x304bf0){return _0x3e90f0===_0x304bf0;}},_0x50b2b7=await calculateFileMD5(_0x20d64c);let _0x369ccc=(await NTQQFileApi[_0x11336c(0x163)](_0x20d64c))?.[_0x11336c(0x17f)]||'';_0x369ccc&&(_0x369ccc=_0x14c53e['kClMV']('.',_0x369ccc));let _0x2cfcef=''+_0x3f2bc9[_0x11336c(0x167)](_0x20d64c);_0x14c53e[_0x11336c(0x159)](_0x2cfcef[_0x11336c(0x17b)]('.'),-0x1)&&(_0x2cfcef+=_0x369ccc);const _0xc8a946=napCatCore[_0x11336c(0x169)]['getMsgService']()[_0x11336c(0x172)]({'md5HexStr':_0x50b2b7,'fileName':_0x2cfcef,'elementType':_0x2bbbe9,'elementSubType':_0x1ab51b,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x11336c(0x168)](_0x20d64c,_0xc8a946);const _0x1a8632=await NTQQFileApi[_0x11336c(0x156)](_0x20d64c);return{'md5':_0x50b2b7,'fileName':_0x2cfcef,'path':_0xc8a946,'fileSize':_0x1a8632,'ext':_0x369ccc};}static async[_0x1e5772(0x157)](_0xd9a88e,_0x305cbc,_0x586106,_0x461fda,_0x2bf00b,_0x5c598f,_0x262895=0x3e8*0x3c*0x2,_0x308cf4=![]){const _0x4f275d=_0x1e5772,_0x3a1fbe={'apDIy':_0x4f275d(0x160),'dwhsY':function(_0x14f403){return _0x14f403();},'jFQJe':function(_0x5d6e8c,_0x54241b,_0x4f166d){return _0x5d6e8c(_0x54241b,_0x4f166d);}};if(_0x5c598f&&_0x4e3ae1['existsSync'](_0x5c598f)){if(_0x308cf4)try{await _0x3f8494[_0x4f275d(0x195)](_0x5c598f);}catch(_0x212de7){}else return _0x5c598f;}return new Promise((_0x5caecc,_0xcb7a0a)=>{const _0x3cb81c=_0x4f275d,_0x2d0762={'hVTsn':function(_0x6de315,_0x43ccca){return _0x6de315===_0x43ccca;},'eOZNV':_0x3a1fbe[_0x3cb81c(0x16b)]};let _0x481bff=![];const _0x53eb5a=_0x3eabe9=>{const _0x4948ca=_0x3cb81c;if(_0x2d0762[_0x4948ca(0x185)](_0x3eabe9[_0x4948ca(0x170)],_0xd9a88e)){_0x481bff=!![];let _0x1c0799=_0x3eabe9[_0x4948ca(0x199)];if(_0x1c0799[_0x4948ca(0x171)]('\x5c')){const _0x22cc61=sessionConfig[_0x4948ca(0x18c)];_0x1c0799=_0x3f2bc9['join'](_0x22cc61,_0x1c0799);}_0x5caecc(_0x1c0799);}};downloadMediaTasks[_0x3cb81c(0x197)](_0x3a1fbe[_0x3cb81c(0x188)](randomUUID),_0x53eb5a),_0x3a1fbe[_0x3cb81c(0x16c)](setTimeout,()=>{const _0x1a7cec=_0x3cb81c;!_0x481bff&&_0xcb7a0a(_0x2d0762[_0x1a7cec(0x16d)]);},_0x262895),napCatCore[_0x3cb81c(0x169)][_0x3cb81c(0x177)]()[_0x3cb81c(0x193)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xd9a88e,'chatType':_0x305cbc,'peerUid':_0x586106,'elementId':_0x461fda,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2bf00b});});}static async['getImageSize'](_0x29b790){const _0x576537={'WwsTX':function(_0x5d751d,_0x17e439,_0xa101a6){return _0x5d751d(_0x17e439,_0xa101a6);}};return new Promise((_0x5794ef,_0x359821)=>{const _0x38aa84=_0x1b14;_0x576537[_0x38aa84(0x15f)](_0x40f49d,_0x29b790,(_0x2ca4fa,_0x3011bb)=>{_0x2ca4fa?_0x359821(_0x2ca4fa):_0x5794ef(_0x3011bb);});});}static async[_0x1e5772(0x179)](_0x3ffb53,_0x313452){const _0x555e04=_0x1e5772,_0x1656be={'KBQNg':_0x555e04(0x15d),'DsVIm':_0x555e04(0x17d),'LrbZb':function(_0x39757f,_0x4c5da2){return _0x39757f+_0x4c5da2;},'KMzym':function(_0x412964,_0x2d0cd9){return _0x412964+_0x2d0cd9;},'MWFDq':function(_0x8bcfdc,_0x4eefcf){return _0x8bcfdc+_0x4eefcf;},'oWmEP':function(_0x2feb1f,_0xc134a7){return _0x2feb1f+_0xc134a7;},'eTwFm':function(_0x390e1d,_0xcc03ec){return _0x390e1d||_0xcc03ec;},'ZzHXG':function(_0x1cf537,_0x2073da){return _0x1cf537||_0x2073da;},'rqEPf':function(_0x25e021,_0x18ae43,_0x23127e){return _0x25e021(_0x18ae43,_0x23127e);},'lJmkV':_0x555e04(0x15a)};if(!_0x3ffb53)return'';const _0x2bd4eb=_0x3ffb53[_0x555e04(0x15c)],_0x206164=_0x3ffb53[_0x555e04(0x178)],_0x367be3=_0x3ffb53['md5HexStr'],_0x540a33=_0x3ffb53['fileUuid'];if(_0x2bd4eb){if(_0x2bd4eb['startsWith'](_0x1656be[_0x555e04(0x18e)])){if(_0x2bd4eb[_0x555e04(0x17a)](_0x1656be[_0x555e04(0x189)]))return _0x1656be['LrbZb'](IMAGE_HTTP_HOST_NT,_0x2bd4eb);const _0x46322b=await rkeyManager['getRkey'](),_0x5326a5=_0x313452?_0x46322b['private_rkey']:_0x46322b[_0x555e04(0x155)];return _0x1656be['KMzym'](_0x1656be[_0x555e04(0x173)](IMAGE_HTTP_HOST_NT,_0x2bd4eb),''+_0x5326a5);}else return _0x1656be[_0x555e04(0x181)](IMAGE_HTTP_HOST,_0x2bd4eb);}else{if(_0x1656be['eTwFm'](_0x367be3,_0x206164))return IMAGE_HTTP_HOST+_0x555e04(0x19b)+_0x1656be['ZzHXG'](_0x367be3,_0x206164)['toUpperCase']()+'/0';}return _0x1656be[_0x555e04(0x161)](logDebug,_0x1656be['lJmkV'],_0x3ffb53),'';}}export class NTQQFileCacheApi{static async[_0x1e5772(0x19c)](_0x481c8f=!![]){return'';}static[_0x1e5772(0x18b)](){return'';}static[_0x1e5772(0x19a)](_0x4b60f5=[_0x1e5772(0x166),_0x1e5772(0x180)]){const _0x13f622=_0x1e5772;return napCatCore[_0x13f622(0x169)]['getStorageCleanService']()[_0x13f622(0x165)](_0x4b60f5);}static['addCacheScannedPaths'](_0x479c61={}){const _0x463dd7=_0x1e5772;return napCatCore[_0x463dd7(0x169)]['getStorageCleanService']()[_0x463dd7(0x175)](_0x479c61);}static[_0x1e5772(0x16e)](){const _0x5a4808=_0x1e5772;return napCatCore[_0x5a4808(0x169)][_0x5a4808(0x15b)]()[_0x5a4808(0x16e)]();}static[_0x1e5772(0x16a)](){return'';}static[_0x1e5772(0x183)](){return'';}static[_0x1e5772(0x187)](_0x5cfe11,_0x3bded8=0x3e8,_0x5ce2c6=0x0){const _0x48788b=_0x1e5772;return napCatCore[_0x48788b(0x169)]['getStorageCleanService']()[_0x48788b(0x17c)](_0x5cfe11,_0x3bded8,0x1,_0x5ce2c6);}static[_0x1e5772(0x15e)](_0x21cf8c,_0x56891c=0x3e8,_0x44d9ad){const _0x1bb14a=_0x44d9ad?_0x44d9ad:{'fileType':_0x21cf8c};}static async[_0x1e5772(0x186)](_0x2840ac=[],_0x4d8213=[]){const _0x5b862d=_0x1e5772;return napCatCore[_0x5b862d(0x169)]['getStorageCleanService']()[_0x5b862d(0x18a)](_0x2840ac,_0x4d8213);}} \ No newline at end of file +const _0xefb9f=_0x9cdc;function _0x3e5b(){const _0x52ce17=['PIC','20845MmwoBo','getImageSize','clearCacheDataByKeys','setCacheSilentScan','7XpqCSM','getChatCacheInfo','indexOf','rqcoZ','uploadFile','delete','60woxOvD','copyFile','BWLXw','/gchatpic_new/0/0-0-','defaultFileDownloadPath','scanCache','unlink','util','getRichMediaFilePathForGuild','getFileType','getStorageCleanService','1107504qmeIPZ','hotUpdate','getFileCacheInfo','filePath','private_rkey','onLoginSuccess','toUpperCase','addCacheScannedPaths','fileUuid','basename','9434800yRXyKk','&rkey=','downloadRichMedia','51444RPzWvE','ext','5955uAtONj','startsWith','set','5246329QwdPcb','zCFGk','addCacheScanedPaths','WUxwF','/download','getCacheSessionPathList','onRichMediaDownloadComplete','jnwqk','wdwze','RTfJu','408FDqeil','getDesktopTmpPath','6996RVlTSM','downloadMedia','图片url获取失败','tmp','zQFaH','getChatCacheList','includes','originImageUrl','clearChatCacheInfo','fileTypeFromFile','clearCache','msgId','addListener','getFileSize','getMsgService','existsSync','174WrvKFC','下载超时','session'];_0x3e5b=function(){return _0x52ce17;};return _0x3e5b();}(function(_0x2dcd5a,_0x12e06d){const _0x597f5b=_0x9cdc,_0x259a55=_0x2dcd5a();while(!![]){try{const _0x1d7969=-parseInt(_0x597f5b(0x110))/0x1*(parseInt(_0x597f5b(0xe7))/0x2)+-parseInt(_0x597f5b(0x101))/0x3*(parseInt(_0x597f5b(0x10e))/0x4)+parseInt(_0x597f5b(0xdd))/0x5*(-parseInt(_0x597f5b(0xd9))/0x6)+parseInt(_0x597f5b(0xe1))/0x7*(-parseInt(_0x597f5b(0xf2))/0x8)+-parseInt(_0x597f5b(0xff))/0x9+parseInt(_0x597f5b(0xfc))/0xa+parseInt(_0x597f5b(0x104))/0xb;if(_0x1d7969===_0x12e06d)break;else _0x259a55['push'](_0x259a55['shift']());}catch(_0x236163){_0x259a55['push'](_0x259a55['shift']());}}}(_0x3e5b,0xb5666));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1a379c from'path';import _0x21feb7 from'fs';import _0x5e0fb7 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x9cdc(_0x170654,_0x5e5e81){const _0x3e5b47=_0x3e5b();return _0x9cdc=function(_0x9cdc25,_0x3258b5){_0x9cdc25=_0x9cdc25-0xcd;let _0x5d98dc=_0x3e5b47[_0x9cdc25];return _0x5d98dc;},_0x9cdc(_0x170654,_0x5e5e81);}import*as _0x3e18c4 from'file-type';import{MsgListener}from'@/core/listeners';import _0x1b62e3 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[_0xefb9f(0x10a)]=_0x841eef=>{const _0x47a8ca=_0xefb9f,_0x5d3baf={'fdaWP':function(_0x5516d2,_0x548842){return _0x5516d2(_0x548842);}};for(const [_0x5f1f18,_0x6b0f7d]of downloadMediaTasks){_0x5d3baf['fdaWP'](_0x6b0f7d,_0x841eef),downloadMediaTasks[_0x47a8ca(0xe6)](_0x5f1f18);}},setTimeout(()=>{const _0x3eb4e2=_0xefb9f;napCatCore[_0x3eb4e2(0xf7)](()=>{const _0x148e6b=_0x3eb4e2;napCatCore[_0x148e6b(0xd5)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0xefb9f(0xf0)](_0x576661){const _0x364338=_0xefb9f;return _0x3e18c4[_0x364338(0xd2)](_0x576661);}static async[_0xefb9f(0xe8)](_0xf621ac,_0x22cbac){const _0xafa5c3=_0xefb9f;await napCatCore[_0xafa5c3(0xee)][_0xafa5c3(0xe8)](_0xf621ac,_0x22cbac);}static async[_0xefb9f(0xd6)](_0x32b751){const _0x5b8f95=_0xefb9f;return await napCatCore[_0x5b8f95(0xee)][_0x5b8f95(0xd6)](_0x32b751);}static async[_0xefb9f(0xe5)](_0x21c523,_0x57151f=ElementType[_0xefb9f(0xdc)],_0x48ab6f=0x0){const _0x233faf=_0xefb9f,_0x1e97a5={'zQFaH':function(_0x1ae054,_0x43bbf8){return _0x1ae054+_0x43bbf8;},'UVhjE':function(_0x480245,_0x561078){return _0x480245===_0x561078;}},_0x55f518=await calculateFileMD5(_0x21c523);let _0x2e767c=(await NTQQFileApi[_0x233faf(0xf0)](_0x21c523))?.[_0x233faf(0x100)]||'';_0x2e767c&&(_0x2e767c=_0x1e97a5[_0x233faf(0xcd)]('.',_0x2e767c));let _0x5af73a=''+_0x1a379c[_0x233faf(0xfb)](_0x21c523);_0x1e97a5['UVhjE'](_0x5af73a[_0x233faf(0xe3)]('.'),-0x1)&&(_0x5af73a+=_0x2e767c);const _0x1a8521=napCatCore[_0x233faf(0xdb)][_0x233faf(0xd7)]()[_0x233faf(0xef)]({'md5HexStr':_0x55f518,'fileName':_0x5af73a,'elementType':_0x57151f,'elementSubType':_0x48ab6f,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x233faf(0xe8)](_0x21c523,_0x1a8521);const _0x239c4d=await NTQQFileApi[_0x233faf(0xd6)](_0x21c523);return{'md5':_0x55f518,'fileName':_0x5af73a,'path':_0x1a8521,'fileSize':_0x239c4d,'ext':_0x2e767c};}static async[_0xefb9f(0x111)](_0x2e8345,_0x1fdc92,_0x31b4dd,_0x95e704,_0x49bf69,_0x4dc626,_0x4d37eb=0x3e8*0x3c*0x2,_0x314460=![]){const _0x55e7e4=_0xefb9f,_0x29426b={'cZfUC':function(_0x71238e,_0x2777f3){return _0x71238e===_0x2777f3;},'WUxwF':function(_0x135636,_0x1edb61){return _0x135636(_0x1edb61);},'jsRqB':_0x55e7e4(0xda)};if(_0x4dc626&&_0x21feb7[_0x55e7e4(0xd8)](_0x4dc626)){if(_0x314460)try{await _0x5e0fb7[_0x55e7e4(0xed)](_0x4dc626);}catch(_0x4b7e90){}else return _0x4dc626;}return new Promise((_0x4f6a2a,_0x2c21c4)=>{const _0x371a4a=_0x55e7e4;let _0x4fbf95=![];const _0x9755de=_0x3bce1e=>{const _0x3e7e6d=_0x9cdc;if(_0x29426b['cZfUC'](_0x3bce1e[_0x3e7e6d(0xd4)],_0x2e8345)){_0x4fbf95=!![];let _0x831049=_0x3bce1e[_0x3e7e6d(0xf5)];if(_0x831049[_0x3e7e6d(0x102)]('\x5c')){const _0x28717e=sessionConfig[_0x3e7e6d(0xeb)];_0x831049=_0x1a379c['join'](_0x28717e,_0x831049);}_0x29426b[_0x3e7e6d(0x107)](_0x4f6a2a,_0x831049);}};downloadMediaTasks[_0x371a4a(0x103)](randomUUID(),_0x9755de),setTimeout(()=>{const _0x395755=_0x371a4a;!_0x4fbf95&&_0x29426b[_0x395755(0x107)](_0x2c21c4,_0x29426b['jsRqB']);},_0x4d37eb),napCatCore[_0x371a4a(0xdb)]['getMsgService']()[_0x371a4a(0xfe)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2e8345,'chatType':_0x1fdc92,'peerUid':_0x31b4dd,'elementId':_0x95e704,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x49bf69});});}static async[_0xefb9f(0xde)](_0x3cc4e5){const _0x327147={'RTfJu':function(_0x3a2ff4,_0x4e484a,_0x3016bf){return _0x3a2ff4(_0x4e484a,_0x3016bf);}};return new Promise((_0x4b0bfd,_0x180d67)=>{const _0x15a6c9=_0x9cdc;_0x327147[_0x15a6c9(0x10d)](_0x1b62e3,_0x3cc4e5,(_0x2ee95d,_0x1fe98f)=>{_0x2ee95d?_0x180d67(_0x2ee95d):_0x4b0bfd(_0x1fe98f);});});}static async['getImageUrl'](_0x4c0579,_0x2fd0d7){const _0x509cde=_0xefb9f,_0x3ca071={'Oxjkk':_0x509cde(0x108),'qMkii':_0x509cde(0xfd),'wdwze':function(_0x2b7645,_0x317a3d){return _0x2b7645+_0x317a3d;},'BWLXw':function(_0x171909,_0x360e98){return _0x171909+_0x360e98;},'zCFGk':function(_0x86b49c,_0x4fd0cd){return _0x86b49c+_0x4fd0cd;},'jnwqk':function(_0xac2480,_0x47624d){return _0xac2480||_0x47624d;},'rqcoZ':function(_0x20fef7,_0x15cd4e,_0x1c3417){return _0x20fef7(_0x15cd4e,_0x1c3417);},'NGRgw':_0x509cde(0x112)};if(!_0x4c0579)return'';const _0x4679cb=_0x4c0579[_0x509cde(0xd0)],_0x5d73c6=_0x4c0579['md5HexStr'],_0x9cd402=_0x4c0579['md5HexStr'],_0x5c2ec5=_0x4c0579[_0x509cde(0xfa)];if(_0x4679cb){if(_0x4679cb[_0x509cde(0x102)](_0x3ca071['Oxjkk'])){if(_0x4679cb[_0x509cde(0xcf)](_0x3ca071['qMkii']))return _0x3ca071[_0x509cde(0x10c)](IMAGE_HTTP_HOST_NT,_0x4679cb);const _0x11e3d2=await rkeyManager['getRkey'](),_0x2118d1=_0x2fd0d7?_0x11e3d2[_0x509cde(0xf6)]:_0x11e3d2['group_rkey'];return _0x3ca071[_0x509cde(0xe9)](IMAGE_HTTP_HOST_NT,_0x4679cb)+(''+_0x2118d1);}else return _0x3ca071[_0x509cde(0x105)](IMAGE_HTTP_HOST,_0x4679cb);}else{if(_0x9cd402||_0x5d73c6)return IMAGE_HTTP_HOST+_0x509cde(0xea)+_0x3ca071[_0x509cde(0x10b)](_0x9cd402,_0x5d73c6)[_0x509cde(0xf8)]()+'/0';}return _0x3ca071[_0x509cde(0xe4)](logDebug,_0x3ca071['NGRgw'],_0x4c0579),'';}}export class NTQQFileCacheApi{static async[_0xefb9f(0xe0)](_0x45659d=!![]){return'';}static[_0xefb9f(0x109)](){return'';}static[_0xefb9f(0xd3)](_0x4c7a14=[_0xefb9f(0x113),_0xefb9f(0xf3)]){const _0x3ea12b=_0xefb9f;return napCatCore['session'][_0x3ea12b(0xf1)]()[_0x3ea12b(0xdf)](_0x4c7a14);}static[_0xefb9f(0xf9)](_0x277d0e={}){const _0x2f260e=_0xefb9f;return napCatCore[_0x2f260e(0xdb)][_0x2f260e(0xf1)]()[_0x2f260e(0x106)](_0x277d0e);}static[_0xefb9f(0xec)](){const _0x104177=_0xefb9f;return napCatCore[_0x104177(0xdb)][_0x104177(0xf1)]()[_0x104177(0xec)]();}static['getHotUpdateCachePath'](){return'';}static[_0xefb9f(0x10f)](){return'';}static[_0xefb9f(0xce)](_0x3f16cc,_0x4f05e9=0x3e8,_0xb5e2f9=0x0){const _0x1f2463=_0xefb9f;return napCatCore[_0x1f2463(0xdb)][_0x1f2463(0xf1)]()[_0x1f2463(0xe2)](_0x3f16cc,_0x4f05e9,0x1,_0xb5e2f9);}static[_0xefb9f(0xf4)](_0x1c156a,_0x33bdc4=0x3e8,_0x2decd2){const _0x6be3b7=_0x2decd2?_0x2decd2:{'fileType':_0x1c156a};}static async['clearChatCache'](_0x5597da=[],_0x417a2f=[]){const _0x1a09c8=_0xefb9f;return napCatCore[_0x1a09c8(0xdb)][_0x1a09c8(0xf1)]()[_0x1a09c8(0xd1)](_0x5597da,_0x417a2f);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 066a3ef2..b6f6a5b3 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x487cc6=_0x4f4a;(function(_0xc410b8,_0x1f97ef){const _0x486a62=_0x4f4a,_0x3652ec=_0xc410b8();while(!![]){try{const _0x254ae4=parseInt(_0x486a62(0x14a))/0x1*(-parseInt(_0x486a62(0x148))/0x2)+-parseInt(_0x486a62(0x142))/0x3+parseInt(_0x486a62(0x14b))/0x4+-parseInt(_0x486a62(0x150))/0x5*(-parseInt(_0x486a62(0x138))/0x6)+-parseInt(_0x486a62(0x146))/0x7+parseInt(_0x486a62(0x14f))/0x8+-parseInt(_0x486a62(0x147))/0x9*(-parseInt(_0x486a62(0x135))/0xa);if(_0x254ae4===_0x1f97ef)break;else _0x3652ec['push'](_0x3652ec['shift']());}catch(_0x56b947){_0x3652ec['push'](_0x3652ec['shift']());}}}(_0x1a58,0xd4bc4));import{BuddyListener,napCatCore}from'@/core';function _0x1a58(){const _0x2089fa=['session','onLoginSuccess','iPBjM','VRUah','getBuddyService','10KAmYAq','friendUid','handleFriendRequest','30cLnnkD','uin','approvalFriendRequest','VZnOk','aBdqU','getBuddyList','gDQRN','QiCml','push','btiZG','3380211zXauwd','delete','开始获取好友列表','then','11108083vHfOrr','7889526ZPCevj','56YGXUNo','buddyList','18743pbBGtX','2829908CxweUU','vsZtM','uid','onBuddyListChange','13311944kSAQtQ','861690kKWceK'];_0x1a58=function(){return _0x2089fa;};return _0x1a58();}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x4f4a(_0x339d3b,_0x2912aa){const _0x1a589f=_0x1a58();return _0x4f4a=function(_0x4f4a10,_0xc7320e){_0x4f4a10=_0x4f4a10-0x135;let _0x40630a=_0x1a589f[_0x4f4a10];return _0x40630a;},_0x4f4a(_0x339d3b,_0x2912aa);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x487cc6(0x14e)]=_0x5f12df=>{const _0x1ba183=_0x487cc6,_0x15a783={'VZnOk':function(_0x42c0f7,_0x140d3f){return _0x42c0f7(_0x140d3f);}};for(const [_0x4e180b,_0x2c092]of buddyChangeTasks){_0x15a783[_0x1ba183(0x13b)](_0x2c092,_0x5f12df),buddyChangeTasks[_0x1ba183(0x143)](_0x4e180b);}},setTimeout(()=>{const _0x54babe=_0x487cc6;napCatCore[_0x54babe(0x152)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x4f45da=![]){const _0xf0cbc8={'iPBjM':function(_0x146682,_0x277326){return _0x146682(_0x277326);},'gDQRN':'获取好友列表超时','vsZtM':function(_0x33c698,_0x3427d5){return _0x33c698(_0x3427d5);},'btiZG':function(_0x4dce84,_0x34e0a8,_0x1d186e){return _0x4dce84(_0x34e0a8,_0x1d186e);},'QiCml':function(_0xef5b76){return _0xef5b76();}};return new Promise((_0x82f5bc,_0x5962ae)=>{const _0x1e464e=_0x4f4a,_0xd78b4a={'aBdqU':function(_0x2f3f80,_0x19300e){return _0x2f3f80(_0x19300e);},'VRUah':_0x1e464e(0x144)};let _0x23f789=![];_0xf0cbc8[_0x1e464e(0x141)](setTimeout,()=>{const _0xb40a5b=_0x1e464e;!_0x23f789&&(_0xf0cbc8[_0xb40a5b(0x153)](logDebug,_0xf0cbc8[_0xb40a5b(0x13e)]),_0xf0cbc8[_0xb40a5b(0x14c)](_0x5962ae,_0xf0cbc8[_0xb40a5b(0x13e)]));},0x1388);const _0x24fe31=[],_0x26aa54=_0x17c928=>{const _0x4dd32d=_0x1e464e;for(const _0x4e8183 of _0x17c928){for(const _0x2a8512 of _0x4e8183[_0x4dd32d(0x149)]){_0x24fe31[_0x4dd32d(0x140)](_0x2a8512),uid2UinMap[_0x2a8512[_0x4dd32d(0x14d)]]=_0x2a8512[_0x4dd32d(0x139)];}}_0x23f789=!![],_0xd78b4a[_0x4dd32d(0x13c)](_0x82f5bc,_0x24fe31);};buddyChangeTasks['set'](_0xf0cbc8[_0x1e464e(0x13f)](randomUUID),_0x26aa54),napCatCore[_0x1e464e(0x151)][_0x1e464e(0x155)]()[_0x1e464e(0x13d)](_0x4f45da)[_0x1e464e(0x145)](_0x2c3333=>{const _0x15994a=_0x1e464e;logDebug(_0xd78b4a[_0x15994a(0x154)],_0x2c3333);});});}static async[_0x487cc6(0x137)](_0x1d16b1,_0x537388){const _0x12c7df=_0x487cc6;napCatCore['session']['getBuddyService']()?.[_0x12c7df(0x13a)]({'friendUid':_0x1d16b1[_0x12c7df(0x136)],'reqTime':_0x1d16b1['reqTime'],'accept':_0x537388});}} \ No newline at end of file +const _0x3757d1=_0x17b2;(function(_0x2f62ad,_0x5963b4){const _0x5f29cb=_0x17b2,_0x543a5b=_0x2f62ad();while(!![]){try{const _0x3aa014=-parseInt(_0x5f29cb(0x206))/0x1*(-parseInt(_0x5f29cb(0x1f4))/0x2)+parseInt(_0x5f29cb(0x208))/0x3*(parseInt(_0x5f29cb(0x200))/0x4)+-parseInt(_0x5f29cb(0x207))/0x5+parseInt(_0x5f29cb(0x201))/0x6*(parseInt(_0x5f29cb(0x1fc))/0x7)+parseInt(_0x5f29cb(0x205))/0x8*(-parseInt(_0x5f29cb(0x1f5))/0x9)+parseInt(_0x5f29cb(0x1fd))/0xa+-parseInt(_0x5f29cb(0x1f7))/0xb*(parseInt(_0x5f29cb(0x1f9))/0xc);if(_0x3aa014===_0x5963b4)break;else _0x543a5b['push'](_0x543a5b['shift']());}catch(_0x1b0839){_0x543a5b['push'](_0x543a5b['shift']());}}}(_0x1b8f,0xbb9ab));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x17b2(_0x43434d,_0x30087a){const _0x1b8f1b=_0x1b8f();return _0x17b2=function(_0x17b27d,_0x34d322){_0x17b27d=_0x17b27d-0x1ee;let _0x432272=_0x1b8f1b[_0x17b27d];return _0x432272;},_0x17b2(_0x43434d,_0x30087a);}buddyListener['onBuddyListChange']=_0x25d05e=>{const _0x25cb4a=_0x17b2,_0x19c9d1={'qxpAE':function(_0x28d79a,_0x38af37){return _0x28d79a(_0x38af37);}};for(const [_0x3051c4,_0x348caa]of buddyChangeTasks){_0x19c9d1['qxpAE'](_0x348caa,_0x25d05e),buddyChangeTasks[_0x25cb4a(0x1f8)](_0x3051c4);}},setTimeout(()=>{const _0x17a999=_0x17b2;napCatCore[_0x17a999(0x203)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x3757d1(0x1f2)](_0x305132=![]){const _0x5e7a03=_0x3757d1,_0x55ec4f={'NXjGr':function(_0x3e934d,_0x93a49f,_0x144231){return _0x3e934d(_0x93a49f,_0x144231);},'DOMfK':_0x5e7a03(0x1f3),'pKUBU':function(_0xee9953,_0x2699d3){return _0xee9953(_0x2699d3);},'cdXPY':function(_0x2b95b8){return _0x2b95b8();}};return new Promise((_0x206f8e,_0x3d0ad9)=>{const _0x55c62f=_0x5e7a03,_0x31fed7={'wsrxw':_0x55c62f(0x1fb),'biKTl':function(_0x13b8de,_0x1600d2){const _0x3dda39=_0x55c62f;return _0x55ec4f[_0x3dda39(0x204)](_0x13b8de,_0x1600d2);}};let _0x50930b=![];_0x55ec4f[_0x55c62f(0x1f1)](setTimeout,()=>{const _0x29e19a=_0x55c62f;!_0x50930b&&(logDebug(_0x31fed7[_0x29e19a(0x1f0)]),_0x31fed7['biKTl'](_0x3d0ad9,'获取好友列表超时'));},0x1388);const _0x48e6f9=[],_0x3ef8a3=_0x6a8c50=>{const _0x2f25c0=_0x55c62f;for(const _0x103d42 of _0x6a8c50){for(const _0x71e37d of _0x103d42['buddyList']){_0x48e6f9['push'](_0x71e37d),uid2UinMap[_0x71e37d[_0x2f25c0(0x1fe)]]=_0x71e37d[_0x2f25c0(0x1fa)];}}_0x50930b=!![],_0x206f8e(_0x48e6f9);};buddyChangeTasks['set'](_0x55ec4f[_0x55c62f(0x20b)](randomUUID),_0x3ef8a3),napCatCore[_0x55c62f(0x209)][_0x55c62f(0x1ef)]()[_0x55c62f(0x20a)](_0x305132)[_0x55c62f(0x1ee)](_0xd52f69=>{const _0x4815f5=_0x55c62f;_0x55ec4f[_0x4815f5(0x1f1)](logDebug,_0x55ec4f['DOMfK'],_0xd52f69);});});}static async[_0x3757d1(0x1f6)](_0x44c874,_0x1011f3){const _0x480210=_0x3757d1;napCatCore[_0x480210(0x209)][_0x480210(0x1ef)]()?.['approvalFriendRequest']({'friendUid':_0x44c874[_0x480210(0x1ff)],'reqTime':_0x44c874[_0x480210(0x202)],'accept':_0x1011f3});}}function _0x1b8f(){const _0x287fa9=['2515681RzhBmA','11916620TZDGtc','uid','friendUid','68GAznyh','6bgSrBX','reqTime','onLoginSuccess','pKUBU','16LLgVDZ','4073mrGVbD','2275770jHpktY','170229pUvcbe','session','getBuddyList','cdXPY','then','getBuddyService','wsrxw','NXjGr','getFriends','开始获取好友列表','428jkhBfD','343377JzsWJk','handleFriendRequest','21241MJZZLX','delete','12972VCGNYp','uin','获取好友列表超时'];_0x1b8f=function(){return _0x287fa9;};return _0x1b8f();} \ 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 9335d9b7..9e5fbb12 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x193461=_0x5581;(function(_0x272a8e,_0x594f50){const _0x30161d=_0x5581,_0x31d041=_0x272a8e();while(!![]){try{const _0x157b72=-parseInt(_0x30161d(0xdc))/0x1*(parseInt(_0x30161d(0xe0))/0x2)+-parseInt(_0x30161d(0xdf))/0x3+-parseInt(_0x30161d(0xe5))/0x4*(-parseInt(_0x30161d(0xd7))/0x5)+-parseInt(_0x30161d(0xce))/0x6+parseInt(_0x30161d(0xe7))/0x7+-parseInt(_0x30161d(0xc7))/0x8+parseInt(_0x30161d(0xcd))/0x9*(parseInt(_0x30161d(0xb9))/0xa);if(_0x157b72===_0x594f50)break;else _0x31d041['push'](_0x31d041['shift']());}catch(_0x25655b){_0x31d041['push'](_0x31d041['shift']());}}}(_0x51da,0xb7f55));import{NTQQUserApi,napCatCore}from'@/core';function _0x51da(){const _0x5905aa=['onGroupListUpdate','UUKzG','获取群列表完成','ThvqG','XSZry','forEach','8593520IgxLnn','publishGroupBulletin','groupMemberList_MainWindow','qun.qq.com','infos','pdJxV','18SFZkms','5687268lqYMpo','banMember','session','modifyMemberRole','createMemberListScene','uploadGroupBulletinPic','getSingleScreenNotifies','hYUBb','aYlcG','6295585cOtSXo','getGroupIgnoreNotifies','type','onGroupSingleScreenNotifies','获取群系统消息列表超时','940MMRwRZ','kickMember','getRichMediaService','3210159iXnLUr','1204wsCxcd','Qsfjq','group','KmCRp','createGroupFolder','4geTsYh','getGroupList','8315685XChqQv','modifyGroupName','SsAzl','delete','seq','setMemberRole','uid','uin','hYqWE','getPSkey','quitGroup','getGroupService','GetGroupFileCount','setMemberShutUp','getGroups','fLmrf','getNextMemberList','result','banGroup','vkskj','DelGroupFileFolder','handleGroupRequest','9822110rDwhKS','getGroupMembers','CreatGroupFileFolder','getGroupNotifies','batchGetGroupFileCount','RXxfP','获取群列表超时','errCode'];_0x51da=function(){return _0x5905aa;};return _0x51da();}import{GroupListener}from'@/core/index';function _0x5581(_0x4378f1,_0x5519c5){const _0x51da4c=_0x51da();return _0x5581=function(_0x558139,_0x31a506){_0x558139=_0x558139-0xb0;let _0x104e75=_0x51da4c[_0x558139];return _0x104e75;},_0x5581(_0x4378f1,_0x5519c5);}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x193461(0xda)]=(_0x407f04,_0x5c9861,_0x3455a7)=>{const _0x5cd54e=_0x193461;for(const [_0x2f4cb7,_0x367c87]of SingleScreenNotifiesTasks){_0x367c87(_0x407f04,_0x5c9861,_0x3455a7),groupMemberTasks[_0x5cd54e(0xea)](_0x2f4cb7);}},groupListener[_0x193461(0xc1)]=(_0x4a257a,_0x539e00)=>{const _0x145ea0=_0x193461,_0x5e377e={'aYlcG':function(_0x333578,_0x2d5d72,_0x4e870c){return _0x333578(_0x2d5d72,_0x4e870c);}};for(const [_0xdf3799,_0x37c0fe]of groupMemberTasks){_0x5e377e[_0x145ea0(0xd6)](_0x37c0fe,_0x4a257a,_0x539e00),groupMemberTasks[_0x145ea0(0xea)](_0xdf3799);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x193461(0xb1)](_0x226e12=![]){const _0x3a312c=_0x193461,_0x5c183a={'ThvqG':function(_0x1a1d9d,_0x58d287){return _0x1a1d9d(_0x58d287);},'ydDRj':function(_0xe534ea,_0x20d871,_0x53713b){return _0xe534ea(_0x20d871,_0x53713b);},'HwTvS':_0x3a312c(0xc3),'IshLe':function(_0x2ac5fc){return _0x2ac5fc();}};let _0x477feb=![];return new Promise((_0x54e18a,_0x29a8f6)=>{const _0x16efa9=_0x3a312c,_0x477f95={'BXMYU':'获取群列表超时','fLmrf':function(_0x411157,_0x1a68dd){const _0x3ebec6=_0x5581;return _0x5c183a[_0x3ebec6(0xc4)](_0x411157,_0x1a68dd);},'DDjBq':function(_0x486cd1,_0x39a6e1,_0x3b73d9){return _0x5c183a['ydDRj'](_0x486cd1,_0x39a6e1,_0x3b73d9);},'Qsfjq':_0x5c183a['HwTvS']};setTimeout(()=>{const _0x3d446b=_0x5581;!_0x477feb&&(logDebug(_0x477f95['BXMYU']),_0x477f95[_0x3d446b(0xb2)](_0x29a8f6,_0x3d446b(0xbf)));},0x1388);const _0x3c6a98=(_0x2d3b9a,_0x3b8b44)=>{const _0x1465aa=_0x5581;_0x477feb=!![],_0x477f95['DDjBq'](logDebug,_0x477f95[_0x1465aa(0xe1)],_0x3b8b44),_0x54e18a(_0x3b8b44);};groupMemberTasks['set'](_0x5c183a['IshLe'](randomUUID),_0x3c6a98),napCatCore[_0x16efa9(0xd0)][_0x16efa9(0xf2)]()[_0x16efa9(0xe6)](_0x226e12)['then']();});}static async[_0x193461(0xbb)](_0x5cf46e,_0x37c94f){const _0x7724f3=_0x193461;return napCatCore[_0x7724f3(0xd0)][_0x7724f3(0xde)]()[_0x7724f3(0xe4)](_0x5cf46e,_0x37c94f);}static async['DelGroupFile'](_0x37ced1,_0x59cd86){const _0xef5ed2=_0x193461;return napCatCore[_0xef5ed2(0xd0)][_0xef5ed2(0xde)]()['deleteGroupFile'](_0x37ced1,[0x66],_0x59cd86);}static async[_0x193461(0xb7)](_0x893b4a,_0x4381f3){const _0x51ab33=_0x193461;return napCatCore[_0x51ab33(0xd0)][_0x51ab33(0xde)]()['deleteGroupFolder'](_0x893b4a,_0x4381f3);}static async[_0x193461(0xd4)](_0x4104bf){const _0x3dcfdf=_0x193461,_0x497c04={'XSZry':function(_0xc0026c,_0x173bf6){return _0xc0026c(_0x173bf6);},'IXBaU':_0x3dcfdf(0xdb)},_0x160552=napCatCore[_0x3dcfdf(0xd0)][_0x3dcfdf(0xf2)]();return new Promise((_0x4386d3,_0x5ac133)=>{const _0x409c38=_0x3dcfdf,_0x8585fe={'pdJxV':function(_0x2b85e3,_0xb94fba){return _0x2b85e3(_0xb94fba);},'SsAzl':_0x497c04['IXBaU']};let _0x448e49=![];setTimeout(()=>{const _0x32387e=_0x5581;!_0x448e49&&_0x8585fe[_0x32387e(0xcc)](_0x5ac133,_0x8585fe[_0x32387e(0xe9)]);},0x1388);const _0x20d5de=(_0x117132,_0x1a6070,_0x5432d7)=>{const _0x14eb43=_0x5581;_0x448e49=!![],_0x497c04[_0x14eb43(0xc5)](_0x4386d3,_0x5432d7);};SingleScreenNotifiesTasks['set'](randomUUID(),_0x20d5de),_0x160552[_0x409c38(0xd4)](![],'',_0x4104bf);});}static async[_0x193461(0xba)](_0x1cf1e7,_0x10a2bf=0xbb8){const _0x13b5c7=_0x193461,_0x3fed6c={'KmCRp':_0x13b5c7(0xc9),'vkskj':function(_0x50bd3e,_0x487aa1){return _0x50bd3e!==_0x487aa1;},'RXxfP':function(_0x25ccbd,_0x3080ca){return _0x25ccbd+_0x3080ca;}},_0x1adda7=napCatCore['session'][_0x13b5c7(0xf2)](),_0x26d8c9=_0x1adda7[_0x13b5c7(0xd2)](_0x1cf1e7,_0x3fed6c[_0x13b5c7(0xe3)]),_0x4832f3=await _0x1adda7[_0x13b5c7(0xb3)](_0x26d8c9,undefined,_0x10a2bf);if(_0x3fed6c[_0x13b5c7(0xb6)](_0x4832f3[_0x13b5c7(0xc0)],0x0))throw _0x3fed6c[_0x13b5c7(0xbe)]('获取群成员列表出错,',_0x4832f3['errMsg']);return _0x4832f3[_0x13b5c7(0xb4)]['infos'][_0x13b5c7(0xc6)](_0x483eb9=>{const _0x5d6bd5=_0x13b5c7;uid2UinMap[_0x483eb9[_0x5d6bd5(0xed)]]=_0x483eb9[_0x5d6bd5(0xee)];}),_0x4832f3[_0x13b5c7(0xb4)][_0x13b5c7(0xcb)];}static async[_0x193461(0xbc)](){}static async[_0x193461(0xf3)](_0x49afac){const _0x200700=_0x193461;return napCatCore['session'][_0x200700(0xde)]()[_0x200700(0xbd)](_0x49afac);}static async[_0x193461(0xd8)](){}static async[_0x193461(0xd3)](_0x279735,_0x2a6a68){const _0xbbd134=_0x193461,_0x3a272e={'hYUBb':_0xbbd134(0xca)},_0x3e9b60=(await NTQQUserApi[_0xbbd134(0xf0)]([_0x3a272e['hYUBb']]))[_0x3a272e[_0xbbd134(0xd5)]];return napCatCore['session'][_0xbbd134(0xf2)]()[_0xbbd134(0xd3)](_0x279735,_0x3e9b60,_0x2a6a68);}static async[_0x193461(0xb8)](_0x30de79,_0x51dffd,_0x5a866c){const _0x1ac0b6=_0x193461;return napCatCore[_0x1ac0b6(0xd0)][_0x1ac0b6(0xf2)]()['operateSysNotify'](![],{'operateType':_0x51dffd,'targetMsg':{'seq':_0x30de79[_0x1ac0b6(0xeb)],'type':_0x30de79[_0x1ac0b6(0xd9)],'groupCode':_0x30de79[_0x1ac0b6(0xe2)]['groupCode'],'postscript':_0x5a866c||''}});}static async['quitGroup'](_0x2ba532){const _0x1a9972=_0x193461;return napCatCore[_0x1a9972(0xd0)][_0x1a9972(0xf2)]()[_0x1a9972(0xf1)](_0x2ba532);}static async[_0x193461(0xdd)](_0x1f18f4,_0x534a76,_0x47524=![],_0x24271e=''){const _0x488c0b=_0x193461;return napCatCore[_0x488c0b(0xd0)][_0x488c0b(0xf2)]()[_0x488c0b(0xdd)](_0x1f18f4,_0x534a76,_0x47524,_0x24271e);}static async[_0x193461(0xcf)](_0x508636,_0x330625){const _0x53afb3=_0x193461;return napCatCore[_0x53afb3(0xd0)][_0x53afb3(0xf2)]()[_0x53afb3(0xb0)](_0x508636,_0x330625);}static async[_0x193461(0xb5)](_0x3199fd,_0x212321){const _0xbad7be=_0x193461;return napCatCore[_0xbad7be(0xd0)]['getGroupService']()['setGroupShutUp'](_0x3199fd,_0x212321);}static async['setMemberCard'](_0x21d549,_0x1f7b59,_0x32506d){const _0x53717a=_0x193461;return napCatCore[_0x53717a(0xd0)]['getGroupService']()['modifyMemberCardName'](_0x21d549,_0x1f7b59,_0x32506d);}static async[_0x193461(0xec)](_0x2aacea,_0x19073c,_0x42d4e3){const _0x350d22=_0x193461;return napCatCore[_0x350d22(0xd0)][_0x350d22(0xf2)]()[_0x350d22(0xd1)](_0x2aacea,_0x19073c,_0x42d4e3);}static async['setGroupName'](_0x205f34,_0x297254){const _0x230503=_0x193461;return napCatCore[_0x230503(0xd0)][_0x230503(0xf2)]()[_0x230503(0xe8)](_0x205f34,_0x297254,![]);}static async['setGroupTitle'](_0x3e0717,_0x47afbd,_0x1bbcb6){}static async[_0x193461(0xc8)](_0x14c7e0,_0x5a372c,_0x458d50=undefined,_0x1f0b1a=0x0,_0x179446=0x0){const _0x1570c6=_0x193461,_0x51de1c={'hYqWE':_0x1570c6(0xca),'UUKzG':function(_0x1cac7c,_0x191174){return _0x1cac7c(_0x191174);}},_0x16cb97=(await NTQQUserApi[_0x1570c6(0xf0)]([_0x1570c6(0xca)]))[_0x51de1c[_0x1570c6(0xef)]];let _0x5d21fe={'text':_0x51de1c[_0x1570c6(0xc2)](encodeURI,_0x5a372c),'picInfo':_0x458d50,'oldFeedsId':'','pinned':_0x1f0b1a,'confirmRequired':_0x179446};return napCatCore[_0x1570c6(0xd0)][_0x1570c6(0xf2)]()[_0x1570c6(0xc8)](_0x14c7e0,_0x16cb97,_0x5d21fe);}} \ No newline at end of file +const _0x47e5c3=_0x7ef6;(function(_0x72e723,_0x5ea688){const _0x45e9c1=_0x7ef6,_0x5b8626=_0x72e723();while(!![]){try{const _0x531163=parseInt(_0x45e9c1(0x14d))/0x1+parseInt(_0x45e9c1(0x121))/0x2+parseInt(_0x45e9c1(0x12f))/0x3*(parseInt(_0x45e9c1(0x127))/0x4)+parseInt(_0x45e9c1(0x118))/0x5*(parseInt(_0x45e9c1(0x140))/0x6)+-parseInt(_0x45e9c1(0x147))/0x7+-parseInt(_0x45e9c1(0x119))/0x8*(parseInt(_0x45e9c1(0x11a))/0x9)+parseInt(_0x45e9c1(0x113))/0xa*(-parseInt(_0x45e9c1(0x108))/0xb);if(_0x531163===_0x5ea688)break;else _0x5b8626['push'](_0x5b8626['shift']());}catch(_0x16f83c){_0x5b8626['push'](_0x5b8626['shift']());}}}(_0x19c0,0x95009));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';function _0x19c0(){const _0x407571=['5022GNDLuo','nLneA','setGroupName','setMemberShutUp','getPSkey','getNextMemberList','infos','3387272hTGlQz','GetGroupFileCount','getGroupService','addListener','WToIk','type','758349ayrIHC','LQsrR','ZiKxo','errMsg','CreatGroupFileFolder','tpzpI','uFjbt','groupCode','qun.qq.com','setMemberRole','DelGroupFile','set','124058kbvaUf','nNPOp','kickMember','sfuJD','onGroupListUpdate','获取群列表超时','cpuCR','neOgu','IXsYZ','createGroupFolder','iTYda','1420eujfjn','group','DAwsP','qeNGV','seq','5905hDPiTw','15176joQKsY','3537SdcyHP','result','then','saycZ','setGroupTitle','handleGroupRequest','getRichMediaService','1993496EXpvhE','getGroupList','forEach','groupMemberList_MainWindow','getGroupNotifies','publishGroupBulletin','82072DNzpDa','getGroupMembers','getGroupIgnoreNotifies','uploadGroupBulletinPic','modifyGroupName','UPRPd','oFuWY','获取群列表完成','102yRdfJJ','获取群成员列表出错,','getSingleScreenNotifies','uin','LQYGn','getGroups','quitGroup','Kwmlm','onLoginSuccess','setGroupShutUp','operateSysNotify','modifyMemberRole','session','createMemberListScene','delete','errCode','batchGetGroupFileCount'];_0x19c0=function(){return _0x407571;};return _0x19c0();}import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupSingleScreenNotifies']=(_0x48d51e,_0x1996c4,_0x432150)=>{const _0x2dfa4e=_0x7ef6,_0x330b01={'saycZ':function(_0x47161f,_0x26c2e0,_0x138f11,_0x55aa7a){return _0x47161f(_0x26c2e0,_0x138f11,_0x55aa7a);}};for(const [_0xfc2823,_0x22f9d5]of SingleScreenNotifiesTasks){_0x330b01[_0x2dfa4e(0x11d)](_0x22f9d5,_0x48d51e,_0x1996c4,_0x432150),SingleScreenNotifiesTasks[_0x2dfa4e(0x13d)](_0xfc2823);}},groupListener[_0x47e5c3(0x10c)]=(_0x1c2907,_0x9f93cf)=>{const _0xc5729c=_0x47e5c3,_0x17d214={'LQYGn':function(_0x4bc309,_0x594f27,_0x6cddf8){return _0x4bc309(_0x594f27,_0x6cddf8);}};for(const [_0x5f02e9,_0x43bbad]of groupMemberTasks){_0x17d214[_0xc5729c(0x133)](_0x43bbad,_0x1c2907,_0x9f93cf),groupMemberTasks[_0xc5729c(0x13d)](_0x5f02e9);}},setTimeout(()=>{const _0x5295a4=_0x47e5c3;napCatCore[_0x5295a4(0x137)](()=>{const _0x4b6900=_0x5295a4;napCatCore[_0x4b6900(0x14a)](groupListener);});},0x64);function _0x7ef6(_0x3f0a2d,_0x3b0f21){const _0x19c095=_0x19c0();return _0x7ef6=function(_0x7ef611,_0x475df8){_0x7ef611=_0x7ef611-0x105;let _0x1538f6=_0x19c095[_0x7ef611];return _0x1538f6;},_0x7ef6(_0x3f0a2d,_0x3b0f21);}export class NTQQGroupApi{static async[_0x47e5c3(0x134)](_0x349299=![]){const _0x338271=_0x47e5c3,_0x33f736={'UPRPd':function(_0xb791f3,_0x55b43a){return _0xb791f3(_0x55b43a);},'WToIk':_0x338271(0x10d),'sfuJD':function(_0x538b4e,_0x5ecae8,_0x120743){return _0x538b4e(_0x5ecae8,_0x120743);},'IXsYZ':function(_0x40953f,_0x2532ab,_0x1c117d){return _0x40953f(_0x2532ab,_0x1c117d);},'iTYda':function(_0x42139d){return _0x42139d();}};let _0x1734e5=![];return new Promise((_0x59ca24,_0x1812ac)=>{const _0x2afb88=_0x338271,_0x2c1986={'LQsrR':function(_0x5e8e0c,_0x33d593,_0xe4a6c3){const _0x5a79dc=_0x7ef6;return _0x33f736[_0x5a79dc(0x10b)](_0x5e8e0c,_0x33d593,_0xe4a6c3);}};_0x33f736[_0x2afb88(0x110)](setTimeout,()=>{const _0x8ac336=_0x2afb88;!_0x1734e5&&(_0x33f736[_0x8ac336(0x12c)](logDebug,_0x8ac336(0x10d)),_0x1812ac(_0x33f736[_0x8ac336(0x14b)]));},0x1388);const _0x40750b=(_0x3b5434,_0x36d121)=>{const _0x234f0d=_0x2afb88;_0x1734e5=!![],_0x2c1986[_0x234f0d(0x14e)](logDebug,_0x234f0d(0x12e),_0x36d121),_0x59ca24(_0x36d121);};groupMemberTasks[_0x2afb88(0x107)](_0x33f736[_0x2afb88(0x112)](randomUUID),_0x40750b),napCatCore[_0x2afb88(0x13b)][_0x2afb88(0x149)]()[_0x2afb88(0x122)](_0x349299)[_0x2afb88(0x11c)]();});}static async[_0x47e5c3(0x151)](_0x289ac4,_0x34f79f){const _0x543b2c=_0x47e5c3;return napCatCore[_0x543b2c(0x13b)][_0x543b2c(0x120)]()[_0x543b2c(0x111)](_0x289ac4,_0x34f79f);}static async[_0x47e5c3(0x106)](_0x3a503b,_0xa8e212){const _0x18f9f0=_0x47e5c3;return napCatCore[_0x18f9f0(0x13b)]['getRichMediaService']()['deleteGroupFile'](_0x3a503b,[0x66],_0xa8e212);}static async['DelGroupFileFolder'](_0x1da29b,_0x59ab28){const _0x4c753b=_0x47e5c3;return napCatCore[_0x4c753b(0x13b)][_0x4c753b(0x120)]()['deleteGroupFolder'](_0x1da29b,_0x59ab28);}static async['getSingleScreenNotifies'](_0x28ff50){const _0xcba294={'neOgu':'获取群系统消息列表超时','oFuWY':function(_0x114ff6,_0x17ebf4,_0x2d5d13){return _0x114ff6(_0x17ebf4,_0x2d5d13);},'Kwmlm':function(_0x9cbf14){return _0x9cbf14();}},_0x28afe5=napCatCore['session']['getGroupService']();return new Promise((_0x5b5864,_0x1c2752)=>{const _0x2b579c=_0x7ef6,_0x13f6d8={'DAwsP':function(_0x3e8bdf,_0x1f0231){return _0x3e8bdf(_0x1f0231);},'tpzpI':_0xcba294[_0x2b579c(0x10f)]};let _0x151557=![];_0xcba294[_0x2b579c(0x12d)](setTimeout,()=>{const _0x192b6=_0x2b579c;!_0x151557&&_0x13f6d8[_0x192b6(0x115)](_0x1c2752,_0x13f6d8[_0x192b6(0x152)]);},0x1388);const _0x432a32=(_0x51d910,_0x266450,_0x4dcf6f)=>{const _0x34d625=_0x2b579c;_0x151557=!![],_0x13f6d8[_0x34d625(0x115)](_0x5b5864,_0x4dcf6f);};SingleScreenNotifiesTasks['set'](_0xcba294[_0x2b579c(0x136)](randomUUID),_0x432a32),_0x28afe5[_0x2b579c(0x131)](![],'',_0x28ff50);});}static async[_0x47e5c3(0x128)](_0x2fbc67,_0x5ecf04=0xbb8){const _0x5aba8a=_0x47e5c3,_0x153328={'qeNGV':_0x5aba8a(0x124),'nLneA':function(_0x2d51c3,_0x64615){return _0x2d51c3!==_0x64615;}},_0x26e3a5=napCatCore[_0x5aba8a(0x13b)][_0x5aba8a(0x149)](),_0x2fa0b3=_0x26e3a5[_0x5aba8a(0x13c)](_0x2fbc67,_0x153328[_0x5aba8a(0x116)]),_0x1ec94c=await _0x26e3a5[_0x5aba8a(0x145)](_0x2fa0b3,undefined,_0x5ecf04);if(_0x153328[_0x5aba8a(0x141)](_0x1ec94c[_0x5aba8a(0x13e)],0x0))throw _0x5aba8a(0x130)+_0x1ec94c[_0x5aba8a(0x150)];return _0x1ec94c['result'][_0x5aba8a(0x146)][_0x5aba8a(0x123)](_0x3e5c64=>{const _0x1bc962=_0x5aba8a;uid2UinMap[_0x3e5c64['uid']]=_0x3e5c64[_0x1bc962(0x132)];}),_0x1ec94c[_0x5aba8a(0x11b)]['infos'];}static async[_0x47e5c3(0x125)](){}static async[_0x47e5c3(0x148)](_0x49b900){const _0x37a8f5=_0x47e5c3;return napCatCore[_0x37a8f5(0x13b)][_0x37a8f5(0x120)]()[_0x37a8f5(0x13f)](_0x49b900);}static async[_0x47e5c3(0x129)](){}static async[_0x47e5c3(0x12a)](_0x3ab057,_0x26f675){const _0x54afd0=_0x47e5c3,_0x1c7a3b={'nNPOp':_0x54afd0(0x155)},_0x2c325c=(await NTQQUserApi[_0x54afd0(0x144)]([_0x1c7a3b[_0x54afd0(0x109)]]))[_0x54afd0(0x155)];return napCatCore[_0x54afd0(0x13b)][_0x54afd0(0x149)]()[_0x54afd0(0x12a)](_0x3ab057,_0x2c325c,_0x26f675);}static async[_0x47e5c3(0x11f)](_0x30173e,_0x230442,_0x5482b1){const _0x572f4a=_0x47e5c3,_0x1f5012={'uFjbt':function(_0x5a2ad9,_0x4c27d3){return _0x5a2ad9||_0x4c27d3;}};return napCatCore['session']['getGroupService']()[_0x572f4a(0x139)](![],{'operateType':_0x230442,'targetMsg':{'seq':_0x30173e[_0x572f4a(0x117)],'type':_0x30173e[_0x572f4a(0x14c)],'groupCode':_0x30173e[_0x572f4a(0x114)][_0x572f4a(0x154)],'postscript':_0x1f5012[_0x572f4a(0x153)](_0x5482b1,'')}});}static async[_0x47e5c3(0x135)](_0x479c25){const _0x582d16=_0x47e5c3;return napCatCore['session']['getGroupService']()[_0x582d16(0x135)](_0x479c25);}static async[_0x47e5c3(0x10a)](_0x2997ab,_0x34d202,_0x230baf=![],_0x1b2e11=''){const _0x37d9a0=_0x47e5c3;return napCatCore['session'][_0x37d9a0(0x149)]()[_0x37d9a0(0x10a)](_0x2997ab,_0x34d202,_0x230baf,_0x1b2e11);}static async['banMember'](_0x14313a,_0x19347f){const _0x256482=_0x47e5c3;return napCatCore[_0x256482(0x13b)]['getGroupService']()[_0x256482(0x143)](_0x14313a,_0x19347f);}static async['banGroup'](_0xb58510,_0xe1f053){const _0x1b797a=_0x47e5c3;return napCatCore[_0x1b797a(0x13b)]['getGroupService']()[_0x1b797a(0x138)](_0xb58510,_0xe1f053);}static async['setMemberCard'](_0x255b7d,_0x28cc84,_0x2d152e){const _0x3619ec=_0x47e5c3;return napCatCore[_0x3619ec(0x13b)]['getGroupService']()['modifyMemberCardName'](_0x255b7d,_0x28cc84,_0x2d152e);}static async[_0x47e5c3(0x105)](_0x3fd7e8,_0x489f02,_0x3768bf){const _0x4e7c7d=_0x47e5c3;return napCatCore['session'][_0x4e7c7d(0x149)]()[_0x4e7c7d(0x13a)](_0x3fd7e8,_0x489f02,_0x3768bf);}static async[_0x47e5c3(0x142)](_0x5643e1,_0x2aa365){const _0x1b8faa=_0x47e5c3;return napCatCore['session'][_0x1b8faa(0x149)]()[_0x1b8faa(0x12b)](_0x5643e1,_0x2aa365,![]);}static async[_0x47e5c3(0x11e)](_0x4b13b6,_0x5722d4,_0xa52bb7){}static async[_0x47e5c3(0x126)](_0x175bb8,_0x18e694,_0x4e7c1d=undefined,_0x47ab5b=0x0,_0xed2f3c=0x0){const _0x39762a=_0x47e5c3,_0x5b01df={'ZiKxo':'qun.qq.com','cpuCR':function(_0x1aafe1,_0x1b68e4){return _0x1aafe1(_0x1b68e4);}},_0x3d379e=(await NTQQUserApi[_0x39762a(0x144)]([_0x5b01df[_0x39762a(0x14f)]]))[_0x5b01df[_0x39762a(0x14f)]];let _0x5c4abe={'text':_0x5b01df[_0x39762a(0x10e)](encodeURI,_0x18e694),'picInfo':_0x4e7c1d,'oldFeedsId':'','pinned':_0x47ab5b,'confirmRequired':_0xed2f3c};return napCatCore[_0x39762a(0x13b)][_0x39762a(0x149)]()['publishGroupBulletin'](_0x175bb8,_0x3d379e,_0x5c4abe);}} \ 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 278cce2a..a5c935d6 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x580cd6,_0x3ebf6d){var _0x3fbcaa=_0x2b7f,_0x1b2a7c=_0x580cd6();while(!![]){try{var _0x5b9bbe=parseInt(_0x3fbcaa(0x1f2))/0x1*(parseInt(_0x3fbcaa(0x1f4))/0x2)+parseInt(_0x3fbcaa(0x1f0))/0x3*(parseInt(_0x3fbcaa(0x1f7))/0x4)+-parseInt(_0x3fbcaa(0x1ee))/0x5+-parseInt(_0x3fbcaa(0x1f5))/0x6+parseInt(_0x3fbcaa(0x1f1))/0x7+parseInt(_0x3fbcaa(0x1f3))/0x8*(-parseInt(_0x3fbcaa(0x1ef))/0x9)+parseInt(_0x3fbcaa(0x1f6))/0xa;if(_0x5b9bbe===_0x3ebf6d)break;else _0x1b2a7c['push'](_0x1b2a7c['shift']());}catch(_0x21c0d3){_0x1b2a7c['push'](_0x1b2a7c['shift']());}}}(_0x26e7,0xd385f));export*from'./file';export*from'./friend';export*from'./group';function _0x26e7(){var _0x48ac22=['3536106AlLryp','276228NhNMry','64mXqEGr','10zSTfuG','8934222CfoXgG','5934300dyzDpq','3160CQpGyG','1550760QXOGTh','791640FYQved','3378glVGbR'];_0x26e7=function(){return _0x48ac22;};return _0x26e7();}export*from'./msg';function _0x2b7f(_0x1463de,_0x5a40a3){var _0x26e79c=_0x26e7();return _0x2b7f=function(_0x2b7ff1,_0x3e747d){_0x2b7ff1=_0x2b7ff1-0x1ee;var _0x3c04ba=_0x26e79c[_0x2b7ff1];return _0x3c04ba;},_0x2b7f(_0x1463de,_0x5a40a3);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x2b9964,_0x4eba63){var _0x4caa76=_0x2542,_0x3940bf=_0x2b9964();while(!![]){try{var _0x1f0dca=-parseInt(_0x4caa76(0x121))/0x1+parseInt(_0x4caa76(0x124))/0x2*(parseInt(_0x4caa76(0x125))/0x3)+-parseInt(_0x4caa76(0x122))/0x4*(parseInt(_0x4caa76(0x11f))/0x5)+-parseInt(_0x4caa76(0x11c))/0x6+-parseInt(_0x4caa76(0x120))/0x7+-parseInt(_0x4caa76(0x123))/0x8*(parseInt(_0x4caa76(0x11d))/0x9)+parseInt(_0x4caa76(0x11e))/0xa;if(_0x1f0dca===_0x4eba63)break;else _0x3940bf['push'](_0x3940bf['shift']());}catch(_0x593be0){_0x3940bf['push'](_0x3940bf['shift']());}}}(_0x10d0,0x77b98));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x10d0(){var _0x5c19c9=['2688byUJPe','24fNPKLC','1850920DilIYg','3SoExQj','2440320iyYTIh','2246337HtHaCZ','23950550BvRgcD','2175obSxxW','4141102TAvKfE','790718yJjEha'];_0x10d0=function(){return _0x5c19c9;};return _0x10d0();}export*from'./user';export*from'./webapi';export*from'./sign';function _0x2542(_0x1a1a6b,_0x335d30){var _0x10d077=_0x10d0();return _0x2542=function(_0x25429d,_0x6243a6){_0x25429d=_0x25429d-0x11c;var _0x25d3af=_0x10d077[_0x25429d];return _0x25d3af;},_0x2542(_0x1a1a6b,_0x335d30);}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 3f97adab..25d3cfdb 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0xa061d7=_0x478f;(function(_0x47f18c,_0x414414){const _0x4105ad=_0x478f,_0x2cdc82=_0x47f18c();while(!![]){try{const _0x3fd651=-parseInt(_0x4105ad(0x1f1))/0x1*(-parseInt(_0x4105ad(0x205))/0x2)+parseInt(_0x4105ad(0x1f6))/0x3+parseInt(_0x4105ad(0x1ec))/0x4*(parseInt(_0x4105ad(0x203))/0x5)+-parseInt(_0x4105ad(0x1d6))/0x6+parseInt(_0x4105ad(0x1cb))/0x7*(parseInt(_0x4105ad(0x1da))/0x8)+-parseInt(_0x4105ad(0x1d2))/0x9+-parseInt(_0x4105ad(0x1ea))/0xa*(-parseInt(_0x4105ad(0x1e8))/0xb);if(_0x3fd651===_0x414414)break;else _0x2cdc82['push'](_0x2cdc82['shift']());}catch(_0x4da117){_0x2cdc82['push'](_0x2cdc82['shift']());}}}(_0x4acf,0xa27bb));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 _0x478f(_0xd30ac9,_0x25590d){const _0x4acf9b=_0x4acf();return _0x478f=function(_0x478fb9,_0x49c40e){_0x478fb9=_0x478fb9-0x1ca;let _0x1d56af=_0x4acf9b[_0x478fb9];return _0x1d56af;},_0x478f(_0xd30ac9,_0x25590d);}function _0x4acf(){const _0x39fed4=['catch','11884365FoJAGu','item','lbPHG','uid','4728372tkdTBE','nick','nmytA','Zueyg','8JaSboX','LwMZp','sendStatus','gERBs','发送超时','activateChat','bWKzO','setMsgEmojiLikes','YIfev','sendMsg','msgId','then','BcVWw','gmIPX','1892iIvbJD','NviGh','82510vUuait','recallMsg','867556uRTgNS','zKwRR','addListener','senderUid','MwObd','1wXbXvL','ovLqq','getMsgHistory','setEmojiLike','CLQsk','2296554grlwgB','WIkmJ','set','peerUid','EhJmZ','multiForwardMsgWithComment','hCXme','delete','length','setMsgRead','getMsgsBySeqAndCount','mewIh','bytesData','5MDPBas','RwGQj','234898HqicTo','getMsgService','iwMMz','nfcCp','Mbmrz','onAddSendMsg','session','elements','find','tbLif','forEach','转发消息超时','PQNOJ','app','multiForwardMsg','qnLaT','1785350mbgJBr','arkElement','getMsgsByMsgId','getGroupFileList','onLoginSuccess','forwardMsg'];_0x4acf=function(){return _0x39fed4;};return _0x4acf();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0xc98c69=>{const _0xfcada6=_0x478f,_0x30b821={'Zueyg':function(_0x3ae395,_0x3fe14e){return _0x3ae395(_0x3fe14e);}};for(const [_0x43a3c1,_0x44af44]of GroupFileInfoUpdateTasks){_0x30b821[_0xfcada6(0x1d9)](_0x44af44,_0xc98c69),GroupFileInfoUpdateTasks[_0xfcada6(0x1fd)](_0x43a3c1);}},msgListener[_0xa061d7(0x20a)]=_0x52753a=>{const _0x35e126=_0xa061d7,_0x34cbea={'CLQsk':function(_0x3e8234,_0x1a39b3){return _0x3e8234(_0x1a39b3);},'mewIh':function(_0x3c3276,_0x3b0695){return _0x3c3276 instanceof _0x3b0695;}};for(const [_0x33bc21,_0x4327dc]of sentMsgTasks){_0x34cbea[_0x35e126(0x1f5)](_0x4327dc,_0x52753a),sentMsgTasks[_0x35e126(0x1fd)](_0x33bc21);}if(sendMessagePool[_0x52753a['peerUid']]){const _0x258b4c=sendMessagePool[_0x52753a[_0x35e126(0x1f9)]]?.(_0x52753a);_0x34cbea[_0x35e126(0x201)](_0x258b4c,Promise)&&_0x258b4c['then']()[_0x35e126(0x1d1)](logError);}},msgListener['onMsgInfoListUpdate']=_0x2e7f29=>{const _0x4531d4=_0xa061d7,_0x3276f1={'zKwRR':function(_0x576509,_0x59a2a2){return _0x576509(_0x59a2a2);},'Mbmrz':function(_0x25c9ec,_0x584820){return _0x25c9ec instanceof _0x584820;}};_0x2e7f29[_0x4531d4(0x20f)](_0xa44e7c=>{const _0x59f076=_0x4531d4;new Promise((_0x47ae90,_0x3e4a11)=>{const _0x224cd3=_0x478f;for(const _0x1a5de9 in sendSuccessCBMap){const _0x3dd363=sendSuccessCBMap[_0x1a5de9],_0x301e1e=_0x3276f1[_0x224cd3(0x1ed)](_0x3dd363,_0xa44e7c),_0x456da4=_0x2edbcc=>{_0x2edbcc&&delete sendSuccessCBMap[_0x1a5de9];};_0x3276f1[_0x224cd3(0x209)](_0x301e1e,Promise)?_0x301e1e[_0x224cd3(0x1e5)](_0x456da4):_0x456da4(_0x301e1e);}})[_0x59f076(0x1e5)]()['catch'](log);});},setTimeout(()=>{const _0x4bf1a6=_0xa061d7;napCatCore[_0x4bf1a6(0x1cf)](()=>{const _0x5c16f9=_0x4bf1a6;napCatCore[_0x5c16f9(0x1ee)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xa061d7(0x1f4)](_0x66b53b,_0x228442,_0x541b34,_0x66ba4d=!![]){const _0x579766=_0xa061d7,_0x4a4bbe={'gmIPX':function(_0x3ef7b2,_0x149673){return _0x3ef7b2>_0x149673;}};return _0x541b34=_0x541b34['toString'](),napCatCore['session']['getMsgService']()[_0x579766(0x1e1)](_0x66b53b,_0x228442,_0x541b34,_0x4a4bbe[_0x579766(0x1e7)](_0x541b34[_0x579766(0x1fe)],0x3)?'2':'1',_0x66ba4d);}static async['getMultiMsg'](_0x1a6764,_0x2ed006,_0x19170e){const _0x3f6dc7=_0xa061d7;return napCatCore['session'][_0x3f6dc7(0x206)]()['getMultiMsg'](_0x1a6764,_0x2ed006,_0x19170e);}static async[_0xa061d7(0x1cd)](_0x41e866,_0x74ec4){const _0x4ab830=_0xa061d7;return await napCatCore[_0x4ab830(0x20b)][_0x4ab830(0x206)]()[_0x4ab830(0x1cd)](_0x41e866,_0x74ec4);}static async[_0xa061d7(0x200)](_0x4a8964,_0x268fa2,_0xf6b3fe,_0xb7947f,_0x421469){const _0x25ca31=_0xa061d7;return await napCatCore['session'][_0x25ca31(0x206)]()[_0x25ca31(0x200)](_0x4a8964,_0x268fa2,_0xf6b3fe,_0xb7947f,_0x421469);}static async[_0xa061d7(0x1df)](_0x2d1e28){}static async['activateChatAndGetHistory'](_0x42ef5a){}static async[_0xa061d7(0x1ff)](_0x4c597d){const _0x58e0ab=_0xa061d7;return napCatCore['session']['getMsgService']()[_0x58e0ab(0x1ff)](_0x4c597d);}static async[_0xa061d7(0x1ce)](_0x3b73b5,_0xaeeedd){const _0x53330c={'bWKzO':function(_0x2d75ce,_0x2007bb){return _0x2d75ce(_0x2007bb);},'nfcCp':'获取群文件列表超时','lbPHG':function(_0x1b8648,_0x1a516d){return _0x1b8648(_0x1a516d);},'WIkmJ':function(_0x2b676d,_0x268d8a,_0x3732aa){return _0x2b676d(_0x268d8a,_0x3732aa);}};return new Promise(async(_0x4cfe4a,_0x1e0095)=>{const _0x4e4c71=_0x478f;let _0x5571e8=![];_0x53330c[_0x4e4c71(0x1f7)](setTimeout,()=>{const _0x1695ff=_0x4e4c71;!_0x5571e8&&_0x53330c[_0x1695ff(0x1e0)](_0x1e0095,_0x53330c[_0x1695ff(0x208)]);},0x1388);const _0x2e5baf=_0x1bea2a=>{const _0x278ea8=_0x4e4c71;_0x5571e8=!![],_0x53330c[_0x278ea8(0x1d4)](_0x4cfe4a,_0x1bea2a[_0x278ea8(0x1d3)]);};GroupFileInfoUpdateTasks[_0x4e4c71(0x1f8)](randomUUID(),_0x2e5baf),await napCatCore[_0x4e4c71(0x20b)]['getRichMediaService']()[_0x4e4c71(0x1ce)](_0x3b73b5,_0xaeeedd);});}static async[_0xa061d7(0x1f3)](_0x1d3c5b,_0x23511e,_0x2b5089){const _0x3455b4=_0xa061d7;return napCatCore[_0x3455b4(0x20b)][_0x3455b4(0x206)]()['getMsgsIncludeSelf'](_0x1d3c5b,_0x23511e,_0x2b5089,!![]);}static async['fetchRecentContact'](){}static async[_0xa061d7(0x1eb)](_0x33db6b,_0x4711d0){const _0x521019=_0xa061d7;await napCatCore[_0x521019(0x20b)][_0x521019(0x206)]()[_0x521019(0x1eb)]({'chatType':_0x33db6b['chatType'],'peerUid':_0x33db6b[_0x521019(0x1f9)]},_0x4711d0);}static async['sendMsg'](_0x5ef16e,_0x184765,_0x2dad8e=!![],_0x56ae5b=0x2710){const _0x119332=_0xa061d7,_0x7fad3={'gppos':_0x119332(0x1de),'cKiJB':function(_0x23102c,_0x567ea5){return _0x23102c(_0x567ea5);},'RwGQj':function(_0xcc1f2b){return _0xcc1f2b();},'qnLaT':function(_0x3353d8,_0x517d11){return _0x3353d8===_0x517d11;},'YIfev':function(_0xb9dfeb,_0x5b24c9){return _0xb9dfeb(_0x5b24c9);},'PQNOJ':function(_0x407628,_0x1147fc,_0x596f69){return _0x407628(_0x1147fc,_0x596f69);}},_0x477c7a=_0x5ef16e[_0x119332(0x1f9)];let _0x464c6d=0x0;const _0x4b2323=async()=>{const _0x139189=_0x119332;if(_0x464c6d>_0x56ae5b)throw _0x7fad3['gppos'];const _0x1789f0=sendMessagePool[_0x5ef16e[_0x139189(0x1f9)]];if(_0x1789f0)return await _0x7fad3['cKiJB'](sleep,0x1f4),_0x464c6d+=0x1f4,await _0x7fad3[_0x139189(0x204)](_0x4b2323);else return;};return await _0x7fad3[_0x119332(0x204)](_0x4b2323),new Promise((_0x34228f,_0xc343d)=>{const _0x17d3bb=_0x119332;let _0x3f25b3=![],_0x4a4a2e=null;const _0x2aec35=randomUUID();sendSuccessCBMap[_0x2aec35]=_0x4a9b30=>{const _0x1fe401=_0x478f;if(_0x7fad3[_0x1fe401(0x1ca)](_0x4a9b30[_0x1fe401(0x1e4)],_0x4a4a2e?.['msgId'])){if(_0x7fad3[_0x1fe401(0x1ca)](_0x4a9b30[_0x1fe401(0x1dc)],0x2))return delete sendSuccessCBMap[_0x2aec35],_0x3f25b3=!![],_0x7fad3['YIfev'](_0x34228f,_0x4a9b30),!![];return![];}return![];},sendMessagePool[_0x477c7a]=async _0x207923=>{delete sendMessagePool[_0x477c7a],_0x4a4a2e=_0x207923;},_0x7fad3[_0x17d3bb(0x211)](setTimeout,()=>{const _0x5a8004=_0x17d3bb;if(_0x3f25b3)return;delete sendMessagePool[_0x477c7a],delete sendSuccessCBMap[_0x2aec35],_0x7fad3[_0x5a8004(0x1e2)](_0xc343d,_0x7fad3['gppos']);},_0x56ae5b);const _0x98e60f=napCatCore[_0x17d3bb(0x20b)][_0x17d3bb(0x206)]()[_0x17d3bb(0x1e3)]('0',_0x5ef16e,_0x184765,new Map());});}static async['forwardMsg'](_0x36ba30,_0x45c4ca,_0x3b0b5b){const _0x4d443a=_0xa061d7;return napCatCore['session'][_0x4d443a(0x206)]()[_0x4d443a(0x1d0)](_0x3b0b5b,_0x36ba30,[_0x45c4ca],new Map());}static async[_0xa061d7(0x213)](_0x2b1c0b,_0x9eaf84,_0x5f2ecf){const _0xeed1fd=_0xa061d7,_0xa5c2e4={'EhJmZ':function(_0x96dd32,_0x46ad61){return _0x96dd32!=_0x46ad61;},'hCXme':'com.tencent.multimsg','gERBs':function(_0x564784,_0x4c4f7a){return _0x564784==_0x4c4f7a;},'LwMZp':function(_0xe90faf,_0x34dd06){return _0xe90faf==_0x34dd06;},'BcVWw':function(_0x3be661,_0x448bb){return _0x3be661(_0x448bb);},'NviGh':function(_0x3a6855,_0x4e845d){return _0x3a6855(_0x4e845d);},'ovLqq':_0xeed1fd(0x210),'nmytA':function(_0x258fb9){return _0x258fb9();},'MwObd':function(_0x3e8cbb,_0x138855,_0x188e6f){return _0x3e8cbb(_0x138855,_0x188e6f);}},_0x4ef8f7=_0x5f2ecf['map'](_0x217b8e=>{const _0x32c319=_0xeed1fd;return{'msgId':_0x217b8e,'senderShowName':selfInfo[_0x32c319(0x1d7)]};});return new Promise((_0x57ff65,_0x136465)=>{const _0x59118c=_0xeed1fd,_0x4c9750={'iwMMz':function(_0x5d2eb2,_0x2acbc8){const _0x1c1536=_0x478f;return _0xa5c2e4[_0x1c1536(0x1e9)](_0x5d2eb2,_0x2acbc8);},'tbLif':_0xa5c2e4[_0x59118c(0x1f2)]};let _0x3a5c93=![];const _0x2c12cd=_0xf833fc=>{const _0x5bd866=_0x59118c,_0x277023=_0xf833fc[_0x5bd866(0x20c)][_0x5bd866(0x20d)](_0x35c6b2=>_0x35c6b2[_0x5bd866(0x1cc)]);if(!_0x277023)return;const _0x5b094a=JSON['parse'](_0x277023['arkElement'][_0x5bd866(0x202)]);if(_0xa5c2e4[_0x5bd866(0x1fa)](_0x5b094a[_0x5bd866(0x212)],_0xa5c2e4[_0x5bd866(0x1fc)]))return;_0xa5c2e4[_0x5bd866(0x1dd)](_0xf833fc[_0x5bd866(0x1f9)],_0x9eaf84[_0x5bd866(0x1f9)])&&_0xa5c2e4[_0x5bd866(0x1db)](_0xf833fc[_0x5bd866(0x1ef)],selfInfo[_0x5bd866(0x1d5)])&&(_0x3a5c93=!![],_0xa5c2e4[_0x5bd866(0x1e6)](_0x57ff65,_0xf833fc));};sentMsgTasks[_0x59118c(0x1f8)](_0xa5c2e4[_0x59118c(0x1d8)](randomUUID),_0x2c12cd),_0xa5c2e4[_0x59118c(0x1f0)](setTimeout,()=>{const _0x44cffd=_0x59118c;!_0x3a5c93&&_0x4c9750[_0x44cffd(0x207)](_0x136465,_0x4c9750[_0x44cffd(0x20e)]);},0x1388),napCatCore[_0x59118c(0x20b)][_0x59118c(0x206)]()[_0x59118c(0x1fb)](_0x4ef8f7,_0x2b1c0b,_0x9eaf84,[],new Map());});}} \ No newline at end of file +function _0x5cbf(_0x479eb1,_0x230623){const _0xf9fb1c=_0xf9fb();return _0x5cbf=function(_0x5cbf82,_0x8c450a){_0x5cbf82=_0x5cbf82-0x101;let _0x243436=_0xf9fb1c[_0x5cbf82];return _0x243436;},_0x5cbf(_0x479eb1,_0x230623);}const _0xed01a1=_0x5cbf;(function(_0x58aa53,_0x154c0d){const _0x268b1e=_0x5cbf,_0x1f9c40=_0x58aa53();while(!![]){try{const _0x7872ee=-parseInt(_0x268b1e(0x116))/0x1*(-parseInt(_0x268b1e(0x14b))/0x2)+parseInt(_0x268b1e(0x14f))/0x3*(-parseInt(_0x268b1e(0x147))/0x4)+parseInt(_0x268b1e(0x134))/0x5+parseInt(_0x268b1e(0x105))/0x6*(-parseInt(_0x268b1e(0x12e))/0x7)+parseInt(_0x268b1e(0x10e))/0x8+parseInt(_0x268b1e(0x141))/0x9+-parseInt(_0x268b1e(0x120))/0xa;if(_0x7872ee===_0x154c0d)break;else _0x1f9c40['push'](_0x1f9c40['shift']());}catch(_0x44871a){_0x1f9c40['push'](_0x1f9c40['shift']());}}}(_0xf9fb,0x1915f));import{selfInfo}from'@/core/data';function _0xf9fb(){const _0x44fdfb=['nick','280184dlryPH','catch','dxtzW','setMsgRead','msgId','peerUid','find','recallMsg','37duofnw','rnjZM','addListener','gjuKD','KFSMe','BmPSa','multiForwardMsg','app','getMsgsIncludeSelf','arkElement','951780UyKYcM','onMsgInfoListUpdate','ZBwRB','set','转发消息超时','uJweG','bytesData','UbrCp','setMsgEmojiLikes','getMsgService','map','qpTxN','DRndN','tMRWN','10871VEkDEO','MPLop','onGroupFileInfoUpdate','chatType','QVyVb','getMsgsBySeqAndCount','789305mMJuJw','activateChatAndGetHistory','jtodx','toString','yqWxw','item','getRichMediaService','elements','xECzv','fetchRecentContact','getMsgHistory','aNtcs','nNliq','1136142SxLXEn','com.tencent.multimsg','RWWuy','wQeIP','session','then','1316vshAlm','getMsgsByMsgId','forEach','activateChat','4574OzHukg','getMultiMsg','sendMsg','sendStatus','1551iqRerL','delete','hXtGO','forwardMsg','ioKKv','setEmojiLike','138jAjWaI','onAddSendMsg','ysVKI','onLoginSuccess','multiForwardMsgWithComment','XeuhO','tTvDb','getGroupFileList'];_0xf9fb=function(){return _0x44fdfb;};return _0xf9fb();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xed01a1(0x130)]=_0x47fa6b=>{const _0xfbe6c0=_0xed01a1,_0x58336a={'MPLop':function(_0x371ad1,_0x4a803d){return _0x371ad1(_0x4a803d);}};for(const [_0x2c1218,_0x4a40d2]of GroupFileInfoUpdateTasks){_0x58336a[_0xfbe6c0(0x12f)](_0x4a40d2,_0x47fa6b),GroupFileInfoUpdateTasks[_0xfbe6c0(0x150)](_0x2c1218);}},msgListener[_0xed01a1(0x106)]=_0x3c2f94=>{const _0x10cc58=_0xed01a1,_0x356857={'BmPSa':function(_0x453d9c,_0x30855f){return _0x453d9c(_0x30855f);},'aNtcs':function(_0x11688e,_0x43de08){return _0x11688e instanceof _0x43de08;}};for(const [_0x38d2ea,_0x11aa32]of sentMsgTasks){_0x356857[_0x10cc58(0x11b)](_0x11aa32,_0x3c2f94),sentMsgTasks[_0x10cc58(0x150)](_0x38d2ea);}if(sendMessagePool[_0x3c2f94[_0x10cc58(0x113)]]){const _0x23a12a=sendMessagePool[_0x3c2f94[_0x10cc58(0x113)]]?.(_0x3c2f94);_0x356857[_0x10cc58(0x13f)](_0x23a12a,Promise)&&_0x23a12a[_0x10cc58(0x146)]()[_0x10cc58(0x10f)](logError);}},msgListener[_0xed01a1(0x121)]=_0x1552b3=>{const _0x534f01=_0xed01a1,_0x5e2c42={'xEyQS':function(_0x261cd1,_0xc0c62f){return _0x261cd1(_0xc0c62f);},'zLIoA':function(_0x4768a5,_0x464a1c){return _0x4768a5 instanceof _0x464a1c;}};_0x1552b3[_0x534f01(0x149)](_0x5cd26a=>{const _0x29ac8a=_0x534f01,_0x27ffcc={'tMRWN':function(_0xaa8654,_0x1e0322){return _0x5e2c42['xEyQS'](_0xaa8654,_0x1e0322);},'KFSMe':function(_0x498491,_0x135ceb){return _0x5e2c42['zLIoA'](_0x498491,_0x135ceb);}};new Promise((_0x386a06,_0x3fc9f2)=>{const _0x3359b1=_0x5cbf;for(const _0x281946 in sendSuccessCBMap){const _0x395bae=sendSuccessCBMap[_0x281946],_0x3833a4=_0x27ffcc[_0x3359b1(0x12d)](_0x395bae,_0x5cd26a),_0x43e208=_0x52a774=>{_0x52a774&&delete sendSuccessCBMap[_0x281946];};_0x27ffcc[_0x3359b1(0x11a)](_0x3833a4,Promise)?_0x3833a4[_0x3359b1(0x146)](_0x43e208):_0x43e208(_0x3833a4);}})[_0x29ac8a(0x146)]()[_0x29ac8a(0x10f)](log);});},setTimeout(()=>{const _0x31f950=_0xed01a1;napCatCore[_0x31f950(0x108)](()=>{const _0x4b2aa4=_0x31f950;napCatCore[_0x4b2aa4(0x118)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xed01a1(0x104)](_0x59bc46,_0x3cc9cc,_0x395001,_0x4773a0=!![]){const _0x34826e=_0xed01a1,_0x45682f={'rnjZM':function(_0x20034b,_0x4798a5){return _0x20034b>_0x4798a5;}};return _0x395001=_0x395001[_0x34826e(0x137)](),napCatCore['session'][_0x34826e(0x129)]()[_0x34826e(0x128)](_0x59bc46,_0x3cc9cc,_0x395001,_0x45682f[_0x34826e(0x117)](_0x395001['length'],0x3)?'2':'1',_0x4773a0);}static async[_0xed01a1(0x14c)](_0x493def,_0x57e6d7,_0x3ce4fe){const _0x3276ce=_0xed01a1;return napCatCore[_0x3276ce(0x145)]['getMsgService']()[_0x3276ce(0x14c)](_0x493def,_0x57e6d7,_0x3ce4fe);}static async[_0xed01a1(0x148)](_0x526956,_0x2367d0){const _0x246b36=_0xed01a1;return await napCatCore['session'][_0x246b36(0x129)]()['getMsgsByMsgId'](_0x526956,_0x2367d0);}static async[_0xed01a1(0x133)](_0x7c2c02,_0x1327fa,_0x237830,_0x5c1bbf,_0x3b19b6){const _0xc988c9=_0xed01a1;return await napCatCore[_0xc988c9(0x145)][_0xc988c9(0x129)]()[_0xc988c9(0x133)](_0x7c2c02,_0x1327fa,_0x237830,_0x5c1bbf,_0x3b19b6);}static async[_0xed01a1(0x14a)](_0x15252d){}static async[_0xed01a1(0x135)](_0x56c122){}static async[_0xed01a1(0x111)](_0x442617){const _0x43fbbe=_0xed01a1;return napCatCore[_0x43fbbe(0x145)]['getMsgService']()[_0x43fbbe(0x111)](_0x442617);}static async[_0xed01a1(0x10c)](_0x294976,_0x4ea373){const _0x2405c9={'qpTxN':function(_0x3e91d4,_0x17bff4){return _0x3e91d4(_0x17bff4);},'wQeIP':'获取群文件列表超时','XeuhO':function(_0x55ff40,_0x50cf6e,_0x2db29d){return _0x55ff40(_0x50cf6e,_0x2db29d);},'ioKKv':function(_0x4ad79a){return _0x4ad79a();}};return new Promise(async(_0x36e28d,_0x101af0)=>{const _0x50f2fd=_0x5cbf,_0x47a2a6={'nNliq':_0x2405c9[_0x50f2fd(0x144)]};let _0x2c49b2=![];_0x2405c9[_0x50f2fd(0x10a)](setTimeout,()=>{const _0x12bf55=_0x50f2fd;!_0x2c49b2&&_0x101af0(_0x47a2a6[_0x12bf55(0x140)]);},0x1388);const _0x2e6785=_0x5edf4d=>{const _0x5468d8=_0x50f2fd;_0x2c49b2=!![],_0x2405c9[_0x5468d8(0x12b)](_0x36e28d,_0x5edf4d[_0x5468d8(0x139)]);};GroupFileInfoUpdateTasks[_0x50f2fd(0x123)](_0x2405c9[_0x50f2fd(0x103)](randomUUID),_0x2e6785),await napCatCore[_0x50f2fd(0x145)][_0x50f2fd(0x13a)]()[_0x50f2fd(0x10c)](_0x294976,_0x4ea373);});}static async[_0xed01a1(0x13e)](_0x5fc3c1,_0x5953ce,_0x1089d9){const _0xb96081=_0xed01a1;return napCatCore[_0xb96081(0x145)]['getMsgService']()[_0xb96081(0x11e)](_0x5fc3c1,_0x5953ce,_0x1089d9,!![]);}static async[_0xed01a1(0x13d)](){}static async[_0xed01a1(0x115)](_0x534e94,_0x9a526c){const _0x3750d6=_0xed01a1;await napCatCore['session'][_0x3750d6(0x129)]()[_0x3750d6(0x115)]({'chatType':_0x534e94[_0x3750d6(0x131)],'peerUid':_0x534e94[_0x3750d6(0x113)]},_0x9a526c);}static async[_0xed01a1(0x14d)](_0x5142a0,_0x487ae1,_0x472daa=!![],_0x289331=0x2710){const _0x4211c5=_0xed01a1,_0x5d3676={'ZBwRB':function(_0x6d18bc,_0x3d24a7){return _0x6d18bc>_0x3d24a7;},'tTvDb':'发送超时','UbrCp':function(_0x87c5f8,_0x1f6d6c){return _0x87c5f8(_0x1f6d6c);},'uJweG':function(_0x466a38){return _0x466a38();},'DRndN':function(_0x575b4b,_0x5b1652){return _0x575b4b===_0x5b1652;},'xECzv':function(_0x2de24e,_0x41ca48){return _0x2de24e(_0x41ca48);},'OVoRH':function(_0x5855a7,_0x4aaa45){return _0x5855a7(_0x4aaa45);},'hXtGO':function(_0x42265d){return _0x42265d();},'ysVKI':function(_0x34832a,_0x218e3b,_0x5ef1bf){return _0x34832a(_0x218e3b,_0x5ef1bf);}},_0x587e81=_0x5142a0[_0x4211c5(0x113)];let _0x13efed=0x0;const _0x37dd74=async()=>{const _0x1c65e6=_0x4211c5;if(_0x5d3676[_0x1c65e6(0x122)](_0x13efed,_0x289331))throw _0x5d3676[_0x1c65e6(0x10b)];const _0x14bb29=sendMessagePool[_0x5142a0[_0x1c65e6(0x113)]];if(_0x14bb29)return await _0x5d3676[_0x1c65e6(0x127)](sleep,0x1f4),_0x13efed+=0x1f4,await _0x5d3676[_0x1c65e6(0x125)](_0x37dd74);else return;};return await _0x37dd74(),new Promise((_0x472f12,_0x5286fe)=>{const _0x43b75b=_0x4211c5;let _0x566ba1=![],_0x1bded6=null;const _0x256ece=_0x5d3676[_0x43b75b(0x101)](randomUUID);sendSuccessCBMap[_0x256ece]=_0x499c48=>{const _0x3d36ca=_0x43b75b;if(_0x5d3676[_0x3d36ca(0x12c)](_0x499c48[_0x3d36ca(0x112)],_0x1bded6?.['msgId'])){if(_0x5d3676['DRndN'](_0x499c48[_0x3d36ca(0x14e)],0x2))return delete sendSuccessCBMap[_0x256ece],_0x566ba1=!![],_0x5d3676[_0x3d36ca(0x13c)](_0x472f12,_0x499c48),!![];return![];}return![];},sendMessagePool[_0x587e81]=async _0x2f0b67=>{delete sendMessagePool[_0x587e81],_0x1bded6=_0x2f0b67;},_0x5d3676[_0x43b75b(0x107)](setTimeout,()=>{if(_0x566ba1)return;delete sendMessagePool[_0x587e81],delete sendSuccessCBMap[_0x256ece],_0x5d3676['OVoRH'](_0x5286fe,_0x5d3676['tTvDb']);},_0x289331);const _0x7a710d=napCatCore[_0x43b75b(0x145)]['getMsgService']()[_0x43b75b(0x14d)]('0',_0x5142a0,_0x487ae1,new Map());});}static async[_0xed01a1(0x102)](_0xfa7efe,_0x25703e,_0x436dfe){const _0x45402e=_0xed01a1;return napCatCore['session'][_0x45402e(0x129)]()[_0x45402e(0x102)](_0x436dfe,_0xfa7efe,[_0x25703e],new Map());}static async[_0xed01a1(0x11c)](_0x6fd6fe,_0x12f5d8,_0x13da12){const _0x2305cd=_0xed01a1,_0x2752ea={'FfJnk':_0x2305cd(0x124),'SMFcq':_0x2305cd(0x142),'QVyVb':function(_0x4755c1,_0x36d629){return _0x4755c1==_0x36d629;},'gjuKD':function(_0x8d1e6a){return _0x8d1e6a();},'dxtzW':function(_0x24bd4f,_0x30f7be,_0x412d0f){return _0x24bd4f(_0x30f7be,_0x412d0f);}},_0x41642f=_0x13da12[_0x2305cd(0x12a)](_0x52bd16=>{const _0x93e46a=_0x2305cd;return{'msgId':_0x52bd16,'senderShowName':selfInfo[_0x93e46a(0x10d)]};});return new Promise((_0x1e0cc7,_0x466deb)=>{const _0x149b55=_0x2305cd,_0x120e8e={'yqWxw':function(_0x451c15,_0xc9c39){return _0x451c15!=_0xc9c39;},'jtodx':_0x2752ea['SMFcq'],'RWWuy':function(_0x59ac2f,_0x35c924){const _0x20daf7=_0x5cbf;return _0x2752ea[_0x20daf7(0x132)](_0x59ac2f,_0x35c924);}};let _0xce9c09=![];const _0xd5c8b5=_0x404b11=>{const _0x2b2dac=_0x5cbf,_0x67a52b=_0x404b11[_0x2b2dac(0x13b)][_0x2b2dac(0x114)](_0x518751=>_0x518751[_0x2b2dac(0x11f)]);if(!_0x67a52b)return;const _0x411ffe=JSON['parse'](_0x67a52b[_0x2b2dac(0x11f)][_0x2b2dac(0x126)]);if(_0x120e8e[_0x2b2dac(0x138)](_0x411ffe[_0x2b2dac(0x11d)],_0x120e8e[_0x2b2dac(0x136)]))return;_0x404b11[_0x2b2dac(0x113)]==_0x12f5d8[_0x2b2dac(0x113)]&&_0x120e8e[_0x2b2dac(0x143)](_0x404b11['senderUid'],selfInfo['uid'])&&(_0xce9c09=!![],_0x1e0cc7(_0x404b11));};sentMsgTasks['set'](_0x2752ea[_0x149b55(0x119)](randomUUID),_0xd5c8b5),_0x2752ea[_0x149b55(0x110)](setTimeout,()=>{!_0xce9c09&&_0x466deb(_0x2752ea['FfJnk']);},0x1388),napCatCore[_0x149b55(0x145)][_0x149b55(0x129)]()[_0x149b55(0x109)](_0x41642f,_0x6fd6fe,_0x12f5d8,[],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 c0d6de5e..0de09d41 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x551c6a,_0xd6fa87){const _0x266538=_0x34ce,_0x415085=_0x551c6a();while(!![]){try{const _0x41eb81=-parseInt(_0x266538(0x15e))/0x1*(parseInt(_0x266538(0x16b))/0x2)+-parseInt(_0x266538(0x150))/0x3*(parseInt(_0x266538(0x160))/0x4)+-parseInt(_0x266538(0x164))/0x5*(-parseInt(_0x266538(0x172))/0x6)+parseInt(_0x266538(0x14f))/0x7+parseInt(_0x266538(0x16c))/0x8+parseInt(_0x266538(0x158))/0x9+parseInt(_0x266538(0x17b))/0xa*(-parseInt(_0x266538(0x159))/0xb);if(_0x41eb81===_0xd6fa87)break;else _0x415085['push'](_0x415085['shift']());}catch(_0x31729a){_0x415085['push'](_0x415085['shift']());}}}(_0x184e,0x99319));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x34ce(_0x22bc44,_0x49f9fb){const _0x184e54=_0x184e();return _0x34ce=function(_0x34ce39,_0xbf897f){_0x34ce39=_0x34ce39-0x14d;let _0x9805f1=_0x184e54[_0x34ce39];return _0x9805f1;},_0x34ce(_0x22bc44,_0x49f9fb);}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x43d7b8){const _0x218a52=_0x34ce,_0x32cc32={'EAFFL':_0x218a52(0x166),'LehQf':_0x218a52(0x179),'feQFl':_0x218a52(0x151),'CDNXM':function(_0x394bbb,_0x459556){return _0x394bbb+_0x459556;},'GqXau':function(_0x18233d,_0x3834ad){return _0x18233d+_0x3834ad;},'hVtJB':_0x218a52(0x157),'gAUpd':_0x218a52(0x15d),'WvQRk':_0x218a52(0x161),'Nouvy':function(_0x10bba9,_0x3e79e7){return _0x10bba9+_0x3e79e7;},'hRbfk':function(_0x30f50b,_0x2829e9){return _0x30f50b+_0x2829e9;},'XmZjf':_0x218a52(0x17a),'cMpqr':'&ark=','JjyEW':function(_0x10d149,_0x4ba2a4){return _0x10d149(_0x4ba2a4);},'VFQmA':_0x218a52(0x15c)};let _0x44d38b={'app':_0x218a52(0x15b),'bizsrc':_0x32cc32[_0x218a52(0x169)],'view':_0x32cc32['LehQf'],'prompt':_0x43d7b8[_0x218a52(0x173)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x43d7b8[_0x218a52(0x156)],'preview':_0x43d7b8[_0x218a52(0x178)]['replace'](/\\/g,_0x32cc32[_0x218a52(0x170)]),'jumpUrl':_0x43d7b8['jumpUrl'][_0x218a52(0x16d)](/\\/g,_0x32cc32['feQFl']),'tag':_0x43d7b8[_0x218a52(0x14d)],'tagIcon':_0x43d7b8['tagIcon'][_0x218a52(0x16d)](/\\/g,'\x5c/\x5c/'),'source':_0x43d7b8['source'],'sourcelogo':_0x43d7b8[_0x218a52(0x15f)][_0x218a52(0x16d)](/\\/g,_0x32cc32[_0x218a52(0x170)])}}};const _0x629034=await NTQQUserApi[_0x218a52(0x14e)]();let _0x29312a=await NTQQUserApi[_0x218a52(0x162)]();const _0x7145c9=WebApi[_0x218a52(0x16f)](_0x29312a[_0x218a52(0x154)]),_0x976c1=_0x32cc32[_0x218a52(0x15a)](_0x32cc32[_0x218a52(0x15a)](_0x32cc32[_0x218a52(0x152)](_0x218a52(0x153),_0x29312a[_0x218a52(0x154)])+_0x32cc32['hVtJB']+_0x29312a[_0x218a52(0x155)]+_0x32cc32[_0x218a52(0x165)],selfInfo[_0x218a52(0x176)]),_0x32cc32[_0x218a52(0x167)])+selfInfo['uin'];let _0x1dcacb=_0x32cc32[_0x218a52(0x171)](_0x32cc32[_0x218a52(0x152)](_0x32cc32[_0x218a52(0x16e)](_0x32cc32['XmZjf'],_0x7145c9),_0x32cc32[_0x218a52(0x175)]),_0x32cc32[_0x218a52(0x177)](encodeURIComponent,JSON[_0x218a52(0x174)](_0x44d38b))),_0xa0286f='';try{let _0x401d09=await RequestUtil[_0x218a52(0x163)](_0x1dcacb,_0x32cc32[_0x218a52(0x168)],undefined,{'Cookie':_0x976c1});_0xa0286f=_0x401d09['data']['signed_ark'];}catch(_0x26b23e){logDebug(_0x218a52(0x16a),_0x26b23e);}return _0xa0286f;}function _0x184e(){const _0xd1eb9d=['3476445hPxjpO','9esYsJa','\x5c/\x5c/','GqXau','p_skey=','p_skey','skey','title',';\x20skey=','8468028wkJJqG','22pRnRkv','CDNXM','com.tencent.miniapp.lua','GET',';\x20p_uin=o','28991jezjnu','sourcelogo','996388FpWxQx',';\x20uin=o','getQzoneCookies','HttpGetJson','942285soetoY','gAUpd','tianxuan.imgJumpArk','WvQRk','VFQmA','EAFFL','MiniApp\x20JSON\x20消息生成失败','4yhXdUA','4726760ngwOgH','replace','hRbfk','genBkn','feQFl','Nouvy','36mEIYud','prompt','stringify','cMpqr','uin','JjyEW','preview','miniapp','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','8631800bxDahe','tag','getSkey'];_0x184e=function(){return _0xd1eb9d;};return _0x184e();} \ No newline at end of file +(function(_0xf184e2,_0x353f05){const _0x360916=_0x1217,_0x51f1aa=_0xf184e2();while(!![]){try{const _0x1fa391=-parseInt(_0x360916(0x1ae))/0x1*(parseInt(_0x360916(0x1c7))/0x2)+-parseInt(_0x360916(0x1bd))/0x3+parseInt(_0x360916(0x1b4))/0x4+-parseInt(_0x360916(0x1cd))/0x5+-parseInt(_0x360916(0x1a9))/0x6+parseInt(_0x360916(0x1b5))/0x7+parseInt(_0x360916(0x1c9))/0x8*(parseInt(_0x360916(0x1bc))/0x9);if(_0x1fa391===_0x353f05)break;else _0x51f1aa['push'](_0x51f1aa['shift']());}catch(_0x2fb135){_0x51f1aa['push'](_0x51f1aa['shift']());}}}(_0x519b,0xbd901));function _0x1217(_0x243e37,_0x14eece){const _0x519bce=_0x519b();return _0x1217=function(_0x121770,_0x218f39){_0x121770=_0x121770-0x1a2;let _0x1c676b=_0x519bce[_0x121770];return _0x1c676b;},_0x1217(_0x243e37,_0x14eece);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x519b(){const _0x3acfe0=['https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','p_skey','stringify','Fbwln','HttpGetJson','preview','9ohhiLg','572484WVnrNG','hykEb','signed_ark','Etwnn','replace',';\x20uin=o','cWDOP','tIoVo','tianxuan.imgJumpArk','tag','1082FCzudd',';\x20skey=','4267680nAfGHu','trInk','miniapp','MiniApp\x20JSON\x20消息生成失败','2060540eLrksV',';\x20p_uin=o','\x5c/\x5c/','tagIcon','com.tencent.miniapp.lua','rlerq','p_skey=','skey','2568414VIIckq','getQzoneCookies','IFxkW','jumpUrl','uin','1483bLAqSf','iovEi','data','normal','prompt','GET','3147876iymtOz','9025296wVgeQQ'];_0x519b=function(){return _0x3acfe0;};return _0x519b();}export async function SignMiniApp(_0x2e61d0){const _0x5cdd20=_0x1217,_0x3ec84b={'rlerq':_0x5cdd20(0x1cb),'IFxkW':_0x5cdd20(0x1b1),'Fbwln':'\x5c/\x5c/','qthrA':function(_0x38a6e8,_0x141303){return _0x38a6e8+_0x141303;},'Etwnn':function(_0x5b92aa,_0x213e63){return _0x5b92aa+_0x213e63;},'cWDOP':function(_0x1d0dc9,_0x5a06c0){return _0x1d0dc9+_0x5a06c0;},'trInk':_0x5cdd20(0x1a7),'hykEb':_0x5cdd20(0x1c8),'tIoVo':_0x5cdd20(0x1a2),'iovEi':_0x5cdd20(0x1c2),'PvXyV':function(_0x2d534b,_0x441eed){return _0x2d534b+_0x441eed;}};let _0x275de2={'app':_0x5cdd20(0x1a5),'bizsrc':_0x5cdd20(0x1c5),'view':_0x3ec84b[_0x5cdd20(0x1a6)],'prompt':_0x2e61d0[_0x5cdd20(0x1b2)],'config':{'type':_0x3ec84b[_0x5cdd20(0x1ab)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2e61d0['title'],'preview':_0x2e61d0[_0x5cdd20(0x1bb)]['replace'](/\\/g,_0x5cdd20(0x1a3)),'jumpUrl':_0x2e61d0[_0x5cdd20(0x1ac)]['replace'](/\\/g,_0x3ec84b[_0x5cdd20(0x1b9)]),'tag':_0x2e61d0[_0x5cdd20(0x1c6)],'tagIcon':_0x2e61d0[_0x5cdd20(0x1a4)][_0x5cdd20(0x1c1)](/\\/g,_0x3ec84b[_0x5cdd20(0x1b9)]),'source':_0x2e61d0['source'],'sourcelogo':_0x2e61d0['sourcelogo'][_0x5cdd20(0x1c1)](/\\/g,_0x3ec84b['Fbwln'])}}};const _0x590261=await NTQQUserApi['getSkey']();let _0x3697ae=await NTQQUserApi[_0x5cdd20(0x1aa)]();const _0x20bcb8=WebApi['genBkn'](_0x3697ae[_0x5cdd20(0x1b7)]),_0x8c35b5=_0x3ec84b['qthrA'](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b['cWDOP'](_0x3ec84b[_0x5cdd20(0x1c3)](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b[_0x5cdd20(0x1ca)],_0x3697ae[_0x5cdd20(0x1b7)])+_0x3ec84b[_0x5cdd20(0x1be)],_0x3697ae[_0x5cdd20(0x1a8)])+_0x3ec84b[_0x5cdd20(0x1c4)],selfInfo[_0x5cdd20(0x1ad)]),_0x3ec84b[_0x5cdd20(0x1af)]),selfInfo[_0x5cdd20(0x1ad)]);let _0x3bbda1=_0x3ec84b['PvXyV'](_0x3ec84b[_0x5cdd20(0x1c0)](_0x3ec84b[_0x5cdd20(0x1c3)](_0x5cdd20(0x1b6),_0x20bcb8),'&ark='),encodeURIComponent(JSON[_0x5cdd20(0x1b8)](_0x275de2))),_0x35a841='';try{let _0x100935=await RequestUtil[_0x5cdd20(0x1ba)](_0x3bbda1,_0x5cdd20(0x1b3),undefined,{'Cookie':_0x8c35b5});_0x35a841=_0x100935[_0x5cdd20(0x1b0)][_0x5cdd20(0x1bf)];}catch(_0x3c6532){logDebug(_0x5cdd20(0x1cc),_0x3c6532);}return _0x35a841;} \ 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 53969647..d4f4dc37 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x4fadcf=_0x3900;function _0x1ade(){var _0x58f903=['wantWinScreenOCR','33ADGQYn','935591xgmJjQ','2739730UIQhmr','hasOtherRunningQQProcess','translateEnWordToZn','1161738HoIdDq','37200ugttoO','1448554aVuBob','8sODGyK','ORCImage','session','getRichMediaService','util','6sXocNg','1447005lSMGBB','getNodeMiscService','195165DKfvXa','12ufOsPo'];_0x1ade=function(){return _0x58f903;};return _0x1ade();}function _0x3900(_0x18fceb,_0x5ebcfa){var _0x1ade64=_0x1ade();return _0x3900=function(_0x3900d6,_0x34ed96){_0x3900d6=_0x3900d6-0x98;var _0x464e59=_0x1ade64[_0x3900d6];return _0x464e59;},_0x3900(_0x18fceb,_0x5ebcfa);}(function(_0x3eb466,_0x12acb9){var _0x478060=_0x3900,_0xb04809=_0x3eb466();while(!![]){try{var _0x374a3f=-parseInt(_0x478060(0xa1))/0x1+parseInt(_0x478060(0xa7))/0x2+-parseInt(_0x478060(0x9d))/0x3*(parseInt(_0x478060(0x9e))/0x4)+-parseInt(_0x478060(0xa6))/0x5+parseInt(_0x478060(0x9a))/0x6*(parseInt(_0x478060(0x9b))/0x7)+parseInt(_0x478060(0xa8))/0x8*(-parseInt(_0x478060(0xa5))/0x9)+-parseInt(_0x478060(0xa2))/0xa*(-parseInt(_0x478060(0xa0))/0xb);if(_0x374a3f===_0x12acb9)break;else _0xb04809['push'](_0xb04809['shift']());}catch(_0x4d317c){_0xb04809['push'](_0xb04809['shift']());}}}(_0x1ade,0x76901));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x4fadcf(0xa3)](){var _0x98d724=_0x4fadcf;return napCatCore[_0x98d724(0x99)][_0x98d724(0xa3)]();}static async[_0x4fadcf(0xa9)](_0x4fbc6b){var _0x102095=_0x4fadcf;return napCatCore[_0x102095(0xaa)][_0x102095(0x9c)]()[_0x102095(0x9f)](_0x4fbc6b);}static async[_0x4fadcf(0xa4)](_0x1363f4){var _0x36056d=_0x4fadcf;return napCatCore[_0x36056d(0xaa)][_0x36056d(0x98)]()[_0x36056d(0xa4)](_0x1363f4);}} \ No newline at end of file +var _0x58874f=_0x499f;function _0x5bf6(){var _0x338222=['getRichMediaService','hasOtherRunningQQProcess','translateEnWordToZn','7812650SpaTIF','5IdOQKP','197463EOJGfS','getNodeMiscService','292KwunWF','24707826yYbHNa','1bDqocx','9245007XIPlWy','1503434WQmtZG','819GtruOw','wantWinScreenOCR','96fYPIaM','4578870IcAIKN','ORCImage'];_0x5bf6=function(){return _0x338222;};return _0x5bf6();}(function(_0x3c1b48,_0x4d0fc0){var _0x179f54=_0x499f,_0x240c82=_0x3c1b48();while(!![]){try{var _0x2dcffb=parseInt(_0x179f54(0xed))/0x1*(-parseInt(_0x179f54(0xef))/0x2)+-parseInt(_0x179f54(0xf0))/0x3*(-parseInt(_0x179f54(0xeb))/0x4)+-parseInt(_0x179f54(0xe8))/0x5*(parseInt(_0x179f54(0xf3))/0x6)+-parseInt(_0x179f54(0xe9))/0x7*(parseInt(_0x179f54(0xf2))/0x8)+parseInt(_0x179f54(0xee))/0x9+-parseInt(_0x179f54(0xe7))/0xa+parseInt(_0x179f54(0xec))/0xb;if(_0x2dcffb===_0x4d0fc0)break;else _0x240c82['push'](_0x240c82['shift']());}catch(_0x1ce6ea){_0x240c82['push'](_0x240c82['shift']());}}}(_0x5bf6,0xa0cfb));import{napCatCore}from'@/core';function _0x499f(_0x40b4d5,_0x1dd6b5){var _0x5bf6d3=_0x5bf6();return _0x499f=function(_0x499f35,_0x359f9a){_0x499f35=_0x499f35-0xe6;var _0x210e1c=_0x5bf6d3[_0x499f35];return _0x210e1c;},_0x499f(_0x40b4d5,_0x1dd6b5);}export class NTQQSystemApi{static async[_0x58874f(0xf6)](){var _0x2d3916=_0x58874f;return napCatCore['util'][_0x2d3916(0xf6)]();}static async[_0x58874f(0xf4)](_0x20b49c){var _0x20ca46=_0x58874f;return napCatCore['session'][_0x20ca46(0xea)]()[_0x20ca46(0xf1)](_0x20b49c);}static async['translateEnWordToZn'](_0x441891){var _0x815a7e=_0x58874f;return napCatCore['session'][_0x815a7e(0xf5)]()[_0x815a7e(0xe6)](_0x441891);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index c8e8a40c..332108cf 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2282e3=_0x891f;(function(_0x2e0dbe,_0x59382a){const _0x2e4cf1=_0x891f,_0x2afe42=_0x2e0dbe();while(!![]){try{const _0x1b7761=parseInt(_0x2e4cf1(0x13e))/0x1+-parseInt(_0x2e4cf1(0x134))/0x2*(parseInt(_0x2e4cf1(0x148))/0x3)+parseInt(_0x2e4cf1(0x12b))/0x4*(-parseInt(_0x2e4cf1(0x11f))/0x5)+-parseInt(_0x2e4cf1(0x164))/0x6+parseInt(_0x2e4cf1(0x131))/0x7+-parseInt(_0x2e4cf1(0x14f))/0x8*(-parseInt(_0x2e4cf1(0x126))/0x9)+-parseInt(_0x2e4cf1(0x141))/0xa*(-parseInt(_0x2e4cf1(0x15a))/0xb);if(_0x1b7761===_0x59382a)break;else _0x2afe42['push'](_0x2afe42['shift']());}catch(_0x45b398){_0x2afe42['push'](_0x2afe42['shift']());}}}(_0x5e41,0x23a13));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x891f(_0x3be421,_0x4c9ba3){const _0x5e416e=_0x5e41();return _0x891f=function(_0x891f39,_0x4fe86a){_0x891f39=_0x891f39-0x11e;let _0x4b86ae=_0x5e416e[_0x891f39];return _0x4b86ae;},_0x891f(_0x3be421,_0x4c9ba3);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2282e3(0x128)]=_0x537105=>{const _0x8a8ef7=_0x2282e3;userInfoCache[_0x537105[_0x8a8ef7(0x125)]]=_0x537105,userDetailHandlers['forEach'](_0xdb5804=>_0xdb5804(_0x537105));},setTimeout(()=>{const _0x19b4f7=_0x2282e3;napCatCore[_0x19b4f7(0x120)](()=>{const _0x26f292=_0x19b4f7;napCatCore[_0x26f292(0x13c)](profileListener);});},0x64);function _0x5e41(){const _0x34ac18=['WIlNR','20856kfuWLB','getRobotUinRange','getSelfInfo','clientKey','getSkey','getTipOffService','set','FMXhA','entries','ulsJq','jcCtL','16126QUaoEg','setHeader','length','获取Pskey失败','PskeyTime','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','then','wMDSp','result','session','120660nWmZUN','ClientKey','WElOx','KSxLn','请求获取Cookies时失败','ZYCfh','setStatus','forceFetchClientKey','uin','Skey','fromEntries','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','391775oyycCw','onLoginSuccess','jVPwt','getPSkey','errMsg','Ansbk','uid','189ZdgZnG','gDGCC','onProfileDetailInfoChanged','domainPskeyMap','KeyIndex','4AEzhUP','like','HttpsGetCookies','请求获取Skey时失败','getRobotService','get','1110326YIwGnF','keyIndex','XTvOp','226NUKPxW','getUserDetailInfo\x20timeout','push','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','iDgcR','oGdLz','getQzoneCookies','getPskey','addListener','iwYzs','266320IoAOdk','%2Finfocenter&keyindex=19%27','setQQAvatar','50ecHubh','response','getProfileService','now','xfVAB','getProfileLikeService','HBoLt','6441BvlHiF','setBuddyProfileLike','uwcqN','yOigq','setSelfOnlineStatus','CreatTime'];_0x5e41=function(){return _0x34ac18;};return _0x5e41();}export class NTQQUserApi{static async[_0x2282e3(0x14c)](_0x2b7eda,_0x3fcb86,_0x2728fe){const _0x6f0ed5=_0x2282e3;return napCatCore['session']['getMsgService']()[_0x6f0ed5(0x16a)]({'status':_0x2b7eda,'extStatus':_0x3fcb86,'batteryStatus':_0x2728fe});}static async[_0x2282e3(0x12c)](_0x505e58,_0x53b47e=0x1){const _0x52731d=_0x2282e3;return napCatCore[_0x52731d(0x163)][_0x52731d(0x146)]()[_0x52731d(0x149)]({'friendUid':_0x505e58,'sourceId':0x47,'doLikeCount':_0x53b47e,'doLikeTollCount':0x0});}static async[_0x2282e3(0x140)](_0x344ed1){const _0x470d0b=_0x2282e3,_0x322696=napCatCore['session'][_0x470d0b(0x143)]()[_0x470d0b(0x15b)](_0x344ed1);return{'result':_0x322696?.[_0x470d0b(0x162)],'errMsg':_0x322696?.[_0x470d0b(0x123)]};}static async[_0x2282e3(0x151)](){}static async['getUserInfo'](_0x244cf9){}static async['getUserDetailInfo'](_0x2e7997){const _0x588dba=_0x2282e3,_0x18f0d0={'yOigq':function(_0x50fd9c,_0x3463d9){return _0x50fd9c(_0x3463d9);},'KyfvQ':_0x588dba(0x135),'xfVAB':function(_0x4d95fc,_0x31662f){return _0x4d95fc===_0x31662f;},'hdZqu':function(_0x4f1b6e,_0x376392){return _0x4f1b6e(_0x376392);},'Ulhjm':function(_0x532d7d){return _0x532d7d();},'Ansbk':function(_0x2409ac,_0x30221a,_0xf4339d){return _0x2409ac(_0x30221a,_0xf4339d);}},_0x3e9dbe=napCatCore[_0x588dba(0x163)][_0x588dba(0x143)]();return new Promise((_0x6f0dfa,_0x1bb90c)=>{const _0x4fd24b=_0x588dba,_0x4e669f=_0x18f0d0['Ulhjm'](randomUUID);let _0x121f39=![],_0x4bd9c8=undefined,_0x2bd263=!![];_0x18f0d0[_0x4fd24b(0x124)](setTimeout,()=>{const _0x2718e0=_0x4fd24b;!_0x121f39&&(_0x4bd9c8?_0x6f0dfa(_0x4bd9c8):_0x18f0d0[_0x2718e0(0x14b)](_0x1bb90c,_0x18f0d0['KyfvQ'])),userDetailHandlers['delete'](_0x4e669f);},0x1388),userDetailHandlers[_0x4fd24b(0x155)](_0x4e669f,_0x406f12=>{const _0x2cf142=_0x4fd24b;_0x18f0d0[_0x2cf142(0x145)](_0x406f12[_0x2cf142(0x125)],_0x2e7997)&&(uid2UinMap[_0x2e7997]=_0x406f12['uin'],_0x2bd263?(_0x4bd9c8=_0x406f12,_0x2bd263=![]):(_0x121f39=!![],_0x18f0d0['hdZqu'](_0x6f0dfa,_0x406f12)));}),_0x3e9dbe['getUserDetailInfoWithBizInfo'](_0x2e7997,[0x0])[_0x4fd24b(0x160)](_0x21acfb=>{});});}static async[_0x2282e3(0x122)](_0x45cd1b,_0x14d7c8=!![]){const _0x43ecbd=_0x2282e3,_0x1a3efd={'uwcqN':function(_0x5db0d9,_0xb6475){return _0x5db0d9||_0xb6475;},'KijbO':function(_0x161b86,_0x58ad0e){return _0x161b86>_0x58ad0e;},'HBoLt':function(_0x573c2b,_0x1c4e06){return _0x573c2b-_0x1c4e06;},'WElOx':function(_0x28c85b,_0x1705dc){return _0x28c85b===_0x1705dc;},'ulsJq':function(_0x4825d1,_0x41a217,_0x981e0a){return _0x4825d1(_0x41a217,_0x981e0a);},'oGdLz':_0x43ecbd(0x15d)},_0x5d20d8=[],_0x961f10={};for(const _0x43f45e in _0x45cd1b){const _0x2eb9a4=Credentials['PskeyData'][_0x43ecbd(0x130)](_0x45cd1b[_0x43f45e]),_0x36773d=Credentials[_0x43ecbd(0x15e)]['get'](_0x45cd1b[_0x43f45e]);_0x1a3efd[_0x43ecbd(0x14a)](!_0x2eb9a4,!_0x36773d)||_0x1a3efd['KijbO'](_0x1a3efd[_0x43ecbd(0x147)](Date[_0x43ecbd(0x144)](),_0x36773d),0x708*0x3e8)||!_0x14d7c8?_0x5d20d8[_0x43ecbd(0x136)](_0x45cd1b[_0x43f45e]):_0x961f10[_0x45cd1b[_0x43f45e]]=_0x2eb9a4;}let _0x2912e3={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1a3efd['KijbO'](_0x5d20d8[_0x43ecbd(0x15c)],0x0)&&(_0x2912e3=await napCatCore[_0x43ecbd(0x163)][_0x43ecbd(0x154)]()[_0x43ecbd(0x13b)](_0x5d20d8,!![]));const _0x5b91fe=_0x2912e3[_0x43ecbd(0x129)];for(const _0x3a3f2f of _0x5b91fe[_0x43ecbd(0x157)]()){Credentials['PskeyData'][_0x43ecbd(0x155)](_0x3a3f2f[0x0],_0x3a3f2f[0x1]),Credentials[_0x43ecbd(0x15e)][_0x43ecbd(0x155)](_0x3a3f2f[0x0],Date['now']());}const _0x334891=Object['assign'](Object[_0x43ecbd(0x16e)](_0x5b91fe),_0x961f10);if(_0x1a3efd[_0x43ecbd(0x166)](_0x2912e3[_0x43ecbd(0x162)],0x0))return _0x334891;else _0x1a3efd[_0x43ecbd(0x158)](logError,_0x1a3efd[_0x43ecbd(0x139)],_0x2912e3[_0x43ecbd(0x123)]);return{};}static async[_0x2282e3(0x150)](){const _0x36969f=_0x2282e3,_0x18f2e9=await napCatCore['session'][_0x36969f(0x12f)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x18f2e9?.[_0x36969f(0x142)]?.['robotUinRanges'];}static async[_0x2282e3(0x13a)](){const _0x4422c5=_0x2282e3,_0x207ef9={'KSxLn':function(_0x590451,_0x2efe7b){return _0x590451+_0x2efe7b;},'ZYCfh':_0x4422c5(0x11e),'TgbRl':_0x4422c5(0x137),'XWCRF':_0x4422c5(0x13f)},_0x1c7c00=_0x207ef9[_0x4422c5(0x167)](_0x207ef9[_0x4422c5(0x167)](_0x207ef9[_0x4422c5(0x169)],selfInfo['uin'])+'&clientkey='+Credentials[_0x4422c5(0x165)]+_0x207ef9['TgbRl']+selfInfo[_0x4422c5(0x16c)],_0x207ef9['XWCRF']);let _0x2cfab4={};try{_0x2cfab4=await RequestUtil['HttpsGetCookies'](_0x1c7c00);}catch(_0xad899){logDebug(_0x4422c5(0x168),_0xad899),_0x2cfab4={};}return _0x2cfab4;}static async[_0x2282e3(0x153)](_0x4b363a=!![]){const _0x27adc1=_0x2282e3,_0x51fb6d={'LvxCJ':function(_0x249223,_0x581f85){return _0x249223-_0x581f85;},'WIlNR':function(_0x481a9a,_0x32e011){return _0x481a9a*_0x32e011;},'hiNXL':function(_0x57b346,_0x578dd5){return _0x57b346!==_0x578dd5;},'gDGCC':function(_0x1c9317,_0x11b658){return _0x1c9317+_0x11b658;},'iwYzs':function(_0x193028,_0x43e05e){return _0x193028+_0x43e05e;},'jVPwt':function(_0x53eac5,_0x2f1854){return _0x53eac5+_0x2f1854;},'ZYOiT':_0x27adc1(0x11e),'iDgcR':'&clientkey=','wMDSp':_0x27adc1(0x15f),'jcCtL':function(_0x21f272,_0x58e7ac,_0x5e7e1e){return _0x21f272(_0x58e7ac,_0x5e7e1e);},'FMXhA':_0x27adc1(0x12e),'XTvOp':'skey'};try{if(Credentials['CreatTime']==0x0||_0x51fb6d['LvxCJ'](Date[_0x27adc1(0x144)](),Credentials[_0x27adc1(0x14d)])>_0x51fb6d[_0x27adc1(0x14e)](0x3e8,0xe10)||!_0x4b363a){const _0x43969f=await napCatCore[_0x27adc1(0x163)]['getTicketService']()[_0x27adc1(0x16b)]('');if(_0x51fb6d['hiNXL'](_0x43969f[_0x27adc1(0x162)],0x0))return'';const _0x4815ee=_0x43969f[_0x27adc1(0x152)],_0xf9c375=_0x43969f[_0x27adc1(0x132)],_0x529a9c=_0x51fb6d[_0x27adc1(0x127)](_0x51fb6d['gDGCC'](_0x51fb6d[_0x27adc1(0x13d)](_0x51fb6d[_0x27adc1(0x121)](_0x51fb6d[_0x27adc1(0x13d)](_0x51fb6d['ZYOiT'],selfInfo[_0x27adc1(0x16c)]),_0x51fb6d[_0x27adc1(0x138)]),_0x4815ee),_0x51fb6d[_0x27adc1(0x161)]),_0xf9c375);let _0x1edab9={};try{_0x1edab9=await RequestUtil[_0x27adc1(0x12d)](_0x529a9c);}catch(_0x299383){_0x51fb6d[_0x27adc1(0x159)](logDebug,_0x51fb6d[_0x27adc1(0x156)],_0x299383),_0x1edab9={};}const _0x5ee4f1=_0x1edab9[_0x51fb6d[_0x27adc1(0x133)]];if(!_0x5ee4f1)return'';return Credentials[_0x27adc1(0x165)]=_0x4815ee,Credentials[_0x27adc1(0x12a)]=_0xf9c375,Credentials[_0x27adc1(0x14d)]=Date[_0x27adc1(0x144)](),Credentials[_0x27adc1(0x16d)]=_0x5ee4f1,_0x5ee4f1;}return Credentials[_0x27adc1(0x16d)];}catch(_0x1f4f6b){}return undefined;}} \ No newline at end of file +const _0x940856=_0x2c3d;(function(_0x2d9db9,_0x4516c9){const _0x392d8e=_0x2c3d,_0x5ca67a=_0x2d9db9();while(!![]){try{const _0x20db83=parseInt(_0x392d8e(0xad))/0x1+-parseInt(_0x392d8e(0x92))/0x2*(parseInt(_0x392d8e(0xc5))/0x3)+-parseInt(_0x392d8e(0xae))/0x4*(-parseInt(_0x392d8e(0xca))/0x5)+-parseInt(_0x392d8e(0x97))/0x6+-parseInt(_0x392d8e(0x8e))/0x7*(parseInt(_0x392d8e(0xbb))/0x8)+-parseInt(_0x392d8e(0xbd))/0x9+-parseInt(_0x392d8e(0xc1))/0xa*(-parseInt(_0x392d8e(0x8f))/0xb);if(_0x20db83===_0x4516c9)break;else _0x5ca67a['push'](_0x5ca67a['shift']());}catch(_0x55a36a){_0x5ca67a['push'](_0x5ca67a['shift']());}}}(_0x3eb9,0x83d7e));function _0x3eb9(){const _0x3a9652=['568NVNrvK','getPSkey','6397443hKgjAL','skey','请求获取Cookies时失败','addListener','70LioXNO','lNaVK','setBuddyProfileLike','EqVRO','26241JFDAHK','getProfileService','getPskey','PskeyData','session','25yTSHqp','get','setQQAvatar','PskeyTime','HuyDs','getMsgService','fromEntries','getQzoneCookies','UMDzd','getProfileLikeService','forceFetchClientKey','tagll','kllWG','wxmkh','errMsg','zHXHz','getUserDetailInfo','delete','PRLvH','setHeader','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','DuGUM','getUserInfo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','then','getUserDetailInfo\x20timeout','setSelfOnlineStatus','5152pnoJLg','1688478ojfXPN','XCydT','keyIndex','230rDmGpo','onLoginSuccess','uid','like','domainPskeyMap','16392OZBlUH','pXtfj','uin','ojhHd','RRNDY','push','now','JwXyf','kDVTE','getRobotUinRange','result','YEaUL','response','Lcjjn','setStatus','DyZLj','HttpsGetCookies','getTipOffService','getRobotService','getTicketService','getSelfInfo','Skey','995529OApyXK','193388gQSOVM','获取Pskey失败','clientKey','ClientKey','length','KeyIndex','entries','lHija','haCOT','auFGv','&clientkey=','onProfileDetailInfoChanged','请求获取Skey时失败'];_0x3eb9=function(){return _0x3a9652;};return _0x3eb9();}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x2c3d(_0x49e9a1,_0x561105){const _0x3eb9b9=_0x3eb9();return _0x2c3d=function(_0x2c3d99,_0x58b52d){_0x2c3d99=_0x2c3d99-0x7d;let _0x582137=_0x3eb9b9[_0x2c3d99];return _0x582137;},_0x2c3d(_0x49e9a1,_0x561105);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x940856(0xb9)]=_0x3aa5c1=>{const _0x306061=_0x940856;userInfoCache[_0x3aa5c1[_0x306061(0x94)]]=_0x3aa5c1,userDetailHandlers['forEach'](_0x5317cd=>_0x5317cd(_0x3aa5c1));},setTimeout(()=>{const _0x399707=_0x940856;napCatCore[_0x399707(0x93)](()=>{const _0x505596=_0x399707;napCatCore[_0x505596(0xc0)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x940856(0x8d)](_0x479bd7,_0x556d61,_0x2575b8){const _0x1fd24f=_0x940856;return napCatCore[_0x1fd24f(0xc9)][_0x1fd24f(0xcf)]()[_0x1fd24f(0xa5)]({'status':_0x479bd7,'extStatus':_0x556d61,'batteryStatus':_0x2575b8});}static async[_0x940856(0x95)](_0x522d45,_0x1f7cc8=0x1){const _0x418d3c=_0x940856;return napCatCore['session'][_0x418d3c(0xd3)]()[_0x418d3c(0xc3)]({'friendUid':_0x522d45,'sourceId':0x47,'doLikeCount':_0x1f7cc8,'doLikeTollCount':0x0});}static async[_0x940856(0xcc)](_0x286b37){const _0x4335e1=_0x940856,_0xbf2e7b=napCatCore['session'][_0x4335e1(0xc6)]()[_0x4335e1(0x86)](_0x286b37);return{'result':_0xbf2e7b?.[_0x4335e1(0xa1)],'errMsg':_0xbf2e7b?.[_0x4335e1(0x81)]};}static async[_0x940856(0xab)](){}static async[_0x940856(0x89)](_0xc3e5f0){}static async[_0x940856(0x83)](_0x807e3){const _0x517481=_0x940856,_0x18cd8a={'kllWG':function(_0x202618,_0x1f5bc5){return _0x202618===_0x1f5bc5;},'YhvgF':function(_0x4513ae,_0x6f74a2){return _0x4513ae(_0x6f74a2);},'Lcjjn':function(_0x1c0b2d){return _0x1c0b2d();},'ojhHd':function(_0x520818,_0x53f05d,_0x1000f0){return _0x520818(_0x53f05d,_0x1000f0);}},_0x5db9bf=napCatCore[_0x517481(0xc9)][_0x517481(0xc6)]();return new Promise((_0x3e1e59,_0x251ab0)=>{const _0x50a86c=_0x517481,_0x142c52={'lNaVK':_0x50a86c(0x8c),'wxmkh':function(_0x1a0dcc,_0x26c66c){const _0xae4cc5=_0x50a86c;return _0x18cd8a[_0xae4cc5(0x7f)](_0x1a0dcc,_0x26c66c);},'pXtfj':function(_0x3f7562,_0x368e1b){return _0x18cd8a['YhvgF'](_0x3f7562,_0x368e1b);}},_0x448d2c=_0x18cd8a[_0x50a86c(0xa4)](randomUUID);let _0xc0dcd1=![],_0x2e708d=undefined,_0x564245=!![];_0x18cd8a[_0x50a86c(0x9a)](setTimeout,()=>{const _0x6ed714=_0x50a86c;!_0xc0dcd1&&(_0x2e708d?_0x3e1e59(_0x2e708d):_0x251ab0(_0x142c52[_0x6ed714(0xc2)])),userDetailHandlers[_0x6ed714(0x84)](_0x448d2c);},0x1388),userDetailHandlers['set'](_0x448d2c,_0x12a663=>{const _0x55f237=_0x50a86c;_0x142c52[_0x55f237(0x80)](_0x12a663['uid'],_0x807e3)&&(uid2UinMap[_0x807e3]=_0x12a663['uin'],_0x564245?(_0x2e708d=_0x12a663,_0x564245=![]):(_0xc0dcd1=!![],_0x142c52[_0x55f237(0x98)](_0x3e1e59,_0x12a663)));}),_0x5db9bf['getUserDetailInfoWithBizInfo'](_0x807e3,[0x0])[_0x50a86c(0x8b)](_0x5a54aa=>{});});}static async[_0x940856(0xbc)](_0x2803fd,_0x1ef851=!![]){const _0x4155f1=_0x940856,_0xefa810={'tagll':function(_0x209c33,_0x4d981f){return _0x209c33||_0x4d981f;},'lHija':function(_0x47a055,_0x54f16b){return _0x47a055>_0x54f16b;},'rRbTu':function(_0x993f4f,_0x1cde32){return _0x993f4f-_0x1cde32;},'XCydT':function(_0x1156ed,_0x36cdfb,_0x2b4563){return _0x1156ed(_0x36cdfb,_0x2b4563);},'zHXHz':_0x4155f1(0xaf)},_0x2da5ea=[],_0x484c94={};for(const _0x280bf3 in _0x2803fd){const _0x27eaea=Credentials['PskeyData']['get'](_0x2803fd[_0x280bf3]),_0x2f41df=Credentials['PskeyTime'][_0x4155f1(0xcb)](_0x2803fd[_0x280bf3]);_0xefa810[_0x4155f1(0x7e)](!_0x27eaea,!_0x2f41df)||_0xefa810[_0x4155f1(0xb5)](_0xefa810['rRbTu'](Date[_0x4155f1(0x9d)](),_0x2f41df),0x708*0x3e8)||!_0x1ef851?_0x2da5ea[_0x4155f1(0x9c)](_0x2803fd[_0x280bf3]):_0x484c94[_0x2803fd[_0x280bf3]]=_0x27eaea;}let _0x1b708a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2da5ea[_0x4155f1(0xb2)]>0x0&&(_0x1b708a=await napCatCore[_0x4155f1(0xc9)][_0x4155f1(0xa8)]()[_0x4155f1(0xc7)](_0x2da5ea,!![]));const _0x553178=_0x1b708a[_0x4155f1(0x96)];for(const _0x1044a0 of _0x553178[_0x4155f1(0xb4)]()){Credentials[_0x4155f1(0xc8)]['set'](_0x1044a0[0x0],_0x1044a0[0x1]),Credentials[_0x4155f1(0xcd)]['set'](_0x1044a0[0x0],Date[_0x4155f1(0x9d)]());}const _0x733f8b=Object['assign'](Object[_0x4155f1(0xd0)](_0x553178),_0x484c94);if(_0x1b708a[_0x4155f1(0xa1)]===0x0)return _0x733f8b;else _0xefa810[_0x4155f1(0x90)](logError,_0xefa810[_0x4155f1(0x82)],_0x1b708a['errMsg']);return{};}static async[_0x940856(0xa0)](){const _0x16b4b7=_0x940856,_0x5b20f5=await napCatCore['session'][_0x16b4b7(0xa9)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5b20f5?.[_0x16b4b7(0xa3)]?.['robotUinRanges'];}static async[_0x940856(0xd1)](){const _0x905ee=_0x940856,_0x3e2387={'HuyDs':function(_0x5da185,_0x4572ca){return _0x5da185+_0x4572ca;},'kDVTE':_0x905ee(0xb8),'YEaUL':_0x905ee(0x87),'DuGUM':'%2Finfocenter&keyindex=19%27','fjUCw':function(_0x1f18a3,_0x4d19fe,_0x307bf9){return _0x1f18a3(_0x4d19fe,_0x307bf9);},'UMDzd':_0x905ee(0xbf)},_0x534786=_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387[_0x905ee(0xce)](_0x3e2387['HuyDs'](_0x905ee(0x8a),selfInfo[_0x905ee(0x99)]),_0x3e2387[_0x905ee(0x9f)]),Credentials[_0x905ee(0xb1)]),_0x3e2387[_0x905ee(0xa2)])+selfInfo[_0x905ee(0x99)],_0x3e2387[_0x905ee(0x88)]);let _0x461d8f={};try{_0x461d8f=await RequestUtil[_0x905ee(0xa7)](_0x534786);}catch(_0x588958){_0x3e2387['fjUCw'](logDebug,_0x3e2387[_0x905ee(0xd2)],_0x588958),_0x461d8f={};}return _0x461d8f;}static async['getSkey'](_0x4fdfc6=!![]){const _0x23a0bd=_0x940856,_0x2d8cf9={'PRLvH':function(_0xe73af1,_0x1fdf0b){return _0xe73af1==_0x1fdf0b;},'RRNDY':function(_0x395e48,_0x11a4c1){return _0x395e48>_0x11a4c1;},'haCOT':function(_0x3f166f,_0xc4d9d8){return _0x3f166f-_0xc4d9d8;},'ytTLv':function(_0x21d4d8,_0x299823){return _0x21d4d8*_0x299823;},'EqVRO':function(_0x4f8983,_0x122b74){return _0x4f8983+_0x122b74;},'ZFDPf':function(_0x19da4d,_0x28e7d1){return _0x19da4d+_0x28e7d1;},'auFGv':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','DyZLj':_0x23a0bd(0xb8),'JwXyf':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','zBXfG':function(_0x130994,_0x120581,_0x145d7b){return _0x130994(_0x120581,_0x145d7b);},'BoHol':_0x23a0bd(0xba),'bmecM':_0x23a0bd(0xbe)};try{if(_0x2d8cf9[_0x23a0bd(0x85)](Credentials['CreatTime'],0x0)||_0x2d8cf9[_0x23a0bd(0x9b)](_0x2d8cf9[_0x23a0bd(0xb6)](Date[_0x23a0bd(0x9d)](),Credentials['CreatTime']),_0x2d8cf9['ytTLv'](0x3e8,0xe10))||!_0x4fdfc6){const _0x26e06c=await napCatCore[_0x23a0bd(0xc9)][_0x23a0bd(0xaa)]()[_0x23a0bd(0x7d)]('');if(_0x26e06c['result']!==0x0)return'';const _0x594293=_0x26e06c[_0x23a0bd(0xb0)],_0x170c0c=_0x26e06c[_0x23a0bd(0x91)],_0xc8c457=_0x2d8cf9[_0x23a0bd(0xc4)](_0x2d8cf9['EqVRO'](_0x2d8cf9['ZFDPf'](_0x2d8cf9['ZFDPf'](_0x2d8cf9[_0x23a0bd(0xb7)],selfInfo['uin']),_0x2d8cf9[_0x23a0bd(0xa6)]),_0x594293),_0x2d8cf9[_0x23a0bd(0x9e)])+_0x170c0c;let _0x351800={};try{_0x351800=await RequestUtil[_0x23a0bd(0xa7)](_0xc8c457);}catch(_0x5bcb19){_0x2d8cf9['zBXfG'](logDebug,_0x2d8cf9['BoHol'],_0x5bcb19),_0x351800={};}const _0x3f033e=_0x351800[_0x2d8cf9['bmecM']];if(!_0x3f033e)return'';return Credentials['ClientKey']=_0x594293,Credentials[_0x23a0bd(0xb3)]=_0x170c0c,Credentials['CreatTime']=Date[_0x23a0bd(0x9d)](),Credentials[_0x23a0bd(0xac)]=_0x3f033e,_0x3f033e;}return Credentials[_0x23a0bd(0xac)];}catch(_0x1d211d){}return undefined;}} \ 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 238cffc7..064af9e4 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x9b3a6f=_0x3600;(function(_0x2b8846,_0xb24fea){const _0x376fe5=_0x3600,_0x39036f=_0x2b8846();while(!![]){try{const _0x288ec0=-parseInt(_0x376fe5(0xd9))/0x1*(-parseInt(_0x376fe5(0x115))/0x2)+-parseInt(_0x376fe5(0x121))/0x3+-parseInt(_0x376fe5(0xf0))/0x4+parseInt(_0x376fe5(0x143))/0x5+parseInt(_0x376fe5(0x10a))/0x6*(-parseInt(_0x376fe5(0x12e))/0x7)+-parseInt(_0x376fe5(0xd1))/0x8+parseInt(_0x376fe5(0x13f))/0x9;if(_0x288ec0===_0xb24fea)break;else _0x39036f['push'](_0x39036f['shift']());}catch(_0x22f7c2){_0x39036f['push'](_0x39036f['shift']());}}}(_0x1bba,0x5f46d));function _0x1bba(){const _0x35b9ef=['ceil','VGbuZ','current_talkative','kcJRv','oWiBE','jgoUI','PERFROMER','UNkgf','2960560qiXHwW','Ckthi','GroupTime','iBbJg','strong_newbie_list','VzXAW','WASaZ','RvjrK','genBkn','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Vqdca','uoTEb','lnYqh','bHihW','JrBwC','获取当前群荣耀失败','RpruQ','mems','mJRQS','POST','performer_list','set','XObaw','toString','jLJvl','getSkey','30lCvflB','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','CdqYn','HttpGetJson','&text=','emotion','push','jviFN','获取快乐源泉失败','CqaHq','CoyVT','4ayJOdZ','emotion_list','BDpPp','getPSkey','charCodeAt','wyRLZ','DOXrI','AeVAk','match','VsGsC','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','BeSYM','2138415qqxdUu','tBryf',';\x20p_uin=o','NtVEu','Iiwzc','actorList','AyzYB','AThzR','all','strong_newbie','wMYhC','YORIn','MVqbk','163982DAUGAj','NYwmP','MrtRz','cyHhG','rOOSE','talkative_list','retcode','ZIZDe','TKGZm','获取龙王信息失败','get','STORONGE_NEWBI','PdPuz','parse','dMnCn','GroupData',';\x20uin=o','15563358EmDwmA','TALKACTIVE','errcode','LEGEND','3814480KNbkNq','UbxAL','JtzXJ','dJLsV','EMOTION','UAusS','sZhes','UdDoj','getGroupHonorInfo','count','lFJLt','QnuuJ','GET','svKTv','now','name','performer','qun.qq.com','auyCz','bUQui','trim','ALL','WgYWZ','ajUdS','JiILB','zoxrM','lcKZd','p_skey=','lkBfU','rOyWP','PneTm','获取群聊炽焰失败','&end=','MLVED','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',';\x20skey=','AriUM','desc','HttpGetText','6226816JNDjaG','TZrra','CioJo','oBxnq','hOGPY','获取群聊之火失败','sEJgq','sZSAC','123261MSZhrs','hYmMg','gUdDz','lqtzT','fsDhA','UkSKC','&page_start=','RNVUl','setGroupNotice','uin','SjCgW','avatar','OjeHJ','cQgVZ','WiJKE'];_0x1bba=function(){return _0x35b9ef;};return _0x1bba();}import{WebGroupData,selfInfo}from'@/core/data';function _0x3600(_0x1618cf,_0x593e0d){const _0x1bba59=_0x1bba();return _0x3600=function(_0x360077,_0xb965ad){_0x360077=_0x360077-0xb7;let _0x2a85a4=_0x1bba59[_0x360077];return _0x2a85a4;},_0x3600(_0x1618cf,_0x593e0d);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x407c22){const _0x2dfcb1=_0x3600,_0x2d4fa7={'VDMcl':'3|0|2|1|4|5','LycLd':_0x2dfcb1(0x142),'QnuuJ':_0x2dfcb1(0xee),'WgYWZ':_0x2dfcb1(0xba),'zNZnk':_0x2dfcb1(0xbf),'UbxAL':_0x2dfcb1(0x129),'lnYqh':_0x2dfcb1(0x139),'dMnCn':_0x2dfcb1(0x12a),'oWiBE':_0x2dfcb1(0x10f)},_0x4489da=_0x2d4fa7['VDMcl']['split']('|');let _0x2d2153=0x0;while(!![]){switch(_0x4489da[_0x2d2153++]){case'0':_0x407c22[_0x2dfcb1(0x140)]='talkative';continue;case'1':_0x407c22[_0x2d4fa7['LycLd']]='legend';continue;case'2':_0x407c22[_0x2d4fa7[_0x2dfcb1(0x14e)]]=_0x2d4fa7[_0x2dfcb1(0xc0)];continue;case'3':_0x407c22[_0x2d4fa7['zNZnk']]=_0x2d4fa7[_0x2dfcb1(0x144)];continue;case'4':_0x407c22[_0x2d4fa7[_0x2dfcb1(0xfc)]]=_0x2d4fa7[_0x2dfcb1(0x13c)];continue;case'5':_0x407c22[_0x2dfcb1(0x147)]=_0x2d4fa7[_0x2dfcb1(0xec)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x3f9a05,_0x5de57f){const _0x5c6f78=_0x3600,_0x562826={'MLVED':'qun.qq.com','VsGsC':function(_0x189a0b,_0x3c12b3){return _0x189a0b+_0x3c12b3;},'wMYhC':function(_0x4e5422,_0x21b507){return _0x4e5422+_0x21b507;},'YORIn':_0x5c6f78(0xc5),'hOGPY':_0x5c6f78(0xcd),'iBbJg':_0x5c6f78(0x123),'VzXAW':function(_0x4648a6,_0x58db2f){return _0x4648a6||_0x58db2f;},'cyHhG':function(_0xafe3cc,_0x2ade6b){return _0xafe3cc+_0x2ade6b;},'NYwmP':function(_0x16ce97,_0x176ac4){return _0x16ce97+_0x176ac4;},'WASaZ':_0x5c6f78(0xf9),'TrTUb':'&group_code=','fRWSz':_0x5c6f78(0xdf),'TZrra':'&page_limit=20','fsDhA':_0x5c6f78(0x14f),'XObaw':function(_0x4e1fef,_0xef05aa){return _0x4e1fef!==_0xef05aa;}},_0x27c4fb=(await NTQQUserApi[_0x5c6f78(0x118)]([_0x562826[_0x5c6f78(0xcb)]]))[_0x562826[_0x5c6f78(0xcb)]],_0x319d4b=await NTQQUserApi[_0x5c6f78(0x109)](),_0x265bf7=_0x562826[_0x5c6f78(0x11e)](_0x562826[_0x5c6f78(0x11e)](_0x562826['wMYhC'](_0x562826['wMYhC'](_0x562826[_0x5c6f78(0x12b)](_0x562826[_0x5c6f78(0x12c)],_0x27c4fb)+_0x562826[_0x5c6f78(0xd5)]+_0x319d4b,_0x562826[_0x5c6f78(0xf3)]),selfInfo['uin']),_0x5c6f78(0x13e)),selfInfo[_0x5c6f78(0xe2)]);if(_0x562826[_0x5c6f78(0xf5)](!_0x319d4b,!_0x27c4fb))return undefined;const _0x17cde5=WebApi[_0x5c6f78(0xf8)](_0x319d4b),_0xf014fa=_0x562826[_0x5c6f78(0x131)](_0x562826[_0x5c6f78(0x131)](_0x562826[_0x5c6f78(0x12b)](_0x562826['NYwmP'](_0x562826['VsGsC'](_0x562826[_0x5c6f78(0x12f)](_0x562826[_0x5c6f78(0xf6)],_0x17cde5),_0x562826['TrTUb']),_0x3f9a05),_0x562826['fRWSz']),_0x5de57f),_0x562826[_0x5c6f78(0xd2)]);let _0x56a749;try{_0x56a749=await RequestUtil['HttpGetJson'](_0xf014fa,_0x562826[_0x5c6f78(0xdd)],'',{'Cookie':_0x265bf7});}catch{return undefined;}if(_0x562826[_0x5c6f78(0x106)](_0x56a749[_0x5c6f78(0x134)],0x0))return undefined;return _0x56a749;}static async['getGroupMembers'](_0x4ac611,_0x520f57=!![]){const _0x2f2db3=_0x3600,_0x2ab4d2={'Vqdca':function(_0x10ba39,_0x53ea4a){return _0x10ba39>_0x53ea4a;},'RpruQ':function(_0xc5201,_0x3c809d){return _0xc5201-_0x3c809d;},'svKTv':function(_0xf5df84,_0x5b3178){return _0xf5df84*_0x5b3178;},'SjCgW':'qun.qq.com','Iiwzc':function(_0x4836a8,_0x26ed88){return _0x4836a8+_0x26ed88;},'sZSAC':function(_0x3146bf,_0x158e21){return _0x3146bf+_0x158e21;},'YLtLj':function(_0x16ffd3,_0xa24102){return _0x16ffd3+_0xa24102;},'kcJRv':_0x2f2db3(0xcd),'uoTEb':';\x20p_uin=o','PneTm':function(_0x5e0507,_0x312269){return _0x5e0507||_0x312269;},'PdPuz':function(_0x4b5d53,_0x5c184c){return _0x4b5d53+_0x5c184c;},'EMkCJ':function(_0x3ae924,_0x4635bf){return _0x3ae924+_0x4635bf;},'UVcnc':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','lqtzT':'&bkn=','CdqYn':'POST','bHihW':function(_0x2ab67f,_0x2a182d){return _0x2ab67f!==_0x2a182d;},'TKGZm':function(_0x499883,_0x1304ea){return _0x499883+_0x1304ea;},'AeVAk':function(_0x15f7b6,_0x782b2d){return _0x15f7b6+_0x782b2d;},'IpQbe':_0x2f2db3(0xcc),'CioJo':function(_0x30ccb4,_0xc839ed){return _0x30ccb4*_0xc839ed;},'lFJLt':_0x2f2db3(0xca),'wyRLZ':function(_0x32e4c9,_0x38e0fb){return _0x32e4c9*_0x38e0fb;},'UNkgf':'&sort=1&gc=','ajUdS':function(_0x24e644,_0x4b1cb9){return _0x24e644<=_0x4b1cb9;}};let _0x36ffbe=new Array();try{let _0x2bfbb7=WebGroupData[_0x2f2db3(0x13d)][_0x2f2db3(0x138)](_0x4ac611),_0x2e5c19=WebGroupData[_0x2f2db3(0xf2)][_0x2f2db3(0x138)](_0x4ac611);if(!_0x2e5c19||_0x2ab4d2[_0x2f2db3(0xfa)](_0x2ab4d2[_0x2f2db3(0x100)](Date[_0x2f2db3(0xb8)](),_0x2e5c19),_0x2ab4d2[_0x2f2db3(0xb7)](0x708,0x3e8))||!_0x520f57){const _0x1d0902=(await NTQQUserApi[_0x2f2db3(0x118)]([_0x2ab4d2[_0x2f2db3(0xe3)]]))[_0x2ab4d2[_0x2f2db3(0xe3)]],_0x1a205f=await NTQQUserApi[_0x2f2db3(0x109)](),_0x21c940=_0x2ab4d2['Iiwzc'](_0x2ab4d2[_0x2f2db3(0x125)](_0x2ab4d2['sZSAC'](_0x2ab4d2['YLtLj'](_0x2f2db3(0xc5),_0x1d0902)+_0x2ab4d2[_0x2f2db3(0xeb)],_0x1a205f),_0x2ab4d2[_0x2f2db3(0xfb)]),selfInfo[_0x2f2db3(0xe2)]);if(_0x2ab4d2[_0x2f2db3(0xc8)](!_0x1a205f,!_0x1d0902))return _0x36ffbe;const _0x1591f6=WebApi[_0x2f2db3(0xf8)](_0x1a205f),_0x5060c0=[],_0x2ab836=await RequestUtil[_0x2f2db3(0x10d)](_0x2ab4d2[_0x2f2db3(0x13a)](_0x2ab4d2[_0x2f2db3(0xd8)](_0x2ab4d2['EMkCJ'](_0x2ab4d2['UVcnc'],_0x4ac611),_0x2ab4d2[_0x2f2db3(0xdc)]),_0x1591f6),_0x2ab4d2[_0x2f2db3(0x10c)],'',{'Cookie':_0x21c940});if(!_0x2ab836?.[_0x2f2db3(0x14c)]||_0x2ab4d2[_0x2f2db3(0xfd)](_0x2ab836?.['errcode'],0x0)||!_0x2ab836?.[_0x2f2db3(0x101)])return[];else for(const _0x4e2fe5 in _0x2ab836['mems']){_0x36ffbe['push'](_0x2ab836[_0x2f2db3(0x101)][_0x4e2fe5]);}const _0x33cd4f=Math[_0x2f2db3(0xe8)](_0x2ab836['count']/0x28);for(let _0x506c32=0x2;_0x506c32<=_0x33cd4f;_0x506c32++){const _0x34a39b=RequestUtil[_0x2f2db3(0x10d)](_0x2ab4d2['YLtLj'](_0x2ab4d2[_0x2f2db3(0x136)](_0x2ab4d2['Iiwzc'](_0x2ab4d2[_0x2f2db3(0x11c)](_0x2ab4d2['IpQbe'],_0x2ab4d2[_0x2f2db3(0xd3)](_0x2ab4d2[_0x2f2db3(0x100)](_0x506c32,0x1),0x28))+_0x2ab4d2[_0x2f2db3(0x14d)],_0x2ab4d2[_0x2f2db3(0x11a)](_0x506c32,0x28))+_0x2ab4d2[_0x2f2db3(0xef)],_0x4ac611),_0x2ab4d2['lqtzT'])+_0x1591f6,_0x2f2db3(0x103),'',{'Cookie':_0x21c940});_0x5060c0['push'](_0x34a39b);}for(let _0x2703a4=0x1;_0x2ab4d2[_0x2f2db3(0xc1)](_0x2703a4,_0x33cd4f);_0x2703a4++){const _0x122ad1=await _0x5060c0[_0x2703a4];if(!_0x122ad1?.['count']||_0x2ab4d2[_0x2f2db3(0xfd)](_0x122ad1?.[_0x2f2db3(0x141)],0x0)||!_0x122ad1?.[_0x2f2db3(0x101)])continue;for(const _0x351aa8 in _0x122ad1[_0x2f2db3(0x101)]){_0x36ffbe[_0x2f2db3(0x110)](_0x122ad1[_0x2f2db3(0x101)][_0x351aa8]);}}WebGroupData[_0x2f2db3(0x13d)][_0x2f2db3(0x105)](_0x4ac611,_0x36ffbe),WebGroupData[_0x2f2db3(0xf2)][_0x2f2db3(0x105)](_0x4ac611,Date[_0x2f2db3(0xb8)]());}else _0x36ffbe=_0x2bfbb7;}catch{return _0x36ffbe;}return _0x36ffbe;}static async[_0x9b3a6f(0xe1)](_0x552793,_0x56ca4d=''){const _0x4c5b05=_0x9b3a6f,_0x58f0d5={'iFwSv':_0x4c5b05(0xbb),'jviFN':function(_0x270c1c,_0x31258c){return _0x270c1c+_0x31258c;},'AyzYB':function(_0xab5ca1,_0x2691be){return _0xab5ca1+_0x2691be;},'UAusS':function(_0xfc246,_0x685275){return _0xfc246+_0x685275;},'CoyVT':_0x4c5b05(0xc5),'dJLsV':';\x20skey=','DOXrI':function(_0x178451,_0x4109c8){return _0x178451+_0x4109c8;},'AThzR':function(_0x433b2e,_0x25a6aa){return _0x433b2e+_0x25a6aa;},'zoxrM':function(_0x4e3f6c,_0x4141d0){return _0x4e3f6c+_0x4141d0;},'hYmMg':function(_0x46ef8a,_0x4d660b){return _0x46ef8a+_0x4d660b;},'Ckthi':'qid=','MrtRz':'&bkn=','JtzXJ':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','opiCF':_0x4c5b05(0x14f)},_0x5061b6=(await NTQQUserApi['getPSkey']([_0x4c5b05(0xbb)]))[_0x58f0d5['iFwSv']],_0x5e7c63=await NTQQUserApi[_0x4c5b05(0x109)](),_0x577506=_0x58f0d5[_0x4c5b05(0x111)](_0x58f0d5[_0x4c5b05(0x127)](_0x58f0d5[_0x4c5b05(0x148)](_0x58f0d5[_0x4c5b05(0x148)](_0x58f0d5[_0x4c5b05(0x114)],_0x5061b6),_0x58f0d5[_0x4c5b05(0x146)])+_0x5e7c63,_0x4c5b05(0x123)),selfInfo[_0x4c5b05(0xe2)]);let _0x2f6023=undefined;if(!_0x5e7c63||!_0x5061b6)return undefined;const _0x3f6600=WebApi[_0x4c5b05(0xf8)](_0x5e7c63),_0x8bb93b=_0x58f0d5['AyzYB'](_0x58f0d5[_0x4c5b05(0x11b)](_0x58f0d5[_0x4c5b05(0x128)](_0x58f0d5[_0x4c5b05(0xc3)](_0x58f0d5[_0x4c5b05(0x127)](_0x58f0d5[_0x4c5b05(0xda)](_0x58f0d5[_0x4c5b05(0xf1)],_0x552793),_0x58f0d5[_0x4c5b05(0x130)]),_0x3f6600),_0x4c5b05(0x10e)),_0x56ca4d),_0x4c5b05(0x10b)),_0x10793d=_0x58f0d5[_0x4c5b05(0x128)](_0x58f0d5[_0x4c5b05(0x145)],_0x3f6600);try{return _0x2f6023=await RequestUtil['HttpGetJson'](_0x10793d,_0x58f0d5['opiCF'],'',{'Cookie':_0x577506}),_0x2f6023;}catch(_0x269357){return undefined;}return undefined;}static async['getGrouptNotice'](_0x4e7571){const _0x3068b3=_0x9b3a6f,_0x4d6b75={'CqaHq':_0x3068b3(0xbb),'sEJgq':function(_0x5eb252,_0x165ed6){return _0x5eb252+_0x165ed6;},'OjeHJ':_0x3068b3(0xc5),'iZbFX':_0x3068b3(0xcd),'VGbuZ':function(_0x1330d7,_0x10cef1){return _0x1330d7||_0x10cef1;},'MVqbk':function(_0x5713b0,_0x7bb767){return _0x5713b0+_0x7bb767;},'bUQui':function(_0x555338,_0x3664a5){return _0x555338+_0x3664a5;},'tBryf':function(_0xc8c6c6,_0x5ab98f){return _0xc8c6c6+_0x5ab98f;},'ZIZDe':'&qid=','OhQSB':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','jgoUI':_0x3068b3(0x14f)},_0x47a296=(await NTQQUserApi[_0x3068b3(0x118)]([_0x4d6b75[_0x3068b3(0x113)]]))[_0x4d6b75[_0x3068b3(0x113)]],_0x5c2d41=await NTQQUserApi[_0x3068b3(0x109)](),_0x5e96e5=_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75['sEJgq'](_0x4d6b75[_0x3068b3(0xe5)],_0x47a296),_0x4d6b75['iZbFX'])+_0x5c2d41+_0x3068b3(0x123),selfInfo[_0x3068b3(0xe2)]);let _0x40de58=undefined;if(_0x4d6b75[_0x3068b3(0xe9)](!_0x5c2d41,!_0x47a296))return undefined;const _0x9a4c05=WebApi[_0x3068b3(0xf8)](_0x5c2d41),_0x240ca6=_0x4d6b75[_0x3068b3(0x12d)](_0x4d6b75[_0x3068b3(0xbd)](_0x4d6b75[_0x3068b3(0xd7)](_0x4d6b75[_0x3068b3(0x122)](_0x3068b3(0x11f),_0x9a4c05),_0x4d6b75[_0x3068b3(0x135)]),_0x4e7571),_0x4d6b75['OhQSB']);try{_0x40de58=await RequestUtil[_0x3068b3(0x10d)](_0x240ca6,_0x4d6b75[_0x3068b3(0xed)],'',{'Cookie':_0x5e96e5});if(_0x40de58?.['ec']!==0x0)return undefined;return _0x40de58;}catch(_0x1ee6c8){return undefined;}return undefined;}static[_0x9b3a6f(0xf8)](_0x595309){const _0xa5cc0c=_0x9b3a6f,_0x50e981={'BeSYM':function(_0x3bd955,_0x28844c){return _0x3bd955||_0x28844c;},'RNVUl':function(_0x29cb2c,_0x563c80){return _0x29cb2c+_0x563c80;},'IMprA':function(_0x3e0c6b,_0x825b93){return _0x3e0c6b<<_0x825b93;}};_0x595309=_0x50e981[_0xa5cc0c(0x120)](_0x595309,'');let _0x54a79b=0x1505;for(let _0x472e8a=0x0;_0x472e8a<_0x595309['length'];_0x472e8a++){const _0x45b87e=_0x595309[_0xa5cc0c(0x119)](_0x472e8a);_0x54a79b=_0x50e981[_0xa5cc0c(0xe0)](_0x50e981[_0xa5cc0c(0xe0)](_0x54a79b,_0x50e981['IMprA'](_0x54a79b,0x5)),_0x45b87e);}return(_0x54a79b&0x7fffffff)[_0xa5cc0c(0x107)]();}static async[_0x9b3a6f(0x14b)](_0x4c3969,_0x4b26b9){const _0x53a9df=_0x9b3a6f,_0x4125db={'rOOSE':function(_0xd51de6,_0x4ca3d5){return _0xd51de6+_0x4ca3d5;},'zugrI':function(_0x329b54,_0x9827f3){return _0x329b54+_0x9827f3;},'rOyWP':'https://qun.qq.com/interactive/honorlist?gc=','mJRQS':'&type=','UdDoj':function(_0x34fd20,_0x4f11bb){return _0x34fd20===_0x4f11bb;},'auyCz':function(_0x5dfeea,_0xcc49bb,_0x502f79,_0x206606){return _0x5dfeea(_0xcc49bb,_0x502f79,_0x206606);},'UkSKC':_0x53a9df(0xff),'cJCzy':_0x53a9df(0xbb),'WiJKE':function(_0x185938,_0x4cda82){return _0x185938||_0x4cda82;},'RvjrK':function(_0x59bc2e,_0xef5917){return _0x59bc2e+_0xef5917;},'UHJil':function(_0x4cc385,_0x3f5fca){return _0x4cc385+_0x3f5fca;},'cQgVZ':function(_0xb849e8,_0x207497){return _0xb849e8+_0x207497;},'JrBwC':function(_0x283831,_0x50640c){return _0x283831+_0x50640c;},'BDpPp':_0x53a9df(0xc5),'jLJvl':_0x53a9df(0x13e),'sZhes':function(_0x54da8f,_0x4c3a50,_0x22d2f0){return _0x54da8f(_0x4c3a50,_0x22d2f0);},'gUdDz':function(_0x1e393c,_0xce82e){return _0x1e393c(_0xce82e);},'lcKZd':function(_0xa2f909,_0x5b6f73){return _0xa2f909===_0x5b6f73;},'NtVEu':function(_0x5d50bf,_0xc2b022,_0x4899a7){return _0x5d50bf(_0xc2b022,_0x4899a7);},'lkBfU':_0x53a9df(0xd6),'AriUM':function(_0x59d25e,_0x9a1133){return _0x59d25e(_0x9a1133);},'JiILB':_0x53a9df(0xc9),'oBxnq':function(_0x152d80,_0x363724){return _0x152d80===_0x363724;},'GfxMf':'获取快乐源泉失败'},_0x48cc30=(await NTQQUserApi[_0x53a9df(0x118)](['qun.qq.com']))[_0x4125db['cJCzy']],_0x58899c=await NTQQUserApi[_0x53a9df(0x109)]();if(_0x4125db[_0x53a9df(0xe7)](!_0x58899c,!_0x48cc30))return undefined;async function _0xf8da6a(_0x28f450,_0x2497db){const _0x34f959=_0x53a9df;let _0x53a644=_0x4125db[_0x34f959(0x132)](_0x4125db['zugrI'](_0x4125db[_0x34f959(0xc7)],_0x28f450),_0x4125db[_0x34f959(0x102)])+_0x2497db[_0x34f959(0x107)](),_0x5b21d3='',_0x31561c;try{_0x5b21d3=await RequestUtil[_0x34f959(0xd0)](_0x53a644,_0x34f959(0x14f),'',{'Cookie':_0x38c041});const _0x539192=_0x5b21d3[_0x34f959(0x11d)](/window\.__INITIAL_STATE__=(.*?);/);return _0x539192&&(_0x31561c=JSON[_0x34f959(0x13b)](_0x539192[0x1][_0x34f959(0xbe)]())),_0x4125db['UdDoj'](_0x2497db,0x1)?_0x31561c?.['talkativeList']:_0x31561c?.[_0x34f959(0x126)];}catch(_0x4d5677){_0x4125db[_0x34f959(0xbc)](logDebug,_0x4125db[_0x34f959(0xde)],_0x53a644,_0x4d5677);}return undefined;}let _0x172e56={'group_id':_0x4c3969};const _0x38c041=_0x4125db[_0x53a9df(0xf7)](_0x4125db['UHJil'](_0x4125db[_0x53a9df(0xf7)](_0x4125db[_0x53a9df(0xf7)](_0x4125db[_0x53a9df(0xe6)](_0x4125db[_0x53a9df(0x132)](_0x4125db[_0x53a9df(0xfe)](_0x4125db[_0x53a9df(0x117)],_0x48cc30),_0x53a9df(0xcd)),_0x58899c),';\x20p_uin=o'),selfInfo[_0x53a9df(0xe2)]),_0x4125db[_0x53a9df(0x108)]),selfInfo[_0x53a9df(0xe2)]);if(_0x4125db['UdDoj'](_0x4b26b9,WebHonorType[_0x53a9df(0x140)])||_0x4125db[_0x53a9df(0x14a)](_0x4b26b9,WebHonorType[_0x53a9df(0xbf)]))try{let _0x30740c=await _0x4125db[_0x53a9df(0x149)](_0xf8da6a,_0x4c3969,0x1);if(!_0x30740c)throw new Error(_0x53a9df(0x137));_0x172e56[_0x53a9df(0xea)]={'user_id':_0x30740c[0x0]?.[_0x53a9df(0xe2)],'avatar':_0x30740c[0x0]?.[_0x53a9df(0xe4)],'nickname':_0x30740c[0x0]?.[_0x53a9df(0xb9)],'day_count':0x0,'description':_0x30740c[0x0]?.[_0x53a9df(0xcf)]},_0x172e56[_0x53a9df(0x133)]=[];for(const _0x148ab1 of _0x30740c){_0x172e56[_0x53a9df(0x133)]['push']({'user_id':_0x148ab1?.[_0x53a9df(0xe2)],'avatar':_0x148ab1?.[_0x53a9df(0xe4)],'description':_0x148ab1?.['desc'],'day_count':0x0,'nickname':_0x148ab1?.[_0x53a9df(0xb9)]});}}catch(_0x204d63){_0x4125db[_0x53a9df(0xdb)](logDebug,_0x204d63);}if(_0x4125db[_0x53a9df(0xc4)](_0x4b26b9,WebHonorType[_0x53a9df(0xee)])||_0x4b26b9===WebHonorType[_0x53a9df(0xbf)])try{let _0x4fdc96=await _0x4125db[_0x53a9df(0x124)](_0xf8da6a,_0x4c3969,0x2);if(!_0x4fdc96)throw new Error(_0x4125db[_0x53a9df(0xc6)]);_0x172e56[_0x53a9df(0x104)]=[];for(const _0x17c7fc of _0x4fdc96){_0x172e56['performer_list'][_0x53a9df(0x110)]({'user_id':_0x17c7fc?.[_0x53a9df(0xe2)],'nickname':_0x17c7fc?.[_0x53a9df(0xb9)],'avatar':_0x17c7fc?.['avatar'],'description':_0x17c7fc?.[_0x53a9df(0xcf)]});}}catch(_0x44b5cb){_0x4125db[_0x53a9df(0xce)](logDebug,_0x44b5cb);}if(_0x4125db['lcKZd'](_0x4b26b9,WebHonorType[_0x53a9df(0xee)])||_0x4125db['lcKZd'](_0x4b26b9,WebHonorType[_0x53a9df(0xbf)]))try{let _0x217fc1=await _0x4125db[_0x53a9df(0x149)](_0xf8da6a,_0x4c3969,0x3);if(!_0x217fc1)throw new Error(_0x53a9df(0xc9));_0x172e56['legend_list']=[];for(const _0x1e79a7 of _0x217fc1){_0x172e56['legend_list'][_0x53a9df(0x110)]({'user_id':_0x1e79a7?.[_0x53a9df(0xe2)],'nickname':_0x1e79a7?.[_0x53a9df(0xb9)],'avatar':_0x1e79a7?.[_0x53a9df(0xe4)],'desc':_0x1e79a7?.['description']});}}catch(_0x356a1d){logDebug(_0x4125db[_0x53a9df(0xc2)],_0x356a1d);}if(_0x4125db[_0x53a9df(0xc4)](_0x4b26b9,WebHonorType['EMOTION'])||_0x4125db[_0x53a9df(0xd4)](_0x4b26b9,WebHonorType['ALL']))try{let _0x5bee62=await _0xf8da6a(_0x4c3969,0x6);if(!_0x5bee62)throw new Error(_0x4125db['GfxMf']);_0x172e56[_0x53a9df(0x116)]=[];for(const _0x1815cc of _0x5bee62){_0x172e56[_0x53a9df(0x116)][_0x53a9df(0x110)]({'user_id':_0x1815cc?.[_0x53a9df(0xe2)],'nickname':_0x1815cc?.[_0x53a9df(0xb9)],'avatar':_0x1815cc?.[_0x53a9df(0xe4)],'desc':_0x1815cc?.['description']});}}catch(_0x24ab4a){_0x4125db[_0x53a9df(0x124)](logDebug,_0x53a9df(0x112),_0x24ab4a);}return(_0x4b26b9===WebHonorType[_0x53a9df(0x147)]||_0x4125db[_0x53a9df(0xd4)](_0x4b26b9,WebHonorType['ALL']))&&(_0x172e56[_0x53a9df(0xf4)]=[]),_0x172e56;}} \ No newline at end of file +const _0x35cc8b=_0x1776;(function(_0x2e1f22,_0x4e66a3){const _0x599903=_0x1776,_0xdce3c3=_0x2e1f22();while(!![]){try{const _0x398223=parseInt(_0x599903(0x114))/0x1*(-parseInt(_0x599903(0x108))/0x2)+-parseInt(_0x599903(0x10d))/0x3*(-parseInt(_0x599903(0x132))/0x4)+parseInt(_0x599903(0x181))/0x5+parseInt(_0x599903(0x116))/0x6*(parseInt(_0x599903(0xff))/0x7)+-parseInt(_0x599903(0x182))/0x8*(-parseInt(_0x599903(0x15f))/0x9)+-parseInt(_0x599903(0x118))/0xa+-parseInt(_0x599903(0x150))/0xb*(-parseInt(_0x599903(0x11e))/0xc);if(_0x398223===_0x4e66a3)break;else _0xdce3c3['push'](_0xdce3c3['shift']());}catch(_0x5d6650){_0xdce3c3['push'](_0xdce3c3['shift']());}}}(_0x4bd8,0xc7b64));import{WebGroupData,selfInfo}from'@/core/data';function _0x4bd8(){const _0x457ea5=['getGrouptNotice','iOWen','setGroupNotice','hKUja','bNieF','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','LEGEND','getPSkey','jEjhH','4|5|0|1|3|2','all','726664gPuNaQ','GucUj','avatar',';\x20p_uin=o','retcode','ymmmF','Yonrq','ctUhe','lonVH','KlyBb','qnWNE','QsGtp','CTyvC','cziWb','WmUfI','OghaH','HttpGetText','NineV','iHwtj','ssLgD','rjXzZ','LlHoD','JYDQs','qid=','&sort=1&gc=','eUHWz','GroupTime','YoVLl','TALKACTIVE','charCodeAt','515647yvZvSd','qun.qq.com','EMOTION','USSUY','NPqzL','XvPmn','vuXNK','errcode','IBAkK','Kwfnp','talkative_list','dVHKI','&page_start=','GET','uin','1898496OsUvwf','mjvBm','XUOwE','talkative','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','mems','getSkey','split','hnsTO','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','kKuPY','dyNiy','XhQEw','GroupData','scPtq','ILOVg','WUNgW','talkativeList','performer','performer_list','sStZf','p_skey=','emotion_list','获取龙王信息失败','ceil','获取快乐源泉失败','sdOJe','sISjk','UyBOK','lFdDW','match','trim','nOHtF','iAZtS','5872875LbCkLb','16bvbvhh','strong_newbie','WsCgY','FRxyt','HttpGetJson','KBnSp','KrlLy','获取当前群荣耀失败','set','QZTid','desc','orvzf','push','legend','tJybk','VeMHk','getGroupHonorInfo','SuVGQ','&qid=','actorList','XznBv','lnkIw','rYxAf','now','PERFROMER','OwGSg','pmasb','get','获取群聊炽焰失败',';\x20uin=o','strong_newbie_list','count','MwJbu',';\x20skey=','qWtAr','genBkn','toString','bBGJO','JAZSQ','name','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','9597kwOBzx','current_talkative','PCHmM','UPnoh','seofg','uZjnC','kRsuu','SLjKn','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','2165368eXryKR','FMdbv','emotion','&type=','toTzx','9lQFwSY','&page_limit=20','xZJLl','mImQe','QRhnT','JPqhF','wmbYV','1BjoEoQ','xcCgF','1230ZgEZqN','GmXLN','9437050BRomzb','IfTTW','DvCRf','description','CtCog','ALL','108skIszL','&end=','hInKt','VREWA','upOVH','&bkn=','&group_code=','ZSDPA','HrRRD'];_0x4bd8=function(){return _0x457ea5;};return _0x4bd8();}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x1776(_0x484b3e,_0x38b574){const _0x4bd8fe=_0x4bd8();return _0x1776=function(_0x177657,_0x26e56a){_0x177657=_0x177657-0xfb;let _0x369317=_0x4bd8fe[_0x177657];return _0x369317;},_0x1776(_0x484b3e,_0x38b574);}import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x422a00){const _0x394394=_0x1776,_0x1ceef2={'eNibe':_0x394394(0x18f),'wnGoT':_0x394394(0x152),'dVHKI':_0x394394(0x10a),'ZSDPA':'STORONGE_NEWBI','uZjnC':_0x394394(0x183),'NPqzL':_0x394394(0x11d),'IBAkK':_0x394394(0x131),'sISjk':_0x394394(0x14e),'lnkIw':_0x394394(0x162)},_0x241551=_0x394394(0x130)[_0x394394(0x166)]('|');let _0x48f53b=0x0;while(!![]){switch(_0x241551[_0x48f53b++]){case'0':_0x422a00['PERFROMER']=_0x394394(0x171);continue;case'1':_0x422a00[_0x394394(0x12d)]=_0x1ceef2['eNibe'];continue;case'2':_0x422a00[_0x1ceef2['wnGoT']]=_0x1ceef2[_0x394394(0x15b)];continue;case'3':_0x422a00[_0x1ceef2[_0x394394(0x125)]]=_0x1ceef2[_0x394394(0x104)];continue;case'4':_0x422a00[_0x1ceef2[_0x394394(0x154)]]=_0x1ceef2[_0x394394(0x158)];continue;case'5':_0x422a00[_0x1ceef2[_0x394394(0x17a)]]=_0x1ceef2[_0x394394(0x197)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x164a3e,_0xd630c8){const _0x3e09fa=_0x1776,_0x521017={'lFdDW':_0x3e09fa(0x151),'XznBv':function(_0x4ba924,_0x2abee2){return _0x4ba924+_0x2abee2;},'lQIfv':function(_0x3a0595,_0xd49c0c){return _0x3a0595+_0xd49c0c;},'YqiSF':function(_0x2afc05,_0x3d6d80){return _0x2afc05+_0x3d6d80;},'ILOVg':_0x3e09fa(0x174),'INWtk':';\x20p_uin=o','PCHmM':_0x3e09fa(0x19f),'ymmmF':function(_0x24e36c,_0x23041a){return _0x24e36c||_0x23041a;},'SuVGQ':function(_0x54aa0f,_0x5759b4){return _0x54aa0f+_0x5759b4;},'CTyvC':function(_0x41cedf,_0x1eb9d7){return _0x41cedf+_0x1eb9d7;},'FMdbv':function(_0x20f8dc,_0x5e134a){return _0x20f8dc+_0x5e134a;},'YoVLl':function(_0x1c3905,_0x5bf300){return _0x1c3905+_0x5bf300;},'bBGJO':_0x3e09fa(0x163),'VREWA':_0x3e09fa(0x124),'eUHWz':_0x3e09fa(0x15c),'XaMZG':_0x3e09fa(0x10e),'orvzf':_0x3e09fa(0x15d),'scPtq':function(_0x5d1002,_0x4e2282){return _0x5d1002!==_0x4e2282;}},_0x149e32=(await NTQQUserApi[_0x3e09fa(0x12e)](['qun.qq.com']))[_0x521017[_0x3e09fa(0x17c)]],_0x2289f7=await NTQQUserApi['getSkey'](),_0x2568c8=_0x521017['XznBv'](_0x521017[_0x3e09fa(0x196)](_0x521017[_0x3e09fa(0x196)](_0x521017['lQIfv'](_0x521017['YqiSF'](_0x521017['lQIfv'](_0x521017[_0x3e09fa(0x16e)],_0x149e32),_0x3e09fa(0x1a3)),_0x2289f7),_0x521017['INWtk'])+selfInfo[_0x3e09fa(0x15e)],_0x521017[_0x3e09fa(0x101)]),selfInfo[_0x3e09fa(0x15e)]);if(_0x521017[_0x3e09fa(0x137)](!_0x2289f7,!_0x149e32))return undefined;const _0x45463e=WebApi[_0x3e09fa(0x1a5)](_0x2289f7),_0x41ea33=_0x521017[_0x3e09fa(0x193)](_0x521017[_0x3e09fa(0x13e)](_0x521017[_0x3e09fa(0x109)](_0x521017[_0x3e09fa(0x14d)](_0x521017[_0x3e09fa(0xfb)],_0x45463e),_0x521017[_0x3e09fa(0x121)]),_0x164a3e)+_0x521017[_0x3e09fa(0x14b)]+_0xd630c8,_0x521017['XaMZG']);let _0x1292c7;try{_0x1292c7=await RequestUtil['HttpGetJson'](_0x41ea33,_0x521017[_0x3e09fa(0x18d)],'',{'Cookie':_0x2568c8});}catch{return undefined;}if(_0x521017[_0x3e09fa(0x16d)](_0x1292c7[_0x3e09fa(0x136)],0x0))return undefined;return _0x1292c7;}static async['getGroupMembers'](_0x188d47,_0x46b4fd=!![]){const _0x1a8f41=_0x1776,_0x41391d={'fsXYR':function(_0x1d4982,_0x1fef08){return _0x1d4982>_0x1fef08;},'IfTTW':function(_0x57e363,_0x4e64ea){return _0x57e363-_0x4e64ea;},'lonVH':function(_0x495587,_0x13e310){return _0x495587*_0x13e310;},'JYDQs':_0x1a8f41(0x151),'XUOwE':function(_0xd832d8,_0x4e3512){return _0xd832d8+_0x4e3512;},'toTzx':_0x1a8f41(0x1a3),'USSUY':';\x20p_uin=o','nOHtF':function(_0x133e4a,_0x5cace0){return _0x133e4a||_0x5cace0;},'bNieF':'&bkn=','gTUsE':function(_0x57002c,_0x1813c1){return _0x57002c/_0x1813c1;},'hKUja':function(_0x5461db,_0x1cf17b){return _0x5461db<=_0x1cf17b;},'NineV':function(_0xfc0702,_0x16442f){return _0xfc0702+_0x16442f;},'hnsTO':function(_0x2a27d7,_0x44fe2f){return _0x2a27d7+_0x44fe2f;},'UPnoh':function(_0x506ece,_0x5ee180){return _0x506ece+_0x5ee180;},'NUxFl':function(_0x1c31a3,_0x58eed5){return _0x1c31a3+_0x58eed5;},'OghaH':_0x1a8f41(0x12c),'VeMHk':function(_0x4e2b03,_0x2b4199){return _0x4e2b03-_0x2b4199;},'mImQe':function(_0x43d6e8,_0x5e3e35){return _0x43d6e8*_0x5e3e35;},'KlyBb':_0x1a8f41(0x14a),'iPqaN':'POST','LlHoD':function(_0x15df6b,_0x58cd26){return _0x15df6b<=_0x58cd26;},'pZAzE':function(_0xb2baee,_0x27b6cb){return _0xb2baee!==_0x27b6cb;}};let _0x302613=new Array();try{let _0x271cf9=WebGroupData[_0x1a8f41(0x16c)][_0x1a8f41(0x19d)](_0x188d47),_0x1f3b55=WebGroupData[_0x1a8f41(0x14c)][_0x1a8f41(0x19d)](_0x188d47);if(!_0x1f3b55||_0x41391d['fsXYR'](_0x41391d[_0x1a8f41(0x119)](Date['now'](),_0x1f3b55),_0x41391d[_0x1a8f41(0x13a)](0x708,0x3e8))||!_0x46b4fd){const _0x55fc2d=(await NTQQUserApi[_0x1a8f41(0x12e)]([_0x41391d['JYDQs']]))[_0x41391d[_0x1a8f41(0x148)]],_0x5373e3=await NTQQUserApi[_0x1a8f41(0x165)](),_0x232854=_0x41391d[_0x1a8f41(0x161)](_0x41391d[_0x1a8f41(0x161)](_0x41391d[_0x1a8f41(0x161)](_0x1a8f41(0x174)+_0x55fc2d,_0x41391d[_0x1a8f41(0x10c)])+_0x5373e3,_0x41391d[_0x1a8f41(0x153)]),selfInfo[_0x1a8f41(0x15e)]);if(_0x41391d[_0x1a8f41(0x17f)](!_0x5373e3,!_0x55fc2d))return _0x302613;const _0x2b7565=WebApi[_0x1a8f41(0x1a5)](_0x5373e3),_0x38bc22=[],_0x18a26b=await RequestUtil[_0x1a8f41(0x186)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc='+_0x188d47+_0x41391d[_0x1a8f41(0x12b)]+_0x2b7565,'POST','',{'Cookie':_0x232854});if(!_0x18a26b?.['count']||_0x18a26b?.[_0x1a8f41(0x157)]!==0x0||!_0x18a26b?.[_0x1a8f41(0x164)])return[];else for(const _0x16ffd3 in _0x18a26b['mems']){_0x302613[_0x1a8f41(0x18e)](_0x18a26b['mems'][_0x16ffd3]);}const _0x440e81=Math[_0x1a8f41(0x177)](_0x41391d['gTUsE'](_0x18a26b[_0x1a8f41(0x1a1)],0x28));for(let _0xf74499=0x2;_0x41391d[_0x1a8f41(0x12a)](_0xf74499,_0x440e81);_0xf74499++){const _0x710746=RequestUtil['HttpGetJson'](_0x41391d[_0x1a8f41(0x143)](_0x41391d['NineV'](_0x41391d[_0x1a8f41(0x167)](_0x41391d[_0x1a8f41(0x102)](_0x41391d['NUxFl'](_0x41391d[_0x1a8f41(0x141)],_0x41391d[_0x1a8f41(0x13a)](_0x41391d[_0x1a8f41(0x191)](_0xf74499,0x1),0x28))+_0x1a8f41(0x11f),_0x41391d[_0x1a8f41(0x110)](_0xf74499,0x28)),_0x41391d[_0x1a8f41(0x13b)])+_0x188d47,'&bkn='),_0x2b7565),_0x41391d['iPqaN'],'',{'Cookie':_0x232854});_0x38bc22[_0x1a8f41(0x18e)](_0x710746);}for(let _0x3ed045=0x1;_0x41391d[_0x1a8f41(0x147)](_0x3ed045,_0x440e81);_0x3ed045++){const _0x4d0989=await _0x38bc22[_0x3ed045];if(!_0x4d0989?.[_0x1a8f41(0x1a1)]||_0x41391d['pZAzE'](_0x4d0989?.[_0x1a8f41(0x157)],0x0)||!_0x4d0989?.[_0x1a8f41(0x164)])continue;for(const _0x116824 in _0x4d0989[_0x1a8f41(0x164)]){_0x302613[_0x1a8f41(0x18e)](_0x4d0989['mems'][_0x116824]);}}WebGroupData[_0x1a8f41(0x16c)]['set'](_0x188d47,_0x302613),WebGroupData['GroupTime'][_0x1a8f41(0x18a)](_0x188d47,Date[_0x1a8f41(0x199)]());}else _0x302613=_0x271cf9;}catch{return _0x302613;}return _0x302613;}static async[_0x35cc8b(0x129)](_0x46202c,_0x216a92=''){const _0x338aaa=_0x35cc8b,_0x4bcf6a={'pmasb':'qun.qq.com','WsCgY':function(_0xfd489f,_0x5bad0b){return _0xfd489f+_0x5bad0b;},'hInKt':function(_0x20be4c,_0x3d4321){return _0x20be4c+_0x3d4321;},'XvPmn':'p_skey=','EkJSx':_0x338aaa(0x1a3),'sStZf':';\x20p_uin=o','FRxyt':function(_0x595d9e,_0x54f1eb){return _0x595d9e||_0x54f1eb;},'DvCRf':function(_0x1c1cd3,_0x1ca141){return _0x1c1cd3+_0x1ca141;},'KrlLy':function(_0x173228,_0x552135){return _0x173228+_0x552135;},'ETOKy':function(_0xa4306d,_0x13943a){return _0xa4306d+_0x13943a;},'ycQDv':_0x338aaa(0x149),'upOVH':_0x338aaa(0x123),'eHSSG':'&text=','tJybk':_0x338aaa(0xfe),'GucUj':_0x338aaa(0x107),'mjvBm':_0x338aaa(0x15d)},_0x18db76=(await NTQQUserApi[_0x338aaa(0x12e)]([_0x338aaa(0x151)]))[_0x4bcf6a[_0x338aaa(0x19c)]],_0x394a29=await NTQQUserApi[_0x338aaa(0x165)](),_0x406309=_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x120)](_0x4bcf6a['WsCgY'](_0x4bcf6a[_0x338aaa(0x120)](_0x4bcf6a[_0x338aaa(0x155)],_0x18db76),_0x4bcf6a['EkJSx']),_0x394a29),_0x4bcf6a[_0x338aaa(0x173)])+selfInfo[_0x338aaa(0x15e)];let _0x3b67a2=undefined;if(_0x4bcf6a[_0x338aaa(0x185)](!_0x394a29,!_0x18db76))return undefined;const _0x207751=WebApi[_0x338aaa(0x1a5)](_0x394a29),_0x5b5e35=_0x4bcf6a[_0x338aaa(0x11a)](_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x188)](_0x4bcf6a['ETOKy'](_0x4bcf6a[_0x338aaa(0x188)](_0x4bcf6a['ycQDv'],_0x46202c),_0x4bcf6a[_0x338aaa(0x122)]),_0x207751),_0x4bcf6a['eHSSG'])+_0x216a92,_0x4bcf6a[_0x338aaa(0x190)]),_0x578553=_0x4bcf6a[_0x338aaa(0x184)](_0x4bcf6a[_0x338aaa(0x133)],_0x207751);try{return _0x3b67a2=await RequestUtil[_0x338aaa(0x186)](_0x578553,_0x4bcf6a[_0x338aaa(0x160)],'',{'Cookie':_0x406309}),_0x3b67a2;}catch(_0x283631){return undefined;}return undefined;}static async[_0x35cc8b(0x127)](_0x5c61a7){const _0x2a6d1e=_0x35cc8b,_0x3f2e47={'vuXNK':_0x2a6d1e(0x151),'QsGtp':function(_0x59a8ed,_0x3ec8a5){return _0x59a8ed+_0x3ec8a5;},'QRhnT':function(_0x26b71b,_0x2832c0){return _0x26b71b+_0x2832c0;},'ZyBDx':function(_0x38a1d1,_0x413acc){return _0x38a1d1+_0x413acc;},'WmUfI':_0x2a6d1e(0x174),'rYxAf':_0x2a6d1e(0x1a3),'Yonrq':_0x2a6d1e(0x135),'dyNiy':function(_0x27faeb,_0x5ba305){return _0x27faeb+_0x5ba305;},'QZTid':function(_0x155d3c,_0x253772){return _0x155d3c+_0x253772;},'iAZtS':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','sdOJe':_0x2a6d1e(0x194),'XhQEw':function(_0x29a5ce,_0x36bf53){return _0x29a5ce!==_0x36bf53;}},_0x353802=(await NTQQUserApi['getPSkey']([_0x3f2e47['vuXNK']]))[_0x3f2e47[_0x2a6d1e(0x156)]],_0x2c15b3=await NTQQUserApi[_0x2a6d1e(0x165)](),_0x1f774e=_0x3f2e47[_0x2a6d1e(0x13d)](_0x3f2e47[_0x2a6d1e(0x111)](_0x3f2e47[_0x2a6d1e(0x111)](_0x3f2e47['ZyBDx'](_0x3f2e47[_0x2a6d1e(0x140)],_0x353802),_0x3f2e47[_0x2a6d1e(0x198)])+_0x2c15b3,_0x3f2e47[_0x2a6d1e(0x138)]),selfInfo[_0x2a6d1e(0x15e)]);let _0x47930d=undefined;if(!_0x2c15b3||!_0x353802)return undefined;const _0x5a9041=WebApi['genBkn'](_0x2c15b3),_0x1bcd7d=_0x3f2e47[_0x2a6d1e(0x16a)](_0x3f2e47[_0x2a6d1e(0x18b)](_0x3f2e47[_0x2a6d1e(0x18b)](_0x3f2e47[_0x2a6d1e(0x180)]+_0x5a9041,_0x3f2e47[_0x2a6d1e(0x179)]),_0x5c61a7),_0x2a6d1e(0x168));try{_0x47930d=await RequestUtil[_0x2a6d1e(0x186)](_0x1bcd7d,_0x2a6d1e(0x15d),'',{'Cookie':_0x1f774e});if(_0x3f2e47[_0x2a6d1e(0x16b)](_0x47930d?.['ec'],0x0))return undefined;return _0x47930d;}catch(_0x478836){return undefined;}return undefined;}static[_0x35cc8b(0x1a5)](_0x12c74d){const _0x59d70c=_0x35cc8b,_0x3814ed={'JPqhF':function(_0xb2b469,_0x36cc4f){return _0xb2b469||_0x36cc4f;},'PqHol':function(_0x45abe9,_0x13b109){return _0x45abe9<_0x13b109;},'Kwfnp':function(_0x3e3393,_0x2ce920){return _0x3e3393+_0x2ce920;},'KBnSp':function(_0x3031c0,_0x18ad1a){return _0x3031c0+_0x18ad1a;},'iOWen':function(_0x223b97,_0x1bdb28){return _0x223b97<<_0x1bdb28;},'JAZSQ':function(_0x554bf0,_0x344cf1){return _0x554bf0&_0x344cf1;}};_0x12c74d=_0x3814ed[_0x59d70c(0x112)](_0x12c74d,'');let _0xac6674=0x1505;for(let _0x38b049=0x0;_0x3814ed['PqHol'](_0x38b049,_0x12c74d['length']);_0x38b049++){const _0x12a3e4=_0x12c74d[_0x59d70c(0x14f)](_0x38b049);_0xac6674=_0x3814ed[_0x59d70c(0x159)](_0x3814ed[_0x59d70c(0x187)](_0xac6674,_0x3814ed[_0x59d70c(0x128)](_0xac6674,0x5)),_0x12a3e4);}return _0x3814ed[_0x59d70c(0xfc)](_0xac6674,0x7fffffff)[_0x59d70c(0x1a6)]();}static async[_0x35cc8b(0x192)](_0x557e44,_0x30c91b){const _0x1da583=_0x35cc8b,_0x43061c={'vXsww':function(_0x326fd9,_0x39f20c){return _0x326fd9+_0x39f20c;},'OwGSg':function(_0x57a22c,_0x3c24a2){return _0x57a22c+_0x3c24a2;},'xcCgF':'https://qun.qq.com/interactive/honorlist?gc=','WUNgW':_0x1da583(0x10b),'cziWb':function(_0x383bc9,_0x453c97,_0x23b6bb,_0x17db7f){return _0x383bc9(_0x453c97,_0x23b6bb,_0x17db7f);},'GmXLN':_0x1da583(0x189),'uXvkP':_0x1da583(0x151),'UyBOK':function(_0x34a868,_0x49019c){return _0x34a868||_0x49019c;},'MwJbu':function(_0x348ad9,_0x62b852){return _0x348ad9+_0x62b852;},'HtPzb':function(_0x3b39cb,_0x2fd041){return _0x3b39cb+_0x2fd041;},'kKuPY':function(_0x3cea30,_0x1f524d){return _0x3cea30+_0x1f524d;},'rjXzZ':function(_0x1c13d5,_0x5a4300){return _0x1c13d5+_0x5a4300;},'qnWNE':function(_0x40e484,_0x2cc722){return _0x40e484+_0x2cc722;},'iHwtj':_0x1da583(0x174),'wmbYV':';\x20skey=','xZJLl':_0x1da583(0x135),'ssLgD':function(_0x23fa03,_0x5082b5){return _0x23fa03===_0x5082b5;},'kRsuu':function(_0x3fb094,_0x1daabe,_0x222d96){return _0x3fb094(_0x1daabe,_0x222d96);},'jEjhH':_0x1da583(0x176),'CtCog':function(_0x72a78e,_0x3c90a7){return _0x72a78e(_0x3c90a7);},'SLjKn':function(_0xce9418,_0x2982b7){return _0xce9418===_0x2982b7;},'qWtAr':_0x1da583(0x19e),'seofg':function(_0x366447,_0x27deb8){return _0x366447===_0x27deb8;},'HrRRD':function(_0x4aa93f,_0x1bbd34,_0x18e3de){return _0x4aa93f(_0x1bbd34,_0x18e3de);},'fXVqf':function(_0x2ed71b,_0x36ba09){return _0x2ed71b===_0x36ba09;},'ctUhe':function(_0x1646f8,_0x1d9d92){return _0x1646f8===_0x1d9d92;}},_0x3dc3d4=(await NTQQUserApi[_0x1da583(0x12e)]([_0x43061c['uXvkP']]))[_0x43061c['uXvkP']],_0x2c1730=await NTQQUserApi[_0x1da583(0x165)]();if(_0x43061c[_0x1da583(0x17b)](!_0x2c1730,!_0x3dc3d4))return undefined;async function _0x4772f4(_0x36a2a9,_0x2d0919){const _0x461c55=_0x1da583;let _0x644efd=_0x43061c['vXsww'](_0x43061c['vXsww'](_0x43061c[_0x461c55(0x19b)](_0x43061c[_0x461c55(0x115)],_0x36a2a9),_0x43061c[_0x461c55(0x16f)]),_0x2d0919['toString']()),_0x4a43f1='',_0x675cb9;try{_0x4a43f1=await RequestUtil[_0x461c55(0x142)](_0x644efd,_0x461c55(0x15d),'',{'Cookie':_0x7fb49c});const _0x514146=_0x4a43f1[_0x461c55(0x17d)](/window\.__INITIAL_STATE__=(.*?);/);return _0x514146&&(_0x675cb9=JSON['parse'](_0x514146[0x1][_0x461c55(0x17e)]())),_0x2d0919===0x1?_0x675cb9?.[_0x461c55(0x170)]:_0x675cb9?.[_0x461c55(0x195)];}catch(_0x210b9){_0x43061c[_0x461c55(0x13f)](logDebug,_0x43061c[_0x461c55(0x117)],_0x644efd,_0x210b9);}return undefined;}let _0x979273={'group_id':_0x557e44};const _0x7fb49c=_0x43061c[_0x1da583(0x1a2)](_0x43061c['HtPzb'](_0x43061c[_0x1da583(0x19b)](_0x43061c[_0x1da583(0x169)](_0x43061c[_0x1da583(0x146)](_0x43061c[_0x1da583(0x13c)](_0x43061c[_0x1da583(0x144)],_0x3dc3d4),_0x43061c[_0x1da583(0x113)]),_0x2c1730)+_0x43061c[_0x1da583(0x10f)],selfInfo[_0x1da583(0x15e)]),_0x1da583(0x19f)),selfInfo['uin']);if(_0x43061c[_0x1da583(0x145)](_0x30c91b,WebHonorType[_0x1da583(0x14e)])||_0x30c91b===WebHonorType[_0x1da583(0x11d)])try{let _0x5883bb=await _0x43061c[_0x1da583(0x105)](_0x4772f4,_0x557e44,0x1);if(!_0x5883bb)throw new Error(_0x43061c[_0x1da583(0x12f)]);_0x979273[_0x1da583(0x100)]={'user_id':_0x5883bb[0x0]?.['uin'],'avatar':_0x5883bb[0x0]?.['avatar'],'nickname':_0x5883bb[0x0]?.['name'],'day_count':0x0,'description':_0x5883bb[0x0]?.[_0x1da583(0x18c)]},_0x979273[_0x1da583(0x15a)]=[];for(const _0x5b0d80 of _0x5883bb){_0x979273[_0x1da583(0x15a)][_0x1da583(0x18e)]({'user_id':_0x5b0d80?.[_0x1da583(0x15e)],'avatar':_0x5b0d80?.['avatar'],'description':_0x5b0d80?.[_0x1da583(0x18c)],'day_count':0x0,'nickname':_0x5b0d80?.['name']});}}catch(_0x3ee139){_0x43061c[_0x1da583(0x11c)](logDebug,_0x3ee139);}if(_0x43061c['ssLgD'](_0x30c91b,WebHonorType['PERFROMER'])||_0x43061c['ssLgD'](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x27bfe3=await _0x43061c['kRsuu'](_0x4772f4,_0x557e44,0x2);if(!_0x27bfe3)throw new Error('获取群聊之火失败');_0x979273[_0x1da583(0x172)]=[];for(const _0x58b9de of _0x27bfe3){_0x979273[_0x1da583(0x172)][_0x1da583(0x18e)]({'user_id':_0x58b9de?.[_0x1da583(0x15e)],'nickname':_0x58b9de?.[_0x1da583(0xfd)],'avatar':_0x58b9de?.[_0x1da583(0x134)],'description':_0x58b9de?.['desc']});}}catch(_0x18df11){_0x43061c[_0x1da583(0x11c)](logDebug,_0x18df11);}if(_0x43061c[_0x1da583(0x106)](_0x30c91b,WebHonorType[_0x1da583(0x19a)])||_0x43061c[_0x1da583(0x106)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x1cdf50=await _0x43061c[_0x1da583(0x105)](_0x4772f4,_0x557e44,0x3);if(!_0x1cdf50)throw new Error(_0x43061c[_0x1da583(0x1a4)]);_0x979273['legend_list']=[];for(const _0x3c2c6c of _0x1cdf50){_0x979273['legend_list'][_0x1da583(0x18e)]({'user_id':_0x3c2c6c?.[_0x1da583(0x15e)],'nickname':_0x3c2c6c?.[_0x1da583(0xfd)],'avatar':_0x3c2c6c?.['avatar'],'desc':_0x3c2c6c?.[_0x1da583(0x11b)]});}}catch(_0x3bcf12){logDebug(_0x43061c[_0x1da583(0x1a4)],_0x3bcf12);}if(_0x43061c[_0x1da583(0x103)](_0x30c91b,WebHonorType[_0x1da583(0x152)])||_0x43061c[_0x1da583(0x103)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))try{let _0x3e0d9a=await _0x43061c[_0x1da583(0x126)](_0x4772f4,_0x557e44,0x6);if(!_0x3e0d9a)throw new Error('获取快乐源泉失败');_0x979273[_0x1da583(0x175)]=[];for(const _0xb7b550 of _0x3e0d9a){_0x979273[_0x1da583(0x175)][_0x1da583(0x18e)]({'user_id':_0xb7b550?.['uin'],'nickname':_0xb7b550?.['name'],'avatar':_0xb7b550?.[_0x1da583(0x134)],'desc':_0xb7b550?.['description']});}}catch(_0x20db49){_0x43061c[_0x1da583(0x105)](logDebug,_0x1da583(0x178),_0x20db49);}return(_0x43061c['fXVqf'](_0x30c91b,WebHonorType[_0x1da583(0x152)])||_0x43061c[_0x1da583(0x139)](_0x30c91b,WebHonorType[_0x1da583(0x11d)]))&&(_0x979273[_0x1da583(0x1a0)]=[]),_0x979273;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 03a1dde3..fe40862c 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x3039e8=_0x13fb;(function(_0x54f25e,_0xf86bbc){const _0x241f6e=_0x13fb,_0x562037=_0x54f25e();while(!![]){try{const _0xc2fa81=parseInt(_0x241f6e(0x234))/0x1+parseInt(_0x241f6e(0x1e9))/0x2+-parseInt(_0x241f6e(0x228))/0x3*(parseInt(_0x241f6e(0x215))/0x4)+-parseInt(_0x241f6e(0x1eb))/0x5*(parseInt(_0x241f6e(0x282))/0x6)+-parseInt(_0x241f6e(0x24a))/0x7*(parseInt(_0x241f6e(0x24e))/0x8)+-parseInt(_0x241f6e(0x1f6))/0x9+parseInt(_0x241f6e(0x20c))/0xa*(parseInt(_0x241f6e(0x274))/0xb);if(_0xc2fa81===_0xf86bbc)break;else _0x562037['push'](_0x562037['shift']());}catch(_0x1fe468){_0x562037['push'](_0x562037['shift']());}}}(_0x3ecc,0x513e5));import _0x51604c from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';function _0x3ecc(){const _0x219902=['loginErrorInfo','replace','assign','onRecvMsg','msgId','catch','MDmEk','onMsgInfoListUpdate','undefined','3130182ejADgk','loginService','快速登录不可用','onQRCodeLoginSucceed','getQuickLoginList','pKleu','uid','ttigE','createMemberListScene','NodeIDispatcherAdapter','vEXTR','xqUTP','MsgListener','fileLog','NodeIKernelSessionListener','onLoginFailed','addKernelMsgListener','addKernelGroupListener','NodeIKernelMsgListener','util','NodeIGlobalAdapter','curVersion','1210gpShGX','bxiJO','zKftI','onUserLoggedIn','ySMkv','NTBpT','delete','onRecvSysMsg','wRRoo','46372xXjhUX','onLoginSuccessFuncList','AfTbO','bjJRT','length','RGEch','memberCount','isQuickLogin','zsvUy','GroupListener','MZkxT','initConfig','init','getLoginList','proxyHandler','LUYZi','getBuddyService','getMsgByLongId','onProfileDetailInfoChanged','117fJgMyY','yuOdf','push','forEach','now','./.config/QQ','name','dataPath','Qlxaz','BpSYO','stringify','get','510523dnaOMu','homedir','onKickedOffLine','cLOTp','updateMsg','initDataListener','initWithDeskTopConfig','140022008','账号设备(','addKernelLoginListener','EyYVV','ZnNHq','cthGk','constructor','mkdirSync','session','NodeIKernelLoginListener','quickLogin','engine','本账号数据/缓存目录:','fileLogLevel','addKernelBuddyListener','469HOFKUO','onMemberListChange','floor','vWsTX','13864CLErOU','initSession','split','JfcYt','createHash','axRIW','onMemberInfoChange','groupCode','NodeIQQNTWrapperEngine','passwordLogin','then','onGroupListUpdate','groupMemberList_MainWindow','NodeIKernelBuddyListener','TwzAB','onSelfStatusChanged','onLoginSuccess','buddyList','NodeIQQNTWrapperSession','addListener','HwUCF','BnUqt','NodeIKernelGroupListener','consoleLogLevel','resolve','hxZyt','getQRCodePicture','devUid','uin','eKnLM','init\x20failed\x20','kqWsa','md5','base64','NRKwq','digest','vCGmv','getMsgService','90860SOyOHy','qrcodeUrl','\x20has\x20no\x20method\x20','onQRCodeSessionFailed','ProfileListener','isDelete','kilya','SpPzR','数据库初始化失败','Windows\x2010\x20Pro','nKorK','当前账号(','NodeIKernelLoginService','V1_WIN_NQ_','6XYVlYi','quickLoginWithUin','ULDOk','startNT','ghnPZ','-v2.db','onBuddyListChange','packet_sent',')已登录,无法重复登录','onQRCodeGetPicture','infos','message_sent','map','MuVmh','NodeIDependsAdapter','iEahq','consoleLog','onSessionInitComplete','last_message_time','sceneId','set','./nt_qq/global','getGroupService','update','result','getProfileService','addMsg','NodeQQNTWrapperUtil','dataPathGlobal','ERbcT',')\x20在线状态变更','tOMoB','启动失败:\x20','MQcPU','pngBase64QrcodeData','loginListener','快速登录失败\x20','EodTL','xYkMZ','recallTime','18102VeSlIF','message_received','1351125nXWMEW','packet_received'];_0x3ecc=function(){return _0x219902;};return _0x3ecc();}import _0x549e7c from'node:path';import _0x362fad from'node:os';import _0x378e68 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 _0x2cb0ce from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x13fb(_0x479645,_0x647084){const _0x3ecc54=_0x3ecc();return _0x13fb=function(_0x13fbc2,_0x48a648){_0x13fbc2=_0x13fbc2-0x1ca;let _0x2e48bf=_0x3ecc54[_0x13fbc2];return _0x2e48bf;},_0x13fb(_0x479645,_0x647084);}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];['util'];[_0x3039e8(0x246)];[_0x3039e8(0x1e4)];[_0x3039e8(0x1f7)];[_0x3039e8(0x216)]=[];[_0x3039e8(0x223)]={'get'(target,prop,receiver){const _0x3aad2b=_0x3039e8,glWqdK={'ghnPZ':function(callee,param1){return callee(param1);},'sZHsG':function(x,y){return x===y;},'HwUCF':_0x3aad2b(0x1f5)};if(glWqdK['sZHsG'](typeof target[prop],glWqdK[_0x3aad2b(0x262)]))return(...args)=>{const _0x4e67f8=_0x3aad2b;glWqdK[_0x4e67f8(0x286)](logDebug,target['constructor'][_0x4e67f8(0x22e)]+_0x4e67f8(0x276)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1db711=_0x3039e8,_0x182069={'xYkMZ':function(_0x2a8ae1,_0x47cbce){return _0x2a8ae1(_0x47cbce);},'CjcWc':function(_0x508e8a,_0x3e0174){return _0x508e8a+_0x3e0174;},'NTBpT':_0x1db711(0x27f),'ctoVl':_0x1db711(0x28a),'hxZyt':function(_0x1f78e7,_0x13d09e,_0x5a7925){return _0x1f78e7(_0x13d09e,_0x5a7925);},'scqjc':function(_0x9716b8,_0x3cd41b){return _0x9716b8 instanceof _0x3cd41b;},'oNzRk':function(_0x17bf4c,_0x4ad454){return _0x17bf4c(_0x4ad454);},'kqWsa':function(_0x2714d9,_0x29c162,_0x12728f){return _0x2714d9(_0x29c162,_0x12728f);},'nKorK':function(_0x20a8b3,_0x9a0a2f,_0x4d8183){return _0x20a8b3(_0x9a0a2f,_0x4d8183);},'tOMoB':'initSession\x20failed','bxiJO':function(_0x3b42e3,_0x5c7b71,_0x1c3a63){return _0x3b42e3(_0x5c7b71,_0x1c3a63);},'LUYZi':'登录失败','ttigE':function(_0x24a534,_0x29d99c){return _0x24a534==_0x29d99c;},'xpQfq':function(_0x3b3c26,_0xcca9af,_0x4452f5){return _0x3b3c26(_0xcca9af,_0x4452f5);}};this[_0x1db711(0x246)]=new _0x51604c[(_0x1db711(0x256))](),this[_0x1db711(0x209)]=new _0x51604c[(_0x1db711(0x1dc))](),this[_0x1db711(0x1f7)]=new _0x51604c[(_0x1db711(0x280))](),this['session']=new _0x51604c[(_0x1db711(0x260))](),this[_0x1db711(0x1e4)]=new LoginListener(),this[_0x1db711(0x1e4)][_0x1db711(0x20f)]=_0x2cc801=>{const _0x1cd97f=_0x1db711;_0x182069[_0x1cd97f(0x1e7)](logError,_0x182069['CjcWc'](_0x182069[_0x1cd97f(0x211)]+_0x2cc801,_0x182069['ctoVl']));},this[_0x1db711(0x1e4)][_0x1db711(0x1f9)]=_0x3481fc=>{const _0x42fde5=_0x1db711;this[_0x42fde5(0x24f)](_0x3481fc[_0x42fde5(0x26a)],_0x3481fc['uid'])[_0x42fde5(0x258)](_0x23a17e=>{const _0x2cb954=_0x42fde5,_0x4d5cf8={'bjJRT':function(_0x39c63a,_0x50b08a,_0x4ff672){const _0x41cf7b=_0x13fb;return _0x182069[_0x41cf7b(0x267)](_0x39c63a,_0x50b08a,_0x4ff672);},'myrKz':function(_0x1fc173,_0x2e42c5){return _0x182069['scqjc'](_0x1fc173,_0x2e42c5);},'ULDOk':_0x2cb954(0x27c)};selfInfo['uin']=_0x3481fc[_0x2cb954(0x26a)],selfInfo[_0x2cb954(0x1fc)]=_0x3481fc['uid'],napCatConfig['read'](),_0x182069[_0x2cb954(0x267)](setLogLevel,napCatConfig[_0x2cb954(0x248)],napCatConfig[_0x2cb954(0x265)]),_0x182069['oNzRk'](enableFileLog,napCatConfig[_0x2cb954(0x203)]),_0x182069['oNzRk'](enableConsoleLog,napCatConfig[_0x2cb954(0x1d1)]),_0x182069[_0x2cb954(0x1e7)](setLogSelfInfo,selfInfo);const _0x128b98=_0x549e7c[_0x2cb954(0x266)](this[_0x2cb954(0x22f)],'./NapCat/data');_0x378e68[_0x2cb954(0x242)](_0x128b98,{'recursive':!![]}),_0x182069[_0x2cb954(0x26d)](logDebug,_0x2cb954(0x247),_0x128b98),dbUtil[_0x2cb954(0x221)](_0x549e7c[_0x2cb954(0x266)](_0x128b98,'./'+_0x3481fc[_0x2cb954(0x26a)]+_0x2cb954(0x287)))[_0x2cb954(0x258)](()=>{const _0x4cbfdf=_0x2cb954,_0x30a53c={'pKleu':function(_0x2ea1a2,_0x5ac4a1,_0x54a7b7){const _0x4151fd=_0x13fb;return _0x4d5cf8[_0x4151fd(0x218)](_0x2ea1a2,_0x5ac4a1,_0x54a7b7);},'axRIW':function(_0x308124,_0x509d4c){return _0x4d5cf8['myrKz'](_0x308124,_0x509d4c);}};this[_0x4cbfdf(0x239)](),this['onLoginSuccessFuncList'][_0x4cbfdf(0x1cd)](_0x2645c0=>{const _0x588b95=_0x4cbfdf;new Promise((_0x5c5240,_0x30a49b)=>{const _0x19c035=_0x13fb,_0x3cf39c=_0x30a53c[_0x19c035(0x1fb)](_0x2645c0,_0x3481fc[_0x19c035(0x26a)],_0x3481fc[_0x19c035(0x1fc)]);_0x30a53c[_0x19c035(0x253)](_0x3cf39c,Promise)&&_0x3cf39c[_0x19c035(0x258)](_0x5c5240)['catch'](_0x30a49b);})[_0x588b95(0x258)]();});})[_0x2cb954(0x1f2)](_0x395aed=>{const _0x5d6fef=_0x2cb954;_0x4d5cf8[_0x5d6fef(0x218)](logError,_0x4d5cf8[_0x5d6fef(0x284)],_0x395aed);});})[_0x42fde5(0x1f2)](_0xefec82=>{const _0x524b68=_0x42fde5;_0x182069[_0x524b68(0x27e)](logError,_0x182069[_0x524b68(0x1e0)],_0xefec82);throw new Error(_0x524b68(0x1e1)+JSON[_0x524b68(0x232)](_0xefec82));});},this[_0x1db711(0x1e4)][_0x1db711(0x277)]=(_0x31810e,_0x38f2e6,_0x24360a)=>{const _0x5215f9=_0x1db711;_0x182069[_0x5215f9(0x20d)](logError,_0x182069[_0x5215f9(0x224)],_0x24360a),_0x31810e==0x1&&_0x182069[_0x5215f9(0x1fd)](_0x38f2e6,0x3)&&this[_0x5215f9(0x1f7)][_0x5215f9(0x268)]();},this[_0x1db711(0x1e4)][_0x1db711(0x205)]=_0x589931=>{const _0x509cd1=_0x1db711;_0x182069['xpQfq'](logError,_0x182069[_0x509cd1(0x224)],_0x589931);},this['loginListener']=new Proxy(this[_0x1db711(0x1e4)],this['proxyHandler']),this[_0x1db711(0x1f7)][_0x1db711(0x23d)](new _0x51604c[(_0x1db711(0x244))](this['loginListener'])),this[_0x1db711(0x220)]();}get[_0x3039e8(0x22f)](){const _0x4d770d=_0x3039e8;let _0x119fe0=this['util']['getNTUserDataInfoConfig']();return!_0x119fe0&&(_0x119fe0=_0x549e7c[_0x4d770d(0x266)](_0x362fad[_0x4d770d(0x235)](),_0x4d770d(0x22d)),_0x378e68['mkdirSync'](_0x119fe0,{'recursive':!![]})),_0x119fe0;}get['dataPathGlobal'](){const _0x3eb5cc=_0x3039e8,_0x1ff31d={'zsvUy':_0x3eb5cc(0x1d6)};return _0x549e7c[_0x3eb5cc(0x266)](this[_0x3eb5cc(0x22f)],_0x1ff31d[_0x3eb5cc(0x21d)]);}['initConfig'](){const _0x1c84b7=_0x3039e8,_0x3c7102={'BnUqt':_0x1c84b7(0x27d)};this[_0x1c84b7(0x246)][_0x1c84b7(0x23a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1c84b7(0x20b)],'os_version':_0x3c7102[_0x1c84b7(0x263)],'use_xlog':!![],'qua':_0x1c84b7(0x281)+qqVersionConfigInfo[_0x1c84b7(0x20b)][_0x1c84b7(0x1ee)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x1c84b7(0x1dd)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x51604c[(_0x1c84b7(0x20a))](new GlobalAdapter())),this['loginService'][_0x1c84b7(0x220)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1c84b7(0x1dd)],'clientVer':qqVersionConfigInfo[_0x1c84b7(0x20b)],'hostName':hostname});}[_0x3039e8(0x24f)](_0x4569c3,_0x416ed1){const _0x3a8cac=_0x3039e8,_0x2fe90a={'hrIao':function(_0x1890ee,_0xb1a3d4){return _0x1890ee===_0xb1a3d4;},'ZOlQi':function(_0x313d5a,_0x2f847c){return _0x313d5a(_0x2f847c);},'MQcPU':function(_0x41af46,_0x4e7d11,_0x16b80e,_0x466d97){return _0x41af46(_0x4e7d11,_0x16b80e,_0x466d97);},'HZzWc':function(_0x9f1f2c,_0x57d265){return _0x9f1f2c+_0x57d265;},'iEahq':_0x3a8cac(0x26c)};return new Promise((_0x7f9c35,_0x3aa3ac)=>{const _0x1608c9=_0x3a8cac,_0x4102fa={'xhMcO':function(_0x56fb92,_0x3fdbff){return _0x2fe90a['hrIao'](_0x56fb92,_0x3fdbff);},'vEXTR':function(_0x27d8ad,_0x2469a8){return _0x2fe90a['ZOlQi'](_0x27d8ad,_0x2469a8);}},_0x3aa10e=_0x2fe90a[_0x1608c9(0x1e2)](genSessionConfig,_0x4569c3,_0x416ed1,this[_0x1608c9(0x22f)]),_0x555cde=new SessionListener();_0x555cde[_0x1608c9(0x1d2)]=_0x5b6b4b=>{const _0x524a77=_0x1608c9;if(_0x4102fa['xhMcO'](_0x5b6b4b,0x0))return _0x4102fa['vEXTR'](_0x7f9c35,0x0);_0x4102fa[_0x524a77(0x200)](_0x3aa3ac,_0x5b6b4b);},this[_0x1608c9(0x243)][_0x1608c9(0x221)](_0x3aa10e,new _0x51604c[(_0x1608c9(0x1cf))](new DependsAdapter()),new _0x51604c[(_0x1608c9(0x1ff))](new DispatcherAdapter()),new _0x51604c[(_0x1608c9(0x204))](_0x555cde));try{this[_0x1608c9(0x243)]['startNT'](0x0);}catch(_0x521683){try{this['session'][_0x1608c9(0x285)]();}catch(_0x2629f0){_0x3aa3ac(_0x2fe90a['HZzWc'](_0x2fe90a[_0x1608c9(0x1d0)],_0x2629f0));}}});}[_0x3039e8(0x239)](){const _0x36ed49=_0x3039e8,_0x4caabf={'xqUTP':function(_0x5c3d0a,_0x374383){return _0x5c3d0a===_0x374383;},'JfcYt':function(_0x14af71,_0x3242f4){return _0x14af71(_0x3242f4);},'BpSYO':function(_0x282b9c,_0x56ab16){return _0x282b9c+_0x56ab16;},'eKnLM':_0x36ed49(0x23c),'cthGk':_0x36ed49(0x1df),'oqUVM':function(_0x53d106,_0x33539a){return _0x53d106+_0x33539a;},'ERbcT':'[KickedOffLine]\x20[','yuOdf':function(_0x2fddd8,_0x4bda9d){return _0x2fddd8/_0x4bda9d;},'MDmEk':function(_0x26e53c,_0x5298f5){return _0x26e53c/_0x5298f5;},'wRRoo':function(_0x14073d,_0x44cca2){return _0x14073d===_0x44cca2;}},_0x481200=new MsgListener();_0x481200['onLineDev']=_0x36ad00=>{const _0x4f40b9=_0x36ed49;_0x36ad00[_0x4f40b9(0x1cd)](_0x14d621=>{const _0x4ae24a=_0x4f40b9;_0x4caabf['xqUTP'](_0x14d621['clientType'],0x2)&&_0x4caabf[_0x4ae24a(0x251)](log,_0x4caabf[_0x4ae24a(0x231)](_0x4caabf[_0x4ae24a(0x231)](_0x4caabf[_0x4ae24a(0x26b)],_0x14d621[_0x4ae24a(0x269)]),_0x4caabf[_0x4ae24a(0x240)]));});},_0x481200[_0x36ed49(0x236)]=_0xb5bfb9=>{const _0x209e71=_0x36ed49;_0x4caabf[_0x209e71(0x251)](log,_0x4caabf[_0x209e71(0x231)](_0x4caabf['oqUVM'](_0x4caabf[_0x209e71(0x1de)]+_0xb5bfb9['tipsTitle'],']\x20'),_0xb5bfb9['tipsDesc']));},_0x481200[_0x36ed49(0x1f4)]=_0x3d5655=>{const _0x3f5b8b=_0x36ed49,_0x385f0e={'Qlxaz':function(_0x500351,_0x4f3212){const _0x103844=_0x13fb;return _0x4caabf[_0x103844(0x201)](_0x500351,_0x4f3212);}};stat['packet_received']+=0x1,_0x3d5655[_0x3f5b8b(0x1cd)](_0x127433=>{const _0x708141=_0x3f5b8b;_0x385f0e[_0x708141(0x230)](_0x127433['recallTime'],'0')?dbUtil[_0x708141(0x1db)](_0x127433)[_0x708141(0x258)]()[_0x708141(0x1f2)]():dbUtil[_0x708141(0x226)](_0x127433[_0x708141(0x1f1)])['then'](_0x43cdb=>{const _0x21c0f1=_0x708141;_0x43cdb&&(_0x43cdb[_0x21c0f1(0x1e8)]=_0x127433[_0x21c0f1(0x1e8)],dbUtil[_0x21c0f1(0x238)](_0x43cdb)['then']());});});},_0x481200['onAddSendMsg']=_0x3a4265=>{const _0x2ebf56=_0x36ed49;stat[_0x2ebf56(0x289)]+=0x1,stat[_0x2ebf56(0x1cc)]+=0x1,stat[_0x2ebf56(0x1d3)]=Math[_0x2ebf56(0x24c)](_0x4caabf[_0x2ebf56(0x229)](Date[_0x2ebf56(0x22c)](),0x3e8));},_0x481200[_0x36ed49(0x1f0)]=_0x387895=>{const _0x415e35=_0x36ed49;stat['packet_received']+=0x1,stat[_0x415e35(0x1ea)]+=_0x387895[_0x415e35(0x219)],stat[_0x415e35(0x1d3)]=Math[_0x415e35(0x24c)](_0x4caabf[_0x415e35(0x1f3)](Date['now'](),0x3e8));},_0x481200[_0x36ed49(0x213)]=(..._0x3dbf29)=>{const _0x21a78b=_0x36ed49;stat[_0x21a78b(0x1ec)]+=0x1;},this['addListener'](_0x481200);const _0x248f8b=new BuddyListener();_0x248f8b[_0x36ed49(0x288)]=_0xa94c11=>{const _0x55e250=_0x36ed49;rawFriends[_0x55e250(0x219)]=0x0,rawFriends[_0x55e250(0x22a)](..._0xa94c11);for(const _0x324267 of _0xa94c11){for(const _0x53846d of _0x324267[_0x55e250(0x25f)]){const _0x1b0684=friends['get'](_0x53846d[_0x55e250(0x1fc)]);uid2UinMap[_0x53846d[_0x55e250(0x1fc)]]=_0x53846d[_0x55e250(0x26a)],_0x1b0684?Object[_0x55e250(0x1ef)](_0x1b0684,_0x53846d):friends[_0x55e250(0x1d5)](_0x53846d[_0x55e250(0x1fc)],_0x53846d);}}},this[_0x36ed49(0x261)](_0x248f8b),this[_0x36ed49(0x243)][_0x36ed49(0x225)]()['getBuddyList'](!![])['then'](_0xb52f73=>{});const _0x258064=new ProfileListener();_0x258064[_0x36ed49(0x227)]=_0x5f1ca0=>{const _0x57a211=_0x36ed49;_0x5f1ca0[_0x57a211(0x1fc)]===selfInfo[_0x57a211(0x1fc)]&&Object[_0x57a211(0x1ef)](selfInfo,_0x5f1ca0);},_0x258064[_0x36ed49(0x25d)]=_0x229389=>{},this[_0x36ed49(0x261)](_0x258064);const _0x5e143c=new GroupListener();_0x5e143c[_0x36ed49(0x259)]=(_0x2d289d,_0x1c5ddb)=>{const _0x144cd2=_0x36ed49,_0x5123c7={'AfTbO':function(_0x1fcfc6,_0x3100bf){const _0x106383=_0x13fb;return _0x4caabf[_0x106383(0x201)](_0x1fcfc6,_0x3100bf);}};_0x1c5ddb[_0x144cd2(0x1cd)](_0x3a9c2d=>{const _0xe00706=_0x144cd2,_0x514f22=groups[_0xe00706(0x233)](_0x3a9c2d[_0xe00706(0x255)]);_0x514f22&&_0x5123c7[_0xe00706(0x217)](_0x3a9c2d[_0xe00706(0x21b)],_0x514f22[_0xe00706(0x21b)])?Object[_0xe00706(0x1ef)](_0x514f22,_0x3a9c2d):groups[_0xe00706(0x1d5)](_0x3a9c2d['groupCode'],_0x3a9c2d);const _0x2e4c5f=this[_0xe00706(0x243)][_0xe00706(0x1d7)]()[_0xe00706(0x1fe)](_0x3a9c2d[_0xe00706(0x255)],_0xe00706(0x25a));this[_0xe00706(0x243)][_0xe00706(0x1d7)]()['getNextMemberList'](_0x2e4c5f,undefined,0xbb8)['then'](_0x4f9c96=>{});});},_0x5e143c[_0x36ed49(0x24b)]=_0x1dc1c8=>{const _0x2e73d0=_0x36ed49,_0x5a91ab=_0x1dc1c8[_0x2e73d0(0x1d4)][_0x2e73d0(0x250)]('_')[0x0];if(groupMembers['has'](_0x5a91ab)){const _0x3cc28d=groupMembers[_0x2e73d0(0x233)](_0x5a91ab);_0x1dc1c8[_0x2e73d0(0x1cb)]['forEach']((_0x366c4d,_0x4b854)=>{const _0x2d9f95=_0x2e73d0,_0x53d746=_0x3cc28d[_0x2d9f95(0x233)](_0x4b854);_0x53d746?Object['assign'](_0x53d746,_0x366c4d):_0x3cc28d[_0x2d9f95(0x1d5)](_0x4b854,_0x366c4d);});}else groupMembers['set'](_0x5a91ab,_0x1dc1c8[_0x2e73d0(0x1cb)]);},_0x5e143c[_0x36ed49(0x254)]=(_0x364a1b,_0x1fb814,_0x23ffd1)=>{const _0x5587ad=_0x36ed49;_0x4caabf[_0x5587ad(0x214)](_0x1fb814,0x0)&&_0x23ffd1[_0x5587ad(0x233)](selfInfo[_0x5587ad(0x1fc)])&&_0x23ffd1[_0x5587ad(0x233)](selfInfo[_0x5587ad(0x1fc)])?.[_0x5587ad(0x279)]&&setTimeout(()=>{const _0x2894b0=_0x5587ad;groups[_0x2894b0(0x212)](_0x364a1b);},0x1388);_0x23ffd1[_0x5587ad(0x22b)]((_0x1d1e5a,_0x22d020)=>{const _0x4132a6=_0x5587ad;uid2UinMap[_0x22d020]=_0x1d1e5a[_0x4132a6(0x26a)];});const _0x7c41e8=groupMembers['get'](_0x364a1b);_0x7c41e8?_0x23ffd1['forEach']((_0x5ec4dc,_0xcc8538)=>{const _0x350651=_0x7c41e8['get'](_0xcc8538);_0x350651?Object['assign'](_0x350651,_0x5ec4dc):_0x7c41e8['set'](_0xcc8538,_0x5ec4dc);}):groupMembers[_0x5587ad(0x1d5)](_0x364a1b,_0x23ffd1);},this['addListener'](_0x5e143c);}[_0x3039e8(0x261)](_0x491ea6){const _0x19d038=_0x3039e8,_0x2bcb7a={'vCGmv':'BuddyListener','SpPzR':_0x19d038(0x21e),'ySMkv':_0x19d038(0x202),'ZnNHq':_0x19d038(0x278)};_0x491ea6=new Proxy(_0x491ea6,this['proxyHandler']);switch(_0x491ea6[_0x19d038(0x241)][_0x19d038(0x22e)]){case _0x2bcb7a[_0x19d038(0x272)]:{return this[_0x19d038(0x243)][_0x19d038(0x225)]()[_0x19d038(0x249)](new _0x51604c[(_0x19d038(0x25b))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x27b)]:{return this[_0x19d038(0x243)][_0x19d038(0x1d7)]()[_0x19d038(0x207)](new _0x51604c[(_0x19d038(0x264))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x210)]:{return this[_0x19d038(0x243)][_0x19d038(0x273)]()[_0x19d038(0x206)](new _0x51604c[(_0x19d038(0x208))](_0x491ea6));}case _0x2bcb7a[_0x19d038(0x23f)]:{return this[_0x19d038(0x243)][_0x19d038(0x1da)]()['addKernelProfileListener'](new _0x51604c['NodeIKernelProfileListener'](_0x491ea6));}default:return-0x1;}}[_0x3039e8(0x25e)](_0x5094a5){const _0x5d2072=_0x3039e8;this[_0x5d2072(0x216)]['push'](_0x5094a5);}async[_0x3039e8(0x245)](_0x34da8f){const _0x3c3076=_0x3039e8,_0x39d2d3={'zKftI':function(_0x2b10a1,_0x2de16e){return _0x2b10a1!==_0x2de16e;},'kilya':function(_0x1035de,_0x481f30){return _0x1035de(_0x481f30);},'pVrnY':function(_0x32d5cd,_0x37a745){return _0x32d5cd+_0x37a745;},'EyYVV':_0x3c3076(0x1e5)},_0x5530f9=await this[_0x3c3076(0x1f7)][_0x3c3076(0x222)]();if(_0x39d2d3[_0x3c3076(0x20e)](_0x5530f9['result'],0x0))throw new Error('没有可快速登录的QQ号');const _0x48c17d=_0x5530f9['LocalLoginInfoList']['find'](_0x21a903=>_0x21a903[_0x3c3076(0x26a)]===_0x34da8f);if(!_0x48c17d||!_0x48c17d?.[_0x3c3076(0x21c)])throw new Error(_0x34da8f+_0x3c3076(0x1f8));await _0x39d2d3[_0x3c3076(0x27a)](sleep,0x3e8);const _0x5e7f53=await this['loginService'][_0x3c3076(0x283)](_0x34da8f);if(!_0x5e7f53[_0x3c3076(0x1d9)])throw new Error(_0x39d2d3['pVrnY'](_0x39d2d3[_0x3c3076(0x23e)],_0x5e7f53[_0x3c3076(0x1ed)]['errMsg']));return _0x5e7f53;}async['qrLogin'](_0x23e399){const _0x411642=_0x3039e8,_0x4c05af={'IwTPK':'data:image/png;base64,','RIpjr':_0x411642(0x26f),'EodTL':function(_0x46ca26,_0x139ad5,_0x41edbb,_0x304358){return _0x46ca26(_0x139ad5,_0x41edbb,_0x304358);}};return new Promise((_0x2fdf4d,_0x7745c6)=>{const _0x4784d6=_0x411642,_0x1e5315={'RGEch':_0x4c05af['IwTPK'],'vWsTX':_0x4c05af['RIpjr'],'MuVmh':function(_0x3f8fd8,_0x2d06af,_0x316147,_0x281886){const _0x4946e4=_0x13fb;return _0x4c05af[_0x4946e4(0x1e6)](_0x3f8fd8,_0x2d06af,_0x316147,_0x281886);}};this[_0x4784d6(0x1e4)][_0x4784d6(0x1ca)]=_0x1b5a6d=>{const _0xc5974d=_0x4784d6,_0x41186f=_0x1b5a6d[_0xc5974d(0x1e3)][_0xc5974d(0x250)](_0x1e5315[_0xc5974d(0x21a)])[0x1],_0x1579a7=Buffer['from'](_0x41186f,_0x1e5315[_0xc5974d(0x24d)]);_0x1e5315[_0xc5974d(0x1ce)](_0x23e399,_0x1b5a6d[_0xc5974d(0x275)],_0x1b5a6d[_0xc5974d(0x1e3)],_0x1579a7);},this[_0x4784d6(0x1f7)]['getQRCodePicture']();});}async[_0x3039e8(0x257)](_0x10910b,_0x19e4ec,_0x519fa0,_0x31a7dc,_0x3880c6){const _0x45f249=_0x3039e8,_0x1051e5={'NRKwq':_0x45f249(0x26e),'cLOTp':'hex','TwzAB':function(_0x34271b,_0x5c10ee){return _0x34271b&&_0x5c10ee;},'xdDNH':function(_0x557505,_0x8c5cf1){return _0x557505||_0x8c5cf1;},'MZkxT':'140022013'},_0x50676c=_0x2cb0ce[_0x45f249(0x252)](_0x1051e5[_0x45f249(0x270)])[_0x45f249(0x1d8)](_0x19e4ec)[_0x45f249(0x271)](_0x1051e5[_0x45f249(0x237)]),_0x568367={'uin':_0x10910b,'passwordMd5':_0x50676c,'step':_0x1051e5[_0x45f249(0x25c)](_0x519fa0,_0x31a7dc)&&_0x3880c6?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x1051e5['xdDNH'](_0x519fa0,''),'proofWaterRand':_0x31a7dc||'','proofWaterSid':_0x1051e5['xdDNH'](_0x3880c6,'')};await this[_0x45f249(0x1f7)][_0x45f249(0x222)](),await sleep(0x3e8);const _0x5bc0f7=await this[_0x45f249(0x1f7)]['passwordLogin'](_0x568367);switch(_0x5bc0f7['result']){case'0':{break;}case _0x45f249(0x23b):{break;}case'4':case _0x1051e5[_0x45f249(0x21f)]:default:}}async[_0x3039e8(0x1fa)](){const _0x35889b=_0x3039e8,_0x1d475f=await this[_0x35889b(0x1f7)]['getLoginList']();return _0x1d475f;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x156443=_0xd320;(function(_0x2613dc,_0x5942e2){const _0x7f38bb=_0xd320,_0x21c862=_0x2613dc();while(!![]){try{const _0x55332b=parseInt(_0x7f38bb(0x23d))/0x1*(parseInt(_0x7f38bb(0x192))/0x2)+parseInt(_0x7f38bb(0x1c1))/0x3+parseInt(_0x7f38bb(0x1db))/0x4*(parseInt(_0x7f38bb(0x1a0))/0x5)+-parseInt(_0x7f38bb(0x242))/0x6+parseInt(_0x7f38bb(0x234))/0x7*(parseInt(_0x7f38bb(0x202))/0x8)+parseInt(_0x7f38bb(0x20b))/0x9+parseInt(_0x7f38bb(0x211))/0xa*(parseInt(_0x7f38bb(0x20d))/0xb);if(_0x55332b===_0x5942e2)break;else _0x21c862['push'](_0x21c862['shift']());}catch(_0x58fb2b){_0x21c862['push'](_0x21c862['shift']());}}}(_0x242d,0x4c9c7));import _0x5d58f4 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5b445e from'node:path';import _0x4a8d1f from'node:os';import _0x2f70a6 from'node:fs';function _0xd320(_0x544e10,_0x1e0914){const _0x242df8=_0x242d();return _0xd320=function(_0xd3202d,_0x1b966a){_0xd3202d=_0xd3202d-0x183;let _0x20f8b6=_0x242df8[_0xd3202d];return _0x20f8b6;},_0xd320(_0x544e10,_0x1e0914);}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 _0x1c3c92 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x156443(0x19d)];[_0x156443(0x1fb)];[_0x156443(0x1d9)];[_0x156443(0x1e6)];['loginService'];[_0x156443(0x21e)]=[];[_0x156443(0x19c)]={'get'(target,prop,receiver){const _0x593c1f=_0x156443,JaYGrc={'uHjCQ':function(callee,param1){return callee(param1);},'TqnVz':function(x,y){return x===y;}};if(JaYGrc[_0x593c1f(0x1ac)](typeof target[prop],_0x593c1f(0x1a6)))return(...args)=>{const _0x5f9fb1=_0x593c1f;JaYGrc[_0x5f9fb1(0x189)](logDebug,target[_0x5f9fb1(0x18a)]['name']+_0x5f9fb1(0x1d3)+prop);};return Reflect[_0x593c1f(0x208)](target,prop,receiver);}};constructor(){const _0x3f5b73=_0x156443,_0x17fbbb={'fJctO':function(_0x1016a9,_0x593527){return _0x1016a9+_0x593527;},'FAVVp':_0x3f5b73(0x23e),'jQDJR':_0x3f5b73(0x237),'aKGTj':function(_0x30e04e,_0x595d54,_0x203e99){return _0x30e04e(_0x595d54,_0x203e99);},'BDzyJ':function(_0x499b5c,_0x3a5ed2){return _0x499b5c instanceof _0x3a5ed2;},'ndPik':_0x3f5b73(0x1f1),'hmubS':function(_0x3eb785,_0x59af2c,_0x537841){return _0x3eb785(_0x59af2c,_0x537841);},'ONxhv':function(_0x5cef77,_0xb89ce3){return _0x5cef77==_0xb89ce3;},'ugYfC':function(_0x56a6fe,_0x6870ba,_0x2082c3){return _0x56a6fe(_0x6870ba,_0x2082c3);}};this['engine']=new _0x5d58f4[(_0x3f5b73(0x241))](),this[_0x3f5b73(0x1fb)]=new _0x5d58f4['NodeQQNTWrapperUtil'](),this['loginService']=new _0x5d58f4[(_0x3f5b73(0x20e))](),this[_0x3f5b73(0x19d)]=new _0x5d58f4['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this[_0x3f5b73(0x1e6)][_0x3f5b73(0x233)]=_0x1ece2d=>{const _0x459b25=_0x3f5b73;logError(_0x17fbbb[_0x459b25(0x240)](_0x17fbbb[_0x459b25(0x20c)]+_0x1ece2d,_0x17fbbb[_0x459b25(0x216)]));},this['loginListener']['onQRCodeLoginSucceed']=_0xf9c284=>{const _0x376c56=_0x3f5b73,_0x523a3e={'xHLUz':function(_0x207313,_0x5196d1,_0x670848){return _0x207313(_0x5196d1,_0x670848);},'ZNjys':'数据库初始化失败','eDfup':function(_0x4fa940,_0xf274ab){return _0x17fbbb['BDzyJ'](_0x4fa940,_0xf274ab);},'VaRMQ':function(_0x27042a,_0x36f09a,_0x534631){return _0x27042a(_0x36f09a,_0x534631);},'OpDYC':function(_0x18bbc0,_0x28aec0){return _0x18bbc0(_0x28aec0);},'cDnRq':_0x17fbbb[_0x376c56(0x1cf)]};this[_0x376c56(0x1ed)](_0xf9c284[_0x376c56(0x206)],_0xf9c284[_0x376c56(0x215)])[_0x376c56(0x23f)](_0x5b7124=>{const _0x53a1cb=_0x376c56,_0x422f06={'AqHuB':function(_0x149bcb,_0x359184,_0x3f3aed){return _0x149bcb(_0x359184,_0x3f3aed);},'QVYIj':function(_0x2cf939,_0x1fb288){const _0x1761d2=_0xd320;return _0x523a3e[_0x1761d2(0x1c6)](_0x2cf939,_0x1fb288);}};selfInfo[_0x53a1cb(0x206)]=_0xf9c284[_0x53a1cb(0x206)],selfInfo[_0x53a1cb(0x215)]=_0xf9c284[_0x53a1cb(0x215)],napCatConfig[_0x53a1cb(0x19a)](),_0x523a3e['VaRMQ'](setLogLevel,napCatConfig[_0x53a1cb(0x1bb)],napCatConfig[_0x53a1cb(0x22a)]),_0x523a3e['OpDYC'](enableFileLog,napCatConfig[_0x53a1cb(0x184)]),_0x523a3e[_0x53a1cb(0x1f4)](enableConsoleLog,napCatConfig[_0x53a1cb(0x1f8)]),setLogSelfInfo(selfInfo);const _0x2428da=_0x5b445e[_0x53a1cb(0x1a5)](this[_0x53a1cb(0x1fd)],_0x53a1cb(0x188));_0x2f70a6['mkdirSync'](_0x2428da,{'recursive':!![]}),logDebug(_0x523a3e[_0x53a1cb(0x198)],_0x2428da),dbUtil[_0x53a1cb(0x217)](_0x5b445e[_0x53a1cb(0x1a5)](_0x2428da,'./'+_0xf9c284[_0x53a1cb(0x206)]+_0x53a1cb(0x1ca)))['then'](()=>{const _0x50e3e2=_0x53a1cb,_0x118ef3={'rgNTJ':function(_0x2ab78c,_0x5709e0,_0x190964){const _0x1a4f9c=_0xd320;return _0x422f06[_0x1a4f9c(0x1af)](_0x2ab78c,_0x5709e0,_0x190964);},'cUnOV':function(_0x3a71af,_0x2ae618){const _0x2e3ad8=_0xd320;return _0x422f06[_0x2e3ad8(0x201)](_0x3a71af,_0x2ae618);}};this[_0x50e3e2(0x1d7)](),this[_0x50e3e2(0x21e)][_0x50e3e2(0x1b2)](_0x348515=>{const _0x4e2d23=_0x50e3e2;new Promise((_0x2952b8,_0xfeb2de)=>{const _0x52d4f5=_0xd320,_0x3209bf=_0x118ef3[_0x52d4f5(0x1e4)](_0x348515,_0xf9c284[_0x52d4f5(0x206)],_0xf9c284['uid']);_0x118ef3[_0x52d4f5(0x1eb)](_0x3209bf,Promise)&&_0x3209bf['then'](_0x2952b8)[_0x52d4f5(0x1b5)](_0xfeb2de);})[_0x4e2d23(0x23f)]();});})[_0x53a1cb(0x1b5)](_0xe1ef0a=>{const _0x287c32=_0x53a1cb;_0x523a3e[_0x287c32(0x1e3)](logError,_0x523a3e[_0x287c32(0x1c7)],_0xe1ef0a);});})[_0x376c56(0x1b5)](_0x2da2d6=>{const _0xcb08b7=_0x376c56;_0x17fbbb[_0xcb08b7(0x204)](logError,'initSession\x20failed',_0x2da2d6);throw new Error(_0xcb08b7(0x1ec)+JSON[_0xcb08b7(0x21c)](_0x2da2d6));});},this['loginListener']['onQRCodeSessionFailed']=(_0x28bf20,_0x15cdb7,_0x552b47)=>{const _0x133b07=_0x3f5b73;_0x17fbbb[_0x133b07(0x1f2)](logError,_0x133b07(0x22e),_0x552b47),_0x17fbbb[_0x133b07(0x1f3)](_0x28bf20,0x1)&&_0x15cdb7==0x3&&this[_0x133b07(0x1f5)][_0x133b07(0x1c9)]();},this[_0x3f5b73(0x1e6)][_0x3f5b73(0x248)]=_0x263661=>{const _0x117fff=_0x3f5b73;_0x17fbbb['ugYfC'](logError,_0x117fff(0x22e),_0x263661);},this['loginListener']=new Proxy(this[_0x3f5b73(0x1e6)],this[_0x3f5b73(0x19c)]),this[_0x3f5b73(0x1f5)][_0x3f5b73(0x245)](new _0x5d58f4[(_0x3f5b73(0x239))](this['loginListener'])),this['initConfig']();}get[_0x156443(0x1fd)](){const _0x45f1b3=_0x156443,_0x490c66={'nZEXm':_0x45f1b3(0x19e)};let _0x39e657=this[_0x45f1b3(0x1fb)]['getNTUserDataInfoConfig']();return!_0x39e657&&(_0x39e657=_0x5b445e[_0x45f1b3(0x1a5)](_0x4a8d1f['homedir'](),_0x490c66[_0x45f1b3(0x23b)]),_0x2f70a6[_0x45f1b3(0x210)](_0x39e657,{'recursive':!![]})),_0x39e657;}get[_0x156443(0x221)](){const _0x316123=_0x156443,_0xd1cef0={'bmVQT':_0x316123(0x230)};return _0x5b445e['resolve'](this['dataPath'],_0xd1cef0[_0x316123(0x1f0)]);}[_0x156443(0x1bd)](){const _0x41c71b=_0x156443,_0x1b6b42={'pdrGr':_0x41c71b(0x227)};this[_0x41c71b(0x1d9)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x41c71b(0x222)],'os_version':_0x1b6b42[_0x41c71b(0x236)],'use_xlog':!![],'qua':_0x41c71b(0x19b)+qqVersionConfigInfo[_0x41c71b(0x222)][_0x41c71b(0x191)]('-','_')+_0x41c71b(0x22f),'global_path_config':{'desktopGlobalPath':this[_0x41c71b(0x221)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x5d58f4[(_0x41c71b(0x212))](new GlobalAdapter())),this[_0x41c71b(0x1f5)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x41c71b(0x221)],'clientVer':qqVersionConfigInfo[_0x41c71b(0x222)],'hostName':hostname});}[_0x156443(0x1ed)](_0x913e2,_0x44ce61){const _0x2add6f={'EEqZc':function(_0x12bc51,_0x523d63){return _0x12bc51===_0x523d63;},'FDQZC':function(_0x26b0b3,_0x4f06cc,_0x7a53ed,_0x351ba1){return _0x26b0b3(_0x4f06cc,_0x7a53ed,_0x351ba1);}};return new Promise((_0x2be04c,_0x59cb56)=>{const _0x225777=_0xd320,_0x2a9982={'eEtie':function(_0x558b1f,_0x500d59){const _0x1d1f54=_0xd320;return _0x2add6f[_0x1d1f54(0x23a)](_0x558b1f,_0x500d59);}},_0x6e4ef6=_0x2add6f[_0x225777(0x1b3)](genSessionConfig,_0x913e2,_0x44ce61,this[_0x225777(0x1fd)]),_0x13800f=new SessionListener();_0x13800f[_0x225777(0x1c0)]=_0x1049de=>{if(_0x2a9982['eEtie'](_0x1049de,0x0))return _0x2be04c(0x0);_0x59cb56(_0x1049de);},this[_0x225777(0x19d)][_0x225777(0x217)](_0x6e4ef6,new _0x5d58f4[(_0x225777(0x1ee))](new DependsAdapter()),new _0x5d58f4[(_0x225777(0x18b))](new DispatcherAdapter()),new _0x5d58f4[(_0x225777(0x1b4))](_0x13800f));try{this[_0x225777(0x19d)][_0x225777(0x1e1)](0x0);}catch(_0x37f273){try{this[_0x225777(0x19d)][_0x225777(0x1e1)]();}catch(_0x30b2a3){_0x59cb56(_0x225777(0x1aa)+_0x30b2a3);}}});}[_0x156443(0x1d7)](){const _0x38e021=_0x156443,_0x17180b={'qZsVB':function(_0x56b433,_0x534580){return _0x56b433+_0x534580;},'jXRBv':_0x38e021(0x1bf),'wAhAk':function(_0x17ee7e,_0x2ab114){return _0x17ee7e(_0x2ab114);},'EBxTT':function(_0x566bc8,_0x3c7cf6){return _0x566bc8+_0x3c7cf6;},'QgjaZ':'[KickedOffLine]\x20[','tsqoZ':function(_0x519008,_0x559048){return _0x519008===_0x559048;},'kVELz':function(_0x570aed,_0x58934e){return _0x570aed/_0x58934e;},'EOLjh':function(_0x2cf024,_0x12f68b){return _0x2cf024/_0x12f68b;},'wpvFX':function(_0xe79206,_0x3abaf3){return _0xe79206===_0x3abaf3;},'hwfjj':function(_0x4cc743,_0x212901){return _0x4cc743===_0x212901;}},_0x8770f1=new MsgListener();_0x8770f1[_0x38e021(0x247)]=_0x901183=>{const _0x45f635=_0x38e021,_0x3b75ea={'svuEQ':function(_0x372bf8,_0x21a073){return _0x372bf8===_0x21a073;},'xygAQ':function(_0x181ec5,_0x4baf17){return _0x17180b['qZsVB'](_0x181ec5,_0x4baf17);},'iGWVX':_0x17180b[_0x45f635(0x1ea)]};_0x901183[_0x45f635(0x1b2)](_0xc83b6a=>{const _0x566b12=_0x45f635;_0x3b75ea['svuEQ'](_0xc83b6a[_0x566b12(0x205)],0x2)&&log(_0x3b75ea['xygAQ'](_0x566b12(0x243)+_0xc83b6a[_0x566b12(0x18d)],_0x3b75ea['iGWVX']));});},_0x8770f1['onKickedOffLine']=_0x1cbf6a=>{const _0x4888ce=_0x38e021;_0x17180b[_0x4888ce(0x1ab)](log,_0x17180b['EBxTT'](_0x17180b[_0x4888ce(0x1c4)]+_0x1cbf6a[_0x4888ce(0x1d2)],']\x20')+_0x1cbf6a[_0x4888ce(0x1fc)]);},_0x8770f1['onMsgInfoListUpdate']=_0x17f3ce=>{const _0x1a53f0=_0x38e021,_0x4ac3ae={'NYaue':function(_0x43baeb,_0x5029d1){const _0x3b7c04=_0xd320;return _0x17180b[_0x3b7c04(0x200)](_0x43baeb,_0x5029d1);}};stat['packet_received']+=0x1,_0x17f3ce[_0x1a53f0(0x1b2)](_0x566848=>{const _0x5526f1=_0x1a53f0;_0x4ac3ae[_0x5526f1(0x1d1)](_0x566848[_0x5526f1(0x190)],'0')?dbUtil['addMsg'](_0x566848)['then']()[_0x5526f1(0x1b5)]():dbUtil[_0x5526f1(0x1c2)](_0x566848[_0x5526f1(0x229)])['then'](_0x3b8959=>{const _0x4d46c5=_0x5526f1;_0x3b8959&&(_0x3b8959[_0x4d46c5(0x190)]=_0x566848[_0x4d46c5(0x190)],dbUtil[_0x4d46c5(0x1c5)](_0x3b8959)[_0x4d46c5(0x23f)]());});});},_0x8770f1['onAddSendMsg']=_0x39030e=>{const _0x378c54=_0x38e021;stat[_0x378c54(0x1b9)]+=0x1,stat[_0x378c54(0x1f6)]+=0x1,stat[_0x378c54(0x22d)]=Math['floor'](_0x17180b[_0x378c54(0x195)](Date[_0x378c54(0x213)](),0x3e8));},_0x8770f1[_0x38e021(0x1cc)]=_0xc4c555=>{const _0x147a10=_0x38e021;stat['packet_received']+=0x1,stat[_0x147a10(0x1bc)]+=_0xc4c555[_0x147a10(0x197)],stat[_0x147a10(0x22d)]=Math[_0x147a10(0x199)](_0x17180b[_0x147a10(0x1fe)](Date[_0x147a10(0x213)](),0x3e8));},_0x8770f1[_0x38e021(0x185)]=(..._0x5e844e)=>{const _0x2887cb=_0x38e021;stat[_0x2887cb(0x1e7)]+=0x1;},this[_0x38e021(0x23c)](_0x8770f1);const _0xae2427=new BuddyListener();_0xae2427['onBuddyListChange']=_0x2214a2=>{const _0xa14cbd=_0x38e021;rawFriends[_0xa14cbd(0x197)]=0x0,rawFriends['push'](..._0x2214a2);for(const _0x16a69a of _0x2214a2){for(const _0x36029a of _0x16a69a[_0xa14cbd(0x1f7)]){const _0x2916ac=friends[_0xa14cbd(0x208)](_0x36029a[_0xa14cbd(0x215)]);uid2UinMap[_0x36029a[_0xa14cbd(0x215)]]=_0x36029a['uin'],_0x2916ac?Object['assign'](_0x2916ac,_0x36029a):friends['set'](_0x36029a[_0xa14cbd(0x215)],_0x36029a);}}},this['addListener'](_0xae2427),this[_0x38e021(0x19d)][_0x38e021(0x226)]()['getBuddyList'](!![])['then'](_0x57ba6f=>{});const _0x3bd980=new ProfileListener();_0x3bd980[_0x38e021(0x1b1)]=_0x1fe401=>{const _0xc04e80=_0x38e021;_0x17180b[_0xc04e80(0x200)](_0x1fe401['uid'],selfInfo[_0xc04e80(0x215)])&&Object[_0xc04e80(0x209)](selfInfo,_0x1fe401);},_0x3bd980[_0x38e021(0x1d0)]=_0x40170f=>{},this[_0x38e021(0x23c)](_0x3bd980);const _0x87c25=new GroupListener();_0x87c25[_0x38e021(0x1ce)]=(_0x1506b9,_0xa0f4f4)=>{const _0xb5b5f9=_0x38e021,_0xc8b6d4={'zIICc':function(_0x384683,_0x7aa0b5){const _0x1f2e06=_0xd320;return _0x17180b[_0x1f2e06(0x1a1)](_0x384683,_0x7aa0b5);}};_0xa0f4f4[_0xb5b5f9(0x1b2)](_0x4e71cd=>{const _0x3395c0=_0xb5b5f9,_0x10ec8c=groups['get'](_0x4e71cd[_0x3395c0(0x1a8)]);_0x10ec8c&&_0xc8b6d4[_0x3395c0(0x194)](_0x4e71cd['memberCount'],_0x10ec8c[_0x3395c0(0x20a)])?Object[_0x3395c0(0x209)](_0x10ec8c,_0x4e71cd):groups['set'](_0x4e71cd[_0x3395c0(0x1a8)],_0x4e71cd);const _0x56796a=this[_0x3395c0(0x19d)]['getGroupService']()[_0x3395c0(0x1b8)](_0x4e71cd[_0x3395c0(0x1a8)],_0x3395c0(0x1cb));this['session'][_0x3395c0(0x1c8)]()[_0x3395c0(0x207)](_0x56796a,undefined,0xbb8)[_0x3395c0(0x23f)](_0x4c514c=>{});});},_0x87c25[_0x38e021(0x1a2)]=_0x15a52d=>{const _0x1cb36d=_0x38e021,_0x57fc33=_0x15a52d[_0x1cb36d(0x235)][_0x1cb36d(0x1e5)]('_')[0x0];if(groupMembers[_0x1cb36d(0x1b7)](_0x57fc33)){const _0x119a73=groupMembers[_0x1cb36d(0x208)](_0x57fc33);_0x15a52d[_0x1cb36d(0x228)][_0x1cb36d(0x21b)]((_0x492a44,_0x35e30f)=>{const _0xb39b50=_0x1cb36d,_0x2ecc4e=_0x119a73[_0xb39b50(0x208)](_0x35e30f);_0x2ecc4e?Object[_0xb39b50(0x209)](_0x2ecc4e,_0x492a44):_0x119a73[_0xb39b50(0x18e)](_0x35e30f,_0x492a44);});}else groupMembers[_0x1cb36d(0x18e)](_0x57fc33,_0x15a52d['infos']);},_0x87c25[_0x38e021(0x1d6)]=(_0x46cfa7,_0x5849a4,_0x344bb8)=>{const _0x26dcd0=_0x38e021;_0x17180b['hwfjj'](_0x5849a4,0x0)&&_0x344bb8[_0x26dcd0(0x208)](selfInfo[_0x26dcd0(0x215)])&&_0x344bb8[_0x26dcd0(0x208)](selfInfo[_0x26dcd0(0x215)])?.[_0x26dcd0(0x1ef)]&&setTimeout(()=>{const _0x57074a=_0x26dcd0;groups[_0x57074a(0x196)](_0x46cfa7);},0x1388);_0x344bb8[_0x26dcd0(0x21b)]((_0x564760,_0x41e425)=>{uid2UinMap[_0x41e425]=_0x564760['uin'];});const _0x3f0089=groupMembers[_0x26dcd0(0x208)](_0x46cfa7);_0x3f0089?_0x344bb8[_0x26dcd0(0x21b)]((_0x468b30,_0x26bf72)=>{const _0x4a5aca=_0x26dcd0,_0x205a0d=_0x3f0089['get'](_0x26bf72);_0x205a0d?Object['assign'](_0x205a0d,_0x468b30):_0x3f0089[_0x4a5aca(0x18e)](_0x26bf72,_0x468b30);}):groupMembers['set'](_0x46cfa7,_0x344bb8);},this[_0x38e021(0x23c)](_0x87c25);}[_0x156443(0x23c)](_0x155f34){const _0x56c02f=_0x156443,_0x6c2561={'GMjSc':_0x56c02f(0x218),'DXZqM':_0x56c02f(0x1cd),'SLSfc':'MsgListener','eCltQ':_0x56c02f(0x1df)};_0x155f34=new Proxy(_0x155f34,this[_0x56c02f(0x19c)]);switch(_0x155f34[_0x56c02f(0x18a)][_0x56c02f(0x1dd)]){case _0x6c2561[_0x56c02f(0x1ff)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x226)]()[_0x56c02f(0x1e9)](new _0x5d58f4[(_0x56c02f(0x1d8))](_0x155f34));}case _0x6c2561[_0x56c02f(0x1da)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x1c8)]()[_0x56c02f(0x225)](new _0x5d58f4[(_0x56c02f(0x244))](_0x155f34));}case _0x6c2561[_0x56c02f(0x203)]:{return this[_0x56c02f(0x19d)][_0x56c02f(0x1dc)]()[_0x56c02f(0x21f)](new _0x5d58f4[(_0x56c02f(0x1b6))](_0x155f34));}case _0x6c2561[_0x56c02f(0x183)]:{return this[_0x56c02f(0x19d)]['getProfileService']()[_0x56c02f(0x223)](new _0x5d58f4['NodeIKernelProfileListener'](_0x155f34));}default:return-0x1;}}[_0x156443(0x1de)](_0x598893){const _0x1c3c5e=_0x156443;this[_0x1c3c5e(0x21e)]['push'](_0x598893);}async[_0x156443(0x1d4)](_0x291306){const _0x5369a8=_0x156443,_0x43209a={'SdzxD':_0x5369a8(0x1a7),'xVsCv':function(_0x4b77ec,_0x40b7ce){return _0x4b77ec+_0x40b7ce;},'ZvszE':_0x5369a8(0x224)},_0x49b55f=await this[_0x5369a8(0x1f5)]['getLoginList']();if(_0x49b55f['result']!==0x0)throw new Error(_0x43209a['SdzxD']);const _0x26ed8e=_0x49b55f['LocalLoginInfoList'][_0x5369a8(0x187)](_0x1526a2=>_0x1526a2[_0x5369a8(0x206)]===_0x291306);if(!_0x26ed8e||!_0x26ed8e?.[_0x5369a8(0x20f)])throw new Error(_0x291306+_0x5369a8(0x18c));await sleep(0x3e8);const _0x468ef2=await this[_0x5369a8(0x1f5)][_0x5369a8(0x1ba)](_0x291306);if(!_0x468ef2[_0x5369a8(0x193)])throw new Error(_0x43209a[_0x5369a8(0x1d5)](_0x43209a['ZvszE'],_0x468ef2[_0x5369a8(0x1a9)][_0x5369a8(0x18f)]));return _0x468ef2;}async[_0x156443(0x186)](_0x99d54c){const _0x157139={'bNUwv':function(_0x58ad5a,_0x2ea2b1,_0xb8e8dc,_0x44bea2){return _0x58ad5a(_0x2ea2b1,_0xb8e8dc,_0x44bea2);}};return new Promise((_0x1b753f,_0x2a05d4)=>{const _0x2f666e=_0xd320,_0x35ce3a={'NKPnc':_0x2f666e(0x21d),'PoMtb':function(_0x35b9de,_0x10a830,_0x4f691a,_0x1930cd){return _0x157139['bNUwv'](_0x35b9de,_0x10a830,_0x4f691a,_0x1930cd);}};this[_0x2f666e(0x1e6)][_0x2f666e(0x1e8)]=_0x331f00=>{const _0x4645fc=_0x2f666e,_0x298651=_0x331f00[_0x4645fc(0x1f9)][_0x4645fc(0x1e5)](_0x35ce3a[_0x4645fc(0x22c)])[0x1],_0x178570=Buffer['from'](_0x298651,_0x4645fc(0x214));_0x35ce3a[_0x4645fc(0x1a4)](_0x99d54c,_0x331f00[_0x4645fc(0x1e2)],_0x331f00[_0x4645fc(0x1f9)],_0x178570);},this['loginService'][_0x2f666e(0x1c9)]();});}async[_0x156443(0x1c3)](_0x4f0c01,_0x5de7d2,_0x309b6a,_0x1b3ce3,_0x594da4){const _0x59f128=_0x156443,_0xfad901={'tMPPu':_0x59f128(0x1a3),'oFxuV':_0x59f128(0x231),'HKXgz':function(_0x4e5067,_0x4ecf95){return _0x4e5067&&_0x4ecf95;},'ZydJJ':function(_0x250082,_0x4c6912){return _0x250082||_0x4c6912;},'BddEu':function(_0x4db07e,_0x43b975){return _0x4db07e||_0x43b975;},'RKMML':function(_0x55c60a,_0x41dfae){return _0x55c60a||_0x41dfae;},'QCnWV':_0x59f128(0x1fa),'FAQBa':_0x59f128(0x22b)},_0x4e479b=_0x1c3c92[_0x59f128(0x1b0)](_0xfad901[_0x59f128(0x219)])[_0x59f128(0x232)](_0x5de7d2)[_0x59f128(0x19f)](_0xfad901[_0x59f128(0x246)]),_0x4c8301={'uin':_0x4f0c01,'passwordMd5':_0x4e479b,'step':_0xfad901[_0x59f128(0x1e0)](_0x309b6a,_0x1b3ce3)&&_0x594da4?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xfad901[_0x59f128(0x1ad)](_0x309b6a,''),'proofWaterRand':_0xfad901[_0x59f128(0x238)](_0x1b3ce3,''),'proofWaterSid':_0xfad901['RKMML'](_0x594da4,'')};await this[_0x59f128(0x1f5)]['getLoginList'](),await sleep(0x3e8);const _0x32e90c=await this[_0x59f128(0x1f5)][_0x59f128(0x1c3)](_0x4c8301);switch(_0x32e90c[_0x59f128(0x193)]){case'0':{break;}case _0xfad901[_0x59f128(0x21a)]:{break;}case'4':case _0xfad901[_0x59f128(0x1ae)]:default:}}async[_0x156443(0x1be)](){const _0x16c393=_0x156443,_0x332eb4=await this[_0x16c393(0x1f5)][_0x16c393(0x220)]();return _0x332eb4;}}function _0x242d(){const _0x582a1e=['NodeIGlobalAdapter','now','base64','uid','jQDJR','init','BuddyListener','tMPPu','QCnWV','forEach','stringify','data:image/png;base64,','onLoginSuccessFuncList','addKernelMsgListener','getLoginList','dataPathGlobal','curVersion','addKernelProfileListener','快速登录失败\x20','addKernelGroupListener','getBuddyService','Windows\x2010\x20Pro','infos','msgId','consoleLogLevel','140022013','NKPnc','last_message_time','登录失败','_GW_B','./nt_qq/global','hex','update','onUserLoggedIn','21EBfnwr','sceneId','pdrGr',')已登录,无法重复登录','BddEu','NodeIKernelLoginListener','EEqZc','nZEXm','addListener','1ENYLAd','当前账号(','then','fJctO','NodeIQQNTWrapperEngine','2722008vkuwWf','账号设备(','NodeIKernelGroupListener','addKernelLoginListener','oFxuV','onLineDev','onLoginFailed','eCltQ','fileLog','onRecvSysMsg','qrLogin','find','./NapCat/data','uHjCQ','constructor','NodeIDispatcherAdapter','快速登录不可用','devUid','set','errMsg','recallTime','replace','239924sNIMDD','result','zIICc','kVELz','delete','length','cDnRq','floor','read','V1_WIN_NQ_','proxyHandler','session','./.config/QQ','digest','1415GCahDK','wpvFX','onMemberListChange','md5','PoMtb','resolve','undefined','没有可快速登录的QQ号','groupCode','loginErrorInfo','init\x20failed\x20','wAhAk','TqnVz','ZydJJ','FAQBa','AqHuB','createHash','onProfileDetailInfoChanged','map','FDQZC','NodeIKernelSessionListener','catch','NodeIKernelMsgListener','has','createMemberListScene','packet_sent','quickLoginWithUin','fileLogLevel','message_received','initConfig','getQuickLoginList',')\x20在线状态变更','onSessionInitComplete','541473GSskND','getMsgByLongId','passwordLogin','QgjaZ','updateMsg','eDfup','ZNjys','getGroupService','getQRCodePicture','-v2.db','groupMemberList_MainWindow','onRecvMsg','GroupListener','onGroupListUpdate','ndPik','onSelfStatusChanged','NYaue','tipsTitle','\x20has\x20no\x20method\x20','quickLogin','xVsCv','onMemberInfoChange','initDataListener','NodeIKernelBuddyListener','engine','DXZqM','676iERIVk','getMsgService','name','onLoginSuccess','ProfileListener','HKXgz','startNT','qrcodeUrl','xHLUz','rgNTJ','split','loginListener','packet_received','onQRCodeGetPicture','addKernelBuddyListener','jXRBv','cUnOV','启动失败:\x20','initSession','NodeIDependsAdapter','isDelete','bmVQT','本账号数据/缓存目录:','hmubS','ONxhv','OpDYC','loginService','message_sent','buddyList','consoleLog','pngBase64QrcodeData','140022008','util','tipsDesc','dataPath','EOLjh','GMjSc','tsqoZ','QVYIj','215432nTTxzq','SLSfc','aKGTj','clientType','uin','getNextMemberList','get','assign','memberCount','454770UOReac','FAVVp','28787MbqCJn','NodeIKernelLoginService','isQuickLogin','mkdirSync','1100DzgNEq'];_0x242d=function(){return _0x582a1e;};return _0x242d();}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index ad78f212..efcfba01 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x446591,_0x5d404e){const _0x2ca88e=_0x3c07,_0x93bb35=_0x446591();while(!![]){try{const _0x1af2ba=parseInt(_0x2ca88e(0x10d))/0x1*(-parseInt(_0x2ca88e(0x116))/0x2)+-parseInt(_0x2ca88e(0x114))/0x3*(parseInt(_0x2ca88e(0x11c))/0x4)+parseInt(_0x2ca88e(0x11a))/0x5*(-parseInt(_0x2ca88e(0x110))/0x6)+parseInt(_0x2ca88e(0x10a))/0x7*(parseInt(_0x2ca88e(0x10f))/0x8)+parseInt(_0x2ca88e(0x117))/0x9*(parseInt(_0x2ca88e(0x107))/0xa)+-parseInt(_0x2ca88e(0x105))/0xb+-parseInt(_0x2ca88e(0x113))/0xc*(-parseInt(_0x2ca88e(0x10e))/0xd);if(_0x1af2ba===_0x5d404e)break;else _0x93bb35['push'](_0x93bb35['shift']());}catch(_0x1e5948){_0x93bb35['push'](_0x93bb35['shift']());}}}(_0x1f6a,0x7fac9));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 _0x3c07(_0x132f72,_0x2617f1){const _0x1f6a5d=_0x1f6a();return _0x3c07=function(_0x3c074c,_0x4da471){_0x3c074c=_0x3c074c-0x102;let _0x41ff1c=_0x1f6a5d[_0x3c074c];return _0x41ff1c;},_0x3c07(_0x132f72,_0x2617f1);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x1f6a(){const _0x2813d0=['62440GYWVKR','2410806gbtMrK','delete','groupCode','18449292GGVBZx','423keXMOB','length','4aHwBSj','9QvoLbL','from','values','10axTSzo','UGaNP','19016WSXAwg','set','forEach','NrlJX','find','5465779ypKeNo','get','1840010uZrUUK','getGroupMembers','PoiMT','798lXnkHo','toString','uin','58727qOYmqz','13hbdxik'];_0x1f6a=function(){return _0x2813d0;};return _0x1f6a();}export const groups=new Map();export function deleteGroup(_0x438a5d){const _0xd78ab9=_0x3c07;groups['delete'](_0x438a5d),groupMembers[_0xd78ab9(0x111)](_0x438a5d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x464a19){const _0x3fe95c=_0x3c07,_0x2a7ec5={'NrlJX':function(_0x372f59,_0xb312c3){return _0x372f59(_0xb312c3);}};_0x464a19=_0x464a19[_0x3fe95c(0x10b)]();if(_0x2a7ec5[_0x3fe95c(0x103)](isNumeric,_0x464a19)){const _0x3bd93e=Array['from'](friends[_0x3fe95c(0x119)]());return _0x3bd93e['find'](_0x27577d=>_0x27577d['uin']===_0x464a19);}else return friends[_0x3fe95c(0x106)](_0x464a19);}export async function getGroup(_0x481a3f){const _0x55eef0=_0x3c07;let _0xd34e40=groups[_0x55eef0(0x106)](_0x481a3f[_0x55eef0(0x10b)]());if(!_0xd34e40)try{const _0x167ff4=await NTQQGroupApi['getGroups']();_0x167ff4[_0x55eef0(0x115)]&&_0x167ff4[_0x55eef0(0x102)](_0x5451b1=>{const _0x482400=_0x55eef0;groups[_0x482400(0x11d)](_0x5451b1[_0x482400(0x112)],_0x5451b1);});}catch(_0x57a059){return undefined;}return _0xd34e40=groups[_0x55eef0(0x106)](_0x481a3f[_0x55eef0(0x10b)]()),_0xd34e40;}export async function getGroupMember(_0x5db336,_0x546b73){const _0x18f524=_0x3c07,_0x4cf117={'nwFNw':function(_0x56cb86,_0x2e5b63){return _0x56cb86(_0x2e5b63);},'PoiMT':function(_0x51d416){return _0x51d416();}};_0x5db336=_0x5db336[_0x18f524(0x10b)](),_0x546b73=_0x546b73[_0x18f524(0x10b)]();let _0x513b1a=groupMembers[_0x18f524(0x106)](_0x5db336);if(!_0x513b1a)try{_0x513b1a=await NTQQGroupApi[_0x18f524(0x108)](_0x5db336),groupMembers[_0x18f524(0x11d)](_0x5db336,_0x513b1a);}catch(_0x121162){return null;}const _0x1a0778=()=>{const _0x394b43=_0x18f524;let _0x25b156=undefined;return _0x4cf117['nwFNw'](isNumeric,_0x546b73)?_0x25b156=Array[_0x394b43(0x118)](_0x513b1a['values']())[_0x394b43(0x104)](_0x4f9c1f=>_0x4f9c1f[_0x394b43(0x10c)]===_0x546b73):_0x25b156=_0x513b1a[_0x394b43(0x106)](_0x546b73),_0x25b156;};let _0x6f3a81=_0x1a0778();return!_0x6f3a81&&(_0x513b1a=await NTQQGroupApi[_0x18f524(0x108)](_0x5db336),_0x6f3a81=_0x4cf117[_0x18f524(0x109)](_0x1a0778)),_0x6f3a81;}export const uid2UinMap={};export function getUidByUin(_0x5a3290){const _0x1c7353=_0x3c07,_0x2789cc={'UGaNP':function(_0x3930bf,_0x218a1a){return _0x3930bf===_0x218a1a;}};for(const _0x21ea61 in uid2UinMap){if(_0x2789cc[_0x1c7353(0x11b)](uid2UinMap[_0x21ea61],_0x5a3290))return _0x21ea61;}}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 +const _0x2f143c=_0x4db3;(function(_0x6dcd91,_0x29429b){const _0x4a8a26=_0x4db3,_0x4fb3fa=_0x6dcd91();while(!![]){try{const _0x464690=parseInt(_0x4a8a26(0x180))/0x1*(-parseInt(_0x4a8a26(0x17f))/0x2)+parseInt(_0x4a8a26(0x18f))/0x3+-parseInt(_0x4a8a26(0x196))/0x4+parseInt(_0x4a8a26(0x184))/0x5*(-parseInt(_0x4a8a26(0x19a))/0x6)+-parseInt(_0x4a8a26(0x18d))/0x7+-parseInt(_0x4a8a26(0x190))/0x8*(-parseInt(_0x4a8a26(0x188))/0x9)+parseInt(_0x4a8a26(0x18b))/0xa*(parseInt(_0x4a8a26(0x187))/0xb);if(_0x464690===_0x29429b)break;else _0x4fb3fa['push'](_0x4fb3fa['shift']());}catch(_0x337e37){_0x4fb3fa['push'](_0x4fb3fa['shift']());}}}(_0x5784,0x5eba8));import{isNumeric}from'@/common/utils/helper';function _0x4db3(_0x48cfa0,_0x3a59e5){const _0x578412=_0x5784();return _0x4db3=function(_0x4db31f,_0x27eebd){_0x4db31f=_0x4db31f-0x17f;let _0x4f003c=_0x578412[_0x4db31f];return _0x4f003c;},_0x4db3(_0x48cfa0,_0x3a59e5);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x5784(){const _0x42541c=['getGroups','groupCode','set','15765qlBhPu','get','delete','418RUuFVk','2107962BErqQv','forEach','length','459870rTLZoE','RJZnh','5085563AexJrI','uin','1060161rqBOtm','16ARissP','NapCat未能正常启动,请检查日志查看错误','from','zdmFc','getGroupMembers','find','2468796ZDIKVR','values','BqMqQ','gEpWX','846MopRqQ','toString','9248sSCRwC','85WiAhpP'];_0x5784=function(){return _0x42541c;};return _0x5784();}export const groups=new Map();export function deleteGroup(_0x429f1e){const _0x4ef735=_0x4db3;groups['delete'](_0x429f1e),groupMembers[_0x4ef735(0x186)](_0x429f1e);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x2f143c(0x191)};export async function getFriend(_0x2b2ada){const _0x568b3d=_0x2f143c,_0x376f2c={'BqMqQ':function(_0x29fa15,_0x4472a5){return _0x29fa15(_0x4472a5);}};_0x2b2ada=_0x2b2ada['toString']();if(_0x376f2c[_0x568b3d(0x198)](isNumeric,_0x2b2ada)){const _0x1614c3=Array[_0x568b3d(0x192)](friends[_0x568b3d(0x197)]());return _0x1614c3[_0x568b3d(0x195)](_0x372792=>_0x372792[_0x568b3d(0x18e)]===_0x2b2ada);}else return friends[_0x568b3d(0x185)](_0x2b2ada);}export async function getGroup(_0x308df6){const _0xb82bdc=_0x2f143c;let _0x482e6e=groups[_0xb82bdc(0x185)](_0x308df6[_0xb82bdc(0x19b)]());if(!_0x482e6e)try{const _0x3de901=await NTQQGroupApi[_0xb82bdc(0x181)]();_0x3de901[_0xb82bdc(0x18a)]&&_0x3de901[_0xb82bdc(0x189)](_0x3e0e1c=>{const _0x3933f4=_0xb82bdc;groups[_0x3933f4(0x183)](_0x3e0e1c[_0x3933f4(0x182)],_0x3e0e1c);});}catch(_0x52729b){return undefined;}return _0x482e6e=groups['get'](_0x308df6[_0xb82bdc(0x19b)]()),_0x482e6e;}export async function getGroupMember(_0x5dab24,_0x158535){const _0x33cfc0=_0x2f143c,_0x922ff7={'RJZnh':function(_0x3db2aa,_0x38db5b){return _0x3db2aa(_0x38db5b);},'zdmFc':function(_0x4a96cd){return _0x4a96cd();}};_0x5dab24=_0x5dab24['toString'](),_0x158535=_0x158535[_0x33cfc0(0x19b)]();let _0x34f961=groupMembers[_0x33cfc0(0x185)](_0x5dab24);if(!_0x34f961)try{_0x34f961=await NTQQGroupApi[_0x33cfc0(0x194)](_0x5dab24),groupMembers[_0x33cfc0(0x183)](_0x5dab24,_0x34f961);}catch(_0x4bd608){return null;}const _0x42a152=()=>{const _0x3790ee=_0x33cfc0;let _0x33f1de=undefined;return _0x922ff7[_0x3790ee(0x18c)](isNumeric,_0x158535)?_0x33f1de=Array[_0x3790ee(0x192)](_0x34f961[_0x3790ee(0x197)]())['find'](_0x91b924=>_0x91b924[_0x3790ee(0x18e)]===_0x158535):_0x33f1de=_0x34f961[_0x3790ee(0x185)](_0x158535),_0x33f1de;};let _0x5d9468=_0x42a152();return!_0x5d9468&&(_0x34f961=await NTQQGroupApi['getGroupMembers'](_0x5dab24),_0x5d9468=_0x922ff7[_0x33cfc0(0x193)](_0x42a152)),_0x5d9468;}export const uid2UinMap={};export function getUidByUin(_0x27ee8c){const _0x5cc43c=_0x2f143c,_0x1d3f59={'gEpWX':function(_0x3ceb76,_0xb8a37a){return _0x3ceb76===_0xb8a37a;}};for(const _0x1d348e in uid2UinMap){if(_0x1d3f59[_0x5cc43c(0x199)](uid2UinMap[_0x1d348e],_0x27ee8c))return _0x1d348e;}}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 508abb2f..39fc3dd8 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0xbedce4,_0x2a3470){var _0x5a0747=_0x1410,_0x21b856=_0xbedce4();while(!![]){try{var _0x17ac79=parseInt(_0x5a0747(0xce))/0x1+parseInt(_0x5a0747(0xd7))/0x2+parseInt(_0x5a0747(0xdb))/0x3+parseInt(_0x5a0747(0xd9))/0x4+parseInt(_0x5a0747(0xdd))/0x5*(-parseInt(_0x5a0747(0xd0))/0x6)+-parseInt(_0x5a0747(0xd3))/0x7*(-parseInt(_0x5a0747(0xd2))/0x8)+-parseInt(_0x5a0747(0xd4))/0x9*(parseInt(_0x5a0747(0xd1))/0xa);if(_0x17ac79===_0x2a3470)break;else _0x21b856['push'](_0x21b856['shift']());}catch(_0x51cf1b){_0x21b856['push'](_0x21b856['shift']());}}}(_0x5bce,0x5216b));;function _0x5bce(){var _0xbdecfb=['Gvqla','946340VDtFQP','SdQpS','1811972bwCEKl','DOCUMENT','1790004JpvOxy','VIDEO','5gYCmjU','GEqsc','AUDIO','278440ZAQauz','ghWZa','5466ZRjqrk','90locihK','4873784IEKehW','7uZYzHc','2073348LDRqzc','OTHER'];_0x5bce=function(){return _0xbdecfb;};return _0x5bce();}function _0x1410(_0x190c4e,_0x5aa5ce){var _0x5bce52=_0x5bce();return _0x1410=function(_0x1410f9,_0x4e2499){_0x1410f9=_0x1410f9-0xcc;var _0x4e4f76=_0x5bce52[_0x1410f9];return _0x4e4f76;},_0x1410(_0x190c4e,_0x5aa5ce);}export var CacheFileType;(function(_0x2da895){var _0x23ce21=_0x1410,_0x233021={'ghWZa':'IMAGE','GEqsc':_0x23ce21(0xdc),'Gvqla':_0x23ce21(0xcd),'SdQpS':_0x23ce21(0xda),'sRkkS':_0x23ce21(0xd5)};_0x2da895[_0x2da895[_0x233021['ghWZa']]=0x0]=_0x233021[_0x23ce21(0xcf)],_0x2da895[_0x2da895['VIDEO']=0x1]=_0x233021[_0x23ce21(0xcc)],_0x2da895[_0x2da895[_0x233021[_0x23ce21(0xd6)]]=0x2]=_0x233021[_0x23ce21(0xd6)],_0x2da895[_0x2da895[_0x23ce21(0xda)]=0x3]=_0x233021[_0x23ce21(0xd8)],_0x2da895[_0x2da895[_0x233021['sRkkS']]=0x4]=_0x233021['sRkkS'];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x4b175e,_0x452713){var _0x404486=_0x35b6,_0x4481cc=_0x4b175e();while(!![]){try{var _0x40b0ac=parseInt(_0x404486(0x1c9))/0x1+-parseInt(_0x404486(0x1ce))/0x2*(parseInt(_0x404486(0x1cb))/0x3)+-parseInt(_0x404486(0x1c5))/0x4+parseInt(_0x404486(0x1c3))/0x5*(parseInt(_0x404486(0x1ca))/0x6)+parseInt(_0x404486(0x1c7))/0x7*(parseInt(_0x404486(0x1bf))/0x8)+parseInt(_0x404486(0x1bb))/0x9*(-parseInt(_0x404486(0x1cf))/0xa)+parseInt(_0x404486(0x1bd))/0xb*(parseInt(_0x404486(0x1cd))/0xc);if(_0x40b0ac===_0x452713)break;else _0x4481cc['push'](_0x4481cc['shift']());}catch(_0x1e1964){_0x4481cc['push'](_0x4481cc['shift']());}}}(_0x1730,0x4cfc6));;function _0x1730(){var _0x386f4a=['27hhgRWY','sITvM','967087wLIDnb','split','8Auensn','qfLgq','AUDIO','VIDEO','10MCZkne','IMAGE','1574844WDzRid','DOCUMENT','349937NbFSsB','OTHER','386302HKiqRN','838368fymGmy','3fwpTnC','RjXbr','132AufSvg','737076fvznmL','2017510uDaNMA'];_0x1730=function(){return _0x386f4a;};return _0x1730();}function _0x35b6(_0x377741,_0x6f7eb5){var _0x1730f1=_0x1730();return _0x35b6=function(_0x35b67e,_0x23361f){_0x35b67e=_0x35b67e-0x1bb;var _0x427dc3=_0x1730f1[_0x35b67e];return _0x427dc3;},_0x35b6(_0x377741,_0x6f7eb5);}export var CacheFileType;(function(_0x4459eb){var _0xc5079e=_0x35b6,_0x1e9f17={'RjXbr':'1|2|4|3|0','qfLgq':_0xc5079e(0x1c8),'VHPiP':_0xc5079e(0x1c4),'sITvM':_0xc5079e(0x1c2),'ioWiG':_0xc5079e(0x1c6),'ytjzY':_0xc5079e(0x1c1)},_0x2549df=_0x1e9f17[_0xc5079e(0x1cc)][_0xc5079e(0x1be)]('|'),_0x5eedeb=0x0;while(!![]){switch(_0x2549df[_0x5eedeb++]){case'0':_0x4459eb[_0x4459eb[_0x1e9f17[_0xc5079e(0x1c0)]]=0x4]=_0x1e9f17['qfLgq'];continue;case'1':_0x4459eb[_0x4459eb[_0xc5079e(0x1c4)]=0x0]=_0x1e9f17['VHPiP'];continue;case'2':_0x4459eb[_0x4459eb[_0x1e9f17[_0xc5079e(0x1bc)]]=0x1]=_0x1e9f17[_0xc5079e(0x1bc)];continue;case'3':_0x4459eb[_0x4459eb[_0x1e9f17['ioWiG']]=0x3]=_0xc5079e(0x1c6);continue;case'4':_0x4459eb[_0x4459eb[_0x1e9f17['ytjzY']]=0x2]=_0x1e9f17['ytjzY'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ 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 31620ff6..8e735dde 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x4c376c=_0x4ae8;(function(_0x2a5c81,_0x524ff4){const _0x394b7a=_0x4ae8,_0x8270a7=_0x2a5c81();while(!![]){try{const _0x4d13e2=parseInt(_0x394b7a(0x19c))/0x1+parseInt(_0x394b7a(0x1ad))/0x2*(-parseInt(_0x394b7a(0x170))/0x3)+-parseInt(_0x394b7a(0x1a3))/0x4*(parseInt(_0x394b7a(0x1b2))/0x5)+-parseInt(_0x394b7a(0x175))/0x6+-parseInt(_0x394b7a(0x189))/0x7*(parseInt(_0x394b7a(0x1b1))/0x8)+-parseInt(_0x394b7a(0x158))/0x9+parseInt(_0x394b7a(0x1a0))/0xa*(parseInt(_0x394b7a(0x1b3))/0xb);if(_0x4d13e2===_0x524ff4)break;else _0x8270a7['push'](_0x8270a7['shift']());}catch(_0x1f8e5b){_0x8270a7['push'](_0x8270a7['shift']());}}}(_0x3499,0x41a72));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5dd3ab}from'node:fs';import _0x37859a 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';function _0x3499(){const _0x5ec7da=['MARKDOWN','pTipf','VIDEO','VtmUz','string','emoji','catch','QEKCZ','6906BuqzDk','dice','Npwqa','USXYd','width','1495674GeNnTJ','stThm','QRSJe','MFACE','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','SwHNH','face','qqUaG','find','QDes','copyFile','ARK','Vziky','获取视频信息失败','语音转换失败,\x20请检查语音文件是否正常','ptt','stringify','QSid','UTFlq','PIC','7IqLbXP','time','mxDEb','MZduk','dirname','ZZrdj','gApVM','set','lXHuW','PNcld','error','PTT','文件异常,大小为0','join','[骰子]','[商城表情]','zoIsZ','FILE','AniStickerPackId','295084dxpixV','notAt','_0.png','lKsPI','14570mgMvkI','KYxXY','wzMda','4lTJxiA','YCLSq','jpg','REPLY','USskn','sep','AniStickerType','uploadFile','Bot\x20Test','height','192mLzBer','end','Ori','djzzs','1033080tcRUeA','2078305NEPQob','9933aGmtgR','getImageSize','caRbs','toString','2940966rZFtpX','pic','TEXT','size','file','https://www.bilibili.com/','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AwoBN','replace','nItjL','XcgVi','sysface','kaisR','unlink','FACE','then'];_0x3499=function(){return _0x5ec7da;};return _0x3499();}import _0x31122b from'./face_config.json';import*as _0xc1049c from'node:path';function _0x4ae8(_0x75d879,_0x3b5186){const _0x3499d4=_0x3499();return _0x4ae8=function(_0x4ae869,_0x3ec659){_0x4ae869=_0x4ae869-0x157;let _0x4d7d8a=_0x3499d4[_0x4ae869];return _0x4d7d8a;},_0x4ae8(_0x75d879,_0x3b5186);}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0xbd02f7){const _0x451bb1=_0x4ae8;return{'elementType':ElementType[_0x451bb1(0x15a)],'elementId':'','textElement':{'content':_0xbd02f7,'atType':AtType[_0x451bb1(0x19d)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x308f16,_0x4ae941,_0x375a2c,_0xbc933e){const _0x566077=_0x4ae8;return{'elementType':ElementType[_0x566077(0x15a)],'elementId':'','textElement':{'content':'@'+_0xbc933e,'atType':_0x375a2c,'atUid':_0x308f16,'atTinyId':'','atNtUid':_0x4ae941}};}static['reply'](_0x571798,_0x4221a7,_0x21d89a,_0x453235){const _0x397a68=_0x4ae8;return{'elementType':ElementType[_0x397a68(0x1a6)],'elementId':'','replyElement':{'replayMsgSeq':_0x571798,'replayMsgId':_0x4221a7,'senderUin':_0x21d89a,'senderUinStr':_0x453235}};}static async[_0x4c376c(0x159)](_0x349551,_0x22b664='',_0x300715=0x0){const _0x320995=_0x4c376c,_0x7992e1={'mxDEb':function(_0x3415fc,_0x3def41){return _0x3415fc===_0x3def41;},'YCLSq':_0x320995(0x195),'XcgVi':function(_0x49e6b0,_0xa94d22){return _0x49e6b0(_0xa94d22);}},{md5:_0x593003,fileName:_0x539b4a,path:_0x764d2a,fileSize:_0x175c81}=await NTQQFileApi['uploadFile'](_0x349551,ElementType['PIC'],_0x300715);if(_0x7992e1[_0x320995(0x18b)](_0x175c81,0x0))throw _0x7992e1[_0x320995(0x1a4)];const _0xc3ef35=await NTQQFileApi[_0x320995(0x1b4)](_0x349551),_0x2dfa7b={'md5HexStr':_0x593003,'fileSize':_0x175c81[_0x320995(0x157)](),'picWidth':_0xc3ef35?.[_0x320995(0x174)],'picHeight':_0xc3ef35?.[_0x320995(0x1ac)],'fileName':_0x539b4a,'sourcePath':_0x764d2a,'original':!![],'picType':_0x7992e1[_0x320995(0x162)](isGIF,_0x349551)?PicType['gif']:PicType[_0x320995(0x1a5)],'picSubType':_0x300715,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x22b664};return{'elementType':ElementType[_0x320995(0x188)],'elementId':'','picElement':_0x2dfa7b};}static async[_0x4c376c(0x15c)](_0x24d309,_0x2937d1=''){const _0x2bf3e7=_0x4c376c,_0x3923={'Npwqa':function(_0x34022e,_0x4f84cc){return _0x34022e===_0x4f84cc;},'lKsPI':_0x2bf3e7(0x195),'SwHNH':function(_0x45d534,_0x3ef806){return _0x45d534||_0x3ef806;}},{md5:_0x2ec3ea,fileName:_0x6c539,path:_0x6a0269,fileSize:_0x52d82e}=await NTQQFileApi[_0x2bf3e7(0x1aa)](_0x24d309,ElementType['FILE']);if(_0x3923[_0x2bf3e7(0x172)](_0x52d82e,0x0))throw _0x3923[_0x2bf3e7(0x19f)];const _0x547062={'elementType':ElementType[_0x2bf3e7(0x19a)],'elementId':'','fileElement':{'fileName':_0x3923[_0x2bf3e7(0x17a)](_0x2937d1,_0x6c539),'filePath':_0x6a0269,'fileSize':_0x52d82e['toString']()}};return _0x547062;}static async['video'](_0x597df2,_0x58f261='',_0x180bcf=''){const _0x394226=_0x4c376c,_0x105279={'QRSJe':'获取视频封面失败,使用默认封面','MZduk':_0x394226(0x1ae),'AwoBN':function(_0xf2ee18,_0xa5ea4b){return _0xf2ee18+_0xa5ea4b;},'nItjL':function(_0x349cc1,_0x25864b){return _0x349cc1===_0x25864b;},'Vziky':_0x394226(0x195),'PNcld':function(_0x434d07,_0x393839){return _0x434d07(_0x393839);},'KYxXY':function(_0xf4d408,_0x416803,_0x3d684b){return _0xf4d408(_0x416803,_0x3d684b);},'UTFlq':_0x394226(0x182),'stThm':function(_0x55fb0b,_0x399352){return _0x55fb0b||_0x399352;},'gApVM':function(_0x167c21,_0x11bf86){return _0x167c21+_0x11bf86;}},{fileName:_0x25f506,path:_0xd3542d,fileSize:_0x16be27,md5:_0x130804}=await NTQQFileApi[_0x394226(0x1aa)](_0x597df2,ElementType[_0x394226(0x16a)]);if(_0x105279[_0x394226(0x161)](_0x16be27,0x0))throw _0x105279[_0x394226(0x181)];let _0x225f8b=_0xd3542d[_0x394226(0x160)](_0xc1049c['sep']+_0x394226(0x1af)+_0xc1049c[_0x394226(0x1a8)],_0xc1049c['sep']+'Thumb'+_0xc1049c[_0x394226(0x1a8)]);_0x225f8b=_0xc1049c[_0x394226(0x18d)](_0x225f8b);let _0x5499d9={'width':0x780,'height':0x438,'time':0xf,'format':'mp4','size':_0x16be27,'filePath':_0x597df2};try{_0x5499d9=await _0x105279[_0x394226(0x192)](getVideoInfo,_0xd3542d);}catch(_0x334eab){_0x105279[_0x394226(0x1a1)](logError,_0x105279[_0x394226(0x187)],_0x334eab);}const _0x1bedf1=new Promise((_0x189493,_0x233eac)=>{const _0x371f3a=_0x394226,_0x41dc74={'qqUaG':function(_0x42af3f,_0x2b0a0f){return _0x42af3f(_0x2b0a0f);},'caRbs':_0x105279[_0x371f3a(0x177)]},_0x84c09=_0x130804+_0x371f3a(0x19e),_0x4545a6=_0xc1049c[_0x371f3a(0x196)](_0x225f8b,_0x84c09);_0x37859a(_0x597df2)['on'](_0x105279[_0x371f3a(0x18c)],()=>{})['on'](_0x371f3a(0x193),_0xa951d=>{const _0x5de922=_0x371f3a;logDebug(_0x41dc74[_0x5de922(0x1b5)],_0xa951d),_0x180bcf?_0x5dd3ab[_0x5de922(0x17f)](_0x180bcf,_0x4545a6)[_0x5de922(0x167)](()=>{const _0x53ebcd=_0x5de922;_0x41dc74[_0x53ebcd(0x17c)](_0x189493,_0x4545a6);})[_0x5de922(0x16e)](_0x233eac):_0x5dd3ab['writeFile'](_0x4545a6,defaultVideoThumb)[_0x5de922(0x167)](()=>{_0x189493(_0x4545a6);})[_0x5de922(0x16e)](_0x233eac);})['screenshots']({'timestamps':[0x0],'filename':_0x84c09,'folder':_0x225f8b,'size':_0x105279[_0x371f3a(0x15f)](_0x5499d9['width'],'x')+_0x5499d9[_0x371f3a(0x1ac)]})['on'](_0x371f3a(0x1ae),()=>{_0x189493(_0x4545a6);});}),_0x4ed22d=new Map(),_0x6780df=await _0x1bedf1,_0x352518=(await _0x5dd3ab['stat'](_0x6780df))[_0x394226(0x15b)];_0x4ed22d[_0x394226(0x190)](0x0,_0x6780df);const _0x34b918=await _0x105279[_0x394226(0x192)](calculateFileMD5,_0x6780df),_0x3a215a={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x105279[_0x394226(0x176)](_0x58f261,_0x25f506),'filePath':_0xd3542d,'videoMd5':_0x130804,'thumbMd5':_0x34b918,'fileTime':_0x5499d9[_0x394226(0x18a)],'thumbPath':_0x4ed22d,'thumbSize':_0x352518,'thumbWidth':_0x5499d9['width'],'thumbHeight':_0x5499d9[_0x394226(0x1ac)],'fileSize':_0x105279[_0x394226(0x18f)]('',_0x16be27)}};return _0x3a215a;}static async[_0x4c376c(0x184)](_0x107fa9){const _0x130a2f=_0x4c376c,_0xd0082c={'djzzs':function(_0x216e6d,_0x305b1d){return _0x216e6d(_0x305b1d);},'xEeSg':_0x130a2f(0x183),'VtmUz':function(_0xee453f,_0x444065){return _0xee453f===_0x444065;},'ZZrdj':_0x130a2f(0x195),'lXHuW':function(_0x391e1a,_0x8f1e13){return _0x391e1a||_0x8f1e13;}},{converted:_0x6c9198,path:_0x7f934b,duration:_0x31e5db}=await _0xd0082c[_0x130a2f(0x1b0)](encodeSilk,_0x107fa9);if(!_0x7f934b)throw _0xd0082c['xEeSg'];const {md5:_0x5520ed,fileName:_0x215e4a,path:_0x224f8d,fileSize:_0x267086}=await NTQQFileApi[_0x130a2f(0x1aa)](_0x7f934b,ElementType[_0x130a2f(0x194)]);if(_0xd0082c[_0x130a2f(0x16b)](_0x267086,0x0))throw _0xd0082c[_0x130a2f(0x18e)];return _0x6c9198&&_0x5dd3ab[_0x130a2f(0x165)](_0x7f934b)[_0x130a2f(0x167)](),{'elementType':ElementType[_0x130a2f(0x194)],'elementId':'','pttElement':{'fileName':_0x215e4a,'filePath':_0x224f8d,'md5HexStr':_0x5520ed,'fileSize':_0x267086,'duration':_0xd0082c[_0x130a2f(0x191)](_0x31e5db,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[_0x4c376c(0x17b)](_0x340e19){const _0x1fae96=_0x4c376c,_0x41d5f1={'ZNAzq':function(_0x454d4b,_0x3d2561){return _0x454d4b(_0x3d2561);},'USXYd':function(_0x5444c5,_0x527987){return _0x5444c5>=_0x527987;}},_0x36847d=_0x31122b[_0x1fae96(0x163)],_0x4e61f7=_0x31122b[_0x1fae96(0x16d)],_0x750918=_0x36847d[_0x1fae96(0x17d)](_0x4b1bec=>_0x4b1bec[_0x1fae96(0x186)]===_0x340e19[_0x1fae96(0x157)]());_0x340e19=_0x41d5f1['ZNAzq'](parseInt,_0x340e19[_0x1fae96(0x157)]());let _0x17fa1b=0x1;return _0x41d5f1[_0x1fae96(0x173)](_0x340e19,0xde)&&(_0x17fa1b=0x2),_0x750918['AniStickerType']&&(_0x17fa1b=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x340e19,'faceType':_0x17fa1b,'faceText':_0x750918[_0x1fae96(0x17e)],'stickerId':_0x750918['AniStickerId'],'stickerType':_0x750918[_0x1fae96(0x1a9)],'packId':_0x750918[_0x1fae96(0x19b)],'sourceType':0x1}};}static['mface'](_0x823f69,_0x2c93fd,_0x1eb02e,_0x1f9f7a){const _0x519a85=_0x4c376c,_0x52141d={'QEKCZ':_0x519a85(0x198)};return{'elementType':ElementType[_0x519a85(0x178)],'marketFaceElement':{'emojiPackageId':_0x823f69,'emojiId':_0x2c93fd,'key':_0x1eb02e,'faceName':_0x1f9f7a||mFaceCache['get'](_0x2c93fd)||_0x52141d[_0x519a85(0x16f)]}};}static['dice'](_0x5546a5){const _0x18d323=_0x4c376c,_0x1d6392={'USskn':_0x18d323(0x197)};return{'elementType':ElementType[_0x18d323(0x166)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x18d323(0x171)],'faceType':FaceType['dice'],'faceText':_0x1d6392[_0x18d323(0x1a7)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x135192){const _0x42edb7=_0x4c376c,_0x3af444={'pTipf':'[包剪锤]'};return{'elementType':ElementType[_0x42edb7(0x166)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3af444[_0x42edb7(0x169)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x11ecdf){const _0x18fd94=_0x4c376c,_0x15bd05={'wzMda':function(_0x1fbd74,_0x4d93e5){return _0x1fbd74!==_0x4d93e5;}};return _0x15bd05[_0x18fd94(0x1a2)](typeof _0x11ecdf,_0x18fd94(0x16c))&&(_0x11ecdf=JSON[_0x18fd94(0x185)](_0x11ecdf)),{'elementType':ElementType[_0x18fd94(0x180)],'elementId':'','arkElement':{'bytesData':_0x11ecdf,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x5ce503){const _0x1e9ee0=_0x4c376c;return{'elementType':ElementType[_0x1e9ee0(0x168)],'elementId':'','markdownElement':{'content':_0x5ce503}};}static async['miniapp'](){const _0xbe2f13=_0x4c376c,_0x19b30a={'OeIsP':_0xbe2f13(0x1ab),'kaisR':_0xbe2f13(0x15d),'zoIsZ':_0xbe2f13(0x179)};let _0x1a90fb=await SignMiniApp({'prompt':_0x19b30a['OeIsP'],'title':_0x19b30a['OeIsP'],'preview':_0xbe2f13(0x15e),'jumpUrl':_0x19b30a[_0xbe2f13(0x164)],'tag':_0x19b30a['OeIsP'],'tagIcon':_0x19b30a[_0xbe2f13(0x199)],'source':_0x19b30a['OeIsP'],'sourcelogo':_0xbe2f13(0x179)});return{'elementType':ElementType[_0xbe2f13(0x180)],'elementId':'','arkElement':{'bytesData':_0x1a90fb,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x46ff16=_0x2671;(function(_0x31d478,_0x522965){const _0x5a53c8=_0x2671,_0xed52ed=_0x31d478();while(!![]){try{const _0x431ea1=parseInt(_0x5a53c8(0x11b))/0x1*(parseInt(_0x5a53c8(0x12d))/0x2)+-parseInt(_0x5a53c8(0x100))/0x3+parseInt(_0x5a53c8(0x138))/0x4*(-parseInt(_0x5a53c8(0x11a))/0x5)+parseInt(_0x5a53c8(0x10b))/0x6+parseInt(_0x5a53c8(0x137))/0x7+-parseInt(_0x5a53c8(0x11f))/0x8+parseInt(_0x5a53c8(0x127))/0x9*(parseInt(_0x5a53c8(0x114))/0xa);if(_0x431ea1===_0x522965)break;else _0xed52ed['push'](_0xed52ed['shift']());}catch(_0x2d4c14){_0xed52ed['push'](_0xed52ed['shift']());}}}(_0x28df,0xe807c));function _0x28df(){const _0x15ec3b=['BouOr','FILE','108ehwnHl','FNrGc','Bot\x20Test','Bsava','video','WbbHK','find','yHvgb','reply','[包剪锤]','110320adlmbn','688072Qzigfv','NTnZf','then','_0.png','PTT','copyFile','TEXT','Rehpb','AniStickerId','catch','dirname','YplsR','toString','writeFile','语音转换失败,\x20请检查语音文件是否正常','ZQRiQ','uploadFile','height','miniapp','end','notAt','HeXkE','biWsV','YFKrC','KXYyo','yxWka','getImageSize','isFYn','time','replace','YIFBh','BQfpQ','ARK','screenshots','get','unlink','msliI','sep','rps','Thumb','AAMUG','XFjyU','ptt','2866584zgObTR','join','获取视频封面失败,使用默认封面','width','mUWjC','text','获取视频信息失败','mp4','sysface','MFACE','stat','5400030XfdJkt','ark','eHfYm','string','MARKDOWN','PUOwz','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','stringify','error','33510LigUJb','AniStickerPackId','UORvq','RPS','[骰子]','gif','5ZaHvfV','15848zLnVCD','AGhRg','dice','https://www.bilibili.com/','2937328cTYsNK','AniStickerType','QSid','[商城表情]','VIDEO','文件异常,大小为0','PIC','FACE','1809vAdCET','REPLY','face','Ori'];_0x28df=function(){return _0x15ec3b;};return _0x28df();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5dbce6}from'node:fs';import _0x5f2e1f 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';function _0x2671(_0x429833,_0x3e0a25){const _0x28df77=_0x28df();return _0x2671=function(_0x2671c7,_0x38449d){_0x2671c7=_0x2671c7-0xf5;let _0x44cb1f=_0x28df77[_0x2671c7];return _0x44cb1f;},_0x2671(_0x429833,_0x3e0a25);}import _0x16b793 from'./face_config.json';import*as _0x4606ba from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x46ff16(0x105)](_0xa14a03){const _0x5a59e7=_0x46ff16;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xa14a03,'atType':AtType[_0x5a59e7(0x14c)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2887d9,_0x1a32c6,_0xa8580,_0x49d824){const _0x13213d=_0x46ff16;return{'elementType':ElementType[_0x13213d(0x13e)],'elementId':'','textElement':{'content':'@'+_0x49d824,'atType':_0xa8580,'atUid':_0x2887d9,'atTinyId':'','atNtUid':_0x1a32c6}};}static[_0x46ff16(0x135)](_0x2049dc,_0x19ca34,_0x21aced,_0x416ea7){const _0x2448ba=_0x46ff16;return{'elementType':ElementType[_0x2448ba(0x128)],'elementId':'','replyElement':{'replayMsgSeq':_0x2049dc,'replayMsgId':_0x19ca34,'senderUin':_0x21aced,'senderUinStr':_0x416ea7}};}static async['pic'](_0x5310a3,_0x1985f9='',_0x30fbf0=0x0){const _0x60e3b=_0x46ff16,_0x3c0e16={'mUWjC':function(_0x4c21b6,_0x201825){return _0x4c21b6===_0x201825;},'AAMUG':_0x60e3b(0x124),'NTnZf':function(_0x33aa33,_0x24a928){return _0x33aa33(_0x24a928);}},{md5:_0x5bb2bf,fileName:_0x1759e2,path:_0x490b91,fileSize:_0x1173b6}=await NTQQFileApi[_0x60e3b(0x148)](_0x5310a3,ElementType[_0x60e3b(0x125)],_0x30fbf0);if(_0x3c0e16[_0x60e3b(0x104)](_0x1173b6,0x0))throw _0x3c0e16[_0x60e3b(0xfd)];const _0x557036=await NTQQFileApi[_0x60e3b(0x152)](_0x5310a3),_0x232de9={'md5HexStr':_0x5bb2bf,'fileSize':_0x1173b6[_0x60e3b(0x144)](),'picWidth':_0x557036?.[_0x60e3b(0x103)],'picHeight':_0x557036?.[_0x60e3b(0x149)],'fileName':_0x1759e2,'sourcePath':_0x490b91,'original':!![],'picType':_0x3c0e16[_0x60e3b(0x139)](isGIF,_0x5310a3)?PicType[_0x60e3b(0x119)]:PicType['jpg'],'picSubType':_0x30fbf0,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1985f9};return{'elementType':ElementType[_0x60e3b(0x125)],'elementId':'','picElement':_0x232de9};}static async['file'](_0x3dffaf,_0x18cbdf=''){const _0x38f7c7=_0x46ff16,_0x25241e={'HVAzc':function(_0x2ce91c,_0x1230d2){return _0x2ce91c===_0x1230d2;},'FNrGc':'文件异常,大小为0','BouOr':function(_0x495e17,_0x5b14f7){return _0x495e17||_0x5b14f7;}},{md5:_0x1f65c7,fileName:_0x48988b,path:_0x5e2def,fileSize:_0x3a4529}=await NTQQFileApi['uploadFile'](_0x3dffaf,ElementType[_0x38f7c7(0x12c)]);if(_0x25241e['HVAzc'](_0x3a4529,0x0))throw _0x25241e[_0x38f7c7(0x12e)];const _0x2089f1={'elementType':ElementType[_0x38f7c7(0x12c)],'elementId':'','fileElement':{'fileName':_0x25241e[_0x38f7c7(0x12b)](_0x18cbdf,_0x48988b),'filePath':_0x5e2def,'fileSize':_0x3a4529[_0x38f7c7(0x144)]()}};return _0x2089f1;}static async[_0x46ff16(0x131)](_0x4cc369,_0x520fdd='',_0x1c90e0=''){const _0x32cd29=_0x46ff16,_0x478a00={'isFYn':function(_0x15d705,_0x5c5704){return _0x15d705(_0x5c5704);},'msliI':function(_0x2cf2b5,_0x1f9859,_0x3fa2f2){return _0x2cf2b5(_0x1f9859,_0x3fa2f2);},'Bsava':_0x32cd29(0x102),'WbbHK':_0x32cd29(0x14b),'yxWka':function(_0x2d1de5,_0x4af2b5){return _0x2d1de5+_0x4af2b5;},'YFKrC':_0x32cd29(0x107),'yHvgb':function(_0x520f2f,_0x20bbbe,_0xfc716){return _0x520f2f(_0x20bbbe,_0xfc716);},'eHfYm':_0x32cd29(0x106),'KXYyo':function(_0x5c697f,_0x53e81c){return _0x5c697f||_0x53e81c;}},{fileName:_0x373f25,path:_0x1200cc,fileSize:_0x41d745,md5:_0x63da07}=await NTQQFileApi[_0x32cd29(0x148)](_0x4cc369,ElementType[_0x32cd29(0x123)]);if(_0x41d745===0x0)throw _0x32cd29(0x124);let _0x3bddcd=_0x1200cc[_0x32cd29(0x155)](_0x4606ba[_0x32cd29(0xfa)]+_0x32cd29(0x12a)+_0x4606ba[_0x32cd29(0xfa)],_0x4606ba[_0x32cd29(0xfa)]+_0x32cd29(0xfc)+_0x4606ba['sep']);_0x3bddcd=_0x4606ba[_0x32cd29(0x142)](_0x3bddcd);let _0x508130={'width':0x780,'height':0x438,'time':0xf,'format':_0x478a00[_0x32cd29(0x14f)],'size':_0x41d745,'filePath':_0x4cc369};try{_0x508130=await getVideoInfo(_0x1200cc);}catch(_0x4595f3){_0x478a00[_0x32cd29(0x134)](logError,_0x478a00[_0x32cd29(0x10d)],_0x4595f3);}const _0x2cb242=new Promise((_0x31c770,_0x3d811d)=>{const _0x5950b6=_0x32cd29,_0x10d2d7=_0x63da07+_0x5950b6(0x13b),_0xa946a9=_0x4606ba[_0x5950b6(0x101)](_0x3bddcd,_0x10d2d7);_0x478a00[_0x5950b6(0x153)](_0x5f2e1f,_0x4cc369)['on'](_0x478a00[_0x5950b6(0x132)],()=>{})['on'](_0x5950b6(0x113),_0x40da6a=>{const _0x4a400f=_0x5950b6,_0x2bf991={'ZQRiQ':function(_0x3770dc,_0x5af5bb){const _0x59c3c0=_0x2671;return _0x478a00[_0x59c3c0(0x153)](_0x3770dc,_0x5af5bb);}};_0x478a00[_0x4a400f(0xf9)](logDebug,_0x478a00[_0x4a400f(0x130)],_0x40da6a),_0x1c90e0?_0x5dbce6[_0x4a400f(0x13d)](_0x1c90e0,_0xa946a9)[_0x4a400f(0x13a)](()=>{_0x2bf991['ZQRiQ'](_0x31c770,_0xa946a9);})[_0x4a400f(0x141)](_0x3d811d):_0x5dbce6[_0x4a400f(0x145)](_0xa946a9,defaultVideoThumb)[_0x4a400f(0x13a)](()=>{const _0x2af542=_0x4a400f;_0x2bf991[_0x2af542(0x147)](_0x31c770,_0xa946a9);})[_0x4a400f(0x141)](_0x3d811d);})[_0x5950b6(0xf6)]({'timestamps':[0x0],'filename':_0x10d2d7,'folder':_0x3bddcd,'size':_0x478a00['yxWka'](_0x478a00[_0x5950b6(0x151)](_0x508130[_0x5950b6(0x103)],'x'),_0x508130[_0x5950b6(0x149)])})['on'](_0x478a00[_0x5950b6(0x132)],()=>{const _0x1729a9=_0x5950b6;_0x478a00[_0x1729a9(0x153)](_0x31c770,_0xa946a9);});}),_0x4a4d6b=new Map(),_0x146c7b=await _0x2cb242,_0x5ead6f=(await _0x5dbce6[_0x32cd29(0x10a)](_0x146c7b))['size'];_0x4a4d6b['set'](0x0,_0x146c7b);const _0x589af1=await _0x478a00[_0x32cd29(0x153)](calculateFileMD5,_0x146c7b),_0x432021={'elementType':ElementType[_0x32cd29(0x123)],'elementId':'','videoElement':{'fileName':_0x478a00[_0x32cd29(0x150)](_0x520fdd,_0x373f25),'filePath':_0x1200cc,'videoMd5':_0x63da07,'thumbMd5':_0x589af1,'fileTime':_0x508130[_0x32cd29(0x154)],'thumbPath':_0x4a4d6b,'thumbSize':_0x5ead6f,'thumbWidth':_0x508130['width'],'thumbHeight':_0x508130[_0x32cd29(0x149)],'fileSize':_0x478a00[_0x32cd29(0x151)]('',_0x41d745)}};return _0x432021;}static async[_0x46ff16(0xff)](_0x22eee2){const _0x12c1ac=_0x46ff16,_0x21ed67={'BQfpQ':function(_0xe458a0,_0x3bda20){return _0xe458a0(_0x3bda20);},'UORvq':_0x12c1ac(0x146),'YIFBh':function(_0x12e8a8,_0x45397f){return _0x12e8a8===_0x45397f;},'XFjyU':function(_0xbc5093,_0x2ebe85){return _0xbc5093||_0x2ebe85;}},{converted:_0x100689,path:_0x40d90d,duration:_0xec42f5}=await _0x21ed67[_0x12c1ac(0x157)](encodeSilk,_0x22eee2);if(!_0x40d90d)throw _0x21ed67[_0x12c1ac(0x116)];const {md5:_0x32ca24,fileName:_0x207dea,path:_0x1cc2e9,fileSize:_0x1d365a}=await NTQQFileApi['uploadFile'](_0x40d90d,ElementType['PTT']);if(_0x21ed67[_0x12c1ac(0x156)](_0x1d365a,0x0))throw _0x12c1ac(0x124);return _0x100689&&_0x5dbce6[_0x12c1ac(0xf8)](_0x40d90d)['then'](),{'elementType':ElementType[_0x12c1ac(0x13c)],'elementId':'','pttElement':{'fileName':_0x207dea,'filePath':_0x1cc2e9,'md5HexStr':_0x32ca24,'fileSize':_0x1d365a,'duration':_0x21ed67[_0x12c1ac(0xfe)](_0xec42f5,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[_0x46ff16(0x129)](_0x14258b){const _0x4d5279=_0x46ff16,_0x30e916={'YplsR':function(_0xb6a803,_0x7ede5f){return _0xb6a803(_0x7ede5f);},'AGhRg':function(_0x35b751,_0x353003){return _0x35b751>=_0x353003;}},_0x175768=_0x16b793[_0x4d5279(0x108)],_0x59ee2f=_0x16b793['emoji'],_0x17f3c9=_0x175768[_0x4d5279(0x133)](_0x2a0b65=>_0x2a0b65[_0x4d5279(0x121)]===_0x14258b[_0x4d5279(0x144)]());_0x14258b=_0x30e916[_0x4d5279(0x143)](parseInt,_0x14258b['toString']());let _0x581d02=0x1;return _0x30e916[_0x4d5279(0x11c)](_0x14258b,0xde)&&(_0x581d02=0x2),_0x17f3c9[_0x4d5279(0x120)]&&(_0x581d02=0x3),{'elementType':ElementType[_0x4d5279(0x126)],'elementId':'','faceElement':{'faceIndex':_0x14258b,'faceType':_0x581d02,'faceText':_0x17f3c9['QDes'],'stickerId':_0x17f3c9[_0x4d5279(0x140)],'stickerType':_0x17f3c9[_0x4d5279(0x120)],'packId':_0x17f3c9[_0x4d5279(0x115)],'sourceType':0x1}};}static['mface'](_0x498482,_0x204eb0,_0x335141,_0x44d899){const _0x3ec95e=_0x46ff16;return{'elementType':ElementType[_0x3ec95e(0x109)],'marketFaceElement':{'emojiPackageId':_0x498482,'emojiId':_0x204eb0,'key':_0x335141,'faceName':_0x44d899||mFaceCache[_0x3ec95e(0xf7)](_0x204eb0)||_0x3ec95e(0x122)}};}static[_0x46ff16(0x11d)](_0x34979f){const _0x1632bd=_0x46ff16,_0x351205={'Rehpb':_0x1632bd(0x118)};return{'elementType':ElementType[_0x1632bd(0x126)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1632bd(0x11d)],'faceType':FaceType[_0x1632bd(0x11d)],'faceText':_0x351205[_0x1632bd(0x13f)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x46ff16(0xfb)](_0x11df3f){const _0x58beb8=_0x46ff16;return{'elementType':ElementType[_0x58beb8(0x126)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x58beb8(0x117)],'faceText':_0x58beb8(0x136),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x46ff16(0x10c)](_0x2fb9d1){const _0x5cdb12=_0x46ff16;return typeof _0x2fb9d1!==_0x5cdb12(0x10e)&&(_0x2fb9d1=JSON[_0x5cdb12(0x112)](_0x2fb9d1)),{'elementType':ElementType[_0x5cdb12(0xf5)],'elementId':'','arkElement':{'bytesData':_0x2fb9d1,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x3450b2){const _0x123db2=_0x46ff16;return{'elementType':ElementType[_0x123db2(0x10f)],'elementId':'','markdownElement':{'content':_0x3450b2}};}static async[_0x46ff16(0x14a)](){const _0x12da2c=_0x46ff16,_0x459843={'PUOwz':function(_0x11e6fc,_0x2d34ed){return _0x11e6fc(_0x2d34ed);},'HeXkE':'Bot\x20Test','biWsV':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','uUEjn':_0x12da2c(0x111)};let _0x4f0c63=await _0x459843[_0x12da2c(0x110)](SignMiniApp,{'prompt':_0x459843[_0x12da2c(0x14d)],'title':_0x12da2c(0x12f),'preview':_0x459843[_0x12da2c(0x14e)],'jumpUrl':_0x12da2c(0x11e),'tag':_0x12da2c(0x12f),'tagIcon':_0x459843['uUEjn'],'source':_0x459843[_0x12da2c(0x14d)],'sourcelogo':_0x459843['uUEjn']});return{'elementType':ElementType[_0x12da2c(0xf5)],'elementId':'','arkElement':{'bytesData':_0x4f0c63,'linkInfo':null,'subElementType':null}};}} \ 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 3a6359f0..bf9f6203 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x28f620,_0x2ac53f){var _0x5e31fb=_0x3459,_0x3ffa6e=_0x28f620();while(!![]){try{var _0x18ff29=-parseInt(_0x5e31fb(0xef))/0x1*(parseInt(_0x5e31fb(0xe6))/0x2)+parseInt(_0x5e31fb(0xea))/0x3+parseInt(_0x5e31fb(0xf1))/0x4+-parseInt(_0x5e31fb(0xec))/0x5+-parseInt(_0x5e31fb(0xee))/0x6+-parseInt(_0x5e31fb(0xf0))/0x7*(-parseInt(_0x5e31fb(0xe9))/0x8)+parseInt(_0x5e31fb(0xeb))/0x9;if(_0x18ff29===_0x2ac53f)break;else _0x3ffa6e['push'](_0x3ffa6e['shift']());}catch(_0x2c7f71){_0x3ffa6e['push'](_0x3ffa6e['shift']());}}}(_0x104f,0xd7874));export var GroupMemberRole;function _0x104f(){var _0x45b890=['21902076siBzSE','3176075IzeEfB','lkTzd','10210230QtqtTT','89742SluPYx','1330007GQDzvu','3999804tBzsPX','28bEbWmo','iKurL','admin','32dTdPmT','847779IwnMCy'];_0x104f=function(){return _0x45b890;};return _0x104f();}function _0x3459(_0x1f5296,_0x2f76b9){var _0x104fb5=_0x104f();return _0x3459=function(_0x345959,_0x2110cf){_0x345959=_0x345959-0xe6;var _0x218c69=_0x104fb5[_0x345959];return _0x218c69;},_0x3459(_0x1f5296,_0x2f76b9);}(function(_0x556723){var _0x4bf129=_0x3459,_0x5aa9ef={'vfxSZ':'normal','iKurL':_0x4bf129(0xe8),'lkTzd':'owner'};_0x556723[_0x556723['normal']=0x2]=_0x5aa9ef['vfxSZ'],_0x556723[_0x556723[_0x5aa9ef[_0x4bf129(0xe7)]]=0x3]=_0x5aa9ef[_0x4bf129(0xe7)],_0x556723[_0x556723[_0x5aa9ef[_0x4bf129(0xed)]]=0x4]=_0x5aa9ef[_0x4bf129(0xed)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x2629d1,_0x1746d3){var _0x181451=_0x20bc,_0x108b02=_0x2629d1();while(!![]){try{var _0x1681bc=parseInt(_0x181451(0x7f))/0x1*(parseInt(_0x181451(0x85))/0x2)+-parseInt(_0x181451(0x80))/0x3+-parseInt(_0x181451(0x83))/0x4+parseInt(_0x181451(0x7a))/0x5+-parseInt(_0x181451(0x7e))/0x6+parseInt(_0x181451(0x81))/0x7*(parseInt(_0x181451(0x82))/0x8)+parseInt(_0x181451(0x7d))/0x9;if(_0x1681bc===_0x1746d3)break;else _0x108b02['push'](_0x108b02['shift']());}catch(_0x26cca1){_0x108b02['push'](_0x108b02['shift']());}}}(_0x73c7,0x29b06));export var GroupMemberRole;function _0x73c7(){var _0x41f620=['4655214RMHLAw','749034NyxcBU','1zXuUYy','998340vAazLm','28LhXqGW','431272UOyzjL','1123168iPPRvo','owner','6398sMMcyX','wRNWM','eUskL','normal','865440STWwdT','admin','kvlaV'];_0x73c7=function(){return _0x41f620;};return _0x73c7();}function _0x20bc(_0x46f0ba,_0x5d6a8d){var _0x73c76f=_0x73c7();return _0x20bc=function(_0x20bc9f,_0x39efe7){_0x20bc9f=_0x20bc9f-0x79;var _0x385b90=_0x73c76f[_0x20bc9f];return _0x385b90;},_0x20bc(_0x46f0ba,_0x5d6a8d);}(function(_0x1bdbef){var _0x32a4a3=_0x20bc,_0xff7650={'kvlaV':_0x32a4a3(0x79),'wRNWM':'admin','eUskL':_0x32a4a3(0x84)};_0x1bdbef[_0x1bdbef[_0x32a4a3(0x79)]=0x2]=_0xff7650[_0x32a4a3(0x7c)],_0x1bdbef[_0x1bdbef[_0x32a4a3(0x7b)]=0x3]=_0xff7650[_0x32a4a3(0x86)],_0x1bdbef[_0x1bdbef[_0x32a4a3(0x84)]=0x4]=_0xff7650[_0x32a4a3(0x87)];}(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 7e7222a4..c9828f43 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x4d2445,_0x5e432e){var _0x236581=_0x47fa,_0x2d0ba0=_0x4d2445();while(!![]){try{var _0x2c42cd=parseInt(_0x236581(0x111))/0x1+-parseInt(_0x236581(0x10f))/0x2*(parseInt(_0x236581(0x115))/0x3)+-parseInt(_0x236581(0x114))/0x4*(parseInt(_0x236581(0x113))/0x5)+-parseInt(_0x236581(0x110))/0x6+-parseInt(_0x236581(0x112))/0x7+-parseInt(_0x236581(0x10e))/0x8*(-parseInt(_0x236581(0x10c))/0x9)+parseInt(_0x236581(0x10d))/0xa;if(_0x2c42cd===_0x5e432e)break;else _0x2d0ba0['push'](_0x2d0ba0['shift']());}catch(_0x2250b5){_0x2d0ba0['push'](_0x2d0ba0['shift']());}}}(_0x213c,0x48899));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x47fa(_0x48a54e,_0x4f4d9b){var _0x213cdf=_0x213c();return _0x47fa=function(_0x47fa9f,_0x565b32){_0x47fa9f=_0x47fa9f-0x10c;var _0x56b0e2=_0x213cdf[_0x47fa9f];return _0x56b0e2;},_0x47fa(_0x48a54e,_0x4f4d9b);}function _0x213c(){var _0x508e7c=['10692680khLZiC','707288owvIEb','126LMPWqk','2145336cSZVNW','111852jklTao','3363136RyJPqg','5zOdiPN','880136FTlwOF','8553zITMMf','36snzmyU'];_0x213c=function(){return _0x508e7c;};return _0x213c();}export*from'./constructor'; \ No newline at end of file +(function(_0x3eeb70,_0x20726b){var _0x4e0a62=_0x45ed,_0x5d24d3=_0x3eeb70();while(!![]){try{var _0x24a9a9=-parseInt(_0x4e0a62(0x1d1))/0x1*(-parseInt(_0x4e0a62(0x1d2))/0x2)+parseInt(_0x4e0a62(0x1d8))/0x3*(parseInt(_0x4e0a62(0x1d0))/0x4)+-parseInt(_0x4e0a62(0x1d5))/0x5+parseInt(_0x4e0a62(0x1d3))/0x6+-parseInt(_0x4e0a62(0x1cf))/0x7+-parseInt(_0x4e0a62(0x1d4))/0x8+parseInt(_0x4e0a62(0x1d6))/0x9*(-parseInt(_0x4e0a62(0x1d7))/0xa);if(_0x24a9a9===_0x20726b)break;else _0x5d24d3['push'](_0x5d24d3['shift']());}catch(_0x26adba){_0x5d24d3['push'](_0x5d24d3['shift']());}}}(_0x3535,0x2535d));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x3535(){var _0x205547=['1mmqEBQ','344224jhMupL','629478JzYVFn','1819312lOyRbI','339535cdzRkR','478917sgjIAV','10SSmTVa','15ZmGVnF','116291sPfHbC','192428Gfzgwg'];_0x3535=function(){return _0x205547;};return _0x3535();}export*from'./cache';function _0x45ed(_0xd044b6,_0x188143){var _0x3535da=_0x3535();return _0x45ed=function(_0x45ed5d,_0x3ad035){_0x45ed5d=_0x45ed5d-0x1cf;var _0x1a9f0b=_0x3535da[_0x45ed5d];return _0x1a9f0b;},_0x45ed(_0xd044b6,_0x188143);}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 0ca8d796..3420d92a 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x150b90=_0x22c4;(function(_0x3bfcde,_0x4aac12){var _0x406289=_0x22c4,_0x43c870=_0x3bfcde();while(!![]){try{var _0x40ecf2=parseInt(_0x406289(0x8f))/0x1*(parseInt(_0x406289(0x97))/0x2)+-parseInt(_0x406289(0x93))/0x3*(parseInt(_0x406289(0xbd))/0x4)+parseInt(_0x406289(0x96))/0x5+parseInt(_0x406289(0xa8))/0x6+-parseInt(_0x406289(0xac))/0x7*(-parseInt(_0x406289(0xb0))/0x8)+-parseInt(_0x406289(0xb8))/0x9+parseInt(_0x406289(0x9d))/0xa*(parseInt(_0x406289(0xb3))/0xb);if(_0x40ecf2===_0x4aac12)break;else _0x43c870['push'](_0x43c870['shift']());}catch(_0x36614d){_0x43c870['push'](_0x43c870['shift']());}}}(_0x6eab,0xc0385));export var ElementType;(function(_0x342b7c){var _0x41ab98=_0x22c4,_0xddf9fa={'KXEsg':'TEXT','qLjhq':_0x41ab98(0xb1),'yyDzb':'FILE','GaBWL':_0x41ab98(0xc5),'ijSfq':'VIDEO','fMNzZ':'FACE','OmRkg':_0x41ab98(0xa2),'QbfCj':_0x41ab98(0xc6),'fgqkK':_0x41ab98(0xa5),'DGhNp':_0x41ab98(0xc8)};_0x342b7c[_0x342b7c[_0xddf9fa['KXEsg']]=0x1]=_0xddf9fa[_0x41ab98(0xc3)],_0x342b7c[_0x342b7c[_0x41ab98(0xb1)]=0x2]=_0xddf9fa[_0x41ab98(0x95)],_0x342b7c[_0x342b7c[_0xddf9fa['yyDzb']]=0x3]=_0xddf9fa['yyDzb'],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xbe)]]=0x4]=_0xddf9fa[_0x41ab98(0xbe)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xb4)]]=0x5]=_0xddf9fa[_0x41ab98(0xb4)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xaf)]]=0x6]=_0xddf9fa[_0x41ab98(0xaf)],_0x342b7c[_0x342b7c[_0xddf9fa['OmRkg']]=0x7]=_0xddf9fa['OmRkg'],_0x342b7c[_0x342b7c[_0x41ab98(0xc6)]=0xa]=_0xddf9fa[_0x41ab98(0x91)],_0x342b7c[_0x342b7c[_0xddf9fa['fgqkK']]=0xb]=_0xddf9fa[_0x41ab98(0xae)],_0x342b7c[_0x342b7c[_0xddf9fa[_0x41ab98(0xc0)]]=0xe]=_0xddf9fa[_0x41ab98(0xc0)];}(ElementType||(ElementType={})));export var PicType;(function(_0xdc8f0f){var _0x3d693d=_0x22c4,_0x4dc1ac={'SDvsV':'gif','XYAGr':_0x3d693d(0x98)};_0xdc8f0f[_0xdc8f0f[_0x4dc1ac[_0x3d693d(0xc2)]]=0x7d0]=_0x4dc1ac['SDvsV'],_0xdc8f0f[_0xdc8f0f[_0x4dc1ac[_0x3d693d(0xad)]]=0x3e8]=_0x3d693d(0x98);}(PicType||(PicType={})));export var PicSubType;(function(_0x4ba749){var _0x3612ea=_0x22c4,_0x76fcbf={'arTzc':_0x3612ea(0x9c),'rqbfH':_0x3612ea(0xbc)};_0x4ba749[_0x4ba749[_0x76fcbf['arTzc']]=0x0]=_0x76fcbf[_0x3612ea(0x8e)],_0x4ba749[_0x4ba749['face']=0x1]=_0x76fcbf['rqbfH'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x860cbb){var _0x493f27=_0x22c4,_0x47ade2={'iNNxa':_0x493f27(0xab),'jXdWD':'atAll','vtlZo':_0x493f27(0x90)};_0x860cbb[_0x860cbb[_0x47ade2[_0x493f27(0xba)]]=0x0]='notAt',_0x860cbb[_0x860cbb[_0x47ade2[_0x493f27(0x9e)]]=0x1]=_0x493f27(0xbb),_0x860cbb[_0x860cbb[_0x47ade2['vtlZo']]=0x2]=_0x47ade2[_0x493f27(0xa3)];}(AtType||(AtType={})));export var ChatType;(function(_0x291fbe){var _0x4c59da=_0x22c4,_0x5e6fb5={'JmAJo':_0x4c59da(0xb5),'PetYf':'group','AyVbq':_0x4c59da(0xaa),'ieMhg':_0x4c59da(0xb2)};_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0x9f)]]=0x1]=_0x5e6fb5['JmAJo'],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0x94)]]=0x2]=_0x5e6fb5[_0x4c59da(0x94)],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0xbf)]]=0x8]=_0x5e6fb5[_0x4c59da(0xbf)],_0x291fbe[_0x291fbe[_0x5e6fb5[_0x4c59da(0xc1)]]=0x64]=_0x5e6fb5['ieMhg'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x150b90(0xc7);export const IMAGE_HTTP_HOST_NT=_0x150b90(0xa9);export var GrayTipElementSubType;(function(_0x587af1){var _0x167011=_0x150b90,_0x2215e5={'ccyWV':'INVITE_NEW_MEMBER','Yctso':_0x167011(0xa6)};_0x587af1[_0x587af1[_0x167011(0xa1)]=0xc]=_0x2215e5[_0x167011(0xb9)],_0x587af1[_0x587af1[_0x2215e5[_0x167011(0x99)]]=0x11]=_0x2215e5[_0x167011(0x99)];}(GrayTipElementSubType||(GrayTipElementSubType={})));function _0x22c4(_0x2ecb91,_0x1571ed){var _0x6eab5d=_0x6eab();return _0x22c4=function(_0x22c457,_0x1bcec){_0x22c457=_0x22c457-0x8e;var _0x56810f=_0x6eab5d[_0x22c457];return _0x56810f;},_0x22c4(_0x2ecb91,_0x1571ed);}export var FaceType;(function(_0x398466){var _0x459e11=_0x150b90,_0x1b6659={'pkgIU':'normal','dWUYv':_0x459e11(0xa0),'HbSPK':_0x459e11(0x9a)};_0x398466[_0x398466[_0x1b6659[_0x459e11(0xb6)]]=0x1]=_0x1b6659[_0x459e11(0xb6)],_0x398466[_0x398466[_0x459e11(0xa0)]=0x2]=_0x1b6659[_0x459e11(0xc4)],_0x398466[_0x398466[_0x1b6659['HbSPK']]=0x3]=_0x459e11(0x9a);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3c0e9b){var _0x3f4ef1=_0x150b90,_0x508f1a={'bmCtv':_0x3f4ef1(0x9a),'JQyoj':_0x3f4ef1(0xa4)};_0x3c0e9b[_0x3c0e9b[_0x508f1a[_0x3f4ef1(0x9b)]]=0x166]=_0x508f1a[_0x3f4ef1(0x9b)],_0x3c0e9b[_0x3c0e9b[_0x508f1a[_0x3f4ef1(0x92)]]=0x167]='RPS';}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x6eab(){var _0x11b6e0=['face','43592xzjgqc','GaBWL','AyVbq','DGhNp','ieMhg','SDvsV','KXEsg','dWUYv','PTT','ARK','https://gchat.qpic.cn','MARKDOWN','arTzc','1306121JCAJaP','atUser','QbfCj','JQyoj','174znFWKU','PetYf','qLjhq','419890dEcKpg','2IYSrBu','jpg','Yctso','dice','bmCtv','normal','2410bZGTnW','jXdWD','JmAJo','normal2','INVITE_NEW_MEMBER','REPLY','vtlZo','RPS','MFACE','MEMBER_NEW_TITLE','bYBLW','2349744xWxjmA','https://multimedia.nt.qq.com.cn','chatDevice','notAt','40894quvtNJ','XYAGr','fgqkK','fMNzZ','232cEEHHI','PIC','temp','31922tVHNts','ijSfq','friend','pkgIU','memberIncrease','11079954uFChON','ccyWV','iNNxa','atAll'];_0x6eab=function(){return _0x11b6e0;};return _0x6eab();}(function(_0x3feaed){var _0x5ff8f0=_0x150b90,_0x37a1c1={'KCpyZ':_0x5ff8f0(0xb7),'mWGMI':'kicked','bYBLW':'ban'};_0x3feaed[_0x3feaed[_0x5ff8f0(0xb7)]=0x1]=_0x37a1c1['KCpyZ'],_0x3feaed[_0x3feaed[_0x37a1c1['mWGMI']]=0x3]=_0x37a1c1['mWGMI'],_0x3feaed[_0x3feaed[_0x37a1c1[_0x5ff8f0(0xa7)]]=0x8]=_0x37a1c1[_0x5ff8f0(0xa7)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x4ff6c3=_0x113b;(function(_0x42b02f,_0xa4b1a){var _0x79d6f=_0x113b,_0x5e2f51=_0x42b02f();while(!![]){try{var _0x532c04=-parseInt(_0x79d6f(0x159))/0x1*(-parseInt(_0x79d6f(0x131))/0x2)+parseInt(_0x79d6f(0x13f))/0x3*(-parseInt(_0x79d6f(0x14c))/0x4)+parseInt(_0x79d6f(0x147))/0x5*(-parseInt(_0x79d6f(0x155))/0x6)+parseInt(_0x79d6f(0x12f))/0x7+parseInt(_0x79d6f(0x151))/0x8*(parseInt(_0x79d6f(0x15f))/0x9)+-parseInt(_0x79d6f(0x12a))/0xa*(parseInt(_0x79d6f(0x13a))/0xb)+parseInt(_0x79d6f(0x13d))/0xc*(parseInt(_0x79d6f(0x14d))/0xd);if(_0x532c04===_0xa4b1a)break;else _0x5e2f51['push'](_0x5e2f51['shift']());}catch(_0x1bb94f){_0x5e2f51['push'](_0x5e2f51['shift']());}}}(_0x2d14,0x43907));export var ElementType;(function(_0x3e9d36){var _0x2ff201=_0x113b,_0x173153={'sIkYv':_0x2ff201(0x129),'Fvaeq':'MFACE','iRUUS':_0x2ff201(0x14a),'NFXrV':_0x2ff201(0x139),'XwjJw':'FACE','OJkBs':_0x2ff201(0x12d),'IeqhQ':_0x2ff201(0x142),'GTbvs':_0x2ff201(0x123),'kibDa':_0x2ff201(0x130),'DKoVA':_0x2ff201(0x137)},_0x37efa0=_0x173153['sIkYv']['split']('|'),_0x4c8c97=0x0;while(!![]){switch(_0x37efa0[_0x4c8c97++]){case'0':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x124)]]=0xb]=_0x173153[_0x2ff201(0x124)];continue;case'1':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x149)]]=0x1]=_0x173153[_0x2ff201(0x149)];continue;case'2':_0x3e9d36[_0x3e9d36[_0x2ff201(0x140)]=0xe]=_0x2ff201(0x140);continue;case'3':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x14b)]]=0x4]=_0x173153[_0x2ff201(0x14b)];continue;case'4':_0x3e9d36[_0x3e9d36[_0x173153['XwjJw']]=0x6]=_0x2ff201(0x144);continue;case'5':_0x3e9d36[_0x3e9d36[_0x173153['OJkBs']]=0x7]=_0x173153['OJkBs'];continue;case'6':_0x3e9d36[_0x3e9d36[_0x173153['IeqhQ']]=0x5]=_0x173153[_0x2ff201(0x160)];continue;case'7':_0x3e9d36[_0x3e9d36['ARK']=0xa]=_0x173153[_0x2ff201(0x161)];continue;case'8':_0x3e9d36[_0x3e9d36[_0x2ff201(0x130)]=0x2]=_0x173153['kibDa'];continue;case'9':_0x3e9d36[_0x3e9d36[_0x173153[_0x2ff201(0x15e)]]=0x3]=_0x173153[_0x2ff201(0x15e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x7708f1){var _0x2aaea9=_0x113b,_0x17977a={'NYeNQ':_0x2aaea9(0x15d),'aMnGw':'jpg'};_0x7708f1[_0x7708f1[_0x2aaea9(0x15d)]=0x7d0]=_0x17977a[_0x2aaea9(0x156)],_0x7708f1[_0x7708f1[_0x17977a[_0x2aaea9(0x157)]]=0x3e8]=_0x17977a['aMnGw'];}(PicType||(PicType={})));export var PicSubType;(function(_0x340a06){var _0x478607=_0x113b,_0x35c6d1={'xmFrt':_0x478607(0x135),'VuxWB':_0x478607(0x153)};_0x340a06[_0x340a06[_0x478607(0x135)]=0x0]=_0x35c6d1[_0x478607(0x138)],_0x340a06[_0x340a06['face']=0x1]=_0x35c6d1[_0x478607(0x141)];}(PicSubType||(PicSubType={})));export var AtType;function _0x2d14(){var _0x9f3805=['5316JSlpEU','NYeNQ','aMnGw','kMrPA','252863EASyQq','mUAVJ','CSOno','INVITE_NEW_MEMBER','gif','DKoVA','18XjrboN','IeqhQ','GTbvs','https://gchat.qpic.cn','KaLmH','Ulxsy','MEMBER_NEW_TITLE','dice','ARK','Fvaeq','YQWJF','memberIncrease','temp','YYYhe','1|8|9|3|6|4|5|7|0|2','3109270OiDqgk','ThLgb','atAll','REPLY','normal2','948346WLbgLV','PIC','2Zrmxvq','dOIsf','ban','chatDevice','normal','CarxX','FILE','xmFrt','PTT','11azYqyh','coHLO','GyUlX','4944432ciXKYN','atUser','3ARooDo','MARKDOWN','VuxWB','VIDEO','oprJo','FACE','jMfkZ','RPS','255UVSZJF','friend','iRUUS','TEXT','NFXrV','1076724fuDAnW','13UeyEyu','kicked','hwmzg','https://multimedia.nt.qq.com.cn','406640fTCZnB','notAt','face','ZBenp'];_0x2d14=function(){return _0x9f3805;};return _0x2d14();}(function(_0x58fcaf){var _0x32522a=_0x113b,_0x4eefb1={'jMfkZ':_0x32522a(0x152),'hwmzg':_0x32522a(0x12c),'ZBenp':_0x32522a(0x13e)};_0x58fcaf[_0x58fcaf['notAt']=0x0]=_0x4eefb1[_0x32522a(0x145)],_0x58fcaf[_0x58fcaf[_0x4eefb1[_0x32522a(0x14f)]]=0x1]=_0x4eefb1['hwmzg'],_0x58fcaf[_0x58fcaf[_0x4eefb1[_0x32522a(0x154)]]=0x2]=_0x4eefb1['ZBenp'];}(AtType||(AtType={})));export var ChatType;(function(_0x118bd2){var _0x26a00b=_0x113b,_0xb3a74={'CSOno':'friend','oprJo':'group','dOIsf':_0x26a00b(0x134),'CarxX':_0x26a00b(0x127)};_0x118bd2[_0x118bd2[_0xb3a74[_0x26a00b(0x15b)]]=0x1]=_0x26a00b(0x148),_0x118bd2[_0x118bd2[_0xb3a74['oprJo']]=0x2]=_0xb3a74[_0x26a00b(0x143)],_0x118bd2[_0x118bd2[_0xb3a74[_0x26a00b(0x132)]]=0x8]=_0xb3a74[_0x26a00b(0x132)],_0x118bd2[_0x118bd2['temp']=0x64]=_0xb3a74[_0x26a00b(0x136)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4ff6c3(0x162);export const IMAGE_HTTP_HOST_NT=_0x4ff6c3(0x150);export var GrayTipElementSubType;(function(_0x169045){var _0x12fdec=_0x4ff6c3,_0x3bebba={'GyUlX':_0x12fdec(0x15c),'ThLgb':_0x12fdec(0x121)};_0x169045[_0x169045[_0x3bebba[_0x12fdec(0x13c)]]=0xc]=_0x3bebba[_0x12fdec(0x13c)],_0x169045[_0x169045[_0x3bebba[_0x12fdec(0x12b)]]=0x11]=_0x3bebba['ThLgb'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x113b(_0x4a60e1,_0x2408d7){var _0x2d1434=_0x2d14();return _0x113b=function(_0x113b7c,_0x505255){_0x113b7c=_0x113b7c-0x11f;var _0x2f29f4=_0x2d1434[_0x113b7c];return _0x2f29f4;},_0x113b(_0x4a60e1,_0x2408d7);}(function(_0x55379d){var _0x598720=_0x4ff6c3,_0x3e2663={'Ulxsy':_0x598720(0x135),'YQWJF':_0x598720(0x12e),'kMrPA':_0x598720(0x122)};_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x120)]]=0x1]=_0x3e2663[_0x598720(0x120)],_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x125)]]=0x2]=_0x598720(0x12e),_0x55379d[_0x55379d[_0x3e2663[_0x598720(0x158)]]=0x3]=_0x3e2663[_0x598720(0x158)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xad70d9){var _0x2e0e2a=_0x4ff6c3,_0x8c3430={'YYYhe':_0x2e0e2a(0x122)};_0xad70d9[_0xad70d9[_0x8c3430['YYYhe']]=0x166]=_0x8c3430[_0x2e0e2a(0x128)],_0xad70d9[_0xad70d9[_0x2e0e2a(0x146)]=0x167]=_0x2e0e2a(0x146);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4a28c6){var _0x291fae=_0x4ff6c3,_0x251fe7={'KaLmH':'memberIncrease','mUAVJ':_0x291fae(0x14e),'coHLO':'ban'};_0x4a28c6[_0x4a28c6[_0x291fae(0x126)]=0x1]=_0x251fe7[_0x291fae(0x11f)],_0x4a28c6[_0x4a28c6[_0x251fe7['mUAVJ']]=0x3]=_0x251fe7[_0x291fae(0x15a)],_0x4a28c6[_0x4a28c6[_0x251fe7[_0x291fae(0x13b)]]=0x8]=_0x291fae(0x133);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index cdbceb0d..fe3851f7 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x1a889d,_0x215237){var _0x90fb8d=_0x50cb,_0x3b46a8=_0x1a889d();while(!![]){try{var _0xbc09d8=-parseInt(_0x90fb8d(0x11d))/0x1*(parseInt(_0x90fb8d(0x115))/0x2)+-parseInt(_0x90fb8d(0x10d))/0x3*(parseInt(_0x90fb8d(0x101))/0x4)+-parseInt(_0x90fb8d(0x112))/0x5*(parseInt(_0x90fb8d(0x10e))/0x6)+-parseInt(_0x90fb8d(0x106))/0x7*(parseInt(_0x90fb8d(0x118))/0x8)+parseInt(_0x90fb8d(0x109))/0x9+parseInt(_0x90fb8d(0x11b))/0xa*(-parseInt(_0x90fb8d(0x110))/0xb)+parseInt(_0x90fb8d(0x116))/0xc;if(_0xbc09d8===_0x215237)break;else _0x3b46a8['push'](_0x3b46a8['shift']());}catch(_0x48a6f7){_0x3b46a8['push'](_0x3b46a8['shift']());}}}(_0x36dc,0xdc53a));export var GroupNotifyTypes;function _0x50cb(_0x16fe89,_0x3ebcd2){var _0x36dc6a=_0x36dc();return _0x50cb=function(_0x50cb04,_0x478313){_0x50cb04=_0x50cb04-0xff;var _0x5c51ac=_0x36dc6a[_0x50cb04];return _0x5c51ac;},_0x50cb(_0x16fe89,_0x3ebcd2);}(function(_0x106868){var _0x2ebcf1=_0x50cb,_0x4542fc={'SvUwd':_0x2ebcf1(0x103),'OxAjG':_0x2ebcf1(0x114),'OYXak':_0x2ebcf1(0x11a),'trwzH':_0x2ebcf1(0xff),'OdBpI':'KICK_MEMBER','OMOfL':'MEMBER_EXIT','YRbHI':_0x2ebcf1(0x105),'NiJtx':'ADMIN_UNSET_OTHER'};_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x11c)]]=0x1]=_0x4542fc[_0x2ebcf1(0x11c)],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x108)]]=0x4]=_0x4542fc[_0x2ebcf1(0x108)],_0x106868[_0x106868[_0x4542fc['OYXak']]=0x7]=_0x4542fc['OYXak'],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x111)]]=0x8]=_0x4542fc['trwzH'],_0x106868[_0x106868[_0x4542fc['OdBpI']]=0x9]='KICK_MEMBER',_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x11e)]]=0xb]=_0x4542fc[_0x2ebcf1(0x11e)],_0x106868[_0x106868[_0x4542fc['YRbHI']]=0xc]=_0x4542fc[_0x2ebcf1(0x113)],_0x106868[_0x106868[_0x4542fc[_0x2ebcf1(0x100)]]=0xd]=_0x4542fc[_0x2ebcf1(0x100)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x36dc(){var _0x394e66=['YRbHI','INVITED_JOIN','149208NlNxFF','54644856NVilcO','RTemD','24GgEwld','APPROVE','JOIN_REQUEST','250uOUKyc','SvUwd','10uBHAhP','OMOfL','ADMIN_SET','NiJtx','4uEpZjo','BkuTG','INVITE_ME','REJECT','ADMIN_UNSET','3219146aaWpML','approve','OxAjG','15257547vNTLQo','IGNORE','reject','OmsXi','3917379rqzXEe','6GocPgj','WAIT_HANDLE','174031DmIFtP','trwzH','7597855TFpizD'];_0x36dc=function(){return _0x394e66;};return _0x36dc();}(function(_0x14f024){var _0x1ff73d=_0x50cb,_0x317d3c={'BkuTG':_0x1ff73d(0x10f),'oPwjB':'APPROVE'};_0x14f024[_0x14f024[_0x1ff73d(0x10a)]=0x0]='IGNORE',_0x14f024[_0x14f024[_0x317d3c['BkuTG']]=0x1]=_0x317d3c[_0x1ff73d(0x102)],_0x14f024[_0x14f024[_0x1ff73d(0x119)]=0x2]=_0x317d3c['oPwjB'],_0x14f024[_0x14f024[_0x1ff73d(0x104)]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x4343e3){var _0x18981e=_0x50cb,_0x381851={'OmsXi':_0x18981e(0x107),'RTemD':_0x18981e(0x10b)};_0x4343e3[_0x4343e3[_0x381851[_0x18981e(0x10c)]]=0x1]=_0x18981e(0x107),_0x4343e3[_0x4343e3[_0x381851[_0x18981e(0x117)]]=0x2]=_0x18981e(0x10b);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x50fc83,_0xa9b6e){var _0x3e9640=_0x5823,_0x4ab2e7=_0x50fc83();while(!![]){try{var _0x34a23a=parseInt(_0x3e9640(0x1fb))/0x1+-parseInt(_0x3e9640(0x1dc))/0x2*(parseInt(_0x3e9640(0x1e8))/0x3)+-parseInt(_0x3e9640(0x1ee))/0x4+-parseInt(_0x3e9640(0x1f6))/0x5*(-parseInt(_0x3e9640(0x1f9))/0x6)+-parseInt(_0x3e9640(0x1f1))/0x7*(parseInt(_0x3e9640(0x1df))/0x8)+-parseInt(_0x3e9640(0x1e0))/0x9*(parseInt(_0x3e9640(0x1f4))/0xa)+parseInt(_0x3e9640(0x1f8))/0xb;if(_0x34a23a===_0xa9b6e)break;else _0x4ab2e7['push'](_0x4ab2e7['shift']());}catch(_0x5f1083){_0x4ab2e7['push'](_0x4ab2e7['shift']());}}}(_0x2b2a,0xf2426));export var GroupNotifyTypes;(function(_0x1bee10){var _0x4d190f=_0x5823,_0x32dacf={'mqfNe':'INVITE_ME','hrtTj':_0x4d190f(0x1eb),'iVCds':_0x4d190f(0x1d9),'Wqqgr':_0x4d190f(0x1e4),'mhFnM':_0x4d190f(0x1ed),'Ohadp':_0x4d190f(0x1f2),'DcOFc':_0x4d190f(0x1e1)};_0x1bee10[_0x1bee10[_0x4d190f(0x1d8)]=0x1]=_0x32dacf['mqfNe'],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1e9)]]=0x4]=_0x4d190f(0x1eb),_0x1bee10[_0x1bee10[_0x4d190f(0x1ef)]=0x7]=_0x4d190f(0x1ef),_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1da)]]=0x8]='ADMIN_SET',_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1ea)]]=0x9]=_0x32dacf[_0x4d190f(0x1ea)],_0x1bee10[_0x1bee10[_0x32dacf['mhFnM']]=0xb]=_0x32dacf[_0x4d190f(0x1db)],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1dd)]]=0xc]=_0x32dacf[_0x4d190f(0x1dd)],_0x1bee10[_0x1bee10[_0x32dacf[_0x4d190f(0x1e3)]]=0xd]=_0x32dacf[_0x4d190f(0x1e3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x2b2a(){var _0x3fafab=['mhFnM','4KaQOAO','Ohadp','iKXWS','120KEGoua','5112yEsyum','ADMIN_UNSET_OTHER','WAIT_HANDLE','DcOFc','KICK_MEMBER','REJECT','rMYNO','ORPnf','1507299mNkRyh','hrtTj','Wqqgr','INVITED_JOIN','qOHib','MEMBER_EXIT','2982496DEDNKZ','JOIN_REQUEST','reject','714602kJWEbL','ADMIN_UNSET','approve','21290SOJJGb','WyOZC','5WZHJAI','IGNORE','30060778shJLGT','9564666OkUmOc','TjHiN','1156437LWpZrN','APPROVE','INVITE_ME','ADMIN_SET','iVCds'];_0x2b2a=function(){return _0x3fafab;};return _0x2b2a();}(function(_0x53562f){var _0x5962a2=_0x5823,_0x31bb04={'iKXWS':_0x5962a2(0x1f7),'ORPnf':_0x5962a2(0x1e2),'WyOZC':_0x5962a2(0x1d7),'rMYNO':_0x5962a2(0x1e5)};_0x53562f[_0x53562f[_0x5962a2(0x1f7)]=0x0]=_0x31bb04[_0x5962a2(0x1de)],_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1e7)]]=0x1]=_0x31bb04['ORPnf'],_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1f5)]]=0x2]='APPROVE',_0x53562f[_0x53562f[_0x31bb04[_0x5962a2(0x1e6)]]=0x3]=_0x31bb04[_0x5962a2(0x1e6)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x5823(_0x8c74bf,_0x107880){var _0x2b2a6b=_0x2b2a();return _0x5823=function(_0x582356,_0x1df26a){_0x582356=_0x582356-0x1d7;var _0x337fab=_0x2b2a6b[_0x582356];return _0x337fab;},_0x5823(_0x8c74bf,_0x107880);}(function(_0x46e652){var _0x1f7680=_0x5823,_0x15fe34={'TjHiN':_0x1f7680(0x1f3),'qOHib':_0x1f7680(0x1f0)};_0x46e652[_0x46e652[_0x15fe34[_0x1f7680(0x1fa)]]=0x1]='approve',_0x46e652[_0x46e652[_0x15fe34['qOHib']]=0x2]=_0x15fe34[_0x1f7680(0x1ec)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ 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 94f4ecc1..07b0faee 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x417ada,_0x261103){var _0x1a2dfd=_0x1fed,_0x17ab41=_0x417ada();while(!![]){try{var _0x290cae=parseInt(_0x1a2dfd(0x85))/0x1+parseInt(_0x1a2dfd(0x8a))/0x2+-parseInt(_0x1a2dfd(0x90))/0x3*(-parseInt(_0x1a2dfd(0x88))/0x4)+-parseInt(_0x1a2dfd(0x89))/0x5*(-parseInt(_0x1a2dfd(0x91))/0x6)+parseInt(_0x1a2dfd(0x8f))/0x7+-parseInt(_0x1a2dfd(0x86))/0x8+-parseInt(_0x1a2dfd(0x87))/0x9*(parseInt(_0x1a2dfd(0x8c))/0xa);if(_0x290cae===_0x261103)break;else _0x17ab41['push'](_0x17ab41['shift']());}catch(_0x1f292){_0x17ab41['push'](_0x17ab41['shift']());}}}(_0xc972,0xd8703));function _0xc972(){var _0x590938=['11173914RdXHHf','67476LYVDtY','4057585vHWlMq','869464qmutyn','male','20BkMdEt','unknown','TxdtM','4043102TGzroM','210sHdkmf','12MqCKfy','ExFLa','904025RSHkqi','10804672QRJpPJ'];_0xc972=function(){return _0x590938;};return _0xc972();}export var Sex;function _0x1fed(_0x3810d8,_0x3daa8b){var _0xc97229=_0xc972();return _0x1fed=function(_0x1feddd,_0x57c1cf){_0x1feddd=_0x1feddd-0x85;var _0x3dccdd=_0xc97229[_0x1feddd];return _0x3dccdd;},_0x1fed(_0x3810d8,_0x3daa8b);}(function(_0x2bc578){var _0x5aa2da=_0x1fed,_0x439a0d={'ExFLa':_0x5aa2da(0x8b),'IeMxd':'female','TxdtM':_0x5aa2da(0x8d)};_0x2bc578[_0x2bc578[_0x439a0d['ExFLa']]=0x1]=_0x439a0d[_0x5aa2da(0x92)],_0x2bc578[_0x2bc578[_0x439a0d['IeMxd']]=0x2]='female',_0x2bc578[_0x2bc578[_0x439a0d['TxdtM']]=0xff]=_0x439a0d[_0x5aa2da(0x8e)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x4f031d,_0x410210){var _0x43b4ee=_0x4444,_0x29e1a1=_0x4f031d();while(!![]){try{var _0x5ed45e=parseInt(_0x43b4ee(0xd8))/0x1+parseInt(_0x43b4ee(0xd0))/0x2+parseInt(_0x43b4ee(0xd7))/0x3*(parseInt(_0x43b4ee(0xd1))/0x4)+-parseInt(_0x43b4ee(0xda))/0x5+-parseInt(_0x43b4ee(0xd2))/0x6+parseInt(_0x43b4ee(0xdb))/0x7+parseInt(_0x43b4ee(0xd3))/0x8;if(_0x5ed45e===_0x410210)break;else _0x29e1a1['push'](_0x29e1a1['shift']());}catch(_0x958326){_0x29e1a1['push'](_0x29e1a1['shift']());}}}(_0x400d,0x2b8b3));export var Sex;function _0x4444(_0x7b19c0,_0x172564){var _0x400d85=_0x400d();return _0x4444=function(_0x4444e3,_0x15f9fe){_0x4444e3=_0x4444e3-0xd0;var _0xcb12d2=_0x400d85[_0x4444e3];return _0xcb12d2;},_0x4444(_0x7b19c0,_0x172564);}function _0x400d(){var _0x57a345=['385120dWHWxt','4gekAvI','2099052IEomQh','290712JqydLj','female','VbKQY','male','1009293TZqjns','205863Gxinbe','syKOq','1681840aGoUWU','653604wBMfBz'];_0x400d=function(){return _0x57a345;};return _0x400d();}(function(_0x3effcf){var _0x5a950e=_0x4444,_0xb8a219={'VbKQY':_0x5a950e(0xd6),'mDCFp':'female','syKOq':'unknown'};_0x3effcf[_0x3effcf[_0xb8a219[_0x5a950e(0xd5)]]=0x1]=_0xb8a219['VbKQY'],_0x3effcf[_0x3effcf[_0x5a950e(0xd4)]=0x2]=_0xb8a219['mDCFp'],_0x3effcf[_0x3effcf['unknown']=0xff]=_0xb8a219[_0x5a950e(0xd9)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 7bc63927..fa4798e6 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x315f72,_0x485448){var _0x5f5400=_0x205a,_0x495cdf=_0x315f72();while(!![]){try{var _0x4820a1=-parseInt(_0x5f5400(0xc4))/0x1*(-parseInt(_0x5f5400(0xc1))/0x2)+-parseInt(_0x5f5400(0xbd))/0x3*(-parseInt(_0x5f5400(0xbe))/0x4)+parseInt(_0x5f5400(0xc2))/0x5+-parseInt(_0x5f5400(0xbf))/0x6*(parseInt(_0x5f5400(0xc3))/0x7)+parseInt(_0x5f5400(0xba))/0x8*(-parseInt(_0x5f5400(0xc0))/0x9)+-parseInt(_0x5f5400(0xc5))/0xa*(parseInt(_0x5f5400(0xbc))/0xb)+parseInt(_0x5f5400(0xc6))/0xc*(parseInt(_0x5f5400(0xbb))/0xd);if(_0x4820a1===_0x485448)break;else _0x495cdf['push'](_0x495cdf['shift']());}catch(_0x365a4c){_0x495cdf['push'](_0x495cdf['shift']());}}}(_0x5883,0xa0c82));import _0xb90889 from'./wrapper';export*from'./adapters';function _0x5883(){var _0x3a3b83=['2634QNxhFE','18FySyYA','304778jaZERp','467440toRvIv','4879KcDzMK','1CDBbXI','7840pcuKsI','15886116JrPMzc','4964528IigEPh','26OiHRMB','12364pVtkzy','15Dddcdi','154664tLKzmk'];_0x5883=function(){return _0x3a3b83;};return _0x5883();}function _0x205a(_0x26a2d3,_0xde979){var _0x5883fd=_0x5883();return _0x205a=function(_0x205ad5,_0x455d3f){_0x205ad5=_0x205ad5-0xba;var _0x103a81=_0x5883fd[_0x205ad5];return _0x103a81;},_0x205a(_0x26a2d3,_0xde979);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0xb90889 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x4d124c,_0x474f33){var _0x4c62e6=_0x5e05,_0x1eeba3=_0x4d124c();while(!![]){try{var _0x29af9c=parseInt(_0x4c62e6(0x190))/0x1*(-parseInt(_0x4c62e6(0x191))/0x2)+-parseInt(_0x4c62e6(0x199))/0x3+parseInt(_0x4c62e6(0x198))/0x4*(parseInt(_0x4c62e6(0x193))/0x5)+-parseInt(_0x4c62e6(0x196))/0x6+-parseInt(_0x4c62e6(0x194))/0x7+parseInt(_0x4c62e6(0x195))/0x8*(parseInt(_0x4c62e6(0x197))/0x9)+parseInt(_0x4c62e6(0x192))/0xa;if(_0x29af9c===_0x474f33)break;else _0x1eeba3['push'](_0x1eeba3['shift']());}catch(_0x190ba3){_0x1eeba3['push'](_0x1eeba3['shift']());}}}(_0xda19,0x7850c));import _0xfd6550 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';function _0xda19(){var _0x18b492=['1981728UEGHyb','1NoPsPG','514190NPMpxt','20522330LvRRCk','105ljKZlR','2270555EKZSMR','8IMMUsj','4368558LXyEtB','883863ZRQPYH','59524DSYIKB'];_0xda19=function(){return _0x18b492;};return _0xda19();}export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x5e05(_0xb3d80d,_0x260eac){var _0xda1981=_0xda19();return _0x5e05=function(_0x5e056c,_0x3c5518){_0x5e056c=_0x5e056c-0x190;var _0x2fd7f5=_0xda1981[_0x5e056c];return _0x2fd7f5;},_0x5e05(_0xb3d80d,_0x260eac);}export*as Listeners from'./listeners';export*as Services from'./services';export{_0xfd6550 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 462da746..17d4d582 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x280866=_0x35af;(function(_0x12b30f,_0x26eb37){var _0x436b1b=_0x35af,_0x1745b7=_0x12b30f();while(!![]){try{var _0x1da0af=-parseInt(_0x436b1b(0x141))/0x1+parseInt(_0x436b1b(0x138))/0x2*(-parseInt(_0x436b1b(0x14b))/0x3)+-parseInt(_0x436b1b(0x149))/0x4*(parseInt(_0x436b1b(0x13f))/0x5)+-parseInt(_0x436b1b(0x143))/0x6+parseInt(_0x436b1b(0x147))/0x7+-parseInt(_0x436b1b(0x14c))/0x8+-parseInt(_0x436b1b(0x13d))/0x9*(-parseInt(_0x436b1b(0x13a))/0xa);if(_0x1da0af===_0x26eb37)break;else _0x1745b7['push'](_0x1745b7['shift']());}catch(_0x542cb3){_0x1745b7['push'](_0x1745b7['shift']());}}}(_0x4810,0x77109));function _0x4810(){var _0x4ee5a3=['4877586JOoUPs','onBuddyReqUnreadCntChange','5IowGRR','onDelBatchBuddyInfos','773080GPFaOH','onAddBuddyNeedVerify','4702908vdjYPa','onBuddyReqChange','onNickUpdated','onAvatarUrlUpdated','4420150TTZEVY','onAddMeSettingChanged','227828nMFpZI','onCheckBuddySettingResult','23139RAIyBn','6585392ZPuQDq','onBuddyRemarkUpdated','onSpacePermissionInfos','108FeqlPo','onSmartInfos','50HlhYhN','onBuddyListChange','onBuddyInfoChange'];_0x4810=function(){return _0x4ee5a3;};return _0x4810();}function _0x35af(_0x1af4f6,_0x32bcae){var _0x48103a=_0x4810();return _0x35af=function(_0x35af5d,_0x1f1da){_0x35af5d=_0x35af5d-0x138;var _0x22ddcb=_0x48103a[_0x35af5d];return _0x22ddcb;},_0x35af(_0x1af4f6,_0x32bcae);}export class BuddyListener{[_0x280866(0x142)](_0xc20704){}[_0x280866(0x148)](_0x4aef9e){}[_0x280866(0x146)](_0x285f27){}['onBlockChanged'](_0x5c05c8){}['onBuddyDetailInfoChange'](_0x535768){}[_0x280866(0x13c)](_0x594476){}[_0x280866(0x13b)](_0x484965){}[_0x280866(0x14d)](_0x179d49){}[_0x280866(0x144)](_0x2fb4b1){}[_0x280866(0x13e)](_0x16ca67){}[_0x280866(0x14a)](_0x3ccb49){}[_0x280866(0x140)](_0x49d6dd){}['onDoubtBuddyReqChange'](_0xf60ba8){}['onDoubtBuddyReqUnreadNumChange'](_0x51e88d){}[_0x280866(0x145)](_0x1fb158){}[_0x280866(0x139)](_0x2b4046){}[_0x280866(0x14e)](_0x3e1b0b){}} \ No newline at end of file +function _0x53de(){var _0x5ac79e=['18297PSxiEG','onAddBuddyNeedVerify','onSmartInfos','onBuddyReqUnreadCntChange','onAvatarUrlUpdated','onDoubtBuddyReqUnreadNumChange','2546412FKcrRD','539235CLVuEp','onCheckBuddySettingResult','onDoubtBuddyReqChange','onBuddyDetailInfoChange','6368WCQDyn','469eGHfJe','25086LuRHEu','2488244InAoQq','4814028bSQLxE','onBuddyReqChange','7119820KauiLh','5EtDBSf','onBlockChanged','onDelBatchBuddyInfos'];_0x53de=function(){return _0x5ac79e;};return _0x53de();}var _0x52f379=_0x4b9d;(function(_0xba55a5,_0x13a47f){var _0x5e3cda=_0x4b9d,_0x3394f0=_0xba55a5();while(!![]){try{var _0x267e6f=parseInt(_0x5e3cda(0x1f2))/0x1+parseInt(_0x5e3cda(0x1f9))/0x2+-parseInt(_0x5e3cda(0x1f1))/0x3+-parseInt(_0x5e3cda(0x1fa))/0x4*(parseInt(_0x5e3cda(0x1fd))/0x5)+-parseInt(_0x5e3cda(0x1f8))/0x6*(-parseInt(_0x5e3cda(0x1f7))/0x7)+-parseInt(_0x5e3cda(0x1f6))/0x8*(-parseInt(_0x5e3cda(0x200))/0x9)+-parseInt(_0x5e3cda(0x1fc))/0xa;if(_0x267e6f===_0x13a47f)break;else _0x3394f0['push'](_0x3394f0['shift']());}catch(_0x391563){_0x3394f0['push'](_0x3394f0['shift']());}}}(_0x53de,0xdffd3));function _0x4b9d(_0x56f43d,_0x2ac6ce){var _0x53dec2=_0x53de();return _0x4b9d=function(_0x4b9d44,_0x12993a){_0x4b9d44=_0x4b9d44-0x1ee;var _0x335aa7=_0x53dec2[_0x4b9d44];return _0x335aa7;},_0x4b9d(_0x56f43d,_0x2ac6ce);}export class BuddyListener{[_0x52f379(0x201)](_0x556e4c){}['onAddMeSettingChanged'](_0x20b0b0){}[_0x52f379(0x1ef)](_0x36f5d6){}[_0x52f379(0x1fe)](_0x8942ad){}[_0x52f379(0x1f5)](_0x33ceb4){}['onBuddyInfoChange'](_0xde1189){}['onBuddyListChange'](_0x3e022d){}['onBuddyRemarkUpdated'](_0xfd0f31){}[_0x52f379(0x1fb)](_0x5a5c6e){}[_0x52f379(0x1ee)](_0x38020a){}[_0x52f379(0x1f3)](_0x2da935){}[_0x52f379(0x1ff)](_0x4c02ff){}[_0x52f379(0x1f4)](_0x29e9b7){}[_0x52f379(0x1f0)](_0x117df9){}['onNickUpdated'](_0x1a779d){}[_0x52f379(0x202)](_0x4d0b8e){}['onSpacePermissionInfos'](_0x6a0a33){}} \ 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 a6f65157..0bd27bbe 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x355ddd=_0x24b8;function _0x24b8(_0x10159f,_0x442c71){var _0x43b666=_0x43b6();return _0x24b8=function(_0x24b899,_0x4e8a1e){_0x24b899=_0x24b899-0x1b5;var _0x76bdf5=_0x43b666[_0x24b899];return _0x76bdf5;},_0x24b8(_0x10159f,_0x442c71);}function _0x43b6(){var _0x9e8d5a=['onSessionListChanged','onSessionChanged','1weyful','801qBando','9162CLsDNH','onFileStatusChanged','312066RDfPzr','1185xtUSYF','295599mEPCtQ','75160kwHxft','3080824kEItOP','onFileSearch','2240742oqtiAu','2614176UCKjfA'];_0x43b6=function(){return _0x9e8d5a;};return _0x43b6();}(function(_0x325080,_0x2208d7){var _0x98562=_0x24b8,_0x565a68=_0x325080();while(!![]){try{var _0x2f739c=-parseInt(_0x98562(0x1b8))/0x1*(-parseInt(_0x98562(0x1bc))/0x2)+-parseInt(_0x98562(0x1be))/0x3+parseInt(_0x98562(0x1c0))/0x4+parseInt(_0x98562(0x1bd))/0x5*(parseInt(_0x98562(0x1ba))/0x6)+-parseInt(_0x98562(0x1c2))/0x7+parseInt(_0x98562(0x1b5))/0x8+parseInt(_0x98562(0x1b9))/0x9*(-parseInt(_0x98562(0x1bf))/0xa);if(_0x2f739c===_0x2208d7)break;else _0x565a68['push'](_0x565a68['shift']());}catch(_0x587d42){_0x565a68['push'](_0x565a68['shift']());}}}(_0x43b6,0x80bf3));export class KernelFileAssistantListener{[_0x355ddd(0x1bb)](..._0x4d7c4f){}[_0x355ddd(0x1b6)](..._0xed3b68){}[_0x355ddd(0x1b7)](..._0x49eb68){}['onFileListChanged'](..._0x12e29c){}[_0x355ddd(0x1c1)](..._0x2549d8){}} \ No newline at end of file +function _0x2cfa(_0x440451,_0x195768){var _0x50cd1c=_0x50cd();return _0x2cfa=function(_0x2cfa36,_0x5cb074){_0x2cfa36=_0x2cfa36-0xc8;var _0x293bb5=_0x50cd1c[_0x2cfa36];return _0x293bb5;},_0x2cfa(_0x440451,_0x195768);}var _0x5721de=_0x2cfa;(function(_0x648cbb,_0x2a8a80){var _0x36f25e=_0x2cfa,_0x1333a0=_0x648cbb();while(!![]){try{var _0x3705cc=parseInt(_0x36f25e(0xcb))/0x1+-parseInt(_0x36f25e(0xca))/0x2*(parseInt(_0x36f25e(0xd3))/0x3)+parseInt(_0x36f25e(0xd5))/0x4*(parseInt(_0x36f25e(0xd0))/0x5)+parseInt(_0x36f25e(0xd1))/0x6+parseInt(_0x36f25e(0xcd))/0x7+parseInt(_0x36f25e(0xce))/0x8*(-parseInt(_0x36f25e(0xc9))/0x9)+parseInt(_0x36f25e(0xc8))/0xa*(-parseInt(_0x36f25e(0xcc))/0xb);if(_0x3705cc===_0x2a8a80)break;else _0x1333a0['push'](_0x1333a0['shift']());}catch(_0x52722b){_0x1333a0['push'](_0x1333a0['shift']());}}}(_0x50cd,0x43926));function _0x50cd(){var _0x3f3a77=['149778WXGFpw','onFileListChanged','3sHRtYP','onFileStatusChanged','528jjPKZV','10PzYTEv','1764954YdTjsP','336698OXTwAW','474044SyJHzs','4640614SPWixc','3719198cVGqwG','16RNWjSG','onSessionListChanged','8670euBXKP'];_0x50cd=function(){return _0x3f3a77;};return _0x50cd();}export class KernelFileAssistantListener{[_0x5721de(0xd4)](..._0x177aa8){}[_0x5721de(0xcf)](..._0x5116e5){}['onSessionChanged'](..._0xc58567){}[_0x5721de(0xd2)](..._0x5ea1d8){}['onFileSearch'](..._0x3f8388){}} \ 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 24e7799b..d89e66a7 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x481dd6=_0x445f;(function(_0x3d3b4d,_0x52434b){var _0x4ff1dc=_0x445f,_0x540b89=_0x3d3b4d();while(!![]){try{var _0x41af88=parseInt(_0x4ff1dc(0x156))/0x1*(parseInt(_0x4ff1dc(0x174))/0x2)+-parseInt(_0x4ff1dc(0x18f))/0x3+parseInt(_0x4ff1dc(0x172))/0x4*(-parseInt(_0x4ff1dc(0x170))/0x5)+parseInt(_0x4ff1dc(0x17c))/0x6*(-parseInt(_0x4ff1dc(0x179))/0x7)+-parseInt(_0x4ff1dc(0x16a))/0x8*(-parseInt(_0x4ff1dc(0x155))/0x9)+-parseInt(_0x4ff1dc(0x15d))/0xa*(-parseInt(_0x4ff1dc(0x17e))/0xb)+parseInt(_0x4ff1dc(0x159))/0xc;if(_0x41af88===_0x52434b)break;else _0x540b89['push'](_0x540b89['shift']());}catch(_0x5c044d){_0x540b89['push'](_0x540b89['shift']());}}}(_0x312e,0x2550b));export class GroupListener{[_0x481dd6(0x160)](..._0x576cb9){}[_0x481dd6(0x150)](..._0x2099d9){}[_0x481dd6(0x175)](..._0x507523){}['onGroupBulletinChange'](..._0x5d422d){}[_0x481dd6(0x17f)](..._0x33f95d){}[_0x481dd6(0x162)](..._0xa6d0e5){}[_0x481dd6(0x194)](..._0x5c4234){}['onGroupConfMemberChange'](..._0x16e204){}[_0x481dd6(0x193)](..._0x3e9e1e){}[_0x481dd6(0x15c)](..._0x1aa0df){}[_0x481dd6(0x167)](..._0x1e2728){}['onGroupListUpdate'](_0x10f49f,_0x5b1f5c){}[_0x481dd6(0x188)](_0x592882,_0x154246){}['onGroupBulletinRichMediaProgressUpdate'](..._0x5aab05){}[_0x481dd6(0x181)](..._0x5a99fd){}[_0x481dd6(0x18b)](_0x1e8af2,_0x1c7105,_0x443d31){}[_0x481dd6(0x182)](..._0xdc34e7){}[_0x481dd6(0x168)](..._0x5718ab){}[_0x481dd6(0x165)](..._0x4d0d3d){}[_0x481dd6(0x169)](..._0x32f189){}[_0x481dd6(0x191)](_0x3b4ff0,_0x42d189,_0x281bac){}['onMemberListChange'](_0x501c7c){}['onSearchMemberChange'](..._0xbf69f1){}[_0x481dd6(0x185)](..._0xe94d83){}}export class DebugGroupListener{[_0x481dd6(0x160)](..._0x189bae){var _0x5ed82d=_0x481dd6;console[_0x5ed82d(0x190)](_0x5ed82d(0x163),..._0x189bae);}[_0x481dd6(0x150)](..._0x6668f8){var _0x2d0fb7=_0x481dd6,_0x4c7541={'uAjRM':_0x2d0fb7(0x18e)};console[_0x2d0fb7(0x190)](_0x4c7541[_0x2d0fb7(0x18c)],..._0x6668f8);}[_0x481dd6(0x175)](..._0x2ee210){var _0x292426=_0x481dd6,_0x30bb76={'bYOAZ':_0x292426(0x151)};console[_0x292426(0x190)](_0x30bb76[_0x292426(0x153)],..._0x2ee210);}['onGroupBulletinChange'](..._0x207280){var _0x508d9f=_0x481dd6;console['log'](_0x508d9f(0x164),..._0x207280);}[_0x481dd6(0x17f)](..._0x4c2927){var _0x58e49f=_0x481dd6,_0x5d798f={'cApbT':_0x58e49f(0x186)};console[_0x58e49f(0x190)](_0x5d798f[_0x58e49f(0x16b)],..._0x4c2927);}[_0x481dd6(0x162)](..._0x2da98e){var _0x1372d6=_0x481dd6,_0x369f2f={'GlemG':_0x1372d6(0x158)};console[_0x1372d6(0x190)](_0x369f2f[_0x1372d6(0x15b)],..._0x2da98e);}['onGroupBulletinRichMediaDownloadComplete'](..._0x1f2a15){var _0x4e05b8=_0x481dd6,_0x3d44c5={'zrBzD':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x4e05b8(0x190)](_0x3d44c5[_0x4e05b8(0x178)],..._0x1f2a15);}[_0x481dd6(0x18d)](..._0x135730){var _0x39d867=_0x481dd6;console[_0x39d867(0x190)](_0x39d867(0x17d),..._0x135730);}['onGroupDetailInfoChange'](..._0x59879d){var _0x228233=_0x481dd6,_0x148f17={'QQQhE':'onGroupDetailInfoChange:'};console[_0x228233(0x190)](_0x148f17[_0x228233(0x152)],..._0x59879d);}[_0x481dd6(0x15c)](..._0x5b9713){var _0x225b03=_0x481dd6,_0x5d471c={'reWUI':_0x225b03(0x180)};console['log'](_0x5d471c['reWUI'],..._0x5b9713);}[_0x481dd6(0x167)](..._0x2f2bf9){var _0x10dc7c=_0x481dd6;console[_0x10dc7c(0x190)](_0x10dc7c(0x173),..._0x2f2bf9);}[_0x481dd6(0x18a)](..._0x20575a){var _0x215b9c=_0x481dd6,_0x19e0aa={'nplQJ':_0x215b9c(0x183)};console[_0x215b9c(0x190)](_0x19e0aa['nplQJ'],..._0x20575a);}[_0x481dd6(0x188)](..._0xbae292){var _0x1a899b=_0x481dd6,_0x353212={'hDXJo':_0x1a899b(0x16e)};console['log'](_0x353212[_0x1a899b(0x17b)],..._0xbae292);}[_0x481dd6(0x14f)](..._0x4e3a5d){var _0x11d0eb=_0x481dd6;console[_0x11d0eb(0x190)]('onGroupBulletinRichMediaProgressUpdate:',..._0x4e3a5d);}[_0x481dd6(0x181)](..._0x611a94){var _0x5f5029=_0x481dd6;console['log'](_0x5f5029(0x15e),..._0x611a94);}[_0x481dd6(0x18b)](_0x51870b,_0x78e39c,_0x2388dd){var _0x31cdf7=_0x481dd6,_0x21ba7d={'AKHxx':'onGroupSingleScreenNotifies:'};console[_0x31cdf7(0x190)](_0x21ba7d[_0x31cdf7(0x16f)]);}[_0x481dd6(0x182)](..._0x2178d1){var _0x4b657f=_0x481dd6,_0x4bf8e6={'iXqEO':_0x4b657f(0x16c)};console[_0x4b657f(0x190)](_0x4bf8e6[_0x4b657f(0x189)],..._0x2178d1);}[_0x481dd6(0x168)](..._0x22f54a){var _0x3b529d=_0x481dd6,_0x589858={'ldPLB':_0x3b529d(0x17a)};console['log'](_0x589858[_0x3b529d(0x15f)],..._0x22f54a);}[_0x481dd6(0x165)](..._0x3d5e74){var _0x2683ac=_0x481dd6,_0x21b177={'vVNFV':_0x2683ac(0x192)};console[_0x2683ac(0x190)](_0x21b177['vVNFV'],..._0x3d5e74);}['onJoinGroupNoVerifyFlag'](..._0x29381f){var _0x4010d3=_0x481dd6;console['log'](_0x4010d3(0x157),..._0x29381f);}[_0x481dd6(0x191)](_0x49d472,_0x12a9c1,_0x546a05){var _0x59172b=_0x481dd6,_0x27b1f4={'FzTke':_0x59172b(0x15a)};console[_0x59172b(0x190)](_0x27b1f4[_0x59172b(0x177)],_0x49d472,_0x12a9c1,_0x546a05);}[_0x481dd6(0x176)](..._0x58d916){var _0x536170=_0x481dd6,_0x331420={'CjUYb':_0x536170(0x184)};console[_0x536170(0x190)](_0x331420[_0x536170(0x166)],..._0x58d916);}[_0x481dd6(0x161)](..._0x585fcb){var _0x3490f1=_0x481dd6,_0x4fed6f={'SCfee':_0x3490f1(0x187)};console[_0x3490f1(0x190)](_0x4fed6f[_0x3490f1(0x171)],..._0x585fcb);}[_0x481dd6(0x185)](..._0x502ec6){var _0x28276e=_0x481dd6,_0x3febcf={'jchpE':_0x28276e(0x154)};console['log'](_0x3febcf[_0x28276e(0x16d)],..._0x502ec6);}}function _0x445f(_0x13e70c,_0x5140a3){var _0x312e83=_0x312e();return _0x445f=function(_0x445f54,_0x3ba805){_0x445f54=_0x445f54-0x14f;var _0x458369=_0x312e83[_0x445f54];return _0x458369;},_0x445f(_0x13e70c,_0x5140a3);}function _0x312e(){var _0x10ef33=['AKHxx','5AqnmAv','SCfee','833020sdAwUW','onGroupFirstBulletinNotify:','2gXUifV','onGroupAllInfoChange','onMemberListChange','FzTke','zrBzD','1163218JeFbPi','onGroupStatisticInfoChange:','hDXJo','6FKWAMi','onGroupConfMemberChange:','319TlAzbu','onGroupBulletinRemindNotify','onGroupExtListUpdate:','onGroupNotifiesUnreadCountUpdated','onGroupsMsgMaskResult','onGroupListUpdate:','onMemberListChange:','onShutUpMemberListChanged','onGroupBulletinRemindNotify:','onSearchMemberChange:','onGroupNotifiesUpdated','iXqEO','onGroupListUpdate','onGroupSingleScreenNotifies','uAjRM','onGroupConfMemberChange','onGetGroupBulletinListResult:','678285HLWViB','log','onMemberInfoChange','onJoinGroupNotify:','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupAllInfoChange:','QQQhE','bYOAZ','onShutUpMemberListChanged:','9mvqHXY','237405OVdbEL','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult:','2800308fDFRjo','onMemberInfoChange:','GlemG','onGroupExtListUpdate','8480SFJJSZ','onGroupNotifiesUnreadCountUpdated:','ldPLB','onGroupMemberLevelInfoChange','onSearchMemberChange','onGroupArkInviteStateResult','onGroupMemberLevelInfoChange:','onGroupBulletinChange:','onJoinGroupNotify','CjUYb','onGroupFirstBulletinNotify','onGroupStatisticInfoChange','onJoinGroupNoVerifyFlag','2064088iOBNfE','cApbT','onGroupsMsgMaskResult:','jchpE','onGroupNotifiesUpdated:'];_0x312e=function(){return _0x10ef33;};return _0x312e();} \ No newline at end of file +var _0x273db9=_0x39a3;function _0x82b3(){var _0x38b03a=['FwVEd','onGroupMemberLevelInfoChange','onGroupListUpdate:','onGroupAllInfoChange','onGroupNotifiesUpdated:','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinRemindNotify:','onGroupSingleScreenNotifies','TOPrC','onSearchMemberChange','onGroupExtListUpdate','ddIaD','KRrSs','SRuJh','onGroupNotifiesUnreadCountUpdated:','onGroupStatisticInfoChange:','onGroupBulletinChange:','DaOjL','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag','onGroupAllInfoChange:','onSearchMemberChange:','blgjW','onGroupDetailInfoChange:','UeBmC','onGroupDetailInfoChange','onJoinGroupNotify','13773159ZhbIEK','onGroupExtListUpdate:','onMemberListChange:','onJoinGroupNotify:','onGroupNotifiesUpdated','8oCRgeo','UuslW','VCBvW','log','onGroupsMsgMaskResult:','EUfdN','EOnMM','onGroupNotifiesUnreadCountUpdated','onGroupMemberLevelInfoChange:','SpGMX','CilPk','krxUU','onGetGroupBulletinListResult:','onGroupConfMemberChange','4629843NKIiQq','4668PJAXUo','onGetGroupBulletinListResult','onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify','onGroupArkInviteStateResult','2798314NcOpQs','onGroupStatisticInfoChange','3146985HPgGcX','588667zccFpu','onMemberInfoChange','10556HHEbYC','onGroupBulletinRichMediaDownloadComplete','onShutUpMemberListChanged','onGroupArkInviteStateResult:','onMemberListChange','onGroupsMsgMaskResult','onGroupSingleScreenNotifies:','1888240nQNeDc','vCRRg','onGroupBulletinRemindNotify','YSvRr','onGroupConfMemberChange:'];_0x82b3=function(){return _0x38b03a;};return _0x82b3();}(function(_0x2b841c,_0x22d5b8){var _0x6ad337=_0x39a3,_0x12100d=_0x2b841c();while(!![]){try{var _0x1db8e6=parseInt(_0x6ad337(0x121))/0x1+parseInt(_0x6ad337(0x11e))/0x2+parseInt(_0x6ad337(0x118))/0x3+-parseInt(_0x6ad337(0xe5))/0x4+parseInt(_0x6ad337(0x120))/0x5+parseInt(_0x6ad337(0x119))/0x6*(-parseInt(_0x6ad337(0x123))/0x7)+-parseInt(_0x6ad337(0x10a))/0x8*(parseInt(_0x6ad337(0x105))/0x9);if(_0x1db8e6===_0x22d5b8)break;else _0x12100d['push'](_0x12100d['shift']());}catch(_0x2e313b){_0x12100d['push'](_0x12100d['shift']());}}}(_0x82b3,0xf0723));function _0x39a3(_0x589b91,_0x1a47f8){var _0x82b36a=_0x82b3();return _0x39a3=function(_0x39a353,_0x2615ca){_0x39a353=_0x39a353-0xe0;var _0xf53b94=_0x82b36a[_0x39a353];return _0xf53b94;},_0x39a3(_0x589b91,_0x1a47f8);}export class GroupListener{[_0x273db9(0xeb)](..._0x53be05){}[_0x273db9(0x11a)](..._0x2f9ceb){}[_0x273db9(0xed)](..._0x2ecac1){}['onGroupBulletinChange'](..._0x227a6f){}[_0x273db9(0xe7)](..._0x14349e){}[_0x273db9(0x11d)](..._0x621fc2){}[_0x273db9(0x124)](..._0x2c86d0){}[_0x273db9(0x117)](..._0x3ffb35){}['onGroupDetailInfoChange'](..._0x4cfc1d){}[_0x273db9(0xf4)](..._0xbb5965){}[_0x273db9(0x11c)](..._0x1dcd78){}['onGroupListUpdate'](_0x19ed09,_0x206d4e){}[_0x273db9(0x109)](_0xe89f80,_0x3ed293){}[_0x273db9(0xfc)](..._0x22a63f){}['onGroupNotifiesUnreadCountUpdated'](..._0x1c616f){}['onGroupSingleScreenNotifies'](_0x14ca91,_0x1a11f8,_0x1a8ab7){}['onGroupsMsgMaskResult'](..._0x2ffb51){}[_0x273db9(0x11f)](..._0x3fe840){}['onJoinGroupNotify'](..._0x3bef96){}['onJoinGroupNoVerifyFlag'](..._0x14140f){}[_0x273db9(0x122)](_0x4b2a75,_0x495d75,_0x122ad1){}[_0x273db9(0xe2)](_0x321906){}[_0x273db9(0xf3)](..._0x2579f0){}[_0x273db9(0xe0)](..._0x359484){}}export class DebugGroupListener{[_0x273db9(0xeb)](..._0x3fbccf){var _0x54b871=_0x273db9,_0x36a1bb={'CilPk':_0x54b871(0x112)};console['log'](_0x36a1bb[_0x54b871(0x114)],..._0x3fbccf);}['onGetGroupBulletinListResult'](..._0x4b3b75){var _0x5dfc89=_0x273db9;console[_0x5dfc89(0x10d)](_0x5dfc89(0x116),..._0x4b3b75);}[_0x273db9(0xed)](..._0x3a4fd4){var _0x599177=_0x273db9,_0x29fecd={'ddIaD':_0x599177(0xfe)};console[_0x599177(0x10d)](_0x29fecd[_0x599177(0xf5)],..._0x3a4fd4);}['onGroupBulletinChange'](..._0x54c3a9){var _0x419556=_0x273db9,_0x43b8a0={'TOPrC':_0x419556(0xfa)};console['log'](_0x43b8a0[_0x419556(0xf2)],..._0x54c3a9);}['onGroupBulletinRemindNotify'](..._0x5e281b){var _0x45c6ae=_0x273db9,_0x404f28={'EUfdN':_0x45c6ae(0xf0)};console['log'](_0x404f28[_0x45c6ae(0x10f)],..._0x5e281b);}['onGroupArkInviteStateResult'](..._0x32b74f){var _0x51bdc5=_0x273db9,_0x23848b={'DaOjL':_0x51bdc5(0xe1)};console[_0x51bdc5(0x10d)](_0x23848b[_0x51bdc5(0xfb)],..._0x32b74f);}[_0x273db9(0x124)](..._0x4950c3){var _0x268383=_0x273db9,_0x416977={'FwVEd':_0x268383(0xef)};console[_0x268383(0x10d)](_0x416977[_0x268383(0xea)],..._0x4950c3);}[_0x273db9(0x117)](..._0x590f9c){var _0x439f5f=_0x273db9,_0x25cf4a={'SRuJh':_0x439f5f(0xe9)};console[_0x439f5f(0x10d)](_0x25cf4a[_0x439f5f(0xf7)],..._0x590f9c);}[_0x273db9(0x103)](..._0xa76411){var _0x37cde0=_0x273db9,_0x19d4fa={'VCBvW':_0x37cde0(0x101)};console[_0x37cde0(0x10d)](_0x19d4fa[_0x37cde0(0x10c)],..._0xa76411);}['onGroupExtListUpdate'](..._0x2c5793){var _0x25b643=_0x273db9,_0x58dee7={'UuslW':_0x25b643(0x106)};console[_0x25b643(0x10d)](_0x58dee7[_0x25b643(0x10b)],..._0x2c5793);}[_0x273db9(0x11c)](..._0x3148c7){var _0x264c3d=_0x273db9;console[_0x264c3d(0x10d)]('onGroupFirstBulletinNotify:',..._0x3148c7);}['onGroupListUpdate'](..._0x5c40a7){var _0x539a36=_0x273db9;console[_0x539a36(0x10d)](_0x539a36(0xec),..._0x5c40a7);}['onGroupNotifiesUpdated'](..._0x427af1){var _0x375c47=_0x273db9,_0x3b214d={'EOnMM':_0x375c47(0xee)};console[_0x375c47(0x10d)](_0x3b214d[_0x375c47(0x110)],..._0x427af1);}[_0x273db9(0xfc)](..._0xa77518){var _0x5819e0=_0x273db9;console[_0x5819e0(0x10d)](_0x5819e0(0x11b),..._0xa77518);}[_0x273db9(0x111)](..._0x4b9252){var _0x30a84e=_0x273db9,_0x422f62={'SpGMX':_0x30a84e(0xf8)};console[_0x30a84e(0x10d)](_0x422f62[_0x30a84e(0x113)],..._0x4b9252);}[_0x273db9(0xf1)](_0xeaf885,_0x5cad3d,_0x4be714){var _0x35c3ea=_0x273db9,_0x11b068={'tLcVo':_0x35c3ea(0xe4)};console[_0x35c3ea(0x10d)](_0x11b068['tLcVo']);}[_0x273db9(0xe3)](..._0x1a31ac){var _0x3ec5ce=_0x273db9,_0x5209a4={'uJFfY':_0x3ec5ce(0x10e)};console[_0x3ec5ce(0x10d)](_0x5209a4['uJFfY'],..._0x1a31ac);}['onGroupStatisticInfoChange'](..._0x5c30a5){var _0x5b1110=_0x273db9,_0x13a43a={'blgjW':_0x5b1110(0xf9)};console[_0x5b1110(0x10d)](_0x13a43a[_0x5b1110(0x100)],..._0x5c30a5);}[_0x273db9(0x104)](..._0x2af3c6){var _0x5ecc85=_0x273db9,_0x33fe4a={'krxUU':_0x5ecc85(0x108)};console[_0x5ecc85(0x10d)](_0x33fe4a[_0x5ecc85(0x115)],..._0x2af3c6);}[_0x273db9(0xfd)](..._0x342404){var _0x2e9db3=_0x273db9,_0x32746f={'vhtHc':'onJoinGroupNoVerifyFlag:'};console[_0x2e9db3(0x10d)](_0x32746f['vhtHc'],..._0x342404);}[_0x273db9(0x122)](_0x24a501,_0x7c2f37,_0x189810){var _0x297867=_0x273db9,_0x1cc645={'vCRRg':'onMemberInfoChange:'};console[_0x297867(0x10d)](_0x1cc645[_0x297867(0xe6)],_0x24a501,_0x7c2f37,_0x189810);}[_0x273db9(0xe2)](..._0x543bc6){var _0x2fd50b=_0x273db9,_0x38a256={'UeBmC':_0x2fd50b(0x107)};console[_0x2fd50b(0x10d)](_0x38a256[_0x2fd50b(0x102)],..._0x543bc6);}['onSearchMemberChange'](..._0x4c18d9){var _0x152fe1=_0x273db9,_0xc92abf={'KRrSs':_0x152fe1(0xff)};console[_0x152fe1(0x10d)](_0xc92abf[_0x152fe1(0xf6)],..._0x4c18d9);}[_0x273db9(0xe0)](..._0x4eb33a){var _0xd9c890=_0x273db9,_0x438815={'YSvRr':'onShutUpMemberListChanged:'};console[_0xd9c890(0x10d)](_0x438815[_0xd9c890(0xe8)],..._0x4eb33a);}} \ 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 39574385..869b4918 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3db6(_0x5af6f2,_0x548158){var _0xec19ad=_0xec19();return _0x3db6=function(_0x3db6c1,_0x9347a1){_0x3db6c1=_0x3db6c1-0x1cb;var _0xdfd531=_0xec19ad[_0x3db6c1];return _0xdfd531;},_0x3db6(_0x5af6f2,_0x548158);}var _0x534bec=_0x3db6;function _0xec19(){var _0x598ac2=['onQRCodeSessionQuickLoginFailed','onLoginFailed','54836mNhjrf','onQRCodeLoginSucceed','98850zUUbPV','onPasswordLoginFailed','onQRCodeSessionFailed','onLoginConnected','14SDnLmD','onQRCodeLoginPollingStarted','2612TmoQGB','onLoginDisConnected','onLogoutFailed','267159tmwzfx','onLoginState','1128EBNlkX','onQQLoginNumLimited','OnConfirmUnusualDeviceFailed','onLogoutSucceed','onLoginConnecting','858eUZmiU','onUserLoggedIn','475700cZclct','18itmKak','557432bTANWH','263778mRjUZM','onQRCodeSessionUserScaned','onQRCodeGetPicture'];_0xec19=function(){return _0x598ac2;};return _0xec19();}(function(_0x3ea886,_0x14d20b){var _0x115e7d=_0x3db6,_0x44144c=_0x3ea886();while(!![]){try{var _0x33e0c0=-parseInt(_0x115e7d(0x1d4))/0x1+parseInt(_0x115e7d(0x1e5))/0x2+parseInt(_0x115e7d(0x1d6))/0x3*(-parseInt(_0x115e7d(0x1d1))/0x4)+parseInt(_0x115e7d(0x1dd))/0x5+parseInt(_0x115e7d(0x1e0))/0x6*(-parseInt(_0x115e7d(0x1cf))/0x7)+parseInt(_0x115e7d(0x1df))/0x8*(-parseInt(_0x115e7d(0x1de))/0x9)+parseInt(_0x115e7d(0x1cb))/0xa*(parseInt(_0x115e7d(0x1db))/0xb);if(_0x33e0c0===_0x14d20b)break;else _0x44144c['push'](_0x44144c['shift']());}catch(_0x547940){_0x44144c['push'](_0x44144c['shift']());}}}(_0xec19,0x25811));export class LoginListener{[_0x534bec(0x1ce)](..._0x494f0b){}[_0x534bec(0x1d2)](..._0x22fa9c){}[_0x534bec(0x1da)](..._0x2fb438){}[_0x534bec(0x1e2)](_0x1f4b46){}[_0x534bec(0x1d0)](..._0x7a2ef1){}[_0x534bec(0x1e1)](..._0x54b1ab){}[_0x534bec(0x1e6)](_0x40f056){}[_0x534bec(0x1cd)](..._0x211665){}[_0x534bec(0x1e4)](..._0x35a927){}[_0x534bec(0x1d9)](..._0x2a7f31){}[_0x534bec(0x1d3)](..._0x33cd2f){}[_0x534bec(0x1dc)](..._0x43e005){}[_0x534bec(0x1e3)](..._0x3950fe){}[_0x534bec(0x1cc)](..._0x577c86){}[_0x534bec(0x1d8)](..._0x37bbb){}[_0x534bec(0x1d7)](..._0x275e9f){}[_0x534bec(0x1d5)](..._0xaa25e3){}} \ No newline at end of file +var _0x4a6d81=_0x53ff;(function(_0x5f3fa2,_0x17c26e){var _0x296af6=_0x53ff,_0x31a5dd=_0x5f3fa2();while(!![]){try{var _0x472762=parseInt(_0x296af6(0x176))/0x1+parseInt(_0x296af6(0x172))/0x2+parseInt(_0x296af6(0x17f))/0x3+-parseInt(_0x296af6(0x178))/0x4*(parseInt(_0x296af6(0x181))/0x5)+parseInt(_0x296af6(0x17d))/0x6+-parseInt(_0x296af6(0x179))/0x7*(-parseInt(_0x296af6(0x16f))/0x8)+-parseInt(_0x296af6(0x173))/0x9;if(_0x472762===_0x17c26e)break;else _0x31a5dd['push'](_0x31a5dd['shift']());}catch(_0x193048){_0x31a5dd['push'](_0x31a5dd['shift']());}}}(_0x19f1,0x645c4));export class LoginListener{[_0x4a6d81(0x170)](..._0x3f44b3){}[_0x4a6d81(0x183)](..._0x45ae18){}[_0x4a6d81(0x185)](..._0x37b15b){}[_0x4a6d81(0x17a)](_0x102a6f){}[_0x4a6d81(0x17b)](..._0x1d5ca5){}[_0x4a6d81(0x174)](..._0x3100fc){}['onQRCodeLoginSucceed'](_0x13b91b){}['onQRCodeSessionFailed'](..._0x63f2a4){}[_0x4a6d81(0x182)](..._0x270c99){}['onLogoutSucceed'](..._0x4598d2){}[_0x4a6d81(0x177)](..._0x1cfddc){}[_0x4a6d81(0x17c)](..._0x294e61){}[_0x4a6d81(0x17e)](..._0x14afc6){}[_0x4a6d81(0x180)](..._0x43c0bd){}[_0x4a6d81(0x175)](..._0x3d672e){}[_0x4a6d81(0x171)](..._0x4af210){}[_0x4a6d81(0x184)](..._0x117afe){}}function _0x53ff(_0x4e82aa,_0x3a80d0){var _0x19f1d8=_0x19f1();return _0x53ff=function(_0x53ff33,_0x46858a){_0x53ff33=_0x53ff33-0x16f;var _0x18ea07=_0x19f1d8[_0x53ff33];return _0x18ea07;},_0x53ff(_0x4e82aa,_0x3a80d0);}function _0x19f1(){var _0x218494=['296877lyfeXc','onQRCodeGetPicture','onQRCodeLoginPollingStarted','onUserLoggedIn','3705726EhwFoW','onQRCodeSessionQuickLoginFailed','2330652HlrcEk','onPasswordLoginFailed','295dddrcI','onLoginFailed','onLoginDisConnected','onLoginState','onLoginConnecting','56IOZfTf','onLoginConnected','onQQLoginNumLimited','1322630EVpCww','16745184ZBMBwp','onQRCodeSessionUserScaned','OnConfirmUnusualDeviceFailed','684421utFiEo','onLogoutFailed','51896PSGELL'];_0x19f1=function(){return _0x218494;};return _0x19f1();} \ 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 f4b0ded6..ea652793 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x3fea(_0xec63fb,_0x8d9489){var _0x38e5e9=_0x38e5();return _0x3fea=function(_0x3feac6,_0x4538c5){_0x3feac6=_0x3feac6-0x184;var _0x5ce500=_0x38e5e9[_0x3feac6];return _0x5ce500;},_0x3fea(_0xec63fb,_0x8d9489);}var _0x5d9457=_0x3fea;(function(_0xc4e7d4,_0x6fa762){var _0x35d0f7=_0x3fea,_0x2ad7e1=_0xc4e7d4();while(!![]){try{var _0x5d0b42=-parseInt(_0x35d0f7(0x19d))/0x1*(-parseInt(_0x35d0f7(0x184))/0x2)+parseInt(_0x35d0f7(0x194))/0x3*(-parseInt(_0x35d0f7(0x1bd))/0x4)+parseInt(_0x35d0f7(0x1c1))/0x5+-parseInt(_0x35d0f7(0x1b9))/0x6*(parseInt(_0x35d0f7(0x1b8))/0x7)+parseInt(_0x35d0f7(0x1a6))/0x8+parseInt(_0x35d0f7(0x193))/0x9+-parseInt(_0x35d0f7(0x1a7))/0xa;if(_0x5d0b42===_0x6fa762)break;else _0x2ad7e1['push'](_0x2ad7e1['shift']());}catch(_0x57fe5f){_0x2ad7e1['push'](_0x2ad7e1['shift']());}}}(_0x38e5,0xf2aa6));function _0x38e5(){var _0x464f9c=['onMsgSettingUpdate','onSearchGroupFileInfoUpdate','onMsgRecall','onGrabPasswordRedBag','onGuildNotificationAbstractUpdate','onFileMsgCome','onUserOnlineStatusChanged','onNtMsgSyncEnd','onSysMsgNotification','onFirstViewGroupGuildMapping','onBroadcastHelperProgerssUpdate','onLineDev','42YdMsPI','27018ZGlfbj','onBroadcastHelperProgressUpdate','onRichMediaDownloadComplete','onGroupTransferInfoAdd','7710392VEWyIW','onMsgEventListUpdate','onGroupFileInfoAdd','onRichMediaProgerssUpdate','1576255damJDK','113162XPZZdL','onContactUnreadCntUpdate','onHitEmojiKeywordResult','onUserSecQualityChanged','onUserChannelTabStatusChanged','onRecvMsgSvrRspTransInfo','onRedTouchChanged','onMsgQRCodeStatusChanged','onRecvSysMsg','onCustomWithdrawConfigUpdate','onLogLevelChanged','onRecvOnlineFileMsg','onUserTabStatusChanged','onFeedEventUpdate','onGuildInteractiveUpdate','15386724smpGiQ','3zwXAsH','onMsgInfoListUpdate','onMsgInfoListAdd','onHitCsRelatedEmojiResult','onRecvUDCFlag','onUnreadCntUpdate','onKickedOffLine','onRecvMsg','onBroadcastHelperDownloadComplete','25BJRley','onRecvGroupGuildFlag','onNtMsgSyncStart','onGroupGuildUpdate','onEmojiDownloadComplete','onlineStatusBigIconDownloadPush','onReadFeedEventUpdate','onSendMsgError','onRecvS2CMsg','6049344qxavoK','12470060kFADIj','onEmojiResourceUpdate','onDraftUpdate','onRichMediaUploadComplete','onGroupTransferInfoUpdate'];_0x38e5=function(){return _0x464f9c;};return _0x38e5();}export class MsgListener{['onAddSendMsg'](_0x4c92de){}[_0x5d9457(0x19c)](_0x35ba3e){}[_0x5d9457(0x1ba)](_0x1ea8ba){}['onChannelFreqLimitInfoUpdate'](_0x274142,_0x272cba,_0x1087f9){}[_0x5d9457(0x185)](_0x11efb5){}[_0x5d9457(0x18d)](_0x41633f){}[_0x5d9457(0x1a9)](_0x25ac5d,_0x3c15e8,_0x50db75){}[_0x5d9457(0x1a1)](_0x54d8ed){}[_0x5d9457(0x1a8)](_0x16fea9){}[_0x5d9457(0x191)](_0x55b904){}[_0x5d9457(0x1b1)](_0x33240d){}['onFirstViewDirectMsgUpdate'](_0x1060c3){}[_0x5d9457(0x1b5)](_0x49d36){}[_0x5d9457(0x1af)](_0x332f72,_0x2797ef,_0xe76cf0,_0x53669d,_0x28f7f2){}[_0x5d9457(0x1bf)](_0x438e8b){}['onGroupFileInfoUpdate'](_0xa796e){}[_0x5d9457(0x1a0)](_0x30d8a2){}[_0x5d9457(0x1bc)](_0x234319){}[_0x5d9457(0x1ab)](_0x49228e){}[_0x5d9457(0x192)](_0x4ca39c){}['onGuildMsgAbFlagChanged'](_0x2ef9ca){}[_0x5d9457(0x1b0)](_0x43356e){}[_0x5d9457(0x197)](_0x5763ff){}[_0x5d9457(0x186)](_0x313479){}['onHitRelatedEmojiResult'](_0x30801c){}['onImportOldDbProgressUpdate'](_0x1ea6a4){}['onInputStatusPush'](_0x31484e){}[_0x5d9457(0x19a)](_0x5b8bc3){}[_0x5d9457(0x1b7)](_0x10dc8f){}[_0x5d9457(0x18e)](_0x2d710f){}['onMsgAbstractUpdate'](_0x40f29a){}['onMsgBoxChanged'](_0x583224){}['onMsgDelete'](_0x540809,_0x5cf54d){}[_0x5d9457(0x1be)](_0x140c5d){}[_0x5d9457(0x196)](_0x24776d){}[_0x5d9457(0x195)](_0x244ddc){}[_0x5d9457(0x18b)](_0x8372b1){}[_0x5d9457(0x1ae)](_0x175be8,_0x1a1e33,_0x121b59){}['onMsgSecurityNotify'](_0x4ccb31){}[_0x5d9457(0x1ac)](_0x3b68bd){}['onNtFirstViewMsgSyncEnd'](){}[_0x5d9457(0x1b3)](){}[_0x5d9457(0x19f)](){}[_0x5d9457(0x1a3)](_0x975e5){}[_0x5d9457(0x19e)](_0x3af810){}[_0x5d9457(0x19b)](_0x5b566e){}[_0x5d9457(0x189)](_0x3a10cb,_0x2d90be,_0x286791,_0x472341,_0x20113c,_0x170de8){}[_0x5d9457(0x18f)](_0x2c145c){}[_0x5d9457(0x1a5)](_0x315e8b){}[_0x5d9457(0x18c)](_0x41f593){}[_0x5d9457(0x198)](_0x3b4dd4){}[_0x5d9457(0x1bb)](_0x280de4){}[_0x5d9457(0x1c0)](_0x3d69ca){}[_0x5d9457(0x1aa)](_0x3de9e5){}[_0x5d9457(0x1ad)](_0x3e19d4){}[_0x5d9457(0x1a4)](_0x47954c,_0x5b7925,_0x3f1048,_0x1c2e85){}[_0x5d9457(0x1b4)](_0x58d3dc,_0x2bcf97,_0x15ea7a,_0x57d17e){}['onTempChatInfoUpdate'](_0x48eb10){}['onUnreadCntAfterFirstView'](_0x21ab41){}[_0x5d9457(0x199)](_0x49589a){}[_0x5d9457(0x188)](_0x1c4bdc){}[_0x5d9457(0x1b2)](_0x69a6df){}[_0x5d9457(0x190)](_0xdf8215){}[_0x5d9457(0x1a2)](_0x4b8f82,_0x17be8e,_0x164e4a){}['onlineStatusSmallIconDownloadPush'](_0x532245,_0x5de2e4,_0x3734a6){}[_0x5d9457(0x187)](..._0xf05168){}['onMsgWithRichLinkInfoUpdate'](..._0x4d1d21){}[_0x5d9457(0x18a)](..._0x51c84d){}[_0x5d9457(0x1b6)](..._0x457009){}} \ No newline at end of file +var _0x11d257=_0x3ff2;function _0x3ff2(_0x2a0543,_0x40b984){var _0x1cec99=_0x1cec();return _0x3ff2=function(_0x3ff20e,_0x254840){_0x3ff20e=_0x3ff20e-0x183;var _0x337f0a=_0x1cec99[_0x3ff20e];return _0x337f0a;},_0x3ff2(_0x2a0543,_0x40b984);}(function(_0x508255,_0x216a83){var _0x20c36b=_0x3ff2,_0x4f947d=_0x508255();while(!![]){try{var _0x58a4a9=-parseInt(_0x20c36b(0x18d))/0x1*(-parseInt(_0x20c36b(0x19c))/0x2)+parseInt(_0x20c36b(0x183))/0x3+-parseInt(_0x20c36b(0x1b0))/0x4+parseInt(_0x20c36b(0x1a3))/0x5+-parseInt(_0x20c36b(0x1bb))/0x6*(parseInt(_0x20c36b(0x18a))/0x7)+parseInt(_0x20c36b(0x19a))/0x8*(-parseInt(_0x20c36b(0x196))/0x9)+parseInt(_0x20c36b(0x185))/0xa*(-parseInt(_0x20c36b(0x1b3))/0xb);if(_0x58a4a9===_0x216a83)break;else _0x4f947d['push'](_0x4f947d['shift']());}catch(_0x308887){_0x4f947d['push'](_0x4f947d['shift']());}}}(_0x1cec,0xdbdb4));export class MsgListener{[_0x11d257(0x1bd)](_0x162170){}['onBroadcastHelperDownloadComplete'](_0x54e586){}[_0x11d257(0x1b9)](_0x1fe9d3){}[_0x11d257(0x18e)](_0x3c6018,_0x5790a3,_0x4caf7a){}[_0x11d257(0x1b8)](_0x55af84){}[_0x11d257(0x1a4)](_0x2c0fa4){}[_0x11d257(0x194)](_0x510890,_0x3fb3dc,_0x552727){}[_0x11d257(0x198)](_0x3fb41c){}['onEmojiResourceUpdate'](_0x57278a){}[_0x11d257(0x1af)](_0x528394){}[_0x11d257(0x184)](_0x285d52){}[_0x11d257(0x192)](_0xbef023){}[_0x11d257(0x191)](_0x10e9c9){}[_0x11d257(0x19e)](_0x39b406,_0x4e815f,_0x1351b9,_0x438b0a,_0x1053b5){}[_0x11d257(0x188)](_0x268f17){}[_0x11d257(0x19d)](_0x1c0e3b){}[_0x11d257(0x1b5)](_0x19e2a0){}[_0x11d257(0x1a1)](_0x5bc5d5){}[_0x11d257(0x19b)](_0x4ee7e5){}[_0x11d257(0x1a2)](_0x179923){}['onGuildMsgAbFlagChanged'](_0x127b34){}[_0x11d257(0x1ac)](_0x36a723){}[_0x11d257(0x190)](_0x220ecb){}[_0x11d257(0x1bf)](_0x277581){}[_0x11d257(0x197)](_0x59806c){}[_0x11d257(0x1ad)](_0x3d057b){}[_0x11d257(0x1be)](_0x2611b1){}[_0x11d257(0x1b7)](_0x129971){}[_0x11d257(0x1a8)](_0x25e0b0){}['onLogLevelChanged'](_0x35ec60){}[_0x11d257(0x193)](_0x2de048){}[_0x11d257(0x189)](_0x122a51){}[_0x11d257(0x195)](_0x26e75d,_0xd5d094){}[_0x11d257(0x1a6)](_0x303805){}[_0x11d257(0x187)](_0xfaaccb){}[_0x11d257(0x199)](_0x53828b){}[_0x11d257(0x18b)](_0x28c9cb){}['onMsgRecall'](_0x27ab9a,_0x31cfe3,_0xba65ec){}[_0x11d257(0x1a9)](_0x27e58e){}[_0x11d257(0x1a5)](_0x2785a7){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}[_0x11d257(0x19f)](_0x32ecf8){}[_0x11d257(0x1ba)](_0x45c994){}[_0x11d257(0x1b6)](_0x14f8d3){}[_0x11d257(0x1bc)](_0x46dcc0,_0x3ee085,_0x3c9ed9,_0x57e238,_0x4bcced,_0x33f694){}['onRecvOnlineFileMsg'](_0x2dafad){}[_0x11d257(0x1aa)](_0x5452b4){}['onRecvSysMsg'](_0x270d7c){}[_0x11d257(0x1b1)](_0x3415c3){}[_0x11d257(0x1b4)](_0x3cf21e){}[_0x11d257(0x186)](_0x2590ca){}['onRichMediaUploadComplete'](_0x136d8e){}[_0x11d257(0x1ae)](_0x48ba92){}['onSendMsgError'](_0x1b0d6d,_0x41077f,_0x5ddc56,_0x40fa83){}[_0x11d257(0x1b2)](_0xf7e6a1,_0x57f3ac,_0x471719,_0x2c7400){}[_0x11d257(0x1c0)](_0x1f428b){}[_0x11d257(0x1a7)](_0x124979){}[_0x11d257(0x1ab)](_0x5b4e46){}['onUserChannelTabStatusChanged'](_0x87e63a){}[_0x11d257(0x1a0)](_0x19c83f){}[_0x11d257(0x18c)](_0x2afc00){}['onlineStatusBigIconDownloadPush'](_0x492585,_0x1412cb,_0x3feb08){}['onlineStatusSmallIconDownloadPush'](_0x116369,_0x151932,_0x9230da){}['onUserSecQualityChanged'](..._0x42bd45){}['onMsgWithRichLinkInfoUpdate'](..._0x5b4cfb){}[_0x11d257(0x18f)](..._0x2df90c){}[_0x11d257(0x1c1)](..._0x4b26c0){}}function _0x1cec(){var _0x4532c3=['onReadFeedEventUpdate','onUserOnlineStatusChanged','onGroupTransferInfoAdd','onGuildInteractiveUpdate','6858340zMXhen','onCustomWithdrawConfigUpdate','onMsgSettingUpdate','onMsgEventListUpdate','onUnreadCntAfterFirstView','onLineDev','onMsgSecurityNotify','onRecvS2CMsg','onUnreadCntUpdate','onGuildNotificationAbstractUpdate','onImportOldDbProgressUpdate','onSearchGroupFileInfoUpdate','onFeedEventUpdate','1211060HeTzCz','onRecvUDCFlag','onSysMsgNotification','22wOwmos','onRichMediaDownloadComplete','onGroupGuildUpdate','onRecvMsg','onKickedOffLine','onContactUnreadCntUpdate','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','6162690BWSKqb','onRecvMsgSvrRspTransInfo','onAddSendMsg','onInputStatusPush','onHitEmojiKeywordResult','onTempChatInfoUpdate','onBroadcastHelperProgerssUpdate','3729801pDgGuz','onFileMsgCome','313070KpMyCm','onRichMediaProgerssUpdate','onMsgInfoListAdd','onGroupFileInfoAdd','onMsgBoxChanged','7baiUgC','onMsgQRCodeStatusChanged','onUserTabStatusChanged','1282663UdckHK','onChannelFreqLimitInfoUpdate','onRedTouchChanged','onHitCsRelatedEmojiResult','onFirstViewGroupGuildMapping','onFirstViewDirectMsgUpdate','onMsgAbstractUpdate','onDraftUpdate','onMsgDelete','9rLsqDd','onHitRelatedEmojiResult','onEmojiDownloadComplete','onMsgInfoListUpdate','12836576RdZOkZ','onGroupTransferInfoUpdate','2fzLhqR','onGroupFileInfoUpdate','onGrabPasswordRedBag'];_0x1cec=function(){return _0x4532c3;};return _0x1cec();} \ 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 e31de1bb..bc786967 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x11f77b=_0x3bd2;(function(_0x5f0fda,_0x1e3366){var _0x1d5604=_0x3bd2,_0x3c48fc=_0x5f0fda();while(!![]){try{var _0x4d988a=-parseInt(_0x1d5604(0x1bb))/0x1+parseInt(_0x1d5604(0x1bc))/0x2+parseInt(_0x1d5604(0x1ba))/0x3*(-parseInt(_0x1d5604(0x1b9))/0x4)+parseInt(_0x1d5604(0x1b7))/0x5*(-parseInt(_0x1d5604(0x1bd))/0x6)+-parseInt(_0x1d5604(0x1b4))/0x7*(parseInt(_0x1d5604(0x1be))/0x8)+-parseInt(_0x1d5604(0x1b5))/0x9+parseInt(_0x1d5604(0x1b6))/0xa;if(_0x4d988a===_0x1e3366)break;else _0x3c48fc['push'](_0x3c48fc['shift']());}catch(_0xc79387){_0x3c48fc['push'](_0x3c48fc['shift']());}}}(_0xad6d,0xaaaea));export class ProfileListener{['onProfileSimpleChanged'](..._0x52a15e){}['onProfileDetailInfoChanged'](_0x2e5d75){}[_0x11f77b(0x1bf)](..._0x26bff2){}['onSelfStatusChanged'](..._0x4cd2f5){}[_0x11f77b(0x1b8)](..._0xa808ec){}}function _0x3bd2(_0x55a483,_0x58f9a0){var _0xad6d28=_0xad6d();return _0x3bd2=function(_0x3bd288,_0x5e35fb){_0x3bd288=_0x3bd288-0x1b4;var _0x5d16cd=_0xad6d28[_0x3bd288];return _0x5d16cd;},_0x3bd2(_0x55a483,_0x58f9a0);}function _0xad6d(){var _0x269309=['9540702qfYfHq','49478230KtwDLS','5feEQMD','onStrangerRemarkChanged','4ffewmX','3144678XeeKuI','659685KIcfWq','518656JMMIqm','2180526ZzHAau','1573288gQrmwT','onStatusUpdate','49XycHcA'];_0xad6d=function(){return _0x269309;};return _0xad6d();} \ No newline at end of file +var _0x386969=_0x56cd;(function(_0x3320f2,_0x5405c9){var _0x42313c=_0x56cd,_0x13a9e5=_0x3320f2();while(!![]){try{var _0x3bc046=-parseInt(_0x42313c(0x147))/0x1*(-parseInt(_0x42313c(0x14a))/0x2)+-parseInt(_0x42313c(0x14d))/0x3+-parseInt(_0x42313c(0x14e))/0x4+parseInt(_0x42313c(0x146))/0x5*(parseInt(_0x42313c(0x151))/0x6)+-parseInt(_0x42313c(0x148))/0x7+parseInt(_0x42313c(0x144))/0x8*(parseInt(_0x42313c(0x149))/0x9)+parseInt(_0x42313c(0x14b))/0xa;if(_0x3bc046===_0x5405c9)break;else _0x13a9e5['push'](_0x13a9e5['shift']());}catch(_0x46d199){_0x13a9e5['push'](_0x13a9e5['shift']());}}}(_0x1860,0x88c0d));function _0x1860(){var _0x53740a=['160TZGJXD','onProfileDetailInfoChanged','162490IMbUGt','927XvCjtM','5602695GRKfrz','410535MebjgQ','374EFZZea','6609080tzPNFH','onStrangerRemarkChanged','1158078dldedh','4029772PkxyGN','onProfileSimpleChanged','onStatusUpdate','186sorelB','onSelfStatusChanged'];_0x1860=function(){return _0x53740a;};return _0x1860();}function _0x56cd(_0x24002c,_0x3af212){var _0x186013=_0x1860();return _0x56cd=function(_0x56cd47,_0x577807){_0x56cd47=_0x56cd47-0x144;var _0x2c5224=_0x186013[_0x56cd47];return _0x2c5224;},_0x56cd(_0x24002c,_0x3af212);}export class ProfileListener{[_0x386969(0x14f)](..._0x1a8a2f){}[_0x386969(0x145)](_0x472002){}[_0x386969(0x150)](..._0x49185f){}[_0x386969(0x152)](..._0x2b3c3d){}[_0x386969(0x14c)](..._0x2e4b4a){}} \ 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 b53501a5..09c25257 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x18ea6c=_0x5a8b;function _0x5a8b(_0x431aaf,_0x130505){var _0x54c0c5=_0x54c0();return _0x5a8b=function(_0x5a8b78,_0x288f69){_0x5a8b78=_0x5a8b78-0xce;var _0x37e5d1=_0x54c0c5[_0x5a8b78];return _0x37e5d1;},_0x5a8b(_0x431aaf,_0x130505);}function _0x54c0(){var _0x42aa99=['248598HEjcIT','onRobotListChanged','6205888jhTWuY','18NwJsns','21950Towdmr','4FaBbZQ','1717473PYWbJN','onRobotProfileChanged','589295hkjIgM','3885858hFcrHj','808FRgwDi','20CEBYKp','17701981GFVbXH'];_0x54c0=function(){return _0x42aa99;};return _0x54c0();}(function(_0x3194e0,_0x508bcb){var _0x3b6df5=_0x5a8b,_0x5acb8e=_0x3194e0();while(!![]){try{var _0x825aad=parseInt(_0x3b6df5(0xd2))/0x1+parseInt(_0x3b6df5(0xd7))/0x2*(-parseInt(_0x3b6df5(0xd8))/0x3)+parseInt(_0x3b6df5(0xcf))/0x4*(-parseInt(_0x3b6df5(0xd6))/0x5)+-parseInt(_0x3b6df5(0xd5))/0x6*(parseInt(_0x3b6df5(0xda))/0x7)+-parseInt(_0x3b6df5(0xd4))/0x8+parseInt(_0x3b6df5(0xce))/0x9+parseInt(_0x3b6df5(0xd0))/0xa*(parseInt(_0x3b6df5(0xd1))/0xb);if(_0x825aad===_0x508bcb)break;else _0x5acb8e['push'](_0x5acb8e['shift']());}catch(_0xfd5881){_0x5acb8e['push'](_0x5acb8e['shift']());}}}(_0x54c0,0xcccc1));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x317a3d){}[_0x18ea6c(0xd3)](..._0x43f759){}[_0x18ea6c(0xd9)](..._0x54c2a5){}} \ No newline at end of file +function _0x36d8(){var _0xaf6eef=['656664paCuKr','22eORkel','786074mdvFng','4VDwgRN','onRobotProfileChanged','203760zCMGKU','54JLYibQ','6262662nqbKFc','6216928yOMidO','1369850SLprlK','onRobotFriendListChanged','7QFsADe','6528972Bcdfkr','2XYwWrd'];_0x36d8=function(){return _0xaf6eef;};return _0x36d8();}var _0x2b6505=_0x344d;function _0x344d(_0x51cc89,_0x2fb2de){var _0x36d8d8=_0x36d8();return _0x344d=function(_0x344d81,_0x143826){_0x344d81=_0x344d81-0x102;var _0x2e8158=_0x36d8d8[_0x344d81];return _0x2e8158;},_0x344d(_0x51cc89,_0x2fb2de);}(function(_0x4407cf,_0x316eff){var _0x4eafde=_0x344d,_0x1bf707=_0x4407cf();while(!![]){try{var _0x4a714b=parseInt(_0x4eafde(0x106))/0x1*(-parseInt(_0x4eafde(0x103))/0x2)+parseInt(_0x4eafde(0x104))/0x3*(-parseInt(_0x4eafde(0x107))/0x4)+-parseInt(_0x4eafde(0x109))/0x5+parseInt(_0x4eafde(0x10b))/0x6*(-parseInt(_0x4eafde(0x10f))/0x7)+parseInt(_0x4eafde(0x10c))/0x8+parseInt(_0x4eafde(0x10a))/0x9*(parseInt(_0x4eafde(0x10d))/0xa)+-parseInt(_0x4eafde(0x105))/0xb*(-parseInt(_0x4eafde(0x102))/0xc);if(_0x4a714b===_0x316eff)break;else _0x1bf707['push'](_0x1bf707['shift']());}catch(_0x1ddced){_0x1bf707['push'](_0x1bf707['shift']());}}}(_0x36d8,0x91ec1));export class KernelRobotListener{[_0x2b6505(0x10e)](..._0x1f56d0){}['onRobotListChanged'](..._0x53ea0b){}[_0x2b6505(0x108)](..._0x15b7bf){}} \ 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 d48dfe88..8c65a9a0 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x50859b=_0x21e4;(function(_0x21ccfe,_0x5692a8){var _0x5d295f=_0x21e4,_0x1db5f2=_0x21ccfe();while(!![]){try{var _0x55212f=-parseInt(_0x5d295f(0x141))/0x1+-parseInt(_0x5d295f(0x144))/0x2*(parseInt(_0x5d295f(0x143))/0x3)+-parseInt(_0x5d295f(0x13e))/0x4+-parseInt(_0x5d295f(0x13b))/0x5*(-parseInt(_0x5d295f(0x13c))/0x6)+-parseInt(_0x5d295f(0x13f))/0x7+parseInt(_0x5d295f(0x140))/0x8+parseInt(_0x5d295f(0x142))/0x9;if(_0x55212f===_0x5692a8)break;else _0x1db5f2['push'](_0x1db5f2['shift']());}catch(_0xd317a8){_0x1db5f2['push'](_0x1db5f2['shift']());}}}(_0x50e2,0x624e7));function _0x21e4(_0x24ce52,_0x18ca7a){var _0x50e2cc=_0x50e2();return _0x21e4=function(_0x21e4e7,_0x5aec2d){_0x21e4e7=_0x21e4e7-0x13a;var _0x109ebb=_0x50e2cc[_0x21e4e7];return _0x109ebb;},_0x21e4(_0x24ce52,_0x18ca7a);}export class SessionListener{[_0x50859b(0x13a)](_0x168c50){}[_0x50859b(0x13d)](_0x478a5f){}['onSessionInitComplete'](_0x3f8643){}[_0x50859b(0x145)](_0x4451c3){}['onUserOnlineResult'](_0x47b241){}['onGetSelfTinyId'](_0xe492d2){}}function _0x50e2(){var _0x185f50=['onNTSessionCreate','10oqVcyr','91998CQzMHL','onGProSessionCreate','405816dmgpPU','4742920gaOMLx','4976320SiZCOK','515705reyIyg','14082750oQSyZH','3nlZhKH','1040148XlKNdd','onOpentelemetryInit'];_0x50e2=function(){return _0x185f50;};return _0x50e2();} \ No newline at end of file +var _0x376125=_0x44cf;function _0x44cf(_0x42f0f7,_0x2fe6b2){var _0x355f94=_0x355f();return _0x44cf=function(_0x44cfbc,_0x4356fb){_0x44cfbc=_0x44cfbc-0x193;var _0x27b1fe=_0x355f94[_0x44cfbc];return _0x27b1fe;},_0x44cf(_0x42f0f7,_0x2fe6b2);}function _0x355f(){var _0x587830=['1323738OIqGXY','onSessionInitComplete','3850192OiQpgH','onOpentelemetryInit','9500351WQzjlz','onNTSessionCreate','1145640DuWPff','439998oEonyD','1068lcOeyO','onUserOnlineResult','34105QGRiJM','1379932TUEIOC','onGProSessionCreate'];_0x355f=function(){return _0x587830;};return _0x355f();}(function(_0x1bac33,_0x507dcc){var _0x597fca=_0x44cf,_0x38db08=_0x1bac33();while(!![]){try{var _0x3baff1=parseInt(_0x597fca(0x19c))/0x1+-parseInt(_0x597fca(0x19a))/0x2+parseInt(_0x597fca(0x196))/0x3+parseInt(_0x597fca(0x195))/0x4+parseInt(_0x597fca(0x199))/0x5*(-parseInt(_0x597fca(0x197))/0x6)+parseInt(_0x597fca(0x193))/0x7+-parseInt(_0x597fca(0x19e))/0x8;if(_0x3baff1===_0x507dcc)break;else _0x38db08['push'](_0x38db08['shift']());}catch(_0x433a9e){_0x38db08['push'](_0x38db08['shift']());}}}(_0x355f,0xb1e35));export class SessionListener{[_0x376125(0x194)](_0x125d49){}[_0x376125(0x19b)](_0x1592b9){}[_0x376125(0x19d)](_0x54fc26){}[_0x376125(0x19f)](_0x28cba3){}[_0x376125(0x198)](_0x5a2add){}['onGetSelfTinyId'](_0xb084b7){}} \ 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 c3b5ef55..eb209510 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x5b13(_0x43b969,_0x470474){var _0x16c64d=_0x16c6();return _0x5b13=function(_0x5b139a,_0x1d74a8){_0x5b139a=_0x5b139a-0x109;var _0x595c98=_0x16c64d[_0x5b139a];return _0x595c98;},_0x5b13(_0x43b969,_0x470474);}function _0x16c6(){var _0x2be80c=['1894002AAyaiO','onChatCleanDone','onFinishScan','onScanCacheProgressChanged','4279748KzexLC','4979855edmVby','129138zqSmjd','onCleanCacheStorageChanged','8NCkqVQ','27741249fHqYXq','3dVXsHq','2276757CQRUcM','1006782pDObgk'];_0x16c6=function(){return _0x2be80c;};return _0x16c6();}var _0x5eb1a0=_0x5b13;(function(_0x3c11d4,_0x43bb97){var _0xfc313=_0x5b13,_0x507b07=_0x3c11d4();while(!![]){try{var _0x3ca5e5=-parseInt(_0xfc313(0x111))/0x1+parseInt(_0xfc313(0x10a))/0x2+-parseInt(_0xfc313(0x115))/0x3*(parseInt(_0xfc313(0x10f))/0x4)+-parseInt(_0xfc313(0x110))/0x5+-parseInt(_0xfc313(0x10b))/0x6+-parseInt(_0xfc313(0x109))/0x7+parseInt(_0xfc313(0x113))/0x8*(parseInt(_0xfc313(0x114))/0x9);if(_0x3ca5e5===_0x43bb97)break;else _0x507b07['push'](_0x507b07['shift']());}catch(_0x470d64){_0x507b07['push'](_0x507b07['shift']());}}}(_0x16c6,0xb70dc));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x20272e){}[_0x5eb1a0(0x10e)](_0x3d6803){}[_0x5eb1a0(0x112)](_0x3f9ad0){}[_0x5eb1a0(0x10d)](_0x7510ba){}[_0x5eb1a0(0x10c)](_0x2be7a8){}} \ No newline at end of file +var _0x146011=_0x4155;(function(_0x5cb7d1,_0x31a60e){var _0x4b1ff8=_0x4155,_0x1dd5ca=_0x5cb7d1();while(!![]){try{var _0x333140=parseInt(_0x4b1ff8(0x1f3))/0x1*(parseInt(_0x4b1ff8(0x1f9))/0x2)+parseInt(_0x4b1ff8(0x1ec))/0x3+parseInt(_0x4b1ff8(0x1ef))/0x4+parseInt(_0x4b1ff8(0x1ee))/0x5*(parseInt(_0x4b1ff8(0x1f8))/0x6)+parseInt(_0x4b1ff8(0x1f6))/0x7*(-parseInt(_0x4b1ff8(0x1f2))/0x8)+-parseInt(_0x4b1ff8(0x1f1))/0x9*(parseInt(_0x4b1ff8(0x1f7))/0xa)+parseInt(_0x4b1ff8(0x1eb))/0xb;if(_0x333140===_0x31a60e)break;else _0x1dd5ca['push'](_0x1dd5ca['shift']());}catch(_0x41e2a8){_0x1dd5ca['push'](_0x1dd5ca['shift']());}}}(_0x1f59,0x9cdda));function _0x4155(_0x211739,_0x5c11d7){var _0x1f59de=_0x1f59();return _0x4155=function(_0x415520,_0x5c1e6b){_0x415520=_0x415520-0x1eb;var _0x5461bd=_0x1f59de[_0x415520];return _0x5461bd;},_0x4155(_0x211739,_0x5c11d7);}function _0x1f59(){var _0x562bdf=['73THkZOH','onCleanCacheProgressChanged','onScanCacheProgressChanged','120358cbXjDA','170990FgoXRz','6ZkibDy','18844jXnMMM','1858197MuqdTm','392559hWLfKf','onFinishScan','3138335HzIRVp','3036452ZDvNga','onChatCleanDone','450iHrzPP','408kdMfKF'];_0x1f59=function(){return _0x562bdf;};return _0x1f59();}export class StorageCleanListener{[_0x146011(0x1f4)](_0x2b7155){}[_0x146011(0x1f5)](_0x48ac32){}['onCleanCacheStorageChanged'](_0x20b4a6){}[_0x146011(0x1ed)](_0x200bd1){}[_0x146011(0x1f0)](_0x19457d){}} \ 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 ccc4ff89..21d8d2e8 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2a8b0f,_0x39da81){var _0x23097d=_0x1516,_0x265abb=_0x2a8b0f();while(!![]){try{var _0x3d1c00=parseInt(_0x23097d(0x1b3))/0x1+-parseInt(_0x23097d(0x1b1))/0x2*(-parseInt(_0x23097d(0x1b5))/0x3)+-parseInt(_0x23097d(0x1b2))/0x4*(parseInt(_0x23097d(0x1b9))/0x5)+-parseInt(_0x23097d(0x1af))/0x6+-parseInt(_0x23097d(0x1b8))/0x7+-parseInt(_0x23097d(0x1b7))/0x8*(parseInt(_0x23097d(0x1b6))/0x9)+parseInt(_0x23097d(0x1b0))/0xa*(parseInt(_0x23097d(0x1b4))/0xb);if(_0x3d1c00===_0x39da81)break;else _0x265abb['push'](_0x265abb['shift']());}catch(_0x24b28f){_0x265abb['push'](_0x265abb['shift']());}}}(_0x1e2a,0xae001));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x1516(_0x1f76f6,_0x102780){var _0x1e2af2=_0x1e2a();return _0x1516=function(_0x151609,_0x4349ea){_0x151609=_0x151609-0x1af;var _0x30edbb=_0x1e2af2[_0x151609];return _0x30edbb;},_0x1516(_0x1f76f6,_0x102780);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x1e2a(){var _0x221146=['488rOrOkB','1045324nnZHez','77TlQWJU','9Saqvnl','4773078VMizGG','8GQzrlB','5310935yznrox','6805dVNpkt','1508202QVaHnK','363530VKRocj','746244xRaPMS'];_0x1e2a=function(){return _0x221146;};return _0x1e2a();} \ No newline at end of file +(function(_0x59ec5e,_0x15e54d){var _0x489c6a=_0x44d4,_0x4f3502=_0x59ec5e();while(!![]){try{var _0x312f3d=parseInt(_0x489c6a(0x1cc))/0x1*(parseInt(_0x489c6a(0x1ca))/0x2)+-parseInt(_0x489c6a(0x1cb))/0x3+parseInt(_0x489c6a(0x1c4))/0x4+parseInt(_0x489c6a(0x1c7))/0x5+parseInt(_0x489c6a(0x1c3))/0x6*(-parseInt(_0x489c6a(0x1c6))/0x7)+parseInt(_0x489c6a(0x1c8))/0x8*(-parseInt(_0x489c6a(0x1c5))/0x9)+parseInt(_0x489c6a(0x1c9))/0xa;if(_0x312f3d===_0x15e54d)break;else _0x4f3502['push'](_0x4f3502['shift']());}catch(_0x2c53ca){_0x4f3502['push'](_0x4f3502['shift']());}}}(_0x2692,0xd0ad8));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x44d4(_0xca3f35,_0x375b36){var _0x269229=_0x2692();return _0x44d4=function(_0x44d45e,_0x393d95){_0x44d45e=_0x44d45e-0x1c3;var _0x17464e=_0x269229[_0x44d45e];return _0x17464e;},_0x44d4(_0xca3f35,_0x375b36);}function _0x2692(){var _0x2ff745=['2356590ZQdkqS','3YnRuQC','9840210gKZcnb','3435380GUEoxz','418851YuUSCt','7dJAeHB','4486450DomqdJ','264JzQtTZ','23936670sihHvh','444196WgPtum'];_0x2692=function(){return _0x2ff745;};return _0x2692();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ 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 2bfa79af..c387a77b 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x145023,_0x10725b){var _0x5d7c9c=_0x257d,_0x394321=_0x145023();while(!![]){try{var _0x19aee7=-parseInt(_0x5d7c9c(0xde))/0x1+-parseInt(_0x5d7c9c(0xd9))/0x2*(parseInt(_0x5d7c9c(0xdd))/0x3)+parseInt(_0x5d7c9c(0xd5))/0x4*(-parseInt(_0x5d7c9c(0xd8))/0x5)+-parseInt(_0x5d7c9c(0xd6))/0x6+-parseInt(_0x5d7c9c(0xdb))/0x7+parseInt(_0x5d7c9c(0xda))/0x8*(parseInt(_0x5d7c9c(0xd7))/0x9)+parseInt(_0x5d7c9c(0xdc))/0xa;if(_0x19aee7===_0x10725b)break;else _0x394321['push'](_0x394321['shift']());}catch(_0x56eb50){_0x394321['push'](_0x394321['shift']());}}}(_0x5ebe,0x54ef4));function _0x257d(_0x5ebd46,_0x4ae676){var _0x5ebed5=_0x5ebe();return _0x257d=function(_0x257dc1,_0x4ad57b){_0x257dc1=_0x257dc1-0xd5;var _0x227147=_0x5ebed5[_0x257dc1];return _0x227147;},_0x257d(_0x5ebd46,_0x4ae676);}function _0x5ebe(){var _0x1182f1=['5305zdPrZP','2242yjqUUG','3895504ZrTnCA','2524956WdBzjq','15620910yrYCcj','267gVytAr','286151oIVwGZ','1700YAyNja','3021504SECcJB','9pJMQNL'];_0x5ebe=function(){return _0x1182f1;};return _0x5ebe();}export var GeneralCallResultStatus;(function(_0x1a8c27){_0x1a8c27[_0x1a8c27['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x5f42(){var _0x231b91=['96089wFblIE','27828zEiZNX','198SyYBfP','475896zcjoSk','3779085qOHeRE','974776ymSvPB','807SSWyAd','238428ValbJe','6728HTqUvH'];_0x5f42=function(){return _0x231b91;};return _0x5f42();}(function(_0x84e567,_0x3175ef){var _0x2108c9=_0x144a,_0x451de2=_0x84e567();while(!![]){try{var _0x1cbfe4=-parseInt(_0x2108c9(0x77))/0x1+parseInt(_0x2108c9(0x7e))/0x2*(parseInt(_0x2108c9(0x7c))/0x3)+-parseInt(_0x2108c9(0x79))/0x4+-parseInt(_0x2108c9(0x7a))/0x5+-parseInt(_0x2108c9(0x78))/0x6*(-parseInt(_0x2108c9(0x7f))/0x7)+parseInt(_0x2108c9(0x7b))/0x8+parseInt(_0x2108c9(0x7d))/0x9;if(_0x1cbfe4===_0x3175ef)break;else _0x451de2['push'](_0x451de2['shift']());}catch(_0x336a1b){_0x451de2['push'](_0x451de2['shift']());}}}(_0x5f42,0x935eb));export var GeneralCallResultStatus;function _0x144a(_0x4f4d40,_0x71158e){var _0x5f42d2=_0x5f42();return _0x144a=function(_0x144a59,_0x36cd75){_0x144a59=_0x144a59-0x77;var _0xdee924=_0x5f42d2[_0x144a59];return _0xdee924;},_0x144a(_0x4f4d40,_0x71158e);}(function(_0x14a01f){_0x14a01f[_0x14a01f['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 9a74a158..ed19003d 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4e5e93,_0x3342b0){var _0x24b04f=_0x38c5,_0x1a77e3=_0x4e5e93();while(!![]){try{var _0x58e8b6=parseInt(_0x24b04f(0x14b))/0x1*(-parseInt(_0x24b04f(0x148))/0x2)+parseInt(_0x24b04f(0x14f))/0x3+-parseInt(_0x24b04f(0x150))/0x4+parseInt(_0x24b04f(0x14a))/0x5*(parseInt(_0x24b04f(0x149))/0x6)+-parseInt(_0x24b04f(0x147))/0x7*(-parseInt(_0x24b04f(0x146))/0x8)+-parseInt(_0x24b04f(0x14c))/0x9+parseInt(_0x24b04f(0x14d))/0xa*(parseInt(_0x24b04f(0x14e))/0xb);if(_0x58e8b6===_0x3342b0)break;else _0x1a77e3['push'](_0x1a77e3['shift']());}catch(_0x18c340){_0x1a77e3['push'](_0x1a77e3['shift']());}}}(_0x4217,0xa058b));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x38c5(_0x3f1970,_0x4d103e){var _0x4217b0=_0x4217();return _0x38c5=function(_0x38c532,_0x87e278){_0x38c532=_0x38c532-0x146;var _0x39edae=_0x4217b0[_0x38c532];return _0x39edae;},_0x38c5(_0x3f1970,_0x4d103e);}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x4217(){var _0x12c2e5=['55795vXJntR','1324GVAMnF','8962227IUTABq','338330ATplhN','407uEzahb','817803eCIZSv','4732668YptKXS','16NoeBHy','4344137nPZYaz','956xZUvUR','378kjgqgW'];_0x4217=function(){return _0x12c2e5;};return _0x4217();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x5c03a4,_0xfe24e){var _0x55f018=_0x1844,_0x3f9ca0=_0x5c03a4();while(!![]){try{var _0x1ebd86=-parseInt(_0x55f018(0x92))/0x1+-parseInt(_0x55f018(0x90))/0x2+parseInt(_0x55f018(0x91))/0x3+parseInt(_0x55f018(0x8f))/0x4+-parseInt(_0x55f018(0x95))/0x5*(-parseInt(_0x55f018(0x94))/0x6)+parseInt(_0x55f018(0x8e))/0x7*(-parseInt(_0x55f018(0x93))/0x8)+parseInt(_0x55f018(0x96))/0x9;if(_0x1ebd86===_0xfe24e)break;else _0x3f9ca0['push'](_0x3f9ca0['shift']());}catch(_0x1e51b5){_0x3f9ca0['push'](_0x3f9ca0['shift']());}}}(_0x4c92,0xab0c7));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x1844(_0x1a5c8a,_0x30c696){var _0x4c92f4=_0x4c92();return _0x1844=function(_0x1844e2,_0x5c0c48){_0x1844e2=_0x1844e2-0x8e;var _0x266a80=_0x4c92f4[_0x1844e2];return _0x266a80;},_0x1844(_0x1a5c8a,_0x30c696);}export*from'./NodeIKernelOnlineStatusService';function _0x4c92(){var _0x54ea6e=['1928171YHLRid','4022108rRJcGb','2346736RRvQAe','1748703yYMBDM','945827EmkYYX','8wpTvRV','2197842TrmHkP','5lsVJfT','10264752hTLRGF'];_0x4c92=function(){return _0x54ea6e;};return _0x4c92();}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';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 b6cc2e59..853bcdc6 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x2e0d(_0x590c6d,_0x20945e){const _0x42200b=_0x4220();return _0x2e0d=function(_0x2e0d68,_0x1fed4a){_0x2e0d68=_0x2e0d68-0xca;let _0x51832e=_0x42200b[_0x2e0d68];return _0x51832e;},_0x2e0d(_0x590c6d,_0x20945e);}(function(_0x3adcf5,_0x136d8d){const _0x384e4f=_0x2e0d,_0x281394=_0x3adcf5();while(!![]){try{const _0x581993=parseInt(_0x384e4f(0xda))/0x1*(-parseInt(_0x384e4f(0xcb))/0x2)+parseInt(_0x384e4f(0xe1))/0x3*(-parseInt(_0x384e4f(0xd1))/0x4)+parseInt(_0x384e4f(0xd8))/0x5*(parseInt(_0x384e4f(0xde))/0x6)+parseInt(_0x384e4f(0xdc))/0x7*(parseInt(_0x384e4f(0xd9))/0x8)+parseInt(_0x384e4f(0xd7))/0x9+parseInt(_0x384e4f(0xd0))/0xa+-parseInt(_0x384e4f(0xdd))/0xb;if(_0x581993===_0x136d8d)break;else _0x281394['push'](_0x281394['shift']());}catch(_0x541fb5){_0x281394['push'](_0x281394['shift']());}}}(_0x4220,0xc4868));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3b4218 from'node:path';import _0xb5ef45 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x101167,_0x149b4f,_0x5577f3){const _0x1db7a8=_0x2e0d,_0x48a7fd={'UsYzv':'NapCat','SfkEo':_0x1db7a8(0xd3),'sPYuQ':function(_0x41e434){return _0x41e434();},'XTlIu':_0x1db7a8(0xd5),'jiMqg':_0x1db7a8(0xd6)},_0x508ea1=_0x3b4218[_0x1db7a8(0xca)](_0x5577f3,_0x48a7fd[_0x1db7a8(0xdb)],_0x48a7fd[_0x1db7a8(0xe0)]);_0xb5ef45[_0x1db7a8(0xcc)](_0x508ea1,{'recursive':!![]});const _0xc904ca=_0x3b4218[_0x1db7a8(0xca)](_0x5577f3,_0x48a7fd[_0x1db7a8(0xdb)],_0x1db7a8(0xcd));let _0x361ea0=_0x48a7fd[_0x1db7a8(0xcf)](randomUUID);try{_0x361ea0=_0xb5ef45[_0x1db7a8(0xe2)](_0x3b4218[_0x1db7a8(0xca)](_0xc904ca),_0x48a7fd[_0x1db7a8(0xdf)]);}catch(_0x52f6ac){_0xb5ef45['writeFileSync'](_0x3b4218[_0x1db7a8(0xca)](_0xc904ca),_0x361ea0,_0x48a7fd[_0x1db7a8(0xdf)]);}const _0x43d5b7={'selfUin':_0x101167,'selfUid':_0x149b4f,'desktopPathConfig':{'account_path':_0x5577f3},'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':_0x508ea1,'deviceInfo':{'guid':_0x361ea0,'buildVer':qqPkgInfo[_0x1db7a8(0xd4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x48a7fd[_0x1db7a8(0xce)]};return Object[_0x1db7a8(0xd2)](sessionConfig,_0x43d5b7),_0x43d5b7;}function _0x4220(){const _0x151aaa=['XTlIu','SfkEo','60uaxahe','readFileSync','join','8KRRvmw','mkdirSync','guid.txt','jiMqg','sPYuQ','2802440WzhAMd','148684Wrbfpq','assign','temp','version','utf-8','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','11387394nhNnHv','311715NgPRgj','2415640EKumdN','221746ZEwkxU','UsYzv','35TMGLOr','10933681hgKLZU','36YIzLmU'];_0x4220=function(){return _0x151aaa;};return _0x4220();} \ No newline at end of file +(function(_0x27364e,_0x5085f4){const _0x392e65=_0x4a7f,_0x36fc09=_0x27364e();while(!![]){try{const _0x170627=-parseInt(_0x392e65(0x16f))/0x1*(-parseInt(_0x392e65(0x17c))/0x2)+-parseInt(_0x392e65(0x16a))/0x3*(parseInt(_0x392e65(0x174))/0x4)+-parseInt(_0x392e65(0x16d))/0x5+parseInt(_0x392e65(0x176))/0x6+-parseInt(_0x392e65(0x16b))/0x7*(parseInt(_0x392e65(0x177))/0x8)+-parseInt(_0x392e65(0x170))/0x9+parseInt(_0x392e65(0x173))/0xa;if(_0x170627===_0x5085f4)break;else _0x36fc09['push'](_0x36fc09['shift']());}catch(_0x27603f){_0x36fc09['push'](_0x36fc09['shift']());}}}(_0xf9ec,0x2486b));function _0x4a7f(_0x40e1fc,_0x5a4ead){const _0xf9ec98=_0xf9ec();return _0x4a7f=function(_0x4a7fb4,_0x2de88c){_0x4a7fb4=_0x4a7fb4-0x168;let _0x5b3d86=_0xf9ec98[_0x4a7fb4];return _0x5b3d86;},_0x4a7f(_0x40e1fc,_0x5a4ead);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3bf612 from'node:path';import _0x37738b from'node:fs';function _0xf9ec(){const _0x38ba8c=['NapCat','temp','766wxlnKg','assign','join','200619sZalHn','14TAgqOi','utf-8','918165oIwlpL','curVersion','771ufzuhl','1318266VxHmeI','writeFileSync','DeJMP','3134150qGJUEE','12IYQCGF','version','1134450DpRhUO','469784YSkSoG','cLmFo','TKSvh'];_0xf9ec=function(){return _0x38ba8c;};return _0xf9ec();}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x33c30e,_0x179ee3,_0x62f723){const _0x4a9b59=_0x4a7f,_0x3787e8={'FHIWF':_0x4a9b59(0x17b),'TKSvh':'NapCat','cLmFo':'guid.txt','nXMyf':_0x4a9b59(0x16c),'DeJMP':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x59ce48=_0x3bf612[_0x4a9b59(0x169)](_0x62f723,_0x4a9b59(0x17a),_0x3787e8['FHIWF']);_0x37738b['mkdirSync'](_0x59ce48,{'recursive':!![]});const _0x5cba34=_0x3bf612[_0x4a9b59(0x169)](_0x62f723,_0x3787e8[_0x4a9b59(0x179)],_0x3787e8[_0x4a9b59(0x178)]);let _0x40b67a=randomUUID();try{_0x40b67a=_0x37738b['readFileSync'](_0x3bf612[_0x4a9b59(0x169)](_0x5cba34),_0x3787e8['nXMyf']);}catch(_0xa807a){_0x37738b[_0x4a9b59(0x171)](_0x3bf612[_0x4a9b59(0x169)](_0x5cba34),_0x40b67a,'utf-8');}const _0x1e71f1={'selfUin':_0x33c30e,'selfUid':_0x179ee3,'desktopPathConfig':{'account_path':_0x62f723},'clientVer':qqVersionConfigInfo[_0x4a9b59(0x16e)],'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':_0x59ce48,'deviceInfo':{'guid':_0x40b67a,'buildVer':qqPkgInfo[_0x4a9b59(0x175)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3787e8[_0x4a9b59(0x172)]};return Object[_0x4a9b59(0x168)](sessionConfig,_0x1e71f1),_0x1e71f1;} \ 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 0f1d4ea8..486e85a4 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x53d304=_0x3072;(function(_0x54cbc,_0x67636f){const _0x2cd7e2=_0x3072,_0x18c9f2=_0x54cbc();while(!![]){try{const _0x5371f4=-parseInt(_0x2cd7e2(0x144))/0x1+-parseInt(_0x2cd7e2(0x146))/0x2*(parseInt(_0x2cd7e2(0x152))/0x3)+-parseInt(_0x2cd7e2(0x155))/0x4*(-parseInt(_0x2cd7e2(0x14b))/0x5)+parseInt(_0x2cd7e2(0x150))/0x6+parseInt(_0x2cd7e2(0x154))/0x7*(parseInt(_0x2cd7e2(0x145))/0x8)+parseInt(_0x2cd7e2(0x156))/0x9*(parseInt(_0x2cd7e2(0x148))/0xa)+-parseInt(_0x2cd7e2(0x153))/0xb;if(_0x5371f4===_0x67636f)break;else _0x18c9f2['push'](_0x18c9f2['shift']());}catch(_0x390d82){_0x18c9f2['push'](_0x18c9f2['shift']());}}}(_0xa79a,0xb0b0e));import _0x197a70 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x53d304(0x14c)]=!![];[_0x53d304(0x14d)]=!![];[_0x53d304(0x147)]=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}[_0x53d304(0x14e)](){const _0x2fba44=_0x53d304;return _0x197a70[_0x2fba44(0x149)](this[_0x2fba44(0x14f)](),'napcat_'+selfInfo[_0x2fba44(0x14a)]+_0x2fba44(0x151));}}function _0xa79a(){const _0x540021=['join','uin','80Dgqwbf','fileLog','consoleLog','getConfigPath','getConfigDir','4065234UjnFws','.json','1375422XCyRPl','17493135ndTwQH','108521nkvOfm','313828npMgNH','27UmCwgQ','422366mGIChF','712WrihiB','4fYbDbH','fileLogLevel','1135690rSejyG'];_0xa79a=function(){return _0x540021;};return _0xa79a();}function _0x3072(_0x5749b0,_0x89adfd){const _0xa79aa9=_0xa79a();return _0x3072=function(_0x307286,_0x474a0f){_0x307286=_0x307286-0x144;let _0x26854b=_0xa79aa9[_0x307286];return _0x26854b;},_0x3072(_0x5749b0,_0x89adfd);}export const napCatConfig=new Config(); \ No newline at end of file +function _0xc45a(_0x373198,_0x1676dc){const _0x3dadfc=_0x3dad();return _0xc45a=function(_0xc45a80,_0x48fbaf){_0xc45a80=_0xc45a80-0x1de;let _0x56c679=_0x3dadfc[_0xc45a80];return _0x56c679;},_0xc45a(_0x373198,_0x1676dc);}const _0xd4dd7e=_0xc45a;(function(_0x3d002f,_0x184136){const _0x33e7e4=_0xc45a,_0x2b03c4=_0x3d002f();while(!![]){try{const _0x2315c4=parseInt(_0x33e7e4(0x1e5))/0x1+-parseInt(_0x33e7e4(0x1e7))/0x2*(-parseInt(_0x33e7e4(0x1eb))/0x3)+-parseInt(_0x33e7e4(0x1e2))/0x4+-parseInt(_0x33e7e4(0x1df))/0x5+-parseInt(_0x33e7e4(0x1e0))/0x6+-parseInt(_0x33e7e4(0x1ea))/0x7*(parseInt(_0x33e7e4(0x1ec))/0x8)+parseInt(_0x33e7e4(0x1e8))/0x9;if(_0x2315c4===_0x184136)break;else _0x2b03c4['push'](_0x2b03c4['shift']());}catch(_0x41dde9){_0x2b03c4['push'](_0x2b03c4['shift']());}}}(_0x3dad,0xe2178));import _0x29d068 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x3dad(){const _0x4abd84=['getConfigPath','12rFJsWw','35420121LycOaI','uin','560AsIvzX','694488EYJXzC','153536USTLMf','DEBUG','fileLog','INFO','consoleLogLevel','consoleLog','5927085FBQDln','7780782yvOYqN','getConfigDir','3969148YxQGmh','.json','fileLogLevel','611388JpVLKh'];_0x3dad=function(){return _0x4abd84;};return _0x3dad();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0xd4dd7e(0x1ee)]=!![];[_0xd4dd7e(0x1de)]=!![];[_0xd4dd7e(0x1e4)]=LogLevel[_0xd4dd7e(0x1ed)];[_0xd4dd7e(0x1f0)]=LogLevel[_0xd4dd7e(0x1ef)];constructor(){super();}[_0xd4dd7e(0x1e6)](){const _0x3dfbaf=_0xd4dd7e;return _0x29d068['join'](this[_0x3dfbaf(0x1e1)](),'napcat_'+selfInfo[_0x3dfbaf(0x1e9)]+_0x3dfbaf(0x1e3));}}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 f571c6b5..b232d099 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x4d2493=_0x47b7;function _0x47b7(_0x513c0f,_0xef6873){const _0x54aff8=_0x54af();return _0x47b7=function(_0x47b77b,_0x28de80){_0x47b77b=_0x47b77b-0x11f;let _0x2efdf3=_0x54aff8[_0x47b77b];return _0x2efdf3;},_0x47b7(_0x513c0f,_0xef6873);}(function(_0x9e6369,_0x311d5b){const _0x46c294=_0x47b7,_0x5cf6e6=_0x9e6369();while(!![]){try{const _0x503ea6=parseInt(_0x46c294(0x12f))/0x1+-parseInt(_0x46c294(0x12c))/0x2*(-parseInt(_0x46c294(0x131))/0x3)+-parseInt(_0x46c294(0x126))/0x4+-parseInt(_0x46c294(0x122))/0x5+parseInt(_0x46c294(0x12d))/0x6*(-parseInt(_0x46c294(0x120))/0x7)+parseInt(_0x46c294(0x12e))/0x8*(parseInt(_0x46c294(0x129))/0x9)+parseInt(_0x46c294(0x12a))/0xa;if(_0x503ea6===_0x311d5b)break;else _0x5cf6e6['push'](_0x5cf6e6['shift']());}catch(_0x47d128){_0x5cf6e6['push'](_0x5cf6e6['shift']());}}}(_0x54af,0xc2d5f));function _0x54af(){const _0x45a205=['4790284sSWHxw','getRkey','serverUrl','477990xLYzuc','9740980tkLqoY','getTime','2172406hSBMCq','54udBKka','120xhGWUw','246898rujyJQ','isExpired','3qQuoir','refreshRkey','287161VNVsnQ','http://napcat-sign.wumiao.wang:2082/rkey','3695120ZkZBPq','rkeyData','HttpGetJson','MDjyo'];_0x54af=function(){return _0x45a205;};return _0x54af();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x4d2493(0x128)]='';[_0x4d2493(0x123)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x228ceb){const _0xee04c=_0x4d2493;this[_0xee04c(0x128)]=_0x228ceb;}async[_0x4d2493(0x127)](){const _0x25f61d=_0x4d2493,_0x105d95={'MDjyo':function(_0x3e73d5,_0x4cfc91,_0x879e7e){return _0x3e73d5(_0x4cfc91,_0x879e7e);}};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x5753c1){_0x105d95[_0x25f61d(0x125)](logError,'获取rkey失败',_0x5753c1);}return this[_0x25f61d(0x123)];}[_0x4d2493(0x130)](){const _0x48781d=_0x4d2493,_0x4473b9={'dcZND':function(_0x2f3f88,_0x191cbc){return _0x2f3f88/_0x191cbc;}},_0xc36032=_0x4473b9['dcZND'](new Date()[_0x48781d(0x12b)](),0x3e8);return _0xc36032>this[_0x48781d(0x123)]['expired_time'];}async[_0x4d2493(0x11f)](){const _0x2194ea=_0x4d2493,_0x29fa45={'sHcqH':'GET'};this[_0x2194ea(0x123)]=await RequestUtil[_0x2194ea(0x124)](this['serverUrl'],_0x29fa45['sHcqH']);}}export const rkeyManager=new RkeyManager(_0x4d2493(0x121)); \ No newline at end of file +const _0x47616c=_0x43e4;(function(_0x5e7037,_0x2435ce){const _0x5896b6=_0x43e4,_0x46064f=_0x5e7037();while(!![]){try{const _0x57c85c=parseInt(_0x5896b6(0x1cf))/0x1*(-parseInt(_0x5896b6(0x1c0))/0x2)+parseInt(_0x5896b6(0x1c2))/0x3+parseInt(_0x5896b6(0x1c5))/0x4*(parseInt(_0x5896b6(0x1c9))/0x5)+-parseInt(_0x5896b6(0x1c4))/0x6*(parseInt(_0x5896b6(0x1c7))/0x7)+parseInt(_0x5896b6(0x1d5))/0x8*(-parseInt(_0x5896b6(0x1c6))/0x9)+-parseInt(_0x5896b6(0x1c3))/0xa*(parseInt(_0x5896b6(0x1ce))/0xb)+-parseInt(_0x5896b6(0x1d4))/0xc*(-parseInt(_0x5896b6(0x1d0))/0xd);if(_0x57c85c===_0x2435ce)break;else _0x46064f['push'](_0x46064f['shift']());}catch(_0x493729){_0x46064f['push'](_0x46064f['shift']());}}}(_0x1738,0x55e8d));function _0x1738(){const _0x11de70=['11835PVlWEO','114555GfXoyj','igJHJ','5ZiNWDz','QjDCZ','getRkey','GET','rkeyData','41558MmTyxf','7463vGiBPC','26bSCCTm','isExpired','serverUrl','jWjtz','7485900RKIXlh','3544QiPOtD','refreshRkey','gxhPb','102wUIBRq','HttpGetJson','1490859eHraHJ','940HlMdTs','54aCIYVC','291428XzbozE'];_0x1738=function(){return _0x11de70;};return _0x1738();}function _0x43e4(_0x541ea9,_0x4042a1){const _0x173881=_0x1738();return _0x43e4=function(_0x43e4b3,_0x440e10){_0x43e4b3=_0x43e4b3-0x1bf;let _0x223942=_0x173881[_0x43e4b3];return _0x223942;},_0x43e4(_0x541ea9,_0x4042a1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x47616c(0x1d2)]='';[_0x47616c(0x1cd)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2d4eb3){const _0x1be7b4=_0x47616c;this[_0x1be7b4(0x1d2)]=_0x2d4eb3;}async[_0x47616c(0x1cb)](){const _0x47194c=_0x47616c,_0x674127={'QjDCZ':'获取rkey失败'};if(this[_0x47194c(0x1d1)]())try{await this['refreshRkey']();}catch(_0x31b251){logError(_0x674127[_0x47194c(0x1ca)],_0x31b251);}return this['rkeyData'];}[_0x47616c(0x1d1)](){const _0x101063=_0x47616c,_0x39a43f={'gxhPb':function(_0x3607a5,_0xc47bb7){return _0x3607a5/_0xc47bb7;},'jWjtz':function(_0x5c1c6e,_0x3a13ad){return _0x5c1c6e>_0x3a13ad;}},_0x1b3f36=_0x39a43f[_0x101063(0x1bf)](new Date()['getTime'](),0x3e8);return _0x39a43f[_0x101063(0x1d3)](_0x1b3f36,this[_0x101063(0x1cd)]['expired_time']);}async[_0x47616c(0x1d6)](){const _0x144a44=_0x47616c,_0x1dd06e={'igJHJ':_0x144a44(0x1cc)};this['rkeyData']=await RequestUtil[_0x144a44(0x1c1)](this[_0x144a44(0x1d2)],_0x1dd06e[_0x144a44(0x1c8)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f453b884..c432c64a 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x201b86=_0x5a9c;(function(_0x496b61,_0x41dcc7){const _0x2a2430=_0x5a9c,_0x106a00=_0x496b61();while(!![]){try{const _0x5cc89c=-parseInt(_0x2a2430(0xc5))/0x1+-parseInt(_0x2a2430(0xd8))/0x2+parseInt(_0x2a2430(0xd1))/0x3+-parseInt(_0x2a2430(0xcc))/0x4*(-parseInt(_0x2a2430(0xd9))/0x5)+-parseInt(_0x2a2430(0xc7))/0x6*(parseInt(_0x2a2430(0xd6))/0x7)+-parseInt(_0x2a2430(0xc9))/0x8+parseInt(_0x2a2430(0xd5))/0x9;if(_0x5cc89c===_0x41dcc7)break;else _0x106a00['push'](_0x106a00['shift']());}catch(_0x2e8105){_0x106a00['push'](_0x106a00['shift']());}}}(_0x55cd,0x9d8c3));import _0x25c61e from'node:path';import _0x528eec from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x5a9c(_0x32ecad,_0x18b84e){const _0x55cdcd=_0x55cd();return _0x5a9c=function(_0x5a9cee,_0x4f37e1){_0x5a9cee=_0x5a9cee-0xc4;let _0x8d92d9=_0x55cdcd[_0x5a9cee];return _0x8d92d9;},_0x5a9c(_0x32ecad,_0x18b84e);}const __filename=fileURLToPath(import.meta[_0x201b86(0xcf)]),__dirname=dirname(__filename);let wrapperNodePath=_0x25c61e[_0x201b86(0xcd)](_0x25c61e['dirname'](process['execPath']),'./resources/app/wrapper.node');!_0x528eec['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x25c61e['join'](_0x25c61e[_0x201b86(0xda)](process[_0x201b86(0xce)]),_0x201b86(0xc4)+qqVersionConfigInfo['curVersion']+_0x201b86(0xd3)));let WrapperLoader=_0x25c61e[_0x201b86(0xd0)](__dirname,_0x201b86(0xc6));_0x528eec[_0x201b86(0xd7)](WrapperLoader,_0x201b86(0xca)+wrapperNodePath[_0x201b86(0xd2)](/\\/g,'\x5c\x5c')+_0x201b86(0xd4));const QQWrapper=(await import(_0x201b86(0xc8)+WrapperLoader))[_0x201b86(0xcb)];export default QQWrapper;function _0x55cd(){const _0x2d24c7=['7339026fsztbj','file://','5066712qlJONW','\x0amodule.exports\x20=\x20require(\x22','default','4vbrXDH','resolve','execPath','url','join','316863DAFwbF','replace','/wrapper.node','\x22);\x0aexports\x20=\x20module.exports;\x0a','26125065aXOdgr','7izrNkf','writeFileSync','1872092ugMvMH','4253070eBnLxB','dirname','resources/app/versions/','421149DViDjF','WrapperLoader.cjs'];_0x55cd=function(){return _0x2d24c7;};return _0x55cd();} \ No newline at end of file +const _0x2d8ed2=_0x2255;(function(_0x3adaf1,_0x5d8924){const _0x2c0c83=_0x2255,_0x1cd8b8=_0x3adaf1();while(!![]){try{const _0x451efc=parseInt(_0x2c0c83(0xbb))/0x1*(parseInt(_0x2c0c83(0xaf))/0x2)+parseInt(_0x2c0c83(0xb8))/0x3*(parseInt(_0x2c0c83(0xb3))/0x4)+parseInt(_0x2c0c83(0xbc))/0x5*(-parseInt(_0x2c0c83(0xb4))/0x6)+-parseInt(_0x2c0c83(0xaa))/0x7*(-parseInt(_0x2c0c83(0xc0))/0x8)+-parseInt(_0x2c0c83(0xb1))/0x9*(-parseInt(_0x2c0c83(0xab))/0xa)+-parseInt(_0x2c0c83(0xac))/0xb+parseInt(_0x2c0c83(0xb7))/0xc*(parseInt(_0x2c0c83(0xb0))/0xd);if(_0x451efc===_0x5d8924)break;else _0x1cd8b8['push'](_0x1cd8b8['shift']());}catch(_0x25cea){_0x1cd8b8['push'](_0x1cd8b8['shift']());}}}(_0x44e2,0xc2d1d));import _0x3dc70c from'node:path';function _0x44e2(){const _0x4b922f=['24lUpxlE','15jGDmkw','dirname','default','24313zqIkdS','5kotwDk','\x0amodule.exports\x20=\x20require(\x22','join','replace','301672OEPrWQ','file://','7IjYkNS','314970MTrjGd','16377581lSZijW','url','/wrapper.node','86lQQTMR','6191848udCUsb','99FntpZi','resolve','337060GonyFt','3100200pYdlOD','execPath','writeFileSync'];_0x44e2=function(){return _0x4b922f;};return _0x44e2();}import _0x375ecd from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2d8ed2(0xad)]),__dirname=dirname(__filename);let wrapperNodePath=_0x3dc70c[_0x2d8ed2(0xb2)](_0x3dc70c[_0x2d8ed2(0xb9)](process[_0x2d8ed2(0xb5)]),'./resources/app/wrapper.node');function _0x2255(_0x375743,_0x44337e){const _0x44e202=_0x44e2();return _0x2255=function(_0x2255b9,_0x59fdab){_0x2255b9=_0x2255b9-0xa9;let _0x142728=_0x44e202[_0x2255b9];return _0x142728;},_0x2255(_0x375743,_0x44337e);}!_0x375ecd['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0x3dc70c[_0x2d8ed2(0xbe)](_0x3dc70c[_0x2d8ed2(0xb9)](process[_0x2d8ed2(0xb5)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0x2d8ed2(0xae)));let WrapperLoader=_0x3dc70c[_0x2d8ed2(0xbe)](__dirname,'WrapperLoader.cjs');_0x375ecd[_0x2d8ed2(0xb6)](WrapperLoader,_0x2d8ed2(0xbd)+wrapperNodePath[_0x2d8ed2(0xbf)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x2d8ed2(0xa9)+WrapperLoader))[_0x2d8ed2(0xba)];export default QQWrapper; \ No newline at end of file