diff --git a/src/common/utils/QQBasicInfo.ts b/src/common/utils/QQBasicInfo.ts index a90887f7..828fffbc 100644 --- a/src/common/utils/QQBasicInfo.ts +++ b/src/common/utils/QQBasicInfo.ts @@ -64,7 +64,8 @@ export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toSt // appid: '537213764', // platVer: '10.0.26100', // clientVer: '9.9.9-23159', - +//Android +//V1_AND_SQ_9.0.60_6478_YYB_D // Linux // app_version: '3.2.9-24568', // qua: 'V1_LNX_NQ_3.2.9_24568_GW_B', diff --git a/src/core b/src/core index a8c444ca..e4503db7 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit a8c444caaa8ebfa6683cbf1dad5373b2fe9aa348 +Subproject commit e4503db724a2b1fee047aeb3604bf87f2689d9d9 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index ab3f0e22..fb236ab3 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x27cd(_0xfb62f7,_0x43fe5b){var _0x27bbb9=_0x27bb();return _0x27cd=function(_0x27cdc,_0xf3f827){_0x27cdc=_0x27cdc-0x10e;var _0x31a2af=_0x27bbb9[_0x27cdc];return _0x31a2af;},_0x27cd(_0xfb62f7,_0x43fe5b);}var _0x5bbf10=_0x27cd;(function(_0x132716,_0x22eb0c){var _0x43ea30=_0x27cd,_0x39cb83=_0x132716();while(!![]){try{var _0x1f60ff=parseInt(_0x43ea30(0x10e))/0x1*(-parseInt(_0x43ea30(0x117))/0x2)+parseInt(_0x43ea30(0x116))/0x3+parseInt(_0x43ea30(0x112))/0x4+parseInt(_0x43ea30(0x110))/0x5+-parseInt(_0x43ea30(0x115))/0x6+-parseInt(_0x43ea30(0x10f))/0x7+parseInt(_0x43ea30(0x113))/0x8*(parseInt(_0x43ea30(0x114))/0x9);if(_0x1f60ff===_0x22eb0c)break;else _0x39cb83['push'](_0x39cb83['shift']());}catch(_0x5a5b67){_0x39cb83['push'](_0x39cb83['shift']());}}}(_0x27bb,0xd0e42));function _0x27bb(){var _0x528c77=['190143OltXAK','3422484DgZzEM','1435701oGJdbm','3355836dXYBSt','1lFoXMP','5656329vHPvwU','4338190qJkevj','onMSFSsoError','6798340iFERMo','328pvtqwL'];_0x27bb=function(){return _0x528c77;};return _0x27bb();}export class DependsAdapter{['onMSFStatusChange'](_0x330bdd,_0x37d927){}[_0x5bbf10(0x111)](_0x1a6733){}['getGroupCode'](_0x3d4e86){}} \ No newline at end of file +function _0x2bd5(_0x280ebe,_0x2c4008){var _0x15e309=_0x15e3();return _0x2bd5=function(_0x2bd5a1,_0x26413b){_0x2bd5a1=_0x2bd5a1-0x17b;var _0x7f4b4f=_0x15e309[_0x2bd5a1];return _0x7f4b4f;},_0x2bd5(_0x280ebe,_0x2c4008);}var _0x3e0e31=_0x2bd5;(function(_0x35b004,_0x1079b9){var _0x20a9c4=_0x2bd5,_0x52a7dc=_0x35b004();while(!![]){try{var _0x495721=-parseInt(_0x20a9c4(0x183))/0x1+-parseInt(_0x20a9c4(0x17e))/0x2*(-parseInt(_0x20a9c4(0x17f))/0x3)+-parseInt(_0x20a9c4(0x181))/0x4+parseInt(_0x20a9c4(0x17d))/0x5+parseInt(_0x20a9c4(0x184))/0x6+parseInt(_0x20a9c4(0x182))/0x7+parseInt(_0x20a9c4(0x17b))/0x8*(-parseInt(_0x20a9c4(0x185))/0x9);if(_0x495721===_0x1079b9)break;else _0x52a7dc['push'](_0x52a7dc['shift']());}catch(_0x41a0e9){_0x52a7dc['push'](_0x52a7dc['shift']());}}}(_0x15e3,0xef442));export class DependsAdapter{[_0x3e0e31(0x180)](_0x3956da,_0x5d5cdc){}['onMSFSsoError'](_0x182d22){}[_0x3e0e31(0x17c)](_0xff810b){}}function _0x15e3(){var _0xf998c=['2937681RjURkr','16pKsnGy','getGroupCode','552260MkuEUg','1523752PQbXrI','3iwKXdi','onMSFStatusChange','4131112PcftKc','12196751FQKCuh','404957qObVMd','2735196ChkJUd'];_0x15e3=function(){return _0xf998c;};return _0x15e3();} \ 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 c7de5d14..51a7e939 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0xaa7f44=_0xd2fc;function _0x1648(){var _0x2b0810=['dispatchCallWithJson','2213469TjnJeL','673308TEMbLf','2eJVHSu','4193508bsOdzs','5404847lFvKvi','39610oLjaWt','7844448TLCymU','6647095TmJCXS','24MWJocc','dispatchCall'];_0x1648=function(){return _0x2b0810;};return _0x1648();}function _0xd2fc(_0x46bf75,_0x1534fe){var _0x164879=_0x1648();return _0xd2fc=function(_0xd2fce6,_0x3b5644){_0xd2fce6=_0xd2fce6-0x147;var _0x1345c1=_0x164879[_0xd2fce6];return _0x1345c1;},_0xd2fc(_0x46bf75,_0x1534fe);}(function(_0x134678,_0x54b350){var _0x167a08=_0xd2fc,_0x12536e=_0x134678();while(!![]){try{var _0x4d736b=parseInt(_0x167a08(0x149))/0x1*(-parseInt(_0x167a08(0x151))/0x2)+-parseInt(_0x167a08(0x150))/0x3+parseInt(_0x167a08(0x147))/0x4+parseInt(_0x167a08(0x14b))/0x5+-parseInt(_0x167a08(0x14a))/0x6+-parseInt(_0x167a08(0x148))/0x7+parseInt(_0x167a08(0x14c))/0x8*(parseInt(_0x167a08(0x14f))/0x9);if(_0x4d736b===_0x54b350)break;else _0x12536e['push'](_0x12536e['shift']());}catch(_0x2981e5){_0x12536e['push'](_0x12536e['shift']());}}}(_0x1648,0xbc7cc));export class DispatcherAdapter{['dispatchRequest'](_0x19d16a){}[_0xaa7f44(0x14d)](_0x58dd99){}[_0xaa7f44(0x14e)](_0x22493e){}} \ No newline at end of file +function _0x473e(_0xe15bb7,_0x23f5a7){var _0x4d5d96=_0x4d5d();return _0x473e=function(_0x473ed4,_0x40acff){_0x473ed4=_0x473ed4-0x106;var _0x33ad29=_0x4d5d96[_0x473ed4];return _0x33ad29;},_0x473e(_0xe15bb7,_0x23f5a7);}var _0x20bb7e=_0x473e;function _0x4d5d(){var _0xea1ba5=['741976WcQIqG','dispatchRequest','9cCshbc','4441614HRGsrW','2030056JYDaag','2777180EyncYd','12129990wLjmDQ','1RLAPth','9770663JQskmw','64BSrntb','645Cwniow'];_0x4d5d=function(){return _0xea1ba5;};return _0x4d5d();}(function(_0xd0a64,_0x584e42){var _0x226fff=_0x473e,_0x267c95=_0xd0a64();while(!![]){try{var _0x3a642e=-parseInt(_0x226fff(0x110))/0x1*(-parseInt(_0x226fff(0x10d))/0x2)+-parseInt(_0x226fff(0x108))/0x3*(parseInt(_0x226fff(0x107))/0x4)+parseInt(_0x226fff(0x10e))/0x5+-parseInt(_0x226fff(0x10c))/0x6+-parseInt(_0x226fff(0x106))/0x7+-parseInt(_0x226fff(0x109))/0x8*(-parseInt(_0x226fff(0x10b))/0x9)+parseInt(_0x226fff(0x10f))/0xa;if(_0x3a642e===_0x584e42)break;else _0x267c95['push'](_0x267c95['shift']());}catch(_0x2841ed){_0x267c95['push'](_0x267c95['shift']());}}}(_0x4d5d,0xb3db4));export class DispatcherAdapter{[_0x20bb7e(0x10a)](_0x1f1b53){}['dispatchCall'](_0x2898f2){}['dispatchCallWithJson'](_0x1a2e8b){}} \ 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 cf0a3396..40f9a586 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x53de(_0x5a3449,_0x3e85bb){var _0x531527=_0x5315();return _0x53de=function(_0x53de64,_0x3814a0){_0x53de64=_0x53de64-0x77;var _0x3c0bed=_0x531527[_0x53de64];return _0x3c0bed;},_0x53de(_0x5a3449,_0x3e85bb);}function _0x5315(){var _0x5e0da6=['490913FWizMX','2scYTAk','2701328UqhOBZ','onInstallFinished','3728385UYHbPo','getAppSetting','8229067goDZOt','2509850mLbShn','1548366cdIdLn','onUpdateGeneralFlag','onShowErrUITips','4741242yRIbRt','4TvldHs','36zYsJNw','onLog'];_0x5315=function(){return _0x5e0da6;};return _0x5315();}var _0x3be801=_0x53de;(function(_0x459d09,_0x4b427b){var _0x4c7421=_0x53de,_0x38d413=_0x459d09();while(!![]){try{var _0x18cb9d=-parseInt(_0x4c7421(0x81))/0x1*(parseInt(_0x4c7421(0x82))/0x2)+parseInt(_0x4c7421(0x7a))/0x3+-parseInt(_0x4c7421(0x7e))/0x4*(parseInt(_0x4c7421(0x85))/0x5)+-parseInt(_0x4c7421(0x7d))/0x6+parseInt(_0x4c7421(0x78))/0x7+parseInt(_0x4c7421(0x83))/0x8*(parseInt(_0x4c7421(0x7f))/0x9)+-parseInt(_0x4c7421(0x79))/0xa;if(_0x18cb9d===_0x4b427b)break;else _0x38d413['push'](_0x38d413['shift']());}catch(_0x4e7414){_0x38d413['push'](_0x38d413['shift']());}}}(_0x5315,0xbaaa9));export class GlobalAdapter{[_0x3be801(0x80)](..._0x33bc01){}['onGetSrvCalTime'](..._0x57f35e){}[_0x3be801(0x7c)](..._0xedddea){}['fixPicImgType'](..._0x24162d){}[_0x3be801(0x77)](..._0x3b1f65){}[_0x3be801(0x84)](..._0x32b90d){}[_0x3be801(0x7b)](..._0x559ecf){}['onGetOfflineMsg'](..._0x62f298){}} \ No newline at end of file +function _0xb07a(_0x31d90c,_0x4f4e55){var _0x55b76e=_0x55b7();return _0xb07a=function(_0xb07a8,_0x5bb10b){_0xb07a8=_0xb07a8-0x11c;var _0x11bb07=_0x55b76e[_0xb07a8];return _0x11bb07;},_0xb07a(_0x31d90c,_0x4f4e55);}function _0x55b7(){var _0x5bee16=['onShowErrUITips','688686RSsYmw','15820210ZRvxKY','234jBCqvd','fixPicImgType','getAppSetting','2609150aykujf','3lWZMHc','3394364ZRySEM','onUpdateGeneralFlag','onGetOfflineMsg','194504FJFQeR','993174lmNmmp','28FYXLZa','1418862nuYhMZ','onLog'];_0x55b7=function(){return _0x5bee16;};return _0x55b7();}var _0x2d8f13=_0xb07a;(function(_0xd78b99,_0x4d7c01){var _0x50039f=_0xb07a,_0x17c696=_0xd78b99();while(!![]){try{var _0x17ee53=parseInt(_0x50039f(0x11e))/0x1+-parseInt(_0x50039f(0x123))/0x2+parseInt(_0x50039f(0x129))/0x3*(-parseInt(_0x50039f(0x12a))/0x4)+-parseInt(_0x50039f(0x128))/0x5+parseInt(_0x50039f(0x120))/0x6*(-parseInt(_0x50039f(0x11f))/0x7)+parseInt(_0x50039f(0x11d))/0x8*(parseInt(_0x50039f(0x125))/0x9)+parseInt(_0x50039f(0x124))/0xa;if(_0x17ee53===_0x4d7c01)break;else _0x17c696['push'](_0x17c696['shift']());}catch(_0x2f5568){_0x17c696['push'](_0x17c696['shift']());}}}(_0x55b7,0x85765));export class GlobalAdapter{[_0x2d8f13(0x121)](..._0x5b920d){}['onGetSrvCalTime'](..._0x1b30f9){}[_0x2d8f13(0x122)](..._0x50449e){}[_0x2d8f13(0x126)](..._0x1ac864){}[_0x2d8f13(0x127)](..._0x8e3ee5){}['onInstallFinished'](..._0x50ec21){}[_0x2d8f13(0x12b)](..._0x1f7010){}[_0x2d8f13(0x11c)](..._0x48ace9){}} \ 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 5acb4e33..5cc15e1c 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x9ba6b7,_0x423177){var _0x78d0c9=_0x512b,_0x157629=_0x9ba6b7();while(!![]){try{var _0x1866d2=parseInt(_0x78d0c9(0x105))/0x1*(parseInt(_0x78d0c9(0x108))/0x2)+-parseInt(_0x78d0c9(0x106))/0x3*(parseInt(_0x78d0c9(0x102))/0x4)+-parseInt(_0x78d0c9(0x107))/0x5+-parseInt(_0x78d0c9(0x101))/0x6+parseInt(_0x78d0c9(0x10a))/0x7*(-parseInt(_0x78d0c9(0x109))/0x8)+-parseInt(_0x78d0c9(0x10b))/0x9*(-parseInt(_0x78d0c9(0x103))/0xa)+parseInt(_0x78d0c9(0x100))/0xb*(parseInt(_0x78d0c9(0x104))/0xc);if(_0x1866d2===_0x423177)break;else _0x157629['push'](_0x157629['shift']());}catch(_0x16b3d7){_0x157629['push'](_0x157629['shift']());}}}(_0x51b7,0xb526f));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x512b(_0x37788a,_0x2e35ff){var _0x51b7b0=_0x51b7();return _0x512b=function(_0x512b3a,_0x3a2acd){_0x512b3a=_0x512b3a-0x100;var _0x26c1dd=_0x51b7b0[_0x512b3a];return _0x26c1dd;},_0x512b(_0x37788a,_0x2e35ff);}function _0x51b7(){var _0x37d7af=['6624610bsATEP','468qRnPDH','1214831zWgwvT','30489cwiQOI','4697550cYHSuh','2KifZnc','24lbbZIL','239764tBfEhE','9rvIPMm','37389evbqol','499836YSeaNe','56lzIIqS'];_0x51b7=function(){return _0x37d7af;};return _0x51b7();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +function _0x4560(){var _0x284e6a=['781060mhlYHk','729763sJEaYw','3072573mMqevE','2914420OvgPXE','2514351bFpryl','6127458XUDhAj','4877520EgThlL'];_0x4560=function(){return _0x284e6a;};return _0x4560();}(function(_0xdc1e62,_0x5dbf18){var _0x5506ca=_0x5f32,_0x2f700b=_0xdc1e62();while(!![]){try{var _0x2bb0d7=parseInt(_0x5506ca(0xff))/0x1+parseInt(_0x5506ca(0xfe))/0x2+parseInt(_0x5506ca(0x100))/0x3+parseInt(_0x5506ca(0xfa))/0x4+-parseInt(_0x5506ca(0xfd))/0x5+-parseInt(_0x5506ca(0xfc))/0x6+-parseInt(_0x5506ca(0xfb))/0x7;if(_0x2bb0d7===_0x5dbf18)break;else _0x2f700b['push'](_0x2f700b['shift']());}catch(_0x224aaf){_0x2f700b['push'](_0x2f700b['shift']());}}}(_0x4560,0x7e41d));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x5f32(_0x2718a4,_0x4d2c5e){var _0x4560d3=_0x4560();return _0x5f32=function(_0x5f3229,_0xa8611){_0x5f3229=_0x5f3229-0xfa;var _0x513f7a=_0x4560d3[_0x5f3229];return _0x513f7a;},_0x5f32(_0x2718a4,_0x4d2c5e);}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 0a817fd0..fcf2e6e0 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x109566=_0x25cf;(function(_0x43f910,_0x186d0c){const _0x4bf463=_0x25cf,_0x168d2e=_0x43f910();while(!![]){try{const _0x12b83d=parseInt(_0x4bf463(0x117))/0x1+-parseInt(_0x4bf463(0x114))/0x2*(-parseInt(_0x4bf463(0x115))/0x3)+-parseInt(_0x4bf463(0x109))/0x4*(-parseInt(_0x4bf463(0x11a))/0x5)+parseInt(_0x4bf463(0x10e))/0x6+-parseInt(_0x4bf463(0x110))/0x7+parseInt(_0x4bf463(0x10b))/0x8*(-parseInt(_0x4bf463(0x10f))/0x9)+parseInt(_0x4bf463(0x10a))/0xa;if(_0x12b83d===_0x186d0c)break;else _0x168d2e['push'](_0x168d2e['shift']());}catch(_0x1bc7ea){_0x168d2e['push'](_0x168d2e['shift']());}}}(_0x3345,0xda151));function _0x25cf(_0x4f9f8d,_0x552e88){const _0x334502=_0x3345();return _0x25cf=function(_0x25cf37,_0x34bc4e){_0x25cf37=_0x25cf37-0x109;let _0x316b28=_0x334502[_0x25cf37];return _0x316b28;},_0x25cf(_0x4f9f8d,_0x552e88);}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x109566(0x119)](_0x263e49,_0x2eaccf,_0x29130a,_0x25ee5c,_0x506617){const _0x1114c9=_0x109566;let _0x28599d={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x263e49,'strId':_0x29130a,'groupId':'0','groupName':'','uid':_0x2eaccf},'customGroupId':'0','createTime':Date[_0x1114c9(0x10d)]()[_0x1114c9(0x111)](),'sequence':Date[_0x1114c9(0x10d)]()[_0x1114c9(0x111)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x25ee5c,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x506617,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x1114c9(0x112)]['getCollectionService']()[_0x1114c9(0x113)](_0x28599d);}static async[_0x109566(0x10c)](_0x5ac8ca=0x0,_0x5b2494=0x32){const _0x1c664c=_0x109566;let _0x3fa9df={'category':_0x5ac8ca,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5b2494,'searchDown':!![]};return napCatCore[_0x1c664c(0x112)][_0x1c664c(0x116)]()[_0x1c664c(0x118)](_0x3fa9df);}}function _0x3345(){const _0x170281=['840387BNvqed','getCollectionItemList','createCollection','5iWQqXn','100148NHicKq','13548360ADmIKK','54248olJHWV','getAllCollection','now','5402598sTLHCd','2178UfEgcl','5483555ORFITn','toString','session','createNewCollectionItem','13582MZgHAi','87TmsLzo','getCollectionService'];_0x3345=function(){return _0x170281;};return _0x3345();} \ No newline at end of file +const _0x2a4967=_0xd39f;(function(_0x52e8d2,_0x10f8e5){const _0x1d9668=_0xd39f,_0x5b832d=_0x52e8d2();while(!![]){try{const _0x576563=-parseInt(_0x1d9668(0xf4))/0x1+-parseInt(_0x1d9668(0xfd))/0x2+parseInt(_0x1d9668(0xf6))/0x3+parseInt(_0x1d9668(0xf7))/0x4*(-parseInt(_0x1d9668(0xf5))/0x5)+parseInt(_0x1d9668(0xf8))/0x6+-parseInt(_0x1d9668(0xfe))/0x7+parseInt(_0x1d9668(0xf2))/0x8*(parseInt(_0x1d9668(0xff))/0x9);if(_0x576563===_0x10f8e5)break;else _0x5b832d['push'](_0x5b832d['shift']());}catch(_0x20600d){_0x5b832d['push'](_0x5b832d['shift']());}}}(_0x204c,0x3b731));function _0x204c(){const _0x527dc4=['getCollectionItemList','createNewCollectionItem','getCollectionService','now','476040vducOh','584269PsoYQt','12609sFruSa','toString','getAllCollection','1896Xbvsdp','session','52816IQipbK','235GvIvYg','526707okiJAC','27568utIfBh','2604756hSmnRV'];_0x204c=function(){return _0x527dc4;};return _0x204c();}function _0xd39f(_0x3801a4,_0x28ba7e){const _0x204c8f=_0x204c();return _0xd39f=function(_0xd39f0b,_0x5d7763){_0xd39f0b=_0xd39f0b-0xf0;let _0x1a9c10=_0x204c8f[_0xd39f0b];return _0x1a9c10;},_0xd39f(_0x3801a4,_0x28ba7e);}import{napCatCore}from'..';export class NTQQCollectionApi{static async['createCollection'](_0x30e5c1,_0x312baf,_0x4f78f4,_0x219a23,_0x45c0f6){const _0x2181d8=_0xd39f;let _0x1e0c9e={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x30e5c1,'strId':_0x4f78f4,'groupId':'0','groupName':'','uid':_0x312baf},'customGroupId':'0','createTime':Date[_0x2181d8(0xfc)]()[_0x2181d8(0xf0)](),'sequence':Date[_0x2181d8(0xfc)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x219a23,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x45c0f6,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2181d8(0xf3)][_0x2181d8(0xfb)]()[_0x2181d8(0xfa)](_0x1e0c9e);}static async[_0x2a4967(0xf1)](_0x477139=0x0,_0x82c046=0x32){const _0x45feab=_0x2a4967;let _0x1d1091={'category':_0x477139,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x82c046,'searchDown':!![]};return napCatCore[_0x45feab(0xf3)][_0x45feab(0xfb)]()[_0x45feab(0xf9)](_0x1d1091);}} \ 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 8da81ba8..96c721a8 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x27e3de=_0x2b3e;(function(_0x294a54,_0x41390b){const _0x5a390e=_0x2b3e,_0x3eb7ba=_0x294a54();while(!![]){try{const _0x7c1bde=parseInt(_0x5a390e(0x1a5))/0x1*(-parseInt(_0x5a390e(0x19a))/0x2)+-parseInt(_0x5a390e(0x188))/0x3*(parseInt(_0x5a390e(0x189))/0x4)+parseInt(_0x5a390e(0x19f))/0x5*(parseInt(_0x5a390e(0x171))/0x6)+-parseInt(_0x5a390e(0x1a2))/0x7+-parseInt(_0x5a390e(0x170))/0x8*(parseInt(_0x5a390e(0x1b1))/0x9)+parseInt(_0x5a390e(0x166))/0xa+parseInt(_0x5a390e(0x168))/0xb;if(_0x7c1bde===_0x41390b)break;else _0x3eb7ba['push'](_0x3eb7ba['shift']());}catch(_0x55ef54){_0x3eb7ba['push'](_0x3eb7ba['shift']());}}}(_0x57d4,0x72339));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x57d4(){const _0x25720b=['setCacheSilentScan','chatType','ADniO','602001OtbBZa','rvzBC','addCacheScanedPaths','copyFile','/download','uploadFile','getStorageCleanService','8317690uqeOrP','unlink','15446739kMaJjY','originImageUrl','onRichMediaDownloadComplete','indexOf','getFileCacheInfo','scanCache','fileUuid','getMsgService','104KViOGE','6QIustI','url','join','downloadRichMedia','mzmUM','downloadMedia','clearCache','upOmP','clearChatCacheInfo','set','nRCpR','delete','filePath','hotUpdate','getImageUrl','MigSk','jpuZD','图片url获取失败','CPddY','msgId','eXpAc','getRichMediaService','sLJfo','61032kpUQOm','124VVVdZu','&rkey=','includes','getVideoUrl','clearCacheDataByKeys','domainUrl','getHotUpdateCachePath','existsSync','getVideoPlayUrlV2','startsWith','elementId','doHPt','下载超时','WrzgM','session','dllrQ','getFileSize','20438BBaRyH','addListener','getDesktopTmpPath','lUCrU','peerUid','2038205gEfUcr','onLoginSuccess','oTqbx','151571WvLcYM','clearChatCache','getFileType','64vItEgI','md5HexStr','private_rkey','addCacheScannedPaths','aXbDq','jOSXT','toUpperCase','defaultFileDownloadPath','util'];_0x57d4=function(){return _0x25720b;};return _0x57d4();}import _0x21da7f from'path';import _0x54f137 from'fs';import _0x3163f5 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5c0d3f from'file-type';import{MsgListener}from'@/core/listeners';import _0x3279cc from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';function _0x2b3e(_0x1c2a9e,_0x10cbe4){const _0x57d45f=_0x57d4();return _0x2b3e=function(_0x2b3ea1,_0x3395db){_0x2b3ea1=_0x2b3ea1-0x164;let _0x2b040b=_0x57d45f[_0x2b3ea1];return _0x2b040b;},_0x2b3e(_0x1c2a9e,_0x10cbe4);}import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x27e3de(0x16a)]=_0x2ff70f=>{const _0x4de10d=_0x27e3de,_0x152f2e={'oTqbx':function(_0xc80bc9,_0x2d8506){return _0xc80bc9(_0x2d8506);}};for(const [_0xb9f7de,_0x695165]of downloadMediaTasks){_0x152f2e[_0x4de10d(0x1a1)](_0x695165,_0x2ff70f),downloadMediaTasks[_0x4de10d(0x17c)](_0xb9f7de);}},setTimeout(()=>{const _0xd7f760=_0x27e3de;napCatCore[_0xd7f760(0x1a0)](()=>{const _0x3c2ecb=_0xd7f760;napCatCore[_0x3c2ecb(0x19b)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x10e9de){return _0x5c0d3f['fileTypeFromFile'](_0x10e9de);}static async['copyFile'](_0x34bd81,_0xf56d12){const _0x35ee1b=_0x27e3de;await napCatCore[_0x35ee1b(0x1ad)][_0x35ee1b(0x1b4)](_0x34bd81,_0xf56d12);}static async[_0x27e3de(0x199)](_0x511cdd){const _0x3f271e=_0x27e3de;return await napCatCore[_0x3f271e(0x1ad)]['getFileSize'](_0x511cdd);}static async[_0x27e3de(0x18c)](_0x5078d0,_0x5b5af5){const _0x3adbd7=_0x27e3de;return(await napCatCore[_0x3adbd7(0x197)][_0x3adbd7(0x186)]()[_0x3adbd7(0x191)]({'chatType':_0x5078d0[_0x3adbd7(0x1af)],'peerUid':_0x5078d0[_0x3adbd7(0x19e)],'guildId':'0'},_0x5078d0['msgId'],_0x5b5af5[_0x3adbd7(0x193)],0x0,{'downSourceType':0x1,'triggerType':0x1}))['urlResult'][_0x3adbd7(0x18e)][0x0][_0x3adbd7(0x172)];}static async[_0x27e3de(0x164)](_0x5ba9af,_0x35aff4=ElementType['PIC'],_0x3e6655=0x0){const _0x44d97c=_0x27e3de,_0x34e499={'lUCrU':function(_0x1c71ee,_0x5bfb8e){return _0x1c71ee(_0x5bfb8e);},'CPddY':function(_0x261a77,_0x49c492){return _0x261a77===_0x49c492;}},_0x2db6b8=await _0x34e499[_0x44d97c(0x19d)](calculateFileMD5,_0x5ba9af);let _0x3d30f9=(await NTQQFileApi[_0x44d97c(0x1a4)](_0x5ba9af))?.['ext']||'';_0x3d30f9&&(_0x3d30f9='.'+_0x3d30f9);let _0x1c85da=''+_0x21da7f['basename'](_0x5ba9af);_0x34e499[_0x44d97c(0x183)](_0x1c85da[_0x44d97c(0x16b)]('.'),-0x1)&&(_0x1c85da+=_0x3d30f9);const _0x406b7b=napCatCore[_0x44d97c(0x197)][_0x44d97c(0x16f)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x2db6b8,'fileName':_0x1c85da,'elementType':_0x35aff4,'elementSubType':_0x3e6655,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x44d97c(0x1b4)](_0x5ba9af,_0x406b7b);const _0x400efe=await NTQQFileApi['getFileSize'](_0x5ba9af);return{'md5':_0x2db6b8,'fileName':_0x1c85da,'path':_0x406b7b,'fileSize':_0x400efe,'ext':_0x3d30f9};}static async[_0x27e3de(0x176)](_0x4e3bad,_0x5d1265,_0x458193,_0x682d4a,_0x10e295,_0x30ae88,_0x4ac35b=0x3e8*0x3c*0x2,_0x5f4946=![]){const _0x4dfab0=_0x27e3de,_0x579f55={'CWNxj':function(_0x5c14cc,_0x5ac7d8){return _0x5c14cc(_0x5ac7d8);},'WrzgM':_0x4dfab0(0x195),'nRCpR':function(_0x4efebb,_0x4d54d3){return _0x4efebb===_0x4d54d3;},'sLJfo':function(_0x14428a){return _0x14428a();}};if(_0x30ae88&&_0x54f137[_0x4dfab0(0x190)](_0x30ae88)){if(_0x5f4946)try{await _0x3163f5[_0x4dfab0(0x167)](_0x30ae88);}catch(_0x403820){}else return _0x30ae88;}return new Promise((_0x3b6de3,_0x36682a)=>{const _0x2ebf0f=_0x4dfab0,_0x569190={'MigSk':function(_0x479edc,_0x3a86ba){const _0xe27eee=_0x2b3e;return _0x579f55[_0xe27eee(0x17b)](_0x479edc,_0x3a86ba);},'doHPt':function(_0x1bb72d,_0x387e2a){return _0x1bb72d(_0x387e2a);}};let _0x1f9744=![];const _0x37d790=_0x2870b6=>{const _0x1d8ea5=_0x2b3e;if(_0x569190[_0x1d8ea5(0x180)](_0x2870b6[_0x1d8ea5(0x184)],_0x4e3bad)){_0x1f9744=!![];let _0x215a05=_0x2870b6[_0x1d8ea5(0x17d)];if(_0x215a05[_0x1d8ea5(0x192)]('\x5c')){const _0xd2712=sessionConfig[_0x1d8ea5(0x1ac)];_0x215a05=_0x21da7f[_0x1d8ea5(0x173)](_0xd2712,_0x215a05);}_0x569190[_0x1d8ea5(0x194)](_0x3b6de3,_0x215a05);}};downloadMediaTasks[_0x2ebf0f(0x17a)](_0x579f55[_0x2ebf0f(0x187)](randomUUID),_0x37d790),setTimeout(()=>{const _0x38f3f7=_0x2ebf0f;!_0x1f9744&&_0x579f55['CWNxj'](_0x36682a,_0x579f55[_0x38f3f7(0x196)]);},_0x4ac35b),napCatCore[_0x2ebf0f(0x197)]['getMsgService']()[_0x2ebf0f(0x174)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x4e3bad,'chatType':_0x5d1265,'peerUid':_0x458193,'elementId':_0x682d4a,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x10e295});});}static async['getImageSize'](_0x411ed3){const _0x5eabe1={'ADniO':function(_0x4a3181,_0x586ddb){return _0x4a3181(_0x586ddb);}};return new Promise((_0x352760,_0x1cefa6)=>{const _0x5dc762={'mzmUM':function(_0x1d7139,_0x9f7ae4){const _0x5b6355=_0x2b3e;return _0x5eabe1[_0x5b6355(0x1b0)](_0x1d7139,_0x9f7ae4);}};_0x3279cc(_0x411ed3,(_0x9112b0,_0x5b21af)=>{const _0x49841e=_0x2b3e;_0x9112b0?_0x1cefa6(_0x9112b0):_0x5dc762[_0x49841e(0x175)](_0x352760,_0x5b21af);});});}static async[_0x27e3de(0x17f)](_0x3df120,_0x350881){const _0x5cea18=_0x27e3de,_0x27de60={'jOSXT':_0x5cea18(0x1b5),'aXbDq':_0x5cea18(0x18a),'dllrQ':function(_0xc02600,_0x97d82a){return _0xc02600+_0x97d82a;},'rvzBC':function(_0x2ac3ec,_0x57065e){return _0x2ac3ec+_0x57065e;},'jpuZD':function(_0x22cd8b,_0x49cbba){return _0x22cd8b+_0x49cbba;},'upOmP':function(_0x385a35,_0x50ea7c,_0x542233){return _0x385a35(_0x50ea7c,_0x542233);},'eXpAc':_0x5cea18(0x182)};if(!_0x3df120)return'';const _0x16c8f3=_0x3df120[_0x5cea18(0x169)],_0x143d4c=_0x3df120['md5HexStr'],_0x57522e=_0x3df120[_0x5cea18(0x1a6)],_0x59978e=_0x3df120[_0x5cea18(0x16e)];if(_0x16c8f3){if(_0x16c8f3[_0x5cea18(0x192)](_0x27de60[_0x5cea18(0x1aa)])){if(_0x16c8f3[_0x5cea18(0x18b)](_0x27de60[_0x5cea18(0x1a9)]))return _0x27de60[_0x5cea18(0x198)](IMAGE_HTTP_HOST_NT,_0x16c8f3);const _0x1555d7=await rkeyManager['getRkey'](),_0x3c242c=_0x350881?_0x1555d7[_0x5cea18(0x1a7)]:_0x1555d7['group_rkey'];return _0x27de60[_0x5cea18(0x1b2)](_0x27de60[_0x5cea18(0x181)](IMAGE_HTTP_HOST_NT,_0x16c8f3),''+_0x3c242c);}else return _0x27de60[_0x5cea18(0x181)](IMAGE_HTTP_HOST,_0x16c8f3);}else{if(_0x57522e||_0x143d4c)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x57522e||_0x143d4c)[_0x5cea18(0x1ab)]()+'/0';}return _0x27de60[_0x5cea18(0x178)](logDebug,_0x27de60[_0x5cea18(0x185)],_0x3df120),'';}}export class NTQQFileCacheApi{static async[_0x27e3de(0x1ae)](_0x498e92=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x27e3de(0x177)](_0x4446dd=['tmp',_0x27e3de(0x17e)]){const _0x29f470=_0x27e3de;return napCatCore[_0x29f470(0x197)][_0x29f470(0x165)]()[_0x29f470(0x18d)](_0x4446dd);}static[_0x27e3de(0x1a8)](_0x4d5a6b={}){const _0x3d928b=_0x27e3de;return napCatCore[_0x3d928b(0x197)][_0x3d928b(0x165)]()[_0x3d928b(0x1b3)](_0x4d5a6b);}static[_0x27e3de(0x16d)](){const _0x39a2ad=_0x27e3de;return napCatCore['session'][_0x39a2ad(0x165)]()[_0x39a2ad(0x16d)]();}static[_0x27e3de(0x18f)](){return'';}static[_0x27e3de(0x19c)](){return'';}static['getChatCacheList'](_0x2f82a3,_0x20e853=0x3e8,_0x4dbb4d=0x0){const _0x37eb94=_0x27e3de;return napCatCore['session'][_0x37eb94(0x165)]()['getChatCacheInfo'](_0x2f82a3,_0x20e853,0x1,_0x4dbb4d);}static[_0x27e3de(0x16c)](_0x418c87,_0x50e925=0x3e8,_0x48427e){const _0x7c7a21=_0x48427e?_0x48427e:{'fileType':_0x418c87};}static async[_0x27e3de(0x1a3)](_0x5eb73c=[],_0x1fb48a=[]){const _0x397874=_0x27e3de;return napCatCore['session'][_0x397874(0x165)]()[_0x397874(0x179)](_0x5eb73c,_0x1fb48a);}} \ No newline at end of file +const _0x3bc9be=_0x1129;(function(_0x3510f3,_0x11dd46){const _0x5979b3=_0x1129,_0x58af27=_0x3510f3();while(!![]){try{const _0x475e3f=-parseInt(_0x5979b3(0xd9))/0x1+parseInt(_0x5979b3(0xaf))/0x2+-parseInt(_0x5979b3(0x98))/0x3*(-parseInt(_0x5979b3(0xb9))/0x4)+-parseInt(_0x5979b3(0xae))/0x5+parseInt(_0x5979b3(0xc1))/0x6+-parseInt(_0x5979b3(0xad))/0x7+parseInt(_0x5979b3(0xb4))/0x8;if(_0x475e3f===_0x11dd46)break;else _0x58af27['push'](_0x58af27['shift']());}catch(_0x4f257b){_0x58af27['push'](_0x58af27['shift']());}}}(_0x3a74,0xbff5f));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x5f1cb0 from'path';import _0x33253c from'fs';import _0x955d75 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x38d303 from'file-type';import{MsgListener}from'@/core/listeners';import _0x45f970 from'image-size';function _0x1129(_0x19f01b,_0x117919){const _0x3a749e=_0x3a74();return _0x1129=function(_0x1129c0,_0x3222e8){_0x1129c0=_0x1129c0-0x8c;let _0x478948=_0x3a749e[_0x1129c0];return _0x478948;},_0x1129(_0x19f01b,_0x117919);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';function _0x3a74(){const _0x542ec6=['url','pdiEl','unlink','filePath','koPTB','copyFile','SHgbm','getRkey','group_rkey','session','XnLTJ','图片url获取失败','getMsgService','clearCacheDataByKeys','fileUuid','md5HexStr','domainUrl','startsWith','includes','uploadFile','5393087lpwvQA','7008845OBSHxl','2296230rJTmXi','ext','basename','getChatCacheList','onRichMediaDownloadComplete','12763800wKqIzg','getFileCacheInfo','ClSJK','getCacheSessionPathList','zIhCr','179012CibeHF','scanCache','getImageUrl','urlResult','getHotUpdateCachePath','wlmlV','existsSync','msgId','8054172gcDsql','fileTypeFromFile','下载超时','hotUpdate','addCacheScannedPaths','umFvt','VURkq','YoSMb','getVideoUrl','peerUid','util','getFileSize','setCacheSilentScan','PIC','yCbmA','getVideoPlayUrlV2','getRichMediaFilePathForGuild','&rkey=','clearChatCache','toUpperCase','getStorageCleanService','onLoginSuccess','clearCache','uVANZ','1261730ZfQcfI','NyAdV','getDesktopTmpPath','FVIuq','getRichMediaService','getFileType','downloadRichMedia','chatType','addCacheScanedPaths','join','downloadMedia','originImageUrl','private_rkey','getImageSize','9oSYLOy'];_0x3a74=function(){return _0x542ec6;};return _0x3a74();}import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x3bc9be(0xb3)]=_0x1dc05b=>{const _0x16ec2b=_0x3bc9be,_0x2f9374={'FVIuq':function(_0x2e826d,_0x3371a1){return _0x2e826d(_0x3371a1);}};for(const [_0x1018d2,_0x371fa7]of downloadMediaTasks){_0x2f9374[_0x16ec2b(0x8d)](_0x371fa7,_0x1dc05b),downloadMediaTasks['delete'](_0x1018d2);}},setTimeout(()=>{const _0x134fd2=_0x3bc9be;napCatCore[_0x134fd2(0xd6)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x54cab4){const _0x32b5b6=_0x3bc9be;return _0x38d303[_0x32b5b6(0xc2)](_0x54cab4);}static async['copyFile'](_0x31bc23,_0x3a827c){const _0x57923c=_0x3bc9be;await napCatCore['util'][_0x57923c(0x9e)](_0x31bc23,_0x3a827c);}static async[_0x3bc9be(0xcc)](_0x51ebc0){const _0x226a4a=_0x3bc9be;return await napCatCore[_0x226a4a(0xcb)][_0x226a4a(0xcc)](_0x51ebc0);}static async[_0x3bc9be(0xc9)](_0x1d3282,_0xe5c2a1){const _0x2245b7=_0x3bc9be;return(await napCatCore[_0x2245b7(0xa2)][_0x2245b7(0x8e)]()[_0x2245b7(0xd0)]({'chatType':_0x1d3282[_0x2245b7(0x91)],'peerUid':_0x1d3282[_0x2245b7(0xca)],'guildId':'0'},_0x1d3282[_0x2245b7(0xc0)],_0xe5c2a1['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x2245b7(0xbc)][_0x2245b7(0xa9)][0x0][_0x2245b7(0x99)];}static async[_0x3bc9be(0xac)](_0x2b64c2,_0x56676d=ElementType[_0x3bc9be(0xce)],_0x3c0c71=0x0){const _0x490ca4=_0x3bc9be,_0x53c9bb={'uVANZ':function(_0x2938af,_0x4d1ab5){return _0x2938af===_0x4d1ab5;}},_0x18fae5=await calculateFileMD5(_0x2b64c2);let _0x3ef404=(await NTQQFileApi[_0x490ca4(0x8f)](_0x2b64c2))?.[_0x490ca4(0xb0)]||'';_0x3ef404&&(_0x3ef404='.'+_0x3ef404);let _0x1077ab=''+_0x5f1cb0[_0x490ca4(0xb1)](_0x2b64c2);_0x53c9bb[_0x490ca4(0xd8)](_0x1077ab['indexOf']('.'),-0x1)&&(_0x1077ab+=_0x3ef404);const _0x568476=napCatCore[_0x490ca4(0xa2)]['getMsgService']()[_0x490ca4(0xd1)]({'md5HexStr':_0x18fae5,'fileName':_0x1077ab,'elementType':_0x56676d,'elementSubType':_0x3c0c71,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x490ca4(0x9e)](_0x2b64c2,_0x568476);const _0x493b3a=await NTQQFileApi[_0x490ca4(0xcc)](_0x2b64c2);return{'md5':_0x18fae5,'fileName':_0x1077ab,'path':_0x568476,'fileSize':_0x493b3a,'ext':_0x3ef404};}static async[_0x3bc9be(0x94)](_0x2a529a,_0x1b53cf,_0x3f11a6,_0x4d3881,_0x59df4f,_0x3a4686,_0x567e2b=0x3e8*0x3c*0x2,_0x432c0d=![]){const _0x52018a=_0x3bc9be,_0x18372a={'koPTB':function(_0x552015,_0xd25f7f){return _0x552015(_0xd25f7f);},'zIhCr':_0x52018a(0xc3),'yCbmA':function(_0x20b56e){return _0x20b56e();},'SHgbm':function(_0x53623f,_0x4b5843,_0x48cd6b){return _0x53623f(_0x4b5843,_0x48cd6b);}};if(_0x3a4686&&_0x33253c[_0x52018a(0xbf)](_0x3a4686)){if(_0x432c0d)try{await _0x955d75[_0x52018a(0x9b)](_0x3a4686);}catch(_0x442879){}else return _0x3a4686;}return new Promise((_0x3ff443,_0x2ed1f9)=>{const _0x5a6165=_0x52018a,_0x479dc9={'pdiEl':function(_0x28e69b,_0x48232a){return _0x28e69b(_0x48232a);},'inKiT':_0x18372a[_0x5a6165(0xb8)]};let _0x251f16=![];const _0x5e0bd8=_0x5c1708=>{const _0x37be87=_0x5a6165;if(_0x5c1708[_0x37be87(0xc0)]===_0x2a529a){_0x251f16=!![];let _0x126a69=_0x5c1708[_0x37be87(0x9c)];if(_0x126a69[_0x37be87(0xaa)]('\x5c')){const _0x5d40a7=sessionConfig['defaultFileDownloadPath'];_0x126a69=_0x5f1cb0[_0x37be87(0x93)](_0x5d40a7,_0x126a69);}_0x18372a[_0x37be87(0x9d)](_0x3ff443,_0x126a69);}};downloadMediaTasks['set'](_0x18372a[_0x5a6165(0xcf)](randomUUID),_0x5e0bd8),_0x18372a[_0x5a6165(0x9f)](setTimeout,()=>{const _0x2fb3a6=_0x5a6165;!_0x251f16&&_0x479dc9[_0x2fb3a6(0x9a)](_0x2ed1f9,_0x479dc9['inKiT']);},_0x567e2b),napCatCore[_0x5a6165(0xa2)][_0x5a6165(0xa5)]()[_0x5a6165(0x90)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x2a529a,'chatType':_0x1b53cf,'peerUid':_0x3f11a6,'elementId':_0x4d3881,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x59df4f});});}static async[_0x3bc9be(0x97)](_0x17c5b0){const _0x3eb336={'JTBLL':function(_0x398b45,_0x4a83e9){return _0x398b45(_0x4a83e9);},'NyAdV':function(_0x140710,_0x3a05bf){return _0x140710(_0x3a05bf);}};return new Promise((_0x4e3458,_0x1dc655)=>{_0x45f970(_0x17c5b0,(_0x41e5c7,_0x1e088a)=>{const _0x45c98b=_0x1129;_0x41e5c7?_0x3eb336['JTBLL'](_0x1dc655,_0x41e5c7):_0x3eb336[_0x45c98b(0xda)](_0x4e3458,_0x1e088a);});});}static async[_0x3bc9be(0xbb)](_0x3bd09f,_0xaa92a8){const _0x4371df=_0x3bc9be,_0x28b678={'VURkq':'/download','XnLTJ':_0x4371df(0xd2),'wlmlV':function(_0x4f1ae4,_0x55e1ba){return _0x4f1ae4+_0x55e1ba;},'ClSJK':function(_0x39f68d,_0x5c1ad4){return _0x39f68d||_0x5c1ad4;},'YoSMb':function(_0x4c0098,_0x48765f,_0x4dbf68){return _0x4c0098(_0x48765f,_0x4dbf68);},'umFvt':_0x4371df(0xa4)};if(!_0x3bd09f)return'';const _0x551b3c=_0x3bd09f[_0x4371df(0x95)],_0xd8c641=_0x3bd09f[_0x4371df(0xa8)],_0x2e6c54=_0x3bd09f[_0x4371df(0xa8)],_0x2f881c=_0x3bd09f[_0x4371df(0xa7)];if(_0x551b3c){if(_0x551b3c[_0x4371df(0xaa)](_0x28b678[_0x4371df(0xc7)])){if(_0x551b3c[_0x4371df(0xab)](_0x28b678[_0x4371df(0xa3)]))return IMAGE_HTTP_HOST_NT+_0x551b3c;const _0x3fdff5=await rkeyManager[_0x4371df(0xa0)](),_0x337af0=_0xaa92a8?_0x3fdff5[_0x4371df(0x96)]:_0x3fdff5[_0x4371df(0xa1)];return _0x28b678[_0x4371df(0xbe)](IMAGE_HTTP_HOST_NT+_0x551b3c,''+_0x337af0);}else return _0x28b678[_0x4371df(0xbe)](IMAGE_HTTP_HOST,_0x551b3c);}else{if(_0x28b678['ClSJK'](_0x2e6c54,_0xd8c641))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x28b678[_0x4371df(0xb6)](_0x2e6c54,_0xd8c641)[_0x4371df(0xd4)]()+'/0';}return _0x28b678[_0x4371df(0xc8)](logDebug,_0x28b678[_0x4371df(0xc6)],_0x3bd09f),'';}}export class NTQQFileCacheApi{static async[_0x3bc9be(0xcd)](_0x2c2f77=!![]){return'';}static[_0x3bc9be(0xb7)](){return'';}static[_0x3bc9be(0xd7)](_0x162a97=['tmp',_0x3bc9be(0xc4)]){const _0x301637=_0x3bc9be;return napCatCore[_0x301637(0xa2)][_0x301637(0xd5)]()[_0x301637(0xa6)](_0x162a97);}static[_0x3bc9be(0xc5)](_0x45450a={}){const _0x5afd3a=_0x3bc9be;return napCatCore['session']['getStorageCleanService']()[_0x5afd3a(0x92)](_0x45450a);}static[_0x3bc9be(0xba)](){const _0x40efa7=_0x3bc9be;return napCatCore[_0x40efa7(0xa2)][_0x40efa7(0xd5)]()[_0x40efa7(0xba)]();}static[_0x3bc9be(0xbd)](){return'';}static[_0x3bc9be(0x8c)](){return'';}static[_0x3bc9be(0xb2)](_0x4ab1a5,_0x3f31e5=0x3e8,_0x23f6de=0x0){const _0x3b3aa1=_0x3bc9be;return napCatCore[_0x3b3aa1(0xa2)][_0x3b3aa1(0xd5)]()['getChatCacheInfo'](_0x4ab1a5,_0x3f31e5,0x1,_0x23f6de);}static[_0x3bc9be(0xb5)](_0x4a0684,_0x4d6ead=0x3e8,_0xb990b2){const _0x441af5=_0xb990b2?_0xb990b2:{'fileType':_0x4a0684};}static async[_0x3bc9be(0xd3)](_0x327240=[],_0x48df0d=[]){const _0x83999b=_0x3bc9be;return napCatCore[_0x83999b(0xa2)][_0x83999b(0xd5)]()['clearChatCacheInfo'](_0x327240,_0x48df0d);}} \ 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 785a5453..099655c8 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x5ef08a=_0x20f3;(function(_0x4492b2,_0x2e810e){const _0x4e81ed=_0x20f3,_0x123626=_0x4492b2();while(!![]){try{const _0x373e29=parseInt(_0x4e81ed(0x12e))/0x1*(parseInt(_0x4e81ed(0x139))/0x2)+-parseInt(_0x4e81ed(0x13e))/0x3*(parseInt(_0x4e81ed(0x13a))/0x4)+parseInt(_0x4e81ed(0x140))/0x5+-parseInt(_0x4e81ed(0x13c))/0x6*(parseInt(_0x4e81ed(0x142))/0x7)+-parseInt(_0x4e81ed(0x131))/0x8*(parseInt(_0x4e81ed(0x13d))/0x9)+-parseInt(_0x4e81ed(0x141))/0xa+parseInt(_0x4e81ed(0x135))/0xb;if(_0x373e29===_0x2e810e)break;else _0x123626['push'](_0x123626['shift']());}catch(_0x1bb879){_0x123626['push'](_0x123626['shift']());}}}(_0x247a,0x968be));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x247a(){const _0x2becbe=['handleFriendRequest','getBuddyService','16vXhBOC','length','NodeIKernelBuddyListener/onBuddyListChange','iXcbz','42620787kgWLDm','session','approvalFriendRequest','split','706nCalhp','234976ZmNhDA','CallNormalEvent','42gsgsPr','5383854ySdLsN','21APocoV','NodeIKernelBuddyService/getBuddyList','39080Lpgadp','10320150LSFNPG','1124949jUIKKe','1413rBtFzB'];_0x247a=function(){return _0x2becbe;};return _0x247a();}function _0x20f3(_0x1dd76b,_0x509dbb){const _0x247a42=_0x247a();return _0x20f3=function(_0x20f3ae,_0x404155){_0x20f3ae=_0x20f3ae-0x12e;let _0xc83ba3=_0x247a42[_0x20f3ae];return _0xc83ba3;},_0x20f3(_0x1dd76b,_0x509dbb);}export class NTQQFriendApi{static async['isBuddy'](_0x276041){const _0x558799=_0x20f3;return napCatCore[_0x558799(0x136)][_0x558799(0x130)]()['isBuddy'](_0x276041);}static async['getFriends'](_0x44d31e=![]){const _0x5d0abe=_0x20f3,_0x50d8b2={'haOqr':_0x5d0abe(0x13f)};let [_0x631083,_0x2a3d08]=await NTEventDispatch[_0x5d0abe(0x13b)](_0x50d8b2['haOqr'],_0x5d0abe(0x133),0x1,0x1388,_0x44d31e);const _0x91fc2f=[];for(const _0x21b692 of _0x2a3d08){for(const _0x327efe of _0x21b692['buddyList']){_0x91fc2f['push'](_0x327efe);}}return _0x91fc2f;}static async[_0x5ef08a(0x12f)](_0x376690,_0x4965eb){const _0x1d098d=_0x5ef08a,_0x4edfc8={'iXcbz':function(_0x5311b8,_0x1e2008){return _0x5311b8<_0x1e2008;}};let _0x24ff29=_0x376690[_0x1d098d(0x138)]('|');if(_0x4edfc8[_0x1d098d(0x134)](_0x24ff29[_0x1d098d(0x132)],0x2))return;let _0x252377=_0x24ff29[0x0],_0x5069d5=_0x24ff29[0x1];napCatCore[_0x1d098d(0x136)][_0x1d098d(0x130)]()?.[_0x1d098d(0x137)]({'friendUid':_0x252377,'reqTime':_0x5069d5,'accept':_0x4965eb});}} \ No newline at end of file +const _0x370212=_0x1d98;function _0x1d98(_0x4a464b,_0x6f6901){const _0x182264=_0x1822();return _0x1d98=function(_0x1d9849,_0x4ae9f5){_0x1d9849=_0x1d9849-0x78;let _0x27f95f=_0x182264[_0x1d9849];return _0x27f95f;},_0x1d98(_0x4a464b,_0x6f6901);}(function(_0x490972,_0x367c71){const _0x2a1177=_0x1d98,_0x15b60b=_0x490972();while(!![]){try{const _0x161b91=parseInt(_0x2a1177(0x7d))/0x1*(-parseInt(_0x2a1177(0x88))/0x2)+-parseInt(_0x2a1177(0x89))/0x3+parseInt(_0x2a1177(0x84))/0x4*(parseInt(_0x2a1177(0x7a))/0x5)+parseInt(_0x2a1177(0x8a))/0x6*(-parseInt(_0x2a1177(0x80))/0x7)+-parseInt(_0x2a1177(0x86))/0x8+-parseInt(_0x2a1177(0x8c))/0x9*(-parseInt(_0x2a1177(0x82))/0xa)+-parseInt(_0x2a1177(0x83))/0xb*(-parseInt(_0x2a1177(0x7f))/0xc);if(_0x161b91===_0x367c71)break;else _0x15b60b['push'](_0x15b60b['shift']());}catch(_0x187fd3){_0x15b60b['push'](_0x15b60b['shift']());}}}(_0x1822,0xa9309));function _0x1822(){const _0x2e9bc7=['approvalFriendRequest','4980NHMYjo','259LrheoZ','session','3293890ytjmlp','73733PfMgcQ','60300pbHLtt','buddyList','2294192QPvkuc','nRtET','80YmJtPz','2858061mjpAUI','114078xGRiTn','NodeIKernelBuddyListener/onBuddyListChange','18IrVmKW','getBuddyService','NodeIKernelBuddyService/getBuddyList','handleFriendRequest','20sKjdRT','getFriends','isBuddy','21622ZbIAvf'];_0x1822=function(){return _0x2e9bc7;};return _0x1822();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async['isBuddy'](_0xfacb26){const _0x1c542f=_0x1d98;return napCatCore[_0x1c542f(0x81)]['getBuddyService']()[_0x1c542f(0x7c)](_0xfacb26);}static async[_0x370212(0x7b)](_0x1e6a88=![]){const _0x1b087e=_0x370212,_0x3e7fa3={'HUxZW':_0x1b087e(0x78),'nRtET':_0x1b087e(0x8b)};let [_0x2194c4,_0x15238a]=await NTEventDispatch['CallNormalEvent'](_0x3e7fa3['HUxZW'],_0x3e7fa3[_0x1b087e(0x87)],0x1,0x1388,_0x1e6a88);const _0x17b4ca=[];for(const _0x10765e of _0x15238a){for(const _0x5d5d4c of _0x10765e[_0x1b087e(0x85)]){_0x17b4ca['push'](_0x5d5d4c);}}return _0x17b4ca;}static async[_0x370212(0x79)](_0x518016,_0x2e836d){const _0x2ac5ad=_0x370212;let _0x451c79=_0x518016['split']('|');if(_0x451c79['length']<0x2)return;let _0x730a68=_0x451c79[0x0],_0x17d51d=_0x451c79[0x1];napCatCore[_0x2ac5ad(0x81)][_0x2ac5ad(0x8d)]()?.[_0x2ac5ad(0x7e)]({'friendUid':_0x730a68,'reqTime':_0x17d51d,'accept':_0x2e836d});}} \ 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 c1b4fa3a..ebf7036a 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x13e7(){const _0x37e012=['IGZjn','groupMemberList_MainWindow','bMkjg','glJBk','createMemberListScene','getPSkey','kickMember','uploadGroupBulletinPic','qun.qq.com','8ipHUtp','3663171TBqwGp','groupCode','CallNoListenerEvent','getMemberExtInfo','setGroupName','getSingleScreenNotifies','setGroupShutUp','arkJson','setMemberRole','session','domainPskeyMap','group','获取群成员列表出错,','getGroupService','banGroup','setGroupTitle','GetGroupFileCount','NodeIKernelGroupService/getSingleScreenNotifies','setMemberCard','batchGetGroupFileCount','getRichMediaService','NodeIKernelGroupListener/onGroupSingleScreenNotifies','seq','type','getGroupMembers','quitGroup','banMember','2497cQCQRm','283473TfsdtY','getGroups','CxiGm','CreatGroupFileFolder','CallNormalEvent','modifyMemberCardName','getGroupRecommendContactArkJson','handleGroupRequest','DelGroupFile','tpSzr','259fUFPel','1236840UzmMQj','setMemberShutUp','5494064dxwtrF','operateSysNotify','infos','44142DGkuqe','modifyMemberRole','publishGroupBulletin','NodeIKernelGroupService/getGroupRecommendContactArkJson','QQiAw','NodeIKernelGroupService/getGroupList','2362CUFcNd','getArkJsonGroupShare','16ICBuxf','DelGroupFileFolder','deleteGroupFile','67780jndWzm','EFIJY','getGroupRemainAtTimes','get','modifyGroupName','TITLETYPE'];_0x13e7=function(){return _0x37e012;};return _0x13e7();}const _0x52656b=_0x3b86;function _0x3b86(_0x47ebb3,_0x544a74){const _0x13e775=_0x13e7();return _0x3b86=function(_0x3b86b1,_0x3bfda7){_0x3b86b1=_0x3b86b1-0xae;let _0xf93065=_0x13e775[_0x3b86b1];return _0xf93065;},_0x3b86(_0x47ebb3,_0x544a74);}(function(_0x45fb76,_0x17ede4){const _0x39fef4=_0x3b86,_0x1d4bbf=_0x45fb76();while(!![]){try{const _0x4e199c=-parseInt(_0x39fef4(0xd4))/0x1*(-parseInt(_0x39fef4(0xc0))/0x2)+parseInt(_0x39fef4(0xf1))/0x3*(-parseInt(_0x39fef4(0xc2))/0x4)+-parseInt(_0x39fef4(0xb5))/0x5+parseInt(_0x39fef4(0xba))/0x6*(-parseInt(_0x39fef4(0xb4))/0x7)+-parseInt(_0x39fef4(0xb7))/0x8+parseInt(_0x39fef4(0xd5))/0x9+-parseInt(_0x39fef4(0xc5))/0xa*(-parseInt(_0x39fef4(0xf0))/0xb);if(_0x4e199c===_0x17ede4)break;else _0x1d4bbf['push'](_0x1d4bbf['shift']());}catch(_0xe43739){_0x1d4bbf['push'](_0x1d4bbf['shift']());}}}(_0x13e7,0x5a856));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x52656b(0xf2)](_0x2c836d=![]){const _0x137c3e=_0x52656b,_0x554725={'EFIJY':_0x137c3e(0xbf)};let [_0x11be3e,_0x380c34,_0xeff924]=await NTEventDispatch['CallNormalEvent'](_0x554725[_0x137c3e(0xc6)],'NodeIKernelGroupListener/onGroupListUpdate',0x1,0x1388,_0x2c836d);return _0xeff924;}static async[_0x52656b(0xb0)](_0x10e7d4){const _0x3c4da0=_0x52656b;return napCatCore[_0x3c4da0(0xde)][_0x3c4da0(0xe2)]()[_0x3c4da0(0xb0)](_0x10e7d4);}static async[_0x52656b(0xf4)](_0x5bedba,_0x1d89b5){const _0x9f1e24=_0x52656b;return napCatCore[_0x9f1e24(0xde)][_0x9f1e24(0xe9)]()['createGroupFolder'](_0x5bedba,_0x1d89b5);}static async[_0x52656b(0xb2)](_0x156e81,_0x15b9b5){const _0x3c6d29=_0x52656b;return napCatCore[_0x3c6d29(0xde)][_0x3c6d29(0xe9)]()[_0x3c6d29(0xc4)](_0x156e81,[0x66],_0x15b9b5);}static async[_0x52656b(0xc3)](_0x345152,_0x4909e5){const _0x37d6e7=_0x52656b;return napCatCore[_0x37d6e7(0xde)][_0x37d6e7(0xe9)]()['deleteGroupFolder'](_0x345152,_0x4909e5);}static async[_0x52656b(0xda)](_0x2126d3){const _0x407a52=_0x52656b,_0x189636={'QQiAw':_0x407a52(0xe6),'bMkjg':_0x407a52(0xea)};let [_0x471a57,_0x1d3995,_0x587fc7,_0x119423]=await NTEventDispatch[_0x407a52(0xae)](_0x189636[_0x407a52(0xbe)],_0x189636[_0x407a52(0xcd)],0x1,0x1388,![],'',_0x2126d3);return _0x119423;}static async[_0x52656b(0xed)](_0x15689d,_0x2132fe=0xbb8){const _0x431358=_0x52656b,_0x5a906b={'CxiGm':function(_0x31b482,_0x4398ae){return _0x31b482!==_0x4398ae;},'tpSzr':_0x431358(0xe1)},_0x9dc762=napCatCore['session'][_0x431358(0xe2)](),_0x165b2d=_0x9dc762[_0x431358(0xcf)](_0x15689d,_0x431358(0xcc)),_0x8e28e=await _0x9dc762['getNextMemberList'](_0x165b2d,undefined,_0x2132fe);if(_0x5a906b[_0x431358(0xf3)](_0x8e28e['errCode'],0x0))throw _0x5a906b[_0x431358(0xb3)]+_0x8e28e['errMsg'];return _0x8e28e['result'][_0x431358(0xb9)];}static async['getGroupNotifies'](){}static async[_0x52656b(0xe5)](_0x585eab){const _0x5c9446=_0x52656b;return napCatCore['session'][_0x5c9446(0xe9)]()[_0x5c9446(0xe8)](_0x585eab);}static async['getGroupIgnoreNotifies'](){}static async[_0x52656b(0xc1)](_0x424738){const _0x416d18=_0x52656b;let _0x31be50=await NTEventDispatch[_0x416d18(0xd7)](_0x416d18(0xbd),0x1388,_0x424738);return _0x31be50[_0x416d18(0xdc)];}static async[_0x52656b(0xd2)](_0x3d2a3b,_0x4151f3){const _0x5b3d5b=_0x52656b,_0x218238={'tCnOY':'qun.qq.com'},_0x148fa5=(await NTQQUserApi[_0x5b3d5b(0xd0)]([_0x218238['tCnOY']]))[_0x5b3d5b(0xdf)][_0x5b3d5b(0xc8)](_0x5b3d5b(0xd3));return napCatCore[_0x5b3d5b(0xde)][_0x5b3d5b(0xe2)]()[_0x5b3d5b(0xd2)](_0x3d2a3b,_0x148fa5,_0x4151f3);}static async[_0x52656b(0xb1)](_0x263b59,_0x4211ec,_0x1b57fa){const _0x8c3dcc=_0x52656b,_0x174f6b={'IGZjn':function(_0x4e610a,_0x463579){return _0x4e610a||_0x463579;}};return napCatCore[_0x8c3dcc(0xde)][_0x8c3dcc(0xe2)]()[_0x8c3dcc(0xb8)](![],{'operateType':_0x4211ec,'targetMsg':{'seq':_0x263b59[_0x8c3dcc(0xeb)],'type':_0x263b59[_0x8c3dcc(0xec)],'groupCode':_0x263b59[_0x8c3dcc(0xe0)][_0x8c3dcc(0xd6)],'postscript':_0x174f6b[_0x8c3dcc(0xcb)](_0x1b57fa,'')}});}static async[_0x52656b(0xee)](_0x3c8b90){const _0x233288=_0x52656b;return napCatCore['session'][_0x233288(0xe2)]()[_0x233288(0xee)](_0x3c8b90);}static async[_0x52656b(0xd1)](_0x250f71,_0x3545fd,_0x5d39b4=![],_0x1f4eb8=''){const _0x3ff65e=_0x52656b;return napCatCore['session'][_0x3ff65e(0xe2)]()[_0x3ff65e(0xd1)](_0x250f71,_0x3545fd,_0x5d39b4,_0x1f4eb8);}static async[_0x52656b(0xef)](_0x235c15,_0x4ad448){const _0x589eff=_0x52656b;return napCatCore[_0x589eff(0xde)]['getGroupService']()[_0x589eff(0xb6)](_0x235c15,_0x4ad448);}static async[_0x52656b(0xe3)](_0x3e0d3c,_0x59b9d6){const _0x566b51=_0x52656b;return napCatCore[_0x566b51(0xde)][_0x566b51(0xe2)]()[_0x566b51(0xdb)](_0x3e0d3c,_0x59b9d6);}static async[_0x52656b(0xe7)](_0x346342,_0x1aa1f8,_0x141665){const _0x45898e=_0x52656b;return napCatCore[_0x45898e(0xde)][_0x45898e(0xe2)]()[_0x45898e(0xaf)](_0x346342,_0x1aa1f8,_0x141665);}static async[_0x52656b(0xdd)](_0x3c0767,_0x1b2670,_0x4b7962){const _0x5b6978=_0x52656b;return napCatCore[_0x5b6978(0xde)]['getGroupService']()[_0x5b6978(0xbb)](_0x3c0767,_0x1b2670,_0x4b7962);}static async[_0x52656b(0xd9)](_0x44ca86,_0x5c7f03){const _0x836479=_0x52656b;return napCatCore[_0x836479(0xde)][_0x836479(0xe2)]()[_0x836479(0xc9)](_0x44ca86,_0x5c7f03,![]);}static async[_0x52656b(0xe4)](_0x22835e,_0x3e1c12,_0x4a456e){}static async[_0x52656b(0xbc)](_0x2399f4,_0x58ab42,_0x8993e6=undefined,_0x525b91=0x0,_0x1a6056=0x0){const _0x422b96=_0x52656b,_0x173aa3={'glJBk':_0x422b96(0xd3)},_0x47281d=(await NTQQUserApi['getPSkey']([_0x173aa3[_0x422b96(0xce)]]))[_0x422b96(0xdf)][_0x422b96(0xc8)](_0x422b96(0xd3));let _0xeb31a4={'text':encodeURI(_0x58ab42),'picInfo':_0x8993e6,'oldFeedsId':'','pinned':_0x525b91,'confirmRequired':_0x1a6056};return napCatCore['session'][_0x422b96(0xe2)]()['publishGroupBulletin'](_0x2399f4,_0x47281d,_0xeb31a4);}static async[_0x52656b(0xc7)](_0x53ca6d){const _0x1913d=_0x52656b;napCatCore[_0x1913d(0xde)][_0x1913d(0xe2)]()[_0x1913d(0xc7)](_0x53ca6d);}static async[_0x52656b(0xd8)](_0x62290c,_0x39065a){const _0x12c8c6=_0x52656b;return napCatCore[_0x12c8c6(0xde)]['getGroupService']()[_0x12c8c6(0xd8)]({'groupCode':_0x62290c,'sourceType':MemberExtSourceType[_0x12c8c6(0xca)],'beginUin':'0','dataTime':'0','uinList':[_0x39065a],'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 +const _0x2037aa=_0x898c;(function(_0x3f26dd,_0x115dc9){const _0xd9c81=_0x898c,_0x1b34be=_0x3f26dd();while(!![]){try{const _0x53271a=-parseInt(_0xd9c81(0x196))/0x1*(-parseInt(_0xd9c81(0x168))/0x2)+-parseInt(_0xd9c81(0x169))/0x3*(parseInt(_0xd9c81(0x16d))/0x4)+parseInt(_0xd9c81(0x17a))/0x5+-parseInt(_0xd9c81(0x187))/0x6*(-parseInt(_0xd9c81(0x192))/0x7)+-parseInt(_0xd9c81(0x15d))/0x8*(-parseInt(_0xd9c81(0x18f))/0x9)+-parseInt(_0xd9c81(0x164))/0xa+-parseInt(_0xd9c81(0x185))/0xb;if(_0x53271a===_0x115dc9)break;else _0x1b34be['push'](_0x1b34be['shift']());}catch(_0x218e33){_0x1b34be['push'](_0x1b34be['shift']());}}}(_0xc755,0x1deee));function _0x898c(_0x256787,_0x1aa2f1){const _0xc75596=_0xc755();return _0x898c=function(_0x898cdc,_0x5eeb42){_0x898cdc=_0x898cdc-0x151;let _0x528782=_0xc75596[_0x898cdc];return _0x528782;},_0x898c(_0x256787,_0x1aa2f1);}import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x2037aa(0x16a)](_0x3efc38=![]){const _0x228b56=_0x2037aa,_0x36557c={'CMcsy':_0x228b56(0x174),'NEajJ':_0x228b56(0x165)};let [_0x437b88,_0x6b5d2e,_0x246991]=await NTEventDispatch[_0x228b56(0x173)](_0x36557c[_0x228b56(0x162)],_0x36557c[_0x228b56(0x183)],0x1,0x1388,_0x3efc38);return _0x246991;}static async['getGroupRecommendContactArkJson'](_0x23b1d0){const _0x336706=_0x2037aa;return napCatCore[_0x336706(0x188)][_0x336706(0x186)]()[_0x336706(0x155)](_0x23b1d0);}static async[_0x2037aa(0x163)](_0x560e02,_0x59f76b){const _0x9e3ec3=_0x2037aa;return napCatCore[_0x9e3ec3(0x188)][_0x9e3ec3(0x195)]()['createGroupFolder'](_0x560e02,_0x59f76b);}static async['DelGroupFile'](_0x2f45e6,_0x1a1b23){const _0x2507e0=_0x2037aa;return napCatCore[_0x2507e0(0x188)]['getRichMediaService']()[_0x2507e0(0x170)](_0x2f45e6,[0x66],_0x1a1b23);}static async[_0x2037aa(0x156)](_0x4e35c6,_0x28e48f){const _0x5db5c4=_0x2037aa;return napCatCore[_0x5db5c4(0x188)][_0x5db5c4(0x195)]()[_0x5db5c4(0x184)](_0x4e35c6,_0x28e48f);}static async[_0x2037aa(0x153)](_0x258eb7){const _0x4576ff=_0x2037aa,_0x828ca1={'aezzV':'NodeIKernelGroupService/getSingleScreenNotifies','JMTLu':_0x4576ff(0x15b)};let [_0x19c3bb,_0x3106f3,_0x438c3a,_0x38b81e]=await NTEventDispatch[_0x4576ff(0x173)](_0x828ca1['aezzV'],_0x828ca1[_0x4576ff(0x182)],0x1,0x1388,![],'',_0x258eb7);return _0x38b81e;}static async[_0x2037aa(0x16c)](_0x20384a,_0x2db6bd=0xbb8){const _0x2f95a6=_0x2037aa,_0x3741b7={'oZHpz':'groupMemberList_MainWindow','OOMPQ':function(_0x3fbec1,_0x2ae8bc){return _0x3fbec1!==_0x2ae8bc;},'tGwgU':function(_0x408d6c,_0x59e3ff){return _0x408d6c+_0x59e3ff;},'ZCqYN':_0x2f95a6(0x194)},_0x33403a=napCatCore[_0x2f95a6(0x188)][_0x2f95a6(0x186)](),_0x57a6d3=_0x33403a['createMemberListScene'](_0x20384a,_0x3741b7[_0x2f95a6(0x193)]),_0x47f296=await _0x33403a['getNextMemberList'](_0x57a6d3,undefined,_0x2db6bd);if(_0x3741b7[_0x2f95a6(0x18a)](_0x47f296[_0x2f95a6(0x16b)],0x0))throw _0x3741b7[_0x2f95a6(0x181)](_0x3741b7['ZCqYN'],_0x47f296['errMsg']);return _0x47f296[_0x2f95a6(0x160)][_0x2f95a6(0x17e)];}static async[_0x2037aa(0x157)](){}static async[_0x2037aa(0x161)](_0x17f5a6){const _0x602ab6=_0x2037aa;return napCatCore['session'][_0x602ab6(0x195)]()[_0x602ab6(0x17c)](_0x17f5a6);}static async[_0x2037aa(0x178)](){}static async['getArkJsonGroupShare'](_0x1962cf){const _0x5b1306=_0x2037aa,_0x57bd3f={'IwbHC':_0x5b1306(0x17b)};let _0x39b63a=await NTEventDispatch[_0x5b1306(0x15e)](_0x57bd3f[_0x5b1306(0x18e)],0x1388,_0x1962cf);return _0x39b63a[_0x5b1306(0x152)];}static async[_0x2037aa(0x166)](_0x24e462,_0x5b3b87){const _0x367cdf=_0x2037aa,_0x227cbc={'xyPMV':'qun.qq.com'},_0x46989b=(await NTQQUserApi['getPSkey']([_0x227cbc[_0x367cdf(0x159)]]))[_0x367cdf(0x158)]['get'](_0x227cbc[_0x367cdf(0x159)]);return napCatCore[_0x367cdf(0x188)][_0x367cdf(0x186)]()['uploadGroupBulletinPic'](_0x24e462,_0x46989b,_0x5b3b87);}static async[_0x2037aa(0x18d)](_0x5001ef,_0x6bcc35,_0x2438c9){const _0x48a648=_0x2037aa,_0x4111c5={'tnzfE':function(_0x457d13,_0x281ed4){return _0x457d13||_0x281ed4;}};return napCatCore[_0x48a648(0x188)]['getGroupService']()[_0x48a648(0x179)](![],{'operateType':_0x6bcc35,'targetMsg':{'seq':_0x5001ef[_0x48a648(0x190)],'type':_0x5001ef['type'],'groupCode':_0x5001ef[_0x48a648(0x15f)][_0x48a648(0x154)],'postscript':_0x4111c5[_0x48a648(0x189)](_0x2438c9,'')}});}static async[_0x2037aa(0x16e)](_0x62125c){const _0xe8ea42=_0x2037aa;return napCatCore['session'][_0xe8ea42(0x186)]()[_0xe8ea42(0x16e)](_0x62125c);}static async[_0x2037aa(0x15c)](_0x1bcf97,_0x2f65c9,_0x10d14c=![],_0x3ec0c2=''){const _0x3a9784=_0x2037aa;return napCatCore[_0x3a9784(0x188)][_0x3a9784(0x186)]()[_0x3a9784(0x15c)](_0x1bcf97,_0x2f65c9,_0x10d14c,_0x3ec0c2);}static async[_0x2037aa(0x15a)](_0x2f80de,_0x1e3bf2){const _0xd736e1=_0x2037aa;return napCatCore[_0xd736e1(0x188)][_0xd736e1(0x186)]()[_0xd736e1(0x167)](_0x2f80de,_0x1e3bf2);}static async[_0x2037aa(0x18b)](_0x1a17ff,_0x4cb1ab){const _0x1eef2b=_0x2037aa;return napCatCore['session'][_0x1eef2b(0x186)]()['setGroupShutUp'](_0x1a17ff,_0x4cb1ab);}static async[_0x2037aa(0x175)](_0x35ff7c,_0x176b7b,_0x169c4d){const _0x2a337a=_0x2037aa;return napCatCore[_0x2a337a(0x188)]['getGroupService']()['modifyMemberCardName'](_0x35ff7c,_0x176b7b,_0x169c4d);}static async[_0x2037aa(0x171)](_0x1a03db,_0x3616fb,_0x33df58){const _0x186a3f=_0x2037aa;return napCatCore[_0x186a3f(0x188)][_0x186a3f(0x186)]()['modifyMemberRole'](_0x1a03db,_0x3616fb,_0x33df58);}static async[_0x2037aa(0x16f)](_0x14948f,_0x2420af){const _0x4b0734=_0x2037aa;return napCatCore[_0x4b0734(0x188)][_0x4b0734(0x186)]()['modifyGroupName'](_0x14948f,_0x2420af,![]);}static async['setGroupTitle'](_0x398e73,_0x16b714,_0x4849f5){}static async[_0x2037aa(0x151)](_0xaeeab8,_0x542b19,_0x22eb23=undefined,_0x36ebef=0x0,_0x2ace4d=0x0){const _0x3d6e15=_0x2037aa,_0x44624f={'wYIpa':_0x3d6e15(0x172),'icMir':function(_0x3e1d06,_0x337e00){return _0x3e1d06(_0x337e00);}},_0x1b411f=(await NTQQUserApi[_0x3d6e15(0x176)](['qun.qq.com']))[_0x3d6e15(0x158)][_0x3d6e15(0x17d)](_0x44624f[_0x3d6e15(0x17f)]);let _0x574d1b={'text':_0x44624f[_0x3d6e15(0x180)](encodeURI,_0x542b19),'picInfo':_0x22eb23,'oldFeedsId':'','pinned':_0x36ebef,'confirmRequired':_0x2ace4d};return napCatCore['session'][_0x3d6e15(0x186)]()[_0x3d6e15(0x151)](_0xaeeab8,_0x1b411f,_0x574d1b);}static async[_0x2037aa(0x177)](_0x233b61){const _0x1e175f=_0x2037aa;napCatCore['session'][_0x1e175f(0x186)]()[_0x1e175f(0x177)](_0x233b61);}static async['getMemberExtInfo'](_0x459ea1,_0x4aa71b){const _0xb96aa7=_0x2037aa;return napCatCore[_0xb96aa7(0x188)][_0xb96aa7(0x186)]()[_0xb96aa7(0x191)]({'groupCode':_0x459ea1,'sourceType':MemberExtSourceType[_0xb96aa7(0x18c)],'beginUin':'0','dataTime':'0','uinList':[_0x4aa71b],'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 _0xc755(){const _0x3c580d=['NodeIKernelGroupService/getGroupList','setMemberCard','getPSkey','getGroupRemainAtTimes','getGroupIgnoreNotifies','operateSysNotify','1061420yGzkqf','NodeIKernelGroupService/getGroupRecommendContactArkJson','batchGetGroupFileCount','get','infos','wYIpa','icMir','tGwgU','JMTLu','NEajJ','deleteGroupFolder','4143788aymyNk','getGroupService','282xQrxsX','session','tnzfE','OOMPQ','banGroup','TITLETYPE','handleGroupRequest','IwbHC','1405674OxLheu','seq','getMemberExtInfo','32011ADcXQR','oZHpz','获取群成员列表出错,','getRichMediaService','1TozMxW','publishGroupBulletin','arkJson','getSingleScreenNotifies','groupCode','getGroupRecommendContactArkJson','DelGroupFileFolder','getGroupNotifies','domainPskeyMap','xyPMV','banMember','NodeIKernelGroupListener/onGroupSingleScreenNotifies','kickMember','8Dwllzo','CallNoListenerEvent','group','result','GetGroupFileCount','CMcsy','CreatGroupFileFolder','873440QCnIbB','NodeIKernelGroupListener/onGroupListUpdate','uploadGroupBulletinPic','setMemberShutUp','437274nSOcoN','1815CdRviv','getGroups','errCode','getGroupMembers','1424xaZYUm','quitGroup','setGroupName','deleteGroupFile','setMemberRole','qun.qq.com','CallNormalEvent'];_0xc755=function(){return _0x3c580d;};return _0xc755();} \ 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 ec177b0a..9ec1ecc6 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x1706eb,_0x2764e7){var _0x333ca9=_0x98c6,_0x53e768=_0x1706eb();while(!![]){try{var _0x164020=-parseInt(_0x333ca9(0xfa))/0x1+-parseInt(_0x333ca9(0xfc))/0x2*(parseInt(_0x333ca9(0xfb))/0x3)+-parseInt(_0x333ca9(0xfe))/0x4+parseInt(_0x333ca9(0xff))/0x5+-parseInt(_0x333ca9(0xf9))/0x6+-parseInt(_0x333ca9(0x100))/0x7*(parseInt(_0x333ca9(0xf8))/0x8)+parseInt(_0x333ca9(0x101))/0x9*(parseInt(_0x333ca9(0xfd))/0xa);if(_0x164020===_0x2764e7)break;else _0x53e768['push'](_0x53e768['shift']());}catch(_0x446cff){_0x53e768['push'](_0x53e768['shift']());}}}(_0x321a,0xe15e5));export*from'./file';function _0x98c6(_0x5bbb5b,_0x31ec78){var _0x321af3=_0x321a();return _0x98c6=function(_0x98c6c9,_0x57e6bf){_0x98c6c9=_0x98c6c9-0xf8;var _0x5a516c=_0x321af3[_0x98c6c9];return _0x5a516c;},_0x98c6(_0x5bbb5b,_0x31ec78);}export*from'./friend';export*from'./group';export*from'./msg';function _0x321a(){var _0xa49cd5=['458104mzCQjL','3845538AebeUb','874084cwJQra','2905767htwmMT','2eKXaoX','3253550UvrcOJ','154212mCvfyc','763340QPxfDF','35dOVYMS','99APnKjX'];_0x321a=function(){return _0xa49cd5;};return _0x321a();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x341fdd,_0x573edb){var _0x5eca45=_0x1e71,_0x40a7f7=_0x341fdd();while(!![]){try{var _0x5df316=-parseInt(_0x5eca45(0x160))/0x1+-parseInt(_0x5eca45(0x15e))/0x2+parseInt(_0x5eca45(0x165))/0x3*(-parseInt(_0x5eca45(0x163))/0x4)+parseInt(_0x5eca45(0x164))/0x5+-parseInt(_0x5eca45(0x161))/0x6*(parseInt(_0x5eca45(0x15d))/0x7)+parseInt(_0x5eca45(0x15f))/0x8*(-parseInt(_0x5eca45(0x166))/0x9)+-parseInt(_0x5eca45(0x162))/0xa*(-parseInt(_0x5eca45(0x167))/0xb);if(_0x5df316===_0x573edb)break;else _0x40a7f7['push'](_0x40a7f7['shift']());}catch(_0x3d4bdf){_0x40a7f7['push'](_0x40a7f7['shift']());}}}(_0xb6ad,0xf01b4));function _0xb6ad(){var _0x33d72d=['12731643kSuXAU','8029373NzwuQz','2548126NgTQuu','1168038GvpdAv','8OVFVvY','626794wZbXmA','6vxFJxk','50rQZTzV','558644XvRvaV','7202535PeNpvR','24yJuCqS'];_0xb6ad=function(){return _0x33d72d;};return _0xb6ad();}function _0x1e71(_0x153efb,_0xc5335e){var _0xb6add1=_0xb6ad();return _0x1e71=function(_0x1e71c7,_0x21f8f4){_0x1e71c7=_0x1e71c7-0x15d;var _0x273d0c=_0xb6add1[_0x1e71c7];return _0x273d0c;},_0x1e71(_0x153efb,_0xc5335e);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';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 d107a59c..bba66291 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x582694=_0x2113;(function(_0xec56a3,_0x4b7151){const _0x34c2b4=_0x2113,_0x32a0ec=_0xec56a3();while(!![]){try{const _0x214487=parseInt(_0x34c2b4(0x1bb))/0x1+parseInt(_0x34c2b4(0x1ac))/0x2*(-parseInt(_0x34c2b4(0x1a5))/0x3)+parseInt(_0x34c2b4(0x1ad))/0x4+parseInt(_0x34c2b4(0x1d3))/0x5*(-parseInt(_0x34c2b4(0x1ed))/0x6)+parseInt(_0x34c2b4(0x1c7))/0x7*(-parseInt(_0x34c2b4(0x1ce))/0x8)+-parseInt(_0x34c2b4(0x1d9))/0x9+parseInt(_0x34c2b4(0x1c2))/0xa;if(_0x214487===_0x4b7151)break;else _0x32a0ec['push'](_0x32a0ec['shift']());}catch(_0x591d47){_0x32a0ec['push'](_0x32a0ec['shift']());}}}(_0x23f9,0x6c7ae));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();function _0x23f9(){const _0x1e6f77=['getRichMediaService','4315410FssVII','multiForwardMsg','senderUid','iGcQZ','sendMsg','getMsgsIncludeSelf','cuLqx','app','HSwSS','fetchRecentContact','jCyxl','setMsgRead','OoSAs','peerUid','setEmojiLike','getGroupFileList','onMsgInfoListUpdate','BBcCn','arkElement','UcmrL','306SJLRHb','item','6gzAHYz','SQeBh','OewsI','获取群文件列表超时','parse','Rkgqp','toString','222934SLzgEy','1343476ZugzlG','QaEpz','getMultiMsg','XNHFk','addListener','PrArV','onGroupFileInfoUpdate','forwardMsg','length','getMsgsBySeqAndCount','elements','catch','sendStatus','delete','681264IrozdW','map','session','msgId','recallMsg','forEach','bytesData','10191560OntLvW','nOyfO','set','hcFaI','chatType','14WDrMqb','com.tencent.multimsg','then','gHMUx','setMsgEmojiLikes','MYGpj','yxDLP','802288UvfKOc','getMsgsByMsgId','nick','onAddSendMsg','getMsgService','67545eTXRDu','uid','转发消息超时','twcRD','wxLVy'];_0x23f9=function(){return _0x1e6f77;};return _0x23f9();}function _0x2113(_0x5aa046,_0x54e406){const _0x23f987=_0x23f9();return _0x2113=function(_0x2113d7,_0x278a07){_0x2113d7=_0x2113d7-0x1a5;let _0x3774bb=_0x23f987[_0x2113d7];return _0x3774bb;},_0x2113(_0x5aa046,_0x54e406);}msgListener[_0x582694(0x1b3)]=_0x3dbebc=>{const _0x5527b1=_0x582694;for(const [_0x189a5f,_0x19754d]of GroupFileInfoUpdateTasks){_0x19754d(_0x3dbebc),GroupFileInfoUpdateTasks[_0x5527b1(0x1ba)](_0x189a5f);}},msgListener[_0x582694(0x1d1)]=_0x1e2b59=>{const _0x27c639=_0x582694,_0xf30134={'BgJOu':function(_0x39b2a9,_0xdaf685){return _0x39b2a9(_0xdaf685);},'wxLVy':function(_0x4bb4ec,_0x395be2){return _0x4bb4ec instanceof _0x395be2;}};for(const [_0x300956,_0x2ad298]of sentMsgTasks){_0xf30134['BgJOu'](_0x2ad298,_0x1e2b59),sentMsgTasks[_0x27c639(0x1ba)](_0x300956);}if(sendMessagePool[_0x1e2b59['peerUid']]){const _0x14e553=sendMessagePool[_0x1e2b59[_0x27c639(0x1e6)]]?.(_0x1e2b59);_0xf30134[_0x27c639(0x1d7)](_0x14e553,Promise)&&_0x14e553['then']()[_0x27c639(0x1b8)](logError);}},msgListener[_0x582694(0x1e9)]=_0x101424=>{const _0x13e96a=_0x582694,_0x382ccf={'XNHFk':function(_0x5b0b9d,_0x4ebe42){return _0x5b0b9d(_0x4ebe42);},'BBcCn':function(_0x4cac6c,_0x4983f1){return _0x4cac6c instanceof _0x4983f1;}};_0x101424[_0x13e96a(0x1c0)](_0x255fca=>{const _0x259e30=_0x13e96a;new Promise((_0x20cfcf,_0x378bfb)=>{const _0x469db3=_0x2113;for(const _0x2013d5 in sendSuccessCBMap){const _0x13e44c=sendSuccessCBMap[_0x2013d5],_0x5998fa=_0x382ccf[_0x469db3(0x1b0)](_0x13e44c,_0x255fca),_0x4842eb=_0x28aeb3=>{_0x28aeb3&&delete sendSuccessCBMap[_0x2013d5];};_0x382ccf[_0x469db3(0x1ea)](_0x5998fa,Promise)?_0x5998fa[_0x469db3(0x1c9)](_0x4842eb):_0x382ccf[_0x469db3(0x1b0)](_0x4842eb,_0x5998fa);}})[_0x259e30(0x1c9)]()[_0x259e30(0x1b8)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3157bb=_0x2113;napCatCore[_0x3157bb(0x1b1)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x582694(0x1e7)](_0x35ef57,_0x30c64c,_0x30520f,_0x55a9ba=!![]){const _0xfa9cb1=_0x582694,_0x48bd47={'nOyfO':function(_0x414601,_0x3593a9){return _0x414601>_0x3593a9;}};return _0x30520f=_0x30520f[_0xfa9cb1(0x1ab)](),napCatCore[_0xfa9cb1(0x1bd)][_0xfa9cb1(0x1d2)]()[_0xfa9cb1(0x1cb)](_0x35ef57,_0x30c64c,_0x30520f,_0x48bd47[_0xfa9cb1(0x1c3)](_0x30520f[_0xfa9cb1(0x1b5)],0x3)?'2':'1',_0x55a9ba);}static async[_0x582694(0x1af)](_0x4f55a3,_0x189dd8,_0x39e7ea){const _0x1ba0cc=_0x582694;return napCatCore[_0x1ba0cc(0x1bd)][_0x1ba0cc(0x1d2)]()[_0x1ba0cc(0x1af)](_0x4f55a3,_0x189dd8,_0x39e7ea);}static async[_0x582694(0x1cf)](_0x21cece,_0x34244d){const _0xf8b7d7=_0x582694;return await napCatCore[_0xf8b7d7(0x1bd)]['getMsgService']()[_0xf8b7d7(0x1cf)](_0x21cece,_0x34244d);}static async['getMsgsBySeqAndCount'](_0x2a9233,_0x144f1d,_0x5ac487,_0x3e7395,_0x4270c1){const _0x41807a=_0x582694;return await napCatCore[_0x41807a(0x1bd)][_0x41807a(0x1d2)]()[_0x41807a(0x1b6)](_0x2a9233,_0x144f1d,_0x5ac487,_0x3e7395,_0x4270c1);}static async['activateChat'](_0x187ac1){}static async['activateChatAndGetHistory'](_0x3ac636){}static async[_0x582694(0x1e4)](_0x9bb1c4){const _0x51fbe5=_0x582694;return napCatCore[_0x51fbe5(0x1bd)][_0x51fbe5(0x1d2)]()[_0x51fbe5(0x1e4)](_0x9bb1c4);}static async[_0x582694(0x1e8)](_0x1f99c4,_0x21ed71){const _0x506cb0={'UcmrL':function(_0x4344c3,_0x538116,_0x456a88){return _0x4344c3(_0x538116,_0x456a88);},'oAbDF':function(_0x4642c4){return _0x4642c4();}};return new Promise(async(_0x264eb7,_0x1cc469)=>{const _0x6f7eba=_0x2113,_0x2faf3b={'MYGpj':function(_0x48b939,_0x368629){return _0x48b939(_0x368629);},'cuLqx':_0x6f7eba(0x1a8)};let _0x37a010=![];_0x506cb0[_0x6f7eba(0x1ec)](setTimeout,()=>{const _0x5ccee9=_0x6f7eba;!_0x37a010&&_0x2faf3b[_0x5ccee9(0x1cc)](_0x1cc469,_0x2faf3b[_0x5ccee9(0x1df)]);},0x1388);const _0x4a071f=_0x58fb9b=>{const _0x54819f=_0x6f7eba;_0x37a010=!![],_0x264eb7(_0x58fb9b[_0x54819f(0x1ee)]);};GroupFileInfoUpdateTasks[_0x6f7eba(0x1c4)](_0x506cb0['oAbDF'](randomUUID),_0x4a071f),await napCatCore[_0x6f7eba(0x1bd)][_0x6f7eba(0x1d8)]()[_0x6f7eba(0x1e8)](_0x1f99c4,_0x21ed71);});}static async['getMsgHistory'](_0x1d98b8,_0x47ca1d,_0x161eb5){const _0x1214af=_0x582694;return napCatCore[_0x1214af(0x1bd)][_0x1214af(0x1d2)]()[_0x1214af(0x1de)](_0x1d98b8,_0x47ca1d,_0x161eb5,!![]);}static async[_0x582694(0x1e2)](){}static async['recallMsg'](_0x2c7938,_0x295311){const _0x4a22be=_0x582694;await napCatCore[_0x4a22be(0x1bd)]['getMsgService']()[_0x4a22be(0x1bf)]({'chatType':_0x2c7938[_0x4a22be(0x1c6)],'peerUid':_0x2c7938['peerUid']},_0x295311);}static async[_0x582694(0x1dd)](_0x532495,_0x281a54,_0x71bcab=!![],_0x288f42=0x2710){const _0x25e23a=_0x582694,_0x58db53={'OewsI':function(_0x47ee78,_0x37bb25){return _0x47ee78>_0x37bb25;},'PrArV':'发送超时','tWcdc':function(_0x4bfe4e){return _0x4bfe4e();},'PUhkI':function(_0x3f0a16,_0x325b3d){return _0x3f0a16===_0x325b3d;},'iGcQZ':function(_0x159e9f){return _0x159e9f();},'QaEpz':function(_0xc7646c,_0x3d5237,_0x450bef){return _0xc7646c(_0x3d5237,_0x450bef);}},_0x445a74=_0x532495[_0x25e23a(0x1e6)];let _0x4eefe6=0x0;const _0xbdbe4d=async()=>{const _0x1efa63=_0x25e23a;if(_0x58db53[_0x1efa63(0x1a7)](_0x4eefe6,_0x288f42))throw _0x58db53[_0x1efa63(0x1b2)];const _0x4603ff=sendMessagePool[_0x532495[_0x1efa63(0x1e6)]];if(_0x4603ff)return await sleep(0x1f4),_0x4eefe6+=0x1f4,await _0x58db53['tWcdc'](_0xbdbe4d);else return;};return await _0x58db53[_0x25e23a(0x1dc)](_0xbdbe4d),new Promise((_0x2f41d2,_0x399d0e)=>{const _0x5934ea=_0x25e23a;let _0x575ecd=![],_0x4b05af=null;const _0x39649c=_0x58db53['iGcQZ'](randomUUID);sendSuccessCBMap[_0x39649c]=_0x1ebfdf=>{const _0x250941=_0x2113;if(_0x58db53['PUhkI'](_0x1ebfdf[_0x250941(0x1be)],_0x4b05af?.[_0x250941(0x1be)])){if(_0x58db53['PUhkI'](_0x1ebfdf[_0x250941(0x1b9)],0x2))return delete sendSuccessCBMap[_0x39649c],_0x575ecd=!![],_0x2f41d2(_0x1ebfdf),!![];return![];}return![];},sendMessagePool[_0x445a74]=async _0x1c45bd=>{delete sendMessagePool[_0x445a74],_0x4b05af=_0x1c45bd;},_0x58db53[_0x5934ea(0x1ae)](setTimeout,()=>{if(_0x575ecd)return;delete sendMessagePool[_0x445a74],delete sendSuccessCBMap[_0x39649c],_0x399d0e('发送超时');},_0x288f42);const _0x2f219f=napCatCore[_0x5934ea(0x1bd)][_0x5934ea(0x1d2)]()[_0x5934ea(0x1dd)]('0',_0x532495,_0x281a54,new Map());});}static async[_0x582694(0x1b4)](_0x1b917b,_0x4ca5e8,_0x5d1fe8){const _0x4186f1=_0x582694;return napCatCore[_0x4186f1(0x1bd)][_0x4186f1(0x1d2)]()[_0x4186f1(0x1b4)](_0x5d1fe8,_0x1b917b,[_0x4ca5e8],new Map());}static async[_0x582694(0x1da)](_0x3b51a8,_0x455b79,_0x2b914a){const _0x42cb6f=_0x582694,_0x10eb75={'kwXgv':function(_0x3edc4c,_0x59ee35){return _0x3edc4c!=_0x59ee35;},'HSwSS':_0x42cb6f(0x1c8),'SQeBh':function(_0x4416f4,_0x1d57d5){return _0x4416f4==_0x1d57d5;},'lbbIy':function(_0x405d6d,_0x138dd1){return _0x405d6d==_0x138dd1;},'detHc':function(_0x16f90c,_0x3efd51){return _0x16f90c(_0x3efd51);},'Rkgqp':_0x42cb6f(0x1d5),'OoSAs':function(_0x2a9728){return _0x2a9728();},'yxDLP':function(_0x4342a5,_0x5b18a8,_0x149efb){return _0x4342a5(_0x5b18a8,_0x149efb);}},_0x542e4d=_0x2b914a[_0x42cb6f(0x1bc)](_0x56281a=>{const _0x458763=_0x42cb6f;return{'msgId':_0x56281a,'senderShowName':selfInfo[_0x458763(0x1d0)]};});return new Promise((_0x3f69b0,_0x4c29e4)=>{const _0x2e32f0=_0x42cb6f,_0x253311={'hcFaI':function(_0x29362b,_0x36cea4){return _0x10eb75['kwXgv'](_0x29362b,_0x36cea4);},'twcRD':_0x10eb75[_0x2e32f0(0x1e1)],'sDjrm':function(_0x5cb6cf,_0x571b79){const _0x3aa1a6=_0x2e32f0;return _0x10eb75[_0x3aa1a6(0x1a6)](_0x5cb6cf,_0x571b79);},'jCyxl':function(_0x2af4f4,_0x2b4ec2){return _0x10eb75['lbbIy'](_0x2af4f4,_0x2b4ec2);},'LkWgQ':function(_0x572a8f,_0x5c517e){return _0x10eb75['detHc'](_0x572a8f,_0x5c517e);},'gHMUx':function(_0x2fa3d4,_0x361507){return _0x10eb75['detHc'](_0x2fa3d4,_0x361507);},'ezWnO':_0x10eb75[_0x2e32f0(0x1aa)]};let _0x549ed0=![];const _0x106160=_0xe0eb20=>{const _0x35d195=_0x2e32f0,_0xd615c6=_0xe0eb20[_0x35d195(0x1b7)]['find'](_0x20e595=>_0x20e595[_0x35d195(0x1eb)]);if(!_0xd615c6)return;const _0x487ba1=JSON[_0x35d195(0x1a9)](_0xd615c6[_0x35d195(0x1eb)][_0x35d195(0x1c1)]);if(_0x253311[_0x35d195(0x1c5)](_0x487ba1[_0x35d195(0x1e0)],_0x253311[_0x35d195(0x1d6)]))return;_0x253311['sDjrm'](_0xe0eb20[_0x35d195(0x1e6)],_0x455b79[_0x35d195(0x1e6)])&&_0x253311[_0x35d195(0x1e3)](_0xe0eb20[_0x35d195(0x1db)],selfInfo[_0x35d195(0x1d4)])&&(_0x549ed0=!![],_0x253311['LkWgQ'](_0x3f69b0,_0xe0eb20));};sentMsgTasks[_0x2e32f0(0x1c4)](_0x10eb75[_0x2e32f0(0x1e5)](randomUUID),_0x106160),_0x10eb75[_0x2e32f0(0x1cd)](setTimeout,()=>{const _0x583f06=_0x2e32f0;!_0x549ed0&&_0x253311[_0x583f06(0x1ca)](_0x4c29e4,_0x253311['ezWnO']);},0x1388),napCatCore['session'][_0x2e32f0(0x1d2)]()['multiForwardMsgWithComment'](_0x542e4d,_0x3b51a8,_0x455b79,[],new Map());});}} \ No newline at end of file +const _0x51ba30=_0x1223;(function(_0x5dd03a,_0x2ac542){const _0x54ba30=_0x1223,_0x16ffd3=_0x5dd03a();while(!![]){try{const _0x288a94=parseInt(_0x54ba30(0x19e))/0x1*(-parseInt(_0x54ba30(0x187))/0x2)+parseInt(_0x54ba30(0x198))/0x3*(parseInt(_0x54ba30(0x188))/0x4)+parseInt(_0x54ba30(0x19a))/0x5+-parseInt(_0x54ba30(0x174))/0x6+-parseInt(_0x54ba30(0x1a0))/0x7*(parseInt(_0x54ba30(0x1b1))/0x8)+-parseInt(_0x54ba30(0x197))/0x9+parseInt(_0x54ba30(0x171))/0xa;if(_0x288a94===_0x2ac542)break;else _0x16ffd3['push'](_0x16ffd3['shift']());}catch(_0x2e5251){_0x16ffd3['push'](_0x16ffd3['shift']());}}}(_0x2ba0,0x8abd4));function _0x1223(_0x4f69da,_0x127b61){const _0x2ba080=_0x2ba0();return _0x1223=function(_0x1223cd,_0x104c41){_0x1223cd=_0x1223cd-0x16e;let _0x554acb=_0x2ba080[_0x1223cd];return _0x554acb;},_0x1223(_0x4f69da,_0x127b61);}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';function _0x2ba0(){const _0x3cfe81=['1091660UyqXqd','PZlKk','发送超时','senderUid','356008JrOvNQ','getGroupFileList','881881rnbRAk','VCAJS','getMultiMsg','chatType','getMsgService','elements','peerUid','cLmhx','item','activateChatAndGetHistory','delete','arkElement','kxhwU','ScWUG','OUiAY','app','imCuL','16LHTJKI','mPnGq','获取群文件列表超时','PYTRJ','recallMsg','activateChat','parse','forwardMsg','sendMsg','length','gTZMl','catch','23541450HCFBqG','LzHBX','multiForwardMsg','1757046twVYcB','qrJRr','RCkKY','onLoginSuccess','YiPEn','aqqvP','set','OTShG','bytesData','getRichMediaService','TOIBB','getMsgsBySeqAndCount','com.tencent.multimsg','setMsgRead','MaMXn','then','nick','HVPcc','XZOpz','6kUTRQz','140zHGhPq','hZRKv','getMsgsByMsgId','onAddSendMsg','getMsgsIncludeSelf','uid','fetchRecentContact','JjWpX','find','KEpoP','onMsgInfoListUpdate','session','forEach','msgId','转发消息超时','4121145omJeiB','5703eXQjLn','map'];_0x2ba0=function(){return _0x3cfe81;};return _0x2ba0();}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x1c1c38=>{const _0x4ae961=_0x1223,_0x4a8809={'qrJRr':function(_0x3b4e77,_0x162b5b){return _0x3b4e77(_0x162b5b);}};for(const [_0x40e240,_0x3fbdad]of GroupFileInfoUpdateTasks){_0x4a8809[_0x4ae961(0x175)](_0x3fbdad,_0x1c1c38),GroupFileInfoUpdateTasks[_0x4ae961(0x1aa)](_0x40e240);}},msgListener[_0x51ba30(0x18b)]=_0x295d23=>{const _0x15323a=_0x51ba30,_0x432c4e={'gTZMl':function(_0x78755f,_0x18729f){return _0x78755f(_0x18729f);}};for(const [_0x21f96e,_0x18de80]of sentMsgTasks){_0x432c4e[_0x15323a(0x16f)](_0x18de80,_0x295d23),sentMsgTasks[_0x15323a(0x1aa)](_0x21f96e);}if(sendMessagePool[_0x295d23[_0x15323a(0x1a6)]]){const _0x556744=sendMessagePool[_0x295d23[_0x15323a(0x1a6)]]?.(_0x295d23);_0x556744 instanceof Promise&&_0x556744[_0x15323a(0x183)]()[_0x15323a(0x170)](logError);}},msgListener[_0x51ba30(0x192)]=_0x265f18=>{const _0x1b42a1=_0x51ba30,_0x1a0845={'PZlKk':function(_0x43dad2,_0x2d2344){return _0x43dad2 instanceof _0x2d2344;}};_0x265f18[_0x1b42a1(0x194)](_0x4d394f=>{const _0x38ecb4=_0x1b42a1,_0x4b8905={'OTShG':function(_0x352b5c,_0x53bbb5){return _0x352b5c(_0x53bbb5);},'cLmhx':function(_0x49d66d,_0x4dce31){const _0x3d3231=_0x1223;return _0x1a0845[_0x3d3231(0x19b)](_0x49d66d,_0x4dce31);}};new Promise((_0x174033,_0x48a7d7)=>{const _0xbd1fd6=_0x1223;for(const _0x3a44fe in sendSuccessCBMap){const _0x22cf1a=sendSuccessCBMap[_0x3a44fe],_0x212ad9=_0x4b8905[_0xbd1fd6(0x17b)](_0x22cf1a,_0x4d394f),_0xbb10bc=_0xb59030=>{_0xb59030&&delete sendSuccessCBMap[_0x3a44fe];};_0x4b8905[_0xbd1fd6(0x1a7)](_0x212ad9,Promise)?_0x212ad9[_0xbd1fd6(0x183)](_0xbb10bc):_0x4b8905[_0xbd1fd6(0x17b)](_0xbb10bc,_0x212ad9);}})[_0x38ecb4(0x183)]()['catch'](log);});},setTimeout(()=>{const _0x25a39c=_0x51ba30;napCatCore[_0x25a39c(0x177)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x50db03,_0x40d08f,_0xd9bf2d,_0x2da56e=!![]){const _0x4ba1e2=_0x51ba30,_0x38c42b={'YiPEn':function(_0x53f299,_0x58392a){return _0x53f299>_0x58392a;}};return _0xd9bf2d=_0xd9bf2d['toString'](),napCatCore['session']['getMsgService']()['setMsgEmojiLikes'](_0x50db03,_0x40d08f,_0xd9bf2d,_0x38c42b[_0x4ba1e2(0x178)](_0xd9bf2d[_0x4ba1e2(0x16e)],0x3)?'2':'1',_0x2da56e);}static async[_0x51ba30(0x1a2)](_0x1ee64e,_0x34484e,_0x1dd693){const _0x56d7cc=_0x51ba30;return napCatCore[_0x56d7cc(0x193)][_0x56d7cc(0x1a4)]()[_0x56d7cc(0x1a2)](_0x1ee64e,_0x34484e,_0x1dd693);}static async[_0x51ba30(0x18a)](_0x24b36b,_0x1f378f){const _0x2a91bb=_0x51ba30;return await napCatCore['session'][_0x2a91bb(0x1a4)]()['getMsgsByMsgId'](_0x24b36b,_0x1f378f);}static async[_0x51ba30(0x17f)](_0x337592,_0x299e81,_0x5356c1,_0x4b4ed8,_0x384972){const _0x78f52=_0x51ba30;return await napCatCore[_0x78f52(0x193)][_0x78f52(0x1a4)]()[_0x78f52(0x17f)](_0x337592,_0x299e81,_0x5356c1,_0x4b4ed8,_0x384972);}static async[_0x51ba30(0x1b6)](_0x1b8ff1){}static async[_0x51ba30(0x1a9)](_0xbcfcbe){}static async[_0x51ba30(0x181)](_0x3b7304){const _0x55b6fe=_0x51ba30;return napCatCore[_0x55b6fe(0x193)][_0x55b6fe(0x1a4)]()[_0x55b6fe(0x181)](_0x3b7304);}static async[_0x51ba30(0x19f)](_0x4a6cef,_0x4bf3fb){const _0x58909d=_0x51ba30,_0x1cbd6f={'jnsdz':function(_0x291c67,_0x3ab6e3){return _0x291c67(_0x3ab6e3);},'ScWUG':_0x58909d(0x1b3),'hZRKv':function(_0x1427e1,_0xec0675){return _0x1427e1(_0xec0675);},'MaMXn':function(_0x677db1,_0x3f75c7,_0x5c00e7){return _0x677db1(_0x3f75c7,_0x5c00e7);}};return new Promise(async(_0x5cefd0,_0x9f8543)=>{const _0x40be52=_0x58909d;let _0x454582=![];_0x1cbd6f[_0x40be52(0x182)](setTimeout,()=>{const _0x42ccce=_0x40be52;!_0x454582&&_0x1cbd6f['jnsdz'](_0x9f8543,_0x1cbd6f[_0x42ccce(0x1ad)]);},0x1388);const _0x347ac4=_0x94f1df=>{const _0x487778=_0x40be52;_0x454582=!![],_0x1cbd6f[_0x487778(0x189)](_0x5cefd0,_0x94f1df[_0x487778(0x1a8)]);};GroupFileInfoUpdateTasks[_0x40be52(0x17a)](randomUUID(),_0x347ac4),await napCatCore[_0x40be52(0x193)][_0x40be52(0x17d)]()['getGroupFileList'](_0x4a6cef,_0x4bf3fb);});}static async['getMsgHistory'](_0x292a89,_0x14148a,_0x4a1708){const _0x312497=_0x51ba30;return napCatCore[_0x312497(0x193)][_0x312497(0x1a4)]()[_0x312497(0x18c)](_0x292a89,_0x14148a,_0x4a1708,!![]);}static async[_0x51ba30(0x18e)](){}static async[_0x51ba30(0x1b5)](_0x4d9073,_0x323a65){const _0x481229=_0x51ba30;await napCatCore['session']['getMsgService']()[_0x481229(0x1b5)]({'chatType':_0x4d9073[_0x481229(0x1a3)],'peerUid':_0x4d9073['peerUid']},_0x323a65);}static async[_0x51ba30(0x1b9)](_0x22f5a5,_0x14b5b8,_0x261175=!![],_0x5809ce=0x2710){const _0x3b0ed3=_0x51ba30,_0x59b884={'KEpoP':function(_0x4a0284,_0x470d13){return _0x4a0284>_0x470d13;},'OUiAY':function(_0x3ebe76,_0x173753){return _0x3ebe76(_0x173753);},'XZOpz':function(_0x1f77b4){return _0x1f77b4();},'PYTRJ':function(_0x5618a8,_0x516595){return _0x5618a8===_0x516595;},'XszFT':function(_0x428b34,_0x533b88){return _0x428b34(_0x533b88);},'kxhwU':_0x3b0ed3(0x19c),'KKrlM':function(_0x16582b,_0x23b168,_0x196c75){return _0x16582b(_0x23b168,_0x196c75);},'imCuL':function(_0x39d39b){return _0x39d39b();}},_0x39de64=_0x22f5a5['peerUid'];let _0x16455a=0x0;const _0x40a53e=async()=>{const _0x746f71=_0x3b0ed3;if(_0x59b884[_0x746f71(0x191)](_0x16455a,_0x5809ce))throw _0x746f71(0x19c);const _0x194307=sendMessagePool[_0x22f5a5[_0x746f71(0x1a6)]];if(_0x194307)return await _0x59b884[_0x746f71(0x1ae)](sleep,0x1f4),_0x16455a+=0x1f4,await _0x59b884[_0x746f71(0x186)](_0x40a53e);else return;};return await _0x59b884[_0x3b0ed3(0x1b0)](_0x40a53e),new Promise((_0x391553,_0x4af5b2)=>{const _0x4f7598=_0x3b0ed3;let _0x136694=![],_0xf621b3=null;const _0x2dc44c=randomUUID();sendSuccessCBMap[_0x2dc44c]=_0x54d885=>{const _0x53a063=_0x1223;if(_0x59b884['PYTRJ'](_0x54d885[_0x53a063(0x195)],_0xf621b3?.['msgId'])){if(_0x59b884[_0x53a063(0x1b4)](_0x54d885['sendStatus'],0x2))return delete sendSuccessCBMap[_0x2dc44c],_0x136694=!![],_0x59b884['XszFT'](_0x391553,_0x54d885),!![];return![];}return![];},sendMessagePool[_0x39de64]=async _0x1c055e=>{delete sendMessagePool[_0x39de64],_0xf621b3=_0x1c055e;},_0x59b884['KKrlM'](setTimeout,()=>{const _0x351286=_0x1223;if(_0x136694)return;delete sendMessagePool[_0x39de64],delete sendSuccessCBMap[_0x2dc44c],_0x59b884[_0x351286(0x1ae)](_0x4af5b2,_0x59b884[_0x351286(0x1ac)]);},_0x5809ce);const _0x402e5f=napCatCore[_0x4f7598(0x193)]['getMsgService']()[_0x4f7598(0x1b9)]('0',_0x22f5a5,_0x14b5b8,new Map());});}static async['forwardMsg'](_0x8017b7,_0x24596a,_0x2b9e00){const _0x34df2f=_0x51ba30;return napCatCore[_0x34df2f(0x193)]['getMsgService']()[_0x34df2f(0x1b8)](_0x2b9e00,_0x8017b7,[_0x24596a],new Map());}static async[_0x51ba30(0x173)](_0x518f98,_0x3fb919,_0x33cfeb){const _0x554036=_0x51ba30,_0x5c913={'aqqvP':function(_0x5d131e,_0x1adf88){return _0x5d131e(_0x1adf88);},'TOIBB':_0x554036(0x196),'RCkKY':function(_0x3505ff,_0x372092){return _0x3505ff!=_0x372092;},'VCAJS':_0x554036(0x180),'JjWpX':function(_0x166256,_0x4fab48){return _0x166256==_0x4fab48;},'yadwJ':function(_0x494296,_0x5e2378,_0x308854){return _0x494296(_0x5e2378,_0x308854);}},_0x3eb33b=_0x33cfeb[_0x554036(0x199)](_0x1b9198=>{const _0x180e4c=_0x554036;return{'msgId':_0x1b9198,'senderShowName':selfInfo[_0x180e4c(0x184)]};});return new Promise((_0x4bf8cc,_0x29c455)=>{const _0x1902c6=_0x554036,_0x1afb82={'mPnGq':function(_0xdbcf02,_0xc08d40){const _0x494b2f=_0x1223;return _0x5c913[_0x494b2f(0x176)](_0xdbcf02,_0xc08d40);},'HVPcc':_0x5c913[_0x1902c6(0x1a1)],'LzHBX':function(_0x12a368,_0x24e72a){const _0x283840=_0x1902c6;return _0x5c913[_0x283840(0x18f)](_0x12a368,_0x24e72a);}};let _0x11626d=![];const _0xff1b1a=_0x33ec35=>{const _0x42511d=_0x1902c6,_0x14ae66=_0x33ec35[_0x42511d(0x1a5)][_0x42511d(0x190)](_0x5db948=>_0x5db948[_0x42511d(0x1ab)]);if(!_0x14ae66)return;const _0x553e41=JSON[_0x42511d(0x1b7)](_0x14ae66[_0x42511d(0x1ab)][_0x42511d(0x17c)]);if(_0x1afb82[_0x42511d(0x1b2)](_0x553e41[_0x42511d(0x1af)],_0x1afb82[_0x42511d(0x185)]))return;_0x1afb82[_0x42511d(0x172)](_0x33ec35[_0x42511d(0x1a6)],_0x3fb919['peerUid'])&&_0x33ec35[_0x42511d(0x19d)]==selfInfo[_0x42511d(0x18d)]&&(_0x11626d=!![],_0x4bf8cc(_0x33ec35));};sentMsgTasks[_0x1902c6(0x17a)](randomUUID(),_0xff1b1a),_0x5c913['yadwJ'](setTimeout,()=>{const _0x443963=_0x1902c6;!_0x11626d&&_0x5c913[_0x443963(0x179)](_0x29c455,_0x5c913[_0x443963(0x17e)]);},0x1388),napCatCore[_0x1902c6(0x193)][_0x1902c6(0x1a4)]()['multiForwardMsgWithComment'](_0x3eb33b,_0x518f98,_0x3fb919,[],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 87be7f23..c9547dbd 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x4bda99,_0x35dcdf){const _0x1fe726=_0x4acc,_0x5be7cd=_0x4bda99();while(!![]){try{const _0x32547a=-parseInt(_0x1fe726(0x199))/0x1*(parseInt(_0x1fe726(0x1d3))/0x2)+parseInt(_0x1fe726(0x1b9))/0x3*(-parseInt(_0x1fe726(0x1a5))/0x4)+-parseInt(_0x1fe726(0x1c3))/0x5*(parseInt(_0x1fe726(0x1d4))/0x6)+parseInt(_0x1fe726(0x1ca))/0x7*(parseInt(_0x1fe726(0x196))/0x8)+parseInt(_0x1fe726(0x1ce))/0x9*(parseInt(_0x1fe726(0x194))/0xa)+-parseInt(_0x1fe726(0x1c2))/0xb+parseInt(_0x1fe726(0x19d))/0xc;if(_0x32547a===_0x35dcdf)break;else _0x5be7cd['push'](_0x5be7cd['shift']());}catch(_0x3a0755){_0x5be7cd['push'](_0x5be7cd['shift']());}}}(_0x1fc1,0xca94b));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x4acc(_0x359701,_0x49d2ca){const _0x1fc175=_0x1fc1();return _0x4acc=function(_0x4acc90,_0x2d69b6){_0x4acc90=_0x4acc90-0x181;let _0x55efcd=_0x1fc175[_0x4acc90];return _0x55efcd;},_0x4acc(_0x359701,_0x49d2ca);}import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0xd07c0c from'node:fs';export async function SignMiniApp(_0x1cb796){const _0x4701d0=_0x4acc,_0x8f9ce={'BLtQk':_0x4701d0(0x1c4),'wWgMT':_0x4701d0(0x1cb),'XTCRY':_0x4701d0(0x195),'XttqN':_0x4701d0(0x1c5),'JYwVP':function(_0x31ce35,_0x7a1efb){return _0x31ce35+_0x7a1efb;},'cxsUU':function(_0x2a2af4,_0x506c8a){return _0x2a2af4+_0x506c8a;},'oYQyf':function(_0x144250,_0x23e3c9){return _0x144250+_0x23e3c9;},'dKIdp':_0x4701d0(0x188),'lUSgR':_0x4701d0(0x1b0),'AKHKR':function(_0x252130,_0x39e1fc){return _0x252130+_0x39e1fc;},'IhwiP':function(_0x5b95e6,_0x1f5694){return _0x5b95e6+_0x1f5694;},'ricFf':_0x4701d0(0x1a4),'abhUJ':function(_0x1c71b8,_0x4f3943){return _0x1c71b8(_0x4f3943);},'wqgKi':_0x4701d0(0x1d2),'BINBN':function(_0x34dba1,_0x255029,_0x202db6){return _0x34dba1(_0x255029,_0x202db6);},'ukKMk':'MiniApp\x20JSON\x20消息生成失败'};let _0x585930={'app':_0x8f9ce[_0x4701d0(0x1aa)],'bizsrc':'tianxuan.imgJumpArk','view':_0x8f9ce['wWgMT'],'prompt':_0x1cb796[_0x4701d0(0x1a9)],'config':{'type':_0x8f9ce[_0x4701d0(0x1bf)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x1cb796[_0x4701d0(0x1a7)],'preview':_0x1cb796[_0x4701d0(0x1c7)][_0x4701d0(0x1cd)](/\\/g,_0x4701d0(0x1c5)),'jumpUrl':_0x1cb796[_0x4701d0(0x190)]['replace'](/\\/g,_0x8f9ce[_0x4701d0(0x1d5)]),'tag':_0x1cb796[_0x4701d0(0x181)],'tagIcon':_0x1cb796['tagIcon'][_0x4701d0(0x1cd)](/\\/g,_0x8f9ce[_0x4701d0(0x1d5)]),'source':_0x1cb796[_0x4701d0(0x1bb)],'sourcelogo':_0x1cb796['sourcelogo'][_0x4701d0(0x1cd)](/\\/g,_0x8f9ce['XttqN'])}}},_0x3b70bf=await NTQQUserApi['getQzoneCookies']();const _0x40a5c8=WebApi['genBkn'](_0x3b70bf['p_skey']),_0x3979fd=_0x8f9ce[_0x4701d0(0x1c0)](_0x8f9ce[_0x4701d0(0x1c0)](_0x8f9ce[_0x4701d0(0x1c0)](_0x8f9ce['JYwVP'](_0x8f9ce[_0x4701d0(0x1c0)](_0x8f9ce['cxsUU'](_0x8f9ce['oYQyf'](_0x4701d0(0x18d),_0x3b70bf[_0x4701d0(0x1d8)]),_0x8f9ce[_0x4701d0(0x1d1)]),_0x3b70bf[_0x4701d0(0x1ba)]),_0x8f9ce['lUSgR']),selfInfo['uin']),_0x4701d0(0x189)),selfInfo[_0x4701d0(0x1d7)]);let _0x40d230=_0x8f9ce[_0x4701d0(0x185)](_0x8f9ce[_0x4701d0(0x1c0)](_0x8f9ce['IhwiP'](_0x4701d0(0x1b8),_0x40a5c8),_0x8f9ce[_0x4701d0(0x18c)]),_0x8f9ce[_0x4701d0(0x183)](encodeURIComponent,JSON[_0x4701d0(0x1ab)](_0x585930))),_0x118610='';try{let _0x564241=await RequestUtil['HttpGetJson'](_0x40d230,_0x8f9ce[_0x4701d0(0x1af)],undefined,{'Cookie':_0x3979fd});_0x118610=_0x564241[_0x4701d0(0x18b)][_0x4701d0(0x1a8)];}catch(_0x28fbc1){_0x8f9ce[_0x4701d0(0x197)](logDebug,_0x8f9ce[_0x4701d0(0x1c6)],_0x28fbc1);}return _0x118610;}export async function SignMusicInternal(_0xf05a7f,_0x3aee90,_0x20461c,_0x379c64,_0x22132a){const _0x17c864=_0x4acc,_0x47337d={'CbTRl':_0x17c864(0x1d0),'BriQO':_0x17c864(0x1bd),'HdtBE':'normal','VHmQl':function(_0x3cc7d4,_0x3d445b){return _0x3cc7d4+_0x3d445b;},'LAjrs':_0x17c864(0x186),'oCxIo':_0x17c864(0x1b6),'DUYcp':_0x17c864(0x1bc),'FMjsB':_0x17c864(0x1b1),'JAyPV':_0x17c864(0x19b),'uigGa':_0x17c864(0x1ad),'qtwcC':_0x17c864(0x18e)};let _0x5b4a5e=_0x17c864(0x1a1),_0x53fd9f={'app':_0x47337d[_0x17c864(0x1a3)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x47337d[_0x17c864(0x19c)],'type':_0x47337d[_0x17c864(0x1b4)]},'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':_0x3aee90,'jumpUrl':_0x47337d['VHmQl'](_0x47337d['LAjrs'],_0x379c64)+_0x47337d['oCxIo'],'musicUrl':_0x22132a,'preview':_0x20461c,'cover':_0x20461c,'sourceMsgId':'0','source_icon':'https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','source_url':'','tag':_0x17c864(0x1c8),'title':_0xf05a7f,'uin':0x2766}},'prompt':_0x47337d[_0x17c864(0x192)](_0x47337d[_0x17c864(0x182)],_0xf05a7f),'ver':_0x47337d[_0x17c864(0x18f)],'view':_0x17c864(0x1ac)},_0x2fc6c8=await RequestUtil['HttpGetJson'](_0x5b4a5e,_0x47337d[_0x17c864(0x1a6)],_0x53fd9f,{'Cookie':_0x47337d[_0x17c864(0x1b3)],'Content-Type':_0x47337d[_0x17c864(0x184)]});return _0x2fc6c8;}export async function CreateMusicThridWay0(_0x58bc8='',_0x5d5bbe=''){const _0x4555f4=_0x4acc,_0x4552ce={'WALkG':function(_0x421b1e,_0x6d7c66){return _0x421b1e==_0x6d7c66;},'jOBET':function(_0x12b5d5,_0x53b368){return _0x12b5d5+_0x53b368;},'cQkhS':_0x4555f4(0x1c1),'iPtav':_0x4555f4(0x187),'OZZTV':_0x4555f4(0x1d2),'kEjJP':'https://api.leafone.cn/api/qqmusic?id=','yrDov':_0x4555f4(0x18a)};if(_0x4552ce['WALkG'](_0x5d5bbe,'')){let _0x517288=await RequestUtil[_0x4555f4(0x1a0)](_0x4552ce['jOBET'](_0x4552ce['cQkhS'],_0x58bc8)+_0x4552ce['iPtav'],_0x4552ce[_0x4555f4(0x1cf)],undefined);_0x5d5bbe=_0x517288[_0x4555f4(0x19f)]?.['data']?.[_0x4555f4(0x1b5)]['mid'];}let _0x23737f=await RequestUtil['HttpGetJson'](_0x4552ce['jOBET'](_0x4552ce['kEjJP']+_0x5d5bbe,_0x4552ce[_0x4555f4(0x1a2)]),_0x4555f4(0x1d2),undefined);return{..._0x23737f['data'],'mid':_0x5d5bbe};}function _0x1fc1(){const _0x5e7aec=['&type=0','singer','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','42285cyScdh','skey','source','[分享]','9a63343c32d5a16bcde653eb97faa25d','qoCBl','XTCRY','JYwVP','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:','237809XvqEIy','725UtApcK','com.tencent.miniapp.lua','\x5c/\x5c/','ukKMk','preview','QQ音乐','https://ws.stream.qqmusic.qq.com/','10255ouTMzI','miniapp','KMXok','replace','62541wXUyPy','OZZTV','com.tencent.qqreader.share','dKIdp','GET','22534AEPSTD','27762xOlqcf','XttqN','MazHy','uin','p_skey','tag','DUYcp','abhUJ','qtwcC','AKHKR','https://i.y.qq.com/v8/playsong.html?songmid=','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}',';\x20skey=',';\x20uin=o','&type=8','data','ricFf','p_skey=','application/json','FMjsB','jumpUrl','url','VHmQl','unlink','1350aIlWdC','normal','848tDvDKZ','BINBN','mid','83YzAOzZ','nqTJS','POST','BriQO','36158112exntNL','uploadImageForOpenPlatform','songinfo','HttpGetJson','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','yrDov','CbTRl','&ark=','468pDRmiO','JAyPV','title','signed_ark','prompt','BLtQk','stringify','music','uin=o10086','cover','wqgKi',';\x20p_uin=o','0.0.0.1','FslER','uigGa','HdtBE','track_info'];_0x1fc1=function(){return _0x5e7aec;};return _0x1fc1();}export async function CreateMusicThridWay1(_0x14928f='',_0x4e9dbd=''){}export async function SignMusicWrapper(_0x4f7376=''){const _0x3819b1=_0x4acc,_0x37ec2e={'qoCBl':function(_0x3af4d2,_0x120051){return _0x3af4d2(_0x120051);},'KMXok':function(_0x3d7871,_0x277fa0){return _0x3d7871||_0x277fa0;},'FslER':function(_0x509a9f,_0x1913ba,_0x11512e){return _0x509a9f(_0x1913ba,_0x11512e);},'MvFrl':function(_0x4bf434,_0x31aff7,_0xaad6d3,_0x4202fe,_0x5af4e9,_0x57ba91){return _0x4bf434(_0x31aff7,_0xaad6d3,_0x4202fe,_0x5af4e9,_0x57ba91);},'nqTJS':function(_0x140ae9,_0x4c1f5f){return _0x140ae9+_0x4c1f5f;},'MazHy':_0x3819b1(0x1c9)};let _0x3afc5d=await _0x37ec2e[_0x3819b1(0x1be)](CreateMusicThridWay0,_0x4f7376);const {path:_0x846d27,isLocal:_0x8e5e03,errMsg:_0x224e60}=await _0x37ec2e[_0x3819b1(0x1be)](uri2local,_0x3afc5d[_0x3819b1(0x1ae)]);if(_0x37ec2e[_0x3819b1(0x1cc)](_0x224e60,!_0x846d27))throw'卡片图片不正确';await _0x37ec2e[_0x3819b1(0x1b2)](checkFileReceived2,_0x846d27,0x1388);let _0x11e0b7=await RequestUtil[_0x3819b1(0x19e)](_0x846d27);!_0x8e5e03&&_0xd07c0c[_0x3819b1(0x193)](_0x846d27,()=>{});let _0x428ba7=await _0x37ec2e['MvFrl'](SignMusicInternal,_0x3afc5d['name'],_0x3afc5d[_0x3819b1(0x1b7)],_0x11e0b7,_0x3afc5d[_0x3819b1(0x198)],_0x37ec2e[_0x3819b1(0x19a)](_0x37ec2e[_0x3819b1(0x1d6)],_0x3afc5d[_0x3819b1(0x191)]));return _0x428ba7;} \ No newline at end of file +function _0x5858(){const _0x5c9753=[';\x20uin=o','qKMHB','QQ音乐','tagIcon','music','POST','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','preview','3115616YISjFC','LSKmu','YXVAe','[分享]','uin','cover','14nToAFj','&ark=','mid','UIPGn','normal','unlink','https://ws.stream.qqmusic.qq.com/','ZCDNQ','30TgMZOz','jumpUrl','SOkfL','jVpsW','uin=o10086','XHwxI','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:','62070yCCsSE','LRZTq','skey','p_skey','EFWqs','HOyev','iCdSm','HcQhi','https://api.leafone.cn/api/qqmusic?id=','\x5c/\x5c/','YRUoH','vWTaZ','LFgna','GaLXT','XMqHE','replace',';\x20skey=','IfYxc','0.0.0.1','CgwUZ','prZlZ','tianxuan.imgJumpArk','qdcWK','GXxqO','LnNyd','9082940EhONGX','etDKt','hZnaP','GET','track_info','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','stringify','tag','1890423Ulpzjh','signed_ark','jWKxg','data','19252qiSokl','2051944KKKZfC','npDDN','singer','sourcelogo','title','genBkn','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','HttpGetJson','fJmVl','mQBPs','url','getQzoneCookies','卡片图片不正确','Tsidt','kDknW','1155498MQPtdH','prompt','name','&type=0','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','https://i.y.qq.com/v8/playsong.html?songmid=','80pvyTjx','application/json'];_0x5858=function(){return _0x5c9753;};return _0x5858();}(function(_0x501736,_0x34ae0e){const _0x120f2d=_0x1b08,_0x6d7713=_0x501736();while(!![]){try{const _0x43f1cf=parseInt(_0x120f2d(0x1ff))/0x1*(parseInt(_0x120f2d(0x1e9))/0x2)+-parseInt(_0x120f2d(0x1f9))/0x3+-parseInt(_0x120f2d(0x209))/0x4+-parseInt(_0x120f2d(0x1c4))/0x5*(parseInt(_0x120f2d(0x1bd))/0x6)+parseInt(_0x120f2d(0x20f))/0x7*(parseInt(_0x120f2d(0x1ea))/0x8)+-parseInt(_0x120f2d(0x1e5))/0x9+parseInt(_0x120f2d(0x1dd))/0xa;if(_0x43f1cf===_0x34ae0e)break;else _0x6d7713['push'](_0x6d7713['shift']());}catch(_0x28ee45){_0x6d7713['push'](_0x6d7713['shift']());}}}(_0x5858,0xb85e5));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';function _0x1b08(_0x43c076,_0x5b21ab){const _0x58584f=_0x5858();return _0x1b08=function(_0x1b089e,_0x4ffe93){_0x1b089e=_0x1b089e-0x1ba;let _0xfd4338=_0x58584f[_0x1b089e];return _0xfd4338;},_0x1b08(_0x43c076,_0x5b21ab);}import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x2eeb6a from'node:fs';export async function SignMiniApp(_0x239a88){const _0x36622b=_0x1b08,_0x17bb45={'daWUB':'com.tencent.miniapp.lua','nIyGz':_0x36622b(0x1d9),'qdcWK':'miniapp','prZlZ':_0x36622b(0x1cd),'XHwxI':function(_0x5d6167,_0x4edf84){return _0x5d6167+_0x4edf84;},'GXxqO':function(_0x3e1034,_0x1d82a3){return _0x3e1034+_0x1d82a3;},'qKMHB':function(_0x4536dd,_0x2e61f3){return _0x4536dd+_0x2e61f3;},'UIPGn':function(_0x5a9db8,_0x49ac25){return _0x5a9db8+_0x49ac25;},'IfYxc':'p_skey=','jWKxg':_0x36622b(0x1d4),'YRUoH':function(_0x409535,_0x528f92){return _0x409535+_0x528f92;},'etDKt':function(_0x11b425,_0x13c87c){return _0x11b425+_0x13c87c;},'ZTuay':function(_0x53600a,_0x24aaa7){return _0x53600a+_0x24aaa7;},'XyMxK':_0x36622b(0x1fd),'HOyev':_0x36622b(0x210),'EFWqs':function(_0x5d14aa,_0x364110){return _0x5d14aa(_0x364110);},'CgwUZ':_0x36622b(0x1e0),'GaLXT':function(_0x397140,_0x5075ef,_0x4921e1){return _0x397140(_0x5075ef,_0x4921e1);}};let _0x14d40a={'app':_0x17bb45['daWUB'],'bizsrc':_0x17bb45['nIyGz'],'view':_0x17bb45[_0x36622b(0x1da)],'prompt':_0x239a88[_0x36622b(0x1fa)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x239a88[_0x36622b(0x1ee)],'preview':_0x239a88[_0x36622b(0x208)][_0x36622b(0x1d3)](/\\/g,_0x36622b(0x1cd)),'jumpUrl':_0x239a88[_0x36622b(0x1be)]['replace'](/\\/g,_0x17bb45[_0x36622b(0x1d8)]),'tag':_0x239a88[_0x36622b(0x1e4)],'tagIcon':_0x239a88[_0x36622b(0x204)]['replace'](/\\/g,_0x17bb45[_0x36622b(0x1d8)]),'source':_0x239a88['source'],'sourcelogo':_0x239a88[_0x36622b(0x1ed)][_0x36622b(0x1d3)](/\\/g,_0x17bb45['prZlZ'])}}},_0xe4e874=await NTQQUserApi[_0x36622b(0x1f5)]();const _0x353612=WebApi[_0x36622b(0x1ef)](_0xe4e874['p_skey']),_0x58bb36=_0x17bb45[_0x36622b(0x1c2)](_0x17bb45['XHwxI'](_0x17bb45[_0x36622b(0x1db)](_0x17bb45[_0x36622b(0x202)](_0x17bb45[_0x36622b(0x212)](_0x17bb45[_0x36622b(0x1c2)](_0x17bb45[_0x36622b(0x1d5)],_0xe4e874[_0x36622b(0x1c7)]),_0x17bb45[_0x36622b(0x1e7)]),_0xe4e874[_0x36622b(0x1c6)])+';\x20p_uin=o',selfInfo[_0x36622b(0x20d)]),_0x36622b(0x201)),selfInfo['uin']);let _0x4c542f=_0x17bb45[_0x36622b(0x1ce)](_0x17bb45[_0x36622b(0x1de)](_0x17bb45['ZTuay'](_0x17bb45['XyMxK'],_0x353612),_0x17bb45[_0x36622b(0x1c9)]),_0x17bb45[_0x36622b(0x1c8)](encodeURIComponent,JSON[_0x36622b(0x1e3)](_0x14d40a))),_0x468b29='';try{let _0x87406c=await RequestUtil[_0x36622b(0x1f1)](_0x4c542f,_0x17bb45[_0x36622b(0x1d7)],undefined,{'Cookie':_0x58bb36});_0x468b29=_0x87406c['data'][_0x36622b(0x1e6)];}catch(_0x2a52dd){_0x17bb45[_0x36622b(0x1d1)](logDebug,'MiniApp\x20JSON\x20消息生成失败',_0x2a52dd);}return _0x468b29;}export async function SignMusicInternal(_0x103430,_0x6245,_0x2666dd,_0x49fdb3,_0xbc00b3){const _0x5c3ed2=_0x1b08,_0x3e39f8={'npDDN':_0x5c3ed2(0x1e2),'LnNyd':'com.tencent.qqreader.share','LFgna':'9a63343c32d5a16bcde653eb97faa25d','fDwbN':_0x5c3ed2(0x213),'mQBPs':function(_0x168820,_0x504ed6){return _0x168820+_0x504ed6;},'LRZTq':_0x5c3ed2(0x207),'XDunl':_0x5c3ed2(0x203),'LSKmu':function(_0x168dfe,_0x53ac29){return _0x168dfe+_0x53ac29;},'fJmVl':_0x5c3ed2(0x20c),'Tsidt':_0x5c3ed2(0x1d6),'vWTaZ':_0x5c3ed2(0x205),'UXXPb':_0x5c3ed2(0x206),'hZnaP':_0x5c3ed2(0x1c1),'kDknW':_0x5c3ed2(0x200)};let _0x51574e=_0x3e39f8[_0x5c3ed2(0x1eb)],_0x44b45f={'app':_0x3e39f8[_0x5c3ed2(0x1dc)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x3e39f8[_0x5c3ed2(0x1d0)],'type':_0x3e39f8['fDwbN']},'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':_0x6245,'jumpUrl':_0x3e39f8[_0x5c3ed2(0x1f3)](_0x3e39f8[_0x5c3ed2(0x1f3)](_0x5c3ed2(0x1fe),_0x49fdb3),_0x5c3ed2(0x1fc)),'musicUrl':_0xbc00b3,'preview':_0x2666dd,'cover':_0x2666dd,'sourceMsgId':'0','source_icon':_0x3e39f8[_0x5c3ed2(0x1c5)],'source_url':'','tag':_0x3e39f8['XDunl'],'title':_0x103430,'uin':0x2766}},'prompt':_0x3e39f8[_0x5c3ed2(0x20a)](_0x3e39f8[_0x5c3ed2(0x1f2)],_0x103430),'ver':_0x3e39f8[_0x5c3ed2(0x1f7)],'view':_0x3e39f8[_0x5c3ed2(0x1cf)]},_0x18b559=await RequestUtil['HttpGetJson'](_0x51574e,_0x3e39f8['UXXPb'],_0x44b45f,{'Cookie':_0x3e39f8[_0x5c3ed2(0x1df)],'Content-Type':_0x3e39f8[_0x5c3ed2(0x1f8)]});return _0x18b559;}export async function CreateMusicThridWay0(_0x308fa7='',_0x5dc7b7=''){const _0x378617=_0x1b08,_0x542ca7={'SOkfL':function(_0x5156b3,_0x10b3fd){return _0x5156b3==_0x10b3fd;},'YXVAe':function(_0x124263,_0x470d31){return _0x124263+_0x470d31;},'jVpsW':_0x378617(0x1c3),'iCdSm':'GET','ZCDNQ':function(_0xaf50a0,_0x1eff97){return _0xaf50a0+_0x1eff97;},'XMqHE':_0x378617(0x1cc),'VHNGD':'&type=8'};if(_0x542ca7[_0x378617(0x1bf)](_0x5dc7b7,'')){let _0x5846a8=await RequestUtil[_0x378617(0x1f1)](_0x542ca7[_0x378617(0x20b)](_0x542ca7['YXVAe'](_0x542ca7[_0x378617(0x1c0)],_0x308fa7),_0x378617(0x1f0)),_0x542ca7[_0x378617(0x1ca)],undefined);_0x5dc7b7=_0x5846a8['songinfo']?.[_0x378617(0x1e8)]?.[_0x378617(0x1e1)][_0x378617(0x211)];}let _0x33dbb7=await RequestUtil[_0x378617(0x1f1)](_0x542ca7[_0x378617(0x20b)](_0x542ca7[_0x378617(0x1bc)](_0x542ca7[_0x378617(0x1d2)],_0x5dc7b7),_0x542ca7['VHNGD']),_0x378617(0x1e0),undefined);return{..._0x33dbb7[_0x378617(0x1e8)],'mid':_0x5dc7b7};}export async function CreateMusicThridWay1(_0x5b3873='',_0x5ce79c=''){}export async function SignMusicWrapper(_0x290457=''){const _0x2c5e27=_0x1b08,_0x3e6489={'HcQhi':function(_0x416bd4,_0x254933){return _0x416bd4(_0x254933);},'vGZTK':function(_0x1b2bd5,_0x58cd29,_0x2364fa){return _0x1b2bd5(_0x58cd29,_0x2364fa);},'vvuSB':_0x2c5e27(0x1bb)};let _0x50e8ea=await _0x3e6489[_0x2c5e27(0x1cb)](CreateMusicThridWay0,_0x290457);const {path:_0x367e08,isLocal:_0x28b3c7,errMsg:_0x22ec63}=await uri2local(_0x50e8ea[_0x2c5e27(0x20e)]);if(_0x22ec63||!_0x367e08)throw _0x2c5e27(0x1f6);await _0x3e6489['vGZTK'](checkFileReceived2,_0x367e08,0x1388);let _0x58526b=await RequestUtil['uploadImageForOpenPlatform'](_0x367e08);!_0x28b3c7&&_0x2eeb6a[_0x2c5e27(0x1ba)](_0x367e08,()=>{});let _0x555ac7=await SignMusicInternal(_0x50e8ea[_0x2c5e27(0x1fb)],_0x50e8ea[_0x2c5e27(0x1ec)],_0x58526b,_0x50e8ea[_0x2c5e27(0x211)],_0x3e6489['vvuSB']+_0x50e8ea[_0x2c5e27(0x1f4)]);return _0x555ac7;} \ 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 28b98caf..9386f788 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x422b(_0x412680,_0x3b59c0){const _0x4575d2=_0x4575();return _0x422b=function(_0x422bff,_0x41abe9){_0x422bff=_0x422bff-0x1d9;let _0x54e8b1=_0x4575d2[_0x422bff];return _0x54e8b1;},_0x422b(_0x412680,_0x3b59c0);}const _0x165f81=_0x422b;(function(_0x245bc9,_0xe23df6){const _0x2c5ce5=_0x422b,_0x2780f8=_0x245bc9();while(!![]){try{const _0x43bd14=-parseInt(_0x2c5ce5(0x1ec))/0x1*(-parseInt(_0x2c5ce5(0x1e5))/0x2)+-parseInt(_0x2c5ce5(0x1e7))/0x3*(parseInt(_0x2c5ce5(0x1ee))/0x4)+parseInt(_0x2c5ce5(0x1ea))/0x5+parseInt(_0x2c5ce5(0x1e2))/0x6+parseInt(_0x2c5ce5(0x1df))/0x7*(-parseInt(_0x2c5ce5(0x1de))/0x8)+-parseInt(_0x2c5ce5(0x1f2))/0x9+parseInt(_0x2c5ce5(0x1e3))/0xa;if(_0x43bd14===_0xe23df6)break;else _0x2780f8['push'](_0x2780f8['shift']());}catch(_0x56593b){_0x2780f8['push'](_0x2780f8['shift']());}}}(_0x4575,0x4ba9b));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x4575(){const _0x38159e=['NodeIKernelCollectionService/collectionArkShare','1717662698058','RaFBD','log','startNewMiniApp','getNodeMiscService','416kNrMAi','4116dEYUmd','translateEnWordToZn','session','2730552RdePWp','1679380SKAnqK','wantWinScreenOCR','151464nvgbhf','getOnLineDev','127914iFbOMG','CallNoListenerEvent','util','2170105FduVxR','ORCImage','1kkYAit','getArkJsonCollection','52xaiETI','hasOtherRunningQQProcess','BootMiniApp','getMiniAppPath','2141982ypOjTW'];_0x4575=function(){return _0x38159e;};return _0x4575();}export class NTQQSystemApi{static async[_0x165f81(0x1ef)](){const _0x10ad6b=_0x165f81;return napCatCore[_0x10ad6b(0x1e9)][_0x10ad6b(0x1ef)]();}static async[_0x165f81(0x1eb)](_0x4287fb){const _0x2f9344=_0x165f81;return napCatCore['session'][_0x2f9344(0x1dd)]()[_0x2f9344(0x1e4)](_0x4287fb);}static async[_0x165f81(0x1e0)](_0x3f044d){const _0x5a5bae=_0x165f81;return napCatCore[_0x5a5bae(0x1e1)]['getRichMediaService']()[_0x5a5bae(0x1e0)](_0x3f044d);}static async['getOnlineDev'](){const _0x5a414b=_0x165f81;return napCatCore[_0x5a414b(0x1e1)]['getMsgService']()[_0x5a414b(0x1e6)]();}static async[_0x165f81(0x1ed)](_0x572e1a){const _0x46b250=_0x165f81;let _0xfcfb6a=await NTEventDispatch[_0x46b250(0x1e8)](_0x46b250(0x1f3),0x1388,_0x46b250(0x1d9));return _0xfcfb6a;}static async[_0x165f81(0x1f0)](_0x47f058,_0xfbaeb4){const _0x4e8618=_0x165f81,_0x280b9e={'RaFBD':'2.16.4'};await napCatCore[_0x4e8618(0x1e1)][_0x4e8618(0x1dd)]()['setMiniAppVersion'](_0x280b9e[_0x4e8618(0x1da)]);let _0x409f18=await napCatCore[_0x4e8618(0x1e1)]['getNodeMiscService']()[_0x4e8618(0x1f1)]();return console[_0x4e8618(0x1db)](_0x409f18),napCatCore['session'][_0x4e8618(0x1dd)]()[_0x4e8618(0x1dc)](_0x47f058,_0xfbaeb4);}} \ No newline at end of file +const _0x5eca12=_0x1059;(function(_0x2b8a02,_0x288e76){const _0x57f720=_0x1059,_0x4dfaf3=_0x2b8a02();while(!![]){try{const _0x13a3e7=-parseInt(_0x57f720(0xfb))/0x1+-parseInt(_0x57f720(0x10a))/0x2*(parseInt(_0x57f720(0xf6))/0x3)+-parseInt(_0x57f720(0x10d))/0x4*(parseInt(_0x57f720(0xf8))/0x5)+parseInt(_0x57f720(0x111))/0x6*(-parseInt(_0x57f720(0x101))/0x7)+-parseInt(_0x57f720(0x106))/0x8*(parseInt(_0x57f720(0x108))/0x9)+-parseInt(_0x57f720(0x10f))/0xa*(parseInt(_0x57f720(0x103))/0xb)+-parseInt(_0x57f720(0x100))/0xc*(-parseInt(_0x57f720(0x104))/0xd);if(_0x13a3e7===_0x288e76)break;else _0x4dfaf3['push'](_0x4dfaf3['shift']());}catch(_0x37b7d9){_0x4dfaf3['push'](_0x4dfaf3['shift']());}}}(_0x5793,0x4ff48));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5793(){const _0x510d2e=['getMiniAppPath','700jLFGsW','getOnLineDev','108678Xlsjeo','CallNoListenerEvent','1904226oCLrhv','getArkJsonCollection','55325vuLGEv','setMiniAppVersion','util','175357BPCDJu','1717662698058','hasOtherRunningQQProcess','log','startNewMiniApp','27934548mIfnkv','203jNeoUu','getOnlineDev','14069ssqnmX','13msYYXf','NodeIKernelCollectionService/collectionArkShare','3010456ZRUlwv','getNodeMiscService','9qwmGZG','session','2suAIMr','BootMiniApp','wantWinScreenOCR','72LuJHBT'];_0x5793=function(){return _0x510d2e;};return _0x5793();}import{napCatCore}from'@/core';function _0x1059(_0x5c1161,_0x2c04d6){const _0x5793b8=_0x5793();return _0x1059=function(_0x1059ba,_0x2962b1){_0x1059ba=_0x1059ba-0xf5;let _0x4cbb10=_0x5793b8[_0x1059ba];return _0x4cbb10;},_0x1059(_0x5c1161,_0x2c04d6);}export class NTQQSystemApi{static async[_0x5eca12(0xfd)](){const _0x4a8794=_0x5eca12;return napCatCore[_0x4a8794(0xfa)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x23a02a){const _0x339ede=_0x5eca12;return napCatCore[_0x339ede(0x109)]['getNodeMiscService']()[_0x339ede(0x10c)](_0x23a02a);}static async['translateEnWordToZn'](_0x458c88){return napCatCore['session']['getRichMediaService']()['translateEnWordToZn'](_0x458c88);}static async[_0x5eca12(0x102)](){const _0x29dca9=_0x5eca12;return napCatCore[_0x29dca9(0x109)]['getMsgService']()[_0x29dca9(0x110)]();}static async[_0x5eca12(0xf7)](_0x5264d5){const _0x1cd051=_0x5eca12,_0x8d17c7={'FAbMU':_0x1cd051(0x105),'LJeOY':_0x1cd051(0xfc)};let _0x5e4d02=await NTEventDispatch[_0x1cd051(0xf5)](_0x8d17c7['FAbMU'],0x1388,_0x8d17c7['LJeOY']);return _0x5e4d02;}static async[_0x5eca12(0x10b)](_0x4c1f7e,_0x5ad6f8){const _0x49c1d6=_0x5eca12,_0xb24a2d={'PNLmI':'2.16.4'};await napCatCore[_0x49c1d6(0x109)][_0x49c1d6(0x107)]()[_0x49c1d6(0xf9)](_0xb24a2d['PNLmI']);let _0x2e21c1=await napCatCore['session'][_0x49c1d6(0x107)]()[_0x49c1d6(0x10e)]();return console[_0x49c1d6(0xfe)](_0x2e21c1),napCatCore[_0x49c1d6(0x109)][_0x49c1d6(0x107)]()[_0x49c1d6(0xff)](_0x4c1f7e,_0x5ad6f8);}} \ 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 dfc9eab6..32737c15 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x3e5148=_0x2501;(function(_0x3a398e,_0x5b44ea){const _0x4cc6d9=_0x2501,_0x1091b9=_0x3a398e();while(!![]){try{const _0x473e97=-parseInt(_0x4cc6d9(0xe0))/0x1+parseInt(_0x4cc6d9(0xb2))/0x2+parseInt(_0x4cc6d9(0xa4))/0x3*(-parseInt(_0x4cc6d9(0x8b))/0x4)+parseInt(_0x4cc6d9(0xb4))/0x5+-parseInt(_0x4cc6d9(0x9c))/0x6+parseInt(_0x4cc6d9(0xbe))/0x7*(parseInt(_0x4cc6d9(0xa1))/0x8)+-parseInt(_0x4cc6d9(0xc8))/0x9;if(_0x473e97===_0x5b44ea)break;else _0x1091b9['push'](_0x1091b9['shift']());}catch(_0x6fe16e){_0x1091b9['push'](_0x1091b9['shift']());}}}(_0x2c23,0x411ac));var __decorate=this&&this[_0x3e5148(0xb9)]||function(_0x3657b2,_0x5164b9,_0x404ea8,_0x4d3771){const _0x56ff54=_0x3e5148,_0x489cc5={'KKXYp':function(_0x2fa056,_0x47af0c){return _0x2fa056<_0x47af0c;},'GWkZw':function(_0x1c6a7a,_0x214ec6){return _0x1c6a7a===_0x214ec6;},'nBYCL':_0x56ff54(0xb1),'pSTeo':_0x56ff54(0xd1),'rnCNL':function(_0x1193e8,_0x3c1d69){return _0x1193e8-_0x3c1d69;},'UrqIY':function(_0x5267d4,_0x572b0d){return _0x5267d4>=_0x572b0d;},'KwraP':function(_0x3e1778,_0x46ab93){return _0x3e1778(_0x46ab93);},'eegMr':function(_0x4bf66a,_0x182ed1){return _0x4bf66a>_0x182ed1;},'QeLxZ':function(_0x16086a,_0x5b0cc0,_0x55b4ff,_0x15d747){return _0x16086a(_0x5b0cc0,_0x55b4ff,_0x15d747);},'FNUfo':function(_0x130bf1,_0x27a657,_0xfe692a){return _0x130bf1(_0x27a657,_0xfe692a);}};var _0xa2ac0e=arguments['length'],_0x32256c=_0x489cc5[_0x56ff54(0x8e)](_0xa2ac0e,0x3)?_0x5164b9:_0x489cc5[_0x56ff54(0xcc)](_0x4d3771,null)?_0x4d3771=Object['getOwnPropertyDescriptor'](_0x5164b9,_0x404ea8):_0x4d3771,_0x10952d;if(_0x489cc5[_0x56ff54(0xcc)](typeof Reflect,_0x489cc5[_0x56ff54(0xaf)])&&_0x489cc5[_0x56ff54(0xcc)](typeof Reflect[_0x56ff54(0x90)],_0x489cc5[_0x56ff54(0xcd)]))_0x32256c=Reflect[_0x56ff54(0x90)](_0x3657b2,_0x5164b9,_0x404ea8,_0x4d3771);else{for(var _0x576404=_0x489cc5[_0x56ff54(0xcf)](_0x3657b2['length'],0x1);_0x489cc5['UrqIY'](_0x576404,0x0);_0x576404--)if(_0x10952d=_0x3657b2[_0x576404])_0x32256c=(_0xa2ac0e<0x3?_0x489cc5['KwraP'](_0x10952d,_0x32256c):_0x489cc5[_0x56ff54(0xac)](_0xa2ac0e,0x3)?_0x489cc5[_0x56ff54(0xe7)](_0x10952d,_0x5164b9,_0x404ea8,_0x32256c):_0x489cc5[_0x56ff54(0xce)](_0x10952d,_0x5164b9,_0x404ea8))||_0x32256c;}return _0xa2ac0e>0x3&&_0x32256c&&Object['defineProperty'](_0x5164b9,_0x404ea8,_0x32256c),_0x32256c;};import{selfInfo}from'@/core/data';function _0x2c23(){const _0x130f65=['setStatus','yoSCG','HPKUz','robotUinRanges','nEuHY','Ywuxz','cnbGW','uin','keyIndex','112501iOaWRH','skey','getUserDetailInfo','uinInfo','rftDj','AkBIh','session','QeLxZ','getBuddyService','setHeader','modifySelfProfile','setBuddyProfileLike','forEach','xCJVW','set','getSelfInfo','rEExO','904516nTtjpi','clientKey','请求获取Skey时失败','KKXYp','getSkey','decorate','result','%2F','getUidByUin','uabpj','getUserInfo','getCookies','lQrvD','&clientkey=','like','APDrI','BTdPk','582900tXlVSl','WVyWg','getProfileLikeService','CallNoListenerEvent','KZPZl','3876288ionEOS','setLongNick','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','3wlydUZ','getUinByUid','HttpsGetCookies','getProfileService','onLoginSuccess','onProfileDetailInfoChanged','getQzoneCookies','IRzpu','eegMr','setQQAvatar','getUserDetailInfo\x20timeout','nBYCL','getPSkey','object','743434zHUsmo','PQEFM','2571545LgqSsC','getUserDetailInfoWithBizInfo','FmPRr','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','getBuddyRecommendContactArkJson','__decorate','MnKDH','getTicketService','%2Finfocenter&keyindex=19%27','addListener','7ZAtEFA','SQRhI','GMuaX','UwjvJ','rhXQt','opTIQ','NodeIKernelProfileService/getUserDetailInfoByUin','getRobotUinRange','mvejo','forceFetchClientKey','6013026adHgOh','&u1=https%3A%2F%2F','then','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','GWkZw','pSTeo','FNUfo','rnCNL','setSelfOnlineStatus','function','getMsgService','oPwkT','citUe','getPskey','ZsMxp'];_0x2c23=function(){return _0x130f65;};return _0x2c23();}function _0x2501(_0x2eddc0,_0x2cde3b){const _0x2c230e=_0x2c23();return _0x2501=function(_0x2501a1,_0x119cbe){_0x2501a1=_0x2501a1-0x8a;let _0x6122ff=_0x2c230e[_0x2501a1];return _0x6122ff;},_0x2501(_0x2eddc0,_0x2cde3b);}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';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x3e5148(0xa9)]=_0x404a9b=>{const _0x1e3ed6=_0x3e5148;userInfoCache[_0x404a9b['uid']]=_0x404a9b,userDetailHandlers[_0x1e3ed6(0xec)](_0x9ed5cf=>_0x9ed5cf(_0x404a9b));},setTimeout(()=>{const _0x3edf51=_0x3e5148;napCatCore[_0x3edf51(0xa8)](()=>{const _0x34dd82=_0x3edf51;napCatCore[_0x34dd82(0xbd)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3e5148(0xa2)](_0x433411){const _0x24eced=_0x3e5148;return napCatCore[_0x24eced(0xe6)][_0x24eced(0xa7)]()['setLongNick'](_0x433411);}static async[_0x3e5148(0xd0)](_0x241d2f,_0x4ab4b1,_0x4344c9){const _0x4448b8=_0x3e5148;return napCatCore['session'][_0x4448b8(0xd2)]()[_0x4448b8(0xd7)]({'status':_0x241d2f,'extStatus':_0x4ab4b1,'batteryStatus':_0x4344c9});}static async[_0x3e5148(0xb8)](_0x425969,_0x47f386=''){const _0x5310dd=_0x3e5148;return napCatCore[_0x5310dd(0xe6)][_0x5310dd(0xe8)]()['getBuddyRecommendContactArkJson'](_0x425969,_0x47f386);}static async[_0x3e5148(0x99)](_0x2c5b88,_0x22f9b7=0x1){const _0x3c3300=_0x3e5148;return napCatCore[_0x3c3300(0xe6)][_0x3c3300(0x9e)]()[_0x3c3300(0xeb)]({'friendUid':_0x2c5b88,'sourceId':0x47,'doLikeCount':_0x22f9b7,'doLikeTollCount':0x0});}static async[_0x3e5148(0xad)](_0x359b31){const _0x55ca7b=_0x3e5148,_0x3a658e=await napCatCore[_0x55ca7b(0xe6)]['getProfileService']()[_0x55ca7b(0xe9)](_0x359b31);return{'result':_0x3a658e?.[_0x55ca7b(0x91)],'errMsg':_0x3a658e?.['errMsg']};}static async[_0x3e5148(0xef)](){}static async[_0x3e5148(0x95)](_0x535500){}static async[_0x3e5148(0xe2)](_0x491ea3){const _0x44faaa=_0x3e5148,_0x29b80e={'mvejo':function(_0x55bb07,_0x541898){return _0x55bb07(_0x541898);},'rhXQt':function(_0x2f86ca){return _0x2f86ca();},'nEuHY':function(_0x5369e5,_0x296818,_0x53905f){return _0x5369e5(_0x296818,_0x53905f);}},_0x368664=napCatCore['session'][_0x44faaa(0xa7)]();return new Promise((_0x47efb6,_0x5b20a6)=>{const _0x2fb2d1=_0x44faaa,_0x308bcb={'cnbGW':function(_0x26ea23,_0x478845){return _0x29b80e['mvejo'](_0x26ea23,_0x478845);},'IRzpu':function(_0x4105fa,_0x6e74b4){const _0x5591ca=_0x2501;return _0x29b80e[_0x5591ca(0xc6)](_0x4105fa,_0x6e74b4);}},_0x53c5d7=_0x29b80e[_0x2fb2d1(0xc2)](randomUUID);let _0x1d33de=![],_0x130f5a=undefined,_0x4e843d=!![];_0x29b80e[_0x2fb2d1(0xdb)](setTimeout,()=>{const _0x3a8632=_0x2fb2d1;!_0x1d33de&&(_0x130f5a?_0x308bcb[_0x3a8632(0xdd)](_0x47efb6,_0x130f5a):_0x308bcb[_0x3a8632(0xab)](_0x5b20a6,_0x3a8632(0xae))),userDetailHandlers['delete'](_0x53c5d7);},0x1388),userDetailHandlers[_0x2fb2d1(0xee)](_0x53c5d7,_0x524f9d=>{_0x524f9d['uid']===_0x491ea3&&(_0x4e843d?(_0x130f5a=_0x524f9d,_0x4e843d=![]):(_0x1d33de=!![],_0x47efb6(_0x524f9d)));}),_0x368664[_0x2fb2d1(0xb5)](_0x491ea3,[0x0])[_0x2fb2d1(0xca)](_0x57c752=>{});});}static async[_0x3e5148(0xea)](_0x4941eb){const _0x103112=_0x3e5148;return napCatCore[_0x103112(0xe6)][_0x103112(0xa7)]()['modifyDesktopMiniProfile'](_0x4941eb);}static async['getCookies'](_0x38e105){const _0x406938=_0x3e5148,_0x20f1c7={'BTdPk':function(_0x2035fa,_0x42e861){return _0x2035fa+_0x42e861;},'AkBIh':function(_0x4290a6,_0x19a99a){return _0x4290a6+_0x19a99a;},'FmPRr':function(_0x3cc164,_0xa0ab26){return _0x3cc164+_0xa0ab26;},'RyXWK':_0x406938(0xa3),'GMuaX':_0x406938(0x98),'HPKUz':_0x406938(0x92),'rEExO':function(_0x1f7352,_0x3efc4a,_0x559f73){return _0x1f7352(_0x3efc4a,_0x559f73);},'xCJVW':'请求获取Cookies时失败'},_0x1df562=await NTQQUserApi[_0x406938(0xc7)](),_0x37b9a6=_0x20f1c7[_0x406938(0x9b)](_0x20f1c7[_0x406938(0xe5)](_0x20f1c7[_0x406938(0xe5)](_0x20f1c7[_0x406938(0xe5)](_0x20f1c7[_0x406938(0xb6)](_0x20f1c7['RyXWK']+selfInfo[_0x406938(0xde)],_0x20f1c7[_0x406938(0xc0)]),_0x1df562['clientKey']),_0x406938(0xc9))+_0x38e105+_0x20f1c7[_0x406938(0xd9)],selfInfo[_0x406938(0xde)]),_0x406938(0xbc));let _0x5ecd4b={};try{_0x5ecd4b=await RequestUtil[_0x406938(0xa6)](_0x37b9a6);}catch(_0x44fff0){_0x20f1c7[_0x406938(0x8a)](logDebug,_0x20f1c7[_0x406938(0xed)],_0x44fff0),_0x5ecd4b={};}return _0x5ecd4b;}static async['getPSkey'](_0x16bf14){const _0x57b34e=_0x3e5148;return await napCatCore[_0x57b34e(0xe6)]['getTipOffService']()[_0x57b34e(0xd5)](_0x16bf14,!![]);}static async[_0x3e5148(0xc5)](){const _0x2e9297=_0x3e5148,_0x56b52a=await napCatCore[_0x2e9297(0xe6)]['getRobotService']()[_0x2e9297(0xc5)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x56b52a?.['response']?.[_0x2e9297(0xda)];}static async[_0x3e5148(0xaa)](){const _0x227f0f=_0x3e5148,_0x38db90={'opTIQ':function(_0xf7a46d,_0x44b6d5){return _0xf7a46d+_0x44b6d5;},'oPwkT':function(_0x423936,_0x2a1ae3){return _0x423936+_0x2a1ae3;},'SQRhI':function(_0x4158cf,_0x1b1a4a){return _0x4158cf+_0x1b1a4a;},'lQrvD':function(_0x5b06d7,_0xb5a0d0){return _0x5b06d7+_0xb5a0d0;},'ZsMxp':_0x227f0f(0xa3),'LGEdr':_0x227f0f(0x98),'yoSCG':_0x227f0f(0xbc),'WVyWg':function(_0x1f1d9e,_0x4be497,_0x55347b){return _0x1f1d9e(_0x4be497,_0x55347b);},'PQEFM':'请求获取Cookies时失败'},_0x3db129=await NTQQUserApi['forceFetchClientKey'](),_0x5e8639=_0x38db90[_0x227f0f(0xc3)](_0x38db90[_0x227f0f(0xc3)](_0x38db90[_0x227f0f(0xd3)](_0x38db90[_0x227f0f(0xbf)](_0x38db90[_0x227f0f(0x97)](_0x38db90[_0x227f0f(0xd6)],selfInfo[_0x227f0f(0xde)]),_0x38db90['LGEdr'])+_0x3db129[_0x227f0f(0x8c)],_0x227f0f(0xcb)),selfInfo['uin']),_0x38db90[_0x227f0f(0xd8)]);let _0xaef022={};try{_0xaef022=await RequestUtil[_0x227f0f(0xa6)](_0x5e8639);}catch(_0x5ec4fb){_0x38db90[_0x227f0f(0x9d)](logDebug,_0x38db90[_0x227f0f(0xb3)],_0x5ec4fb),_0xaef022={};}return _0xaef022;}static async[_0x3e5148(0x8f)](){const _0x2c27c5=_0x3e5148,_0x26daf7={'citUe':function(_0x3aa45f,_0x4b2431){return _0x3aa45f!==_0x4b2431;},'MnKDH':function(_0x384380,_0x44a1bb){return _0x384380+_0x44a1bb;},'qHWfs':function(_0x1ddf7c,_0x223c1d){return _0x1ddf7c+_0x223c1d;},'APDrI':_0x2c27c5(0xb7),'uabpj':function(_0x42ec94,_0x5d595a,_0x1df300){return _0x42ec94(_0x5d595a,_0x1df300);},'UwjvJ':_0x2c27c5(0x8d),'uqkPH':_0x2c27c5(0xe1)};try{const _0xc9fa75=await NTQQUserApi['forceFetchClientKey']();if(_0x26daf7[_0x2c27c5(0xd4)](_0xc9fa75['result'],0x0))return'';const _0x3ef8b1=_0xc9fa75['clientKey'],_0x1a8a05=_0xc9fa75[_0x2c27c5(0xdf)],_0x79d2fc=_0x26daf7[_0x2c27c5(0xba)](_0x26daf7['qHWfs'](_0x2c27c5(0xa3),selfInfo[_0x2c27c5(0xde)])+'&clientkey='+_0x3ef8b1,_0x26daf7[_0x2c27c5(0x9a)]);let _0x58d0e1={};try{_0x58d0e1=await RequestUtil[_0x2c27c5(0xa6)](_0x79d2fc);}catch(_0x134d46){_0x26daf7[_0x2c27c5(0x94)](logDebug,_0x26daf7[_0x2c27c5(0xc1)],_0x134d46),_0x58d0e1={};}const _0x507157=_0x58d0e1[_0x26daf7['uqkPH']];if(!_0x507157)return'';return _0x507157;}catch(_0x53f1eb){}return undefined;}static async[_0x3e5148(0x93)](_0x25d043){const _0x200f6a=_0x3e5148,_0x1dde03={'Ywuxz':'NodeIKernelUixConvertService/getUid'};let _0x105e70=await NTEventDispatch[_0x200f6a(0x9f)](_0x1dde03[_0x200f6a(0xdc)],0x1388,[_0x25d043]);return _0x105e70['uidInfo']['get'](_0x25d043);}static async[_0x3e5148(0xa5)](_0x498d50){const _0x57c889=_0x3e5148,_0x108ad0={'KZPZl':'NodeIKernelUixConvertService/getUin'};if(!_0x498d50)return'';let _0x479ee2=await NTEventDispatch['CallNoListenerEvent'](_0x108ad0[_0x57c889(0xa0)],0x1388,[_0x498d50]);return _0x479ee2[_0x57c889(0xe3)]['get'](_0x498d50);}static async['getUserDetailInfoByUin'](_0x215e2a){const _0x3bcf23=_0x3e5148,_0xe6bd39={'rftDj':_0x3bcf23(0xc4)};return NTEventDispatch['CallNoListenerEvent'](_0xe6bd39[_0x3bcf23(0xe4)],0x1388,_0x215e2a);}static async['forceFetchClientKey'](){const _0x2475d7=_0x3e5148;return await napCatCore[_0x2475d7(0xe6)][_0x2475d7(0xbb)]()[_0x2475d7(0xc7)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3e5148(0x96),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3e5148(0xb0),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3e5148(0xaa),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x3e5148(0x8f),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'ClientKey')],NTQQUserApi,'forceFetchClientKey',null); \ No newline at end of file +const _0x1b8a85=_0x2816;function _0x2816(_0x39ecc0,_0x4389fe){const _0x4c8186=_0x4c81();return _0x2816=function(_0x281631,_0xcb343c){_0x281631=_0x281631-0x111;let _0x1392da=_0x4c8186[_0x281631];return _0x1392da;},_0x2816(_0x39ecc0,_0x4389fe);}(function(_0x4f2064,_0x136f0b){const _0x3c1df8=_0x2816,_0x202ed5=_0x4f2064();while(!![]){try{const _0x25df30=parseInt(_0x3c1df8(0x122))/0x1*(parseInt(_0x3c1df8(0x154))/0x2)+-parseInt(_0x3c1df8(0x11b))/0x3+parseInt(_0x3c1df8(0x16b))/0x4*(parseInt(_0x3c1df8(0x135))/0x5)+-parseInt(_0x3c1df8(0x155))/0x6*(parseInt(_0x3c1df8(0x13a))/0x7)+-parseInt(_0x3c1df8(0x15e))/0x8+parseInt(_0x3c1df8(0x157))/0x9+parseInt(_0x3c1df8(0x12a))/0xa;if(_0x25df30===_0x136f0b)break;else _0x202ed5['push'](_0x202ed5['shift']());}catch(_0x2fe04c){_0x202ed5['push'](_0x202ed5['shift']());}}}(_0x4c81,0x35582));var __decorate=this&&this[_0x1b8a85(0x159)]||function(_0xb44c40,_0x2d8e67,_0x453f79,_0x47d22e){const _0x55b1bf=_0x1b8a85,_0x364dab={'aKCRw':function(_0x47f999,_0x468ab3){return _0x47f999<_0x468ab3;},'ZFHDR':function(_0x1e92a4,_0x599bf4){return _0x1e92a4===_0x599bf4;},'hbwfA':_0x55b1bf(0x175),'paCaa':function(_0x1a05d2,_0x924aab){return _0x1a05d2===_0x924aab;},'CVCKj':_0x55b1bf(0x128),'gcfDM':function(_0x515afb,_0x4c554d){return _0x515afb-_0x4c554d;},'ZcAZZ':function(_0x21bd95,_0x13eb10){return _0x21bd95>=_0x13eb10;},'DhtsV':function(_0x177842,_0x24a4a7){return _0x177842(_0x24a4a7);},'hrTia':function(_0x335d50,_0xeec06){return _0x335d50>_0xeec06;},'AuefM':function(_0x2ab07d,_0x365dda,_0x1bacba,_0x4c005a){return _0x2ab07d(_0x365dda,_0x1bacba,_0x4c005a);},'UMQoH':function(_0x237641,_0xaecddf,_0x1be98a){return _0x237641(_0xaecddf,_0x1be98a);}};var _0x3edfb2=arguments[_0x55b1bf(0x16c)],_0x3c8494=_0x364dab[_0x55b1bf(0x15a)](_0x3edfb2,0x3)?_0x2d8e67:_0x364dab[_0x55b1bf(0x163)](_0x47d22e,null)?_0x47d22e=Object[_0x55b1bf(0x150)](_0x2d8e67,_0x453f79):_0x47d22e,_0x1a50b3;if(_0x364dab[_0x55b1bf(0x163)](typeof Reflect,_0x364dab[_0x55b1bf(0x16f)])&&_0x364dab['paCaa'](typeof Reflect[_0x55b1bf(0x119)],_0x364dab['CVCKj']))_0x3c8494=Reflect[_0x55b1bf(0x119)](_0xb44c40,_0x2d8e67,_0x453f79,_0x47d22e);else{for(var _0x2d6f01=_0x364dab[_0x55b1bf(0x174)](_0xb44c40[_0x55b1bf(0x16c)],0x1);_0x364dab['ZcAZZ'](_0x2d6f01,0x0);_0x2d6f01--)if(_0x1a50b3=_0xb44c40[_0x2d6f01])_0x3c8494=(_0x364dab['aKCRw'](_0x3edfb2,0x3)?_0x364dab['DhtsV'](_0x1a50b3,_0x3c8494):_0x364dab['hrTia'](_0x3edfb2,0x3)?_0x364dab[_0x55b1bf(0x14c)](_0x1a50b3,_0x2d8e67,_0x453f79,_0x3c8494):_0x364dab[_0x55b1bf(0x14f)](_0x1a50b3,_0x2d8e67,_0x453f79))||_0x3c8494;}return _0x3edfb2>0x3&&_0x3c8494&&Object[_0x55b1bf(0x130)](_0x2d8e67,_0x453f79,_0x3c8494),_0x3c8494;};import{selfInfo}from'@/core/data';function _0x4c81(){const _0x4b231c=['__decorate','aKCRw','uidInfo','uin','delete','2439760ecYjNy','%2Finfocenter&keyindex=19%27','errMsg','Tuhbj','ClientKey','ZFHDR','VExVQ','uinInfo','PVrBY','setSelfOnlineStatus','getRobotUinRange','OwaFt','THfZz','2624uCgYmC','length','NodeIKernelUixConvertService/getUin','请求获取Cookies时失败','hbwfA','oPbNM','BDvbl','response','KRdwi','gcfDM','object','NodeIKernelUixConvertService/getUid','keyIndex','clientKey','%2F','getRobotService','SjCWg','getUserDetailInfoByUin','XhNtx','getUserDetailInfoWithBizInfo','getTicketService','getUidByUin','decorate','setHeader','887301lUATua','getUserInfo','forEach','AhwrX','getPskey','CallNoListenerEvent','Yhghf','1QwTtBy','get','skey','session','getBuddyService','result','function','like','4165290LCPBkx','getUserDetailInfo\x20timeout','&u1=https%3A%2F%2F','getUinByUid','HttpsGetCookies','setStatus','defineProperty','robotUinRanges','getQzoneCookies','then','DpONx','1840RjXGPB','getSkey','getTipOffService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','getCookies','164108Pjrhkv','Kbaef','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getProfileService','请求获取Skey时失败','getPSkey','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','setBuddyProfileLike','MNnGx','UvejB','&clientkey=','nBAbs','aiUEc','vwrMs','forceFetchClientKey','vsszz','modifySelfProfile','WKXRh','AuefM','onLoginSuccess','getSelfInfo','UMQoH','getOwnPropertyDescriptor','onProfileDetailInfoChanged','uid','UIJRe','70014xkpymk','18vTDfbN','getProfileLikeService','1769607TSvFjc','UuVkv'];_0x4c81=function(){return _0x4b231c;};return _0x4c81();}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';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x1b8a85(0x151)]=_0x415262=>{const _0x3eba57=_0x1b8a85;userInfoCache[_0x415262[_0x3eba57(0x152)]]=_0x415262,userDetailHandlers[_0x3eba57(0x11d)](_0x227430=>_0x227430(_0x415262));},setTimeout(()=>{const _0x21af92=_0x1b8a85;napCatCore[_0x21af92(0x14d)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async['setLongNick'](_0x1e30ce){const _0x11ca55=_0x1b8a85;return napCatCore[_0x11ca55(0x125)][_0x11ca55(0x13d)]()['setLongNick'](_0x1e30ce);}static async[_0x1b8a85(0x167)](_0x47c1bf,_0x5ce6c9,_0x5ee97e){const _0x3d72b2=_0x1b8a85;return napCatCore[_0x3d72b2(0x125)]['getMsgService']()[_0x3d72b2(0x12f)]({'status':_0x47c1bf,'extStatus':_0x5ce6c9,'batteryStatus':_0x5ee97e});}static async['getBuddyRecommendContactArkJson'](_0x39da5c,_0x3bae31=''){const _0xf1aefc=_0x1b8a85;return napCatCore[_0xf1aefc(0x125)][_0xf1aefc(0x126)]()['getBuddyRecommendContactArkJson'](_0x39da5c,_0x3bae31);}static async[_0x1b8a85(0x129)](_0x242c5b,_0xfff3f4=0x1){const _0x7d1287=_0x1b8a85;return napCatCore['session'][_0x7d1287(0x156)]()[_0x7d1287(0x141)]({'friendUid':_0x242c5b,'sourceId':0x47,'doLikeCount':_0xfff3f4,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x402112){const _0x4ae004=_0x1b8a85,_0x2296a8=await napCatCore[_0x4ae004(0x125)]['getProfileService']()[_0x4ae004(0x11a)](_0x402112);return{'result':_0x2296a8?.[_0x4ae004(0x127)],'errMsg':_0x2296a8?.[_0x4ae004(0x160)]};}static async[_0x1b8a85(0x14e)](){}static async[_0x1b8a85(0x11c)](_0x5e5aec){}static async['getUserDetailInfo'](_0x4f5eb7){const _0xe7ccbe=_0x1b8a85,_0xb4a35f={'UvejB':function(_0x31bd27,_0x34f102){return _0x31bd27(_0x34f102);},'AhwrX':function(_0x41b253,_0x2f5523){return _0x41b253(_0x2f5523);},'UuVkv':function(_0x257f6c,_0x4e6097){return _0x257f6c===_0x4e6097;},'vwrMs':function(_0x4768d3){return _0x4768d3();},'vsszz':function(_0x33c9ce,_0x3558c1,_0x5ad653){return _0x33c9ce(_0x3558c1,_0x5ad653);}},_0x2a5d5b=napCatCore[_0xe7ccbe(0x125)][_0xe7ccbe(0x13d)]();return new Promise((_0x4090a0,_0x50a12d)=>{const _0x200feb=_0xe7ccbe,_0x39ed16=_0xb4a35f[_0x200feb(0x147)](randomUUID);let _0x556fe1=![],_0x2fd718=undefined,_0x215dd3=!![];_0xb4a35f[_0x200feb(0x149)](setTimeout,()=>{const _0x57b33f=_0x200feb;!_0x556fe1&&(_0x2fd718?_0xb4a35f['UvejB'](_0x4090a0,_0x2fd718):_0xb4a35f[_0x57b33f(0x11e)](_0x50a12d,_0x57b33f(0x12b))),userDetailHandlers[_0x57b33f(0x15d)](_0x39ed16);},0x1388),userDetailHandlers['set'](_0x39ed16,_0x1ad716=>{const _0x38bac1=_0x200feb;_0xb4a35f[_0x38bac1(0x158)](_0x1ad716[_0x38bac1(0x152)],_0x4f5eb7)&&(_0x215dd3?(_0x2fd718=_0x1ad716,_0x215dd3=![]):(_0x556fe1=!![],_0xb4a35f[_0x38bac1(0x143)](_0x4090a0,_0x1ad716)));}),_0x2a5d5b[_0x200feb(0x116)](_0x4f5eb7,[0x0])[_0x200feb(0x133)](_0x353d52=>{});});}static async[_0x1b8a85(0x14a)](_0x53998b){const _0x4b9941=_0x1b8a85;return napCatCore['session'][_0x4b9941(0x13d)]()['modifyDesktopMiniProfile'](_0x53998b);}static async['getCookies'](_0x581fc1){const _0x746205=_0x1b8a85,_0x1b46a4={'XhNtx':function(_0x50d0a7,_0x4188d6){return _0x50d0a7+_0x4188d6;},'zEHjA':function(_0x964c10,_0xb836d3){return _0x964c10+_0xb836d3;},'nBAbs':function(_0x2ad8f5,_0x4895d5){return _0x2ad8f5+_0x4895d5;},'VGGcy':function(_0x1ead77,_0x39f333){return _0x1ead77+_0x39f333;},'tcPku':_0x746205(0x13c),'DpONx':_0x746205(0x12c),'KRdwi':_0x746205(0x111),'OwaFt':function(_0x551fc9,_0xaf157,_0x3e39d0){return _0x551fc9(_0xaf157,_0x3e39d0);}},_0x56450a=await NTQQUserApi[_0x746205(0x148)](),_0x3f2bb9=_0x1b46a4[_0x746205(0x115)](_0x1b46a4[_0x746205(0x115)](_0x1b46a4['zEHjA'](_0x1b46a4['XhNtx'](_0x1b46a4[_0x746205(0x145)](_0x1b46a4['VGGcy'](_0x1b46a4[_0x746205(0x115)](_0x1b46a4['tcPku'],selfInfo['uin']),_0x746205(0x144)),_0x56450a['clientKey']),_0x1b46a4[_0x746205(0x134)])+_0x581fc1,_0x1b46a4[_0x746205(0x173)]),selfInfo[_0x746205(0x15c)]),_0x746205(0x15f));let _0x4624f6={};try{_0x4624f6=await RequestUtil[_0x746205(0x12e)](_0x3f2bb9);}catch(_0x228581){_0x1b46a4[_0x746205(0x169)](logDebug,_0x746205(0x16e),_0x228581),_0x4624f6={};}return _0x4624f6;}static async['getPSkey'](_0x4c520c){const _0x46ba0f=_0x1b8a85;return await napCatCore[_0x46ba0f(0x125)][_0x46ba0f(0x137)]()[_0x46ba0f(0x11f)](_0x4c520c,!![]);}static async[_0x1b8a85(0x168)](){const _0x72c9ec=_0x1b8a85,_0x4a37e3=await napCatCore[_0x72c9ec(0x125)][_0x72c9ec(0x112)]()[_0x72c9ec(0x168)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x4a37e3?.[_0x72c9ec(0x172)]?.[_0x72c9ec(0x131)];}static async[_0x1b8a85(0x132)](){const _0x356226=_0x1b8a85,_0x1665f4={'MNnGx':function(_0x23aa98,_0x316ab3){return _0x23aa98+_0x316ab3;},'PVrBY':function(_0x56e2dd,_0xf02a2c){return _0x56e2dd+_0xf02a2c;},'UIJRe':function(_0x50ed5f,_0x112409){return _0x50ed5f+_0x112409;},'SjCWg':function(_0x55f981,_0x277673){return _0x55f981+_0x277673;},'Kbaef':_0x356226(0x144),'THfZz':_0x356226(0x15f),'Yhghf':function(_0x21a73b,_0xd441c6,_0x4b0489){return _0x21a73b(_0xd441c6,_0x4b0489);},'uiRCS':'请求获取Cookies时失败'},_0x58477d=await NTQQUserApi['forceFetchClientKey'](),_0x2fa237=_0x1665f4[_0x356226(0x142)](_0x1665f4[_0x356226(0x166)](_0x1665f4[_0x356226(0x153)](_0x1665f4[_0x356226(0x113)](_0x1665f4[_0x356226(0x153)](_0x356226(0x13c),selfInfo[_0x356226(0x15c)])+_0x1665f4[_0x356226(0x13b)],_0x58477d[_0x356226(0x178)]),_0x356226(0x138)),selfInfo[_0x356226(0x15c)]),_0x1665f4[_0x356226(0x16a)]);let _0x2a9148={};try{_0x2a9148=await RequestUtil[_0x356226(0x12e)](_0x2fa237);}catch(_0x228ec6){_0x1665f4[_0x356226(0x121)](logDebug,_0x1665f4['uiRCS'],_0x228ec6),_0x2a9148={};}return _0x2a9148;}static async['getSkey'](){const _0x2264bb=_0x1b8a85,_0x1e1bb5={'Tuhbj':function(_0x3853fe,_0x5a4d13){return _0x3853fe!==_0x5a4d13;},'awNQl':_0x2264bb(0x13c),'oPbNM':'&clientkey=','WKXRh':_0x2264bb(0x140),'BDvbl':_0x2264bb(0x13e),'aiUEc':_0x2264bb(0x124)};try{const _0x2b6309=await NTQQUserApi[_0x2264bb(0x148)]();if(_0x1e1bb5[_0x2264bb(0x161)](_0x2b6309[_0x2264bb(0x127)],0x0))return'';const _0x3ed3e7=_0x2b6309[_0x2264bb(0x178)],_0x4523ec=_0x2b6309[_0x2264bb(0x177)],_0x1cdcf0=_0x1e1bb5['awNQl']+selfInfo[_0x2264bb(0x15c)]+_0x1e1bb5[_0x2264bb(0x170)]+_0x3ed3e7+_0x1e1bb5[_0x2264bb(0x14b)];let _0x2bd9f4={};try{_0x2bd9f4=await RequestUtil[_0x2264bb(0x12e)](_0x1cdcf0);}catch(_0x376c13){logDebug(_0x1e1bb5[_0x2264bb(0x171)],_0x376c13),_0x2bd9f4={};}const _0x536b91=_0x2bd9f4[_0x1e1bb5[_0x2264bb(0x146)]];if(!_0x536b91)return'';return _0x536b91;}catch(_0xcb26f9){}return undefined;}static async[_0x1b8a85(0x118)](_0x7ddb8f){const _0x2102df=_0x1b8a85,_0xb0c716={'OZbGT':_0x2102df(0x176)};let _0x58d1b0=await NTEventDispatch[_0x2102df(0x120)](_0xb0c716['OZbGT'],0x1388,[_0x7ddb8f]);return _0x58d1b0[_0x2102df(0x15b)][_0x2102df(0x123)](_0x7ddb8f);}static async[_0x1b8a85(0x12d)](_0x557b2e){const _0x2b6767=_0x1b8a85,_0x25871c={'VExVQ':_0x2b6767(0x16d)};if(!_0x557b2e)return'';let _0x21d4d0=await NTEventDispatch[_0x2b6767(0x120)](_0x25871c[_0x2b6767(0x164)],0x1388,[_0x557b2e]);return _0x21d4d0[_0x2b6767(0x165)]['get'](_0x557b2e);}static async[_0x1b8a85(0x114)](_0x4d748a){const _0x5b0895=_0x1b8a85,_0x34fadb={'MnOkG':'NodeIKernelProfileService/getUserDetailInfoByUin'};return NTEventDispatch[_0x5b0895(0x120)](_0x34fadb['MnOkG'],0x1388,_0x4d748a);}static async[_0x1b8a85(0x148)](){const _0x312e97=_0x1b8a85;return await napCatCore[_0x312e97(0x125)][_0x312e97(0x117)]()['forceFetchClientKey']('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1b8a85(0x139),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1b8a85(0x13f),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getQzoneCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1b8a85(0x136),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x1b8a85(0x162))],NTQQUserApi,_0x1b8a85(0x148),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 050dd2d0..f73187cb 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x163a73=_0x4141;(function(_0x1dec66,_0x5b1508){const _0x4a33fb=_0x4141,_0xdbcae8=_0x1dec66();while(!![]){try{const _0x1e386c=-parseInt(_0x4a33fb(0x20c))/0x1*(-parseInt(_0x4a33fb(0x1cf))/0x2)+-parseInt(_0x4a33fb(0x1ad))/0x3*(-parseInt(_0x4a33fb(0x22d))/0x4)+parseInt(_0x4a33fb(0x21e))/0x5+-parseInt(_0x4a33fb(0x232))/0x6*(-parseInt(_0x4a33fb(0x1db))/0x7)+parseInt(_0x4a33fb(0x23f))/0x8+parseInt(_0x4a33fb(0x22f))/0x9+-parseInt(_0x4a33fb(0x20a))/0xa*(parseInt(_0x4a33fb(0x1b9))/0xb);if(_0x1e386c===_0x5b1508)break;else _0xdbcae8['push'](_0xdbcae8['shift']());}catch(_0x40dbea){_0xdbcae8['push'](_0xdbcae8['shift']());}}}(_0x3c8e,0x190e5));function _0x4141(_0x117805,_0x21e41c){const _0x3c8ef3=_0x3c8e();return _0x4141=function(_0x414156,_0x23ea8d){_0x414156=_0x414156-0x19b;let _0x58b0f6=_0x3c8ef3[_0x414156];return _0x58b0f6;},_0x4141(_0x117805,_0x21e41c);}var __decorate=this&&this[_0x163a73(0x1fb)]||function(_0xbcd2d8,_0x5b336d,_0x452df4,_0x5585c3){const _0x2d5a4b=_0x163a73,_0x52c38f={'GJIZe':function(_0x4b5991,_0x3b52e1){return _0x4b5991===_0x3b52e1;},'FsUvP':_0x2d5a4b(0x1df),'OGqZc':'function','zjTjv':function(_0x2eb820,_0x20ff12){return _0x2eb820-_0x20ff12;},'lEKwI':function(_0x29cdef,_0x24a257){return _0x29cdef>=_0x24a257;},'YdBeo':function(_0x22d35b,_0x23bb16){return _0x22d35b<_0x23bb16;},'MRBkO':function(_0x38a9f0,_0x514cf2){return _0x38a9f0(_0x514cf2);},'AZXyE':function(_0x214d2f,_0x311948){return _0x214d2f>_0x311948;},'RLNsY':function(_0x572d07,_0x3565f0,_0x5895ff){return _0x572d07(_0x3565f0,_0x5895ff);}};var _0x27b9bd=arguments[_0x2d5a4b(0x1b7)],_0xc48c2f=_0x27b9bd<0x3?_0x5b336d:_0x52c38f['GJIZe'](_0x5585c3,null)?_0x5585c3=Object[_0x2d5a4b(0x225)](_0x5b336d,_0x452df4):_0x5585c3,_0x2f66e1;if(typeof Reflect===_0x52c38f['FsUvP']&&typeof Reflect['decorate']===_0x52c38f['OGqZc'])_0xc48c2f=Reflect['decorate'](_0xbcd2d8,_0x5b336d,_0x452df4,_0x5585c3);else{for(var _0x1ee42c=_0x52c38f[_0x2d5a4b(0x1f9)](_0xbcd2d8['length'],0x1);_0x52c38f[_0x2d5a4b(0x200)](_0x1ee42c,0x0);_0x1ee42c--)if(_0x2f66e1=_0xbcd2d8[_0x1ee42c])_0xc48c2f=(_0x52c38f[_0x2d5a4b(0x1f8)](_0x27b9bd,0x3)?_0x52c38f[_0x2d5a4b(0x239)](_0x2f66e1,_0xc48c2f):_0x52c38f[_0x2d5a4b(0x219)](_0x27b9bd,0x3)?_0x2f66e1(_0x5b336d,_0x452df4,_0xc48c2f):_0x52c38f[_0x2d5a4b(0x24d)](_0x2f66e1,_0x5b336d,_0x452df4))||_0xc48c2f;}return _0x52c38f[_0x2d5a4b(0x219)](_0x27b9bd,0x3)&&_0xc48c2f&&Object[_0x2d5a4b(0x1af)](_0x5b336d,_0x452df4,_0xc48c2f),_0xc48c2f;};import{selfInfo}from'@/core/data';function _0x3c8e(){const _0x241ebc=['uin','GET','count','TaSRr','&type=','errcode','HttpGetJson','tjKdJ','&group_code=','gOEnB','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','lyvBH','charCodeAt','strong_newbie_list','rdBEb','getGroupEssenceMsg','icaXK','PXyGq','retcode','eWxTr','获取群聊炽焰失败','YdBeo','zjTjv','avatar','__decorate','toHnO','PtpzT','XHcMg','PTDBg','lEKwI','EXtjC','push','xQlHG','ZFEkF','actorList','legend_list','buMEx','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','&bkn=','905440SxzYPX','HZyeg','4918mSYuPZ','getGroupHonorInfo','legend','hJLCN','gTesb','kDUQV','KdIUU','match','ecAku','YWnUt','Seecr','YQmIQ','ctVwv','AZXyE','genBkn','fFyFH','MqAEb','talkative_list','881445wcUNeG','qid=','ALL','desc','Nbpmn','SZYlI','description','getOwnPropertyDescriptor','https://qun.qq.com/interactive/honorlist?gc=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','获取快乐源泉失败','wSxEU','FWFnL','parse','tydVw','40800HDVDVA','dFYbn','1702548JWffjb','ceil','TnVmi','6YebMgL','AIngZ','iFXuJ','eKnRc','emmxo','Excbl','lDKsp','MRBkO','TALKACTIVE','&text=','domainPskeyMap','DudDZ',';\x20uin=o','1029960zIDsRO','HttpGetText','talkative','jCRSi','OcgvC','mems','xiWJn','cuyjE','toString','STORONGE_NEWBI','msFLd','getSkey',';\x20skey=','yKZFg','RLNsY','&qid=','CYtkX','zIXMb','getPSkey','strong_newbie','NJFYJ','wPYkk','jTAqN','dLTKF','mYSTd','gBzjR','webapi_get_group_members','name','xkEYv','获取当前群荣耀失败','performer','jqEit','EMOTION','6TGdGrq','iZtvu','defineProperty','JyLao','rTcYf','dJOkI','otLpn','vawtG','GPTeY','IEfhK','length','获取龙王信息失败','88yrrcaU','&sort=1&gc=','iGdSK','uyvPr','all','JJWMr','FFobd','tGHNa','lxKCw','performer_list','sYVCz','POST','talkativeList','get','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','&end=','qun.qq.com','Bgpay','mqwZU','NUXES','SJaJX','wvwiI','74irorpm','rajZX','YqAtY','LJxdQ','LkORZ','GroupHonorInfo','setGroupNotice','p_skey=','PERFROMER',';\x20p_uin=o','opfyQ','PClaU','912863QWTJHP','qzPRa','nDAZz','EFkDy','object','emotion_list','getGroupMembers','OVLVC'];_0x3c8e=function(){return _0x241ebc;};return _0x3c8e();}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(_0x35c289){const _0x39e7ab=_0x163a73,_0x4622b2={'CwbCa':'0|2|5|1|4|3','mqwZU':_0x39e7ab(0x220),'icaXK':_0x39e7ab(0x1bd),'wvwiI':_0x39e7ab(0x20e),'YqAtY':_0x39e7ab(0x23a),'PtpzT':_0x39e7ab(0x241),'rajZX':_0x39e7ab(0x1ac),'sQMRE':'emotion','ctVwv':_0x39e7ab(0x19f),'ecAku':_0x39e7ab(0x1d7)},_0x10545b=_0x4622b2['CwbCa']['split']('|');let _0x6523f5=0x0;while(!![]){switch(_0x10545b[_0x6523f5++]){case'0':_0x35c289[_0x4622b2[_0x39e7ab(0x1cb)]]=_0x4622b2[_0x39e7ab(0x1f3)];continue;case'1':_0x35c289['LEGEND']=_0x4622b2[_0x39e7ab(0x1ce)];continue;case'2':_0x35c289[_0x4622b2[_0x39e7ab(0x1d1)]]=_0x4622b2[_0x39e7ab(0x1fd)];continue;case'3':_0x35c289[_0x4622b2[_0x39e7ab(0x1d0)]]=_0x4622b2['sQMRE'];continue;case'4':_0x35c289[_0x39e7ab(0x248)]=_0x4622b2[_0x39e7ab(0x218)];continue;case'5':_0x35c289[_0x4622b2[_0x39e7ab(0x214)]]=_0x39e7ab(0x1aa);continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x163a73(0x1f2)](_0x4c18b8,_0x5347d4){const _0x200c9c=_0x163a73,_0x506729={'CYtkX':'qun.qq.com','OVLVC':function(_0x578a1b,_0x40662c){return _0x578a1b+_0x40662c;},'FWFnL':function(_0x5aad31,_0x25ab8c){return _0x5aad31+_0x25ab8c;},'cuyjE':function(_0x2f50e5,_0x20b950){return _0x2f50e5+_0x20b950;},'wCvRD':function(_0x1d5ad3,_0x1e460e){return _0x1d5ad3+_0x1e460e;},'dFYbn':_0x200c9c(0x1d6),'Nbpmn':_0x200c9c(0x24b),'MQwZL':_0x200c9c(0x1d8),'eWxTr':_0x200c9c(0x23e),'UddsT':function(_0x27d0ec,_0x34de7f){return _0x27d0ec||_0x34de7f;},'yKZFg':function(_0x3e03f7,_0x1f5faf){return _0x3e03f7+_0x1f5faf;},'xQlHG':function(_0x17f8a0,_0x544157){return _0x17f8a0+_0x544157;},'NUXES':_0x200c9c(0x1eb),'hFZOZ':'&page_start=','XHcMg':'&page_limit=20','tjKdJ':'GET','DudDZ':function(_0x287b1f,_0x20862d){return _0x287b1f!==_0x20862d;}},_0x31d2ed=(await NTQQUserApi[_0x200c9c(0x19e)]([_0x200c9c(0x1c9)]))['domainPskeyMap'][_0x200c9c(0x1c6)](_0x506729[_0x200c9c(0x19c)]),_0x102a9b=await NTQQUserApi['getSkey'](),_0x1680b8=_0x506729[_0x200c9c(0x1e2)](_0x506729['FWFnL'](_0x506729[_0x200c9c(0x246)](_0x506729['wCvRD'](_0x506729[_0x200c9c(0x22a)](_0x506729[_0x200c9c(0x22e)]+_0x31d2ed+_0x506729[_0x200c9c(0x222)],_0x102a9b),_0x506729['MQwZL']),selfInfo[_0x200c9c(0x1e3)]),_0x506729[_0x200c9c(0x1f6)]),selfInfo['uin']);if(_0x506729['UddsT'](!_0x102a9b,!_0x31d2ed))return undefined;const _0x206b12=WebApi[_0x200c9c(0x21a)](_0x102a9b),_0x5ab336=_0x506729[_0x200c9c(0x24c)](_0x506729['FWFnL'](_0x506729[_0x200c9c(0x203)](_0x506729[_0x200c9c(0x1e2)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x206b12)+_0x506729[_0x200c9c(0x1cc)],_0x4c18b8),_0x506729['hFZOZ']),_0x5347d4)+_0x506729[_0x200c9c(0x1fe)];let _0x26eea9;try{_0x26eea9=await RequestUtil[_0x200c9c(0x1e9)](_0x5ab336,_0x506729[_0x200c9c(0x1ea)],'',{'Cookie':_0x1680b8});}catch{return undefined;}if(_0x506729[_0x200c9c(0x23d)](_0x26eea9[_0x200c9c(0x1f5)],0x0))return undefined;return _0x26eea9;}static async['getGroupMembers'](_0x24ea58,_0x45c9e5=!![]){const _0x181fd1=_0x163a73,_0x22c8ee={'LJxdQ':_0x181fd1(0x1c9),'kDUQV':function(_0x2b19fb,_0x2aad61){return _0x2b19fb+_0x2aad61;},'hVPpq':function(_0xb70f3c,_0x2d1f7f){return _0xb70f3c+_0x2d1f7f;},'LkORZ':function(_0x58a007,_0x4693ef){return _0x58a007+_0x4693ef;},'sYVCz':_0x181fd1(0x1d6),'RUGZK':';\x20skey=','wPYkk':';\x20p_uin=o','opfyQ':function(_0x14d769,_0x3b14c6){return _0x14d769||_0x3b14c6;},'KdIUU':function(_0x515ca0,_0x2768e6){return _0x515ca0+_0x2768e6;},'GPTeY':function(_0x51f6f3,_0x4b5aac){return _0x51f6f3+_0x4b5aac;},'HveQg':function(_0x561981,_0x2f792a){return _0x561981+_0x2f792a;},'TaSRr':_0x181fd1(0x1c4),'iZtvu':function(_0x579fcd,_0x155213){return _0x579fcd!==_0x155213;},'jTAqN':function(_0x5e1cb3,_0x237733){return _0x5e1cb3/_0x237733;},'Seecr':function(_0x4441f,_0x499a06){return _0x4441f<=_0x499a06;},'zIXMb':function(_0x4a0f41,_0x2dddef){return _0x4a0f41+_0x2dddef;},'gTesb':function(_0x4b3369,_0x121c0e){return _0x4b3369+_0x121c0e;},'lDKsp':function(_0x35820d,_0x332dd6){return _0x35820d+_0x332dd6;},'iGdSK':_0x181fd1(0x227),'jCRSi':function(_0x3aa992,_0x1a3cc2){return _0x3aa992*_0x1a3cc2;},'ojLBR':function(_0x387a2f,_0x1d19cc){return _0x387a2f-_0x1d19cc;},'buMEx':_0x181fd1(0x1c8),'oFNqU':_0x181fd1(0x1ba),'SZYlI':_0x181fd1(0x209),'kqdAZ':function(_0x39645b,_0x3a636a){return _0x39645b!==_0x3a636a;}};let _0x4ea65d=new Array();try{const _0x5244d8=(await NTQQUserApi[_0x181fd1(0x19e)]([_0x181fd1(0x1c9)]))[_0x181fd1(0x23c)][_0x181fd1(0x1c6)](_0x22c8ee[_0x181fd1(0x1d2)]),_0x111692=await NTQQUserApi[_0x181fd1(0x24a)](),_0x51bd45=_0x22c8ee['kDUQV'](_0x22c8ee[_0x181fd1(0x211)](_0x22c8ee['hVPpq'](_0x22c8ee[_0x181fd1(0x1d3)](_0x22c8ee[_0x181fd1(0x1c3)],_0x5244d8)+_0x22c8ee['RUGZK'],_0x111692),_0x22c8ee[_0x181fd1(0x1a1)]),selfInfo[_0x181fd1(0x1e3)]);if(_0x22c8ee[_0x181fd1(0x1d9)](!_0x111692,!_0x5244d8))return _0x4ea65d;const _0x58e6f1=WebApi[_0x181fd1(0x21a)](_0x111692),_0x2e2d02=[],_0x11d9a4=await RequestUtil['HttpGetJson'](_0x22c8ee[_0x181fd1(0x212)](_0x22c8ee[_0x181fd1(0x1b5)](_0x22c8ee['HveQg'](_0x181fd1(0x1ed),_0x24ea58),_0x181fd1(0x209)),_0x58e6f1),_0x22c8ee[_0x181fd1(0x1e6)],'',{'Cookie':_0x51bd45});if(!_0x11d9a4?.['count']||_0x22c8ee[_0x181fd1(0x1ae)](_0x11d9a4?.[_0x181fd1(0x1e8)],0x0)||!_0x11d9a4?.['mems'])return[];else for(const _0x48e45b in _0x11d9a4[_0x181fd1(0x244)]){_0x4ea65d['push'](_0x11d9a4[_0x181fd1(0x244)][_0x48e45b]);}const _0x32ee03=Math[_0x181fd1(0x230)](_0x22c8ee[_0x181fd1(0x1a2)](_0x11d9a4[_0x181fd1(0x1e5)],0x28));for(let _0x24b12b=0x2;_0x22c8ee[_0x181fd1(0x216)](_0x24b12b,_0x32ee03);_0x24b12b++){const _0x3b31e0=RequestUtil[_0x181fd1(0x1e9)](_0x22c8ee[_0x181fd1(0x19d)](_0x22c8ee[_0x181fd1(0x1d3)](_0x22c8ee[_0x181fd1(0x210)](_0x22c8ee[_0x181fd1(0x238)](_0x22c8ee[_0x181fd1(0x1bb)],_0x22c8ee[_0x181fd1(0x242)](_0x22c8ee['ojLBR'](_0x24b12b,0x1),0x28)),_0x22c8ee[_0x181fd1(0x207)])+_0x22c8ee['jCRSi'](_0x24b12b,0x28),_0x22c8ee['oFNqU'])+_0x24ea58,_0x22c8ee[_0x181fd1(0x223)])+_0x58e6f1,_0x22c8ee[_0x181fd1(0x1e6)],'',{'Cookie':_0x51bd45});_0x2e2d02[_0x181fd1(0x202)](_0x3b31e0);}for(let _0x2c1632=0x1;_0x22c8ee[_0x181fd1(0x216)](_0x2c1632,_0x32ee03);_0x2c1632++){const _0x21adc4=await _0x2e2d02[_0x2c1632];if(!_0x21adc4?.['count']||_0x22c8ee['kqdAZ'](_0x21adc4?.[_0x181fd1(0x1e8)],0x0)||!_0x21adc4?.[_0x181fd1(0x244)])continue;for(const _0x49f16e in _0x21adc4[_0x181fd1(0x244)]){_0x4ea65d[_0x181fd1(0x202)](_0x21adc4['mems'][_0x49f16e]);}}}catch{return _0x4ea65d;}return _0x4ea65d;}static async[_0x163a73(0x1d5)](_0x2a0c46,_0x2aaf86=''){const _0x3a01e2=_0x163a73,_0x1e0c25={'rdBEb':_0x3a01e2(0x1c9),'lxKCw':function(_0x1e1d83,_0x599441){return _0x1e1d83+_0x599441;},'PXyGq':function(_0xc3b0a9,_0x36ba73){return _0xc3b0a9+_0x36ba73;},'lyvBH':'p_skey=','nDAZz':_0x3a01e2(0x24b),'gOEnB':_0x3a01e2(0x1d8),'iFXuJ':function(_0x537249,_0x4167b1){return _0x537249+_0x4167b1;},'Bgpay':function(_0x5d92bf,_0x36450a){return _0x5d92bf+_0x36450a;},'emmxo':function(_0x18a6e2,_0x53ec4f){return _0x18a6e2+_0x53ec4f;},'tcKQD':_0x3a01e2(0x21f),'YQmIQ':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','OcgvC':'GET'},_0x5c6411=(await NTQQUserApi[_0x3a01e2(0x19e)]([_0x1e0c25[_0x3a01e2(0x1f1)]]))[_0x3a01e2(0x23c)]['get'](_0x1e0c25['rdBEb']),_0xeb3d8a=await NTQQUserApi[_0x3a01e2(0x24a)](),_0x38acfe=_0x1e0c25[_0x3a01e2(0x1c1)](_0x1e0c25[_0x3a01e2(0x1c1)](_0x1e0c25[_0x3a01e2(0x1c1)](_0x1e0c25['PXyGq'](_0x1e0c25[_0x3a01e2(0x1ee)]+_0x5c6411,_0x1e0c25[_0x3a01e2(0x1dd)]),_0xeb3d8a),_0x1e0c25[_0x3a01e2(0x1ec)]),selfInfo[_0x3a01e2(0x1e3)]);let _0x1fa2ea=undefined;if(!_0xeb3d8a||!_0x5c6411)return undefined;const _0x52de48=WebApi['genBkn'](_0xeb3d8a),_0x54e291=_0x1e0c25[_0x3a01e2(0x234)](_0x1e0c25[_0x3a01e2(0x1ca)](_0x1e0c25[_0x3a01e2(0x1c1)](_0x1e0c25[_0x3a01e2(0x1f4)](_0x1e0c25[_0x3a01e2(0x236)](_0x1e0c25['tcKQD'],_0x2a0c46),_0x3a01e2(0x209))+_0x52de48,_0x3a01e2(0x23b)),_0x2aaf86),_0x1e0c25[_0x3a01e2(0x217)]),_0x12907d=_0x1e0c25[_0x3a01e2(0x234)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x52de48);try{return _0x1fa2ea=await RequestUtil[_0x3a01e2(0x1e9)](_0x12907d,_0x1e0c25[_0x3a01e2(0x243)],'',{'Cookie':_0x38acfe}),_0x1fa2ea;}catch(_0x2c889b){return undefined;}return undefined;}static async['getGrouptNotice'](_0x343d4d){const _0x2846a8=_0x163a73,_0x878ee6={'SJaJX':_0x2846a8(0x1c9),'EsbKg':function(_0x4f6e1f,_0x4da5a7){return _0x4f6e1f+_0x4da5a7;},'vawtG':function(_0x1039de,_0x233ba4){return _0x1039de+_0x233ba4;},'PClaU':function(_0x20323e,_0x2730c8){return _0x20323e+_0x2730c8;},'mYSTd':function(_0x2cf071,_0x12351f){return _0x2cf071+_0x12351f;},'TXVrV':function(_0x70f419,_0x30f111){return _0x70f419+_0x30f111;},'AIngZ':';\x20skey=','KnfPw':_0x2846a8(0x1d8),'IEfhK':function(_0x4644e1,_0x19c050){return _0x4644e1||_0x19c050;},'JBRcM':function(_0x1b6a76,_0x392d76){return _0x1b6a76+_0x392d76;},'uyvPr':function(_0x297c0c,_0x491c95){return _0x297c0c+_0x491c95;},'fFyFH':_0x2846a8(0x208),'tGHNa':_0x2846a8(0x19b),'MqAEb':_0x2846a8(0x1c7),'msFLd':_0x2846a8(0x1e4),'dJOkI':function(_0x18b25e,_0x3911cf){return _0x18b25e!==_0x3911cf;}},_0x16868e=(await NTQQUserApi['getPSkey']([_0x2846a8(0x1c9)]))[_0x2846a8(0x23c)][_0x2846a8(0x1c6)](_0x878ee6[_0x2846a8(0x1cd)]),_0x38b725=await NTQQUserApi[_0x2846a8(0x24a)](),_0x558d94=_0x878ee6['EsbKg'](_0x878ee6[_0x2846a8(0x1b4)](_0x878ee6[_0x2846a8(0x1da)](_0x878ee6[_0x2846a8(0x1a4)](_0x878ee6['TXVrV'](_0x2846a8(0x1d6),_0x16868e),_0x878ee6[_0x2846a8(0x233)]),_0x38b725),_0x878ee6['KnfPw']),selfInfo[_0x2846a8(0x1e3)]);let _0x30b156=undefined;if(_0x878ee6[_0x2846a8(0x1b6)](!_0x38b725,!_0x16868e))return undefined;const _0x171381=WebApi[_0x2846a8(0x21a)](_0x38b725),_0x16ff6c=_0x878ee6['JBRcM'](_0x878ee6[_0x2846a8(0x1b4)](_0x878ee6[_0x2846a8(0x1bc)](_0x878ee6[_0x2846a8(0x21b)],_0x171381),_0x878ee6[_0x2846a8(0x1c0)]),_0x343d4d)+_0x878ee6[_0x2846a8(0x21c)];try{_0x30b156=await RequestUtil['HttpGetJson'](_0x16ff6c,_0x878ee6[_0x2846a8(0x249)],'',{'Cookie':_0x558d94});if(_0x878ee6[_0x2846a8(0x1b2)](_0x30b156?.['ec'],0x0))return undefined;return _0x30b156;}catch(_0x5298e5){return undefined;}return undefined;}static[_0x163a73(0x21a)](_0x1f4f6e){const _0x5baafa=_0x163a73,_0x38140c={'hJLCN':function(_0x392f01,_0x195e1f){return _0x392f01||_0x195e1f;},'xiWJn':function(_0x17dc8e,_0x1e8379){return _0x17dc8e+_0x1e8379;},'xkEYv':function(_0x1a6dad,_0x43b5d9){return _0x1a6dad<<_0x43b5d9;},'TnVmi':function(_0x272066,_0x144b91){return _0x272066&_0x144b91;}};_0x1f4f6e=_0x38140c[_0x5baafa(0x20f)](_0x1f4f6e,'');let _0x489d67=0x1505;for(let _0xc9d8d9=0x0;_0xc9d8d9<_0x1f4f6e[_0x5baafa(0x1b7)];_0xc9d8d9++){const _0x3600f8=_0x1f4f6e[_0x5baafa(0x1ef)](_0xc9d8d9);_0x489d67=_0x38140c[_0x5baafa(0x245)](_0x489d67+_0x38140c[_0x5baafa(0x1a8)](_0x489d67,0x5),_0x3600f8);}return _0x38140c[_0x5baafa(0x231)](_0x489d67,0x7fffffff)[_0x5baafa(0x247)]();}static async[_0x163a73(0x20d)](_0x1f1c7d,_0x17620e){const _0x1d5aad=_0x163a73,_0x5d5224={'ZFEkF':function(_0x94d593,_0xd8a71a){return _0x94d593+_0xd8a71a;},'wSxEU':_0x1d5aad(0x226),'JJWMr':'GET','rTcYf':function(_0x93564a,_0x7ba32e,_0x1da50d,_0x190e61){return _0x93564a(_0x7ba32e,_0x1da50d,_0x190e61);},'HZyeg':_0x1d5aad(0x1a9),'PTDBg':'qun.qq.com','gBzjR':function(_0x4346f1,_0x4b244e){return _0x4346f1||_0x4b244e;},'FFobd':function(_0x2be6ea,_0x338eb8){return _0x2be6ea+_0x338eb8;},'IrSvD':function(_0x5ab271,_0x1338e1){return _0x5ab271+_0x1338e1;},'dLTKF':_0x1d5aad(0x24b),'jqEit':_0x1d5aad(0x23e),'EXtjC':function(_0x32fba1,_0x37f1a2){return _0x32fba1===_0x37f1a2;},'toHnO':function(_0x4356c2,_0x5ee6af,_0xea80fa){return _0x4356c2(_0x5ee6af,_0xea80fa);},'EFkDy':_0x1d5aad(0x1b8),'tLxNq':function(_0x507d03,_0x5b01ba){return _0x507d03(_0x5b01ba);},'eKnRc':function(_0x16ab9a,_0x5d35ec){return _0x16ab9a===_0x5d35ec;},'YWnUt':function(_0x363f72,_0x2ebde2){return _0x363f72===_0x2ebde2;},'NJFYJ':function(_0x4ffafa,_0x98592c,_0x179fcb){return _0x4ffafa(_0x98592c,_0x179fcb);},'otLpn':'获取群聊之火失败','tydVw':function(_0x4a0e2a,_0xfeb816){return _0x4a0e2a===_0xfeb816;},'XhPJw':function(_0x27d772,_0x20b1a7,_0x4838b2){return _0x27d772(_0x20b1a7,_0x4838b2);},'DRAJH':function(_0x853f58,_0x5f3c47){return _0x853f58===_0x5f3c47;},'qzPRa':function(_0x55827e,_0x6e4ba2){return _0x55827e===_0x6e4ba2;},'Excbl':function(_0x35d0db,_0x2a18f1,_0x264a90){return _0x35d0db(_0x2a18f1,_0x264a90);},'JyLao':_0x1d5aad(0x228)},_0x55c03c=(await NTQQUserApi[_0x1d5aad(0x19e)]([_0x1d5aad(0x1c9)]))['domainPskeyMap'][_0x1d5aad(0x1c6)](_0x5d5224[_0x1d5aad(0x1ff)]),_0x1117ed=await NTQQUserApi[_0x1d5aad(0x24a)]();if(_0x5d5224[_0x1d5aad(0x1a5)](!_0x1117ed,!_0x55c03c))return undefined;async function _0xf033b1(_0x34e6ab,_0x377cd3){const _0x477bd5=_0x1d5aad;let _0x2324dc=_0x5d5224[_0x477bd5(0x204)](_0x5d5224[_0x477bd5(0x204)](_0x5d5224[_0x477bd5(0x229)],_0x34e6ab)+_0x477bd5(0x1e7),_0x377cd3['toString']()),_0x188ce2='',_0x189365;try{_0x188ce2=await RequestUtil[_0x477bd5(0x240)](_0x2324dc,_0x5d5224[_0x477bd5(0x1be)],'',{'Cookie':_0x40205a});const _0x399d09=_0x188ce2[_0x477bd5(0x213)](/window\.__INITIAL_STATE__=(.*?);/);return _0x399d09&&(_0x189365=JSON[_0x477bd5(0x22b)](_0x399d09[0x1]['trim']())),_0x377cd3===0x1?_0x189365?.[_0x477bd5(0x1c5)]:_0x189365?.[_0x477bd5(0x205)];}catch(_0x2d4e3f){_0x5d5224[_0x477bd5(0x1b1)](logDebug,_0x5d5224[_0x477bd5(0x20b)],_0x2324dc,_0x2d4e3f);}return undefined;}let _0x1a99f9={'group_id':_0x1f1c7d};const _0x40205a=_0x5d5224[_0x1d5aad(0x204)](_0x5d5224[_0x1d5aad(0x1bf)](_0x5d5224[_0x1d5aad(0x1bf)](_0x5d5224['IrSvD'](_0x1d5aad(0x1d6),_0x55c03c)+_0x5d5224[_0x1d5aad(0x1a3)],_0x1117ed)+_0x1d5aad(0x1d8)+selfInfo['uin'],_0x5d5224[_0x1d5aad(0x1ab)]),selfInfo['uin']);if(_0x5d5224['EXtjC'](_0x17620e,WebHonorType[_0x1d5aad(0x23a)])||_0x17620e===WebHonorType[_0x1d5aad(0x220)])try{let _0x43b7f8=await _0x5d5224[_0x1d5aad(0x1fc)](_0xf033b1,_0x1f1c7d,0x1);if(!_0x43b7f8)throw new Error(_0x5d5224[_0x1d5aad(0x1de)]);_0x1a99f9['current_talkative']={'user_id':_0x43b7f8[0x0]?.['uin'],'avatar':_0x43b7f8[0x0]?.[_0x1d5aad(0x1fa)],'nickname':_0x43b7f8[0x0]?.['name'],'day_count':0x0,'description':_0x43b7f8[0x0]?.[_0x1d5aad(0x221)]},_0x1a99f9[_0x1d5aad(0x21d)]=[];for(const _0x1fc5dc of _0x43b7f8){_0x1a99f9[_0x1d5aad(0x21d)][_0x1d5aad(0x202)]({'user_id':_0x1fc5dc?.[_0x1d5aad(0x1e3)],'avatar':_0x1fc5dc?.['avatar'],'description':_0x1fc5dc?.[_0x1d5aad(0x221)],'day_count':0x0,'nickname':_0x1fc5dc?.[_0x1d5aad(0x1a7)]});}}catch(_0x1249ff){_0x5d5224['tLxNq'](logDebug,_0x1249ff);}if(_0x5d5224[_0x1d5aad(0x235)](_0x17620e,WebHonorType[_0x1d5aad(0x1d7)])||_0x5d5224[_0x1d5aad(0x215)](_0x17620e,WebHonorType[_0x1d5aad(0x220)]))try{let _0x3ae7ba=await _0x5d5224[_0x1d5aad(0x1a0)](_0xf033b1,_0x1f1c7d,0x2);if(!_0x3ae7ba)throw new Error(_0x5d5224[_0x1d5aad(0x1b3)]);_0x1a99f9[_0x1d5aad(0x1c2)]=[];for(const _0xe7da20 of _0x3ae7ba){_0x1a99f9[_0x1d5aad(0x1c2)][_0x1d5aad(0x202)]({'user_id':_0xe7da20?.[_0x1d5aad(0x1e3)],'nickname':_0xe7da20?.[_0x1d5aad(0x1a7)],'avatar':_0xe7da20?.[_0x1d5aad(0x1fa)],'description':_0xe7da20?.[_0x1d5aad(0x221)]});}}catch(_0x6376c0){_0x5d5224['tLxNq'](logDebug,_0x6376c0);}if(_0x5d5224[_0x1d5aad(0x22c)](_0x17620e,WebHonorType[_0x1d5aad(0x1d7)])||_0x5d5224[_0x1d5aad(0x215)](_0x17620e,WebHonorType[_0x1d5aad(0x220)]))try{let _0x51c93b=await _0x5d5224[_0x1d5aad(0x1fc)](_0xf033b1,_0x1f1c7d,0x3);if(!_0x51c93b)throw new Error(_0x1d5aad(0x1f7));_0x1a99f9[_0x1d5aad(0x206)]=[];for(const _0x1812e4 of _0x51c93b){_0x1a99f9[_0x1d5aad(0x206)][_0x1d5aad(0x202)]({'user_id':_0x1812e4?.[_0x1d5aad(0x1e3)],'nickname':_0x1812e4?.[_0x1d5aad(0x1a7)],'avatar':_0x1812e4?.[_0x1d5aad(0x1fa)],'desc':_0x1812e4?.[_0x1d5aad(0x224)]});}}catch(_0x10a87c){_0x5d5224['XhPJw'](logDebug,_0x1d5aad(0x1f7),_0x10a87c);}if(_0x5d5224['DRAJH'](_0x17620e,WebHonorType[_0x1d5aad(0x1ac)])||_0x5d5224[_0x1d5aad(0x1dc)](_0x17620e,WebHonorType['ALL']))try{let _0xff5d98=await _0x5d5224[_0x1d5aad(0x237)](_0xf033b1,_0x1f1c7d,0x6);if(!_0xff5d98)throw new Error(_0x5d5224[_0x1d5aad(0x1b0)]);_0x1a99f9[_0x1d5aad(0x1e0)]=[];for(const _0x28f5de of _0xff5d98){_0x1a99f9['emotion_list'][_0x1d5aad(0x202)]({'user_id':_0x28f5de?.['uin'],'nickname':_0x28f5de?.['name'],'avatar':_0x28f5de?.[_0x1d5aad(0x1fa)],'desc':_0x28f5de?.[_0x1d5aad(0x224)]});}}catch(_0x4b7303){_0x5d5224[_0x1d5aad(0x1fc)](logDebug,_0x5d5224[_0x1d5aad(0x1b0)],_0x4b7303);}return(_0x5d5224[_0x1d5aad(0x201)](_0x17620e,WebHonorType[_0x1d5aad(0x1ac)])||_0x5d5224[_0x1d5aad(0x215)](_0x17620e,WebHonorType[_0x1d5aad(0x220)]))&&(_0x1a99f9[_0x1d5aad(0x1f0)]=[]),_0x1a99f9;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x163a73(0x1a6))],WebApi,'getGroupEssenceMsg',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x163a73(0x1a6))],WebApi,_0x163a73(0x1e1),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x163a73(0x1d4))],WebApi,_0x163a73(0x20d),null); \ No newline at end of file +const _0x4d19a4=_0x45d0;(function(_0x25a650,_0x70afb4){const _0x51e885=_0x45d0,_0x594b5e=_0x25a650();while(!![]){try{const _0x407754=parseInt(_0x51e885(0x1ae))/0x1+-parseInt(_0x51e885(0x182))/0x2+parseInt(_0x51e885(0x1b7))/0x3*(parseInt(_0x51e885(0x178))/0x4)+parseInt(_0x51e885(0x1fb))/0x5+parseInt(_0x51e885(0x19f))/0x6+parseInt(_0x51e885(0x1b9))/0x7+parseInt(_0x51e885(0x203))/0x8*(-parseInt(_0x51e885(0x17c))/0x9);if(_0x407754===_0x70afb4)break;else _0x594b5e['push'](_0x594b5e['shift']());}catch(_0x4b9fbd){_0x594b5e['push'](_0x594b5e['shift']());}}}(_0x1598,0x1e4af));var __decorate=this&&this[_0x4d19a4(0x19e)]||function(_0x3bd34e,_0x57892a,_0x5aa2b1,_0xb94036){const _0x2182e7=_0x4d19a4,_0x5f4f0c={'QEOjA':function(_0x41d789,_0x492baa){return _0x41d789<_0x492baa;},'vXSFL':_0x2182e7(0x17a),'ZQjog':function(_0x27b0d2,_0x174c72){return _0x27b0d2-_0x174c72;},'lFwLY':function(_0x3ebe6d,_0x3ae938){return _0x3ebe6d>=_0x3ae938;},'cNKyf':function(_0x3e8109,_0x240967){return _0x3e8109<_0x240967;},'zcetW':function(_0x29b95f,_0x29bd77){return _0x29b95f(_0x29bd77);},'tszUX':function(_0xc1736b,_0x11fe38,_0x50f60d,_0x56b0ef){return _0xc1736b(_0x11fe38,_0x50f60d,_0x56b0ef);},'CXmer':function(_0x16d3c2,_0x25555a,_0x5e651c){return _0x16d3c2(_0x25555a,_0x5e651c);},'mWDfw':function(_0x537b19,_0x21d8f7){return _0x537b19>_0x21d8f7;}};var _0x27bec4=arguments[_0x2182e7(0x175)],_0x5c371a=_0x5f4f0c[_0x2182e7(0x18b)](_0x27bec4,0x3)?_0x57892a:_0xb94036===null?_0xb94036=Object[_0x2182e7(0x1c1)](_0x57892a,_0x5aa2b1):_0xb94036,_0x489630;if(typeof Reflect===_0x5f4f0c[_0x2182e7(0x1d0)]&&typeof Reflect['decorate']===_0x2182e7(0x204))_0x5c371a=Reflect[_0x2182e7(0x1d7)](_0x3bd34e,_0x57892a,_0x5aa2b1,_0xb94036);else{for(var _0x5b0dac=_0x5f4f0c[_0x2182e7(0x1dd)](_0x3bd34e[_0x2182e7(0x175)],0x1);_0x5f4f0c[_0x2182e7(0x171)](_0x5b0dac,0x0);_0x5b0dac--)if(_0x489630=_0x3bd34e[_0x5b0dac])_0x5c371a=(_0x5f4f0c[_0x2182e7(0x19c)](_0x27bec4,0x3)?_0x5f4f0c[_0x2182e7(0x1b5)](_0x489630,_0x5c371a):_0x27bec4>0x3?_0x5f4f0c['tszUX'](_0x489630,_0x57892a,_0x5aa2b1,_0x5c371a):_0x5f4f0c[_0x2182e7(0x1be)](_0x489630,_0x57892a,_0x5aa2b1))||_0x5c371a;}return _0x5f4f0c[_0x2182e7(0x1ba)](_0x27bec4,0x3)&&_0x5c371a&&Object[_0x2182e7(0x18d)](_0x57892a,_0x5aa2b1,_0x5c371a),_0x5c371a;};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 _0x1598(){const _0x499c11=['获取快乐源泉失败','match','&page_limit=20','description','dKBmR','FwEgo','ceil','CIpkf','bdcsW','EMOTION','LEGEND',';\x20p_uin=o','GroupHonorInfo','eEJJV','LKOwd','lFwLY','vmXgG','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','TMNzh','length','0|4|2|3|1|5','xstYd','412pGEonD','ysMqC','object','FAcSF','2817dFYuIY','talkative','URdAb','fQyBU','oxmsX','HimwS','91642kssMeg','WJrsx','Ppctt','count','zhFRt','bZpzt','sFXdA','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','getPSkey','QEOjA','getGroupMembers','defineProperty','HttpGetText','legend_list','https://qun.qq.com/interactive/honorlist?gc=','XDGxb',';\x20skey=','actorList','rNpCC','FtMJK','PERFROMER','performer','ftBzu','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','EwyXM','kEIvu','cNKyf','current_talkative','__decorate','177240oySEFx','&group_code=','LFEPe','push','iSMyN','KBpYR','getGrouptNotice','POST','legend','getSkey','performer_list','IpPNe','getGroupEssenceMsg','SegEu','rdNVe','8625KNDABK','emZfU','NHXYJ','getGroupHonorInfo','trim','NkGtZ','mgKuZ','zcetW','brqiu','1326zfxuiz','mems','116970JvUeOA','mWDfw','JUsOL','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','GNNRV','CXmer','BkGvT','WEpZA','getOwnPropertyDescriptor','talkativeList','lrQCJ','NwXTt','talkative_list','ENmYW','STORONGE_NEWBI','uin','&bkn=','ALL','HBcEP','YpCpa','&type=','qKUyr','desc','vXSFL','retcode','GncCU','name','domainPskeyMap','grtwm','jjdxN','decorate','获取群聊炽焰失败','vhxLr','&text=','dPdIm','Vbctb','ZQjog','ZhQOl','HttpGetJson','iCypH','sknUx','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','bBfWO',';\x20uin=o','FyZxw','获取龙王信息失败','UShih','genBkn','mXmBe','IjvVO','cuOvE','dGHPs','get','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','emotion_list','parse','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','hPJQX','EfclC','fqqNQ','GYTzg','Kgpek','VqrSx','ZYHpy','IDYgr','lBGWl','369405bgvYvR','toString','UQIZx','webapi_get_group_members','TALKACTIVE','errcode','avatar','GET','112aPhqNx','function','strong_newbie','JNIdf','&qid=','AZWFJ','LSVgV','GQmxq','&page_start=','uZyBs','Stsve','BxmVB','p_skey=','jqJqY','qun.qq.com','lMzXw','lULFD'];_0x1598=function(){return _0x499c11;};return _0x1598();}function _0x45d0(_0x4ea73b,_0x24a0ec){const _0x1598e6=_0x1598();return _0x45d0=function(_0x45d083,_0x48ca3b){_0x45d083=_0x45d083-0x16e;let _0x1f4e5f=_0x1598e6[_0x45d083];return _0x1f4e5f;},_0x45d0(_0x4ea73b,_0x24a0ec);}export var WebHonorType;(function(_0xcf07a3){const _0xe76ff5=_0x4d19a4,_0x3c3242={'GYTzg':_0xe76ff5(0x1ca),'Etpun':'all','hPJQX':_0xe76ff5(0x1c7),'HBcEP':_0xe76ff5(0x196),'IjvVO':_0xe76ff5(0x197),'VqrSx':_0xe76ff5(0x1a7),'lMzXw':'TALKACTIVE','dPdIm':_0xe76ff5(0x17d)},_0x453853=_0xe76ff5(0x176)['split']('|');let _0x1975b9=0x0;while(!![]){switch(_0x453853[_0x1975b9++]){case'0':_0xcf07a3[_0x3c3242[_0xe76ff5(0x1f5)]]=_0x3c3242['Etpun'];continue;case'1':_0xcf07a3[_0x3c3242[_0xe76ff5(0x1f2)]]=_0xe76ff5(0x205);continue;case'2':_0xcf07a3[_0x3c3242[_0xe76ff5(0x1cb)]]=_0x3c3242[_0xe76ff5(0x1ea)];continue;case'3':_0xcf07a3[_0xe76ff5(0x21e)]=_0x3c3242[_0xe76ff5(0x1f7)];continue;case'4':_0xcf07a3[_0x3c3242[_0xe76ff5(0x212)]]=_0x3c3242[_0xe76ff5(0x1db)];continue;case'5':_0xcf07a3[_0xe76ff5(0x21d)]='emotion';continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x4d19a4(0x1ab)](_0x538668,_0x30e9b9){const _0x26f4d8=_0x4d19a4,_0x2086b5={'WJrsx':_0x26f4d8(0x211),'iSMyN':function(_0x28a71e,_0xee5e89){return _0x28a71e+_0xee5e89;},'mgKuZ':function(_0x102737,_0x3da0aa){return _0x102737+_0x3da0aa;},'ClUwK':function(_0x22696b,_0xe28e5b){return _0x22696b+_0xe28e5b;},'rNpCC':function(_0x4f01a3,_0x1f7e04){return _0x4f01a3+_0x1f7e04;},'nngHa':'p_skey=','SegEu':_0x26f4d8(0x192),'mRPxE':';\x20uin=o','Stsve':function(_0x4ed26b,_0x19690b){return _0x4ed26b||_0x19690b;},'Kgpek':function(_0x4bc3e1,_0x5b008f){return _0x4bc3e1+_0x5b008f;},'Ppctt':function(_0x30a955,_0x6c5d52){return _0x30a955+_0x6c5d52;},'YpCpa':function(_0x399e94,_0x4f5cfd){return _0x399e94+_0x4f5cfd;},'bdcsW':function(_0x508710,_0x4b1188){return _0x508710+_0x4b1188;},'qKUyr':_0x26f4d8(0x1a0),'FwEgo':_0x26f4d8(0x20b),'emZfU':_0x26f4d8(0x216),'jjdxN':_0x26f4d8(0x202),'NkGtZ':function(_0x5f290b,_0x808d9b){return _0x5f290b!==_0x808d9b;}},_0x8bc00f=(await NTQQUserApi[_0x26f4d8(0x18a)]([_0x2086b5[_0x26f4d8(0x183)]]))[_0x26f4d8(0x1d4)]['get'](_0x2086b5[_0x26f4d8(0x183)]),_0x209f76=await NTQQUserApi[_0x26f4d8(0x1a8)](),_0x141cf7=_0x2086b5['iSMyN'](_0x2086b5[_0x26f4d8(0x1a3)](_0x2086b5[_0x26f4d8(0x1a3)](_0x2086b5[_0x26f4d8(0x1b4)](_0x2086b5['ClUwK'](_0x2086b5[_0x26f4d8(0x194)](_0x2086b5['nngHa'],_0x8bc00f),_0x2086b5[_0x26f4d8(0x1ac)]),_0x209f76)+';\x20p_uin=o',selfInfo[_0x26f4d8(0x1c8)]),_0x2086b5['mRPxE']),selfInfo[_0x26f4d8(0x1c8)]);if(_0x2086b5[_0x26f4d8(0x20d)](!_0x209f76,!_0x8bc00f))return undefined;const _0x5f330e=WebApi[_0x26f4d8(0x1e8)](_0x209f76),_0x5a32dd=_0x2086b5[_0x26f4d8(0x1f6)](_0x2086b5[_0x26f4d8(0x184)](_0x2086b5['YpCpa'](_0x2086b5[_0x26f4d8(0x1cc)](_0x2086b5[_0x26f4d8(0x21c)](_0x26f4d8(0x199)+_0x5f330e,_0x2086b5[_0x26f4d8(0x1ce)]),_0x538668),_0x2086b5[_0x26f4d8(0x219)]),_0x30e9b9),_0x2086b5[_0x26f4d8(0x1af)]);let _0x466dcc;try{_0x466dcc=await RequestUtil[_0x26f4d8(0x1df)](_0x5a32dd,_0x2086b5[_0x26f4d8(0x1d6)],'',{'Cookie':_0x141cf7});}catch{return undefined;}if(_0x2086b5[_0x26f4d8(0x1b3)](_0x466dcc[_0x26f4d8(0x1d1)],0x0))return undefined;return _0x466dcc;}static async[_0x4d19a4(0x18c)](_0x1b2bbc,_0x1a2bf2=!![]){const _0x3c03fd=_0x4d19a4,_0xaf40be={'xstYd':_0x3c03fd(0x211),'KBpYR':function(_0x4d4bea,_0x2f92d4){return _0x4d4bea+_0x2f92d4;},'YfeJb':function(_0x446700,_0x494370){return _0x446700+_0x494370;},'QZMKV':_0x3c03fd(0x20f),'grtwm':_0x3c03fd(0x192),'zhFRt':_0x3c03fd(0x21f),'fQyBU':function(_0x208a91,_0x1d2f43){return _0x208a91+_0x1d2f43;},'mXmBe':_0x3c03fd(0x173),'kEIvu':_0x3c03fd(0x1c9),'QabOx':_0x3c03fd(0x1a6),'dKBmR':function(_0x4ddc66,_0x310215){return _0x4ddc66!==_0x310215;},'cuOvE':function(_0x1e8312,_0x827d46){return _0x1e8312<=_0x827d46;},'jPYDE':function(_0x5d43e3,_0x5ce98c){return _0x5d43e3+_0x5ce98c;},'FAcSF':_0x3c03fd(0x1e2),'HimwS':function(_0x333a6b,_0x174222){return _0x333a6b*_0x174222;},'eEJJV':function(_0x2a8a79,_0x47e6ce){return _0x2a8a79-_0x47e6ce;},'ysMqC':'&end=','LKOwd':function(_0x349d89,_0x14e0e8){return _0x349d89*_0x14e0e8;},'JNIdf':'&sort=1&gc=','LecMD':function(_0x349866,_0x183727){return _0x349866<=_0x183727;},'FtMJK':function(_0x18ab98,_0x3c63b4){return _0x18ab98!==_0x3c63b4;}};let _0x50ad79=new Array();try{const _0x39e23d=(await NTQQUserApi[_0x3c03fd(0x18a)]([_0xaf40be[_0x3c03fd(0x177)]]))[_0x3c03fd(0x1d4)][_0x3c03fd(0x1ed)](_0xaf40be['xstYd']),_0x40fab0=await NTQQUserApi[_0x3c03fd(0x1a8)](),_0x30bd6d=_0xaf40be[_0x3c03fd(0x1a4)](_0xaf40be['KBpYR'](_0xaf40be['YfeJb'](_0xaf40be['QZMKV'],_0x39e23d),_0xaf40be[_0x3c03fd(0x1d5)]),_0x40fab0)+_0xaf40be[_0x3c03fd(0x186)]+selfInfo['uin'];if(!_0x40fab0||!_0x39e23d)return _0x50ad79;const _0x524ab1=WebApi[_0x3c03fd(0x1e8)](_0x40fab0),_0x38704b=[],_0x335bf5=await RequestUtil['HttpGetJson'](_0xaf40be[_0x3c03fd(0x1a4)](_0xaf40be[_0x3c03fd(0x17f)](_0xaf40be[_0x3c03fd(0x17f)](_0xaf40be[_0x3c03fd(0x1e9)],_0x1b2bbc),_0xaf40be[_0x3c03fd(0x19b)]),_0x524ab1),_0xaf40be['QabOx'],'',{'Cookie':_0x30bd6d});if(!_0x335bf5?.[_0x3c03fd(0x185)]||_0xaf40be[_0x3c03fd(0x218)](_0x335bf5?.[_0x3c03fd(0x200)],0x0)||!_0x335bf5?.[_0x3c03fd(0x1b8)])return[];else for(const _0x5afce1 in _0x335bf5[_0x3c03fd(0x1b8)]){_0x50ad79[_0x3c03fd(0x1a2)](_0x335bf5[_0x3c03fd(0x1b8)][_0x5afce1]);}const _0x3372fc=Math[_0x3c03fd(0x21a)](_0x335bf5['count']/0x28);for(let _0x26fed6=0x2;_0xaf40be[_0x3c03fd(0x1eb)](_0x26fed6,_0x3372fc);_0x26fed6++){const _0xa49037=RequestUtil[_0x3c03fd(0x1df)](_0xaf40be[_0x3c03fd(0x17f)](_0xaf40be[_0x3c03fd(0x17f)](_0xaf40be['jPYDE'](_0xaf40be[_0x3c03fd(0x1a4)](_0xaf40be['jPYDE'](_0xaf40be[_0x3c03fd(0x17b)],_0xaf40be[_0x3c03fd(0x181)](_0xaf40be[_0x3c03fd(0x16f)](_0x26fed6,0x1),0x28)),_0xaf40be[_0x3c03fd(0x179)])+_0xaf40be[_0x3c03fd(0x170)](_0x26fed6,0x28),_0xaf40be[_0x3c03fd(0x206)]),_0x1b2bbc),_0x3c03fd(0x1c9))+_0x524ab1,'POST','',{'Cookie':_0x30bd6d});_0x38704b[_0x3c03fd(0x1a2)](_0xa49037);}for(let _0x5859dd=0x1;_0xaf40be['LecMD'](_0x5859dd,_0x3372fc);_0x5859dd++){const _0x5278ca=await _0x38704b[_0x5859dd];if(!_0x5278ca?.[_0x3c03fd(0x185)]||_0xaf40be[_0x3c03fd(0x195)](_0x5278ca?.[_0x3c03fd(0x200)],0x0)||!_0x5278ca?.[_0x3c03fd(0x1b8)])continue;for(const _0x2cc3d5 in _0x5278ca[_0x3c03fd(0x1b8)]){_0x50ad79['push'](_0x5278ca[_0x3c03fd(0x1b8)][_0x2cc3d5]);}}}catch{return _0x50ad79;}return _0x50ad79;}static async['setGroupNotice'](_0x22bc63,_0x48796f=''){const _0x48de63=_0x4d19a4,_0x8b6d22={'UShih':_0x48de63(0x211),'gxhUR':function(_0x2c2f6e,_0x408d3d){return _0x2c2f6e+_0x408d3d;},'sknUx':function(_0x3d845f,_0x5a87b0){return _0x3d845f+_0x5a87b0;},'CIpkf':function(_0x2cbf40,_0xc5334d){return _0x2cbf40+_0xc5334d;},'olFaT':_0x48de63(0x20f),'GQmxq':';\x20skey=','URplt':function(_0x14fc94,_0x416b14){return _0x14fc94+_0x416b14;},'uZyBs':function(_0x5eade7,_0xd52bc){return _0x5eade7+_0xd52bc;},'jqJqY':function(_0x5ab810,_0x9ed227){return _0x5ab810+_0x9ed227;},'lBGWl':'qid=','fchzS':_0x48de63(0x1c9),'NwXTt':_0x48de63(0x1da),'vmXgG':_0x48de63(0x1f1),'BkGvT':'GET'},_0x1ba9bb=(await NTQQUserApi[_0x48de63(0x18a)]([_0x8b6d22[_0x48de63(0x1e7)]]))[_0x48de63(0x1d4)][_0x48de63(0x1ed)](_0x8b6d22[_0x48de63(0x1e7)]),_0x5c5dae=await NTQQUserApi['getSkey'](),_0x7127e9=_0x8b6d22['gxhUR'](_0x8b6d22[_0x48de63(0x1e1)](_0x8b6d22[_0x48de63(0x21b)](_0x8b6d22[_0x48de63(0x1e1)](_0x8b6d22[_0x48de63(0x21b)](_0x8b6d22['olFaT'],_0x1ba9bb),_0x8b6d22[_0x48de63(0x20a)]),_0x5c5dae),_0x48de63(0x21f)),selfInfo[_0x48de63(0x1c8)]);let _0x7c0726=undefined;if(!_0x5c5dae||!_0x1ba9bb)return undefined;const _0x4c1550=WebApi[_0x48de63(0x1e8)](_0x5c5dae),_0x5582e9=_0x8b6d22['URplt'](_0x8b6d22['gxhUR'](_0x8b6d22['uZyBs'](_0x8b6d22[_0x48de63(0x20c)](_0x8b6d22[_0x48de63(0x210)](_0x8b6d22[_0x48de63(0x1fa)],_0x22bc63),_0x8b6d22['fchzS']),_0x4c1550),_0x8b6d22[_0x48de63(0x1c4)]),_0x48796f)+_0x8b6d22[_0x48de63(0x172)],_0x2703b7=_0x8b6d22[_0x48de63(0x20c)](_0x48de63(0x1ee),_0x4c1550);try{return _0x7c0726=await RequestUtil['HttpGetJson'](_0x2703b7,_0x8b6d22[_0x48de63(0x1bf)],'',{'Cookie':_0x7127e9}),_0x7c0726;}catch(_0x4a39a6){return undefined;}return undefined;}static async[_0x4d19a4(0x1a5)](_0x59ca73){const _0x4bb576=_0x4d19a4,_0x37a437={'bZpzt':_0x4bb576(0x211),'fqqNQ':function(_0x44e9ab,_0x495463){return _0x44e9ab+_0x495463;},'ENmYW':function(_0x481df9,_0x2e4fd4){return _0x481df9+_0x2e4fd4;},'ftBzu':function(_0x580fa7,_0x4d3e3c){return _0x580fa7+_0x4d3e3c;},'BxmVB':function(_0x2bc4f2,_0x4d9956){return _0x2bc4f2+_0x4d9956;},'Vbctb':_0x4bb576(0x192),'lrQCJ':';\x20p_uin=o','UQIZx':function(_0x30125d,_0x2cf87b){return _0x30125d||_0x2cf87b;},'oxmsX':function(_0x19041f,_0x33060f){return _0x19041f+_0x33060f;},'JknYv':_0x4bb576(0x189),'rdNVe':_0x4bb576(0x207),'FsHtS':'GET','vhxLr':function(_0x4f8a3f,_0x3cdbaf){return _0x4f8a3f!==_0x3cdbaf;}},_0x4f5e02=(await NTQQUserApi[_0x4bb576(0x18a)]([_0x37a437[_0x4bb576(0x187)]]))[_0x4bb576(0x1d4)]['get'](_0x37a437[_0x4bb576(0x187)]),_0xef020e=await NTQQUserApi[_0x4bb576(0x1a8)](),_0x21c2cc=_0x37a437['fqqNQ'](_0x37a437[_0x4bb576(0x1c6)](_0x37a437[_0x4bb576(0x198)](_0x37a437[_0x4bb576(0x20e)](_0x37a437[_0x4bb576(0x1f4)](_0x4bb576(0x20f),_0x4f5e02),_0x37a437[_0x4bb576(0x1dc)]),_0xef020e),_0x37a437[_0x4bb576(0x1c3)]),selfInfo['uin']);let _0x12c611=undefined;if(_0x37a437[_0x4bb576(0x1fd)](!_0xef020e,!_0x4f5e02))return undefined;const _0x2c3a17=WebApi[_0x4bb576(0x1e8)](_0xef020e),_0xe63de5=_0x37a437[_0x4bb576(0x180)](_0x37a437[_0x4bb576(0x180)](_0x37a437[_0x4bb576(0x1f4)](_0x37a437['oxmsX'](_0x37a437['JknYv'],_0x2c3a17),_0x37a437[_0x4bb576(0x1ad)]),_0x59ca73),_0x4bb576(0x1bc));try{_0x12c611=await RequestUtil[_0x4bb576(0x1df)](_0xe63de5,_0x37a437['FsHtS'],'',{'Cookie':_0x21c2cc});if(_0x37a437[_0x4bb576(0x1d9)](_0x12c611?.['ec'],0x0))return undefined;return _0x12c611;}catch(_0x4cac3d){return undefined;}return undefined;}static[_0x4d19a4(0x1e8)](_0x398889){const _0x4a845c=_0x4d19a4,_0x835a5={'ZhQOl':function(_0x43c578,_0x56eaf6){return _0x43c578||_0x56eaf6;},'dHUjj':function(_0x20a565,_0x33ab9c){return _0x20a565+_0x33ab9c;},'AZWFJ':function(_0x49f3fb,_0x157871){return _0x49f3fb+_0x157871;},'MmtQE':function(_0x359d0e,_0x49ecc1){return _0x359d0e<<_0x49ecc1;},'WEpZA':function(_0x228708,_0x292a64){return _0x228708&_0x292a64;}};_0x398889=_0x835a5[_0x4a845c(0x1de)](_0x398889,'');let _0x4b3291=0x1505;for(let _0x281867=0x0;_0x281867<_0x398889[_0x4a845c(0x175)];_0x281867++){const _0x10a779=_0x398889['charCodeAt'](_0x281867);_0x4b3291=_0x835a5['dHUjj'](_0x835a5[_0x4a845c(0x208)](_0x4b3291,_0x835a5['MmtQE'](_0x4b3291,0x5)),_0x10a779);}return _0x835a5[_0x4a845c(0x1c0)](_0x4b3291,0x7fffffff)[_0x4a845c(0x1fc)]();}static async[_0x4d19a4(0x1b1)](_0x59f63d,_0x5d960b){const _0x5c5bda=_0x4d19a4,_0x4f72dd={'dGHPs':function(_0x4c9999,_0x51aeeb){return _0x4c9999+_0x51aeeb;},'LSVgV':function(_0x2dae54,_0x2a7a12){return _0x2dae54+_0x2a7a12;},'VCTGn':_0x5c5bda(0x190),'NHXYJ':_0x5c5bda(0x1cd),'TanAt':'GET','FyZxw':function(_0xcd1731,_0x7b9233){return _0xcd1731===_0x7b9233;},'XDGxb':function(_0x270293,_0x15bd1b,_0x109638,_0x152a28){return _0x270293(_0x15bd1b,_0x109638,_0x152a28);},'sFXdA':'获取当前群荣耀失败','URdAb':_0x5c5bda(0x211),'LFEPe':function(_0x5e5d14,_0xf503e8){return _0x5e5d14||_0xf503e8;},'iCypH':function(_0x504592,_0x4ff4f7){return _0x504592+_0x4ff4f7;},'piAen':'p_skey=','ZYHpy':_0x5c5bda(0x192),'fKnjc':_0x5c5bda(0x21f),'JUsOL':_0x5c5bda(0x1e4),'brqiu':function(_0x33b287,_0x246222,_0x5e125d){return _0x33b287(_0x246222,_0x5e125d);},'GNNRV':_0x5c5bda(0x1e6),'EwyXM':function(_0x1bd6c3,_0x359ec9){return _0x1bd6c3(_0x359ec9);},'GncCU':function(_0x528238,_0x78c048,_0x48d2ed){return _0x528238(_0x78c048,_0x48d2ed);},'TvhiF':'获取群聊之火失败','bBfWO':function(_0x36dcb6,_0x5d194c){return _0x36dcb6===_0x5d194c;},'lULFD':function(_0x298c84,_0x512c6b){return _0x298c84===_0x512c6b;},'EfclC':_0x5c5bda(0x1d8),'IDYgr':function(_0x1d15d3,_0x545a93,_0xaaae86){return _0x1d15d3(_0x545a93,_0xaaae86);},'yufgy':function(_0x31f146,_0x36f639){return _0x31f146===_0x36f639;},'IpPNe':_0x5c5bda(0x214),'TMNzh':function(_0x270340,_0x13ac11,_0x15ca05){return _0x270340(_0x13ac11,_0x15ca05);}},_0xddeb3e=(await NTQQUserApi[_0x5c5bda(0x18a)]([_0x4f72dd[_0x5c5bda(0x17e)]]))[_0x5c5bda(0x1d4)]['get'](_0x4f72dd[_0x5c5bda(0x17e)]),_0x276939=await NTQQUserApi[_0x5c5bda(0x1a8)]();if(_0x4f72dd[_0x5c5bda(0x1a1)](!_0x276939,!_0xddeb3e))return undefined;async function _0x51d05e(_0x3ce56c,_0x55794b){const _0x106f64=_0x5c5bda;let _0x4de4b3=_0x4f72dd['dGHPs'](_0x4f72dd[_0x106f64(0x209)](_0x4f72dd['LSVgV'](_0x4f72dd['VCTGn'],_0x3ce56c),_0x4f72dd[_0x106f64(0x1b0)]),_0x55794b[_0x106f64(0x1fc)]()),_0x6a2db0='',_0x5d5234;try{_0x6a2db0=await RequestUtil[_0x106f64(0x18e)](_0x4de4b3,_0x4f72dd['TanAt'],'',{'Cookie':_0x58279e});const _0x3cd5d3=_0x6a2db0[_0x106f64(0x215)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3cd5d3&&(_0x5d5234=JSON[_0x106f64(0x1f0)](_0x3cd5d3[0x1][_0x106f64(0x1b2)]())),_0x4f72dd[_0x106f64(0x1e5)](_0x55794b,0x1)?_0x5d5234?.[_0x106f64(0x1c2)]:_0x5d5234?.[_0x106f64(0x193)];}catch(_0x395e4f){_0x4f72dd[_0x106f64(0x191)](logDebug,_0x4f72dd[_0x106f64(0x188)],_0x4de4b3,_0x395e4f);}return undefined;}let _0x470761={'group_id':_0x59f63d};const _0x58279e=_0x4f72dd['dGHPs'](_0x4f72dd[_0x5c5bda(0x1ec)](_0x4f72dd['LSVgV'](_0x4f72dd[_0x5c5bda(0x209)](_0x4f72dd[_0x5c5bda(0x1ec)](_0x4f72dd[_0x5c5bda(0x1e0)](_0x4f72dd[_0x5c5bda(0x1e0)](_0x4f72dd['piAen'],_0xddeb3e),_0x4f72dd[_0x5c5bda(0x1f8)]),_0x276939),_0x4f72dd['fKnjc']),selfInfo[_0x5c5bda(0x1c8)]),_0x4f72dd[_0x5c5bda(0x1bb)]),selfInfo[_0x5c5bda(0x1c8)]);if(_0x4f72dd[_0x5c5bda(0x1e5)](_0x5d960b,WebHonorType[_0x5c5bda(0x1ff)])||_0x4f72dd[_0x5c5bda(0x1e5)](_0x5d960b,WebHonorType['ALL']))try{let _0x19ad44=await _0x4f72dd[_0x5c5bda(0x1b6)](_0x51d05e,_0x59f63d,0x1);if(!_0x19ad44)throw new Error(_0x4f72dd[_0x5c5bda(0x1bd)]);_0x470761[_0x5c5bda(0x19d)]={'user_id':_0x19ad44[0x0]?.[_0x5c5bda(0x1c8)],'avatar':_0x19ad44[0x0]?.[_0x5c5bda(0x201)],'nickname':_0x19ad44[0x0]?.[_0x5c5bda(0x1d3)],'day_count':0x0,'description':_0x19ad44[0x0]?.[_0x5c5bda(0x1cf)]},_0x470761[_0x5c5bda(0x1c5)]=[];for(const _0x284e97 of _0x19ad44){_0x470761[_0x5c5bda(0x1c5)][_0x5c5bda(0x1a2)]({'user_id':_0x284e97?.['uin'],'avatar':_0x284e97?.[_0x5c5bda(0x201)],'description':_0x284e97?.['desc'],'day_count':0x0,'nickname':_0x284e97?.[_0x5c5bda(0x1d3)]});}}catch(_0x1f0457){_0x4f72dd[_0x5c5bda(0x19a)](logDebug,_0x1f0457);}if(_0x5d960b===WebHonorType[_0x5c5bda(0x196)]||_0x4f72dd['FyZxw'](_0x5d960b,WebHonorType['ALL']))try{let _0x2cc48c=await _0x4f72dd[_0x5c5bda(0x1d2)](_0x51d05e,_0x59f63d,0x2);if(!_0x2cc48c)throw new Error(_0x4f72dd['TvhiF']);_0x470761[_0x5c5bda(0x1a9)]=[];for(const _0x50c80e of _0x2cc48c){_0x470761[_0x5c5bda(0x1a9)]['push']({'user_id':_0x50c80e?.[_0x5c5bda(0x1c8)],'nickname':_0x50c80e?.[_0x5c5bda(0x1d3)],'avatar':_0x50c80e?.[_0x5c5bda(0x201)],'description':_0x50c80e?.['desc']});}}catch(_0xaffd2){_0x4f72dd[_0x5c5bda(0x19a)](logDebug,_0xaffd2);}if(_0x4f72dd[_0x5c5bda(0x1e3)](_0x5d960b,WebHonorType[_0x5c5bda(0x196)])||_0x4f72dd[_0x5c5bda(0x213)](_0x5d960b,WebHonorType[_0x5c5bda(0x1ca)]))try{let _0x9eb841=await _0x4f72dd['GncCU'](_0x51d05e,_0x59f63d,0x3);if(!_0x9eb841)throw new Error(_0x4f72dd[_0x5c5bda(0x1f3)]);_0x470761[_0x5c5bda(0x18f)]=[];for(const _0x4edc8e of _0x9eb841){_0x470761[_0x5c5bda(0x18f)]['push']({'user_id':_0x4edc8e?.[_0x5c5bda(0x1c8)],'nickname':_0x4edc8e?.['name'],'avatar':_0x4edc8e?.['avatar'],'desc':_0x4edc8e?.[_0x5c5bda(0x217)]});}}catch(_0x35f1d8){_0x4f72dd[_0x5c5bda(0x1f9)](logDebug,_0x4f72dd[_0x5c5bda(0x1f3)],_0x35f1d8);}if(_0x5d960b===WebHonorType[_0x5c5bda(0x21d)]||_0x4f72dd['yufgy'](_0x5d960b,WebHonorType[_0x5c5bda(0x1ca)]))try{let _0x528872=await _0x4f72dd[_0x5c5bda(0x1f9)](_0x51d05e,_0x59f63d,0x6);if(!_0x528872)throw new Error(_0x4f72dd[_0x5c5bda(0x1aa)]);_0x470761[_0x5c5bda(0x1ef)]=[];for(const _0x5346ae of _0x528872){_0x470761[_0x5c5bda(0x1ef)]['push']({'user_id':_0x5346ae?.['uin'],'nickname':_0x5346ae?.[_0x5c5bda(0x1d3)],'avatar':_0x5346ae?.[_0x5c5bda(0x201)],'desc':_0x5346ae?.[_0x5c5bda(0x217)]});}}catch(_0x57b4c0){_0x4f72dd[_0x5c5bda(0x174)](logDebug,_0x4f72dd[_0x5c5bda(0x1aa)],_0x57b4c0);}return(_0x4f72dd[_0x5c5bda(0x213)](_0x5d960b,WebHonorType[_0x5c5bda(0x21d)])||_0x5d960b===WebHonorType[_0x5c5bda(0x1ca)])&&(_0x470761['strong_newbie_list']=[]),_0x470761;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4d19a4(0x1fe))],WebApi,_0x4d19a4(0x1ab),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4d19a4(0x1fe))],WebApi,_0x4d19a4(0x18c),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x4d19a4(0x16e))],WebApi,_0x4d19a4(0x1b1),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 590779e0..17314fb7 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x164f36=_0x4b76;(function(_0x36c12e,_0x164a93){const _0x521483=_0x4b76,_0x4a6da2=_0x36c12e();while(!![]){try{const _0x59ce93=parseInt(_0x521483(0x21d))/0x1+parseInt(_0x521483(0x286))/0x2*(-parseInt(_0x521483(0x254))/0x3)+parseInt(_0x521483(0x227))/0x4+parseInt(_0x521483(0x23b))/0x5+-parseInt(_0x521483(0x273))/0x6+-parseInt(_0x521483(0x27e))/0x7+parseInt(_0x521483(0x1e4))/0x8*(parseInt(_0x521483(0x1e2))/0x9);if(_0x59ce93===_0x164a93)break;else _0x4a6da2['push'](_0x4a6da2['shift']());}catch(_0x460a32){_0x4a6da2['push'](_0x4a6da2['shift']());}}}(_0x5196,0x1bd2e));import _0x279e8b from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x4b76(_0xac6ef8,_0x3ba6fe){const _0x5196f6=_0x5196();return _0x4b76=function(_0x4b7660,_0x3622a7){_0x4b7660=_0x4b7660-0x1dc;let _0x2a27d4=_0x5196f6[_0x4b7660];return _0x2a27d4;},_0x4b76(_0xac6ef8,_0x3ba6fe);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x545de8 from'node:path';import _0x3ba9c0 from'node:os';import _0x3c88fd from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x3c1ec8 from'node:crypto';import{rawFriends,friends,groupMembers,selfInfo,stat}from'@/core/data';function _0x5196(){const _0x1999b6=['length','LocalLoginInfoList','get','pPKqe','jEdxO','getGroups','getNextMemberList','odTBB','1573663DRYERA','HVsUq','NodeIKernelLoginService','init','dataPath','getBuddyService','onKickedOffLine','CvMvd','2AZlCjH','result','tipsTitle','pItpF','zEyVD','read','consoleLog','getNTUserDataInfoConfig','addKernelBuddyListener','getProfileService','\x20has\x20no\x20method\x20','Gywdt','NodeIKernelProfileListener','addKernelLoginListener','gGWBz','GroupListener','tipsDesc','38043RoZhBq','NodeIKernelBuddyListener','216jiopkx','getLoginList','message_sent','BuddyListener','qYvpc','dWRZP','onBuddyListChange','QAwkd','split','GEpOa','getBuddyList','onRecvSysMsg','hwiQv','onSessionInitComplete','curVersion','onMemberListChange','resolve','MsgListener','启动失败:\x20','addKernelMsgListener','buddyList','errMsg','getQRCodePicture','loginErrorInfo','addKernelProfileListener','dataPathGlobal','qrLogin','当前账号(','initWithDeskTopConfig','getGroupService','-v2.db','update','onLineDev','gkmDn','HWHVt','V1_WIN_NQ_','JjBeM','pngBase64QrcodeData','quickLogin','nIAxs',')已登录,无法重复登录','SwvDh','set','uid','engine','has','VHHWB',')\x20在线状态变更','initSession','init\x20failed\x20','passwordLogin','onProfileDetailInfoChanged','./.config/QQ','onLoginFailed','initConfig','spTOQ','quickLoginWithUin','158241wVANKY','NodeIKernelMsgListener','stringify','RiXSj','undefined','homedir','infos','tYqaC','zMnev','QqpbQ','338440poMAUu','onRecvMsg','initDataListener','onLoginSuccessFuncList','groupMemberList_MainWindow','tlZOP','addListener','sceneId','NodeIDependsAdapter','session','pKEQa','qVgqp','addKernelGroupListener','jTEEt','NodeIKernelSessionListener','assign','本账号数据/缓存目录:','onQRCodeLoginSucceed','find','startNT','962220YzrENR','loginListener','message_received','NodeIKernelLoginListener','createHash','getMsgService','NodeIQQNTWrapperSession','nDYtl','xaWqe','hex','map','nyaNX','qrcodeUrl','forEach','onSelfStatusChanged','digest','onQRCodeGetPicture','onAddSendMsg','cxPbe','scYnx','packet_sent','Windows\x2010\x20Pro','YygiF','mkdirSync','proxyHandler','352290nudOvF','uin','now','140022013','isDelete','name','NodeQQNTWrapperUtil','onLoginSuccess','packet_received','data:image/png;base64,','_GW_B','NodeIQQNTWrapperEngine','Xpajs','MLUJP','HDOxp','onGroupListUpdate','floor','devUid','Yimop','constructor','快速登录不可用','没有可快速登录的QQ号','NodeIKernelGroupListener','loginService','groupCode','Fkcyn','[KickedOffLine]\x20[','ORZxd','last_message_time','yJOBh','util','559314jYwYEp','catch','then'];_0x5196=function(){return _0x1999b6;};return _0x5196();}import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';import{NTQQGroupApi}from'./apis';export class NapCatCore{[_0x164f36(0x230)];['util'];['engine'];[_0x164f36(0x23c)];[_0x164f36(0x26b)];[_0x164f36(0x22a)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0xc22b3c=_0x164f36,ZuhxzN={'YygiF':_0xc22b3c(0x221)};if(typeof target[prop]===ZuhxzN[_0xc22b3c(0x251)])return(...args)=>{const _0x369bae=_0xc22b3c;logDebug(target[_0x369bae(0x267)][_0x369bae(0x259)]+_0x369bae(0x290)+prop);};return Reflect[_0xc22b3c(0x278)](target,prop,receiver);}};constructor(){const _0x1365a5=_0x164f36,_0x251299={'MLUJP':function(_0x1930a6,_0x183dfa){return _0x1930a6(_0x183dfa);},'Fkcyn':function(_0x120f15,_0x585994){return _0x120f15+_0x585994;},'jTEEt':_0x1365a5(0x20c),'Yimop':function(_0x3200b3,_0x54d049){return _0x3200b3(_0x54d049);},'pItpF':function(_0x4d34c9,_0x3846ed,_0x10e1e8){return _0x4d34c9(_0x3846ed,_0x10e1e8);},'zEyVD':_0x1365a5(0x237),'gkmDn':'initSession\x20failed','HDOxp':function(_0x1a5236,_0xafe36a){return _0x1a5236==_0xafe36a;},'JjBeM':function(_0x470a33,_0x131246,_0x517b6c){return _0x470a33(_0x131246,_0x517b6c);},'odTBB':'登录失败(onLoginFailed)'};this[_0x1365a5(0x210)]=new _0x279e8b[(_0x1365a5(0x25f))](),this[_0x1365a5(0x272)]=new _0x279e8b[(_0x1365a5(0x25a))](),this['loginService']=new _0x279e8b[(_0x1365a5(0x280))](),this[_0x1365a5(0x230)]=new _0x279e8b[(_0x1365a5(0x241))](),this[_0x1365a5(0x23c)]=new LoginListener(),this[_0x1365a5(0x23c)]['onUserLoggedIn']=_0x42b071=>{const _0x5c5dbe=_0x1365a5;_0x251299[_0x5c5dbe(0x261)](logError,_0x251299[_0x5c5dbe(0x26d)](_0x5c5dbe(0x1ff),_0x42b071)+_0x251299[_0x5c5dbe(0x234)]);},this['initConfig'](),this[_0x1365a5(0x23c)][_0x1365a5(0x238)]=_0x49ebdc=>{const _0x45fdc1=_0x1365a5,_0x3927be={'gGWBz':'数据库初始化失败','qMArS':function(_0x3bdff2,_0x3661a3,_0x5e310b){return _0x3bdff2(_0x3661a3,_0x5e310b);},'xaWqe':_0x251299[_0x45fdc1(0x205)]};this[_0x45fdc1(0x214)](_0x49ebdc['uin'],_0x49ebdc[_0x45fdc1(0x20f)])[_0x45fdc1(0x275)](_0x4a8ab9=>{const _0x381a32=_0x45fdc1;selfInfo[_0x381a32(0x255)]=_0x49ebdc[_0x381a32(0x255)],selfInfo['uid']=_0x49ebdc[_0x381a32(0x20f)],napCatConfig[_0x381a32(0x28b)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig['consoleLogLevel']),_0x251299[_0x381a32(0x261)](enableFileLog,napCatConfig['fileLog']),_0x251299[_0x381a32(0x266)](enableConsoleLog,napCatConfig[_0x381a32(0x28c)]),_0x251299[_0x381a32(0x266)](setLogSelfInfo,selfInfo);const _0x1898d4=_0x545de8[_0x381a32(0x1f4)](this[_0x381a32(0x282)],'./NapCat/data');_0x3c88fd['mkdirSync'](_0x1898d4,{'recursive':!![]}),_0x251299[_0x381a32(0x289)](logDebug,_0x251299[_0x381a32(0x28a)],_0x1898d4),dbUtil[_0x381a32(0x281)](_0x545de8[_0x381a32(0x1f4)](_0x1898d4,'./'+_0x49ebdc[_0x381a32(0x255)]+_0x381a32(0x202)))[_0x381a32(0x275)](()=>{const _0x4b1769=_0x381a32,_0x54b240={'YjiFN':function(_0x2d0216,_0x108499,_0x4af1f1){return _0x2d0216(_0x108499,_0x4af1f1);}};this[_0x4b1769(0x229)](),this['onLoginSuccessFuncList'][_0x4b1769(0x245)](_0x8e1833=>{const _0x4d6594=_0x4b1769,_0x9a7011={'spTOQ':function(_0x254456,_0x1bca59,_0x98e1c6){return _0x54b240['YjiFN'](_0x254456,_0x1bca59,_0x98e1c6);}};new Promise((_0x1b7aed,_0x309e34)=>{const _0xa099c4=_0x4b76,_0x445359=_0x9a7011[_0xa099c4(0x21b)](_0x8e1833,_0x49ebdc[_0xa099c4(0x255)],_0x49ebdc[_0xa099c4(0x20f)]);_0x445359 instanceof Promise&&_0x445359[_0xa099c4(0x275)](_0x1b7aed)[_0xa099c4(0x274)](_0x309e34);})[_0x4d6594(0x275)]();});})[_0x381a32(0x274)](_0x502993=>{const _0x7b67fa=_0x381a32;logError(_0x3927be[_0x7b67fa(0x1df)],_0x502993);});})['catch'](_0x15de2a=>{const _0x2c070a=_0x45fdc1;_0x3927be['qMArS'](logError,_0x3927be[_0x2c070a(0x243)],_0x15de2a);throw new Error(_0x2c070a(0x1f6)+JSON[_0x2c070a(0x21f)](_0x15de2a));});},this[_0x1365a5(0x23c)]['onQRCodeSessionFailed']=(_0x1782ce,_0x5dd670,_0x320319)=>{const _0x167ac6=_0x1365a5;logError('登录失败(onQRCodeSessionFailed)',_0x320319),_0x251299[_0x167ac6(0x262)](_0x1782ce,0x1)&&_0x5dd670==0x3&&this[_0x167ac6(0x26b)][_0x167ac6(0x1fa)]();},this[_0x1365a5(0x23c)][_0x1365a5(0x219)]=_0x5baca6=>{const _0x3f0b99=_0x1365a5;_0x251299[_0x3f0b99(0x208)](logError,_0x251299[_0x3f0b99(0x27d)],_0x5baca6);},this[_0x1365a5(0x23c)]=new Proxy(this[_0x1365a5(0x23c)],this['proxyHandler']),this[_0x1365a5(0x26b)][_0x1365a5(0x1de)](new _0x279e8b[(_0x1365a5(0x23e))](this[_0x1365a5(0x23c)]));}get['dataPath'](){const _0x4aa72c=_0x164f36,_0x10deac={'Gywdt':_0x4aa72c(0x218)};let _0x4cc743=this[_0x4aa72c(0x272)][_0x4aa72c(0x28d)]();return!_0x4cc743&&(_0x4cc743=_0x545de8[_0x4aa72c(0x1f4)](_0x3ba9c0[_0x4aa72c(0x222)](),_0x10deac[_0x4aa72c(0x1dc)]),_0x3c88fd[_0x4aa72c(0x252)](_0x4cc743,{'recursive':!![]})),_0x4cc743;}get['dataPathGlobal'](){const _0x29747c=_0x164f36,_0x44f0be={'VHHWB':'./nt_qq/global'};return _0x545de8[_0x29747c(0x1f4)](this['dataPath'],_0x44f0be[_0x29747c(0x212)]);}[_0x164f36(0x21a)](){const _0x2f5d78=_0x164f36;this['engine'][_0x2f5d78(0x200)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x2f5d78(0x1f2)],'os_version':_0x2f5d78(0x250),'use_xlog':!![],'qua':_0x2f5d78(0x207)+qqVersionConfigInfo['curVersion']['replace']('-','_')+_0x2f5d78(0x25e),'global_path_config':{'desktopGlobalPath':this[_0x2f5d78(0x1fd)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x279e8b['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x2f5d78(0x26b)][_0x2f5d78(0x21a)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x2f5d78(0x1fd)],'clientVer':qqVersionConfigInfo[_0x2f5d78(0x1f2)],'hostName':hostname});}[_0x164f36(0x214)](_0x3029f9,_0x2c023c){const _0x4395fd={'QqpbQ':function(_0x137c2b,_0x6ff2a3){return _0x137c2b(_0x6ff2a3);},'QkCPh':function(_0x17973f,_0x17db52,_0x320a70,_0x2d8371){return _0x17973f(_0x17db52,_0x320a70,_0x2d8371);},'nDYtl':function(_0x3b1504,_0x58a11b){return _0x3b1504(_0x58a11b);}};return new Promise(async(_0x1d2045,_0x414c0b)=>{const _0x1ba2b6=_0x4b76,_0x535260=await _0x4395fd['QkCPh'](genSessionConfig,_0x3029f9,_0x2c023c,this['dataPath']),_0x1ba45a=new SessionListener();_0x1ba45a[_0x1ba2b6(0x1f1)]=_0x1ae429=>{const _0x4548ab=_0x1ba2b6;if(_0x1ae429===0x0)return _0x4395fd['QqpbQ'](_0x1d2045,0x0);_0x4395fd[_0x4548ab(0x226)](_0x414c0b,_0x1ae429);},this[_0x1ba2b6(0x230)][_0x1ba2b6(0x281)](_0x535260,new _0x279e8b[(_0x1ba2b6(0x22f))](new DependsAdapter()),new _0x279e8b['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x279e8b[(_0x1ba2b6(0x235))](_0x1ba45a));try{this[_0x1ba2b6(0x230)][_0x1ba2b6(0x23a)](0x0);}catch(_0x5e0621){try{this[_0x1ba2b6(0x230)][_0x1ba2b6(0x23a)]();}catch(_0x46f1c7){_0x4395fd[_0x1ba2b6(0x242)](_0x414c0b,_0x1ba2b6(0x215)+_0x46f1c7);}}});}[_0x164f36(0x229)](){const _0x59b63c=_0x164f36,_0x4e7d90={'pPKqe':function(_0x34aa39,_0x3c8d5e){return _0x34aa39===_0x3c8d5e;},'SwvDh':function(_0xc1aba6,_0x49ac8b){return _0xc1aba6(_0x49ac8b);},'QAwkd':function(_0x3bfb3a,_0x600362){return _0x3bfb3a+_0x600362;},'pKEQa':'账号设备(','dkwHz':_0x59b63c(0x213),'ORZxd':function(_0x2eae83,_0x380a8e){return _0x2eae83+_0x380a8e;},'qVgqp':function(_0x1a3e3c,_0x2b995b){return _0x1a3e3c+_0x2b995b;},'dWRZP':function(_0x1edadd,_0x4ecf4d){return _0x1edadd/_0x4ecf4d;},'WwzIG':function(_0x461047,_0x1c9a7c){return _0x461047/_0x1c9a7c;},'HWHVt':_0x59b63c(0x22b),'zMnev':function(_0x12e7f1,_0x5327a1){return _0x12e7f1===_0x5327a1;},'GEpOa':function(_0xf6f6e8,_0x12d614,_0x2c4672){return _0xf6f6e8(_0x12d614,_0x2c4672);}},_0x1b36c8=new MsgListener();_0x1b36c8[_0x59b63c(0x204)]=_0x3929b0=>{const _0x50fc35=_0x59b63c;_0x3929b0[_0x50fc35(0x245)](_0x2e69a0=>{const _0x5cffb4=_0x50fc35;_0x4e7d90[_0x5cffb4(0x279)](_0x2e69a0['clientType'],0x2)&&_0x4e7d90[_0x5cffb4(0x20d)](log,_0x4e7d90['QAwkd'](_0x4e7d90[_0x5cffb4(0x1eb)](_0x4e7d90[_0x5cffb4(0x231)],_0x2e69a0[_0x5cffb4(0x265)]),_0x4e7d90['dkwHz']));});},_0x1b36c8[_0x59b63c(0x284)]=_0x28c039=>{const _0x305998=_0x59b63c;log(_0x4e7d90[_0x305998(0x26f)](_0x4e7d90[_0x305998(0x232)](_0x305998(0x26e)+_0x28c039[_0x305998(0x288)],']\x20'),_0x28c039[_0x305998(0x1e1)]));},_0x1b36c8[_0x59b63c(0x24c)]=_0x3259c9=>{const _0x40e59b=_0x59b63c;stat[_0x40e59b(0x24f)]+=0x1,stat[_0x40e59b(0x1e6)]+=0x1,stat[_0x40e59b(0x270)]=Math['floor'](_0x4e7d90[_0x40e59b(0x1e9)](Date['now'](),0x3e8));},_0x1b36c8[_0x59b63c(0x228)]=_0x38b2af=>{const _0x5e423f=_0x59b63c;stat[_0x5e423f(0x25c)]+=0x1,stat[_0x5e423f(0x23d)]+=_0x38b2af[_0x5e423f(0x276)],stat['last_message_time']=Math[_0x5e423f(0x264)](_0x4e7d90['WwzIG'](Date[_0x5e423f(0x256)](),0x3e8));},_0x1b36c8[_0x59b63c(0x1ef)]=(..._0x3c75ce)=>{const _0x36d2e8=_0x59b63c;stat[_0x36d2e8(0x25c)]+=0x1;},this[_0x59b63c(0x22d)](_0x1b36c8);const _0x10b476=new BuddyListener();_0x10b476[_0x59b63c(0x1ea)]=_0x30de35=>{const _0x381dd2=_0x59b63c;rawFriends['length']=0x0,rawFriends['push'](..._0x30de35);for(const _0x40c7d9 of _0x30de35){for(const _0x2eba96 of _0x40c7d9[_0x381dd2(0x1f8)]){const _0x5a14db=friends[_0x381dd2(0x278)](_0x2eba96[_0x381dd2(0x20f)]);_0x5a14db?Object[_0x381dd2(0x236)](_0x5a14db,_0x2eba96):friends[_0x381dd2(0x20e)](_0x2eba96[_0x381dd2(0x20f)],_0x2eba96);}}},this[_0x59b63c(0x22d)](_0x10b476),this[_0x59b63c(0x230)][_0x59b63c(0x283)]()[_0x59b63c(0x1ee)](!![])['then'](_0x499db2=>{});const _0x3e8e5e=new ProfileListener();_0x3e8e5e[_0x59b63c(0x217)]=_0x93bf52=>{const _0x4c98e3=_0x59b63c;_0x93bf52[_0x4c98e3(0x20f)]===selfInfo['uid']&&Object[_0x4c98e3(0x236)](selfInfo,_0x93bf52);},_0x3e8e5e[_0x59b63c(0x249)]=_0x100ed8=>{},this[_0x59b63c(0x22d)](_0x3e8e5e);const _0x4b3b8c=new GroupListener();_0x4b3b8c[_0x59b63c(0x263)]=(_0x53415e,_0x72faf2)=>{const _0x21e404=_0x59b63c,_0x5a852f={'qYvpc':_0x4e7d90[_0x21e404(0x206)]};_0x72faf2[_0x21e404(0x245)](_0x3f6e1c=>{const _0x357eb0=_0x21e404,_0x5304ba=this[_0x357eb0(0x230)][_0x357eb0(0x201)]()['createMemberListScene'](_0x3f6e1c[_0x357eb0(0x26c)],_0x5a852f[_0x357eb0(0x1e8)]);this['session'][_0x357eb0(0x201)]()[_0x357eb0(0x27c)](_0x5304ba,undefined,0xbb8)[_0x357eb0(0x275)](_0x5eefa3=>{});});},_0x4b3b8c[_0x59b63c(0x1f3)]=_0x5b4447=>{const _0x193164=_0x59b63c,_0x5492ba=_0x5b4447[_0x193164(0x22e)]['split']('_')[0x0];if(groupMembers[_0x193164(0x211)](_0x5492ba)){const _0x2f6ce9=groupMembers['get'](_0x5492ba);_0x5b4447[_0x193164(0x223)][_0x193164(0x248)]((_0xca85b0,_0x21f127)=>{const _0x17e599=_0x193164,_0x1fd8ba=_0x2f6ce9[_0x17e599(0x278)](_0x21f127);_0x1fd8ba?Object[_0x17e599(0x236)](_0x1fd8ba,_0xca85b0):_0x2f6ce9[_0x17e599(0x20e)](_0x21f127,_0xca85b0);});}else groupMembers[_0x193164(0x20e)](_0x5492ba,_0x5b4447['infos']);},_0x4b3b8c['onMemberInfoChange']=(_0x50d93e,_0x1df4d5,_0x11a7b9)=>{const _0x31a935=_0x59b63c;_0x4e7d90[_0x31a935(0x225)](_0x1df4d5,0x0)&&_0x11a7b9[_0x31a935(0x278)](selfInfo[_0x31a935(0x20f)])&&_0x11a7b9['get'](selfInfo[_0x31a935(0x20f)])?.[_0x31a935(0x258)]&&_0x4e7d90[_0x31a935(0x1ed)](setTimeout,()=>{const _0x3c2a64=_0x31a935;NTQQGroupApi[_0x3c2a64(0x27b)](!![])[_0x3c2a64(0x275)]();},0x1388);const _0x3a5e26=groupMembers[_0x31a935(0x278)](_0x50d93e);_0x3a5e26?_0x11a7b9['forEach']((_0x432241,_0x21c6f5)=>{const _0x3d0c1e=_0x31a935,_0x4e8f27=_0x3a5e26['get'](_0x21c6f5);_0x4e8f27?Object[_0x3d0c1e(0x236)](_0x4e8f27,_0x432241):_0x3a5e26[_0x3d0c1e(0x20e)](_0x21c6f5,_0x432241);}):groupMembers['set'](_0x50d93e,_0x11a7b9);},this[_0x59b63c(0x22d)](_0x4b3b8c);}['addListener'](_0x549721){const _0x22360e=_0x164f36,_0x48edd1={'nIAxs':_0x22360e(0x1e7),'yJOBh':_0x22360e(0x1e0)};_0x549721=new Proxy(_0x549721,this[_0x22360e(0x253)]);switch(_0x549721[_0x22360e(0x267)][_0x22360e(0x259)]){case _0x48edd1[_0x22360e(0x20b)]:{return this[_0x22360e(0x230)][_0x22360e(0x283)]()[_0x22360e(0x28e)](new _0x279e8b[(_0x22360e(0x1e3))](_0x549721));}case _0x48edd1[_0x22360e(0x271)]:{return this[_0x22360e(0x230)][_0x22360e(0x201)]()[_0x22360e(0x233)](new _0x279e8b[(_0x22360e(0x26a))](_0x549721));}case _0x22360e(0x1f5):{return this[_0x22360e(0x230)][_0x22360e(0x240)]()[_0x22360e(0x1f7)](new _0x279e8b[(_0x22360e(0x21e))](_0x549721));}case'ProfileListener':{return this['session'][_0x22360e(0x28f)]()[_0x22360e(0x1fc)](new _0x279e8b[(_0x22360e(0x1dd))](_0x549721));}default:return-0x1;}}[_0x164f36(0x25b)](_0x33661b){const _0x2ced83=_0x164f36;NTEventDispatch[_0x2ced83(0x281)]({'ListenerMap':_0x279e8b,'WrapperSession':this['session']}),this['onLoginSuccessFuncList']['push'](_0x33661b);}async[_0x164f36(0x20a)](_0x2c773a){const _0x5172bd=_0x164f36,_0xf522a2={'tlZOP':function(_0x54823a,_0x988ed3){return _0x54823a!==_0x988ed3;},'JiZbC':_0x5172bd(0x269),'nyaNX':function(_0x4fcccd,_0x4a5347){return _0x4fcccd(_0x4a5347);},'HcMqN':'快速登录失败\x20'},_0x2adbe1=await this[_0x5172bd(0x26b)][_0x5172bd(0x1e5)]();if(_0xf522a2[_0x5172bd(0x22c)](_0x2adbe1[_0x5172bd(0x287)],0x0))throw new Error(_0xf522a2['JiZbC']);const _0x1631b3=_0x2adbe1[_0x5172bd(0x277)][_0x5172bd(0x239)](_0x3ff063=>_0x3ff063[_0x5172bd(0x255)]===_0x2c773a);if(!_0x1631b3||!_0x1631b3?.['isQuickLogin'])throw new Error(_0x2c773a+_0x5172bd(0x268));await _0xf522a2[_0x5172bd(0x246)](sleep,0x3e8);const _0x5cc903=await this['loginService'][_0x5172bd(0x21c)](_0x2c773a);if(!_0x5cc903['result'])throw new Error(_0xf522a2['HcMqN']+_0x5cc903[_0x5172bd(0x1fb)][_0x5172bd(0x1f9)]);return _0x5cc903;}async[_0x164f36(0x1fe)](_0x159e12){const _0x20f6c2={'FGDVN':'base64','hwiQv':function(_0x568f93,_0x37d83c,_0x16a155,_0x15cc1d){return _0x568f93(_0x37d83c,_0x16a155,_0x15cc1d);}};return new Promise((_0x3682db,_0x1c3eb1)=>{const _0x5f581a=_0x4b76,_0x20de65={'cxPbe':_0x5f581a(0x25d),'tYqaC':_0x20f6c2['FGDVN'],'NeWBz':function(_0x474457,_0x386241,_0x9e45c7,_0x3ced2e){const _0x539989=_0x5f581a;return _0x20f6c2[_0x539989(0x1f0)](_0x474457,_0x386241,_0x9e45c7,_0x3ced2e);}};this['loginListener'][_0x5f581a(0x24b)]=_0x2f4769=>{const _0x2176fd=_0x5f581a,_0x48d6a7=_0x2f4769[_0x2176fd(0x209)][_0x2176fd(0x1ec)](_0x20de65[_0x2176fd(0x24d)])[0x1],_0x20076b=Buffer['from'](_0x48d6a7,_0x20de65[_0x2176fd(0x224)]);_0x20de65['NeWBz'](_0x159e12,_0x2f4769[_0x2176fd(0x247)],_0x2f4769[_0x2176fd(0x209)],_0x20076b);},this[_0x5f581a(0x26b)][_0x5f581a(0x1fa)]();});}async[_0x164f36(0x216)](_0x5b11fa,_0x332211,_0x11e638,_0x2e05d2,_0x363859){const _0x8a8aae=_0x164f36,_0x4d85d2={'Xpajs':'md5','ibsKl':_0x8a8aae(0x244),'HVsUq':function(_0x33de6c,_0x2e1da0){return _0x33de6c&&_0x2e1da0;},'CvMvd':function(_0x48c94b,_0x5ad070){return _0x48c94b||_0x5ad070;},'DNeqa':function(_0x1707c5,_0xebfede){return _0x1707c5||_0xebfede;},'scYnx':function(_0x1b15ab,_0x1a18db){return _0x1b15ab||_0x1a18db;},'RiXSj':function(_0x28756e,_0x522278){return _0x28756e(_0x522278);},'jEdxO':_0x8a8aae(0x257)},_0x396267=_0x3c1ec8[_0x8a8aae(0x23f)](_0x4d85d2[_0x8a8aae(0x260)])[_0x8a8aae(0x203)](_0x332211)[_0x8a8aae(0x24a)](_0x4d85d2['ibsKl']),_0x375d42={'uin':_0x5b11fa,'passwordMd5':_0x396267,'step':_0x4d85d2[_0x8a8aae(0x27f)](_0x11e638,_0x2e05d2)&&_0x363859?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4d85d2[_0x8a8aae(0x285)](_0x11e638,''),'proofWaterRand':_0x4d85d2['DNeqa'](_0x2e05d2,''),'proofWaterSid':_0x4d85d2[_0x8a8aae(0x24e)](_0x363859,'')};await this[_0x8a8aae(0x26b)][_0x8a8aae(0x1e5)](),await _0x4d85d2[_0x8a8aae(0x220)](sleep,0x3e8);const _0xd58408=await this['loginService'][_0x8a8aae(0x216)](_0x375d42);switch(_0xd58408[_0x8a8aae(0x287)]){case'0':{break;}case'140022008':{break;}case'4':case _0x4d85d2[_0x8a8aae(0x27a)]:default:}}async['getQuickLoginList'](){const _0x5a3aa0=_0x164f36,_0x3bc400=await this[_0x5a3aa0(0x26b)]['getLoginList']();return _0x3bc400;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x4320cc=_0x23e8;(function(_0xc60258,_0x1b5f10){const _0x90b65c=_0x23e8,_0x1b5813=_0xc60258();while(!![]){try{const _0xf6e908=-parseInt(_0x90b65c(0x1ee))/0x1*(parseInt(_0x90b65c(0x206))/0x2)+-parseInt(_0x90b65c(0x203))/0x3+-parseInt(_0x90b65c(0x1e1))/0x4+-parseInt(_0x90b65c(0x234))/0x5+-parseInt(_0x90b65c(0x1fa))/0x6*(parseInt(_0x90b65c(0x1e3))/0x7)+-parseInt(_0x90b65c(0x215))/0x8*(parseInt(_0x90b65c(0x1a1))/0x9)+-parseInt(_0x90b65c(0x221))/0xa*(-parseInt(_0x90b65c(0x24b))/0xb);if(_0xf6e908===_0x1b5f10)break;else _0x1b5813['push'](_0x1b5813['shift']());}catch(_0x294ca5){_0x1b5813['push'](_0x1b5813['shift']());}}}(_0x21b9,0x381aa));import _0x626d97 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';function _0x23e8(_0x5d3898,_0x4a3459){const _0x21b966=_0x21b9();return _0x23e8=function(_0x23e8a3,_0x589d50){_0x23e8a3=_0x23e8a3-0x190;let _0xa201b2=_0x21b966[_0x23e8a3];return _0xa201b2;},_0x23e8(_0x5d3898,_0x4a3459);}import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x40bb28 from'node:path';import _0xd80848 from'node:os';import _0x42b8f3 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x21b9(){const _0x427388=['lzwat','errMsg','mRUMp','last_message_time','sKaIe','ddOKV','bHXvp','iyyyY','xntOd','tipsTitle','GroupListener','stringify','getQuickLoginList','dataPath','milAW','getMsgService','getNextMemberList','WwfSA','快速登录失败\x20','rODUi','homedir','没有可快速登录的QQ号','onProfileDetailInfoChanged','1643952MHuIMn','message_received','3423LKevOE','zAkHS','fileLogLevel',')已登录,无法重复登录','createHash','eqJQq','addKernelLoginListener','has','onMemberInfoChange','getGroupService','NodeIDependsAdapter','13004nubiWE','jomGb','from','BuddyListener','YPwXo','NSqof','set','loginListener','result','TLlLu','MsgListener','consoleLog','4974ciBYAn','passwordLogin','\x20has\x20no\x20method\x20','getProfileService','packet_received','getBuddyService','NodeIQQNTWrapperEngine','dataPathGlobal','name','163497jDIBqm','qrLogin','kNqso','6fZmuqh','initSession\x20failed','floor','addKernelBuddyListener','KocpJ','then','onLineDev','LHtqm','resolve','lbPBO','SwGGf','addKernelGroupListener','engine','PRgwg','catch','200uBnwiy','onQRCodeSessionFailed','yAmkl','KlcRx','fileLog','onMemberListChange','dKuxW','onRecvMsg','onSelfStatusChanged','DVYkH','data:image/png;base64,','uid','670rIOpKM','map','length','NodeIKernelLoginService','RVCiH','mXZdy','ETpZG','getNTUserDataInfoConfig','getLoginList','LocalLoginInfoList','addListener','pngBase64QrcodeData','loginService','NodeIKernelGroupListener','bZJBX','uin',')\x20在线状态变更','mkdirSync','get','1938420sNHdBC','onLoginSuccess','onBuddyListChange','onGroupListUpdate','Windows\x2010\x20Pro','nIXYF','assign','consoleLogLevel','onKickedOffLine','forEach','BRzPF','NodeIGlobalAdapter','数据库初始化失败','fyVKg','GkZTX','getQRCodePicture','loginErrorInfo','./.config/QQ','lppVZ','FYjLs','SPDUJ','digest','now','281578AIkLyf','启动失败:\x20','infos','登录失败(onLoginFailed)','groupCode','ISVok','ZmaBq','onQRCodeGetPicture','createMemberListScene','ngRbF','init','onUserLoggedIn','140022013','quickLoginWithUin','ufFQc','UiIsy','startNT','UrmMB','QrwIU','initSession','_GW_B','eZRRl','快速登录不可用','./NapCat/data','replace','session','groupMemberList_MainWindow','HqGRY','NodeIKernelLoginListener','-v2.db','账号设备(','67572tapuzF','fyMWI','update','init\x20failed\x20','NodeIKernelBuddyListener','NWQnN','NodeIDispatcherAdapter','initConfig','split','UEjGZ','initDataListener','util','KJpqi','isDelete','md5','onLoginFailed','addKernelProfileListener','constructor','read','onLoginSuccessFuncList','./nt_qq/global','getGroups','NodeIKernelSessionListener','getBuddyList','AkJZF','aPueE','ProfileListener','EfKeA','proxyHandler','curVersion','base64','onRecvSysMsg','登录失败(onQRCodeSessionFailed)','addKernelMsgListener','eqVgC','push','cZcVK','packet_sent','yfLiC','[KickedOffLine]\x20[','NcNFo'];_0x21b9=function(){return _0x427388;};return _0x21b9();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xa93c38 from'node:crypto';import{rawFriends,friends,groupMembers,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';import{NTQQGroupApi}from'./apis';export class NapCatCore{[_0x4320cc(0x19b)];[_0x4320cc(0x1ac)];[_0x4320cc(0x212)];[_0x4320cc(0x1f5)];[_0x4320cc(0x22d)];[_0x4320cc(0x1b4)]=[];[_0x4320cc(0x1bd)]={'get'(target,prop,receiver){const _0x1adc8b=_0x4320cc,NNamYb={'SwGGf':function(x,y){return x===y;},'lzwat':'undefined'};if(NNamYb[_0x1adc8b(0x210)](typeof target[prop],NNamYb[_0x1adc8b(0x1ca)]))return(...args)=>{const _0xc45d93=_0x1adc8b;logDebug(target[_0xc45d93(0x1b2)][_0xc45d93(0x202)]+_0xc45d93(0x1fc)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x2a02dd=_0x4320cc,_0x3e3a5d={'zAkHS':function(_0x458e8b,_0x12fbdc){return _0x458e8b(_0x12fbdc);},'fyVKg':function(_0x57b732,_0x3c4269){return _0x57b732+_0x3c4269;},'NcNFo':'当前账号(','milAW':_0x2a02dd(0x1e6),'TLlLu':function(_0x46be91,_0x54f12d,_0x28fb3f){return _0x46be91(_0x54f12d,_0x28fb3f);},'sKaIe':function(_0x15caae,_0x39bfcf){return _0x15caae(_0x39bfcf);},'aPueE':_0x2a02dd(0x199),'WwfSA':'本账号数据/缓存目录:','EfKeA':function(_0x5009c9,_0x54e59e,_0x2cfaa0){return _0x5009c9(_0x54e59e,_0x2cfaa0);},'PRgwg':function(_0x5113cc,_0x1aa42f){return _0x5113cc instanceof _0x1aa42f;},'cZcVK':function(_0x184ee6,_0x54fc6d){return _0x184ee6==_0x54fc6d;},'RjXjZ':function(_0x5ad631,_0x41415c){return _0x5ad631==_0x41415c;},'RVCiH':_0x2a02dd(0x24e)};this[_0x2a02dd(0x212)]=new _0x626d97[(_0x2a02dd(0x200))](),this[_0x2a02dd(0x1ac)]=new _0x626d97['NodeQQNTWrapperUtil'](),this[_0x2a02dd(0x22d)]=new _0x626d97[(_0x2a02dd(0x224))](),this['session']=new _0x626d97['NodeIQQNTWrapperSession'](),this[_0x2a02dd(0x1f5)]=new LoginListener(),this[_0x2a02dd(0x1f5)][_0x2a02dd(0x256)]=_0x22e641=>{const _0x47a435=_0x2a02dd;_0x3e3a5d[_0x47a435(0x1e4)](logError,_0x3e3a5d[_0x47a435(0x241)](_0x3e3a5d['fyVKg'](_0x3e3a5d[_0x47a435(0x1c9)],_0x22e641),_0x3e3a5d[_0x47a435(0x1d8)]));},this[_0x2a02dd(0x1a8)](),this[_0x2a02dd(0x1f5)]['onQRCodeLoginSucceed']=_0x5c7678=>{const _0xac5f62=_0x2a02dd,_0x5d30f1={'LHtqm':function(_0xf5bdc4,_0x25808b,_0x3c8321){const _0x349c85=_0x23e8;return _0x3e3a5d[_0x349c85(0x1bc)](_0xf5bdc4,_0x25808b,_0x3c8321);},'ngRbF':function(_0x1c4095,_0x19c776){const _0x560936=_0x23e8;return _0x3e3a5d[_0x560936(0x213)](_0x1c4095,_0x19c776);},'UrmMB':_0xac5f62(0x207)};this[_0xac5f62(0x195)](_0x5c7678['uin'],_0x5c7678[_0xac5f62(0x220)])[_0xac5f62(0x20b)](_0x4924f2=>{const _0x34af7b=_0xac5f62,_0x4e96d6={'bHXvp':function(_0x44ad76,_0x27e778,_0x598411){const _0x27a931=_0x23e8;return _0x3e3a5d[_0x27a931(0x1f7)](_0x44ad76,_0x27e778,_0x598411);}};selfInfo[_0x34af7b(0x230)]=_0x5c7678[_0x34af7b(0x230)],selfInfo['uid']=_0x5c7678[_0x34af7b(0x220)],napCatConfig[_0x34af7b(0x1b3)](),setLogLevel(napCatConfig[_0x34af7b(0x1e5)],napCatConfig[_0x34af7b(0x23b)]),_0x3e3a5d[_0x34af7b(0x1e4)](enableFileLog,napCatConfig[_0x34af7b(0x219)]),enableConsoleLog(napCatConfig[_0x34af7b(0x1f9)]),_0x3e3a5d[_0x34af7b(0x1ce)](setLogSelfInfo,selfInfo);const _0x3359c0=_0x40bb28[_0x34af7b(0x20e)](this[_0x34af7b(0x1d7)],_0x3e3a5d[_0x34af7b(0x1ba)]);_0x42b8f3['mkdirSync'](_0x3359c0,{'recursive':!![]}),logDebug(_0x3e3a5d[_0x34af7b(0x1db)],_0x3359c0),dbUtil['init'](_0x40bb28[_0x34af7b(0x20e)](_0x3359c0,'./'+_0x5c7678[_0x34af7b(0x230)]+_0x34af7b(0x19f)))[_0x34af7b(0x20b)](()=>{const _0x282f05=_0x34af7b,_0x1b3c8a={'NWQnN':function(_0x3e4c0f,_0x32d7a4,_0x1d97ea){const _0x1b7636=_0x23e8;return _0x5d30f1[_0x1b7636(0x20d)](_0x3e4c0f,_0x32d7a4,_0x1d97ea);},'QrwIU':function(_0x57b0e3,_0x5b41dc){const _0x4af2bc=_0x23e8;return _0x5d30f1[_0x4af2bc(0x254)](_0x57b0e3,_0x5b41dc);}};this[_0x282f05(0x1ab)](),this[_0x282f05(0x1b4)][_0x282f05(0x222)](_0xcf3ecf=>{const _0x5c67c9=_0x282f05;new Promise((_0x4938b9,_0x4b5d68)=>{const _0x2a5a5b=_0x23e8,_0x53c58a=_0x1b3c8a[_0x2a5a5b(0x1a6)](_0xcf3ecf,_0x5c7678[_0x2a5a5b(0x230)],_0x5c7678[_0x2a5a5b(0x220)]);_0x1b3c8a[_0x2a5a5b(0x194)](_0x53c58a,Promise)&&_0x53c58a[_0x2a5a5b(0x20b)](_0x4938b9)[_0x2a5a5b(0x214)](_0x4b5d68);})[_0x5c67c9(0x20b)]();});})[_0x34af7b(0x214)](_0x440a6a=>{const _0x2efe7e=_0x34af7b;_0x4e96d6[_0x2efe7e(0x1d0)](logError,_0x2efe7e(0x240),_0x440a6a);});})['catch'](_0x16ec58=>{const _0x4411b9=_0xac5f62;logError(_0x5d30f1[_0x4411b9(0x193)],_0x16ec58);throw new Error(_0x4411b9(0x24c)+JSON[_0x4411b9(0x1d5)](_0x16ec58));});},this[_0x2a02dd(0x1f5)][_0x2a02dd(0x216)]=(_0x56e79e,_0x40554d,_0x350424)=>{const _0x3afba7=_0x2a02dd;_0x3e3a5d[_0x3afba7(0x1bc)](logError,_0x3afba7(0x1c1),_0x350424),_0x3e3a5d[_0x3afba7(0x1c5)](_0x56e79e,0x1)&&_0x3e3a5d['RjXjZ'](_0x40554d,0x3)&&this[_0x3afba7(0x22d)][_0x3afba7(0x243)]();},this[_0x2a02dd(0x1f5)][_0x2a02dd(0x1b0)]=_0xed161b=>{const _0x2bd38a=_0x2a02dd;_0x3e3a5d[_0x2bd38a(0x1f7)](logError,_0x3e3a5d[_0x2bd38a(0x225)],_0xed161b);},this['loginListener']=new Proxy(this[_0x2a02dd(0x1f5)],this['proxyHandler']),this['loginService'][_0x2a02dd(0x1e9)](new _0x626d97[(_0x2a02dd(0x19e))](this[_0x2a02dd(0x1f5)]));}get[_0x4320cc(0x1d7)](){const _0x1c4df6=_0x4320cc,_0x2dc2f4={'uJiRM':_0x1c4df6(0x245)};let _0x1f8baa=this['util'][_0x1c4df6(0x228)]();return!_0x1f8baa&&(_0x1f8baa=_0x40bb28['resolve'](_0xd80848[_0x1c4df6(0x1de)](),_0x2dc2f4['uJiRM']),_0x42b8f3[_0x1c4df6(0x232)](_0x1f8baa,{'recursive':!![]})),_0x1f8baa;}get['dataPathGlobal'](){const _0x167a3d=_0x4320cc,_0x3bac7f={'yfLiC':_0x167a3d(0x1b5)};return _0x40bb28['resolve'](this[_0x167a3d(0x1d7)],_0x3bac7f[_0x167a3d(0x1c7)]);}[_0x4320cc(0x1a8)](){const _0x128970=_0x4320cc,_0x398a1c={'eqVgC':_0x128970(0x238)};this['engine']['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x128970(0x1be)],'os_version':_0x398a1c[_0x128970(0x1c3)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x128970(0x1be)][_0x128970(0x19a)]('-','_')+_0x128970(0x196),'global_path_config':{'desktopGlobalPath':this[_0x128970(0x201)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x626d97[(_0x128970(0x23f))](new GlobalAdapter())),this[_0x128970(0x22d)][_0x128970(0x1a8)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x128970(0x201)],'clientVer':qqVersionConfigInfo[_0x128970(0x1be)],'hostName':hostname});}['initSession'](_0x3be2d3,_0x21dbf2){const _0x36628a=_0x4320cc,_0x52e87f={'KocpJ':function(_0x134026,_0x3cefbe){return _0x134026(_0x3cefbe);},'UEjGZ':function(_0x1b6d50,_0x30882b){return _0x1b6d50(_0x30882b);},'AkJZF':function(_0x366a27,_0x2e70d3){return _0x366a27(_0x2e70d3);},'BHWoY':function(_0x2592b4,_0x37b8cd){return _0x2592b4+_0x37b8cd;},'ufFQc':_0x36628a(0x1a4)};return new Promise(async(_0x4ad9b2,_0x26d898)=>{const _0x249d70=_0x36628a,_0x2aa42d={'lbPBO':function(_0x5735fc,_0x2fb0ef){const _0x2d707e=_0x23e8;return _0x52e87f[_0x2d707e(0x20a)](_0x5735fc,_0x2fb0ef);},'ETpZG':function(_0x5ed18b,_0x5eecfa){const _0x20dc80=_0x23e8;return _0x52e87f[_0x20dc80(0x1aa)](_0x5ed18b,_0x5eecfa);}},_0x1336ab=await genSessionConfig(_0x3be2d3,_0x21dbf2,this[_0x249d70(0x1d7)]),_0x4dce88=new SessionListener();_0x4dce88['onSessionInitComplete']=_0x2f1d24=>{const _0x2cf1cf=_0x249d70;if(_0x2f1d24===0x0)return _0x2aa42d[_0x2cf1cf(0x20f)](_0x4ad9b2,0x0);_0x2aa42d[_0x2cf1cf(0x227)](_0x26d898,_0x2f1d24);},this[_0x249d70(0x19b)][_0x249d70(0x255)](_0x1336ab,new _0x626d97[(_0x249d70(0x1ed))](new DependsAdapter()),new _0x626d97[(_0x249d70(0x1a7))](new DispatcherAdapter()),new _0x626d97[(_0x249d70(0x1b7))](_0x4dce88));try{this[_0x249d70(0x19b)]['startNT'](0x0);}catch(_0x396f63){try{this['session'][_0x249d70(0x192)]();}catch(_0x258024){_0x52e87f[_0x249d70(0x1b9)](_0x26d898,_0x52e87f['BHWoY'](_0x52e87f[_0x249d70(0x190)],_0x258024));}}});}[_0x4320cc(0x1ab)](){const _0x263dee=_0x4320cc,_0x310218={'YPwXo':function(_0x1cc2e6,_0x10ff64){return _0x1cc2e6===_0x10ff64;},'iyyyY':function(_0x1d803c,_0x188da0){return _0x1d803c(_0x188da0);},'tWYvU':_0x263dee(0x1a0),'NSqof':_0x263dee(0x231),'dKuxW':function(_0x3f2d50,_0xfb6a1b){return _0x3f2d50(_0xfb6a1b);},'HqGRY':function(_0xd850e3,_0x4c20fa){return _0xd850e3+_0x4c20fa;},'GkZTX':function(_0x4a3885,_0xb4ce){return _0x4a3885+_0xb4ce;},'bZJBX':_0x263dee(0x1c8),'UiIsy':function(_0x5ecfe4,_0x1dd52f){return _0x5ecfe4/_0x1dd52f;},'kNqso':function(_0x243ef7,_0x51387c){return _0x243ef7/_0x51387c;},'FYjLs':function(_0x5d095b,_0x2d2b11){return _0x5d095b===_0x2d2b11;},'KJpqi':_0x263dee(0x19c),'lppVZ':function(_0x4afc2f,_0x454ef2){return _0x4afc2f===_0x454ef2;},'mXZdy':function(_0x40c54a,_0x35d8d3,_0x5f103e){return _0x40c54a(_0x35d8d3,_0x5f103e);}},_0x57986c=new MsgListener();_0x57986c[_0x263dee(0x20c)]=_0x447b6b=>{const _0x82d3b2=_0x263dee;_0x447b6b[_0x82d3b2(0x222)](_0x11a04e=>{const _0x16145e=_0x82d3b2;_0x310218[_0x16145e(0x1f2)](_0x11a04e['clientType'],0x2)&&_0x310218[_0x16145e(0x1d1)](log,_0x310218['tWYvU']+_0x11a04e['devUid']+_0x310218[_0x16145e(0x1f3)]);});},_0x57986c[_0x263dee(0x23c)]=_0x557b35=>{const _0x5b18eb=_0x263dee;_0x310218[_0x5b18eb(0x21b)](log,_0x310218[_0x5b18eb(0x19d)](_0x310218[_0x5b18eb(0x19d)](_0x310218[_0x5b18eb(0x242)](_0x310218[_0x5b18eb(0x22f)],_0x557b35[_0x5b18eb(0x1d3)]),']\x20'),_0x557b35['tipsDesc']));},_0x57986c['onAddSendMsg']=_0x5c6f82=>{const _0x5e6eb1=_0x263dee;stat[_0x5e6eb1(0x1c6)]+=0x1,stat['message_sent']+=0x1,stat['last_message_time']=Math[_0x5e6eb1(0x208)](_0x310218[_0x5e6eb1(0x191)](Date[_0x5e6eb1(0x24a)](),0x3e8));},_0x57986c[_0x263dee(0x21c)]=_0x467253=>{const _0x292b5e=_0x263dee;stat[_0x292b5e(0x1fe)]+=0x1,stat[_0x292b5e(0x1e2)]+=_0x467253[_0x292b5e(0x223)],stat[_0x292b5e(0x1cd)]=Math[_0x292b5e(0x208)](_0x310218[_0x292b5e(0x205)](Date[_0x292b5e(0x24a)](),0x3e8));},_0x57986c[_0x263dee(0x1c0)]=(..._0x307810)=>{const _0x531653=_0x263dee;stat[_0x531653(0x1fe)]+=0x1;},this[_0x263dee(0x22b)](_0x57986c);const _0x4e8e3e=new BuddyListener();_0x4e8e3e[_0x263dee(0x236)]=_0x196b84=>{const _0x50017b=_0x263dee;rawFriends[_0x50017b(0x223)]=0x0,rawFriends[_0x50017b(0x1c4)](..._0x196b84);for(const _0x113df6 of _0x196b84){for(const _0x30b7b0 of _0x113df6['buddyList']){const _0x34dc7d=friends[_0x50017b(0x233)](_0x30b7b0[_0x50017b(0x220)]);_0x34dc7d?Object[_0x50017b(0x23a)](_0x34dc7d,_0x30b7b0):friends[_0x50017b(0x1f4)](_0x30b7b0[_0x50017b(0x220)],_0x30b7b0);}}},this[_0x263dee(0x22b)](_0x4e8e3e),this[_0x263dee(0x19b)][_0x263dee(0x1ff)]()[_0x263dee(0x1b8)](!![])[_0x263dee(0x20b)](_0x8fe606=>{});const _0x3af1f0=new ProfileListener();_0x3af1f0[_0x263dee(0x1e0)]=_0x5b4ed1=>{const _0x54939c=_0x263dee;_0x310218[_0x54939c(0x247)](_0x5b4ed1[_0x54939c(0x220)],selfInfo[_0x54939c(0x220)])&&Object[_0x54939c(0x23a)](selfInfo,_0x5b4ed1);},_0x3af1f0[_0x263dee(0x21d)]=_0x54d250=>{},this[_0x263dee(0x22b)](_0x3af1f0);const _0x5d985e=new GroupListener();_0x5d985e[_0x263dee(0x237)]=(_0x2004ae,_0x1e8a62)=>{const _0x279bf0=_0x263dee;_0x1e8a62[_0x279bf0(0x222)](_0x3b7774=>{const _0x3a1875=_0x279bf0,_0x3e98e4=this[_0x3a1875(0x19b)][_0x3a1875(0x1ec)]()[_0x3a1875(0x253)](_0x3b7774[_0x3a1875(0x24f)],_0x310218[_0x3a1875(0x1ad)]);this[_0x3a1875(0x19b)]['getGroupService']()[_0x3a1875(0x1da)](_0x3e98e4,undefined,0xbb8)[_0x3a1875(0x20b)](_0x569345=>{});});},_0x5d985e[_0x263dee(0x21a)]=_0xbdf3b2=>{const _0x1cccff=_0x263dee,_0xe5171e=_0xbdf3b2['sceneId'][_0x1cccff(0x1a9)]('_')[0x0];if(groupMembers[_0x1cccff(0x1ea)](_0xe5171e)){const _0x38b201=groupMembers[_0x1cccff(0x233)](_0xe5171e);_0xbdf3b2[_0x1cccff(0x24d)][_0x1cccff(0x23d)]((_0x4ba825,_0x5463d7)=>{const _0x4b798e=_0x1cccff,_0xd2d65f=_0x38b201[_0x4b798e(0x233)](_0x5463d7);_0xd2d65f?Object[_0x4b798e(0x23a)](_0xd2d65f,_0x4ba825):_0x38b201[_0x4b798e(0x1f4)](_0x5463d7,_0x4ba825);});}else groupMembers[_0x1cccff(0x1f4)](_0xe5171e,_0xbdf3b2[_0x1cccff(0x24d)]);},_0x5d985e[_0x263dee(0x1eb)]=(_0x891bee,_0x571111,_0x4a25cf)=>{const _0x5902ae=_0x263dee;_0x310218[_0x5902ae(0x246)](_0x571111,0x0)&&_0x4a25cf[_0x5902ae(0x233)](selfInfo[_0x5902ae(0x220)])&&_0x4a25cf[_0x5902ae(0x233)](selfInfo[_0x5902ae(0x220)])?.[_0x5902ae(0x1ae)]&&_0x310218[_0x5902ae(0x226)](setTimeout,()=>{const _0x5ad555=_0x5902ae;NTQQGroupApi[_0x5ad555(0x1b6)](!![])[_0x5ad555(0x20b)]();},0x1388);const _0x4cfb43=groupMembers[_0x5902ae(0x233)](_0x891bee);_0x4cfb43?_0x4a25cf['forEach']((_0x45e019,_0x590c2b)=>{const _0x38a231=_0x5902ae,_0x50d1ec=_0x4cfb43[_0x38a231(0x233)](_0x590c2b);_0x50d1ec?Object[_0x38a231(0x23a)](_0x50d1ec,_0x45e019):_0x4cfb43[_0x38a231(0x1f4)](_0x590c2b,_0x45e019);}):groupMembers['set'](_0x891bee,_0x4a25cf);},this['addListener'](_0x5d985e);}[_0x4320cc(0x22b)](_0x51e9f){const _0x5ad348=_0x4320cc,_0x627f90={'SPDUJ':_0x5ad348(0x1f1),'yAmkl':_0x5ad348(0x1d4),'BRzPF':_0x5ad348(0x1f8),'eqJQq':_0x5ad348(0x1bb)};_0x51e9f=new Proxy(_0x51e9f,this[_0x5ad348(0x1bd)]);switch(_0x51e9f[_0x5ad348(0x1b2)][_0x5ad348(0x202)]){case _0x627f90[_0x5ad348(0x248)]:{return this[_0x5ad348(0x19b)][_0x5ad348(0x1ff)]()[_0x5ad348(0x209)](new _0x626d97[(_0x5ad348(0x1a5))](_0x51e9f));}case _0x627f90[_0x5ad348(0x217)]:{return this[_0x5ad348(0x19b)][_0x5ad348(0x1ec)]()[_0x5ad348(0x211)](new _0x626d97[(_0x5ad348(0x22e))](_0x51e9f));}case _0x627f90[_0x5ad348(0x23e)]:{return this[_0x5ad348(0x19b)][_0x5ad348(0x1d9)]()[_0x5ad348(0x1c2)](new _0x626d97['NodeIKernelMsgListener'](_0x51e9f));}case _0x627f90[_0x5ad348(0x1e8)]:{return this[_0x5ad348(0x19b)][_0x5ad348(0x1fd)]()[_0x5ad348(0x1b1)](new _0x626d97['NodeIKernelProfileListener'](_0x51e9f));}default:return-0x1;}}[_0x4320cc(0x235)](_0x7927a1){const _0x4f5aa0=_0x4320cc;NTEventDispatch[_0x4f5aa0(0x255)]({'ListenerMap':_0x626d97,'WrapperSession':this[_0x4f5aa0(0x19b)]}),this[_0x4f5aa0(0x1b4)][_0x4f5aa0(0x1c4)](_0x7927a1);}async['quickLogin'](_0x216799){const _0xf3d3b0=_0x4320cc,_0x5e4d2e={'jomGb':function(_0x760253,_0x2d393e){return _0x760253!==_0x2d393e;},'rODUi':_0xf3d3b0(0x1df),'DVYkH':function(_0x4f7ff3,_0xf47b37){return _0x4f7ff3(_0xf47b37);},'LFmXl':function(_0x3b43b2,_0x1f4b14){return _0x3b43b2+_0x1f4b14;},'ZmaBq':_0xf3d3b0(0x1dc)},_0x554c7c=await this[_0xf3d3b0(0x22d)][_0xf3d3b0(0x229)]();if(_0x5e4d2e[_0xf3d3b0(0x1ef)](_0x554c7c['result'],0x0))throw new Error(_0x5e4d2e[_0xf3d3b0(0x1dd)]);const _0x14b021=_0x554c7c[_0xf3d3b0(0x22a)]['find'](_0x5a4434=>_0x5a4434[_0xf3d3b0(0x230)]===_0x216799);if(!_0x14b021||!_0x14b021?.['isQuickLogin'])throw new Error(_0x216799+_0xf3d3b0(0x198));await _0x5e4d2e[_0xf3d3b0(0x21e)](sleep,0x3e8);const _0x530d9d=await this[_0xf3d3b0(0x22d)][_0xf3d3b0(0x258)](_0x216799);if(!_0x530d9d['result'])throw new Error(_0x5e4d2e['LFmXl'](_0x5e4d2e[_0xf3d3b0(0x251)],_0x530d9d[_0xf3d3b0(0x244)][_0xf3d3b0(0x1cb)]));return _0x530d9d;}async[_0x4320cc(0x204)](_0x446579){const _0x47b80a=_0x4320cc,_0x3cfc69={'fyMWI':_0x47b80a(0x21f),'nIXYF':_0x47b80a(0x1bf)};return new Promise((_0x3822c5,_0x50bd82)=>{const _0x1098d9=_0x47b80a,_0x3582ff={'mRUMp':_0x3cfc69[_0x1098d9(0x1a2)],'xntOd':_0x3cfc69[_0x1098d9(0x239)],'CtkmR':function(_0x29fd2f,_0x35cde5,_0x56454a,_0x716d3e){return _0x29fd2f(_0x35cde5,_0x56454a,_0x716d3e);}};this['loginListener'][_0x1098d9(0x252)]=_0x48493b=>{const _0x155407=_0x1098d9,_0x42443f=_0x48493b[_0x155407(0x22c)][_0x155407(0x1a9)](_0x3582ff[_0x155407(0x1cc)])[0x1],_0x96021=Buffer[_0x155407(0x1f0)](_0x42443f,_0x3582ff[_0x155407(0x1d2)]);_0x3582ff['CtkmR'](_0x446579,_0x48493b['qrcodeUrl'],_0x48493b['pngBase64QrcodeData'],_0x96021);},this['loginService'][_0x1098d9(0x243)]();});}async[_0x4320cc(0x1fb)](_0x4671bd,_0x43c55a,_0x319927,_0x4b9deb,_0x15aa0a){const _0x436806=_0x4320cc,_0x341e42={'ddOKV':_0x436806(0x1af),'KlcRx':'hex','ISVok':function(_0x2559af,_0x5b3da5){return _0x2559af||_0x5b3da5;},'yWghk':function(_0x1dfc74,_0x13d564){return _0x1dfc74(_0x13d564);},'eZRRl':'140022008'},_0x11b730=_0xa93c38[_0x436806(0x1e7)](_0x341e42[_0x436806(0x1cf)])[_0x436806(0x1a3)](_0x43c55a)[_0x436806(0x249)](_0x341e42[_0x436806(0x218)]),_0x5c34c5={'uin':_0x4671bd,'passwordMd5':_0x11b730,'step':_0x319927&&_0x4b9deb&&_0x15aa0a?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x341e42['ISVok'](_0x319927,''),'proofWaterRand':_0x341e42[_0x436806(0x250)](_0x4b9deb,''),'proofWaterSid':_0x341e42[_0x436806(0x250)](_0x15aa0a,'')};await this[_0x436806(0x22d)]['getLoginList'](),await _0x341e42['yWghk'](sleep,0x3e8);const _0x51ea2f=await this['loginService'][_0x436806(0x1fb)](_0x5c34c5);switch(_0x51ea2f[_0x436806(0x1f6)]){case'0':{break;}case _0x341e42[_0x436806(0x197)]:{break;}case'4':case _0x436806(0x257):default:}}async[_0x4320cc(0x1d6)](){const _0x383240=_0x4320cc,_0x1ab1fb=await this[_0x383240(0x22d)]['getLoginList']();return _0x1ab1fb;}}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 45cafab1..a0609eec 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x52a1e3,_0x152118){const _0xf0b80d=_0x5950,_0x51164d=_0x52a1e3();while(!![]){try{const _0x4d010d=-parseInt(_0xf0b80d(0x8a))/0x1*(-parseInt(_0xf0b80d(0x7b))/0x2)+parseInt(_0xf0b80d(0x86))/0x3*(parseInt(_0xf0b80d(0x84))/0x4)+-parseInt(_0xf0b80d(0x8c))/0x5+-parseInt(_0xf0b80d(0x8b))/0x6+-parseInt(_0xf0b80d(0x79))/0x7*(parseInt(_0xf0b80d(0x8d))/0x8)+-parseInt(_0xf0b80d(0x85))/0x9+-parseInt(_0xf0b80d(0x81))/0xa*(-parseInt(_0xf0b80d(0x7d))/0xb);if(_0x4d010d===_0x152118)break;else _0x51164d['push'](_0x51164d['shift']());}catch(_0x323e2b){_0x51164d['push'](_0x51164d['shift']());}}}(_0x5645,0x88fd2));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];function _0x5645(){const _0x42ce31=['values','301480GBuPWE','7028532nRzcuI','6GryKFp','find','getGroupMembers','Fkxhr','2270MCChaW','5501568FzsdaS','1870895gXoAKS','3303560sWSsRF','7aDLYFM','uin','876ozTemg','BtLnb','6970722oFznLO','set','toString','get','30hBAQFF','from'];_0x5645=function(){return _0x42ce31;};return _0x5645();}export const groupNotifies={};export async function getGroupMember(_0x3a61a0,_0x5e68be){const _0x1b36e8=_0x5950,_0x356d77={'Fkxhr':function(_0x36c787,_0x234fa9){return _0x36c787(_0x234fa9);},'BtLnb':function(_0x52b374){return _0x52b374();}};_0x3a61a0=_0x3a61a0[_0x1b36e8(0x7f)](),_0x5e68be=_0x5e68be['toString']();let _0x949ee7=groupMembers[_0x1b36e8(0x80)](_0x3a61a0);if(!_0x949ee7)try{_0x949ee7=await NTQQGroupApi[_0x1b36e8(0x88)](_0x3a61a0),groupMembers[_0x1b36e8(0x7e)](_0x3a61a0,_0x949ee7);}catch(_0x1644f6){return null;}const _0x4afa08=()=>{const _0x55e4f6=_0x1b36e8;let _0x20c418=undefined;return _0x356d77[_0x55e4f6(0x89)](isNumeric,_0x5e68be)?_0x20c418=Array[_0x55e4f6(0x82)](_0x949ee7[_0x55e4f6(0x83)]())[_0x55e4f6(0x87)](_0x454690=>_0x454690[_0x55e4f6(0x7a)]===_0x5e68be):_0x20c418=_0x949ee7[_0x55e4f6(0x80)](_0x5e68be),_0x20c418;};let _0x148aac=_0x4afa08();return!_0x148aac&&(_0x949ee7=await NTQQGroupApi['getGroupMembers'](_0x3a61a0),_0x148aac=_0x356d77[_0x1b36e8(0x7c)](_0x4afa08)),_0x148aac;}export const tempGroupCodeMap={};function _0x5950(_0x5c7217,_0x429cf7){const _0x5645c6=_0x5645();return _0x5950=function(_0x595077,_0x26c1bd){_0x595077=_0x595077-0x79;let _0x561a8a=_0x5645c6[_0x595077];return _0x561a8a;},_0x5950(_0x5c7217,_0x429cf7);}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(_0x56fba9,_0x31a5ee){const _0x64f02=_0x3863,_0x3969bb=_0x56fba9();while(!![]){try{const _0x2325e1=-parseInt(_0x64f02(0x109))/0x1+-parseInt(_0x64f02(0x10d))/0x2*(parseInt(_0x64f02(0x101))/0x3)+-parseInt(_0x64f02(0x107))/0x4*(parseInt(_0x64f02(0x111))/0x5)+-parseInt(_0x64f02(0x110))/0x6*(parseInt(_0x64f02(0xff))/0x7)+-parseInt(_0x64f02(0x10e))/0x8*(-parseInt(_0x64f02(0x104))/0x9)+-parseInt(_0x64f02(0x10c))/0xa*(parseInt(_0x64f02(0x105))/0xb)+parseInt(_0x64f02(0x106))/0xc;if(_0x2325e1===_0x31a5ee)break;else _0x3969bb['push'](_0x3969bb['shift']());}catch(_0x3b7887){_0x3969bb['push'](_0x3969bb['shift']());}}}(_0x4915,0x52cab));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groupMembers=new Map();export const friends=new Map();function _0x3863(_0x1b1405,_0x31eb99){const _0x49159d=_0x4915();return _0x3863=function(_0x38634c,_0x1cf340){_0x38634c=_0x38634c-0xfd;let _0x5e1105=_0x49159d[_0x38634c];return _0x5e1105;},_0x3863(_0x1b1405,_0x31eb99);}export const rawFriends=[];export const groupNotifies={};export async function getGroupMember(_0x528f85,_0x3dc171){const _0x4f9ccd=_0x3863,_0xc3f643={'dZudi':function(_0x1cc543,_0x254e0c){return _0x1cc543(_0x254e0c);},'jnFJK':function(_0x46c7ea){return _0x46c7ea();}};_0x528f85=_0x528f85['toString'](),_0x3dc171=_0x3dc171[_0x4f9ccd(0x102)]();let _0x9a9f76=groupMembers[_0x4f9ccd(0xfd)](_0x528f85);if(!_0x9a9f76)try{_0x9a9f76=await NTQQGroupApi['getGroupMembers'](_0x528f85),groupMembers[_0x4f9ccd(0x112)](_0x528f85,_0x9a9f76);}catch(_0x16d921){return null;}const _0x4c3a28=()=>{const _0x3f6fb6=_0x4f9ccd;let _0x21f27a=undefined;return _0xc3f643[_0x3f6fb6(0xfe)](isNumeric,_0x3dc171)?_0x21f27a=Array[_0x3f6fb6(0x100)](_0x9a9f76[_0x3f6fb6(0x10b)]())[_0x3f6fb6(0x10a)](_0x1a7e20=>_0x1a7e20[_0x3f6fb6(0x108)]===_0x3dc171):_0x21f27a=_0x9a9f76[_0x3f6fb6(0xfd)](_0x3dc171),_0x21f27a;};let _0x625ffd=_0xc3f643['jnFJK'](_0x4c3a28);return!_0x625ffd&&(_0x9a9f76=await NTQQGroupApi[_0x4f9ccd(0x10f)](_0x528f85),_0x625ffd=_0xc3f643[_0x4f9ccd(0x103)](_0x4c3a28)),_0x625ffd;}function _0x4915(){const _0x4956f7=['508948gexkZB','8dTaMix','getGroupMembers','2238vQzzkP','410335OwYmWD','set','get','dZudi','1274AdPuka','from','6BkuDXJ','toString','jnFJK','3022497rEaHpF','99eetMue','21546420ooFeUU','12uDuXdZ','uin','294119rizCiG','find','values','750110vMzxXT'];_0x4915=function(){return _0x4956f7;};return _0x4915();}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 c57055ac..1b385bcb 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x40c2(){var _0x4d0f2e=['OTHER','AUDIO','IMAGE','SUKHz','DOCUMENT','844308szpzFl','oBLxw','ttmUA','split','14322546KMbrrZ','5901258XxyGqD','3538836TSpVJX','VIDEO','2855522Gwlhim','229182XnSAkx','297590rwknlJ'];_0x40c2=function(){return _0x4d0f2e;};return _0x40c2();}(function(_0x25ee08,_0xf05c39){var _0x3bcfdb=_0x50be,_0x3484b5=_0x25ee08();while(!![]){try{var _0x5698f6=parseInt(_0x3bcfdb(0x132))/0x1+-parseInt(_0x3bcfdb(0x131))/0x2+parseInt(_0x3bcfdb(0x13f))/0x3+-parseInt(_0x3bcfdb(0x139))/0x4+-parseInt(_0x3bcfdb(0x133))/0x5+-parseInt(_0x3bcfdb(0x13e))/0x6+parseInt(_0x3bcfdb(0x13d))/0x7;if(_0x5698f6===_0xf05c39)break;else _0x3484b5['push'](_0x3484b5['shift']());}catch(_0x50695d){_0x3484b5['push'](_0x3484b5['shift']());}}}(_0x40c2,0xbcb6d));;function _0x50be(_0x27bbbb,_0x1cb0b1){var _0x40c210=_0x40c2();return _0x50be=function(_0x50beba,_0x59eef9){_0x50beba=_0x50beba-0x131;var _0x118854=_0x40c210[_0x50beba];return _0x118854;},_0x50be(_0x27bbbb,_0x1cb0b1);}export var CacheFileType;(function(_0x1e5308){var _0x759abc=_0x50be,_0x51c037={'ttmUA':_0x759abc(0x136),'jKVMI':'DOCUMENT','SUKHz':_0x759abc(0x140),'oBLxw':_0x759abc(0x135),'lISfQ':_0x759abc(0x134)},_0x50b30c='0|2|3|1|4'[_0x759abc(0x13c)]('|'),_0x35df0b=0x0;while(!![]){switch(_0x50b30c[_0x35df0b++]){case'0':_0x1e5308[_0x1e5308[_0x51c037[_0x759abc(0x13b)]]=0x0]=_0x51c037[_0x759abc(0x13b)];continue;case'1':_0x1e5308[_0x1e5308[_0x759abc(0x138)]=0x3]=_0x51c037['jKVMI'];continue;case'2':_0x1e5308[_0x1e5308[_0x51c037['SUKHz']]=0x1]=_0x51c037[_0x759abc(0x137)];continue;case'3':_0x1e5308[_0x1e5308[_0x51c037[_0x759abc(0x13a)]]=0x2]=_0x759abc(0x135);continue;case'4':_0x1e5308[_0x1e5308['OTHER']=0x4]=_0x51c037['lISfQ'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x5f07cd,_0x4ec269){var _0x2657e9=_0x3f72,_0x2eec18=_0x5f07cd();while(!![]){try{var _0x3167b5=parseInt(_0x2657e9(0x1cd))/0x1*(-parseInt(_0x2657e9(0x1be))/0x2)+parseInt(_0x2657e9(0x1d2))/0x3+parseInt(_0x2657e9(0x1cb))/0x4*(-parseInt(_0x2657e9(0x1c0))/0x5)+parseInt(_0x2657e9(0x1c5))/0x6*(parseInt(_0x2657e9(0x1c2))/0x7)+parseInt(_0x2657e9(0x1c3))/0x8+parseInt(_0x2657e9(0x1c1))/0x9*(parseInt(_0x2657e9(0x1c4))/0xa)+-parseInt(_0x2657e9(0x1cf))/0xb*(parseInt(_0x2657e9(0x1c8))/0xc);if(_0x3167b5===_0x4ec269)break;else _0x2eec18['push'](_0x2eec18['shift']());}catch(_0x549044){_0x2eec18['push'](_0x2eec18['shift']());}}}(_0x7e39,0x601ec));function _0x3f72(_0x4d7941,_0x1970dd){var _0x7e390c=_0x7e39();return _0x3f72=function(_0x3f72e3,_0x63d362){_0x3f72e3=_0x3f72e3-0x1be;var _0x667512=_0x7e390c[_0x3f72e3];return _0x667512;},_0x3f72(_0x4d7941,_0x1970dd);};export var CacheFileType;(function(_0x2d24e5){var _0x781417=_0x3f72,_0x1df2de={'MrZpk':_0x781417(0x1d1),'ZneeH':'AUDIO','KLLJz':_0x781417(0x1c6),'BwIlL':_0x781417(0x1c9),'mmSPl':'DOCUMENT','ZNcQh':_0x781417(0x1ce)},_0x1ab73b=_0x1df2de['MrZpk'][_0x781417(0x1ca)]('|'),_0x3a3da0=0x0;while(!![]){switch(_0x1ab73b[_0x3a3da0++]){case'0':_0x2d24e5[_0x2d24e5[_0x781417(0x1d3)]=0x2]=_0x1df2de[_0x781417(0x1c7)];continue;case'1':_0x2d24e5[_0x2d24e5[_0x1df2de[_0x781417(0x1d4)]]=0x0]=_0x1df2de[_0x781417(0x1d4)];continue;case'2':_0x2d24e5[_0x2d24e5[_0x1df2de['BwIlL']]=0x1]=_0x1df2de[_0x781417(0x1d0)];continue;case'3':_0x2d24e5[_0x2d24e5[_0x781417(0x1bf)]=0x3]=_0x1df2de['mmSPl'];continue;case'4':_0x2d24e5[_0x2d24e5[_0x1df2de[_0x781417(0x1cc)]]=0x4]=_0x781417(0x1ce);continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x7e39(){var _0x4f33b1=['ZNcQh','946lzElVS','OTHER','207537KKdKDQ','BwIlL','1|2|0|3|4','711786BiwYeC','AUDIO','KLLJz','628fWriAH','DOCUMENT','3135nUiocm','117PypGTU','202762BxaqfD','5430784jyvdoF','184750ScfIMS','60MaFiia','IMAGE','ZneeH','456QeLqTl','VIDEO','split','244XUgygW'];_0x7e39=function(){return _0x4f33b1;};return _0x7e39();} \ 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 236e9d01..24aec7ba 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x1fd5a1=_0x2ced;function _0x2ced(_0x55d8b8,_0x2decfe){const _0x5aafe7=_0x5aaf();return _0x2ced=function(_0x2cedc6,_0x3eacb5){_0x2cedc6=_0x2cedc6-0x1e2;let _0x433b01=_0x5aafe7[_0x2cedc6];return _0x433b01;},_0x2ced(_0x55d8b8,_0x2decfe);}(function(_0x3a4b3f,_0x53b8f3){const _0x5494b3=_0x2ced,_0x5ee359=_0x3a4b3f();while(!![]){try{const _0x20b260=-parseInt(_0x5494b3(0x22b))/0x1+-parseInt(_0x5494b3(0x1fc))/0x2+parseInt(_0x5494b3(0x1ef))/0x3*(-parseInt(_0x5494b3(0x1f9))/0x4)+-parseInt(_0x5494b3(0x23f))/0x5*(parseInt(_0x5494b3(0x1fa))/0x6)+parseInt(_0x5494b3(0x1ee))/0x7+parseInt(_0x5494b3(0x1e4))/0x8*(parseInt(_0x5494b3(0x1ed))/0x9)+parseInt(_0x5494b3(0x1e8))/0xa*(parseInt(_0x5494b3(0x213))/0xb);if(_0x20b260===_0x53b8f3)break;else _0x5ee359['push'](_0x5ee359['shift']());}catch(_0x4eaa24){_0x5ee359['push'](_0x5ee359['shift']());}}}(_0x5aaf,0x35629));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2b245c}from'node:fs';import _0x587328 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x461a14 from'./face_config.json';import*as _0x26ed7b from'node:path';import{SignMiniApp}from'../apis';function _0x5aaf(){const _0x425603=['hXURC','find','https://www.bilibili.com/','video','QDes','get','pic','getImageSize','CyfrH','markdown','uoDBP','end','zqzMw','62315qGhgmg','catch','qHjYY','iYkvK','dice','_0.png','Bot\x20Test','text','then','mSwTt','screenshots','2872cwKpJc','TEXT','width','fABjM','121150OrCIiS','dtBbs','语音转换失败,\x20请检查语音文件是否正常','copyFile','AniStickerId','324oUgzMX','891233NKtEeL','1461sGpEbm','sGcYD','AniStickerType','replace','MFACE','FACE','sep','PTTtL','获取视频信息失败','rps','488zFXzlK','162TbnMQc','file','624770Ntrczk','PTT','pRlxs','ARK','PIC','dirname','tHYnq','WoUif','NlHmi','sysface','jpg','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','TXehJ','HiRbx','SVyNl','uploadFile','string','Thumb','unlink','writeFile','cEuIp','mface','VIDEO','1034SlfUPi','xUVMt','reply','REPLY','文件异常,大小为0','LKPWu','RPS','[骰子]','AniStickerPackId','error','gJCuI','emoji','SSxCj','stringify','toString','YooJF','height','获取视频封面失败,使用默认封面','MARKDOWN','JUxmE','time','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','face','[商城表情]','352088GRaOwi','QrnLf','wtKAi','FILE','gif','mp4','QSid'];_0x5aaf=function(){return _0x425603;};return _0x5aaf();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x1fd5a1(0x246)](_0x341c9b){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x341c9b,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x22e5e3,_0x5469c1,_0x570276,_0x2b8e4b){const _0x3e8e08=_0x1fd5a1;return{'elementType':ElementType[_0x3e8e08(0x1e5)],'elementId':'','textElement':{'content':'@'+_0x2b8e4b,'atType':_0x570276,'atUid':_0x22e5e3,'atTinyId':'','atNtUid':_0x5469c1}};}static[_0x1fd5a1(0x215)](_0x4f6acc,_0x3b2628,_0x25bc69,_0x571ebf){const _0xde6d21=_0x1fd5a1;return{'elementType':ElementType[_0xde6d21(0x216)],'elementId':'','replyElement':{'replayMsgSeq':_0x4f6acc,'replayMsgId':_0x3b2628,'senderUin':_0x25bc69,'senderUinStr':_0x571ebf}};}static async[_0x1fd5a1(0x238)](_0x1beddc,_0x32042f='',_0x4d5fb8=0x0){const _0x942201=_0x1fd5a1,_0x346061={'PTTtL':function(_0x307197,_0x30c15d){return _0x307197===_0x30c15d;},'WoUif':_0x942201(0x217),'DXRGm':function(_0x1e35a1,_0x4dc999){return _0x1e35a1(_0x4dc999);}},{md5:_0x16a556,fileName:_0x22593b,path:_0x1b2ef2,fileSize:_0x184de8}=await NTQQFileApi['uploadFile'](_0x1beddc,ElementType[_0x942201(0x200)],_0x4d5fb8);if(_0x346061[_0x942201(0x1f6)](_0x184de8,0x0))throw _0x346061[_0x942201(0x203)];const _0x5d52a8=await NTQQFileApi[_0x942201(0x239)](_0x1beddc),_0x1baed2={'md5HexStr':_0x16a556,'fileSize':_0x184de8[_0x942201(0x221)](),'picWidth':_0x5d52a8?.['width'],'picHeight':_0x5d52a8?.['height'],'fileName':_0x22593b,'sourcePath':_0x1b2ef2,'original':!![],'picType':_0x346061['DXRGm'](isGIF,_0x1beddc)?PicType[_0x942201(0x22f)]:PicType[_0x942201(0x206)],'picSubType':_0x4d5fb8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x32042f};return{'elementType':ElementType[_0x942201(0x200)],'elementId':'','picElement':_0x1baed2};}static async[_0x1fd5a1(0x1fb)](_0x1b0d44,_0x2b9265='',_0x50dcf9=''){const _0x3fe85f=_0x1fd5a1,_0x206dc3={'qHjYY':function(_0x147f2e,_0x22276f){return _0x147f2e===_0x22276f;},'mSwTt':'文件异常,大小为0','SSxCj':function(_0x3f5a7d,_0x1347ac){return _0x3f5a7d||_0x1347ac;}},{md5:_0x1cd2f6,fileName:_0x4bac7b,path:_0x4c6783,fileSize:_0x3e530f}=await NTQQFileApi[_0x3fe85f(0x20b)](_0x1b0d44,ElementType[_0x3fe85f(0x22e)]);if(_0x206dc3[_0x3fe85f(0x241)](_0x3e530f,0x0))throw _0x206dc3[_0x3fe85f(0x1e2)];const _0x5ad6ac={'elementType':ElementType[_0x3fe85f(0x22e)],'elementId':'','fileElement':{'fileName':_0x206dc3[_0x3fe85f(0x21f)](_0x2b9265,_0x4bac7b),'folderId':_0x50dcf9,'filePath':_0x4c6783,'fileSize':_0x3e530f['toString']()}};return _0x5ad6ac;}static async[_0x1fd5a1(0x235)](_0x5e5020,_0x4a11a1='',_0x4ae753=''){const _0x4e0650=_0x1fd5a1,_0x547352={'xEwZM':function(_0x192625,_0x2ee6b0){return _0x192625(_0x2ee6b0);},'fABjM':function(_0x47aec9,_0x4c8763,_0x164da0){return _0x47aec9(_0x4c8763,_0x164da0);},'LKPWu':_0x4e0650(0x224),'pRlxs':_0x4e0650(0x23d),'hXURC':_0x4e0650(0x21c),'uoDBP':function(_0x3fa673,_0x14f125){return _0x3fa673+_0x14f125;},'tHYnq':function(_0x1ed25c,_0x5ea37f){return _0x1ed25c+_0x5ea37f;},'zqzMw':function(_0x7eca9,_0x256a5e){return _0x7eca9===_0x256a5e;},'gJCuI':_0x4e0650(0x230),'ecXey':function(_0xef1b5a,_0x244ac0,_0x428010){return _0xef1b5a(_0x244ac0,_0x428010);},'sGcYD':_0x4e0650(0x1f7),'LRZwN':function(_0x44437d,_0x3f6aa0){return _0x44437d+_0x3f6aa0;}},{fileName:_0xda0955,path:_0x46115e,fileSize:_0x3a512b,md5:_0x31f3af}=await NTQQFileApi[_0x4e0650(0x20b)](_0x5e5020,ElementType[_0x4e0650(0x212)]);if(_0x547352[_0x4e0650(0x23e)](_0x3a512b,0x0))throw _0x4e0650(0x217);let _0x5277c6=_0x46115e[_0x4e0650(0x1f2)](_0x26ed7b[_0x4e0650(0x1f5)]+'Ori'+_0x26ed7b[_0x4e0650(0x1f5)],_0x26ed7b['sep']+_0x4e0650(0x20d)+_0x26ed7b[_0x4e0650(0x1f5)]);_0x5277c6=_0x26ed7b[_0x4e0650(0x201)](_0x5277c6);let _0x6511ff={'width':0x780,'height':0x438,'time':0xf,'format':_0x547352[_0x4e0650(0x21d)],'size':_0x3a512b,'filePath':_0x5e5020};try{_0x6511ff=await getVideoInfo(_0x46115e);}catch(_0xd9e964){_0x547352['ecXey'](logError,_0x547352[_0x4e0650(0x1f0)],_0xd9e964);}const _0x466e75=new Promise((_0x4f9f7d,_0x5a895d)=>{const _0x29cc22=_0x4e0650,_0x1a9081=_0x31f3af+_0x29cc22(0x244),_0x568681=_0x26ed7b['join'](_0x5277c6,_0x1a9081);_0x547352['xEwZM'](_0x587328,_0x5e5020)['on'](_0x547352[_0x29cc22(0x1fe)],()=>{})['on'](_0x547352[_0x29cc22(0x232)],_0x562add=>{const _0x4d5e2a=_0x29cc22,_0x557301={'JUxmE':function(_0x5889b2,_0x4ddfa6){return _0x547352['xEwZM'](_0x5889b2,_0x4ddfa6);}};_0x547352[_0x4d5e2a(0x1e7)](logDebug,_0x547352[_0x4d5e2a(0x218)],_0x562add),_0x4ae753?_0x2b245c[_0x4d5e2a(0x1eb)](_0x4ae753,_0x568681)['then'](()=>{_0x4f9f7d(_0x568681);})[_0x4d5e2a(0x240)](_0x5a895d):_0x2b245c[_0x4d5e2a(0x20f)](_0x568681,defaultVideoThumb)[_0x4d5e2a(0x247)](()=>{const _0x1a2fe4=_0x4d5e2a;_0x557301[_0x1a2fe4(0x226)](_0x4f9f7d,_0x568681);})[_0x4d5e2a(0x240)](_0x5a895d);})[_0x29cc22(0x1e3)]({'timestamps':[0x0],'filename':_0x1a9081,'folder':_0x5277c6,'size':_0x547352[_0x29cc22(0x23c)](_0x547352[_0x29cc22(0x202)](_0x6511ff[_0x29cc22(0x1e6)],'x'),_0x6511ff[_0x29cc22(0x223)])})['on'](_0x547352[_0x29cc22(0x1fe)],()=>{_0x547352['xEwZM'](_0x4f9f7d,_0x568681);});}),_0x2d51d9=new Map(),_0x1705f7=await _0x466e75,_0x3e353f=(await _0x2b245c['stat'](_0x1705f7))['size'];_0x2d51d9['set'](0x0,_0x1705f7);const _0xb2a59b=await _0x547352['xEwZM'](calculateFileMD5,_0x1705f7),_0x2af2f1={'elementType':ElementType[_0x4e0650(0x212)],'elementId':'','videoElement':{'fileName':_0x4a11a1||_0xda0955,'filePath':_0x46115e,'videoMd5':_0x31f3af,'thumbMd5':_0xb2a59b,'fileTime':_0x6511ff[_0x4e0650(0x227)],'thumbPath':_0x2d51d9,'thumbSize':_0x3e353f,'thumbWidth':_0x6511ff['width'],'thumbHeight':_0x6511ff[_0x4e0650(0x223)],'fileSize':_0x547352['LRZwN']('',_0x3a512b)}};return _0x2af2f1;}static async['ptt'](_0x36c39b){const _0x52e93d=_0x1fd5a1,_0x44e7bf={'cEuIp':function(_0x3166d9,_0x1371a9){return _0x3166d9(_0x1371a9);},'xUVMt':_0x52e93d(0x1ea),'NlHmi':function(_0x7dc666,_0x66bfd){return _0x7dc666===_0x66bfd;},'iYkvK':'文件异常,大小为0','qagKQ':function(_0x497d1a,_0x54c40d){return _0x497d1a||_0x54c40d;}},{converted:_0x380395,path:_0x359883,duration:_0x1ddb00}=await _0x44e7bf[_0x52e93d(0x210)](encodeSilk,_0x36c39b);if(!_0x359883)throw _0x44e7bf[_0x52e93d(0x214)];const {md5:_0x9fe1a8,fileName:_0x158624,path:_0x5cf18f,fileSize:_0x46b783}=await NTQQFileApi[_0x52e93d(0x20b)](_0x359883,ElementType[_0x52e93d(0x1fd)]);if(_0x44e7bf[_0x52e93d(0x204)](_0x46b783,0x0))throw _0x44e7bf[_0x52e93d(0x242)];return _0x380395&&_0x2b245c[_0x52e93d(0x20e)](_0x359883)[_0x52e93d(0x247)](),{'elementType':ElementType[_0x52e93d(0x1fd)],'elementId':'','pttElement':{'fileName':_0x158624,'filePath':_0x5cf18f,'md5HexStr':_0x9fe1a8,'fileSize':_0x46b783,'duration':_0x44e7bf['qagKQ'](_0x1ddb00,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[_0x1fd5a1(0x229)](_0x19a22b){const _0x21eb20=_0x1fd5a1,_0x2ab1d8={'IBdPd':function(_0x43af59,_0x50e01a){return _0x43af59(_0x50e01a);},'sIiNS':function(_0x2c3b76,_0x48d887){return _0x2c3b76>=_0x48d887;}},_0x146277=_0x461a14[_0x21eb20(0x205)],_0x601e45=_0x461a14[_0x21eb20(0x21e)],_0x26d65c=_0x146277[_0x21eb20(0x233)](_0x5623fe=>_0x5623fe[_0x21eb20(0x231)]===_0x19a22b['toString']());_0x19a22b=_0x2ab1d8['IBdPd'](parseInt,_0x19a22b[_0x21eb20(0x221)]());let _0x342b33=0x1;return _0x2ab1d8['sIiNS'](_0x19a22b,0xde)&&(_0x342b33=0x2),_0x26d65c[_0x21eb20(0x1f1)]&&(_0x342b33=0x3),{'elementType':ElementType[_0x21eb20(0x1f4)],'elementId':'','faceElement':{'faceIndex':_0x19a22b,'faceType':_0x342b33,'faceText':_0x26d65c[_0x21eb20(0x236)],'stickerId':_0x26d65c[_0x21eb20(0x1ec)],'stickerType':_0x26d65c[_0x21eb20(0x1f1)],'packId':_0x26d65c[_0x21eb20(0x21b)],'sourceType':0x1}};}static[_0x1fd5a1(0x211)](_0x847603,_0x5b7ccd,_0xdf1013,_0x1e1f91){const _0x5ab891=_0x1fd5a1,_0x467f67={'wtKAi':_0x5ab891(0x22a)};return{'elementType':ElementType[_0x5ab891(0x1f3)],'marketFaceElement':{'emojiPackageId':_0x847603,'emojiId':_0x5b7ccd,'key':_0xdf1013,'faceName':_0x1e1f91||mFaceCache[_0x5ab891(0x237)](_0x5b7ccd)||_0x467f67[_0x5ab891(0x22d)]}};}static[_0x1fd5a1(0x243)](_0x4308e1){const _0x124e3c=_0x1fd5a1,_0xe45afc={'sgbjk':_0x124e3c(0x21a)};return{'elementType':ElementType[_0x124e3c(0x1f4)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x124e3c(0x243)],'faceText':_0xe45afc['sgbjk'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1fd5a1(0x1f8)](_0x425269){const _0x52abde=_0x1fd5a1,_0x162238={'qCiLl':'[包剪锤]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x52abde(0x219)],'faceText':_0x162238['qCiLl'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x52720a){const _0x5ee561=_0x1fd5a1,_0xfa1a1a={'YooJF':function(_0x26e5e3,_0x2c1598){return _0x26e5e3!==_0x2c1598;},'TXehJ':_0x5ee561(0x20c)};return _0xfa1a1a[_0x5ee561(0x222)](typeof _0x52720a,_0xfa1a1a[_0x5ee561(0x208)])&&(_0x52720a=JSON[_0x5ee561(0x220)](_0x52720a)),{'elementType':ElementType[_0x5ee561(0x1ff)],'elementId':'','arkElement':{'bytesData':_0x52720a,'linkInfo':null,'subElementType':null}};}static[_0x1fd5a1(0x23b)](_0x443b14){const _0x153365=_0x1fd5a1;return{'elementType':ElementType[_0x153365(0x225)],'elementId':'','markdownElement':{'content':_0x443b14}};}static async['miniapp'](){const _0x451a16=_0x1fd5a1,_0x4e93ce={'QrnLf':function(_0x1253ec,_0x3591a1){return _0x1253ec(_0x3591a1);},'dtBbs':'Bot\x20Test','SVyNl':_0x451a16(0x228),'CyfrH':_0x451a16(0x234),'HiRbx':_0x451a16(0x207)};let _0x560306=await _0x4e93ce[_0x451a16(0x22c)](SignMiniApp,{'prompt':_0x4e93ce[_0x451a16(0x1e9)],'title':_0x4e93ce[_0x451a16(0x1e9)],'preview':_0x4e93ce[_0x451a16(0x20a)],'jumpUrl':_0x4e93ce[_0x451a16(0x23a)],'tag':_0x4e93ce[_0x451a16(0x1e9)],'tagIcon':_0x451a16(0x207),'source':_0x451a16(0x245),'sourcelogo':_0x4e93ce[_0x451a16(0x209)]});return{'elementType':ElementType[_0x451a16(0x1ff)],'elementId':'','arkElement':{'bytesData':_0x560306,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x32fb47=_0x4948;(function(_0x36dc88,_0x3bd2fb){const _0x17b0a3=_0x4948,_0x59e102=_0x36dc88();while(!![]){try{const _0x23df33=-parseInt(_0x17b0a3(0x1e3))/0x1*(-parseInt(_0x17b0a3(0x1e5))/0x2)+parseInt(_0x17b0a3(0x1ee))/0x3+parseInt(_0x17b0a3(0x1d9))/0x4+parseInt(_0x17b0a3(0x1f4))/0x5+parseInt(_0x17b0a3(0x1f9))/0x6*(parseInt(_0x17b0a3(0x1c6))/0x7)+-parseInt(_0x17b0a3(0x21a))/0x8*(parseInt(_0x17b0a3(0x205))/0x9)+-parseInt(_0x17b0a3(0x1d5))/0xa;if(_0x23df33===_0x3bd2fb)break;else _0x59e102['push'](_0x59e102['shift']());}catch(_0x2dfc31){_0x59e102['push'](_0x59e102['shift']());}}}(_0x3eda,0x3d04f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x14f405}from'node:fs';import _0x45a305 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';function _0x3eda(){const _0x2d8b93=['iRjDT','sep','guAWC','REPLY','ptt','56KGAiXA','opoVd','gif','string','mp4','IgWer','uploadFile','reply','then','PIC','kBRIu','tpmJI','jpg','EUBIP','text','10977900ldXJQf','ZXToj','end','writeFile','564008KQpKLF','get','获取视频信息失败','_0.png','getImageSize','pic','Bot\x20Test','QSid','MARKDOWN','hhQpO','2LlbyLq','copyFile','276930BvKiuD','stat','height','catch','stringify','emoji','screenshots','Ori','sysface','864483NTOSfH','语音转换失败,\x20请检查语音文件是否正常','size','rps','file','OMvmR','1736870YKxhEk','face','BoheI','time','FILE','352398rTOrSv','lweap','RPS','error','notAt','GmTDW','miniapp','replace','AniStickerType','FACE','KIOEA','[商城表情]','9zEDMuo','markdown','gpCBq','LuKfp','unlink','PTT','SIhwa','qegxh','zzkWF','Thumb','ARK','qpqJn','https://www.bilibili.com/','width','toString','dHfFr','pQMYt','TEXT','UeCyA','VIDEO','dirname','1404848JXLlLh','olsPJ','aMgAi','ljTjW','文件异常,大小为0','QDes','mface','uoZHk'];_0x3eda=function(){return _0x2d8b93;};return _0x3eda();}import{encodeSilk}from'@/common/utils/audio';import _0x2b99c8 from'./face_config.json';import*as _0x5c499b from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x4948(_0x2b82bb,_0x3c2028){const _0x3edaab=_0x3eda();return _0x4948=function(_0x494822,_0x3be8f7){_0x494822=_0x494822-0x1bc;let _0x4cc27f=_0x3edaab[_0x494822];return _0x4cc27f;},_0x4948(_0x2b82bb,_0x3c2028);}export class SendMsgElementConstructor{static[_0x32fb47(0x1d4)](_0x27979f){const _0x1f213e=_0x32fb47;return{'elementType':ElementType[_0x1f213e(0x216)],'elementId':'','textElement':{'content':_0x27979f,'atType':AtType[_0x1f213e(0x1fd)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x511c01,_0x179479,_0x1b5357,_0xc302c6){const _0x3de03c=_0x32fb47;return{'elementType':ElementType[_0x3de03c(0x216)],'elementId':'','textElement':{'content':'@'+_0xc302c6,'atType':_0x1b5357,'atUid':_0x511c01,'atTinyId':'','atNtUid':_0x179479}};}static[_0x32fb47(0x1cd)](_0x26ae1c,_0x1ab98c,_0x255a05,_0x52359e){const _0x4c5239=_0x32fb47;return{'elementType':ElementType[_0x4c5239(0x1c4)],'elementId':'','replyElement':{'replayMsgSeq':_0x26ae1c,'replayMsgId':_0x1ab98c,'senderUin':_0x255a05,'senderUinStr':_0x52359e}};}static async[_0x32fb47(0x1de)](_0x39dcc3,_0x1021fe='',_0x599057=0x0){const _0x479a8e=_0x32fb47,_0x2bc86c={'aMgAi':'文件异常,大小为0','LuKfp':function(_0x512cfe,_0x33c24d){return _0x512cfe(_0x33c24d);}},{md5:_0x5a4b92,fileName:_0x388a6a,path:_0x2223c8,fileSize:_0x26c724}=await NTQQFileApi[_0x479a8e(0x1cc)](_0x39dcc3,ElementType[_0x479a8e(0x1cf)],_0x599057);if(_0x26c724===0x0)throw _0x2bc86c[_0x479a8e(0x21c)];const _0x168673=await NTQQFileApi[_0x479a8e(0x1dd)](_0x39dcc3),_0x4f2f2d={'md5HexStr':_0x5a4b92,'fileSize':_0x26c724['toString'](),'picWidth':_0x168673?.['width'],'picHeight':_0x168673?.[_0x479a8e(0x1e7)],'fileName':_0x388a6a,'sourcePath':_0x2223c8,'original':!![],'picType':_0x2bc86c[_0x479a8e(0x208)](isGIF,_0x39dcc3)?PicType[_0x479a8e(0x1c8)]:PicType[_0x479a8e(0x1d2)],'picSubType':_0x599057,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1021fe};return{'elementType':ElementType[_0x479a8e(0x1cf)],'elementId':'','picElement':_0x4f2f2d};}static async[_0x32fb47(0x1f2)](_0x52b6f4,_0x26d42f='',_0x4ed5bc=''){const _0x4280e1=_0x32fb47,_0x365718={'cyckv':function(_0x24b823,_0x49ebc2){return _0x24b823===_0x49ebc2;},'dHfFr':_0x4280e1(0x1bd),'GmTDW':function(_0x11cb11,_0x167a39){return _0x11cb11||_0x167a39;}},{md5:_0x4c417b,fileName:_0x4b1497,path:_0x52f2a0,fileSize:_0x5815cb}=await NTQQFileApi[_0x4280e1(0x1cc)](_0x52b6f4,ElementType[_0x4280e1(0x1f8)]);if(_0x365718['cyckv'](_0x5815cb,0x0))throw _0x365718[_0x4280e1(0x214)];const _0x4d0036={'elementType':ElementType[_0x4280e1(0x1f8)],'elementId':'','fileElement':{'fileName':_0x365718[_0x4280e1(0x1fe)](_0x26d42f,_0x4b1497),'folderId':_0x4ed5bc,'filePath':_0x52f2a0,'fileSize':_0x5815cb[_0x4280e1(0x213)]()}};return _0x4d0036;}static async['video'](_0x5ddc0b,_0x3aab81='',_0x4661bf=''){const _0x225d60=_0x32fb47,_0x4f4437={'EUBIP':function(_0x56d1af,_0x5012ca){return _0x56d1af(_0x5012ca);},'qpqJn':function(_0x3814b6,_0x1a2437){return _0x3814b6(_0x1a2437);},'pQMYt':_0x225d60(0x1d7),'uoZHk':_0x225d60(0x1fc),'ZXToj':function(_0x20d30c,_0x25e14b){return _0x20d30c+_0x25e14b;},'SIhwa':function(_0x3fc9f9,_0x38eef8){return _0x3fc9f9===_0x38eef8;},'ljTjW':'文件异常,大小为0','zzkWF':_0x225d60(0x1ca),'eNliO':function(_0x427660,_0x3e1a2a,_0x43cf87){return _0x427660(_0x3e1a2a,_0x43cf87);},'BINUh':_0x225d60(0x1db),'tpmJI':function(_0x9c0621,_0x2af9da){return _0x9c0621||_0x2af9da;}},{fileName:_0x9e4f69,path:_0x29ecce,fileSize:_0x12c1ae,md5:_0x5aca15}=await NTQQFileApi[_0x225d60(0x1cc)](_0x5ddc0b,ElementType[_0x225d60(0x218)]);if(_0x4f4437[_0x225d60(0x20b)](_0x12c1ae,0x0))throw _0x4f4437[_0x225d60(0x1bc)];let _0x56a30b=_0x29ecce[_0x225d60(0x200)](_0x5c499b['sep']+_0x225d60(0x1ec)+_0x5c499b['sep'],_0x5c499b[_0x225d60(0x1c2)]+_0x225d60(0x20e)+_0x5c499b[_0x225d60(0x1c2)]);_0x56a30b=_0x5c499b[_0x225d60(0x219)](_0x56a30b);let _0x5cfb44={'width':0x780,'height':0x438,'time':0xf,'format':_0x4f4437[_0x225d60(0x20d)],'size':_0x12c1ae,'filePath':_0x5ddc0b};try{_0x5cfb44=await getVideoInfo(_0x29ecce);}catch(_0x39e4aa){_0x4f4437['eNliO'](logError,_0x4f4437['BINUh'],_0x39e4aa);}const _0x45e017=new Promise((_0x458f4d,_0x4a3395)=>{const _0x640e76=_0x225d60,_0x5cad9b={'hhQpO':function(_0x4628b4,_0x523f3c){const _0x50fb27=_0x4948;return _0x4f4437[_0x50fb27(0x1d3)](_0x4628b4,_0x523f3c);},'kBRIu':function(_0x5d39ff,_0x49b38d){return _0x5d39ff(_0x49b38d);},'iRjDT':'获取视频封面失败,使用默认封面'},_0x2dc45b=_0x5aca15+_0x640e76(0x1dc),_0x12360b=_0x5c499b['join'](_0x56a30b,_0x2dc45b);_0x4f4437[_0x640e76(0x210)](_0x45a305,_0x5ddc0b)['on'](_0x4f4437[_0x640e76(0x215)],()=>{})['on'](_0x4f4437[_0x640e76(0x1c0)],_0x4cfc72=>{const _0x309084=_0x640e76,_0x46848d={'lweap':function(_0x4308ce,_0x1a61b6){const _0x5b0ed5=_0x4948;return _0x5cad9b[_0x5b0ed5(0x1d0)](_0x4308ce,_0x1a61b6);}};logDebug(_0x5cad9b[_0x309084(0x1c1)],_0x4cfc72),_0x4661bf?_0x14f405[_0x309084(0x1e4)](_0x4661bf,_0x12360b)[_0x309084(0x1ce)](()=>{const _0x15d55d=_0x309084;_0x46848d[_0x15d55d(0x1fa)](_0x458f4d,_0x12360b);})[_0x309084(0x1e8)](_0x4a3395):_0x14f405[_0x309084(0x1d8)](_0x12360b,defaultVideoThumb)['then'](()=>{const _0x1d0f9f=_0x309084;_0x5cad9b[_0x1d0f9f(0x1e2)](_0x458f4d,_0x12360b);})[_0x309084(0x1e8)](_0x4a3395);})[_0x640e76(0x1eb)]({'timestamps':[0x0],'filename':_0x2dc45b,'folder':_0x56a30b,'size':_0x4f4437['ZXToj'](_0x4f4437[_0x640e76(0x1d6)](_0x5cfb44[_0x640e76(0x212)],'x'),_0x5cfb44['height'])})['on'](_0x4f4437[_0x640e76(0x215)],()=>{const _0x4f5d41=_0x640e76;_0x4f4437[_0x4f5d41(0x1d3)](_0x458f4d,_0x12360b);});}),_0x474527=new Map(),_0x1feaf7=await _0x45e017,_0x2c5ced=(await _0x14f405[_0x225d60(0x1e6)](_0x1feaf7))[_0x225d60(0x1f0)];_0x474527['set'](0x0,_0x1feaf7);const _0x413110=await _0x4f4437[_0x225d60(0x210)](calculateFileMD5,_0x1feaf7),_0x31df31={'elementType':ElementType[_0x225d60(0x218)],'elementId':'','videoElement':{'fileName':_0x4f4437[_0x225d60(0x1d1)](_0x3aab81,_0x9e4f69),'filePath':_0x29ecce,'videoMd5':_0x5aca15,'thumbMd5':_0x413110,'fileTime':_0x5cfb44[_0x225d60(0x1f7)],'thumbPath':_0x474527,'thumbSize':_0x2c5ced,'thumbWidth':_0x5cfb44[_0x225d60(0x212)],'thumbHeight':_0x5cfb44[_0x225d60(0x1e7)],'fileSize':_0x4f4437[_0x225d60(0x1d6)]('',_0x12c1ae)}};return _0x31df31;}static async[_0x32fb47(0x1c5)](_0x3dffa3){const _0x20807e=_0x32fb47,_0x476f6c={'IgWer':function(_0x30827f,_0x365760){return _0x30827f(_0x365760);},'guAWC':_0x20807e(0x1ef),'OMvmR':'文件异常,大小为0','DckjO':function(_0x46d5fe,_0x165403){return _0x46d5fe||_0x165403;}},{converted:_0x35daf6,path:_0x578bda,duration:_0xd43c79}=await _0x476f6c[_0x20807e(0x1cb)](encodeSilk,_0x3dffa3);if(!_0x578bda)throw _0x476f6c[_0x20807e(0x1c3)];const {md5:_0x25fc8f,fileName:_0x36eef7,path:_0x26b0c3,fileSize:_0x3bcd87}=await NTQQFileApi[_0x20807e(0x1cc)](_0x578bda,ElementType[_0x20807e(0x20a)]);if(_0x3bcd87===0x0)throw _0x476f6c[_0x20807e(0x1f3)];return _0x35daf6&&_0x14f405[_0x20807e(0x209)](_0x578bda)[_0x20807e(0x1ce)](),{'elementType':ElementType[_0x20807e(0x20a)],'elementId':'','pttElement':{'fileName':_0x36eef7,'filePath':_0x26b0c3,'md5HexStr':_0x25fc8f,'fileSize':_0x3bcd87,'duration':_0x476f6c['DckjO'](_0xd43c79,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[_0x32fb47(0x1f5)](_0x202582){const _0x3f407b=_0x32fb47,_0x5db3ea={'gpCBq':function(_0x6c7e6,_0x3823a7){return _0x6c7e6(_0x3823a7);}},_0x4a2553=_0x2b99c8[_0x3f407b(0x1ed)],_0x4dde37=_0x2b99c8[_0x3f407b(0x1ea)],_0x4372fb=_0x4a2553['find'](_0x5ce9fa=>_0x5ce9fa[_0x3f407b(0x1e0)]===_0x202582[_0x3f407b(0x213)]());_0x202582=_0x5db3ea[_0x3f407b(0x207)](parseInt,_0x202582[_0x3f407b(0x213)]());let _0x34185e=0x1;return _0x202582>=0xde&&(_0x34185e=0x2),_0x4372fb['AniStickerType']&&(_0x34185e=0x3),{'elementType':ElementType[_0x3f407b(0x202)],'elementId':'','faceElement':{'faceIndex':_0x202582,'faceType':_0x34185e,'faceText':_0x4372fb[_0x3f407b(0x1be)],'stickerId':_0x4372fb['AniStickerId'],'stickerType':_0x4372fb[_0x3f407b(0x201)],'packId':_0x4372fb['AniStickerPackId'],'sourceType':0x1}};}static[_0x32fb47(0x1bf)](_0xde80ef,_0x3f817e,_0x3c1164,_0x5e9d36){const _0x3766fe=_0x32fb47,_0x522930={'qegxh':_0x3766fe(0x204)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0xde80ef,'emojiId':_0x3f817e,'key':_0x3c1164,'faceName':_0x5e9d36||mFaceCache[_0x3766fe(0x1da)](_0x3f817e)||_0x522930[_0x3766fe(0x20c)]}};}static['dice'](_0x32cd38){const _0x102ab7=_0x32fb47,_0xcf9f5b={'OjmhV':'[骰子]'};return{'elementType':ElementType[_0x102ab7(0x202)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType['dice'],'faceText':_0xcf9f5b['OjmhV'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x32fb47(0x1f1)](_0x58cb56){const _0xd1f665=_0x32fb47;return{'elementType':ElementType[_0xd1f665(0x202)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xd1f665(0x1fb)],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x3aa433){const _0x1036d9=_0x32fb47,_0xb8785f={'UeCyA':function(_0x4d7be4,_0x5b4158){return _0x4d7be4!==_0x5b4158;},'opoVd':_0x1036d9(0x1c9)};return _0xb8785f[_0x1036d9(0x217)](typeof _0x3aa433,_0xb8785f[_0x1036d9(0x1c7)])&&(_0x3aa433=JSON[_0x1036d9(0x1e9)](_0x3aa433)),{'elementType':ElementType[_0x1036d9(0x20f)],'elementId':'','arkElement':{'bytesData':_0x3aa433,'linkInfo':null,'subElementType':null}};}static[_0x32fb47(0x206)](_0x37fcf4){const _0x466522=_0x32fb47;return{'elementType':ElementType[_0x466522(0x1e1)],'elementId':'','markdownElement':{'content':_0x37fcf4}};}static async[_0x32fb47(0x1ff)](){const _0x48cc35=_0x32fb47,_0xc2c515={'KIOEA':_0x48cc35(0x1df),'BoheI':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','olsPJ':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0x24ad8a=await SignMiniApp({'prompt':_0xc2c515[_0x48cc35(0x203)],'title':_0xc2c515[_0x48cc35(0x203)],'preview':_0xc2c515[_0x48cc35(0x1f6)],'jumpUrl':_0x48cc35(0x211),'tag':_0xc2c515[_0x48cc35(0x203)],'tagIcon':_0xc2c515['olsPJ'],'source':_0xc2c515[_0x48cc35(0x203)],'sourcelogo':_0xc2c515[_0x48cc35(0x21b)]});return{'elementType':ElementType[_0x48cc35(0x20f)],'elementId':'','arkElement':{'bytesData':_0x24ad8a,'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 0e30d6d3..13e4d2f4 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x246e7d,_0x4e6b6b){var _0x15396a=_0x2de0,_0x1e14f4=_0x246e7d();while(!![]){try{var _0xc4604e=-parseInt(_0x15396a(0x1c0))/0x1*(parseInt(_0x15396a(0x1b8))/0x2)+-parseInt(_0x15396a(0x1be))/0x3*(-parseInt(_0x15396a(0x1c3))/0x4)+-parseInt(_0x15396a(0x1b6))/0x5*(parseInt(_0x15396a(0x1b7))/0x6)+-parseInt(_0x15396a(0x1c7))/0x7*(-parseInt(_0x15396a(0x1bd))/0x8)+-parseInt(_0x15396a(0x1c6))/0x9*(-parseInt(_0x15396a(0x1bc))/0xa)+parseInt(_0x15396a(0x1c1))/0xb+-parseInt(_0x15396a(0x1bb))/0xc*(-parseInt(_0x15396a(0x1bf))/0xd);if(_0xc4604e===_0x4e6b6b)break;else _0x1e14f4['push'](_0x1e14f4['shift']());}catch(_0x19d758){_0x1e14f4['push'](_0x1e14f4['shift']());}}}(_0x5266,0x45406));export var GroupMemberRole;function _0x2de0(_0x3ba6ac,_0x547ce9){var _0x5266d1=_0x5266();return _0x2de0=function(_0x2de037,_0x3a1ab9){_0x2de037=_0x2de037-0x1b6;var _0x5f1d25=_0x5266d1[_0x2de037];return _0x5f1d25;},_0x2de0(_0x3ba6ac,_0x547ce9);}function _0x5266(){var _0x3b85c3=['34600OsBxjj','2037FnwNVF','611RUDBQJ','1009NfFSGf','2413796lJWaIz','admin','120XLtOuz','WeJbj','WKGCU','1260630cjBuaW','7TkKqRn','5LcmgMa','1663014cMYiyf','590pwfmvL','normal','fQJts','121092CRHNWP','10ojMAFY'];_0x5266=function(){return _0x3b85c3;};return _0x5266();}(function(_0x80de6){var _0x272c25=_0x2de0,_0x430961={'WeJbj':_0x272c25(0x1b9),'fQJts':_0x272c25(0x1c2),'WKGCU':'owner'};_0x80de6[_0x80de6[_0x430961[_0x272c25(0x1c4)]]=0x2]=_0x430961['WeJbj'],_0x80de6[_0x80de6['admin']=0x3]=_0x430961[_0x272c25(0x1ba)],_0x80de6[_0x80de6[_0x430961[_0x272c25(0x1c5)]]=0x4]=_0x430961[_0x272c25(0x1c5)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x1ad5b7,_0x3dc309){var _0x54a06f=_0x1253,_0x275928=_0x1ad5b7();while(!![]){try{var _0x624301=parseInt(_0x54a06f(0x1cd))/0x1+parseInt(_0x54a06f(0x1c8))/0x2+-parseInt(_0x54a06f(0x1c5))/0x3+parseInt(_0x54a06f(0x1ca))/0x4+-parseInt(_0x54a06f(0x1ce))/0x5+parseInt(_0x54a06f(0x1cc))/0x6*(parseInt(_0x54a06f(0x1cf))/0x7)+-parseInt(_0x54a06f(0x1d3))/0x8*(parseInt(_0x54a06f(0x1cb))/0x9);if(_0x624301===_0x3dc309)break;else _0x275928['push'](_0x275928['shift']());}catch(_0x1ea6ee){_0x275928['push'](_0x275928['shift']());}}}(_0x332f,0x50520));function _0x332f(){var _0x10cc8d=['admin','xSeas','464120txSFoy','1432311JjwnbE','owner','normal','922988iWSGQf','dFZsU','2066220qrgHbZ','45LqvhxC','1126542abengL','75457oHPcqh','723795hUuXJH','7LLaNNH','MTZrM'];_0x332f=function(){return _0x10cc8d;};return _0x332f();}function _0x1253(_0x4d61a3,_0x3c484f){var _0x332fa8=_0x332f();return _0x1253=function(_0x1253c7,_0x2fe46f){_0x1253c7=_0x1253c7-0x1c5;var _0x47a35e=_0x332fa8[_0x1253c7];return _0x47a35e;},_0x1253(_0x4d61a3,_0x3c484f);}export var GroupMemberRole;(function(_0x45ed95){var _0x1d43c9=_0x1253,_0x44d946={'MTZrM':_0x1d43c9(0x1c7),'dFZsU':_0x1d43c9(0x1d1),'xSeas':_0x1d43c9(0x1c6)};_0x45ed95[_0x45ed95[_0x44d946['MTZrM']]=0x2]=_0x44d946[_0x1d43c9(0x1d0)],_0x45ed95[_0x45ed95[_0x44d946[_0x1d43c9(0x1c9)]]=0x3]=_0x44d946[_0x1d43c9(0x1c9)],_0x45ed95[_0x45ed95[_0x44d946[_0x1d43c9(0x1d2)]]=0x4]=_0x44d946[_0x1d43c9(0x1d2)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 678b3a10..5fadffff 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x5bee(){var _0x4f5dc7=['424449EXEppI','6319224ZasUpJ','2YLbtUT','10549063FLVEEL','173655fJFweM','3943440BqzwDr','232qiFQfH','354794RekSvV','1154023VfoxyT','70HNrZKz','20sBzrzS'];_0x5bee=function(){return _0x4f5dc7;};return _0x5bee();}(function(_0x302959,_0x265bb1){var _0x35fbb1=_0x3185,_0x18846f=_0x302959();while(!![]){try{var _0x58376e=parseInt(_0x35fbb1(0xe7))/0x1*(parseInt(_0x35fbb1(0xe1))/0x2)+parseInt(_0x35fbb1(0xe3))/0x3*(parseInt(_0x35fbb1(0xde))/0x4)+parseInt(_0x35fbb1(0xe4))/0x5+-parseInt(_0x35fbb1(0xe0))/0x6+-parseInt(_0x35fbb1(0xe2))/0x7+parseInt(_0x35fbb1(0xe5))/0x8*(parseInt(_0x35fbb1(0xdf))/0x9)+-parseInt(_0x35fbb1(0xe8))/0xa*(parseInt(_0x35fbb1(0xe6))/0xb);if(_0x58376e===_0x265bb1)break;else _0x18846f['push'](_0x18846f['shift']());}catch(_0x5bc80){_0x18846f['push'](_0x18846f['shift']());}}}(_0x5bee,0xc6af6));export*from'./user';export*from'./group';function _0x3185(_0x1967d8,_0x19777c){var _0x5bee4d=_0x5bee();return _0x3185=function(_0x318580,_0x5eeff2){_0x318580=_0x318580-0xde;var _0xa83d36=_0x5bee4d[_0x318580];return _0xa83d36;},_0x3185(_0x1967d8,_0x19777c);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x21d2c6,_0x23d4c7){var _0x4579bd=_0x33ed,_0x1e18cf=_0x21d2c6();while(!![]){try{var _0xbd853=parseInt(_0x4579bd(0xde))/0x1+-parseInt(_0x4579bd(0xe0))/0x2*(parseInt(_0x4579bd(0xe4))/0x3)+parseInt(_0x4579bd(0xdc))/0x4+parseInt(_0x4579bd(0xe3))/0x5+parseInt(_0x4579bd(0xdd))/0x6*(parseInt(_0x4579bd(0xe2))/0x7)+parseInt(_0x4579bd(0xe1))/0x8*(parseInt(_0x4579bd(0xdf))/0x9)+-parseInt(_0x4579bd(0xe5))/0xa;if(_0xbd853===_0x23d4c7)break;else _0x1e18cf['push'](_0x1e18cf['shift']());}catch(_0x27fc5e){_0x1e18cf['push'](_0x1e18cf['shift']());}}}(_0x1bff,0xdcf1f));export*from'./user';export*from'./group';export*from'./msg';function _0x33ed(_0x1fcbb4,_0x124ead){var _0x1bffc9=_0x1bff();return _0x33ed=function(_0x33ede1,_0x1acd35){_0x33ede1=_0x33ede1-0xdc;var _0x51781d=_0x1bffc9[_0x33ede1];return _0x51781d;},_0x33ed(_0x1fcbb4,_0x124ead);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x1bff(){var _0x593b18=['258NJWEaF','22637430wDlzCQ','3624696xXnlWh','1985688btHFmi','881776hAauFS','1552491tVPQku','12050onHjBA','56gLcCJM','14nMaCCM','147725MazcEO'];_0x1bff=function(){return _0x593b18;};return _0x1bff();} \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index df51d0fb..26244f6f 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x276bcf=_0x35f7;(function(_0x42f92e,_0x4c28b7){var _0xd366b=_0x35f7,_0x149d26=_0x42f92e();while(!![]){try{var _0x1fc5a4=parseInt(_0xd366b(0x1b0))/0x1+-parseInt(_0xd366b(0x182))/0x2+-parseInt(_0xd366b(0x16e))/0x3+parseInt(_0xd366b(0x18e))/0x4+parseInt(_0xd366b(0x1c2))/0x5*(parseInt(_0xd366b(0x1b7))/0x6)+parseInt(_0xd366b(0x17b))/0x7+parseInt(_0xd366b(0x176))/0x8;if(_0x1fc5a4===_0x4c28b7)break;else _0x149d26['push'](_0x149d26['shift']());}catch(_0x4626fe){_0x149d26['push'](_0x149d26['shift']());}}}(_0x43c6,0x40751));export var ElementType;(function(_0x26ff6d){var _0x2985ea=_0x35f7,_0x13c113={'Vrqgm':_0x2985ea(0x1b9),'qFMbt':'REPLY','aEPAn':_0x2985ea(0x18b),'WIycj':_0x2985ea(0x1e8),'xpobf':_0x2985ea(0x1eb),'XlyUP':_0x2985ea(0x17d),'tSpBE':_0x2985ea(0x180),'cKVWh':_0x2985ea(0x1b5),'SlEKq':'TEXT','lUuEI':_0x2985ea(0x1df)},_0x1778b6=_0x13c113['Vrqgm'][_0x2985ea(0x1e5)]('|'),_0xcfea3f=0x0;while(!![]){switch(_0x1778b6[_0xcfea3f++]){case'0':_0x26ff6d[_0x26ff6d[_0x13c113['qFMbt']]=0x7]=_0x2985ea(0x197);continue;case'1':_0x26ff6d[_0x26ff6d[_0x13c113['aEPAn']]=0x6]=_0x13c113[_0x2985ea(0x1d7)];continue;case'2':_0x26ff6d[_0x26ff6d[_0x13c113[_0x2985ea(0x181)]]=0xb]=_0x13c113[_0x2985ea(0x181)];continue;case'3':_0x26ff6d[_0x26ff6d['ARK']=0xa]='ARK';continue;case'4':_0x26ff6d[_0x26ff6d['FILE']=0x3]=_0x13c113[_0x2985ea(0x1b3)];continue;case'5':_0x26ff6d[_0x26ff6d[_0x13c113['XlyUP']]=0xe]=_0x13c113[_0x2985ea(0x187)];continue;case'6':_0x26ff6d[_0x26ff6d[_0x13c113[_0x2985ea(0x17a)]]=0x5]=_0x13c113[_0x2985ea(0x17a)];continue;case'7':_0x26ff6d[_0x26ff6d[_0x13c113[_0x2985ea(0x1a1)]]=0x4]=_0x13c113[_0x2985ea(0x1a1)];continue;case'8':_0x26ff6d[_0x26ff6d[_0x13c113[_0x2985ea(0x172)]]=0x1]='TEXT';continue;case'9':_0x26ff6d[_0x26ff6d['PIC']=0x2]=_0x13c113[_0x2985ea(0x1a7)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x161dcb){var _0x552899=_0x35f7,_0x26bafb={'FkzNJ':'gif','qgZlX':_0x552899(0x19b)};_0x161dcb[_0x161dcb[_0x26bafb[_0x552899(0x191)]]=0x7d0]=_0x26bafb[_0x552899(0x191)],_0x161dcb[_0x161dcb[_0x26bafb[_0x552899(0x19a)]]=0x3e8]=_0x552899(0x19b);}(PicType||(PicType={})));export var PicSubType;(function(_0x3c409b){var _0x6608d8=_0x35f7,_0x46c98d={'KlxCB':_0x6608d8(0x178),'pHgbp':_0x6608d8(0x1ca)};_0x3c409b[_0x3c409b[_0x6608d8(0x178)]=0x0]=_0x46c98d[_0x6608d8(0x184)],_0x3c409b[_0x3c409b[_0x46c98d[_0x6608d8(0x196)]]=0x1]=_0x46c98d[_0x6608d8(0x196)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x12c162){var _0x3dcaa0=_0x35f7,_0x8f625f={'VEjQJ':'notAt','HzWin':'atAll','plZra':_0x3dcaa0(0x1a2)};_0x12c162[_0x12c162[_0x8f625f[_0x3dcaa0(0x1f2)]]=0x0]=_0x8f625f[_0x3dcaa0(0x1f2)],_0x12c162[_0x12c162[_0x8f625f[_0x3dcaa0(0x1f4)]]=0x1]=_0x8f625f['HzWin'],_0x12c162[_0x12c162[_0x8f625f[_0x3dcaa0(0x17f)]]=0x2]=_0x8f625f[_0x3dcaa0(0x17f)];}(AtType||(AtType={})));export var ChatType;(function(_0x2c6268){var _0x114607=_0x35f7,_0x36f04c={'PHrnR':'friend','einet':_0x114607(0x1c5),'gIFBU':'chatDevice','JlVko':'temp'};_0x2c6268[_0x2c6268[_0x114607(0x1f8)]=0x1]=_0x36f04c[_0x114607(0x1ba)],_0x2c6268[_0x2c6268[_0x36f04c[_0x114607(0x1bb)]]=0x2]='group',_0x2c6268[_0x2c6268[_0x36f04c[_0x114607(0x1a0)]]=0x8]=_0x36f04c['gIFBU'],_0x2c6268[_0x2c6268['temp']=0x64]=_0x36f04c['JlVko'];}(ChatType||(ChatType={})));export var ChatType2;function _0x43c6(){var _0x55719f=['FkzNJ','evQKZ','KCHATTYPEGROUPHELPER','jGEFu','oaCyk','pHgbp','REPLY','HRzim','KCHATTYPESQUAREPUBLIC','qgZlX','jpg','WTXgw','EhNUK','KCHATTYPETEMPPUBLICACCOUNT','YFNPf','gIFBU','cKVWh','atUser','Jaxfn','lGWnG','KCHATTYPEMATCHFRIEND','hucJC','lUuEI','jJpTL','LRaeI','ynvcK','KCHATTYPETEMPC2CFROMUNKNOWN','memberIncrease','KCHATTYPESUBSCRIBEFOLDER','VIDEO_FORMAT_MTS','KCHATTYPEGUILD','133851PhdWOy','LUwqh','KCHATTYPENEARBYHELLOFOLDER','xpobf','ban','PTT','VIDEO_FORMAT_AVI','366Odobxo','XRsVG','8|9|4|7|6|1|0|3|2|5','PHrnR','einet','KCHATTYPETEMPADDRESSBOOK','GnULS','vwuOJ','KCHATTYPEBUDDYNOTIFY','FLpuz','ZSmmz','15355snGTMJ','IdgKx','ogAQT','group','https://gchat.qpic.cn','KCHATTYPERELATEACCOUNT','vDvLb','jWyrb','face','bZLQn','vwabM','KCHATTYPESERVICEASSISTANT','hzYKL','XKwbg','vJPVX','KCHATTYPENEARBYASSISTANT','KwmMY','KCHATTYPETEMPWPA','normal2','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPEDISC','aEPAn','cyGSy','KCHATTYPEUNKNOWN','RPS','KCHATTYPENEARBYFOLDER','qxCIG','MEMBER_NEW_TITLE','eoTwU','PIC','ubGAN','ALSDh','KCHATTYPEGROUPBLESS','fddlc','KCHATTYPECIRCLE','split','dice','ohWGI','MFACE','LccLA','KCHATTYPETEMPNEARBYPRO','FILE','aGStO','VIDEO_FORMAT_RM','KCHATTYPEWEIYUN','VIDEO_FORMAT_TS','GRKwK','VIDEO_FORMAT_MOV','VEjQJ','OfxDn','HzWin','KCHATTYPEMATCHFRIENDFOLDER','VIDEO_FORMAT_RMVB','KCHATTYPEFAV','friend','KCHATTYPEGROUP','10734UUjklr','SDCBR','wtukn','aszGS','SlEKq','KCHATTYPENEARBY','kicked','VIDEO_FORMAT_MOD','19072TvzfzP','VIDEO_FORMAT_AFS','normal','omIqs','tSpBE','1083306DPIoVN','NZaqG','MARKDOWN','GTbVU','plZra','VIDEO','WIycj','804284Yealqk','KCHATTYPETEMPC2CFROMGROUP','KlxCB','Kfusx','KZVMh','XlyUP','KCHATTYPEGROUPGUILD','uUrvO','KCHATTYPEDATALINE','FACE','KCHATTYPENEARBYINTERACT','Ddhxi','765652KraAgo','VIDEO_FORMAT_WMV','KCHATTYPEADELIE'];_0x43c6=function(){return _0x55719f;};return _0x43c6();}(function(_0x495473){var _0x4365cc=_0x35f7,_0x1f79af={'KZVMh':'8|21|33|30|2|3|6|4|32|38|9|23|37|12|34|29|14|26|24|28|11|18|13|17|16|15|20|39|22|31|19|25|0|10|7|35|27|36|5|1','XRsVG':_0x4365cc(0x183),'ogAQT':'KCHATTYPEDATALINE','ZSmmz':'KCHATTYPEDATALINEMQQ','HRzim':_0x4365cc(0x1f7),'bZLQn':_0x4365cc(0x1d9),'Kfusx':_0x4365cc(0x1d6),'aszGS':'KCHATTYPETEMPFRIENDVERIFY','LRaeI':_0x4365cc(0x190),'OYxOo':_0x4365cc(0x1f9),'jWyrb':_0x4365cc(0x1ab),'KwmMY':_0x4365cc(0x1d1),'ohWGI':_0x4365cc(0x193),'EhNUK':_0x4365cc(0x1b2),'LUwqh':'KCHATTYPEGUILDMETA','wtukn':_0x4365cc(0x1c7),'YFNPf':'KCHATTYPEQQNOTIFY','jHbxd':_0x4365cc(0x18c),'uUrvO':_0x4365cc(0x1db),'ddinG':'KCHATTYPETEMPADDRESSBOOK','vwabM':_0x4365cc(0x1cd),'FLpuz':_0x4365cc(0x1bf),'jGEFu':_0x4365cc(0x199),'cyGSy':_0x4365cc(0x1e2),'XKwbg':_0x4365cc(0x1f5),'UvZNo':'KCHATTYPETEMPBUSSINESSCRM','aGStO':_0x4365cc(0x19e),'XAncE':_0x4365cc(0x173),'GnULS':_0x4365cc(0x1af),'vPfav':_0x4365cc(0x1e4),'IdgKx':_0x4365cc(0x1ad),'vwuOJ':'KCHATTYPEGAMEMESSAGE','ubGAN':'KCHATTYPEC2C','Jaxfn':'KCHATTYPEGROUPNOTIFY','NLSbs':'KCHATTYPETEMPNEARBYPRO','evQKZ':_0x4365cc(0x1d3),'ynvcK':_0x4365cc(0x1d5),'hzYKL':'KCHATTYPESERVICEASSISTANTSUB'},_0x1aa05b=_0x1f79af[_0x4365cc(0x186)]['split']('|'),_0x1cdf8d=0x0;while(!![]){switch(_0x1aa05b[_0x1cdf8d++]){case'0':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1b8)]]=0x64]=_0x4365cc(0x183);continue;case'1':_0x495473[_0x495473[_0x4365cc(0x1ee)]=0x28]='KCHATTYPEWEIYUN';continue;case'2':_0x495473[_0x495473[_0x4365cc(0x18a)]=0x8]=_0x1f79af[_0x4365cc(0x1c4)];continue;case'3':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1c1)]]=0x86]=_0x1f79af[_0x4365cc(0x1c1)];continue;case'4':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x198)]]=0x29]=_0x1f79af['HRzim'];continue;case'5':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1cb)]]=0x0]=_0x1f79af[_0x4365cc(0x1cb)];continue;case'6':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x185)]]=0x3]=_0x4365cc(0x1d6);continue;case'7':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x171)]]=0x65]=_0x1f79af['aszGS'];continue;case'8':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1a9)]]=0x2a]=_0x1f79af[_0x4365cc(0x1a9)];continue;case'9':_0x495473[_0x495473[_0x1f79af['OYxOo']]=0x2]=_0x1f79af['OYxOo'];continue;case'10':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1c9)]]=0x63]=_0x1f79af[_0x4365cc(0x1c9)];continue;case'11':_0x495473[_0x495473['KCHATTYPENEARBYASSISTANT']=0x6b]=_0x1f79af[_0x4365cc(0x1d2)];continue;case'12':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1e7)]]=0x7]=_0x1f79af[_0x4365cc(0x1e7)];continue;case'13':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x19d)]]=0x70]=_0x1f79af['EhNUK'];continue;case'14':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1b1)]]=0x10]=_0x1f79af[_0x4365cc(0x1b1)];continue;case'15':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x170)]]=0x83]=_0x4365cc(0x1c7);continue;case'16':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x19f)]]=0x84]=_0x1f79af[_0x4365cc(0x19f)];continue;case'17':_0x495473[_0x495473[_0x1f79af['jHbxd']]=0x6c]=_0x4365cc(0x18c);continue;case'18':_0x495473[_0x495473[_0x4365cc(0x1db)]=0x6e]=_0x1f79af[_0x4365cc(0x189)];continue;case'19':_0x495473[_0x495473[_0x4365cc(0x1bc)]=0x6f]=_0x1f79af['ddinG'];continue;case'20':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1cc)]]=0x76]=_0x1f79af[_0x4365cc(0x1cc)];continue;case'21':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1c0)]]=0x5]=_0x1f79af[_0x4365cc(0x1c0)];continue;case'22':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x194)]]=0x73]=_0x1f79af[_0x4365cc(0x194)];continue;case'23':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1d8)]]=0x85]=_0x4365cc(0x1e2);continue;case'24':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1cf)]]=0x6d]=_0x1f79af[_0x4365cc(0x1cf)];continue;case'25':_0x495473[_0x495473[_0x1f79af['UvZNo']]=0x66]=_0x1f79af['UvZNo'];continue;case'26':_0x495473[_0x495473[_0x4365cc(0x1a5)]=0x68]=_0x4365cc(0x1a5);continue;case'27':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1ec)]]=0x67]=_0x4365cc(0x19e);continue;case'28':_0x495473[_0x495473[_0x1f79af['XAncE']]=0x6a]=_0x1f79af['XAncE'];continue;case'29':_0x495473[_0x495473[_0x4365cc(0x1af)]=0x4]=_0x1f79af[_0x4365cc(0x1bd)];continue;case'30':_0x495473[_0x495473[_0x1f79af['vPfav']]=0x71]=_0x4365cc(0x1e4);continue;case'31':_0x495473[_0x495473[_0x4365cc(0x1ad)]=0x1e]=_0x1f79af[_0x4365cc(0x1c3)];continue;case'32':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1be)]]=0x69]=_0x1f79af[_0x4365cc(0x1be)];continue;case'33':_0x495473[_0x495473[_0x1f79af['ubGAN']]=0x1]=_0x1f79af[_0x4365cc(0x1e0)];continue;case'34':_0x495473[_0x495473[_0x1f79af['Jaxfn']]=0x6]=_0x1f79af[_0x4365cc(0x1a3)];continue;case'35':_0x495473[_0x495473[_0x1f79af['NLSbs']]=0x77]=_0x4365cc(0x1ea);continue;case'36':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x192)]]=0x75]=_0x1f79af['evQKZ'];continue;case'37':_0x495473[_0x495473[_0x4365cc(0x188)]=0x9]=_0x4365cc(0x188);continue;case'38':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1aa)]]=0x74]=_0x4365cc(0x1d5);continue;case'39':_0x495473[_0x495473[_0x1f79af[_0x4365cc(0x1ce)]]=0xc9]=_0x1f79af['hzYKL'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x276bcf(0x1c6);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x2b6b8f){var _0x51a088=_0x276bcf,_0x41303b={'fddlc':'INVITE_NEW_MEMBER','OfxDn':_0x51a088(0x1dd)};_0x2b6b8f[_0x2b6b8f[_0x41303b['fddlc']]=0xc]=_0x41303b[_0x51a088(0x1e3)],_0x2b6b8f[_0x2b6b8f[_0x51a088(0x1dd)]=0x11]=_0x41303b[_0x51a088(0x1f3)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x351ab3){var _0x124a96=_0x276bcf,_0x3d0406={'jJpTL':_0x124a96(0x178),'lGWnG':_0x124a96(0x1d4),'hucJC':_0x124a96(0x1e6)};_0x351ab3[_0x351ab3[_0x3d0406[_0x124a96(0x1a8)]]=0x1]=_0x3d0406[_0x124a96(0x1a8)],_0x351ab3[_0x351ab3[_0x3d0406[_0x124a96(0x1a4)]]=0x2]=_0x3d0406[_0x124a96(0x1a4)],_0x351ab3[_0x351ab3[_0x3d0406['hucJC']]=0x3]=_0x3d0406[_0x124a96(0x1a6)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x499896){var _0x187373=_0x276bcf,_0x4f7744={'WTXgw':_0x187373(0x1e6),'qxCIG':_0x187373(0x1da)};_0x499896[_0x499896[_0x4f7744[_0x187373(0x19c)]]=0x166]=_0x4f7744[_0x187373(0x19c)],_0x499896[_0x499896[_0x4f7744['qxCIG']]=0x167]=_0x4f7744[_0x187373(0x1dc)];}(FaceIndex||(FaceIndex={})));export var viedo_type;function _0x35f7(_0x551c6a,_0x1da28d){var _0x43c6d0=_0x43c6();return _0x35f7=function(_0x35f733,_0x22a18b){_0x35f733=_0x35f733-0x16e;var _0x2d553e=_0x43c6d0[_0x35f733];return _0x2d553e;},_0x35f7(_0x551c6a,_0x1da28d);}(function(_0x375cf1){var _0x4a490f=_0x276bcf,_0x44d10b={'UoqeE':_0x4a490f(0x177),'GTbVU':_0x4a490f(0x1b6),'oaCyk':'VIDEO_FORMAT_MKV','vJPVX':'VIDEO_FORMAT_MOD','SDCBR':'VIDEO_FORMAT_MP4','LccLA':_0x4a490f(0x1ae),'eoTwU':_0x4a490f(0x1ed),'ALSDh':_0x4a490f(0x1f6),'NZaqG':'VIDEO_FORMAT_TS','Ddhxi':_0x4a490f(0x18f)};_0x375cf1[_0x375cf1[_0x44d10b['UoqeE']]=0x7]='VIDEO_FORMAT_AFS',_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x17e)]]=0x1]=_0x44d10b['GTbVU'],_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x195)]]=0x4]=_0x44d10b[_0x4a490f(0x195)],_0x375cf1[_0x375cf1[_0x4a490f(0x175)]=0x9]=_0x44d10b[_0x4a490f(0x1d0)],_0x375cf1[_0x375cf1[_0x4a490f(0x1f1)]=0x8]=_0x4a490f(0x1f1),_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x16f)]]=0x2]=_0x44d10b[_0x4a490f(0x16f)],_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x1e9)]]=0xb]=_0x4a490f(0x1ae),_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x1de)]]=0x6]=_0x4a490f(0x1ed),_0x375cf1[_0x375cf1[_0x44d10b[_0x4a490f(0x1e1)]]=0x5]=_0x44d10b[_0x4a490f(0x1e1)],_0x375cf1[_0x375cf1[_0x4a490f(0x1ef)]=0xa]=_0x44d10b[_0x4a490f(0x17c)],_0x375cf1[_0x375cf1['VIDEO_FORMAT_WMV']=0x3]=_0x44d10b[_0x4a490f(0x18d)];}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x4a1fd8){var _0x51e2a8=_0x276bcf,_0x2119a1={'omIqs':_0x51e2a8(0x1ac),'GRKwK':_0x51e2a8(0x174),'vDvLb':_0x51e2a8(0x1b4)};_0x4a1fd8[_0x4a1fd8[_0x51e2a8(0x1ac)]=0x1]=_0x2119a1[_0x51e2a8(0x179)],_0x4a1fd8[_0x4a1fd8[_0x2119a1[_0x51e2a8(0x1f0)]]=0x3]=_0x2119a1[_0x51e2a8(0x1f0)],_0x4a1fd8[_0x4a1fd8[_0x51e2a8(0x1b4)]=0x8]=_0x2119a1[_0x51e2a8(0x1c8)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x3f665e=_0x364b;(function(_0xaf2cb,_0x384692){var _0x3255e3=_0x364b,_0x2e3200=_0xaf2cb();while(!![]){try{var _0x16a333=-parseInt(_0x3255e3(0x170))/0x1+-parseInt(_0x3255e3(0x1bd))/0x2*(parseInt(_0x3255e3(0x17c))/0x3)+-parseInt(_0x3255e3(0x1a2))/0x4+parseInt(_0x3255e3(0x174))/0x5+parseInt(_0x3255e3(0x1ee))/0x6+-parseInt(_0x3255e3(0x1ad))/0x7+-parseInt(_0x3255e3(0x1cc))/0x8*(-parseInt(_0x3255e3(0x1d4))/0x9);if(_0x16a333===_0x384692)break;else _0x2e3200['push'](_0x2e3200['shift']());}catch(_0x549cd1){_0x2e3200['push'](_0x2e3200['shift']());}}}(_0x2f4d,0x4988c));export var ElementType;(function(_0x2b9bbe){var _0x32bb90=_0x364b,_0x3200ce={'EGJtK':_0x32bb90(0x1bb),'NJJfX':'ARK','xOYPP':_0x32bb90(0x1d1),'pJAyF':_0x32bb90(0x1c6),'TxATb':_0x32bb90(0x19b),'EOGqb':_0x32bb90(0x1c3),'umqwb':_0x32bb90(0x1d9),'HjWEG':_0x32bb90(0x1a5),'NmNel':_0x32bb90(0x1d0)},_0x20bdd2=_0x32bb90(0x1cb)[_0x32bb90(0x175)]('|'),_0x3631d9=0x0;while(!![]){switch(_0x20bdd2[_0x3631d9++]){case'0':_0x2b9bbe[_0x2b9bbe[_0x3200ce['EGJtK']]=0x4]=_0x32bb90(0x1bb);continue;case'1':_0x2b9bbe[_0x2b9bbe[_0x3200ce[_0x32bb90(0x194)]]=0xa]=_0x3200ce['NJJfX'];continue;case'2':_0x2b9bbe[_0x2b9bbe[_0x3200ce['xOYPP']]=0xb]=_0x3200ce[_0x32bb90(0x190)];continue;case'3':_0x2b9bbe[_0x2b9bbe[_0x3200ce['pJAyF']]=0xe]=_0x3200ce['pJAyF'];continue;case'4':_0x2b9bbe[_0x2b9bbe['FACE']=0x6]=_0x3200ce['TxATb'];continue;case'5':_0x2b9bbe[_0x2b9bbe['VIDEO']=0x5]='VIDEO';continue;case'6':_0x2b9bbe[_0x2b9bbe[_0x3200ce['EOGqb']]=0x1]=_0x3200ce[_0x32bb90(0x1dd)];continue;case'7':_0x2b9bbe[_0x2b9bbe[_0x32bb90(0x1d9)]=0x7]=_0x3200ce[_0x32bb90(0x1e6)];continue;case'8':_0x2b9bbe[_0x2b9bbe[_0x3200ce[_0x32bb90(0x1b8)]]=0x3]=_0x3200ce[_0x32bb90(0x1b8)];continue;case'9':_0x2b9bbe[_0x2b9bbe[_0x3200ce[_0x32bb90(0x1d6)]]=0x2]=_0x32bb90(0x1d0);continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x234f0a){var _0xb17877=_0x364b,_0x52eba5={'LPqnP':_0xb17877(0x1ed),'HCrHn':_0xb17877(0x16f)};_0x234f0a[_0x234f0a[_0x52eba5[_0xb17877(0x1d3)]]=0x7d0]=_0x52eba5[_0xb17877(0x1d3)],_0x234f0a[_0x234f0a[_0x52eba5[_0xb17877(0x17e)]]=0x3e8]=_0x52eba5[_0xb17877(0x17e)];}(PicType||(PicType={})));export var PicSubType;(function(_0x4ee6cd){var _0xbdbe34=_0x364b,_0x4a5ab3={'awaQM':'normal','CKZIV':_0xbdbe34(0x1a8)};_0x4ee6cd[_0x4ee6cd[_0xbdbe34(0x1bc)]=0x0]=_0x4a5ab3[_0xbdbe34(0x16e)],_0x4ee6cd[_0x4ee6cd[_0xbdbe34(0x1a8)]=0x1]=_0x4a5ab3[_0xbdbe34(0x1e9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x560d97){var _0x597dad=_0x364b,_0x3403ca={'eZDPa':_0x597dad(0x1e2),'fVArN':_0x597dad(0x178)};_0x560d97[_0x560d97[_0x3403ca[_0x597dad(0x1d2)]]=0x0]=_0x3403ca[_0x597dad(0x1d2)],_0x560d97[_0x560d97[_0x3403ca['fVArN']]=0x1]=_0x3403ca['fVArN'],_0x560d97[_0x560d97[_0x597dad(0x1e5)]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x335a45){var _0x269ac8=_0x364b,_0x2d3b39={'cBGEP':'friend','zSQna':_0x269ac8(0x1df),'DIfwR':'chatDevice','rUMtw':_0x269ac8(0x1a3)};_0x335a45[_0x335a45[_0x2d3b39[_0x269ac8(0x1e7)]]=0x1]=_0x2d3b39['cBGEP'],_0x335a45[_0x335a45[_0x2d3b39[_0x269ac8(0x1ec)]]=0x2]=_0x2d3b39[_0x269ac8(0x1ec)],_0x335a45[_0x335a45[_0x2d3b39[_0x269ac8(0x17a)]]=0x8]='chatDevice',_0x335a45[_0x335a45[_0x2d3b39[_0x269ac8(0x18c)]]=0x64]=_0x2d3b39['rUMtw'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x232565){var _0xc91bb5=_0x364b,_0x5c7004={'WfjDU':_0xc91bb5(0x18d),'wyckh':_0xc91bb5(0x1c7),'uHKkf':'KCHATTYPESUBSCRIBEFOLDER','sEYEq':'KCHATTYPETEMPWPA','dHFZe':_0xc91bb5(0x1cf),'eZZvT':'KCHATTYPERELATEACCOUNT','KOlmj':_0xc91bb5(0x1b3),'dOMcA':_0xc91bb5(0x1b9),'AvHSV':_0xc91bb5(0x19f),'pCcGX':_0xc91bb5(0x1c1),'BBgjK':'KCHATTYPEGUILDMETA','CjFeB':_0xc91bb5(0x18e),'GYjcZ':_0xc91bb5(0x1ae),'xnrlx':_0xc91bb5(0x1c4),'CiMcl':_0xc91bb5(0x1c8),'bBRTq':_0xc91bb5(0x189),'HPmbD':'KCHATTYPETEMPBUSSINESSCRM','YZfVD':'KCHATTYPETEMPADDRESSBOOK','phlZJ':_0xc91bb5(0x193),'XPIqg':'KCHATTYPENEARBYINTERACT','MBWSr':_0xc91bb5(0x1c0),'qPhHP':_0xc91bb5(0x1e8),'HNCjo':_0xc91bb5(0x1b7),'AuQAG':_0xc91bb5(0x1e3),'JUxph':_0xc91bb5(0x17b),'rHtcf':_0xc91bb5(0x1ab),'nzQat':_0xc91bb5(0x182),'vgASL':_0xc91bb5(0x19d),'FCmen':_0xc91bb5(0x195),'BbkWE':_0xc91bb5(0x177),'jZhxL':_0xc91bb5(0x1b5),'aVxuh':'KCHATTYPECIRCLE','HojIT':_0xc91bb5(0x168),'SFvxi':_0xc91bb5(0x172),'JYvmf':_0xc91bb5(0x18b),'yoWzU':_0xc91bb5(0x180),'HtZYf':_0xc91bb5(0x1ce),'ncBjw':_0xc91bb5(0x1b6),'IIVrR':_0xc91bb5(0x198)},_0x28c4fe=_0xc91bb5(0x18a)['split']('|'),_0x577bcc=0x0;while(!![]){switch(_0x28c4fe[_0x577bcc++]){case'0':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1ba)]]=0x4]=_0x5c7004[_0xc91bb5(0x1ba)];continue;case'1':_0x232565[_0x232565['KCHATTYPENEARBY']=0x6a]=_0x5c7004['wyckh'];continue;case'2':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1a0)]]=0x1e]=_0x5c7004['uHKkf'];continue;case'3':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1d5)]]=0x75]=_0x5c7004[_0xc91bb5(0x1d5)];continue;case'4':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x17f)]]=0x7]=_0x5c7004['dHFZe'];continue;case'5':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x19a)]]=0x83]=_0x5c7004[_0xc91bb5(0x19a)];continue;case'6':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1a6)]]=0x74]=_0x5c7004['KOlmj'];continue;case'7':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x185)]]=0x63]=_0xc91bb5(0x1b9);continue;case'8':_0x232565[_0x232565[_0x5c7004['AvHSV']]=0x1]=_0x5c7004['AvHSV'];continue;case'9':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1af)]]=0x28]=_0x5c7004[_0xc91bb5(0x1af)];continue;case'10':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x16c)]]=0x10]=_0xc91bb5(0x188);continue;case'11':_0x232565[_0x232565[_0xc91bb5(0x18e)]=0x68]=_0x5c7004[_0xc91bb5(0x173)];continue;case'12':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x196)]]=0x29]=_0x5c7004[_0xc91bb5(0x196)];continue;case'13':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1cd)]]=0x8]=_0x5c7004[_0xc91bb5(0x1cd)];continue;case'14':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x19c)]]=0x6d]=_0x5c7004[_0xc91bb5(0x19c)];continue;case'15':_0x232565[_0x232565[_0xc91bb5(0x1c9)]=0x65]=_0xc91bb5(0x1c9);continue;case'16':_0x232565[_0x232565[_0x5c7004['bBRTq']]=0x2a]=_0x5c7004[_0xc91bb5(0x1c2)];continue;case'17':_0x232565[_0x232565[_0x5c7004['HPmbD']]=0x66]=_0x5c7004[_0xc91bb5(0x1ef)];continue;case'18':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x19e)]]=0x6f]=_0xc91bb5(0x1da);continue;case'19':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x171)]]=0x64]=_0x5c7004['phlZJ'];continue;case'20':_0x232565[_0x232565[_0x5c7004['XPIqg']]=0x6c]=_0x5c7004['XPIqg'];continue;case'21':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1ea)]]=0x77]=_0xc91bb5(0x1c0);continue;case'22':_0x232565[_0x232565[_0xc91bb5(0x1e8)]=0x67]=_0x5c7004[_0xc91bb5(0x186)];continue;case'23':_0x232565[_0x232565[_0x5c7004['HNCjo']]=0x85]=_0x5c7004['HNCjo'];continue;case'24':_0x232565[_0x232565[_0xc91bb5(0x1e3)]=0x5]=_0x5c7004['AuQAG'];continue;case'25':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1be)]]=0x86]=_0xc91bb5(0x17b);continue;case'26':_0x232565[_0x232565[_0xc91bb5(0x1ab)]=0x69]=_0x5c7004['rHtcf'];continue;case'27':_0x232565[_0x232565[_0xc91bb5(0x182)]=0xc9]=_0x5c7004['nzQat'];continue;case'28':_0x232565[_0x232565[_0x5c7004['vgASL']]=0x9]=_0x5c7004[_0xc91bb5(0x1d8)];continue;case'29':_0x232565[_0x232565[_0xc91bb5(0x195)]=0x73]=_0x5c7004[_0xc91bb5(0x1a9)];continue;case'30':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1a7)]]=0x6b]=_0xc91bb5(0x177);continue;case'31':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1a1)]]=0x0]=_0xc91bb5(0x1b5);continue;case'32':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x176)]]=0x71]=_0xc91bb5(0x1b2);continue;case'33':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1ac)]]=0x84]=_0xc91bb5(0x168);continue;case'34':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1de)]]=0x76]=_0x5c7004['SFvxi'];continue;case'35':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1bf)]]=0x6]=_0xc91bb5(0x18b);continue;case'36':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x183)]]=0x3]=_0x5c7004['yoWzU'];continue;case'37':_0x232565[_0x232565[_0x5c7004['HtZYf']]=0x6e]='KCHATTYPENEARBYFOLDER';continue;case'38':_0x232565[_0x232565[_0x5c7004[_0xc91bb5(0x1c5)]]=0x70]=_0x5c7004[_0xc91bb5(0x1c5)];continue;case'39':_0x232565[_0x232565['KCHATTYPEGROUP']=0x2]=_0x5c7004[_0xc91bb5(0x1f2)];continue;}break;}}(ChatType2||(ChatType2={})));function _0x2f4d(){var _0x1ac4d0=['HojIT','2369241zQzdtt','KCHATTYPEFAV','pCcGX','kicked','dice','KCHATTYPECIRCLE','KCHATTYPEGAMEMESSAGEFOLDER','RPS','KCHATTYPEUNKNOWN','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEGROUPBLESS','HjWEG','KCHATTYPETEMPC2CFROMUNKNOWN','WfjDU','PTT','normal','4CKTSEH','JUxph','JYvmf','KCHATTYPETEMPNEARBYPRO','KCHATTYPEWEIYUN','bBRTq','TEXT','KCHATTYPEDATALINE','ncBjw','MARKDOWN','KCHATTYPENEARBY','KCHATTYPEMATCHFRIENDFOLDER','KCHATTYPETEMPFRIENDVERIFY','dXvCU','6|9|8|0|5|4|7|1|2|3','32gNZFcx','xnrlx','KCHATTYPENEARBYFOLDER','KCHATTYPEGROUPHELPER','PIC','MFACE','eZDPa','LPqnP','689328xsdSUl','sEYEq','NmNel','twmYy','vgASL','REPLY','KCHATTYPETEMPADDRESSBOOK','VIDEO_FORMAT_RMVB','bahOI','EOGqb','SFvxi','group','LucLb','kwbNz','notAt','KCHATTYPEBUDDYNOTIFY','sPNSw','atUser','umqwb','cBGEP','KCHATTYPETEMPPUBLICACCOUNT','CKZIV','MBWSr','VIDEO_FORMAT_MP4','zSQna','gif','2666406rNZMZS','HPmbD','HsBWl','EBzIx','IIVrR','KCHATTYPEQQNOTIFY','https://multimedia.nt.qq.com.cn','VIDEO_FORMAT_AFS','VIDEO_FORMAT_MTS','BBgjK','EFgJg','awaQM','jpg','3019qkTFWC','phlZJ','KCHATTYPESERVICEASSISTANT','CjFeB','2312990PmHtuM','split','aVxuh','KCHATTYPENEARBYASSISTANT','atAll','VIDEO_FORMAT_TS','DIfwR','KCHATTYPEDATALINEMQQ','138891uGHQSG','VIDEO_FORMAT_MOV','HCrHn','dHFZe','KCHATTYPEDISC','normal2','KCHATTYPESERVICEASSISTANTSUB','yoWzU','sVOik','dOMcA','qPhHP','PFasA','KCHATTYPEGUILDMETA','KCHATTYPEADELIE','16|24|8|32|13|25|36|12|26|6|39|23|28|4|35|0|10|11|14|1|30|37|38|20|33|5|34|27|29|2|18|17|19|7|15|21|22|3|31|9','KCHATTYPEGROUPNOTIFY','rUMtw','KCHATTYPEGUILD','KCHATTYPEMATCHFRIEND','zuXOw','xOYPP','VIDEO_FORMAT_MOD','AoQKk','KCHATTYPETEMPC2CFROMGROUP','NJJfX','KCHATTYPESQUAREPUBLIC','GYjcZ','VIDEO_FORMAT_RM','KCHATTYPEGROUP','VIDEO_FORMAT_AVI','eZZvT','FACE','CiMcl','KCHATTYPEGROUPGUILD','YZfVD','KCHATTYPEC2C','uHKkf','jZhxL','1912380NAjLMx','temp','dOPnL','FILE','KOlmj','BbkWE','face','FCmen','BTOhi','KCHATTYPEGAMEMESSAGE'];_0x2f4d=function(){return _0x1ac4d0;};return _0x2f4d();}export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x3f665e(0x169);export var GrayTipElementSubType;(function(_0x24a10f){var _0x2a689b=_0x3f665e,_0x39b852={'EFgJg':'INVITE_NEW_MEMBER','LucLb':'MEMBER_NEW_TITLE'};_0x24a10f[_0x24a10f[_0x39b852['EFgJg']]=0xc]=_0x39b852[_0x2a689b(0x16d)],_0x24a10f[_0x24a10f[_0x39b852[_0x2a689b(0x1e0)]]=0x11]=_0x39b852[_0x2a689b(0x1e0)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x5a0b01){var _0x1f9712=_0x3f665e,_0x32296e={'dOPnL':_0x1f9712(0x1bc),'BICsa':_0x1f9712(0x181),'bahOI':_0x1f9712(0x1b1)};_0x5a0b01[_0x5a0b01[_0x32296e['dOPnL']]=0x1]=_0x32296e[_0x1f9712(0x1a4)],_0x5a0b01[_0x5a0b01[_0x32296e['BICsa']]=0x2]=_0x1f9712(0x181),_0x5a0b01[_0x5a0b01[_0x32296e[_0x1f9712(0x1dc)]]=0x3]=_0x32296e['bahOI'];}(FaceType||(FaceType={})));function _0x364b(_0x3dbd69,_0x379cf4){var _0x2f4d8c=_0x2f4d();return _0x364b=function(_0x364bb2,_0x5c071c){_0x364bb2=_0x364bb2-0x168;var _0x37f7db=_0x2f4d8c[_0x364bb2];return _0x37f7db;},_0x364b(_0x3dbd69,_0x379cf4);}export var FaceIndex;(function(_0x5afbd1){var _0x2fcdbe=_0x3f665e,_0x1d63ec={'AoQKk':_0x2fcdbe(0x1b1),'BTOhi':_0x2fcdbe(0x1b4)};_0x5afbd1[_0x5afbd1[_0x1d63ec[_0x2fcdbe(0x192)]]=0x166]=_0x2fcdbe(0x1b1),_0x5afbd1[_0x5afbd1[_0x1d63ec[_0x2fcdbe(0x1aa)]]=0x167]=_0x1d63ec['BTOhi'];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x378d95){var _0x51ff58=_0x3f665e,_0x33f696={'WywNq':_0x51ff58(0x16a),'HsBWl':_0x51ff58(0x199),'sPNSw':'VIDEO_FORMAT_MKV','kwbNz':_0x51ff58(0x191),'PFasA':_0x51ff58(0x17d),'uFkYu':_0x51ff58(0x1eb),'LkFDs':_0x51ff58(0x197),'EBzIx':_0x51ff58(0x1db),'dXvCU':_0x51ff58(0x179),'sVOik':'VIDEO_FORMAT_WMV'};_0x378d95[_0x378d95[_0x33f696['WywNq']]=0x7]=_0x51ff58(0x16a),_0x378d95[_0x378d95[_0x33f696[_0x51ff58(0x1f0)]]=0x1]='VIDEO_FORMAT_AVI',_0x378d95[_0x378d95[_0x33f696['sPNSw']]=0x4]=_0x33f696[_0x51ff58(0x1e4)],_0x378d95[_0x378d95[_0x33f696[_0x51ff58(0x1e1)]]=0x9]=_0x51ff58(0x191),_0x378d95[_0x378d95[_0x33f696['PFasA']]=0x8]=_0x33f696[_0x51ff58(0x187)],_0x378d95[_0x378d95[_0x51ff58(0x1eb)]=0x2]=_0x33f696['uFkYu'],_0x378d95[_0x378d95[_0x51ff58(0x16b)]=0xb]='VIDEO_FORMAT_MTS',_0x378d95[_0x378d95[_0x51ff58(0x197)]=0x6]=_0x33f696['LkFDs'],_0x378d95[_0x378d95[_0x33f696['EBzIx']]=0x5]=_0x33f696[_0x51ff58(0x1f1)],_0x378d95[_0x378d95[_0x33f696[_0x51ff58(0x1ca)]]=0xa]=_0x33f696[_0x51ff58(0x1ca)],_0x378d95[_0x378d95[_0x33f696['sVOik']]=0x3]=_0x33f696[_0x51ff58(0x184)];}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x2b0b69){var _0x27f062=_0x3f665e,_0x38db2e={'zuXOw':'memberIncrease','twmYy':_0x27f062(0x1b0),'Tgfhk':'ban'};_0x2b0b69[_0x2b0b69[_0x38db2e[_0x27f062(0x18f)]]=0x1]=_0x38db2e[_0x27f062(0x18f)],_0x2b0b69[_0x2b0b69[_0x38db2e['twmYy']]=0x3]=_0x38db2e[_0x27f062(0x1d7)],_0x2b0b69[_0x2b0b69[_0x38db2e['Tgfhk']]=0x8]=_0x38db2e['Tgfhk'];}(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 af5527e0..6024cf29 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x3c0133,_0x16d2d0){var _0x1e356d=_0x46ee,_0x36a832=_0x3c0133();while(!![]){try{var _0x566af8=-parseInt(_0x1e356d(0x200))/0x1+-parseInt(_0x1e356d(0x1fe))/0x2+-parseInt(_0x1e356d(0x1dc))/0x3*(-parseInt(_0x1e356d(0x20f))/0x4)+parseInt(_0x1e356d(0x208))/0x5+-parseInt(_0x1e356d(0x20c))/0x6+parseInt(_0x1e356d(0x20a))/0x7*(-parseInt(_0x1e356d(0x1e6))/0x8)+-parseInt(_0x1e356d(0x207))/0x9*(-parseInt(_0x1e356d(0x1fa))/0xa);if(_0x566af8===_0x16d2d0)break;else _0x36a832['push'](_0x36a832['shift']());}catch(_0x31159b){_0x36a832['push'](_0x36a832['shift']());}}}(_0x2bd8,0x76885));export var GroupNotifyTypes;(function(_0x34b8d6){var _0x56205e=_0x46ee,_0x58eeb8={'pOyIu':_0x56205e(0x1e3),'rVPFL':'MEMBER_EXIT','rvlKU':'ADMIN_SET','XpAMn':_0x56205e(0x1e5),'jeFKc':'JOIN_REQUEST','BqIZY':_0x56205e(0x1ed),'cqjeq':_0x56205e(0x1eb),'pMdom':'ADMIN_UNSET_OTHER'},_0x2bdce9=_0x56205e(0x1dd)[_0x56205e(0x213)]('|'),_0x38ac62=0x0;while(!![]){switch(_0x2bdce9[_0x38ac62++]){case'0':_0x34b8d6[_0x34b8d6[_0x58eeb8[_0x56205e(0x202)]]=0x1]=_0x58eeb8['pOyIu'];continue;case'1':_0x34b8d6[_0x34b8d6[_0x58eeb8[_0x56205e(0x1e1)]]=0xb]=_0x56205e(0x1f7);continue;case'2':_0x34b8d6[_0x34b8d6[_0x56205e(0x20e)]=0x8]=_0x58eeb8[_0x56205e(0x1f1)];continue;case'3':_0x34b8d6[_0x34b8d6[_0x58eeb8[_0x56205e(0x1fb)]]=0x9]=_0x58eeb8['XpAMn'];continue;case'4':_0x34b8d6[_0x34b8d6[_0x58eeb8['jeFKc']]=0x7]=_0x56205e(0x210);continue;case'5':_0x34b8d6[_0x34b8d6[_0x58eeb8[_0x56205e(0x1fc)]]=0xc]=_0x58eeb8[_0x56205e(0x1fc)];continue;case'6':_0x34b8d6[_0x34b8d6[_0x56205e(0x1eb)]=0x4]=_0x58eeb8[_0x56205e(0x1db)];continue;case'7':_0x34b8d6[_0x34b8d6[_0x58eeb8[_0x56205e(0x1f2)]]=0xd]=_0x58eeb8[_0x56205e(0x1f2)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x446252){var _0x107410=_0x46ee,_0x1bede0={'xRNxC':_0x107410(0x214),'bnXbs':'WAIT_HANDLE','wQNxW':_0x107410(0x1ec),'kKUxg':_0x107410(0x1de)};_0x446252[_0x446252[_0x107410(0x214)]=0x0]=_0x1bede0['xRNxC'],_0x446252[_0x446252[_0x1bede0[_0x107410(0x1f8)]]=0x1]=_0x1bede0[_0x107410(0x1f8)],_0x446252[_0x446252[_0x1bede0[_0x107410(0x1f0)]]=0x2]=_0x1bede0[_0x107410(0x1f0)],_0x446252[_0x446252[_0x1bede0[_0x107410(0x205)]]=0x3]=_0x107410(0x1de);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2bd8(){var _0x3a59b8=['MEMBER_EXIT','bnXbs','KMEAGREEDANDADDED','5439360YhuNcM','XpAMn','BqIZY','approve','451498EIkqVE','KPEERAGREEDANDADDED','217585OaEzkR','KPEERINITIATOR','pOyIu','DEFAULTTYPE','KMEREFUSED','kKUxg','NEWGROUPTYPE','9BEfiuI','2413805pKOjLN','UxKcF','553RvPhSD','KMEAGREED','2596014MukqKm','QcbRn','ADMIN_SET','6488EfXxFG','JOIN_REQUEST','gcxeJ','KMESETQUESTION','split','IGNORE','KMEAGREEANYONE','XCASm','cqjeq','774rlslrS','0|6|4|2|3|1|5|7','REJECT','reject','zNawF','rVPFL','deYZL','INVITE_ME','SwJbD','KICK_MEMBER','8472SkmKhf','NvVys','GWIEe','nYzwi','KMEAGREEANDADDFAILED','INVITED_JOIN','APPROVE','ADMIN_UNSET','ZGkbe','KPEERAGREED','wQNxW','rvlKU','pMdom','KMEINITIATORWAITPEERCONFIRM','pnRYq','uGPTJ','oMsEH'];_0x2bd8=function(){return _0x3a59b8;};return _0x2bd8();}export var GroupRequestOperateTypes;(function(_0x35eb6c){var _0x202e6c=_0x46ee,_0x1a3037={'nYzwi':_0x202e6c(0x1fd),'gcxeJ':_0x202e6c(0x1df)};_0x35eb6c[_0x35eb6c[_0x1a3037[_0x202e6c(0x1e9)]]=0x1]=_0x202e6c(0x1fd),_0x35eb6c[_0x35eb6c[_0x202e6c(0x1df)]=0x2]=_0x1a3037[_0x202e6c(0x211)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x46ee(_0x1001b7,_0x42bc51){var _0x2bd8ed=_0x2bd8();return _0x46ee=function(_0x46ee0f,_0xea19c0){_0x46ee0f=_0x46ee0f-0x1da;var _0x32b26f=_0x2bd8ed[_0x46ee0f];return _0x32b26f;},_0x46ee(_0x1001b7,_0x42bc51);}export var BuddyReqType;(function(_0x3d87b5){var _0x3a02bb=_0x46ee,_0x2273c3={'lHlbw':'10|8|7|9|12|2|1|3|11|5|6|4|13|0','zNawF':_0x3a02bb(0x1f3),'deYZL':'KPEERREFUSED','jlyaO':_0x3a02bb(0x1ff),'QcbRn':_0x3a02bb(0x204),'UKlwq':_0x3a02bb(0x1ea),'GWIEe':_0x3a02bb(0x215),'SwJbD':_0x3a02bb(0x212),'pnRYq':_0x3a02bb(0x20b),'XNYmq':_0x3a02bb(0x201),'eWyyJ':_0x3a02bb(0x1f9),'UxKcF':'KMEINITIATOR','XCASm':'KMEIGNORED','ZGkbe':_0x3a02bb(0x1ef),'NvVys':'KMSGINFO'},_0xccbb94=_0x2273c3['lHlbw'][_0x3a02bb(0x213)]('|'),_0x4bb256=0x0;while(!![]){switch(_0xccbb94[_0x4bb256++]){case'0':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1e0)]]=0xd]=_0x2273c3[_0x3a02bb(0x1e0)];continue;case'1':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1e2)]]=0x6]=_0x2273c3['deYZL'];continue;case'2':_0x3d87b5[_0x3d87b5['KPEERAGREEDANDADDED']=0x5]=_0x2273c3['jlyaO'];continue;case'3':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x20d)]]=0x7]=_0x3a02bb(0x204);continue;case'4':_0x3d87b5[_0x3d87b5[_0x3a02bb(0x1ea)]=0xb]=_0x2273c3['UKlwq'];continue;case'5':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1e8)]]=0x9]=_0x2273c3[_0x3a02bb(0x1e8)];continue;case'6':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1e4)]]=0xa]='KMESETQUESTION';continue;case'7':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1f4)]]=0x2]=_0x2273c3[_0x3a02bb(0x1f4)];continue;case'8':_0x3d87b5[_0x3d87b5[_0x2273c3['XNYmq']]=0x1]='KPEERINITIATOR';continue;case'9':_0x3d87b5[_0x3d87b5[_0x2273c3['eWyyJ']]=0x3]=_0x2273c3['eWyyJ'];continue;case'10':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x209)]]=0x0]=_0x2273c3[_0x3a02bb(0x209)];continue;case'11':_0x3d87b5[_0x3d87b5['KMEIGNORED']=0x8]=_0x2273c3[_0x3a02bb(0x1da)];continue;case'12':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1ee)]]=0x4]=_0x2273c3['ZGkbe'];continue;case'13':_0x3d87b5[_0x3d87b5[_0x2273c3[_0x3a02bb(0x1e7)]]=0xc]='KMSGINFO';continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0xf8e1ce){var _0x2b06bd=_0x46ee,_0x3bb20e={'pTBSt':_0x2b06bd(0x203),'uGPTJ':'TITLETYPE','oMsEH':_0x2b06bd(0x206)};_0xf8e1ce[_0xf8e1ce[_0x3bb20e['pTBSt']]=0x0]=_0x2b06bd(0x203),_0xf8e1ce[_0xf8e1ce[_0x3bb20e[_0x2b06bd(0x1f5)]]=0x1]=_0x3bb20e[_0x2b06bd(0x1f5)],_0xf8e1ce[_0xf8e1ce[_0x3bb20e[_0x2b06bd(0x1f6)]]=0x2]=_0x3bb20e[_0x2b06bd(0x1f6)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x354963,_0x2427ce){var _0x1d981c=_0xbff0,_0x35b3b0=_0x354963();while(!![]){try{var _0x2c0950=-parseInt(_0x1d981c(0xf5))/0x1*(-parseInt(_0x1d981c(0x114))/0x2)+-parseInt(_0x1d981c(0x112))/0x3+-parseInt(_0x1d981c(0xe6))/0x4+-parseInt(_0x1d981c(0x100))/0x5+parseInt(_0x1d981c(0x119))/0x6+parseInt(_0x1d981c(0xf2))/0x7*(parseInt(_0x1d981c(0x103))/0x8)+parseInt(_0x1d981c(0xff))/0x9;if(_0x2c0950===_0x2427ce)break;else _0x35b3b0['push'](_0x35b3b0['shift']());}catch(_0xec511d){_0x35b3b0['push'](_0x35b3b0['shift']());}}}(_0x341a,0xa2814));function _0x341a(){var _0x68dead=['SQgsN','MJICr','JOIN_REQUEST','5|3|7|6|2|4|0|1','GRvfS','RGYuC','VIYNo','APPROVE','3719253iofPxi','KMEREFUSED','4VwSgzS','oLqHO','omIBc','DEFAULTTYPE','INVITE_ME','1891434ZQcpOA','KICK_MEMBER','mJTQN','ADMIN_SET','fnkUt','IGNORE','LVSyb','TITLETYPE','KMSGINFO','ADMIN_UNSET','4527748JXcAvn','ADMIN_UNSET_OTHER','KMEAGREEDANDADDED','BITgr','MdQWH','kGMbz','KMEAGREEANDADDFAILED','KPEERINITIATOR','TxUyQ','pBTxA','REJECT','MsHCQ','194866kecTDV','KPEERREFUSED','split','17111arbDoL','fhHLe','wXIpN','TGwLF','uJdZu','KMEINITIATOR','IQUDJ','KMEINITIATORWAITPEERCONFIRM','KPEERAGREEDANDADDED','rznLX','25830432IKUMeB','1189385QFjBPb','PahZE','INVITED_JOIN','16cGxUUE','atbKh','EIKwH','KMEIGNORED','MEMBER_EXIT','NEWGROUPTYPE','rHOqG'];_0x341a=function(){return _0x68dead;};return _0x341a();}export var GroupNotifyTypes;(function(_0x1ac66e){var _0x3520e6=_0xbff0,_0x44aafc={'ksOQe':_0x3520e6(0x10d),'PahZE':_0x3520e6(0xe5),'GRvfS':_0x3520e6(0xe7),'MsHCQ':'KICK_MEMBER','uJdZu':_0x3520e6(0x107),'fhHLe':'INVITE_ME','VIYNo':_0x3520e6(0x10c)},_0x13ce91=_0x44aafc['ksOQe'][_0x3520e6(0xf4)]('|'),_0x16fccf=0x0;while(!![]){switch(_0x13ce91[_0x16fccf++]){case'0':_0x1ac66e[_0x1ac66e[_0x44aafc[_0x3520e6(0x101)]]=0xc]=_0x44aafc[_0x3520e6(0x101)];continue;case'1':_0x1ac66e[_0x1ac66e[_0x44aafc[_0x3520e6(0x10e)]]=0xd]=_0x44aafc[_0x3520e6(0x10e)];continue;case'2':_0x1ac66e[_0x1ac66e[_0x3520e6(0x11a)]=0x9]=_0x44aafc[_0x3520e6(0xf1)];continue;case'3':_0x1ac66e[_0x1ac66e[_0x3520e6(0x102)]=0x4]='INVITED_JOIN';continue;case'4':_0x1ac66e[_0x1ac66e[_0x44aafc[_0x3520e6(0xf9)]]=0xb]=_0x44aafc[_0x3520e6(0xf9)];continue;case'5':_0x1ac66e[_0x1ac66e[_0x44aafc[_0x3520e6(0xf6)]]=0x1]=_0x3520e6(0x118);continue;case'6':_0x1ac66e[_0x1ac66e[_0x3520e6(0x11c)]=0x8]='ADMIN_SET';continue;case'7':_0x1ac66e[_0x1ac66e[_0x44aafc[_0x3520e6(0x110)]]=0x7]=_0x44aafc[_0x3520e6(0x110)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0xd36aad){var _0x4ebb51=_0xbff0,_0x954e3d={'rznLX':_0x4ebb51(0x11e),'IQUDJ':'WAIT_HANDLE','rHOqG':_0x4ebb51(0x111),'mJTQN':_0x4ebb51(0xf0)};_0xd36aad[_0xd36aad[_0x954e3d[_0x4ebb51(0xfe)]]=0x0]=_0x954e3d['rznLX'],_0xd36aad[_0xd36aad[_0x954e3d['IQUDJ']]=0x1]=_0x954e3d[_0x4ebb51(0xfb)],_0xd36aad[_0xd36aad[_0x4ebb51(0x111)]=0x2]=_0x954e3d[_0x4ebb51(0x109)],_0xd36aad[_0xd36aad[_0x954e3d[_0x4ebb51(0x11b)]]=0x3]=_0x954e3d[_0x4ebb51(0x11b)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x453237){var _0x504a21=_0xbff0,_0x5775ef={'kGMbz':'approve','UWVZW':'reject'};_0x453237[_0x453237[_0x5775ef[_0x504a21(0xeb)]]=0x1]=_0x5775ef[_0x504a21(0xeb)],_0x453237[_0x453237[_0x5775ef['UWVZW']]=0x2]='reject';}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0xbff0(_0x3557c3,_0x370458){var _0x341a96=_0x341a();return _0xbff0=function(_0xbff03a,_0x55e974){_0xbff03a=_0xbff03a-0xe3;var _0x131f07=_0x341a96[_0xbff03a];return _0x131f07;},_0xbff0(_0x3557c3,_0x370458);}export var BuddyReqType;(function(_0xddff1e){var _0x3c6d6d=_0xbff0,_0x24108e={'ohrpi':_0x3c6d6d(0xfa),'EIKwH':_0x3c6d6d(0xed),'TxUyQ':'KMEAGREED','TGwLF':'KPEERAGREED','LVSyb':_0x3c6d6d(0xfd),'SQgsN':_0x3c6d6d(0xf3),'omIBc':_0x3c6d6d(0x113),'BITgr':_0x3c6d6d(0x106),'RGYuC':'KMEAGREEANYONE','fnkUt':'KMESETQUESTION','atbKh':_0x3c6d6d(0xec),'oLqHO':_0x3c6d6d(0xe4),'pBTxA':_0x3c6d6d(0xfc)};_0xddff1e[_0xddff1e[_0x24108e['ohrpi']]=0x0]=_0x24108e['ohrpi'],_0xddff1e[_0xddff1e[_0x24108e['EIKwH']]=0x1]=_0x24108e[_0x3c6d6d(0x105)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0xee)]]=0x2]=_0x24108e['TxUyQ'],_0xddff1e[_0xddff1e['KMEAGREEDANDADDED']=0x3]=_0x3c6d6d(0xe8),_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0xf8)]]=0x4]=_0x24108e['TGwLF'],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x11f)]]=0x5]=_0x24108e[_0x3c6d6d(0x11f)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x10a)]]=0x6]=_0x24108e[_0x3c6d6d(0x10a)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x116)]]=0x7]=_0x24108e[_0x3c6d6d(0x116)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0xe9)]]=0x8]=_0x24108e[_0x3c6d6d(0xe9)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x10f)]]=0x9]=_0x24108e[_0x3c6d6d(0x10f)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x11d)]]=0xa]=_0x24108e[_0x3c6d6d(0x11d)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0x104)]]=0xb]=_0x24108e[_0x3c6d6d(0x104)],_0xddff1e[_0xddff1e[_0x3c6d6d(0xe4)]=0xc]=_0x24108e[_0x3c6d6d(0x115)],_0xddff1e[_0xddff1e[_0x24108e[_0x3c6d6d(0xef)]]=0xd]=_0x24108e[_0x3c6d6d(0xef)];}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x30fccc){var _0x6a582f=_0xbff0,_0x3f3fd5={'MJICr':_0x6a582f(0x117),'MdQWH':_0x6a582f(0xe3),'wXIpN':_0x6a582f(0x108)};_0x30fccc[_0x30fccc[_0x6a582f(0x117)]=0x0]=_0x3f3fd5[_0x6a582f(0x10b)],_0x30fccc[_0x30fccc[_0x3f3fd5[_0x6a582f(0xea)]]=0x1]=_0x3f3fd5[_0x6a582f(0xea)],_0x30fccc[_0x30fccc['NEWGROUPTYPE']=0x2]=_0x3f3fd5[_0x6a582f(0xf7)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 12183daa..c5e0476c 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x331525,_0x18a907){var _0x1b809c=_0x1926,_0xda4cf=_0x331525();while(!![]){try{var _0x4c7989=parseInt(_0x1b809c(0x170))/0x1+parseInt(_0x1b809c(0x16b))/0x2+-parseInt(_0x1b809c(0x172))/0x3*(parseInt(_0x1b809c(0x169))/0x4)+parseInt(_0x1b809c(0x16c))/0x5*(parseInt(_0x1b809c(0x16d))/0x6)+-parseInt(_0x1b809c(0x167))/0x7+parseInt(_0x1b809c(0x168))/0x8*(-parseInt(_0x1b809c(0x174))/0x9)+-parseInt(_0x1b809c(0x16e))/0xa;if(_0x4c7989===_0x18a907)break;else _0xda4cf['push'](_0xda4cf['shift']());}catch(_0x4071cc){_0xda4cf['push'](_0xda4cf['shift']());}}}(_0x1286,0xa1df4));export var Sex;function _0x1286(){var _0x345155=['IQpSO','4249112PrBEDI','8wSeDzL','1496348WjlpjK','XEamT','2457802QjQVzs','54790URumeD','96efdBFg','7442570RuUGtT','female','1293816VrBYcp','KPHOTOWALL','3wZcBGe','male','2786913DQvUze','XeOML','unknown','sMoEr'];_0x1286=function(){return _0x345155;};return _0x1286();}function _0x1926(_0x33eb75,_0xdbeb24){var _0x1286b0=_0x1286();return _0x1926=function(_0x19265e,_0x3a3b34){_0x19265e=_0x19265e-0x167;var _0x571382=_0x1286b0[_0x19265e];return _0x571382;},_0x1926(_0x33eb75,_0xdbeb24);}(function(_0x7ba869){var _0x16b313=_0x1926,_0x437602={'gPlCO':_0x16b313(0x173),'XEamT':_0x16b313(0x16f),'IQpSO':'unknown'};_0x7ba869[_0x7ba869[_0x16b313(0x173)]=0x1]=_0x437602['gPlCO'],_0x7ba869[_0x7ba869[_0x437602[_0x16b313(0x16a)]]=0x2]=_0x437602[_0x16b313(0x16a)],_0x7ba869[_0x7ba869[_0x437602[_0x16b313(0x178)]]=0xff]=_0x16b313(0x176);}(Sex||(Sex={})));export var BizKey;(function(_0x24ab8d){var _0x546dd1=_0x1926,_0x14f7cc={'XeOML':'KPRIVILEGEICON','sMoEr':_0x546dd1(0x171)};_0x24ab8d[_0x24ab8d['KPRIVILEGEICON']=0x0]=_0x14f7cc[_0x546dd1(0x175)],_0x24ab8d[_0x24ab8d[_0x14f7cc[_0x546dd1(0x177)]]=0x1]=_0x14f7cc[_0x546dd1(0x177)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x340045,_0x1e5a2e){var _0x4104d9=_0x5361,_0x4df80d=_0x340045();while(!![]){try{var _0x400d26=parseInt(_0x4104d9(0x18f))/0x1+-parseInt(_0x4104d9(0x191))/0x2*(-parseInt(_0x4104d9(0x186))/0x3)+-parseInt(_0x4104d9(0x193))/0x4+parseInt(_0x4104d9(0x188))/0x5*(-parseInt(_0x4104d9(0x184))/0x6)+-parseInt(_0x4104d9(0x180))/0x7*(-parseInt(_0x4104d9(0x18b))/0x8)+-parseInt(_0x4104d9(0x18a))/0x9*(-parseInt(_0x4104d9(0x183))/0xa)+parseInt(_0x4104d9(0x190))/0xb*(-parseInt(_0x4104d9(0x17f))/0xc);if(_0x400d26===_0x1e5a2e)break;else _0x4df80d['push'](_0x4df80d['shift']());}catch(_0x3f0271){_0x4df80d['push'](_0x4df80d['shift']());}}}(_0xac52,0xcb078));export var Sex;(function(_0x2073fc){var _0x155191=_0x5361,_0x204e98={'jpmPE':_0x155191(0x189),'onpoD':_0x155191(0x181),'DBtsD':'unknown'};_0x2073fc[_0x2073fc[_0x204e98['jpmPE']]=0x1]=_0x204e98[_0x155191(0x192)],_0x2073fc[_0x2073fc[_0x204e98[_0x155191(0x18e)]]=0x2]=_0x204e98[_0x155191(0x18e)],_0x2073fc[_0x2073fc[_0x204e98['DBtsD']]=0xff]=_0x204e98[_0x155191(0x185)];}(Sex||(Sex={})));export var BizKey;function _0xac52(){var _0x1699f5=['20qGrOqK','321150VMNTvR','DBtsD','36591QchqSr','KPRIVILEGEICON','155KhMuqB','male','5931693VspwPX','8gMWjMF','PSdLp','YgecB','onpoD','916772fwgcCR','4868138RNMYQo','10KYPxkj','jpmPE','2797108rhyivJ','12CiGOMD','9357649SAVfLF','female','KPHOTOWALL'];_0xac52=function(){return _0x1699f5;};return _0xac52();}function _0x5361(_0x46c764,_0x23e190){var _0xac5242=_0xac52();return _0x5361=function(_0x536119,_0x8873d7){_0x536119=_0x536119-0x17f;var _0x1dcd6f=_0xac5242[_0x536119];return _0x1dcd6f;},_0x5361(_0x46c764,_0x23e190);}(function(_0x4a3f19){var _0x28e3cb=_0x5361,_0x561e70={'YgecB':_0x28e3cb(0x187),'PSdLp':_0x28e3cb(0x182)};_0x4a3f19[_0x4a3f19[_0x561e70['YgecB']]=0x0]=_0x561e70[_0x28e3cb(0x18d)],_0x4a3f19[_0x4a3f19[_0x561e70[_0x28e3cb(0x18c)]]=0x1]=_0x561e70[_0x28e3cb(0x18c)];}(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 e78227f8..4e74001e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x31f843,_0x52c7f7){var _0x521b46=_0x1645,_0x1ffcb2=_0x31f843();while(!![]){try{var _0x4cd13c=parseInt(_0x521b46(0x11e))/0x1+parseInt(_0x521b46(0x11f))/0x2+parseInt(_0x521b46(0x11c))/0x3+-parseInt(_0x521b46(0x119))/0x4+-parseInt(_0x521b46(0x11a))/0x5+-parseInt(_0x521b46(0x120))/0x6*(parseInt(_0x521b46(0x11d))/0x7)+parseInt(_0x521b46(0x11b))/0x8;if(_0x4cd13c===_0x52c7f7)break;else _0x1ffcb2['push'](_0x1ffcb2['shift']());}catch(_0x4b0377){_0x1ffcb2['push'](_0x1ffcb2['shift']());}}}(_0x5ec6,0xd75a8));import _0x224437 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';function _0x1645(_0x34a01a,_0x16d8bc){var _0x5ec65e=_0x5ec6();return _0x1645=function(_0x164520,_0x119193){_0x164520=_0x164520-0x119;var _0x2c255a=_0x5ec65e[_0x164520];return _0x2c255a;},_0x1645(_0x34a01a,_0x16d8bc);}export*as Adapters from'./adapters';function _0x5ec6(){var _0xa3edc=['1355901hOZObE','1561vbQvVS','1684875SzWmqP','645622TFvJaI','12750xQCjhH','4022832SfvDLl','2933695VgFwIC','3910056DAJuuT'];_0x5ec6=function(){return _0xa3edc;};return _0x5ec6();}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x224437 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x3fc244,_0x1e840a){var _0x129f68=_0xb529,_0x53cff0=_0x3fc244();while(!![]){try{var _0x18ebb9=parseInt(_0x129f68(0x159))/0x1+parseInt(_0x129f68(0x156))/0x2+-parseInt(_0x129f68(0x158))/0x3+-parseInt(_0x129f68(0x157))/0x4+-parseInt(_0x129f68(0x15c))/0x5*(parseInt(_0x129f68(0x155))/0x6)+parseInt(_0x129f68(0x15a))/0x7+parseInt(_0x129f68(0x15b))/0x8;if(_0x18ebb9===_0x1e840a)break;else _0x53cff0['push'](_0x53cff0['shift']());}catch(_0x5c01df){_0x53cff0['push'](_0x53cff0['shift']());}}}(_0xc774,0xda132));import _0x43297c from'./wrapper';export*from'./adapters';function _0xb529(_0x3666d9,_0x3ba9db){var _0xc774d=_0xc774();return _0xb529=function(_0xb5290d,_0x28374f){_0xb5290d=_0xb5290d-0x155;var _0x375caa=_0xc774d[_0xb5290d];return _0x375caa;},_0xb529(_0x3666d9,_0x3ba9db);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0xc774(){var _0x1ec7f3=['844255sdUcrn','869575PTxWOs','15962240FZyWqW','394610yAmxlP','96euHWUi','2053478tPfpQk','2994740SxzdBp','3257484fdIyjI'];_0xc774=function(){return _0x1ec7f3;};return _0xc774();}export*as Services from'./services';export{_0x43297c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index fa81e422..e4c23ca1 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x111d99=_0x20dd;(function(_0x1d6df3,_0x511c49){var _0x364874=_0x20dd,_0x172a25=_0x1d6df3();while(!![]){try{var _0xa9582c=-parseInt(_0x364874(0x180))/0x1+parseInt(_0x364874(0x190))/0x2*(-parseInt(_0x364874(0x186))/0x3)+-parseInt(_0x364874(0x185))/0x4*(-parseInt(_0x364874(0x189))/0x5)+-parseInt(_0x364874(0x18f))/0x6+parseInt(_0x364874(0x191))/0x7+-parseInt(_0x364874(0x18c))/0x8+parseInt(_0x364874(0x17f))/0x9;if(_0xa9582c===_0x511c49)break;else _0x172a25['push'](_0x172a25['shift']());}catch(_0xfed03b){_0x172a25['push'](_0x172a25['shift']());}}}(_0x1cf7,0xe517c));export class BuddyListener{[_0x111d99(0x184)](_0xd8a879){}['onAddMeSettingChanged'](_0x201942){}[_0x111d99(0x183)](_0x378dbe){}[_0x111d99(0x188)](_0x4bd8be){}[_0x111d99(0x17e)](_0x520567){}['onBuddyInfoChange'](_0xcd0b7d){}[_0x111d99(0x18e)](_0x3584a3){}[_0x111d99(0x18d)](_0x56a56e){}['onBuddyReqChange'](_0x3c8496){}['onBuddyReqUnreadCntChange'](_0x2aa5d2){}[_0x111d99(0x187)](_0x4c5e2e){}[_0x111d99(0x182)](_0x26a79e){}[_0x111d99(0x18b)](_0x3559fc){}[_0x111d99(0x18a)](_0x2b6a6a){}[_0x111d99(0x181)](_0x572b4a){}['onSmartInfos'](_0xb53f6b){}['onSpacePermissionInfos'](_0x5c51d6){}}function _0x20dd(_0x22ee4b,_0x2c9fbd){var _0x1cf744=_0x1cf7();return _0x20dd=function(_0x20dd52,_0x4800ab){_0x20dd52=_0x20dd52-0x17e;var _0x103520=_0x1cf744[_0x20dd52];return _0x103520;},_0x20dd(_0x22ee4b,_0x2c9fbd);}function _0x1cf7(){var _0x572566=['56668005foLkbi','1309317uLUNpN','onNickUpdated','onDelBatchBuddyInfos','onAvatarUrlUpdated','onAddBuddyNeedVerify','24qcEnXF','5447661gJMRqZ','onCheckBuddySettingResult','onBlockChanged','78230QwQmEX','onDoubtBuddyReqUnreadNumChange','onDoubtBuddyReqChange','11612224yOFPok','onBuddyRemarkUpdated','onBuddyListChange','5836164qxbzQB','2pcpxIW','682283dkoSyE','onBuddyDetailInfoChange'];_0x1cf7=function(){return _0x572566;};return _0x1cf7();} \ No newline at end of file +function _0x248b(_0x4fdbf7,_0x571aab){var _0x28b957=_0x28b9();return _0x248b=function(_0x248b4e,_0x34c79e){_0x248b4e=_0x248b4e-0x153;var _0x3ea7f5=_0x28b957[_0x248b4e];return _0x3ea7f5;},_0x248b(_0x4fdbf7,_0x571aab);}function _0x28b9(){var _0x393185=['5806996lNaqWW','onBlockChanged','2581425qfPbRH','onSmartInfos','onDelBatchBuddyInfos','onSpacePermissionInfos','783874yNAkRi','1918861UjImAZ','onNickUpdated','1218136hDuYCh','onCheckBuddySettingResult','16LkpMPi','432132qaQeWh','5yfLPow','onBuddyDetailInfoChange','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onAddMeSettingChanged','onDoubtBuddyReqChange','4629657JhiJiI'];_0x28b9=function(){return _0x393185;};return _0x28b9();}var _0x5782f6=_0x248b;(function(_0x20e567,_0x3d6ecb){var _0x578ae7=_0x248b,_0x542f2b=_0x20e567();while(!![]){try{var _0x1f4e6b=parseInt(_0x578ae7(0x165))/0x1+-parseInt(_0x578ae7(0x154))/0x2+-parseInt(_0x578ae7(0x15e))/0x3+parseInt(_0x578ae7(0x15f))/0x4*(parseInt(_0x578ae7(0x158))/0x5)+-parseInt(_0x578ae7(0x157))/0x6+parseInt(_0x578ae7(0x166))/0x7+parseInt(_0x578ae7(0x156))/0x8*(parseInt(_0x578ae7(0x161))/0x9);if(_0x1f4e6b===_0x3d6ecb)break;else _0x542f2b['push'](_0x542f2b['shift']());}catch(_0x1ddba5){_0x542f2b['push'](_0x542f2b['shift']());}}}(_0x28b9,0xd1bcf));export class BuddyListener{['onAddBuddyNeedVerify'](_0x28237b){}[_0x5782f6(0x15c)](_0x373d30){}['onAvatarUrlUpdated'](_0x537203){}[_0x5782f6(0x160)](_0x63711d){}[_0x5782f6(0x159)](_0x1d3498){}['onBuddyInfoChange'](_0x4b2ac4){}['onBuddyListChange'](_0x7c1582){}['onBuddyRemarkUpdated'](_0x30d75a){}[_0x5782f6(0x15b)](_0xb2195b){}['onBuddyReqUnreadCntChange'](_0x338af5){}[_0x5782f6(0x155)](_0x270b2e){}[_0x5782f6(0x163)](_0x1853ba){}[_0x5782f6(0x15d)](_0x4368b5){}[_0x5782f6(0x15a)](_0x499995){}[_0x5782f6(0x153)](_0x4b966d){}[_0x5782f6(0x162)](_0x3b4cff){}[_0x5782f6(0x164)](_0x402cf2){}} \ 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 39e1f05c..dfe5f81b 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x2af3(_0x55235a,_0x17e65f){var _0x266852=_0x2668();return _0x2af3=function(_0x2af307,_0x405d9a){_0x2af307=_0x2af307-0x7f;var _0x804825=_0x266852[_0x2af307];return _0x804825;},_0x2af3(_0x55235a,_0x17e65f);}var _0x2f0399=_0x2af3;(function(_0x5da19c,_0x3441af){var _0x6d6917=_0x2af3,_0x349b32=_0x5da19c();while(!![]){try{var _0x99d6ae=parseInt(_0x6d6917(0x88))/0x1*(parseInt(_0x6d6917(0x85))/0x2)+parseInt(_0x6d6917(0x82))/0x3+-parseInt(_0x6d6917(0x89))/0x4*(parseInt(_0x6d6917(0x83))/0x5)+-parseInt(_0x6d6917(0x86))/0x6+parseInt(_0x6d6917(0x81))/0x7*(-parseInt(_0x6d6917(0x8b))/0x8)+-parseInt(_0x6d6917(0x8a))/0x9+parseInt(_0x6d6917(0x84))/0xa;if(_0x99d6ae===_0x3441af)break;else _0x349b32['push'](_0x349b32['shift']());}catch(_0x145d2f){_0x349b32['push'](_0x349b32['shift']());}}}(_0x2668,0x4d79f));function _0x2668(){var _0x1f4a94=['2933982ZeUHix','onFileListChanged','1067OpsyLZ','191612aaQOxJ','945288tsUYuG','1096CPdEdO','onSessionChanged','onFileStatusChanged','17227tBzKGE','1098822djSYKT','60SJCMtw','10804400oZyIhH','706RzbTeC'];_0x2668=function(){return _0x1f4a94;};return _0x2668();}export class KernelFileAssistantListener{[_0x2f0399(0x80)](..._0x4b810a){}['onSessionListChanged'](..._0x14a325){}[_0x2f0399(0x7f)](..._0x362834){}[_0x2f0399(0x87)](..._0x1ee2b6){}['onFileSearch'](..._0x3e6920){}} \ No newline at end of file +function _0x11a3(_0x46ee6e,_0x2af11e){var _0x418263=_0x4182();return _0x11a3=function(_0x11a328,_0x36ca99){_0x11a328=_0x11a328-0x158;var _0x4ab9e9=_0x418263[_0x11a328];return _0x4ab9e9;},_0x11a3(_0x46ee6e,_0x2af11e);}var _0x2cc5fa=_0x11a3;function _0x4182(){var _0x16da90=['2555LhPDpf','414BWUxGU','783483syGnXN','onSessionChanged','385272fUPIJg','117888sZRZsO','1076XODkFF','9801KuScmD','1886420XOsTTs','33bpuiam','5660180pNIpvD','4758yFOdyD'];_0x4182=function(){return _0x16da90;};return _0x4182();}(function(_0x3563f3,_0x525f30){var _0x293bd0=_0x11a3,_0x4cde13=_0x3563f3();while(!![]){try{var _0x5f59e7=parseInt(_0x293bd0(0x15c))/0x1+parseInt(_0x293bd0(0x15e))/0x2+parseInt(_0x293bd0(0x161))/0x3*(parseInt(_0x293bd0(0x160))/0x4)+-parseInt(_0x293bd0(0x162))/0x5+-parseInt(_0x293bd0(0x159))/0x6*(-parseInt(_0x293bd0(0x15a))/0x7)+parseInt(_0x293bd0(0x15f))/0x8*(parseInt(_0x293bd0(0x15b))/0x9)+-parseInt(_0x293bd0(0x158))/0xa*(parseInt(_0x293bd0(0x163))/0xb);if(_0x5f59e7===_0x525f30)break;else _0x4cde13['push'](_0x4cde13['shift']());}catch(_0x3b5fc1){_0x4cde13['push'](_0x4cde13['shift']());}}}(_0x4182,0xb6599));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x4c4832){}['onSessionListChanged'](..._0x108fa1){}[_0x2cc5fa(0x15d)](..._0x1689a0){}['onFileListChanged'](..._0x1cc01e){}['onFileSearch'](..._0x87344e){}} \ 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 ed6edffc..66b8a31e 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x3cb5(_0x3d4506,_0x4e8d69){var _0x21d790=_0x21d7();return _0x3cb5=function(_0x3cb5c9,_0x370c17){_0x3cb5c9=_0x3cb5c9-0x1f3;var _0x5315cc=_0x21d790[_0x3cb5c9];return _0x5315cc;},_0x3cb5(_0x3d4506,_0x4e8d69);}var _0x3496fe=_0x3cb5;function _0x21d7(){var _0x5d23ca=['wYclm','7068512otBvxu','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onGroupAllInfoChange:','VIBFv','onGroupBulletinChange','RXuBC','onGetGroupBulletinListResult','onGroupExtListUpdate','601073AThmyh','120969uNLStE','onGroupMemberLevelInfoChange','onGroupBulletinRemindNotify','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated:','onGroupMemberLevelInfoChange:','WryNJ','27215luMSHL','638420SDxwre','onGroupDetailInfoChange','iwflw','onGroupNotifiesUpdated','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange:','Ubnhb','onGroupsMsgMaskResult','ZtYuX','45604fwniLD','onGroupListUpdate','onMemberInfoChange','onGroupBulletinChange:','onGroupExtListUpdate:','onGroupFirstBulletinNotify:','SAoSc','onJoinGroupNotify:','111cxHEQC','onGroupFirstBulletinNotify','950OvzOjb','onGroupArkInviteStateResult','xsNiG','CREId','kfIPO','onGroupAllInfoChange','onJoinGroupNoVerifyFlag','onSearchMemberChange','onMemberInfoChange:','834OTJunb','onGroupSingleScreenNotifies','onJoinGroupNotify','onGroupArkInviteStateResult:','onGroupConfMemberChange','log','onGroupNotifiesUnreadCountUpdated','BGEnS','1164695YVxnAp','onGroupConfMemberChange:','tfjxK','ewjHx'];_0x21d7=function(){return _0x5d23ca;};return _0x21d7();}(function(_0x2b7cf8,_0x596a55){var _0x40da0c=_0x3cb5,_0x48cc9f=_0x2b7cf8();while(!![]){try{var _0xe5ceb1=-parseInt(_0x40da0c(0x1fd))/0x1+-parseInt(_0x40da0c(0x206))/0x2+-parseInt(_0x40da0c(0x217))/0x3*(-parseInt(_0x40da0c(0x20f))/0x4)+parseInt(_0x40da0c(0x205))/0x5*(parseInt(_0x40da0c(0x222))/0x6)+-parseInt(_0x40da0c(0x22a))/0x7+-parseInt(_0x40da0c(0x1f4))/0x8+parseInt(_0x40da0c(0x1fe))/0x9*(parseInt(_0x40da0c(0x219))/0xa);if(_0xe5ceb1===_0x596a55)break;else _0x48cc9f['push'](_0x48cc9f['shift']());}catch(_0x40ae63){_0x48cc9f['push'](_0x48cc9f['shift']());}}}(_0x21d7,0x766d5));export class GroupListener{[_0x3496fe(0x1ff)](..._0x3cc6bb){}[_0x3496fe(0x1fb)](..._0x5d6df9){}['onGroupAllInfoChange'](..._0x306b87){}[_0x3496fe(0x1f9)](..._0x4dafe8){}['onGroupBulletinRemindNotify'](..._0x4c2e6b){}[_0x3496fe(0x21a)](..._0x2cdb3c){}[_0x3496fe(0x1f5)](..._0x44d747){}['onGroupConfMemberChange'](..._0x1760be){}[_0x3496fe(0x207)](..._0x25749f){}['onGroupExtListUpdate'](..._0x5ecab4){}[_0x3496fe(0x218)](..._0x5de32c){}['onGroupListUpdate'](_0x3c1e0b,_0x5215a8){}['onGroupNotifiesUpdated'](_0x155a8c,_0x2bef69){}[_0x3496fe(0x20a)](..._0x463134){}[_0x3496fe(0x228)](..._0xdb421f){}[_0x3496fe(0x223)](_0x576aa,_0x776463,_0x40175d){}[_0x3496fe(0x20d)](..._0x320281){}['onGroupStatisticInfoChange'](..._0x5e6ece){}[_0x3496fe(0x224)](..._0x452ce4){}[_0x3496fe(0x21f)](..._0x57dea5){}['onMemberInfoChange'](_0x98cc49,_0x4b3516,_0x1aee54){}['onMemberListChange'](_0x2e658e){}[_0x3496fe(0x220)](..._0x9946d1){}['onShutUpMemberListChanged'](..._0x4a1802){}}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x36b9e1){var _0x287b8a=_0x3496fe,_0x535ad4={'wYclm':_0x287b8a(0x203)};console['log'](_0x535ad4[_0x287b8a(0x1f3)],..._0x36b9e1);}[_0x3496fe(0x1fb)](..._0x2b8435){var _0x4fcd38=_0x3496fe;console[_0x4fcd38(0x227)]('onGetGroupBulletinListResult:',..._0x2b8435);}[_0x3496fe(0x21e)](..._0x57ae80){var _0x20fbbc=_0x3496fe,_0x3758c0={'RXuBC':_0x20fbbc(0x1f7)};console['log'](_0x3758c0[_0x20fbbc(0x1fa)],..._0x57ae80);}[_0x3496fe(0x1f9)](..._0x12c5df){var _0x3f59b2=_0x3496fe,_0x2e0df7={'xsNiG':_0x3f59b2(0x212)};console[_0x3f59b2(0x227)](_0x2e0df7[_0x3f59b2(0x21b)],..._0x12c5df);}[_0x3496fe(0x200)](..._0x2a1e85){var _0xd66346=_0x3496fe,_0x2cd304={'WryNJ':'onGroupBulletinRemindNotify:'};console[_0xd66346(0x227)](_0x2cd304[_0xd66346(0x204)],..._0x2a1e85);}['onGroupArkInviteStateResult'](..._0x352704){var _0x3a44b8=_0x3496fe,_0x46efdf={'eXaPX':_0x3a44b8(0x225)};console[_0x3a44b8(0x227)](_0x46efdf['eXaPX'],..._0x352704);}[_0x3496fe(0x1f5)](..._0x3cceea){var _0x30b396=_0x3496fe;console[_0x30b396(0x227)]('onGroupBulletinRichMediaDownloadComplete:',..._0x3cceea);}[_0x3496fe(0x226)](..._0x24c70a){var _0x2dd334=_0x3496fe;console[_0x2dd334(0x227)](_0x2dd334(0x22b),..._0x24c70a);}[_0x3496fe(0x207)](..._0x100525){var _0x266cf0=_0x3496fe;console['log'](_0x266cf0(0x20b),..._0x100525);}[_0x3496fe(0x1fc)](..._0xf7300e){var _0x5ed9ed=_0x3496fe,_0x776d75={'ewjHx':_0x5ed9ed(0x213)};console[_0x5ed9ed(0x227)](_0x776d75[_0x5ed9ed(0x22d)],..._0xf7300e);}[_0x3496fe(0x218)](..._0x284c5c){var _0x982391=_0x3496fe,_0x4bc732={'SAoSc':_0x982391(0x214)};console['log'](_0x4bc732[_0x982391(0x215)],..._0x284c5c);}[_0x3496fe(0x210)](..._0x189edf){var _0x278ad8=_0x3496fe,_0x3b422d={'VIBFv':'onGroupListUpdate:'};console['log'](_0x3b422d[_0x278ad8(0x1f8)],..._0x189edf);}[_0x3496fe(0x209)](..._0x103d8d){var _0x1e6115=_0x3496fe,_0x17dcdd={'CREId':'onGroupNotifiesUpdated:'};console[_0x1e6115(0x227)](_0x17dcdd[_0x1e6115(0x21c)],..._0x103d8d);}['onGroupBulletinRichMediaProgressUpdate'](..._0x4f4236){var _0x203241=_0x3496fe;console[_0x203241(0x227)]('onGroupBulletinRichMediaProgressUpdate:',..._0x4f4236);}[_0x3496fe(0x228)](..._0x352519){var _0x30ddc8=_0x3496fe,_0x57d08a={'kfIPO':_0x30ddc8(0x202)};console['log'](_0x57d08a[_0x30ddc8(0x21d)],..._0x352519);}[_0x3496fe(0x223)](_0xf7322f,_0x3b73f4,_0xca1331){var _0x8159f8=_0x3496fe,_0x44d2de={'RbMBV':'onGroupSingleScreenNotifies:'};console[_0x8159f8(0x227)](_0x44d2de['RbMBV']);}[_0x3496fe(0x20d)](..._0x1e24a2){var _0x11b5e5=_0x3496fe,_0x32b231={'tfjxK':_0x11b5e5(0x1f6)};console[_0x11b5e5(0x227)](_0x32b231[_0x11b5e5(0x22c)],..._0x1e24a2);}['onGroupStatisticInfoChange'](..._0x25c9c6){var _0x8b0bd5=_0x3496fe;console[_0x8b0bd5(0x227)]('onGroupStatisticInfoChange:',..._0x25c9c6);}[_0x3496fe(0x224)](..._0x3f4cef){var _0x2f847d=_0x3496fe;console['log'](_0x2f847d(0x216),..._0x3f4cef);}[_0x3496fe(0x21f)](..._0x2eab39){var _0x3b19c8=_0x3496fe,_0xcae8cb={'BGEnS':'onJoinGroupNoVerifyFlag:'};console[_0x3b19c8(0x227)](_0xcae8cb[_0x3b19c8(0x229)],..._0x2eab39);}[_0x3496fe(0x211)](_0x44b005,_0x442aea,_0x3ba248){var _0x339a48=_0x3496fe;console[_0x339a48(0x227)](_0x339a48(0x221),_0x44b005,_0x442aea,_0x3ba248);}['onMemberListChange'](..._0x46b9d2){var _0x39c564=_0x3496fe,_0x2c540d={'iwflw':'onMemberListChange:'};console[_0x39c564(0x227)](_0x2c540d[_0x39c564(0x208)],..._0x46b9d2);}[_0x3496fe(0x220)](..._0x3529ab){var _0x3ec094=_0x3496fe,_0x2f40b6={'Ubnhb':'onSearchMemberChange:'};console[_0x3ec094(0x227)](_0x2f40b6[_0x3ec094(0x20c)],..._0x3529ab);}['onShutUpMemberListChanged'](..._0x3e947e){var _0x53a90c=_0x3496fe,_0x518a3f={'ZtYuX':_0x53a90c(0x201)};console[_0x53a90c(0x227)](_0x518a3f[_0x53a90c(0x20e)],..._0x3e947e);}} \ No newline at end of file +function _0x2389(){var _0x5ca35a=['onMemberListChange','WgpHo','19921lsdNvo','onJoinGroupNoVerifyFlag','vnrrG','4KJUWpG','OzrpX','onGroupAllInfoChange','jUnou','40TWMggX','onGroupArkInviteStateResult','MKABw','onGroupNotifiesUpdated','onJoinGroupNotify','onGroupExtListUpdate:','onShutUpMemberListChanged','onGroupBulletinRemindNotify','onGroupConfMemberChange:','14ncGDZu','onGroupExtListUpdate','342396wwKVPd','93780yzdmbh','onGroupBulletinRichMediaDownloadComplete','onGroupBulletinRichMediaDownloadComplete:','232701eVGEJs','onGroupSingleScreenNotifies:','onGroupBulletinChange:','onGroupSingleScreenNotifies','1000kdRWjd','onGetGroupBulletinListResult:','onGroupStatisticInfoChange','pcsJB','onGroupStatisticInfoChange:','810555VAcbPh','onGroupNotifiesUnreadCountUpdated','onMemberInfoChange','onGroupAllInfoChange:','onGroupConfMemberChange','pdXeP','onGroupsMsgMaskResult','114MqkngO','onJoinGroupNotify:','28391316IUEced','onSearchMemberChange','onGroupNotifiesUnreadCountUpdated:','PaMoC','onSearchMemberChange:','2275038WezuLj','CwjwH','onGroupBulletinChange','yOsMG','onShutUpMemberListChanged:','log','onGroupFirstBulletinNotify:','onGroupDetailInfoChange:','13MXeozn','onGroupDetailInfoChange','QdZVH','onGroupFirstBulletinNotify','onGroupNotifiesUpdated:','onGroupListUpdate','onGroupBulletinRemindNotify:','onMemberListChange:','onMemberInfoChange:','onGroupMemberLevelInfoChange','onGetGroupBulletinListResult'];_0x2389=function(){return _0x5ca35a;};return _0x2389();}function _0x4b43(_0xe486c5,_0x747137){var _0x238913=_0x2389();return _0x4b43=function(_0x4b4354,_0x1d981d){_0x4b4354=_0x4b4354-0x1d4;var _0x315327=_0x238913[_0x4b4354];return _0x315327;},_0x4b43(_0xe486c5,_0x747137);}var _0x206cb8=_0x4b43;(function(_0x4246df,_0x2a814d){var _0x1b0892=_0x4b43,_0x2b9cde=_0x4246df();while(!![]){try{var _0x346a74=-parseInt(_0x1b0892(0x1f3))/0x1+parseInt(_0x1b0892(0x1f0))/0x2*(parseInt(_0x1b0892(0x1f2))/0x3)+-parseInt(_0x1b0892(0x1e3))/0x4*(parseInt(_0x1b0892(0x1ff))/0x5)+-parseInt(_0x1b0892(0x206))/0x6*(parseInt(_0x1b0892(0x1f6))/0x7)+-parseInt(_0x1b0892(0x1e7))/0x8*(parseInt(_0x1b0892(0x20d))/0x9)+-parseInt(_0x1b0892(0x1fa))/0xa*(parseInt(_0x1b0892(0x1e0))/0xb)+parseInt(_0x1b0892(0x208))/0xc*(parseInt(_0x1b0892(0x215))/0xd);if(_0x346a74===_0x2a814d)break;else _0x2b9cde['push'](_0x2b9cde['shift']());}catch(_0x2d24c8){_0x2b9cde['push'](_0x2b9cde['shift']());}}}(_0x2389,0xcb35d));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x3b4776){}['onGetGroupBulletinListResult'](..._0x4922e4){}[_0x206cb8(0x1e5)](..._0x129606){}[_0x206cb8(0x20f)](..._0x195ba5){}['onGroupBulletinRemindNotify'](..._0x1d67dc){}[_0x206cb8(0x1e8)](..._0x3aaef4){}['onGroupBulletinRichMediaDownloadComplete'](..._0x1b00dd){}[_0x206cb8(0x203)](..._0x1dc49a){}[_0x206cb8(0x1d4)](..._0x2517ac){}[_0x206cb8(0x1f1)](..._0x529b97){}[_0x206cb8(0x1d6)](..._0x297fef){}[_0x206cb8(0x1d8)](_0x153758,_0x5123ae){}[_0x206cb8(0x1ea)](_0x346df5,_0x22f0f0){}['onGroupBulletinRichMediaProgressUpdate'](..._0xd1eb6e){}[_0x206cb8(0x200)](..._0xeb9f80){}[_0x206cb8(0x1f9)](_0xab15eb,_0x11c670,_0x20639c){}[_0x206cb8(0x205)](..._0x25971c){}[_0x206cb8(0x1fc)](..._0x4af1cc){}[_0x206cb8(0x1eb)](..._0x28a3cd){}[_0x206cb8(0x1e1)](..._0x531f58){}['onMemberInfoChange'](_0x136f9a,_0x44df40,_0xc8f945){}[_0x206cb8(0x1de)](_0x9ef269){}[_0x206cb8(0x209)](..._0x437088){}[_0x206cb8(0x1ed)](..._0x2b3834){}}export class DebugGroupListener{[_0x206cb8(0x1dc)](..._0x4da67c){var _0x2479ea=_0x206cb8,_0xd3b10c={'PaMoC':'onGroupMemberLevelInfoChange:'};console['log'](_0xd3b10c[_0x2479ea(0x20b)],..._0x4da67c);}[_0x206cb8(0x1dd)](..._0x37d059){var _0x23e845=_0x206cb8,_0x43a263={'yOsMG':_0x23e845(0x1fb)};console[_0x23e845(0x212)](_0x43a263[_0x23e845(0x210)],..._0x37d059);}[_0x206cb8(0x1e5)](..._0x4f8920){var _0xbf31d8=_0x206cb8,_0x5ab01f={'CwjwH':_0xbf31d8(0x202)};console[_0xbf31d8(0x212)](_0x5ab01f[_0xbf31d8(0x20e)],..._0x4f8920);}[_0x206cb8(0x20f)](..._0x5e85ab){var _0x39cf1e=_0x206cb8;console['log'](_0x39cf1e(0x1f8),..._0x5e85ab);}[_0x206cb8(0x1ee)](..._0x525f56){var _0x21876b=_0x206cb8,_0x97dbb={'pcsJB':_0x21876b(0x1d9)};console[_0x21876b(0x212)](_0x97dbb[_0x21876b(0x1fd)],..._0x525f56);}['onGroupArkInviteStateResult'](..._0x15b41a){var _0x11b9a9=_0x206cb8,_0x45e850={'DjvhN':'onGroupArkInviteStateResult:'};console[_0x11b9a9(0x212)](_0x45e850['DjvhN'],..._0x15b41a);}[_0x206cb8(0x1f4)](..._0x22fc2f){var _0x2642b2=_0x206cb8;console['log'](_0x2642b2(0x1f5),..._0x22fc2f);}[_0x206cb8(0x203)](..._0x2817ad){var _0x562b69=_0x206cb8,_0x27e59c={'jUnou':_0x562b69(0x1ef)};console[_0x562b69(0x212)](_0x27e59c[_0x562b69(0x1e6)],..._0x2817ad);}['onGroupDetailInfoChange'](..._0x3fa9ee){var _0x4b7e3e=_0x206cb8,_0x244eba={'OzrpX':_0x4b7e3e(0x214)};console['log'](_0x244eba[_0x4b7e3e(0x1e4)],..._0x3fa9ee);}[_0x206cb8(0x1f1)](..._0x963042){var _0x2ceacc=_0x206cb8;console['log'](_0x2ceacc(0x1ec),..._0x963042);}[_0x206cb8(0x1d6)](..._0x2a2d39){var _0x425b81=_0x206cb8,_0x35e10d={'WgpHo':_0x425b81(0x213)};console['log'](_0x35e10d[_0x425b81(0x1df)],..._0x2a2d39);}[_0x206cb8(0x1d8)](..._0x5e3528){var _0xd048f8=_0x206cb8,_0x1f1594={'vnrrG':'onGroupListUpdate:'};console['log'](_0x1f1594[_0xd048f8(0x1e2)],..._0x5e3528);}['onGroupNotifiesUpdated'](..._0x3bc6f9){var _0x292c9d=_0x206cb8,_0x182ba2={'MKABw':_0x292c9d(0x1d7)};console[_0x292c9d(0x212)](_0x182ba2[_0x292c9d(0x1e9)],..._0x3bc6f9);}['onGroupBulletinRichMediaProgressUpdate'](..._0x238c1c){var _0x553de2=_0x206cb8,_0x96dfa9={'IHjGH':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x553de2(0x212)](_0x96dfa9['IHjGH'],..._0x238c1c);}[_0x206cb8(0x200)](..._0xc7b6aa){var _0x104956=_0x206cb8,_0x8c89={'fcXIW':_0x104956(0x20a)};console[_0x104956(0x212)](_0x8c89['fcXIW'],..._0xc7b6aa);}[_0x206cb8(0x1f9)](_0x43d8c3,_0x62094b,_0xeccc71){var _0x3559bd=_0x206cb8;console[_0x3559bd(0x212)](_0x3559bd(0x1f7));}[_0x206cb8(0x205)](..._0x2e22eb){var _0x13c2ec=_0x206cb8;console[_0x13c2ec(0x212)]('onGroupsMsgMaskResult:',..._0x2e22eb);}[_0x206cb8(0x1fc)](..._0x7649d9){var _0xc2c846=_0x206cb8,_0x184261={'pdXeP':_0xc2c846(0x1fe)};console[_0xc2c846(0x212)](_0x184261[_0xc2c846(0x204)],..._0x7649d9);}[_0x206cb8(0x1eb)](..._0x4d0628){var _0x1a00cc=_0x206cb8,_0x2fde5f={'gZCtL':_0x1a00cc(0x207)};console[_0x1a00cc(0x212)](_0x2fde5f['gZCtL'],..._0x4d0628);}[_0x206cb8(0x1e1)](..._0x26fc48){var _0x2358fa=_0x206cb8,_0x36ba8b={'BJxoD':'onJoinGroupNoVerifyFlag:'};console[_0x2358fa(0x212)](_0x36ba8b['BJxoD'],..._0x26fc48);}[_0x206cb8(0x201)](_0x8e3ab9,_0x41caa8,_0x4899ba){var _0x3fc782=_0x206cb8;console[_0x3fc782(0x212)](_0x3fc782(0x1db),_0x8e3ab9,_0x41caa8,_0x4899ba);}[_0x206cb8(0x1de)](..._0x51080b){var _0x41704c=_0x206cb8;console[_0x41704c(0x212)](_0x41704c(0x1da),..._0x51080b);}[_0x206cb8(0x209)](..._0x5c8b97){var _0x58a5a0=_0x206cb8,_0x16d390={'cYmmJ':_0x58a5a0(0x20c)};console[_0x58a5a0(0x212)](_0x16d390['cYmmJ'],..._0x5c8b97);}['onShutUpMemberListChanged'](..._0x27aba1){var _0x499516=_0x206cb8,_0x28db19={'QdZVH':_0x499516(0x211)};console[_0x499516(0x212)](_0x28db19[_0x499516(0x1d5)],..._0x27aba1);}} \ 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 30ba0bdd..2b82bbb5 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x47d303=_0x257a;function _0x257a(_0x1fa3f4,_0x2639eb){var _0x3c0b49=_0x3c0b();return _0x257a=function(_0x257ad0,_0x2c6c46){_0x257ad0=_0x257ad0-0xa9;var _0x24a952=_0x3c0b49[_0x257ad0];return _0x24a952;},_0x257a(_0x1fa3f4,_0x2639eb);}(function(_0x166728,_0x260099){var _0x2adddd=_0x257a,_0x5028ee=_0x166728();while(!![]){try{var _0x219f14=parseInt(_0x2adddd(0xbe))/0x1*(parseInt(_0x2adddd(0xba))/0x2)+-parseInt(_0x2adddd(0xad))/0x3+-parseInt(_0x2adddd(0xb3))/0x4*(-parseInt(_0x2adddd(0xbb))/0x5)+parseInt(_0x2adddd(0xab))/0x6+parseInt(_0x2adddd(0xac))/0x7+-parseInt(_0x2adddd(0xbd))/0x8+-parseInt(_0x2adddd(0xb4))/0x9*(-parseInt(_0x2adddd(0xaa))/0xa);if(_0x219f14===_0x260099)break;else _0x5028ee['push'](_0x5028ee['shift']());}catch(_0x4ab6e0){_0x5028ee['push'](_0x5028ee['shift']());}}}(_0x3c0b,0x50cca));function _0x3c0b(){var _0x460bb3=['onLoginConnected','onQRCodeSessionQuickLoginFailed','549092jUmcod','187641tiHAIs','onQRCodeSessionUserScaned','onLogoutSucceed','onLoginDisConnected','onQRCodeSessionFailed','onLoginFailed','20oLjrMM','5tmZpdB','onLogoutFailed','320168xkZPkP','10844krevru','onUserLoggedIn','230dfnGBa','313530oomYtC','1660197xPMKlA','1931073AvaKTR','onLoginConnecting','onPasswordLoginFailed','onQRCodeLoginPollingStarted'];_0x3c0b=function(){return _0x460bb3;};return _0x3c0b();}export class LoginListener{[_0x47d303(0xb1)](..._0x36c935){}[_0x47d303(0xb7)](..._0x960b61){}[_0x47d303(0xae)](..._0x12a72c){}['onQRCodeGetPicture'](_0x3b7c21){}[_0x47d303(0xb0)](..._0x505dca){}[_0x47d303(0xb5)](..._0x1f6079){}['onQRCodeLoginSucceed'](_0x17d33e){}[_0x47d303(0xb8)](..._0x4e3558){}[_0x47d303(0xb9)](..._0x461a42){}[_0x47d303(0xb6)](..._0x246700){}[_0x47d303(0xbc)](..._0x2d2e8d){}[_0x47d303(0xa9)](..._0x20c321){}[_0x47d303(0xb2)](..._0xd3961e){}[_0x47d303(0xaf)](..._0x57b7b6){}['OnConfirmUnusualDeviceFailed'](..._0x476c00){}['onQQLoginNumLimited'](..._0x5a5251){}['onLoginState'](..._0x53bff4){}} \ No newline at end of file +function _0x5cc3(_0x2386b6,_0x5da095){var _0x319275=_0x3192();return _0x5cc3=function(_0x5cc345,_0x17bb3a){_0x5cc345=_0x5cc345-0x195;var _0x3f8d68=_0x319275[_0x5cc345];return _0x3f8d68;},_0x5cc3(_0x2386b6,_0x5da095);}var _0x2e6df5=_0x5cc3;(function(_0x43d5cc,_0x4f0281){var _0xeabb46=_0x5cc3,_0x1c089b=_0x43d5cc();while(!![]){try{var _0x82aa3c=-parseInt(_0xeabb46(0x1a3))/0x1+-parseInt(_0xeabb46(0x199))/0x2+-parseInt(_0xeabb46(0x1a1))/0x3*(parseInt(_0xeabb46(0x1a5))/0x4)+-parseInt(_0xeabb46(0x1a2))/0x5+-parseInt(_0xeabb46(0x1a4))/0x6+parseInt(_0xeabb46(0x19d))/0x7*(-parseInt(_0xeabb46(0x1a0))/0x8)+parseInt(_0xeabb46(0x1a8))/0x9;if(_0x82aa3c===_0x4f0281)break;else _0x1c089b['push'](_0x1c089b['shift']());}catch(_0x36db3a){_0x1c089b['push'](_0x1c089b['shift']());}}}(_0x3192,0x2fc8b));export class LoginListener{['onLoginConnected'](..._0x29d22d){}[_0x2e6df5(0x1ab)](..._0x1c8200){}[_0x2e6df5(0x195)](..._0x3bbd08){}[_0x2e6df5(0x19a)](_0x421321){}[_0x2e6df5(0x1a7)](..._0x279e7f){}[_0x2e6df5(0x19e)](..._0x1009fa){}[_0x2e6df5(0x1a6)](_0x23a783){}['onQRCodeSessionFailed'](..._0x2fc5cc){}[_0x2e6df5(0x1a9)](..._0x738f8d){}[_0x2e6df5(0x198)](..._0x1c9abb){}[_0x2e6df5(0x1aa)](..._0x2f7009){}[_0x2e6df5(0x19b)](..._0x40b0f5){}[_0x2e6df5(0x19f)](..._0x32b2d9){}[_0x2e6df5(0x19c)](..._0x30ac76){}[_0x2e6df5(0x196)](..._0x3e7e0c){}[_0x2e6df5(0x197)](..._0x4909a7){}[_0x2e6df5(0x1ac)](..._0x407fe8){}}function _0x3192(){var _0x2665f4=['onQQLoginNumLimited','onLogoutSucceed','236016exGOjS','onQRCodeGetPicture','onUserLoggedIn','onPasswordLoginFailed','1267GPBrqC','onQRCodeSessionUserScaned','onQRCodeSessionQuickLoginFailed','9192IxbUYz','6WAUyZC','360005psYYcv','276811CaUotE','2322468RUGhCX','291664yrVmys','onQRCodeLoginSucceed','onQRCodeLoginPollingStarted','12630798pjjsMt','onLoginFailed','onLogoutFailed','onLoginDisConnected','onLoginState','onLoginConnecting','OnConfirmUnusualDeviceFailed'];_0x3192=function(){return _0x2665f4;};return _0x3192();} \ 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 13bd4b78..73db1bb4 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0xef3071=_0x3cbd;function _0x20c0(){var _0x4758bd=['6101312IgCLyx','onBroadcastHelperProgerssUpdate','116tygODN','onUserChannelTabStatusChanged','6129840wvgBrg','onMsgRecall','onAddSendMsg','onlineStatusSmallIconDownloadPush','5997141RaFKzE','onMsgBoxChanged','onRecvMsgSvrRspTransInfo','onRecvSysMsg','onNtMsgSyncEnd','onUserSecQualityChanged','onGroupTransferInfoAdd','onGrabPasswordRedBag','onHitCsRelatedEmojiResult','onEmojiDownloadComplete','onDraftUpdate','onFileMsgCome','onLogLevelChanged','onCustomWithdrawConfigUpdate','onGuildMsgAbFlagChanged','onReadFeedEventUpdate','onMsgEventListUpdate','onEmojiResourceUpdate','onUnreadCntAfterFirstView','onHitRelatedEmojiResult','onRecvMsg','onSendMsgError','onChannelFreqLimitInfoUpdate','onGroupGuildUpdate','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onUnreadCntUpdate','onMsgWithRichLinkInfoUpdate','onRecvOnlineFileMsg','10GnyozR','onFirstViewGroupGuildMapping','onMsgSecurityNotify','onGuildNotificationAbstractUpdate','onBroadcastHelperDownloadComplete','3586290ESpdvl','onGuildInteractiveUpdate','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onKickedOffLine','onRichMediaUploadComplete','onMsgAbstractUpdate','onFirstViewDirectMsgUpdate','19323guqIuk','onLineDev','onRecvS2CMsg','onHitEmojiKeywordResult','onRecvUDCFlag','onUserTabStatusChanged','onNtFirstViewMsgSyncEnd','onRecvGroupGuildFlag','onContactUnreadCntUpdate','onUserOnlineStatusChanged','3610570pIabfd','onFeedEventUpdate','12455znFHeJ','onMsgInfoListAdd','30hoBSgZ','onSearchGroupFileInfoUpdate','onMsgInfoListUpdate','onTempChatInfoUpdate'];_0x20c0=function(){return _0x4758bd;};return _0x20c0();}(function(_0x35f8ea,_0x577f1b){var _0x512745=_0x3cbd,_0x3f1bdd=_0x35f8ea();while(!![]){try{var _0x3a2537=parseInt(_0x512745(0x176))/0x1*(parseInt(_0x512745(0x178))/0x2)+-parseInt(_0x512745(0x1ae))/0x3*(parseInt(_0x512745(0x17e))/0x4)+parseInt(_0x512745(0x174))/0x5+parseInt(_0x512745(0x1a6))/0x6+-parseInt(_0x512745(0x17c))/0x7+parseInt(_0x512745(0x180))/0x8+parseInt(_0x512745(0x184))/0x9*(-parseInt(_0x512745(0x1a1))/0xa);if(_0x3a2537===_0x577f1b)break;else _0x3f1bdd['push'](_0x3f1bdd['shift']());}catch(_0x536aca){_0x3f1bdd['push'](_0x3f1bdd['shift']());}}}(_0x20c0,0x85d22));function _0x3cbd(_0x39b3d5,_0xe87313){var _0x20c0b8=_0x20c0();return _0x3cbd=function(_0x3cbdd4,_0x320455){_0x3cbdd4=_0x3cbdd4-0x171;var _0x5605a6=_0x20c0b8[_0x3cbdd4];return _0x5605a6;},_0x3cbd(_0x39b3d5,_0xe87313);}export class MsgListener{[_0xef3071(0x182)](_0x3c923b){}[_0xef3071(0x1a5)](_0x34e1ba){}['onBroadcastHelperProgressUpdate'](_0x2fcfdf){}[_0xef3071(0x19a)](_0x55170f,_0x323557,_0x7bacad){}[_0xef3071(0x172)](_0x2b40c0){}[_0xef3071(0x191)](_0xce8ffa){}[_0xef3071(0x18e)](_0x23a571,_0x369e86,_0x250dc5){}[_0xef3071(0x18d)](_0x5cdcf7){}[_0xef3071(0x195)](_0x37629f){}[_0xef3071(0x175)](_0x17cfd3){}[_0xef3071(0x18f)](_0x34416c){}[_0xef3071(0x1ad)](_0x7c3f50){}[_0xef3071(0x1a2)](_0xf689f3){}[_0xef3071(0x18b)](_0x217203,_0x15b843,_0xe28b5d,_0x55397a,_0x8f4e89){}['onGroupFileInfoAdd'](_0x14f235){}['onGroupFileInfoUpdate'](_0x4c22a7){}[_0xef3071(0x19b)](_0x1af384){}[_0xef3071(0x18a)](_0x3459c2){}[_0xef3071(0x19d)](_0x22f895){}[_0xef3071(0x1a7)](_0x343eef){}[_0xef3071(0x192)](_0x28dec1){}[_0xef3071(0x1a4)](_0x5ec1c7){}[_0xef3071(0x18c)](_0x458af7){}[_0xef3071(0x1b1)](_0x4362b6){}[_0xef3071(0x197)](_0x3ccab6){}['onImportOldDbProgressUpdate'](_0x975c86){}['onInputStatusPush'](_0x2417b3){}[_0xef3071(0x1aa)](_0x477dfa){}[_0xef3071(0x1af)](_0x566b14){}[_0xef3071(0x190)](_0x187d89){}[_0xef3071(0x1ac)](_0x2f804f){}[_0xef3071(0x185)](_0xf43c31){}['onMsgDelete'](_0x479e59,_0x47118d){}[_0xef3071(0x194)](_0xc61671){}[_0xef3071(0x177)](_0x479bf1){}[_0xef3071(0x17a)](_0x1f8e88){}['onMsgQRCodeStatusChanged'](_0x1f57d3){}[_0xef3071(0x181)](_0xd96855,_0x50bd7f,_0x3d58fa){}[_0xef3071(0x1a3)](_0x15f2a8){}['onMsgSettingUpdate'](_0x5b706b){}[_0xef3071(0x1b4)](){}[_0xef3071(0x188)](){}['onNtMsgSyncStart'](){}[_0xef3071(0x193)](_0x966e96){}[_0xef3071(0x171)](_0x25f579){}[_0xef3071(0x198)](_0x40c508){}[_0xef3071(0x186)](_0x16ff63,_0x34887a,_0x40d816,_0x2b6266,_0x46153b,_0x3d3e64){}[_0xef3071(0x1a0)](_0x8bf556){}[_0xef3071(0x1b0)](_0x233b48){}[_0xef3071(0x187)](_0x4f44ea){}[_0xef3071(0x1b2)](_0xb7ec96){}[_0xef3071(0x1a8)](_0x24ed76){}[_0xef3071(0x1a9)](_0x11430b){}[_0xef3071(0x1ab)](_0x203fe5){}[_0xef3071(0x179)](_0x317b9c){}[_0xef3071(0x199)](_0x541172,_0x4136e8,_0x49251d,_0x362bee){}['onSysMsgNotification'](_0x4d5f6a,_0x246e5f,_0x1acf54,_0x1e8941){}[_0xef3071(0x17b)](_0xaad3e7){}[_0xef3071(0x196)](_0x67c6fb){}[_0xef3071(0x19e)](_0x453439){}[_0xef3071(0x17f)](_0x55fbd9){}[_0xef3071(0x173)](_0x428473){}[_0xef3071(0x1b3)](_0x14d3f8){}[_0xef3071(0x19c)](_0x3b4a96,_0x42310a,_0x41b743){}[_0xef3071(0x183)](_0x5a1767,_0x6a84a4,_0x4c2e4a){}[_0xef3071(0x189)](..._0x12955b){}[_0xef3071(0x19f)](..._0xa5af20){}['onRedTouchChanged'](..._0x580f09){}[_0xef3071(0x17d)](..._0x2358fe){}} \ No newline at end of file +function _0xc8ac(){var _0x2e6118=['onRecvMsg','onSendMsgError','onBroadcastHelperProgerssUpdate','onRecvMsgSvrRspTransInfo','onUserOnlineStatusChanged','1072595ihvKSA','790eWbfki','onGroupGuildUpdate','onFileMsgCome','onReadFeedEventUpdate','onSysMsgNotification','onMsgAbstractUpdate','onFeedEventUpdate','onHitCsRelatedEmojiResult','18zvRLJh','onHitRelatedEmojiResult','onInputStatusPush','onRedTouchChanged','onTempChatInfoUpdate','onBroadcastHelperProgressUpdate','onNtFirstViewMsgSyncEnd','onContactUnreadCntUpdate','onlineStatusSmallIconDownloadPush','13UNZHHy','onGroupFileInfoAdd','onKickedOffLine','onFirstViewDirectMsgUpdate','onUnreadCntUpdate','onMsgWithRichLinkInfoUpdate','3698108mtPWXi','onMsgInfoListAdd','onRichMediaProgerssUpdate','onGuildInteractiveUpdate','894vjBUzG','50722zJUeuQ','onAddSendMsg','onMsgEventListUpdate','3518536aagKXa','onRecvGroupGuildFlag','2703996uoQnfV','onGroupTransferInfoAdd','onRichMediaUploadComplete','onGuildNotificationAbstractUpdate','onMsgInfoListUpdate','onUserSecQualityChanged','onChannelFreqLimitInfoUpdate','37961qLcymx','3wfhEma','onRecvS2CMsg','56078PgGjoE','onlineStatusBigIconDownloadPush','onEmojiDownloadComplete','onRichMediaDownloadComplete','onRecvOnlineFileMsg','7esevWm','onDraftUpdate','onNtMsgSyncEnd','onGrabPasswordRedBag','onMsgRecall','onLineDev','onSearchGroupFileInfoUpdate','onUserChannelTabStatusChanged'];_0xc8ac=function(){return _0x2e6118;};return _0xc8ac();}var _0x3b5735=_0x32c9;function _0x32c9(_0x3ab228,_0x27586c){var _0xc8ac5f=_0xc8ac();return _0x32c9=function(_0x32c926,_0x29f12a){_0x32c926=_0x32c926-0x1c1;var _0x165082=_0xc8ac5f[_0x32c926];return _0x165082;},_0x32c9(_0x3ab228,_0x27586c);}(function(_0x29ebe3,_0x4d3c3c){var _0xbff696=_0x32c9,_0x59e8b2=_0x29ebe3();while(!![]){try{var _0x526e33=parseInt(_0xbff696(0x1e0))/0x1*(-parseInt(_0xbff696(0x1db))/0x2)+parseInt(_0xbff696(0x1d9))/0x3*(-parseInt(_0xbff696(0x1c7))/0x4)+-parseInt(_0xbff696(0x1ed))/0x5+-parseInt(_0xbff696(0x1cb))/0x6*(-parseInt(_0xbff696(0x1cc))/0x7)+parseInt(_0xbff696(0x1cf))/0x8*(parseInt(_0xbff696(0x1f6))/0x9)+-parseInt(_0xbff696(0x1ee))/0xa*(parseInt(_0xbff696(0x1d8))/0xb)+-parseInt(_0xbff696(0x1d1))/0xc*(-parseInt(_0xbff696(0x1c1))/0xd);if(_0x526e33===_0x4d3c3c)break;else _0x59e8b2['push'](_0x59e8b2['shift']());}catch(_0x815a1d){_0x59e8b2['push'](_0x59e8b2['shift']());}}}(_0xc8ac,0x8cca1));export class MsgListener{[_0x3b5735(0x1cd)](_0x7906d1){}['onBroadcastHelperDownloadComplete'](_0x4cfdca){}[_0x3b5735(0x1fb)](_0x50e702){}[_0x3b5735(0x1d7)](_0x1e78ab,_0x47e935,_0xd95e6f){}[_0x3b5735(0x1fd)](_0x25a7f){}['onCustomWithdrawConfigUpdate'](_0x469ead){}[_0x3b5735(0x1e1)](_0x177e86,_0x28cb6e,_0x3d31fc){}[_0x3b5735(0x1dd)](_0x46068f){}['onEmojiResourceUpdate'](_0x5c7492){}[_0x3b5735(0x1f4)](_0x1f1410){}[_0x3b5735(0x1f0)](_0x3b5591){}[_0x3b5735(0x1c4)](_0x21ce4d){}['onFirstViewGroupGuildMapping'](_0x6ea54a){}[_0x3b5735(0x1e3)](_0x44d978,_0x4cef84,_0x4ca8f5,_0x20ae8c,_0x3fbd5e){}[_0x3b5735(0x1c2)](_0x157586){}['onGroupFileInfoUpdate'](_0x3ecfd5){}[_0x3b5735(0x1ef)](_0x528454){}[_0x3b5735(0x1d2)](_0xae3233){}['onGroupTransferInfoUpdate'](_0x5d982b){}[_0x3b5735(0x1ca)](_0x30551d){}['onGuildMsgAbFlagChanged'](_0x5c0b67){}[_0x3b5735(0x1d4)](_0x4e19ca){}[_0x3b5735(0x1f5)](_0x334463){}['onHitEmojiKeywordResult'](_0x3d8abe){}[_0x3b5735(0x1f7)](_0xea063f){}['onImportOldDbProgressUpdate'](_0x5bb990){}[_0x3b5735(0x1f8)](_0x253795){}[_0x3b5735(0x1c3)](_0x1220b2){}[_0x3b5735(0x1e5)](_0x2bba0a){}['onLogLevelChanged'](_0xf60739){}[_0x3b5735(0x1f3)](_0x2f7a3a){}['onMsgBoxChanged'](_0x36d060){}['onMsgDelete'](_0x3be353,_0x4c2cff){}[_0x3b5735(0x1ce)](_0x559c11){}[_0x3b5735(0x1c8)](_0x146fbc){}[_0x3b5735(0x1d5)](_0x4adacd){}['onMsgQRCodeStatusChanged'](_0x48895d){}[_0x3b5735(0x1e4)](_0x352d1f,_0x383fdb,_0x29b1c7){}['onMsgSecurityNotify'](_0x459605){}['onMsgSettingUpdate'](_0x361495){}[_0x3b5735(0x1fc)](){}[_0x3b5735(0x1e2)](){}['onNtMsgSyncStart'](){}[_0x3b5735(0x1f1)](_0x547baf){}[_0x3b5735(0x1d0)](_0x469bac){}[_0x3b5735(0x1e8)](_0x47a561){}[_0x3b5735(0x1eb)](_0x307b56,_0x51f96f,_0x479ec2,_0x1d2541,_0x214872,_0xe9f992){}[_0x3b5735(0x1df)](_0x298f2d){}[_0x3b5735(0x1da)](_0x16a762){}['onRecvSysMsg'](_0x1c2ddb){}['onRecvUDCFlag'](_0x19db67){}[_0x3b5735(0x1de)](_0x4739c5){}[_0x3b5735(0x1c9)](_0x5defdc){}[_0x3b5735(0x1d3)](_0x190ac7){}[_0x3b5735(0x1e6)](_0x552abf){}[_0x3b5735(0x1e9)](_0x205ef0,_0x4f403e,_0x10265a,_0x26a2e6){}[_0x3b5735(0x1f2)](_0x252406,_0x9acefb,_0x2a00ab,_0x5da42e){}[_0x3b5735(0x1fa)](_0x23c982){}['onUnreadCntAfterFirstView'](_0x486bb3){}[_0x3b5735(0x1c5)](_0x360a02){}[_0x3b5735(0x1e7)](_0x515aba){}[_0x3b5735(0x1ec)](_0x3ab2c3){}['onUserTabStatusChanged'](_0x55a846){}[_0x3b5735(0x1dc)](_0x3f448d,_0x18343c,_0x34e1b1){}[_0x3b5735(0x1fe)](_0x32a867,_0x94f92a,_0xd54765){}[_0x3b5735(0x1d6)](..._0x79b642){}[_0x3b5735(0x1c6)](..._0x143c69){}[_0x3b5735(0x1f9)](..._0x307f83){}[_0x3b5735(0x1ea)](..._0x15b35f){}} \ 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 ea4b234a..530ad572 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x189d21=_0x1bbc;(function(_0x4294cd,_0x389f25){var _0x34714f=_0x1bbc,_0x315679=_0x4294cd();while(!![]){try{var _0xc61c79=parseInt(_0x34714f(0xa4))/0x1*(parseInt(_0x34714f(0xa8))/0x2)+-parseInt(_0x34714f(0x9e))/0x3+-parseInt(_0x34714f(0xa7))/0x4*(-parseInt(_0x34714f(0xaa))/0x5)+parseInt(_0x34714f(0xa1))/0x6+parseInt(_0x34714f(0x9f))/0x7+parseInt(_0x34714f(0xa2))/0x8+-parseInt(_0x34714f(0xa9))/0x9*(parseInt(_0x34714f(0xa6))/0xa);if(_0xc61c79===_0x389f25)break;else _0x315679['push'](_0x315679['shift']());}catch(_0x384b53){_0x315679['push'](_0x315679['shift']());}}}(_0x49a7,0x3260e));function _0x49a7(){var _0x3325fc=['onSelfStatusChanged','20oyTgzE','4932KwDrEM','19342eYXQpw','3796263EAooTP','755qqAyzl','onProfileSimpleChanged','204645jCvwaj','2648982zxCMZf','onProfileDetailInfoChanged','887850wNSstL','2548448OrfIxO','onStatusUpdate','9kshEef'];_0x49a7=function(){return _0x3325fc;};return _0x49a7();}function _0x1bbc(_0x3588c2,_0x4f2d0e){var _0x49a7da=_0x49a7();return _0x1bbc=function(_0x1bbc11,_0x18d77b){_0x1bbc11=_0x1bbc11-0x9e;var _0x58d4d4=_0x49a7da[_0x1bbc11];return _0x58d4d4;},_0x1bbc(_0x3588c2,_0x4f2d0e);}export class ProfileListener{[_0x189d21(0xab)](..._0x141883){}[_0x189d21(0xa0)](_0x1285a4){}[_0x189d21(0xa3)](..._0x258de4){}[_0x189d21(0xa5)](..._0x3cebc4){}['onStrangerRemarkChanged'](..._0x29ed57){}} \ No newline at end of file +var _0x5c1985=_0x2c86;function _0x2c86(_0xdc7071,_0x551679){var _0x4316e0=_0x4316();return _0x2c86=function(_0x2c86a3,_0x219b59){_0x2c86a3=_0x2c86a3-0x1b2;var _0x3d387a=_0x4316e0[_0x2c86a3];return _0x3d387a;},_0x2c86(_0xdc7071,_0x551679);}(function(_0x466940,_0x32a9ea){var _0x30e76b=_0x2c86,_0x46c39f=_0x466940();while(!![]){try{var _0x1c811c=-parseInt(_0x30e76b(0x1b5))/0x1+-parseInt(_0x30e76b(0x1b3))/0x2*(-parseInt(_0x30e76b(0x1bc))/0x3)+-parseInt(_0x30e76b(0x1b9))/0x4*(-parseInt(_0x30e76b(0x1b4))/0x5)+-parseInt(_0x30e76b(0x1b7))/0x6*(parseInt(_0x30e76b(0x1b6))/0x7)+-parseInt(_0x30e76b(0x1b2))/0x8*(parseInt(_0x30e76b(0x1c0))/0x9)+parseInt(_0x30e76b(0x1c1))/0xa+-parseInt(_0x30e76b(0x1bd))/0xb;if(_0x1c811c===_0x32a9ea)break;else _0x46c39f['push'](_0x46c39f['shift']());}catch(_0x3fd6e0){_0x46c39f['push'](_0x46c39f['shift']());}}}(_0x4316,0x9d92a));function _0x4316(){var _0x34b838=['1512IKgIab','130022IKQVqZ','495yCSshq','345460aysHWc','7SFhFli','619386auncaF','onSelfStatusChanged','33728NjuSkK','onProfileSimpleChanged','onProfileDetailInfoChanged','33AKYYUI','4717988QeosbI','onStatusUpdate','onStrangerRemarkChanged','39348woyKsl','7994360CgwfpK'];_0x4316=function(){return _0x34b838;};return _0x4316();}export class ProfileListener{[_0x5c1985(0x1ba)](..._0x134180){}[_0x5c1985(0x1bb)](_0x1ad2f8){}[_0x5c1985(0x1be)](..._0x2334a8){}[_0x5c1985(0x1b8)](..._0x4a4204){}[_0x5c1985(0x1bf)](..._0x169a82){}} \ 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 24868cd7..11f92e2c 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x496a(){var _0x3ef6eb=['onRobotListChanged','200732vRGMdM','619TPJdvX','6222usAYKC','1551352KxHJeT','44973DttHab','718ChNmgi','onRobotFriendListChanged','637932oYJARy','340SCuFYe','190EBQLNZ','91632XyMnla','onRobotProfileChanged'];_0x496a=function(){return _0x3ef6eb;};return _0x496a();}function _0x3fb5(_0x5dce5a,_0xff088e){var _0x496acd=_0x496a();return _0x3fb5=function(_0x3fb51b,_0xf117fc){_0x3fb51b=_0x3fb51b-0xee;var _0x147d03=_0x496acd[_0x3fb51b];return _0x147d03;},_0x3fb5(_0x5dce5a,_0xff088e);}var _0x481947=_0x3fb5;(function(_0x64b374,_0x43744c){var _0x2ce3f5=_0x3fb5,_0x200e97=_0x64b374();while(!![]){try{var _0x5c776b=-parseInt(_0x2ce3f5(0xf5))/0x1*(-parseInt(_0x2ce3f5(0xf9))/0x2)+parseInt(_0x2ce3f5(0xee))/0x3+-parseInt(_0x2ce3f5(0xf1))/0x4+parseInt(_0x2ce3f5(0xef))/0x5*(-parseInt(_0x2ce3f5(0xf6))/0x6)+parseInt(_0x2ce3f5(0xf4))/0x7+-parseInt(_0x2ce3f5(0xf7))/0x8+-parseInt(_0x2ce3f5(0xf8))/0x9*(-parseInt(_0x2ce3f5(0xf0))/0xa);if(_0x5c776b===_0x43744c)break;else _0x200e97['push'](_0x200e97['shift']());}catch(_0x405905){_0x200e97['push'](_0x200e97['shift']());}}}(_0x496a,0x42325));export class KernelRobotListener{[_0x481947(0xfa)](..._0x2d51ac){}[_0x481947(0xf3)](..._0x2c18ac){}[_0x481947(0xf2)](..._0x1a34ec){}} \ No newline at end of file +var _0x492ace=_0x1c47;function _0x1c47(_0x1ca921,_0x4ac5b7){var _0x37e5f6=_0x37e5();return _0x1c47=function(_0x1c47ea,_0x4c6d16){_0x1c47ea=_0x1c47ea-0x9a;var _0x1179c8=_0x37e5f6[_0x1c47ea];return _0x1179c8;},_0x1c47(_0x1ca921,_0x4ac5b7);}function _0x37e5(){var _0x5202df=['724252tdjeVh','1856760bRCHaH','8182104ubZAQo','15KmDNAp','onRobotListChanged','22571470NQPaaA','onRobotProfileChanged','9TOTsef','onRobotFriendListChanged','671148DsKQVY','8123535XGGASL','2DzBtUZ','2448114VqIcSt'];_0x37e5=function(){return _0x5202df;};return _0x37e5();}(function(_0x468289,_0x4f30f8){var _0x23a685=_0x1c47,_0x2e1e4f=_0x468289();while(!![]){try{var _0x17b026=parseInt(_0x23a685(0x9d))/0x1*(parseInt(_0x23a685(0x9b))/0x2)+parseInt(_0x23a685(0x9c))/0x3+-parseInt(_0x23a685(0x9e))/0x4*(-parseInt(_0x23a685(0xa0))/0x5)+parseInt(_0x23a685(0xa6))/0x6+parseInt(_0x23a685(0x9a))/0x7+-parseInt(_0x23a685(0x9f))/0x8+-parseInt(_0x23a685(0xa4))/0x9*(parseInt(_0x23a685(0xa2))/0xa);if(_0x17b026===_0x4f30f8)break;else _0x2e1e4f['push'](_0x2e1e4f['shift']());}catch(_0x39ad15){_0x2e1e4f['push'](_0x2e1e4f['shift']());}}}(_0x37e5,0xe1e81));export class KernelRobotListener{[_0x492ace(0xa5)](..._0x2a60e0){}[_0x492ace(0xa1)](..._0x4ab939){}[_0x492ace(0xa3)](..._0x8585f7){}} \ 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 c2a13e48..7685b4d3 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x2caec2=_0x20c9;(function(_0x26319d,_0x273e84){var _0xfe7832=_0x20c9,_0x1a1c83=_0x26319d();while(!![]){try{var _0x185967=parseInt(_0xfe7832(0x6d))/0x1+parseInt(_0xfe7832(0x70))/0x2+-parseInt(_0xfe7832(0x77))/0x3*(parseInt(_0xfe7832(0x72))/0x4)+parseInt(_0xfe7832(0x73))/0x5+-parseInt(_0xfe7832(0x74))/0x6*(-parseInt(_0xfe7832(0x78))/0x7)+-parseInt(_0xfe7832(0x71))/0x8*(-parseInt(_0xfe7832(0x6f))/0x9)+-parseInt(_0xfe7832(0x6c))/0xa;if(_0x185967===_0x273e84)break;else _0x1a1c83['push'](_0x1a1c83['shift']());}catch(_0x3a3a57){_0x1a1c83['push'](_0x1a1c83['shift']());}}}(_0x4073,0xbdefd));function _0x20c9(_0x17ff34,_0x2298cf){var _0x4073e1=_0x4073();return _0x20c9=function(_0x20c970,_0x5e92e5){_0x20c970=_0x20c970-0x6b;var _0x26087b=_0x4073e1[_0x20c970];return _0x26087b;},_0x20c9(_0x17ff34,_0x2298cf);}function _0x4073(){var _0x4dc578=['63jQsPVF','21ViTSZx','onGProSessionCreate','onOpentelemetryInit','38891610RwcZYv','1233224MimbrU','onNTSessionCreate','4833hijqxW','2560326LKAouC','15664gqJTkb','68296zydFJG','7045085OLUFcd','103692GkSlCr','onGetSelfTinyId','onUserOnlineResult'];_0x4073=function(){return _0x4dc578;};return _0x4073();}export class SessionListener{[_0x2caec2(0x6e)](_0x2c7001){}[_0x2caec2(0x79)](_0x2f05bc){}['onSessionInitComplete'](_0x4ed701){}[_0x2caec2(0x6b)](_0x5688c1){}[_0x2caec2(0x76)](_0x5afee5){}[_0x2caec2(0x75)](_0x58df9a){}} \ No newline at end of file +var _0x2a1312=_0x3dd0;(function(_0x26c231,_0x5784ca){var _0xe12424=_0x3dd0,_0x5751e5=_0x26c231();while(!![]){try{var _0x1f57a9=-parseInt(_0xe12424(0x1cb))/0x1+parseInt(_0xe12424(0x1ca))/0x2*(-parseInt(_0xe12424(0x1cf))/0x3)+parseInt(_0xe12424(0x1c8))/0x4+parseInt(_0xe12424(0x1d3))/0x5*(-parseInt(_0xe12424(0x1cc))/0x6)+-parseInt(_0xe12424(0x1ce))/0x7*(parseInt(_0xe12424(0x1d0))/0x8)+parseInt(_0xe12424(0x1c9))/0x9+parseInt(_0xe12424(0x1d5))/0xa*(parseInt(_0xe12424(0x1d4))/0xb);if(_0x1f57a9===_0x5784ca)break;else _0x5751e5['push'](_0x5751e5['shift']());}catch(_0x1df9ad){_0x5751e5['push'](_0x5751e5['shift']());}}}(_0x21cc,0x90903));function _0x21cc(){var _0x27d52d=['2047570Cgeeiy','onNTSessionCreate','332168ZMLaCJ','2132964FMmzye','844546yYoTlY','487072MWdROz','18EYZwZd','onOpentelemetryInit','2300333GxfUrl','3dYEWse','24tdUqfR','onSessionInitComplete','onUserOnlineResult','1165505UdiIpC','154LjEWxy'];_0x21cc=function(){return _0x27d52d;};return _0x21cc();}function _0x3dd0(_0x6a222e,_0x3cbf96){var _0x21cc92=_0x21cc();return _0x3dd0=function(_0x3dd078,_0x1c483){_0x3dd078=_0x3dd078-0x1c8;var _0x3527be=_0x21cc92[_0x3dd078];return _0x3527be;},_0x3dd0(_0x6a222e,_0x3cbf96);}export class SessionListener{[_0x2a1312(0x1d6)](_0x12f6d9){}['onGProSessionCreate'](_0x5d962e){}[_0x2a1312(0x1d1)](_0x1d74fa){}[_0x2a1312(0x1cd)](_0xf09f03){}[_0x2a1312(0x1d2)](_0x14de35){}['onGetSelfTinyId'](_0x47518c){}} \ 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 f235e8f2..ff88c3c8 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x3b05a3=_0x5e95;function _0x5e95(_0x2ea46c,_0x2281ed){var _0xc76154=_0xc761();return _0x5e95=function(_0x5e95d8,_0x3c4dab){_0x5e95d8=_0x5e95d8-0x152;var _0x1a3220=_0xc76154[_0x5e95d8];return _0x1a3220;},_0x5e95(_0x2ea46c,_0x2281ed);}(function(_0x11642b,_0x5b0593){var _0xde1a04=_0x5e95,_0x46e944=_0x11642b();while(!![]){try{var _0x4c7903=parseInt(_0xde1a04(0x15c))/0x1+-parseInt(_0xde1a04(0x156))/0x2*(parseInt(_0xde1a04(0x158))/0x3)+-parseInt(_0xde1a04(0x15d))/0x4+parseInt(_0xde1a04(0x15a))/0x5*(parseInt(_0xde1a04(0x153))/0x6)+parseInt(_0xde1a04(0x15b))/0x7+parseInt(_0xde1a04(0x15e))/0x8+-parseInt(_0xde1a04(0x157))/0x9;if(_0x4c7903===_0x5b0593)break;else _0x46e944['push'](_0x46e944['shift']());}catch(_0x318388){_0x46e944['push'](_0x46e944['shift']());}}}(_0xc761,0x42329));function _0xc761(){var _0x84396=['3874SoOMNC','2697606vCoIkq','39jCrwaZ','onCleanCacheProgressChanged','35925BOzmRD','1218007QFbhsD','362025IOEGcp','445700VrrbcW','1084272yEyENV','onFinishScan','30xgBbBk','onCleanCacheStorageChanged','onScanCacheProgressChanged'];_0xc761=function(){return _0x84396;};return _0xc761();}export class StorageCleanListener{[_0x3b05a3(0x159)](_0x23d32f){}[_0x3b05a3(0x155)](_0x5d58fd){}[_0x3b05a3(0x154)](_0x20a3ef){}[_0x3b05a3(0x152)](_0xdca10e){}['onChatCleanDone'](_0x1fc83e){}} \ No newline at end of file +var _0x40d897=_0x2294;function _0x2294(_0x2c9394,_0x15078d){var _0x3c63b5=_0x3c63();return _0x2294=function(_0x2294bb,_0xf3d099){_0x2294bb=_0x2294bb-0x76;var _0x3b0211=_0x3c63b5[_0x2294bb];return _0x3b0211;},_0x2294(_0x2c9394,_0x15078d);}function _0x3c63(){var _0x4e8d43=['14864qSMrUo','260kQMLkW','9809290KNgksR','41488704kVFAAS','onCleanCacheStorageChanged','240WLioRN','205914AHDMQd','onScanCacheProgressChanged','7806407OExevf','82926fdyRzI','onFinishScan','3GbhIIV','198aOkDxk','onCleanCacheProgressChanged','11ehPCZz','491432myJqKk'];_0x3c63=function(){return _0x4e8d43;};return _0x3c63();}(function(_0x1ab016,_0x4ef9b8){var _0x1af429=_0x2294,_0x5298d7=_0x1ab016();while(!![]){try{var _0x22ac0f=-parseInt(_0x1af429(0x7c))/0x1*(parseInt(_0x1af429(0x77))/0x2)+-parseInt(_0x1af429(0x76))/0x3*(-parseInt(_0x1af429(0x81))/0x4)+parseInt(_0x1af429(0x82))/0x5*(parseInt(_0x1af429(0x7a))/0x6)+parseInt(_0x1af429(0x79))/0x7+-parseInt(_0x1af429(0x80))/0x8*(-parseInt(_0x1af429(0x7d))/0x9)+-parseInt(_0x1af429(0x83))/0xa*(-parseInt(_0x1af429(0x7f))/0xb)+-parseInt(_0x1af429(0x84))/0xc;if(_0x22ac0f===_0x4ef9b8)break;else _0x5298d7['push'](_0x5298d7['shift']());}catch(_0x32db59){_0x5298d7['push'](_0x5298d7['shift']());}}}(_0x3c63,0xaa3bd));export class StorageCleanListener{[_0x40d897(0x7e)](_0x10d748){}[_0x40d897(0x78)](_0x4555d9){}[_0x40d897(0x85)](_0x1c0843){}[_0x40d897(0x7b)](_0x53ca60){}['onChatCleanDone'](_0x35c8c4){}} \ 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 df7079d3..057b0290 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x5c89(){var _0x4591a7=['10fesyOw','1875184nyvtQV','948122PurhsD','507843xGLHzi','30rldmVQ','18FqbEih','1017559CWGrmk','10VRvNET','139388IBFbLc','1018897xpdNFY','420692LQDRAi'];_0x5c89=function(){return _0x4591a7;};return _0x5c89();}(function(_0x1c61cd,_0x518171){var _0x3f81df=_0x5d83,_0x212b81=_0x1c61cd();while(!![]){try{var _0x1fd10a=-parseInt(_0x3f81df(0x17c))/0x1+-parseInt(_0x3f81df(0x173))/0x2*(-parseInt(_0x3f81df(0x17a))/0x3)+parseInt(_0x3f81df(0x175))/0x4*(parseInt(_0x3f81df(0x176))/0x5)+parseInt(_0x3f81df(0x17b))/0x6*(parseInt(_0x3f81df(0x178))/0x7)+parseInt(_0x3f81df(0x177))/0x8+-parseInt(_0x3f81df(0x179))/0x9*(parseInt(_0x3f81df(0x172))/0xa)+parseInt(_0x3f81df(0x174))/0xb;if(_0x1fd10a===_0x518171)break;else _0x212b81['push'](_0x212b81['shift']());}catch(_0xeac652){_0x212b81['push'](_0x212b81['shift']());}}}(_0x5c89,0x8a587));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x5d83(_0x5877af,_0x1ef650){var _0x5c893f=_0x5c89();return _0x5d83=function(_0x5d837b,_0x53c028){_0x5d837b=_0x5d837b-0x172;var _0x5db9de=_0x5c893f[_0x5d837b];return _0x5db9de;},_0x5d83(_0x5877af,_0x1ef650);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x36ba01,_0x5e6753){var _0x29cb7d=_0x35ef,_0xb1a01f=_0x36ba01();while(!![]){try{var _0x2de8e6=parseInt(_0x29cb7d(0x147))/0x1+parseInt(_0x29cb7d(0x143))/0x2+parseInt(_0x29cb7d(0x145))/0x3+-parseInt(_0x29cb7d(0x149))/0x4*(-parseInt(_0x29cb7d(0x144))/0x5)+-parseInt(_0x29cb7d(0x14b))/0x6+parseInt(_0x29cb7d(0x14a))/0x7*(-parseInt(_0x29cb7d(0x148))/0x8)+-parseInt(_0x29cb7d(0x146))/0x9;if(_0x2de8e6===_0x5e6753)break;else _0xb1a01f['push'](_0xb1a01f['shift']());}catch(_0x493459){_0xb1a01f['push'](_0xb1a01f['shift']());}}}(_0x264a,0x3f165));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x264a(){var _0x455864=['20260yKBmUv','1472359gXHkZA','1873098DOxjVN','995782QikRyK','155mDbPbv','719232vtJbqa','4877928pgRpgi','428267pifdYe','8mVmXeP'];_0x264a=function(){return _0x455864;};return _0x264a();}export*from'./NodeIKernelTicketListener';function _0x35ef(_0xb4142a,_0x5eaf80){var _0x264a08=_0x264a();return _0x35ef=function(_0x35eff9,_0x520865){_0x35eff9=_0x35eff9-0x143;var _0x45f62b=_0x264a08[_0x35eff9];return _0x45f62b;},_0x35ef(_0xb4142a,_0x5eaf80);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index dc01f1ce..8ecbd6b6 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x5ede(_0x3088b6,_0x23f750){var _0x3e2778=_0x3e27();return _0x5ede=function(_0x5eded4,_0x2fd4ff){_0x5eded4=_0x5eded4-0xea;var _0x497fbd=_0x3e2778[_0x5eded4];return _0x497fbd;},_0x5ede(_0x3088b6,_0x23f750);}function _0x3e27(){var _0xc7c6a6=['11IVCyUD','5ShSQdy','1224PalfJL','377436kWjifO','3124866CPmDgK','52738548mOPfpw','162356CvEzkA','11161610Brzdiz','1995990vwipXa','9XfnbAU','25893JJluIE','39HoJfYg'];_0x3e27=function(){return _0xc7c6a6;};return _0x3e27();}(function(_0x36f513,_0x23d882){var _0x28fb6e=_0x5ede,_0x392c48=_0x36f513();while(!![]){try{var _0x4c77e2=-parseInt(_0x28fb6e(0xf4))/0x1+-parseInt(_0x28fb6e(0xf5))/0x2+parseInt(_0x28fb6e(0xf0))/0x3*(parseInt(_0x28fb6e(0xeb))/0x4)+-parseInt(_0x28fb6e(0xf2))/0x5*(parseInt(_0x28fb6e(0xed))/0x6)+parseInt(_0x28fb6e(0xef))/0x7*(-parseInt(_0x28fb6e(0xf3))/0x8)+-parseInt(_0x28fb6e(0xee))/0x9*(parseInt(_0x28fb6e(0xec))/0xa)+parseInt(_0x28fb6e(0xf1))/0xb*(parseInt(_0x28fb6e(0xea))/0xc);if(_0x4c77e2===_0x23d882)break;else _0x392c48['push'](_0x392c48['shift']());}catch(_0x3e6f37){_0x392c48['push'](_0x392c48['shift']());}}}(_0x3e27,0xec4d6)); \ No newline at end of file +'use strict';(function(_0xff25cc,_0x24a884){var _0x2de792=_0x4392,_0x141234=_0xff25cc();while(!![]){try{var _0x24bdbe=parseInt(_0x2de792(0x1ee))/0x1*(parseInt(_0x2de792(0x1ed))/0x2)+parseInt(_0x2de792(0x1e9))/0x3*(-parseInt(_0x2de792(0x1f0))/0x4)+parseInt(_0x2de792(0x1ea))/0x5*(parseInt(_0x2de792(0x1f2))/0x6)+-parseInt(_0x2de792(0x1e6))/0x7*(-parseInt(_0x2de792(0x1e5))/0x8)+parseInt(_0x2de792(0x1e7))/0x9*(-parseInt(_0x2de792(0x1ec))/0xa)+-parseInt(_0x2de792(0x1eb))/0xb*(-parseInt(_0x2de792(0x1f1))/0xc)+parseInt(_0x2de792(0x1ef))/0xd*(-parseInt(_0x2de792(0x1e8))/0xe);if(_0x24bdbe===_0x24a884)break;else _0x141234['push'](_0x141234['shift']());}catch(_0x3eea8e){_0x141234['push'](_0x141234['shift']());}}}(_0x4a94,0xb5354));function _0x4392(_0x3032ab,_0x3c8289){var _0x4a9490=_0x4a94();return _0x4392=function(_0x439225,_0x35d5c6){_0x439225=_0x439225-0x1e5;var _0x4c9e2a=_0x4a9490[_0x439225];return _0x4c9e2a;},_0x4392(_0x3032ab,_0x3c8289);}function _0x4a94(){var _0x54cb40=['1731654ZsPbIO','224824HyjYgR','217azfKLN','9lEvkfQ','10096394DUcjZo','826869SKnnfv','25vAjHAt','22LUKSss','6824630VNkpTe','2NdIlwI','159178wGAccP','26dmSWRh','12VtFeAE','7322916abBFqZ'];_0x4a94=function(){return _0x54cb40;};return _0x4a94();} \ 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 2d329034..f3cb36b1 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x2f65(_0x5434b6,_0x12946c){var _0x5f3446=_0x5f34();return _0x2f65=function(_0x2f65bc,_0x4bdba7){_0x2f65bc=_0x2f65bc-0xb3;var _0x551908=_0x5f3446[_0x2f65bc];return _0x551908;},_0x2f65(_0x5434b6,_0x12946c);}(function(_0x217405,_0x266672){var _0x57ccbd=_0x2f65,_0x3546bd=_0x217405();while(!![]){try{var _0x1bf1af=-parseInt(_0x57ccbd(0xbd))/0x1*(-parseInt(_0x57ccbd(0xb5))/0x2)+parseInt(_0x57ccbd(0xb8))/0x3*(parseInt(_0x57ccbd(0xb9))/0x4)+parseInt(_0x57ccbd(0xb6))/0x5*(-parseInt(_0x57ccbd(0xb4))/0x6)+-parseInt(_0x57ccbd(0xbc))/0x7+parseInt(_0x57ccbd(0xb3))/0x8*(-parseInt(_0x57ccbd(0xbe))/0x9)+-parseInt(_0x57ccbd(0xba))/0xa+-parseInt(_0x57ccbd(0xb7))/0xb*(-parseInt(_0x57ccbd(0xbb))/0xc);if(_0x1bf1af===_0x266672)break;else _0x3546bd['push'](_0x3546bd['shift']());}catch(_0x2f501c){_0x3546bd['push'](_0x3546bd['shift']());}}}(_0x5f34,0x71187));export var GeneralCallResultStatus;(function(_0x4eef87){_0x4eef87[_0x4eef87['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x5f34(){var _0x2bc9e8=['3245660KFvfrv','6080376ZOaRew','5457319BVgHKr','1nICPpk','6003243KnubUP','8RaBwyv','3475458ZQIpAi','312482NTYaXl','5JnXpEE','55TUtWcH','3291BUzZtb','452jYgwfj'];_0x5f34=function(){return _0x2bc9e8;};return _0x5f34();} \ No newline at end of file +(function(_0x191bde,_0x16ff97){var _0x478d11=_0x7caf,_0x4ecdb4=_0x191bde();while(!![]){try{var _0x33e8ac=-parseInt(_0x478d11(0xb3))/0x1*(parseInt(_0x478d11(0xb5))/0x2)+-parseInt(_0x478d11(0xb8))/0x3*(parseInt(_0x478d11(0xbb))/0x4)+parseInt(_0x478d11(0xba))/0x5*(parseInt(_0x478d11(0xb9))/0x6)+-parseInt(_0x478d11(0xb7))/0x7+parseInt(_0x478d11(0xb0))/0x8*(parseInt(_0x478d11(0xb1))/0x9)+parseInt(_0x478d11(0xb2))/0xa*(-parseInt(_0x478d11(0xb6))/0xb)+-parseInt(_0x478d11(0xb4))/0xc;if(_0x33e8ac===_0x16ff97)break;else _0x4ecdb4['push'](_0x4ecdb4['shift']());}catch(_0x553bae){_0x4ecdb4['push'](_0x4ecdb4['shift']());}}}(_0x2bee,0x64b8c));export var GeneralCallResultStatus;function _0x7caf(_0x841874,_0x3f03eb){var _0x2bee5b=_0x2bee();return _0x7caf=function(_0x7caf9d,_0x26f944){_0x7caf9d=_0x7caf9d-0xb0;var _0x42fca1=_0x2bee5b[_0x7caf9d];return _0x42fca1;},_0x7caf(_0x841874,_0x3f03eb);}(function(_0x417892){_0x417892[_0x417892['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x2bee(){var _0xa120ea=['6dEMriN','3793970mkJMrh','3056oIggQE','624AoHmGw','65061LTGIly','1390KjJDUZ','11ncsCKD','1841148vulWgh','21558NplSgR','10714VFgrfW','802228Pbubtc','1524BnwmGs'];_0x2bee=function(){return _0xa120ea;};return _0x2bee();} \ 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 16322283..3a9a273f 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x499dec,_0xb9a3b){var _0x2b053a=_0x5e96,_0x57c8ab=_0x499dec();while(!![]){try{var _0x4bb61a=parseInt(_0x2b053a(0x89))/0x1+parseInt(_0x2b053a(0x8b))/0x2+parseInt(_0x2b053a(0x8e))/0x3*(parseInt(_0x2b053a(0x8a))/0x4)+-parseInt(_0x2b053a(0x8c))/0x5+parseInt(_0x2b053a(0x88))/0x6+-parseInt(_0x2b053a(0x87))/0x7+parseInt(_0x2b053a(0x8f))/0x8*(-parseInt(_0x2b053a(0x8d))/0x9);if(_0x4bb61a===_0xb9a3b)break;else _0x57c8ab['push'](_0x57c8ab['shift']());}catch(_0x38242d){_0x57c8ab['push'](_0x57c8ab['shift']());}}}(_0x5329,0xcfe9d));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x5e96(_0x17b100,_0x3bfb29){var _0x53297d=_0x5329();return _0x5e96=function(_0x5e96c1,_0xe5d736){_0x5e96c1=_0x5e96c1-0x87;var _0x589c7e=_0x53297d[_0x5e96c1];return _0x589c7e;},_0x5e96(_0x17b100,_0x3bfb29);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x5329(){var _0x335105=['2555770kpNpWM','1810182POkSqz','1304019fIIWgc','8dEXMvZ','1229868DnawXn','5157610MHYfcQ','3771PimtPx','89787PKqKfO','616SqKjWw'];_0x5329=function(){return _0x335105;};return _0x5329();}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x32a5c5,_0x166018){var _0x14cf03=_0x5a9c,_0x142b22=_0x32a5c5();while(!![]){try{var _0x42c2c4=parseInt(_0x14cf03(0x170))/0x1*(parseInt(_0x14cf03(0x177))/0x2)+parseInt(_0x14cf03(0x178))/0x3+-parseInt(_0x14cf03(0x16f))/0x4+parseInt(_0x14cf03(0x175))/0x5*(-parseInt(_0x14cf03(0x172))/0x6)+parseInt(_0x14cf03(0x176))/0x7+parseInt(_0x14cf03(0x174))/0x8*(-parseInt(_0x14cf03(0x171))/0x9)+parseInt(_0x14cf03(0x173))/0xa;if(_0x42c2c4===_0x166018)break;else _0x142b22['push'](_0x142b22['shift']());}catch(_0x33d10b){_0x142b22['push'](_0x142b22['shift']());}}}(_0x5e10,0x84c25));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x5e10(){var _0x4157ba=['4228777dsTNXM','374TQGCWD','590145slhaQu','603496jkhOcC','704OdZWOO','18846FyeALN','194814WBdcDk','13885200SNjLPr','2616YvgvaZ','145UenBEe'];_0x5e10=function(){return _0x4157ba;};return _0x5e10();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x5a9c(_0x14acd2,_0x200a85){var _0x5e1076=_0x5e10();return _0x5a9c=function(_0x5a9c55,_0x22b0e1){_0x5a9c55=_0x5a9c55-0x16f;var _0x4ca402=_0x5e1076[_0x5a9c55];return _0x4ca402;},_0x5a9c(_0x14acd2,_0x200a85);}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 2dd4b018..18d923b6 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x3757df,_0x552dbc){var _0x2d43a8=_0x3d82,_0x7cb9ed=_0x3757df();while(!![]){try{var _0x4ee01a=parseInt(_0x2d43a8(0x1c6))/0x1+parseInt(_0x2d43a8(0x1c0))/0x2*(-parseInt(_0x2d43a8(0x1d8))/0x3)+parseInt(_0x2d43a8(0x1c1))/0x4*(-parseInt(_0x2d43a8(0x1e4))/0x5)+parseInt(_0x2d43a8(0x1e0))/0x6+-parseInt(_0x2d43a8(0x1d6))/0x7*(-parseInt(_0x2d43a8(0x1dd))/0x8)+parseInt(_0x2d43a8(0x1c4))/0x9*(-parseInt(_0x2d43a8(0x1bc))/0xa)+-parseInt(_0x2d43a8(0x1da))/0xb*(parseInt(_0x2d43a8(0x1c7))/0xc);if(_0x4ee01a===_0x552dbc)break;else _0x7cb9ed['push'](_0x7cb9ed['shift']());}catch(_0x52c8ee){_0x7cb9ed['push'](_0x7cb9ed['shift']());}}}(_0x27e0,0x96da0));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5a4093 from'node:path';function _0x3d82(_0xacab23,_0x84c926){var _0x27e010=_0x27e0();return _0x3d82=function(_0x3d824a,_0x530ec8){_0x3d824a=_0x3d824a-0x1ba;var _0x54914b=_0x27e010[_0x3d824a];return _0x54914b;},_0x3d82(_0xacab23,_0x84c926);}function _0x27e0(){var _0xd7c7e3=['1538358KvceaP','KWINDOWS','KSUPPORTGOOGLEPUSH','curVersion','247985EMNwrb','dMvOf','KPHONE','KUNSUPPORTANDROIDPUSH','734790jiELYu','KSUPPORTHMS','gARgx','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','95526PMmItI','36mHvxKL','nKdfN','mJHOs','9rWPGqV','temp','1100755RcPplB','12fxPcuI','KCOMPUTER','KSUPPORTTPNS','sxZOJ','version','NapCat','KMAC','AeJbc','rWwDS','nzwxl','KSUPPORTOPPOPUSH','mkdirSync','SxRHo','mFCIe','KPAD','3894121UpsrCx','KIOS','21PaMZwW','KANDROID','4855070CmnvtO','wAyvm','iKMJR','8aSMmuN','assign','lYklA'];_0x27e0=function(){return _0xd7c7e3;};return _0x27e0();}import _0x31c86e from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x26e74e){var _0x228efb=_0x3d82,_0x329fbb={'mJHOs':'KUNKNOWN','iKMJR':_0x228efb(0x1d7),'lYklA':_0x228efb(0x1e1)};_0x26e74e[_0x26e74e[_0x329fbb[_0x228efb(0x1c3)]]=0x0]=_0x329fbb[_0x228efb(0x1c3)],_0x26e74e[_0x26e74e[_0x228efb(0x1d9)]=0x1]='KANDROID',_0x26e74e[_0x26e74e[_0x329fbb[_0x228efb(0x1dc)]]=0x2]=_0x329fbb[_0x228efb(0x1dc)],_0x26e74e[_0x26e74e[_0x329fbb['lYklA']]=0x3]=_0x329fbb[_0x228efb(0x1df)],_0x26e74e[_0x26e74e['KMAC']=0x4]=_0x228efb(0x1cd);}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x4180bd){var _0x19fd3d=_0x3d82,_0x1dc787={'AeJbc':'KUNKNOWN','FeNvU':_0x19fd3d(0x1ba),'kfQgR':_0x19fd3d(0x1d5),'nzwxl':_0x19fd3d(0x1c8)};_0x4180bd[_0x4180bd[_0x1dc787[_0x19fd3d(0x1ce)]]=0x0]=_0x1dc787[_0x19fd3d(0x1ce)],_0x4180bd[_0x4180bd[_0x1dc787['FeNvU']]=0x1]='KPHONE',_0x4180bd[_0x4180bd[_0x1dc787['kfQgR']]=0x2]=_0x1dc787['kfQgR'],_0x4180bd[_0x4180bd[_0x1dc787[_0x19fd3d(0x1d0)]]=0x3]=_0x1dc787[_0x19fd3d(0x1d0)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x4335c6){var _0x313d34=_0x3d82,_0x227c4d={'rWwDS':'2|6|4|1|3|5|0','lusBM':_0x313d34(0x1bb),'SxRHo':_0x313d34(0x1d1),'sxZOJ':'KNOSETONIOS','wAyvm':_0x313d34(0x1c9),'nKdfN':_0x313d34(0x1bd),'gARgx':'KSUPPORTVIVOPUSH','dMvOf':_0x313d34(0x1e2)},_0x32f934=_0x227c4d[_0x313d34(0x1cf)]['split']('|'),_0x11256d=0x0;while(!![]){switch(_0x32f934[_0x11256d++]){case'0':_0x4335c6[_0x4335c6[_0x227c4d['lusBM']]=0x1]=_0x227c4d['lusBM'];continue;case'1':_0x4335c6[_0x4335c6[_0x313d34(0x1d1)]=0x4]=_0x227c4d[_0x313d34(0x1d3)];continue;case'2':_0x4335c6[_0x4335c6[_0x227c4d[_0x313d34(0x1ca)]]=0x0]=_0x227c4d[_0x313d34(0x1ca)];continue;case'3':_0x4335c6[_0x4335c6[_0x227c4d[_0x313d34(0x1db)]]=0x2]=_0x227c4d[_0x313d34(0x1db)];continue;case'4':_0x4335c6[_0x4335c6[_0x227c4d[_0x313d34(0x1c2)]]=0x3]='KSUPPORTHMS';continue;case'5':_0x4335c6[_0x4335c6['KSUPPORTVIVOPUSH']=0x5]=_0x227c4d[_0x313d34(0x1be)];continue;case'6':_0x4335c6[_0x4335c6[_0x227c4d['dMvOf']]=0x63]=_0x227c4d[_0x313d34(0x1e5)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0xc56271,_0x3d24ab,_0x182299){var _0x4b552b=_0x3d82,_0x35f870={'dTTZI':_0x4b552b(0x1cc),'mFCIe':function(_0x353208){return _0x353208();}};const _0x2c7564=_0x5a4093['join'](_0x182299,_0x35f870['dTTZI'],_0x4b552b(0x1c5));_0x31c86e[_0x4b552b(0x1d2)](_0x2c7564,{'recursive':!![]});let _0x4deca1=await _0x35f870[_0x4b552b(0x1d4)](getMachineId);const _0x3b6253={'selfUin':_0xc56271,'selfUid':_0x3d24ab,'desktopPathConfig':{'account_path':_0x182299},'clientVer':qqVersionConfigInfo[_0x4b552b(0x1e3)],'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':_0x2c7564,'deviceInfo':{'guid':_0x4deca1,'buildVer':qqPkgInfo[_0x4b552b(0x1cb)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x4b552b(0x1bf)};return Object[_0x4b552b(0x1de)](sessionConfig,_0x3b6253),_0x3b6253;} \ No newline at end of file +function _0xff0f(){var _0x2ddf5f=['KUNSUPPORTANDROIDPUSH','dtwLV','511759NxhIAz','KSUPPORTTPNS','KIOS','curVersion','NnUYj','gjBZz','KUNKNOWN','KCOMPUTER','2dgGnPM','assign','2|1|3|4|0','KSUPPORTHMS','QAelu','KWINDOWS','5372vLCDJS','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','172098dkKajz','hCQMf','wvPGx','11244YXJsnh','temp','30130236jeFqXg','split','KPAD','gxubw','nLxfU','17817943fEoFgB','KNOSETONIOS','pavSv','NapCat','cIDoD','KSUPPORTOPPOPUSH','sbqyL','uyguR','20BrtGUG','KANDROID','10tyxJbG','KSUPPORTGOOGLEPUSH','caFRy','uldtn','join','eniKT','2|4|0|3|1|6|5','version','2487dMtdQp','pYGnP','267302CDDkOE','OcwVu','KMAC','688PJXDwZ'];_0xff0f=function(){return _0x2ddf5f;};return _0xff0f();}(function(_0x5ca93a,_0x236181){var _0x549bfc=_0xa0e5,_0x311934=_0x5ca93a();while(!![]){try{var _0x310e5f=parseInt(_0x549bfc(0x219))/0x1*(parseInt(_0x549bfc(0x1ed))/0x2)+parseInt(_0x549bfc(0x211))/0x3*(parseInt(_0x549bfc(0x1f3))/0x4)+parseInt(_0x549bfc(0x207))/0x5*(parseInt(_0x549bfc(0x1f8))/0x6)+parseInt(_0x549bfc(0x213))/0x7+parseInt(_0x549bfc(0x216))/0x8*(-parseInt(_0x549bfc(0x1f5))/0x9)+parseInt(_0x549bfc(0x209))/0xa*(-parseInt(_0x549bfc(0x1ff))/0xb)+parseInt(_0x549bfc(0x1fa))/0xc;if(_0x310e5f===_0x236181)break;else _0x311934['push'](_0x311934['shift']());}catch(_0x5a0649){_0x311934['push'](_0x311934['shift']());}}}(_0xff0f,0xdff58));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0xa0e5(_0x40e8ec,_0x4dbdfc){var _0xff0f07=_0xff0f();return _0xa0e5=function(_0xa0e567,_0x562b44){_0xa0e567=_0xa0e567-0x1e7;var _0xdd0951=_0xff0f07[_0xa0e567];return _0xdd0951;},_0xa0e5(_0x40e8ec,_0x4dbdfc);}import _0x1ca535 from'node:path';import _0x18a636 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x37ca61){var _0x16589a=_0xa0e5,_0x46c9ae={'NnUYj':_0x16589a(0x1ef),'wvPGx':_0x16589a(0x215),'gxubw':_0x16589a(0x208),'nLxfU':_0x16589a(0x1eb),'ceJWv':_0x16589a(0x1e7),'cIDoD':_0x16589a(0x1f2)},_0x16994f=_0x46c9ae[_0x16589a(0x1e9)][_0x16589a(0x1fb)]('|'),_0x10b555=0x0;while(!![]){switch(_0x16994f[_0x10b555++]){case'0':_0x37ca61[_0x37ca61[_0x16589a(0x215)]=0x4]=_0x46c9ae[_0x16589a(0x1f7)];continue;case'1':_0x37ca61[_0x37ca61[_0x46c9ae[_0x16589a(0x1fd)]]=0x1]=_0x46c9ae[_0x16589a(0x1fd)];continue;case'2':_0x37ca61[_0x37ca61[_0x46c9ae[_0x16589a(0x1fe)]]=0x0]=_0x16589a(0x1eb);continue;case'3':_0x37ca61[_0x37ca61[_0x16589a(0x1e7)]=0x2]=_0x46c9ae['ceJWv'];continue;case'4':_0x37ca61[_0x37ca61[_0x46c9ae[_0x16589a(0x203)]]=0x3]=_0x46c9ae[_0x16589a(0x203)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x18a6a0){var _0x1a8036=_0xa0e5,_0x132b66={'sbqyL':_0x1a8036(0x1eb),'uldtn':'KPHONE','eKPha':_0x1a8036(0x1fc),'QAelu':_0x1a8036(0x1ec)};_0x18a6a0[_0x18a6a0[_0x132b66[_0x1a8036(0x205)]]=0x0]=_0x1a8036(0x1eb),_0x18a6a0[_0x18a6a0[_0x132b66[_0x1a8036(0x20c)]]=0x1]=_0x132b66[_0x1a8036(0x20c)],_0x18a6a0[_0x18a6a0[_0x132b66['eKPha']]=0x2]=_0x132b66['eKPha'],_0x18a6a0[_0x18a6a0[_0x132b66[_0x1a8036(0x1f1)]]=0x3]=_0x1a8036(0x1ec);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x42db9d){var _0x4ed3ac=_0xa0e5,_0x298be0={'hCQMf':_0x4ed3ac(0x20f),'LjEXE':_0x4ed3ac(0x1f0),'iPKlb':_0x4ed3ac(0x21a),'dtwLV':_0x4ed3ac(0x200),'gjBZz':'KSUPPORTOPPOPUSH','OcwVu':_0x4ed3ac(0x20a),'pavSv':_0x4ed3ac(0x217),'pYGnP':'KSUPPORTVIVOPUSH'},_0x439779=_0x298be0[_0x4ed3ac(0x1f6)]['split']('|'),_0x124528=0x0;while(!![]){switch(_0x439779[_0x124528++]){case'0':_0x42db9d[_0x42db9d[_0x4ed3ac(0x1f0)]=0x3]=_0x298be0['LjEXE'];continue;case'1':_0x42db9d[_0x42db9d[_0x4ed3ac(0x21a)]=0x2]=_0x298be0['iPKlb'];continue;case'2':_0x42db9d[_0x42db9d[_0x298be0['dtwLV']]=0x0]=_0x298be0[_0x4ed3ac(0x218)];continue;case'3':_0x42db9d[_0x42db9d[_0x4ed3ac(0x204)]=0x4]=_0x298be0[_0x4ed3ac(0x1ea)];continue;case'4':_0x42db9d[_0x42db9d[_0x298be0[_0x4ed3ac(0x214)]]=0x63]=_0x298be0[_0x4ed3ac(0x214)];continue;case'5':_0x42db9d[_0x42db9d[_0x4ed3ac(0x217)]=0x1]=_0x298be0[_0x4ed3ac(0x201)];continue;case'6':_0x42db9d[_0x42db9d[_0x298be0[_0x4ed3ac(0x212)]]=0x5]=_0x298be0[_0x4ed3ac(0x212)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x5d2b0f,_0x44dd8c,_0x3f22fe){var _0x424d45=_0xa0e5,_0x5195e2={'caFRy':_0x424d45(0x202),'DTWms':_0x424d45(0x1f9),'eniKT':function(_0x53a191){return _0x53a191();},'uyguR':_0x424d45(0x1f4)};const _0x9efc04=_0x1ca535[_0x424d45(0x20d)](_0x3f22fe,_0x5195e2[_0x424d45(0x20b)],_0x5195e2['DTWms']);_0x18a636['mkdirSync'](_0x9efc04,{'recursive':!![]});let _0xa1d517=await _0x5195e2[_0x424d45(0x20e)](getMachineId);const _0x1ee34c={'selfUin':_0x5d2b0f,'selfUid':_0x44dd8c,'desktopPathConfig':{'account_path':_0x3f22fe},'clientVer':qqVersionConfigInfo[_0x424d45(0x1e8)],'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':_0x9efc04,'deviceInfo':{'guid':_0xa1d517,'buildVer':qqPkgInfo[_0x424d45(0x210)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5195e2[_0x424d45(0x206)]};return Object[_0x424d45(0x1ee)](sessionConfig,_0x1ee34c),_0x1ee34c;} \ 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 60e86e80..d046bfb3 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x1964(){const _0x1998bd=['1xDrzaG','consoleLog','12816VORmQm','.json','4bbtzaw','11grpcCH','277620yGmsdZ','DEBUG','261048Ynvxkj','7667410oMeJzn','uin','getConfigPath','882819fevcZc','fileLogLevel','napcat_','1344754kVmxkU','760zNtSjb','359571qQHyPi','consoleLogLevel','getConfigDir','INFO'];_0x1964=function(){return _0x1998bd;};return _0x1964();}const _0xda00e2=_0x2724;(function(_0x3393e3,_0x44e4c0){const _0x21e75c=_0x2724,_0xfab51f=_0x3393e3();while(!![]){try{const _0x53a6d4=-parseInt(_0x21e75c(0x7d))/0x1*(parseInt(_0x21e75c(0x77))/0x2)+parseInt(_0x21e75c(0x79))/0x3*(parseInt(_0x21e75c(0x81))/0x4)+parseInt(_0x21e75c(0x78))/0x5*(parseInt(_0x21e75c(0x7f))/0x6)+-parseInt(_0x21e75c(0x83))/0x7+parseInt(_0x21e75c(0x85))/0x8+-parseInt(_0x21e75c(0x89))/0x9+-parseInt(_0x21e75c(0x86))/0xa*(-parseInt(_0x21e75c(0x82))/0xb);if(_0x53a6d4===_0x44e4c0)break;else _0xfab51f['push'](_0xfab51f['shift']());}catch(_0x53421e){_0xfab51f['push'](_0xfab51f['shift']());}}}(_0x1964,0x69e6d));import _0x331625 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0xda00e2(0x7e)]=!![];[_0xda00e2(0x8a)]=LogLevel[_0xda00e2(0x84)];[_0xda00e2(0x7a)]=LogLevel[_0xda00e2(0x7c)];constructor(){super();}[_0xda00e2(0x88)](){const _0x3c290e=_0xda00e2;return _0x331625['join'](this[_0x3c290e(0x7b)](),_0x3c290e(0x8b)+selfInfo[_0x3c290e(0x87)]+_0x3c290e(0x80));}}function _0x2724(_0x276386,_0x55e788){const _0x196480=_0x1964();return _0x2724=function(_0x272419,_0x5d8ee5){_0x272419=_0x272419-0x77;let _0x39a92d=_0x196480[_0x272419];return _0x39a92d;},_0x2724(_0x276386,_0x55e788);}export const napCatConfig=new Config(); \ No newline at end of file +function _0x1317(){const _0x4a4efb=['uin','getConfigDir','131878FEWMQl','napcat_','1088055sSTQzT','getConfigPath','2018130CCoYIa','1394480YwaZVO','consoleLogLevel','281970pKCLJW','DEBUG','1510952CdaOIl','75016YgyalD','406JQykkt'];_0x1317=function(){return _0x4a4efb;};return _0x1317();}const _0x39f127=_0x409d;(function(_0x1681c2,_0x3429a6){const _0x5a4f31=_0x409d,_0x5d010c=_0x1681c2();while(!![]){try{const _0x50c9de=parseInt(_0x5a4f31(0x161))/0x1+parseInt(_0x5a4f31(0x15a))/0x2+-parseInt(_0x5a4f31(0x163))/0x3+parseInt(_0x5a4f31(0x15c))/0x4+-parseInt(_0x5a4f31(0x158))/0x5+-parseInt(_0x5a4f31(0x165))/0x6+parseInt(_0x5a4f31(0x15e))/0x7*(parseInt(_0x5a4f31(0x15d))/0x8);if(_0x50c9de===_0x3429a6)break;else _0x5d010c['push'](_0x5d010c['shift']());}catch(_0x115e83){_0x5d010c['push'](_0x5d010c['shift']());}}}(_0x1317,0x34dd3));import _0x51d5b0 from'node:path';function _0x409d(_0x5939bb,_0xbc861b){const _0x131763=_0x1317();return _0x409d=function(_0x409d72,_0x2af856){_0x409d72=_0x409d72-0x158;let _0x18ef88=_0x131763[_0x409d72];return _0x18ef88;},_0x409d(_0x5939bb,_0xbc861b);}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];['consoleLog']=!![];['fileLogLevel']=LogLevel[_0x39f127(0x15b)];[_0x39f127(0x159)]=LogLevel['INFO'];constructor(){super();}[_0x39f127(0x164)](){const _0x1a2b1f=_0x39f127;return _0x51d5b0['join'](this[_0x1a2b1f(0x160)](),_0x1a2b1f(0x162)+selfInfo[_0x1a2b1f(0x15f)]+'.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 e2d8ccf9..8f1187c0 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x2e23ad=_0x6955;(function(_0x21d4a3,_0x23b288){const _0x1e6b9b=_0x6955,_0x2be500=_0x21d4a3();while(!![]){try{const _0x61dd0d=parseInt(_0x1e6b9b(0x95))/0x1*(parseInt(_0x1e6b9b(0x93))/0x2)+parseInt(_0x1e6b9b(0x8c))/0x3+parseInt(_0x1e6b9b(0x9d))/0x4+parseInt(_0x1e6b9b(0x92))/0x5+parseInt(_0x1e6b9b(0x91))/0x6+parseInt(_0x1e6b9b(0x90))/0x7*(-parseInt(_0x1e6b9b(0x8d))/0x8)+-parseInt(_0x1e6b9b(0x94))/0x9;if(_0x61dd0d===_0x23b288)break;else _0x2be500['push'](_0x2be500['shift']());}catch(_0x51dcaf){_0x2be500['push'](_0x2be500['shift']());}}}(_0x1386,0x5d523));import{logError}from'@/common/utils/log';function _0x6955(_0x28b02e,_0x37966e){const _0x13863c=_0x1386();return _0x6955=function(_0x6955cd,_0x1a617a){_0x6955cd=_0x6955cd-0x8a;let _0x5ad5dc=_0x13863c[_0x6955cd];return _0x5ad5dc;},_0x6955(_0x28b02e,_0x37966e);}import{RequestUtil}from'@/common/utils/request';function _0x1386(){const _0x241d6d=['rkeyData','35QGdflf','900846Yycshc','3650390bzHZoD','2dOLuAw','15033348DQUlfa','202195cAKeeo','获取rkey失败','CemQC','refreshRkey','getRkey','expired_time','serverUrl','YOKoS','2674988aHBixa','Teotg','HttpGetJson','isExpired','AVexh','2057727LkIahg','615128BWZBVO','getTime'];_0x1386=function(){return _0x241d6d;};return _0x1386();}class RkeyManager{[_0x2e23ad(0x9b)]='';[_0x2e23ad(0x8f)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2db71f){const _0x28b689=_0x2e23ad;this[_0x28b689(0x9b)]=_0x2db71f;}async[_0x2e23ad(0x99)](){const _0xec2e2c=_0x2e23ad,_0x2c49d9={'CemQC':function(_0x87aae4,_0x597f39,_0x104b29){return _0x87aae4(_0x597f39,_0x104b29);}};if(this[_0xec2e2c(0x8a)]())try{await this['refreshRkey']();}catch(_0x46a8ae){_0x2c49d9[_0xec2e2c(0x97)](logError,_0xec2e2c(0x96),_0x46a8ae);}return this['rkeyData'];}[_0x2e23ad(0x8a)](){const _0xe72a91=_0x2e23ad,_0x4c685a={'YOKoS':function(_0x3f617a,_0x4f0699){return _0x3f617a/_0x4f0699;},'Teotg':function(_0x132f1e,_0x3f9283){return _0x132f1e>_0x3f9283;}},_0x2eee8b=_0x4c685a[_0xe72a91(0x9c)](new Date()[_0xe72a91(0x8e)](),0x3e8);return _0x4c685a[_0xe72a91(0x9e)](_0x2eee8b,this['rkeyData'][_0xe72a91(0x9a)]);}async[_0x2e23ad(0x98)](){const _0x19118b=_0x2e23ad,_0x48bc88={'AVexh':'GET'};this['rkeyData']=await RequestUtil[_0x19118b(0x9f)](this[_0x19118b(0x9b)],_0x48bc88[_0x19118b(0x8b)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file +const _0x32f499=_0x49cc;function _0x3067(){const _0x351942=['refreshRkey','21303xgLHwJ','8lXjLoF','HttpGetJson','GET','获取rkey失败','454FTNfRn','mWmJK','1678705DEsbaS','6VqrdYu','10AolssR','104cLhUlI','ewkuo','serverUrl','isExpired','http://napcat-sign.wumiao.wang:2082/rkey','4493071wAZwzU','9212484TAKggH','xsrmT','dLbvI','303IyjFqh','1169145KpFAff','1683668RxEFRy','getRkey','rkeyData','nKOTh','getTime'];_0x3067=function(){return _0x351942;};return _0x3067();}(function(_0x451d57,_0xf90b67){const _0x4c098c=_0x49cc,_0x31a4cc=_0x451d57();while(!![]){try{const _0x5652fc=-parseInt(_0x4c098c(0x177))/0x1*(-parseInt(_0x4c098c(0x169))/0x2)+parseInt(_0x4c098c(0x17f))/0x3*(-parseInt(_0x4c098c(0x16e))/0x4)+parseInt(_0x4c098c(0x16b))/0x5*(parseInt(_0x4c098c(0x16c))/0x6)+-parseInt(_0x4c098c(0x179))/0x7+-parseInt(_0x4c098c(0x180))/0x8*(parseInt(_0x4c098c(0x178))/0x9)+-parseInt(_0x4c098c(0x16d))/0xa*(parseInt(_0x4c098c(0x173))/0xb)+parseInt(_0x4c098c(0x174))/0xc;if(_0x5652fc===_0xf90b67)break;else _0x31a4cc['push'](_0x31a4cc['shift']());}catch(_0x53d8c3){_0x31a4cc['push'](_0x31a4cc['shift']());}}}(_0x3067,0x32f49));function _0x49cc(_0x13a344,_0x3d0648){const _0x306715=_0x3067();return _0x49cc=function(_0x49cc82,_0x53ac21){_0x49cc82=_0x49cc82-0x167;let _0x408389=_0x306715[_0x49cc82];return _0x408389;},_0x49cc(_0x13a344,_0x3d0648);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x32f499(0x17b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x5904ea){const _0x30add3=_0x32f499;this[_0x30add3(0x170)]=_0x5904ea;}async[_0x32f499(0x17a)](){const _0x55a51d=_0x32f499,_0x33153f={'nKOTh':function(_0x29aa62,_0x2e4425,_0x4343b7){return _0x29aa62(_0x2e4425,_0x4343b7);},'ewkuo':_0x55a51d(0x168)};if(this[_0x55a51d(0x171)]())try{await this['refreshRkey']();}catch(_0x24a11b){_0x33153f[_0x55a51d(0x17c)](logError,_0x33153f[_0x55a51d(0x16f)],_0x24a11b);}return this[_0x55a51d(0x17b)];}[_0x32f499(0x171)](){const _0x5661e5=_0x32f499,_0x4a2a22={'dLbvI':function(_0x3895da,_0x22d5bd){return _0x3895da/_0x22d5bd;},'xsrmT':function(_0x2d41a7,_0x42f658){return _0x2d41a7>_0x42f658;}},_0x31d992=_0x4a2a22[_0x5661e5(0x176)](new Date()[_0x5661e5(0x17d)](),0x3e8);return _0x4a2a22[_0x5661e5(0x175)](_0x31d992,this['rkeyData']['expired_time']);}async[_0x32f499(0x17e)](){const _0x19d70f=_0x32f499,_0x7f5a49={'mWmJK':_0x19d70f(0x167)};this[_0x19d70f(0x17b)]=await RequestUtil[_0x19d70f(0x181)](this[_0x19d70f(0x170)],_0x7f5a49[_0x19d70f(0x16a)]);}}export const rkeyManager=new RkeyManager(_0x32f499(0x172)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 78e67881..3fb2f449 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x448c(){const _0x2cfb49=['12suVXdM','existsSync','default','join','5290974YJnxIa','921952MILDjz','56928HqTkHJ','5440923fMIzUk','10srZMZk','WrapperLoader.cjs','writeFileSync','99241qEmXpl','6VtVPnX','curVersion','4166745bhepxa','dirname','execPath','resources/app/versions/','112sWkqGj','13028807FXEhqN','resolve','\x0amodule.exports\x20=\x20require(\x22','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node'];_0x448c=function(){return _0x2cfb49;};return _0x448c();}const _0x5e3a85=_0x5bb0;function _0x5bb0(_0x4b14a0,_0x1e908c){const _0x448ca2=_0x448c();return _0x5bb0=function(_0x5bb0e7,_0x5d1c34){_0x5bb0e7=_0x5bb0e7-0x1e8;let _0x3f2afc=_0x448ca2[_0x5bb0e7];return _0x3f2afc;},_0x5bb0(_0x4b14a0,_0x1e908c);}(function(_0x527b62,_0x5d1bd3){const _0x2ac55d=_0x5bb0,_0x3c54ad=_0x527b62();while(!![]){try{const _0x4fbfcd=parseInt(_0x2ac55d(0x1f6))/0x1*(-parseInt(_0x2ac55d(0x1f7))/0x2)+-parseInt(_0x2ac55d(0x1eb))/0x3*(-parseInt(_0x2ac55d(0x1f0))/0x4)+-parseInt(_0x2ac55d(0x1f9))/0x5+-parseInt(_0x2ac55d(0x1ef))/0x6+-parseInt(_0x2ac55d(0x1fd))/0x7*(parseInt(_0x2ac55d(0x1f1))/0x8)+-parseInt(_0x2ac55d(0x1f2))/0x9*(-parseInt(_0x2ac55d(0x1f3))/0xa)+parseInt(_0x2ac55d(0x1fe))/0xb;if(_0x4fbfcd===_0x5d1bd3)break;else _0x3c54ad['push'](_0x3c54ad['shift']());}catch(_0x75e1d7){_0x3c54ad['push'](_0x3c54ad['shift']());}}}(_0x448c,0x8e9f3));import _0x2cca1e from'node:path';import _0x4a2f56 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x2cca1e[_0x5e3a85(0x1ff)](_0x2cca1e[_0x5e3a85(0x1fa)](process[_0x5e3a85(0x1fb)]),_0x5e3a85(0x1ea));!_0x4a2f56[_0x5e3a85(0x1ec)](wrapperNodePath)&&(wrapperNodePath=_0x2cca1e['join'](_0x2cca1e['dirname'](process[_0x5e3a85(0x1fb)]),_0x5e3a85(0x1fc)+qqVersionConfigInfo[_0x5e3a85(0x1f8)]+'/wrapper.node'));let WrapperLoader=_0x2cca1e[_0x5e3a85(0x1ee)](__dirname,_0x5e3a85(0x1f4));_0x4a2f56[_0x5e3a85(0x1f5)](WrapperLoader,_0x5e3a85(0x1e8)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x5e3a85(0x1e9));const QQWrapper=(await import('file://'+WrapperLoader))[_0x5e3a85(0x1ed)];export default QQWrapper; \ No newline at end of file +const _0x27c9cb=_0x1cd6;(function(_0x1b6c3d,_0x4fdf60){const _0x2f6cf8=_0x1cd6,_0x5493bd=_0x1b6c3d();while(!![]){try{const _0x57ddfe=parseInt(_0x2f6cf8(0x1a5))/0x1*(-parseInt(_0x2f6cf8(0x1a4))/0x2)+-parseInt(_0x2f6cf8(0x199))/0x3+-parseInt(_0x2f6cf8(0x19d))/0x4*(parseInt(_0x2f6cf8(0x1a1))/0x5)+-parseInt(_0x2f6cf8(0x198))/0x6+-parseInt(_0x2f6cf8(0x1aa))/0x7*(-parseInt(_0x2f6cf8(0x1a0))/0x8)+parseInt(_0x2f6cf8(0x194))/0x9+-parseInt(_0x2f6cf8(0x1a6))/0xa*(-parseInt(_0x2f6cf8(0x1a8))/0xb);if(_0x57ddfe===_0x4fdf60)break;else _0x5493bd['push'](_0x5493bd['shift']());}catch(_0x2e0fc7){_0x5493bd['push'](_0x5493bd['shift']());}}}(_0x5b78,0xea415));import _0x45fd1e from'node:path';import _0x9f15e4 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);let wrapperNodePath=_0x45fd1e['resolve'](_0x45fd1e[_0x27c9cb(0x196)](process[_0x27c9cb(0x19e)]),_0x27c9cb(0x19f));!_0x9f15e4[_0x27c9cb(0x1a3)](wrapperNodePath)&&(wrapperNodePath=_0x45fd1e[_0x27c9cb(0x19a)](_0x45fd1e['dirname'](process[_0x27c9cb(0x19e)]),_0x27c9cb(0x1a9)+qqVersionConfigInfo[_0x27c9cb(0x19c)]+_0x27c9cb(0x193)));let WrapperLoader=_0x45fd1e[_0x27c9cb(0x19a)](__dirname,_0x27c9cb(0x1a7));function _0x5b78(){const _0x150631=['join','writeFileSync','curVersion','4818396tzczES','execPath','./resources/app/wrapper.node','43584WGsHxB','5vfZEpp','replace','existsSync','1893998mDSram','2TmMHrf','10NJauKt','WrapperLoader.cjs','32449406kcjXnk','resources/app/versions/','1813sldqJr','\x0amodule.exports\x20=\x20require(\x22','/wrapper.node','9166680qJUXoO','\x22);\x0aexports\x20=\x20module.exports;\x0a','dirname','default','6821430bhaNjL','553461ByFWse'];_0x5b78=function(){return _0x150631;};return _0x5b78();}function _0x1cd6(_0x26f988,_0x43fde2){const _0x5b78d4=_0x5b78();return _0x1cd6=function(_0x1cd6ba,_0x3e851c){_0x1cd6ba=_0x1cd6ba-0x192;let _0x42405f=_0x5b78d4[_0x1cd6ba];return _0x42405f;},_0x1cd6(_0x26f988,_0x43fde2);}_0x9f15e4[_0x27c9cb(0x19b)](WrapperLoader,_0x27c9cb(0x192)+wrapperNodePath[_0x27c9cb(0x1a2)](/\\/g,'\x5c\x5c')+_0x27c9cb(0x195));const QQWrapper=(await import('file://'+WrapperLoader))[_0x27c9cb(0x197)];export default QQWrapper; \ No newline at end of file