-
Notifications
You must be signed in to change notification settings - Fork 380
/
main.js
33 lines (31 loc) · 62.1 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
⢀⣀⠀⠀⠀⠰⣶⡖⠲⠦⠤⣿⣝⠲⣤⣄⡀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠸⣿⡉⠛⣒⠲⠾⡟⠓⠒⠲⡾⢿⣿⢿⡦⣍⠻⣷⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠹⣟⢄⡈⠙⠢⠤⣀⣀⣀⣙⣦⣙⠻⢦⣌⡳⠄⣿⣮⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⡷⣝⡢⠄⢰⡚⠛⠓⠒⠤⠬⣿⡶⠬⡅⠘⢿⣷⠀⣻⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠹⣗⣤⣽⡦⠄⠙⢦⣀⠀⠀⠀⢻⠘⣆⢰⣒⣦⣤⣼⣍⡿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠈⠙⣿⢯⣔⣒⣀⣈⠿⠒⣀⡤⠒⠋⠉⠁⠀⠀⠀⠉⣿⡘⢦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠿⠷⢶⡞⠋⠉⢩⠤⠞⠁⠀⠀⠀⢀⣀⣤⠤⠲⣞⣿⣷⠸⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢸⣿⣀⣀⣀⣠⠤⠤⠖⢒⣿⠿⠟⠛⠂⠀⢹⣿⣿⠀⢧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠸⣿⣻⡠⠤⣤⣴⣦⡀⠉⠁⠴⣿⠟⠀⠀⠀⣿⠏⠀⠀⠑⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢻⣿⣇⠀⠛⠛⠁⣇⣀⣤⡤⠤⠤⠤⢰⡾⠃⠀⠀⢀⣀⡈⢣⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣤⡤⠖⣫⠵⢷⠚⠛⢻⠉⣹⠋⠀⣠⠔⢊⣁⡤⠤⠌⢧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣷⠚⠉⢱⠀⠸⡄⠀⣠⠟⠁⠴⣫⠔⠊⠁⠀⠀⠀⠀⠈⢦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣇⠀⠀⠇⠀⣱⠞⠁⠀⡠⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠳⣄⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⡿⣆⠀⢠⠞⠁⠀⡠⠊⠀⠀⠀⠀⠀⠀⢀⣀⣠⣤⠤⠔⠒⠚⠓⠒⠤⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⡿⠁⠈⡶⠃⢀⡴⠊⠀⠀⠀⠀⠀⣠⠴⠚⠉⣠⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢆⠀⠀
⠀⠀⠀⠀⠀⠀⢰⣿⣿⠟⠀⢀⠞⠁⠐⠋⠀⠀⠀⠀⣠⢴⡎⠁⠀⠀⡴⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢧⠀
⠀⠀⠀⠀⠀⠀⠈⢿⡇⠀⢠⣏⣠⠞⠀⠀⠀⢀⡴⠊⠁⠀⠳⠀⢀⡜⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡇
⠀⠀⠀⠀⠀⠀⠀⠘⣷⠀⠸⠈⠀⠀⢀⡤⠖⠉⠀⣠⠆⠀⠀⢀⡞⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇
⠀⠀⠀⠀⠀⢀⡴⠋⢹⣆⣀⣠⣤⠒⠙⡇⣠⠔⠋⠀⠀⠀⠀⣸⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇
⠀⠀⠀⠀⠀⡞⠀⢀⠼⡇⢰⣾⣿⣷⡴⣟⠁⠀⠀⠀⠀⠀⣰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇
⠀⠀⠀⠀⠀⣇⡴⢁⡴⣇⣨⣼⣿⠋⠀⠈⠀⠀⠀⠀⢀⡼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠃
⠀⠀⠀⠀⠀⠉⠀⠈⠀⠈⠀⠀⠉⠀⠀⠀⠀⠀⠀⠀⠈⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Copyright (C) 2023
Licensed under the GPL-3.0 License;
You may not use this file except in compliance with the License.
It is supplied in the hope that it may be useful.
* @project_name : Dark Nero V9
* @description : Dark Nero V9,A Multi-functional whatsapp bot.
**/
const _0x2f4732=_0x26c5;(function(_0x4cbc35,_0x109801){const _0x11e920=_0x26c5,_0x6a9b4=_0x4cbc35();while(!![]){try{const _0x38356b=parseInt(_0x11e920(0x2e8))/0x1*(-parseInt(_0x11e920(0x19e))/0x2)+-parseInt(_0x11e920(0x1ce))/0x3+parseInt(_0x11e920(0x1f7))/0x4*(parseInt(_0x11e920(0x23e))/0x5)+-parseInt(_0x11e920(0x294))/0x6+-parseInt(_0x11e920(0x191))/0x7*(parseInt(_0x11e920(0x237))/0x8)+parseInt(_0x11e920(0x1b9))/0x9*(-parseInt(_0x11e920(0x1d6))/0xa)+parseInt(_0x11e920(0x193))/0xb;if(_0x38356b===_0x109801)break;else _0x6a9b4['push'](_0x6a9b4['shift']());}catch(_0x5c399c){_0x6a9b4['push'](_0x6a9b4['shift']());}}}(_0x4c1a,0xd939b));function _0x26c5(_0x29b4a0,_0x18128e){const _0x4c1a88=_0x4c1a();return _0x26c5=function(_0x26c58f,_0x36f7af){_0x26c58f=_0x26c58f-0x18e;let _0x43b651=_0x4c1a88[_0x26c58f];return _0x43b651;},_0x26c5(_0x29b4a0,_0x18128e);}const pino=require('pino'),Config=require(_0x2f4732(0x28c)),{Boom}=require(_0x2f4732(0x2e1)),fs=require('fs-extra'),FileType=require(_0x2f4732(0x1e2)),path=require(_0x2f4732(0x2cc)),express=require(_0x2f4732(0x1a3)),app=express(),prefix=Config[_0x2f4732(0x1b5)][0x0],mongoose=require(_0x2f4732(0x1a7)),{writeFile}=require('fs/promises'),events=require('./plugin'),{exec,spawn,execSync}=require('child_process'),PhoneNumber=require('awesome-phonenumber'),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x2f4732(0x276)),{default:VoidConnect,BufferJSON,generateLinkPreviewIfRequired,WA_DEFAULT_EPHEMERAL,proto,generateWAMessageContent,generateWAMessage,AnyMessageContent,prepareWAMessageMedia,areJidsSameUser,getContentType,downloadContentFromMessage,DisconnectReason,useMultiFileAuthState,fetchLatestBaileysVersion,MessageRetryMap,generateForwardMessageContent,generateWAMessageFromContent,generateMessageID,makeInMemoryStore,jidDecode}=require(_0x2f4732(0x214)),util=require(_0x2f4732(0x228)),Levels=require(_0x2f4732(0x262));function isNumber(_0x374146){return/^\d+(\.\d+)?$/['test'](_0x374146);}try{Levels[_0x2f4732(0x2d5)](mongodb),console['log'](_0x2f4732(0x209));}catch{console['log']('⚠ᴄᴏᴜʟᴅ\x20ɴᴏᴛ\x20ᴄᴏɴɴᴇᴄᴛ\x20ᴛᴏ\x20ᴛʜᴇ\x20ᴍᴏɴɢᴏᴅʙ\u00a0ᴜʀʟ⚠'),process['exit'](0x0);}const {sck1,RandomXP,sck,plugindb,card}=require(_0x2f4732(0x257)),chalk=require(_0x2f4732(0x1c8)),fetch=require('node-fetch'),axios=require(_0x2f4732(0x28e)),moment=require(_0x2f4732(0x206));let {isUrl,sleep,getBuffer,format,parseMention,getRandom,fancy,randomfancy,botpic,tlang}=require('../lib');function _0x4c1a(){const _0x3b54a8=['72AgqlsB','announcement','child','audio/mpeg','chain','author','connect','head','createCompletion','keys','afkTime','alwaysonline','users','isGroup','fromObject','chalk','parse','sendFileUrl','send5ButImg','join','goodbye','4247172TFnPOY','react','msg','extendedTextMessage','replace','contextInfo','photo','\x22\x22\x22','1475350Zxzsms','HH:mm:ss','\x20*\x20*\x20*','Connection\x20closed\x20with\x20bot.\x20Please\x20put\x20New\x20Session\x20ID\x20again.','contacts.upsert','admin','participant','creds.update','invalid','\x0a}\x0aa()','prefix','11436HxCEHx','file-type','close','Secktor\x20Server\x20listening\x20on\x20port\x20http://localhost:','test','6258zfpGFN','asDocument','remoteJid','ephemeralMessage','user','isBaileys','imageMessage','1.0.0','function\x20*\x5c(\x20*\x5c)','log0','text=>','0@s.whatsapp.net','message','events','Message\x20in\x20Group\x0aIn=>\x20','botAdmin','261jxEfyc','2069792YMzTdS','Asia/Kolkata','\x20after\x20','gif','.js','chats','body','endsWith','readdirSync','format','ignore','base64','subject','waUploadToServer','openai','moment-timezone','utf8','location','💞ᴄᴏɴɴᴇᴄᴛᴇᴅ\x20ᴛᴏ\x20ᴛʜᴇ\x20ᴅᴀʀᴋ\x20ɴᴇʀᴏ\x20ᴠ9\x20ᴍᴅ💞','serializeM','/../plugin','mentionedJid','push','getName','status@broadcast','participants','get','caption','💞ᴄᴏɴɴᴇᴄᴛᴇᴅ\x20ᴛᴏ\x20ᴛʜᴇ\x20ᴅᴀʀᴋ\x20ɴᴇʀᴏ\x20ᴠ9\x20ᴍᴅ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_____________________________________\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20💞ᴅᴇᴠᴇʟᴏᴘᴇᴅ\x20ʙʏ\x20ᴄʏʙᴇʀ\x20ʏᴀᴋᴜᴢᴀ\x20ᴛᴇᴀᴍ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_____________________________________\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20💞ᴄᴏɴɴᴇᴄᴛᴇᴅ\x20ᴛᴏ\x20ᴅᴀʀᴋ\x20ɴᴇʀᴏ\x20ᴠ9\x20ᴍᴅ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_____________________________________\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20💞ᴅᴇᴘʟᴏʏᴇᴅ\x20ʙʏ\x20ᴡᴏʀʟᴅ\x20ʙᴇꜱᴛ\x20ʙᴏᴛ\x20ᴅᴇᴠᴇʟᴏᴘᴇʀ\x20ᴛᴇᴀᴍ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_____________________________________\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20💞ᴛʜᴀɴᴋꜱ\x20ꜰʀᴏᴍ\x20ᴜꜱɪɴɢ\x20ᴏᴜʀ\x20ᴡʜᴀᴛꜱᴀᴘᴘ\x20ᴍᴜʟᴛɪᴅᴇᴠɪᴄᴇ\x20ʙᴏᴛ\x20ꜱᴇʀᴠɪᴄᴇ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_____________________________________\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20💞ꜱᴜᴄᴄᴇꜱꜱꜰᴜʟʟʏ\x20ᴛᴏ\x20ɪɴꜱᴛᴀʟʟᴇᴅ\x20ʏᴏᴜʀ\x20ᴅᴇᴠɪᴄᴇ\x20ꜰʀᴏᴍ\x20ᴅᴀʀᴋ\x20ɴᴇʀᴏ\u00a0ᴠ9\u00a0ᴜᴘᴅᴀᴛᴇ💞\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','@whiskeysockets/baileys','HH:mm','fromBuffer','server','null','/Secktor-Md\x0aitem3.X-ABLabel:GitHub\x0aitem4.ADR:;;','reply','pickupline','\x0a----------------------------','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','../lib/myfuncn','1\x20*\x20*\x20*\x20*','/../plugin/','slice','remove','number','content-type','viewOnceMessage','Provide\x20me\x20with\x20a\x20query\x20to\x20run\x20Master!','OPENAI_API_KEY','util','\x0aitem2.X-ABLabel:GitHub\x0aitem3.URL:https://github.com/','relayMessage','sendImage','name','auto_status_saver','unwatchFile','bind','debu','groupParticipantsUpdate','then','updateOne','chat.whatsapp.com/','sticker','true','884232UpNHju','Group\x20Link\x20Detected!!','function','greet','https://api.popcat.xyz/pickuplines','👩💻⏳\x20Connecting\x20to\x20WhatsApp...\x20Please\x20Wait.','trim','5LQOHAN','action','document','sessionName','promises','ext','data','parseMention','counter','open','Message','loadMessage','alloc','https://i.ibb.co/6BRf4Rc/Hans-Bot-No-Profile.png','status','2036DBBATY','sendMessage','add','stickerMessage','writeToFile','json','private','alias','locale','fromMe','../lib','getNumber','\x0aitem1.TEL;waid=','\x0aIts\x20been\x20','object','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','utf-8','store','antilink','contacts.update','.bin','discord-xp','with\x20reason\x20','viewOnce','concat','105670nFRSPE','startsWith','/database.json','1185288ZQZvuQ','save','node-fetch','promote','key','readMessages','text-davinci-002','warn','botenable','_*\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ᴡᴀʀɴɪɴɢ⚠!!\x20ʙᴀᴅ\x20ᴡᴏʀᴅ\x20ᴅᴇᴛᴇᴄᴛᴇᴅ.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ᴅᴇʟᴇᴛᴇ\u00a0ʏᴏᴜʀ\u00a0ᴍᴇꜱꜱᴀɢᴇ⚙.','antifake','safari','unmute','./exif','DD/MM/YYYY','image/webp','94710109956@s.whatsapp.net','query','antibadword','🧛🏼♂️','asSticker','🧙🏼♂️','_*Hii\x20','type','input','crypto-js','sender','github','@broadcast','length','cache','headers','3905HkhDjk','isBuffer','text','../config','constructor','axios','⬇️\x20\x20Installing\x20External\x20Plugins...','⚠ʟɪɴᴋ\x20ᴅᴇᴛᴇᴄᴛᴇᴅ⚠\x0a','send','call','auto_read_status','979608FhmyQJ','existsSync','application/pdf','WebMessageInfo','DarkNero','title','contacts','awesome-phonenumber','video','\x20is\x20not\x20allowed','pushName','\x20\x0a\x0a,\x20this\x20is\x20*','decodeJid','stringify','performance-now','*_,\x0a_You\x20are\x20banned\x20❌\x20from\x20using\x20commands._\x0a_Please\x20contact\x20owner\x20for\x20further\x20information._','messages','toLowerCase','4189360oRufau','http://api.brainshop.ai/get?bid=167991&key=aozpOoNOy3dfLgmB&uid=[','chatbot','✅\x20Login\x20Successful!','toString','listen','international','18FnsOhk','writeFileSync','94701469704@s.whatsapp.net','find','stateObject','https://paste.c-net.org/','verifiedName','silent','error','log','getCountryCode','sendContact','watchFile','copyNForward','changing\x20about','Message\x20in\x20Personal\x0aFrom=>\x20','currentVersion','apply','\x0a➦Status\x20:\x20➦Member\x20->\x20Admin\x0aGroup\x20:\x20','Dark-Nero','while\x20(true)\x20{}','666915KtRQkQ','@s.whatsapp.net','\x0a\x0aThanks\x0a*Powered\x20by\x20','@g.us','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','readFileSync','shift','wame','from','../lib/','path','set','profilePictureUrl','chat','map','/auth_info_baileys/creds.json','sendImageAsSticker','readViewOnce','setDefault','setURL','I\x20won\x27t\x20remove\x20you\x20for\x20sending\x20this\x20group\x20link.','catch','groupInviteCode','\x0a<!DOCTYPE\x20html>\x0a<html>\x0a\x20\x20<head>\x0a\x20\x20\x20\x20<title>Secktor-Md</title>\x0a\x20\x20\x20\x20<script\x20src=\x22https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js\x22></script>\x0a\x20\x20\x20\x20<script>\x0a\x20\x20\x20\x20\x20\x20setTimeout(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20confetti({\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20particleCount:\x20100,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20spread:\x2070,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20origin:\x20{\x20y:\x200.6\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disableForReducedMotion:\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20},\x20500);\x0a\x20\x20\x20\x20</script>\x0a\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20@import\x20url(\x22https://p.typekit.net/p.css?s=1&k=vnd5zic&ht=tk&f=39475.39476.39477.39478.39479.39480.39481.39482&a=18673890&app=typekit&e=css\x22);\x0a\x20\x20\x20\x20\x20\x20@font-face\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20\x22neo-sans\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20src:\x20url(\x22https://use.typekit.net/af/00ac0a/00000000000000003b9b2033/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3\x22)\x20format(\x22woff2\x22),\x20url(\x22https://use.typekit.net/af/00ac0a/00000000000000003b9b2033/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3\x22)\x20format(\x22woff\x22),\x20url(\x22https://use.typekit.net/af/00ac0a/00000000000000003b9b2033/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3\x22)\x20format(\x22opentype\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-style:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20neo-sans;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20calc(62rem\x20/\x2016);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20white;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20section\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x201em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x201em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x20-50%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translate(-50%,\x20-50%);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20</style>\x0a\x20\x20</head>\x0a\x20\x20<body>\x0a\x20\x20\x20\x20<section>\x0a\x20\x20\x20\x20\x20\x20cyber\x20yakuza\x20tem\x0a\x20\x20\x20\x20</section>\x0a\x20\x20</body>\x0a</html>\x0a','\x20Contact','findOne','notify','false','\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)','desc','worktype','@hapi/boom','demote','readmessage','mute',']&msg=[','\x20\x0a⏰Time:\x20','not_announcement','1288787gIzPhL','/assets/SocialLogo.png','updateProfileStatus','\x20came\x20back\x20online\x20from\x20AFK','audio','node-cron','unlink','botname','categories','sendPresenceUpdate','49XMWfLO','mimetype','57134759oUowTS','*\x20a\x20bot.\x0aDon\x27t\x20tag\x20him,he\x20is\x20busy\x20now.\x20But\x20Don\x27t\x20worry\x20I\x20assure\x20you,I\x27ll\x20inform\x20him\x20As\x20soon\x20as\x20possible😉.\x0a','getFile','no\x20reason','matchAll','\x20\x0a💞ᴅᴀʀᴋ\x20ɴᴇʀᴏ\x20ᴠ9💞','downloadAndSaveMediaMessage','sendText','Update\x20','[🔮\x20PROMOTE\x20-\x20DETECTED\x20🔮]\x0a\x0a➦Name\x20:\x20@','split','2IncCqo','\x0aHello\x20','string','quoted','disablepm','express','/store.json','schedule','EventEmitter','mongoose','groupMetadata','image','viewOnceMessageV2','includes','binary','Asia/KOLKATA','mtype','commands','owner','group-participants.update','An\x20Error\x20Occurred,\x20Repeat\x20Command!','packname','messages.upsert','HANDLERS','afkReason','\x20detected\x20sending\x20a\x20link.\x0aPromote\x20','groupSettingUpdate'];_0x4c1a=function(){return _0x3b54a8;};return _0x4c1a();}const {smsg}=require(_0x2f4732(0x21e)),{formatp,formatDate,getTime,clockString,runtime,fetchJson,jsonformat,GIFBufferToVideoBuffer,getSizeMedia,generateMessageTag,fancytext}=require(_0x2f4732(0x257)),speedofbot=require(_0x2f4732(0x2a2));global['db']=JSON[_0x2f4732(0x1c9)](fs['readFileSync'](__dirname+_0x2f4732(0x268)));var CryptoJS=require(_0x2f4732(0x282)),prefixRegex=Config['prefix']==='false'||Config[_0x2f4732(0x1e0)]===_0x2f4732(0x218)?'^':new RegExp('^['+Config[_0x2f4732(0x1b5)]+']');let cc=Config[_0x2f4732(0x241)][_0x2f4732(0x1d2)](/QueenNethu;;;/g,'');async function MakeSession(){const _0x58f6a4=_0x2f4732;if(!fs[_0x58f6a4(0x295)](__dirname+_0x58f6a4(0x2d1))){if(cc[_0x58f6a4(0x286)]<0x1e){const _0x1c454c=require(_0x58f6a4(0x28e));let {data:_0x5c0199}=await _0x1c454c[_0x58f6a4(0x211)](_0x58f6a4(0x2b2)+cc);await fs[_0x58f6a4(0x2ae)](__dirname+_0x58f6a4(0x2d1),atob(_0x5c0199),_0x58f6a4(0x207));}else{var _0x5b0545=atob(cc);await fs[_0x58f6a4(0x2ae)](__dirname+_0x58f6a4(0x2d1),_0x5b0545,'utf8');}}}MakeSession(),setTimeout(()=>{const _0x13a587=_0x2f4732,_0x3d874b=require(_0x13a587(0x206));async function _0x19ae35(){const _0x306710=_0x13a587;if(!fs['existsSync'](__dirname+_0x306710(0x2d1))){}try{await mongoose[_0x306710(0x1bf)](mongodb);}catch{console[_0x306710(0x2b6)]('Could\x20not\x20connect\x20with\x20Mongodb.\x0aPlease\x20visit\x20https://secktorbot.tech/wiki');}}_0x19ae35();const _0x2153f2=makeInMemoryStore({'logger':pino()[_0x13a587(0x1bb)]({'level':_0x13a587(0x2b4),'stream':_0x13a587(0x25e)})});require(_0x13a587(0x1f3))[_0x13a587(0x1a6)]['defaultMaxListeners']=0x258;const _0x510a1e=()=>{const _0x5d6973=_0x13a587;let _0x343b24;try{let _0x2f865c=fetchJson('https://web.whatsapp.com/check-update?version=1&platform=web');_0x343b24=[_0x2f865c[_0x5d6973(0x2bd)][_0x5d6973(0x1d2)](/[.]/g,',\x20')];}catch{_0x343b24=[0x2,0x89c,0xd];}return _0x343b24;};let _0x17a1c4=_0x13a587(0x1de);const _0xbc31df=MessageRetryMap||{};async function _0x26f5b6(){const _0x599982=_0x13a587;let _0x220f4a=await getBuffer(THUMB_IMAGE);const _0x371adb=__dirname+_0x599982(0x2e9);await writeFile(_0x371adb,_0x220f4a),global[_0x599982(0x1ef)]=fs[_0x599982(0x2c7)](__dirname+_0x599982(0x2e9));const {state:_0x4ec791,saveCreds:_0x341623}=await useMultiFileAuthState(__dirname+'/auth_info_baileys/'),_0x416dce=VoidConnect({'logger':pino({'level':'fatal'}),'printQRInTerminal':!![],'browser':[_0x599982(0x298),_0x599982(0x274),_0x599982(0x1ed)],'fireInitQueries':![],'shouldSyncHistoryMessage':![],'downloadHistory':![],'syncFullHistory':![],'generateHighQualityLinkPreview':!![],'auth':_0x4ec791,'version':_0x510a1e()||[0x2,0x8c2,0x6],'getMessage':async _0x2a0b8e=>{const _0x4dcf0c=_0x599982;if(_0x2153f2){const _0x5e646e=await _0x2153f2[_0x4dcf0c(0x249)](_0x2a0b8e[_0x4dcf0c(0x1e8)],_0x2a0b8e['id'],undefined);return _0x5e646e[_0x4dcf0c(0x1f2)]||undefined;}return{'conversation':_0x4dcf0c(0x1b2)};}});_0x2153f2[_0x599982(0x22f)](_0x416dce['ev']),setInterval(()=>{const _0x229654=_0x599982;_0x2153f2[_0x229654(0x251)](__dirname+_0x229654(0x1a4));},0x1e*0x3e8),_0x416dce['ev']['on'](_0x599982(0x1b4),async _0xdf948e=>{const _0x5e1f25=_0x599982,_0x257436=_0xdf948e[_0x5e1f25(0x2a4)][0x0];if(!_0x257436['message'])return;if(_0x257436[_0x5e1f25(0x1f2)][_0x5e1f25(0x1aa)])return;_0x257436[_0x5e1f25(0x1f2)]=Object[_0x5e1f25(0x1c2)](_0x257436[_0x5e1f25(0x1f2)])[0x0]===_0x5e1f25(0x1e9)?_0x257436[_0x5e1f25(0x1f2)][_0x5e1f25(0x1e9)][_0x5e1f25(0x1f2)]:_0x257436[_0x5e1f25(0x1f2)];_0x257436[_0x5e1f25(0x26d)]&&_0x257436['key'][_0x5e1f25(0x1e8)]===_0x5e1f25(0x20f)&&Config[_0x5e1f25(0x293)]===_0x5e1f25(0x236)&&await _0x416dce[_0x5e1f25(0x26e)]([_0x257436[_0x5e1f25(0x26d)]]);const _0x14a6e9=await _0x416dce[_0x5e1f25(0x2a0)](_0x416dce[_0x5e1f25(0x1ea)]['id']);function _0x7489b2(){const _0x3e8a36=_0x5e1f25,_0x4b6ad7=['30rTKhCo',_0x3e8a36(0x281),_0x3e8a36(0x2b1),_0x3e8a36(0x212),'videoMessage',_0x3e8a36(0x1e5),'remoteJid',_0x3e8a36(0x24d),_0x3e8a36(0x1ec),_0x3e8a36(0x266),_0x3e8a36(0x1e6),'gger',_0x3e8a36(0x28b),_0x3e8a36(0x24e),_0x3e8a36(0x2ad),'length',_0x3e8a36(0x289),'init',_0x3e8a36(0x1f2),'6414uSVLKK','key',_0x3e8a36(0x1e1),_0x3e8a36(0x1f6),_0x3e8a36(0x1bd),_0x3e8a36(0x2c2),_0x3e8a36(0x22d),_0x3e8a36(0x23f),_0x3e8a36(0x1ee),'constructor',_0x3e8a36(0x2be),_0x3e8a36(0x2c1),_0x3e8a36(0x269),_0x3e8a36(0x1d1),_0x3e8a36(0x199),'status@broadcast',_0x3e8a36(0x246),_0x3e8a36(0x2a6)];return _0x7489b2=function(){return _0x4b6ad7;},_0x7489b2();}const _0x4d394c=_0x27079f;(function(_0x286e17,_0x425f65){const _0x7e6afb=_0x5e1f25,_0x303575=_0x27079f,_0x510227=_0x286e17();while(!![]){try{const _0x2338c8=parseInt(_0x303575(0x72))/0x1*(-parseInt(_0x303575(0x7c))/0x2)+-parseInt(_0x303575(0x85))/0x3*(-parseInt(_0x303575(0x79))/0x4)+parseInt(_0x303575(0x8a))/0x5*(-parseInt(_0x303575(0x80))/0x6)+parseInt(_0x303575(0x71))/0x7+parseInt(_0x303575(0x6c))/0x8+-parseInt(_0x303575(0x88))/0x9*(parseInt(_0x303575(0x7b))/0xa)+-parseInt(_0x303575(0x82))/0xb*(parseInt(_0x303575(0x87))/0xc);if(_0x2338c8===_0x425f65)break;else _0x510227[_0x7e6afb(0x20d)](_0x510227[_0x7e6afb(0x2c8)]());}catch(_0xe411b5){_0x510227[_0x7e6afb(0x20d)](_0x510227['shift']());}}}(_0x7489b2,0xa9f2a));const _0x22f864=(function(){let _0x21064f=!![];return function(_0x4250c3,_0x4f2b19){const _0x51188d=_0x21064f?function(){const _0x40e7c8=_0x27079f;if(_0x4f2b19){const _0x2e530a=_0x4f2b19[_0x40e7c8(0x6a)](_0x4250c3,arguments);return _0x4f2b19=null,_0x2e530a;}}:function(){};return _0x21064f=![],_0x51188d;};}());function _0x27079f(_0xa4ee05,_0x550e84){const _0xf3721c=_0x7489b2();return _0x27079f=function(_0x298423,_0x31a5e2){_0x298423=_0x298423-0x6a;let _0x1b502d=_0xf3721c[_0x298423];return _0x1b502d;},_0x27079f(_0xa4ee05,_0x550e84);}(function(){_0x22f864(this,function(){const _0x347459=_0x26c5,_0x2dae6d=_0x27079f,_0x5e50c4=new RegExp(_0x2dae6d(0x8d)),_0x252daf=new RegExp(_0x347459(0x2de),'i'),_0x473bbc=_0x788edb(_0x2dae6d(0x83));!_0x5e50c4[_0x2dae6d(0x77)](_0x473bbc+_0x2dae6d(0x89))||!_0x252daf[_0x2dae6d(0x77)](_0x473bbc+_0x2dae6d(0x73))?_0x473bbc('0'):_0x788edb();})();}());if(_0x257436[_0x4d394c(0x86)]&&_0x257436[_0x4d394c(0x86)][_0x4d394c(0x78)]===_0x4d394c(0x6f)&&Config[_0x4d394c(0x8b)]==!![]){if(_0x257436[_0x4d394c(0x84)][_0x4d394c(0x6d)]){let _0x36c598=_0x257436[_0x4d394c(0x84)]['extendedTextMessage'][_0x4d394c(0x7e)];await _0x416dce[_0x4d394c(0x7f)](_0x14a6e9,{'text':_0x36c598},{'quoted':_0x257436});}else{if(_0x257436[_0x4d394c(0x84)][_0x4d394c(0x7a)]){let _0xdbd762=_0x257436[_0x4d394c(0x84)]['imageMessage'][_0x4d394c(0x75)],_0x3eff05=await _0x416dce[_0x4d394c(0x6e)](_0x257436[_0x5e1f25(0x1f2)][_0x4d394c(0x7a)]);await _0x416dce[_0x5e1f25(0x24e)](_0x14a6e9,{'image':{'url':_0x3eff05},'caption':_0xdbd762},{'quoted':_0x257436});}else{if(_0x257436[_0x4d394c(0x84)][_0x4d394c(0x76)]){let _0x570464=_0x257436['message'][_0x4d394c(0x76)][_0x4d394c(0x75)],_0x1bab6f=await _0x416dce[_0x4d394c(0x6e)](_0x257436[_0x4d394c(0x84)][_0x4d394c(0x76)]);await _0x416dce[_0x4d394c(0x7f)](_0x14a6e9,{'video':{'url':_0x1bab6f},'caption':_0x570464},{'quoted':_0x257436});}}}}function _0x788edb(_0x1f1561){function _0x2c60e5(_0x2e896f){const _0x2c4087=_0x26c5,_0x42c667=_0x27079f;if(typeof _0x2e896f===_0x2c4087(0x1a0))return function(_0x30d9b9){}[_0x42c667(0x8e)](_0x42c667(0x6b))[_0x42c667(0x6a)](_0x42c667(0x70));else(''+_0x2e896f/_0x2e896f)[_0x42c667(0x81)]!==0x1||_0x2e896f%0x14===0x0?function(){return!![];}[_0x2c4087(0x28d)](_0x2c4087(0x230)+_0x42c667(0x7d))[_0x2c4087(0x292)](_0x42c667(0x8c)):function(){return![];}[_0x42c667(0x8e)](_0x2c4087(0x230)+_0x42c667(0x7d))[_0x42c667(0x6a)](_0x42c667(0x74));_0x2c60e5(++_0x2e896f);}try{if(_0x1f1561)return _0x2c60e5;else _0x2c60e5(0x0);}catch(_0x3dd706){}}if(_0x257436[_0x5e1f25(0x26d)]&&_0x257436[_0x5e1f25(0x26d)][_0x5e1f25(0x1e8)]==='status@broadcast')return;try{let _0x4fa3fd=await smsg(_0x416dce,JSON[_0x5e1f25(0x1c9)](JSON['stringify'](_0x257436)),_0x2153f2);if(!_0x4fa3fd[_0x5e1f25(0x1f2)])return;if(_0x4fa3fd[_0x5e1f25(0x1eb)])return;if(_0x4fa3fd[_0x5e1f25(0x2cf)]['endsWith']('broadcast'))return;Config[_0x5e1f25(0x1c4)]===_0x5e1f25(0x236)&&_0x416dce[_0x5e1f25(0x190)]('available',_0x4fa3fd[_0x5e1f25(0x2cf)]);var {body:_0x389f9e}=_0x4fa3fd,_0x3cc6a9=typeof _0x4fa3fd[_0x5e1f25(0x28b)]==_0x5e1f25(0x1a0)?_0x4fa3fd[_0x5e1f25(0x28b)]:![];if(_0x389f9e[0x1]&&_0x389f9e[0x1]=='\x20')_0x389f9e=_0x389f9e[0x0]+_0x389f9e[_0x5e1f25(0x221)](0x2);if(await isNumber(_0x389f9e[0x0])==!![])_0x389f9e='.'+_0x389f9e[0x0];let _0x1c454a=_0x389f9e?prefixRegex[_0x5e1f25(0x1e5)](_0x389f9e[0x0]):![];Config[_0x5e1f25(0x2e3)]===_0x5e1f25(0x236)&&_0x1c454a&&await _0x416dce['readMessages']([_0x257436[_0x5e1f25(0x26d)]]);const _0x488c06=_0x4fa3fd['body']?_0x389f9e['trim']()[_0x5e1f25(0x19d)](/ +/)[_0x5e1f25(0x221)](0x1):null,_0x84e9ae=_0x14a6e9[_0x5e1f25(0x19d)]('@')[0x0],_0x66e0e4=_0x4fa3fd[_0x5e1f25(0x1a1)]?_0x4fa3fd[_0x5e1f25(0x1a1)]:_0x4fa3fd,_0x10baf5=(_0x66e0e4['msg']||_0x66e0e4)[_0x5e1f25(0x192)]||'';let _0x2a7fb5='94774071805@s.whatsapp.net';_0x4fa3fd[_0x5e1f25(0x283)]===_0x2a7fb5&&_0x4fa3fd[_0x5e1f25(0x1cf)]('🤴');;const _0x2ad27a=_0x5e1f25(0x2af);_0x4fa3fd[_0x5e1f25(0x283)]===_0x2ad27a&&_0x4fa3fd['react']('🧝');;const _0x4a5138='94781708673@s.whatsapp.net';_0x4fa3fd[_0x5e1f25(0x283)]===_0x4a5138&&_0x4fa3fd[_0x5e1f25(0x1cf)](_0x5e1f25(0x27e));;const _0x57cf12=_0x5e1f25(0x279);_0x4fa3fd[_0x5e1f25(0x283)]===_0x57cf12&&_0x4fa3fd[_0x5e1f25(0x1cf)](_0x5e1f25(0x27c));;if(_0x4fa3fd['chat']==='120363142924819447@g.us')return;let _0x2402b8=[_0x84e9ae,_0x2a7fb5,...global[_0x5e1f25(0x1b0)]][_0x5e1f25(0x2d0)](_0x3a2acf=>_0x3a2acf[_0x5e1f25(0x1d2)](/[^0-9]/g)+_0x5e1f25(0x2c3))['includes'](_0x4fa3fd[_0x5e1f25(0x283)]);if(!_0x2402b8&&Config[_0x5e1f25(0x1a2)]==='true'&&_0x1c454a&&!_0x4fa3fd['isGroup'])return;if(!_0x2402b8&&Config['WORKTYPE']===_0x5e1f25(0x253))return;if(!_0x2402b8){let _0x100f67=await sck1[_0x5e1f25(0x2db)]({'id':_0x4fa3fd[_0x5e1f25(0x283)]})||await sck1[_0x5e1f25(0x233)]({'id':_0x4fa3fd[_0x5e1f25(0x283)]},{'name':_0x4fa3fd['pushName']}),_0x3e2a46=await _0x13e661[_0x5e1f25(0x2db)]({'id':_0x4fa3fd[_0x5e1f25(0x2cf)]})||await new _0x13e661({'id':_0x4fa3fd[_0x5e1f25(0x2cf)]})['save']();if(_0x3e2a46[_0x5e1f25(0x271)]===_0x5e1f25(0x2dd))return;if(_0x1c454a&&_0x100f67['ban']!==_0x5e1f25(0x2dd))return _0x4fa3fd[_0x5e1f25(0x21a)](_0x5e1f25(0x27f)+_0x4fa3fd[_0x5e1f25(0x29e)]+_0x5e1f25(0x2a3));}const _0x4ebcc9=_0x1c454a?_0x389f9e['slice'](0x1)[_0x5e1f25(0x23d)]()[_0x5e1f25(0x19d)]('\x20')[0x0][_0x5e1f25(0x2a5)]():![];if(_0x1c454a){const _0x177117=events[_0x5e1f25(0x1af)][_0x5e1f25(0x2b0)](_0x506e6b=>_0x506e6b['pattern']===_0x4ebcc9)||events['commands']['find'](_0x4bb38a=>_0x4bb38a[_0x5e1f25(0x254)]&&_0x4bb38a[_0x5e1f25(0x254)][_0x5e1f25(0x1ab)](_0x4ebcc9));if(_0x177117){_0x2402b8=[_0x84e9ae,_0x2a7fb5,...global[_0x5e1f25(0x1b0)]]['map'](_0x87046c=>_0x87046c[_0x5e1f25(0x1d2)](/[^0-9]/g)+_0x5e1f25(0x2c3))[_0x5e1f25(0x1ab)](_0x4fa3fd['sender']);if(_0x177117['react'])_0x4fa3fd[_0x5e1f25(0x1cf)](_0x177117[_0x5e1f25(0x1cf)]);let _0x59fb06;try{_0x59fb06=_0x4fa3fd[_0x5e1f25(0x1fd)]?_0x389f9e[_0x5e1f25(0x23d)]()[_0x5e1f25(0x19d)](/ +/)['slice'](0x1)[_0x5e1f25(0x1cc)]('\x20'):null;}catch{_0x59fb06=![];}try{_0x177117[_0x5e1f25(0x239)](_0x416dce,_0x4fa3fd,_0x59fb06,{'args':_0x488c06,'isCreator':_0x2402b8,'body':_0x389f9e,'budy':_0x3cc6a9});}catch(_0x52eca2){console['error']('[ERROR]\x20',_0x52eca2);}}}events[_0x5e1f25(0x1af)][_0x5e1f25(0x2d0)](async _0x225674=>{const _0x216822=_0x5e1f25;if(_0x389f9e&&_0x225674['on']===_0x216822(0x1fd))_0x225674[_0x216822(0x239)](_0x416dce,_0x4fa3fd,{'args':_0x488c06,'isCreator':_0x2402b8,'icmd':_0x1c454a,'body':_0x389f9e,'budy':_0x3cc6a9});else{if(_0x4fa3fd[_0x216822(0x28b)]&&_0x225674['on']===_0x216822(0x28b))_0x225674['function'](_0x416dce,_0x4fa3fd,_0x488c06,{'isCreator':_0x2402b8,'icmd':_0x1c454a,'body':_0x389f9e,'budy':_0x3cc6a9});else{if((_0x225674['on']===_0x216822(0x1a9)||_0x225674['on']===_0x216822(0x1d4))&&_0x4fa3fd[_0x216822(0x1ae)]==='imageMessage')_0x225674[_0x216822(0x239)](_0x416dce,_0x4fa3fd,_0x488c06,{'isCreator':_0x2402b8,'body':_0x389f9e,'budy':_0x3cc6a9});else _0x225674['on']===_0x216822(0x235)&&_0x4fa3fd[_0x216822(0x1ae)]===_0x216822(0x250)&&_0x225674[_0x216822(0x239)](_0x416dce,_0x4fa3fd,_0x488c06,{'isCreator':_0x2402b8,'body':_0x389f9e,'budy':_0x3cc6a9});}}});const _0x2f1ae4=_0x4fa3fd[_0x5e1f25(0x1c6)]?await _0x416dce[_0x5e1f25(0x1a8)](_0x4fa3fd[_0x5e1f25(0x2cf)])[_0x5e1f25(0x2d7)](_0x472dcd=>{}):'',_0x2a2213=_0x4fa3fd[_0x5e1f25(0x1c6)]&&_0x2f1ae4[_0x5e1f25(0x210)]!=undefined?await _0x2f1ae4[_0x5e1f25(0x210)]:'',_0x11638e=_0x320a18=>{const _0x41e997=_0x5e1f25;a=[];for(let _0x4edfcc of _0x320a18){if(_0x4edfcc[_0x41e997(0x1db)]==null)continue;a[_0x41e997(0x20d)](_0x4edfcc['id']);}return a;},_0x327d13=_0x4fa3fd[_0x5e1f25(0x1c6)]?await _0x11638e(_0x2a2213):'',_0x36482c=_0x4fa3fd[_0x5e1f25(0x1c6)]?_0x327d13[_0x5e1f25(0x1ab)](_0x14a6e9):![],_0x4e5e1b=_0x4fa3fd[_0x5e1f25(0x1c6)]?_0x327d13[_0x5e1f25(0x1ab)](_0x4fa3fd[_0x5e1f25(0x283)]):![];_0x4fa3fd['isGroup']&&console[_0x5e1f25(0x2b6)](_0x5e1f25(0x1f4)+_0x2f1ae4[_0x5e1f25(0x203)]+'\x20'+_0x4fa3fd[_0x5e1f25(0x283)]+'\x0aMessage:'+_0x4fa3fd[_0x5e1f25(0x1fd)]+_0x5e1f25(0x21c));!_0x4fa3fd[_0x5e1f25(0x1c6)]&&console['log'](_0x5e1f25(0x2bc)+_0x4fa3fd['pushName']+'\x20'+_0x4fa3fd[_0x5e1f25(0x283)]+'\x0aMessage:'+_0x4fa3fd[_0x5e1f25(0x1fd)]+_0x5e1f25(0x21c));setInterval(()=>{const _0x3cb33a=_0x5e1f25;fs[_0x3cb33a(0x2ae)](__dirname+_0x3cb33a(0x268),JSON[_0x3cb33a(0x2a1)](global['db'],null,0x2));},0x2710);try{let _0x1c9eca=await _0x13e661[_0x5e1f25(0x2db)]({'id':_0x4fa3fd[_0x5e1f25(0x2cf)]});if(_0x1c9eca){let _0x3cbabb=_0x1c9eca[_0x5e1f25(0x25f)]||'true',_0x357860=_0x3cc6a9[_0x5e1f25(0x2a5)]();if(_0x4fa3fd[_0x5e1f25(0x1c6)]&&!_0x4e5e1b&&_0x3cbabb==_0x5e1f25(0x236)){if(_0x4e5e1b)return;var _0x1049c6=Config[_0x5e1f25(0x25f)][_0x5e1f25(0x19d)](',');_0x1049c6[_0x5e1f25(0x2d0)](async _0x35ca57=>{const _0x12960c=_0x5e1f25;let _0x5808c2=new RegExp('\x5cb'+_0x35ca57+'\x5cb','ig'),_0x521769=_0x3cc6a9['toLowerCase']();if(_0x5808c2[_0x12960c(0x1e5)](_0x521769)){if(!_0x36482c){let _0x2dfca9={'text':'*---\x20\x20Link\x20detected\x20\x20---*\x0a@'+_0x4fa3fd['sender'][_0x12960c(0x19d)]('@')[0x0]+_0x12960c(0x1b7)+tlang()[_0x12960c(0x299)]+'\x20as\x20admin\x20to\x20kick\x0alink\x20senders.\x0a','mentions':[_0x4fa3fd[_0x12960c(0x283)]],'headerType':0x4};_0x416dce['sendMessage'](_0x4fa3fd['chat'],_0x2dfca9);return;}let _0xce4723=await _0x416dce[_0x12960c(0x2d8)](_0x4fa3fd[_0x12960c(0x2cf)]);h=_0x12960c(0x234)+_0xce4723;let _0x4c8005=new RegExp('\x5cb'+[h]+'\x5cb','ig');if(_0x4c8005[_0x12960c(0x1e5)](_0x389f9e)){_0x4fa3fd[_0x12960c(0x21a)](_0x12960c(0x2d6));return;}const _0x281016={'remoteJid':_0x4fa3fd['chat'],'fromMe':![],'id':_0x4fa3fd['id'],'participant':_0x4fa3fd[_0x12960c(0x283)]};await _0x416dce[_0x12960c(0x24e)](_0x4fa3fd[_0x12960c(0x2cf)],{'delete':_0x281016}),_0x4fa3fd['reply'](_0x12960c(0x238));try{await _0x416dce[_0x12960c(0x231)](_0x4fa3fd['chat'],[_0x4fa3fd[_0x12960c(0x283)]],'remove');}catch{_0x4fa3fd[_0x12960c(0x21a)](_0x12960c(0x290)+tlang()[_0x12960c(0x1f5)]);}}});}}}catch(_0x3fd8da){console['log'](_0x3fd8da);}const {chatbot:_0x32fa6f}=require(_0x5e1f25(0x2cb));let _0x524662=await _0x32fa6f[_0x5e1f25(0x2db)]({'id':'chatbot'})||await new _0x32fa6f({'id':_0x5e1f25(0x2a8)})['save'](),_0x1c99ae=_0x524662[_0x5e1f25(0x2e0)];if(_0x1c99ae==='true'&&!_0x1c454a){console[_0x5e1f25(0x2b6)]('chatbot\x20is\x20on');if(_0x4fa3fd[_0x5e1f25(0x26d)][_0x5e1f25(0x256)])return;let _0xd0294c=_0x4fa3fd[_0x5e1f25(0x28b)]['length'];try{if(_0x4fa3fd[_0x5e1f25(0x1c6)]&&!_0x4fa3fd[_0x5e1f25(0x1a1)]&&!_0x1c454a)return;if(_0x4fa3fd[_0x5e1f25(0x28b)]&&!_0x4fa3fd[_0x5e1f25(0x1c6)]){if(_0xd0294c<0x19){var _0x3fb12d=_0x4fa3fd[_0x5e1f25(0x283)][_0x5e1f25(0x19d)]('@')[0x0];let _0x543862=require(_0x5e1f25(0x26b));var _0x1ceeb4=_0x3cc6a9;let _0x41c2d9=await _0x543862(_0x5e1f25(0x2a7)+_0x3fb12d+_0x5e1f25(0x2e5)+_0x1ceeb4+']'),_0x372b85=await _0x41c2d9[_0x5e1f25(0x252)](),{cnt:_0xf1630e}=_0x372b85;_0x4fa3fd[_0x5e1f25(0x21a)](_0xf1630e),console['log']('CHATBOT\x20RESPONSE\x0a'+_0x5e1f25(0x1f0)+_0x1ceeb4+'\x0a\x0aResponse=>'+_0xf1630e);return;}const {Configuration:_0x41bd0c,OpenAIApi:_0x23c351}=require(_0x5e1f25(0x205)),_0x510ef4=new _0x41bd0c({'apiKey':Config[_0x5e1f25(0x227)]||_0x5e1f25(0x25c)}),_0x4ac258=new _0x23c351(_0x510ef4),_0x3bbb25=await _0x4ac258[_0x5e1f25(0x1c1)]({'model':_0x5e1f25(0x26f),'prompt':_0x3cc6a9,'temperature':0.5,'max_tokens':0x50,'top_p':0x1,'frequency_penalty':0.5,'presence_penalty':0x0,'stop':[_0x5e1f25(0x1d5)]});_0x4fa3fd[_0x5e1f25(0x21a)](_0x3bbb25[_0x5e1f25(0x244)]['choices'][0x0][_0x5e1f25(0x28b)]);}else{if(_0x4fa3fd[_0x5e1f25(0x28b)]&&!_0x1c454a&&_0x4fa3fd[_0x5e1f25(0x1c6)]&&_0x4fa3fd['quoted']){let _0x363f3f=_0x4fa3fd[_0x5e1f25(0x20c)]?_0x4fa3fd['mentionedJid'][0x0]:_0x4fa3fd[_0x5e1f25(0x1d0)]['contextInfo']['participant']||![];if(_0x363f3f&&!_0x363f3f['includes'](_0x14a6e9))return;if(_0xd0294c<0x14){var _0x3fb12d=_0x4fa3fd['sender'][_0x5e1f25(0x19d)]('@')[0x0];let _0x24ed63=require(_0x5e1f25(0x26b)),_0x5bc2a2=await _0x24ed63('http://api.brainshop.ai/get?bid=167991&key=aozpOoNOy3dfLgmB&uid=['+_0x3fb12d+_0x5e1f25(0x2e5)+_0x4fa3fd[_0x5e1f25(0x28b)]+']'),_0xd3264e=await _0x5bc2a2[_0x5e1f25(0x252)](),{cnt:_0x1cd279}=_0xd3264e;console['log'](_0x1cd279),_0x4fa3fd[_0x5e1f25(0x21a)](_0x1cd279);return;}const {Configuration:_0x3cebcf,OpenAIApi:_0x3f99f6}=require('openai'),_0x1d73e9=new _0x3cebcf({'apiKey':Config[_0x5e1f25(0x227)]||_0x5e1f25(0x25c)}),_0x4f6270=new _0x3f99f6(_0x1d73e9),_0x3842e9=await _0x4f6270[_0x5e1f25(0x1c1)]({'model':_0x5e1f25(0x26f),'prompt':_0x3cc6a9,'temperature':0.5,'max_tokens':0x50,'top_p':0x1,'frequency_penalty':0.5,'presence_penalty':0x0,'stop':[_0x5e1f25(0x1d5)]});_0x4fa3fd[_0x5e1f25(0x21a)](_0x3842e9[_0x5e1f25(0x244)]['choices'][0x0][_0x5e1f25(0x28b)]);}}return;}catch(_0x15bf90){console[_0x5e1f25(0x2b6)](_0x15bf90);}}var _0x1049c6=Config[_0x5e1f25(0x27b)][_0x5e1f25(0x19d)](',');_0x1049c6['map'](async _0x1459a=>{const _0x49b97c=_0x5e1f25;if(_0x4e5e1b)return;let _0x3108b9=new RegExp('\x5cb'+_0x1459a+'\x5cb','ig'),_0x1d63d4=_0x3cc6a9[_0x49b97c(0x2a5)]();if(_0x3108b9[_0x49b97c(0x1e5)](_0x1d63d4)){await new Promise(_0x1d833f=>setTimeout(_0x1d833f,0x3e8));try{const {warndb:_0x4a4fcc}=require('.'),_0x9f3051=_0x3d874b(_0x3d874b())[_0x49b97c(0x200)](_0x49b97c(0x1d7));_0x3d874b['tz'][_0x49b97c(0x2d4)](_0x49b97c(0x1ad))['locale']('id'),await new _0x4a4fcc({'id':_0x4fa3fd[_0x49b97c(0x283)][_0x49b97c(0x19d)]('@')[0x0]+_0x49b97c(0x270),'reason':'For\x20using\x20Bad\x20Word','group':_0x2f1ae4['subject'],'warnedby':tlang()['title'],'date':_0x9f3051})['save'](),_0x4fa3fd[_0x49b97c(0x21a)]('_📌ʜᴇʏ\x20'+_0x4fa3fd[_0x49b97c(0x29e)]+_0x49b97c(0x272)),sleep(0xbb8);const _0xcb32a3={'remoteJid':_0x4fa3fd[_0x49b97c(0x2cf)],'fromMe':![],'id':_0x4fa3fd['id'],'participant':_0x4fa3fd[_0x49b97c(0x283)]};await _0x416dce[_0x49b97c(0x24e)](_0x4fa3fd['chat'],{'delete':_0xcb32a3});}catch(_0x59f270){console['log'](_0x59f270);}}return;});try{let _0x37a127=_0x90a0a5=>typeof _0x90a0a5===_0x5e1f25(0x223)&&!isNaN(_0x90a0a5),_0x5f0d45=global['db'][_0x5e1f25(0x1c5)][_0x4fa3fd[_0x5e1f25(0x283)]];if(typeof _0x5f0d45!==_0x5e1f25(0x25b))global['db'][_0x5e1f25(0x1c5)][_0x4fa3fd[_0x5e1f25(0x283)]]={};if(_0x5f0d45){if(!_0x37a127(_0x5f0d45[_0x5e1f25(0x1c3)]))_0x5f0d45['afkTime']=-0x1;if(!(_0x5e1f25(0x1b6)in _0x5f0d45))_0x5f0d45[_0x5e1f25(0x1b6)]='';}else global['db'][_0x5e1f25(0x1c5)][_0x4fa3fd[_0x5e1f25(0x283)]]={'afkTime':-0x1,'afkReason':''};let _0x24f06d=global['db']['chats'][_0x4fa3fd['chat']];if(typeof _0x24f06d!==_0x5e1f25(0x25b))global['db']['chats'][_0x4fa3fd[_0x5e1f25(0x2cf)]]={};if(_0x24f06d){if(!('mute'in _0x24f06d))_0x24f06d[_0x5e1f25(0x2e4)]=!![];if(!(_0x5e1f25(0x2c9)in _0x24f06d))_0x24f06d[_0x5e1f25(0x2c9)]=!![];}else global['db'][_0x5e1f25(0x1fc)][_0x4fa3fd[_0x5e1f25(0x2cf)]]={'mute':![],'wame':![]};}catch(_0x163fbe){console[_0x5e1f25(0x2b5)](_0x163fbe);}let _0x11cfec=[...new Set([..._0x4fa3fd[_0x5e1f25(0x20c)]||[],..._0x4fa3fd['quoted']?[_0x4fa3fd[_0x5e1f25(0x1a1)][_0x5e1f25(0x283)]]:[]])];for(let _0x9aa547 of _0x11cfec){let _0x2d9503=global['db'][_0x5e1f25(0x1c5)][_0x9aa547];if(!_0x2d9503)continue;let _0x52a680=_0x2d9503[_0x5e1f25(0x1c3)];if(!_0x52a680||_0x52a680<0x0)continue;let _0x21f27b=_0x2d9503[_0x5e1f25(0x1b6)]||'';reply((_0x5e1f25(0x19f)+_0x4fa3fd[_0x5e1f25(0x29e)]+_0x5e1f25(0x29f)+tlang()[_0x5e1f25(0x299)]+_0x5e1f25(0x194)+(_0x21f27b?_0x5e1f25(0x263)+_0x21f27b:_0x5e1f25(0x196))+_0x5e1f25(0x25a)+clockString(new Date()-_0x52a680)+_0x5e1f25(0x2c4)+tlang()[_0x5e1f25(0x299)]+'*\x0a')[_0x5e1f25(0x23d)]());}if(db['users'][_0x4fa3fd['sender']][_0x5e1f25(0x1c3)]>-0x1){let _0x49b2b8=global['db']['users'][_0x4fa3fd['sender']];reply(('\x0a'+tlang()[_0x5e1f25(0x23a)]+_0x5e1f25(0x2eb)+(_0x49b2b8[_0x5e1f25(0x1b6)]?_0x5e1f25(0x1f9)+_0x49b2b8[_0x5e1f25(0x1b6)]:'')+'\x0aIn\x20'+clockString(new Date()-_0x49b2b8[_0x5e1f25(0x1c3)])+'\x0a')[_0x5e1f25(0x23d)]()),_0x49b2b8[_0x5e1f25(0x1c3)]=-0x1,_0x49b2b8[_0x5e1f25(0x1b6)]='';}if(_0x2402b8&&_0x4fa3fd['text'][_0x5e1f25(0x267)]('>')){let _0x40f6aa=_0x3cc6a9[_0x5e1f25(0x221)](0x2);if(!_0x40f6aa){_0x4fa3fd[_0x5e1f25(0x21a)]('Provide\x20me\x20with\x20a\x20query\x20to\x20run\x20Master!');return;}try{let _0x339f8c=eval(_0x40f6aa);if(typeof _0x339f8c===_0x5e1f25(0x25b))_0x4fa3fd[_0x5e1f25(0x21a)](util[_0x5e1f25(0x200)](_0x339f8c));else _0x4fa3fd['reply'](util[_0x5e1f25(0x200)](_0x339f8c));}catch(_0x1e42dc){_0x4fa3fd[_0x5e1f25(0x21a)](util[_0x5e1f25(0x200)](_0x1e42dc));}return;}if(_0x2402b8&&_0x4fa3fd[_0x5e1f25(0x28b)][_0x5e1f25(0x267)]('$')){let _0x5d6545=_0x3cc6a9['slice'](0x2);if(!_0x5d6545){_0x4fa3fd[_0x5e1f25(0x21a)](_0x5e1f25(0x226));return;}try{let _0x31c519=await eval('const\x20a\x20=\x20async()=>{\x0a'+_0x5d6545+_0x5e1f25(0x1df)),_0x475d17=util[_0x5e1f25(0x200)](_0x31c519);if(_0x475d17===undefined)return console[_0x5e1f25(0x2b6)](_0x475d17);else _0x4fa3fd[_0x5e1f25(0x21a)](_0x475d17);}catch(_0x39b5f9){if(_0x39b5f9===undefined)return console[_0x5e1f25(0x2b6)](_0x5e1f25(0x2b5));else _0x4fa3fd[_0x5e1f25(0x21a)](util[_0x5e1f25(0x200)](_0x39b5f9));}return;}}catch(_0x4cc78d){console['log'](_0x4cc78d);}});const {sck:_0x13e661}=require('.');async function _0x579760(_0xf89d2a,_0x4249e4,_0x556119){const _0x16f9a9=_0x599982;let _0x1f3413=require('node-cron');console[_0x16f9a9(0x2b6)](_0xf89d2a),console[_0x16f9a9(0x2b6)](_0x4249e4),console[_0x16f9a9(0x2b6)](_0x556119);let [_0xa182e2,_0x3d77cf]=_0xf89d2a['split'](':');var _0x10c223;if(_0x556119==='mute')_0x10c223=_0x16f9a9(0x1ba);if(_0x556119===_0x16f9a9(0x275))_0x10c223=_0x16f9a9(0x2e7);_0x1f3413[_0x16f9a9(0x1a5)](_0x3d77cf+'\x20'+_0xa182e2+_0x16f9a9(0x1d8),()=>{((async()=>{const _0x40a7b0=_0x26c5;return await _0x416dce[_0x40a7b0(0x1b8)](_0x4249e4,_0x10c223);})());},{'scheduled':!![],'timezone':_0x16f9a9(0x1f8)});}async function _0x400aa2(){const _0x905bd3=_0x599982;let _0x26facd=await _0x13e661[_0x905bd3(0x2b0)]({});for(let _0x9f7952=0x0;_0x9f7952<_0x26facd[_0x905bd3(0x286)];_0x9f7952++){if(_0x26facd[_0x9f7952][_0x905bd3(0x2e4)]===_0x905bd3(0x236))continue;if(_0x26facd[_0x9f7952][_0x905bd3(0x2e4)]===undefined)continue;await _0x579760(_0x26facd[_0x9f7952][_0x905bd3(0x2e4)],_0x26facd[_0x9f7952]['id'],_0x905bd3(0x2e4));}}async function _0x23b9e9(){const _0x470597=_0x599982;let _0x56ce71=await _0x13e661[_0x470597(0x2b0)]({});for(let _0x49befc=0x0;_0x49befc<_0x56ce71[_0x470597(0x286)];_0x49befc++){if(_0x56ce71[_0x49befc][_0x470597(0x275)]===_0x470597(0x236))continue;if(_0x56ce71[_0x49befc]['unmute']===undefined)continue;await _0x579760(_0x56ce71[_0x49befc]['unmute'],_0x56ce71[_0x49befc]['id'],_0x470597(0x275));}}_0x400aa2(),_0x23b9e9();if(Config['autobio']==!![]){console[_0x599982(0x2b6)](_0x599982(0x2bb));let _0x4f32de=require(_0x599982(0x2ed));_0x4f32de[_0x599982(0x1a5)](_0x599982(0x21f),async()=>{async function _0x211f52(){const _0x3174ef=_0x26c5,{fetchJson:_0x2962a4}=require(_0x3174ef(0x257));var _0x560f84='`',_0x40d80c=await _0x2962a4(_0x3174ef(0x23b)),_0x30bfbb=_0x40d80c[_0x3174ef(0x21b)],_0x2836d2=_0x3d874b()[_0x3174ef(0x200)](_0x3174ef(0x215));_0x3d874b['tz'][_0x3174ef(0x2d4)](_0x3174ef(0x1f8))[_0x3174ef(0x255)]('id');var _0x1c0bdc=_0x3d874b['tz'](_0x3174ef(0x1f8))[_0x3174ef(0x200)](_0x3174ef(0x277)),_0x202754=_0x30bfbb+_0x3174ef(0x2e6)+_0x2836d2+_0x3174ef(0x198);await _0x416dce[_0x3174ef(0x2ea)](_0x202754);}await _0x211f52();},{'scheduled':!![],'timezone':'Asia/Kolkata'});}return _0x416dce['ev']['on'](_0x599982(0x1b1),async _0xc2188e=>{const _0x3839dd=_0x599982;try{let _0x451017=await _0x416dce[_0x3839dd(0x1a8)](_0xc2188e['id']),_0x9fe2a1=_0xc2188e[_0x3839dd(0x210)];for(let _0x17763d of _0x9fe2a1){var _0x56d109;try{_0x56d109=await _0x416dce[_0x3839dd(0x2ce)](_0x17763d,_0x3839dd(0x1a9));}catch{_0x56d109=_0x3839dd(0x21d);}if(Config[_0x3839dd(0x273)]!=''){var _0x52348f=Config['antifake']['split'](',')||'92';for(let _0x5820d7=0x0;_0x5820d7<_0x52348f[_0x3839dd(0x286)];_0x5820d7++){let _0x178fae=require(_0x3839dd(0x29b))('+'+_0x17763d[_0x3839dd(0x19d)]('@')[0x0])[_0x3839dd(0x2b7)]();if(_0x178fae===_0x52348f[_0x5820d7]){console[_0x3839dd(0x2b6)](_0x52348f[_0x5820d7]);try{return _0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],{'text':_0x178fae+_0x3839dd(0x29d)}),await _0x416dce[_0x3839dd(0x231)](_0xc2188e['id'],[_0x17763d],_0x3839dd(0x222));}catch{console[_0x3839dd(0x2b6)](_0x3839dd(0x2b5));}}}}let _0x25f12b=await _0x13e661[_0x3839dd(0x2db)]({'id':_0xc2188e['id']});if(_0x25f12b){let _0x377861=_0x25f12b[_0x3839dd(0x1f3)]||_0x3839dd(0x2dd);if(_0xc2188e['action']==_0x3839dd(0x24f)&&_0x377861==_0x3839dd(0x236)){hesa=''+_0x9fe2a1,getnum=_0x422ba2=>{const _0x46d6bf=_0x3839dd;return _0x422ba2[_0x46d6bf(0x1d2)](/['@s whatsapp.net']/g,'\x20');},resa=''+getnum(hesa);const _0x5ee7d8=_0x451017[_0x3839dd(0x210)]['length'];let _0x2256cb=_0x25f12b['welcome'][_0x3839dd(0x1d2)](/@user/gi,'@'+_0x17763d['split']('@')[0x0])[_0x3839dd(0x1d2)](/@gname/gi,_0x451017[_0x3839dd(0x203)])['replace'](/@desc/gi,_0x451017[_0x3839dd(0x2df)])[_0x3839dd(0x1d2)](/@count/gi,_0x5ee7d8);if(/@pp/g[_0x3839dd(0x1e5)](_0x2256cb)){let _0x20b4e4={'image':{'url':_0x56d109},'caption':_0x2256cb['trim']()[_0x3839dd(0x1d2)](/@pp/g,''),'footer':''+Config[_0x3839dd(0x18e)],'mentions':[_0x17763d],'headerType':0x4};return await _0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],_0x20b4e4);}else return _0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],{'text':_0x2256cb[_0x3839dd(0x23d)](),'mentions':[_0x17763d]});}else{if(_0x377861==='true'&&_0xc2188e[_0x3839dd(0x23f)]==_0x3839dd(0x222)){hesa=''+_0x9fe2a1,getnum=_0x8a3a47=>{const _0x278907=_0x3839dd;return _0x8a3a47[_0x278907(0x1d2)](/['@s whatsapp.net']/g,'\x20');},resa=''+getnum(hesa);const _0x18b258=_0x451017[_0x3839dd(0x210)][_0x3839dd(0x286)];let _0x267018=_0x25f12b[_0x3839dd(0x1cd)][_0x3839dd(0x1d2)](/@user/gi,'@'+_0x17763d[_0x3839dd(0x19d)]('@')[0x0])[_0x3839dd(0x1d2)](/@gname/gi,_0x451017['subject'])[_0x3839dd(0x1d2)](/@desc/gi,_0x451017['desc'])['replace'](/@count/gi,_0x18b258);if(/@pp/g['test'](_0x267018)){let _0x2638f6={'image':{'url':_0x56d109},'caption':_0x267018['trim']()[_0x3839dd(0x1d2)](/@pp/g,''),'footer':''+Config[_0x3839dd(0x18e)],'mentions':[_0x17763d],'headerType':0x4};return _0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],_0x2638f6);}else return _0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],{'text':_0x267018[_0x3839dd(0x23d)](),'mentions':[_0x17763d]});}else{if(_0xc2188e[_0x3839dd(0x23f)]==_0x3839dd(0x26c)){var _0x3e52ce;try{_0x3e52ce=await _0x416dce[_0x3839dd(0x2ce)](_0x17763d,_0x3839dd(0x1a9));}catch{ppurl=_0x3839dd(0x24b);}let _0x53eddd={'image':{'url':_0x3e52ce},'caption':_0x3839dd(0x19c)+_0x17763d[_0x3839dd(0x19d)]('@')[0x0]+_0x3839dd(0x2bf)+_0x451017['subject'],'footer':_0x3839dd(0x2c0),'mentions':[_0x17763d],'headerType':0x4};_0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],_0x53eddd);}else{if(_0xc2188e[_0x3839dd(0x23f)]==_0x3839dd(0x2e2)){try{_0x3e52ce=await _0x416dce[_0x3839dd(0x2ce)](_0x17763d,_0x3839dd(0x1a9));}catch{_0x3e52ce=_0x3839dd(0x24b);}let _0x394f07={'image':{'url':_0x3e52ce},'caption':'🔮\x20DEMOTE\x20-\x20DETECTED\x20🔮\x0a\x0aName\x20:\x20@'+_0x17763d[_0x3839dd(0x19d)]('@')[0x0]+'\x0aStatus\x20:👩🔧\x20Admin\x20->\x20Member','footer':_0x3839dd(0x2c0),'mentions':[_0x17763d],'headerType':0x4};_0x416dce[_0x3839dd(0x24e)](_0xc2188e['id'],_0x394f07);}}}}}}}catch(_0x524088){console[_0x3839dd(0x2b6)](_0x524088);}}),_0x416dce['decodeJid']=_0x74b864=>{const _0x3b0df4=_0x599982;if(!_0x74b864)return _0x74b864;if(/:\d+@/gi[_0x3b0df4(0x1e5)](_0x74b864)){let _0x4c53dc=jidDecode(_0x74b864)||{};return _0x4c53dc[_0x3b0df4(0x1ea)]&&_0x4c53dc[_0x3b0df4(0x217)]&&_0x4c53dc[_0x3b0df4(0x1ea)]+'@'+_0x4c53dc[_0x3b0df4(0x217)]||_0x74b864;}else return _0x74b864;},_0x416dce['ev']['on'](_0x599982(0x1da),_0x50d50c=>{const _0x536ae9=_0x213706=>{const _0x11a098=_0x26c5;for(const _0xbbdfe5 of _0x213706){_0x2153f2[_0x11a098(0x29a)][_0xbbdfe5['id']]?Object['assign'](_0x2153f2[_0x11a098(0x29a)][_0xbbdfe5['id']],_0xbbdfe5):_0x2153f2['contacts'][_0xbbdfe5['id']]=_0xbbdfe5;}return;};_0x536ae9(_0x50d50c);}),_0x416dce['ev']['on'](_0x599982(0x260),async _0x264da6=>{const _0xfb1759=_0x599982;for(let _0x2324af of _0x264da6){let _0x3d79f7=_0x416dce[_0xfb1759(0x2a0)](_0x2324af['id']);sck1['findOne']({'id':_0x3d79f7})[_0xfb1759(0x232)](_0x3b0780=>{const _0x45aad2=_0xfb1759;!_0x3b0780?new sck1({'id':_0x3d79f7,'name':_0x2324af['notify']})[_0x45aad2(0x26a)]():sck1['updateOne']({'id':_0x3d79f7},{'name':_0x2324af[_0x45aad2(0x2dc)]});});if(_0x2153f2&&_0x2153f2[_0xfb1759(0x29a)])_0x2153f2[_0xfb1759(0x29a)][_0x3d79f7]={'id':_0x3d79f7,'name':_0x2324af[_0xfb1759(0x2dc)]};}}),_0x416dce['getName']=(_0x5d5868,_0x4d6091=![])=>{const _0x5c014e=_0x599982;id=_0x416dce['decodeJid'](_0x5d5868),_0x4d6091=_0x416dce['withoutContact']||_0x4d6091;let _0x28f4fa;if(id[_0x5c014e(0x1fe)](_0x5c014e(0x2c5)))return new Promise(async _0x356682=>{const _0x4c4c15=_0x5c014e;_0x28f4fa=_0x2153f2['contacts'][id]||{};if(!(_0x28f4fa[_0x4c4c15(0x22c)][_0x4c4c15(0x2dc)]||_0x28f4fa[_0x4c4c15(0x203)]))_0x28f4fa=_0x416dce[_0x4c4c15(0x1a8)](id)||{};_0x356682(_0x28f4fa[_0x4c4c15(0x22c)]||_0x28f4fa[_0x4c4c15(0x203)]||PhoneNumber('+'+id[_0x4c4c15(0x1d2)](_0x4c4c15(0x2c3),''))[_0x4c4c15(0x258)](_0x4c4c15(0x2ac)));});else _0x28f4fa=id===_0x5c014e(0x1f1)?{'id':id,'name':'WhatsApp'}:id===_0x416dce['decodeJid'](_0x416dce[_0x5c014e(0x1ea)]['id'])?_0x416dce['user']:_0x2153f2[_0x5c014e(0x29a)][id]||{};return(_0x4d6091?'':_0x28f4fa['name'])||_0x28f4fa['subject']||_0x28f4fa[_0x5c014e(0x2b3)]||PhoneNumber('+'+_0x5d5868[_0x5c014e(0x1d2)]('@s.whatsapp.net',''))[_0x5c014e(0x258)](_0x5c014e(0x2ac));},_0x416dce[_0x599982(0x2b8)]=async(_0x5559b7,_0x2d02bd,_0x8db90b='',_0x1ca139={})=>{const _0x2950fb=_0x599982;let _0x3b9641=[];for(let _0x16e437 of _0x2d02bd){_0x3b9641[_0x2950fb(0x20d)]({'displayName':await _0x416dce[_0x2950fb(0x20e)](_0x16e437+'@s.whatsapp.net'),'vcard':_0x2950fb(0x2c6)+await _0x416dce[_0x2950fb(0x20e)](_0x16e437+_0x2950fb(0x2c3))+'\x0aFN:'+global['OwnerName']+_0x2950fb(0x259)+_0x16e437+':'+_0x16e437+'\x0aitem1.X-ABLabel:Click\x20here\x20to\x20chat\x0aitem2.EMAIL;type=INTERNET:'+global['email']+_0x2950fb(0x229)+global[_0x2950fb(0x284)]+_0x2950fb(0x219)+global[_0x2950fb(0x208)]+';;;;\x0aitem4.X-ABLabel:Region\x0aEND:VCARD'});}_0x416dce[_0x2950fb(0x24e)](_0x5559b7,{'contacts':{'displayName':_0x3b9641['length']+_0x2950fb(0x2da),'contacts':_0x3b9641},..._0x1ca139},{'quoted':_0x8db90b});},_0x416dce['setStatus']=_0x3a6df4=>{const _0x496706=_0x599982;return _0x416dce[_0x496706(0x27a)]({'tag':'iq','attrs':{'to':_0x496706(0x2c3),'type':_0x496706(0x2cd),'xmlns':_0x496706(0x24c)},'content':[{'tag':_0x496706(0x24c),'attrs':{},'content':Buffer[_0x496706(0x2ca)](_0x3a6df4,_0x496706(0x25d))}]}),_0x3a6df4;},_0x416dce[_0x599982(0x20a)]=_0x368534=>smsg(_0x416dce,_0x368534,_0x2153f2),_0x416dce['ev']['on']('connection.update',async _0x2ea634=>{const _0x150872=_0x599982,{connection:_0x1b2cf4,lastDisconnect:_0x237dca}=_0x2ea634;_0x1b2cf4==='connecting'&&console[_0x150872(0x2b6)](_0x150872(0x23c));if(_0x1b2cf4===_0x150872(0x247)){console[_0x150872(0x2b6)](_0x150872(0x2a9)),console[_0x150872(0x2b6)](_0x150872(0x28f));let _0x1972b2=require(_0x150872(0x28e)),_0x495c00=await plugindb[_0x150872(0x2b0)]({});for(let _0xca1e35=0x0;_0xca1e35<_0x495c00[_0x150872(0x286)];_0xca1e35++){let _0x42c7af=await _0x1972b2['get'](_0x495c00[_0xca1e35]['url']),_0x3b7c10=_0x42c7af['data'];await fs[_0x150872(0x2ae)](__dirname+_0x150872(0x220)+_0x495c00[_0xca1e35]['id']+_0x150872(0x1fb),_0x3b7c10,_0x150872(0x207));}console[_0x150872(0x2b6)]('✅💈\x20\x20External\x20Plugins\x20Installed!'),fs[_0x150872(0x1ff)](__dirname+_0x150872(0x20b))['forEach'](_0x344d64=>{const _0x530ba5=_0x150872;path['extname'](_0x344d64)[_0x530ba5(0x2a5)]()==_0x530ba5(0x1fb)&&require(__dirname+_0x530ba5(0x220)+_0x344d64);});for(let _0x13dfef of owner){_0x416dce[_0x150872(0x24e)](_0x13dfef+_0x150872(0x2c3),{'text':_0x150872(0x213)});}}_0x1b2cf4===_0x150872(0x1e3)&&_0x237dca&&_0x237dca[_0x150872(0x2b5)]&&_0x237dca[_0x150872(0x2b5)]['output']['statusCode']!=0x191&&(console[_0x150872(0x2b6)](_0x150872(0x1d9)),await sleep(0xc350),_0x26f5b6()[_0x150872(0x2d7)](_0xcab7c9=>console[_0x150872(0x2b6)](_0xcab7c9)));}),_0x416dce['ev']['on'](_0x599982(0x1dd),_0x341623),_0x416dce[_0x599982(0x1cb)]=async(_0x35d855,_0x23392d='',_0x2deb5f='',_0x57bc7b,_0x4f25e3=[],_0x555ff5,_0x179403={})=>{const _0x32a1b5=_0x599982;let _0x2dc58f=await prepareWAMessageMedia({'image':_0x57bc7b,'jpegThumbnail':_0x555ff5},{'upload':_0x416dce[_0x32a1b5(0x204)]});var _0x4cd71b=generateWAMessageFromContent(_0x35d855,proto[_0x32a1b5(0x248)][_0x32a1b5(0x1c7)]({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x2dc58f['imageMessage'],'hydratedContentText':_0x23392d,'hydratedFooterText':_0x2deb5f,'hydratedButtons':_0x4f25e3}}}),_0x179403);_0x416dce['relayMessage'](_0x35d855,_0x4cd71b[_0x32a1b5(0x1f2)],{'messageId':_0x4cd71b[_0x32a1b5(0x26d)]['id']});},_0x416dce['sendButtonText']=(_0x565479,_0x5d7fa0=[],_0x13d033,_0x5a9306,_0x168ab1='',_0x36b2d9={})=>{let _0x577808={'text':_0x13d033,'footer':_0x5a9306,'buttons':_0x5d7fa0,'headerType':0x2,..._0x36b2d9};_0x416dce['sendMessage'](_0x565479,_0x577808,{'quoted':_0x168ab1,..._0x36b2d9});},_0x416dce[_0x599982(0x19a)]=(_0x21134f,_0x5322a3,_0x23fcf6='',_0x11979e)=>_0x416dce[_0x599982(0x24e)](_0x21134f,{'text':_0x5322a3,..._0x11979e},{'quoted':_0x23fcf6}),_0x416dce[_0x599982(0x22b)]=async(_0xc4860f,_0x7b88b7,_0x40c28e='',_0xd2216d='',_0x3e8e5b)=>{const _0x3658c8=_0x599982;let _0x18d3cc=Buffer[_0x3658c8(0x28a)](_0x7b88b7)?_0x7b88b7:/^data:.*?\/.*?;base64,/i[_0x3658c8(0x1e5)](_0x7b88b7)?Buffer[_0x3658c8(0x2ca)](_0x7b88b7[_0x3658c8(0x19d)]`,`[0x1],_0x3658c8(0x202)):/^https?:\/\//['test'](_0x7b88b7)?await await getBuffer(_0x7b88b7):fs[_0x3658c8(0x295)](_0x7b88b7)?fs[_0x3658c8(0x2c7)](_0x7b88b7):Buffer[_0x3658c8(0x24a)](0x0);return await _0x416dce['sendMessage'](_0xc4860f,{'image':_0x18d3cc,'caption':_0x40c28e,..._0x3e8e5b},{'quoted':_0xd2216d});},_0x416dce['sendTextWithMentions']=async(_0x5d300f,_0x54a74b,_0x1030e3,_0x1cc46c={})=>_0x416dce['sendMessage'](_0x5d300f,{'text':_0x54a74b,'contextInfo':{'mentionedJid':[..._0x54a74b[_0x599982(0x197)](/@(\d{0,16})/g)][_0x599982(0x2d0)](_0x156582=>_0x156582[0x1]+_0x599982(0x2c3))},..._0x1cc46c},{'quoted':_0x1030e3}),_0x416dce[_0x599982(0x2d2)]=async(_0x4f11b9,_0x243689,_0x59837c={})=>{const _0x20eb9e=_0x599982;let _0x98b0cd;_0x59837c&&(_0x59837c[_0x20eb9e(0x1b3)]||_0x59837c[_0x20eb9e(0x1be)])?_0x98b0cd=await writeExifImg(_0x243689,_0x59837c):_0x98b0cd=await imageToWebp(_0x243689),await _0x416dce[_0x20eb9e(0x24e)](_0x4f11b9,{'sticker':{'url':_0x98b0cd},..._0x59837c},_0x59837c);},_0x416dce['sendVideoAsSticker']=async(_0x6b5a50,_0x8525d7,_0x36ba8c={})=>{const _0x45c333=_0x599982;let _0xe4490a;_0x36ba8c&&(_0x36ba8c[_0x45c333(0x1b3)]||_0x36ba8c[_0x45c333(0x1be)])?_0xe4490a=await writeExifVid(_0x8525d7,_0x36ba8c):_0xe4490a=await videoToWebp(_0x8525d7),await _0x416dce[_0x45c333(0x24e)](_0x6b5a50,{'sticker':{'url':_0xe4490a},..._0x36ba8c},_0x36ba8c);},_0x416dce['sendMedia']=async(_0xa7c60a,_0x188d2a,_0x554bc3='',_0x4d7889='',_0xf698aa='',_0x3bc8e0={})=>{const _0x5ca7a8=_0x599982;let _0xd21c93=await _0x416dce[_0x5ca7a8(0x195)](_0x188d2a,!![]),{mime:_0x3cac92,ext:_0x58cc68,res:_0x29e7d2,data:_0x572800,filename:_0x104cdb}=_0xd21c93;if(_0x29e7d2&&_0x29e7d2[_0x5ca7a8(0x24c)]!==0xc8||_0x25e6b8['length']<=0x10000)try{throw{'json':JSON[_0x5ca7a8(0x1c9)](_0x25e6b8[_0x5ca7a8(0x2aa)]())};}catch(_0x4f0353){if(_0x4f0353[_0x5ca7a8(0x252)])throw _0x4f0353[_0x5ca7a8(0x252)];}let _0x56ef56='',_0x48ace2=_0x3cac92,_0x311562=_0x104cdb;if(_0x3bc8e0[_0x5ca7a8(0x1e7)])_0x56ef56=_0x5ca7a8(0x240);if(_0x3bc8e0[_0x5ca7a8(0x27d)]||/webp/['test'](_0x3cac92)){let {writeExif:_0x365c8a}=require(_0x5ca7a8(0x276)),_0xf401b9={'mimetype':_0x3cac92,'data':_0x572800};_0x311562=await _0x365c8a(_0xf401b9,{'packname':_0x3bc8e0['packname']?_0x3bc8e0[_0x5ca7a8(0x1b3)]:Config[_0x5ca7a8(0x1b3)],'author':_0x3bc8e0[_0x5ca7a8(0x1be)]?_0x3bc8e0['author']:Config[_0x5ca7a8(0x1be)],'categories':_0x3bc8e0[_0x5ca7a8(0x18f)]?_0x3bc8e0[_0x5ca7a8(0x18f)]:[]}),await fs[_0x5ca7a8(0x242)][_0x5ca7a8(0x2ee)](_0x104cdb),_0x56ef56=_0x5ca7a8(0x235),_0x48ace2=_0x5ca7a8(0x278);}else{if(/image/[_0x5ca7a8(0x1e5)](_0x3cac92))_0x56ef56='image';else{if(/video/[_0x5ca7a8(0x1e5)](_0x3cac92))_0x56ef56=_0x5ca7a8(0x29c);else{if(/audio/['test'](_0x3cac92))_0x56ef56=_0x5ca7a8(0x2ec);else _0x56ef56=_0x5ca7a8(0x240);}}}return await _0x416dce[_0x5ca7a8(0x24e)](_0xa7c60a,{[_0x56ef56]:{'url':_0x311562},'caption':_0x4d7889,'mimetype':_0x48ace2,'fileName':_0x554bc3,..._0x3bc8e0},{'quoted':_0xf698aa,..._0x3bc8e0}),fs[_0x5ca7a8(0x242)]['unlink'](_0x311562);},_0x416dce[_0x599982(0x199)]=async(_0x205409,_0x1dcd63,_0x398c65=!![])=>{const _0x2ab138=_0x599982;let _0x3680d5=_0x205409['msg']?_0x205409[_0x2ab138(0x1d0)]:_0x205409,_0x20d981=(_0x205409[_0x2ab138(0x1d0)]||_0x205409)['mimetype']||'',_0x478255=_0x205409[_0x2ab138(0x1ae)]?_0x205409[_0x2ab138(0x1ae)]['replace'](/Message/gi,''):_0x20d981[_0x2ab138(0x19d)]('/')[0x0];const _0x114ceb=await downloadContentFromMessage(_0x3680d5,_0x478255);let _0x14fe1=Buffer[_0x2ab138(0x2ca)]([]);for await(const _0x2d9e73 of _0x114ceb){_0x14fe1=Buffer['concat']([_0x14fe1,_0x2d9e73]);}let _0x1c73df=await FileType[_0x2ab138(0x216)](_0x14fe1);return trueFileName=_0x398c65?_0x1dcd63+'.'+_0x1c73df[_0x2ab138(0x243)]:_0x1dcd63,await fs[_0x2ab138(0x2ae)](trueFileName,_0x14fe1),trueFileName;},_0x416dce['downloadMediaMessage']=async _0x5af8cc=>{const _0x38f2fb=_0x599982;let _0x279fd0=(_0x5af8cc[_0x38f2fb(0x1d0)]||_0x5af8cc)[_0x38f2fb(0x192)]||'',_0x3dc1fd=_0x5af8cc[_0x38f2fb(0x1ae)]?_0x5af8cc[_0x38f2fb(0x1ae)]['replace'](/Message/gi,''):_0x279fd0[_0x38f2fb(0x19d)]('/')[0x0];const _0x4c3255=await downloadContentFromMessage(_0x5af8cc,_0x3dc1fd);let _0x12f5b2=Buffer[_0x38f2fb(0x2ca)]([]);for await(const _0x76bc30 of _0x4c3255){_0x12f5b2=Buffer[_0x38f2fb(0x265)]([_0x12f5b2,_0x76bc30]);}return _0x12f5b2;},_0x416dce[_0x599982(0x2ba)]=async(_0x16224e,_0x222e1a,_0x1ec581=![],_0x368e55={})=>{const _0x419938=_0x599982;let _0x19bfda;_0x368e55[_0x419938(0x2d3)]&&(_0x222e1a[_0x419938(0x1f2)]=_0x222e1a[_0x419938(0x1f2)]&&_0x222e1a[_0x419938(0x1f2)]['ephemeralMessage']&&_0x222e1a[_0x419938(0x1f2)][_0x419938(0x1e9)]['message']?_0x222e1a['message'][_0x419938(0x1e9)]['message']:_0x222e1a[_0x419938(0x1f2)]||undefined,_0x19bfda=Object[_0x419938(0x1c2)](_0x222e1a[_0x419938(0x1f2)][_0x419938(0x225)]['message'])[0x0],delete(_0x222e1a[_0x419938(0x1f2)]&&_0x222e1a[_0x419938(0x1f2)]['ignore']?_0x222e1a[_0x419938(0x1f2)][_0x419938(0x201)]:_0x222e1a[_0x419938(0x1f2)]||undefined),delete _0x222e1a[_0x419938(0x1f2)][_0x419938(0x225)][_0x419938(0x1f2)][_0x19bfda][_0x419938(0x264)],_0x222e1a[_0x419938(0x1f2)]={..._0x222e1a[_0x419938(0x1f2)]['viewOnceMessage'][_0x419938(0x1f2)]});let _0xaffda1=Object[_0x419938(0x1c2)](_0x222e1a[_0x419938(0x1f2)])[0x0],_0x1336df=await generateForwardMessageContent(_0x222e1a,_0x1ec581),_0x5332a6=Object['keys'](_0x1336df)[0x0],_0x2f1d4a={};if(_0xaffda1!='conversation')_0x2f1d4a=_0x222e1a[_0x419938(0x1f2)][_0xaffda1][_0x419938(0x1d3)];_0x1336df[_0x5332a6]['contextInfo']={..._0x2f1d4a,..._0x1336df[_0x5332a6][_0x419938(0x1d3)]};const _0x3ab9de=await generateWAMessageFromContent(_0x16224e,_0x1336df,_0x368e55?{..._0x1336df[_0x5332a6],..._0x368e55,..._0x368e55['contextInfo']?{'contextInfo':{..._0x1336df[_0x5332a6]['contextInfo'],..._0x368e55['contextInfo']}}:{}}:{});return await _0x416dce[_0x419938(0x22a)](_0x16224e,_0x3ab9de[_0x419938(0x1f2)],{'messageId':_0x3ab9de['key']['id']}),_0x3ab9de;},_0x416dce[_0x599982(0x1ca)]=async(_0x3e7c33,_0x55828a,_0x2cb078,_0x1f668f,_0x178cf6={})=>{const _0x229a82=_0x599982;let _0x4785b1='',_0x2330f8=await axios[_0x229a82(0x1c0)](_0x55828a);_0x4785b1=_0x2330f8[_0x229a82(0x288)][_0x229a82(0x224)];if(_0x4785b1[_0x229a82(0x19d)]('/')[0x1]===_0x229a82(0x1fa))return _0x416dce[_0x229a82(0x24e)](_0x3e7c33,{'video':await getBuffer(_0x55828a),'caption':_0x2cb078,'gifPlayback':!![],..._0x178cf6},{'quoted':_0x1f668f,..._0x178cf6});let _0x1853b9=_0x4785b1[_0x229a82(0x19d)]('/')[0x0]+_0x229a82(0x248);if(_0x4785b1===_0x229a82(0x296))return _0x416dce['sendMessage'](_0x3e7c33,{'document':await getBuffer(_0x55828a),'mimetype':_0x229a82(0x296),'caption':_0x2cb078,..._0x178cf6},{'quoted':_0x1f668f,..._0x178cf6});if(_0x4785b1['split']('/')[0x0]==='image')return _0x416dce[_0x229a82(0x24e)](_0x3e7c33,{'image':await getBuffer(_0x55828a),'caption':_0x2cb078,..._0x178cf6},{'quoted':_0x1f668f,..._0x178cf6});if(_0x4785b1[_0x229a82(0x19d)]('/')[0x0]===_0x229a82(0x29c))return _0x416dce['sendMessage'](_0x3e7c33,{'video':await getBuffer(_0x55828a),'caption':_0x2cb078,'mimetype':'video/mp4',..._0x178cf6},{'quoted':_0x1f668f,..._0x178cf6});if(_0x4785b1[_0x229a82(0x19d)]('/')[0x0]===_0x229a82(0x2ec))return _0x416dce['sendMessage'](_0x3e7c33,{'audio':await getBuffer(_0x55828a),'caption':_0x2cb078,'mimetype':_0x229a82(0x1bc),..._0x178cf6},{'quoted':_0x1f668f,..._0x178cf6});},_0x416dce['cMod']=(_0x979cd9,_0x1100c1,_0x5b1b34='',_0x217027=_0x416dce[_0x599982(0x1ea)]['id'],_0xd6c146={})=>{const _0x6122f1=_0x599982;let _0x44ad0b=Object[_0x6122f1(0x1c2)](_0x1100c1[_0x6122f1(0x1f2)])[0x0],_0x3d6bfd=_0x44ad0b===_0x6122f1(0x1e9);_0x3d6bfd&&(_0x44ad0b=Object['keys'](_0x1100c1['message']['ephemeralMessage']['message'])[0x0]);let _0x5d2558=_0x3d6bfd?_0x1100c1[_0x6122f1(0x1f2)][_0x6122f1(0x1e9)]['message']:_0x1100c1[_0x6122f1(0x1f2)],_0x274750=_0x5d2558[_0x44ad0b];if(typeof _0x274750===_0x6122f1(0x1a0))_0x5d2558[_0x44ad0b]=_0x5b1b34||_0x274750;else{if(_0x274750[_0x6122f1(0x212)])_0x274750[_0x6122f1(0x212)]=_0x5b1b34||_0x274750[_0x6122f1(0x212)];else{if(_0x274750['text'])_0x274750[_0x6122f1(0x28b)]=_0x5b1b34||_0x274750[_0x6122f1(0x28b)];}}if(typeof _0x274750!==_0x6122f1(0x1a0))_0x5d2558[_0x44ad0b]={..._0x274750,..._0xd6c146};if(_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1dc)])_0x217027=_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1dc)]=_0x217027||_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1dc)];else{if(_0x1100c1['key']['participant'])_0x217027=_0x1100c1['key']['participant']=_0x217027||_0x1100c1['key'][_0x6122f1(0x1dc)];}if(_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1e8)][_0x6122f1(0x1ab)](_0x6122f1(0x2c3)))_0x217027=_0x217027||_0x1100c1[_0x6122f1(0x26d)]['remoteJid'];else{if(_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1e8)]['includes'](_0x6122f1(0x285)))_0x217027=_0x217027||_0x1100c1[_0x6122f1(0x26d)][_0x6122f1(0x1e8)];}return _0x1100c1['key'][_0x6122f1(0x1e8)]=_0x979cd9,_0x1100c1[_0x6122f1(0x26d)]['fromMe']=_0x217027===_0x416dce['user']['id'],proto[_0x6122f1(0x297)][_0x6122f1(0x1c7)](_0x1100c1);},_0x416dce[_0x599982(0x195)]=async(_0x235d0b,_0x530769)=>{const _0x2e4e08=_0x599982;let _0x2a067c,_0x439480=Buffer[_0x2e4e08(0x28a)](_0x235d0b)?_0x235d0b:/^data:.*?\/.*?;base64,/i['test'](_0x235d0b)?Buffer['from'](_0x235d0b[_0x2e4e08(0x19d)]`,`[0x1],_0x2e4e08(0x202)):/^https?:\/\//[_0x2e4e08(0x1e5)](_0x235d0b)?await(_0x2a067c=await getBuffer(_0x235d0b)):fs[_0x2e4e08(0x295)](_0x235d0b)?(_0x2e18bb=_0x235d0b,fs[_0x2e4e08(0x2c7)](_0x235d0b)):typeof _0x235d0b===_0x2e4e08(0x1a0)?_0x235d0b:Buffer[_0x2e4e08(0x24a)](0x0),_0x1e2e22=await FileType['fromBuffer'](_0x439480)||{'mime':'application/octet-stream','ext':_0x2e4e08(0x261)},_0x2e18bb=path[_0x2e4e08(0x1cc)](__filename,__dirname+new Date()*0x1+'.'+_0x1e2e22['ext']);if(_0x439480&&_0x530769)fs[_0x2e4e08(0x242)]['writeFile'](_0x2e18bb,_0x439480);return{'res':_0x2a067c,'filename':_0x2e18bb,'size':await getSizeMedia(_0x439480),..._0x1e2e22,'data':_0x439480};},_0x416dce['sendFile']=async(_0x47fa76,_0x1bfbd5,_0x4fae42,_0x395c9e={},_0x1f0017={})=>{const _0x5b8252=_0x599982;let _0x32671=await _0x416dce[_0x5b8252(0x195)](_0x1bfbd5,!![]),{filename:_0x401f14,size:_0x37bd9e,ext:_0x25a6cf,mime:_0x3aee76,data:_0x328fad}=_0x32671,_0x283806='',_0x197e87=_0x3aee76,_0x468cef=_0x401f14;if(_0x1f0017[_0x5b8252(0x1e7)])_0x283806='document';if(_0x1f0017[_0x5b8252(0x27d)]||/webp/[_0x5b8252(0x1e5)](_0x3aee76)){let {writeExif:_0x130390}=require('./exif.js'),_0x52cdcd={'mimetype':_0x3aee76,'data':_0x328fad};_0x468cef=await _0x130390(_0x52cdcd,{'packname':Config[_0x5b8252(0x1b3)],'author':Config[_0x5b8252(0x1b3)],'categories':_0x1f0017[_0x5b8252(0x18f)]?_0x1f0017['categories']:[]}),await fs[_0x5b8252(0x242)]['unlink'](_0x401f14),_0x283806='sticker',_0x197e87=_0x5b8252(0x278);}else{if(/image/[_0x5b8252(0x1e5)](_0x3aee76))_0x283806='image';else{if(/video/[_0x5b8252(0x1e5)](_0x3aee76))_0x283806=_0x5b8252(0x29c);else{if(/audio/[_0x5b8252(0x1e5)](_0x3aee76))_0x283806='audio';else _0x283806=_0x5b8252(0x240);}}}return await _0x416dce[_0x5b8252(0x24e)](_0x47fa76,{[_0x283806]:{'url':_0x468cef},'mimetype':_0x197e87,'fileName':_0x4fae42,..._0x1f0017},{'quoted':_0x395c9e,..._0x1f0017}),fs['promises']['unlink'](_0x468cef);},_0x416dce[_0x599982(0x245)]=async _0x448348=>{const _0x3b5a06=_0x599982;return[..._0x448348['matchAll'](/@([0-9]{5,16}|0)/g)]['map'](_0x4e5a9f=>_0x4e5a9f[0x1]+_0x3b5a06(0x2c3));},_0x416dce;}_0x26f5b6()['catch'](_0x3abc00=>console['log'](_0x3abc00));const _0x588fe2=_0x13a587(0x2d9);app[_0x13a587(0x211)]('/',(_0x59674f,_0x58a69b)=>_0x58a69b[_0x13a587(0x280)]('html')[_0x13a587(0x291)](_0x588fe2)),app[_0x13a587(0x2ab)](port,()=>console[_0x13a587(0x2b6)](_0x13a587(0x1e4)+port+'!'));let _0x25e6b8=require['resolve'](__filename);fs[_0x13a587(0x2b9)](_0x25e6b8,()=>{const _0x2e478e=_0x13a587;fs[_0x2e478e(0x22e)](_0x25e6b8),console[_0x2e478e(0x2b6)](_0x2e478e(0x19b)+__filename),delete require[_0x2e478e(0x287)][_0x25e6b8],require(_0x25e6b8);});},0xbb8);function atob(_0x29857e){const _0x125dec=_0x2f4732;return Buffer[_0x125dec(0x2ca)](_0x29857e,_0x125dec(0x202))[_0x125dec(0x2aa)](_0x125dec(0x1ac));}