From 1619adfc27b238780cd94079b69c08854199b04d 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 12:36:15 +0800 Subject: [PATCH] release: v1.4.2 --- docs/changelogs/CHANGELOG.v1.4.2.md | 2 ++ src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- src/core.lib/src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/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/core.lib/src/listeners/NodeIKernelBuddyListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelGroupListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelLoginListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelMsgListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelProfileListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelRobotListener.js | 2 +- src/core.lib/src/listeners/NodeIKernelSessionListener.js | 2 +- src/core.lib/src/listeners/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, 42 insertions(+), 40 deletions(-) diff --git a/docs/changelogs/CHANGELOG.v1.4.2.md b/docs/changelogs/CHANGELOG.v1.4.2.md index d940edae..4f8c6737 100644 --- a/docs/changelogs/CHANGELOG.v1.4.2.md +++ b/docs/changelogs/CHANGELOG.v1.4.2.md @@ -3,6 +3,8 @@ QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361 ## 修复与优化 +* 修复获取群文件列表Api +* 修复退群通知问题 ## 新增与调整 diff --git a/src/core b/src/core index 19beda5e..a5de3f80 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 19beda5e4b45de629790ab49e0e36082daadca95 +Subproject commit a5de3f80e72328d09203d31cecac5bf438c60209 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 752dee4d..19d9c44e 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x4f9c(_0x3b5310,_0x579acd){var _0x435ebd=_0x435e();return _0x4f9c=function(_0x4f9cc7,_0xd1b460){_0x4f9cc7=_0x4f9cc7-0x1cc;var _0x1e397b=_0x435ebd[_0x4f9cc7];return _0x1e397b;},_0x4f9c(_0x3b5310,_0x579acd);}var _0x30d7f6=_0x4f9c;(function(_0x2cdf27,_0x1f1c5){var _0x1e381e=_0x4f9c,_0x530822=_0x2cdf27();while(!![]){try{var _0x48ef94=parseInt(_0x1e381e(0x1d7))/0x1*(-parseInt(_0x1e381e(0x1cc))/0x2)+-parseInt(_0x1e381e(0x1d0))/0x3+parseInt(_0x1e381e(0x1d2))/0x4*(parseInt(_0x1e381e(0x1cd))/0x5)+parseInt(_0x1e381e(0x1cf))/0x6*(-parseInt(_0x1e381e(0x1d9))/0x7)+parseInt(_0x1e381e(0x1ce))/0x8+-parseInt(_0x1e381e(0x1d5))/0x9*(parseInt(_0x1e381e(0x1d3))/0xa)+parseInt(_0x1e381e(0x1d8))/0xb;if(_0x48ef94===_0x1f1c5)break;else _0x530822['push'](_0x530822['shift']());}catch(_0x357d83){_0x530822['push'](_0x530822['shift']());}}}(_0x435e,0x65c01));function _0x435e(){var _0x49b635=['4039461fNYBJh','onMSFStatusChange','1lGRvGJ','27186808TKVYcG','18312yZrBvz','1595608HtyFOZ','35SRLLaU','2075992TGTEpc','1542pqWXCN','1517466GqPMjl','getGroupCode','63148jzzubI','10csEfUY','onMSFSsoError'];_0x435e=function(){return _0x49b635;};return _0x435e();}export class DependsAdapter{[_0x30d7f6(0x1d6)](_0x32ae80,_0x2fc994){}[_0x30d7f6(0x1d4)](_0x38a197){}[_0x30d7f6(0x1d1)](_0x240421){}} \ No newline at end of file +function _0x25a6(){var _0xdd7643=['171480fTSZGd','13mTAWhM','212UxsLaG','218104NjVwMP','176PerDSv','6gTIyto','999355ASHHIg','4114uTcLFG','getGroupCode','188488EaPnYY','11621736UKRGew','35SooqVm','onMSFSsoError','157848LdBgRG','45VADGBR'];_0x25a6=function(){return _0xdd7643;};return _0x25a6();}var _0x4edd10=_0x5825;function _0x5825(_0x3ca2ee,_0x2ea4bb){var _0x25a61d=_0x25a6();return _0x5825=function(_0x58250a,_0x450460){_0x58250a=_0x58250a-0x18b;var _0x304a6d=_0x25a61d[_0x58250a];return _0x304a6d;},_0x5825(_0x3ca2ee,_0x2ea4bb);}(function(_0x34a7e7,_0x28e4cb){var _0x5cd101=_0x5825,_0xfe3b98=_0x34a7e7();while(!![]){try{var _0x48368d=-parseInt(_0x5cd101(0x18f))/0x1*(parseInt(_0x5cd101(0x199))/0x2)+parseInt(_0x5cd101(0x18d))/0x3*(-parseInt(_0x5cd101(0x191))/0x4)+-parseInt(_0x5cd101(0x18e))/0x5+-parseInt(_0x5cd101(0x195))/0x6*(parseInt(_0x5cd101(0x193))/0x7)+-parseInt(_0x5cd101(0x18b))/0x8*(parseInt(_0x5cd101(0x196))/0x9)+parseInt(_0x5cd101(0x197))/0xa*(parseInt(_0x5cd101(0x18c))/0xb)+-parseInt(_0x5cd101(0x192))/0xc*(-parseInt(_0x5cd101(0x198))/0xd);if(_0x48368d===_0x28e4cb)break;else _0xfe3b98['push'](_0xfe3b98['shift']());}catch(_0x2b3d8b){_0xfe3b98['push'](_0xfe3b98['shift']());}}}(_0x25a6,0x3bc38));export class DependsAdapter{['onMSFStatusChange'](_0x3c4517,_0x2bacbb){}[_0x4edd10(0x194)](_0x185a15){}[_0x4edd10(0x190)](_0x16e148){}} \ 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 dc810914..74355e01 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x5a60cd=_0x2f54;function _0x2f54(_0x12f9da,_0x5a816f){var _0x102b50=_0x102b();return _0x2f54=function(_0x2f5458,_0x29ffd4){_0x2f5458=_0x2f5458-0x160;var _0x3a15c5=_0x102b50[_0x2f5458];return _0x3a15c5;},_0x2f54(_0x12f9da,_0x5a816f);}function _0x102b(){var _0x53e996=['2355960hcPHnS','1607160OAazBH','dispatchCallWithJson','153560PfXdCn','3765032sEOdCc','2wlTMts','2996ILBMlG','1396128AeJvXJ','dispatchCall','10344BEdxvV','10349154crTKbC'];_0x102b=function(){return _0x53e996;};return _0x102b();}(function(_0x11bde8,_0x4bf5a9){var _0x159f5b=_0x2f54,_0x3c6d73=_0x11bde8();while(!![]){try{var _0x648c9f=-parseInt(_0x159f5b(0x167))/0x1*(-parseInt(_0x159f5b(0x169))/0x2)+parseInt(_0x159f5b(0x160))/0x3+parseInt(_0x159f5b(0x165))/0x4+-parseInt(_0x159f5b(0x164))/0x5+parseInt(_0x159f5b(0x162))/0x6*(-parseInt(_0x159f5b(0x16a))/0x7)+-parseInt(_0x159f5b(0x168))/0x8+parseInt(_0x159f5b(0x163))/0x9;if(_0x648c9f===_0x4bf5a9)break;else _0x3c6d73['push'](_0x3c6d73['shift']());}catch(_0x25432c){_0x3c6d73['push'](_0x3c6d73['shift']());}}}(_0x102b,0x77dbb));export class DispatcherAdapter{['dispatchRequest'](_0x5638c9){}[_0x5a60cd(0x161)](_0x22e93c){}[_0x5a60cd(0x166)](_0x4b40cd){}} \ No newline at end of file +function _0x5ae8(_0x5671e6,_0x1b7701){var _0x5d8967=_0x5d89();return _0x5ae8=function(_0x5ae8cf,_0x13afaf){_0x5ae8cf=_0x5ae8cf-0xf6;var _0x3b9185=_0x5d8967[_0x5ae8cf];return _0x3b9185;},_0x5ae8(_0x5671e6,_0x1b7701);}var _0x5676ef=_0x5ae8;function _0x5d89(){var _0x4251a7=['2390jmWPaL','75892IwWhIs','9IyWOXX','2212231YLtLBE','1434865bwkTfO','5592464yunGFX','16935220QmZfLP','dispatchCallWithJson','6cmAJYT','dispatchCall','75507iVSdbn','41BKOKcG'];_0x5d89=function(){return _0x4251a7;};return _0x5d89();}(function(_0x14c371,_0x3171b4){var _0x45f357=_0x5ae8,_0x1dbbc3=_0x14c371();while(!![]){try{var _0x24695c=parseInt(_0x45f357(0xf7))/0x1*(-parseInt(_0x45f357(0xf8))/0x2)+parseInt(_0x45f357(0xf6))/0x3+parseInt(_0x45f357(0xf9))/0x4+-parseInt(_0x45f357(0xfc))/0x5+parseInt(_0x45f357(0x100))/0x6*(-parseInt(_0x45f357(0xfb))/0x7)+-parseInt(_0x45f357(0xfd))/0x8+parseInt(_0x45f357(0xfa))/0x9*(parseInt(_0x45f357(0xfe))/0xa);if(_0x24695c===_0x3171b4)break;else _0x1dbbc3['push'](_0x1dbbc3['shift']());}catch(_0x36c716){_0x1dbbc3['push'](_0x1dbbc3['shift']());}}}(_0x5d89,0x5e62d));export class DispatcherAdapter{['dispatchRequest'](_0x5ed5e9){}[_0x5676ef(0x101)](_0xf81cc4){}[_0x5676ef(0xff)](_0x5e48a7){}} \ 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 7583ed1e..0789cc5e 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x1dc0d0=_0x40a0;(function(_0xbed735,_0x31d831){var _0x559817=_0x40a0,_0x4d0543=_0xbed735();while(!![]){try{var _0x3c835a=-parseInt(_0x559817(0xb9))/0x1*(parseInt(_0x559817(0xaf))/0x2)+-parseInt(_0x559817(0xb7))/0x3+-parseInt(_0x559817(0xb8))/0x4+-parseInt(_0x559817(0xb1))/0x5+-parseInt(_0x559817(0xae))/0x6*(parseInt(_0x559817(0xb3))/0x7)+-parseInt(_0x559817(0xb2))/0x8*(parseInt(_0x559817(0xb0))/0x9)+parseInt(_0x559817(0xb5))/0xa;if(_0x3c835a===_0x31d831)break;else _0x4d0543['push'](_0x4d0543['shift']());}catch(_0x180c42){_0x4d0543['push'](_0x4d0543['shift']());}}}(_0x1998,0xc832f));function _0x1998(){var _0x3585d2=['577470WXfJmj','187380YhgqPE','8101380VJNjpH','152HzdPFF','1757xhrXfu','fixPicImgType','62173740MLYGNU','onShowErrUITips','3144216FITCqL','4791612PDBCCH','3RllePQ','onLog','6438WqFNfH'];_0x1998=function(){return _0x3585d2;};return _0x1998();}function _0x40a0(_0x545dca,_0x44eb29){var _0x199832=_0x1998();return _0x40a0=function(_0x40a09f,_0x5a5f17){_0x40a09f=_0x40a09f-0xae;var _0x1958c1=_0x199832[_0x40a09f];return _0x1958c1;},_0x40a0(_0x545dca,_0x44eb29);}export class GlobalAdapter{[_0x1dc0d0(0xba)](..._0x381e4b){}['onGetSrvCalTime'](..._0x1d57b3){}[_0x1dc0d0(0xb6)](..._0x57bff9){}[_0x1dc0d0(0xb4)](..._0x5752cd){}['getAppSetting'](..._0x56ca69){}['onInstallFinished'](..._0xf7befd){}['onUpdateGeneralFlag'](..._0xc206c0){}['onGetOfflineMsg'](..._0x302133){}} \ No newline at end of file +var _0x5969b5=_0x648f;(function(_0x2e5b6b,_0x537384){var _0x392e47=_0x648f,_0x222f7f=_0x2e5b6b();while(!![]){try{var _0x3393d4=-parseInt(_0x392e47(0x1f6))/0x1*(-parseInt(_0x392e47(0x1fc))/0x2)+-parseInt(_0x392e47(0x1fa))/0x3+parseInt(_0x392e47(0x1f0))/0x4*(parseInt(_0x392e47(0x1f9))/0x5)+-parseInt(_0x392e47(0x1f5))/0x6+parseInt(_0x392e47(0x1f7))/0x7*(-parseInt(_0x392e47(0x1ef))/0x8)+-parseInt(_0x392e47(0x1fb))/0x9+-parseInt(_0x392e47(0x1fd))/0xa*(-parseInt(_0x392e47(0x1f4))/0xb);if(_0x3393d4===_0x537384)break;else _0x222f7f['push'](_0x222f7f['shift']());}catch(_0x188d3d){_0x222f7f['push'](_0x222f7f['shift']());}}}(_0x200b,0x5183c));function _0x648f(_0x459708,_0x5021fc){var _0x200be7=_0x200b();return _0x648f=function(_0x648fc5,_0x5ad5e9){_0x648fc5=_0x648fc5-0x1ef;var _0x5f58ef=_0x200be7[_0x648fc5];return _0x5f58ef;},_0x648f(_0x459708,_0x5021fc);}function _0x200b(){var _0x27af87=['2110yJeksz','1962246oZlEUS','4789350GBUiol','36fzDwZn','243730JXrBXC','onGetSrvCalTime','48936GVHAAb','5540KcCnpw','fixPicImgType','onUpdateGeneralFlag','onLog','407fYllKo','1345488GZlWjQ','21475xNAgeJ','147viHBLw','onInstallFinished'];_0x200b=function(){return _0x27af87;};return _0x200b();}export class GlobalAdapter{[_0x5969b5(0x1f3)](..._0x4cd67a){}[_0x5969b5(0x1fe)](..._0x53d3e9){}['onShowErrUITips'](..._0x10e098){}[_0x5969b5(0x1f1)](..._0x83880a){}['getAppSetting'](..._0x19369d){}[_0x5969b5(0x1f8)](..._0x5918ba){}[_0x5969b5(0x1f2)](..._0x334fda){}['onGetOfflineMsg'](..._0xf51674){}} \ 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 d3b93d1a..491053a1 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x3496ad,_0x29a510){var _0x2b7841=_0x2767,_0x29f492=_0x3496ad();while(!![]){try{var _0x2bf227=-parseInt(_0x2b7841(0x124))/0x1+-parseInt(_0x2b7841(0x123))/0x2*(-parseInt(_0x2b7841(0x129))/0x3)+-parseInt(_0x2b7841(0x128))/0x4+-parseInt(_0x2b7841(0x12c))/0x5+-parseInt(_0x2b7841(0x126))/0x6*(-parseInt(_0x2b7841(0x12d))/0x7)+parseInt(_0x2b7841(0x12b))/0x8*(-parseInt(_0x2b7841(0x125))/0x9)+parseInt(_0x2b7841(0x12a))/0xa*(parseInt(_0x2b7841(0x127))/0xb);if(_0x2bf227===_0x29a510)break;else _0x29f492['push'](_0x29f492['shift']());}catch(_0x49a4f4){_0x29f492['push'](_0x29f492['shift']());}}}(_0x4a5a,0xe45c7));function _0x2767(_0x9c07ef,_0x49e10a){var _0x4a5aa4=_0x4a5a();return _0x2767=function(_0x27670d,_0x13de70){_0x27670d=_0x27670d-0x123;var _0x503fc1=_0x4a5aa4[_0x27670d];return _0x503fc1;},_0x2767(_0x9c07ef,_0x49e10a);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x4a5a(){var _0x16aed7=['8ipbJln','1582955VthJhn','4508441xTsaSN','20302OjaECx','1761726vTkhuc','13611762LfUfLX','6KjhADp','19811Mpbaxt','3878728vhwCMG','306BgYyHv','21190YgXzon'];_0x4a5a=function(){return _0x16aed7;};return _0x4a5a();} \ No newline at end of file +function _0x4c96(){var _0x564383=['480hqnzId','27790IeIBqZ','30AZvOeB','60354qNVEll','413611LzSUdm','1508454vPtBkh','3iXDfng','4059hpIePC','26148sfNiWG','1096uRvExm','1329638RwNvBG','26444aSdHqz'];_0x4c96=function(){return _0x564383;};return _0x4c96();}(function(_0x3ea820,_0x55d7cd){var _0x37b964=_0x296f,_0x2c7e67=_0x3ea820();while(!![]){try{var _0x1913b0=-parseInt(_0x37b964(0x182))/0x1+parseInt(_0x37b964(0x17c))/0x2*(parseInt(_0x37b964(0x184))/0x3)+parseInt(_0x37b964(0x17d))/0x4*(-parseInt(_0x37b964(0x17e))/0x5)+-parseInt(_0x37b964(0x181))/0x6+parseInt(_0x37b964(0x17f))/0x7*(-parseInt(_0x37b964(0x17b))/0x8)+-parseInt(_0x37b964(0x183))/0x9*(-parseInt(_0x37b964(0x180))/0xa)+-parseInt(_0x37b964(0x185))/0xb*(-parseInt(_0x37b964(0x17a))/0xc);if(_0x1913b0===_0x55d7cd)break;else _0x2c7e67['push'](_0x2c7e67['shift']());}catch(_0x37256a){_0x2c7e67['push'](_0x2c7e67['shift']());}}}(_0x4c96,0x5a340));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x296f(_0x210b60,_0x58f4fc){var _0x4c967e=_0x4c96();return _0x296f=function(_0x296f8e,_0x5e96bb){_0x296f8e=_0x296f8e-0x17a;var _0x466ae3=_0x4c967e[_0x296f8e];return _0x466ae3;},_0x296f(_0x210b60,_0x58f4fc);}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 0be12d4f..9b95c23d 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x182c01=_0x37ec;(function(_0x4c0563,_0xd39373){const _0xe6162a=_0x37ec,_0x5680ac=_0x4c0563();while(!![]){try{const _0x39d066=parseInt(_0xe6162a(0x1fe))/0x1+parseInt(_0xe6162a(0x1d7))/0x2*(-parseInt(_0xe6162a(0x1c1))/0x3)+parseInt(_0xe6162a(0x1cd))/0x4+-parseInt(_0xe6162a(0x1c4))/0x5*(parseInt(_0xe6162a(0x1da))/0x6)+parseInt(_0xe6162a(0x1ed))/0x7*(-parseInt(_0xe6162a(0x200))/0x8)+-parseInt(_0xe6162a(0x1ca))/0x9*(-parseInt(_0xe6162a(0x1f5))/0xa)+-parseInt(_0xe6162a(0x1dd))/0xb;if(_0x39d066===_0xd39373)break;else _0x5680ac['push'](_0x5680ac['shift']());}catch(_0x316414){_0x5680ac['push'](_0x5680ac['shift']());}}}(_0x4fb7,0x2eeb3));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x20595c from'path';function _0x37ec(_0x2ecf25,_0x41abab){const _0x4fb794=_0x4fb7();return _0x37ec=function(_0x37ec05,_0x4a989d){_0x37ec05=_0x37ec05-0x1bf;let _0x5049d5=_0x4fb794[_0x37ec05];return _0x5049d5;},_0x37ec(_0x2ecf25,_0x41abab);}import _0x34e7f3 from'fs';import _0x33be1a from'fs/promises';function _0x4fb7(){const _0x1ec9c8=['275065gXUALw','uploadFile','18552zCBVpX','图片url获取失败','GLYTh','private_rkey','addCacheScanedPaths','downloadRichMedia','copyFile','128259SBNjxV','existsSync','lFVrw','85MvmbWB','hotUpdate','fileUuid','getHotUpdateCachePath','getStorageCleanService','getChatCacheList','2909799VJrvJJ','tmp','clearCache','1425204tOGjWi','set','/download','setCacheSilentScan','includes','getChatCacheInfo','getImageSize','join','CJsxS','fUqkB','2soUIoA','downloadMedia','group_rkey','83208gMVvVX','gFOUf','onRichMediaDownloadComplete','3971902KykvHa','PIC','addListener','unlink','session','getFileType','toUpperCase','XCYXp','getRichMediaFilePathForGuild','DjmzC','util','/gchatpic_new/0/0-0-','kvdYl','originImageUrl','scanCache','&rkey=','371xjzazs','getMsgService','getCacheSessionPathList','RDPvY','EwykS','clearChatCache','basename','getFileSize','10pNIvJH','clearChatCacheInfo','onLoginSuccess','clearCacheDataByKeys','startsWith','delete','addCacheScannedPaths','md5HexStr','TUkNZ'];_0x4fb7=function(){return _0x1ec9c8;};return _0x4fb7();}import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x3db8e8 from'file-type';import{MsgListener}from'@/core/listeners';import _0x2dbc23 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[_0x182c01(0x1dc)]=_0x2dca1d=>{const _0x2e9e2f=_0x182c01;for(const [_0x228a7a,_0x1fcb2b]of downloadMediaTasks){_0x1fcb2b(_0x2dca1d),downloadMediaTasks[_0x2e9e2f(0x1fa)](_0x228a7a);}},setTimeout(()=>{const _0x3b3f73=_0x182c01;napCatCore[_0x3b3f73(0x1f7)](()=>{const _0x2aa762=_0x3b3f73;napCatCore[_0x2aa762(0x1df)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x182c01(0x1e2)](_0x524df7){return _0x3db8e8['fileTypeFromFile'](_0x524df7);}static async['copyFile'](_0x475278,_0x37f0db){const _0x52b40f=_0x182c01;await napCatCore[_0x52b40f(0x1e7)][_0x52b40f(0x1c0)](_0x475278,_0x37f0db);}static async[_0x182c01(0x1f4)](_0x45d7a8){const _0x41daea=_0x182c01;return await napCatCore[_0x41daea(0x1e7)][_0x41daea(0x1f4)](_0x45d7a8);}static async[_0x182c01(0x1ff)](_0x2716d5,_0x5cf8ef=ElementType[_0x182c01(0x1de)],_0x5a3836=0x0){const _0x5824ad=_0x182c01,_0x25d1fe={'TUkNZ':function(_0xa7e13d,_0x14c13b){return _0xa7e13d===_0x14c13b;}},_0x1e5575=await calculateFileMD5(_0x2716d5);let _0x29f85f=(await NTQQFileApi[_0x5824ad(0x1e2)](_0x2716d5))?.['ext']||'';_0x29f85f&&(_0x29f85f='.'+_0x29f85f);let _0xf7fc35=''+_0x20595c[_0x5824ad(0x1f3)](_0x2716d5);_0x25d1fe[_0x5824ad(0x1fd)](_0xf7fc35['indexOf']('.'),-0x1)&&(_0xf7fc35+=_0x29f85f);const _0x12780e=napCatCore[_0x5824ad(0x1e1)][_0x5824ad(0x1ee)]()[_0x5824ad(0x1e5)]({'md5HexStr':_0x1e5575,'fileName':_0xf7fc35,'elementType':_0x5cf8ef,'elementSubType':_0x5a3836,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x5824ad(0x1c0)](_0x2716d5,_0x12780e);const _0x563c6c=await NTQQFileApi[_0x5824ad(0x1f4)](_0x2716d5);return{'md5':_0x1e5575,'fileName':_0xf7fc35,'path':_0x12780e,'fileSize':_0x563c6c,'ext':_0x29f85f};}static async[_0x182c01(0x1d8)](_0x420bce,_0xd13b68,_0x517979,_0x1b8260,_0x11d420,_0x24a0de,_0x282998=0x3e8*0x3c*0x2,_0x31d01c=![]){const _0x3cfd1e=_0x182c01,_0x1cbffd={'Xqfpp':function(_0x44c901,_0x5c524a){return _0x44c901(_0x5c524a);},'EBYCb':'下载超时','yrXSm':function(_0x481c00){return _0x481c00();},'lFVrw':function(_0x1d6ec4,_0x59d7b8,_0x4cd9ce){return _0x1d6ec4(_0x59d7b8,_0x4cd9ce);}};if(_0x24a0de&&_0x34e7f3[_0x3cfd1e(0x1c2)](_0x24a0de)){if(_0x31d01c)try{await _0x33be1a[_0x3cfd1e(0x1e0)](_0x24a0de);}catch(_0x5cdbf0){}else return _0x24a0de;}return new Promise((_0x2a77a0,_0x4b4278)=>{const _0xf45fe=_0x3cfd1e,_0x2c62f1={'gFOUf':function(_0x53397e,_0x2c670c){return _0x1cbffd['Xqfpp'](_0x53397e,_0x2c670c);},'RDPvY':_0x1cbffd['EBYCb']};let _0x4d37fc=![];const _0x251e08=_0x55744b=>{const _0x25444f=_0x37ec;if(_0x55744b['msgId']===_0x420bce){_0x4d37fc=!![];let _0xdb2d0e=_0x55744b['filePath'];if(_0xdb2d0e[_0x25444f(0x1f9)]('\x5c')){const _0xbfe8a7=sessionConfig['defaultFileDownloadPath'];_0xdb2d0e=_0x20595c[_0x25444f(0x1d4)](_0xbfe8a7,_0xdb2d0e);}_0x2a77a0(_0xdb2d0e);}};downloadMediaTasks[_0xf45fe(0x1ce)](_0x1cbffd['yrXSm'](randomUUID),_0x251e08),_0x1cbffd[_0xf45fe(0x1c3)](setTimeout,()=>{const _0x557859=_0xf45fe;!_0x4d37fc&&_0x2c62f1[_0x557859(0x1db)](_0x4b4278,_0x2c62f1[_0x557859(0x1f0)]);},_0x282998),napCatCore[_0xf45fe(0x1e1)][_0xf45fe(0x1ee)]()[_0xf45fe(0x1bf)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x420bce,'chatType':_0xd13b68,'peerUid':_0x517979,'elementId':_0x1b8260,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x11d420});});}static async[_0x182c01(0x1d3)](_0x2e76c4){const _0x2fef2d={'XCYXp':function(_0x821c0a,_0x5c4847){return _0x821c0a(_0x5c4847);},'kvdYl':function(_0x23e7f0,_0x2fc052,_0xb073b6){return _0x23e7f0(_0x2fc052,_0xb073b6);}};return new Promise((_0x7327b,_0x5c00c8)=>{const _0x1ab02a=_0x37ec,_0x20841c={'fUqkB':function(_0x28f733,_0x46f742){const _0x81d978=_0x37ec;return _0x2fef2d[_0x81d978(0x1e4)](_0x28f733,_0x46f742);},'DjmzC':function(_0x21257e,_0x563c99){const _0x591d23=_0x37ec;return _0x2fef2d[_0x591d23(0x1e4)](_0x21257e,_0x563c99);}};_0x2fef2d[_0x1ab02a(0x1e9)](_0x2dbc23,_0x2e76c4,(_0x1160e6,_0x3da680)=>{const _0x3a4102=_0x1ab02a;_0x1160e6?_0x20841c[_0x3a4102(0x1d6)](_0x5c00c8,_0x1160e6):_0x20841c[_0x3a4102(0x1e6)](_0x7327b,_0x3da680);});});}static async['getImageUrl'](_0x74087a,_0x3dee05){const _0x862bed=_0x182c01,_0x1f40a2={'ucANr':_0x862bed(0x1cf),'EwykS':_0x862bed(0x1ec),'CJsxS':function(_0x3a6588,_0x28ca9e){return _0x3a6588+_0x28ca9e;},'VMppc':function(_0x3be852,_0x3516ca){return _0x3be852||_0x3516ca;},'GLYTh':function(_0x31f2ed,_0x22b4f5,_0x2cad68){return _0x31f2ed(_0x22b4f5,_0x2cad68);},'fSGPB':_0x862bed(0x201)};if(!_0x74087a)return'';const _0x5436d7=_0x74087a[_0x862bed(0x1ea)],_0x5c3b32=_0x74087a[_0x862bed(0x1fc)],_0x2d103f=_0x74087a[_0x862bed(0x1fc)],_0x559f92=_0x74087a[_0x862bed(0x1c6)];if(_0x5436d7){if(_0x5436d7['startsWith'](_0x1f40a2['ucANr'])){if(_0x5436d7[_0x862bed(0x1d1)](_0x1f40a2[_0x862bed(0x1f1)]))return _0x1f40a2[_0x862bed(0x1d5)](IMAGE_HTTP_HOST_NT,_0x5436d7);const _0x3be4fd=await rkeyManager['getRkey'](),_0x323683=_0x3dee05?_0x3be4fd[_0x862bed(0x203)]:_0x3be4fd[_0x862bed(0x1d9)];return IMAGE_HTTP_HOST_NT+_0x5436d7+(''+_0x323683);}else return IMAGE_HTTP_HOST+_0x5436d7;}else{if(_0x1f40a2['VMppc'](_0x2d103f,_0x5c3b32))return IMAGE_HTTP_HOST+_0x862bed(0x1e8)+(_0x2d103f||_0x5c3b32)[_0x862bed(0x1e3)]()+'/0';}return _0x1f40a2[_0x862bed(0x202)](logDebug,_0x1f40a2['fSGPB'],_0x74087a),'';}}export class NTQQFileCacheApi{static async[_0x182c01(0x1d0)](_0x51cc03=!![]){return'';}static[_0x182c01(0x1ef)](){return'';}static[_0x182c01(0x1cc)](_0x18d40c=[_0x182c01(0x1cb),_0x182c01(0x1c5)]){const _0x5c33cc=_0x182c01;return napCatCore[_0x5c33cc(0x1e1)][_0x5c33cc(0x1c8)]()[_0x5c33cc(0x1f8)](_0x18d40c);}static[_0x182c01(0x1fb)](_0x14023d={}){const _0x223aac=_0x182c01;return napCatCore['session'][_0x223aac(0x1c8)]()[_0x223aac(0x204)](_0x14023d);}static[_0x182c01(0x1eb)](){const _0x2bae87=_0x182c01;return napCatCore[_0x2bae87(0x1e1)]['getStorageCleanService']()[_0x2bae87(0x1eb)]();}static[_0x182c01(0x1c7)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x182c01(0x1c9)](_0x417f84,_0x106795=0x3e8,_0x47d341=0x0){const _0x45bfa7=_0x182c01;return napCatCore[_0x45bfa7(0x1e1)]['getStorageCleanService']()[_0x45bfa7(0x1d2)](_0x417f84,_0x106795,0x1,_0x47d341);}static['getFileCacheInfo'](_0x80ccc3,_0x191cfc=0x3e8,_0x51d69d){const _0x578710=_0x51d69d?_0x51d69d:{'fileType':_0x80ccc3};}static async[_0x182c01(0x1f2)](_0x390989=[],_0x272a21=[]){const _0x1525d0=_0x182c01;return napCatCore['session'][_0x1525d0(0x1c8)]()[_0x1525d0(0x1f6)](_0x390989,_0x272a21);}} \ No newline at end of file +const _0x13d265=_0x476b;(function(_0x39ca06,_0x584da5){const _0x434280=_0x476b,_0x15bdc5=_0x39ca06();while(!![]){try{const _0x45f2bc=parseInt(_0x434280(0x107))/0x1+parseInt(_0x434280(0x140))/0x2+parseInt(_0x434280(0x100))/0x3+-parseInt(_0x434280(0x118))/0x4*(-parseInt(_0x434280(0x13b))/0x5)+parseInt(_0x434280(0x116))/0x6+parseInt(_0x434280(0xff))/0x7*(-parseInt(_0x434280(0x103))/0x8)+-parseInt(_0x434280(0x12c))/0x9;if(_0x45f2bc===_0x584da5)break;else _0x15bdc5['push'](_0x15bdc5['shift']());}catch(_0x7dc01a){_0x15bdc5['push'](_0x15bdc5['shift']());}}}(_0x5286,0x5c3f7));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2a4948 from'path';import _0x7391f3 from'fs';import _0x4ae4d3 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x5286(){const _0x243c94=['clearChatCache','hNvfY','msgId','indexOf','toUpperCase','getDesktopTmpPath','basename','getImageUrl','downloadRichMedia','group_rkey','11779065bRIUjN','set','ext','copyFile','hotUpdate','Xbzuw','CkgRV','fileUuid','session','wFvhS','getFileType','getChatCacheList','tmp','setCacheSilentScan','getRkey','142315szHtaF','getFileSize','getMsgService','scanCache','PnlJp','850386NOBauw','originImageUrl','VGJaD','PIC','CPHjX','Hbkuf','unlink','66402LALnFs','1713009neMFrp','onLoginSuccess','includes','232QnAmJB','private_rkey','getStorageCleanService','getCacheSessionPathList','633706QyfGuD','JuaVF','md5HexStr','下载超时','uploadFile','downloadMedia','/gchatpic_new/0/0-0-','addCacheScanedPaths','getRichMediaFilePathForGuild','mSKWR','defaultFileDownloadPath','qvqQL','util','getHotUpdateCachePath','NMkFA','1137054tirrBx','pXVnB','20WpxOYz','图片url获取失败','existsSync','addListener','fileTypeFromFile','filePath','clearCache','join','startsWith','XajVF'];_0x5286=function(){return _0x243c94;};return _0x5286();}import*as _0x5426b0 from'file-type';import{MsgListener}from'@/core/listeners';import _0x10cabb from'image-size';function _0x476b(_0x52c07e,_0x490d0a){const _0x5286a9=_0x5286();return _0x476b=function(_0x476b01,_0x518fe7){_0x476b01=_0x476b01-0xfb;let _0x27f2d4=_0x5286a9[_0x476b01];return _0x27f2d4;},_0x476b(_0x52c07e,_0x490d0a);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x8b3e3c=>{const _0x4519a4={'ZghID':function(_0x709300,_0x4768e1){return _0x709300(_0x4768e1);}};for(const [_0x563fde,_0x445c81]of downloadMediaTasks){_0x4519a4['ZghID'](_0x445c81,_0x8b3e3c),downloadMediaTasks['delete'](_0x563fde);}},setTimeout(()=>{const _0x1d70ee=_0x476b;napCatCore[_0x1d70ee(0x101)](()=>{const _0x25e56a=_0x1d70ee;napCatCore[_0x25e56a(0x11b)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x13d265(0x136)](_0x50adf1){const _0x15dbe2=_0x13d265;return _0x5426b0[_0x15dbe2(0x11c)](_0x50adf1);}static async[_0x13d265(0x12f)](_0x170da5,_0x49eb05){const _0xcba571=_0x13d265;await napCatCore[_0xcba571(0x113)][_0xcba571(0x12f)](_0x170da5,_0x49eb05);}static async[_0x13d265(0x13c)](_0x2e2e82){const _0x23a7b3=_0x13d265;return await napCatCore['util'][_0x23a7b3(0x13c)](_0x2e2e82);}static async[_0x13d265(0x10b)](_0x41f21b,_0x68f6e9=ElementType[_0x13d265(0xfb)],_0x5c28a4=0x0){const _0x257d43=_0x13d265,_0x497d36={'dmZKt':function(_0x37e15c,_0x315a8c){return _0x37e15c(_0x315a8c);},'JuaVF':function(_0x2b6b57,_0x3f95b7){return _0x2b6b57+_0x3f95b7;},'CkgRV':function(_0x3a97d7,_0x4c4083){return _0x3a97d7===_0x4c4083;}},_0x5328bd=await _0x497d36['dmZKt'](calculateFileMD5,_0x41f21b);let _0x114b1f=(await NTQQFileApi[_0x257d43(0x136)](_0x41f21b))?.[_0x257d43(0x12e)]||'';_0x114b1f&&(_0x114b1f=_0x497d36[_0x257d43(0x108)]('.',_0x114b1f));let _0x2d56b7=''+_0x2a4948[_0x257d43(0x128)](_0x41f21b);_0x497d36[_0x257d43(0x132)](_0x2d56b7[_0x257d43(0x125)]('.'),-0x1)&&(_0x2d56b7+=_0x114b1f);const _0x4cfbb5=napCatCore[_0x257d43(0x134)][_0x257d43(0x13d)]()[_0x257d43(0x10f)]({'md5HexStr':_0x5328bd,'fileName':_0x2d56b7,'elementType':_0x68f6e9,'elementSubType':_0x5c28a4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x257d43(0x12f)](_0x41f21b,_0x4cfbb5);const _0x31316d=await NTQQFileApi['getFileSize'](_0x41f21b);return{'md5':_0x5328bd,'fileName':_0x2d56b7,'path':_0x4cfbb5,'fileSize':_0x31316d,'ext':_0x114b1f};}static async[_0x13d265(0x10c)](_0x447f91,_0x218371,_0x2c3182,_0x26d494,_0x146d00,_0x323a3b,_0x5c50ad=0x3e8*0x3c*0x2,_0x10a123=![]){const _0x41928c=_0x13d265,_0x4d6a64={'wFvhS':function(_0x133a40,_0x154df2){return _0x133a40===_0x154df2;},'mSKWR':function(_0x24fa1d){return _0x24fa1d();},'rqkDm':function(_0x43374e,_0x1e1805,_0x4bc9b6){return _0x43374e(_0x1e1805,_0x4bc9b6);}};if(_0x323a3b&&_0x7391f3[_0x41928c(0x11a)](_0x323a3b)){if(_0x10a123)try{await _0x4ae4d3[_0x41928c(0xfe)](_0x323a3b);}catch(_0xb62c22){}else return _0x323a3b;}return new Promise((_0x3bbb5b,_0x26b9c7)=>{const _0x44dc9f=_0x41928c,_0x83110a={'qvqQL':function(_0x52e1bc,_0x10acb2){const _0x1c0d03=_0x476b;return _0x4d6a64[_0x1c0d03(0x135)](_0x52e1bc,_0x10acb2);},'XajVF':function(_0x101fd0,_0x5a0c46){return _0x101fd0(_0x5a0c46);}};let _0x4f55d1=![];const _0x1a8782=_0x20fdd4=>{const _0xe3ad48=_0x476b;if(_0x83110a[_0xe3ad48(0x112)](_0x20fdd4[_0xe3ad48(0x124)],_0x447f91)){_0x4f55d1=!![];let _0x2833b0=_0x20fdd4[_0xe3ad48(0x11d)];if(_0x2833b0[_0xe3ad48(0x120)]('\x5c')){const _0x4f1d4a=sessionConfig[_0xe3ad48(0x111)];_0x2833b0=_0x2a4948[_0xe3ad48(0x11f)](_0x4f1d4a,_0x2833b0);}_0x83110a['XajVF'](_0x3bbb5b,_0x2833b0);}};downloadMediaTasks[_0x44dc9f(0x12d)](_0x4d6a64[_0x44dc9f(0x110)](randomUUID),_0x1a8782),_0x4d6a64['rqkDm'](setTimeout,()=>{const _0x25d90d=_0x44dc9f;!_0x4f55d1&&_0x83110a[_0x25d90d(0x121)](_0x26b9c7,_0x25d90d(0x10a));},_0x5c50ad),napCatCore['session']['getMsgService']()[_0x44dc9f(0x12a)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x447f91,'chatType':_0x218371,'peerUid':_0x2c3182,'elementId':_0x26d494,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x146d00});});}static async['getImageSize'](_0x4e0fa){const _0x41cc5e={'VGJaD':function(_0x162481,_0x589f0d){return _0x162481(_0x589f0d);},'Xbzuw':function(_0x215b69,_0x387943,_0x5b374c){return _0x215b69(_0x387943,_0x5b374c);}};return new Promise((_0x27298d,_0x16a9e3)=>{const _0x3223be=_0x476b;_0x41cc5e[_0x3223be(0x131)](_0x10cabb,_0x4e0fa,(_0x1c44fb,_0x540964)=>{const _0x16a713=_0x3223be;_0x1c44fb?_0x16a9e3(_0x1c44fb):_0x41cc5e[_0x16a713(0x142)](_0x27298d,_0x540964);});});}static async[_0x13d265(0x129)](_0x38ff07,_0xbffb1a){const _0xb3049f=_0x13d265,_0x383a09={'pXVnB':'/download','CzpVV':'&rkey=','Hbkuf':function(_0x57581f,_0x448d03){return _0x57581f+_0x448d03;},'hNvfY':function(_0x31e2ee,_0x37aa49){return _0x31e2ee+_0x37aa49;},'PnlJp':function(_0x2ad662,_0x3f1440){return _0x2ad662||_0x3f1440;},'NMkFA':function(_0x1c0963,_0x28895b,_0x45530d){return _0x1c0963(_0x28895b,_0x45530d);},'CPHjX':_0xb3049f(0x119)};if(!_0x38ff07)return'';const _0x110a8e=_0x38ff07[_0xb3049f(0x141)],_0x3f719e=_0x38ff07['md5HexStr'],_0x29b77a=_0x38ff07[_0xb3049f(0x109)],_0x4968b6=_0x38ff07[_0xb3049f(0x133)];if(_0x110a8e){if(_0x110a8e['startsWith'](_0x383a09[_0xb3049f(0x117)])){if(_0x110a8e[_0xb3049f(0x102)](_0x383a09['CzpVV']))return _0x383a09[_0xb3049f(0xfd)](IMAGE_HTTP_HOST_NT,_0x110a8e);const _0x41ed23=await rkeyManager[_0xb3049f(0x13a)](),_0x1f2da0=_0xbffb1a?_0x41ed23[_0xb3049f(0x104)]:_0x41ed23[_0xb3049f(0x12b)];return _0x383a09[_0xb3049f(0x123)](_0x383a09[_0xb3049f(0x123)](IMAGE_HTTP_HOST_NT,_0x110a8e),''+_0x1f2da0);}else return _0x383a09[_0xb3049f(0x123)](IMAGE_HTTP_HOST,_0x110a8e);}else{if(_0x29b77a||_0x3f719e)return IMAGE_HTTP_HOST+_0xb3049f(0x10d)+_0x383a09[_0xb3049f(0x13f)](_0x29b77a,_0x3f719e)[_0xb3049f(0x126)]()+'/0';}return _0x383a09[_0xb3049f(0x115)](logDebug,_0x383a09[_0xb3049f(0xfc)],_0x38ff07),'';}}export class NTQQFileCacheApi{static async[_0x13d265(0x139)](_0x8a9962=!![]){return'';}static[_0x13d265(0x106)](){return'';}static[_0x13d265(0x11e)](_0x95c34f=[_0x13d265(0x138),_0x13d265(0x130)]){const _0x141ce5=_0x13d265;return napCatCore[_0x141ce5(0x134)][_0x141ce5(0x105)]()['clearCacheDataByKeys'](_0x95c34f);}static['addCacheScannedPaths'](_0x590692={}){const _0x1e45ff=_0x13d265;return napCatCore[_0x1e45ff(0x134)][_0x1e45ff(0x105)]()[_0x1e45ff(0x10e)](_0x590692);}static[_0x13d265(0x13e)](){const _0x280e9b=_0x13d265;return napCatCore[_0x280e9b(0x134)][_0x280e9b(0x105)]()['scanCache']();}static[_0x13d265(0x114)](){return'';}static[_0x13d265(0x127)](){return'';}static[_0x13d265(0x137)](_0x3096ea,_0x33b513=0x3e8,_0x1ae037=0x0){const _0x460061=_0x13d265;return napCatCore[_0x460061(0x134)]['getStorageCleanService']()['getChatCacheInfo'](_0x3096ea,_0x33b513,0x1,_0x1ae037);}static['getFileCacheInfo'](_0xa32801,_0xc30459=0x3e8,_0x3015f9){const _0x354b1e=_0x3015f9?_0x3015f9:{'fileType':_0xa32801};}static async[_0x13d265(0x122)](_0x322ee8=[],_0x3a5d55=[]){const _0x604cf7=_0x13d265;return napCatCore['session'][_0x604cf7(0x105)]()['clearChatCacheInfo'](_0x322ee8,_0x3a5d55);}} \ 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 a71a3e11..cb61f4c2 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x15086c=_0x3280;(function(_0x13f8b0,_0x1e4eb1){const _0x9fc419=_0x3280,_0x701223=_0x13f8b0();while(!![]){try{const _0x403c00=-parseInt(_0x9fc419(0x1b2))/0x1+parseInt(_0x9fc419(0x1c2))/0x2*(parseInt(_0x9fc419(0x1a6))/0x3)+-parseInt(_0x9fc419(0x1a7))/0x4*(-parseInt(_0x9fc419(0x1ac))/0x5)+parseInt(_0x9fc419(0x1bc))/0x6+parseInt(_0x9fc419(0x1aa))/0x7+-parseInt(_0x9fc419(0x1b6))/0x8+-parseInt(_0x9fc419(0x1b7))/0x9;if(_0x403c00===_0x1e4eb1)break;else _0x701223['push'](_0x701223['shift']());}catch(_0x4f4150){_0x701223['push'](_0x701223['shift']());}}}(_0x21eb,0x4499a));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x3280(_0x506c37,_0x451e32){const _0x21eb52=_0x21eb();return _0x3280=function(_0x3280f3,_0x12e778){_0x3280f3=_0x3280f3-0x1a4;let _0x3622f6=_0x21eb52[_0x3280f3];return _0x3622f6;},_0x3280(_0x506c37,_0x451e32);}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x21eb(){const _0x18d9a0=['uin','delete','buddyList','then','itFYu','6686MmAQVG','onBuddyListChange','fSWUJ','429xlzuCm','4EVAdeB','reqTime','getBuddyService','1749566Gbwmqc','获取好友列表超时','1249730BTUoqo','addListener','handleFriendRequest','mTxTV','开始获取好友列表','nOiDK','249995DBvIbQ','EZvzT','bWtOT','onLoginSuccess','1634048mqZvbm','2649357izTKKh','getFriends','session','getBuddyList','uid','310062YKWlqq'];_0x21eb=function(){return _0x18d9a0;};return _0x21eb();}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x15086c(0x1a4)]=_0xc3986d=>{const _0x38e31b=_0x15086c,_0x4cf7b0={'itFYu':function(_0x32f6a5,_0x5a61aa){return _0x32f6a5(_0x5a61aa);}};for(const [_0x59e1cd,_0x16ea6e]of buddyChangeTasks){_0x4cf7b0[_0x38e31b(0x1c1)](_0x16ea6e,_0xc3986d),buddyChangeTasks[_0x38e31b(0x1be)](_0x59e1cd);}},setTimeout(()=>{const _0x269728=_0x15086c;napCatCore[_0x269728(0x1b5)](()=>{const _0x22d827=_0x269728;napCatCore[_0x22d827(0x1ad)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x15086c(0x1b8)](_0x589ba6=![]){const _0x78aa4=_0x15086c,_0x37804e={'EZvzT':function(_0x244dfa,_0xe8e2dc,_0x360085){return _0x244dfa(_0xe8e2dc,_0x360085);},'SyhEh':_0x78aa4(0x1b0),'fSWUJ':function(_0x1f4ef0,_0x2146c2){return _0x1f4ef0(_0x2146c2);},'bWtOT':_0x78aa4(0x1ab)};return new Promise((_0x38e324,_0xb08b40)=>{const _0x219346=_0x78aa4,_0x24271e={'mTxTV':function(_0x389adc,_0x27d3cf){const _0x4d8b9a=_0x3280;return _0x37804e[_0x4d8b9a(0x1a5)](_0x389adc,_0x27d3cf);},'cqPQK':function(_0x3bbadd,_0x121b08){return _0x3bbadd(_0x121b08);},'nOiDK':_0x37804e[_0x219346(0x1b4)]};let _0x152d1d=![];_0x37804e['EZvzT'](setTimeout,()=>{const _0x194c34=_0x219346;!_0x152d1d&&(_0x24271e[_0x194c34(0x1af)](logDebug,_0x194c34(0x1ab)),_0x24271e['cqPQK'](_0xb08b40,_0x24271e[_0x194c34(0x1b1)]));},0x1388);const _0x396b98=[],_0x2aa912=_0x32b883=>{const _0x517fd3=_0x219346;for(const _0x51a18e of _0x32b883){for(const _0x53758e of _0x51a18e[_0x517fd3(0x1bf)]){_0x396b98['push'](_0x53758e),uid2UinMap[_0x53758e[_0x517fd3(0x1bb)]]=_0x53758e[_0x517fd3(0x1bd)];}}_0x152d1d=!![],_0x24271e[_0x517fd3(0x1af)](_0x38e324,_0x396b98);};buddyChangeTasks['set'](randomUUID(),_0x2aa912),napCatCore[_0x219346(0x1b9)][_0x219346(0x1a9)]()[_0x219346(0x1ba)](_0x589ba6)[_0x219346(0x1c0)](_0x433180=>{const _0x414a6b=_0x219346;_0x37804e[_0x414a6b(0x1b3)](logDebug,_0x37804e['SyhEh'],_0x433180);});});}static async[_0x15086c(0x1ae)](_0x4955fd,_0x3e8561){const _0x4068ed=_0x15086c;napCatCore['session'][_0x4068ed(0x1a9)]()?.['approvalFriendRequest']({'friendUid':_0x4955fd['friendUid'],'reqTime':_0x4955fd[_0x4068ed(0x1a8)],'accept':_0x3e8561});}} \ No newline at end of file +const _0x50b69a=_0xb7af;(function(_0x49561b,_0x466f91){const _0x2024d3=_0xb7af,_0x1b6a68=_0x49561b();while(!![]){try{const _0x1c4700=parseInt(_0x2024d3(0x73))/0x1*(parseInt(_0x2024d3(0x93))/0x2)+parseInt(_0x2024d3(0x8b))/0x3*(-parseInt(_0x2024d3(0x6f))/0x4)+-parseInt(_0x2024d3(0x91))/0x5+-parseInt(_0x2024d3(0x89))/0x6+parseInt(_0x2024d3(0x87))/0x7*(-parseInt(_0x2024d3(0x78))/0x8)+-parseInt(_0x2024d3(0x79))/0x9+parseInt(_0x2024d3(0x86))/0xa*(parseInt(_0x2024d3(0x7c))/0xb);if(_0x1c4700===_0x466f91)break;else _0x1b6a68['push'](_0x1b6a68['shift']());}catch(_0x4c3cc6){_0x1b6a68['push'](_0x1b6a68['shift']());}}}(_0x205d,0x530ec));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0xb7af(_0x2b2f77,_0x52a784){const _0x205d86=_0x205d();return _0xb7af=function(_0xb7af5,_0x49fb4b){_0xb7af5=_0xb7af5-0x6e;let _0x51898b=_0x205d86[_0xb7af5];return _0x51898b;},_0xb7af(_0x2b2f77,_0x52a784);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x50b69a(0x74)]=_0x4d9c68=>{const _0x37af23=_0x50b69a,_0x31aa08={'mzKVs':function(_0x7f37fb,_0x2dfeb1){return _0x7f37fb(_0x2dfeb1);}};for(const [_0x275511,_0x12df34]of buddyChangeTasks){_0x31aa08[_0x37af23(0x81)](_0x12df34,_0x4d9c68),buddyChangeTasks[_0x37af23(0x8e)](_0x275511);}},setTimeout(()=>{const _0x6fe4aa=_0x50b69a;napCatCore[_0x6fe4aa(0x75)](()=>{const _0x2e11fb=_0x6fe4aa;napCatCore[_0x2e11fb(0x80)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x50b69a(0x8c)](_0x54e974=![]){const _0x324411=_0x50b69a,_0x44693f={'FqrpM':function(_0x3afe93,_0x33aed7){return _0x3afe93(_0x33aed7);},'RThMz':function(_0x407758,_0x5ea025){return _0x407758(_0x5ea025);},'aMcav':function(_0x226af9,_0x439972,_0x5b8805){return _0x226af9(_0x439972,_0x5b8805);},'iWFZN':_0x324411(0x83),'HFvch':function(_0x425288,_0x2a4369,_0x12bc0e){return _0x425288(_0x2a4369,_0x12bc0e);}};return new Promise((_0x52cb26,_0x4a1c32)=>{const _0x3702bd=_0x324411,_0x3642ee={'VDRGI':function(_0x2d47e,_0xb9c0f4){const _0x5f118b=_0xb7af;return _0x44693f[_0x5f118b(0x88)](_0x2d47e,_0xb9c0f4);},'gnCdZ':_0x3702bd(0x94),'SBFgi':function(_0xf163c4,_0x25efc0){const _0x36815b=_0x3702bd;return _0x44693f[_0x36815b(0x8d)](_0xf163c4,_0x25efc0);},'EDqUi':function(_0x4fa12f,_0x35d0b4,_0x5c4e0a){const _0x3f23ac=_0x3702bd;return _0x44693f[_0x3f23ac(0x90)](_0x4fa12f,_0x35d0b4,_0x5c4e0a);},'zybhj':_0x44693f[_0x3702bd(0x82)]};let _0x2533d=![];_0x44693f['HFvch'](setTimeout,()=>{const _0x5742f3=_0x3702bd;!_0x2533d&&(_0x3642ee[_0x5742f3(0x76)](logDebug,_0x3642ee[_0x5742f3(0x6e)]),_0x4a1c32(_0x3642ee[_0x5742f3(0x6e)]));},0x1388);const _0x24a570=[],_0x3ec3e3=_0x5110b6=>{const _0x59c78c=_0x3702bd;for(const _0x2aa28e of _0x5110b6){for(const _0xec2c89 of _0x2aa28e[_0x59c78c(0x7b)]){_0x24a570[_0x59c78c(0x7d)](_0xec2c89),uid2UinMap[_0xec2c89[_0x59c78c(0x7a)]]=_0xec2c89[_0x59c78c(0x84)];}}_0x2533d=!![],_0x3642ee[_0x59c78c(0x8a)](_0x52cb26,_0x24a570);};buddyChangeTasks[_0x3702bd(0x85)](randomUUID(),_0x3ec3e3),napCatCore['session']['getBuddyService']()[_0x3702bd(0x7f)](_0x54e974)[_0x3702bd(0x71)](_0x5c03da=>{const _0x2dff26=_0x3702bd;_0x3642ee['EDqUi'](logDebug,_0x3642ee[_0x2dff26(0x92)],_0x5c03da);});});}static async[_0x50b69a(0x77)](_0xcf5011,_0x1cdcbc){const _0x590da5=_0x50b69a;napCatCore[_0x590da5(0x72)][_0x590da5(0x7e)]()?.[_0x590da5(0x70)]({'friendUid':_0xcf5011['friendUid'],'reqTime':_0xcf5011[_0x590da5(0x8f)],'accept':_0x1cdcbc});}}function _0x205d(){const _0x3c1026=['8376ucNUSw','approvalFriendRequest','then','session','434597pJWeCS','onBuddyListChange','onLoginSuccess','VDRGI','handleFriendRequest','48eZkWkz','3824694pyBKoH','uid','buddyList','429GyJxXK','push','getBuddyService','getBuddyList','addListener','mzKVs','iWFZN','开始获取好友列表','uin','set','344670pEbwCU','36638NvbGpd','FqrpM','3667572thHfLR','SBFgi','48DSqcjw','getFriends','RThMz','delete','reqTime','aMcav','1687350GlhCmo','zybhj','2tvtQhj','获取好友列表超时','gnCdZ'];_0x205d=function(){return _0x3c1026;};return _0x205d();} \ 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 46fcf300..251311c1 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x8256c6=_0x25aa;(function(_0x2ffc9a,_0x1032d3){const _0x5a0fcf=_0x25aa,_0x2fd2bf=_0x2ffc9a();while(!![]){try{const _0x1b3d1b=parseInt(_0x5a0fcf(0x1ec))/0x1*(-parseInt(_0x5a0fcf(0x1b8))/0x2)+parseInt(_0x5a0fcf(0x1ea))/0x3+-parseInt(_0x5a0fcf(0x1cd))/0x4*(parseInt(_0x5a0fcf(0x1c2))/0x5)+parseInt(_0x5a0fcf(0x1e1))/0x6+parseInt(_0x5a0fcf(0x1b6))/0x7+parseInt(_0x5a0fcf(0x1b0))/0x8*(parseInt(_0x5a0fcf(0x1f3))/0x9)+-parseInt(_0x5a0fcf(0x1e3))/0xa;if(_0x1b3d1b===_0x1032d3)break;else _0x2fd2bf['push'](_0x2fd2bf['shift']());}catch(_0x23edf0){_0x2fd2bf['push'](_0x2fd2bf['shift']());}}}(_0x571b,0x6373e));function _0x571b(){const _0x5c1f2f=['1577556QNwgZg','banGroup','ssDNg','set','获取群系统消息列表超时','type','BAkXz','result','ihbOD','CreatGroupFileFolder','infos','onGroupSingleScreenNotifies','获取群成员列表出错,','getPSkey','onLoginSuccess','groupCode','SiAAI','kalnO','VuwIv','setGroupName','4584234YbznZl','uploadGroupBulletinPic','7773760BgONPk','delete','kickMember','zlbKR','getGroupIgnoreNotifies','Gdzbn','session','214719pVBmIJ','addListener','108487vegFOg','setMemberShutUp','deleteGroupFolder','banMember','uid','onGroupListUpdate','setMemberCard','6863823BmnxYG','groupMemberList_MainWindow','qun.qq.com','quitGroup','getNextMemberList','handleGroupRequest','NDcYX','getGroupNotifies','getSingleScreenNotifies','createMemberListScene','aAVBY','获取群列表完成','8eMPeOk','KCPBB','group','then','errMsg','kqOAH','1384866jdSZgZ','GijJO','4QEzUIy','modifyMemberCardName','getRichMediaService','setGroupShutUp','modifyMemberRole','AeNco','seq','获取群列表超时','qWtYt','batchGetGroupFileCount','5qYkuuX','operateSysNotify','deleteGroupFile','setGroupTitle','DelGroupFile','publishGroupBulletin','uin','getGroupMembers','getGroupService','uIGBI','aKXet'];_0x571b=function(){return _0x5c1f2f;};return _0x571b();}function _0x25aa(_0x573594,_0x4bfba9){const _0x571b66=_0x571b();return _0x25aa=function(_0x25aa9a,_0x35e8ff){_0x25aa9a=_0x25aa9a-0x1ad;let _0xa507b6=_0x571b66[_0x25aa9a];return _0xa507b6;},_0x25aa(_0x573594,_0x4bfba9);}import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0x8256c6(0x1d8)]=(_0x163d93,_0x246240,_0x1f587e)=>{const _0x10667=_0x8256c6;for(const [_0x3bd117,_0x4c9d32]of SingleScreenNotifiesTasks){_0x4c9d32(_0x163d93,_0x246240,_0x1f587e),groupMemberTasks[_0x10667(0x1e4)](_0x3bd117);}},groupListener[_0x8256c6(0x1f1)]=(_0x3ef179,_0x5290ff)=>{const _0x28ee18={'AugCx':function(_0x23989d,_0x1fab9d,_0x18c01c){return _0x23989d(_0x1fab9d,_0x18c01c);}};for(const [_0x4ec35e,_0x4827bc]of groupMemberTasks){_0x28ee18['AugCx'](_0x4827bc,_0x3ef179,_0x5290ff),groupMemberTasks['delete'](_0x4ec35e);}},setTimeout(()=>{const _0x3e2fa8=_0x8256c6;napCatCore[_0x3e2fa8(0x1db)](()=>{const _0x3da0de=_0x3e2fa8;napCatCore[_0x3da0de(0x1eb)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x87ef8b=![]){const _0x4fef25=_0x8256c6,_0x3065a8={'QYKuM':_0x4fef25(0x1bf),'kalnO':function(_0x1a53e3,_0x292a1a){return _0x1a53e3(_0x292a1a);},'qWtYt':function(_0x5eb055,_0x58acd1,_0x277644){return _0x5eb055(_0x58acd1,_0x277644);},'ssDNg':function(_0x5bf562){return _0x5bf562();}};let _0x566799=![];return new Promise((_0x486832,_0x44c45e)=>{const _0x3ef32d=_0x4fef25,_0xf3c711={'KCPBB':_0x3065a8['QYKuM'],'AeNco':function(_0xc72858,_0x36d2c0){const _0x1184cd=_0x25aa;return _0x3065a8[_0x1184cd(0x1de)](_0xc72858,_0x36d2c0);}};_0x3065a8[_0x3ef32d(0x1c0)](setTimeout,()=>{const _0xafa087=_0x3ef32d;!_0x566799&&(logDebug(_0xf3c711[_0xafa087(0x1b1)]),_0xf3c711[_0xafa087(0x1bd)](_0x44c45e,_0xf3c711[_0xafa087(0x1b1)]));},0x1388);const _0x5effde=(_0x583aa8,_0x1cc5a9)=>{const _0x9d8b50=_0x3ef32d;_0x566799=!![],logDebug(_0x9d8b50(0x1af),_0x1cc5a9),_0xf3c711['AeNco'](_0x486832,_0x1cc5a9);};groupMemberTasks[_0x3ef32d(0x1d0)](_0x3065a8[_0x3ef32d(0x1cf)](randomUUID),_0x5effde),napCatCore[_0x3ef32d(0x1e9)][_0x3ef32d(0x1ca)]()['getGroupList'](_0x87ef8b)[_0x3ef32d(0x1b3)]();});}static async[_0x8256c6(0x1d6)](_0x346bbc,_0x1de1a3){const _0x1a7f7c=_0x8256c6;return napCatCore[_0x1a7f7c(0x1e9)][_0x1a7f7c(0x1ba)]()['createGroupFolder'](_0x346bbc,_0x1de1a3);}static async[_0x8256c6(0x1c6)](_0x1fab71,_0x56d9a5){const _0xf7bb5f=_0x8256c6;return napCatCore[_0xf7bb5f(0x1e9)][_0xf7bb5f(0x1ba)]()[_0xf7bb5f(0x1c4)](_0x1fab71,[0x66],_0x56d9a5);}static async['DelGroupFileFolder'](_0x388ab0,_0x38ebe0){const _0x122225=_0x8256c6;return napCatCore[_0x122225(0x1e9)][_0x122225(0x1ba)]()[_0x122225(0x1ee)](_0x388ab0,_0x38ebe0);}static async[_0x8256c6(0x1fb)](_0x2e0e15){const _0x41ed3a=_0x8256c6,_0x11edfc={'uIGBI':function(_0x291e1a,_0x15c98c){return _0x291e1a(_0x15c98c);},'kqOAH':function(_0x920a03,_0x31cc6d,_0x2685d2){return _0x920a03(_0x31cc6d,_0x2685d2);},'GijJO':function(_0x3e9916){return _0x3e9916();}},_0x52c0cb=napCatCore[_0x41ed3a(0x1e9)][_0x41ed3a(0x1ca)]();return new Promise((_0x4619e3,_0x28a8bf)=>{const _0x58c74a=_0x41ed3a,_0x5b379d={'NDcYX':function(_0x275946,_0x1ee05a){const _0x7f7ea3=_0x25aa;return _0x11edfc[_0x7f7ea3(0x1cb)](_0x275946,_0x1ee05a);},'aAVBY':_0x58c74a(0x1d1),'BAkXz':function(_0x5455ed,_0x528609){return _0x5455ed(_0x528609);}};let _0x351d12=![];_0x11edfc[_0x58c74a(0x1b5)](setTimeout,()=>{const _0x4ac8a5=_0x58c74a;!_0x351d12&&_0x5b379d[_0x4ac8a5(0x1f9)](_0x28a8bf,_0x5b379d[_0x4ac8a5(0x1ae)]);},0x1388);const _0x538775=(_0x2bfa8a,_0x503a52,_0x4e1d45)=>{const _0x4d3109=_0x58c74a;_0x351d12=!![],_0x5b379d[_0x4d3109(0x1d3)](_0x4619e3,_0x4e1d45);};SingleScreenNotifiesTasks[_0x58c74a(0x1d0)](_0x11edfc[_0x58c74a(0x1b7)](randomUUID),_0x538775),_0x52c0cb[_0x58c74a(0x1fb)](![],'',_0x2e0e15);});}static async[_0x8256c6(0x1c9)](_0x446e11,_0x1a518d=0xbb8){const _0x375f75=_0x8256c6,_0x243f6e={'ihbOD':_0x375f75(0x1f4),'Gdzbn':function(_0x3eb265,_0x331c4c){return _0x3eb265!==_0x331c4c;},'aKXet':function(_0x74002a,_0x50ece2){return _0x74002a+_0x50ece2;},'zlbKR':_0x375f75(0x1d9)},_0x11bbc5=napCatCore['session'][_0x375f75(0x1ca)](),_0x450c38=_0x11bbc5[_0x375f75(0x1ad)](_0x446e11,_0x243f6e[_0x375f75(0x1d5)]),_0x347326=await _0x11bbc5[_0x375f75(0x1f7)](_0x450c38,undefined,_0x1a518d);if(_0x243f6e[_0x375f75(0x1e8)](_0x347326['errCode'],0x0))throw _0x243f6e[_0x375f75(0x1cc)](_0x243f6e[_0x375f75(0x1e6)],_0x347326[_0x375f75(0x1b4)]);return _0x347326[_0x375f75(0x1d4)]['infos']['forEach'](_0x53c2ca=>{const _0x345a1b=_0x375f75;uid2UinMap[_0x53c2ca[_0x345a1b(0x1f0)]]=_0x53c2ca[_0x345a1b(0x1c8)];}),_0x347326[_0x375f75(0x1d4)][_0x375f75(0x1d7)];}static async[_0x8256c6(0x1fa)](){}static async['GetGroupFileCount'](_0x63e322){const _0x518f69=_0x8256c6;return napCatCore[_0x518f69(0x1e9)][_0x518f69(0x1ba)]()[_0x518f69(0x1c1)](_0x63e322);}static async[_0x8256c6(0x1e7)](){}static async[_0x8256c6(0x1e2)](_0x3e00d8,_0x5d4034){const _0x2c3768=_0x8256c6,_0x2c9177={'SiAAI':_0x2c3768(0x1f5)},_0x567f07=(await NTQQUserApi[_0x2c3768(0x1da)]([_0x2c9177[_0x2c3768(0x1dd)]]))[_0x2c9177[_0x2c3768(0x1dd)]];return napCatCore[_0x2c3768(0x1e9)][_0x2c3768(0x1ca)]()['uploadGroupBulletinPic'](_0x3e00d8,_0x567f07,_0x5d4034);}static async[_0x8256c6(0x1f8)](_0xf4f023,_0x4fb793,_0x366671){const _0x4db16f=_0x8256c6,_0x38ef06={'EEFzC':function(_0x545740,_0x4359dc){return _0x545740||_0x4359dc;}};return napCatCore[_0x4db16f(0x1e9)][_0x4db16f(0x1ca)]()[_0x4db16f(0x1c3)](![],{'operateType':_0x4fb793,'targetMsg':{'seq':_0xf4f023[_0x4db16f(0x1be)],'type':_0xf4f023[_0x4db16f(0x1d2)],'groupCode':_0xf4f023[_0x4db16f(0x1b2)][_0x4db16f(0x1dc)],'postscript':_0x38ef06['EEFzC'](_0x366671,'')}});}static async[_0x8256c6(0x1f6)](_0x327684){const _0x4bd5f=_0x8256c6;return napCatCore[_0x4bd5f(0x1e9)]['getGroupService']()[_0x4bd5f(0x1f6)](_0x327684);}static async[_0x8256c6(0x1e5)](_0x13dc95,_0xa0f1da,_0x43d97b=![],_0x380d64=''){const _0x2b20b0=_0x8256c6;return napCatCore['session']['getGroupService']()[_0x2b20b0(0x1e5)](_0x13dc95,_0xa0f1da,_0x43d97b,_0x380d64);}static async[_0x8256c6(0x1ef)](_0x423316,_0x2a1c7e){const _0x12713e=_0x8256c6;return napCatCore[_0x12713e(0x1e9)]['getGroupService']()[_0x12713e(0x1ed)](_0x423316,_0x2a1c7e);}static async[_0x8256c6(0x1ce)](_0x11fcba,_0x408ff1){const _0x5992ae=_0x8256c6;return napCatCore[_0x5992ae(0x1e9)][_0x5992ae(0x1ca)]()[_0x5992ae(0x1bb)](_0x11fcba,_0x408ff1);}static async[_0x8256c6(0x1f2)](_0x37c615,_0xe21e13,_0x4d1583){const _0x568e3b=_0x8256c6;return napCatCore[_0x568e3b(0x1e9)][_0x568e3b(0x1ca)]()[_0x568e3b(0x1b9)](_0x37c615,_0xe21e13,_0x4d1583);}static async['setMemberRole'](_0x5cbf0d,_0x55bf76,_0x54278d){const _0x59aaeb=_0x8256c6;return napCatCore['session'][_0x59aaeb(0x1ca)]()[_0x59aaeb(0x1bc)](_0x5cbf0d,_0x55bf76,_0x54278d);}static async[_0x8256c6(0x1e0)](_0x436086,_0x293fa0){const _0x3f947f=_0x8256c6;return napCatCore[_0x3f947f(0x1e9)][_0x3f947f(0x1ca)]()['modifyGroupName'](_0x436086,_0x293fa0,![]);}static async[_0x8256c6(0x1c5)](_0xddef21,_0x169f0b,_0x4d59c8){}static async['publishGroupBulletin'](_0x2db38f,_0x109c62,_0x483647=undefined,_0x585096=0x0,_0x4cb17f=0x0){const _0x226f7e=_0x8256c6,_0x16e25a={'VuwIv':_0x226f7e(0x1f5)},_0x70246f=(await NTQQUserApi[_0x226f7e(0x1da)]([_0x16e25a[_0x226f7e(0x1df)]]))[_0x226f7e(0x1f5)];let _0x53e7e3={'text':encodeURI(_0x109c62),'picInfo':_0x483647,'oldFeedsId':'','pinned':_0x585096,'confirmRequired':_0x4cb17f};return napCatCore[_0x226f7e(0x1e9)]['getGroupService']()[_0x226f7e(0x1c7)](_0x2db38f,_0x70246f,_0x53e7e3);}} \ No newline at end of file +const _0xe51571=_0x3eb1;(function(_0x3087fd,_0x5871bb){const _0x3c1a02=_0x3eb1,_0xa5fc07=_0x3087fd();while(!![]){try{const _0x25bf06=parseInt(_0x3c1a02(0x10e))/0x1*(-parseInt(_0x3c1a02(0x103))/0x2)+parseInt(_0x3c1a02(0x111))/0x3+parseInt(_0x3c1a02(0x117))/0x4+-parseInt(_0x3c1a02(0x10a))/0x5+parseInt(_0x3c1a02(0x127))/0x6+parseInt(_0x3c1a02(0x104))/0x7+-parseInt(_0x3c1a02(0x11a))/0x8*(parseInt(_0x3c1a02(0x116))/0x9);if(_0x25bf06===_0x5871bb)break;else _0xa5fc07['push'](_0xa5fc07['shift']());}catch(_0x373472){_0xa5fc07['push'](_0xa5fc07['shift']());}}}(_0x57a3,0xa93e0));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x3eb1(_0x304913,_0x372bff){const _0x57a351=_0x57a3();return _0x3eb1=function(_0x3eb158,_0x127031){_0x3eb158=_0x3eb158-0xff;let _0x3fd0ca=_0x57a351[_0x3eb158];return _0x3fd0ca;},_0x3eb1(_0x304913,_0x372bff);}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0xe51571(0x12c)]=(_0x3eae0b,_0x4d7472,_0x287e13)=>{for(const [_0x17776c,_0x27a11b]of SingleScreenNotifiesTasks){_0x27a11b(_0x3eae0b,_0x4d7472,_0x287e13),groupMemberTasks['delete'](_0x17776c);}},groupListener[_0xe51571(0x137)]=(_0x5f035b,_0x56ffd9)=>{const _0x279877={'pauNP':function(_0x4bdc33,_0x3f1ada,_0x5c8f89){return _0x4bdc33(_0x3f1ada,_0x5c8f89);}};for(const [_0x2eccee,_0x3b9b4]of groupMemberTasks){_0x279877['pauNP'](_0x3b9b4,_0x5f035b,_0x56ffd9),groupMemberTasks['delete'](_0x2eccee);}},setTimeout(()=>{const _0xd69f4d=_0xe51571;napCatCore[_0xd69f4d(0x139)](()=>{const _0x382fb=_0xd69f4d;napCatCore[_0x382fb(0x128)](groupListener);});},0x64);function _0x57a3(){const _0xefb158=['groupMemberList_MainWindow','ohYai','376656WZjqvq','addListener','BZnlu','modifyMemberRole','createGroupFolder','onGroupSingleScreenNotifies','kaJqb','setMemberRole','quitGroup','uploadGroupBulletinPic','result','deleteGroupFile','getGroupList','uin','group','setMemberCard','onGroupListUpdate','errCode','onLoginSuccess','setGroupTitle','qgObB','modifyMemberCardName','getGroupIgnoreNotifies','batchGetGroupFileCount','hgKif','2XrVfGH','5704300rsrKGT','session','banMember','errMsg','groupCode','hBrEL','5733430FoZsVT','getGroups','publishGroupBulletin','set','254213WUBRNb','elRUB','getRichMediaService','3312420JUdyFc','XwGiV','getPSkey','setMemberShutUp','ojADH','90CnELzH','3206116dTCXVa','获取群成员列表出错,','获取群系统消息列表超时','551384bECbMT','infos','getGroupService','GetGroupFileCount','getGroupNotifies','then','ymUNp','getSingleScreenNotifies','deleteGroupFolder','setGroupShutUp','banGroup'];_0x57a3=function(){return _0xefb158;};return _0x57a3();}export class NTQQGroupApi{static async[_0xe51571(0x10b)](_0x5d0b58=![]){const _0x31ee60={'hgKif':function(_0x3dd6c6,_0x11d0c3){return _0x3dd6c6(_0x11d0c3);},'ohYai':'获取群列表超时','etGlz':'获取群列表完成','DbyzK':function(_0x4e266b){return _0x4e266b();}};let _0x2b0a95=![];return new Promise((_0x36f260,_0x540b81)=>{const _0x4de4b1=_0x3eb1,_0x2aa946={'BZnlu':function(_0x5c9da7,_0x4aa1f2,_0x3a4458){return _0x5c9da7(_0x4aa1f2,_0x3a4458);},'RDRdD':_0x31ee60['etGlz']};setTimeout(()=>{const _0x150b29=_0x3eb1;!_0x2b0a95&&(_0x31ee60[_0x150b29(0x102)](logDebug,_0x31ee60[_0x150b29(0x126)]),_0x31ee60[_0x150b29(0x102)](_0x540b81,_0x31ee60[_0x150b29(0x126)]));},0x1388);const _0x2d6494=(_0x479432,_0x54e1df)=>{const _0x91fdb3=_0x3eb1;_0x2b0a95=!![],_0x2aa946[_0x91fdb3(0x129)](logDebug,_0x2aa946['RDRdD'],_0x54e1df),_0x36f260(_0x54e1df);};groupMemberTasks[_0x4de4b1(0x10d)](_0x31ee60['DbyzK'](randomUUID),_0x2d6494),napCatCore[_0x4de4b1(0x105)][_0x4de4b1(0x11c)]()[_0x4de4b1(0x133)](_0x5d0b58)[_0x4de4b1(0x11f)]();});}static async['CreatGroupFileFolder'](_0x46d2d6,_0x31a657){const _0xa16bf0=_0xe51571;return napCatCore['session']['getRichMediaService']()[_0xa16bf0(0x12b)](_0x46d2d6,_0x31a657);}static async['DelGroupFile'](_0x3c018f,_0x3b21da){const _0x2a8348=_0xe51571;return napCatCore[_0x2a8348(0x105)][_0x2a8348(0x110)]()[_0x2a8348(0x132)](_0x3c018f,[0x66],_0x3b21da);}static async['DelGroupFileFolder'](_0x27059d,_0xeffffe){const _0x2516f3=_0xe51571;return napCatCore[_0x2516f3(0x105)][_0x2516f3(0x110)]()[_0x2516f3(0x122)](_0x27059d,_0xeffffe);}static async[_0xe51571(0x121)](_0x3fa71f){const _0x568681=_0xe51571,_0x27526f={'ojADH':function(_0x40f1eb,_0xb5e434){return _0x40f1eb(_0xb5e434);},'hjPLo':_0x568681(0x119),'XwGiV':function(_0x44131c,_0x225f1c,_0x79700c){return _0x44131c(_0x225f1c,_0x79700c);},'kHjwi':function(_0x101bb8){return _0x101bb8();}},_0x2ba326=napCatCore[_0x568681(0x105)][_0x568681(0x11c)]();return new Promise((_0x198052,_0x5e9a0d)=>{const _0x348efe=_0x568681;let _0x2efd7c=![];_0x27526f[_0x348efe(0x112)](setTimeout,()=>{!_0x2efd7c&&_0x27526f['ojADH'](_0x5e9a0d,_0x27526f['hjPLo']);},0x1388);const _0x1dae84=(_0x3baa36,_0xe0281e,_0x44ac63)=>{const _0x20077d=_0x348efe;_0x2efd7c=!![],_0x27526f[_0x20077d(0x115)](_0x198052,_0x44ac63);};SingleScreenNotifiesTasks[_0x348efe(0x10d)](_0x27526f['kHjwi'](randomUUID),_0x1dae84),_0x2ba326['getSingleScreenNotifies'](![],'',_0x3fa71f);});}static async['getGroupMembers'](_0x291e60,_0x19e8ca=0xbb8){const _0x5b1b7d=_0xe51571,_0x4a18cc={'hRxHv':_0x5b1b7d(0x125),'hBrEL':_0x5b1b7d(0x118)},_0x5804c2=napCatCore[_0x5b1b7d(0x105)][_0x5b1b7d(0x11c)](),_0x9d3a99=_0x5804c2['createMemberListScene'](_0x291e60,_0x4a18cc['hRxHv']),_0x5a5730=await _0x5804c2['getNextMemberList'](_0x9d3a99,undefined,_0x19e8ca);if(_0x5a5730[_0x5b1b7d(0x138)]!==0x0)throw _0x4a18cc[_0x5b1b7d(0x109)]+_0x5a5730[_0x5b1b7d(0x107)];return _0x5a5730[_0x5b1b7d(0x131)][_0x5b1b7d(0x11b)]['forEach'](_0x2be61a=>{const _0x571fa2=_0x5b1b7d;uid2UinMap[_0x2be61a['uid']]=_0x2be61a[_0x571fa2(0x134)];}),_0x5a5730[_0x5b1b7d(0x131)][_0x5b1b7d(0x11b)];}static async[_0xe51571(0x11e)](){}static async[_0xe51571(0x11d)](_0x365bb8){const _0x13bced=_0xe51571;return napCatCore['session'][_0x13bced(0x110)]()[_0x13bced(0x101)](_0x365bb8);}static async[_0xe51571(0x100)](){}static async[_0xe51571(0x130)](_0x2c17e5,_0x5edf8b){const _0x41b2c4=_0xe51571,_0x13129a={'ymUNp':'qun.qq.com'},_0x44dfc3=(await NTQQUserApi[_0x41b2c4(0x113)]([_0x13129a[_0x41b2c4(0x120)]]))['qun.qq.com'];return napCatCore[_0x41b2c4(0x105)][_0x41b2c4(0x11c)]()[_0x41b2c4(0x130)](_0x2c17e5,_0x44dfc3,_0x5edf8b);}static async['handleGroupRequest'](_0x1cfecd,_0x23e13c,_0x2482fb){const _0x23ee8a=_0xe51571,_0x49787d={'qgObB':function(_0x448a9a,_0x698d63){return _0x448a9a||_0x698d63;}};return napCatCore[_0x23ee8a(0x105)]['getGroupService']()['operateSysNotify'](![],{'operateType':_0x23e13c,'targetMsg':{'seq':_0x1cfecd['seq'],'type':_0x1cfecd['type'],'groupCode':_0x1cfecd[_0x23ee8a(0x135)][_0x23ee8a(0x108)],'postscript':_0x49787d[_0x23ee8a(0x13b)](_0x2482fb,'')}});}static async[_0xe51571(0x12f)](_0x1d661e){const _0x211a7b=_0xe51571;return napCatCore[_0x211a7b(0x105)][_0x211a7b(0x11c)]()[_0x211a7b(0x12f)](_0x1d661e);}static async['kickMember'](_0x2907bd,_0x4d1bcd,_0x47be14=![],_0x10091c=''){const _0x24a4c2=_0xe51571;return napCatCore[_0x24a4c2(0x105)][_0x24a4c2(0x11c)]()['kickMember'](_0x2907bd,_0x4d1bcd,_0x47be14,_0x10091c);}static async[_0xe51571(0x106)](_0x460b50,_0x3d6228){const _0x416cb0=_0xe51571;return napCatCore['session'][_0x416cb0(0x11c)]()[_0x416cb0(0x114)](_0x460b50,_0x3d6228);}static async[_0xe51571(0x124)](_0xa9e140,_0x268fe3){const _0x454347=_0xe51571;return napCatCore[_0x454347(0x105)][_0x454347(0x11c)]()[_0x454347(0x123)](_0xa9e140,_0x268fe3);}static async[_0xe51571(0x136)](_0xcd1c3c,_0x2928ab,_0x242e65){const _0x25d8cf=_0xe51571;return napCatCore[_0x25d8cf(0x105)][_0x25d8cf(0x11c)]()[_0x25d8cf(0xff)](_0xcd1c3c,_0x2928ab,_0x242e65);}static async[_0xe51571(0x12e)](_0x2d9819,_0x2344b0,_0x14f5fd){const _0x143976=_0xe51571;return napCatCore[_0x143976(0x105)][_0x143976(0x11c)]()[_0x143976(0x12a)](_0x2d9819,_0x2344b0,_0x14f5fd);}static async['setGroupName'](_0x5e872f,_0x366161){const _0x5e0170=_0xe51571;return napCatCore[_0x5e0170(0x105)]['getGroupService']()['modifyGroupName'](_0x5e872f,_0x366161,![]);}static async[_0xe51571(0x13a)](_0x52e77d,_0x388ba6,_0x100ba5){}static async[_0xe51571(0x10c)](_0x14233b,_0x3232f2,_0x44ec06=undefined,_0x21a4d=0x0,_0x5c76c9=0x0){const _0x6dfc9c=_0xe51571,_0x40c752={'kaJqb':'qun.qq.com','elRUB':function(_0xb63963,_0x2b57cc){return _0xb63963(_0x2b57cc);}},_0x43eafc=(await NTQQUserApi[_0x6dfc9c(0x113)]([_0x40c752[_0x6dfc9c(0x12d)]]))['qun.qq.com'];let _0x5770c3={'text':_0x40c752[_0x6dfc9c(0x10f)](encodeURI,_0x3232f2),'picInfo':_0x44ec06,'oldFeedsId':'','pinned':_0x21a4d,'confirmRequired':_0x5c76c9};return napCatCore[_0x6dfc9c(0x105)][_0x6dfc9c(0x11c)]()[_0x6dfc9c(0x10c)](_0x14233b,_0x43eafc,_0x5770c3);}} \ 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 220f650a..1c776045 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x104e69,_0x54b359){var _0x3e080f=_0x38b7,_0x1a9a03=_0x104e69();while(!![]){try{var _0x662c62=parseInt(_0x3e080f(0xa8))/0x1*(parseInt(_0x3e080f(0xa7))/0x2)+parseInt(_0x3e080f(0xa5))/0x3+-parseInt(_0x3e080f(0xa4))/0x4*(parseInt(_0x3e080f(0xa2))/0x5)+parseInt(_0x3e080f(0xaa))/0x6+-parseInt(_0x3e080f(0xa9))/0x7+-parseInt(_0x3e080f(0xa3))/0x8+-parseInt(_0x3e080f(0xab))/0x9*(-parseInt(_0x3e080f(0xa6))/0xa);if(_0x662c62===_0x54b359)break;else _0x1a9a03['push'](_0x1a9a03['shift']());}catch(_0x41a53b){_0x1a9a03['push'](_0x1a9a03['shift']());}}}(_0x4df6,0xde1af));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';function _0x4df6(){var _0x5788d9=['115030cjAzMk','150112taZEjD','5vgyIdk','4148501yLXjis','1733220hgOLPK','1314eGIdTg','8228165bRlRqy','4386912DrFJWq','4qrNDsL','4058385iqQqxO'];_0x4df6=function(){return _0x5788d9;};return _0x4df6();}function _0x38b7(_0x3d1b83,_0x335465){var _0x4df6fb=_0x4df6();return _0x38b7=function(_0x38b76c,_0x5bf64c){_0x38b76c=_0x38b76c-0xa2;var _0x3305a2=_0x4df6fb[_0x38b76c];return _0x3305a2;},_0x38b7(_0x3d1b83,_0x335465);}export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x44d88e,_0x3c901c){var _0x17ea5d=_0x26fe,_0x1e50f0=_0x44d88e();while(!![]){try{var _0x3c4fa6=-parseInt(_0x17ea5d(0xfa))/0x1+parseInt(_0x17ea5d(0xfd))/0x2*(-parseInt(_0x17ea5d(0xf9))/0x3)+-parseInt(_0x17ea5d(0xff))/0x4*(-parseInt(_0x17ea5d(0xf8))/0x5)+-parseInt(_0x17ea5d(0xf5))/0x6*(parseInt(_0x17ea5d(0xfc))/0x7)+parseInt(_0x17ea5d(0xf6))/0x8*(parseInt(_0x17ea5d(0xf7))/0x9)+parseInt(_0x17ea5d(0xfe))/0xa+parseInt(_0x17ea5d(0xfb))/0xb;if(_0x3c4fa6===_0x3c901c)break;else _0x1e50f0['push'](_0x1e50f0['shift']());}catch(_0x54bba9){_0x1e50f0['push'](_0x1e50f0['shift']());}}}(_0x31df,0x4c10b));export*from'./file';function _0x31df(){var _0x45d2fc=['3183400EYIjub','628FgYzdZ','6vypAal','1361072jDCfWn','9YETdFZ','1925JOuyVk','3znzxEI','262643AzxByq','7134897mkPDIl','750211ckkELe','1032334pqrDra'];_0x31df=function(){return _0x45d2fc;};return _0x31df();}export*from'./friend';export*from'./group';export*from'./msg';function _0x26fe(_0x368a7b,_0x2ae140){var _0x31df65=_0x31df();return _0x26fe=function(_0x26fe18,_0x1263c8){_0x26fe18=_0x26fe18-0xf5;var _0x5dca3b=_0x31df65[_0x26fe18];return _0x5dca3b;},_0x26fe(_0x368a7b,_0x2ae140);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index c90901da..284d9f0d 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x563b88=_0x1499;(function(_0x4f2e03,_0xaa2185){const _0xe4572a=_0x1499,_0x4e88ee=_0x4f2e03();while(!![]){try{const _0xae1518=parseInt(_0xe4572a(0xa6))/0x1*(parseInt(_0xe4572a(0x8f))/0x2)+-parseInt(_0xe4572a(0x8b))/0x3*(parseInt(_0xe4572a(0xba))/0x4)+-parseInt(_0xe4572a(0xb7))/0x5+parseInt(_0xe4572a(0x81))/0x6*(parseInt(_0xe4572a(0x77))/0x7)+-parseInt(_0xe4572a(0xb6))/0x8*(parseInt(_0xe4572a(0x82))/0x9)+-parseInt(_0xe4572a(0x84))/0xa*(-parseInt(_0xe4572a(0xb2))/0xb)+parseInt(_0xe4572a(0x87))/0xc;if(_0xae1518===_0xaa2185)break;else _0x4e88ee['push'](_0x4e88ee['shift']());}catch(_0xc13304){_0x4e88ee['push'](_0x4e88ee['shift']());}}}(_0x35e3,0x22ab1));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x563b88(0x98)]=_0x3dd195=>{const _0x557df3=_0x563b88;for(const [_0x1bb3b8,_0x589832]of GroupFileInfoUpdateTasks){_0x589832(_0x3dd195),GroupFileInfoUpdateTasks[_0x557df3(0x7d)](_0x1bb3b8);}},msgListener[_0x563b88(0xb4)]=_0x15f452=>{const _0x1ad4ac=_0x563b88,_0x2983bf={'iQVjf':function(_0x4ae214,_0x187267){return _0x4ae214 instanceof _0x187267;}};for(const [_0x5debfd,_0x57b8c2]of sentMsgTasks){_0x57b8c2(_0x15f452),sentMsgTasks['delete'](_0x5debfd);}if(sendMessagePool[_0x15f452['peerUid']]){const _0x4edbdb=sendMessagePool[_0x15f452['peerUid']]?.(_0x15f452);_0x2983bf['iQVjf'](_0x4edbdb,Promise)&&_0x4edbdb[_0x1ad4ac(0x79)]()[_0x1ad4ac(0xbb)](logError);}},msgListener[_0x563b88(0xb0)]=_0x1b6cc6=>{const _0x42682d=_0x563b88,_0x38bd47={'mjhgs':function(_0x455ecc,_0x448246){return _0x455ecc(_0x448246);},'KclWI':function(_0x571b5e,_0x2b1f9b){return _0x571b5e instanceof _0x2b1f9b;},'DqigP':function(_0x1e1e08,_0x48fae0){return _0x1e1e08(_0x48fae0);}};_0x1b6cc6[_0x42682d(0x93)](_0x32ffd4=>{const _0xe3b8ce=_0x42682d;new Promise((_0x1bd062,_0x9f06da)=>{const _0x5a360c=_0x1499;for(const _0x2f7dd1 in sendSuccessCBMap){const _0x5d2ff8=sendSuccessCBMap[_0x2f7dd1],_0x125cb6=_0x38bd47[_0x5a360c(0x80)](_0x5d2ff8,_0x32ffd4),_0x218ba6=_0x261a86=>{_0x261a86&&delete sendSuccessCBMap[_0x2f7dd1];};_0x38bd47['KclWI'](_0x125cb6,Promise)?_0x125cb6[_0x5a360c(0x79)](_0x218ba6):_0x38bd47[_0x5a360c(0x89)](_0x218ba6,_0x125cb6);}})[_0xe3b8ce(0x79)]()[_0xe3b8ce(0xbb)](log);});},setTimeout(()=>{const _0x2f3616=_0x563b88;napCatCore[_0x2f3616(0x86)](()=>{const _0x254103=_0x2f3616;napCatCore[_0x254103(0x96)](msgListener);});},0x64);function _0x1499(_0x40bd7f,_0x5c6e93){const _0x35e3dd=_0x35e3();return _0x1499=function(_0x1499d0,_0x13a74b){_0x1499d0=_0x1499d0-0x74;let _0x10f31c=_0x35e3dd[_0x1499d0];return _0x10f31c;},_0x1499(_0x40bd7f,_0x5c6e93);}export class NTQQMsgApi{static async['setEmojiLike'](_0x1b8f80,_0x5a922f,_0x456079,_0x1f627f=!![]){const _0x5a4fb3=_0x563b88;return _0x456079=_0x456079[_0x5a4fb3(0xa2)](),napCatCore[_0x5a4fb3(0xae)][_0x5a4fb3(0xb8)]()[_0x5a4fb3(0x8d)](_0x1b8f80,_0x5a922f,_0x456079,_0x456079[_0x5a4fb3(0x9e)]>0x3?'2':'1',_0x1f627f);}static async[_0x563b88(0x74)](_0x31ea55,_0x4ef473,_0x1abf5c){const _0x13ba98=_0x563b88;return napCatCore[_0x13ba98(0xae)]['getMsgService']()[_0x13ba98(0x74)](_0x31ea55,_0x4ef473,_0x1abf5c);}static async[_0x563b88(0xa0)](_0x2abcb1,_0x1331c0){const _0x428187=_0x563b88;return await napCatCore[_0x428187(0xae)][_0x428187(0xb8)]()['getMsgsByMsgId'](_0x2abcb1,_0x1331c0);}static async[_0x563b88(0xb1)](_0x3ab0e0,_0x462b71,_0x139bf3,_0x42fcd8,_0x4df1c3){const _0x379ce3=_0x563b88;return await napCatCore[_0x379ce3(0xae)]['getMsgService']()[_0x379ce3(0xb1)](_0x3ab0e0,_0x462b71,_0x139bf3,_0x42fcd8,_0x4df1c3);}static async[_0x563b88(0x9f)](_0x1cd212){}static async[_0x563b88(0x7f)](_0x3e2188){}static async['setMsgRead'](_0x622b28){const _0x39df0d=_0x563b88;return napCatCore[_0x39df0d(0xae)][_0x39df0d(0xb8)]()['setMsgRead'](_0x622b28);}static async[_0x563b88(0x9b)](_0x30b0bb,_0x180d63){const _0x422adb={'YAZul':function(_0x43f6cb,_0x1a52de){return _0x43f6cb(_0x1a52de);},'rlgts':function(_0x31dc77,_0x24cae3){return _0x31dc77(_0x24cae3);},'NRaIU':function(_0x2a4c5a){return _0x2a4c5a();}};return new Promise(async(_0x251359,_0x3f53ba)=>{const _0x3558b1=_0x1499,_0x59cd60={'fXmAG':function(_0x4de543,_0x10e875){const _0x4d9dd2=_0x1499;return _0x422adb[_0x4d9dd2(0xb5)](_0x4de543,_0x10e875);}};let _0x21ad73=![];setTimeout(()=>{const _0x1868f4=_0x1499;!_0x21ad73&&_0x59cd60[_0x1868f4(0x7c)](_0x3f53ba,_0x1868f4(0x99));},0x1388);const _0x336741=_0x14ba71=>{_0x21ad73=!![],_0x422adb['YAZul'](_0x251359,_0x14ba71['item']);};GroupFileInfoUpdateTasks[_0x3558b1(0xac)](_0x422adb[_0x3558b1(0x91)](randomUUID),_0x336741),await napCatCore[_0x3558b1(0xae)]['getRichMediaService']()['getGroupFileList'](_0x30b0bb,_0x180d63);});}static async[_0x563b88(0x78)](_0x1a4604,_0x378593,_0x1f1cae){const _0x5b458a=_0x563b88;return napCatCore[_0x5b458a(0xae)][_0x5b458a(0xb8)]()['getMsgsIncludeSelf'](_0x1a4604,_0x378593,_0x1f1cae,!![]);}static async['fetchRecentContact'](){}static async[_0x563b88(0xa3)](_0x2719d1,_0x4a01ab){const _0xbd70cc=_0x563b88;await napCatCore[_0xbd70cc(0xae)][_0xbd70cc(0xb8)]()[_0xbd70cc(0xa3)]({'chatType':_0x2719d1[_0xbd70cc(0xa4)],'peerUid':_0x2719d1[_0xbd70cc(0xab)]},_0x4a01ab);}static async[_0x563b88(0x9a)](_0x86036b,_0x6989fe,_0x4d05f1=!![],_0x3a27fb=0x2710){const _0x28d384=_0x563b88,_0x3b3692={'kwXpn':function(_0xd9c03b,_0xa893f1){return _0xd9c03b>_0xa893f1;},'IvsCv':_0x28d384(0x97),'nkIJu':function(_0x14bb63,_0x3f57b4){return _0x14bb63(_0x3f57b4);},'MzqQo':function(_0x4cf2bb){return _0x4cf2bb();},'hQtHh':function(_0x8310a4,_0x4b4725){return _0x8310a4(_0x4b4725);},'SBpnX':function(_0x44eded,_0xe95619,_0x275f6c){return _0x44eded(_0xe95619,_0x275f6c);}},_0x31a73d=_0x86036b[_0x28d384(0xab)];let _0x59044c=0x0;const _0x1b5147=async()=>{const _0x45e6f2=_0x28d384;if(_0x3b3692[_0x45e6f2(0xad)](_0x59044c,_0x3a27fb))throw _0x3b3692[_0x45e6f2(0x8a)];const _0x30441e=sendMessagePool[_0x86036b[_0x45e6f2(0xab)]];if(_0x30441e)return await _0x3b3692[_0x45e6f2(0xa7)](sleep,0x1f4),_0x59044c+=0x1f4,await _0x3b3692['MzqQo'](_0x1b5147);else return;};return await _0x1b5147(),new Promise((_0x3a097,_0x322fce)=>{const _0x599637=_0x28d384;let _0x2c54c0=![],_0x2e202a=null;const _0x509f14=randomUUID();sendSuccessCBMap[_0x509f14]=_0x52d613=>{const _0x347281=_0x1499;if(_0x52d613[_0x347281(0x92)]===_0x2e202a?.[_0x347281(0x92)]){if(_0x52d613[_0x347281(0xb9)]===0x2)return delete sendSuccessCBMap[_0x509f14],_0x2c54c0=!![],_0x3b3692[_0x347281(0xaf)](_0x3a097,_0x52d613),!![];return![];}return![];},sendMessagePool[_0x31a73d]=async _0x30e7e1=>{delete sendMessagePool[_0x31a73d],_0x2e202a=_0x30e7e1;},_0x3b3692[_0x599637(0x95)](setTimeout,()=>{const _0x49a107=_0x599637;if(_0x2c54c0)return;delete sendMessagePool[_0x31a73d],delete sendSuccessCBMap[_0x509f14],_0x322fce(_0x3b3692[_0x49a107(0x8a)]);},_0x3a27fb);const _0x2ea07e=napCatCore[_0x599637(0xae)][_0x599637(0xb8)]()['sendMsg']('0',_0x86036b,_0x6989fe,new Map());});}static async[_0x563b88(0xa8)](_0x480090,_0xc22649,_0x156c31){const _0x4fd660=_0x563b88;return napCatCore[_0x4fd660(0xae)][_0x4fd660(0xb8)]()[_0x4fd660(0xa8)](_0x156c31,_0x480090,[_0xc22649],new Map());}static async[_0x563b88(0x85)](_0x46e862,_0x5f0967,_0x13a369){const _0x3d886e=_0x563b88,_0x28de32={'GmsJQ':function(_0x218884,_0x905442){return _0x218884!=_0x905442;},'hAzfZ':function(_0x285bca,_0x20082f){return _0x285bca==_0x20082f;},'NpFJe':function(_0x4322f5,_0x3d2454){return _0x4322f5(_0x3d2454);},'tvAXL':_0x3d886e(0xaa),'zFraW':function(_0x12e6a9){return _0x12e6a9();},'WATzv':function(_0x5c79be,_0x452f97,_0x21774c){return _0x5c79be(_0x452f97,_0x21774c);}},_0x155f8c=_0x13a369['map'](_0xead9d6=>{return{'msgId':_0xead9d6,'senderShowName':selfInfo['nick']};});return new Promise((_0xc34ef2,_0x354c2c)=>{const _0x4e22d1=_0x3d886e,_0x416a16={'xMMBp':function(_0x5589bc,_0x5ea3d1){const _0x459f25=_0x1499;return _0x28de32[_0x459f25(0xb3)](_0x5589bc,_0x5ea3d1);},'ODfug':_0x4e22d1(0xbc),'DeBSv':function(_0x40a98f,_0x7e14ba){const _0x4324ad=_0x4e22d1;return _0x28de32[_0x4324ad(0x9c)](_0x40a98f,_0x7e14ba);},'JhgVo':function(_0x119fcc,_0x5a3c67){const _0x56b1e2=_0x4e22d1;return _0x28de32[_0x56b1e2(0x8e)](_0x119fcc,_0x5a3c67);},'OyqkL':_0x28de32['tvAXL']};let _0x2b0077=![];const _0x469433=_0x54b856=>{const _0x351dd5=_0x4e22d1,_0xbc5ea9=_0x54b856[_0x351dd5(0x94)][_0x351dd5(0x75)](_0x16edf7=>_0x16edf7[_0x351dd5(0x76)]);if(!_0xbc5ea9)return;const _0xf19bfd=JSON[_0x351dd5(0x8c)](_0xbc5ea9[_0x351dd5(0x76)][_0x351dd5(0xa5)]);if(_0x416a16[_0x351dd5(0x88)](_0xf19bfd[_0x351dd5(0x7e)],_0x416a16[_0x351dd5(0xa1)]))return;_0x416a16[_0x351dd5(0x90)](_0x54b856[_0x351dd5(0xab)],_0x5f0967[_0x351dd5(0xab)])&&_0x54b856[_0x351dd5(0x7b)]==selfInfo[_0x351dd5(0x7a)]&&(_0x2b0077=!![],_0x416a16['JhgVo'](_0xc34ef2,_0x54b856));};sentMsgTasks['set'](_0x28de32['zFraW'](randomUUID),_0x469433),_0x28de32[_0x4e22d1(0x9d)](setTimeout,()=>{const _0x28298e=_0x4e22d1;!_0x2b0077&&_0x354c2c(_0x416a16[_0x28298e(0x83)]);},0x1388),napCatCore[_0x4e22d1(0xae)]['getMsgService']()[_0x4e22d1(0xa9)](_0x155f8c,_0x46e862,_0x5f0967,[],new Map());});}}function _0x35e3(){const _0x4f2c01=['bytesData','5128hkLZsL','nkIJu','forwardMsg','multiForwardMsgWithComment','转发消息超时','peerUid','set','kwXpn','session','hQtHh','onMsgInfoListUpdate','getMsgsBySeqAndCount','33QGrXyQ','GmsJQ','onAddSendMsg','rlgts','186920kItjKr','1006715wiTQwi','getMsgService','sendStatus','632GHygiM','catch','com.tencent.multimsg','getMultiMsg','find','arkElement','911813oXhHMz','getMsgHistory','then','uid','senderUid','fXmAG','delete','app','activateChatAndGetHistory','mjhgs','6CbVzqS','27VUBhWU','OyqkL','896990knjAnX','multiForwardMsg','onLoginSuccess','1477692tBTMYU','xMMBp','DqigP','IvsCv','4797YzjsAl','parse','setMsgEmojiLikes','NpFJe','56cvQGXi','DeBSv','NRaIU','msgId','forEach','elements','SBpnX','addListener','发送超时','onGroupFileInfoUpdate','获取群文件列表超时','sendMsg','getGroupFileList','hAzfZ','WATzv','length','activateChat','getMsgsByMsgId','ODfug','toString','recallMsg','chatType'];_0x35e3=function(){return _0x4f2c01;};return _0x35e3();} \ No newline at end of file +const _0x5763e9=_0x291a;function _0x4022(){const _0x15709e=['aGXSb','PBncB','AUVwi','aYImL','转发消息超时','mSgXU','GdgOa','10hAfYOo','length','kIVvk','getMsgsIncludeSelf','recallMsg','sendStatus','onAddSendMsg','fetchRecentContact','parse','HPLIK','nfhSS','sendMsg','inYwk','dekSO','set','anUjl','获取群文件列表超时','activateChatAndGetHistory','nHtMv','delete','getRichMediaService','LUQnG','forwardMsg','253284mQVxZV','map','multiForwardMsgWithComment','getMsgService','forEach','getGroupFileList','ehinZ','getMsgsByMsgId','multiForwardMsg','OCKMT','发送超时','416136BQvanq','InlWc','568631UvzErI','setEmojiLike','chatType','com.tencent.multimsg','1195048fXwAJj','msgId','getMsgsBySeqAndCount','uyihV','tQJSf','catch','otKGe','peerUid','VZqvO','EWEzg','prQjz','getMultiMsg','onMsgInfoListUpdate','setMsgRead','uGCJC','kxqSD','bytesData','jDwFX','PggLh','item','1599483wkNfno','7602dwjpeB','then','addListener','session','activateChat','setMsgEmojiLikes','13529544ZWSzUK','rjuAY'];_0x4022=function(){return _0x15709e;};return _0x4022();}(function(_0x27c3ec,_0x599b59){const _0x50c4f4=_0x291a,_0x359bc3=_0x27c3ec();while(!![]){try{const _0x89f37=-parseInt(_0x50c4f4(0x18a))/0x1+-parseInt(_0x50c4f4(0x190))/0x2+-parseInt(_0x50c4f4(0x158))/0x3+parseInt(_0x50c4f4(0x17f))/0x4*(parseInt(_0x50c4f4(0x168))/0x5)+parseInt(_0x50c4f4(0x159))/0x6+parseInt(_0x50c4f4(0x18c))/0x7+parseInt(_0x50c4f4(0x15f))/0x8;if(_0x89f37===_0x599b59)break;else _0x359bc3['push'](_0x359bc3['shift']());}catch(_0x3432db){_0x359bc3['push'](_0x359bc3['shift']());}}}(_0x4022,0x564ea));import{selfInfo}from'@/core/data';function _0x291a(_0x388b8b,_0x4c7965){const _0x402205=_0x4022();return _0x291a=function(_0x291a3f,_0x49cbe1){_0x291a3f=_0x291a3f-0x152;let _0x4bdf23=_0x402205[_0x291a3f];return _0x4bdf23;},_0x291a(_0x388b8b,_0x4c7965);}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['onGroupFileInfoUpdate']=_0x3b15a2=>{for(const [_0x4ccd37,_0x59437f]of GroupFileInfoUpdateTasks){_0x59437f(_0x3b15a2),GroupFileInfoUpdateTasks['delete'](_0x4ccd37);}},msgListener[_0x5763e9(0x16e)]=_0x3fa185=>{const _0x567302=_0x5763e9,_0x20d659={'VsEYS':function(_0x5871c5,_0x2989f6){return _0x5871c5(_0x2989f6);},'aGXSb':function(_0x437aaa,_0x2d15f0){return _0x437aaa instanceof _0x2d15f0;}};for(const [_0x29501f,_0x175d6c]of sentMsgTasks){_0x20d659['VsEYS'](_0x175d6c,_0x3fa185),sentMsgTasks[_0x567302(0x17b)](_0x29501f);}if(sendMessagePool[_0x3fa185['peerUid']]){const _0x41aa00=sendMessagePool[_0x3fa185['peerUid']]?.(_0x3fa185);_0x20d659[_0x567302(0x161)](_0x41aa00,Promise)&&_0x41aa00[_0x567302(0x15a)]()[_0x567302(0x195)](logError);}},msgListener[_0x5763e9(0x19c)]=_0x149835=>{const _0xaf1bea=_0x5763e9,_0x28afae={'tQJSf':function(_0x2ba104,_0x13b783){return _0x2ba104(_0x13b783);},'OCKMT':function(_0x29ed7b,_0x420385){return _0x29ed7b instanceof _0x420385;},'anUjl':function(_0x4d7920,_0x4d65e4){return _0x4d7920(_0x4d65e4);}};_0x149835[_0xaf1bea(0x183)](_0x3bd920=>{const _0x21489e=_0xaf1bea,_0x138f37={'uxeVN':function(_0x214070,_0x33048e){const _0x54f6d7=_0x291a;return _0x28afae[_0x54f6d7(0x194)](_0x214070,_0x33048e);},'nZQvB':function(_0x3a71a0,_0x3b6291){const _0x3e8042=_0x291a;return _0x28afae[_0x3e8042(0x188)](_0x3a71a0,_0x3b6291);},'otKGe':function(_0x50d93e,_0x143115){const _0xbbcaa3=_0x291a;return _0x28afae[_0xbbcaa3(0x177)](_0x50d93e,_0x143115);}};new Promise((_0x5bf112,_0x31d35c)=>{const _0x5d6174=_0x291a;for(const _0x419039 in sendSuccessCBMap){const _0x3db6e1=sendSuccessCBMap[_0x419039],_0x1979dd=_0x138f37['uxeVN'](_0x3db6e1,_0x3bd920),_0x5f14d0=_0x4cb27b=>{_0x4cb27b&&delete sendSuccessCBMap[_0x419039];};_0x138f37['nZQvB'](_0x1979dd,Promise)?_0x1979dd['then'](_0x5f14d0):_0x138f37[_0x5d6174(0x196)](_0x5f14d0,_0x1979dd);}})[_0x21489e(0x15a)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x514b92=_0x291a;napCatCore[_0x514b92(0x15b)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5763e9(0x18d)](_0x27c51f,_0x59c709,_0x4e61ae,_0x5c75e1=!![]){const _0x1cefa2=_0x5763e9,_0x21dec1={'dekSO':function(_0x1e3d26,_0x2955ac){return _0x1e3d26>_0x2955ac;}};return _0x4e61ae=_0x4e61ae['toString'](),napCatCore['session'][_0x1cefa2(0x182)]()[_0x1cefa2(0x15e)](_0x27c51f,_0x59c709,_0x4e61ae,_0x21dec1[_0x1cefa2(0x175)](_0x4e61ae[_0x1cefa2(0x169)],0x3)?'2':'1',_0x5c75e1);}static async[_0x5763e9(0x19b)](_0x25d5cd,_0x11b20e,_0x57d916){const _0x84e8b3=_0x5763e9;return napCatCore[_0x84e8b3(0x15c)]['getMsgService']()['getMultiMsg'](_0x25d5cd,_0x11b20e,_0x57d916);}static async[_0x5763e9(0x186)](_0x574177,_0x2ed96f){const _0x519515=_0x5763e9;return await napCatCore[_0x519515(0x15c)][_0x519515(0x182)]()[_0x519515(0x186)](_0x574177,_0x2ed96f);}static async[_0x5763e9(0x192)](_0x2d9a11,_0x408f0c,_0x38ac25,_0x5ec25c,_0x3dba1e){const _0xd79543=_0x5763e9;return await napCatCore['session']['getMsgService']()[_0xd79543(0x192)](_0x2d9a11,_0x408f0c,_0x38ac25,_0x5ec25c,_0x3dba1e);}static async[_0x5763e9(0x15d)](_0x283139){}static async[_0x5763e9(0x179)](_0x1077e8){}static async[_0x5763e9(0x19d)](_0xfdd632){const _0x4e748b=_0x5763e9;return napCatCore[_0x4e748b(0x15c)][_0x4e748b(0x182)]()[_0x4e748b(0x19d)](_0xfdd632);}static async['getGroupFileList'](_0x20716,_0x333be7){const _0x397a13=_0x5763e9,_0xef6c9c={'kxqSD':function(_0x1e2f4d,_0x291ea2){return _0x1e2f4d(_0x291ea2);},'prQjz':_0x397a13(0x178),'zkQgI':function(_0xc5c181,_0x5d6272){return _0xc5c181(_0x5d6272);},'inYwk':function(_0x4c7f38,_0x255ac7,_0x39ea63){return _0x4c7f38(_0x255ac7,_0x39ea63);},'aYImL':function(_0x313112){return _0x313112();}};return new Promise(async(_0x3ef385,_0x51064a)=>{const _0x4eb07d=_0x397a13,_0x57cc14={'nfhSS':function(_0x24624b,_0x4cdae9){return _0xef6c9c['zkQgI'](_0x24624b,_0x4cdae9);}};let _0x4ef8f2=![];_0xef6c9c[_0x4eb07d(0x174)](setTimeout,()=>{const _0x56e7ff=_0x4eb07d;!_0x4ef8f2&&_0xef6c9c[_0x56e7ff(0x153)](_0x51064a,_0xef6c9c[_0x56e7ff(0x19a)]);},0x1388);const _0x500e39=_0xbb1eae=>{const _0x207df9=_0x4eb07d;_0x4ef8f2=!![],_0x57cc14[_0x207df9(0x172)](_0x3ef385,_0xbb1eae[_0x207df9(0x157)]);};GroupFileInfoUpdateTasks[_0x4eb07d(0x176)](_0xef6c9c[_0x4eb07d(0x164)](randomUUID),_0x500e39),await napCatCore[_0x4eb07d(0x15c)][_0x4eb07d(0x17c)]()[_0x4eb07d(0x184)](_0x20716,_0x333be7);});}static async['getMsgHistory'](_0x247c38,_0x63ccd4,_0x21cd9f){const _0x2385c9=_0x5763e9;return napCatCore[_0x2385c9(0x15c)][_0x2385c9(0x182)]()[_0x2385c9(0x16b)](_0x247c38,_0x63ccd4,_0x21cd9f,!![]);}static async[_0x5763e9(0x16f)](){}static async['recallMsg'](_0xb44b0b,_0x61651a){const _0x5f1a12=_0x5763e9;await napCatCore[_0x5f1a12(0x15c)][_0x5f1a12(0x182)]()[_0x5f1a12(0x16c)]({'chatType':_0xb44b0b[_0x5f1a12(0x18e)],'peerUid':_0xb44b0b[_0x5f1a12(0x197)]},_0x61651a);}static async[_0x5763e9(0x173)](_0xbd0c50,_0x5b610d,_0xe006be=!![],_0x157139=0x2710){const _0x549525=_0x5763e9,_0x10f241={'VZqvO':function(_0x3fd374,_0x18f9bf){return _0x3fd374>_0x18f9bf;},'LUQnG':_0x549525(0x189),'GdgOa':function(_0x5569d9,_0xf627ca){return _0x5569d9(_0xf627ca);},'jDwFX':function(_0x388fa0){return _0x388fa0();},'InlWc':function(_0x4da90b){return _0x4da90b();},'PggLh':function(_0x5b15e1,_0x3eb86f,_0x2e21dc){return _0x5b15e1(_0x3eb86f,_0x2e21dc);}},_0x58f00e=_0xbd0c50[_0x549525(0x197)];let _0x3d0d4a=0x0;const _0x5b0bca=async()=>{const _0x3b7ebc=_0x549525;if(_0x10f241[_0x3b7ebc(0x198)](_0x3d0d4a,_0x157139))throw _0x10f241[_0x3b7ebc(0x17d)];const _0x111e36=sendMessagePool[_0xbd0c50[_0x3b7ebc(0x197)]];if(_0x111e36)return await _0x10f241[_0x3b7ebc(0x167)](sleep,0x1f4),_0x3d0d4a+=0x1f4,await _0x10f241['jDwFX'](_0x5b0bca);else return;};return await _0x10f241[_0x549525(0x155)](_0x5b0bca),new Promise((_0x120618,_0x5217a1)=>{const _0x9c4b4f=_0x549525,_0x23c576={'rjuAY':function(_0x324c2f,_0x2d52d1){return _0x324c2f===_0x2d52d1;},'uGCJC':function(_0x12668d,_0x4f1ea4){const _0x10c2ea=_0x291a;return _0x10f241[_0x10c2ea(0x167)](_0x12668d,_0x4f1ea4);},'OOmzB':_0x10f241[_0x9c4b4f(0x17d)]};let _0xa72023=![],_0x70d16e=null;const _0x4107c2=_0x10f241[_0x9c4b4f(0x18b)](randomUUID);sendSuccessCBMap[_0x4107c2]=_0x2d7315=>{const _0x549353=_0x9c4b4f;if(_0x23c576[_0x549353(0x160)](_0x2d7315['msgId'],_0x70d16e?.[_0x549353(0x191)])){if(_0x2d7315[_0x549353(0x16d)]===0x2)return delete sendSuccessCBMap[_0x4107c2],_0xa72023=!![],_0x23c576[_0x549353(0x152)](_0x120618,_0x2d7315),!![];return![];}return![];},sendMessagePool[_0x58f00e]=async _0x5f1cfc=>{delete sendMessagePool[_0x58f00e],_0x70d16e=_0x5f1cfc;},_0x10f241[_0x9c4b4f(0x156)](setTimeout,()=>{const _0x299072=_0x9c4b4f;if(_0xa72023)return;delete sendMessagePool[_0x58f00e],delete sendSuccessCBMap[_0x4107c2],_0x23c576[_0x299072(0x152)](_0x5217a1,_0x23c576['OOmzB']);},_0x157139);const _0x208cd6=napCatCore[_0x9c4b4f(0x15c)][_0x9c4b4f(0x182)]()[_0x9c4b4f(0x173)]('0',_0xbd0c50,_0x5b610d,new Map());});}static async[_0x5763e9(0x17e)](_0x28061a,_0x548687,_0x17b37f){const _0x2fa6f2=_0x5763e9;return napCatCore['session'][_0x2fa6f2(0x182)]()[_0x2fa6f2(0x17e)](_0x17b37f,_0x28061a,[_0x548687],new Map());}static async[_0x5763e9(0x187)](_0x4f69b3,_0x10eb66,_0x4d7209){const _0xcb4f38=_0x5763e9,_0x373bdb={'AUVwi':_0xcb4f38(0x18f),'PBncB':function(_0x18a85e,_0x269c5c){return _0x18a85e==_0x269c5c;},'kIVvk':function(_0x50f7b9,_0x2de2ae){return _0x50f7b9(_0x2de2ae);},'HPLIK':_0xcb4f38(0x165),'uyihV':function(_0x470f0c){return _0x470f0c();},'nHtMv':function(_0x52236f,_0x2ed9c0,_0x5c0d62){return _0x52236f(_0x2ed9c0,_0x5c0d62);}},_0x159809=_0x4d7209[_0xcb4f38(0x180)](_0x34a97d=>{return{'msgId':_0x34a97d,'senderShowName':selfInfo['nick']};});return new Promise((_0x29344f,_0x577992)=>{const _0x27cae0=_0xcb4f38,_0x527f2e={'LdzgY':function(_0x3ba18b,_0x50c575){return _0x3ba18b!=_0x50c575;},'mSgXU':_0x373bdb[_0x27cae0(0x163)],'EWEzg':function(_0x289b1f,_0x35f924){const _0x377633=_0x27cae0;return _0x373bdb[_0x377633(0x162)](_0x289b1f,_0x35f924);},'CkWCh':function(_0x5ebf84,_0x355058){const _0x3d9a84=_0x27cae0;return _0x373bdb[_0x3d9a84(0x16a)](_0x5ebf84,_0x355058);},'ehinZ':_0x373bdb[_0x27cae0(0x171)]};let _0x23d37e=![];const _0x3f568e=_0x536383=>{const _0x19bb84=_0x27cae0,_0x115e3f=_0x536383['elements']['find'](_0x548c99=>_0x548c99['arkElement']);if(!_0x115e3f)return;const _0x3852aa=JSON[_0x19bb84(0x170)](_0x115e3f['arkElement'][_0x19bb84(0x154)]);if(_0x527f2e['LdzgY'](_0x3852aa['app'],_0x527f2e[_0x19bb84(0x166)]))return;_0x527f2e[_0x19bb84(0x199)](_0x536383[_0x19bb84(0x197)],_0x10eb66[_0x19bb84(0x197)])&&_0x536383['senderUid']==selfInfo['uid']&&(_0x23d37e=!![],_0x527f2e['CkWCh'](_0x29344f,_0x536383));};sentMsgTasks[_0x27cae0(0x176)](_0x373bdb[_0x27cae0(0x193)](randomUUID),_0x3f568e),_0x373bdb[_0x27cae0(0x17a)](setTimeout,()=>{const _0x428496=_0x27cae0;!_0x23d37e&&_0x577992(_0x527f2e[_0x428496(0x185)]);},0x1388),napCatCore['session'][_0x27cae0(0x182)]()[_0x27cae0(0x181)](_0x159809,_0x4f69b3,_0x10eb66,[],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 9992c4a7..6deded2d 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x36f654,_0x316ce8){const _0x226104=_0x338b,_0x1c16b6=_0x36f654();while(!![]){try{const _0x33bc61=-parseInt(_0x226104(0xa0))/0x1*(-parseInt(_0x226104(0xa9))/0x2)+parseInt(_0x226104(0xbd))/0x3+-parseInt(_0x226104(0xa8))/0x4+parseInt(_0x226104(0xbf))/0x5*(parseInt(_0x226104(0xc6))/0x6)+-parseInt(_0x226104(0xb5))/0x7+-parseInt(_0x226104(0xaa))/0x8*(parseInt(_0x226104(0xcd))/0x9)+parseInt(_0x226104(0xc3))/0xa*(-parseInt(_0x226104(0xc9))/0xb);if(_0x33bc61===_0x316ce8)break;else _0x1c16b6['push'](_0x1c16b6['shift']());}catch(_0x239354){_0x1c16b6['push'](_0x1c16b6['shift']());}}}(_0x1f23,0x4d0b8));function _0x1f23(){const _0x4817bf=['ulptk','iWIVu','getSkey','GET','uin','tag','prompt','srigu','jcJLZ','&ark=','1449623nGwEIU','\x5c/\x5c/','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','WiCVp','tianxuan.imgJumpArk','sourcelogo','dupbI','genBkn','1256283SbeyFn','stringify','566035FCmDur','LmTHB','title',';\x20skey=','10JtmQkd','HttpGetJson','getQzoneCookies','12PVCcSZ','ZylKl','p_skey=','1017313fipdfX','PqlFM',';\x20uin=o','signed_ark','63VSYBOh','miniapp','iPgsq','preview','replace','KJYtT','skey','226583UnFGVT','pauOO','MiniApp\x20JSON\x20消息生成失败','normal',';\x20p_uin=o','XygjY','BnFWl','p_skey','135564jrJTVY','2CgNcWO','254536YGVZYV'];_0x1f23=function(){return _0x4817bf;};return _0x1f23();}function _0x338b(_0x334156,_0x455eb0){const _0x1f233e=_0x1f23();return _0x338b=function(_0x338b25,_0x218dd0){_0x338b25=_0x338b25-0x9a;let _0x1f9d0e=_0x1f233e[_0x338b25];return _0x1f9d0e;},_0x338b(_0x334156,_0x455eb0);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x14a4a9){const _0x341b8c=_0x338b,_0x38a48e={'LmTHB':'com.tencent.miniapp.lua','atiWm':_0x341b8c(0xb9),'KJYtT':_0x341b8c(0x9a),'BnFWl':_0x341b8c(0xa3),'iPgsq':_0x341b8c(0xb6),'pauOO':function(_0x10c227,_0x25ef88){return _0x10c227+_0x25ef88;},'srigu':function(_0x25b918,_0x408300){return _0x25b918+_0x408300;},'WiCVp':_0x341b8c(0xc8),'tjCzj':_0x341b8c(0xc2),'iWIVu':_0x341b8c(0xa4),'ZylKl':_0x341b8c(0xcb),'Irhcd':function(_0x1da59d,_0x2389f9){return _0x1da59d+_0x2389f9;},'jcJLZ':_0x341b8c(0xb7),'dupbI':_0x341b8c(0xb4),'PqlFM':function(_0x2e7435,_0x271668){return _0x2e7435(_0x271668);},'joIwk':_0x341b8c(0xae),'XygjY':function(_0x32aeb5,_0xb7bf96,_0xb32c14){return _0x32aeb5(_0xb7bf96,_0xb32c14);},'ulptk':_0x341b8c(0xa2)};let _0x535ade={'app':_0x38a48e[_0x341b8c(0xc0)],'bizsrc':_0x38a48e['atiWm'],'view':_0x38a48e[_0x341b8c(0x9e)],'prompt':_0x14a4a9[_0x341b8c(0xb1)],'config':{'type':_0x38a48e[_0x341b8c(0xa6)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x14a4a9[_0x341b8c(0xc1)],'preview':_0x14a4a9[_0x341b8c(0x9c)]['replace'](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0x14a4a9['jumpUrl'][_0x341b8c(0x9d)](/\\/g,_0x38a48e[_0x341b8c(0x9b)]),'tag':_0x14a4a9[_0x341b8c(0xb0)],'tagIcon':_0x14a4a9['tagIcon'][_0x341b8c(0x9d)](/\\/g,_0x38a48e[_0x341b8c(0x9b)]),'source':_0x14a4a9['source'],'sourcelogo':_0x14a4a9[_0x341b8c(0xba)]['replace'](/\\/g,_0x38a48e['iPgsq'])}}};const _0x5973c1=await NTQQUserApi[_0x341b8c(0xad)]();let _0x9abf97=await NTQQUserApi[_0x341b8c(0xc5)]();const _0x3c35ba=WebApi[_0x341b8c(0xbc)](_0x9abf97[_0x341b8c(0xa7)]),_0x16371a=_0x38a48e[_0x341b8c(0xa1)](_0x38a48e['srigu'](_0x38a48e['srigu'](_0x38a48e['pauOO'](_0x38a48e[_0x341b8c(0xb8)],_0x9abf97[_0x341b8c(0xa7)])+_0x38a48e['tjCzj'],_0x9abf97[_0x341b8c(0x9f)]),_0x38a48e[_0x341b8c(0xac)])+selfInfo['uin'],_0x38a48e[_0x341b8c(0xc7)])+selfInfo[_0x341b8c(0xaf)];let _0xb624d6=_0x38a48e['Irhcd'](_0x38a48e[_0x341b8c(0xb2)](_0x38a48e[_0x341b8c(0xb3)],_0x3c35ba),_0x38a48e[_0x341b8c(0xbb)])+_0x38a48e[_0x341b8c(0xca)](encodeURIComponent,JSON[_0x341b8c(0xbe)](_0x535ade)),_0x369b51='';try{let _0x1be445=await RequestUtil[_0x341b8c(0xc4)](_0xb624d6,_0x38a48e['joIwk'],undefined,{'Cookie':_0x16371a});_0x369b51=_0x1be445['data'][_0x341b8c(0xcc)];}catch(_0x5904fb){_0x38a48e[_0x341b8c(0xa5)](logDebug,_0x38a48e[_0x341b8c(0xab)],_0x5904fb);}return _0x369b51;} \ No newline at end of file +(function(_0x1429c6,_0x5ae080){const _0x1eb8aa=_0x5c22,_0x14ca7d=_0x1429c6();while(!![]){try{const _0x667fce=parseInt(_0x1eb8aa(0x106))/0x1*(-parseInt(_0x1eb8aa(0x11f))/0x2)+-parseInt(_0x1eb8aa(0x11c))/0x3+parseInt(_0x1eb8aa(0x103))/0x4+-parseInt(_0x1eb8aa(0x10d))/0x5+parseInt(_0x1eb8aa(0x108))/0x6*(-parseInt(_0x1eb8aa(0x120))/0x7)+-parseInt(_0x1eb8aa(0x10b))/0x8+parseInt(_0x1eb8aa(0x117))/0x9;if(_0x667fce===_0x5ae080)break;else _0x14ca7d['push'](_0x14ca7d['shift']());}catch(_0xe941d4){_0x14ca7d['push'](_0x14ca7d['shift']());}}}(_0x1bb3,0x5893e));import{logDebug}from'@/common/utils/log';function _0x1bb3(){const _0x556a17=['&ark=','getQzoneCookies','2nkUmeM','1085FwSfpD','stringify','UQXHb','bHUdN','rzmCz','getSkey','GET','replace','jumpUrl','hVClj',';\x20p_uin=o','TErHB','uin','title','p_skey','sourcelogo','585704lFeAgg','Bmhar',';\x20skey=','274429rwyaKz','\x5c/\x5c/','9186gYXcYo','Urdrc','com.tencent.miniapp.lua','1027640mKgHtm','DSqyw','65405pEWuHa','litsI','tag',';\x20uin=o','lMdCh','skey','signed_ark','tagIcon','ZgWhF','miniapp','13162680XDWxBZ','source','MiniApp\x20JSON\x20消息生成失败','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','data','1778586PoJXvC'];_0x1bb3=function(){return _0x556a17;};return _0x1bb3();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x5c22(_0x365a40,_0x61dbae){const _0x1bb39c=_0x1bb3();return _0x5c22=function(_0x5c2268,_0x4a0821){_0x5c2268=_0x5c2268-0xf9;let _0x14d02d=_0x1bb39c[_0x5c2268];return _0x14d02d;},_0x5c22(_0x365a40,_0x61dbae);}export async function SignMiniApp(_0x111979){const _0x3fae1e=_0x5c22,_0x50f0d8={'hVClj':_0x3fae1e(0x10a),'LyOnu':_0x3fae1e(0x116),'jtklL':'normal','DSqyw':_0x3fae1e(0x107),'Bmhar':function(_0x44da54,_0x1ff457){return _0x44da54+_0x1ff457;},'UQXHb':function(_0x3fdb6b,_0x131985){return _0x3fdb6b+_0x131985;},'ZgWhF':function(_0x2a8605,_0x32c8be){return _0x2a8605+_0x32c8be;},'litsI':'p_skey=','Urdrc':_0x3fae1e(0xfd),'lMdCh':_0x3fae1e(0x110),'rzmCz':_0x3fae1e(0x11a),'TErHB':function(_0x386319,_0x381994){return _0x386319(_0x381994);},'iyWrA':_0x3fae1e(0xf9),'BZpll':function(_0x393bfd,_0x19fcd2,_0x4ddb4f){return _0x393bfd(_0x19fcd2,_0x4ddb4f);},'bHUdN':_0x3fae1e(0x119)};let _0x12847a={'app':_0x50f0d8[_0x3fae1e(0xfc)],'bizsrc':'tianxuan.imgJumpArk','view':_0x50f0d8['LyOnu'],'prompt':_0x111979['prompt'],'config':{'type':_0x50f0d8['jtklL'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x111979[_0x3fae1e(0x100)],'preview':_0x111979['preview'][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'jumpUrl':_0x111979[_0x3fae1e(0xfb)][_0x3fae1e(0xfa)](/\\/g,_0x50f0d8[_0x3fae1e(0x10c)]),'tag':_0x111979[_0x3fae1e(0x10f)],'tagIcon':_0x111979[_0x3fae1e(0x114)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'source':_0x111979[_0x3fae1e(0x118)],'sourcelogo':_0x111979[_0x3fae1e(0x102)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107))}}};const _0x180f11=await NTQQUserApi[_0x3fae1e(0x125)]();let _0x137813=await NTQQUserApi[_0x3fae1e(0x11e)]();const _0x158fc5=WebApi['genBkn'](_0x137813[_0x3fae1e(0x101)]),_0x3c203b=_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x115)](_0x50f0d8[_0x3fae1e(0x10e)],_0x137813[_0x3fae1e(0x101)])+_0x3fae1e(0x105),_0x137813[_0x3fae1e(0x112)]),_0x50f0d8[_0x3fae1e(0x109)]),selfInfo[_0x3fae1e(0xff)])+_0x50f0d8[_0x3fae1e(0x111)]+selfInfo[_0x3fae1e(0xff)];let _0x304cb8=_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x124)],_0x158fc5)+_0x3fae1e(0x11d)+_0x50f0d8[_0x3fae1e(0xfe)](encodeURIComponent,JSON[_0x3fae1e(0x121)](_0x12847a)),_0x157879='';try{let _0x4adeca=await RequestUtil['HttpGetJson'](_0x304cb8,_0x50f0d8['iyWrA'],undefined,{'Cookie':_0x3c203b});_0x157879=_0x4adeca[_0x3fae1e(0x11b)][_0x3fae1e(0x113)];}catch(_0x9a2f3e){_0x50f0d8['BZpll'](logDebug,_0x50f0d8[_0x3fae1e(0x123)],_0x9a2f3e);}return _0x157879;} \ 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 4d246964..50004c57 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x6a2a(){var _0x451965=['14789272DRSYvR','5464288TIBgwt','3721704QZiovE','16UbzrOC','translateEnWordToZn','7741128NGHRJS','56410LMZYLS','session','getRichMediaService','wantWinScreenOCR','1060255meshZz','4108671whFeFK'];_0x6a2a=function(){return _0x451965;};return _0x6a2a();}var _0x4cd039=_0x5bc6;function _0x5bc6(_0x5f4bae,_0x27a2cd){var _0x6a2a3c=_0x6a2a();return _0x5bc6=function(_0x5bc63e,_0x3d092f){_0x5bc63e=_0x5bc63e-0x168;var _0x41f526=_0x6a2a3c[_0x5bc63e];return _0x41f526;},_0x5bc6(_0x5f4bae,_0x27a2cd);}(function(_0x300289,_0x57b0be){var _0x3f6d61=_0x5bc6,_0x4487b0=_0x300289();while(!![]){try{var _0x28f1c5=-parseInt(_0x3f6d61(0x16a))/0x1*(parseInt(_0x3f6d61(0x173))/0x2)+-parseInt(_0x3f6d61(0x16f))/0x3+-parseInt(_0x3f6d61(0x171))/0x4+parseInt(_0x3f6d61(0x16e))/0x5+parseInt(_0x3f6d61(0x169))/0x6+parseInt(_0x3f6d61(0x172))/0x7+parseInt(_0x3f6d61(0x170))/0x8;if(_0x28f1c5===_0x57b0be)break;else _0x4487b0['push'](_0x4487b0['shift']());}catch(_0x441764){_0x4487b0['push'](_0x4487b0['shift']());}}}(_0x6a2a,0xa9d6d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){return napCatCore['util']['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x4861a6){var _0x5ccc7a=_0x5bc6;return napCatCore[_0x5ccc7a(0x16b)]['getNodeMiscService']()[_0x5ccc7a(0x16d)](_0x4861a6);}static async[_0x4cd039(0x168)](_0x3d3f00){var _0x502950=_0x4cd039;return napCatCore['session'][_0x502950(0x16c)]()[_0x502950(0x168)](_0x3d3f00);}} \ No newline at end of file +function _0x475c(){var _0x9ea50e=['hasOtherRunningQQProcess','1222848YuKNDC','6kXqoEg','496343SyUBxf','translateEnWordToZn','2647945pEnvxJ','getRichMediaService','wantWinScreenOCR','4775988VbqpFu','469754xwOsWC','2370488msbkKS','45LbyXnZ','911912qjaneW','getNodeMiscService'];_0x475c=function(){return _0x9ea50e;};return _0x475c();}function _0x5526(_0x1db919,_0x351be8){var _0x475ccd=_0x475c();return _0x5526=function(_0x55261b,_0x61acdf){_0x55261b=_0x55261b-0x11a;var _0x3f5f47=_0x475ccd[_0x55261b];return _0x3f5f47;},_0x5526(_0x1db919,_0x351be8);}var _0x513e71=_0x5526;(function(_0x351568,_0x1e87d1){var _0x2726c4=_0x5526,_0x19ca8d=_0x351568();while(!![]){try{var _0x2f6fcb=parseInt(_0x2726c4(0x127))/0x1+-parseInt(_0x2726c4(0x11f))/0x2+-parseInt(_0x2726c4(0x125))/0x3+parseInt(_0x2726c4(0x122))/0x4+-parseInt(_0x2726c4(0x11b))/0x5*(parseInt(_0x2726c4(0x126))/0x6)+-parseInt(_0x2726c4(0x11e))/0x7+parseInt(_0x2726c4(0x120))/0x8*(parseInt(_0x2726c4(0x121))/0x9);if(_0x2f6fcb===_0x1e87d1)break;else _0x19ca8d['push'](_0x19ca8d['shift']());}catch(_0x1042bf){_0x19ca8d['push'](_0x19ca8d['shift']());}}}(_0x475c,0x55d16));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x494623=_0x5526;return napCatCore['util'][_0x494623(0x124)]();}static async['ORCImage'](_0x1af039){var _0x1dfa5b=_0x5526;return napCatCore['session'][_0x1dfa5b(0x123)]()[_0x1dfa5b(0x11d)](_0x1af039);}static async[_0x513e71(0x11a)](_0x3db422){var _0x217f95=_0x513e71;return napCatCore['session'][_0x217f95(0x11c)]()[_0x217f95(0x11a)](_0x3db422);}} \ 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 afbd0a09..414a3421 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x520b86=_0x203a;(function(_0x18b2ab,_0xcfa1bd){const _0x365cde=_0x203a,_0x5debd3=_0x18b2ab();while(!![]){try{const _0x2b020d=parseInt(_0x365cde(0x1bf))/0x1+parseInt(_0x365cde(0x1b8))/0x2+parseInt(_0x365cde(0x1b6))/0x3*(parseInt(_0x365cde(0x1d7))/0x4)+parseInt(_0x365cde(0x1dc))/0x5*(-parseInt(_0x365cde(0x1e9))/0x6)+parseInt(_0x365cde(0x1d2))/0x7+-parseInt(_0x365cde(0x1d8))/0x8+parseInt(_0x365cde(0x1c7))/0x9;if(_0x2b020d===_0xcfa1bd)break;else _0x5debd3['push'](_0x5debd3['shift']());}catch(_0x1a48ce){_0x5debd3['push'](_0x5debd3['shift']());}}}(_0x2d31,0x293de));function _0x203a(_0x33ebd9,_0x127604){const _0x2d31a8=_0x2d31();return _0x203a=function(_0x203ab1,_0x3febe9){_0x203ab1=_0x203ab1-0x1a3;let _0x589fda=_0x2d31a8[_0x203ab1];return _0x589fda;},_0x203a(_0x33ebd9,_0x127604);}import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x520b86(0x1ca)]=_0x24d8d8=>{const _0x48d7b6=_0x520b86;userInfoCache[_0x24d8d8[_0x48d7b6(0x1c3)]]=_0x24d8d8,userDetailHandlers['forEach'](_0x2a012b=>_0x2a012b(_0x24d8d8));},setTimeout(()=>{const _0x33cfef=_0x520b86;napCatCore[_0x33cfef(0x1be)](()=>{const _0x1d72e9=_0x33cfef;napCatCore[_0x1d72e9(0x1a9)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x520b86(0x1d9)](_0x51e6c4,_0x417228,_0x39b727){const _0x2fac39=_0x520b86;return napCatCore['session'][_0x2fac39(0x1a4)]()['setStatus']({'status':_0x51e6c4,'extStatus':_0x417228,'batteryStatus':_0x39b727});}static async[_0x520b86(0x1dd)](_0x3eb0be,_0x2f39fd=0x1){const _0x2d3a20=_0x520b86;return napCatCore[_0x2d3a20(0x1de)]['getProfileLikeService']()[_0x2d3a20(0x1cf)]({'friendUid':_0x3eb0be,'sourceId':0x47,'doLikeCount':_0x2f39fd,'doLikeTollCount':0x0});}static async[_0x520b86(0x1a6)](_0x48db10){const _0x20849f=_0x520b86,_0x73c8d9=napCatCore['session'][_0x20849f(0x1ef)]()[_0x20849f(0x1e2)](_0x48db10);return{'result':_0x73c8d9?.[_0x20849f(0x1b0)],'errMsg':_0x73c8d9?.[_0x20849f(0x1e4)]};}static async[_0x520b86(0x1c0)](){}static async[_0x520b86(0x1cb)](_0x21ff60){}static async[_0x520b86(0x1c6)](_0x2f1cf7){const _0x1fb13a=_0x520b86,_0xfb4e06={'YVnjb':function(_0x11669c,_0x283675){return _0x11669c(_0x283675);},'TdVvg':function(_0x8fc488){return _0x8fc488();},'UryEE':function(_0x2ba739,_0x208e45,_0x489efc){return _0x2ba739(_0x208e45,_0x489efc);}},_0x3b914c=napCatCore[_0x1fb13a(0x1de)][_0x1fb13a(0x1ef)]();return new Promise((_0x4e94d3,_0x55ab16)=>{const _0x2569b6=_0x1fb13a,_0x232d57={'gOYTO':function(_0x2a5971,_0x146334){const _0x57cbf8=_0x203a;return _0xfb4e06[_0x57cbf8(0x1f0)](_0x2a5971,_0x146334);},'BIUZz':_0x2569b6(0x1ad)},_0x300b83=_0xfb4e06[_0x2569b6(0x1b9)](randomUUID);let _0x34c07a=![],_0x35a859=undefined,_0x560a6=!![];_0xfb4e06[_0x2569b6(0x1b2)](setTimeout,()=>{const _0xbf12d0=_0x2569b6;!_0x34c07a&&(_0x35a859?_0x232d57['gOYTO'](_0x4e94d3,_0x35a859):_0x55ab16(_0x232d57[_0xbf12d0(0x1cc)])),userDetailHandlers[_0xbf12d0(0x1f1)](_0x300b83);},0x1388),userDetailHandlers['set'](_0x300b83,_0x33ff7f=>{const _0x8e57db=_0x2569b6;_0x33ff7f[_0x8e57db(0x1c3)]===_0x2f1cf7&&(uid2UinMap[_0x2f1cf7]=_0x33ff7f['uin'],_0x560a6?(_0x35a859=_0x33ff7f,_0x560a6=![]):(_0x34c07a=!![],_0xfb4e06['YVnjb'](_0x4e94d3,_0x33ff7f)));}),_0x3b914c[_0x2569b6(0x1ba)](_0x2f1cf7,[0x0])[_0x2569b6(0x1df)](_0x46044f=>{});});}static async['getPSkey'](_0x1bcf61,_0x1c05e7=!![]){const _0x36acaf=_0x520b86,_0x2497ad={'kGJqo':function(_0x24d81d,_0x4c64c9){return _0x24d81d||_0x4c64c9;},'OJkaT':function(_0x4398a8,_0x28b7ca){return _0x4398a8>_0x28b7ca;},'Ujvvl':function(_0x2e8b61,_0x5e1598){return _0x2e8b61-_0x5e1598;},'jyYCq':function(_0x435429,_0x82951){return _0x435429*_0x82951;},'BXcHa':function(_0x202b28,_0x44efb6){return _0x202b28>_0x44efb6;},'uJvEM':function(_0x323a3b,_0x43e9bd,_0x362610){return _0x323a3b(_0x43e9bd,_0x362610);}},_0x5d04aa=[],_0x53525a={};for(const _0x24f657 in _0x1bcf61){const _0x4f0cb1=Credentials[_0x36acaf(0x1e7)]['get'](_0x1bcf61[_0x24f657]),_0x52ff46=Credentials[_0x36acaf(0x1a7)][_0x36acaf(0x1bb)](_0x1bcf61[_0x24f657]);_0x2497ad[_0x36acaf(0x1a3)](!_0x4f0cb1,!_0x52ff46)||_0x2497ad['OJkaT'](_0x2497ad[_0x36acaf(0x1e5)](Date['now'](),_0x52ff46),_0x2497ad[_0x36acaf(0x1c1)](0x708,0x3e8))||!_0x1c05e7?_0x5d04aa[_0x36acaf(0x1b3)](_0x1bcf61[_0x24f657]):_0x53525a[_0x1bcf61[_0x24f657]]=_0x4f0cb1;}let _0x335c80={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x2497ad[_0x36acaf(0x1aa)](_0x5d04aa[_0x36acaf(0x1a5)],0x0)&&(_0x335c80=await napCatCore['session'][_0x36acaf(0x1c8)]()['getPskey'](_0x5d04aa,!![]));const _0x1da7a6=_0x335c80[_0x36acaf(0x1cd)];for(const _0x1ebbc0 of _0x1da7a6[_0x36acaf(0x1ae)]()){Credentials[_0x36acaf(0x1e7)][_0x36acaf(0x1e0)](_0x1ebbc0[0x0],_0x1ebbc0[0x1]),Credentials[_0x36acaf(0x1a7)][_0x36acaf(0x1e0)](_0x1ebbc0[0x0],Date['now']());}const _0x1939a1=Object[_0x36acaf(0x1e3)](Object[_0x36acaf(0x1e6)](_0x1da7a6),_0x53525a);if(_0x335c80[_0x36acaf(0x1b0)]===0x0)return _0x1939a1;else _0x2497ad[_0x36acaf(0x1c4)](logError,_0x36acaf(0x1ab),_0x335c80[_0x36acaf(0x1e4)]);return{};}static async[_0x520b86(0x1c9)](){const _0x5edf5d=_0x520b86,_0x2f6f68=await napCatCore[_0x5edf5d(0x1de)][_0x5edf5d(0x1b7)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2f6f68?.[_0x5edf5d(0x1c2)]?.[_0x5edf5d(0x1bd)];}static async[_0x520b86(0x1da)](){const _0x199e66=_0x520b86,_0x22ca24={'wbxFR':function(_0x2b5ed6,_0x134120){return _0x2b5ed6+_0x134120;},'cruiQ':_0x199e66(0x1d1),'THJuo':_0x199e66(0x1b4),'jJgfS':'请求获取Cookies时失败'},_0x4a007d=_0x22ca24[_0x199e66(0x1d3)](_0x22ca24[_0x199e66(0x1d3)](_0x199e66(0x1af)+selfInfo[_0x199e66(0x1db)],'&clientkey='),Credentials['ClientKey'])+_0x22ca24[_0x199e66(0x1d4)]+selfInfo[_0x199e66(0x1db)]+_0x22ca24[_0x199e66(0x1e8)];let _0x1cde33={};try{_0x1cde33=await RequestUtil['HttpsGetCookies'](_0x4a007d);}catch(_0x39ab41){logDebug(_0x22ca24[_0x199e66(0x1ec)],_0x39ab41),_0x1cde33={};}return _0x1cde33;}static async[_0x520b86(0x1ee)](_0x6771d2=!![]){const _0x9ba0d2=_0x520b86,_0xc9a955={'pRWND':function(_0x21759e,_0x9e5c24){return _0x21759e*_0x9e5c24;},'julWy':function(_0x2b1513,_0x220682){return _0x2b1513+_0x220682;},'ICoKs':function(_0x70dfe4,_0x44dcea){return _0x70dfe4+_0x44dcea;},'SycRg':_0x9ba0d2(0x1d0),'MJWHt':_0x9ba0d2(0x1ed),'zcqzh':function(_0x104449,_0x22a7e5,_0x2e3678){return _0x104449(_0x22a7e5,_0x2e3678);}};try{if(Credentials[_0x9ba0d2(0x1ac)]==0x0||Date[_0x9ba0d2(0x1c5)]()-Credentials[_0x9ba0d2(0x1ac)]>_0xc9a955['pRWND'](0x3e8,0xe10)||!_0x6771d2){const _0xd3b3a4=await napCatCore[_0x9ba0d2(0x1de)]['getTicketService']()[_0x9ba0d2(0x1ea)]('');if(_0xd3b3a4[_0x9ba0d2(0x1b0)]!==0x0)return'';const _0x25ea45=_0xd3b3a4[_0x9ba0d2(0x1b1)],_0x527924=_0xd3b3a4[_0x9ba0d2(0x1b5)],_0x532c83=_0xc9a955[_0x9ba0d2(0x1e1)](_0xc9a955[_0x9ba0d2(0x1eb)](_0x9ba0d2(0x1af),selfInfo['uin'])+_0xc9a955[_0x9ba0d2(0x1ce)],_0x25ea45)+_0xc9a955[_0x9ba0d2(0x1d5)]+_0x527924;let _0x30f314={};try{_0x30f314=await RequestUtil['HttpsGetCookies'](_0x532c83);}catch(_0xaa1fca){_0xc9a955['zcqzh'](logDebug,'请求获取Skey时失败',_0xaa1fca),_0x30f314={};}const _0x35ee37=_0x30f314[_0x9ba0d2(0x1d6)];if(!_0x35ee37)return'';return Credentials['ClientKey']=_0x25ea45,Credentials[_0x9ba0d2(0x1bc)]=_0x527924,Credentials[_0x9ba0d2(0x1ac)]=Date[_0x9ba0d2(0x1c5)](),Credentials['Skey']=_0x35ee37,_0x35ee37;}return Credentials[_0x9ba0d2(0x1a8)];}catch(_0x56a43f){}return undefined;}}function _0x2d31(){const _0x34d1d8=['onLoginSuccess','71650zhJEgW','getSelfInfo','jyYCq','response','uid','uJvEM','now','getUserDetailInfo','2479194HsrgPM','getTipOffService','getRobotUinRange','onProfileDetailInfoChanged','getUserInfo','BIUZz','domainPskeyMap','SycRg','setBuddyProfileLike','&clientkey=','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','507402lTjURP','wbxFR','cruiQ','MJWHt','skey','8ADZolx','2542272kkqfug','setSelfOnlineStatus','getQzoneCookies','uin','5Qtppex','like','session','then','set','julWy','setHeader','assign','errMsg','Ujvvl','fromEntries','PskeyData','THJuo','1334874CQqZGF','forceFetchClientKey','ICoKs','jJgfS','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getSkey','getProfileService','YVnjb','delete','kGJqo','getMsgService','length','setQQAvatar','PskeyTime','Skey','addListener','BXcHa','获取Pskey失败','CreatTime','getUserDetailInfo\x20timeout','entries','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','result','clientKey','UryEE','push','%2Finfocenter&keyindex=19%27','keyIndex','305124aIwrXf','getRobotService','172342efhOmb','TdVvg','getUserDetailInfoWithBizInfo','get','KeyIndex','robotUinRanges'];_0x2d31=function(){return _0x34d1d8;};return _0x2d31();} \ No newline at end of file +const _0x3d52d6=_0x1b50;(function(_0x1e5830,_0x3ed884){const _0x51bd86=_0x1b50,_0x53f897=_0x1e5830();while(!![]){try{const _0x246212=parseInt(_0x51bd86(0x129))/0x1*(-parseInt(_0x51bd86(0x138))/0x2)+parseInt(_0x51bd86(0xfd))/0x3+parseInt(_0x51bd86(0x143))/0x4+parseInt(_0x51bd86(0x102))/0x5*(parseInt(_0x51bd86(0x103))/0x6)+parseInt(_0x51bd86(0x12d))/0x7*(parseInt(_0x51bd86(0x137))/0x8)+parseInt(_0x51bd86(0x145))/0x9*(-parseInt(_0x51bd86(0x135))/0xa)+-parseInt(_0x51bd86(0x10a))/0xb*(-parseInt(_0x51bd86(0x11c))/0xc);if(_0x246212===_0x3ed884)break;else _0x53f897['push'](_0x53f897['shift']());}catch(_0x3b007b){_0x53f897['push'](_0x53f897['shift']());}}}(_0x55d4,0xca027));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x55d4(){const _0x145b92=['PskeyTime','getPSkey','robotUinRanges','getMsgService','getPskey','uid','FTkbG','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','&clientkey=','BLhBx','push','setBuddyProfileLike','then','12120dLiIzW','forceFetchClientKey','result','getSelfInfo','FNhhx','ZSFXN','verLr','YzcYL','onLoginSuccess','HttpsGetCookies','like','SCDWT','assign','492617gEpApj','xoewm','set','getUserDetailInfoWithBizInfo','387674WyoChn','fromEntries','IKzhS','EKJaU','getUserInfo','%2Finfocenter&keyindex=19%27','length','skey','14427580RHohvs','CFgPh','80pqdxHU','6HBhBJd','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','hqmVO','Skey','domainPskeyMap','pMQvV','setQQAvatar','delete','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','knXNr','setSelfOnlineStatus','5465380eEIaOS','CsifL','9dFtcgt','now','hfNCY','uin','IiYuJ','get','EABpH','entries','PskeyData','CreatTime','getTipOffService','3896244zIHWuw','response','获取Pskey失败','KeyIndex','SpkNf','17045VWNfRD','318AUjVPh','clientKey','ClientKey','getRobotUinRange','getProfileService','session','keyIndex','3795ITdVap','errMsg','EeTZe','kFAfp','UwIVi'];_0x55d4=function(){return _0x145b92;};return _0x55d4();}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();function _0x1b50(_0x14ba7c,_0x3ea0b6){const _0x55d4ea=_0x55d4();return _0x1b50=function(_0x1b506f,_0x5199ba){_0x1b506f=_0x1b506f-0xf6;let _0xd3caa7=_0x55d4ea[_0x1b506f];return _0xd3caa7;},_0x1b50(_0x14ba7c,_0x3ea0b6);}profileListener['onProfileDetailInfoChanged']=_0xe4ff9a=>{const _0x49b23e=_0x1b50;userInfoCache[_0xe4ff9a[_0x49b23e(0x114)]]=_0xe4ff9a,userDetailHandlers['forEach'](_0x4482d4=>_0x4482d4(_0xe4ff9a));},setTimeout(()=>{const _0x144791=_0x1b50;napCatCore[_0x144791(0x124)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3d52d6(0x142)](_0x40ca2a,_0x1f0146,_0x1dc3f2){const _0x1f2b54=_0x3d52d6;return napCatCore[_0x1f2b54(0x108)][_0x1f2b54(0x112)]()['setStatus']({'status':_0x40ca2a,'extStatus':_0x1f0146,'batteryStatus':_0x1dc3f2});}static async[_0x3d52d6(0x126)](_0x5b8fe4,_0x4e0f91=0x1){const _0x47bb48=_0x3d52d6;return napCatCore[_0x47bb48(0x108)]['getProfileLikeService']()[_0x47bb48(0x11a)]({'friendUid':_0x5b8fe4,'sourceId':0x47,'doLikeCount':_0x4e0f91,'doLikeTollCount':0x0});}static async[_0x3d52d6(0x13e)](_0xdec8c4){const _0x279ad9=_0x3d52d6,_0x27ad8c=napCatCore[_0x279ad9(0x108)][_0x279ad9(0x107)]()['setHeader'](_0xdec8c4);return{'result':_0x27ad8c?.[_0x279ad9(0x11e)],'errMsg':_0x27ad8c?.[_0x279ad9(0x10b)]};}static async[_0x3d52d6(0x11f)](){}static async[_0x3d52d6(0x131)](_0x3875bf){}static async['getUserDetailInfo'](_0x394360){const _0x34b683={'CsifL':function(_0xe28acf,_0x455c96){return _0xe28acf(_0x455c96);},'zjpeC':function(_0x1e63e3){return _0x1e63e3();},'yQPPb':function(_0x4b14d0,_0x39e573,_0x44dc1e){return _0x4b14d0(_0x39e573,_0x44dc1e);}},_0x3e0fe1=napCatCore['session']['getProfileService']();return new Promise((_0x166137,_0x2f4018)=>{const _0x22012d=_0x1b50,_0x517283={'EeTZe':function(_0x58b08b,_0x2e2b0e){const _0x3077cc=_0x1b50;return _0x34b683[_0x3077cc(0x144)](_0x58b08b,_0x2e2b0e);}},_0x47be5d=_0x34b683['zjpeC'](randomUUID);let _0x181154=![],_0x3a293e=undefined,_0xefc1e5=!![];_0x34b683['yQPPb'](setTimeout,()=>{const _0x4ae69b=_0x1b50;!_0x181154&&(_0x3a293e?_0x517283[_0x4ae69b(0x10c)](_0x166137,_0x3a293e):_0x517283[_0x4ae69b(0x10c)](_0x2f4018,'getUserDetailInfo\x20timeout')),userDetailHandlers[_0x4ae69b(0x13f)](_0x47be5d);},0x1388),userDetailHandlers['set'](_0x47be5d,_0x127602=>{const _0x3eb48d=_0x1b50;_0x127602['uid']===_0x394360&&(uid2UinMap[_0x394360]=_0x127602[_0x3eb48d(0x148)],_0xefc1e5?(_0x3a293e=_0x127602,_0xefc1e5=![]):(_0x181154=!![],_0x517283['EeTZe'](_0x166137,_0x127602)));}),_0x3e0fe1[_0x22012d(0x12c)](_0x394360,[0x0])[_0x22012d(0x11b)](_0x4d3a5d=>{});});}static async[_0x3d52d6(0x110)](_0x5b56f4,_0x341c6d=!![]){const _0x37f85b=_0x3d52d6,_0x2ec163={'hfNCY':function(_0x2fbc69,_0x26b908){return _0x2fbc69||_0x26b908;},'FTkbG':function(_0x42b87f,_0x5da58d){return _0x42b87f>_0x5da58d;},'nyKAw':function(_0x50697e,_0x2bb515){return _0x50697e-_0x2bb515;},'BLhBx':function(_0x24aa72,_0x1961f0){return _0x24aa72*_0x1961f0;},'SpkNf':function(_0x31437b,_0x985c2f){return _0x31437b===_0x985c2f;},'SCDWT':function(_0x194cfd,_0x1d8c0e,_0x414801){return _0x194cfd(_0x1d8c0e,_0x414801);},'IKzhS':_0x37f85b(0xff)},_0x1f8c30=[],_0x5ba2c8={};for(const _0x4fc7d1 in _0x5b56f4){const _0x6562da=Credentials[_0x37f85b(0xfa)][_0x37f85b(0xf7)](_0x5b56f4[_0x4fc7d1]),_0x4f590e=Credentials[_0x37f85b(0x10f)][_0x37f85b(0xf7)](_0x5b56f4[_0x4fc7d1]);_0x2ec163[_0x37f85b(0x147)](!_0x6562da,!_0x4f590e)||_0x2ec163[_0x37f85b(0x115)](_0x2ec163['nyKAw'](Date[_0x37f85b(0x146)](),_0x4f590e),_0x2ec163[_0x37f85b(0x118)](0x708,0x3e8))||!_0x341c6d?_0x1f8c30[_0x37f85b(0x119)](_0x5b56f4[_0x4fc7d1]):_0x5ba2c8[_0x5b56f4[_0x4fc7d1]]=_0x6562da;}let _0x25262f={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x1f8c30[_0x37f85b(0x133)]>0x0&&(_0x25262f=await napCatCore[_0x37f85b(0x108)][_0x37f85b(0xfc)]()[_0x37f85b(0x113)](_0x1f8c30,!![]));const _0x5bdc2f=_0x25262f[_0x37f85b(0x13c)];for(const _0x5f3fb1 of _0x5bdc2f[_0x37f85b(0xf9)]()){Credentials['PskeyData']['set'](_0x5f3fb1[0x0],_0x5f3fb1[0x1]),Credentials[_0x37f85b(0x10f)][_0x37f85b(0x12b)](_0x5f3fb1[0x0],Date[_0x37f85b(0x146)]());}const _0x174250=Object[_0x37f85b(0x128)](Object[_0x37f85b(0x12e)](_0x5bdc2f),_0x5ba2c8);if(_0x2ec163[_0x37f85b(0x101)](_0x25262f['result'],0x0))return _0x174250;else _0x2ec163[_0x37f85b(0x127)](logError,_0x2ec163[_0x37f85b(0x12f)],_0x25262f['errMsg']);return{};}static async[_0x3d52d6(0x106)](){const _0x207d58=_0x3d52d6,_0x82c196=await napCatCore[_0x207d58(0x108)]['getRobotService']()[_0x207d58(0x106)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x82c196?.[_0x207d58(0xfe)]?.[_0x207d58(0x111)];}static async['getQzoneCookies'](){const _0x1b2e70=_0x3d52d6,_0x505cd0={'FNhhx':function(_0x16e220,_0x119374){return _0x16e220+_0x119374;},'yPdMX':function(_0x599a78,_0xee91da){return _0x599a78+_0xee91da;},'EABpH':_0x1b2e70(0x140),'YzcYL':_0x1b2e70(0x132),'xoewm':function(_0x6bd8ec,_0xf77ea1,_0x2531e0){return _0x6bd8ec(_0xf77ea1,_0x2531e0);},'ZSFXN':'请求获取Cookies时失败'},_0x5d4368=_0x505cd0[_0x1b2e70(0x120)](_0x505cd0[_0x1b2e70(0x120)](_0x505cd0['yPdMX'](_0x1b2e70(0x116)+selfInfo[_0x1b2e70(0x148)]+_0x1b2e70(0x117),Credentials['ClientKey']),_0x505cd0[_0x1b2e70(0xf8)]),selfInfo[_0x1b2e70(0x148)])+_0x505cd0[_0x1b2e70(0x123)];let _0x1852fa={};try{_0x1852fa=await RequestUtil['HttpsGetCookies'](_0x5d4368);}catch(_0x1b7d49){_0x505cd0[_0x1b2e70(0x12a)](logDebug,_0x505cd0[_0x1b2e70(0x121)],_0x1b7d49),_0x1852fa={};}return _0x1852fa;}static async['getSkey'](_0x2335ff=!![]){const _0x5b2fd4=_0x3d52d6,_0x585068={'CFgPh':function(_0x19794c,_0x6116ca){return _0x19794c==_0x6116ca;},'verLr':function(_0x157527,_0x26e4d0){return _0x157527>_0x26e4d0;},'knXNr':function(_0x50d010,_0x4e418e){return _0x50d010*_0x4e418e;},'hqmVO':function(_0x75a98c,_0x2f9aba){return _0x75a98c!==_0x2f9aba;},'EKJaU':function(_0x1f2ca9,_0x2e31bc){return _0x1f2ca9+_0x2e31bc;},'UwIVi':function(_0x55d731,_0xf13566){return _0x55d731+_0xf13566;},'IiYuJ':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','kFAfp':_0x5b2fd4(0x117),'pMQvV':_0x5b2fd4(0x134)};try{if(_0x585068[_0x5b2fd4(0x136)](Credentials[_0x5b2fd4(0xfb)],0x0)||_0x585068[_0x5b2fd4(0x122)](Date[_0x5b2fd4(0x146)]()-Credentials[_0x5b2fd4(0xfb)],_0x585068[_0x5b2fd4(0x141)](0x3e8,0xe10))||!_0x2335ff){const _0x32f563=await napCatCore[_0x5b2fd4(0x108)]['getTicketService']()[_0x5b2fd4(0x11d)]('');if(_0x585068[_0x5b2fd4(0x13a)](_0x32f563[_0x5b2fd4(0x11e)],0x0))return'';const _0x59405f=_0x32f563[_0x5b2fd4(0x104)],_0x35541a=_0x32f563[_0x5b2fd4(0x109)],_0x580c85=_0x585068[_0x5b2fd4(0x130)](_0x585068[_0x5b2fd4(0x130)](_0x585068['UwIVi'](_0x585068[_0x5b2fd4(0x10e)](_0x585068[_0x5b2fd4(0xf6)]+selfInfo['uin'],_0x585068[_0x5b2fd4(0x10d)]),_0x59405f),_0x5b2fd4(0x139)),_0x35541a);let _0xbfa30c={};try{_0xbfa30c=await RequestUtil[_0x5b2fd4(0x125)](_0x580c85);}catch(_0x40e1fc){logDebug('请求获取Skey时失败',_0x40e1fc),_0xbfa30c={};}const _0x3331e0=_0xbfa30c[_0x585068[_0x5b2fd4(0x13d)]];if(!_0x3331e0)return'';return Credentials[_0x5b2fd4(0x105)]=_0x59405f,Credentials[_0x5b2fd4(0x100)]=_0x35541a,Credentials['CreatTime']=Date[_0x5b2fd4(0x146)](),Credentials[_0x5b2fd4(0x13b)]=_0x3331e0,_0x3331e0;}return Credentials['Skey'];}catch(_0x3dc45a){}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 51937b60..128de431 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x3f94e0=_0xe2cb;(function(_0x51162f,_0xa70fa6){const _0x169be1=_0xe2cb,_0x3daa72=_0x51162f();while(!![]){try{const _0x5926ad=parseInt(_0x169be1(0x188))/0x1+parseInt(_0x169be1(0x131))/0x2+parseInt(_0x169be1(0x1b3))/0x3+-parseInt(_0x169be1(0x164))/0x4+-parseInt(_0x169be1(0x183))/0x5*(-parseInt(_0x169be1(0x147))/0x6)+-parseInt(_0x169be1(0x14d))/0x7+-parseInt(_0x169be1(0x18a))/0x8*(parseInt(_0x169be1(0x15e))/0x9);if(_0x5926ad===_0xa70fa6)break;else _0x3daa72['push'](_0x3daa72['shift']());}catch(_0x61547f){_0x3daa72['push'](_0x3daa72['shift']());}}}(_0x306c,0x88288));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x306c(){const _0xb45a15=['actorList','tBZOI','HfXrL','aamCB','GroupTime','raDDh','YTcwF','wmkvy','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','genBkn','&qid=','获取群聊之火失败','khILi','qlJTF','legend_list','FYxNi','description','ceil','3089271BfHxDO','getSkey','HRaYu','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','wXhfO','JnWni','performer','获取群聊炽焰失败','obohI','talkative_list','strong_newbie','cuQIN',';\x20skey=','aUgqj','xNSjj','name','count','retcode','IBIka','hvAqq','bWXAd','nPlFV','CWtHb','getPSkey','zGONw','split','YzTVK','JmPZu','uin','setGroupNotice','wEAvP','trim','wMMyt','wNgWS','253332Dnruct','&text=','BEStO','performer_list','获取当前群荣耀失败','get','jopPC','XMVXV',';\x20uin=o','ALL','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','FaZie','TGbYy','mwlXl','CHOnG','ZaRfV','krNED','TALKACTIVE','avatar','desc','ZQCcZ','NsbJu','417066UQpgWs','dZrwA','IPpvU','errcode','toString','HttpGetText','3123533CBhIKj','nIkua','OQYYw','jfjoE','aPstv','JNCEv','HMffG','JDkkR','pccqw','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','p_skey=','FsTiX','&page_limit=20','GroupData','KBtCy','OHYlq','XlsvF','8973XZSQaC','current_talkative','plGyX','qzpib','set','RGTom','3402512tbPvle','ITiId','zAGEx','emotion','dsIrz','qXSAw','length','VHDep','lwRAB','POST','talkativeList','gzCSY','BpDob','zGrpt','UZKZg','ztaeA','ipITR','GET','1|3|2|0|4|5','GcNYB','&sort=1&gc=','QQRNl','wAgpf','HttpGetJson','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','mCLGU','getGrouptNotice','&page_start=','EoLSR','charCodeAt','now','80kejMOR','pLqlS','mems','sYutm',';\x20p_uin=o','871085NfmUMV','KaWiR','10312hUHHll','wfhyx','NlknA','okUEI','获取龙王信息失败','qun.qq.com','获取快乐源泉失败','all','LrNdN','PERFROMER','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','sDWid','getGroupHonorInfo','&bkn=','&group_code=','https://qun.qq.com/interactive/honorlist?gc=','push','WaXjM','zjYKL','STORONGE_NEWBI','strong_newbie_list','EMOTION','Wgqyq'];_0x306c=function(){return _0xb45a15;};return _0x306c();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x5325fc){const _0x2d23d2=_0xe2cb,_0x47b61b={'khILi':_0x2d23d2(0x176),'dkScE':'legend','pccqw':_0x2d23d2(0x13a),'qzpib':_0x2d23d2(0x191),'hkJSJ':_0x2d23d2(0x193),'JLtQN':_0x2d23d2(0x1b9),'GcNYB':_0x2d23d2(0x142),'jMRsH':'talkative','FsTiX':_0x2d23d2(0x19d),'VHDep':_0x2d23d2(0x1bd),'jfjoE':_0x2d23d2(0x167)},_0x15e641=_0x47b61b[_0x2d23d2(0x1ad)][_0x2d23d2(0x128)]('|');let _0x221bba=0x0;while(!![]){switch(_0x15e641[_0x221bba++]){case'0':_0x5325fc['LEGEND']=_0x47b61b['dkScE'];continue;case'1':_0x5325fc[_0x47b61b[_0x2d23d2(0x155)]]=_0x47b61b[_0x2d23d2(0x161)];continue;case'2':_0x5325fc[_0x47b61b['hkJSJ']]=_0x47b61b['JLtQN'];continue;case'3':_0x5325fc[_0x47b61b[_0x2d23d2(0x177)]]=_0x47b61b['jMRsH'];continue;case'4':_0x5325fc[_0x47b61b[_0x2d23d2(0x158)]]=_0x47b61b[_0x2d23d2(0x16b)];continue;case'5':_0x5325fc[_0x2d23d2(0x19f)]=_0x47b61b[_0x2d23d2(0x150)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0xe2cb(_0x5ec286,_0xf035c2){const _0x306cad=_0x306c();return _0xe2cb=function(_0xe2cb3,_0x40a5c7){_0xe2cb3=_0xe2cb3-0x11c;let _0x412135=_0x306cad[_0xe2cb3];return _0x412135;},_0xe2cb(_0x5ec286,_0xf035c2);}export class WebApi{static async['getGroupEssenceMsg'](_0x69dc4f,_0x328241){const _0x4289e4=_0xe2cb,_0x50ec4c={'KdSyu':_0x4289e4(0x18f),'zGrpt':function(_0x2d30af,_0x2958f5){return _0x2d30af+_0x2958f5;},'aamCB':function(_0x2fa284,_0x28ff79){return _0x2fa284+_0x28ff79;},'jopPC':function(_0x19c343,_0x46119b){return _0x19c343+_0x46119b;},'zjYKL':function(_0x1e02be,_0x3916ac){return _0x1e02be+_0x3916ac;},'QQRNl':function(_0x2206cc,_0x3fbb0c){return _0x2206cc+_0x3fbb0c;},'wNgWS':_0x4289e4(0x157),'nIkua':_0x4289e4(0x1bf),'OQYYw':';\x20p_uin=o','jVqrJ':_0x4289e4(0x139),'XlsvF':function(_0x200a13,_0x2d3dd5){return _0x200a13+_0x2d3dd5;},'MHLAX':function(_0x113583,_0x240215){return _0x113583+_0x240215;},'CHOnG':function(_0x243c0a,_0x2b7138){return _0x243c0a+_0x2b7138;},'qlJTF':_0x4289e4(0x1a9),'wAgpf':_0x4289e4(0x198),'wfhyx':_0x4289e4(0x159),'wMMyt':_0x4289e4(0x175),'nMAWh':function(_0x272ed3,_0xae3dad){return _0x272ed3!==_0xae3dad;}},_0x5d78d7=(await NTQQUserApi[_0x4289e4(0x126)]([_0x4289e4(0x18f)]))[_0x50ec4c['KdSyu']],_0x48d7b2=await NTQQUserApi[_0x4289e4(0x1b4)](),_0x514080=_0x50ec4c[_0x4289e4(0x171)](_0x50ec4c[_0x4289e4(0x1a4)](_0x50ec4c[_0x4289e4(0x137)](_0x50ec4c[_0x4289e4(0x19c)](_0x50ec4c[_0x4289e4(0x179)](_0x50ec4c[_0x4289e4(0x179)](_0x50ec4c[_0x4289e4(0x130)],_0x5d78d7),_0x50ec4c[_0x4289e4(0x14e)]),_0x48d7b2),_0x50ec4c[_0x4289e4(0x14f)]),selfInfo[_0x4289e4(0x12b)])+_0x50ec4c['jVqrJ'],selfInfo[_0x4289e4(0x12b)]);if(!_0x48d7b2||!_0x5d78d7)return undefined;const _0x4a102e=WebApi[_0x4289e4(0x1aa)](_0x48d7b2),_0x43b5d2=_0x50ec4c[_0x4289e4(0x15d)](_0x50ec4c['MHLAX'](_0x50ec4c['MHLAX'](_0x50ec4c[_0x4289e4(0x137)](_0x50ec4c[_0x4289e4(0x13f)](_0x50ec4c[_0x4289e4(0x1ae)],_0x4a102e),_0x50ec4c[_0x4289e4(0x17a)]),_0x69dc4f),_0x4289e4(0x17f)),_0x328241)+_0x50ec4c[_0x4289e4(0x18b)];let _0x12d6e9;try{_0x12d6e9=await RequestUtil[_0x4289e4(0x17b)](_0x43b5d2,_0x50ec4c[_0x4289e4(0x12f)],'',{'Cookie':_0x514080});}catch{return undefined;}if(_0x50ec4c['nMAWh'](_0x12d6e9[_0x4289e4(0x120)],0x0))return undefined;return _0x12d6e9;}static async['getGroupMembers'](_0x197811,_0x180c5f=!![]){const _0x5581be=_0xe2cb,_0xd49e4d={'ZArHU':function(_0x3daa8b,_0x336af2){return _0x3daa8b>_0x336af2;},'UZKZg':function(_0x2642f1,_0x5aebd9){return _0x2642f1*_0x5aebd9;},'HfXrL':_0x5581be(0x18f),'krNED':function(_0x3e96a3,_0x3fce16){return _0x3e96a3+_0x3fce16;},'lwRAB':function(_0x578ab8,_0x157687){return _0x578ab8+_0x157687;},'dsIrz':function(_0x55a180,_0x45e6fc){return _0x55a180+_0x45e6fc;},'DqmGB':_0x5581be(0x157),'KBtCy':';\x20skey=','iJIvQ':function(_0xf5fe23,_0x5816e3){return _0xf5fe23||_0x5816e3;},'OupDX':function(_0x36bd83,_0x24bff7){return _0x36bd83+_0x24bff7;},'ipITR':_0x5581be(0x13b),'ZQCcZ':_0x5581be(0x197),'JNCEv':_0x5581be(0x16d),'obohI':function(_0x4ff18a,_0x52f473){return _0x4ff18a!==_0x52f473;},'JmPZu':function(_0x4d046c,_0x263756){return _0x4d046c/_0x263756;},'JDkkR':function(_0x42181e,_0x4fc7ea){return _0x42181e<=_0x4fc7ea;},'cuQIN':function(_0x925cb8,_0x26f24a){return _0x925cb8+_0x26f24a;},'TGbYy':_0x5581be(0x194),'zGONw':function(_0xe1d8c,_0x4c9256){return _0xe1d8c*_0x4c9256;},'tBZOI':function(_0x3b96c9,_0x18fc6){return _0x3b96c9-_0x18fc6;},'ITiId':'&end=','ztaeA':_0x5581be(0x178)};let _0x15ae94=new Array();try{let _0x1dbc53=WebGroupData[_0x5581be(0x15a)][_0x5581be(0x136)](_0x197811),_0x30ff1f=WebGroupData['GroupTime'][_0x5581be(0x136)](_0x197811);if(!_0x30ff1f||_0xd49e4d['ZArHU'](Date[_0x5581be(0x182)]()-_0x30ff1f,_0xd49e4d[_0x5581be(0x172)](0x708,0x3e8))||!_0x180c5f){const _0x4445c0=(await NTQQUserApi[_0x5581be(0x126)]([_0xd49e4d[_0x5581be(0x1a3)]]))['qun.qq.com'],_0x775679=await NTQQUserApi[_0x5581be(0x1b4)](),_0x50a21e=_0xd49e4d[_0x5581be(0x141)](_0xd49e4d[_0x5581be(0x16c)](_0xd49e4d['lwRAB'](_0xd49e4d[_0x5581be(0x16c)](_0xd49e4d['dsIrz'](_0xd49e4d['DqmGB'],_0x4445c0),_0xd49e4d[_0x5581be(0x15b)]),_0x775679),_0x5581be(0x187)),selfInfo[_0x5581be(0x12b)]);if(_0xd49e4d['iJIvQ'](!_0x775679,!_0x4445c0))return _0x15ae94;const _0x20f195=WebApi[_0x5581be(0x1aa)](_0x775679),_0x504146=[],_0x13450c=await RequestUtil['HttpGetJson'](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['OupDX'](_0xd49e4d['OupDX'](_0xd49e4d[_0x5581be(0x174)],_0x197811),_0xd49e4d[_0x5581be(0x145)]),_0x20f195),_0xd49e4d[_0x5581be(0x152)],'',{'Cookie':_0x50a21e});if(!_0x13450c?.[_0x5581be(0x11f)]||_0xd49e4d[_0x5581be(0x1bb)](_0x13450c?.[_0x5581be(0x14a)],0x0)||!_0x13450c?.[_0x5581be(0x185)])return[];else for(const _0x54491e in _0x13450c[_0x5581be(0x185)]){_0x15ae94[_0x5581be(0x19a)](_0x13450c['mems'][_0x54491e]);}const _0x511afe=Math[_0x5581be(0x1b2)](_0xd49e4d[_0x5581be(0x12a)](_0x13450c[_0x5581be(0x11f)],0x28));for(let _0x416c7b=0x2;_0xd49e4d[_0x5581be(0x154)](_0x416c7b,_0x511afe);_0x416c7b++){const _0x5e96bd=RequestUtil[_0x5581be(0x17b)](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['krNED'](_0xd49e4d[_0x5581be(0x1be)](_0xd49e4d[_0x5581be(0x168)](_0xd49e4d['OupDX'](_0xd49e4d[_0x5581be(0x13d)],_0xd49e4d[_0x5581be(0x127)](_0xd49e4d[_0x5581be(0x1a2)](_0x416c7b,0x1),0x28))+_0xd49e4d[_0x5581be(0x165)],_0x416c7b*0x28),_0xd49e4d[_0x5581be(0x173)]),_0x197811),_0xd49e4d['ZQCcZ'])+_0x20f195,_0xd49e4d['JNCEv'],'',{'Cookie':_0x50a21e});_0x504146[_0x5581be(0x19a)](_0x5e96bd);}for(let _0x374835=0x1;_0xd49e4d[_0x5581be(0x154)](_0x374835,_0x511afe);_0x374835++){const _0x513180=await _0x504146[_0x374835];if(!_0x513180?.[_0x5581be(0x11f)]||_0xd49e4d[_0x5581be(0x1bb)](_0x513180?.[_0x5581be(0x14a)],0x0)||!_0x513180?.[_0x5581be(0x185)])continue;for(const _0x37e0d8 in _0x513180[_0x5581be(0x185)]){_0x15ae94[_0x5581be(0x19a)](_0x513180[_0x5581be(0x185)][_0x37e0d8]);}}WebGroupData['GroupData'][_0x5581be(0x162)](_0x197811,_0x15ae94),WebGroupData[_0x5581be(0x1a5)][_0x5581be(0x162)](_0x197811,Date[_0x5581be(0x182)]());}else _0x15ae94=_0x1dbc53;}catch{return _0x15ae94;}return _0x15ae94;}static async[_0x3f94e0(0x12c)](_0x2d72c2,_0x1770d2=''){const _0x320243=_0x3f94e0,_0x14d628={'plGyX':_0x320243(0x18f),'XMVXV':function(_0x43dc77,_0x44adeb){return _0x43dc77+_0x44adeb;},'OHYlq':function(_0xb52dd3,_0x1a79a0){return _0xb52dd3+_0x1a79a0;},'XYQCk':_0x320243(0x157),'EoLSR':_0x320243(0x1bf),'Zzaue':';\x20p_uin=o','HMffG':function(_0x2fb4ef,_0x216848){return _0x2fb4ef||_0x216848;},'LrNdN':function(_0x1665bc,_0x39367d){return _0x1665bc+_0x39367d;},'pLqlS':function(_0x347774,_0x512e38){return _0x347774+_0x512e38;},'cYklJ':function(_0x15d5f4,_0x4360cc){return _0x15d5f4+_0x4360cc;},'YzTVK':function(_0x38bd34,_0xbb33da){return _0x38bd34+_0xbb33da;},'aPstv':'qid=','IPpvU':_0x320243(0x197),'FZSii':_0x320243(0x132),'Bwpuy':_0x320243(0x1b6),'FYxNi':_0x320243(0x156),'wXhfO':_0x320243(0x175)},_0x3d77f1=(await NTQQUserApi[_0x320243(0x126)]([_0x320243(0x18f)]))[_0x14d628[_0x320243(0x160)]],_0x244b7e=await NTQQUserApi['getSkey'](),_0x12e34f=_0x14d628[_0x320243(0x138)](_0x14d628[_0x320243(0x138)](_0x14d628[_0x320243(0x15c)](_0x14d628['XYQCk'],_0x3d77f1)+_0x14d628[_0x320243(0x180)]+_0x244b7e,_0x14d628['Zzaue']),selfInfo[_0x320243(0x12b)]);let _0x581753=undefined;if(_0x14d628[_0x320243(0x153)](!_0x244b7e,!_0x3d77f1))return undefined;const _0x525ac9=WebApi[_0x320243(0x1aa)](_0x244b7e),_0x517ea0=_0x14d628[_0x320243(0x192)](_0x14d628[_0x320243(0x184)](_0x14d628['cYklJ'](_0x14d628[_0x320243(0x129)](_0x14d628[_0x320243(0x151)]+_0x2d72c2,_0x14d628[_0x320243(0x149)]),_0x525ac9)+_0x14d628['FZSii'],_0x1770d2),_0x14d628['Bwpuy']),_0x17b97a=_0x14d628[_0x320243(0x1b0)]+_0x525ac9;try{return _0x581753=await RequestUtil[_0x320243(0x17b)](_0x17b97a,_0x14d628[_0x320243(0x1b7)],'',{'Cookie':_0x12e34f}),_0x581753;}catch(_0x2b1145){return undefined;}return undefined;}static async[_0x3f94e0(0x17e)](_0x15e082){const _0xfcaede=_0x3f94e0,_0x319a95={'bWXAd':'qun.qq.com','ufHoC':function(_0x4d3fc9,_0xffe5f){return _0x4d3fc9+_0xffe5f;},'SaPHo':function(_0x2cee8b,_0x45cc68){return _0x2cee8b+_0x45cc68;},'zAGEx':function(_0x17e3d0,_0x47c027){return _0x17e3d0+_0x47c027;},'mwlXl':';\x20skey=','HRaYu':_0xfcaede(0x187),'raDDh':function(_0x394583,_0x1c18ed){return _0x394583||_0x1c18ed;},'ymKqV':function(_0x3175ad,_0x423d64){return _0x3175ad+_0x423d64;},'BpDob':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','KaWiR':_0xfcaede(0x1ab),'sYutm':_0xfcaede(0x17c),'BZjWG':_0xfcaede(0x175),'UhzuE':function(_0x5786af,_0xea052d){return _0x5786af!==_0xea052d;}},_0x5579e5=(await NTQQUserApi['getPSkey']([_0x319a95[_0xfcaede(0x123)]]))[_0xfcaede(0x18f)],_0x527e49=await NTQQUserApi[_0xfcaede(0x1b4)](),_0x2e194f=_0x319a95['ufHoC'](_0x319a95['SaPHo'](_0x319a95[_0xfcaede(0x166)](_0xfcaede(0x157),_0x5579e5)+_0x319a95[_0xfcaede(0x13e)]+_0x527e49,_0x319a95[_0xfcaede(0x1b5)]),selfInfo[_0xfcaede(0x12b)]);let _0x312e03=undefined;if(_0x319a95[_0xfcaede(0x1a6)](!_0x527e49,!_0x5579e5))return undefined;const _0x3a778d=WebApi['genBkn'](_0x527e49),_0xbe3c14=_0x319a95['ymKqV'](_0x319a95[_0xfcaede(0x166)](_0x319a95[_0xfcaede(0x170)]+_0x3a778d+_0x319a95[_0xfcaede(0x189)],_0x15e082),_0x319a95[_0xfcaede(0x186)]);try{_0x312e03=await RequestUtil[_0xfcaede(0x17b)](_0xbe3c14,_0x319a95['BZjWG'],'',{'Cookie':_0x2e194f});if(_0x319a95['UhzuE'](_0x312e03?.['ec'],0x0))return undefined;return _0x312e03;}catch(_0x113418){return undefined;}return undefined;}static[_0x3f94e0(0x1aa)](_0x3cbf18){const _0xd12107=_0x3f94e0,_0x5752fa={'IBIka':function(_0x5273f0,_0x42a680){return _0x5273f0||_0x42a680;},'NsbJu':function(_0xfb1335,_0x502693){return _0xfb1335<_0x502693;},'FaZie':function(_0x363947,_0x4270cb){return _0x363947+_0x4270cb;},'GVNZB':function(_0x160c0f,_0x575c48){return _0x160c0f+_0x575c48;},'NlknA':function(_0x5ce2a4,_0x224c79){return _0x5ce2a4<<_0x224c79;},'wEAvP':function(_0x37f771,_0x1f23bd){return _0x37f771&_0x1f23bd;}};_0x3cbf18=_0x5752fa[_0xd12107(0x121)](_0x3cbf18,'');let _0x23455b=0x1505;for(let _0x2ac1e0=0x0;_0x5752fa[_0xd12107(0x146)](_0x2ac1e0,_0x3cbf18[_0xd12107(0x16a)]);_0x2ac1e0++){const _0x178d9f=_0x3cbf18[_0xd12107(0x181)](_0x2ac1e0);_0x23455b=_0x5752fa[_0xd12107(0x13c)](_0x5752fa['GVNZB'](_0x23455b,_0x5752fa[_0xd12107(0x18c)](_0x23455b,0x5)),_0x178d9f);}return _0x5752fa[_0xd12107(0x12d)](_0x23455b,0x7fffffff)[_0xd12107(0x14b)]();}static async[_0x3f94e0(0x196)](_0x3630f2,_0x3622e5){const _0xd314c0=_0x3f94e0,_0x16ecc3={'BEStO':function(_0x2e8354,_0x4e4d7a){return _0x2e8354+_0x4e4d7a;},'gzCSY':function(_0x259876,_0xfeddff){return _0x259876+_0xfeddff;},'qXSAw':_0xd314c0(0x199),'pnymt':'&type=','mCLGU':function(_0x3642e0,_0x54e9b2){return _0x3642e0===_0x54e9b2;},'JnWni':function(_0x428570,_0x220fa3,_0x8177e8,_0x2f95f7){return _0x428570(_0x220fa3,_0x8177e8,_0x2f95f7);},'nPlFV':_0xd314c0(0x135),'Wgqyq':_0xd314c0(0x18f),'hvAqq':function(_0xd6a43e,_0xf415b6){return _0xd6a43e+_0xf415b6;},'okUEI':function(_0x2d118b,_0x667d64){return _0x2d118b+_0x667d64;},'wmkvy':function(_0x781bae,_0x46c61d){return _0x781bae+_0x46c61d;},'WaXjM':_0xd314c0(0x157),'YTcwF':_0xd314c0(0x1bf),'WAdRj':';\x20p_uin=o','RGTom':function(_0x5ad330,_0x1e41d){return _0x5ad330===_0x1e41d;},'dZrwA':function(_0x5929a5,_0x335450,_0x138596){return _0x5929a5(_0x335450,_0x138596);},'aUgqj':_0xd314c0(0x18e),'ZaRfV':_0xd314c0(0x1ac),'BpJBU':function(_0x3cb3a4,_0x22d8cf){return _0x3cb3a4(_0x22d8cf);},'CWtHb':function(_0x29b53e,_0x276733,_0x5e257c){return _0x29b53e(_0x276733,_0x5e257c);},'sDWid':_0xd314c0(0x1ba),'xNSjj':_0xd314c0(0x190)},_0x37edd0=(await NTQQUserApi[_0xd314c0(0x126)]([_0x16ecc3[_0xd314c0(0x1a0)]]))[_0x16ecc3[_0xd314c0(0x1a0)]],_0x418ee5=await NTQQUserApi[_0xd314c0(0x1b4)]();if(!_0x418ee5||!_0x37edd0)return undefined;async function _0x3d6b29(_0x2f70ed,_0x42eefe){const _0x16e67c=_0xd314c0;let _0x73ce42=_0x16ecc3[_0x16e67c(0x133)](_0x16ecc3[_0x16e67c(0x16f)](_0x16ecc3[_0x16e67c(0x16f)](_0x16ecc3[_0x16e67c(0x169)],_0x2f70ed),_0x16ecc3['pnymt']),_0x42eefe[_0x16e67c(0x14b)]()),_0x31a009='',_0x25da1c;try{_0x31a009=await RequestUtil[_0x16e67c(0x14c)](_0x73ce42,_0x16e67c(0x175),'',{'Cookie':_0x18e841});const _0x554ad8=_0x31a009['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x554ad8&&(_0x25da1c=JSON['parse'](_0x554ad8[0x1][_0x16e67c(0x12e)]())),_0x16ecc3[_0x16e67c(0x17d)](_0x42eefe,0x1)?_0x25da1c?.[_0x16e67c(0x16e)]:_0x25da1c?.[_0x16e67c(0x1a1)];}catch(_0x560933){_0x16ecc3[_0x16e67c(0x1b8)](logDebug,_0x16ecc3[_0x16e67c(0x124)],_0x73ce42,_0x560933);}return undefined;}let _0x117b56={'group_id':_0x3630f2};const _0x18e841=_0x16ecc3[_0xd314c0(0x122)](_0x16ecc3['hvAqq'](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x1a8)](_0x16ecc3[_0xd314c0(0x18d)](_0x16ecc3[_0xd314c0(0x19b)]+_0x37edd0,_0x16ecc3[_0xd314c0(0x1a7)]),_0x418ee5),_0x16ecc3['WAdRj']),selfInfo['uin']),';\x20uin=o'),selfInfo['uin']);if(_0x3622e5===WebHonorType[_0xd314c0(0x142)]||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x2ba732=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x1);if(!_0x2ba732)throw new Error(_0x16ecc3[_0xd314c0(0x11c)]);_0x117b56[_0xd314c0(0x15f)]={'user_id':_0x2ba732[0x0]?.[_0xd314c0(0x12b)],'avatar':_0x2ba732[0x0]?.[_0xd314c0(0x143)],'nickname':_0x2ba732[0x0]?.['name'],'day_count':0x0,'description':_0x2ba732[0x0]?.[_0xd314c0(0x144)]},_0x117b56[_0xd314c0(0x1bc)]=[];for(const _0x1ae6a4 of _0x2ba732){_0x117b56['talkative_list']['push']({'user_id':_0x1ae6a4?.[_0xd314c0(0x12b)],'avatar':_0x1ae6a4?.[_0xd314c0(0x143)],'description':_0x1ae6a4?.['desc'],'day_count':0x0,'nickname':_0x1ae6a4?.[_0xd314c0(0x11e)]});}}catch(_0x5e01f5){logDebug(_0x5e01f5);}if(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType['PERFROMER'])||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x5377f0=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x2);if(!_0x5377f0)throw new Error(_0x16ecc3[_0xd314c0(0x140)]);_0x117b56[_0xd314c0(0x134)]=[];for(const _0x3a004b of _0x5377f0){_0x117b56[_0xd314c0(0x134)][_0xd314c0(0x19a)]({'user_id':_0x3a004b?.[_0xd314c0(0x12b)],'nickname':_0x3a004b?.[_0xd314c0(0x11e)],'avatar':_0x3a004b?.[_0xd314c0(0x143)],'description':_0x3a004b?.[_0xd314c0(0x144)]});}}catch(_0x5b4fc2){_0x16ecc3['BpJBU'](logDebug,_0x5b4fc2);}if(_0x3622e5===WebHonorType[_0xd314c0(0x193)]||_0x3622e5===WebHonorType[_0xd314c0(0x13a)])try{let _0x297ac2=await _0x16ecc3[_0xd314c0(0x125)](_0x3d6b29,_0x3630f2,0x3);if(!_0x297ac2)throw new Error(_0x16ecc3[_0xd314c0(0x195)]);_0x117b56[_0xd314c0(0x1af)]=[];for(const _0x4357ab of _0x297ac2){_0x117b56[_0xd314c0(0x1af)][_0xd314c0(0x19a)]({'user_id':_0x4357ab?.[_0xd314c0(0x12b)],'nickname':_0x4357ab?.[_0xd314c0(0x11e)],'avatar':_0x4357ab?.['avatar'],'desc':_0x4357ab?.[_0xd314c0(0x1b1)]});}}catch(_0x3cdd01){logDebug(_0x16ecc3['sDWid'],_0x3cdd01);}if(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType['EMOTION'])||_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x13a)]))try{let _0x43fd72=await _0x16ecc3[_0xd314c0(0x148)](_0x3d6b29,_0x3630f2,0x6);if(!_0x43fd72)throw new Error(_0x16ecc3[_0xd314c0(0x11d)]);_0x117b56['emotion_list']=[];for(const _0x5e3738 of _0x43fd72){_0x117b56['emotion_list'][_0xd314c0(0x19a)]({'user_id':_0x5e3738?.[_0xd314c0(0x12b)],'nickname':_0x5e3738?.[_0xd314c0(0x11e)],'avatar':_0x5e3738?.[_0xd314c0(0x143)],'desc':_0x5e3738?.[_0xd314c0(0x1b1)]});}}catch(_0x1deeb2){logDebug(_0x16ecc3[_0xd314c0(0x11d)],_0x1deeb2);}return(_0x16ecc3[_0xd314c0(0x163)](_0x3622e5,WebHonorType[_0xd314c0(0x19f)])||_0x3622e5===WebHonorType[_0xd314c0(0x13a)])&&(_0x117b56[_0xd314c0(0x19e)]=[]),_0x117b56;}} \ No newline at end of file +const _0x2484db=_0x21a5;(function(_0x36a334,_0x194a4e){const _0x15e4d7=_0x21a5,_0x11d847=_0x36a334();while(!![]){try{const _0x6d43c5=parseInt(_0x15e4d7(0x1e2))/0x1*(parseInt(_0x15e4d7(0x1ed))/0x2)+parseInt(_0x15e4d7(0x1c9))/0x3*(-parseInt(_0x15e4d7(0x232))/0x4)+parseInt(_0x15e4d7(0x24e))/0x5*(-parseInt(_0x15e4d7(0x23a))/0x6)+parseInt(_0x15e4d7(0x1e8))/0x7*(-parseInt(_0x15e4d7(0x212))/0x8)+-parseInt(_0x15e4d7(0x21e))/0x9+parseInt(_0x15e4d7(0x223))/0xa+-parseInt(_0x15e4d7(0x226))/0xb*(parseInt(_0x15e4d7(0x203))/0xc);if(_0x6d43c5===_0x194a4e)break;else _0x11d847['push'](_0x11d847['shift']());}catch(_0x36acea){_0x11d847['push'](_0x11d847['shift']());}}}(_0x3fa6,0x88ada));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x57ac00){const _0x3964a9=_0x21a5,_0x2b2470={'tjkcm':_0x3964a9(0x1ce),'MPpRH':_0x3964a9(0x22f),'FWHbR':_0x3964a9(0x239),'pZAsT':_0x3964a9(0x202),'DlQbK':_0x3964a9(0x207),'VDFNF':_0x3964a9(0x1de),'ZHskB':_0x3964a9(0x24a),'RNymX':_0x3964a9(0x241),'ahWRQ':_0x3964a9(0x1ec),'TzMBq':'EMOTION'},_0x5ad34f=_0x2b2470['tjkcm'][_0x3964a9(0x1cc)]('|');let _0x28ef80=0x0;while(!![]){switch(_0x5ad34f[_0x28ef80++]){case'0':_0x57ac00[_0x2b2470[_0x3964a9(0x1dc)]]=_0x2b2470[_0x3964a9(0x240)];continue;case'1':_0x57ac00[_0x2b2470[_0x3964a9(0x243)]]=_0x2b2470[_0x3964a9(0x252)];continue;case'2':_0x57ac00[_0x3964a9(0x217)]=_0x2b2470['VDFNF'];continue;case'3':_0x57ac00[_0x2b2470[_0x3964a9(0x22a)]]=_0x2b2470[_0x3964a9(0x222)];continue;case'4':_0x57ac00[_0x2b2470[_0x3964a9(0x224)]]=_0x3964a9(0x259);continue;case'5':_0x57ac00[_0x2b2470[_0x3964a9(0x1ca)]]=_0x3964a9(0x211);continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x21a5(_0x48231e,_0x5d10f7){const _0x3fa605=_0x3fa6();return _0x21a5=function(_0x21a53d,_0x288c22){_0x21a53d=_0x21a53d-0x1c2;let _0xce74e4=_0x3fa605[_0x21a53d];return _0xce74e4;},_0x21a5(_0x48231e,_0x5d10f7);}function _0x3fa6(){const _0x4f82e2=['https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','aOPdO','push','2003193LkUoWi','GET','KzgSb','https://qun.qq.com/interactive/honorlist?gc=','RNymX','9166500FpJbQX','ahWRQ','zGnhH','62249MOsvib','Qqzfq','WIokH','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ZHskB','vDnVe','RJDCt','获取群聊之火失败','legend_list','STORONGE_NEWBI','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','TFKvC','417212AElwgj','dQnVm','performer_list','arukL','&group_code=','getGroupMembers','qid=','strong_newbie','778098SqSTJt','IOtKw','lxhfh','zvoMT','zwXbC','KobDk','FWHbR','performer','getSkey','pZAsT','uDRfI','UHIGB','length','kSjgn','getPSkey','avatar','PERFROMER','parse','retcode','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','10PvuVHi','&end=','&bkn=','qun.qq.com','DlQbK','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','KrHeQ','NoPGp','uin','ivjAO','noDoc','legend','ysElp','Pyjkf','ExWEE','charCodeAt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','BEVCM','bpHfK','uXUIN','ceil',';\x20p_uin=o','RiJUK','errcode','getGroupEssenceMsg','GroupData','dMqyB','OrhiI','p_skey=','MDgCp','tjJNt','VVHCj','HwCDe','12geQqIn','TzMBq','获取快乐源泉失败','split','SSmPd','1|2|3|4|0|5','MTiau','MnTbj','pNmHe','yFfNz','qgrZM','JLTDW',';\x20skey=','match','获取当前群荣耀失败','mems','get','CMnug','talkativeList','MPpRH','talkative_list','talkative','YxghZ','HBQEj','MTyTX','927413DyPHIi','HttpGetJson','Evbpu','description','fcUKU','emotion_list','1309063SremUA','QrBvK','PSAOy','count','LEGEND','2yOJZEs','mSFme','&type=','set','osvme','trim','获取群聊炽焰失败','now','QbGuk','iLFyk','strong_newbie_list','dufAH','utcCt','toString','yxAXB','Txhke','desc','kebAO','EMOTION','CWUEg','sHNiS','ALL','420LJqHCI','RafKu','GroupTime','qMDKw','all','name','KSoMp','POST','ikSLs','pgoTj','genBkn','获取龙王信息失败','JvJJg','nGuoi','emotion','8KYdBnF','actorList','FXWIG','RvgAY',';\x20uin=o','TALKACTIVE','&sort=1&gc=','&qid=','SHOCU'];_0x3fa6=function(){return _0x4f82e2;};return _0x3fa6();}export class WebApi{static async[_0x2484db(0x266)](_0x24e876,_0x5d46b0){const _0x2a4588=_0x2484db,_0xf8cbab={'ExWEE':_0x2a4588(0x251),'NoPGp':function(_0x340c1f,_0x1212b2){return _0x340c1f+_0x1212b2;},'sHNiS':function(_0x5a916f,_0xd3dfab){return _0x5a916f+_0xd3dfab;},'arukL':function(_0x142f04,_0x24ef83){return _0x142f04+_0x24ef83;},'tjJNt':_0x2a4588(0x1c4),'SSmPd':_0x2a4588(0x1d5),'qMDKw':_0x2a4588(0x263),'osvme':_0x2a4588(0x216),'pgoTj':function(_0x2acdeb,_0xf85699){return _0x2acdeb||_0xf85699;},'zMXcs':function(_0x14494c,_0x4029fb){return _0x14494c+_0x4029fb;},'RafKu':function(_0x4b9d11,_0x57fe2a){return _0x4b9d11+_0x57fe2a;},'Pyjkf':'&page_start=','fcUKU':'&page_limit=20','WIokH':_0x2a4588(0x21f),'zGnhH':function(_0x5f59ba,_0x5942d5){return _0x5f59ba!==_0x5942d5;}},_0x502b54=(await NTQQUserApi[_0x2a4588(0x248)]([_0xf8cbab[_0x2a4588(0x25c)]]))[_0xf8cbab['ExWEE']],_0x4f36aa=await NTQQUserApi[_0x2a4588(0x242)](),_0x1b648f=_0xf8cbab[_0x2a4588(0x255)](_0xf8cbab['NoPGp'](_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x255)](_0xf8cbab[_0x2a4588(0x235)](_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x1c6)],_0x502b54),_0xf8cbab[_0x2a4588(0x1cd)]),_0x4f36aa),_0xf8cbab[_0x2a4588(0x206)]),selfInfo['uin']),_0xf8cbab[_0x2a4588(0x1f1)])+selfInfo['uin'];if(_0xf8cbab[_0x2a4588(0x20c)](!_0x4f36aa,!_0x502b54))return undefined;const _0x382a50=WebApi['genBkn'](_0x4f36aa),_0x1f20fc=_0xf8cbab[_0x2a4588(0x201)](_0xf8cbab[_0x2a4588(0x235)](_0xf8cbab['zMXcs'](_0xf8cbab[_0x2a4588(0x204)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x382a50),_0x2a4588(0x236)),_0x24e876)+_0xf8cbab[_0x2a4588(0x25b)],_0x5d46b0)+_0xf8cbab[_0x2a4588(0x1e6)];let _0x16f131;try{_0x16f131=await RequestUtil[_0x2a4588(0x1e3)](_0x1f20fc,_0xf8cbab[_0x2a4588(0x228)],'',{'Cookie':_0x1b648f});}catch{return undefined;}if(_0xf8cbab[_0x2a4588(0x225)](_0x16f131[_0x2a4588(0x24c)],0x0))return undefined;return _0x16f131;}static async[_0x2484db(0x237)](_0x5d1df2,_0xafe7c=!![]){const _0x542ed6=_0x2484db,_0x18003f={'JZIzW':function(_0x1435fb,_0x234407){return _0x1435fb>_0x234407;},'Txhke':function(_0x4789d6,_0x40afc8){return _0x4789d6-_0x40afc8;},'FXWIG':function(_0x51d745,_0x1d1104){return _0x51d745*_0x1d1104;},'BEVCM':'qun.qq.com','kSjgn':function(_0x40b526,_0x2ed8b5){return _0x40b526+_0x2ed8b5;},'Dqoss':function(_0x4a5b96,_0x572be3){return _0x4a5b96+_0x572be3;},'dufAH':function(_0x4b03f4,_0x2432b6){return _0x4b03f4+_0x2432b6;},'dQnVm':'p_skey=','VVHCj':_0x542ed6(0x1d5),'lJSZQ':';\x20p_uin=o','PSAOy':function(_0x2a6270,_0x2b5f9f){return _0x2a6270+_0x2b5f9f;},'qgrZM':_0x542ed6(0x250),'utcCt':_0x542ed6(0x20a),'zwXbC':function(_0x4c6b8b,_0x87af67){return _0x4c6b8b!==_0x87af67;},'JLTDW':function(_0x4c1b5d,_0x1aaa88){return _0x4c1b5d/_0x1aaa88;},'CzTPM':function(_0x1d6c1e,_0x235076){return _0x1d6c1e+_0x235076;},'zvoMT':function(_0xed022,_0x2cd17e){return _0xed022+_0x2cd17e;},'YxghZ':function(_0xf75240,_0x6cc471){return _0xf75240+_0x6cc471;},'XErdr':function(_0x4b2e5c,_0xd3c25c){return _0x4b2e5c+_0xd3c25c;},'Evbpu':function(_0x2d47e8,_0x5d9a86){return _0x2d47e8*_0x5d9a86;}};let _0x4553c4=new Array();try{let _0x4ffcad=WebGroupData[_0x542ed6(0x267)][_0x542ed6(0x1d9)](_0x5d1df2),_0xefc069=WebGroupData['GroupTime'][_0x542ed6(0x1d9)](_0x5d1df2);if(!_0xefc069||_0x18003f['JZIzW'](_0x18003f[_0x542ed6(0x1fc)](Date[_0x542ed6(0x1f4)](),_0xefc069),_0x18003f[_0x542ed6(0x214)](0x708,0x3e8))||!_0xafe7c){const _0x461502=(await NTQQUserApi['getPSkey']([_0x18003f[_0x542ed6(0x25f)]]))[_0x18003f[_0x542ed6(0x25f)]],_0x439bf3=await NTQQUserApi[_0x542ed6(0x242)](),_0x1013ee=_0x18003f[_0x542ed6(0x247)](_0x18003f['Dqoss'](_0x18003f[_0x542ed6(0x1f8)](_0x18003f[_0x542ed6(0x1f8)](_0x18003f['kSjgn'](_0x18003f[_0x542ed6(0x233)],_0x461502),_0x18003f[_0x542ed6(0x1c7)]),_0x439bf3),_0x18003f['lJSZQ']),selfInfo[_0x542ed6(0x256)]);if(!_0x439bf3||!_0x461502)return _0x4553c4;const _0x405ac4=WebApi[_0x542ed6(0x20d)](_0x439bf3),_0x2ec0cb=[],_0x80111a=await RequestUtil[_0x542ed6(0x1e3)](_0x18003f[_0x542ed6(0x1ea)](_0x542ed6(0x25e)+_0x5d1df2+_0x18003f[_0x542ed6(0x1d3)],_0x405ac4),_0x18003f[_0x542ed6(0x1f9)],'',{'Cookie':_0x1013ee});if(!_0x80111a?.[_0x542ed6(0x1eb)]||_0x18003f[_0x542ed6(0x23e)](_0x80111a?.['errcode'],0x0)||!_0x80111a?.[_0x542ed6(0x1d8)])return[];else for(const _0x1d9d83 in _0x80111a['mems']){_0x4553c4[_0x542ed6(0x21d)](_0x80111a[_0x542ed6(0x1d8)][_0x1d9d83]);}const _0x40d7c3=Math[_0x542ed6(0x262)](_0x18003f[_0x542ed6(0x1d4)](_0x80111a[_0x542ed6(0x1eb)],0x28));for(let _0x42f08a=0x2;_0x42f08a<=_0x40d7c3;_0x42f08a++){const _0x420177=RequestUtil[_0x542ed6(0x1e3)](_0x18003f[_0x542ed6(0x1f8)](_0x18003f['CzTPM'](_0x18003f[_0x542ed6(0x23d)](_0x18003f[_0x542ed6(0x1df)](_0x18003f['XErdr'](_0x18003f['YxghZ'](_0x542ed6(0x229)+_0x18003f['FXWIG'](_0x18003f[_0x542ed6(0x1fc)](_0x42f08a,0x1),0x28),_0x542ed6(0x24f)),_0x18003f[_0x542ed6(0x1e4)](_0x42f08a,0x28)),_0x542ed6(0x218)),_0x5d1df2),_0x18003f[_0x542ed6(0x1d3)]),_0x405ac4),'POST','',{'Cookie':_0x1013ee});_0x2ec0cb[_0x542ed6(0x21d)](_0x420177);}for(let _0x6868eb=0x1;_0x6868eb<=_0x40d7c3;_0x6868eb++){const _0x227a7f=await _0x2ec0cb[_0x6868eb];if(!_0x227a7f?.[_0x542ed6(0x1eb)]||_0x227a7f?.[_0x542ed6(0x265)]!==0x0||!_0x227a7f?.[_0x542ed6(0x1d8)])continue;for(const _0x41132c in _0x227a7f[_0x542ed6(0x1d8)]){_0x4553c4[_0x542ed6(0x21d)](_0x227a7f[_0x542ed6(0x1d8)][_0x41132c]);}}WebGroupData['GroupData'][_0x542ed6(0x1f0)](_0x5d1df2,_0x4553c4),WebGroupData[_0x542ed6(0x205)][_0x542ed6(0x1f0)](_0x5d1df2,Date[_0x542ed6(0x1f4)]());}else _0x4553c4=_0x4ffcad;}catch{return _0x4553c4;}return _0x4553c4;}static async['setGroupNotice'](_0x54fc66,_0x186509=''){const _0x575ace=_0x2484db,_0x4ecda9={'noDoc':_0x575ace(0x251),'KzgSb':function(_0x2aa181,_0x4027c7){return _0x2aa181+_0x4027c7;},'JvJJg':function(_0x4825fb,_0x51dc32){return _0x4825fb+_0x51dc32;},'ThmmT':_0x575ace(0x1c4),'uDRfI':_0x575ace(0x1d5),'MnTbj':';\x20p_uin=o','pmmyg':function(_0x2a0201,_0x243fcb){return _0x2a0201||_0x243fcb;},'yFfNz':_0x575ace(0x238),'jwdeK':_0x575ace(0x250),'HnRVB':'&text=','QrBvK':_0x575ace(0x230),'HwCDe':_0x575ace(0x253),'KrHeQ':_0x575ace(0x21f)},_0x12f79f=(await NTQQUserApi[_0x575ace(0x248)]([_0x4ecda9[_0x575ace(0x258)]]))[_0x4ecda9[_0x575ace(0x258)]],_0x537c43=await NTQQUserApi[_0x575ace(0x242)](),_0x5bf4eb=_0x4ecda9[_0x575ace(0x220)](_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9['ThmmT']+_0x12f79f,_0x4ecda9[_0x575ace(0x244)]),_0x537c43)+_0x4ecda9[_0x575ace(0x1d0)]+selfInfo[_0x575ace(0x256)];let _0x5141ed=undefined;if(_0x4ecda9['pmmyg'](!_0x537c43,!_0x12f79f))return undefined;const _0x4fe53e=WebApi[_0x575ace(0x20d)](_0x537c43),_0xa1d151=_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x220)](_0x4ecda9['JvJJg'](_0x4ecda9[_0x575ace(0x1d2)],_0x54fc66),_0x4ecda9['jwdeK'])+_0x4fe53e+_0x4ecda9['HnRVB'],_0x186509),_0x4ecda9[_0x575ace(0x1e9)]),_0x37d83b=_0x4ecda9[_0x575ace(0x20f)](_0x4ecda9[_0x575ace(0x1c8)],_0x4fe53e);try{return _0x5141ed=await RequestUtil[_0x575ace(0x1e3)](_0x37d83b,_0x4ecda9[_0x575ace(0x254)],'',{'Cookie':_0x5bf4eb}),_0x5141ed;}catch(_0x35fb25){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2930e2){const _0x357a5a=_0x2484db,_0x5ad212={'vXatL':_0x357a5a(0x251),'RJDCt':function(_0x52484c,_0x54bc60){return _0x52484c+_0x54bc60;},'ikSLs':function(_0x4a9007,_0x11d2fe){return _0x4a9007+_0x11d2fe;},'lIUpu':_0x357a5a(0x1c4),'kebAO':_0x357a5a(0x1d5),'KjdXM':_0x357a5a(0x263),'ivjAO':function(_0x21eb2f,_0x8078c4){return _0x21eb2f||_0x8078c4;},'IOtKw':function(_0x232b18,_0x331f24){return _0x232b18+_0x331f24;},'lxhfh':function(_0x5baf52,_0x3286f7){return _0x5baf52+_0x3286f7;},'yxAXB':_0x357a5a(0x24d),'vVNht':_0x357a5a(0x21f),'HBQEj':function(_0x364f62,_0x56b1fa){return _0x364f62!==_0x56b1fa;}},_0x5a270c=(await NTQQUserApi[_0x357a5a(0x248)]([_0x5ad212['vXatL']]))[_0x5ad212['vXatL']],_0x1910b0=await NTQQUserApi[_0x357a5a(0x242)](),_0x4e30cd=_0x5ad212[_0x357a5a(0x22c)](_0x5ad212[_0x357a5a(0x20b)](_0x5ad212[_0x357a5a(0x20b)](_0x5ad212['RJDCt'](_0x5ad212['lIUpu'],_0x5a270c),_0x5ad212[_0x357a5a(0x1fe)]),_0x1910b0)+_0x5ad212['KjdXM'],selfInfo[_0x357a5a(0x256)]);let _0x4c1131=undefined;if(_0x5ad212[_0x357a5a(0x257)](!_0x1910b0,!_0x5a270c))return undefined;const _0x33b833=WebApi[_0x357a5a(0x20d)](_0x1910b0),_0x3afd06=_0x5ad212[_0x357a5a(0x23b)](_0x5ad212['RJDCt'](_0x5ad212[_0x357a5a(0x23c)](_0x357a5a(0x21b),_0x33b833)+_0x357a5a(0x219),_0x2930e2),_0x5ad212[_0x357a5a(0x1fb)]);try{_0x4c1131=await RequestUtil[_0x357a5a(0x1e3)](_0x3afd06,_0x5ad212['vVNht'],'',{'Cookie':_0x4e30cd});if(_0x5ad212[_0x357a5a(0x1e0)](_0x4c1131?.['ec'],0x0))return undefined;return _0x4c1131;}catch(_0x5172df){return undefined;}return undefined;}static[_0x2484db(0x20d)](_0x3271d8){const _0x13f572=_0x2484db,_0x53e460={'SHOCU':function(_0x47513b,_0x2adcdb){return _0x47513b||_0x2adcdb;},'DBAIR':function(_0x1a432e,_0xbcd57b){return _0x1a432e<_0xbcd57b;},'ganww':function(_0x31e5f1,_0x1b3747){return _0x31e5f1+_0x1b3747;},'ojrGk':function(_0x5d78a5,_0x1f7246){return _0x5d78a5<<_0x1f7246;},'iLFyk':function(_0x2b6859,_0x46a25b){return _0x2b6859&_0x46a25b;}};_0x3271d8=_0x53e460[_0x13f572(0x21a)](_0x3271d8,'');let _0x5959fd=0x1505;for(let _0x2c0cc7=0x0;_0x53e460['DBAIR'](_0x2c0cc7,_0x3271d8[_0x13f572(0x246)]);_0x2c0cc7++){const _0x3f1717=_0x3271d8[_0x13f572(0x25d)](_0x2c0cc7);_0x5959fd=_0x53e460['ganww'](_0x53e460['ganww'](_0x5959fd,_0x53e460['ojrGk'](_0x5959fd,0x5)),_0x3f1717);}return _0x53e460[_0x13f572(0x1f6)](_0x5959fd,0x7fffffff)['toString']();}static async['getGroupHonorInfo'](_0x1b16c1,_0x2ca946){const _0x3428ee=_0x2484db,_0x6a3a9={'MTyTX':function(_0x31ed33,_0x3cf727){return _0x31ed33+_0x3cf727;},'KobDk':_0x3428ee(0x1ef),'gSsoa':function(_0x1a7780,_0x5a0542,_0x1a79e9,_0x1870fe){return _0x1a7780(_0x5a0542,_0x1a79e9,_0x1870fe);},'MDgCp':_0x3428ee(0x1d7),'CWUEg':'qun.qq.com','Qqzfq':function(_0x34e82d,_0x593c40){return _0x34e82d||_0x593c40;},'aOPdO':function(_0x22f5ab,_0x39564b){return _0x22f5ab+_0x39564b;},'dMqyB':function(_0x5b9b7b,_0x3acbb0){return _0x5b9b7b+_0x3acbb0;},'QbGuk':function(_0x13149c,_0x211fd3){return _0x13149c+_0x211fd3;},'RiJUK':function(_0x4369b7,_0x25028b){return _0x4369b7+_0x25028b;},'mSFme':function(_0x14c19f,_0x110b8b){return _0x14c19f+_0x110b8b;},'uXUIN':_0x3428ee(0x1c4),'KSoMp':_0x3428ee(0x263),'OrhiI':_0x3428ee(0x216),'nGuoi':function(_0x11da24,_0x446580){return _0x11da24===_0x446580;},'bpHfK':function(_0x1b4f90,_0x1b4fc8,_0x3fbf7d){return _0x1b4f90(_0x1b4fc8,_0x3fbf7d);},'RvgAY':function(_0xa9e9c8,_0x18b2d5){return _0xa9e9c8(_0x18b2d5);},'VQZXW':function(_0x9af029,_0x1a316c){return _0x9af029===_0x1a316c;},'MTiau':function(_0x4e6b12,_0x17533b){return _0x4e6b12===_0x17533b;},'vDnVe':_0x3428ee(0x22d),'ysElp':function(_0x2ee51d,_0x405120){return _0x2ee51d===_0x405120;},'pNmHe':_0x3428ee(0x1f3),'UHIGB':function(_0x52f192,_0x4f4a5a){return _0x52f192===_0x4f4a5a;},'TFKvC':_0x3428ee(0x1cb),'CMnug':function(_0x4334c9,_0x2c3970){return _0x4334c9===_0x2c3970;}},_0x1a8dba=(await NTQQUserApi['getPSkey']([_0x3428ee(0x251)]))[_0x6a3a9[_0x3428ee(0x200)]],_0x4b4002=await NTQQUserApi['getSkey']();if(_0x6a3a9[_0x3428ee(0x227)](!_0x4b4002,!_0x1a8dba))return undefined;async function _0x2d9e8a(_0x98b7be,_0x43ffe6){const _0x5cc70b=_0x3428ee;let _0x419d30=_0x6a3a9[_0x5cc70b(0x1e1)](_0x5cc70b(0x221),_0x98b7be)+_0x6a3a9[_0x5cc70b(0x23f)]+_0x43ffe6[_0x5cc70b(0x1fa)](),_0x3270b5='',_0x1f32d6;try{_0x3270b5=await RequestUtil['HttpGetText'](_0x419d30,_0x5cc70b(0x21f),'',{'Cookie':_0x4dcbb7});const _0x2abd62=_0x3270b5[_0x5cc70b(0x1d6)](/window\.__INITIAL_STATE__=(.*?);/);return _0x2abd62&&(_0x1f32d6=JSON[_0x5cc70b(0x24b)](_0x2abd62[0x1][_0x5cc70b(0x1f2)]())),_0x43ffe6===0x1?_0x1f32d6?.[_0x5cc70b(0x1db)]:_0x1f32d6?.[_0x5cc70b(0x213)];}catch(_0x476d35){_0x6a3a9['gSsoa'](logDebug,_0x6a3a9[_0x5cc70b(0x1c5)],_0x419d30,_0x476d35);}return undefined;}let _0x3b27cd={'group_id':_0x1b16c1};const _0x4dcbb7=_0x6a3a9[_0x3428ee(0x21c)](_0x6a3a9[_0x3428ee(0x1c2)](_0x6a3a9['dMqyB'](_0x6a3a9[_0x3428ee(0x1f5)](_0x6a3a9[_0x3428ee(0x264)](_0x6a3a9[_0x3428ee(0x1ee)](_0x6a3a9[_0x3428ee(0x1c2)](_0x6a3a9[_0x3428ee(0x261)],_0x1a8dba),_0x3428ee(0x1d5)),_0x4b4002),_0x6a3a9[_0x3428ee(0x209)]),selfInfo[_0x3428ee(0x256)]),_0x6a3a9[_0x3428ee(0x1c3)]),selfInfo[_0x3428ee(0x256)]);if(_0x6a3a9[_0x3428ee(0x210)](_0x2ca946,WebHonorType['TALKACTIVE'])||_0x2ca946===WebHonorType[_0x3428ee(0x202)])try{let _0x7fc5a7=await _0x6a3a9['bpHfK'](_0x2d9e8a,_0x1b16c1,0x1);if(!_0x7fc5a7)throw new Error(_0x3428ee(0x20e));_0x3b27cd['current_talkative']={'user_id':_0x7fc5a7[0x0]?.[_0x3428ee(0x256)],'avatar':_0x7fc5a7[0x0]?.[_0x3428ee(0x249)],'nickname':_0x7fc5a7[0x0]?.[_0x3428ee(0x208)],'day_count':0x0,'description':_0x7fc5a7[0x0]?.['desc']},_0x3b27cd[_0x3428ee(0x1dd)]=[];for(const _0x54c6c4 of _0x7fc5a7){_0x3b27cd['talkative_list']['push']({'user_id':_0x54c6c4?.['uin'],'avatar':_0x54c6c4?.[_0x3428ee(0x249)],'description':_0x54c6c4?.[_0x3428ee(0x1fd)],'day_count':0x0,'nickname':_0x54c6c4?.[_0x3428ee(0x208)]});}}catch(_0x2f56c4){_0x6a3a9[_0x3428ee(0x215)](logDebug,_0x2f56c4);}if(_0x6a3a9['VQZXW'](_0x2ca946,WebHonorType['PERFROMER'])||_0x6a3a9['MTiau'](_0x2ca946,WebHonorType['ALL']))try{let _0x1db754=await _0x6a3a9['bpHfK'](_0x2d9e8a,_0x1b16c1,0x2);if(!_0x1db754)throw new Error(_0x6a3a9[_0x3428ee(0x22b)]);_0x3b27cd[_0x3428ee(0x234)]=[];for(const _0x317ac9 of _0x1db754){_0x3b27cd[_0x3428ee(0x234)]['push']({'user_id':_0x317ac9?.[_0x3428ee(0x256)],'nickname':_0x317ac9?.[_0x3428ee(0x208)],'avatar':_0x317ac9?.[_0x3428ee(0x249)],'description':_0x317ac9?.[_0x3428ee(0x1fd)]});}}catch(_0x1afe43){_0x6a3a9[_0x3428ee(0x215)](logDebug,_0x1afe43);}if(_0x6a3a9[_0x3428ee(0x25a)](_0x2ca946,WebHonorType['PERFROMER'])||_0x6a3a9[_0x3428ee(0x1cf)](_0x2ca946,WebHonorType['ALL']))try{let _0x4d0102=await _0x6a3a9[_0x3428ee(0x260)](_0x2d9e8a,_0x1b16c1,0x3);if(!_0x4d0102)throw new Error(_0x6a3a9['pNmHe']);_0x3b27cd[_0x3428ee(0x22e)]=[];for(const _0x3528b6 of _0x4d0102){_0x3b27cd[_0x3428ee(0x22e)]['push']({'user_id':_0x3528b6?.['uin'],'nickname':_0x3528b6?.[_0x3428ee(0x208)],'avatar':_0x3528b6?.[_0x3428ee(0x249)],'desc':_0x3528b6?.[_0x3428ee(0x1e5)]});}}catch(_0x1d542b){logDebug(_0x6a3a9[_0x3428ee(0x1d1)],_0x1d542b);}if(_0x6a3a9[_0x3428ee(0x210)](_0x2ca946,WebHonorType[_0x3428ee(0x1ff)])||_0x6a3a9[_0x3428ee(0x245)](_0x2ca946,WebHonorType[_0x3428ee(0x202)]))try{let _0x550a4f=await _0x2d9e8a(_0x1b16c1,0x6);if(!_0x550a4f)throw new Error(_0x6a3a9['TFKvC']);_0x3b27cd['emotion_list']=[];for(const _0x5a251e of _0x550a4f){_0x3b27cd[_0x3428ee(0x1e7)][_0x3428ee(0x21d)]({'user_id':_0x5a251e?.[_0x3428ee(0x256)],'nickname':_0x5a251e?.['name'],'avatar':_0x5a251e?.[_0x3428ee(0x249)],'desc':_0x5a251e?.['description']});}}catch(_0x48610a){_0x6a3a9[_0x3428ee(0x260)](logDebug,_0x6a3a9[_0x3428ee(0x231)],_0x48610a);}return(_0x6a3a9[_0x3428ee(0x245)](_0x2ca946,WebHonorType[_0x3428ee(0x1ff)])||_0x6a3a9[_0x3428ee(0x1da)](_0x2ca946,WebHonorType[_0x3428ee(0x202)]))&&(_0x3b27cd[_0x3428ee(0x1f7)]=[]),_0x3b27cd;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index adb38f57..41ffec63 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x1d5c36=_0x59c7;(function(_0x5a873f,_0x1c704a){const _0xbf3524=_0x59c7,_0x3a1894=_0x5a873f();while(!![]){try{const _0x4debb8=parseInt(_0xbf3524(0x22b))/0x1*(-parseInt(_0xbf3524(0x1ca))/0x2)+parseInt(_0xbf3524(0x21c))/0x3*(parseInt(_0xbf3524(0x1e8))/0x4)+parseInt(_0xbf3524(0x215))/0x5+-parseInt(_0xbf3524(0x1e3))/0x6*(-parseInt(_0xbf3524(0x239))/0x7)+-parseInt(_0xbf3524(0x20e))/0x8*(-parseInt(_0xbf3524(0x277))/0x9)+parseInt(_0xbf3524(0x1d5))/0xa+-parseInt(_0xbf3524(0x23a))/0xb;if(_0x4debb8===_0x1c704a)break;else _0x3a1894['push'](_0x3a1894['shift']());}catch(_0x11eae7){_0x3a1894['push'](_0x3a1894['shift']());}}}(_0x5d2b,0x7090b));import _0x39b681 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0xa00eae from'node:path';import _0x3d329d from'node:os';import _0x3854b8 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x5d2b(){const _0x54a0a6=['NMFcI','has','length','vnWhn','LocalLoginInfoList','onBuddyListChange','mLArE','onQRCodeGetPicture','[KickedOffLine]\x20[','NodeIGlobalAdapter','initSession','fLxph','onGroupListUpdate','addKernelBuddyListener','fileLogLevel','799642LzBnuP','memberCount','init\x20failed\x20','NodeIKernelGroupListener','getMsgService','快速登录不可用','quickLogin','base64','Dbwtd','qrLogin','zjjjs','1688210DundcM','wcwvr','NHXXx','NodeQQNTWrapperUtil','read','find','caiYd','from','clientType','curVersion','fcWRS','addMsg','onLineDev','PaRdV','336bciPJx','uid','errMsg','NodeIKernelProfileListener','undefined','628YWZzMX','isQuickLogin','登录失败','GXnMV','zcthd','then','session','set','NodeIDispatcherAdapter','get','pngBase64QrcodeData',')已登录,无法重复登录','packet_received','ENMVp','NodeIDependsAdapter','last_message_time','qpeeM','getBuddyService','isDelete','dataPath','_GW_B','ycJYi','uin','JAdAl','addListener','digest','forEach','fileLog','cYCQS','cYZMi','dataPathGlobal','loginListener','RFlEv','getQRCodePicture','kcYdC','mecJK','BuddyListener','devUid','8keVDDo','GsXrN','账号设备(','JarPi','tipsTitle','getLoginList','fjAWK','2098350mAnSDH','bMuFx','result','homedir','LlMok','DqSRw','onMemberInfoChange','10803OMbdPt','140022008','qrcodeUrl','split','CuqOm','map','sceneId','当前账号(','message_received','onLoginSuccessFuncList','NmmHF','vUrUd','onUserLoggedIn','V1_WIN_NQ_','resolve','1FRsiKa','addKernelProfileListener','name','./.config/QQ','initWithDeskTopConfig','NodeIKernelLoginListener','140022013','onQRCodeLoginSucceed','YEXmV','md5','catch','KRSZq','assign','getNextMemberList','76181VfzQOZ','17566395dqZliS','NodeIKernelBuddyListener','getGroupService','onAddSendMsg','stringify','数据库初始化失败','OVPxi','tipsDesc','proxyHandler','msgId','buddyList','uOUAp','BlqBo','RQPSX','onMsgInfoListUpdate','initConfig','getQuickLoginList','message_sent','YjDyu','./nt_qq/global','groupMemberList_MainWindow','NodeIQQNTWrapperSession','icDHP','EexFd','onLoginSuccess','groupCode','addKernelLoginListener','dSJbZ','loginErrorInfo',')\x20在线状态变更','NodeIKernelMsgListener','启动失败:\x20','MsgListener','update','engine','getNTUserDataInfoConfig','-v2.db','EDalz','util','passwordLogin','getProfileService','data:image/png;base64,','packet_sent','rdmIQ','infos','loginService','push','mkdirSync','floor','onRecvMsg','quickLoginWithUin','hex','onLoginFailed','NodeIKernelSessionListener','快速登录失败\x20','createHash','onSelfStatusChanged','startNT','NodeIQQNTWrapperEngine','本账号数据/缓存目录:','initSession\x20failed','6250833ouygSA','没有可快速登录的QQ号','recallTime','delete','constructor','onProfileDetailInfoChanged','init','initDataListener','FjYdg','addKernelMsgListener'];_0x5d2b=function(){return _0x54a0a6;};return _0x5d2b();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xa2e839 from'node:crypto';function _0x59c7(_0x457d9a,_0x26aa3d){const _0x5d2be9=_0x5d2b();return _0x59c7=function(_0x59c778,_0x37df10){_0x59c778=_0x59c778-0x1ca;let _0x25b4fa=_0x5d2be9[_0x59c778];return _0x25b4fa;},_0x59c7(_0x457d9a,_0x26aa3d);}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{[_0x1d5c36(0x1ee)];[_0x1d5c36(0x260)];[_0x1d5c36(0x25c)];[_0x1d5c36(0x207)];[_0x1d5c36(0x267)];[_0x1d5c36(0x225)]=[];[_0x1d5c36(0x242)]={'get'(target,prop,receiver){const _0x4252c7=_0x1d5c36;if(typeof target[prop]===_0x4252c7(0x1e7))return(...args)=>{const _0x31dc42=_0x4252c7;logDebug(target[_0x31dc42(0x27b)][_0x31dc42(0x22d)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x4252c7(0x1f1)](target,prop,receiver);}};constructor(){const _0x197ac8=_0x1d5c36,_0x1e22be={'GZrwC':function(_0x1d7fab,_0x3b3b2e){return _0x1d7fab(_0x3b3b2e);},'GXnMV':function(_0x4e0dfe,_0x123c21){return _0x4e0dfe+_0x123c21;},'CuqOm':_0x197ac8(0x223),'OVPxi':_0x197ac8(0x1f3),'GsXrN':function(_0x3baec8,_0x370f53,_0x5b9d89){return _0x3baec8(_0x370f53,_0x5b9d89);},'UIzQE':_0x197ac8(0x276),'zjjjs':function(_0x204f3e,_0x5020d4,_0x1d1741){return _0x204f3e(_0x5020d4,_0x1d1741);},'zcthd':_0x197ac8(0x23f),'vUrUd':function(_0x3ef066,_0x3b6eaf,_0x571fbe){return _0x3ef066(_0x3b6eaf,_0x571fbe);},'EoQNt':function(_0x438914,_0x23b501){return _0x438914(_0x23b501);},'fjAWK':'./NapCat/data','NmmHF':function(_0x369923,_0x1cd826){return _0x369923==_0x1cd826;},'dSJbZ':'登录失败'};this[_0x197ac8(0x25c)]=new _0x39b681[(_0x197ac8(0x274))](),this[_0x197ac8(0x260)]=new _0x39b681[(_0x197ac8(0x1d8))](),this[_0x197ac8(0x267)]=new _0x39b681['NodeIKernelLoginService'](),this[_0x197ac8(0x1ee)]=new _0x39b681[(_0x197ac8(0x24f))](),this['loginListener']=new LoginListener(),this[_0x197ac8(0x207)][_0x197ac8(0x228)]=_0x5aa6fc=>{const _0x2c0b57=_0x197ac8;_0x1e22be['GZrwC'](logError,_0x1e22be['GXnMV'](_0x1e22be[_0x2c0b57(0x1eb)](_0x1e22be[_0x2c0b57(0x220)],_0x5aa6fc),_0x1e22be[_0x2c0b57(0x240)]));},this['loginListener'][_0x197ac8(0x232)]=_0x589d88=>{const _0x311a23=_0x197ac8,_0x5dc9cf={'RQPSX':function(_0x5d752c,_0x5a554a,_0x221e6c){const _0x2b7259=_0x59c7;return _0x1e22be[_0x2b7259(0x1d4)](_0x5d752c,_0x5a554a,_0x221e6c);},'trRtE':_0x1e22be[_0x311a23(0x1ec)],'tetlz':function(_0xb529e,_0x744c11,_0x5d624f){return _0x1e22be['vUrUd'](_0xb529e,_0x744c11,_0x5d624f);},'caiYd':function(_0x4a1e9e,_0x41136a){return _0x1e22be['EoQNt'](_0x4a1e9e,_0x41136a);},'kScgd':function(_0x28f787,_0x248bd7){return _0x1e22be['EoQNt'](_0x28f787,_0x248bd7);},'tmCxv':_0x1e22be[_0x311a23(0x214)],'kcYdC':function(_0x132b29,_0x36520a,_0x3de517){return _0x1e22be['vUrUd'](_0x132b29,_0x36520a,_0x3de517);},'JarPi':_0x311a23(0x275)};this[_0x311a23(0x28b)](_0x589d88[_0x311a23(0x1fe)],_0x589d88[_0x311a23(0x1e4)])['then'](_0x2ea6d6=>{const _0x5b94b6=_0x311a23,_0x1d0a3f={'GuCvZ':function(_0x530d67,_0x16c591,_0x738876){const _0x1eb29d=_0x59c7;return _0x5dc9cf[_0x1eb29d(0x247)](_0x530d67,_0x16c591,_0x738876);},'LlMok':function(_0x5d41ce,_0x1970da,_0x53c0ef){return _0x5d41ce(_0x1970da,_0x53c0ef);},'DqSRw':_0x5dc9cf['trRtE']};selfInfo[_0x5b94b6(0x1fe)]=_0x589d88[_0x5b94b6(0x1fe)],selfInfo[_0x5b94b6(0x1e4)]=_0x589d88['uid'],napCatConfig[_0x5b94b6(0x1d9)](),_0x5dc9cf['tetlz'](setLogLevel,napCatConfig[_0x5b94b6(0x28f)],napCatConfig['consoleLogLevel']),_0x5dc9cf[_0x5b94b6(0x1db)](enableFileLog,napCatConfig[_0x5b94b6(0x203)]),enableConsoleLog(napCatConfig['consoleLog']),_0x5dc9cf['kScgd'](setLogSelfInfo,selfInfo);const _0x45e45e=_0xa00eae[_0x5b94b6(0x22a)](this[_0x5b94b6(0x1fb)],_0x5dc9cf['tmCxv']);_0x3854b8['mkdirSync'](_0x45e45e,{'recursive':!![]}),_0x5dc9cf[_0x5b94b6(0x20a)](logDebug,_0x5dc9cf[_0x5b94b6(0x211)],_0x45e45e),dbUtil[_0x5b94b6(0x27d)](_0xa00eae[_0x5b94b6(0x22a)](_0x45e45e,'./'+_0x589d88[_0x5b94b6(0x1fe)]+_0x5b94b6(0x25e)))[_0x5b94b6(0x1ed)](()=>{const _0x737f09=_0x5b94b6;this[_0x737f09(0x27e)](),this[_0x737f09(0x225)][_0x737f09(0x221)](_0x17af32=>{const _0x265436=_0x737f09,_0xba9904={'ynLnx':function(_0x239b31,_0x1a8a2f,_0x10a3bd){return _0x1d0a3f['GuCvZ'](_0x239b31,_0x1a8a2f,_0x10a3bd);},'YqDIH':function(_0x2151ff,_0x33da7f){return _0x2151ff instanceof _0x33da7f;}};new Promise((_0x528107,_0x453e6e)=>{const _0x1fce17=_0x59c7,_0x1226ba=_0xba9904['ynLnx'](_0x17af32,_0x589d88[_0x1fce17(0x1fe)],_0x589d88['uid']);_0xba9904['YqDIH'](_0x1226ba,Promise)&&_0x1226ba[_0x1fce17(0x1ed)](_0x528107)[_0x1fce17(0x235)](_0x453e6e);})[_0x265436(0x1ed)]();});})[_0x5b94b6(0x235)](_0x29a352=>{const _0x21b621=_0x5b94b6;_0x1d0a3f[_0x21b621(0x219)](logError,_0x1d0a3f[_0x21b621(0x21a)],_0x29a352);});})[_0x311a23(0x235)](_0x70b36a=>{const _0x2b14ea=_0x311a23;_0x1e22be[_0x2b14ea(0x20f)](logError,_0x1e22be['UIzQE'],_0x70b36a);throw new Error(_0x2b14ea(0x259)+JSON[_0x2b14ea(0x23e)](_0x70b36a));});},this[_0x197ac8(0x207)]['onQRCodeSessionFailed']=(_0xca9972,_0x1d4f17,_0x1c10ea)=>{const _0x23b2a1=_0x197ac8;_0x1e22be[_0x23b2a1(0x227)](logError,_0x23b2a1(0x1ea),_0x1c10ea),_0x1e22be[_0x23b2a1(0x226)](_0xca9972,0x1)&&_0x1d4f17==0x3&&this[_0x23b2a1(0x267)][_0x23b2a1(0x209)]();},this[_0x197ac8(0x207)][_0x197ac8(0x26e)]=_0x162b9b=>{const _0x14bf7a=_0x197ac8;_0x1e22be[_0x14bf7a(0x1d4)](logError,_0x1e22be[_0x14bf7a(0x255)],_0x162b9b);},this[_0x197ac8(0x207)]=new Proxy(this['loginListener'],this[_0x197ac8(0x242)]),this['loginService'][_0x197ac8(0x254)](new _0x39b681[(_0x197ac8(0x230))](this[_0x197ac8(0x207)])),this[_0x197ac8(0x249)]();}get[_0x1d5c36(0x1fb)](){const _0x887307=_0x1d5c36,_0x58393b={'mLArE':_0x887307(0x22e)};let _0x18f7f8=this[_0x887307(0x260)][_0x887307(0x25d)]();return!_0x18f7f8&&(_0x18f7f8=_0xa00eae[_0x887307(0x22a)](_0x3d329d[_0x887307(0x218)](),_0x58393b[_0x887307(0x287)]),_0x3854b8[_0x887307(0x269)](_0x18f7f8,{'recursive':!![]})),_0x18f7f8;}get[_0x1d5c36(0x206)](){const _0x468a49=_0x1d5c36,_0x554357={'hmyzI':_0x468a49(0x24d)};return _0xa00eae[_0x468a49(0x22a)](this[_0x468a49(0x1fb)],_0x554357['hmyzI']);}[_0x1d5c36(0x249)](){const _0x4bb68c=_0x1d5c36,_0x4e9db2={'NHXXx':'Windows\x2010\x20Pro'};this[_0x4bb68c(0x25c)][_0x4bb68c(0x22f)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x4bb68c(0x1de)],'os_version':_0x4e9db2[_0x4bb68c(0x1d7)],'use_xlog':!![],'qua':_0x4bb68c(0x229)+qqVersionConfigInfo[_0x4bb68c(0x1de)]['replace']('-','_')+_0x4bb68c(0x1fc),'global_path_config':{'desktopGlobalPath':this[_0x4bb68c(0x206)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x39b681[(_0x4bb68c(0x28a))](new GlobalAdapter())),this[_0x4bb68c(0x267)][_0x4bb68c(0x249)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x4bb68c(0x206)],'clientVer':qqVersionConfigInfo[_0x4bb68c(0x1de)],'hostName':hostname});}[_0x1d5c36(0x28b)](_0x526881,_0x293df4){const _0x8288dd=_0x1d5c36,_0x562dbb={'BlqBo':function(_0x9b5c2f,_0x5d2732){return _0x9b5c2f(_0x5d2732);},'fLxph':function(_0x3586b6,_0x2ab2bd,_0x3959b0,_0x3d1fb8){return _0x3586b6(_0x2ab2bd,_0x3959b0,_0x3d1fb8);},'IQBmo':_0x8288dd(0x1cc)};return new Promise((_0x2cf72b,_0xa47ea8)=>{const _0x5351a4=_0x8288dd,_0x381ad3={'RfYIo':function(_0x3990bb,_0x1cfecf){const _0x100ef5=_0x59c7;return _0x562dbb[_0x100ef5(0x246)](_0x3990bb,_0x1cfecf);}},_0x49093f=_0x562dbb[_0x5351a4(0x28c)](genSessionConfig,_0x526881,_0x293df4,this[_0x5351a4(0x1fb)]),_0x2ec35b=new SessionListener();_0x2ec35b['onSessionInitComplete']=_0x3bf2a3=>{if(_0x3bf2a3===0x0)return _0x2cf72b(0x0);_0x381ad3['RfYIo'](_0xa47ea8,_0x3bf2a3);},this[_0x5351a4(0x1ee)][_0x5351a4(0x27d)](_0x49093f,new _0x39b681[(_0x5351a4(0x1f6))](new DependsAdapter()),new _0x39b681[(_0x5351a4(0x1f0))](new DispatcherAdapter()),new _0x39b681[(_0x5351a4(0x26f))](_0x2ec35b));try{this['session'][_0x5351a4(0x273)](0x0);}catch(_0x4b4193){try{this[_0x5351a4(0x1ee)][_0x5351a4(0x273)]();}catch(_0xce3557){_0x562dbb[_0x5351a4(0x246)](_0xa47ea8,_0x562dbb['IQBmo']+_0xce3557);}}});}['initDataListener'](){const _0x142fe2=_0x1d5c36,_0x404d62={'WavIB':function(_0x3cb17d,_0x27f98b){return _0x3cb17d===_0x27f98b;},'EexFd':_0x142fe2(0x210),'PaRdV':function(_0xe9ec18,_0x3ff25d){return _0xe9ec18+_0x3ff25d;},'ycJYi':function(_0x5e0dfa,_0x436da5){return _0x5e0dfa+_0x436da5;},'EDalz':function(_0x4228b1,_0x787efa){return _0x4228b1===_0x787efa;},'fcWRS':function(_0x8ee367,_0x5d643a){return _0x8ee367/_0x5d643a;},'WoStC':function(_0x5c1064,_0x610d41){return _0x5c1064/_0x610d41;},'rdmIQ':function(_0x3e36bf,_0x2783e0){return _0x3e36bf!==_0x2783e0;},'bMuFx':_0x142fe2(0x24e),'icDHP':function(_0x4ddb90,_0x561b55,_0x3418b1){return _0x4ddb90(_0x561b55,_0x3418b1);}},_0x4e371a=new MsgListener();_0x4e371a[_0x142fe2(0x1e1)]=_0x32b0eb=>{const _0x275bd9=_0x142fe2,_0x1f6f53={'FjYdg':function(_0x3e79b3,_0x1ba407){return _0x404d62['WavIB'](_0x3e79b3,_0x1ba407);},'qpeeM':function(_0x41b2a2,_0x514979){return _0x41b2a2(_0x514979);},'JAdAl':function(_0x30f84c,_0x2c92b3){return _0x30f84c+_0x2c92b3;},'uOUAp':_0x404d62[_0x275bd9(0x251)]};_0x32b0eb[_0x275bd9(0x221)](_0x11a9c8=>{const _0x4252d=_0x275bd9;_0x1f6f53[_0x4252d(0x27f)](_0x11a9c8[_0x4252d(0x1dd)],0x2)&&_0x1f6f53[_0x4252d(0x1f8)](log,_0x1f6f53[_0x4252d(0x1ff)](_0x1f6f53[_0x4252d(0x1ff)](_0x1f6f53[_0x4252d(0x245)],_0x11a9c8[_0x4252d(0x20d)]),_0x4252d(0x257)));});},_0x4e371a['onKickedOffLine']=_0x31c170=>{const _0x5327fc=_0x142fe2;log(_0x404d62[_0x5327fc(0x1e2)](_0x404d62[_0x5327fc(0x1e2)](_0x404d62[_0x5327fc(0x1fd)](_0x5327fc(0x289),_0x31c170[_0x5327fc(0x212)]),']\x20'),_0x31c170[_0x5327fc(0x241)]));},_0x4e371a[_0x142fe2(0x248)]=_0x64a73e=>{const _0x29d635=_0x142fe2;stat[_0x29d635(0x1f4)]+=0x1,_0x64a73e[_0x29d635(0x221)](_0xfa6ea2=>{const _0x23a588=_0x29d635;_0x404d62[_0x23a588(0x25f)](_0xfa6ea2[_0x23a588(0x279)],'0')?dbUtil[_0x23a588(0x1e0)](_0xfa6ea2)['then']()['catch']():dbUtil['getMsgByLongId'](_0xfa6ea2[_0x23a588(0x243)])['then'](_0x5b6570=>{const _0x29dceb=_0x23a588;_0x5b6570&&(_0x5b6570[_0x29dceb(0x279)]=_0xfa6ea2['recallTime'],dbUtil['updateMsg'](_0x5b6570)[_0x29dceb(0x1ed)]());});});},_0x4e371a[_0x142fe2(0x23d)]=_0x155f05=>{const _0x3f35d4=_0x142fe2;stat[_0x3f35d4(0x264)]+=0x1,stat[_0x3f35d4(0x24b)]+=0x1,stat[_0x3f35d4(0x1f7)]=Math[_0x3f35d4(0x26a)](_0x404d62[_0x3f35d4(0x1df)](Date['now'](),0x3e8));},_0x4e371a[_0x142fe2(0x26b)]=_0x244e38=>{const _0x1238ad=_0x142fe2;stat[_0x1238ad(0x1f4)]+=0x1,stat[_0x1238ad(0x224)]+=_0x244e38[_0x1238ad(0x283)],stat['last_message_time']=Math[_0x1238ad(0x26a)](_0x404d62['WoStC'](Date['now'](),0x3e8));},_0x4e371a['onRecvSysMsg']=(..._0x5c0818)=>{const _0x3e9837=_0x142fe2;stat[_0x3e9837(0x1f4)]+=0x1;},this[_0x142fe2(0x200)](_0x4e371a);const _0x14380c=new BuddyListener();_0x14380c[_0x142fe2(0x286)]=_0x104beb=>{const _0x2a9074=_0x142fe2;rawFriends[_0x2a9074(0x283)]=0x0,rawFriends[_0x2a9074(0x268)](..._0x104beb);for(const _0x8f68c2 of _0x104beb){for(const _0x27219a of _0x8f68c2[_0x2a9074(0x244)]){const _0x194b85=friends[_0x2a9074(0x1f1)](_0x27219a['uid']);uid2UinMap[_0x27219a[_0x2a9074(0x1e4)]]=_0x27219a['uin'],_0x194b85?Object[_0x2a9074(0x237)](_0x194b85,_0x27219a):friends['set'](_0x27219a[_0x2a9074(0x1e4)],_0x27219a);}}},this[_0x142fe2(0x200)](_0x14380c),this[_0x142fe2(0x1ee)][_0x142fe2(0x1f9)]()['getBuddyList'](!![])[_0x142fe2(0x1ed)](_0xefbbf6=>{});const _0x509a7c=new ProfileListener();_0x509a7c[_0x142fe2(0x27c)]=_0x59e913=>{const _0x36066d=_0x142fe2;_0x404d62['WavIB'](_0x59e913['uid'],selfInfo['uid'])&&Object[_0x36066d(0x237)](selfInfo,_0x59e913);},_0x509a7c[_0x142fe2(0x272)]=_0x175116=>{},this['addListener'](_0x509a7c);const _0xc4c418=new GroupListener();_0xc4c418[_0x142fe2(0x28d)]=(_0x8fe70d,_0x3b7f9a)=>{const _0x369fc5=_0x142fe2,_0x29d79f={'WlYrP':function(_0xb2660c,_0x5016de){const _0x3fc717=_0x59c7;return _0x404d62[_0x3fc717(0x265)](_0xb2660c,_0x5016de);},'RFlEv':_0x404d62[_0x369fc5(0x216)]};_0x3b7f9a['map'](_0x5df45d=>{const _0x1b68a9=_0x369fc5,_0x3dc2df=groups[_0x1b68a9(0x1f1)](_0x5df45d[_0x1b68a9(0x253)]);if(_0x3dc2df&&_0x29d79f['WlYrP'](_0x5df45d[_0x1b68a9(0x1cb)],_0x3dc2df['memberCount']))Object[_0x1b68a9(0x237)](_0x3dc2df,_0x5df45d);else{groups[_0x1b68a9(0x1ef)](_0x5df45d['groupCode'],_0x5df45d);const _0x385707=this[_0x1b68a9(0x1ee)][_0x1b68a9(0x23c)]()['createMemberListScene'](_0x5df45d[_0x1b68a9(0x253)],_0x29d79f[_0x1b68a9(0x208)]);this[_0x1b68a9(0x1ee)][_0x1b68a9(0x23c)]()[_0x1b68a9(0x238)](_0x385707,undefined,0xbb8)['then'](_0x1e6ecf=>{});}});},_0xc4c418['onMemberListChange']=_0x41c308=>{const _0x50578f=_0x142fe2,_0xcaf59e=_0x41c308[_0x50578f(0x222)][_0x50578f(0x21f)]('_')[0x0];if(groupMembers[_0x50578f(0x282)](_0xcaf59e)){const _0x432578=groupMembers[_0x50578f(0x1f1)](_0xcaf59e);_0x41c308['infos'][_0x50578f(0x202)]((_0x5e90ac,_0x3d7563)=>{const _0x2e1f90=_0x50578f,_0x51bc91=_0x432578[_0x2e1f90(0x1f1)](_0x3d7563);_0x51bc91?Object[_0x2e1f90(0x237)](_0x51bc91,_0x5e90ac):_0x432578[_0x2e1f90(0x1ef)](_0x3d7563,_0x5e90ac);});}else groupMembers[_0x50578f(0x1ef)](_0xcaf59e,_0x41c308[_0x50578f(0x266)]);},_0xc4c418[_0x142fe2(0x21b)]=(_0x2ec5da,_0x4ddfa1,_0x3bf1d7)=>{const _0x3fbe20=_0x142fe2;_0x404d62['EDalz'](_0x4ddfa1,0x0)&&_0x3bf1d7[_0x3fbe20(0x1f1)](selfInfo[_0x3fbe20(0x1e4)])&&_0x3bf1d7[_0x3fbe20(0x1f1)](selfInfo[_0x3fbe20(0x1e4)])?.[_0x3fbe20(0x1fa)]&&_0x404d62[_0x3fbe20(0x250)](setTimeout,()=>{const _0x2c8c35=_0x3fbe20;groups[_0x2c8c35(0x27a)](_0x2ec5da);},0x1388);_0x3bf1d7[_0x3fbe20(0x202)]((_0x29b26d,_0x3b3ee4)=>{const _0x10b77d=_0x3fbe20;uid2UinMap[_0x3b3ee4]=_0x29b26d[_0x10b77d(0x1fe)];});const _0x1f7e57=groupMembers['get'](_0x2ec5da);_0x1f7e57?_0x3bf1d7[_0x3fbe20(0x202)]((_0x389b78,_0x1dfa7a)=>{const _0x331303=_0x3fbe20,_0x55333c=_0x1f7e57[_0x331303(0x1f1)](_0x1dfa7a);_0x55333c?Object[_0x331303(0x237)](_0x55333c,_0x389b78):_0x1f7e57['set'](_0x1dfa7a,_0x389b78);}):groupMembers[_0x3fbe20(0x1ef)](_0x2ec5da,_0x3bf1d7);},this[_0x142fe2(0x200)](_0xc4c418);}[_0x1d5c36(0x200)](_0x23f628){const _0x5a55fb=_0x1d5c36,_0x419775={'vnWhn':_0x5a55fb(0x20c),'SnFve':_0x5a55fb(0x25a)};_0x23f628=new Proxy(_0x23f628,this[_0x5a55fb(0x242)]);switch(_0x23f628[_0x5a55fb(0x27b)][_0x5a55fb(0x22d)]){case _0x419775[_0x5a55fb(0x284)]:{return this[_0x5a55fb(0x1ee)]['getBuddyService']()[_0x5a55fb(0x28e)](new _0x39b681[(_0x5a55fb(0x23b))](_0x23f628));}case'GroupListener':{return this['session']['getGroupService']()['addKernelGroupListener'](new _0x39b681[(_0x5a55fb(0x1cd))](_0x23f628));}case _0x419775['SnFve']:{return this[_0x5a55fb(0x1ee)][_0x5a55fb(0x1ce)]()[_0x5a55fb(0x280)](new _0x39b681[(_0x5a55fb(0x258))](_0x23f628));}case'ProfileListener':{return this[_0x5a55fb(0x1ee)][_0x5a55fb(0x262)]()[_0x5a55fb(0x22c)](new _0x39b681[(_0x5a55fb(0x1e6))](_0x23f628));}default:return-0x1;}}[_0x1d5c36(0x252)](_0x1395e0){this['onLoginSuccessFuncList']['push'](_0x1395e0);}async[_0x1d5c36(0x1d0)](_0x41ba2a){const _0x45014d=_0x1d5c36,_0x9e101e={'cYCQS':function(_0xeb508e,_0x16d571){return _0xeb508e!==_0x16d571;},'cYZMi':_0x45014d(0x278),'mecJK':function(_0x5024ee,_0x171993){return _0x5024ee+_0x171993;}},_0x153828=await this[_0x45014d(0x267)][_0x45014d(0x213)]();if(_0x9e101e[_0x45014d(0x204)](_0x153828[_0x45014d(0x217)],0x0))throw new Error(_0x9e101e[_0x45014d(0x205)]);const _0x350ca8=_0x153828[_0x45014d(0x285)][_0x45014d(0x1da)](_0x34d40d=>_0x34d40d['uin']===_0x41ba2a);if(!_0x350ca8||!_0x350ca8?.[_0x45014d(0x1e9)])throw new Error(_0x41ba2a+_0x45014d(0x1cf));await sleep(0x3e8);const _0x50f27b=await this[_0x45014d(0x267)][_0x45014d(0x26c)](_0x41ba2a);if(!_0x50f27b['result'])throw new Error(_0x9e101e[_0x45014d(0x20b)](_0x45014d(0x270),_0x50f27b[_0x45014d(0x256)][_0x45014d(0x1e5)]));return _0x50f27b;}async[_0x1d5c36(0x1d3)](_0x638c0a){const _0x3e4116=_0x1d5c36,_0x883b6b={'nXvEE':_0x3e4116(0x263)};return new Promise((_0x446ae4,_0x580231)=>{const _0x4605bd=_0x3e4116,_0x1b400a={'ENMVp':_0x883b6b['nXvEE'],'Dbwtd':_0x4605bd(0x1d1),'wcwvr':function(_0x115bed,_0x561cfd,_0x3b73f3,_0x40f025){return _0x115bed(_0x561cfd,_0x3b73f3,_0x40f025);}};this[_0x4605bd(0x207)][_0x4605bd(0x288)]=_0x212da8=>{const _0x1b2905=_0x4605bd,_0x578413=_0x212da8[_0x1b2905(0x1f2)][_0x1b2905(0x21f)](_0x1b400a[_0x1b2905(0x1f5)])[0x1],_0x596957=Buffer[_0x1b2905(0x1dc)](_0x578413,_0x1b400a[_0x1b2905(0x1d2)]);_0x1b400a[_0x1b2905(0x1d6)](_0x638c0a,_0x212da8[_0x1b2905(0x21e)],_0x212da8[_0x1b2905(0x1f2)],_0x596957);},this[_0x4605bd(0x267)][_0x4605bd(0x209)]();});}async[_0x1d5c36(0x261)](_0x30ee4a,_0x122983,_0x2edfa0,_0x44278b,_0x583c96){const _0x2ec51a=_0x1d5c36,_0x4b9a7d={'YjDyu':function(_0xb4558,_0x197952){return _0xb4558||_0x197952;},'NMFcI':function(_0x2569f5,_0x4f74fd){return _0x2569f5||_0x4f74fd;},'KRSZq':_0x2ec51a(0x21d),'YEXmV':_0x2ec51a(0x231)},_0x41d789=_0xa2e839[_0x2ec51a(0x271)](_0x2ec51a(0x234))[_0x2ec51a(0x25b)](_0x122983)[_0x2ec51a(0x201)](_0x2ec51a(0x26d)),_0x3ef2a6={'uin':_0x30ee4a,'passwordMd5':_0x41d789,'step':_0x2edfa0&&_0x44278b&&_0x583c96?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4b9a7d[_0x2ec51a(0x24c)](_0x2edfa0,''),'proofWaterRand':_0x44278b||'','proofWaterSid':_0x4b9a7d[_0x2ec51a(0x281)](_0x583c96,'')};await this['loginService'][_0x2ec51a(0x213)](),await sleep(0x3e8);const _0x2717bf=await this[_0x2ec51a(0x267)][_0x2ec51a(0x261)](_0x3ef2a6);switch(_0x2717bf[_0x2ec51a(0x217)]){case'0':{break;}case _0x4b9a7d[_0x2ec51a(0x236)]:{break;}case'4':case _0x4b9a7d[_0x2ec51a(0x233)]:default:}}async[_0x1d5c36(0x24a)](){const _0x1d8e19=_0x1d5c36,_0x56d6d5=await this[_0x1d8e19(0x267)][_0x1d8e19(0x213)]();return _0x56d6d5;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x1b51e1=_0x33cf;(function(_0x4e5840,_0x29e2af){const _0x1cbbb4=_0x33cf,_0x387092=_0x4e5840();while(!![]){try{const _0x2cf78b=-parseInt(_0x1cbbb4(0x222))/0x1+-parseInt(_0x1cbbb4(0x1da))/0x2*(-parseInt(_0x1cbbb4(0x1d2))/0x3)+-parseInt(_0x1cbbb4(0x25a))/0x4+-parseInt(_0x1cbbb4(0x1df))/0x5*(-parseInt(_0x1cbbb4(0x1ef))/0x6)+-parseInt(_0x1cbbb4(0x20a))/0x7*(-parseInt(_0x1cbbb4(0x1f4))/0x8)+-parseInt(_0x1cbbb4(0x1e4))/0x9+parseInt(_0x1cbbb4(0x1d9))/0xa*(-parseInt(_0x1cbbb4(0x1d8))/0xb);if(_0x2cf78b===_0x29e2af)break;else _0x387092['push'](_0x387092['shift']());}catch(_0x3d7a1){_0x387092['push'](_0x387092['shift']());}}}(_0x2f25,0xcf6cf));import _0x1c9126 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x15fd77 from'node:path';import _0x591651 from'node:os';function _0x2f25(){const _0x266f89=['addKernelProfileListener','getLoginList','QaXme','getNTUserDataInfoConfig','6811WaZDDI','proxyHandler','onQRCodeSessionFailed','loginErrorInfo','GgBNm','ZBldH','addListener','getBuddyService','clientType','updateMsg','aojEw','pngBase64QrcodeData','groupCode','initWithDeskTopConfig','./nt_qq/global','GYPNd','addKernelGroupListener','qeTTD','push','tipsTitle','createMemberListScene','util','memberCount','addKernelLoginListener','38923TlYUFc','LocalLoginInfoList','message_received','curVersion',')已登录,无法重复登录','update','140022013','homedir','groupMemberList_MainWindow','has','AVOhx','\x20has\x20no\x20method\x20','没有可快速登录的QQ号','initSession','ukWyU','undefined','resolve','replace','startNT','onQRCodeLoginSucceed','NodeIDependsAdapter','isQuickLogin','addKernelMsgListener','登录失败','engine','quickLogin','fileLogLevel','NodeIQQNTWrapperSession','账号设备(','zgMmG','getQRCodePicture','onBuddyListChange','QvbMY','quickLoginWithUin','NodeIKernelProfileListener','NodeIKernelBuddyListener','onMemberListChange','getNextMemberList','zMyGA','zzEoY','HFDHi','getBuddyList','qYuZN','nSzLE','LaNee','catch','consoleLogLevel','length','uin','YBhMp','hcMgg','loginService','packet_sent','createHash','uVomb','./.config/QQ','783264pHFJUH','qIQqX','onMsgInfoListUpdate','uid','onQRCodeGetPicture','onProfileDetailInfoChanged','pkqrt','ctaAX','_GW_B','DurEo','session','uOUGe','快速登录失败\x20','启动失败:\x20','bSQja','digest','hDHmQ',')\x20在线状态变更','sceneId','data:image/png;base64,','MRnto','constructor','onAddSendMsg','MsgListener','NodeIKernelMsgListener','oCiah','packet_received','onRecvMsg','delete','dataPathGlobal','then','last_message_time','initConfig','LsLVd','split','map','NodeIKernelLoginListener','message_sent','cabtl','GroupListener','VJlDv','zUcxt','loginListener','onLoginSuccessFuncList','IMMoA','uRRLk','set','mkdirSync','SMNSH','xSFls','FNTml','62307cxiNjA','onLoginSuccess','getMsgByLongId','uuFKo','ebHxZ','UGMNc','7271ipkETR','7180eTpUWU','22sgmhKC','initDataListener','name','assign','XHJSO','15LTiQLX','getQuickLoginList','init','onSessionInitComplete','./NapCat/data','5904783Vkorkr','onUserLoggedIn','dataPath','IlkJE','stringify','onKickedOffLine','tOdjM','lEBNX','getGroupService','qrcodeUrl','forEach','1641852sxijuD','-v2.db','result','lVGgp','NodeIKernelSessionListener','9584pzvtaP','dWyha','passwordLogin','addMsg','find','recallTime','数据库初始化失败','OLSeP','getMsgService','本账号数据/缓存目录:','tipsDesc','errMsg','addKernelBuddyListener','[KickedOffLine]\x20[','koHrK','zOyfk','get','onLineDev'];_0x2f25=function(){return _0x266f89;};return _0x2f25();}import _0x70fcfd 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 _0xa65f28 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{['session'];[_0x1b51e1(0x21f)];['engine'];[_0x1b51e1(0x1c9)];[_0x1b51e1(0x255)];['onLoginSuccessFuncList']=[];[_0x1b51e1(0x20b)]={'get'(target,prop,receiver){const _0x3e6957=_0x1b51e1,vlUtIz={'QaXme':function(x,y){return x===y;},'DurEo':_0x3e6957(0x231)};if(vlUtIz[_0x3e6957(0x208)](typeof target[prop],vlUtIz[_0x3e6957(0x263)]))return(...args)=>{const _0x550d57=_0x3e6957;logDebug(target['constructor']['name']+_0x550d57(0x22d)+prop);};return Reflect[_0x3e6957(0x204)](target,prop,receiver);}};constructor(){const _0x37c6f4=_0x1b51e1,_0x4a2a5c={'aojEw':function(_0x5199a5,_0x3aefc8){return _0x5199a5(_0x3aefc8);},'uuFKo':function(_0x26a4b8,_0x597c9a){return _0x26a4b8+_0x597c9a;},'zNPbs':'当前账号(','cabtl':_0x37c6f4(0x226),'LaNee':function(_0x3b452b,_0xaba91,_0x1fc512){return _0x3b452b(_0xaba91,_0x1fc512);},'zgMmG':'initSession\x20failed','qIQqX':_0x37c6f4(0x1fa),'pNvIY':_0x37c6f4(0x1e3),'YBhMp':function(_0x120dfc,_0x29301f,_0x31607c){return _0x120dfc(_0x29301f,_0x31607c);},'hsbUE':'登录失败','MRnto':function(_0x18ce0a,_0x437116){return _0x18ce0a==_0x437116;},'ebHxZ':function(_0x372385,_0x590798,_0x27da92){return _0x372385(_0x590798,_0x27da92);}};this[_0x37c6f4(0x23a)]=new _0x1c9126['NodeIQQNTWrapperEngine'](),this[_0x37c6f4(0x21f)]=new _0x1c9126['NodeQQNTWrapperUtil'](),this[_0x37c6f4(0x255)]=new _0x1c9126['NodeIKernelLoginService'](),this[_0x37c6f4(0x264)]=new _0x1c9126[(_0x37c6f4(0x23d))](),this[_0x37c6f4(0x1c9)]=new LoginListener(),this['loginListener'][_0x37c6f4(0x1e5)]=_0x2d2b95=>{const _0x287014=_0x37c6f4;_0x4a2a5c[_0x287014(0x214)](logError,_0x4a2a5c[_0x287014(0x1d5)](_0x4a2a5c['zNPbs'],_0x2d2b95)+_0x4a2a5c[_0x287014(0x1c5)]);},this[_0x37c6f4(0x1c9)][_0x37c6f4(0x235)]=_0x54bde2=>{const _0x5f26d2=_0x37c6f4,_0x4e44fd={'SUhpJ':function(_0x49850b,_0x49803c,_0x33fb6b){const _0x9ab625=_0x33cf;return _0x4a2a5c[_0x9ab625(0x24e)](_0x49850b,_0x49803c,_0x33fb6b);},'JpFZK':_0x4a2a5c[_0x5f26d2(0x25b)],'bSQja':function(_0x5cf71c,_0xb22b15){return _0x5cf71c(_0xb22b15);},'xSFls':_0x4a2a5c['pNvIY'],'oCiah':function(_0x41a911,_0x28981d,_0x1f1c04){const _0x16f4ac=_0x5f26d2;return _0x4a2a5c[_0x16f4ac(0x24e)](_0x41a911,_0x28981d,_0x1f1c04);},'WwpmV':_0x5f26d2(0x1fd)};this[_0x5f26d2(0x22f)](_0x54bde2[_0x5f26d2(0x252)],_0x54bde2['uid'])[_0x5f26d2(0x278)](_0x88764=>{const _0x216068=_0x5f26d2,_0x85fef0={'qeTTD':function(_0x5a78fc,_0x4bbd4d,_0x316b42){return _0x4e44fd['SUhpJ'](_0x5a78fc,_0x4bbd4d,_0x316b42);},'FNTml':function(_0xca7fb8,_0x4285ca){return _0xca7fb8 instanceof _0x4285ca;},'GIxSw':_0x4e44fd['JpFZK']};selfInfo['uin']=_0x54bde2['uin'],selfInfo[_0x216068(0x25d)]=_0x54bde2[_0x216068(0x25d)],napCatConfig['read'](),setLogLevel(napCatConfig[_0x216068(0x23c)],napCatConfig[_0x216068(0x250)]),enableFileLog(napCatConfig['fileLog']),_0x4e44fd[_0x216068(0x268)](enableConsoleLog,napCatConfig['consoleLog']),_0x4e44fd[_0x216068(0x268)](setLogSelfInfo,selfInfo);const _0x273442=_0x15fd77[_0x216068(0x232)](this[_0x216068(0x1e6)],_0x4e44fd[_0x216068(0x1d0)]);_0x70fcfd['mkdirSync'](_0x273442,{'recursive':!![]}),_0x4e44fd[_0x216068(0x273)](logDebug,_0x4e44fd['WwpmV'],_0x273442),dbUtil['init'](_0x15fd77['resolve'](_0x273442,'./'+_0x54bde2['uin']+_0x216068(0x1f0)))[_0x216068(0x278)](()=>{const _0x158ec5=_0x216068,_0x3a8439={'SMNSH':function(_0x669ab7,_0x4e425d,_0x525491){const _0x49275=_0x33cf;return _0x85fef0[_0x49275(0x21b)](_0x669ab7,_0x4e425d,_0x525491);},'ukWyU':function(_0x2e0de5,_0x512bd6){const _0x28097a=_0x33cf;return _0x85fef0[_0x28097a(0x1d1)](_0x2e0de5,_0x512bd6);}};this[_0x158ec5(0x1db)](),this[_0x158ec5(0x1ca)]['map'](_0x420b89=>{const _0x42d3ae=_0x158ec5;new Promise((_0x49adef,_0x1f830c)=>{const _0x4464b8=_0x33cf,_0x1c7e83=_0x3a8439[_0x4464b8(0x1cf)](_0x420b89,_0x54bde2[_0x4464b8(0x252)],_0x54bde2[_0x4464b8(0x25d)]);_0x3a8439[_0x4464b8(0x230)](_0x1c7e83,Promise)&&_0x1c7e83[_0x4464b8(0x278)](_0x49adef)[_0x4464b8(0x24f)](_0x1f830c);})[_0x42d3ae(0x278)]();});})[_0x216068(0x24f)](_0x48dc0d=>{const _0x1ca006=_0x216068;_0x85fef0[_0x1ca006(0x21b)](logError,_0x85fef0['GIxSw'],_0x48dc0d);});})[_0x5f26d2(0x24f)](_0x191f9c=>{const _0x291b27=_0x5f26d2;_0x4a2a5c['LaNee'](logError,_0x4a2a5c[_0x291b27(0x23f)],_0x191f9c);throw new Error(_0x291b27(0x267)+JSON[_0x291b27(0x1e8)](_0x191f9c));});},this['loginListener'][_0x37c6f4(0x20c)]=(_0x54356f,_0x1450f8,_0x28a4f0)=>{const _0x125803=_0x37c6f4;_0x4a2a5c[_0x125803(0x253)](logError,_0x4a2a5c['hsbUE'],_0x28a4f0),_0x4a2a5c[_0x125803(0x26e)](_0x54356f,0x1)&&_0x1450f8==0x3&&this['loginService'][_0x125803(0x240)]();},this[_0x37c6f4(0x1c9)]['onLoginFailed']=_0x26be01=>{const _0x4cf072=_0x37c6f4;_0x4a2a5c[_0x4cf072(0x1d6)](logError,_0x4cf072(0x239),_0x26be01);},this['loginListener']=new Proxy(this[_0x37c6f4(0x1c9)],this[_0x37c6f4(0x20b)]),this[_0x37c6f4(0x255)][_0x37c6f4(0x221)](new _0x1c9126[(_0x37c6f4(0x1c3))](this[_0x37c6f4(0x1c9)])),this[_0x37c6f4(0x27a)]();}get[_0x1b51e1(0x1e6)](){const _0xc4fe4a=_0x1b51e1;let _0x9d6613=this[_0xc4fe4a(0x21f)][_0xc4fe4a(0x209)]();return!_0x9d6613&&(_0x9d6613=_0x15fd77[_0xc4fe4a(0x232)](_0x591651[_0xc4fe4a(0x229)](),_0xc4fe4a(0x259)),_0x70fcfd[_0xc4fe4a(0x1ce)](_0x9d6613,{'recursive':!![]})),_0x9d6613;}get['dataPathGlobal'](){const _0xc9448b=_0x1b51e1,_0x52ca6f={'zMyGA':_0xc9448b(0x218)};return _0x15fd77[_0xc9448b(0x232)](this[_0xc9448b(0x1e6)],_0x52ca6f[_0xc9448b(0x248)]);}[_0x1b51e1(0x27a)](){const _0x295a3a=_0x1b51e1;this[_0x295a3a(0x23a)][_0x295a3a(0x217)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x295a3a(0x225)],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x295a3a(0x225)][_0x295a3a(0x233)]('-','_')+_0x295a3a(0x262),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1c9126['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService'][_0x295a3a(0x27a)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x295a3a(0x277)],'clientVer':qqVersionConfigInfo[_0x295a3a(0x225)],'hostName':hostname});}['initSession'](_0x1b2307,_0x4ea7ce){const _0x1a4442={'ZBldH':function(_0x3594fa,_0x104196){return _0x3594fa(_0x104196);},'VJlDv':function(_0x591f21,_0x59b2c0){return _0x591f21(_0x59b2c0);},'QvbMY':function(_0x5ea87b,_0x591ac4,_0x236444,_0x6da74f){return _0x5ea87b(_0x591ac4,_0x236444,_0x6da74f);},'dWyha':'init\x20failed\x20'};return new Promise((_0x37a163,_0x1ffb32)=>{const _0x4ddc6b=_0x33cf,_0x108c6a=_0x1a4442[_0x4ddc6b(0x242)](genSessionConfig,_0x1b2307,_0x4ea7ce,this[_0x4ddc6b(0x1e6)]),_0x1e5bc1=new SessionListener();_0x1e5bc1[_0x4ddc6b(0x1e2)]=_0x463743=>{const _0xe520c8=_0x4ddc6b;if(_0x463743===0x0)return _0x1a4442[_0xe520c8(0x20f)](_0x37a163,0x0);_0x1a4442[_0xe520c8(0x1c7)](_0x1ffb32,_0x463743);},this['session'][_0x4ddc6b(0x1e1)](_0x108c6a,new _0x1c9126[(_0x4ddc6b(0x236))](new DependsAdapter()),new _0x1c9126['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x1c9126[(_0x4ddc6b(0x1f3))](_0x1e5bc1));try{this[_0x4ddc6b(0x264)][_0x4ddc6b(0x234)](0x0);}catch(_0x887cf8){try{this['session']['startNT']();}catch(_0x30636e){_0x1ffb32(_0x1a4442[_0x4ddc6b(0x1f5)]+_0x30636e);}}});}['initDataListener'](){const _0x21a471=_0x1b51e1,_0x2e5eef={'LsLVd':function(_0x3549bc,_0x22b2fe){return _0x3549bc===_0x22b2fe;},'ruqDl':function(_0x345647,_0x216f07){return _0x345647(_0x216f07);},'GYPNd':function(_0x42bcf2,_0x5538d5){return _0x42bcf2+_0x5538d5;},'tOdjM':function(_0x32fb98,_0x1d4141){return _0x32fb98+_0x1d4141;},'gUccH':_0x21a471(0x23e),'mbDfK':_0x21a471(0x26b),'ctaAX':function(_0x25ca9c,_0x5ebee4){return _0x25ca9c+_0x5ebee4;},'IlkJE':_0x21a471(0x201),'pkqrt':function(_0x53d0d1,_0x5a573e){return _0x53d0d1/_0x5a573e;},'uRRLk':function(_0x6c6201,_0x1df2d7){return _0x6c6201/_0x1df2d7;},'IMMoA':function(_0x53938e,_0x5c9427){return _0x53938e===_0x5c9427;},'JICsU':_0x21a471(0x22a),'OLSeP':function(_0x36dd67,_0x688008,_0x17b22b){return _0x36dd67(_0x688008,_0x17b22b);}},_0x3482d0=new MsgListener();_0x3482d0[_0x21a471(0x205)]=_0x43845a=>{const _0x58c254=_0x21a471;_0x43845a[_0x58c254(0x1c2)](_0x1b856a=>{const _0x3d69e=_0x58c254;_0x2e5eef[_0x3d69e(0x27b)](_0x1b856a[_0x3d69e(0x212)],0x2)&&_0x2e5eef['ruqDl'](log,_0x2e5eef[_0x3d69e(0x219)](_0x2e5eef[_0x3d69e(0x1ea)](_0x2e5eef['gUccH'],_0x1b856a['devUid']),_0x2e5eef['mbDfK']));});},_0x3482d0[_0x21a471(0x1e9)]=_0x5039be=>{const _0x2347e0=_0x21a471;log(_0x2e5eef['ctaAX'](_0x2e5eef[_0x2347e0(0x261)](_0x2e5eef[_0x2347e0(0x1e7)],_0x5039be[_0x2347e0(0x21d)])+']\x20',_0x5039be[_0x2347e0(0x1fe)]));},_0x3482d0[_0x21a471(0x25c)]=_0x576305=>{const _0x5e85cd=_0x21a471;stat[_0x5e85cd(0x274)]+=0x1,_0x576305['map'](_0x2c2617=>{const _0x507777=_0x5e85cd;_0x2e5eef[_0x507777(0x27b)](_0x2c2617[_0x507777(0x1f9)],'0')?dbUtil[_0x507777(0x1f7)](_0x2c2617)['then']()['catch']():dbUtil[_0x507777(0x1d4)](_0x2c2617['msgId'])[_0x507777(0x278)](_0x199e3f=>{const _0x341802=_0x507777;_0x199e3f&&(_0x199e3f[_0x341802(0x1f9)]=_0x2c2617['recallTime'],dbUtil[_0x341802(0x213)](_0x199e3f)[_0x341802(0x278)]());});});},_0x3482d0[_0x21a471(0x270)]=_0x2bb89f=>{const _0x3ac646=_0x21a471;stat[_0x3ac646(0x256)]+=0x1,stat[_0x3ac646(0x1c4)]+=0x1,stat['last_message_time']=Math['floor'](_0x2e5eef[_0x3ac646(0x260)](Date['now'](),0x3e8));},_0x3482d0[_0x21a471(0x275)]=_0x45a910=>{const _0x16fefb=_0x21a471;stat['packet_received']+=0x1,stat[_0x16fefb(0x224)]+=_0x45a910[_0x16fefb(0x251)],stat[_0x16fefb(0x279)]=Math['floor'](_0x2e5eef[_0x16fefb(0x1cc)](Date['now'](),0x3e8));},_0x3482d0['onRecvSysMsg']=(..._0x13c99c)=>{stat['packet_received']+=0x1;},this[_0x21a471(0x210)](_0x3482d0);const _0x355cee=new BuddyListener();_0x355cee[_0x21a471(0x241)]=_0x513e2a=>{const _0x1ab790=_0x21a471;rawFriends[_0x1ab790(0x251)]=0x0,rawFriends['push'](..._0x513e2a);for(const _0x5b95aa of _0x513e2a){for(const _0x30ebb7 of _0x5b95aa['buddyList']){const _0x79d14f=friends['get'](_0x30ebb7['uid']);uid2UinMap[_0x30ebb7['uid']]=_0x30ebb7['uin'],_0x79d14f?Object[_0x1ab790(0x1dd)](_0x79d14f,_0x30ebb7):friends['set'](_0x30ebb7[_0x1ab790(0x25d)],_0x30ebb7);}}},this[_0x21a471(0x210)](_0x355cee),this[_0x21a471(0x264)][_0x21a471(0x211)]()[_0x21a471(0x24b)](!![])[_0x21a471(0x278)](_0x19d883=>{});const _0x575390=new ProfileListener();_0x575390[_0x21a471(0x25f)]=_0x344c61=>{const _0xa1ca98=_0x21a471;_0x2e5eef[_0xa1ca98(0x1cb)](_0x344c61['uid'],selfInfo['uid'])&&Object[_0xa1ca98(0x1dd)](selfInfo,_0x344c61);},_0x575390['onSelfStatusChanged']=_0x32eff9=>{},this[_0x21a471(0x210)](_0x575390);const _0x42daa2=new GroupListener();_0x42daa2['onGroupListUpdate']=(_0x5cbb8c,_0x4d2ca0)=>{const _0x307237=_0x21a471,_0x11a377={'uOUGe':function(_0x3bc40b,_0x28bc4e){return _0x3bc40b===_0x28bc4e;},'zOyfk':_0x2e5eef['JICsU']};_0x4d2ca0[_0x307237(0x1c2)](_0x482369=>{const _0x278d35=_0x307237,_0x2472ba=groups['get'](_0x482369[_0x278d35(0x216)]);if(_0x2472ba&&_0x11a377[_0x278d35(0x265)](_0x482369[_0x278d35(0x220)],_0x2472ba['memberCount']))Object['assign'](_0x2472ba,_0x482369);else{groups[_0x278d35(0x1cd)](_0x482369[_0x278d35(0x216)],_0x482369);const _0x346c02=this[_0x278d35(0x264)][_0x278d35(0x1ec)]()[_0x278d35(0x21e)](_0x482369['groupCode'],_0x11a377[_0x278d35(0x203)]);this[_0x278d35(0x264)]['getGroupService']()[_0x278d35(0x247)](_0x346c02,undefined,0xbb8)[_0x278d35(0x278)](_0x476f80=>{});}});},_0x42daa2[_0x21a471(0x246)]=_0x71c5ec=>{const _0x21ea13=_0x21a471,_0x1f9a11=_0x71c5ec[_0x21ea13(0x26c)]['split']('_')[0x0];if(groupMembers[_0x21ea13(0x22b)](_0x1f9a11)){const _0x5de030=groupMembers[_0x21ea13(0x204)](_0x1f9a11);_0x71c5ec['infos']['forEach']((_0x26097c,_0x227b15)=>{const _0x4e6a3f=_0x21ea13,_0x160078=_0x5de030['get'](_0x227b15);_0x160078?Object[_0x4e6a3f(0x1dd)](_0x160078,_0x26097c):_0x5de030[_0x4e6a3f(0x1cd)](_0x227b15,_0x26097c);});}else groupMembers['set'](_0x1f9a11,_0x71c5ec['infos']);},_0x42daa2['onMemberInfoChange']=(_0xcaa6b0,_0x457d0d,_0x45b5aa)=>{const _0x4ffca1=_0x21a471;_0x457d0d===0x0&&_0x45b5aa[_0x4ffca1(0x204)](selfInfo[_0x4ffca1(0x25d)])&&_0x45b5aa[_0x4ffca1(0x204)](selfInfo[_0x4ffca1(0x25d)])?.['isDelete']&&_0x2e5eef[_0x4ffca1(0x1fb)](setTimeout,()=>{const _0x1d741c=_0x4ffca1;groups[_0x1d741c(0x276)](_0xcaa6b0);},0x1388);_0x45b5aa[_0x4ffca1(0x1ee)]((_0x2bdd20,_0x5ad20b)=>{const _0x3ad9bd=_0x4ffca1;uid2UinMap[_0x5ad20b]=_0x2bdd20[_0x3ad9bd(0x252)];});const _0x23b6a5=groupMembers[_0x4ffca1(0x204)](_0xcaa6b0);_0x23b6a5?_0x45b5aa[_0x4ffca1(0x1ee)]((_0x3f0149,_0x1ba5d3)=>{const _0x357b14=_0x4ffca1,_0x123239=_0x23b6a5['get'](_0x1ba5d3);_0x123239?Object[_0x357b14(0x1dd)](_0x123239,_0x3f0149):_0x23b6a5[_0x357b14(0x1cd)](_0x1ba5d3,_0x3f0149);}):groupMembers[_0x4ffca1(0x1cd)](_0xcaa6b0,_0x45b5aa);},this[_0x21a471(0x210)](_0x42daa2);}['addListener'](_0x202d03){const _0xe91207=_0x1b51e1,_0x55da6e={'hDHmQ':'BuddyListener','qYuZN':_0xe91207(0x1c6),'lVGgp':_0xe91207(0x271),'zUcxt':'ProfileListener'};_0x202d03=new Proxy(_0x202d03,this['proxyHandler']);switch(_0x202d03[_0xe91207(0x26f)][_0xe91207(0x1dc)]){case _0x55da6e[_0xe91207(0x26a)]:{return this['session'][_0xe91207(0x211)]()[_0xe91207(0x200)](new _0x1c9126[(_0xe91207(0x245))](_0x202d03));}case _0x55da6e[_0xe91207(0x24c)]:{return this[_0xe91207(0x264)][_0xe91207(0x1ec)]()[_0xe91207(0x21a)](new _0x1c9126['NodeIKernelGroupListener'](_0x202d03));}case _0x55da6e[_0xe91207(0x1f2)]:{return this['session'][_0xe91207(0x1fc)]()[_0xe91207(0x238)](new _0x1c9126[(_0xe91207(0x272))](_0x202d03));}case _0x55da6e[_0xe91207(0x1c8)]:{return this[_0xe91207(0x264)]['getProfileService']()[_0xe91207(0x206)](new _0x1c9126[(_0xe91207(0x244))](_0x202d03));}default:return-0x1;}}[_0x1b51e1(0x1d3)](_0x438418){const _0x5c1e5d=_0x1b51e1;this[_0x5c1e5d(0x1ca)][_0x5c1e5d(0x21c)](_0x438418);}async[_0x1b51e1(0x23b)](_0x447008){const _0x451ab0=_0x1b51e1,_0x1fba67={'koHrK':function(_0x50e0e9,_0x5acfd3){return _0x50e0e9+_0x5acfd3;}},_0xdbdffd=await this['loginService'][_0x451ab0(0x207)]();if(_0xdbdffd[_0x451ab0(0x1f1)]!==0x0)throw new Error(_0x451ab0(0x22e));const _0x3447de=_0xdbdffd[_0x451ab0(0x223)][_0x451ab0(0x1f8)](_0x577997=>_0x577997[_0x451ab0(0x252)]===_0x447008);if(!_0x3447de||!_0x3447de?.[_0x451ab0(0x237)])throw new Error(_0x447008+'快速登录不可用');await sleep(0x3e8);const _0x4686dd=await this[_0x451ab0(0x255)][_0x451ab0(0x243)](_0x447008);if(!_0x4686dd['result'])throw new Error(_0x1fba67[_0x451ab0(0x202)](_0x451ab0(0x266),_0x4686dd[_0x451ab0(0x20d)][_0x451ab0(0x1ff)]));return _0x4686dd;}async['qrLogin'](_0x2c7d55){const _0x128585=_0x1b51e1,_0x1cab2b={'AVOhx':_0x128585(0x26d),'HFDHi':'base64'};return new Promise((_0x44308c,_0xd2e42a)=>{const _0x108050=_0x128585,_0xedfb4={'XHJSO':_0x1cab2b[_0x108050(0x22c)],'nSzLE':_0x1cab2b[_0x108050(0x24a)],'ZsWJJ':function(_0x5aa676,_0x2fc15d,_0x409335,_0x3e3097){return _0x5aa676(_0x2fc15d,_0x409335,_0x3e3097);}};this[_0x108050(0x1c9)][_0x108050(0x25e)]=_0x81f0dc=>{const _0x640e4d=_0x108050,_0x33042d=_0x81f0dc[_0x640e4d(0x215)][_0x640e4d(0x27c)](_0xedfb4[_0x640e4d(0x1de)])[0x1],_0x305ba7=Buffer['from'](_0x33042d,_0xedfb4[_0x640e4d(0x24d)]);_0xedfb4['ZsWJJ'](_0x2c7d55,_0x81f0dc[_0x640e4d(0x1ed)],_0x81f0dc[_0x640e4d(0x215)],_0x305ba7);},this[_0x108050(0x255)][_0x108050(0x240)]();});}async[_0x1b51e1(0x1f6)](_0x544721,_0x4e2a0c,_0x584046,_0x4c6a2c,_0x2c30de){const _0x565979=_0x1b51e1,_0x359a81={'hcMgg':'md5','lEBNX':'hex','GgBNm':function(_0x3a0598,_0x31c86b){return _0x3a0598&&_0x31c86b;},'SljqQ':function(_0x15227f,_0x338f2c){return _0x15227f||_0x338f2c;},'UGMNc':function(_0x231dac,_0x3a6483){return _0x231dac||_0x3a6483;},'zzEoY':function(_0x3e6244,_0x17b62f){return _0x3e6244||_0x17b62f;},'uVomb':'140022008','hoHwr':_0x565979(0x228)},_0x1e0b1f=_0xa65f28[_0x565979(0x257)](_0x359a81[_0x565979(0x254)])[_0x565979(0x227)](_0x4e2a0c)[_0x565979(0x269)](_0x359a81[_0x565979(0x1eb)]),_0x372952={'uin':_0x544721,'passwordMd5':_0x1e0b1f,'step':_0x359a81[_0x565979(0x20e)](_0x584046,_0x4c6a2c)&&_0x2c30de?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x359a81['SljqQ'](_0x584046,''),'proofWaterRand':_0x359a81[_0x565979(0x1d7)](_0x4c6a2c,''),'proofWaterSid':_0x359a81[_0x565979(0x249)](_0x2c30de,'')};await this[_0x565979(0x255)][_0x565979(0x207)](),await sleep(0x3e8);const _0x4a042a=await this[_0x565979(0x255)][_0x565979(0x1f6)](_0x372952);switch(_0x4a042a['result']){case'0':{break;}case _0x359a81[_0x565979(0x258)]:{break;}case'4':case _0x359a81['hoHwr']:default:}}async[_0x1b51e1(0x1e0)](){const _0x387ef7=_0x1b51e1,_0x2b775c=await this[_0x387ef7(0x255)][_0x387ef7(0x207)]();return _0x2b775c;}}function _0x33cf(_0x1ceb47,_0x1c2103){const _0x2f2513=_0x2f25();return _0x33cf=function(_0x33cf01,_0x3419a2){_0x33cf01=_0x33cf01-0x1c2;let _0x457926=_0x2f2513[_0x33cf01];return _0x457926;},_0x33cf(_0x1ceb47,_0x1c2103);}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 56683a18..f0dc135e 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x684e1c=_0x5e2e;(function(_0x273df6,_0x3d0590){const _0x2e2059=_0x5e2e,_0x44525d=_0x273df6();while(!![]){try{const _0x523fb5=parseInt(_0x2e2059(0x14b))/0x1*(parseInt(_0x2e2059(0x14c))/0x2)+-parseInt(_0x2e2059(0x14e))/0x3+parseInt(_0x2e2059(0x145))/0x4*(parseInt(_0x2e2059(0x13e))/0x5)+-parseInt(_0x2e2059(0x142))/0x6*(parseInt(_0x2e2059(0x140))/0x7)+-parseInt(_0x2e2059(0x152))/0x8*(-parseInt(_0x2e2059(0x14d))/0x9)+-parseInt(_0x2e2059(0x153))/0xa+parseInt(_0x2e2059(0x144))/0xb*(-parseInt(_0x2e2059(0x13f))/0xc);if(_0x523fb5===_0x3d0590)break;else _0x44525d['push'](_0x44525d['shift']());}catch(_0x363429){_0x44525d['push'](_0x44525d['shift']());}}}(_0x2985,0x71a59));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x55b07e){const _0x657923=_0x5e2e;groups[_0x657923(0x148)](_0x55b07e),groupMembers['delete'](_0x55b07e);}function _0x5e2e(_0x527cee,_0x2f3db3){const _0x298502=_0x2985();return _0x5e2e=function(_0x5e2e09,_0x4ff203){_0x5e2e09=_0x5e2e09-0x139;let _0x29449c=_0x298502[_0x5e2e09];return _0x29449c;},_0x5e2e(_0x527cee,_0x2f3db3);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x684e1c(0x13c)};export async function getFriend(_0x9c0838){const _0x20435b=_0x684e1c;_0x9c0838=_0x9c0838[_0x20435b(0x13d)]();if(isNumeric(_0x9c0838)){const _0x3f000a=Array[_0x20435b(0x151)](friends[_0x20435b(0x147)]());return _0x3f000a[_0x20435b(0x14f)](_0x24a897=>_0x24a897[_0x20435b(0x141)]===_0x9c0838);}else return friends['get'](_0x9c0838);}export async function getGroup(_0x322b57){const _0x74bf25=_0x684e1c;let _0x5241fd=groups[_0x74bf25(0x146)](_0x322b57['toString']());if(!_0x5241fd)try{const _0x48425c=await NTQQGroupApi['getGroups']();_0x48425c[_0x74bf25(0x13b)]&&_0x48425c[_0x74bf25(0x143)](_0x377cac=>{const _0x4e13b9=_0x74bf25;groups[_0x4e13b9(0x150)](_0x377cac[_0x4e13b9(0x139)],_0x377cac);});}catch(_0x1883ec){return undefined;}return _0x5241fd=groups[_0x74bf25(0x146)](_0x322b57[_0x74bf25(0x13d)]()),_0x5241fd;}function _0x2985(){const _0x265b81=['ZFhBd','length','NapCat未能正常启动,请检查日志查看错误','toString','3814390nDvQDd','48MJNUYq','406cOavac','uin','48126OoxIMu','forEach','603559gYiyEY','4oImIom','get','values','delete','getGroupMembers','Ngzhf','48003wYPQVt','4DOvPeB','9awoFdd','847089GtggOC','find','set','from','5937336QCNkcI','1684970uPTkjv','groupCode'];_0x2985=function(){return _0x265b81;};return _0x2985();}export async function getGroupMember(_0x38c41b,_0x3019){const _0x2bc5ae=_0x684e1c,_0x4ccc68={'Ngzhf':function(_0x727cc9){return _0x727cc9();}};_0x38c41b=_0x38c41b[_0x2bc5ae(0x13d)](),_0x3019=_0x3019['toString']();let _0xc902bb=groupMembers['get'](_0x38c41b);if(!_0xc902bb)try{_0xc902bb=await NTQQGroupApi[_0x2bc5ae(0x149)](_0x38c41b),groupMembers['set'](_0x38c41b,_0xc902bb);}catch(_0xe5f38a){return null;}const _0x281ac8=()=>{const _0x5105d3=_0x2bc5ae;let _0x42b414=undefined;return isNumeric(_0x3019)?_0x42b414=Array[_0x5105d3(0x151)](_0xc902bb['values']())[_0x5105d3(0x14f)](_0x2a55c5=>_0x2a55c5[_0x5105d3(0x141)]===_0x3019):_0x42b414=_0xc902bb['get'](_0x3019),_0x42b414;};let _0x4f288e=_0x4ccc68[_0x2bc5ae(0x14a)](_0x281ac8);return!_0x4f288e&&(_0xc902bb=await NTQQGroupApi['getGroupMembers'](_0x38c41b),_0x4f288e=_0x4ccc68[_0x2bc5ae(0x14a)](_0x281ac8)),_0x4f288e;}export const uid2UinMap={};export function getUidByUin(_0x2b4f16){const _0x2377a4=_0x684e1c,_0x1ada14={'ZFhBd':function(_0x581338,_0x1feb4d){return _0x581338===_0x1feb4d;}};for(const _0x319065 in uid2UinMap){if(_0x1ada14[_0x2377a4(0x13a)](uid2UinMap[_0x319065],_0x2b4f16))return _0x319065;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +function _0x1e9c(){const _0x447d40=['set','6dTpiBU','toString','5086xmspbx','3518383QspPdD','2647393kSNvhj','Dmiix','uin','values','getGroups','795xSaWuO','oAVBh','3832jaSWpx','7627944RNryNB','delete','351mulPEA','find','6097446JtIhsz','NapCat未能正常启动,请检查日志查看错误','length','from','getGroupMembers','72494eRuxkp','JdDYt','get','50nBgkIg'];_0x1e9c=function(){return _0x447d40;};return _0x1e9c();}const _0x3e979e=_0x48f4;(function(_0x5a0e64,_0x266733){const _0x55ca6c=_0x48f4,_0x3a2fab=_0x5a0e64();while(!![]){try{const _0x262a03=parseInt(_0x55ca6c(0x1fc))/0x1+-parseInt(_0x55ca6c(0x203))/0x2*(-parseInt(_0x55ca6c(0x1f5))/0x3)+parseInt(_0x55ca6c(0x1f2))/0x4*(-parseInt(_0x55ca6c(0x1f0))/0x5)+-parseInt(_0x55ca6c(0x201))/0x6*(-parseInt(_0x55ca6c(0x205))/0x7)+parseInt(_0x55ca6c(0x1f3))/0x8+parseInt(_0x55ca6c(0x1f7))/0x9+parseInt(_0x55ca6c(0x1ff))/0xa*(-parseInt(_0x55ca6c(0x204))/0xb);if(_0x262a03===_0x266733)break;else _0x3a2fab['push'](_0x3a2fab['shift']());}catch(_0x211806){_0x3a2fab['push'](_0x3a2fab['shift']());}}}(_0x1e9c,0x993a8));import{isNumeric}from'@/common/utils/helper';function _0x48f4(_0x4c2439,_0x458292){const _0x1e9c8f=_0x1e9c();return _0x48f4=function(_0x48f4f9,_0x550b1d){_0x48f4f9=_0x48f4f9-0x1f0;let _0x5effea=_0x1e9c8f[_0x48f4f9];return _0x5effea;},_0x48f4(_0x4c2439,_0x458292);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x43443e){const _0x2581d1=_0x48f4;groups['delete'](_0x43443e),groupMembers[_0x2581d1(0x1f4)](_0x43443e);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x3e979e(0x1f8)};export async function getFriend(_0x35624a){const _0x5ad968=_0x3e979e;_0x35624a=_0x35624a['toString']();if(isNumeric(_0x35624a)){const _0x28b0c4=Array[_0x5ad968(0x1fa)](friends['values']());return _0x28b0c4[_0x5ad968(0x1f6)](_0x77f617=>_0x77f617[_0x5ad968(0x207)]===_0x35624a);}else return friends['get'](_0x35624a);}export async function getGroup(_0x2928c8){const _0x431367=_0x3e979e;let _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]());if(!_0x32197f)try{const _0x48aad6=await NTQQGroupApi[_0x431367(0x209)]();_0x48aad6[_0x431367(0x1f9)]&&_0x48aad6['forEach'](_0x1068b5=>{const _0x459d61=_0x431367;groups[_0x459d61(0x200)](_0x1068b5['groupCode'],_0x1068b5);});}catch(_0x288b9a){return undefined;}return _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]()),_0x32197f;}export async function getGroupMember(_0x2984f9,_0x5acbf1){const _0x41f643=_0x3e979e,_0x2f7e06={'JdDYt':function(_0x5ed1b8,_0x276ae8){return _0x5ed1b8(_0x276ae8);},'Dmiix':function(_0x15a7c1){return _0x15a7c1();}};_0x2984f9=_0x2984f9[_0x41f643(0x202)](),_0x5acbf1=_0x5acbf1[_0x41f643(0x202)]();let _0x17269a=groupMembers['get'](_0x2984f9);if(!_0x17269a)try{_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),groupMembers[_0x41f643(0x200)](_0x2984f9,_0x17269a);}catch(_0x28b61a){return null;}const _0x1dc81f=()=>{const _0x5291ec=_0x41f643;let _0x423f1a=undefined;return _0x2f7e06[_0x5291ec(0x1fd)](isNumeric,_0x5acbf1)?_0x423f1a=Array[_0x5291ec(0x1fa)](_0x17269a[_0x5291ec(0x208)]())['find'](_0x260cea=>_0x260cea['uin']===_0x5acbf1):_0x423f1a=_0x17269a[_0x5291ec(0x1fe)](_0x5acbf1),_0x423f1a;};let _0x228b6c=_0x2f7e06[_0x41f643(0x206)](_0x1dc81f);return!_0x228b6c&&(_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),_0x228b6c=_0x1dc81f()),_0x228b6c;}export const uid2UinMap={};export function getUidByUin(_0x6a6856){const _0x281b58=_0x3e979e,_0x17392b={'oAVBh':function(_0x43f456,_0x451ad7){return _0x43f456===_0x451ad7;}};for(const _0x3df1c5 in uid2UinMap){if(_0x17392b[_0x281b58(0x1f1)](uid2UinMap[_0x3df1c5],_0x6a6856))return _0x3df1c5;}}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 b5638886..690d1104 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x1b0364,_0x4ede44){var _0x3ace02=_0x2d3c,_0x37927a=_0x1b0364();while(!![]){try{var _0x44d3ea=parseInt(_0x3ace02(0x1e2))/0x1*(parseInt(_0x3ace02(0x1e8))/0x2)+parseInt(_0x3ace02(0x1df))/0x3*(parseInt(_0x3ace02(0x1ec))/0x4)+parseInt(_0x3ace02(0x1ed))/0x5*(parseInt(_0x3ace02(0x1ea))/0x6)+parseInt(_0x3ace02(0x1f0))/0x7+parseInt(_0x3ace02(0x1e0))/0x8+-parseInt(_0x3ace02(0x1e4))/0x9*(parseInt(_0x3ace02(0x1eb))/0xa)+-parseInt(_0x3ace02(0x1ee))/0xb;if(_0x44d3ea===_0x4ede44)break;else _0x37927a['push'](_0x37927a['shift']());}catch(_0xf2274f){_0x37927a['push'](_0x37927a['shift']());}}}(_0x5d35,0xda027));function _0x5d35(){var _0x56b177=['UMYbs','3252khkeZt','miapj','9653364huoPWo','3|4|1|2|0','nfCPO','mItLj','132xHCOQL','split','318ZNCXAb','10IfCwlz','20OHoCaV','53645vjjxCt','36541417AZJpXZ','AUDIO','8955569pyicsN','OTHER','DOCUMENT','IMAGE','999453arEvoi','12472952lcozqR'];_0x5d35=function(){return _0x56b177;};return _0x5d35();}function _0x2d3c(_0x22b203,_0x335719){var _0x5d3544=_0x5d35();return _0x2d3c=function(_0x2d3c1d,_0x2b08de){_0x2d3c1d=_0x2d3c1d-0x1de;var _0x560f6=_0x5d3544[_0x2d3c1d];return _0x560f6;},_0x2d3c(_0x22b203,_0x335719);};export var CacheFileType;(function(_0x346960){var _0xd98d11=_0x2d3c,_0xbfac36={'IaGIu':_0xd98d11(0x1e5),'miapj':'OTHER','nfCPO':_0xd98d11(0x1ef),'mItLj':_0xd98d11(0x1de),'UMYbs':'VIDEO'},_0x115f07=_0xbfac36['IaGIu'][_0xd98d11(0x1e9)]('|'),_0xc50414=0x0;while(!![]){switch(_0x115f07[_0xc50414++]){case'0':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e3)]]=0x4]=_0xd98d11(0x1f1);continue;case'1':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e6)]]=0x2]=_0xbfac36[_0xd98d11(0x1e6)];continue;case'2':_0x346960[_0x346960['DOCUMENT']=0x3]=_0xd98d11(0x1f2);continue;case'3':_0x346960[_0x346960[_0xd98d11(0x1de)]=0x0]=_0xbfac36[_0xd98d11(0x1e7)];continue;case'4':_0x346960[_0x346960[_0xbfac36[_0xd98d11(0x1e1)]]=0x1]=_0xbfac36[_0xd98d11(0x1e1)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x2785(_0x53a375,_0x5ad036){var _0xea5dc3=_0xea5d();return _0x2785=function(_0x27858a,_0xc4f20f){_0x27858a=_0x27858a-0x1b3;var _0xb85139=_0xea5dc3[_0x27858a];return _0xb85139;},_0x2785(_0x53a375,_0x5ad036);}(function(_0xa9ba95,_0x2d8d2b){var _0x24af7d=_0x2785,_0x4b628c=_0xa9ba95();while(!![]){try{var _0x40c8f8=parseInt(_0x24af7d(0x1bd))/0x1*(-parseInt(_0x24af7d(0x1b5))/0x2)+-parseInt(_0x24af7d(0x1b8))/0x3+parseInt(_0x24af7d(0x1c5))/0x4+parseInt(_0x24af7d(0x1c0))/0x5+parseInt(_0x24af7d(0x1b4))/0x6*(parseInt(_0x24af7d(0x1c1))/0x7)+-parseInt(_0x24af7d(0x1ba))/0x8*(parseInt(_0x24af7d(0x1b9))/0x9)+-parseInt(_0x24af7d(0x1c6))/0xa;if(_0x40c8f8===_0x2d8d2b)break;else _0x4b628c['push'](_0x4b628c['shift']());}catch(_0x3970b){_0x4b628c['push'](_0x4b628c['shift']());}}}(_0xea5d,0x52f94));function _0xea5d(){var _0x1dc2c0=['2038940AyFeQR','ejEHv','223134givfsc','10pJuhtm','IMriL','AUDIO','138051FrTync','477dOtuPj','16144xcnwwD','0|3|1|4|2','lDvXO','37775uEIhvB','uYeNv','split','833065LRDNfU','98wgeBtc','KXJaw','DOCUMENT','IMAGE','793364lWHHle'];_0xea5d=function(){return _0x1dc2c0;};return _0xea5d();};export var CacheFileType;(function(_0x228ea3){var _0x1c26c0=_0x2785,_0xe76f57={'KXJaw':_0x1c26c0(0x1c4),'lDvXO':_0x1c26c0(0x1b7),'IMriL':'OTHER','ejEHv':'VIDEO','uYeNv':_0x1c26c0(0x1c3)},_0x32bb0c=_0x1c26c0(0x1bb)[_0x1c26c0(0x1bf)]('|'),_0x15d8b9=0x0;while(!![]){switch(_0x32bb0c[_0x15d8b9++]){case'0':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1c2)]]=0x0]=_0xe76f57[_0x1c26c0(0x1c2)];continue;case'1':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1bc)]]=0x2]=_0xe76f57['lDvXO'];continue;case'2':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b6)]]=0x4]=_0xe76f57[_0x1c26c0(0x1b6)];continue;case'3':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b3)]]=0x1]=_0xe76f57['ejEHv'];continue;case'4':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1be)]]=0x3]=_0xe76f57[_0x1c26c0(0x1be)];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 573e74e6..e10755cf 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x556832=_0x3f8a;function _0x243c(){const _0x47647b=['RPS','语音转换失败,\x20请检查语音文件是否正常','Wrigr','width','dice','https://www.bilibili.com/','catch','DiUzz','PDGrj','CzpHd','QSid','28688693Yrybbk','text','6SOIHMl','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','then','JQScV','GDbMd','FILE','hOBkU','MFACE','PTT','MARKDOWN','531107KFADUP','xfrHx','获取视频封面失败,使用默认封面','face','DYGwO','HZkGh','ptt','fYPaL','REPLY','replace','文件异常,大小为0','screenshots','JjgFs','cldmC','ekrSv','PIC','hEzGn','miniapp','markdown','Thumb','sep','4372060bBRNyk','Ori','height','end','10614033ScyTQK','getImageSize','mWtmY','10yuazkA','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','rjfNn','_0.png','3875088fuFwlZ','sHdUG','FACE','uploadFile','WEjkR','mface','HVZlL','AniStickerId','toString','jpg','find','28UDIEHz','AniStickerPackId','set','gif','获取视频信息失败','sysface','OUChS','error','4sRKRKT','1315516aWtoBp','VIDEO','file','HjXdK','XLfms','HZVHd','ark','AoZyU','ddUVU','2294574wYpDaC','copyFile','notAt','ARK','TEXT','ZBFBA','AniStickerType'];_0x243c=function(){return _0x47647b;};return _0x243c();}(function(_0xafb36d,_0x35a22f){const _0x3cae36=_0x3f8a,_0xff409c=_0xafb36d();while(!![]){try{const _0x3ea9c4=parseInt(_0x3cae36(0x14a))/0x1*(-parseInt(_0x3cae36(0x122))/0x2)+-parseInt(_0x3cae36(0x140))/0x3*(parseInt(_0x3cae36(0x123))/0x4)+-parseInt(_0x3cae36(0x104))/0x5+-parseInt(_0x3cae36(0x12c))/0x6*(-parseInt(_0x3cae36(0x11a))/0x7)+parseInt(_0x3cae36(0x10f))/0x8+-parseInt(_0x3cae36(0x108))/0x9+parseInt(_0x3cae36(0x10b))/0xa*(parseInt(_0x3cae36(0x13e))/0xb);if(_0x3ea9c4===_0x35a22f)break;else _0xff409c['push'](_0xff409c['shift']());}catch(_0x41603f){_0xff409c['push'](_0xff409c['shift']());}}}(_0x243c,0xcf23c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x40db07}from'node:fs';import _0x11e775 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4f9b58 from'./face_config.json';import*as _0x1dea1c from'node:path';import{SignMiniApp}from'../apis';function _0x3f8a(_0x12fe48,_0x56af65){const _0x243c67=_0x243c();return _0x3f8a=function(_0x3f8a54,_0x2ba469){_0x3f8a54=_0x3f8a54-0xf6;let _0x79a5db=_0x243c67[_0x3f8a54];return _0x79a5db;},_0x3f8a(_0x12fe48,_0x56af65);}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x556832(0x13f)](_0x3ded5c){const _0x5503c1=_0x556832;return{'elementType':ElementType[_0x5503c1(0x130)],'elementId':'','textElement':{'content':_0x3ded5c,'atType':AtType[_0x5503c1(0x12e)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3eeb54,_0xc271c3,_0x4dd55d,_0x2e1aaa){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x2e1aaa,'atType':_0x4dd55d,'atUid':_0x3eeb54,'atTinyId':'','atNtUid':_0xc271c3}};}static['reply'](_0x29457d,_0xafd800,_0x55e951,_0x4f493e){const _0x24443c=_0x556832;return{'elementType':ElementType[_0x24443c(0xf7)],'elementId':'','replyElement':{'replayMsgSeq':_0x29457d,'replayMsgId':_0xafd800,'senderUin':_0x55e951,'senderUinStr':_0x4f493e}};}static async['pic'](_0xa84808,_0x239974='',_0x28b022=0x0){const _0x195872=_0x556832,_0xd1d51={'xfrHx':function(_0x26ff11,_0x272ba6){return _0x26ff11===_0x272ba6;}},{md5:_0x3e613e,fileName:_0x384298,path:_0x23a650,fileSize:_0x81368}=await NTQQFileApi[_0x195872(0x112)](_0xa84808,ElementType[_0x195872(0xfe)],_0x28b022);if(_0xd1d51[_0x195872(0x14b)](_0x81368,0x0))throw _0x195872(0xf9);const _0x588c2a=await NTQQFileApi[_0x195872(0x109)](_0xa84808),_0x581d37={'md5HexStr':_0x3e613e,'fileSize':_0x81368[_0x195872(0x117)](),'picWidth':_0x588c2a?.[_0x195872(0x136)],'picHeight':_0x588c2a?.[_0x195872(0x106)],'fileName':_0x384298,'sourcePath':_0x23a650,'original':!![],'picType':isGIF(_0xa84808)?PicType[_0x195872(0x11d)]:PicType[_0x195872(0x118)],'picSubType':_0x28b022,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x239974};return{'elementType':ElementType[_0x195872(0xfe)],'elementId':'','picElement':_0x581d37};}static async[_0x556832(0x125)](_0x5d74d8,_0x14fa5b=''){const _0x1a68a7=_0x556832,_0x4d3a7c={'JjgFs':function(_0x303350,_0x507513){return _0x303350===_0x507513;},'HZkGh':_0x1a68a7(0xf9),'cldmC':function(_0x284e1e,_0x25adfe){return _0x284e1e||_0x25adfe;}},{md5:_0x4de684,fileName:_0x2d746c,path:_0x3b155a,fileSize:_0x43e19a}=await NTQQFileApi['uploadFile'](_0x5d74d8,ElementType['FILE']);if(_0x4d3a7c[_0x1a68a7(0xfb)](_0x43e19a,0x0))throw _0x4d3a7c[_0x1a68a7(0x14f)];const _0x51f854={'elementType':ElementType[_0x1a68a7(0x145)],'elementId':'','fileElement':{'fileName':_0x4d3a7c[_0x1a68a7(0xfc)](_0x14fa5b,_0x2d746c),'filePath':_0x3b155a,'fileSize':_0x43e19a['toString']()}};return _0x51f854;}static async['video'](_0x184d25,_0x10bd47='',_0x12ee57=''){const _0xeeaf02=_0x556832,_0x599bcb={'ekrSv':function(_0x10bf8d,_0x439d49,_0x32c842){return _0x10bf8d(_0x439d49,_0x32c842);},'DiUzz':_0xeeaf02(0x14c),'AoZyU':function(_0x3e885d,_0x40d916){return _0x3e885d(_0x40d916);},'fYPaL':_0xeeaf02(0x107),'XkcCi':_0xeeaf02(0x121),'ktbey':function(_0x20ed41,_0x56fd82){return _0x20ed41+_0x56fd82;},'GDbMd':'mp4','TWlrn':function(_0xf31682,_0xe3a0a1,_0x34befe){return _0xf31682(_0xe3a0a1,_0x34befe);},'rjfNn':_0xeeaf02(0x11e),'XLfms':function(_0x7465a9,_0x1d8a44){return _0x7465a9(_0x1d8a44);},'hEzGn':function(_0x441165,_0x3e8ced){return _0x441165||_0x3e8ced;},'hASxI':function(_0x45145b,_0x40f769){return _0x45145b+_0x40f769;}},{fileName:_0x4dc449,path:_0x11fcd2,fileSize:_0x2353df,md5:_0x28912b}=await NTQQFileApi[_0xeeaf02(0x112)](_0x184d25,ElementType[_0xeeaf02(0x124)]);if(_0x2353df===0x0)throw _0xeeaf02(0xf9);let _0x2fef1e=_0x11fcd2[_0xeeaf02(0xf8)](_0x1dea1c[_0xeeaf02(0x103)]+_0xeeaf02(0x105)+_0x1dea1c['sep'],_0x1dea1c['sep']+_0xeeaf02(0x102)+_0x1dea1c[_0xeeaf02(0x103)]);_0x2fef1e=_0x1dea1c['dirname'](_0x2fef1e);let _0x327e88={'width':0x780,'height':0x438,'time':0xf,'format':_0x599bcb[_0xeeaf02(0x144)],'size':_0x2353df,'filePath':_0x184d25};try{_0x327e88=await getVideoInfo(_0x11fcd2);}catch(_0x12c0b0){_0x599bcb['TWlrn'](logError,_0x599bcb[_0xeeaf02(0x10d)],_0x12c0b0);}const _0x5cdf04=new Promise((_0x5a3a8c,_0x19d911)=>{const _0x284ddf=_0xeeaf02,_0x7aecd9=_0x28912b+_0x284ddf(0x10e),_0x3afaf3=_0x1dea1c['join'](_0x2fef1e,_0x7aecd9);_0x599bcb[_0x284ddf(0x12a)](_0x11e775,_0x184d25)['on'](_0x599bcb[_0x284ddf(0xf6)],()=>{})['on'](_0x599bcb['XkcCi'],_0x107321=>{const _0x23286d=_0x284ddf,_0x1ea989={'OUChS':function(_0x4dc11a,_0x479fbc){return _0x4dc11a(_0x479fbc);}};_0x599bcb[_0x23286d(0xfd)](logDebug,_0x599bcb[_0x23286d(0x13a)],_0x107321),_0x12ee57?_0x40db07[_0x23286d(0x12d)](_0x12ee57,_0x3afaf3)[_0x23286d(0x142)](()=>{const _0x45172e=_0x23286d;_0x1ea989[_0x45172e(0x120)](_0x5a3a8c,_0x3afaf3);})['catch'](_0x19d911):_0x40db07['writeFile'](_0x3afaf3,defaultVideoThumb)[_0x23286d(0x142)](()=>{_0x5a3a8c(_0x3afaf3);})[_0x23286d(0x139)](_0x19d911);})[_0x284ddf(0xfa)]({'timestamps':[0x0],'filename':_0x7aecd9,'folder':_0x2fef1e,'size':_0x599bcb['ktbey'](_0x327e88[_0x284ddf(0x136)],'x')+_0x327e88[_0x284ddf(0x106)]})['on']('end',()=>{const _0x19c662=_0x284ddf;_0x599bcb[_0x19c662(0x12a)](_0x5a3a8c,_0x3afaf3);});}),_0x195c19=new Map(),_0x4aa3cb=await _0x5cdf04,_0x10c5e3=(await _0x40db07['stat'](_0x4aa3cb))['size'];_0x195c19[_0xeeaf02(0x11c)](0x0,_0x4aa3cb);const _0x51ba12=await _0x599bcb[_0xeeaf02(0x127)](calculateFileMD5,_0x4aa3cb),_0x11cb92={'elementType':ElementType[_0xeeaf02(0x124)],'elementId':'','videoElement':{'fileName':_0x599bcb[_0xeeaf02(0xff)](_0x10bd47,_0x4dc449),'filePath':_0x11fcd2,'videoMd5':_0x28912b,'thumbMd5':_0x51ba12,'fileTime':_0x327e88['time'],'thumbPath':_0x195c19,'thumbSize':_0x10c5e3,'thumbWidth':_0x327e88[_0xeeaf02(0x136)],'thumbHeight':_0x327e88['height'],'fileSize':_0x599bcb['hASxI']('',_0x2353df)}};return _0x11cb92;}static async[_0x556832(0x150)](_0x41c3f5){const _0x262c8b=_0x556832,_0x5eb7d4={'ddUVU':_0x262c8b(0x134),'DYGwO':function(_0x30879b,_0x225dcd){return _0x30879b===_0x225dcd;},'HZVHd':'文件异常,大小为0','WEjkR':function(_0x577c90,_0x118824){return _0x577c90||_0x118824;}},{converted:_0x4ed91e,path:_0x3ce2f7,duration:_0xf9e7f}=await encodeSilk(_0x41c3f5);if(!_0x3ce2f7)throw _0x5eb7d4[_0x262c8b(0x12b)];const {md5:_0x5d3c8c,fileName:_0x5b7b12,path:_0x382789,fileSize:_0x262ea3}=await NTQQFileApi[_0x262c8b(0x112)](_0x3ce2f7,ElementType[_0x262c8b(0x148)]);if(_0x5eb7d4[_0x262c8b(0x14e)](_0x262ea3,0x0))throw _0x5eb7d4[_0x262c8b(0x128)];return _0x4ed91e&&_0x40db07['unlink'](_0x3ce2f7)[_0x262c8b(0x142)](),{'elementType':ElementType[_0x262c8b(0x148)],'elementId':'','pttElement':{'fileName':_0x5b7b12,'filePath':_0x382789,'md5HexStr':_0x5d3c8c,'fileSize':_0x262ea3,'duration':_0x5eb7d4[_0x262c8b(0x113)](_0xf9e7f,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[_0x556832(0x14d)](_0x16038d){const _0x2466c5=_0x556832,_0x5d60e5={'Wrigr':function(_0x36d26e,_0x310545){return _0x36d26e(_0x310545);},'sHdUG':function(_0x33c860,_0x453ebd){return _0x33c860>=_0x453ebd;}},_0x445219=_0x4f9b58[_0x2466c5(0x11f)],_0x531890=_0x4f9b58['emoji'],_0x554751=_0x445219[_0x2466c5(0x119)](_0x5c7f9e=>_0x5c7f9e[_0x2466c5(0x13d)]===_0x16038d[_0x2466c5(0x117)]());_0x16038d=_0x5d60e5[_0x2466c5(0x135)](parseInt,_0x16038d[_0x2466c5(0x117)]());let _0x34a92f=0x1;return _0x5d60e5[_0x2466c5(0x110)](_0x16038d,0xde)&&(_0x34a92f=0x2),_0x554751[_0x2466c5(0x132)]&&(_0x34a92f=0x3),{'elementType':ElementType[_0x2466c5(0x111)],'elementId':'','faceElement':{'faceIndex':_0x16038d,'faceType':_0x34a92f,'faceText':_0x554751['QDes'],'stickerId':_0x554751[_0x2466c5(0x116)],'stickerType':_0x554751[_0x2466c5(0x132)],'packId':_0x554751[_0x2466c5(0x11b)],'sourceType':0x1}};}static[_0x556832(0x114)](_0x17f9ea,_0x313120,_0x3e176c,_0x58e6a5){const _0x2e9137=_0x556832,_0x25b51e={'HVZlL':'[商城表情]'};return{'elementType':ElementType[_0x2e9137(0x147)],'marketFaceElement':{'emojiPackageId':_0x17f9ea,'emojiId':_0x313120,'key':_0x3e176c,'faceName':_0x58e6a5||mFaceCache['get'](_0x313120)||_0x25b51e[_0x2e9137(0x115)]}};}static['dice'](_0x1c2ce9){const _0x193f56=_0x556832,_0x18914={'HjXdK':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x193f56(0x137)],'faceText':_0x18914[_0x193f56(0x126)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x970f08){const _0x37c173=_0x556832,_0x58e495={'ZBFBA':'[包剪锤]'};return{'elementType':ElementType[_0x37c173(0x111)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37c173(0x133)],'faceText':_0x58e495[_0x37c173(0x131)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x556832(0x129)](_0x427620){const _0x36825e=_0x556832,_0x2557ed={'mWtmY':function(_0x4a5269,_0x54441d){return _0x4a5269!==_0x54441d;}};return _0x2557ed[_0x36825e(0x10a)](typeof _0x427620,'string')&&(_0x427620=JSON['stringify'](_0x427620)),{'elementType':ElementType[_0x36825e(0x12f)],'elementId':'','arkElement':{'bytesData':_0x427620,'linkInfo':null,'subElementType':null}};}static[_0x556832(0x101)](_0x19f1bc){const _0x322fce=_0x556832;return{'elementType':ElementType[_0x322fce(0x149)],'elementId':'','markdownElement':{'content':_0x19f1bc}};}static async[_0x556832(0x100)](){const _0x4db0af=_0x556832,_0x3a023a={'CzpHd':function(_0x3fec03,_0x2e90d9){return _0x3fec03(_0x2e90d9);},'PDGrj':'Bot\x20Test','JQScV':_0x4db0af(0x141),'hOBkU':_0x4db0af(0x10c)};let _0x5aa7fa=await _0x3a023a[_0x4db0af(0x13c)](SignMiniApp,{'prompt':_0x3a023a[_0x4db0af(0x13b)],'title':_0x3a023a[_0x4db0af(0x13b)],'preview':_0x3a023a[_0x4db0af(0x143)],'jumpUrl':_0x4db0af(0x138),'tag':'Bot\x20Test','tagIcon':_0x3a023a[_0x4db0af(0x146)],'source':_0x3a023a[_0x4db0af(0x13b)],'sourcelogo':_0x3a023a[_0x4db0af(0x146)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x5aa7fa,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x173afa=_0x7d2c;(function(_0xbbda81,_0x478ca8){const _0x3d657f=_0x7d2c,_0x28f3c8=_0xbbda81();while(!![]){try{const _0x30995b=parseInt(_0x3d657f(0x95))/0x1*(-parseInt(_0x3d657f(0x9c))/0x2)+-parseInt(_0x3d657f(0x87))/0x3+-parseInt(_0x3d657f(0xaf))/0x4*(-parseInt(_0x3d657f(0x9f))/0x5)+parseInt(_0x3d657f(0x96))/0x6+-parseInt(_0x3d657f(0xd5))/0x7*(parseInt(_0x3d657f(0x86))/0x8)+-parseInt(_0x3d657f(0xcf))/0x9+-parseInt(_0x3d657f(0xd2))/0xa*(-parseInt(_0x3d657f(0x98))/0xb);if(_0x30995b===_0x478ca8)break;else _0x28f3c8['push'](_0x28f3c8['shift']());}catch(_0x37624a){_0x28f3c8['push'](_0x28f3c8['shift']());}}}(_0x3050,0xe54d7));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1676d5}from'node:fs';import _0x2e093e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x3050(){const _0x125af2=['FILE','writeFile','语音转换失败,\x20请检查语音文件是否正常','NHUgK','maOmy','RPS','sysface','end','text','toString','CbONM','zxIHf','PHpFw','stringify','134072EbmhWG','1234686gopkcv','ark','[骰子]','QDes','获取视频封面失败,使用默认封面','mface','string','error','rqDXm','AIEFz','replace','cePLt','gPCPE','JFxgc','13pxDqUA','5781918AowJlr','emoji','99NyJEnJ','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','reply','ROfpO','9974HTsVyQ','MARKDOWN','FACE','2500yoDagq','get','[商城表情]','dice','APGcV','iXbQe','AniStickerId','jpg','qPAfZ','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','video','sep','PTT','lGgyh','VYyVA','face','11328BtPMPH','dirname','mp4','hnMsj','time','screenshots','Ori','copyFile','width','markdown','unlink','AniStickerType','catch','VIDEO','size','find','miniapp','rps','uploadFile','notAt','Bot\x20Test','getImageSize','file','pic','then','TEXT','文件异常,大小为0','join','fRGNc','REPLY','QJHaj','WsCPW','9623799KdVgzJ','PIC','height','2109430IvdfNH','ARK','SFFuH','749DtDcGW'];_0x3050=function(){return _0x125af2;};return _0x3050();}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4b53b1 from'./face_config.json';import*as _0x43d789 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x7d2c(_0x3c0545,_0x1dca83){const _0x30509d=_0x3050();return _0x7d2c=function(_0x7d2cb9,_0x1742f2){_0x7d2cb9=_0x7d2cb9-0x79;let _0x3c38db=_0x30509d[_0x7d2cb9];return _0x3c38db;},_0x7d2c(_0x3c0545,_0x1dca83);}export class SendMsgElementConstructor{static[_0x173afa(0x80)](_0x4968cc){const _0xd22d5e=_0x173afa;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x4968cc,'atType':AtType[_0xd22d5e(0xc2)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ee219,_0x423d8e,_0x5eed39,_0x3ce04c){const _0x2d8d4a=_0x173afa;return{'elementType':ElementType[_0x2d8d4a(0xc8)],'elementId':'','textElement':{'content':'@'+_0x3ce04c,'atType':_0x5eed39,'atUid':_0x4ee219,'atTinyId':'','atNtUid':_0x423d8e}};}static[_0x173afa(0x9a)](_0x53f49a,_0x8a8a76,_0x267667,_0x1228b6){const _0x46e227=_0x173afa;return{'elementType':ElementType[_0x46e227(0xcc)],'elementId':'','replyElement':{'replayMsgSeq':_0x53f49a,'replayMsgId':_0x8a8a76,'senderUin':_0x267667,'senderUinStr':_0x1228b6}};}static async[_0x173afa(0xc6)](_0x552dc6,_0x22ed64='',_0x5a31ec=0x0){const _0xc4c0fa=_0x173afa,_0x31f159={'rQDTp':function(_0x471885,_0xebfcc0){return _0x471885===_0xebfcc0;},'eAnAn':_0xc4c0fa(0xc9),'ZzJiF':function(_0x4e190c,_0x2a6730){return _0x4e190c(_0x2a6730);}},{md5:_0x3cb239,fileName:_0x511dcc,path:_0x25a0bc,fileSize:_0x6284aa}=await NTQQFileApi[_0xc4c0fa(0xc1)](_0x552dc6,ElementType[_0xc4c0fa(0xd0)],_0x5a31ec);if(_0x31f159['rQDTp'](_0x6284aa,0x0))throw _0x31f159['eAnAn'];const _0x2de761=await NTQQFileApi[_0xc4c0fa(0xc4)](_0x552dc6),_0x2c78d5={'md5HexStr':_0x3cb239,'fileSize':_0x6284aa['toString'](),'picWidth':_0x2de761?.[_0xc4c0fa(0xb7)],'picHeight':_0x2de761?.[_0xc4c0fa(0xd1)],'fileName':_0x511dcc,'sourcePath':_0x25a0bc,'original':!![],'picType':_0x31f159['ZzJiF'](isGIF,_0x552dc6)?PicType['gif']:PicType[_0xc4c0fa(0xa6)],'picSubType':_0x5a31ec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x22ed64};return{'elementType':ElementType[_0xc4c0fa(0xd0)],'elementId':'','picElement':_0x2c78d5};}static async[_0x173afa(0xc5)](_0x113d4f,_0x1f2cf2=''){const _0x38b83f=_0x173afa,_0x2b1b20={'hFYht':function(_0xbb1f0b,_0x46a4b6){return _0xbb1f0b||_0x46a4b6;}},{md5:_0x536402,fileName:_0x350242,path:_0x11068c,fileSize:_0xc62c4e}=await NTQQFileApi[_0x38b83f(0xc1)](_0x113d4f,ElementType[_0x38b83f(0xd6)]);if(_0xc62c4e===0x0)throw'文件异常,大小为0';const _0x373623={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x2b1b20['hFYht'](_0x1f2cf2,_0x350242),'filePath':_0x11068c,'fileSize':_0xc62c4e[_0x38b83f(0x81)]()}};return _0x373623;}static async[_0x173afa(0xa9)](_0x35a2f6,_0x2280dc='',_0x2a78b0=''){const _0x60fe6a=_0x173afa,_0x1d1061={'NHUgK':function(_0x472816,_0x5de5ad){return _0x472816(_0x5de5ad);},'APGcV':function(_0x2913cc,_0x3962e7,_0x3be057){return _0x2913cc(_0x3962e7,_0x3be057);},'JFxgc':_0x60fe6a(0x7f),'iXbQe':_0x60fe6a(0x8e),'AIEFz':function(_0x495aad,_0x42db6a){return _0x495aad+_0x42db6a;},'WsCPW':function(_0x3d866f,_0x167dee){return _0x3d866f===_0x167dee;},'rqDXm':_0x60fe6a(0xc9),'maOmy':_0x60fe6a(0xb1),'fRGNc':function(_0x16f7b6,_0x4fa47e,_0x13411e){return _0x16f7b6(_0x4fa47e,_0x13411e);},'gPCPE':'获取视频信息失败'},{fileName:_0x272275,path:_0x5e4296,fileSize:_0xcf13b9,md5:_0xbaa23e}=await NTQQFileApi['uploadFile'](_0x35a2f6,ElementType[_0x60fe6a(0xbc)]);if(_0x1d1061[_0x60fe6a(0xce)](_0xcf13b9,0x0))throw _0x1d1061[_0x60fe6a(0x8f)];let _0x22243a=_0x5e4296[_0x60fe6a(0x91)](_0x43d789['sep']+_0x60fe6a(0xb5)+_0x43d789[_0x60fe6a(0xaa)],_0x43d789[_0x60fe6a(0xaa)]+'Thumb'+_0x43d789['sep']);_0x22243a=_0x43d789[_0x60fe6a(0xb0)](_0x22243a);let _0x6089c1={'width':0x780,'height':0x438,'time':0xf,'format':_0x1d1061[_0x60fe6a(0x7c)],'size':_0xcf13b9,'filePath':_0x35a2f6};try{_0x6089c1=await getVideoInfo(_0x5e4296);}catch(_0x29b82d){_0x1d1061[_0x60fe6a(0xcb)](logError,_0x1d1061[_0x60fe6a(0x93)],_0x29b82d);}const _0xbdf056=new Promise((_0x21b2be,_0x3be151)=>{const _0x826a39=_0x60fe6a,_0x49080c=_0xbaa23e+'_0.png',_0x5db846=_0x43d789[_0x826a39(0xca)](_0x22243a,_0x49080c);_0x1d1061['NHUgK'](_0x2e093e,_0x35a2f6)['on'](_0x1d1061['JFxgc'],()=>{})['on'](_0x1d1061[_0x826a39(0xa4)],_0x4ff4d7=>{const _0x1f30a1=_0x826a39,_0x1496ab={'hnMsj':function(_0x57cbb2,_0x31fdc3){const _0x4bc5f2=_0x7d2c;return _0x1d1061[_0x4bc5f2(0x7b)](_0x57cbb2,_0x31fdc3);}};_0x1d1061[_0x1f30a1(0xa3)](logDebug,_0x1f30a1(0x8b),_0x4ff4d7),_0x2a78b0?_0x1676d5[_0x1f30a1(0xb6)](_0x2a78b0,_0x5db846)['then'](()=>{_0x21b2be(_0x5db846);})[_0x1f30a1(0xbb)](_0x3be151):_0x1676d5[_0x1f30a1(0x79)](_0x5db846,defaultVideoThumb)[_0x1f30a1(0xc7)](()=>{const _0x28152c=_0x1f30a1;_0x1496ab[_0x28152c(0xb2)](_0x21b2be,_0x5db846);})[_0x1f30a1(0xbb)](_0x3be151);})[_0x826a39(0xb4)]({'timestamps':[0x0],'filename':_0x49080c,'folder':_0x22243a,'size':_0x1d1061[_0x826a39(0x90)](_0x6089c1[_0x826a39(0xb7)],'x')+_0x6089c1[_0x826a39(0xd1)]})['on'](_0x1d1061[_0x826a39(0x94)],()=>{_0x21b2be(_0x5db846);});}),_0x33bb2e=new Map(),_0x3de7e4=await _0xbdf056,_0x270f9f=(await _0x1676d5['stat'](_0x3de7e4))[_0x60fe6a(0xbd)];_0x33bb2e['set'](0x0,_0x3de7e4);const _0x198359=await _0x1d1061[_0x60fe6a(0x7b)](calculateFileMD5,_0x3de7e4),_0x2554f8={'elementType':ElementType[_0x60fe6a(0xbc)],'elementId':'','videoElement':{'fileName':_0x2280dc||_0x272275,'filePath':_0x5e4296,'videoMd5':_0xbaa23e,'thumbMd5':_0x198359,'fileTime':_0x6089c1[_0x60fe6a(0xb3)],'thumbPath':_0x33bb2e,'thumbSize':_0x270f9f,'thumbWidth':_0x6089c1[_0x60fe6a(0xb7)],'thumbHeight':_0x6089c1['height'],'fileSize':_0x1d1061[_0x60fe6a(0x90)]('',_0xcf13b9)}};return _0x2554f8;}static async['ptt'](_0x18dd0b){const _0x29c9cc=_0x173afa,_0x66a705={'PHpFw':function(_0x544652,_0x5c6de9){return _0x544652(_0x5c6de9);},'QJHaj':_0x29c9cc(0x7a),'SFFuH':'文件异常,大小为0'},{converted:_0x3aaf34,path:_0x3391b7,duration:_0x3bcf44}=await _0x66a705[_0x29c9cc(0x84)](encodeSilk,_0x18dd0b);if(!_0x3391b7)throw _0x66a705[_0x29c9cc(0xcd)];const {md5:_0x4dff4c,fileName:_0x554882,path:_0x1a0e9a,fileSize:_0x4ded2d}=await NTQQFileApi[_0x29c9cc(0xc1)](_0x3391b7,ElementType[_0x29c9cc(0xab)]);if(_0x4ded2d===0x0)throw _0x66a705[_0x29c9cc(0xd4)];return _0x3aaf34&&_0x1676d5[_0x29c9cc(0xb9)](_0x3391b7)[_0x29c9cc(0xc7)](),{'elementType':ElementType[_0x29c9cc(0xab)],'elementId':'','pttElement':{'fileName':_0x554882,'filePath':_0x1a0e9a,'md5HexStr':_0x4dff4c,'fileSize':_0x4ded2d,'duration':_0x3bcf44||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[_0x173afa(0xae)](_0x49dbdb){const _0x3c7ef3=_0x173afa,_0xfaed43={'xOXua':function(_0x16ec52,_0x5f2057){return _0x16ec52>=_0x5f2057;}},_0x35aacf=_0x4b53b1[_0x3c7ef3(0x7e)],_0x57993f=_0x4b53b1[_0x3c7ef3(0x97)],_0x55e7e3=_0x35aacf[_0x3c7ef3(0xbe)](_0x3438ba=>_0x3438ba['QSid']===_0x49dbdb[_0x3c7ef3(0x81)]());_0x49dbdb=parseInt(_0x49dbdb['toString']());let _0xb93d47=0x1;return _0xfaed43['xOXua'](_0x49dbdb,0xde)&&(_0xb93d47=0x2),_0x55e7e3[_0x3c7ef3(0xba)]&&(_0xb93d47=0x3),{'elementType':ElementType[_0x3c7ef3(0x9e)],'elementId':'','faceElement':{'faceIndex':_0x49dbdb,'faceType':_0xb93d47,'faceText':_0x55e7e3[_0x3c7ef3(0x8a)],'stickerId':_0x55e7e3[_0x3c7ef3(0xa5)],'stickerType':_0x55e7e3[_0x3c7ef3(0xba)],'packId':_0x55e7e3['AniStickerPackId'],'sourceType':0x1}};}static[_0x173afa(0x8c)](_0x3b18e0,_0x48fed3,_0x2aeea0,_0x53ce66){const _0x4125ff=_0x173afa,_0x2d93f9={'lGgyh':_0x4125ff(0xa1)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x3b18e0,'emojiId':_0x48fed3,'key':_0x2aeea0,'faceName':_0x53ce66||mFaceCache[_0x4125ff(0xa0)](_0x48fed3)||_0x2d93f9[_0x4125ff(0xac)]}};}static[_0x173afa(0xa2)](_0x142e0a){const _0x120865=_0x173afa;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x120865(0xa2)],'faceType':FaceType['dice'],'faceText':_0x120865(0x89),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x173afa(0xc0)](_0x35068d){const _0x373ab3=_0x173afa;return{'elementType':ElementType[_0x373ab3(0x9e)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x373ab3(0x7d)],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x173afa(0x88)](_0x5514fb){const _0x292fdc=_0x173afa,_0x21cba6={'CbONM':function(_0x48cf5f,_0x19d8b1){return _0x48cf5f!==_0x19d8b1;},'qPAfZ':_0x292fdc(0x8d)};return _0x21cba6[_0x292fdc(0x82)](typeof _0x5514fb,_0x21cba6[_0x292fdc(0xa7)])&&(_0x5514fb=JSON[_0x292fdc(0x85)](_0x5514fb)),{'elementType':ElementType[_0x292fdc(0xd3)],'elementId':'','arkElement':{'bytesData':_0x5514fb,'linkInfo':null,'subElementType':null}};}static[_0x173afa(0xb8)](_0x17f405){const _0x9fc54e=_0x173afa;return{'elementType':ElementType[_0x9fc54e(0x9d)],'elementId':'','markdownElement':{'content':_0x17f405}};}static async[_0x173afa(0xbf)](){const _0x1965f9=_0x173afa,_0x5671ef={'StwDI':function(_0x508e63,_0x2ab001){return _0x508e63(_0x2ab001);},'VYyVA':_0x1965f9(0xc3),'zxIHf':_0x1965f9(0xa8),'cePLt':'https://www.bilibili.com/','ROfpO':_0x1965f9(0x99)};let _0x5662a4=await _0x5671ef['StwDI'](SignMiniApp,{'prompt':_0x5671ef['VYyVA'],'title':'Bot\x20Test','preview':_0x5671ef[_0x1965f9(0x83)],'jumpUrl':_0x5671ef[_0x1965f9(0x92)],'tag':_0x5671ef[_0x1965f9(0xad)],'tagIcon':_0x5671ef[_0x1965f9(0x9b)],'source':_0x5671ef['VYyVA'],'sourcelogo':_0x1965f9(0x99)});return{'elementType':ElementType[_0x1965f9(0xd3)],'elementId':'','arkElement':{'bytesData':_0x5662a4,'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 d3e01eea..dac4a88b 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x15f9f9,_0x41bc88){var _0x499d84=_0x1240,_0x53869a=_0x15f9f9();while(!![]){try{var _0x5ddab5=parseInt(_0x499d84(0xee))/0x1+-parseInt(_0x499d84(0xf2))/0x2+parseInt(_0x499d84(0xf1))/0x3*(parseInt(_0x499d84(0xec))/0x4)+parseInt(_0x499d84(0xf9))/0x5+parseInt(_0x499d84(0xf7))/0x6*(-parseInt(_0x499d84(0xed))/0x7)+-parseInt(_0x499d84(0xef))/0x8*(parseInt(_0x499d84(0xf3))/0x9)+-parseInt(_0x499d84(0xf4))/0xa*(parseInt(_0x499d84(0xf6))/0xb);if(_0x5ddab5===_0x41bc88)break;else _0x53869a['push'](_0x53869a['shift']());}catch(_0x494c96){_0x53869a['push'](_0x53869a['shift']());}}}(_0x3e88,0xb286d));export var GroupMemberRole;function _0x3e88(){var _0x230479=['22710lkhcxj','sIzWg','110WtSBfl','24462YAjEzf','jyLKf','1304630AzQcSs','normal','admin','5493644zIlhrq','322lWtGwv','893698jJexpv','1176088LoZMuG','idGMk','3oTbcQR','1702966TgNrTh','45YaCtwY'];_0x3e88=function(){return _0x230479;};return _0x3e88();}function _0x1240(_0x235540,_0x1d3746){var _0x3e8819=_0x3e88();return _0x1240=function(_0x12408e,_0x4795de){_0x12408e=_0x12408e-0xeb;var _0xa31d93=_0x3e8819[_0x12408e];return _0xa31d93;},_0x1240(_0x235540,_0x1d3746);}(function(_0xf8df1e){var _0x58c632=_0x1240,_0x5eddc2={'sIzWg':_0x58c632(0xfa),'idGMk':_0x58c632(0xeb),'jyLKf':'owner'};_0xf8df1e[_0xf8df1e[_0x5eddc2[_0x58c632(0xf5)]]=0x2]=_0x5eddc2[_0x58c632(0xf5)],_0xf8df1e[_0xf8df1e[_0x5eddc2['idGMk']]=0x3]=_0x5eddc2[_0x58c632(0xf0)],_0xf8df1e[_0xf8df1e[_0x5eddc2[_0x58c632(0xf8)]]=0x4]='owner';}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x47ea7,_0x615584){var _0x2fcf1b=_0x1fe6,_0xbcbb46=_0x47ea7();while(!![]){try{var _0x4770ce=parseInt(_0x2fcf1b(0x90))/0x1+-parseInt(_0x2fcf1b(0x8c))/0x2+parseInt(_0x2fcf1b(0x89))/0x3+parseInt(_0x2fcf1b(0x8e))/0x4+-parseInt(_0x2fcf1b(0x92))/0x5*(-parseInt(_0x2fcf1b(0x88))/0x6)+parseInt(_0x2fcf1b(0x8a))/0x7+-parseInt(_0x2fcf1b(0x91))/0x8*(parseInt(_0x2fcf1b(0x94))/0x9);if(_0x4770ce===_0x615584)break;else _0xbcbb46['push'](_0xbcbb46['shift']());}catch(_0x24ced3){_0xbcbb46['push'](_0xbcbb46['shift']());}}}(_0x3027,0xc65aa));function _0x1fe6(_0x390948,_0x38eb27){var _0x3027b6=_0x3027();return _0x1fe6=function(_0x1fe64a,_0x4d90e5){_0x1fe64a=_0x1fe64a-0x87;var _0x264c42=_0x3027b6[_0x1fe64a];return _0x264c42;},_0x1fe6(_0x390948,_0x38eb27);}export var GroupMemberRole;function _0x3027(){var _0x2d7c64=['owner','2027304ZeJBoU','4058124IocVxH','5436781zgpwjn','WMXwQ','3241482gNeCwP','ZaTfq','1085176oTPRLC','cTFga','444975nvOPlK','2000920aYmzCI','5TDCmgT','normal','27ZlYhYs','admin'];_0x3027=function(){return _0x2d7c64;};return _0x3027();}(function(_0x1a1243){var _0x234594=_0x1fe6,_0x1d1ea8={'WMXwQ':_0x234594(0x93),'cTFga':_0x234594(0x95),'ZaTfq':_0x234594(0x87)};_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8b)]]=0x2]=_0x234594(0x93),_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8f)]]=0x3]=_0x1d1ea8[_0x234594(0x8f)],_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8d)]]=0x4]='owner';}(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 889cdb1c..2f104747 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x4e25cf,_0x178adb){var _0x24acd2=_0x5c0a,_0x272eea=_0x4e25cf();while(!![]){try{var _0x3fe094=-parseInt(_0x24acd2(0x1b6))/0x1+parseInt(_0x24acd2(0x1b3))/0x2+-parseInt(_0x24acd2(0x1b0))/0x3+-parseInt(_0x24acd2(0x1b5))/0x4+-parseInt(_0x24acd2(0x1b4))/0x5+parseInt(_0x24acd2(0x1b1))/0x6+parseInt(_0x24acd2(0x1b2))/0x7;if(_0x3fe094===_0x178adb)break;else _0x272eea['push'](_0x272eea['shift']());}catch(_0x275c4b){_0x272eea['push'](_0x272eea['shift']());}}}(_0x441a,0x5a381));function _0x5c0a(_0x5e7d6d,_0x39bde9){var _0x441ad9=_0x441a();return _0x5c0a=function(_0x5c0afe,_0x496a20){_0x5c0afe=_0x5c0afe-0x1b0;var _0x14890b=_0x441ad9[_0x5c0afe];return _0x14890b;},_0x5c0a(_0x5e7d6d,_0x39bde9);}export*from'./user';export*from'./group';export*from'./msg';function _0x441a(){var _0x2e29bc=['2580520Xpwczj','679741XXrXIR','1634526njDyKX','440442dcTvrK','15971711ctwyHF','135048jMrhuO','916770zBFmtF'];_0x441a=function(){return _0x2e29bc;};return _0x441a();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x4f55b6,_0x31914f){var _0x571f44=_0x48d8,_0x5a1005=_0x4f55b6();while(!![]){try{var _0x3039c3=-parseInt(_0x571f44(0x1a6))/0x1*(parseInt(_0x571f44(0x1a4))/0x2)+parseInt(_0x571f44(0x1a2))/0x3*(parseInt(_0x571f44(0x1a1))/0x4)+-parseInt(_0x571f44(0x19f))/0x5+parseInt(_0x571f44(0x1a5))/0x6+parseInt(_0x571f44(0x1a3))/0x7+-parseInt(_0x571f44(0x1a7))/0x8+parseInt(_0x571f44(0x1a0))/0x9;if(_0x3039c3===_0x31914f)break;else _0x5a1005['push'](_0x5a1005['shift']());}catch(_0x27a3d7){_0x5a1005['push'](_0x5a1005['shift']());}}}(_0x4987,0x586d2));export*from'./user';function _0x4987(){var _0x48d492=['3409712VpjpKM','1411480NAQryD','8477919Qheyob','4bzMyxF','705531AqoFOe','284151MagfXx','6CfQCOY','1511460arJbLt','132989nZqIFI'];_0x4987=function(){return _0x48d492;};return _0x4987();}export*from'./group';export*from'./msg';function _0x48d8(_0x5ca237,_0x548dbc){var _0x498788=_0x4987();return _0x48d8=function(_0x48d8cd,_0x15c216){_0x48d8cd=_0x48d8cd-0x19f;var _0x106d11=_0x498788[_0x48d8cd];return _0x106d11;},_0x48d8(_0x5ca237,_0x548dbc);}export*from'./notify';export*from'./cache';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 78df36e6..5c4258f6 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x1328c2=_0x1cba;(function(_0x230be0,_0x1d034f){var _0x23a18b=_0x1cba,_0x3dbb9a=_0x230be0();while(!![]){try{var _0x25884e=-parseInt(_0x23a18b(0x1e3))/0x1*(parseInt(_0x23a18b(0x1d5))/0x2)+parseInt(_0x23a18b(0x1d3))/0x3*(-parseInt(_0x23a18b(0x1ed))/0x4)+-parseInt(_0x23a18b(0x1ee))/0x5*(-parseInt(_0x23a18b(0x1fa))/0x6)+parseInt(_0x23a18b(0x1ea))/0x7*(-parseInt(_0x23a18b(0x1f6))/0x8)+-parseInt(_0x23a18b(0x1ce))/0x9+parseInt(_0x23a18b(0x1cb))/0xa*(-parseInt(_0x23a18b(0x1cf))/0xb)+parseInt(_0x23a18b(0x1c9))/0xc;if(_0x25884e===_0x1d034f)break;else _0x3dbb9a['push'](_0x3dbb9a['shift']());}catch(_0x2c9ba5){_0x3dbb9a['push'](_0x3dbb9a['shift']());}}}(_0x43c4,0x5bc8b));export var ElementType;(function(_0x2c6531){var _0xefcd44=_0x1cba,_0x2089b9={'htndz':_0xefcd44(0x1e5),'hBcMd':_0xefcd44(0x1dd),'DPfKM':'PTT','BZeje':'FACE','NsQha':'TEXT','bdVvg':'PIC','EECXb':_0xefcd44(0x1f1),'aNYCn':_0xefcd44(0x1fd),'MKOzN':_0xefcd44(0x1e1),'bmwVX':'REPLY'},_0x38f2a4=_0x2089b9['htndz'][_0xefcd44(0x1ec)]('|'),_0x485c61=0x0;while(!![]){switch(_0x38f2a4[_0x485c61++]){case'0':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1de)]]=0x3]='FILE';continue;case'1':_0x2c6531[_0x2c6531[_0x2089b9['DPfKM']]=0x4]=_0x2089b9[_0xefcd44(0x1f2)];continue;case'2':_0x2c6531[_0x2c6531[_0x2089b9['BZeje']]=0x6]=_0x2089b9[_0xefcd44(0x1d1)];continue;case'3':_0x2c6531[_0x2c6531[_0xefcd44(0x1f4)]=0x5]=_0xefcd44(0x1f4);continue;case'4':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1c5)]]=0x1]=_0x2089b9[_0xefcd44(0x1c5)];continue;case'5':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x200)]]=0x2]=_0x2089b9['bdVvg'];continue;case'6':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1ca)]]=0xe]=_0xefcd44(0x1f1);continue;case'7':_0x2c6531[_0x2c6531[_0x2089b9[_0xefcd44(0x1e6)]]=0xa]=_0x2089b9['aNYCn'];continue;case'8':_0x2c6531[_0x2c6531[_0x2089b9['MKOzN']]=0xb]=_0xefcd44(0x1e1);continue;case'9':_0x2c6531[_0x2c6531[_0x2089b9['bmwVX']]=0x7]=_0x2089b9[_0xefcd44(0x1f0)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x43c4(){var _0x28bc5f=['temp','qenTV','32758488GEGkLJ','EECXb','3688820BBmHZe','GIYiK','jpg','6361506CaevGv','22ZedfOH','smEjz','BZeje','memberIncrease','3AXTxGc','hAHuz','1342SyUuTS','face','dice','atAll','hZFLP','https://gchat.qpic.cn','chatDevice','normal','FILE','hBcMd','BIMCP','gif','MFACE','PPcZe','337nHPdkO','eswRW','4|5|0|1|3|2|9|7|8|6','aNYCn','ITuln','dACYm','RPS','91pItrjt','iTfSX','split','2671092CCNlhZ','15bRTiSO','Dkmre','bmwVX','MARKDOWN','DPfKM','INVITE_NEW_MEMBER','VIDEO','cQHwU','253728wDxgTD','notAt','normal2','https://multimedia.nt.qq.com.cn','793758JMXgdD','QLHhq','LMcXL','ARK','tXWUu','MEMBER_NEW_TITLE','bdVvg','nYJnn','fbUBX','NsQha','group'];_0x43c4=function(){return _0x28bc5f;};return _0x43c4();}(function(_0x4f4f2b){var _0x864f12=_0x1cba,_0x1c8bc2={'NeMPy':'gif','GIYiK':_0x864f12(0x1cd)};_0x4f4f2b[_0x4f4f2b[_0x1c8bc2['NeMPy']]=0x7d0]=_0x864f12(0x1e0),_0x4f4f2b[_0x4f4f2b[_0x1c8bc2[_0x864f12(0x1cc)]]=0x3e8]=_0x1c8bc2[_0x864f12(0x1cc)];}(PicType||(PicType={})));export var PicSubType;function _0x1cba(_0x2cd8b7,_0x277368){var _0x43c410=_0x43c4();return _0x1cba=function(_0x1cbad0,_0x381f19){_0x1cbad0=_0x1cbad0-0x1c3;var _0x56079a=_0x43c410[_0x1cbad0];return _0x56079a;},_0x1cba(_0x2cd8b7,_0x277368);}(function(_0x425a50){var _0x326df7=_0x1cba,_0x207568={'ITuln':_0x326df7(0x1dc),'LMcXL':_0x326df7(0x1d6)};_0x425a50[_0x425a50[_0x207568[_0x326df7(0x1e7)]]=0x0]=_0x207568[_0x326df7(0x1e7)],_0x425a50[_0x425a50[_0x207568['LMcXL']]=0x1]=_0x207568[_0x326df7(0x1fc)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x4f66f9){var _0x23649a=_0x1cba,_0x45ae31={'hZFLP':_0x23649a(0x1f7),'nYJnn':_0x23649a(0x1d8),'ituvn':'atUser'};_0x4f66f9[_0x4f66f9[_0x45ae31[_0x23649a(0x1d9)]]=0x0]='notAt',_0x4f66f9[_0x4f66f9[_0x45ae31['nYJnn']]=0x1]=_0x45ae31[_0x23649a(0x1c3)],_0x4f66f9[_0x4f66f9[_0x45ae31['ituvn']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x55d3c5){var _0x1a0c3d=_0x1cba,_0x531240={'iTfSX':'friend','Dkmre':_0x1a0c3d(0x1c6),'BIMCP':_0x1a0c3d(0x1c7)};_0x55d3c5[_0x55d3c5[_0x531240['iTfSX']]=0x1]=_0x531240[_0x1a0c3d(0x1eb)],_0x55d3c5[_0x55d3c5[_0x531240[_0x1a0c3d(0x1ef)]]=0x2]='group',_0x55d3c5[_0x55d3c5[_0x1a0c3d(0x1db)]=0x8]=_0x1a0c3d(0x1db),_0x55d3c5[_0x55d3c5[_0x531240[_0x1a0c3d(0x1df)]]=0x64]=_0x531240['BIMCP'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x1328c2(0x1da);export const IMAGE_HTTP_HOST_NT=_0x1328c2(0x1f9);export var GrayTipElementSubType;(function(_0x338b0d){var _0x50a9ad=_0x1328c2,_0x2b15bd={'tXWUu':_0x50a9ad(0x1f3),'cQHwU':_0x50a9ad(0x1ff)};_0x338b0d[_0x338b0d[_0x2b15bd[_0x50a9ad(0x1fe)]]=0xc]=_0x2b15bd['tXWUu'],_0x338b0d[_0x338b0d['MEMBER_NEW_TITLE']=0x11]=_0x2b15bd[_0x50a9ad(0x1f5)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xdcc251){var _0x9d8495=_0x1328c2,_0x1ae269={'smEjz':_0x9d8495(0x1dc),'qenTV':'normal2','hAHuz':_0x9d8495(0x1d7)};_0xdcc251[_0xdcc251[_0x1ae269[_0x9d8495(0x1d0)]]=0x1]='normal',_0xdcc251[_0xdcc251[_0x9d8495(0x1f8)]=0x2]=_0x1ae269[_0x9d8495(0x1c8)],_0xdcc251[_0xdcc251[_0x1ae269[_0x9d8495(0x1d4)]]=0x3]=_0x1ae269['hAHuz'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1315bb){var _0x3544d8=_0x1328c2,_0xbf1d99={'fbUBX':_0x3544d8(0x1d7),'PPcZe':'RPS'};_0x1315bb[_0x1315bb[_0xbf1d99[_0x3544d8(0x1c4)]]=0x166]=_0xbf1d99[_0x3544d8(0x1c4)],_0x1315bb[_0x1315bb[_0x3544d8(0x1e9)]=0x167]=_0xbf1d99[_0x3544d8(0x1e2)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x4f7082){var _0x44ddbd=_0x1328c2,_0x3096c3={'dACYm':_0x44ddbd(0x1d2),'eswRW':'kicked','QLHhq':'ban'};_0x4f7082[_0x4f7082[_0x3096c3[_0x44ddbd(0x1e8)]]=0x1]=_0x3096c3[_0x44ddbd(0x1e8)],_0x4f7082[_0x4f7082[_0x3096c3['eswRW']]=0x3]=_0x3096c3[_0x44ddbd(0x1e4)],_0x4f7082[_0x4f7082[_0x3096c3[_0x44ddbd(0x1fb)]]=0x8]=_0x3096c3[_0x44ddbd(0x1fb)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x30156e=_0xa76c;(function(_0x27dea2,_0x308e0b){var _0x215a41=_0xa76c,_0x406047=_0x27dea2();while(!![]){try{var _0x2b378c=-parseInt(_0x215a41(0x18b))/0x1+parseInt(_0x215a41(0x176))/0x2*(-parseInt(_0x215a41(0x17a))/0x3)+parseInt(_0x215a41(0x172))/0x4*(parseInt(_0x215a41(0x171))/0x5)+parseInt(_0x215a41(0x182))/0x6+parseInt(_0x215a41(0x18e))/0x7+parseInt(_0x215a41(0x156))/0x8+parseInt(_0x215a41(0x173))/0x9*(-parseInt(_0x215a41(0x193))/0xa);if(_0x2b378c===_0x308e0b)break;else _0x406047['push'](_0x406047['shift']());}catch(_0x14605d){_0x406047['push'](_0x406047['shift']());}}}(_0x52f0,0x4f6d6));function _0x52f0(){var _0x2e1ef4=['3825896DMzQgO','mmFpl','jpg','PTT','ban','JpsFe','FvLNL','DfoRb','LPoMG','tzGwN','vnbeo','CrzFX','LoJJP','FILE','TEXT','normal2','PIC','MFACE','TsSNo','notAt','RPS','FACE','atAll','zHpNH','Jrdif','DePIy','https://multimedia.nt.qq.com.cn','54125ThhNbD','200eOEyap','11055537eLrDgu','OvTHG','lbgRH','8WpCtpV','INVITE_NEW_MEMBER','BTosA','wCvAP','330453tixpXW','face','VIDEO','bavLZ','SBKTa','VUkpd','gif','MEMBER_NEW_TITLE','3644688poedXb','vzPEA','SZZMn','ikBjO','friend','REPLY','kicked','VYDxr','chatDevice','126718vdrnQY','temp','KINez','3458798lThxHB','split','ozaRL','memberIncrease','atUser','10PCSYHB','wDuvo','normal','VLSfJ','ARK','dice','MARKDOWN'];_0x52f0=function(){return _0x2e1ef4;};return _0x52f0();}export var ElementType;(function(_0x3ffa77){var _0x164a0a=_0xa76c,_0x5e6ef9={'ZlIhq':'6|9|8|5|0|4|3|7|2|1','SBKTa':_0x164a0a(0x17c),'zHpNH':_0x164a0a(0x199),'DfoRb':_0x164a0a(0x187),'ikBjO':_0x164a0a(0x16b),'bavLZ':_0x164a0a(0x159),'Jrdif':_0x164a0a(0x164),'JpsFe':_0x164a0a(0x197),'wDuvo':_0x164a0a(0x163),'VLSfJ':_0x164a0a(0x166)},_0x2a77c1=_0x5e6ef9['ZlIhq'][_0x164a0a(0x18f)]('|'),_0xce9f25=0x0;while(!![]){switch(_0x2a77c1[_0xce9f25++]){case'0':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17e)]]=0x5]=_0x5e6ef9[_0x164a0a(0x17e)];continue;case'1':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16d)]]=0xe]=_0x164a0a(0x199);continue;case'2':_0x3ffa77[_0x3ffa77[_0x164a0a(0x167)]=0xb]=_0x164a0a(0x167);continue;case'3':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x15d)]]=0x7]=_0x5e6ef9[_0x164a0a(0x15d)];continue;case'4':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x185)]]=0x6]=_0x164a0a(0x16b);continue;case'5':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17d)]]=0x4]=_0x5e6ef9[_0x164a0a(0x17d)];continue;case'6':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16e)]]=0x1]=_0x164a0a(0x164);continue;case'7':_0x3ffa77[_0x3ffa77[_0x5e6ef9['JpsFe']]=0xa]=_0x5e6ef9[_0x164a0a(0x15b)];continue;case'8':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x194)]]=0x3]=_0x5e6ef9[_0x164a0a(0x194)];continue;case'9':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x196)]]=0x2]=_0x5e6ef9['VLSfJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2bd409){var _0x555066=_0xa76c,_0x53e266={'lbgRH':_0x555066(0x180),'TsSNo':_0x555066(0x158)};_0x2bd409[_0x2bd409['gif']=0x7d0]=_0x53e266[_0x555066(0x175)],_0x2bd409[_0x2bd409[_0x53e266[_0x555066(0x168)]]=0x3e8]=_0x53e266[_0x555066(0x168)];}(PicType||(PicType={})));export var PicSubType;function _0xa76c(_0x4468c0,_0x346cb6){var _0x52f09a=_0x52f0();return _0xa76c=function(_0xa76cb1,_0x52a1c5){_0xa76cb1=_0xa76cb1-0x156;var _0x56ae6b=_0x52f09a[_0xa76cb1];return _0x56ae6b;},_0xa76c(_0x4468c0,_0x346cb6);}(function(_0x6d2056){var _0x2cdb98=_0xa76c,_0x5aa3ff={'VUkpd':_0x2cdb98(0x195),'BTosA':_0x2cdb98(0x17b)};_0x6d2056[_0x6d2056['normal']=0x0]=_0x5aa3ff[_0x2cdb98(0x17f)],_0x6d2056[_0x6d2056[_0x5aa3ff[_0x2cdb98(0x178)]]=0x1]=_0x5aa3ff['BTosA'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x567d1a){var _0x11d12c=_0xa76c,_0x575366={'wCvAP':_0x11d12c(0x169),'DePIy':_0x11d12c(0x16c),'FvLNL':_0x11d12c(0x192)};_0x567d1a[_0x567d1a[_0x11d12c(0x169)]=0x0]=_0x575366[_0x11d12c(0x179)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x16f)]]=0x1]=_0x575366[_0x11d12c(0x16f)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x15c)]]=0x2]=_0x575366['FvLNL'];}(AtType||(AtType={})));export var ChatType;(function(_0x1712f0){var _0x5d8b69=_0xa76c,_0x58d2e6={'SZZMn':_0x5d8b69(0x186),'VYDxr':'group','LPoMG':_0x5d8b69(0x18a),'LoJJP':_0x5d8b69(0x18c)};_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x184)]]=0x1]=_0x58d2e6[_0x5d8b69(0x184)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x189)]]=0x2]=_0x58d2e6[_0x5d8b69(0x189)],_0x1712f0[_0x1712f0[_0x58d2e6['LPoMG']]=0x8]=_0x58d2e6[_0x5d8b69(0x15e)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x162)]]=0x64]=_0x58d2e6[_0x5d8b69(0x162)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x30156e(0x170);export var GrayTipElementSubType;(function(_0x577195){var _0x5ee983=_0x30156e,_0x1b01ec={'tzGwN':_0x5ee983(0x181)};_0x577195[_0x577195[_0x5ee983(0x177)]=0xc]=_0x5ee983(0x177),_0x577195[_0x577195[_0x1b01ec[_0x5ee983(0x15f)]]=0x11]=_0x1b01ec[_0x5ee983(0x15f)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4c6b07){var _0x5a4ec4=_0x30156e,_0x34e22f={'OIZzl':_0x5a4ec4(0x195),'mmFpl':_0x5a4ec4(0x165),'CrzFX':_0x5a4ec4(0x198)};_0x4c6b07[_0x4c6b07[_0x34e22f['OIZzl']]=0x1]=_0x5a4ec4(0x195),_0x4c6b07[_0x4c6b07[_0x34e22f['mmFpl']]=0x2]=_0x34e22f[_0x5a4ec4(0x157)],_0x4c6b07[_0x4c6b07[_0x5a4ec4(0x198)]=0x3]=_0x34e22f[_0x5a4ec4(0x161)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x62d9cb){var _0x2c699a=_0x30156e,_0x54170={'KINez':_0x2c699a(0x198),'OvTHG':_0x2c699a(0x16a)};_0x62d9cb[_0x62d9cb[_0x2c699a(0x198)]=0x166]=_0x54170[_0x2c699a(0x18d)],_0x62d9cb[_0x62d9cb[_0x54170[_0x2c699a(0x174)]]=0x167]=_0x2c699a(0x16a);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x455bc8){var _0x586f2b=_0x30156e,_0x40f8a4={'vnbeo':_0x586f2b(0x191),'vzPEA':_0x586f2b(0x188),'ozaRL':_0x586f2b(0x15a)};_0x455bc8[_0x455bc8[_0x40f8a4['vnbeo']]=0x1]=_0x40f8a4[_0x586f2b(0x160)],_0x455bc8[_0x455bc8[_0x40f8a4['vzPEA']]=0x3]=_0x40f8a4[_0x586f2b(0x183)],_0x455bc8[_0x455bc8[_0x40f8a4[_0x586f2b(0x190)]]=0x8]=_0x586f2b(0x15a);}(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 6af7738f..4bedbe2d 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x538403,_0x5833c3){var _0x221032=_0x275b,_0x4bd277=_0x538403();while(!![]){try{var _0x369b9c=parseInt(_0x221032(0x6f))/0x1+parseInt(_0x221032(0x7b))/0x2*(-parseInt(_0x221032(0x77))/0x3)+parseInt(_0x221032(0x7e))/0x4+-parseInt(_0x221032(0x6a))/0x5+parseInt(_0x221032(0x8a))/0x6+parseInt(_0x221032(0x87))/0x7*(-parseInt(_0x221032(0x75))/0x8)+parseInt(_0x221032(0x69))/0x9;if(_0x369b9c===_0x5833c3)break;else _0x4bd277['push'](_0x4bd277['shift']());}catch(_0xb7493f){_0x4bd277['push'](_0x4bd277['shift']());}}}(_0x29c4,0x2ea98));export var GroupNotifyTypes;(function(_0xec6607){var _0x2400c8=_0x275b,_0x31266e={'ebEDj':_0x2400c8(0x72),'YPOdn':_0x2400c8(0x82),'YvxEc':_0x2400c8(0x6c),'fXYZK':_0x2400c8(0x6b),'ZACmm':_0x2400c8(0x80),'SJshV':'ADMIN_SET','agHcB':'INVITE_ME','WpQQJ':_0x2400c8(0x7f)},_0x466357=_0x2400c8(0x89)[_0x2400c8(0x6e)]('|'),_0x1da4a8=0x0;while(!![]){switch(_0x466357[_0x1da4a8++]){case'0':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x81)]]=0x9]=_0x2400c8(0x72);continue;case'1':_0xec6607[_0xec6607[_0x2400c8(0x82)]=0x7]=_0x31266e[_0x2400c8(0x68)];continue;case'2':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x79)]]=0x4]=_0x2400c8(0x6c);continue;case'3':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x7a)]]=0xb]=_0x31266e[_0x2400c8(0x7a)];continue;case'4':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x7d)]]=0xc]=_0x31266e[_0x2400c8(0x7d)];continue;case'5':_0xec6607[_0xec6607[_0x31266e[_0x2400c8(0x86)]]=0x8]=_0x31266e[_0x2400c8(0x86)];continue;case'6':_0xec6607[_0xec6607[_0x2400c8(0x76)]=0x1]=_0x31266e[_0x2400c8(0x83)];continue;case'7':_0xec6607[_0xec6607[_0x31266e['WpQQJ']]=0xd]=_0x31266e[_0x2400c8(0x6d)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x275b(_0x580789,_0x258f3d){var _0x29c45a=_0x29c4();return _0x275b=function(_0x275b20,_0x5d43b1){_0x275b20=_0x275b20-0x68;var _0x3c0401=_0x29c45a[_0x275b20];return _0x3c0401;},_0x275b(_0x580789,_0x258f3d);}(function(_0x5687d1){var _0x1ee699=_0x275b,_0x275472={'gKdUB':_0x1ee699(0x71),'NugEL':_0x1ee699(0x84),'rCuPc':_0x1ee699(0x73),'EIRpG':_0x1ee699(0x70)};_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x7c)]]=0x0]=_0x275472[_0x1ee699(0x7c)],_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x85)]]=0x1]=_0x275472[_0x1ee699(0x85)],_0x5687d1[_0x5687d1[_0x275472[_0x1ee699(0x74)]]=0x2]=_0x1ee699(0x73),_0x5687d1[_0x5687d1[_0x1ee699(0x70)]=0x3]=_0x275472[_0x1ee699(0x88)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x29c4(){var _0x27d76d=['WAIT_HANDLE','NugEL','SJshV','43134VkZWav','EIRpG','6|2|1|5|0|3|4|7','1634106PlzOwA','YPOdn','1361403oMRlmY','1415655voLMuZ','MEMBER_EXIT','INVITED_JOIN','WpQQJ','split','154573LslCBb','REJECT','IGNORE','KICK_MEMBER','APPROVE','rCuPc','320IIEUMA','INVITE_ME','1920vmKHcD','reject','YvxEc','fXYZK','604dURWQe','gKdUB','ZACmm','1343312xvvCSF','ADMIN_UNSET_OTHER','ADMIN_UNSET','ebEDj','JOIN_REQUEST','agHcB'];_0x29c4=function(){return _0x27d76d;};return _0x29c4();}export var GroupRequestOperateTypes;(function(_0x2317a4){var _0x5f27eb=_0x275b,_0x4dd5ac={'uZIzq':'reject'};_0x2317a4[_0x2317a4['approve']=0x1]='approve',_0x2317a4[_0x2317a4[_0x5f27eb(0x78)]=0x2]=_0x4dd5ac['uZIzq'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x54e5fe,_0x382a2e){var _0x15dd85=_0x4780,_0x1a1fa7=_0x54e5fe();while(!![]){try{var _0x5b692c=parseInt(_0x15dd85(0xeb))/0x1*(parseInt(_0x15dd85(0xda))/0x2)+parseInt(_0x15dd85(0xf0))/0x3*(-parseInt(_0x15dd85(0xfa))/0x4)+parseInt(_0x15dd85(0x100))/0x5*(-parseInt(_0x15dd85(0xe0))/0x6)+parseInt(_0x15dd85(0xdf))/0x7+-parseInt(_0x15dd85(0x101))/0x8*(-parseInt(_0x15dd85(0xf4))/0x9)+-parseInt(_0x15dd85(0xe2))/0xa*(parseInt(_0x15dd85(0xe6))/0xb)+parseInt(_0x15dd85(0xe1))/0xc*(-parseInt(_0x15dd85(0xdb))/0xd);if(_0x5b692c===_0x382a2e)break;else _0x1a1fa7['push'](_0x1a1fa7['shift']());}catch(_0x1be192){_0x1a1fa7['push'](_0x1a1fa7['shift']());}}}(_0x4c68,0x89101));function _0x4c68(){var _0x1f16dd=['8CwMsYi','6XgntSd','5339555JMvtjg','KICK_MEMBER','approve','WAIT_HANDLE','4996033sulzTn','9954oiHPun','12BNbOPS','992570kftWLX','DYfGS','split','reject','33GJIvGK','RmcZr','esvOO','sZJhG','FSaRv','243031gYvpqO','INVITE_ME','ADMIN_SET','MEMBER_EXIT','ADMIN_UNSET_OTHER','429YQvzUm','APPROVE','ADMIN_UNSET','FnoAC','7818489mjxbqY','mkpQW','BPOec','wyMuD','hMsqL','INVITED_JOIN','21108btTqhQ','SRQAA','IGNORE','JOIN_REQUEST','7|5|4|2|6|1|0|3','zTtYS','865JDsfsH'];_0x4c68=function(){return _0x1f16dd;};return _0x4c68();}export var GroupNotifyTypes;(function(_0x5d9214){var _0x436ce5=_0x4780,_0x44fca0={'ESxZR':_0x436ce5(0xfe),'SRQAA':_0x436ce5(0xf2),'FnoAC':_0x436ce5(0xee),'esvOO':_0x436ce5(0xed),'FSaRv':_0x436ce5(0xef),'UfZxw':'JOIN_REQUEST','hMsqL':_0x436ce5(0xf9),'sZJhG':_0x436ce5(0xdc),'wyMuD':_0x436ce5(0xec)},_0x3bc9a0=_0x44fca0['ESxZR'][_0x436ce5(0xe4)]('|'),_0x59262a=0x0;while(!![]){switch(_0x3bc9a0[_0x59262a++]){case'0':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xfb)]]=0xc]=_0x44fca0[_0x436ce5(0xfb)];continue;case'1':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf3)]]=0xb]=_0x44fca0[_0x436ce5(0xf3)];continue;case'2':_0x5d9214[_0x5d9214[_0x436ce5(0xed)]=0x8]=_0x44fca0[_0x436ce5(0xe8)];continue;case'3':_0x5d9214[_0x5d9214['ADMIN_UNSET_OTHER']=0xd]=_0x44fca0[_0x436ce5(0xea)];continue;case'4':_0x5d9214[_0x5d9214[_0x436ce5(0xfd)]=0x7]=_0x44fca0['UfZxw'];continue;case'5':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf8)]]=0x4]='INVITED_JOIN';continue;case'6':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xe9)]]=0x9]=_0x44fca0[_0x436ce5(0xe9)];continue;case'7':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf7)]]=0x1]=_0x44fca0['wyMuD'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4780(_0x1a2d49,_0x24cd8b){var _0x4c684a=_0x4c68();return _0x4780=function(_0x478063,_0x3dd5a2){_0x478063=_0x478063-0xda;var _0x42312e=_0x4c684a[_0x478063];return _0x42312e;},_0x4780(_0x1a2d49,_0x24cd8b);}export var GroupNotifyStatus;(function(_0xb9d825){var _0x5787bc=_0x4780,_0x2b38eb={'RmcZr':_0x5787bc(0xfc),'mkpQW':_0x5787bc(0xde),'DYfGS':_0x5787bc(0xf1),'NPmPa':'REJECT'};_0xb9d825[_0xb9d825[_0x5787bc(0xfc)]=0x0]=_0x2b38eb[_0x5787bc(0xe7)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xf5)]]=0x1]=_0x2b38eb[_0x5787bc(0xf5)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xe3)]]=0x2]=_0x5787bc(0xf1),_0xb9d825[_0xb9d825[_0x2b38eb['NPmPa']]=0x3]=_0x2b38eb['NPmPa'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x599d25){var _0x2f5b82=_0x4780,_0x17977a={'zTtYS':_0x2f5b82(0xdd),'BPOec':_0x2f5b82(0xe5)};_0x599d25[_0x599d25[_0x2f5b82(0xdd)]=0x1]=_0x17977a[_0x2f5b82(0xff)],_0x599d25[_0x599d25[_0x17977a[_0x2f5b82(0xf6)]]=0x2]=_0x2f5b82(0xe5);}(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 74fdb3f4..59952411 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x528fbb,_0xf2d919){var _0x336a89=_0x143e,_0x5455b4=_0x528fbb();while(!![]){try{var _0x1c11a2=-parseInt(_0x336a89(0x7f))/0x1+parseInt(_0x336a89(0x77))/0x2*(-parseInt(_0x336a89(0x7d))/0x3)+parseInt(_0x336a89(0x7e))/0x4*(-parseInt(_0x336a89(0x78))/0x5)+-parseInt(_0x336a89(0x7a))/0x6*(-parseInt(_0x336a89(0x75))/0x7)+parseInt(_0x336a89(0x7b))/0x8+parseInt(_0x336a89(0x7c))/0x9*(-parseInt(_0x336a89(0x79))/0xa)+parseInt(_0x336a89(0x76))/0xb;if(_0x1c11a2===_0xf2d919)break;else _0x5455b4['push'](_0x5455b4['shift']());}catch(_0x130fd7){_0x5455b4['push'](_0x5455b4['shift']());}}}(_0x8112,0xbf384));function _0x143e(_0x2f00c5,_0x12c290){var _0x8112cf=_0x8112();return _0x143e=function(_0x143ee6,_0x1ccea9){_0x143ee6=_0x143ee6-0x73;var _0xe56222=_0x8112cf[_0x143ee6];return _0xe56222;},_0x143e(_0x2f00c5,_0x12c290);}export var Sex;function _0x8112(){var _0x45577d=['czklc','male','pEypF','unknown','ZRasy','7YTNvxr','4514070LuXsbs','38uVYIok','20qCucuM','170yQGNUe','9373332nqEAYN','8102752UZrQQk','244350ujoXqN','40995uTeEhP','1472928aMDhxf','8087mZgkDL','female'];_0x8112=function(){return _0x45577d;};return _0x8112();}(function(_0x879be6){var _0x3e1ff7=_0x143e,_0x4adfeb={'pEypF':_0x3e1ff7(0x82),'czklc':_0x3e1ff7(0x80),'ZRasy':_0x3e1ff7(0x73)};_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x83)]]=0x1]=_0x3e1ff7(0x82),_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x81)]]=0x2]=_0x4adfeb[_0x3e1ff7(0x81)],_0x879be6[_0x879be6[_0x4adfeb[_0x3e1ff7(0x74)]]=0xff]=_0x4adfeb[_0x3e1ff7(0x74)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x3238b0,_0x2b2960){var _0x95aa18=_0x291d,_0x12046c=_0x3238b0();while(!![]){try{var _0x5ec39c=parseInt(_0x95aa18(0x9c))/0x1+parseInt(_0x95aa18(0x99))/0x2*(parseInt(_0x95aa18(0x97))/0x3)+-parseInt(_0x95aa18(0x95))/0x4*(-parseInt(_0x95aa18(0x9b))/0x5)+parseInt(_0x95aa18(0x93))/0x6*(-parseInt(_0x95aa18(0x98))/0x7)+-parseInt(_0x95aa18(0x96))/0x8+parseInt(_0x95aa18(0xa2))/0x9+parseInt(_0x95aa18(0x9a))/0xa*(-parseInt(_0x95aa18(0x94))/0xb);if(_0x5ec39c===_0x2b2960)break;else _0x12046c['push'](_0x12046c['shift']());}catch(_0x297319){_0x12046c['push'](_0x12046c['shift']());}}}(_0x3368,0xb8982));function _0x291d(_0x48247b,_0x13364a){var _0x3368c6=_0x3368();return _0x291d=function(_0x291dcc,_0x4baf5d){_0x291dcc=_0x291dcc-0x93;var _0x5cf6e5=_0x3368c6[_0x291dcc];return _0x5cf6e5;},_0x291d(_0x48247b,_0x13364a);}export var Sex;function _0x3368(){var _0x2caf66=['VGFYs','10854387HdBJqy','18282lkBUUI','165lvjLwH','1532TNbQEq','4757224VddTMU','3HfQSLH','259ZCqYBm','597042yiIdGu','984520qVcZKA','18235HNlaPs','38905CWRnxv','female','male','PIGXL','Vjpjd'];_0x3368=function(){return _0x2caf66;};return _0x3368();}(function(_0x297b42){var _0x318c86=_0x291d,_0x3fa2d0={'Vjpjd':_0x318c86(0x9e),'PIGXL':_0x318c86(0x9d),'VGFYs':'unknown'};_0x297b42[_0x297b42[_0x318c86(0x9e)]=0x1]=_0x3fa2d0[_0x318c86(0xa0)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0x9f)]]=0x2]=_0x3fa2d0[_0x318c86(0x9f)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0xa1)]]=0xff]=_0x3fa2d0[_0x318c86(0xa1)];}(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 08d2aa0c..b1cd737a 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x319438,_0x5b1ed2){var _0x380e20=_0x352f,_0x26b663=_0x319438();while(!![]){try{var _0x1050e3=-parseInt(_0x380e20(0x1b6))/0x1*(-parseInt(_0x380e20(0x1b1))/0x2)+-parseInt(_0x380e20(0x1b4))/0x3*(parseInt(_0x380e20(0x1b5))/0x4)+-parseInt(_0x380e20(0x1ba))/0x5+parseInt(_0x380e20(0x1b9))/0x6+-parseInt(_0x380e20(0x1b2))/0x7+-parseInt(_0x380e20(0x1b7))/0x8*(-parseInt(_0x380e20(0x1b3))/0x9)+parseInt(_0x380e20(0x1b8))/0xa;if(_0x1050e3===_0x5b1ed2)break;else _0x26b663['push'](_0x26b663['shift']());}catch(_0x56db93){_0x26b663['push'](_0x26b663['shift']());}}}(_0x454e,0xacbb5));import _0x5cb3df from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x454e(){var _0x317e43=['3ZsAyyo','12568XycxHE','31671440UyTznm','99636tIJbwD','6266775rPGLBu','41706BmsBAc','7157157UrySwF','2529CyWFSr','63wISmcA','134180wzhxUr'];_0x454e=function(){return _0x317e43;};return _0x454e();}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{_0x5cb3df as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x352f(_0x337d23,_0xa344fa){var _0x454e0c=_0x454e();return _0x352f=function(_0x352f52,_0x15f0fb){_0x352f52=_0x352f52-0x1b1;var _0x42c501=_0x454e0c[_0x352f52];return _0x42c501;},_0x352f(_0x337d23,_0xa344fa);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x203930,_0x4feede){var _0x827b9b=_0x4e1d,_0x1e5f63=_0x203930();while(!![]){try{var _0x20d07e=parseInt(_0x827b9b(0x1d7))/0x1+parseInt(_0x827b9b(0x1d5))/0x2*(-parseInt(_0x827b9b(0x1d3))/0x3)+-parseInt(_0x827b9b(0x1d9))/0x4+-parseInt(_0x827b9b(0x1d4))/0x5*(parseInt(_0x827b9b(0x1db))/0x6)+parseInt(_0x827b9b(0x1dd))/0x7*(parseInt(_0x827b9b(0x1d8))/0x8)+-parseInt(_0x827b9b(0x1d6))/0x9+parseInt(_0x827b9b(0x1da))/0xa*(parseInt(_0x827b9b(0x1dc))/0xb);if(_0x20d07e===_0x4feede)break;else _0x1e5f63['push'](_0x1e5f63['shift']());}catch(_0x3e18bf){_0x1e5f63['push'](_0x1e5f63['shift']());}}}(_0x4475,0xee377));import _0x1a2eb7 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1a2eb7 as Wrapper};function _0x4475(){var _0x23a7a9=['4090004suroYd','3156870OSmIPg','2070yRdbtj','33Ygiccc','28iIUvNl','6mCmOsB','8130iolLOb','274118SoJlFr','4433472pJbsKm','1267439hbtveV','2222864omUtRh'];_0x4475=function(){return _0x23a7a9;};return _0x4475();}export*as WrapperInterface from'./wrapper';function _0x4e1d(_0x43864e,_0xae9152){var _0x447577=_0x4475();return _0x4e1d=function(_0x4e1d66,_0x11b9bd){_0x4e1d66=_0x4e1d66-0x1d3;var _0x4c8b21=_0x447577[_0x4e1d66];return _0x4c8b21;},_0x4e1d(_0x43864e,_0xae9152);}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 921d5c43..ce70f0c7 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x2a1a61=_0x27dc;function _0x27dc(_0x4517e1,_0x5f4c96){var _0x8f9de8=_0x8f9d();return _0x27dc=function(_0x27dc0b,_0x1d0ad5){_0x27dc0b=_0x27dc0b-0x65;var _0x4f6ff0=_0x8f9de8[_0x27dc0b];return _0x4f6ff0;},_0x27dc(_0x4517e1,_0x5f4c96);}(function(_0xb4d1e1,_0x12deb4){var _0x5cd4cc=_0x27dc,_0x51b0d7=_0xb4d1e1();while(!![]){try{var _0x4b3cc9=-parseInt(_0x5cd4cc(0x71))/0x1+parseInt(_0x5cd4cc(0x75))/0x2+-parseInt(_0x5cd4cc(0x6f))/0x3+-parseInt(_0x5cd4cc(0x79))/0x4*(parseInt(_0x5cd4cc(0x6d))/0x5)+parseInt(_0x5cd4cc(0x68))/0x6*(-parseInt(_0x5cd4cc(0x70))/0x7)+parseInt(_0x5cd4cc(0x6b))/0x8*(parseInt(_0x5cd4cc(0x72))/0x9)+parseInt(_0x5cd4cc(0x67))/0xa;if(_0x4b3cc9===_0x12deb4)break;else _0x51b0d7['push'](_0x51b0d7['shift']());}catch(_0xbce0a3){_0x51b0d7['push'](_0x51b0d7['shift']());}}}(_0x8f9d,0xb957e));function _0x8f9d(){var _0x3687b2=['onBuddyReqChange','133745LGTxoH','onBlockChanged','124176rCMChg','297787JcWrPq','490370pnhgOw','286956tsqswY','onDelBatchBuddyInfos','onBuddyReqUnreadCntChange','183624talMCn','onBuddyInfoChange','onBuddyRemarkUpdated','onBuddyListChange','92rEQXbu','onSmartInfos','onBuddyDetailInfoChange','onAvatarUrlUpdated','22504100giGmQm','66xenpxe','onSpacePermissionInfos','onAddBuddyNeedVerify','8JAnSnL'];_0x8f9d=function(){return _0x3687b2;};return _0x8f9d();}export class BuddyListener{[_0x2a1a61(0x6a)](_0xb4e0f9){}['onAddMeSettingChanged'](_0x3bd579){}[_0x2a1a61(0x66)](_0x46e355){}[_0x2a1a61(0x6e)](_0x2e524c){}[_0x2a1a61(0x65)](_0x57e2ca){}[_0x2a1a61(0x76)](_0x1cd040){}[_0x2a1a61(0x78)](_0x1dfc1e){}[_0x2a1a61(0x77)](_0x178a06){}[_0x2a1a61(0x6c)](_0x8fd089){}[_0x2a1a61(0x74)](_0x58f4e3){}['onCheckBuddySettingResult'](_0x234923){}[_0x2a1a61(0x73)](_0x49a3ab){}['onDoubtBuddyReqChange'](_0x4be5f8){}['onDoubtBuddyReqUnreadNumChange'](_0x279066){}['onNickUpdated'](_0xe11f96){}[_0x2a1a61(0x7a)](_0x1e5455){}[_0x2a1a61(0x69)](_0x583af8){}} \ No newline at end of file +var _0x1ceee4=_0x70da;function _0x1daa(){var _0x2c63a3=['756620zUuWpS','onBuddyListChange','321034GkXzSV','10068rPbwDl','onAvatarUrlUpdated','424oGqBlc','1561mHuTPB','onBuddyInfoChange','onBuddyDetailInfoChange','756785ffoQgK','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','11qKGnJw','onBuddyRemarkUpdated','16JrDLxu','onBuddyReqChange','onAddMeSettingChanged','onAddBuddyNeedVerify','onCheckBuddySettingResult','32514LtYFtB','onSpacePermissionInfos','8329617AXosCG','1375796yFsLsu','onNickUpdated'];_0x1daa=function(){return _0x2c63a3;};return _0x1daa();}(function(_0xe69809,_0x3509ec){var _0x599941=_0x70da,_0x137e9b=_0xe69809();while(!![]){try{var _0x1c1266=parseInt(_0x599941(0x7d))/0x1+-parseInt(_0x599941(0x79))/0x2+parseInt(_0x599941(0x76))/0x3*(-parseInt(_0x599941(0x80))/0x4)+parseInt(_0x599941(0x6c))/0x5+-parseInt(_0x599941(0x7e))/0x6*(-parseInt(_0x599941(0x81))/0x7)+-parseInt(_0x599941(0x71))/0x8*(-parseInt(_0x599941(0x78))/0x9)+-parseInt(_0x599941(0x7b))/0xa*(-parseInt(_0x599941(0x6f))/0xb);if(_0x1c1266===_0x3509ec)break;else _0x137e9b['push'](_0x137e9b['shift']());}catch(_0x5ad225){_0x137e9b['push'](_0x137e9b['shift']());}}}(_0x1daa,0xe4a63));function _0x70da(_0x286dce,_0x5b432f){var _0x1daa5b=_0x1daa();return _0x70da=function(_0x70da04,_0x168758){_0x70da04=_0x70da04-0x6a;var _0x245906=_0x1daa5b[_0x70da04];return _0x245906;},_0x70da(_0x286dce,_0x5b432f);}export class BuddyListener{[_0x1ceee4(0x74)](_0x1e3252){}[_0x1ceee4(0x73)](_0x44d23b){}[_0x1ceee4(0x7f)](_0x41e459){}['onBlockChanged'](_0x428baa){}[_0x1ceee4(0x6b)](_0x53a6b9){}[_0x1ceee4(0x6a)](_0x5ef9d5){}[_0x1ceee4(0x7c)](_0x46b1cd){}[_0x1ceee4(0x70)](_0x2b3dc6){}[_0x1ceee4(0x72)](_0x2685d5){}[_0x1ceee4(0x6d)](_0x8e2e07){}[_0x1ceee4(0x75)](_0x310545){}['onDelBatchBuddyInfos'](_0x64edbb){}[_0x1ceee4(0x6e)](_0x4a60b0){}['onDoubtBuddyReqUnreadNumChange'](_0x39fc34){}[_0x1ceee4(0x7a)](_0x178602){}['onSmartInfos'](_0xc6150a){}[_0x1ceee4(0x77)](_0x569c07){}} \ 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 56facf81..89977030 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x5e93(_0x4e4bf5,_0x3c84ce){var _0x51f393=_0x51f3();return _0x5e93=function(_0x5e93f1,_0x571e99){_0x5e93f1=_0x5e93f1-0x1b9;var _0x3a39c7=_0x51f393[_0x5e93f1];return _0x3a39c7;},_0x5e93(_0x4e4bf5,_0x3c84ce);}var _0x55a031=_0x5e93;(function(_0x2b3f05,_0x227f41){var _0x11fa0d=_0x5e93,_0xffd5f2=_0x2b3f05();while(!![]){try{var _0x3d66a8=-parseInt(_0x11fa0d(0x1bd))/0x1*(-parseInt(_0x11fa0d(0x1b9))/0x2)+-parseInt(_0x11fa0d(0x1c4))/0x3+-parseInt(_0x11fa0d(0x1bb))/0x4*(parseInt(_0x11fa0d(0x1c3))/0x5)+-parseInt(_0x11fa0d(0x1c2))/0x6+parseInt(_0x11fa0d(0x1be))/0x7+-parseInt(_0x11fa0d(0x1bf))/0x8*(parseInt(_0x11fa0d(0x1ba))/0x9)+-parseInt(_0x11fa0d(0x1c7))/0xa*(-parseInt(_0x11fa0d(0x1c5))/0xb);if(_0x3d66a8===_0x227f41)break;else _0xffd5f2['push'](_0xffd5f2['shift']());}catch(_0x1f7bb7){_0xffd5f2['push'](_0xffd5f2['shift']());}}}(_0x51f3,0x19663));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x4331a0){}[_0x55a031(0x1c0)](..._0x3accc0){}[_0x55a031(0x1bc)](..._0x5ce330){}[_0x55a031(0x1c1)](..._0x3f1585){}[_0x55a031(0x1c6)](..._0x16375a){}}function _0x51f3(){var _0x3dd715=['1181LCBOSN','818335WhicZV','1500816sMWfzn','onSessionListChanged','onFileListChanged','824676wWtVoS','2455EeLDQr','485949vYzvdu','1121989rAqNJr','onFileSearch','50IOcRqS','158hseSCN','9zTpQBd','1052AFfmbg','onSessionChanged'];_0x51f3=function(){return _0x3dd715;};return _0x51f3();} \ No newline at end of file +var _0x46248e=_0x3bbb;function _0x3bbb(_0x193452,_0x4e20bf){var _0x539609=_0x5396();return _0x3bbb=function(_0x3bbb7b,_0x162a7e){_0x3bbb7b=_0x3bbb7b-0xeb;var _0x152c6a=_0x539609[_0x3bbb7b];return _0x152c6a;},_0x3bbb(_0x193452,_0x4e20bf);}function _0x5396(){var _0x5a971a=['11diiZuf','onFileListChanged','568tgEavs','2IjBZCp','25949XoKeDq','276580ZwRMEO','66jImqME','48726YXSreT','1329567BECOrn','1860330lCMBZX','onSessionListChanged','12335170TybXxq','onFileSearch','onSessionChanged','1696940fBrnHw'];_0x5396=function(){return _0x5a971a;};return _0x5396();}(function(_0x17d7b7,_0x3268fc){var _0x46fe78=_0x3bbb,_0x35eba6=_0x17d7b7();while(!![]){try{var _0xe3a064=-parseInt(_0x46fe78(0xeb))/0x1+parseInt(_0x46fe78(0xf8))/0x2*(-parseInt(_0x46fe78(0xee))/0x3)+parseInt(_0x46fe78(0xf4))/0x4+-parseInt(_0x46fe78(0xef))/0x5+-parseInt(_0x46fe78(0xec))/0x6*(-parseInt(_0x46fe78(0xf9))/0x7)+-parseInt(_0x46fe78(0xf7))/0x8*(parseInt(_0x46fe78(0xed))/0x9)+-parseInt(_0x46fe78(0xf1))/0xa*(-parseInt(_0x46fe78(0xf5))/0xb);if(_0xe3a064===_0x3268fc)break;else _0x35eba6['push'](_0x35eba6['shift']());}catch(_0x27b401){_0x35eba6['push'](_0x35eba6['shift']());}}}(_0x5396,0x3645c));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x1f7fb2){}[_0x46248e(0xf0)](..._0x14582f){}[_0x46248e(0xf3)](..._0x2d8c4){}[_0x46248e(0xf6)](..._0x21bad0){}[_0x46248e(0xf2)](..._0x21b4d0){}} \ 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 3a8866b8..8383e1cc 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x592162=_0x609d;function _0x609d(_0x38019f,_0x180f98){var _0x3782ac=_0x3782();return _0x609d=function(_0x609d99,_0x1cc0e5){_0x609d99=_0x609d99-0xb0;var _0x55527c=_0x3782ac[_0x609d99];return _0x55527c;},_0x609d(_0x38019f,_0x180f98);}function _0x3782(){var _0x5b0d01=['onGroupStatisticInfoChange','onGroupBulletinRichMediaProgressUpdate','4134568RaALaE','onGroupExtListUpdate','onGroupBulletinRichMediaProgressUpdate:','12738HhulaB','onGroupBulletinRemindNotify','8589hDAlvv','aZGoB','zHpHZ','onJoinGroupNotify','onGroupSingleScreenNotifies:','onGroupArkInviteStateResult','onShutUpMemberListChanged','onGroupDetailInfoChange:','xxvHq','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete','1672470VKFgLR','onGroupBulletinChange:','onGetGroupBulletinListResult','onGroupAllInfoChange','IEfKt','onJoinGroupNoVerifyFlag:','onGroupAllInfoChange:','tgmCn','AgTEd','rURfG','onJoinGroupNotify:','onGroupNotifiesUpdated:','aDxqy','onSearchMemberChange','onGroupArkInviteStateResult:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRemindNotify:','onGroupNotifiesUpdated','onGroupsMsgMaskResult','onShutUpMemberListChanged:','226547PmVhQn','IFZLl','onMemberListChange:','105996xuRTFS','onGroupSingleScreenNotifies','onMemberListChange','onGroupFirstBulletinNotify:','bLKYA','onJoinGroupNoVerifyFlag','1421280fqdMko','onGroupBulletinChange','NjIXH','ULpoy','onGroupListUpdate','onGroupStatisticInfoChange:','2130qBckpW','xoxvc','onGroupConfMemberChange','9yMzshc','onMemberInfoChange:','log','214SbEqXz','onGroupDetailInfoChange','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult:'];_0x3782=function(){return _0x5b0d01;};return _0x3782();}(function(_0x4481ed,_0x20373f){var _0x1921df=_0x609d,_0x16fbf5=_0x4481ed();while(!![]){try{var _0x46e379=parseInt(_0x1921df(0xed))/0x1+-parseInt(_0x1921df(0xc3))/0x2*(parseInt(_0x1921df(0xcc))/0x3)+parseInt(_0x1921df(0xb1))/0x4+parseInt(_0x1921df(0xd9))/0x5+-parseInt(_0x1921df(0xbd))/0x6*(parseInt(_0x1921df(0xce))/0x7)+parseInt(_0x1921df(0xc9))/0x8*(parseInt(_0x1921df(0xc0))/0x9)+parseInt(_0x1921df(0xb7))/0xa;if(_0x46e379===_0x20373f)break;else _0x16fbf5['push'](_0x16fbf5['shift']());}catch(_0x36e09a){_0x16fbf5['push'](_0x16fbf5['shift']());}}}(_0x3782,0x570e6));export class GroupListener{[_0x592162(0xc5)](..._0x310558){}[_0x592162(0xdb)](..._0x4f3a8f){}[_0x592162(0xdc)](..._0x2bddf2){}[_0x592162(0xb8)](..._0x5913fe){}[_0x592162(0xcd)](..._0x36ba52){}[_0x592162(0xd3)](..._0x573000){}[_0x592162(0xd8)](..._0x2bca0a){}[_0x592162(0xbf)](..._0x19eb2e){}[_0x592162(0xc4)](..._0x20d22a){}[_0x592162(0xca)](..._0x577f43){}['onGroupFirstBulletinNotify'](..._0x5e3af7){}[_0x592162(0xbb)](_0x2fecdd,_0x443596){}['onGroupNotifiesUpdated'](_0x42b432,_0x47ed99){}[_0x592162(0xc8)](..._0x2022bb){}[_0x592162(0xe8)](..._0x16f1de){}[_0x592162(0xb2)](_0x3e6283,_0xbe22bb,_0x293649){}['onGroupsMsgMaskResult'](..._0xc755f){}[_0x592162(0xc7)](..._0x1d948c){}[_0x592162(0xd1)](..._0x4a5460){}['onJoinGroupNoVerifyFlag'](..._0x1ada1d){}[_0x592162(0xd7)](_0x16b85b,_0x536d0d,_0x445c19){}['onMemberListChange'](_0x211f61){}[_0x592162(0xe6)](..._0x17c35c){}[_0x592162(0xd4)](..._0x191333){}}export class DebugGroupListener{[_0x592162(0xc5)](..._0x1aec83){var _0x13590e=_0x592162,_0x29169c={'xoxvc':'onGroupMemberLevelInfoChange:'};console['log'](_0x29169c[_0x13590e(0xbe)],..._0x1aec83);}[_0x592162(0xdb)](..._0x2a19dc){var _0x531956=_0x592162,_0x3b8960={'bLKYA':'onGetGroupBulletinListResult:'};console[_0x531956(0xc2)](_0x3b8960[_0x531956(0xb5)],..._0x2a19dc);}[_0x592162(0xdc)](..._0x54668e){var _0x17b233=_0x592162;console['log'](_0x17b233(0xdf),..._0x54668e);}[_0x592162(0xb8)](..._0xb6ebc3){var _0x549f8e=_0x592162,_0x3f052d={'tgmCn':_0x549f8e(0xda)};console[_0x549f8e(0xc2)](_0x3f052d[_0x549f8e(0xe0)],..._0xb6ebc3);}[_0x592162(0xcd)](..._0x201121){var _0x5c0f7f=_0x592162;console[_0x5c0f7f(0xc2)](_0x5c0f7f(0xe9),..._0x201121);}['onGroupArkInviteStateResult'](..._0x43d8bd){var _0x5b7afb=_0x592162;console['log'](_0x5b7afb(0xe7),..._0x43d8bd);}[_0x592162(0xd8)](..._0x51cdc3){var _0x34e8f5=_0x592162,_0x194630={'aZGoB':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x34e8f5(0xc2)](_0x194630[_0x34e8f5(0xcf)],..._0x51cdc3);}['onGroupConfMemberChange'](..._0x471027){var _0x309f85=_0x592162,_0x5620e2={'EmGfY':'onGroupConfMemberChange:'};console[_0x309f85(0xc2)](_0x5620e2['EmGfY'],..._0x471027);}[_0x592162(0xc4)](..._0x4c7edc){var _0x5b22a7=_0x592162,_0x9a6ce7={'PgAgM':_0x5b22a7(0xd5)};console[_0x5b22a7(0xc2)](_0x9a6ce7['PgAgM'],..._0x4c7edc);}[_0x592162(0xca)](..._0x1d935f){var _0x2bab4a=_0x592162,_0xd78eff={'IFZLl':'onGroupExtListUpdate:'};console[_0x2bab4a(0xc2)](_0xd78eff[_0x2bab4a(0xee)],..._0x1d935f);}['onGroupFirstBulletinNotify'](..._0x62dbf2){var _0x381ff9=_0x592162,_0x154476={'PQtKL':_0x381ff9(0xb4)};console['log'](_0x154476['PQtKL'],..._0x62dbf2);}[_0x592162(0xbb)](..._0x5c8263){var _0x2a5dfe=_0x592162,_0x168b8b={'ULpoy':'onGroupListUpdate:'};console[_0x2a5dfe(0xc2)](_0x168b8b[_0x2a5dfe(0xba)],..._0x5c8263);}[_0x592162(0xea)](..._0x36be9e){var _0x346ee3=_0x592162,_0x4dd7ba={'rURfG':_0x346ee3(0xe4)};console[_0x346ee3(0xc2)](_0x4dd7ba[_0x346ee3(0xe2)],..._0x36be9e);}[_0x592162(0xc8)](..._0x3a3a54){var _0x28cafc=_0x592162,_0x53b78c={'aDxqy':_0x28cafc(0xcb)};console[_0x28cafc(0xc2)](_0x53b78c[_0x28cafc(0xe5)],..._0x3a3a54);}[_0x592162(0xe8)](..._0x1d0580){var _0x5c4d7a=_0x592162,_0x57b3dc={'AgTEd':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5c4d7a(0xc2)](_0x57b3dc[_0x5c4d7a(0xe1)],..._0x1d0580);}[_0x592162(0xb2)](_0x3291c5,_0x6c29a2,_0x18c9b2){var _0x2c3bda=_0x592162,_0xd5d5ba={'IRMbR':_0x2c3bda(0xd2)};console[_0x2c3bda(0xc2)](_0xd5d5ba['IRMbR']);}[_0x592162(0xeb)](..._0x14dd53){var _0x2c6a78=_0x592162,_0x53d27c={'xxvHq':_0x2c6a78(0xc6)};console[_0x2c6a78(0xc2)](_0x53d27c[_0x2c6a78(0xd6)],..._0x14dd53);}['onGroupStatisticInfoChange'](..._0x419d53){var _0x5f0128=_0x592162,_0x13fe04={'VtuGu':_0x5f0128(0xbc)};console['log'](_0x13fe04['VtuGu'],..._0x419d53);}[_0x592162(0xd1)](..._0x29ff51){var _0x2cb89f=_0x592162,_0x15f888={'IEfKt':_0x2cb89f(0xe3)};console[_0x2cb89f(0xc2)](_0x15f888[_0x2cb89f(0xdd)],..._0x29ff51);}[_0x592162(0xb6)](..._0x5062d5){var _0xc37c65=_0x592162,_0xb8addb={'NjIXH':_0xc37c65(0xde)};console['log'](_0xb8addb[_0xc37c65(0xb9)],..._0x5062d5);}[_0x592162(0xd7)](_0xb51afd,_0x325541,_0x428ab5){var _0x552dea=_0x592162;console[_0x552dea(0xc2)](_0x552dea(0xc1),_0xb51afd,_0x325541,_0x428ab5);}[_0x592162(0xb3)](..._0x147b25){var _0x55454d=_0x592162;console['log'](_0x55454d(0xb0),..._0x147b25);}[_0x592162(0xe6)](..._0x3d9718){var _0x2478ea=_0x592162;console[_0x2478ea(0xc2)]('onSearchMemberChange:',..._0x3d9718);}[_0x592162(0xd4)](..._0x2a355f){var _0x1a7e46=_0x592162,_0x32d841={'zHpHZ':_0x1a7e46(0xec)};console['log'](_0x32d841[_0x1a7e46(0xd0)],..._0x2a355f);}} \ No newline at end of file +function _0x492d(){var _0x108b1d=['79562yqZYaV','275891hDiRTW','onJoinGroupNotify','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated:','onGroupNotifiesUpdated:','htfTQ','onJoinGroupNoVerifyFlag:','xrmIN','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','onGroupListUpdate','GVrRo','onGroupMemberLevelInfoChange:','log','onGroupExtListUpdate','onSearchMemberChange','onGroupAllInfoChange:','onJoinGroupNotify:','392neweaz','onGroupMemberLevelInfoChange','NSkKx','346958OTrNaW','onMemberInfoChange:','76731rSovNh','onGroupBulletinChange','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onGroupStatisticInfoChange','60liIsYZ','2555340rdBGit','40pAmaJi','onShutUpMemberListChanged','YvMWo','onGroupExtListUpdate:','ALlEB','onGroupStatisticInfoChange:','543464fiUVnj','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onMemberListChange','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupNotifiesUnreadCountUpdated','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','JhEVb','ugYGf','1468452wTFeOX','wrYsP','onSearchMemberChange:','18PfnBSj','AOhlf','onGroupDetailInfoChange','onGroupAllInfoChange','onGroupArkInviteStateResult:','5gafYlx','onGroupFirstBulletinNotify','onGroupBulletinChange:','onGroupNotifiesUpdated','onMemberInfoChange'];_0x492d=function(){return _0x108b1d;};return _0x492d();}var _0x14db9a=_0x509c;function _0x509c(_0x143525,_0x1546ec){var _0x492d77=_0x492d();return _0x509c=function(_0x509c1a,_0x407eec){_0x509c1a=_0x509c1a-0x65;var _0x5bd242=_0x492d77[_0x509c1a];return _0x5bd242;},_0x509c(_0x143525,_0x1546ec);}(function(_0x4a1bc8,_0x2213b1){var _0x31762d=_0x509c,_0x1bb676=_0x4a1bc8();while(!![]){try{var _0x39849b=-parseInt(_0x31762d(0x89))/0x1+-parseInt(_0x31762d(0x92))/0x2*(-parseInt(_0x31762d(0x8b))/0x3)+-parseInt(_0x31762d(0x98))/0x4+parseInt(_0x31762d(0x6e))/0x5*(parseInt(_0x31762d(0x66))/0x6)+-parseInt(_0x31762d(0x73))/0x7*(parseInt(_0x31762d(0x86))/0x8)+-parseInt(_0x31762d(0x69))/0x9*(-parseInt(_0x31762d(0x91))/0xa)+parseInt(_0x31762d(0x74))/0xb*(parseInt(_0x31762d(0x90))/0xc);if(_0x39849b===_0x2213b1)break;else _0x1bb676['push'](_0x1bb676['shift']());}catch(_0xdce6c5){_0x1bb676['push'](_0x1bb676['shift']());}}}(_0x492d,0x562e5));export class GroupListener{[_0x14db9a(0x87)](..._0xf25a1f){}[_0x14db9a(0x9f)](..._0x1194b4){}[_0x14db9a(0x6c)](..._0x2b133c){}['onGroupBulletinChange'](..._0x3ba631){}[_0x14db9a(0x8e)](..._0x380f74){}[_0x14db9a(0x8d)](..._0x374fec){}[_0x14db9a(0x9a)](..._0x4d76aa){}[_0x14db9a(0x7d)](..._0x41a1f3){}[_0x14db9a(0x6b)](..._0x350cb3){}[_0x14db9a(0x82)](..._0x11a764){}[_0x14db9a(0x6f)](..._0x3ab36e){}[_0x14db9a(0x7e)](_0x44337d,_0x1ce97b){}['onGroupNotifiesUpdated'](_0x510073,_0x52ae45){}[_0x14db9a(0x9e)](..._0x545874){}['onGroupNotifiesUnreadCountUpdated'](..._0x1476a3){}[_0x14db9a(0xa1)](_0xe5f76d,_0x57259b,_0x3be97e){}['onGroupsMsgMaskResult'](..._0x245f95){}[_0x14db9a(0x8f)](..._0x2cc60a){}[_0x14db9a(0x75)](..._0x4a1a5a){}[_0x14db9a(0x7c)](..._0x1273a4){}[_0x14db9a(0x72)](_0x450596,_0x25a7ed,_0x36b65e){}['onMemberListChange'](_0x1dfbd3){}['onSearchMemberChange'](..._0x2933f3){}['onShutUpMemberListChanged'](..._0x152e00){}}export class DebugGroupListener{[_0x14db9a(0x87)](..._0x559525){var _0x25fb22=_0x14db9a;console['log'](_0x25fb22(0x80),..._0x559525);}['onGetGroupBulletinListResult'](..._0x697233){console['log']('onGetGroupBulletinListResult:',..._0x697233);}[_0x14db9a(0x6c)](..._0x12a1bc){var _0x219c2c=_0x14db9a,_0x17cab1={'OcVCr':_0x219c2c(0x84)};console[_0x219c2c(0x81)](_0x17cab1['OcVCr'],..._0x12a1bc);}[_0x14db9a(0x8c)](..._0x4b1fd5){var _0x45403e=_0x14db9a,_0x527e01={'JhEVb':_0x45403e(0x70)};console['log'](_0x527e01[_0x45403e(0xa3)],..._0x4b1fd5);}[_0x14db9a(0x8e)](..._0x12ac2b){var _0x5537d9=_0x14db9a,_0x10e709={'YvMWo':_0x5537d9(0x99)};console[_0x5537d9(0x81)](_0x10e709[_0x5537d9(0x94)],..._0x12ac2b);}[_0x14db9a(0x8d)](..._0x2a04f4){var _0x3f6d11=_0x14db9a,_0x342e6f={'ALlEB':_0x3f6d11(0x6d)};console['log'](_0x342e6f[_0x3f6d11(0x96)],..._0x2a04f4);}[_0x14db9a(0x9a)](..._0x39e09b){var _0x5122ff={'anMXD':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x5122ff['anMXD'],..._0x39e09b);}[_0x14db9a(0x7d)](..._0x4a7128){var _0x34273a=_0x14db9a;console['log'](_0x34273a(0x76),..._0x4a7128);}[_0x14db9a(0x6b)](..._0x4e3037){var _0x4ff6cd=_0x14db9a,_0x56037d={'ugYGf':'onGroupDetailInfoChange:'};console[_0x4ff6cd(0x81)](_0x56037d[_0x4ff6cd(0x65)],..._0x4e3037);}[_0x14db9a(0x82)](..._0x13ceef){var _0x4eee3d=_0x14db9a,_0x2a4cbb={'htfTQ':_0x4eee3d(0x95)};console['log'](_0x2a4cbb[_0x4eee3d(0x79)],..._0x13ceef);}[_0x14db9a(0x6f)](..._0x36d87a){var _0x286581=_0x14db9a,_0x49d580={'AOhlf':_0x286581(0x9d)};console['log'](_0x49d580[_0x286581(0x6a)],..._0x36d87a);}[_0x14db9a(0x7e)](..._0x53e161){var _0x29d1c4=_0x14db9a,_0x36c3d1={'YnyAi':'onGroupListUpdate:'};console[_0x29d1c4(0x81)](_0x36c3d1['YnyAi'],..._0x53e161);}[_0x14db9a(0x71)](..._0x4206fd){var _0x94cebc=_0x14db9a,_0x461a22={'wrYsP':_0x94cebc(0x78)};console[_0x94cebc(0x81)](_0x461a22[_0x94cebc(0x67)],..._0x4206fd);}[_0x14db9a(0x9e)](..._0x1816cf){var _0x2de0e2=_0x14db9a,_0x8ddcac={'NSkKx':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x2de0e2(0x81)](_0x8ddcac[_0x2de0e2(0x88)],..._0x1816cf);}[_0x14db9a(0xa0)](..._0x3c68dc){var _0x5d4853=_0x14db9a,_0x544ab2={'xrmIN':_0x5d4853(0x77)};console['log'](_0x544ab2[_0x5d4853(0x7b)],..._0x3c68dc);}[_0x14db9a(0xa1)](_0x10dfd6,_0x46402f,_0x1008df){var _0x4b37c3=_0x14db9a,_0x50ac38={'nDCTv':_0x4b37c3(0xa2)};console['log'](_0x50ac38['nDCTv']);}['onGroupsMsgMaskResult'](..._0x32899d){var _0x3e7efc=_0x14db9a,_0x4cecb4={'GVrRo':_0x3e7efc(0x9b)};console[_0x3e7efc(0x81)](_0x4cecb4[_0x3e7efc(0x7f)],..._0x32899d);}['onGroupStatisticInfoChange'](..._0x333387){var _0x491114=_0x14db9a;console['log'](_0x491114(0x97),..._0x333387);}[_0x14db9a(0x75)](..._0x4434dc){var _0x15a133=_0x14db9a,_0x3f8d15={'fLuKm':_0x15a133(0x85)};console[_0x15a133(0x81)](_0x3f8d15['fLuKm'],..._0x4434dc);}[_0x14db9a(0x7c)](..._0x3f19de){var _0xf2f0dd=_0x14db9a;console['log'](_0xf2f0dd(0x7a),..._0x3f19de);}[_0x14db9a(0x72)](_0x590468,_0xa1b6e0,_0x439e08){var _0x3d0a36=_0x14db9a;console['log'](_0x3d0a36(0x8a),_0x590468,_0xa1b6e0,_0x439e08);}[_0x14db9a(0x9c)](..._0x5210b1){var _0x49811e=_0x14db9a;console[_0x49811e(0x81)]('onMemberListChange:',..._0x5210b1);}[_0x14db9a(0x83)](..._0x1076f7){var _0x959fe0=_0x14db9a;console[_0x959fe0(0x81)](_0x959fe0(0x68),..._0x1076f7);}[_0x14db9a(0x93)](..._0x1b7a2a){var _0x17a881=_0x14db9a,_0x42bfc2={'VubaZ':'onShutUpMemberListChanged:'};console[_0x17a881(0x81)](_0x42bfc2['VubaZ'],..._0x1b7a2a);}} \ 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 f9670cb7..889c9e23 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x2de74a=_0x4e81;(function(_0x320c7a,_0x139d6c){var _0x5d5ca1=_0x4e81,_0x34f0e9=_0x320c7a();while(!![]){try{var _0x52e9db=parseInt(_0x5d5ca1(0xc9))/0x1*(parseInt(_0x5d5ca1(0xc5))/0x2)+parseInt(_0x5d5ca1(0xce))/0x3+-parseInt(_0x5d5ca1(0xd7))/0x4*(parseInt(_0x5d5ca1(0xcd))/0x5)+-parseInt(_0x5d5ca1(0xd6))/0x6*(parseInt(_0x5d5ca1(0xd2))/0x7)+parseInt(_0x5d5ca1(0xc7))/0x8+-parseInt(_0x5d5ca1(0xc8))/0x9*(parseInt(_0x5d5ca1(0xd1))/0xa)+parseInt(_0x5d5ca1(0xc4))/0xb;if(_0x52e9db===_0x139d6c)break;else _0x34f0e9['push'](_0x34f0e9['shift']());}catch(_0xdc2753){_0x34f0e9['push'](_0x34f0e9['shift']());}}}(_0x4680,0xbc61c));function _0x4680(){var _0x5ec6c6=['792UeAHhd','onLoginFailed','6173048iGkQXg','918jDYVEj','155nojShR','onQRCodeSessionQuickLoginFailed','onLoginConnecting','onQRCodeGetPicture','6470qPFAIv','2777319ORjtoj','onUserLoggedIn','onLogoutFailed','118150UUKrTA','49VJexyL','onQRCodeLoginPollingStarted','onLoginDisConnected','onQRCodeSessionFailed','467706FyfbwU','4276BzNQxa','onLogoutSucceed','23615911nJsoGL'];_0x4680=function(){return _0x5ec6c6;};return _0x4680();}function _0x4e81(_0x3f61ec,_0x49d184){var _0x468041=_0x4680();return _0x4e81=function(_0x4e811e,_0xf796b3){_0x4e811e=_0x4e811e-0xc3;var _0x16990a=_0x468041[_0x4e811e];return _0x16990a;},_0x4e81(_0x3f61ec,_0x49d184);}export class LoginListener{['onLoginConnected'](..._0x129cb0){}[_0x2de74a(0xd4)](..._0x398317){}[_0x2de74a(0xcb)](..._0x360d5f){}[_0x2de74a(0xcc)](_0x414f25){}[_0x2de74a(0xd3)](..._0x16e312){}['onQRCodeSessionUserScaned'](..._0x5b9015){}['onQRCodeLoginSucceed'](_0x4249c3){}[_0x2de74a(0xd5)](..._0x523277){}[_0x2de74a(0xc6)](..._0x50eeba){}[_0x2de74a(0xc3)](..._0x3d0d8d){}[_0x2de74a(0xd0)](..._0x1d0e05){}[_0x2de74a(0xcf)](..._0x5433fd){}[_0x2de74a(0xca)](..._0x4dabc6){}['onPasswordLoginFailed'](..._0x3ae4aa){}['OnConfirmUnusualDeviceFailed'](..._0x2ac444){}['onQQLoginNumLimited'](..._0x5a1b8f){}['onLoginState'](..._0x526413){}} \ No newline at end of file +var _0x422c78=_0x1a73;function _0x1a73(_0x1b400d,_0x561f20){var _0x1d21b5=_0x1d21();return _0x1a73=function(_0x1a73b1,_0x255923){_0x1a73b1=_0x1a73b1-0x68;var _0x224796=_0x1d21b5[_0x1a73b1];return _0x224796;},_0x1a73(_0x1b400d,_0x561f20);}(function(_0x4ef417,_0x101518){var _0x2cf606=_0x1a73,_0x59da75=_0x4ef417();while(!![]){try{var _0x4c9fc9=-parseInt(_0x2cf606(0x6d))/0x1*(parseInt(_0x2cf606(0x71))/0x2)+parseInt(_0x2cf606(0x7b))/0x3*(parseInt(_0x2cf606(0x7a))/0x4)+parseInt(_0x2cf606(0x77))/0x5*(-parseInt(_0x2cf606(0x7f))/0x6)+parseInt(_0x2cf606(0x6f))/0x7*(-parseInt(_0x2cf606(0x69))/0x8)+-parseInt(_0x2cf606(0x72))/0x9*(-parseInt(_0x2cf606(0x80))/0xa)+-parseInt(_0x2cf606(0x70))/0xb*(-parseInt(_0x2cf606(0x7d))/0xc)+-parseInt(_0x2cf606(0x74))/0xd;if(_0x4c9fc9===_0x101518)break;else _0x59da75['push'](_0x59da75['shift']());}catch(_0x4e0649){_0x59da75['push'](_0x59da75['shift']());}}}(_0x1d21,0x18b83));function _0x1d21(){var _0x4abb57=['20myQmEc','onUserLoggedIn','onQRCodeLoginPollingStarted','8iRsavV','onLoginDisConnected','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','20241vZELHN','onLoginConnected','1060871jiOwAX','652531YdbvZz','8kChqBQ','812493awNLqy','onPasswordLoginFailed','419692HPsdeE','onQRCodeGetPicture','onLoginFailed','873130NYAaRO','onLogoutSucceed','onLogoutFailed','212DMmNDD','10311HfXRRC','onLoginConnecting','36TVQADJ','onQRCodeSessionQuickLoginFailed','6XEWkPu'];_0x1d21=function(){return _0x4abb57;};return _0x1d21();}export class LoginListener{[_0x422c78(0x6e)](..._0x25807f){}[_0x422c78(0x6a)](..._0x23bace){}[_0x422c78(0x7c)](..._0x18b61a){}[_0x422c78(0x75)](_0xe9199f){}[_0x422c78(0x68)](..._0x4ac353){}[_0x422c78(0x6c)](..._0x44b824){}['onQRCodeLoginSucceed'](_0x25ac88){}['onQRCodeSessionFailed'](..._0x70d052){}[_0x422c78(0x76)](..._0x1c6edd){}[_0x422c78(0x78)](..._0xfd82db){}[_0x422c78(0x79)](..._0x3ec473){}[_0x422c78(0x81)](..._0xf4f931){}[_0x422c78(0x7e)](..._0x1ebf33){}[_0x422c78(0x73)](..._0x5c7a4c){}[_0x422c78(0x6b)](..._0xa0051a){}['onQQLoginNumLimited'](..._0x5c5086){}['onLoginState'](..._0x5cb09d){}} \ 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 49e92405..d0780348 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x4224(){var _0x282edf=['20oNrAKh','5957905NWmodb','onBroadcastHelperProgerssUpdate','onGuildMsgAbFlagChanged','onlineStatusSmallIconDownloadPush','onFirstViewGroupGuildMapping','onLineDev','onKickedOffLine','onNtMsgSyncStart','onGroupGuildUpdate','onFeedEventUpdate','onMsgDelete','onSysMsgNotification','onHitCsRelatedEmojiResult','onRecvMsg','40148qoUsPQ','8xWyDwL','onRedTouchChanged','onHitEmojiKeywordResult','onBroadcastHelperProgressUpdate','onMsgQRCodeStatusChanged','onMsgAbstractUpdate','onRecvSysMsg','onNtFirstViewMsgSyncEnd','onRecvUDCFlag','onFileMsgCome','onSendMsgError','onGroupFileInfoAdd','14RHyVoJ','onGrabPasswordRedBag','onUserOnlineStatusChanged','onBroadcastHelperDownloadComplete','onGroupTransferInfoAdd','4050810OkKowI','onUserChannelTabStatusChanged','onGroupFileInfoUpdate','onInputStatusPush','onImportOldDbProgressUpdate','onUserTabStatusChanged','12wJEbgX','onMsgSettingUpdate','onMsgBoxChanged','onEmojiResourceUpdate','onRichMediaDownloadComplete','onEmojiDownloadComplete','onRecvMsgSvrRspTransInfo','onSearchGroupFileInfoUpdate','onContactUnreadCntUpdate','10892632wErjhb','onReadFeedEventUpdate','onGuildInteractiveUpdate','onUserSecQualityChanged','onMsgEventListUpdate','onMsgRecall','onUnreadCntUpdate','36GtvIBR','onLogLevelChanged','onChannelFreqLimitInfoUpdate','16743892RJYQPN','onNtMsgSyncEnd','158399lkKjXB','onMsgSecurityNotify','3640077eTkYyN','onRecvGroupGuildFlag'];_0x4224=function(){return _0x282edf;};return _0x4224();}var _0x518cab=_0x2de9;function _0x2de9(_0x46fa62,_0x39314e){var _0x422470=_0x4224();return _0x2de9=function(_0x2de9aa,_0x26e194){_0x2de9aa=_0x2de9aa-0xc5;var _0xb05c6=_0x422470[_0x2de9aa];return _0xb05c6;},_0x2de9(_0x46fa62,_0x39314e);}(function(_0x39eb54,_0x170fc1){var _0x433d33=_0x2de9,_0x1b539e=_0x39eb54();while(!![]){try{var _0x497f0f=-parseInt(_0x433d33(0xdc))/0x1*(-parseInt(_0x433d33(0xf0))/0x2)+parseInt(_0x433d33(0xc7))/0x3*(parseInt(_0x433d33(0xef))/0x4)+parseInt(_0x433d33(0xe1))/0x5+-parseInt(_0x433d33(0x101))/0x6*(-parseInt(_0x433d33(0xfc))/0x7)+parseInt(_0x433d33(0xd0))/0x8+-parseInt(_0x433d33(0xde))/0x9*(-parseInt(_0x433d33(0xe0))/0xa)+-parseInt(_0x433d33(0xda))/0xb*(parseInt(_0x433d33(0xd7))/0xc);if(_0x497f0f===_0x170fc1)break;else _0x1b539e['push'](_0x1b539e['shift']());}catch(_0x2de5e8){_0x1b539e['push'](_0x1b539e['shift']());}}}(_0x4224,0xc816c));export class MsgListener{['onAddSendMsg'](_0x465c31){}[_0x518cab(0xff)](_0x306a78){}[_0x518cab(0xf3)](_0x17e7c1){}[_0x518cab(0xd9)](_0x192d6f,_0x174194,_0x455367){}[_0x518cab(0xcf)](_0x3c7c6a){}['onCustomWithdrawConfigUpdate'](_0x4e11e6){}['onDraftUpdate'](_0x590900,_0x334e01,_0x4d7372){}[_0x518cab(0xcc)](_0x58a2a1){}[_0x518cab(0xca)](_0x1e8c83){}[_0x518cab(0xea)](_0x3aaa30){}[_0x518cab(0xf9)](_0x1aef5b){}['onFirstViewDirectMsgUpdate'](_0x118dee){}[_0x518cab(0xe5)](_0x476a03){}[_0x518cab(0xfd)](_0x1ab99f,_0x2e89e1,_0x3c9834,_0x5ce3dd,_0x43c161){}[_0x518cab(0xfb)](_0x1e5570){}[_0x518cab(0x103)](_0x5d2189){}[_0x518cab(0xe9)](_0x4a30d8){}[_0x518cab(0x100)](_0x5f5afa){}['onGroupTransferInfoUpdate'](_0x1e01f1){}[_0x518cab(0xd2)](_0x2bf75b){}[_0x518cab(0xe3)](_0x8eb9e5){}['onGuildNotificationAbstractUpdate'](_0x52ee40){}[_0x518cab(0xed)](_0x5108ac){}[_0x518cab(0xf2)](_0x24fdb9){}['onHitRelatedEmojiResult'](_0x32f26d){}[_0x518cab(0xc5)](_0x520ab3){}[_0x518cab(0x104)](_0x379297){}[_0x518cab(0xe7)](_0x832878){}[_0x518cab(0xe6)](_0x518566){}[_0x518cab(0xd8)](_0x5ded4d){}[_0x518cab(0xf5)](_0x5a642d){}[_0x518cab(0xc9)](_0x5d9239){}[_0x518cab(0xeb)](_0x5ef8e6,_0x1e7387){}[_0x518cab(0xd4)](_0x4313c7){}['onMsgInfoListAdd'](_0x4cea32){}['onMsgInfoListUpdate'](_0x29c633){}[_0x518cab(0xf4)](_0x2a2332){}[_0x518cab(0xd5)](_0x5a8ff6,_0x25f46a,_0x4b483a){}[_0x518cab(0xdd)](_0x28fa10){}[_0x518cab(0xc8)](_0x279dca){}[_0x518cab(0xf7)](){}[_0x518cab(0xdb)](){}[_0x518cab(0xe8)](){}[_0x518cab(0xd1)](_0x2001fc){}[_0x518cab(0xdf)](_0x221414){}[_0x518cab(0xee)](_0x79f892){}[_0x518cab(0xcd)](_0x1a0cb5,_0x258b3c,_0x174a2a,_0x56a73e,_0x17a995,_0x2a3a8b){}['onRecvOnlineFileMsg'](_0x5ef439){}['onRecvS2CMsg'](_0x5f0822){}[_0x518cab(0xf6)](_0x1111f4){}[_0x518cab(0xf8)](_0x1e88a2){}[_0x518cab(0xcb)](_0x69660b){}['onRichMediaProgerssUpdate'](_0x4f08a1){}['onRichMediaUploadComplete'](_0x5a9688){}[_0x518cab(0xce)](_0xf31f0e){}[_0x518cab(0xfa)](_0x397a92,_0x28c6a8,_0x578e03,_0x282dab){}[_0x518cab(0xec)](_0x1576e3,_0x13d700,_0x5008e6,_0x1fef4e){}['onTempChatInfoUpdate'](_0x2e7f29){}['onUnreadCntAfterFirstView'](_0x570e87){}[_0x518cab(0xd6)](_0x38c48a){}[_0x518cab(0x102)](_0x5634f8){}[_0x518cab(0xfe)](_0x16798a){}[_0x518cab(0xc6)](_0x557ef5){}['onlineStatusBigIconDownloadPush'](_0x294219,_0x1ab44a,_0x3bb170){}[_0x518cab(0xe4)](_0x354d4b,_0x515c4c,_0x376018){}[_0x518cab(0xd3)](..._0x4890ad){}['onMsgWithRichLinkInfoUpdate'](..._0x259b37){}[_0x518cab(0xf1)](..._0x2099da){}[_0x518cab(0xe2)](..._0x508eac){}} \ No newline at end of file +function _0x1b1d(){var _0x57e409=['onUnreadCntAfterFirstView','onGroupGuildUpdate','onRecvUDCFlag','onMsgInfoListUpdate','onGuildMsgAbFlagChanged','onSysMsgNotification','1635290wuCCIL','onRecvMsg','8969984PYwLNn','onHitCsRelatedEmojiResult','onMsgQRCodeStatusChanged','onRecvS2CMsg','onContactUnreadCntUpdate','onImportOldDbProgressUpdate','4111848DaqpnI','onRecvGroupGuildFlag','38hgGbLn','onMsgRecall','onRecvMsgSvrRspTransInfo','onEmojiResourceUpdate','onMsgInfoListAdd','onFileMsgCome','onTempChatInfoUpdate','onNtFirstViewMsgSyncEnd','93447vSEdNd','onRecvOnlineFileMsg','5670060QFfpQP','onRichMediaUploadComplete','onLogLevelChanged','966581NnHNnS','onFirstViewGroupGuildMapping','onBroadcastHelperProgressUpdate','onlineStatusSmallIconDownloadPush','onLineDev','onBroadcastHelperDownloadComplete','onUserTabStatusChanged','onGrabPasswordRedBag','onReadFeedEventUpdate','onChannelFreqLimitInfoUpdate','onSearchGroupFileInfoUpdate','onMsgWithRichLinkInfoUpdate','onAddSendMsg','onRecvSysMsg','onNtMsgSyncEnd','onMsgEventListUpdate','onUserChannelTabStatusChanged','onUserOnlineStatusChanged','onEmojiDownloadComplete','onMsgSecurityNotify','onHitRelatedEmojiResult','onGroupFileInfoAdd','onInputStatusPush','onRichMediaProgerssUpdate','onMsgAbstractUpdate','onGroupTransferInfoAdd','1096003mMvOof','onGuildNotificationAbstractUpdate'];_0x1b1d=function(){return _0x57e409;};return _0x1b1d();}var _0x2c6e4c=_0x3a0d;function _0x3a0d(_0x181541,_0x5c1879){var _0x1b1d34=_0x1b1d();return _0x3a0d=function(_0x3a0d46,_0x337393){_0x3a0d46=_0x3a0d46-0xca;var _0x3d2b89=_0x1b1d34[_0x3a0d46];return _0x3d2b89;},_0x3a0d(_0x181541,_0x5c1879);}(function(_0x5ef497,_0x15433d){var _0xe99581=_0x3a0d,_0x42ec40=_0x5ef497();while(!![]){try{var _0x28400c=parseInt(_0xe99581(0xec))/0x1+parseInt(_0xe99581(0xfe))/0x2*(parseInt(_0xe99581(0xcd))/0x3)+-parseInt(_0xe99581(0xfc))/0x4+parseInt(_0xe99581(0xf4))/0x5+parseInt(_0xe99581(0xcf))/0x6+-parseInt(_0xe99581(0xd2))/0x7+-parseInt(_0xe99581(0xf6))/0x8;if(_0x28400c===_0x15433d)break;else _0x42ec40['push'](_0x42ec40['shift']());}catch(_0x4cce24){_0x42ec40['push'](_0x42ec40['shift']());}}}(_0x1b1d,0xa4361));export class MsgListener{[_0x2c6e4c(0xde)](_0x14b726){}[_0x2c6e4c(0xd7)](_0x11edf1){}[_0x2c6e4c(0xd4)](_0x6504c0){}[_0x2c6e4c(0xdb)](_0x35d96e,_0x3d8280,_0x4a22ad){}[_0x2c6e4c(0xfa)](_0x139164){}['onCustomWithdrawConfigUpdate'](_0x1c841b){}['onDraftUpdate'](_0x1aa093,_0x2d7aff,_0x5d192e){}[_0x2c6e4c(0xe4)](_0x239bc6){}[_0x2c6e4c(0x101)](_0x21c7d4){}['onFeedEventUpdate'](_0x286532){}[_0x2c6e4c(0xca)](_0x507c51){}['onFirstViewDirectMsgUpdate'](_0x234974){}[_0x2c6e4c(0xd3)](_0x572ada){}[_0x2c6e4c(0xd9)](_0x1fc185,_0x4d2fb4,_0x4243e3,_0x3b1c79,_0x72afcc){}[_0x2c6e4c(0xe7)](_0x4dc5b2){}['onGroupFileInfoUpdate'](_0x56ed7e){}[_0x2c6e4c(0xef)](_0x315af6){}[_0x2c6e4c(0xeb)](_0x35139a){}['onGroupTransferInfoUpdate'](_0x48ab53){}['onGuildInteractiveUpdate'](_0x5be2ab){}[_0x2c6e4c(0xf2)](_0xeaae02){}[_0x2c6e4c(0xed)](_0x36a64d){}[_0x2c6e4c(0xf7)](_0x950d2e){}['onHitEmojiKeywordResult'](_0x1da0a1){}[_0x2c6e4c(0xe6)](_0x297177){}[_0x2c6e4c(0xfb)](_0x468a5b){}[_0x2c6e4c(0xe8)](_0x4a463f){}['onKickedOffLine'](_0x5e5118){}[_0x2c6e4c(0xd6)](_0x1bede3){}[_0x2c6e4c(0xd1)](_0x5181d7){}[_0x2c6e4c(0xea)](_0x476e35){}['onMsgBoxChanged'](_0x5041a9){}['onMsgDelete'](_0x7b938d,_0x5d0b11){}[_0x2c6e4c(0xe1)](_0x4d325b){}[_0x2c6e4c(0x102)](_0x34ed6f){}[_0x2c6e4c(0xf1)](_0xc85565){}[_0x2c6e4c(0xf8)](_0x30b8e3){}[_0x2c6e4c(0xff)](_0x236071,_0x4369d0,_0x39ee1d){}[_0x2c6e4c(0xe5)](_0x43a59b){}['onMsgSettingUpdate'](_0x27d5f1){}[_0x2c6e4c(0xcc)](){}[_0x2c6e4c(0xe0)](){}['onNtMsgSyncStart'](){}[_0x2c6e4c(0xda)](_0x556974){}[_0x2c6e4c(0xfd)](_0x3287dc){}[_0x2c6e4c(0xf5)](_0x4f59ba){}[_0x2c6e4c(0x100)](_0x4e54b8,_0x4ead33,_0x201997,_0x2ed6c9,_0x3410bf,_0x3e790f){}[_0x2c6e4c(0xce)](_0x10b508){}[_0x2c6e4c(0xf9)](_0x50efb6){}[_0x2c6e4c(0xdf)](_0x468cc6){}[_0x2c6e4c(0xf0)](_0x484426){}['onRichMediaDownloadComplete'](_0x6f1f19){}[_0x2c6e4c(0xe9)](_0x514f38){}[_0x2c6e4c(0xd0)](_0x382d91){}[_0x2c6e4c(0xdc)](_0x53d42f){}['onSendMsgError'](_0x1174ed,_0x168a2b,_0x2814f4,_0x3e641c){}[_0x2c6e4c(0xf3)](_0x26e288,_0x3f63ca,_0x1c3c31,_0x5b4f21){}[_0x2c6e4c(0xcb)](_0x3c603a){}[_0x2c6e4c(0xee)](_0x28df3b){}['onUnreadCntUpdate'](_0x505759){}[_0x2c6e4c(0xe2)](_0x272cef){}[_0x2c6e4c(0xe3)](_0x3a7a36){}[_0x2c6e4c(0xd8)](_0x29853b){}['onlineStatusBigIconDownloadPush'](_0x2640e3,_0x1fd781,_0x3a3915){}[_0x2c6e4c(0xd5)](_0x77e8d6,_0x3e3ea0,_0x4c4379){}['onUserSecQualityChanged'](..._0x2261d0){}[_0x2c6e4c(0xdd)](..._0x4f5b1d){}['onRedTouchChanged'](..._0x38e55e){}['onBroadcastHelperProgerssUpdate'](..._0x249155){}} \ 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 ba85a741..81b3dbc2 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x210b(){var _0x465628=['2012978SPeExG','6JimFEs','6792168haQEiD','11IVssAj','7049930uWXPZc','9xpCTzb','5585290pCJDXz','1289852KGVhxL','15TqpYJT','onSelfStatusChanged','376GTDJux','onStatusUpdate','1280660TBDmyJ','onStrangerRemarkChanged','237790tLCkKO','onProfileDetailInfoChanged'];_0x210b=function(){return _0x465628;};return _0x210b();}function _0x6d8f(_0x5ec009,_0xbf7082){var _0x210b79=_0x210b();return _0x6d8f=function(_0x6d8fc,_0x465c93){_0x6d8fc=_0x6d8fc-0x1cc;var _0x2616c7=_0x210b79[_0x6d8fc];return _0x2616c7;},_0x6d8f(_0x5ec009,_0xbf7082);}var _0x4d548d=_0x6d8f;(function(_0x41d8fc,_0x2e3340){var _0x29920e=_0x6d8f,_0x1378a9=_0x41d8fc();while(!![]){try{var _0x5398ed=parseInt(_0x29920e(0x1d9))/0x1+parseInt(_0x29920e(0x1d2))/0x2+-parseInt(_0x29920e(0x1da))/0x3*(-parseInt(_0x29920e(0x1ce))/0x4)+-parseInt(_0x29920e(0x1d6))/0x5*(parseInt(_0x29920e(0x1d3))/0x6)+parseInt(_0x29920e(0x1d0))/0x7*(-parseInt(_0x29920e(0x1cc))/0x8)+-parseInt(_0x29920e(0x1d7))/0x9*(-parseInt(_0x29920e(0x1d8))/0xa)+-parseInt(_0x29920e(0x1d5))/0xb*(parseInt(_0x29920e(0x1d4))/0xc);if(_0x5398ed===_0x2e3340)break;else _0x1378a9['push'](_0x1378a9['shift']());}catch(_0x5478bd){_0x1378a9['push'](_0x1378a9['shift']());}}}(_0x210b,0xd79a1));export class ProfileListener{['onProfileSimpleChanged'](..._0x52358a){}[_0x4d548d(0x1d1)](_0x841c29){}[_0x4d548d(0x1cd)](..._0x26ac83){}[_0x4d548d(0x1db)](..._0x1d654e){}[_0x4d548d(0x1cf)](..._0x9abf5d){}} \ No newline at end of file +var _0x343f0a=_0x28de;(function(_0x362792,_0x537666){var _0x2e3083=_0x28de,_0x4ead1e=_0x362792();while(!![]){try{var _0x1a2367=parseInt(_0x2e3083(0x1ee))/0x1+-parseInt(_0x2e3083(0x1e6))/0x2*(-parseInt(_0x2e3083(0x1ea))/0x3)+-parseInt(_0x2e3083(0x1e9))/0x4+parseInt(_0x2e3083(0x1e5))/0x5+-parseInt(_0x2e3083(0x1e8))/0x6+parseInt(_0x2e3083(0x1e4))/0x7+parseInt(_0x2e3083(0x1e7))/0x8;if(_0x1a2367===_0x537666)break;else _0x4ead1e['push'](_0x4ead1e['shift']());}catch(_0x4b7626){_0x4ead1e['push'](_0x4ead1e['shift']());}}}(_0x1f1d,0x584dc));function _0x1f1d(){var _0x172dd1=['1314505LerUiH','896084fJkguh','2889416FUOKAe','3546912UqKwtk','2245364JNcTei','3EKewlN','onSelfStatusChanged','onProfileSimpleChanged','onStatusUpdate','171831EubOSy','onProfileDetailInfoChanged','1891638dIASFM'];_0x1f1d=function(){return _0x172dd1;};return _0x1f1d();}function _0x28de(_0x449a32,_0x3ed18e){var _0x1f1d89=_0x1f1d();return _0x28de=function(_0x28de59,_0x506322){_0x28de59=_0x28de59-0x1e3;var _0x1b4063=_0x1f1d89[_0x28de59];return _0x1b4063;},_0x28de(_0x449a32,_0x3ed18e);}export class ProfileListener{[_0x343f0a(0x1ec)](..._0x16a106){}[_0x343f0a(0x1e3)](_0x5572e7){}[_0x343f0a(0x1ed)](..._0x498a2e){}[_0x343f0a(0x1eb)](..._0x1901f7){}['onStrangerRemarkChanged'](..._0x337418){}} \ 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 ad96e0cd..316d5f15 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x1679a2=_0x622c;(function(_0x528caf,_0x2c5038){var _0x2d821a=_0x622c,_0x3b6726=_0x528caf();while(!![]){try{var _0x48fe62=parseInt(_0x2d821a(0x199))/0x1+-parseInt(_0x2d821a(0x19a))/0x2*(parseInt(_0x2d821a(0x196))/0x3)+-parseInt(_0x2d821a(0x191))/0x4*(-parseInt(_0x2d821a(0x194))/0x5)+parseInt(_0x2d821a(0x192))/0x6+-parseInt(_0x2d821a(0x193))/0x7*(parseInt(_0x2d821a(0x195))/0x8)+-parseInt(_0x2d821a(0x19d))/0x9+-parseInt(_0x2d821a(0x197))/0xa*(-parseInt(_0x2d821a(0x19b))/0xb);if(_0x48fe62===_0x2c5038)break;else _0x3b6726['push'](_0x3b6726['shift']());}catch(_0x1adb52){_0x3b6726['push'](_0x3b6726['shift']());}}}(_0x2ce0,0x5f04a));export class KernelRobotListener{['onRobotFriendListChanged'](..._0xb09640){}[_0x1679a2(0x19c)](..._0x5a1bfd){}[_0x1679a2(0x198)](..._0x1b6d5e){}}function _0x622c(_0x3a8d0f,_0xd91c91){var _0x2ce036=_0x2ce0();return _0x622c=function(_0x622c27,_0x2a6640){_0x622c27=_0x622c27-0x191;var _0x17e035=_0x2ce036[_0x622c27];return _0x17e035;},_0x622c(_0x3a8d0f,_0xd91c91);}function _0x2ce0(){var _0x2f270f=['1416OETOLZ','1124463mxCDwT','590IJDVqX','onRobotProfileChanged','274262rdSybO','2xoeyNM','139733hNauwd','onRobotListChanged','4213377Onsgdg','115468euFMoA','2890884lqZgBa','16520qAsvyA','25xFwOfX'];_0x2ce0=function(){return _0x2f270f;};return _0x2ce0();} \ No newline at end of file +function _0x5bf9(_0x556808,_0x4d6ba4){var _0xfacc89=_0xfacc();return _0x5bf9=function(_0x5bf9d5,_0x3ec89a){_0x5bf9d5=_0x5bf9d5-0xcd;var _0x1e64a6=_0xfacc89[_0x5bf9d5];return _0x1e64a6;},_0x5bf9(_0x556808,_0x4d6ba4);}var _0x46c6fc=_0x5bf9;(function(_0x316ebe,_0x184f6c){var _0x53c904=_0x5bf9,_0x209b1b=_0x316ebe();while(!![]){try{var _0x502b4f=-parseInt(_0x53c904(0xce))/0x1*(parseInt(_0x53c904(0xd4))/0x2)+-parseInt(_0x53c904(0xd6))/0x3+-parseInt(_0x53c904(0xd2))/0x4+parseInt(_0x53c904(0xcf))/0x5*(-parseInt(_0x53c904(0xd5))/0x6)+parseInt(_0x53c904(0xd3))/0x7+-parseInt(_0x53c904(0xcd))/0x8+parseInt(_0x53c904(0xd1))/0x9;if(_0x502b4f===_0x184f6c)break;else _0x209b1b['push'](_0x209b1b['shift']());}catch(_0x1e0f30){_0x209b1b['push'](_0x209b1b['shift']());}}}(_0xfacc,0x68690));function _0xfacc(){var _0x2e22e4=['802EPncPU','6ayMgwt','1787253bicBjs','3430168nYMtXq','1753lhlzpo','563605wMfjSB','onRobotProfileChanged','26858241eRvcCD','2906300ZWpmsp','71302DgjFzL'];_0xfacc=function(){return _0x2e22e4;};return _0xfacc();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x304d4d){}['onRobotListChanged'](..._0x29d247){}[_0x46c6fc(0xd0)](..._0x217f9f){}} \ 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 5aade6b6..b6b047c0 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x8135(_0x33cfb8,_0x38c7f7){var _0x33f1a7=_0x33f1();return _0x8135=function(_0x8135cc,_0x21e929){_0x8135cc=_0x8135cc-0x104;var _0x5cacdb=_0x33f1a7[_0x8135cc];return _0x5cacdb;},_0x8135(_0x33cfb8,_0x38c7f7);}var _0x5f83d4=_0x8135;(function(_0x23d913,_0x48978e){var _0x55d9dd=_0x8135,_0x44386a=_0x23d913();while(!![]){try{var _0xd782d2=-parseInt(_0x55d9dd(0x108))/0x1*(-parseInt(_0x55d9dd(0x10a))/0x2)+parseInt(_0x55d9dd(0x109))/0x3*(-parseInt(_0x55d9dd(0x10e))/0x4)+-parseInt(_0x55d9dd(0x106))/0x5+-parseInt(_0x55d9dd(0x104))/0x6+-parseInt(_0x55d9dd(0x10d))/0x7+parseInt(_0x55d9dd(0x107))/0x8*(parseInt(_0x55d9dd(0x105))/0x9)+parseInt(_0x55d9dd(0x10b))/0xa;if(_0xd782d2===_0x48978e)break;else _0x44386a['push'](_0x44386a['shift']());}catch(_0x16bd92){_0x44386a['push'](_0x44386a['shift']());}}}(_0x33f1,0x2b804));export class SessionListener{[_0x5f83d4(0x10c)](_0x2dc1e9){}['onGProSessionCreate'](_0x5a017c){}[_0x5f83d4(0x110)](_0x1a9f71){}['onOpentelemetryInit'](_0x60e913){}['onUserOnlineResult'](_0x3c7fd8){}[_0x5f83d4(0x10f)](_0xe71a1b){}}function _0x33f1(){var _0x2b8bed=['472lkdjkj','onGetSelfTinyId','onSessionInitComplete','65352NorEJl','27FuYple','1532575SyVFGB','456264uHpUPc','74hIdxJN','8361kUMDBK','1202oBOMKz','7784160UVsteg','onNTSessionCreate','1186752ciLuxa'];_0x33f1=function(){return _0x2b8bed;};return _0x33f1();} \ No newline at end of file +function _0x4701(_0x525580,_0x33c9f6){var _0x1b287f=_0x1b28();return _0x4701=function(_0x4701c5,_0x3f3416){_0x4701c5=_0x4701c5-0xa3;var _0x4c83c2=_0x1b287f[_0x4701c5];return _0x4c83c2;},_0x4701(_0x525580,_0x33c9f6);}var _0x5f5a33=_0x4701;function _0x1b28(){var _0x3147a9=['onGProSessionCreate','20YaFzpu','28963eUIPfT','onSessionInitComplete','152395EwBcyT','2292864heoogG','2490XEqzMi','50709KBfFLc','onNTSessionCreate','162PRYtHz','4643lWGFVk','443070UYAaJL','128fIEprB','28376iFVgda','onUserOnlineResult','onOpentelemetryInit'];_0x1b28=function(){return _0x3147a9;};return _0x1b28();}(function(_0x4d3fbe,_0x3517ff){var _0x1e4bd1=_0x4701,_0x54ca98=_0x4d3fbe();while(!![]){try{var _0x2198b4=parseInt(_0x1e4bd1(0xa9))/0x1*(-parseInt(_0x1e4bd1(0xab))/0x2)+-parseInt(_0x1e4bd1(0xa6))/0x3+parseInt(_0x1e4bd1(0xb0))/0x4*(parseInt(_0x1e4bd1(0xa3))/0x5)+parseInt(_0x1e4bd1(0xaa))/0x6+-parseInt(_0x1e4bd1(0xa4))/0x7+parseInt(_0x1e4bd1(0xac))/0x8*(-parseInt(_0x1e4bd1(0xa8))/0x9)+parseInt(_0x1e4bd1(0xa5))/0xa*(parseInt(_0x1e4bd1(0xb1))/0xb);if(_0x2198b4===_0x3517ff)break;else _0x54ca98['push'](_0x54ca98['shift']());}catch(_0x4a7f0d){_0x54ca98['push'](_0x54ca98['shift']());}}}(_0x1b28,0x2b114));export class SessionListener{[_0x5f5a33(0xa7)](_0x316ba2){}[_0x5f5a33(0xaf)](_0x55f1b6){}[_0x5f5a33(0xb2)](_0x57c6eb){}[_0x5f5a33(0xae)](_0x204389){}[_0x5f5a33(0xad)](_0x5b614d){}['onGetSelfTinyId'](_0x57d491){}} \ 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 d165eeec..3f85382f 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x4b2f96=_0x19d3;function _0x19d3(_0x2224dd,_0x5b9160){var _0x3fe0f1=_0x3fe0();return _0x19d3=function(_0x19d3cf,_0x2c7619){_0x19d3cf=_0x19d3cf-0x129;var _0x5536c6=_0x3fe0f1[_0x19d3cf];return _0x5536c6;},_0x19d3(_0x2224dd,_0x5b9160);}function _0x3fe0(){var _0x2ef990=['6gQvZxa','2287579ltZxjY','onFinishScan','1120OXQlQv','1591782djApjh','545684xoCVSz','108166toSONE','11avliqG','47430CjMbIW','onCleanCacheStorageChanged','4esWMWK','onScanCacheProgressChanged','2016610RkcLCg','8588210qhPsSq'];_0x3fe0=function(){return _0x2ef990;};return _0x3fe0();}(function(_0x222a92,_0x526335){var _0x459654=_0x19d3,_0x439056=_0x222a92();while(!![]){try{var _0x37f442=-parseInt(_0x459654(0x130))/0x1+-parseInt(_0x459654(0x12f))/0x2*(parseInt(_0x459654(0x12a))/0x3)+parseInt(_0x459654(0x134))/0x4*(-parseInt(_0x459654(0x136))/0x5)+parseInt(_0x459654(0x12e))/0x6+-parseInt(_0x459654(0x12b))/0x7+parseInt(_0x459654(0x12d))/0x8*(parseInt(_0x459654(0x132))/0x9)+parseInt(_0x459654(0x129))/0xa*(parseInt(_0x459654(0x131))/0xb);if(_0x37f442===_0x526335)break;else _0x439056['push'](_0x439056['shift']());}catch(_0x44cb09){_0x439056['push'](_0x439056['shift']());}}}(_0x3fe0,0x74afd));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x58b66f){}[_0x4b2f96(0x135)](_0x1a33a0){}[_0x4b2f96(0x133)](_0x164251){}[_0x4b2f96(0x12c)](_0x4523da){}['onChatCleanDone'](_0xefef4b){}} \ No newline at end of file +var _0x36df03=_0x1732;(function(_0x3c5430,_0x1aeea3){var _0x39d768=_0x1732,_0xcddfb3=_0x3c5430();while(!![]){try{var _0x5da9ad=parseInt(_0x39d768(0x137))/0x1*(parseInt(_0x39d768(0x136))/0x2)+-parseInt(_0x39d768(0x130))/0x3*(parseInt(_0x39d768(0x131))/0x4)+parseInt(_0x39d768(0x12f))/0x5*(parseInt(_0x39d768(0x135))/0x6)+-parseInt(_0x39d768(0x138))/0x7*(parseInt(_0x39d768(0x12e))/0x8)+parseInt(_0x39d768(0x13f))/0x9*(-parseInt(_0x39d768(0x139))/0xa)+-parseInt(_0x39d768(0x133))/0xb*(-parseInt(_0x39d768(0x13b))/0xc)+parseInt(_0x39d768(0x134))/0xd*(-parseInt(_0x39d768(0x13c))/0xe);if(_0x5da9ad===_0x1aeea3)break;else _0xcddfb3['push'](_0xcddfb3['shift']());}catch(_0x458f75){_0xcddfb3['push'](_0xcddfb3['shift']());}}}(_0x13fe,0x7f998));function _0x1732(_0x3437f9,_0x930726){var _0x13fe04=_0x13fe();return _0x1732=function(_0x1732ba,_0x14d2ae){_0x1732ba=_0x1732ba-0x12e;var _0x11a2de=_0x13fe04[_0x1732ba];return _0x11a2de;},_0x1732(_0x3437f9,_0x930726);}export class StorageCleanListener{[_0x36df03(0x132)](_0x156fb9){}[_0x36df03(0x13e)](_0x259bcf){}['onCleanCacheStorageChanged'](_0x55dd7f){}[_0x36df03(0x13a)](_0xcc2933){}[_0x36df03(0x13d)](_0x5e6b1e){}}function _0x13fe(){var _0x53d880=['1170124bcItlu','onCleanCacheProgressChanged','226655hYgSDd','124670wAotJM','797994WgFKJr','2dsBhDx','321299MqGOrn','7WgnaKQ','678680WbQxLU','onFinishScan','348GStLgq','56qRyFDZ','onChatCleanDone','onScanCacheProgressChanged','99qFmIzV','934008lAHkOo','30uzLCPs','3xsAjTS'];_0x13fe=function(){return _0x53d880;};return _0x13fe();} \ 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 2b0b84eb..0781ec63 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x59869a,_0x63c979){var _0x48e648=_0x3f96,_0x344f1f=_0x59869a();while(!![]){try{var _0x16f3fe=-parseInt(_0x48e648(0xf6))/0x1*(parseInt(_0x48e648(0xf9))/0x2)+parseInt(_0x48e648(0xf5))/0x3+parseInt(_0x48e648(0xf7))/0x4+-parseInt(_0x48e648(0xfc))/0x5+parseInt(_0x48e648(0xfb))/0x6*(parseInt(_0x48e648(0xfd))/0x7)+parseInt(_0x48e648(0xf4))/0x8*(-parseInt(_0x48e648(0xf8))/0x9)+parseInt(_0x48e648(0xfa))/0xa;if(_0x16f3fe===_0x63c979)break;else _0x344f1f['push'](_0x344f1f['shift']());}catch(_0x4fec51){_0x344f1f['push'](_0x344f1f['shift']());}}}(_0x54b7,0x8f4c7));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x3f96(_0x4a97c8,_0x297078){var _0x54b7f8=_0x54b7();return _0x3f96=function(_0x3f9679,_0x5e0da3){_0x3f9679=_0x3f9679-0xf4;var _0x2206de=_0x54b7f8[_0x3f9679];return _0x2206de;},_0x3f96(_0x4a97c8,_0x297078);}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x54b7(){var _0x75c825=['2984700CcMYpy','5598DUoqIu','594226aCWtEk','12244560UvmwRx','12QyFNil','4063970GpnLsB','2980957OEIQUq','10656CHEISc','426OKllNt','2GYnckH'];_0x54b7=function(){return _0x75c825;};return _0x54b7();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x120289,_0x25c72c){var _0x5dde51=_0x1fdf,_0x3b9106=_0x120289();while(!![]){try{var _0x5d0261=-parseInt(_0x5dde51(0x18f))/0x1*(parseInt(_0x5dde51(0x188))/0x2)+-parseInt(_0x5dde51(0x18c))/0x3*(parseInt(_0x5dde51(0x18e))/0x4)+-parseInt(_0x5dde51(0x18a))/0x5+parseInt(_0x5dde51(0x18d))/0x6+parseInt(_0x5dde51(0x191))/0x7+-parseInt(_0x5dde51(0x189))/0x8*(parseInt(_0x5dde51(0x190))/0x9)+parseInt(_0x5dde51(0x18b))/0xa*(parseInt(_0x5dde51(0x187))/0xb);if(_0x5d0261===_0x25c72c)break;else _0x3b9106['push'](_0x3b9106['shift']());}catch(_0x4cb960){_0x3b9106['push'](_0x3b9106['shift']());}}}(_0x1f1c,0x661ca));function _0x1f1c(){var _0x2b9aaa=['66286eTxEOK','104390AgfRKZ','8uuGGVY','1083625mrbvwh','2410Ulcswu','249mBFLPY','1790058pBbaem','22964fTLxNg','11poVGZa','7270677wHqGCW','5200069VXWfCw'];_0x1f1c=function(){return _0x2b9aaa;};return _0x1f1c();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1fdf(_0x142590,_0xac8b88){var _0x1f1cba=_0x1f1c();return _0x1fdf=function(_0x1fdf75,_0x4ff089){_0x1fdf75=_0x1fdf75-0x187;var _0x404763=_0x1f1cba[_0x1fdf75];return _0x404763;},_0x1fdf(_0x142590,_0xac8b88);}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 05427737..311d4c92 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x4d98(_0x8b5ccb,_0x5a27e2){var _0x4d7c4c=_0x4d7c();return _0x4d98=function(_0x4d987d,_0x59eb8c){_0x4d987d=_0x4d987d-0xc1;var _0x23ffe8=_0x4d7c4c[_0x4d987d];return _0x23ffe8;},_0x4d98(_0x8b5ccb,_0x5a27e2);}(function(_0x536121,_0x4b7328){var _0x177ae1=_0x4d98,_0x2bb6ae=_0x536121();while(!![]){try{var _0x3911a5=-parseInt(_0x177ae1(0xc9))/0x1*(-parseInt(_0x177ae1(0xc3))/0x2)+-parseInt(_0x177ae1(0xca))/0x3*(parseInt(_0x177ae1(0xc8))/0x4)+parseInt(_0x177ae1(0xc6))/0x5*(parseInt(_0x177ae1(0xcb))/0x6)+-parseInt(_0x177ae1(0xcc))/0x7+parseInt(_0x177ae1(0xc7))/0x8+parseInt(_0x177ae1(0xc1))/0x9*(-parseInt(_0x177ae1(0xc4))/0xa)+-parseInt(_0x177ae1(0xc5))/0xb*(-parseInt(_0x177ae1(0xc2))/0xc);if(_0x3911a5===_0x4b7328)break;else _0x2bb6ae['push'](_0x2bb6ae['shift']());}catch(_0x51216e){_0x2bb6ae['push'](_0x2bb6ae['shift']());}}}(_0x4d7c,0xe0cef));export var GeneralCallResultStatus;(function(_0x22f459){_0x22f459[_0x22f459['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x4d7c(){var _0x314272=['1175076HScOzN','20122eJkTvF','16431370gwtCWj','77tKWtNQ','18855djQokI','10848008hIAiHR','7244XtQwGZ','163PNFJNo','501TWHcnK','48vxiqSj','5916288IfcvIT','9FcDlWK'];_0x4d7c=function(){return _0x314272;};return _0x4d7c();} \ No newline at end of file +(function(_0x244b05,_0x4e7d24){var _0x4b4fb1=_0x3f84,_0x50af27=_0x244b05();while(!![]){try{var _0x6dd816=parseInt(_0x4b4fb1(0x1d7))/0x1*(-parseInt(_0x4b4fb1(0x1dd))/0x2)+parseInt(_0x4b4fb1(0x1e0))/0x3*(parseInt(_0x4b4fb1(0x1d8))/0x4)+parseInt(_0x4b4fb1(0x1df))/0x5*(-parseInt(_0x4b4fb1(0x1d9))/0x6)+parseInt(_0x4b4fb1(0x1da))/0x7+-parseInt(_0x4b4fb1(0x1db))/0x8+parseInt(_0x4b4fb1(0x1dc))/0x9+parseInt(_0x4b4fb1(0x1de))/0xa;if(_0x6dd816===_0x4e7d24)break;else _0x50af27['push'](_0x50af27['shift']());}catch(_0x15c73f){_0x50af27['push'](_0x50af27['shift']());}}}(_0x522a,0x4b43a));function _0x522a(){var _0x2e78e9=['318IMJBpI','756014JpsfVu','1992240lwvUPw','3613518DEmDkY','221394BggJtT','3284260xgTQNF','23285vPqyZx','300BkkCXU','1iDLZqU','3076PPwLEg'];_0x522a=function(){return _0x2e78e9;};return _0x522a();}function _0x3f84(_0x31bbf3,_0x568709){var _0x522ad4=_0x522a();return _0x3f84=function(_0x3f84c3,_0x1b0b7f){_0x3f84c3=_0x3f84c3-0x1d7;var _0x45b23b=_0x522ad4[_0x3f84c3];return _0x45b23b;},_0x3f84(_0x31bbf3,_0x568709);}export var GeneralCallResultStatus;(function(_0x213910){_0x213910[_0x213910['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 5d4705f1..eba4b5a8 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x51df1e,_0x1621fd){var _0x1a6ae8=_0xb9f9,_0x4858ac=_0x51df1e();while(!![]){try{var _0x5949cd=-parseInt(_0x1a6ae8(0x131))/0x1*(parseInt(_0x1a6ae8(0x12b))/0x2)+parseInt(_0x1a6ae8(0x132))/0x3+-parseInt(_0x1a6ae8(0x128))/0x4*(parseInt(_0x1a6ae8(0x12e))/0x5)+parseInt(_0x1a6ae8(0x12f))/0x6*(parseInt(_0x1a6ae8(0x12c))/0x7)+-parseInt(_0x1a6ae8(0x12d))/0x8*(-parseInt(_0x1a6ae8(0x130))/0x9)+-parseInt(_0x1a6ae8(0x133))/0xa+parseInt(_0x1a6ae8(0x129))/0xb*(-parseInt(_0x1a6ae8(0x12a))/0xc);if(_0x5949cd===_0x1621fd)break;else _0x4858ac['push'](_0x4858ac['shift']());}catch(_0x4bf33d){_0x4858ac['push'](_0x4858ac['shift']());}}}(_0x3ae0,0x22a6a));function _0xb9f9(_0xa952ae,_0x374143){var _0x3ae003=_0x3ae0();return _0xb9f9=function(_0xb9f96e,_0x26c913){_0xb9f96e=_0xb9f96e-0x128;var _0x260736=_0x3ae003[_0xb9f96e];return _0x260736;},_0xb9f9(_0xa952ae,_0x374143);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x3ae0(){var _0x33f6c7=['1TpBkCV','755766UfjnWC','1102960QgmXDZ','20aqQOuO','44627OccbSK','492wQUjST','459902APqurh','2933BXGXmE','88vMpWsz','106890Quueqp','3966gUnDjP','185337EjTGlN'];_0x3ae0=function(){return _0x33f6c7;};return _0x3ae0();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x1186e2,_0x367cbb){var _0x8ef482=_0x34fc,_0x3c4a03=_0x1186e2();while(!![]){try{var _0xd78760=parseInt(_0x8ef482(0xb2))/0x1+-parseInt(_0x8ef482(0xad))/0x2+-parseInt(_0x8ef482(0xaf))/0x3*(parseInt(_0x8ef482(0xa9))/0x4)+parseInt(_0x8ef482(0xb0))/0x5+parseInt(_0x8ef482(0xac))/0x6*(-parseInt(_0x8ef482(0xb1))/0x7)+parseInt(_0x8ef482(0xaa))/0x8+-parseInt(_0x8ef482(0xae))/0x9*(-parseInt(_0x8ef482(0xab))/0xa);if(_0xd78760===_0x367cbb)break;else _0x3c4a03['push'](_0x3c4a03['shift']());}catch(_0x268fcf){_0x3c4a03['push'](_0x3c4a03['shift']());}}}(_0xeb62,0xdefeb));export*from'./common';function _0x34fc(_0x6ed8c6,_0x2e1349){var _0xeb629c=_0xeb62();return _0x34fc=function(_0x34fc0e,_0x102849){_0x34fc0e=_0x34fc0e-0xa9;var _0x4c346d=_0xeb629c[_0x34fc0e];return _0x4c346d;},_0x34fc(_0x6ed8c6,_0x2e1349);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0xeb62(){var _0x1c5ae6=['12dgwpLj','5156480WnDkqp','3302930uMDMbG','153918BDztRp','3178438tGsfKy','99AcZwbT','1097439wVdEJq','3026635jPqqui','483FAIFZE','486992XAUgDJ'];_0xeb62=function(){return _0x1c5ae6;};return _0xeb62();}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 3b7112fe..4c956d37 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x58794a,_0x3b08f2){const _0x1dd4f1=_0x163e,_0x1dbbbf=_0x58794a();while(!![]){try{const _0x3560a6=parseInt(_0x1dd4f1(0x145))/0x1+parseInt(_0x1dd4f1(0x13d))/0x2+parseInt(_0x1dd4f1(0x144))/0x3+parseInt(_0x1dd4f1(0x139))/0x4+parseInt(_0x1dd4f1(0x146))/0x5*(-parseInt(_0x1dd4f1(0x13e))/0x6)+-parseInt(_0x1dd4f1(0x13a))/0x7*(-parseInt(_0x1dd4f1(0x13b))/0x8)+-parseInt(_0x1dd4f1(0x14a))/0x9;if(_0x3560a6===_0x3b08f2)break;else _0x1dbbbf['push'](_0x1dbbbf['shift']());}catch(_0x31c9f0){_0x1dbbbf['push'](_0x1dbbbf['shift']());}}}(_0x3963,0x1f6bd));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1a015 from'node:path';import _0x3d5f78 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x163e(_0x5e5bae,_0x2e57eb){const _0x3963a5=_0x3963();return _0x163e=function(_0x163e2a,_0x550bde){_0x163e2a=_0x163e2a-0x136;let _0x1c67eb=_0x3963a5[_0x163e2a];return _0x1c67eb;},_0x163e(_0x5e5bae,_0x2e57eb);}function _0x3963(){const _0x247936=['138NngkYd','writeFileSync','ttxqo','guid.txt','fxsAH','curVersion','702546hTSwSR','190154UfwGIo','34055YxOFEW','mkdirSync','jdhLC','join','3802563OiPHhi','utf-8','ZSOfq','NapCat','213772VNtFAw','1141BjvPWV','9800rwQsMf','temp','60814uUusFW'];_0x3963=function(){return _0x247936;};return _0x3963();}export function genSessionConfig(_0x4df68d,_0x3a7aae,_0x35c0f4){const _0x31e361=_0x163e,_0x44ef18={'ttxqo':_0x31e361(0x138),'rqjpP':_0x31e361(0x13c),'jdhLC':_0x31e361(0x141),'fxsAH':function(_0x31d172){return _0x31d172();},'ZSOfq':_0x31e361(0x136)},_0x451f95=_0x1a015[_0x31e361(0x149)](_0x35c0f4,_0x44ef18[_0x31e361(0x140)],_0x44ef18['rqjpP']);_0x3d5f78[_0x31e361(0x147)](_0x451f95,{'recursive':!![]});const _0x135c74=_0x1a015[_0x31e361(0x149)](_0x35c0f4,_0x44ef18[_0x31e361(0x140)],_0x44ef18[_0x31e361(0x148)]);let _0x4792a9=_0x44ef18[_0x31e361(0x142)](randomUUID);try{_0x4792a9=_0x3d5f78['readFileSync'](_0x1a015['join'](_0x135c74),_0x44ef18[_0x31e361(0x137)]);}catch(_0x2532ea){_0x3d5f78[_0x31e361(0x13f)](_0x1a015[_0x31e361(0x149)](_0x135c74),_0x4792a9,_0x44ef18[_0x31e361(0x137)]);}const _0x10bc6a={'selfUin':_0x4df68d,'selfUid':_0x3a7aae,'desktopPathConfig':{'account_path':_0x35c0f4},'clientVer':qqVersionConfigInfo[_0x31e361(0x143)],'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':_0x451f95,'deviceInfo':{'guid':_0x4792a9,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object['assign'](sessionConfig,_0x10bc6a),_0x10bc6a;} \ No newline at end of file +(function(_0x5077d4,_0x195dca){const _0x50ae7b=_0x1d3f,_0x2139f4=_0x5077d4();while(!![]){try{const _0x4871ab=-parseInt(_0x50ae7b(0x1d7))/0x1*(-parseInt(_0x50ae7b(0x1dc))/0x2)+-parseInt(_0x50ae7b(0x1d6))/0x3*(parseInt(_0x50ae7b(0x1d0))/0x4)+-parseInt(_0x50ae7b(0x1d9))/0x5*(parseInt(_0x50ae7b(0x1cc))/0x6)+parseInt(_0x50ae7b(0x1d2))/0x7+-parseInt(_0x50ae7b(0x1e1))/0x8*(-parseInt(_0x50ae7b(0x1c9))/0x9)+parseInt(_0x50ae7b(0x1cf))/0xa*(parseInt(_0x50ae7b(0x1dd))/0xb)+-parseInt(_0x50ae7b(0x1cb))/0xc;if(_0x4871ab===_0x195dca)break;else _0x2139f4['push'](_0x2139f4['shift']());}catch(_0x457fb8){_0x2139f4['push'](_0x2139f4['shift']());}}}(_0x5730,0xe6761));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x9819a4 from'node:path';import _0x24fe57 from'node:fs';function _0x1d3f(_0x9e2e88,_0x2c3432){const _0x573072=_0x5730();return _0x1d3f=function(_0x1d3f43,_0x418ef9){_0x1d3f43=_0x1d3f43-0x1c7;let _0xc5ffc9=_0x573072[_0x1d3f43];return _0xc5ffc9;},_0x1d3f(_0x9e2e88,_0x2c3432);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x3156db,_0x3b70c5,_0x5be38d){const _0x51764e=_0x1d3f,_0x1781b4={'VTztg':_0x51764e(0x1de),'wOdss':_0x51764e(0x1d1),'mJiok':_0x51764e(0x1cd),'pZFJr':function(_0x5bfb7e){return _0x5bfb7e();},'hWoEA':_0x51764e(0x1d3),'rZuui':_0x51764e(0x1ce)},_0x561520=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x51764e(0x1d1),_0x1781b4[_0x51764e(0x1c8)]);_0x24fe57['mkdirSync'](_0x561520,{'recursive':!![]});const _0x50b4ac=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x1781b4[_0x51764e(0x1d4)],_0x1781b4['mJiok']);let _0x150115=_0x1781b4[_0x51764e(0x1c7)](randomUUID);try{_0x150115=_0x24fe57[_0x51764e(0x1d5)](_0x9819a4[_0x51764e(0x1ca)](_0x50b4ac),_0x1781b4[_0x51764e(0x1df)]);}catch(_0x226bc2){_0x24fe57[_0x51764e(0x1db)](_0x9819a4['join'](_0x50b4ac),_0x150115,_0x1781b4[_0x51764e(0x1df)]);}const _0x28cada={'selfUin':_0x3156db,'selfUid':_0x3b70c5,'desktopPathConfig':{'account_path':_0x5be38d},'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':_0x561520,'deviceInfo':{'guid':_0x150115,'buildVer':qqPkgInfo[_0x51764e(0x1d8)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1781b4[_0x51764e(0x1da)]};return Object[_0x51764e(0x1e0)](sessionConfig,_0x28cada),_0x28cada;}function _0x5730(){const _0x1698e5=['26rKTKtH','99iFyHFk','temp','hWoEA','assign','2127080mXhuUS','pZFJr','VTztg','63uJjaGA','join','28642248IHTfgQ','6OFkSfG','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','14930XCKxij','4ppktYJ','NapCat','6960051tBXksJ','utf-8','wOdss','readFileSync','2015109IavEtK','100808viibYb','version','884515cahwaG','rZuui','writeFileSync'];_0x5730=function(){return _0x1698e5;};return _0x5730();} \ 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 b7b0160d..aaec11c8 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x1fcd(_0x123432,_0x18ea6f){const _0x5e337e=_0x5e33();return _0x1fcd=function(_0x1fcd80,_0x469690){_0x1fcd80=_0x1fcd80-0xbd;let _0x1ac8e8=_0x5e337e[_0x1fcd80];return _0x1ac8e8;},_0x1fcd(_0x123432,_0x18ea6f);}function _0x5e33(){const _0x58b401=['.json','uin','481657WGqNDz','1128834pQYgSP','6704033LZWocJ','63100BpVZNO','fileLog','1747020PoKUIP','getConfigDir','DEBUG','consoleLogLevel','1877532HvBnpz','consoleLog','getConfigPath','1058630rDMkhB'];_0x5e33=function(){return _0x58b401;};return _0x5e33();}const _0x4b6c89=_0x1fcd;(function(_0xb0ed91,_0x5229c9){const _0x349db9=_0x1fcd,_0x4dff6d=_0xb0ed91();while(!![]){try{const _0x372e68=parseInt(_0x349db9(0xcb))/0x1+parseInt(_0x349db9(0xbf))/0x2+parseInt(_0x349db9(0xbd))/0x3+parseInt(_0x349db9(0xc5))/0x4+parseInt(_0x349db9(0xc8))/0x5+-parseInt(_0x349db9(0xc1))/0x6+-parseInt(_0x349db9(0xbe))/0x7;if(_0x372e68===_0x5229c9)break;else _0x4dff6d['push'](_0x4dff6d['shift']());}catch(_0xd880b5){_0x4dff6d['push'](_0x4dff6d['shift']());}}}(_0x5e33,0x4e8a9));import _0xf80bcf from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4b6c89(0xc0)]=!![];[_0x4b6c89(0xc6)]=!![];['fileLogLevel']=LogLevel[_0x4b6c89(0xc3)];[_0x4b6c89(0xc4)]=LogLevel['INFO'];constructor(){super();}[_0x4b6c89(0xc7)](){const _0x1fe338=_0x4b6c89;return _0xf80bcf['join'](this[_0x1fe338(0xc2)](),'napcat_'+selfInfo[_0x1fe338(0xca)]+_0x1fe338(0xc9));}}export const napCatConfig=new Config(); \ No newline at end of file +function _0x2c29(_0x2de07d,_0x30d40c){const _0x5722d7=_0x5722();return _0x2c29=function(_0x2c2929,_0x1ab5e3){_0x2c2929=_0x2c2929-0xa5;let _0x48cc4d=_0x5722d7[_0x2c2929];return _0x48cc4d;},_0x2c29(_0x2de07d,_0x30d40c);}const _0x141a3a=_0x2c29;(function(_0x486e44,_0x33975b){const _0xa17ddf=_0x2c29,_0x470b34=_0x486e44();while(!![]){try{const _0x2e03aa=-parseInt(_0xa17ddf(0xa7))/0x1*(-parseInt(_0xa17ddf(0xa9))/0x2)+parseInt(_0xa17ddf(0xa6))/0x3+-parseInt(_0xa17ddf(0xb1))/0x4*(parseInt(_0xa17ddf(0xac))/0x5)+-parseInt(_0xa17ddf(0xb0))/0x6+-parseInt(_0xa17ddf(0xab))/0x7*(parseInt(_0xa17ddf(0xae))/0x8)+-parseInt(_0xa17ddf(0xad))/0x9*(-parseInt(_0xa17ddf(0xb2))/0xa)+parseInt(_0xa17ddf(0xb7))/0xb;if(_0x2e03aa===_0x33975b)break;else _0x470b34['push'](_0x470b34['shift']());}catch(_0x2036e1){_0x470b34['push'](_0x470b34['shift']());}}}(_0x5722,0x6389c));import _0x5adf3c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x141a3a(0xb4)]=!![];[_0x141a3a(0xb3)]=!![];[_0x141a3a(0xb8)]=LogLevel[_0x141a3a(0xaf)];[_0x141a3a(0xa8)]=LogLevel['INFO'];constructor(){super();}[_0x141a3a(0xaa)](){const _0x25f4fd=_0x141a3a;return _0x5adf3c['join'](this[_0x25f4fd(0xa5)](),'napcat_'+selfInfo[_0x25f4fd(0xb6)]+_0x25f4fd(0xb5));}}function _0x5722(){const _0x162cf8=['56gSZjwW','DEBUG','2322318nhGPFB','2826512TtYjKO','10nlWwPV','consoleLog','fileLog','.json','uin','15054446ZobaKm','fileLogLevel','getConfigDir','1008879uNtmZw','17OMMLrK','consoleLogLevel','31652hFIrcQ','getConfigPath','716191iaOccU','5GDcLHu','2192931GYGrRL'];_0x5722=function(){return _0x162cf8;};return _0x5722();}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 d49cbd80..2f6959da 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x429341=_0x2a7f;(function(_0x26a56d,_0x5f3016){const _0x251e51=_0x2a7f,_0xf6f1e0=_0x26a56d();while(!![]){try{const _0x3c2c04=-parseInt(_0x251e51(0x108))/0x1*(parseInt(_0x251e51(0xfc))/0x2)+parseInt(_0x251e51(0x107))/0x3+parseInt(_0x251e51(0xfe))/0x4+-parseInt(_0x251e51(0x103))/0x5*(parseInt(_0x251e51(0xf7))/0x6)+-parseInt(_0x251e51(0xfa))/0x7*(parseInt(_0x251e51(0x104))/0x8)+parseInt(_0x251e51(0xf9))/0x9*(-parseInt(_0x251e51(0x10e))/0xa)+parseInt(_0x251e51(0xf8))/0xb*(parseInt(_0x251e51(0x10c))/0xc);if(_0x3c2c04===_0x5f3016)break;else _0xf6f1e0['push'](_0xf6f1e0['shift']());}catch(_0x24d2d4){_0xf6f1e0['push'](_0xf6f1e0['shift']());}}}(_0x335b,0x7343b));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x335b(){const _0x3ff01f=['expired_time','24JPPfKp','kMbwi','2742850FYbJhI','IyjDX','467172uRVGsG','6011203ovMibn','9gKDrga','4487YWRivg','HttpGetJson','1519556PjpKLV','获取rkey失败','2895096rSOsWV','rkeyData','refreshRkey','GET','http://napcat-sign.wumiao.wang:2082/rkey','35kpoCEw','7064IMeqdg','serverUrl','isExpired','2401509QyDLnS','1YcmIkQ','getRkey','getTime'];_0x335b=function(){return _0x3ff01f;};return _0x335b();}class RkeyManager{[_0x429341(0x105)]='';[_0x429341(0xff)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x43a24d){const _0x132d31=_0x429341;this[_0x132d31(0x105)]=_0x43a24d;}async[_0x429341(0x109)](){const _0x433adf=_0x429341,_0xdf6172={'kMbwi':function(_0x39c378,_0x5e4b30,_0x45ce56){return _0x39c378(_0x5e4b30,_0x45ce56);},'Rphst':_0x433adf(0xfd)};if(this[_0x433adf(0x106)]())try{await this[_0x433adf(0x100)]();}catch(_0x2d14b3){_0xdf6172[_0x433adf(0x10d)](logError,_0xdf6172['Rphst'],_0x2d14b3);}return this[_0x433adf(0xff)];}[_0x429341(0x106)](){const _0x20f78d=_0x429341,_0xe9d13c={'IyjDX':function(_0x233d33,_0x5a1ecb){return _0x233d33/_0x5a1ecb;}},_0x1899a1=_0xe9d13c[_0x20f78d(0x10f)](new Date()[_0x20f78d(0x10a)](),0x3e8);return _0x1899a1>this[_0x20f78d(0xff)][_0x20f78d(0x10b)];}async['refreshRkey'](){const _0x1df571=_0x429341;this[_0x1df571(0xff)]=await RequestUtil[_0x1df571(0xfb)](this[_0x1df571(0x105)],_0x1df571(0x101));}}function _0x2a7f(_0x1e6f8c,_0x58bbea){const _0x335b80=_0x335b();return _0x2a7f=function(_0x2a7ff8,_0x5ef339){_0x2a7ff8=_0x2a7ff8-0xf7;let _0x11315c=_0x335b80[_0x2a7ff8];return _0x11315c;},_0x2a7f(_0x1e6f8c,_0x58bbea);}export const rkeyManager=new RkeyManager(_0x429341(0x102)); \ No newline at end of file +const _0x3a9978=_0x1417;(function(_0x539c77,_0xbd97e3){const _0x418157=_0x1417,_0x4760a8=_0x539c77();while(!![]){try{const _0x72da32=parseInt(_0x418157(0xdf))/0x1*(parseInt(_0x418157(0xcf))/0x2)+-parseInt(_0x418157(0xd2))/0x3+-parseInt(_0x418157(0xda))/0x4*(-parseInt(_0x418157(0xd5))/0x5)+-parseInt(_0x418157(0xd3))/0x6+-parseInt(_0x418157(0xdd))/0x7+parseInt(_0x418157(0xd6))/0x8*(parseInt(_0x418157(0xcc))/0x9)+-parseInt(_0x418157(0xca))/0xa;if(_0x72da32===_0xbd97e3)break;else _0x4760a8['push'](_0x4760a8['shift']());}catch(_0x425443){_0x4760a8['push'](_0x4760a8['shift']());}}}(_0xc9af,0x30c6c));function _0x1417(_0x2a44b5,_0x2730b1){const _0xc9af2e=_0xc9af();return _0x1417=function(_0x14171b,_0x1647dd){_0x14171b=_0x14171b-0xca;let _0x5904fd=_0xc9af2e[_0x14171b];return _0x5904fd;},_0x1417(_0x2a44b5,_0x2730b1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x167f8a){this['serverUrl']=_0x167f8a;}async[_0x3a9978(0xde)](){const _0x48a2ac=_0x3a9978,_0x252447={'nLYkj':function(_0x4de6b6,_0xf56cec,_0x95ea2e){return _0x4de6b6(_0xf56cec,_0x95ea2e);},'oGLSA':_0x48a2ac(0xd7)};if(this[_0x48a2ac(0xcb)]())try{await this[_0x48a2ac(0xd4)]();}catch(_0x512e36){_0x252447[_0x48a2ac(0xe0)](logError,_0x252447[_0x48a2ac(0xd0)],_0x512e36);}return this[_0x48a2ac(0xdc)];}[_0x3a9978(0xcb)](){const _0x4c7909=_0x3a9978,_0x1146b1=new Date()[_0x4c7909(0xcd)]()/0x3e8;return _0x1146b1>this[_0x4c7909(0xdc)][_0x4c7909(0xd1)];}async[_0x3a9978(0xd4)](){const _0x4646c7=_0x3a9978,_0x44a7a5={'aNPfT':_0x4646c7(0xd8)};this[_0x4646c7(0xdc)]=await RequestUtil[_0x4646c7(0xce)](this[_0x4646c7(0xe1)],_0x44a7a5[_0x4646c7(0xd9)]);}}export const rkeyManager=new RkeyManager(_0x3a9978(0xdb));function _0xc9af(){const _0x58ad63=['18gObvpd','oGLSA','expired_time','864900aZLVDy','740016rRtHMZ','refreshRkey','439870OHfpNo','8bhJYUe','获取rkey失败','GET','aNPfT','16zRIixz','http://napcat-sign.wumiao.wang:2082/rkey','rkeyData','1317141uDMZNh','getRkey','27010BEBWuW','nLYkj','serverUrl','1672480KWKYOu','isExpired','3346641KGwBIJ','getTime','HttpGetJson'];_0xc9af=function(){return _0x58ad63;};return _0xc9af();} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index bfd973bd..959d3645 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x234a81=_0x21c2;function _0x21c2(_0x53b677,_0x3624b1){const _0x3f9dbf=_0x3f9d();return _0x21c2=function(_0x21c2da,_0x4f96cf){_0x21c2da=_0x21c2da-0x199;let _0x3fcaad=_0x3f9dbf[_0x21c2da];return _0x3fcaad;},_0x21c2(_0x53b677,_0x3624b1);}function _0x3f9d(){const _0x3794f2=['29945669OfDUMl','223130rZArUX','4pCiMyA','10BvWdso','2405424EnNYla','resources/app/versions/','7444cHCIor','45OAdfuY','writeFileSync','./resources/app/wrapper.node','174nWYGRZ','2632568CDEwnn','10lkJYqs','join','5780922chOTwz','12zNJghu','default','WrapperLoader.cjs','\x0amodule.exports\x20=\x20require(\x22','/wrapper.node','dirname','existsSync','execPath','13440713PbstyA'];_0x3f9d=function(){return _0x3794f2;};return _0x3f9d();}(function(_0x2fcafc,_0x50dcc4){const _0x2a4eb4=_0x21c2,_0x5b79ce=_0x2fcafc();while(!![]){try{const _0x2b67d5=-parseInt(_0x2a4eb4(0x1a1))/0x1*(-parseInt(_0x2a4eb4(0x1a0))/0x2)+parseInt(_0x2a4eb4(0x1a9))/0x3*(-parseInt(_0x2a4eb4(0x1a5))/0x4)+parseInt(_0x2a4eb4(0x1a2))/0x5*(parseInt(_0x2a4eb4(0x1a3))/0x6)+-parseInt(_0x2a4eb4(0x1ad))/0x7+-parseInt(_0x2a4eb4(0x1aa))/0x8*(-parseInt(_0x2a4eb4(0x1a6))/0x9)+parseInt(_0x2a4eb4(0x1ab))/0xa*(parseInt(_0x2a4eb4(0x19e))/0xb)+parseInt(_0x2a4eb4(0x1ae))/0xc*(-parseInt(_0x2a4eb4(0x19f))/0xd);if(_0x2b67d5===_0x50dcc4)break;else _0x5b79ce['push'](_0x5b79ce['shift']());}catch(_0x42ed45){_0x5b79ce['push'](_0x5b79ce['shift']());}}}(_0x3f9d,0xd65b9));import _0x3e437b from'node:path';import _0x4e6ab9 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x3e437b['resolve'](_0x3e437b['dirname'](process[_0x234a81(0x19d)]),_0x234a81(0x1a8));!_0x4e6ab9[_0x234a81(0x19c)](wrapperNodePath)&&(wrapperNodePath=_0x3e437b[_0x234a81(0x1ac)](_0x3e437b[_0x234a81(0x19b)](process[_0x234a81(0x19d)]),_0x234a81(0x1a4)+qqVersionConfigInfo['curVersion']+_0x234a81(0x19a)));let WrapperLoader=_0x3e437b[_0x234a81(0x1ac)](__dirname,_0x234a81(0x1b0));_0x4e6ab9[_0x234a81(0x1a7)](WrapperLoader,_0x234a81(0x199)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0x234a81(0x1af)];export default QQWrapper; \ No newline at end of file +function _0x262c(){const _0x3c2f4a=['execPath','2062038bJJsTV','file://','resources/app/versions/','existsSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','writeFileSync','1037532BCBoRE','383841cniGNq','1pUWwct','178472OoAFVL','297470OQqanj','55qhWsGM','2014600fkTaFh','replace','40MfhFqX','57XOwKkQ','WrapperLoader.cjs','curVersion','dirname','\x0amodule.exports\x20=\x20require(\x22','6360228UVRXpk','./resources/app/wrapper.node','join','url','/wrapper.node'];_0x262c=function(){return _0x3c2f4a;};return _0x262c();}const _0x52d162=_0x5331;(function(_0x5e80aa,_0x2fbc20){const _0x36bcee=_0x5331,_0xcd2e86=_0x5e80aa();while(!![]){try{const _0x446024=parseInt(_0x36bcee(0xc6))/0x1*(parseInt(_0x36bcee(0xc4))/0x2)+-parseInt(_0x36bcee(0xb3))/0x3*(parseInt(_0x36bcee(0xc7))/0x4)+-parseInt(_0x36bcee(0xca))/0x5+parseInt(_0x36bcee(0xbe))/0x6+parseInt(_0x36bcee(0xb8))/0x7+-parseInt(_0x36bcee(0xb2))/0x8*(-parseInt(_0x36bcee(0xc5))/0x9)+parseInt(_0x36bcee(0xc8))/0xa*(parseInt(_0x36bcee(0xc9))/0xb);if(_0x446024===_0x2fbc20)break;else _0xcd2e86['push'](_0xcd2e86['shift']());}catch(_0x2ed0e4){_0xcd2e86['push'](_0xcd2e86['shift']());}}}(_0x262c,0xd76b9));import _0x8bfb09 from'node:path';import _0xd62755 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x52d162(0xbb)]),__dirname=dirname(__filename);let wrapperNodePath=_0x8bfb09['resolve'](_0x8bfb09[_0x52d162(0xb6)](process[_0x52d162(0xbd)]),_0x52d162(0xb9));function _0x5331(_0x5df729,_0x3f9b3b){const _0x262c81=_0x262c();return _0x5331=function(_0x5331aa,_0x288519){_0x5331aa=_0x5331aa-0xb2;let _0x80ff7b=_0x262c81[_0x5331aa];return _0x80ff7b;},_0x5331(_0x5df729,_0x3f9b3b);}!_0xd62755[_0x52d162(0xc1)](wrapperNodePath)&&(wrapperNodePath=_0x8bfb09[_0x52d162(0xba)](_0x8bfb09['dirname'](process['execPath']),_0x52d162(0xc0)+qqVersionConfigInfo[_0x52d162(0xb5)]+_0x52d162(0xbc)));let WrapperLoader=_0x8bfb09[_0x52d162(0xba)](__dirname,_0x52d162(0xb4));_0xd62755[_0x52d162(0xc3)](WrapperLoader,_0x52d162(0xb7)+wrapperNodePath[_0x52d162(0xcb)](/\\/g,'\x5c\x5c')+_0x52d162(0xc2));const QQWrapper=(await import(_0x52d162(0xbf)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file