jsdecryptor 4.0.4 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Database/database.js +1 -1
- package/Database/migration.js +1 -1
- package/Database/pgSync.js +1 -1
- package/Database/settingsStore.js +1 -1
- package/config.js +1 -1
- package/dave.js +1 -1
- package/davelib/botConfig.js +1 -1
- package/davelib/greetings.js +1 -1
- package/davelib/id.js +1 -1
- package/davelib/index.js +1 -1
- package/davelib/isAdmin.js +1 -1
- package/davelib/isBanned.js +1 -1
- package/davelib/isOwner.js +1 -1
- package/davelib/messageConfig.js +1 -1
- package/davelib/messageHandler.js +1 -1
- package/davelib/reactions.js +1 -1
- package/davelib/welcome.js +1 -1
- package/daveset.js +1 -1
- package/davexcore/anti/antiaudio.js +1 -1
- package/davexcore/anti/antibadword.js +1 -1
- package/davexcore/anti/antibug.js +1 -1
- package/davexcore/anti/anticall.js +1 -1
- package/davexcore/anti/antichart.js +1 -1
- package/davexcore/anti/antidelete.js +1 -1
- package/davexcore/anti/antideletestatus.js +1 -1
- package/davexcore/anti/antidemote.js +1 -1
- package/davexcore/anti/antidocument.js +1 -1
- package/davexcore/anti/antiedit.js +1 -1
- package/davexcore/anti/antifiles.js +1 -1
- package/davexcore/anti/antigroupmention.js +1 -1
- package/davexcore/anti/antiimage.js +1 -1
- package/davexcore/anti/antikick.js +1 -1
- package/davexcore/anti/antilink.js +1 -1
- package/davexcore/anti/antimention.js +1 -1
- package/davexcore/anti/antipromote.js +1 -1
- package/davexcore/anti/antisticker.js +1 -1
- package/davexcore/anti/antitag.js +1 -1
- package/davexcore/anti/antivideo.js +1 -1
- package/davexcore/anti/antiviewonce.js +1 -1
- package/davexcore/anti/groupanticall.js +1 -1
- package/davexcore/anti/mention.js +1 -1
- package/davexcore/automation/alwaysonline.js +1 -1
- package/davexcore/automation/autoReadReciepts.js +1 -1
- package/davexcore/automation/autoread.js +1 -1
- package/davexcore/automation/autorecording.js +1 -1
- package/davexcore/automation/autostatus.js +1 -1
- package/davexcore/automation/autotyping.js +1 -1
- package/davexcore/automation/chatbot.js +1 -1
- package/davexcore/automation/chatmanage.js +1 -1
- package/davexcore/automation/devReact.js +1 -1
- package/davexcore/automation/goodbye.js +1 -1
- package/davexcore/automation/greetings.js +1 -1
- package/davexcore/automation/welcome.js +1 -1
- package/davexcore/group/addmember.js +1 -1
- package/davexcore/group/ban.js +1 -1
- package/davexcore/group/blockUnblock.js +1 -1
- package/davexcore/group/clear.js +1 -1
- package/davexcore/group/creategroup.js +1 -1
- package/davexcore/group/demote.js +1 -1
- package/davexcore/group/disappear.js +1 -1
- package/davexcore/group/groupinfo.js +1 -1
- package/davexcore/group/groupmanage.js +1 -1
- package/davexcore/group/hidetag.js +1 -1
- package/davexcore/group/joinrequests.js +1 -1
- package/davexcore/group/kick.js +1 -1
- package/davexcore/group/kickall.js +1 -1
- package/davexcore/group/leave.js +1 -1
- package/davexcore/group/linkgroup.js +1 -1
- package/davexcore/group/mute.js +1 -1
- package/davexcore/group/online.js +1 -1
- package/davexcore/group/pmblocker.js +1 -1
- package/davexcore/group/promote.js +1 -1
- package/davexcore/group/resetlink.js +1 -1
- package/davexcore/group/staff.js +1 -1
- package/davexcore/group/tag.js +1 -1
- package/davexcore/group/tagadmins.js +1 -1
- package/davexcore/group/tagall.js +1 -1
- package/davexcore/group/tagnotadmin.js +1 -1
- package/davexcore/group/topmembers.js +1 -1
- package/davexcore/group/unban.js +1 -1
- package/davexcore/group/unmute.js +1 -1
- package/davexcore/group/warn.js +1 -1
- package/davexcore/group/warnings.js +1 -1
- package/davexcore/owner/alive.js +1 -1
- package/davexcore/owner/bio.js +1 -1
- package/davexcore/owner/broadcast.js +1 -1
- package/davexcore/owner/chanel.js +1 -1
- package/davexcore/owner/channelid.js +1 -1
- package/davexcore/owner/clearsession.js +1 -1
- package/davexcore/owner/help.js +1 -1
- package/davexcore/owner/hijack.js +1 -1
- package/davexcore/owner/menuManage.js +1 -1
- package/davexcore/owner/menuSettings.js +1 -1
- package/davexcore/owner/owner.js +1 -1
- package/davexcore/owner/pair.js +1 -1
- package/davexcore/owner/pinchat.js +1 -1
- package/davexcore/owner/ping.js +1 -1
- package/davexcore/owner/profilepic.js +1 -1
- package/davexcore/owner/resetmenuimage.js +1 -1
- package/davexcore/owner/setGroupStatus.js +1 -1
- package/davexcore/owner/setbotconfig.js +1 -1
- package/davexcore/owner/setfont.js +1 -1
- package/davexcore/owner/setowner.js +1 -1
- package/davexcore/owner/setprefix.js +1 -1
- package/davexcore/owner/settings.js +1 -1
- package/davexcore/owner/startupwelcome.js +1 -1
- package/davexcore/owner/sudo.js +1 -1
- package/davexcore/owner/update.js +1 -1
- package/davexcore/utility/bible.js +1 -1
- package/davexcore/utility/encrypt.js +1 -1
- package/davexcore/utility/sports.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x16b18a=_0x2bb0;(function(_0x91bc50,_0x43e1e9){const _0x395aea=_0x2bb0,_0x3df70a=_0x91bc50();while(!![]){try{const _0x31ac27=-parseInt(_0x395aea(0xa7))/(0xd6*-0x14+0x1bf3+0x3*-0x3be)+-parseInt(_0x395aea(0xd6))/(0x1de0+-0x4a3+-0x193b)+-parseInt(_0x395aea(0x13e))/(-0x2a2+-0x1d83+0x2028)+parseInt(_0x395aea(0x11b))/(-0x59f*-0x3+0x168f+-0x9da*0x4)*(parseInt(_0x395aea(0x133))/(-0x2685+0x15b7+0x10d3))+-parseInt(_0x395aea(0xae))/(0x1d*0xb5+-0xa69+-0x2*0x509)+-parseInt(_0x395aea(0xed))/(0x10b5+-0x173c+0x68e)+parseInt(_0x395aea(0xb7))/(-0x13a7*-0x1+-0x6a9*-0x1+-0x1a48);if(_0x31ac27===_0x43e1e9)break;else _0x3df70a['push'](_0x3df70a['shift']());}catch(_0x132e9a){_0x3df70a['push'](_0x3df70a['shift']());}}}(_0x5c20,0x1f3*-0x2fa+-0x1*-0x1c3427+-0x7f785));const fs=require('fs'),path=require('path'),{downloadContentFromMessage}=require('@whiskeyso'+'ckets/bail'+'eys'),{writeFile,unlink,readdir,stat}=require(_0x16b18a(0x172)+'s'),{getOwnerConfig,setOwnerConfig,getGroupConfig,setGroupConfig,parseToggleCommand}=require(_0x16b18a(0x128)+_0x16b18a(0xf7)+_0x16b18a(0xdb)),db=require('../../Data'+'base/datab'+_0x16b18a(0xea)),{createFakeContact,getBotName}=require(_0x16b18a(0xf8)+_0x16b18a(0x11d)+_0x16b18a(0x186)),TEMP_MEDIA_DIR=path['join'](__dirname,_0x16b18a(0xb0)),MESSAGE_RETENTION_SECONDS=0x740dd+0x38c*-0x191+-0x3*-0x282a5,MESSAGE_RETENTION_MS=MESSAGE_RETENTION_SECONDS*(0x193b+0x1597*-0x1+-0x4*-0x11);function _0x5c20(){const _0x389132=['DMLKzw8','y2HHDf9QAwq','C2vUzgvY','zw5HyMXLza','BwfUzcek4PscifvZ','rvrfraRILiik4Psc','CgfYDgLJAxbHBG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','Aw1Hz2vnzxnZyq','mtm4odG2nNvpzePmzG','DMLLD09Uy2vnzq','yw50AwrLBgv0zq','C2fNzq','B3iGDgHPCYbNCG','BMDZu3rVCMu','BgvUz3rO','A2v5','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','zxrLihbTihbYAq','C2L6zq','yxvKAw9nzxnZyq','AxzHDguVy2HHDa','lMPWzW','C3vIAMvJDa','CMLUzW','z3jVDxbnzxrHza','B2zM','C2vUzgvYs2v5ra','r1jpvvbtoIbptG','yxnL','kqRILiiG','CWRILiik4Psu4Psa4Psa4Psa4Psa4Psa','nZeYmJeWmufAB1vcvG','yM90AaRILiik4Psu4Psa4Psa','cUkuGGRILjtILidILidILidILidILidILia','Chj2Da','D25LCIbetqRILiik','BgLUzYbYzxzVyW','y29TBwfUzcek4Psc','CIaRienOyxqk4Psc','Bw9Kzq','B2jQzwn0','yMfZzs9Zzxr0Aq','lI4VlI4Vzgf2zq','kqRILiiGuMv0zw50','z2vZoIa','zxrLihbYAxzHDa','r1jpvvbtoIbprG','ue1ZoIbct1ricG','zxH0zw5Kzwruzq','tw9KztOG','ChvZAa','ihbYAxzHDguk4Psc','Bgv0zsbVBI9VzG','y2HHDeLK','yxrPB246','ic0GvKLfvYbptG','C3rHDhvZ','kIdILidILjak4PsccUkuGIbd','svzbveuk4PscierL','zNjVBq','y29Uy2f0','4PsccUkuLokuGokuGokuGokuGokuGokuGokuGa','cUkuGIbhCM91CdOG','tuik4Pscie1LC3nH','u3rVCMfNztOG','ue1ZoIbptGRILiiG','BNvTzxjPyW','BM93','Aw1Hz2u','ignOyxqk4PsccUkuLokuGa','zxHWB3j0CW','z2vZiokgKIbuAgLZ','AgfZr3jVDxbtzq','cUkuGIboyw1LoIa','zNjVBu1L','4Psa4Psa4Psa4Psa4Psy','kIdILidILjak4PsccUkuGIbp','ndrAu1bwtu8','C3bSAxq','BgLIl2zHA2vdBW','4Psm4PsaicO','y2H0','ChjVDg9JB2Xnzq','igj5oIba','ru5bqKXfrcbMBW','zwqGue1ZiokgKIbp','zwqGBwvZC2fNzq','C2fNztOk4Pscic5H','BxaZ','C3nHz2vZ','lI4VlI4Vrgf0yq','AwrLBgv0zsbWBq','DMf0zs9JAgf0lW','C2vUzgvYx2PPza','Dg9vChbLCKnHCW','yxvKAw8','rxjYB3iGAgfUza','yxvKAw8VBxbLzW','cUkuGGRILiiGkKrfteu','y2HHDc9IB3rOcG','Cg1Z','mtC1ntK1wKnhEwnP','BgvHBMvKoIa','AxntDwrV','Dgv4Da','qgCUDxm','CIb0AgLZigDYBW','kIdILidILjak4PsccUkuGIbn','AM9PBG','C3vIC3rYAw5N','rtOQcUkuGIa','DguVy2HHDc9IBW','nteZmZG0z2Pwv1PV','l3bYAxzHDguVyW','ru5bqKXfraRILiiG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','t0zg','EhrnzxnZywDL','zgvSzxrLtwvZCW','yM90Aa','ywDL','ywXS','Aw5Nig1LC3nHzW','C3rHDhmk4PsccUkuLokuGa','BwLTzxr5Cgu','AxngAwXL','lI4U','mI1KAwDPDa','ChvZAe5HBwu','tuik4PscieDYB3vW','ue1ZcUkuGGRILjtILidILidILia','CYdIHPiGvgHPCYbJ','CMvTB3rLsMLK','BNrPzgvSzxrLia','veuk4PscierLBgv0','qvqk4PscierLBgv0','cUkuLokuGokuGokuGokuGokuGokuGokuGokuGa','C3rPy2TLCK1LCW','qhmUD2HHDhnHCa','Cc5Uzxq','y2XLyxi','AaRILiiGlMfUDgLK','r1jpvvbtoIbquG','zsbWBsbVBI9VzG','4Psa4Psa4Psa4Psy','4Psa4Psa4Psy','zw5KC1DPDgG','C2vUze1LC3nHzW','zsbJBgvHBIb8ia','qK9usaRILiiGrgvS','BwTKAxi','kYbdAgf0cUkuGGRILjq','4Psa4Psa4Psa4Psa4Psa4Psy','igzPBgvZlca','BwvKAwfqyxrO','zwXLDguGy2XLyq','zg1Z','cUkuGIbgCM9ToIba','Dxak4Pscie1Vzgu6','q291BNq','C3nHz2vZiokgKIbp','BwvKAwfFDhLWzq','zw4Tvvm','Aw9UoIa3igrHEq','zNmVChjVBwLZzq','Dg9gAxHLza','ztOGlMfUDgLKzq','y2HHDa','C3rHDhvZqgjYBW','zxnZywDLCZOG','lMfUDgLKzwXLDa','4Pscic5HBNrPzgvS','BK1LC3nHz2u','CZOG','CM91Chm6ia','zxjYB3i','zxHPC3rZu3LUyW','cUkuGIbuExbLoIbw','B246idCGzgf5CW','DhjPBq','Cg0GB24VB2zMcG','C3rHDhm','reLtqujmruqk4Psc','zxrLigDJihbYAq','BNrHy3q','BwvKAwfuExbL','kIdILidILjak4PsccUkuGIbb','tgLUztO','lNDLyNa','x3zPzxDVBMnLlG','Aw5JBhvKzxm','ue1ZoIbdsefucG','ywDLCYdIHPiGt3DU','DgGk4PscicaGicaG','z3jVDxbZ','z2v0twvZC2fNzq','ChjVBwLZzxm','ue1ZiokgKIbtyw1L','lM1Wna','kIdILidILjak4PsccUkuGIbv','y2fWDgLVBG','q0uQcGPgCM9ToG','zGRILiiGicaGicaU','BwvZC2fNzq','l2jVDgGk4PscicaG','cUkuGIbuAw1LoIa','ANbN','kqRILiiGue1ZoIa','kIdILidILjak4PsccUkuGIbe','z2vZiokgKIbpD25L','kIdILidILjak4PsccUkuGIbj','Bgv0zwqGBwvZCW','zg9JDw1LBNrnzq','C3rHy2S','4Psu4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','zg9JDw1LBNq','yxrH','C3nHz2u','yMfZzw5HBwu','ue1ZoIbprKyk4Psc','BI9VzMyk4Pscic5H','B2DN','vw5RBM93BG','D25LCIbVBMX5ia','DgLTzxn0yw1W','C3rVCMvnzxnZyq','cK5HBwu6ia','otiWnZzYr1HHrfK','AxnFDMLLD19VBG','veGk4PscierLBgv0','4PscierLBgv0zwqG','ywrJyxn0','y29UDMvYC2f0Aq','Bxa0','mZuWmtmYnev0zgPvyG','q0HbvaRILiiGrgvS','lI4VDg1W','zxrLzcbTzxnZyq','reLtqujmruqGzG','zMLSzu5HBwu','rgvSzxrLzcbTzq','y2f0y2G','ue1ZoIbquKLwqq','mJq5ndy2mZjpsMnPEg8','DgLKzwXLDguGBW','ue1ZiokgKIbpD25L','Dg9mB3DLCKnHCW','zI9WCML2yxrLlW','DxnLCG','y2XLyw5pBgrnzq','cUkuGIbtzw5Kzxi6','BNzHBgLKignVBq','y29UDgvUDa','ChjPDMf0zs9JAa','ig1LC3nHz2vZcG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','DMLKzw9nzxnZyq','icaGlMfUDgLKzq','r1jpvvbtoIbdsa','txmk4PsccUkuLokuGokuGokuGokuGa','BwvKAwfFCgf0Aa','zs9JAgf0l2jVDa','4Psa4Psa4Psa4Psa4Psa4Psa4Psy','ChjPDMf0zq','ChjPDG'];_0x5c20=function(){return _0x389132;};return _0x5c20();}async function ensureTempDir(){const _0x339eb6=_0x2bb0;try{await fs[_0x339eb6(0x88)][_0x339eb6(0x164)](TEMP_MEDIA_DIR,{'recursive':!![]});}catch{}}async function getFolderSizeInMB(_0x29585c){const _0x5c614f=_0x2bb0;try{const _0x39380f=await readdir(_0x29585c);let _0x5332ce=-0xa92+0x6cc+0x3c6;for(const _0xd6e2b0 of _0x39380f){const _0x5a6bbe=path[_0x5c614f(0x13a)](_0x29585c,_0xd6e2b0);try{const _0x1e01ea=await stat(_0x5a6bbe);if(_0x1e01ea[_0x5c614f(0x14b)]())_0x5332ce+=_0x1e01ea[_0x5c614f(0xe0)];}catch{}}return _0x5332ce/((0x992+-0x2025+0x1a93)*(-0x1d05+0x5*-0x1+0x210a));}catch{return-0x17*-0x109+-0x227a+0xaab;}}async function cleanTempFolder(_0x51624d=0x11*0x11b+0x1*0x810+-0x1a13){try{const _0x314f3c=await getFolderSizeInMB(TEMP_MEDIA_DIR);if(_0x314f3c>_0x51624d){const _0x202e13=await readdir(TEMP_MEDIA_DIR);let _0x361ce4=-0x2*0x116f+-0x1*0x67+0x2345*0x1;for(const _0x3785a6 of _0x202e13){const _0x33b9b1=path['join'](TEMP_MEDIA_DIR,_0x3785a6);try{await unlink(_0x33b9b1),_0x361ce4++;}catch{}}return _0x361ce4;}return-0x6b2*-0x2+0x1a5*0xb+-0x1*0x1f7b;}catch{return 0x2569+0x1bac+-0x4115;}}async function isAuthorized(_0x50971a,_0x5f4019){const _0x269856=_0x2bb0;try{const _0x3ead31=_0x5f4019[_0x269856(0xdd)][_0x269856(0xd3)+'t']||_0x5f4019[_0x269856(0xdd)]['remoteJid'];if(_0x5f4019[_0x269856(0xdd)]['fromMe'])return!![];return db[_0x269856(0x135)](_0x3ead31);}catch{return _0x5f4019[_0x269856(0xdd)][_0x269856(0x118)];}}function normalizeOwnerConfig(_0x2e19b2){const _0x3e1b07=_0x2bb0;if(!_0x2e19b2||typeof _0x2e19b2!==_0x3e1b07(0xf6))return{'gc':{'enabled':!![],'mode':'private'},'pm':{'enabled':!![],'mode':_0x3e1b07(0xcb)}};if(_0x2e19b2['gc']&&_0x2e19b2['pm'])return _0x2e19b2;const _0x6223a0=_0x2e19b2[_0x3e1b07(0xd0)]!==undefined?_0x2e19b2[_0x3e1b07(0xd0)]:!![],_0x31c885=_0x2e19b2[_0x3e1b07(0xf5)]||_0x3e1b07(0xcb);return{'gc':{'enabled':_0x6223a0,'mode':_0x31c885},'pm':{'enabled':_0x6223a0,'mode':_0x31c885}};}function getEffectiveConfig(_0x53c601){const _0x30ec69=_0x2bb0,_0x3d6550=_0x53c601[_0x30ec69(0x160)](_0x30ec69(0x137));if(_0x3d6550){if(db[_0x30ec69(0x116)+'tting'](_0x53c601,'antidelete')){const _0x4b4c8a=getGroupConfig(_0x53c601,_0x30ec69(0xd8));if(typeof _0x4b4c8a===_0x30ec69(0xf6)&&_0x4b4c8a[_0x30ec69(0xd0)]!==undefined)return _0x4b4c8a;}const _0x9e4013=getOwnerConfig(_0x30ec69(0xd8)),_0x36523b=normalizeOwnerConfig(_0x9e4013);return{'enabled':_0x36523b['gc']['enabled'],'mode':_0x36523b['gc'][_0x30ec69(0xf5)]};}else{const _0x2fb016=getOwnerConfig(_0x30ec69(0xd8)),_0x3c9a9b=normalizeOwnerConfig(_0x2fb016);return{'enabled':_0x3c9a9b['pm'][_0x30ec69(0xd0)],'mode':_0x3c9a9b['pm']['mode']};}}async function handleAntideleteCommand(_0x34035e,_0x1bffac,_0x2ecc44,_0x2fd752){const _0x48d7bd=_0x2bb0,_0x433eb5=getBotName(),_0x2994df=_0x2ecc44[_0x48d7bd(0xdd)][_0x48d7bd(0xd3)+'t']||_0x2ecc44[_0x48d7bd(0xdd)][_0x48d7bd(0x152)],_0x3d2053=createFakeContact(_0x2994df);if(!await isAuthorized(_0x34035e,_0x2ecc44))return _0x34035e['sendMessag'+'e'](_0x1bffac,{'text':_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x11a)+_0x48d7bd(0xa3)+_0x48d7bd(0xf3)+_0x48d7bd(0x156)+_0x48d7bd(0x166))},{'quoted':_0x3d2053});const _0x51c589=_0x1bffac[_0x48d7bd(0x160)](_0x48d7bd(0x137)),_0xaf5ef1=getOwnerConfig(_0x48d7bd(0xd8)),_0x43c7cc=normalizeOwnerConfig(_0xaf5ef1);if(!_0x2fd752){const _0x2907a6=await getFolderSizeInMB(TEMP_MEDIA_DIR),_0x4a53c0=db['getMessage'+'Count']();let _0x983fe8='';if(_0x51c589){const _0x3526b1=getEffectiveConfig(_0x1bffac);_0x983fe8='This\x20Group'+':\x20'+(_0x3526b1[_0x48d7bd(0xd0)]?'ON':_0x48d7bd(0x142))+'\x20('+_0x3526b1[_0x48d7bd(0xf5)]+')\x0a';}const _0x5c162d=_0x48d7bd(0x11e)+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20G'+_0x48d7bd(0x17c))+(_0x43c7cc['gc'][_0x48d7bd(0xd0)]?'ON':_0x48d7bd(0x142))+'\x20('+_0x43c7cc['gc'][_0x48d7bd(0xf5)]+_0x48d7bd(0x93)+(_0x43c7cc['pm'][_0x48d7bd(0xd0)]?'ON':_0x48d7bd(0x142))+'\x20('+_0x43c7cc['pm']['mode']+_0x48d7bd(0xeb)+_0x983fe8+_0x48d7bd(0x10e)+_0x2907a6[_0x48d7bd(0x173)](0x3c7*-0x7+0xbfb+-0x211*-0x7)+(_0x48d7bd(0x10d)+_0x48d7bd(0xfa))+_0x4a53c0+('\x0a│\x20Retenti'+_0x48d7bd(0x180)+'\x0a│\x0a│\x20Comma'+'nds:\x0a│\x20.an'+_0x48d7bd(0xb8)+_0x48d7bd(0xa0)+_0x48d7bd(0x153)+'gc\x20on/off/'+_0x48d7bd(0xc1)+'at/both\x0a│\x20'+'.antidelet'+_0x48d7bd(0x15d)+_0x48d7bd(0xbb)+_0x48d7bd(0x131)+_0x48d7bd(0x179)+_0x48d7bd(0xfb)+_0x48d7bd(0xc9)+_0x48d7bd(0x15b)+_0x48d7bd(0x169)+'n\x20|\x20stats\x0a'+_0x48d7bd(0x10b)+_0x48d7bd(0xca));await _0x34035e[_0x48d7bd(0x161)+'e'](_0x1bffac,{'text':_0x5c162d},{'quoted':_0x3d2053});return;}const _0x4d0db9=_0x2fd752[_0x48d7bd(0xba)+'e']()[_0x48d7bd(0x181)]();let _0xdf715f='';const _0x17a9bd=_0x4d0db9[_0x48d7bd(0x11c)](/\s+/),_0x19f2a1=_0x17a9bd[0x2*-0x905+0x6fe+-0xe*-0xca],_0x21ab7a=_0x17a9bd[0x249+-0x29*0xdd+0x211d]||'';if(_0x19f2a1==='gc'||_0x19f2a1==='group'||_0x19f2a1===_0x48d7bd(0x86)){const _0xfbceeb=parseToggleCommand(_0x21ab7a);if(_0xfbceeb==='on')_0x43c7cc['gc'][_0x48d7bd(0xd0)]=!![],setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0xe9)+'\x0a│\x20Mode:\x20')+_0x43c7cc['gc']['mode']+('\x0a│\x0a└──────'+_0x48d7bd(0xd4));else{if(_0xfbceeb==='off')_0x43c7cc['gc'][_0x48d7bd(0xd0)]=![],setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f='┌─\x20*'+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0xfc)+'F\x0a│\x0a└─────'+_0x48d7bd(0xc3));else{if(['private',_0x48d7bd(0xf0),_0x48d7bd(0xcc)][_0x48d7bd(0x82)](_0x21ab7a))_0x43c7cc['gc']['enabled']=!![],_0x43c7cc['gc'][_0x48d7bd(0xf5)]=_0x48d7bd(0xcb),setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+'ntidelete\x20'+_0x48d7bd(0x15c)+_0x48d7bd(0x108)+_0x48d7bd(0x97)+_0x48d7bd(0x84)+'er\x20DM\x0a│\x0a└─'+_0x48d7bd(0x141)+_0x48d7bd(0x15f));else{if([_0x48d7bd(0x175),_0x48d7bd(0x11f)][_0x48d7bd(0x82)](_0x21ab7a))_0x43c7cc['gc'][_0x48d7bd(0xd0)]=!![],_0x43c7cc['gc']['mode']=_0x48d7bd(0x175),setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20A'+_0x48d7bd(0x153)+_0x48d7bd(0xc6)+_0x48d7bd(0x155)+'ed\x20message'+_0x48d7bd(0x151)+'hat\x0a│\x0a└───'+_0x48d7bd(0x141)+'┘');else[_0x48d7bd(0x145),_0x48d7bd(0x147)][_0x48d7bd(0x82)](_0x21ab7a)?(_0x43c7cc['gc']['enabled']=!![],_0x43c7cc['gc'][_0x48d7bd(0xf5)]=_0x48d7bd(0x145),setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f='┌─\x20*'+_0x433eb5+(_0x48d7bd(0x7e)+'ntidelete\x20'+'GROUPS:\x20BO'+_0x48d7bd(0xa9)+_0x48d7bd(0x124)+'s\x20→\x20Owner\x20'+_0x48d7bd(0x165)+_0x48d7bd(0x141)+_0x48d7bd(0x15e))):_0xdf715f='┌─\x20*'+_0x433eb5+(_0x48d7bd(0x8b)+_0x48d7bd(0x125)+_0x48d7bd(0x153)+'gc\x20on/off\x0a'+'│\x20.antidel'+_0x48d7bd(0x185)+_0x48d7bd(0x12a)+_0x48d7bd(0xee)+_0x48d7bd(0x141)+'─┘');}}}}else{if(_0x19f2a1==='pm'||_0x19f2a1==='dm'||_0x19f2a1===_0x48d7bd(0x132)||_0x19f2a1===_0x48d7bd(0x16a)){const _0x45f92d=parseToggleCommand(_0x21ab7a);if(_0x45f92d==='on')_0x43c7cc['pm'][_0x48d7bd(0xd0)]=!![],setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+'ntidelete\x20'+_0x48d7bd(0x10f)+_0x48d7bd(0xff))+_0x43c7cc['pm']['mode']+(_0x48d7bd(0xef)+'───────┘');else{if(_0x45f92d===_0x48d7bd(0xe7))_0x43c7cc['pm']['enabled']=![],setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0x9f)+'\x0a└────────'+'─────┘');else{if(['private',_0x48d7bd(0xf0),_0x48d7bd(0xcc)][_0x48d7bd(0x82)](_0x21ab7a))_0x43c7cc['pm'][_0x48d7bd(0xd0)]=!![],_0x43c7cc['pm']['mode']=_0x48d7bd(0xcb),setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20A'+_0x48d7bd(0x153)+_0x48d7bd(0xb6)+_0x48d7bd(0x154)+'ed\x20PMs\x20→\x20O'+_0x48d7bd(0xf1)+_0x48d7bd(0x9a)+'────┘');else{if([_0x48d7bd(0x175),'cht'][_0x48d7bd(0x82)](_0x21ab7a))_0x43c7cc['pm']['enabled']=!![],_0x43c7cc['pm'][_0x48d7bd(0xf5)]='chat',setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0x83)+_0x48d7bd(0xaa)+_0x48d7bd(0x89)+_0x48d7bd(0x113)+_0x48d7bd(0x141)+_0x48d7bd(0x15f));else['both',_0x48d7bd(0x147)][_0x48d7bd(0x82)](_0x21ab7a)?(_0x43c7cc['pm'][_0x48d7bd(0xd0)]=!![],_0x43c7cc['pm'][_0x48d7bd(0xf5)]=_0x48d7bd(0x145),setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f='┌─\x20*'+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20A'+'ntidelete\x20'+_0x48d7bd(0xfd)+_0x48d7bd(0xaa)+_0x48d7bd(0xb9)+_0x48d7bd(0xf4)+_0x48d7bd(0x156)+_0x48d7bd(0x166))):_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x8b)+_0x48d7bd(0x125)+_0x48d7bd(0x153)+_0x48d7bd(0x182)+_0x48d7bd(0x179)+_0x48d7bd(0xdf)+'vate/chat/'+_0x48d7bd(0xee)+_0x48d7bd(0x141)+'─┘');}}}}else{const _0xbac1af=parseToggleCommand(_0x19f2a1);if(_0xbac1af==='on')_0x51c589?(setGroupConfig(_0x1bffac,'antidelete',{'enabled':!![],'mode':_0x48d7bd(0xcb)}),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20A'+'ntidelete\x20'+_0x48d7bd(0x122)+_0x48d7bd(0x138)+_0x48d7bd(0x16c)+_0x48d7bd(0x101)+_0x48d7bd(0x156)+_0x48d7bd(0x166))):(_0x43c7cc['gc'][_0x48d7bd(0xd0)]=!![],_0x43c7cc['pm']['enabled']=!![],setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0x140)+'Groups\x20+\x20P'+_0x48d7bd(0xc7)+_0x48d7bd(0xde)));else{if(_0xbac1af===_0x48d7bd(0xe7))_0x51c589?(setGroupConfig(_0x1bffac,_0x48d7bd(0xd8),{'enabled':![],'mode':_0x48d7bd(0xcb)}),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+('*\x20─┐\x0a│\x0a│\x20A'+'ntidelete\x20'+_0x48d7bd(0xb2)+_0x48d7bd(0xda)+'oup\x0a│\x0a└───'+_0x48d7bd(0x141)+'┘')):(_0x43c7cc['gc'][_0x48d7bd(0xd0)]=![],_0x43c7cc['pm'][_0x48d7bd(0xd0)]=![],setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f='┌─\x20*'+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0x184)+'\x20Groups\x20+\x20'+_0x48d7bd(0x150)+_0x48d7bd(0x141)+'┘'));else{if([_0x48d7bd(0xcb),_0x48d7bd(0xf0),'priv'][_0x48d7bd(0x82)](_0x19f2a1))_0x51c589?(setGroupConfig(_0x1bffac,_0x48d7bd(0xd8),{'enabled':!![],'mode':_0x48d7bd(0xcb)}),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+'PRIVATE\x0a│\x20'+_0x48d7bd(0xb4)+_0x48d7bd(0x16e)+_0x48d7bd(0xf1)+_0x48d7bd(0x9a)+'────┘')):(_0x43c7cc['pm'][_0x48d7bd(0xd0)]=!![],_0x43c7cc['pm']['mode']=_0x48d7bd(0xcb),setOwnerConfig('antidelete',_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0xb6)+_0x48d7bd(0x154)+_0x48d7bd(0x123)+_0x48d7bd(0xf1)+_0x48d7bd(0x9a)+_0x48d7bd(0x119)));else{if([_0x48d7bd(0x175),'cht']['includes'](_0x19f2a1))_0x51c589?(setGroupConfig(_0x1bffac,_0x48d7bd(0xd8),{'enabled':!![],'mode':_0x48d7bd(0x175)}),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+'ntidelete\x20'+_0x48d7bd(0xaf)+_0x48d7bd(0xb1)+_0x48d7bd(0x115)+_0x48d7bd(0x113)+_0x48d7bd(0x141)+_0x48d7bd(0x15f))):(_0x43c7cc['pm']['enabled']=!![],_0x43c7cc['pm'][_0x48d7bd(0xf5)]=_0x48d7bd(0x175),setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+'ntidelete\x20'+_0x48d7bd(0x83)+_0x48d7bd(0xaa)+'PMs\x20→\x20Same'+'\x20chat\x0a│\x0a└─'+_0x48d7bd(0x141)+_0x48d7bd(0x15f)));else{if([_0x48d7bd(0x145),_0x48d7bd(0x147)]['includes'](_0x19f2a1))_0x51c589?(setGroupConfig(_0x1bffac,_0x48d7bd(0xd8),{'enabled':!![],'mode':_0x48d7bd(0x145)}),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0x163)+_0x48d7bd(0xb1)+_0x48d7bd(0x95)+_0x48d7bd(0xf4)+_0x48d7bd(0x156)+_0x48d7bd(0x166))):(_0x43c7cc['pm']['enabled']=!![],_0x43c7cc['pm'][_0x48d7bd(0xf5)]='both',setOwnerConfig(_0x48d7bd(0xd8),_0x43c7cc),_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x7e)+_0x48d7bd(0x153)+_0x48d7bd(0xfd)+_0x48d7bd(0xaa)+'PMs\x20→\x20Owne'+_0x48d7bd(0xf4)+_0x48d7bd(0x156)+_0x48d7bd(0x166)));else{if(_0x19f2a1==='clean'||_0x19f2a1===_0x48d7bd(0x15a)){const _0xc725ce=await cleanTempFolder(0x545*-0x1+0x25bc+-0x2077),_0x4be64d=db[_0x48d7bd(0xbd)+'ssages'](0x1c0*-0x8+0x8*-0x443+0x72*0x6c);_0xdf715f='┌─\x20*'+_0x433eb5+(_0x48d7bd(0x107)+_0x48d7bd(0x134))+_0xc725ce+_0x48d7bd(0x167)+_0x4be64d+(_0x48d7bd(0xc2)+_0x48d7bd(0x10b)+'──────┘');}else{if(_0x19f2a1===_0x48d7bd(0x183)||_0x19f2a1===_0x48d7bd(0x106)){const _0x194db7=await getFolderSizeInMB(TEMP_MEDIA_DIR),_0x304b3f=db[_0x48d7bd(0x87)+_0x48d7bd(0x16d)]();_0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x139)+_0x48d7bd(0x177))+_0x304b3f+('\x0a│\x20Storage'+':\x20')+_0x194db7[_0x48d7bd(0x173)](-0x14*-0xb5+0x1*0x7cd+-0x15f0)+(_0x48d7bd(0x14f)+_0x48d7bd(0x17b))+(_0x43c7cc['gc'][_0x48d7bd(0xd0)]?'ON':_0x48d7bd(0x142))+'\x20('+_0x43c7cc['gc']['mode']+_0x48d7bd(0x93)+(_0x43c7cc['pm'][_0x48d7bd(0xd0)]?'ON':_0x48d7bd(0x142))+'\x20('+_0x43c7cc['pm'][_0x48d7bd(0xf5)]+(_0x48d7bd(0xf9)+_0x48d7bd(0x171)+_0x48d7bd(0xec)+'────────┘');}else _0xdf715f=_0x48d7bd(0x11e)+_0x433eb5+(_0x48d7bd(0x96)+_0x48d7bd(0xbf)+_0x48d7bd(0xd1)+_0x48d7bd(0x174)+_0x48d7bd(0x102)+_0x48d7bd(0x8e)+_0x48d7bd(0xd8)+'\x20gc\x20on/off'+_0x48d7bd(0x13f)+'hat/both\x0a│'+'\x20\x20\x20\x20\x20\x20.ant'+_0x48d7bd(0x129)+'\x20on/off/pr'+_0x48d7bd(0xe2)+_0x48d7bd(0x90)+_0x48d7bd(0xc5)+'lete\x20priva'+_0x48d7bd(0x13d)+_0x48d7bd(0x85)+_0x48d7bd(0x178)+_0x48d7bd(0x162)+_0x48d7bd(0x149)+_0x48d7bd(0x141)+_0x48d7bd(0x15f));}}}}}}}}await _0x34035e['sendMessag'+'e'](_0x1bffac,{'text':_0xdf715f},{'quoted':_0x3d2053});}function _0x2bb0(_0x29413b,_0x5dbe57){_0x29413b=_0x29413b-(0xb11+-0x6b7+-0x3dd);const _0x34f370=_0x5c20();let _0x5d503f=_0x34f370[_0x29413b];if(_0x2bb0['cvzCYv']===undefined){var _0x699363=function(_0x406597){const _0x5449e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3c827b='',_0x46160a='';for(let _0x3b1211=-0xd3e+-0x2*0xe95+-0x17*-0x1d8,_0x47d06c,_0x40f263,_0x393512=0x4*-0x42a+0x1ac2+-0x1af*0x6;_0x40f263=_0x406597['charAt'](_0x393512++);~_0x40f263&&(_0x47d06c=_0x3b1211%(0x251*-0x5+0x15f6+-0xa5d)?_0x47d06c*(0x6cc+-0x4e2+-0xd5*0x2)+_0x40f263:_0x40f263,_0x3b1211++%(-0xfc9+-0xd7+0x10a4))?_0x3c827b+=String['fromCharCode'](-0xb2*0x11+-0x25ca*-0x1+-0x3*0x853&_0x47d06c>>(-(0x2*-0x107e+0x1*-0x22e5+0x1*0x43e3)*_0x3b1211&-0x385+-0x2*0x116f+-0x1*-0x2669)):0x1a*0x107+-0x1cf*-0xb+0x123*-0x29){_0x40f263=_0x5449e4['indexOf'](_0x40f263);}for(let _0x431120=0xa67*0x1+-0x1250+0x7e9,_0x1b1aa1=_0x3c827b['length'];_0x431120<_0x1b1aa1;_0x431120++){_0x46160a+='%'+('00'+_0x3c827b['charCodeAt'](_0x431120)['toString'](0x1a77*-0x1+-0x1*0x1a71+-0x388*-0xf))['slice'](-(0x2*-0x905+0x6fe+-0xa*-0x11b));}return decodeURIComponent(_0x46160a);};_0x2bb0['mhEiwh']=_0x699363,_0x2bb0['rleRSW']={},_0x2bb0['cvzCYv']=!![];}const _0x24eb8e=_0x34f370[0x249+-0x29*0xdd+0x211c],_0x1e99a7=_0x29413b+_0x24eb8e,_0x613e84=_0x2bb0['rleRSW'][_0x1e99a7];return!_0x613e84?(_0x5d503f=_0x2bb0['mhEiwh'](_0x5d503f),_0x2bb0['rleRSW'][_0x1e99a7]=_0x5d503f):_0x5d503f=_0x613e84,_0x5d503f;}async function storeMessage(_0x45ba84,_0x5a6a33){const _0x2aea89=_0x2bb0;try{await ensureTempDir();const _0x37d116=_0x5a6a33[_0x2aea89(0xdd)]['remoteJid'];if(!_0x37d116)return;if(!_0x5a6a33[_0x2aea89(0xdd)]?.['id'])return;if(_0x37d116===_0x2aea89(0x176)+_0x2aea89(0xab))return;const _0x41ab2e=_0x5a6a33[_0x2aea89(0xdd)]['id'],_0x55d018=_0x5a6a33['key'][_0x2aea89(0xd3)+'t']||_0x5a6a33[_0x2aea89(0xdd)][_0x2aea89(0x152)],_0x58507a=_0x5a6a33[_0x2aea89(0x14e)]||_0x2aea89(0xa2);let _0x3d82ed='',_0x35fb7a=null,_0x34a1a4=null,_0x1aa564=![];const _0x26e67c=_0x5a6a33[_0x2aea89(0x8f)];if(!_0x26e67c)return;if(_0x26e67c[_0x2aea89(0x120)+_0x2aea89(0x9d)]||_0x26e67c[_0x2aea89(0xe8)+'istributio'+_0x2aea89(0x17a)])return;const _0xa57509=_0x26e67c[_0x2aea89(0xd7)+'ssageV2']?.[_0x2aea89(0x8f)]||_0x26e67c[_0x2aea89(0xd7)+_0x2aea89(0x9d)]?.[_0x2aea89(0x8f)];if(_0xa57509){_0x1aa564=!![];if(_0xa57509[_0x2aea89(0xd5)+'ge'])_0x35fb7a=_0x2aea89(0x112),_0x3d82ed=_0xa57509[_0x2aea89(0xd5)+'ge']['caption']||'',_0x34a1a4=await downloadMedia(_0xa57509['imageMessa'+'ge'],'image',Date['now']()+(_0x2aea89(0x81)+_0x2aea89(0x92)));else _0xa57509[_0x2aea89(0xc4)+'ge']&&(_0x35fb7a=_0x2aea89(0xcd),_0x3d82ed=_0xa57509[_0x2aea89(0xc4)+'ge'][_0x2aea89(0x8c)]||'',_0x34a1a4=await downloadMedia(_0xa57509[_0x2aea89(0xc4)+'ge'],_0x2aea89(0xcd),Date[_0x2aea89(0x111)]()+('_viewonce.'+_0x2aea89(0xad))));}else{if(_0x26e67c[_0x2aea89(0xac)+'on'])_0x3d82ed=_0x26e67c[_0x2aea89(0xac)+'on'];else{if(_0x26e67c[_0x2aea89(0xfe)+_0x2aea89(0x143)]?.[_0x2aea89(0x136)])_0x3d82ed=_0x26e67c['extendedTe'+_0x2aea89(0x143)][_0x2aea89(0x136)];else{if(_0x26e67c['imageMessa'+'ge'])_0x35fb7a='image',_0x3d82ed=_0x26e67c[_0x2aea89(0xd5)+'ge']['caption']||'',_0x34a1a4=await downloadMedia(_0x26e67c[_0x2aea89(0xd5)+'ge'],_0x2aea89(0x112),Date[_0x2aea89(0x111)]()+_0x2aea89(0xe3));else{if(_0x26e67c[_0x2aea89(0xc4)+'ge'])_0x35fb7a='video',_0x3d82ed=_0x26e67c[_0x2aea89(0xc4)+'ge']['caption']||'',_0x34a1a4=await downloadMedia(_0x26e67c['videoMessa'+'ge'],_0x2aea89(0xcd),Date[_0x2aea89(0x111)]()+_0x2aea89(0x8a));else{if(_0x26e67c[_0x2aea89(0x157)+'sage'])_0x35fb7a='sticker',_0x34a1a4=await downloadMedia(_0x26e67c[_0x2aea89(0x157)+_0x2aea89(0xd9)],'sticker',Date[_0x2aea89(0x111)]()+_0x2aea89(0x80));else{if(_0x26e67c['audioMessa'+'ge']){_0x35fb7a='audio';const _0x32b237=_0x26e67c[_0x2aea89(0xe1)+'ge'][_0x2aea89(0x14a)]?.[_0x2aea89(0x82)](_0x2aea89(0xa1))?'ogg':_0x2aea89(0x126);_0x34a1a4=await downloadMedia(_0x26e67c[_0x2aea89(0xe1)+'ge'],'audio',Date[_0x2aea89(0x111)]()+'.'+_0x32b237);}else _0x26e67c[_0x2aea89(0x98)+_0x2aea89(0x9d)]&&(_0x35fb7a=_0x2aea89(0x9b),_0x3d82ed=_0x26e67c['documentMe'+_0x2aea89(0x9d)][_0x2aea89(0xb3)]||'Document',_0x34a1a4=await downloadMedia(_0x26e67c['documentMe'+_0x2aea89(0x9d)],_0x2aea89(0x9b),Date[_0x2aea89(0x111)]()+'_'+(_0x26e67c[_0x2aea89(0x98)+_0x2aea89(0x9d)][_0x2aea89(0xb3)]||'file')));}}}}}}if(_0x3d82ed||_0x35fb7a){db[_0x2aea89(0xa5)+'ge'](_0x41ab2e,_0x37d116,_0x55d018,_0x3d82ed,_0x35fb7a,_0x34a1a4,_0x1aa564,_0x58507a);if(_0x1aa564&&_0x34a1a4){const _0x265674=getEffectiveConfig(_0x37d116);_0x265674[_0x2aea89(0xd0)]&&await handleViewOnceForward(_0x45ba84,_0x265674,{'messageId':_0x41ab2e,'chatId':_0x37d116,'sender':_0x55d018,'content':_0x3d82ed,'mediaType':_0x35fb7a,'mediaPath':_0x34a1a4,'isViewOnce':_0x1aa564,'pushName':_0x58507a});}}}catch(_0x17d6ce){console[_0x2aea89(0x17d)]('Error\x20stor'+_0x2aea89(0x148)+'e:',_0x17d6ce[_0x2aea89(0x8f)],_0x2aea89(0x7f),_0x17d6ce[_0x2aea89(0x99)]?.[_0x2aea89(0x11c)]('\x0a')[-0x2*-0x85a+0x17d+-0x610*0x3]);}}async function downloadMedia(_0x324054,_0x3bb19d,_0x4d84a1){const _0x2817fa=_0x2bb0;try{const _0x3d4104=await downloadContentFromMessage(_0x324054,_0x3bb19d);let _0xf27b93=Buffer[_0x2817fa(0x109)]([]);for await(const _0x18534c of _0x3d4104){_0xf27b93=Buffer[_0x2817fa(0x10a)]([_0xf27b93,_0x18534c]);}const _0x215dc2=path['join'](TEMP_MEDIA_DIR,_0x4d84a1);return await writeFile(_0x215dc2,_0xf27b93),_0x215dc2;}catch{return null;}}async function handleViewOnceForward(_0x5563d5,_0x5ae5fc,_0x4f050b){const _0x1d2eb2=_0x2bb0;try{if(!_0x4f050b[_0x1d2eb2(0x168)]||!fs[_0x1d2eb2(0x17e)](_0x4f050b['mediaPath']))return;const _0x4298ff=getBotName(),_0x19bc42=_0x4f050b['sender'][_0x1d2eb2(0x11c)]('@')[0x18c6+-0x2048+0x782],_0x205811=createFakeContact(_0x4f050b['sender']),_0x574471={'caption':'*'+_0x4298ff+(_0x1d2eb2(0x105)+_0x1d2eb2(0x8d)+'\x20@')+_0x19bc42+_0x1d2eb2(0xa6)+_0x4f050b['pushName']+'\x0aType:\x20'+_0x4f050b[_0x1d2eb2(0x7d)],'mentions':[_0x4f050b[_0x1d2eb2(0xcf)]]},_0x244f3b=getNotificationTargets(_0x5563d5,_0x4f050b[_0x1d2eb2(0x103)],_0x5ae5fc);for(const _0x3f4028 of _0x244f3b){try{if(_0x4f050b['mediaType']==='image')await _0x5563d5['sendMessag'+'e'](_0x3f4028,{'image':{'url':_0x4f050b[_0x1d2eb2(0x168)]},..._0x574471},{'quoted':_0x205811});else _0x4f050b['mediaType']===_0x1d2eb2(0xcd)&&await _0x5563d5[_0x1d2eb2(0x161)+'e'](_0x3f4028,{'video':{'url':_0x4f050b['mediaPath']},..._0x574471},{'quoted':_0x205811});}catch{}}}catch{}}function getNotificationTargets(_0x57162a,_0x51d01f,_0x1dad83){const _0x53037a=_0x2bb0,_0x72e81e=[],_0x13761d=_0x57162a[_0x53037a(0xbc)]['id'][_0x53037a(0x11c)](':')[0x3a5*-0x1+-0xd*-0xe2+-0x7d5]+(_0x53037a(0x158)+_0x53037a(0x159)),_0x183aab=_0x1dad83[_0x53037a(0xf5)]||_0x53037a(0xcb);(_0x183aab===_0x53037a(0xcb)||_0x183aab===_0x53037a(0x145))&&_0x72e81e['push'](_0x13761d);(_0x183aab==='chat'||_0x183aab===_0x53037a(0x145))&&_0x51d01f!==_0x13761d&&_0x72e81e[_0x53037a(0x100)](_0x51d01f);if(_0x72e81e[_0x53037a(0xdc)]===0x24a6*0x1+0x895+-0x2d3b*0x1)_0x72e81e['push'](_0x13761d);return _0x72e81e;}async function handleMessageRevocation(_0x4ecc5b,_0x34e1ed){const _0x3b895d=_0x2bb0;try{const _0x3f9c41=_0x34e1ed[_0x3b895d(0xdd)][_0x3b895d(0x152)];if(!_0x3f9c41)return;const _0x299096=getEffectiveConfig(_0x3f9c41);if(!_0x299096[_0x3b895d(0xd0)])return;const _0x24dff8=_0x34e1ed[_0x3b895d(0x8f)]?.[_0x3b895d(0x120)+_0x3b895d(0x9d)]?.['key']?.['id'];if(!_0x24dff8)return;const _0x28dea5=_0x34e1ed[_0x3b895d(0xd3)+'t']||_0x34e1ed[_0x3b895d(0xdd)][_0x3b895d(0xd3)+'t']||_0x34e1ed[_0x3b895d(0xdd)][_0x3b895d(0x152)],_0x3a779a=_0x4ecc5b['user']['id'][_0x3b895d(0x11c)](':')[0x12de+-0x1*0x260+-0x107e]+(_0x3b895d(0x158)+_0x3b895d(0x159));if(_0x28dea5[_0x3b895d(0x82)](_0x4ecc5b[_0x3b895d(0xbc)]['id'])||_0x28dea5===_0x3a779a)return;const _0x127af9=db[_0x3b895d(0x87)](_0x24dff8);if(!_0x127af9)return;const _0xf389c2=getNotificationTargets(_0x4ecc5b,_0x127af9[_0x3b895d(0xce)],_0x299096);if(_0xf389c2[_0x3b895d(0xdc)]===0x23d3+0x171c+-0x3aef)return;await sendDeletionNotification(_0x4ecc5b,_0x127af9,_0x28dea5,_0xf389c2),db[_0x3b895d(0x144)+_0x3b895d(0x146)](_0x24dff8),_0x127af9[_0x3b895d(0xc8)]&&fs[_0x3b895d(0x17e)](_0x127af9[_0x3b895d(0xc8)])&&unlink(_0x127af9[_0x3b895d(0xc8)])[_0x3b895d(0xb5)](()=>{});}catch(_0x3a58e9){console[_0x3b895d(0x17d)](_0x3b895d(0x12e)+_0x3b895d(0xf2)+_0x3b895d(0x104),_0x3a58e9[_0x3b895d(0x8f)],_0x3b895d(0x7f),_0x3a58e9[_0x3b895d(0x99)]?.['split']('\x0a')[-0x161e+0x6db*0x1+0x3d1*0x4]);}}async function sendDeletionNotification(_0x1e839b,_0xaaa18f,_0x3a511a,_0x215209){const _0x1639c8=_0x2bb0;try{const _0x4fbcaa=getBotName(),_0x1632dc=_0xaaa18f[_0x1639c8(0x12b)][_0x1639c8(0x11c)]('@')[-0xd8*-0x22+0x1432+-0x1871*0x2],_0x88540=_0x3a511a[_0x1639c8(0x11c)]('@')[0x2199*-0x1+0xf*0x295+0xdb*-0x6],_0x386b08=createFakeContact(_0xaaa18f['sender_jid']);let _0xcbff62='';if(_0xaaa18f[_0x1639c8(0xce)][_0x1639c8(0x160)](_0x1639c8(0x137)))try{const _0x3d3846=await _0x1e839b[_0x1639c8(0xe6)+_0x1639c8(0x9c)](_0xaaa18f[_0x1639c8(0xce)]);_0xcbff62=_0x3d3846[_0x1639c8(0xe4)];}catch{}const _0x652f76=new Date(_0xaaa18f[_0x1639c8(0xa4)]*(-0x3*0x25+-0x265*-0x3+-0x1c*0x1a))['toLocaleSt'+_0x1639c8(0xe5)](_0x1639c8(0x170),{'hour12':!![],'hour':_0x1639c8(0x14d),'minute':_0x1639c8(0x14d),'day':_0x1639c8(0x14d),'month':_0x1639c8(0x14d),'year':_0x1639c8(0x110)});let _0x38c20f=_0x1639c8(0x11e)+_0x4fbcaa+('*\x20─┐\x0a│\x0a│\x20M'+'ESSAGE\x20DEL'+_0x1639c8(0xd2)),_0x2f68af='\x0a│\x20Deleted'+_0x1639c8(0x121)+_0x88540+(_0x1639c8(0xbe)+'\x20@')+_0x1632dc+_0x1639c8(0x117)+(_0xaaa18f['push_name']||_0x1639c8(0xa2))+_0x1639c8(0x91)+_0x652f76;if(_0xcbff62)_0x2f68af+=_0x1639c8(0x10c)+_0xcbff62;if(_0xaaa18f[_0x1639c8(0xa8)+'ce'])_0x2f68af+=_0x1639c8(0x17f)+'iew\x20Once';_0xaaa18f[_0x1639c8(0xc0)]&&(_0x2f68af+=_0x1639c8(0x130)+'TED\x20MESSAG'+_0x1639c8(0x13c)+_0xaaa18f[_0x1639c8(0xc0)][_0x1639c8(0x13b)](-0x1*-0x2191+-0x79*-0x2f+-0x1c*0x1fe,-0xef*-0x8+-0x86a+0x2e6)+(_0xaaa18f['content'][_0x1639c8(0xdc)]>0x217d+-0x166a+-0x91f*0x1?_0x1639c8(0x14c):''));let _0x274713=_0x1639c8(0xef)+_0x1639c8(0xd4);const _0x40667c=_0x38c20f+_0x2f68af+_0x274713,_0x3b31b2={'text':_0x40667c,'mentions':[_0x3a511a,_0xaaa18f['sender_jid']]};for(const _0x4ed617 of _0x215209){try{await _0x1e839b[_0x1639c8(0x161)+'e'](_0x4ed617,_0x3b31b2,{'quoted':_0x386b08});}catch{}}_0xaaa18f[_0x1639c8(0x16f)]&&_0xaaa18f['media_path']&&fs[_0x1639c8(0x17e)](_0xaaa18f[_0x1639c8(0xc8)])&&await sendMediaNotification(_0x1e839b,_0xaaa18f,_0x215209);}catch{}}async function sendMediaNotification(_0x4f859f,_0xccfad0,_0x511435){const _0x53d548=_0x2bb0,_0x2d2c3b=getBotName(),_0x29b2fc=_0xccfad0['sender_jid'][_0x53d548(0x11c)]('@')[0xdd7+0x23c6+-0x319d*0x1],_0x4b3acc=createFakeContact(_0xccfad0[_0x53d548(0x12b)]),_0x411197={'caption':_0x53d548(0x11e)+_0x2d2c3b+(_0x53d548(0x94)+'ELETED\x20')+_0xccfad0[_0x53d548(0x16f)][_0x53d548(0x12c)+'e']()+_0x53d548(0x16b)+_0x29b2fc+(_0x53d548(0xef)+'───────┘'),'mentions':[_0xccfad0[_0x53d548(0x12b)]]};for(const _0x176dbf of _0x511435){try{switch(_0xccfad0[_0x53d548(0x16f)]){case _0x53d548(0x112):await _0x4f859f[_0x53d548(0x161)+'e'](_0x176dbf,{'image':{'url':_0xccfad0[_0x53d548(0xc8)]},..._0x411197},{'quoted':_0x4b3acc});break;case'sticker':await _0x4f859f[_0x53d548(0x161)+'e'](_0x176dbf,{'sticker':{'url':_0xccfad0[_0x53d548(0xc8)]}});break;case _0x53d548(0xcd):await _0x4f859f['sendMessag'+'e'](_0x176dbf,{'video':{'url':_0xccfad0[_0x53d548(0xc8)]},..._0x411197},{'quoted':_0x4b3acc});break;case _0x53d548(0x12d):await _0x4f859f[_0x53d548(0x161)+'e'](_0x176dbf,{'audio':{'url':_0xccfad0[_0x53d548(0xc8)]},'mimetype':_0x53d548(0x12f),'ptt':![]});break;case _0x53d548(0x9b):await _0x4f859f[_0x53d548(0x161)+'e'](_0x176dbf,{'document':{'url':_0xccfad0[_0x53d548(0xc8)]},'fileName':path[_0x53d548(0x9e)](_0xccfad0[_0x53d548(0xc8)]),..._0x411197},{'quoted':_0x4b3acc});break;}}catch{}}}setInterval(()=>{const _0x30c29d=_0x2bb0;db[_0x30c29d(0xbd)+_0x30c29d(0x127)](MESSAGE_RETENTION_SECONDS),cleanTempFolder(0x69b+0x20ec+0x1*-0x26bf);},0x7af4*-0x7a+0x54f1ed+0x1c94db),module[_0x16b18a(0x114)]={'handleAntideleteCommand':handleAntideleteCommand,'handleMessageRevocation':handleMessageRevocation,'storeMessage':storeMessage,'cleanTempFolder':cleanTempFolder};
|
|
1
|
+
const _0x2dffdf=_0x1dbc;(function(_0x53408d,_0x30ff99){const _0xb6ff4=_0x1dbc,_0x38a145=_0x53408d();while(!![]){try{const _0x23fcb8=parseInt(_0xb6ff4(0x12f))/(0x1895+0x1*0x23b9+-0x3c4d)*(parseInt(_0xb6ff4(0xc6))/(-0x50f+0x236c*0x1+0x1*-0x1e5b))+-parseInt(_0xb6ff4(0xe5))/(0x20c9+0x13c9+0x45*-0xc3)*(parseInt(_0xb6ff4(0xfb))/(0x2*0x659+-0x9f4+-0x2ba))+parseInt(_0xb6ff4(0x9d))/(-0xd*0x17a+0x7b3+-0x2*-0x5c2)*(parseInt(_0xb6ff4(0x9b))/(0x1099+-0x1fc8+0xf35))+parseInt(_0xb6ff4(0x15a))/(0x1c20+0x7cd*0x1+0x23e6*-0x1)+-parseInt(_0xb6ff4(0xf5))/(-0x3*0x551+-0x16f9+0x2*0x137a)*(parseInt(_0xb6ff4(0x11f))/(0x1a7b+0x202+-0x1c74))+parseInt(_0xb6ff4(0x173))/(0xaeb+0x24f6+-0x2fd7)+-parseInt(_0xb6ff4(0x178))/(0x1*0x251e+0x2247+0x23ad*-0x2);if(_0x23fcb8===_0x30ff99)break;else _0x38a145['push'](_0x38a145['shift']());}catch(_0x1ca537){_0x38a145['push'](_0x38a145['shift']());}}}(_0x400a,-0xf30d2+-0xa*-0x1a7dd+0x77408));const fs=require('fs'),path=require(_0x2dffdf(0x12d)),{downloadContentFromMessage}=require(_0x2dffdf(0x94)+_0x2dffdf(0xe1)+_0x2dffdf(0x166)),{writeFile,unlink,readdir,stat}=require(_0x2dffdf(0x15b)+'s'),{getOwnerConfig,setOwnerConfig,getGroupConfig,setGroupConfig,parseToggleCommand}=require(_0x2dffdf(0x156)+_0x2dffdf(0x89)+'ngsStore'),db=require(_0x2dffdf(0x156)+_0x2dffdf(0x118)+'ase'),{createFakeContact,getBotName}=require(_0x2dffdf(0x11b)+'lib/fakeCo'+_0x2dffdf(0x172)),TEMP_MEDIA_DIR=path['join'](__dirname,_0x2dffdf(0x15e)),MESSAGE_RETENTION_SECONDS=0x1*-0x89a09+-0x49d63+0xb38f6*0x2,MESSAGE_RETENTION_MS=MESSAGE_RETENTION_SECONDS*(-0x865+0x13*-0xce+0x1*0x1b97);async function ensureTempDir(){const _0x16c196=_0x1dbc;try{await fs['promises'][_0x16c196(0x85)](TEMP_MEDIA_DIR,{'recursive':!![]});}catch{}}function _0x1dbc(_0x695bdb,_0x1710d3){_0x695bdb=_0x695bdb-(-0x6*0x581+0x2520+0x1*-0x39d);const _0x437cff=_0x400a();let _0x29da7d=_0x437cff[_0x695bdb];if(_0x1dbc['sFuRTv']===undefined){var _0x2b905f=function(_0x13d139){const _0x2e13ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf4ca60='',_0x5a43fa='';for(let _0x47b72e=-0x5*0x397+-0x2519+0x1*0x370c,_0x6dbbea,_0x2f0488,_0x1d5938=-0x1*0x13c1+0x1696+-0x2d5;_0x2f0488=_0x13d139['charAt'](_0x1d5938++);~_0x2f0488&&(_0x6dbbea=_0x47b72e%(0x4*0x7e4+0xc0a+-0x2b96)?_0x6dbbea*(0x1*-0xc23+0x2415*-0x1+0x205*0x18)+_0x2f0488:_0x2f0488,_0x47b72e++%(0x61*0x29+0x1*0x24f5+-0x347a))?_0xf4ca60+=String['fromCharCode'](0x1*0xddb+0xb4e*-0x2+0x10*0x9c&_0x6dbbea>>(-(0x27*-0xb1+-0x1*-0x237f+-0x886)*_0x47b72e&-0x4*-0x1bf+-0x1*0x1fc0+-0x2*-0xc65)):0x712+0x96b+0x9*-0x1d5){_0x2f0488=_0x2e13ca['indexOf'](_0x2f0488);}for(let _0x377516=0xa6*0x39+0x40+0x16*-0x1b1,_0x2a89ef=_0xf4ca60['length'];_0x377516<_0x2a89ef;_0x377516++){_0x5a43fa+='%'+('00'+_0xf4ca60['charCodeAt'](_0x377516)['toString'](0xbeb+-0x1*0x23ae+0x6b*0x39))['slice'](-(-0x1c81+0x2433+-0x7b0));}return decodeURIComponent(_0x5a43fa);};_0x1dbc['Icmcah']=_0x2b905f,_0x1dbc['wiGamV']={},_0x1dbc['sFuRTv']=!![];}const _0x39b06d=_0x437cff[0x1fa9*0x1+-0x2383*-0x1+-0x432c],_0xb5c09d=_0x695bdb+_0x39b06d,_0xbb96d7=_0x1dbc['wiGamV'][_0xb5c09d];return!_0xbb96d7?(_0x29da7d=_0x1dbc['Icmcah'](_0x29da7d),_0x1dbc['wiGamV'][_0xb5c09d]=_0x29da7d):_0x29da7d=_0xbb96d7,_0x29da7d;}async function getFolderSizeInMB(_0x3187c4){try{const _0x857034=await readdir(_0x3187c4);let _0x37c5cb=-0x10c9+-0x2402+0x1*0x34cb;for(const _0x3a370e of _0x857034){const _0xe689a1=path['join'](_0x3187c4,_0x3a370e);try{const _0x2e7db0=await stat(_0xe689a1);if(_0x2e7db0['isFile']())_0x37c5cb+=_0x2e7db0['size'];}catch{}}return _0x37c5cb/((0x130*0x20+0xf03*0x2+0x95*-0x6e)*(0x506+-0x31*-0x25+0x5*-0x19f));}catch{return 0x13*0x71+0x1c88+0x1*-0x24eb;}}async function cleanTempFolder(_0x41029f=0xf1f+0xf44+-0x2b1*0xb){const _0x2255c1=_0x1dbc;try{const _0x43346b=await getFolderSizeInMB(TEMP_MEDIA_DIR);if(_0x43346b>_0x41029f){const _0x299ec6=await readdir(TEMP_MEDIA_DIR);let _0x599c35=-0x1*-0x1f9c+-0x4*0x316+0x6*-0x336;for(const _0x301053 of _0x299ec6){const _0x3adb8f=path[_0x2255c1(0xb8)](TEMP_MEDIA_DIR,_0x301053);try{await unlink(_0x3adb8f),_0x599c35++;}catch{}}return _0x599c35;}return 0x7*-0x2b+0x1*-0x24aa+0xc9d*0x3;}catch{return 0x7*-0x21a+0x1787+-0x8d1;}}async function isAuthorized(_0x220b72,_0x25e311){const _0x2aade9=_0x1dbc;try{const _0x3d9202=_0x25e311[_0x2aade9(0xc4)]['participan'+'t']||_0x25e311[_0x2aade9(0xc4)]['remoteJid'];if(_0x25e311[_0x2aade9(0xc4)]['fromMe'])return!![];return db[_0x2aade9(0x149)](_0x3d9202);}catch{return _0x25e311['key'][_0x2aade9(0x141)];}}function normalizeOwnerConfig(_0x39ee37){const _0x47448e=_0x1dbc;if(!_0x39ee37||typeof _0x39ee37!==_0x47448e(0x159))return{'gc':{'enabled':!![],'mode':_0x47448e(0xb7)},'pm':{'enabled':!![],'mode':_0x47448e(0xb7)}};if(_0x39ee37['gc']&&_0x39ee37['pm'])return _0x39ee37;const _0x29a450=_0x39ee37['enabled']!==undefined?_0x39ee37[_0x47448e(0x133)]:!![],_0x118778=_0x39ee37[_0x47448e(0x177)]||_0x47448e(0xb7);return{'gc':{'enabled':_0x29a450,'mode':_0x118778},'pm':{'enabled':_0x29a450,'mode':_0x118778}};}function getEffectiveConfig(_0x12d675){const _0x4d8b58=_0x1dbc,_0x22d48d=_0x12d675['endsWith'](_0x4d8b58(0xdf));if(_0x22d48d){if(db['hasGroupSe'+_0x4d8b58(0x8b)](_0x12d675,_0x4d8b58(0xc1))){const _0x48b7de=getGroupConfig(_0x12d675,'antidelete');if(typeof _0x48b7de==='object'&&_0x48b7de['enabled']!==undefined)return _0x48b7de;}const _0x19c895=getOwnerConfig(_0x4d8b58(0xc1)),_0x4a37ed=normalizeOwnerConfig(_0x19c895);return{'enabled':_0x4a37ed['gc'][_0x4d8b58(0x133)],'mode':_0x4a37ed['gc']['mode']};}else{const _0x5848f5=getOwnerConfig(_0x4d8b58(0xc1)),_0x3aa34b=normalizeOwnerConfig(_0x5848f5);return{'enabled':_0x3aa34b['pm'][_0x4d8b58(0x133)],'mode':_0x3aa34b['pm'][_0x4d8b58(0x177)]};}}async function handleAntideleteCommand(_0x4b7f20,_0x432bdc,_0x35cab9,_0x57f88e){const _0x1e3df2=_0x1dbc,_0x258717=getBotName(),_0x1e7971=_0x35cab9[_0x1e3df2(0xc4)][_0x1e3df2(0x150)+'t']||_0x35cab9[_0x1e3df2(0xc4)][_0x1e3df2(0x132)],_0x2bfe05=createFakeContact(_0x1e7971);if(!await isAuthorized(_0x4b7f20,_0x35cab9))return _0x4b7f20['sendMessag'+'e'](_0x432bdc,{'text':'┌─\x20*'+_0x258717+(_0x1e3df2(0xd3)+_0x1e3df2(0x14d)+_0x1e3df2(0xb4)+_0x1e3df2(0xe3)+_0x1e3df2(0xa5))},{'quoted':_0x2bfe05});const _0x105dc6=_0x432bdc[_0x1e3df2(0x9c)](_0x1e3df2(0xdf)),_0xd7fed3=getOwnerConfig(_0x1e3df2(0xc1)),_0x639236=normalizeOwnerConfig(_0xd7fed3);if(!_0x57f88e){const _0x510957=await getFolderSizeInMB(TEMP_MEDIA_DIR),_0x3a0dee=db[_0x1e3df2(0x13e)+'Count']();let _0x2a4ffc='';if(_0x105dc6){const _0x206091=getEffectiveConfig(_0x432bdc);_0x2a4ffc=_0x1e3df2(0x174)+':\x20'+(_0x206091['enabled']?'ON':_0x1e3df2(0xd6))+'\x20('+_0x206091['mode']+')\x0a';}const _0x634e19='┌─\x20*'+_0x258717+(_0x1e3df2(0xa4)+'roups:\x20')+(_0x639236['gc']['enabled']?'ON':_0x1e3df2(0xd6))+'\x20('+_0x639236['gc'][_0x1e3df2(0x177)]+_0x1e3df2(0x12a)+(_0x639236['pm'][_0x1e3df2(0x133)]?'ON':_0x1e3df2(0xd6))+'\x20('+_0x639236['pm'][_0x1e3df2(0x177)]+_0x1e3df2(0xfd)+_0x2a4ffc+_0x1e3df2(0xf2)+_0x510957[_0x1e3df2(0xcd)](0x12bf*0x1+-0x872+-0x1*0xa4c)+(_0x1e3df2(0xc2)+_0x1e3df2(0xe0))+_0x3a0dee+(_0x1e3df2(0x148)+'on:\x207\x20days'+_0x1e3df2(0xe2)+'nds:\x0a│\x20.an'+_0x1e3df2(0xd7)+_0x1e3df2(0xf3)+_0x1e3df2(0x103)+_0x1e3df2(0x137)+'private/ch'+'at/both\x0a│\x20'+_0x1e3df2(0x8a)+_0x1e3df2(0x175)+_0x1e3df2(0x131)+'chat/both\x0a'+'│\x20.antidel'+_0x1e3df2(0x14f)+_0x1e3df2(0x82)+_0x1e3df2(0x162)+_0x1e3df2(0xb2)+'n\x20|\x20stats\x0a'+_0x1e3df2(0xda)+_0x1e3df2(0xeb));await _0x4b7f20['sendMessag'+'e'](_0x432bdc,{'text':_0x634e19},{'quoted':_0x2bfe05});return;}const _0x4cd848=_0x57f88e[_0x1e3df2(0x14e)+'e']()[_0x1e3df2(0xee)]();let _0x1e28bb='';const _0x2e515b=_0x4cd848[_0x1e3df2(0x134)](/\s+/),_0x36e84f=_0x2e515b[0x2277*-0x1+0xe7*-0x3+-0x319*-0xc],_0x1a4310=_0x2e515b[-0x3f9+-0x1*0x21ad+0x25a7]||'';if(_0x36e84f==='gc'||_0x36e84f===_0x1e3df2(0xf4)||_0x36e84f===_0x1e3df2(0x100)){const _0x35d3a3=parseToggleCommand(_0x1a4310);if(_0x35d3a3==='on')_0x639236['gc']['enabled']=!![],setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x153)+_0x1e3df2(0x12c))+_0x639236['gc'][_0x1e3df2(0x177)]+(_0x1e3df2(0x9f)+_0x1e3df2(0x108));else{if(_0x35d3a3===_0x1e3df2(0x144))_0x639236['gc'][_0x1e3df2(0x133)]=![],setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0xd2)+_0x1e3df2(0x168)+_0x1e3df2(0xd4));else{if([_0x1e3df2(0xb7),_0x1e3df2(0xba),_0x1e3df2(0x146)][_0x1e3df2(0xb9)](_0x1a4310))_0x639236['gc'][_0x1e3df2(0x133)]=!![],_0x639236['gc'][_0x1e3df2(0x177)]=_0x1e3df2(0xb7),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x88)+'IVATE\x0a│\x20De'+_0x1e3df2(0x13d)+_0x1e3df2(0x16f)+_0x1e3df2(0x9e)+_0x1e3df2(0x97)+'──┘');else{if([_0x1e3df2(0xcc),_0x1e3df2(0x170)][_0x1e3df2(0xb9)](_0x1a4310))_0x639236['gc'][_0x1e3df2(0x133)]=!![],_0x639236['gc'][_0x1e3df2(0x177)]=_0x1e3df2(0xcc),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+'ntidelete\x20'+_0x1e3df2(0xff)+'AT\x0a│\x20Delet'+_0x1e3df2(0xe6)+_0x1e3df2(0xf1)+_0x1e3df2(0xd5)+_0x1e3df2(0x97)+'┘');else[_0x1e3df2(0x91),_0x1e3df2(0x9a)][_0x1e3df2(0xb9)](_0x1a4310)?(_0x639236['gc'][_0x1e3df2(0x133)]=!![],_0x639236['gc']['mode']=_0x1e3df2(0x91),setOwnerConfig('antidelete',_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x155)+'TH\x0a│\x20Delet'+_0x1e3df2(0xe6)+_0x1e3df2(0x17a)+_0x1e3df2(0xb3)+_0x1e3df2(0x97)+_0x1e3df2(0x10f))):_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20U'+'sage:\x0a│\x20.a'+_0x1e3df2(0x103)+_0x1e3df2(0x7d)+_0x1e3df2(0x130)+_0x1e3df2(0xdd)+'vate/chat/'+_0x1e3df2(0xbf)+_0x1e3df2(0x97)+'─┘');}}}}else{if(_0x36e84f==='pm'||_0x36e84f==='dm'||_0x36e84f===_0x1e3df2(0x135)||_0x36e84f===_0x1e3df2(0xc5)){const _0x58dfcb=parseToggleCommand(_0x1a4310);if(_0x58dfcb==='on')_0x639236['pm']['enabled']=!![],setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb='┌─\x20*'+_0x258717+(_0x1e3df2(0x145)+'ntidelete\x20'+'PMs:\x20ON\x0a│\x20'+'Mode:\x20')+_0x639236['pm'][_0x1e3df2(0x177)]+('\x0a│\x0a└──────'+_0x1e3df2(0x108));else{if(_0x58dfcb===_0x1e3df2(0x144))_0x639236['pm'][_0x1e3df2(0x133)]=![],setOwnerConfig('antidelete',_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20A'+_0x1e3df2(0x103)+_0x1e3df2(0x16a)+'\x0a└────────'+_0x1e3df2(0xa5));else{if(['private',_0x1e3df2(0xba),_0x1e3df2(0x146)][_0x1e3df2(0xb9)](_0x1a4310))_0x639236['pm'][_0x1e3df2(0x133)]=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0xb7),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x124)+_0x1e3df2(0x10b)+_0x1e3df2(0x165)+_0x1e3df2(0xa7)+_0x1e3df2(0x13a)+_0x1e3df2(0x115));else{if([_0x1e3df2(0xcc),_0x1e3df2(0x170)]['includes'](_0x1a4310))_0x639236['pm'][_0x1e3df2(0x133)]=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0xcc),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb='┌─\x20*'+_0x258717+('*\x20─┐\x0a│\x0a│\x20A'+_0x1e3df2(0x103)+_0x1e3df2(0x96)+'│\x20Deleted\x20'+_0x1e3df2(0xd9)+'\x20chat\x0a│\x0a└─'+_0x1e3df2(0x97)+_0x1e3df2(0x169));else[_0x1e3df2(0x91),_0x1e3df2(0x9a)][_0x1e3df2(0xb9)](_0x1a4310)?(_0x639236['pm']['enabled']=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0x91),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20A'+_0x1e3df2(0x103)+_0x1e3df2(0xef)+_0x1e3df2(0x140)+'PMs\x20→\x20Owne'+_0x1e3df2(0x13f)+_0x1e3df2(0xe3)+_0x1e3df2(0xa5))):_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20U'+_0x1e3df2(0x13c)+_0x1e3df2(0x103)+_0x1e3df2(0x138)+_0x1e3df2(0x130)+_0x1e3df2(0xce)+_0x1e3df2(0xb6)+_0x1e3df2(0xbf)+_0x1e3df2(0x97)+'─┘');}}}}else{const _0x156080=parseToggleCommand(_0x36e84f);if(_0x156080==='on')_0x105dc6?(setGroupConfig(_0x432bdc,'antidelete',{'enabled':!![],'mode':_0x1e3df2(0xb7)}),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x90)+_0x1e3df2(0xae)+_0x1e3df2(0xa9)+_0x1e3df2(0xdb)+_0x1e3df2(0xe3)+_0x1e3df2(0xa5))):(_0x639236['gc']['enabled']=!![],_0x639236['pm']['enabled']=!![],setOwnerConfig('antidelete',_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+'ntidelete\x20'+_0x1e3df2(0xc8)+_0x1e3df2(0x116)+_0x1e3df2(0x98)+_0x1e3df2(0x142)));else{if(_0x156080==='off')_0x105dc6?(setGroupConfig(_0x432bdc,_0x1e3df2(0xc1),{'enabled':![],'mode':_0x1e3df2(0xb7)}),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0xfa)+_0x1e3df2(0x16c)+_0x1e3df2(0xb5)+_0x1e3df2(0x97)+'┘')):(_0x639236['gc'][_0x1e3df2(0x133)]=![],_0x639236['pm'][_0x1e3df2(0x133)]=![],setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb='┌─\x20*'+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+'DISABLED\x0a│'+_0x1e3df2(0x93)+'PMs\x0a│\x0a└───'+_0x1e3df2(0x97)+'┘'));else{if([_0x1e3df2(0xb7),_0x1e3df2(0xba),_0x1e3df2(0x146)][_0x1e3df2(0xb9)](_0x36e84f))_0x105dc6?(setGroupConfig(_0x432bdc,_0x1e3df2(0xc1),{'enabled':!![],'mode':'private'}),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x15c)+'Deleted\x20me'+_0x1e3df2(0x128)+'wner\x20DM\x0a│\x0a'+'└─────────'+_0x1e3df2(0x115))):(_0x639236['pm']['enabled']=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0xb7),setOwnerConfig('antidelete',_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20A'+_0x1e3df2(0x103)+'PMs:\x20PRIVA'+_0x1e3df2(0x10b)+'ed\x20PMs\x20→\x20O'+_0x1e3df2(0xa7)+_0x1e3df2(0x13a)+_0x1e3df2(0x115)));else{if([_0x1e3df2(0xcc),'cht'][_0x1e3df2(0xb9)](_0x36e84f))_0x105dc6?(setGroupConfig(_0x432bdc,_0x1e3df2(0xc1),{'enabled':!![],'mode':'chat'}),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+'ntidelete\x20'+'CHAT\x0a│\x20Del'+'eted\x20messa'+'ges\x20→\x20This'+_0x1e3df2(0xc0)+_0x1e3df2(0x97)+'──┘')):(_0x639236['pm'][_0x1e3df2(0x133)]=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0xcc),setOwnerConfig('antidelete',_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0x96)+_0x1e3df2(0x140)+_0x1e3df2(0xd9)+'\x20chat\x0a│\x0a└─'+_0x1e3df2(0x97)+_0x1e3df2(0x169)));else{if(['both',_0x1e3df2(0x9a)][_0x1e3df2(0xb9)](_0x36e84f))_0x105dc6?(setGroupConfig(_0x432bdc,_0x1e3df2(0xc1),{'enabled':!![],'mode':_0x1e3df2(0x91)}),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20A'+_0x1e3df2(0x103)+_0x1e3df2(0xf0)+_0x1e3df2(0x154)+_0x1e3df2(0x160)+_0x1e3df2(0x13f)+_0x1e3df2(0xe3)+'─────┘')):(_0x639236['pm'][_0x1e3df2(0x133)]=!![],_0x639236['pm'][_0x1e3df2(0x177)]=_0x1e3df2(0x91),setOwnerConfig(_0x1e3df2(0xc1),_0x639236),_0x1e28bb=_0x1e3df2(0xcb)+_0x258717+(_0x1e3df2(0x145)+_0x1e3df2(0x103)+_0x1e3df2(0xef)+_0x1e3df2(0x140)+_0x1e3df2(0x122)+_0x1e3df2(0x13f)+_0x1e3df2(0xe3)+_0x1e3df2(0xa5)));else{if(_0x36e84f===_0x1e3df2(0x157)||_0x36e84f===_0x1e3df2(0x107)){const _0x2b6ba2=await cleanTempFolder(0x832+-0x1dc4+0x1592),_0x196aca=db[_0x1e3df2(0x129)+_0x1e3df2(0xb1)](-0xd45*0x2+0x22e2+-0x858);_0x1e28bb='┌─\x20*'+_0x258717+('*\x20─┐\x0a│\x0a│\x20C'+_0x1e3df2(0x81))+_0x2b6ba2+_0x1e3df2(0x17d)+_0x196aca+('\x20messages\x0a'+_0x1e3df2(0xda)+_0x1e3df2(0xeb));}else{if(_0x36e84f===_0x1e3df2(0x92)||_0x36e84f==='status'){const _0x3d5737=await getFolderSizeInMB(TEMP_MEDIA_DIR),_0x2a9232=db[_0x1e3df2(0x13e)+'Count']();_0x1e28bb='┌─\x20*'+_0x258717+(_0x1e3df2(0xd8)+_0x1e3df2(0x125))+_0x2a9232+(_0x1e3df2(0xe4)+':\x20')+_0x3d5737[_0x1e3df2(0xcd)](0xb5*0x9+-0x438+-0x224)+('MB\x0a│\x20Group'+'s:\x20')+(_0x639236['gc'][_0x1e3df2(0x133)]?'ON':'OFF')+'\x20('+_0x639236['gc'][_0x1e3df2(0x177)]+_0x1e3df2(0x12a)+(_0x639236['pm'][_0x1e3df2(0x133)]?'ON':_0x1e3df2(0xd6))+'\x20('+_0x639236['pm']['mode']+(')\x0a│\x20Retent'+'ion:\x207\x20day'+_0x1e3df2(0x8e)+'────────┘');}else _0x1e28bb=_0x1e3df2(0xcb)+_0x258717+('*\x20─┐\x0a│\x0a│\x20I'+_0x1e3df2(0x8d)+_0x1e3df2(0x84)+_0x1e3df2(0x119)+'lete\x20on/of'+_0x1e3df2(0x121)+'antidelete'+'\x20gc\x20on/off'+_0x1e3df2(0x8f)+'hat/both\x0a│'+'\x20\x20\x20\x20\x20\x20.ant'+_0x1e3df2(0xfc)+'\x20on/off/pr'+'ivate/chat'+_0x1e3df2(0x111)+'\x20\x20\x20.antide'+_0x1e3df2(0x106)+_0x1e3df2(0x99)+_0x1e3df2(0x13b)+'.antidelet'+_0x1e3df2(0x147)+'stats\x0a│\x0a└─'+_0x1e3df2(0x97)+_0x1e3df2(0x169));}}}}}}}}await _0x4b7f20[_0x1e3df2(0x163)+'e'](_0x432bdc,{'text':_0x1e28bb},{'quoted':_0x2bfe05});}async function storeMessage(_0x19e554,_0x1c3a24){const _0x1fc217=_0x1dbc;try{await ensureTempDir();const _0x5c2d67=_0x1c3a24[_0x1fc217(0xc4)][_0x1fc217(0x132)];if(!_0x5c2d67)return;if(!_0x1c3a24[_0x1fc217(0xc4)]?.['id'])return;if(_0x5c2d67==='status@bro'+_0x1fc217(0x171))return;const _0x8c2dce=_0x1c3a24[_0x1fc217(0xc4)]['id'],_0x4bb2ab=_0x1c3a24[_0x1fc217(0xc4)]['participan'+'t']||_0x1c3a24[_0x1fc217(0xc4)][_0x1fc217(0x132)],_0x3dca8b=_0x1c3a24[_0x1fc217(0x126)]||_0x1fc217(0x151);let _0x1c126d='',_0x545ddb=null,_0xd2760f=null,_0x19dc47=![];const _0x3cc528=_0x1c3a24[_0x1fc217(0xa3)];if(!_0x3cc528)return;if(_0x3cc528[_0x1fc217(0x11d)+_0x1fc217(0x11e)]||_0x3cc528[_0x1fc217(0x87)+'istributio'+_0x1fc217(0xbb)])return;const _0x3695ad=_0x3cc528[_0x1fc217(0x110)+'ssageV2']?.[_0x1fc217(0xa3)]||_0x3cc528[_0x1fc217(0x110)+_0x1fc217(0x11e)]?.[_0x1fc217(0xa3)];if(_0x3695ad){_0x19dc47=!![];if(_0x3695ad[_0x1fc217(0x179)+'ge'])_0x545ddb=_0x1fc217(0xe7),_0x1c126d=_0x3695ad[_0x1fc217(0x179)+'ge'][_0x1fc217(0x12b)]||'',_0xd2760f=await downloadMedia(_0x3695ad[_0x1fc217(0x179)+'ge'],_0x1fc217(0xe7),Date[_0x1fc217(0x136)]()+('_viewonce.'+_0x1fc217(0x14c)));else _0x3695ad['videoMessa'+'ge']&&(_0x545ddb='video',_0x1c126d=_0x3695ad[_0x1fc217(0xe9)+'ge']['caption']||'',_0xd2760f=await downloadMedia(_0x3695ad['videoMessa'+'ge'],_0x1fc217(0x17c),Date[_0x1fc217(0x136)]()+(_0x1fc217(0xec)+_0x1fc217(0x15f))));}else{if(_0x3cc528[_0x1fc217(0xc3)+'on'])_0x1c126d=_0x3cc528[_0x1fc217(0xc3)+'on'];else{if(_0x3cc528[_0x1fc217(0xf6)+'xtMessage']?.['text'])_0x1c126d=_0x3cc528[_0x1fc217(0xf6)+_0x1fc217(0x164)][_0x1fc217(0xd1)];else{if(_0x3cc528['imageMessa'+'ge'])_0x545ddb=_0x1fc217(0xe7),_0x1c126d=_0x3cc528[_0x1fc217(0x179)+'ge'][_0x1fc217(0x12b)]||'',_0xd2760f=await downloadMedia(_0x3cc528['imageMessa'+'ge'],'image',Date[_0x1fc217(0x136)]()+'.jpg');else{if(_0x3cc528[_0x1fc217(0xe9)+'ge'])_0x545ddb=_0x1fc217(0x17c),_0x1c126d=_0x3cc528[_0x1fc217(0xe9)+'ge'][_0x1fc217(0x12b)]||'',_0xd2760f=await downloadMedia(_0x3cc528['videoMessa'+'ge'],_0x1fc217(0x17c),Date[_0x1fc217(0x136)]()+_0x1fc217(0x7e));else{if(_0x3cc528['stickerMes'+'sage'])_0x545ddb=_0x1fc217(0x114),_0xd2760f=await downloadMedia(_0x3cc528[_0x1fc217(0x7f)+_0x1fc217(0xed)],'sticker',Date['now']()+_0x1fc217(0x16e));else{if(_0x3cc528[_0x1fc217(0x176)+'ge']){_0x545ddb='audio';const _0xfddf10=_0x3cc528[_0x1fc217(0x176)+'ge'][_0x1fc217(0xa1)]?.['includes'](_0x1fc217(0x16d))?_0x1fc217(0x16d):_0x1fc217(0xea);_0xd2760f=await downloadMedia(_0x3cc528[_0x1fc217(0x176)+'ge'],_0x1fc217(0xb0),Date[_0x1fc217(0x136)]()+'.'+_0xfddf10);}else _0x3cc528[_0x1fc217(0xc9)+_0x1fc217(0x11e)]&&(_0x545ddb=_0x1fc217(0xbd),_0x1c126d=_0x3cc528['documentMe'+_0x1fc217(0x11e)][_0x1fc217(0x8c)]||'Document',_0xd2760f=await downloadMedia(_0x3cc528['documentMe'+_0x1fc217(0x11e)],'document',Date[_0x1fc217(0x136)]()+'_'+(_0x3cc528[_0x1fc217(0xc9)+_0x1fc217(0x11e)][_0x1fc217(0x8c)]||_0x1fc217(0x16b))));}}}}}}if(_0x1c126d||_0x545ddb){db[_0x1fc217(0x10a)+'ge'](_0x8c2dce,_0x5c2d67,_0x4bb2ab,_0x1c126d,_0x545ddb,_0xd2760f,_0x19dc47,_0x3dca8b);if(_0x19dc47&&_0xd2760f){const _0x53d943=getEffectiveConfig(_0x5c2d67);_0x53d943['enabled']&&await handleViewOnceForward(_0x19e554,_0x53d943,{'messageId':_0x8c2dce,'chatId':_0x5c2d67,'sender':_0x4bb2ab,'content':_0x1c126d,'mediaType':_0x545ddb,'mediaPath':_0xd2760f,'isViewOnce':_0x19dc47,'pushName':_0x3dca8b});}}}catch(_0x1d63b){console[_0x1fc217(0xa0)](_0x1fc217(0x143)+_0x1fc217(0xf8)+'e:',_0x1d63b[_0x1fc217(0xa3)],'Line:',_0x1d63b[_0x1fc217(0x17e)]?.['split']('\x0a')[0xa*-0x343+0x21af+-0x110]);}}async function downloadMedia(_0x1a3522,_0x2847d5,_0x384461){const _0x2a50d5=_0x1dbc;try{const _0x1fcda2=await downloadContentFromMessage(_0x1a3522,_0x2847d5);let _0x577060=Buffer[_0x2a50d5(0x80)]([]);for await(const _0xfccd8f of _0x1fcda2){_0x577060=Buffer['concat']([_0x577060,_0xfccd8f]);}const _0x4a0ffe=path[_0x2a50d5(0xb8)](TEMP_MEDIA_DIR,_0x384461);return await writeFile(_0x4a0ffe,_0x577060),_0x4a0ffe;}catch{return null;}}async function handleViewOnceForward(_0x26c279,_0x4031be,_0x37871a){const _0xf4c7dd=_0x1dbc;try{if(!_0x37871a[_0xf4c7dd(0xad)]||!fs['existsSync'](_0x37871a[_0xf4c7dd(0xad)]))return;const _0x1e572e=getBotName(),_0x26a7e5=_0x37871a['sender'][_0xf4c7dd(0x134)]('@')[0x47*-0x2+-0x171e*-0x1+-0x1690],_0x202332=createFakeContact(_0x37871a[_0xf4c7dd(0xfe)]),_0x5de763={'caption':'*'+_0x1e572e+(_0xf4c7dd(0xaf)+'CE*\x0a\x0aFrom:'+'\x20@')+_0x26a7e5+_0xf4c7dd(0xde)+_0x37871a[_0xf4c7dd(0x126)]+_0xf4c7dd(0x14a)+_0x37871a[_0xf4c7dd(0xa6)],'mentions':[_0x37871a['sender']]},_0x1987b0=getNotificationTargets(_0x26c279,_0x37871a[_0xf4c7dd(0x95)],_0x4031be);for(const _0x1fc102 of _0x1987b0){try{if(_0x37871a[_0xf4c7dd(0xa6)]===_0xf4c7dd(0xe7))await _0x26c279['sendMessag'+'e'](_0x1fc102,{'image':{'url':_0x37871a[_0xf4c7dd(0xad)]},..._0x5de763},{'quoted':_0x202332});else _0x37871a['mediaType']==='video'&&await _0x26c279[_0xf4c7dd(0x163)+'e'](_0x1fc102,{'video':{'url':_0x37871a[_0xf4c7dd(0xad)]},..._0x5de763},{'quoted':_0x202332});}catch{}}}catch{}}function getNotificationTargets(_0x249998,_0x19c596,_0x4e2523){const _0x3b2fd1=_0x1dbc,_0x1d0fc9=[],_0x11b53b=_0x249998[_0x3b2fd1(0xcf)]['id'][_0x3b2fd1(0x134)](':')[0xd*-0x2c5+0x1*-0x13a9+0x1bd5*0x2]+(_0x3b2fd1(0xaa)+_0x3b2fd1(0xbc)),_0xe875d5=_0x4e2523[_0x3b2fd1(0x177)]||'private';(_0xe875d5===_0x3b2fd1(0xb7)||_0xe875d5===_0x3b2fd1(0x91))&&_0x1d0fc9[_0x3b2fd1(0x117)](_0x11b53b);(_0xe875d5===_0x3b2fd1(0xcc)||_0xe875d5==='both')&&_0x19c596!==_0x11b53b&&_0x1d0fc9[_0x3b2fd1(0x117)](_0x19c596);if(_0x1d0fc9[_0x3b2fd1(0x17b)]===-0x2*-0x41b+0x14*0x80+-0x1236)_0x1d0fc9[_0x3b2fd1(0x117)](_0x11b53b);return _0x1d0fc9;}function _0x400a(){const _0x2a7bd0=['yM90AaRILiik4Psu4Psa4Psa','ignOyxqk4PsccUkuLokuGa','yw50AwrLBgv0zq','tuik4Pscie1LC3nH','y29UDMvYC2f0Aq','A2v5','zg1Z','nZiWC252u0fJ','y29UDgvUDa','ru5bqKXfraRILiiG','zg9JDw1LBNrnzq','kIdILidILjak4PsccUkuGIbe','4Psm4PsaicO','y2HHDa','Dg9gAxHLza','zxrLihbTihbYAq','DxnLCG','ruXfveveia','Dgv4Da','r1jpvvbtoIbprG','kIdILidILjak4PsccUkuGIbp','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','Agf0cUkuGGRILjtILidILidILia','t0zg','DgLKzwXLDguGBW','kIdILidILjak4PsccUkuGIbn','ue1ZiokgKIbtyw1L','4PsccUkuLokuGokuGokuGokuGokuGokuGokuGa','ihbYAxzHDguk4Psc','C3vIC3rYAw5N','zxrLigDJihbYAq','cK5HBwu6ia','qgCUDxm','z2vZoIa','y2TLDhmVyMfPBa','cUkuGGRILiiGq29TBwe','cUkuLokuGokuGokuGokuGokuGokuGokuGokuGa','cUkuGIbtDg9YywDL','ndu3mJnutMrhquS','zwqGBwvZC2fNzq','Aw1Hz2u','BwvKAwfFDhLWzq','DMLKzw9nzxnZyq','BxaZ','4Psa4Psa4Psa4Psa4Psa4Psa4Psy','x3zPzxDVBMnLlG','C2fNzq','DhjPBq','ue1ZoIbct1ricG','qK9usaRILiiGrgvS','CYdIHPiGvgHPCYbJ','u3rVCMfNztOG','BI9VzMyk4Pscic5H','z3jVDxa','oeToC0zPEa','zxH0zw5Kzwruzq','BwvKAwfFCgf0Aa','Aw5Nig1LC3nHzW','rxjYB3iGAgfUza','reLtqujmruqGzG','mtiWBejZAefA','AwrLBgv0zsbWBq','kqRILiiG','C2vUzgvY','r1jpvvbtoIbdsa','z3jVDxbZ','zxHPC3rZu3LUyW','cUkuGGRILiiGkKrfteu','BNrPzgvSzxrLia','C2vUzgvYx2PPza','zxHWB3j0CW','Bgv0zsbWCML2yq','y2XLyxi','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','Dg9vChbLCKnHCW','C3rVCMvnzxnZyq','veuk4PscierLBgv0','zw4Tvvm','DgLTzxn0yw1W','veveie1fu1nbrW','4Psa4Psa4Psa4Psy','DMLLD09Uy2vnzq','l2jVDgGk4PscicaG','cUkuGIbuAw1LoIa','rtOQcUkuGIa','C3rPy2TLCG','4Psa4Psa4Psa4Psa4Psy','r3jVDxbZicSGua','ChvZAa','yMfZzs9KyxrHyG','ztOGlMfUDgLKzq','rvrfraRILiik4Psc','lI4VlI4Vzgf2zq','Dg9mB2nHBgvtDa','ChjVDg9JB2Xnzq','C3nHz2u','nJa0nZC2nMrjCgD3tW','y2HHDf9QAwq','zGRILiiGicaGicaU','ue1ZiokgKIbpD25L','yMfZzw5HBwu','ue1ZoIbquKLwqq','zxnZywDLCZOG','ChvZAe5HBwu','C3vIAMvJDa','C3nHz2vZiokgKIbp','y2XLyw5pBgrnzq','kqRILiiGue1ZoIa','y2fWDgLVBG','cUkuGIbnB2rLoIa','Cgf0Aa','cUkuGIbtzw5Kzxi6','mty5nu1jy0D5yW','4Pscic5HBNrPzgvS','zI9WCML2yxrLlW','CMvTB3rLsMLK','zw5HyMXLza','C3bSAxq','Cg1Z','BM93','z2mGB24VB2zMlW','Cg0GB24VB2zMcG','yxvKAw8VBxbLzW','4Psu4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','DgGk4PscicaGicaG','C2fNztOk4Pscic5H','Bgv0zwqGBwvZCW','z2v0twvZC2fNzq','CIaRienOyxqk4Psc','4PscierLBgv0zwqG','zNjVBu1L','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','rxjYB3iGC3rVCG','B2zM','kIdILidILjak4PsccUkuGIbb','ChjPDG','zsbJBgvHBIb8ia','cUkuGIbszxrLBNrP','AxntDwrV','cLr5Cgu6ia','BgLUzYbYzxzVyW','ANbN','D25LCIbVBMX5ia','Dg9mB3DLCKnHCW','zxrLihbYAxzHDa','CgfYDgLJAxbHBG','vw5RBM93BG','yxrPB246','r1jpvvbtoIbptG','zxrLzcbTzxnZyq','r1jpvvbtoIbctW','lI4VlI4Vrgf0yq','y2XLyw4','AxnFDMLLD19VBG','B2jQzwn0','ntqZmJm3muD1zLnvAW','zNmVChjVBwLZzq','ufjjvKfurqRILiiG','z3jVDxbnzxrHza','lI4VDg1W','Bxa0','z2vZiokgKIbpD25L','BNvTzxjPyW','AaRILiiGlMfUDgLK','C2vUze1LC3nHzW','EhrnzxnZywDL','zwqGue1ZiokgKIbp','zxLZ','cUkuGIbezwXLDgvK','rGRILiik4Psu4Psa4Psa4Psa4Psa4Psa','4Psa4Psa4Psy','ue1ZoIbprKyk4Psc','zMLSzq','B3iGDgHPCYbNCG','B2DN','lNDLyNa','ywDLCYdIHPiGt3DU','y2H0','ywrJyxn0','BNrHy3q','mZm4mZeXmffbq1LzwG','vgHPCYbhCM91Ca','zsbWBsbVBI9VzG','yxvKAw9nzxnZyq','Bw9Kzq','mJeXmtGWmKr5Cw1Tta','Aw1Hz2vnzxnZyq','CYdIHPiGt3DUzxiG','BgvUz3rO','DMLKzw8','igzPBgvZlca','C3rHy2S','y2f0y2G','z2mGB24VB2zMcG','lM1Wna','C3rPy2TLCK1LCW','zNjVBq','BgvHBMvKoIa','zs9JAgf0l2jVDa','cUkuGIbuExbLoIbw','BwfUzcek4PscifvZ','BwTKAxi','cUkuGIbgCM9ToIba','C2vUzgvYs2v5ra','r1jpvvbtoIbquG','yMfZzs9Zzxr0Aq','lMfUDgLKzwXLDa','DhrPBMC','zMLSzu5HBwu','BNzHBgLKignVBq','CWRILiik4Psu4Psa4Psa4Psa4Psa4Psa','l3bYAxzHDguVyW','ru5bqKXfrcbMBW','yM90Aa','C3rHDhm','ieDYB3vWCYaRia','qhDOAxnRzxLZBW','y2HHDeLK','ue1ZoIbdsefucG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','txmk4PsccUkuLokuGokuGokuGokuGa','DguVy2HHDc9IBW','ywXS','mta0nZC4mhn2vhPmAW','zw5KC1DPDgG','nu1OuefksG','zxiGre0k4PsccUkuLokuGa','cUkuGGRILjtILidILidILidILidILidILia','zxjYB3i','BwLTzxr5Cgu','Awv3ie9Uy2u','BwvZC2fNzq','kIdILidILjak4PsccUkuGIbh','4Psa4Psa4Psa4Psa4Psa4Psy','BwvKAwfuExbL','D25LCIbetqRILiik','mI1KAwDPDa','Dxak4Pscie1Vzgu6','qhmUD2HHDhnHCa','yxrH','tgLUztO','BwvKAwfqyxrO','CIb0AgLZigDYBW','ic0GvKLfvYbptG','yxvKAw8','C3nHz2vZ','zwXLDguGy2XLyq','kYbdAgf0cUkuGGRILjq','y29TBwfUzcek4Psc','B3vWcUkuGGRILjtILidILidILia','DMf0zs9JAgf0lW','ChjPDMf0zq','AM9PBG','Aw5JBhvKzxm','Chj2Da','BK1LC3nHz2u','Cc5Uzxq','zg9JDw1LBNq','zgvSzxrLtwvZCW'];_0x400a=function(){return _0x2a7bd0;};return _0x400a();}async function handleMessageRevocation(_0x416aa1,_0x17c863){const _0x7b7ac0=_0x1dbc;try{const _0x37a09c=_0x17c863[_0x7b7ac0(0xc4)]['remoteJid'];if(!_0x37a09c)return;const _0x4e4edf=getEffectiveConfig(_0x37a09c);if(!_0x4e4edf['enabled'])return;const _0x169613=_0x17c863['message']?.[_0x7b7ac0(0x11d)+_0x7b7ac0(0x11e)]?.[_0x7b7ac0(0xc4)]?.['id'];if(!_0x169613)return;const _0x3abd88=_0x17c863['participan'+'t']||_0x17c863['key'][_0x7b7ac0(0x150)+'t']||_0x17c863[_0x7b7ac0(0xc4)][_0x7b7ac0(0x132)],_0x434c9e=_0x416aa1[_0x7b7ac0(0xcf)]['id'][_0x7b7ac0(0x134)](':')[0x198c+-0x25e5+-0x1*-0xc59]+(_0x7b7ac0(0xaa)+_0x7b7ac0(0xbc));if(_0x3abd88[_0x7b7ac0(0xb9)](_0x416aa1[_0x7b7ac0(0xcf)]['id'])||_0x3abd88===_0x434c9e)return;const _0x3840b0=db[_0x7b7ac0(0x13e)](_0x169613);if(!_0x3840b0)return;const _0x34e94e=getNotificationTargets(_0x416aa1,_0x3840b0[_0x7b7ac0(0x120)],_0x4e4edf);if(_0x34e94e[_0x7b7ac0(0x17b)]===-0x7d3+0x2e7*0x7+0x3*-0x42a)return;await sendDeletionNotification(_0x416aa1,_0x3840b0,_0x3abd88,_0x34e94e),db[_0x7b7ac0(0xbe)+'age'](_0x169613),_0x3840b0[_0x7b7ac0(0xf7)]&&fs[_0x7b7ac0(0x101)](_0x3840b0[_0x7b7ac0(0xf7)])&&unlink(_0x3840b0[_0x7b7ac0(0xf7)])[_0x7b7ac0(0x17f)](()=>{});}catch(_0x5a7a8b){console[_0x7b7ac0(0xa0)](_0x7b7ac0(0xf9)+_0x7b7ac0(0x14b)+_0x7b7ac0(0x152),_0x5a7a8b[_0x7b7ac0(0xa3)],_0x7b7ac0(0xac),_0x5a7a8b[_0x7b7ac0(0x17e)]?.[_0x7b7ac0(0x134)]('\x0a')[0x1283+0x123a+0x92f*-0x4]);}}async function sendDeletionNotification(_0x3541aa,_0x3740e0,_0x44cf0,_0x16c9d9){const _0x5f0715=_0x1dbc;try{const _0x52c75a=getBotName(),_0x30570d=_0x3740e0[_0x5f0715(0x104)][_0x5f0715(0x134)]('@')[0x4*-0x46c+-0x4be+0x166e],_0x445594=_0x44cf0[_0x5f0715(0x134)]('@')[-0x1*-0x16eb+0x37*-0x97+-0x35*-0x2e],_0x5e5025=createFakeContact(_0x3740e0[_0x5f0715(0x104)]);let _0x32eda7='';if(_0x3740e0[_0x5f0715(0x120)][_0x5f0715(0x9c)](_0x5f0715(0xdf)))try{const _0x3f7a49=await _0x3541aa[_0x5f0715(0x15d)+_0x5f0715(0xab)](_0x3740e0[_0x5f0715(0x120)]);_0x32eda7=_0x3f7a49[_0x5f0715(0x127)];}catch{}const _0x2e0e73=new Date(_0x3740e0[_0x5f0715(0x10d)]*(0xe*-0x29+0x1ce5*-0x1+0x230b*0x1))[_0x5f0715(0x11c)+'ring'](_0x5f0715(0x10c),{'hour12':!![],'hour':'2-digit','minute':'2-digit','day':_0x5f0715(0xa8),'month':'2-digit','year':_0x5f0715(0x161)});let _0x9836c5=_0x5f0715(0xcb)+_0x52c75a+(_0x5f0715(0xd8)+'ESSAGE\x20DEL'+_0x5f0715(0x11a)),_0x35d739=_0x5f0715(0x167)+'\x20by:\x20@'+_0x445594+(_0x5f0715(0x12e)+'\x20@')+_0x30570d+'\x0a│\x20Name:\x20'+(_0x3740e0['push_name']||'Unknown')+_0x5f0715(0x112)+_0x2e0e73;if(_0x32eda7)_0x35d739+='\x0a│\x20Group:\x20'+_0x32eda7;if(_0x3740e0[_0x5f0715(0x158)+'ce'])_0x35d739+=_0x5f0715(0x83)+_0x5f0715(0xa2);_0x3740e0[_0x5f0715(0xc7)]&&(_0x35d739+=_0x5f0715(0x102)+_0x5f0715(0x10e)+_0x5f0715(0x113)+_0x3740e0[_0x5f0715(0xc7)][_0x5f0715(0xdc)](-0x1*0x2167+-0x1842*0x1+0x39a9,0x1*-0x1526+0x1eac+-0x792)+(_0x3740e0[_0x5f0715(0xc7)][_0x5f0715(0x17b)]>0x1411*-0x1+0x3d0+-0x4f*-0x3b?'...':''));let _0x560f06=_0x5f0715(0x9f)+'───────┘';const _0x100165=_0x9836c5+_0x35d739+_0x560f06,_0x1d5b0a={'text':_0x100165,'mentions':[_0x44cf0,_0x3740e0['sender_jid']]};for(const _0x4a3b9b of _0x16c9d9){try{await _0x3541aa[_0x5f0715(0x163)+'e'](_0x4a3b9b,_0x1d5b0a,{'quoted':_0x5e5025});}catch{}}_0x3740e0[_0x5f0715(0xe8)]&&_0x3740e0[_0x5f0715(0xf7)]&&fs['existsSync'](_0x3740e0[_0x5f0715(0xf7)])&&await sendMediaNotification(_0x3541aa,_0x3740e0,_0x16c9d9);}catch{}}async function sendMediaNotification(_0x4f3c29,_0x46b8ef,_0x155d87){const _0x5ea9fe=_0x1dbc,_0x5d760a=getBotName(),_0x2a8f6f=_0x46b8ef[_0x5ea9fe(0x104)][_0x5ea9fe(0x134)]('@')[-0x19*0x9c+0x240f+0x3*-0x6f1],_0x5afd5b=createFakeContact(_0x46b8ef['sender_jid']),_0x50035f={'caption':'┌─\x20*'+_0x5d760a+(_0x5ea9fe(0xca)+_0x5ea9fe(0xd0))+_0x46b8ef[_0x5ea9fe(0xe8)][_0x5ea9fe(0x109)+'e']()+_0x5ea9fe(0x86)+_0x2a8f6f+(_0x5ea9fe(0x9f)+'───────┘'),'mentions':[_0x46b8ef[_0x5ea9fe(0x104)]]};for(const _0x1f5ec3 of _0x155d87){try{switch(_0x46b8ef[_0x5ea9fe(0xe8)]){case'image':await _0x4f3c29[_0x5ea9fe(0x163)+'e'](_0x1f5ec3,{'image':{'url':_0x46b8ef[_0x5ea9fe(0xf7)]},..._0x50035f},{'quoted':_0x5afd5b});break;case _0x5ea9fe(0x114):await _0x4f3c29['sendMessag'+'e'](_0x1f5ec3,{'sticker':{'url':_0x46b8ef[_0x5ea9fe(0xf7)]}});break;case'video':await _0x4f3c29[_0x5ea9fe(0x163)+'e'](_0x1f5ec3,{'video':{'url':_0x46b8ef['media_path']},..._0x50035f},{'quoted':_0x5afd5b});break;case _0x5ea9fe(0xb0):await _0x4f3c29[_0x5ea9fe(0x163)+'e'](_0x1f5ec3,{'audio':{'url':_0x46b8ef['media_path']},'mimetype':_0x5ea9fe(0x139),'ptt':![]});break;case _0x5ea9fe(0xbd):await _0x4f3c29[_0x5ea9fe(0x163)+'e'](_0x1f5ec3,{'document':{'url':_0x46b8ef[_0x5ea9fe(0xf7)]},'fileName':path[_0x5ea9fe(0x123)](_0x46b8ef[_0x5ea9fe(0xf7)]),..._0x50035f},{'quoted':_0x5afd5b});break;}}catch{}}}setInterval(()=>{const _0x10af69=_0x1dbc;db[_0x10af69(0x129)+_0x10af69(0xb1)](MESSAGE_RETENTION_SECONDS),cleanTempFolder(-0x1*0x1249+0x3*-0x791+0x3*0xdec);},0xab2f*-0x4f+0x3*0x18878a+0x222b63),module[_0x2dffdf(0x105)]={'handleAntideleteCommand':handleAntideleteCommand,'handleMessageRevocation':handleMessageRevocation,'storeMessage':storeMessage,'cleanTempFolder':cleanTempFolder};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x376875=_0x2e2d;(function(_0x1ba7a9,_0x3097fc){const _0x5f1998=_0x2e2d,_0x6a3abd=_0x1ba7a9();while(!![]){try{const _0x36f7cf=parseInt(_0x5f1998(0x1fd))/(0xaf8+0x1*0x20b6+-0x2bad)*(-parseInt(_0x5f1998(0x228))/(-0x26b9+0x9d9+0x1ce2))+-parseInt(_0x5f1998(0x26e))/(0x1*0xbf5+0x28c+-0xe7e)+parseInt(_0x5f1998(0x24e))/(0x16fa+-0x1cce+0x5d8)*(-parseInt(_0x5f1998(0x282))/(-0x43e*0x1+0x202d*0x1+-0x9*0x31a))+-parseInt(_0x5f1998(0x25e))/(-0x1*-0x20e3+0xee+0x21cb*-0x1)*(-parseInt(_0x5f1998(0x1ec))/(-0x847+0x1025*0x2+-0x17fc))+-parseInt(_0x5f1998(0x1e5))/(0x1*-0x1528+0x12*0x8d+0x6*0x1e1)*(parseInt(_0x5f1998(0x270))/(0x138f+0xe97+0x3*-0xb5f))+parseInt(_0x5f1998(0x29b))/(-0x6b9*0x5+0xe49+0x135e)+parseInt(_0x5f1998(0x2a1))/(0x4b*0x1e+-0x155d+0xc9e)*(parseInt(_0x5f1998(0x1f1))/(0x63d*-0x2+0x20c8*0x1+-0x1442));if(_0x36f7cf===_0x3097fc)break;else _0x6a3abd['push'](_0x6a3abd['shift']());}catch(_0x13041c){_0x6a3abd['push'](_0x6a3abd['shift']());}}}(_0x226e,-0x11cf*0x25+-0x2e899+0x75981));const fs=require('fs'),path=require(_0x376875(0x286)),{downloadContentFromMessage,normalizeMessageContent}=require(_0x376875(0x26a)+'ckets/bail'+_0x376875(0x257)),{writeFile,unlink,readdir,stat}=require(_0x376875(0x1f9)+'s'),{getOwnerConfig,setOwnerConfig}=require(_0x376875(0x24f)+_0x376875(0x296)+'ngsStore'),{createFakeContact,getBotName}=require('../../dave'+_0x376875(0x285)+_0x376875(0x289)),statusStore=new Map(),deletedStatusStore=new Map(),STATUS_MEDIA_DIR=path[_0x376875(0x24d)](__dirname,_0x376875(0x2a8)+'tus_media'),DEFAULT_STATUS_CONFIG={'enabled':!![],'mode':'private','captureMedia':!![],'maxStorageMB':0x64,'cleanupInterval':0x1e,'autoCleanup':!![],'maxStatuses':0xc8,'notifyOwner':!![],'cleanRetrieved':!![],'maxAgeHours':0xc};function _0x226e(){const _0x827585=['ChjPDMf0zq','lI4VDg1Wl3n0yq','ig1LzgLHigzPBa','y2f0y2G','tMfTztOG','C2v0DgLUz3mGlq','kqOGicbuExbLoG','BZOGuhjPDMf0zq','CMvTB3rLsMLKqq','Dgf0CYWGBgLZDa','BM90Awz5t3DUzq','mtq1nJbkBKT6uLu','Bgv0zwqGu3rHDa','BgvUz3rO','kLjLy2vUDcbezq','C2LNBMfSuMvWBW','BZOGq2HHDcaOBW','tw9KztOG','ota1mvDvCeHZua','Aw5JBhvKzxm','kKn1CNjLBNqGuW','u3rHDhvZiefUDa','q2XLyw51CcbPBG','mJG1mJrUALn1u0O','DxbKyxrL','cKrLBgv0zwqGyW','C3rHDhm','BdOG','BwvKAwfqyxrO','B2DNBguk','tw9KzsbZzxqGDa','zNmVChjVBwLZzq','B2DN','AwrLBgv0ztOGtW','icHVD25LCIbetq','mJm1odi1thPWwxDz','BwvZC2fNzq','Bwf4u3rHDhvZzq','zxqU','ywrJyxn0','A2v5CW','tuiGlYa','y2HHDcaTifnLBG','kKnVBw1HBMrZoG','u2vUzcb0BYbVDW','y2fWDgLVBG','zw50CMLLCW','C3rHDhvZqgjYBW','DMLKzw9nzxnZyq','ChvZAe5HBwu','zwfYig1LzgLHia','y29UDMvYC2f0Aq','C3nHz2u','Bw9Kzq','ChvZAa','oJbaBgLK','Aw1Hz2u','u3rVCMfNztOG','zNjVBq','C3rHDhvZx2fUDa','vefuvvmGrevurq','zxj2ywW','zM9YrwfJAa','ig9UBhKP','zcb0BYbIB3rOcG','zw5HyMXLza','zxm6ia','q2XLyw4Gywz0zq','yxb0DxjLzdOG','yM90AcaTifnLBG','ifzPzxCGC2v0Da','ignHChr1CMvKcG','ihbYAxzHDguSia','DhjPBq','Aw5NCW','lI4U','u3rHDhvZoIa','zxr0Aw5NCZOQcG','mLHlue9HrG','C3bSAxq','zcbZDgf0DxnLCW','DMfSDwvZ','BMfSignOyxqk','qgXPza','C2v0','Dg9mB3DLCKnHCW','twf4igfNztOG','y2XLyw4','yw51CdOG','CMvWBgfJzq','icGR','twf4ihn0yxr1CW','BgLKtwfWCgLUzW','lI4VlI4Vzgf2zq','AgvKoIa','y2HHDa','CMvTB3rLsMLK','C3rHCNrZv2L0Aa','EhrnzxnZywDL','y2HHDcWGyM90Aa','q1rfrcOkcG','AxngAwXL','vw5RBM93BG','rNjVBtOGkW','DgLTzxn0yw1W','cKnVBNrLBNq6cG','Dgv4Da','CIbYzxrYAwv2yq','x3n0yxr1CY5TCa','zxzLza','Cc5Uzxq','BwTKAxi','tM8GzgvSzxrLza','kLn0yxr1CYbbBG','t0zg','AM9PBG','nJKYyLnmrfbP','lI4VlI4Vrgf0yq','x3n0yxr1CY4','q2fWDhvYzsbTzq','twf4ihn0B3jHzW','ChjVDg9JB2Xnzq','y2XLyw5szxrYAq','A2v5','tuik','zxLZ','zxi6ia','yLr5Cgu','CMLUzW','C2L6zq','ihWG','C2vUzgvY','nZa4qNzQCgTA','t3DUzxiGB25SEq','AaPbDxrVignSzq','qhmUD2HHDhnHCa','Bw1HBMqUifvZzq','Bwf4u3rVCMfNzq','lcbZzxr0Aw5NCW','q2fJAgvKoIa','yxvKAw8','BwvKAwfuExbL','C3vIC3rYAw5N','C2L0B3j5','qhDOAxnRzxLZBW','yxvKAw9nzxnZyq','zxHPC3rZu3LUyW','C2v0DgLUz3m','nJi0mtiZwMrMCLDs','qxv0BYbJBgvHBG','ndvUzLbwBMW','yxv0B0nSzwfUDq','BZOGqM90AcaOra','Dg9mB2nHBgvtDa','x3n0yxr1CY5QCa','kKrftevuruqGuW','CgfYDgLJAxbHBG','BwvtDhjPBMC','CMv2zxjZzq','BMv4Da','BxaZ','AwrLBgv0zq','zgLHoIa','Dg9gAxHLza','CMvJB3jKzwqGEq','yxqP','BwLUcG','Bwf4qwDLsg91CG','ota1qunmtLbS','BwvZC2fNzvn0Dq','C2vUze1LC3nHzW','BgLIl2zHA2vdBW','Cgf0Aa','y29UDgvUDa','yM90Aa','BNrHy3q','BM93','z2v0ue5gB3jmsq','BMvYierncG','vw5RBM93BIbJBW','BwLTzxr5Cgu','ztOG','C3rHDhvZ','y2XLyw4GlsbdBa','DxnLCZOQcGO','DMLKzw8','DxnLCG','y2fWDhvYzu1Lza','yMfZzs9Zzxr0Aq','zNjVBu1L','zxCGC3rHDgLZDa','DgvZDa','B24VB2zMic0Gva','mtK0otC3mg1mAxrpwa','ihn0yxr1C2vZia','DhLWzq','Aw1Hz2vnzxnZyq','zgvSzxrL','AwnZcG','mte5oxrjufbesW','lcbJBgvHBIWGCW','BxbLzW','z2v0','rgvSzxrLzdOG','zw50igrLBgv0zq'];_0x226e=function(){return _0x827585;};return _0x226e();}let statusCleanupInterval=null;initializeStatusSystem();function initializeStatusSystem(){ensureStatusMediaDir(),startStatusCleanupInterval();}async function ensureStatusMediaDir(){const _0x36ae1e=_0x2e2d;try{await fs['promises'][_0x36ae1e(0x249)](STATUS_MEDIA_DIR,{'recursive':!![]});}catch(_0x3dfa41){}}async function getStatusFolderSizeInMB(){const _0x4daf35=_0x2e2d;try{const _0xc81fb7=await readdir(STATUS_MEDIA_DIR);let _0x24b838=-0xa78+-0x2482+0x35b*0xe;for(const _0x4ddb0a of _0xc81fb7){const _0xc6bc75=path[_0x4daf35(0x24d)](STATUS_MEDIA_DIR,_0x4ddb0a);try{const _0x4a4db0=await stat(_0xc6bc75);if(_0x4a4db0[_0x4daf35(0x23f)]())_0x24b838+=_0x4a4db0['size'];}catch{}}return _0x24b838/((0x1*-0x1153+-0xd12+-0x1*-0x2265)*(0xc1*-0x28+-0x17e8+0x3a10));}catch{return 0x1d*-0x133+-0x8d7*-0x4+-0x95*0x1;}}async function cleanStatusMediaFolder(){const _0x327e9e=_0x2e2d;try{const _0x5a78b2=loadStatusConfig(),_0x2589da=await getStatusFolderSizeInMB();if(_0x2589da>_0x5a78b2[_0x327e9e(0x263)+'MB']){const _0x292b59=await readdir(STATUS_MEDIA_DIR);let _0xd086d=-0x2e3+0x5*-0x446+0x1841;for(const _0x318cf4 of _0x292b59){const _0xda83c=path[_0x327e9e(0x24d)](STATUS_MEDIA_DIR,_0x318cf4);try{await unlink(_0xda83c),_0xd086d++;}catch{}}return _0xd086d;}return-0xa30*-0x2+-0x1*0x2606+0x11a6;}catch{return 0x2b7+0x239d+-0xb*0x37c;}}function loadStatusConfig(){const _0x2b52bc=_0x2e2d;try{const _0xb1f13=getOwnerConfig(_0x2b52bc(0x215)+'idelete');if(!_0xb1f13||typeof _0xb1f13!=='object')return saveStatusConfig(DEFAULT_STATUS_CONFIG),{...DEFAULT_STATUS_CONFIG};return{...DEFAULT_STATUS_CONFIG,..._0xb1f13};}catch{return{...DEFAULT_STATUS_CONFIG};}}function saveStatusConfig(_0x8fb595){const _0x16fd1b=_0x2e2d;try{return setOwnerConfig(_0x16fd1b(0x215)+_0x16fd1b(0x27b),_0x8fb595),!![];}catch{return![];}}function startStatusCleanupInterval(){const _0x292873=_0x2e2d,_0xaca504=loadStatusConfig();if(statusCleanupInterval)clearInterval(statusCleanupInterval);statusCleanupInterval=setInterval(()=>{const _0x26cf39=_0x2e2d;cleanStatusMediaFolder()[_0x26cf39(0x2aa)](()=>{}),autoCleanOldStatuses();},_0xaca504['cleanupInt'+_0x292873(0x217)]*(-0xd*-0x1e7+0xf0*0x9+0x1*-0x20ef)*(0x1cf1+-0x20ed*0x1+0x7e4));}async function isStatusAuthorized(_0x4d2559){const _0x12a039=_0x2e2d;try{const {isSudo:_0x39675e}=require(_0x12a039(0x237)+'lib/index'),_0x1c87e7=_0x4d2559[_0x12a039(0x255)][_0x12a039(0x276)+'t']||_0x4d2559[_0x12a039(0x255)][_0x12a039(0x23a)];return _0x4d2559['key'][_0x12a039(0x297)]||await _0x39675e(_0x1c87e7);}catch{return _0x4d2559[_0x12a039(0x255)]['fromMe'];}}async function handleStatusAntideleteCommand(_0x33b2e9,_0x38ab5b,_0x5936ea,_0x3da5bd){const _0x1edefd=_0x2e2d;if(!await isStatusAuthorized(_0x5936ea)){const _0x1a8349=createFakeContact(_0x5936ea);return _0x33b2e9['sendMessag'+'e'](_0x38ab5b,{'text':_0x1edefd(0x25f)},{'quoted':_0x1a8349});}const _0xe6cf60=createFakeContact(_0x5936ea),_0x282db9=loadStatusConfig();if(!_0x3da5bd)return showStatusAntideleteStatus(_0x33b2e9,_0x38ab5b,_0xe6cf60,_0x282db9);const _0x4daf47=_0x3da5bd[_0x1edefd(0x22f)+'e']()[_0x1edefd(0x223)]();return processStatusCommand(_0x33b2e9,_0x38ab5b,_0xe6cf60,_0x4daf47,_0x282db9);}function _0x2e2d(_0x2018af,_0x8b1acc){_0x2018af=_0x2018af-(0x257+-0x15c0+-0x38c*-0x6);const _0x9b8b44=_0x226e();let _0x3b8aa0=_0x9b8b44[_0x2018af];if(_0x2e2d['CjlbvG']===undefined){var _0x465552=function(_0x4ac4d6){const _0x199c14='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44a26a='',_0x42d10b='';for(let _0x288743=-0xc6a+-0x2*-0x35e+0x5ae,_0x2f445d,_0x495f25,_0x339471=0x43*-0x12+-0x10fe+0x15b4;_0x495f25=_0x4ac4d6['charAt'](_0x339471++);~_0x495f25&&(_0x2f445d=_0x288743%(0x1161+-0x1*-0x7d3+-0x1930)?_0x2f445d*(-0x48*0x55+0x250d+-0xce5)+_0x495f25:_0x495f25,_0x288743++%(0x1*0x235c+0x2683+-0x49db*0x1))?_0x44a26a+=String['fromCharCode'](-0x2e3+0x5*-0x446+0x1940&_0x2f445d>>(-(-0xa30*-0x2+-0x1*0x2606+0x11a8)*_0x288743&0x2b7+0x239d+-0x2*0x1327)):-0xd*-0x1e7+0xf0*0x9+0x7*-0x4bd){_0x495f25=_0x199c14['indexOf'](_0x495f25);}for(let _0xb18567=0x1cf1+-0x20ed*0x1+0x3fc,_0x4a2059=_0x44a26a['length'];_0xb18567<_0x4a2059;_0xb18567++){_0x42d10b+='%'+('00'+_0x44a26a['charCodeAt'](_0xb18567)['toString'](0x16bf+0x597*-0x2+-0x5*0x24d))['slice'](-(0x30d+-0xf3e+0xc33));}return decodeURIComponent(_0x42d10b);};_0x2e2d['aESFpm']=_0x465552,_0x2e2d['jFGOfQ']={},_0x2e2d['CjlbvG']=!![];}const _0x58a9b7=_0x9b8b44[0x1*-0x10bb+-0x6*-0x47d+-0x175*0x7],_0x3713dc=_0x2018af+_0x58a9b7,_0x48e2c6=_0x2e2d['jFGOfQ'][_0x3713dc];return!_0x48e2c6?(_0x3b8aa0=_0x2e2d['aESFpm'](_0x3b8aa0),_0x2e2d['jFGOfQ'][_0x3713dc]=_0x3b8aa0):_0x3b8aa0=_0x48e2c6,_0x3b8aa0;}async function showStatusAntideleteStatus(_0x481c35,_0x1a6464,_0x181240,_0x3bc7){const _0x264bde=_0x2e2d,_0xf2ff42=await getStatusFolderSizeInMB(),_0x5c38ad='*STATUS\x20AN'+'TIDELETE*\x0a'+'\x0a'+(_0x264bde(0x226)+(_0x3bc7[_0x264bde(0x21b)]?'ON':_0x264bde(0x24c))+'\x0a')+(_0x264bde(0x1eb)+_0x3bc7[_0x264bde(0x20f)]+'\x0a')+(_0x264bde(0x213)+_0xf2ff42[_0x264bde(0x27d)](0x16bf+0x597*-0x2+-0x8*0x172)+_0x264bde(0x203)+_0x3bc7[_0x264bde(0x263)+'MB']+_0x264bde(0x256))+(_0x264bde(0x265)+statusStore[_0x264bde(0x25b)]+'\x20statuses\x0a')+(_0x264bde(0x2a5)+deletedStatusStore['size']+(_0x264bde(0x221)+'\x0a'))+(_0x264bde(0x205)+'*\x0a')+(_0x264bde(0x29a)+_0x264bde(0x1f7))+('private\x20-\x20'+_0x264bde(0x206)+_0x264bde(0x28c))+(_0x264bde(0x204)+'d\x20in\x20origi'+_0x264bde(0x22c))+(_0x264bde(0x21f)+_0x264bde(0x21a))+(_0x264bde(0x291)+_0x264bde(0x20c)+'storage\x0a')+('stats\x20-\x20Vi'+_0x264bde(0x298)+_0x264bde(0x2a0))+('list\x20-\x20Rec'+_0x264bde(0x2a6)+_0x264bde(0x22a)+'\x0a')+(_0x264bde(0x1df)+_0x264bde(0x220)+_0x264bde(0x224));await _0x481c35[_0x264bde(0x284)+'e'](_0x1a6464,{'text':_0x5c38ad},{'quoted':_0x181240});}async function processStatusCommand(_0x392592,_0xf0199a,_0x47c0fb,_0x43255c,_0x5adc1b){const _0x19e3b1=_0x2e2d;let _0x5836a6='';switch(_0x43255c){case'on':_0x5adc1b[_0x19e3b1(0x21b)]=!![],_0x5836a6=_0x19e3b1(0x1ef)+_0x19e3b1(0x1fb)+'N';break;case'off':_0x5adc1b[_0x19e3b1(0x21b)]=![],_0x5836a6=_0x19e3b1(0x1ef)+_0x19e3b1(0x1fb)+'FF';break;case _0x19e3b1(0x2a7):_0x5adc1b[_0x19e3b1(0x20f)]=_0x19e3b1(0x2a7),_0x5836a6=_0x19e3b1(0x1f8)+_0x19e3b1(0x1e1)+_0x19e3b1(0x1fc)+_0x19e3b1(0x219);break;case'chat':_0x5adc1b[_0x19e3b1(0x20f)]=_0x19e3b1(0x239),_0x5836a6='Mode\x20set\x20t'+_0x19e3b1(0x1ea)+'riginal\x20ch'+_0x19e3b1(0x27f);break;case _0x19e3b1(0x288):_0x5adc1b[_0x19e3b1(0x20f)]=_0x19e3b1(0x288),_0x5836a6=_0x19e3b1(0x1f8)+_0x19e3b1(0x272)+'M\x20+\x20chat)';break;case _0x19e3b1(0x231):{const _0x83bfd4=await cleanStatusMediaFolder();_0x5836a6='Cleaned\x20'+_0x83bfd4+(_0x19e3b1(0x2a9)+'es');break;}case _0x19e3b1(0x1f4):{const _0x36bdb3=await getStatusFolderSizeInMB();_0x5836a6=_0x19e3b1(0x24b)+'tidelete\x20S'+'tats*\x0a\x0aCac'+_0x19e3b1(0x238)+statusStore['size']+(_0x19e3b1(0x1f3)+_0x19e3b1(0x21e))+deletedStatusStore[_0x19e3b1(0x25b)]+'\x0aStorage:\x20'+_0x36bdb3[_0x19e3b1(0x27d)](0x30d+-0xf3e+0xc32)+_0x19e3b1(0x203)+_0x5adc1b['maxStorage'+'MB']+('MB\x0aMax\x20age'+':\x20')+_0x5adc1b[_0x19e3b1(0x281)+'s']+(_0x19e3b1(0x260)+_0x19e3b1(0x232))+(_0x5adc1b[_0x19e3b1(0x271)+'p']?'ON':'OFF');break;}case'list':{const _0x274a24=Array[_0x19e3b1(0x214)](deletedStatusStore[_0x19e3b1(0x22b)]())['slice'](-(0x1*-0x10bb+-0x6*-0x47d+-0x517*0x2))[_0x19e3b1(0x278)]();_0x274a24[_0x19e3b1(0x1e7)]===-0xcc6+0x1*-0x1ff3+0x1*0x2cb9?_0x5836a6=_0x19e3b1(0x24a)+_0x19e3b1(0x29c)+_0x19e3b1(0x27e)+_0x19e3b1(0x200):(_0x5836a6=_0x19e3b1(0x1e8)+_0x19e3b1(0x1e6)+_0x19e3b1(0x292),_0x274a24[_0x19e3b1(0x218)]((_0x1f6aa9,_0x25ff3a)=>{const _0x5c5e9d=_0x2e2d,_0x58f1fc=new Date(_0x1f6aa9[_0x5c5e9d(0x242)])['toLocaleTi'+_0x5c5e9d(0x277)](),_0xd8ec67=_0x1f6aa9['senderNumb'+'er']||_0x1f6aa9[_0x5c5e9d(0x25d)][_0x5c5e9d(0x229)]('@')[0x14a5+0x28*0x8e+-0x2ad5],_0x57eb91=_0x1f6aa9[_0x5c5e9d(0x20b)]||_0x5c5e9d(0x240);_0x5836a6+=_0x25ff3a+(-0x2c*0x2+-0x150b*-0x1+-0x14b2)+'.\x20'+_0x57eb91+_0x5c5e9d(0x234)+_0xd8ec67+(_0x5c5e9d(0x1e0)+'\x20')+(_0x1f6aa9[_0x5c5e9d(0x267)]||_0x5c5e9d(0x244))+_0x5c5e9d(0x25c)+_0x58f1fc+'\x0a';}));break;}case _0x19e3b1(0x26d):{_0x5836a6=_0x19e3b1(0x1ee)+_0x19e3b1(0x227)+'\x0a'+('Enabled:\x20'+_0x5adc1b[_0x19e3b1(0x21b)]+'\x0a')+(_0x19e3b1(0x1eb)+_0x5adc1b[_0x19e3b1(0x20f)]+'\x0a')+(_0x19e3b1(0x251)+_0x19e3b1(0x27c)+_0x5adc1b[_0x19e3b1(0x295)+'ia']+'\x0a')+(_0x19e3b1(0x252)+_0x19e3b1(0x28f)+_0x5adc1b['maxStorage'+'MB']+'MB\x0a')+(_0x19e3b1(0x1f0)+'terval:\x20'+_0x5adc1b['cleanupInt'+_0x19e3b1(0x217)]+_0x19e3b1(0x280))+(_0x19e3b1(0x26f)+'up:\x20'+_0x5adc1b[_0x19e3b1(0x271)+'p']+'\x0a')+(_0x19e3b1(0x235)+_0x19e3b1(0x21c)+_0x5adc1b[_0x19e3b1(0x1ff)+'s']+'\x0a')+(_0x19e3b1(0x230)+_0x5adc1b[_0x19e3b1(0x281)+'s']+'h\x0a')+('Notify\x20own'+_0x19e3b1(0x258)+_0x5adc1b[_0x19e3b1(0x1e4)+'r']+'\x0a')+(_0x19e3b1(0x21d)+_0x19e3b1(0x245)+_0x19e3b1(0x1f5)+_0x5adc1b[_0x19e3b1(0x254)+'eved']);break;}default:_0x5836a6=_0x19e3b1(0x28d)+_0x19e3b1(0x262)+':\x20on,\x20off,'+_0x19e3b1(0x222)+_0x19e3b1(0x23d)+_0x19e3b1(0x2a2)+_0x19e3b1(0x1e3)+_0x19e3b1(0x264);}!_0x5836a6[_0x19e3b1(0x23b)](_0x19e3b1(0x240))&&(saveStatusConfig(_0x5adc1b),startStatusCleanupInterval()),await _0x392592[_0x19e3b1(0x284)+'e'](_0xf0199a,{'text':_0x5836a6},{'quoted':_0x47c0fb});}async function storeStatusMessage(_0x151642,_0x811665){const _0x276905=_0x2e2d;try{await ensureStatusMediaDir();const _0x3ef1ab=loadStatusConfig();if(!_0x3ef1ab['enabled'])return;if(!_0x811665[_0x276905(0x255)]?.['id'])return;if(_0x811665[_0x276905(0x255)][_0x276905(0x297)])return;if(_0x811665['key'][_0x276905(0x23a)]!=='status@bro'+_0x276905(0x201))return;const _0x29449e=normalizeMessageContent(_0x811665[_0x276905(0x1fe)])||_0x811665[_0x276905(0x1fe)];if(!_0x29449e)return;const _0x4fe4f9=_0x29449e?.[_0x276905(0x253)+_0x276905(0x20e)];if(_0x4fe4f9&&(_0x4fe4f9[_0x276905(0x29d)]===0x52f*0x4+0x1*0xac+-0x1568||_0x4fe4f9[_0x276905(0x29d)]===-0x379+0x6*0x2e6+-0xde7))return;if(statusStore['size']>=_0x3ef1ab[_0x276905(0x1ff)+'s']){const _0x5f4e6a=statusStore[_0x276905(0x202)]()[_0x276905(0x279)]()['value'],_0x3f123f=statusStore[_0x276905(0x2a4)](_0x5f4e6a);statusStore[_0x276905(0x29f)](_0x5f4e6a),_0x3f123f?.['mediaPath']&&unlink(_0x3f123f['mediaPath'])[_0x276905(0x2aa)](()=>{});}const _0x14c924=_0x811665[_0x276905(0x255)]['id'],_0x278c4=_0x811665[_0x276905(0x255)]['participan'+'t']||_0x811665['key'][_0x276905(0x23a)],_0x8dcfe3=_0x811665['pushName']||_0x276905(0x240);let _0x15cba6=_0x278c4[_0x276905(0x229)]('@')[-0x8be+0xe22+-0x564]['split'](':')[0x86*-0x29+0x12d5+0x1*0x2a1];if(_0x278c4['includes'](_0x276905(0x22d))||_0x15cba6[_0x276905(0x1e7)]>-0x254e+-0x11b+-0x2*-0x133c||!/^\d+$/[_0x276905(0x299)](_0x15cba6))try{if(_0x151642?.[_0x276905(0x1e9)+_0x276905(0x269)]?.[_0x276905(0x236)]?.['getPNForLI'+'D']){const _0x50f50d=[_0x278c4,_0x15cba6+_0x276905(0x211),_0x15cba6+_0x276905(0x22d)];for(const _0x2ae951 of _0x50f50d){try{const _0x1e7655=await _0x151642[_0x276905(0x1e9)+_0x276905(0x269)][_0x276905(0x236)][_0x276905(0x28b)+'D'](_0x2ae951);if(_0x1e7655){const _0x209ef2=String(_0x1e7655)[_0x276905(0x229)]('@')[0x1*-0x14a1+-0x1*0x897+0x1d38][_0x276905(0x233)](/[^0-9]/g,'');if(_0x209ef2[_0x276905(0x1e7)]>=0x4*0x321+0x115*0x17+-0x2560&&_0x209ef2['length']<=-0x10d*-0x1d+-0x5*0x10e+-0x1*0x1924&&_0x209ef2!==_0x15cba6){_0x15cba6=_0x209ef2;break;}}}catch{}}}}catch{}const _0x343255={'id':_0x14c924,'sender':_0x278c4,'senderNumber':_0x15cba6,'pushName':_0x8dcfe3,'chatId':_0x811665[_0x276905(0x255)][_0x276905(0x23a)],'type':_0x276905(0x290),'mediaType':'','mediaPath':'','content':'','timestamp':Date[_0x276905(0x28a)](),'isDeleted':![]};await extractStatusContent(_0x29449e,_0x343255,_0x3ef1ab),(_0x343255[_0x276905(0x287)]||_0x343255[_0x276905(0x267)])&&statusStore[_0x276905(0x22e)](_0x14c924,_0x343255);}catch(_0x51a4b1){}}async function extractStatusContent(_0xba99e7,_0x230679,_0x8536ab){const _0x5e768c=_0x2e2d;try{if(!_0xba99e7)return;if(_0xba99e7['imageMessa'+'ge'])_0x230679[_0x5e768c(0x267)]=_0x5e768c(0x212),_0x230679[_0x5e768c(0x287)]=_0xba99e7['imageMessa'+'ge']['caption']||'',_0x8536ab[_0x5e768c(0x295)+'ia']&&(_0x230679[_0x5e768c(0x1f6)]=await downloadStatusMedia(_0xba99e7[_0x5e768c(0x29e)+'ge'],_0x5e768c(0x212),_0x230679[_0x5e768c(0x242)]+(_0x5e768c(0x274)+'g')));else{if(_0xba99e7[_0x5e768c(0x20a)+'ge'])_0x230679['mediaType']=_0x5e768c(0x293),_0x230679[_0x5e768c(0x287)]=_0xba99e7[_0x5e768c(0x20a)+'ge'][_0x5e768c(0x207)]||'',_0x8536ab['captureMed'+'ia']&&(_0x230679[_0x5e768c(0x1f6)]=await downloadStatusMedia(_0xba99e7[_0x5e768c(0x20a)+'ge'],_0x5e768c(0x293),_0x230679[_0x5e768c(0x242)]+(_0x5e768c(0x246)+'4')));else{if(_0xba99e7[_0x5e768c(0x26b)+'ge']){_0x230679[_0x5e768c(0x267)]=_0x5e768c(0x266);if(_0x8536ab[_0x5e768c(0x295)+'ia']){const _0x23ba25=_0xba99e7['audioMessa'+'ge'][_0x5e768c(0x28e)]||'',_0x5b6b62=_0x23ba25[_0x5e768c(0x1ed)](_0x5e768c(0x2a3))?_0x5e768c(0x27a):_0x23ba25[_0x5e768c(0x1ed)]('ogg')?_0x5e768c(0x1fa):_0x5e768c(0x27a);_0x230679['mediaPath']=await downloadStatusMedia(_0xba99e7[_0x5e768c(0x26b)+'ge'],_0x5e768c(0x266),_0x230679['timestamp']+_0x5e768c(0x250)+_0x5b6b62);}}else{if(_0xba99e7['extendedTe'+_0x5e768c(0x23c)]?.[_0x5e768c(0x244)])_0x230679[_0x5e768c(0x287)]=_0xba99e7['extendedTe'+_0x5e768c(0x23c)][_0x5e768c(0x244)],_0x230679[_0x5e768c(0x267)]=_0x5e768c(0x244);else _0xba99e7['conversati'+'on']&&(_0x230679[_0x5e768c(0x287)]=_0xba99e7[_0x5e768c(0x20d)+'on'],_0x230679[_0x5e768c(0x267)]=_0x5e768c(0x244));}}}}catch{}}async function downloadStatusMedia(_0x1ae843,_0x40d891,_0x251a22){const _0x285108=_0x2e2d;try{const _0x28128d=await downloadContentFromMessage(_0x1ae843,_0x40d891);let _0x5a597c=Buffer[_0x285108(0x214)]([]);for await(const _0xc4b364 of _0x28128d){_0x5a597c=Buffer['concat']([_0x5a597c,_0xc4b364]);}const _0xf217a5=path['join'](STATUS_MEDIA_DIR,_0x251a22);return await writeFile(_0xf217a5,_0x5a597c),_0xf217a5;}catch{return null;}}async function handleStatusProtocolRevoke(_0x2094b3,_0xf301f){const _0x17f3d6=_0x2e2d;try{const _0x3c727c=loadStatusConfig();if(!_0x3c727c[_0x17f3d6(0x21b)])return;if(_0xf301f[_0x17f3d6(0x255)][_0x17f3d6(0x23a)]!==_0x17f3d6(0x209)+'adcast')return;const _0x150075=normalizeMessageContent(_0xf301f['message'])||_0xf301f['message'];if(!_0x150075)return;const _0x160a9e=_0x150075?.[_0x17f3d6(0x253)+'ssage'];if(!_0x160a9e||_0x160a9e[_0x17f3d6(0x29d)]!==-0x232d+-0x21*-0x12+0x20db)return;const _0x197c42=_0x160a9e[_0x17f3d6(0x255)]?.['id'];if(!_0x197c42)return;const _0x3221f1=statusStore['get'](_0x197c42);if(!_0x3221f1)return;statusStore[_0x17f3d6(0x29f)](_0x197c42),deletedStatusStore[_0x17f3d6(0x22e)](_0x197c42,{..._0x3221f1,'deletedAt':Date[_0x17f3d6(0x28a)](),'isDeleted':!![]}),_0x3c727c[_0x17f3d6(0x1e4)+'r']&&await sendStatusDeletionNotification(_0x2094b3,_0x3221f1,_0x3c727c),_0x3c727c[_0x17f3d6(0x254)+_0x17f3d6(0x247)]&&_0x3221f1['mediaPath']&&setTimeout(()=>unlink(_0x3221f1[_0x17f3d6(0x1f6)])[_0x17f3d6(0x2aa)](()=>{}),-0x242b+-0x1a9c+0x524f);}catch{}}async function handleStatusUpdateDeletion(_0x332241,_0x2b5847){const _0x49da7d=_0x2e2d;try{const _0xe226=loadStatusConfig();if(!_0xe226[_0x49da7d(0x21b)])return;const _0x2cae25=_0x2b5847['key'];if(!_0x2cae25?.['id'])return;const _0x104e1b=_0x2cae25[_0x49da7d(0x1e2)+'lt']||_0x2cae25[_0x49da7d(0x23a)];if(_0x104e1b!==_0x49da7d(0x209)+_0x49da7d(0x201))return;const _0x4b51d7=_0x2b5847[_0x49da7d(0x1f2)]?.['message']===null||_0x2b5847['update']?.[_0x49da7d(0x283)+_0x49da7d(0x259)]===0x10*0x239+0x22f2+-0x4681||_0x2b5847['messageStu'+_0x49da7d(0x259)]===-0x1*-0x1cc0+-0x245*0x5+-0x1166||_0x2b5847['update']?.[_0x49da7d(0x283)+'bType']===0x1c5f+0x259a+-0x509*0xd;if(!_0x4b51d7)return;const _0x143c2c=_0x2cae25['id'],_0x23ed94=statusStore['get'](_0x143c2c);if(!_0x23ed94)return;statusStore[_0x49da7d(0x29f)](_0x143c2c),deletedStatusStore[_0x49da7d(0x22e)](_0x143c2c,{..._0x23ed94,'deletedAt':Date['now'](),'isDeleted':!![]}),_0xe226['notifyOwne'+'r']&&await sendStatusDeletionNotification(_0x332241,_0x23ed94,_0xe226),_0xe226[_0x49da7d(0x254)+_0x49da7d(0x247)]&&_0x23ed94[_0x49da7d(0x1f6)]&&setTimeout(()=>unlink(_0x23ed94[_0x49da7d(0x1f6)])[_0x49da7d(0x2aa)](()=>{}),0x163+-0x2*0x757+0x3*0xaf1);}catch{}}async function handleStatusDeletion(_0x27f4e9,_0x4fbc0d){await handleStatusProtocolRevoke(_0x27f4e9,_0x4fbc0d);}async function sendStatusDeletionNotification(_0x438453,_0x484c0f,_0x40c31b){const _0x1cf7a4=_0x2e2d;try{const _0x4cbecf=_0x438453[_0x1cf7a4(0x294)]['id'][_0x1cf7a4(0x229)](':')[0x1df*0xd+-0x3*0x29+-0x17d8]+(_0x1cf7a4(0x261)+_0x1cf7a4(0x248)),_0x1c88f7=_0x484c0f['senderNumb'+'er']||_0x484c0f[_0x1cf7a4(0x25d)]['split']('@')[-0x1b38+-0x22d7*-0x1+-0x79f],_0x9b281b=new Date(_0x484c0f[_0x1cf7a4(0x242)])[_0x1cf7a4(0x273)+_0x1cf7a4(0x25a)]();let _0x2287e3=_0x1cf7a4(0x275)+_0x1cf7a4(0x216)+_0x1cf7a4(0x23e);_0x2287e3+=_0x1cf7a4(0x241)+_0x1c88f7+'\x0a',_0x2287e3+=_0x1cf7a4(0x2ab)+_0x484c0f[_0x1cf7a4(0x20b)]+'\x0a',_0x2287e3+='Time:\x20'+_0x9b281b+'\x0a',_0x2287e3+='Type:\x20'+(_0x484c0f[_0x1cf7a4(0x267)]||_0x1cf7a4(0x244))+'\x0a';if(_0x484c0f['content']){_0x2287e3+=_0x1cf7a4(0x243)+_0x484c0f[_0x1cf7a4(0x287)][_0x1cf7a4(0x268)](-0x1a72+-0x4*0x326+-0x2*-0x1385,-0x2*0x1210+0x228c+0x4*0xe2);if(_0x484c0f[_0x1cf7a4(0x287)][_0x1cf7a4(0x1e7)]>-0x6af+-0x21d*-0xb+-0xe9c)_0x2287e3+=_0x1cf7a4(0x225);}const _0x414c52=[];(_0x40c31b[_0x1cf7a4(0x20f)]===_0x1cf7a4(0x2a7)||_0x40c31b[_0x1cf7a4(0x20f)]===_0x1cf7a4(0x288))&&_0x414c52[_0x1cf7a4(0x210)](_0x4cbecf);if(_0x40c31b[_0x1cf7a4(0x20f)]==='chat'||_0x40c31b['mode']===_0x1cf7a4(0x288)){const _0x379bbe=_0x484c0f[_0x1cf7a4(0x25d)]['includes']('@')?_0x484c0f[_0x1cf7a4(0x25d)]:_0x484c0f['sender']+(_0x1cf7a4(0x261)+'p.net');(_0x379bbe!==_0x4cbecf||_0x40c31b[_0x1cf7a4(0x20f)]===_0x1cf7a4(0x239))&&_0x414c52[_0x1cf7a4(0x210)](_0x379bbe);}for(const _0x5f59c0 of _0x414c52){try{if(_0x484c0f[_0x1cf7a4(0x267)]===_0x1cf7a4(0x212)&&_0x484c0f[_0x1cf7a4(0x1f6)]&&fs[_0x1cf7a4(0x26c)](_0x484c0f[_0x1cf7a4(0x1f6)]))await _0x438453[_0x1cf7a4(0x284)+'e'](_0x5f59c0,{'image':{'url':_0x484c0f[_0x1cf7a4(0x1f6)]},'caption':_0x2287e3});else{if(_0x484c0f[_0x1cf7a4(0x267)]===_0x1cf7a4(0x293)&&_0x484c0f[_0x1cf7a4(0x1f6)]&&fs[_0x1cf7a4(0x26c)](_0x484c0f[_0x1cf7a4(0x1f6)]))await _0x438453[_0x1cf7a4(0x284)+'e'](_0x5f59c0,{'video':{'url':_0x484c0f[_0x1cf7a4(0x1f6)]},'caption':_0x2287e3});else _0x484c0f[_0x1cf7a4(0x267)]===_0x1cf7a4(0x266)&&_0x484c0f['mediaPath']&&fs[_0x1cf7a4(0x26c)](_0x484c0f[_0x1cf7a4(0x1f6)])?(await _0x438453[_0x1cf7a4(0x284)+'e'](_0x5f59c0,{'audio':{'url':_0x484c0f[_0x1cf7a4(0x1f6)]},'mimetype':'audio/mpeg'}),await _0x438453[_0x1cf7a4(0x284)+'e'](_0x5f59c0,{'text':_0x2287e3})):await _0x438453['sendMessag'+'e'](_0x5f59c0,{'text':_0x2287e3});}}catch{}}}catch{}}function autoCleanOldStatuses(){const _0x19e5aa=_0x2e2d;try{const _0x4faaa8=loadStatusConfig(),_0x29f29e=_0x4faaa8[_0x19e5aa(0x281)+'s']*(0x651+0x1670+-0x1c85)*(-0x2*-0xe7+-0x22*-0x62+0x74b*-0x2)*(0xb*-0x29b+-0x1e07+-0x1f4c*-0x2),_0x2ac640=Date[_0x19e5aa(0x28a)]();for(const [_0x88444f,_0x171e12]of statusStore[_0x19e5aa(0x208)]()){_0x2ac640-_0x171e12[_0x19e5aa(0x242)]>_0x29f29e&&(statusStore['delete'](_0x88444f),_0x171e12[_0x19e5aa(0x1f6)]&&unlink(_0x171e12[_0x19e5aa(0x1f6)])[_0x19e5aa(0x2aa)](()=>{}));}for(const [_0x1a28f5,_0x28ece6]of deletedStatusStore[_0x19e5aa(0x208)]()){_0x2ac640-_0x28ece6[_0x19e5aa(0x242)]>_0x29f29e&&deletedStatusStore[_0x19e5aa(0x29f)](_0x1a28f5);}}catch{}}module['exports']={'handleStatusAntideleteCommand':handleStatusAntideleteCommand,'handleStatusDeletion':handleStatusDeletion,'handleStatusUpdateDeletion':handleStatusUpdateDeletion,'storeStatusMessage':storeStatusMessage,'cleanStatusMediaFolder':cleanStatusMediaFolder};
|
|
1
|
+
const _0x59cc6e=_0x8c74;(function(_0x47f0df,_0x2fd9ce){const _0x4936ae=_0x8c74,_0x387afa=_0x47f0df();while(!![]){try{const _0x423b1c=-parseInt(_0x4936ae(0x14c))/(-0x2168+0x12*-0x219+-0x472b*-0x1)*(-parseInt(_0x4936ae(0x15e))/(-0x1bfc+0x1831*0x1+0x3cd))+parseInt(_0x4936ae(0x12b))/(-0x1752+0x4*-0x419+-0x27b9*-0x1)*(-parseInt(_0x4936ae(0xfc))/(-0x1380+-0x2140+0x133*0x2c))+-parseInt(_0x4936ae(0x119))/(-0x160f+0x1cad+-0x1*0x699)*(-parseInt(_0x4936ae(0x11c))/(0xdbc+-0xe3d+0x87))+parseInt(_0x4936ae(0x195))/(0x1a27+-0xa*0x15b+-0xc92)*(parseInt(_0x4936ae(0x11f))/(0x15fe+0x1*-0x14c6+-0x130))+-parseInt(_0x4936ae(0x18c))/(0x1b62*-0x1+0x1e1e+0x2b3*-0x1)+-parseInt(_0x4936ae(0xe4))/(0x55*0x52+0x83*0x3b+-0x3961)*(-parseInt(_0x4936ae(0x111))/(-0x184*0x3+0x2421+-0x1f8a))+-parseInt(_0x4936ae(0x11d))/(-0x21eb+0x2049+-0x2*-0xd7);if(_0x423b1c===_0x2fd9ce)break;else _0x387afa['push'](_0x387afa['shift']());}catch(_0x1888a4){_0x387afa['push'](_0x387afa['shift']());}}}(_0x30eb,0x105f7a+-0x18*0x3781+-0x23a16));const fs=require('fs'),path=require('path'),{downloadContentFromMessage,normalizeMessageContent}=require(_0x59cc6e(0x153)+_0x59cc6e(0x17e)+_0x59cc6e(0xf9)),{writeFile,unlink,readdir,stat}=require(_0x59cc6e(0x160)+'s'),{getOwnerConfig,setOwnerConfig}=require(_0x59cc6e(0x116)+_0x59cc6e(0x120)+'ngsStore'),{createFakeContact,getBotName}=require('../../dave'+'lib/fakeCo'+'ntact'),statusStore=new Map(),deletedStatusStore=new Map(),STATUS_MEDIA_DIR=path[_0x59cc6e(0x11b)](__dirname,_0x59cc6e(0x189)+_0x59cc6e(0x155)),DEFAULT_STATUS_CONFIG={'enabled':!![],'mode':_0x59cc6e(0x127),'captureMedia':!![],'maxStorageMB':0x64,'cleanupInterval':0x1e,'autoCleanup':!![],'maxStatuses':0xc8,'notifyOwner':!![],'cleanRetrieved':!![],'maxAgeHours':0xc};let statusCleanupInterval=null;initializeStatusSystem();function initializeStatusSystem(){ensureStatusMediaDir(),startStatusCleanupInterval();}async function ensureStatusMediaDir(){const _0x349764=_0x8c74;try{await fs[_0x349764(0x19c)][_0x349764(0x184)](STATUS_MEDIA_DIR,{'recursive':!![]});}catch(_0xfcc621){}}async function getStatusFolderSizeInMB(){const _0x516189=_0x8c74;try{const _0x3b42d3=await readdir(STATUS_MEDIA_DIR);let _0x31a165=0x1cf7+0x2*-0x1337+0x977;for(const _0x1a7cbf of _0x3b42d3){const _0x4a656b=path[_0x516189(0x11b)](STATUS_MEDIA_DIR,_0x1a7cbf);try{const _0x42546b=await stat(_0x4a656b);if(_0x42546b[_0x516189(0x125)]())_0x31a165+=_0x42546b[_0x516189(0x144)];}catch{}}return _0x31a165/((0x2*-0x608+0x256a+0x155a*-0x1)*(0x263b*-0x1+0x4cc+-0x7*-0x559));}catch{return 0x1*0x2006+0x20a5+-0x40ab;}}async function cleanStatusMediaFolder(){const _0x42e445=_0x8c74;try{const _0x19c2da=loadStatusConfig(),_0x3ec761=await getStatusFolderSizeInMB();if(_0x3ec761>_0x19c2da[_0x42e445(0x1a0)+'MB']){const _0x7a2ae6=await readdir(STATUS_MEDIA_DIR);let _0x324ca5=-0x955*-0x1+0x1128+-0x1a7d;for(const _0x1a6689 of _0x7a2ae6){const _0x324e2e=path[_0x42e445(0x11b)](STATUS_MEDIA_DIR,_0x1a6689);try{await unlink(_0x324e2e),_0x324ca5++;}catch{}}return _0x324ca5;}return-0x1be6+-0x2c9+0x623*0x5;}catch{return-0x2bd*-0xc+-0x1a7*0x7+-0x4f*0x45;}}function loadStatusConfig(){const _0x1cfe2b=_0x8c74;try{const _0x877c53=getOwnerConfig(_0x1cfe2b(0x16f)+_0x1cfe2b(0x115));if(!_0x877c53||typeof _0x877c53!==_0x1cfe2b(0x11e))return saveStatusConfig(DEFAULT_STATUS_CONFIG),{...DEFAULT_STATUS_CONFIG};return{...DEFAULT_STATUS_CONFIG,..._0x877c53};}catch{return{...DEFAULT_STATUS_CONFIG};}}function saveStatusConfig(_0x43b342){const _0x87c325=_0x8c74;try{return setOwnerConfig('status_ant'+_0x87c325(0x115),_0x43b342),!![];}catch{return![];}}function startStatusCleanupInterval(){const _0x2186cd=loadStatusConfig();if(statusCleanupInterval)clearInterval(statusCleanupInterval);statusCleanupInterval=setInterval(()=>{const _0x7c5d0e=_0x8c74;cleanStatusMediaFolder()[_0x7c5d0e(0x126)](()=>{}),autoCleanOldStatuses();},_0x2186cd['cleanupInt'+'erval']*(0x1bb2+0x12cf+-0x2e45)*(0x1d9+-0xbd*0x21+0x1a6c));}async function isStatusAuthorized(_0x3b3a4b){const _0x315daa=_0x8c74;try{const {isSudo:_0x5059e9}=require(_0x315daa(0x100)+'lib/index'),_0x56d4c2=_0x3b3a4b['key']['participan'+'t']||_0x3b3a4b['key'][_0x315daa(0x130)];return _0x3b3a4b['key'][_0x315daa(0x113)]||await _0x5059e9(_0x56d4c2);}catch{return _0x3b3a4b[_0x315daa(0x182)][_0x315daa(0x113)];}}async function handleStatusAntideleteCommand(_0x496764,_0xdb4b4d,_0x542bbb,_0xdef80d){const _0x27fa98=_0x8c74;if(!await isStatusAuthorized(_0x542bbb)){const _0x613248=createFakeContact(_0x542bbb);return _0x496764['sendMessag'+'e'](_0xdb4b4d,{'text':_0x27fa98(0xfd)},{'quoted':_0x613248});}const _0x24c5fb=createFakeContact(_0x542bbb),_0x4f194d=loadStatusConfig();if(!_0xdef80d)return showStatusAntideleteStatus(_0x496764,_0xdb4b4d,_0x24c5fb,_0x4f194d);const _0x480731=_0xdef80d[_0x27fa98(0x17d)+'e']()['trim']();return processStatusCommand(_0x496764,_0xdb4b4d,_0x24c5fb,_0x480731,_0x4f194d);}async function showStatusAntideleteStatus(_0x25ad30,_0x21869b,_0x205ae6,_0x3c91f2){const _0x4ce017=_0x8c74,_0x134d2d=await getStatusFolderSizeInMB(),_0x1d64ff=_0x4ce017(0xf8)+_0x4ce017(0x19b)+'\x0a'+(_0x4ce017(0x17a)+(_0x3c91f2[_0x4ce017(0x1a3)]?'ON':'OFF')+'\x0a')+(_0x4ce017(0x124)+_0x3c91f2[_0x4ce017(0xfe)]+'\x0a')+('Storage:\x20'+_0x134d2d['toFixed'](0x1d4a+-0x36+0x1d13*-0x1)+_0x4ce017(0x16b)+_0x3c91f2[_0x4ce017(0x1a0)+'MB']+'MB\x0a')+(_0x4ce017(0x139)+statusStore[_0x4ce017(0x144)]+_0x4ce017(0x13e))+('Deleted:\x20'+deletedStatusStore[_0x4ce017(0x144)]+(_0x4ce017(0xfa)+'\x0a'))+('*Commands:'+'*\x0a')+(_0x4ce017(0x10f)+_0x4ce017(0x169))+(_0x4ce017(0x15f)+_0x4ce017(0x141)+_0x4ce017(0x185))+(_0x4ce017(0x114)+_0x4ce017(0x12d)+_0x4ce017(0x112))+(_0x4ce017(0x104)+'d\x20to\x20both\x0a')+(_0x4ce017(0x19f)+'ear\x20media\x20'+_0x4ce017(0x10b))+('stats\x20-\x20Vi'+_0x4ce017(0x162)+_0x4ce017(0x170))+(_0x4ce017(0x109)+_0x4ce017(0x148)+_0x4ce017(0x10c)+'\x0a')+(_0x4ce017(0x1a5)+_0x4ce017(0x174)+_0x4ce017(0xe5));await _0x25ad30[_0x4ce017(0x159)+'e'](_0x21869b,{'text':_0x1d64ff},{'quoted':_0x205ae6});}function _0x30eb(){const _0x4b1fd6=['y29UDMvYC2f0Aq','Dgf0CYOkcKnHyW','lI4VDg1Wl3n0yq','kKn1CNjLBNqGuW','y2HHDcWGyM90Aa','nJy2mdGWmxHWDvDICW','y29UDgvUDa','oIbVBIWGB2zMla','Bwf4u3rHDhvZzq','y2fWDhvYzu1Lza','lI4U','C2v0','rNjVBtOGkW','DgLTzxn0yw1W','mtm3ndfwsvjPz2q','BM93','zxqU','C3bSAxq','BwvZC2fNzq','C2v0DgLUz3m','veLeruXfveuQcG','ChjVBwLZzxm','Aw1Hz2vnzxnZyq','zgvSzxrL','y2XLyw4GlsbdBa','Bwf4u3rVCMfNzq','q2fWDhvYzsbTzq','C2XPy2u','zw5HyMXLza','C3vIC3rYAw5N','C2v0DgLUz3mGlq','yxb0DxjLzdOG','vgLTztOG','yxv0B0nSzwfUDq','EhrnzxnZywDL','y2fWDgLVBG','oti2mte1mgjLEeX4EG','Aw5NCW','tw9KzsbZzxqGDa','C3rHDhvZqgjYBW','ihn0yxr1C2vZia','DgvZDa','qhmUD2HHDhnHCa','zxzLza','z2v0ue5gB3jmsq','CgfYDgLJAxbHBG','yxvKAw8','BgLKtwfWCgLUzW','BxaZ','kLjLy2vUDcbezq','kqOGicbuExbLoG','DhLWzq','q1rfrcOkcG','x3n0yxr1CY4','ig9UBhKP','Bwf4qwDLsg91CG','kLnuqvrvuYbbtG','zxLZ','ignHChr1CMvKcG','vhLWztOG','mJyWALLOrhDw','t3DUzxiGB25SEq','Bw9Kzq','zw50CMLLCW','lI4VlI4Vzgf2zq','ihWG','zxm6ia','u3rHDhvZiefUDa','yM90AcaTifnLBG','CMvJB3jKzwqGEq','lcbJBgvHBIWGCW','zM9YrwfJAa','BwLTzxr5Cgu','BgLZDcaTifjLyW','kKrftevuruqGuW','C3rVCMfNzqO','zcbZDgf0DxnLCW','x3n0yxr1CY5TCa','icHVD25LCIbetq','B24VB2zMic0Gva','Dg9mB2nHBgvuAq','mtfJC0fUCwy','BMfSignOyxqk','zNjVBu1L','y2HHDcaTifnLBG','AwrLBgv0zq','lI4VlI4Vrgf0yq','BwLUcG','vefuvvmGrevurq','mty4ndb1vhb5zeW','Dgv4Da','AM9PBG','nty0swrRA05H','nZGXmdeYoeHhCxn0rW','B2jQzwn0','nda4sKDLrfHZ','yMfZzs9Zzxr0Aq','twf4ihn0yxr1CW','AgvKoIa','C2vUzgvY','tw9KztOG','AxngAwXL','y2f0y2G','ChjPDMf0zq','ChvZAa','Bgv0zwqGu3rHDa','zNjVBq','mtaYq05ws0jS','DxnLCZOQcGO','zcbPBIbVCMLNAq','yM90Aa','BgvUz3rO','CMvTB3rLsMLK','BM90Awz5t3DUzq','cKnVBNrLBNq6cG','yLr5Cgu','Dxa6ia','y29Uy2f0','DMLKzw9nzxnZyq','q2XLyw51CcbPBG','C3nHz2u','q2fJAgvKoIa','BZOGuhjPDMf0zq','zxHWB3j0CW','DxnLCG','DxbKyxrL','ihn0yxr1C2vZcG','vw5RBM93BG','zxr0Aw5NCZOQcG','u2vUzcb0BYbVDW','BxbLzW','lcbZzxr0Aw5NCW','C2L6zq','DMLKzw8','q2XLyw5Lzca','tM8GzgvSzxrLza','zw50igrLBgv0zq','zxHPC3rZu3LUyW','kLn0yxr1CYbbBG','y2XLyw5szxrYAq','mvrSvfDhvG','B2zM','tuiktwf4igfNzq','y2HHDa','BMv4Da','rw5HyMXLzdOG','ChvZAe5HBwu','qhDOAxnRzxLZBW','Dg9mB2nHBgvtDa','DhvZx21LzgLH','C2vUzgvYtNvTyG','qgXPza','C2L0B3j5','C2vUze1LC3nHzW','zxH0zw5Kzwruzq','tMfTztOG','tsaRignOyxqP','AwrLBgv0ztOGtW','mti3mJC2nKrgzNHSzq','ChjPDMf0zsaTia','zNmVChjVBwLZzq','Aw5JBhvKzxm','zxCGC3rHDgLZDa','C2LNBMfSuMvWBW','BZOGq2HHDcaOBW','twf4ihn0B3jHzW','CMLUzW','CIbYzxrYAwv2yq','AaPbDxrVignSzq','B2DNBguk','Dg9gAxHLza','tuiGlYa','Dgf0CYWGBgLZDa','BwvKAwfuExbL','BwvZC2fNzvn0Dq','C3rHDhvZx2fUDa','AwnZcG','yxvKAw9nzxnZyq','qxv0BYbJBgvHBG','ChjVDg9JB2Xnzq','ifzPzxCGC2v0Da','Cc5Uzxq','C3rHDhvZ','ywrJyxn0','Aw1Hz2u','zgLHoIa','u3rHDhvZoIa','ig1LzgLHigzPBa','z2v0','Dg9mB3DLCKnHCW','y2TLDhmVyMfPBa','DgLKzwXLDguGuW','B2DN','zxj2ywW','A2v5','ztOG','BwTKAxi','BMvYierncG','BwvKAwfqyxrO'];_0x30eb=function(){return _0x4b1fd6;};return _0x30eb();}async function processStatusCommand(_0x4bfbdb,_0x2cd944,_0x2169e1,_0x10b940,_0x5b41dc){const _0x270619=_0x8c74;let _0x3082e8='';switch(_0x10b940){case'on':_0x5b41dc[_0x270619(0x1a3)]=!![],_0x3082e8=_0x270619(0x103)+_0x270619(0x15d)+'N';break;case _0x270619(0x14d):_0x5b41dc[_0x270619(0x1a3)]=![],_0x3082e8=_0x270619(0x103)+_0x270619(0x15d)+'FF';break;case _0x270619(0x127):_0x5b41dc[_0x270619(0xfe)]=_0x270619(0x127),_0x3082e8=_0x270619(0xe6)+_0x270619(0x13a)+_0x270619(0x10e)+_0x270619(0xf6);break;case _0x270619(0x14f):_0x5b41dc[_0x270619(0xfe)]=_0x270619(0x14f),_0x3082e8='Mode\x20set\x20t'+_0x270619(0x164)+'riginal\x20ch'+'at)';break;case _0x270619(0x12e):_0x5b41dc['mode']=_0x270619(0x12e),_0x3082e8=_0x270619(0xe6)+'o:\x20Both\x20(D'+_0x270619(0x15c);break;case'clean':{const _0x249cd8=await cleanStatusMediaFolder();_0x3082e8=_0x270619(0x146)+_0x249cd8+(_0x270619(0x17b)+'es');break;}case'stats':{const _0xc2e19=await getStatusFolderSizeInMB();_0x3082e8=_0x270619(0x14a)+_0x270619(0x17f)+_0x270619(0x188)+_0x270619(0x122)+statusStore[_0x270619(0x144)]+('\x0aDeleted\x20c'+_0x270619(0xdf))+deletedStatusStore[_0x270619(0x144)]+'\x0aStorage:\x20'+_0xc2e19[_0x270619(0x16a)](0x3*-0x3f+-0xdda+-0x3a6*-0x4)+_0x270619(0x16b)+_0x5b41dc[_0x270619(0x1a0)+'MB']+(_0x270619(0x14e)+':\x20')+_0x5b41dc[_0x270619(0xf7)+'s']+(_0x270619(0x168)+'anup:\x20')+(_0x5b41dc[_0x270619(0xe1)+'p']?'ON':'OFF');break;}case'list':{const _0x5bdd97=Array[_0x270619(0x12a)](deletedStatusStore['values']())[_0x270619(0x1a2)](-(0x1498*-0x1+-0x248a+0x3927*0x1))['reverse']();_0x5bdd97[_0x270619(0x12f)]===-0x1b71+0x6*-0x110+0x21d1?_0x3082e8=_0x270619(0x147)+_0x270619(0xe8)+_0x270619(0x105)+_0x270619(0x197):(_0x3082e8=_0x270619(0xf1)+_0x270619(0x129)+_0x270619(0x12c),_0x5bdd97[_0x270619(0x107)]((_0x1a7c57,_0x750e18)=>{const _0x178919=_0x8c74,_0x4fffb2=new Date(_0x1a7c57['timestamp'])[_0x178919(0x110)+'meString'](),_0x1b6eec=_0x1a7c57[_0x178919(0x156)+'er']||_0x1a7c57[_0x178919(0x123)]['split']('@')[-0x1cb9+-0x2*-0xbd8+-0x1*-0x509],_0x10068=_0x1a7c57[_0x178919(0x152)]||_0x178919(0x13f);_0x3082e8+=_0x750e18+(0x1e25+-0xaef+-0x1335)+'.\x20'+_0x10068+'\x20(+'+_0x1b6eec+(_0x178919(0xf2)+'\x20')+(_0x1a7c57[_0x178919(0x16d)]||'text')+_0x178919(0x101)+_0x4fffb2+'\x0a';}));break;}case _0x270619(0x19a):{_0x3082e8=_0x270619(0x18a)+_0x270619(0x140)+'\x0a'+(_0x270619(0x151)+_0x5b41dc['enabled']+'\x0a')+(_0x270619(0x124)+_0x5b41dc[_0x270619(0xfe)]+'\x0a')+(_0x270619(0x1a1)+_0x270619(0x179)+_0x5b41dc[_0x270619(0x190)+'ia']+'\x0a')+(_0x270619(0x165)+_0x270619(0x183)+_0x5b41dc[_0x270619(0x1a0)+'MB']+'MB\x0a')+(_0x270619(0x137)+'terval:\x20'+_0x5b41dc['cleanupInt'+_0x270619(0x181)]+_0x270619(0x117))+(_0x270619(0x172)+_0x270619(0x134)+_0x5b41dc[_0x270619(0xe1)+'p']+'\x0a')+(_0x270619(0x121)+_0x270619(0x102)+_0x5b41dc['maxStatuse'+'s']+'\x0a')+('Max\x20age:\x20'+_0x5b41dc[_0x270619(0xf7)+'s']+'h\x0a')+('Notify\x20own'+'er:\x20'+_0x5b41dc[_0x270619(0x131)+'r']+'\x0a')+('Clean\x20afte'+_0x270619(0x167)+'l:\x20'+_0x5b41dc['cleanRetri'+_0x270619(0xeb)]);break;}default:_0x3082e8='Unknown\x20co'+'mmand.\x20Use'+_0x270619(0x18e)+'\x20private,\x20'+_0x270619(0x18b)+_0x270619(0x106)+_0x270619(0x16c)+_0x270619(0x143);}!_0x3082e8['startsWith'](_0x270619(0x13f))&&(saveStatusConfig(_0x5b41dc),startStatusCleanupInterval()),await _0x4bfbdb[_0x270619(0x159)+'e'](_0x2cd944,{'text':_0x3082e8},{'quoted':_0x2169e1});}async function storeStatusMessage(_0x5f4afd,_0x236974){const _0x476d76=_0x8c74;try{await ensureStatusMediaDir();const _0x54fe3e=loadStatusConfig();if(!_0x54fe3e[_0x476d76(0x1a3)])return;if(!_0x236974[_0x476d76(0x182)]?.['id'])return;if(_0x236974[_0x476d76(0x182)][_0x476d76(0x113)])return;if(_0x236974['key'][_0x476d76(0x130)]!==_0x476d76(0xe7)+_0x476d76(0x177))return;const _0x3d3599=normalizeMessageContent(_0x236974['message'])||_0x236974[_0x476d76(0x199)];if(!_0x3d3599)return;const _0x44ba4e=_0x3d3599?.[_0x476d76(0x173)+_0x476d76(0x138)];if(_0x44ba4e&&(_0x44ba4e[_0x476d76(0xf3)]===-0xb5*0x22+-0x12e3*0x1+0x2aed||_0x44ba4e[_0x476d76(0xf3)]===0x969+0x16*-0x173+0x1*0x167d))return;if(statusStore[_0x476d76(0x144)]>=_0x54fe3e[_0x476d76(0x18f)+'s']){const _0x3d436b=statusStore['keys']()[_0x476d76(0x150)]()['value'],_0x4480ba=statusStore[_0x476d76(0x17c)](_0x3d436b);statusStore['delete'](_0x3d436b),_0x4480ba?.[_0x476d76(0x186)]&&unlink(_0x4480ba[_0x476d76(0x186)])[_0x476d76(0x126)](()=>{});}const _0x20d2e2=_0x236974[_0x476d76(0x182)]['id'],_0x1381c0=_0x236974['key'][_0x476d76(0xed)+'t']||_0x236974['key']['remoteJid'],_0x492106=_0x236974[_0x476d76(0x152)]||_0x476d76(0x13f);let _0x54888e=_0x1381c0[_0x476d76(0x198)]('@')[0x14b*-0x4+-0x7*-0x412+-0x1752]['split'](':')[0xac*0xe+0x5*0x35e+-0x1a3e];if(_0x1381c0[_0x476d76(0x161)](_0x476d76(0x157))||_0x54888e[_0x476d76(0x12f)]>-0x450+0x3b0+0xaf||!/^\d+$/[_0x476d76(0xe9)](_0x54888e))try{if(_0x5f4afd?.['signalRepo'+'sitory']?.['lidMapping']?.[_0x476d76(0xec)+'D']){const _0x264659=[_0x1381c0,_0x54888e+':0@lid',_0x54888e+'@lid'];for(const _0x16a8ca of _0x264659){try{const _0x5c7971=await _0x5f4afd[_0x476d76(0x163)+_0x476d76(0x158)][_0x476d76(0xef)][_0x476d76(0xec)+'D'](_0x16a8ca);if(_0x5c7971){const _0x150a42=String(_0x5c7971)[_0x476d76(0x198)]('@')[0x1944+0x941*0x4+-0x3e48]['replace'](/[^0-9]/g,'');if(_0x150a42[_0x476d76(0x12f)]>=0x2043+-0x556+-0x139*0x16&&_0x150a42[_0x476d76(0x12f)]<=-0x20e3+-0x3*0x8be+-0xecb*-0x4&&_0x150a42!==_0x54888e){_0x54888e=_0x150a42;break;}}}catch{}}}}catch{}const _0x5c4503={'id':_0x20d2e2,'sender':_0x1381c0,'senderNumber':_0x54888e,'pushName':_0x492106,'chatId':_0x236974[_0x476d76(0x182)][_0x476d76(0x130)],'type':_0x476d76(0x176),'mediaType':'','mediaPath':'','content':'','timestamp':Date[_0x476d76(0x196)](),'isDeleted':![]};await extractStatusContent(_0x3d3599,_0x5c4503,_0x54fe3e),(_0x5c4503[_0x476d76(0x18d)]||_0x5c4503[_0x476d76(0x16d)])&&statusStore[_0x476d76(0x192)](_0x20d2e2,_0x5c4503);}catch(_0x44cd81){}}async function extractStatusContent(_0x546308,_0x1da505,_0x51b106){const _0x2814d5=_0x8c74;try{if(!_0x546308)return;if(_0x546308[_0x2814d5(0x19d)+'ge'])_0x1da505[_0x2814d5(0x16d)]=_0x2814d5(0x178),_0x1da505[_0x2814d5(0x18d)]=_0x546308[_0x2814d5(0x19d)+'ge'][_0x2814d5(0xe3)]||'',_0x51b106[_0x2814d5(0x190)+'ia']&&(_0x1da505[_0x2814d5(0x186)]=await downloadStatusMedia(_0x546308[_0x2814d5(0x19d)+'ge'],_0x2814d5(0x178),_0x1da505['timestamp']+('_status.jp'+'g')));else{if(_0x546308['videoMessa'+'ge'])_0x1da505[_0x2814d5(0x16d)]=_0x2814d5(0x145),_0x1da505[_0x2814d5(0x18d)]=_0x546308[_0x2814d5(0x136)+'ge'][_0x2814d5(0xe3)]||'',_0x51b106['captureMed'+'ia']&&(_0x1da505[_0x2814d5(0x186)]=await downloadStatusMedia(_0x546308[_0x2814d5(0x136)+'ge'],_0x2814d5(0x145),_0x1da505[_0x2814d5(0x194)]+(_0x2814d5(0x10d)+'4')));else{if(_0x546308[_0x2814d5(0x171)+'ge']){_0x1da505['mediaType']='audio';if(_0x51b106['captureMed'+'ia']){const _0x540389=_0x546308['audioMessa'+'ge'][_0x2814d5(0x108)]||'',_0x445257=_0x540389['includes'](_0x2814d5(0x142))?_0x2814d5(0xf0):_0x540389['includes'](_0x2814d5(0x180))?_0x2814d5(0x180):_0x2814d5(0xf0);_0x1da505['mediaPath']=await downloadStatusMedia(_0x546308[_0x2814d5(0x171)+'ge'],_0x2814d5(0xee),_0x1da505[_0x2814d5(0x194)]+_0x2814d5(0xf5)+_0x445257);}}else{if(_0x546308['extendedTe'+_0x2814d5(0xe2)]?.[_0x2814d5(0x11a)])_0x1da505[_0x2814d5(0x18d)]=_0x546308[_0x2814d5(0x15a)+_0x2814d5(0xe2)][_0x2814d5(0x11a)],_0x1da505[_0x2814d5(0x16d)]='text';else _0x546308[_0x2814d5(0x187)+'on']&&(_0x1da505[_0x2814d5(0x18d)]=_0x546308[_0x2814d5(0x187)+'on'],_0x1da505['mediaType']=_0x2814d5(0x11a));}}}}catch{}}async function downloadStatusMedia(_0x5f1570,_0x2d1d13,_0x5cba88){const _0x597af5=_0x8c74;try{const _0x39576f=await downloadContentFromMessage(_0x5f1570,_0x2d1d13);let _0x2d6e54=Buffer[_0x597af5(0x12a)]([]);for await(const _0x13dc20 of _0x39576f){_0x2d6e54=Buffer[_0x597af5(0x135)]([_0x2d6e54,_0x13dc20]);}const _0x290fcb=path['join'](STATUS_MEDIA_DIR,_0x5cba88);return await writeFile(_0x290fcb,_0x2d6e54),_0x290fcb;}catch{return null;}}async function handleStatusProtocolRevoke(_0x5d64e4,_0x25f67f){const _0x238722=_0x8c74;try{const _0x1683c9=loadStatusConfig();if(!_0x1683c9[_0x238722(0x1a3)])return;if(_0x25f67f[_0x238722(0x182)][_0x238722(0x130)]!==_0x238722(0xe7)+_0x238722(0x177))return;const _0x2c7e69=normalizeMessageContent(_0x25f67f[_0x238722(0x199)])||_0x25f67f[_0x238722(0x199)];if(!_0x2c7e69)return;const _0x4b9de4=_0x2c7e69?.[_0x238722(0x173)+'ssage'];if(!_0x4b9de4||_0x4b9de4[_0x238722(0xf3)]!==-0x2*-0xa7+-0x26fe*0x1+0x25b0)return;const _0x460264=_0x4b9de4[_0x238722(0x182)]?.['id'];if(!_0x460264)return;const _0x4b80e9=statusStore[_0x238722(0x17c)](_0x460264);if(!_0x4b80e9)return;statusStore[_0x238722(0x19e)](_0x460264),deletedStatusStore[_0x238722(0x192)](_0x460264,{..._0x4b80e9,'deletedAt':Date[_0x238722(0x196)](),'isDeleted':!![]}),_0x1683c9['notifyOwne'+'r']&&await sendStatusDeletionNotification(_0x5d64e4,_0x4b80e9,_0x1683c9),_0x1683c9[_0x238722(0x14b)+_0x238722(0xeb)]&&_0x4b80e9['mediaPath']&&setTimeout(()=>unlink(_0x4b80e9[_0x238722(0x186)])[_0x238722(0x126)](()=>{}),-0x1704+0x1b80*0x1+0xf0c);}catch{}}async function handleStatusUpdateDeletion(_0x4e38db,_0x46f8f3){const _0x3d2f0d=_0x8c74;try{const _0x2c7780=loadStatusConfig();if(!_0x2c7780[_0x3d2f0d(0x1a3)])return;const _0x486f10=_0x46f8f3[_0x3d2f0d(0x182)];if(!_0x486f10?.['id'])return;const _0x3df888=_0x486f10['remoteJidA'+'lt']||_0x486f10[_0x3d2f0d(0x130)];if(_0x3df888!==_0x3d2f0d(0xe7)+_0x3d2f0d(0x177))return;const _0x347846=_0x46f8f3['update']?.['message']===null||_0x46f8f3[_0x3d2f0d(0x13d)]?.[_0x3d2f0d(0x16e)+_0x3d2f0d(0x133)]===0x10d*-0xf+-0x155*-0x1d+-0x16dd||_0x46f8f3[_0x3d2f0d(0x16e)+_0x3d2f0d(0x133)]===-0x1cc1+0x25b3*0x1+-0x8f1||_0x46f8f3['update']?.['messageStu'+_0x3d2f0d(0x133)]===-0xb2d+-0x22d+0xdde;if(!_0x347846)return;const _0x46c294=_0x486f10['id'],_0xcf415b=statusStore[_0x3d2f0d(0x17c)](_0x46c294);if(!_0xcf415b)return;statusStore[_0x3d2f0d(0x19e)](_0x46c294),deletedStatusStore[_0x3d2f0d(0x192)](_0x46c294,{..._0xcf415b,'deletedAt':Date[_0x3d2f0d(0x196)](),'isDeleted':!![]}),_0x2c7780[_0x3d2f0d(0x131)+'r']&&await sendStatusDeletionNotification(_0x4e38db,_0xcf415b,_0x2c7780),_0x2c7780[_0x3d2f0d(0x14b)+_0x3d2f0d(0xeb)]&&_0xcf415b[_0x3d2f0d(0x186)]&&setTimeout(()=>unlink(_0xcf415b['mediaPath'])[_0x3d2f0d(0x126)](()=>{}),0x17a*0x9+0x655+-0x17);}catch{}}async function handleStatusDeletion(_0x2ac745,_0x242b0b){await handleStatusProtocolRevoke(_0x2ac745,_0x242b0b);}async function sendStatusDeletionNotification(_0x4e05e7,_0x373a14,_0x188f19){const _0x275aa3=_0x8c74;try{const _0x5e035a=_0x4e05e7[_0x275aa3(0x13c)]['id']['split'](':')[0x14a9+-0x124c+-0x25d]+(_0x275aa3(0xea)+_0x275aa3(0x175)),_0x13808c=_0x373a14['senderNumb'+'er']||_0x373a14[_0x275aa3(0x123)][_0x275aa3(0x198)]('@')[0x36e*-0x9+0x1a65+0x479],_0x1ddc39=new Date(_0x373a14[_0x275aa3(0x194)])[_0x275aa3(0x154)+_0x275aa3(0x166)]();let _0x506f53=_0x275aa3(0x10a)+_0x275aa3(0x118)+_0x275aa3(0xf4);_0x506f53+=_0x275aa3(0x193)+_0x13808c+'\x0a',_0x506f53+=_0x275aa3(0x15b)+_0x373a14[_0x275aa3(0x152)]+'\x0a',_0x506f53+=_0x275aa3(0xe0)+_0x1ddc39+'\x0a',_0x506f53+=_0x275aa3(0xfb)+(_0x373a14[_0x275aa3(0x16d)]||'text')+'\x0a';if(_0x373a14[_0x275aa3(0x18d)]){_0x506f53+=_0x275aa3(0x132)+_0x373a14[_0x275aa3(0x18d)][_0x275aa3(0x1a4)](0x1*-0xbb4+0x166+0xa4e,0x534+-0xf72+0xc32);if(_0x373a14[_0x275aa3(0x18d)][_0x275aa3(0x12f)]>-0x2a9*-0x1+-0x3fa+0x345*0x1)_0x506f53+=_0x275aa3(0x191);}const _0xd5773=[];(_0x188f19[_0x275aa3(0xfe)]==='private'||_0x188f19[_0x275aa3(0xfe)]===_0x275aa3(0x12e))&&_0xd5773[_0x275aa3(0x128)](_0x5e035a);if(_0x188f19[_0x275aa3(0xfe)]===_0x275aa3(0x14f)||_0x188f19[_0x275aa3(0xfe)]===_0x275aa3(0x12e)){const _0x353c7f=_0x373a14[_0x275aa3(0x123)]['includes']('@')?_0x373a14[_0x275aa3(0x123)]:_0x373a14[_0x275aa3(0x123)]+('@s.whatsap'+'p.net');(_0x353c7f!==_0x5e035a||_0x188f19[_0x275aa3(0xfe)]===_0x275aa3(0x14f))&&_0xd5773[_0x275aa3(0x128)](_0x353c7f);}for(const _0x22055d of _0xd5773){try{if(_0x373a14[_0x275aa3(0x16d)]===_0x275aa3(0x178)&&_0x373a14[_0x275aa3(0x186)]&&fs[_0x275aa3(0x149)](_0x373a14[_0x275aa3(0x186)]))await _0x4e05e7[_0x275aa3(0x159)+'e'](_0x22055d,{'image':{'url':_0x373a14['mediaPath']},'caption':_0x506f53});else{if(_0x373a14[_0x275aa3(0x16d)]===_0x275aa3(0x145)&&_0x373a14[_0x275aa3(0x186)]&&fs[_0x275aa3(0x149)](_0x373a14[_0x275aa3(0x186)]))await _0x4e05e7[_0x275aa3(0x159)+'e'](_0x22055d,{'video':{'url':_0x373a14['mediaPath']},'caption':_0x506f53});else _0x373a14[_0x275aa3(0x16d)]===_0x275aa3(0xee)&&_0x373a14[_0x275aa3(0x186)]&&fs[_0x275aa3(0x149)](_0x373a14[_0x275aa3(0x186)])?(await _0x4e05e7['sendMessag'+'e'](_0x22055d,{'audio':{'url':_0x373a14[_0x275aa3(0x186)]},'mimetype':'audio/mpeg'}),await _0x4e05e7[_0x275aa3(0x159)+'e'](_0x22055d,{'text':_0x506f53})):await _0x4e05e7['sendMessag'+'e'](_0x22055d,{'text':_0x506f53});}}catch{}}}catch{}}function autoCleanOldStatuses(){const _0x1d4b4b=_0x8c74;try{const _0x2aca57=loadStatusConfig(),_0x538f87=_0x2aca57[_0x1d4b4b(0xf7)+'s']*(-0x2d3+-0x2*-0x757+-0xb9f)*(0x16af+-0x21*0x61+-0x9f2*0x1)*(0x7a9+0x6*0x122+0xa8d*-0x1),_0x2f15f2=Date[_0x1d4b4b(0x196)]();for(const [_0x472f20,_0x5d757c]of statusStore[_0x1d4b4b(0xff)]()){_0x2f15f2-_0x5d757c[_0x1d4b4b(0x194)]>_0x538f87&&(statusStore['delete'](_0x472f20),_0x5d757c[_0x1d4b4b(0x186)]&&unlink(_0x5d757c['mediaPath'])[_0x1d4b4b(0x126)](()=>{}));}for(const [_0x1a8960,_0x24a496]of deletedStatusStore['entries']()){_0x2f15f2-_0x24a496['timestamp']>_0x538f87&&deletedStatusStore['delete'](_0x1a8960);}}catch{}}function _0x8c74(_0xca1e61,_0x4c99aa){_0xca1e61=_0xca1e61-(-0x3da*-0x4+0x11*-0x203+-0x1*-0x13aa);const _0xdcc6e9=_0x30eb();let _0x5482b1=_0xdcc6e9[_0xca1e61];if(_0x8c74['XySTKW']===undefined){var _0x2a665e=function(_0x225869){const _0x171cea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ea8f5='',_0x11cd77='';for(let _0x1258ad=-0x213d*0x1+-0x1769+0x6*0x971,_0x18a2ec,_0x476511,_0x16a339=0x1*-0x1b5d+-0x4*0x304+0x276d*0x1;_0x476511=_0x225869['charAt'](_0x16a339++);~_0x476511&&(_0x18a2ec=_0x1258ad%(0x263b*-0x1+0x4cc+-0x1*-0x2173)?_0x18a2ec*(0x1*0x2006+0x20a5+-0x406b)+_0x476511:_0x476511,_0x1258ad++%(-0x955*-0x1+0x1128+-0x1a79))?_0x4ea8f5+=String['fromCharCode'](-0x1be6+-0x2c9+0x32b*0xa&_0x18a2ec>>(-(-0x2bd*-0xc+-0x1a7*0x7+-0x1549*0x1)*_0x1258ad&0x1bb2+0x12cf+-0x2e7b)):0x1d9+-0xbd*0x21+0x1684){_0x476511=_0x171cea['indexOf'](_0x476511);}for(let _0x31143f=0x1d4a+-0x36+0x1d14*-0x1,_0xb302ed=_0x4ea8f5['length'];_0x31143f<_0xb302ed;_0x31143f++){_0x11cd77+='%'+('00'+_0x4ea8f5['charCodeAt'](_0x31143f)['toString'](0x3*-0x3f+-0xdda+-0x155*-0xb))['slice'](-(0x1498*-0x1+-0x248a+0x3924*0x1));}return decodeURIComponent(_0x11cd77);};_0x8c74['LLeTyn']=_0x2a665e,_0x8c74['PcSOxk']={},_0x8c74['XySTKW']=!![];}const _0x521f54=_0xdcc6e9[-0x1b71+0x6*-0x110+0x21d1],_0x2ea317=_0xca1e61+_0x521f54,_0x547b72=_0x8c74['PcSOxk'][_0x2ea317];return!_0x547b72?(_0x5482b1=_0x8c74['LLeTyn'](_0x5482b1),_0x8c74['PcSOxk'][_0x2ea317]=_0x5482b1):_0x5482b1=_0x547b72,_0x5482b1;}module[_0x59cc6e(0x13b)]={'handleStatusAntideleteCommand':handleStatusAntideleteCommand,'handleStatusDeletion':handleStatusDeletion,'handleStatusUpdateDeletion':handleStatusUpdateDeletion,'storeStatusMessage':storeStatusMessage,'cleanStatusMediaFolder':cleanStatusMediaFolder};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x235956=_0x3314;(function(_0x47a31e,_0x1c2f10){const _0x4fea65=_0x3314,_0x1fdc4f=_0x47a31e();while(!![]){try{const _0x14766c=-parseInt(_0x4fea65(0x190))/(0x156c*0x1+-0x2*-0x1246+-0x39f7)+parseInt(_0x4fea65(0x105))/(0x159c+0xb4b+-0x1*0x20e5)*(-parseInt(_0x4fea65(0x173))/(-0x1e4d+-0x74f*-0x5+0x37*-0x1d))+parseInt(_0x4fea65(0x1b2))/(0x1*-0x2ff+-0x268a+0x298d)+parseInt(_0x4fea65(0x17a))/(0x239*-0xb+0x88d*-0x4+-0x4*-0xeab)+-parseInt(_0x4fea65(0x12a))/(-0x2c3+0x1*0x22b7+-0x1fee)+parseInt(_0x4fea65(0x169))/(0xba5+-0x125f+-0xf7*-0x7)+-parseInt(_0x4fea65(0x142))/(0xba*-0x1+-0x59c*0x1+0x65e)*(-parseInt(_0x4fea65(0x1b7))/(0x274*-0x4+-0x2647+0x3020));if(_0x14766c===_0x1c2f10)break;else _0x1fdc4f['push'](_0x1fdc4f['shift']());}catch(_0x5b7421){_0x1fdc4f['push'](_0x1fdc4f['shift']());}}}(_0x45b6,0x20*-0xcef5+-0x9764c+-0x1855db*-0x2));const {getGroupConfig,setGroupConfig}=require('../../Data'+'base/setti'+_0x235956(0x166)),db=require(_0x235956(0x126)+_0x235956(0x1ab)+_0x235956(0x10a)),isAdmin=require(_0x235956(0x195)+_0x235956(0x1b3)+'n'),{createFakeContact,getBotName}=require(_0x235956(0x195)+_0x235956(0x114)+_0x235956(0x158)),{getPrefix}=require(_0x235956(0x182)+'etprefix');function _0x45b6(){const _0x50ca4e=['raRILiik4Psu4Psa4Psa4Psa4Psa4Psa','vw5KBYbKzw1VDa','cUkuGGRILjtILidILidILidILidILidILia','BNrPzgvTB3rLia','B3vWig1LDgfKyq','zw5HyMXLza','qgXPza','y29TBwfUzcek4Psc','oJbaBgLK','t0zg','Dgv4Da','qw50AwrLBw90zq','BgLKtwfWCgLUzW','B21Tyw5KoG','lI4VlI4Vrgf0yq','BwLU','z2v0ue5gB3jmsq','kYb3yxjUcUkuGIbl','otm0mti2ohPQEvfvtq','qunusvzf','zsekuMuTywrKia','isbxyxjUAw5Nia','y2LWyw50C1vWza','qhmUD2HHDhnHCa','CMv2zxj0','ig9MzGRILiiG','cUkuGGRILiiGq29TBwe','AxncB3rbzg1PBG','rv0GuMv2zxj0zq','B2rLihnLDcb0BW','lxbYB21VDguGBq','ChjVBw90zq','reLtqujmruqk4Psc','ChjVDgvJDcb0Aa','BNzHBgLKig9WDa','B2zM','icyGA2LJA2vKia','ru5bqKXfraRILiiG','Axntzw5Kzxjbza','cUkuLokuGokuGokuGokuGokuGokuGokuGokuGa','Aw5JCMvTzw50vW','C3vWzxjHzg1PBG','mJa4ofzwrMT5Cq','Dg9tDhjPBMC','Bg9N','CMuGChjVDgvJDa','icyGB2zMzw5Kzq','zxH0zw5Kzwruzq','C2v0D2fYBG','zxHWB3j0CW','CIbKzw1VDgvKiq','Aw9UlG','AgvSCa','cUkuGIbnB2rLoIa','BgvUz3rO','rxjYB3iGAw4Gyq','Aw5JBhvKzxm','AxmGz3jVDxaUcG','iqRILiik4Psu4Psa4Psa4Psa4Psa4Psa','y29UDMvYC2f0Aq','yw5UB3qGCMv2zq','CNqGkYbRAwnRcG','ig9UcUkuGIa','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','BNrHy3q','BMrZoGRILiiG','AwnRlcb3yxjUla','kIdILidILjak4PsccUkuGIbh','zwqP','DxnLCG','4Psa4Psa4Psa4Psa4Psa4Psa4Psy','DgLSihLVDsbYzq','4Pscie1VzgvZoGRILii','Dw5RBM93BG','A2v5CW','igTPy2Sk4Pscia','ihrYAwvKihrVia','BIb0BYbYzxn0BW','BMDZu3rVCMu','ihjLDMvYDcWGAW','C2LNBMfSuMvWBW','mJCXnZG1nuTfCu5bzG','cGPbBNrPzgvTBW','ic0GuMv2zxj0ia','4Psu4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','cIPezw1VDgvKia','igLUia','A2LJAW','Dg9vChbLCKnHCW','ywz0zxiG','sunlic0GuMv2zq','mZeYmZLpBuPoq3i','zgvTB3rL','BM8GBg9Uz2vYia','B3DUzxi','Aw9UiqRILiiGvxnL','4Psa4Psa4Psa4Psa4Psa4Psy','qgCUDxm','nZC1mdaWyxDyEMXp','BwuGyxmGywrTAq','zcbKzw1VDgLVBG','BIbYzxzLCNrLza','ywrTAw4','kIdILidILjak4PsccUkuGIbt','CM5LzdO','CYbZzxqGDg86ia','lI4VB3DUzxiVCW','BNvTpGRILiiG','ifjfvKvsvcaTia','ihnLDhDHCM4Gpa','yNK6kIba','tgLUztO','Bw9Kzq','Aw9UcUkuGIbxqvjo','EhrnzxnZywDL','D2fYBG','4Pscie93BMvYigHH','BwfW','iqRILiiGssbJyw4G','kIdILidILjak4PsccUkuGIbc','mZK5nte3C3PkquTA','BNrPzgvTB3rLqW','z3jVDxbqyxj0Aq','CMvTB3zL','yxjUAw5N','lI4VlI4Vzgf2zq','cUkuGIbbBNrPzgvT','kIdILidILjak4PsccUkuGIbb','w0foveLeru1pva','C3rHy2S','ihDHCM4k4Pscia','4Psm4PsaicO','t1rfrcOkcIPhCG','BwvZC2fNzq','CNnLigrLBw90Aq','zg1PBIbVBMX5ia','CgfYDgLJAxbHBG','BYbIzsbHzg1PBG','4PsccUkuLokuGokuGokuGokuGokuGokuGokuGa','BgLK','C2vUze1LC3nHzW','zgvTB3rLiea','Cc5Uzxq','zw5KC1DPDgG','yxrH','zxjYB3i','DgvZDa','yMfZzs9KyxrHyG','AxntDwrV','Dge6','yxrL','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','EsbZDgLSBcbOyq','cUkuGIbezw1VDgLV','nZKYmJK2BNL3A0Ln','BgLIl2LZqwrTAq','yw50AwrLBw90zq','BNrPzgvTB3rLoG','zNjVBu1L','otG5nZnNwLHprha','CYbIzwvUig5VDa','rv0GuhjVBw90zq','BNzHBgLKig51Bq','zMLUza','AwzPzwqUcUkuGGRILjq','qwXSugfYDgLJAq','tw9KztOG','4PQG77IpicO','ihn0yxr1CWRILiik','B3rLzcbIEsba','ihDHCM5PBMDZiq','B3rLievoqujmrq','DguGy2fUBM90ia','kIdILidILjak4PsccUkuGIbd','oIbVBIWGB2zMla','z3jVDxbnzxrHza','CMvZzxrxyxjUAq','mtuWrwvQC0X1','ieKGD2fZigrLBq','Dg9mB3DLCKnHCW','kIdILidILjak4PsccUkuGIdIMQdVUi8','C3rYAw5N','yxnL','ig9Mia','BMqGB25SEsek4Psc','oIbgywLSzwqGDa','C2L0B3j5','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','ignHBgWGCMv0Dq','C3bSAxq','DMuGC3vJy2vLza','CIbRAwnRzwqHcG','BgLIl2zHA2vdBW','ic0GqK9uierftq','kIdILidILjak4PsccUkuGIba','A2v5'];_0x45b6=function(){return _0x50ca4e;};return _0x45b6();}function normalizeJid(_0x26fce2){const _0x8f6b63=_0x3314;if(!_0x26fce2)return'';const _0x3cd4bd=typeof _0x26fce2===_0x8f6b63(0x109)?_0x26fce2:_0x26fce2['id']||_0x26fce2[_0x8f6b63(0x143)](),_0xb2e09b=_0x3cd4bd[_0x8f6b63(0x111)]('@')[-0x27e+-0x14cf+0x174d*0x1][_0x8f6b63(0x111)](':')[-0x1abf+0xabf*0x3+-0x57e];return _0xb2e09b+(_0x8f6b63(0x12f)+_0x8f6b63(0x1a6));}function _0x3314(_0x49d20c,_0x553264){_0x49d20c=_0x49d20c-(0x1*-0x1479+-0xa9*-0x1+0x24f*0x9);const _0x5b69a7=_0x45b6();let _0x4e8ed8=_0x5b69a7[_0x49d20c];if(_0x3314['FDKWIq']===undefined){var _0x2f6d35=function(_0x4e315a){const _0x460b7d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51b369='',_0x3a089a='';for(let _0x9984dc=0x18d+-0x49e+0x311,_0x222013,_0x58ee28,_0x28b570=-0x1de*0xd+-0x60*-0x63+0x292*-0x5;_0x58ee28=_0x4e315a['charAt'](_0x28b570++);~_0x58ee28&&(_0x222013=_0x9984dc%(-0x7a7+0xd3f*0x2+-0x12d3)?_0x222013*(0x1d2a+-0x432*-0x3+0x14c0*-0x2)+_0x58ee28:_0x58ee28,_0x9984dc++%(0x201d*0x1+-0x12c0+-0x43*0x33))?_0x51b369+=String['fromCharCode'](0x446*0x8+-0x16f6*-0x1+-0x3827&_0x222013>>(-(0x254f+0x9*-0x21b+-0x125a)*_0x9984dc&-0x2210*-0x1+0x210+-0x241a*0x1)):-0x5*0x1e7+-0x1*0x1fc4+0x2947){_0x58ee28=_0x460b7d['indexOf'](_0x58ee28);}for(let _0x55a1ea=0x2*-0x115a+-0x216d*0x1+0x4421,_0xcf26c3=_0x51b369['length'];_0x55a1ea<_0xcf26c3;_0x55a1ea++){_0x3a089a+='%'+('00'+_0x51b369['charCodeAt'](_0x55a1ea)['toString'](-0xc81+-0x2008+0x2c99))['slice'](-(-0x2541+0xca+0x2479));}return decodeURIComponent(_0x3a089a);};_0x3314['WcBMle']=_0x2f6d35,_0x3314['IsvDpB']={},_0x3314['FDKWIq']=!![];}const _0x41e8a2=_0x5b69a7[-0xac0+-0x231a+0x2dda],_0x443432=_0x49d20c+_0x41e8a2,_0xf4b44c=_0x3314['IsvDpB'][_0x443432];return!_0xf4b44c?(_0x4e8ed8=_0x3314['WcBMle'](_0x4e8ed8),_0x3314['IsvDpB'][_0x443432]=_0x4e8ed8):_0x4e8ed8=_0xf4b44c,_0x4e8ed8;}async function resolveToPhone(_0x47139a,_0x586f7d){const _0x491024=_0x3314;if(!_0x586f7d)return _0x491024(0x161);const _0x467a47=_0x586f7d[_0x491024(0x111)]('@')[0xd3f*0x2+-0x126b+0xd*-0x9f][_0x491024(0x111)](':')[-0x11da+0x1d0d*0x1+-0x2f*0x3d];if(/^\d{7,15}$/[_0x491024(0x1aa)](_0x467a47))return _0x467a47;try{if(_0x47139a?.['signalRepo'+_0x491024(0x10e)]?.['lidMapping']?.[_0x491024(0x128)+'D']){const _0xadb9d6=[_0x586f7d,_0x467a47+_0x491024(0x120),_0x467a47+_0x491024(0x11e)];for(const _0x115019 of _0xadb9d6){try{const _0x34469e=await _0x47139a[_0x491024(0x168)+_0x491024(0x10e)][_0x491024(0x124)][_0x491024(0x128)+'D'](_0x115019);if(_0x34469e){const _0x3d4be8=String(_0x34469e)[_0x491024(0x111)]('@')[0x4ef+-0x3f5*-0x9+0x207*-0x14]['replace'](/[^0-9]/g,'');if(_0x3d4be8['length']>=-0xc9b*-0x3+0x1912+-0x6c*0x95&&_0x3d4be8[_0x491024(0x14e)]<=-0xcbf*0x2+0x1*0xa1a+-0xf73*-0x1&&_0x3d4be8!==_0x467a47)return _0x3d4be8;}}catch{}}}const _0x3fec01=await _0x47139a['groupFetch'+_0x491024(0xf9)+'pating']();for(const _0xf1c108 of Object[_0x491024(0x162)](_0x3fec01)){for(const _0x24b441 of _0x3fec01[_0xf1c108][_0x491024(0x1a0)+'ts']||[]){const _0x14eede=(_0x24b441['id']||'')[_0x491024(0x111)]('@')[-0x12a2+0x1ced+-0xa4b][_0x491024(0x111)](':')[-0x1*-0x213e+-0xb48+-0x15f6],_0x4ca605=(_0x24b441[_0x491024(0x1a3)]||'')[_0x491024(0x111)]('@')[0xc7*-0x2b+0x44f+0x1d1e][_0x491024(0x111)](':')[-0xc81+-0x2008+0x2c89];if((_0x4ca605===_0x467a47||_0x14eede===_0x467a47)&&_0x14eede&&/^\d{7,15}$/['test'](_0x14eede)&&_0x14eede!==_0x467a47)return _0x14eede;}}}catch{}return _0x467a47;}async function handleAntidemote(_0x3bfdda,_0x4db4c3,_0xa1faba,_0x19d042){const _0x615db4=_0x3314;try{const _0x5a5c03=getGroupConfig(_0x4db4c3,'antidemote');if(!_0x5a5c03||!_0x5a5c03['enabled'])return![];const _0x33206b=getBotName(),_0x147ccd=createFakeContact(),_0x265f26=normalizeJid(_0x3bfdda[_0x615db4(0x15d)]?.['id']);let _0x5c1e8a;try{_0x5c1e8a=await _0x3bfdda[_0x615db4(0x103)+_0x615db4(0x1a8)](_0x4db4c3);}catch(_0x460d53){return console[_0x615db4(0x1a9)](_0x615db4(0x123)+_0x615db4(0x10d)+'o\x20fetch\x20gr'+_0x615db4(0x11c)+_0x615db4(0x1ad),_0x460d53[_0x615db4(0x19d)]),![];}const _0x137864=normalizeJid(_0x5c1e8a[_0x615db4(0x176)]),_0x56cb6c=normalizeJid(_0x19d042),_0x44733e=_0x56cb6c===_0x137864||_0x19d042&&_0x5c1e8a[_0x615db4(0x176)]&&_0x19d042===_0x5c1e8a[_0x615db4(0x176)],_0x1edb83=db[_0x615db4(0x1ac)](_0x19d042)||db[_0x615db4(0x1ac)](_0x56cb6c);if(_0x44733e||_0x1edb83)return![];const _0x4de953=_0x19d042?.[_0x615db4(0x111)]('@')[-0x2541+0xca+0x2477]?.[_0x615db4(0x111)](':')[-0xac0+-0x231a+0x2dda],_0x52044d=_0x3bfdda[_0x615db4(0x15d)]?.['id']?.[_0x615db4(0x111)](':')[0xcb*0x1b+-0x22b6+0xf*0xe3]?.[_0x615db4(0x111)]('@')[0x2f3*-0x9+-0xc7f*-0x2+0x18d],_0x39b516=_0x3bfdda[_0x615db4(0x15d)]?.[_0x615db4(0x1a3)]?.[_0x615db4(0x111)](':')[-0x361*-0xa+0x6*-0xf4+-0x1c12]?.[_0x615db4(0x111)]('@')[-0x1*-0xfe2+-0x4*-0x61+-0x8b3*0x2];if(_0x4de953===_0x52044d||_0x39b516&&_0x4de953===_0x39b516)return![];const _0xc2973b=_0xa1faba[_0x615db4(0x18d)](_0x4176d5=>typeof _0x4176d5===_0x615db4(0x109)?_0x4176d5:_0x4176d5['id']||String(_0x4176d5)),_0x152caf=_0x5a5c03[_0x615db4(0x188)]||'revert',_0x363d5c=_0x3bfdda[_0x615db4(0x15d)]?.[_0x615db4(0x1a3)],_0x58df32=_0x363d5c?normalizeJid(_0x363d5c):null,_0x2486d7=_0xc2973b['some'](_0x59199f=>{const _0x294c23=_0x3314,_0x50b326=normalizeJid(_0x59199f);if(_0x50b326===_0x265f26)return!![];if(_0x58df32&&_0x50b326===_0x58df32)return!![];const _0x9c66f4=_0x59199f[_0x294c23(0x111)]('@')[-0x1de+0x1a1+0x3d][_0x294c23(0x111)](':')[-0x1b7*0x8+0xe63+-0xab];if(_0x9c66f4===_0x52044d)return!![];if(_0x39b516&&_0x9c66f4===_0x39b516)return!![];return![];}),_0x576844=_0x5c1e8a['participan'+'ts'][_0x615db4(0xf7)](_0xf92cf6=>{const _0x1f9037=_0x3314;if(normalizeJid(_0xf92cf6['id'])===_0x265f26||_0xf92cf6['id']===_0x265f26)return!![];if(_0x58df32&&(normalizeJid(_0xf92cf6['id'])===_0x58df32||_0xf92cf6['id']===_0x363d5c))return!![];const _0x561d05=(_0xf92cf6['id']||'')[_0x1f9037(0x111)]('@')[-0x62*0x5e+0x1ba6+0x856][_0x1f9037(0x111)](':')[-0x6c8*-0x5+-0x1245*0x1+0x1*-0xfa3];if(_0x561d05===_0x52044d)return!![];if(_0x39b516&&_0x561d05===_0x39b516)return!![];return![];}),_0x4f80bf=!_0x576844||_0x576844[_0x615db4(0x17e)]===_0x615db4(0x17e)||_0x576844[_0x615db4(0x17e)]===_0x615db4(0x141);if(_0x2486d7){const _0x30b80b=await resolveToPhone(_0x3bfdda,_0x19d042);let _0x118bfb='';try{_0x118bfb=_0x5c1e8a['subject']||_0x4db4c3;}catch{}const _0x16f545=_0x3bfdda['user']['id'][_0x615db4(0x111)](':')[-0x13*0x4f+0x55*-0x11+0xb82]+('@s.whatsap'+'p.net');try{await _0x3bfdda[_0x615db4(0x1a4)+'e'](_0x16f545,{'text':_0x615db4(0xfb)+_0x33206b+(_0x615db4(0x115)+_0x615db4(0x19c)+'oup:*\x20')+_0x118bfb+(_0x615db4(0x16d)+_0x615db4(0x186))+_0x30b80b+(_0x615db4(0x16a)+_0x615db4(0x100)+_0x615db4(0x139)+'e\x20group\x20un'+_0x615db4(0x15f)+_0x615db4(0x136)+_0x615db4(0x12c)+_0x615db4(0x17b)+_0x615db4(0x165)+_0x615db4(0x145)+_0x615db4(0x14b)),'mentions':[_0x19d042]});}catch{}return await _0x3bfdda['sendMessag'+'e'](_0x4db4c3,{'text':'┌─\x20*'+_0x33206b+(_0x615db4(0x108)+_0x615db4(0x106)+_0x615db4(0xfd))+_0x30b80b+(_0x615db4(0x18e)+_0x615db4(0x175)+_0x615db4(0x139)+_0x615db4(0x151)+_0x615db4(0x18c)+_0x615db4(0x1b8)+_0x615db4(0xf8)+_0x615db4(0x1af)+'───┘'),'mentions':[_0x19d042]},{'quoted':_0x147ccd}),![];}if(!_0x4f80bf)return await _0x3bfdda['sendMessag'+'e'](_0x4db4c3,{'text':_0x615db4(0x19b)+_0x33206b+(_0x615db4(0x101)+_0x615db4(0x154)+_0x615db4(0x19e)+'on\x20-\x20bot\x20n'+'eeds\x20admin'+_0x615db4(0x152)+'────────┘')},{'quoted':_0x147ccd}),![];const _0x2a57e5=await resolveToPhone(_0x3bfdda,_0x19d042),_0x50ab58=await resolveToPhone(_0x3bfdda,_0xc2973b[0x1337*-0x1+-0x505*-0x7+-0xfec]);try{await _0x3bfdda[_0x615db4(0x192)+_0x615db4(0x12e)+'ate'](_0x4db4c3,_0xc2973b,_0x615db4(0x137)),console['log'](_0x615db4(0x198)+_0x615db4(0x134)+_0x615db4(0x17c)+_0x615db4(0x10b)+_0x50ab58+_0x615db4(0x16e)+_0x4db4c3);}catch(_0x509b4c){console[_0x615db4(0x144)](_0x615db4(0x198)+_0x615db4(0x1b9)+_0x615db4(0x110)+_0x615db4(0x180),_0x509b4c['message'],'(action\x20ma'+_0x615db4(0x1b0)+_0x615db4(0x112)+_0x615db4(0x15c));}if(_0x152caf===_0x615db4(0x16f)){try{await _0x3bfdda[_0x615db4(0x192)+_0x615db4(0x12e)+_0x615db4(0x1ae)](_0x4db4c3,[_0x19d042],_0x615db4(0x193));}catch(_0x21a783){}await _0x3bfdda[_0x615db4(0x1a4)+'e'](_0x4db4c3,{'text':_0x615db4(0x19b)+_0x33206b+_0x615db4(0x116)+_0x2a57e5+(_0x615db4(0x164)+_0x615db4(0x1a5))+_0x50ab58+(_0x615db4(0x1b1)+_0x615db4(0x17d)+_0x615db4(0x146)+_0x615db4(0x113)+_0x615db4(0x1a2)+_0x615db4(0x15e)),'mentions':[_0x19d042,..._0xc2973b]},{'quoted':_0x147ccd});}else{if(_0x152caf===_0x615db4(0x18b)){const _0x45f202=_0x5a5c03['maxWarning'+'s']||-0x16bd+0x6d*0x57+-0xe4b,_0x16addf=db[_0x615db4(0x140)+_0x615db4(0x194)](_0x4db4c3,_0x19d042);if(_0x16addf>=_0x45f202){try{await _0x3bfdda['groupParti'+'cipantsUpd'+_0x615db4(0x1ae)](_0x4db4c3,[_0x19d042],_0x615db4(0x193));}catch(_0x50d0cf){}db[_0x615db4(0x104)+'ng'](_0x4db4c3,_0x19d042),await _0x3bfdda[_0x615db4(0x1a4)+'e'](_0x4db4c3,{'text':'┌─\x20*'+_0x33206b+_0x615db4(0x116)+_0x2a57e5+('\x20tried\x20to\x20'+_0x615db4(0x1a5))+_0x50ab58+(_0x615db4(0x1b1)+_0x615db4(0x17d)+_0x615db4(0x13c)+_0x615db4(0x171))+_0x45f202+(_0x615db4(0xfe)+_0x615db4(0x11a)+_0x615db4(0x157)),'mentions':[_0x19d042,..._0xc2973b]},{'quoted':_0x147ccd});}else await _0x3bfdda['sendMessag'+'e'](_0x4db4c3,{'text':'┌─\x20*'+_0x33206b+'*\x20─┐\x0a│\x0a│\x20@'+_0x2a57e5+(_0x615db4(0x164)+'demote\x20@')+_0x50ab58+(_0x615db4(0x1b1)+_0x615db4(0x17d)+_0x615db4(0x12d))+_0x16addf+'/'+_0x45f202+(_0x615db4(0x11a)+_0x615db4(0x157)),'mentions':[_0x19d042,..._0xc2973b]},{'quoted':_0x147ccd});}else{try{await _0x3bfdda[_0x615db4(0x192)+'cipantsUpd'+_0x615db4(0x1ae)](_0x4db4c3,[_0x19d042],_0x615db4(0x174));}catch(_0x5f3bb3){}await _0x3bfdda[_0x615db4(0x1a4)+'e'](_0x4db4c3,{'text':'┌─\x20*'+_0x33206b+_0x615db4(0x116)+_0x2a57e5+(_0x615db4(0x164)+'demote\x20@')+_0x50ab58+(_0x615db4(0x1b1)+_0x615db4(0x17d)+_0x615db4(0x146)+_0x615db4(0x14a)+_0x615db4(0x11a)+_0x615db4(0x157)),'mentions':[_0x19d042,..._0xc2973b]},{'quoted':_0x147ccd});}}return!![];}catch(_0x10048c){return console[_0x615db4(0x1a9)]('Error\x20in\x20h'+'andleAntid'+'emote:',_0x10048c[_0x615db4(0x19d)],'Line:',_0x10048c[_0x615db4(0x199)]?.[_0x615db4(0x111)]('\x0a')[-0xd26+-0xa35+0x2*0xbae]),![];}}async function antidemoteCommand(_0x53109a,_0x58d583,_0x45c116,_0x5436fb){const _0x3f3243=_0x3314;try{const _0x174de9=createFakeContact(_0x5436fb),_0x26cafa=getBotName(),_0x11fd26=getPrefix(),_0x203f5b=_0x45c116[_0x3f3243(0x19d)]?.[_0x3f3243(0x153)+'on']||_0x45c116[_0x3f3243(0x19d)]?.[_0x3f3243(0x147)+_0x3f3243(0x18a)]?.[_0x3f3243(0x122)]||'',_0x4ca293=_0x203f5b[_0x3f3243(0x111)]('\x20'),_0x413fac=_0x4ca293[-0xbdd+0x1049*-0x2+0x2c70]?.[_0x3f3243(0x107)+'e']();if(!_0x58d583[_0x3f3243(0x1a7)](_0x3f3243(0x179))){await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+(_0x3f3243(0x15b)+'roup\x20comma'+_0x3f3243(0x10c)+'\x0a└────────'+_0x3f3243(0x178))},{'quoted':_0x174de9});return;}const _0x227b91=await isAdmin(_0x53109a,_0x58d583,_0x5436fb),_0x340939=_0x227b91[_0x3f3243(0x13e)+_0x3f3243(0x127)],_0x386f78=_0x227b91[_0x3f3243(0x133)];if(!_0x386f78){await _0x53109a[_0x3f3243(0x1a4)+'e'](_0x58d583,{'text':'┌─\x20*'+_0x26cafa+(_0x3f3243(0x18f)+'ot\x20needs\x20t'+_0x3f3243(0x1a1)+_0x3f3243(0x152)+_0x3f3243(0x10f))},{'quoted':_0x174de9});return;}if(!_0x340939&&!_0x45c116[_0x3f3243(0x117)][_0x3f3243(0x1b6)]&&!db[_0x3f3243(0x1ac)](_0x5436fb)){await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20A'+_0x3f3243(0x19f)+_0x3f3243(0x11f)+_0x3f3243(0x13f)+'─────┘')},{'quoted':_0x174de9});return;}const _0x2978b0=getGroupConfig(_0x58d583,_0x3f3243(0x1b4))||{'enabled':![],'mode':_0x3f3243(0x130)};if(!_0x413fac||_0x413fac===_0x3f3243(0x14c)){await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+(_0x3f3243(0x17f)+'tatus:\x20')+(_0x2978b0[_0x3f3243(0x11d)]?'ON':_0x3f3243(0x121))+_0x3f3243(0x14d)+(_0x2978b0[_0x3f3243(0x188)]||_0x3f3243(0x130))[_0x3f3243(0x170)+'e']()+(_0x3f3243(0x132)+_0x3f3243(0x159))+_0x11fd26+(_0x3f3243(0x1b4)+_0x3f3243(0x156))+_0x11fd26+(_0x3f3243(0x1b4)+_0x3f3243(0x131))+_0x11fd26+(_0x3f3243(0x1b4)+'\x20revert\x0a│\x20')+_0x11fd26+(_0x3f3243(0x1b4)+_0x3f3243(0x19a))+_0x11fd26+(_0x3f3243(0x1b4)+_0x3f3243(0x163))+_0x11fd26+('antidemote'+_0x3f3243(0x185)+_0x3f3243(0x183))+_0x11fd26+(_0x3f3243(0x1b4)+_0x3f3243(0xfc)+_0x3f3243(0x160)+_0x3f3243(0x184)+_0x3f3243(0x119)+_0x3f3243(0x189)+_0x3f3243(0x16b)+_0x3f3243(0x129)+_0x3f3243(0x172)+_0x3f3243(0x155)+_0x3f3243(0x1a2)+_0x3f3243(0x15e))},{'quoted':_0x174de9});return;}if(_0x413fac==='status'){await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+(_0x3f3243(0x197)+_0x3f3243(0x1b5)+'\x20')+(_0x2978b0[_0x3f3243(0x11d)]?_0x3f3243(0x12b):'INACTIVE')+_0x3f3243(0x14d)+(_0x2978b0[_0x3f3243(0x188)]||_0x3f3243(0x130))[_0x3f3243(0x170)+'e']()+(_0x3f3243(0x11a)+_0x3f3243(0x157))},{'quoted':_0x174de9});return;}if(_0x413fac===_0x3f3243(0x148)){const _0x1122e0=parseInt(_0x4ca293[0x7b7+-0x3*-0xcdd+-0x2e4c]);_0x1122e0>-0x1622+-0x6*-0x661+-0x4*0x409&&_0x1122e0<=-0xd+0x819*0x4+-0x204d?(setGroupConfig(_0x58d583,_0x3f3243(0x1b4),{..._0x2978b0,'maxWarnings':_0x1122e0}),await _0x53109a[_0x3f3243(0x1a4)+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20M'+'ax\x20warning'+_0x3f3243(0x181))+_0x1122e0+('\x0a│\x0a└──────'+'───────┘')},{'quoted':_0x174de9})):await _0x53109a[_0x3f3243(0x1a4)+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20I'+_0x3f3243(0x1ba)+'ber!\x20Use\x201'+'-10\x0a│\x0a└───'+_0x3f3243(0x1af)+'┘')},{'quoted':_0x174de9});return;}if(_0x413fac==='on')setGroupConfig(_0x58d583,_0x3f3243(0x1b4),{..._0x2978b0,'enabled':!![]}),await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':'┌─\x20*'+_0x26cafa+(_0x3f3243(0x197)+_0x3f3243(0x11b)+_0x3f3243(0x13d)+_0x3f3243(0xfa))+(_0x2978b0['mode']||'revert')[_0x3f3243(0x170)+'e']()+(_0x3f3243(0x11a)+'───────┘')},{'quoted':_0x174de9});else{if(_0x413fac===_0x3f3243(0x13b))setGroupConfig(_0x58d583,'antidemote',{..._0x2978b0,'enabled':![]}),await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20A'+_0x3f3243(0x11b)+_0x3f3243(0x138)+_0x3f3243(0x13f)+_0x3f3243(0x178))},{'quoted':_0x174de9});else['revert',_0x3f3243(0x16f),_0x3f3243(0x18b)][_0x3f3243(0x150)](_0x413fac)?(setGroupConfig(_0x58d583,'antidemote',{..._0x2978b0,'enabled':!![],'mode':_0x413fac}),await _0x53109a['sendMessag'+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20M'+_0x3f3243(0x135)+':\x20')+_0x413fac[_0x3f3243(0x170)+'e']()+(_0x3f3243(0x196)+_0x3f3243(0xff)+_0x3f3243(0x118)+_0x3f3243(0x10f))},{'quoted':_0x174de9})):await _0x53109a[_0x3f3243(0x1a4)+'e'](_0x58d583,{'text':_0x3f3243(0x19b)+_0x26cafa+('*\x20─┐\x0a│\x0a│\x20I'+_0x3f3243(0x13a)+_0x3f3243(0x177)+_0x3f3243(0x102)+_0x3f3243(0x167)+_0x3f3243(0x15a)+_0x3f3243(0xfc)+_0x3f3243(0x16c)+'────┘')},{'quoted':_0x174de9});}}catch(_0x1932d4){console[_0x3f3243(0x1a9)](_0x3f3243(0x14f)+_0x3f3243(0x191)+_0x3f3243(0x125),_0x1932d4[_0x3f3243(0x19d)],_0x3f3243(0x187),_0x1932d4[_0x3f3243(0x199)]?.[_0x3f3243(0x111)]('\x0a')[0x15d6+-0x2052+0xa7d]);}}module[_0x235956(0x149)]={'handleAntidemote':handleAntidemote,'antidemoteCommand':antidemoteCommand};
|
|
1
|
+
const _0x146eeb=_0x39e1;(function(_0x587038,_0x431b49){const _0x47c155=_0x39e1,_0xa0931c=_0x587038();while(!![]){try{const _0x3817b7=parseInt(_0x47c155(0x176))/(0x185*-0x9+0x2e7+0xac7)*(parseInt(_0x47c155(0x1b4))/(-0x43*0x3d+0x1698+-0x69f))+parseInt(_0x47c155(0x1cd))/(-0x1ab9*0x1+-0xb53+0x260f)*(-parseInt(_0x47c155(0x181))/(-0x1b63+-0x14eb+-0x5*-0x9aa))+parseInt(_0x47c155(0x1a4))/(0x1*0x136b+0x2*0x303+0x4*-0x65b)*(-parseInt(_0x47c155(0x136))/(-0x1*-0x2269+-0x10*-0x199+0x67*-0x95))+parseInt(_0x47c155(0x1ad))/(-0x17f5+-0x1a5+0x1*0x19a1)*(-parseInt(_0x47c155(0x198))/(0x2*0x132d+-0x2042+0xc2*-0x8))+parseInt(_0x47c155(0x11c))/(-0x805*0x2+-0x26c4+0x65*0x8b)*(-parseInt(_0x47c155(0x157))/(-0x141d+-0x23*0xc1+-0x2*-0x1745))+-parseInt(_0x47c155(0x1bf))/(-0x264+-0xc16+0x7*0x213)+parseInt(_0x47c155(0x128))/(0x2*0xfb5+0x166d*0x1+-0x1*0x35cb)*(parseInt(_0x47c155(0x18c))/(-0x1*0xfd+0x1cb6+0x1fa*-0xe));if(_0x3817b7===_0x431b49)break;else _0xa0931c['push'](_0xa0931c['shift']());}catch(_0x54830e){_0xa0931c['push'](_0xa0931c['shift']());}}}(_0x1258,-0x38aaf*-0x1+-0x574c5+0x391bd*0x2));const {getGroupConfig,setGroupConfig}=require(_0x146eeb(0x14b)+_0x146eeb(0x14f)+_0x146eeb(0x196)),db=require('../../Data'+'base/datab'+_0x146eeb(0x1cc)),isAdmin=require(_0x146eeb(0x122)+_0x146eeb(0x192)+'n'),{createFakeContact,getBotName}=require(_0x146eeb(0x122)+_0x146eeb(0x1b3)+_0x146eeb(0x197)),{getPrefix}=require(_0x146eeb(0x183)+_0x146eeb(0x141));function normalizeJid(_0x2893c6){const _0xaa99b6=_0x39e1;if(!_0x2893c6)return'';const _0xd70ed3=typeof _0x2893c6===_0xaa99b6(0x188)?_0x2893c6:_0x2893c6['id']||_0x2893c6['toString'](),_0x5377fd=_0xd70ed3['split']('@')[-0x2f*0x8d+-0x5*-0x7b9+-0xcba][_0xaa99b6(0x1c3)](':')[-0x6*0x22f+0x1cbd*-0x1+0x29d7*0x1];return _0x5377fd+(_0xaa99b6(0x1c8)+_0xaa99b6(0x184));}async function resolveToPhone(_0x7f52fe,_0x4f6a71){const _0xdcc725=_0x39e1;if(!_0x4f6a71)return'unknown';const _0xf6eacd=_0x4f6a71[_0xdcc725(0x1c3)]('@')[0x264c+0x118*-0x2+-0x241c]['split'](':')[-0x1006+-0x1*-0x221b+-0x1215];if(/^\d{7,15}$/['test'](_0xf6eacd))return _0xf6eacd;try{if(_0x7f52fe?.[_0xdcc725(0x1ba)+_0xdcc725(0x166)]?.[_0xdcc725(0x11a)]?.[_0xdcc725(0x18b)+'D']){const _0x78e643=[_0x4f6a71,_0xf6eacd+_0xdcc725(0x182),_0xf6eacd+'@lid'];for(const _0x453548 of _0x78e643){try{const _0x2a70e0=await _0x7f52fe[_0xdcc725(0x1ba)+_0xdcc725(0x166)]['lidMapping']['getPNForLI'+'D'](_0x453548);if(_0x2a70e0){const _0x3b4d0d=String(_0x2a70e0)['split']('@')[-0x263f+-0x16a+0xd*0x30d][_0xdcc725(0x13d)](/[^0-9]/g,'');if(_0x3b4d0d[_0xdcc725(0x158)]>=-0x12c5+0xf6a+0x362&&_0x3b4d0d[_0xdcc725(0x158)]<=-0x2*-0x472+-0x104f*-0x1+-0xc92*0x2&&_0x3b4d0d!==_0xf6eacd)return _0x3b4d0d;}}catch{}}}const _0x1b447f=await _0x7f52fe[_0xdcc725(0x153)+_0xdcc725(0x17c)+_0xdcc725(0x177)]();for(const _0x21e497 of Object[_0xdcc725(0x12b)](_0x1b447f)){for(const _0x3b26dd of _0x1b447f[_0x21e497]['participan'+'ts']||[]){const _0x1da7fd=(_0x3b26dd['id']||'')[_0xdcc725(0x1c3)]('@')[0x2220+0xc56+0x13*-0x272][_0xdcc725(0x1c3)](':')[0xfbe+0x1*-0x10d3+-0x115*-0x1],_0x4f1230=(_0x3b26dd[_0xdcc725(0x169)]||'')[_0xdcc725(0x1c3)]('@')[-0x1aff*0x1+-0x1*0x923+0x2422][_0xdcc725(0x1c3)](':')[-0x76f*0x5+-0x1*0x7ef+-0x2*-0x168d];if((_0x4f1230===_0xf6eacd||_0x1da7fd===_0xf6eacd)&&_0x1da7fd&&/^\d{7,15}$/[_0xdcc725(0x155)](_0x1da7fd)&&_0x1da7fd!==_0xf6eacd)return _0x1da7fd;}}}catch{}return _0xf6eacd;}function _0x39e1(_0x2dfaff,_0x3db4cd){_0x2dfaff=_0x2dfaff-(0x549+0x1*-0x4d5+0xa6*0x1);const _0x1d6b82=_0x1258();let _0x192aca=_0x1d6b82[_0x2dfaff];if(_0x39e1['iFlhni']===undefined){var _0x4b5fb3=function(_0x5063aa){const _0x3dd89d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30d1f9='',_0x4998c2='';for(let _0x5ade07=-0x19eb+-0x160c+0x2ff7*0x1,_0x3daa61,_0x126ae5,_0x588a68=-0x12e0+0x1c9d+-0x9bd;_0x126ae5=_0x5063aa['charAt'](_0x588a68++);~_0x126ae5&&(_0x3daa61=_0x5ade07%(-0x1cbd+0xbaa*0x2+0x1cf*0x3)?_0x3daa61*(0x264c+0x118*-0x2+-0x23dc)+_0x126ae5:_0x126ae5,_0x5ade07++%(-0x1006+-0x1*-0x221b+-0x1211))?_0x30d1f9+=String['fromCharCode'](-0x263f+-0x16a+0x4*0xa2a&_0x3daa61>>(-(-0x12c5+0xf6a+0x35d)*_0x5ade07&-0x2*-0x472+-0x104f*-0x1+-0x509*0x5)):0x2220+0xc56+0x13*-0x272){_0x126ae5=_0x3dd89d['indexOf'](_0x126ae5);}for(let _0x5812cb=0xfbe+0x1*-0x10d3+-0x115*-0x1,_0x2e2908=_0x30d1f9['length'];_0x5812cb<_0x2e2908;_0x5812cb++){_0x4998c2+='%'+('00'+_0x30d1f9['charCodeAt'](_0x5812cb)['toString'](-0x1aff*0x1+-0x1*0x923+0x2432))['slice'](-(-0x76f*0x5+-0x1*0x7ef+-0x1*-0x2d1c));}return decodeURIComponent(_0x4998c2);};_0x39e1['OHzPTu']=_0x4b5fb3,_0x39e1['lRyesp']={},_0x39e1['iFlhni']=!![];}const _0x587a2f=_0x1d6b82[0x227c+0x17a+-0x11fb*0x2],_0x5bceeb=_0x2dfaff+_0x587a2f,_0x22f75f=_0x39e1['lRyesp'][_0x5bceeb];return!_0x22f75f?(_0x192aca=_0x39e1['OHzPTu'](_0x192aca),_0x39e1['lRyesp'][_0x5bceeb]=_0x192aca):_0x192aca=_0x22f75f,_0x192aca;}async function handleAntidemote(_0x24d460,_0x45c35f,_0x2ec64,_0x57ad89){const _0x54412e=_0x39e1;try{const _0x2e65a5=getGroupConfig(_0x45c35f,_0x54412e(0x11b));if(!_0x2e65a5||!_0x2e65a5['enabled'])return![];const _0x3bdd74=getBotName(),_0xff0fa5=createFakeContact(),_0x555e44=normalizeJid(_0x24d460[_0x54412e(0x134)]?.['id']);let _0x46d68f;try{_0x46d68f=await _0x24d460[_0x54412e(0x11d)+_0x54412e(0x170)](_0x45c35f);}catch(_0x279b63){return console[_0x54412e(0x148)](_0x54412e(0x1ca)+':\x20Failed\x20t'+_0x54412e(0x159)+_0x54412e(0x137)+'ta:',_0x279b63[_0x54412e(0x133)]),![];}const _0x209f1f=normalizeJid(_0x46d68f[_0x54412e(0x123)]),_0x416d32=normalizeJid(_0x57ad89),_0x195641=_0x416d32===_0x209f1f||_0x57ad89&&_0x46d68f[_0x54412e(0x123)]&&_0x57ad89===_0x46d68f[_0x54412e(0x123)],_0x48b522=db[_0x54412e(0x138)](_0x57ad89)||db['isSudo'](_0x416d32);if(_0x195641||_0x48b522)return![];const _0x5217ae=_0x57ad89?.[_0x54412e(0x1c3)]('@')[0x227c+0x17a+-0x11fb*0x2]?.['split'](':')[-0x166+0xb7c+0xa16*-0x1],_0x1928ae=_0x24d460['user']?.['id']?.['split'](':')[0x7*0x52a+0x3a*-0x2e+0x25*-0xb2]?.[_0x54412e(0x1c3)]('@')[-0x1*0x17fb+0x2179+0x32a*-0x3],_0x55ab4d=_0x24d460[_0x54412e(0x134)]?.[_0x54412e(0x169)]?.[_0x54412e(0x1c3)](':')[-0xcaa+-0xcc*-0xb+0x3e6]?.[_0x54412e(0x1c3)]('@')[-0x2*0x2c3+-0x17f9+0x1d7f];if(_0x5217ae===_0x1928ae||_0x55ab4d&&_0x5217ae===_0x55ab4d)return![];const _0x3fa6e4=_0x2ec64[_0x54412e(0x13a)](_0x32c822=>typeof _0x32c822===_0x54412e(0x188)?_0x32c822:_0x32c822['id']||String(_0x32c822)),_0x593829=_0x2e65a5[_0x54412e(0x1af)]||_0x54412e(0x165),_0x2e84a8=_0x24d460[_0x54412e(0x134)]?.[_0x54412e(0x169)],_0x5ddfb8=_0x2e84a8?normalizeJid(_0x2e84a8):null,_0x141c0c=_0x3fa6e4[_0x54412e(0x193)](_0x2e9ea0=>{const _0x500ee1=_0x39e1,_0x4a6141=normalizeJid(_0x2e9ea0);if(_0x4a6141===_0x555e44)return!![];if(_0x5ddfb8&&_0x4a6141===_0x5ddfb8)return!![];const _0x2cdb21=_0x2e9ea0['split']('@')[-0x130c*0x1+-0x17ae+0x2*0x155d][_0x500ee1(0x1c3)](':')[-0x1*0xffa+-0x12f3+0x22ed*0x1];if(_0x2cdb21===_0x1928ae)return!![];if(_0x55ab4d&&_0x2cdb21===_0x55ab4d)return!![];return![];}),_0x54e19f=_0x46d68f[_0x54412e(0x1bc)+'ts'][_0x54412e(0x1a8)](_0x19b70e=>{const _0x5aa3ed=_0x39e1;if(normalizeJid(_0x19b70e['id'])===_0x555e44||_0x19b70e['id']===_0x555e44)return!![];if(_0x5ddfb8&&(normalizeJid(_0x19b70e['id'])===_0x5ddfb8||_0x19b70e['id']===_0x2e84a8))return!![];const _0x480bef=(_0x19b70e['id']||'')[_0x5aa3ed(0x1c3)]('@')[0x3c5+0x1*-0x4d5+-0x88*-0x2]['split'](':')[-0x3*0xc33+0x1*0x1ae7+0x9b2];if(_0x480bef===_0x1928ae)return!![];if(_0x55ab4d&&_0x480bef===_0x55ab4d)return!![];return![];}),_0x2d2c22=!_0x54e19f||_0x54e19f['admin']===_0x54412e(0x1cb)||_0x54e19f[_0x54412e(0x1cb)]===_0x54412e(0x152);if(_0x141c0c){const _0x51c38f=await resolveToPhone(_0x24d460,_0x57ad89);let _0x1edbf1='';try{_0x1edbf1=_0x46d68f[_0x54412e(0x1ce)]||_0x45c35f;}catch{}const _0x5ccea7=_0x24d460[_0x54412e(0x134)]['id'][_0x54412e(0x1c3)](':')[0x13b+0x128*-0xa+0xa55*0x1]+(_0x54412e(0x1c8)+_0x54412e(0x184));try{await _0x24d460['sendMessag'+'e'](_0x5ccea7,{'text':'⚠️\x20*'+_0x3bdd74+(_0x54412e(0x11f)+_0x54412e(0x1bb)+_0x54412e(0x19a))+_0x1edbf1+(_0x54412e(0x1c4)+_0x54412e(0x164))+_0x51c38f+(_0x54412e(0x13e)+'te\x20cannot\x20'+'protect\x20th'+_0x54412e(0x167)+'til\x20you\x20re'+_0x54412e(0x19e)+_0x54412e(0x187)+_0x54412e(0x1a9)+_0x54412e(0x18f)+_0x54412e(0x1d2)+_0x54412e(0x17b)),'mentions':[_0x57ad89]});}catch{}return await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':_0x54412e(0x14d)+_0x3bdd74+(_0x54412e(0x178)+_0x54412e(0x124)+_0x54412e(0x15d))+_0x51c38f+(_0x54412e(0x156)+'no\x20longer\x20'+_0x54412e(0x126)+'is\x20group.\x0a'+_0x54412e(0x14e)+_0x54412e(0x16f)+_0x54412e(0x19d)+_0x54412e(0x1b1)+_0x54412e(0x179)),'mentions':[_0x57ad89]},{'quoted':_0xff0fa5}),![];}if(!_0x2d2c22)return await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':_0x54412e(0x14d)+_0x3bdd74+(_0x54412e(0x154)+_0x54412e(0x1b5)+_0x54412e(0x190)+_0x54412e(0x1c6)+'eeds\x20admin'+_0x54412e(0x12d)+_0x54412e(0x1c1))},{'quoted':_0xff0fa5}),![];const _0x29034d=await resolveToPhone(_0x24d460,_0x57ad89),_0x23191f=await resolveToPhone(_0x24d460,_0x3fa6e4[0x11*-0x1bf+0x20dd+0x4a*-0xb]);try{await _0x24d460[_0x54412e(0x1a5)+_0x54412e(0x16d)+_0x54412e(0x1d1)](_0x45c35f,_0x3fa6e4,_0x54412e(0x13c)),console[_0x54412e(0x12e)](_0x54412e(0x146)+'E]\x20Reverte'+'d\x20demotion'+'\x20of\x20'+_0x23191f+_0x54412e(0x1c7)+_0x45c35f);}catch(_0x4579a5){console[_0x54412e(0x12e)](_0x54412e(0x146)+_0x54412e(0x17a)+'\x20call\x20retu'+_0x54412e(0x191),_0x4579a5[_0x54412e(0x133)],_0x54412e(0x1a7)+_0x54412e(0x1b7)+_0x54412e(0x171)+'ed)');}if(_0x593829===_0x54412e(0x150)){try{await _0x24d460['groupParti'+'cipantsUpd'+_0x54412e(0x1d1)](_0x45c35f,[_0x57ad89],_0x54412e(0x14c));}catch(_0x28cc9a){}await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':_0x54412e(0x14d)+_0x3bdd74+_0x54412e(0x1c0)+_0x29034d+(_0x54412e(0x185)+'demote\x20@')+_0x23191f+(_0x54412e(0x1b9)+'n\x20reverted'+_0x54412e(0x142)+_0x54412e(0x1b0)+'│\x0a└───────'+_0x54412e(0x14a)),'mentions':[_0x57ad89,..._0x3fa6e4]},{'quoted':_0xff0fa5});}else{if(_0x593829==='warn'){const _0x155376=_0x2e65a5['maxWarning'+'s']||-0xb4a*0x1+0x656*-0x1+0x11a3,_0x4b7781=db[_0x54412e(0x189)+_0x54412e(0x1a0)](_0x45c35f,_0x57ad89);if(_0x4b7781>=_0x155376){try{await _0x24d460[_0x54412e(0x1a5)+'cipantsUpd'+_0x54412e(0x1d1)](_0x45c35f,[_0x57ad89],_0x54412e(0x14c));}catch(_0x183bae){}db[_0x54412e(0x1d5)+'ng'](_0x45c35f,_0x57ad89),await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':_0x54412e(0x14d)+_0x3bdd74+'*\x20─┐\x0a│\x0a│\x20@'+_0x29034d+(_0x54412e(0x185)+_0x54412e(0x174))+_0x23191f+('\x0a│\x20Demotio'+'n\x20reverted'+'\x20&\x20kicked\x20'+_0x54412e(0x15e))+_0x155376+(_0x54412e(0x1a1)+_0x54412e(0x17f)+_0x54412e(0x1cf)),'mentions':[_0x57ad89,..._0x3fa6e4]},{'quoted':_0xff0fa5});}else await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':'┌─\x20*'+_0x3bdd74+_0x54412e(0x1c0)+_0x29034d+('\x20tried\x20to\x20'+_0x54412e(0x174))+_0x23191f+(_0x54412e(0x1b9)+_0x54412e(0x144)+_0x54412e(0x162))+_0x4b7781+'/'+_0x155376+(_0x54412e(0x17f)+_0x54412e(0x1cf)),'mentions':[_0x57ad89,..._0x3fa6e4]},{'quoted':_0xff0fa5});}else{try{await _0x24d460[_0x54412e(0x1a5)+_0x54412e(0x16d)+_0x54412e(0x1d1)](_0x45c35f,[_0x57ad89],'demote');}catch(_0x36d5fe){}await _0x24d460[_0x54412e(0x129)+'e'](_0x45c35f,{'text':_0x54412e(0x14d)+_0x3bdd74+'*\x20─┐\x0a│\x0a│\x20@'+_0x29034d+(_0x54412e(0x185)+_0x54412e(0x174))+_0x23191f+('\x0a│\x20Demotio'+_0x54412e(0x144)+_0x54412e(0x142)+_0x54412e(0x127)+'\x0a│\x0a└──────'+'───────┘'),'mentions':[_0x57ad89,..._0x3fa6e4]},{'quoted':_0xff0fa5});}}return!![];}catch(_0x55ed20){return console[_0x54412e(0x148)](_0x54412e(0x16a)+'andleAntid'+_0x54412e(0x11e),_0x55ed20[_0x54412e(0x133)],_0x54412e(0x1bd),_0x55ed20['stack']?.[_0x54412e(0x1c3)]('\x0a')[0x20a8+0xdc*0x10+-0x1*0x2e67]),![];}}async function antidemoteCommand(_0x566d82,_0x2bfad7,_0x2a41f6,_0x37d4ea){const _0x10a274=_0x39e1;try{const _0x20e4f9=createFakeContact(_0x37d4ea),_0x17b861=getBotName(),_0x53364f=getPrefix(),_0x1b29f3=_0x2a41f6['message']?.[_0x10a274(0x17d)+'on']||_0x2a41f6['message']?.[_0x10a274(0x194)+_0x10a274(0x18a)]?.[_0x10a274(0x172)]||'',_0x19ef6d=_0x1b29f3[_0x10a274(0x1c3)]('\x20'),_0x22b60d=_0x19ef6d[0x2*0x110c+-0x614+0x65*-0x47]?.[_0x10a274(0x12c)+'e']();if(!_0x2bfad7[_0x10a274(0x199)](_0x10a274(0x143))){await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':'┌─\x20*'+_0x17b861+(_0x10a274(0x12f)+_0x10a274(0x125)+'nd\x20only!\x0a│'+'\x0a└────────'+_0x10a274(0x1ab))},{'quoted':_0x20e4f9});return;}const _0x4a2c50=await isAdmin(_0x566d82,_0x2bfad7,_0x37d4ea),_0x37828b=_0x4a2c50[_0x10a274(0x1b2)+_0x10a274(0x173)],_0x431019=_0x4a2c50['isBotAdmin'];if(!_0x431019){await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':'┌─\x20*'+_0x17b861+('*\x20─┐\x0a│\x0a│\x20B'+_0x10a274(0x19f)+_0x10a274(0x180)+_0x10a274(0x12d)+_0x10a274(0x1c1))},{'quoted':_0x20e4f9});return;}if(!_0x37828b&&!_0x2a41f6[_0x10a274(0x160)][_0x10a274(0x16c)]&&!db[_0x10a274(0x138)](_0x37d4ea)){await _0x566d82['sendMessag'+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+('*\x20─┐\x0a│\x0a│\x20A'+_0x10a274(0x1a6)+_0x10a274(0x1d4)+_0x10a274(0x1a2)+_0x10a274(0x1ab))},{'quoted':_0x20e4f9});return;}const _0x38870c=getGroupConfig(_0x2bfad7,_0x10a274(0x11b))||{'enabled':![],'mode':_0x10a274(0x165)};if(!_0x22b60d||_0x22b60d===_0x10a274(0x1d6)){await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+('*\x20─┐\x0a│\x0a│\x20S'+'tatus:\x20')+(_0x38870c['enabled']?'ON':_0x10a274(0x1b8))+_0x10a274(0x1a3)+(_0x38870c[_0x10a274(0x1af)]||'revert')['toUpperCas'+'e']()+(_0x10a274(0x149)+'nds:\x0a│\x20')+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x195))+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x175))+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x132))+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x139))+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x1aa))+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x18e)+'num>\x0a│\x20')+_0x53364f+(_0x10a274(0x11b)+_0x10a274(0x13f)+_0x10a274(0x19b)+'\x20REVERT\x20-\x20'+'Undo\x20demot'+_0x10a274(0x140)+_0x10a274(0x16b)+_0x10a274(0x1d3)+'ICK\x20-\x20Reve'+_0x10a274(0x19c)+'│\x0a└───────'+_0x10a274(0x14a))},{'quoted':_0x20e4f9});return;}if(_0x22b60d===_0x10a274(0x145)){await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':'┌─\x20*'+_0x17b861+('*\x20─┐\x0a│\x0a│\x20A'+_0x10a274(0x147)+'\x20')+(_0x38870c[_0x10a274(0x163)]?_0x10a274(0x15a):_0x10a274(0x12a))+'\x0a│\x20Mode:\x20'+(_0x38870c['mode']||_0x10a274(0x165))[_0x10a274(0x1c2)+'e']()+(_0x10a274(0x17f)+_0x10a274(0x1cf))},{'quoted':_0x20e4f9});return;}if(_0x22b60d===_0x10a274(0x1be)){const _0x321470=parseInt(_0x19ef6d[0x257c+0x6e3*0x1+0x115*-0x29]);_0x321470>-0xaf3*0x1+-0xdb*0x1a+0x2131*0x1&&_0x321470<=0x1*0x12b5+0xfa6*-0x2+-0x1*-0xca1?(setGroupConfig(_0x2bfad7,_0x10a274(0x11b),{..._0x38870c,'maxWarnings':_0x321470}),await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+(_0x10a274(0x131)+'ax\x20warning'+'s\x20set\x20to:\x20')+_0x321470+('\x0a│\x0a└──────'+_0x10a274(0x1cf))},{'quoted':_0x20e4f9})):await _0x566d82['sendMessag'+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+(_0x10a274(0x120)+_0x10a274(0x15b)+_0x10a274(0x135)+_0x10a274(0x13b)+'──────────'+'┘')},{'quoted':_0x20e4f9});return;}if(_0x22b60d==='on')setGroupConfig(_0x2bfad7,_0x10a274(0x11b),{..._0x38870c,'enabled':!![]}),await _0x566d82['sendMessag'+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+(_0x10a274(0x1c5)+'ntidemote\x20'+_0x10a274(0x18d)+_0x10a274(0x121))+(_0x38870c[_0x10a274(0x1af)]||_0x10a274(0x165))[_0x10a274(0x1c2)+'e']()+(_0x10a274(0x17f)+_0x10a274(0x1cf))},{'quoted':_0x20e4f9});else{if(_0x22b60d==='off')setGroupConfig(_0x2bfad7,_0x10a274(0x11b),{..._0x38870c,'enabled':![]}),await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':'┌─\x20*'+_0x17b861+(_0x10a274(0x1c5)+_0x10a274(0x1ae)+'DISABLED\x0a│'+_0x10a274(0x1a2)+_0x10a274(0x1ab))},{'quoted':_0x20e4f9});else[_0x10a274(0x165),_0x10a274(0x150),_0x10a274(0x16e)][_0x10a274(0x1c9)](_0x22b60d)?(setGroupConfig(_0x2bfad7,'antidemote',{..._0x38870c,'enabled':!![],'mode':_0x22b60d}),await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+(_0x10a274(0x131)+'ode\x20set\x20to'+':\x20')+_0x22b60d[_0x10a274(0x1c2)+'e']()+(_0x10a274(0x130)+'ote\x20ENABLE'+'D\x0a│\x0a└─────'+'────────┘')},{'quoted':_0x20e4f9})):await _0x566d82[_0x10a274(0x129)+'e'](_0x2bfad7,{'text':_0x10a274(0x14d)+_0x17b861+(_0x10a274(0x120)+_0x10a274(0x1ac)+_0x10a274(0x17e)+':\x20on,\x20off,'+_0x10a274(0x1b6)+'ick,\x20warn,'+_0x10a274(0x13f)+_0x10a274(0x15f)+_0x10a274(0x1d0))},{'quoted':_0x20e4f9});}}catch(_0x3582b7){console[_0x10a274(0x148)](_0x10a274(0x168)+_0x10a274(0x186)+_0x10a274(0x15c),_0x3582b7[_0x10a274(0x133)],'Line:',_0x3582b7[_0x10a274(0x151)]?.[_0x10a274(0x1c3)]('\x0a')[0x4a0+0x82c+-0xccb]);}}module[_0x146eeb(0x161)]={'handleAntidemote':handleAntidemote,'antidemoteCommand':antidemoteCommand};function _0x1258(){const _0x407b99=['zgvTB3rLiea','ig9MzGRILiiG','ndC5mZyXuu5MsxHj','Cgf0Aw5N','kIdILidILjak4PsccUkuGIdIMQdVUi8','4Psa4Psa4Psa4Psy','rv0GuhjVBw90zq','Aw9UlG','qwXSugfYDgLJAq','y29UDMvYC2f0Aq','Aw9UiqRILiiGvxnL','cUkuGGRILjtILidILidILidILidILidILia','BYbIzsbHzg1PBG','ntyZndrUs2D5qMO','oJbaBgLK','lI4VB3DUzxiVCW','Cc5Uzxq','ihrYAwvKihrVia','BNrPzgvTB3rLqW','zsekuMuTywrKia','C3rYAw5N','Aw5JCMvTzw50vW','EhrnzxnZywDL','z2v0ue5gB3jmsq','nZmWnLrlDhrOwa','ru5bqKXfraRILiiG','ihnLDhDHCM4Gpa','BIb0BYbYzxn0BW','CNnLigrLBw90Aq','CM5LzdO','BgLIl2LZqwrTAq','C29Tzq','zxH0zw5Kzwruzq','ig9UcUkuGIa','BMDZu3rVCMu','BNrHy3q','oevvCM1ItW','zw5KC1DPDgG','B3vWoIOG','4Pscie1VzgvZoGRILii','CNqGkYbRAwnRcG','AwzPzwqUcUkuGGRILjq','lxbYB21VDguGBq','B3qGBMvLzhmGDa','yxjUAw5N','ihDHCM5PBMDZiq','cUkuLokuGokuGokuGokuGokuGokuGokuGokuGa','cUkuGIbnB2rLoIa','mti1otG1q0r1DNPp','z3jVDxbqyxj0Aq','zg1PBIbVBMX5ia','kgfJDgLVBIbTyq','zMLUza','BwuGyxmGywrTAq','igTPy2Sk4Pscia','4Psa4Psa4Psa4Psa4Psa4Psy','BNzHBgLKig9WDa','mJG4nJm1mMrKC3D6rq','BNrPzgvTB3rLia','Bw9Kzq','CIbRAwnRzwqHcG','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','Axntzw5Kzxjbza','BgLIl2zHA2vdBW','mKrlsNbkva','yw5UB3qGCMv2zq','ihjLDMvYDcWGAW','EsbZDgLSBcbOyq','t0zg','cUkuGIbezw1VDgLV','C2LNBMfSuMvWBW','t1rfrcOkcIPhCG','CgfYDgLJAxbHBG','tgLUztO','C2v0D2fYBG','mJm5mti0nKXXD0vxyG','kIdILidILjak4PsccUkuGIba','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','Dg9vChbLCKnHCW','C3bSAxq','cIPezw1VDgvKia','kIdILidILjak4PsccUkuGIbb','B24GlsbIB3qGBG','igLUia','qhmUD2HHDhnHCa','Aw5JBhvKzxm','qw50AwrLBw90zq','ywrTAw4','yxnL','mJDovfDkDeK','C3vIAMvJDa','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psy','4Psa4Psa4Psa4Psa4Psy','yxrL','CMuGChjVDgvJDa','kYb3yxjUcUkuGIbl','y29TBwfUzcek4Psc','CMvZzxrxyxjUAq','AgvSCa','BgLKtwfWCgLUzW','yw50AwrLBw90zq','mtCWote2m2Tvqvv6sW','z3jVDxbnzxrHza','zw1VDgu6','ic0GqK9uierftq','kIdILidILjak4PsccUkuGIbj','tw9KztOG','lI4VlI4Vzgf2zq','B3DUzxi','ieKGD2fZigrLBq','CM91CcbJB21Tyq','ChjVDgvJDcb0Aa','CIbKzw1VDgvKiq','mJGZmZjxr3PPCLy','C2vUze1LC3nHzW','su5bq1rjvKu','A2v5CW','Dg9mB3DLCKnHCW','iqRILiik4Psu4Psa4Psa4Psa4Psa4Psa','Bg9N','kIdILidILjak4PsccUkuGIbh','cUkuGIbbBNrPzgvT','kIdILidILjak4PsccUkuGIbn','ihjLDMvYDaRILiiG','BwvZC2fNzq','DxnLCG','yMvYisbvC2uGmq','nZH1EgzoA1u','B3vWig1LDgfKyq','AxntDwrV','ihDHCM4k4Pscia','BwfW','lteWcUkuGGRILjtILidILidILia','ChjVBw90zq','CMvWBgfJzq','cGPbBNrPzgvTBW','ihn0yxr1CWRILiik','Aw9UcUkuGIbxqvjo','zxrWCMvMAxG','icyGB2zMzw5Kzq','qgCUDxm','BIbYzxzLCNrLza','C3rHDhvZ','w0foveLeru1pva','BNrPzgvTB3rLoG','zxjYB3i','cUkuGGRILiiGq29TBwe','4Psa4Psa4Psa4Psa4Psa4Psa4Psy','lI4VlI4Vrgf0yq','CMvTB3zL','4Psm4PsaicO','4Pscie93BMvYigHH','yMfZzs9Zzxr0Aq','A2LJAW','C3rHy2S','C3vWzxjHzg1PBG','z3jVDxbgzxrJAa','kIdILidILjak4PsccUkuGIbd','DgvZDa','iqRILiiGssbJyw4G','mJbwBxj5yKO','BgvUz3rO','BYbMzxrJAcbNCG','qunusvzf','BNzHBgLKig51Bq','B21Tyw5KoG','B3rLzcbIEsba','ywz0zxiG','4Psu4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','A2v5','zxHWB3j0CW','isbxyxjUAw5Nia','zw5HyMXLza','yNK6kIba','CMv2zxj0','C2L0B3j5','zsbNCM91Ccb1BG','rxjYB3iGAw4Gyq','BgLK','rxjYB3iGAw4GAa','ic0GuMv2zxj0ia','zNjVBu1L','y2LWyw50C1vWza','D2fYBG','CYbIzwvUig5VDa','yxrH','DMuGC3vJy2vLza','Dgv4Da','BwLU'];_0x1258=function(){return _0x407b99;};return _0x1258();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2927(){const _0x16ff64=['z3jVDxbqyxj0Aq','yMfZzs9KyxrHyG','zw5HyMXLza','ihDHCM4klMfUDa','kGPbzg1PBIbVBG','A2LJAW','cI5HBNrPzg9JDq','CMvUDcbnB2rLoG','CZOQcI5HBNrPza','mJe1nZiYu1j6tMnW','BNrHy3q','C3nHz2u','zxjYB3i','BwvZC2fNzq','BNrPzg9JDw1LBG','A2LJAYaTierLBa','C3rHy2S','ig9MzIWGzgvSzq','C2vUze1LC3nHzW','DguGzMfPBgvKoG','ntq0ntq1BufnDfzt','ndjvvxHxr00','CYbHCMuGBM90ia','qKXfra','AxntDwrV','DhLWzq','mJi0mty2yNv5ters','zqOUyw50AwrVyW','tuvovcOkcKn1CG','nJu5mdG0v3DwuKzd','yw50AwrVy3vTzq','Dw1LBNqGzgvSzq','mteWnZiWmJbZrfnkwhi','DcbJB21Tyw5KoG','DguGlsbezwXLDa','BgLIl2LZqwrTAq','Dg9mB3DLCKnHCW','Dw1LBNq6ia','BgLIl2zHA2vdBW','zNjVBu1L','zgvSzxrL','lcbKB2n1BwvUDa','C2XPy2u','yMfZzs9Zzxr0Aq','y2LWyw50C1vWza','B2zM','w0foveKTre9dvq','zg9JDw1LBNrnzq','CIbZzw5KAw5Nia','Dg9vChbLCKnHCW','zg9JDw1LBNqU','zw50rgv0zwn0Aq','zxrLicSGA2LJAW','Aw5JBhvKzxm','D2fYBG','ntCXndm3DMjXuvrW','oe9jAgHOwa','tgLUztO','ywn0Aw9U','cGOQq29TBwfUza','mtmYnZy4nhnmBNDVsW','DhjPBq','zw5KC1DPDgG','lI4VlI4Vrgf0yq','kGOk','B2n1BwvUDcbVzG','ywXSB3DLzce','A2v5','Dw1LBNqGreLtqq','lsbezwXLDguGkW','DguSihDHCM4Sia','m2ngDuLVrG','iefoveKTre9dvq','rxjYB3iGAw4Gyq','kGPbBNrPlurVyW','zsbKB2n1BwvUDa'];_0x2927=function(){return _0x16ff64;};return _0x2927();}const _0x59e5c8=_0x160a;(function(_0x2cd3a,_0x3a45c5){const _0x3ef4d3=_0x160a,_0x3ddbc9=_0x2cd3a();while(!![]){try{const _0x455a5d=parseInt(_0x3ef4d3(0x136))/(-0x1e71+-0x2*-0xd1+0x1cd0*0x1)+parseInt(_0x3ef4d3(0x14a))/(-0x1*-0x13e9+0x181e+-0x2c05)+parseInt(_0x3ef4d3(0x128))/(-0x1ca8+-0x5ef*-0x2+-0x10cd*-0x1)*(parseInt(_0x3ef4d3(0x169))/(-0x867*0x1+0x1*-0x23d4+-0x1*-0x2c3f))+parseInt(_0x3ef4d3(0x141))/(0x661+0x2218+-0x2874)+-parseInt(_0x3ef4d3(0x147))/(-0x701*0x5+0x2*0x5ff+0x34b*0x7)*(-parseInt(_0x3ef4d3(0x142))/(-0x1efa+0x79*0x29+0xba0))+parseInt(_0x3ef4d3(0x165))/(0xb1e+0x2295+0x1b1*-0x1b)*(parseInt(_0x3ef4d3(0x164))/(0x1122+-0x2*-0xb47+-0x27a7))+-parseInt(_0x3ef4d3(0x14d))/(-0x21e7+-0x93f*-0x2+0x317*0x5);if(_0x455a5d===_0x3a45c5)break;else _0x3ddbc9['push'](_0x3ddbc9['shift']());}catch(_0x5cb7bc){_0x3ddbc9['push'](_0x3ddbc9['shift']());}}}(_0x2927,0x43312+0x2650b*-0x1+0xbc90));const {getGroupConfig,setGroupConfig,deleteGroupToggle}=require(_0x59e5c8(0x16c)+_0x59e5c8(0x158)+'ngsStore'),isAdmin=require('../../dave'+_0x59e5c8(0x150)+'n'),db=require(_0x59e5c8(0x16c)+_0x59e5c8(0x12e)+'ase'),{createFakeContact,getBotName}=require('../../dave'+_0x59e5c8(0x153)+_0x59e5c8(0x137));async function antidocumentCommand(_0x440d9a,_0x44833a,_0x555e3a,_0x28042e,_0x1ac08f,_0x224214){const _0x3c1afc=_0x160a;try{const _0x14949c=createFakeContact(_0x28042e),_0x537063=getBotName();if(!_0x1ac08f&&!_0x224214?.[_0x3c1afc(0x124)]?.[_0x3c1afc(0x154)]&&!db['isSudo'](_0x28042e)){await _0x440d9a['sendMessag'+'e'](_0x44833a,{'text':'*'+_0x537063+(_0x3c1afc(0x131)+'ly\x20command'+'!')},{'quoted':_0x14949c});return;}const _0x1a8b43=_0x555e3a[_0x3c1afc(0x157)](-0x1*0xcbe+0x3a*0x4f+-0x51b)[_0x3c1afc(0x151)+'e']()[_0x3c1afc(0x16a)]()['split']('\x20'),_0x3f46aa=_0x1a8b43[-0x162a*0x1+-0x7c*-0x1d+0x81e];if(!_0x3f46aa){const _0x1f875b=getGroupConfig(_0x44833a,_0x3c1afc(0x14b)+'nt')||{'enabled':![]},_0x3f6430=_0x1f875b['enabled']?_0x1f875b[_0x3c1afc(0x167)]||'delete':_0x3c1afc(0x15a),_0x2f3231='*'+_0x537063+(_0x3c1afc(0x129)+_0x3c1afc(0x149)+_0x3c1afc(0x134)+'\x20')+_0x3f6430[_0x3c1afc(0x15e)+'e']()+(_0x3c1afc(0x168)+_0x3c1afc(0x135)+_0x3c1afc(0x122)+'f\x20-\x20Disabl'+_0x3c1afc(0x148)+_0x3c1afc(0x14c)+_0x3c1afc(0x14f)+_0x3c1afc(0x12c)+_0x3c1afc(0x133)+'ment\x20warn\x20'+_0x3c1afc(0x126)+_0x3c1afc(0x130)+'idocument\x20'+_0x3c1afc(0x13c)+_0x3c1afc(0x161));await _0x440d9a[_0x3c1afc(0x13f)+'e'](_0x44833a,{'text':_0x2f3231},{'quoted':_0x14949c});return;}const _0x259ad6=['off',_0x3c1afc(0x155),_0x3c1afc(0x163),_0x3c1afc(0x132)];if(!_0x259ad6[_0x3c1afc(0x162)](_0x3f46aa)){await _0x440d9a[_0x3c1afc(0x13f)+'e'](_0x44833a,{'text':'*'+_0x537063+('*\x0aInvalid\x20'+'mode!\x20Use:'+_0x3c1afc(0x13e)+_0x3c1afc(0x127)+_0x3c1afc(0x132))},{'quoted':_0x14949c});return;}_0x3f46aa===_0x3c1afc(0x15a)?(deleteGroupToggle(_0x44833a,_0x3c1afc(0x14b)+'nt'),await _0x440d9a['sendMessag'+'e'](_0x44833a,{'text':'*'+_0x537063+(_0x3c1afc(0x12b)+_0x3c1afc(0x125)+_0x3c1afc(0x144))},{'quoted':_0x14949c})):(setGroupConfig(_0x44833a,_0x3c1afc(0x14b)+'nt',{'enabled':!![],'action':_0x3f46aa}),await _0x440d9a[_0x3c1afc(0x13f)+'e'](_0x44833a,{'text':'*'+_0x537063+(_0x3c1afc(0x12b)+_0x3c1afc(0x152))+_0x3f46aa[_0x3c1afc(0x15e)+'e']()},{'quoted':_0x14949c}));}catch(_0xab9d2a){console['error'](_0x3c1afc(0x12a)+_0x3c1afc(0x13b)+_0x3c1afc(0x14e),_0xab9d2a[_0x3c1afc(0x13a)],_0x3c1afc(0x166),_0xab9d2a[_0x3c1afc(0x13d)]?.['split']('\x0a')[0xb65+0x1*-0xa5e+-0x1*0x106]);}}function _0x160a(_0x594f72,_0x28cdd2){_0x594f72=_0x594f72-(-0x79d+0x11+0x8ae);const _0x566276=_0x2927();let _0x4fb384=_0x566276[_0x594f72];if(_0x160a['MSGqiB']===undefined){var _0x39c501=function(_0x25e8db){const _0x401ee1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1b05f8='',_0x3a15ee='';for(let _0x229150=-0x1ed6*0x1+-0x7*0x164+0x482*0x9,_0x45ab1f,_0x188159,_0x2992db=-0x5*0x39+0xbc5+0x2aa*-0x4;_0x188159=_0x25e8db['charAt'](_0x2992db++);~_0x188159&&(_0x45ab1f=_0x229150%(-0x1de8+0x1edf+-0x3*0x51)?_0x45ab1f*(0x11e*-0x1+0x2179+-0x1*0x201b)+_0x188159:_0x188159,_0x229150++%(0x14fa+0x25d7+-0x3acd))?_0x1b05f8+=String['fromCharCode'](0x473*-0x2+-0x1812+0x2f*0xb9&_0x45ab1f>>(-(0x1edf+-0x649+-0x1894)*_0x229150&-0x1*-0x1d4b+-0x1153+-0xbf2)):-0x67*0x1+-0x1*0x1e49+0x4*0x7ac){_0x188159=_0x401ee1['indexOf'](_0x188159);}for(let _0x19c562=0x5c3+0x1fa2+-0xc77*0x3,_0x425846=_0x1b05f8['length'];_0x19c562<_0x425846;_0x19c562++){_0x3a15ee+='%'+('00'+_0x1b05f8['charCodeAt'](_0x19c562)['toString'](0x214a*-0x1+0xca6*0x2+-0x2*-0x407))['slice'](-(-0x513*0x1+-0x32*-0x29+0x1*-0x2ed));}return decodeURIComponent(_0x3a15ee);};_0x160a['QzjlZn']=_0x39c501,_0x160a['zIWcdK']={},_0x160a['MSGqiB']=!![];}const _0x3504a1=_0x566276[-0x1*0x7a2+-0x1c32*-0x1+-0x1490],_0x40c0fc=_0x594f72+_0x3504a1,_0x390509=_0x160a['zIWcdK'][_0x40c0fc];return!_0x390509?(_0x4fb384=_0x160a['QzjlZn'](_0x4fb384),_0x160a['zIWcdK'][_0x40c0fc]=_0x4fb384):_0x4fb384=_0x390509,_0x4fb384;}async function handleDocumentDetection(_0x3e3e52,_0x4e215d,_0x438401,_0x2adda5){const _0x30cbf4=_0x160a;try{const _0x4c1117=_0x438401[_0x30cbf4(0x146)]===_0x30cbf4(0x15c)+_0x30cbf4(0x138)||_0x438401['message']&&_0x438401[_0x30cbf4(0x13a)][_0x30cbf4(0x15c)+_0x30cbf4(0x138)];if(!_0x4c1117)return;if(!_0x4e215d[_0x30cbf4(0x16b)]('@g.us'))return;const _0x3de97b=getGroupConfig(_0x4e215d,_0x30cbf4(0x14b)+'nt');if(!_0x3de97b||!_0x3de97b[_0x30cbf4(0x12f)])return;const {isSenderAdmin:_0x36b83b,isBotAdmin:_0x564b75}=await isAdmin(_0x3e3e52,_0x4e215d,_0x2adda5);if(!_0x564b75||_0x36b83b||db[_0x30cbf4(0x145)](_0x2adda5))return;const _0x148c03=getBotName(),_0x165b76='@'+_0x2adda5['split']('@')[0x17a3*0x1+-0x764+-0x103f];try{await _0x3e3e52['sendMessag'+'e'](_0x4e215d,{'delete':{'remoteJid':_0x4e215d,'fromMe':![],'id':_0x438401['key']['id'],'participant':_0x2adda5}});}catch(_0x39ff66){console['error'](_0x30cbf4(0x15b)+'MENT]\x20Dele'+_0x30cbf4(0x140),_0x39ff66['message']);return;}if(_0x3de97b[_0x30cbf4(0x167)]===_0x30cbf4(0x132))await _0x3e3e52[_0x30cbf4(0x13f)+'e'](_0x4e215d,{'text':'*'+_0x148c03+_0x30cbf4(0x16d)+_0x165b76+('\x20kicked\x20fo'+_0x30cbf4(0x15d)+_0x30cbf4(0x15f)),'mentions':[_0x2adda5]}),await _0x3e3e52[_0x30cbf4(0x12d)+_0x30cbf4(0x159)+'ate'](_0x4e215d,[_0x2adda5],'remove');else _0x3de97b[_0x30cbf4(0x167)]==='warn'&&await _0x3e3e52[_0x30cbf4(0x13f)+'e'](_0x4e215d,{'text':'*'+_0x148c03+_0x30cbf4(0x16d)+_0x165b76+(_0x30cbf4(0x156)+_0x30cbf4(0x143)+_0x30cbf4(0x123)),'mentions':[_0x2adda5]});}catch(_0xea0753){console[_0x30cbf4(0x139)]('Error\x20in\x20h'+'andleDocum'+_0x30cbf4(0x160)+'on:',_0xea0753[_0x30cbf4(0x13a)],_0x30cbf4(0x166),_0xea0753['stack']?.['split']('\x0a')[-0x1e71+0x473*-0x2+0x2758]);}}module['exports']={'antidocumentCommand':antidocumentCommand,'handleDocumentDetection':handleDocumentDetection};
|