diff --git a/docs/changelogs/CHANGELOG.v1.5.8.md b/docs/changelogs/CHANGELOG.v1.5.8.md deleted file mode 100644 index 1ceab5ff5..000000000 --- a/docs/changelogs/CHANGELOG.v1.5.8.md +++ /dev/null @@ -1,14 +0,0 @@ -# v1.5.8 - -QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568 - -## 修复与优化 -* 修复视频文件残留问题 -* 重构 getcookies接口 支持大部分常见域 - -## 新增与调整 -* 日志大小限制 -* 支持 QQ音乐 卡片 无签名支持时 启用内置方法(缺点没有封面 限速1min/条) -* 支持Window X86-32机器 - -新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) diff --git a/docs/changelogs/CHANGELOG.v1.6.0.md b/docs/changelogs/CHANGELOG.v1.6.0.md index a73097696..1efb93b23 100644 --- a/docs/changelogs/CHANGELOG.v1.6.0.md +++ b/docs/changelogs/CHANGELOG.v1.6.0.md @@ -6,6 +6,6 @@ QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815 ## 新增与调整 - +* 新增图片subtype属性 区分表情图片与商城图片 新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) diff --git a/package.json b/package.json index 298afcf9a..5568154f9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "1.5.8", + "version": "1.6.0", "scripts": { "watch:dev": "vite --mode development", "watch:prod": "vite --mode production", diff --git a/src/core b/src/core index 658ff94d6..d70f9f5f5 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 658ff94d697732edb652af089e2308a563dee740 +Subproject commit d70f9f5f5bc2b1b762fe27ef9b471361ca6dda3a diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7d126f028..4d9c62e04 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5d45ba=_0x45f4;function _0x45f4(_0x44e490,_0x38aec7){var _0x5deaca=_0x5dea();return _0x45f4=function(_0x45f456,_0x523741){_0x45f456=_0x45f456-0x1e4;var _0x3d1278=_0x5deaca[_0x45f456];return _0x3d1278;},_0x45f4(_0x44e490,_0x38aec7);}function _0x5dea(){var _0x5e735a=['onMSFStatusChange','2RIaAEC','29480eRCTKF','getGroupCode','987KrMoNx','623040RfwnOX','7007900oHOLDG','1531677nVKMUZ','1196928xWXwkP','4734whVRoh','885912SGCfCF','onMSFSsoError','3075smPsjw'];_0x5dea=function(){return _0x5e735a;};return _0x5dea();}(function(_0x545333,_0x220bfc){var _0xccd8c7=_0x45f4,_0x397e66=_0x545333();while(!![]){try{var _0x1670ce=parseInt(_0xccd8c7(0x1ee))/0x1+-parseInt(_0xccd8c7(0x1ea))/0x2*(parseInt(_0xccd8c7(0x1f0))/0x3)+-parseInt(_0xccd8c7(0x1e6))/0x4+parseInt(_0xccd8c7(0x1e8))/0x5*(-parseInt(_0xccd8c7(0x1e5))/0x6)+parseInt(_0xccd8c7(0x1ed))/0x7*(parseInt(_0xccd8c7(0x1eb))/0x8)+-parseInt(_0xccd8c7(0x1e4))/0x9+parseInt(_0xccd8c7(0x1ef))/0xa;if(_0x1670ce===_0x220bfc)break;else _0x397e66['push'](_0x397e66['shift']());}catch(_0x14bdbf){_0x397e66['push'](_0x397e66['shift']());}}}(_0x5dea,0x7865f));export class DependsAdapter{[_0x5d45ba(0x1e9)](_0x233c16,_0x171c24){}[_0x5d45ba(0x1e7)](_0x4352a7){}[_0x5d45ba(0x1ec)](_0x1f0d4d){}} \ No newline at end of file +function _0x34b8(){var _0x5a3de1=['3537762syBcGg','45JfpVjM','onMSFSsoError','8yHuigU','777412XdiQik','108705XZvmFJ','getGroupCode','onMSFStatusChange','2464889CFVQKg','179800LgPTGV','126549cFEtrD','2716904wiPvSX','15KFJuDG'];_0x34b8=function(){return _0x5a3de1;};return _0x34b8();}function _0x5413(_0x4c5aaf,_0x23ec2a){var _0x34b8cb=_0x34b8();return _0x5413=function(_0x5413fb,_0x4fe630){_0x5413fb=_0x5413fb-0x170;var _0x2c182b=_0x34b8cb[_0x5413fb];return _0x2c182b;},_0x5413(_0x4c5aaf,_0x23ec2a);}var _0x33fbfb=_0x5413;(function(_0x5014d9,_0x1325e4){var _0x385ef7=_0x5413,_0x25527e=_0x5014d9();while(!![]){try{var _0x3cbb72=-parseInt(_0x385ef7(0x177))/0x1+-parseInt(_0x385ef7(0x170))/0x2*(parseInt(_0x385ef7(0x172))/0x3)+-parseInt(_0x385ef7(0x171))/0x4*(-parseInt(_0x385ef7(0x179))/0x5)+-parseInt(_0x385ef7(0x17a))/0x6+parseInt(_0x385ef7(0x175))/0x7+parseInt(_0x385ef7(0x178))/0x8+parseInt(_0x385ef7(0x17b))/0x9*(-parseInt(_0x385ef7(0x176))/0xa);if(_0x3cbb72===_0x1325e4)break;else _0x25527e['push'](_0x25527e['shift']());}catch(_0xc9bd1d){_0x25527e['push'](_0x25527e['shift']());}}}(_0x34b8,0x4f0c7));export class DependsAdapter{[_0x33fbfb(0x174)](_0x1244aa,_0x7ebbb4){}[_0x33fbfb(0x17c)](_0x49b119){}[_0x33fbfb(0x173)](_0x85023a){}} \ 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 2d76630d0..5acddcd19 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x2ad13b=_0x5ad7;function _0x4abb(){var _0x537a7a=['960EgeVWp','dispatchRequest','408695KXFapV','2884005wZkLBy','9770MtJYqU','3jaaltY','20005qnGMxX','dispatchCall','56796vkJMjW','3515132HgWJlD','2nhLcWD','8063UAUcTe','595567GFPAyM','8uWYFGt','dispatchCallWithJson','91OzMSBM'];_0x4abb=function(){return _0x537a7a;};return _0x4abb();}function _0x5ad7(_0x4429e8,_0x54b55a){var _0x4abbee=_0x4abb();return _0x5ad7=function(_0x5ad780,_0x16ed60){_0x5ad780=_0x5ad780-0xdc;var _0x271b7d=_0x4abbee[_0x5ad780];return _0x271b7d;},_0x5ad7(_0x4429e8,_0x54b55a);}(function(_0x100fff,_0x190d9d){var _0x4b5ca9=_0x5ad7,_0x5b7594=_0x100fff();while(!![]){try{var _0x22741a=parseInt(_0x4b5ca9(0xe5))/0x1*(-parseInt(_0x4b5ca9(0xdd))/0x2)+parseInt(_0x4b5ca9(0xe8))/0x3*(parseInt(_0x4b5ca9(0xdc))/0x4)+-parseInt(_0x4b5ca9(0xe9))/0x5*(-parseInt(_0x4b5ca9(0xe3))/0x6)+parseInt(_0x4b5ca9(0xdf))/0x7*(parseInt(_0x4b5ca9(0xe0))/0x8)+parseInt(_0x4b5ca9(0xe6))/0x9+-parseInt(_0x4b5ca9(0xe7))/0xa*(parseInt(_0x4b5ca9(0xde))/0xb)+-parseInt(_0x4b5ca9(0xeb))/0xc*(-parseInt(_0x4b5ca9(0xe2))/0xd);if(_0x22741a===_0x190d9d)break;else _0x5b7594['push'](_0x5b7594['shift']());}catch(_0x4590fd){_0x5b7594['push'](_0x5b7594['shift']());}}}(_0x4abb,0xcb4fc));export class DispatcherAdapter{[_0x2ad13b(0xe4)](_0x5dfd5e){}[_0x2ad13b(0xea)](_0x403d38){}[_0x2ad13b(0xe1)](_0x4cbb31){}} \ No newline at end of file +var _0x322a08=_0x7a55;function _0x7a55(_0x47fd1e,_0x28d38e){var _0x398cc1=_0x398c();return _0x7a55=function(_0x7a5516,_0x21f7e2){_0x7a5516=_0x7a5516-0x1ed;var _0x37f746=_0x398cc1[_0x7a5516];return _0x37f746;},_0x7a55(_0x47fd1e,_0x28d38e);}(function(_0x5ae6db,_0x18b47b){var _0x5e2c7a=_0x7a55,_0xfcb278=_0x5ae6db();while(!![]){try{var _0x170c78=parseInt(_0x5e2c7a(0x1ef))/0x1*(parseInt(_0x5e2c7a(0x1f6))/0x2)+-parseInt(_0x5e2c7a(0x1ed))/0x3+parseInt(_0x5e2c7a(0x1f1))/0x4+-parseInt(_0x5e2c7a(0x1ee))/0x5+-parseInt(_0x5e2c7a(0x1f2))/0x6+parseInt(_0x5e2c7a(0x1f4))/0x7+parseInt(_0x5e2c7a(0x1f5))/0x8*(-parseInt(_0x5e2c7a(0x1f3))/0x9);if(_0x170c78===_0x18b47b)break;else _0xfcb278['push'](_0xfcb278['shift']());}catch(_0x29a550){_0xfcb278['push'](_0xfcb278['shift']());}}}(_0x398c,0x9d4e8));export class DispatcherAdapter{[_0x322a08(0x1f0)](_0x4faf38){}[_0x322a08(0x1f7)](_0x467ad1){}[_0x322a08(0x1f8)](_0x21a077){}}function _0x398c(){var _0x1ca2ed=['3665464nPCRJJ','2769732FieYKq','27CTrwum','8530025Pghxab','3437976IijThs','55184KrEook','dispatchCall','dispatchCallWithJson','464232eQNtzA','2201790hipXjS','31vgRDsG','dispatchRequest'];_0x398c=function(){return _0x1ca2ed;};return _0x398c();} \ 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 3ed82a690..e2175f7a6 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x2bb3(_0x267c6d,_0x1247a3){var _0x3def98=_0x3def();return _0x2bb3=function(_0x2bb39d,_0x325723){_0x2bb39d=_0x2bb39d-0x78;var _0x3faebe=_0x3def98[_0x2bb39d];return _0x3faebe;},_0x2bb3(_0x267c6d,_0x1247a3);}function _0x3def(){var _0x56165c=['4mqqXzq','getAppSetting','onShowErrUITips','337mJmBvt','27410ZqvQxp','24087KDNYIC','onUpdateGeneralFlag','1128325DTaioB','2165184TLeQPz','1322VfwLGi','onGetOfflineMsg','7qNgjyy','fixPicImgType','651620itOfyS','1206IJQKhl','onInstallFinished','onLog','1867832vyYIfb','onGetSrvCalTime'];_0x3def=function(){return _0x56165c;};return _0x3def();}var _0x36a2bd=_0x2bb3;(function(_0x52181f,_0x516809){var _0x192a57=_0x2bb3,_0x12551c=_0x52181f();while(!![]){try{var _0x64e0a8=-parseInt(_0x192a57(0x7f))/0x1*(-parseInt(_0x192a57(0x85))/0x2)+-parseInt(_0x192a57(0x81))/0x3*(-parseInt(_0x192a57(0x7c))/0x4)+-parseInt(_0x192a57(0x89))/0x5+parseInt(_0x192a57(0x84))/0x6+-parseInt(_0x192a57(0x87))/0x7*(-parseInt(_0x192a57(0x7a))/0x8)+parseInt(_0x192a57(0x8a))/0x9*(-parseInt(_0x192a57(0x80))/0xa)+-parseInt(_0x192a57(0x83))/0xb;if(_0x64e0a8===_0x516809)break;else _0x12551c['push'](_0x12551c['shift']());}catch(_0x4d98de){_0x12551c['push'](_0x12551c['shift']());}}}(_0x3def,0x36ea8));export class GlobalAdapter{[_0x36a2bd(0x79)](..._0xdfd026){}[_0x36a2bd(0x7b)](..._0x566313){}[_0x36a2bd(0x7e)](..._0xc632c7){}[_0x36a2bd(0x88)](..._0x93abce){}[_0x36a2bd(0x7d)](..._0x40986f){}[_0x36a2bd(0x78)](..._0x1aee90){}[_0x36a2bd(0x82)](..._0xe07080){}[_0x36a2bd(0x86)](..._0x5efbe9){}} \ No newline at end of file +var _0x59f79f=_0xf9e7;(function(_0x42e807,_0x3b2ab8){var _0x36c6fe=_0xf9e7,_0x3dc4fe=_0x42e807();while(!![]){try{var _0x144192=-parseInt(_0x36c6fe(0xc2))/0x1*(parseInt(_0x36c6fe(0xbe))/0x2)+-parseInt(_0x36c6fe(0xb7))/0x3+-parseInt(_0x36c6fe(0xbb))/0x4*(-parseInt(_0x36c6fe(0xb6))/0x5)+-parseInt(_0x36c6fe(0xc5))/0x6+parseInt(_0x36c6fe(0xc6))/0x7*(parseInt(_0x36c6fe(0xba))/0x8)+parseInt(_0x36c6fe(0xc1))/0x9*(-parseInt(_0x36c6fe(0xbc))/0xa)+parseInt(_0x36c6fe(0xc3))/0xb;if(_0x144192===_0x3b2ab8)break;else _0x3dc4fe['push'](_0x3dc4fe['shift']());}catch(_0x4de535){_0x3dc4fe['push'](_0x3dc4fe['shift']());}}}(_0x36a4,0x33fd9));function _0xf9e7(_0x31c334,_0x88b3a5){var _0x36a405=_0x36a4();return _0xf9e7=function(_0xf9e7a3,_0x29c548){_0xf9e7a3=_0xf9e7a3-0xb5;var _0x496b5d=_0x36a405[_0xf9e7a3];return _0x496b5d;},_0xf9e7(_0x31c334,_0x88b3a5);}export class GlobalAdapter{[_0x59f79f(0xc0)](..._0x50ca8b){}[_0x59f79f(0xb9)](..._0x20d14d){}['onShowErrUITips'](..._0x16200c){}[_0x59f79f(0xb5)](..._0xb16818){}[_0x59f79f(0xb8)](..._0x4894c2){}[_0x59f79f(0xc4)](..._0x59b5d1){}[_0x59f79f(0xbf)](..._0xe0692){}[_0x59f79f(0xbd)](..._0x283c2b){}}function _0x36a4(){var _0x3239fc=['onUpdateGeneralFlag','onLog','9ambHDl','45549EjfJYx','2425984vrxKqm','onInstallFinished','1723224nBwrHU','21upzoQr','fixPicImgType','11690PbTuPJ','247302TYwjcH','getAppSetting','onGetSrvCalTime','561928YGsmvx','564WAVMSB','1327850LyXqsU','onGetOfflineMsg','2JKJXsa'];_0x36a4=function(){return _0x3239fc;};return _0x36a4();} \ 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 c84ce22c8..6cdabf389 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x5650(_0x1ae3cc,_0xf41a1d){var _0x32cec8=_0x32ce();return _0x5650=function(_0x565038,_0x1dd77a){_0x565038=_0x565038-0x10f;var _0x48a686=_0x32cec8[_0x565038];return _0x48a686;},_0x5650(_0x1ae3cc,_0xf41a1d);}(function(_0x27376f,_0x108381){var _0x257d8f=_0x5650,_0x10125b=_0x27376f();while(!![]){try{var _0x39d84b=parseInt(_0x257d8f(0x116))/0x1+-parseInt(_0x257d8f(0x111))/0x2*(parseInt(_0x257d8f(0x10f))/0x3)+parseInt(_0x257d8f(0x113))/0x4+parseInt(_0x257d8f(0x112))/0x5+-parseInt(_0x257d8f(0x110))/0x6+parseInt(_0x257d8f(0x114))/0x7+-parseInt(_0x257d8f(0x115))/0x8;if(_0x39d84b===_0x108381)break;else _0x10125b['push'](_0x10125b['shift']());}catch(_0x30eb3a){_0x10125b['push'](_0x10125b['shift']());}}}(_0x32ce,0x9b19d));function _0x32ce(){var _0x37dd4a=['5793970WlAjAs','3839372UEjMdl','7728679XLaFvA','17582952XMHnzs','401437IoCDZG','17307ePnYWk','2703828CHwOtm','118kJgsBd'];_0x32ce=function(){return _0x37dd4a;};return _0x32ce();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +function _0x15a8(){var _0x4c7426=['1825520nRtUuN','95631LWaWGn','4430fUSbDh','25844280gNgbwW','88eUDDgv','22JmmWzU','71856gMMBUB','121740lKMrHE','3028dAEVJr','287xKEPZl','1835178bEJUix'];_0x15a8=function(){return _0x4c7426;};return _0x15a8();}function _0x25de(_0x329e16,_0x59640d){var _0x15a846=_0x15a8();return _0x25de=function(_0x25ded1,_0x26ab5b){_0x25ded1=_0x25ded1-0x16f;var _0x1cf3b8=_0x15a846[_0x25ded1];return _0x1cf3b8;},_0x25de(_0x329e16,_0x59640d);}(function(_0x2862fc,_0x2f0547){var _0x2c7e63=_0x25de,_0x17741b=_0x2862fc();while(!![]){try{var _0x11cf00=-parseInt(_0x2c7e63(0x175))/0x1*(parseInt(_0x2c7e63(0x179))/0x2)+-parseInt(_0x2c7e63(0x173))/0x3+parseInt(_0x2c7e63(0x171))/0x4*(-parseInt(_0x2c7e63(0x176))/0x5)+-parseInt(_0x2c7e63(0x170))/0x6*(-parseInt(_0x2c7e63(0x172))/0x7)+-parseInt(_0x2c7e63(0x178))/0x8*(parseInt(_0x2c7e63(0x16f))/0x9)+-parseInt(_0x2c7e63(0x174))/0xa+parseInt(_0x2c7e63(0x177))/0xb;if(_0x11cf00===_0x2f0547)break;else _0x17741b['push'](_0x17741b['shift']());}catch(_0x1f239f){_0x17741b['push'](_0x17741b['shift']());}}}(_0x15a8,0x8cc71));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 5f297e6ad..8ea2a7b94 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x189a92=_0x4589;function _0x1c40(){const _0x22d397=['session','createCollection','7vhsioZ','createNewCollectionItem','2642538IEvuig','3072JEqEdD','getCollectionService','3172113CqMSNp','180728qrKzDB','getCollectionItemList','toString','getAllCollection','323682tgaZrF','5580632bhdpZI','1585900OqieMx','now','156yoclJK'];_0x1c40=function(){return _0x22d397;};return _0x1c40();}function _0x4589(_0x4e863b,_0x5193ac){const _0x1c40df=_0x1c40();return _0x4589=function(_0x458974,_0x5e0863){_0x458974=_0x458974-0x168;let _0x118746=_0x1c40df[_0x458974];return _0x118746;},_0x4589(_0x4e863b,_0x5193ac);}(function(_0x14e4b6,_0x35ad18){const _0xd58459=_0x4589,_0x300a98=_0x14e4b6();while(!![]){try{const _0x39e532=parseInt(_0xd58459(0x16f))/0x1+parseInt(_0xd58459(0x168))/0x2*(parseInt(_0xd58459(0x173))/0x3)+-parseInt(_0xd58459(0x16b))/0x4+parseInt(_0xd58459(0x171))/0x5+-parseInt(_0xd58459(0x178))/0x6+-parseInt(_0xd58459(0x176))/0x7*(-parseInt(_0xd58459(0x170))/0x8)+-parseInt(_0xd58459(0x16a))/0x9;if(_0x39e532===_0x35ad18)break;else _0x300a98['push'](_0x300a98['shift']());}catch(_0x2341b2){_0x300a98['push'](_0x300a98['shift']());}}}(_0x1c40,0x8da9b));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x189a92(0x175)](_0x49d82f,_0x34949a,_0x213446,_0x2344be,_0x2fe098){const _0x28716b=_0x189a92;let _0x42accc={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x49d82f,'strId':_0x213446,'groupId':'0','groupName':'','uid':_0x34949a},'customGroupId':'0','createTime':Date[_0x28716b(0x172)]()['toString'](),'sequence':Date[_0x28716b(0x172)]()[_0x28716b(0x16d)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x2344be,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2fe098,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x28716b(0x174)][_0x28716b(0x169)]()[_0x28716b(0x177)](_0x42accc);}static async[_0x189a92(0x16e)](_0x4068b5=0x0,_0x2b59d3=0x32){const _0x3a6012=_0x189a92;let _0x551b43={'category':_0x4068b5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x2b59d3,'searchDown':!![]};return napCatCore[_0x3a6012(0x174)][_0x3a6012(0x169)]()[_0x3a6012(0x16c)](_0x551b43);}} \ No newline at end of file +(function(_0x4b59c2,_0x3d7488){const _0x3d0aed=_0x48eb,_0x58e783=_0x4b59c2();while(!![]){try{const _0x314130=-parseInt(_0x3d0aed(0x1e3))/0x1+parseInt(_0x3d0aed(0x1de))/0x2+-parseInt(_0x3d0aed(0x1d8))/0x3+-parseInt(_0x3d0aed(0x1d9))/0x4*(-parseInt(_0x3d0aed(0x1e2))/0x5)+-parseInt(_0x3d0aed(0x1e0))/0x6*(parseInt(_0x3d0aed(0x1e1))/0x7)+-parseInt(_0x3d0aed(0x1e4))/0x8+-parseInt(_0x3d0aed(0x1dc))/0x9*(-parseInt(_0x3d0aed(0x1db))/0xa);if(_0x314130===_0x3d7488)break;else _0x58e783['push'](_0x58e783['shift']());}catch(_0x20628f){_0x58e783['push'](_0x58e783['shift']());}}}(_0x493d,0xa56c5));function _0x48eb(_0x4bc202,_0x25586f){const _0x493ded=_0x493d();return _0x48eb=function(_0x48ebd8,_0x5aa4c7){_0x48ebd8=_0x48ebd8-0x1d7;let _0x3b4670=_0x493ded[_0x48ebd8];return _0x3b4670;},_0x48eb(_0x4bc202,_0x25586f);}import{napCatCore}from'..';export class NTQQCollectionApi{static async['createCollection'](_0x190fff,_0x773f9d,_0x3bb5fd,_0x71660a,_0x44d3bd){const _0x2dd486=_0x48eb;let _0x5a1693={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x190fff,'strId':_0x3bb5fd,'groupId':'0','groupName':'','uid':_0x773f9d},'customGroupId':'0','createTime':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)](),'sequence':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x71660a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x44d3bd,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2dd486(0x1da)][_0x2dd486(0x1df)]()[_0x2dd486(0x1dd)](_0x5a1693);}static async['getAllCollection'](_0x10be57=0x0,_0x559553=0x32){const _0x2c69ad=_0x48eb;let _0x4e7662={'category':_0x10be57,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x559553,'searchDown':!![]};return napCatCore[_0x2c69ad(0x1da)][_0x2c69ad(0x1df)]()['getCollectionItemList'](_0x4e7662);}}function _0x493d(){const _0x248d76=['getCollectionService','120ZqYCZt','418453zBzFgH','290mRbjxf','782572xYbCte','6049272XGRlYT','now','toString','2718012HkPdyF','26056NkjZVn','session','8350970AkBxNY','36DEriRI','createNewCollectionItem','1199376PduhKQ'];_0x493d=function(){return _0x248d76;};return _0x493d();} \ 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 2f3eae0a3..c89dcc0e7 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -function _0x1d1e(_0x35b432,_0x259839){const _0x456c0a=_0x456c();return _0x1d1e=function(_0x1d1e49,_0x1cee59){_0x1d1e49=_0x1d1e49-0x9a;let _0x29e4d4=_0x456c0a[_0x1d1e49];return _0x29e4d4;},_0x1d1e(_0x35b432,_0x259839);}const _0x27f6e4=_0x1d1e;(function(_0x157853,_0x423560){const _0x21f7a9=_0x1d1e,_0x2c5b9c=_0x157853();while(!![]){try{const _0x5a855c=-parseInt(_0x21f7a9(0xd4))/0x1*(-parseInt(_0x21f7a9(0xa3))/0x2)+parseInt(_0x21f7a9(0xc8))/0x3+-parseInt(_0x21f7a9(0xbd))/0x4+parseInt(_0x21f7a9(0xd3))/0x5*(-parseInt(_0x21f7a9(0xbe))/0x6)+-parseInt(_0x21f7a9(0xa0))/0x7*(-parseInt(_0x21f7a9(0xab))/0x8)+-parseInt(_0x21f7a9(0xae))/0x9+-parseInt(_0x21f7a9(0xd7))/0xa;if(_0x5a855c===_0x423560)break;else _0x2c5b9c['push'](_0x2c5b9c['shift']());}catch(_0x23c919){_0x2c5b9c['push'](_0x2c5b9c['shift']());}}}(_0x456c,0xf05c0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x55cd7e from'path';import _0x49086d from'fs';import _0x10d05e from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x40040e from'file-type';import{MsgListener}from'@/core/listeners';function _0x456c(){const _0x132d61=['util','getVideoUrl','13573168DQpEGC','downloadRichMedia','clearCacheDataByKeys','1549174MfYyeo','scanCache','/gchatpic_new/0/0-0-','/download','PIC','set','ext','group_rkey','8kkTsnz','filePath','toUpperCase','8461359UxrbuY','图片url获取失败','startsWith','getRichMediaFilePathForGuild','getDesktopTmpPath','basename','getChatCacheList','getImageUrl','getFileSize','elementId','getHotUpdateCachePath','addCacheScannedPaths','msgId','getVideoPlayUrlV2','copyFile','3506528MjtUbb','6wyddfY','domainUrl','onLoginSuccess','getFileType','addCacheScanedPaths','setCacheSilentScan','nnnJa','delete','urlResult','tmp','4914312PLIjeb','getStorageCleanService','下载超时','mtrZU','existsSync','ykGlN','WutwN','getImageSize','VMkhI','hotUpdate','clearChatCacheInfo','1826155mKRFWT','1EUgyba','downloadMedia','CpvVx','11851890nTdHMO','md5HexStr','getMsgService','session','defaultFileDownloadPath','fileUuid','KiaOP','addListener','getRichMediaService','join','includes','qExhT','clearChatCache','FxGdN','private_rkey','uploadFile','fileTypeFromFile','&rkey='];_0x456c=function(){return _0x132d61;};return _0x456c();}import _0x58dcdd 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['onRichMediaDownloadComplete']=_0x3a39cc=>{const _0x2ad0f9=_0x1d1e,_0x2c00cc={'CpvVx':function(_0x3e9ef9,_0x52dc2c){return _0x3e9ef9(_0x52dc2c);}};for(const [_0xeac528,_0x2f247e]of downloadMediaTasks){_0x2c00cc[_0x2ad0f9(0xd6)](_0x2f247e,_0x3a39cc),downloadMediaTasks[_0x2ad0f9(0xc5)](_0xeac528);}},setTimeout(()=>{const _0x3aca35=_0x1d1e;napCatCore[_0x3aca35(0xc0)](()=>{const _0xf0c73b=_0x3aca35;napCatCore[_0xf0c73b(0xde)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x27f6e4(0xc1)](_0xc3254d){const _0x229174=_0x27f6e4;return _0x40040e[_0x229174(0x9c)](_0xc3254d);}static async['copyFile'](_0x540b8f,_0x4a5b81){const _0x2aa70d=_0x27f6e4;await napCatCore[_0x2aa70d(0x9e)][_0x2aa70d(0xbc)](_0x540b8f,_0x4a5b81);}static async['getFileSize'](_0x2f4a66){const _0x506cb0=_0x27f6e4;return await napCatCore['util'][_0x506cb0(0xb6)](_0x2f4a66);}static async[_0x27f6e4(0x9f)](_0x43d509,_0x20f3da){const _0x22fdee=_0x27f6e4;return(await napCatCore[_0x22fdee(0xda)][_0x22fdee(0xdf)]()[_0x22fdee(0xbb)]({'chatType':_0x43d509['chatType'],'peerUid':_0x43d509['peerUid'],'guildId':'0'},_0x43d509[_0x22fdee(0xba)],_0x20f3da[_0x22fdee(0xb7)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x22fdee(0xc6)][_0x22fdee(0xbf)][0x0]['url'];}static async[_0x27f6e4(0x9b)](_0x4886ce,_0x3b19e1=ElementType[_0x27f6e4(0xa7)],_0x2030d9=0x0){const _0x2502b0=_0x27f6e4,_0x219535={'ykGlN':function(_0x50b2b4,_0x5c09c0){return _0x50b2b4(_0x5c09c0);},'FxGdN':function(_0x295ddb,_0x512d22){return _0x295ddb+_0x512d22;},'IAptz':function(_0x1e9ed7,_0x54d664){return _0x1e9ed7===_0x54d664;}},_0x23be88=await _0x219535[_0x2502b0(0xcd)](calculateFileMD5,_0x4886ce);let _0x2acb59=(await NTQQFileApi[_0x2502b0(0xc1)](_0x4886ce))?.[_0x2502b0(0xa9)]||'';_0x2acb59&&(_0x2acb59=_0x219535[_0x2502b0(0xe4)]('.',_0x2acb59));let _0x3480a6=''+_0x55cd7e[_0x2502b0(0xb3)](_0x4886ce);_0x219535['IAptz'](_0x3480a6['indexOf']('.'),-0x1)&&(_0x3480a6+=_0x2acb59);const _0x308add=napCatCore[_0x2502b0(0xda)][_0x2502b0(0xd9)]()[_0x2502b0(0xb1)]({'md5HexStr':_0x23be88,'fileName':_0x3480a6,'elementType':_0x3b19e1,'elementSubType':_0x2030d9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x4886ce,_0x308add);const _0x31bb72=await NTQQFileApi['getFileSize'](_0x4886ce);return{'md5':_0x23be88,'fileName':_0x3480a6,'path':_0x308add,'fileSize':_0x31bb72,'ext':_0x2acb59};}static async[_0x27f6e4(0xd5)](_0x5a89a1,_0x2658ec,_0x25dea7,_0x37534b,_0x4e8b37,_0x26fb8d,_0xbd5580=0x3e8*0x3c*0x2,_0x36455c=![]){const _0x6b7b1d=_0x27f6e4,_0xcf1f76={'dERkc':function(_0x3f5722,_0x1d1ccb){return _0x3f5722===_0x1d1ccb;},'VMkhI':function(_0x45a487){return _0x45a487();}};if(_0x26fb8d&&_0x49086d[_0x6b7b1d(0xcc)](_0x26fb8d)){if(_0x36455c)try{await _0x10d05e['unlink'](_0x26fb8d);}catch(_0x294dd9){}else return _0x26fb8d;}return new Promise((_0x4ce84a,_0x33d3b5)=>{const _0xcdaf33=_0x6b7b1d,_0x2d5929={'LLPRJ':function(_0x2ed9bb,_0x5d08d9){return _0xcf1f76['dERkc'](_0x2ed9bb,_0x5d08d9);},'qExhT':function(_0x8115e3,_0x1e595a){return _0x8115e3(_0x1e595a);}};let _0x166bac=![];const _0xd04bce=_0x12d3ab=>{const _0x43ef6a=_0x1d1e;if(_0x2d5929['LLPRJ'](_0x12d3ab[_0x43ef6a(0xba)],_0x5a89a1)){_0x166bac=!![];let _0x14aaa0=_0x12d3ab[_0x43ef6a(0xac)];if(_0x14aaa0['startsWith']('\x5c')){const _0x2fe0bb=sessionConfig[_0x43ef6a(0xdb)];_0x14aaa0=_0x55cd7e[_0x43ef6a(0xe0)](_0x2fe0bb,_0x14aaa0);}_0x2d5929[_0x43ef6a(0xe2)](_0x4ce84a,_0x14aaa0);}};downloadMediaTasks[_0xcdaf33(0xa8)](_0xcf1f76[_0xcdaf33(0xd0)](randomUUID),_0xd04bce),setTimeout(()=>{const _0x4535d8=_0xcdaf33;!_0x166bac&&_0x33d3b5(_0x4535d8(0xca));},_0xbd5580),napCatCore[_0xcdaf33(0xda)][_0xcdaf33(0xd9)]()[_0xcdaf33(0xa1)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5a89a1,'chatType':_0x2658ec,'peerUid':_0x25dea7,'elementId':_0x37534b,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4e8b37});});}static async[_0x27f6e4(0xcf)](_0x3a86fa){const _0x1c35d3={'mNktO':function(_0x3a0e96,_0x5884b6){return _0x3a0e96(_0x5884b6);},'hIJBV':function(_0xb96c42,_0x1462fc,_0x3c8c6c){return _0xb96c42(_0x1462fc,_0x3c8c6c);}};return new Promise((_0x5f0808,_0x2c98f9)=>{_0x1c35d3['hIJBV'](_0x58dcdd,_0x3a86fa,(_0x56f9c3,_0x1276b5)=>{_0x56f9c3?_0x2c98f9(_0x56f9c3):_0x1c35d3['mNktO'](_0x5f0808,_0x1276b5);});});}static async[_0x27f6e4(0xb5)](_0x5e0fd0,_0x12b217){const _0x5cf37a=_0x27f6e4,_0x236c16={'KiaOP':_0x5cf37a(0xa6),'LqYzM':_0x5cf37a(0x9d),'WutwN':function(_0x41454a,_0x23d7c9){return _0x41454a+_0x23d7c9;},'Wgdtd':function(_0x1bac27,_0x7415de){return _0x1bac27||_0x7415de;},'mtrZU':function(_0x582346,_0x2fe47b){return _0x582346||_0x2fe47b;},'nnnJa':function(_0x445945,_0x136c47,_0x4c9670){return _0x445945(_0x136c47,_0x4c9670);}};if(!_0x5e0fd0)return'';const _0x3e300b=_0x5e0fd0['originImageUrl'],_0x18f746=_0x5e0fd0[_0x5cf37a(0xd8)],_0x5b2ee9=_0x5e0fd0[_0x5cf37a(0xd8)],_0x4f034e=_0x5e0fd0[_0x5cf37a(0xdc)];if(_0x3e300b){if(_0x3e300b[_0x5cf37a(0xb0)](_0x236c16[_0x5cf37a(0xdd)])){if(_0x3e300b[_0x5cf37a(0xe1)](_0x236c16['LqYzM']))return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b);const _0x445378=await rkeyManager['getRkey'](),_0x18b5f1=_0x12b217?_0x445378[_0x5cf37a(0x9a)]:_0x445378[_0x5cf37a(0xaa)];return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b)+(''+_0x18b5f1);}else return IMAGE_HTTP_HOST+_0x3e300b;}else{if(_0x236c16['Wgdtd'](_0x5b2ee9,_0x18f746))return IMAGE_HTTP_HOST+_0x5cf37a(0xa5)+_0x236c16[_0x5cf37a(0xcb)](_0x5b2ee9,_0x18f746)[_0x5cf37a(0xad)]()+'/0';}return _0x236c16[_0x5cf37a(0xc4)](logDebug,_0x5cf37a(0xaf),_0x5e0fd0),'';}}export class NTQQFileCacheApi{static async[_0x27f6e4(0xc3)](_0x1e6270=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x4fb8f9=[_0x27f6e4(0xc7),_0x27f6e4(0xd1)]){const _0x57be38=_0x27f6e4;return napCatCore['session'][_0x57be38(0xc9)]()[_0x57be38(0xa2)](_0x4fb8f9);}static[_0x27f6e4(0xb9)](_0x1ce39c={}){const _0x17b814=_0x27f6e4;return napCatCore[_0x17b814(0xda)][_0x17b814(0xc9)]()[_0x17b814(0xc2)](_0x1ce39c);}static[_0x27f6e4(0xa4)](){const _0x390903=_0x27f6e4;return napCatCore[_0x390903(0xda)][_0x390903(0xc9)]()[_0x390903(0xa4)]();}static[_0x27f6e4(0xb8)](){return'';}static[_0x27f6e4(0xb2)](){return'';}static[_0x27f6e4(0xb4)](_0x3a7a75,_0x220764=0x3e8,_0x2e7a64=0x0){const _0x84e4a6=_0x27f6e4;return napCatCore[_0x84e4a6(0xda)][_0x84e4a6(0xc9)]()['getChatCacheInfo'](_0x3a7a75,_0x220764,0x1,_0x2e7a64);}static['getFileCacheInfo'](_0x54413b,_0x2687b9=0x3e8,_0x368837){const _0x4131e4=_0x368837?_0x368837:{'fileType':_0x54413b};}static async[_0x27f6e4(0xe3)](_0x5e5717=[],_0x27fa76=[]){const _0x415fe8=_0x27f6e4;return napCatCore['session'][_0x415fe8(0xc9)]()[_0x415fe8(0xd2)](_0x5e5717,_0x27fa76);}} \ No newline at end of file +const _0x5cc836=_0x2753;(function(_0x325c3a,_0x104157){const _0x4dc830=_0x2753,_0x1a1d7f=_0x325c3a();while(!![]){try{const _0x36f52e=-parseInt(_0x4dc830(0x174))/0x1+-parseInt(_0x4dc830(0x177))/0x2+parseInt(_0x4dc830(0x14d))/0x3+parseInt(_0x4dc830(0x155))/0x4*(parseInt(_0x4dc830(0x145))/0x5)+-parseInt(_0x4dc830(0x16b))/0x6*(-parseInt(_0x4dc830(0x137))/0x7)+-parseInt(_0x4dc830(0x13c))/0x8+-parseInt(_0x4dc830(0x13a))/0x9;if(_0x36f52e===_0x104157)break;else _0x1a1d7f['push'](_0x1a1d7f['shift']());}catch(_0x3ccd41){_0x1a1d7f['push'](_0x1a1d7f['shift']());}}}(_0x119c,0x263fe));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3bb556 from'path';import _0x5bf1a3 from'fs';import _0x1bedda from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x1ab883 from'file-type';import{MsgListener}from'@/core/listeners';import _0x50335f from'image-size';function _0x2753(_0x41fdd2,_0x37be4d){const _0x119c22=_0x119c();return _0x2753=function(_0x275373,_0x474705){_0x275373=_0x275373-0x129;let _0x21bbe4=_0x119c22[_0x275373];return _0x21bbe4;},_0x2753(_0x41fdd2,_0x37be4d);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x119c(){const _0x38f25e=['图片url获取失败','addCacheScanedPaths','set','fileUuid','uMVze','agSaB','WrzCu','65kmtgvv','getDesktopTmpPath','onLoginSuccess','tmp','&rkey=','FUKnC','chatType','getFileSize','61701ahfIXZ','getRkey','downloadRichMedia','addCacheScannedPaths','md5HexStr','setCacheSilentScan','clearCacheDataByKeys','getMsgService','73464ACaxJF','url','delete','session','toUpperCase','unlink','includes','clearChatCache','urlResult','copyFile','fileTypeFromFile','getImageSize','rMFIR','QoqkO','zZcGi','scanCache','getCacheSessionPathList','existsSync','JkjHw','getVideoUrl','getFileType','indexOf','272214jpuKAv','ZKxes','originImageUrl','util','filePath','private_rkey','getImageUrl','clearCache','getHotUpdateCachePath','21208sxNRme','peerUid','msgId','128032rfUfKP','join','getRichMediaService','basename','group_rkey','elementId','getRichMediaFilePathForGuild','DJGIE','addListener','Tpwfh','downloadMedia','getFileCacheInfo','clearChatCacheInfo','startsWith','/gchatpic_new/0/0-0-','14LEqUwC','getStorageCleanService','TGoff','727758YhIOmB','hotUpdate','218456NkKTwA','domainUrl'];_0x119c=function(){return _0x38f25e;};return _0x119c();}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x43aa30=>{const _0x453894=_0x2753;for(const [_0x2d7654,_0x510cfd]of downloadMediaTasks){_0x510cfd(_0x43aa30),downloadMediaTasks[_0x453894(0x157)](_0x2d7654);}},setTimeout(()=>{const _0x1261bb=_0x2753;napCatCore[_0x1261bb(0x147)](()=>{const _0x3587c0=_0x1261bb;napCatCore[_0x3587c0(0x130)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4bfd4c){const _0x9a74a=_0x2753;return _0x1ab883[_0x9a74a(0x15f)](_0x4bfd4c);}static async['copyFile'](_0x2a6028,_0x1aa9cd){const _0xa13bae=_0x2753;await napCatCore['util'][_0xa13bae(0x15e)](_0x2a6028,_0x1aa9cd);}static async['getFileSize'](_0x5bb7bc){const _0x3b62a4=_0x2753;return await napCatCore[_0x3b62a4(0x16e)]['getFileSize'](_0x5bb7bc);}static async[_0x5cc836(0x168)](_0x143e34,_0x2c047a){const _0x757d42=_0x5cc836;return(await napCatCore['session'][_0x757d42(0x12a)]()['getVideoPlayUrlV2']({'chatType':_0x143e34[_0x757d42(0x14b)],'peerUid':_0x143e34[_0x757d42(0x175)],'guildId':'0'},_0x143e34[_0x757d42(0x176)],_0x2c047a[_0x757d42(0x12d)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x757d42(0x15d)][_0x757d42(0x13d)][0x0][_0x757d42(0x156)];}static async['uploadFile'](_0x28be73,_0x4d6d6c=ElementType['PIC'],_0x887ed4=0x0){const _0x1e3d69=_0x5cc836,_0xbb142a={'zZcGi':function(_0x4ca907,_0x15a7fd){return _0x4ca907+_0x15a7fd;},'QoqkO':function(_0x1132f8,_0x2cf667){return _0x1132f8===_0x2cf667;}},_0x20eb82=await calculateFileMD5(_0x28be73);let _0x21ab34=(await NTQQFileApi[_0x1e3d69(0x169)](_0x28be73))?.['ext']||'';_0x21ab34&&(_0x21ab34=_0xbb142a[_0x1e3d69(0x163)]('.',_0x21ab34));let _0xa54243=''+_0x3bb556[_0x1e3d69(0x12b)](_0x28be73);_0xbb142a[_0x1e3d69(0x162)](_0xa54243[_0x1e3d69(0x16a)]('.'),-0x1)&&(_0xa54243+=_0x21ab34);const _0x2aca53=napCatCore[_0x1e3d69(0x158)][_0x1e3d69(0x154)]()[_0x1e3d69(0x12e)]({'md5HexStr':_0x20eb82,'fileName':_0xa54243,'elementType':_0x4d6d6c,'elementSubType':_0x887ed4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1e3d69(0x15e)](_0x28be73,_0x2aca53);const _0x457ed8=await NTQQFileApi[_0x1e3d69(0x14c)](_0x28be73);return{'md5':_0x20eb82,'fileName':_0xa54243,'path':_0x2aca53,'fileSize':_0x457ed8,'ext':_0x21ab34};}static async[_0x5cc836(0x132)](_0x5a7075,_0x342e6b,_0x50a1e3,_0x2b9fd8,_0x26fbc5,_0x2e59fd,_0x50412a=0x3e8*0x3c*0x2,_0x3be495=![]){const _0xf0a703=_0x5cc836,_0x137ad9={'eNFjE':function(_0x2ae1c5,_0x32005a){return _0x2ae1c5(_0x32005a);},'ZKxes':function(_0x2c88da,_0x380753){return _0x2c88da(_0x380753);},'Vqnbe':'下载超时','agSaB':function(_0x3d8991){return _0x3d8991();},'KdcDS':function(_0x410e1c,_0x275ddb,_0x220fe8){return _0x410e1c(_0x275ddb,_0x220fe8);}};if(_0x2e59fd&&_0x5bf1a3[_0xf0a703(0x166)](_0x2e59fd)){if(_0x3be495)try{await _0x1bedda[_0xf0a703(0x15a)](_0x2e59fd);}catch(_0x42fec1){}else return _0x2e59fd;}return new Promise((_0x43aeff,_0x59ee69)=>{const _0x530cca=_0xf0a703,_0x13226f={'FUKnC':function(_0x5d6c80,_0x5707a8){const _0x38aa81=_0x2753;return _0x137ad9[_0x38aa81(0x16c)](_0x5d6c80,_0x5707a8);},'TGoff':_0x137ad9['Vqnbe']};let _0x58c57f=![];const _0x4af187=_0x54bfd2=>{const _0x599c7a=_0x2753;if(_0x54bfd2[_0x599c7a(0x176)]===_0x5a7075){_0x58c57f=!![];let _0xc935b=_0x54bfd2[_0x599c7a(0x16f)];if(_0xc935b[_0x599c7a(0x135)]('\x5c')){const _0x4169d4=sessionConfig['defaultFileDownloadPath'];_0xc935b=_0x3bb556[_0x599c7a(0x129)](_0x4169d4,_0xc935b);}_0x137ad9['eNFjE'](_0x43aeff,_0xc935b);}};downloadMediaTasks[_0x530cca(0x140)](_0x137ad9[_0x530cca(0x143)](randomUUID),_0x4af187),_0x137ad9['KdcDS'](setTimeout,()=>{const _0xb08cf8=_0x530cca;!_0x58c57f&&_0x13226f[_0xb08cf8(0x14a)](_0x59ee69,_0x13226f[_0xb08cf8(0x139)]);},_0x50412a),napCatCore[_0x530cca(0x158)][_0x530cca(0x154)]()[_0x530cca(0x14f)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5a7075,'chatType':_0x342e6b,'peerUid':_0x50a1e3,'elementId':_0x2b9fd8,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x26fbc5});});}static async[_0x5cc836(0x160)](_0x256a4e){const _0x92a364={'bhGvn':function(_0x8f46ce,_0x17c518){return _0x8f46ce(_0x17c518);},'rMFIR':function(_0x5d944c,_0x304fc0,_0x106c90){return _0x5d944c(_0x304fc0,_0x106c90);}};return new Promise((_0x30e6ab,_0x548022)=>{const _0x2d5105=_0x2753;_0x92a364[_0x2d5105(0x161)](_0x50335f,_0x256a4e,(_0x1019b2,_0x232d49)=>{_0x1019b2?_0x548022(_0x1019b2):_0x92a364['bhGvn'](_0x30e6ab,_0x232d49);});});}static async[_0x5cc836(0x171)](_0x2e48d5,_0xde902){const _0x4bbfa5=_0x5cc836,_0x385d3d={'JkjHw':'/download','DJGIE':_0x4bbfa5(0x149),'Tpwfh':function(_0x236756,_0x4a101d){return _0x236756+_0x4a101d;},'uMVze':function(_0x24355,_0x1fc316){return _0x24355+_0x1fc316;},'WrzCu':function(_0x30dd54,_0x4ccfc5){return _0x30dd54||_0x4ccfc5;}};if(!_0x2e48d5)return'';const _0xfe8a46=_0x2e48d5[_0x4bbfa5(0x16d)],_0x51e567=_0x2e48d5[_0x4bbfa5(0x151)],_0x55be85=_0x2e48d5[_0x4bbfa5(0x151)],_0x3b3094=_0x2e48d5[_0x4bbfa5(0x141)];if(_0xfe8a46){if(_0xfe8a46[_0x4bbfa5(0x135)](_0x385d3d[_0x4bbfa5(0x167)])){if(_0xfe8a46[_0x4bbfa5(0x15b)](_0x385d3d[_0x4bbfa5(0x12f)]))return IMAGE_HTTP_HOST_NT+_0xfe8a46;const _0x5b2af0=await rkeyManager[_0x4bbfa5(0x14e)](),_0x4e1d44=_0xde902?_0x5b2af0[_0x4bbfa5(0x170)]:_0x5b2af0[_0x4bbfa5(0x12c)];return _0x385d3d[_0x4bbfa5(0x131)](_0x385d3d[_0x4bbfa5(0x131)](IMAGE_HTTP_HOST_NT,_0xfe8a46),''+_0x4e1d44);}else return _0x385d3d[_0x4bbfa5(0x142)](IMAGE_HTTP_HOST,_0xfe8a46);}else{if(_0x55be85||_0x51e567)return IMAGE_HTTP_HOST+_0x4bbfa5(0x136)+_0x385d3d[_0x4bbfa5(0x144)](_0x55be85,_0x51e567)[_0x4bbfa5(0x159)]()+'/0';}return logDebug(_0x4bbfa5(0x13e),_0x2e48d5),'';}}export class NTQQFileCacheApi{static async[_0x5cc836(0x152)](_0x4589eb=!![]){return'';}static[_0x5cc836(0x165)](){return'';}static[_0x5cc836(0x172)](_0x386496=[_0x5cc836(0x148),_0x5cc836(0x13b)]){const _0x143ea9=_0x5cc836;return napCatCore[_0x143ea9(0x158)][_0x143ea9(0x138)]()[_0x143ea9(0x153)](_0x386496);}static[_0x5cc836(0x150)](_0x457d7b={}){const _0x4ef075=_0x5cc836;return napCatCore[_0x4ef075(0x158)][_0x4ef075(0x138)]()[_0x4ef075(0x13f)](_0x457d7b);}static[_0x5cc836(0x164)](){const _0x4d438e=_0x5cc836;return napCatCore[_0x4d438e(0x158)]['getStorageCleanService']()[_0x4d438e(0x164)]();}static[_0x5cc836(0x173)](){return'';}static[_0x5cc836(0x146)](){return'';}static['getChatCacheList'](_0xeca349,_0x492e7a=0x3e8,_0x36f7cd=0x0){const _0x52aa1a=_0x5cc836;return napCatCore[_0x52aa1a(0x158)][_0x52aa1a(0x138)]()['getChatCacheInfo'](_0xeca349,_0x492e7a,0x1,_0x36f7cd);}static[_0x5cc836(0x133)](_0x29d982,_0x396ab3=0x3e8,_0x534ecd){const _0x4a9df6=_0x534ecd?_0x534ecd:{'fileType':_0x29d982};}static async[_0x5cc836(0x15c)](_0x5b7ea5=[],_0x14902e=[]){const _0x33e331=_0x5cc836;return napCatCore['session'][_0x33e331(0x138)]()[_0x33e331(0x134)](_0x5b7ea5,_0x14902e);}} \ 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 ebc7ed023..2fe3ce5db 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x38b9dd=_0x6742;function _0x6742(_0x5f4119,_0x4603f9){const _0xf6cb48=_0xf6cb();return _0x6742=function(_0x674253,_0x3e29bb){_0x674253=_0x674253-0xf6;let _0x2c38a2=_0xf6cb48[_0x674253];return _0x2c38a2;},_0x6742(_0x5f4119,_0x4603f9);}(function(_0x519bdf,_0x17a257){const _0x475c25=_0x6742,_0x27c58b=_0x519bdf();while(!![]){try{const _0x1b0abe=parseInt(_0x475c25(0xff))/0x1*(parseInt(_0x475c25(0x105))/0x2)+parseInt(_0x475c25(0xfd))/0x3*(-parseInt(_0x475c25(0x100))/0x4)+-parseInt(_0x475c25(0xfc))/0x5*(-parseInt(_0x475c25(0x108))/0x6)+parseInt(_0x475c25(0xfb))/0x7*(-parseInt(_0x475c25(0x102))/0x8)+parseInt(_0x475c25(0x10b))/0x9*(parseInt(_0x475c25(0x104))/0xa)+-parseInt(_0x475c25(0x107))/0xb+parseInt(_0x475c25(0xf8))/0xc;if(_0x1b0abe===_0x17a257)break;else _0x27c58b['push'](_0x27c58b['shift']());}catch(_0x1b805b){_0x27c58b['push'](_0x27c58b['shift']());}}}(_0xf6cb,0xc5bd2));function _0xf6cb(){const _0x1fa83e=['isBuddy','35apIlvk','250FOIUgT','9zNfXQg','length','1AHllWr','1809360XOEDxe','getBuddyService','1554640wmpUbj','split','6487270ELLzyk','514984yFWAWk','CallNormalEvent','2927771EIIlvq','174018kdfTyr','approvalFriendRequest','NodeIKernelBuddyService/getBuddyList','18MSRgnI','session','xwDGp','buddyList','4796076MTyhHT','push'];_0xf6cb=function(){return _0x1fa83e;};return _0xf6cb();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x38b9dd(0xfa)](_0xda938c){const _0x2b6000=_0x38b9dd;return napCatCore[_0x2b6000(0x10c)][_0x2b6000(0x101)]()[_0x2b6000(0xfa)](_0xda938c);}static async['getFriends'](_0x5a017e=![]){const _0x1b7cbc=_0x38b9dd,_0x20db07={'bvHeT':_0x1b7cbc(0x10a),'xwDGp':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x12e7fc,_0x38e0b9]=await NTEventDispatch[_0x1b7cbc(0x106)](_0x20db07['bvHeT'],_0x20db07[_0x1b7cbc(0xf6)],0x1,0x1388,_0x5a017e);const _0x242788=[];for(const _0x420bb6 of _0x38e0b9){for(const _0x5c7ae4 of _0x420bb6[_0x1b7cbc(0xf7)]){_0x242788[_0x1b7cbc(0xf9)](_0x5c7ae4);}}return _0x242788;}static async['handleFriendRequest'](_0x184b74,_0x33e22a){const _0x20bf94=_0x38b9dd;let _0x41e885=_0x184b74[_0x20bf94(0x103)]('|');if(_0x41e885[_0x20bf94(0xfe)]<0x2)return;let _0x5f5c06=_0x41e885[0x0],_0x2b85c2=_0x41e885[0x1];napCatCore['session'][_0x20bf94(0x101)]()?.[_0x20bf94(0x109)]({'friendUid':_0x5f5c06,'reqTime':_0x2b85c2,'accept':_0x33e22a});}} \ No newline at end of file +function _0x5820(){const _0xd58641=['getBuddyService','NodeIKernelBuddyService/getBuddyList','NodeIKernelBuddyListener/onBuddyListChange','dXhmp','757225pdsMHI','split','433345fApLPe','isBuddy','7513440OVDWHx','ObMee','191142WJRwiA','640EMgfye','863124waPdXc','buddyList','getFriends','handleFriendRequest','session','9PrYryQ','1124810WQPXHs','192IIJEUa','hfVyP','20ZeDEmZ','72GqzhxS','length','854812ybTIyM'];_0x5820=function(){return _0xd58641;};return _0x5820();}const _0x41ea97=_0x7a21;(function(_0x4c9b52,_0x18da63){const _0x25929e=_0x7a21,_0x38ca40=_0x4c9b52();while(!![]){try{const _0x5d42b3=-parseInt(_0x25929e(0x9a))/0x1+-parseInt(_0x25929e(0x89))/0x2*(parseInt(_0x25929e(0x8e))/0x3)+parseInt(_0x25929e(0x92))/0x4*(parseInt(_0x25929e(0x8f))/0x5)+-parseInt(_0x25929e(0x9e))/0x6+parseInt(_0x25929e(0x95))/0x7*(parseInt(_0x25929e(0x93))/0x8)+-parseInt(_0x25929e(0xa0))/0x9*(-parseInt(_0x25929e(0xa1))/0xa)+-parseInt(_0x25929e(0x9c))/0xb*(-parseInt(_0x25929e(0x90))/0xc);if(_0x5d42b3===_0x18da63)break;else _0x38ca40['push'](_0x38ca40['shift']());}catch(_0x107f9a){_0x38ca40['push'](_0x38ca40['shift']());}}}(_0x5820,0xddfc7));function _0x7a21(_0x459a32,_0x120c90){const _0x582071=_0x5820();return _0x7a21=function(_0x7a2113,_0x8ceb5e){_0x7a2113=_0x7a2113-0x89;let _0x5ba122=_0x582071[_0x7a2113];return _0x5ba122;},_0x7a21(_0x459a32,_0x120c90);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x41ea97(0x9d)](_0x3f3c16){const _0x116a2c=_0x41ea97;return napCatCore[_0x116a2c(0x8d)][_0x116a2c(0x96)]()['isBuddy'](_0x3f3c16);}static async[_0x41ea97(0x8b)](_0x30c0ca=![]){const _0x5028e6=_0x41ea97,_0x143e2e={'hfVyP':_0x5028e6(0x97),'ObMee':_0x5028e6(0x98)};let [_0x3ae1d,_0x284612]=await NTEventDispatch['CallNormalEvent'](_0x143e2e[_0x5028e6(0x91)],_0x143e2e[_0x5028e6(0x9f)],0x1,0x1388,_0x30c0ca);const _0x1a59b0=[];for(const _0x311071 of _0x284612){for(const _0x28f328 of _0x311071[_0x5028e6(0x8a)]){_0x1a59b0['push'](_0x28f328);}}return _0x1a59b0;}static async[_0x41ea97(0x8c)](_0x9f61dc,_0x77c5ba){const _0x1210ec=_0x41ea97,_0x4ddc18={'dXhmp':function(_0x5d7d61,_0xb6c55){return _0x5d7d61<_0xb6c55;}};let _0x175483=_0x9f61dc[_0x1210ec(0x9b)]('|');if(_0x4ddc18[_0x1210ec(0x99)](_0x175483[_0x1210ec(0x94)],0x2))return;let _0x363871=_0x175483[0x0],_0x3136f6=_0x175483[0x1];napCatCore['session'][_0x1210ec(0x96)]()?.['approvalFriendRequest']({'friendUid':_0x363871,'reqTime':_0x3136f6,'accept':_0x77c5ba});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index d41fa3dfb..9e102a776 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x2b8de6=_0x185a;function _0x25de(){const _0x3f8376=['3665109OsEaHc','deleteGroupFile','groupMemberList_MainWindow','infos','NodeIKernelGroupService/getGroupList','errCode','setMemberRole','GetGroupFileCount','5718672YGuyNa','getGroupRecommendContactArkJson','session','1180ehJurB','getGroupNotifies','setGroupName','modifyGroupName','modifyMemberRole','getMemberExtInfo','updxj','TITLETYPE','1HGFqQU','NodeIKernelGroupService/getGroupRecommendContactArkJson','banMember','type','deleteGroupFolder','publishGroupBulletin','result','35tvplbO','handleGroupRequest','CallNormalEvent','13466IcVISs','getNextMemberList','qun.qq.com','uploadGroupBulletinPic','4157465dXkfrS','10962hAMeGo','setMemberShutUp','group','get','errMsg','setGroupShutUp','CePFm','262506hnJLTA','zEhSz','DelGroupFileFolder','qTZsx','4303952iNNugc','batchGetGroupFileCount','getGroupRemainAtTimes','otXQV','ggQYN','setMemberCard','getArkJsonGroupShare','NodeIKernelGroupListener/onGroupSingleScreenNotifies','groupCode','setGroupTitle','NodeIKernelGroupService/getSingleScreenNotifies','kickMember','NIXcy','NodeIKernelGroupListener/onGroupListUpdate','eEPei','banGroup','getPSkey','domainPskeyMap','getRichMediaService','DelGroupFile','createMemberListScene','VviRm','seq','获取群成员列表出错,','FLSjH','getGroupService'];_0x25de=function(){return _0x3f8376;};return _0x25de();}(function(_0xab93e9,_0x5a29f1){const _0x45d2f4=_0x185a,_0x4971f4=_0xab93e9();while(!![]){try{const _0x222dbe=parseInt(_0x45d2f4(0x9e))/0x1*(parseInt(_0x45d2f4(0xa8))/0x2)+parseInt(_0x45d2f4(0x8b))/0x3+-parseInt(_0x45d2f4(0x71))/0x4+parseInt(_0x45d2f4(0xac))/0x5+parseInt(_0x45d2f4(0x6d))/0x6*(parseInt(_0x45d2f4(0xa5))/0x7)+-parseInt(_0x45d2f4(0x93))/0x8+-parseInt(_0x45d2f4(0xad))/0x9*(-parseInt(_0x45d2f4(0x96))/0xa);if(_0x222dbe===_0x5a29f1)break;else _0x4971f4['push'](_0x4971f4['shift']());}catch(_0x2b6f55){_0x4971f4['push'](_0x4971f4['shift']());}}}(_0x25de,0x9a322));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x185a(_0x38f881,_0x13b9a3){const _0x25deed=_0x25de();return _0x185a=function(_0x185a22,_0x1dffe6){_0x185a22=_0x185a22-0x6b;let _0x3bec5e=_0x25deed[_0x185a22];return _0x3bec5e;},_0x185a(_0x38f881,_0x13b9a3);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x20d81e=![]){const _0x1dd48b=_0x185a,_0x254830={'ggQYN':_0x1dd48b(0x8f),'tuQBS':_0x1dd48b(0x7e)};let [_0x25db55,_0xba5cba,_0xa67b7b]=await NTEventDispatch[_0x1dd48b(0xa7)](_0x254830[_0x1dd48b(0x75)],_0x254830['tuQBS'],0x1,0x1388,_0x20d81e);return _0xa67b7b;}static async['getGroupRecommendContactArkJson'](_0x363497){const _0x4108fb=_0x185a;return napCatCore[_0x4108fb(0x95)][_0x4108fb(0x8a)]()[_0x4108fb(0x94)](_0x363497);}static async['CreatGroupFileFolder'](_0x1ab5d3,_0x55278b){const _0x145073=_0x185a;return napCatCore[_0x145073(0x95)][_0x145073(0x83)]()['createGroupFolder'](_0x1ab5d3,_0x55278b);}static async[_0x2b8de6(0x84)](_0x59cb35,_0x5591d0){const _0x512952=_0x2b8de6;return napCatCore[_0x512952(0x95)][_0x512952(0x83)]()[_0x512952(0x8c)](_0x59cb35,[0x66],_0x5591d0);}static async[_0x2b8de6(0x6f)](_0x1b602f,_0x4962e9){const _0x151f65=_0x2b8de6;return napCatCore[_0x151f65(0x95)][_0x151f65(0x83)]()[_0x151f65(0xa2)](_0x1b602f,_0x4962e9);}static async['getSingleScreenNotifies'](_0x4b85ca){const _0x21ad93=_0x2b8de6,_0x3e51a1={'CePFm':_0x21ad93(0x7b),'qTZsx':_0x21ad93(0x78)};let [_0x38b255,_0x30187c,_0x5bc484,_0x5ef6e3]=await NTEventDispatch[_0x21ad93(0xa7)](_0x3e51a1[_0x21ad93(0x6c)],_0x3e51a1[_0x21ad93(0x70)],0x1,0x1388,![],'',_0x4b85ca);return _0x5ef6e3;}static async['getGroupMembers'](_0x59b744,_0x5be811=0xbb8){const _0xe91c98=_0x2b8de6,_0x40b725={'SYNSp':_0xe91c98(0x8d),'eEPei':function(_0x27a177,_0x1c567f){return _0x27a177!==_0x1c567f;},'otXQV':function(_0x1897e2,_0x20a294){return _0x1897e2+_0x20a294;},'NIXcy':_0xe91c98(0x88)},_0x47a4be=napCatCore['session'][_0xe91c98(0x8a)](),_0x5974c1=_0x47a4be[_0xe91c98(0x85)](_0x59b744,_0x40b725['SYNSp']),_0x3a7f09=await _0x47a4be[_0xe91c98(0xa9)](_0x5974c1,undefined,_0x5be811);if(_0x40b725[_0xe91c98(0x7f)](_0x3a7f09[_0xe91c98(0x90)],0x0))throw _0x40b725[_0xe91c98(0x74)](_0x40b725[_0xe91c98(0x7d)],_0x3a7f09[_0xe91c98(0xb1)]);return _0x3a7f09[_0xe91c98(0xa4)][_0xe91c98(0x8e)];}static async[_0x2b8de6(0x97)](){}static async[_0x2b8de6(0x92)](_0x49bba8){const _0x477fb3=_0x2b8de6;return napCatCore[_0x477fb3(0x95)]['getRichMediaService']()[_0x477fb3(0x72)](_0x49bba8);}static async['getGroupIgnoreNotifies'](){}static async[_0x2b8de6(0x77)](_0x326a31){const _0x12438e=_0x2b8de6,_0x573ee3={'VviRm':_0x12438e(0x9f)};let _0x1f5594=await NTEventDispatch['CallNoListenerEvent'](_0x573ee3[_0x12438e(0x86)],0x1388,_0x326a31);return _0x1f5594['arkJson'];}static async['uploadGroupBulletinPic'](_0x297440,_0x23f18f){const _0xd8295a=_0x2b8de6,_0x52283c={'zEhSz':_0xd8295a(0xaa)},_0x546b61=(await NTQQUserApi['getPSkey']([_0x52283c[_0xd8295a(0x6e)]]))[_0xd8295a(0x82)][_0xd8295a(0xb0)](_0x52283c['zEhSz']);return napCatCore['session'][_0xd8295a(0x8a)]()[_0xd8295a(0xab)](_0x297440,_0x546b61,_0x23f18f);}static async[_0x2b8de6(0xa6)](_0x224563,_0x45abcf,_0x4dcbcc){const _0x24fd0c=_0x2b8de6,_0x572ea8={'updxj':function(_0x115894,_0xb9a841){return _0x115894||_0xb9a841;}};return napCatCore[_0x24fd0c(0x95)][_0x24fd0c(0x8a)]()['operateSysNotify'](![],{'operateType':_0x45abcf,'targetMsg':{'seq':_0x224563[_0x24fd0c(0x87)],'type':_0x224563[_0x24fd0c(0xa1)],'groupCode':_0x224563[_0x24fd0c(0xaf)][_0x24fd0c(0x79)],'postscript':_0x572ea8[_0x24fd0c(0x9c)](_0x4dcbcc,'')}});}static async['quitGroup'](_0x3a83e7){const _0x3ca31c=_0x2b8de6;return napCatCore[_0x3ca31c(0x95)]['getGroupService']()['quitGroup'](_0x3a83e7);}static async[_0x2b8de6(0x7c)](_0x307781,_0x2eb9fa,_0x3fa8d2=![],_0x2e2f0f=''){const _0x6cbc06=_0x2b8de6;return napCatCore['session'][_0x6cbc06(0x8a)]()[_0x6cbc06(0x7c)](_0x307781,_0x2eb9fa,_0x3fa8d2,_0x2e2f0f);}static async[_0x2b8de6(0xa0)](_0x287984,_0x519f10){const _0x4a50f7=_0x2b8de6;return napCatCore['session'][_0x4a50f7(0x8a)]()[_0x4a50f7(0xae)](_0x287984,_0x519f10);}static async[_0x2b8de6(0x80)](_0x2784fc,_0x53cba4){const _0x47255e=_0x2b8de6;return napCatCore[_0x47255e(0x95)][_0x47255e(0x8a)]()[_0x47255e(0x6b)](_0x2784fc,_0x53cba4);}static async[_0x2b8de6(0x76)](_0x34499e,_0x73bc47,_0x1e06ca){const _0x462b94=_0x2b8de6;return napCatCore[_0x462b94(0x95)][_0x462b94(0x8a)]()['modifyMemberCardName'](_0x34499e,_0x73bc47,_0x1e06ca);}static async[_0x2b8de6(0x91)](_0x1e53ae,_0x27403f,_0x3152b4){const _0x15c8ab=_0x2b8de6;return napCatCore[_0x15c8ab(0x95)][_0x15c8ab(0x8a)]()[_0x15c8ab(0x9a)](_0x1e53ae,_0x27403f,_0x3152b4);}static async[_0x2b8de6(0x98)](_0x383212,_0x1e1999){const _0x1502f9=_0x2b8de6;return napCatCore['session']['getGroupService']()[_0x1502f9(0x99)](_0x383212,_0x1e1999,![]);}static async[_0x2b8de6(0x7a)](_0x23e63e,_0x362245,_0x1611f8){}static async['publishGroupBulletin'](_0x13674d,_0x2020ac,_0x17bbe8=undefined,_0x49ba26=0x0,_0x2e7e4d=0x0){const _0xb0ddef=_0x2b8de6,_0x2840e4={'FLSjH':_0xb0ddef(0xaa),'CFYYS':function(_0x2183f0,_0x8ac21f){return _0x2183f0(_0x8ac21f);}},_0x13f4b2=(await NTQQUserApi[_0xb0ddef(0x81)]([_0x2840e4[_0xb0ddef(0x89)]]))[_0xb0ddef(0x82)][_0xb0ddef(0xb0)](_0x2840e4[_0xb0ddef(0x89)]);let _0x1ef162={'text':_0x2840e4['CFYYS'](encodeURI,_0x2020ac),'picInfo':_0x17bbe8,'oldFeedsId':'','pinned':_0x49ba26,'confirmRequired':_0x2e7e4d};return napCatCore[_0xb0ddef(0x95)][_0xb0ddef(0x8a)]()[_0xb0ddef(0xa3)](_0x13674d,_0x13f4b2,_0x1ef162);}static async[_0x2b8de6(0x73)](_0x5ea9ae){const _0x2df307=_0x2b8de6;napCatCore[_0x2df307(0x95)][_0x2df307(0x8a)]()['getGroupRemainAtTimes'](_0x5ea9ae);}static async[_0x2b8de6(0x9b)](_0x385e65,_0x2a3b6a){const _0x5b479f=_0x2b8de6;return napCatCore[_0x5b479f(0x95)]['getGroupService']()[_0x5b479f(0x9b)]({'groupCode':_0x385e65,'sourceType':MemberExtSourceType[_0x5b479f(0x9d)],'beginUin':'0','dataTime':'0','uinList':[_0x2a3b6a],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +function _0x18d0(_0x2f933a,_0x23e47a){const _0x196e2b=_0x196e();return _0x18d0=function(_0x18d05f,_0x191287){_0x18d05f=_0x18d05f-0x15f;let _0x23c5e3=_0x196e2b[_0x18d05f];return _0x23c5e3;},_0x18d0(_0x2f933a,_0x23e47a);}const _0x212f67=_0x18d0;(function(_0x41d770,_0x1d1074){const _0x161b96=_0x18d0,_0x4899ba=_0x41d770();while(!![]){try{const _0x3ab735=parseInt(_0x161b96(0x172))/0x1+-parseInt(_0x161b96(0x174))/0x2*(-parseInt(_0x161b96(0x176))/0x3)+parseInt(_0x161b96(0x190))/0x4*(-parseInt(_0x161b96(0x18f))/0x5)+-parseInt(_0x161b96(0x173))/0x6+-parseInt(_0x161b96(0x16f))/0x7+parseInt(_0x161b96(0x192))/0x8*(-parseInt(_0x161b96(0x18c))/0x9)+parseInt(_0x161b96(0x163))/0xa;if(_0x3ab735===_0x1d1074)break;else _0x4899ba['push'](_0x4899ba['shift']());}catch(_0x457c39){_0x4899ba['push'](_0x4899ba['shift']());}}}(_0x196e,0x360c6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x2013fd=![]){const _0x310060=_0x18d0,_0xceff95={'OdPuf':'NodeIKernelGroupService/getGroupList','PeFFQ':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x4bf62b,_0x2337a8,_0xaefdfc]=await NTEventDispatch['CallNormalEvent'](_0xceff95[_0x310060(0x196)],_0xceff95['PeFFQ'],0x1,0x1388,_0x2013fd);return _0xaefdfc;}static async[_0x212f67(0x171)](_0x3a5b2b){const _0x3da549=_0x212f67;return napCatCore[_0x3da549(0x16b)]['getGroupService']()[_0x3da549(0x171)](_0x3a5b2b);}static async[_0x212f67(0x195)](_0x3ea913,_0xb40934){const _0xa160af=_0x212f67;return napCatCore['session'][_0xa160af(0x17e)]()[_0xa160af(0x166)](_0x3ea913,_0xb40934);}static async[_0x212f67(0x165)](_0x52d679,_0x31aec9){const _0x9337f7=_0x212f67;return napCatCore['session'][_0x9337f7(0x17e)]()[_0x9337f7(0x191)](_0x52d679,[0x66],_0x31aec9);}static async[_0x212f67(0x17f)](_0x190c7f,_0x55204a){const _0x3401c2=_0x212f67;return napCatCore[_0x3401c2(0x16b)][_0x3401c2(0x17e)]()[_0x3401c2(0x162)](_0x190c7f,_0x55204a);}static async['getSingleScreenNotifies'](_0x389c26){const _0x1688d5=_0x212f67;let [_0x43a9c0,_0x474e3c,_0x103fef,_0x5eeaca]=await NTEventDispatch[_0x1688d5(0x187)](_0x1688d5(0x197),_0x1688d5(0x19a),0x1,0x1388,![],'',_0x389c26);return _0x5eeaca;}static async[_0x212f67(0x184)](_0x486ed5,_0x51e345=0xbb8){const _0x20800e=_0x212f67,_0x1541a5={'BdtGn':function(_0x4f8e82,_0x49b7e7){return _0x4f8e82!==_0x49b7e7;},'buPyz':function(_0x4600d5,_0x101538){return _0x4600d5+_0x101538;},'okspj':_0x20800e(0x17a)},_0x5a7bb7=napCatCore[_0x20800e(0x16b)][_0x20800e(0x18a)](),_0x842160=_0x5a7bb7[_0x20800e(0x183)](_0x486ed5,_0x20800e(0x188)),_0x373073=await _0x5a7bb7[_0x20800e(0x17b)](_0x842160,undefined,_0x51e345);if(_0x1541a5[_0x20800e(0x160)](_0x373073['errCode'],0x0))throw _0x1541a5['buPyz'](_0x1541a5[_0x20800e(0x169)],_0x373073[_0x20800e(0x19c)]);return _0x373073[_0x20800e(0x17c)][_0x20800e(0x181)];}static async[_0x212f67(0x168)](){}static async[_0x212f67(0x199)](_0x39e8db){const _0x328d1d=_0x212f67;return napCatCore[_0x328d1d(0x16b)][_0x328d1d(0x17e)]()[_0x328d1d(0x186)](_0x39e8db);}static async[_0x212f67(0x198)](){}static async['getArkJsonGroupShare'](_0x56e365){const _0xea1100=_0x212f67,_0x3038fe={'yNSwE':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x471502=await NTEventDispatch[_0xea1100(0x178)](_0x3038fe['yNSwE'],0x1388,_0x56e365);return _0x471502[_0xea1100(0x185)];}static async[_0x212f67(0x177)](_0x140996,_0x154de4){const _0x436e07=_0x212f67,_0x382b6d={'oUvIl':_0x436e07(0x17d)},_0x40a89c=(await NTQQUserApi['getPSkey']([_0x382b6d[_0x436e07(0x189)]]))['domainPskeyMap'][_0x436e07(0x182)](_0x382b6d[_0x436e07(0x189)]);return napCatCore[_0x436e07(0x16b)][_0x436e07(0x18a)]()[_0x436e07(0x177)](_0x140996,_0x40a89c,_0x154de4);}static async[_0x212f67(0x19d)](_0x54ca39,_0xa190ca,_0x46ec0e){const _0x4ab142=_0x212f67;return napCatCore['session'][_0x4ab142(0x18a)]()[_0x4ab142(0x16c)](![],{'operateType':_0xa190ca,'targetMsg':{'seq':_0x54ca39[_0x4ab142(0x18d)],'type':_0x54ca39[_0x4ab142(0x179)],'groupCode':_0x54ca39[_0x4ab142(0x16d)]['groupCode'],'postscript':_0x46ec0e||''}});}static async[_0x212f67(0x19b)](_0x491efe){const _0x250a6f=_0x212f67;return napCatCore['session'][_0x250a6f(0x18a)]()[_0x250a6f(0x19b)](_0x491efe);}static async['kickMember'](_0x26fd2f,_0xff65da,_0x5d3105=![],_0x1f1526=''){const _0x2f32ae=_0x212f67;return napCatCore[_0x2f32ae(0x16b)]['getGroupService']()[_0x2f32ae(0x16a)](_0x26fd2f,_0xff65da,_0x5d3105,_0x1f1526);}static async[_0x212f67(0x180)](_0x2d785e,_0x422265){const _0x2636bb=_0x212f67;return napCatCore[_0x2636bb(0x16b)][_0x2636bb(0x18a)]()[_0x2636bb(0x18b)](_0x2d785e,_0x422265);}static async['banGroup'](_0x3a4bd8,_0x58d483){const _0x50f2dc=_0x212f67;return napCatCore['session'][_0x50f2dc(0x18a)]()['setGroupShutUp'](_0x3a4bd8,_0x58d483);}static async[_0x212f67(0x170)](_0x344be0,_0x74bc6f,_0xe8486f){const _0x47aa9e=_0x212f67;return napCatCore['session'][_0x47aa9e(0x18a)]()[_0x47aa9e(0x194)](_0x344be0,_0x74bc6f,_0xe8486f);}static async[_0x212f67(0x18e)](_0x4a0336,_0x52f69e,_0x139a78){const _0x2d55a7=_0x212f67;return napCatCore[_0x2d55a7(0x16b)][_0x2d55a7(0x18a)]()[_0x2d55a7(0x193)](_0x4a0336,_0x52f69e,_0x139a78);}static async['setGroupName'](_0x5640e3,_0x24be00){const _0x505718=_0x212f67;return napCatCore[_0x505718(0x16b)][_0x505718(0x18a)]()[_0x505718(0x161)](_0x5640e3,_0x24be00,![]);}static async['setGroupTitle'](_0x3038a6,_0x2b33e9,_0x1cf4fe){}static async['publishGroupBulletin'](_0x50c8b9,_0x36daa8,_0x369e7c=undefined,_0x388d09=0x0,_0x36ee78=0x0){const _0x4550c=_0x212f67,_0x10e934={'eOQHN':_0x4550c(0x17d)},_0x61ab90=(await NTQQUserApi['getPSkey']([_0x10e934['eOQHN']]))['domainPskeyMap'][_0x4550c(0x182)](_0x10e934[_0x4550c(0x16e)]);let _0x1b5490={'text':encodeURI(_0x36daa8),'picInfo':_0x369e7c,'oldFeedsId':'','pinned':_0x388d09,'confirmRequired':_0x36ee78};return napCatCore[_0x4550c(0x16b)]['getGroupService']()[_0x4550c(0x175)](_0x50c8b9,_0x61ab90,_0x1b5490);}static async[_0x212f67(0x164)](_0x12b6a5){const _0x178777=_0x212f67;napCatCore[_0x178777(0x16b)]['getGroupService']()[_0x178777(0x164)](_0x12b6a5);}static async[_0x212f67(0x167)](_0x1cd9fb,_0x3e27b3){const _0x2e0627=_0x212f67;return napCatCore[_0x2e0627(0x16b)][_0x2e0627(0x18a)]()['getMemberExtInfo']({'groupCode':_0x1cd9fb,'sourceType':MemberExtSourceType[_0x2e0627(0x15f)],'beginUin':'0','dataTime':'0','uinList':[_0x3e27b3],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}}function _0x196e(){const _0x3ec38f=['203901viCztM','uploadGroupBulletinPic','CallNoListenerEvent','type','获取群成员列表出错,','getNextMemberList','result','qun.qq.com','getRichMediaService','DelGroupFileFolder','banMember','infos','get','createMemberListScene','getGroupMembers','arkJson','batchGetGroupFileCount','CallNormalEvent','groupMemberList_MainWindow','oUvIl','getGroupService','setMemberShutUp','27qjIbWM','seq','setMemberRole','35360ytgnZG','208xucbER','deleteGroupFile','753112hvzwMw','modifyMemberRole','modifyMemberCardName','CreatGroupFileFolder','OdPuf','NodeIKernelGroupService/getSingleScreenNotifies','getGroupIgnoreNotifies','GetGroupFileCount','NodeIKernelGroupListener/onGroupSingleScreenNotifies','quitGroup','errMsg','handleGroupRequest','TITLETYPE','BdtGn','modifyGroupName','deleteGroupFolder','9513810yBdduJ','getGroupRemainAtTimes','DelGroupFile','createGroupFolder','getMemberExtInfo','getGroupNotifies','okspj','kickMember','session','operateSysNotify','group','eOQHN','1490027lRAEgM','setMemberCard','getGroupRecommendContactArkJson','218446TjeCxI','2143746maWXFV','8AbZWeJ','publishGroupBulletin'];_0x196e=function(){return _0x3ec38f;};return _0x196e();} \ 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 76ee4acc4..0bf7f933b 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0xf43e1d,_0xfe3510){var _0x156f83=_0x8d4f,_0x2318e8=_0xf43e1d();while(!![]){try{var _0x444f23=-parseInt(_0x156f83(0x1d7))/0x1+-parseInt(_0x156f83(0x1d2))/0x2*(-parseInt(_0x156f83(0x1d5))/0x3)+parseInt(_0x156f83(0x1db))/0x4*(parseInt(_0x156f83(0x1d4))/0x5)+parseInt(_0x156f83(0x1d3))/0x6+-parseInt(_0x156f83(0x1da))/0x7+-parseInt(_0x156f83(0x1d8))/0x8+parseInt(_0x156f83(0x1d6))/0x9*(-parseInt(_0x156f83(0x1d9))/0xa);if(_0x444f23===_0xfe3510)break;else _0x2318e8['push'](_0x2318e8['shift']());}catch(_0xdb940e){_0x2318e8['push'](_0x2318e8['shift']());}}}(_0x5588,0x5300d));function _0x8d4f(_0x17f65c,_0x471b53){var _0x558833=_0x5588();return _0x8d4f=function(_0x8d4f25,_0x9c09b0){_0x8d4f25=_0x8d4f25-0x1d2;var _0x1bace1=_0x558833[_0x8d4f25];return _0x1bace1;},_0x8d4f(_0x17f65c,_0x471b53);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x5588(){var _0x58c4f1=['1754052ixDstc','11444Yeedri','3314820dEuNab','5SzRtVq','69umNHua','466209seGaaZ','82564ssMTBq','1289448IbYljA','30WuGlZO','2684220zQkQaU'];_0x5588=function(){return _0x58c4f1;};return _0x5588();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x33ceea,_0x235a52){var _0x2b577a=_0xd5a1,_0x50e79e=_0x33ceea();while(!![]){try{var _0x1698ed=parseInt(_0x2b577a(0xef))/0x1*(-parseInt(_0x2b577a(0xf2))/0x2)+-parseInt(_0x2b577a(0xf6))/0x3+-parseInt(_0x2b577a(0xed))/0x4*(parseInt(_0x2b577a(0xf7))/0x5)+-parseInt(_0x2b577a(0xf1))/0x6+parseInt(_0x2b577a(0xee))/0x7+parseInt(_0x2b577a(0xf5))/0x8*(parseInt(_0x2b577a(0xf0))/0x9)+parseInt(_0x2b577a(0xf3))/0xa*(parseInt(_0x2b577a(0xf4))/0xb);if(_0x1698ed===_0x235a52)break;else _0x50e79e['push'](_0x50e79e['shift']());}catch(_0x45a5bf){_0x50e79e['push'](_0x50e79e['shift']());}}}(_0x4a31,0xa2b24));export*from'./file';function _0xd5a1(_0x2423ac,_0x4a8fe2){var _0x4a31e6=_0x4a31();return _0xd5a1=function(_0xd5a1b2,_0x3eb2cc){_0xd5a1b2=_0xd5a1b2-0xed;var _0x5a89c1=_0x4a31e6[_0xd5a1b2];return _0x5a89c1;},_0xd5a1(_0x2423ac,_0x4a8fe2);}export*from'./friend';export*from'./group';export*from'./msg';function _0x4a31(){var _0x50f399=['1999952BzVIWd','10EQeObP','27276469PPpxcb','10000GmFGrt','3201675lbeJEr','14270dDYLvA','1180VbtyCW','5233907fBelAs','1qbmlAw','5265cqZOfc','2298570mikjNI'];_0x4a31=function(){return _0x50f399;};return _0x4a31();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 4b2491a77..037bb9f56 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x15cab1=_0x58d6;(function(_0x3c2d82,_0x5ebf50){const _0x5bfa66=_0x58d6,_0x344877=_0x3c2d82();while(!![]){try{const _0x2cb2b6=-parseInt(_0x5bfa66(0x228))/0x1+-parseInt(_0x5bfa66(0x225))/0x2*(-parseInt(_0x5bfa66(0x227))/0x3)+-parseInt(_0x5bfa66(0x20d))/0x4*(-parseInt(_0x5bfa66(0x226))/0x5)+-parseInt(_0x5bfa66(0x1ed))/0x6+-parseInt(_0x5bfa66(0x208))/0x7+-parseInt(_0x5bfa66(0x1fc))/0x8+parseInt(_0x5bfa66(0x1f1))/0x9;if(_0x2cb2b6===_0x5ebf50)break;else _0x344877['push'](_0x344877['shift']());}catch(_0x133ad8){_0x344877['push'](_0x344877['shift']());}}}(_0x197a,0x6f6b9));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x15cab1(0x22a)]=_0x1b18b5=>{const _0x4e24e4=_0x15cab1;for(const [_0x5618c4,_0x5bfa41]of GroupFileInfoUpdateTasks){_0x5bfa41(_0x1b18b5),GroupFileInfoUpdateTasks[_0x4e24e4(0x1f9)](_0x5618c4);}},msgListener[_0x15cab1(0x21f)]=_0x31ba8c=>{const _0x5ad046=_0x15cab1,_0x27abeb={'OLkUH':function(_0x1b9d22,_0x7db89b){return _0x1b9d22(_0x7db89b);},'kjMxv':function(_0x5d1ffe,_0x27f166){return _0x5d1ffe instanceof _0x27f166;}};for(const [_0x257a68,_0x575d03]of sentMsgTasks){_0x27abeb['OLkUH'](_0x575d03,_0x31ba8c),sentMsgTasks[_0x5ad046(0x1f9)](_0x257a68);}if(sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]){const _0x51becb=sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]?.(_0x31ba8c);_0x27abeb['kjMxv'](_0x51becb,Promise)&&_0x51becb['then']()[_0x5ad046(0x20f)](logError);}},msgListener[_0x15cab1(0x22e)]=_0x1db113=>{const _0x403bf0=_0x15cab1,_0x284710={'UXwuP':function(_0x1bf9b5,_0x1c3e6c){return _0x1bf9b5(_0x1c3e6c);},'hxJtd':function(_0x3b3a2b,_0x419a83){return _0x3b3a2b(_0x419a83);}};_0x1db113[_0x403bf0(0x209)](_0x555d21=>{const _0x51e3d2=_0x403bf0;new Promise((_0x29636d,_0x4b7498)=>{const _0x5b7f7b=_0x58d6;for(const _0x533e5f in sendSuccessCBMap){const _0x13a7ac=sendSuccessCBMap[_0x533e5f],_0x426678=_0x284710[_0x5b7f7b(0x1f7)](_0x13a7ac,_0x555d21),_0x5dd812=_0x14ebb8=>{_0x14ebb8&&delete sendSuccessCBMap[_0x533e5f];};_0x426678 instanceof Promise?_0x426678[_0x5b7f7b(0x1f0)](_0x5dd812):_0x284710[_0x5b7f7b(0x212)](_0x5dd812,_0x426678);}})['then']()[_0x51e3d2(0x20f)](log);});},setTimeout(()=>{const _0x479407=_0x15cab1;napCatCore[_0x479407(0x1fd)](()=>{const _0x393879=_0x479407;napCatCore[_0x393879(0x1eb)](msgListener);});},0x64);function _0x58d6(_0x154e8f,_0x346750){const _0x197a50=_0x197a();return _0x58d6=function(_0x58d61c,_0x5cb1e9){_0x58d61c=_0x58d61c-0x1eb;let _0x64b0=_0x197a50[_0x58d61c];return _0x64b0;},_0x58d6(_0x154e8f,_0x346750);}export class NTQQMsgApi{static async[_0x15cab1(0x22f)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x3d02a1=!![]){const _0x4dffc9=_0x15cab1,_0x4719e1={'YAPGF':function(_0x1c6285,_0x3f0855){return _0x1c6285>_0x3f0855;}};return _0x5c0c98=_0x5c0c98['toString'](),napCatCore['session'][_0x4dffc9(0x207)]()[_0x4dffc9(0x1f3)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x4719e1['YAPGF'](_0x5c0c98[_0x4dffc9(0x1fa)],0x3)?'2':'1',_0x3d02a1);}static async[_0x15cab1(0x201)](_0x3adc03,_0x4780f4,_0x971bde){const _0x250c1f=_0x15cab1;return napCatCore['session'][_0x250c1f(0x207)]()[_0x250c1f(0x201)](_0x3adc03,_0x4780f4,_0x971bde);}static async[_0x15cab1(0x1f5)](_0x4e316e,_0x4d0369){const _0xcec66=_0x15cab1;return await napCatCore[_0xcec66(0x20c)][_0xcec66(0x207)]()[_0xcec66(0x1f5)](_0x4e316e,_0x4d0369);}static async['getMsgsBySeqAndCount'](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb){const _0x593c31=_0x15cab1;return await napCatCore[_0x593c31(0x20c)][_0x593c31(0x207)]()[_0x593c31(0x218)](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb);}static async[_0x15cab1(0x20e)](_0x3cab7f){}static async[_0x15cab1(0x224)](_0x5c9e0a){}static async[_0x15cab1(0x222)](_0xd5db5){const _0x300df4=_0x15cab1;return napCatCore['session'][_0x300df4(0x207)]()[_0x300df4(0x222)](_0xd5db5);}static async[_0x15cab1(0x1f6)](_0x1a55ff,_0x160b12){const _0x361597={'tFQVT':function(_0x5d2436,_0x5c2c71){return _0x5d2436(_0x5c2c71);},'FzrpD':'获取群文件列表超时','aaNAh':function(_0xccf56a,_0x33c118){return _0xccf56a(_0x33c118);},'NGvXf':function(_0xb01369,_0x4f3c4c,_0xaf9ed7){return _0xb01369(_0x4f3c4c,_0xaf9ed7);},'AcAhH':function(_0x4f90d1){return _0x4f90d1();}};return new Promise(async(_0x284e7c,_0x4ad866)=>{const _0x3050fd=_0x58d6;let _0x32ecfb=![];_0x361597[_0x3050fd(0x214)](setTimeout,()=>{const _0x401b4f=_0x3050fd;!_0x32ecfb&&_0x361597[_0x401b4f(0x1ec)](_0x4ad866,_0x361597['FzrpD']);},0x1388);const _0x367b92=_0x39b1a2=>{const _0x5f07e5=_0x3050fd;_0x32ecfb=!![],_0x361597[_0x5f07e5(0x217)](_0x284e7c,_0x39b1a2[_0x5f07e5(0x229)]);};GroupFileInfoUpdateTasks[_0x3050fd(0x1ff)](_0x361597[_0x3050fd(0x22c)](randomUUID),_0x367b92),await napCatCore['session'][_0x3050fd(0x203)]()[_0x3050fd(0x1f6)](_0x1a55ff,_0x160b12);});}static async[_0x15cab1(0x210)](_0x202736,_0x55e2a5,_0x30667d){const _0x306512=_0x15cab1;return napCatCore[_0x306512(0x20c)][_0x306512(0x207)]()[_0x306512(0x211)](_0x202736,_0x55e2a5,_0x30667d,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x5cc12c,_0x47a93b){const _0x3ca279=_0x15cab1;await napCatCore[_0x3ca279(0x20c)]['getMsgService']()['recallMsg']({'chatType':_0x5cc12c[_0x3ca279(0x21e)],'peerUid':_0x5cc12c['peerUid']},_0x47a93b);}static async[_0x15cab1(0x232)](_0x34c4bf,_0x105970,_0x56d2e2=!![],_0x55d830=0x2710){const _0x47f707=_0x15cab1,_0x269db6={'drSJf':'发送超时','QSPaD':function(_0x29249b,_0x2f27d7){return _0x29249b(_0x2f27d7);},'dchQF':function(_0x2afb8a){return _0x2afb8a();},'zcxtA':function(_0x285ff1,_0x2f090b){return _0x285ff1===_0x2f090b;},'jtUmW':function(_0x4acfe){return _0x4acfe();},'NJBjF':function(_0x3ea2ff,_0x4ce401,_0x5a98a8){return _0x3ea2ff(_0x4ce401,_0x5a98a8);}},_0x1669f2=_0x34c4bf[_0x47f707(0x22b)];let _0x5f2c8e=0x0;const _0xdf73b=async()=>{const _0x57a695=_0x47f707;if(_0x5f2c8e>_0x55d830)throw _0x269db6[_0x57a695(0x21a)];const _0x2c78fa=sendMessagePool[_0x34c4bf[_0x57a695(0x22b)]];if(_0x2c78fa)return await _0x269db6['QSPaD'](sleep,0x1f4),_0x5f2c8e+=0x1f4,await _0x269db6[_0x57a695(0x220)](_0xdf73b);else return;};return await _0x269db6[_0x47f707(0x220)](_0xdf73b),new Promise((_0x18eded,_0x4c2b39)=>{const _0x4d9551=_0x47f707;let _0x5056ad=![],_0x36eac9=null;const _0x1a063b=_0x269db6[_0x4d9551(0x219)](randomUUID);sendSuccessCBMap[_0x1a063b]=_0x37d2cc=>{const _0x244e8d=_0x4d9551;if(_0x37d2cc[_0x244e8d(0x20b)]===_0x36eac9?.[_0x244e8d(0x20b)]){if(_0x269db6[_0x244e8d(0x205)](_0x37d2cc['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1a063b],_0x5056ad=!![],_0x269db6[_0x244e8d(0x206)](_0x18eded,_0x37d2cc),!![];return![];}return![];},sendMessagePool[_0x1669f2]=async _0x348a03=>{delete sendMessagePool[_0x1669f2],_0x36eac9=_0x348a03;},_0x269db6[_0x4d9551(0x202)](setTimeout,()=>{const _0x2d83f8=_0x4d9551;if(_0x5056ad)return;delete sendMessagePool[_0x1669f2],delete sendSuccessCBMap[_0x1a063b],_0x269db6[_0x2d83f8(0x206)](_0x4c2b39,'发送超时');},_0x55d830);const _0x2e1e6d=napCatCore['session'][_0x4d9551(0x207)]()[_0x4d9551(0x232)]('0',_0x34c4bf,_0x105970,new Map());});}static async[_0x15cab1(0x22d)](_0x2adb3a,_0x1cac20,_0x1ccc05){const _0x2afbcb=_0x15cab1;return napCatCore[_0x2afbcb(0x20c)][_0x2afbcb(0x207)]()[_0x2afbcb(0x22d)](_0x1ccc05,_0x2adb3a,[_0x1cac20],new Map());}static async[_0x15cab1(0x1ef)](_0x28ef98,_0x216954,_0x1322c3){const _0x38b16d=_0x15cab1,_0x4ecad7={'KOwLP':'com.tencent.multimsg','LKRAb':function(_0x196249,_0x275bbb){return _0x196249==_0x275bbb;},'VabYi':function(_0x29c972,_0x438017){return _0x29c972==_0x438017;},'MMbbQ':function(_0x54650b,_0x5541a6){return _0x54650b(_0x5541a6);},'hnqLz':_0x38b16d(0x1f2)},_0x1e4c77=_0x1322c3[_0x38b16d(0x1f4)](_0x1d076e=>{const _0x317b59=_0x38b16d;return{'msgId':_0x1d076e,'senderShowName':selfInfo[_0x317b59(0x230)]};});return new Promise((_0x2da6cd,_0x1dcd17)=>{const _0x15d0b=_0x38b16d,_0x39043c={'lnybS':function(_0xa1fefe,_0x4a4617){return _0xa1fefe!=_0x4a4617;},'eClyv':_0x4ecad7[_0x15d0b(0x1fb)],'WSKko':function(_0x420748,_0x19b2d0){const _0x16f308=_0x15d0b;return _0x4ecad7[_0x16f308(0x1f8)](_0x420748,_0x19b2d0);},'ZhEGO':function(_0x11d624,_0xfb3ea5){return _0x4ecad7['VabYi'](_0x11d624,_0xfb3ea5);},'ZdCfV':function(_0x26e82d,_0x313104){const _0xf81153=_0x15d0b;return _0x4ecad7[_0xf81153(0x204)](_0x26e82d,_0x313104);},'CIqPO':_0x4ecad7[_0x15d0b(0x216)]};let _0x24bdac=![];const _0x468be8=_0x47c63d=>{const _0x4ba3ed=_0x15d0b,_0x38179b=_0x47c63d[_0x4ba3ed(0x21d)][_0x4ba3ed(0x21b)](_0x5dd6f2=>_0x5dd6f2[_0x4ba3ed(0x233)]);if(!_0x38179b)return;const _0x41ddee=JSON[_0x4ba3ed(0x21c)](_0x38179b[_0x4ba3ed(0x233)][_0x4ba3ed(0x213)]);if(_0x39043c[_0x4ba3ed(0x1ee)](_0x41ddee['app'],_0x39043c[_0x4ba3ed(0x215)]))return;_0x39043c[_0x4ba3ed(0x231)](_0x47c63d[_0x4ba3ed(0x22b)],_0x216954[_0x4ba3ed(0x22b)])&&_0x39043c[_0x4ba3ed(0x20a)](_0x47c63d[_0x4ba3ed(0x1fe)],selfInfo[_0x4ba3ed(0x200)])&&(_0x24bdac=!![],_0x2da6cd(_0x47c63d));};sentMsgTasks[_0x15d0b(0x1ff)](randomUUID(),_0x468be8),setTimeout(()=>{const _0x2ad737=_0x15d0b;!_0x24bdac&&_0x39043c[_0x2ad737(0x221)](_0x1dcd17,_0x39043c[_0x2ad737(0x223)]);},0x1388),napCatCore['session'][_0x15d0b(0x207)]()['multiForwardMsgWithComment'](_0x1e4c77,_0x28ef98,_0x216954,[],new Map());});}}function _0x197a(){const _0x2bda50=['jtUmW','drSJf','find','parse','elements','chatType','onAddSendMsg','dchQF','ZdCfV','setMsgRead','CIqPO','activateChatAndGetHistory','8018ehVUbp','8150muyubV','327xFUoQk','598718nzSLCC','item','onGroupFileInfoUpdate','peerUid','AcAhH','forwardMsg','onMsgInfoListUpdate','setEmojiLike','nick','WSKko','sendMsg','arkElement','addListener','tFQVT','2452536rxVfxn','lnybS','multiForwardMsg','then','13862997phPJKe','转发消息超时','setMsgEmojiLikes','map','getMsgsByMsgId','getGroupFileList','UXwuP','LKRAb','delete','length','KOwLP','847008cRSQVo','onLoginSuccess','senderUid','set','uid','getMultiMsg','NJBjF','getRichMediaService','MMbbQ','zcxtA','QSPaD','getMsgService','3012849KELVEt','forEach','ZhEGO','msgId','session','56lRpjWR','activateChat','catch','getMsgHistory','getMsgsIncludeSelf','hxJtd','bytesData','NGvXf','eClyv','hnqLz','aaNAh','getMsgsBySeqAndCount'];_0x197a=function(){return _0x2bda50;};return _0x197a();} \ No newline at end of file +const _0x155f26=_0xbad7;function _0xbad7(_0x52a457,_0x173dc5){const _0x222b6d=_0x222b();return _0xbad7=function(_0xbad7ea,_0x23ba21){_0xbad7ea=_0xbad7ea-0x150;let _0x63e7b5=_0x222b6d[_0xbad7ea];return _0x63e7b5;},_0xbad7(_0x52a457,_0x173dc5);}(function(_0x1dc43a,_0x976376){const _0x29898b=_0xbad7,_0x43edf1=_0x1dc43a();while(!![]){try{const _0x26ac59=-parseInt(_0x29898b(0x188))/0x1+-parseInt(_0x29898b(0x172))/0x2+-parseInt(_0x29898b(0x153))/0x3*(-parseInt(_0x29898b(0x173))/0x4)+-parseInt(_0x29898b(0x170))/0x5+parseInt(_0x29898b(0x189))/0x6*(-parseInt(_0x29898b(0x196))/0x7)+parseInt(_0x29898b(0x183))/0x8*(parseInt(_0x29898b(0x195))/0x9)+parseInt(_0x29898b(0x163))/0xa;if(_0x26ac59===_0x976376)break;else _0x43edf1['push'](_0x43edf1['shift']());}catch(_0x4fc983){_0x43edf1['push'](_0x43edf1['shift']());}}}(_0x222b,0x60762));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x222b(){const _0x59594f=['bytesData','ZPQoa','WwjhB','elements','getMsgsIncludeSelf','chatType','sendMsg','item','IdLvH','getMsgHistory','fetchRecentContact','getMsgsByMsgId','onAddSendMsg','GbeQL','TRcmz','1778344EAdDRC','multiForwardMsgWithComment','setEmojiLike','recallMsg','addListener','628351xRubup','1189038smIrWa','获取群文件列表超时','getMsgsBySeqAndCount','qozPV','activateChatAndGetHistory','multiForwardMsg','senderUid','set','session','delete','then','msgId','9gILaAL','14IzoBPo','BVBTg','parse','BQuRU','getMsgService','onGroupFileInfoUpdate','375DKyTzo','getGroupFileList','toString','onLoginSuccess','nick','CJJuB','qxuLs','app','AgxtO','uid','forEach','SjAIK','getMultiMsg','com.tencent.multimsg','arkElement','onMsgInfoListUpdate','20316600sfiWhU','map','peerUid','find','forwardMsg','BGGDT','发送超时','fDFrk','length','xjeba','setMsgRead','WMXfA','JSIHV','2306675uvzwyC','catch','1205380HvDXlB','7356QIktfL'];_0x222b=function(){return _0x59594f;};return _0x222b();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x155f26(0x152)]=_0x112e0c=>{const _0x118090=_0x155f26;for(const [_0x4d0a73,_0x3c7bf4]of GroupFileInfoUpdateTasks){_0x3c7bf4(_0x112e0c),GroupFileInfoUpdateTasks[_0x118090(0x192)](_0x4d0a73);}},msgListener[_0x155f26(0x180)]=_0x2d81f7=>{const _0x4925cd=_0x155f26,_0x81266d={'fDFrk':function(_0xd0f54f,_0x5ecd9e){return _0xd0f54f(_0x5ecd9e);},'HdGLW':function(_0x16240f,_0x50b99d){return _0x16240f instanceof _0x50b99d;}};for(const [_0x252b90,_0x47eb8c]of sentMsgTasks){_0x81266d[_0x4925cd(0x16a)](_0x47eb8c,_0x2d81f7),sentMsgTasks[_0x4925cd(0x192)](_0x252b90);}if(sendMessagePool[_0x2d81f7['peerUid']]){const _0x565b3b=sendMessagePool[_0x2d81f7[_0x4925cd(0x165)]]?.(_0x2d81f7);_0x81266d['HdGLW'](_0x565b3b,Promise)&&_0x565b3b[_0x4925cd(0x193)]()[_0x4925cd(0x171)](logError);}},msgListener[_0x155f26(0x162)]=_0x5677e2=>{const _0x4669d4=_0x155f26,_0x2d9dfb={'Xbpel':function(_0x1ddc77,_0xd8d4e9){return _0x1ddc77(_0xd8d4e9);},'BGGDT':function(_0x4b8ce2,_0x568b76){return _0x4b8ce2 instanceof _0x568b76;}};_0x5677e2[_0x4669d4(0x15d)](_0x21dbc6=>{const _0x58e827=_0x4669d4;new Promise((_0x5c1047,_0x2b89c9)=>{const _0x4de34b=_0xbad7;for(const _0x24bb8c in sendSuccessCBMap){const _0xebc08a=sendSuccessCBMap[_0x24bb8c],_0x34b204=_0x2d9dfb['Xbpel'](_0xebc08a,_0x21dbc6),_0x325d2f=_0x3bd350=>{_0x3bd350&&delete sendSuccessCBMap[_0x24bb8c];};_0x2d9dfb[_0x4de34b(0x168)](_0x34b204,Promise)?_0x34b204['then'](_0x325d2f):_0x325d2f(_0x34b204);}})[_0x58e827(0x193)]()['catch'](log);});},setTimeout(()=>{const _0x163f42=_0x155f26;napCatCore[_0x163f42(0x156)](()=>{const _0x338846=_0x163f42;napCatCore[_0x338846(0x187)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x155f26(0x185)](_0x3682a3,_0x11b172,_0x2f33bd,_0x2b8b2e=!![]){const _0x185aa4=_0x155f26;return _0x2f33bd=_0x2f33bd[_0x185aa4(0x155)](),napCatCore[_0x185aa4(0x191)][_0x185aa4(0x151)]()['setMsgEmojiLikes'](_0x3682a3,_0x11b172,_0x2f33bd,_0x2f33bd[_0x185aa4(0x16b)]>0x3?'2':'1',_0x2b8b2e);}static async['getMultiMsg'](_0x43faf2,_0x49e6e7,_0x14a1ea){const _0x4ee0dc=_0x155f26;return napCatCore[_0x4ee0dc(0x191)]['getMsgService']()[_0x4ee0dc(0x15f)](_0x43faf2,_0x49e6e7,_0x14a1ea);}static async[_0x155f26(0x17f)](_0x2f68b0,_0x5b8bdd){const _0x547f78=_0x155f26;return await napCatCore[_0x547f78(0x191)][_0x547f78(0x151)]()['getMsgsByMsgId'](_0x2f68b0,_0x5b8bdd);}static async[_0x155f26(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc){const _0x4adc24=_0x155f26;return await napCatCore[_0x4adc24(0x191)]['getMsgService']()[_0x4adc24(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc);}static async['activateChat'](_0x23262c){}static async[_0x155f26(0x18d)](_0x1ccb20){}static async['setMsgRead'](_0x43a436){const _0x5b14a3=_0x155f26;return napCatCore[_0x5b14a3(0x191)]['getMsgService']()[_0x5b14a3(0x16d)](_0x43a436);}static async['getGroupFileList'](_0x249e82,_0x39afc5){const _0x3a96d0=_0x155f26,_0x4262ec={'GbeQL':function(_0x249d13,_0x4d7898){return _0x249d13(_0x4d7898);},'WJJXb':_0x3a96d0(0x18a),'vTpBG':function(_0x460461){return _0x460461();}};return new Promise(async(_0x6b3100,_0x40051a)=>{const _0x48765c=_0x3a96d0;let _0x478e07=![];setTimeout(()=>{const _0x1a9144=_0xbad7;!_0x478e07&&_0x4262ec[_0x1a9144(0x181)](_0x40051a,_0x4262ec['WJJXb']);},0x1388);const _0x51d95b=_0x3b8bbe=>{const _0x231a02=_0xbad7;_0x478e07=!![],_0x4262ec[_0x231a02(0x181)](_0x6b3100,_0x3b8bbe[_0x231a02(0x17b)]);};GroupFileInfoUpdateTasks[_0x48765c(0x190)](_0x4262ec['vTpBG'](randomUUID),_0x51d95b),await napCatCore['session']['getRichMediaService']()[_0x48765c(0x154)](_0x249e82,_0x39afc5);});}static async[_0x155f26(0x17d)](_0x5d55af,_0x5b52ab,_0x3db2fc){const _0x46831d=_0x155f26;return napCatCore[_0x46831d(0x191)][_0x46831d(0x151)]()[_0x46831d(0x178)](_0x5d55af,_0x5b52ab,_0x3db2fc,!![]);}static async[_0x155f26(0x17e)](){}static async[_0x155f26(0x186)](_0x1d6e68,_0xe1bd2f){const _0x5bd95b=_0x155f26;await napCatCore[_0x5bd95b(0x191)]['getMsgService']()[_0x5bd95b(0x186)]({'chatType':_0x1d6e68[_0x5bd95b(0x179)],'peerUid':_0x1d6e68[_0x5bd95b(0x165)]},_0xe1bd2f);}static async[_0x155f26(0x17a)](_0x1b19c4,_0x5c8196,_0x2d61d6=!![],_0x2d07a3=0x2710){const _0x4b3203=_0x155f26,_0x1038f2={'WwjhB':function(_0x281028,_0x1a28f1){return _0x281028>_0x1a28f1;},'JSIHV':function(_0x335b6e,_0x4e45b8){return _0x335b6e(_0x4e45b8);},'WMXfA':function(_0x25a480){return _0x25a480();},'TRcmz':_0x4b3203(0x169),'SjAIK':function(_0x1db59a,_0x175494){return _0x1db59a===_0x175494;},'xjeba':function(_0x509c49,_0x4537e2,_0x1c398d){return _0x509c49(_0x4537e2,_0x1c398d);},'ljvtl':function(_0x4e56ab){return _0x4e56ab();}},_0x1dcc0a=_0x1b19c4['peerUid'];let _0x460e0f=0x0;const _0x39d1f7=async()=>{const _0x19df66=_0x4b3203;if(_0x1038f2[_0x19df66(0x176)](_0x460e0f,_0x2d07a3))throw _0x19df66(0x169);const _0x37915e=sendMessagePool[_0x1b19c4[_0x19df66(0x165)]];if(_0x37915e)return await _0x1038f2[_0x19df66(0x16f)](sleep,0x1f4),_0x460e0f+=0x1f4,await _0x1038f2['WMXfA'](_0x39d1f7);else return;};return await _0x1038f2['ljvtl'](_0x39d1f7),new Promise((_0x2cea54,_0x24e5d2)=>{const _0xbc17c6=_0x4b3203,_0x599923={'CJJuB':function(_0x6a7b0c,_0x10c4ba){const _0x2aaf91=_0xbad7;return _0x1038f2[_0x2aaf91(0x15e)](_0x6a7b0c,_0x10c4ba);},'IdLvH':function(_0x1cdc17,_0x2dfb3e){const _0x52bf6f=_0xbad7;return _0x1038f2[_0x52bf6f(0x16f)](_0x1cdc17,_0x2dfb3e);}};let _0x54d1e1=![],_0x1418c0=null;const _0x95c1fc=_0x1038f2[_0xbc17c6(0x16e)](randomUUID);sendSuccessCBMap[_0x95c1fc]=_0x282d06=>{const _0x509e1f=_0xbc17c6;if(_0x282d06['msgId']===_0x1418c0?.[_0x509e1f(0x194)]){if(_0x599923[_0x509e1f(0x158)](_0x282d06['sendStatus'],0x2))return delete sendSuccessCBMap[_0x95c1fc],_0x54d1e1=!![],_0x599923[_0x509e1f(0x17c)](_0x2cea54,_0x282d06),!![];return![];}return![];},sendMessagePool[_0x1dcc0a]=async _0x1efbf1=>{delete sendMessagePool[_0x1dcc0a],_0x1418c0=_0x1efbf1;},_0x1038f2[_0xbc17c6(0x16c)](setTimeout,()=>{const _0x431dcb=_0xbc17c6;if(_0x54d1e1)return;delete sendMessagePool[_0x1dcc0a],delete sendSuccessCBMap[_0x95c1fc],_0x1038f2[_0x431dcb(0x16f)](_0x24e5d2,_0x1038f2[_0x431dcb(0x182)]);},_0x2d07a3);const _0x4c5fbe=napCatCore['session'][_0xbc17c6(0x151)]()[_0xbc17c6(0x17a)]('0',_0x1b19c4,_0x5c8196,new Map());});}static async['forwardMsg'](_0x14b16c,_0x483361,_0xead750){const _0x5ce531=_0x155f26;return napCatCore[_0x5ce531(0x191)][_0x5ce531(0x151)]()[_0x5ce531(0x167)](_0xead750,_0x14b16c,[_0x483361],new Map());}static async[_0x155f26(0x18e)](_0x413bb2,_0x59dc53,_0x3e77ed){const _0x25e5e4=_0x155f26,_0x1d4001={'KhIQs':function(_0x4c2e35,_0x359a87){return _0x4c2e35!=_0x359a87;},'AgxtO':_0x25e5e4(0x160),'qxuLs':function(_0x1560d7,_0x25264a){return _0x1560d7==_0x25264a;},'qozPV':function(_0x5ddfa6,_0x3d1a19){return _0x5ddfa6(_0x3d1a19);},'ZPQoa':function(_0x19a90e,_0x211170){return _0x19a90e(_0x211170);},'BQuRU':'转发消息超时','BVBTg':function(_0x22d89c){return _0x22d89c();}},_0x51296f=_0x3e77ed[_0x25e5e4(0x164)](_0x1f859b=>{const _0x65409c=_0x25e5e4;return{'msgId':_0x1f859b,'senderShowName':selfInfo[_0x65409c(0x157)]};});return new Promise((_0x14ecca,_0x3f54fd)=>{const _0x45198c=_0x25e5e4;let _0x12fe23=![];const _0x22dd25=_0x2b3414=>{const _0x1bfd4d=_0xbad7,_0x472c5c=_0x2b3414[_0x1bfd4d(0x177)][_0x1bfd4d(0x166)](_0x5e758a=>_0x5e758a[_0x1bfd4d(0x161)]);if(!_0x472c5c)return;const _0x4af63c=JSON[_0x1bfd4d(0x198)](_0x472c5c[_0x1bfd4d(0x161)][_0x1bfd4d(0x174)]);if(_0x1d4001['KhIQs'](_0x4af63c[_0x1bfd4d(0x15a)],_0x1d4001[_0x1bfd4d(0x15b)]))return;_0x1d4001[_0x1bfd4d(0x159)](_0x2b3414[_0x1bfd4d(0x165)],_0x59dc53[_0x1bfd4d(0x165)])&&_0x2b3414[_0x1bfd4d(0x18f)]==selfInfo[_0x1bfd4d(0x15c)]&&(_0x12fe23=!![],_0x1d4001[_0x1bfd4d(0x18c)](_0x14ecca,_0x2b3414));};sentMsgTasks[_0x45198c(0x190)](_0x1d4001[_0x45198c(0x197)](randomUUID),_0x22dd25),setTimeout(()=>{const _0xfe100f=_0x45198c;!_0x12fe23&&_0x1d4001[_0xfe100f(0x175)](_0x3f54fd,_0x1d4001[_0xfe100f(0x150)]);},0x1388),napCatCore[_0x45198c(0x191)][_0x45198c(0x151)]()[_0x45198c(0x184)](_0x51296f,_0x413bb2,_0x59dc53,[],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 a275e6966..3a38bc270 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2adea,_0x1e8481){const _0x43d7eb=_0x11b2,_0x5ece13=_0x2adea();while(!![]){try{const _0x5bb758=parseInt(_0x43d7eb(0xfa))/0x1*(parseInt(_0x43d7eb(0xbf))/0x2)+parseInt(_0x43d7eb(0xae))/0x3*(parseInt(_0x43d7eb(0xe6))/0x4)+-parseInt(_0x43d7eb(0xdd))/0x5+-parseInt(_0x43d7eb(0xe1))/0x6+parseInt(_0x43d7eb(0xe2))/0x7+parseInt(_0x43d7eb(0xc6))/0x8+-parseInt(_0x43d7eb(0xd1))/0x9;if(_0x5bb758===_0x1e8481)break;else _0x5ece13['push'](_0x5ece13['shift']());}catch(_0x4682b7){_0x5ece13['push'](_0x5ece13['shift']());}}}(_0x4f61,0x28f10));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 _0x4f61(){const _0x7d7da3=['title','com.tencent.qqreader.share','normal','6cxVgAi','track_info','https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','MiniApp\x20JSON\x20消息生成失败','fUSHm','卡片图片不正确','xIfUg','qTbvH','NDiKh','&type=0','QCDgK','mid','p_skey','uin','POST','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','p_skey=','2RrDizD','stringify','preview','&type=8','NCwvY','HttpGetJson','JDlUB','1818736kvyBqU','cover','TGphe','pnwiC','jumpUrl','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','oPBnd','singer','com.tencent.miniapp.lua','WODii','unlink','2885742aZVsTc','ZobIq','name','PqPjI','KZLbj',';\x20skey=','ursTv','ZQpCT','HhLei','yTSwL','application/json','0.0.0.1','232475UBsnhh','tagIcon','inFOF','tag','702324xQyngo','1736336fLyGBZ',';\x20uin=o','\x5c/\x5c/','ndyKE','101132MbnpGd','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','wayMB','sourcelogo','music','pcZzJ','liyFa','9a63343c32d5a16bcde653eb97faa25d','RDBWK','LTopH','ADgcX','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','prompt','tianxuan.imgJumpArk','KmUqj','uin=o10086','GET','YuxkP','dvKNK','InyhY','125927HfJtLV','replace','IwSQW','NxhKg'];_0x4f61=function(){return _0x7d7da3;};return _0x4f61();}import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x463dcc from'node:fs';export async function SignMiniApp(_0x905b49){const _0x4c9cc2=_0x11b2,_0x36b0e4={'pcZzJ':_0x4c9cc2(0xce),'KBSZS':_0x4c9cc2(0xf3),'NxhKg':'miniapp','xIfUg':_0x4c9cc2(0xe4),'IwSQW':function(_0x10cb16,_0x20cbfb){return _0x10cb16+_0x20cbfb;},'vFcua':function(_0x33a21f,_0x47e6bc){return _0x33a21f+_0x47e6bc;},'QCDgK':_0x4c9cc2(0xd6),'CxLuh':';\x20p_uin=o','yTSwL':_0x4c9cc2(0xe3),'KZLbj':function(_0x58472a,_0x9ea659){return _0x58472a+_0x9ea659;},'NCwvY':_0x4c9cc2(0xf1),'XOXlf':function(_0x10d4db,_0x1b5076){return _0x10d4db(_0x1b5076);},'HJgYK':'GET','LTopH':_0x4c9cc2(0xb1)};let _0xbe7d9d={'app':_0x36b0e4[_0x4c9cc2(0xeb)],'bizsrc':_0x36b0e4['KBSZS'],'view':_0x36b0e4[_0x4c9cc2(0xaa)],'prompt':_0x905b49[_0x4c9cc2(0xf2)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x905b49[_0x4c9cc2(0xab)],'preview':_0x905b49[_0x4c9cc2(0xc1)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'jumpUrl':_0x905b49[_0x4c9cc2(0xca)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4['xIfUg']),'tag':_0x905b49[_0x4c9cc2(0xe0)],'tagIcon':_0x905b49[_0x4c9cc2(0xde)]['replace'](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'source':_0x905b49['source'],'sourcelogo':_0x905b49[_0x4c9cc2(0xe9)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)])}}},_0x4a9f82=await NTQQUserApi['getQzoneCookies']();const _0x2dba41=WebApi['genBkn'](_0x4a9f82['p_skey']),_0x49f886=_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4['vFcua'](_0x4c9cc2(0xbe)+_0x4a9f82[_0x4c9cc2(0xba)]+_0x36b0e4[_0x4c9cc2(0xb8)],_0x4a9f82['skey']),_0x36b0e4['CxLuh'])+selfInfo[_0x4c9cc2(0xbb)]+_0x36b0e4[_0x4c9cc2(0xda)],selfInfo[_0x4c9cc2(0xbb)]);let _0x31b2fb=_0x36b0e4['KZLbj'](_0x36b0e4[_0x4c9cc2(0xd5)](_0x36b0e4[_0x4c9cc2(0xc3)],_0x2dba41)+'&ark=',_0x36b0e4['XOXlf'](encodeURIComponent,JSON[_0x4c9cc2(0xc0)](_0xbe7d9d))),_0x596fa8='';try{let _0x8daed3=await RequestUtil[_0x4c9cc2(0xc4)](_0x31b2fb,_0x36b0e4['HJgYK'],undefined,{'Cookie':_0x49f886});_0x596fa8=_0x8daed3['data']['signed_ark'];}catch(_0x540be8){logDebug(_0x36b0e4[_0x4c9cc2(0xef)],_0x540be8);}return _0x596fa8;}function _0x11b2(_0x2ca7c1,_0x411209){const _0x4f61f6=_0x4f61();return _0x11b2=function(_0x11b261,_0x12bdb9){_0x11b261=_0x11b261-0xaa;let _0x134664=_0x4f61f6[_0x11b261];return _0x134664;},_0x11b2(_0x2ca7c1,_0x411209);}export async function SignMusicInternal(_0x9a5a42,_0x45b2cb,_0x27c562,_0x569ab7,_0x2c735d){const _0xfb0e6=_0x11b2,_0x411dfe={'RDBWK':_0xfb0e6(0xac),'WODii':_0xfb0e6(0xed),'ZQpCT':_0xfb0e6(0xad),'ursTv':function(_0x138570,_0x5347ec){return _0x138570+_0x5347ec;},'NDiKh':'https://i.y.qq.com/v8/playsong.html?songmid=','HhLei':_0xfb0e6(0xb7),'ADgcX':_0xfb0e6(0xbd),'InyhY':'QQ音乐','dvKNK':'[分享]','TGphe':_0xfb0e6(0xdc),'ZobIq':_0xfb0e6(0xbc),'fUSHm':_0xfb0e6(0xf5),'tfQxE':_0xfb0e6(0xdb)};let _0x577123=_0xfb0e6(0xe7),_0x1ee3e7={'app':_0x411dfe[_0xfb0e6(0xee)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x411dfe[_0xfb0e6(0xcf)],'type':_0x411dfe[_0xfb0e6(0xd8)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x45b2cb,'jumpUrl':_0x411dfe[_0xfb0e6(0xd7)](_0x411dfe[_0xfb0e6(0xb6)]+_0x569ab7,_0x411dfe[_0xfb0e6(0xd9)]),'musicUrl':_0x2c735d,'preview':_0x27c562,'cover':_0x27c562,'sourceMsgId':'0','source_icon':_0x411dfe[_0xfb0e6(0xf0)],'source_url':'','tag':_0x411dfe[_0xfb0e6(0xf9)],'title':_0x9a5a42,'uin':0x2766}},'prompt':_0x411dfe[_0xfb0e6(0xf8)]+_0x9a5a42,'ver':_0x411dfe[_0xfb0e6(0xc8)],'view':_0xfb0e6(0xea)},_0xc00afb=await RequestUtil['HttpGetJson'](_0x577123,_0x411dfe[_0xfb0e6(0xd2)],_0x1ee3e7,{'Cookie':_0x411dfe[_0xfb0e6(0xb2)],'Content-Type':_0x411dfe['tfQxE']});return _0xc00afb;}export async function CreateMusicThridWay0(_0x279485='',_0x5ce8dc=''){const _0x4ac138=_0x11b2,_0xe5abd2={'YuxkP':function(_0x2776a5,_0x154acb){return _0x2776a5+_0x154acb;},'inFOF':_0x4ac138(0xcb),'PqPjI':function(_0x288edc,_0x4ee0b7){return _0x288edc+_0x4ee0b7;},'ndyKE':function(_0x42f49f,_0x4ff9b6){return _0x42f49f+_0x4ff9b6;},'wayMB':'https://api.leafone.cn/api/qqmusic?id=','DvsKf':_0x4ac138(0xc2),'pnwiC':_0x4ac138(0xf6)};if(_0x5ce8dc==''){let _0x4a8938=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xf7)](_0x4ac138(0xb0),_0x279485)+_0xe5abd2[_0x4ac138(0xdf)],_0x4ac138(0xf6),undefined);_0x5ce8dc=_0x4a8938['songinfo']?.['data']?.[_0x4ac138(0xaf)][_0x4ac138(0xb9)];}let _0x54a6b8=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xd4)](_0xe5abd2[_0x4ac138(0xe5)](_0xe5abd2[_0x4ac138(0xe8)],_0x5ce8dc),_0xe5abd2['DvsKf']),_0xe5abd2[_0x4ac138(0xc9)],undefined);return{..._0x54a6b8['data'],'mid':_0x5ce8dc};}export async function CreateMusicThridWay1(_0x590c85='',_0x2c8c33=''){}export async function SignMusicWrapper(_0x240789=''){const _0x20596e=_0x11b2,_0x26cf06={'liyFa':function(_0x128746,_0x4e778d){return _0x128746(_0x4e778d);},'oPBnd':function(_0x4a71ba,_0x2e910f){return _0x4a71ba(_0x2e910f);},'JDlUB':function(_0x5d5a0c,_0xe825c4){return _0x5d5a0c||_0xe825c4;},'qTbvH':function(_0x5d86a3,_0x31f44c,_0x550370){return _0x5d86a3(_0x31f44c,_0x550370);},'pIsKP':function(_0x3c4f52,_0x3e911c){return _0x3c4f52+_0x3e911c;},'KmUqj':'https://ws.stream.qqmusic.qq.com/'};let _0x1242f6=await _0x26cf06[_0x20596e(0xec)](CreateMusicThridWay0,_0x240789);const {path:_0x52c9e6,isLocal:_0x35415e,errMsg:_0x1268e8}=await _0x26cf06[_0x20596e(0xcc)](uri2local,_0x1242f6[_0x20596e(0xc7)]);if(_0x26cf06[_0x20596e(0xc5)](_0x1268e8,!_0x52c9e6))throw _0x20596e(0xb3);await _0x26cf06[_0x20596e(0xb5)](checkFileReceived2,_0x52c9e6,0x1388);let _0x528b2b=await RequestUtil['uploadImageForOpenPlatform'](_0x52c9e6);!_0x35415e&&_0x463dcc[_0x20596e(0xd0)](_0x52c9e6,()=>{});let _0x2efd6a=await SignMusicInternal(_0x1242f6[_0x20596e(0xd3)],_0x1242f6[_0x20596e(0xcd)],_0x528b2b,_0x1242f6[_0x20596e(0xb9)],_0x26cf06['pIsKP'](_0x26cf06[_0x20596e(0xf4)],_0x1242f6['url']));return _0x2efd6a;} \ No newline at end of file +(function(_0x4c3ae3,_0x30e41e){const _0x325341=_0x26b5,_0x3c341f=_0x4c3ae3();while(!![]){try{const _0x27be39=parseInt(_0x325341(0x163))/0x1*(-parseInt(_0x325341(0x17c))/0x2)+-parseInt(_0x325341(0x166))/0x3*(parseInt(_0x325341(0x1a9))/0x4)+parseInt(_0x325341(0x170))/0x5*(parseInt(_0x325341(0x187))/0x6)+-parseInt(_0x325341(0x19c))/0x7*(-parseInt(_0x325341(0x17f))/0x8)+parseInt(_0x325341(0x195))/0x9+parseInt(_0x325341(0x19f))/0xa*(parseInt(_0x325341(0x191))/0xb)+-parseInt(_0x325341(0x182))/0xc;if(_0x27be39===_0x30e41e)break;else _0x3c341f['push'](_0x3c341f['shift']());}catch(_0x25f489){_0x3c341f['push'](_0x3c341f['shift']());}}}(_0x105d,0xe6baf));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x105d(){const _0x2a6ea2=['p_skey','mfByb','9079576xVDWjA','&type=0','gesAo','17652552WeWNcu','&ark=','hUtbF','POST','track_info','10145478zQEjYB','replace','IxdTU','genBkn','uploadImageForOpenPlatform','tVxyU','FdCez','QQ音乐','jHxYq','tag','1012KuuBZS','mid',';\x20uin=o','com.tencent.qqreader.share','10526562pSAQgy','https://api.leafone.cn/api/qqmusic?id=','CFccX','LrzBB','\x5c/\x5c/','songinfo','prompt','7zXKYQh','OikiP','IvBFV','105540WRMovI','TOIbg','GET','KiIbc',';\x20p_uin=o','https://i.y.qq.com/v8/playsong.html?songmid=','url','aSlnD','ObXHG','jQhLR','30204VuVpNt','Vqjum','jsMSp','DMGWp','igPqM','signed_ark','music','name','cover','preview','TcyoC','LxdcZ','SEEeC','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','BJFpg','[分享]','application/json','data','xJcTQ','getQzoneCookies','5eJtHZo','HttpGetJson','miniapp','702qROQVo','uin=o10086','MiniApp\x20JSON\x20消息生成失败','znGmc','tianxuan.imgJumpArk','jumpUrl','卡片图片不正确','uin','com.tencent.miniapp.lua','siQsq','5HBUeYf','singer','unlink','p_skey=','https://ws.stream.qqmusic.qq.com/','9a63343c32d5a16bcde653eb97faa25d','LmayI','VgmxA','sIgmW','&type=8','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','normal','313358EiJhoV'];_0x105d=function(){return _0x2a6ea2;};return _0x105d();}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x10367b from'node:fs';export async function SignMiniApp(_0x44e2db){const _0x3e275b=_0x26b5,_0x5c26a3={'diZXl':_0x3e275b(0x16a),'LmayI':_0x3e275b(0x165),'LxdcZ':_0x3e275b(0x17b),'FdCez':_0x3e275b(0x199),'igPqM':function(_0x4fb066,_0x177003){return _0x4fb066+_0x177003;},'ObXHG':function(_0x29c601,_0xf1af91){return _0x29c601+_0xf1af91;},'jHxYq':function(_0x25709e,_0x3cb09a){return _0x25709e+_0x3cb09a;},'TBkgs':_0x3e275b(0x173),'jQhLR':';\x20skey=','znGmc':_0x3e275b(0x1a3),'VgmxA':_0x3e275b(0x193),'OikiP':function(_0x1d4319,_0x7d1016){return _0x1d4319+_0x7d1016;},'ZXgNT':function(_0x31e32c,_0x18d6b4){return _0x31e32c+_0x18d6b4;},'AqHvg':_0x3e275b(0x183),'Vqjum':_0x3e275b(0x1a1),'WuczK':function(_0x3a9ce9,_0x2b5024,_0x17889d){return _0x3a9ce9(_0x2b5024,_0x17889d);},'TOIbg':_0x3e275b(0x168)};let _0x4ef910={'app':_0x3e275b(0x16e),'bizsrc':_0x5c26a3['diZXl'],'view':_0x5c26a3[_0x3e275b(0x176)],'prompt':_0x44e2db[_0x3e275b(0x19b)],'config':{'type':_0x5c26a3[_0x3e275b(0x1b4)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x44e2db['title'],'preview':_0x44e2db[_0x3e275b(0x1b2)]['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'jumpUrl':_0x44e2db[_0x3e275b(0x16b)][_0x3e275b(0x188)](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'tag':_0x44e2db[_0x3e275b(0x190)],'tagIcon':_0x44e2db['tagIcon']['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'source':_0x44e2db['source'],'sourcelogo':_0x44e2db['sourcelogo']['replace'](/\\/g,_0x5c26a3['FdCez'])}}},_0x48a969=await NTQQUserApi[_0x3e275b(0x162)]();const _0x170a9b=WebApi[_0x3e275b(0x18a)](_0x48a969[_0x3e275b(0x17d)]),_0x8115ba=_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['igPqM'](_0x5c26a3[_0x3e275b(0x1a7)](_0x5c26a3[_0x3e275b(0x18f)](_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['TBkgs'],_0x48a969[_0x3e275b(0x17d)]),_0x5c26a3[_0x3e275b(0x1a8)]),_0x48a969['skey'])+_0x5c26a3[_0x3e275b(0x169)],selfInfo[_0x3e275b(0x16d)]),_0x5c26a3[_0x3e275b(0x177)])+selfInfo[_0x3e275b(0x16d)];let _0x29bcf8=_0x5c26a3[_0x3e275b(0x19d)](_0x5c26a3['ZXgNT'](_0x3e275b(0x15c)+_0x170a9b,_0x5c26a3['AqHvg']),encodeURIComponent(JSON['stringify'](_0x4ef910))),_0x172d5d='';try{let _0x3b2472=await RequestUtil[_0x3e275b(0x164)](_0x29bcf8,_0x5c26a3[_0x3e275b(0x1aa)],undefined,{'Cookie':_0x8115ba});_0x172d5d=_0x3b2472[_0x3e275b(0x160)][_0x3e275b(0x1ae)];}catch(_0x19c165){_0x5c26a3['WuczK'](logDebug,_0x5c26a3[_0x3e275b(0x1a0)],_0x19c165);}return _0x172d5d;}export async function SignMusicInternal(_0x2e3196,_0x194655,_0x5ce703,_0x3e41c0,_0x5318c4){const _0x4ccf01=_0x26b5,_0x9f33dd={'hUtbF':'https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','mfByb':_0x4ccf01(0x194),'jsMSp':_0x4ccf01(0x175),'TcyoC':_0x4ccf01(0x17b),'NGmdw':function(_0x6af3cc,_0x87a1a5){return _0x6af3cc+_0x87a1a5;},'IxdTU':_0x4ccf01(0x1a4),'tVxyU':_0x4ccf01(0x180),'SEEeC':_0x4ccf01(0x1b6),'gesAo':function(_0x3cd8ab,_0x2542fb){return _0x3cd8ab+_0x2542fb;},'xJcTQ':'0.0.0.1','RYrsH':_0x4ccf01(0x185),'FzsTc':_0x4ccf01(0x167),'uciNs':_0x4ccf01(0x15f)};let _0x3b5122=_0x9f33dd[_0x4ccf01(0x184)],_0xee409c={'app':_0x9f33dd[_0x4ccf01(0x17e)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x9f33dd[_0x4ccf01(0x1ab)],'type':_0x9f33dd[_0x4ccf01(0x1b3)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x194655,'jumpUrl':_0x9f33dd['NGmdw'](_0x9f33dd[_0x4ccf01(0x189)]+_0x3e41c0,_0x9f33dd[_0x4ccf01(0x18c)]),'musicUrl':_0x5318c4,'preview':_0x5ce703,'cover':_0x5ce703,'sourceMsgId':'0','source_icon':_0x9f33dd[_0x4ccf01(0x1b5)],'source_url':'','tag':_0x4ccf01(0x18e),'title':_0x2e3196,'uin':0x2766}},'prompt':_0x9f33dd[_0x4ccf01(0x181)](_0x4ccf01(0x15e),_0x2e3196),'ver':_0x9f33dd[_0x4ccf01(0x161)],'view':_0x4ccf01(0x1af)},_0x1b0234=await RequestUtil[_0x4ccf01(0x164)](_0x3b5122,_0x9f33dd['RYrsH'],_0xee409c,{'Cookie':_0x9f33dd['FzsTc'],'Content-Type':_0x9f33dd['uciNs']});return _0x1b0234;}export async function CreateMusicThridWay0(_0x284b37='',_0x120fd8=''){const _0x61e7c2=_0x26b5,_0x933ca2={'IvBFV':function(_0x124cb9,_0x14f26c){return _0x124cb9+_0x14f26c;},'DMGWp':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','BJFpg':_0x61e7c2(0x17a),'aSlnD':_0x61e7c2(0x1a1),'IkYwP':function(_0x41efdf,_0x264d80){return _0x41efdf+_0x264d80;},'LrzBB':function(_0xd9b861,_0x506d99){return _0xd9b861+_0x506d99;},'ErTEg':_0x61e7c2(0x179)};if(_0x120fd8==''){let _0x4ed9b9=await RequestUtil['HttpGetJson'](_0x933ca2[_0x61e7c2(0x19e)](_0x933ca2[_0x61e7c2(0x19e)](_0x933ca2[_0x61e7c2(0x1ac)],_0x284b37),_0x933ca2[_0x61e7c2(0x15d)]),_0x933ca2[_0x61e7c2(0x1a6)],undefined);_0x120fd8=_0x4ed9b9[_0x61e7c2(0x19a)]?.[_0x61e7c2(0x160)]?.[_0x61e7c2(0x186)][_0x61e7c2(0x192)];}let _0x541d86=await RequestUtil['HttpGetJson'](_0x933ca2['IkYwP'](_0x933ca2[_0x61e7c2(0x198)](_0x61e7c2(0x196),_0x120fd8),_0x933ca2['ErTEg']),_0x933ca2[_0x61e7c2(0x1a6)],undefined);return{..._0x541d86[_0x61e7c2(0x160)],'mid':_0x120fd8};}function _0x26b5(_0x5b4547,_0x3c3292){const _0x105dc2=_0x105d();return _0x26b5=function(_0x26b5d0,_0x95f7aa){_0x26b5d0=_0x26b5d0-0x15c;let _0x224425=_0x105dc2[_0x26b5d0];return _0x224425;},_0x26b5(_0x5b4547,_0x3c3292);}export async function CreateMusicThridWay1(_0x832357='',_0x882d93=''){}export async function SignMusicWrapper(_0x5b4f40=''){const _0x245ffc=_0x26b5,_0x496b80={'siQsq':function(_0x10835f,_0x3b6134){return _0x10835f(_0x3b6134);},'CFccX':function(_0x3e4c91,_0x381a21){return _0x3e4c91||_0x381a21;},'PFtVT':function(_0x1b2900,_0x1c2f8c,_0x1c6025,_0x370543,_0x20be9f,_0x3996ec){return _0x1b2900(_0x1c2f8c,_0x1c6025,_0x370543,_0x20be9f,_0x3996ec);},'KiIbc':function(_0x284967,_0x166264){return _0x284967+_0x166264;},'sIgmW':_0x245ffc(0x174)};let _0x1a6eff=await CreateMusicThridWay0(_0x5b4f40);const {path:_0x111e3e,isLocal:_0xfc0b5a,errMsg:_0x1dce39}=await _0x496b80[_0x245ffc(0x16f)](uri2local,_0x1a6eff[_0x245ffc(0x1b1)]);if(_0x496b80[_0x245ffc(0x197)](_0x1dce39,!_0x111e3e))throw _0x245ffc(0x16c);await checkFileReceived2(_0x111e3e,0x1388);let _0x2f2009=await RequestUtil[_0x245ffc(0x18b)](_0x111e3e);!_0xfc0b5a&&_0x10367b[_0x245ffc(0x172)](_0x111e3e,()=>{});let _0x56eb3d=await _0x496b80['PFtVT'](SignMusicInternal,_0x1a6eff[_0x245ffc(0x1b0)],_0x1a6eff[_0x245ffc(0x171)],_0x2f2009,_0x1a6eff[_0x245ffc(0x192)],_0x496b80[_0x245ffc(0x1a2)](_0x496b80[_0x245ffc(0x178)],_0x1a6eff[_0x245ffc(0x1a5)]));return _0x56eb3d;} \ 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 68f1ef4fe..8b6486a45 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x33dd3d=_0x3a97;function _0x28e2(){const _0x164e45=['CallNoListenerEvent','NodeIKernelCollectionService/collectionArkShare','4foThXL','99ebrlzD','OOnit','session','406160vqhQjG','setMiniAppVersion','7IbPiBX','ORCImage','215xdwQqd','5026020TXVwHn','hasOtherRunningQQProcess','53322OFAlZg','getOnlineDev','1717662698058','1777755tRJzGK','getMsgService','69308kDwtXo','LSdeq','2522748engcxw','getNodeMiscService','log','261192QWNnjv','translateEnWordToZn','getRichMediaService','121GaYrXW','WOORN','getMiniAppPath'];_0x28e2=function(){return _0x164e45;};return _0x28e2();}(function(_0x1f8625,_0x2a44ad){const _0x3afac4=_0x3a97,_0x3094b3=_0x1f8625();while(!![]){try{const _0x22fee1=-parseInt(_0x3afac4(0x1d4))/0x1*(parseInt(_0x3afac4(0x1dc))/0x2)+-parseInt(_0x3afac4(0x1cd))/0x3+-parseInt(_0x3afac4(0x1cf))/0x4*(parseInt(_0x3afac4(0x1e4))/0x5)+parseInt(_0x3afac4(0x1ca))/0x6*(parseInt(_0x3afac4(0x1e2))/0x7)+parseInt(_0x3afac4(0x1e0))/0x8*(-parseInt(_0x3afac4(0x1dd))/0x9)+parseInt(_0x3afac4(0x1c8))/0xa+parseInt(_0x3afac4(0x1d7))/0xb*(parseInt(_0x3afac4(0x1d1))/0xc);if(_0x22fee1===_0x2a44ad)break;else _0x3094b3['push'](_0x3094b3['shift']());}catch(_0xe2d4e1){_0x3094b3['push'](_0x3094b3['shift']());}}}(_0x28e2,0x63004));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3a97(_0x3cb391,_0x299e29){const _0x28e23a=_0x28e2();return _0x3a97=function(_0x3a9794,_0x12f431){_0x3a9794=_0x3a9794-0x1c8;let _0x4dcf33=_0x28e23a[_0x3a9794];return _0x4dcf33;},_0x3a97(_0x3cb391,_0x299e29);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x33dd3d(0x1c9)](){const _0x16cffc=_0x33dd3d;return napCatCore['util'][_0x16cffc(0x1c9)]();}static async[_0x33dd3d(0x1e3)](_0x5285df){const _0x4dc5df=_0x33dd3d;return napCatCore[_0x4dc5df(0x1df)][_0x4dc5df(0x1d2)]()['wantWinScreenOCR'](_0x5285df);}static async[_0x33dd3d(0x1d5)](_0x3b6521){const _0x547b80=_0x33dd3d;return napCatCore[_0x547b80(0x1df)][_0x547b80(0x1d6)]()[_0x547b80(0x1d5)](_0x3b6521);}static async[_0x33dd3d(0x1cb)](){const _0x2a2ae1=_0x33dd3d;return napCatCore['session'][_0x2a2ae1(0x1ce)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x1eba59){const _0x42ca6e=_0x33dd3d,_0x7e06e5={'LSdeq':_0x42ca6e(0x1db),'WOORN':_0x42ca6e(0x1cc)};let _0x48c335=await NTEventDispatch[_0x42ca6e(0x1da)](_0x7e06e5[_0x42ca6e(0x1d0)],0x1388,_0x7e06e5[_0x42ca6e(0x1d8)]);return _0x48c335;}static async['BootMiniApp'](_0x191017,_0x42f3ed){const _0x3de257=_0x33dd3d,_0x4cad19={'OOnit':'2.16.4'};await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1e1)](_0x4cad19[_0x3de257(0x1de)]);let _0x932500=await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1d9)]();return console[_0x3de257(0x1d3)](_0x932500),napCatCore[_0x3de257(0x1df)]['getNodeMiscService']()['startNewMiniApp'](_0x191017,_0x42f3ed);}} \ No newline at end of file +const _0x308190=_0x2e8f;(function(_0x213dec,_0x10b3f6){const _0x4dc118=_0x2e8f,_0x4beac3=_0x213dec();while(!![]){try{const _0x5a06a0=parseInt(_0x4dc118(0x17b))/0x1*(parseInt(_0x4dc118(0x171))/0x2)+parseInt(_0x4dc118(0x17a))/0x3*(parseInt(_0x4dc118(0x17f))/0x4)+parseInt(_0x4dc118(0x184))/0x5+-parseInt(_0x4dc118(0x179))/0x6+parseInt(_0x4dc118(0x178))/0x7+parseInt(_0x4dc118(0x170))/0x8+-parseInt(_0x4dc118(0x17c))/0x9;if(_0x5a06a0===_0x10b3f6)break;else _0x4beac3['push'](_0x4beac3['shift']());}catch(_0x441716){_0x4beac3['push'](_0x4beac3['shift']());}}}(_0x36e8,0x1bf60));function _0x36e8(){const _0x259b8c=['getOnlineDev','qiBfP','getRichMediaService','1061750YiQYzN','util','hasOtherRunningQQProcess','translateEnWordToZn','BootMiniApp','1653936VFhleG','28298gKJuCv','NodeIKernelCollectionService/collectionArkShare','log','wantWinScreenOCR','getNodeMiscService','getOnLineDev','session','784462jUbLkc','90906yOqTQo','3bHNJYZ','13vJZNey','6908922eIDhYh','startNewMiniApp','1717662698058','728968uQEOVH','CallNoListenerEvent'];_0x36e8=function(){return _0x259b8c;};return _0x36e8();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2e8f(_0x45b200,_0x1883ac){const _0x36e8ae=_0x36e8();return _0x2e8f=function(_0x2e8fc3,_0x1804ac){_0x2e8fc3=_0x2e8fc3-0x16e;let _0x112a7b=_0x36e8ae[_0x2e8fc3];return _0x112a7b;},_0x2e8f(_0x45b200,_0x1883ac);}export class NTQQSystemApi{static async[_0x308190(0x186)](){const _0x124f65=_0x308190;return napCatCore[_0x124f65(0x185)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x1b4915){const _0x25f2b0=_0x308190;return napCatCore['session'][_0x25f2b0(0x175)]()[_0x25f2b0(0x174)](_0x1b4915);}static async['translateEnWordToZn'](_0x48eaf2){const _0x54ebaa=_0x308190;return napCatCore[_0x54ebaa(0x177)][_0x54ebaa(0x183)]()[_0x54ebaa(0x16e)](_0x48eaf2);}static async[_0x308190(0x181)](){const _0x1d84df=_0x308190;return napCatCore['session']['getMsgService']()[_0x1d84df(0x176)]();}static async['getArkJsonCollection'](_0x17ba9d){const _0x50ad96=_0x308190;let _0x3f62ce=await NTEventDispatch[_0x50ad96(0x180)](_0x50ad96(0x172),0x1388,_0x50ad96(0x17e));return _0x3f62ce;}static async[_0x308190(0x16f)](_0x51a663,_0x3ee3b5){const _0x15b1e5=_0x308190,_0x146616={'qiBfP':'2.16.4'};await napCatCore[_0x15b1e5(0x177)]['getNodeMiscService']()['setMiniAppVersion'](_0x146616[_0x15b1e5(0x182)]);let _0x5ecd30=await napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()['getMiniAppPath']();return console[_0x15b1e5(0x173)](_0x5ecd30),napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()[_0x15b1e5(0x17d)](_0x51a663,_0x3ee3b5);}} \ 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 b5c817b51..de001cd41 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x254c29=_0x3eda;(function(_0x1c2f5a,_0x53728e){const _0x9d2919=_0x3eda,_0x2245c0=_0x1c2f5a();while(!![]){try{const _0x365680=-parseInt(_0x9d2919(0x1a3))/0x1*(parseInt(_0x9d2919(0x1c2))/0x2)+-parseInt(_0x9d2919(0x1d0))/0x3+-parseInt(_0x9d2919(0x194))/0x4*(parseInt(_0x9d2919(0x1cd))/0x5)+-parseInt(_0x9d2919(0x1c4))/0x6*(parseInt(_0x9d2919(0x1be))/0x7)+-parseInt(_0x9d2919(0x1b8))/0x8+parseInt(_0x9d2919(0x1d4))/0x9*(parseInt(_0x9d2919(0x1c9))/0xa)+parseInt(_0x9d2919(0x195))/0xb*(parseInt(_0x9d2919(0x179))/0xc);if(_0x365680===_0x53728e)break;else _0x2245c0['push'](_0x2245c0['shift']());}catch(_0x178bc8){_0x2245c0['push'](_0x2245c0['shift']());}}}(_0x3ca7,0xbe1a6));var __decorate=this&&this[_0x254c29(0x1a6)]||function(_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7){const _0x3f49d6=_0x254c29,_0x2cc514={'nleTd':function(_0x1523a8,_0x504daa){return _0x1523a8<_0x504daa;},'eXVAi':function(_0x52026f,_0x575d9c){return _0x52026f===_0x575d9c;},'foYbQ':_0x3f49d6(0x18e),'LkBhX':function(_0x11e80f,_0x4ad93d){return _0x11e80f===_0x4ad93d;},'ZSMpw':_0x3f49d6(0x1db),'TvWVz':function(_0x1f9436,_0x26d8e4){return _0x1f9436-_0x26d8e4;},'yyOUl':function(_0x507203,_0x1d216b){return _0x507203>=_0x1d216b;},'TCxzu':function(_0x8cce2d,_0x4d90d1){return _0x8cce2d>_0x4d90d1;},'CVfsg':function(_0x3ac12d,_0x3846c2,_0x20b47e,_0xce5115){return _0x3ac12d(_0x3846c2,_0x20b47e,_0xce5115);},'ypvnd':function(_0xb43e75,_0x15c20f,_0x1b3b54){return _0xb43e75(_0x15c20f,_0x1b3b54);},'hQBCj':function(_0x473465,_0x3b5db8){return _0x473465>_0x3b5db8;}};var _0x1e64ec=arguments['length'],_0x1b5c08=_0x2cc514['nleTd'](_0x1e64ec,0x3)?_0x115c33:_0x2cc514['eXVAi'](_0xbcbe7,null)?_0xbcbe7=Object[_0x3f49d6(0x196)](_0x115c33,_0xcd0a10):_0xbcbe7,_0x18c8f0;if(_0x2cc514[_0x3f49d6(0x1cb)](typeof Reflect,_0x2cc514[_0x3f49d6(0x177)])&&_0x2cc514[_0x3f49d6(0x1a4)](typeof Reflect[_0x3f49d6(0x1c1)],_0x2cc514[_0x3f49d6(0x1b6)]))_0x1b5c08=Reflect[_0x3f49d6(0x1c1)](_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7);else{for(var _0x22853b=_0x2cc514['TvWVz'](_0x4527cd[_0x3f49d6(0x19e)],0x1);_0x2cc514['yyOUl'](_0x22853b,0x0);_0x22853b--)if(_0x18c8f0=_0x4527cd[_0x22853b])_0x1b5c08=(_0x2cc514[_0x3f49d6(0x19c)](_0x1e64ec,0x3)?_0x18c8f0(_0x1b5c08):_0x2cc514[_0x3f49d6(0x173)](_0x1e64ec,0x3)?_0x2cc514[_0x3f49d6(0x182)](_0x18c8f0,_0x115c33,_0xcd0a10,_0x1b5c08):_0x2cc514[_0x3f49d6(0x18c)](_0x18c8f0,_0x115c33,_0xcd0a10))||_0x1b5c08;}return _0x2cc514['hQBCj'](_0x1e64ec,0x3)&&_0x1b5c08&&Object[_0x3f49d6(0x184)](_0x115c33,_0xcd0a10,_0x1b5c08),_0x1b5c08;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3eda(_0x411bf8,_0x12e587){const _0x3ca7cc=_0x3ca7();return _0x3eda=function(_0x3edadd,_0x464b9e){_0x3edadd=_0x3edadd-0x173;let _0x429f7b=_0x3ca7cc[_0x3edadd];return _0x429f7b;},_0x3eda(_0x411bf8,_0x12e587);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x254c29(0x197)]=_0x487fc3=>{userInfoCache[_0x487fc3['uid']]=_0x487fc3,userDetailHandlers['forEach'](_0x4edf87=>_0x4edf87(_0x487fc3));},setTimeout(()=>{const _0x1ea868=_0x254c29;napCatCore[_0x1ea868(0x186)](()=>{const _0x23bfb1=_0x1ea868;napCatCore[_0x23bfb1(0x1d6)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x254c29(0x1b3)](_0x4c00ab){const _0x885182=_0x254c29;return napCatCore['session'][_0x885182(0x1bf)]()['setLongNick'](_0x4c00ab);}static async[_0x254c29(0x1c0)](_0x520fc3,_0x46513f,_0x5aac46){const _0x5a2671=_0x254c29;return napCatCore['session'][_0x5a2671(0x199)]()['setStatus']({'status':_0x520fc3,'extStatus':_0x46513f,'batteryStatus':_0x5aac46});}static async[_0x254c29(0x1a7)](_0x151c4e,_0x932495=''){const _0x806a65=_0x254c29;return napCatCore[_0x806a65(0x1c6)][_0x806a65(0x1c7)]()[_0x806a65(0x1a7)](_0x151c4e,_0x932495);}static async[_0x254c29(0x183)](_0xd901f4,_0x3b7ea2=0x1){const _0x55a352=_0x254c29;return napCatCore['session']['getProfileLikeService']()[_0x55a352(0x17b)]({'friendUid':_0xd901f4,'sourceId':0x47,'doLikeCount':_0x3b7ea2,'doLikeTollCount':0x0});}static async[_0x254c29(0x1da)](_0x5a78b2){const _0x2789d7=_0x254c29,_0x2f4092=await napCatCore[_0x2789d7(0x1c6)]['getProfileService']()[_0x2789d7(0x188)](_0x5a78b2);return{'result':_0x2f4092?.['result'],'errMsg':_0x2f4092?.['errMsg']};}static async[_0x254c29(0x17d)](){}static async['getUserInfo'](_0x421738){}static async['getUserDetailInfo'](_0xe66560){const _0x36bdea=_0x254c29,_0x41c212={'qtasD':function(_0x35c7d4,_0x49a2aa){return _0x35c7d4===_0x49a2aa;},'npoMG':function(_0x96d086,_0x543181){return _0x96d086(_0x543181);},'Wjomf':function(_0x210aee,_0x51100e){return _0x210aee(_0x51100e);},'tahxk':_0x36bdea(0x17e),'oKwrc':function(_0x2b8f4d){return _0x2b8f4d();}},_0x23ba1a=napCatCore['session']['getProfileService']();return new Promise((_0x45527f,_0x3bae97)=>{const _0x479894=_0x36bdea,_0x114936={'hwsyd':function(_0x14a1a7,_0x54617a){const _0x2a8104=_0x3eda;return _0x41c212[_0x2a8104(0x181)](_0x14a1a7,_0x54617a);},'ZCRGi':_0x41c212[_0x479894(0x1af)]},_0x1e1bc0=_0x41c212[_0x479894(0x176)](randomUUID);let _0x3c36a9=![],_0x58a0b9=undefined,_0x1b8bf4=!![];setTimeout(()=>{const _0x4030dd=_0x479894;!_0x3c36a9&&(_0x58a0b9?_0x114936[_0x4030dd(0x1b9)](_0x45527f,_0x58a0b9):_0x114936[_0x4030dd(0x1b9)](_0x3bae97,_0x114936[_0x4030dd(0x1c5)])),userDetailHandlers[_0x4030dd(0x1ac)](_0x1e1bc0);},0x1388),userDetailHandlers[_0x479894(0x1ca)](_0x1e1bc0,_0x463c5f=>{const _0x16397e=_0x479894;_0x41c212[_0x16397e(0x1d7)](_0x463c5f['uid'],_0xe66560)&&(_0x1b8bf4?(_0x58a0b9=_0x463c5f,_0x1b8bf4=![]):(_0x3c36a9=!![],_0x41c212[_0x16397e(0x1aa)](_0x45527f,_0x463c5f)));}),_0x23ba1a['getUserDetailInfoWithBizInfo'](_0xe66560,[0x0])['then'](_0x2a0c36=>{});});}static async[_0x254c29(0x1d9)](_0x3196a6){const _0x1263e7=_0x254c29;return napCatCore[_0x1263e7(0x1c6)][_0x1263e7(0x1bf)]()[_0x1263e7(0x18f)](_0x3196a6);}static async[_0x254c29(0x1bc)](_0x528975){const _0x310852=_0x254c29,_0x409e9c={'YJtSi':function(_0x2fe0f3,_0xe594fe){return _0x2fe0f3+_0xe594fe;},'XNEWU':function(_0x56e01d,_0x18c60a){return _0x56e01d+_0x18c60a;},'UegWc':function(_0x130e1e,_0x346a49){return _0x130e1e+_0x346a49;},'QYAhy':_0x310852(0x18a),'anUWk':_0x310852(0x1cc),'pWWbX':_0x310852(0x187),'IAIBs':_0x310852(0x19a)},_0x1fbc2c=await NTQQUserApi[_0x310852(0x190)](),_0x1e3745=_0x409e9c['YJtSi'](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x18d)](_0x409e9c[_0x310852(0x1d1)]+selfInfo[_0x310852(0x19b)],_0x409e9c['anUWk']),_0x1fbc2c[_0x310852(0x1a5)]),_0x409e9c[_0x310852(0x1b0)]),_0x528975),_0x310852(0x1ab))+selfInfo[_0x310852(0x19b)],_0x409e9c[_0x310852(0x18b)]);let _0x3fcb44={};try{_0x3fcb44=await RequestUtil[_0x310852(0x1a9)](_0x1e3745);}catch(_0x171e70){logDebug(_0x310852(0x1d2),_0x171e70),_0x3fcb44={};}return _0x3fcb44;}static async['getPSkey'](_0xa796e8){const _0x5baf06=_0x254c29;return await napCatCore['session'][_0x5baf06(0x1ad)]()[_0x5baf06(0x17a)](_0xa796e8,!![]);}static async[_0x254c29(0x19d)](){const _0x38f875=_0x254c29,_0x9b9529=await napCatCore[_0x38f875(0x1c6)][_0x38f875(0x1a1)]()[_0x38f875(0x19d)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x9b9529?.[_0x38f875(0x191)]?.['robotUinRanges'];}static async[_0x254c29(0x185)](){const _0x1409f4=_0x254c29,_0x56d325={'irkBe':function(_0x326e4b,_0x39a5b1){return _0x326e4b+_0x39a5b1;},'MNICp':function(_0x401361,_0x50f940){return _0x401361+_0x50f940;},'kWvUp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','lGtag':'&clientkey=','GfAWv':_0x1409f4(0x19a),'bAxeS':_0x1409f4(0x1d2)},_0x1a198d=await NTQQUserApi[_0x1409f4(0x190)](),_0x386566=_0x56d325['irkBe'](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x17c)](_0x56d325['kWvUp'],selfInfo[_0x1409f4(0x19b)]),_0x56d325[_0x1409f4(0x1c8)]),_0x1a198d[_0x1409f4(0x1a5)])+_0x1409f4(0x192),selfInfo['uin']),_0x56d325[_0x1409f4(0x189)]);let _0x13c3f1={};try{_0x13c3f1=await RequestUtil[_0x1409f4(0x1a9)](_0x386566);}catch(_0x35f3c6){logDebug(_0x56d325[_0x1409f4(0x17f)],_0x35f3c6),_0x13c3f1={};}return _0x13c3f1;}static async['getSkey'](){const _0x5b283d=_0x254c29,_0x36d564={'vKqje':function(_0xf1596c,_0x283ca3){return _0xf1596c!==_0x283ca3;},'jfewJ':function(_0x20bd6c,_0x4e9147){return _0x20bd6c+_0x4e9147;},'EnEux':function(_0x1251e7,_0x4ea93b){return _0x1251e7+_0x4ea93b;},'LVylu':function(_0x23d431,_0x54d6de){return _0x23d431+_0x54d6de;},'ZPpyX':_0x5b283d(0x1cc),'SNnEC':function(_0x2366f7,_0x5a2a6d,_0x2b3e9b){return _0x2366f7(_0x5a2a6d,_0x2b3e9b);},'ZtwTE':_0x5b283d(0x198)};try{const _0x3bb8bb=await NTQQUserApi[_0x5b283d(0x190)]();if(_0x36d564[_0x5b283d(0x1d8)](_0x3bb8bb['result'],0x0))return'';const _0x530392=_0x3bb8bb['clientKey'],_0x5efddb=_0x3bb8bb[_0x5b283d(0x178)],_0x589b7c=_0x36d564['jfewJ'](_0x36d564[_0x5b283d(0x1d3)](_0x36d564[_0x5b283d(0x1c3)](_0x5b283d(0x18a)+selfInfo[_0x5b283d(0x19b)],_0x36d564[_0x5b283d(0x1a8)]),_0x530392),_0x5b283d(0x1b4));let _0x164d03={};try{_0x164d03=await RequestUtil[_0x5b283d(0x1a9)](_0x589b7c);}catch(_0x70e3a5){_0x36d564[_0x5b283d(0x1b5)](logDebug,_0x36d564['ZtwTE'],_0x70e3a5),_0x164d03={};}const _0x467882=_0x164d03[_0x5b283d(0x19f)];if(!_0x467882)return'';return _0x467882;}catch(_0x440453){}return undefined;}static async[_0x254c29(0x1b1)](_0x3fe6c7){const _0x118f26=_0x254c29,_0x3c5d2b={'wEKlA':_0x118f26(0x174)};let _0x4602ef=await NTEventDispatch[_0x118f26(0x1ae)](_0x3c5d2b['wEKlA'],0x1388,[_0x3fe6c7]);return _0x4602ef[_0x118f26(0x1bd)][_0x118f26(0x1cf)](_0x3fe6c7);}static async[_0x254c29(0x1bb)](_0x4e4803){const _0x1b4f3a=_0x254c29,_0x327de9={'ahVdE':_0x1b4f3a(0x175)};if(!_0x4e4803)return'';let _0x440191=await NTEventDispatch['CallNoListenerEvent'](_0x327de9['ahVdE'],0x1388,[_0x4e4803]);return _0x440191[_0x1b4f3a(0x1ba)][_0x1b4f3a(0x1cf)](_0x4e4803);}static async['getUserDetailInfoByUin'](_0x15fc27){const _0x3aee56=_0x254c29;return NTEventDispatch[_0x3aee56(0x1ae)](_0x3aee56(0x193),0x1388,_0x15fc27);}static async[_0x254c29(0x190)](){const _0x278408=_0x254c29;return await napCatCore['session'][_0x278408(0x1a2)]()[_0x278408(0x190)]('');}}function _0x3ca7(){const _0x1bc776=['ClientKey','getRobotService','getTicketService','621atpcEg','LkBhX','clientKey','__decorate','getBuddyRecommendContactArkJson','ZPpyX','HttpsGetCookies','npoMG','%2F','delete','getTipOffService','CallNoListenerEvent','tahxk','pWWbX','getUidByUin','XNEWU','setLongNick','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','SNnEC','ZSMpw','getPSkey','93304NmIKTf','hwsyd','uinInfo','getUinByUid','getCookies','uidInfo','56119cxLzmw','getProfileService','setSelfOnlineStatus','decorate','2906tcbUNL','LVylu','384BPnTEZ','ZCRGi','session','getBuddyService','lGtag','2101350jSnDMJ','set','eXVAi','&clientkey=','255qjRYyW','irkBe','get','3089916XUilGC','QYAhy','请求获取Cookies时失败','EnEux','9RXwSxw','YJtSi','addListener','qtasD','vKqje','modifySelfProfile','setQQAvatar','function','TCxzu','NodeIKernelUixConvertService/getUid','NodeIKernelUixConvertService/getUin','oKwrc','foYbQ','keyIndex','36ybegYn','getPskey','setBuddyProfileLike','MNICp','getSelfInfo','getUserDetailInfo\x20timeout','bAxeS','getSkey','Wjomf','CVfsg','like','defineProperty','getQzoneCookies','onLoginSuccess','&u1=https%3A%2F%2F','setHeader','GfAWv','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','IAIBs','ypvnd','UegWc','object','modifyDesktopMiniProfile','forceFetchClientKey','response','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelProfileService/getUserDetailInfoByUin','27364pEjUQp','12372998uKWIcW','getOwnPropertyDescriptor','onProfileDetailInfoChanged','请求获取Skey时失败','getMsgService','%2Finfocenter&keyindex=19%27','uin','nleTd','getRobotUinRange','length','skey'];_0x3ca7=function(){return _0x1bc776;};return _0x3ca7();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1bc),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1b7),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x185),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x180),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x254c29(0x1a0))],NTQQUserApi,_0x254c29(0x190),null); \ No newline at end of file +const _0x2fe92b=_0x96ae;(function(_0x54b1c9,_0x2ede4f){const _0xc37de8=_0x96ae,_0x4c29c5=_0x54b1c9();while(!![]){try{const _0x63e7a5=-parseInt(_0xc37de8(0x132))/0x1*(-parseInt(_0xc37de8(0x16d))/0x2)+parseInt(_0xc37de8(0x162))/0x3*(-parseInt(_0xc37de8(0x17f))/0x4)+parseInt(_0xc37de8(0x179))/0x5+parseInt(_0xc37de8(0x13e))/0x6*(parseInt(_0xc37de8(0x129))/0x7)+-parseInt(_0xc37de8(0x123))/0x8+-parseInt(_0xc37de8(0x17c))/0x9*(-parseInt(_0xc37de8(0x143))/0xa)+-parseInt(_0xc37de8(0x164))/0xb;if(_0x63e7a5===_0x2ede4f)break;else _0x4c29c5['push'](_0x4c29c5['shift']());}catch(_0xea506d){_0x4c29c5['push'](_0x4c29c5['shift']());}}}(_0x5b8e,0x3da0a));function _0x5b8e(){const _0x2f8a5d=['getProfileService','nqUEa','27iBxJvr','length','getSelfInfo','3924xsqMTR','onProfileDetailInfoChanged','session','getUserInfo','EPJIX','ZUhRt','2077408JDGkCg','eFXKK','get','uinInfo','MgjKJ','errMsg','7QxfCSB','getMsgService','setLongNick','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','HttpsGetCookies','ClientKey','xWkUK','getBuddyRecommendContactArkJson','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','643bfiwVM','CallNoListenerEvent','请求获取Cookies时失败','ZdiQv','setHeader','%2Finfocenter&keyindex=19%27','psEMc','getOwnPropertyDescriptor','__decorate','getSkey','请求获取Skey时失败','uidInfo','2713926DneLTH','PBOlU','modifySelfProfile','ELgWh','qXViH','187670ceFYXY','WEgOD','forceFetchClientKey','getUserDetailInfoByUin','QlBzT','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','oXpXE','NodeIKernelUixConvertService/getUin','getBuddyService','getUserDetailInfo','sFhiL','BLLWY','response','robotUinRanges','getQzoneCookies','sWwlX','NodeIKernelUixConvertService/getUid','jfkjf','rqRaG','%2F','UknHr','uid','skey','&clientkey=','doPnM','decorate','DMJeo','podgs','InBEy','defineProperty','nNrME','1329fsRbIM','forEach','2689258LYXsQo','like','clientKey','setBuddyProfileLike','keyIndex','wSzhh','sTqmk','getPSkey','getTicketService','1362EKngEf','getCookies','getRobotService','onLoginSuccess','getUserDetailInfo\x20timeout','addListener','getUinByUid','pOMeB','uin','setStatus','getRobotUinRange','vZjQJ','1223290kDXtOk'];_0x5b8e=function(){return _0x2f8a5d;};return _0x5b8e();}var __decorate=this&&this[_0x2fe92b(0x13a)]||function(_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680){const _0x2f7159=_0x2fe92b,_0x1cba9d={'sTqmk':function(_0x2d2108,_0x1568f2){return _0x2d2108<_0x1568f2;},'jfkjf':function(_0x27dc06,_0x223ef7){return _0x27dc06===_0x223ef7;},'KsOXU':function(_0x4e2b88,_0x4c77af){return _0x4e2b88===_0x4c77af;},'UwRCH':'function','pOMeB':function(_0x426cf6,_0x5ede0d){return _0x426cf6>=_0x5ede0d;},'WEgOD':function(_0xdb8f5,_0x13234b){return _0xdb8f5>_0x13234b;},'qXViH':function(_0x47130b,_0x554bd4,_0x2b7279,_0xa53150){return _0x47130b(_0x554bd4,_0x2b7279,_0xa53150);},'nNrME':function(_0xc6ec4e,_0x39292c,_0x16000b){return _0xc6ec4e(_0x39292c,_0x16000b);}};var _0x18b2eb=arguments[_0x2f7159(0x17d)],_0x160367=_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x55576f:_0x1cba9d[_0x2f7159(0x154)](_0x184680,null)?_0x184680=Object[_0x2f7159(0x139)](_0x55576f,_0x44dd2e):_0x184680,_0x239460;if(_0x1cba9d['jfkjf'](typeof Reflect,'object')&&_0x1cba9d['KsOXU'](typeof Reflect[_0x2f7159(0x15c)],_0x1cba9d['UwRCH']))_0x160367=Reflect[_0x2f7159(0x15c)](_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680);else{for(var _0x5eaed1=_0x3d2d32[_0x2f7159(0x17d)]-0x1;_0x1cba9d[_0x2f7159(0x174)](_0x5eaed1,0x0);_0x5eaed1--)if(_0x239460=_0x3d2d32[_0x5eaed1])_0x160367=(_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x239460(_0x160367):_0x1cba9d[_0x2f7159(0x144)](_0x18b2eb,0x3)?_0x1cba9d[_0x2f7159(0x142)](_0x239460,_0x55576f,_0x44dd2e,_0x160367):_0x1cba9d[_0x2f7159(0x161)](_0x239460,_0x55576f,_0x44dd2e))||_0x160367;}return _0x18b2eb>0x3&&_0x160367&&Object[_0x2f7159(0x160)](_0x55576f,_0x44dd2e,_0x160367),_0x160367;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x96ae(_0x2acd7f,_0x19e154){const _0x5b8e90=_0x5b8e();return _0x96ae=function(_0x96ae4f,_0x436380){_0x96ae4f=_0x96ae4f-0x120;let _0x24bb8a=_0x5b8e90[_0x96ae4f];return _0x24bb8a;},_0x96ae(_0x2acd7f,_0x19e154);}import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2fe92b(0x180)]=_0x22fa27=>{const _0x2144ce=_0x2fe92b;userInfoCache[_0x22fa27[_0x2144ce(0x158)]]=_0x22fa27,userDetailHandlers[_0x2144ce(0x163)](_0xa5880=>_0xa5880(_0x22fa27));},setTimeout(()=>{const _0x10f014=_0x2fe92b;napCatCore[_0x10f014(0x170)](()=>{const _0x2ffeea=_0x10f014;napCatCore[_0x2ffeea(0x172)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2fe92b(0x12b)](_0x50f24f){const _0x154d6a=_0x2fe92b;return napCatCore[_0x154d6a(0x181)]['getProfileService']()[_0x154d6a(0x12b)](_0x50f24f);}static async['setSelfOnlineStatus'](_0x13f070,_0x424f3f,_0x48c1b7){const _0xc903ad=_0x2fe92b;return napCatCore['session'][_0xc903ad(0x12a)]()[_0xc903ad(0x176)]({'status':_0x13f070,'extStatus':_0x424f3f,'batteryStatus':_0x48c1b7});}static async[_0x2fe92b(0x130)](_0x5ad7cc,_0x3d757f=''){const _0x31d749=_0x2fe92b;return napCatCore['session'][_0x31d749(0x14b)]()[_0x31d749(0x130)](_0x5ad7cc,_0x3d757f);}static async[_0x2fe92b(0x165)](_0x257ce3,_0x30257d=0x1){const _0x3849b0=_0x2fe92b;return napCatCore[_0x3849b0(0x181)]['getProfileLikeService']()[_0x3849b0(0x167)]({'friendUid':_0x257ce3,'sourceId':0x47,'doLikeCount':_0x30257d,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x308a09){const _0x517651=_0x2fe92b,_0x5ae66b=await napCatCore[_0x517651(0x181)][_0x517651(0x17a)]()[_0x517651(0x136)](_0x308a09);return{'result':_0x5ae66b?.['result'],'errMsg':_0x5ae66b?.[_0x517651(0x128)]};}static async[_0x2fe92b(0x17e)](){}static async[_0x2fe92b(0x120)](_0x546873){}static async[_0x2fe92b(0x14c)](_0x72f356){const _0x15da1e=_0x2fe92b,_0x172a6f={'oXpXE':function(_0x29abfc,_0x2c8f94){return _0x29abfc(_0x2c8f94);},'doPnM':_0x15da1e(0x171),'sWwlX':function(_0x308e9b,_0x388cca){return _0x308e9b===_0x388cca;},'ZdiQv':function(_0x4ac436,_0x2c50e3){return _0x4ac436(_0x2c50e3);},'DMJeo':function(_0x10ffd0,_0x186b31,_0x492054){return _0x10ffd0(_0x186b31,_0x492054);}},_0x3ded1d=napCatCore[_0x15da1e(0x181)][_0x15da1e(0x17a)]();return new Promise((_0x57a8ff,_0x22a3c9)=>{const _0x33bb0f=_0x15da1e,_0x26d007={'sFhiL':function(_0x97cac6,_0x577b84){const _0x4d64d6=_0x96ae;return _0x172a6f[_0x4d64d6(0x152)](_0x97cac6,_0x577b84);},'MgjKJ':function(_0x251d19,_0x35b17a){const _0x3b9d6c=_0x96ae;return _0x172a6f[_0x3b9d6c(0x135)](_0x251d19,_0x35b17a);}},_0x32390a=randomUUID();let _0x29e783=![],_0x48f3f8=undefined,_0xe6d0d6=!![];_0x172a6f[_0x33bb0f(0x15d)](setTimeout,()=>{const _0x105463=_0x33bb0f;!_0x29e783&&(_0x48f3f8?_0x57a8ff(_0x48f3f8):_0x172a6f[_0x105463(0x149)](_0x22a3c9,_0x172a6f[_0x105463(0x15b)])),userDetailHandlers['delete'](_0x32390a);},0x1388),userDetailHandlers['set'](_0x32390a,_0x5035e2=>{const _0x11ff52=_0x33bb0f;_0x26d007[_0x11ff52(0x14d)](_0x5035e2[_0x11ff52(0x158)],_0x72f356)&&(_0xe6d0d6?(_0x48f3f8=_0x5035e2,_0xe6d0d6=![]):(_0x29e783=!![],_0x26d007[_0x11ff52(0x127)](_0x57a8ff,_0x5035e2)));}),_0x3ded1d['getUserDetailInfoWithBizInfo'](_0x72f356,[0x0])['then'](_0x176b54=>{});});}static async[_0x2fe92b(0x140)](_0x1dd4a0){const _0x25829d=_0x2fe92b;return napCatCore[_0x25829d(0x181)][_0x25829d(0x17a)]()['modifyDesktopMiniProfile'](_0x1dd4a0);}static async['getCookies'](_0xaba010){const _0x3971c8=_0x2fe92b,_0x3e7eba={'EPJIX':function(_0x3f8fc7,_0x442de6){return _0x3f8fc7+_0x442de6;},'ZUhRt':_0x3971c8(0x15a),'PBOlU':'&u1=https%3A%2F%2F','uvIfr':_0x3971c8(0x156),'psEMc':_0x3971c8(0x137)},_0x221154=await NTQQUserApi['forceFetchClientKey'](),_0x36112e=_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba['EPJIX'](_0x3e7eba['EPJIX'](_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba[_0x3971c8(0x121)](_0x3e7eba[_0x3971c8(0x121)](_0x3971c8(0x12c),selfInfo[_0x3971c8(0x175)])+_0x3e7eba[_0x3971c8(0x122)],_0x221154[_0x3971c8(0x166)])+_0x3e7eba[_0x3971c8(0x13f)],_0xaba010),_0x3e7eba['uvIfr']),selfInfo[_0x3971c8(0x175)]),_0x3e7eba[_0x3971c8(0x138)]);let _0x58fdb8={};try{_0x58fdb8=await RequestUtil[_0x3971c8(0x12d)](_0x36112e);}catch(_0x5b9a5d){logDebug(_0x3971c8(0x134),_0x5b9a5d),_0x58fdb8={};}return _0x58fdb8;}static async[_0x2fe92b(0x16b)](_0x218cf4){return await napCatCore['session']['getTipOffService']()['getPskey'](_0x218cf4,!![]);}static async[_0x2fe92b(0x177)](){const _0x1a3310=_0x2fe92b,_0x2eb21b=await napCatCore[_0x1a3310(0x181)][_0x1a3310(0x16f)]()[_0x1a3310(0x177)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2eb21b?.[_0x1a3310(0x14f)]?.[_0x1a3310(0x150)];}static async[_0x2fe92b(0x151)](){const _0x3cf783=_0x2fe92b,_0x47c834={'UrdMT':function(_0x2260f0,_0x3ef858){return _0x2260f0+_0x3ef858;},'mXtfL':function(_0xfb3fe0,_0x506af3){return _0xfb3fe0+_0x506af3;},'DDLwG':function(_0x588cb4,_0x36b8d5){return _0x588cb4+_0x36b8d5;},'nqUEa':_0x3cf783(0x148),'UknHr':_0x3cf783(0x137)},_0x5bdd8b=await NTQQUserApi[_0x3cf783(0x145)](),_0x29ee69=_0x47c834['UrdMT'](_0x47c834['UrdMT'](_0x47c834['mXtfL'](_0x47c834['DDLwG'](_0x3cf783(0x12c)+selfInfo['uin'],_0x3cf783(0x15a)),_0x5bdd8b['clientKey']),_0x47c834[_0x3cf783(0x17b)]),selfInfo['uin'])+_0x47c834[_0x3cf783(0x157)];let _0x3551cc={};try{_0x3551cc=await RequestUtil[_0x3cf783(0x12d)](_0x29ee69);}catch(_0xb47f2f){logDebug(_0x3cf783(0x134),_0xb47f2f),_0x3551cc={};}return _0x3551cc;}static async[_0x2fe92b(0x13b)](){const _0x36858e=_0x2fe92b,_0x2aae79={'xWkUK':function(_0x3fe5b0,_0x5b6215){return _0x3fe5b0!==_0x5b6215;},'eFXKK':function(_0x360f63,_0x2a2adb){return _0x360f63+_0x2a2adb;},'wSzhh':function(_0x374a0c,_0x5dd7d1){return _0x374a0c+_0x5dd7d1;},'InBEy':function(_0x4d70ae,_0x13d48a){return _0x4d70ae+_0x13d48a;},'podgs':function(_0x4628f6,_0x58e904){return _0x4628f6+_0x58e904;},'BLLWY':_0x36858e(0x12c),'rqRaG':'&clientkey=','QlBzT':_0x36858e(0x131),'pNKrg':function(_0x435dd9,_0x31b06f,_0x195142){return _0x435dd9(_0x31b06f,_0x195142);},'vZjQJ':_0x36858e(0x159)};try{const _0x399c82=await NTQQUserApi['forceFetchClientKey']();if(_0x2aae79[_0x36858e(0x12f)](_0x399c82['result'],0x0))return'';const _0x312c3d=_0x399c82[_0x36858e(0x166)],_0x54b74e=_0x399c82[_0x36858e(0x168)],_0x306b72=_0x2aae79[_0x36858e(0x124)](_0x2aae79[_0x36858e(0x169)](_0x2aae79[_0x36858e(0x15f)](_0x2aae79[_0x36858e(0x15e)](_0x2aae79[_0x36858e(0x14e)],selfInfo['uin']),_0x2aae79[_0x36858e(0x155)]),_0x312c3d),_0x2aae79[_0x36858e(0x147)]);let _0x491ed3={};try{_0x491ed3=await RequestUtil[_0x36858e(0x12d)](_0x306b72);}catch(_0x5f01be){_0x2aae79['pNKrg'](logDebug,_0x36858e(0x13c),_0x5f01be),_0x491ed3={};}const _0x1bcdcf=_0x491ed3[_0x2aae79[_0x36858e(0x178)]];if(!_0x1bcdcf)return'';return _0x1bcdcf;}catch(_0x12f560){}return undefined;}static async['getUidByUin'](_0x7bfef7){const _0x204ee3=_0x2fe92b,_0x9a64b9={'ELgWh':_0x204ee3(0x153)};let _0x3af27d=await NTEventDispatch[_0x204ee3(0x133)](_0x9a64b9[_0x204ee3(0x141)],0x1388,[_0x7bfef7]);return _0x3af27d[_0x204ee3(0x13d)][_0x204ee3(0x125)](_0x7bfef7);}static async[_0x2fe92b(0x173)](_0x174982){const _0x9e90fc=_0x2fe92b;if(!_0x174982)return'';let _0x4d0ef2=await NTEventDispatch['CallNoListenerEvent'](_0x9e90fc(0x14a),0x1388,[_0x174982]);return _0x4d0ef2[_0x9e90fc(0x126)][_0x9e90fc(0x125)](_0x174982);}static async[_0x2fe92b(0x146)](_0xcfbe9b){const _0xb556ed=_0x2fe92b,_0x14cd57={'PoLKq':'NodeIKernelProfileService/getUserDetailInfoByUin'};return NTEventDispatch[_0xb556ed(0x133)](_0x14cd57['PoLKq'],0x1388,_0xcfbe9b);}static async['forceFetchClientKey'](){const _0x261149=_0x2fe92b;return await napCatCore[_0x261149(0x181)][_0x261149(0x16c)]()['forceFetchClientKey']('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x16e),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x16b),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x151),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x2fe92b(0x13b),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x2fe92b(0x12e))],NTQQUserApi,_0x2fe92b(0x145),null); \ 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 d050000b0..9f9266db2 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x46f1af=_0x5c96;function _0x3ecd(){const _0x45d9c7=['strong_newbie_list','HvbKS','trim','VWPlJ','webapi_get_group_members','talkative','LcUda','legend','cNttr','avatar','mOAhC','1046184aIDwTm','&sort=1&gc=','tsJyJ','TALKACTIVE','OMARD','gtxxv','BeiGT','ZsQKn','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','mems','parse','qGTUk','&text=','getGroupEssenceMsg','LPqYo','503982WWNihJ','push','PPciA','SHQLu','slUpm','swrZm','dkIyV','rPVMh','获取快乐源泉失败','getGrouptNotice','setGroupNotice','rSjqu','VVYMx','&qid=','845840mVLopA','sMzmB','UvjUt','CtBRU','&end=','actorList','emotion_list','wQigb','aevSC','2105543QrjGkW','swjwY','&bkn=','CLRHB','fmtff','ALL','__decorate','decorate','DSZHB','cCHvx','toString','vphiz','yJTCu','LEGEND','SJUcY','cXMkx','4GsIAkR','VtmUC','&page_start=','talkative_list','zcJje','genBkn','domainPskeyMap','qOFEg','sToTy','get','fkHlz',';\x20uin=o','defineProperty','kJYBo','oCesI','match','legend_list','description','name','LrHgI','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','DBewY','AroGZ','PuTGU','kZcLT','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20',';\x20skey=','getSkey','performer_list','XoBhT','38022VugTsx','NKdej','yfnxC','mgdSf','uiKmG','TzhAI','HgMWK','performer','XBRaw','bPQtN','PERFROMER','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','UupLp','Nzrlx','qUnIJ','getOwnPropertyDescriptor','function','GET','nFnLM','object','ZPAat','获取群聊炽焰失败','emotion','errcode','yWQXD','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','wQRbz','ROeNT','losRh','qTgdl','getPSkey','qun.qq.com',';\x20p_uin=o','8469WlCtXq','1674489AuCKcx','nAaLh','oqjWt','YMkFJ','OosaY','WLnJj','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','strong_newbie','desc','count','jjtDW','HttpGetJson','length','EMOTION','szLBy','BkduU','&type=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','p_skey=','UgJZB','qid=','Ksckx','charCodeAt','10PoSyOR','469lHBjMb','YDmdc','rEIyn','pSVtw','biMUm','uin','uErWS','wRfGa','HttpGetText','Kyxcn','HIvvH','获取群聊之火失败','all','BiiwW','1648LYEdYt','STORONGE_NEWBI','HsRLi','POST','rArAz','mnTnv'];_0x3ecd=function(){return _0x45d9c7;};return _0x3ecd();}function _0x5c96(_0x43b93d,_0x1eb1e8){const _0x3ecd11=_0x3ecd();return _0x5c96=function(_0x5c9609,_0x443dff){_0x5c9609=_0x5c9609-0xca;let _0x544683=_0x3ecd11[_0x5c9609];return _0x544683;},_0x5c96(_0x43b93d,_0x1eb1e8);}(function(_0x277056,_0x39a66d){const _0x56169f=_0x5c96,_0x4489be=_0x277056();while(!![]){try{const _0x168c7e=parseInt(_0x56169f(0x159))/0x1+-parseInt(_0x56169f(0x14a))/0x2+-parseInt(_0x56169f(0x113))/0x3*(-parseInt(_0x56169f(0xd3))/0x4)+parseInt(_0x56169f(0x167))/0x5+parseInt(_0x56169f(0xf1))/0x6*(-parseInt(_0x56169f(0x12b))/0x7)+parseInt(_0x56169f(0x139))/0x8*(-parseInt(_0x56169f(0x112))/0x9)+parseInt(_0x56169f(0x12a))/0xa*(parseInt(_0x56169f(0x170))/0xb);if(_0x168c7e===_0x39a66d)break;else _0x4489be['push'](_0x4489be['shift']());}catch(_0x1ddb5b){_0x4489be['push'](_0x4489be['shift']());}}}(_0x3ecd,0x44a79));var __decorate=this&&this[_0x46f1af(0x176)]||function(_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f){const _0x1c87eb=_0x46f1af,_0x4a20a5={'waMGU':function(_0x6e750b,_0x1ea3e9){return _0x6e750b<_0x1ea3e9;},'LrHgI':function(_0x4795c9,_0x18442f){return _0x4795c9===_0x18442f;},'fmtff':function(_0x590865,_0x381058){return _0x590865===_0x381058;},'tMCTl':_0x1c87eb(0x104),'biMUm':_0x1c87eb(0x101),'HIvvH':function(_0x115734,_0x2d1e12){return _0x115734>=_0x2d1e12;},'VVYMx':function(_0x547d84,_0x3bada6){return _0x547d84<_0x3bada6;},'BeiGT':function(_0x3d5308,_0x49e4f3){return _0x3d5308>_0x49e4f3;},'qOFEg':function(_0x4a82e3,_0x39d03c,_0x5710a2,_0xdc4b28){return _0x4a82e3(_0x39d03c,_0x5710a2,_0xdc4b28);},'VtmUC':function(_0x118d6e,_0x59b02f,_0x4c13aa){return _0x118d6e(_0x59b02f,_0x4c13aa);}};var _0x44cd02=arguments[_0x1c87eb(0x11f)],_0x879ad=_0x4a20a5['waMGU'](_0x44cd02,0x3)?_0x512e4a:_0x4a20a5[_0x1c87eb(0xe6)](_0x1dbf5f,null)?_0x1dbf5f=Object[_0x1c87eb(0x100)](_0x512e4a,_0x321976):_0x1dbf5f,_0x4d968f;if(_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect,_0x4a20a5['tMCTl'])&&_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect[_0x1c87eb(0xca)],_0x4a20a5[_0x1c87eb(0x12f)]))_0x879ad=Reflect[_0x1c87eb(0xca)](_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f);else{for(var _0x3e3204=_0x3c95f2['length']-0x1;_0x4a20a5[_0x1c87eb(0x135)](_0x3e3204,0x0);_0x3e3204--)if(_0x4d968f=_0x3c95f2[_0x3e3204])_0x879ad=(_0x4a20a5[_0x1c87eb(0x165)](_0x44cd02,0x3)?_0x4d968f(_0x879ad):_0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)?_0x4a20a5[_0x1c87eb(0xda)](_0x4d968f,_0x512e4a,_0x321976,_0x879ad):_0x4a20a5[_0x1c87eb(0xd4)](_0x4d968f,_0x512e4a,_0x321976))||_0x879ad;}return _0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)&&_0x879ad&&Object[_0x1c87eb(0xdf)](_0x512e4a,_0x321976,_0x879ad),_0x879ad;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x5ccbae){const _0x1ab3e5=_0x46f1af,_0x335943={'dVmBC':_0x1ab3e5(0x137),'UgJZB':'TALKACTIVE','OMARD':_0x1ab3e5(0x144),'HsRLi':_0x1ab3e5(0xfb),'oqjWt':_0x1ab3e5(0xd0),'WLnJj':_0x1ab3e5(0x13a),'NKdej':_0x1ab3e5(0x120),'losRh':_0x1ab3e5(0x107)};_0x5ccbae['ALL']=_0x335943['dVmBC'],_0x5ccbae[_0x335943[_0x1ab3e5(0x126)]]=_0x335943[_0x1ab3e5(0x14e)],_0x5ccbae[_0x335943[_0x1ab3e5(0x13b)]]=_0x1ab3e5(0xf8),_0x5ccbae[_0x335943[_0x1ab3e5(0x115)]]=_0x1ab3e5(0x146),_0x5ccbae[_0x335943[_0x1ab3e5(0x118)]]=_0x1ab3e5(0x11a),_0x5ccbae[_0x335943[_0x1ab3e5(0xf2)]]=_0x335943[_0x1ab3e5(0x10d)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x46f1af(0x157)](_0x562ec8,_0x326817){const _0x77e4ae=_0x46f1af,_0x32db28={'buEnm':_0x77e4ae(0x110),'wQigb':function(_0x351838,_0x5ea94c){return _0x351838+_0x5ea94c;},'nAaLh':function(_0x55bd89,_0x4f39bd){return _0x55bd89+_0x4f39bd;},'mgdSf':function(_0x8b3222,_0x91d6b3){return _0x8b3222+_0x91d6b3;},'TzhAI':'p_skey=','szLBy':';\x20skey=','yWQXD':_0x77e4ae(0xde),'cNttr':function(_0x3266c7,_0x345856){return _0x3266c7||_0x345856;},'kJYBo':function(_0x1055ac,_0x258f61){return _0x1055ac+_0x258f61;},'yJTCu':function(_0x51742d,_0x2f9d4f){return _0x51742d+_0x2f9d4f;},'HgMWK':_0x77e4ae(0x152),'hbzpe':'&page_limit=20','cXMkx':_0x77e4ae(0x102),'FAeKV':function(_0x1e9617,_0xe2f2a4){return _0x1e9617!==_0xe2f2a4;}},_0xef6679=(await NTQQUserApi[_0x77e4ae(0x10f)]([_0x32db28['buEnm']]))[_0x77e4ae(0xd9)][_0x77e4ae(0xdc)](_0x77e4ae(0x110)),_0x5e9196=await NTQQUserApi[_0x77e4ae(0xee)](),_0x3f5d3d=_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0xf4)](_0x32db28[_0x77e4ae(0xf6)],_0xef6679),_0x32db28[_0x77e4ae(0x121)])+_0x5e9196+';\x20p_uin=o'+selfInfo[_0x77e4ae(0x130)],_0x32db28[_0x77e4ae(0x109)]),selfInfo[_0x77e4ae(0x130)]);if(_0x32db28[_0x77e4ae(0x147)](!_0x5e9196,!_0xef6679))return undefined;const _0x2cdb34=WebApi[_0x77e4ae(0xd8)](_0x5e9196),_0x1c8de0=_0x32db28['nAaLh'](_0x32db28[_0x77e4ae(0xe0)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0xcf)](_0x32db28['wQigb'](_0x32db28[_0x77e4ae(0xf7)],_0x2cdb34)+'&group_code=',_0x562ec8),_0x77e4ae(0xd5)),_0x326817),_0x32db28['hbzpe']);let _0x5cdd94;try{_0x5cdd94=await RequestUtil[_0x77e4ae(0x11e)](_0x1c8de0,_0x32db28[_0x77e4ae(0xd2)],'',{'Cookie':_0x3f5d3d});}catch{return undefined;}if(_0x32db28['FAeKV'](_0x5cdd94['retcode'],0x0))return undefined;return _0x5cdd94;}static async['getGroupMembers'](_0x4f2f10,_0x14de2a=!![]){const _0x2401a5=_0x46f1af,_0x3c7d98={'BiiwW':function(_0x1f8e86,_0x91b301){return _0x1f8e86+_0x91b301;},'mnTnv':function(_0x8fc230,_0x390468){return _0x8fc230+_0x390468;},'XBRaw':function(_0x3603d6,_0x4be173){return _0x3603d6+_0x4be173;},'vNzbJ':';\x20skey=','swjwY':';\x20p_uin=o','oUCkI':function(_0xc05d7b,_0x270d93){return _0xc05d7b||_0x270d93;},'pfsKt':function(_0x267abd,_0x15770c){return _0x267abd+_0x15770c;},'LcUda':'&bkn=','OosaY':_0x2401a5(0x13c),'ZsQKn':function(_0x4ef793,_0x2c44d9){return _0x4ef793!==_0x2c44d9;},'MqNfH':function(_0x289187,_0x2add71){return _0x289187+_0x2add71;},'BWseL':function(_0x10acd0,_0x491b49){return _0x10acd0+_0x491b49;},'cCHvx':function(_0x2412e4,_0x48fed7){return _0x2412e4+_0x48fed7;},'dkIyV':function(_0x18b296,_0x1f4230){return _0x18b296+_0x1f4230;},'VWPlJ':function(_0x183463,_0x3445a8){return _0x183463+_0x3445a8;},'rArAz':_0x2401a5(0xe7),'slUpm':function(_0x4ca409,_0x44b366){return _0x4ca409*_0x44b366;},'rEIyn':function(_0x3ba0d4,_0x3dba61){return _0x3ba0d4-_0x3dba61;},'rPVMh':function(_0x48164f,_0x1bf1a5){return _0x48164f*_0x1bf1a5;},'qTgdl':_0x2401a5(0x14b),'yfnxC':function(_0x9192e6,_0x20f93e){return _0x9192e6<=_0x20f93e;}};let _0x1fd9ce=new Array();try{const _0x342d41=(await NTQQUserApi[_0x2401a5(0x10f)]([_0x2401a5(0x110)]))[_0x2401a5(0xd9)][_0x2401a5(0xdc)](_0x2401a5(0x110)),_0x4fd9e6=await NTQQUserApi['getSkey'](),_0xe25233=_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98['mnTnv'](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98[_0x2401a5(0xf9)]('p_skey=',_0x342d41),_0x3c7d98['vNzbJ']),_0x4fd9e6),_0x3c7d98[_0x2401a5(0x171)]),selfInfo[_0x2401a5(0x130)]);if(_0x3c7d98['oUCkI'](!_0x4fd9e6,!_0x342d41))return _0x1fd9ce;const _0x3d2574=WebApi[_0x2401a5(0xd8)](_0x4fd9e6),_0x4d89ca=[],_0x3e6036=await RequestUtil[_0x2401a5(0x11e)](_0x3c7d98['pfsKt'](_0x3c7d98['XBRaw'](_0x2401a5(0x124),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)])+_0x3d2574,_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});if(!_0x3e6036?.['count']||_0x3c7d98[_0x2401a5(0x151)](_0x3e6036?.['errcode'],0x0)||!_0x3e6036?.[_0x2401a5(0x153)])return[];else for(const _0x4b26cd in _0x3e6036[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x3e6036[_0x2401a5(0x153)][_0x4b26cd]);}const _0x550034=Math['ceil'](_0x3e6036[_0x2401a5(0x11c)]/0x28);for(let _0xa2ff9b=0x2;_0xa2ff9b<=_0x550034;_0xa2ff9b++){const _0x2340bd=RequestUtil['HttpGetJson'](_0x3c7d98['MqNfH'](_0x3c7d98['BWseL'](_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0xcc)](_0x3c7d98[_0x2401a5(0x15f)](_0x3c7d98[_0x2401a5(0x142)](_0x3c7d98[_0x2401a5(0x13d)],_0x3c7d98[_0x2401a5(0x15d)](_0x3c7d98[_0x2401a5(0x12d)](_0xa2ff9b,0x1),0x28))+_0x2401a5(0x16b),_0x3c7d98[_0x2401a5(0x160)](_0xa2ff9b,0x28)),_0x3c7d98[_0x2401a5(0x10e)]),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)]),_0x3d2574),_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});_0x4d89ca[_0x2401a5(0x15a)](_0x2340bd);}for(let _0xdc97dd=0x1;_0x3c7d98[_0x2401a5(0xf3)](_0xdc97dd,_0x550034);_0xdc97dd++){const _0x2d0749=await _0x4d89ca[_0xdc97dd];if(!_0x2d0749?.[_0x2401a5(0x11c)]||_0x3c7d98[_0x2401a5(0x151)](_0x2d0749?.[_0x2401a5(0x108)],0x0)||!_0x2d0749?.[_0x2401a5(0x153)])continue;for(const _0x58a580 in _0x2d0749[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x2d0749[_0x2401a5(0x153)][_0x58a580]);}}}catch{return _0x1fd9ce;}return _0x1fd9ce;}static async[_0x46f1af(0x163)](_0x5e2569,_0x15a62a=''){const _0x43fd6c=_0x46f1af,_0xce5224={'FBvHw':_0x43fd6c(0x110),'mOAhC':function(_0x2756f7,_0xb92f89){return _0x2756f7+_0xb92f89;},'HvbKS':function(_0x3d6098,_0x349825){return _0x3d6098+_0x349825;},'UupLp':function(_0x33f572,_0x5a98a3){return _0x33f572+_0x5a98a3;},'yfLxs':_0x43fd6c(0x125),'CtBRU':function(_0x10f74a,_0x24b79c){return _0x10f74a+_0x24b79c;},'AroGZ':function(_0x2f6a8e,_0x3bd120){return _0x2f6a8e+_0x3bd120;},'PPciA':function(_0x481b5e,_0xc72beb){return _0x481b5e+_0xc72beb;},'lRjkG':_0x43fd6c(0x127),'SHQLu':function(_0x2a5c3a,_0x4fd9e3){return _0x2a5c3a+_0x4fd9e3;},'wRfGa':_0x43fd6c(0x119),'Nzrlx':'GET'},_0x50c674=(await NTQQUserApi['getPSkey']([_0xce5224['FBvHw']]))[_0x43fd6c(0xd9)][_0x43fd6c(0xdc)](_0x43fd6c(0x110)),_0x347090=await NTQQUserApi['getSkey'](),_0x582a75=_0xce5224[_0x43fd6c(0x149)](_0xce5224[_0x43fd6c(0x140)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x149)](_0xce5224['yfLxs'],_0x50c674)+_0x43fd6c(0xed),_0x347090),_0x43fd6c(0x111)),selfInfo[_0x43fd6c(0x130)]);let _0x27606b=undefined;if(!_0x347090||!_0x50c674)return undefined;const _0x50a201=WebApi['genBkn'](_0x347090),_0x2d3b6f=_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x16a)](_0xce5224[_0x43fd6c(0xe9)](_0xce5224[_0x43fd6c(0x15b)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224['lRjkG']+_0x5e2569,_0x43fd6c(0x172)),_0x50a201),_0x43fd6c(0x156)),_0x15a62a),_0x43fd6c(0xfc)),_0x42f70d=_0xce5224[_0x43fd6c(0x15c)](_0xce5224[_0x43fd6c(0x132)],_0x50a201);try{return _0x27606b=await RequestUtil[_0x43fd6c(0x11e)](_0x42f70d,_0xce5224[_0x43fd6c(0xfe)],'',{'Cookie':_0x582a75}),_0x27606b;}catch(_0x30b2dd){return undefined;}return undefined;}static async[_0x46f1af(0x162)](_0x2d2b0b){const _0x359362=_0x46f1af,_0x517bf3={'yYXgN':_0x359362(0x110),'qGTUk':function(_0x41ddbd,_0x4cdb41){return _0x41ddbd+_0x4cdb41;},'sKkhC':function(_0x3074e9,_0x4146bd){return _0x3074e9+_0x4146bd;},'sToTy':function(_0x696e87,_0xfe429c){return _0x696e87+_0xfe429c;},'uiKmG':function(_0x19466b,_0xb59ffd){return _0x19466b+_0xb59ffd;},'rSjqu':'p_skey=','UvjUt':_0x359362(0x111),'qUnIJ':function(_0x757e9a,_0x2d1337){return _0x757e9a||_0x2d1337;},'swrZm':_0x359362(0x10a),'LPqYo':_0x359362(0x166),'SJUcY':_0x359362(0xec),'cRDPa':function(_0x4bf1e3,_0x59a0d7){return _0x4bf1e3!==_0x59a0d7;}},_0x2cb1ab=(await NTQQUserApi[_0x359362(0x10f)]([_0x517bf3['yYXgN']]))['domainPskeyMap'][_0x359362(0xdc)](_0x359362(0x110)),_0x212735=await NTQQUserApi[_0x359362(0xee)](),_0x545820=_0x517bf3[_0x359362(0x155)](_0x517bf3[_0x359362(0x155)](_0x517bf3['sKkhC'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0xf5)](_0x517bf3[_0x359362(0x164)],_0x2cb1ab),_0x359362(0xed)),_0x212735),_0x517bf3[_0x359362(0x169)]),selfInfo['uin']);let _0x32fd73=undefined;if(_0x517bf3[_0x359362(0xff)](!_0x212735,!_0x2cb1ab))return undefined;const _0x48cd0a=WebApi['genBkn'](_0x212735),_0x110a07=_0x517bf3['uiKmG'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0x15e)]+_0x48cd0a+_0x517bf3[_0x359362(0x158)],_0x2d2b0b),_0x517bf3[_0x359362(0xd1)]);try{_0x32fd73=await RequestUtil['HttpGetJson'](_0x110a07,_0x359362(0x102),'',{'Cookie':_0x545820});if(_0x517bf3['cRDPa'](_0x32fd73?.['ec'],0x0))return undefined;return _0x32fd73;}catch(_0x115b29){return undefined;}return undefined;}static[_0x46f1af(0xd8)](_0x5e8670){const _0x435b34=_0x46f1af,_0x3bc2e8={'sMzmB':function(_0x31df13,_0x92ed1){return _0x31df13||_0x92ed1;},'XiXYV':function(_0x234e07,_0x495000){return _0x234e07<_0x495000;},'uErWS':function(_0x4cd0e9,_0x3da5a0){return _0x4cd0e9+_0x3da5a0;},'YDmdc':function(_0x555325,_0x6a63a1){return _0x555325+_0x6a63a1;},'vphiz':function(_0x176b06,_0x2560ea){return _0x176b06<<_0x2560ea;},'tsJyJ':function(_0x4d0384,_0xf0821e){return _0x4d0384&_0xf0821e;}};_0x5e8670=_0x3bc2e8[_0x435b34(0x168)](_0x5e8670,'');let _0x4275c7=0x1505;for(let _0x5e0427=0x0;_0x3bc2e8['XiXYV'](_0x5e0427,_0x5e8670['length']);_0x5e0427++){const _0x3f67d4=_0x5e8670[_0x435b34(0x129)](_0x5e0427);_0x4275c7=_0x3bc2e8[_0x435b34(0x131)](_0x3bc2e8[_0x435b34(0x12c)](_0x4275c7,_0x3bc2e8[_0x435b34(0xce)](_0x4275c7,0x5)),_0x3f67d4);}return _0x3bc2e8[_0x435b34(0x14c)](_0x4275c7,0x7fffffff)[_0x435b34(0xcd)]();}static async['getGroupHonorInfo'](_0x4d63aa,_0x1403e2){const _0x2b8eba=_0x46f1af,_0x395d6a={'CLRHB':function(_0x4dba0f,_0x553cff){return _0x4dba0f+_0x553cff;},'oCesI':'https://qun.qq.com/interactive/honorlist?gc=','ZPAat':_0x2b8eba(0x123),'DSZHB':_0x2b8eba(0x102),'DBewY':function(_0x167eb6,_0x599193){return _0x167eb6===_0x599193;},'bPQtN':function(_0x4fa224,_0x1930dc,_0x30586d,_0x1bf77c){return _0x4fa224(_0x1930dc,_0x30586d,_0x1bf77c);},'PuTGU':'获取当前群荣耀失败','Ksckx':_0x2b8eba(0x110),'BkduU':function(_0x446553,_0x1c6e7b){return _0x446553||_0x1c6e7b;},'wQRbz':function(_0x4297fb,_0x1c3bab){return _0x4297fb+_0x1c3bab;},'Kyxcn':function(_0x48812e,_0x539cae){return _0x48812e+_0x539cae;},'nFnLM':_0x2b8eba(0x125),'kZcLT':';\x20skey=','CxFeC':';\x20p_uin=o','gtxxv':_0x2b8eba(0xde),'zcJje':function(_0x14957b,_0x18645d){return _0x14957b===_0x18645d;},'XOzFD':'获取龙王信息失败','YMkFJ':function(_0x2d7f79,_0x2fcca8){return _0x2d7f79(_0x2fcca8);},'pSVtw':function(_0x578382,_0x573d2f){return _0x578382===_0x573d2f;},'jjtDW':function(_0xcb7b6,_0xd80522,_0x42557b){return _0xcb7b6(_0xd80522,_0x42557b);},'aevSC':_0x2b8eba(0x136),'XoBhT':_0x2b8eba(0x106),'sPUbv':function(_0x5b8e61,_0x181b86){return _0x5b8e61===_0x181b86;},'fkHlz':_0x2b8eba(0x161),'ROeNT':function(_0x3d9af9,_0x381a45,_0x14b329){return _0x3d9af9(_0x381a45,_0x14b329);},'fkszD':function(_0x37d4bc,_0x4e07ae){return _0x37d4bc===_0x4e07ae;}},_0x11188d=(await NTQQUserApi[_0x2b8eba(0x10f)]([_0x395d6a[_0x2b8eba(0x128)]]))['domainPskeyMap'][_0x2b8eba(0xdc)](_0x395d6a[_0x2b8eba(0x128)]),_0x239d5d=await NTQQUserApi[_0x2b8eba(0xee)]();if(_0x395d6a[_0x2b8eba(0x122)](!_0x239d5d,!_0x11188d))return undefined;async function _0x21e173(_0x6e2715,_0x2f3d5e){const _0x270fbc=_0x2b8eba;let _0x209718=_0x395d6a['CLRHB'](_0x395d6a[_0x270fbc(0x173)](_0x395d6a[_0x270fbc(0xe1)]+_0x6e2715,_0x395d6a[_0x270fbc(0x105)]),_0x2f3d5e['toString']()),_0x2d9358='',_0x498c9d;try{_0x2d9358=await RequestUtil[_0x270fbc(0x133)](_0x209718,_0x395d6a[_0x270fbc(0xcb)],'',{'Cookie':_0x1974dc});const _0x59e786=_0x2d9358[_0x270fbc(0xe2)](/window\.__INITIAL_STATE__=(.*?);/);return _0x59e786&&(_0x498c9d=JSON[_0x270fbc(0x154)](_0x59e786[0x1][_0x270fbc(0x141)]())),_0x395d6a[_0x270fbc(0xe8)](_0x2f3d5e,0x1)?_0x498c9d?.['talkativeList']:_0x498c9d?.[_0x270fbc(0x16c)];}catch(_0x269472){_0x395d6a[_0x270fbc(0xfa)](logDebug,_0x395d6a[_0x270fbc(0xea)],_0x209718,_0x269472);}return undefined;}let _0x43603c={'group_id':_0x4d63aa};const _0x1974dc=_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x173)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x134)](_0x395d6a[_0x2b8eba(0x103)],_0x11188d),_0x395d6a[_0x2b8eba(0xeb)])+_0x239d5d,_0x395d6a['CxFeC']),selfInfo[_0x2b8eba(0x130)]),_0x395d6a[_0x2b8eba(0x14f)])+selfInfo[_0x2b8eba(0x130)];if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0x14d)])||_0x395d6a[_0x2b8eba(0xd7)](_0x1403e2,WebHonorType['ALL']))try{let _0x5e3c1e=await _0x21e173(_0x4d63aa,0x1);if(!_0x5e3c1e)throw new Error(_0x395d6a['XOzFD']);_0x43603c['current_talkative']={'user_id':_0x5e3c1e[0x0]?.[_0x2b8eba(0x130)],'avatar':_0x5e3c1e[0x0]?.[_0x2b8eba(0x148)],'nickname':_0x5e3c1e[0x0]?.[_0x2b8eba(0xe5)],'day_count':0x0,'description':_0x5e3c1e[0x0]?.['desc']},_0x43603c[_0x2b8eba(0xd6)]=[];for(const _0x2455ef of _0x5e3c1e){_0x43603c[_0x2b8eba(0xd6)]['push']({'user_id':_0x2455ef?.[_0x2b8eba(0x130)],'avatar':_0x2455ef?.[_0x2b8eba(0x148)],'description':_0x2455ef?.[_0x2b8eba(0x11b)],'day_count':0x0,'nickname':_0x2455ef?.[_0x2b8eba(0xe5)]});}}catch(_0x1250bf){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x1250bf);}if(_0x395d6a['pSVtw'](_0x1403e2,WebHonorType['PERFROMER'])||_0x395d6a[_0x2b8eba(0x12e)](_0x1403e2,WebHonorType[_0x2b8eba(0x175)]))try{let _0x119d3d=await _0x395d6a['jjtDW'](_0x21e173,_0x4d63aa,0x2);if(!_0x119d3d)throw new Error(_0x395d6a[_0x2b8eba(0x16f)]);_0x43603c[_0x2b8eba(0xef)]=[];for(const _0x54f0a3 of _0x119d3d){_0x43603c[_0x2b8eba(0xef)][_0x2b8eba(0x15a)]({'user_id':_0x54f0a3?.[_0x2b8eba(0x130)],'nickname':_0x54f0a3?.[_0x2b8eba(0xe5)],'avatar':_0x54f0a3?.[_0x2b8eba(0x148)],'description':_0x54f0a3?.[_0x2b8eba(0x11b)]});}}catch(_0x9259ba){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x9259ba);}if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0xfb)])||_0x1403e2===WebHonorType['ALL'])try{let _0x39e67e=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x3);if(!_0x39e67e)throw new Error(_0x395d6a[_0x2b8eba(0xf0)]);_0x43603c[_0x2b8eba(0xe3)]=[];for(const _0x45b493 of _0x39e67e){_0x43603c[_0x2b8eba(0xe3)][_0x2b8eba(0x15a)]({'user_id':_0x45b493?.['uin'],'nickname':_0x45b493?.[_0x2b8eba(0xe5)],'avatar':_0x45b493?.[_0x2b8eba(0x148)],'desc':_0x45b493?.['description']});}}catch(_0x5a81c6){_0x395d6a['jjtDW'](logDebug,_0x2b8eba(0x106),_0x5a81c6);}if(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x1403e2===WebHonorType['ALL'])try{let _0x4cdf62=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x6);if(!_0x4cdf62)throw new Error(_0x395d6a[_0x2b8eba(0xdd)]);_0x43603c[_0x2b8eba(0x16d)]=[];for(const _0x1d187e of _0x4cdf62){_0x43603c['emotion_list'][_0x2b8eba(0x15a)]({'user_id':_0x1d187e?.['uin'],'nickname':_0x1d187e?.[_0x2b8eba(0xe5)],'avatar':_0x1d187e?.['avatar'],'desc':_0x1d187e?.[_0x2b8eba(0xe4)]});}}catch(_0x5d1374){_0x395d6a[_0x2b8eba(0x10c)](logDebug,_0x395d6a[_0x2b8eba(0xdd)],_0x5d1374);}return(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x395d6a['fkszD'](_0x1403e2,WebHonorType['ALL']))&&(_0x43603c[_0x2b8eba(0x13f)]=[]),_0x43603c;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x46f1af(0x143))],WebApi,'getGroupEssenceMsg',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,'getGroupMembers',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'GroupHonorInfo')],WebApi,'getGroupHonorInfo',null); \ No newline at end of file +const _0x553788=_0x18f6;(function(_0x5f44b7,_0x3245df){const _0x2eddb3=_0x18f6,_0x25120a=_0x5f44b7();while(!![]){try{const _0x18dd8d=parseInt(_0x2eddb3(0xc6))/0x1*(parseInt(_0x2eddb3(0x13d))/0x2)+parseInt(_0x2eddb3(0x12a))/0x3*(parseInt(_0x2eddb3(0x14f))/0x4)+parseInt(_0x2eddb3(0xda))/0x5+parseInt(_0x2eddb3(0x11e))/0x6*(parseInt(_0x2eddb3(0x14a))/0x7)+-parseInt(_0x2eddb3(0xea))/0x8*(-parseInt(_0x2eddb3(0xc8))/0x9)+-parseInt(_0x2eddb3(0xc2))/0xa+-parseInt(_0x2eddb3(0xec))/0xb;if(_0x18dd8d===_0x3245df)break;else _0x25120a['push'](_0x25120a['shift']());}catch(_0x3b7473){_0x25120a['push'](_0x25120a['shift']());}}}(_0xcfb6,0x30f31));var __decorate=this&&this[_0x553788(0x154)]||function(_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca){const _0x3f5f34=_0x553788,_0x1cce5a={'TLiaz':function(_0x50d43b,_0x415432){return _0x50d43b===_0x415432;},'mvOIA':_0x3f5f34(0xc3),'QwtZm':function(_0x2cdeb2,_0x262a1a){return _0x2cdeb2===_0x262a1a;},'adoqe':_0x3f5f34(0x116),'vJQSH':function(_0x311369,_0x10bd54){return _0x311369>=_0x10bd54;},'VtgSh':function(_0x6871e5,_0x481fd0){return _0x6871e5<_0x481fd0;},'TCrFt':function(_0x39dbb3,_0x55c5fb){return _0x39dbb3>_0x55c5fb;},'tQxIg':function(_0x356bb0,_0xf0dfff,_0x492df0,_0x3addc4){return _0x356bb0(_0xf0dfff,_0x492df0,_0x3addc4);},'MULDa':function(_0x32380c,_0x334b76,_0x36c548){return _0x32380c(_0x334b76,_0x36c548);}};var _0xe9a216=arguments[_0x3f5f34(0xf2)],_0x206196=_0xe9a216<0x3?_0x2e206d:_0x1cce5a['TLiaz'](_0x2f75ca,null)?_0x2f75ca=Object['getOwnPropertyDescriptor'](_0x2e206d,_0x261ad3):_0x2f75ca,_0x3a1f4f;if(typeof Reflect===_0x1cce5a['mvOIA']&&_0x1cce5a[_0x3f5f34(0xf5)](typeof Reflect[_0x3f5f34(0xe3)],_0x1cce5a[_0x3f5f34(0xcf)]))_0x206196=Reflect[_0x3f5f34(0xe3)](_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca);else{for(var _0x2ce32f=_0x2fea1d[_0x3f5f34(0xf2)]-0x1;_0x1cce5a['vJQSH'](_0x2ce32f,0x0);_0x2ce32f--)if(_0x3a1f4f=_0x2fea1d[_0x2ce32f])_0x206196=(_0x1cce5a[_0x3f5f34(0x14d)](_0xe9a216,0x3)?_0x3a1f4f(_0x206196):_0x1cce5a[_0x3f5f34(0x106)](_0xe9a216,0x3)?_0x1cce5a[_0x3f5f34(0xd3)](_0x3a1f4f,_0x2e206d,_0x261ad3,_0x206196):_0x1cce5a[_0x3f5f34(0x163)](_0x3a1f4f,_0x2e206d,_0x261ad3))||_0x206196;}return _0xe9a216>0x3&&_0x206196&&Object[_0x3f5f34(0x11b)](_0x2e206d,_0x261ad3,_0x206196),_0x206196;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0xcfb6(){const _0x3f8038=['match','UUFxf','all','NbuuA','actorList','adoqe','parse','EaMiQ','RAsyU','tQxIg','zTajZ','RRISQ','QDPON','oMrIZ','performer','tTmci','1901235SnCWRq','getGroupEssenceMsg','dECoA','setGroupNotice','获取当前群荣耀失败','push','genBkn','&sort=1&gc=','emotion_list','decorate','aLBgO','aInLr','ovgMd','phoEo',';\x20uin=o','NhFkm','235784vjlljT','MIMUJ','11721303QCsPea','rhTnD','qjkui','GET','dQyZW','POYAV','length','WWdgx','&bkn=','QwtZm','UYmQD','EMOTION','uMezn','p_skey=','kGtLF','performer_list','ngkEe','IFrZJ','eiRGS','DKRDI','BNALS','&qid=','ZjVle','YjUht','CtGce','ceil','TCrFt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','vSgKo','strong_newbie_list','charCodeAt','3|5|4|1|0|2','WVbvh','qun.qq.com','POST','STORONGE_NEWBI','legend_list','ccmpN','UJMzZ','YXrEq','JneiB','function','pXJkU','current_talkative','&text=','egSBb','defineProperty','ALL','COUEk','610482ZNIhyR','rgnJr','vbgqF','PERFROMER','laXWP','mems','avatar','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','PMUVq','errcode','retcode','CnVxQ','6wFdnwr',';\x20p_uin=o','ZAsOf','getGroupHonorInfo','TALKACTIVE','WCYeg','tLlzk','domainPskeyMap','获取快乐源泉失败','获取群聊之火失败','BbqFO','pcTFq','FqUvz','&group_code=','getGrouptNotice','GJeqp','talkative_list','get','ZpuOO','8794xmsUZG','uin','JzBoJ','GroupHonorInfo','vMTYv','talkative','&type=','gdfcX','HttpGetText','rstAN','rzPFE','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','getPSkey','21AeqVxM','DcJyM','getSkey','VtgSh','TPZRQ','778328txemGG','fCJOb','EGUwZ','aHNIn','name','__decorate','CrSBV','count','trim','HttpGetJson','talkativeList','split',';\x20skey=','&page_start=','xuqDH','CGtlU','YpvvJ','description','BHLhJ','https://qun.qq.com/interactive/honorlist?gc=','MULDa','KzEQT','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','Cvsyd','rYcgP','yNozb','DfAUu','HzelM','otbEU','desc','3412290flYGiD','object','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','legend','34QHgOJa','getGroupMembers','117WLWvuT','toString'];_0xcfb6=function(){return _0x3f8038;};return _0xcfb6();}export var WebHonorType;(function(_0x5d2433){const _0x190e93=_0x553788,_0x8cd4f={'FqUvz':_0x190e93(0x10c),'CtGce':'strong_newbie','rgnJr':_0x190e93(0xc5),'egSBb':_0x190e93(0xf7),'uOIDu':'emotion','YXrEq':'ALL','rzPFE':_0x190e93(0xcc),'dQyZW':_0x190e93(0x121),'ZSMPQ':_0x190e93(0xd8),'UUFxf':_0x190e93(0x12e),'WVbvh':_0x190e93(0x142)},_0x3e51be=_0x8cd4f[_0x190e93(0x136)][_0x190e93(0x15a)]('|');let _0x44127c=0x0;while(!![]){switch(_0x3e51be[_0x44127c++]){case'0':_0x5d2433[_0x190e93(0x110)]=_0x8cd4f[_0x190e93(0x104)];continue;case'1':_0x5d2433['LEGEND']=_0x8cd4f[_0x190e93(0x11f)];continue;case'2':_0x5d2433[_0x8cd4f[_0x190e93(0x11a)]]=_0x8cd4f['uOIDu'];continue;case'3':_0x5d2433[_0x8cd4f[_0x190e93(0x114)]]=_0x8cd4f[_0x190e93(0x147)];continue;case'4':_0x5d2433[_0x8cd4f[_0x190e93(0xf0)]]=_0x8cd4f['ZSMPQ'];continue;case'5':_0x5d2433[_0x8cd4f[_0x190e93(0xcb)]]=_0x8cd4f[_0x190e93(0x10d)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x18f6(_0x3768ab,_0xdcd8cd){const _0xcfb6a1=_0xcfb6();return _0x18f6=function(_0x18f6d1,_0x3f59ab){_0x18f6d1=_0x18f6d1-0xc0;let _0x2409ca=_0xcfb6a1[_0x18f6d1];return _0x2409ca;},_0x18f6(_0x3768ab,_0xdcd8cd);}export class WebApi{static async[_0x553788(0xdb)](_0x3fa9c7,_0x23137e){const _0x11ad42=_0x553788,_0xf63c23={'IFrZJ':function(_0x40bb94,_0x4a0c01){return _0x40bb94+_0x4a0c01;},'jzdBm':_0x11ad42(0xf9),'MxaEd':_0x11ad42(0x15b),'ZpuOO':_0x11ad42(0x12b),'gdfcX':_0x11ad42(0xe8),'BHLhJ':function(_0x548b83,_0x2b4f6f){return _0x548b83+_0x2b4f6f;},'ScGOD':function(_0x420dbf,_0x55e404){return _0x420dbf+_0x55e404;},'mDYnu':function(_0x15abdf,_0x4abd81){return _0x15abdf+_0x4abd81;},'oMrIZ':_0x11ad42(0x108),'vMTYv':_0x11ad42(0x137),'NbuuA':_0x11ad42(0x15c),'ngkEe':'&page_limit=20','MlxNX':_0x11ad42(0xef)},_0xfd95ef=(await NTQQUserApi[_0x11ad42(0x149)]([_0x11ad42(0x10e)]))[_0x11ad42(0x131)][_0x11ad42(0x13b)]('qun.qq.com'),_0x2118eb=await NTQQUserApi[_0x11ad42(0x14c)](),_0x35d64e=_0xf63c23['IFrZJ'](_0xf63c23[_0x11ad42(0xfd)](_0xf63c23[_0x11ad42(0xfd)](_0xf63c23['jzdBm'],_0xfd95ef)+_0xf63c23['MxaEd']+_0x2118eb,_0xf63c23[_0x11ad42(0x13c)])+selfInfo[_0x11ad42(0x13e)],_0xf63c23[_0x11ad42(0x144)])+selfInfo[_0x11ad42(0x13e)];if(!_0x2118eb||!_0xfd95ef)return undefined;const _0x12571b=WebApi['genBkn'](_0x2118eb),_0x253f30=_0xf63c23[_0x11ad42(0xfd)](_0xf63c23[_0x11ad42(0x161)](_0xf63c23['ScGOD'](_0xf63c23['mDYnu'](_0xf63c23[_0x11ad42(0xd7)],_0x12571b),_0xf63c23[_0x11ad42(0x141)]),_0x3fa9c7)+_0xf63c23[_0x11ad42(0xcd)],_0x23137e)+_0xf63c23[_0x11ad42(0xfc)];let _0x101cc8;try{_0x101cc8=await RequestUtil['HttpGetJson'](_0x253f30,_0xf63c23['MlxNX'],'',{'Cookie':_0x35d64e});}catch{return undefined;}if(_0x101cc8[_0x11ad42(0x128)]!==0x0)return undefined;return _0x101cc8;}static async['getGroupMembers'](_0x39c45b,_0x254a0a=!![]){const _0x937d1f=_0x553788,_0x456f17={'aLBgO':_0x937d1f(0x10e),'tTmci':function(_0x528d76,_0x2a7f87){return _0x528d76+_0x2a7f87;},'RAsyU':function(_0x58841c,_0x5bf1d2){return _0x58841c+_0x5bf1d2;},'NhFkm':_0x937d1f(0xf9),'otbEU':_0x937d1f(0x15b),'xuqDH':';\x20p_uin=o','hWNWf':_0x937d1f(0x107),'CGzjm':function(_0x588aac,_0x17cead){return _0x588aac!==_0x17cead;},'JzBoJ':function(_0x416d3f,_0x2c45f3){return _0x416d3f/_0x2c45f3;},'rstAN':function(_0x4bf02c,_0x262538){return _0x4bf02c+_0x262538;},'kGtLF':function(_0x2a8dfa,_0x220cf4){return _0x2a8dfa+_0x220cf4;},'fCJOb':_0x937d1f(0x125),'yNozb':function(_0x1e1e1a,_0x431372){return _0x1e1e1a*_0x431372;},'COUEk':function(_0x3f8071,_0x33cc89){return _0x3f8071-_0x33cc89;},'EaMiQ':'&end=','aInLr':_0x937d1f(0xe1),'rYcgP':'&bkn=','WWdgx':_0x937d1f(0x10f),'pcTFq':function(_0x53e050,_0x39a1bb){return _0x53e050<=_0x39a1bb;}};let _0x4e9db6=new Array();try{const _0x414ea8=(await NTQQUserApi[_0x937d1f(0x149)]([_0x456f17[_0x937d1f(0xe4)]]))['domainPskeyMap'][_0x937d1f(0x13b)](_0x456f17[_0x937d1f(0xe4)]),_0x143a10=await NTQQUserApi[_0x937d1f(0x14c)](),_0x1bf2e2=_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd9)](_0x456f17[_0x937d1f(0xd2)](_0x456f17[_0x937d1f(0xe9)],_0x414ea8),_0x456f17[_0x937d1f(0xc0)]),_0x143a10)+_0x456f17[_0x937d1f(0x15d)],selfInfo['uin']);if(!_0x143a10||!_0x414ea8)return _0x4e9db6;const _0x1264eb=WebApi[_0x937d1f(0xe0)](_0x143a10),_0x4a54a8=[],_0x50da72=await RequestUtil['HttpGetJson'](_0x456f17[_0x937d1f(0xd2)](_0x456f17['tTmci'](_0x456f17['hWNWf']+_0x39c45b,_0x937d1f(0xf4)),_0x1264eb),_0x937d1f(0x10f),'',{'Cookie':_0x1bf2e2});if(!_0x50da72?.[_0x937d1f(0x156)]||_0x456f17['CGzjm'](_0x50da72?.['errcode'],0x0)||!_0x50da72?.[_0x937d1f(0x123)])return[];else for(const _0x208d2c in _0x50da72[_0x937d1f(0x123)]){_0x4e9db6[_0x937d1f(0xdf)](_0x50da72['mems'][_0x208d2c]);}const _0x3db3d0=Math[_0x937d1f(0x105)](_0x456f17[_0x937d1f(0x13f)](_0x50da72[_0x937d1f(0x156)],0x28));for(let _0x7970a6=0x2;_0x7970a6<=_0x3db3d0;_0x7970a6++){const _0x34a213=RequestUtil[_0x937d1f(0x158)](_0x456f17[_0x937d1f(0x146)](_0x456f17['kGtLF'](_0x456f17[_0x937d1f(0x146)](_0x456f17[_0x937d1f(0xd2)](_0x456f17[_0x937d1f(0xfa)](_0x456f17[_0x937d1f(0x150)],_0x456f17['yNozb'](_0x456f17[_0x937d1f(0x11d)](_0x7970a6,0x1),0x28)),_0x456f17[_0x937d1f(0xd1)]),_0x456f17[_0x937d1f(0x168)](_0x7970a6,0x28))+_0x456f17[_0x937d1f(0xe5)],_0x39c45b),_0x456f17[_0x937d1f(0x167)])+_0x1264eb,_0x456f17[_0x937d1f(0xf3)],'',{'Cookie':_0x1bf2e2});_0x4a54a8['push'](_0x34a213);}for(let _0x5972a9=0x1;_0x456f17[_0x937d1f(0x135)](_0x5972a9,_0x3db3d0);_0x5972a9++){const _0x4f74f2=await _0x4a54a8[_0x5972a9];if(!_0x4f74f2?.[_0x937d1f(0x156)]||_0x4f74f2?.[_0x937d1f(0x127)]!==0x0||!_0x4f74f2?.[_0x937d1f(0x123)])continue;for(const _0x39f7b6 in _0x4f74f2['mems']){_0x4e9db6[_0x937d1f(0xdf)](_0x4f74f2[_0x937d1f(0x123)][_0x39f7b6]);}}}catch{return _0x4e9db6;}return _0x4e9db6;}static async[_0x553788(0xdd)](_0x42f3b1,_0x474065=''){const _0x59ce58=_0x553788,_0x32169b={'mQtYW':_0x59ce58(0x10e),'ovgMd':function(_0x1f9ce4,_0x14a340){return _0x1f9ce4+_0x14a340;},'fiapa':function(_0x2ff17e,_0xf60ad4){return _0x2ff17e+_0xf60ad4;},'phoEo':function(_0x537cf0,_0x44968d){return _0x537cf0+_0x44968d;},'CnVxQ':'p_skey=','aHNIn':_0x59ce58(0x12b),'JneiB':function(_0xbde2c1,_0x24f23b){return _0xbde2c1||_0x24f23b;},'kPexB':function(_0x20e8c7,_0x7b8f51){return _0x20e8c7+_0x7b8f51;},'wgwmY':function(_0x4a240c,_0x53679c){return _0x4a240c+_0x53679c;},'laXWP':function(_0x2ac2a1,_0x380ee1){return _0x2ac2a1+_0x380ee1;},'DcJyM':function(_0x19bd91,_0x1bba90){return _0x19bd91+_0x1bba90;},'POYAV':function(_0x337aa6,_0x2ea65d){return _0x337aa6+_0x2ea65d;},'GJeqp':'qid=','MIMUJ':'&bkn=','BbqFO':_0x59ce58(0x119),'PcZRe':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','ccmpN':_0x59ce58(0xef)},_0x1e638d=(await NTQQUserApi[_0x59ce58(0x149)]([_0x32169b['mQtYW']]))[_0x59ce58(0x131)]['get'](_0x59ce58(0x10e)),_0x45e1fd=await NTQQUserApi['getSkey'](),_0x1a512e=_0x32169b[_0x59ce58(0xe6)](_0x32169b['ovgMd'](_0x32169b['fiapa'](_0x32169b[_0x59ce58(0xe7)](_0x32169b['phoEo'](_0x32169b[_0x59ce58(0x129)],_0x1e638d),';\x20skey='),_0x45e1fd),_0x32169b[_0x59ce58(0x152)]),selfInfo[_0x59ce58(0x13e)]);let _0x57d87c=undefined;if(_0x32169b[_0x59ce58(0x115)](!_0x45e1fd,!_0x1e638d))return undefined;const _0x4b0615=WebApi[_0x59ce58(0xe0)](_0x45e1fd),_0x3e967f=_0x32169b['kPexB'](_0x32169b['wgwmY'](_0x32169b[_0x59ce58(0x122)](_0x32169b[_0x59ce58(0x14b)](_0x32169b[_0x59ce58(0xf1)](_0x32169b[_0x59ce58(0x139)]+_0x42f3b1,_0x32169b[_0x59ce58(0xeb)]),_0x4b0615),_0x32169b[_0x59ce58(0x134)]),_0x474065),_0x32169b['PcZRe']),_0x5cf938=_0x59ce58(0x148)+_0x4b0615;try{return _0x57d87c=await RequestUtil[_0x59ce58(0x158)](_0x5cf938,_0x32169b[_0x59ce58(0x112)],'',{'Cookie':_0x1a512e}),_0x57d87c;}catch(_0x5b0fc9){return undefined;}return undefined;}static async[_0x553788(0x138)](_0x2f8f71){const _0x3465c8=_0x553788,_0x243b76={'EGUwZ':function(_0xa82e1e,_0x189197){return _0xa82e1e+_0x189197;},'ZjVle':_0x3465c8(0xf9),'xWieE':';\x20skey=','NBekR':_0x3465c8(0x12b),'UlEtx':function(_0x4f1006,_0x337b8a){return _0x4f1006||_0x337b8a;},'CrSBV':function(_0x2e3b2b,_0x1b55ec){return _0x2e3b2b+_0x1b55ec;},'ehIzv':function(_0x4a55e5,_0x29980b){return _0x4a55e5+_0x29980b;},'UJMzZ':_0x3465c8(0x165),'ZAsOf':_0x3465c8(0x101),'KzEQT':'GET','rhTnD':function(_0x20401d,_0x2dc284){return _0x20401d!==_0x2dc284;}},_0xe8e842=(await NTQQUserApi[_0x3465c8(0x149)]([_0x3465c8(0x10e)]))[_0x3465c8(0x131)][_0x3465c8(0x13b)]('qun.qq.com'),_0x5eb160=await NTQQUserApi[_0x3465c8(0x14c)](),_0x202302=_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x102)],_0xe8e842)+_0x243b76['xWieE']+_0x5eb160+_0x243b76['NBekR'],selfInfo[_0x3465c8(0x13e)]);let _0x23018b=undefined;if(_0x243b76['UlEtx'](!_0x5eb160,!_0xe8e842))return undefined;const _0x561c90=WebApi[_0x3465c8(0xe0)](_0x5eb160),_0xe78dd7=_0x243b76[_0x3465c8(0x155)](_0x243b76['ehIzv'](_0x243b76[_0x3465c8(0x151)](_0x243b76[_0x3465c8(0x155)](_0x243b76[_0x3465c8(0x113)],_0x561c90),_0x243b76[_0x3465c8(0x12c)]),_0x2f8f71),_0x3465c8(0xc4));try{_0x23018b=await RequestUtil['HttpGetJson'](_0xe78dd7,_0x243b76[_0x3465c8(0x164)],'',{'Cookie':_0x202302});if(_0x243b76[_0x3465c8(0xed)](_0x23018b?.['ec'],0x0))return undefined;return _0x23018b;}catch(_0x1a0f5b){return undefined;}return undefined;}static['genBkn'](_0x46db8d){const _0x7c773=_0x553788,_0x5e271f={'RRISQ':function(_0x1f49af,_0x2cec63){return _0x1f49af+_0x2cec63;},'uMezn':function(_0x46ab4e,_0x9252e4){return _0x46ab4e+_0x9252e4;},'jiCVy':function(_0x5caa64,_0x6addd){return _0x5caa64<<_0x6addd;}};_0x46db8d=_0x46db8d||'';let _0x3d958b=0x1505;for(let _0x291087=0x0;_0x291087<_0x46db8d[_0x7c773(0xf2)];_0x291087++){const _0x4fe98f=_0x46db8d[_0x7c773(0x10b)](_0x291087);_0x3d958b=_0x5e271f[_0x7c773(0xd5)](_0x5e271f[_0x7c773(0xf8)](_0x3d958b,_0x5e271f['jiCVy'](_0x3d958b,0x5)),_0x4fe98f);}return(_0x3d958b&0x7fffffff)[_0x7c773(0xc9)]();}static async[_0x553788(0x12d)](_0x28c1a3,_0x1adde2){const _0x261ce0=_0x553788,_0x2d2bf8={'gJuPD':_0x261ce0(0x162),'Cvsyd':_0x261ce0(0x143),'HzelM':function(_0x18cdb5,_0x575e7a,_0x4a55f8,_0x19eba8){return _0x18cdb5(_0x575e7a,_0x4a55f8,_0x19eba8);},'DKRDI':_0x261ce0(0xde),'YjUht':_0x261ce0(0x10e),'UYmQD':function(_0x455267,_0x524219){return _0x455267||_0x524219;},'TPZRQ':function(_0x538a48,_0x1fb50){return _0x538a48+_0x1fb50;},'dECoA':function(_0x4281e2,_0x1a7a34){return _0x4281e2+_0x1a7a34;},'CqDyB':_0x261ce0(0xf9),'vbgqF':';\x20skey=','vSgKo':_0x261ce0(0x12b),'eiRGS':';\x20uin=o','BNALS':function(_0x252c77,_0x487327){return _0x252c77===_0x487327;},'zTajZ':function(_0x3212fa,_0x2aa7bf,_0x597628){return _0x3212fa(_0x2aa7bf,_0x597628);},'PMUVq':'获取龙王信息失败','WCYeg':function(_0x189086,_0x29d692){return _0x189086(_0x29d692);},'QDPON':function(_0x493527,_0x38b326){return _0x493527===_0x38b326;},'pXJkU':_0x261ce0(0x133),'DfAUu':'获取群聊炽焰失败','qjkui':function(_0x511f1f,_0x23f1aa,_0x47643f){return _0x511f1f(_0x23f1aa,_0x47643f);},'tLlzk':function(_0x206358,_0x2559b1,_0x64bf06){return _0x206358(_0x2559b1,_0x64bf06);},'YpvvJ':_0x261ce0(0x132),'ylbck':function(_0x2bd425,_0x166cd7,_0x3053a7){return _0x2bd425(_0x166cd7,_0x3053a7);},'CGtlU':function(_0x1e8000,_0x44927){return _0x1e8000===_0x44927;}},_0x344264=(await NTQQUserApi[_0x261ce0(0x149)]([_0x2d2bf8[_0x261ce0(0x103)]]))[_0x261ce0(0x131)][_0x261ce0(0x13b)](_0x2d2bf8['YjUht']),_0x1b0f44=await NTQQUserApi[_0x261ce0(0x14c)]();if(_0x2d2bf8[_0x261ce0(0xf6)](!_0x1b0f44,!_0x344264))return undefined;async function _0x4ba940(_0x51e2df,_0x3eea8f){const _0x3295cf=_0x261ce0;let _0x5c050a=_0x2d2bf8['gJuPD']+_0x51e2df+_0x2d2bf8[_0x3295cf(0x166)]+_0x3eea8f[_0x3295cf(0xc9)](),_0x1a71a8='',_0x3050a8;try{_0x1a71a8=await RequestUtil[_0x3295cf(0x145)](_0x5c050a,_0x3295cf(0xef),'',{'Cookie':_0x41059c});const _0x2eadfb=_0x1a71a8[_0x3295cf(0xca)](/window\.__INITIAL_STATE__=(.*?);/);return _0x2eadfb&&(_0x3050a8=JSON[_0x3295cf(0xd0)](_0x2eadfb[0x1][_0x3295cf(0x157)]())),_0x3eea8f===0x1?_0x3050a8?.[_0x3295cf(0x159)]:_0x3050a8?.[_0x3295cf(0xce)];}catch(_0x18ccd1){_0x2d2bf8[_0x3295cf(0x16a)](logDebug,_0x2d2bf8[_0x3295cf(0xff)],_0x5c050a,_0x18ccd1);}return undefined;}let _0x17a2f8={'group_id':_0x28c1a3};const _0x41059c=_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8['TPZRQ'](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8[_0x261ce0(0xdc)](_0x2d2bf8[_0x261ce0(0x14e)](_0x2d2bf8['CqDyB'],_0x344264),_0x2d2bf8[_0x261ce0(0x120)])+_0x1b0f44,_0x2d2bf8[_0x261ce0(0x109)]),selfInfo[_0x261ce0(0x13e)]),_0x2d2bf8[_0x261ce0(0xfe)]),selfInfo['uin']);if(_0x2d2bf8['BNALS'](_0x1adde2,WebHonorType['TALKACTIVE'])||_0x2d2bf8[_0x261ce0(0x100)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))try{let _0x1ed625=await _0x2d2bf8[_0x261ce0(0xd4)](_0x4ba940,_0x28c1a3,0x1);if(!_0x1ed625)throw new Error(_0x2d2bf8[_0x261ce0(0x126)]);_0x17a2f8[_0x261ce0(0x118)]={'user_id':_0x1ed625[0x0]?.[_0x261ce0(0x13e)],'avatar':_0x1ed625[0x0]?.[_0x261ce0(0x124)],'nickname':_0x1ed625[0x0]?.[_0x261ce0(0x153)],'day_count':0x0,'description':_0x1ed625[0x0]?.[_0x261ce0(0xc1)]},_0x17a2f8[_0x261ce0(0x13a)]=[];for(const _0x412a8a of _0x1ed625){_0x17a2f8['talkative_list'][_0x261ce0(0xdf)]({'user_id':_0x412a8a?.['uin'],'avatar':_0x412a8a?.[_0x261ce0(0x124)],'description':_0x412a8a?.['desc'],'day_count':0x0,'nickname':_0x412a8a?.['name']});}}catch(_0x6f1cf5){_0x2d2bf8[_0x261ce0(0x12f)](logDebug,_0x6f1cf5);}if(_0x2d2bf8[_0x261ce0(0x100)](_0x1adde2,WebHonorType[_0x261ce0(0x121)])||_0x2d2bf8[_0x261ce0(0xd6)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))try{let _0x3d2afd=await _0x2d2bf8[_0x261ce0(0xd4)](_0x4ba940,_0x28c1a3,0x2);if(!_0x3d2afd)throw new Error(_0x2d2bf8[_0x261ce0(0x117)]);_0x17a2f8[_0x261ce0(0xfb)]=[];for(const _0x4f6e89 of _0x3d2afd){_0x17a2f8[_0x261ce0(0xfb)]['push']({'user_id':_0x4f6e89?.['uin'],'nickname':_0x4f6e89?.[_0x261ce0(0x153)],'avatar':_0x4f6e89?.[_0x261ce0(0x124)],'description':_0x4f6e89?.[_0x261ce0(0xc1)]});}}catch(_0x465b5b){logDebug(_0x465b5b);}if(_0x2d2bf8['QDPON'](_0x1adde2,WebHonorType[_0x261ce0(0x121)])||_0x1adde2===WebHonorType['ALL'])try{let _0x344271=await _0x2d2bf8['zTajZ'](_0x4ba940,_0x28c1a3,0x3);if(!_0x344271)throw new Error(_0x2d2bf8[_0x261ce0(0x169)]);_0x17a2f8[_0x261ce0(0x111)]=[];for(const _0x33aa49 of _0x344271){_0x17a2f8['legend_list'][_0x261ce0(0xdf)]({'user_id':_0x33aa49?.['uin'],'nickname':_0x33aa49?.[_0x261ce0(0x153)],'avatar':_0x33aa49?.[_0x261ce0(0x124)],'desc':_0x33aa49?.[_0x261ce0(0x160)]});}}catch(_0x5772e2){_0x2d2bf8[_0x261ce0(0xee)](logDebug,_0x2d2bf8['DfAUu'],_0x5772e2);}if(_0x2d2bf8['QDPON'](_0x1adde2,WebHonorType[_0x261ce0(0xf7)])||_0x1adde2===WebHonorType[_0x261ce0(0x11c)])try{let _0x15979e=await _0x2d2bf8[_0x261ce0(0x130)](_0x4ba940,_0x28c1a3,0x6);if(!_0x15979e)throw new Error(_0x2d2bf8[_0x261ce0(0x15f)]);_0x17a2f8[_0x261ce0(0xe2)]=[];for(const _0x43c485 of _0x15979e){_0x17a2f8[_0x261ce0(0xe2)][_0x261ce0(0xdf)]({'user_id':_0x43c485?.[_0x261ce0(0x13e)],'nickname':_0x43c485?.[_0x261ce0(0x153)],'avatar':_0x43c485?.['avatar'],'desc':_0x43c485?.['description']});}}catch(_0x5a5062){_0x2d2bf8['ylbck'](logDebug,_0x2d2bf8[_0x261ce0(0x15f)],_0x5a5062);}return(_0x1adde2===WebHonorType[_0x261ce0(0xf7)]||_0x2d2bf8[_0x261ce0(0x15e)](_0x1adde2,WebHonorType[_0x261ce0(0x11c)]))&&(_0x17a2f8[_0x261ce0(0x10a)]=[]),_0x17a2f8;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,_0x553788(0xdb),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,_0x553788(0xc7),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x553788(0x140))],WebApi,_0x553788(0x12d),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 48febc842..2b0d78428 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x6b221c=_0x242d;function _0x242d(_0x158835,_0x27af1f){const _0x3b3b46=_0x3b3b();return _0x242d=function(_0x242de1,_0xcac24c){_0x242de1=_0x242de1-0xc4;let _0x3d65d6=_0x3b3b46[_0x242de1];return _0x3d65d6;},_0x242d(_0x158835,_0x27af1f);}(function(_0x226c36,_0x25a963){const _0x1d37e5=_0x242d,_0x3de561=_0x226c36();while(!![]){try{const _0x5e5d50=-parseInt(_0x1d37e5(0x145))/0x1+parseInt(_0x1d37e5(0x12a))/0x2*(-parseInt(_0x1d37e5(0xd1))/0x3)+parseInt(_0x1d37e5(0x11f))/0x4+-parseInt(_0x1d37e5(0xf6))/0x5+parseInt(_0x1d37e5(0xcc))/0x6+-parseInt(_0x1d37e5(0xda))/0x7*(-parseInt(_0x1d37e5(0xc6))/0x8)+parseInt(_0x1d37e5(0x162))/0x9;if(_0x5e5d50===_0x25a963)break;else _0x3de561['push'](_0x3de561['shift']());}catch(_0x3eeb7e){_0x3de561['push'](_0x3de561['shift']());}}}(_0x3b3b,0x8c68c));import _0x4d181f from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x212b69 from'node:path';import _0x55afc4 from'node:os';import _0x5e2c56 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';function _0x3b3b(){const _0x846b83=['HnbBI','qrLogin','onMemberInfoChange','hpuJR','NodeIDispatcherAdapter','onQRCodeSessionFailed','vtRmY','dataPath','initSession','dOsFI','vLFsx','\x20has\x20no\x20method\x20','isQuickLogin','OWRUM','quickLoginWithUin','forEach','init','getBuddyService','packet_received','startNT','1654948FoEdNC','quickLogin','fileLogLevel','tipsDesc','infos','WJLdJ','pngBase64QrcodeData','teyWb','cLJWr','proxyHandler','packet_sent','10kORvsk','getNTUserDataInfoConfig','createHash','CyQuy','快速登录不可用','initConfig','ALCAB','consoleLogLevel','IveNd','devUid','getLoginList','getGroupService','addKernelProfileListener','push','has','Wzvpf','groupCode','undefined','split','NodeIKernelGroupListener','./nt_qq/global','getQuickLoginList','addListener','getNextMemberList','Mjrgp','登录失败(onLoginFailed)','QhdyP','949694guBuET','addKernelGroupListener','LxEER','dataPathGlobal','digest',')已登录,无法重复登录','ProfileListener','now','loginErrorInfo','MRqlO','loginListener','tipsTitle','NodeIQQNTWrapperSession','NodeIKernelSessionListener','viNAn','name','onAddSendMsg','当前账号(','onRecvMsg','140022013','_GW_B','onQRCodeLoginSucceed','message_received','NodeIQQNTWrapperEngine','JkSSZ','没有可快速登录的QQ号','GroupListener','onRecvSysMsg','addKernelBuddyListener','6509250hQmhzU','mkdirSync','curVersion','PTQvl','errMsg','isDelete','onLineDev','BuddyListener','ZurVz','session','onLoginFailed','sceneId','gvUva','fileLog','uMvuH','NodeIKernelLoginService','last_message_time','NodeIKernelBuddyListener','initSession\x20failed','initDataListener','assign','then','nekGW','8hZcvjY','getQRCodePicture','uin','账号设备(','from','memberCount','3896844qWzJdL','clientType','resolve','read','TnxSi','29895uRZVEL','./NapCat/data','Windows\x2010\x20Pro','catch','uid','onProfileDetailInfoChanged','yhNju',')\x20在线状态变更','loginService','3472203bPQgEF','floor','onGroupListUpdate','nuAqK','waCRh','KMfCE','data:image/png;base64,','登录失败(onQRCodeSessionFailed)','Ypbdu','MsgListener','onLoginSuccessFuncList','base64','map','find','本账号数据/缓存目录:','rfeFd','set','lZrkQ','replace','iSXlC','util','CalBQ','buddyList','NodeQQNTWrapperUtil','QiRDQ','PJKNU','passwordLogin','getMsgService','3539275RcGHMS','NodeIKernelProfileListener','grpYj','PNrwF','message_sent','result','init\x20failed\x20','快速登录失败\x20','groupMemberList_MainWindow','qrcodeUrl','zmsDo','NQIjV','md5','ZwruN','WidoM','stringify','hRtQG','get','ALdBx','trVWH','engine'];_0x3b3b=function(){return _0x846b83;};return _0x3b3b();}import{sleep}from'@/common/utils/helper';import _0x1ee1f6 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x6b221c(0x16b)];['util'];[_0x6b221c(0x10a)];[_0x6b221c(0x14f)];[_0x6b221c(0xd9)];[_0x6b221c(0xe4)]=[];[_0x6b221c(0x128)]={'get'(target,prop,receiver){const _0x4a5e89=_0x6b221c,EzpIsi={'anmAQ':function(x,y){return x===y;},'yhNju':_0x4a5e89(0x13b)};if(EzpIsi['anmAQ'](typeof target[prop],EzpIsi[_0x4a5e89(0xd7)]))return(...args)=>{const _0x473b2b=_0x4a5e89;logDebug(target['constructor'][_0x473b2b(0x154)]+_0x473b2b(0x116)+prop);};return Reflect[_0x4a5e89(0x107)](target,prop,receiver);}};constructor(){const _0x5f040d=_0x6b221c,_0xe6978f={'vLFsx':_0x5f040d(0x14a),'PNrwF':function(_0x1561af,_0x3c7a47,_0x207a8d){return _0x1561af(_0x3c7a47,_0x207a8d);},'trVWH':_0x5f040d(0x174),'JkSSZ':'数据库初始化失败','dOsFI':function(_0x13d0cf,_0x4f861e){return _0x13d0cf instanceof _0x4f861e;},'SmagM':function(_0x2effcd,_0x431713){return _0x2effcd(_0x431713);},'PJKNU':function(_0x24df64,_0x2a5841){return _0x24df64(_0x2a5841);},'Mjrgp':_0x5f040d(0xe8),'KMfCE':function(_0xfdeb00,_0x571d1d,_0x353b45){return _0xfdeb00(_0x571d1d,_0x353b45);},'eQRlo':_0x5f040d(0xe1),'Wzvpf':function(_0x2dde13,_0x1af7c1){return _0x2dde13==_0x1af7c1;},'MMekc':_0x5f040d(0x143)};this['engine']=new _0x4d181f[(_0x5f040d(0x15c))](),this[_0x5f040d(0xee)]=new _0x4d181f[(_0x5f040d(0xf1))](),this[_0x5f040d(0xd9)]=new _0x4d181f[(_0x5f040d(0x171))](),this['session']=new _0x4d181f[(_0x5f040d(0x151))](),this[_0x5f040d(0x14f)]=new LoginListener(),this[_0x5f040d(0x14f)]['onUserLoggedIn']=_0x5ebbcb=>{const _0x5d5235=_0x5f040d;logError(_0x5d5235(0x156)+_0x5ebbcb+_0xe6978f[_0x5d5235(0x115)]);},this[_0x5f040d(0x12f)](),this[_0x5f040d(0x14f)][_0x5f040d(0x15a)]=_0x5d7fc6=>{const _0x5e8382=_0x5f040d,_0x25b806={'lZrkQ':function(_0x277991,_0x4bdaf5,_0x104088){return _0xe6978f['PNrwF'](_0x277991,_0x4bdaf5,_0x104088);},'KhNph':_0xe6978f[_0x5e8382(0x15d)],'CyQuy':function(_0x220c9a,_0x20ad91){const _0x1abad2=_0x5e8382;return _0xe6978f[_0x1abad2(0x114)](_0x220c9a,_0x20ad91);},'bvhef':function(_0x5a844a,_0x5a06d2){return _0xe6978f['SmagM'](_0x5a844a,_0x5a06d2);},'upvny':function(_0x4ef96a,_0xf274bb){const _0x15f69d=_0x5e8382;return _0xe6978f[_0x15f69d(0xf3)](_0x4ef96a,_0xf274bb);},'nuAqK':_0x5e8382(0xd2),'ALCAB':_0xe6978f[_0x5e8382(0x142)]};this[_0x5e8382(0x113)](_0x5d7fc6['uin'],_0x5d7fc6[_0x5e8382(0xd5)])[_0x5e8382(0xc4)](_0x39251a=>{const _0x14a5e1=_0x5e8382,_0x106944={'cLJWr':function(_0x30579f,_0x2576a2,_0x207a04){const _0x102bc4=_0x242d;return _0x25b806[_0x102bc4(0xeb)](_0x30579f,_0x2576a2,_0x207a04);},'LxEER':function(_0x25f744,_0x2b5759){const _0x5d774e=_0x242d;return _0x25b806[_0x5d774e(0x12d)](_0x25f744,_0x2b5759);}};selfInfo[_0x14a5e1(0xc8)]=_0x5d7fc6[_0x14a5e1(0xc8)],selfInfo[_0x14a5e1(0xd5)]=_0x5d7fc6[_0x14a5e1(0xd5)],napCatConfig[_0x14a5e1(0xcf)](),_0x25b806[_0x14a5e1(0xeb)](setLogLevel,napCatConfig[_0x14a5e1(0x121)],napCatConfig[_0x14a5e1(0x131)]),_0x25b806['bvhef'](enableFileLog,napCatConfig[_0x14a5e1(0x16f)]),_0x25b806['upvny'](enableConsoleLog,napCatConfig['consoleLog']),_0x25b806['bvhef'](setLogSelfInfo,selfInfo);const _0x23ecf0=_0x212b69[_0x14a5e1(0xce)](this['dataPath'],_0x25b806[_0x14a5e1(0xdd)]);_0x5e2c56[_0x14a5e1(0x163)](_0x23ecf0,{'recursive':!![]}),_0x25b806[_0x14a5e1(0xeb)](logDebug,_0x25b806[_0x14a5e1(0x130)],_0x23ecf0),dbUtil['init'](_0x212b69[_0x14a5e1(0xce)](_0x23ecf0,'./'+_0x5d7fc6[_0x14a5e1(0xc8)]+'-v2.db'))['then'](()=>{const _0x3561a1=_0x14a5e1,_0x57f0ce={'teyWb':function(_0x48220d,_0x6f22c4,_0x2dfd0d){const _0x177ef7=_0x242d;return _0x106944[_0x177ef7(0x127)](_0x48220d,_0x6f22c4,_0x2dfd0d);},'ZwruN':function(_0xba9748,_0x307d07){const _0x50c3d9=_0x242d;return _0x106944[_0x50c3d9(0x147)](_0xba9748,_0x307d07);}};this[_0x3561a1(0x175)](),this[_0x3561a1(0xe4)]['map'](_0x4fd78c=>{const _0x30398d=_0x3561a1;new Promise((_0xe36831,_0x3d6afe)=>{const _0x15ec50=_0x242d,_0x32da7f=_0x57f0ce[_0x15ec50(0x126)](_0x4fd78c,_0x5d7fc6[_0x15ec50(0xc8)],_0x5d7fc6[_0x15ec50(0xd5)]);_0x57f0ce[_0x15ec50(0x103)](_0x32da7f,Promise)&&_0x32da7f['then'](_0xe36831)[_0x15ec50(0xd4)](_0x3d6afe);})[_0x30398d(0xc4)]();});})[_0x14a5e1(0xd4)](_0x4f6f13=>{const _0x3f5b01=_0x14a5e1;_0x25b806[_0x3f5b01(0xeb)](logError,_0x25b806['KhNph'],_0x4f6f13);});})['catch'](_0x451d4b=>{const _0x374604=_0x5e8382;_0xe6978f[_0x374604(0xf9)](logError,_0xe6978f[_0x374604(0x109)],_0x451d4b);throw new Error('启动失败:\x20'+JSON[_0x374604(0x105)](_0x451d4b));});},this[_0x5f040d(0x14f)][_0x5f040d(0x110)]=(_0x5a9b01,_0x34f31f,_0xd272bd)=>{const _0x10f55c=_0x5f040d;_0xe6978f[_0x10f55c(0xdf)](logError,_0xe6978f['eQRlo'],_0xd272bd),_0x5a9b01==0x1&&_0xe6978f[_0x10f55c(0x139)](_0x34f31f,0x3)&&this['loginService'][_0x10f55c(0xc7)]();},this['loginListener'][_0x5f040d(0x16c)]=_0x595aa0=>{const _0x39af94=_0x5f040d;_0xe6978f[_0x39af94(0xf9)](logError,_0xe6978f['MMekc'],_0x595aa0);},this[_0x5f040d(0x14f)]=new Proxy(this[_0x5f040d(0x14f)],this[_0x5f040d(0x128)]),this[_0x5f040d(0xd9)]['addKernelLoginListener'](new _0x4d181f['NodeIKernelLoginListener'](this[_0x5f040d(0x14f)]));}get[_0x6b221c(0x112)](){const _0x406960=_0x6b221c,_0x4af767={'NQIjV':'./.config/QQ'};let _0x51375c=this[_0x406960(0xee)][_0x406960(0x12b)]();return!_0x51375c&&(_0x51375c=_0x212b69[_0x406960(0xce)](_0x55afc4['homedir'](),_0x4af767[_0x406960(0x101)]),_0x5e2c56['mkdirSync'](_0x51375c,{'recursive':!![]})),_0x51375c;}get['dataPathGlobal'](){const _0x412ed7=_0x6b221c,_0x1ac21d={'zmsDo':_0x412ed7(0x13e)};return _0x212b69['resolve'](this[_0x412ed7(0x112)],_0x1ac21d[_0x412ed7(0x100)]);}[_0x6b221c(0x12f)](){const _0x124f6b=_0x6b221c,_0x4d38e6={'MRqlO':_0x124f6b(0xd3)};this[_0x124f6b(0x10a)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x124f6b(0x164)],'os_version':_0x4d38e6[_0x124f6b(0x14e)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x124f6b(0x164)][_0x124f6b(0xec)]('-','_')+_0x124f6b(0x159),'global_path_config':{'desktopGlobalPath':this[_0x124f6b(0x148)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4d181f['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x124f6b(0x148)],'clientVer':qqVersionConfigInfo[_0x124f6b(0x164)],'hostName':hostname});}[_0x6b221c(0x113)](_0x1fe2fa,_0x1182b1){const _0x36c597={'IveNd':function(_0x4cb543,_0x1cda08){return _0x4cb543(_0x1cda08);},'WJLdJ':function(_0x382100,_0x33bc13,_0x8ed3d3,_0x16c0cc){return _0x382100(_0x33bc13,_0x8ed3d3,_0x16c0cc);},'WidoM':function(_0x1afca9,_0x370ab4){return _0x1afca9+_0x370ab4;}};return new Promise(async(_0x15d3ba,_0x20afe6)=>{const _0xf55f97=_0x242d,_0x110297={'ZurVz':function(_0x52158e,_0x5ae0e6){return _0x52158e===_0x5ae0e6;},'Ypbdu':function(_0xc29ef7,_0xf2b00){const _0x490226=_0x242d;return _0x36c597[_0x490226(0x132)](_0xc29ef7,_0xf2b00);}},_0x5139be=await _0x36c597[_0xf55f97(0x124)](genSessionConfig,_0x1fe2fa,_0x1182b1,this[_0xf55f97(0x112)]),_0xe0d369=new SessionListener();_0xe0d369['onSessionInitComplete']=_0x210c7b=>{const _0x4c8159=_0xf55f97;if(_0x110297[_0x4c8159(0x16a)](_0x210c7b,0x0))return _0x15d3ba(0x0);_0x110297[_0x4c8159(0xe2)](_0x20afe6,_0x210c7b);},this[_0xf55f97(0x16b)][_0xf55f97(0x11b)](_0x5139be,new _0x4d181f['NodeIDependsAdapter'](new DependsAdapter()),new _0x4d181f[(_0xf55f97(0x10f))](new DispatcherAdapter()),new _0x4d181f[(_0xf55f97(0x152))](_0xe0d369));try{this[_0xf55f97(0x16b)][_0xf55f97(0x11e)](0x0);}catch(_0x2da01e){try{this['session'][_0xf55f97(0x11e)]();}catch(_0x2576d4){_0x20afe6(_0x36c597[_0xf55f97(0x104)](_0xf55f97(0xfc),_0x2576d4));}}});}[_0x6b221c(0x175)](){const _0x5aaeab=_0x6b221c,_0x6906a6={'rfeFd':function(_0x3be6ff,_0x37ae2e){return _0x3be6ff(_0x37ae2e);},'drymS':_0x5aaeab(0xd8),'pFgHG':function(_0x47448c,_0x558977){return _0x47448c(_0x558977);},'QtQum':function(_0xe8faf2,_0x7f82d0){return _0xe8faf2+_0x7f82d0;},'SKtzD':function(_0xf6aa8,_0x29c053){return _0xf6aa8/_0x29c053;},'iSXlC':function(_0x389947,_0x31e9f9){return _0x389947===_0x31e9f9;},'QhdyP':_0x5aaeab(0xfe),'RMLyQ':function(_0x2c8ca3,_0x895a54,_0x28d817){return _0x2c8ca3(_0x895a54,_0x28d817);}},_0x460a6c=new MsgListener();_0x460a6c[_0x5aaeab(0x168)]=_0x1b2d07=>{const _0x35ac2e=_0x5aaeab,_0x4482ce={'hpuJR':function(_0x39a81a,_0x6d6efb){const _0x54ef84=_0x242d;return _0x6906a6[_0x54ef84(0xe9)](_0x39a81a,_0x6d6efb);},'hKyAX':function(_0x3bad19,_0x4c3f82){return _0x3bad19+_0x4c3f82;},'uMvuH':_0x6906a6['drymS']};_0x1b2d07[_0x35ac2e(0xe6)](_0x4c9312=>{const _0x45862c=_0x35ac2e;_0x4c9312[_0x45862c(0xcd)]===0x2&&_0x4482ce[_0x45862c(0x10e)](log,_0x4482ce['hKyAX'](_0x45862c(0xc9)+_0x4c9312[_0x45862c(0x133)],_0x4482ce[_0x45862c(0x170)]));});},_0x460a6c['onKickedOffLine']=_0xddca38=>{const _0x3b5b1f=_0x5aaeab;_0x6906a6['pFgHG'](log,_0x6906a6['QtQum']('[KickedOffLine]\x20[',_0xddca38[_0x3b5b1f(0x150)])+']\x20'+_0xddca38[_0x3b5b1f(0x122)]);},_0x460a6c[_0x5aaeab(0x155)]=_0x20f6bf=>{const _0x407c86=_0x5aaeab;stat[_0x407c86(0x129)]+=0x1,stat[_0x407c86(0xfa)]+=0x1,stat[_0x407c86(0x172)]=Math[_0x407c86(0xdb)](_0x6906a6['SKtzD'](Date[_0x407c86(0x14c)](),0x3e8));},_0x460a6c[_0x5aaeab(0x157)]=_0x14e079=>{const _0x44d742=_0x5aaeab;stat[_0x44d742(0x11d)]+=0x1,stat[_0x44d742(0x15b)]+=_0x14e079['length'],stat[_0x44d742(0x172)]=Math[_0x44d742(0xdb)](Date['now']()/0x3e8);},_0x460a6c[_0x5aaeab(0x160)]=(..._0x2bca1f)=>{const _0x1b9bf8=_0x5aaeab;stat[_0x1b9bf8(0x11d)]+=0x1;},this['addListener'](_0x460a6c);const _0x5e4c2b=new BuddyListener();_0x5e4c2b['onBuddyListChange']=_0x3ae2b5=>{const _0x5e070f=_0x5aaeab;rawFriends['length']=0x0,rawFriends[_0x5e070f(0x137)](..._0x3ae2b5);for(const _0x593c42 of _0x3ae2b5){for(const _0x30e44d of _0x593c42[_0x5e070f(0xf0)]){const _0x45dc61=friends[_0x5e070f(0x107)](_0x30e44d['uid']);_0x45dc61?Object['assign'](_0x45dc61,_0x30e44d):friends[_0x5e070f(0xea)](_0x30e44d[_0x5e070f(0xd5)],_0x30e44d);}}},this[_0x5aaeab(0x140)](_0x5e4c2b),this[_0x5aaeab(0x16b)][_0x5aaeab(0x11c)]()['getBuddyList'](!![])[_0x5aaeab(0xc4)](_0xbd2242=>{});const _0x621367=new ProfileListener();_0x621367[_0x5aaeab(0xd6)]=_0x48f651=>{const _0x40e11f=_0x5aaeab;_0x6906a6[_0x40e11f(0xed)](_0x48f651[_0x40e11f(0xd5)],selfInfo[_0x40e11f(0xd5)])&&Object[_0x40e11f(0x176)](selfInfo,_0x48f651);},_0x621367['onSelfStatusChanged']=_0x2a70c9=>{},this[_0x5aaeab(0x140)](_0x621367);const _0x34aab9=new GroupListener();_0x34aab9[_0x5aaeab(0xdc)]=(_0x2c8e96,_0x4364c8)=>{_0x4364c8['map'](_0x1069f9=>{const _0x29dcff=_0x242d,_0x47712e=groups[_0x29dcff(0x107)](_0x1069f9['groupCode']);_0x47712e&&_0x6906a6[_0x29dcff(0xed)](_0x1069f9[_0x29dcff(0xcb)],_0x47712e[_0x29dcff(0xcb)])?Object['assign'](_0x47712e,_0x1069f9):groups[_0x29dcff(0xea)](_0x1069f9[_0x29dcff(0x13a)],_0x1069f9);const _0x74585d=this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()['createMemberListScene'](_0x1069f9['groupCode'],_0x6906a6[_0x29dcff(0x144)]);this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()[_0x29dcff(0x141)](_0x74585d,undefined,0xbb8)[_0x29dcff(0xc4)](_0x1fb2ba=>{});});},_0x34aab9['onMemberListChange']=_0x593d87=>{const _0x4019a9=_0x5aaeab,_0x7a32bf=_0x593d87[_0x4019a9(0x16d)][_0x4019a9(0x13c)]('_')[0x0];if(groupMembers[_0x4019a9(0x138)](_0x7a32bf)){const _0x1a8e3c=groupMembers[_0x4019a9(0x107)](_0x7a32bf);_0x593d87['infos'][_0x4019a9(0x11a)]((_0x2163b2,_0x38cadd)=>{const _0x33514c=_0x4019a9,_0x2af4c9=_0x1a8e3c[_0x33514c(0x107)](_0x38cadd);_0x2af4c9?Object[_0x33514c(0x176)](_0x2af4c9,_0x2163b2):_0x1a8e3c[_0x33514c(0xea)](_0x38cadd,_0x2163b2);});}else groupMembers['set'](_0x7a32bf,_0x593d87[_0x4019a9(0x123)]);},_0x34aab9[_0x5aaeab(0x10d)]=(_0x19da14,_0x335bff,_0x4efedd)=>{const _0x558936=_0x5aaeab;_0x335bff===0x0&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])?.[_0x558936(0x167)]&&_0x6906a6['RMLyQ'](setTimeout,()=>{groups['delete'](_0x19da14);},0x1388);const _0x42a2ad=groupMembers['get'](_0x19da14);_0x42a2ad?_0x4efedd['forEach']((_0x2f19fe,_0x5393cf)=>{const _0x5eeec5=_0x558936,_0x453cf3=_0x42a2ad[_0x5eeec5(0x107)](_0x5393cf);_0x453cf3?Object[_0x5eeec5(0x176)](_0x453cf3,_0x2f19fe):_0x42a2ad[_0x5eeec5(0xea)](_0x5393cf,_0x2f19fe);}):groupMembers[_0x558936(0xea)](_0x19da14,_0x4efedd);},this['addListener'](_0x34aab9);}[_0x6b221c(0x140)](_0xed1c11){const _0x5b696b=_0x6b221c,_0x565b73={'cxzdZ':_0x5b696b(0x169),'gvUva':_0x5b696b(0xe3),'viNAn':_0x5b696b(0x14b)};_0xed1c11=new Proxy(_0xed1c11,this[_0x5b696b(0x128)]);switch(_0xed1c11['constructor']['name']){case _0x565b73['cxzdZ']:{return this[_0x5b696b(0x16b)]['getBuddyService']()[_0x5b696b(0x161)](new _0x4d181f[(_0x5b696b(0x173))](_0xed1c11));}case _0x5b696b(0x15f):{return this[_0x5b696b(0x16b)]['getGroupService']()[_0x5b696b(0x146)](new _0x4d181f[(_0x5b696b(0x13d))](_0xed1c11));}case _0x565b73[_0x5b696b(0x16e)]:{return this['session'][_0x5b696b(0xf5)]()['addKernelMsgListener'](new _0x4d181f['NodeIKernelMsgListener'](_0xed1c11));}case _0x565b73[_0x5b696b(0x153)]:{return this['session']['getProfileService']()[_0x5b696b(0x136)](new _0x4d181f[(_0x5b696b(0xf7))](_0xed1c11));}default:return-0x1;}}['onLoginSuccess'](_0x3f52ce){const _0x58e58b=_0x6b221c;NTEventDispatch[_0x58e58b(0x11b)]({'ListenerMap':_0x4d181f,'WrapperSession':this[_0x58e58b(0x16b)]}),this[_0x58e58b(0xe4)][_0x58e58b(0x137)](_0x3f52ce);}async[_0x6b221c(0x120)](_0x1f5787){const _0x52d521=_0x6b221c,_0x174496={'CalBQ':function(_0x578775,_0x8103af){return _0x578775!==_0x8103af;},'TnxSi':_0x52d521(0x15e),'vtRmY':function(_0xb8cea9,_0xc9cce5){return _0xb8cea9(_0xc9cce5);},'ysyiG':function(_0x2e9ea8,_0x1dc260){return _0x2e9ea8+_0x1dc260;},'WrdNl':_0x52d521(0xfd)},_0x32d12b=await this[_0x52d521(0xd9)]['getLoginList']();if(_0x174496[_0x52d521(0xef)](_0x32d12b[_0x52d521(0xfb)],0x0))throw new Error(_0x174496[_0x52d521(0xd0)]);const _0x31cc88=_0x32d12b['LocalLoginInfoList'][_0x52d521(0xe7)](_0x825e26=>_0x825e26[_0x52d521(0xc8)]===_0x1f5787);if(!_0x31cc88||!_0x31cc88?.[_0x52d521(0x117)])throw new Error(_0x1f5787+_0x52d521(0x12e));await _0x174496[_0x52d521(0x111)](sleep,0x3e8);const _0x159aa0=await this[_0x52d521(0xd9)][_0x52d521(0x119)](_0x1f5787);if(!_0x159aa0[_0x52d521(0xfb)])throw new Error(_0x174496['ysyiG'](_0x174496['WrdNl'],_0x159aa0[_0x52d521(0x14d)][_0x52d521(0x166)]));return _0x159aa0;}async[_0x6b221c(0x10c)](_0x5909d8){const _0x40f642=_0x6b221c,_0x362acb={'ALdBx':_0x40f642(0xe0),'nekGW':_0x40f642(0xe5)};return new Promise((_0x30a118,_0xcf9508)=>{const _0x45eaeb=_0x40f642,_0x333c5c={'QiRDQ':_0x362acb[_0x45eaeb(0x108)],'waCRh':_0x362acb[_0x45eaeb(0xc5)],'hRtQG':function(_0x5bd555,_0x45157c,_0x265a91,_0x3bec5b){return _0x5bd555(_0x45157c,_0x265a91,_0x3bec5b);}};this[_0x45eaeb(0x14f)]['onQRCodeGetPicture']=_0x2f511f=>{const _0x3e993c=_0x45eaeb,_0xc15a48=_0x2f511f[_0x3e993c(0x125)][_0x3e993c(0x13c)](_0x333c5c[_0x3e993c(0xf2)])[0x1],_0x1b2ada=Buffer[_0x3e993c(0xca)](_0xc15a48,_0x333c5c[_0x3e993c(0xde)]);_0x333c5c[_0x3e993c(0x106)](_0x5909d8,_0x2f511f[_0x3e993c(0xff)],_0x2f511f[_0x3e993c(0x125)],_0x1b2ada);},this[_0x45eaeb(0xd9)]['getQRCodePicture']();});}async[_0x6b221c(0xf4)](_0x373d09,_0x34cd49,_0x193eb2,_0x5ef72e,_0x141eba){const _0x2fc017=_0x6b221c,_0x10621d={'pqOMS':_0x2fc017(0x102),'OWRUM':'hex','grpYj':function(_0x4f30a8,_0x443c8b){return _0x4f30a8||_0x443c8b;},'OxXsF':function(_0x450efc,_0x5e2315){return _0x450efc||_0x5e2315;},'PTQvl':function(_0x12616a,_0x4611f1){return _0x12616a(_0x4611f1);},'HnbBI':'140022008'},_0x471bb7=_0x1ee1f6[_0x2fc017(0x12c)](_0x10621d['pqOMS'])['update'](_0x34cd49)[_0x2fc017(0x149)](_0x10621d[_0x2fc017(0x118)]),_0x391793={'uin':_0x373d09,'passwordMd5':_0x471bb7,'step':_0x193eb2&&_0x5ef72e&&_0x141eba?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x10621d[_0x2fc017(0xf8)](_0x193eb2,''),'proofWaterRand':_0x5ef72e||'','proofWaterSid':_0x10621d['OxXsF'](_0x141eba,'')};await this[_0x2fc017(0xd9)][_0x2fc017(0x134)](),await _0x10621d[_0x2fc017(0x165)](sleep,0x3e8);const _0x4e268a=await this[_0x2fc017(0xd9)][_0x2fc017(0xf4)](_0x391793);switch(_0x4e268a['result']){case'0':{break;}case _0x10621d[_0x2fc017(0x10b)]:{break;}case'4':case _0x2fc017(0x158):default:}}async[_0x6b221c(0x13f)](){const _0x260494=_0x6b221c,_0x33b12a=await this['loginService'][_0x260494(0x134)]();return _0x33b12a;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x29a279=_0x4447;(function(_0x20b136,_0x16786b){const _0x34e446=_0x4447,_0x14b94b=_0x20b136();while(!![]){try{const _0x20206a=parseInt(_0x34e446(0x92))/0x1*(-parseInt(_0x34e446(0xe6))/0x2)+-parseInt(_0x34e446(0xe1))/0x3*(parseInt(_0x34e446(0xc6))/0x4)+-parseInt(_0x34e446(0x112))/0x5*(-parseInt(_0x34e446(0xb9))/0x6)+-parseInt(_0x34e446(0x140))/0x7*(parseInt(_0x34e446(0xb3))/0x8)+parseInt(_0x34e446(0xed))/0x9*(parseInt(_0x34e446(0x9f))/0xa)+parseInt(_0x34e446(0x134))/0xb*(parseInt(_0x34e446(0xe8))/0xc)+parseInt(_0x34e446(0x8d))/0xd;if(_0x20206a===_0x16786b)break;else _0x14b94b['push'](_0x14b94b['shift']());}catch(_0x21425d){_0x14b94b['push'](_0x14b94b['shift']());}}}(_0x24b2,0xe755f));import _0x142ec5 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5de221 from'node:path';import _0x39b742 from'node:os';import _0x40a640 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x24b2(){const _0x562e8e=['fWzGz','psOBO','getNTUserDataInfoConfig','qkLgq','read','getBuddyService','get','ThgjH','onQRCodeSessionFailed','bLFNA','initDataListener','data:image/png;base64,','map','onMemberListChange','ooRsI','onLoginFailed','1255ogVEBX','onProfileDetailInfoChanged','CEIaj','HRsIJ','packet_sent','init','packet_received','memberCount','getQRCodePicture','engine','length','YOSAu','onMemberInfoChange','tVKVG','Windows\x2010\x20Pro','[KickedOffLine]\x20[','-v2.db','getGroupService','./.config/QQ','登录失败(onQRCodeSessionFailed)','sceneId','update','fileLog','CpZAG','PlYzX','has','dYLKE','find','set','proxyHandler','WMoKT','OlPnA','TusiZ','eUEHq','2956899tcLVEx','initSession','LiPEs','floor','addKernelProfileListener','GroupListener','xMHfv','resolve','ProfileListener','delete','GXRhF','NodeIQQNTWrapperEngine','8687tWYFPg','onRecvSysMsg','NodeIGlobalAdapter','noIKi','NodeIKernelGroupListener','uid','name','getMsgService','infos','WsBlK','NodeIKernelLoginService','startNT','base64','36813738YlEOTE','YyDBc','NodeIKernelMsgListener','curVersion','dataPath','176036sdPfSj','qKvXZ','addKernelLoginListener','then','PacBe','uin','consoleLog','onQRCodeGetPicture','getProfileService','clientType','initConfig','vwVTd','tipsDesc','13786730JElMFN','errMsg','chTYU','pngBase64QrcodeData','groupCode','devUid','140022013','passwordLogin','xqxRG','init\x20failed\x20','result','BuddyListener','NodeIDispatcherAdapter','SMCjT','message_received','loginService','fileLogLevel','_GW_B','keFbD','split','7640RQGEdp','NodeIKernelLoginListener','tosBa','onRecvMsg','./NapCat/data','qrcodeUrl','498BGNhzo','./nt_qq/global','quickLogin','createMemberListScene','XErcn','onSelfStatusChanged','PbssZ','onSessionInitComplete','HQknG','addKernelGroupListener','initWithDeskTopConfig','addKernelBuddyListener','NodeIQQNTWrapperSession','27492ZcKvxt','\x20has\x20no\x20method\x20','last_message_time','onGroupListUpdate','qrLogin','addListener','now','uRaKa','catch','zHsMN','DKFGD','onLoginSuccess','quickLoginWithUin','md5','buddyList','账号设备(','WuroQ','onLoginSuccessFuncList','Wznpg','Tvfzp','onBuddyListChange','nrEpQ','IZHan','没有可快速登录的QQ号','digest','getLoginList','启动失败:\x20','807AqVuJu','hex','140022008','NodeQQNTWrapperUtil','getNextMemberList','12POWEJE','onUserLoggedIn','36XfAHxF','onQRCodeLoginSucceed','util','LocalLoginInfoList','V1_WIN_NQ_','9VPLvVB','MenjB','BcmJg','loginErrorInfo','ZBcOe','session','isQuickLogin','loginListener','NodeIDependsAdapter','ckffR','replace','createHash','message_sent','MANsi','RlrfK','forEach','本账号数据/缓存目录:','vNWaE','mkdirSync','assign','dataPathGlobal'];_0x24b2=function(){return _0x562e8e;};return _0x24b2();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1ef7bc from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x4447(_0x2d2aa2,_0x3940cf){const _0x24b246=_0x24b2();return _0x4447=function(_0x4447ae,_0x1a64a2){_0x4447ae=_0x4447ae-0x89;let _0x2a51ec=_0x24b246[_0x4447ae];return _0x2a51ec;},_0x4447(_0x2d2aa2,_0x3940cf);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x29a279(0xf2)];[_0x29a279(0xea)];[_0x29a279(0x11b)];['loginListener'];[_0x29a279(0xae)];[_0x29a279(0xd7)]=[];[_0x29a279(0x12f)]={'get'(target,prop,receiver){const _0x27c388=_0x29a279,WiDybT={'ZBcOe':function(x,y){return x===y;}};if(WiDybT[_0x27c388(0xf1)](typeof target[prop],'undefined'))return(...args)=>{const _0x220499=_0x27c388;logDebug(target['constructor'][_0x220499(0x146)]+_0x220499(0xc7)+prop);};return Reflect[_0x27c388(0x108)](target,prop,receiver);}};constructor(){const _0x1f729f=_0x29a279,_0x36a138={'PacBe':function(_0x4d7129,_0x73619a){return _0x4d7129(_0x73619a);},'AfwhA':function(_0xea1b5,_0x4b3959){return _0xea1b5+_0x4b3959;},'ooRsI':'当前账号(','LKswZ':')已登录,无法重复登录','tosBa':function(_0x2aadcd,_0x134ff6,_0x2e60ab){return _0x2aadcd(_0x134ff6,_0x2e60ab);},'TusiZ':'initSession\x20failed','SMCjT':function(_0x5606c7,_0x4eb0be){return _0x5606c7 instanceof _0x4eb0be;},'ThgjH':'数据库初始化失败','WMoKT':function(_0x1a2a81,_0x3d5f55){return _0x1a2a81(_0x3d5f55);},'PbssZ':function(_0x5bfe32,_0x141d6d,_0x2395b3){return _0x5bfe32(_0x141d6d,_0x2395b3);},'QwKXj':_0x1f729f(0x125),'GXRhF':function(_0x227ee6,_0x18acb9){return _0x227ee6==_0x18acb9;},'WuroQ':function(_0x40c4c4,_0x2f189e){return _0x40c4c4==_0x2f189e;},'bZPUQ':'登录失败(onLoginFailed)'};this[_0x1f729f(0x11b)]=new _0x142ec5[(_0x1f729f(0x13f))](),this[_0x1f729f(0xea)]=new _0x142ec5[(_0x1f729f(0xe4))](),this[_0x1f729f(0xae)]=new _0x142ec5[(_0x1f729f(0x8a))](),this['session']=new _0x142ec5[(_0x1f729f(0xc5))](),this[_0x1f729f(0xf4)]=new LoginListener(),this['loginListener'][_0x1f729f(0xe7)]=_0x1a26c4=>{const _0xd0ec64=_0x1f729f;_0x36a138[_0xd0ec64(0x96)](logError,_0x36a138['AfwhA'](_0x36a138['AfwhA'](_0x36a138[_0xd0ec64(0x110)],_0x1a26c4),_0x36a138['LKswZ']));},this[_0x1f729f(0x9c)](),this[_0x1f729f(0xf4)][_0x1f729f(0xe9)]=_0x807fdf=>{const _0x22e112=_0x1f729f,_0x2ec696={'RlrfK':function(_0x2dfdaa,_0x5d0adb,_0x30ffdf){const _0x4fae9c=_0x4447;return _0x36a138[_0x4fae9c(0xb5)](_0x2dfdaa,_0x5d0adb,_0x30ffdf);},'fWzGz':function(_0x365c17,_0x268037){const _0x38c717=_0x4447;return _0x36a138[_0x38c717(0xac)](_0x365c17,_0x268037);},'uRaKa':_0x36a138[_0x22e112(0x109)],'eUEHq':function(_0x5571ac,_0x492cc8){const _0x59e564=_0x22e112;return _0x36a138[_0x59e564(0x130)](_0x5571ac,_0x492cc8);},'ckffR':_0x22e112(0xb7)};this[_0x22e112(0x135)](_0x807fdf[_0x22e112(0x97)],_0x807fdf['uid'])[_0x22e112(0x95)](_0xacb1ac=>{const _0x393d82=_0x22e112;selfInfo[_0x393d82(0x97)]=_0x807fdf['uin'],selfInfo[_0x393d82(0x145)]=_0x807fdf[_0x393d82(0x145)],napCatConfig[_0x393d82(0x106)](),_0x2ec696['RlrfK'](setLogLevel,napCatConfig[_0x393d82(0xaf)],napCatConfig['consoleLogLevel']),_0x2ec696[_0x393d82(0x133)](enableFileLog,napCatConfig[_0x393d82(0x128)]),_0x2ec696[_0x393d82(0x133)](enableConsoleLog,napCatConfig[_0x393d82(0x98)]),_0x2ec696['eUEHq'](setLogSelfInfo,selfInfo);const _0x5763df=_0x5de221[_0x393d82(0x13b)](this['dataPath'],_0x2ec696[_0x393d82(0xf6)]);_0x40a640[_0x393d82(0xff)](_0x5763df,{'recursive':!![]}),_0x2ec696[_0x393d82(0xfb)](logDebug,_0x393d82(0xfd),_0x5763df),dbUtil[_0x393d82(0x117)](_0x5de221[_0x393d82(0x13b)](_0x5763df,'./'+_0x807fdf[_0x393d82(0x97)]+_0x393d82(0x122)))[_0x393d82(0x95)](()=>{const _0x1cfd69=_0x393d82,_0x29b656={'DKFGD':function(_0x23777b,_0x6c8543,_0x2044ba){const _0x1dc61e=_0x4447;return _0x2ec696[_0x1dc61e(0xfb)](_0x23777b,_0x6c8543,_0x2044ba);},'dYLKE':function(_0x380d19,_0x5e6e23){const _0x27ed04=_0x4447;return _0x2ec696[_0x27ed04(0x102)](_0x380d19,_0x5e6e23);}};this['initDataListener'](),this[_0x1cfd69(0xd7)]['map'](_0x576e90=>{const _0x5868f5=_0x1cfd69,_0xf3ba34={'vwVTd':function(_0x5c9149,_0x412186,_0x45a809){const _0x59a905=_0x4447;return _0x29b656[_0x59a905(0xd0)](_0x5c9149,_0x412186,_0x45a809);},'WsBlK':function(_0x1d8ae7,_0x42b678){const _0x332b8a=_0x4447;return _0x29b656[_0x332b8a(0x12c)](_0x1d8ae7,_0x42b678);}};new Promise((_0xbca407,_0x18d46d)=>{const _0x42dab1=_0x4447,_0x32aa70=_0xf3ba34[_0x42dab1(0x9d)](_0x576e90,_0x807fdf['uin'],_0x807fdf[_0x42dab1(0x145)]);_0xf3ba34[_0x42dab1(0x89)](_0x32aa70,Promise)&&_0x32aa70[_0x42dab1(0x95)](_0xbca407)[_0x42dab1(0xce)](_0x18d46d);})[_0x5868f5(0x95)]();});})[_0x393d82(0xce)](_0x47ae62=>{const _0x5aeb56=_0x393d82;_0x2ec696[_0x5aeb56(0xfb)](logError,_0x2ec696[_0x5aeb56(0xcd)],_0x47ae62);});})['catch'](_0xc3e93=>{const _0x369ccb=_0x22e112;_0x36a138[_0x369ccb(0xb5)](logError,_0x36a138[_0x369ccb(0x132)],_0xc3e93);throw new Error(_0x369ccb(0xe0)+JSON['stringify'](_0xc3e93));});},this[_0x1f729f(0xf4)][_0x1f729f(0x10a)]=(_0xb334cb,_0x2b9419,_0xa29cfb)=>{const _0xb6f3b6=_0x1f729f;_0x36a138['PbssZ'](logError,_0x36a138['QwKXj'],_0xa29cfb),_0x36a138[_0xb6f3b6(0x13e)](_0xb334cb,0x1)&&_0x36a138[_0xb6f3b6(0xd6)](_0x2b9419,0x3)&&this[_0xb6f3b6(0xae)][_0xb6f3b6(0x11a)]();},this[_0x1f729f(0xf4)][_0x1f729f(0x111)]=_0x1c3fb9=>{const _0x10626=_0x1f729f;_0x36a138[_0x10626(0xbf)](logError,_0x36a138['bZPUQ'],_0x1c3fb9);},this[_0x1f729f(0xf4)]=new Proxy(this['loginListener'],this['proxyHandler']),this[_0x1f729f(0xae)][_0x1f729f(0x94)](new _0x142ec5[(_0x1f729f(0xb4))](this[_0x1f729f(0xf4)]));}get[_0x29a279(0x91)](){const _0x2debaf=_0x29a279,_0x3b8c7d={'nrEpQ':_0x2debaf(0x124)};let _0xe41795=this[_0x2debaf(0xea)][_0x2debaf(0x104)]();return!_0xe41795&&(_0xe41795=_0x5de221['resolve'](_0x39b742['homedir'](),_0x3b8c7d[_0x2debaf(0xdb)]),_0x40a640['mkdirSync'](_0xe41795,{'recursive':!![]})),_0xe41795;}get[_0x29a279(0x101)](){const _0xa13341=_0x29a279,_0x5028f0={'MTuGd':_0xa13341(0xba)};return _0x5de221['resolve'](this['dataPath'],_0x5028f0['MTuGd']);}[_0x29a279(0x9c)](){const _0x401999=_0x29a279,_0x746f4b={'MenjB':_0x401999(0x120)};this[_0x401999(0x11b)][_0x401999(0xc3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x746f4b[_0x401999(0xee)],'use_xlog':!![],'qua':_0x401999(0xec)+qqVersionConfigInfo[_0x401999(0x90)][_0x401999(0xf7)]('-','_')+_0x401999(0xb0),'global_path_config':{'desktopGlobalPath':this[_0x401999(0x101)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x142ec5[(_0x401999(0x142))](new GlobalAdapter())),this[_0x401999(0xae)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x401999(0x101)],'clientVer':qqVersionConfigInfo[_0x401999(0x90)],'hostName':hostname});}['initSession'](_0x5e3f70,_0x192a03){const _0x43adce={'bLFNA':function(_0x3a2ba4,_0x47079b){return _0x3a2ba4===_0x47079b;},'BcmJg':function(_0x18ae23,_0x3dc8ca){return _0x18ae23(_0x3dc8ca);},'xgaRw':function(_0x2cdfb4,_0x39f68c,_0x2cffb8,_0x35b68b){return _0x2cdfb4(_0x39f68c,_0x2cffb8,_0x35b68b);},'LiPEs':function(_0x15eff0,_0x36386c){return _0x15eff0+_0x36386c;}};return new Promise(async(_0x387ae4,_0x3832f5)=>{const _0x1825a2=_0x4447,_0x5f15a2=await _0x43adce['xgaRw'](genSessionConfig,_0x5e3f70,_0x192a03,this[_0x1825a2(0x91)]),_0x4ce683=new SessionListener();_0x4ce683[_0x1825a2(0xc0)]=_0x445981=>{const _0x544372=_0x1825a2;if(_0x43adce[_0x544372(0x10b)](_0x445981,0x0))return _0x43adce[_0x544372(0xef)](_0x387ae4,0x0);_0x43adce[_0x544372(0xef)](_0x3832f5,_0x445981);},this[_0x1825a2(0xf2)][_0x1825a2(0x117)](_0x5f15a2,new _0x142ec5[(_0x1825a2(0xf5))](new DependsAdapter()),new _0x142ec5[(_0x1825a2(0xab))](new DispatcherAdapter()),new _0x142ec5['NodeIKernelSessionListener'](_0x4ce683));try{this[_0x1825a2(0xf2)]['startNT'](0x0);}catch(_0x14981f){try{this[_0x1825a2(0xf2)][_0x1825a2(0x8b)]();}catch(_0x113280){_0x3832f5(_0x43adce[_0x1825a2(0x136)](_0x1825a2(0xa8),_0x113280));}}});}[_0x29a279(0x10c)](){const _0x19f0da=_0x29a279,_0x25d286={'qLdZA':function(_0x43b773,_0x54595b){return _0x43b773===_0x54595b;},'fSAkY':function(_0x5912b1,_0x17329c){return _0x5912b1(_0x17329c);},'HRsIJ':function(_0x23772e,_0x5270f3){return _0x23772e+_0x5270f3;},'IZHan':function(_0x4e604f,_0x4848a9){return _0x4e604f+_0x4848a9;},'sjBSE':function(_0x4d9c13,_0x16a0a7){return _0x4d9c13+_0x16a0a7;},'CEIaj':_0x19f0da(0x121),'xqxRG':function(_0x194d19,_0x3054ae){return _0x194d19/_0x3054ae;},'xMHfv':function(_0x51c9e6,_0x393cff){return _0x51c9e6===_0x393cff;},'UfLMM':function(_0x3a866d,_0x4db620){return _0x3a866d===_0x4db620;},'PlYzX':function(_0x16a00f,_0x1abe86,_0x417bec){return _0x16a00f(_0x1abe86,_0x417bec);}},_0x4eb36f=new MsgListener();_0x4eb36f['onLineDev']=_0x2f35eb=>{const _0x13bad9=_0x19f0da,_0x5e5475={'qkLgq':function(_0x3039e0,_0xc3a5d8){return _0x25d286['qLdZA'](_0x3039e0,_0xc3a5d8);},'Tvfzp':function(_0x5be3a8,_0xc88e11){return _0x25d286['fSAkY'](_0x5be3a8,_0xc88e11);},'YyDBc':function(_0x4cb66b,_0x4f51cd){const _0x509b26=_0x4447;return _0x25d286[_0x509b26(0x115)](_0x4cb66b,_0x4f51cd);},'PZvPx':_0x13bad9(0xd5),'qKvXZ':')\x20在线状态变更'};_0x2f35eb[_0x13bad9(0x10e)](_0x418751=>{const _0x8bbcc6=_0x13bad9;_0x5e5475[_0x8bbcc6(0x105)](_0x418751[_0x8bbcc6(0x9b)],0x2)&&_0x5e5475[_0x8bbcc6(0xd9)](log,_0x5e5475[_0x8bbcc6(0x8e)](_0x5e5475['PZvPx'],_0x418751[_0x8bbcc6(0xa4)])+_0x5e5475[_0x8bbcc6(0x93)]);});},_0x4eb36f['onKickedOffLine']=_0x3074e5=>{const _0x306a23=_0x19f0da;_0x25d286['fSAkY'](log,_0x25d286[_0x306a23(0xdc)](_0x25d286['sjBSE'](_0x25d286[_0x306a23(0x114)],_0x3074e5['tipsTitle'])+']\x20',_0x3074e5[_0x306a23(0x9e)]));},_0x4eb36f['onAddSendMsg']=_0x43ea89=>{const _0x3cb041=_0x19f0da;stat[_0x3cb041(0x116)]+=0x1,stat[_0x3cb041(0xf9)]+=0x1,stat[_0x3cb041(0xc8)]=Math['floor'](_0x25d286[_0x3cb041(0xa7)](Date[_0x3cb041(0xcc)](),0x3e8));},_0x4eb36f[_0x19f0da(0xb6)]=_0x41cb79=>{const _0x3269c6=_0x19f0da;stat[_0x3269c6(0x118)]+=0x1,stat[_0x3269c6(0xad)]+=_0x41cb79[_0x3269c6(0x11c)],stat[_0x3269c6(0xc8)]=Math[_0x3269c6(0x137)](Date[_0x3269c6(0xcc)]()/0x3e8);},_0x4eb36f[_0x19f0da(0x141)]=(..._0x5156c2)=>{const _0x2b09fe=_0x19f0da;stat[_0x2b09fe(0x118)]+=0x1;},this['addListener'](_0x4eb36f);const _0x55073e=new BuddyListener();_0x55073e[_0x19f0da(0xda)]=_0x45b9ed=>{const _0x248ad1=_0x19f0da;rawFriends[_0x248ad1(0x11c)]=0x0,rawFriends['push'](..._0x45b9ed);for(const _0x3482ce of _0x45b9ed){for(const _0x152240 of _0x3482ce[_0x248ad1(0xd4)]){const _0xd3a2d9=friends['get'](_0x152240[_0x248ad1(0x145)]);_0xd3a2d9?Object[_0x248ad1(0x100)](_0xd3a2d9,_0x152240):friends[_0x248ad1(0x12e)](_0x152240[_0x248ad1(0x145)],_0x152240);}}},this[_0x19f0da(0xcb)](_0x55073e),this[_0x19f0da(0xf2)][_0x19f0da(0x107)]()['getBuddyList'](!![])['then'](_0x23a0d4=>{});const _0x427f5e=new ProfileListener();_0x427f5e[_0x19f0da(0x113)]=_0x56514c=>{const _0x3c6913=_0x19f0da;_0x25d286[_0x3c6913(0x13a)](_0x56514c[_0x3c6913(0x145)],selfInfo[_0x3c6913(0x145)])&&Object[_0x3c6913(0x100)](selfInfo,_0x56514c);},_0x427f5e[_0x19f0da(0xbe)]=_0x169966=>{},this[_0x19f0da(0xcb)](_0x427f5e);const _0x5b137e=new GroupListener();_0x5b137e[_0x19f0da(0xc9)]=(_0x323c93,_0xa528a6)=>{const _0xd8157f=_0x19f0da;_0xa528a6[_0xd8157f(0x10e)](_0x4a6252=>{const _0x214eb9=_0xd8157f,_0x2ae916=groups[_0x214eb9(0x108)](_0x4a6252[_0x214eb9(0xa3)]);_0x2ae916&&_0x25d286[_0x214eb9(0x13a)](_0x4a6252[_0x214eb9(0x119)],_0x2ae916[_0x214eb9(0x119)])?Object['assign'](_0x2ae916,_0x4a6252):groups[_0x214eb9(0x12e)](_0x4a6252[_0x214eb9(0xa3)],_0x4a6252);const _0x30a769=this[_0x214eb9(0xf2)]['getGroupService']()[_0x214eb9(0xbc)](_0x4a6252[_0x214eb9(0xa3)],'groupMemberList_MainWindow');this[_0x214eb9(0xf2)][_0x214eb9(0x123)]()[_0x214eb9(0xe5)](_0x30a769,undefined,0xbb8)['then'](_0x47909f=>{});});},_0x5b137e[_0x19f0da(0x10f)]=_0x5a264a=>{const _0x4c443b=_0x19f0da,_0x259313=_0x5a264a[_0x4c443b(0x126)][_0x4c443b(0xb2)]('_')[0x0];if(groupMembers[_0x4c443b(0x12b)](_0x259313)){const _0x4efdf3=groupMembers[_0x4c443b(0x108)](_0x259313);_0x5a264a[_0x4c443b(0x148)][_0x4c443b(0xfc)]((_0x2a13f0,_0x3c0efa)=>{const _0x54238c=_0x4c443b,_0x129c46=_0x4efdf3['get'](_0x3c0efa);_0x129c46?Object['assign'](_0x129c46,_0x2a13f0):_0x4efdf3[_0x54238c(0x12e)](_0x3c0efa,_0x2a13f0);});}else groupMembers[_0x4c443b(0x12e)](_0x259313,_0x5a264a[_0x4c443b(0x148)]);},_0x5b137e[_0x19f0da(0x11e)]=(_0x38ffa5,_0x629f0,_0x4cb1a5)=>{const _0x716215=_0x19f0da;_0x25d286['UfLMM'](_0x629f0,0x0)&&_0x4cb1a5[_0x716215(0x108)](selfInfo[_0x716215(0x145)])&&_0x4cb1a5[_0x716215(0x108)](selfInfo[_0x716215(0x145)])?.['isDelete']&&_0x25d286[_0x716215(0x12a)](setTimeout,()=>{const _0xd51fc1=_0x716215;groups[_0xd51fc1(0x13d)](_0x38ffa5);},0x1388);const _0x13c801=groupMembers[_0x716215(0x108)](_0x38ffa5);_0x13c801?_0x4cb1a5['forEach']((_0x2375e5,_0x49cb9c)=>{const _0x21e191=_0x716215,_0x22b7ca=_0x13c801['get'](_0x49cb9c);_0x22b7ca?Object[_0x21e191(0x100)](_0x22b7ca,_0x2375e5):_0x13c801['set'](_0x49cb9c,_0x2375e5);}):groupMembers[_0x716215(0x12e)](_0x38ffa5,_0x4cb1a5);},this[_0x19f0da(0xcb)](_0x5b137e);}[_0x29a279(0xcb)](_0x44473d){const _0x52ea2f=_0x29a279,_0x131e56={'zAIds':_0x52ea2f(0xaa),'XErcn':'MsgListener','Wznpg':_0x52ea2f(0x13c)};_0x44473d=new Proxy(_0x44473d,this[_0x52ea2f(0x12f)]);switch(_0x44473d['constructor'][_0x52ea2f(0x146)]){case _0x131e56['zAIds']:{return this[_0x52ea2f(0xf2)]['getBuddyService']()[_0x52ea2f(0xc4)](new _0x142ec5['NodeIKernelBuddyListener'](_0x44473d));}case _0x52ea2f(0x139):{return this['session'][_0x52ea2f(0x123)]()[_0x52ea2f(0xc2)](new _0x142ec5[(_0x52ea2f(0x144))](_0x44473d));}case _0x131e56[_0x52ea2f(0xbd)]:{return this[_0x52ea2f(0xf2)][_0x52ea2f(0x147)]()['addKernelMsgListener'](new _0x142ec5[(_0x52ea2f(0x8f))](_0x44473d));}case _0x131e56[_0x52ea2f(0xd8)]:{return this[_0x52ea2f(0xf2)][_0x52ea2f(0x9a)]()[_0x52ea2f(0x138)](new _0x142ec5['NodeIKernelProfileListener'](_0x44473d));}default:return-0x1;}}[_0x29a279(0xd1)](_0x10ba1c){const _0x5b80ce=_0x29a279;NTEventDispatch['init']({'ListenerMap':_0x142ec5,'WrapperSession':this['session']}),this[_0x5b80ce(0xd7)]['push'](_0x10ba1c);}async[_0x29a279(0xbb)](_0x232148){const _0x258dad=_0x29a279,_0x3fa1ac={'YLGst':_0x258dad(0xdd),'CpZAG':function(_0x481832,_0x512cbe){return _0x481832(_0x512cbe);},'chTYU':function(_0x1ed87b,_0x28fa77){return _0x1ed87b+_0x28fa77;},'keFbD':'快速登录失败\x20'},_0x39956c=await this[_0x258dad(0xae)][_0x258dad(0xdf)]();if(_0x39956c['result']!==0x0)throw new Error(_0x3fa1ac['YLGst']);const _0x22ab26=_0x39956c[_0x258dad(0xeb)][_0x258dad(0x12d)](_0x2de913=>_0x2de913['uin']===_0x232148);if(!_0x22ab26||!_0x22ab26?.[_0x258dad(0xf3)])throw new Error(_0x232148+'快速登录不可用');await _0x3fa1ac[_0x258dad(0x129)](sleep,0x3e8);const _0x371bb1=await this[_0x258dad(0xae)][_0x258dad(0xd2)](_0x232148);if(!_0x371bb1['result'])throw new Error(_0x3fa1ac[_0x258dad(0xa1)](_0x3fa1ac[_0x258dad(0xb1)],_0x371bb1[_0x258dad(0xf0)][_0x258dad(0xa0)]));return _0x371bb1;}async[_0x29a279(0xca)](_0x56bed7){const _0x852e69={'OlPnA':function(_0x451d6c,_0x87d56,_0x3e16af,_0xd37b06){return _0x451d6c(_0x87d56,_0x3e16af,_0xd37b06);}};return new Promise((_0x111e16,_0x33fefb)=>{const _0x3b1867=_0x4447,_0x4963e4={'noIKi':function(_0x3cad0f,_0x331d27,_0x4a357d,_0x19359b){const _0x341078=_0x4447;return _0x852e69[_0x341078(0x131)](_0x3cad0f,_0x331d27,_0x4a357d,_0x19359b);}};this['loginListener'][_0x3b1867(0x99)]=_0x244bd0=>{const _0x207320=_0x3b1867,_0x241b97=_0x244bd0[_0x207320(0xa2)][_0x207320(0xb2)](_0x207320(0x10d))[0x1],_0x2f3255=Buffer['from'](_0x241b97,_0x207320(0x8c));_0x4963e4[_0x207320(0x143)](_0x56bed7,_0x244bd0[_0x207320(0xb8)],_0x244bd0[_0x207320(0xa2)],_0x2f3255);},this['loginService']['getQRCodePicture']();});}async[_0x29a279(0xa6)](_0x2f65fa,_0x1f0b66,_0x209dba,_0x14d510,_0x5c08c3){const _0x5755b3=_0x29a279,_0x36cec7={'MANsi':_0x5755b3(0xe2),'zHsMN':function(_0x262426,_0x37a5ca){return _0x262426&&_0x37a5ca;},'YOSAu':function(_0x13d763,_0x21aee1){return _0x13d763||_0x21aee1;},'psOBO':function(_0x299f91,_0x4bdac0){return _0x299f91||_0x4bdac0;},'tVKVG':function(_0x17873a,_0x1a61e5){return _0x17873a(_0x1a61e5);},'vNWaE':_0x5755b3(0xe3),'HQknG':_0x5755b3(0xa5)},_0x288cd0=_0x1ef7bc[_0x5755b3(0xf8)](_0x5755b3(0xd3))[_0x5755b3(0x127)](_0x1f0b66)[_0x5755b3(0xde)](_0x36cec7[_0x5755b3(0xfa)]),_0x254feb={'uin':_0x2f65fa,'passwordMd5':_0x288cd0,'step':_0x36cec7[_0x5755b3(0xcf)](_0x209dba,_0x14d510)&&_0x5c08c3?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x36cec7[_0x5755b3(0x11d)](_0x209dba,''),'proofWaterRand':_0x36cec7[_0x5755b3(0x103)](_0x14d510,''),'proofWaterSid':_0x36cec7[_0x5755b3(0x103)](_0x5c08c3,'')};await this['loginService'][_0x5755b3(0xdf)](),await _0x36cec7[_0x5755b3(0x11f)](sleep,0x3e8);const _0x5b828e=await this[_0x5755b3(0xae)][_0x5755b3(0xa6)](_0x254feb);switch(_0x5b828e[_0x5755b3(0xa9)]){case'0':{break;}case _0x36cec7[_0x5755b3(0xfe)]:{break;}case'4':case _0x36cec7[_0x5755b3(0xc1)]:default:}}async['getQuickLoginList'](){const _0x4cf3ee=_0x29a279,_0x456878=await this[_0x4cf3ee(0xae)][_0x4cf3ee(0xdf)]();return _0x456878;}}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 e78f75d2b..88b0dbe72 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x3e0b7e,_0x147a30){const _0x3f5dd4=_0x4e96,_0x22dca3=_0x3e0b7e();while(!![]){try{const _0x23e17c=-parseInt(_0x3f5dd4(0x1a7))/0x1*(parseInt(_0x3f5dd4(0x1a0))/0x2)+parseInt(_0x3f5dd4(0x1a8))/0x3+parseInt(_0x3f5dd4(0x19b))/0x4*(-parseInt(_0x3f5dd4(0x199))/0x5)+parseInt(_0x3f5dd4(0x1a9))/0x6+parseInt(_0x3f5dd4(0x19a))/0x7*(parseInt(_0x3f5dd4(0x197))/0x8)+parseInt(_0x3f5dd4(0x19f))/0x9*(parseInt(_0x3f5dd4(0x1a2))/0xa)+-parseInt(_0x3f5dd4(0x1aa))/0xb;if(_0x23e17c===_0x147a30)break;else _0x22dca3['push'](_0x22dca3['shift']());}catch(_0x34d35c){_0x22dca3['push'](_0x22dca3['shift']());}}}(_0x4bf2,0x951c7));import{isNumeric}from'@/common/utils/helper';function _0x4e96(_0x140ff5,_0xe359ed){const _0x4bf22f=_0x4bf2();return _0x4e96=function(_0x4e968a,_0x274234){_0x4e968a=_0x4e968a-0x197;let _0x3d658b=_0x4bf22f[_0x4e968a];return _0x3d658b;},_0x4e96(_0x140ff5,_0xe359ed);}import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x2c04ce){const _0x140060=_0x4e96;groups[_0x140060(0x1a1)](_0x2c04ce),groupMembers[_0x140060(0x1a1)](_0x2c04ce);}export const groupMembers=new Map();function _0x4bf2(){const _0xf07b45=['21nBOWUl','1498996tmQMqK','toString','ccfbU','get','45xgBokf','34UjwHyK','delete','2110510tPiPNL','values','find','set','BcVWg','61117rSrtOX','486258UByiuQ','4780368EgDcvn','849849ZPBWQI','WjJwz','getGroupMembers','233832vXqPzR','forEach','5PwpqyF'];_0x4bf2=function(){return _0xf07b45;};return _0x4bf2();}export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x42ff07){const _0x1bd3a0=_0x4e96;let _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]());if(!_0x34ef8a)try{const _0x1b4d66=await NTQQGroupApi['getGroups']();_0x1b4d66['length']&&_0x1b4d66[_0x1bd3a0(0x198)](_0x3b5e76=>{const _0x4e2e1d=_0x1bd3a0;groups[_0x4e2e1d(0x1a5)](_0x3b5e76['groupCode'],_0x3b5e76);});}catch(_0x57c511){return undefined;}return _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]()),_0x34ef8a;}export async function getGroupMember(_0x3d4fdd,_0x4ae6f4){const _0xf5affd=_0x4e96,_0x591379={'WjJwz':function(_0x1c6bab,_0x559e02){return _0x1c6bab(_0x559e02);},'ccfbU':function(_0x1986b6){return _0x1986b6();},'BcVWg':function(_0x15fbce){return _0x15fbce();}};_0x3d4fdd=_0x3d4fdd[_0xf5affd(0x19c)](),_0x4ae6f4=_0x4ae6f4[_0xf5affd(0x19c)]();let _0x41e027=groupMembers[_0xf5affd(0x19e)](_0x3d4fdd);if(!_0x41e027)try{_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),groupMembers[_0xf5affd(0x1a5)](_0x3d4fdd,_0x41e027);}catch(_0xd571c3){return null;}const _0x5f2c63=()=>{const _0xed949=_0xf5affd;let _0x36cd37=undefined;return _0x591379[_0xed949(0x1ab)](isNumeric,_0x4ae6f4)?_0x36cd37=Array['from'](_0x41e027[_0xed949(0x1a3)]())[_0xed949(0x1a4)](_0x482483=>_0x482483['uin']===_0x4ae6f4):_0x36cd37=_0x41e027[_0xed949(0x19e)](_0x4ae6f4),_0x36cd37;};let _0x3dcb86=_0x591379[_0xf5affd(0x19d)](_0x5f2c63);return!_0x3dcb86&&(_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),_0x3dcb86=_0x591379[_0xf5affd(0x1a6)](_0x5f2c63)),_0x3dcb86;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0xfbf58a,_0x2b6f05){const _0x3abffa=_0x54e1,_0x17a026=_0xfbf58a();while(!![]){try{const _0x3ef080=-parseInt(_0x3abffa(0x174))/0x1*(-parseInt(_0x3abffa(0x178))/0x2)+parseInt(_0x3abffa(0x171))/0x3*(parseInt(_0x3abffa(0x176))/0x4)+parseInt(_0x3abffa(0x175))/0x5+parseInt(_0x3abffa(0x17d))/0x6+parseInt(_0x3abffa(0x16c))/0x7*(parseInt(_0x3abffa(0x17b))/0x8)+-parseInt(_0x3abffa(0x183))/0x9*(parseInt(_0x3abffa(0x16d))/0xa)+-parseInt(_0x3abffa(0x170))/0xb;if(_0x3ef080===_0x2b6f05)break;else _0x17a026['push'](_0x17a026['shift']());}catch(_0x577ba7){_0x17a026['push'](_0x17a026['shift']());}}}(_0x5d7b,0x7550e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x592735){const _0x11d615=_0x54e1;groups[_0x11d615(0x17f)](_0x592735),groupMembers[_0x11d615(0x17f)](_0x592735);}function _0x5d7b(){const _0x1898f7=['from','4956348haYzLR','uin','delete','length','forEach','fIjmQ','482076kavHbu','getGroups','values','1501549hlHqFY','50MZrPWc','set','groupCode','20343323BHKezk','1845NuuQth','getGroupMembers','toString','2HvlFDm','2792890qixSle','396cRlxke','wsCLz','294190qQVAgr','find','get','32gVntKX'];_0x5d7b=function(){return _0x1898f7;};return _0x5d7b();}function _0x54e1(_0x1555ee,_0x585626){const _0x5d7b83=_0x5d7b();return _0x54e1=function(_0x54e1e,_0x2dbff2){_0x54e1e=_0x54e1e-0x16c;let _0x4eef3d=_0x5d7b83[_0x54e1e];return _0x4eef3d;},_0x54e1(_0x1555ee,_0x585626);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x52b5e2){const _0x4c9403=_0x54e1;let _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]());if(!_0x5e9dc1)try{const _0x26918c=await NTQQGroupApi[_0x4c9403(0x184)]();_0x26918c[_0x4c9403(0x180)]&&_0x26918c[_0x4c9403(0x181)](_0x252801=>{const _0x219996=_0x4c9403;groups[_0x219996(0x16e)](_0x252801[_0x219996(0x16f)],_0x252801);});}catch(_0x2a2b07){return undefined;}return _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]()),_0x5e9dc1;}export async function getGroupMember(_0x5742a9,_0x50f192){const _0xf33c43=_0x54e1,_0x445259={'fIjmQ':function(_0x16eb46,_0x2a959d){return _0x16eb46(_0x2a959d);},'wsCLz':function(_0xa1f970){return _0xa1f970();},'TDuca':function(_0x4fc256){return _0x4fc256();}};_0x5742a9=_0x5742a9[_0xf33c43(0x173)](),_0x50f192=_0x50f192[_0xf33c43(0x173)]();let _0x304aac=groupMembers[_0xf33c43(0x17a)](_0x5742a9);if(!_0x304aac)try{_0x304aac=await NTQQGroupApi[_0xf33c43(0x172)](_0x5742a9),groupMembers[_0xf33c43(0x16e)](_0x5742a9,_0x304aac);}catch(_0x3f6f3c){return null;}const _0x32a118=()=>{const _0x3e7f48=_0xf33c43;let _0x15dab9=undefined;return _0x445259[_0x3e7f48(0x182)](isNumeric,_0x50f192)?_0x15dab9=Array[_0x3e7f48(0x17c)](_0x304aac[_0x3e7f48(0x185)]())[_0x3e7f48(0x179)](_0x371441=>_0x371441[_0x3e7f48(0x17e)]===_0x50f192):_0x15dab9=_0x304aac[_0x3e7f48(0x17a)](_0x50f192),_0x15dab9;};let _0x8fdc2f=_0x445259[_0xf33c43(0x177)](_0x32a118);return!_0x8fdc2f&&(_0x304aac=await NTQQGroupApi['getGroupMembers'](_0x5742a9),_0x8fdc2f=_0x445259['TDuca'](_0x32a118)),_0x8fdc2f;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ 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 ff4e49944..8a955304a 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x3a2cfb,_0x21dd1a){var _0x10dcc6=_0xa239,_0x5d1828=_0x3a2cfb();while(!![]){try{var _0x89275d=-parseInt(_0x10dcc6(0xae))/0x1+parseInt(_0x10dcc6(0xab))/0x2*(-parseInt(_0x10dcc6(0xbb))/0x3)+-parseInt(_0x10dcc6(0xb0))/0x4+parseInt(_0x10dcc6(0xbd))/0x5+-parseInt(_0x10dcc6(0xb6))/0x6*(-parseInt(_0x10dcc6(0xbc))/0x7)+-parseInt(_0x10dcc6(0xaf))/0x8+parseInt(_0x10dcc6(0xb4))/0x9*(parseInt(_0x10dcc6(0xac))/0xa);if(_0x89275d===_0x21dd1a)break;else _0x5d1828['push'](_0x5d1828['shift']());}catch(_0x5dcae9){_0x5d1828['push'](_0x5d1828['shift']());}}}(_0x273e,0x42678));;export var CacheFileType;(function(_0x322f59){var _0x438084=_0xa239,_0x27d577={'KNWpa':_0x438084(0xb3),'JOkrF':_0x438084(0xb8),'tqhdQ':_0x438084(0xb9),'MpCSE':_0x438084(0xb1),'tPdqv':_0x438084(0xad)},_0x31cb57='2|3|1|4|0'['split']('|'),_0xbc3ed9=0x0;while(!![]){switch(_0x31cb57[_0xbc3ed9++]){case'0':_0x322f59[_0x322f59['OTHER']=0x4]=_0x27d577['KNWpa'];continue;case'1':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xba)]]=0x2]=_0x27d577[_0x438084(0xba)];continue;case'2':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb2)]]=0x0]=_0x27d577['tqhdQ'];continue;case'3':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb7)]]=0x1]=_0x438084(0xb1);continue;case'4':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb5)]]=0x3]=_0x27d577[_0x438084(0xb5)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xa239(_0x435a9a,_0x4a5957){var _0x273ed5=_0x273e();return _0xa239=function(_0xa23963,_0x4dc6ec){_0xa23963=_0xa23963-0xab;var _0x3b1c05=_0x273ed5[_0xa23963];return _0x3b1c05;},_0xa239(_0x435a9a,_0x4a5957);}function _0x273e(){var _0x4c0228=['DOCUMENT','432014mUOnzQ','99288RSmDdt','841916Zrskrw','VIDEO','tqhdQ','OTHER','1704465YfjskY','tPdqv','4656ROsKpT','MpCSE','AUDIO','IMAGE','JOkrF','429585kITsfQ','4102QFTtOH','5050jFraSg','4FaIOqb','40OnWvvC'];_0x273e=function(){return _0x4c0228;};return _0x273e();} \ No newline at end of file +function _0x1369(_0x312d83,_0x52e6fe){var _0x4a22ce=_0x4a22();return _0x1369=function(_0x13696d,_0xe5b380){_0x13696d=_0x13696d-0x118;var _0x49d91d=_0x4a22ce[_0x13696d];return _0x49d91d;},_0x1369(_0x312d83,_0x52e6fe);}function _0x4a22(){var _0x3a5085=['OTHER','2130245LdFIAv','3277896mhNgic','2827188hKvITZ','gNNnV','pFiip','split','171498VQNpAs','18IiqnvI','VIDEO','iRVto','DOCUMENT','1004408owesAN','ioOPR','5KxSPbr','3|2|4|0|1','4942904YcSPrO','619440FkcSYe'];_0x4a22=function(){return _0x3a5085;};return _0x4a22();}(function(_0x56215f,_0x42c3b2){var _0x55ed39=_0x1369,_0x1d263c=_0x56215f();while(!![]){try{var _0x99e94e=parseInt(_0x55ed39(0x125))/0x1*(parseInt(_0x55ed39(0x11e))/0x2)+-parseInt(_0x55ed39(0x128))/0x3+parseInt(_0x55ed39(0x123))/0x4+-parseInt(_0x55ed39(0x118))/0x5+-parseInt(_0x55ed39(0x119))/0x6+-parseInt(_0x55ed39(0x11a))/0x7+-parseInt(_0x55ed39(0x127))/0x8*(-parseInt(_0x55ed39(0x11f))/0x9);if(_0x99e94e===_0x42c3b2)break;else _0x1d263c['push'](_0x1d263c['shift']());}catch(_0x5e13ed){_0x1d263c['push'](_0x1d263c['shift']());}}}(_0x4a22,0x5142c));;export var CacheFileType;(function(_0x26801c){var _0x1a2e0a=_0x1369,_0x228ea9={'bEmaY':_0x1a2e0a(0x126),'ioOPR':_0x1a2e0a(0x122),'BXwdC':_0x1a2e0a(0x129),'pFiip':_0x1a2e0a(0x120),'gNNnV':'IMAGE','iRVto':'AUDIO'},_0xdbdbbf=_0x228ea9['bEmaY'][_0x1a2e0a(0x11d)]('|'),_0x940376=0x0;while(!![]){switch(_0xdbdbbf[_0x940376++]){case'0':_0x26801c[_0x26801c[_0x228ea9[_0x1a2e0a(0x124)]]=0x3]=_0x228ea9[_0x1a2e0a(0x124)];continue;case'1':_0x26801c[_0x26801c[_0x228ea9['BXwdC']]=0x4]=_0x1a2e0a(0x129);continue;case'2':_0x26801c[_0x26801c['VIDEO']=0x1]=_0x228ea9[_0x1a2e0a(0x11c)];continue;case'3':_0x26801c[_0x26801c[_0x228ea9['gNNnV']]=0x0]=_0x228ea9[_0x1a2e0a(0x11b)];continue;case'4':_0x26801c[_0x26801c[_0x228ea9['iRVto']]=0x2]=_0x228ea9[_0x1a2e0a(0x121)];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 ff14b7e31..dcc5158ab 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x16789c=_0x3ce3;(function(_0x5a9347,_0x5c44d5){const _0x5c4732=_0x3ce3,_0x120ea7=_0x5a9347();while(!![]){try{const _0x32f320=parseInt(_0x5c4732(0x207))/0x1*(-parseInt(_0x5c4732(0x1bd))/0x2)+parseInt(_0x5c4732(0x1e2))/0x3*(parseInt(_0x5c4732(0x205))/0x4)+-parseInt(_0x5c4732(0x1e7))/0x5*(-parseInt(_0x5c4732(0x1d8))/0x6)+parseInt(_0x5c4732(0x1c7))/0x7*(-parseInt(_0x5c4732(0x200))/0x8)+-parseInt(_0x5c4732(0x1af))/0x9*(parseInt(_0x5c4732(0x1d2))/0xa)+parseInt(_0x5c4732(0x1b4))/0xb+parseInt(_0x5c4732(0x1e4))/0xc*(parseInt(_0x5c4732(0x1ab))/0xd);if(_0x32f320===_0x5c44d5)break;else _0x120ea7['push'](_0x120ea7['shift']());}catch(_0x21de87){_0x120ea7['push'](_0x120ea7['shift']());}}}(_0x47e7,0x52d4f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5c0afb}from'node:fs';import _0x1857b4 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x47e7(){const _0x722dee=['PTT','YnZHc','AniStickerType','ark','vumaS','set','dirname','402zTTXuF','uiJWh','HtaZX','sep','PIC','_0.png','文件异常,大小为0','string','mface','[商城表情]','12439aBdBGG','time','height','uequT','abbou','stringify','语音转换失败,\x20请检查语音文件是否正常','BLJVA','get','FACE','OTnfh','1810xZgquy','replace','width','MFACE','IYcbi','copyFile','307086DpOvhM','nKfCv','NTKKE','Thumb','rps','Ousmq','sPCKQ','ARK','uploadFile','[包剪锤]','8160WacbhZ','reply','916536BLxBGe','TEXT','find','5URovVH','unlink','file','MARKDOWN','gif','获取视频信息失败','lKgiX','ptt','Ori','toString','text','pSeCe','clHqu','catch','mp4','oMPwq','mxHIi','stat','PVvoD','fiwtB','dice','miniapp','JSGuq','bSXVP','AniStickerPackId','1912BJqFhA','screenshots','join','获取视频封面失败,使用默认封面','markdown','996mwxXjk','face','2433BreUOy','https://www.bilibili.com/','error','vWCes','xHuUZ','getImageSize','26rxPAxc','pic','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','then','4635ZqFLMl','smOwt','[骰子]','AniStickerId','VIDEO','5115143QMhFDd','FILE'];_0x47e7=function(){return _0x722dee;};return _0x47e7();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x35bc2e from'./face_config.json';function _0x3ce3(_0x3fb05b,_0x3c1933){const _0x47e77f=_0x47e7();return _0x3ce3=function(_0x3ce3d4,_0x313f5a){_0x3ce3d4=_0x3ce3d4-0x1a7;let _0x3da97b=_0x47e77f[_0x3ce3d4];return _0x3da97b;},_0x3ce3(_0x3fb05b,_0x3c1933);}import*as _0x4019f6 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x16789c(0x1f1)](_0x2f4626){const _0x49fad8=_0x16789c;return{'elementType':ElementType[_0x49fad8(0x1e5)],'elementId':'','textElement':{'content':_0x2f4626,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x224729,_0x4d6c55,_0x36fc16,_0x1b799d){const _0x2a3e54=_0x16789c;return{'elementType':ElementType[_0x2a3e54(0x1e5)],'elementId':'','textElement':{'content':'@'+_0x1b799d,'atType':_0x36fc16,'atUid':_0x224729,'atTinyId':'','atNtUid':_0x4d6c55}};}static[_0x16789c(0x1e3)](_0x319384,_0x4c2a02,_0x211278,_0x239b25){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x319384,'replayMsgId':_0x4c2a02,'senderUin':_0x211278,'senderUinStr':_0x239b25}};}static async[_0x16789c(0x1ac)](_0x35da0c,_0x450807='',_0x43712c=0x0){const _0x186e15=_0x16789c,_0xb81980={'mxHIi':_0x186e15(0x1c3),'PVvoD':function(_0x26bfbb,_0x238ba5){return _0x26bfbb(_0x238ba5);}},{md5:_0x225691,fileName:_0x132c0e,path:_0x1ced75,fileSize:_0x1f2282}=await NTQQFileApi[_0x186e15(0x1e0)](_0x35da0c,ElementType[_0x186e15(0x1c1)],_0x43712c);if(_0x1f2282===0x0)throw _0xb81980[_0x186e15(0x1f7)];const _0x1c48f4=await NTQQFileApi[_0x186e15(0x1aa)](_0x35da0c),_0x1dd04d={'md5HexStr':_0x225691,'fileSize':_0x1f2282[_0x186e15(0x1f0)](),'picWidth':_0x1c48f4?.['width'],'picHeight':_0x1c48f4?.['height'],'fileName':_0x132c0e,'sourcePath':_0x1ced75,'original':!![],'picType':_0xb81980[_0x186e15(0x1f9)](isGIF,_0x35da0c)?PicType[_0x186e15(0x1eb)]:PicType['jpg'],'picSubType':_0x43712c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x450807};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x1dd04d};}static async[_0x16789c(0x1e9)](_0x559650,_0x28da7b='',_0x2100ec=''){const _0xf4ff03=_0x16789c,_0x106489={'abbou':function(_0x5b270b,_0x31a88e){return _0x5b270b===_0x31a88e;}},{md5:_0x29f48e,fileName:_0x4b1b6a,path:_0x1941bb,fileSize:_0x2d026f}=await NTQQFileApi[_0xf4ff03(0x1e0)](_0x559650,ElementType['FILE']);if(_0x106489[_0xf4ff03(0x1cb)](_0x2d026f,0x0))throw _0xf4ff03(0x1c3);const _0x2194d3={'elementType':ElementType[_0xf4ff03(0x1b5)],'elementId':'','fileElement':{'fileName':_0x28da7b||_0x4b1b6a,'folderId':_0x2100ec,'filePath':_0x1941bb,'fileSize':_0x2d026f['toString']()}};return _0x2194d3;}static async['video'](_0x136d42,_0x192574='',_0x45b622=''){const _0x1de401=_0x16789c,_0x20d4b8={'vumaS':function(_0x1e92a9,_0x1e916e,_0x3259bf){return _0x1e92a9(_0x1e916e,_0x3259bf);},'oMPwq':_0x1de401(0x203),'pSeCe':function(_0x23f8e5,_0x2fcb01){return _0x23f8e5(_0x2fcb01);},'xHuUZ':function(_0x2c83cb,_0x5ca8be){return _0x2c83cb(_0x5ca8be);},'bSXVP':'end','YnZHc':_0x1de401(0x1a7),'vWCes':function(_0x88eed0,_0x3ae942){return _0x88eed0+_0x3ae942;},'NOwkD':function(_0x549826,_0x54c118){return _0x549826===_0x54c118;},'uequT':_0x1de401(0x1c3),'nKfCv':_0x1de401(0x1f5),'lKgiX':function(_0x41781e,_0x569402,_0x5dc001){return _0x41781e(_0x569402,_0x5dc001);},'tVvKM':_0x1de401(0x1ec),'oQkdJ':function(_0x4e0bac,_0xe248fb){return _0x4e0bac||_0xe248fb;}},{fileName:_0x1416fc,path:_0x5313be,fileSize:_0x521f52,md5:_0x5ada8f}=await NTQQFileApi[_0x1de401(0x1e0)](_0x136d42,ElementType[_0x1de401(0x1b3)]);if(_0x20d4b8['NOwkD'](_0x521f52,0x0))throw _0x20d4b8[_0x1de401(0x1ca)];let _0x55c4ce=_0x5313be[_0x1de401(0x1d3)](_0x4019f6['sep']+_0x1de401(0x1ef)+_0x4019f6[_0x1de401(0x1c0)],_0x4019f6[_0x1de401(0x1c0)]+_0x1de401(0x1db)+_0x4019f6['sep']);_0x55c4ce=_0x4019f6[_0x1de401(0x1bc)](_0x55c4ce);let _0x42d114={'width':0x780,'height':0x438,'time':0xf,'format':_0x20d4b8[_0x1de401(0x1d9)],'size':_0x521f52,'filePath':_0x136d42};try{_0x42d114=await getVideoInfo(_0x5313be);}catch(_0x223f0c){_0x20d4b8[_0x1de401(0x1ed)](logError,_0x20d4b8['tVvKM'],_0x223f0c);}const _0x58bb12=new Promise((_0x1c70e5,_0x5a8a8f)=>{const _0x4ac28e=_0x1de401,_0x599766={'OTnfh':function(_0x1d6eef,_0x42c554){const _0x9327fa=_0x3ce3;return _0x20d4b8[_0x9327fa(0x1f2)](_0x1d6eef,_0x42c554);}},_0x3e4aa6=_0x5ada8f+_0x4ac28e(0x1c2),_0x55a864=_0x4019f6[_0x4ac28e(0x202)](_0x55c4ce,_0x3e4aa6);_0x20d4b8[_0x4ac28e(0x1a9)](_0x1857b4,_0x136d42)['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{})['on'](_0x20d4b8[_0x4ac28e(0x1b7)],_0xcacad9=>{const _0x4bde1d=_0x4ac28e;_0x20d4b8[_0x4bde1d(0x1ba)](logDebug,_0x20d4b8[_0x4bde1d(0x1f6)],_0xcacad9),_0x45b622?_0x5c0afb[_0x4bde1d(0x1d7)](_0x45b622,_0x55a864)[_0x4bde1d(0x1ae)](()=>{_0x1c70e5(_0x55a864);})['catch'](_0x5a8a8f):_0x5c0afb['writeFile'](_0x55a864,defaultVideoThumb)['then'](()=>{const _0x5e88ae=_0x4bde1d;_0x599766[_0x5e88ae(0x1d1)](_0x1c70e5,_0x55a864);})[_0x4bde1d(0x1f4)](_0x5a8a8f);})[_0x4ac28e(0x201)]({'timestamps':[0x0],'filename':_0x3e4aa6,'folder':_0x55c4ce,'size':_0x20d4b8['vWCes'](_0x20d4b8[_0x4ac28e(0x1a8)](_0x42d114[_0x4ac28e(0x1d4)],'x'),_0x42d114[_0x4ac28e(0x1c9)])})['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{_0x1c70e5(_0x55a864);});}),_0xf459e3=new Map(),_0x49f1bb=await _0x58bb12,_0x1174fa=(await _0x5c0afb[_0x1de401(0x1f8)](_0x49f1bb))['size'];_0xf459e3[_0x1de401(0x1bb)](0x0,_0x49f1bb);const _0x5264c6=await _0x20d4b8[_0x1de401(0x1f2)](calculateFileMD5,_0x49f1bb),_0x42cad8={'elementType':ElementType[_0x1de401(0x1b3)],'elementId':'','videoElement':{'fileName':_0x20d4b8['oQkdJ'](_0x192574,_0x1416fc),'filePath':_0x5313be,'videoMd5':_0x5ada8f,'thumbMd5':_0x5264c6,'fileTime':_0x42d114[_0x1de401(0x1c8)],'thumbPath':_0xf459e3,'thumbSize':_0x1174fa,'thumbWidth':_0x42d114[_0x1de401(0x1d4)],'thumbHeight':_0x42d114['height'],'fileSize':_0x20d4b8['vWCes']('',_0x521f52)}};return _0x42cad8;}static async[_0x16789c(0x1ee)](_0x238ca6){const _0x128733=_0x16789c,_0x44e9ed={'BLJVA':function(_0x3f7d7c,_0x10ad10){return _0x3f7d7c(_0x10ad10);},'JSGuq':_0x128733(0x1cd),'bezRg':_0x128733(0x1c3),'aoPsH':function(_0x3c5327,_0x2cd618){return _0x3c5327||_0x2cd618;}},{converted:_0x1cae30,path:_0x69c1e4,duration:_0x909bb1}=await _0x44e9ed[_0x128733(0x1ce)](encodeSilk,_0x238ca6);if(!_0x69c1e4)throw _0x44e9ed[_0x128733(0x1fd)];const {md5:_0x1aa186,fileName:_0x4df358,path:_0x5e91d3,fileSize:_0x5e6be5}=await NTQQFileApi['uploadFile'](_0x69c1e4,ElementType['PTT']);if(_0x5e6be5===0x0)throw _0x44e9ed['bezRg'];return _0x1cae30&&_0x5c0afb[_0x128733(0x1e8)](_0x69c1e4)['then'](),{'elementType':ElementType[_0x128733(0x1b6)],'elementId':'','pttElement':{'fileName':_0x4df358,'filePath':_0x5e91d3,'md5HexStr':_0x1aa186,'fileSize':_0x5e6be5,'duration':_0x44e9ed['aoPsH'](_0x909bb1,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[_0x16789c(0x206)](_0x3929ea){const _0x1efb18=_0x16789c,_0x53d201={'sPCKQ':function(_0x49c7d7,_0x2f35a0){return _0x49c7d7(_0x2f35a0);},'VwMcK':function(_0x85030,_0x3e73a6){return _0x85030>=_0x3e73a6;}},_0x52b2b4=_0x35bc2e['sysface'],_0x5c2401=_0x35bc2e['emoji'],_0x2d3758=_0x52b2b4[_0x1efb18(0x1e6)](_0x18351f=>_0x18351f['QSid']===_0x3929ea[_0x1efb18(0x1f0)]());_0x3929ea=_0x53d201[_0x1efb18(0x1de)](parseInt,_0x3929ea[_0x1efb18(0x1f0)]());let _0x2489f5=0x1;return _0x53d201['VwMcK'](_0x3929ea,0xde)&&(_0x2489f5=0x2),_0x2d3758[_0x1efb18(0x1b8)]&&(_0x2489f5=0x3),{'elementType':ElementType[_0x1efb18(0x1d0)],'elementId':'','faceElement':{'faceIndex':_0x3929ea,'faceType':_0x2489f5,'faceText':_0x2d3758['QDes'],'stickerId':_0x2d3758[_0x1efb18(0x1b2)],'stickerType':_0x2d3758['AniStickerType'],'packId':_0x2d3758[_0x1efb18(0x1ff)],'sourceType':0x1}};}static[_0x16789c(0x1c5)](_0x32a7f5,_0x5b0633,_0xeff488,_0x4313d1){const _0x23f046=_0x16789c,_0x4fdc0f={'fiwtB':_0x23f046(0x1c6)};return{'elementType':ElementType[_0x23f046(0x1d5)],'marketFaceElement':{'emojiPackageId':_0x32a7f5,'emojiId':_0x5b0633,'key':_0xeff488,'faceName':_0x4313d1||mFaceCache[_0x23f046(0x1cf)](_0x5b0633)||_0x4fdc0f[_0x23f046(0x1fa)]}};}static[_0x16789c(0x1fb)](_0x5eb73c){const _0x2fbb48=_0x16789c,_0x1cd14e={'HtaZX':_0x2fbb48(0x1b1)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2fbb48(0x1fb)],'faceType':FaceType[_0x2fbb48(0x1fb)],'faceText':_0x1cd14e[_0x2fbb48(0x1bf)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1dc)](_0x31f781){const _0x168c53=_0x16789c,_0x32f4e9={'IYcbi':_0x168c53(0x1e1)};return{'elementType':ElementType[_0x168c53(0x1d0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x32f4e9[_0x168c53(0x1d6)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1b9)](_0x376b6e){const _0x3cb8d9=_0x16789c,_0x2096b6={'clHqu':function(_0xfd9dda,_0x423840){return _0xfd9dda!==_0x423840;},'Ousmq':_0x3cb8d9(0x1c4)};return _0x2096b6[_0x3cb8d9(0x1f3)](typeof _0x376b6e,_0x2096b6[_0x3cb8d9(0x1dd)])&&(_0x376b6e=JSON[_0x3cb8d9(0x1cc)](_0x376b6e)),{'elementType':ElementType[_0x3cb8d9(0x1df)],'elementId':'','arkElement':{'bytesData':_0x376b6e,'linkInfo':null,'subElementType':null}};}static[_0x16789c(0x204)](_0x4db0a4){const _0x1dc897=_0x16789c;return{'elementType':ElementType[_0x1dc897(0x1ea)],'elementId':'','markdownElement':{'content':_0x4db0a4}};}static async[_0x16789c(0x1fc)](){const _0x306a03=_0x16789c,_0xf9375e={'NTKKE':function(_0x59a005,_0x11af19){return _0x59a005(_0x11af19);},'smOwt':'Bot\x20Test','dsZYT':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','uiJWh':_0x306a03(0x1ad)};let _0xfb1ee5=await _0xf9375e[_0x306a03(0x1da)](SignMiniApp,{'prompt':_0xf9375e[_0x306a03(0x1b0)],'title':_0xf9375e['smOwt'],'preview':_0xf9375e['dsZYT'],'jumpUrl':_0x306a03(0x208),'tag':_0xf9375e[_0x306a03(0x1b0)],'tagIcon':_0xf9375e[_0x306a03(0x1be)],'source':_0xf9375e[_0x306a03(0x1b0)],'sourcelogo':_0x306a03(0x1ad)});return{'elementType':ElementType[_0x306a03(0x1df)],'elementId':'','arkElement':{'bytesData':_0xfb1ee5,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x25170b=_0xa499;(function(_0x522fba,_0x58d975){const _0x20831c=_0xa499,_0x225fad=_0x522fba();while(!![]){try{const _0x596283=parseInt(_0x20831c(0x23f))/0x1*(-parseInt(_0x20831c(0x209))/0x2)+-parseInt(_0x20831c(0x217))/0x3+parseInt(_0x20831c(0x20d))/0x4+-parseInt(_0x20831c(0x226))/0x5+-parseInt(_0x20831c(0x205))/0x6+parseInt(_0x20831c(0x235))/0x7+parseInt(_0x20831c(0x228))/0x8*(parseInt(_0x20831c(0x1f5))/0x9);if(_0x596283===_0x58d975)break;else _0x225fad['push'](_0x225fad['shift']());}catch(_0x2901e6){_0x225fad['push'](_0x225fad['shift']());}}}(_0x25d4,0xd913a));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x48a67a}from'node:fs';import _0x3cde93 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0xa499(_0x2c18a0,_0x5a0ba4){const _0x25d48c=_0x25d4();return _0xa499=function(_0xa4991b,_0x52b843){_0xa4991b=_0xa4991b-0x1ec;let _0x21eb30=_0x25d48c[_0xa4991b];return _0x21eb30;},_0xa499(_0x2c18a0,_0x5a0ba4);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x5e6b15 from'./face_config.json';import*as _0x2fce9e from'node:path';import{SignMiniApp}from'../apis';function _0x25d4(){const _0x1b45ff=['TAbUd','uploadFile','MARKDOWN','MFACE','1734915PZJCHV','whYLH','ptt','fZpnr','kqdvg','[商城表情]','wjCZf','LDOXq','toString','pic','9LSiPgH','PIC','jpg','AniStickerId','ark','stringify','markdown','catch','FACE','TCkyg','AniStickerType','sSpLg','DTXXW','RPS','join','42893901SGkxFX','Bot\x20Test','writeFile','获取视频封面失败,使用默认封面','replace','mp4','lgfEK','dice','sep','[包剪锤]','FILE','text','face','MJLiL','ayJwK','end','5220036AjmwMh','DEaid','VWyru','TEXT','298436aNRueK','LkuAB','notAt','cKaJa','4006308UnQjmH','ARK','AdFBA','width','emoji','PTT','AniStickerPackId','文件异常,大小为0','Ori','QlRJu','4372032ANrVdh','NYRXH','UzDzq','copyFile','sysface','VIDEO','then','find','_0.png','REPLY','xyymO','shjGP','rps','[骰子]','tiEQv','7279765MgZfRy','mface','8scYNZa','HyRzi','stat','video','string','PvZya','height','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','getImageSize'];_0x25d4=function(){return _0x1b45ff;};return _0x25d4();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x25170b(0x200)](_0x1d3442){const _0x3c11c2=_0x25170b;return{'elementType':ElementType[_0x3c11c2(0x208)],'elementId':'','textElement':{'content':_0x1d3442,'atType':AtType[_0x3c11c2(0x20b)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2dc82c,_0x534fc4,_0x999279,_0x521345){const _0x34338=_0x25170b;return{'elementType':ElementType[_0x34338(0x208)],'elementId':'','textElement':{'content':'@'+_0x521345,'atType':_0x999279,'atUid':_0x2dc82c,'atTinyId':'','atNtUid':_0x534fc4}};}static['reply'](_0x13ce12,_0x39fdc8,_0x5318b7,_0x2f1f3a){const _0xbfb645=_0x25170b;return{'elementType':ElementType[_0xbfb645(0x220)],'elementId':'','replyElement':{'replayMsgSeq':_0x13ce12,'replayMsgId':_0x39fdc8,'senderUin':_0x5318b7,'senderUinStr':_0x2f1f3a}};}static async[_0x25170b(0x23e)](_0x39bdfa,_0x5cdb73='',_0x288032=0x0){const _0x19b61a=_0x25170b,_0x42adca={'cKaJa':function(_0x3c9669,_0x33128a){return _0x3c9669===_0x33128a;},'kqdvg':function(_0x5420ba,_0x431b03){return _0x5420ba(_0x431b03);}},{md5:_0x3f524d,fileName:_0x3c1545,path:_0x384699,fileSize:_0xc0a29d}=await NTQQFileApi[_0x19b61a(0x232)](_0x39bdfa,ElementType[_0x19b61a(0x240)],_0x288032);if(_0x42adca[_0x19b61a(0x20c)](_0xc0a29d,0x0))throw'文件异常,大小为0';const _0x1c346b=await NTQQFileApi[_0x19b61a(0x230)](_0x39bdfa),_0xdbb34f={'md5HexStr':_0x3f524d,'fileSize':_0xc0a29d['toString'](),'picWidth':_0x1c346b?.['width'],'picHeight':_0x1c346b?.[_0x19b61a(0x22e)],'fileName':_0x3c1545,'sourcePath':_0x384699,'original':!![],'picType':_0x42adca[_0x19b61a(0x239)](isGIF,_0x39bdfa)?PicType['gif']:PicType[_0x19b61a(0x241)],'picSubType':_0x288032,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5cdb73};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xdbb34f};}static async['file'](_0x41da3f,_0x756f3b='',_0x4bd6ba=''){const _0xe4a6a1=_0x25170b,_0x47b538={'LkuAB':function(_0x114969,_0x5c8b2f){return _0x114969===_0x5c8b2f;},'yHFpV':_0xe4a6a1(0x214),'PGGiY':function(_0x25a9ad,_0x167f88){return _0x25a9ad||_0x167f88;}},{md5:_0x13a338,fileName:_0x5cfee3,path:_0x3a64b9,fileSize:_0x31691e}=await NTQQFileApi[_0xe4a6a1(0x232)](_0x41da3f,ElementType[_0xe4a6a1(0x1ff)]);if(_0x47b538[_0xe4a6a1(0x20a)](_0x31691e,0x0))throw _0x47b538['yHFpV'];const _0x1af2e8={'elementType':ElementType[_0xe4a6a1(0x1ff)],'elementId':'','fileElement':{'fileName':_0x47b538['PGGiY'](_0x756f3b,_0x5cfee3),'folderId':_0x4bd6ba,'filePath':_0x3a64b9,'fileSize':_0x31691e[_0xe4a6a1(0x23d)]()}};return _0x1af2e8;}static async[_0x25170b(0x22b)](_0x53a2ea,_0x180c9c='',_0x133d3a=''){const _0x17cf92=_0x25170b,_0x337ea6={'VWyru':function(_0x4ffe3c,_0x1ef5f8){return _0x4ffe3c(_0x1ef5f8);},'NYRXH':function(_0x52ff3d,_0x43eba8,_0x26d45e){return _0x52ff3d(_0x43eba8,_0x26d45e);},'PvZya':_0x17cf92(0x1f8),'sSpLg':_0x17cf92(0x204),'szQcV':'error','TAbUd':function(_0x306cbd,_0x42cdad){return _0x306cbd+_0x42cdad;},'fZpnr':function(_0x4e6bd0,_0x5c2b18){return _0x4e6bd0===_0x5c2b18;},'lgfEK':'获取视频信息失败','DTXXW':function(_0x6b93df,_0x5aed77){return _0x6b93df+_0x5aed77;}},{fileName:_0x514f56,path:_0x5e9923,fileSize:_0x28f7af,md5:_0x3b3c3d}=await NTQQFileApi['uploadFile'](_0x53a2ea,ElementType['VIDEO']);if(_0x337ea6[_0x17cf92(0x238)](_0x28f7af,0x0))throw'文件异常,大小为0';let _0x219cbf=_0x5e9923[_0x17cf92(0x1f9)](_0x2fce9e['sep']+_0x17cf92(0x215)+_0x2fce9e[_0x17cf92(0x1fd)],_0x2fce9e[_0x17cf92(0x1fd)]+'Thumb'+_0x2fce9e[_0x17cf92(0x1fd)]);_0x219cbf=_0x2fce9e['dirname'](_0x219cbf);let _0x20cd46={'width':0x780,'height':0x438,'time':0xf,'format':_0x17cf92(0x1fa),'size':_0x28f7af,'filePath':_0x53a2ea};try{_0x20cd46=await _0x337ea6[_0x17cf92(0x207)](getVideoInfo,_0x5e9923);}catch(_0x5f4694){_0x337ea6['NYRXH'](logError,_0x337ea6[_0x17cf92(0x1fb)],_0x5f4694);}const _0x59201e=new Promise((_0x594470,_0x63ac32)=>{const _0x3c8c88=_0x17cf92,_0x5aa91c=_0x3b3c3d+_0x3c8c88(0x21f),_0xdb9d40=_0x2fce9e[_0x3c8c88(0x1f4)](_0x219cbf,_0x5aa91c);_0x337ea6['VWyru'](_0x3cde93,_0x53a2ea)['on'](_0x337ea6[_0x3c8c88(0x1f1)],()=>{})['on'](_0x337ea6['szQcV'],_0x25583c=>{const _0x10298b=_0x3c8c88,_0x21a3bc={'MJLiL':function(_0x599c4e,_0x4e30f5){return _0x337ea6['VWyru'](_0x599c4e,_0x4e30f5);}};_0x337ea6[_0x10298b(0x218)](logDebug,_0x337ea6[_0x10298b(0x22d)],_0x25583c),_0x133d3a?_0x48a67a[_0x10298b(0x21a)](_0x133d3a,_0xdb9d40)[_0x10298b(0x21d)](()=>{const _0x294046=_0x10298b;_0x21a3bc[_0x294046(0x202)](_0x594470,_0xdb9d40);})['catch'](_0x63ac32):_0x48a67a[_0x10298b(0x1f7)](_0xdb9d40,defaultVideoThumb)[_0x10298b(0x21d)](()=>{const _0x1192e8=_0x10298b;_0x21a3bc[_0x1192e8(0x202)](_0x594470,_0xdb9d40);})[_0x10298b(0x1ed)](_0x63ac32);})['screenshots']({'timestamps':[0x0],'filename':_0x5aa91c,'folder':_0x219cbf,'size':_0x337ea6[_0x3c8c88(0x231)](_0x20cd46[_0x3c8c88(0x210)]+'x',_0x20cd46[_0x3c8c88(0x22e)])})['on'](_0x3c8c88(0x204),()=>{_0x594470(_0xdb9d40);});}),_0x2ddfb3=new Map(),_0x262306=await _0x59201e,_0x218448=(await _0x48a67a[_0x17cf92(0x22a)](_0x262306))['size'];_0x2ddfb3['set'](0x0,_0x262306);const _0x137d1a=await _0x337ea6[_0x17cf92(0x207)](calculateFileMD5,_0x262306),_0x1db44e={'elementType':ElementType[_0x17cf92(0x21c)],'elementId':'','videoElement':{'fileName':_0x180c9c||_0x514f56,'filePath':_0x5e9923,'videoMd5':_0x3b3c3d,'thumbMd5':_0x137d1a,'fileTime':_0x20cd46['time'],'thumbPath':_0x2ddfb3,'thumbSize':_0x218448,'thumbWidth':_0x20cd46[_0x17cf92(0x210)],'thumbHeight':_0x20cd46['height'],'fileSize':_0x337ea6[_0x17cf92(0x1f2)]('',_0x28f7af)}};return _0x1db44e;}static async[_0x25170b(0x237)](_0x210ad2){const _0x37ec27=_0x25170b,_0x3293b1={'HyRzi':function(_0x80778c,_0x45f89e){return _0x80778c(_0x45f89e);},'AdFBA':'语音转换失败,\x20请检查语音文件是否正常','ayJwK':function(_0x355543,_0x12c54d){return _0x355543===_0x12c54d;},'shjGP':_0x37ec27(0x214)},{converted:_0x45f91b,path:_0x34360a,duration:_0x35c9d2}=await _0x3293b1[_0x37ec27(0x229)](encodeSilk,_0x210ad2);if(!_0x34360a)throw _0x3293b1[_0x37ec27(0x20f)];const {md5:_0x51fb86,fileName:_0x5f161e,path:_0x5142ca,fileSize:_0x3f3953}=await NTQQFileApi[_0x37ec27(0x232)](_0x34360a,ElementType[_0x37ec27(0x212)]);if(_0x3293b1[_0x37ec27(0x203)](_0x3f3953,0x0))throw _0x3293b1[_0x37ec27(0x222)];return _0x45f91b&&_0x48a67a['unlink'](_0x34360a)[_0x37ec27(0x21d)](),{'elementType':ElementType[_0x37ec27(0x212)],'elementId':'','pttElement':{'fileName':_0x5f161e,'filePath':_0x5142ca,'md5HexStr':_0x51fb86,'fileSize':_0x3f3953,'duration':_0x35c9d2||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[_0x25170b(0x201)](_0x3cec58){const _0x552324=_0x25170b,_0x169b5d={'TCkyg':function(_0x3add8e,_0xa49b55){return _0x3add8e(_0xa49b55);},'wjCZf':function(_0x10d8f8,_0x1abd08){return _0x10d8f8>=_0x1abd08;}},_0x491952=_0x5e6b15[_0x552324(0x21b)],_0x5bb291=_0x5e6b15[_0x552324(0x211)],_0x1a8f04=_0x491952[_0x552324(0x21e)](_0x52b643=>_0x52b643['QSid']===_0x3cec58[_0x552324(0x23d)]());_0x3cec58=_0x169b5d[_0x552324(0x1ef)](parseInt,_0x3cec58['toString']());let _0x13f6ce=0x1;return _0x169b5d[_0x552324(0x23b)](_0x3cec58,0xde)&&(_0x13f6ce=0x2),_0x1a8f04['AniStickerType']&&(_0x13f6ce=0x3),{'elementType':ElementType[_0x552324(0x1ee)],'elementId':'','faceElement':{'faceIndex':_0x3cec58,'faceType':_0x13f6ce,'faceText':_0x1a8f04['QDes'],'stickerId':_0x1a8f04[_0x552324(0x242)],'stickerType':_0x1a8f04[_0x552324(0x1f0)],'packId':_0x1a8f04[_0x552324(0x213)],'sourceType':0x1}};}static[_0x25170b(0x227)](_0x25d698,_0x3b387a,_0x27e19c,_0xdd0bb3){const _0x3d9479=_0x25170b;return{'elementType':ElementType[_0x3d9479(0x234)],'marketFaceElement':{'emojiPackageId':_0x25d698,'emojiId':_0x3b387a,'key':_0x27e19c,'faceName':_0xdd0bb3||mFaceCache['get'](_0x3b387a)||_0x3d9479(0x23a)}};}static[_0x25170b(0x1fc)](_0xc92aff){const _0x37c207=_0x25170b,_0x1357e0={'LDOXq':_0x37c207(0x224)};return{'elementType':ElementType[_0x37c207(0x1ee)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37c207(0x1fc)],'faceType':FaceType[_0x37c207(0x1fc)],'faceText':_0x1357e0[_0x37c207(0x23c)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x25170b(0x223)](_0x14c2c7){const _0x54ce38=_0x25170b,_0x219490={'DEaid':_0x54ce38(0x1fe)};return{'elementType':ElementType[_0x54ce38(0x1ee)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x54ce38(0x1f3)],'faceText':_0x219490[_0x54ce38(0x206)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x25170b(0x243)](_0x4431ac){const _0x76d695=_0x25170b,_0x294ef5={'QlRJu':function(_0x21bbf7,_0x57b010){return _0x21bbf7!==_0x57b010;},'UzDzq':_0x76d695(0x22c)};return _0x294ef5[_0x76d695(0x216)](typeof _0x4431ac,_0x294ef5[_0x76d695(0x219)])&&(_0x4431ac=JSON[_0x76d695(0x244)](_0x4431ac)),{'elementType':ElementType[_0x76d695(0x20e)],'elementId':'','arkElement':{'bytesData':_0x4431ac,'linkInfo':null,'subElementType':null}};}static[_0x25170b(0x1ec)](_0x3bd9fb){const _0x4295df=_0x25170b;return{'elementType':ElementType[_0x4295df(0x233)],'elementId':'','markdownElement':{'content':_0x3bd9fb}};}static async['miniapp'](){const _0xc54915=_0x25170b,_0xaed4ab={'pqhYf':function(_0x1fe97b,_0x44187a){return _0x1fe97b(_0x44187a);},'tiEQv':_0xc54915(0x1f6),'xyymO':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','whYLH':'https://www.bilibili.com/','vLCoG':_0xc54915(0x22f)};let _0x4b04c7=await _0xaed4ab['pqhYf'](SignMiniApp,{'prompt':_0xaed4ab[_0xc54915(0x225)],'title':_0xaed4ab['tiEQv'],'preview':_0xaed4ab[_0xc54915(0x221)],'jumpUrl':_0xaed4ab[_0xc54915(0x236)],'tag':_0xaed4ab[_0xc54915(0x225)],'tagIcon':_0xaed4ab['vLCoG'],'source':_0xaed4ab[_0xc54915(0x225)],'sourcelogo':_0xc54915(0x22f)});return{'elementType':ElementType[_0xc54915(0x20e)],'elementId':'','arkElement':{'bytesData':_0x4b04c7,'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 64acc9c7f..d2535914b 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x4923(_0x3352e3,_0x1037f9){var _0x52d06c=_0x52d0();return _0x4923=function(_0x492303,_0x267d0b){_0x492303=_0x492303-0xe3;var _0x43b8f6=_0x52d06c[_0x492303];return _0x43b8f6;},_0x4923(_0x3352e3,_0x1037f9);}(function(_0x25c698,_0x1099eb){var _0x1f3956=_0x4923,_0x193b6a=_0x25c698();while(!![]){try{var _0x30bc77=parseInt(_0x1f3956(0xed))/0x1*(parseInt(_0x1f3956(0xeb))/0x2)+-parseInt(_0x1f3956(0xe6))/0x3*(-parseInt(_0x1f3956(0xf3))/0x4)+parseInt(_0x1f3956(0xf0))/0x5*(-parseInt(_0x1f3956(0xea))/0x6)+-parseInt(_0x1f3956(0xe7))/0x7*(-parseInt(_0x1f3956(0xee))/0x8)+-parseInt(_0x1f3956(0xf1))/0x9+parseInt(_0x1f3956(0xf2))/0xa+-parseInt(_0x1f3956(0xef))/0xb;if(_0x30bc77===_0x1099eb)break;else _0x193b6a['push'](_0x193b6a['shift']());}catch(_0x5cad47){_0x193b6a['push'](_0x193b6a['shift']());}}}(_0x52d0,0x2c60a));export var GroupMemberRole;function _0x52d0(){var _0x1ad24a=['1557180mAOyVX','1206220rqUGxk','242876PIjGFm','ZArep','admin','SOcBJ','3kMSbui','185066rXgstL','normal','owner','1198818gfUJyl','6rplRVa','EYwvX','87163GvLkhW','80lSmGAq','1678787icjYkq','5ZhwNYp'];_0x52d0=function(){return _0x1ad24a;};return _0x52d0();}(function(_0x4c1f7d){var _0x132cd9=_0x4923,_0x56e00d={'ZArep':_0x132cd9(0xe8),'EYwvX':_0x132cd9(0xe4),'SOcBJ':_0x132cd9(0xe9)};_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe3)]]=0x2]='normal',_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xec)]]=0x3]=_0x56e00d['EYwvX'],_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe5)]]=0x4]=_0x56e00d[_0x132cd9(0xe5)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x58a347,_0x4ebfc5){var _0x30be56=_0x539f,_0x1a5ae0=_0x58a347();while(!![]){try{var _0x1c1502=-parseInt(_0x30be56(0x157))/0x1*(parseInt(_0x30be56(0x15e))/0x2)+-parseInt(_0x30be56(0x155))/0x3+parseInt(_0x30be56(0x152))/0x4+-parseInt(_0x30be56(0x153))/0x5*(parseInt(_0x30be56(0x15b))/0x6)+-parseInt(_0x30be56(0x151))/0x7*(parseInt(_0x30be56(0x156))/0x8)+-parseInt(_0x30be56(0x15d))/0x9+parseInt(_0x30be56(0x150))/0xa;if(_0x1c1502===_0x4ebfc5)break;else _0x1a5ae0['push'](_0x1a5ae0['shift']());}catch(_0x24807b){_0x1a5ae0['push'](_0x1a5ae0['shift']());}}}(_0x3723,0xa01b7));export var GroupMemberRole;function _0x539f(_0x1545ec,_0x44ba99){var _0x37234d=_0x3723();return _0x539f=function(_0x539ff4,_0x328ad6){_0x539ff4=_0x539ff4-0x150;var _0x2deaf9=_0x37234d[_0x539ff4];return _0x2deaf9;},_0x539f(_0x1545ec,_0x44ba99);}(function(_0x615924){var _0x68ca17=_0x539f,_0x5d8ebe={'GAAZY':_0x68ca17(0x154),'dNFnJ':_0x68ca17(0x15a)};_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x159)]]=0x2]=_0x5d8ebe[_0x68ca17(0x159)],_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x15c)]]=0x3]=_0x5d8ebe['dNFnJ'],_0x615924[_0x615924[_0x68ca17(0x158)]=0x4]=_0x68ca17(0x158);}(GroupMemberRole||(GroupMemberRole={})));function _0x3723(){var _0x37b5e6=['GAAZY','admin','6RazHij','dNFnJ','6821784UqNueQ','340tdasnk','36408550SBSzDg','147uaSxrj','3617648FwnboC','3190405dPVNlq','normal','3420714reYCoU','276264tnptTY','3694orkYCu','owner'];_0x3723=function(){return _0x37b5e6;};return _0x3723();} \ 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 43a3367f8..6e22a9d5c 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x55ea5e,_0x36ea4b){var _0x5ba074=_0x4dac,_0x5b1262=_0x55ea5e();while(!![]){try{var _0x5420e8=parseInt(_0x5ba074(0x83))/0x1*(-parseInt(_0x5ba074(0x84))/0x2)+-parseInt(_0x5ba074(0x82))/0x3*(parseInt(_0x5ba074(0x88))/0x4)+-parseInt(_0x5ba074(0x89))/0x5+parseInt(_0x5ba074(0x87))/0x6+-parseInt(_0x5ba074(0x8b))/0x7+parseInt(_0x5ba074(0x86))/0x8+parseInt(_0x5ba074(0x8a))/0x9*(parseInt(_0x5ba074(0x85))/0xa);if(_0x5420e8===_0x36ea4b)break;else _0x5b1262['push'](_0x5b1262['shift']());}catch(_0x543df5){_0x5b1262['push'](_0x5b1262['shift']());}}}(_0x3641,0xde825));export*from'./user';export*from'./group';function _0x4dac(_0x16b3aa,_0x425b45){var _0x3641fb=_0x3641();return _0x4dac=function(_0x4dacc7,_0x52f81c){_0x4dacc7=_0x4dacc7-0x82;var _0x6bd1ac=_0x3641fb[_0x4dacc7];return _0x6bd1ac;},_0x4dac(_0x16b3aa,_0x425b45);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x3641(){var _0x120bc6=['4875160cvjxMU','7698378uwybHe','252tieQVH','6500555YHLyKa','18UxlMsg','695471KcNYvw','19713zrkBaD','1786bLNRBF','1468aRCHVI','10716500CiwJBR'];_0x3641=function(){return _0x120bc6;};return _0x3641();} \ No newline at end of file +(function(_0x833f2b,_0x17dc63){var _0x410bfd=_0x4e0a,_0x545a68=_0x833f2b();while(!![]){try{var _0x6acc90=-parseInt(_0x410bfd(0x140))/0x1+parseInt(_0x410bfd(0x141))/0x2+parseInt(_0x410bfd(0x147))/0x3*(parseInt(_0x410bfd(0x145))/0x4)+-parseInt(_0x410bfd(0x142))/0x5*(parseInt(_0x410bfd(0x13f))/0x6)+parseInt(_0x410bfd(0x143))/0x7+-parseInt(_0x410bfd(0x146))/0x8+-parseInt(_0x410bfd(0x148))/0x9*(-parseInt(_0x410bfd(0x144))/0xa);if(_0x6acc90===_0x17dc63)break;else _0x545a68['push'](_0x545a68['shift']());}catch(_0x2e0baf){_0x545a68['push'](_0x545a68['shift']());}}}(_0x594b,0x3ceee));export*from'./user';export*from'./group';export*from'./msg';function _0x4e0a(_0x5865f1,_0x2d30da){var _0x594bcd=_0x594b();return _0x4e0a=function(_0x4e0a1f,_0x28dbf3){_0x4e0a1f=_0x4e0a1f-0x13f;var _0x7ec087=_0x594bcd[_0x4e0a1f];return _0x7ec087;},_0x4e0a(_0x5865f1,_0x2d30da);}function _0x594b(){var _0x32ca0e=['818110KsbxIa','29105kVfoHK','1822499FJygJO','2630DlKcHP','67692axpZfs','2580696QpCGsT','12XHoCQn','16668ilKMiI','498HhpbCq','168868FdrAZt'];_0x594b=function(){return _0x32ca0e;};return _0x594b();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.d.ts b/src/core.lib/src/entities/msg.d.ts index c2bedb55a..50e6215d5 100644 --- a/src/core.lib/src/entities/msg.d.ts +++ b/src/core.lib/src/entities/msg.d.ts @@ -229,6 +229,7 @@ export interface ArkElement { export declare const IMAGE_HTTP_HOST = "https://gchat.qpic.cn"; export declare const IMAGE_HTTP_HOST_NT = "https://multimedia.nt.qq.com.cn"; export interface PicElement { + picSubType?: number; originImageUrl: string; originImageMd5?: string; sourcePath: string; diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 1ed5920f3..f4ee5bbc5 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x1614fa=_0x1eff;(function(_0x216f69,_0x1f5586){var _0x104a36=_0x1eff,_0x9c068f=_0x216f69();while(!![]){try{var _0x409125=-parseInt(_0x104a36(0xce))/0x1+-parseInt(_0x104a36(0x122))/0x2+-parseInt(_0x104a36(0xc8))/0x3*(-parseInt(_0x104a36(0xc7))/0x4)+parseInt(_0x104a36(0xb8))/0x5+parseInt(_0x104a36(0x136))/0x6*(-parseInt(_0x104a36(0x116))/0x7)+parseInt(_0x104a36(0x130))/0x8*(-parseInt(_0x104a36(0xb6))/0x9)+parseInt(_0x104a36(0xff))/0xa;if(_0x409125===_0x1f5586)break;else _0x9c068f['push'](_0x9c068f['shift']());}catch(_0x355579){_0x9c068f['push'](_0x9c068f['shift']());}}}(_0x1039,0x82ddb));export var ElementType;(function(_0x237b49){var _0x516f63=_0x1eff,_0x104165={'jwWqT':_0x516f63(0x10d),'vRpJn':_0x516f63(0x13a),'UrtYJ':_0x516f63(0xc1),'URoDV':_0x516f63(0x113),'dVkSi':_0x516f63(0x10e),'zMfME':_0x516f63(0xd6),'LYrIC':_0x516f63(0xfa),'fcgmy':_0x516f63(0xd3),'KDmac':_0x516f63(0xc0),'aMpGJ':_0x516f63(0xf5)},_0x1691f3=_0x104165[_0x516f63(0xfd)]['split']('|'),_0x323c0f=0x0;while(!![]){switch(_0x1691f3[_0x323c0f++]){case'0':_0x237b49[_0x237b49[_0x104165['vRpJn']]=0xa]=_0x516f63(0x13a);continue;case'1':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x11f)]]=0x6]=_0x104165[_0x516f63(0x11f)];continue;case'2':_0x237b49[_0x237b49[_0x104165['URoDV']]=0x1]=_0x104165[_0x516f63(0xba)];continue;case'3':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x123)]]=0xe]=_0x104165[_0x516f63(0x123)];continue;case'4':_0x237b49[_0x237b49[_0x516f63(0x10c)]=0x7]=_0x516f63(0x10c);continue;case'5':_0x237b49[_0x237b49[_0x104165['zMfME']]=0x3]='FILE';continue;case'6':_0x237b49[_0x237b49[_0x516f63(0xfa)]=0xb]=_0x104165[_0x516f63(0x127)];continue;case'7':_0x237b49[_0x237b49[_0x104165['fcgmy']]=0x2]=_0x104165[_0x516f63(0x143)];continue;case'8':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x142)]]=0x5]=_0x104165[_0x516f63(0x142)];continue;case'9':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x138)]]=0x4]=_0x104165['aMpGJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x32f716){var _0x5f4e96=_0x1eff,_0x5a6a76={'YnPEN':'gif','mcJMu':'jpg'};_0x32f716[_0x32f716[_0x5a6a76[_0x5f4e96(0x12f)]]=0x7d0]=_0x5a6a76[_0x5f4e96(0x12f)],_0x32f716[_0x32f716[_0x5f4e96(0x144)]=0x3e8]=_0x5a6a76[_0x5f4e96(0xe1)];}(PicType||(PicType={})));export var PicSubType;(function(_0x54a039){var _0x42cafb=_0x1eff,_0x124eeb={'jZFIe':_0x42cafb(0x119),'QKzIp':_0x42cafb(0xc6)};_0x54a039[_0x54a039[_0x124eeb[_0x42cafb(0x12b)]]=0x0]=_0x124eeb[_0x42cafb(0x12b)],_0x54a039[_0x54a039[_0x42cafb(0xc6)]=0x1]=_0x124eeb['QKzIp'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0xf3b7b){var _0x22466d=_0x1eff,_0x95d600={'mMpuT':_0x22466d(0xf3),'vCjNh':'atAll','YXOnc':_0x22466d(0x146)};_0xf3b7b[_0xf3b7b[_0x95d600[_0x22466d(0x141)]]=0x0]=_0x22466d(0xf3),_0xf3b7b[_0xf3b7b['atAll']=0x1]=_0x95d600[_0x22466d(0x111)],_0xf3b7b[_0xf3b7b[_0x95d600['YXOnc']]=0x2]=_0x95d600[_0x22466d(0x133)];}(AtType||(AtType={})));export var ChatType;(function(_0x4c9e9e){var _0x3ed32a=_0x1eff,_0x3cc285={'cfypE':_0x3ed32a(0x13c),'ERnio':_0x3ed32a(0x147),'YeOvC':'chatDevice','oXNui':'temp'};_0x4c9e9e[_0x4c9e9e[_0x3ed32a(0x13c)]=0x1]=_0x3cc285[_0x3ed32a(0x134)],_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x11e)]]=0x2]='group',_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x108)]]=0x8]=_0x3ed32a(0xed),_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0xe9)]]=0x64]=_0x3ed32a(0xe6);}(ChatType||(ChatType={})));export var ChatType2;function _0x1eff(_0x10301d,_0x365f33){var _0x10399b=_0x1039();return _0x1eff=function(_0x1eff99,_0x4a9c94){_0x1eff99=_0x1eff99-0xb3;var _0x187b74=_0x10399b[_0x1eff99];return _0x187b74;},_0x1eff(_0x10301d,_0x365f33);}(function(_0x59b4f8){var _0x826447=_0x1eff,_0x3e677a={'UpadC':_0x826447(0x14b),'gdzxo':_0x826447(0xd1),'ymTzB':_0x826447(0xfc),'dGxuA':_0x826447(0x11d),'HxAvR':'KCHATTYPEGUILDMETA','Srabh':_0x826447(0xf9),'HSfGZ':'KCHATTYPETEMPC2CFROMUNKNOWN','BhERW':_0x826447(0xeb),'WaOsm':_0x826447(0x13e),'gPvrK':_0x826447(0xf4),'yoRiB':_0x826447(0x104),'XsgTm':_0x826447(0xc9),'vyWwv':'KCHATTYPEGROUPNOTIFY','iCOcV':_0x826447(0xca),'IKynV':'KCHATTYPENEARBYINTERACT','HxSDB':'KCHATTYPETEMPADDRESSBOOK','hvOop':_0x826447(0x101),'cFaKb':_0x826447(0xd8),'xBFCu':'KCHATTYPETEMPBUSSINESSCRM','zhKtV':'KCHATTYPENEARBY','MFyma':'KCHATTYPETEMPWPA','JkRtK':_0x826447(0xc5),'leaCO':_0x826447(0x102),'WAjpr':_0x826447(0x129),'qqjnz':_0x826447(0xbd),'FhvhA':_0x826447(0x135),'twqNy':_0x826447(0xe5),'odZZI':_0x826447(0xcb),'ivnKv':'KCHATTYPEQQNOTIFY','rEOiI':_0x826447(0x139),'isgtv':_0x826447(0x118),'dbmas':_0x826447(0x132),'aQXDw':_0x826447(0x117),'iknPI':_0x826447(0x100),'FXspJ':_0x826447(0xe3),'PfPWg':'KCHATTYPEGUILD','KAGlN':_0x826447(0x124),'bxEez':_0x826447(0x13f),'VmnqA':_0x826447(0xdf),'yVqzH':_0x826447(0x112)},_0x5db81b=_0x3e677a[_0x826447(0xbb)][_0x826447(0xe0)]('|'),_0x54374d=0x0;while(!![]){switch(_0x5db81b[_0x54374d++]){case'0':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10a)]]=0x69]='KCHATTYPEGAMEMESSAGE';continue;case'1':_0x59b4f8[_0x59b4f8[_0x3e677a['ymTzB']]=0x8]=_0x3e677a[_0x826447(0x121)];continue;case'2':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x103)]]=0x2]=_0x3e677a[_0x826447(0x103)];continue;case'3':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x149)]]=0x10]=_0x3e677a['HxAvR'];continue;case'4':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x106)]]=0x76]=_0x3e677a['Srabh'];continue;case'5':_0x59b4f8[_0x59b4f8[_0x826447(0xf1)]=0x63]=_0x3e677a[_0x826447(0x140)];continue;case'6':_0x59b4f8[_0x59b4f8[_0x3e677a['BhERW']]=0x6b]=_0x826447(0xeb);continue;case'7':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xea)]]=0x65]=_0x3e677a['WaOsm'];continue;case'8':_0x59b4f8[_0x59b4f8[_0x3e677a['gPvrK']]=0x29]=_0x3e677a[_0x826447(0xd9)];continue;case'9':_0x59b4f8[_0x59b4f8['KCHATTYPEGAMEMESSAGEFOLDER']=0x74]=_0x3e677a['yoRiB'];continue;case'10':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xde)]]=0x70]='KCHATTYPENEARBYHELLOFOLDER';continue;case'11':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11a)]]=0x6]=_0x3e677a['vyWwv'];continue;case'12':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xc2)]]=0xc9]=_0x3e677a[_0x826447(0xc2)];continue;case'13':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x14c)]]=0x6c]=_0x3e677a[_0x826447(0x14c)];continue;case'14':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x13d)]]=0x6f]=_0x3e677a[_0x826447(0x13d)];continue;case'15':_0x59b4f8[_0x59b4f8[_0x826447(0xe2)]=0x7]=_0x826447(0xe2);continue;case'16':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf7)]]=0x6e]=_0x3e677a[_0x826447(0xf7)];continue;case'17':_0x59b4f8[_0x59b4f8[_0x3e677a['cFaKb']]=0x6d]=_0x826447(0xd8);continue;case'18':_0x59b4f8[_0x59b4f8[_0x3e677a['xBFCu']]=0x66]=_0x3e677a[_0x826447(0xcf)];continue;case'19':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11c)]]=0x6a]=_0x3e677a[_0x826447(0x11c)];continue;case'20':_0x59b4f8[_0x59b4f8[_0x3e677a['MFyma']]=0x75]=_0x3e677a['MFyma'];continue;case'21':_0x59b4f8[_0x59b4f8[_0x826447(0xc5)]=0x67]=_0x3e677a['JkRtK'];continue;case'22':_0x59b4f8[_0x59b4f8[_0x3e677a['leaCO']]=0x83]=_0x3e677a[_0x826447(0x107)];continue;case'23':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf8)]]=0x1]=_0x826447(0x129);continue;case'24':_0x59b4f8[_0x59b4f8[_0x3e677a['qqjnz']]=0x71]=_0x3e677a['qqjnz'];continue;case'25':_0x59b4f8[_0x59b4f8[_0x3e677a['FhvhA']]=0x86]=_0x3e677a[_0x826447(0xdc)];continue;case'26':_0x59b4f8[_0x59b4f8[_0x3e677a['twqNy']]=0x77]=_0x3e677a[_0x826447(0x109)];continue;case'27':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10f)]]=0x5]=_0x3e677a['odZZI'];continue;case'28':_0x59b4f8[_0x59b4f8[_0x3e677a['ivnKv']]=0x84]=_0x3e677a[_0x826447(0xc3)];continue;case'29':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x137)]]=0x9]=_0x3e677a[_0x826447(0x137)];continue;case'30':_0x59b4f8[_0x59b4f8[_0x826447(0x118)]=0x0]=_0x3e677a[_0x826447(0xbe)];continue;case'31':_0x59b4f8[_0x59b4f8[_0x3e677a['dbmas']]=0x64]=_0x3e677a[_0x826447(0xe7)];continue;case'32':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb5)]]=0x3]=_0x826447(0x117);continue;case'33':_0x59b4f8[_0x59b4f8[_0x826447(0x100)]=0x1e]=_0x3e677a[_0x826447(0x12d)];continue;case'34':_0x59b4f8[_0x59b4f8[_0x3e677a['FXspJ']]=0x73]=_0x3e677a[_0x826447(0xd7)];continue;case'35':_0x59b4f8[_0x59b4f8[_0x826447(0x148)]=0x4]=_0x3e677a[_0x826447(0x110)];continue;case'36':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf6)]]=0x68]=_0x3e677a[_0x826447(0xf6)];continue;case'37':_0x59b4f8[_0x59b4f8['KCHATTYPEADELIE']=0x2a]=_0x3e677a[_0x826447(0xb4)];continue;case'38':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb3)]]=0x28]=_0x3e677a[_0x826447(0xb3)];continue;case'39':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xd0)]]=0x85]=_0x826447(0x112);continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x1614fa(0x12a);export var GrayTipElementSubType;(function(_0x3ce51b){var _0xd50e3c=_0x1614fa,_0x42288d={'EClfR':_0xd50e3c(0x126),'qEGBi':_0xd50e3c(0xb7)};_0x3ce51b[_0x3ce51b[_0x42288d[_0xd50e3c(0x12c)]]=0xc]=_0x42288d[_0xd50e3c(0x12c)],_0x3ce51b[_0x3ce51b['MEMBER_NEW_TITLE']=0x11]=_0x42288d[_0xd50e3c(0xec)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x14928e){var _0x38795b=_0x1614fa,_0x36f98e={'WzEel':_0x38795b(0x119),'BKpgQ':_0x38795b(0xdd),'jxxtR':_0x38795b(0xdb)};_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xd5)]]=0x1]=_0x36f98e[_0x38795b(0xd5)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xcc)]]=0x2]=_0x36f98e[_0x38795b(0xcc)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xda)]]=0x3]=_0x36f98e[_0x38795b(0xda)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3424f5){var _0x558f78=_0x1614fa,_0x28fde4={'kLDuE':'dice','fvnPy':_0x558f78(0xef)};_0x3424f5[_0x3424f5[_0x28fde4['kLDuE']]=0x166]=_0x28fde4[_0x558f78(0xbc)],_0x3424f5[_0x3424f5[_0x28fde4[_0x558f78(0xe8)]]=0x167]=_0x28fde4[_0x558f78(0xe8)];}(FaceIndex||(FaceIndex={})));export var viedo_type;function _0x1039(){var _0x55db1a=['KCHATTYPECIRCLE','isgtv','QpfxF','VIDEO','FACE','iCOcV','ivnKv','VIDEO_FORMAT_MOD','KCHATTYPETEMPPUBLICACCOUNT','face','104EljVqz','83427vWNYGX','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEBUDDYNOTIFY','BKpgQ','ban','61385rSngqT','xBFCu','yVqzH','KCHATTYPEGAMEMESSAGE','VIDEO_FORMAT_MKV','PIC','xNzzn','WzEel','FILE','FXspJ','KCHATTYPEMATCHFRIENDFOLDER','gPvrK','jxxtR','dice','FhvhA','normal2','XsgTm','KCHATTYPEWEIYUN','split','mcJMu','KCHATTYPEGROUPHELPER','KCHATTYPESQUAREPUBLIC','memberIncrease','KCHATTYPETEMPNEARBYPRO','temp','dbmas','fvnPy','oXNui','WaOsm','KCHATTYPENEARBYASSISTANT','qEGBi','chatDevice','VIDEO_FORMAT_TS','RPS','VIDEO_FORMAT_AFS','KCHATTYPETEMPC2CFROMUNKNOWN','GcMpj','notAt','KCHATTYPEFAV','PTT','KAGlN','hvOop','WAjpr','KCHATTYPESERVICEASSISTANT','MFACE','ZJkdz','KCHATTYPEDATALINE','jwWqT','VIDEO_FORMAT_RM','13222220zKfuZq','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPENEARBYFOLDER','KCHATTYPERELATEACCOUNT','dGxuA','KCHATTYPEGAMEMESSAGEFOLDER','yBbYE','Srabh','leaCO','YeOvC','twqNy','gdzxo','VIDEO_FORMAT_RMVB','REPLY','2|7|5|9|8|1|4|0|6|3','MARKDOWN','odZZI','PfPWg','vCjNh','KCHATTYPEGROUPBLESS','TEXT','urwRF','KOphZ','6015268ivrbDc','KCHATTYPEDISC','KCHATTYPEUNKNOWN','normal','vyWwv','DJEYb','zhKtV','KCHATTYPEGROUP','ERnio','UrtYJ','NyEgY','ymTzB','102020RRwmrC','dVkSi','KCHATTYPEMATCHFRIEND','kicked','INVITE_NEW_MEMBER','LYrIC','VIDEO_FORMAT_MOV','KCHATTYPEC2C','https://multimedia.nt.qq.com.cn','jZFIe','EClfR','iknPI','HecPV','YnPEN','8uvAByk','0|7|10|3|6|5|4|9|1|2|8','KCHATTYPETEMPC2CFROMGROUP','YXOnc','cfypE','KCHATTYPEDATALINEMQQ','6PCSjae','rEOiI','aMpGJ','KCHATTYPEGROUPGUILD','ARK','VIDEO_FORMAT_MTS','friend','HxSDB','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPEADELIE','HSfGZ','mMpuT','KDmac','fcgmy','jpg','lLixS','atUser','group','KCHATTYPEGUILD','HxAvR','VIDEO_FORMAT_MP4','37|27|23|24|1|25|32|8|0|9|2|39|29|15|11|35|3|36|17|19|6|16|10|13|28|22|4|12|34|33|14|18|31|5|7|26|21|20|30|38','IKynV','BbtJb','VmnqA','bxEez','aQXDw','4988826kqHead','MEMBER_NEW_TITLE','84020JZnxgs','LPbpr','URoDV','UpadC','kLDuE'];_0x1039=function(){return _0x55db1a;};return _0x1039();}(function(_0x45c8d8){var _0x2295df=_0x1614fa,_0x536d4b={'jxgZg':_0x2295df(0x131),'NyEgY':_0x2295df(0xf0),'DJEYb':_0x2295df(0x10b),'LPbpr':_0x2295df(0xee),'urwRF':_0x2295df(0xc4),'KOphZ':_0x2295df(0x13b),'QpfxF':_0x2295df(0x14a),'lLixS':'VIDEO_FORMAT_AVI','GcMpj':'VIDEO_FORMAT_WMV','HecPV':_0x2295df(0xfe),'yBbYE':_0x2295df(0xd2)},_0x3dea0b=_0x536d4b['jxgZg']['split']('|'),_0x2ee285=0x0;while(!![]){switch(_0x3dea0b[_0x2ee285++]){case'0':_0x45c8d8[_0x45c8d8[_0x536d4b['NyEgY']]=0x7]=_0x536d4b[_0x2295df(0x120)];continue;case'1':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x11b)]]=0x5]=_0x2295df(0x10b);continue;case'2':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xb9)]]=0xa]=_0x2295df(0xee);continue;case'3':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x114)]]=0x9]='VIDEO_FORMAT_MOD';continue;case'4':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x115)]]=0xb]=_0x536d4b[_0x2295df(0x115)];continue;case'5':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xbf)]]=0x2]=_0x536d4b[_0x2295df(0xbf)];continue;case'6':_0x45c8d8[_0x45c8d8[_0x2295df(0x128)]=0x8]=_0x2295df(0x128);continue;case'7':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x145)]]=0x1]=_0x536d4b['lLixS'];continue;case'8':_0x45c8d8[_0x45c8d8['VIDEO_FORMAT_WMV']=0x3]=_0x536d4b[_0x2295df(0xf2)];continue;case'9':_0x45c8d8[_0x45c8d8[_0x2295df(0xfe)]=0x6]=_0x536d4b[_0x2295df(0x12e)];continue;case'10':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x105)]]=0x4]=_0x536d4b['yBbYE'];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x565c7b){var _0x2447f8=_0x1614fa,_0x351463={'BbtJb':_0x2447f8(0xe4),'ZJkdz':_0x2447f8(0x125),'xNzzn':'ban'};_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0x14d)]]=0x1]=_0x351463[_0x2447f8(0x14d)],_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0xfb)]]=0x3]=_0x351463[_0x2447f8(0xfb)],_0x565c7b[_0x565c7b[_0x2447f8(0xcd)]=0x8]=_0x351463[_0x2447f8(0xd4)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x4d00ca=_0x1297;(function(_0x1bf004,_0x552004){var _0x456e96=_0x1297,_0x3e2143=_0x1bf004();while(!![]){try{var _0x280bbb=parseInt(_0x456e96(0xbc))/0x1+-parseInt(_0x456e96(0xb9))/0x2+parseInt(_0x456e96(0xce))/0x3+-parseInt(_0x456e96(0xe9))/0x4*(parseInt(_0x456e96(0x92))/0x5)+parseInt(_0x456e96(0x84))/0x6*(parseInt(_0x456e96(0xf9))/0x7)+parseInt(_0x456e96(0xfe))/0x8*(parseInt(_0x456e96(0x7c))/0x9)+parseInt(_0x456e96(0xae))/0xa;if(_0x280bbb===_0x552004)break;else _0x3e2143['push'](_0x3e2143['shift']());}catch(_0x45d4bc){_0x3e2143['push'](_0x3e2143['shift']());}}}(_0xa491,0x3f8e3));export var ElementType;(function(_0x20f61e){var _0x27c0e0=_0x1297,_0xdd56ad={'odjDA':_0x27c0e0(0x96),'BWJkD':_0x27c0e0(0xe8),'tYuhp':'TEXT','rnOiJ':_0x27c0e0(0x91),'sTALN':_0x27c0e0(0xfd),'HVJyW':_0x27c0e0(0xd3),'igbII':'ARK','sShyn':_0x27c0e0(0xd8),'OXXPa':'PTT','EisyU':'PIC'},_0x4a1544='2|9|3|8|0|4|1|6|5|7'['split']('|'),_0x559eb8=0x0;while(!![]){switch(_0x4a1544[_0x559eb8++]){case'0':_0x20f61e[_0x20f61e[_0xdd56ad['odjDA']]=0x5]=_0xdd56ad[_0x27c0e0(0xbf)];continue;case'1':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xbd)]]=0x7]=_0xdd56ad[_0x27c0e0(0xbd)];continue;case'2':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xe3)]]=0x1]=_0x27c0e0(0xed);continue;case'3':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x9b)]]=0x3]=_0xdd56ad['rnOiJ'];continue;case'4':_0x20f61e[_0x20f61e[_0x27c0e0(0xfd)]=0x6]=_0xdd56ad[_0x27c0e0(0x94)];continue;case'5':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xd0)]]=0xb]=_0xdd56ad[_0x27c0e0(0xd0)];continue;case'6':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xb7)]]=0xa]=_0xdd56ad[_0x27c0e0(0xb7)];continue;case'7':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x83)]]=0xe]='MARKDOWN';continue;case'8':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xa6)]]=0x4]=_0xdd56ad['OXXPa'];continue;case'9':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xcb)]]=0x2]=_0xdd56ad[_0x27c0e0(0xcb)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x422260){var _0x41ecaa=_0x1297,_0x4f522c={'VvyWw':_0x41ecaa(0xb5),'Wluwd':_0x41ecaa(0xb6)};_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x8f)]]=0x7d0]=_0x4f522c[_0x41ecaa(0x8f)],_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x9d)]]=0x3e8]=_0x4f522c[_0x41ecaa(0x9d)];}(PicType||(PicType={})));export var PicSubType;function _0xa491(){var _0x51ab0b=['KCHATTYPECIRCLE','KCHATTYPESQUAREPUBLIC','QnZLp','split','Hdbbw','KCHATTYPENEARBYHELLOFOLDER','5599880CjsEjF','group','INVITE_NEW_MEMBER','SHYhv','face','https://multimedia.nt.qq.com.cn','WFwdl','gif','jpg','igbII','AiaBQ','892296CxyCgt','QSgZM','normal2','3694qrGZNw','BWJkD','bXIjw','odjDA','zRWwI','mCink','KCHATTYPESERVICEASSISTANTSUB','iOGjA','dice','ImbNF','xftGC','KCHATTYPEGROUPGUILD','NDyxE','otbcd','KCHATTYPEC2C','EisyU','mWDYF','friend','602889eNPkKm','Jruvn','HVJyW','VIDEO_FORMAT_RM','yfHas','MFACE','kidur','atAll','KCHATTYPEDISC','KCHATTYPEMATCHFRIENDFOLDER','MARKDOWN','VIDEO_FORMAT_RMVB','Vcbuv','RtIyq','hCmFB','6|10|8|5|9|4|2|0|3|1|7','temp','TZrxo','https://gchat.qpic.cn','KsyDP','GQZKc','tYuhp','KCHATTYPETEMPC2CFROMUNKNOWN','KCHATTYPEUNKNOWN','KCHATTYPESERVICEASSISTANT','oDVUF','REPLY','20siOGVg','VIDEO_FORMAT_AFS','Izklp','AWMeg','TEXT','KCHATTYPEGROUP','joffG','KCHATTYPEFAV','kicked','KCHATTYPENEARBYINTERACT','VIDEO_FORMAT_MOD','cuMDI','hcGjG','memberIncrease','VIDEO_FORMAT_MKV','AezDW','2108372FffgjE','normal','sBUTM','chatDevice','FACE','36720WySRna','KCHATTYPEQQNOTIFY','Qfrhq','KCHATTYPEGAMEMESSAGEFOLDER','uXNdV','yNuvX','CPCqA','CunFf','notAt','VIDEO_FORMAT_MOV','KCHATTYPEDATALINEMQQ','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGAMEMESSAGE','297sMUidJ','jXoiY','hJCQf','KCHATTYPEBUDDYNOTIFY','KCHATTYPEMATCHFRIEND','RPS','MdarR','sShyn','6QWrexi','KCHATTYPESUBSCRIBEFOLDER','BcPZz','atUser','wfPhO','qvKMt','KCHATTYPEGUILDMETA','zqEnF','KCHATTYPEWEIYUN','KCHATTYPETEMPBUSSINESSCRM','VnAMM','VvyWw','CBLtT','FILE','510840owCHyD','KCHATTYPENEARBY','sTALN','bjJHi','VIDEO','ijhQV','ZMwrS','KCHATTYPEADELIE','NLDBx','rnOiJ','KCHATTYPEGUILD','Wluwd','KCHATTYPERELATEACCOUNT','IFMfb','wouDE','VIDEO_FORMAT_MTS','bGkST','KCHATTYPETEMPWPA','KCHATTYPETEMPPUBLICACCOUNT','VIDEO_FORMAT_MP4','OXXPa','KCHATTYPEGROUPNOTIFY'];_0xa491=function(){return _0x51ab0b;};return _0xa491();}(function(_0x348f9f){var _0x55d07a=_0x1297,_0x58aa62={'AezDW':_0x55d07a(0xfa),'CunFf':_0x55d07a(0xb2)};_0x348f9f[_0x348f9f[_0x55d07a(0xfa)]=0x0]=_0x58aa62[_0x55d07a(0xf8)],_0x348f9f[_0x348f9f[_0x58aa62[_0x55d07a(0x76)]]=0x1]=_0x58aa62[_0x55d07a(0x76)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3fe3fa){var _0x105e37=_0x1297,_0x1fb1a6={'otbcd':_0x105e37(0x77),'iOGjA':_0x105e37(0xd5),'mWDYF':_0x105e37(0x87)};_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc9)]]=0x0]=_0x1fb1a6[_0x105e37(0xc9)],_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc3)]]=0x1]=_0x1fb1a6[_0x105e37(0xc3)],_0x3fe3fa[_0x3fe3fa[_0x105e37(0x87)]=0x2]=_0x1fb1a6[_0x105e37(0xcc)];}(AtType||(AtType={})));export var ChatType;(function(_0x5e1bc1){var _0x315ad5=_0x1297,_0x2ca66e={'yNuvX':'friend','QnZLp':_0x315ad5(0xfc)};_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xcd)]=0x1]=_0x2ca66e[_0x315ad5(0x74)],_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xaf)]=0x2]=_0x315ad5(0xaf),_0x5e1bc1[_0x5e1bc1[_0x2ca66e[_0x315ad5(0xaa)]]=0x8]=_0x2ca66e[_0x315ad5(0xaa)],_0x5e1bc1[_0x5e1bc1[_0x315ad5(0xde)]=0x64]=_0x315ad5(0xde);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x19dc8a){var _0x3a53f1=_0x1297,_0x534755={'zmhuQ':'6|16|39|2|24|33|8|25|17|0|7|23|34|35|31|27|4|18|30|32|10|22|11|3|12|5|29|38|1|20|37|21|15|13|19|9|26|14|28|36','Vcbuv':_0x3a53f1(0x72),'GzlnS':_0x3a53f1(0xa9),'AWMeg':_0x3a53f1(0xa8),'AiaBQ':_0x3a53f1(0xf2),'GQZKc':_0x3a53f1(0x8a),'MhoQH':_0x3a53f1(0x99),'snXdJ':_0x3a53f1(0xee),'TZrxo':_0x3a53f1(0xd6),'yfHas':_0x3a53f1(0x7a),'KsyDP':'KCHATTYPENEARBYASSISTANT','MdarR':_0x3a53f1(0xad),'wfPhO':_0x3a53f1(0xe4),'wouDE':'KCHATTYPETEMPWPA','hJCQf':'KCHATTYPETEMPC2CFROMGROUP','NDyxE':_0x3a53f1(0x7f),'Izklp':_0x3a53f1(0x7b),'bXIjw':_0x3a53f1(0x80),'jXoiY':'KCHATTYPETEMPFRIENDVERIFY','zRWwI':_0x3a53f1(0x85),'mCink':_0x3a53f1(0x8d),'oDVUF':'KCHATTYPENEARBYFOLDER','bjJHi':'KCHATTYPEGROUPBLESS','NLDBx':'KCHATTYPEDATALINE','QSgZM':_0x3a53f1(0xf0),'qvKMt':_0x3a53f1(0xa4),'RtIyq':_0x3a53f1(0x9c),'Hdbbw':_0x3a53f1(0xe5),'uXNdV':_0x3a53f1(0xe6),'UFlMU':_0x3a53f1(0xd7),'DIOSI':_0x3a53f1(0xa7),'kidur':_0x3a53f1(0x93),'CBLtT':_0x3a53f1(0x79),'VnAMM':'KCHATTYPEGROUPGUILD','gLlvY':'KCHATTYPEGROUPHELPER','ZMwrS':_0x3a53f1(0x8c),'BcPZz':'KCHATTYPETEMPADDRESSBOOK','xftGC':_0x3a53f1(0xca)},_0x4ff066=_0x534755['zmhuQ']['split']('|'),_0x4f5953=0x0;while(!![]){switch(_0x4ff066[_0x4f5953++]){case'0':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xda)]]=0x74]=_0x3a53f1(0x72);continue;case'1':_0x19dc8a[_0x19dc8a[_0x534755['GzlnS']]=0x73]=_0x3a53f1(0xa9);continue;case'2':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xec)]]=0x71]=_0x534755[_0x3a53f1(0xec)];continue;case'3':_0x19dc8a[_0x19dc8a[_0x534755['AiaBQ']]=0x6c]=_0x534755[_0x3a53f1(0xb8)];continue;case'4':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe2)]]=0x10]=_0x3a53f1(0x8a);continue;case'5':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x9e)]=0x83]=_0x3a53f1(0x9e);continue;case'6':_0x19dc8a[_0x19dc8a[_0x534755['MhoQH']]=0x2a]=_0x534755['MhoQH'];continue;case'7':_0x19dc8a[_0x19dc8a[_0x534755['snXdJ']]=0x2]=_0x3a53f1(0xee);continue;case'8':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xd6)]=0x3]=_0x534755[_0x3a53f1(0xdf)];continue;case'9':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xd2)]]=0x77]=_0x3a53f1(0x7a);continue;case'10':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe1)]]=0x6b]=_0x534755[_0x3a53f1(0xe1)];continue;case'11':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xad)]=0x70]=_0x534755[_0x3a53f1(0x82)];continue;case'12':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x70)]=0x84]=_0x3a53f1(0x70);continue;case'13':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x88)]]=0x63]=_0x534755[_0x3a53f1(0x88)];continue;case'14':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xa0)]]=0x75]=_0x3a53f1(0xa3);continue;case'15':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x7e)]]=0x64]=_0x534755[_0x3a53f1(0x7e)];continue;case'16':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xc8)]]=0x5]=_0x534755[_0x3a53f1(0xc8)];continue;case'17':_0x19dc8a[_0x19dc8a[_0x3a53f1(0x7b)]=0x69]=_0x534755[_0x3a53f1(0xeb)];continue;case'18':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xbe)]]=0x68]=_0x534755[_0x3a53f1(0xbe)];continue;case'19':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x7d)]]=0x65]=_0x534755[_0x3a53f1(0x7d)];continue;case'20':_0x19dc8a[_0x19dc8a[_0x534755['zRWwI']]=0x1e]=_0x534755[_0x3a53f1(0xc0)];continue;case'21':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xc1)]]=0x66]=_0x534755[_0x3a53f1(0xc1)];continue;case'22':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xe7)]]=0x6e]=_0x534755[_0x3a53f1(0xe7)];continue;case'23':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x95)]]=0x85]='KCHATTYPEGROUPBLESS';continue;case'24':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x9a)]]=0x8]=_0x534755[_0x3a53f1(0x9a)];continue;case'25':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xf0)]=0x29]=_0x534755[_0x3a53f1(0xba)];continue;case'26':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x89)]]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;case'27':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xdb)]]=0x4]=_0x3a53f1(0x9c);continue;case'28':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xac)]]=0x0]=_0x534755[_0x3a53f1(0xac)];continue;case'29':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x73)]]=0x76]=_0x534755[_0x3a53f1(0x73)];continue;case'30':_0x19dc8a[_0x19dc8a[_0x534755['UFlMU']]=0x6d]=_0x3a53f1(0xd7);continue;case'31':_0x19dc8a[_0x19dc8a[_0x534755['DIOSI']]=0x6]='KCHATTYPEGROUPNOTIFY';continue;case'32':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0xd4)]]=0x6a]=_0x3a53f1(0x93);continue;case'33':_0x19dc8a[_0x19dc8a[_0x534755['CBLtT']]=0x86]=_0x534755[_0x3a53f1(0x90)];continue;case'34':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xc7)]=0x9]=_0x534755[_0x3a53f1(0x8e)];continue;case'35':_0x19dc8a[_0x19dc8a[_0x534755['gLlvY']]=0x7]='KCHATTYPEGROUPHELPER';continue;case'36':_0x19dc8a[_0x19dc8a[_0x534755[_0x3a53f1(0x98)]]=0x28]=_0x534755[_0x3a53f1(0x98)];continue;case'37':_0x19dc8a[_0x19dc8a['KCHATTYPETEMPADDRESSBOOK']=0x6f]=_0x534755[_0x3a53f1(0x86)];continue;case'38':_0x19dc8a[_0x19dc8a['KCHATTYPESERVICEASSISTANTSUB']=0xc9]=_0x3a53f1(0xc2);continue;case'39':_0x19dc8a[_0x19dc8a[_0x3a53f1(0xca)]=0x1]=_0x534755[_0x3a53f1(0xc6)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x4d00ca(0xe0);export const IMAGE_HTTP_HOST_NT=_0x4d00ca(0xb3);export var GrayTipElementSubType;(function(_0x347941){var _0xb6cc11=_0x4d00ca,_0x44369d={'hCmFB':_0xb6cc11(0xb0),'hcGjG':'MEMBER_NEW_TITLE'};_0x347941[_0x347941['INVITE_NEW_MEMBER']=0xc]=_0x44369d[_0xb6cc11(0xdc)],_0x347941[_0x347941[_0x44369d[_0xb6cc11(0xf5)]]=0x11]=_0x44369d[_0xb6cc11(0xf5)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x1a3218){var _0x2daa82=_0x4d00ca,_0x11e13d={'Jruvn':'normal','YxXPk':_0x2daa82(0xbb),'joffG':_0x2daa82(0xc4)};_0x1a3218[_0x1a3218[_0x11e13d[_0x2daa82(0xcf)]]=0x1]=_0x2daa82(0xfa),_0x1a3218[_0x1a3218[_0x2daa82(0xbb)]=0x2]=_0x11e13d['YxXPk'],_0x1a3218[_0x1a3218[_0x11e13d[_0x2daa82(0xef)]]=0x3]=_0x11e13d[_0x2daa82(0xef)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x56770d){var _0x5543e9=_0x4d00ca,_0x2a4b70={'Qfrhq':_0x5543e9(0xc4),'bGkST':_0x5543e9(0x81)};_0x56770d[_0x56770d[_0x2a4b70['Qfrhq']]=0x166]=_0x2a4b70[_0x5543e9(0x71)],_0x56770d[_0x56770d[_0x2a4b70[_0x5543e9(0xa2)]]=0x167]=_0x2a4b70['bGkST'];}(FaceIndex||(FaceIndex={})));function _0x1297(_0x5a2471,_0x3cc551){var _0xa491ca=_0xa491();return _0x1297=function(_0x12975d,_0x290b66){_0x12975d=_0x12975d-0x70;var _0xdfcd7d=_0xa491ca[_0x12975d];return _0xdfcd7d;},_0x1297(_0x5a2471,_0x3cc551);}export var viedo_type;(function(_0x1dae26){var _0x26a5cb=_0x4d00ca,_0x115c35={'ImbNF':'VIDEO_FORMAT_TS','zmWKx':_0x26a5cb(0xa1),'IFMfb':_0x26a5cb(0xd9),'cuMDI':_0x26a5cb(0xa5),'wTtuM':_0x26a5cb(0xf3),'zqEnF':_0x26a5cb(0xea),'eitgS':'VIDEO_FORMAT_WMV','SHYhv':_0x26a5cb(0xf7),'ijhQV':_0x26a5cb(0x78),'uTVDR':'VIDEO_FORMAT_AVI'},_0x30b64d=_0x26a5cb(0xdd)[_0x26a5cb(0xab)]('|'),_0x592880=0x0;while(!![]){switch(_0x30b64d[_0x592880++]){case'0':_0x1dae26[_0x1dae26['VIDEO_FORMAT_RM']=0x6]=_0x26a5cb(0xd1);continue;case'1':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xc5)]]=0xa]=_0x115c35[_0x26a5cb(0xc5)];continue;case'2':_0x1dae26[_0x1dae26[_0x115c35['zmWKx']]=0xb]=_0x115c35['zmWKx'];continue;case'3':_0x1dae26[_0x1dae26['VIDEO_FORMAT_RMVB']=0x5]=_0x115c35[_0x26a5cb(0x9f)];continue;case'4':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xf4)]]=0x2]=_0x115c35[_0x26a5cb(0xf4)];continue;case'5':_0x1dae26[_0x1dae26[_0x26a5cb(0xf3)]=0x9]=_0x115c35['wTtuM'];continue;case'6':_0x1dae26[_0x1dae26[_0x26a5cb(0xea)]=0x7]=_0x115c35[_0x26a5cb(0x8b)];continue;case'7':_0x1dae26[_0x1dae26[_0x115c35['eitgS']]=0x3]=_0x115c35['eitgS'];continue;case'8':_0x1dae26[_0x1dae26[_0x115c35[_0x26a5cb(0xb1)]]=0x4]=_0x115c35[_0x26a5cb(0xb1)];continue;case'9':_0x1dae26[_0x1dae26[_0x26a5cb(0x78)]=0x8]=_0x115c35[_0x26a5cb(0x97)];continue;case'10':_0x1dae26[_0x1dae26[_0x115c35['uTVDR']]=0x1]='VIDEO_FORMAT_AVI';continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x78d7a2){var _0x4276ea=_0x4d00ca,_0x208912={'sBUTM':_0x4276ea(0xf6),'WFwdl':_0x4276ea(0xf1),'CPCqA':'ban'};_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0xfb)]]=0x1]=_0x208912['sBUTM'],_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0xb4)]]=0x3]=_0x208912['WFwdl'],_0x78d7a2[_0x78d7a2[_0x208912[_0x4276ea(0x75)]]=0x8]=_0x208912[_0x4276ea(0x75)];}(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 139f87c26..c885d101e 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x4bfd79,_0xa55aa0){var _0x17aaa9=_0x1dac,_0x387c4d=_0x4bfd79();while(!![]){try{var _0x19424f=parseInt(_0x17aaa9(0x1bd))/0x1+parseInt(_0x17aaa9(0x1ac))/0x2+-parseInt(_0x17aaa9(0x1a1))/0x3*(parseInt(_0x17aaa9(0x1b2))/0x4)+-parseInt(_0x17aaa9(0x1c4))/0x5*(parseInt(_0x17aaa9(0x1b5))/0x6)+-parseInt(_0x17aaa9(0x1b8))/0x7+parseInt(_0x17aaa9(0x1b9))/0x8+parseInt(_0x17aaa9(0x1b0))/0x9*(parseInt(_0x17aaa9(0x1b4))/0xa);if(_0x19424f===_0xa55aa0)break;else _0x387c4d['push'](_0x387c4d['shift']());}catch(_0x23f61d){_0x387c4d['push'](_0x387c4d['shift']());}}}(_0x86a8,0xca2de));function _0x1dac(_0x591e5a,_0x31f378){var _0x86a848=_0x86a8();return _0x1dac=function(_0x1dac03,_0x310b54){_0x1dac03=_0x1dac03-0x181;var _0x2e4e46=_0x86a848[_0x1dac03];return _0x2e4e46;},_0x1dac(_0x591e5a,_0x31f378);}export var GroupNotifyTypes;(function(_0x3c700d){var _0x559546=_0x1dac,_0x1f0033={'CXMde':_0x559546(0x1ab),'PHJsN':_0x559546(0x1bc),'keFtl':_0x559546(0x181),'JZLRS':_0x559546(0x1ae),'Hbndw':_0x559546(0x1a9),'fkjWt':_0x559546(0x1b3),'snanG':'ADMIN_SET'},_0x3e10a5=_0x559546(0x185)['split']('|'),_0x2bcc49=0x0;while(!![]){switch(_0x3e10a5[_0x2bcc49++]){case'0':_0x3c700d[_0x3c700d[_0x1f0033['CXMde']]=0xc]=_0x559546(0x1ab);continue;case'1':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x18c)]]=0x4]=_0x1f0033['PHJsN'];continue;case'2':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x195)]]=0x7]=_0x1f0033[_0x559546(0x195)];continue;case'3':_0x3c700d[_0x3c700d['KICK_MEMBER']=0x9]=_0x1f0033[_0x559546(0x1c1)];continue;case'4':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x19d)]]=0x1]=_0x1f0033[_0x559546(0x19d)];continue;case'5':_0x3c700d[_0x3c700d[_0x1f0033['fkjWt']]=0xd]='ADMIN_UNSET_OTHER';continue;case'6':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x199)]]=0x8]=_0x559546(0x1be);continue;case'7':_0x3c700d[_0x3c700d[_0x559546(0x183)]=0xb]=_0x559546(0x183);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x86a8(){var _0xe9f6b4=['dkdTM','WAIT_HANDLE','KMEINITIATOR','keFtl','KMEREFUSED','KMEIGNORED','xavol','snanG','REJECT','NEWGROUPTYPE','dYUrl','Hbndw','ocCwJ','GDVVj','ufUXe','70053xIbozy','KPEERAGREED','YaCHE','keHan','KMSGINFO','CjpuX','WOdUK','lpdxz','INVITE_ME','DEFAULTTYPE','ADMIN_UNSET','304848eUmxkK','7|11|1|13|0|4|8|10|5|2|12|9|3|6','KICK_MEMBER','xNtss','1035XtMpOB','PIIVg','36OsIeak','ADMIN_UNSET_OTHER','87230qWAvpA','160938pqMInq','KMEAGREED','FqOhH','7105609QsRcep','12570088KGQPzI','QBIwR','APPROVE','INVITED_JOIN','104409LHvxjk','ADMIN_SET','iGhTb','TITLETYPE','JZLRS','approve','BFxRR','145ZzHBob','JOIN_REQUEST','KMEAGREEANDADDFAILED','MEMBER_EXIT','KMEAGREEDANDADDED','4|1|2|6|3|7|0|5','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','KPEERREFUSED','LoaqN','dpeOZ','reject','PHJsN','KPEERAGREEDANDADDED','IGNORE','KMESETQUESTION','split','ZeQIn'];_0x86a8=function(){return _0xe9f6b4;};return _0x86a8();}(function(_0x264328){var _0x2f6b91=_0x1dac,_0x1a02bb={'iGhTb':_0x2f6b91(0x193),'ufUXe':_0x2f6b91(0x19a)};_0x264328[_0x264328[_0x2f6b91(0x18e)]=0x0]=_0x2f6b91(0x18e),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1bf)]]=0x1]=_0x1a02bb[_0x2f6b91(0x1bf)],_0x264328[_0x264328[_0x2f6b91(0x1bb)]=0x2]=_0x2f6b91(0x1bb),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1a0)]]=0x3]=_0x1a02bb[_0x2f6b91(0x1a0)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x200b73){var _0x196d1d=_0x1dac,_0xcf71e1={'lpdxz':_0x196d1d(0x1c2),'dpeOZ':_0x196d1d(0x18b)};_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x1a8)]]=0x1]=_0xcf71e1[_0x196d1d(0x1a8)],_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x18a)]]=0x2]=_0x196d1d(0x18b);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0xca9243){var _0x1b43de=_0x1dac,_0x118008={'xavol':_0x1b43de(0x1ad),'dkdTM':_0x1b43de(0x1a2),'GDVVj':_0x1b43de(0x1b6),'FqOhH':_0x1b43de(0x186),'ZeQIn':_0x1b43de(0x1a5),'PIIVg':_0x1b43de(0x18d),'WSoDo':_0x1b43de(0x197),'QBIwR':_0x1b43de(0x187),'WOdUK':_0x1b43de(0x194),'xNtss':_0x1b43de(0x188),'dYUrl':_0x1b43de(0x182),'LoaqN':_0x1b43de(0x196),'YaCHE':'KPEERINITIATOR','CjpuX':_0x1b43de(0x18f),'JbVnI':_0x1b43de(0x184)},_0x175cab=_0x118008[_0x1b43de(0x198)][_0x1b43de(0x190)]('|'),_0x251f59=0x0;while(!![]){switch(_0x175cab[_0x251f59++]){case'0':_0xca9243[_0xca9243[_0x1b43de(0x1a2)]=0x4]=_0x118008[_0x1b43de(0x192)];continue;case'1':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x19f)]]=0x2]=_0x1b43de(0x1b6);continue;case'2':_0xca9243[_0xca9243[_0x118008['FqOhH']]=0x9]=_0x118008[_0x1b43de(0x1b7)];continue;case'3':_0xca9243[_0xca9243[_0x1b43de(0x1a5)]=0xc]=_0x118008[_0x1b43de(0x191)];continue;case'4':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1b1)]]=0x5]=_0x118008[_0x1b43de(0x1b1)];continue;case'5':_0xca9243[_0xca9243[_0x118008['WSoDo']]=0x8]=_0x1b43de(0x197);continue;case'6':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1ba)]]=0xd]=_0x118008[_0x1b43de(0x1ba)];continue;case'7':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a7)]]=0x0]=_0x118008['WOdUK'];continue;case'8':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1af)]]=0x6]=_0x1b43de(0x188);continue;case'9':_0xca9243[_0xca9243[_0x118008['dYUrl']]=0xb]=_0x118008[_0x1b43de(0x19c)];continue;case'10':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x189)]]=0x7]=_0x118008[_0x1b43de(0x189)];continue;case'11':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a3)]]=0x1]=_0x118008[_0x1b43de(0x1a3)];continue;case'12':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a6)]]=0xa]=_0x1b43de(0x18f);continue;case'13':_0xca9243[_0xca9243['KMEAGREEDANDADDED']=0x3]=_0x118008['JbVnI'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0xdd2bd7){var _0x3c9716=_0x1dac,_0x10fe99={'ocCwJ':_0x3c9716(0x1aa),'BFxRR':_0x3c9716(0x1c0),'keHan':_0x3c9716(0x19b)};_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x19e)]]=0x0]=_0x10fe99['ocCwJ'],_0xdd2bd7[_0xdd2bd7[_0x10fe99['BFxRR']]=0x1]=_0x10fe99[_0x3c9716(0x1c3)],_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x1a4)]]=0x2]=_0x10fe99[_0x3c9716(0x1a4)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x28d397,_0x44f325){var _0x2808eb=_0x2092,_0x306978=_0x28d397();while(!![]){try{var _0x5ab07b=-parseInt(_0x2808eb(0x197))/0x1*(-parseInt(_0x2808eb(0x19f))/0x2)+parseInt(_0x2808eb(0x18d))/0x3+-parseInt(_0x2808eb(0x1a7))/0x4+-parseInt(_0x2808eb(0x1c0))/0x5+parseInt(_0x2808eb(0x1b0))/0x6+-parseInt(_0x2808eb(0x1c1))/0x7+parseInt(_0x2808eb(0x1c5))/0x8*(parseInt(_0x2808eb(0x1b6))/0x9);if(_0x5ab07b===_0x44f325)break;else _0x306978['push'](_0x306978['shift']());}catch(_0x351279){_0x306978['push'](_0x306978['shift']());}}}(_0x3a7c,0x665b9));export var GroupNotifyTypes;(function(_0x553484){var _0x3dfdd9=_0x2092,_0x21c5bc={'gTmHd':_0x3dfdd9(0x1ab),'xRxRX':_0x3dfdd9(0x1a4),'KGLQo':_0x3dfdd9(0x19b),'mPclE':_0x3dfdd9(0x1ba),'nkjZx':_0x3dfdd9(0x18e),'uGZVi':_0x3dfdd9(0x1b1),'kTEWi':_0x3dfdd9(0x1b2),'EFmgl':'ADMIN_UNSET_OTHER'};_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1c2)]]=0x1]=_0x21c5bc[_0x3dfdd9(0x1c2)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1ad)]]=0x4]=_0x3dfdd9(0x1a4),_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a6)]]=0x7]=_0x21c5bc[_0x3dfdd9(0x1a6)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1bd)]]=0x8]=_0x21c5bc[_0x3dfdd9(0x1bd)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x18b)]]=0x9]=_0x21c5bc[_0x3dfdd9(0x18b)],_0x553484[_0x553484[_0x3dfdd9(0x1b1)]=0xb]=_0x21c5bc[_0x3dfdd9(0x19a)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a9)]]=0xc]=_0x21c5bc[_0x3dfdd9(0x1a9)],_0x553484[_0x553484[_0x21c5bc['EFmgl']]=0xd]=_0x3dfdd9(0x18f);}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5a32b7){var _0x2d2569=_0x2092,_0x41bcd0={'ylgxv':'IGNORE','YDotF':_0x2d2569(0x1cc),'FlrMj':_0x2d2569(0x19e),'tlHYb':_0x2d2569(0x1a2)};_0x5a32b7[_0x5a32b7['IGNORE']=0x0]=_0x41bcd0[_0x2d2569(0x1be)],_0x5a32b7[_0x5a32b7[_0x2d2569(0x1cc)]=0x1]=_0x41bcd0[_0x2d2569(0x1aa)],_0x5a32b7[_0x5a32b7[_0x41bcd0[_0x2d2569(0x1a1)]]=0x2]=_0x41bcd0[_0x2d2569(0x1a1)],_0x5a32b7[_0x5a32b7[_0x41bcd0['tlHYb']]=0x3]=_0x41bcd0[_0x2d2569(0x196)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x41999a){var _0x396c8d=_0x2092,_0x4a47af={'bEgSl':_0x396c8d(0x195)};_0x41999a[_0x41999a['approve']=0x1]='approve',_0x41999a[_0x41999a[_0x4a47af[_0x396c8d(0x18c)]]=0x2]=_0x4a47af['bEgSl'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5670b2){var _0x4b0828=_0x2092,_0x45d8f8={'bdDUf':_0x4b0828(0x1c3),'TDSNm':_0x4b0828(0x1cb),'oxqAL':_0x4b0828(0x19d),'JgggP':_0x4b0828(0x1c8),'UoHet':_0x4b0828(0x1b8),'tNmek':_0x4b0828(0x1c4),'NADcD':'KMEINITIATORWAITPEERCONFIRM','wOKlI':_0x4b0828(0x1c9),'OqXvp':_0x4b0828(0x1b9),'FhgGp':_0x4b0828(0x1b3),'mPNrn':_0x4b0828(0x1bc),'ZuRhB':_0x4b0828(0x1ac),'GTxKJ':_0x4b0828(0x1ca),'ydoKW':_0x4b0828(0x194),'FdCbt':_0x4b0828(0x1c6)},_0x1ea2e1=_0x45d8f8[_0x4b0828(0x1bf)][_0x4b0828(0x192)]('|'),_0x264b42=0x0;while(!![]){switch(_0x1ea2e1[_0x264b42++]){case'0':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a5)]]=0xa]=_0x45d8f8[_0x4b0828(0x1a5)];continue;case'1':_0x5670b2[_0x5670b2[_0x4b0828(0x19d)]=0x6]=_0x45d8f8[_0x4b0828(0x1b7)];continue;case'2':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x191)]]=0xb]=_0x45d8f8[_0x4b0828(0x191)];continue;case'3':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a3)]]=0x5]=_0x45d8f8['UoHet'];continue;case'4':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x193)]]=0x9]=_0x4b0828(0x1c4);continue;case'5':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1af)]]=0xd]=_0x45d8f8['NADcD'];continue;case'6':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x190)]]=0x7]=_0x45d8f8[_0x4b0828(0x190)];continue;case'7':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a0)]]=0x4]=_0x45d8f8['OqXvp'];continue;case'8':_0x5670b2[_0x5670b2[_0x45d8f8['FhgGp']]=0x1]=_0x45d8f8[_0x4b0828(0x199)];continue;case'9':_0x5670b2[_0x5670b2[_0x45d8f8['mPNrn']]=0x8]='KMEIGNORED';continue;case'10':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1bb)]]=0x0]=_0x45d8f8[_0x4b0828(0x1bb)];continue;case'11':_0x5670b2[_0x5670b2[_0x45d8f8['GTxKJ']]=0xc]=_0x45d8f8[_0x4b0828(0x1c7)];continue;case'12':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1ae)]]=0x3]=_0x45d8f8['ydoKW'];continue;case'13':_0x5670b2[_0x5670b2[_0x45d8f8['FdCbt']]=0x2]=_0x45d8f8[_0x4b0828(0x1b5)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x2092(_0x2dd625,_0x5a70e5){var _0x3a7c0b=_0x3a7c();return _0x2092=function(_0x2092c8,_0x110070){_0x2092c8=_0x2092c8-0x18b;var _0x57dda2=_0x3a7c0b[_0x2092c8];return _0x57dda2;},_0x2092(_0x2dd625,_0x5a70e5);}(function(_0xd6c1cb){var _0x3f5a9a=_0x2092,_0x20b98f={'kfvVh':_0x3f5a9a(0x198),'FGfwZ':'TITLETYPE','EBIlE':'NEWGROUPTYPE'};_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x19c)]]=0x0]=_0x20b98f[_0x3f5a9a(0x19c)],_0xd6c1cb[_0xd6c1cb[_0x20b98f['FGfwZ']]=0x1]=_0x3f5a9a(0x1b4),_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x1a8)]]=0x2]=_0x20b98f[_0x3f5a9a(0x1a8)];}(MemberExtSourceType||(MemberExtSourceType={})));function _0x3a7c(){var _0x2b00ab=['ADMIN_SET','ZuRhB','KMEIGNORED','mPclE','ylgxv','bdDUf','1621490XKhqYf','5144727hbDcMC','gTmHd','10|8|13|12|7|3|1|6|9|4|0|2|11|5','KMEAGREEANYONE','88PMhYNl','KMEAGREED','GTxKJ','KMEAGREEANDADDFAILED','KMEREFUSED','KMSGINFO','KMESETQUESTION','WAIT_HANDLE','nkjZx','bEgSl','2363679vqNyaT','KICK_MEMBER','ADMIN_UNSET_OTHER','wOKlI','JgggP','split','tNmek','KMEAGREEDANDADDED','reject','tlHYb','77BqEhrD','DEFAULTTYPE','FhgGp','uGZVi','JOIN_REQUEST','kfvVh','KPEERREFUSED','APPROVE','6278BhtJzv','OqXvp','FlrMj','REJECT','UoHet','INVITED_JOIN','TDSNm','KGLQo','617852pJGPRf','EBIlE','kTEWi','YDotF','INVITE_ME','KMEINITIATOR','xRxRX','ydoKW','NADcD','1272480YQvlPh','MEMBER_EXIT','ADMIN_UNSET','KPEERINITIATOR','TITLETYPE','FdCbt','320157ycsusV','oxqAL','KPEERAGREEDANDADDED','KPEERAGREED'];_0x3a7c=function(){return _0x2b00ab;};return _0x3a7c();} \ 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 630f6628b..cf90a4b96 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x237d39,_0x3bbda1){var _0x1fefa1=_0x5218,_0x18a832=_0x237d39();while(!![]){try{var _0x57700a=parseInt(_0x1fefa1(0x13e))/0x1+parseInt(_0x1fefa1(0x133))/0x2+-parseInt(_0x1fefa1(0x13b))/0x3*(-parseInt(_0x1fefa1(0x13d))/0x4)+-parseInt(_0x1fefa1(0x13f))/0x5+-parseInt(_0x1fefa1(0x132))/0x6*(parseInt(_0x1fefa1(0x12f))/0x7)+-parseInt(_0x1fefa1(0x136))/0x8+parseInt(_0x1fefa1(0x138))/0x9;if(_0x57700a===_0x3bbda1)break;else _0x18a832['push'](_0x18a832['shift']());}catch(_0x5d5192){_0x18a832['push'](_0x18a832['shift']());}}}(_0xee9c,0xa06b4));export var Sex;(function(_0x316ff3){var _0x341546=_0x5218,_0x1f1145={'VGTpz':_0x341546(0x12e),'MogmS':_0x341546(0x130),'gPEpr':'unknown'};_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x13a)]]=0x1]=_0x341546(0x12e),_0x316ff3[_0x316ff3[_0x1f1145['MogmS']]=0x2]=_0x1f1145[_0x341546(0x137)],_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x135)]]=0xff]=_0x1f1145[_0x341546(0x135)];}(Sex||(Sex={})));function _0x5218(_0x387fd6,_0x6955e3){var _0xee9cda=_0xee9c();return _0x5218=function(_0x521818,_0x2e44a4){_0x521818=_0x521818-0x12e;var _0x516fb8=_0xee9cda[_0x521818];return _0x516fb8;},_0x5218(_0x387fd6,_0x6955e3);}function _0xee9c(){var _0x12785f=['1221502rwKupD','yfCka','gPEpr','1214544oUmMpi','MogmS','5258232PiGpWA','LKGZk','VGTpz','651855UIrXpZ','KPHOTOWALL','12oRYXsi','942650qyElDM','5009795iLEfga','male','2283519bqDQvi','female','KPRIVILEGEICON','18wJONxd'];_0xee9c=function(){return _0x12785f;};return _0xee9c();}export var BizKey;(function(_0x36db4a){var _0x42aa16=_0x5218,_0x53d94f={'yfCka':_0x42aa16(0x131),'LKGZk':_0x42aa16(0x13c)};_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x134)]]=0x0]='KPRIVILEGEICON',_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x139)]]=0x1]=_0x53d94f['LKGZk'];}(BizKey||(BizKey={}))); \ No newline at end of file +function _0x3a77(_0x121edc,_0x2e2da8){var _0x4099bf=_0x4099();return _0x3a77=function(_0x3a770b,_0x4ce439){_0x3a770b=_0x3a770b-0xff;var _0xc1ad7e=_0x4099bf[_0x3a770b];return _0xc1ad7e;},_0x3a77(_0x121edc,_0x2e2da8);}function _0x4099(){var _0xf1735a=['986908nZWWFx','1418349beNiQA','23660tGEyWf','360uXxutp','unknown','15991844TFqONb','KPHOTOWALL','female','4709646lkGuon','2LEfbMj','409173zDgvyw','4781HWZghr','3784DtFvOu','male','KkkoA','5zMgvRx','cdgnK'];_0x4099=function(){return _0xf1735a;};return _0x4099();}(function(_0x2f4562,_0x339b7f){var _0x97c1f4=_0x3a77,_0x3c8636=_0x2f4562();while(!![]){try{var _0x5afdee=parseInt(_0x97c1f4(0x10c))/0x1+-parseInt(_0x97c1f4(0x103))/0x2*(-parseInt(_0x97c1f4(0x104))/0x3)+parseInt(_0x97c1f4(0x10b))/0x4*(parseInt(_0x97c1f4(0x109))/0x5)+parseInt(_0x97c1f4(0x102))/0x6+parseInt(_0x97c1f4(0x105))/0x7*(-parseInt(_0x97c1f4(0x106))/0x8)+parseInt(_0x97c1f4(0x10e))/0x9*(-parseInt(_0x97c1f4(0x10d))/0xa)+-parseInt(_0x97c1f4(0xff))/0xb;if(_0x5afdee===_0x339b7f)break;else _0x3c8636['push'](_0x3c8636['shift']());}catch(_0x2297b9){_0x3c8636['push'](_0x3c8636['shift']());}}}(_0x4099,0xae899));export var Sex;(function(_0x48a588){var _0x3e4baf=_0x3a77,_0x28fd65={'tfORD':_0x3e4baf(0x107),'KkkoA':_0x3e4baf(0x101),'NClPy':_0x3e4baf(0x10f)};_0x48a588[_0x48a588['male']=0x1]=_0x28fd65['tfORD'],_0x48a588[_0x48a588[_0x3e4baf(0x101)]=0x2]=_0x28fd65[_0x3e4baf(0x108)],_0x48a588[_0x48a588[_0x28fd65['NClPy']]=0xff]=_0x28fd65['NClPy'];}(Sex||(Sex={})));export var BizKey;(function(_0x4f7298){var _0x30929d=_0x3a77,_0x198979={'sqpbB':'KPRIVILEGEICON','cdgnK':'KPHOTOWALL'};_0x4f7298[_0x4f7298[_0x198979['sqpbB']]=0x0]=_0x198979['sqpbB'],_0x4f7298[_0x4f7298[_0x30929d(0x100)]=0x1]=_0x198979[_0x30929d(0x10a)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 4eb329736..aea49411e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x2294c2,_0x46d401){var _0x59b8e2=_0x4352,_0x2288fb=_0x2294c2();while(!![]){try{var _0x540613=-parseInt(_0x59b8e2(0x15b))/0x1+-parseInt(_0x59b8e2(0x153))/0x2+parseInt(_0x59b8e2(0x157))/0x3+parseInt(_0x59b8e2(0x154))/0x4*(parseInt(_0x59b8e2(0x158))/0x5)+parseInt(_0x59b8e2(0x152))/0x6+parseInt(_0x59b8e2(0x156))/0x7*(parseInt(_0x59b8e2(0x159))/0x8)+-parseInt(_0x59b8e2(0x155))/0x9*(-parseInt(_0x59b8e2(0x15a))/0xa);if(_0x540613===_0x46d401)break;else _0x2288fb['push'](_0x2288fb['shift']());}catch(_0x1d44df){_0x2288fb['push'](_0x2288fb['shift']());}}}(_0x4779,0xafd11));import _0x23c132 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x4779(){var _0x59f6be=['125991MKUFJi','2501254uTAinj','822123OTadHB','144835KQddkH','8HuRZvp','510Zovpyp','23257FQgaJl','944280JrNoNw','1634448LptIGe','8QXPgPE'];_0x4779=function(){return _0x59f6be;};return _0x4779();}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x23c132 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4352(_0x2e5fa6,_0x25ae8f){var _0x47797a=_0x4779();return _0x4352=function(_0x43525c,_0x4adc8c){_0x43525c=_0x43525c-0x152;var _0x31c409=_0x47797a[_0x43525c];return _0x31c409;},_0x4352(_0x2e5fa6,_0x25ae8f);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x3a4402,_0x2920da){var _0x28ff1f=_0x4eff,_0x79c870=_0x3a4402();while(!![]){try{var _0x4830f9=-parseInt(_0x28ff1f(0x19c))/0x1+parseInt(_0x28ff1f(0x1a2))/0x2+parseInt(_0x28ff1f(0x19a))/0x3+parseInt(_0x28ff1f(0x19d))/0x4+-parseInt(_0x28ff1f(0x1a1))/0x5+-parseInt(_0x28ff1f(0x19f))/0x6*(-parseInt(_0x28ff1f(0x19b))/0x7)+parseInt(_0x28ff1f(0x19e))/0x8*(-parseInt(_0x28ff1f(0x1a0))/0x9);if(_0x4830f9===_0x2920da)break;else _0x79c870['push'](_0x79c870['shift']());}catch(_0x9f0295){_0x79c870['push'](_0x79c870['shift']());}}}(_0x1271,0xb9b62));import _0x4c886e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x4eff(_0xcfa701,_0x4572df){var _0x12710d=_0x1271();return _0x4eff=function(_0x4eff38,_0x3d1aff){_0x4eff38=_0x4eff38-0x19a;var _0x513333=_0x12710d[_0x4eff38];return _0x513333;},_0x4eff(_0xcfa701,_0x4572df);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x4c886e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1271(){var _0x23fe63=['12774648ttOXON','16518piOarX','9WDXCMi','51690BdeDDz','2554424kvpEsz','3038835GdAJlq','1505tzJZcC','1267231qqRGea','3012088vytgWX'];_0x1271=function(){return _0x23fe63;};return _0x1271();} \ 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 2f78c2e17..9ab1f8cc2 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x1d62(_0x4cfb15,_0x1ed50f){var _0x1b20fe=_0x1b20();return _0x1d62=function(_0x1d6221,_0x5e14a0){_0x1d6221=_0x1d6221-0x185;var _0x2ba81e=_0x1b20fe[_0x1d6221];return _0x2ba81e;},_0x1d62(_0x4cfb15,_0x1ed50f);}var _0x46068e=_0x1d62;(function(_0x8f66cd,_0x1351a1){var _0xcccb66=_0x1d62,_0xff6e64=_0x8f66cd();while(!![]){try{var _0xe3fb91=parseInt(_0xcccb66(0x186))/0x1*(-parseInt(_0xcccb66(0x192))/0x2)+parseInt(_0xcccb66(0x193))/0x3*(parseInt(_0xcccb66(0x19b))/0x4)+parseInt(_0xcccb66(0x19c))/0x5+-parseInt(_0xcccb66(0x187))/0x6*(-parseInt(_0xcccb66(0x199))/0x7)+-parseInt(_0xcccb66(0x190))/0x8+-parseInt(_0xcccb66(0x197))/0x9+-parseInt(_0xcccb66(0x18f))/0xa*(parseInt(_0xcccb66(0x19a))/0xb);if(_0xe3fb91===_0x1351a1)break;else _0xff6e64['push'](_0xff6e64['shift']());}catch(_0x1074e4){_0xff6e64['push'](_0xff6e64['shift']());}}}(_0x1b20,0xafc1e));export class BuddyListener{[_0x46068e(0x196)](_0x5107c9){}[_0x46068e(0x188)](_0x241e30){}[_0x46068e(0x194)](_0x26320b){}[_0x46068e(0x18b)](_0x59e553){}[_0x46068e(0x189)](_0x37f8ca){}[_0x46068e(0x18c)](_0x150e66){}[_0x46068e(0x18e)](_0xc14235){}['onBuddyRemarkUpdated'](_0x3f29c8){}[_0x46068e(0x18d)](_0x36f362){}[_0x46068e(0x18a)](_0x28b83a){}[_0x46068e(0x198)](_0xd5344){}[_0x46068e(0x185)](_0x5f20ef){}[_0x46068e(0x19d)](_0x2ff360){}[_0x46068e(0x195)](_0x21e919){}['onNickUpdated'](_0xde3e72){}[_0x46068e(0x191)](_0x32bd93){}[_0x46068e(0x19e)](_0x546998){}}function _0x1b20(){var _0xd18377=['onDelBatchBuddyInfos','513571liWNIS','339528rXWWac','onAddMeSettingChanged','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','onBlockChanged','onBuddyInfoChange','onBuddyReqChange','onBuddyListChange','23860egRjam','25080DRJxxX','onSmartInfos','2tOTvWE','319629NMqmWd','onAvatarUrlUpdated','onDoubtBuddyReqUnreadNumChange','onAddBuddyNeedVerify','6882057OTcpBT','onCheckBuddySettingResult','56cRkNXL','3982eYfGEL','44aNKfrr','6201680PFHayr','onDoubtBuddyReqChange','onSpacePermissionInfos'];_0x1b20=function(){return _0xd18377;};return _0x1b20();} \ No newline at end of file +var _0x410aeb=_0x451b;(function(_0x17408c,_0x357f20){var _0xf3f8be=_0x451b,_0x502d69=_0x17408c();while(!![]){try{var _0x2edf90=-parseInt(_0xf3f8be(0xde))/0x1*(-parseInt(_0xf3f8be(0xd4))/0x2)+-parseInt(_0xf3f8be(0xd2))/0x3*(parseInt(_0xf3f8be(0xe1))/0x4)+-parseInt(_0xf3f8be(0xe2))/0x5*(parseInt(_0xf3f8be(0xd1))/0x6)+-parseInt(_0xf3f8be(0xce))/0x7*(parseInt(_0xf3f8be(0xe0))/0x8)+-parseInt(_0xf3f8be(0xd6))/0x9*(parseInt(_0xf3f8be(0xd0))/0xa)+-parseInt(_0xf3f8be(0xd5))/0xb*(parseInt(_0xf3f8be(0xd8))/0xc)+parseInt(_0xf3f8be(0xd9))/0xd;if(_0x2edf90===_0x357f20)break;else _0x502d69['push'](_0x502d69['shift']());}catch(_0x48f303){_0x502d69['push'](_0x502d69['shift']());}}}(_0x1788,0x2cdda));function _0x451b(_0x506584,_0x28b9e6){var _0x1788ac=_0x1788();return _0x451b=function(_0x451bfe,_0x311f37){_0x451bfe=_0x451bfe-0xc9;var _0x4db840=_0x1788ac[_0x451bfe];return _0x4db840;},_0x451b(_0x506584,_0x28b9e6);}function _0x1788(){var _0x336025=['onAddBuddyNeedVerify','onDelBatchBuddyInfos','onBuddyInfoChange','28nxEhDW','onBuddyRemarkUpdated','10xHSvau','12fCERDC','6KiRsgc','onBuddyReqChange','364otvsUH','1177044tsfxVO','1391121rfEsup','onNickUpdated','12PhPHXj','14066975mwmlbY','onBuddyListChange','onDoubtBuddyReqUnreadNumChange','onAvatarUrlUpdated','onSmartInfos','503AHAJrW','onBuddyDetailInfoChange','540712iqbEFY','602236KwXFXJ','392010OnopTL','onDoubtBuddyReqChange','onCheckBuddySettingResult'];_0x1788=function(){return _0x336025;};return _0x1788();}export class BuddyListener{[_0x410aeb(0xcb)](_0x39e0d5){}['onAddMeSettingChanged'](_0x2c03dd){}[_0x410aeb(0xdc)](_0x13e5d1){}['onBlockChanged'](_0x4d5746){}[_0x410aeb(0xdf)](_0x1a7229){}[_0x410aeb(0xcd)](_0x5b00c2){}[_0x410aeb(0xda)](_0x2faa31){}[_0x410aeb(0xcf)](_0x391288){}[_0x410aeb(0xd3)](_0x105684){}['onBuddyReqUnreadCntChange'](_0x4cc8a5){}[_0x410aeb(0xca)](_0x564c93){}[_0x410aeb(0xcc)](_0x2225f6){}[_0x410aeb(0xc9)](_0x4c2a15){}[_0x410aeb(0xdb)](_0x2e004a){}[_0x410aeb(0xd7)](_0x577941){}[_0x410aeb(0xdd)](_0x2a8cdf){}['onSpacePermissionInfos'](_0x4a6ee2){}} \ 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 00461cefd..0397560f5 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x27e043=_0x1447;(function(_0x55a47d,_0x2306ec){var _0x3e39f1=_0x1447,_0x225fef=_0x55a47d();while(!![]){try{var _0x35cf82=parseInt(_0x3e39f1(0x17d))/0x1*(parseInt(_0x3e39f1(0x17c))/0x2)+parseInt(_0x3e39f1(0x177))/0x3*(-parseInt(_0x3e39f1(0x179))/0x4)+-parseInt(_0x3e39f1(0x17b))/0x5+parseInt(_0x3e39f1(0x174))/0x6+-parseInt(_0x3e39f1(0x175))/0x7*(parseInt(_0x3e39f1(0x173))/0x8)+-parseInt(_0x3e39f1(0x178))/0x9+parseInt(_0x3e39f1(0x17e))/0xa;if(_0x35cf82===_0x2306ec)break;else _0x225fef['push'](_0x225fef['shift']());}catch(_0x21346d){_0x225fef['push'](_0x225fef['shift']());}}}(_0x34af,0x722e9));function _0x34af(){var _0x8e39bc=['2dTxODY','569594lGWuco','13533280MQceGA','onFileSearch','2776DoxbBz','1574556EPCZMb','2149kpqUsM','onFileListChanged','45yaCITS','1888848OUxxNf','171100AjZBAg','onSessionListChanged','3798165cDanRE'];_0x34af=function(){return _0x8e39bc;};return _0x34af();}function _0x1447(_0x11f56e,_0x481af0){var _0x34af81=_0x34af();return _0x1447=function(_0x144791,_0x334c08){_0x144791=_0x144791-0x172;var _0x408f6f=_0x34af81[_0x144791];return _0x408f6f;},_0x1447(_0x11f56e,_0x481af0);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x3fcc55){}[_0x27e043(0x17a)](..._0x1c9552){}['onSessionChanged'](..._0x2a10c8){}[_0x27e043(0x176)](..._0x5d332a){}[_0x27e043(0x172)](..._0x101b1a){}} \ No newline at end of file +var _0x20384c=_0x395e;function _0x395e(_0x4a8df5,_0x52eaa1){var _0x2dcf97=_0x2dcf();return _0x395e=function(_0x395e19,_0x2b2e60){_0x395e19=_0x395e19-0x15f;var _0x4f2285=_0x2dcf97[_0x395e19];return _0x4f2285;},_0x395e(_0x4a8df5,_0x52eaa1);}(function(_0x694d9e,_0x32a99a){var _0x3fb01f=_0x395e,_0x8dedb8=_0x694d9e();while(!![]){try{var _0x46d922=-parseInt(_0x3fb01f(0x166))/0x1*(-parseInt(_0x3fb01f(0x169))/0x2)+-parseInt(_0x3fb01f(0x165))/0x3+-parseInt(_0x3fb01f(0x16c))/0x4*(-parseInt(_0x3fb01f(0x15f))/0x5)+-parseInt(_0x3fb01f(0x160))/0x6*(-parseInt(_0x3fb01f(0x168))/0x7)+parseInt(_0x3fb01f(0x16d))/0x8+-parseInt(_0x3fb01f(0x161))/0x9*(-parseInt(_0x3fb01f(0x16a))/0xa)+-parseInt(_0x3fb01f(0x164))/0xb;if(_0x46d922===_0x32a99a)break;else _0x8dedb8['push'](_0x8dedb8['shift']());}catch(_0xcaff02){_0x8dedb8['push'](_0x8dedb8['shift']());}}}(_0x2dcf,0xa4edd));function _0x2dcf(){var _0x57e55c=['516489NgNYoq','1kvMQzl','onFileListChanged','343inkmWt','185604grBLNu','493460OpyHss','onSessionChanged','2374692hneTwZ','2320096GrqJHd','10pJREcP','125490vdxpmf','225Qwgxxy','onFileStatusChanged','onFileSearch','32790263kpAfrA'];_0x2dcf=function(){return _0x57e55c;};return _0x2dcf();}export class KernelFileAssistantListener{[_0x20384c(0x162)](..._0x1bd4a5){}['onSessionListChanged'](..._0x19e8f2){}[_0x20384c(0x16b)](..._0x5d4fb6){}[_0x20384c(0x167)](..._0x5a2a24){}[_0x20384c(0x163)](..._0x5c5459){}} \ 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 1b2ef820f..0de84fcb6 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x14c9(){var _0x3d9651=['onJoinGroupNoVerifyFlag:','938580cKZKwA','onGroupStatisticInfoChange','qSfDU','onJoinGroupNotify:','mjnVg','3128768SzwXVG','onGroupBulletinRichMediaProgressUpdate:','uObXN','onGroupNotifiesUpdated:','onGroupBulletinRemindNotify:','onMemberInfoChange','tAPhF','onGroupAllInfoChange','onGroupNotifiesUpdated','aNygR','onGroupsMsgMaskResult:','onGroupBulletinRichMediaDownloadComplete','LOQds','onGroupBulletinChange:','onGroupArkInviteStateResult:','NXPdN','FbvwE','5149403glTcfV','CxyFk','15218136KitqEs','GEgSr','3720804ZmRvDj','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange','15790NufZMh','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRemindNotify','hQVpW','onGroupExtListUpdate:','onGroupConfMemberChange','onMemberListChange','onShutUpMemberListChanged:','onShutUpMemberListChanged','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult','onGroupBulletinChange','onGroupArkInviteStateResult','onJoinGroupNotify','135CFnZYC','onSearchMemberChange:','onGroupSingleScreenNotifies:','onMemberInfoChange:','onGroupAllInfoChange:','onJoinGroupNoVerifyFlag','2516955ofkWci','onGroupFirstBulletinNotify:','yTwfv','onGetGroupBulletinListResult:','onGetGroupBulletinListResult','onGroupDetailInfoChange:','onSearchMemberChange','lhMHV','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange:','onGroupListUpdate','onGroupSingleScreenNotifies','pMbcm','log'];_0x14c9=function(){return _0x3d9651;};return _0x14c9();}var _0x115256=_0x498d;(function(_0x5d02bd,_0x18f85c){var _0x44672a=_0x498d,_0x1ee028=_0x5d02bd();while(!![]){try{var _0xd2ea85=parseInt(_0x44672a(0x177))/0x1+-parseInt(_0x44672a(0x194))/0x2*(-parseInt(_0x44672a(0x1a3))/0x3)+parseInt(_0x44672a(0x17c))/0x4+parseInt(_0x44672a(0x1a9))/0x5+parseInt(_0x44672a(0x191))/0x6+-parseInt(_0x44672a(0x18d))/0x7+-parseInt(_0x44672a(0x18f))/0x8;if(_0xd2ea85===_0x18f85c)break;else _0x1ee028['push'](_0x1ee028['shift']());}catch(_0x4259bb){_0x1ee028['push'](_0x1ee028['shift']());}}}(_0x14c9,0x8920c));export class GroupListener{[_0x115256(0x19e)](..._0x28c19a){}[_0x115256(0x16c)](..._0x216f36){}[_0x115256(0x183)](..._0x876ec0){}['onGroupBulletinChange'](..._0x12d0ef){}['onGroupBulletinRemindNotify'](..._0x50cbdf){}[_0x115256(0x1a1)](..._0x8778e7){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3c170c){}[_0x115256(0x19a)](..._0x1c7849){}['onGroupDetailInfoChange'](..._0x47cc3a){}['onGroupExtListUpdate'](..._0x357a0e){}['onGroupFirstBulletinNotify'](..._0xa781aa){}[_0x115256(0x172)](_0x3992d4,_0x367688){}[_0x115256(0x184)](_0x5f1a07,_0x146d5f){}[_0x115256(0x192)](..._0x1e2259){}[_0x115256(0x196)](..._0x2104b8){}[_0x115256(0x173)](_0x5fbee7,_0x5e5fa0,_0x388eb6){}[_0x115256(0x19f)](..._0xae7724){}[_0x115256(0x178)](..._0x3cb5eb){}[_0x115256(0x1a2)](..._0x557034){}['onJoinGroupNoVerifyFlag'](..._0x4d66d3){}[_0x115256(0x181)](_0xdb19ad,_0x1610e5,_0x17c565){}['onMemberListChange'](_0x3c4be7){}[_0x115256(0x16e)](..._0x5adf1e){}[_0x115256(0x19d)](..._0x164aa8){}}function _0x498d(_0x4d9b54,_0x2fbaae){var _0x14c952=_0x14c9();return _0x498d=function(_0x498d78,_0x47a0fa){_0x498d78=_0x498d78-0x169;var _0x4c4eb4=_0x14c952[_0x498d78];return _0x4c4eb4;},_0x498d(_0x4d9b54,_0x2fbaae);}export class DebugGroupListener{[_0x115256(0x19e)](..._0x32018d){var _0x4c190b=_0x115256,_0x1f8855={'pMbcm':'onGroupMemberLevelInfoChange:'};console['log'](_0x1f8855[_0x4c190b(0x174)],..._0x32018d);}[_0x115256(0x16c)](..._0x4709c7){var _0x46b364=_0x115256,_0x1f833d={'FbvwE':_0x46b364(0x16b)};console['log'](_0x1f833d[_0x46b364(0x18c)],..._0x4709c7);}[_0x115256(0x183)](..._0x2c66e3){var _0x25b0ef=_0x115256,_0xf4eee7={'qSfDU':_0x25b0ef(0x1a7)};console[_0x25b0ef(0x175)](_0xf4eee7[_0x25b0ef(0x179)],..._0x2c66e3);}[_0x115256(0x1a0)](..._0x3ddb93){var _0x13977b=_0x115256,_0x21aceb={'LEeWS':_0x13977b(0x189)};console[_0x13977b(0x175)](_0x21aceb['LEeWS'],..._0x3ddb93);}[_0x115256(0x197)](..._0x58c00c){var _0x38b3cd=_0x115256;console['log'](_0x38b3cd(0x180),..._0x58c00c);}['onGroupArkInviteStateResult'](..._0x428044){var _0xe74dc8=_0x115256,_0x47b920={'GEgSr':_0xe74dc8(0x18a)};console[_0xe74dc8(0x175)](_0x47b920[_0xe74dc8(0x190)],..._0x428044);}[_0x115256(0x187)](..._0x4f3a07){var _0x56f57a=_0x115256,_0x2b6b4b={'mjnVg':_0x56f57a(0x170)};console['log'](_0x2b6b4b[_0x56f57a(0x17b)],..._0x4f3a07);}[_0x115256(0x19a)](..._0x204f87){var _0x30c35d=_0x115256;console[_0x30c35d(0x175)](_0x30c35d(0x195),..._0x204f87);}[_0x115256(0x193)](..._0x1edb63){var _0x4496ce=_0x115256,_0x56cace={'cMTqm':_0x4496ce(0x16d)};console[_0x4496ce(0x175)](_0x56cace['cMTqm'],..._0x1edb63);}['onGroupExtListUpdate'](..._0x1adbb4){var _0x31af2c=_0x115256,_0xa1abb4={'OfGPm':_0x31af2c(0x199)};console[_0x31af2c(0x175)](_0xa1abb4['OfGPm'],..._0x1adbb4);}['onGroupFirstBulletinNotify'](..._0x522b1c){var _0x3e875b=_0x115256,_0xfd3b03={'yYyCs':_0x3e875b(0x169)};console['log'](_0xfd3b03['yYyCs'],..._0x522b1c);}[_0x115256(0x172)](..._0x1d2311){var _0x3392c2=_0x115256,_0x2a1915={'lhMHV':'onGroupListUpdate:'};console[_0x3392c2(0x175)](_0x2a1915[_0x3392c2(0x16f)],..._0x1d2311);}['onGroupNotifiesUpdated'](..._0x58a07f){var _0x44a120=_0x115256;console['log'](_0x44a120(0x17f),..._0x58a07f);}[_0x115256(0x192)](..._0xdfd127){var _0x50114b=_0x115256;console['log'](_0x50114b(0x17d),..._0xdfd127);}[_0x115256(0x196)](..._0x5e9c8d){var _0x5b3c6f=_0x115256,_0x15e52d={'uObXN':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5b3c6f(0x175)](_0x15e52d[_0x5b3c6f(0x17e)],..._0x5e9c8d);}[_0x115256(0x173)](_0x35bfd6,_0x294f04,_0x38badc){var _0x1e61af=_0x115256,_0xd79851={'yTwfv':_0x1e61af(0x1a5)};console[_0x1e61af(0x175)](_0xd79851[_0x1e61af(0x16a)]);}['onGroupsMsgMaskResult'](..._0x192f9a){var _0x2d8aca=_0x115256,_0x4461e9={'tAPhF':_0x2d8aca(0x186)};console['log'](_0x4461e9[_0x2d8aca(0x182)],..._0x192f9a);}['onGroupStatisticInfoChange'](..._0x3e5700){var _0x16149f=_0x115256,_0x470642={'NXPdN':_0x16149f(0x171)};console['log'](_0x470642[_0x16149f(0x18b)],..._0x3e5700);}[_0x115256(0x1a2)](..._0x1a1be6){var _0x3daf81=_0x115256,_0x5612b7={'LOQds':_0x3daf81(0x17a)};console[_0x3daf81(0x175)](_0x5612b7[_0x3daf81(0x188)],..._0x1a1be6);}[_0x115256(0x1a8)](..._0x1ca501){var _0x44bf65=_0x115256,_0xe3cb65={'hQVpW':_0x44bf65(0x176)};console['log'](_0xe3cb65[_0x44bf65(0x198)],..._0x1ca501);}[_0x115256(0x181)](_0x1fa04b,_0x2f493d,_0x5832f0){var _0x1b47c5=_0x115256,_0x91403f={'viQEz':_0x1b47c5(0x1a6)};console[_0x1b47c5(0x175)](_0x91403f['viQEz'],_0x1fa04b,_0x2f493d,_0x5832f0);}[_0x115256(0x19b)](..._0x214fb4){var _0xa15cba=_0x115256,_0x176c97={'aNygR':'onMemberListChange:'};console['log'](_0x176c97[_0xa15cba(0x185)],..._0x214fb4);}[_0x115256(0x16e)](..._0x7ee32e){var _0x55ee8e=_0x115256,_0x31d176={'CxyFk':_0x55ee8e(0x1a4)};console[_0x55ee8e(0x175)](_0x31d176[_0x55ee8e(0x18e)],..._0x7ee32e);}[_0x115256(0x19d)](..._0x474fe7){var _0x2f826e=_0x115256,_0x4b405b={'kJIJR':_0x2f826e(0x19c)};console[_0x2f826e(0x175)](_0x4b405b['kJIJR'],..._0x474fe7);}} \ No newline at end of file +var _0x1d26e8=_0x4c83;function _0x3ef4(){var _0x10b1f6=['onShutUpMemberListChanged','onGroupArkInviteStateResult','qgXqk','MRdTM','onGroupAllInfoChange','onGroupExtListUpdate:','onGroupBulletinRichMediaProgressUpdate:','onGroupMemberLevelInfoChange','410zNJqzQ','onGroupStatisticInfoChange','SmUHj','onJoinGroupNotify','onGroupMemberLevelInfoChange:','onGroupSingleScreenNotifies','onGroupExtListUpdate','xylZh','onGroupBulletinRichMediaProgressUpdate','log','3150144JaDKet','onGroupArkInviteStateResult:','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','QJCzG','1624728kLWOlC','lGyim','onSearchMemberChange:','onMemberInfoChange','ybktz','CLBwb','onGroupAllInfoChange:','MOjlq','onGroupNotifiesUnreadCountUpdated:','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','571PwoDoq','onGroupNotifiesUpdated:','onGroupBulletinChange','onGroupFirstBulletinNotify','1094252EBlMjG','onGroupBulletinRemindNotify:','onGroupSingleScreenNotifies:','yLbJX','31686KTMiLa','ghtjs','1434177PcDJRD','onGroupConfMemberChange:','FGYBb','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated','4223241KixLjf','onGetGroupBulletinListResult','onGroupBulletinRemindNotify','658AjOhlb','onJoinGroupNotify:','onGroupFirstBulletinNotify:','ScYIq','onSearchMemberChange','onMemberListChange','onGroupsMsgMaskResult','onGroupsMsgMaskResult:','hadqB','onGetGroupBulletinListResult:','onGroupBulletinRichMediaDownloadComplete','idCPT','onGroupListUpdate:'];_0x3ef4=function(){return _0x10b1f6;};return _0x3ef4();}(function(_0x2ea458,_0x348058){var _0x110393=_0x4c83,_0x1e0ac7=_0x2ea458();while(!![]){try{var _0x280ff9=parseInt(_0x110393(0xc5))/0x1*(parseInt(_0x110393(0xd7))/0x2)+-parseInt(_0x110393(0xcf))/0x3+parseInt(_0x110393(0xc9))/0x4+parseInt(_0x110393(0xec))/0x5*(parseInt(_0x110393(0xcd))/0x6)+-parseInt(_0x110393(0xba))/0x7+-parseInt(_0x110393(0xb5))/0x8+parseInt(_0x110393(0xd4))/0x9;if(_0x280ff9===_0x348058)break;else _0x1e0ac7['push'](_0x1e0ac7['shift']());}catch(_0x2c4039){_0x1e0ac7['push'](_0x1e0ac7['shift']());}}}(_0x3ef4,0x3f6c6));function _0x4c83(_0x5c5f9e,_0x35889c){var _0x3ef413=_0x3ef4();return _0x4c83=function(_0x4c839d,_0x3cb8be){_0x4c839d=_0x4c839d-0xb4;var _0x52bd0e=_0x3ef413[_0x4c839d];return _0x52bd0e;},_0x4c83(_0x5c5f9e,_0x35889c);}export class GroupListener{[_0x1d26e8(0xeb)](..._0x5ed41a){}[_0x1d26e8(0xd5)](..._0xa73a90){}[_0x1d26e8(0xe8)](..._0x1a1398){}[_0x1d26e8(0xc7)](..._0x17b200){}[_0x1d26e8(0xd6)](..._0x59cc73){}[_0x1d26e8(0xe5)](..._0x18462f){}[_0x1d26e8(0xe1)](..._0x34e7ed){}[_0x1d26e8(0xc3)](..._0x5545b5){}['onGroupDetailInfoChange'](..._0x1d74ff){}[_0x1d26e8(0xf2)](..._0x3df159){}[_0x1d26e8(0xc8)](..._0x3d5ce5){}['onGroupListUpdate'](_0x23e8a5,_0x323be4){}['onGroupNotifiesUpdated'](_0x76c998,_0x5a8e47){}[_0x1d26e8(0xf4)](..._0x4f1d86){}[_0x1d26e8(0xd3)](..._0x87d3f1){}['onGroupSingleScreenNotifies'](_0x5c1080,_0x360ea8,_0x4878d6){}['onGroupsMsgMaskResult'](..._0x5e5890){}[_0x1d26e8(0xed)](..._0x4122c3){}[_0x1d26e8(0xef)](..._0xeb5c10){}[_0x1d26e8(0xb7)](..._0x3457f4){}[_0x1d26e8(0xbd)](_0x3afa73,_0x329de5,_0x2bbe43){}[_0x1d26e8(0xdc)](_0x42d412){}[_0x1d26e8(0xdb)](..._0x13d20b){}[_0x1d26e8(0xe4)](..._0x547cb0){}}export class DebugGroupListener{[_0x1d26e8(0xeb)](..._0x488f5b){var _0x55c71e=_0x1d26e8,_0x37d47e={'idCPT':_0x55c71e(0xf0)};console[_0x55c71e(0xb4)](_0x37d47e[_0x55c71e(0xe2)],..._0x488f5b);}[_0x1d26e8(0xd5)](..._0x4e31ea){var _0x133a0d=_0x1d26e8,_0x32b4c6={'CLBwb':_0x133a0d(0xe0)};console[_0x133a0d(0xb4)](_0x32b4c6[_0x133a0d(0xbf)],..._0x4e31ea);}[_0x1d26e8(0xe8)](..._0x32a888){var _0xbab46f=_0x1d26e8,_0x380242={'SVGvO':_0xbab46f(0xc0)};console[_0xbab46f(0xb4)](_0x380242['SVGvO'],..._0x32a888);}['onGroupBulletinChange'](..._0x127a05){var _0xae8b6b=_0x1d26e8;console[_0xae8b6b(0xb4)](_0xae8b6b(0xb8),..._0x127a05);}[_0x1d26e8(0xd6)](..._0x2d9bee){var _0x10646c=_0x1d26e8,_0xda317e={'MRdTM':_0x10646c(0xca)};console['log'](_0xda317e[_0x10646c(0xe7)],..._0x2d9bee);}[_0x1d26e8(0xe5)](..._0x40238d){var _0x504fc6=_0x1d26e8,_0x3c4a0c={'ybktz':_0x504fc6(0xb6)};console[_0x504fc6(0xb4)](_0x3c4a0c[_0x504fc6(0xbe)],..._0x40238d);}[_0x1d26e8(0xe1)](..._0xf259a8){var _0x15340f=_0x1d26e8;console[_0x15340f(0xb4)](_0x15340f(0xd2),..._0xf259a8);}[_0x1d26e8(0xc3)](..._0x3e561e){var _0x5e8f9e=_0x1d26e8,_0x4b3555={'xylZh':_0x5e8f9e(0xd0)};console[_0x5e8f9e(0xb4)](_0x4b3555[_0x5e8f9e(0xf3)],..._0x3e561e);}['onGroupDetailInfoChange'](..._0x5db0f2){var _0x39977a=_0x1d26e8,_0x25dc31={'ozvcu':'onGroupDetailInfoChange:'};console[_0x39977a(0xb4)](_0x25dc31['ozvcu'],..._0x5db0f2);}[_0x1d26e8(0xf2)](..._0x49cefa){var _0x431898=_0x1d26e8,_0xc1caf7={'yLbJX':_0x431898(0xe9)};console[_0x431898(0xb4)](_0xc1caf7[_0x431898(0xcc)],..._0x49cefa);}[_0x1d26e8(0xc8)](..._0x3c2cbf){var _0x250e03=_0x1d26e8,_0x501724={'qgXqk':_0x250e03(0xd9)};console[_0x250e03(0xb4)](_0x501724[_0x250e03(0xe6)],..._0x3c2cbf);}['onGroupListUpdate'](..._0x147585){var _0x42a550=_0x1d26e8,_0x85a94d={'zBDti':_0x42a550(0xe3)};console['log'](_0x85a94d['zBDti'],..._0x147585);}['onGroupNotifiesUpdated'](..._0x4b7202){var _0x3bba14=_0x1d26e8,_0x336471={'MOjlq':_0x3bba14(0xc6)};console['log'](_0x336471[_0x3bba14(0xc1)],..._0x4b7202);}[_0x1d26e8(0xf4)](..._0x266fb3){var _0x2783c7=_0x1d26e8,_0x77ce3c={'tNCQE':_0x2783c7(0xea)};console[_0x2783c7(0xb4)](_0x77ce3c['tNCQE'],..._0x266fb3);}[_0x1d26e8(0xd3)](..._0x56d756){var _0x36c118=_0x1d26e8,_0x225570={'ghtjs':_0x36c118(0xc2)};console[_0x36c118(0xb4)](_0x225570[_0x36c118(0xce)],..._0x56d756);}[_0x1d26e8(0xf1)](_0x46f0d1,_0x244375,_0x594fba){var _0x551ac5=_0x1d26e8,_0x51ad5e={'hcJUK':_0x551ac5(0xcb)};console[_0x551ac5(0xb4)](_0x51ad5e['hcJUK']);}[_0x1d26e8(0xdd)](..._0x35f576){var _0x238dcf=_0x1d26e8,_0x1ff921={'QJCzG':_0x238dcf(0xde)};console[_0x238dcf(0xb4)](_0x1ff921[_0x238dcf(0xb9)],..._0x35f576);}[_0x1d26e8(0xed)](..._0x223207){var _0x196c92=_0x1d26e8,_0x368949={'SmUHj':'onGroupStatisticInfoChange:'};console[_0x196c92(0xb4)](_0x368949[_0x196c92(0xee)],..._0x223207);}['onJoinGroupNotify'](..._0x196f95){var _0xef69fe=_0x1d26e8,_0x66bea5={'ScYIq':_0xef69fe(0xd8)};console[_0xef69fe(0xb4)](_0x66bea5[_0xef69fe(0xda)],..._0x196f95);}[_0x1d26e8(0xb7)](..._0x3df1da){var _0x2f9e2e=_0x1d26e8,_0x2f1e13={'gyAal':_0x2f9e2e(0xc4)};console['log'](_0x2f1e13['gyAal'],..._0x3df1da);}[_0x1d26e8(0xbd)](_0x119372,_0x4f1f4a,_0x35458f){console['log']('onMemberInfoChange:',_0x119372,_0x4f1f4a,_0x35458f);}[_0x1d26e8(0xdc)](..._0x385d1a){var _0x4a88e7=_0x1d26e8,_0x41af88={'lGyim':'onMemberListChange:'};console['log'](_0x41af88[_0x4a88e7(0xbb)],..._0x385d1a);}[_0x1d26e8(0xdb)](..._0x14b326){var _0x5e73ba=_0x1d26e8,_0x5630c9={'hadqB':_0x5e73ba(0xbc)};console['log'](_0x5630c9[_0x5e73ba(0xdf)],..._0x14b326);}['onShutUpMemberListChanged'](..._0x222802){var _0x249812=_0x1d26e8,_0x2c87c5={'FGYBb':'onShutUpMemberListChanged:'};console['log'](_0x2c87c5[_0x249812(0xd1)],..._0x222802);}} \ 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 93b0045eb..faf6e22e0 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x460af1=_0x3a1d;function _0x5153(){var _0x53951f=['98958QOOIXb','onQRCodeLoginPollingStarted','9615744FhVEaS','onQRCodeGetPicture','9866601kshZZB','onPasswordLoginFailed','319193xtrkOT','4gkXRoe','583YreBGH','onLoginConnecting','onQQLoginNumLimited','48MTlupU','7DcOSXs','2160396XTvxVx','onLoginDisConnected','OnConfirmUnusualDeviceFailed','1161125CEonGJ','onQRCodeSessionFailed','onQRCodeSessionUserScaned','onQRCodeLoginSucceed','onLogoutSucceed','onLoginState','onQRCodeSessionQuickLoginFailed','85890wKvKBg'];_0x5153=function(){return _0x53951f;};return _0x5153();}function _0x3a1d(_0x362282,_0x2f62c6){var _0x5153da=_0x5153();return _0x3a1d=function(_0x3a1dc2,_0x5aace7){_0x3a1dc2=_0x3a1dc2-0x1a0;var _0x16a8cf=_0x5153da[_0x3a1dc2];return _0x16a8cf;},_0x3a1d(_0x362282,_0x2f62c6);}(function(_0x17f5c8,_0xecbf08){var _0x448ed9=_0x3a1d,_0x5177a4=_0x17f5c8();while(!![]){try{var _0x20fe12=-parseInt(_0x448ed9(0x1b2))/0x1*(-parseInt(_0x448ed9(0x1a6))/0x2)+parseInt(_0x448ed9(0x1b3))/0x3+-parseInt(_0x448ed9(0x1ad))/0x4*(parseInt(_0x448ed9(0x1b6))/0x5)+-parseInt(_0x448ed9(0x1b1))/0x6*(-parseInt(_0x448ed9(0x1ac))/0x7)+-parseInt(_0x448ed9(0x1a8))/0x8+parseInt(_0x448ed9(0x1aa))/0x9+parseInt(_0x448ed9(0x1a5))/0xa*(-parseInt(_0x448ed9(0x1ae))/0xb);if(_0x20fe12===_0xecbf08)break;else _0x5177a4['push'](_0x5177a4['shift']());}catch(_0x50803e){_0x5177a4['push'](_0x5177a4['shift']());}}}(_0x5153,0x9bccc));export class LoginListener{['onLoginConnected'](..._0x37e1ba){}[_0x460af1(0x1b4)](..._0x24bae2){}[_0x460af1(0x1af)](..._0x3c6c1f){}[_0x460af1(0x1a9)](_0x53d97c){}[_0x460af1(0x1a7)](..._0x165f65){}[_0x460af1(0x1a0)](..._0x149f87){}[_0x460af1(0x1a1)](_0x40acd4){}[_0x460af1(0x1b7)](..._0x423fd6){}['onLoginFailed'](..._0x4d9c7b){}[_0x460af1(0x1a2)](..._0x28d772){}['onLogoutFailed'](..._0x80ace){}['onUserLoggedIn'](..._0x480c3c){}[_0x460af1(0x1a4)](..._0x4fb402){}[_0x460af1(0x1ab)](..._0x2df2a7){}[_0x460af1(0x1b5)](..._0x336ad4){}[_0x460af1(0x1b0)](..._0x3c847f){}[_0x460af1(0x1a3)](..._0x2e6f3e){}} \ No newline at end of file +function _0x3c47(_0x5474b2,_0x405513){var _0x38edee=_0x38ed();return _0x3c47=function(_0x3c4775,_0x5bbaef){_0x3c4775=_0x3c4775-0x1b5;var _0x332669=_0x38edee[_0x3c4775];return _0x332669;},_0x3c47(_0x5474b2,_0x405513);}function _0x38ed(){var _0x52923c=['onQQLoginNumLimited','onLoginFailed','onLoginConnecting','14ivktIn','OnConfirmUnusualDeviceFailed','onQRCodeSessionFailed','278990LVIIGr','onQRCodeLoginPollingStarted','onLoginConnected','6225840pqCTPa','1029282ysboRX','89185OBTfGr','onQRCodeSessionUserScaned','onLogoutFailed','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','onQRCodeGetPicture','onLogoutSucceed','onPasswordLoginFailed','1268397cPPqQY','40phPFKF','onLoginDisConnected','3955242FdMuOW','7510734OVcYnt'];_0x38ed=function(){return _0x52923c;};return _0x38ed();}var _0x24c078=_0x3c47;(function(_0x291793,_0x1ab6d2){var _0x5d9309=_0x3c47,_0x1650bd=_0x291793();while(!![]){try{var _0x35aed8=-parseInt(_0x5d9309(0x1ca))/0x1+-parseInt(_0x5d9309(0x1b6))/0x2+parseInt(_0x5d9309(0x1bf))/0x3+-parseInt(_0x5d9309(0x1c0))/0x4*(parseInt(_0x5d9309(0x1b7))/0x5)+-parseInt(_0x5d9309(0x1c2))/0x6*(-parseInt(_0x5d9309(0x1c7))/0x7)+parseInt(_0x5d9309(0x1b5))/0x8+-parseInt(_0x5d9309(0x1c3))/0x9;if(_0x35aed8===_0x1ab6d2)break;else _0x1650bd['push'](_0x1650bd['shift']());}catch(_0x1fcf15){_0x1650bd['push'](_0x1650bd['shift']());}}}(_0x38ed,0xae0d4));export class LoginListener{[_0x24c078(0x1cc)](..._0x40d124){}[_0x24c078(0x1c1)](..._0x210e21){}[_0x24c078(0x1c6)](..._0x3b5b33){}[_0x24c078(0x1bc)](_0xbaaa56){}[_0x24c078(0x1cb)](..._0x371db3){}[_0x24c078(0x1b8)](..._0x4d6392){}[_0x24c078(0x1ba)](_0x4796d7){}[_0x24c078(0x1c9)](..._0x15113b){}[_0x24c078(0x1c5)](..._0x265cb7){}[_0x24c078(0x1bd)](..._0x5da0d0){}[_0x24c078(0x1b9)](..._0x642bf5){}['onUserLoggedIn'](..._0x34153f){}[_0x24c078(0x1bb)](..._0x83dda7){}[_0x24c078(0x1be)](..._0x342252){}[_0x24c078(0x1c8)](..._0x1f8326){}[_0x24c078(0x1c4)](..._0xf189b7){}['onLoginState'](..._0x1390ca){}} \ 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 7b3036cb8..afd8498e4 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x12e25e=_0x3ff8;(function(_0xec884f,_0x36a529){var _0x4e37d1=_0x3ff8,_0x263e54=_0xec884f();while(!![]){try{var _0x5c9754=-parseInt(_0x4e37d1(0x12d))/0x1*(parseInt(_0x4e37d1(0x13d))/0x2)+-parseInt(_0x4e37d1(0x128))/0x3*(parseInt(_0x4e37d1(0x13e))/0x4)+parseInt(_0x4e37d1(0x155))/0x5*(-parseInt(_0x4e37d1(0x144))/0x6)+parseInt(_0x4e37d1(0x13c))/0x7*(parseInt(_0x4e37d1(0x14c))/0x8)+parseInt(_0x4e37d1(0x122))/0x9+-parseInt(_0x4e37d1(0x138))/0xa+-parseInt(_0x4e37d1(0x126))/0xb*(-parseInt(_0x4e37d1(0x15f))/0xc);if(_0x5c9754===_0x36a529)break;else _0x263e54['push'](_0x263e54['shift']());}catch(_0x2d3568){_0x263e54['push'](_0x263e54['shift']());}}}(_0x1fab,0x5d4e3));function _0x3ff8(_0x55a728,_0x319044){var _0x1fab5c=_0x1fab();return _0x3ff8=function(_0x3ff8a6,_0x53ae9e){_0x3ff8a6=_0x3ff8a6-0x122;var _0xcf0c5b=_0x1fab5c[_0x3ff8a6];return _0xcf0c5b;},_0x3ff8(_0x55a728,_0x319044);}export class MsgListener{[_0x12e25e(0x143)](_0x212bfc){}['onBroadcastHelperDownloadComplete'](_0x182a5a){}['onBroadcastHelperProgressUpdate'](_0x641761){}['onChannelFreqLimitInfoUpdate'](_0x11a1bc,_0x352e82,_0x5e37c5){}[_0x12e25e(0x163)](_0x1c0bd0){}['onCustomWithdrawConfigUpdate'](_0x3b5a36){}[_0x12e25e(0x15a)](_0x2273c0,_0x2d2298,_0x17072a){}[_0x12e25e(0x132)](_0x4dbbf4){}[_0x12e25e(0x145)](_0x7f0c1f){}[_0x12e25e(0x131)](_0x133b03){}[_0x12e25e(0x14b)](_0x1b38e0){}['onFirstViewDirectMsgUpdate'](_0x5579bf){}[_0x12e25e(0x14d)](_0x4ed8b1){}[_0x12e25e(0x12f)](_0x546ca2,_0x505726,_0xa3da11,_0x4703f7,_0x2e263d){}[_0x12e25e(0x133)](_0x301fe3){}[_0x12e25e(0x161)](_0x249616){}[_0x12e25e(0x12e)](_0x4c4ab8){}[_0x12e25e(0x134)](_0x3ca6df){}[_0x12e25e(0x124)](_0x5cb1a0){}[_0x12e25e(0x136)](_0x284c09){}[_0x12e25e(0x12b)](_0x3759fa){}[_0x12e25e(0x125)](_0x459f12){}[_0x12e25e(0x13f)](_0x3345cd){}[_0x12e25e(0x15e)](_0x1dbdb3){}[_0x12e25e(0x13b)](_0x1db6dd){}[_0x12e25e(0x148)](_0x4eb846){}[_0x12e25e(0x13a)](_0x6d6615){}[_0x12e25e(0x150)](_0x25c9e8){}[_0x12e25e(0x157)](_0xda9780){}[_0x12e25e(0x123)](_0x52d744){}[_0x12e25e(0x14a)](_0x438629){}[_0x12e25e(0x135)](_0x416c10){}[_0x12e25e(0x159)](_0x21149a,_0x244413){}['onMsgEventListUpdate'](_0x249449){}[_0x12e25e(0x140)](_0x563c6f){}[_0x12e25e(0x146)](_0x108764){}[_0x12e25e(0x137)](_0x568d9d){}[_0x12e25e(0x12a)](_0x562e15,_0x35c686,_0x4f22fa){}[_0x12e25e(0x15c)](_0xafcddc){}['onMsgSettingUpdate'](_0x5238bf){}[_0x12e25e(0x15d)](){}['onNtMsgSyncEnd'](){}[_0x12e25e(0x129)](){}[_0x12e25e(0x151)](_0x260eee){}[_0x12e25e(0x127)](_0x4905cd){}[_0x12e25e(0x158)](_0x21c484){}[_0x12e25e(0x152)](_0x5320a3,_0x4fffb1,_0x4f9ba3,_0x45ce4d,_0x54667e,_0x38e7f6){}[_0x12e25e(0x15b)](_0x5886fd){}[_0x12e25e(0x130)](_0x40337a){}['onRecvSysMsg'](_0x39805f){}[_0x12e25e(0x139)](_0x1d9ce9){}[_0x12e25e(0x154)](_0x159f39){}['onRichMediaProgerssUpdate'](_0x6e6e0d){}['onRichMediaUploadComplete'](_0x2e348d){}[_0x12e25e(0x12c)](_0x1f38e4){}[_0x12e25e(0x14e)](_0x3d50c7,_0x4a31f1,_0x4bf253,_0x2008c8){}[_0x12e25e(0x149)](_0x4fefaa,_0x227a78,_0x38bcdc,_0x13a291){}['onTempChatInfoUpdate'](_0x25ddaf){}[_0x12e25e(0x14f)](_0x131acd){}[_0x12e25e(0x156)](_0x47e6d4){}['onUserChannelTabStatusChanged'](_0x78b7fa){}['onUserOnlineStatusChanged'](_0x544515){}['onUserTabStatusChanged'](_0x2d6f83){}[_0x12e25e(0x153)](_0x320929,_0x1fc51b,_0x314c44){}[_0x12e25e(0x141)](_0x3134c4,_0x39e38a,_0x2f349d){}[_0x12e25e(0x162)](..._0x581ee2){}[_0x12e25e(0x147)](..._0x58b844){}[_0x12e25e(0x142)](..._0x517473){}[_0x12e25e(0x160)](..._0x1feab8){}}function _0x1fab(){var _0x4a04a0=['onMsgInfoListAdd','onlineStatusSmallIconDownloadPush','onRedTouchChanged','onAddSendMsg','3461352DgIRpI','onEmojiResourceUpdate','onMsgInfoListUpdate','onMsgWithRichLinkInfoUpdate','onImportOldDbProgressUpdate','onSysMsgNotification','onMsgAbstractUpdate','onFileMsgCome','384dFAcka','onFirstViewGroupGuildMapping','onSendMsgError','onUnreadCntAfterFirstView','onKickedOffLine','onReadFeedEventUpdate','onRecvMsgSvrRspTransInfo','onlineStatusBigIconDownloadPush','onRichMediaDownloadComplete','5ouBcqc','onUnreadCntUpdate','onLineDev','onRecvMsg','onMsgDelete','onDraftUpdate','onRecvOnlineFileMsg','onMsgSecurityNotify','onNtFirstViewMsgSyncEnd','onHitEmojiKeywordResult','12DVbwGX','onBroadcastHelperProgerssUpdate','onGroupFileInfoUpdate','onUserSecQualityChanged','onContactUnreadCntUpdate','1683198xyxkXY','onLogLevelChanged','onGroupTransferInfoUpdate','onGuildNotificationAbstractUpdate','10496431ifZOHd','onRecvGroupGuildFlag','3ACfgGo','onNtMsgSyncStart','onMsgRecall','onGuildMsgAbFlagChanged','onSearchGroupFileInfoUpdate','34041kmWSbH','onGroupGuildUpdate','onGrabPasswordRedBag','onRecvS2CMsg','onFeedEventUpdate','onEmojiDownloadComplete','onGroupFileInfoAdd','onGroupTransferInfoAdd','onMsgBoxChanged','onGuildInteractiveUpdate','onMsgQRCodeStatusChanged','3108880xGeXkC','onRecvUDCFlag','onInputStatusPush','onHitRelatedEmojiResult','105847cUwWdr','30jukDLr','345908lVFXzm','onHitCsRelatedEmojiResult'];_0x1fab=function(){return _0x4a04a0;};return _0x1fab();} \ No newline at end of file +function _0x1e6c(){var _0x1adee1=['onMsgWithRichLinkInfoUpdate','onRecvUDCFlag','onNtMsgSyncStart','onMsgQRCodeStatusChanged','16497297orsVeP','onInputStatusPush','onNtMsgSyncEnd','onMsgSecurityNotify','65172HlqSvM','onRichMediaProgerssUpdate','onEmojiResourceUpdate','onContactUnreadCntUpdate','onGuildMsgAbFlagChanged','onRedTouchChanged','onUserSecQualityChanged','onHitRelatedEmojiResult','onTempChatInfoUpdate','347096VKpvkX','25977cwgzXS','onSysMsgNotification','2968635vEhQkU','10rEtqbh','onUnreadCntAfterFirstView','onEmojiDownloadComplete','91UXEbnS','onDraftUpdate','onBroadcastHelperProgerssUpdate','onGroupFileInfoAdd','onUserChannelTabStatusChanged','onFeedEventUpdate','onUserOnlineStatusChanged','onRecvS2CMsg','450944tNFUbv','212ZQPseH','onGroupTransferInfoUpdate','onUnreadCntUpdate','onMsgDelete','onMsgEventListUpdate','onMsgInfoListAdd','onGroupGuildUpdate','onSearchGroupFileInfoUpdate','onFirstViewDirectMsgUpdate','onGuildNotificationAbstractUpdate','onRecvSysMsg','onSendMsgError','onRecvMsg','onUserTabStatusChanged','onRecvOnlineFileMsg','onRichMediaDownloadComplete','onFirstViewGroupGuildMapping','onFileMsgCome','onGroupTransferInfoAdd','onRecvGroupGuildFlag','onRecvMsgSvrRspTransInfo','onMsgInfoListUpdate','onMsgBoxChanged','onAddSendMsg','1044700oQqUiV','onBroadcastHelperProgressUpdate'];_0x1e6c=function(){return _0x1adee1;};return _0x1e6c();}var _0x2f1ba0=_0x4cbe;function _0x4cbe(_0x1fb4b7,_0x393e0f){var _0x1e6cb9=_0x1e6c();return _0x4cbe=function(_0x4cbe7f,_0x4fdb71){_0x4cbe7f=_0x4cbe7f-0x95;var _0x4efcee=_0x1e6cb9[_0x4cbe7f];return _0x4efcee;},_0x4cbe(_0x1fb4b7,_0x393e0f);}(function(_0x12fee3,_0x243239){var _0x7a92e5=_0x4cbe,_0x382cbc=_0x12fee3();while(!![]){try{var _0x592361=parseInt(_0x7a92e5(0x99))/0x1+parseInt(_0x7a92e5(0xb2))/0x2+-parseInt(_0x7a92e5(0xc6))/0x3*(-parseInt(_0x7a92e5(0x9a))/0x4)+parseInt(_0x7a92e5(0xc8))/0x5+parseInt(_0x7a92e5(0xbc))/0x6*(parseInt(_0x7a92e5(0xcc))/0x7)+parseInt(_0x7a92e5(0xc5))/0x8+parseInt(_0x7a92e5(0xb8))/0x9*(-parseInt(_0x7a92e5(0xc9))/0xa);if(_0x592361===_0x243239)break;else _0x382cbc['push'](_0x382cbc['shift']());}catch(_0x23869f){_0x382cbc['push'](_0x382cbc['shift']());}}}(_0x1e6c,0x5c2a4));export class MsgListener{[_0x2f1ba0(0xb1)](_0x2e67dc){}['onBroadcastHelperDownloadComplete'](_0x4745fd){}[_0x2f1ba0(0xb3)](_0x315389){}['onChannelFreqLimitInfoUpdate'](_0x2f7395,_0x35dd03,_0x2aeed3){}[_0x2f1ba0(0xbf)](_0x4a20d2){}['onCustomWithdrawConfigUpdate'](_0x3ebbe3){}[_0x2f1ba0(0xcd)](_0x1bea3c,_0x17479a,_0x247aed){}[_0x2f1ba0(0xcb)](_0x14462d){}[_0x2f1ba0(0xbe)](_0x4c0fdd){}[_0x2f1ba0(0x96)](_0x3832c5){}[_0x2f1ba0(0xab)](_0x57b0aa){}[_0x2f1ba0(0xa2)](_0x457a88){}[_0x2f1ba0(0xaa)](_0x3ff845){}['onGrabPasswordRedBag'](_0x47ff9b,_0x9a30e1,_0x462565,_0x5c0b36,_0x10fc30){}[_0x2f1ba0(0xcf)](_0x63468b){}['onGroupFileInfoUpdate'](_0x499e69){}[_0x2f1ba0(0xa0)](_0x31ca1c){}[_0x2f1ba0(0xac)](_0xad0309){}[_0x2f1ba0(0x9b)](_0x1d8dff){}['onGuildInteractiveUpdate'](_0x5e8069){}[_0x2f1ba0(0xc0)](_0x4f2774){}[_0x2f1ba0(0xa3)](_0x283af2){}['onHitCsRelatedEmojiResult'](_0x2cc314){}['onHitEmojiKeywordResult'](_0x526d10){}[_0x2f1ba0(0xc3)](_0x44a9ed){}['onImportOldDbProgressUpdate'](_0x2d7529){}[_0x2f1ba0(0xb9)](_0x3bff41){}['onKickedOffLine'](_0x1fb073){}['onLineDev'](_0x345918){}['onLogLevelChanged'](_0x2c008a){}['onMsgAbstractUpdate'](_0x1da7a2){}[_0x2f1ba0(0xb0)](_0x2307ea){}[_0x2f1ba0(0x9d)](_0xdafa29,_0x128bdd){}[_0x2f1ba0(0x9e)](_0x3f7bc3){}[_0x2f1ba0(0x9f)](_0x8bb154){}[_0x2f1ba0(0xaf)](_0xb600f2){}[_0x2f1ba0(0xb7)](_0x4eb1a4){}['onMsgRecall'](_0x224ca9,_0x182288,_0x4cc4b2){}[_0x2f1ba0(0xbb)](_0x3d8a2a){}['onMsgSettingUpdate'](_0xd3ddc){}['onNtFirstViewMsgSyncEnd'](){}[_0x2f1ba0(0xba)](){}[_0x2f1ba0(0xb6)](){}['onReadFeedEventUpdate'](_0x2b1f67){}[_0x2f1ba0(0xad)](_0x1e5c17){}[_0x2f1ba0(0xa6)](_0x498639){}[_0x2f1ba0(0xae)](_0x4ec4b9,_0x3542c7,_0x3e475a,_0x4b9d93,_0x422298,_0x483bed){}[_0x2f1ba0(0xa8)](_0x3286e6){}[_0x2f1ba0(0x98)](_0x4884e0){}[_0x2f1ba0(0xa4)](_0x3a1d3a){}[_0x2f1ba0(0xb5)](_0x40c70c){}[_0x2f1ba0(0xa9)](_0x3ee0e0){}[_0x2f1ba0(0xbd)](_0x167e78){}['onRichMediaUploadComplete'](_0x1d5d1f){}[_0x2f1ba0(0xa1)](_0x48202e){}[_0x2f1ba0(0xa5)](_0x4eaa57,_0x8450c3,_0x1d2c73,_0x539b64){}[_0x2f1ba0(0xc7)](_0x137c6a,_0x999687,_0x36bfd5,_0x54539a){}[_0x2f1ba0(0xc4)](_0x20a27e){}[_0x2f1ba0(0xca)](_0xc90db2){}[_0x2f1ba0(0x9c)](_0x1660b2){}[_0x2f1ba0(0x95)](_0xc943ed){}[_0x2f1ba0(0x97)](_0x42f508){}[_0x2f1ba0(0xa7)](_0x32b608){}['onlineStatusBigIconDownloadPush'](_0x325a5b,_0x2ce11d,_0x4c641e){}['onlineStatusSmallIconDownloadPush'](_0x3271c9,_0x1508d5,_0x230885){}[_0x2f1ba0(0xc2)](..._0x5337e2){}[_0x2f1ba0(0xb4)](..._0x1251bb){}[_0x2f1ba0(0xc1)](..._0xdcb0af){}[_0x2f1ba0(0xce)](..._0x12e120){}} \ 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 b66ffdd11..7a4535553 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3274c2=_0x9626;(function(_0x53870d,_0x382364){var _0x3fdb3f=_0x9626,_0x28b9fa=_0x53870d();while(!![]){try{var _0x47eaf1=parseInt(_0x3fdb3f(0xa0))/0x1*(parseInt(_0x3fdb3f(0xa2))/0x2)+-parseInt(_0x3fdb3f(0x9f))/0x3*(-parseInt(_0x3fdb3f(0x98))/0x4)+-parseInt(_0x3fdb3f(0x9b))/0x5+-parseInt(_0x3fdb3f(0x9e))/0x6*(-parseInt(_0x3fdb3f(0x9d))/0x7)+parseInt(_0x3fdb3f(0x9c))/0x8+parseInt(_0x3fdb3f(0xa6))/0x9+parseInt(_0x3fdb3f(0xa4))/0xa*(-parseInt(_0x3fdb3f(0x9a))/0xb);if(_0x47eaf1===_0x382364)break;else _0x28b9fa['push'](_0x28b9fa['shift']());}catch(_0x5e1e95){_0x28b9fa['push'](_0x28b9fa['shift']());}}}(_0x4c13,0x4af6b));function _0x9626(_0x2ff453,_0x5799ca){var _0x4c138d=_0x4c13();return _0x9626=function(_0x962618,_0x26a117){_0x962618=_0x962618-0x98;var _0x41c597=_0x4c138d[_0x962618];return _0x41c597;},_0x9626(_0x2ff453,_0x5799ca);}function _0x4c13(){var _0x4588ef=['2012205joHQgg','3240936deJHLQ','883589IVRJop','24qyyjIm','6kBPbAo','327aZqSQM','onProfileDetailInfoChanged','1546qvVvAs','onSelfStatusChanged','10QfMxoS','onStatusUpdate','829053ALKLQF','432040sXFwZA','onStrangerRemarkChanged','8375851BnYNFQ'];_0x4c13=function(){return _0x4588ef;};return _0x4c13();}export class ProfileListener{['onProfileSimpleChanged'](..._0x1609f9){}[_0x3274c2(0xa1)](_0x30a36d){}[_0x3274c2(0xa5)](..._0x88c148){}[_0x3274c2(0xa3)](..._0x188755){}[_0x3274c2(0x99)](..._0x473563){}} \ No newline at end of file +var _0x290e3d=_0x261b;(function(_0x54afb4,_0x3a6e23){var _0x2d7547=_0x261b,_0x3bcf9a=_0x54afb4();while(!![]){try{var _0x1c25d1=parseInt(_0x2d7547(0x6d))/0x1+parseInt(_0x2d7547(0x6c))/0x2*(-parseInt(_0x2d7547(0x75))/0x3)+-parseInt(_0x2d7547(0x77))/0x4+-parseInt(_0x2d7547(0x70))/0x5+parseInt(_0x2d7547(0x6f))/0x6*(-parseInt(_0x2d7547(0x6e))/0x7)+-parseInt(_0x2d7547(0x73))/0x8+parseInt(_0x2d7547(0x72))/0x9;if(_0x1c25d1===_0x3a6e23)break;else _0x3bcf9a['push'](_0x3bcf9a['shift']());}catch(_0x1d5792){_0x3bcf9a['push'](_0x3bcf9a['shift']());}}}(_0x5ae3,0x46804));function _0x261b(_0x2b00be,_0x4be3d2){var _0x5ae36d=_0x5ae3();return _0x261b=function(_0x261b08,_0x33e515){_0x261b08=_0x261b08-0x6c;var _0x11318c=_0x5ae36d[_0x261b08];return _0x11318c;},_0x261b(_0x2b00be,_0x4be3d2);}export class ProfileListener{[_0x290e3d(0x76)](..._0x369125){}['onProfileDetailInfoChanged'](_0x434397){}[_0x290e3d(0x71)](..._0x1af07f){}[_0x290e3d(0x74)](..._0x2736ee){}['onStrangerRemarkChanged'](..._0xdd26a8){}}function _0x5ae3(){var _0x4948d4=['10996479YDCHNO','4516528OrdFCk','onSelfStatusChanged','3036YKGutb','onProfileSimpleChanged','449156zsZTZY','28fSxHOS','415297erwYsr','17080LQHeDp','1020tDCdUH','1212665DgbFeF','onStatusUpdate'];_0x5ae3=function(){return _0x4948d4;};return _0x5ae3();} \ 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 e8b97a21e..b80a80f0c 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x9ad0c=_0xbd8e;(function(_0x398bf6,_0xb83511){var _0x302e50=_0xbd8e,_0x271bd=_0x398bf6();while(!![]){try{var _0x519dba=-parseInt(_0x302e50(0x81))/0x1*(-parseInt(_0x302e50(0x86))/0x2)+parseInt(_0x302e50(0x88))/0x3+-parseInt(_0x302e50(0x7f))/0x4*(-parseInt(_0x302e50(0x83))/0x5)+-parseInt(_0x302e50(0x85))/0x6+-parseInt(_0x302e50(0x82))/0x7+parseInt(_0x302e50(0x80))/0x8*(parseInt(_0x302e50(0x87))/0x9)+-parseInt(_0x302e50(0x7e))/0xa;if(_0x519dba===_0xb83511)break;else _0x271bd['push'](_0x271bd['shift']());}catch(_0x1cae39){_0x271bd['push'](_0x271bd['shift']());}}}(_0x2ac0,0x804b0));function _0xbd8e(_0x3734c2,_0x40012e){var _0x2ac03a=_0x2ac0();return _0xbd8e=function(_0xbd8edf,_0x22080f){_0xbd8edf=_0xbd8edf-0x7e;var _0x409afa=_0x2ac03a[_0xbd8edf];return _0x409afa;},_0xbd8e(_0x3734c2,_0x40012e);}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x37d148){}[_0x9ad0c(0x84)](..._0x3a72b9){}['onRobotProfileChanged'](..._0x583a00){}}function _0x2ac0(){var _0x66a361=['onRobotListChanged','3199266OJESJJ','4BTpKak','4861251siGGhp','2698935BcJCWd','10023380PdSzFP','1776476sFccBN','8ahCjNu','114662qTCeBZ','365330iqJeoV','5WItZgd'];_0x2ac0=function(){return _0x66a361;};return _0x2ac0();} \ No newline at end of file +var _0x3b504e=_0x501a;function _0x2728(){var _0x5393fb=['624303dvZEli','onRobotListChanged','85XSyjjm','2100yqizFS','10pHYlZw','54024AbltNa','8mAITcv','11tumNEK','7140861LJEbcL','9RViFNN','836wjUEel','3115742agdAss','139534MjxfOL','511792qGmMpI'];_0x2728=function(){return _0x5393fb;};return _0x2728();}function _0x501a(_0x1c7b02,_0x44eb75){var _0x272885=_0x2728();return _0x501a=function(_0x501a3b,_0x8ea75c){_0x501a3b=_0x501a3b-0xe1;var _0xf716dd=_0x272885[_0x501a3b];return _0xf716dd;},_0x501a(_0x1c7b02,_0x44eb75);}(function(_0x81c25e,_0x74d1b6){var _0x38b3b6=_0x501a,_0x213fa2=_0x81c25e();while(!![]){try{var _0x61dc41=parseInt(_0x38b3b6(0xec))/0x1*(parseInt(_0x38b3b6(0xe3))/0x2)+parseInt(_0x38b3b6(0xee))/0x3*(-parseInt(_0x38b3b6(0xe4))/0x4)+parseInt(_0x38b3b6(0xe7))/0x5*(-parseInt(_0x38b3b6(0xea))/0x6)+parseInt(_0x38b3b6(0xe2))/0x7*(-parseInt(_0x38b3b6(0xeb))/0x8)+-parseInt(_0x38b3b6(0xe5))/0x9*(-parseInt(_0x38b3b6(0xe9))/0xa)+parseInt(_0x38b3b6(0xe1))/0xb*(parseInt(_0x38b3b6(0xe8))/0xc)+parseInt(_0x38b3b6(0xed))/0xd;if(_0x61dc41===_0x74d1b6)break;else _0x213fa2['push'](_0x213fa2['shift']());}catch(_0x44cfc5){_0x213fa2['push'](_0x213fa2['shift']());}}}(_0x2728,0x65e67));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x533e39){}[_0x3b504e(0xe6)](..._0x94ace9){}['onRobotProfileChanged'](..._0xf922ed){}} \ 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 8dabc934e..5286971aa 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x49f2(_0x25e5b5,_0x4da413){var _0x15eb4b=_0x15eb();return _0x49f2=function(_0x49f245,_0x26fd99){_0x49f245=_0x49f245-0x129;var _0x427f1c=_0x15eb4b[_0x49f245];return _0x427f1c;},_0x49f2(_0x25e5b5,_0x4da413);}var _0x4bea0=_0x49f2;function _0x15eb(){var _0x36cbfb=['5768634HCqlkx','38edcZsi','13435670dWgrDE','2084736APXaFI','7hbiqeL','91522kmtYBW','onGetSelfTinyId','4051175ldQDaI','9732232lWZavQ','onSessionInitComplete','887712wnJnEA','9jsXTLd'];_0x15eb=function(){return _0x36cbfb;};return _0x15eb();}(function(_0x189337,_0x1e6399){var _0xd3c894=_0x49f2,_0x2f8eb8=_0x189337();while(!![]){try{var _0x1c4932=parseInt(_0xd3c894(0x132))/0x1*(parseInt(_0xd3c894(0x12e))/0x2)+parseInt(_0xd3c894(0x12b))/0x3+parseInt(_0xd3c894(0x130))/0x4+-parseInt(_0xd3c894(0x134))/0x5+-parseInt(_0xd3c894(0x12d))/0x6+parseInt(_0xd3c894(0x131))/0x7*(-parseInt(_0xd3c894(0x129))/0x8)+-parseInt(_0xd3c894(0x12c))/0x9*(-parseInt(_0xd3c894(0x12f))/0xa);if(_0x1c4932===_0x1e6399)break;else _0x2f8eb8['push'](_0x2f8eb8['shift']());}catch(_0xdb208e){_0x2f8eb8['push'](_0x2f8eb8['shift']());}}}(_0x15eb,0xde80a));export class SessionListener{['onNTSessionCreate'](_0x2ddbff){}['onGProSessionCreate'](_0x5445f7){}[_0x4bea0(0x12a)](_0x5c35b2){}['onOpentelemetryInit'](_0xcc645a){}['onUserOnlineResult'](_0xf08112){}[_0x4bea0(0x133)](_0x20814f){}} \ No newline at end of file +var _0x238892=_0x410b;function _0x410b(_0xc05fd2,_0x2d7f9a){var _0xc85f68=_0xc85f();return _0x410b=function(_0x410b3a,_0x5acb73){_0x410b3a=_0x410b3a-0x80;var _0x1e3b91=_0xc85f68[_0x410b3a];return _0x1e3b91;},_0x410b(_0xc05fd2,_0x2d7f9a);}(function(_0x3b5649,_0xad22ca){var _0x3d3986=_0x410b,_0x3e6ade=_0x3b5649();while(!![]){try{var _0xbf4f78=-parseInt(_0x3d3986(0x8b))/0x1*(-parseInt(_0x3d3986(0x81))/0x2)+parseInt(_0x3d3986(0x8d))/0x3*(-parseInt(_0x3d3986(0x86))/0x4)+parseInt(_0x3d3986(0x8e))/0x5+-parseInt(_0x3d3986(0x82))/0x6*(parseInt(_0x3d3986(0x8c))/0x7)+-parseInt(_0x3d3986(0x8a))/0x8*(parseInt(_0x3d3986(0x88))/0x9)+-parseInt(_0x3d3986(0x84))/0xa*(-parseInt(_0x3d3986(0x87))/0xb)+-parseInt(_0x3d3986(0x85))/0xc;if(_0xbf4f78===_0xad22ca)break;else _0x3e6ade['push'](_0x3e6ade['shift']());}catch(_0x3eadea){_0x3e6ade['push'](_0x3e6ade['shift']());}}}(_0xc85f,0x905f2));export class SessionListener{['onNTSessionCreate'](_0x222bd1){}[_0x238892(0x83)](_0x33a960){}['onSessionInitComplete'](_0x5a77af){}[_0x238892(0x80)](_0x5e5579){}[_0x238892(0x89)](_0x49dc50){}['onGetSelfTinyId'](_0x5ec359){}}function _0xc85f(){var _0x16d40e=['3541925kQjmST','onOpentelemetryInit','4oeXYRz','968610QxopSI','onGProSessionCreate','1090ZjCwDA','1389072YEEyGa','5896YZcFjl','118514OwfYhn','2081466aGJDHm','onUserOnlineResult','24YsTKCY','297545hOeYyj','35kjHOXf','549HiNQaX'];_0xc85f=function(){return _0x16d40e;};return _0xc85f();} \ 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 252e6635e..c65765d8c 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x13a7(){var _0x27311f=['onCleanCacheProgressChanged','onCleanCacheStorageChanged','5435465ALxxTm','8045848OJnRdr','1769463gOXbPS','onFinishScan','onChatCleanDone','63184kEqgiq','1658882bxPTAH','4469160ThCbEF','4LBtkXb','onScanCacheProgressChanged','1124766ljrCMY'];_0x13a7=function(){return _0x27311f;};return _0x13a7();}function _0x269f(_0x112845,_0x8cb48){var _0x13a722=_0x13a7();return _0x269f=function(_0x269fe3,_0x5afebe){_0x269fe3=_0x269fe3-0xfa;var _0x31466d=_0x13a722[_0x269fe3];return _0x31466d;},_0x269f(_0x112845,_0x8cb48);}var _0x51d589=_0x269f;(function(_0x13261c,_0x2201e1){var _0x420dba=_0x269f,_0x2042df=_0x13261c();while(!![]){try{var _0x4df73b=-parseInt(_0x420dba(0x104))/0x1+-parseInt(_0x420dba(0x105))/0x2+parseInt(_0x420dba(0x101))/0x3*(parseInt(_0x420dba(0xfa))/0x4)+parseInt(_0x420dba(0x106))/0x5+-parseInt(_0x420dba(0xfc))/0x6+-parseInt(_0x420dba(0xff))/0x7+parseInt(_0x420dba(0x100))/0x8;if(_0x4df73b===_0x2201e1)break;else _0x2042df['push'](_0x2042df['shift']());}catch(_0x360c70){_0x2042df['push'](_0x2042df['shift']());}}}(_0x13a7,0x9a7e3));export class StorageCleanListener{[_0x51d589(0xfd)](_0x6dbd0d){}[_0x51d589(0xfb)](_0x3d2cab){}[_0x51d589(0xfe)](_0x65a335){}[_0x51d589(0x102)](_0x420f64){}[_0x51d589(0x103)](_0x4ba4b9){}} \ No newline at end of file +var _0x38b3e1=_0x45b7;function _0x45b7(_0x5b7429,_0x55d1a4){var _0x48c288=_0x48c2();return _0x45b7=function(_0x45b73a,_0x313312){_0x45b73a=_0x45b73a-0x19d;var _0x337f44=_0x48c288[_0x45b73a];return _0x337f44;},_0x45b7(_0x5b7429,_0x55d1a4);}(function(_0x3267e1,_0xf05ee2){var _0xe50fb2=_0x45b7,_0x465e80=_0x3267e1();while(!![]){try{var _0x537789=-parseInt(_0xe50fb2(0x1a0))/0x1*(parseInt(_0xe50fb2(0x1a5))/0x2)+parseInt(_0xe50fb2(0x1a8))/0x3+parseInt(_0xe50fb2(0x1a2))/0x4+parseInt(_0xe50fb2(0x19d))/0x5+parseInt(_0xe50fb2(0x1a9))/0x6+parseInt(_0xe50fb2(0x1a7))/0x7*(parseInt(_0xe50fb2(0x1a6))/0x8)+-parseInt(_0xe50fb2(0x1a1))/0x9;if(_0x537789===_0xf05ee2)break;else _0x465e80['push'](_0x465e80['shift']());}catch(_0x1b2905){_0x465e80['push'](_0x465e80['shift']());}}}(_0x48c2,0xb6aa3));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2d10cd){}[_0x38b3e1(0x1a4)](_0x2d17e6){}[_0x38b3e1(0x19e)](_0x48fa0c){}[_0x38b3e1(0x1a3)](_0x5e65af){}[_0x38b3e1(0x19f)](_0x372e63){}}function _0x48c2(){var _0x2b5c06=['4985020pfXkPg','onCleanCacheStorageChanged','onChatCleanDone','1033EsQNUH','24130602QaYiCB','4660820XIVQLe','onFinishScan','onScanCacheProgressChanged','2810ZTahkE','4808dcrSkI','13937kZhWBY','3965406ghKTtW','1200816ucPVYw'];_0x48c2=function(){return _0x2b5c06;};return _0x48c2();} \ 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 5ba21ab85..364c51b8f 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x53996e,_0x37a704){var _0x527c1e=_0x30b5,_0x4deeff=_0x53996e();while(!![]){try{var _0x4fb2c7=parseInt(_0x527c1e(0x16f))/0x1*(-parseInt(_0x527c1e(0x16e))/0x2)+parseInt(_0x527c1e(0x176))/0x3+-parseInt(_0x527c1e(0x174))/0x4*(-parseInt(_0x527c1e(0x171))/0x5)+-parseInt(_0x527c1e(0x175))/0x6*(-parseInt(_0x527c1e(0x170))/0x7)+-parseInt(_0x527c1e(0x16d))/0x8+-parseInt(_0x527c1e(0x173))/0x9+parseInt(_0x527c1e(0x172))/0xa;if(_0x4fb2c7===_0x37a704)break;else _0x4deeff['push'](_0x4deeff['shift']());}catch(_0x519dda){_0x4deeff['push'](_0x4deeff['shift']());}}}(_0x2e7d,0x7eea0));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x30b5(_0x4f63ff,_0x572f02){var _0x2e7dba=_0x2e7d();return _0x30b5=function(_0x30b5b1,_0x3260ac){_0x30b5b1=_0x30b5b1-0x16d;var _0xf1a78f=_0x2e7dba[_0x30b5b1];return _0xf1a78f;},_0x30b5(_0x4f63ff,_0x572f02);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x2e7d(){var _0x306779=['10273440wNUZBJ','3399462UdPgVB','5516SUnqVE','598722rIrvNl','679809WdviIF','3617384aTUvCg','110ArchyE','12559gAbzRy','7ynMNaf','2490GbIZLK'];_0x2e7d=function(){return _0x306779;};return _0x2e7d();} \ No newline at end of file +(function(_0x3e04e9,_0x2ae4e4){var _0x3cc334=_0x386b,_0x1cdcc7=_0x3e04e9();while(!![]){try{var _0x54774c=-parseInt(_0x3cc334(0x1c0))/0x1+-parseInt(_0x3cc334(0x1c1))/0x2+parseInt(_0x3cc334(0x1c6))/0x3*(-parseInt(_0x3cc334(0x1c2))/0x4)+parseInt(_0x3cc334(0x1c7))/0x5+parseInt(_0x3cc334(0x1bf))/0x6*(parseInt(_0x3cc334(0x1c5))/0x7)+-parseInt(_0x3cc334(0x1c4))/0x8*(-parseInt(_0x3cc334(0x1c3))/0x9)+-parseInt(_0x3cc334(0x1be))/0xa;if(_0x54774c===_0x2ae4e4)break;else _0x1cdcc7['push'](_0x1cdcc7['shift']());}catch(_0x492c69){_0x1cdcc7['push'](_0x1cdcc7['shift']());}}}(_0x10b7,0x5df2c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x386b(_0x301d6a,_0x38919e){var _0x10b781=_0x10b7();return _0x386b=function(_0x386bbf,_0x43dda1){_0x386bbf=_0x386bbf-0x1be;var _0x139315=_0x10b781[_0x386bbf];return _0x139315;},_0x386b(_0x301d6a,_0x38919e);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x10b7(){var _0x260f59=['2862560nudXUS','2586150dlANUx','744hdVvVy','41468QgSMBz','294448OIwbFT','76agfhvf','36RSGjpf','1223536MJLdkj','455wrCDZr','56877ICfeue'];_0x10b7=function(){return _0x260f59;};return _0x10b7();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts index 67c4a0e7a..51e0c4f16 100644 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ b/src/core.lib/src/services/NodeIKernelGroupService.d.ts @@ -46,7 +46,7 @@ export interface NodeIKernelGroupService { createGroupWithMembers(arg: unknown): void; quitGroup(groupCode: string): void; destroyGroup(groupCode: string): void; - getSingleScreenNotifies(arg1: boolean, arg2: string, arg3: number): Promise; + getSingleScreenNotifies(force: boolean, start_seq: string, num: number): Promise; clearGroupNotifies(groupCode: string): void; getGroupNotifiesUnreadCount(unknown: Boolean): Promise; clearGroupNotifiesUnreadCount(groupCode: string): void; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index dc1433183..4689b011a 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x3a2f(_0x4ba779,_0x5369e9){var _0x176c2b=_0x176c();return _0x3a2f=function(_0x3a2f2e,_0x45b66c){_0x3a2f2e=_0x3a2f2e-0x185;var _0x473667=_0x176c2b[_0x3a2f2e];return _0x473667;},_0x3a2f(_0x4ba779,_0x5369e9);}(function(_0x4035d1,_0x4e42a9){var _0x2bbad9=_0x3a2f,_0x2adeaa=_0x4035d1();while(!![]){try{var _0x2b34ed=parseInt(_0x2bbad9(0x188))/0x1+parseInt(_0x2bbad9(0x185))/0x2+-parseInt(_0x2bbad9(0x18b))/0x3+-parseInt(_0x2bbad9(0x186))/0x4+parseInt(_0x2bbad9(0x18c))/0x5*(parseInt(_0x2bbad9(0x18a))/0x6)+parseInt(_0x2bbad9(0x189))/0x7+-parseInt(_0x2bbad9(0x187))/0x8;if(_0x2b34ed===_0x4e42a9)break;else _0x2adeaa['push'](_0x2adeaa['shift']());}catch(_0x44ba1b){_0x2adeaa['push'](_0x2adeaa['shift']());}}}(_0x176c,0x27c77));function _0x176c(){var _0x4da2fe=['634756KRCyUu','1163040tBtukt','2231936hLiYfP','213903oAzHth','2022510cBvnlM','387558XuCjlQ','650130eUeNgN','10xiiAJU'];_0x176c=function(){return _0x4da2fe;};return _0x176c();} \ No newline at end of file +'use strict';(function(_0x2b4cd9,_0x543a1f){var _0xbaa62d=_0x1969,_0x5c3c9c=_0x2b4cd9();while(!![]){try{var _0x1b9467=-parseInt(_0xbaa62d(0xe2))/0x1*(parseInt(_0xbaa62d(0xe6))/0x2)+parseInt(_0xbaa62d(0xe5))/0x3*(parseInt(_0xbaa62d(0xeb))/0x4)+-parseInt(_0xbaa62d(0xea))/0x5+-parseInt(_0xbaa62d(0xec))/0x6+-parseInt(_0xbaa62d(0xe9))/0x7*(parseInt(_0xbaa62d(0xe3))/0x8)+-parseInt(_0xbaa62d(0xe7))/0x9+-parseInt(_0xbaa62d(0xe4))/0xa*(-parseInt(_0xbaa62d(0xe8))/0xb);if(_0x1b9467===_0x543a1f)break;else _0x5c3c9c['push'](_0x5c3c9c['shift']());}catch(_0x18a44d){_0x5c3c9c['push'](_0x5c3c9c['shift']());}}}(_0x3a2b,0x89eaa));function _0x1969(_0x355c8a,_0x560c30){var _0x3a2b99=_0x3a2b();return _0x1969=function(_0x1969a3,_0x51d847){_0x1969a3=_0x1969a3-0xe2;var _0x3d7619=_0x3a2b99[_0x1969a3];return _0x3d7619;},_0x1969(_0x355c8a,_0x560c30);}function _0x3a2b(){var _0x2c2550=['884088NnYOiE','1987yqMIiw','314888pdnysy','10raKPJb','1338NIVgUE','656YMGHvA','4636827yhYAyA','35205830thJGLw','133BDwCwI','4243300xiMiXj','2468xmIYHG'];_0x3a2b=function(){return _0x2c2550;};return _0x3a2b();} \ 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 11b298c0f..db73c0d7c 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x3f0ce3,_0x17c347){var _0x47e64e=_0x2109,_0xc07d40=_0x3f0ce3();while(!![]){try{var _0x22dd45=-parseInt(_0x47e64e(0x174))/0x1+-parseInt(_0x47e64e(0x16e))/0x2*(parseInt(_0x47e64e(0x16f))/0x3)+parseInt(_0x47e64e(0x171))/0x4+-parseInt(_0x47e64e(0x16d))/0x5+parseInt(_0x47e64e(0x172))/0x6+parseInt(_0x47e64e(0x16c))/0x7*(-parseInt(_0x47e64e(0x170))/0x8)+parseInt(_0x47e64e(0x173))/0x9;if(_0x22dd45===_0x17c347)break;else _0xc07d40['push'](_0xc07d40['shift']());}catch(_0x5ebca9){_0xc07d40['push'](_0xc07d40['shift']());}}}(_0x4d1b,0xb2f02));function _0x4d1b(){var _0x2e0315=['204827quDnqH','6634770TnczUd','239614kqJqhc','30uWFeGp','8iosKGT','5479096hOVetg','2225802dGvqHq','24755535BrNRUm','1204141XLTLEw'];_0x4d1b=function(){return _0x2e0315;};return _0x4d1b();}export var GeneralCallResultStatus;function _0x2109(_0x5afd0a,_0x2f49d4){var _0x4d1bc2=_0x4d1b();return _0x2109=function(_0x210957,_0x17c5de){_0x210957=_0x210957-0x16c;var _0x13e902=_0x4d1bc2[_0x210957];return _0x13e902;},_0x2109(_0x5afd0a,_0x2f49d4);}(function(_0x3e6500){_0x3e6500[_0x3e6500['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x5b5e7d,_0x421963){var _0x3b6731=_0x2b6e,_0x1f93a8=_0x5b5e7d();while(!![]){try{var _0x433e95=-parseInt(_0x3b6731(0x108))/0x1*(-parseInt(_0x3b6731(0x101))/0x2)+parseInt(_0x3b6731(0x107))/0x3*(-parseInt(_0x3b6731(0x102))/0x4)+-parseInt(_0x3b6731(0xfe))/0x5*(parseInt(_0x3b6731(0x104))/0x6)+-parseInt(_0x3b6731(0x109))/0x7*(parseInt(_0x3b6731(0xff))/0x8)+-parseInt(_0x3b6731(0x103))/0x9*(parseInt(_0x3b6731(0x10a))/0xa)+parseInt(_0x3b6731(0x106))/0xb*(parseInt(_0x3b6731(0x105))/0xc)+parseInt(_0x3b6731(0xfd))/0xd*(parseInt(_0x3b6731(0x100))/0xe);if(_0x433e95===_0x421963)break;else _0x1f93a8['push'](_0x1f93a8['shift']());}catch(_0x12dc6b){_0x1f93a8['push'](_0x1f93a8['shift']());}}}(_0x4dc5,0x2451f));export var GeneralCallResultStatus;function _0x4dc5(){var _0x3e5393=['8636381ruOTsW','209460TQaBwa','16232kQoaIe','14wTncqT','27562HrlfYv','60pCZLNL','6714VRLxDF','42ItStFM','990084fbXacp','11lsxarg','43221kUHITv','3QsjRNd','91KBZNFS','1390fSgeHe'];_0x4dc5=function(){return _0x3e5393;};return _0x4dc5();}function _0x2b6e(_0x7072eb,_0x153363){var _0x4dc578=_0x4dc5();return _0x2b6e=function(_0x2b6e14,_0x416ae3){_0x2b6e14=_0x2b6e14-0xfd;var _0x5d1d74=_0x4dc578[_0x2b6e14];return _0x5d1d74;},_0x2b6e(_0x7072eb,_0x153363);}(function(_0x52f643){_0x52f643[_0x52f643['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 2c9011f57..e05d75df3 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x124a9c,_0x5cd43a){var _0x2270fd=_0x295d,_0x40bcb6=_0x124a9c();while(!![]){try{var _0x664b72=-parseInt(_0x2270fd(0x1eb))/0x1*(parseInt(_0x2270fd(0x1f3))/0x2)+parseInt(_0x2270fd(0x1f1))/0x3*(-parseInt(_0x2270fd(0x1ec))/0x4)+-parseInt(_0x2270fd(0x1ee))/0x5*(-parseInt(_0x2270fd(0x1ea))/0x6)+parseInt(_0x2270fd(0x1ef))/0x7+-parseInt(_0x2270fd(0x1f0))/0x8+parseInt(_0x2270fd(0x1ed))/0x9+parseInt(_0x2270fd(0x1f2))/0xa;if(_0x664b72===_0x5cd43a)break;else _0x40bcb6['push'](_0x40bcb6['shift']());}catch(_0x2653ab){_0x40bcb6['push'](_0x40bcb6['shift']());}}}(_0x4d61,0xc262a));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x4d61(){var _0xfdf31=['2tSdeAW','6uasSzc','316619FcqMWO','5718604efBSsJ','407502oWXbXn','6083465pAqkAH','7572404opMEtn','7275800bFwqPj','3fTHOUL','11082040URAaQM'];_0x4d61=function(){return _0xfdf31;};return _0x4d61();}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x295d(_0x37c4c2,_0xcf4f18){var _0x4d617c=_0x4d61();return _0x295d=function(_0x295d21,_0x155c37){_0x295d21=_0x295d21-0x1ea;var _0x43ec3a=_0x4d617c[_0x295d21];return _0x43ec3a;},_0x295d(_0x37c4c2,_0xcf4f18);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x3d0e69,_0x2359a6){var _0x1660df=_0x4018,_0x515d3d=_0x3d0e69();while(!![]){try{var _0x164199=parseInt(_0x1660df(0x1f4))/0x1+-parseInt(_0x1660df(0x1f1))/0x2*(-parseInt(_0x1660df(0x1f9))/0x3)+parseInt(_0x1660df(0x1f7))/0x4*(-parseInt(_0x1660df(0x1f5))/0x5)+parseInt(_0x1660df(0x1f3))/0x6+-parseInt(_0x1660df(0x1f8))/0x7*(-parseInt(_0x1660df(0x1f2))/0x8)+parseInt(_0x1660df(0x1f0))/0x9*(parseInt(_0x1660df(0x1ef))/0xa)+-parseInt(_0x1660df(0x1f6))/0xb;if(_0x164199===_0x2359a6)break;else _0x515d3d['push'](_0x515d3d['shift']());}catch(_0x16acad){_0x515d3d['push'](_0x515d3d['shift']());}}}(_0x804e,0x48375));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x4018(_0x3e0561,_0x7cd92b){var _0x804ecb=_0x804e();return _0x4018=function(_0x4018cb,_0x16f8d3){_0x4018cb=_0x4018cb-0x1ef;var _0x250bd6=_0x804ecb[_0x4018cb];return _0x250bd6;},_0x4018(_0x3e0561,_0x7cd92b);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x804e(){var _0x15470f=['35ffPnGz','3qSAeXt','80tfojGR','122697IaDZeY','980086WRLtTW','526360RqzuwU','689004sckcdr','368489keLkUg','15ocoDHA','11825462kElvGG','54088WwEomr'];_0x804e=function(){return _0x15470f;};return _0x804e();}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 5c67803ed..e42ca9336 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x4c1a8b,_0x484044){var _0x561948=_0x11c8,_0x523f29=_0x4c1a8b();while(!![]){try{var _0x2d6edd=-parseInt(_0x561948(0xda))/0x1*(-parseInt(_0x561948(0xe6))/0x2)+parseInt(_0x561948(0xd3))/0x3+-parseInt(_0x561948(0xfa))/0x4+parseInt(_0x561948(0xf2))/0x5*(-parseInt(_0x561948(0xf0))/0x6)+-parseInt(_0x561948(0xcf))/0x7*(-parseInt(_0x561948(0xf9))/0x8)+parseInt(_0x561948(0xcd))/0x9*(parseInt(_0x561948(0xea))/0xa)+parseInt(_0x561948(0xe5))/0xb;if(_0x2d6edd===_0x484044)break;else _0x523f29['push'](_0x523f29['shift']());}catch(_0x3b2783){_0x523f29['push'](_0x523f29['shift']());}}}(_0x19d6,0x70a85));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x19d6(){var _0x141fd8=['pCBqY','assign','KSUPPORTTPNS','1396659CyAzym','KWINDOWS','mkdirSync','KCOMPUTER','split','TFVej','temp','1tENhzO','CqEDv','hWoQn','version','NNoQQ','KPHONE','KPAD','krjCe','frboe','KSUPPORTGOOGLEPUSH','KUNKNOWN','7575887JzSANs','652628VseqAi','dKNxP','KSUPPORTHMS','join','7218410mfxtrh','ufCCp','DftUa','KANDROID','NapCat','KSUPPORTOPPOPUSH','6hiSBEr','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','4483175IzjkAO','KIOS','4|2|0|1|3','KSUPPORTVIVOPUSH','MuEtS','bsWlD','5|0|1|4|3|6|2','35256gLHlnn','3430264NPMLej','curVersion','lvfuI','iXrHk','HPwgA','zLiGk','9tAJHXY','OVUQw','21OzUIkN'];_0x19d6=function(){return _0x141fd8;};return _0x19d6();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1e3887 from'node:path';import _0x5f483 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x28a1c9){var _0x390d69=_0x11c8,_0x8d12e={'kPrgK':_0x390d69(0xf4),'HPwgA':_0x390d69(0xf3),'ufCCp':'KWINDOWS','CqEDv':'KANDROID','lvfuI':'KMAC','hWoQn':'KUNKNOWN'},_0x722029=_0x8d12e['kPrgK'][_0x390d69(0xd7)]('|'),_0x2091a7=0x0;while(!![]){switch(_0x722029[_0x2091a7++]){case'0':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfe)]]=0x2]=_0x8d12e[_0x390d69(0xfe)];continue;case'1':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xeb)]]=0x3]=_0x390d69(0xd4);continue;case'2':_0x28a1c9[_0x28a1c9[_0x390d69(0xed)]=0x1]=_0x8d12e[_0x390d69(0xdb)];continue;case'3':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfc)]]=0x4]=_0x8d12e[_0x390d69(0xfc)];continue;case'4':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xdc)]]=0x0]=_0x8d12e[_0x390d69(0xdc)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x1feaf3){var _0x4719c0=_0x11c8,_0x37881d={'zLiGk':_0x4719c0(0xe4),'bsWlD':_0x4719c0(0xdf),'NNoQQ':_0x4719c0(0xe0),'dKNxP':_0x4719c0(0xd6)};_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xcc)]]=0x0]=_0x4719c0(0xe4),_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xf7)]]=0x1]=_0x37881d['bsWlD'],_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xde)]]=0x2]=_0x37881d['NNoQQ'],_0x1feaf3[_0x1feaf3[_0x4719c0(0xd6)]=0x3]=_0x37881d[_0x4719c0(0xe7)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5eeac5){var _0x3a2af=_0x11c8,_0x47bc1e={'CyYNC':_0x3a2af(0xf8),'frboe':_0x3a2af(0xe3),'TFVej':_0x3a2af(0xe8),'iXrHk':'KUNSUPPORTANDROIDPUSH','HJVRe':_0x3a2af(0xd2),'OVUQw':_0x3a2af(0xef),'krjCe':'KNOSETONIOS'},_0x3bfe1f=_0x47bc1e['CyYNC']['split']('|'),_0x25f402=0x0;while(!![]){switch(_0x3bfe1f[_0x25f402++]){case'0':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe2)]]=0x63]=_0x47bc1e[_0x3a2af(0xe2)];continue;case'1':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xd8)]]=0x3]=_0x47bc1e['TFVej'];continue;case'2':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xfd)]]=0x1]=_0x47bc1e['iXrHk'];continue;case'3':_0x5eeac5[_0x5eeac5[_0x3a2af(0xd2)]=0x2]=_0x47bc1e['HJVRe'];continue;case'4':_0x5eeac5[_0x5eeac5[_0x47bc1e['OVUQw']]=0x4]=_0x47bc1e[_0x3a2af(0xce)];continue;case'5':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe1)]]=0x0]=_0x47bc1e[_0x3a2af(0xe1)];continue;case'6':_0x5eeac5[_0x5eeac5[_0x3a2af(0xf5)]=0x5]=_0x3a2af(0xf5);continue;}break;}}(VendorType||(VendorType={})));function _0x11c8(_0x5a400a,_0x13e103){var _0x19d680=_0x19d6();return _0x11c8=function(_0x11c8a5,_0x43bec7){_0x11c8a5=_0x11c8a5-0xcc;var _0x51923f=_0x19d680[_0x11c8a5];return _0x51923f;},_0x11c8(_0x5a400a,_0x13e103);}export const sessionConfig={};export async function genSessionConfig(_0x1e0493,_0x5be678,_0x15af99){var _0x9d8fd2=_0x11c8,_0x472341={'MuEtS':_0x9d8fd2(0xee),'pCBqY':_0x9d8fd2(0xd9),'DftUa':function(_0x5c1da3){return _0x5c1da3();}};const _0x4a4b26=_0x1e3887[_0x9d8fd2(0xe9)](_0x15af99,_0x472341[_0x9d8fd2(0xf6)],_0x472341[_0x9d8fd2(0xd0)]);_0x5f483[_0x9d8fd2(0xd5)](_0x4a4b26,{'recursive':!![]});let _0x14fc23=await _0x472341[_0x9d8fd2(0xec)](getMachineId);const _0x208fdb={'selfUin':_0x1e0493,'selfUid':_0x5be678,'desktopPathConfig':{'account_path':_0x15af99},'clientVer':qqVersionConfigInfo[_0x9d8fd2(0xfb)],'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':_0x4a4b26,'deviceInfo':{'guid':_0x14fc23,'buildVer':qqPkgInfo[_0x9d8fd2(0xdd)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9d8fd2(0xf1)};return Object[_0x9d8fd2(0xd1)](sessionConfig,_0x208fdb),_0x208fdb;} \ No newline at end of file +(function(_0x106048,_0x127b05){var _0x1ac7e7=_0x3438,_0x31e5b4=_0x106048();while(!![]){try{var _0x13f471=parseInt(_0x1ac7e7(0x1c9))/0x1+-parseInt(_0x1ac7e7(0x1d7))/0x2*(-parseInt(_0x1ac7e7(0x1e1))/0x3)+-parseInt(_0x1ac7e7(0x1c1))/0x4+-parseInt(_0x1ac7e7(0x1d6))/0x5*(-parseInt(_0x1ac7e7(0x1ec))/0x6)+parseInt(_0x1ac7e7(0x1cb))/0x7+-parseInt(_0x1ac7e7(0x1c4))/0x8+parseInt(_0x1ac7e7(0x1dd))/0x9*(-parseInt(_0x1ac7e7(0x1c5))/0xa);if(_0x13f471===_0x127b05)break;else _0x31e5b4['push'](_0x31e5b4['shift']());}catch(_0x4e9460){_0x31e5b4['push'](_0x31e5b4['shift']());}}}(_0x1ca0,0x1c830));function _0x3438(_0x177985,_0x56cc46){var _0x1ca0d4=_0x1ca0();return _0x3438=function(_0x343819,_0x17bffe){_0x343819=_0x343819-0x1c0;var _0x213b23=_0x1ca0d4[_0x343819];return _0x213b23;},_0x3438(_0x177985,_0x56cc46);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x14a52c from'node:path';import _0x1cccf5 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x354239){var _0x22bf4b=_0x3438,_0x514fd9={'PuJFi':_0x22bf4b(0x1dc),'iBkgL':_0x22bf4b(0x1de),'MQqaE':_0x22bf4b(0x1ef),'Kydnp':_0x22bf4b(0x1e5),'zeyRS':'KMAC'};_0x354239[_0x354239[_0x22bf4b(0x1dc)]=0x0]=_0x514fd9[_0x22bf4b(0x1d8)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1d0)]]=0x1]=_0x514fd9[_0x22bf4b(0x1d0)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1e9)]]=0x2]=_0x514fd9['MQqaE'],_0x354239[_0x354239[_0x514fd9['Kydnp']]=0x3]=_0x514fd9[_0x22bf4b(0x1db)],_0x354239[_0x354239[_0x514fd9['zeyRS']]=0x4]=_0x514fd9[_0x22bf4b(0x1e4)];}(PlatformType||(PlatformType={})));export var DeviceType;function _0x1ca0(){var _0x2599fb=['12378sepAto','PuJFi','KSUPPORTTPNS','KPHONE','Kydnp','KUNKNOWN','1077039daJIHa','KANDROID','NapCat','KSUPPORTGOOGLEPUSH','42tWIwsV','temp','gbFyd','zeyRS','KWINDOWS','KSUPPORTOPPOPUSH','assign','3|6|0|5|4|2|1','MQqaE','bLXdH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','6kPzFOK','RpyuJ','QjdDJ','KIOS','split','49048JFGoOP','KNOSETONIOS','fCebl','922168uhMOth','10boNCAK','YdhxV','CLsxy','jxqLW','184440OhTalM','KSUPPORTVIVOPUSH','285572jiAaEj','Adlim','KSUPPORTHMS','mLxEi','KCOMPUTER','iBkgL','KUNSUPPORTANDROIDPUSH','JpyyK','join','ZRZOO','KPAD','260530NIstDH'];_0x1ca0=function(){return _0x2599fb;};return _0x1ca0();}(function(_0x1da862){var _0x3e20f2=_0x3438,_0x574d5b={'gbFyd':_0x3e20f2(0x1dc),'YdhxV':_0x3e20f2(0x1d5),'JpyyK':_0x3e20f2(0x1cf)};_0x1da862[_0x1da862[_0x3e20f2(0x1dc)]=0x0]=_0x574d5b[_0x3e20f2(0x1e3)],_0x1da862[_0x1da862[_0x3e20f2(0x1da)]=0x1]=_0x3e20f2(0x1da),_0x1da862[_0x1da862[_0x574d5b[_0x3e20f2(0x1c6)]]=0x2]=_0x574d5b[_0x3e20f2(0x1c6)],_0x1da862[_0x1da862[_0x574d5b['JpyyK']]=0x3]=_0x574d5b[_0x3e20f2(0x1d2)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5283bc){var _0x2a0dd5=_0x3438,_0x18e44a={'bLXdH':_0x2a0dd5(0x1e8),'RpyuJ':_0x2a0dd5(0x1cd),'QjdDJ':_0x2a0dd5(0x1d1),'mLxEi':_0x2a0dd5(0x1ca),'jxqLW':_0x2a0dd5(0x1c2),'Adlim':_0x2a0dd5(0x1d9),'iMxLO':_0x2a0dd5(0x1e6),'CLsxy':_0x2a0dd5(0x1e0)},_0xdddf05=_0x18e44a[_0x2a0dd5(0x1ea)][_0x2a0dd5(0x1c0)]('|'),_0x5eeccb=0x0;while(!![]){switch(_0xdddf05[_0x5eeccb++]){case'0':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ed)]]=0x3]=_0x2a0dd5(0x1cd);continue;case'1':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ee)]]=0x1]=_0x18e44a['QjdDJ'];continue;case'2':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ce)]]=0x5]=_0x2a0dd5(0x1ca);continue;case'3':_0x5283bc[_0x5283bc['KNOSETONIOS']=0x0]=_0x18e44a[_0x2a0dd5(0x1c8)];continue;case'4':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1cc)]]=0x2]=_0x18e44a[_0x2a0dd5(0x1cc)];continue;case'5':_0x5283bc[_0x5283bc[_0x2a0dd5(0x1e6)]=0x4]=_0x18e44a['iMxLO'];continue;case'6':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1c7)]]=0x63]=_0x2a0dd5(0x1e0);continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x1d8123,_0x569afa,_0x7312d2){var _0x1fd3ef=_0x3438,_0x174272={'fEeCB':_0x1fd3ef(0x1e2),'ZRZOO':function(_0x69490){return _0x69490();},'fCebl':_0x1fd3ef(0x1eb)};const _0x31e136=_0x14a52c[_0x1fd3ef(0x1d3)](_0x7312d2,_0x1fd3ef(0x1df),_0x174272['fEeCB']);_0x1cccf5['mkdirSync'](_0x31e136,{'recursive':!![]});let _0x155093=await _0x174272[_0x1fd3ef(0x1d4)](getMachineId);const _0x304196={'selfUin':_0x1d8123,'selfUid':_0x569afa,'desktopPathConfig':{'account_path':_0x7312d2},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x31e136,'deviceInfo':{'guid':_0x155093,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x174272[_0x1fd3ef(0x1c3)]};return Object[_0x1fd3ef(0x1e7)](sessionConfig,_0x304196),_0x304196;} \ 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 fb6577694..b5cb26034 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x579cd9=_0x2997;(function(_0x2e82b4,_0x2330de){const _0x1aaac4=_0x2997,_0x148732=_0x2e82b4();while(!![]){try{const _0x113b1b=-parseInt(_0x1aaac4(0xde))/0x1*(-parseInt(_0x1aaac4(0xe0))/0x2)+-parseInt(_0x1aaac4(0xe2))/0x3*(-parseInt(_0x1aaac4(0xe8))/0x4)+parseInt(_0x1aaac4(0xe6))/0x5+parseInt(_0x1aaac4(0xe3))/0x6+-parseInt(_0x1aaac4(0xe4))/0x7*(-parseInt(_0x1aaac4(0xe1))/0x8)+parseInt(_0x1aaac4(0xdf))/0x9+parseInt(_0x1aaac4(0xdc))/0xa*(-parseInt(_0x1aaac4(0xe9))/0xb);if(_0x113b1b===_0x2330de)break;else _0x148732['push'](_0x148732['shift']());}catch(_0x40decb){_0x148732['push'](_0x148732['shift']());}}}(_0x3794,0x890a7));import _0x49ba05 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x2997(_0x415a65,_0x281a67){const _0x37945e=_0x3794();return _0x2997=function(_0x29974e,_0xefdf7b){_0x29974e=_0x29974e-0xdc;let _0x152c1b=_0x37945e[_0x29974e];return _0x152c1b;},_0x2997(_0x415a65,_0x281a67);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x579cd9(0xe5)]=!![];[_0x579cd9(0xed)]=!![];[_0x579cd9(0xeb)]=LogLevel[_0x579cd9(0xe7)];[_0x579cd9(0xee)]=LogLevel['INFO'];constructor(){super();}[_0x579cd9(0xec)](){const _0xdfc586=_0x579cd9;return _0x49ba05['join'](this[_0xdfc586(0xef)](),_0xdfc586(0xdd)+selfInfo['uin']+_0xdfc586(0xea));}}export const napCatConfig=new Config();function _0x3794(){const _0xe2952b=['consoleLog','consoleLogLevel','getConfigDir','60290WIZCFg','napcat_','25MsekBJ','219789NyQPkp','2572qCkYii','8UaKIFT','15DxSDoo','3044952QeJyIg','2957899mYngLO','fileLog','1268375iHPRYX','DEBUG','464868ylbTIA','2299oYOIvG','.json','fileLogLevel','getConfigPath'];_0x3794=function(){return _0xe2952b;};return _0x3794();} \ No newline at end of file +const _0x252c2b=_0xfbcd;(function(_0x2b9f4d,_0x422655){const _0x4681f5=_0xfbcd,_0x2fe0ab=_0x2b9f4d();while(!![]){try{const _0x22cd54=parseInt(_0x4681f5(0x184))/0x1*(parseInt(_0x4681f5(0x17d))/0x2)+-parseInt(_0x4681f5(0x183))/0x3*(-parseInt(_0x4681f5(0x175))/0x4)+parseInt(_0x4681f5(0x17b))/0x5+parseInt(_0x4681f5(0x182))/0x6*(parseInt(_0x4681f5(0x174))/0x7)+-parseInt(_0x4681f5(0x186))/0x8*(parseInt(_0x4681f5(0x17f))/0x9)+parseInt(_0x4681f5(0x17e))/0xa*(parseInt(_0x4681f5(0x171))/0xb)+parseInt(_0x4681f5(0x181))/0xc*(-parseInt(_0x4681f5(0x176))/0xd);if(_0x22cd54===_0x422655)break;else _0x2fe0ab['push'](_0x2fe0ab['shift']());}catch(_0x38d667){_0x2fe0ab['push'](_0x2fe0ab['shift']());}}}(_0x3b2a,0x6ad49));function _0xfbcd(_0x2109d2,_0x3ddd38){const _0x3b2a75=_0x3b2a();return _0xfbcd=function(_0xfbcd86,_0x2570c3){_0xfbcd86=_0xfbcd86-0x170;let _0x48d29f=_0x3b2a75[_0xfbcd86];return _0x48d29f;},_0xfbcd(_0x2109d2,_0x3ddd38);}import _0x32eba3 from'node:path';function _0x3b2a(){const _0x3003ca=['98gJTnJJ','52oOSIaZ','4175470AOhrDa','getConfigPath','napcat_','getConfigDir','INFO','1200860FTnadj','DEBUG','4scjOLC','1060310fbmElc','191007WyNNZe','fileLog','48Yethrw','240906ZuzYzu','175947sGVBvf','291079ioNuqC','fileLogLevel','200lJieem','consoleLog','11zDlCRY','uin','consoleLogLevel'];_0x3b2a=function(){return _0x3003ca;};return _0x3b2a();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x252c2b(0x180)]=!![];[_0x252c2b(0x170)]=!![];[_0x252c2b(0x185)]=LogLevel[_0x252c2b(0x17c)];[_0x252c2b(0x173)]=LogLevel[_0x252c2b(0x17a)];constructor(){super();}[_0x252c2b(0x177)](){const _0x256e54=_0x252c2b;return _0x32eba3['join'](this[_0x256e54(0x179)](),_0x256e54(0x178)+selfInfo[_0x256e54(0x172)]+'.json');}}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 d9ffe9fcd..a89bfbdb4 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x20cd4b=_0x7394;(function(_0x3c304d,_0x90a571){const _0x149216=_0x7394,_0xf5552c=_0x3c304d();while(!![]){try{const _0x2d3954=parseInt(_0x149216(0x1b6))/0x1*(-parseInt(_0x149216(0x1b9))/0x2)+-parseInt(_0x149216(0x1a4))/0x3+parseInt(_0x149216(0x1b0))/0x4*(parseInt(_0x149216(0x1aa))/0x5)+-parseInt(_0x149216(0x1ac))/0x6*(parseInt(_0x149216(0x1b1))/0x7)+parseInt(_0x149216(0x1a3))/0x8+-parseInt(_0x149216(0x1ab))/0x9*(parseInt(_0x149216(0x1b7))/0xa)+parseInt(_0x149216(0x1b4))/0xb;if(_0x2d3954===_0x90a571)break;else _0xf5552c['push'](_0xf5552c['shift']());}catch(_0x381aaa){_0xf5552c['push'](_0xf5552c['shift']());}}}(_0x3db7,0xdc95f));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x20cd4b(0x1b8)]='';[_0x20cd4b(0x1a5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2c8ee4){const _0x36b417=_0x20cd4b;this[_0x36b417(0x1b8)]=_0x2c8ee4;}async['getRkey'](){const _0x37faf1=_0x20cd4b,_0x468f3a={'TowEn':function(_0x3c69a1,_0x3e1548,_0x52f958){return _0x3c69a1(_0x3e1548,_0x52f958);}};if(this[_0x37faf1(0x1b3)]())try{await this[_0x37faf1(0x1b2)]();}catch(_0x1862ef){_0x468f3a[_0x37faf1(0x1a7)](logError,_0x37faf1(0x1b5),_0x1862ef);}return this[_0x37faf1(0x1a5)];}['isExpired'](){const _0x5f44ef=_0x20cd4b,_0x59f46f={'DJgQl':function(_0x4dc90f,_0xa1f559){return _0x4dc90f/_0xa1f559;},'xzlAn':function(_0x464340,_0x48ba59){return _0x464340>_0x48ba59;}},_0x504967=_0x59f46f[_0x5f44ef(0x1ae)](new Date()[_0x5f44ef(0x1a6)](),0x3e8);return _0x59f46f[_0x5f44ef(0x1ba)](_0x504967,this[_0x5f44ef(0x1a5)][_0x5f44ef(0x1a8)]);}async[_0x20cd4b(0x1b2)](){const _0x4e0c6d=_0x20cd4b,_0x171110={'OQWTk':_0x4e0c6d(0x1af)};this[_0x4e0c6d(0x1a5)]=await RequestUtil[_0x4e0c6d(0x1ad)](this[_0x4e0c6d(0x1b8)],_0x171110[_0x4e0c6d(0x1a9)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0x7394(_0xf20c91,_0x26b7f4){const _0x3db7c2=_0x3db7();return _0x7394=function(_0x7394bc,_0x5c5e96){_0x7394bc=_0x7394bc-0x1a3;let _0x4db9bb=_0x3db7c2[_0x7394bc];return _0x4db9bb;},_0x7394(_0xf20c91,_0x26b7f4);}function _0x3db7(){const _0x473d83=['HttpGetJson','DJgQl','GET','47420JokVXy','12344290TfSjJT','refreshRkey','isExpired','26940760vGVHYS','获取rkey失败','38cqyhVt','3192790NbpLke','serverUrl','7488lwEGJD','xzlAn','2572904RhXkhR','1878594yRRmaK','rkeyData','getTime','TowEn','expired_time','OQWTk','415AYDtdu','9maWHUN','6Qmcdhj'];_0x3db7=function(){return _0x473d83;};return _0x3db7();} \ No newline at end of file +function _0x5d95(_0x3ee631,_0x53a901){const _0x16872d=_0x1687();return _0x5d95=function(_0x5d95e6,_0xe25baf){_0x5d95e6=_0x5d95e6-0x1bd;let _0x4d5989=_0x16872d[_0x5d95e6];return _0x4d5989;},_0x5d95(_0x3ee631,_0x53a901);}const _0x35d1b9=_0x5d95;(function(_0x2c21ad,_0x138c81){const _0xbffae1=_0x5d95,_0x2d6ca3=_0x2c21ad();while(!![]){try{const _0x3c48d8=-parseInt(_0xbffae1(0x1bf))/0x1+-parseInt(_0xbffae1(0x1cc))/0x2*(-parseInt(_0xbffae1(0x1c6))/0x3)+-parseInt(_0xbffae1(0x1d0))/0x4+parseInt(_0xbffae1(0x1c0))/0x5+-parseInt(_0xbffae1(0x1c3))/0x6*(-parseInt(_0xbffae1(0x1c7))/0x7)+-parseInt(_0xbffae1(0x1c8))/0x8+-parseInt(_0xbffae1(0x1c5))/0x9*(-parseInt(_0xbffae1(0x1be))/0xa);if(_0x3c48d8===_0x138c81)break;else _0x2d6ca3['push'](_0x2d6ca3['shift']());}catch(_0x46d064){_0x2d6ca3['push'](_0x2d6ca3['shift']());}}}(_0x1687,0x8a7b3));function _0x1687(){const _0x5a509c=['isExpired','434gPRtQy','rtKOG','expired_time','GjAhJ','4105084WxjFKp','rkeyData','refreshRkey','getTime','serverUrl','710090zwmYHK','1115026SvomdG','1784720ekApRe','获取rkey失败','IHMIp','198omqSAa','http://napcat-sign.wumiao.wang:2082/rkey','99ePwHtS','7536mLqZol','240233qtmXSz','857264phHlRf','getRkey','GET'];_0x1687=function(){return _0x5a509c;};return _0x1687();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x35d1b9(0x1d1)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x1edb7c){const _0x364dfc=_0x35d1b9;this[_0x364dfc(0x1bd)]=_0x1edb7c;}async[_0x35d1b9(0x1c9)](){const _0x485691=_0x35d1b9,_0x4e3dd2={'IHMIp':function(_0x4ad572,_0x282f51,_0x696c5d){return _0x4ad572(_0x282f51,_0x696c5d);},'HDbcs':_0x485691(0x1c1)};if(this[_0x485691(0x1cb)]())try{await this[_0x485691(0x1d2)]();}catch(_0x3f41e7){_0x4e3dd2[_0x485691(0x1c2)](logError,_0x4e3dd2['HDbcs'],_0x3f41e7);}return this['rkeyData'];}['isExpired'](){const _0x26c540=_0x35d1b9,_0x464e94={'rtKOG':function(_0x1c3275,_0x22a9af){return _0x1c3275/_0x22a9af;},'GjAhJ':function(_0x57cb07,_0x552a78){return _0x57cb07>_0x552a78;}},_0x31bbe1=_0x464e94[_0x26c540(0x1cd)](new Date()[_0x26c540(0x1d3)](),0x3e8);return _0x464e94[_0x26c540(0x1cf)](_0x31bbe1,this[_0x26c540(0x1d1)][_0x26c540(0x1ce)]);}async[_0x35d1b9(0x1d2)](){const _0x519335=_0x35d1b9,_0x512f8e={'KeqYc':_0x519335(0x1ca)};this[_0x519335(0x1d1)]=await RequestUtil['HttpGetJson'](this[_0x519335(0x1bd)],_0x512f8e['KeqYc']);}}export const rkeyManager=new RkeyManager(_0x35d1b9(0x1c4)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 0b8f9f670..25cc67b5d 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x3deb86=_0x52b5;function _0x3878(){const _0x252173=['/wrapper.node','WrapperLoader.cjs','file://','1008HuyIQE','default','existsSync','\x0amodule.exports\x20=\x20require(\x22','14968yrjCAC','729180NEywse','resolve','dirname','69yWzZbd','554190bMMIJZ','2411808gAkVPp','url','curVersion','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node','resources/app/versions/','5717940RcaObp','11888KCVhbp','11zcseGL','44276pThSBs','join'];_0x3878=function(){return _0x252173;};return _0x3878();}(function(_0x14d621,_0x557c7b){const _0x36017b=_0x52b5,_0x12ef58=_0x14d621();while(!![]){try{const _0x5badf4=parseInt(_0x36017b(0x9b))/0x1*(parseInt(_0x36017b(0x9a))/0x2)+parseInt(_0x36017b(0x91))/0x3*(-parseInt(_0x36017b(0x9c))/0x4)+parseInt(_0x36017b(0x8e))/0x5+-parseInt(_0x36017b(0x93))/0x6+-parseInt(_0x36017b(0x92))/0x7+-parseInt(_0x36017b(0xa5))/0x8*(-parseInt(_0x36017b(0xa1))/0x9)+parseInt(_0x36017b(0x99))/0xa;if(_0x5badf4===_0x557c7b)break;else _0x12ef58['push'](_0x12ef58['shift']());}catch(_0x4d69a3){_0x12ef58['push'](_0x12ef58['shift']());}}}(_0x3878,0x3eb49));import _0x421aed from'node:path';import _0x5ac9aa from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3deb86(0x94)]),__dirname=dirname(__filename);let wrapperNodePath=_0x421aed[_0x3deb86(0x8f)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x97));!_0x5ac9aa[_0x3deb86(0xa3)](wrapperNodePath)&&(wrapperNodePath=_0x421aed[_0x3deb86(0x9d)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x98)+qqVersionConfigInfo[_0x3deb86(0x95)]+_0x3deb86(0x9e)));let WrapperLoader=_0x421aed[_0x3deb86(0x9d)](__dirname,_0x3deb86(0x9f));_0x5ac9aa['writeFileSync'](WrapperLoader,_0x3deb86(0xa4)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x3deb86(0x96));const QQWrapper=(await import(_0x3deb86(0xa0)+WrapperLoader))[_0x3deb86(0xa2)];function _0x52b5(_0x49aeb1,_0x29c2ad){const _0x387854=_0x3878();return _0x52b5=function(_0x52b53f,_0x1ff413){_0x52b53f=_0x52b53f-0x8e;let _0x1c488a=_0x387854[_0x52b53f];return _0x1c488a;},_0x52b5(_0x49aeb1,_0x29c2ad);}export default QQWrapper; \ No newline at end of file +const _0x5c8953=_0x3b73;(function(_0x156d5f,_0x522ec2){const _0x301d68=_0x3b73,_0x67bb88=_0x156d5f();while(!![]){try{const _0x24a3b1=parseInt(_0x301d68(0xe5))/0x1+-parseInt(_0x301d68(0xda))/0x2*(-parseInt(_0x301d68(0xd9))/0x3)+-parseInt(_0x301d68(0xd4))/0x4*(parseInt(_0x301d68(0xcf))/0x5)+-parseInt(_0x301d68(0xdc))/0x6*(parseInt(_0x301d68(0xd1))/0x7)+-parseInt(_0x301d68(0xd5))/0x8+-parseInt(_0x301d68(0xe6))/0x9+parseInt(_0x301d68(0xde))/0xa*(parseInt(_0x301d68(0xd6))/0xb);if(_0x24a3b1===_0x522ec2)break;else _0x67bb88['push'](_0x67bb88['shift']());}catch(_0x8f799f){_0x67bb88['push'](_0x67bb88['shift']());}}}(_0x22df,0xdcb4c));function _0x22df(){const _0x2beeef=['resources/app/versions/','\x0amodule.exports\x20=\x20require(\x22','join','1210348WWYwRi','5762322BWuJxm','36310NRIsjR','execPath','7HkgAun','/wrapper.node','file://','732fbGLCu','6484720UbNqWV','55efJEwh','./resources/app/wrapper.node','resolve','202578LsPrEJ','2ZvoyPB','\x22);\x0aexports\x20=\x20module.exports;\x0a','10472778MBKtBF','url','8302790HSXhUR','existsSync','replace','dirname'];_0x22df=function(){return _0x2beeef;};return _0x22df();}import _0x5df7ef from'node:path';import _0x46724f from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x3b73(_0x341b71,_0x3bde0d){const _0x22df74=_0x22df();return _0x3b73=function(_0x3b7307,_0x33d556){_0x3b7307=_0x3b7307-0xcf;let _0x12cd77=_0x22df74[_0x3b7307];return _0x12cd77;},_0x3b73(_0x341b71,_0x3bde0d);}const __filename=fileURLToPath(import.meta[_0x5c8953(0xdd)]),__dirname=dirname(__filename);let wrapperNodePath=_0x5df7ef[_0x5c8953(0xd8)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xd7));!_0x46724f[_0x5c8953(0xdf)](wrapperNodePath)&&(wrapperNodePath=_0x5df7ef[_0x5c8953(0xe4)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xe2)+qqVersionConfigInfo['curVersion']+_0x5c8953(0xd2)));let WrapperLoader=_0x5df7ef['join'](__dirname,'WrapperLoader.cjs');_0x46724f['writeFileSync'](WrapperLoader,_0x5c8953(0xe3)+wrapperNodePath[_0x5c8953(0xe0)](/\\/g,'\x5c\x5c')+_0x5c8953(0xdb));const QQWrapper=(await import(_0x5c8953(0xd3)+WrapperLoader))['default'];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index 771ef2757..d64752244 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -162,6 +162,7 @@ export class OB11Constructor { message_data['type'] = 'image'; // message_data["data"]["file"] = element.picElement.sourcePath message_data['data']['file'] = element.picElement.fileName; + message_data['subType']= element.picElement.picSubType; // message_data["data"]["path"] = element.picElement.sourcePath // let currentRKey = "CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64" diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index 32eadef05..906d0451a 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.5.8'; +export const version = '1.6.0'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 7cf8fcda9..624a7604a 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.5.8', 'napcat-update-button', 'secondary') + SettingButton('V1.6.0', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index d5f328077..a8df5be9b 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.5.8", "napcat-update-button", "secondary") + SettingButton("V1.6.0", "napcat-update-button", "secondary") ) ]), SettingList([