diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index a9555c41..917b9dfd 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -84,7 +84,7 @@ export class NTEventWrapper { } //统一回调清理事件 async DispatcherListener(ListenerMainName: string, ListenerSubName: string, ...args: any[]) { - console.log(ListenerMainName, this.EventTask.get(ListenerMainName), ListenerSubName, this.EventTask.get(ListenerMainName)?.get(ListenerSubName)); + //console.log(ListenerMainName, this.EventTask.get(ListenerMainName), ListenerSubName, this.EventTask.get(ListenerMainName)?.get(ListenerSubName)); this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.forEach((task, uuid) => { //console.log(task.func, uuid, task.createtime, task.timeout); if (task.createtime + task.timeout < Date.now()) { @@ -109,15 +109,17 @@ export class NTEventWrapper { }); } async CallNormalEvent Promise, ListenerType extends (...args: any[]) => void>(EventName = '', ListenerName = '', waitTimes = 1, timeout: number = 3000, ...args: Parameters) { - return new Promise>>(async (resolve, reject) => { + return new Promise>, ...Parameters]>>(async (resolve, reject) => { const id = randomUUID(); let complete = 0; let retData: ArrayLike> | undefined = undefined; + let retEvent: any = {}; let databack = () => { if (complete < waitTimes) { reject(new Error('NTEvent EventName:' + EventName + ' ListenerName:' + ListenerName + ' timeout')); } else { - resolve(retData as ArrayLike>); + + resolve([retEvent, ...(retData as Parameters)]); } } let Timeouter = setTimeout(databack, timeout); @@ -147,7 +149,7 @@ export class NTEventWrapper { this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.set(id, eventCallbak); this.CreatListenerFunction(ListenerMainName); let EventFunc = this.CreatEventFunction(EventName); - console.log(await EventFunc!(...args)); + retEvent = await EventFunc!(...args); }); } diff --git a/src/core b/src/core index fd7f8bf9..cc65c9d7 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit fd7f8bf92c6090fd9b13f9746dadafa7afb42b1c +Subproject commit cc65c9d7f9e24b9f50fcf8e0a028780ed214bc5b diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 2813a01b..234bdd9e 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x4b0d6a=_0x1529;(function(_0x52ff36,_0x29fb2d){var _0x1a21ce=_0x1529,_0x167b98=_0x52ff36();while(!![]){try{var _0x17acaa=-parseInt(_0x1a21ce(0x166))/0x1*(-parseInt(_0x1a21ce(0x162))/0x2)+-parseInt(_0x1a21ce(0x16a))/0x3*(-parseInt(_0x1a21ce(0x168))/0x4)+parseInt(_0x1a21ce(0x16d))/0x5+parseInt(_0x1a21ce(0x165))/0x6*(parseInt(_0x1a21ce(0x169))/0x7)+parseInt(_0x1a21ce(0x161))/0x8*(parseInt(_0x1a21ce(0x160))/0x9)+-parseInt(_0x1a21ce(0x16c))/0xa+-parseInt(_0x1a21ce(0x16b))/0xb;if(_0x17acaa===_0x29fb2d)break;else _0x167b98['push'](_0x167b98['shift']());}catch(_0x31a5e5){_0x167b98['push'](_0x167b98['shift']());}}}(_0x24aa,0x9937f));function _0x24aa(){var _0x4f43f1=['99kigWuU','14419669KHvkID','10173660gpSMwY','1139955RyJjcm','90uyWZwb','964408gPUQMV','82jhxQeU','getGroupCode','onMSFStatusChange','2336814GFTjLf','17123RvpQvS','onMSFSsoError','52220VSoqMY','7aGvgIR'];_0x24aa=function(){return _0x4f43f1;};return _0x24aa();}function _0x1529(_0x4ee119,_0x5a0f42){var _0x24aa91=_0x24aa();return _0x1529=function(_0x1529cb,_0x16d326){_0x1529cb=_0x1529cb-0x160;var _0x5b63ba=_0x24aa91[_0x1529cb];return _0x5b63ba;},_0x1529(_0x4ee119,_0x5a0f42);}export class DependsAdapter{[_0x4b0d6a(0x164)](_0x4917b3,_0x572337){}[_0x4b0d6a(0x167)](_0x2da2f){}[_0x4b0d6a(0x163)](_0x39bee0){}} \ No newline at end of file +var _0x62b2bd=_0x2142;(function(_0x4f3a04,_0x2c517e){var _0x2c6e5f=_0x2142,_0x375f31=_0x4f3a04();while(!![]){try{var _0x429122=parseInt(_0x2c6e5f(0xe9))/0x1*(-parseInt(_0x2c6e5f(0xe8))/0x2)+-parseInt(_0x2c6e5f(0xed))/0x3+parseInt(_0x2c6e5f(0xe4))/0x4*(parseInt(_0x2c6e5f(0xe5))/0x5)+-parseInt(_0x2c6e5f(0xea))/0x6*(-parseInt(_0x2c6e5f(0xee))/0x7)+parseInt(_0x2c6e5f(0xec))/0x8*(parseInt(_0x2c6e5f(0xe6))/0x9)+parseInt(_0x2c6e5f(0xeb))/0xa+-parseInt(_0x2c6e5f(0xe2))/0xb*(parseInt(_0x2c6e5f(0xe0))/0xc);if(_0x429122===_0x2c517e)break;else _0x375f31['push'](_0x375f31['shift']());}catch(_0x3362fc){_0x375f31['push'](_0x375f31['shift']());}}}(_0x48f9,0x735d8));function _0x48f9(){var _0x5f5bed=['getGroupCode','714JrMmTx','1277zWPsuD','2493708FdsWsg','4146070Uidukq','96ybBraE','2476083xTyPph','14VsGLNC','12sBuYWJ','onMSFStatusChange','9403405fwqQNr','onMSFSsoError','11640qIyHLc','1025JGPGDG','574686tTALjz'];_0x48f9=function(){return _0x5f5bed;};return _0x48f9();}function _0x2142(_0x436061,_0x139ec3){var _0x48f908=_0x48f9();return _0x2142=function(_0x2142fa,_0x168b3c){_0x2142fa=_0x2142fa-0xe0;var _0xe51323=_0x48f908[_0x2142fa];return _0xe51323;},_0x2142(_0x436061,_0x139ec3);}export class DependsAdapter{[_0x62b2bd(0xe1)](_0x801762,_0x256593){}[_0x62b2bd(0xe3)](_0x5f5741){}[_0x62b2bd(0xe7)](_0x9c3873){}} \ 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 518f50c9..dd8db6da 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x8cf134=_0x1024;(function(_0x2a21ab,_0x282266){var _0x5b3008=_0x1024,_0x24759b=_0x2a21ab();while(!![]){try{var _0x22a91c=parseInt(_0x5b3008(0x1ca))/0x1+parseInt(_0x5b3008(0x1c8))/0x2*(-parseInt(_0x5b3008(0x1bf))/0x3)+-parseInt(_0x5b3008(0x1c5))/0x4*(parseInt(_0x5b3008(0x1c6))/0x5)+-parseInt(_0x5b3008(0x1c2))/0x6+-parseInt(_0x5b3008(0x1c3))/0x7+-parseInt(_0x5b3008(0x1c9))/0x8*(-parseInt(_0x5b3008(0x1cb))/0x9)+-parseInt(_0x5b3008(0x1c4))/0xa*(-parseInt(_0x5b3008(0x1c0))/0xb);if(_0x22a91c===_0x282266)break;else _0x24759b['push'](_0x24759b['shift']());}catch(_0x3f1d85){_0x24759b['push'](_0x24759b['shift']());}}}(_0x2fc3,0xf2629));function _0x1024(_0x2b6ddc,_0x43acc5){var _0x2fc329=_0x2fc3();return _0x1024=function(_0x1024cf,_0x4333c7){_0x1024cf=_0x1024cf-0x1bf;var _0x317483=_0x2fc329[_0x1024cf];return _0x317483;},_0x1024(_0x2b6ddc,_0x43acc5);}export class DispatcherAdapter{[_0x8cf134(0x1c7)](_0x52d790){}[_0x8cf134(0x1c1)](_0x56d090){}['dispatchCallWithJson'](_0x5787d2){}}function _0x2fc3(){var _0x3b4bd5=['70LVtZKm','dispatchRequest','1644PEzIvI','1448sUOsMm','1900210xRavgB','79263fvSKHc','1353gwhUoG','715USkmqe','dispatchCall','7958814stQUsI','5885383WYPwQJ','253300reSIra','459988GnlLDJ'];_0x2fc3=function(){return _0x3b4bd5;};return _0x2fc3();} \ No newline at end of file +function _0x206d(){var _0x23bdd8=['102FpJevs','9305hSOhux','135702FjFbbu','2712lpJUKq','2053513IsxWsG','27853dvEtyJ','dispatchCallWithJson','2xoEvZP','dispatchCall','2668oZGUSE','728415eZTZFd','dispatchRequest','10424080mGakDA','5859VCgSlS'];_0x206d=function(){return _0x23bdd8;};return _0x206d();}function _0x5cb0(_0x3c63e6,_0xab1a38){var _0x206d2e=_0x206d();return _0x5cb0=function(_0x5cb0c6,_0x289cea){_0x5cb0c6=_0x5cb0c6-0x196;var _0x26ae25=_0x206d2e[_0x5cb0c6];return _0x26ae25;},_0x5cb0(_0x3c63e6,_0xab1a38);}var _0x4826c7=_0x5cb0;(function(_0x3bb31e,_0x1869b6){var _0x1bd7f2=_0x5cb0,_0x193856=_0x3bb31e();while(!![]){try{var _0x2d6d4c=parseInt(_0x1bd7f2(0x197))/0x1+-parseInt(_0x1bd7f2(0x199))/0x2*(-parseInt(_0x1bd7f2(0x19c))/0x3)+-parseInt(_0x1bd7f2(0x19b))/0x4*(-parseInt(_0x1bd7f2(0x1a1))/0x5)+parseInt(_0x1bd7f2(0x1a0))/0x6*(parseInt(_0x1bd7f2(0x1a2))/0x7)+parseInt(_0x1bd7f2(0x1a3))/0x8*(parseInt(_0x1bd7f2(0x19f))/0x9)+-parseInt(_0x1bd7f2(0x19e))/0xa+-parseInt(_0x1bd7f2(0x196))/0xb;if(_0x2d6d4c===_0x1869b6)break;else _0x193856['push'](_0x193856['shift']());}catch(_0x2632f3){_0x193856['push'](_0x193856['shift']());}}}(_0x206d,0xcb651));export class DispatcherAdapter{[_0x4826c7(0x19d)](_0x26ddd4){}[_0x4826c7(0x19a)](_0x287d40){}[_0x4826c7(0x198)](_0x246805){}} \ 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 913b0840..8d5ad9b1 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x4f8113=_0xf1f2;function _0x35df(){var _0x3b9e7e=['3521436PmCwkG','149rXjTHk','4638996aYdwEH','fixPicImgType','getAppSetting','1427048kBFCdV','18529jIeosc','onShowErrUITips','3192hiXqws','onInstallFinished','onGetSrvCalTime','22749354RmvbJi','18208slaMDE','3610590bxnDbA','onGetOfflineMsg'];_0x35df=function(){return _0x3b9e7e;};return _0x35df();}function _0xf1f2(_0x595b4a,_0x28b7e1){var _0x35dffb=_0x35df();return _0xf1f2=function(_0xf1f29c,_0x559efc){_0xf1f29c=_0xf1f29c-0x179;var _0x1a08e9=_0x35dffb[_0xf1f29c];return _0x1a08e9;},_0xf1f2(_0x595b4a,_0x28b7e1);}(function(_0x1e4b79,_0x93502d){var _0x4fbf91=_0xf1f2,_0x220f4d=_0x1e4b79();while(!![]){try{var _0x2733dd=parseInt(_0x4fbf91(0x17c))/0x1*(parseInt(_0x4fbf91(0x187))/0x2)+parseInt(_0x4fbf91(0x17b))/0x3+-parseInt(_0x4fbf91(0x180))/0x4+-parseInt(_0x4fbf91(0x179))/0x5+parseInt(_0x4fbf91(0x17d))/0x6+parseInt(_0x4fbf91(0x181))/0x7*(parseInt(_0x4fbf91(0x183))/0x8)+-parseInt(_0x4fbf91(0x186))/0x9;if(_0x2733dd===_0x93502d)break;else _0x220f4d['push'](_0x220f4d['shift']());}catch(_0x2e9fea){_0x220f4d['push'](_0x220f4d['shift']());}}}(_0x35df,0xb7d91));export class GlobalAdapter{['onLog'](..._0x198012){}[_0x4f8113(0x185)](..._0x594cf7){}[_0x4f8113(0x182)](..._0x8cfe34){}[_0x4f8113(0x17e)](..._0x3ebfff){}[_0x4f8113(0x17f)](..._0x1a4158){}[_0x4f8113(0x184)](..._0x3475fc){}['onUpdateGeneralFlag'](..._0x370928){}[_0x4f8113(0x17a)](..._0x3c3b1a){}} \ No newline at end of file +var _0x1d8b72=_0x3b92;(function(_0x2a47de,_0x1fb71a){var _0x587d35=_0x3b92,_0x4941af=_0x2a47de();while(!![]){try{var _0x178f8a=parseInt(_0x587d35(0xc3))/0x1*(parseInt(_0x587d35(0xc5))/0x2)+parseInt(_0x587d35(0xbd))/0x3*(-parseInt(_0x587d35(0xbe))/0x4)+parseInt(_0x587d35(0xc2))/0x5+-parseInt(_0x587d35(0xc1))/0x6+-parseInt(_0x587d35(0xc4))/0x7+-parseInt(_0x587d35(0xc7))/0x8*(parseInt(_0x587d35(0xc0))/0x9)+parseInt(_0x587d35(0xbb))/0xa;if(_0x178f8a===_0x1fb71a)break;else _0x4941af['push'](_0x4941af['shift']());}catch(_0x3dcb46){_0x4941af['push'](_0x4941af['shift']());}}}(_0x323e,0x9c432));function _0x3b92(_0x3e3bb2,_0x23d9d5){var _0x323e93=_0x323e();return _0x3b92=function(_0x3b9281,_0x4fd5a3){_0x3b9281=_0x3b9281-0xbb;var _0x317e58=_0x323e93[_0x3b9281];return _0x317e58;},_0x3b92(_0x3e3bb2,_0x23d9d5);}export class GlobalAdapter{[_0x1d8b72(0xbc)](..._0x120cc0){}[_0x1d8b72(0xc6)](..._0x1ae244){}['onShowErrUITips'](..._0x3f2454){}[_0x1d8b72(0xbf)](..._0x438268){}['getAppSetting'](..._0x389f30){}['onInstallFinished'](..._0x457b7b){}['onUpdateGeneralFlag'](..._0x4151a6){}['onGetOfflineMsg'](..._0x4a58fa){}}function _0x323e(){var _0x2aeed0=['2HOauen','onGetSrvCalTime','322264FVIddR','15552630kOVFXG','onLog','1080210nNGYGC','4vaYcHA','fixPicImgType','27nNkINB','5544360CDCfox','1278500qXohgg','787907OplQhF','3876887WIQDpz'];_0x323e=function(){return _0x2aeed0;};return _0x323e();} \ 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 81230653..67c8b69b 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x1a6cfb,_0x5d2ba8){var _0x36f690=_0x4479,_0x3d156f=_0x1a6cfb();while(!![]){try{var _0x2fc096=-parseInt(_0x36f690(0xbf))/0x1*(-parseInt(_0x36f690(0xc0))/0x2)+-parseInt(_0x36f690(0xc5))/0x3*(parseInt(_0x36f690(0xc2))/0x4)+parseInt(_0x36f690(0xc1))/0x5+-parseInt(_0x36f690(0xc6))/0x6+parseInt(_0x36f690(0xc3))/0x7+parseInt(_0x36f690(0xc8))/0x8*(parseInt(_0x36f690(0xc4))/0x9)+-parseInt(_0x36f690(0xc7))/0xa;if(_0x2fc096===_0x5d2ba8)break;else _0x3d156f['push'](_0x3d156f['shift']());}catch(_0x213d15){_0x3d156f['push'](_0x3d156f['shift']());}}}(_0x268b,0x4eab2));function _0x268b(){var _0x1ba0e5=['1896170wmykrW','20suYgSm','1690052jPwLyQ','9BCYtih','162858ztksLk','2116542jDUTkT','145990Ufowus','786792NNZpcd','1QkcnXa','483986BZUGzS'];_0x268b=function(){return _0x1ba0e5;};return _0x268b();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x4479(_0x14664e,_0x54462a){var _0x268b9e=_0x268b();return _0x4479=function(_0x4479aa,_0x3dfa81){_0x4479aa=_0x4479aa-0xbf;var _0x95a000=_0x268b9e[_0x4479aa];return _0x95a000;},_0x4479(_0x14664e,_0x54462a);}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x5bbc47,_0x19c40a){var _0x3a3fab=_0x19e0,_0x27b1d5=_0x5bbc47();while(!![]){try{var _0x547184=-parseInt(_0x3a3fab(0x1e0))/0x1*(-parseInt(_0x3a3fab(0x1dc))/0x2)+-parseInt(_0x3a3fab(0x1d8))/0x3+-parseInt(_0x3a3fab(0x1d9))/0x4*(parseInt(_0x3a3fab(0x1df))/0x5)+-parseInt(_0x3a3fab(0x1de))/0x6*(-parseInt(_0x3a3fab(0x1dd))/0x7)+parseInt(_0x3a3fab(0x1db))/0x8+parseInt(_0x3a3fab(0x1da))/0x9+-parseInt(_0x3a3fab(0x1e2))/0xa*(parseInt(_0x3a3fab(0x1e1))/0xb);if(_0x547184===_0x19c40a)break;else _0x27b1d5['push'](_0x27b1d5['shift']());}catch(_0x237cf7){_0x27b1d5['push'](_0x27b1d5['shift']());}}}(_0x617e,0xe57cb));export*from'./NodeIDependsAdapter';function _0x617e(){var _0x201b36=['49WUsVum','111450uRXLkT','5568175OPnmDp','20SAlCHu','220ToNVYY','323890SxlWSG','1828884YNnYHU','4xoUeSF','11169567xneDuL','11499152cwXkHv','50254QWFpiV'];_0x617e=function(){return _0x201b36;};return _0x617e();}function _0x19e0(_0x4606ac,_0x1241e3){var _0x617e13=_0x617e();return _0x19e0=function(_0x19e006,_0x56659c){_0x19e006=_0x19e006-0x1d8;var _0x637dc1=_0x617e13[_0x19e006];return _0x637dc1;},_0x19e0(_0x4606ac,_0x1241e3);}export*from'./NodeIDispatcherAdapter';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 208798a9..80f46efe 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0xd6a2ce=_0x51f8;(function(_0x39ac41,_0x56a240){const _0x239baa=_0x51f8,_0x18e128=_0x39ac41();while(!![]){try{const _0x2b01f5=-parseInt(_0x239baa(0x9d))/0x1*(parseInt(_0x239baa(0xaf))/0x2)+parseInt(_0x239baa(0xa4))/0x3*(-parseInt(_0x239baa(0xa6))/0x4)+-parseInt(_0x239baa(0xad))/0x5+-parseInt(_0x239baa(0xa7))/0x6*(-parseInt(_0x239baa(0xc0))/0x7)+parseInt(_0x239baa(0xa2))/0x8*(-parseInt(_0x239baa(0x9f))/0x9)+-parseInt(_0x239baa(0xac))/0xa*(parseInt(_0x239baa(0xb3))/0xb)+-parseInt(_0x239baa(0x96))/0xc*(-parseInt(_0x239baa(0xa1))/0xd);if(_0x2b01f5===_0x56a240)break;else _0x18e128['push'](_0x18e128['shift']());}catch(_0x1d6935){_0x18e128['push'](_0x18e128['shift']());}}}(_0x2468,0x878f9));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x517eca from'path';import _0x504ebf from'fs';import _0xc25505 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x13632c from'file-type';import{MsgListener}from'@/core/listeners';function _0x2468(){const _0x51d3f3=['copyFile','wLrDI','87edAvpt','util','6789141aqIljR','getChatCacheInfo','37399102YXEBEV','8bpoCbe','session','105993kfiFuW','clearChatCache','108NmeGnx','18sdqOOy','scanCache','JWzkP','图片url获取失败','gbHZO','13220sekDsI','168825QlSOcc','set','15182wvhlhs','XWUvj','getDesktopTmpPath','addListener','891WMRBce','existsSync','&rkey=','npmws','private_rkey','getHotUpdateCachePath','getStorageCleanService','SpNpj','startsWith','hotUpdate','clearChatCacheInfo','uploadFile','clearCacheDataByKeys','438557fptSad','group_rkey','setCacheSilentScan','ULbkj','getMsgService','delete','bbfIw','ext','basename','filePath','getCacheSessionPathList','getRkey','getFileSize','getFileType','fileTypeFromFile','getImageSize','onRichMediaDownloadComplete','fileUuid','originImageUrl','ndblM','onLoginSuccess','clearCache','defaultFileDownloadPath','getChatCacheList','includes','md5HexStr','JiwBm','/download','12OWxebo','downloadMedia','join','/gchatpic_new/0/0-0-','addCacheScanedPaths'];_0x2468=function(){return _0x51d3f3;};return _0x2468();}import _0x352978 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[_0xd6a2ce(0xd0)]=_0x5d5cea=>{const _0x30d6d2=_0xd6a2ce;for(const [_0x2ee94e,_0x1440c6]of downloadMediaTasks){_0x1440c6(_0x5d5cea),downloadMediaTasks[_0x30d6d2(0xc5)](_0x2ee94e);}},setTimeout(()=>{const _0x6798e0=_0xd6a2ce;napCatCore[_0x6798e0(0x8e)](()=>{const _0x33fd06=_0x6798e0;napCatCore[_0x33fd06(0xb2)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0xd6a2ce(0xcd)](_0x4c82d3){const _0x30cce6=_0xd6a2ce;return _0x13632c[_0x30cce6(0xce)](_0x4c82d3);}static async[_0xd6a2ce(0x9b)](_0xd4fbf0,_0x59f77b){const _0x327ec0=_0xd6a2ce;await napCatCore[_0x327ec0(0x9e)][_0x327ec0(0x9b)](_0xd4fbf0,_0x59f77b);}static async[_0xd6a2ce(0xcc)](_0x5dc2b9){const _0x4ee10b=_0xd6a2ce;return await napCatCore[_0x4ee10b(0x9e)][_0x4ee10b(0xcc)](_0x5dc2b9);}static async[_0xd6a2ce(0xbe)](_0x41b666,_0x45f361=ElementType['PIC'],_0x3e4054=0x0){const _0x4041de=_0xd6a2ce,_0x261ca9={'wLrDI':function(_0x9c0334,_0x1082ce){return _0x9c0334(_0x1082ce);},'JWzkP':function(_0x1cd46f,_0x302c2b){return _0x1cd46f+_0x302c2b;},'fnXJE':function(_0x21430f,_0x2af7a7){return _0x21430f===_0x2af7a7;}},_0x34aba5=await _0x261ca9[_0x4041de(0x9c)](calculateFileMD5,_0x41b666);let _0x331b0b=(await NTQQFileApi[_0x4041de(0xcd)](_0x41b666))?.[_0x4041de(0xc7)]||'';_0x331b0b&&(_0x331b0b=_0x261ca9[_0x4041de(0xa9)]('.',_0x331b0b));let _0x5245c6=''+_0x517eca[_0x4041de(0xc8)](_0x41b666);_0x261ca9['fnXJE'](_0x5245c6['indexOf']('.'),-0x1)&&(_0x5245c6+=_0x331b0b);const _0x3d7916=napCatCore[_0x4041de(0xa3)][_0x4041de(0xc4)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x34aba5,'fileName':_0x5245c6,'elementType':_0x45f361,'elementSubType':_0x3e4054,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4041de(0x9b)](_0x41b666,_0x3d7916);const _0x23a9c8=await NTQQFileApi[_0x4041de(0xcc)](_0x41b666);return{'md5':_0x34aba5,'fileName':_0x5245c6,'path':_0x3d7916,'fileSize':_0x23a9c8,'ext':_0x331b0b};}static async[_0xd6a2ce(0x97)](_0x57de69,_0x429ec1,_0x37aeb9,_0x12f8f5,_0x3b691a,_0x1b2431,_0x5d9396=0x3e8*0x3c*0x2,_0x3cf82f=![]){const _0x481d9c=_0xd6a2ce,_0x3b7e9d={'bbfIw':function(_0x5a45ca,_0x45bc0d){return _0x5a45ca(_0x45bc0d);},'gbHZO':'下载超时','obvyZ':function(_0x12b36e){return _0x12b36e();},'MNHou':function(_0x3a5f0f,_0x241324,_0x5b1d56){return _0x3a5f0f(_0x241324,_0x5b1d56);}};if(_0x1b2431&&_0x504ebf[_0x481d9c(0xb4)](_0x1b2431)){if(_0x3cf82f)try{await _0xc25505['unlink'](_0x1b2431);}catch(_0x34f254){}else return _0x1b2431;}return new Promise((_0x4beb55,_0x2d3f5c)=>{const _0x49aee8=_0x481d9c,_0x2a5572={'JJKGc':function(_0x46f915,_0x26651a){return _0x46f915===_0x26651a;},'JiwBm':function(_0x3c79a3,_0x23be6d){return _0x3c79a3(_0x23be6d);},'npmws':function(_0x3471aa,_0x411acb){const _0x553a6b=_0x51f8;return _0x3b7e9d[_0x553a6b(0xc6)](_0x3471aa,_0x411acb);},'ndblM':_0x3b7e9d[_0x49aee8(0xab)]};let _0x13ec1e=![];const _0x20c297=_0x4aa63b=>{const _0x464c95=_0x49aee8;if(_0x2a5572['JJKGc'](_0x4aa63b['msgId'],_0x57de69)){_0x13ec1e=!![];let _0x51c1b7=_0x4aa63b[_0x464c95(0xc9)];if(_0x51c1b7['startsWith']('\x5c')){const _0x221a81=sessionConfig[_0x464c95(0x90)];_0x51c1b7=_0x517eca[_0x464c95(0x98)](_0x221a81,_0x51c1b7);}_0x2a5572[_0x464c95(0x94)](_0x4beb55,_0x51c1b7);}};downloadMediaTasks[_0x49aee8(0xae)](_0x3b7e9d['obvyZ'](randomUUID),_0x20c297),_0x3b7e9d['MNHou'](setTimeout,()=>{const _0x2693f6=_0x49aee8;!_0x13ec1e&&_0x2a5572[_0x2693f6(0xb6)](_0x2d3f5c,_0x2a5572[_0x2693f6(0x8d)]);},_0x5d9396),napCatCore[_0x49aee8(0xa3)]['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x57de69,'chatType':_0x429ec1,'peerUid':_0x37aeb9,'elementId':_0x12f8f5,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3b691a});});}static async[_0xd6a2ce(0xcf)](_0x1b27b7){const _0x2eaaf1={'SpNpj':function(_0x5c5422,_0x279023){return _0x5c5422(_0x279023);}};return new Promise((_0x1ef9c2,_0x4c1798)=>{_0x352978(_0x1b27b7,(_0x2cfac6,_0x387f12)=>{const _0x2ce4b1=_0x51f8;_0x2cfac6?_0x2eaaf1[_0x2ce4b1(0xba)](_0x4c1798,_0x2cfac6):_0x2eaaf1[_0x2ce4b1(0xba)](_0x1ef9c2,_0x387f12);});});}static async['getImageUrl'](_0x40c738,_0xd10a04){const _0xe4485b=_0xd6a2ce,_0x1808f2={'TmcQJ':_0xe4485b(0xb5),'ULbkj':function(_0x5e26fc,_0x28979d){return _0x5e26fc+_0x28979d;},'NHlgg':function(_0x378a00,_0x42f0ff){return _0x378a00||_0x42f0ff;},'BKjLc':function(_0x5d9d93,_0x3014bb){return _0x5d9d93||_0x3014bb;},'XWUvj':function(_0x2124e3,_0x2dcc23,_0x142868){return _0x2124e3(_0x2dcc23,_0x142868);}};if(!_0x40c738)return'';const _0x36109c=_0x40c738[_0xe4485b(0x8c)],_0x539330=_0x40c738[_0xe4485b(0x93)],_0x5b210e=_0x40c738[_0xe4485b(0x93)],_0x507ce1=_0x40c738[_0xe4485b(0x8b)];if(_0x36109c){if(_0x36109c[_0xe4485b(0xbb)](_0xe4485b(0x95))){if(_0x36109c[_0xe4485b(0x92)](_0x1808f2['TmcQJ']))return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST_NT,_0x36109c);const _0x4ce612=await rkeyManager[_0xe4485b(0xcb)](),_0x1767db=_0xd10a04?_0x4ce612[_0xe4485b(0xb7)]:_0x4ce612[_0xe4485b(0xc1)];return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST_NT+_0x36109c,''+_0x1767db);}else return _0x1808f2[_0xe4485b(0xc3)](IMAGE_HTTP_HOST,_0x36109c);}else{if(_0x1808f2['NHlgg'](_0x5b210e,_0x539330))return IMAGE_HTTP_HOST+_0xe4485b(0x99)+_0x1808f2['BKjLc'](_0x5b210e,_0x539330)['toUpperCase']()+'/0';}return _0x1808f2[_0xe4485b(0xb0)](logDebug,_0xe4485b(0xaa),_0x40c738),'';}}function _0x51f8(_0xa5dc84,_0x2e4b9e){const _0x24686a=_0x2468();return _0x51f8=function(_0x51f828,_0x509e20){_0x51f828=_0x51f828-0x8b;let _0x1b1aeb=_0x24686a[_0x51f828];return _0x1b1aeb;},_0x51f8(_0xa5dc84,_0x2e4b9e);}export class NTQQFileCacheApi{static async[_0xd6a2ce(0xc2)](_0x3e47da=!![]){return'';}static[_0xd6a2ce(0xca)](){return'';}static[_0xd6a2ce(0x8f)](_0x353fed=['tmp',_0xd6a2ce(0xbc)]){const _0x1c9daa=_0xd6a2ce;return napCatCore['session'][_0x1c9daa(0xb9)]()[_0x1c9daa(0xbf)](_0x353fed);}static['addCacheScannedPaths'](_0x13db6e={}){const _0x3b9741=_0xd6a2ce;return napCatCore[_0x3b9741(0xa3)]['getStorageCleanService']()[_0x3b9741(0x9a)](_0x13db6e);}static['scanCache'](){const _0x555a7f=_0xd6a2ce;return napCatCore['session'][_0x555a7f(0xb9)]()[_0x555a7f(0xa8)]();}static[_0xd6a2ce(0xb8)](){return'';}static[_0xd6a2ce(0xb1)](){return'';}static[_0xd6a2ce(0x91)](_0x43bb2b,_0x37e57a=0x3e8,_0x3fdcfe=0x0){const _0x562e2b=_0xd6a2ce;return napCatCore[_0x562e2b(0xa3)]['getStorageCleanService']()[_0x562e2b(0xa0)](_0x43bb2b,_0x37e57a,0x1,_0x3fdcfe);}static['getFileCacheInfo'](_0x3e7f9b,_0x33fe9b=0x3e8,_0x5495c9){const _0x29ac9c=_0x5495c9?_0x5495c9:{'fileType':_0x3e7f9b};}static async[_0xd6a2ce(0xa5)](_0x5d58f3=[],_0x5d9fec=[]){const _0x213a8a=_0xd6a2ce;return napCatCore[_0x213a8a(0xa3)][_0x213a8a(0xb9)]()[_0x213a8a(0xbd)](_0x5d58f3,_0x5d9fec);}} \ No newline at end of file +const _0x382dbd=_0x1eae;(function(_0x223dcd,_0x24dcc8){const _0x6084b=_0x1eae,_0x2c54b9=_0x223dcd();while(!![]){try{const _0x52e920=-parseInt(_0x6084b(0xde))/0x1+-parseInt(_0x6084b(0x110))/0x2*(parseInt(_0x6084b(0x11e))/0x3)+parseInt(_0x6084b(0xdc))/0x4+-parseInt(_0x6084b(0xed))/0x5*(-parseInt(_0x6084b(0xe6))/0x6)+parseInt(_0x6084b(0xf1))/0x7*(parseInt(_0x6084b(0xfc))/0x8)+-parseInt(_0x6084b(0xe2))/0x9+parseInt(_0x6084b(0xea))/0xa*(parseInt(_0x6084b(0xdf))/0xb);if(_0x52e920===_0x24dcc8)break;else _0x2c54b9['push'](_0x2c54b9['shift']());}catch(_0x26ec9b){_0x2c54b9['push'](_0x2c54b9['shift']());}}}(_0x2d6c,0x4aa99));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x2d6c(){const _0x3676f9=['clearChatCacheInfo','getImageUrl','indexOf','图片url获取失败','66018aipjEB','ext','util','qCPpj','horwe','originImageUrl','fileTypeFromFile','addCacheScanedPaths','WcJCW','copyFile','PIC','getDesktopTmpPath','getFileType','md5HexStr','54xJTkyi','private_rkey','eaUJh','uploadFile','1736004NSHMfF','/gchatpic_new/0/0-0-','547429ezWqej','11308xuBmEP','addCacheScannedPaths','getFileSize','4968657hPZAGI','tmp','zwMfb','getStorageCleanService','19698hYCYtM','mPQIg','filePath','clearCache','8540AQlrrg','basename','DXMvw','845tQuoBg','&rkey=','clearChatCache','setCacheSilentScan','301VKLzUU','getRkey','join','defaultFileDownloadPath','getImageSize','set','RQAjn','QWkAG','downloadRichMedia','fileUuid','getChatCacheList','24696lqRltO','includes','toUpperCase','addListener','session','delete','startsWith','getHotUpdateCachePath','getRichMediaFilePathForGuild','lwUeD','getCacheSessionPathList','/download','scanCache','OIIIR','QkJag','hotUpdate'];_0x2d6c=function(){return _0x3676f9;};return _0x2d6c();}import _0x5d28e4 from'path';import _0x3c762f from'fs';import _0x1950a5 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4e0ff from'file-type';import{MsgListener}from'@/core/listeners';import _0x10df56 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x1eae(_0x36f998,_0x56cd42){const _0x2d6c34=_0x2d6c();return _0x1eae=function(_0x1eae9f,_0x46028b){_0x1eae9f=_0x1eae9f-0xda;let _0x125cbf=_0x2d6c34[_0x1eae9f];return _0x125cbf;},_0x1eae(_0x36f998,_0x56cd42);}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x350c21=>{const _0x3147bc=_0x1eae,_0x17c6c7={'HXoUd':function(_0x55116,_0x2b8b69){return _0x55116(_0x2b8b69);}};for(const [_0x2e65ef,_0x52b334]of downloadMediaTasks){_0x17c6c7['HXoUd'](_0x52b334,_0x350c21),downloadMediaTasks[_0x3147bc(0x101)](_0x2e65ef);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x409477=_0x1eae;napCatCore[_0x409477(0xff)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x382dbd(0x11c)](_0x1527e8){const _0x56a713=_0x382dbd;return _0x4e0ff[_0x56a713(0x116)](_0x1527e8);}static async[_0x382dbd(0x119)](_0x425be2,_0xf75185){const _0x3566bb=_0x382dbd;await napCatCore[_0x3566bb(0x112)][_0x3566bb(0x119)](_0x425be2,_0xf75185);}static async[_0x382dbd(0xe1)](_0x38c7fc){const _0x4d7bba=_0x382dbd;return await napCatCore['util'][_0x4d7bba(0xe1)](_0x38c7fc);}static async[_0x382dbd(0xdb)](_0x535a35,_0x1e7318=ElementType[_0x382dbd(0x11a)],_0x4486b5=0x0){const _0x337548=_0x382dbd,_0x381fed={'jpxUt':function(_0x524810,_0x34a60b){return _0x524810(_0x34a60b);},'iarze':function(_0x2d45b1,_0x1dbc76){return _0x2d45b1+_0x1dbc76;}},_0x3abf2a=await _0x381fed['jpxUt'](calculateFileMD5,_0x535a35);let _0x227004=(await NTQQFileApi['getFileType'](_0x535a35))?.[_0x337548(0x111)]||'';_0x227004&&(_0x227004=_0x381fed['iarze']('.',_0x227004));let _0x5d8819=''+_0x5d28e4[_0x337548(0xeb)](_0x535a35);_0x5d8819[_0x337548(0x10e)]('.')===-0x1&&(_0x5d8819+=_0x227004);const _0x268926=napCatCore['session']['getMsgService']()[_0x337548(0x104)]({'md5HexStr':_0x3abf2a,'fileName':_0x5d8819,'elementType':_0x1e7318,'elementSubType':_0x4486b5,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x535a35,_0x268926);const _0x11c30f=await NTQQFileApi[_0x337548(0xe1)](_0x535a35);return{'md5':_0x3abf2a,'fileName':_0x5d8819,'path':_0x268926,'fileSize':_0x11c30f,'ext':_0x227004};}static async['downloadMedia'](_0x12c6b4,_0x34422c,_0x224058,_0x41ae43,_0x4728c1,_0x2ffdea,_0x16cccf=0x3e8*0x3c*0x2,_0x2bb33c=![]){const _0x465da1={'NtRYT':function(_0x3e03e8,_0x1ba109){return _0x3e03e8===_0x1ba109;},'horwe':function(_0x481fdd,_0x57bf17){return _0x481fdd(_0x57bf17);},'lwUeD':function(_0x2170d0,_0x378e32){return _0x2170d0(_0x378e32);},'mPQIg':'下载超时','DXMvw':function(_0x107431){return _0x107431();},'WcJCW':function(_0x43767e,_0x4acf83,_0x26a1aa){return _0x43767e(_0x4acf83,_0x26a1aa);}};if(_0x2ffdea&&_0x3c762f['existsSync'](_0x2ffdea)){if(_0x2bb33c)try{await _0x1950a5['unlink'](_0x2ffdea);}catch(_0x42f4cb){}else return _0x2ffdea;}return new Promise((_0x4b0f60,_0x278100)=>{const _0x20572e=_0x1eae;let _0x4600fd=![];const _0x426088=_0x1b1885=>{const _0x1e65e2=_0x1eae;if(_0x465da1['NtRYT'](_0x1b1885['msgId'],_0x12c6b4)){_0x4600fd=!![];let _0x35a2ad=_0x1b1885[_0x1e65e2(0xe8)];if(_0x35a2ad[_0x1e65e2(0x102)]('\x5c')){const _0x38a06a=sessionConfig[_0x1e65e2(0xf4)];_0x35a2ad=_0x5d28e4[_0x1e65e2(0xf3)](_0x38a06a,_0x35a2ad);}_0x465da1[_0x1e65e2(0x114)](_0x4b0f60,_0x35a2ad);}};downloadMediaTasks[_0x20572e(0xf6)](_0x465da1[_0x20572e(0xec)](randomUUID),_0x426088),_0x465da1[_0x20572e(0x118)](setTimeout,()=>{const _0x245104=_0x20572e;!_0x4600fd&&_0x465da1[_0x245104(0x105)](_0x278100,_0x465da1[_0x245104(0xe7)]);},_0x16cccf),napCatCore['session']['getMsgService']()[_0x20572e(0xf9)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x12c6b4,'chatType':_0x34422c,'peerUid':_0x224058,'elementId':_0x41ae43,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4728c1});});}static async[_0x382dbd(0xf5)](_0x576dab){const _0x5dee74={'OIIIR':function(_0x1810c8,_0x1401e0){return _0x1810c8(_0x1401e0);},'RQAjn':function(_0x104da7,_0x284736,_0x381476){return _0x104da7(_0x284736,_0x381476);}};return new Promise((_0x17a5a7,_0x5ec162)=>{const _0x4253f5=_0x1eae;_0x5dee74[_0x4253f5(0xf7)](_0x10df56,_0x576dab,(_0x39bc74,_0x5bdc28)=>{const _0x52a096=_0x4253f5;_0x39bc74?_0x5dee74[_0x52a096(0x109)](_0x5ec162,_0x39bc74):_0x5dee74[_0x52a096(0x109)](_0x17a5a7,_0x5bdc28);});});}static async[_0x382dbd(0x10d)](_0x2074ba,_0x11ec40){const _0x554ba6=_0x382dbd,_0x466391={'QWkAG':_0x554ba6(0x107),'qCPpj':_0x554ba6(0xee),'zwMfb':function(_0xeb5fc0,_0x3aef44){return _0xeb5fc0+_0x3aef44;},'eaUJh':function(_0x41bbeb,_0x4ddf9e){return _0x41bbeb+_0x4ddf9e;},'hFoOV':function(_0x303111,_0xda928){return _0x303111||_0xda928;},'QkJag':function(_0x358ffa,_0x443b78,_0x966a){return _0x358ffa(_0x443b78,_0x966a);}};if(!_0x2074ba)return'';const _0x39faff=_0x2074ba[_0x554ba6(0x115)],_0x117db9=_0x2074ba[_0x554ba6(0x11d)],_0x2d277b=_0x2074ba[_0x554ba6(0x11d)],_0x37c4f6=_0x2074ba[_0x554ba6(0xfa)];if(_0x39faff){if(_0x39faff[_0x554ba6(0x102)](_0x466391[_0x554ba6(0xf8)])){if(_0x39faff[_0x554ba6(0xfd)](_0x466391[_0x554ba6(0x113)]))return _0x466391[_0x554ba6(0xe4)](IMAGE_HTTP_HOST_NT,_0x39faff);const _0x4fd705=await rkeyManager[_0x554ba6(0xf2)](),_0x2c1320=_0x11ec40?_0x4fd705[_0x554ba6(0x11f)]:_0x4fd705['group_rkey'];return IMAGE_HTTP_HOST_NT+_0x39faff+(''+_0x2c1320);}else return _0x466391[_0x554ba6(0xda)](IMAGE_HTTP_HOST,_0x39faff);}else{if(_0x2d277b||_0x117db9)return IMAGE_HTTP_HOST+_0x554ba6(0xdd)+_0x466391['hFoOV'](_0x2d277b,_0x117db9)[_0x554ba6(0xfe)]()+'/0';}return _0x466391[_0x554ba6(0x10a)](logDebug,_0x554ba6(0x10f),_0x2074ba),'';}}export class NTQQFileCacheApi{static async[_0x382dbd(0xf0)](_0x557a6c=!![]){return'';}static[_0x382dbd(0x106)](){return'';}static[_0x382dbd(0xe9)](_0x16de93=[_0x382dbd(0xe3),_0x382dbd(0x10b)]){const _0x2fe4ea=_0x382dbd;return napCatCore[_0x2fe4ea(0x100)][_0x2fe4ea(0xe5)]()['clearCacheDataByKeys'](_0x16de93);}static[_0x382dbd(0xe0)](_0x21f8ab={}){const _0x4d128d=_0x382dbd;return napCatCore[_0x4d128d(0x100)]['getStorageCleanService']()[_0x4d128d(0x117)](_0x21f8ab);}static[_0x382dbd(0x108)](){const _0x49dfc3=_0x382dbd;return napCatCore[_0x49dfc3(0x100)][_0x49dfc3(0xe5)]()[_0x49dfc3(0x108)]();}static[_0x382dbd(0x103)](){return'';}static[_0x382dbd(0x11b)](){return'';}static[_0x382dbd(0xfb)](_0x435831,_0x1b5fa9=0x3e8,_0x373f39=0x0){const _0x517c87=_0x382dbd;return napCatCore[_0x517c87(0x100)][_0x517c87(0xe5)]()['getChatCacheInfo'](_0x435831,_0x1b5fa9,0x1,_0x373f39);}static['getFileCacheInfo'](_0x26e5e4,_0x4ff271=0x3e8,_0x48436b){const _0xecac10=_0x48436b?_0x48436b:{'fileType':_0x26e5e4};}static async[_0x382dbd(0xef)](_0x746b74=[],_0xe05fb0=[]){const _0x361633=_0x382dbd;return napCatCore[_0x361633(0x100)][_0x361633(0xe5)]()[_0x361633(0x10c)](_0x746b74,_0xe05fb0);}} \ 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 7dbc5440..6bf9022a 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x1fccd4=_0x2295;(function(_0x6fc93d,_0x391304){const _0x4b8de9=_0x2295,_0x6871a3=_0x6fc93d();while(!![]){try{const _0x4f3cdf=parseInt(_0x4b8de9(0x8e))/0x1+parseInt(_0x4b8de9(0x9f))/0x2+-parseInt(_0x4b8de9(0x97))/0x3*(-parseInt(_0x4b8de9(0x85))/0x4)+-parseInt(_0x4b8de9(0x98))/0x5*(-parseInt(_0x4b8de9(0x84))/0x6)+parseInt(_0x4b8de9(0x96))/0x7+-parseInt(_0x4b8de9(0x9a))/0x8*(parseInt(_0x4b8de9(0x93))/0x9)+-parseInt(_0x4b8de9(0x9e))/0xa;if(_0x4f3cdf===_0x391304)break;else _0x6871a3['push'](_0x6871a3['shift']());}catch(_0x471877){_0x6871a3['push'](_0x6871a3['shift']());}}}(_0x3197,0xcadc8));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x3197(){const _0x563ca6=['8073863SyjBeL','81MrOmlj','45seZuwl','friendUid','8dIGzBR','获取好友列表超时','uid','KCUVq','24493710ffLWIF','2266890JFPMhS','reqTime','push','buddyList','onLoginSuccess','getBuddyList','hrHkO','485574sCUwmB','76024mMYACx','onBuddyListChange','qxyOa','PXiHh','then','getFriends','session','MpweF','HsUxN','937499TEYGoy','dOWBn','handleFriendRequest','getBuddyService','uin','10670265ImvcaF','addListener','fwiwO'];_0x3197=function(){return _0x563ca6;};return _0x3197();}function _0x2295(_0x5cfba9,_0x1c4b25){const _0x31974f=_0x3197();return _0x2295=function(_0x22955f,_0x3a99c4){_0x22955f=_0x22955f-0x84;let _0x1a1063=_0x31974f[_0x22955f];return _0x1a1063;},_0x2295(_0x5cfba9,_0x1c4b25);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x1fccd4(0x86)]=_0x30d16c=>{const _0x1770d8=_0x1fccd4,_0x22df02={'MpweF':function(_0x4f0710,_0x640672){return _0x4f0710(_0x640672);}};for(const [_0xf49065,_0x2b2bd9]of buddyChangeTasks){_0x22df02[_0x1770d8(0x8c)](_0x2b2bd9,_0x30d16c),buddyChangeTasks['delete'](_0xf49065);}},setTimeout(()=>{const _0x301eb0=_0x1fccd4;napCatCore[_0x301eb0(0xa3)](()=>{const _0x42a69e=_0x301eb0;napCatCore[_0x42a69e(0x94)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x1fccd4(0x8a)](_0x165fbf=![]){const _0x286e4b=_0x1fccd4,_0x1dc7fc={'hrHkO':function(_0xcbc06c,_0x3dbce9){return _0xcbc06c(_0x3dbce9);},'dOWBn':_0x286e4b(0x9b),'PXiHh':function(_0xcb2c3b,_0x1d1ca5){return _0xcb2c3b(_0x1d1ca5);},'qxyOa':function(_0x1683dd,_0x8b8df9,_0x4db8b8){return _0x1683dd(_0x8b8df9,_0x4db8b8);},'fwiwO':function(_0x82c800){return _0x82c800();}};return new Promise((_0x2ade1e,_0x567e4d)=>{const _0x201997=_0x286e4b,_0x55a9d8={'HsUxN':function(_0x403ee8,_0x5d9709){const _0x615dfe=_0x2295;return _0x1dc7fc[_0x615dfe(0x88)](_0x403ee8,_0x5d9709);},'KCUVq':'开始获取好友列表'};let _0x1259a4=![];_0x1dc7fc[_0x201997(0x87)](setTimeout,()=>{const _0x283741=_0x201997;!_0x1259a4&&(_0x1dc7fc[_0x283741(0xa5)](logDebug,_0x1dc7fc[_0x283741(0x8f)]),_0x1dc7fc['PXiHh'](_0x567e4d,_0x283741(0x9b)));},0x1388);const _0x2aee8c=[],_0x25db5f=_0x59cd92=>{const _0x10c1c6=_0x201997;for(const _0xa33c96 of _0x59cd92){for(const _0x19cb5e of _0xa33c96[_0x10c1c6(0xa2)]){_0x2aee8c[_0x10c1c6(0xa1)](_0x19cb5e),uid2UinMap[_0x19cb5e[_0x10c1c6(0x9c)]]=_0x19cb5e[_0x10c1c6(0x92)];}}_0x1259a4=!![],_0x55a9d8[_0x10c1c6(0x8d)](_0x2ade1e,_0x2aee8c);};buddyChangeTasks['set'](_0x1dc7fc[_0x201997(0x95)](randomUUID),_0x25db5f),napCatCore[_0x201997(0x8b)]['getBuddyService']()[_0x201997(0xa4)](_0x165fbf)[_0x201997(0x89)](_0x193524=>{const _0x4d2930=_0x201997;logDebug(_0x55a9d8[_0x4d2930(0x9d)],_0x193524);});});}static async[_0x1fccd4(0x90)](_0x403704,_0xda053a){const _0x58ae80=_0x1fccd4;napCatCore['session'][_0x58ae80(0x91)]()?.['approvalFriendRequest']({'friendUid':_0x403704[_0x58ae80(0x99)],'reqTime':_0x403704[_0x58ae80(0xa0)],'accept':_0xda053a});}} \ No newline at end of file +const _0x25502f=_0xbe03;(function(_0x66409f,_0x54f3bb){const _0x525bb5=_0xbe03,_0xe1d4d6=_0x66409f();while(!![]){try{const _0x2399bc=-parseInt(_0x525bb5(0x1ae))/0x1+parseInt(_0x525bb5(0x1b8))/0x2*(-parseInt(_0x525bb5(0x1b5))/0x3)+-parseInt(_0x525bb5(0x1c7))/0x4+-parseInt(_0x525bb5(0x1bc))/0x5*(parseInt(_0x525bb5(0x1c0))/0x6)+-parseInt(_0x525bb5(0x1bb))/0x7*(-parseInt(_0x525bb5(0x1c8))/0x8)+-parseInt(_0x525bb5(0x1ba))/0x9*(parseInt(_0x525bb5(0x1b1))/0xa)+parseInt(_0x525bb5(0x1b0))/0xb;if(_0x2399bc===_0x54f3bb)break;else _0xe1d4d6['push'](_0xe1d4d6['shift']());}catch(_0x1669dd){_0xe1d4d6['push'](_0xe1d4d6['shift']());}}}(_0x435c,0xd3f83));import{BuddyListener,napCatCore}from'@/core';function _0x435c(){const _0x37af8c=['266094fLrtgX','then','27710441IQQOod','1220lhejxm','getFriends','reqTime','JVBgB','229893UrxdJD','addListener','friendUid','10pdPfcj','session','53901dSaWpY','2342578Wzsfxb','500GlKVZf','开始获取好友列表','approvalFriendRequest','KVfsl','10452ENBCmk','uid','uin','DHUpV','buddyList','RumPZ','set','4403036QAqBdO','24UmayIR','getBuddyService','push','getBuddyList','VJzvo','delete'];_0x435c=function(){return _0x37af8c;};return _0x435c();}import{logDebug}from'@/common/utils/log';function _0xbe03(_0x1c4a44,_0x37cda5){const _0x435c59=_0x435c();return _0xbe03=function(_0xbe035f,_0x597ebf){_0xbe035f=_0xbe035f-0x1ab;let _0xc810ef=_0x435c59[_0xbe035f];return _0xc810ef;},_0xbe03(_0x1c4a44,_0x37cda5);}import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x3f1c04=>{const _0x3a4ea3=_0xbe03,_0x2ab4a1={'KVfsl':function(_0x1106ac,_0x406661){return _0x1106ac(_0x406661);}};for(const [_0x19c712,_0x559d18]of buddyChangeTasks){_0x2ab4a1[_0x3a4ea3(0x1bf)](_0x559d18,_0x3f1c04),buddyChangeTasks[_0x3a4ea3(0x1ad)](_0x19c712);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x44c323=_0xbe03;napCatCore[_0x44c323(0x1b6)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x25502f(0x1b2)](_0x350b8d=![]){const _0x1c9cb9=_0x25502f,_0x53c32c={'AioMT':_0x1c9cb9(0x1bd),'JVBgB':function(_0x46bfdc,_0x37f7bf,_0x5f6409){return _0x46bfdc(_0x37f7bf,_0x5f6409);},'RhhPN':function(_0x19dd48){return _0x19dd48();}};return new Promise((_0x59f8d6,_0x2165a5)=>{const _0x359743=_0x1c9cb9,_0x16a5c4={'gCrib':function(_0x52f3fd,_0x120a82){return _0x52f3fd(_0x120a82);},'DHUpV':'获取好友列表超时','VJzvo':function(_0x15e19f,_0x5d5b84,_0x30b185){return _0x15e19f(_0x5d5b84,_0x30b185);},'RumPZ':_0x53c32c['AioMT']};let _0x7f159b=![];_0x53c32c[_0x359743(0x1b4)](setTimeout,()=>{const _0x52837a=_0x359743;!_0x7f159b&&(_0x16a5c4['gCrib'](logDebug,_0x16a5c4[_0x52837a(0x1c3)]),_0x2165a5('获取好友列表超时'));},0x1388);const _0x117b30=[],_0x2097f0=_0x195657=>{const _0x53a8ba=_0x359743;for(const _0x411113 of _0x195657){for(const _0x8d420b of _0x411113[_0x53a8ba(0x1c4)]){_0x117b30[_0x53a8ba(0x1ca)](_0x8d420b),uid2UinMap[_0x8d420b[_0x53a8ba(0x1c1)]]=_0x8d420b[_0x53a8ba(0x1c2)];}}_0x7f159b=!![],_0x59f8d6(_0x117b30);};buddyChangeTasks[_0x359743(0x1c6)](_0x53c32c['RhhPN'](randomUUID),_0x2097f0),napCatCore[_0x359743(0x1b9)][_0x359743(0x1c9)]()[_0x359743(0x1ab)](_0x350b8d)[_0x359743(0x1af)](_0x114df6=>{const _0x5e4782=_0x359743;_0x16a5c4[_0x5e4782(0x1ac)](logDebug,_0x16a5c4[_0x5e4782(0x1c5)],_0x114df6);});});}static async['handleFriendRequest'](_0x4920e4,_0x5b9a77){const _0x2c4d5d=_0x25502f;napCatCore[_0x2c4d5d(0x1b9)][_0x2c4d5d(0x1c9)]()?.[_0x2c4d5d(0x1be)]({'friendUid':_0x4920e4[_0x2c4d5d(0x1b7)],'reqTime':_0x4920e4[_0x2c4d5d(0x1b3)],'accept':_0x5b9a77});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 4a7a54e5..40ba9b17 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -1,6 +1,6 @@ import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities'; export declare class NTQQGroupApi { - static getGroups(forced?: boolean): Promise; + static getGroups(forced?: boolean): Promise<[EventRet: any, updateType: number, groupList: Group[]]>; static CreatGroupFileFolder(groupCode: string, folderName: string): Promise{const _0x468b36=_0x1a2d0d,_0x1ab73d={'jZWwB':function(_0x31998a,_0x56b7a5,_0x132deb,_0x2155a1){return _0x31998a(_0x56b7a5,_0x132deb,_0x2155a1);}};for(const [_0x49f367,_0x574fe9]of SingleScreenNotifiesTasks){_0x1ab73d[_0x468b36(0x1c2)](_0x574fe9,_0x51e2ab,_0x1a7ee7,_0x3b9b07),SingleScreenNotifiesTasks[_0x468b36(0x1c6)](_0x49f367);}},groupListener['onGroupListUpdate']=(_0x27d714,_0x31a5c5)=>{const _0x1bd372=_0x1a2d0d,_0x119363={'MNcqX':function(_0x168dd1,_0x18f05d,_0x4460e9){return _0x168dd1(_0x18f05d,_0x4460e9);}};for(const [_0x585f16,_0x41334e]of groupMemberTasks){_0x119363['MNcqX'](_0x41334e,_0x27d714,_0x31a5c5),groupMemberTasks[_0x1bd372(0x1c6)](_0x585f16);}},setTimeout(()=>{const _0x4de849=_0x1a2d0d;napCatCore[_0x4de849(0x1a8)](()=>{const _0x5a891a=_0x4de849;napCatCore[_0x5a891a(0x1af)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x1a2d0d(0x1bb)](_0x1fb2b4=![]){const _0x5853fa={'ekchC':function(_0x29e843,_0x524729){return _0x29e843(_0x524729);},'zlmNX':function(_0x5393aa,_0x1c5670,_0x39c721){return _0x5393aa(_0x1c5670,_0x39c721);},'ElUdI':'获取群列表完成'};let _0x4041ee=![];return new Promise((_0x4e0a9a,_0x543c62)=>{const _0x5b65b4=_0x281b,_0x112e2c={'tIKls':function(_0x2cb0ca,_0x37accd){return _0x5853fa['ekchC'](_0x2cb0ca,_0x37accd);},'YBbyZ':function(_0x453115,_0x1b2c61,_0x231a4c){const _0x4e0ef2=_0x281b;return _0x5853fa[_0x4e0ef2(0x19a)](_0x453115,_0x1b2c61,_0x231a4c);},'qdhky':_0x5853fa['ElUdI'],'ApzQp':function(_0x4db0b5,_0x528375){return _0x5853fa['ekchC'](_0x4db0b5,_0x528375);}};_0x5853fa[_0x5b65b4(0x19a)](setTimeout,()=>{const _0x4dcdae=_0x5b65b4;!_0x4041ee&&(_0x112e2c['tIKls'](logDebug,_0x4dcdae(0x1ce)),_0x543c62(_0x4dcdae(0x1ce)));},0x1388);const _0x401043=(_0x3ee1dc,_0x4e2877)=>{const _0x73af69=_0x5b65b4;_0x4041ee=!![],_0x112e2c[_0x73af69(0x1ac)](logDebug,_0x112e2c[_0x73af69(0x19c)],_0x4e2877),_0x112e2c[_0x73af69(0x1cb)](_0x4e0a9a,_0x4e2877);};groupMemberTasks[_0x5b65b4(0x19f)](randomUUID(),_0x401043),napCatCore[_0x5b65b4(0x1d5)][_0x5b65b4(0x1b4)]()[_0x5b65b4(0x1b6)](_0x1fb2b4)['then']();});}static async[_0x1a2d0d(0x1d4)](_0x17ad1f,_0x95d044){const _0x46b0ed=_0x1a2d0d;return napCatCore[_0x46b0ed(0x1d5)]['getRichMediaService']()[_0x46b0ed(0x191)](_0x17ad1f,_0x95d044);}static async['DelGroupFile'](_0x395764,_0x233137){const _0x5bb4f9=_0x1a2d0d;return napCatCore[_0x5bb4f9(0x1d5)]['getRichMediaService']()[_0x5bb4f9(0x198)](_0x395764,[0x66],_0x233137);}static async[_0x1a2d0d(0x18f)](_0x5ac7ab,_0x1484bb){const _0x5958d3=_0x1a2d0d;return napCatCore[_0x5958d3(0x1d5)]['getRichMediaService']()[_0x5958d3(0x1ba)](_0x5ac7ab,_0x1484bb);}static async[_0x1a2d0d(0x1a4)](_0x5d84a5){const _0x4a5b1a=_0x1a2d0d,_0x494680={'gVnMq':function(_0x402770,_0x47e8d4,_0x26e7b6){return _0x402770(_0x47e8d4,_0x26e7b6);}},_0x470090=napCatCore[_0x4a5b1a(0x1d5)][_0x4a5b1a(0x1b4)]();return new Promise((_0x43fde3,_0x492ac4)=>{const _0x1ece85=_0x4a5b1a,_0x165bd8={'rJfyZ':'获取群系统消息列表超时','AtnYZ':function(_0x123136,_0x29fa7d){return _0x123136(_0x29fa7d);}};let _0x53733b=![];_0x494680[_0x1ece85(0x1b0)](setTimeout,()=>{const _0x4de598=_0x1ece85;!_0x53733b&&_0x492ac4(_0x165bd8[_0x4de598(0x1bf)]);},0x1388);const _0x30ef3b=(_0x2c9af7,_0x3f757a,_0x4c3eb4)=>{_0x53733b=!![],_0x165bd8['AtnYZ'](_0x43fde3,_0x4c3eb4);};SingleScreenNotifiesTasks[_0x1ece85(0x19f)](randomUUID(),_0x30ef3b),_0x470090[_0x1ece85(0x1a4)](![],'',_0x5d84a5);});}static async[_0x1a2d0d(0x193)](_0x37c5c5,_0x1e1e7b=0xbb8){const _0x22ffa0=_0x1a2d0d,_0x34244a={'xeDPD':function(_0x6b1f7,_0x5ce8d3){return _0x6b1f7!==_0x5ce8d3;},'zMVBE':function(_0x526a5b,_0x188c27){return _0x526a5b+_0x188c27;},'vIhBT':_0x22ffa0(0x1ad)},_0x33c818=napCatCore[_0x22ffa0(0x1d5)][_0x22ffa0(0x1b4)](),_0x401d8c=_0x33c818['createMemberListScene'](_0x37c5c5,_0x22ffa0(0x1d3)),_0xac8efc=await _0x33c818[_0x22ffa0(0x195)](_0x401d8c,undefined,_0x1e1e7b);if(_0x34244a[_0x22ffa0(0x1c8)](_0xac8efc[_0x22ffa0(0x19d)],0x0))throw _0x34244a[_0x22ffa0(0x1b3)](_0x34244a[_0x22ffa0(0x1be)],_0xac8efc[_0x22ffa0(0x1d2)]);return _0xac8efc['result']['infos'][_0x22ffa0(0x1c0)](_0x5d1e07=>{const _0x3222eb=_0x22ffa0;uid2UinMap[_0x5d1e07['uid']]=_0x5d1e07[_0x3222eb(0x1a6)];}),_0xac8efc['result'][_0x22ffa0(0x194)];}static async[_0x1a2d0d(0x1a3)](){}static async['GetGroupFileCount'](_0x3843fb){const _0x578224=_0x1a2d0d;return napCatCore[_0x578224(0x1d5)]['getRichMediaService']()[_0x578224(0x1b1)](_0x3843fb);}static async[_0x1a2d0d(0x199)](){}static async[_0x1a2d0d(0x19b)](_0x41d6ca,_0x5eefb0){const _0x1d8b0b=_0x1a2d0d,_0x4ede6d={'JxYpm':_0x1d8b0b(0x1c5)},_0x122edc=(await NTQQUserApi[_0x1d8b0b(0x1d1)](['qun.qq.com']))[_0x4ede6d[_0x1d8b0b(0x190)]];return napCatCore[_0x1d8b0b(0x1d5)][_0x1d8b0b(0x1b4)]()[_0x1d8b0b(0x19b)](_0x41d6ca,_0x122edc,_0x5eefb0);}static async[_0x1a2d0d(0x1a9)](_0x14ddd8,_0x3e34cd,_0x38cec0){const _0x284a1f=_0x1a2d0d,_0x43a60d={'EPKYE':function(_0x3d079c,_0x42f59e){return _0x3d079c||_0x42f59e;}};return napCatCore['session'][_0x284a1f(0x1b4)]()[_0x284a1f(0x1ca)](![],{'operateType':_0x3e34cd,'targetMsg':{'seq':_0x14ddd8[_0x284a1f(0x1b8)],'type':_0x14ddd8['type'],'groupCode':_0x14ddd8[_0x284a1f(0x1a1)][_0x284a1f(0x1b7)],'postscript':_0x43a60d['EPKYE'](_0x38cec0,'')}});}static async[_0x1a2d0d(0x1bd)](_0x4ae14f){const _0x1f2732=_0x1a2d0d;return napCatCore['session']['getGroupService']()[_0x1f2732(0x1bd)](_0x4ae14f);}static async[_0x1a2d0d(0x1cd)](_0x172a73,_0x512ec9,_0xac8728=![],_0x2ca1f4=''){const _0x3c3913=_0x1a2d0d;return napCatCore[_0x3c3913(0x1d5)]['getGroupService']()[_0x3c3913(0x1cd)](_0x172a73,_0x512ec9,_0xac8728,_0x2ca1f4);}static async[_0x1a2d0d(0x1c1)](_0x30d488,_0x3e16b2){const _0x5e8f7b=_0x1a2d0d;return napCatCore[_0x5e8f7b(0x1d5)][_0x5e8f7b(0x1b4)]()[_0x5e8f7b(0x1a7)](_0x30d488,_0x3e16b2);}static async['banGroup'](_0x56049d,_0x5328f8){const _0x451bde=_0x1a2d0d;return napCatCore[_0x451bde(0x1d5)]['getGroupService']()['setGroupShutUp'](_0x56049d,_0x5328f8);}static async[_0x1a2d0d(0x19e)](_0x15c6ef,_0x376535,_0x3605e6){const _0x598b6b=_0x1a2d0d;return napCatCore['session']['getGroupService']()[_0x598b6b(0x192)](_0x15c6ef,_0x376535,_0x3605e6);}static async['setMemberRole'](_0xe20d65,_0x5ed437,_0x3e35fd){const _0x191490=_0x1a2d0d;return napCatCore[_0x191490(0x1d5)][_0x191490(0x1b4)]()[_0x191490(0x1cf)](_0xe20d65,_0x5ed437,_0x3e35fd);}static async[_0x1a2d0d(0x1b9)](_0x38d62d,_0x4c8719){const _0x70811e=_0x1a2d0d;return napCatCore[_0x70811e(0x1d5)][_0x70811e(0x1b4)]()[_0x70811e(0x1bc)](_0x38d62d,_0x4c8719,![]);}static async['setGroupTitle'](_0xa40a56,_0x27f581,_0x42dca7){}static async[_0x1a2d0d(0x1c9)](_0x2e0121,_0x2045aa,_0x1eb159=undefined,_0x3598bf=0x0,_0x57ea23=0x0){const _0x92d8c9=_0x1a2d0d,_0x31d3d0={'gJHjN':_0x92d8c9(0x1c5),'dZfnD':function(_0x396f99,_0x3254ec){return _0x396f99(_0x3254ec);}},_0x1c5f96=(await NTQQUserApi[_0x92d8c9(0x1d1)]([_0x31d3d0['gJHjN']]))[_0x31d3d0[_0x92d8c9(0x1c3)]];let _0x8069f8={'text':_0x31d3d0[_0x92d8c9(0x1c4)](encodeURI,_0x2045aa),'picInfo':_0x1eb159,'oldFeedsId':'','pinned':_0x3598bf,'confirmRequired':_0x57ea23};return napCatCore['session'][_0x92d8c9(0x1b4)]()[_0x92d8c9(0x1c9)](_0x2e0121,_0x1c5f96,_0x8069f8);}} \ No newline at end of file +const _0x203cac=_0x4a39;(function(_0x431e4c,_0x3900d1){const _0x14ac4f=_0x4a39,_0x48669c=_0x431e4c();while(!![]){try{const _0x131da5=-parseInt(_0x14ac4f(0x216))/0x1+parseInt(_0x14ac4f(0x1fd))/0x2*(parseInt(_0x14ac4f(0x1f5))/0x3)+-parseInt(_0x14ac4f(0x218))/0x4*(-parseInt(_0x14ac4f(0x20e))/0x5)+-parseInt(_0x14ac4f(0x224))/0x6+parseInt(_0x14ac4f(0x1f0))/0x7*(parseInt(_0x14ac4f(0x1f1))/0x8)+-parseInt(_0x14ac4f(0x227))/0x9*(-parseInt(_0x14ac4f(0x21c))/0xa)+-parseInt(_0x14ac4f(0x20a))/0xb*(parseInt(_0x14ac4f(0x1fc))/0xc);if(_0x131da5===_0x3900d1)break;else _0x48669c['push'](_0x48669c['shift']());}catch(_0x53e8dd){_0x48669c['push'](_0x48669c['shift']());}}}(_0x59a8,0xca6a2));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0x59a8(){const _0x1df82a=['result','DelGroupFile','handleGroupRequest','createMemberListScene','9552067TtRIXm','8VUNByR','setGroupName','publishGroupBulletin','kickMember','9eqnUcF','batchGetGroupFileCount','GetGroupFileCount','getPSkey','onLoginSuccess','mnhxl','type','120WcoRYa','1001816omsAfa','uid','GbDbW','group','获取群成员列表出错,','CreatGroupFileFolder','Zskbh','dOYzb','getGroupNotifies','getSingleScreenNotifies','infos','addListener','cHJzH','2326973RWbPwF','getRichMediaService','setGroupTitle','获取群系统消息列表超时','15qxGkDS','getGroupService','modifyMemberCardName','NMfXS','delete','seq','operateSysNotify','getGroups','135605MnaPjy','session','830364RTxutY','qun.qq.com','wVChn','quitGroup','594310rqzqRs','deleteGroupFile','NodeIKernelGroupService/getGroupList','VJTYD','uin','NodeIKernelGroupListener/onGroupListUpdate','banMember','jFbxp','8521680XRpIPV','CallNormalEvent','uploadGroupBulletinPic','153TNVSec','onGroupListUpdate','deleteGroupFolder','banGroup','iDyNK','groupCode','setGroupShutUp'];_0x59a8=function(){return _0x1df82a;};return _0x59a8();}import{NTEventDispatch}from'@/common/utils/EventTask';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();function _0x4a39(_0x4108f2,_0x525bc0){const _0x59a8e6=_0x59a8();return _0x4a39=function(_0x4a39ea,_0x127900){_0x4a39ea=_0x4a39ea-0x1ef;let _0x3aa69c=_0x59a8e6[_0x4a39ea];return _0x3aa69c;},_0x4a39(_0x4108f2,_0x525bc0);}groupListener['onGroupSingleScreenNotifies']=(_0x28b440,_0x17c1d5,_0x5a7705)=>{const _0x4f6f29=_0x4a39,_0x412caa={'cHJzH':function(_0x279a2a,_0x47554a,_0x4d6466,_0x5c7c0e){return _0x279a2a(_0x47554a,_0x4d6466,_0x5c7c0e);}};for(const [_0x22cd40,_0x56c2ed]of SingleScreenNotifiesTasks){_0x412caa[_0x4f6f29(0x209)](_0x56c2ed,_0x28b440,_0x17c1d5,_0x5a7705),SingleScreenNotifiesTasks[_0x4f6f29(0x212)](_0x22cd40);}},groupListener[_0x203cac(0x228)]=(_0x1b24c7,_0x321a4b)=>{const _0x5996fd=_0x203cac,_0x33c258={'TpOXV':function(_0x4dffd4,_0x780b83,_0x597113){return _0x4dffd4(_0x780b83,_0x597113);}};for(const [_0x4d30dd,_0x1d6b4a]of groupMemberTasks){_0x33c258['TpOXV'](_0x1d6b4a,_0x1b24c7,_0x321a4b),groupMemberTasks[_0x5996fd(0x212)](_0x4d30dd);}},setTimeout(()=>{const _0x155681=_0x203cac;napCatCore[_0x155681(0x1f9)](()=>{const _0x5eb220=_0x155681;napCatCore[_0x5eb220(0x208)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x203cac(0x215)](_0x1f78e2=![]){const _0x57e114=_0x203cac,_0xf78cd7={'mnhxl':_0x57e114(0x21e),'nKgFM':_0x57e114(0x221)};let _0x3ba832=await NTEventDispatch[_0x57e114(0x225)](_0xf78cd7[_0x57e114(0x1fa)],_0xf78cd7['nKgFM'],0x1,0x3a98,!![]);return _0x3ba832[0x2];}static async[_0x203cac(0x202)](_0x500ac2,_0x196eee){const _0x47bbad=_0x203cac;return napCatCore[_0x47bbad(0x217)]['getRichMediaService']()['createGroupFolder'](_0x500ac2,_0x196eee);}static async[_0x203cac(0x22f)](_0x2f13d4,_0x10901f){const _0x1fc8e3=_0x203cac;return napCatCore['session'][_0x1fc8e3(0x20b)]()[_0x1fc8e3(0x21d)](_0x2f13d4,[0x66],_0x10901f);}static async['DelGroupFileFolder'](_0x1a97a8,_0x29f73b){const _0xb36b41=_0x203cac;return napCatCore[_0xb36b41(0x217)]['getRichMediaService']()[_0xb36b41(0x229)](_0x1a97a8,_0x29f73b);}static async['getSingleScreenNotifies'](_0x356d95){const _0x415809=_0x203cac,_0x318552={'FyCnI':function(_0x5dfd3f,_0x435903){return _0x5dfd3f(_0x435903);},'jFbxp':_0x415809(0x20d),'NMfXS':function(_0x50cd9e,_0x59e4f6,_0xfe5afe){return _0x50cd9e(_0x59e4f6,_0xfe5afe);},'Zskbh':function(_0x2fcc3f){return _0x2fcc3f();}},_0x385589=napCatCore[_0x415809(0x217)][_0x415809(0x20f)]();return new Promise((_0x3c2d76,_0x43eb67)=>{const _0xd656b6=_0x415809;let _0x72d680=![];_0x318552[_0xd656b6(0x211)](setTimeout,()=>{const _0x36019b=_0xd656b6;!_0x72d680&&_0x318552['FyCnI'](_0x43eb67,_0x318552[_0x36019b(0x223)]);},0x1388);const _0x4cb400=(_0x5bca19,_0x4f7010,_0x34669e)=>{_0x72d680=!![],_0x3c2d76(_0x34669e);};SingleScreenNotifiesTasks['set'](_0x318552[_0xd656b6(0x203)](randomUUID),_0x4cb400),_0x385589[_0xd656b6(0x206)](![],'',_0x356d95);});}static async['getGroupMembers'](_0x63a3b5,_0x366edf=0xbb8){const _0x145b11=_0x203cac,_0x26247e={'qkvBB':'groupMemberList_MainWindow','dOYzb':function(_0x2bc14a,_0x4a7c31){return _0x2bc14a!==_0x4a7c31;},'wVChn':function(_0x392842,_0xad750){return _0x392842+_0xad750;}},_0x544c28=napCatCore[_0x145b11(0x217)][_0x145b11(0x20f)](),_0x5a64a5=_0x544c28[_0x145b11(0x1ef)](_0x63a3b5,_0x26247e['qkvBB']),_0x3ed4d5=await _0x544c28['getNextMemberList'](_0x5a64a5,undefined,_0x366edf);if(_0x26247e[_0x145b11(0x204)](_0x3ed4d5['errCode'],0x0))throw _0x26247e[_0x145b11(0x21a)](_0x145b11(0x201),_0x3ed4d5['errMsg']);return _0x3ed4d5[_0x145b11(0x22e)][_0x145b11(0x207)]['forEach'](_0x22f719=>{const _0xd12556=_0x145b11;uid2UinMap[_0x22f719[_0xd12556(0x1fe)]]=_0x22f719[_0xd12556(0x220)];}),_0x3ed4d5[_0x145b11(0x22e)][_0x145b11(0x207)];}static async[_0x203cac(0x205)](){}static async[_0x203cac(0x1f7)](_0x762a58){const _0x40b763=_0x203cac;return napCatCore[_0x40b763(0x217)][_0x40b763(0x20b)]()[_0x40b763(0x1f6)](_0x762a58);}static async['getGroupIgnoreNotifies'](){}static async['uploadGroupBulletinPic'](_0x3341cd,_0x59693d){const _0x41722a=_0x203cac,_0x5addc8={'iDyNK':_0x41722a(0x219)},_0x584d88=(await NTQQUserApi[_0x41722a(0x1f8)]([_0x5addc8[_0x41722a(0x22b)]]))[_0x41722a(0x219)];return napCatCore[_0x41722a(0x217)][_0x41722a(0x20f)]()[_0x41722a(0x226)](_0x3341cd,_0x584d88,_0x59693d);}static async[_0x203cac(0x230)](_0x8a061e,_0x127f1a,_0x4f9189){const _0x57e1b0=_0x203cac,_0x30fbbd={'GbDbW':function(_0xf7f825,_0xe79d95){return _0xf7f825||_0xe79d95;}};return napCatCore['session'][_0x57e1b0(0x20f)]()[_0x57e1b0(0x214)](![],{'operateType':_0x127f1a,'targetMsg':{'seq':_0x8a061e[_0x57e1b0(0x213)],'type':_0x8a061e[_0x57e1b0(0x1fb)],'groupCode':_0x8a061e[_0x57e1b0(0x200)][_0x57e1b0(0x22c)],'postscript':_0x30fbbd[_0x57e1b0(0x1ff)](_0x4f9189,'')}});}static async['quitGroup'](_0x54bcb9){const _0x33e3c5=_0x203cac;return napCatCore[_0x33e3c5(0x217)][_0x33e3c5(0x20f)]()[_0x33e3c5(0x21b)](_0x54bcb9);}static async[_0x203cac(0x1f4)](_0x1b2a58,_0x4d02c4,_0x250192=![],_0x5d424f=''){const _0x53643b=_0x203cac;return napCatCore[_0x53643b(0x217)]['getGroupService']()['kickMember'](_0x1b2a58,_0x4d02c4,_0x250192,_0x5d424f);}static async[_0x203cac(0x222)](_0x2e9a0f,_0x4a47be){const _0x56ba6=_0x203cac;return napCatCore[_0x56ba6(0x217)][_0x56ba6(0x20f)]()['setMemberShutUp'](_0x2e9a0f,_0x4a47be);}static async[_0x203cac(0x22a)](_0x19a751,_0x4ac2d8){const _0x53984e=_0x203cac;return napCatCore[_0x53984e(0x217)][_0x53984e(0x20f)]()[_0x53984e(0x22d)](_0x19a751,_0x4ac2d8);}static async['setMemberCard'](_0x460648,_0x2cba5c,_0x1cebf6){const _0x2c7fb2=_0x203cac;return napCatCore[_0x2c7fb2(0x217)][_0x2c7fb2(0x20f)]()[_0x2c7fb2(0x210)](_0x460648,_0x2cba5c,_0x1cebf6);}static async['setMemberRole'](_0x5ab848,_0x32531d,_0x3cc624){const _0x1efcbc=_0x203cac;return napCatCore[_0x1efcbc(0x217)][_0x1efcbc(0x20f)]()['modifyMemberRole'](_0x5ab848,_0x32531d,_0x3cc624);}static async[_0x203cac(0x1f2)](_0x14d15d,_0x289bd5){const _0x272def=_0x203cac;return napCatCore[_0x272def(0x217)][_0x272def(0x20f)]()['modifyGroupName'](_0x14d15d,_0x289bd5,![]);}static async[_0x203cac(0x20c)](_0x220c99,_0x135c77,_0x3f6027){}static async[_0x203cac(0x1f3)](_0x46543d,_0x594c00,_0x5a9b0f=undefined,_0x57f4f9=0x0,_0x33722a=0x0){const _0x4ff04a=_0x203cac,_0x46a439={'VJTYD':'qun.qq.com'},_0x176153=(await NTQQUserApi[_0x4ff04a(0x1f8)]([_0x46a439[_0x4ff04a(0x21f)]]))[_0x4ff04a(0x219)];let _0x13ea43={'text':encodeURI(_0x594c00),'picInfo':_0x5a9b0f,'oldFeedsId':'','pinned':_0x57f4f9,'confirmRequired':_0x33722a};return napCatCore[_0x4ff04a(0x217)]['getGroupService']()[_0x4ff04a(0x1f3)](_0x46543d,_0x176153,_0x13ea43);}} \ 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 9fb246c8..5c295547 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x580674,_0x3400d3){var _0x55c318=_0x517b,_0x1f0ab6=_0x580674();while(!![]){try{var _0x1c1177=-parseInt(_0x55c318(0x12c))/0x1+-parseInt(_0x55c318(0x12b))/0x2*(-parseInt(_0x55c318(0x126))/0x3)+parseInt(_0x55c318(0x128))/0x4+-parseInt(_0x55c318(0x125))/0x5+-parseInt(_0x55c318(0x129))/0x6+-parseInt(_0x55c318(0x12a))/0x7+parseInt(_0x55c318(0x127))/0x8;if(_0x1c1177===_0x3400d3)break;else _0x1f0ab6['push'](_0x1f0ab6['shift']());}catch(_0x202f1c){_0x1f0ab6['push'](_0x1f0ab6['shift']());}}}(_0x28df,0x6db6d));function _0x28df(){var _0x1bf5e9=['5127618jFNOxU','668941XfGLsg','823712PvetZQ','257842PzycbI','1525940QjBwOv','3vKlcdA','6091384cYyhMm','3157224NDwXcD'];_0x28df=function(){return _0x1bf5e9;};return _0x28df();}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x517b(_0x22f3d4,_0x3df4fc){var _0x28df18=_0x28df();return _0x517b=function(_0x517bd8,_0x110e5b){_0x517bd8=_0x517bd8-0x125;var _0x2c2940=_0x28df18[_0x517bd8];return _0x2c2940;},_0x517b(_0x22f3d4,_0x3df4fc);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x637d05,_0x33019){var _0x233b6f=_0x4c4e,_0x37dbd0=_0x637d05();while(!![]){try{var _0x59eec9=parseInt(_0x233b6f(0x114))/0x1*(-parseInt(_0x233b6f(0x10c))/0x2)+parseInt(_0x233b6f(0x116))/0x3+-parseInt(_0x233b6f(0x110))/0x4*(parseInt(_0x233b6f(0x10d))/0x5)+-parseInt(_0x233b6f(0x113))/0x6+-parseInt(_0x233b6f(0x115))/0x7+-parseInt(_0x233b6f(0x10f))/0x8*(-parseInt(_0x233b6f(0x111))/0x9)+parseInt(_0x233b6f(0x112))/0xa*(parseInt(_0x233b6f(0x10e))/0xb);if(_0x59eec9===_0x33019)break;else _0x37dbd0['push'](_0x37dbd0['shift']());}catch(_0x5dda2c){_0x37dbd0['push'](_0x37dbd0['shift']());}}}(_0x19f8,0xdac6e));export*from'./file';export*from'./friend';function _0x19f8(){var _0x36f3eb=['1294827IuXhPR','54716qXyklD','95ulfMfW','10079399yOKVDx','8SfnEYQ','261200qtFWzm','793116QOuuhT','40ECKdHg','2042814bhQirA','53zMIjdX','1804012jluOUD'];_0x19f8=function(){return _0x36f3eb;};return _0x19f8();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0x4c4e(_0x112ac3,_0x2cb2e7){var _0x19f8a7=_0x19f8();return _0x4c4e=function(_0x4c4eb6,_0x13b6c7){_0x4c4eb6=_0x4c4eb6-0x10c;var _0x1b42a6=_0x19f8a7[_0x4c4eb6];return _0x1b42a6;},_0x4c4e(_0x112ac3,_0x2cb2e7);}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 4eb75b58..1f7c6a41 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x4058(){const _0x134c89=['10960895UMeTwV','getMsgsBySeqAndCount','5471595NwtRlU','hZyDf','21146oXESBm','转发消息超时','setMsgRead','parse','发送超时','chatType','获取群文件列表超时','forwardMsg','992709HGKjei','KiBAy','XEItL','msgId','ANSNT','com.tencent.multimsg','length','multiForwardMsgWithComment','nick','getMultiMsg','IUjFG','ZmXiN','getMsgService','kdaZY','GQbNB','8180442kUSXdC','BexFj','session','okOch','xsjaI','sendMsg','CSvmB','rwMiR','2091eGkGLe','set','map','NjCZk','ZBPfD','forEach','arkElement','onLoginSuccess','addListener','wIIiL','onMsgInfoListUpdate','getMsgsIncludeSelf','6556MFQzsl','activateChat','setMsgEmojiLikes','getMsgsByMsgId','28CVkAPy','setEmojiLike','20fDXDfY','dGYep','lXJvM','xTRAB','getRichMediaService','catch','getMsgHistory','2441048NQhUeo','activateChatAndGetHistory','delete','onAddSendMsg','app','47OBYpZC','recallMsg','elements','uid','senderUid','CpCrk','cNngI','multiForwardMsg','sendStatus','then','KGJzJ','peerUid','toString'];_0x4058=function(){return _0x134c89;};return _0x4058();}const _0x219883=_0x1d68;(function(_0x3d9a6c,_0x4cafc4){const _0x1a1119=_0x1d68,_0x30533b=_0x3d9a6c();while(!![]){try{const _0x1446f2=-parseInt(_0x1a1119(0x11a))/0x1*(parseInt(_0x1a1119(0x12b))/0x2)+-parseInt(_0x1a1119(0xfc))/0x3*(-parseInt(_0x1a1119(0x108))/0x4)+parseInt(_0x1a1119(0x129))/0x5+-parseInt(_0x1a1119(0x142))/0x6+parseInt(_0x1a1119(0x10c))/0x7*(parseInt(_0x1a1119(0x115))/0x8)+parseInt(_0x1a1119(0x133))/0x9*(parseInt(_0x1a1119(0x10e))/0xa)+-parseInt(_0x1a1119(0x127))/0xb;if(_0x1446f2===_0x4cafc4)break;else _0x30533b['push'](_0x30533b['shift']());}catch(_0x62c672){_0x30533b['push'](_0x30533b['shift']());}}}(_0x4058,0xc8735));import{selfInfo}from'@/core/data';function _0x1d68(_0x3dfdf0,_0x577e22){const _0x40584e=_0x4058();return _0x1d68=function(_0x1d6822,_0x2c644c){_0x1d6822=_0x1d6822-0xfb;let _0x5ea80c=_0x40584e[_0x1d6822];return _0x5ea80c;},_0x1d68(_0x3dfdf0,_0x577e22);}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']=_0x1db44c=>{const _0x423a09=_0x1d68,_0x379dbc={'ZBPfD':function(_0x43597b,_0xb99cd){return _0x43597b(_0xb99cd);}};for(const [_0xb8d27f,_0x30fc1d]of GroupFileInfoUpdateTasks){_0x379dbc[_0x423a09(0x100)](_0x30fc1d,_0x1db44c),GroupFileInfoUpdateTasks[_0x423a09(0x117)](_0xb8d27f);}},msgListener[_0x219883(0x118)]=_0x322fdf=>{const _0x460149=_0x219883,_0x24b627={'cNngI':function(_0x242dc1,_0x4ec3fa){return _0x242dc1(_0x4ec3fa);},'xTRAB':function(_0xf84bc9,_0x5619cc){return _0xf84bc9 instanceof _0x5619cc;}};for(const [_0x3d22b8,_0x58f562]of sentMsgTasks){_0x24b627[_0x460149(0x120)](_0x58f562,_0x322fdf),sentMsgTasks['delete'](_0x3d22b8);}if(sendMessagePool[_0x322fdf[_0x460149(0x125)]]){const _0x20728d=sendMessagePool[_0x322fdf[_0x460149(0x125)]]?.(_0x322fdf);_0x24b627[_0x460149(0x111)](_0x20728d,Promise)&&_0x20728d[_0x460149(0x123)]()['catch'](logError);}},msgListener[_0x219883(0x106)]=_0x22d951=>{const _0x565e13=_0x219883,_0x2cd24d={'okOch':function(_0x828fb4,_0xd2d120){return _0x828fb4 instanceof _0xd2d120;},'rwMiR':function(_0x2900ed,_0xe6a50a){return _0x2900ed(_0xe6a50a);}};_0x22d951[_0x565e13(0x101)](_0x2c1a89=>{const _0xf02909=_0x565e13;new Promise((_0x3c5a65,_0xd59f20)=>{const _0x257a2b=_0x1d68;for(const _0x2f4e7b in sendSuccessCBMap){const _0x5d7f1f=sendSuccessCBMap[_0x2f4e7b],_0x240f70=_0x5d7f1f(_0x2c1a89),_0x314d45=_0x4d8147=>{_0x4d8147&&delete sendSuccessCBMap[_0x2f4e7b];};_0x2cd24d[_0x257a2b(0x145)](_0x240f70,Promise)?_0x240f70[_0x257a2b(0x123)](_0x314d45):_0x2cd24d[_0x257a2b(0xfb)](_0x314d45,_0x240f70);}})[_0xf02909(0x123)]()[_0xf02909(0x113)](log);});},setTimeout(()=>{const _0x2ecbe3=_0x219883;napCatCore[_0x2ecbe3(0x103)](()=>{const _0x3ae62b=_0x2ecbe3;napCatCore[_0x3ae62b(0x104)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x219883(0x10d)](_0xde14de,_0xb58ebb,_0x31bc52,_0x3ceae7=!![]){const _0x3f7ece=_0x219883;return _0x31bc52=_0x31bc52[_0x3f7ece(0x126)](),napCatCore['session'][_0x3f7ece(0x13f)]()[_0x3f7ece(0x10a)](_0xde14de,_0xb58ebb,_0x31bc52,_0x31bc52[_0x3f7ece(0x139)]>0x3?'2':'1',_0x3ceae7);}static async[_0x219883(0x13c)](_0x23f196,_0x50245a,_0x3881b3){const _0x294efe=_0x219883;return napCatCore[_0x294efe(0x144)][_0x294efe(0x13f)]()['getMultiMsg'](_0x23f196,_0x50245a,_0x3881b3);}static async[_0x219883(0x10b)](_0xd02e20,_0x336695){const _0x56d25d=_0x219883;return await napCatCore[_0x56d25d(0x144)][_0x56d25d(0x13f)]()[_0x56d25d(0x10b)](_0xd02e20,_0x336695);}static async[_0x219883(0x128)](_0x1424a1,_0x1460e7,_0xb0186b,_0x16656a,_0x42b1ec){const _0x4f81f6=_0x219883;return await napCatCore[_0x4f81f6(0x144)][_0x4f81f6(0x13f)]()[_0x4f81f6(0x128)](_0x1424a1,_0x1460e7,_0xb0186b,_0x16656a,_0x42b1ec);}static async[_0x219883(0x109)](_0x5582cc){}static async[_0x219883(0x116)](_0x323dd8){}static async[_0x219883(0x12d)](_0x2756f5){const _0x5c3edb=_0x219883;return napCatCore['session'][_0x5c3edb(0x13f)]()[_0x5c3edb(0x12d)](_0x2756f5);}static async['getGroupFileList'](_0x12a150,_0x6561dc){const _0x484d36={'IUjFG':function(_0x388aad,_0x950175){return _0x388aad(_0x950175);},'CpCrk':function(_0x3b6c6f,_0x2d6369,_0x2341a7){return _0x3b6c6f(_0x2d6369,_0x2341a7);},'ANSNT':function(_0x15f70e){return _0x15f70e();}};return new Promise(async(_0x284304,_0x2cb96b)=>{const _0x46aef0=_0x1d68,_0x3f3c97={'KGJzJ':_0x46aef0(0x131)};let _0x61dd63=![];_0x484d36[_0x46aef0(0x11f)](setTimeout,()=>{const _0x33b5fe=_0x46aef0;!_0x61dd63&&_0x2cb96b(_0x3f3c97[_0x33b5fe(0x124)]);},0x1388);const _0x26f712=_0x4cc7d4=>{const _0x183540=_0x46aef0;_0x61dd63=!![],_0x484d36[_0x183540(0x13d)](_0x284304,_0x4cc7d4['item']);};GroupFileInfoUpdateTasks[_0x46aef0(0xfd)](_0x484d36[_0x46aef0(0x137)](randomUUID),_0x26f712),await napCatCore['session'][_0x46aef0(0x112)]()['getGroupFileList'](_0x12a150,_0x6561dc);});}static async[_0x219883(0x114)](_0x451377,_0xd39960,_0x1471dc){const _0x11548f=_0x219883;return napCatCore[_0x11548f(0x144)]['getMsgService']()[_0x11548f(0x107)](_0x451377,_0xd39960,_0x1471dc,!![]);}static async['fetchRecentContact'](){}static async[_0x219883(0x11b)](_0x5d1f6c,_0x2e6c3e){const _0xa85e36=_0x219883;await napCatCore[_0xa85e36(0x144)][_0xa85e36(0x13f)]()[_0xa85e36(0x11b)]({'chatType':_0x5d1f6c[_0xa85e36(0x130)],'peerUid':_0x5d1f6c['peerUid']},_0x2e6c3e);}static async[_0x219883(0x147)](_0x1c3ecf,_0x1bcb70,_0x2ea40c=!![],_0x28e256=0x2710){const _0x1e0139=_0x219883,_0x35d42a={'XEItL':_0x1e0139(0x12f),'mYJMm':function(_0x2e79ff,_0x1128c3){return _0x2e79ff(_0x1128c3);},'ZmXiN':function(_0x414cae){return _0x414cae();},'dGYep':function(_0x3513cc,_0x5973c9){return _0x3513cc===_0x5973c9;},'KiBAy':function(_0x1e5832,_0x3334ac){return _0x1e5832(_0x3334ac);},'lXJvM':function(_0x48e5f0){return _0x48e5f0();}},_0x1ec357=_0x1c3ecf[_0x1e0139(0x125)];let _0xcbb3d0=0x0;const _0x5550d4=async()=>{const _0x30a619=_0x1e0139;if(_0xcbb3d0>_0x28e256)throw _0x35d42a[_0x30a619(0x135)];const _0x4614dd=sendMessagePool[_0x1c3ecf[_0x30a619(0x125)]];if(_0x4614dd)return await _0x35d42a['mYJMm'](sleep,0x1f4),_0xcbb3d0+=0x1f4,await _0x35d42a[_0x30a619(0x13e)](_0x5550d4);else return;};return await _0x35d42a[_0x1e0139(0x110)](_0x5550d4),new Promise((_0xdf01b4,_0x3b6b35)=>{const _0x57a4df=_0x1e0139,_0x4bd77d={'xsjaI':function(_0x4ce1ed,_0x48b6b5){const _0x3b7c3f=_0x1d68;return _0x35d42a[_0x3b7c3f(0x10f)](_0x4ce1ed,_0x48b6b5);},'JCbUz':function(_0x16c02d,_0x34f175){const _0x34fa28=_0x1d68;return _0x35d42a[_0x34fa28(0x134)](_0x16c02d,_0x34f175);},'kdaZY':_0x35d42a['XEItL']};let _0x502604=![],_0x22f520=null;const _0x17ff46=_0x35d42a['lXJvM'](randomUUID);sendSuccessCBMap[_0x17ff46]=_0x31b057=>{const _0x117b36=_0x1d68;if(_0x4bd77d[_0x117b36(0x146)](_0x31b057['msgId'],_0x22f520?.[_0x117b36(0x136)])){if(_0x4bd77d[_0x117b36(0x146)](_0x31b057[_0x117b36(0x122)],0x2))return delete sendSuccessCBMap[_0x17ff46],_0x502604=!![],_0x4bd77d['JCbUz'](_0xdf01b4,_0x31b057),!![];return![];}return![];},sendMessagePool[_0x1ec357]=async _0x36b36f=>{delete sendMessagePool[_0x1ec357],_0x22f520=_0x36b36f;},setTimeout(()=>{const _0x1a19f4=_0x1d68;if(_0x502604)return;delete sendMessagePool[_0x1ec357],delete sendSuccessCBMap[_0x17ff46],_0x4bd77d['JCbUz'](_0x3b6b35,_0x4bd77d[_0x1a19f4(0x140)]);},_0x28e256);const _0x14f710=napCatCore['session'][_0x57a4df(0x13f)]()[_0x57a4df(0x147)]('0',_0x1c3ecf,_0x1bcb70,new Map());});}static async[_0x219883(0x132)](_0x7232a3,_0x3e822a,_0x1ebfe7){const _0x49d4a6=_0x219883;return napCatCore[_0x49d4a6(0x144)]['getMsgService']()[_0x49d4a6(0x132)](_0x1ebfe7,_0x7232a3,[_0x3e822a],new Map());}static async[_0x219883(0x121)](_0x4aa339,_0x3f9b3f,_0x1639b1){const _0xb066c2=_0x219883,_0x415587={'GQbNB':function(_0x4b35a3,_0x2bf182){return _0x4b35a3!=_0x2bf182;},'JykCr':_0xb066c2(0x138),'ORNsd':function(_0x16e862,_0x59e70c){return _0x16e862(_0x59e70c);},'MJjHG':_0xb066c2(0x12c),'gpzui':function(_0x52fc4d){return _0x52fc4d();},'BexFj':function(_0x2b9995,_0x188d78,_0xc1eb75){return _0x2b9995(_0x188d78,_0xc1eb75);}},_0x5636aa=_0x1639b1[_0xb066c2(0xfe)](_0x53c980=>{const _0x47ae02=_0xb066c2;return{'msgId':_0x53c980,'senderShowName':selfInfo[_0x47ae02(0x13b)]};});return new Promise((_0x21b5c0,_0x11ab3c)=>{const _0x235e52=_0xb066c2,_0x12fa49={'CSvmB':function(_0x45e960,_0xa2c184){const _0x4eb0f8=_0x1d68;return _0x415587[_0x4eb0f8(0x141)](_0x45e960,_0xa2c184);},'jXWxL':_0x415587['JykCr'],'wIIiL':function(_0x44f407,_0x4b1286){return _0x44f407==_0x4b1286;},'CWTzU':function(_0x2cf125,_0x34e4c2){return _0x2cf125(_0x34e4c2);},'NjCZk':function(_0x21e4e,_0x55f5d7){return _0x415587['ORNsd'](_0x21e4e,_0x55f5d7);},'hZyDf':_0x415587['MJjHG']};let _0xd9340e=![];const _0x3563ac=_0x194631=>{const _0xdd8c2d=_0x1d68,_0x388354=_0x194631[_0xdd8c2d(0x11c)]['find'](_0x2b59d9=>_0x2b59d9[_0xdd8c2d(0x102)]);if(!_0x388354)return;const _0x51adcf=JSON[_0xdd8c2d(0x12e)](_0x388354[_0xdd8c2d(0x102)]['bytesData']);if(_0x12fa49[_0xdd8c2d(0x148)](_0x51adcf[_0xdd8c2d(0x119)],_0x12fa49['jXWxL']))return;_0x12fa49[_0xdd8c2d(0x105)](_0x194631[_0xdd8c2d(0x125)],_0x3f9b3f[_0xdd8c2d(0x125)])&&_0x194631[_0xdd8c2d(0x11e)]==selfInfo[_0xdd8c2d(0x11d)]&&(_0xd9340e=!![],_0x12fa49['CWTzU'](_0x21b5c0,_0x194631));};sentMsgTasks[_0x235e52(0xfd)](_0x415587['gpzui'](randomUUID),_0x3563ac),_0x415587[_0x235e52(0x143)](setTimeout,()=>{const _0x271f88=_0x235e52;!_0xd9340e&&_0x12fa49[_0x271f88(0xff)](_0x11ab3c,_0x12fa49[_0x271f88(0x12a)]);},0x1388),napCatCore[_0x235e52(0x144)]['getMsgService']()[_0x235e52(0x13a)](_0x5636aa,_0x4aa339,_0x3f9b3f,[],new Map());});}} \ No newline at end of file +function _0x1e86(_0x410a96,_0x3564eb){const _0x47b397=_0x47b3();return _0x1e86=function(_0x1e8664,_0xe5abb9){_0x1e8664=_0x1e8664-0x138;let _0x119600=_0x47b397[_0x1e8664];return _0x119600;},_0x1e86(_0x410a96,_0x3564eb);}const _0x22b153=_0x1e86;(function(_0x16a936,_0x13f225){const _0x4c4910=_0x1e86,_0x39d0c5=_0x16a936();while(!![]){try{const _0x208787=parseInt(_0x4c4910(0x157))/0x1+-parseInt(_0x4c4910(0x173))/0x2+parseInt(_0x4c4910(0x162))/0x3+-parseInt(_0x4c4910(0x13f))/0x4+parseInt(_0x4c4910(0x15a))/0x5*(-parseInt(_0x4c4910(0x171))/0x6)+parseInt(_0x4c4910(0x152))/0x7+parseInt(_0x4c4910(0x174))/0x8*(parseInt(_0x4c4910(0x156))/0x9);if(_0x208787===_0x13f225)break;else _0x39d0c5['push'](_0x39d0c5['shift']());}catch(_0x1cef9a){_0x39d0c5['push'](_0x39d0c5['shift']());}}}(_0x47b3,0xba471));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x47b3(){const _0x3bb437=['rNoXE','multiForwardMsgWithComment','6633bObSgF','1237241UOSmHQ','set','IFtZi','5fJbQdk','senderUid','hoJAe','RluZB','session','bytesData','peerUid','LVJAt','4326837EGKUav','XFcfP','setMsgRead','iFfaT','swjwl','getMsgsByMsgId','Vegzb','转发消息超时','nick','parse','获取群文件列表超时','jkOXv','addListener','getRichMediaService','forEach','1265886UNqIhj','arkElement','2970780REzYcB','7904pRdhDr','msgId','gNIzb','getMsgService','com.tencent.multimsg','onGroupFileInfoUpdate','sendMsg','sendStatus','kROni','LwCpH','activateChatAndGetHistory','getGroupFileList','elements','map','app','qwAFR','forwardMsg','find','then','delete','4403296zcLxgJ','cIExX','setEmojiLike','FhMWP','OqwLW','multiForwardMsg','getMsgsIncludeSelf','fetchRecentContact','getMsgHistory','toString','KsYVg','onLoginSuccess','getMultiMsg','onMsgInfoListUpdate','recallMsg','bEZNa','catch','uid','getMsgsBySeqAndCount','1067584fFiCGk','activateChat'];_0x47b3=function(){return _0x3bb437;};return _0x47b3();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x22b153(0x179)]=_0x485c0a=>{const _0x2b17d7=_0x22b153,_0x2c1afd={'hoJAe':function(_0x58e43f,_0xa4ab8){return _0x58e43f(_0xa4ab8);}};for(const [_0x2e5ff8,_0xe79880]of GroupFileInfoUpdateTasks){_0x2c1afd[_0x2b17d7(0x15c)](_0xe79880,_0x485c0a),GroupFileInfoUpdateTasks[_0x2b17d7(0x13e)](_0x2e5ff8);}},msgListener['onAddSendMsg']=_0x29644d=>{const _0x581798=_0x22b153,_0x49d175={'rNoXE':function(_0x300eac,_0x31887b){return _0x300eac(_0x31887b);},'FhMWP':function(_0x448815,_0x2c00ac){return _0x448815 instanceof _0x2c00ac;}};for(const [_0x44a31f,_0x14ccca]of sentMsgTasks){_0x49d175[_0x581798(0x154)](_0x14ccca,_0x29644d),sentMsgTasks[_0x581798(0x13e)](_0x44a31f);}if(sendMessagePool[_0x29644d[_0x581798(0x160)]]){const _0x2b77e8=sendMessagePool[_0x29644d[_0x581798(0x160)]]?.(_0x29644d);_0x49d175[_0x581798(0x142)](_0x2b77e8,Promise)&&_0x2b77e8['then']()[_0x581798(0x14f)](logError);}},msgListener[_0x22b153(0x14c)]=_0x5401f4=>{const _0x130952=_0x22b153,_0x17201f={'qwAFR':function(_0x4d0e60,_0x568e68){return _0x4d0e60(_0x568e68);}};_0x5401f4[_0x130952(0x170)](_0x321f78=>{const _0x123ae4=_0x130952,_0x4330a9={'OqwLW':function(_0x40a04a,_0xf831dd){const _0x23efce=_0x1e86;return _0x17201f[_0x23efce(0x13a)](_0x40a04a,_0xf831dd);},'LVJAt':function(_0x21f32f,_0x40127c){return _0x21f32f(_0x40127c);}};new Promise((_0x1e8ecc,_0x521a97)=>{const _0x2aa431=_0x1e86;for(const _0x916571 in sendSuccessCBMap){const _0x56ce38=sendSuccessCBMap[_0x916571],_0x118993=_0x4330a9[_0x2aa431(0x143)](_0x56ce38,_0x321f78),_0x3e1a95=_0x174828=>{_0x174828&&delete sendSuccessCBMap[_0x916571];};_0x118993 instanceof Promise?_0x118993[_0x2aa431(0x13d)](_0x3e1a95):_0x4330a9[_0x2aa431(0x161)](_0x3e1a95,_0x118993);}})[_0x123ae4(0x13d)]()[_0x123ae4(0x14f)](log);});},setTimeout(()=>{const _0x2164dc=_0x22b153;napCatCore[_0x2164dc(0x14a)](()=>{const _0x11c336=_0x2164dc;napCatCore[_0x11c336(0x16e)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x22b153(0x141)](_0x4b1960,_0x35f8c6,_0x1b35d6,_0x2a452d=!![]){const _0x3f5028=_0x22b153;return _0x1b35d6=_0x1b35d6[_0x3f5028(0x148)](),napCatCore[_0x3f5028(0x15e)][_0x3f5028(0x177)]()['setMsgEmojiLikes'](_0x4b1960,_0x35f8c6,_0x1b35d6,_0x1b35d6['length']>0x3?'2':'1',_0x2a452d);}static async[_0x22b153(0x14b)](_0x51f2a8,_0x59d430,_0x32e22a){const _0xf38d23=_0x22b153;return napCatCore[_0xf38d23(0x15e)][_0xf38d23(0x177)]()['getMultiMsg'](_0x51f2a8,_0x59d430,_0x32e22a);}static async['getMsgsByMsgId'](_0x265b3a,_0xe444de){const _0x63d75f=_0x22b153;return await napCatCore[_0x63d75f(0x15e)][_0x63d75f(0x177)]()[_0x63d75f(0x167)](_0x265b3a,_0xe444de);}static async[_0x22b153(0x151)](_0x553b51,_0x46f98b,_0x292f70,_0x2c97b1,_0x25693c){const _0x1cd1d7=_0x22b153;return await napCatCore[_0x1cd1d7(0x15e)][_0x1cd1d7(0x177)]()[_0x1cd1d7(0x151)](_0x553b51,_0x46f98b,_0x292f70,_0x2c97b1,_0x25693c);}static async[_0x22b153(0x153)](_0x8b3435){}static async[_0x22b153(0x17e)](_0x18856f){}static async[_0x22b153(0x164)](_0x221c1a){const _0xf6cfc4=_0x22b153;return napCatCore[_0xf6cfc4(0x15e)][_0xf6cfc4(0x177)]()[_0xf6cfc4(0x164)](_0x221c1a);}static async[_0x22b153(0x17f)](_0x16506d,_0x1e346e){const _0x5c0f15=_0x22b153,_0x1cb633={'Vegzb':function(_0x4fcb60,_0x3d1925){return _0x4fcb60(_0x3d1925);},'iFfaT':_0x5c0f15(0x16c),'aYIdh':function(_0x3ba354,_0x1cee80,_0x55cf2b){return _0x3ba354(_0x1cee80,_0x55cf2b);}};return new Promise(async(_0x45b071,_0x26b396)=>{const _0x5ccaf3=_0x5c0f15,_0x1e7a3d={'kROni':function(_0x32d436,_0x3a0a6f){const _0x1db462=_0x1e86;return _0x1cb633[_0x1db462(0x168)](_0x32d436,_0x3a0a6f);}};let _0x11928a=![];_0x1cb633['aYIdh'](setTimeout,()=>{const _0x14fb91=_0x1e86;!_0x11928a&&_0x1cb633[_0x14fb91(0x168)](_0x26b396,_0x1cb633[_0x14fb91(0x165)]);},0x1388);const _0x1ace28=_0x25ef4b=>{const _0x5818bb=_0x1e86;_0x11928a=!![],_0x1e7a3d[_0x5818bb(0x17c)](_0x45b071,_0x25ef4b['item']);};GroupFileInfoUpdateTasks[_0x5ccaf3(0x158)](randomUUID(),_0x1ace28),await napCatCore[_0x5ccaf3(0x15e)][_0x5ccaf3(0x16f)]()[_0x5ccaf3(0x17f)](_0x16506d,_0x1e346e);});}static async[_0x22b153(0x147)](_0xaf3482,_0x37acfa,_0x1b7c7d){const _0x254c01=_0x22b153;return napCatCore[_0x254c01(0x15e)][_0x254c01(0x177)]()[_0x254c01(0x145)](_0xaf3482,_0x37acfa,_0x1b7c7d,!![]);}static async[_0x22b153(0x146)](){}static async[_0x22b153(0x14d)](_0x1d7590,_0x2e2802){const _0x4179ac=_0x22b153;await napCatCore[_0x4179ac(0x15e)][_0x4179ac(0x177)]()[_0x4179ac(0x14d)]({'chatType':_0x1d7590['chatType'],'peerUid':_0x1d7590[_0x4179ac(0x160)]},_0x2e2802);}static async[_0x22b153(0x17a)](_0x2925a1,_0x315125,_0x93b60=!![],_0x493de5=0x2710){const _0x113fa2=_0x22b153,_0x218229={'cIExX':function(_0x14a2e9,_0x160efb){return _0x14a2e9>_0x160efb;},'gNIzb':'发送超时','uPLTT':function(_0x3bac15,_0x30ca31){return _0x3bac15(_0x30ca31);},'LwCpH':function(_0x45e7d3,_0x27e523){return _0x45e7d3(_0x27e523);},'TVClj':function(_0x2e40c8){return _0x2e40c8();},'GysaC':function(_0x3d0d92,_0x1f79b1,_0x3118b4){return _0x3d0d92(_0x1f79b1,_0x3118b4);}},_0x200897=_0x2925a1[_0x113fa2(0x160)];let _0x384cbd=0x0;const _0x497671=async()=>{const _0x121e2d=_0x113fa2;if(_0x218229[_0x121e2d(0x140)](_0x384cbd,_0x493de5))throw _0x218229[_0x121e2d(0x176)];const _0x200d59=sendMessagePool[_0x2925a1['peerUid']];if(_0x200d59)return await _0x218229['uPLTT'](sleep,0x1f4),_0x384cbd+=0x1f4,await _0x497671();else return;};return await _0x497671(),new Promise((_0x19e3cf,_0x1fe055)=>{const _0x282037=_0x113fa2,_0x5432e3={'IFtZi':function(_0x51efea,_0x2af213){const _0x19b77f=_0x1e86;return _0x218229[_0x19b77f(0x17d)](_0x51efea,_0x2af213);},'LMvze':_0x218229[_0x282037(0x176)]};let _0x1affd7=![],_0x284323=null;const _0x4db963=_0x218229['TVClj'](randomUUID);sendSuccessCBMap[_0x4db963]=_0x229523=>{const _0x4f799d=_0x282037;if(_0x229523['msgId']===_0x284323?.[_0x4f799d(0x175)]){if(_0x229523[_0x4f799d(0x17b)]===0x2)return delete sendSuccessCBMap[_0x4db963],_0x1affd7=!![],_0x5432e3[_0x4f799d(0x159)](_0x19e3cf,_0x229523),!![];return![];}return![];},sendMessagePool[_0x200897]=async _0x4b4b73=>{delete sendMessagePool[_0x200897],_0x284323=_0x4b4b73;},_0x218229['GysaC'](setTimeout,()=>{const _0x3a040b=_0x282037;if(_0x1affd7)return;delete sendMessagePool[_0x200897],delete sendSuccessCBMap[_0x4db963],_0x5432e3[_0x3a040b(0x159)](_0x1fe055,_0x5432e3['LMvze']);},_0x493de5);const _0x47f934=napCatCore[_0x282037(0x15e)][_0x282037(0x177)]()[_0x282037(0x17a)]('0',_0x2925a1,_0x315125,new Map());});}static async[_0x22b153(0x13b)](_0x1d08c4,_0x469a73,_0x11ac6b){const _0x915c51=_0x22b153;return napCatCore['session'][_0x915c51(0x177)]()[_0x915c51(0x13b)](_0x11ac6b,_0x1d08c4,[_0x469a73],new Map());}static async[_0x22b153(0x144)](_0x37ee3c,_0x4c08b2,_0x15aab1){const _0x4975aa=_0x22b153,_0x1d816c={'KsYVg':function(_0x2d4629,_0x1ecfb5){return _0x2d4629(_0x1ecfb5);},'RluZB':_0x4975aa(0x169),'XFcfP':function(_0x2b47c5,_0x47ca8b){return _0x2b47c5==_0x47ca8b;},'jkOXv':function(_0xf081d7,_0x176adb,_0x50c175){return _0xf081d7(_0x176adb,_0x50c175);}},_0x22db6a=_0x15aab1[_0x4975aa(0x138)](_0x55a2cd=>{const _0x59742f=_0x4975aa;return{'msgId':_0x55a2cd,'senderShowName':selfInfo[_0x59742f(0x16a)]};});return new Promise((_0x3c4c6c,_0x579591)=>{const _0x3d2851=_0x4975aa,_0x466f1a={'nbvkO':_0x3d2851(0x178),'swjwl':function(_0x222df4,_0x5a9ff6){const _0x4d7050=_0x3d2851;return _0x1d816c[_0x4d7050(0x163)](_0x222df4,_0x5a9ff6);},'bEZNa':function(_0x7e8e17,_0x448a4a){return _0x1d816c['KsYVg'](_0x7e8e17,_0x448a4a);}};let _0x5aa8ec=![];const _0x2a7a52=_0x1c4161=>{const _0x2c37f9=_0x3d2851,_0x46a6c4=_0x1c4161[_0x2c37f9(0x180)][_0x2c37f9(0x13c)](_0x1be448=>_0x1be448['arkElement']);if(!_0x46a6c4)return;const _0x468f80=JSON[_0x2c37f9(0x16b)](_0x46a6c4[_0x2c37f9(0x172)][_0x2c37f9(0x15f)]);if(_0x468f80[_0x2c37f9(0x139)]!=_0x466f1a['nbvkO'])return;_0x466f1a[_0x2c37f9(0x166)](_0x1c4161['peerUid'],_0x4c08b2[_0x2c37f9(0x160)])&&_0x1c4161[_0x2c37f9(0x15b)]==selfInfo[_0x2c37f9(0x150)]&&(_0x5aa8ec=!![],_0x466f1a[_0x2c37f9(0x14e)](_0x3c4c6c,_0x1c4161));};sentMsgTasks[_0x3d2851(0x158)](randomUUID(),_0x2a7a52),_0x1d816c[_0x3d2851(0x16d)](setTimeout,()=>{const _0x4ffa09=_0x3d2851;!_0x5aa8ec&&_0x1d816c[_0x4ffa09(0x149)](_0x579591,_0x1d816c[_0x4ffa09(0x15d)]);},0x1388),napCatCore[_0x3d2851(0x15e)]['getMsgService']()[_0x3d2851(0x155)](_0x22db6a,_0x37ee3c,_0x4c08b2,[],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 b4ad8c0c..d1db2812 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x1a951b,_0x3590e2){const _0xaf0c86=_0x46f6,_0x3cd099=_0x1a951b();while(!![]){try{const _0x4d7cb7=parseInt(_0xaf0c86(0x1af))/0x1*(parseInt(_0xaf0c86(0x1cc))/0x2)+-parseInt(_0xaf0c86(0x1cd))/0x3*(parseInt(_0xaf0c86(0x1d5))/0x4)+-parseInt(_0xaf0c86(0x1b5))/0x5+parseInt(_0xaf0c86(0x1dd))/0x6*(-parseInt(_0xaf0c86(0x1c9))/0x7)+-parseInt(_0xaf0c86(0x1bc))/0x8+-parseInt(_0xaf0c86(0x1e6))/0x9*(parseInt(_0xaf0c86(0x1ae))/0xa)+-parseInt(_0xaf0c86(0x1df))/0xb*(-parseInt(_0xaf0c86(0x1b6))/0xc);if(_0x4d7cb7===_0x3590e2)break;else _0x3cd099['push'](_0x3cd099['shift']());}catch(_0x34f802){_0x3cd099['push'](_0x3cd099['shift']());}}}(_0x5f4e,0x8fed6));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x5f4e(){const _0x5cbff3=['tianxuan.imgJumpArk','oCMiO','uDPEu','tag','yuJIy','1266oBTMNm','miniapp','53438DdAJrP','SFiqm','prompt','title','hKjqE','getQzoneCookies','Uqnbh','126yQejoH','349400rmLRyx','3unuBIh','p_skey=','KWCwz','source','mTdrT','\x5c/\x5c/','4430075diySic','7092yaFliH','utEws','signed_ark','GET','tagIcon','SpcVq','4285536wXDgbr','genBkn','RaSEa',';\x20skey=','com.tencent.miniapp.lua','vjNgH','kKeQt','preview','&ark=','jumpUrl','normal','stringify','MPaCt','6419AWuOrs','pMCWO','MiniApp\x20JSON\x20消息生成失败','25642KtecGt','9dYOoeU','p_skey','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','emeyS','sourcelogo','skey','287548OdNUhs','uin','GBPqs'];_0x5f4e=function(){return _0x5cbff3;};return _0x5f4e();}function _0x46f6(_0x228639,_0x1df27e){const _0x5f4ed5=_0x5f4e();return _0x46f6=function(_0x46f62f,_0x517b4c){_0x46f62f=_0x46f62f-0x1ae;let _0xab25b2=_0x5f4ed5[_0x46f62f];return _0xab25b2;},_0x46f6(_0x228639,_0x1df27e);}import{WebApi}from'./webapi';export async function SignMiniApp(_0x5b69f9){const _0x1ac2e8=_0x46f6,_0x5e92dc={'hKjqE':_0x1ac2e8(0x1c0),'vjNgH':_0x1ac2e8(0x1d8),'Uqnbh':_0x1ac2e8(0x1de),'yuJIy':_0x1ac2e8(0x1c6),'RaSEa':_0x1ac2e8(0x1b4),'pMCWO':function(_0x42a3a7,_0x558978){return _0x42a3a7+_0x558978;},'MPaCt':function(_0x448f5b,_0x182f91){return _0x448f5b+_0x182f91;},'utEws':function(_0x32b789,_0x3b5f09){return _0x32b789+_0x3b5f09;},'kKeQt':function(_0x4bb47d,_0x42417b){return _0x4bb47d+_0x42417b;},'oCMiO':function(_0x145637,_0x187b3e){return _0x145637+_0x187b3e;},'uDPEu':_0x1ac2e8(0x1bf),'IopmL':';\x20p_uin=o','MhDmW':function(_0x3678f5,_0x2d4827){return _0x3678f5+_0x2d4827;},'mTdrT':_0x1ac2e8(0x1d0),'KWCwz':_0x1ac2e8(0x1c4),'SFiqm':function(_0x543dd9,_0x3e67f2){return _0x543dd9(_0x3e67f2);},'SpcVq':_0x1ac2e8(0x1b9),'GBPqs':function(_0x49fddf,_0x34048e,_0x5699c3){return _0x49fddf(_0x34048e,_0x5699c3);},'emeyS':_0x1ac2e8(0x1cb)};let _0x5b1824={'app':_0x5e92dc[_0x1ac2e8(0x1e3)],'bizsrc':_0x5e92dc[_0x1ac2e8(0x1c1)],'view':_0x5e92dc[_0x1ac2e8(0x1e5)],'prompt':_0x5b69f9[_0x1ac2e8(0x1e1)],'config':{'type':_0x5e92dc[_0x1ac2e8(0x1dc)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5b69f9[_0x1ac2e8(0x1e2)],'preview':_0x5b69f9[_0x1ac2e8(0x1c3)]['replace'](/\\/g,_0x5e92dc[_0x1ac2e8(0x1be)]),'jumpUrl':_0x5b69f9[_0x1ac2e8(0x1c5)]['replace'](/\\/g,_0x5e92dc['RaSEa']),'tag':_0x5b69f9[_0x1ac2e8(0x1db)],'tagIcon':_0x5b69f9[_0x1ac2e8(0x1ba)][_0x1ac2e8(0x1d1)](/\\/g,_0x1ac2e8(0x1b4)),'source':_0x5b69f9[_0x1ac2e8(0x1b2)],'sourcelogo':_0x5b69f9[_0x1ac2e8(0x1d3)][_0x1ac2e8(0x1d1)](/\\/g,_0x5e92dc[_0x1ac2e8(0x1be)])}}};const _0x33bf03=await NTQQUserApi['getSkey']();let _0x2b0e54=await NTQQUserApi[_0x1ac2e8(0x1e4)]();const _0x44e4c7=WebApi[_0x1ac2e8(0x1bd)](_0x2b0e54[_0x1ac2e8(0x1ce)]),_0x3fcd2d=_0x5e92dc[_0x1ac2e8(0x1ca)](_0x5e92dc['pMCWO'](_0x5e92dc[_0x1ac2e8(0x1c8)](_0x5e92dc[_0x1ac2e8(0x1b7)](_0x5e92dc['MPaCt'](_0x5e92dc[_0x1ac2e8(0x1c2)](_0x5e92dc[_0x1ac2e8(0x1d9)](_0x1ac2e8(0x1b0),_0x2b0e54[_0x1ac2e8(0x1ce)]),_0x5e92dc[_0x1ac2e8(0x1da)]),_0x2b0e54[_0x1ac2e8(0x1d4)]),_0x5e92dc['IopmL']),selfInfo[_0x1ac2e8(0x1d6)]),';\x20uin=o'),selfInfo[_0x1ac2e8(0x1d6)]);let _0x4a0960=_0x5e92dc['MhDmW'](_0x5e92dc[_0x1ac2e8(0x1b3)],_0x44e4c7)+_0x5e92dc[_0x1ac2e8(0x1b1)]+_0x5e92dc[_0x1ac2e8(0x1e0)](encodeURIComponent,JSON[_0x1ac2e8(0x1c7)](_0x5b1824)),_0x532d3e='';try{let _0xd1d55a=await RequestUtil[_0x1ac2e8(0x1cf)](_0x4a0960,_0x5e92dc[_0x1ac2e8(0x1bb)],undefined,{'Cookie':_0x3fcd2d});_0x532d3e=_0xd1d55a['data'][_0x1ac2e8(0x1b8)];}catch(_0xe8ca03){_0x5e92dc[_0x1ac2e8(0x1d7)](logDebug,_0x5e92dc[_0x1ac2e8(0x1d2)],_0xe8ca03);}return _0x532d3e;} \ No newline at end of file +(function(_0x2d3247,_0x22a1ab){const _0x3e748c=_0x1b1e,_0x45472a=_0x2d3247();while(!![]){try{const _0x1931cf=-parseInt(_0x3e748c(0xd5))/0x1+-parseInt(_0x3e748c(0xf0))/0x2+parseInt(_0x3e748c(0xd2))/0x3+-parseInt(_0x3e748c(0xe0))/0x4+-parseInt(_0x3e748c(0xf3))/0x5+-parseInt(_0x3e748c(0xd1))/0x6+-parseInt(_0x3e748c(0xee))/0x7*(-parseInt(_0x3e748c(0xe4))/0x8);if(_0x1931cf===_0x22a1ab)break;else _0x45472a['push'](_0x45472a['shift']());}catch(_0x3b6507){_0x45472a['push'](_0x45472a['shift']());}}}(_0x32ef,0xbebcd));function _0x1b1e(_0x13afa6,_0x232514){const _0x32ef82=_0x32ef();return _0x1b1e=function(_0x1b1e89,_0x53016c){_0x1b1e89=_0x1b1e89-0xd1;let _0x2ab8e9=_0x32ef82[_0x1b1e89];return _0x2ab8e9;},_0x1b1e(_0x13afa6,_0x232514);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x32ef(){const _0x971ac0=['2944368lGhJvZ','kZXfP','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','3385245LuInQB','wPbGS','tianxuan.imgJumpArk','stringify','source',';\x20skey=','getSkey','jumpUrl','400866TamlWk','2760792nQPvqG','data','signed_ark','1057821SbnmIW','genBkn','title','p_skey=','uin','prompt','replace','&ark=','zvfiU','tag','CtZcK','5314840DLSwuu','MiniApp\x20JSON\x20消息生成失败','com.tencent.miniapp.lua','skey','830432wJDhDn','miniapp','zvBbo','\x5c/\x5c/','feQeF','RvWms','tMhUc',';\x20uin=o','p_skey','xhrqs','301HbHGDb','VsxvU'];_0x32ef=function(){return _0x971ac0;};return _0x32ef();}export async function SignMiniApp(_0x46f202){const _0x1a2677=_0x1b1e,_0xae8fa6={'wPbGS':_0x1a2677(0xe2),'zvBbo':_0x1a2677(0xe5),'zvfiU':'normal','CtZcK':_0x1a2677(0xe7),'tMhUc':function(_0x45d948,_0x58aaa0){return _0x45d948+_0x58aaa0;},'xhrqs':function(_0x55f5ec,_0x586677){return _0x55f5ec+_0x586677;},'hvXvH':function(_0x22c2fc,_0x2cb32e){return _0x22c2fc+_0x2cb32e;},'feQeF':_0x1a2677(0xd8),'kZXfP':_0x1a2677(0xf8),'eCkAb':';\x20p_uin=o','VsxvU':_0x1a2677(0xeb),'ZIfzK':_0x1a2677(0xdc),'lfxpX':function(_0x56b35d,_0xfa170d){return _0x56b35d(_0xfa170d);},'RvWms':'GET','zkLMT':function(_0x5212e6,_0x389248,_0x45dafd){return _0x5212e6(_0x389248,_0x45dafd);}};let _0x457e51={'app':_0xae8fa6[_0x1a2677(0xf4)],'bizsrc':_0x1a2677(0xf5),'view':_0xae8fa6[_0x1a2677(0xe6)],'prompt':_0x46f202[_0x1a2677(0xda)],'config':{'type':_0xae8fa6[_0x1a2677(0xdd)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x46f202[_0x1a2677(0xd7)],'preview':_0x46f202['preview'][_0x1a2677(0xdb)](/\\/g,_0xae8fa6[_0x1a2677(0xdf)]),'jumpUrl':_0x46f202[_0x1a2677(0xfa)]['replace'](/\\/g,_0xae8fa6['CtZcK']),'tag':_0x46f202[_0x1a2677(0xde)],'tagIcon':_0x46f202['tagIcon'][_0x1a2677(0xdb)](/\\/g,_0xae8fa6[_0x1a2677(0xdf)]),'source':_0x46f202[_0x1a2677(0xf7)],'sourcelogo':_0x46f202['sourcelogo'][_0x1a2677(0xdb)](/\\/g,'\x5c/\x5c/')}}};const _0x51d31e=await NTQQUserApi[_0x1a2677(0xf9)]();let _0x18e4a8=await NTQQUserApi['getQzoneCookies']();const _0x3c8b9d=WebApi[_0x1a2677(0xd6)](_0x18e4a8[_0x1a2677(0xec)]),_0x3c8329=_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6[_0x1a2677(0xed)](_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6[_0x1a2677(0xea)](_0xae8fa6['hvXvH'](_0xae8fa6[_0x1a2677(0xe8)],_0x18e4a8[_0x1a2677(0xec)]),_0xae8fa6[_0x1a2677(0xf1)]),_0x18e4a8[_0x1a2677(0xe3)]),_0xae8fa6['eCkAb'])+selfInfo[_0x1a2677(0xd9)]+_0xae8fa6[_0x1a2677(0xef)],selfInfo[_0x1a2677(0xd9)]);let _0x5cd9d8=_0xae8fa6[_0x1a2677(0xea)](_0x1a2677(0xf2)+_0x3c8b9d+_0xae8fa6['ZIfzK'],_0xae8fa6['lfxpX'](encodeURIComponent,JSON[_0x1a2677(0xf6)](_0x457e51))),_0x5ee7d2='';try{let _0x45284a=await RequestUtil['HttpGetJson'](_0x5cd9d8,_0xae8fa6[_0x1a2677(0xe9)],undefined,{'Cookie':_0x3c8329});_0x5ee7d2=_0x45284a[_0x1a2677(0xd3)][_0x1a2677(0xd4)];}catch(_0x5229db){_0xae8fa6['zkLMT'](logDebug,_0x1a2677(0xe1),_0x5229db);}return _0x5ee7d2;} \ 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 5072c693..2972f039 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -var _0x242860=_0x13c0;function _0x46b7(){var _0x1bffbe=['254935ETVNYM','72hElSoj','2808582PbJetp','getNodeMiscService','1639001ztuMOW','6384WujzuE','72gUcvUg','218716wImySE','translateEnWordToZn','util','4905725ywZhtp','13608qCVtuv','2HwUZNo','6vDyYwr','5902526wnGFcX','10UxfbRz','getRichMediaService','session','wantWinScreenOCR','hasOtherRunningQQProcess'];_0x46b7=function(){return _0x1bffbe;};return _0x46b7();}function _0x13c0(_0x348e22,_0x325f2f){var _0x46b798=_0x46b7();return _0x13c0=function(_0x13c084,_0x48507b){_0x13c084=_0x13c084-0x1e0;var _0x2d9b3b=_0x46b798[_0x13c084];return _0x2d9b3b;},_0x13c0(_0x348e22,_0x325f2f);}(function(_0x5343da,_0x5884f8){var _0x37d0d6=_0x13c0,_0x335427=_0x5343da();while(!![]){try{var _0xe41c09=-parseInt(_0x37d0d6(0x1e5))/0x1*(parseInt(_0x37d0d6(0x1ea))/0x2)+parseInt(_0x37d0d6(0x1e0))/0x3+-parseInt(_0x37d0d6(0x1f3))/0x4*(parseInt(_0x37d0d6(0x1f2))/0x5)+-parseInt(_0x37d0d6(0x1eb))/0x6*(-parseInt(_0x37d0d6(0x1ec))/0x7)+parseInt(_0x37d0d6(0x1e3))/0x8*(parseInt(_0x37d0d6(0x1e9))/0x9)+parseInt(_0x37d0d6(0x1ed))/0xa*(-parseInt(_0x37d0d6(0x1e8))/0xb)+parseInt(_0x37d0d6(0x1e4))/0xc*(-parseInt(_0x37d0d6(0x1e2))/0xd);if(_0xe41c09===_0x5884f8)break;else _0x335427['push'](_0x335427['shift']());}catch(_0x1f8dc2){_0x335427['push'](_0x335427['shift']());}}}(_0x46b7,0x9df9d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x242860(0x1f1)](){var _0xdef835=_0x242860;return napCatCore[_0xdef835(0x1e7)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x483324){var _0x412616=_0x242860;return napCatCore[_0x412616(0x1ef)][_0x412616(0x1e1)]()[_0x412616(0x1f0)](_0x483324);}static async[_0x242860(0x1e6)](_0x518888){var _0xcd1298=_0x242860;return napCatCore[_0xcd1298(0x1ef)][_0xcd1298(0x1ee)]()[_0xcd1298(0x1e6)](_0x518888);}} \ No newline at end of file +var _0x3861ed=_0x1ed8;(function(_0x49f3ce,_0x5b7a3d){var _0x8f4da2=_0x1ed8,_0xe130b9=_0x49f3ce();while(!![]){try{var _0x3fc944=-parseInt(_0x8f4da2(0x115))/0x1*(-parseInt(_0x8f4da2(0x11f))/0x2)+parseInt(_0x8f4da2(0x11a))/0x3*(parseInt(_0x8f4da2(0x117))/0x4)+parseInt(_0x8f4da2(0x110))/0x5*(-parseInt(_0x8f4da2(0x113))/0x6)+parseInt(_0x8f4da2(0x116))/0x7*(-parseInt(_0x8f4da2(0x120))/0x8)+-parseInt(_0x8f4da2(0x118))/0x9+parseInt(_0x8f4da2(0x11d))/0xa+parseInt(_0x8f4da2(0x11b))/0xb;if(_0x3fc944===_0x5b7a3d)break;else _0xe130b9['push'](_0xe130b9['shift']());}catch(_0x123074){_0xe130b9['push'](_0xe130b9['shift']());}}}(_0x3e9b,0x7803d));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x2ee962=_0x1ed8;return napCatCore['util'][_0x2ee962(0x11c)]();}static async[_0x3861ed(0x119)](_0x4baf64){var _0x5debd9=_0x3861ed;return napCatCore[_0x5debd9(0x112)][_0x5debd9(0x114)]()[_0x5debd9(0x111)](_0x4baf64);}static async[_0x3861ed(0x10f)](_0x2e521b){var _0x2ce00c=_0x3861ed;return napCatCore['session'][_0x2ce00c(0x11e)]()[_0x2ce00c(0x10f)](_0x2e521b);}}function _0x1ed8(_0x4c53d5,_0x62cda1){var _0x3e9b94=_0x3e9b();return _0x1ed8=function(_0x1ed8b6,_0x442bae){_0x1ed8b6=_0x1ed8b6-0x10f;var _0x1bf5b8=_0x3e9b94[_0x1ed8b6];return _0x1bf5b8;},_0x1ed8(_0x4c53d5,_0x62cda1);}function _0x3e9b(){var _0x54832f=['293780DpImRW','wantWinScreenOCR','session','78qVejMO','getNodeMiscService','2gvEwyh','7vXmSgK','4tkNrvv','5284782ijjUuQ','ORCImage','1599441lUujej','6891863oyafFX','hasOtherRunningQQProcess','7238350MsPUFN','getRichMediaService','926734IhwGdZ','7741136EmQLYG','translateEnWordToZn'];_0x3e9b=function(){return _0x54832f;};return _0x3e9b();} \ 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 a8eb6ffb..2f7767aa 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x146597=_0x3e34;(function(_0x36d75c,_0x40f6e5){const _0x311e65=_0x3e34,_0x424b87=_0x36d75c();while(!![]){try{const _0x437d09=parseInt(_0x311e65(0x180))/0x1+parseInt(_0x311e65(0x12b))/0x2*(-parseInt(_0x311e65(0x172))/0x3)+parseInt(_0x311e65(0x144))/0x4*(-parseInt(_0x311e65(0x16f))/0x5)+parseInt(_0x311e65(0x12e))/0x6*(parseInt(_0x311e65(0x14b))/0x7)+parseInt(_0x311e65(0x141))/0x8*(-parseInt(_0x311e65(0x175))/0x9)+-parseInt(_0x311e65(0x17c))/0xa+parseInt(_0x311e65(0x13e))/0xb*(parseInt(_0x311e65(0x163))/0xc);if(_0x437d09===_0x40f6e5)break;else _0x424b87['push'](_0x424b87['shift']());}catch(_0x331672){_0x424b87['push'](_0x424b87['shift']());}}}(_0x7ba7,0xb5e60));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();function _0x7ba7(){const _0x30baea=['LUjuf','PmCHN','getTicketService','JypsK','like','2097515byjOEU','Orebs','DWeVX','13002vAlCuT','now','then','9YYnpcI','bFSHv','result','rzPDb','getUserDetailInfo\x20timeout','Skey','set','5916130UWWenS','session','KeyIndex','KIBrW','186615SgOtog','length','onProfileDetailInfoChanged','skey','286zyKgAI','jVtQv','HzoVS','498SzDXYa','getProfileLikeService','getRobotUinRange','HttpsGetCookies','clientKey','getTipOffService','PskeyTime','getRobotService','NnglM','getUserDetailInfo','kozdT','setQQAvatar','response','uin','WcHWg','%2Finfocenter&keyindex=19%27','4995331fqSISB','xuukQ','getQzoneCookies','11770408HPITMA','errMsg','delete','12FSzXAT','HqySF','robotUinRanges','bsPaQ','ClientKey','getSelfInfo','sdSEa','111391HQlqFT','push','getSkey','YiRMK','getProfileService','CgAKK','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','获取Pskey失败','setBuddyProfileLike','assign','mkGtC','getUserInfo','rJhYa','URbuP','entries','LzjRH','get','OGdAk','getPSkey','Ppzzf','fromEntries','onLoginSuccess','CreatTime','PskeyData','84dhbzHn','addListener','&clientkey=','domainPskeyMap','keyIndex','getUserDetailInfoWithBizInfo','iAKyk'];_0x7ba7=function(){return _0x30baea;};return _0x7ba7();}function _0x3e34(_0x28c92a,_0x1ed13d){const _0x7ba75=_0x7ba7();return _0x3e34=function(_0x3e34bf,_0x3a76f3){_0x3e34bf=_0x3e34bf-0x12b;let _0x1cfe69=_0x7ba75[_0x3e34bf];return _0x1cfe69;},_0x3e34(_0x28c92a,_0x1ed13d);}profileListener[_0x146597(0x182)]=_0x6321c7=>{userInfoCache[_0x6321c7['uid']]=_0x6321c7,userDetailHandlers['forEach'](_0x16ac3f=>_0x16ac3f(_0x6321c7));},setTimeout(()=>{const _0x4df917=_0x146597;napCatCore[_0x4df917(0x160)](()=>{const _0x5dc786=_0x4df917;napCatCore[_0x5dc786(0x164)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x441e30,_0x2451c6,_0x586e82){const _0x49cbc4=_0x146597;return napCatCore[_0x49cbc4(0x17d)]['getMsgService']()['setStatus']({'status':_0x441e30,'extStatus':_0x2451c6,'batteryStatus':_0x586e82});}static async[_0x146597(0x16e)](_0x340262,_0x1ee10d=0x1){const _0x55f0f0=_0x146597;return napCatCore['session'][_0x55f0f0(0x12f)]()[_0x55f0f0(0x153)]({'friendUid':_0x340262,'sourceId':0x47,'doLikeCount':_0x1ee10d,'doLikeTollCount':0x0});}static async[_0x146597(0x139)](_0x385c06){const _0x54d0b2=_0x146597,_0xe01372=napCatCore[_0x54d0b2(0x17d)]['getProfileService']()['setHeader'](_0x385c06);return{'result':_0xe01372?.[_0x54d0b2(0x177)],'errMsg':_0xe01372?.[_0x54d0b2(0x142)]};}static async[_0x146597(0x149)](){}static async[_0x146597(0x156)](_0x14b6c7){}static async[_0x146597(0x137)](_0x423898){const _0x3e8f91=_0x146597,_0x3c2711={'bsPaQ':function(_0x44c879,_0x1eef32){return _0x44c879(_0x1eef32);},'JypsK':function(_0x4c7323,_0x545f16){return _0x4c7323(_0x545f16);},'HzoVS':_0x3e8f91(0x179),'WcHWg':function(_0x31625a,_0x4471e8){return _0x31625a===_0x4471e8;},'MJTxc':function(_0x3aa6a0){return _0x3aa6a0();}},_0x1ae1b4=napCatCore[_0x3e8f91(0x17d)][_0x3e8f91(0x14f)]();return new Promise((_0x13a633,_0x17df58)=>{const _0x242109=_0x3e8f91,_0x50fc52=_0x3c2711['MJTxc'](randomUUID);let _0x51a78c=![],_0x4c34e1=undefined,_0x3e1436=!![];setTimeout(()=>{const _0x4f6236=_0x3e34;!_0x51a78c&&(_0x4c34e1?_0x3c2711[_0x4f6236(0x147)](_0x13a633,_0x4c34e1):_0x3c2711[_0x4f6236(0x16d)](_0x17df58,_0x3c2711[_0x4f6236(0x12d)])),userDetailHandlers[_0x4f6236(0x143)](_0x50fc52);},0x1388),userDetailHandlers['set'](_0x50fc52,_0x16981c=>{const _0x7799a2=_0x3e34;_0x3c2711[_0x7799a2(0x13c)](_0x16981c['uid'],_0x423898)&&(uid2UinMap[_0x423898]=_0x16981c[_0x7799a2(0x13b)],_0x3e1436?(_0x4c34e1=_0x16981c,_0x3e1436=![]):(_0x51a78c=!![],_0x3c2711[_0x7799a2(0x16d)](_0x13a633,_0x16981c)));}),_0x1ae1b4[_0x242109(0x168)](_0x423898,[0x0])[_0x242109(0x174)](_0xd55d61=>{});});}static async[_0x146597(0x15d)](_0x2a4d93,_0x103767=!![]){const _0x81ebc7=_0x146597,_0x16d6da={'YiRMK':function(_0xf6b757,_0x529a58){return _0xf6b757||_0x529a58;},'CgAKK':function(_0x9ee0d3,_0x2f257c){return _0x9ee0d3>_0x2f257c;},'zleCs':function(_0x110fcc,_0x49ffc6){return _0x110fcc-_0x49ffc6;},'bFSHv':function(_0x914dfa,_0x355801){return _0x914dfa*_0x355801;},'HqySF':function(_0x5d8d82,_0x2b5eb3){return _0x5d8d82===_0x2b5eb3;},'rJhYa':function(_0x207fc2,_0x519c38,_0x454c38){return _0x207fc2(_0x519c38,_0x454c38);},'OGdAk':_0x81ebc7(0x152)},_0xb42490=[],_0x3e8634={};for(const _0x1455b4 in _0x2a4d93){const _0x12194f=Credentials[_0x81ebc7(0x162)]['get'](_0x2a4d93[_0x1455b4]),_0x445214=Credentials[_0x81ebc7(0x134)][_0x81ebc7(0x15b)](_0x2a4d93[_0x1455b4]);_0x16d6da[_0x81ebc7(0x14e)](!_0x12194f,!_0x445214)||_0x16d6da[_0x81ebc7(0x150)](_0x16d6da['zleCs'](Date[_0x81ebc7(0x173)](),_0x445214),_0x16d6da[_0x81ebc7(0x176)](0x708,0x3e8))||!_0x103767?_0xb42490[_0x81ebc7(0x14c)](_0x2a4d93[_0x1455b4]):_0x3e8634[_0x2a4d93[_0x1455b4]]=_0x12194f;}let _0x43ef92={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x16d6da[_0x81ebc7(0x150)](_0xb42490[_0x81ebc7(0x181)],0x0)&&(_0x43ef92=await napCatCore['session'][_0x81ebc7(0x133)]()['getPskey'](_0xb42490,!![]));const _0x56fa26=_0x43ef92[_0x81ebc7(0x166)];for(const _0x279dca of _0x56fa26[_0x81ebc7(0x159)]()){Credentials['PskeyData'][_0x81ebc7(0x17b)](_0x279dca[0x0],_0x279dca[0x1]),Credentials[_0x81ebc7(0x134)][_0x81ebc7(0x17b)](_0x279dca[0x0],Date['now']());}const _0x3a0725=Object[_0x81ebc7(0x154)](Object[_0x81ebc7(0x15f)](_0x56fa26),_0x3e8634);if(_0x16d6da[_0x81ebc7(0x145)](_0x43ef92['result'],0x0))return _0x3a0725;else _0x16d6da[_0x81ebc7(0x157)](logError,_0x16d6da[_0x81ebc7(0x15c)],_0x43ef92[_0x81ebc7(0x142)]);return{};}static async[_0x146597(0x130)](){const _0x5d4743=_0x146597,_0x4f26ed=await napCatCore['session'][_0x5d4743(0x135)]()[_0x5d4743(0x130)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4f26ed?.[_0x5d4743(0x13a)]?.[_0x5d4743(0x146)];}static async[_0x146597(0x140)](){const _0x268cc0=_0x146597,_0x4c30f6={'xuukQ':function(_0x2927f2,_0x3f3a53){return _0x2927f2+_0x3f3a53;},'kozdT':function(_0x1b042e,_0x362502){return _0x1b042e+_0x362502;},'hTAHt':function(_0x41f7e5,_0x5527d3){return _0x41f7e5+_0x5527d3;},'sdSEa':function(_0x3dc587,_0x5cc57a){return _0x3dc587+_0x5cc57a;},'NnglM':_0x268cc0(0x151),'PmCHN':_0x268cc0(0x165),'LzjRH':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','URbuP':_0x268cc0(0x13d),'DWeVX':'请求获取Cookies时失败'},_0x4b1972=_0x4c30f6[_0x268cc0(0x13f)](_0x4c30f6['xuukQ'](_0x4c30f6[_0x268cc0(0x138)](_0x4c30f6[_0x268cc0(0x138)](_0x4c30f6['hTAHt'](_0x4c30f6[_0x268cc0(0x14a)](_0x4c30f6[_0x268cc0(0x136)],selfInfo[_0x268cc0(0x13b)]),_0x4c30f6[_0x268cc0(0x16b)]),Credentials[_0x268cc0(0x148)]),_0x4c30f6[_0x268cc0(0x15a)]),selfInfo[_0x268cc0(0x13b)]),_0x4c30f6[_0x268cc0(0x158)]);let _0x1f0fc8={};try{_0x1f0fc8=await RequestUtil['HttpsGetCookies'](_0x4b1972);}catch(_0x2c8d78){logDebug(_0x4c30f6[_0x268cc0(0x171)],_0x2c8d78),_0x1f0fc8={};}return _0x1f0fc8;}static async[_0x146597(0x14d)](_0xcef064=!![]){const _0x5f5a2e=_0x146597,_0x5a1b13={'IQood':function(_0x3cfb7d,_0x2fe68d){return _0x3cfb7d>_0x2fe68d;},'Orebs':function(_0x4bd281,_0x5c577e){return _0x4bd281-_0x5c577e;},'LUjuf':function(_0x20e264,_0x5c8a92){return _0x20e264*_0x5c8a92;},'Ppzzf':function(_0x121489,_0xb6dc25){return _0x121489!==_0xb6dc25;},'KIBrW':function(_0x53669d,_0x270fe3){return _0x53669d+_0x270fe3;},'xFOLm':function(_0x233b45,_0xc79442){return _0x233b45+_0xc79442;},'rzPDb':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','jVtQv':function(_0x52de11,_0x128b87,_0x215a57){return _0x52de11(_0x128b87,_0x215a57);},'iAKyk':'请求获取Skey时失败','mkGtC':_0x5f5a2e(0x183)};try{if(Credentials['CreatTime']==0x0||_0x5a1b13['IQood'](_0x5a1b13[_0x5f5a2e(0x170)](Date[_0x5f5a2e(0x173)](),Credentials[_0x5f5a2e(0x161)]),_0x5a1b13[_0x5f5a2e(0x16a)](0x3e8,0xe10))||!_0xcef064){const _0xc99b81=await napCatCore['session'][_0x5f5a2e(0x16c)]()['forceFetchClientKey']('');if(_0x5a1b13[_0x5f5a2e(0x15e)](_0xc99b81[_0x5f5a2e(0x177)],0x0))return'';const _0xd03407=_0xc99b81[_0x5f5a2e(0x132)],_0x4f54eb=_0xc99b81[_0x5f5a2e(0x167)],_0x349414=_0x5a1b13[_0x5f5a2e(0x17f)](_0x5a1b13[_0x5f5a2e(0x17f)](_0x5a1b13['xFOLm']('https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=',selfInfo[_0x5f5a2e(0x13b)])+'&clientkey=',_0xd03407)+_0x5a1b13[_0x5f5a2e(0x178)],_0x4f54eb);let _0x145b92={};try{_0x145b92=await RequestUtil[_0x5f5a2e(0x131)](_0x349414);}catch(_0x210019){_0x5a1b13[_0x5f5a2e(0x12c)](logDebug,_0x5a1b13[_0x5f5a2e(0x169)],_0x210019),_0x145b92={};}const _0x4a091a=_0x145b92[_0x5a1b13[_0x5f5a2e(0x155)]];if(!_0x4a091a)return'';return Credentials[_0x5f5a2e(0x148)]=_0xd03407,Credentials[_0x5f5a2e(0x17e)]=_0x4f54eb,Credentials[_0x5f5a2e(0x161)]=Date[_0x5f5a2e(0x173)](),Credentials[_0x5f5a2e(0x17a)]=_0x4a091a,_0x4a091a;}return Credentials[_0x5f5a2e(0x17a)];}catch(_0x20abbf){}return undefined;}} \ No newline at end of file +const _0x1e558e=_0x5382;(function(_0x5b545a,_0x2d1fd7){const _0x2d9b38=_0x5382,_0x2f751a=_0x5b545a();while(!![]){try{const _0x199c8e=parseInt(_0x2d9b38(0x9a))/0x1+parseInt(_0x2d9b38(0xcb))/0x2*(-parseInt(_0x2d9b38(0xc3))/0x3)+-parseInt(_0x2d9b38(0xd7))/0x4+-parseInt(_0x2d9b38(0xca))/0x5+-parseInt(_0x2d9b38(0x9f))/0x6*(parseInt(_0x2d9b38(0xbc))/0x7)+-parseInt(_0x2d9b38(0xad))/0x8*(parseInt(_0x2d9b38(0xa5))/0x9)+-parseInt(_0x2d9b38(0xda))/0xa*(-parseInt(_0x2d9b38(0xde))/0xb);if(_0x199c8e===_0x2d1fd7)break;else _0x2f751a['push'](_0x2f751a['shift']());}catch(_0x5928d3){_0x2f751a['push'](_0x2f751a['shift']());}}}(_0x2c24,0x8bd3c));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x2c24(){const _0x9cf25=['get','146290vosGpV','domainPskeyMap','uin','keyIndex','1133CPuKkb','URZjs','getProfileLikeService','iBYFj','VeqnK','result','errMsg','请求获取Cookies时失败','zutvE','LvjoV','setHeader','getUserInfo','uid','83847kOOFrm','ClientKey','&clientkey=','length','yceaB','3648IhAKig','getRobotService','getRobotUinRange','session','entries','EvfQG','1217925gUvjLb','getUserDetailInfoWithBizInfo','getMsgService','fromEntries','RyhoV','PskeyData','skey','getQzoneCookies','24OPtmAI','assign','lFIUp','HtNcy','neKEf','Xogkm','akfbh','CreatTime','onLoginSuccess','forEach','PskeyTime','mmDPK','now','getSelfInfo','KeyIndex','154KnLdgw','getSkey','getTipOffService','getPSkey','wbFDM','setBuddyProfileLike','getUserDetailInfo','6BLzznS','pFZkK','gnIqR','RONPt','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','setQQAvatar','431655HzGhHG','179356liYIrJ','set','hrHxt','like','forceFetchClientKey','rkPkS','push','onProfileDetailInfoChanged','then','%2Finfocenter&keyindex=19%27','getProfileService','HttpsGetCookies','1331456VjHFXB','fMFPS'];_0x2c24=function(){return _0x9cf25;};return _0x2c24();}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x5382(_0x485b13,_0x43369b){const _0x2c2475=_0x2c24();return _0x5382=function(_0x53824b,_0x467e1c){_0x53824b=_0x53824b-0x98;let _0x4d5a16=_0x2c2475[_0x53824b];return _0x4d5a16;},_0x5382(_0x485b13,_0x43369b);}profileListener[_0x1e558e(0xd2)]=_0x1e2f43=>{const _0x398ecb=_0x1e558e;userInfoCache[_0x1e2f43[_0x398ecb(0x99)]]=_0x1e2f43,userDetailHandlers[_0x398ecb(0xb6)](_0x1705c2=>_0x1705c2(_0x1e2f43));},setTimeout(()=>{const _0x5b958c=_0x1e558e;napCatCore[_0x5b958c(0xb5)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0xcdd3e7,_0x521dbb,_0x373176){const _0x45c486=_0x1e558e;return napCatCore[_0x45c486(0xa2)][_0x45c486(0xa7)]()['setStatus']({'status':_0xcdd3e7,'extStatus':_0x521dbb,'batteryStatus':_0x373176});}static async[_0x1e558e(0xce)](_0x18adcb,_0x5aa341=0x1){const _0x46101c=_0x1e558e;return napCatCore[_0x46101c(0xa2)][_0x46101c(0xe0)]()[_0x46101c(0xc1)]({'friendUid':_0x18adcb,'sourceId':0x47,'doLikeCount':_0x5aa341,'doLikeTollCount':0x0});}static async[_0x1e558e(0xc9)](_0x246431){const _0x4b2190=_0x1e558e,_0x29ff8d=napCatCore[_0x4b2190(0xa2)][_0x4b2190(0xd5)]()[_0x4b2190(0xe8)](_0x246431);return{'result':_0x29ff8d?.[_0x4b2190(0xe3)],'errMsg':_0x29ff8d?.[_0x4b2190(0xe4)]};}static async[_0x1e558e(0xba)](){}static async[_0x1e558e(0x98)](_0x511c09){}static async[_0x1e558e(0xc2)](_0x29dfc9){const _0x3279fe=_0x1e558e,_0x5a4235={'iBYFj':function(_0x35e293,_0x40685d){return _0x35e293(_0x40685d);},'RyhoV':function(_0x111fa8,_0x5c9dbf){return _0x111fa8(_0x5c9dbf);},'clKfm':'getUserDetailInfo\x20timeout','XFmkf':function(_0x563658,_0x200b89){return _0x563658===_0x200b89;},'LvjoV':function(_0x2ae78e){return _0x2ae78e();}},_0x424b11=napCatCore['session'][_0x3279fe(0xd5)]();return new Promise((_0x306108,_0x3ade23)=>{const _0x2dbbae=_0x3279fe,_0x379c1a={'gnIqR':function(_0x117fbc,_0x329f8c){return _0x5a4235['XFmkf'](_0x117fbc,_0x329f8c);},'zutvE':function(_0x4b5a83,_0xa85120){const _0x4e07ba=_0x5382;return _0x5a4235[_0x4e07ba(0xa9)](_0x4b5a83,_0xa85120);}},_0x519ed5=_0x5a4235[_0x2dbbae(0xe7)](randomUUID);let _0x39ff2f=![],_0x18c010=undefined,_0x1dce50=!![];setTimeout(()=>{const _0x2cc8ad=_0x2dbbae;!_0x39ff2f&&(_0x18c010?_0x5a4235[_0x2cc8ad(0xe1)](_0x306108,_0x18c010):_0x5a4235['RyhoV'](_0x3ade23,_0x5a4235['clKfm'])),userDetailHandlers['delete'](_0x519ed5);},0x1388),userDetailHandlers[_0x2dbbae(0xcc)](_0x519ed5,_0x18f1ee=>{const _0x39c1b7=_0x2dbbae;_0x379c1a[_0x39c1b7(0xc5)](_0x18f1ee[_0x39c1b7(0x99)],_0x29dfc9)&&(uid2UinMap[_0x29dfc9]=_0x18f1ee['uin'],_0x1dce50?(_0x18c010=_0x18f1ee,_0x1dce50=![]):(_0x39ff2f=!![],_0x379c1a[_0x39c1b7(0xe6)](_0x306108,_0x18f1ee)));}),_0x424b11[_0x2dbbae(0xa6)](_0x29dfc9,[0x0])[_0x2dbbae(0xd3)](_0x558ed4=>{});});}static async[_0x1e558e(0xbf)](_0xc76c4e,_0x2c593a=!![]){const _0xb3d56f=_0x1e558e,_0x4ad39e={'lFIUp':function(_0xbe92f1,_0x41fe38){return _0xbe92f1||_0x41fe38;},'hrHxt':function(_0x21c1f2,_0x5309b3){return _0x21c1f2>_0x5309b3;},'EvfQG':function(_0x3160e7,_0x180a21){return _0x3160e7-_0x180a21;},'rkPkS':function(_0x27c216,_0xbe8faa){return _0x27c216*_0xbe8faa;},'fMFPS':function(_0x1cafc0,_0x2a50b5){return _0x1cafc0>_0x2a50b5;},'nQZZk':function(_0x4dcd40,_0x1f6326,_0x4bbf64){return _0x4dcd40(_0x1f6326,_0x4bbf64);},'pFZkK':'获取Pskey失败'},_0x59f21e=[],_0x355ee2={};for(const _0x220896 in _0xc76c4e){const _0x14cb98=Credentials['PskeyData']['get'](_0xc76c4e[_0x220896]),_0xa457f=Credentials[_0xb3d56f(0xb7)][_0xb3d56f(0xd9)](_0xc76c4e[_0x220896]);_0x4ad39e[_0xb3d56f(0xaf)](!_0x14cb98,!_0xa457f)||_0x4ad39e[_0xb3d56f(0xcd)](_0x4ad39e[_0xb3d56f(0xa4)](Date[_0xb3d56f(0xb9)](),_0xa457f),_0x4ad39e[_0xb3d56f(0xd0)](0x708,0x3e8))||!_0x2c593a?_0x59f21e[_0xb3d56f(0xd1)](_0xc76c4e[_0x220896]):_0x355ee2[_0xc76c4e[_0x220896]]=_0x14cb98;}let _0x9801b4={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x4ad39e[_0xb3d56f(0xd8)](_0x59f21e[_0xb3d56f(0x9d)],0x0)&&(_0x9801b4=await napCatCore[_0xb3d56f(0xa2)][_0xb3d56f(0xbe)]()['getPskey'](_0x59f21e,!![]));const _0x23efd1=_0x9801b4[_0xb3d56f(0xdb)];for(const _0xb6a9fe of _0x23efd1[_0xb3d56f(0xa3)]()){Credentials[_0xb3d56f(0xaa)]['set'](_0xb6a9fe[0x0],_0xb6a9fe[0x1]),Credentials['PskeyTime'][_0xb3d56f(0xcc)](_0xb6a9fe[0x0],Date[_0xb3d56f(0xb9)]());}const _0x4868d5=Object[_0xb3d56f(0xae)](Object[_0xb3d56f(0xa8)](_0x23efd1),_0x355ee2);if(_0x9801b4[_0xb3d56f(0xe3)]===0x0)return _0x4868d5;else _0x4ad39e['nQZZk'](logError,_0x4ad39e[_0xb3d56f(0xc4)],_0x9801b4[_0xb3d56f(0xe4)]);return{};}static async[_0x1e558e(0xa1)](){const _0x3422bf=_0x1e558e,_0x404459=await napCatCore[_0x3422bf(0xa2)][_0x3422bf(0xa0)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x404459?.['response']?.['robotUinRanges'];}static async[_0x1e558e(0xac)](){const _0x43ee22=_0x1e558e,_0x11a1cc={'yceaB':function(_0x5e559d,_0x170334){return _0x5e559d+_0x170334;},'ixKgS':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','mmDPK':_0x43ee22(0x9c),'HtNcy':_0x43ee22(0xd4),'neKEf':function(_0x3f8b3f,_0x3aba1f,_0x448d45){return _0x3f8b3f(_0x3aba1f,_0x448d45);},'wbFDM':_0x43ee22(0xe5)},_0xdc5edd=_0x11a1cc['yceaB'](_0x11a1cc[_0x43ee22(0x9e)](_0x11a1cc['yceaB'](_0x11a1cc['yceaB'](_0x11a1cc[_0x43ee22(0x9e)](_0x11a1cc['ixKgS'],selfInfo[_0x43ee22(0xdc)]),_0x11a1cc[_0x43ee22(0xb8)]),Credentials[_0x43ee22(0x9b)])+_0x43ee22(0xc7),selfInfo[_0x43ee22(0xdc)]),_0x11a1cc[_0x43ee22(0xb0)]);let _0x743b04={};try{_0x743b04=await RequestUtil[_0x43ee22(0xd6)](_0xdc5edd);}catch(_0x6f4db7){_0x11a1cc[_0x43ee22(0xb1)](logDebug,_0x11a1cc[_0x43ee22(0xc0)],_0x6f4db7),_0x743b04={};}return _0x743b04;}static async[_0x1e558e(0xbd)](_0x19c6a1=!![]){const _0x3b0282=_0x1e558e,_0x5085bf={'Pzcum':function(_0x6d0758,_0x2d84f4){return _0x6d0758==_0x2d84f4;},'ReyeA':function(_0x23f093,_0x154da0){return _0x23f093-_0x154da0;},'Xogkm':function(_0x13f670,_0x497268){return _0x13f670!==_0x497268;},'URZjs':function(_0xc18b31,_0xab2a6d){return _0xc18b31+_0xab2a6d;},'KYwog':_0x3b0282(0xc8),'akfbh':'&clientkey=','VeqnK':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','RONPt':function(_0x502728,_0x239fbd,_0x15e6cb){return _0x502728(_0x239fbd,_0x15e6cb);},'bbcXm':'请求获取Skey时失败'};try{if(_0x5085bf['Pzcum'](Credentials[_0x3b0282(0xb4)],0x0)||_0x5085bf['ReyeA'](Date[_0x3b0282(0xb9)](),Credentials[_0x3b0282(0xb4)])>0x3e8*0xe10||!_0x19c6a1){const _0xe6e656=await napCatCore[_0x3b0282(0xa2)]['getTicketService']()[_0x3b0282(0xcf)]('');if(_0x5085bf[_0x3b0282(0xb2)](_0xe6e656[_0x3b0282(0xe3)],0x0))return'';const _0x3c1ab8=_0xe6e656['clientKey'],_0x4e0cfc=_0xe6e656[_0x3b0282(0xdd)],_0x48c160=_0x5085bf[_0x3b0282(0xdf)](_0x5085bf[_0x3b0282(0xdf)](_0x5085bf[_0x3b0282(0xdf)](_0x5085bf['URZjs'](_0x5085bf['KYwog'],selfInfo['uin']),_0x5085bf[_0x3b0282(0xb3)]),_0x3c1ab8),_0x5085bf[_0x3b0282(0xe2)])+_0x4e0cfc;let _0x58238d={};try{_0x58238d=await RequestUtil[_0x3b0282(0xd6)](_0x48c160);}catch(_0x8dae6e){_0x5085bf[_0x3b0282(0xc6)](logDebug,_0x5085bf['bbcXm'],_0x8dae6e),_0x58238d={};}const _0x2a0efb=_0x58238d[_0x3b0282(0xab)];if(!_0x2a0efb)return'';return Credentials[_0x3b0282(0x9b)]=_0x3c1ab8,Credentials[_0x3b0282(0xbb)]=_0x4e0cfc,Credentials['CreatTime']=Date['now'](),Credentials['Skey']=_0x2a0efb,_0x2a0efb;}return Credentials['Skey'];}catch(_0x421672){}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 eff5262c..779f1051 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0xd8e8d7=_0x3042;(function(_0x3c2d00,_0x28ac32){const _0x1de19a=_0x3042,_0x122717=_0x3c2d00();while(!![]){try{const _0x2d7530=parseInt(_0x1de19a(0x223))/0x1*(parseInt(_0x1de19a(0x1e4))/0x2)+parseInt(_0x1de19a(0x1e9))/0x3*(parseInt(_0x1de19a(0x1bb))/0x4)+-parseInt(_0x1de19a(0x1d1))/0x5+-parseInt(_0x1de19a(0x231))/0x6+-parseInt(_0x1de19a(0x1aa))/0x7*(parseInt(_0x1de19a(0x21e))/0x8)+parseInt(_0x1de19a(0x1f4))/0x9*(-parseInt(_0x1de19a(0x1f0))/0xa)+parseInt(_0x1de19a(0x227))/0xb;if(_0x2d7530===_0x28ac32)break;else _0x122717['push'](_0x122717['shift']());}catch(_0xe1e166){_0x122717['push'](_0x122717['shift']());}}}(_0x468b,0xbdf23));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x468b(){const _0x476b0e=['performer_list','vrYhU','nDTcf','6648vijZko','setGroupNotice','talkative','epZfa','YAjMG','3cqvHiF','get','dkGsN','jzNBU','15921103wBqLeq','&text=','AZndg','ubXNN','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','name','ATnxe','ulbgz','GroupTime','strong_newbie_list','3056178rsydhG','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','WrIjG','xFvdW','izKMl','&sort=1&gc=','retcode',';\x20skey=','trim','push','HttpGetText','csbBF','QUItH','8029DsazRP','uin','all','获取当前群荣耀失败','getSkey','KglOY','bchJu','MIRhu','PERFROMER','oRxoe','AagdB','JzBJs','LcOpI','count','RAhjy','GET','CUYwM','4rmflHw','qid=','POST','JktEf','Xgoqc','SrZwZ','desc','&page_limit=20','FwqNX','iuoEV','&group_code=','DPRjz','uQlqO','&bkn=','kSnXS','rXkan','wiyRw',';\x20uin=o','getPSkey','oUbUx','tzKTD','p_skey=','2793290rNWKVx','mxoLu','xPjEe','oWBoe','ziJvC','yvjOu','getGroupMembers','actorList','JYQwQ','OdndI','YeZhM','MvJdX','errcode','qun.qq.com','MoLVM','DOXoo','Cbtrk','set','avatar','460424NSBLya','&page_start=','获取群聊炽焰失败','performer','hrpRJ','1993431GzfaDt','ktJco','bDSSn','SaWWH','dHItN','pLvdq','GsxyZ','230VDvbAh','iCFrT','vUwnD','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','1287TorsyT','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','TALKACTIVE','talkativeList','LQVfa','ceil','strong_newbie','toString','genBkn','description','OyEYF','https://qun.qq.com/interactive/honorlist?gc=','HttpGetJson',';\x20p_uin=o','ALL','now','legend_list','lcjQQ','PrDzI','uBsbY','eorCd','&end=','ASKXU','qftAd','emotion_list','gIqlf','MuwCq','YPbpj','evIlz','talkative_list','WIyjR','umwro','qUcBv','jGuzV','cRFOW','EMOTION','mems','match','GroupData'];_0x468b=function(){return _0x476b0e;};return _0x468b();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0x3042(_0x381c35,_0xb3a986){const _0x468bb4=_0x468b();return _0x3042=function(_0x30422f,_0x5af13d){_0x30422f=_0x30422f-0x19e;let _0x47db20=_0x468bb4[_0x30422f];return _0x47db20;},_0x3042(_0x381c35,_0xb3a986);}export var WebHonorType;(function(_0x1f5d83){const _0x5c538f=_0x3042,_0x50344f={'csbBF':_0x5c538f(0x1ac),'FwqNX':_0x5c538f(0x1f6),'dkGsN':_0x5c538f(0x220),'ofPCQ':'LEGEND','bchJu':'STORONGE_NEWBI'};_0x1f5d83[_0x5c538f(0x202)]=_0x50344f[_0x5c538f(0x1a8)],_0x1f5d83[_0x50344f[_0x5c538f(0x1c3)]]=_0x50344f[_0x5c538f(0x225)],_0x1f5d83[_0x5c538f(0x1b2)]=_0x5c538f(0x1e7),_0x1f5d83[_0x50344f['ofPCQ']]='legend',_0x1f5d83[_0x50344f[_0x5c538f(0x1b0)]]=_0x5c538f(0x1fa),_0x1f5d83[_0x5c538f(0x217)]='emotion';}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x386c2b,_0x9d714c){const _0x58950a=_0x3042,_0x5bc642={'Cbtrk':'qun.qq.com','SrZwZ':function(_0x145eed,_0x2f13b1){return _0x145eed+_0x2f13b1;},'YPbpj':function(_0x2406eb,_0x578ada){return _0x2406eb+_0x578ada;},'OdndI':function(_0x34f266,_0x50a32e){return _0x34f266+_0x50a32e;},'ATnxe':_0x58950a(0x1d0),'uBsbY':';\x20skey=','yvjOu':_0x58950a(0x201),'SaWWH':function(_0x45d013,_0x152f27){return _0x45d013||_0x152f27;},'kSnXS':_0x58950a(0x1c2),'xPjEe':'GET','JzBJs':function(_0x5e6ffd,_0x34ea65){return _0x5e6ffd!==_0x34ea65;}},_0x27a80f=(await NTQQUserApi[_0x58950a(0x1cd)]([_0x5bc642['Cbtrk']]))[_0x5bc642[_0x58950a(0x1e1)]],_0x3fb303=await NTQQUserApi[_0x58950a(0x1ae)](),_0x1d4ec5=_0x5bc642['SrZwZ'](_0x5bc642[_0x58950a(0x20f)](_0x5bc642[_0x58950a(0x20f)](_0x5bc642[_0x58950a(0x1da)](_0x5bc642[_0x58950a(0x1da)](_0x5bc642[_0x58950a(0x22d)],_0x27a80f),_0x5bc642[_0x58950a(0x207)]),_0x3fb303),_0x5bc642[_0x58950a(0x1d6)])+selfInfo[_0x58950a(0x1ab)]+_0x58950a(0x1cc),selfInfo[_0x58950a(0x1ab)]);if(_0x5bc642[_0x58950a(0x1ec)](!_0x3fb303,!_0x27a80f))return undefined;const _0x9ad7e6=WebApi['genBkn'](_0x3fb303),_0x4ef87f=_0x5bc642['YPbpj'](_0x5bc642['YPbpj'](_0x5bc642[_0x58950a(0x1c0)](_0x58950a(0x1f5)+_0x9ad7e6,_0x58950a(0x1c5)),_0x386c2b),_0x58950a(0x1e5))+_0x9d714c+_0x5bc642[_0x58950a(0x1c9)];let _0x324503;try{_0x324503=await RequestUtil['HttpGetJson'](_0x4ef87f,_0x5bc642[_0x58950a(0x1d3)],'',{'Cookie':_0x1d4ec5});}catch{return undefined;}if(_0x5bc642[_0x58950a(0x1b5)](_0x324503[_0x58950a(0x1a3)],0x0))return undefined;return _0x324503;}static async[_0xd8e8d7(0x1d7)](_0x3b992f,_0x2d2a6e=!![]){const _0x1d3d88=_0xd8e8d7,_0x44e0fc={'hrpRJ':function(_0x54ce7c,_0x2d3f53){return _0x54ce7c>_0x2d3f53;},'umwro':function(_0x11946f,_0xd8b355){return _0x11946f-_0xd8b355;},'rGFDu':function(_0x5503ed,_0x4d2bc4){return _0x5503ed*_0x4d2bc4;},'QUItH':'qun.qq.com','evIlz':function(_0x6d4ede,_0x1498ea){return _0x6d4ede+_0x1498ea;},'dHItN':function(_0x5305d2,_0x3af81b){return _0x5305d2+_0x3af81b;},'LsBgu':_0x1d3d88(0x1d0),'iCFrT':_0x1d3d88(0x1a4),'mxoLu':function(_0x5827a2,_0x5ecb30){return _0x5827a2||_0x5ecb30;},'vdiBC':function(_0x4ccba4,_0x537f5e){return _0x4ccba4+_0x537f5e;},'pLvdq':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','WrIjG':'&bkn=','ktJco':_0x1d3d88(0x1bd),'nDTcf':function(_0x4064a4,_0x3ae814){return _0x4064a4<=_0x3ae814;},'eorCd':function(_0x2f32f5,_0x161c1d){return _0x2f32f5+_0x161c1d;},'DOXoo':function(_0x1202b0,_0xed0a7f){return _0x1202b0+_0xed0a7f;},'cRFOW':function(_0x543551,_0x5eec79){return _0x543551*_0x5eec79;},'LQVfa':_0x1d3d88(0x209),'ASKXU':_0x1d3d88(0x1a2),'SRbef':function(_0x4fa8d1,_0x339937){return _0x4fa8d1<=_0x339937;},'Xgoqc':function(_0x193ec9,_0x5c6751){return _0x193ec9!==_0x5c6751;}};let _0x364a77=new Array();try{let _0x3c7662=WebGroupData['GroupData'][_0x1d3d88(0x224)](_0x3b992f),_0x5e7390=WebGroupData['GroupTime']['get'](_0x3b992f);if(!_0x5e7390||_0x44e0fc[_0x1d3d88(0x1e8)](_0x44e0fc[_0x1d3d88(0x213)](Date['now'](),_0x5e7390),_0x44e0fc['rGFDu'](0x708,0x3e8))||!_0x2d2a6e){const _0x2d63a7=(await NTQQUserApi['getPSkey']([_0x44e0fc[_0x1d3d88(0x1a9)]]))[_0x44e0fc[_0x1d3d88(0x1a9)]],_0x2c4124=await NTQQUserApi[_0x1d3d88(0x1ae)](),_0x9e530a=_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc['dHItN'](_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc[_0x1d3d88(0x210)](_0x44e0fc['LsBgu'],_0x2d63a7),_0x44e0fc[_0x1d3d88(0x1f1)]),_0x2c4124)+_0x1d3d88(0x201),selfInfo[_0x1d3d88(0x1ab)]);if(_0x44e0fc[_0x1d3d88(0x1d2)](!_0x2c4124,!_0x2d63a7))return _0x364a77;const _0x3b8c31=WebApi['genBkn'](_0x2c4124),_0x11b433=[],_0x2ce9da=await RequestUtil['HttpGetJson'](_0x44e0fc[_0x1d3d88(0x1ed)](_0x44e0fc['vdiBC'](_0x44e0fc[_0x1d3d88(0x1ee)]+_0x3b992f,_0x44e0fc[_0x1d3d88(0x19f)]),_0x3b8c31),_0x44e0fc[_0x1d3d88(0x1ea)],'',{'Cookie':_0x9e530a});if(!_0x2ce9da?.[_0x1d3d88(0x1b7)]||_0x2ce9da?.[_0x1d3d88(0x1dd)]!==0x0||!_0x2ce9da?.[_0x1d3d88(0x218)])return[];else for(const _0x5619a6 in _0x2ce9da[_0x1d3d88(0x218)]){_0x364a77[_0x1d3d88(0x1a6)](_0x2ce9da[_0x1d3d88(0x218)][_0x5619a6]);}const _0x353388=Math[_0x1d3d88(0x1f9)](_0x2ce9da[_0x1d3d88(0x1b7)]/0x28);for(let _0x200880=0x2;_0x44e0fc[_0x1d3d88(0x21d)](_0x200880,_0x353388);_0x200880++){const _0x49e6ce=RequestUtil[_0x1d3d88(0x200)](_0x44e0fc['dHItN'](_0x44e0fc['dHItN'](_0x44e0fc[_0x1d3d88(0x208)](_0x44e0fc[_0x1d3d88(0x1e0)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st='+_0x44e0fc[_0x1d3d88(0x216)](_0x44e0fc[_0x1d3d88(0x213)](_0x200880,0x1),0x28)+_0x44e0fc[_0x1d3d88(0x1f8)]+_0x44e0fc[_0x1d3d88(0x216)](_0x200880,0x28),_0x44e0fc[_0x1d3d88(0x20a)]),_0x3b992f),_0x1d3d88(0x1c8)),_0x3b8c31),_0x44e0fc['ktJco'],'',{'Cookie':_0x9e530a});_0x11b433[_0x1d3d88(0x1a6)](_0x49e6ce);}for(let _0x32d1fb=0x1;_0x44e0fc['SRbef'](_0x32d1fb,_0x353388);_0x32d1fb++){const _0x2f10b3=await _0x11b433[_0x32d1fb];if(!_0x2f10b3?.['count']||_0x44e0fc[_0x1d3d88(0x1bf)](_0x2f10b3?.['errcode'],0x0)||!_0x2f10b3?.[_0x1d3d88(0x218)])continue;for(const _0x10c928 in _0x2f10b3[_0x1d3d88(0x218)]){_0x364a77[_0x1d3d88(0x1a6)](_0x2f10b3['mems'][_0x10c928]);}}WebGroupData[_0x1d3d88(0x21a)][_0x1d3d88(0x1e2)](_0x3b992f,_0x364a77),WebGroupData[_0x1d3d88(0x22f)][_0x1d3d88(0x1e2)](_0x3b992f,Date[_0x1d3d88(0x203)]());}else _0x364a77=_0x3c7662;}catch{return _0x364a77;}return _0x364a77;}static async[_0xd8e8d7(0x21f)](_0x108fb9,_0x2ad126=''){const _0x1d0f32=_0xd8e8d7,_0x37cb45={'OnobU':_0x1d0f32(0x1de),'xFvdW':function(_0x1a6ab7,_0x14344b){return _0x1a6ab7+_0x14344b;},'bDSSn':function(_0x25e137,_0x50b8c4){return _0x25e137+_0x50b8c4;},'PrDzI':function(_0x15d636,_0x18c926){return _0x15d636+_0x18c926;},'ubXNN':function(_0xd5197b,_0x511ab3){return _0xd5197b+_0x511ab3;},'uQlqO':_0x1d0f32(0x1a4),'JuNdN':_0x1d0f32(0x201),'vrYhU':function(_0x47038c,_0x199bb4){return _0x47038c||_0x199bb4;},'WIyjR':function(_0x3b9ee1,_0x46703d){return _0x3b9ee1+_0x46703d;},'eupBK':function(_0x5be08b,_0x57b8b6){return _0x5be08b+_0x57b8b6;},'ijpAD':function(_0x477921,_0x211492){return _0x477921+_0x211492;},'AagdB':_0x1d0f32(0x1bc),'oUbUx':_0x1d0f32(0x22b),'fLJHC':function(_0x5102ab,_0x435d36){return _0x5102ab+_0x435d36;},'NpQLI':_0x1d0f32(0x19e),'RAhjy':'GET'},_0x54c1bc=(await NTQQUserApi[_0x1d0f32(0x1cd)]([_0x1d0f32(0x1de)]))[_0x37cb45['OnobU']],_0x512dcd=await NTQQUserApi[_0x1d0f32(0x1ae)](),_0x51b574=_0x37cb45[_0x1d0f32(0x1a0)](_0x37cb45[_0x1d0f32(0x1eb)](_0x37cb45[_0x1d0f32(0x206)](_0x37cb45[_0x1d0f32(0x22a)]('p_skey=',_0x54c1bc),_0x37cb45[_0x1d0f32(0x1c7)]),_0x512dcd),_0x37cb45['JuNdN'])+selfInfo[_0x1d0f32(0x1ab)];let _0x1c33fa=undefined;if(_0x37cb45[_0x1d0f32(0x21c)](!_0x512dcd,!_0x54c1bc))return undefined;const _0x40960c=WebApi[_0x1d0f32(0x1fc)](_0x512dcd),_0x5782bf=_0x37cb45[_0x1d0f32(0x212)](_0x37cb45['eupBK'](_0x37cb45['PrDzI'](_0x37cb45['ijpAD'](_0x37cb45['WIyjR'](_0x37cb45[_0x1d0f32(0x1b4)]+_0x108fb9,_0x1d0f32(0x1c8)),_0x40960c),_0x1d0f32(0x228)),_0x2ad126),_0x37cb45[_0x1d0f32(0x1ce)]),_0x236043=_0x37cb45['fLJHC'](_0x37cb45['NpQLI'],_0x40960c);try{return _0x1c33fa=await RequestUtil[_0x1d0f32(0x200)](_0x236043,_0x37cb45[_0x1d0f32(0x1b8)],'',{'Cookie':_0x51b574}),_0x1c33fa;}catch(_0x3cca0c){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2f5934){const _0x41e3c2=_0xd8e8d7,_0x1338a2={'GoKSj':_0x41e3c2(0x1de),'epZfa':function(_0x4f6066,_0x15466b){return _0x4f6066+_0x15466b;},'ziJvC':function(_0x477f0f,_0x2764fc){return _0x477f0f+_0x2764fc;},'lcjQQ':function(_0x2da8b4,_0x43cfda){return _0x2da8b4+_0x43cfda;},'KglOY':'p_skey=','KRWWM':_0x41e3c2(0x1a4),'WPEvO':function(_0x2d32d2,_0x1c55e3){return _0x2d32d2||_0x1c55e3;},'jzNBU':function(_0xfef5ca,_0x4a6696){return _0xfef5ca+_0x4a6696;},'oWBoe':function(_0x46cb90,_0x2f74e5){return _0x46cb90+_0x2f74e5;},'sLYNE':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','LcOpI':'&qid=','MIRhu':_0x41e3c2(0x1f3),'lLErc':'GET','JYQwQ':function(_0x19c1ac,_0x4e36c2){return _0x19c1ac!==_0x4e36c2;}},_0x297e08=(await NTQQUserApi[_0x41e3c2(0x1cd)]([_0x41e3c2(0x1de)]))[_0x1338a2['GoKSj']],_0x2b909c=await NTQQUserApi[_0x41e3c2(0x1ae)](),_0xd88633=_0x1338a2[_0x41e3c2(0x221)](_0x1338a2[_0x41e3c2(0x1d5)](_0x1338a2[_0x41e3c2(0x205)](_0x1338a2[_0x41e3c2(0x1af)]+_0x297e08,_0x1338a2['KRWWM']),_0x2b909c)+';\x20p_uin=o',selfInfo[_0x41e3c2(0x1ab)]);let _0x131c5e=undefined;if(_0x1338a2['WPEvO'](!_0x2b909c,!_0x297e08))return undefined;const _0x5b0ea1=WebApi[_0x41e3c2(0x1fc)](_0x2b909c),_0x5efd6d=_0x1338a2[_0x41e3c2(0x226)](_0x1338a2[_0x41e3c2(0x1d4)](_0x1338a2['sLYNE']+_0x5b0ea1+_0x1338a2[_0x41e3c2(0x1b6)],_0x2f5934),_0x1338a2[_0x41e3c2(0x1b1)]);try{_0x131c5e=await RequestUtil['HttpGetJson'](_0x5efd6d,_0x1338a2['lLErc'],'',{'Cookie':_0xd88633});if(_0x1338a2[_0x41e3c2(0x1d9)](_0x131c5e?.['ec'],0x0))return undefined;return _0x131c5e;}catch(_0x5514fc){return undefined;}return undefined;}static[_0xd8e8d7(0x1fc)](_0x5ca7a5){const _0x49fdbf=_0xd8e8d7,_0x3b4b4a={'DPRjz':function(_0x22d69f,_0x591202){return _0x22d69f<_0x591202;},'YeZhM':function(_0x1ab190,_0x2a7e6f){return _0x1ab190+_0x2a7e6f;},'qUcBv':function(_0xb1825f,_0x558df7){return _0xb1825f<<_0x558df7;}};_0x5ca7a5=_0x5ca7a5||'';let _0x5622a1=0x1505;for(let _0x2e21e8=0x0;_0x3b4b4a[_0x49fdbf(0x1c6)](_0x2e21e8,_0x5ca7a5['length']);_0x2e21e8++){const _0x52ce60=_0x5ca7a5['charCodeAt'](_0x2e21e8);_0x5622a1=_0x3b4b4a[_0x49fdbf(0x1db)](_0x5622a1,_0x3b4b4a[_0x49fdbf(0x214)](_0x5622a1,0x5))+_0x52ce60;}return(_0x5622a1&0x7fffffff)[_0x49fdbf(0x1fb)]();}static async['getGroupHonorInfo'](_0x138b03,_0x47ad12){const _0x2cb2db=_0xd8e8d7,_0x4d097e={'iuoEV':function(_0x2d9b90,_0x34c990){return _0x2d9b90+_0x34c990;},'wiyRw':'&type=','OyEYF':_0x2cb2db(0x1b9),'CUYwM':function(_0x11d515,_0x426d46){return _0x11d515===_0x426d46;},'gIqlf':_0x2cb2db(0x1ad),'izKMl':_0x2cb2db(0x1de),'fhpPJ':function(_0x5cc03f,_0xc3c2){return _0x5cc03f||_0xc3c2;},'AZndg':function(_0x317f9c,_0x4a8d7f){return _0x317f9c+_0x4a8d7f;},'jGuzV':function(_0x4520c9,_0x439fd2){return _0x4520c9+_0x439fd2;},'qftAd':function(_0x2734c3,_0x1e2a14){return _0x2734c3+_0x1e2a14;},'MuwCq':_0x2cb2db(0x1d0),'JktEf':_0x2cb2db(0x1a4),'MoLVM':';\x20p_uin=o','ADCTQ':_0x2cb2db(0x1cc),'lYFTi':function(_0x156615,_0xec28b){return _0x156615===_0xec28b;},'MvJdX':function(_0x5f3bab,_0x231d39,_0x420f95){return _0x5f3bab(_0x231d39,_0x420f95);},'iYpjf':'获取龙王信息失败','vUwnD':function(_0x37f7da,_0x435768){return _0x37f7da(_0x435768);},'oRxoe':'获取群聊之火失败','rXkan':function(_0x2debac,_0x52a272){return _0x2debac===_0x52a272;},'YAjMG':_0x2cb2db(0x1e6),'Zthpv':function(_0x313a91,_0x37fff2,_0x63d565){return _0x313a91(_0x37fff2,_0x63d565);},'GsxyZ':'获取快乐源泉失败','tzKTD':function(_0x20b78a,_0x19a36b){return _0x20b78a===_0x19a36b;},'ulbgz':function(_0x52fcf3,_0x3c7663){return _0x52fcf3===_0x3c7663;}},_0x202594=(await NTQQUserApi['getPSkey']([_0x4d097e[_0x2cb2db(0x1a1)]]))[_0x4d097e['izKMl']],_0x43145f=await NTQQUserApi['getSkey']();if(_0x4d097e['fhpPJ'](!_0x43145f,!_0x202594))return undefined;async function _0x1b4de6(_0x470f01,_0x42aa91){const _0x1d5ac7=_0x2cb2db;let _0x14ec66=_0x4d097e['iuoEV'](_0x4d097e[_0x1d5ac7(0x1c4)](_0x1d5ac7(0x1ff)+_0x470f01,_0x4d097e[_0x1d5ac7(0x1cb)]),_0x42aa91[_0x1d5ac7(0x1fb)]()),_0x3f22d4='',_0x3f98d4;try{_0x3f22d4=await RequestUtil[_0x1d5ac7(0x1a7)](_0x14ec66,_0x4d097e[_0x1d5ac7(0x1fe)],'',{'Cookie':_0x254bfb});const _0x106b33=_0x3f22d4[_0x1d5ac7(0x219)](/window\.__INITIAL_STATE__=(.*?);/);return _0x106b33&&(_0x3f98d4=JSON['parse'](_0x106b33[0x1][_0x1d5ac7(0x1a5)]())),_0x4d097e['CUYwM'](_0x42aa91,0x1)?_0x3f98d4?.[_0x1d5ac7(0x1f7)]:_0x3f98d4?.[_0x1d5ac7(0x1d8)];}catch(_0x1da258){logDebug(_0x4d097e[_0x1d5ac7(0x20d)],_0x14ec66,_0x1da258);}return undefined;}let _0x447119={'group_id':_0x138b03};const _0x254bfb=_0x4d097e[_0x2cb2db(0x1c4)](_0x4d097e['iuoEV'](_0x4d097e[_0x2cb2db(0x229)](_0x4d097e[_0x2cb2db(0x229)](_0x4d097e[_0x2cb2db(0x215)](_0x4d097e[_0x2cb2db(0x20b)](_0x4d097e[_0x2cb2db(0x20e)],_0x202594)+_0x4d097e[_0x2cb2db(0x1be)],_0x43145f),_0x4d097e[_0x2cb2db(0x1df)]),selfInfo['uin']),_0x4d097e['ADCTQ']),selfInfo[_0x2cb2db(0x1ab)]);if(_0x4d097e[_0x2cb2db(0x1ba)](_0x47ad12,WebHonorType[_0x2cb2db(0x1f6)])||_0x4d097e['lYFTi'](_0x47ad12,WebHonorType['ALL']))try{let _0x314b7b=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x1);if(!_0x314b7b)throw new Error(_0x4d097e['iYpjf']);_0x447119['current_talkative']={'user_id':_0x314b7b[0x0]?.[_0x2cb2db(0x1ab)],'avatar':_0x314b7b[0x0]?.['avatar'],'nickname':_0x314b7b[0x0]?.[_0x2cb2db(0x22c)],'day_count':0x0,'description':_0x314b7b[0x0]?.[_0x2cb2db(0x1c1)]},_0x447119[_0x2cb2db(0x211)]=[];for(const _0x15d525 of _0x314b7b){_0x447119[_0x2cb2db(0x211)][_0x2cb2db(0x1a6)]({'user_id':_0x15d525?.['uin'],'avatar':_0x15d525?.[_0x2cb2db(0x1e3)],'description':_0x15d525?.[_0x2cb2db(0x1c1)],'day_count':0x0,'nickname':_0x15d525?.[_0x2cb2db(0x22c)]});}}catch(_0x1bcf04){_0x4d097e[_0x2cb2db(0x1f2)](logDebug,_0x1bcf04);}if(_0x47ad12===WebHonorType[_0x2cb2db(0x1b2)]||_0x47ad12===WebHonorType[_0x2cb2db(0x202)])try{let _0x222384=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x2);if(!_0x222384)throw new Error(_0x4d097e[_0x2cb2db(0x1b3)]);_0x447119['performer_list']=[];for(const _0x1f28f9 of _0x222384){_0x447119[_0x2cb2db(0x21b)][_0x2cb2db(0x1a6)]({'user_id':_0x1f28f9?.[_0x2cb2db(0x1ab)],'nickname':_0x1f28f9?.[_0x2cb2db(0x22c)],'avatar':_0x1f28f9?.[_0x2cb2db(0x1e3)],'description':_0x1f28f9?.[_0x2cb2db(0x1c1)]});}}catch(_0x18bb2f){_0x4d097e[_0x2cb2db(0x1f2)](logDebug,_0x18bb2f);}if(_0x47ad12===WebHonorType['PERFROMER']||_0x4d097e[_0x2cb2db(0x1ca)](_0x47ad12,WebHonorType['ALL']))try{let _0x458a3f=await _0x4d097e[_0x2cb2db(0x1dc)](_0x1b4de6,_0x138b03,0x3);if(!_0x458a3f)throw new Error(_0x4d097e[_0x2cb2db(0x222)]);_0x447119['legend_list']=[];for(const _0x2adfb5 of _0x458a3f){_0x447119[_0x2cb2db(0x204)][_0x2cb2db(0x1a6)]({'user_id':_0x2adfb5?.[_0x2cb2db(0x1ab)],'nickname':_0x2adfb5?.[_0x2cb2db(0x22c)],'avatar':_0x2adfb5?.[_0x2cb2db(0x1e3)],'desc':_0x2adfb5?.['description']});}}catch(_0x5a01d0){_0x4d097e['Zthpv'](logDebug,_0x4d097e['YAjMG'],_0x5a01d0);}if(_0x4d097e[_0x2cb2db(0x1ca)](_0x47ad12,WebHonorType[_0x2cb2db(0x217)])||_0x4d097e[_0x2cb2db(0x1ba)](_0x47ad12,WebHonorType[_0x2cb2db(0x202)]))try{let _0x15e5d0=await _0x4d097e['MvJdX'](_0x1b4de6,_0x138b03,0x6);if(!_0x15e5d0)throw new Error(_0x4d097e[_0x2cb2db(0x1ef)]);_0x447119[_0x2cb2db(0x20c)]=[];for(const _0x2dc20a of _0x15e5d0){_0x447119[_0x2cb2db(0x20c)][_0x2cb2db(0x1a6)]({'user_id':_0x2dc20a?.[_0x2cb2db(0x1ab)],'nickname':_0x2dc20a?.[_0x2cb2db(0x22c)],'avatar':_0x2dc20a?.['avatar'],'desc':_0x2dc20a?.[_0x2cb2db(0x1fd)]});}}catch(_0x22fd37){_0x4d097e[_0x2cb2db(0x1dc)](logDebug,_0x4d097e[_0x2cb2db(0x1ef)],_0x22fd37);}return(_0x4d097e[_0x2cb2db(0x1cf)](_0x47ad12,WebHonorType[_0x2cb2db(0x217)])||_0x4d097e[_0x2cb2db(0x22e)](_0x47ad12,WebHonorType[_0x2cb2db(0x202)]))&&(_0x447119[_0x2cb2db(0x230)]=[]),_0x447119;}} \ No newline at end of file +const _0x46e534=_0xb1e9;(function(_0x617899,_0x56bd7b){const _0x20ea30=_0xb1e9,_0x559386=_0x617899();while(!![]){try{const _0x509348=-parseInt(_0x20ea30(0x249))/0x1*(parseInt(_0x20ea30(0x270))/0x2)+-parseInt(_0x20ea30(0x219))/0x3+parseInt(_0x20ea30(0x248))/0x4*(parseInt(_0x20ea30(0x276))/0x5)+-parseInt(_0x20ea30(0x23b))/0x6*(-parseInt(_0x20ea30(0x235))/0x7)+parseInt(_0x20ea30(0x24c))/0x8+-parseInt(_0x20ea30(0x26b))/0x9+parseInt(_0x20ea30(0x25e))/0xa;if(_0x509348===_0x56bd7b)break;else _0x559386['push'](_0x559386['shift']());}catch(_0x23047c){_0x559386['push'](_0x559386['shift']());}}}(_0x1863,0x992ed));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';function _0xb1e9(_0x377f4f,_0xffacc){const _0x1863ce=_0x1863();return _0xb1e9=function(_0xb1e91c,_0x35117c){_0xb1e91c=_0xb1e91c-0x1ec;let _0x166228=_0x1863ce[_0xb1e91c];return _0x166228;},_0xb1e9(_0x377f4f,_0xffacc);}export var WebHonorType;(function(_0x27b4cc){const _0x3872ff=_0xb1e9,_0x1b96c7={'JwOkf':_0x3872ff(0x230),'IqJCy':_0x3872ff(0x20e),'YPmVN':_0x3872ff(0x1fd),'LAImE':_0x3872ff(0x1f7),'BvRIx':_0x3872ff(0x214),'HQIVt':'legend','VgktU':'STORONGE_NEWBI','LDhCB':_0x3872ff(0x204),'shJQk':_0x3872ff(0x261)};_0x27b4cc[_0x3872ff(0x215)]=_0x1b96c7['JwOkf'],_0x27b4cc[_0x1b96c7['IqJCy']]=_0x1b96c7[_0x3872ff(0x208)],_0x27b4cc[_0x1b96c7[_0x3872ff(0x22e)]]=_0x3872ff(0x234),_0x27b4cc[_0x1b96c7[_0x3872ff(0x22a)]]=_0x1b96c7['HQIVt'],_0x27b4cc[_0x1b96c7['VgktU']]=_0x1b96c7['LDhCB'],_0x27b4cc[_0x1b96c7[_0x3872ff(0x21f)]]=_0x3872ff(0x22f);}(WebHonorType||(WebHonorType={})));function _0x1863(){const _0x408292=['NEriF','EMOTION','sGhLs','获取龙王信息失败','kiKAG','获取当前群荣耀失败','VtxwA','AbUAi','p_skey=','Hvtrj','xIMJA','3277377Lyesql','JQxZs','charCodeAt','&qid=','errcode','10ZoxEwn','setGroupNotice','getGroupMembers','aLhpp','ykluI','description','310045YpwGJr','GET','SDYJw','name','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','wrGzy','ceil','FNlKE','mems','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','pFMPV','uiLMV','vviTk',';\x20skey=','mzSiJ','get','FLHLx','HttpGetJson','HzFUW','LWPkU','BrcNH','tAnhb','kmVKD','qUYdP','JSsnI','PERFROMER',';\x20uin=o','OgRWo','DNWAx','GyDNr','tbyES','talkative','&bkn=','&end=','rOTPk','uzRUW','getGrouptNotice','HKwTL','strong_newbie','ZaIdC','strong_newbie_list','XGjBr','YPmVN','MWKpY','emotion_list','Mzbyb','&page_limit=20',';\x20p_uin=o','TALKACTIVE','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','jSKID','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','yCLuH','getPSkey','LEGEND','ALL','legend_list','getSkey','ONuJS','2675343VccGLu','Mxufb','retcode','hAgfq','tFlfg','push','shJQk','AHhli','YDMLs','ZhmhA','cKmij','UCoOV','wJdBd','lDguV','VHOcJ','zRwql','QEqiA','BvRIx','获取群聊炽焰失败','Muytf','HttpGetText','LAImE','emotion','all','nHeuV','ahaxb','desc','performer','7742bDmSfK','JXqaa','oXFqO','getGroupHonorInfo','BzqWi','qun.qq.com','768oipiVW','VynrW','GvTOz','uin','CIpfY','avatar','trim','suJiv','&group_code=','https://qun.qq.com/interactive/honorlist?gc=','bRSQC','current_talkative','talkative_list','32sipbAe','85097VDVjSB','orAPH','rOSZK','6622296tkySfY','jqOHe','set','PoMrp','talkativeList','actorList','now','qid=','kYFBn','genBkn','PxeEh','pieiU','MZksp','GroupTime','vyNGu','wrcCW','Pkplq','FYXRu','8434290rqmTLg','count'];_0x1863=function(){return _0x408292;};return _0x1863();}export class WebApi{static async['getGroupEssenceMsg'](_0xe9ccad,_0x4d6577){const _0x9771e0=_0xb1e9,_0x1060fc={'wrGzy':'qun.qq.com','yCLuH':function(_0x3f4098,_0x3f37c9){return _0x3f4098+_0x3f37c9;},'Hvtrj':function(_0x2d9184,_0x13fa8a){return _0x2d9184+_0x13fa8a;},'LWPkU':_0x9771e0(0x268),'ykluI':_0x9771e0(0x283),'GvTOz':_0x9771e0(0x20d),'raneV':_0x9771e0(0x1f8),'bRSQC':function(_0x24d35a,_0x407751){return _0x24d35a||_0x407751;},'Pkplq':function(_0x10443b,_0x45e073){return _0x10443b+_0x45e073;},'kYFBn':function(_0x337701,_0xeb8391){return _0x337701+_0xeb8391;},'HzFUW':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Owoyp':_0x9771e0(0x243),'nHeuV':'&page_start=','FLHLx':_0x9771e0(0x20c),'HKwTL':_0x9771e0(0x277),'VHOcJ':function(_0x4a3972,_0x23d1de){return _0x4a3972!==_0x23d1de;}},_0x366457=(await NTQQUserApi[_0x9771e0(0x213)]([_0x9771e0(0x23a)]))[_0x1060fc[_0x9771e0(0x27b)]],_0x5b25a4=await NTQQUserApi[_0x9771e0(0x217)](),_0xd5825=_0x1060fc[_0x9771e0(0x212)](_0x1060fc['yCLuH'](_0x1060fc[_0x9771e0(0x212)](_0x1060fc[_0x9771e0(0x212)](_0x1060fc['Hvtrj'](_0x1060fc[_0x9771e0(0x212)](_0x1060fc[_0x9771e0(0x1f1)]+_0x366457,_0x1060fc[_0x9771e0(0x274)]),_0x5b25a4),_0x1060fc[_0x9771e0(0x23d)]),selfInfo[_0x9771e0(0x23e)]),_0x1060fc['raneV']),selfInfo[_0x9771e0(0x23e)]);if(_0x1060fc[_0x9771e0(0x245)](!_0x5b25a4,!_0x366457))return undefined;const _0x1465f3=WebApi['genBkn'](_0x5b25a4),_0x3b1de1=_0x1060fc[_0x9771e0(0x25c)](_0x1060fc[_0x9771e0(0x269)](_0x1060fc[_0x9771e0(0x269)](_0x1060fc[_0x9771e0(0x254)](_0x1060fc[_0x9771e0(0x1f0)],_0x1465f3),_0x1060fc['Owoyp'])+_0xe9ccad,_0x1060fc[_0x9771e0(0x231)]),_0x4d6577)+_0x1060fc[_0x9771e0(0x1ee)];let _0x5438a3;try{_0x5438a3=await RequestUtil[_0x9771e0(0x1ef)](_0x3b1de1,_0x1060fc[_0x9771e0(0x203)],'',{'Cookie':_0xd5825});}catch{return undefined;}if(_0x1060fc[_0x9771e0(0x227)](_0x5438a3[_0x9771e0(0x21b)],0x0))return undefined;return _0x5438a3;}static async[_0x46e534(0x272)](_0x421899,_0x4eb224=!![]){const _0x25e2b0=_0x46e534,_0x4e08f1={'FNlKE':function(_0xdcd0d8,_0xd685d7){return _0xdcd0d8-_0xd685d7;},'YDMLs':_0x25e2b0(0x23a),'uiLMV':function(_0x2fe731,_0x5b57b3){return _0x2fe731+_0x5b57b3;},'lDguV':_0x25e2b0(0x268),'VtxwA':function(_0x377afb,_0x2ec377){return _0x377afb||_0x2ec377;},'JXqaa':function(_0x551da1,_0x1ec3b7){return _0x551da1+_0x1ec3b7;},'XGjBr':_0x25e2b0(0x1fe),'rOTPk':'POST','pieiU':function(_0x3c3058,_0x113652){return _0x3c3058!==_0x113652;},'wLHgh':function(_0x499738,_0x339ca6){return _0x499738/_0x339ca6;},'AHhli':function(_0x58d845,_0x3ae4cf){return _0x58d845<=_0x3ae4cf;},'oXFqO':function(_0x12e9ef,_0xfcbb49){return _0x12e9ef+_0xfcbb49;},'MWKpY':function(_0x4b75f0,_0x449686){return _0x4b75f0+_0x449686;},'Mxufb':function(_0xc3b654,_0x460308){return _0xc3b654+_0x460308;},'JQxZs':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','SDYJw':_0x25e2b0(0x1ff),'OgRWo':function(_0x12ac4f,_0x9334ed){return _0x12ac4f*_0x9334ed;},'pFMPV':'&sort=1&gc='};let _0x1e118c=new Array();try{let _0x174e11=WebGroupData['GroupData'][_0x25e2b0(0x1ed)](_0x421899),_0xbeab49=WebGroupData[_0x25e2b0(0x259)]['get'](_0x421899);if(!_0xbeab49||_0x4e08f1[_0x25e2b0(0x27d)](Date[_0x25e2b0(0x252)](),_0xbeab49)>0x708*0x3e8||!_0x4eb224){const _0x9be534=(await NTQQUserApi[_0x25e2b0(0x213)]([_0x4e08f1[_0x25e2b0(0x221)]]))[_0x4e08f1[_0x25e2b0(0x221)]],_0x223fec=await NTQQUserApi[_0x25e2b0(0x217)](),_0x2e14df=_0x4e08f1['uiLMV'](_0x4e08f1['uiLMV'](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x226)]+_0x9be534,_0x25e2b0(0x283)),_0x223fec),_0x25e2b0(0x20d)),selfInfo[_0x25e2b0(0x23e)]);if(_0x4e08f1[_0x25e2b0(0x266)](!_0x223fec,!_0x9be534))return _0x1e118c;const _0x23630e=WebApi[_0x25e2b0(0x255)](_0x223fec),_0x555f84=[],_0x224d9b=await RequestUtil[_0x25e2b0(0x1ef)](_0x4e08f1[_0x25e2b0(0x281)](_0x4e08f1[_0x25e2b0(0x236)](_0x25e2b0(0x20f)+_0x421899,_0x4e08f1[_0x25e2b0(0x207)]),_0x23630e),_0x4e08f1[_0x25e2b0(0x200)],'',{'Cookie':_0x2e14df});if(!_0x224d9b?.[_0x25e2b0(0x25f)]||_0x4e08f1[_0x25e2b0(0x257)](_0x224d9b?.[_0x25e2b0(0x26f)],0x0)||!_0x224d9b?.['mems'])return[];else for(const _0x37f41e in _0x224d9b[_0x25e2b0(0x27e)]){_0x1e118c[_0x25e2b0(0x21e)](_0x224d9b[_0x25e2b0(0x27e)][_0x37f41e]);}const _0x21ba05=Math[_0x25e2b0(0x27c)](_0x4e08f1['wLHgh'](_0x224d9b['count'],0x28));for(let _0x5bb141=0x2;_0x4e08f1['AHhli'](_0x5bb141,_0x21ba05);_0x5bb141++){const _0x399eb3=RequestUtil[_0x25e2b0(0x1ef)](_0x4e08f1['JXqaa'](_0x4e08f1[_0x25e2b0(0x237)](_0x4e08f1[_0x25e2b0(0x237)](_0x4e08f1['uiLMV'](_0x4e08f1[_0x25e2b0(0x209)](_0x4e08f1[_0x25e2b0(0x21a)](_0x4e08f1[_0x25e2b0(0x209)](_0x4e08f1[_0x25e2b0(0x26c)],(_0x5bb141-0x1)*0x28),_0x4e08f1[_0x25e2b0(0x278)]),_0x4e08f1[_0x25e2b0(0x1f9)](_0x5bb141,0x28)),_0x4e08f1[_0x25e2b0(0x280)]),_0x421899),_0x25e2b0(0x1fe)),_0x23630e),_0x4e08f1[_0x25e2b0(0x200)],'',{'Cookie':_0x2e14df});_0x555f84[_0x25e2b0(0x21e)](_0x399eb3);}for(let _0x1e5de6=0x1;_0x4e08f1[_0x25e2b0(0x220)](_0x1e5de6,_0x21ba05);_0x1e5de6++){const _0x33c5ba=await _0x555f84[_0x1e5de6];if(!_0x33c5ba?.[_0x25e2b0(0x25f)]||_0x33c5ba?.['errcode']!==0x0||!_0x33c5ba?.[_0x25e2b0(0x27e)])continue;for(const _0x112a3a in _0x33c5ba[_0x25e2b0(0x27e)]){_0x1e118c[_0x25e2b0(0x21e)](_0x33c5ba[_0x25e2b0(0x27e)][_0x112a3a]);}}WebGroupData['GroupData']['set'](_0x421899,_0x1e118c),WebGroupData['GroupTime'][_0x25e2b0(0x24e)](_0x421899,Date[_0x25e2b0(0x252)]());}else _0x1e118c=_0x174e11;}catch{return _0x1e118c;}return _0x1e118c;}static async[_0x46e534(0x271)](_0x1dd356,_0x2fb508=''){const _0x23bf9a=_0x46e534,_0x30e6bb={'rOSZK':'qun.qq.com','tFlfg':function(_0x4c6ab2,_0x5203dd){return _0x4c6ab2+_0x5203dd;},'PxeEh':_0x23bf9a(0x268),'ONuJS':';\x20p_uin=o','cKmij':function(_0x29960b,_0x30b529){return _0x29960b+_0x30b529;},'mzSiJ':_0x23bf9a(0x253),'PoMrp':'&bkn=','VynrW':'&text=','JXRQb':_0x23bf9a(0x211),'kmVKD':function(_0x728538,_0x430079){return _0x728538+_0x430079;},'MZksp':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0x5d8e21=(await NTQQUserApi[_0x23bf9a(0x213)]([_0x30e6bb['rOSZK']]))[_0x30e6bb[_0x23bf9a(0x24b)]],_0x3d9c19=await NTQQUserApi[_0x23bf9a(0x217)](),_0x37c700=_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x256)]+_0x5d8e21,_0x23bf9a(0x283))+_0x3d9c19+_0x30e6bb[_0x23bf9a(0x218)],selfInfo[_0x23bf9a(0x23e)]);let _0x10d088=undefined;if(!_0x3d9c19||!_0x5d8e21)return undefined;const _0x57c7cf=WebApi[_0x23bf9a(0x255)](_0x3d9c19),_0x150edf=_0x30e6bb['tFlfg'](_0x30e6bb[_0x23bf9a(0x223)](_0x30e6bb[_0x23bf9a(0x223)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x21d)](_0x30e6bb[_0x23bf9a(0x1ec)]+_0x1dd356,_0x30e6bb[_0x23bf9a(0x24f)]),_0x57c7cf),_0x30e6bb[_0x23bf9a(0x23c)]),_0x2fb508),_0x30e6bb['JXRQb']),_0x27d775=_0x30e6bb[_0x23bf9a(0x1f4)](_0x30e6bb[_0x23bf9a(0x258)],_0x57c7cf);try{return _0x10d088=await RequestUtil[_0x23bf9a(0x1ef)](_0x27d775,'GET','',{'Cookie':_0x37c700}),_0x10d088;}catch(_0x39dba0){return undefined;}return undefined;}static async[_0x46e534(0x202)](_0x5567a4){const _0x49aa54=_0x46e534,_0x53852c={'qUYdP':_0x49aa54(0x23a),'ahaxb':function(_0x55cb46,_0x4681d4){return _0x55cb46+_0x4681d4;},'uzRUW':function(_0x572dd7,_0x5a468d){return _0x572dd7+_0x5a468d;},'BzqWi':function(_0x5305d4,_0x216f9f){return _0x5305d4+_0x216f9f;},'pilnX':function(_0x39c797,_0x5498e5){return _0x39c797+_0x5498e5;},'ZaIdC':_0x49aa54(0x268),'QEqiA':_0x49aa54(0x20d),'tbyES':function(_0x3da152,_0x2ffeae){return _0x3da152+_0x2ffeae;},'kiKAG':_0x49aa54(0x27a),'BrcNH':_0x49aa54(0x26e),'orAPH':function(_0x5b68db,_0x295099){return _0x5b68db!==_0x295099;}},_0x244f21=(await NTQQUserApi[_0x49aa54(0x213)]([_0x53852c[_0x49aa54(0x1f5)]]))[_0x53852c['qUYdP']],_0x39b64c=await NTQQUserApi[_0x49aa54(0x217)](),_0x499be2=_0x53852c[_0x49aa54(0x232)](_0x53852c[_0x49aa54(0x201)](_0x53852c[_0x49aa54(0x239)](_0x53852c['pilnX'](_0x53852c['BzqWi'](_0x53852c[_0x49aa54(0x205)],_0x244f21),_0x49aa54(0x283)),_0x39b64c),_0x53852c[_0x49aa54(0x229)]),selfInfo[_0x49aa54(0x23e)]);let _0x5d8b85=undefined;if(!_0x39b64c||!_0x244f21)return undefined;const _0x35ea5e=WebApi[_0x49aa54(0x255)](_0x39b64c),_0x1c5863=_0x53852c[_0x49aa54(0x239)](_0x53852c[_0x49aa54(0x232)](_0x53852c[_0x49aa54(0x1fc)](_0x53852c[_0x49aa54(0x264)],_0x35ea5e),_0x53852c[_0x49aa54(0x1f2)]),_0x5567a4)+_0x49aa54(0x27f);try{_0x5d8b85=await RequestUtil[_0x49aa54(0x1ef)](_0x1c5863,_0x49aa54(0x277),'',{'Cookie':_0x499be2});if(_0x53852c[_0x49aa54(0x24a)](_0x5d8b85?.['ec'],0x0))return undefined;return _0x5d8b85;}catch(_0x5082fa){return undefined;}return undefined;}static[_0x46e534(0x255)](_0x4a7f16){const _0x2261c5=_0x46e534,_0x39221b={'FYXRu':function(_0x26077c,_0x467f12){return _0x26077c||_0x467f12;},'DNWAx':function(_0x141e85,_0x1e793d){return _0x141e85+_0x1e793d;},'CIpfY':function(_0x3e9385,_0x518ef5){return _0x3e9385<<_0x518ef5;},'GyDNr':function(_0x559cbb,_0x5e2b79){return _0x559cbb&_0x5e2b79;}};_0x4a7f16=_0x39221b[_0x2261c5(0x25d)](_0x4a7f16,'');let _0x1e3c33=0x1505;for(let _0x14b4eb=0x0;_0x14b4eb<_0x4a7f16['length'];_0x14b4eb++){const _0x3879e4=_0x4a7f16[_0x2261c5(0x26d)](_0x14b4eb);_0x1e3c33=_0x39221b[_0x2261c5(0x1fa)](_0x39221b[_0x2261c5(0x1fa)](_0x1e3c33,_0x39221b[_0x2261c5(0x23f)](_0x1e3c33,0x5)),_0x3879e4);}return _0x39221b[_0x2261c5(0x1fb)](_0x1e3c33,0x7fffffff)['toString']();}static async[_0x46e534(0x238)](_0x56e8d0,_0x7aebc7){const _0xb9accb=_0x46e534,_0x32bd13={'AbUAi':function(_0x2e3bc2,_0x3ea905){return _0x2e3bc2+_0x3ea905;},'SwSQQ':'&type=','sGhLs':function(_0x3cd32a,_0x290bb4){return _0x3cd32a===_0x290bb4;},'tHGYP':function(_0x25ea8b,_0x829290,_0x231ac2,_0x497664){return _0x25ea8b(_0x829290,_0x231ac2,_0x497664);},'vviTk':_0xb9accb(0x265),'tAnhb':_0xb9accb(0x23a),'vyNGu':function(_0x4d2ab4,_0x4b6da1){return _0x4d2ab4||_0x4b6da1;},'xIMJA':function(_0x4da2ac,_0x37adea){return _0x4da2ac+_0x37adea;},'Muytf':function(_0x2d5d9c,_0x4b5a46){return _0x2d5d9c+_0x4b5a46;},'FYRGI':_0xb9accb(0x268),'JSsnI':_0xb9accb(0x283),'jqOHe':';\x20p_uin=o','ggTAB':';\x20uin=o','UCoOV':function(_0x4a2501,_0x5727db){return _0x4a2501===_0x5727db;},'hAgfq':function(_0x3fabae,_0x1812a7,_0x52a7dd){return _0x3fabae(_0x1812a7,_0x52a7dd);},'ZhmhA':_0xb9accb(0x263),'zRwql':function(_0x204a78,_0x5a6522){return _0x204a78(_0x5a6522);},'suJiv':'获取群聊之火失败','wrcCW':function(_0x1a2362,_0x5601c2){return _0x1a2362===_0x5601c2;},'NEriF':function(_0x1246fd,_0xf8a653){return _0x1246fd===_0xf8a653;},'Mzbyb':function(_0x44fd4c,_0x3722b1,_0x3ebdc0){return _0x44fd4c(_0x3722b1,_0x3ebdc0);},'NNoIX':_0xb9accb(0x22b),'Sdxhx':function(_0x4b67e3,_0x59cfb4,_0x34402d){return _0x4b67e3(_0x59cfb4,_0x34402d);},'aLhpp':'获取快乐源泉失败','jSKID':function(_0x597c47,_0x87f00,_0x7c2ab0){return _0x597c47(_0x87f00,_0x7c2ab0);},'wJdBd':function(_0x3a44d6,_0x1c6576){return _0x3a44d6===_0x1c6576;}},_0x34827a=(await NTQQUserApi[_0xb9accb(0x213)](['qun.qq.com']))[_0x32bd13[_0xb9accb(0x1f3)]],_0x1ff3b6=await NTQQUserApi['getSkey']();if(_0x32bd13[_0xb9accb(0x25a)](!_0x1ff3b6,!_0x34827a))return undefined;async function _0x5dc18b(_0x1a96ec,_0x1ebff5){const _0xb43164=_0xb9accb;let _0x179dae=_0x32bd13['AbUAi'](_0x32bd13[_0xb43164(0x267)](_0xb43164(0x244),_0x1a96ec),_0x32bd13['SwSQQ'])+_0x1ebff5['toString'](),_0x2cdd82='',_0x280b07;try{_0x2cdd82=await RequestUtil[_0xb43164(0x22d)](_0x179dae,_0xb43164(0x277),'',{'Cookie':_0x16efc9});const _0x5a6138=_0x2cdd82['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x5a6138&&(_0x280b07=JSON['parse'](_0x5a6138[0x1][_0xb43164(0x241)]())),_0x32bd13[_0xb43164(0x262)](_0x1ebff5,0x1)?_0x280b07?.[_0xb43164(0x250)]:_0x280b07?.[_0xb43164(0x251)];}catch(_0x2c5b26){_0x32bd13['tHGYP'](logDebug,_0x32bd13[_0xb43164(0x282)],_0x179dae,_0x2c5b26);}return undefined;}let _0x356a94={'group_id':_0x56e8d0};const _0x16efc9=_0x32bd13['xIMJA'](_0x32bd13['xIMJA'](_0x32bd13[_0xb9accb(0x22c)](_0x32bd13[_0xb9accb(0x26a)](_0x32bd13[_0xb9accb(0x26a)](_0x32bd13['FYRGI']+_0x34827a,_0x32bd13[_0xb9accb(0x1f6)]),_0x1ff3b6),_0x32bd13[_0xb9accb(0x24d)]),selfInfo[_0xb9accb(0x23e)])+_0x32bd13['ggTAB'],selfInfo[_0xb9accb(0x23e)]);if(_0x32bd13[_0xb9accb(0x262)](_0x7aebc7,WebHonorType[_0xb9accb(0x20e)])||_0x32bd13[_0xb9accb(0x224)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x1b17ba=await _0x32bd13[_0xb9accb(0x21c)](_0x5dc18b,_0x56e8d0,0x1);if(!_0x1b17ba)throw new Error(_0x32bd13[_0xb9accb(0x222)]);_0x356a94[_0xb9accb(0x246)]={'user_id':_0x1b17ba[0x0]?.[_0xb9accb(0x23e)],'avatar':_0x1b17ba[0x0]?.[_0xb9accb(0x240)],'nickname':_0x1b17ba[0x0]?.[_0xb9accb(0x279)],'day_count':0x0,'description':_0x1b17ba[0x0]?.[_0xb9accb(0x233)]},_0x356a94[_0xb9accb(0x247)]=[];for(const _0x4a55d3 of _0x1b17ba){_0x356a94[_0xb9accb(0x247)][_0xb9accb(0x21e)]({'user_id':_0x4a55d3?.['uin'],'avatar':_0x4a55d3?.[_0xb9accb(0x240)],'description':_0x4a55d3?.[_0xb9accb(0x233)],'day_count':0x0,'nickname':_0x4a55d3?.['name']});}}catch(_0xdfcb16){_0x32bd13[_0xb9accb(0x228)](logDebug,_0xdfcb16);}if(_0x32bd13[_0xb9accb(0x262)](_0x7aebc7,WebHonorType[_0xb9accb(0x1f7)])||_0x32bd13[_0xb9accb(0x224)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x41b0fa=await _0x5dc18b(_0x56e8d0,0x2);if(!_0x41b0fa)throw new Error(_0x32bd13[_0xb9accb(0x242)]);_0x356a94['performer_list']=[];for(const _0x585102 of _0x41b0fa){_0x356a94['performer_list'][_0xb9accb(0x21e)]({'user_id':_0x585102?.[_0xb9accb(0x23e)],'nickname':_0x585102?.[_0xb9accb(0x279)],'avatar':_0x585102?.['avatar'],'description':_0x585102?.[_0xb9accb(0x233)]});}}catch(_0x28c521){_0x32bd13[_0xb9accb(0x228)](logDebug,_0x28c521);}if(_0x32bd13['wrcCW'](_0x7aebc7,WebHonorType[_0xb9accb(0x1f7)])||_0x32bd13[_0xb9accb(0x260)](_0x7aebc7,WebHonorType['ALL']))try{let _0x545f48=await _0x5dc18b(_0x56e8d0,0x3);if(!_0x545f48)throw new Error(_0xb9accb(0x22b));_0x356a94[_0xb9accb(0x216)]=[];for(const _0x3abe97 of _0x545f48){_0x356a94[_0xb9accb(0x216)][_0xb9accb(0x21e)]({'user_id':_0x3abe97?.['uin'],'nickname':_0x3abe97?.[_0xb9accb(0x279)],'avatar':_0x3abe97?.[_0xb9accb(0x240)],'desc':_0x3abe97?.[_0xb9accb(0x275)]});}}catch(_0x5516fb){_0x32bd13[_0xb9accb(0x20b)](logDebug,_0x32bd13['NNoIX'],_0x5516fb);}if(_0x7aebc7===WebHonorType[_0xb9accb(0x261)]||_0x32bd13[_0xb9accb(0x25b)](_0x7aebc7,WebHonorType[_0xb9accb(0x215)]))try{let _0x5aa30f=await _0x32bd13['Sdxhx'](_0x5dc18b,_0x56e8d0,0x6);if(!_0x5aa30f)throw new Error(_0x32bd13[_0xb9accb(0x273)]);_0x356a94[_0xb9accb(0x20a)]=[];for(const _0x2d18a9 of _0x5aa30f){_0x356a94[_0xb9accb(0x20a)][_0xb9accb(0x21e)]({'user_id':_0x2d18a9?.[_0xb9accb(0x23e)],'nickname':_0x2d18a9?.[_0xb9accb(0x279)],'avatar':_0x2d18a9?.[_0xb9accb(0x240)],'desc':_0x2d18a9?.['description']});}}catch(_0x412344){_0x32bd13[_0xb9accb(0x210)](logDebug,_0x32bd13[_0xb9accb(0x273)],_0x412344);}return(_0x32bd13[_0xb9accb(0x25b)](_0x7aebc7,WebHonorType[_0xb9accb(0x261)])||_0x32bd13[_0xb9accb(0x225)](_0x7aebc7,WebHonorType['ALL']))&&(_0x356a94[_0xb9accb(0x206)]=[]),_0x356a94;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index e11e5c64..3f0b3490 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x24dd8c=_0x3f4a;(function(_0x4c51ef,_0xb58b8f){const _0x377090=_0x3f4a,_0x187dcc=_0x4c51ef();while(!![]){try{const _0x2d2215=parseInt(_0x377090(0x1b1))/0x1*(-parseInt(_0x377090(0x1c8))/0x2)+parseInt(_0x377090(0x20a))/0x3*(parseInt(_0x377090(0x1ee))/0x4)+parseInt(_0x377090(0x1d4))/0x5*(-parseInt(_0x377090(0x209))/0x6)+-parseInt(_0x377090(0x1ec))/0x7+-parseInt(_0x377090(0x1fb))/0x8*(-parseInt(_0x377090(0x165))/0x9)+parseInt(_0x377090(0x1b6))/0xa*(parseInt(_0x377090(0x173))/0xb)+parseInt(_0x377090(0x1de))/0xc*(parseInt(_0x377090(0x184))/0xd);if(_0x2d2215===_0xb58b8f)break;else _0x187dcc['push'](_0x187dcc['shift']());}catch(_0x47dc4a){_0x187dcc['push'](_0x187dcc['shift']());}}}(_0x1e28,0xdae0c));import _0x129bdd from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1f4662 from'node:path';import _0xbaa2fe from'node:os';import _0x1d6b83 from'node:fs';function _0x3f4a(_0x42ff47,_0x22aa50){const _0x1e28b3=_0x1e28();return _0x3f4a=function(_0x3f4afb,_0xeba0ad){_0x3f4afb=_0x3f4afb-0x15c;let _0x4a2ec4=_0x1e28b3[_0x3f4afb];return _0x4a2ec4;},_0x3f4a(_0x42ff47,_0x22aa50);}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 _0x178e9e from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x1e28(){const _0x2c26f5=['nflJV','bovTF','data:image/png;base64,','then','QUOLg','cOvKV','uid','EdRQR','NodeIGlobalAdapter','quickLoginWithUin','CZUrV','onRecvSysMsg','没有可快速登录的QQ号','name','qrLogin','OatZG','infos','sDxum','groupMemberList_MainWindow','getQuickLoginList','packet_received','ZNDvO','recallTime','2803DfFkkd','pxGoy','NodeIKernelMsgListener','uin','快速登录不可用','2823610eqgDXS','getLoginList','constructor','RHjOP','KVvQV','登录失败','iZteQ','fileLogLevel','QGtAy','msgId','onLoginSuccessFuncList','./NapCat/data','MNzBN','AcfuV','Zhrgt','NodeIKernelBuddyListener','oxiSS','lXShP','230uouGnh','memberCount','./.config/QQ','tipsTitle','update','loginListener','LLXfl','result','getBuddyService','IiTug','onUserLoggedIn','addListener','781190qfqiZB','base64','qrcodeUrl','NodeIQQNTWrapperEngine','engine','delete','onAddSendMsg','V1_WIN_NQ_','passwordLogin','hex','15639636VJyGvw','rWmdL','onMemberInfoChange','onGroupListUpdate','get','last_message_time','dataPathGlobal','onLineDev','init\x20failed\x20','bHryB','tKjbf','NodeIKernelLoginListener','util','catch','7526883otjYlp','assign','100qRAJCr','createMemberListScene','QXaGT','dopYl','lBkys','message_received','devUid','floor','fileLog','QjAoi','数据库初始化失败','djGxQ','NodeQQNTWrapperUtil','2386808bKzijd','\x20has\x20no\x20method\x20','XLcBa','startNT','dnbBf','hAMRB','set','now','onLoginSuccess','pngBase64QrcodeData','[KickedOffLine]\x20[','./nt_qq/global','initSession','ProfileListener','48mlWvum','127599MqWRcz','NodeIQQNTWrapperSession','getNTUserDataInfoConfig','BuddyListener','packet_sent','session','getBuddyList','iKZIN','resolve','yBeao','split','onQRCodeSessionFailed','initConfig','快速登录失败\x20','NodeIKernelProfileListener','lxFIZ','kCxNh','_GW_B','clientType','nrIId','loginService','NodeIKernelSessionListener','当前账号(','sceneId','xhTLK',')\x20在线状态变更','updateMsg','EfctW','27SGpbSq','EMyGv','map',')已登录,无法重复登录','iqQja','addKernelProfileListener','errMsg','getProfileService','pQfiG','initSession\x20failed','addKernelLoginListener','DamNo','digest','proxyHandler','11PQuhjD','tipsDesc','groupCode','initWithDeskTopConfig','getMsgService','message_sent','from','zEGjK','XGSJs','onRecvMsg','本账号数据/缓存目录:','onProfileDetailInfoChanged','140022008','onKickedOffLine','md5','push','getMsgByLongId','13yGBoXL','consoleLog','forEach','onSelfStatusChanged','wVoyE','MuxEd','read','tJGpD','dataPath','has','length','onSessionInitComplete','账号设备(','ixVwG','undefined','addKernelMsgListener','isQuickLogin','curVersion','getQRCodePicture','homedir','mkdirSync','consoleLogLevel'];_0x1e28=function(){return _0x2c26f5;};return _0x1e28();}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x24dd8c(0x20f)];[_0x24dd8c(0x1ea)];[_0x24dd8c(0x1d8)];[_0x24dd8c(0x1cd)];[_0x24dd8c(0x15d)];['onLoginSuccessFuncList']=[];[_0x24dd8c(0x172)]={'get'(target,prop,receiver){const _0xc736d=_0x24dd8c,zKvnrU={'POaJL':function(callee,param1){return callee(param1);},'sNVJE':function(x,y){return x===y;},'tJGpD':_0xc736d(0x192)};if(zKvnrU['sNVJE'](typeof target[prop],zKvnrU[_0xc736d(0x18b)]))return(...args)=>{const _0x14d8c2=_0xc736d;zKvnrU['POaJL'](logDebug,target[_0x14d8c2(0x1b8)]['name']+_0x14d8c2(0x1fc)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x12a821=_0x24dd8c,_0x6052d8={'pxGoy':function(_0x17f7cd,_0x4078ee){return _0x17f7cd+_0x4078ee;},'iqQja':function(_0x5d4237,_0x33fec5,_0x4305dc){return _0x5d4237(_0x33fec5,_0x4305dc);},'pQfiG':_0x12a821(0x1f8),'CZUrV':function(_0xd13a49,_0x216f7e){return _0xd13a49(_0x216f7e);},'sklOF':_0x12a821(0x17d),'EfctW':_0x12a821(0x1bb),'XGSJs':function(_0xf4bba2,_0x557e14){return _0xf4bba2==_0x557e14;},'nflJV':function(_0x52f809,_0x5c86df){return _0x52f809==_0x5c86df;}};this[_0x12a821(0x1d8)]=new _0x129bdd[(_0x12a821(0x1d7))](),this[_0x12a821(0x1ea)]=new _0x129bdd[(_0x12a821(0x1fa))](),this[_0x12a821(0x15d)]=new _0x129bdd['NodeIKernelLoginService'](),this[_0x12a821(0x20f)]=new _0x129bdd[(_0x12a821(0x20b))](),this[_0x12a821(0x1cd)]=new LoginListener(),this[_0x12a821(0x1cd)][_0x12a821(0x1d2)]=_0x26f299=>{const _0x144897=_0x12a821;logError(_0x6052d8[_0x144897(0x1b2)](_0x144897(0x15f)+_0x26f299,_0x144897(0x168)));},this[_0x12a821(0x1cd)]['onQRCodeLoginSucceed']=_0x2cc90f=>{const _0x384e6a=_0x12a821,_0x517171={'wVoyE':function(_0xfc5489,_0x1c59e6,_0x250361){const _0x59b813=_0x3f4a;return _0x6052d8[_0x59b813(0x169)](_0xfc5489,_0x1c59e6,_0x250361);},'tKjbf':_0x6052d8[_0x384e6a(0x16d)],'kCxNh':function(_0x4d1948,_0x13be77,_0x13e2aa){return _0x6052d8['iqQja'](_0x4d1948,_0x13be77,_0x13e2aa);},'ZNDvO':function(_0x136fd4,_0x192292,_0x3b6ea7){const _0x1654cb=_0x384e6a;return _0x6052d8[_0x1654cb(0x169)](_0x136fd4,_0x192292,_0x3b6ea7);},'gvIbb':function(_0x551c6f,_0x1a35a8){const _0x292d7=_0x384e6a;return _0x6052d8[_0x292d7(0x1a4)](_0x551c6f,_0x1a35a8);},'lXShP':function(_0x946cb0,_0x43ec79){return _0x6052d8['CZUrV'](_0x946cb0,_0x43ec79);},'EMyGv':function(_0x6a5d54,_0x5dd258,_0x2f9e5b){const _0x1b0528=_0x384e6a;return _0x6052d8[_0x1b0528(0x169)](_0x6a5d54,_0x5dd258,_0x2f9e5b);},'nrIId':_0x6052d8['sklOF'],'DamNo':function(_0x3a32fe,_0x383bae,_0x284a4a){return _0x6052d8['iqQja'](_0x3a32fe,_0x383bae,_0x284a4a);},'dnbBf':_0x384e6a(0x16e)};this[_0x384e6a(0x207)](_0x2cc90f[_0x384e6a(0x1b4)],_0x2cc90f[_0x384e6a(0x1a0)])[_0x384e6a(0x19d)](_0x535ae0=>{const _0x23a9f3=_0x384e6a,_0x340915={'AcfuV':function(_0x1d06dd,_0x4f036f,_0x5c2036){const _0x198271=_0x3f4a;return _0x517171[_0x198271(0x21a)](_0x1d06dd,_0x4f036f,_0x5c2036);}};selfInfo[_0x23a9f3(0x1b4)]=_0x2cc90f[_0x23a9f3(0x1b4)],selfInfo[_0x23a9f3(0x1a0)]=_0x2cc90f[_0x23a9f3(0x1a0)],napCatConfig[_0x23a9f3(0x18a)](),_0x517171[_0x23a9f3(0x1af)](setLogLevel,napCatConfig[_0x23a9f3(0x1bd)],napCatConfig[_0x23a9f3(0x199)]),enableFileLog(napCatConfig[_0x23a9f3(0x1f6)]),_0x517171['gvIbb'](enableConsoleLog,napCatConfig[_0x23a9f3(0x185)]),_0x517171[_0x23a9f3(0x1c7)](setLogSelfInfo,selfInfo);const _0x4991d2=_0x1f4662[_0x23a9f3(0x212)](this[_0x23a9f3(0x18c)],_0x23a9f3(0x1c1));_0x1d6b83[_0x23a9f3(0x198)](_0x4991d2,{'recursive':!![]}),_0x517171[_0x23a9f3(0x166)](logDebug,_0x517171[_0x23a9f3(0x15c)],_0x4991d2),dbUtil['init'](_0x1f4662[_0x23a9f3(0x212)](_0x4991d2,'./'+_0x2cc90f[_0x23a9f3(0x1b4)]+'-v2.db'))['then'](()=>{const _0xbde1b0=_0x23a9f3,_0x36d73d={'KVvQV':function(_0x5d428a,_0x320528,_0x1d1a10){const _0x3224d2=_0x3f4a;return _0x340915[_0x3224d2(0x1c3)](_0x5d428a,_0x320528,_0x1d1a10);}};this['initDataListener'](),this[_0xbde1b0(0x1c0)][_0xbde1b0(0x167)](_0x43f754=>{const _0x1f2bd8={'XLcBa':function(_0x42375e,_0x55d02a,_0x5577ee){const _0x4ba62c=_0x3f4a;return _0x36d73d[_0x4ba62c(0x1ba)](_0x42375e,_0x55d02a,_0x5577ee);},'lBkys':function(_0xce211f,_0x643071){return _0xce211f instanceof _0x643071;}};new Promise((_0x177a3e,_0x1b3ee9)=>{const _0x2ce962=_0x3f4a,_0x4a1cae=_0x1f2bd8[_0x2ce962(0x1fd)](_0x43f754,_0x2cc90f[_0x2ce962(0x1b4)],_0x2cc90f[_0x2ce962(0x1a0)]);_0x1f2bd8[_0x2ce962(0x1f2)](_0x4a1cae,Promise)&&_0x4a1cae[_0x2ce962(0x19d)](_0x177a3e)[_0x2ce962(0x1eb)](_0x1b3ee9);})['then']();});})[_0x23a9f3(0x1eb)](_0x3ab969=>{const _0x2b395e=_0x23a9f3;_0x517171[_0x2b395e(0x188)](logError,_0x517171[_0x2b395e(0x1e8)],_0x3ab969);});})['catch'](_0x21e8ed=>{const _0xa0a2e7=_0x384e6a;_0x517171[_0xa0a2e7(0x170)](logError,_0x517171[_0xa0a2e7(0x1ff)],_0x21e8ed);throw new Error('启动失败:\x20'+JSON['stringify'](_0x21e8ed));});},this[_0x12a821(0x1cd)][_0x12a821(0x215)]=(_0x48f1a3,_0x3861df,_0x1baacd)=>{const _0x119172=_0x12a821;_0x6052d8[_0x119172(0x169)](logError,_0x6052d8['EfctW'],_0x1baacd),_0x6052d8[_0x119172(0x17b)](_0x48f1a3,0x1)&&_0x6052d8[_0x119172(0x19a)](_0x3861df,0x3)&&this[_0x119172(0x15d)][_0x119172(0x196)]();},this[_0x12a821(0x1cd)]['onLoginFailed']=_0x1c1e2e=>{const _0x177d03=_0x12a821;_0x6052d8['iqQja'](logError,_0x6052d8[_0x177d03(0x164)],_0x1c1e2e);},this[_0x12a821(0x1cd)]=new Proxy(this[_0x12a821(0x1cd)],this['proxyHandler']),this[_0x12a821(0x15d)][_0x12a821(0x16f)](new _0x129bdd[(_0x12a821(0x1e9))](this['loginListener'])),this[_0x12a821(0x216)]();}get[_0x24dd8c(0x18c)](){const _0x114864=_0x24dd8c;let _0xa336b0=this[_0x114864(0x1ea)][_0x114864(0x20c)]();return!_0xa336b0&&(_0xa336b0=_0x1f4662['resolve'](_0xbaa2fe[_0x114864(0x197)](),_0x114864(0x1ca)),_0x1d6b83[_0x114864(0x198)](_0xa336b0,{'recursive':!![]})),_0xa336b0;}get[_0x24dd8c(0x1e4)](){const _0x36376a=_0x24dd8c,_0x32cad9={'cOvKV':_0x36376a(0x206)};return _0x1f4662[_0x36376a(0x212)](this['dataPath'],_0x32cad9[_0x36376a(0x19f)]);}[_0x24dd8c(0x216)](){const _0x125290=_0x24dd8c,_0x40d3c3={'bovTF':'Windows\x2010\x20Pro'};this['engine'][_0x125290(0x176)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x125290(0x195)],'os_version':_0x40d3c3[_0x125290(0x19b)],'use_xlog':!![],'qua':_0x125290(0x1db)+qqVersionConfigInfo[_0x125290(0x195)]['replace']('-','_')+_0x125290(0x21b),'global_path_config':{'desktopGlobalPath':this[_0x125290(0x1e4)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x129bdd[(_0x125290(0x1a2))](new GlobalAdapter())),this['loginService'][_0x125290(0x216)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x125290(0x195)],'hostName':hostname});}['initSession'](_0x43aedb,_0x2cd3d1){const _0x4c3476={'QjAoi':function(_0x267fda,_0x62d78b){return _0x267fda===_0x62d78b;},'QUOLg':function(_0x4d11a3,_0x49719c){return _0x4d11a3(_0x49719c);},'dopYl':function(_0x3e0496,_0x543cab,_0x53ec6e,_0x3d6551){return _0x3e0496(_0x543cab,_0x53ec6e,_0x3d6551);},'iKZIN':function(_0x5dfa00,_0x43ea4c){return _0x5dfa00+_0x43ea4c;}};return new Promise((_0x3ef105,_0x21dd49)=>{const _0x448ddf=_0x3f4a,_0x511863=_0x4c3476[_0x448ddf(0x1f1)](genSessionConfig,_0x43aedb,_0x2cd3d1,this[_0x448ddf(0x18c)]),_0x2f00bb=new SessionListener();_0x2f00bb[_0x448ddf(0x18f)]=_0x1b6074=>{const _0x2f1c4f=_0x448ddf;if(_0x4c3476[_0x2f1c4f(0x1f7)](_0x1b6074,0x0))return _0x4c3476['QUOLg'](_0x3ef105,0x0);_0x4c3476[_0x2f1c4f(0x19e)](_0x21dd49,_0x1b6074);},this[_0x448ddf(0x20f)]['init'](_0x511863,new _0x129bdd['NodeIDependsAdapter'](new DependsAdapter()),new _0x129bdd['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x129bdd[(_0x448ddf(0x15e))](_0x2f00bb));try{this[_0x448ddf(0x20f)]['startNT'](0x0);}catch(_0x47640c){try{this[_0x448ddf(0x20f)][_0x448ddf(0x1fe)]();}catch(_0x3dc50a){_0x4c3476[_0x448ddf(0x19e)](_0x21dd49,_0x4c3476[_0x448ddf(0x211)](_0x448ddf(0x1e6),_0x3dc50a));}}});}['initDataListener'](){const _0x4ca3b6=_0x24dd8c,_0x5866cc={'iZteQ':function(_0x365900,_0x126b29){return _0x365900===_0x126b29;},'lxFIZ':_0x4ca3b6(0x190),'hAMRB':_0x4ca3b6(0x162),'QGtAy':function(_0x5665f0,_0x4e9874){return _0x5665f0(_0x4e9874);},'EdRQR':function(_0x3a4c96,_0x24f6bf){return _0x3a4c96+_0x24f6bf;},'LQbAR':function(_0x41d4ef,_0x3bada7){return _0x41d4ef+_0x3bada7;},'aOyyv':function(_0x212a24,_0x581233){return _0x212a24+_0x581233;},'FrSkE':function(_0x2f0300,_0x46c2f7){return _0x2f0300/_0x46c2f7;},'Zhrgt':function(_0x42b538,_0x45c4eb){return _0x42b538===_0x45c4eb;},'EARbB':_0x4ca3b6(0x1ac),'sxmlP':function(_0x4d897c,_0x507ed8,_0x2611c4){return _0x4d897c(_0x507ed8,_0x2611c4);}},_0x2790ef=new MsgListener();_0x2790ef[_0x4ca3b6(0x1e5)]=_0x2e336f=>{const _0x66591e=_0x4ca3b6,_0x298bd6={'oxiSS':function(_0x2fec82,_0x496c06){return _0x5866cc['iZteQ'](_0x2fec82,_0x496c06);},'MNzBN':function(_0x456a8f,_0x1178c6){return _0x456a8f+_0x1178c6;},'LLXfl':_0x5866cc[_0x66591e(0x219)],'ntIKq':_0x5866cc[_0x66591e(0x200)]};_0x2e336f[_0x66591e(0x167)](_0x36dee2=>{const _0x38a1b7=_0x66591e;_0x298bd6[_0x38a1b7(0x1c6)](_0x36dee2[_0x38a1b7(0x21c)],0x2)&&log(_0x298bd6['MNzBN'](_0x298bd6[_0x38a1b7(0x1c2)](_0x298bd6[_0x38a1b7(0x1ce)],_0x36dee2[_0x38a1b7(0x1f4)]),_0x298bd6['ntIKq']));});},_0x2790ef[_0x4ca3b6(0x180)]=_0x1028b0=>{const _0x51d65b=_0x4ca3b6;_0x5866cc[_0x51d65b(0x1be)](log,_0x5866cc[_0x51d65b(0x1a1)](_0x5866cc['LQbAR'](_0x5866cc['aOyyv'](_0x51d65b(0x205),_0x1028b0[_0x51d65b(0x1cb)]),']\x20'),_0x1028b0[_0x51d65b(0x174)]));},_0x2790ef['onMsgInfoListUpdate']=_0x260a63=>{const _0x1d5d26=_0x4ca3b6;stat[_0x1d5d26(0x1ae)]+=0x1,_0x260a63['map'](_0xf3e039=>{const _0x4d8b06=_0x1d5d26;_0xf3e039[_0x4d8b06(0x1b0)]==='0'?dbUtil['addMsg'](_0xf3e039)[_0x4d8b06(0x19d)]()[_0x4d8b06(0x1eb)]():dbUtil[_0x4d8b06(0x183)](_0xf3e039[_0x4d8b06(0x1bf)])['then'](_0x50bc80=>{const _0x1a6db4=_0x4d8b06;_0x50bc80&&(_0x50bc80[_0x1a6db4(0x1b0)]=_0xf3e039[_0x1a6db4(0x1b0)],dbUtil[_0x1a6db4(0x163)](_0x50bc80)[_0x1a6db4(0x19d)]());});});},_0x2790ef[_0x4ca3b6(0x1da)]=_0x18ab88=>{const _0x3f78c8=_0x4ca3b6;stat[_0x3f78c8(0x20e)]+=0x1,stat[_0x3f78c8(0x178)]+=0x1,stat[_0x3f78c8(0x1e3)]=Math[_0x3f78c8(0x1f5)](_0x5866cc['FrSkE'](Date[_0x3f78c8(0x202)](),0x3e8));},_0x2790ef[_0x4ca3b6(0x17c)]=_0x2a887e=>{const _0xb59441=_0x4ca3b6;stat[_0xb59441(0x1ae)]+=0x1,stat[_0xb59441(0x1f3)]+=_0x2a887e[_0xb59441(0x18e)],stat['last_message_time']=Math['floor'](Date['now']()/0x3e8);},_0x2790ef[_0x4ca3b6(0x1a5)]=(..._0x2436c8)=>{const _0x41030b=_0x4ca3b6;stat[_0x41030b(0x1ae)]+=0x1;},this[_0x4ca3b6(0x1d3)](_0x2790ef);const _0x42c4a6=new BuddyListener();_0x42c4a6['onBuddyListChange']=_0x365f53=>{const _0x181615=_0x4ca3b6;rawFriends[_0x181615(0x18e)]=0x0,rawFriends[_0x181615(0x182)](..._0x365f53);for(const _0x30ba03 of _0x365f53){for(const _0xcb7bd1 of _0x30ba03['buddyList']){const _0x3df9b0=friends['get'](_0xcb7bd1[_0x181615(0x1a0)]);uid2UinMap[_0xcb7bd1['uid']]=_0xcb7bd1[_0x181615(0x1b4)],_0x3df9b0?Object['assign'](_0x3df9b0,_0xcb7bd1):friends[_0x181615(0x201)](_0xcb7bd1[_0x181615(0x1a0)],_0xcb7bd1);}}},this[_0x4ca3b6(0x1d3)](_0x42c4a6),this[_0x4ca3b6(0x20f)]['getBuddyService']()[_0x4ca3b6(0x210)](!![])[_0x4ca3b6(0x19d)](_0x334d05=>{});const _0xd08df8=new ProfileListener();_0xd08df8[_0x4ca3b6(0x17e)]=_0x41f963=>{const _0x4d55d8=_0x4ca3b6;_0x5866cc[_0x4d55d8(0x1bc)](_0x41f963[_0x4d55d8(0x1a0)],selfInfo[_0x4d55d8(0x1a0)])&&Object[_0x4d55d8(0x1ed)](selfInfo,_0x41f963);},_0xd08df8[_0x4ca3b6(0x187)]=_0x425dfa=>{},this[_0x4ca3b6(0x1d3)](_0xd08df8);const _0x526918=new GroupListener();_0x526918[_0x4ca3b6(0x1e1)]=(_0x21238f,_0x3a01c4)=>{const _0x3265d3=_0x4ca3b6;_0x3a01c4[_0x3265d3(0x167)](_0x43afb5=>{const _0x3f8c2f=_0x3265d3,_0x3c271e=groups['get'](_0x43afb5[_0x3f8c2f(0x175)]);_0x3c271e&&_0x5866cc['Zhrgt'](_0x43afb5[_0x3f8c2f(0x1c9)],_0x3c271e[_0x3f8c2f(0x1c9)])?Object[_0x3f8c2f(0x1ed)](_0x3c271e,_0x43afb5):groups[_0x3f8c2f(0x201)](_0x43afb5[_0x3f8c2f(0x175)],_0x43afb5);const _0x4eaa06=this[_0x3f8c2f(0x20f)]['getGroupService']()[_0x3f8c2f(0x1ef)](_0x43afb5[_0x3f8c2f(0x175)],_0x5866cc['EARbB']);this['session']['getGroupService']()['getNextMemberList'](_0x4eaa06,undefined,0xbb8)[_0x3f8c2f(0x19d)](_0x2ab901=>{});});},_0x526918['onMemberListChange']=_0x11a909=>{const _0x1c754c=_0x4ca3b6,_0x3bb09f=_0x11a909[_0x1c754c(0x160)][_0x1c754c(0x214)]('_')[0x0];if(groupMembers[_0x1c754c(0x18d)](_0x3bb09f)){const _0x58cbaa=groupMembers['get'](_0x3bb09f);_0x11a909[_0x1c754c(0x1aa)][_0x1c754c(0x186)]((_0x19004c,_0x27eae9)=>{const _0x30f226=_0x1c754c,_0xb40119=_0x58cbaa[_0x30f226(0x1e2)](_0x27eae9);_0xb40119?Object[_0x30f226(0x1ed)](_0xb40119,_0x19004c):_0x58cbaa['set'](_0x27eae9,_0x19004c);});}else groupMembers[_0x1c754c(0x201)](_0x3bb09f,_0x11a909['infos']);},_0x526918[_0x4ca3b6(0x1e0)]=(_0x197070,_0xea5c80,_0x12a126)=>{const _0x157eb2=_0x4ca3b6;_0x5866cc[_0x157eb2(0x1c4)](_0xea5c80,0x0)&&_0x12a126[_0x157eb2(0x1e2)](selfInfo[_0x157eb2(0x1a0)])&&_0x12a126[_0x157eb2(0x1e2)](selfInfo[_0x157eb2(0x1a0)])?.['isDelete']&&_0x5866cc['sxmlP'](setTimeout,()=>{const _0x331197=_0x157eb2;groups[_0x331197(0x1d9)](_0x197070);},0x1388);_0x12a126[_0x157eb2(0x186)]((_0x1310a5,_0x52530d)=>{const _0x473007=_0x157eb2;uid2UinMap[_0x52530d]=_0x1310a5[_0x473007(0x1b4)];});const _0x4ad1db=groupMembers['get'](_0x197070);_0x4ad1db?_0x12a126['forEach']((_0x2e413b,_0x34e297)=>{const _0x76776d=_0x157eb2,_0x328792=_0x4ad1db[_0x76776d(0x1e2)](_0x34e297);_0x328792?Object[_0x76776d(0x1ed)](_0x328792,_0x2e413b):_0x4ad1db[_0x76776d(0x201)](_0x34e297,_0x2e413b);}):groupMembers[_0x157eb2(0x201)](_0x197070,_0x12a126);},this[_0x4ca3b6(0x1d3)](_0x526918);}['addListener'](_0x2b2bc6){const _0x333866=_0x24dd8c,_0x595f24={'rWmdL':_0x333866(0x20d),'JoEFY':'GroupListener','MuxEd':'MsgListener','IiTug':_0x333866(0x208)};_0x2b2bc6=new Proxy(_0x2b2bc6,this['proxyHandler']);switch(_0x2b2bc6['constructor'][_0x333866(0x1a7)]){case _0x595f24[_0x333866(0x1df)]:{return this[_0x333866(0x20f)][_0x333866(0x1d0)]()['addKernelBuddyListener'](new _0x129bdd[(_0x333866(0x1c5))](_0x2b2bc6));}case _0x595f24['JoEFY']:{return this[_0x333866(0x20f)]['getGroupService']()['addKernelGroupListener'](new _0x129bdd['NodeIKernelGroupListener'](_0x2b2bc6));}case _0x595f24[_0x333866(0x189)]:{return this[_0x333866(0x20f)][_0x333866(0x177)]()[_0x333866(0x193)](new _0x129bdd[(_0x333866(0x1b3))](_0x2b2bc6));}case _0x595f24[_0x333866(0x1d1)]:{return this['session'][_0x333866(0x16c)]()[_0x333866(0x16a)](new _0x129bdd[(_0x333866(0x218))](_0x2b2bc6));}default:return-0x1;}}[_0x24dd8c(0x203)](_0x298854){const _0x91e9b6=_0x24dd8c;this['onLoginSuccessFuncList'][_0x91e9b6(0x182)](_0x298854);}async['quickLogin'](_0x2335a6){const _0x115aea=_0x24dd8c,_0x29fa9e={'ixVwG':function(_0x55066b,_0x1cf0c0){return _0x55066b!==_0x1cf0c0;},'bHryB':_0x115aea(0x1a6),'sDxum':function(_0xb3d7e3,_0x328eef){return _0xb3d7e3(_0x328eef);},'QXaGT':function(_0x3776aa,_0x4394c7){return _0x3776aa+_0x4394c7;},'yBeao':_0x115aea(0x217)},_0x1d5d87=await this[_0x115aea(0x15d)]['getLoginList']();if(_0x29fa9e[_0x115aea(0x191)](_0x1d5d87[_0x115aea(0x1cf)],0x0))throw new Error(_0x29fa9e[_0x115aea(0x1e7)]);const _0x73fb40=_0x1d5d87['LocalLoginInfoList']['find'](_0x351e43=>_0x351e43[_0x115aea(0x1b4)]===_0x2335a6);if(!_0x73fb40||!_0x73fb40?.[_0x115aea(0x194)])throw new Error(_0x2335a6+_0x115aea(0x1b5));await _0x29fa9e[_0x115aea(0x1ab)](sleep,0x3e8);const _0x53635c=await this[_0x115aea(0x15d)][_0x115aea(0x1a3)](_0x2335a6);if(!_0x53635c[_0x115aea(0x1cf)])throw new Error(_0x29fa9e[_0x115aea(0x1f0)](_0x29fa9e[_0x115aea(0x213)],_0x53635c['loginErrorInfo'][_0x115aea(0x16b)]));return _0x53635c;}async[_0x24dd8c(0x1a8)](_0x158c0c){const _0x514da0=_0x24dd8c,_0x149467={'djGxQ':_0x514da0(0x19c),'RHjOP':function(_0x56a555,_0x13c4b6,_0x560d72,_0x5eee07){return _0x56a555(_0x13c4b6,_0x560d72,_0x5eee07);}};return new Promise((_0x49d193,_0x20ff09)=>{const _0x1df1d2=_0x514da0;this[_0x1df1d2(0x1cd)]['onQRCodeGetPicture']=_0x3fd1a6=>{const _0x4e9fee=_0x1df1d2,_0x559390=_0x3fd1a6['pngBase64QrcodeData'][_0x4e9fee(0x214)](_0x149467[_0x4e9fee(0x1f9)])[0x1],_0x1d860e=Buffer[_0x4e9fee(0x179)](_0x559390,_0x4e9fee(0x1d5));_0x149467[_0x4e9fee(0x1b9)](_0x158c0c,_0x3fd1a6[_0x4e9fee(0x1d6)],_0x3fd1a6[_0x4e9fee(0x204)],_0x1d860e);},this[_0x1df1d2(0x15d)][_0x1df1d2(0x196)]();});}async['passwordLogin'](_0x261718,_0x18b805,_0x22c272,_0x347a8e,_0x522347){const _0x100e4f=_0x24dd8c,_0x58d854={'VcTKu':_0x100e4f(0x181),'zEGjK':_0x100e4f(0x1dd),'OatZG':function(_0x536664,_0x110fc7){return _0x536664||_0x110fc7;},'xhTLK':function(_0x1684a6,_0x4aafb8){return _0x1684a6(_0x4aafb8);},'ztiJL':'140022013'},_0x44d8ef=_0x178e9e['createHash'](_0x58d854['VcTKu'])[_0x100e4f(0x1cc)](_0x18b805)[_0x100e4f(0x171)](_0x58d854[_0x100e4f(0x17a)]),_0x43be1a={'uin':_0x261718,'passwordMd5':_0x44d8ef,'step':_0x22c272&&_0x347a8e&&_0x522347?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x58d854[_0x100e4f(0x1a9)](_0x22c272,''),'proofWaterRand':_0x347a8e||'','proofWaterSid':_0x58d854[_0x100e4f(0x1a9)](_0x522347,'')};await this[_0x100e4f(0x15d)]['getLoginList'](),await _0x58d854[_0x100e4f(0x161)](sleep,0x3e8);const _0x15d118=await this[_0x100e4f(0x15d)][_0x100e4f(0x1dc)](_0x43be1a);switch(_0x15d118['result']){case'0':{break;}case _0x100e4f(0x17f):{break;}case'4':case _0x58d854['ztiJL']:default:}}async[_0x24dd8c(0x1ad)](){const _0x2c8784=_0x24dd8c,_0x43c8bc=await this[_0x2c8784(0x15d)][_0x2c8784(0x1b7)]();return _0x43c8bc;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x4e661f=_0x5bd4;(function(_0x2d4590,_0x19d872){const _0x35cb14=_0x5bd4,_0x582353=_0x2d4590();while(!![]){try{const _0x4dc31c=-parseInt(_0x35cb14(0x211))/0x1*(-parseInt(_0x35cb14(0x205))/0x2)+-parseInt(_0x35cb14(0x15e))/0x3*(-parseInt(_0x35cb14(0x17f))/0x4)+parseInt(_0x35cb14(0x1c5))/0x5+-parseInt(_0x35cb14(0x162))/0x6*(-parseInt(_0x35cb14(0x19b))/0x7)+-parseInt(_0x35cb14(0x1db))/0x8+parseInt(_0x35cb14(0x204))/0x9+-parseInt(_0x35cb14(0x1c9))/0xa;if(_0x4dc31c===_0x19d872)break;else _0x582353['push'](_0x582353['shift']());}catch(_0x440dac){_0x582353['push'](_0x582353['shift']());}}}(_0x2e4d,0x198b3));import _0x2beeba from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x30471a from'node:path';import _0x5be5ac from'node:os';import _0x42e82e from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5bd4(_0x458082,_0x29f580){const _0x2e4dd5=_0x2e4d();return _0x5bd4=function(_0x5bd422,_0x4fd5a3){_0x5bd422=_0x5bd422-0x15a;let _0x44e620=_0x2e4dd5[_0x5bd422];return _0x44e620;},_0x5bd4(_0x458082,_0x29f580);}import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x2e4d(){const _0x53327c=['createHash','quickLoginWithUin','NBmiR','engine','message_sent','memberCount','onRecvSysMsg','from','addKernelBuddyListener','result','当前账号(','catch','buddyList','353544qHlqEM','onLoginSuccessFuncList','packet_received','NodeQQNTWrapperUtil','dataPathGlobal','createMemberListScene','UfpAG','util','[KickedOffLine]\x20[','sceneId','NodeIKernelGroupListener','update','NodeIQQNTWrapperSession','addKernelGroupListener','initDataListener','hex','GroupListener','onQRCodeLoginSucceed','uin','devUid','getNextMemberList','map','KlHvX','loginService',')已登录,无法重复登录','qpMjH','startNT','then','getQuickLoginList','NodeIKernelMsgListener','mkdirSync','XCxQD','uid','floor','MsgListener','push','getBuddyList','Zrfsh','initSession\x20failed','init','has','1291923hbAyaE','2mwwfCR','RqbfE','now','tipsDesc','addListener','tllWZ','NYTOq','awoMv','EBWEv','getProfileService','loginListener','-v2.db','137635nDZPlD','getMsgService','digest','getLoginList','140022008','NodeIGlobalAdapter','34458zooAFf','onSelfStatusChanged','Proec','yHQqv','711006KsaFvC','140022013','initSession','BJYHt','curVersion','NQHXx','get','_GW_B','NodeIDispatcherAdapter','CQciT','phIqg','length','dataPath','onProfileDetailInfoChanged','登录失败','quickLogin','xbIQf','NodeIKernelBuddyListener','onMsgInfoListUpdate','data:image/png;base64,','recallTime','updateMsg','saNih','consoleLogLevel','BuddyListener','find','oAGCY','infos','set','60DDJoUt','consoleLog','proxyHandler','loginErrorInfo','initWithDeskTopConfig','base64','BrYNE','name','QzSgz','forEach','Vxtux','msgId','md5','cmxxw','passwordLogin','Vfldz','assign','delete','mnHST','isQuickLogin','tipsTitle','cJhsI','getQRCodePicture','数据库初始化失败','./nt_qq/global','pngBase64QrcodeData','快速登录不可用','message_received','7taPUdI','zQXVd','isDelete','onRecvMsg','onLineDev','hGNvP','resolve','groupCode','VngWD','qrLogin','NodeIDependsAdapter','zKYJz','getMsgByLongId','onQRCodeSessionFailed','last_message_time','onGroupListUpdate','ViSSo','replace','addMsg','jdCzd','fileLog','addKernelProfileListener','LjHRh','mQvcE','packet_sent','split','session','stringify','onAddSendMsg','fileLogLevel','read','undefined','zAomt','onLoginFailed','clientType','LWNQr','IJZPa','initConfig','constructor','uLQKh','HJMPE','qrcodeUrl','476305WrqYWO','LocalLoginInfoList','FfXCH','NodeIKernelProfileListener','5184140AiAsrK','homedir','getGroupService','getBuddyService','fXtZP'];_0x2e4d=function(){return _0x53327c;};return _0x2e4d();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x24e44c from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x4e661f(0x1b5)];[_0x4e661f(0x1e2)];[_0x4e661f(0x1d1)];['loginListener'];[_0x4e661f(0x1f2)];[_0x4e661f(0x1dc)]=[];[_0x4e661f(0x181)]={'get'(target,prop,receiver){const _0x12f658=_0x4e661f,fKpFtW={'cmxxw':function(x,y){return x===y;},'KlHvX':_0x12f658(0x1ba)};if(fKpFtW[_0x12f658(0x18c)](typeof target[prop],fKpFtW[_0x12f658(0x1f1)]))return(...args)=>{const _0x4db6ed=_0x12f658;logDebug(target['constructor'][_0x4db6ed(0x186)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x12f658(0x168)](target,prop,receiver);}};constructor(){const _0x40fd3f=_0x4e661f,_0x2cbbfc={'FfXCH':_0x40fd3f(0x1d8),'hGNvP':_0x40fd3f(0x1f3),'mnHST':function(_0x1a1695,_0x50ddc4){return _0x1a1695 instanceof _0x50ddc4;},'AzwdN':function(_0x1cb444,_0x3d9c5b,_0x4d792a){return _0x1cb444(_0x3d9c5b,_0x4d792a);},'LsfPX':'./NapCat/data','LWNQr':function(_0x32361b,_0x31d085,_0x1e7957){return _0x32361b(_0x31d085,_0x1e7957);},'QzSgz':'本账号数据/缓存目录:','XCxQD':_0x40fd3f(0x201),'Proec':_0x40fd3f(0x170),'LjHRh':function(_0x2e1963,_0x226b5b){return _0x2e1963==_0x226b5b;},'bYRtv':function(_0x577b9b,_0x34b04e,_0x999605){return _0x577b9b(_0x34b04e,_0x999605);}};this[_0x40fd3f(0x1d1)]=new _0x2beeba['NodeIQQNTWrapperEngine'](),this[_0x40fd3f(0x1e2)]=new _0x2beeba[(_0x40fd3f(0x1de))](),this['loginService']=new _0x2beeba['NodeIKernelLoginService'](),this[_0x40fd3f(0x1b5)]=new _0x2beeba[(_0x40fd3f(0x1e7))](),this['loginListener']=new LoginListener(),this[_0x40fd3f(0x20f)]['onUserLoggedIn']=_0x64ecfd=>{const _0x4085e4=_0x40fd3f;logError(_0x2cbbfc[_0x4085e4(0x1c7)]+_0x64ecfd+_0x2cbbfc[_0x4085e4(0x1a0)]);},this[_0x40fd3f(0x20f)][_0x40fd3f(0x1ec)]=_0x9a80e1=>{const _0x4204c9=_0x40fd3f,_0x30b477={'awoMv':function(_0x310861,_0x5bd964,_0x182262){return _0x2cbbfc['AzwdN'](_0x310861,_0x5bd964,_0x182262);},'DvpKl':_0x4204c9(0x196),'cgVka':_0x2cbbfc[_0x4204c9(0x1fa)]};this['initSession'](_0x9a80e1[_0x4204c9(0x1ed)],_0x9a80e1['uid'])['then'](_0xea0505=>{const _0x15e2e2=_0x4204c9,_0x2d90a6={'yHQqv':function(_0x42d5d0,_0x5147cd,_0x2180bb){return _0x42d5d0(_0x5147cd,_0x2180bb);},'tllWZ':function(_0x5cb744,_0x17691c){const _0xfda61c=_0x5bd4;return _0x2cbbfc[_0xfda61c(0x191)](_0x5cb744,_0x17691c);}};selfInfo[_0x15e2e2(0x1ed)]=_0x9a80e1[_0x15e2e2(0x1ed)],selfInfo[_0x15e2e2(0x1fb)]=_0x9a80e1['uid'],napCatConfig[_0x15e2e2(0x1b9)](),_0x2cbbfc['AzwdN'](setLogLevel,napCatConfig[_0x15e2e2(0x1b8)],napCatConfig[_0x15e2e2(0x179)]),enableFileLog(napCatConfig[_0x15e2e2(0x1af)]),enableConsoleLog(napCatConfig[_0x15e2e2(0x180)]),setLogSelfInfo(selfInfo);const _0x35f905=_0x30471a[_0x15e2e2(0x1a1)](this['dataPath'],_0x2cbbfc['LsfPX']);_0x42e82e[_0x15e2e2(0x1f9)](_0x35f905,{'recursive':!![]}),_0x2cbbfc[_0x15e2e2(0x1be)](logDebug,_0x2cbbfc[_0x15e2e2(0x187)],_0x35f905),dbUtil['init'](_0x30471a[_0x15e2e2(0x1a1)](_0x35f905,'./'+_0x9a80e1[_0x15e2e2(0x1ed)]+_0x15e2e2(0x210)))[_0x15e2e2(0x1f6)](()=>{const _0x238524=_0x15e2e2,_0xd28811={'EBWEv':function(_0x1c9172,_0x3c1b10,_0x461f5e){const _0x2c38c5=_0x5bd4;return _0x2d90a6[_0x2c38c5(0x161)](_0x1c9172,_0x3c1b10,_0x461f5e);},'BrYNE':function(_0x2066f4,_0x593873){const _0x26750c=_0x5bd4;return _0x2d90a6[_0x26750c(0x20a)](_0x2066f4,_0x593873);}};this['initDataListener'](),this[_0x238524(0x1dc)][_0x238524(0x1f0)](_0xf6dd6e=>{const _0x8269b7=_0x238524,_0x411a31={'phIqg':function(_0x215ffa,_0x2cbfc9,_0xee4370){const _0x300377=_0x5bd4;return _0xd28811[_0x300377(0x20d)](_0x215ffa,_0x2cbfc9,_0xee4370);},'Uawqo':function(_0x57910e,_0x284cfa){const _0x4ed983=_0x5bd4;return _0xd28811[_0x4ed983(0x185)](_0x57910e,_0x284cfa);}};new Promise((_0x55574c,_0x574cfe)=>{const _0x3ed674=_0x5bd4,_0x57909a=_0x411a31[_0x3ed674(0x16c)](_0xf6dd6e,_0x9a80e1[_0x3ed674(0x1ed)],_0x9a80e1[_0x3ed674(0x1fb)]);_0x411a31['Uawqo'](_0x57909a,Promise)&&_0x57909a[_0x3ed674(0x1f6)](_0x55574c)[_0x3ed674(0x1d9)](_0x574cfe);})[_0x8269b7(0x1f6)]();});})[_0x15e2e2(0x1d9)](_0x36ff5a=>{const _0x4494b9=_0x15e2e2;_0x30b477[_0x4494b9(0x20c)](logError,_0x30b477['DvpKl'],_0x36ff5a);});})[_0x4204c9(0x1d9)](_0x1ab4ca=>{const _0x4f0f59=_0x4204c9;logError(_0x30b477['cgVka'],_0x1ab4ca);throw new Error('启动失败:\x20'+JSON[_0x4f0f59(0x1b6)](_0x1ab4ca));});},this[_0x40fd3f(0x20f)][_0x40fd3f(0x1a8)]=(_0x27254e,_0x34e485,_0x282ff5)=>{const _0x372e9d=_0x40fd3f;_0x2cbbfc[_0x372e9d(0x1be)](logError,_0x2cbbfc[_0x372e9d(0x160)],_0x282ff5),_0x2cbbfc[_0x372e9d(0x1b1)](_0x27254e,0x1)&&_0x2cbbfc[_0x372e9d(0x1b1)](_0x34e485,0x3)&&this[_0x372e9d(0x1f2)][_0x372e9d(0x195)]();},this['loginListener'][_0x40fd3f(0x1bc)]=_0x2eda82=>{const _0x517cc1=_0x40fd3f;_0x2cbbfc['bYRtv'](logError,_0x2cbbfc[_0x517cc1(0x160)],_0x2eda82);},this['loginListener']=new Proxy(this[_0x40fd3f(0x20f)],this[_0x40fd3f(0x181)]),this['loginService']['addKernelLoginListener'](new _0x2beeba['NodeIKernelLoginListener'](this[_0x40fd3f(0x20f)])),this[_0x40fd3f(0x1c0)]();}get[_0x4e661f(0x16e)](){const _0x5b24f4=_0x4e661f;let _0x1b2bd4=this['util']['getNTUserDataInfoConfig']();return!_0x1b2bd4&&(_0x1b2bd4=_0x30471a['resolve'](_0x5be5ac[_0x5b24f4(0x1ca)](),'./.config/QQ'),_0x42e82e[_0x5b24f4(0x1f9)](_0x1b2bd4,{'recursive':!![]})),_0x1b2bd4;}get[_0x4e661f(0x1df)](){const _0x1dce5d=_0x4e661f,_0x2b9de4={'IJZPa':_0x1dce5d(0x197)};return _0x30471a['resolve'](this['dataPath'],_0x2b9de4[_0x1dce5d(0x1bf)]);}[_0x4e661f(0x1c0)](){const _0x32c25b=_0x4e661f,_0x87c62a={'SOjMS':'Windows\x2010\x20Pro'};this[_0x32c25b(0x1d1)][_0x32c25b(0x183)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x32c25b(0x166)],'os_version':_0x87c62a['SOjMS'],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo['curVersion'][_0x32c25b(0x1ac)]('-','_')+_0x32c25b(0x169),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x2beeba[(_0x32c25b(0x15d))](new GlobalAdapter())),this[_0x32c25b(0x1f2)][_0x32c25b(0x1c0)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x32c25b(0x1df)],'clientVer':qqVersionConfigInfo[_0x32c25b(0x166)],'hostName':hostname});}[_0x4e661f(0x164)](_0x5e8cfb,_0x2e57bf){const _0x3a4540={'VngWD':function(_0x5c73af,_0x15f78a){return _0x5c73af===_0x15f78a;},'mQvcE':function(_0x3f5d52,_0x43089e){return _0x3f5d52(_0x43089e);},'jJFOj':function(_0x268e22,_0x5714b1){return _0x268e22(_0x5714b1);},'Vfldz':function(_0x26c208,_0x25f963){return _0x26c208+_0x25f963;},'qpMjH':'init\x20failed\x20'};return new Promise((_0x10a4f1,_0xfed45b)=>{const _0x4698fb=_0x5bd4,_0x5f3d78=genSessionConfig(_0x5e8cfb,_0x2e57bf,this[_0x4698fb(0x16e)]),_0x369a77=new SessionListener();_0x369a77['onSessionInitComplete']=_0x2746ac=>{const _0x563dd4=_0x4698fb;if(_0x3a4540[_0x563dd4(0x1a3)](_0x2746ac,0x0))return _0x3a4540[_0x563dd4(0x1b2)](_0x10a4f1,0x0);_0x3a4540['jJFOj'](_0xfed45b,_0x2746ac);},this['session'][_0x4698fb(0x202)](_0x5f3d78,new _0x2beeba[(_0x4698fb(0x1a5))](new DependsAdapter()),new _0x2beeba[(_0x4698fb(0x16a))](new DispatcherAdapter()),new _0x2beeba['NodeIKernelSessionListener'](_0x369a77));try{this[_0x4698fb(0x1b5)][_0x4698fb(0x1f5)](0x0);}catch(_0x38cc2b){try{this[_0x4698fb(0x1b5)][_0x4698fb(0x1f5)]();}catch(_0x1737a2){_0x3a4540['jJFOj'](_0xfed45b,_0x3a4540[_0x4698fb(0x18e)](_0x3a4540[_0x4698fb(0x1f4)],_0x1737a2));}}});}[_0x4e661f(0x1e9)](){const _0x278709=_0x4e661f,_0x51b472={'NYTOq':function(_0x57eee1,_0x493ba5){return _0x57eee1(_0x493ba5);},'uLQKh':function(_0x498052,_0x42965d){return _0x498052+_0x42965d;},'UfpAG':function(_0x35ac24,_0x5f58a0){return _0x35ac24+_0x5f58a0;},'hBkTO':'账号设备(','zAomt':')\x20在线状态变更','jdCzd':_0x278709(0x1e3),'BJYHt':function(_0x5e9905,_0x326c6c){return _0x5e9905/_0x326c6c;},'fXtZP':function(_0x254ef0,_0x24be2a){return _0x254ef0/_0x24be2a;},'Vxtux':function(_0x25c623,_0x37eca0){return _0x25c623===_0x37eca0;},'oAGCY':function(_0x4d9139,_0x155804){return _0x4d9139===_0x155804;},'CQciT':function(_0x4a3045,_0x525eee,_0x908bfb){return _0x4a3045(_0x525eee,_0x908bfb);}},_0x247dfe=new MsgListener();_0x247dfe[_0x278709(0x19f)]=_0x5b5088=>{_0x5b5088['map'](_0x450b35=>{const _0x523b79=_0x5bd4;_0x450b35[_0x523b79(0x1bd)]===0x2&&_0x51b472[_0x523b79(0x20b)](log,_0x51b472[_0x523b79(0x1c2)](_0x51b472['UfpAG'](_0x51b472['hBkTO'],_0x450b35[_0x523b79(0x1ee)]),_0x51b472[_0x523b79(0x1bb)]));});},_0x247dfe['onKickedOffLine']=_0x1d07b7=>{const _0xf87253=_0x278709;_0x51b472['NYTOq'](log,_0x51b472[_0xf87253(0x1e1)](_0x51b472[_0xf87253(0x1e1)](_0x51b472[_0xf87253(0x1c2)](_0x51b472[_0xf87253(0x1ae)],_0x1d07b7[_0xf87253(0x193)]),']\x20'),_0x1d07b7[_0xf87253(0x208)]));},_0x247dfe[_0x278709(0x174)]=_0x5341d8=>{const _0x1f65c1=_0x278709;stat[_0x1f65c1(0x1dd)]+=0x1,_0x5341d8[_0x1f65c1(0x1f0)](_0xd348f4=>{const _0x4b9f13=_0x1f65c1;_0xd348f4[_0x4b9f13(0x176)]==='0'?dbUtil[_0x4b9f13(0x1ad)](_0xd348f4)[_0x4b9f13(0x1f6)]()[_0x4b9f13(0x1d9)]():dbUtil[_0x4b9f13(0x1a7)](_0xd348f4[_0x4b9f13(0x18a)])[_0x4b9f13(0x1f6)](_0x990697=>{const _0x3582cb=_0x4b9f13;_0x990697&&(_0x990697['recallTime']=_0xd348f4[_0x3582cb(0x176)],dbUtil[_0x3582cb(0x177)](_0x990697)['then']());});});},_0x247dfe[_0x278709(0x1b7)]=_0x44f3b2=>{const _0x1a2147=_0x278709;stat[_0x1a2147(0x1b3)]+=0x1,stat[_0x1a2147(0x1d2)]+=0x1,stat['last_message_time']=Math[_0x1a2147(0x1fc)](_0x51b472[_0x1a2147(0x165)](Date[_0x1a2147(0x207)](),0x3e8));},_0x247dfe[_0x278709(0x19e)]=_0x461f1b=>{const _0x39d36a=_0x278709;stat[_0x39d36a(0x1dd)]+=0x1,stat[_0x39d36a(0x19a)]+=_0x461f1b[_0x39d36a(0x16d)],stat[_0x39d36a(0x1a9)]=Math[_0x39d36a(0x1fc)](_0x51b472[_0x39d36a(0x1cd)](Date[_0x39d36a(0x207)](),0x3e8));},_0x247dfe[_0x278709(0x1d4)]=(..._0x512b1a)=>{const _0x175ded=_0x278709;stat[_0x175ded(0x1dd)]+=0x1;},this[_0x278709(0x209)](_0x247dfe);const _0x27c4f5=new BuddyListener();_0x27c4f5['onBuddyListChange']=_0x17451c=>{const _0x304edd=_0x278709;rawFriends[_0x304edd(0x16d)]=0x0,rawFriends['push'](..._0x17451c);for(const _0x21385c of _0x17451c){for(const _0x5ad585 of _0x21385c[_0x304edd(0x1da)]){const _0xd98e36=friends['get'](_0x5ad585['uid']);uid2UinMap[_0x5ad585['uid']]=_0x5ad585[_0x304edd(0x1ed)],_0xd98e36?Object[_0x304edd(0x18f)](_0xd98e36,_0x5ad585):friends[_0x304edd(0x17e)](_0x5ad585[_0x304edd(0x1fb)],_0x5ad585);}}},this[_0x278709(0x209)](_0x27c4f5),this['session'][_0x278709(0x1cc)]()[_0x278709(0x1ff)](!![])[_0x278709(0x1f6)](_0x34bb71=>{});const _0x1e273c=new ProfileListener();_0x1e273c[_0x278709(0x16f)]=_0x4b1878=>{const _0x1d67d0=_0x278709;_0x51b472[_0x1d67d0(0x189)](_0x4b1878[_0x1d67d0(0x1fb)],selfInfo['uid'])&&Object[_0x1d67d0(0x18f)](selfInfo,_0x4b1878);},_0x1e273c[_0x278709(0x15f)]=_0x26a88a=>{},this[_0x278709(0x209)](_0x1e273c);const _0x4853a9=new GroupListener();_0x4853a9[_0x278709(0x1aa)]=(_0x57866d,_0x40f57d)=>{const _0x58afdb=_0x278709;_0x40f57d[_0x58afdb(0x1f0)](_0x22dc7a=>{const _0x32f25e=_0x58afdb,_0x231060=groups[_0x32f25e(0x168)](_0x22dc7a[_0x32f25e(0x1a2)]);_0x231060&&_0x22dc7a[_0x32f25e(0x1d3)]===_0x231060[_0x32f25e(0x1d3)]?Object[_0x32f25e(0x18f)](_0x231060,_0x22dc7a):groups[_0x32f25e(0x17e)](_0x22dc7a[_0x32f25e(0x1a2)],_0x22dc7a);const _0x5141ba=this[_0x32f25e(0x1b5)][_0x32f25e(0x1cb)]()[_0x32f25e(0x1e0)](_0x22dc7a[_0x32f25e(0x1a2)],'groupMemberList_MainWindow');this[_0x32f25e(0x1b5)][_0x32f25e(0x1cb)]()[_0x32f25e(0x1ef)](_0x5141ba,undefined,0xbb8)[_0x32f25e(0x1f6)](_0x1eb9f3=>{});});},_0x4853a9['onMemberListChange']=_0x1d5af5=>{const _0x2beacc=_0x278709,_0x3fa146=_0x1d5af5[_0x2beacc(0x1e4)][_0x2beacc(0x1b4)]('_')[0x0];if(groupMembers[_0x2beacc(0x203)](_0x3fa146)){const _0x1349d3=groupMembers[_0x2beacc(0x168)](_0x3fa146);_0x1d5af5[_0x2beacc(0x17d)][_0x2beacc(0x188)]((_0x230a53,_0x36642d)=>{const _0x5664f7=_0x2beacc,_0x47c556=_0x1349d3['get'](_0x36642d);_0x47c556?Object[_0x5664f7(0x18f)](_0x47c556,_0x230a53):_0x1349d3[_0x5664f7(0x17e)](_0x36642d,_0x230a53);});}else groupMembers[_0x2beacc(0x17e)](_0x3fa146,_0x1d5af5['infos']);},_0x4853a9['onMemberInfoChange']=(_0x652e88,_0x388776,_0x2527b9)=>{const _0x34b807=_0x278709;_0x51b472[_0x34b807(0x17c)](_0x388776,0x0)&&_0x2527b9[_0x34b807(0x168)](selfInfo['uid'])&&_0x2527b9['get'](selfInfo[_0x34b807(0x1fb)])?.[_0x34b807(0x19d)]&&_0x51b472[_0x34b807(0x16b)](setTimeout,()=>{const _0x107200=_0x34b807;groups[_0x107200(0x190)](_0x652e88);},0x1388);_0x2527b9[_0x34b807(0x188)]((_0x432175,_0x135846)=>{const _0x182506=_0x34b807;uid2UinMap[_0x135846]=_0x432175[_0x182506(0x1ed)];});const _0x1d8462=groupMembers['get'](_0x652e88);_0x1d8462?_0x2527b9[_0x34b807(0x188)]((_0x16c5ae,_0x973d5c)=>{const _0x37a9c4=_0x34b807,_0x9f5150=_0x1d8462[_0x37a9c4(0x168)](_0x973d5c);_0x9f5150?Object[_0x37a9c4(0x18f)](_0x9f5150,_0x16c5ae):_0x1d8462[_0x37a9c4(0x17e)](_0x973d5c,_0x16c5ae);}):groupMembers[_0x34b807(0x17e)](_0x652e88,_0x2527b9);},this['addListener'](_0x4853a9);}[_0x4e661f(0x209)](_0x5526ff){const _0x2b29e2=_0x4e661f,_0xd082d7={'WVqAr':_0x2b29e2(0x17a),'uSHpy':_0x2b29e2(0x1eb),'zQXVd':'ProfileListener'};_0x5526ff=new Proxy(_0x5526ff,this[_0x2b29e2(0x181)]);switch(_0x5526ff[_0x2b29e2(0x1c1)][_0x2b29e2(0x186)]){case _0xd082d7['WVqAr']:{return this['session']['getBuddyService']()[_0x2b29e2(0x1d6)](new _0x2beeba[(_0x2b29e2(0x173))](_0x5526ff));}case _0xd082d7['uSHpy']:{return this[_0x2b29e2(0x1b5)]['getGroupService']()[_0x2b29e2(0x1e8)](new _0x2beeba[(_0x2b29e2(0x1e5))](_0x5526ff));}case _0x2b29e2(0x1fd):{return this['session'][_0x2b29e2(0x212)]()['addKernelMsgListener'](new _0x2beeba[(_0x2b29e2(0x1f8))](_0x5526ff));}case _0xd082d7[_0x2b29e2(0x19c)]:{return this[_0x2b29e2(0x1b5)][_0x2b29e2(0x20e)]()[_0x2b29e2(0x1b0)](new _0x2beeba[(_0x2b29e2(0x1c8))](_0x5526ff));}default:return-0x1;}}['onLoginSuccess'](_0xc61ea8){const _0x4ff4e1=_0x4e661f;NTEventDispatch[_0x4ff4e1(0x202)]({'ListenerMap':_0x2beeba,'WrapperSession':this[_0x4ff4e1(0x1b5)]}),this[_0x4ff4e1(0x1dc)][_0x4ff4e1(0x1fe)](_0xc61ea8);}async[_0x4e661f(0x171)](_0x5ef95a){const _0x2c7def=_0x4e661f,_0x5231f9={'xbIQf':function(_0x4bca8e,_0x251424){return _0x4bca8e(_0x251424);},'NQHXx':function(_0x4b9220,_0x5217fc){return _0x4b9220+_0x5217fc;},'RqbfE':'快速登录失败\x20'},_0x1a6fa2=await this['loginService']['getLoginList']();if(_0x1a6fa2[_0x2c7def(0x1d7)]!==0x0)throw new Error('没有可快速登录的QQ号');const _0x2ff17e=_0x1a6fa2[_0x2c7def(0x1c6)][_0x2c7def(0x17b)](_0x475244=>_0x475244['uin']===_0x5ef95a);if(!_0x2ff17e||!_0x2ff17e?.[_0x2c7def(0x192)])throw new Error(_0x5ef95a+_0x2c7def(0x199));await _0x5231f9[_0x2c7def(0x172)](sleep,0x3e8);const _0x2dc35c=await this['loginService'][_0x2c7def(0x1cf)](_0x5ef95a);if(!_0x2dc35c[_0x2c7def(0x1d7)])throw new Error(_0x5231f9[_0x2c7def(0x167)](_0x5231f9[_0x2c7def(0x206)],_0x2dc35c[_0x2c7def(0x182)]['errMsg']));return _0x2dc35c;}async[_0x4e661f(0x1a4)](_0x197b87){const _0x105b48=_0x4e661f,_0x2ef18e={'IPOaI':_0x105b48(0x184)};return new Promise((_0x39aa48,_0x207158)=>{const _0x11dadd=_0x105b48,_0x170508={'HJMPE':_0x2ef18e['IPOaI']};this[_0x11dadd(0x20f)]['onQRCodeGetPicture']=_0xe6600a=>{const _0x19b9f7=_0x11dadd,_0x493cdd=_0xe6600a['pngBase64QrcodeData'][_0x19b9f7(0x1b4)](_0x19b9f7(0x175))[0x1],_0x2252c6=Buffer[_0x19b9f7(0x1d5)](_0x493cdd,_0x170508[_0x19b9f7(0x1c3)]);_0x197b87(_0xe6600a[_0x19b9f7(0x1c4)],_0xe6600a[_0x19b9f7(0x198)],_0x2252c6);},this[_0x11dadd(0x1f2)]['getQRCodePicture']();});}async[_0x4e661f(0x18d)](_0x2ddcf4,_0x335428,_0x27565e,_0x577fa4,_0x5d6050){const _0x53c7fb=_0x4e661f,_0x29bf6a={'iWeXJ':_0x53c7fb(0x18b),'cJhsI':_0x53c7fb(0x1ea),'Zrfsh':function(_0x2926de,_0x1cd4b5){return _0x2926de&&_0x1cd4b5;},'zKYJz':function(_0x57060c,_0x50563e){return _0x57060c||_0x50563e;},'JlVAZ':function(_0x25fd1b,_0x1d895a){return _0x25fd1b||_0x1d895a;},'NBmiR':function(_0x3701f9,_0x1b8b49){return _0x3701f9(_0x1b8b49);},'saNih':_0x53c7fb(0x15c),'ViSSo':_0x53c7fb(0x163)},_0x29d8da=_0x24e44c[_0x53c7fb(0x1ce)](_0x29bf6a['iWeXJ'])[_0x53c7fb(0x1e6)](_0x335428)[_0x53c7fb(0x15a)](_0x29bf6a[_0x53c7fb(0x194)]),_0x5740d8={'uin':_0x2ddcf4,'passwordMd5':_0x29d8da,'step':_0x29bf6a[_0x53c7fb(0x200)](_0x27565e,_0x577fa4)&&_0x5d6050?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x29bf6a[_0x53c7fb(0x1a6)](_0x27565e,''),'proofWaterRand':_0x29bf6a['zKYJz'](_0x577fa4,''),'proofWaterSid':_0x29bf6a['JlVAZ'](_0x5d6050,'')};await this[_0x53c7fb(0x1f2)][_0x53c7fb(0x15b)](),await _0x29bf6a[_0x53c7fb(0x1d0)](sleep,0x3e8);const _0x2f79a2=await this['loginService'][_0x53c7fb(0x18d)](_0x5740d8);switch(_0x2f79a2[_0x53c7fb(0x1d7)]){case'0':{break;}case _0x29bf6a[_0x53c7fb(0x178)]:{break;}case'4':case _0x29bf6a[_0x53c7fb(0x1ab)]:default:}}async[_0x4e661f(0x1f7)](){const _0x24628c=_0x4e661f,_0x211e58=await this[_0x24628c(0x1f2)]['getLoginList']();return _0x211e58;}}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 b0e51a3d..0854d9f4 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x90e2a2=_0x2d85;(function(_0xc7f719,_0x1d0147){const _0x3e0fac=_0x2d85,_0x3cef6a=_0xc7f719();while(!![]){try{const _0x1c3be3=-parseInt(_0x3e0fac(0xa2))/0x1*(parseInt(_0x3e0fac(0xa6))/0x2)+-parseInt(_0x3e0fac(0x9f))/0x3+parseInt(_0x3e0fac(0x9a))/0x4+parseInt(_0x3e0fac(0xaa))/0x5+-parseInt(_0x3e0fac(0xab))/0x6+parseInt(_0x3e0fac(0xa5))/0x7*(parseInt(_0x3e0fac(0x9e))/0x8)+parseInt(_0x3e0fac(0xa7))/0x9;if(_0x1c3be3===_0x1d0147)break;else _0x3cef6a['push'](_0x3cef6a['shift']());}catch(_0x457b9b){_0x3cef6a['push'](_0x3cef6a['shift']());}}}(_0x3034,0x695b2));function _0x3034(){const _0x256a72=['from','set','1851304XYzHCx','uin','forEach','get','3808312COYmGn','2284947fWuNHw','length','NapCat未能正常启动,请检查日志查看错误','29hRXeHj','toString','values','7LrpZFb','10966XmqfEL','10352151VDdFBh','sJuxV','find','318385pHHtVR','4803522scCsxC','delete','getGroupMembers'];_0x3034=function(){return _0x256a72;};return _0x3034();}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();function _0x2d85(_0x560e1f,_0x277283){const _0x303485=_0x3034();return _0x2d85=function(_0x2d85ae,_0xc9e851){_0x2d85ae=_0x2d85ae-0x96;let _0x3a6b90=_0x303485[_0x2d85ae];return _0x3a6b90;},_0x2d85(_0x560e1f,_0x277283);}export function deleteGroup(_0x1861dd){const _0x1f6856=_0x2d85;groups[_0x1f6856(0x96)](_0x1861dd),groupMembers[_0x1f6856(0x96)](_0x1861dd);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x90e2a2(0xa1)};export async function getFriend(_0xf0c10){const _0x17a066=_0x90e2a2,_0x1b7ca1={'ejxcT':function(_0x22dc2a,_0x4b8a69){return _0x22dc2a(_0x4b8a69);}};_0xf0c10=_0xf0c10[_0x17a066(0xa3)]();if(_0x1b7ca1['ejxcT'](isNumeric,_0xf0c10)){const _0x1b66cd=Array[_0x17a066(0x98)](friends[_0x17a066(0xa4)]());return _0x1b66cd['find'](_0x461b87=>_0x461b87['uin']===_0xf0c10);}else return friends[_0x17a066(0x9d)](_0xf0c10);}export async function getGroup(_0x31621b){const _0x136952=_0x90e2a2;let _0x315b50=groups[_0x136952(0x9d)](_0x31621b['toString']());if(!_0x315b50)try{const _0x7450f8=await NTQQGroupApi['getGroups']();_0x7450f8[_0x136952(0xa0)]&&_0x7450f8[_0x136952(0x9c)](_0x416332=>{const _0x7eeedf=_0x136952;groups[_0x7eeedf(0x99)](_0x416332['groupCode'],_0x416332);});}catch(_0xa9e00c){return undefined;}return _0x315b50=groups[_0x136952(0x9d)](_0x31621b[_0x136952(0xa3)]()),_0x315b50;}export async function getGroupMember(_0x5cca77,_0x15959b){const _0xa556ba=_0x90e2a2,_0x2c6a09={'phPdl':function(_0x5a9799){return _0x5a9799();},'sJuxV':function(_0x53f8cf){return _0x53f8cf();}};_0x5cca77=_0x5cca77[_0xa556ba(0xa3)](),_0x15959b=_0x15959b[_0xa556ba(0xa3)]();let _0x35d146=groupMembers['get'](_0x5cca77);if(!_0x35d146)try{_0x35d146=await NTQQGroupApi[_0xa556ba(0x97)](_0x5cca77),groupMembers[_0xa556ba(0x99)](_0x5cca77,_0x35d146);}catch(_0x3c2396){return null;}const _0x3bd971=()=>{const _0xa78f08=_0xa556ba;let _0x833ece=undefined;return isNumeric(_0x15959b)?_0x833ece=Array[_0xa78f08(0x98)](_0x35d146[_0xa78f08(0xa4)]())[_0xa78f08(0xa9)](_0x2138b7=>_0x2138b7[_0xa78f08(0x9b)]===_0x15959b):_0x833ece=_0x35d146[_0xa78f08(0x9d)](_0x15959b),_0x833ece;};let _0x261a91=_0x2c6a09['phPdl'](_0x3bd971);return!_0x261a91&&(_0x35d146=await NTQQGroupApi[_0xa556ba(0x97)](_0x5cca77),_0x261a91=_0x2c6a09[_0xa556ba(0xa8)](_0x3bd971)),_0x261a91;}export const uid2UinMap={};export function getUidByUin(_0x3ba102){const _0x29096f={'xeNrd':function(_0x3e896c,_0x57956b){return _0x3e896c===_0x57956b;}};for(const _0x903fbf in uid2UinMap){if(_0x29096f['xeNrd'](uid2UinMap[_0x903fbf],_0x3ba102))return _0x903fbf;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0x1af961=_0x5577;(function(_0x13488c,_0x526b3b){const _0x5810b5=_0x5577,_0x3fbf88=_0x13488c();while(!![]){try{const _0x44be6f=-parseInt(_0x5810b5(0x12e))/0x1+-parseInt(_0x5810b5(0x133))/0x2+parseInt(_0x5810b5(0x122))/0x3+parseInt(_0x5810b5(0x12b))/0x4+parseInt(_0x5810b5(0x123))/0x5+-parseInt(_0x5810b5(0x12f))/0x6+parseInt(_0x5810b5(0x138))/0x7*(-parseInt(_0x5810b5(0x136))/0x8);if(_0x44be6f===_0x526b3b)break;else _0x3fbf88['push'](_0x3fbf88['shift']());}catch(_0x38b35b){_0x3fbf88['push'](_0x3fbf88['shift']());}}}(_0x4dee,0x9ef00));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(_0x465df9){groups['delete'](_0x465df9),groupMembers['delete'](_0x465df9);}function _0x4dee(){const _0x44992e=['getGroups','NapCat未能正常启动,请检查日志查看错误','find','1511312Uccgtc','from','toString','101418HklAdh','6477984xmTloK','set','getGroupMembers','forEach','409134ufQzZa','values','uin','16ncskUU','length','369859zAWdsh','2948859vjhQzC','3907750LdyhYn','get','IeNzG','SCWzz','QteaK'];_0x4dee=function(){return _0x44992e;};return _0x4dee();}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x1af961(0x129)};export async function getFriend(_0xf066c3){const _0x56fc55=_0x1af961,_0x2eecc6={'IeNzG':function(_0x5144e3,_0x5b2621){return _0x5144e3(_0x5b2621);}};_0xf066c3=_0xf066c3[_0x56fc55(0x12d)]();if(_0x2eecc6[_0x56fc55(0x125)](isNumeric,_0xf066c3)){const _0x561fa3=Array[_0x56fc55(0x12c)](friends[_0x56fc55(0x134)]());return _0x561fa3[_0x56fc55(0x12a)](_0x20c8d8=>_0x20c8d8[_0x56fc55(0x135)]===_0xf066c3);}else return friends['get'](_0xf066c3);}export async function getGroup(_0x1d64e9){const _0x590206=_0x1af961;let _0x189209=groups['get'](_0x1d64e9[_0x590206(0x12d)]());if(!_0x189209)try{const _0x447462=await NTQQGroupApi[_0x590206(0x128)]();_0x447462[_0x590206(0x137)]&&_0x447462[_0x590206(0x132)](_0x2174aa=>{const _0x1e6a37=_0x590206;groups[_0x1e6a37(0x130)](_0x2174aa['groupCode'],_0x2174aa);});}catch(_0x3c329f){return undefined;}return _0x189209=groups[_0x590206(0x124)](_0x1d64e9[_0x590206(0x12d)]()),_0x189209;}export async function getGroupMember(_0x244cc0,_0x3db2a2){const _0xcd3bfd=_0x1af961,_0x34d451={'SCWzz':function(_0x38164c,_0x3206c6){return _0x38164c(_0x3206c6);},'rqFTV':function(_0x1ee764){return _0x1ee764();},'Mbfqs':function(_0x2007c4){return _0x2007c4();}};_0x244cc0=_0x244cc0[_0xcd3bfd(0x12d)](),_0x3db2a2=_0x3db2a2[_0xcd3bfd(0x12d)]();let _0x484d79=groupMembers['get'](_0x244cc0);if(!_0x484d79)try{_0x484d79=await NTQQGroupApi['getGroupMembers'](_0x244cc0),groupMembers['set'](_0x244cc0,_0x484d79);}catch(_0x3a759e){return null;}const _0x2444cd=()=>{const _0x57dbab=_0xcd3bfd;let _0x239f08=undefined;return _0x34d451[_0x57dbab(0x126)](isNumeric,_0x3db2a2)?_0x239f08=Array[_0x57dbab(0x12c)](_0x484d79[_0x57dbab(0x134)]())['find'](_0x348246=>_0x348246[_0x57dbab(0x135)]===_0x3db2a2):_0x239f08=_0x484d79[_0x57dbab(0x124)](_0x3db2a2),_0x239f08;};let _0x28bd73=_0x34d451['rqFTV'](_0x2444cd);return!_0x28bd73&&(_0x484d79=await NTQQGroupApi[_0xcd3bfd(0x131)](_0x244cc0),_0x28bd73=_0x34d451['Mbfqs'](_0x2444cd)),_0x28bd73;}export const uid2UinMap={};export function getUidByUin(_0x41ac43){const _0x4e009f=_0x1af961,_0x659b33={'QteaK':function(_0x225bee,_0x2fbf61){return _0x225bee===_0x2fbf61;}};for(const _0x11a6f9 in uid2UinMap){if(_0x659b33[_0x4e009f(0x127)](uid2UinMap[_0x11a6f9],_0x41ac43))return _0x11a6f9;}}export const tempGroupCodeMap={};export const rawFriends=[];function _0x5577(_0x3e46db,_0x3859f6){const _0x4dee7a=_0x4dee();return _0x5577=function(_0x5577d4,_0x32359a){_0x5577d4=_0x5577d4-0x122;let _0x5726a6=_0x4dee7a[_0x5577d4];return _0x5726a6;},_0x5577(_0x3e46db,_0x3859f6);}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 e2558646..93c042cf 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x3b92(_0x1bf527,_0x18fa78){var _0x27c620=_0x27c6();return _0x3b92=function(_0x3b920a,_0x29c3e5){_0x3b920a=_0x3b920a-0x86;var _0xcaea3f=_0x27c620[_0x3b920a];return _0xcaea3f;},_0x3b92(_0x1bf527,_0x18fa78);}(function(_0x9fc70e,_0xd3e5c7){var _0x5d1207=_0x3b92,_0x2f43cb=_0x9fc70e();while(!![]){try{var _0x34f32a=parseInt(_0x5d1207(0x87))/0x1*(-parseInt(_0x5d1207(0x99))/0x2)+parseInt(_0x5d1207(0x86))/0x3*(-parseInt(_0x5d1207(0x89))/0x4)+-parseInt(_0x5d1207(0x94))/0x5+parseInt(_0x5d1207(0x90))/0x6*(parseInt(_0x5d1207(0x92))/0x7)+-parseInt(_0x5d1207(0x9d))/0x8*(parseInt(_0x5d1207(0x8f))/0x9)+parseInt(_0x5d1207(0x88))/0xa*(-parseInt(_0x5d1207(0x93))/0xb)+parseInt(_0x5d1207(0x8a))/0xc;if(_0x34f32a===_0xd3e5c7)break;else _0x2f43cb['push'](_0x2f43cb['shift']());}catch(_0x3e5417){_0x2f43cb['push'](_0x2f43cb['shift']());}}}(_0x27c6,0xdf256));;export var CacheFileType;function _0x27c6(){var _0x5a6ebd=['1255383xawsuh','18qUTmCd','DVehd','3966837NWBMtA','11oHXpHe','5452915yFARQB','AUDIO','OTHER','PpFPX','IdwwF','2qSlSYO','VIDEO','IMAGE','split','104rRQBIS','60267PDpQsi','1398599raTjeb','7636730CiLVUu','4JuDHHT','51602496lZNEwG','DOCUMENT','2|0|4|3|1','KpKFz','RUwwM'];_0x27c6=function(){return _0x5a6ebd;};return _0x27c6();}(function(_0x5d11a0){var _0x1f8553=_0x3b92,_0x71f945={'RUwwM':_0x1f8553(0x8c),'DVehd':_0x1f8553(0x9a),'PpFPX':'OTHER','pInmz':_0x1f8553(0x9b),'IdwwF':_0x1f8553(0x8b),'KpKFz':_0x1f8553(0x95)},_0x447068=_0x71f945[_0x1f8553(0x8e)][_0x1f8553(0x9c)]('|'),_0x2d9d41=0x0;while(!![]){switch(_0x447068[_0x2d9d41++]){case'0':_0x5d11a0[_0x5d11a0[_0x71f945[_0x1f8553(0x91)]]=0x1]=_0x71f945[_0x1f8553(0x91)];continue;case'1':_0x5d11a0[_0x5d11a0[_0x1f8553(0x96)]=0x4]=_0x71f945[_0x1f8553(0x97)];continue;case'2':_0x5d11a0[_0x5d11a0[_0x1f8553(0x9b)]=0x0]=_0x71f945['pInmz'];continue;case'3':_0x5d11a0[_0x5d11a0[_0x71f945['IdwwF']]=0x3]=_0x71f945[_0x1f8553(0x98)];continue;case'4':_0x5d11a0[_0x5d11a0[_0x71f945['KpKFz']]=0x2]=_0x71f945[_0x1f8553(0x8d)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x8d675a,_0x5c57ff){var _0x5b4948=_0x15b0,_0x702566=_0x8d675a();while(!![]){try{var _0x3fd12a=parseInt(_0x5b4948(0x1b9))/0x1*(-parseInt(_0x5b4948(0x1c7))/0x2)+parseInt(_0x5b4948(0x1bc))/0x3*(-parseInt(_0x5b4948(0x1b8))/0x4)+parseInt(_0x5b4948(0x1bb))/0x5*(parseInt(_0x5b4948(0x1c8))/0x6)+-parseInt(_0x5b4948(0x1c5))/0x7*(parseInt(_0x5b4948(0x1c0))/0x8)+parseInt(_0x5b4948(0x1ca))/0x9+-parseInt(_0x5b4948(0x1c6))/0xa*(-parseInt(_0x5b4948(0x1b7))/0xb)+parseInt(_0x5b4948(0x1bf))/0xc;if(_0x3fd12a===_0x5c57ff)break;else _0x702566['push'](_0x702566['shift']());}catch(_0x3586cf){_0x702566['push'](_0x702566['shift']());}}}(_0xe024,0x20069));function _0x15b0(_0x3c82bc,_0xf4c8bf){var _0xe0240f=_0xe024();return _0x15b0=function(_0x15b027,_0x1a347b){_0x15b027=_0x15b027-0x1b7;var _0x392b66=_0xe0240f[_0x15b027];return _0x392b66;},_0x15b0(_0x3c82bc,_0xf4c8bf);};function _0xe024(){var _0x3a786d=['434uQwkgH','142158UQmkAc','DOCUMENT','771876eyjHrk','11njRfit','32404ABhfdz','193XYFSDw','IMAGE','5ZewnEJ','57HQPeYc','split','AUDIO','4393536osKDFe','1722352DEOBwV','hRzHs','klUFM','Qaydd','LuUIb','7mpMXnW','666860tYTyru'];_0xe024=function(){return _0x3a786d;};return _0xe024();}export var CacheFileType;(function(_0x1a1420){var _0x10f31d=_0x15b0,_0x23448b={'Qaydd':_0x10f31d(0x1c9),'hRzHs':'OTHER','klUFM':_0x10f31d(0x1be),'pSGYg':'VIDEO','LuUIb':_0x10f31d(0x1ba)},_0x23aab2='4|3|2|0|1'[_0x10f31d(0x1bd)]('|'),_0x10f334=0x0;while(!![]){switch(_0x23aab2[_0x10f334++]){case'0':_0x1a1420[_0x1a1420[_0x23448b[_0x10f31d(0x1c3)]]=0x3]=_0x23448b[_0x10f31d(0x1c3)];continue;case'1':_0x1a1420[_0x1a1420[_0x23448b['hRzHs']]=0x4]=_0x23448b[_0x10f31d(0x1c1)];continue;case'2':_0x1a1420[_0x1a1420[_0x23448b[_0x10f31d(0x1c2)]]=0x2]=_0x10f31d(0x1be);continue;case'3':_0x1a1420[_0x1a1420[_0x23448b['pSGYg']]=0x1]='VIDEO';continue;case'4':_0x1a1420[_0x1a1420[_0x10f31d(0x1ba)]=0x0]=_0x23448b[_0x10f31d(0x1c4)];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 2470df2a..62b7081c 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x467d34=_0x5759;(function(_0x3318d5,_0x5eb8f6){const _0x58cccf=_0x5759,_0x2afbbb=_0x3318d5();while(!![]){try{const _0x3fd3fd=parseInt(_0x58cccf(0x1e3))/0x1*(-parseInt(_0x58cccf(0x1ed))/0x2)+parseInt(_0x58cccf(0x1f0))/0x3+-parseInt(_0x58cccf(0x1ca))/0x4+-parseInt(_0x58cccf(0x1af))/0x5*(-parseInt(_0x58cccf(0x1ff))/0x6)+-parseInt(_0x58cccf(0x1ac))/0x7+-parseInt(_0x58cccf(0x1de))/0x8*(-parseInt(_0x58cccf(0x1b8))/0x9)+-parseInt(_0x58cccf(0x1f6))/0xa*(parseInt(_0x58cccf(0x1cb))/0xb);if(_0x3fd3fd===_0x5eb8f6)break;else _0x2afbbb['push'](_0x2afbbb['shift']());}catch(_0x4fa364){_0x2afbbb['push'](_0x2afbbb['shift']());}}}(_0x4add,0x4c6f6));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x59b8c2}from'node:fs';import _0x19007e from'fluent-ffmpeg';function _0x4add(){const _0x4a05a3=['LWzRh','Thumb','miniapp','9izEGiU','text','REPLY','[包剪锤]','获取视频信息失败','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','pic','AniStickerPackId','UfOqD','markdown','QnIet','copyFile','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','YwsvS','then','stat','RPS','time','860680leoSja','1694LHZmLv','writeFile','kcioD','GAGTM','stringify','PTT','语音转换失败,\x20请检查语音文件是否正常','set','rps','ibCPH','IYoVE','uploadFile','mIeVS','kMliu','PIC','size','AniStickerId','AniStickerType','TEXT','2417848ZpcgUK','QSid','face','CXKgQ','https://www.bilibili.com/','52859wABxZs','MARKDOWN','find','ARK','FILE','dirname','get','nnPnd','end','FpsIc','2uWtQKj','ark','文件异常,大小为0','435564CpOZlB','IGDMg','mSiqy','join','Ori','[商城表情]','9710JmuWUQ','catch','notAt','reply','getImageSize','EEpeC','dice','TzGro','width','318ZoSnhN','mface','pIzQe','error','sep','FACE','qaEyh','height','NIZOp','获取视频封面失败,使用默认封面','emoji','36428DttPzG','unlink','mp4','27210XCUSsj','replace','ZuiTI','Bot\x20Test','UBAGa','toString'];_0x4add=function(){return _0x4a05a3;};return _0x4add();}import{NTQQFileApi}from'@/core/apis/file';function _0x5759(_0x1a6c43,_0x338724){const _0x4add5f=_0x4add();return _0x5759=function(_0x575976,_0x5eea59){_0x575976=_0x575976-0x1a6;let _0x2ad81c=_0x4add5f[_0x575976];return _0x2ad81c;},_0x5759(_0x1a6c43,_0x338724);}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 _0x466d81 from'./face_config.json';import*as _0x22c863 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x467d34(0x1b9)](_0xfa467a){const _0x1632a1=_0x467d34;return{'elementType':ElementType[_0x1632a1(0x1dd)],'elementId':'','textElement':{'content':_0xfa467a,'atType':AtType[_0x1632a1(0x1f8)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4cbfa3,_0x221199,_0xb6280e,_0x1622f9){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x1622f9,'atType':_0xb6280e,'atUid':_0x4cbfa3,'atTinyId':'','atNtUid':_0x221199}};}static[_0x467d34(0x1f9)](_0x528b5c,_0x53dea1,_0x110eff,_0x266d94){const _0x125699=_0x467d34;return{'elementType':ElementType[_0x125699(0x1ba)],'elementId':'','replyElement':{'replayMsgSeq':_0x528b5c,'replayMsgId':_0x53dea1,'senderUin':_0x110eff,'senderUinStr':_0x266d94}};}static async[_0x467d34(0x1be)](_0x19f320,_0x4b6911='',_0x4a09e6=0x0){const _0x5f2ff2=_0x467d34,_0x5e572d={'IYoVE':function(_0x1b0edd,_0x41ba2f){return _0x1b0edd===_0x41ba2f;},'QnIet':_0x5f2ff2(0x1ef),'IGDMg':function(_0x4d9af0,_0x63bdbe){return _0x4d9af0(_0x63bdbe);}},{md5:_0x4c2a68,fileName:_0x31ff0c,path:_0x470eba,fileSize:_0xac6c87}=await NTQQFileApi[_0x5f2ff2(0x1d6)](_0x19f320,ElementType[_0x5f2ff2(0x1d9)],_0x4a09e6);if(_0x5e572d[_0x5f2ff2(0x1d5)](_0xac6c87,0x0))throw _0x5e572d[_0x5f2ff2(0x1c2)];const _0x3fa3be=await NTQQFileApi[_0x5f2ff2(0x1fa)](_0x19f320),_0x9cf123={'md5HexStr':_0x4c2a68,'fileSize':_0xac6c87[_0x5f2ff2(0x1b4)](),'picWidth':_0x3fa3be?.['width'],'picHeight':_0x3fa3be?.[_0x5f2ff2(0x1a8)],'fileName':_0x31ff0c,'sourcePath':_0x470eba,'original':!![],'picType':_0x5e572d[_0x5f2ff2(0x1f1)](isGIF,_0x19f320)?PicType['gif']:PicType['jpg'],'picSubType':_0x4a09e6,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x4b6911};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x9cf123};}static async['file'](_0x233980,_0x2f0e73=''){const _0x46944c=_0x467d34,_0x78a1a6={'mIeVS':function(_0x25d228,_0x48a887){return _0x25d228===_0x48a887;},'ibCPH':_0x46944c(0x1ef)},{md5:_0x5c90ff,fileName:_0x1aea95,path:_0x3c8096,fileSize:_0x32d2be}=await NTQQFileApi['uploadFile'](_0x233980,ElementType[_0x46944c(0x1e7)]);if(_0x78a1a6[_0x46944c(0x1d7)](_0x32d2be,0x0))throw _0x78a1a6[_0x46944c(0x1d4)];const _0x3c5f05={'elementType':ElementType[_0x46944c(0x1e7)],'elementId':'','fileElement':{'fileName':_0x2f0e73||_0x1aea95,'filePath':_0x3c8096,'fileSize':_0x32d2be[_0x46944c(0x1b4)]()}};return _0x3c5f05;}static async['video'](_0x3bbcfb,_0x1b621d='',_0x2873ae=''){const _0x516bc2=_0x467d34,_0x203e21={'qaEyh':function(_0x59322e,_0x429824){return _0x59322e(_0x429824);},'JAlDn':_0x516bc2(0x1aa),'nnPnd':_0x516bc2(0x1eb),'CXKgQ':_0x516bc2(0x202),'kcioD':function(_0x4f0455,_0x1e9c1f){return _0x4f0455+_0x1e9c1f;},'ODpcE':_0x516bc2(0x1ef),'mSiqy':function(_0x3e4557,_0x56d6c8,_0x3b6232){return _0x3e4557(_0x56d6c8,_0x3b6232);},'SJXWD':_0x516bc2(0x1bc),'ChblM':function(_0x40f93d,_0x4366ba){return _0x40f93d(_0x4366ba);},'GAGTM':function(_0x570ebb,_0x6ed212){return _0x570ebb||_0x6ed212;}},{fileName:_0x278465,path:_0x3e4abd,fileSize:_0x196ad8,md5:_0x49a04a}=await NTQQFileApi[_0x516bc2(0x1d6)](_0x3bbcfb,ElementType['VIDEO']);if(_0x196ad8===0x0)throw _0x203e21['ODpcE'];let _0x4099ac=_0x3e4abd[_0x516bc2(0x1b0)](_0x22c863[_0x516bc2(0x203)]+_0x516bc2(0x1f4)+_0x22c863[_0x516bc2(0x203)],_0x22c863['sep']+_0x516bc2(0x1b6)+_0x22c863[_0x516bc2(0x203)]);_0x4099ac=_0x22c863[_0x516bc2(0x1e8)](_0x4099ac);let _0x3dbb20={'width':0x780,'height':0x438,'time':0xf,'format':_0x516bc2(0x1ae),'size':_0x196ad8,'filePath':_0x3bbcfb};try{_0x3dbb20=await getVideoInfo(_0x3e4abd);}catch(_0x5a0d3d){_0x203e21[_0x516bc2(0x1f2)](logError,_0x203e21['SJXWD'],_0x5a0d3d);}const _0x4017e9=new Promise((_0x76877d,_0x452eda)=>{const _0x50b22c=_0x516bc2,_0x31f8ad={'UBAGa':function(_0x48f7bd,_0x68533a){return _0x203e21['qaEyh'](_0x48f7bd,_0x68533a);}},_0x7b2233=_0x49a04a+'_0.png',_0x354420=_0x22c863[_0x50b22c(0x1f3)](_0x4099ac,_0x7b2233);_0x19007e(_0x3bbcfb)['on'](_0x203e21[_0x50b22c(0x1ea)],()=>{})['on'](_0x203e21[_0x50b22c(0x1e1)],_0x33a687=>{const _0x10b8d9=_0x50b22c,_0x267055={'NIZOp':function(_0x3ec028,_0x376028){const _0x5d4339=_0x5759;return _0x203e21[_0x5d4339(0x1a7)](_0x3ec028,_0x376028);},'kMliu':function(_0x198f2e,_0x395420){const _0x45d106=_0x5759;return _0x203e21[_0x45d106(0x1a7)](_0x198f2e,_0x395420);}};logDebug(_0x203e21['JAlDn'],_0x33a687),_0x2873ae?_0x59b8c2[_0x10b8d9(0x1c3)](_0x2873ae,_0x354420)[_0x10b8d9(0x1c6)](()=>{const _0x49f3a5=_0x10b8d9;_0x267055[_0x49f3a5(0x1a9)](_0x76877d,_0x354420);})[_0x10b8d9(0x1f7)](_0x452eda):_0x59b8c2[_0x10b8d9(0x1cc)](_0x354420,defaultVideoThumb)['then'](()=>{const _0x1db4a2=_0x10b8d9;_0x267055[_0x1db4a2(0x1d8)](_0x76877d,_0x354420);})['catch'](_0x452eda);})['screenshots']({'timestamps':[0x0],'filename':_0x7b2233,'folder':_0x4099ac,'size':_0x203e21[_0x50b22c(0x1cd)](_0x3dbb20[_0x50b22c(0x1fe)]+'x',_0x3dbb20[_0x50b22c(0x1a8)])})['on']('end',()=>{const _0x39ecdc=_0x50b22c;_0x31f8ad[_0x39ecdc(0x1b3)](_0x76877d,_0x354420);});}),_0x544e66=new Map(),_0x13f410=await _0x4017e9,_0x2c4cc8=(await _0x59b8c2[_0x516bc2(0x1c7)](_0x13f410))[_0x516bc2(0x1da)];_0x544e66[_0x516bc2(0x1d2)](0x0,_0x13f410);const _0x5db228=await _0x203e21['ChblM'](calculateFileMD5,_0x13f410),_0x1d81c3={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x203e21[_0x516bc2(0x1ce)](_0x1b621d,_0x278465),'filePath':_0x3e4abd,'videoMd5':_0x49a04a,'thumbMd5':_0x5db228,'fileTime':_0x3dbb20[_0x516bc2(0x1c9)],'thumbPath':_0x544e66,'thumbSize':_0x2c4cc8,'thumbWidth':_0x3dbb20[_0x516bc2(0x1fe)],'thumbHeight':_0x3dbb20['height'],'fileSize':''+_0x196ad8}};return _0x1d81c3;}static async['ptt'](_0x344429){const _0x42fa0e=_0x467d34,_0xa6c2ff={'AHlKx':function(_0x168c3c,_0x59d155){return _0x168c3c===_0x59d155;},'EEpeC':_0x42fa0e(0x1ef),'LWzRh':function(_0x110213,_0x519b36){return _0x110213||_0x519b36;}},{converted:_0xd8c923,path:_0x23fe9f,duration:_0x420685}=await encodeSilk(_0x344429);if(!_0x23fe9f)throw _0x42fa0e(0x1d1);const {md5:_0x163cc9,fileName:_0x8b2f4f,path:_0x19b3d9,fileSize:_0x208b72}=await NTQQFileApi[_0x42fa0e(0x1d6)](_0x23fe9f,ElementType[_0x42fa0e(0x1d0)]);if(_0xa6c2ff['AHlKx'](_0x208b72,0x0))throw _0xa6c2ff[_0x42fa0e(0x1fb)];return _0xd8c923&&_0x59b8c2[_0x42fa0e(0x1ad)](_0x23fe9f)[_0x42fa0e(0x1c6)](),{'elementType':ElementType[_0x42fa0e(0x1d0)],'elementId':'','pttElement':{'fileName':_0x8b2f4f,'filePath':_0x19b3d9,'md5HexStr':_0x163cc9,'fileSize':_0x208b72,'duration':_0xa6c2ff[_0x42fa0e(0x1b5)](_0x420685,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[_0x467d34(0x1e0)](_0x4d2c97){const _0x3304d0=_0x467d34,_0x278f76={'Qrtgr':function(_0xeb5947,_0x5851c8){return _0xeb5947(_0x5851c8);},'FpsIc':function(_0x5286d8,_0x394485){return _0x5286d8>=_0x394485;}},_0x1708ab=_0x466d81['sysface'],_0x5855d4=_0x466d81[_0x3304d0(0x1ab)],_0x53f637=_0x1708ab[_0x3304d0(0x1e5)](_0x27eef9=>_0x27eef9[_0x3304d0(0x1df)]===_0x4d2c97[_0x3304d0(0x1b4)]());_0x4d2c97=_0x278f76['Qrtgr'](parseInt,_0x4d2c97[_0x3304d0(0x1b4)]());let _0xf79596=0x1;return _0x278f76[_0x3304d0(0x1ec)](_0x4d2c97,0xde)&&(_0xf79596=0x2),_0x53f637['AniStickerType']&&(_0xf79596=0x3),{'elementType':ElementType[_0x3304d0(0x1a6)],'elementId':'','faceElement':{'faceIndex':_0x4d2c97,'faceType':_0xf79596,'faceText':_0x53f637['QDes'],'stickerId':_0x53f637[_0x3304d0(0x1db)],'stickerType':_0x53f637[_0x3304d0(0x1dc)],'packId':_0x53f637[_0x3304d0(0x1bf)],'sourceType':0x1}};}static[_0x467d34(0x200)](_0x43689d,_0x4137ef,_0x17661a,_0x573736){const _0xebd5e8=_0x467d34;return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x43689d,'emojiId':_0x4137ef,'key':_0x17661a,'faceName':_0x573736||mFaceCache[_0xebd5e8(0x1e9)](_0x4137ef)||_0xebd5e8(0x1f5)}};}static[_0x467d34(0x1fc)](_0x19d306){const _0xdbbdb=_0x467d34,_0x405c1b={'TzGro':'[骰子]'};return{'elementType':ElementType[_0xdbbdb(0x1a6)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0x405c1b[_0xdbbdb(0x1fd)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x467d34(0x1d3)](_0x172742){const _0x4e913c=_0x467d34,_0x2c2aee={'ZuiTI':_0x4e913c(0x1bb)};return{'elementType':ElementType[_0x4e913c(0x1a6)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4e913c(0x1c8)],'faceText':_0x2c2aee[_0x4e913c(0x1b1)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x467d34(0x1ee)](_0x2df5bc){const _0x13bf65=_0x467d34,_0x57aa86={'jiDAF':'string'};return typeof _0x2df5bc!==_0x57aa86['jiDAF']&&(_0x2df5bc=JSON[_0x13bf65(0x1cf)](_0x2df5bc)),{'elementType':ElementType[_0x13bf65(0x1e6)],'elementId':'','arkElement':{'bytesData':_0x2df5bc,'linkInfo':null,'subElementType':null}};}static[_0x467d34(0x1c1)](_0x527134){const _0x2da518=_0x467d34;return{'elementType':ElementType[_0x2da518(0x1e4)],'elementId':'','markdownElement':{'content':_0x527134}};}static async[_0x467d34(0x1b7)](){const _0x23ad5c=_0x467d34,_0x31c46b={'pIzQe':_0x23ad5c(0x1b2),'UfOqD':_0x23ad5c(0x1bd),'YwsvS':_0x23ad5c(0x1c4)};let _0x12c57a=await SignMiniApp({'prompt':_0x31c46b[_0x23ad5c(0x201)],'title':_0x31c46b['pIzQe'],'preview':_0x31c46b[_0x23ad5c(0x1c0)],'jumpUrl':_0x23ad5c(0x1e2),'tag':_0x31c46b[_0x23ad5c(0x201)],'tagIcon':_0x23ad5c(0x1c4),'source':_0x23ad5c(0x1b2),'sourcelogo':_0x31c46b[_0x23ad5c(0x1c5)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x12c57a,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x3fa4b5=_0x394b;(function(_0x437c48,_0x31f52d){const _0x20b7a9=_0x394b,_0x53a576=_0x437c48();while(!![]){try{const _0x2868ab=-parseInt(_0x20b7a9(0x1f5))/0x1*(-parseInt(_0x20b7a9(0x1f1))/0x2)+parseInt(_0x20b7a9(0x22f))/0x3*(parseInt(_0x20b7a9(0x236))/0x4)+-parseInt(_0x20b7a9(0x228))/0x5+-parseInt(_0x20b7a9(0x1dd))/0x6+parseInt(_0x20b7a9(0x200))/0x7+-parseInt(_0x20b7a9(0x1e3))/0x8*(parseInt(_0x20b7a9(0x20b))/0x9)+parseInt(_0x20b7a9(0x220))/0xa;if(_0x2868ab===_0x31f52d)break;else _0x53a576['push'](_0x53a576['shift']());}catch(_0x554e25){_0x53a576['push'](_0x53a576['shift']());}}}(_0x5c12,0xef68d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1d960e}from'node:fs';import _0x3f65a2 from'fluent-ffmpeg';function _0x5c12(){const _0x1040bc=['dice','yNwQz','6940692QtHOHq','MFACE','string','sep','Thumb','get','8888016MlcBYJ','set','QDes','Tsgqk','time','stat','KjZtS','then','PTT','RPS','width','end','file','hWeWW','84hsiGdL','GvCnd','AEPsu','[骰子]','37646GStzxx','screenshots','emoji','ptt','rps','AniStickerType','YOejT','ZGaUu','mLIqp','VIDEO','PzMOr','6805309ZgHKyq','catch','text','height','pic','jpg','https://www.bilibili.com/','CyKMv','QSid','TEXT','gif','9TqULby','Bot\x20Test','_0.png','sysface','dirname','Ori','获取视频信息失败','XdeZv','find','FMAUY','hHkvw','OwLMF','face','FACE','FILE','join','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','AniStickerPackId','PIC','miniapp','atouG','20147060zPqzeg','文件异常,大小为0','uploadFile','utfhs','uXLVX','bMMUI','ARK','mKeLK','7657725ZphMfc','ysbym','MARKDOWN','CcMku','video','mrRTV','AniStickerId','105gdahpC','size','EfuPD','hvTDV','iZLuV','mp4','markdown','24220TJDlYR','toString'];_0x5c12=function(){return _0x1040bc;};return _0x5c12();}import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';function _0x394b(_0x55035e,_0x4f0e79){const _0x5c1233=_0x5c12();return _0x394b=function(_0x394b39,_0x33cc11){_0x394b39=_0x394b39-0x1dc;let _0x2927b7=_0x5c1233[_0x394b39];return _0x2927b7;},_0x394b(_0x55035e,_0x4f0e79);}import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x5e2333 from'./face_config.json';import*as _0x4751ff from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x3fa4b5(0x202)](_0x586261){const _0x21292d=_0x3fa4b5;return{'elementType':ElementType[_0x21292d(0x209)],'elementId':'','textElement':{'content':_0x586261,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x42866e,_0xee56b0,_0x14adb0,_0x50a609){const _0x4f74e0=_0x3fa4b5;return{'elementType':ElementType[_0x4f74e0(0x209)],'elementId':'','textElement':{'content':'@'+_0x50a609,'atType':_0x14adb0,'atUid':_0x42866e,'atTinyId':'','atNtUid':_0xee56b0}};}static['reply'](_0x3957ab,_0x325397,_0x5357,_0x44b272){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x3957ab,'replayMsgId':_0x325397,'senderUin':_0x5357,'senderUinStr':_0x44b272}};}static async[_0x3fa4b5(0x204)](_0x275265,_0x304363='',_0x3e7448=0x0){const _0x194835=_0x3fa4b5,_0x4329db={'mrRTV':function(_0x2fd8cb,_0x3af0db){return _0x2fd8cb===_0x3af0db;},'qqisR':_0x194835(0x221),'PzMOr':function(_0x22e254,_0x1670ed){return _0x22e254(_0x1670ed);}},{md5:_0x2ba1e6,fileName:_0x58c414,path:_0x486f8f,fileSize:_0x299fb8}=await NTQQFileApi[_0x194835(0x222)](_0x275265,ElementType[_0x194835(0x21d)],_0x3e7448);if(_0x4329db[_0x194835(0x22d)](_0x299fb8,0x0))throw _0x4329db['qqisR'];const _0xa3af67=await NTQQFileApi['getImageSize'](_0x275265),_0xefa5e5={'md5HexStr':_0x2ba1e6,'fileSize':_0x299fb8['toString'](),'picWidth':_0xa3af67?.[_0x194835(0x1ed)],'picHeight':_0xa3af67?.['height'],'fileName':_0x58c414,'sourcePath':_0x486f8f,'original':!![],'picType':_0x4329db[_0x194835(0x1ff)](isGIF,_0x275265)?PicType[_0x194835(0x20a)]:PicType[_0x194835(0x205)],'picSubType':_0x3e7448,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x304363};return{'elementType':ElementType[_0x194835(0x21d)],'elementId':'','picElement':_0xefa5e5};}static async[_0x3fa4b5(0x1ef)](_0x3bdf53,_0x1485b8=''){const _0x3d5be2=_0x3fa4b5,_0x26f886={'KjZtS':function(_0x46cf35,_0x2ea299){return _0x46cf35||_0x2ea299;}},{md5:_0x557c35,fileName:_0x4aba5c,path:_0x4f4c3f,fileSize:_0x3e9ead}=await NTQQFileApi['uploadFile'](_0x3bdf53,ElementType[_0x3d5be2(0x219)]);if(_0x3e9ead===0x0)throw _0x3d5be2(0x221);const _0x53910d={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x26f886[_0x3d5be2(0x1e9)](_0x1485b8,_0x4aba5c),'filePath':_0x4f4c3f,'fileSize':_0x3e9ead[_0x3d5be2(0x237)]()}};return _0x53910d;}static async[_0x3fa4b5(0x22c)](_0x1c76e6,_0x4775e7='',_0x108697=''){const _0x140e97=_0x3fa4b5,_0x41b2f8={'ThDJD':function(_0x3ed110,_0x3a36bf,_0x453065){return _0x3ed110(_0x3a36bf,_0x453065);},'hWeWW':function(_0x345004,_0xc7931a){return _0x345004(_0xc7931a);},'ysbym':'error','tnArA':function(_0x14c0a7,_0x49f7c7){return _0x14c0a7+_0x49f7c7;},'yNwQz':_0x140e97(0x1ee),'hHkvw':function(_0x169149,_0x104f46){return _0x169149===_0x104f46;},'mKeLK':_0x140e97(0x221),'iZLuV':_0x140e97(0x211),'XdeZv':function(_0xfdac8c,_0x4bf3a6){return _0xfdac8c||_0x4bf3a6;},'hvTDV':function(_0x415c12,_0x59d447){return _0x415c12+_0x59d447;}},{fileName:_0x4bcfc9,path:_0x1ff252,fileSize:_0x57f557,md5:_0x31d8dc}=await NTQQFileApi[_0x140e97(0x222)](_0x1c76e6,ElementType['VIDEO']);if(_0x41b2f8[_0x140e97(0x215)](_0x57f557,0x0))throw _0x41b2f8[_0x140e97(0x227)];let _0x3e5819=_0x1ff252['replace'](_0x4751ff[_0x140e97(0x1e0)]+_0x140e97(0x210)+_0x4751ff[_0x140e97(0x1e0)],_0x4751ff[_0x140e97(0x1e0)]+_0x140e97(0x1e1)+_0x4751ff[_0x140e97(0x1e0)]);_0x3e5819=_0x4751ff[_0x140e97(0x20f)](_0x3e5819);let _0x3a0398={'width':0x780,'height':0x438,'time':0xf,'format':_0x140e97(0x234),'size':_0x57f557,'filePath':_0x1c76e6};try{_0x3a0398=await _0x41b2f8[_0x140e97(0x1f0)](getVideoInfo,_0x1ff252);}catch(_0x4fdb16){logError(_0x41b2f8[_0x140e97(0x233)],_0x4fdb16);}const _0x38bb8f=new Promise((_0x4205cb,_0xab9d09)=>{const _0x41fd0c=_0x140e97,_0x212d88=_0x31d8dc+_0x41fd0c(0x20d),_0x3238a4=_0x4751ff[_0x41fd0c(0x21a)](_0x3e5819,_0x212d88);_0x41b2f8[_0x41fd0c(0x1f0)](_0x3f65a2,_0x1c76e6)['on']('end',()=>{})['on'](_0x41b2f8[_0x41fd0c(0x229)],_0x3c8a3b=>{const _0x342ab7=_0x41fd0c,_0x1a50b2={'atouG':function(_0x1270ab,_0x1526d6){return _0x1270ab(_0x1526d6);}};_0x41b2f8['ThDJD'](logDebug,'获取视频封面失败,使用默认封面',_0x3c8a3b),_0x108697?_0x1d960e['copyFile'](_0x108697,_0x3238a4)['then'](()=>{const _0x224a72=_0x394b;_0x1a50b2[_0x224a72(0x21f)](_0x4205cb,_0x3238a4);})[_0x342ab7(0x201)](_0xab9d09):_0x1d960e['writeFile'](_0x3238a4,defaultVideoThumb)[_0x342ab7(0x1ea)](()=>{_0x4205cb(_0x3238a4);})[_0x342ab7(0x201)](_0xab9d09);})[_0x41fd0c(0x1f6)]({'timestamps':[0x0],'filename':_0x212d88,'folder':_0x3e5819,'size':_0x41b2f8['tnArA'](_0x3a0398[_0x41fd0c(0x1ed)],'x')+_0x3a0398[_0x41fd0c(0x203)]})['on'](_0x41b2f8[_0x41fd0c(0x1dc)],()=>{_0x4205cb(_0x3238a4);});}),_0x28fcf3=new Map(),_0x22bcfa=await _0x38bb8f,_0x5f307a=(await _0x1d960e[_0x140e97(0x1e8)](_0x22bcfa))[_0x140e97(0x230)];_0x28fcf3[_0x140e97(0x1e4)](0x0,_0x22bcfa);const _0x25c186=await _0x41b2f8['hWeWW'](calculateFileMD5,_0x22bcfa),_0x549c7e={'elementType':ElementType[_0x140e97(0x1fe)],'elementId':'','videoElement':{'fileName':_0x41b2f8[_0x140e97(0x212)](_0x4775e7,_0x4bcfc9),'filePath':_0x1ff252,'videoMd5':_0x31d8dc,'thumbMd5':_0x25c186,'fileTime':_0x3a0398[_0x140e97(0x1e7)],'thumbPath':_0x28fcf3,'thumbSize':_0x5f307a,'thumbWidth':_0x3a0398[_0x140e97(0x1ed)],'thumbHeight':_0x3a0398[_0x140e97(0x203)],'fileSize':_0x41b2f8[_0x140e97(0x232)]('',_0x57f557)}};return _0x549c7e;}static async[_0x3fa4b5(0x1f8)](_0x5a56ea){const _0x36e830=_0x3fa4b5,_0x844750={'ZGaUu':function(_0xa28195,_0x41780a){return _0xa28195(_0x41780a);},'OwLMF':'语音转换失败,\x20请检查语音文件是否正常','mLIqp':function(_0x2eb9f1,_0x3237f8){return _0x2eb9f1===_0x3237f8;},'CyKMv':_0x36e830(0x221),'uXLVX':function(_0x20955b,_0x37a763){return _0x20955b||_0x37a763;}},{converted:_0x75dbc1,path:_0x3a030d,duration:_0x19aaf6}=await _0x844750[_0x36e830(0x1fc)](encodeSilk,_0x5a56ea);if(!_0x3a030d)throw _0x844750[_0x36e830(0x216)];const {md5:_0x21f91c,fileName:_0x37f4e0,path:_0x5f57f6,fileSize:_0x30ab67}=await NTQQFileApi[_0x36e830(0x222)](_0x3a030d,ElementType[_0x36e830(0x1eb)]);if(_0x844750[_0x36e830(0x1fd)](_0x30ab67,0x0))throw _0x844750[_0x36e830(0x207)];return _0x75dbc1&&_0x1d960e['unlink'](_0x3a030d)[_0x36e830(0x1ea)](),{'elementType':ElementType[_0x36e830(0x1eb)],'elementId':'','pttElement':{'fileName':_0x37f4e0,'filePath':_0x5f57f6,'md5HexStr':_0x21f91c,'fileSize':_0x30ab67,'duration':_0x844750[_0x36e830(0x224)](_0x19aaf6,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[_0x3fa4b5(0x217)](_0x5ba664){const _0x248592=_0x3fa4b5,_0x1af7a8={'EfuPD':function(_0x26ee70,_0x202a75){return _0x26ee70(_0x202a75);},'YOejT':function(_0x30e026,_0x18b5ad){return _0x30e026>=_0x18b5ad;}},_0x417bf7=_0x5e2333[_0x248592(0x20e)],_0x3a2518=_0x5e2333[_0x248592(0x1f7)],_0x462a39=_0x417bf7[_0x248592(0x213)](_0x50d7ff=>_0x50d7ff[_0x248592(0x208)]===_0x5ba664[_0x248592(0x237)]());_0x5ba664=_0x1af7a8[_0x248592(0x231)](parseInt,_0x5ba664['toString']());let _0xe2aea7=0x1;return _0x1af7a8[_0x248592(0x1fb)](_0x5ba664,0xde)&&(_0xe2aea7=0x2),_0x462a39[_0x248592(0x1fa)]&&(_0xe2aea7=0x3),{'elementType':ElementType[_0x248592(0x218)],'elementId':'','faceElement':{'faceIndex':_0x5ba664,'faceType':_0xe2aea7,'faceText':_0x462a39[_0x248592(0x1e5)],'stickerId':_0x462a39[_0x248592(0x22e)],'stickerType':_0x462a39[_0x248592(0x1fa)],'packId':_0x462a39[_0x248592(0x21c)],'sourceType':0x1}};}static['mface'](_0x41e1f2,_0x404388,_0xa87a2a,_0x26d6c1){const _0x4498df=_0x3fa4b5;return{'elementType':ElementType[_0x4498df(0x1de)],'marketFaceElement':{'emojiPackageId':_0x41e1f2,'emojiId':_0x404388,'key':_0xa87a2a,'faceName':_0x26d6c1||mFaceCache[_0x4498df(0x1e2)](_0x404388)||'[商城表情]'}};}static[_0x3fa4b5(0x238)](_0x5a9622){const _0x130885=_0x3fa4b5,_0x2c541f={'bMMUI':_0x130885(0x1f4)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x130885(0x238)],'faceType':FaceType[_0x130885(0x238)],'faceText':_0x2c541f[_0x130885(0x225)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3fa4b5(0x1f9)](_0x2ff702){const _0x176893=_0x3fa4b5,_0x56a7b1={'CcMku':'[包剪锤]'};return{'elementType':ElementType[_0x176893(0x218)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x176893(0x1ec)],'faceText':_0x56a7b1[_0x176893(0x22b)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x530129){const _0x2b0e60=_0x3fa4b5,_0xe098eb={'ZCJEJ':function(_0x4b4494,_0x5272de){return _0x4b4494!==_0x5272de;},'GvCnd':_0x2b0e60(0x1df)};return _0xe098eb['ZCJEJ'](typeof _0x530129,_0xe098eb[_0x2b0e60(0x1f2)])&&(_0x530129=JSON['stringify'](_0x530129)),{'elementType':ElementType[_0x2b0e60(0x226)],'elementId':'','arkElement':{'bytesData':_0x530129,'linkInfo':null,'subElementType':null}};}static[_0x3fa4b5(0x235)](_0x178fe9){const _0x2ce190=_0x3fa4b5;return{'elementType':ElementType[_0x2ce190(0x22a)],'elementId':'','markdownElement':{'content':_0x178fe9}};}static async[_0x3fa4b5(0x21e)](){const _0x3dd9fb=_0x3fa4b5,_0x4cbb6d={'FMAUY':function(_0x24a78f,_0x53345b){return _0x24a78f(_0x53345b);},'utfhs':_0x3dd9fb(0x206),'Tsgqk':_0x3dd9fb(0x20c),'AEPsu':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x1ead9f=await _0x4cbb6d[_0x3dd9fb(0x214)](SignMiniApp,{'prompt':'Bot\x20Test','title':'Bot\x20Test','preview':_0x3dd9fb(0x21b),'jumpUrl':_0x4cbb6d[_0x3dd9fb(0x223)],'tag':_0x4cbb6d[_0x3dd9fb(0x1e6)],'tagIcon':_0x4cbb6d[_0x3dd9fb(0x1f3)],'source':_0x4cbb6d[_0x3dd9fb(0x1e6)],'sourcelogo':_0x4cbb6d[_0x3dd9fb(0x1f3)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x1ead9f,'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 447f3342..1caadfd4 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x30b689,_0x5d81a2){var _0x44383b=_0x58e6,_0x5822fe=_0x30b689();while(!![]){try{var _0x3a26a7=parseInt(_0x44383b(0x16d))/0x1+-parseInt(_0x44383b(0x175))/0x2*(parseInt(_0x44383b(0x174))/0x3)+parseInt(_0x44383b(0x172))/0x4*(parseInt(_0x44383b(0x176))/0x5)+-parseInt(_0x44383b(0x16a))/0x6*(-parseInt(_0x44383b(0x16e))/0x7)+parseInt(_0x44383b(0x16b))/0x8+-parseInt(_0x44383b(0x16f))/0x9+-parseInt(_0x44383b(0x169))/0xa;if(_0x3a26a7===_0x5d81a2)break;else _0x5822fe['push'](_0x5822fe['shift']());}catch(_0x2c019d){_0x5822fe['push'](_0x5822fe['shift']());}}}(_0x4282,0x76c7b));export var GroupMemberRole;function _0x58e6(_0x2665d9,_0x1d89a5){var _0x428200=_0x4282();return _0x58e6=function(_0x58e6fc,_0x4ebb1a){_0x58e6fc=_0x58e6fc-0x169;var _0x3b2c9e=_0x428200[_0x58e6fc];return _0x3b2c9e;},_0x58e6(_0x2665d9,_0x1d89a5);}(function(_0x3214b9){var _0xa1a321=_0x58e6,_0xccd718={'HxPqP':'normal','WeKbl':_0xa1a321(0x173),'zxzty':_0xa1a321(0x171)};_0x3214b9[_0x3214b9[_0xccd718[_0xa1a321(0x170)]]=0x2]=_0xa1a321(0x16c),_0x3214b9[_0x3214b9[_0xccd718['WeKbl']]=0x3]=_0xccd718['WeKbl'],_0x3214b9[_0x3214b9[_0xccd718[_0xa1a321(0x177)]]=0x4]=_0xccd718[_0xa1a321(0x177)];}(GroupMemberRole||(GroupMemberRole={})));function _0x4282(){var _0x2c3ad3=['78EXciGM','30860JFSzMS','365kQrrwZ','zxzty','4262150OcaWch','2454ePCAno','421872wqIBOJ','normal','766198SXpwRA','13195eZVHwz','7453359BpLbNE','HxPqP','owner','30256nFPfRM','admin'];_0x4282=function(){return _0x2c3ad3;};return _0x4282();} \ No newline at end of file +(function(_0xa151e4,_0xdcd527){var _0x471498=_0x577b,_0x24f235=_0xa151e4();while(!![]){try{var _0x1bd627=-parseInt(_0x471498(0x18c))/0x1*(-parseInt(_0x471498(0x182))/0x2)+parseInt(_0x471498(0x185))/0x3*(parseInt(_0x471498(0x188))/0x4)+-parseInt(_0x471498(0x183))/0x5+-parseInt(_0x471498(0x189))/0x6+parseInt(_0x471498(0x180))/0x7+parseInt(_0x471498(0x18f))/0x8*(parseInt(_0x471498(0x187))/0x9)+parseInt(_0x471498(0x18d))/0xa*(parseInt(_0x471498(0x18e))/0xb);if(_0x1bd627===_0xdcd527)break;else _0x24f235['push'](_0x24f235['shift']());}catch(_0x41a730){_0x24f235['push'](_0x24f235['shift']());}}}(_0x8d90,0xca362));export var GroupMemberRole;(function(_0xe15937){var _0x3eeb8b=_0x577b,_0x1fda75={'MSadl':_0x3eeb8b(0x186),'UKdcZ':_0x3eeb8b(0x18a),'JzyMP':_0x3eeb8b(0x18b)};_0xe15937[_0xe15937[_0x1fda75[_0x3eeb8b(0x184)]]=0x2]='normal',_0xe15937[_0xe15937[_0x1fda75[_0x3eeb8b(0x17f)]]=0x3]=_0x1fda75[_0x3eeb8b(0x17f)],_0xe15937[_0xe15937[_0x1fda75['JzyMP']]=0x4]=_0x1fda75[_0x3eeb8b(0x181)];}(GroupMemberRole||(GroupMemberRole={})));function _0x577b(_0x1cf08e,_0x5d0f90){var _0x8d9069=_0x8d90();return _0x577b=function(_0x577baf,_0x374f20){_0x577baf=_0x577baf-0x17f;var _0x16a7de=_0x8d9069[_0x577baf];return _0x16a7de;},_0x577b(_0x1cf08e,_0x5d0f90);}function _0x8d90(){var _0x12b4ff=['187NFtVqf','3793288QQhRQy','UKdcZ','2223851YTmXTV','JzyMP','61532kFGpfL','2947430yAsmlO','MSadl','238182VHPFtN','normal','9kGsOuE','4RMIoXn','9220542qvbBMR','admin','owner','3ICKYnz','1171150vlSSJg'];_0x8d90=function(){return _0x12b4ff;};return _0x8d90();} \ 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 21c15e19..6370536a 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x34fa(_0x1c1f9d,_0x1ca971){var _0xce41c9=_0xce41();return _0x34fa=function(_0x34fabd,_0x5d5490){_0x34fabd=_0x34fabd-0x167;var _0x34cb05=_0xce41c9[_0x34fabd];return _0x34cb05;},_0x34fa(_0x1c1f9d,_0x1ca971);}(function(_0x2512b0,_0x32b067){var _0x294828=_0x34fa,_0x3d4345=_0x2512b0();while(!![]){try{var _0x1027f2=-parseInt(_0x294828(0x16c))/0x1*(-parseInt(_0x294828(0x16f))/0x2)+parseInt(_0x294828(0x170))/0x3*(parseInt(_0x294828(0x167))/0x4)+parseInt(_0x294828(0x171))/0x5*(parseInt(_0x294828(0x173))/0x6)+-parseInt(_0x294828(0x16e))/0x7*(parseInt(_0x294828(0x16a))/0x8)+-parseInt(_0x294828(0x168))/0x9*(parseInt(_0x294828(0x16d))/0xa)+-parseInt(_0x294828(0x172))/0xb+parseInt(_0x294828(0x169))/0xc*(parseInt(_0x294828(0x16b))/0xd);if(_0x1027f2===_0x32b067)break;else _0x3d4345['push'](_0x3d4345['shift']());}catch(_0x5968d6){_0x3d4345['push'](_0x3d4345['shift']());}}}(_0xce41,0xdabc0));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0xce41(){var _0xb5e25d=['2426065hIRxoG','10551167yrNvMf','12hVnCuL','608340qvzReq','8268687xtuBCR','58932rwsISc','24RKUdSS','7020bKHnvn','167qSvgFO','10vjstva','2967104QIEAgm','3246JPRUST','3gtpdNR'];_0xce41=function(){return _0xb5e25d;};return _0xce41();} \ No newline at end of file +(function(_0x3aa231,_0x423156){var _0x18cb28=_0x2c29,_0x23581c=_0x3aa231();while(!![]){try{var _0x3b9ac2=parseInt(_0x18cb28(0x7a))/0x1+parseInt(_0x18cb28(0x7d))/0x2*(parseInt(_0x18cb28(0x7f))/0x3)+parseInt(_0x18cb28(0x79))/0x4+-parseInt(_0x18cb28(0x80))/0x5+-parseInt(_0x18cb28(0x7b))/0x6+parseInt(_0x18cb28(0x78))/0x7+-parseInt(_0x18cb28(0x7c))/0x8*(parseInt(_0x18cb28(0x7e))/0x9);if(_0x3b9ac2===_0x423156)break;else _0x23581c['push'](_0x23581c['shift']());}catch(_0x1e7c53){_0x23581c['push'](_0x23581c['shift']());}}}(_0x29ae,0xbb4db));export*from'./user';export*from'./group';export*from'./msg';function _0x29ae(){var _0x46823a=['37222OHwsqc','9YFfyVP','132akGTtA','211280sHtnNu','1379609OtqrHt','4292244khgLRL','586570kRqICv','1534446FHZhDh','12883280ushuQC'];_0x29ae=function(){return _0x46823a;};return _0x29ae();}function _0x2c29(_0x1f90c5,_0x11d256){var _0x29aeef=_0x29ae();return _0x2c29=function(_0x2c292a,_0x26f103){_0x2c292a=_0x2c292a-0x78;var _0x40c346=_0x29aeef[_0x2c292a];return _0x40c346;},_0x2c29(_0x1f90c5,_0x11d256);}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 fdb7ef4e..88e3b3cf 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -function _0x5377(){var _0x467d3d=['EVCjH','INVITE_NEW_MEMBER','ppdBC','VcpoX','ban','dmztD','QYlxB','PIC','VIDEO','SiCbT','REPLY','uDikd','21uyAohk','jpg','AdEoz','atUser','temp','AxiKK','normal2','face','JBsVJ','WMvui','gXKhC','60ObtBIp','GRNlD','KAsjT','150iTNeoz','PTT','179941Zswpkw','4098TswPNE','xLJGt','11EcEpFX','834584FVkhLQ','425466TNXJSm','FACE','MARKDOWN','dice','4827300StTGYs','uZfWn','MEMBER_NEW_TITLE','FILE','PbHnN','group','ARK','UlBiE','2180RkmGKV','TEXT','VkmrK','normal','oOpsK','xxodo','MFACE','DIUGo','5336wfSkGB','7|0|6|2|9|8|1|4|5|3','friend','https://gchat.qpic.cn','split','xeadr','gif','notAt','ngfal','21418wZyoHI'];_0x5377=function(){return _0x467d3d;};return _0x5377();}var _0x43e3e1=_0x1ba7;(function(_0x2b23c4,_0x4bbe27){var _0x5f6938=_0x1ba7,_0xff3e65=_0x2b23c4();while(!![]){try{var _0x5ad32d=parseInt(_0x5f6938(0xc4))/0x1+-parseInt(_0x5f6938(0xe6))/0x2+parseInt(_0x5f6938(0xc2))/0x3*(-parseInt(_0x5f6938(0xdd))/0x4)+-parseInt(_0x5f6938(0xd5))/0x5*(parseInt(_0x5f6938(0xc5))/0x6)+-parseInt(_0x5f6938(0xb4))/0x7*(parseInt(_0x5f6938(0xc8))/0x8)+-parseInt(_0x5f6938(0xc9))/0x9*(-parseInt(_0x5f6938(0xbf))/0xa)+parseInt(_0x5f6938(0xc7))/0xb*(parseInt(_0x5f6938(0xcd))/0xc);if(_0x5ad32d===_0x4bbe27)break;else _0xff3e65['push'](_0xff3e65['shift']());}catch(_0x5d4418){_0xff3e65['push'](_0xff3e65['shift']());}}}(_0x5377,0x2b61e));export var ElementType;(function(_0x225ce2){var _0x20d1c9=_0x1ba7,_0x3fb4f7={'xLJGt':_0x20d1c9(0xde),'ppdBC':_0x20d1c9(0xee),'GRNlD':_0x20d1c9(0xcb),'UlBiE':_0x20d1c9(0xd3),'DIUGo':_0x20d1c9(0xdb),'EVCjH':_0x20d1c9(0xd0),'AdEoz':_0x20d1c9(0xd6),'KAsjT':_0x20d1c9(0xca),'nSIpI':'VIDEO'},_0x399677=_0x3fb4f7[_0x20d1c9(0xc6)][_0x20d1c9(0xe1)]('|'),_0x4c0595=0x0;while(!![]){switch(_0x399677[_0x4c0595++]){case'0':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xe9)]]=0x2]='PIC';continue;case'1':_0x225ce2[_0x225ce2[_0x20d1c9(0xb2)]=0x7]=_0x20d1c9(0xb2);continue;case'2':_0x225ce2[_0x225ce2[_0x20d1c9(0xc3)]=0x4]=_0x20d1c9(0xc3);continue;case'3':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xc0)]]=0xe]=_0x3fb4f7[_0x20d1c9(0xc0)];continue;case'4':_0x225ce2[_0x225ce2[_0x3fb4f7['UlBiE']]=0xa]=_0x3fb4f7[_0x20d1c9(0xd4)];continue;case'5':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xdc)]]=0xb]=_0x3fb4f7['DIUGo'];continue;case'6':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xe7)]]=0x3]=_0x20d1c9(0xd0);continue;case'7':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xb6)]]=0x1]=_0x3fb4f7['AdEoz'];continue;case'8':_0x225ce2[_0x225ce2[_0x3fb4f7[_0x20d1c9(0xc1)]]=0x6]=_0x3fb4f7[_0x20d1c9(0xc1)];continue;case'9':_0x225ce2[_0x225ce2[_0x3fb4f7['nSIpI']]=0x5]=_0x20d1c9(0xef);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x3ba5d4){var _0x936ab5=_0x1ba7,_0x4641ec={'uZfWn':_0x936ab5(0xb5)};_0x3ba5d4[_0x3ba5d4[_0x936ab5(0xe3)]=0x7d0]=_0x936ab5(0xe3),_0x3ba5d4[_0x3ba5d4[_0x4641ec[_0x936ab5(0xce)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;function _0x1ba7(_0x453052,_0x12f95f){var _0x537738=_0x5377();return _0x1ba7=function(_0x1ba73f,_0x34508b){_0x1ba73f=_0x1ba73f-0xb1;var _0x520752=_0x537738[_0x1ba73f];return _0x520752;},_0x1ba7(_0x453052,_0x12f95f);}(function(_0x120b96){var _0x296556=_0x1ba7,_0x2989f1={'oOpsK':_0x296556(0xd8),'WdVoq':_0x296556(0xbb)};_0x120b96[_0x120b96[_0x2989f1[_0x296556(0xd9)]]=0x0]=_0x2989f1[_0x296556(0xd9)],_0x120b96[_0x120b96[_0x2989f1['WdVoq']]=0x1]=_0x296556(0xbb);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1fee66){var _0x3f1cef=_0x1ba7,_0xcdb048={'UEaeH':_0x3f1cef(0xe4),'WMvui':'atAll','JBsVJ':_0x3f1cef(0xb7)};_0x1fee66[_0x1fee66[_0xcdb048['UEaeH']]=0x0]=_0x3f1cef(0xe4),_0x1fee66[_0x1fee66[_0xcdb048['WMvui']]=0x1]=_0xcdb048[_0x3f1cef(0xbd)],_0x1fee66[_0x1fee66[_0xcdb048[_0x3f1cef(0xbc)]]=0x2]=_0xcdb048['JBsVJ'];}(AtType||(AtType={})));export var ChatType;(function(_0xd587a4){var _0x60c7eb=_0x1ba7,_0x41f4a0={'AxiKK':'friend','gXKhC':_0x60c7eb(0xd2),'PbHnN':'chatDevice','FTzAR':_0x60c7eb(0xb8)};_0xd587a4[_0xd587a4[_0x60c7eb(0xdf)]=0x1]=_0x41f4a0[_0x60c7eb(0xb9)],_0xd587a4[_0xd587a4[_0x41f4a0[_0x60c7eb(0xbe)]]=0x2]=_0x60c7eb(0xd2),_0xd587a4[_0xd587a4[_0x41f4a0['PbHnN']]=0x8]=_0x41f4a0[_0x60c7eb(0xd1)],_0xd587a4[_0xd587a4[_0x41f4a0['FTzAR']]=0x64]=_0x41f4a0['FTzAR'];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x43e3e1(0xe0);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x357932){var _0x488807=_0x43e3e1,_0x3267f7={'xxodo':_0x488807(0xe8),'VkmrK':_0x488807(0xcf)};_0x357932[_0x357932[_0x3267f7[_0x488807(0xda)]]=0xc]=_0x3267f7[_0x488807(0xda)],_0x357932[_0x357932[_0x3267f7['VkmrK']]=0x11]=_0x3267f7[_0x488807(0xd7)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x9270b3){var _0x3988e8=_0x43e3e1,_0x34d181={'dmztD':_0x3988e8(0xd8),'uDikd':_0x3988e8(0xba),'QYlxB':'dice'};_0x9270b3[_0x9270b3[_0x34d181['dmztD']]=0x1]=_0x34d181[_0x3988e8(0xec)],_0x9270b3[_0x9270b3[_0x34d181[_0x3988e8(0xb3)]]=0x2]=_0x34d181['uDikd'],_0x9270b3[_0x9270b3[_0x34d181[_0x3988e8(0xed)]]=0x3]=_0x34d181[_0x3988e8(0xed)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4e7a8b){var _0x17a15e=_0x43e3e1,_0x40c423={'IBCWL':_0x17a15e(0xcc),'xeadr':'RPS'};_0x4e7a8b[_0x4e7a8b[_0x17a15e(0xcc)]=0x166]=_0x40c423['IBCWL'],_0x4e7a8b[_0x4e7a8b[_0x40c423[_0x17a15e(0xe2)]]=0x167]=_0x40c423['xeadr'];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x1866fe){var _0x5c6106=_0x43e3e1,_0x57415c={'VcpoX':'memberIncrease','ngfal':'kicked','SiCbT':_0x5c6106(0xeb)};_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xea)]]=0x1]=_0x57415c[_0x5c6106(0xea)],_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xe5)]]=0x3]=_0x57415c[_0x5c6106(0xe5)],_0x1866fe[_0x1866fe[_0x57415c[_0x5c6106(0xb1)]]=0x8]=_0x57415c[_0x5c6106(0xb1)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x9bb1a9=_0x279c;(function(_0x2205c4,_0x3c32f0){var _0x4767ff=_0x279c,_0x1575af=_0x2205c4();while(!![]){try{var _0x200f29=parseInt(_0x4767ff(0x12b))/0x1+parseInt(_0x4767ff(0x139))/0x2+parseInt(_0x4767ff(0x129))/0x3*(parseInt(_0x4767ff(0x122))/0x4)+-parseInt(_0x4767ff(0x10c))/0x5*(parseInt(_0x4767ff(0x133))/0x6)+parseInt(_0x4767ff(0x134))/0x7*(parseInt(_0x4767ff(0x12e))/0x8)+-parseInt(_0x4767ff(0x10e))/0x9*(-parseInt(_0x4767ff(0x125))/0xa)+parseInt(_0x4767ff(0x12d))/0xb*(-parseInt(_0x4767ff(0x104))/0xc);if(_0x200f29===_0x3c32f0)break;else _0x1575af['push'](_0x1575af['shift']());}catch(_0x18310d){_0x1575af['push'](_0x1575af['shift']());}}}(_0x1966,0x83362));export var ElementType;function _0x279c(_0x167937,_0x1b9bbd){var _0x196622=_0x1966();return _0x279c=function(_0x279cca,_0xd12146){_0x279cca=_0x279cca-0xf8;var _0x489cb1=_0x196622[_0x279cca];return _0x489cb1;},_0x279c(_0x167937,_0x1b9bbd);}(function(_0x310c9a){var _0x8e0d9b=_0x279c,_0x594df6={'mPFfE':_0x8e0d9b(0x136),'fLsBH':_0x8e0d9b(0x10d),'bvzaS':_0x8e0d9b(0x10f),'liOMw':_0x8e0d9b(0x110),'hhNZv':_0x8e0d9b(0x120),'wUcsL':_0x8e0d9b(0xff),'CxueW':_0x8e0d9b(0x123),'klbww':'REPLY','jvtfr':_0x8e0d9b(0x131),'MfqmS':_0x8e0d9b(0x106)},_0x489391=_0x594df6[_0x8e0d9b(0xfb)]['split']('|'),_0x4e9609=0x0;while(!![]){switch(_0x489391[_0x4e9609++]){case'0':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x127)]]=0x5]=_0x594df6[_0x8e0d9b(0x127)];continue;case'1':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x130)]]=0xa]=_0x594df6[_0x8e0d9b(0x130)];continue;case'2':_0x310c9a[_0x310c9a[_0x594df6['liOMw']]=0x2]=_0x594df6[_0x8e0d9b(0x108)];continue;case'3':_0x310c9a[_0x310c9a[_0x594df6['hhNZv']]=0xb]=_0x594df6[_0x8e0d9b(0x11d)];continue;case'4':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x11c)]]=0xe]=_0x594df6[_0x8e0d9b(0x11c)];continue;case'5':_0x310c9a[_0x310c9a[_0x8e0d9b(0x123)]=0x1]=_0x594df6[_0x8e0d9b(0x113)];continue;case'6':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x118)]]=0x7]=_0x594df6[_0x8e0d9b(0x118)];continue;case'7':_0x310c9a[_0x310c9a['FILE']=0x3]=_0x594df6[_0x8e0d9b(0x12a)];continue;case'8':_0x310c9a[_0x310c9a[_0x594df6[_0x8e0d9b(0x114)]]=0x6]=_0x594df6['MfqmS'];continue;case'9':_0x310c9a[_0x310c9a[_0x8e0d9b(0x111)]=0x4]='PTT';continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x12bdc1){var _0x260c31=_0x279c,_0xb46234={'aBifw':_0x260c31(0x101),'OOpHM':_0x260c31(0x115)};_0x12bdc1[_0x12bdc1[_0xb46234[_0x260c31(0xf8)]]=0x7d0]=_0x260c31(0x101),_0x12bdc1[_0x12bdc1[_0xb46234['OOpHM']]=0x3e8]=_0xb46234[_0x260c31(0x11b)];}(PicType||(PicType={})));export var PicSubType;(function(_0x1a7fc2){var _0x10c48d=_0x279c,_0x81405e={'YbrBk':_0x10c48d(0x100),'ONCsp':_0x10c48d(0x121)};_0x1a7fc2[_0x1a7fc2[_0x10c48d(0x100)]=0x0]=_0x81405e[_0x10c48d(0x116)],_0x1a7fc2[_0x1a7fc2[_0x81405e[_0x10c48d(0xfc)]]=0x1]=_0x81405e[_0x10c48d(0xfc)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x955e78){var _0x4f766e=_0x279c,_0x1aa3dd={'csFNP':'atAll','rfYMf':'atUser'};_0x955e78[_0x955e78[_0x4f766e(0x11a)]=0x0]=_0x4f766e(0x11a),_0x955e78[_0x955e78[_0x4f766e(0xfd)]=0x1]=_0x1aa3dd[_0x4f766e(0xfe)],_0x955e78[_0x955e78[_0x1aa3dd[_0x4f766e(0x132)]]=0x2]=_0x1aa3dd[_0x4f766e(0x132)];}(AtType||(AtType={})));export var ChatType;(function(_0x5b7b0d){var _0x2540eb=_0x279c,_0x5d2ad6={'QKnwb':_0x2540eb(0x124),'ghkdJ':'group','SioOB':'chatDevice','AcLYJ':_0x2540eb(0x128)};_0x5b7b0d[_0x5b7b0d[_0x5d2ad6[_0x2540eb(0x10a)]]=0x1]=_0x5d2ad6[_0x2540eb(0x10a)],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6['ghkdJ']]=0x2]=_0x5d2ad6[_0x2540eb(0x102)],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6['SioOB']]=0x8]=_0x5d2ad6['SioOB'],_0x5b7b0d[_0x5b7b0d[_0x5d2ad6[_0x2540eb(0x107)]]=0x64]=_0x5d2ad6[_0x2540eb(0x107)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x9bb1a9(0x112);export const IMAGE_HTTP_HOST_NT=_0x9bb1a9(0x119);export var GrayTipElementSubType;(function(_0x3854ae){var _0x51cc20=_0x9bb1a9,_0x28ff5c={'DyUbb':_0x51cc20(0x103),'Eqjer':_0x51cc20(0x11e)};_0x3854ae[_0x3854ae[_0x28ff5c[_0x51cc20(0xf9)]]=0xc]=_0x51cc20(0x103),_0x3854ae[_0x3854ae[_0x51cc20(0x11e)]=0x11]=_0x28ff5c[_0x51cc20(0x117)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x1966(){var _0x507c6f=['9422xHZAVh','VlKyD','5|2|7|9|0|8|6|1|3|4','dice','cOqQJ','2022470GPMxvd','aBifw','DyUbb','ban','mPFfE','ONCsp','atAll','csFNP','MARKDOWN','normal','gif','ghkdJ','INVITE_NEW_MEMBER','43452trmIol','kicked','FACE','AcLYJ','liOMw','BUVyZ','QKnwb','ThpPF','50bILNUE','VIDEO','9402957ngsTMZ','ARK','PIC','PTT','https://gchat.qpic.cn','CxueW','MfqmS','jpg','YbrBk','Eqjer','klbww','https://multimedia.nt.qq.com.cn','notAt','OOpHM','wUcsL','hhNZv','MEMBER_NEW_TITLE','normal2','MFACE','face','175080MzSvQX','TEXT','friend','10uFUwXW','RPS','fLsBH','temp','30aLAfVA','jvtfr','324241mDLbgX','QWYwq','6303xHcXuP','3768qDAxpU','WrzrG','bvzaS','FILE','rfYMf','503784ffWngX'];_0x1966=function(){return _0x507c6f;};return _0x1966();}(function(_0x25bc54){var _0x2b1c0b=_0x9bb1a9,_0x375b8e={'ThpPF':_0x2b1c0b(0x100),'cOqQJ':'dice'};_0x25bc54[_0x25bc54[_0x2b1c0b(0x100)]=0x1]=_0x375b8e[_0x2b1c0b(0x10b)],_0x25bc54[_0x25bc54[_0x2b1c0b(0x11f)]=0x2]=_0x2b1c0b(0x11f),_0x25bc54[_0x25bc54[_0x375b8e[_0x2b1c0b(0x138)]]=0x3]=_0x375b8e[_0x2b1c0b(0x138)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x202244){var _0x28414f=_0x9bb1a9,_0x4a4078={'QWYwq':'dice','WrzrG':'RPS'};_0x202244[_0x202244[_0x4a4078[_0x28414f(0x12c)]]=0x166]=_0x28414f(0x137),_0x202244[_0x202244[_0x4a4078[_0x28414f(0x12f)]]=0x167]=_0x28414f(0x126);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x11a4c6){var _0x199e51=_0x9bb1a9,_0x44707c={'iJciQ':'memberIncrease','VlKyD':_0x199e51(0x105),'BUVyZ':'ban'};_0x11a4c6[_0x11a4c6[_0x44707c['iJciQ']]=0x1]=_0x44707c['iJciQ'],_0x11a4c6[_0x11a4c6[_0x44707c['VlKyD']]=0x3]=_0x44707c[_0x199e51(0x135)],_0x11a4c6[_0x11a4c6[_0x199e51(0xfa)]=0x8]=_0x44707c[_0x199e51(0x109)];}(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 d29b0b1b..3a79e870 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x4eea44,_0x37cc4){var _0x1266ec=_0x9670,_0x5aa2d6=_0x4eea44();while(!![]){try{var _0x59e5ca=-parseInt(_0x1266ec(0xbf))/0x1*(parseInt(_0x1266ec(0xca))/0x2)+parseInt(_0x1266ec(0xb6))/0x3+-parseInt(_0x1266ec(0xc6))/0x4*(-parseInt(_0x1266ec(0xb3))/0x5)+-parseInt(_0x1266ec(0xb5))/0x6+-parseInt(_0x1266ec(0xd2))/0x7*(parseInt(_0x1266ec(0xc1))/0x8)+-parseInt(_0x1266ec(0xbe))/0x9*(parseInt(_0x1266ec(0xce))/0xa)+parseInt(_0x1266ec(0xcf))/0xb*(-parseInt(_0x1266ec(0xcd))/0xc);if(_0x59e5ca===_0x37cc4)break;else _0x5aa2d6['push'](_0x5aa2d6['shift']());}catch(_0x1d0f57){_0x5aa2d6['push'](_0x5aa2d6['shift']());}}}(_0x2e38,0x7f439));export var GroupNotifyTypes;(function(_0x1caa97){var _0x34858e=_0x9670,_0x206e79={'AImWB':_0x34858e(0xb7),'MLrjQ':_0x34858e(0xb8),'pwZkQ':_0x34858e(0xd0),'IzQhY':'JOIN_REQUEST','GRmFK':'ADMIN_SET','DwnAm':_0x34858e(0xc7),'MaYEe':_0x34858e(0xbd),'mdeSZ':_0x34858e(0xc4),'SHMeX':_0x34858e(0xc3)},_0x5e84a7=_0x206e79['AImWB'][_0x34858e(0xcb)]('|'),_0xf55c8c=0x0;while(!![]){switch(_0x5e84a7[_0xf55c8c++]){case'0':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xd1)]]=0xd]='ADMIN_UNSET_OTHER';continue;case'1':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xba)]]=0x4]=_0x206e79['pwZkQ'];continue;case'2':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xc8)]]=0x7]=_0x206e79[_0x34858e(0xc8)];continue;case'3':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xb1)]]=0x8]='ADMIN_SET';continue;case'4':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xc0)]]=0xc]=_0x206e79['DwnAm'];continue;case'5':_0x1caa97[_0x1caa97[_0x206e79[_0x34858e(0xcc)]]=0x1]=_0x206e79[_0x34858e(0xcc)];continue;case'6':_0x1caa97[_0x1caa97[_0x206e79['mdeSZ']]=0xb]=_0x34858e(0xc4);continue;case'7':_0x1caa97[_0x1caa97[_0x206e79['SHMeX']]=0x9]=_0x206e79['SHMeX'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x24cf6e){var _0x56169f=_0x9670,_0xc7498={'rCUXj':_0x56169f(0xd3),'RLjBt':_0x56169f(0xb4),'yWfvU':_0x56169f(0xb9)};_0x24cf6e[_0x24cf6e[_0xc7498[_0x56169f(0xd4)]]=0x0]=_0xc7498[_0x56169f(0xd4)],_0x24cf6e[_0x24cf6e[_0x56169f(0xb4)]=0x1]=_0xc7498[_0x56169f(0xc5)],_0x24cf6e[_0x24cf6e['APPROVE']=0x2]=_0x56169f(0xbb),_0x24cf6e[_0x24cf6e[_0xc7498[_0x56169f(0xb0)]]=0x3]=_0xc7498['yWfvU'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x2e38(){var _0x397d2d=['rJSLW','6pShsyE','split','MaYEe','996rwXjby','90dsKJZG','4488uCtWSU','INVITED_JOIN','MLrjQ','807562JjJIFg','IGNORE','rCUXj','yWfvU','GRmFK','approve','25YfCpKS','WAIT_HANDLE','1131426djweuU','2501454qwRdSf','5|1|2|3|7|6|4|0','ADMIN_UNSET_OTHER','REJECT','pwZkQ','APPROVE','ncPMo','INVITE_ME','144225xFfORn','147713yQiNhY','DwnAm','8nMVVPZ','reject','KICK_MEMBER','MEMBER_EXIT','RLjBt','490096VosbQY','ADMIN_UNSET','IzQhY'];_0x2e38=function(){return _0x397d2d;};return _0x2e38();}function _0x9670(_0x5ca7fd,_0x535cd0){var _0x2e38c1=_0x2e38();return _0x9670=function(_0x967032,_0x1fdd0c){_0x967032=_0x967032-0xb0;var _0x40d7d2=_0x2e38c1[_0x967032];return _0x40d7d2;},_0x9670(_0x5ca7fd,_0x535cd0);}(function(_0x3dfbf4){var _0x2928ad=_0x9670,_0x8b1b27={'ncPMo':_0x2928ad(0xb2),'rJSLW':_0x2928ad(0xc2)};_0x3dfbf4[_0x3dfbf4[_0x8b1b27[_0x2928ad(0xbc)]]=0x1]=_0x8b1b27[_0x2928ad(0xbc)],_0x3dfbf4[_0x3dfbf4[_0x8b1b27[_0x2928ad(0xc9)]]=0x2]=_0x8b1b27[_0x2928ad(0xc9)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x384e42,_0x17af2c){var _0x3bb90b=_0x425f,_0x3cd77b=_0x384e42();while(!![]){try{var _0x552618=parseInt(_0x3bb90b(0xbf))/0x1*(parseInt(_0x3bb90b(0xaa))/0x2)+parseInt(_0x3bb90b(0xaf))/0x3*(parseInt(_0x3bb90b(0xa3))/0x4)+-parseInt(_0x3bb90b(0xb7))/0x5+parseInt(_0x3bb90b(0xa8))/0x6+-parseInt(_0x3bb90b(0xbe))/0x7*(-parseInt(_0x3bb90b(0xc3))/0x8)+-parseInt(_0x3bb90b(0xba))/0x9*(parseInt(_0x3bb90b(0xa6))/0xa)+-parseInt(_0x3bb90b(0xa2))/0xb;if(_0x552618===_0x17af2c)break;else _0x3cd77b['push'](_0x3cd77b['shift']());}catch(_0x54d477){_0x3cd77b['push'](_0x3cd77b['shift']());}}}(_0x8831,0xaa1bc));export var GroupNotifyTypes;(function(_0x47517e){var _0x45dbb7=_0x425f,_0x304a09={'RgqYz':_0x45dbb7(0xa9),'IzVWG':_0x45dbb7(0xc2),'KoMDj':_0x45dbb7(0xa1),'kXHAJ':_0x45dbb7(0xbc),'hvYVG':_0x45dbb7(0xc0),'lXpWP':_0x45dbb7(0xb2),'JSkRX':'MEMBER_EXIT','csCrI':'KICK_MEMBER'},_0x42e406=_0x45dbb7(0xab)[_0x45dbb7(0xb1)]('|'),_0x24c11d=0x0;while(!![]){switch(_0x42e406[_0x24c11d++]){case'0':_0x47517e[_0x47517e[_0x304a09['RgqYz']]=0xc]='ADMIN_UNSET';continue;case'1':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb0)]]=0x1]=_0x304a09[_0x45dbb7(0xb0)];continue;case'2':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb3)]]=0x4]=_0x304a09[_0x45dbb7(0xb3)];continue;case'3':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xa7)]]=0x8]=_0x304a09[_0x45dbb7(0xa7)];continue;case'4':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xae)]]=0x7]=_0x304a09[_0x45dbb7(0xae)];continue;case'5':_0x47517e[_0x47517e[_0x45dbb7(0xb2)]=0xd]=_0x304a09[_0x45dbb7(0xb8)];continue;case'6':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xc1)]]=0xb]='MEMBER_EXIT';continue;case'7':_0x47517e[_0x47517e[_0x304a09[_0x45dbb7(0xb6)]]=0x9]=_0x304a09['csCrI'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x8831(){var _0x1131c8=['iEMSk','csCrI','4058420qTlgJY','lXpWP','icxaX','9cgSpCC','approve','ADMIN_SET','WahXv','21MaPftu','23jRYaJX','JOIN_REQUEST','JSkRX','INVITE_ME','2692376Tykntr','WAIT_HANDLE','INVITED_JOIN','937739qnLoqL','721480CmurVf','APPROVE','IGNORE','12107870sXZgSY','kXHAJ','2130ZeCGWg','ADMIN_UNSET','46252VvrOQJ','1|2|4|3|7|6|0|5','reject','NmJsK','hvYVG','21YzzcOh','IzVWG','split','ADMIN_UNSET_OTHER','KoMDj','DjpLd'];_0x8831=function(){return _0x1131c8;};return _0x8831();}(function(_0x3714aa){var _0x59d786=_0x425f,_0x49529a={'iEMSk':'IGNORE','lXibg':_0x59d786(0xa0),'icxaX':_0x59d786(0xa4),'DjpLd':'REJECT'};_0x3714aa[_0x3714aa[_0x59d786(0xa5)]=0x0]=_0x49529a[_0x59d786(0xb5)],_0x3714aa[_0x3714aa['WAIT_HANDLE']=0x1]=_0x49529a['lXibg'],_0x3714aa[_0x3714aa[_0x49529a[_0x59d786(0xb9)]]=0x2]='APPROVE',_0x3714aa[_0x3714aa[_0x49529a[_0x59d786(0xb4)]]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x425f(_0x2d79dd,_0x281276){var _0x883123=_0x8831();return _0x425f=function(_0x425f74,_0x416b03){_0x425f74=_0x425f74-0xa0;var _0x30bf5a=_0x883123[_0x425f74];return _0x30bf5a;},_0x425f(_0x2d79dd,_0x281276);}(function(_0x409dcf){var _0x10abc8=_0x425f,_0x219438={'NmJsK':_0x10abc8(0xbb),'WahXv':_0x10abc8(0xac)};_0x409dcf[_0x409dcf[_0x219438[_0x10abc8(0xad)]]=0x1]='approve',_0x409dcf[_0x409dcf[_0x219438[_0x10abc8(0xbd)]]=0x2]=_0x10abc8(0xac);}(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 33b22ced..0a135451 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x3f9c2b,_0x3f2a86){var _0x5913ed=_0x5399,_0x5b43a1=_0x3f9c2b();while(!![]){try{var _0x5a680b=parseInt(_0x5913ed(0xc2))/0x1*(parseInt(_0x5913ed(0xc9))/0x2)+-parseInt(_0x5913ed(0xbe))/0x3*(-parseInt(_0x5913ed(0xbc))/0x4)+parseInt(_0x5913ed(0xbd))/0x5*(-parseInt(_0x5913ed(0xba))/0x6)+-parseInt(_0x5913ed(0xb9))/0x7*(parseInt(_0x5913ed(0xc0))/0x8)+parseInt(_0x5913ed(0xc7))/0x9*(parseInt(_0x5913ed(0xc3))/0xa)+parseInt(_0x5913ed(0xbf))/0xb*(-parseInt(_0x5913ed(0xc1))/0xc)+parseInt(_0x5913ed(0xc8))/0xd;if(_0x5a680b===_0x3f2a86)break;else _0x5b43a1['push'](_0x5b43a1['shift']());}catch(_0x2dcbab){_0x5b43a1['push'](_0x5b43a1['shift']());}}}(_0x2a00,0x50fbc));function _0x5399(_0x11c12e,_0x3997f8){var _0x2a0000=_0x2a00();return _0x5399=function(_0x53993e,_0x82de){_0x53993e=_0x53993e-0xb9;var _0x3ae8a3=_0x2a0000[_0x53993e];return _0x3ae8a3;},_0x5399(_0x11c12e,_0x3997f8);}export var Sex;(function(_0x5f51b3){var _0x5fed3e=_0x5399,_0x51d6b5={'XcnHD':_0x5fed3e(0xca),'FJELB':'female','qyYsO':_0x5fed3e(0xcb)};_0x5f51b3[_0x5f51b3[_0x51d6b5[_0x5fed3e(0xc5)]]=0x1]=_0x5fed3e(0xca),_0x5f51b3[_0x5f51b3[_0x5fed3e(0xbb)]=0x2]=_0x51d6b5[_0x5fed3e(0xc6)],_0x5f51b3[_0x5f51b3[_0x51d6b5[_0x5fed3e(0xc4)]]=0xff]=_0x51d6b5['qyYsO'];}(Sex||(Sex={})));function _0x2a00(){var _0x141539=['FJELB','261ySKeBa','9354371gzdgsF','64098ecUxUv','male','unknown','4207WcKTpO','30aBwmie','female','4gmlZyN','286045oVatfj','486420NAHVkZ','34683TeAozz','6704AduqMO','1680UgnOoa','17azEXXN','46990fbzDtP','qyYsO','XcnHD'];_0x2a00=function(){return _0x141539;};return _0x2a00();} \ No newline at end of file +function _0x381c(){var _0x4d78ca=['5300fccGlF','QHBqP','26081mhuIuS','vHoHP','male','15WnMjHm','48bFsgHO','2266425QzNfsU','4258128iWWRIU','755766DBLdqJ','4333242CSNVcC','14VfrmmP','857052XtrRqc','151966ZCmmCB'];_0x381c=function(){return _0x4d78ca;};return _0x381c();}(function(_0x2194ae,_0x19fc34){var _0x59ab17=_0x34f3,_0x2bbc66=_0x2194ae();while(!![]){try{var _0x59fe10=parseInt(_0x59ab17(0xc3))/0x1*(-parseInt(_0x59ab17(0xcf))/0x2)+-parseInt(_0x59ab17(0xcb))/0x3+-parseInt(_0x59ab17(0xc2))/0x4*(parseInt(_0x59ab17(0xc9))/0x5)+parseInt(_0x59ab17(0xce))/0x6+parseInt(_0x59ab17(0xcc))/0x7+-parseInt(_0x59ab17(0xca))/0x8*(-parseInt(_0x59ab17(0xcd))/0x9)+-parseInt(_0x59ab17(0xc4))/0xa*(-parseInt(_0x59ab17(0xc6))/0xb);if(_0x59fe10===_0x19fc34)break;else _0x2bbc66['push'](_0x2bbc66['shift']());}catch(_0x8a5013){_0x2bbc66['push'](_0x2bbc66['shift']());}}}(_0x381c,0x998df));export var Sex;function _0x34f3(_0x1c28cb,_0x324e9a){var _0x381c33=_0x381c();return _0x34f3=function(_0x34f31e,_0x557511){_0x34f31e=_0x34f31e-0xc2;var _0x5a521a=_0x381c33[_0x34f31e];return _0x5a521a;},_0x34f3(_0x1c28cb,_0x324e9a);}(function(_0x35b7b9){var _0x1c7c13=_0x34f3,_0x2abfb1={'QHBqP':_0x1c7c13(0xc8),'wgoAN':'female','vHoHP':'unknown'};_0x35b7b9[_0x35b7b9[_0x2abfb1[_0x1c7c13(0xc5)]]=0x1]=_0x2abfb1[_0x1c7c13(0xc5)],_0x35b7b9[_0x35b7b9[_0x2abfb1['wgoAN']]=0x2]='female',_0x35b7b9[_0x35b7b9[_0x2abfb1[_0x1c7c13(0xc7)]]=0xff]=_0x2abfb1['vHoHP'];}(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 0cd12d15..7538abc9 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x2c8ede,_0x3d78e2){var _0x1c916a=_0x1214,_0x349349=_0x2c8ede();while(!![]){try{var _0x44e494=-parseInt(_0x1c916a(0x6c))/0x1+parseInt(_0x1c916a(0x70))/0x2*(-parseInt(_0x1c916a(0x71))/0x3)+-parseInt(_0x1c916a(0x73))/0x4*(-parseInt(_0x1c916a(0x75))/0x5)+-parseInt(_0x1c916a(0x6e))/0x6+-parseInt(_0x1c916a(0x6d))/0x7*(-parseInt(_0x1c916a(0x6b))/0x8)+-parseInt(_0x1c916a(0x72))/0x9+parseInt(_0x1c916a(0x74))/0xa*(parseInt(_0x1c916a(0x6f))/0xb);if(_0x44e494===_0x3d78e2)break;else _0x349349['push'](_0x349349['shift']());}catch(_0xa5635b){_0x349349['push'](_0x349349['shift']());}}}(_0x1113,0x38833));import _0x1610dc from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x1214(_0x38525f,_0x16591b){var _0x111331=_0x1113();return _0x1214=function(_0x1214eb,_0x2932aa){_0x1214eb=_0x1214eb-0x6b;var _0x3be810=_0x111331[_0x1214eb];return _0x3be810;},_0x1214(_0x38525f,_0x16591b);}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{_0x1610dc as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1113(){var _0x23cb86=['902168IjdDza','329318IhtMmw','7PBzcxL','1483386HVhDsL','11699325AjdRMp','715682PsbwSV','3KfZzgM','2610126uCgVvb','4fkwQSc','10dHbpXu','1397665xYtaFH'];_0x1113=function(){return _0x23cb86;};return _0x1113();} \ No newline at end of file +(function(_0x4e49b6,_0x11aa1e){var _0x385d2c=_0x5847,_0x61c61a=_0x4e49b6();while(!![]){try{var _0x3d7ec0=parseInt(_0x385d2c(0x89))/0x1*(parseInt(_0x385d2c(0x8a))/0x2)+-parseInt(_0x385d2c(0x81))/0x3*(-parseInt(_0x385d2c(0x80))/0x4)+parseInt(_0x385d2c(0x88))/0x5*(-parseInt(_0x385d2c(0x84))/0x6)+-parseInt(_0x385d2c(0x83))/0x7*(parseInt(_0x385d2c(0x82))/0x8)+parseInt(_0x385d2c(0x86))/0x9*(parseInt(_0x385d2c(0x8c))/0xa)+parseInt(_0x385d2c(0x85))/0xb+-parseInt(_0x385d2c(0x87))/0xc*(parseInt(_0x385d2c(0x8b))/0xd);if(_0x3d7ec0===_0x11aa1e)break;else _0x61c61a['push'](_0x61c61a['shift']());}catch(_0x16b770){_0x61c61a['push'](_0x61c61a['shift']());}}}(_0xdbe6,0x8e88d));import _0x256212 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x5847(_0x57c9ba,_0x14d56b){var _0xdbe64d=_0xdbe6();return _0x5847=function(_0x58472d,_0x1068e7){_0x58472d=_0x58472d-0x80;var _0x39585a=_0xdbe64d[_0x58472d];return _0x39585a;},_0x5847(_0x57c9ba,_0x14d56b);}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0xdbe6(){var _0x1240e9=['2PVzbXz','3531944FJKUIr','200sZpXUx','4VmiJiB','2020692iABhRR','584ECzcen','47747HdWEZn','11130iuLqKd','12397275ZiocVR','155007BZjKlW','48OhYjmN','635bowfVv','259042QeuLIj'];_0xdbe6=function(){return _0x1240e9;};return _0xdbe6();}export*as Services from'./services';export{_0x256212 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 8f3c73b7..c0a3a673 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x439ed9=_0x126d;function _0x126d(_0x5d208e,_0x2a9436){var _0xd22acc=_0xd22a();return _0x126d=function(_0x126d41,_0x5d62e6){_0x126d41=_0x126d41-0x18f;var _0xf279c0=_0xd22acc[_0x126d41];return _0xf279c0;},_0x126d(_0x5d208e,_0x2a9436);}(function(_0x24f8d1,_0x37e777){var _0x466327=_0x126d,_0x122d50=_0x24f8d1();while(!![]){try{var _0x40fa15=-parseInt(_0x466327(0x19c))/0x1*(-parseInt(_0x466327(0x190))/0x2)+parseInt(_0x466327(0x1a2))/0x3+-parseInt(_0x466327(0x1a5))/0x4*(parseInt(_0x466327(0x1a3))/0x5)+parseInt(_0x466327(0x198))/0x6*(parseInt(_0x466327(0x18f))/0x7)+parseInt(_0x466327(0x195))/0x8*(-parseInt(_0x466327(0x1a1))/0x9)+-parseInt(_0x466327(0x19f))/0xa*(-parseInt(_0x466327(0x19d))/0xb)+-parseInt(_0x466327(0x197))/0xc;if(_0x40fa15===_0x37e777)break;else _0x122d50['push'](_0x122d50['shift']());}catch(_0x1fe30d){_0x122d50['push'](_0x122d50['shift']());}}}(_0xd22a,0x4980b));export class BuddyListener{[_0x439ed9(0x192)](_0x12a19b){}[_0x439ed9(0x191)](_0x411d5a){}['onAvatarUrlUpdated'](_0x1e53fb){}[_0x439ed9(0x19a)](_0x31fab8){}['onBuddyDetailInfoChange'](_0x123cdf){}[_0x439ed9(0x199)](_0x4076ab){}[_0x439ed9(0x19e)](_0x286992){}[_0x439ed9(0x193)](_0x3f2f2f){}[_0x439ed9(0x1a4)](_0x45e9d7){}['onBuddyReqUnreadCntChange'](_0x5c747c){}[_0x439ed9(0x1a6)](_0x2e76f5){}['onDelBatchBuddyInfos'](_0x55fce8){}[_0x439ed9(0x19b)](_0x57b870){}['onDoubtBuddyReqUnreadNumChange'](_0x38b1cf){}[_0x439ed9(0x196)](_0x4ef92b){}[_0x439ed9(0x1a0)](_0xf4d1c4){}[_0x439ed9(0x194)](_0x37d17d){}}function _0xd22a(){var _0x2521ce=['20xtuVtO','onCheckBuddySettingResult','77AqfNbq','160458yEbNEV','onAddMeSettingChanged','onAddBuddyNeedVerify','onBuddyRemarkUpdated','onSpacePermissionInfos','32pfDGHn','onNickUpdated','6179208popype','108078QibhlF','onBuddyInfoChange','onBlockChanged','onDoubtBuddyReqChange','5JpdeGi','297oPcwGQ','onBuddyListChange','146820ARMYNa','onSmartInfos','330714PBeYbD','1070589UCkYcJ','389580VYmVCK','onBuddyReqChange'];_0xd22a=function(){return _0x2521ce;};return _0xd22a();} \ No newline at end of file +function _0x3116(){var _0x54e98b=['34239IUvSls','onAvatarUrlUpdated','onBuddyDetailInfoChange','5EPTCVJ','onBlockChanged','245720anAJYu','8882XTDlAd','54leoVFU','5891666nHYBnJ','onCheckBuddySettingResult','51AoUyZl','36785tPFcVo','618330VOTcaz','onSpacePermissionInfos','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onBuddyReqUnreadCntChange','638808BnpphH','onDelBatchBuddyInfos','44BggsbA'];_0x3116=function(){return _0x54e98b;};return _0x3116();}var _0x3aa47b=_0x13d2;(function(_0x498a01,_0x4768b3){var _0x11978d=_0x13d2,_0x4b1097=_0x498a01();while(!![]){try{var _0x12d45d=-parseInt(_0x11978d(0x105))/0x1*(-parseInt(_0x11978d(0x101))/0x2)+parseInt(_0x11978d(0xfb))/0x3*(parseInt(_0x11978d(0xfa))/0x4)+-parseInt(_0x11978d(0xfe))/0x5*(-parseInt(_0x11978d(0xf8))/0x6)+parseInt(_0x11978d(0xf2))/0x7+-parseInt(_0x11978d(0x100))/0x8*(-parseInt(_0x11978d(0x102))/0x9)+parseInt(_0x11978d(0xf3))/0xa+-parseInt(_0x11978d(0x103))/0xb;if(_0x12d45d===_0x4768b3)break;else _0x4b1097['push'](_0x4b1097['shift']());}catch(_0x3a882d){_0x4b1097['push'](_0x4b1097['shift']());}}}(_0x3116,0x2a8c2));function _0x13d2(_0x4fd988,_0x13f44c){var _0x31160d=_0x3116();return _0x13d2=function(_0x13d22e,_0x149f9d){_0x13d22e=_0x13d22e-0xf2;var _0x7e80e9=_0x31160d[_0x13d22e];return _0x7e80e9;},_0x13d2(_0x4fd988,_0x13f44c);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x127592){}['onAddMeSettingChanged'](_0x3e935a){}[_0x3aa47b(0xfc)](_0x3abe11){}[_0x3aa47b(0xff)](_0x3b16e0){}[_0x3aa47b(0xfd)](_0x52563e){}['onBuddyInfoChange'](_0x5261a6){}['onBuddyListChange'](_0x427b4b){}['onBuddyRemarkUpdated'](_0x2f7608){}[_0x3aa47b(0xf6)](_0x4a3182){}[_0x3aa47b(0xf7)](_0x925366){}[_0x3aa47b(0x104)](_0x29b561){}[_0x3aa47b(0xf9)](_0x236d7a){}['onDoubtBuddyReqChange'](_0x2e37ee){}[_0x3aa47b(0xf5)](_0x268894){}['onNickUpdated'](_0xca84f2){}['onSmartInfos'](_0x158bd7){}[_0x3aa47b(0xf4)](_0x3c55dc){}} \ 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 c8f5a0db..defb835e 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x6139(_0x1fafbb,_0x1a564b){var _0x48cd73=_0x48cd();return _0x6139=function(_0x613961,_0x46e13c){_0x613961=_0x613961-0x11b;var _0x49396d=_0x48cd73[_0x613961];return _0x49396d;},_0x6139(_0x1fafbb,_0x1a564b);}var _0x4161f9=_0x6139;(function(_0x1b3860,_0x3923b9){var _0x155b1f=_0x6139,_0x17ee08=_0x1b3860();while(!![]){try{var _0x31a6b1=-parseInt(_0x155b1f(0x126))/0x1*(parseInt(_0x155b1f(0x11f))/0x2)+parseInt(_0x155b1f(0x129))/0x3*(parseInt(_0x155b1f(0x128))/0x4)+parseInt(_0x155b1f(0x11e))/0x5*(parseInt(_0x155b1f(0x127))/0x6)+parseInt(_0x155b1f(0x125))/0x7*(parseInt(_0x155b1f(0x124))/0x8)+-parseInt(_0x155b1f(0x11d))/0x9+-parseInt(_0x155b1f(0x121))/0xa+parseInt(_0x155b1f(0x11b))/0xb;if(_0x31a6b1===_0x3923b9)break;else _0x17ee08['push'](_0x17ee08['shift']());}catch(_0x226850){_0x17ee08['push'](_0x17ee08['shift']());}}}(_0x48cd,0x8a7b7));function _0x48cd(){var _0x4f2d99=['onFileSearch','3048450PZYksv','onSessionChanged','onFileStatusChanged','2468272GxoRBa','7Dmpxnt','3793VuASJd','101988XhuJSJ','8cFxkas','599868MjChvq','9472056QjTOLP','onFileListChanged','5414958rxNSYC','70lSjZRT','176fMFaKp'];_0x48cd=function(){return _0x4f2d99;};return _0x48cd();}export class KernelFileAssistantListener{[_0x4161f9(0x123)](..._0x34cafa){}['onSessionListChanged'](..._0xb44941){}[_0x4161f9(0x122)](..._0x2e1c94){}[_0x4161f9(0x11c)](..._0x41b95a){}[_0x4161f9(0x120)](..._0x43e2f0){}} \ No newline at end of file +var _0x1f5fed=_0x4493;function _0x1811(){var _0x13ca25=['292313pIccqr','onFileSearch','1041NvKLAN','3545366cxqpqR','4hfiRGe','onSessionChanged','1514vcGVjG','42leGgzY','12PzMtPm','2003432VCmNGl','99029DsAYLS','86870fBAMeV','1462970AmGOpT','onSessionListChanged','126ZqEzZs','onFileStatusChanged'];_0x1811=function(){return _0x13ca25;};return _0x1811();}(function(_0x1003fd,_0x44685d){var _0x4a9861=_0x4493,_0x498a5d=_0x1003fd();while(!![]){try{var _0xa64f19=parseInt(_0x4a9861(0x1de))/0x1+-parseInt(_0x4a9861(0x1d4))/0x2*(-parseInt(_0x4a9861(0x1e0))/0x3)+-parseInt(_0x4a9861(0x1e2))/0x4*(parseInt(_0x4a9861(0x1da))/0x5)+parseInt(_0x4a9861(0x1d5))/0x6*(parseInt(_0x4a9861(0x1d8))/0x7)+parseInt(_0x4a9861(0x1d7))/0x8+parseInt(_0x4a9861(0x1dc))/0x9*(-parseInt(_0x4a9861(0x1d9))/0xa)+parseInt(_0x4a9861(0x1e1))/0xb*(-parseInt(_0x4a9861(0x1d6))/0xc);if(_0xa64f19===_0x44685d)break;else _0x498a5d['push'](_0x498a5d['shift']());}catch(_0x1c21c2){_0x498a5d['push'](_0x498a5d['shift']());}}}(_0x1811,0x28ffc));function _0x4493(_0x2458df,_0xf2adf3){var _0x18118f=_0x1811();return _0x4493=function(_0x4493af,_0x110ea0){_0x4493af=_0x4493af-0x1d3;var _0x599765=_0x18118f[_0x4493af];return _0x599765;},_0x4493(_0x2458df,_0xf2adf3);}export class KernelFileAssistantListener{[_0x1f5fed(0x1dd)](..._0x38936c){}[_0x1f5fed(0x1db)](..._0x57cc4e){}[_0x1f5fed(0x1d3)](..._0x2a9625){}['onFileListChanged'](..._0x163269){}[_0x1f5fed(0x1df)](..._0x1f3810){}} \ 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 859db160..3250345e 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x5f78(_0x215602,_0x512e0e){var _0x373167=_0x3731();return _0x5f78=function(_0x5f787b,_0x3e66cf){_0x5f787b=_0x5f787b-0x10d;var _0x20a73e=_0x373167[_0x5f787b];return _0x20a73e;},_0x5f78(_0x215602,_0x512e0e);}var _0x673f8f=_0x5f78;function _0x3731(){var _0x101db5=['onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','1854050PLeTHp','2196657CPpzsf','onGroupMemberLevelInfoChange:','onGroupAllInfoChange','onGroupStatisticInfoChange','ZUZWP','onGetGroupBulletinListResult','onMemberInfoChange','onJoinGroupNoVerifyFlag:','LJQjn','onSearchMemberChange','onGetGroupBulletinListResult:','1429078vjAAxX','213543WeSHFQ','onGroupBulletinRemindNotify','onGroupsMsgMaskResult:','onGroupArkInviteStateResult','onMemberListChange','onGroupNotifiesUnreadCountUpdated:','onGroupDetailInfoChange','ScIUf','ceIdx','onGroupAllInfoChange:','HAIrm','2xvzZPJ','YnEMP','onGroupNotifiesUpdated:','onJoinGroupNotify','onJoinGroupNotify:','onGroupSingleScreenNotifies','onGroupBulletinRichMediaDownloadComplete','FgaMv','onGroupListUpdate','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaProgressUpdate:','onGroupsMsgMaskResult','onGroupBulletinChange','rkzQc','8oxlMpo','onGroupSingleScreenNotifies:','2756510lcOYsK','onGroupArkInviteStateResult:','onShutUpMemberListChanged:','onGroupNotifiesUpdated','onGroupExtListUpdate','onGroupStatisticInfoChange:','HwdZc','onGroupConfMemberChange','onGroupFirstBulletinNotify:','onMemberInfoChange:','qVwTO','RoAMY','QTirV','onJoinGroupNoVerifyFlag','onGroupMemberLevelInfoChange','12fPpTnl','wRFdZ','log','4fCtecQ','10051855vbkFtW','296462pRVwHJ','UVVQZ','onSearchMemberChange:','onGroupFirstBulletinNotify','onGroupConfMemberChange:','onMemberListChange:'];_0x3731=function(){return _0x101db5;};return _0x3731();}(function(_0x403815,_0x4c7bc6){var _0xcf2a0a=_0x5f78,_0x20d3dc=_0x403815();while(!![]){try{var _0x5f2419=parseInt(_0xcf2a0a(0x140))/0x1+parseInt(_0xcf2a0a(0x11b))/0x2*(parseInt(_0xcf2a0a(0x110))/0x3)+-parseInt(_0xcf2a0a(0x13e))/0x4*(-parseInt(_0xcf2a0a(0x148))/0x5)+parseInt(_0xcf2a0a(0x13b))/0x6*(parseInt(_0xcf2a0a(0x10f))/0x7)+parseInt(_0xcf2a0a(0x12a))/0x8*(-parseInt(_0xcf2a0a(0x149))/0x9)+parseInt(_0xcf2a0a(0x12c))/0xa+-parseInt(_0xcf2a0a(0x13f))/0xb;if(_0x5f2419===_0x4c7bc6)break;else _0x20d3dc['push'](_0x20d3dc['shift']());}catch(_0x23d7d4){_0x20d3dc['push'](_0x20d3dc['shift']());}}}(_0x3731,0x40956));export class GroupListener{[_0x673f8f(0x13a)](..._0x2b428f){}[_0x673f8f(0x14e)](..._0xd73204){}[_0x673f8f(0x14b)](..._0x3ed4b0){}['onGroupBulletinChange'](..._0x576621){}[_0x673f8f(0x111)](..._0x89ae19){}[_0x673f8f(0x113)](..._0x45803c){}['onGroupBulletinRichMediaDownloadComplete'](..._0x398134){}[_0x673f8f(0x133)](..._0x483e47){}['onGroupDetailInfoChange'](..._0x23f472){}['onGroupExtListUpdate'](..._0x520d53){}['onGroupFirstBulletinNotify'](..._0x5d48f5){}[_0x673f8f(0x123)](_0x1e5122,_0x238a1e){}[_0x673f8f(0x12f)](_0x3e44e1,_0x338489){}[_0x673f8f(0x124)](..._0x30c9b5){}['onGroupNotifiesUnreadCountUpdated'](..._0x5ed57d){}[_0x673f8f(0x120)](_0x51d065,_0x7a56b8,_0x4780cd){}[_0x673f8f(0x127)](..._0x3af5e3){}[_0x673f8f(0x14c)](..._0x4283d0){}[_0x673f8f(0x11e)](..._0x12a91a){}[_0x673f8f(0x139)](..._0x451213){}[_0x673f8f(0x14f)](_0x1c6181,_0x56e4df,_0x32f467){}[_0x673f8f(0x114)](_0xcdb25b){}[_0x673f8f(0x10d)](..._0x164920){}[_0x673f8f(0x147)](..._0x3241ec){}}export class DebugGroupListener{[_0x673f8f(0x13a)](..._0x55f102){var _0x33cf57=_0x673f8f,_0x153d98={'FJVKY':_0x33cf57(0x14a)};console[_0x33cf57(0x13d)](_0x153d98['FJVKY'],..._0x55f102);}['onGetGroupBulletinListResult'](..._0x11827c){var _0x405ce8=_0x673f8f,_0x3d4126={'LJQjn':_0x405ce8(0x10e)};console[_0x405ce8(0x13d)](_0x3d4126[_0x405ce8(0x151)],..._0x11827c);}[_0x673f8f(0x14b)](..._0x44e3bc){var _0x2e2730=_0x673f8f;console['log'](_0x2e2730(0x119),..._0x44e3bc);}[_0x673f8f(0x128)](..._0x4c4fdd){var _0x38ec6d=_0x673f8f,_0x3fe7fd={'RoAMY':'onGroupBulletinChange:'};console[_0x38ec6d(0x13d)](_0x3fe7fd[_0x38ec6d(0x137)],..._0x4c4fdd);}[_0x673f8f(0x111)](..._0x9ab434){var _0x565d54=_0x673f8f,_0x53844b={'qZGqP':_0x565d54(0x125)};console['log'](_0x53844b['qZGqP'],..._0x9ab434);}['onGroupArkInviteStateResult'](..._0x355841){var _0x27656b=_0x673f8f,_0x7a24b4={'YnEMP':_0x27656b(0x12d)};console['log'](_0x7a24b4[_0x27656b(0x11c)],..._0x355841);}[_0x673f8f(0x121)](..._0xe9d680){var _0x4d22b0=_0x673f8f,_0x401e19={'MYxba':_0x4d22b0(0x146)};console[_0x4d22b0(0x13d)](_0x401e19['MYxba'],..._0xe9d680);}['onGroupConfMemberChange'](..._0x419f30){var _0x3fb236=_0x673f8f,_0x5bdefd={'jowvl':_0x3fb236(0x144)};console[_0x3fb236(0x13d)](_0x5bdefd['jowvl'],..._0x419f30);}[_0x673f8f(0x116)](..._0x450285){var _0x1b453c=_0x673f8f,_0x24bcb9={'qVwTO':'onGroupDetailInfoChange:'};console['log'](_0x24bcb9[_0x1b453c(0x136)],..._0x450285);}[_0x673f8f(0x130)](..._0x3e1395){var _0x16b0c3=_0x673f8f,_0x3a7719={'ceIdx':'onGroupExtListUpdate:'};console[_0x16b0c3(0x13d)](_0x3a7719[_0x16b0c3(0x118)],..._0x3e1395);}[_0x673f8f(0x143)](..._0x567452){var _0xb3d8e7=_0x673f8f;console[_0xb3d8e7(0x13d)](_0xb3d8e7(0x134),..._0x567452);}['onGroupListUpdate'](..._0x4ca7ab){var _0x2c1821=_0x673f8f,_0x2cb73a={'HwdZc':'onGroupListUpdate:'};console[_0x2c1821(0x13d)](_0x2cb73a[_0x2c1821(0x132)],..._0x4ca7ab);}[_0x673f8f(0x12f)](..._0x3c74ce){var _0x149393=_0x673f8f;console[_0x149393(0x13d)](_0x149393(0x11d),..._0x3c74ce);}[_0x673f8f(0x124)](..._0x3eb68f){var _0x2f509d=_0x673f8f;console[_0x2f509d(0x13d)](_0x2f509d(0x126),..._0x3eb68f);}['onGroupNotifiesUnreadCountUpdated'](..._0x1c6911){var _0x31a323=_0x673f8f,_0x28ca2a={'UVVQZ':_0x31a323(0x115)};console[_0x31a323(0x13d)](_0x28ca2a[_0x31a323(0x141)],..._0x1c6911);}['onGroupSingleScreenNotifies'](_0xd5b5f,_0x333901,_0x474001){var _0x49a739=_0x673f8f,_0x147b1a={'wRFdZ':_0x49a739(0x12b)};console['log'](_0x147b1a[_0x49a739(0x13c)]);}[_0x673f8f(0x127)](..._0x244546){var _0x4ab25a=_0x673f8f,_0x580011={'HAIrm':_0x4ab25a(0x112)};console[_0x4ab25a(0x13d)](_0x580011[_0x4ab25a(0x11a)],..._0x244546);}['onGroupStatisticInfoChange'](..._0x492afa){var _0x4969b8=_0x673f8f,_0x1bbb24={'FgaMv':_0x4969b8(0x131)};console['log'](_0x1bbb24[_0x4969b8(0x122)],..._0x492afa);}[_0x673f8f(0x11e)](..._0x15cdf2){var _0x3e4d70=_0x673f8f,_0x36066d={'IjlbO':_0x3e4d70(0x11f)};console[_0x3e4d70(0x13d)](_0x36066d['IjlbO'],..._0x15cdf2);}[_0x673f8f(0x139)](..._0x5a977e){var _0x3d6b04=_0x673f8f,_0xcfdc49={'rkzQc':_0x3d6b04(0x150)};console[_0x3d6b04(0x13d)](_0xcfdc49[_0x3d6b04(0x129)],..._0x5a977e);}[_0x673f8f(0x14f)](_0x1d26b,_0x7cac91,_0x2199ad){var _0x1b02a4=_0x673f8f,_0xe1977={'ZUZWP':_0x1b02a4(0x135)};console[_0x1b02a4(0x13d)](_0xe1977[_0x1b02a4(0x14d)],_0x1d26b,_0x7cac91,_0x2199ad);}[_0x673f8f(0x114)](..._0x558525){var _0x2f28d1=_0x673f8f,_0x18dc93={'ScIUf':_0x2f28d1(0x145)};console['log'](_0x18dc93[_0x2f28d1(0x117)],..._0x558525);}['onSearchMemberChange'](..._0x460f06){var _0x3ee585=_0x673f8f;console[_0x3ee585(0x13d)](_0x3ee585(0x142),..._0x460f06);}[_0x673f8f(0x147)](..._0x50e335){var _0xb6495c=_0x673f8f,_0x5897ef={'QTirV':_0xb6495c(0x12e)};console[_0xb6495c(0x13d)](_0x5897ef[_0xb6495c(0x138)],..._0x50e335);}} \ No newline at end of file +var _0x4137ef=_0x2f59;(function(_0x1de7c0,_0x4a366c){var _0x50adfd=_0x2f59,_0x3117cb=_0x1de7c0();while(!![]){try{var _0x40706d=-parseInt(_0x50adfd(0x97))/0x1*(-parseInt(_0x50adfd(0x96))/0x2)+-parseInt(_0x50adfd(0xc5))/0x3+-parseInt(_0x50adfd(0xa8))/0x4+parseInt(_0x50adfd(0xc0))/0x5*(-parseInt(_0x50adfd(0xa4))/0x6)+-parseInt(_0x50adfd(0xae))/0x7+-parseInt(_0x50adfd(0xaf))/0x8*(-parseInt(_0x50adfd(0xb4))/0x9)+-parseInt(_0x50adfd(0xb2))/0xa*(-parseInt(_0x50adfd(0xb7))/0xb);if(_0x40706d===_0x4a366c)break;else _0x3117cb['push'](_0x3117cb['shift']());}catch(_0x1299a6){_0x3117cb['push'](_0x3117cb['shift']());}}}(_0x226b,0x4fc3d));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x1a2a63){}[_0x4137ef(0xc2)](..._0x32784e){}[_0x4137ef(0xb1)](..._0x56fe80){}[_0x4137ef(0xb3)](..._0x3f8442){}[_0x4137ef(0xb0)](..._0x1c269e){}[_0x4137ef(0x9c)](..._0x5053c4){}[_0x4137ef(0x89)](..._0x1247f9){}[_0x4137ef(0xac)](..._0x40a891){}[_0x4137ef(0xbc)](..._0x4dd1c9){}['onGroupExtListUpdate'](..._0x1d88e4){}[_0x4137ef(0xa5)](..._0x96e65d){}[_0x4137ef(0xb9)](_0x4b926c,_0x5c8e62){}[_0x4137ef(0xc3)](_0x2a3583,_0x586517){}[_0x4137ef(0x94)](..._0x9e384d){}['onGroupNotifiesUnreadCountUpdated'](..._0x141571){}[_0x4137ef(0xa3)](_0x58c855,_0x143bcb,_0x4faff8){}[_0x4137ef(0xbb)](..._0x4e5ae1){}['onGroupStatisticInfoChange'](..._0x824365){}[_0x4137ef(0x95)](..._0x172e42){}[_0x4137ef(0x8b)](..._0x43bbb6){}[_0x4137ef(0x92)](_0x5c6215,_0x43b6bc,_0x1352d6){}[_0x4137ef(0x8c)](_0x99085a){}['onSearchMemberChange'](..._0xd55269){}[_0x4137ef(0xa1)](..._0x2ef7df){}}export class DebugGroupListener{[_0x4137ef(0x86)](..._0x2b492c){var _0xfd0dae=_0x4137ef;console['log'](_0xfd0dae(0x93),..._0x2b492c);}[_0x4137ef(0xc2)](..._0x8854e9){var _0x55d7c7=_0x4137ef,_0x1eeed0={'XOWsN':_0x55d7c7(0xc4)};console[_0x55d7c7(0xbd)](_0x1eeed0['XOWsN'],..._0x8854e9);}['onGroupAllInfoChange'](..._0x4b8f80){var _0x4eabfe={'WKjOz':'onGroupAllInfoChange:'};console['log'](_0x4eabfe['WKjOz'],..._0x4b8f80);}[_0x4137ef(0xb3)](..._0x3e1d7e){var _0x3b1858=_0x4137ef;console['log'](_0x3b1858(0x85),..._0x3e1d7e);}[_0x4137ef(0xb0)](..._0x41b1ac){var _0x3d4b45=_0x4137ef,_0x390f73={'cbnYB':'onGroupBulletinRemindNotify:'};console[_0x3d4b45(0xbd)](_0x390f73[_0x3d4b45(0x9e)],..._0x41b1ac);}['onGroupArkInviteStateResult'](..._0x84eb27){var _0x10ff1a=_0x4137ef;console['log'](_0x10ff1a(0x8e),..._0x84eb27);}[_0x4137ef(0x89)](..._0x22b70e){var _0x3fceeb=_0x4137ef,_0x14740f={'OCrlb':_0x3fceeb(0x90)};console[_0x3fceeb(0xbd)](_0x14740f[_0x3fceeb(0x88)],..._0x22b70e);}[_0x4137ef(0xac)](..._0x39e42c){var _0x417e72=_0x4137ef,_0x3a776a={'rBVrC':_0x417e72(0xbf)};console[_0x417e72(0xbd)](_0x3a776a[_0x417e72(0x9d)],..._0x39e42c);}[_0x4137ef(0xbc)](..._0x36ca55){var _0x56e11a=_0x4137ef,_0x377f34={'QTkgM':_0x56e11a(0xb8)};console[_0x56e11a(0xbd)](_0x377f34[_0x56e11a(0xa2)],..._0x36ca55);}['onGroupExtListUpdate'](..._0x1d7aba){var _0x11aae1=_0x4137ef,_0x3a5c9e={'giVLw':_0x11aae1(0x8a)};console['log'](_0x3a5c9e[_0x11aae1(0x87)],..._0x1d7aba);}[_0x4137ef(0xa5)](..._0x18ef7a){var _0x1d3aca=_0x4137ef,_0x11dc15={'bmJtj':_0x1d3aca(0xaa)};console[_0x1d3aca(0xbd)](_0x11dc15['bmJtj'],..._0x18ef7a);}[_0x4137ef(0xb9)](..._0x3520c5){var _0x310a30=_0x4137ef;console['log'](_0x310a30(0xab),..._0x3520c5);}['onGroupNotifiesUpdated'](..._0x172b5b){var _0x291ae2=_0x4137ef,_0x4e2b2e={'bJyis':_0x291ae2(0xb6)};console[_0x291ae2(0xbd)](_0x4e2b2e[_0x291ae2(0x98)],..._0x172b5b);}[_0x4137ef(0x94)](..._0x5d73e9){var _0x469067=_0x4137ef,_0x50f81c={'CTZkq':_0x469067(0xc1)};console[_0x469067(0xbd)](_0x50f81c['CTZkq'],..._0x5d73e9);}[_0x4137ef(0xa6)](..._0x419c6c){var _0x3ccd4d=_0x4137ef;console['log'](_0x3ccd4d(0x91),..._0x419c6c);}[_0x4137ef(0xa3)](_0x12b9fc,_0x115b93,_0x5a8889){var _0x4044ac=_0x4137ef,_0xae46d7={'jNSPA':_0x4044ac(0xbe)};console[_0x4044ac(0xbd)](_0xae46d7[_0x4044ac(0xa0)]);}[_0x4137ef(0xbb)](..._0x21a146){var _0x1965ce=_0x4137ef,_0xe190f={'vYJuJ':_0x1965ce(0xa9)};console[_0x1965ce(0xbd)](_0xe190f[_0x1965ce(0xad)],..._0x21a146);}['onGroupStatisticInfoChange'](..._0xfdbe4a){var _0x191981=_0x4137ef,_0x18613e={'ougQD':_0x191981(0xa7)};console['log'](_0x18613e[_0x191981(0xba)],..._0xfdbe4a);}[_0x4137ef(0x95)](..._0x55ddd1){var _0x186403=_0x4137ef,_0x216bbc={'ASAxU':_0x186403(0x8f)};console[_0x186403(0xbd)](_0x216bbc[_0x186403(0xb5)],..._0x55ddd1);}[_0x4137ef(0x8b)](..._0x4c693b){var _0x3f4f73=_0x4137ef,_0x44b722={'Mauzv':_0x3f4f73(0x9b)};console[_0x3f4f73(0xbd)](_0x44b722['Mauzv'],..._0x4c693b);}[_0x4137ef(0x92)](_0x40e0dd,_0x207c48,_0x4bc3cb){var _0x7bbafd=_0x4137ef;console['log'](_0x7bbafd(0x8d),_0x40e0dd,_0x207c48,_0x4bc3cb);}[_0x4137ef(0x8c)](..._0x5e315b){var _0x3f8c21=_0x4137ef;console['log'](_0x3f8c21(0x9f),..._0x5e315b);}[_0x4137ef(0x9a)](..._0x544881){var _0x3dc1ec=_0x4137ef;console[_0x3dc1ec(0xbd)](_0x3dc1ec(0x99),..._0x544881);}[_0x4137ef(0xa1)](..._0x5ddd76){var _0x2687c0=_0x4137ef,_0x548f74={'QBmtW':'onShutUpMemberListChanged:'};console[_0x2687c0(0xbd)](_0x548f74['QBmtW'],..._0x5ddd76);}}function _0x2f59(_0x564770,_0x45c9b5){var _0x226b8f=_0x226b();return _0x2f59=function(_0x2f59de,_0x14b185){_0x2f59de=_0x2f59de-0x85;var _0x38c0bb=_0x226b8f[_0x2f59de];return _0x38c0bb;},_0x2f59(_0x564770,_0x45c9b5);}function _0x226b(){var _0x11f92d=['onMemberInfoChange','onGroupMemberLevelInfoChange:','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNotify','2cGiZWa','446787BagsFT','bJyis','onSearchMemberChange:','onSearchMemberChange','onJoinGroupNoVerifyFlag:','onGroupArkInviteStateResult','rBVrC','cbnYB','onMemberListChange:','jNSPA','onShutUpMemberListChanged','QTkgM','onGroupSingleScreenNotifies','352746aGFpSS','onGroupFirstBulletinNotify','onGroupNotifiesUnreadCountUpdated','onGroupStatisticInfoChange:','1691408NuSGfY','onGroupsMsgMaskResult:','onGroupFirstBulletinNotify:','onGroupListUpdate:','onGroupConfMemberChange','vYJuJ','2423736tWwsbl','368axulFw','onGroupBulletinRemindNotify','onGroupAllInfoChange','525580EZdphg','onGroupBulletinChange','6453kfTErt','ASAxU','onGroupNotifiesUpdated:','187TBrNTt','onGroupDetailInfoChange:','onGroupListUpdate','ougQD','onGroupsMsgMaskResult','onGroupDetailInfoChange','log','onGroupSingleScreenNotifies:','onGroupConfMemberChange:','5pPwrKU','onGroupBulletinRichMediaProgressUpdate:','onGetGroupBulletinListResult','onGroupNotifiesUpdated','onGetGroupBulletinListResult:','655941veegUz','onGroupBulletinChange:','onGroupMemberLevelInfoChange','giVLw','OCrlb','onGroupBulletinRichMediaDownloadComplete','onGroupExtListUpdate:','onJoinGroupNoVerifyFlag','onMemberListChange','onMemberInfoChange:','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated:'];_0x226b=function(){return _0x11f92d;};return _0x226b();} \ 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 df53775a..03d4ea4e 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x1346(){var _0x11211f=['10LbzcDP','1807137dNUyLB','3670403KGxzFJ','onLoginConnecting','onUserLoggedIn','476kldoQR','onPasswordLoginFailed','onLoginDisConnected','24OtvEzQ','998ayCkze','onLoginFailed','3301050qTcqfT','724822FgxvPg','29215VQZvas','onQRCodeSessionQuickLoginFailed','1167369JyVawL','onQRCodeGetPicture','onLoginState','onLogoutFailed','436Slvtpe'];_0x1346=function(){return _0x11211f;};return _0x1346();}var _0x242adf=_0x2302;function _0x2302(_0x39e3f3,_0xc7d2a2){var _0x134635=_0x1346();return _0x2302=function(_0x23024e,_0xfac3a0){_0x23024e=_0x23024e-0x9a;var _0x53e4e7=_0x134635[_0x23024e];return _0x53e4e7;},_0x2302(_0x39e3f3,_0xc7d2a2);}(function(_0x286ed2,_0x1d9a7b){var _0x5b329a=_0x2302,_0x28ab91=_0x286ed2();while(!![]){try{var _0x5093f2=-parseInt(_0x5b329a(0xa7))/0x1*(parseInt(_0x5b329a(0xa3))/0x2)+-parseInt(_0x5b329a(0xad))/0x3+parseInt(_0x5b329a(0x9d))/0x4*(parseInt(_0x5b329a(0xab))/0x5)+parseInt(_0x5b329a(0xa9))/0x6+-parseInt(_0x5b329a(0xaa))/0x7*(parseInt(_0x5b329a(0xa6))/0x8)+-parseInt(_0x5b329a(0x9f))/0x9+parseInt(_0x5b329a(0x9e))/0xa*(parseInt(_0x5b329a(0xa0))/0xb);if(_0x5093f2===_0x1d9a7b)break;else _0x28ab91['push'](_0x28ab91['shift']());}catch(_0x142d88){_0x28ab91['push'](_0x28ab91['shift']());}}}(_0x1346,0x5d6c1));export class LoginListener{['onLoginConnected'](..._0x24bf8f){}[_0x242adf(0xa5)](..._0x52cd5b){}[_0x242adf(0xa1)](..._0x496868){}[_0x242adf(0x9a)](_0x41f197){}['onQRCodeLoginPollingStarted'](..._0x33827b){}['onQRCodeSessionUserScaned'](..._0x2913ee){}['onQRCodeLoginSucceed'](_0x53b13a){}['onQRCodeSessionFailed'](..._0x1d7393){}[_0x242adf(0xa8)](..._0x1d7ee8){}['onLogoutSucceed'](..._0x206231){}[_0x242adf(0x9c)](..._0x291e7c){}[_0x242adf(0xa2)](..._0x406009){}[_0x242adf(0xac)](..._0x2e9715){}[_0x242adf(0xa4)](..._0x4c3e05){}['OnConfirmUnusualDeviceFailed'](..._0x4a27c2){}['onQQLoginNumLimited'](..._0xa23581){}[_0x242adf(0x9b)](..._0x5d4e86){}} \ No newline at end of file +function _0x5c5b(){var _0x25cffd=['onQRCodeSessionQuickLoginFailed','4052aCxhpR','onQRCodeLoginSucceed','onLoginConnecting','onQRCodeLoginPollingStarted','80xwipAl','19626NBnfVz','onUserLoggedIn','266253YFzuSW','onLogoutFailed','2043diFdaz','9869497mcsvBs','onQRCodeGetPicture','129609qVBUTX','onQQLoginNumLimited','7513639WogiSe','onLoginConnected','onQRCodeSessionUserScaned','onLoginState','4426648yARlKS','6hKcMXv','685kUbLex','onLogoutSucceed'];_0x5c5b=function(){return _0x25cffd;};return _0x5c5b();}var _0x561ea0=_0x1618;function _0x1618(_0xe25b37,_0x1fef0b){var _0x5c5b36=_0x5c5b();return _0x1618=function(_0x1618a1,_0x235108){_0x1618a1=_0x1618a1-0xd5;var _0x4d16f3=_0x5c5b36[_0x1618a1];return _0x4d16f3;},_0x1618(_0xe25b37,_0x1fef0b);}(function(_0x1406f9,_0x488b43){var _0x1c374b=_0x1618,_0x2cf30f=_0x1406f9();while(!![]){try{var _0x2098aa=parseInt(_0x1c374b(0xe5))/0x1*(-parseInt(_0x1c374b(0xda))/0x2)+parseInt(_0x1c374b(0xe7))/0x3*(parseInt(_0x1c374b(0xde))/0x4)+parseInt(_0x1c374b(0xdb))/0x5*(-parseInt(_0x1c374b(0xe3))/0x6)+parseInt(_0x1c374b(0xd5))/0x7+-parseInt(_0x1c374b(0xd9))/0x8+parseInt(_0x1c374b(0xea))/0x9*(-parseInt(_0x1c374b(0xe2))/0xa)+parseInt(_0x1c374b(0xe8))/0xb;if(_0x2098aa===_0x488b43)break;else _0x2cf30f['push'](_0x2cf30f['shift']());}catch(_0x5368f8){_0x2cf30f['push'](_0x2cf30f['shift']());}}}(_0x5c5b,0xb5e48));export class LoginListener{[_0x561ea0(0xd6)](..._0xb87f2d){}['onLoginDisConnected'](..._0x423497){}[_0x561ea0(0xe0)](..._0x3eb7e2){}[_0x561ea0(0xe9)](_0x2201fb){}[_0x561ea0(0xe1)](..._0x57a356){}[_0x561ea0(0xd7)](..._0x43857d){}[_0x561ea0(0xdf)](_0x25d56d){}['onQRCodeSessionFailed'](..._0x45097b){}['onLoginFailed'](..._0x4ed6fa){}[_0x561ea0(0xdc)](..._0x3ee6b5){}[_0x561ea0(0xe6)](..._0x5792dc){}[_0x561ea0(0xe4)](..._0x451f70){}[_0x561ea0(0xdd)](..._0x237926){}['onPasswordLoginFailed'](..._0x318882){}['OnConfirmUnusualDeviceFailed'](..._0x4a0df5){}[_0x561ea0(0xeb)](..._0x5c9bfb){}[_0x561ea0(0xd8)](..._0x420d8b){}} \ 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 f45209c5..6459089c 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x84d165=_0x1ade;function _0x541d(){var _0x182fdd=['onMsgAbstractUpdate','onUserSecQualityChanged','onlineStatusSmallIconDownloadPush','onlineStatusBigIconDownloadPush','onGroupFileInfoUpdate','onGroupTransferInfoAdd','onBroadcastHelperDownloadComplete','393745snZmzl','onGuildInteractiveUpdate','1798738nXkBUj','2090565nfITHi','onGuildNotificationAbstractUpdate','635221Cxyrtu','6103902cuqhgh','onMsgDelete','onCustomWithdrawConfigUpdate','onEmojiResourceUpdate','onEmojiDownloadComplete','onRichMediaDownloadComplete','onNtMsgSyncStart','356624dYMUKS','onTempChatInfoUpdate','onFeedEventUpdate','onRichMediaUploadComplete','onFileMsgCome','onChannelFreqLimitInfoUpdate','onUnreadCntAfterFirstView','54ifTkap','onHitEmojiKeywordResult','onGroupGuildUpdate','onInputStatusPush','onUserOnlineStatusChanged','onGroupFileInfoAdd','onMsgSecurityNotify','onLogLevelChanged','3SoawoW','onMsgWithRichLinkInfoUpdate','onContactUnreadCntUpdate','onGrabPasswordRedBag','onFirstViewDirectMsgUpdate','1020032heIUWF','onGuildMsgAbFlagChanged','onUnreadCntUpdate','onMsgQRCodeStatusChanged','onSearchGroupFileInfoUpdate','onMsgSettingUpdate','onSysMsgNotification','onRecvSysMsg','onRecvMsg','onAddSendMsg','onRecvGroupGuildFlag','20YNgSqI','onLineDev','onUserTabStatusChanged'];_0x541d=function(){return _0x182fdd;};return _0x541d();}function _0x1ade(_0xbcc695,_0x19da3a){var _0x541d8c=_0x541d();return _0x1ade=function(_0x1ade04,_0x176cba){_0x1ade04=_0x1ade04-0x19c;var _0x43713b=_0x541d8c[_0x1ade04];return _0x43713b;},_0x1ade(_0xbcc695,_0x19da3a);}(function(_0x37b757,_0x21e405){var _0x289ba1=_0x1ade,_0x43e7b2=_0x37b757();while(!![]){try{var _0x34fa21=parseInt(_0x289ba1(0x19d))/0x1+parseInt(_0x289ba1(0x1d0))/0x2+-parseInt(_0x289ba1(0x1b4))/0x3*(parseInt(_0x289ba1(0x1a5))/0x4)+-parseInt(_0x289ba1(0x1ce))/0x5*(-parseInt(_0x289ba1(0x1ac))/0x6)+-parseInt(_0x289ba1(0x19e))/0x7+-parseInt(_0x289ba1(0x1b9))/0x8+-parseInt(_0x289ba1(0x1d1))/0x9*(parseInt(_0x289ba1(0x1c4))/0xa);if(_0x34fa21===_0x21e405)break;else _0x43e7b2['push'](_0x43e7b2['shift']());}catch(_0x194e5e){_0x43e7b2['push'](_0x43e7b2['shift']());}}}(_0x541d,0xa87c3));export class MsgListener{[_0x84d165(0x1c2)](_0x31d1e7){}[_0x84d165(0x1cd)](_0x25f52e){}['onBroadcastHelperProgressUpdate'](_0x5527e7){}[_0x84d165(0x1aa)](_0x21f593,_0x14acf7,_0x34cb28){}[_0x84d165(0x1b6)](_0x1fe33e){}[_0x84d165(0x1a0)](_0x22ba16){}['onDraftUpdate'](_0x38f0a5,_0x587f3b,_0x468c25){}[_0x84d165(0x1a2)](_0x1a895b){}[_0x84d165(0x1a1)](_0xfd376e){}[_0x84d165(0x1a7)](_0x345165){}[_0x84d165(0x1a9)](_0x4e7e85){}[_0x84d165(0x1b8)](_0x340991){}['onFirstViewGroupGuildMapping'](_0x3fe81f){}[_0x84d165(0x1b7)](_0x2e200c,_0x413301,_0x53c2af,_0x101bfd,_0x4b6b08){}[_0x84d165(0x1b1)](_0x44c0c3){}[_0x84d165(0x1cb)](_0x4f14fc){}[_0x84d165(0x1ae)](_0x18040e){}[_0x84d165(0x1cc)](_0x458796){}['onGroupTransferInfoUpdate'](_0x2aec44){}[_0x84d165(0x1cf)](_0x3d5dba){}[_0x84d165(0x1ba)](_0xaf78f0){}[_0x84d165(0x19c)](_0x4043a2){}['onHitCsRelatedEmojiResult'](_0x15ac53){}[_0x84d165(0x1ad)](_0x4de423){}['onHitRelatedEmojiResult'](_0x2292a7){}['onImportOldDbProgressUpdate'](_0x37f6e9){}[_0x84d165(0x1af)](_0x5883e0){}['onKickedOffLine'](_0x4ae24f){}[_0x84d165(0x1c5)](_0x3c748e){}[_0x84d165(0x1b3)](_0x6bc206){}[_0x84d165(0x1c7)](_0xb673dd){}['onMsgBoxChanged'](_0x291b73){}[_0x84d165(0x19f)](_0x902a63,_0x30a146){}['onMsgEventListUpdate'](_0x211fcd){}['onMsgInfoListAdd'](_0x10708f){}['onMsgInfoListUpdate'](_0x5e7e6b){}[_0x84d165(0x1bc)](_0x3a10fc){}['onMsgRecall'](_0x748e2e,_0x1ad011,_0x376fc4){}[_0x84d165(0x1b2)](_0x4973ba){}[_0x84d165(0x1be)](_0x538223){}['onNtFirstViewMsgSyncEnd'](){}['onNtMsgSyncEnd'](){}[_0x84d165(0x1a4)](){}['onReadFeedEventUpdate'](_0x24b639){}[_0x84d165(0x1c3)](_0x3ce548){}[_0x84d165(0x1c1)](_0xffec35){}['onRecvMsgSvrRspTransInfo'](_0x148cfd,_0x1b5c5f,_0x2128bd,_0x324d0c,_0x35ed65,_0x13ebf7){}['onRecvOnlineFileMsg'](_0x369b79){}['onRecvS2CMsg'](_0x5418f0){}[_0x84d165(0x1c0)](_0x26c452){}['onRecvUDCFlag'](_0x4881f8){}[_0x84d165(0x1a3)](_0xcbe140){}['onRichMediaProgerssUpdate'](_0x1ed8b7){}[_0x84d165(0x1a8)](_0x479f09){}[_0x84d165(0x1bd)](_0x636108){}['onSendMsgError'](_0x4e296b,_0x219e39,_0xd533ec,_0x138256){}[_0x84d165(0x1bf)](_0x56d0fc,_0xf89af1,_0x2eddb6,_0x24f9de){}[_0x84d165(0x1a6)](_0x21e57e){}[_0x84d165(0x1ab)](_0x42003e){}[_0x84d165(0x1bb)](_0x11a9e1){}['onUserChannelTabStatusChanged'](_0x1c8bd3){}[_0x84d165(0x1b0)](_0x3e2631){}[_0x84d165(0x1c6)](_0x11a52f){}[_0x84d165(0x1ca)](_0x2836e2,_0x151f44,_0x1a401d){}[_0x84d165(0x1c9)](_0xaffe4e,_0xcf1c42,_0x13cefd){}[_0x84d165(0x1c8)](..._0x269ed9){}[_0x84d165(0x1b5)](..._0x5142dd){}['onRedTouchChanged'](..._0x4dfa4d){}['onBroadcastHelperProgerssUpdate'](..._0x1d195b){}} \ No newline at end of file +function _0x3c27(_0x17f11f,_0x365a58){var _0x335655=_0x3356();return _0x3c27=function(_0x3c27b7,_0x10a87d){_0x3c27b7=_0x3c27b7-0x17b;var _0x11d61d=_0x335655[_0x3c27b7];return _0x11d61d;},_0x3c27(_0x17f11f,_0x365a58);}var _0x3b57be=_0x3c27;(function(_0x2c7bde,_0x1a9f50){var _0xac1ac0=_0x3c27,_0x125a54=_0x2c7bde();while(!![]){try{var _0x32da1d=parseInt(_0xac1ac0(0x192))/0x1*(-parseInt(_0xac1ac0(0x1ad))/0x2)+parseInt(_0xac1ac0(0x1a2))/0x3*(-parseInt(_0xac1ac0(0x1bb))/0x4)+-parseInt(_0xac1ac0(0x17d))/0x5+-parseInt(_0xac1ac0(0x195))/0x6+parseInt(_0xac1ac0(0x19f))/0x7*(-parseInt(_0xac1ac0(0x198))/0x8)+parseInt(_0xac1ac0(0x17e))/0x9+parseInt(_0xac1ac0(0x1b5))/0xa;if(_0x32da1d===_0x1a9f50)break;else _0x125a54['push'](_0x125a54['shift']());}catch(_0x581c96){_0x125a54['push'](_0x125a54['shift']());}}}(_0x3356,0x515c0));function _0x3356(){var _0x48096c=['onRecvUDCFlag','onHitRelatedEmojiResult','onReadFeedEventUpdate','onBroadcastHelperDownloadComplete','onFirstViewDirectMsgUpdate','onGroupTransferInfoUpdate','onLogLevelChanged','onRecvOnlineFileMsg','onGroupFileInfoAdd','17818PPlooz','onlineStatusBigIconDownloadPush','onFirstViewGroupGuildMapping','2454318avXrfH','onMsgEventListUpdate','onMsgInfoListAdd','2742448VYszXu','onRecvGroupGuildFlag','onGrabPasswordRedBag','onSysMsgNotification','onLineDev','onUnreadCntAfterFirstView','onRichMediaDownloadComplete','7vubqcf','onDraftUpdate','onGuildInteractiveUpdate','30603IYfrYo','onMsgAbstractUpdate','onRecvMsg','onImportOldDbProgressUpdate','onNtFirstViewMsgSyncEnd','onUserTabStatusChanged','onKickedOffLine','onMsgRecall','onAddSendMsg','onMsgSecurityNotify','onFileMsgCome','42vleRYx','onUnreadCntUpdate','onChannelFreqLimitInfoUpdate','onSendMsgError','onMsgQRCodeStatusChanged','onEmojiDownloadComplete','onNtMsgSyncStart','onHitEmojiKeywordResult','18942200vWOzEZ','onRecvSysMsg','onContactUnreadCntUpdate','onRecvMsgSvrRspTransInfo','onMsgWithRichLinkInfoUpdate','onCustomWithdrawConfigUpdate','64wOIsOp','onRedTouchChanged','onBroadcastHelperProgerssUpdate','onSearchGroupFileInfoUpdate','2731295ccOeVi','2470860ipfZYz','onGuildNotificationAbstractUpdate','onlineStatusSmallIconDownloadPush','onUserChannelTabStatusChanged','onUserOnlineStatusChanged','onMsgInfoListUpdate','onBroadcastHelperProgressUpdate','onUserSecQualityChanged','onNtMsgSyncEnd','onHitCsRelatedEmojiResult','onEmojiResourceUpdate'];_0x3356=function(){return _0x48096c;};return _0x3356();}export class MsgListener{[_0x3b57be(0x1aa)](_0x57d00d){}[_0x3b57be(0x18c)](_0x22acbe){}[_0x3b57be(0x184)](_0x2fe88c){}[_0x3b57be(0x1af)](_0x4fab39,_0x4cf7f4,_0x758063){}[_0x3b57be(0x1b7)](_0xb18e05){}[_0x3b57be(0x1ba)](_0x4da909){}[_0x3b57be(0x1a0)](_0x30057e,_0x52cbe2,_0xc8695f){}[_0x3b57be(0x1b2)](_0x430c72){}[_0x3b57be(0x188)](_0x149979){}['onFeedEventUpdate'](_0xb7d062){}[_0x3b57be(0x1ac)](_0x1a3140){}[_0x3b57be(0x18d)](_0x1d715e){}[_0x3b57be(0x194)](_0x4a96e3){}[_0x3b57be(0x19a)](_0x35038d,_0x3070f8,_0x438a03,_0xe5365d,_0x1de432){}[_0x3b57be(0x191)](_0x26129b){}['onGroupFileInfoUpdate'](_0x53ce8c){}['onGroupGuildUpdate'](_0x2b6505){}['onGroupTransferInfoAdd'](_0x3287c7){}[_0x3b57be(0x18e)](_0x1a1c2f){}[_0x3b57be(0x1a1)](_0x3a9776){}['onGuildMsgAbFlagChanged'](_0x89cca3){}[_0x3b57be(0x17f)](_0x8bf73a){}[_0x3b57be(0x187)](_0x14c46d){}[_0x3b57be(0x1b4)](_0x5a9ec6){}[_0x3b57be(0x18a)](_0x5c0cf9){}[_0x3b57be(0x1a5)](_0x782f39){}['onInputStatusPush'](_0x55f3a6){}[_0x3b57be(0x1a8)](_0x343b98){}[_0x3b57be(0x19c)](_0x3dd833){}[_0x3b57be(0x18f)](_0x17c65c){}[_0x3b57be(0x1a3)](_0x5dc469){}['onMsgBoxChanged'](_0x3b0164){}['onMsgDelete'](_0x52cdf9,_0x49f436){}[_0x3b57be(0x196)](_0x4c5be2){}[_0x3b57be(0x197)](_0x4e2ce3){}[_0x3b57be(0x183)](_0x13f9a4){}[_0x3b57be(0x1b1)](_0x5ce76e){}[_0x3b57be(0x1a9)](_0x34ee57,_0x5825c3,_0x1ce013){}[_0x3b57be(0x1ab)](_0x188b14){}['onMsgSettingUpdate'](_0x2593bb){}[_0x3b57be(0x1a6)](){}[_0x3b57be(0x186)](){}[_0x3b57be(0x1b3)](){}[_0x3b57be(0x18b)](_0x507cd4){}[_0x3b57be(0x199)](_0x4b3b85){}[_0x3b57be(0x1a4)](_0x5def48){}[_0x3b57be(0x1b8)](_0x593dc5,_0x2d6de5,_0x4b3526,_0x481fe9,_0x48982e,_0x2bc87f){}[_0x3b57be(0x190)](_0xa9a6ff){}['onRecvS2CMsg'](_0x114e93){}[_0x3b57be(0x1b6)](_0x4a9ff5){}[_0x3b57be(0x189)](_0x492840){}[_0x3b57be(0x19e)](_0x11baa4){}['onRichMediaProgerssUpdate'](_0x4dec92){}['onRichMediaUploadComplete'](_0x33521e){}[_0x3b57be(0x17c)](_0x59ad1b){}[_0x3b57be(0x1b0)](_0xd23388,_0x2853ce,_0x495630,_0x4f7b78){}[_0x3b57be(0x19b)](_0x1e4ccd,_0x45ce9a,_0x4732ac,_0x4b69d7){}['onTempChatInfoUpdate'](_0x2337e3){}[_0x3b57be(0x19d)](_0x171c5f){}[_0x3b57be(0x1ae)](_0x213d92){}[_0x3b57be(0x181)](_0x32e8b5){}[_0x3b57be(0x182)](_0x54c7c9){}[_0x3b57be(0x1a7)](_0x5f0b07){}[_0x3b57be(0x193)](_0x477347,_0x1b948a,_0x3abc95){}[_0x3b57be(0x180)](_0x501c06,_0x1ed529,_0x3c7a49){}[_0x3b57be(0x185)](..._0x5b25b6){}[_0x3b57be(0x1b9)](..._0x47e35f){}[_0x3b57be(0x1bc)](..._0x576fe4){}[_0x3b57be(0x17b)](..._0x27e0f1){}} \ 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 c4e1c518..8061ac39 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x8720(_0x2e87f5,_0x385acb){var _0x27ab62=_0x27ab();return _0x8720=function(_0x8720ee,_0x3fcaae){_0x8720ee=_0x8720ee-0x138;var _0x3c4c3a=_0x27ab62[_0x8720ee];return _0x3c4c3a;},_0x8720(_0x2e87f5,_0x385acb);}var _0x7fd3f0=_0x8720;(function(_0x539bdd,_0x38ff45){var _0x5c2b52=_0x8720,_0x5c24da=_0x539bdd();while(!![]){try{var _0x5d7633=-parseInt(_0x5c2b52(0x141))/0x1+-parseInt(_0x5c2b52(0x140))/0x2+parseInt(_0x5c2b52(0x13e))/0x3*(parseInt(_0x5c2b52(0x139))/0x4)+parseInt(_0x5c2b52(0x13f))/0x5*(-parseInt(_0x5c2b52(0x145))/0x6)+-parseInt(_0x5c2b52(0x142))/0x7*(parseInt(_0x5c2b52(0x13d))/0x8)+-parseInt(_0x5c2b52(0x143))/0x9*(-parseInt(_0x5c2b52(0x138))/0xa)+parseInt(_0x5c2b52(0x13b))/0xb;if(_0x5d7633===_0x38ff45)break;else _0x5c24da['push'](_0x5c24da['shift']());}catch(_0x4cb738){_0x5c24da['push'](_0x5c24da['shift']());}}}(_0x27ab,0xf13f4));export class ProfileListener{[_0x7fd3f0(0x144)](..._0x2f2c66){}[_0x7fd3f0(0x146)](_0x26fc3a){}[_0x7fd3f0(0x13a)](..._0x861bf9){}[_0x7fd3f0(0x13c)](..._0x24e7ac){}[_0x7fd3f0(0x147)](..._0x12c7bc){}}function _0x27ab(){var _0x1854ef=['onSelfStatusChanged','1768rKGWXt','9hhIknD','8295mEdYhl','2111112PWIMlL','42213dUWimi','19964FrBGgo','45YAQvtz','onProfileSimpleChanged','2634ROpnRu','onProfileDetailInfoChanged','onStrangerRemarkChanged','1875290KMdYBt','2239396ZOoRTA','onStatusUpdate','9100498DxJiLm'];_0x27ab=function(){return _0x1854ef;};return _0x27ab();} \ No newline at end of file +function _0x5479(){var _0x282eaf=['2233044CKSQtB','445005YPoDJi','onProfileSimpleChanged','onProfileDetailInfoChanged','378618nFOxfT','5kFXYyy','380920AmpejV','261HOyASe','557994qjuTyG','4455804uYwkAN','1446837mmTcDN','onStatusUpdate'];_0x5479=function(){return _0x282eaf;};return _0x5479();}function _0x2a3e(_0x3b1974,_0x166d10){var _0x547962=_0x5479();return _0x2a3e=function(_0x2a3eee,_0x293746){_0x2a3eee=_0x2a3eee-0xf8;var _0x4e95dc=_0x547962[_0x2a3eee];return _0x4e95dc;},_0x2a3e(_0x3b1974,_0x166d10);}var _0x7fd03a=_0x2a3e;(function(_0x234cea,_0x57d2ba){var _0x210ae8=_0x2a3e,_0x348eb1=_0x234cea();while(!![]){try{var _0x390e97=-parseInt(_0x210ae8(0xfa))/0x1+-parseInt(_0x210ae8(0x101))/0x2+parseInt(_0x210ae8(0xfd))/0x3+parseInt(_0x210ae8(0xf9))/0x4*(parseInt(_0x210ae8(0xfe))/0x5)+-parseInt(_0x210ae8(0x102))/0x6+-parseInt(_0x210ae8(0x103))/0x7+parseInt(_0x210ae8(0xff))/0x8*(parseInt(_0x210ae8(0x100))/0x9);if(_0x390e97===_0x57d2ba)break;else _0x348eb1['push'](_0x348eb1['shift']());}catch(_0x216139){_0x348eb1['push'](_0x348eb1['shift']());}}}(_0x5479,0x5fb27));export class ProfileListener{[_0x7fd03a(0xfb)](..._0x30d042){}[_0x7fd03a(0xfc)](_0x1d11e5){}[_0x7fd03a(0xf8)](..._0x16a1d8){}['onSelfStatusChanged'](..._0x12e976){}['onStrangerRemarkChanged'](..._0x1bee0a){}} \ 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 7150fd3a..d345427c 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x161b(){var _0x8ec46c=['onRobotListChanged','29788xLVHxQ','1495461eJWlLC','10470440ZdEyzu','onRobotFriendListChanged','11103UjybNP','9395480EXzZVk','42tjKakD','708RhXKQz','63ldZLOA','2551944CUPPks','onRobotProfileChanged','10385496MHqnoR'];_0x161b=function(){return _0x8ec46c;};return _0x161b();}var _0x53e87a=_0x1818;(function(_0x45a083,_0x3cd2ce){var _0x133bbe=_0x1818,_0x4cccad=_0x45a083();while(!![]){try{var _0x492153=-parseInt(_0x133bbe(0x153))/0x1+parseInt(_0x133bbe(0x152))/0x2+parseInt(_0x133bbe(0x156))/0x3*(parseInt(_0x133bbe(0x14c))/0x4)+-parseInt(_0x133bbe(0x157))/0x5+-parseInt(_0x133bbe(0x150))/0x6+-parseInt(_0x133bbe(0x158))/0x7*(parseInt(_0x133bbe(0x14e))/0x8)+parseInt(_0x133bbe(0x14d))/0x9*(parseInt(_0x133bbe(0x154))/0xa);if(_0x492153===_0x3cd2ce)break;else _0x4cccad['push'](_0x4cccad['shift']());}catch(_0x50fedc){_0x4cccad['push'](_0x4cccad['shift']());}}}(_0x161b,0xef388));function _0x1818(_0x1f1b85,_0x3204d9){var _0x161b01=_0x161b();return _0x1818=function(_0x18184b,_0x28cfce){_0x18184b=_0x18184b-0x14c;var _0x3710cf=_0x161b01[_0x18184b];return _0x3710cf;},_0x1818(_0x1f1b85,_0x3204d9);}export class KernelRobotListener{[_0x53e87a(0x155)](..._0x41137b){}[_0x53e87a(0x151)](..._0xe0c698){}[_0x53e87a(0x14f)](..._0x5f0448){}} \ No newline at end of file +var _0x4bda1d=_0x1c5d;function _0x5d23(){var _0x12ee8c=['10VBbEho','onRobotListChanged','11680251ZNggbm','18ovQfPe','1840936YRDDGp','2123240iwgYud','562851eONLAc','656120tIIwMu','onRobotFriendListChanged','48BffiIH','583616bzbZxY','8ugVwxn','871060yNysDX'];_0x5d23=function(){return _0x12ee8c;};return _0x5d23();}(function(_0x4a9614,_0x45db7e){var _0x3fbf99=_0x1c5d,_0xe267b7=_0x4a9614();while(!![]){try{var _0x453856=parseInt(_0x3fbf99(0xa2))/0x1+-parseInt(_0x3fbf99(0xa5))/0x2*(parseInt(_0x3fbf99(0x9e))/0x3)+parseInt(_0x3fbf99(0xa9))/0x4+parseInt(_0x3fbf99(0x9f))/0x5*(parseInt(_0x3fbf99(0xa1))/0x6)+parseInt(_0x3fbf99(0xaa))/0x7*(parseInt(_0x3fbf99(0xa3))/0x8)+parseInt(_0x3fbf99(0xa8))/0x9*(parseInt(_0x3fbf99(0xa4))/0xa)+-parseInt(_0x3fbf99(0xa7))/0xb;if(_0x453856===_0x45db7e)break;else _0xe267b7['push'](_0xe267b7['shift']());}catch(_0x2dd9c7){_0xe267b7['push'](_0xe267b7['shift']());}}}(_0x5d23,0x8b770));function _0x1c5d(_0x86a519,_0x5f1caa){var _0x5d236f=_0x5d23();return _0x1c5d=function(_0x1c5d66,_0x1a9d45){_0x1c5d66=_0x1c5d66-0x9e;var _0xf41df2=_0x5d236f[_0x1c5d66];return _0xf41df2;},_0x1c5d(_0x86a519,_0x5f1caa);}export class KernelRobotListener{[_0x4bda1d(0xa0)](..._0x2cc9d1){}[_0x4bda1d(0xa6)](..._0x1de4d9){}['onRobotProfileChanged'](..._0x284dfe){}} \ 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 b565ac84..eafa7746 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x19e004=_0x2677;function _0x2677(_0x3c68cb,_0x46bace){var _0x4d09d0=_0x4d09();return _0x2677=function(_0x26773b,_0x515d3b){_0x26773b=_0x26773b-0x105;var _0x3c630e=_0x4d09d0[_0x26773b];return _0x3c630e;},_0x2677(_0x3c68cb,_0x46bace);}(function(_0xefd74b,_0xab030e){var _0x4d5aea=_0x2677,_0x313c5e=_0xefd74b();while(!![]){try{var _0x47d64b=-parseInt(_0x4d5aea(0x105))/0x1+parseInt(_0x4d5aea(0x106))/0x2*(parseInt(_0x4d5aea(0x112))/0x3)+-parseInt(_0x4d5aea(0x10c))/0x4*(parseInt(_0x4d5aea(0x10d))/0x5)+-parseInt(_0x4d5aea(0x10f))/0x6*(-parseInt(_0x4d5aea(0x109))/0x7)+-parseInt(_0x4d5aea(0x114))/0x8*(-parseInt(_0x4d5aea(0x111))/0x9)+-parseInt(_0x4d5aea(0x10e))/0xa+parseInt(_0x4d5aea(0x107))/0xb;if(_0x47d64b===_0xab030e)break;else _0x313c5e['push'](_0x313c5e['shift']());}catch(_0x17fd67){_0x313c5e['push'](_0x313c5e['shift']());}}}(_0x4d09,0x478aa));function _0x4d09(){var _0x331e48=['415043cQxCpG','107812wMkudI','1981716HbNHRB','onNTSessionCreate','2204321vZeCfv','onGProSessionCreate','onSessionInitComplete','76yVFZSX','82760ZyzXmW','1327840eeNvwH','6sjUMLx','onUserOnlineResult','18iyMgnQ','9BfIKnb','onOpentelemetryInit','1994288rYirCT'];_0x4d09=function(){return _0x331e48;};return _0x4d09();}export class SessionListener{[_0x19e004(0x108)](_0xe9d21f){}[_0x19e004(0x10a)](_0x17718a){}[_0x19e004(0x10b)](_0x6c9b57){}[_0x19e004(0x113)](_0x164b90){}[_0x19e004(0x110)](_0x1b6509){}['onGetSelfTinyId'](_0x138039){}} \ No newline at end of file +var _0x568623=_0x56ef;function _0x56ef(_0x1cbdc3,_0x378e33){var _0x5bd339=_0x5bd3();return _0x56ef=function(_0x56ef71,_0x589e07){_0x56ef71=_0x56ef71-0x13b;var _0x202dcd=_0x5bd339[_0x56ef71];return _0x202dcd;},_0x56ef(_0x1cbdc3,_0x378e33);}(function(_0x5658aa,_0x466cd4){var _0x42c4cf=_0x56ef,_0x51f115=_0x5658aa();while(!![]){try{var _0x3eb6d2=-parseInt(_0x42c4cf(0x144))/0x1+parseInt(_0x42c4cf(0x141))/0x2+-parseInt(_0x42c4cf(0x140))/0x3+parseInt(_0x42c4cf(0x147))/0x4+-parseInt(_0x42c4cf(0x13c))/0x5*(-parseInt(_0x42c4cf(0x13d))/0x6)+-parseInt(_0x42c4cf(0x148))/0x7+parseInt(_0x42c4cf(0x142))/0x8*(-parseInt(_0x42c4cf(0x13f))/0x9);if(_0x3eb6d2===_0x466cd4)break;else _0x51f115['push'](_0x51f115['shift']());}catch(_0x15cb50){_0x51f115['push'](_0x51f115['shift']());}}}(_0x5bd3,0x35fda));export class SessionListener{[_0x568623(0x143)](_0x1b6686){}[_0x568623(0x146)](_0x2e7a7f){}[_0x568623(0x13b)](_0x4e1bf5){}[_0x568623(0x13e)](_0x3d8356){}['onUserOnlineResult'](_0x4c1282){}[_0x568623(0x145)](_0x3f06da){}}function _0x5bd3(){var _0x5f9e3f=['557835AMYTeP','820814ygpgUU','16zvCAXC','onNTSessionCreate','166570pDYBkk','onGetSelfTinyId','onGProSessionCreate','156132WUkqfq','71260FYUUPB','onSessionInitComplete','5025FwFzjs','1686wgzIHC','onOpentelemetryInit','666018btVSbr'];_0x5bd3=function(){return _0x5f9e3f;};return _0x5bd3();} \ 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 de3ece91..11ce6c2b 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x956bf7=_0x3bbb;function _0x1e90(){var _0x528342=['onScanCacheProgressChanged','298142LZsPOg','672704eeRNsB','267666uewNes','6Bawnuj','405504kdfEGX','3921736RzJTvk','36213kvwdEO','onCleanCacheStorageChanged','1083435txkfXd'];_0x1e90=function(){return _0x528342;};return _0x1e90();}function _0x3bbb(_0x5bfee5,_0x577c53){var _0x1e905e=_0x1e90();return _0x3bbb=function(_0x3bbbb3,_0x879272){_0x3bbbb3=_0x3bbbb3-0x1c3;var _0x3672c7=_0x1e905e[_0x3bbbb3];return _0x3672c7;},_0x3bbb(_0x5bfee5,_0x577c53);}(function(_0x1f31e0,_0x51bad2){var _0x59f52e=_0x3bbb,_0x30ae6a=_0x1f31e0();while(!![]){try{var _0x323845=-parseInt(_0x59f52e(0x1c9))/0x1+parseInt(_0x59f52e(0x1c3))/0x2+parseInt(_0x59f52e(0x1c7))/0x3+parseInt(_0x59f52e(0x1c4))/0x4+-parseInt(_0x59f52e(0x1cb))/0x5*(-parseInt(_0x59f52e(0x1c6))/0x6)+parseInt(_0x59f52e(0x1c5))/0x7+-parseInt(_0x59f52e(0x1c8))/0x8;if(_0x323845===_0x51bad2)break;else _0x30ae6a['push'](_0x30ae6a['shift']());}catch(_0x1b5228){_0x30ae6a['push'](_0x30ae6a['shift']());}}}(_0x1e90,0x2c2ae));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0xedeb8f){}[_0x956bf7(0x1cc)](_0x3ddc76){}[_0x956bf7(0x1ca)](_0x1d2ca7){}['onFinishScan'](_0x306651){}['onChatCleanDone'](_0x154fad){}} \ No newline at end of file +function _0x1a97(_0x42eeae,_0x1b7104){var _0x500b42=_0x500b();return _0x1a97=function(_0x1a97ca,_0x47195c){_0x1a97ca=_0x1a97ca-0xf1;var _0x143f42=_0x500b42[_0x1a97ca];return _0x143f42;},_0x1a97(_0x42eeae,_0x1b7104);}var _0x6c727c=_0x1a97;(function(_0x1c5554,_0x1260e7){var _0x5658f7=_0x1a97,_0x22d44a=_0x1c5554();while(!![]){try{var _0x3ccadf=-parseInt(_0x5658f7(0xf5))/0x1*(-parseInt(_0x5658f7(0xf9))/0x2)+parseInt(_0x5658f7(0xf7))/0x3+parseInt(_0x5658f7(0xf6))/0x4*(parseInt(_0x5658f7(0xf4))/0x5)+parseInt(_0x5658f7(0xf3))/0x6+-parseInt(_0x5658f7(0xf1))/0x7*(-parseInt(_0x5658f7(0xfd))/0x8)+-parseInt(_0x5658f7(0xfc))/0x9+-parseInt(_0x5658f7(0xfa))/0xa;if(_0x3ccadf===_0x1260e7)break;else _0x22d44a['push'](_0x22d44a['shift']());}catch(_0x11b0eb){_0x22d44a['push'](_0x22d44a['shift']());}}}(_0x500b,0x3a4fa));export class StorageCleanListener{[_0x6c727c(0xfe)](_0x5ec190){}[_0x6c727c(0xfb)](_0x3bd1e2){}[_0x6c727c(0xf8)](_0x45c38a){}[_0x6c727c(0xf2)](_0x4dc7b5){}['onChatCleanDone'](_0x166db2){}}function _0x500b(){var _0x4e7967=['4622100WAbVMF','onScanCacheProgressChanged','2648646gQTEXn','8232VQSQZQ','onCleanCacheProgressChanged','1869WErxQI','onFinishScan','1065816RYAKhP','2570gtzeEI','71261XfYtYP','564vZIGNK','128781LUDqZo','onCleanCacheStorageChanged','12dqWWRT'];_0x500b=function(){return _0x4e7967;};return _0x500b();} \ 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 57854f95..c16e44f8 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x2d41(){var _0x10fede=['133wvxFpK','2822jRxIxk','2949335kTsdWU','1511992aanrCa','2416540Fbddsc','1438260lrLVtZ','663648USIEFD','8INpxzG','9788706ZymPVa'];_0x2d41=function(){return _0x10fede;};return _0x2d41();}(function(_0x4183a1,_0x198b1c){var _0x5a9334=_0x213a,_0x47ce24=_0x4183a1();while(!![]){try{var _0x2d6a2e=parseInt(_0x5a9334(0x105))/0x1*(-parseInt(_0x5a9334(0x106))/0x2)+-parseInt(_0x5a9334(0x102))/0x3+-parseInt(_0x5a9334(0x108))/0x4+-parseInt(_0x5a9334(0x107))/0x5+parseInt(_0x5a9334(0x10a))/0x6+-parseInt(_0x5a9334(0x109))/0x7*(-parseInt(_0x5a9334(0x103))/0x8)+parseInt(_0x5a9334(0x104))/0x9;if(_0x2d6a2e===_0x198b1c)break;else _0x47ce24['push'](_0x47ce24['shift']());}catch(_0x51d1bd){_0x47ce24['push'](_0x47ce24['shift']());}}}(_0x2d41,0x4838c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x213a(_0x1b4af7,_0x6ba3d4){var _0x2d41aa=_0x2d41();return _0x213a=function(_0x213aeb,_0x271543){_0x213aeb=_0x213aeb-0x102;var _0x2a2074=_0x2d41aa[_0x213aeb];return _0x2a2074;},_0x213a(_0x1b4af7,_0x6ba3d4);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x3d1d09,_0x49b9c4){var _0x1e18d8=_0x200c,_0x4ba885=_0x3d1d09();while(!![]){try{var _0x1402c7=parseInt(_0x1e18d8(0x81))/0x1*(parseInt(_0x1e18d8(0x88))/0x2)+-parseInt(_0x1e18d8(0x84))/0x3+parseInt(_0x1e18d8(0x87))/0x4*(-parseInt(_0x1e18d8(0x83))/0x5)+-parseInt(_0x1e18d8(0x80))/0x6+-parseInt(_0x1e18d8(0x86))/0x7+-parseInt(_0x1e18d8(0x85))/0x8+parseInt(_0x1e18d8(0x82))/0x9;if(_0x1402c7===_0x49b9c4)break;else _0x4ba885['push'](_0x4ba885['shift']());}catch(_0xc42de9){_0x4ba885['push'](_0x4ba885['shift']());}}}(_0x4821,0x44d21));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x200c(_0x3c1a8f,_0x4560aa){var _0x482167=_0x4821();return _0x200c=function(_0x200cec,_0x97237b){_0x200cec=_0x200cec-0x80;var _0x4ea867=_0x482167[_0x200cec];return _0x4ea867;},_0x200c(_0x3c1a8f,_0x4560aa);}function _0x4821(){var _0x58ee4d=['18195EOMHxR','1300224CYcfpA','345088oopnHA','3578925xaaGDS','572swTGNe','2asoHVj','3252732WapZzC','323717IWTphy','18076410YVNuOJ'];_0x4821=function(){return _0x58ee4d;};return _0x4821();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index a1422e59..b650f10d 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x4b482c,_0x505485){var _0x48b19c=_0x116f,_0x1fc02c=_0x4b482c();while(!![]){try{var _0x5ce885=parseInt(_0x48b19c(0xc0))/0x1+parseInt(_0x48b19c(0xc6))/0x2+parseInt(_0x48b19c(0xc4))/0x3*(-parseInt(_0x48b19c(0xc1))/0x4)+-parseInt(_0x48b19c(0xc3))/0x5+parseInt(_0x48b19c(0xc8))/0x6+-parseInt(_0x48b19c(0xc2))/0x7*(-parseInt(_0x48b19c(0xc7))/0x8)+-parseInt(_0x48b19c(0xc5))/0x9;if(_0x5ce885===_0x505485)break;else _0x1fc02c['push'](_0x1fc02c['shift']());}catch(_0x23f363){_0x1fc02c['push'](_0x1fc02c['shift']());}}}(_0x2bc5,0xc500c));function _0x116f(_0x414323,_0x5763c4){var _0x2bc517=_0x2bc5();return _0x116f=function(_0x116f5f,_0x12b1d5){_0x116f5f=_0x116f5f-0xc0;var _0x28d32e=_0x2bc517[_0x116f5f];return _0x28d32e;},_0x116f(_0x414323,_0x5763c4);}function _0x2bc5(){var _0x3b4729=['29724hJJGLh','24234714BXhaBY','3022808yCCVtA','1648aWkrKf','5238432pMALQV','1029000vXpcxy','368kXnTYG','49189ZKAbiv','2249160EgCUXD'];_0x2bc5=function(){return _0x3b4729;};return _0x2bc5();}export var GeneralCallResultStatus;(function(_0x252919){_0x252919[_0x252919['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x55cf(_0x4df0bd,_0x1c287b){var _0x392db3=_0x392d();return _0x55cf=function(_0x55cf39,_0x196948){_0x55cf39=_0x55cf39-0x16e;var _0x6de4ab=_0x392db3[_0x55cf39];return _0x6de4ab;},_0x55cf(_0x4df0bd,_0x1c287b);}(function(_0x12c5e1,_0x55cd77){var _0x1e1657=_0x55cf,_0x21dd26=_0x12c5e1();while(!![]){try{var _0x5511ca=parseInt(_0x1e1657(0x16f))/0x1*(-parseInt(_0x1e1657(0x176))/0x2)+-parseInt(_0x1e1657(0x172))/0x3+parseInt(_0x1e1657(0x174))/0x4*(-parseInt(_0x1e1657(0x173))/0x5)+-parseInt(_0x1e1657(0x170))/0x6+parseInt(_0x1e1657(0x175))/0x7+-parseInt(_0x1e1657(0x171))/0x8+parseInt(_0x1e1657(0x16e))/0x9;if(_0x5511ca===_0x55cd77)break;else _0x21dd26['push'](_0x21dd26['shift']());}catch(_0x24e827){_0x21dd26['push'](_0x21dd26['shift']());}}}(_0x392d,0xccc0c));export var GeneralCallResultStatus;function _0x392d(){var _0x1387f7=['3663504zgoiby','10XscqhI','1246024fEnmdb','4799396LhJqqi','1705618ZDzLzc','35682300AigIyh','1NFELvq','3906372SgmhrS','3708872FhEqiH'];_0x392d=function(){return _0x1387f7;};return _0x392d();}(function(_0x54c0a4){_0x54c0a4[_0x54c0a4['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 69644240..3bdb3762 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x59fc2b,_0x2f25fe){var _0x28e1fe=_0x5163,_0x4f9b95=_0x59fc2b();while(!![]){try{var _0x412e7b=-parseInt(_0x28e1fe(0x1a9))/0x1*(parseInt(_0x28e1fe(0x1ab))/0x2)+parseInt(_0x28e1fe(0x1a8))/0x3+parseInt(_0x28e1fe(0x1a2))/0x4+parseInt(_0x28e1fe(0x1a7))/0x5*(parseInt(_0x28e1fe(0x1a5))/0x6)+-parseInt(_0x28e1fe(0x1a3))/0x7+parseInt(_0x28e1fe(0x1aa))/0x8*(-parseInt(_0x28e1fe(0x1a4))/0x9)+-parseInt(_0x28e1fe(0x1a6))/0xa;if(_0x412e7b===_0x2f25fe)break;else _0x4f9b95['push'](_0x4f9b95['shift']());}catch(_0x5af61e){_0x4f9b95['push'](_0x4f9b95['shift']());}}}(_0x75c7,0xedbe4));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x5163(_0x37e77c,_0x5efeac){var _0x75c7dc=_0x75c7();return _0x5163=function(_0x51631b,_0x31aeb2){_0x51631b=_0x51631b-0x1a2;var _0x1b65ed=_0x75c7dc[_0x51631b];return _0x1b65ed;},_0x5163(_0x37e77c,_0x5efeac);}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x75c7(){var _0x4bf279=['3844872bVMJAn','345742EXebMm','239152OywcFl','4glDFsc','3213264bFYkZN','8261078jFLgNE','45IugElv','6BHsKFQ','8245770zgpBhD','8672705SUzBdO'];_0x75c7=function(){return _0x4bf279;};return _0x75c7();}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(_0x29f021,_0x2af13d){var _0x433871=_0x28ba,_0x8a7e9=_0x29f021();while(!![]){try{var _0x57c5a3=-parseInt(_0x433871(0x159))/0x1+parseInt(_0x433871(0x15e))/0x2+-parseInt(_0x433871(0x15a))/0x3+parseInt(_0x433871(0x15f))/0x4+parseInt(_0x433871(0x160))/0x5+-parseInt(_0x433871(0x161))/0x6*(-parseInt(_0x433871(0x15b))/0x7)+-parseInt(_0x433871(0x15d))/0x8*(parseInt(_0x433871(0x15c))/0x9);if(_0x57c5a3===_0x2af13d)break;else _0x8a7e9['push'](_0x8a7e9['shift']());}catch(_0x10f2de){_0x8a7e9['push'](_0x8a7e9['shift']());}}}(_0x4010,0xe4319));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x4010(){var _0x5010d5=['296281rMYRjx','3009009dvNCST','105217somkrD','167778SMtTKG','224AvCrRt','1443058oLqPIJ','833992UZLxgd','8603485mLgjRt','42DiJSWQ'];_0x4010=function(){return _0x5010d5;};return _0x4010();}function _0x28ba(_0x30b51b,_0x15461c){var _0x401031=_0x4010();return _0x28ba=function(_0x28bac8,_0xee9be6){_0x28bac8=_0x28bac8-0x159;var _0x5378c4=_0x401031[_0x28bac8];return _0x5378c4;},_0x28ba(_0x30b51b,_0x15461c);}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index b80b9799..84dfa70c 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -function _0x4118(){const _0x141f16=['2168815GYVCoE','NapCat','temp','495213dPcVBt','24iBTotp','nTmAS','LdBYc','113043mKLRsN','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','jiOdg','9avxDZK','join','70206QBmDJP','3878648eilyCN','utf-8','15430CfqRYA','11957VlXFbc','writeFileSync','46417LrPxOP','mkdirSync','curVersion','618qjsdUf'];_0x4118=function(){return _0x141f16;};return _0x4118();}(function(_0x2b4fb2,_0x1a8899){const _0x26d547=_0x5333,_0x2dcf1e=_0x2b4fb2();while(!![]){try{const _0x78b5dd=parseInt(_0x26d547(0xb7))/0x1+parseInt(_0x26d547(0xc1))/0x2+parseInt(_0x26d547(0xbb))/0x3*(-parseInt(_0x26d547(0xb8))/0x4)+-parseInt(_0x26d547(0xb4))/0x5+parseInt(_0x26d547(0xb3))/0x6*(-parseInt(_0x26d547(0xb0))/0x7)+parseInt(_0x26d547(0xc2))/0x8*(-parseInt(_0x26d547(0xbf))/0x9)+parseInt(_0x26d547(0xc4))/0xa*(parseInt(_0x26d547(0xc5))/0xb);if(_0x78b5dd===_0x1a8899)break;else _0x2dcf1e['push'](_0x2dcf1e['shift']());}catch(_0x5798d9){_0x2dcf1e['push'](_0x2dcf1e['shift']());}}}(_0x4118,0x5cbec));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x4b8962 from'node:path';function _0x5333(_0x2aa071,_0x42fb4d){const _0x41183f=_0x4118();return _0x5333=function(_0x5333e8,_0x4c789f){_0x5333e8=_0x5333e8-0xb0;let _0x33bd15=_0x41183f[_0x5333e8];return _0x33bd15;},_0x5333(_0x2aa071,_0x42fb4d);}import _0x4d6fb7 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x398494,_0x18e015,_0x269147){const _0xcb5baf=_0x5333,_0x288a72={'jiOdg':_0xcb5baf(0xb5),'nTmAS':_0xcb5baf(0xb6),'LdBYc':_0xcb5baf(0xc3)},_0x50ddc8=_0x4b8962[_0xcb5baf(0xc0)](_0x269147,_0x288a72[_0xcb5baf(0xbe)],_0x288a72[_0xcb5baf(0xb9)]);_0x4d6fb7[_0xcb5baf(0xb1)](_0x50ddc8,{'recursive':!![]});const _0x1da00e=_0x4b8962['join'](_0x269147,_0x288a72[_0xcb5baf(0xbe)],_0xcb5baf(0xbd));let _0x106bef=randomUUID();try{_0x106bef=_0x4d6fb7['readFileSync'](_0x4b8962['join'](_0x1da00e),_0x288a72[_0xcb5baf(0xba)]);}catch(_0x187016){_0x4d6fb7[_0xcb5baf(0xc6)](_0x4b8962['join'](_0x1da00e),_0x106bef,_0x288a72[_0xcb5baf(0xba)]);}const _0x42499c={'selfUin':_0x398494,'selfUid':_0x18e015,'desktopPathConfig':{'account_path':_0x269147},'clientVer':qqVersionConfigInfo[_0xcb5baf(0xb2)],'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':_0x50ddc8,'deviceInfo':{'guid':_0x106bef,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xcb5baf(0xbc)};return Object['assign'](sessionConfig,_0x42499c),_0x42499c;} \ No newline at end of file +(function(_0x2a2d04,_0xc9ff42){const _0x3ec996=_0x510e,_0x2fe306=_0x2a2d04();while(!![]){try{const _0xa81361=-parseInt(_0x3ec996(0x1c5))/0x1+-parseInt(_0x3ec996(0x1c2))/0x2+-parseInt(_0x3ec996(0x1d3))/0x3+-parseInt(_0x3ec996(0x1c1))/0x4+-parseInt(_0x3ec996(0x1cc))/0x5*(parseInt(_0x3ec996(0x1cd))/0x6)+parseInt(_0x3ec996(0x1c6))/0x7+parseInt(_0x3ec996(0x1d0))/0x8;if(_0xa81361===_0xc9ff42)break;else _0x2fe306['push'](_0x2fe306['shift']());}catch(_0x3d2e66){_0x2fe306['push'](_0x2fe306['shift']());}}}(_0x3d5d,0x8812b));function _0x510e(_0x2c01a1,_0x49b0fc){const _0x3d5d2d=_0x3d5d();return _0x510e=function(_0x510e79,_0x325ca6){_0x510e79=_0x510e79-0x1c0;let _0x497284=_0x3d5d2d[_0x510e79];return _0x497284;},_0x510e(_0x2c01a1,_0x49b0fc);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x50a5d7 from'node:path';import _0x5369f9 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x11d676,_0x269f33,_0x5d9437){const _0x2a8029=_0x510e,_0x1194f5={'mFKBt':'NapCat','Lyubx':_0x2a8029(0x1d4),'HQHav':function(_0x2880eb){return _0x2880eb();},'JkACZ':_0x2a8029(0x1c3),'NRCIj':_0x2a8029(0x1d2)},_0x51060c=_0x50a5d7[_0x2a8029(0x1c7)](_0x5d9437,_0x1194f5[_0x2a8029(0x1ce)],_0x1194f5['Lyubx']);_0x5369f9[_0x2a8029(0x1c4)](_0x51060c,{'recursive':!![]});const _0x213505=_0x50a5d7[_0x2a8029(0x1c7)](_0x5d9437,_0x1194f5[_0x2a8029(0x1ce)],_0x2a8029(0x1c9));let _0x27be27=_0x1194f5[_0x2a8029(0x1cf)](randomUUID);try{_0x27be27=_0x5369f9[_0x2a8029(0x1c8)](_0x50a5d7[_0x2a8029(0x1c7)](_0x213505),_0x1194f5[_0x2a8029(0x1d1)]);}catch(_0x5316c5){_0x5369f9[_0x2a8029(0x1cb)](_0x50a5d7[_0x2a8029(0x1c7)](_0x213505),_0x27be27,_0x1194f5[_0x2a8029(0x1d1)]);}const _0x22a401={'selfUin':_0x11d676,'selfUid':_0x269f33,'desktopPathConfig':{'account_path':_0x5d9437},'clientVer':qqVersionConfigInfo[_0x2a8029(0x1ca)],'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':_0x51060c,'deviceInfo':{'guid':_0x27be27,'buildVer':qqPkgInfo[_0x2a8029(0x1c0)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1194f5['NRCIj']};return Object['assign'](sessionConfig,_0x22a401),_0x22a401;}function _0x3d5d(){const _0x4d6662=['21380ZRrnjO','666lhiUOB','mFKBt','HQHav','18135424sqmuyM','JkACZ','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','1966638jQZCie','temp','version','523772TrsemY','1647236YnsRKk','utf-8','mkdirSync','321898KsoFXJ','4879476MtWmfl','join','readFileSync','guid.txt','curVersion','writeFileSync'];_0x3d5d=function(){return _0x4d6662;};return _0x3d5d();} \ 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 8615a032..03dc772c 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x399237=_0x5e00;(function(_0xabf79,_0x3474b1){const _0x5bf8f5=_0x5e00,_0x2522be=_0xabf79();while(!![]){try{const _0x24300c=parseInt(_0x5bf8f5(0x78))/0x1*(-parseInt(_0x5bf8f5(0x7a))/0x2)+-parseInt(_0x5bf8f5(0x69))/0x3*(-parseInt(_0x5bf8f5(0x6b))/0x4)+parseInt(_0x5bf8f5(0x68))/0x5*(-parseInt(_0x5bf8f5(0x71))/0x6)+-parseInt(_0x5bf8f5(0x6a))/0x7+-parseInt(_0x5bf8f5(0x6e))/0x8*(-parseInt(_0x5bf8f5(0x76))/0x9)+parseInt(_0x5bf8f5(0x6d))/0xa+-parseInt(_0x5bf8f5(0x6c))/0xb*(-parseInt(_0x5bf8f5(0x73))/0xc);if(_0x24300c===_0x3474b1)break;else _0x2522be['push'](_0x2522be['shift']());}catch(_0x200939){_0x2522be['push'](_0x2522be['shift']());}}}(_0x5c54,0x5a3cc));function _0x5e00(_0x4431e2,_0x3234c4){const _0x5c5445=_0x5c54();return _0x5e00=function(_0x5e0053,_0x19e87a){_0x5e0053=_0x5e0053-0x68;let _0x23ea9c=_0x5c5445[_0x5e0053];return _0x23ea9c;},_0x5e00(_0x4431e2,_0x3234c4);}import _0x2c93d9 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x399237(0x77)]=!![];[_0x399237(0x70)]=!![];['fileLogLevel']=LogLevel[_0x399237(0x7b)];[_0x399237(0x6f)]=LogLevel[_0x399237(0x74)];constructor(){super();}[_0x399237(0x79)](){const _0x29c86e=_0x399237;return _0x2c93d9['join'](this['getConfigDir'](),_0x29c86e(0x75)+selfInfo[_0x29c86e(0x72)]+'.json');}}export const napCatConfig=new Config();function _0x5c54(){const _0x490197=['1820166pXCuXM','uin','12PgbzYG','INFO','napcat_','1979676eQxeRm','fileLog','890lBPixZ','getConfigPath','1198WOSBEr','DEBUG','5IYhItT','42mAnvHz','2780855xitthX','110128JbPbXi','5395797dmFhEw','5074090pGAxrr','8lQvuZT','consoleLogLevel','consoleLog'];_0x5c54=function(){return _0x490197;};return _0x5c54();} \ No newline at end of file +const _0x2daa75=_0x3bf6;function _0x3bf6(_0x50f67e,_0x58ca7f){const _0x5c2d39=_0x5c2d();return _0x3bf6=function(_0x3bf6ee,_0x3e881d){_0x3bf6ee=_0x3bf6ee-0x178;let _0xf3cf4f=_0x5c2d39[_0x3bf6ee];return _0xf3cf4f;},_0x3bf6(_0x50f67e,_0x58ca7f);}(function(_0x38e4db,_0x3ab8e6){const _0xed52ac=_0x3bf6,_0x2d5386=_0x38e4db();while(!![]){try{const _0x199512=parseInt(_0xed52ac(0x184))/0x1*(parseInt(_0xed52ac(0x17d))/0x2)+parseInt(_0xed52ac(0x189))/0x3*(-parseInt(_0xed52ac(0x186))/0x4)+-parseInt(_0xed52ac(0x17a))/0x5+parseInt(_0xed52ac(0x17f))/0x6+-parseInt(_0xed52ac(0x185))/0x7*(-parseInt(_0xed52ac(0x183))/0x8)+parseInt(_0xed52ac(0x182))/0x9*(-parseInt(_0xed52ac(0x187))/0xa)+parseInt(_0xed52ac(0x188))/0xb*(-parseInt(_0xed52ac(0x180))/0xc);if(_0x199512===_0x3ab8e6)break;else _0x2d5386['push'](_0x2d5386['shift']());}catch(_0x58dae5){_0x2d5386['push'](_0x2d5386['shift']());}}}(_0x5c2d,0x5736e));import _0x3105d6 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2daa75(0x179)]=!![];[_0x2daa75(0x17e)]=!![];[_0x2daa75(0x18b)]=LogLevel[_0x2daa75(0x181)];[_0x2daa75(0x17b)]=LogLevel[_0x2daa75(0x178)];constructor(){super();}[_0x2daa75(0x17c)](){const _0x9c2cd=_0x2daa75;return _0x3105d6[_0x9c2cd(0x18a)](this['getConfigDir'](),'napcat_'+selfInfo[_0x9c2cd(0x18c)]+'.json');}}function _0x5c2d(){const _0x4c91ac=['DEBUG','621uiJlTr','168KFiLVV','11WDfEWw','230965TDqZlQ','2137060dfpTOW','25580dvELSs','22CrMWaZ','3yxZiuL','join','fileLogLevel','uin','INFO','fileLog','95030hLMViN','consoleLogLevel','getConfigPath','23782iwYzZQ','consoleLog','3153870lmPuPt','1574028nKQuRb'];_0x5c2d=function(){return _0x4c91ac;};return _0x5c2d();}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 776c793f..73897dac 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x5a14f4=_0x308f;function _0x308f(_0x14a25f,_0x1e8e29){const _0x11c1fc=_0x11c1();return _0x308f=function(_0x308f9d,_0x87c165){_0x308f9d=_0x308f9d-0xe4;let _0x4c9cda=_0x11c1fc[_0x308f9d];return _0x4c9cda;},_0x308f(_0x14a25f,_0x1e8e29);}(function(_0x32b5f2,_0x352da9){const _0x4afa54=_0x308f,_0x4f5ec0=_0x32b5f2();while(!![]){try{const _0x3e48dd=-parseInt(_0x4afa54(0xe9))/0x1*(-parseInt(_0x4afa54(0xf4))/0x2)+parseInt(_0x4afa54(0xf5))/0x3*(-parseInt(_0x4afa54(0xe7))/0x4)+parseInt(_0x4afa54(0xf6))/0x5*(parseInt(_0x4afa54(0xf8))/0x6)+parseInt(_0x4afa54(0xfa))/0x7*(-parseInt(_0x4afa54(0xec))/0x8)+parseInt(_0x4afa54(0xe5))/0x9+parseInt(_0x4afa54(0xf2))/0xa*(parseInt(_0x4afa54(0xf3))/0xb)+parseInt(_0x4afa54(0xf0))/0xc*(-parseInt(_0x4afa54(0xee))/0xd);if(_0x3e48dd===_0x352da9)break;else _0x4f5ec0['push'](_0x4f5ec0['shift']());}catch(_0x577aeb){_0x4f5ec0['push'](_0x4f5ec0['shift']());}}}(_0x11c1,0x26ba5));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x5a14f4(0xef)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x259eb5){const _0x260ad5=_0x5a14f4;this[_0x260ad5(0xef)]=_0x259eb5;}async[_0x5a14f4(0xe4)](){const _0x4020ff=_0x5a14f4,_0x42f608={'afXma':function(_0x36918a,_0x2ad276,_0x362969){return _0x36918a(_0x2ad276,_0x362969);},'NaKZG':_0x4020ff(0xf9)};if(this[_0x4020ff(0xed)]())try{await this['refreshRkey']();}catch(_0x16e8a4){_0x42f608[_0x4020ff(0xf7)](logError,_0x42f608['NaKZG'],_0x16e8a4);}return this['rkeyData'];}['isExpired'](){const _0x4b192d=_0x5a14f4,_0x5cebe2={'LRJbC':function(_0x40c4f9,_0xe489b5){return _0x40c4f9>_0xe489b5;}},_0x1b0cf4=new Date()[_0x4b192d(0xea)]()/0x3e8;return _0x5cebe2[_0x4b192d(0xe6)](_0x1b0cf4,this[_0x4b192d(0xe8)]['expired_time']);}async[_0x5a14f4(0xeb)](){const _0x2a0099=_0x5a14f4,_0x1dc096={'SOWjd':'GET'};this[_0x2a0099(0xe8)]=await RequestUtil[_0x2a0099(0xf1)](this[_0x2a0099(0xef)],_0x1dc096['SOWjd']);}}function _0x11c1(){const _0x460e33=['rkeyData','2307kFPhIp','getTime','refreshRkey','308208gpVFmY','isExpired','4640987etIbal','serverUrl','12dRxiUq','HttpGetJson','3580BhuCYd','3289HdjUkh','202HUjfOJ','164991FwhVOA','1261430dcKyHA','afXma','6zCLEuA','获取rkey失败','21ypRVlL','getRkey','1834758kIuhOH','LRJbC','12QvoLvy'];_0x11c1=function(){return _0x460e33;};return _0x11c1();}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +function _0x78c8(_0x47b1a0,_0x1dc824){const _0xd05466=_0xd054();return _0x78c8=function(_0x78c8ec,_0x168bdf){_0x78c8ec=_0x78c8ec-0xa8;let _0x1eef84=_0xd05466[_0x78c8ec];return _0x1eef84;},_0x78c8(_0x47b1a0,_0x1dc824);}const _0x3f0990=_0x78c8;(function(_0x40919d,_0x5bf03e){const _0x4e7767=_0x78c8,_0x5a2161=_0x40919d();while(!![]){try{const _0xb06d20=-parseInt(_0x4e7767(0xa9))/0x1*(-parseInt(_0x4e7767(0xae))/0x2)+parseInt(_0x4e7767(0xb7))/0x3*(-parseInt(_0x4e7767(0xab))/0x4)+-parseInt(_0x4e7767(0xb2))/0x5*(parseInt(_0x4e7767(0xb9))/0x6)+-parseInt(_0x4e7767(0xa8))/0x7*(parseInt(_0x4e7767(0xb0))/0x8)+parseInt(_0x4e7767(0xb6))/0x9+-parseInt(_0x4e7767(0xb1))/0xa+parseInt(_0x4e7767(0xb4))/0xb;if(_0xb06d20===_0x5bf03e)break;else _0x5a2161['push'](_0x5a2161['shift']());}catch(_0x496899){_0x5a2161['push'](_0x5a2161['shift']());}}}(_0xd054,0x24eed));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x3f0990(0xb5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3f45e9){const _0x2209f9=_0x3f0990;this[_0x2209f9(0xaa)]=_0x3f45e9;}async['getRkey'](){const _0x10cbd8=_0x3f0990;if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x3adf4d){logError(_0x10cbd8(0xac),_0x3adf4d);}return this[_0x10cbd8(0xb5)];}['isExpired'](){const _0x572217=_0x3f0990,_0x1c27d4={'bJCDn':function(_0x4f28a1,_0x5e9c2b){return _0x4f28a1/_0x5e9c2b;},'ftTqq':function(_0x5ec262,_0x2aaff9){return _0x5ec262>_0x2aaff9;}},_0x1d4ed9=_0x1c27d4['bJCDn'](new Date()[_0x572217(0xaf)](),0x3e8);return _0x1c27d4['ftTqq'](_0x1d4ed9,this['rkeyData']['expired_time']);}async['refreshRkey'](){const _0x2429ac=_0x3f0990,_0x104505={'kvYKu':_0x2429ac(0xb8)};this['rkeyData']=await RequestUtil[_0x2429ac(0xad)](this['serverUrl'],_0x104505[_0x2429ac(0xb3)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0xd054(){const _0x39d54e=['14776HTJkHR','701330AxhJxb','784915QwPONA','kvYKu','5425772vWQAPs','rkeyData','2640834BbNwYf','3oaoJgP','GET','6HMkENX','1141kFnmfA','80noqVdD','serverUrl','429536OHJvZH','获取rkey失败','HttpGetJson','4MqkvWb','getTime'];_0xd054=function(){return _0x39d54e;};return _0xd054();} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index e1542b2a..406d85ab 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2e59c8=_0x33b2;(function(_0x5c426a,_0x2d7b0d){const _0xc70c6b=_0x33b2,_0x17bf7c=_0x5c426a();while(!![]){try{const _0x2cd4f1=-parseInt(_0xc70c6b(0x181))/0x1*(parseInt(_0xc70c6b(0x184))/0x2)+parseInt(_0xc70c6b(0x174))/0x3+parseInt(_0xc70c6b(0x187))/0x4+parseInt(_0xc70c6b(0x182))/0x5+parseInt(_0xc70c6b(0x183))/0x6+-parseInt(_0xc70c6b(0x189))/0x7*(parseInt(_0xc70c6b(0x185))/0x8)+-parseInt(_0xc70c6b(0x179))/0x9*(parseInt(_0xc70c6b(0x17d))/0xa);if(_0x2cd4f1===_0x2d7b0d)break;else _0x17bf7c['push'](_0x17bf7c['shift']());}catch(_0x409282){_0x17bf7c['push'](_0x17bf7c['shift']());}}}(_0x3f90,0x816f8));function _0x33b2(_0x4f9a1f,_0x167660){const _0x3f900f=_0x3f90();return _0x33b2=function(_0x33b2a9,_0x286715){_0x33b2a9=_0x33b2a9-0x172;let _0x1226dc=_0x3f900f[_0x33b2a9];return _0x1226dc;},_0x33b2(_0x4f9a1f,_0x167660);}import _0x17e22c from'node:path';import _0x115552 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2e59c8(0x188)]),__dirname=dirname(__filename);let wrapperNodePath=_0x17e22c[_0x2e59c8(0x17b)](_0x17e22c[_0x2e59c8(0x17f)](process['execPath']),_0x2e59c8(0x172));!_0x115552[_0x2e59c8(0x175)](wrapperNodePath)&&(wrapperNodePath=_0x17e22c[_0x2e59c8(0x186)](_0x17e22c[_0x2e59c8(0x17f)](process['execPath']),_0x2e59c8(0x17e)+qqVersionConfigInfo[_0x2e59c8(0x17c)]+_0x2e59c8(0x177)));function _0x3f90(){const _0x4f7a40=['1348726kMsFCI','104WWoOkO','join','4058968pGaaDR','url','423689QVrard','./resources/app/wrapper.node','WrapperLoader.cjs','2918157SvneDC','existsSync','\x0amodule.exports\x20=\x20require(\x22','/wrapper.node','file://','1874997xinYoN','replace','resolve','curVersion','50SQKdGM','resources/app/versions/','dirname','default','1nPVvAL','1563040MgJESz','4397868oGCwWX'];_0x3f90=function(){return _0x4f7a40;};return _0x3f90();}let WrapperLoader=_0x17e22c[_0x2e59c8(0x186)](__dirname,_0x2e59c8(0x173));_0x115552['writeFileSync'](WrapperLoader,_0x2e59c8(0x176)+wrapperNodePath[_0x2e59c8(0x17a)](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x2e59c8(0x178)+WrapperLoader))[_0x2e59c8(0x180)];export default QQWrapper; \ No newline at end of file +const _0x100728=_0x230a;(function(_0x501b46,_0x221a8c){const _0x10a994=_0x230a,_0x10c5ca=_0x501b46();while(!![]){try{const _0x3aff41=-parseInt(_0x10a994(0x205))/0x1*(-parseInt(_0x10a994(0x1fe))/0x2)+-parseInt(_0x10a994(0x1fc))/0x3*(-parseInt(_0x10a994(0x1fb))/0x4)+-parseInt(_0x10a994(0x200))/0x5+-parseInt(_0x10a994(0x1ff))/0x6*(parseInt(_0x10a994(0x1f7))/0x7)+-parseInt(_0x10a994(0x1f4))/0x8*(-parseInt(_0x10a994(0x1f8))/0x9)+-parseInt(_0x10a994(0x20c))/0xa+parseInt(_0x10a994(0x20b))/0xb;if(_0x3aff41===_0x221a8c)break;else _0x10c5ca['push'](_0x10c5ca['shift']());}catch(_0x11f2fb){_0x10c5ca['push'](_0x10c5ca['shift']());}}}(_0x31f3,0x40603));import _0x49acd7 from'node:path';import _0x17d4ea from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x31f3(){const _0x22b99e=['143qjszUF','writeFileSync','resolve','resources/app/versions/','\x22);\x0aexports\x20=\x20module.exports;\x0a','/wrapper.node','3627184CuRIoA','2747650NvolCa','./resources/app/wrapper.node','2099192Lymeuc','execPath','default','7KNOpdc','9sgkEvj','join','dirname','28bGoaTH','60924uvACiN','replace','1770ThabFq','1712742PMBDnB','184745OwURvF','WrapperLoader.cjs','curVersion','existsSync','\x0amodule.exports\x20=\x20require(\x22'];_0x31f3=function(){return _0x22b99e;};return _0x31f3();}function _0x230a(_0x9e9633,_0x3ccbb2){const _0x31f313=_0x31f3();return _0x230a=function(_0x230ae0,_0x183447){_0x230ae0=_0x230ae0-0x1f3;let _0x265a8b=_0x31f313[_0x230ae0];return _0x265a8b;},_0x230a(_0x9e9633,_0x3ccbb2);}const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x49acd7[_0x100728(0x207)](_0x49acd7[_0x100728(0x1fa)](process[_0x100728(0x1f5)]),_0x100728(0x1f3));!_0x17d4ea[_0x100728(0x203)](wrapperNodePath)&&(wrapperNodePath=_0x49acd7[_0x100728(0x1f9)](_0x49acd7[_0x100728(0x1fa)](process[_0x100728(0x1f5)]),_0x100728(0x208)+qqVersionConfigInfo[_0x100728(0x202)]+_0x100728(0x20a)));let WrapperLoader=_0x49acd7[_0x100728(0x1f9)](__dirname,_0x100728(0x201));_0x17d4ea[_0x100728(0x206)](WrapperLoader,_0x100728(0x204)+wrapperNodePath[_0x100728(0x1fd)](/\\/g,'\x5c\x5c')+_0x100728(0x209));const QQWrapper=(await import('file://'+WrapperLoader))[_0x100728(0x1f6)];export default QQWrapper; \ No newline at end of file