forked from TURBOHYPER/Toxic-Alexa_V3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
24 lines (23 loc) · 38.4 KB
/
index.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
//════════════════════════════//
//If you want to recode, reupload
//or copy the codes/script,
//pls give credit
//no credit? i will take action immediately
//© 2022 Turbo Bot Inc. Toxic Alexa Md
//Thank you to Lord Buddha, Family and Myself
//════════════════════════════//
//recode kar ke youtube pe upload kar rhe ya
//codes copy kar ke apne script me dal rhe
//hai to, description me Turbo ka yt channel
// ka link paste kr dena as a cradit or github
//repo me bhi tag kardena baki jo
//bhi karna hai apki marzi, thank you!🦄
//════════════════════════════//
//If you recode and uploading on your channel
//or copy pasting the codes in ur script,
//i give permission to do as long as you
//put Turbo youtube channel link in the video
//description and tag me on githuh repo,
//thank you🦄
//════════════════════════════//
const _0x391822=_0x4c4d;function _0x4940(){const _0x13efb5=['verifiedName','file-type','silent','split','Toxic-Alexa_V3','connectionClosed','\x0aFN:','packname','offer','video/mp4','public','user','isBuffer','announce','aqua','headers','from','./lib/exif','77466MZgIqQ','writeFileSync','fromBuffer','ownername','string','viewOnceMessage','sendMedia','DD/MM/YYYY','send5ButGif','remoteJid','application/pdf','chalk','imageMessage','729749puIQOa','getFile','sendMessage','groups.update','\x0a\x20\x20\x20│✑\x20\x20𝗠𝗲𝗺𝗯𝗲𝗿\x20:\x20\x0a\x20\x20\x20│✑\x20','path','🦄\x20GITHUB:\x20TURBOHYPER\x20','fromMe','1069758afNwZw','sendVideo','notify','remove','bind','682099FzdxFw','image/webp','\x0aitem3.X-ABLabel:GitHub\x0aitem4.ADR:;;','replace','ytname','send5ButVid','decodeJid','./lib/sticker.js','\x0a\x20\x20\x20└───────────────┈\x20⳹','ext','updateBlockStatus','Turbo','utf-8','th\x0a\x20\x20\x20│✑\x20\x20𝗝𝗼𝗶𝗻𝗲𝗱\x20:\x20\x0a\x20\x20\x20│✑\x20','profilePictureUrl','includes','https://telegra.ph/file/3983c55ac7f3ebea225d3.jpg','./lib/myfunc','participants','sendFile','creds.update','1157990KDCYbE','6MamkRz','contacts.update','Pagga','concat','send5ButLoc','international','type','map','redBright','send5ButImg','mimetype','@adiwajshing/baileys','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20group\x20has\x20been\x20closed\x20by\x20admin,\x20Now\x20only\x20admin\x20can\x20send\x20messages\x20!','connection.update','wkwkwk','asSticker','matchAll','msg','Unknown\x20DisconnectReason:\x20','Device\x20Logged\x20Out,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again.','white','Connection\x20TimedOut,\x20Reconnecting...','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','Toxic-Alexa\x20Is\x20Online...','sendImage','startsWith','restrict','.json','sendListMsg','writeFile','caption','setStatus','push','downloadMediaMessage','query','18599gjzByx','connectionLost','status','\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗟𝗲𝗳𝘁\x20\x0a\x20\x20\x20│✑\x20',';;;;\x0aitem4.X-ABLabel:Region\x0aEND:VCARD','./lib/color','1095272pnxPOM','Message','length','sendContact','close','sendFileUrl','mediumseagreen','Subscribe\x20Turbo\x20Mods','ignore','log','group-participants.update','I\x20Wrote\x20This\x20Script\x20By\x20Myself!','contextInfo','content-type','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','parse','relayMessage','48CIplIo','loggedOut','send5ButMsg','\x0aitem2.X-ABLabel:YouTube\x0aitem3.URL:','video','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','error','messages','Thanks\x20For\x20Using\x20Toxic\x20Alexa','participant','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20info\x20has\x20been\x20restricted,\x20Now\x20only\x20admin\x20can\x20edit\x20group\x20info\x20!','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','promises','https://instagram.com/toxic-turbo777','mtype','moment-timezone','location','getName','awesome-phonenumber','contacts','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20info\x20has\x20been\x20opened,\x20Now\x20participants\x20can\x20edit\x20group\x20info\x20!','\x20\x20🦁Turbo\x20Mods\x20Inc.\x202022🦁','waUploadToServer','0@s.whatsapp.net','text','call-creator','server','WebMessageInfo','alloc','downloadAndSaveMediaMessage','sendVideoAsSticker','CB:call','unlink','status@broadcast','child','image','./Turbo','Bug?\x20Error?\x20Suggestion?\x20Talk\x20to\x20developer:','pink','𝗧𝚯𝗫𝗜𝗖\x20𝗧𝗨𝗥𝗕𝚯','output','child_process','message','magenta','@s.whatsapp.net','Asia/Kolkata','2PIFozB','asDocument','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Subject\x20has\x20been\x20changed\x20to\x20*','994403219940-1631515755@g.us','groupMetadata','\x20Contact','WhatsApp','content','floor','existsSync','./TurboMedia/theme/turbo.xlsx','silver','Connection\x20closed,\x20reconnecting....','statusCode','2176Lkvdhu','attrs','keys','red','connectionReplaced','key','cMod','ephemeralMessage','subject','author','videoMessage','\x20Updated','sendAudio','document','sendImageAsSticker','test','watchFile','block','.bin','Welcome\x20Back\x20Owner!\x20Hope\x20You\x20Doing\x20Well~','default','conversation','getNumber','json','exit','set','sendText','BAE5','add','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20group\x20has\x20been\x20opened\x20by\x20admin,\x20Now\x20participants\x20can\x20send\x20messages\x20!','cyan','fromObject','\x0aitem1.TEL;waid=','\x0aitem1.X-ABLabel:Click\x20here\x20to\x20chat\x0aitem2.EMAIL;type=INTERNET:','th\x0a\x20\x20\x20│✑\x20\x20𝗧𝗶𝗺𝗲\x20:\x20\x0a\x20\x20\x20│✑\x20\x20','restartRequired','withoutContact','sendButtonText','name','base64','yellow','205TrvjUJ','./config.js','copyNForward','badSession','application/octet-stream','@broadcast','categories','@g.us','audio','readFileSync','𝗧𝚯𝗫𝗜𝗖\x20₪\x20𝚫𝗟𝗘𝗫𝚫','HH:mm:ss','\x0a✨\x20YT\x20CHANNEL:\x20TurboMods\x20','format','action'];_0x4940=function(){return _0x13efb5;};return _0x4940();}(function(_0x7e98b6,_0x983375){const _0x5737da=_0x4c4d,_0x4ecc06=_0x7e98b6();while(!![]){try{const _0xc7f6cd=parseInt(_0x5737da(0x205))/0x1*(parseInt(_0x5737da(0x290))/0x2)+-parseInt(_0x5737da(0x228))/0x3*(-parseInt(_0x5737da(0x251))/0x4)+-parseInt(_0x5737da(0x1d7))/0x5*(parseInt(_0x5737da(0x1f8))/0x6)+-parseInt(_0x5737da(0x24b))/0x7*(parseInt(_0x5737da(0x29e))/0x8)+parseInt(_0x5737da(0x20d))/0x9+parseInt(_0x5737da(0x227))/0xa+-parseInt(_0x5737da(0x212))/0xb*(-parseInt(_0x5737da(0x262))/0xc);if(_0xc7f6cd===_0x983375)break;else _0x4ecc06['push'](_0x4ecc06['shift']());}catch(_0x5a2e10){_0x4ecc06['push'](_0x4ecc06['shift']());}}}(_0x4940,0x7c07b),require(_0x391822(0x1d8)));const {default:TurboConnect,useSingleFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto}=require(_0x391822(0x233)),{state,saveState}=useSingleFileAuthState('./'+sessionName+_0x391822(0x243)),pino=require('pino'),fs=require('fs'),chalk=require(_0x391822(0x203)),FileType=require(_0x391822(0x1e7)),path=require(_0x391822(0x20a)),CFonts=require('cfonts'),{exec,spawn,execSync}=require(_0x391822(0x28b)),moment=require(_0x391822(0x271)),PhoneNumber=require(_0x391822(0x274)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x391822(0x1f7)),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,await,sleep}=require(_0x391822(0x223)),figlet=require('figlet'),{color}=require(_0x391822(0x250)),store=makeInMemoryStore({'logger':pino()[_0x391822(0x284)]({'level':_0x391822(0x1e8),'stream':'store'})});function _0x4c4d(_0x54d277,_0x5d9ea3){const _0x4940d6=_0x4940();return _0x4c4d=function(_0x4c4d05,_0x39f4ba){_0x4c4d05=_0x4c4d05-0x1d6;let _0x457edf=_0x4940d6[_0x4c4d05];return _0x457edf;},_0x4c4d(_0x54d277,_0x5d9ea3);}async function startTurbo(){const _0x1d20f9=_0x391822;console['log'](color(figlet['textSync'](_0x1d20f9(0x1ea),{'font':_0x1d20f9(0x22a),'horizontalLayout':_0x1d20f9(0x2b2),'vertivalLayout':_0x1d20f9(0x2b2),'width':0x50,'whitespaceBreak':!![]}),_0x1d20f9(0x1d6))),console[_0x1d20f9(0x25a)](color(_0x1d20f9(0x1e3),_0x1d20f9(0x29b))),console['log'](color(_0x1d20f9(0x20b),_0x1d20f9(0x29b))),console['log'](color('🫂\x20WA\x20NUMBER:\x20+916380260672\x20','silver')),console[_0x1d20f9(0x25a)](color(_0x1d20f9(0x277),_0x1d20f9(0x257))),console[_0x1d20f9(0x25a)](color('🌹',_0x1d20f9(0x2a1)),color(_0x1d20f9(0x25c),_0x1d20f9(0x1d6))),console['log'](color('💖',_0x1d20f9(0x2a1)),color('Source\x20Code\x20Version:\x203.0',_0x1d20f9(0x1f4))),console[_0x1d20f9(0x25a)](color('👀',_0x1d20f9(0x2a1)),color(_0x1d20f9(0x287),'aqua')),console[_0x1d20f9(0x25a)](color('🌊',_0x1d20f9(0x2bc)),color('https://wa.me/916380260672')),console[_0x1d20f9(0x25a)](color('🔥',_0x1d20f9(0x2bc)),color(_0x1d20f9(0x23f),_0x1d20f9(0x288))),console['log'](color('😘',_0x1d20f9(0x2bc)),color(_0x1d20f9(0x2b1),_0x1d20f9(0x28d))),console[_0x1d20f9(0x25a)](color('🙂',_0x1d20f9(0x2a1)),color(_0x1d20f9(0x26a),_0x1d20f9(0x23c)));let {version:_0x134525,isLatest:_0x8d146d}=await fetchLatestBaileysVersion();const _0x2f13b0=TurboConnect({'logger':pino({'level':'silent'}),'printQRInTerminal':!![],'browser':[_0x1d20f9(0x258),'Safari','1.0.0'],'auth':state,'version':_0x134525});store[_0x1d20f9(0x211)](_0x2f13b0['ev']),_0x2f13b0['ws']['on'](_0x1d20f9(0x281),async _0x3aac95=>{const _0x3a9071=_0x1d20f9,_0x135d03=_0x3aac95[_0x3a9071(0x297)][0x0][_0x3a9071(0x29f)][_0x3a9071(0x27b)];if(_0x3aac95[_0x3a9071(0x297)][0x0]['tag']==_0x3a9071(0x1ee)){let _0x39ff90=await _0x2f13b0[_0x3a9071(0x254)](_0x135d03,global['owner']);_0x2f13b0['sendMessage'](_0x135d03,{'text':'Automatic\x20Block\x20System!\x0aDon\x27t\x20Call\x20Bot!\x0aPlease\x20Ask\x20Or\x20Contact\x20The\x20Owner\x20To\x20Unblock\x20You!'},{'quoted':_0x39ff90}),await sleep(0x1f40),await _0x2f13b0[_0x3a9071(0x21c)](_0x135d03,_0x3a9071(0x2af));}}),_0x2f13b0['ev']['on']('messages.upsert',async _0x4f5fdb=>{const _0x5ee2a2=_0x1d20f9;try{mek=_0x4f5fdb[_0x5ee2a2(0x269)][0x0];if(!mek[_0x5ee2a2(0x28c)])return;mek[_0x5ee2a2(0x28c)]=Object['keys'](mek[_0x5ee2a2(0x28c)])[0x0]===_0x5ee2a2(0x2a5)?mek[_0x5ee2a2(0x28c)]['ephemeralMessage']['message']:mek[_0x5ee2a2(0x28c)];if(mek[_0x5ee2a2(0x2a3)]&&mek[_0x5ee2a2(0x2a3)][_0x5ee2a2(0x201)]===_0x5ee2a2(0x283))return;if(!_0x2f13b0[_0x5ee2a2(0x1f0)]&&!mek[_0x5ee2a2(0x2a3)][_0x5ee2a2(0x20c)]&&_0x4f5fdb[_0x5ee2a2(0x22e)]===_0x5ee2a2(0x20f))return;if(mek[_0x5ee2a2(0x2a3)]['id'][_0x5ee2a2(0x241)](_0x5ee2a2(0x2b9))&&mek[_0x5ee2a2(0x2a3)]['id'][_0x5ee2a2(0x253)]===0x10)return;m=smsg(_0x2f13b0,mek,store),require(_0x5ee2a2(0x286))(_0x2f13b0,m,_0x4f5fdb,store);}catch(_0x166785){console[_0x5ee2a2(0x25a)](_0x166785);}}),_0x2f13b0['ev']['on'](_0x1d20f9(0x208),async _0x940561=>{const _0x5e704d=_0x1d20f9;try{ppgc=await _0x2f13b0[_0x5e704d(0x220)](_0x940561[0x0]['id'],_0x5e704d(0x285));}catch{ppgc=_0x5e704d(0x222);}let _0x3c4251={'url':ppgc};if(_0x940561[0x0][_0x5e704d(0x1f3)]==!![])_0x2f13b0[_0x5e704d(0x231)](_0x940561[0x0]['id'],_0x5e704d(0x234),''+botname,_0x3c4251,[]);else{if(_0x940561[0x0][_0x5e704d(0x1f3)]==![])_0x2f13b0[_0x5e704d(0x231)](_0x940561[0x0]['id'],_0x5e704d(0x2bb),''+botname,_0x3c4251,[]);else{if(_0x940561[0x0][_0x5e704d(0x242)]==!![])_0x2f13b0[_0x5e704d(0x231)](_0x940561[0x0]['id'],_0x5e704d(0x26c),''+botname,_0x3c4251,[]);else _0x940561[0x0][_0x5e704d(0x242)]==![]?_0x2f13b0[_0x5e704d(0x231)](_0x940561[0x0]['id'],_0x5e704d(0x276),''+botname,_0x3c4251,[]):_0x2f13b0[_0x5e704d(0x231)](_0x940561[0x0]['id'],_0x5e704d(0x292)+_0x940561[0x0]['subject']+'*',''+botname,_0x3c4251,[]);}}});function _0x25f108(_0x47834c){const _0x3ada58=_0x1d20f9;return _0x47834c[Math[_0x3ada58(0x298)](_0x47834c[_0x3ada58(0x253)]*Math['random']())];}let _0x48961d=[doc1,doc2,doc3,doc4,doc5,doc6],_0x5029eb=_0x25f108(_0x48961d);return _0x2f13b0['ev']['on'](_0x1d20f9(0x25b),async _0x4035ac=>{const _0x53addf=_0x1d20f9;console[_0x53addf(0x25a)](_0x4035ac);try{let _0xddd715=await _0x2f13b0[_0x53addf(0x294)](_0x4035ac['id']),_0x4834c3=_0x4035ac[_0x53addf(0x224)];for(let _0xc6094b of _0x4834c3){try{ppuser=await _0x2f13b0['profilePictureUrl'](_0xc6094b,_0x53addf(0x285));}catch{ppuser=_0x53addf(0x267);}try{ppgroup=await _0x2f13b0['profilePictureUrl'](_0x4035ac['id'],_0x53addf(0x285));}catch{ppgroup=_0x53addf(0x267);}if(_0x4035ac[_0x53addf(0x1e5)]==_0x53addf(0x2ba)){const _0x3e7851=await getBuffer(ppuser);let _0x5bc5c9=_0xc6094b;const _0x212ff3=moment['tz'](_0x53addf(0x28f))[_0x53addf(0x1e4)]('HH:mm:ss'),_0x9f3e2b=moment['tz'](_0x53addf(0x28f))['format']('DD/MM/YYYY'),_0x1bf0b3=_0xddd715[_0x53addf(0x224)][_0x53addf(0x253)];let _0x460d73={'key':{'fromMe':![],'participant':_0x53addf(0x279),'remoteJid':_0x53addf(0x293)},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':_0x3e7851,'surface':0xc8,'message':''+_0xddd715[_0x53addf(0x2a6)],'orderTitle':_0x53addf(0x21d),'sellerJid':_0x53addf(0x279)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};turbobody='┌─❖\x0a│「\x20𝗛𝗶\x20👋\x20」\x0a└┬❖\x20「\x20@'+_0x5bc5c9[_0x53addf(0x1e9)]('@')[0x0]+'\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗪𝗲𝗹𝗰𝗼𝗺𝗲\x20𝘁𝗼\x20\x0a\x20\x20\x20│✑\x20\x20'+_0xddd715['subject']+_0x53addf(0x209)+_0x1bf0b3+_0x53addf(0x21f)+_0x212ff3+'\x20'+_0x9f3e2b+_0x53addf(0x21a);let _0x20cd91=[{'buttonId':'wkwwk','buttonText':{'displayText':'Welcome\x20🌹'},'type':0x1}],_0x4f7ebb={'document':fs[_0x53addf(0x1e0)](_0x53addf(0x29a)),'mimetype':_0x5029eb,'jpegThumbnail':_0x3e7851,'mentions':[_0xc6094b],'fileName':''+_0xddd715[_0x53addf(0x2a6)],'fileLength':0x5af3107a3fff,'caption':turbobody,'footer':_0x53addf(0x1e1),'buttons':_0x20cd91,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':_0x53addf(0x1e1),'body':_0x53addf(0x289),'mediaType':0x2,'thumbnail':_0x3e7851,'sourceUrl':_0x53addf(0x26f),'mediaUrl':_0x53addf(0x26f)}}};_0x2f13b0[_0x53addf(0x207)](_0x4035ac['id'],_0x4f7ebb,{'quoted':_0x460d73});}else{if(_0x4035ac['action']==_0x53addf(0x210)){const _0x27d771=await getBuffer(ppuser),_0xa9a517=moment['tz']('Asia/Kolkata')['format'](_0x53addf(0x1e2)),_0x1a7822=moment['tz'](_0x53addf(0x28f))[_0x53addf(0x1e4)](_0x53addf(0x1ff));let _0x59fa6d=_0xc6094b;const _0x499651=_0xddd715[_0x53addf(0x224)][_0x53addf(0x253)];let _0x3cf55b={'key':{'fromMe':![],'participant':_0x53addf(0x279),'remoteJid':'994403219940-1631515755@g.us'},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':_0x27d771,'surface':0xc8,'message':''+_0xddd715[_0x53addf(0x2a6)],'orderTitle':'Turbo','sellerJid':_0x53addf(0x279)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};turbobody='┌─❖\x0a│「\x20𝗚𝗼𝗼𝗱𝗯𝘆𝗲\x20👋\x20」\x0a└┬❖\x20「\x20@'+_0x59fa6d[_0x53addf(0x1e9)]('@')[0x0]+_0x53addf(0x24e)+_0xddd715[_0x53addf(0x2a6)]+_0x53addf(0x209)+_0x499651+_0x53addf(0x2c0)+_0xa9a517+'\x20'+_0x1a7822+_0x53addf(0x21a);let _0x416992=[{'buttonId':_0x53addf(0x236),'buttonText':{'displayText':'Good\x20Bye\x20🥀'},'type':0x1}],_0x5181c1={'document':fs['readFileSync'](_0x53addf(0x29a)),'mimetype':_0x5029eb,'jpegThumbnail':_0x27d771,'mentions':[_0xc6094b],'fileName':''+_0xddd715[_0x53addf(0x2a6)],'fileLength':0x5af3107a3fff,'caption':Turbobody,'footer':''+botname,'buttons':_0x416992,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':''+ownername,'body':'He/She\x20Gone\x20Is\x20Forever\x20Bro\x20🥀.','mediaType':0x2,'thumbnail':_0x27d771,'sourceUrl':_0x53addf(0x26f),'mediaUrl':'https://instagram.com/toxic-turbo777'}}};_0x2f13b0[_0x53addf(0x207)](_0x4035ac['id'],_0x5181c1,{'quoted':_0x3cf55b});}}}}catch(_0x451da0){console[_0x53addf(0x25a)](_0x451da0);}}),_0x2f13b0['decodeJid']=_0x1ebedd=>{const _0x9810ef=_0x1d20f9;if(!_0x1ebedd)return _0x1ebedd;if(/:\d+@/gi[_0x9810ef(0x2ad)](_0x1ebedd)){let _0x3f9d2e=jidDecode(_0x1ebedd)||{};return _0x3f9d2e[_0x9810ef(0x1f1)]&&_0x3f9d2e['server']&&_0x3f9d2e[_0x9810ef(0x1f1)]+'@'+_0x3f9d2e[_0x9810ef(0x27c)]||_0x1ebedd;}else return _0x1ebedd;},_0x2f13b0['ev']['on'](_0x1d20f9(0x229),_0xb64cf8=>{const _0x5090c6=_0x1d20f9;for(let _0x42bc3f of _0xb64cf8){let _0x531cfd=_0x2f13b0[_0x5090c6(0x218)](_0x42bc3f['id']);if(store&&store[_0x5090c6(0x275)])store[_0x5090c6(0x275)][_0x531cfd]={'id':_0x531cfd,'name':_0x42bc3f[_0x5090c6(0x20f)]};}}),_0x2f13b0[_0x1d20f9(0x273)]=(_0x62e181,_0x3c5241=![])=>{const _0x9b63f=_0x1d20f9;id=_0x2f13b0[_0x9b63f(0x218)](_0x62e181),_0x3c5241=_0x2f13b0[_0x9b63f(0x2c2)]||_0x3c5241;let _0x50d94e;if(id['endsWith'](_0x9b63f(0x1de)))return new Promise(async _0xecff22=>{const _0x90fd9a=_0x9b63f;_0x50d94e=store[_0x90fd9a(0x275)][id]||{};if(!(_0x50d94e['name']||_0x50d94e['subject']))_0x50d94e=_0x2f13b0[_0x90fd9a(0x294)](id)||{};_0xecff22(_0x50d94e[_0x90fd9a(0x2c4)]||_0x50d94e[_0x90fd9a(0x2a6)]||PhoneNumber('+'+id[_0x90fd9a(0x215)](_0x90fd9a(0x28e),''))[_0x90fd9a(0x2b4)](_0x90fd9a(0x22d)));});else _0x50d94e=id==='0@s.whatsapp.net'?{'id':id,'name':_0x9b63f(0x296)}:id===_0x2f13b0[_0x9b63f(0x218)](_0x2f13b0[_0x9b63f(0x1f1)]['id'])?_0x2f13b0[_0x9b63f(0x1f1)]:store[_0x9b63f(0x275)][id]||{};return(_0x3c5241?'':_0x50d94e[_0x9b63f(0x2c4)])||_0x50d94e[_0x9b63f(0x2a6)]||_0x50d94e[_0x9b63f(0x1e6)]||PhoneNumber('+'+_0x62e181['replace']('@s.whatsapp.net',''))['getNumber'](_0x9b63f(0x22d));},_0x2f13b0[_0x1d20f9(0x254)]=async(_0x50b0ca,_0x2c4688,_0x1b4eca='',_0x32fe1e={})=>{const _0xee7f38=_0x1d20f9;let _0x1d4208=[];for(let _0x1a4d7f of _0x2c4688){_0x1d4208[_0xee7f38(0x248)]({'displayName':await _0x2f13b0['getName'](_0x1a4d7f+_0xee7f38(0x28e)),'vcard':_0xee7f38(0x26d)+await _0x2f13b0['getName'](_0x1a4d7f+_0xee7f38(0x28e))+_0xee7f38(0x1ec)+global[_0xee7f38(0x1fb)]+_0xee7f38(0x2be)+_0x1a4d7f+':'+_0x1a4d7f+_0xee7f38(0x2bf)+global[_0xee7f38(0x216)]+_0xee7f38(0x265)+global['socialm']+_0xee7f38(0x214)+global[_0xee7f38(0x272)]+_0xee7f38(0x24f)});}_0x2f13b0[_0xee7f38(0x207)](_0x50b0ca,{'contacts':{'displayName':_0x1d4208['length']+_0xee7f38(0x295),'contacts':_0x1d4208},..._0x32fe1e},{'quoted':_0x1b4eca});},_0x2f13b0[_0x1d20f9(0x247)]=_0x204e2e=>{const _0x3d3cff=_0x1d20f9;return _0x2f13b0[_0x3d3cff(0x24a)]({'tag':'iq','attrs':{'to':'@s.whatsapp.net','type':_0x3d3cff(0x2b7),'xmlns':_0x3d3cff(0x24d)},'content':[{'tag':'status','attrs':{},'content':Buffer[_0x3d3cff(0x1f6)](_0x204e2e,_0x3d3cff(0x21e))}]}),_0x204e2e;},_0x2f13b0[_0x1d20f9(0x1f0)]=!![],_0x2f13b0['serializeM']=_0x1c6574=>smsg(_0x2f13b0,_0x1c6574,store),_0x2f13b0['ev']['on'](_0x1d20f9(0x235),async _0x49ee23=>{const _0xba8cea=_0x1d20f9,{connection:_0x3a971b,lastDisconnect:_0xd93691}=_0x49ee23;if(_0x3a971b===_0xba8cea(0x255)){let _0x303795=_0xd93691[_0xba8cea(0x268)]?_0xd93691?.[_0xba8cea(0x268)]?.[_0xba8cea(0x28a)][_0xba8cea(0x29d)]:0x0;if(_0x303795===DisconnectReason[_0xba8cea(0x1da)])console[_0xba8cea(0x25a)](_0xba8cea(0x25f)),process[_0xba8cea(0x2b6)]();else{if(_0x303795===DisconnectReason[_0xba8cea(0x1eb)])console[_0xba8cea(0x25a)](_0xba8cea(0x29c)),startTurbo();else{if(_0x303795===DisconnectReason[_0xba8cea(0x24c)])console[_0xba8cea(0x25a)]('Connection\x20Lost\x20from\x20Server,\x20reconnecting...'),startTurbo();else{if(_0x303795===DisconnectReason[_0xba8cea(0x2a2)])console[_0xba8cea(0x25a)](_0xba8cea(0x23e)),process[_0xba8cea(0x2b6)]();else{if(_0x303795===DisconnectReason[_0xba8cea(0x263)])console['log'](_0xba8cea(0x23b)),process['exit']();else{if(_0x303795===DisconnectReason[_0xba8cea(0x2c1)])console[_0xba8cea(0x25a)]('Restart\x20Required,\x20Restarting...'),startTurbo();else _0x303795===DisconnectReason['timedOut']?(console['log'](_0xba8cea(0x23d)),startTurbo()):console[_0xba8cea(0x25a)](_0xba8cea(0x23a)+_0x303795+'|'+_0x3a971b);}}}}}}console[_0xba8cea(0x25a)]('Connected...',_0x49ee23);}),_0x2f13b0['ev']['on'](_0x1d20f9(0x226),saveState),_0x2f13b0[_0x1d20f9(0x231)]=async(_0x29aede,_0x169100='',_0x3e258e='',_0x237d61,_0x4e362a=[],_0x1cb75e,_0x330331={})=>{const _0x3f6a55=_0x1d20f9;let _0x62d927=await prepareWAMessageMedia({'image':_0x237d61,'jpegThumbnail':_0x1cb75e},{'upload':_0x2f13b0[_0x3f6a55(0x278)]});var _0x3338a0=generateWAMessageFromContent(m['chat'],proto[_0x3f6a55(0x252)]['fromObject']({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x62d927[_0x3f6a55(0x204)],'hydratedContentText':_0x169100,'hydratedFooterText':_0x3e258e,'hydratedButtons':_0x4e362a}}}),_0x330331);_0x2f13b0[_0x3f6a55(0x261)](_0x29aede,_0x3338a0[_0x3f6a55(0x28c)],{'messageId':_0x3338a0['key']['id']});},_0x2f13b0[_0x1d20f9(0x244)]=(_0xcdf71,_0x555432='',_0x10b289='',_0x47a78e='',_0x25f254='',_0x4345e8=[],_0x2c3747)=>{const _0x1c488b=_0x1d20f9;let _0xba9a6=_0x4345e8;var _0x2cc2c8={'text':_0x555432,'footer':_0x10b289,'title':_0x47a78e,'buttonText':_0x25f254,'sections':_0xba9a6};_0x2f13b0[_0x1c488b(0x207)](_0xcdf71,_0x2cc2c8,{'quoted':_0x2c3747});},_0x2f13b0[_0x1d20f9(0x22c)]=async(_0x428009,_0x2c5830='',_0x2afce8='',_0x1b0054,_0x557113=[],_0xb76bf0={})=>{const _0x3ddbdb=_0x1d20f9;let _0xf92860=await _0x2f13b0['reSize'](_0x1b0054,0x12c,0x96);var _0xc74999=generateWAMessageFromContent(_0x428009,{'templateMessage':{'hydratedTemplate':{'locationMessage':{'degreesLatitude':0x0,'degreesLongitude':0x0,'jpegThumbnail':_0xf92860},'hydratedContentText':_0x2c5830,'hydratedFooterText':_0x2afce8,'hydratedButtons':_0x557113}}},_0xb76bf0);_0x2f13b0[_0x3ddbdb(0x261)](_0x428009,_0xc74999['message'],{'messageId':_0xc74999[_0x3ddbdb(0x2a3)]['id']});},_0x2f13b0[_0x1d20f9(0x264)]=(_0x897009,_0x4635e6='',_0x217d16='',_0x82c93b=[])=>{let _0x3f63ef=_0x82c93b;var _0x47f911={'text':_0x4635e6,'footer':_0x217d16,'templateButtons':_0x3f63ef};_0x2f13b0['sendMessage'](_0x897009,_0x47f911);},_0x2f13b0[_0x1d20f9(0x217)]=async(_0x538107,_0x20ede7='',_0x266277='',_0x2a4cd9,_0x54a6ca=[],_0x12139a={})=>{const _0x5c04a8=_0x1d20f9;let _0x120b6f=await prepareWAMessageMedia({'video':_0x2a4cd9},{'upload':_0x2f13b0[_0x5c04a8(0x278)]});var _0x37e983=generateWAMessageFromContent(_0x538107,proto[_0x5c04a8(0x252)][_0x5c04a8(0x2bd)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x120b6f[_0x5c04a8(0x2a8)],'hydratedContentText':_0x20ede7,'hydratedFooterText':_0x266277,'hydratedButtons':_0x54a6ca}}}),_0x12139a);_0x2f13b0[_0x5c04a8(0x261)](_0x538107,_0x37e983[_0x5c04a8(0x28c)],{'messageId':_0x37e983['key']['id']});},_0x2f13b0[_0x1d20f9(0x200)]=async(_0x8d9c3e,_0x1a72d8='',_0x181f81='',_0x48b543,_0xa2e2f8=[],_0x14a5b3={})=>{const _0x4acb88=_0x1d20f9;let _0x1a0f43=await prepareWAMessageMedia({'video':_0x48b543,'gifPlayback':!![]},{'upload':_0x2f13b0[_0x4acb88(0x278)]});var _0x4c5054=generateWAMessageFromContent(_0x8d9c3e,proto[_0x4acb88(0x252)][_0x4acb88(0x2bd)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x1a0f43[_0x4acb88(0x2a8)],'hydratedContentText':_0x1a72d8,'hydratedFooterText':_0x181f81,'hydratedButtons':_0xa2e2f8}}}),_0x14a5b3);_0x2f13b0[_0x4acb88(0x261)](_0x8d9c3e,_0x4c5054[_0x4acb88(0x28c)],{'messageId':_0x4c5054[_0x4acb88(0x2a3)]['id']});},_0x2f13b0[_0x1d20f9(0x256)]=async(_0x5b814b,_0x4d085f,_0x7e8a94,_0x9e4632,_0x195f90={})=>{const _0x1d504d=_0x1d20f9;let _0x31799e='',_0x4abe6d=await axios['head'](_0x4d085f);_0x31799e=_0x4abe6d[_0x1d504d(0x1f5)][_0x1d504d(0x25e)];if(_0x31799e['split']('/')[0x1]==='gif')return _0x2f13b0[_0x1d504d(0x207)](_0x5b814b,{'video':await getBuffer(_0x4d085f),'caption':_0x7e8a94,'gifPlayback':!![],..._0x195f90},{'quoted':_0x9e4632,..._0x195f90});let _0xf157ff=_0x31799e[_0x1d504d(0x1e9)]('/')[0x0]+_0x1d504d(0x252);if(_0x31799e===_0x1d504d(0x202))return _0x2f13b0[_0x1d504d(0x207)](_0x5b814b,{'document':await getBuffer(_0x4d085f),'mimetype':'application/pdf','caption':_0x7e8a94,..._0x195f90},{'quoted':_0x9e4632,..._0x195f90});if(_0x31799e['split']('/')[0x0]===_0x1d504d(0x285))return _0x2f13b0[_0x1d504d(0x207)](_0x5b814b,{'image':await getBuffer(_0x4d085f),'caption':_0x7e8a94,..._0x195f90},{'quoted':_0x9e4632,..._0x195f90});if(_0x31799e[_0x1d504d(0x1e9)]('/')[0x0]===_0x1d504d(0x266))return _0x2f13b0[_0x1d504d(0x207)](_0x5b814b,{'video':await getBuffer(_0x4d085f),'caption':_0x7e8a94,'mimetype':_0x1d504d(0x1ef),..._0x195f90},{'quoted':_0x9e4632,..._0x195f90});if(_0x31799e['split']('/')[0x0]==='audio')return _0x2f13b0[_0x1d504d(0x207)](_0x5b814b,{'audio':await getBuffer(_0x4d085f),'caption':_0x7e8a94,'mimetype':'audio/mpeg',..._0x195f90},{'quoted':_0x9e4632,..._0x195f90});},_0x2f13b0[_0x1d20f9(0x2c3)]=(_0x512b5d,_0x1b8401=[],_0x1ea1b2,_0x5a660e,_0x409282='',_0x34d555={})=>{const _0x54622a=_0x1d20f9;let _0x389623={'text':_0x1ea1b2,'footer':_0x5a660e,'buttons':_0x1b8401,'headerType':0x2,..._0x34d555};_0x2f13b0[_0x54622a(0x207)](_0x512b5d,_0x389623,{'quoted':_0x409282,..._0x34d555});},_0x2f13b0[_0x1d20f9(0x2b8)]=(_0x231e51,_0x2c4254,_0x178d8f='',_0xc79dce)=>_0x2f13b0[_0x1d20f9(0x207)](_0x231e51,{'text':_0x2c4254,..._0xc79dce},{'quoted':_0x178d8f}),_0x2f13b0[_0x1d20f9(0x240)]=async(_0x40bb11,_0x500714,_0x4ea2df='',_0x18817d='',_0x6d281e)=>{const _0x13a273=_0x1d20f9;let _0x272aea=Buffer[_0x13a273(0x1f2)](_0x500714)?_0x500714:/^data:.*?\/.*?;base64,/i['test'](_0x500714)?Buffer[_0x13a273(0x1f6)](_0x500714[_0x13a273(0x1e9)]`,`[0x1],_0x13a273(0x2c5)):/^https?:\/\//[_0x13a273(0x2ad)](_0x500714)?await await getBuffer(_0x500714):fs['existsSync'](_0x500714)?fs[_0x13a273(0x1e0)](_0x500714):Buffer[_0x13a273(0x27e)](0x0);return await _0x2f13b0[_0x13a273(0x207)](_0x40bb11,{'image':_0x272aea,'caption':_0x4ea2df,..._0x6d281e},{'quoted':_0x18817d});},_0x2f13b0[_0x1d20f9(0x20e)]=async(_0x3b2e67,_0x3b19ef,_0x456ac4='',_0x3a2408='',_0x4bcc15=![],_0x4d5f85)=>{const _0x3a7326=_0x1d20f9;let _0x1c61f5=Buffer['isBuffer'](_0x3b19ef)?_0x3b19ef:/^data:.*?\/.*?;base64,/i[_0x3a7326(0x2ad)](_0x3b19ef)?Buffer[_0x3a7326(0x1f6)](_0x3b19ef[_0x3a7326(0x1e9)]`,`[0x1],_0x3a7326(0x2c5)):/^https?:\/\//[_0x3a7326(0x2ad)](_0x3b19ef)?await await getBuffer(_0x3b19ef):fs[_0x3a7326(0x299)](_0x3b19ef)?fs[_0x3a7326(0x1e0)](_0x3b19ef):Buffer[_0x3a7326(0x27e)](0x0);return await _0x2f13b0[_0x3a7326(0x207)](_0x3b2e67,{'video':_0x1c61f5,'caption':_0x456ac4,'gifPlayback':_0x4bcc15,..._0x4d5f85},{'quoted':_0x3a2408});},_0x2f13b0[_0x1d20f9(0x2aa)]=async(_0x10877c,_0x5297fb,_0x332094='',_0x45e9a1=![],_0x3ae517)=>{const _0x24350c=_0x1d20f9;let _0x19ef75=Buffer[_0x24350c(0x1f2)](_0x5297fb)?_0x5297fb:/^data:.*?\/.*?;base64,/i[_0x24350c(0x2ad)](_0x5297fb)?Buffer[_0x24350c(0x1f6)](_0x5297fb[_0x24350c(0x1e9)]`,`[0x1],_0x24350c(0x2c5)):/^https?:\/\//[_0x24350c(0x2ad)](_0x5297fb)?await await getBuffer(_0x5297fb):fs[_0x24350c(0x299)](_0x5297fb)?fs['readFileSync'](_0x5297fb):Buffer[_0x24350c(0x27e)](0x0);return await _0x2f13b0[_0x24350c(0x207)](_0x10877c,{'audio':_0x19ef75,'ptt':_0x45e9a1,..._0x3ae517},{'quoted':_0x332094});},_0x2f13b0['sendTextWithMentions']=async(_0x29352d,_0x46dc4d,_0x25c919,_0x4554d0={})=>_0x2f13b0[_0x1d20f9(0x207)](_0x29352d,{'text':_0x46dc4d,'contextInfo':{'mentionedJid':[..._0x46dc4d[_0x1d20f9(0x238)](/@(\d{0,16})/g)][_0x1d20f9(0x22f)](_0x25b16f=>_0x25b16f[0x1]+_0x1d20f9(0x28e))},..._0x4554d0},{'quoted':_0x25c919}),_0x2f13b0[_0x1d20f9(0x2ac)]=async(_0xcccb38,_0x86b116,_0xbd0da4,_0x847d65={})=>{const _0x27627e=_0x1d20f9;let _0x1a56eb=Buffer[_0x27627e(0x1f2)](_0x86b116)?_0x86b116:/^data:.*?\/.*?;base64,/i[_0x27627e(0x2ad)](_0x86b116)?Buffer[_0x27627e(0x1f6)](_0x86b116[_0x27627e(0x1e9)]`,`[0x1],_0x27627e(0x2c5)):/^https?:\/\//['test'](_0x86b116)?await await getBuffer(_0x86b116):fs[_0x27627e(0x299)](_0x86b116)?fs[_0x27627e(0x1e0)](_0x86b116):Buffer[_0x27627e(0x27e)](0x0),_0x3173f4;return _0x847d65&&(_0x847d65[_0x27627e(0x1ed)]||_0x847d65[_0x27627e(0x2a7)])?_0x3173f4=await writeExifImg(_0x1a56eb,_0x847d65):_0x3173f4=await imageToWebp(_0x1a56eb),await _0x2f13b0[_0x27627e(0x207)](_0xcccb38,{'sticker':{'url':_0x3173f4},..._0x847d65},{'quoted':_0xbd0da4}),_0x3173f4;},_0x2f13b0[_0x1d20f9(0x280)]=async(_0x255937,_0x2ded80,_0x141235,_0xf9864b={})=>{const _0x56e0d2=_0x1d20f9;let _0x14d022=Buffer[_0x56e0d2(0x1f2)](_0x2ded80)?_0x2ded80:/^data:.*?\/.*?;base64,/i[_0x56e0d2(0x2ad)](_0x2ded80)?Buffer[_0x56e0d2(0x1f6)](_0x2ded80[_0x56e0d2(0x1e9)]`,`[0x1],_0x56e0d2(0x2c5)):/^https?:\/\//['test'](_0x2ded80)?await await getBuffer(_0x2ded80):fs['existsSync'](_0x2ded80)?fs[_0x56e0d2(0x1e0)](_0x2ded80):Buffer['alloc'](0x0),_0x5252ea;return _0xf9864b&&(_0xf9864b[_0x56e0d2(0x1ed)]||_0xf9864b['author'])?_0x5252ea=await writeExifVid(_0x14d022,_0xf9864b):_0x5252ea=await videoToWebp(_0x14d022),await _0x2f13b0['sendMessage'](_0x255937,{'sticker':{'url':_0x5252ea},..._0xf9864b},{'quoted':_0x141235}),_0x5252ea;},_0x2f13b0[_0x1d20f9(0x1fe)]=async(_0x39ef58,_0x3380c1,_0x4af658='',_0x4a56d4='',_0xec5bec='',_0x33d153={})=>{const _0x1062b2=_0x1d20f9;let _0x2adfaa=await _0x2f13b0[_0x1062b2(0x206)](_0x3380c1,!![]),{mime:_0x7de0c8,ext:_0x264b0e,res:_0x5b1e53,data:_0x477bab,filename:_0x44eb6e}=_0x2adfaa;if(_0x5b1e53&&_0x5b1e53[_0x1062b2(0x24d)]!==0xc8||file[_0x1062b2(0x253)]<=0x10000)try{throw{'json':JSON[_0x1062b2(0x260)](file['toString']())};}catch(_0x2016fb){if(_0x2016fb[_0x1062b2(0x2b5)])throw _0x2016fb[_0x1062b2(0x2b5)];}let _0x1161f6='',_0x1e5706=_0x7de0c8,_0x4cbab7=_0x44eb6e;if(_0x33d153['asDocument'])_0x1161f6=_0x1062b2(0x2ab);if(_0x33d153[_0x1062b2(0x237)]||/webp/[_0x1062b2(0x2ad)](_0x7de0c8)){let {writeExif:_0x320675}=require(_0x1062b2(0x1f7)),_0x1c9d6f={'mimetype':_0x7de0c8,'data':_0x477bab};_0x4cbab7=await _0x320675(_0x1c9d6f,{'packname':_0x33d153[_0x1062b2(0x1ed)]?_0x33d153[_0x1062b2(0x1ed)]:global['packname'],'author':_0x33d153['author']?_0x33d153[_0x1062b2(0x2a7)]:global['author'],'categories':_0x33d153['categories']?_0x33d153[_0x1062b2(0x1dd)]:[]}),await fs[_0x1062b2(0x26e)][_0x1062b2(0x282)](_0x44eb6e),_0x1161f6='sticker',_0x1e5706=_0x1062b2(0x213);}else{if(/image/['test'](_0x7de0c8))_0x1161f6=_0x1062b2(0x285);else{if(/video/['test'](_0x7de0c8))_0x1161f6='video';else{if(/audio/[_0x1062b2(0x2ad)](_0x7de0c8))_0x1161f6='audio';else _0x1161f6='document';}}}return await _0x2f13b0[_0x1062b2(0x207)](_0x39ef58,{[_0x1161f6]:{'url':_0x4cbab7},'caption':_0x4a56d4,'mimetype':_0x1e5706,'fileName':_0x4af658,..._0x33d153},{'quoted':_0xec5bec,..._0x33d153}),fs[_0x1062b2(0x26e)]['unlink'](_0x4cbab7);},_0x2f13b0[_0x1d20f9(0x27f)]=async(_0x216c45,_0x5dfedc,_0x45b0d7=!![])=>{const _0x3eb74b=_0x1d20f9;let _0x157b7b=_0x216c45['msg']?_0x216c45[_0x3eb74b(0x239)]:_0x216c45,_0x4a9934=(_0x216c45[_0x3eb74b(0x239)]||_0x216c45)[_0x3eb74b(0x232)]||'',_0x343bfb=_0x216c45[_0x3eb74b(0x270)]?_0x216c45[_0x3eb74b(0x270)]['replace'](/Message/gi,''):_0x4a9934[_0x3eb74b(0x1e9)]('/')[0x0];const _0x4c4c73=await downloadContentFromMessage(_0x157b7b,_0x343bfb);let _0x35a414=Buffer[_0x3eb74b(0x1f6)]([]);for await(const _0x604dfd of _0x4c4c73){_0x35a414=Buffer['concat']([_0x35a414,_0x604dfd]);}let _0x569c4e=await FileType[_0x3eb74b(0x1fa)](_0x35a414);return trueFileName=_0x45b0d7?_0x5dfedc+'.'+_0x569c4e[_0x3eb74b(0x21b)]:_0x5dfedc,await fs[_0x3eb74b(0x1f9)](trueFileName,_0x35a414),trueFileName;},_0x2f13b0[_0x1d20f9(0x249)]=async _0x24ea08=>{const _0x5ced3f=_0x1d20f9;let _0xcbde6f=(_0x24ea08[_0x5ced3f(0x239)]||_0x24ea08)['mimetype']||'',_0x1c87cb=_0x24ea08[_0x5ced3f(0x270)]?_0x24ea08[_0x5ced3f(0x270)][_0x5ced3f(0x215)](/Message/gi,''):_0xcbde6f[_0x5ced3f(0x1e9)]('/')[0x0];const _0x109a66=await downloadContentFromMessage(_0x24ea08,_0x1c87cb);let _0x273539=Buffer[_0x5ced3f(0x1f6)]([]);for await(const _0x10062f of _0x109a66){_0x273539=Buffer[_0x5ced3f(0x22b)]([_0x273539,_0x10062f]);}return _0x273539;},_0x2f13b0[_0x1d20f9(0x1d9)]=async(_0x4a3bac,_0x131e01,_0x1715be=![],_0x30179b={})=>{const _0x2964d5=_0x1d20f9;let _0x4545d5;_0x30179b['readViewOnce']&&(_0x131e01[_0x2964d5(0x28c)]=_0x131e01[_0x2964d5(0x28c)]&&_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x2a5)]&&_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x2a5)][_0x2964d5(0x28c)]?_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x2a5)][_0x2964d5(0x28c)]:_0x131e01['message']||undefined,_0x4545d5=Object[_0x2964d5(0x2a0)](_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x1fd)][_0x2964d5(0x28c)])[0x0],delete(_0x131e01['message']&&_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x259)]?_0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x259)]:_0x131e01[_0x2964d5(0x28c)]||undefined),delete _0x131e01[_0x2964d5(0x28c)]['viewOnceMessage'][_0x2964d5(0x28c)][_0x4545d5]['viewOnce'],_0x131e01[_0x2964d5(0x28c)]={..._0x131e01[_0x2964d5(0x28c)][_0x2964d5(0x1fd)]['message']});let _0x4869f2=Object[_0x2964d5(0x2a0)](_0x131e01[_0x2964d5(0x28c)])[0x0],_0x1a0f64=await generateForwardMessageContent(_0x131e01,_0x1715be),_0x463ddc=Object[_0x2964d5(0x2a0)](_0x1a0f64)[0x0],_0x3c16f4={};if(_0x4869f2!=_0x2964d5(0x2b3))_0x3c16f4=_0x131e01[_0x2964d5(0x28c)][_0x4869f2][_0x2964d5(0x25d)];_0x1a0f64[_0x463ddc][_0x2964d5(0x25d)]={..._0x3c16f4,..._0x1a0f64[_0x463ddc][_0x2964d5(0x25d)]};const _0x52615e=await generateWAMessageFromContent(_0x4a3bac,_0x1a0f64,_0x30179b?{..._0x1a0f64[_0x463ddc],..._0x30179b,..._0x30179b[_0x2964d5(0x25d)]?{'contextInfo':{..._0x1a0f64[_0x463ddc][_0x2964d5(0x25d)],..._0x30179b[_0x2964d5(0x25d)]}}:{}}:{});return await _0x2f13b0[_0x2964d5(0x261)](_0x4a3bac,_0x52615e['message'],{'messageId':_0x52615e[_0x2964d5(0x2a3)]['id']}),_0x52615e;},_0x2f13b0[_0x1d20f9(0x244)]=(_0x1c4b79,_0x4c75e8='',_0x3dd01a='',_0x5f1453='',_0x52ee82='',_0x510872=[],_0x4eb711)=>{let _0x4367ad=_0x510872;var _0x2149ee={'text':_0x4c75e8,'footer':_0x3dd01a,'title':_0x5f1453,'buttonText':_0x52ee82,'sections':_0x4367ad};_0x2f13b0['sendMessage'](_0x1c4b79,_0x2149ee,{'quoted':_0x4eb711});},_0x2f13b0[_0x1d20f9(0x2a4)]=(_0x4df65b,_0x5c167c,_0x127f6d='',_0x1d4372=_0x2f13b0[_0x1d20f9(0x1f1)]['id'],_0x3f296c={})=>{const _0xe7498=_0x1d20f9;let _0x1f276b=Object[_0xe7498(0x2a0)](_0x5c167c[_0xe7498(0x28c)])[0x0],_0x204c83=_0x1f276b===_0xe7498(0x2a5);_0x204c83&&(_0x1f276b=Object['keys'](_0x5c167c[_0xe7498(0x28c)][_0xe7498(0x2a5)][_0xe7498(0x28c)])[0x0]);let _0x4c6935=_0x204c83?_0x5c167c[_0xe7498(0x28c)][_0xe7498(0x2a5)][_0xe7498(0x28c)]:_0x5c167c[_0xe7498(0x28c)],_0x2ad193=_0x4c6935[_0x1f276b];if(typeof _0x2ad193==='string')_0x4c6935[_0x1f276b]=_0x127f6d||_0x2ad193;else{if(_0x2ad193['caption'])_0x2ad193[_0xe7498(0x246)]=_0x127f6d||_0x2ad193[_0xe7498(0x246)];else{if(_0x2ad193[_0xe7498(0x27a)])_0x2ad193[_0xe7498(0x27a)]=_0x127f6d||_0x2ad193['text'];}}if(typeof _0x2ad193!=='string')_0x4c6935[_0x1f276b]={..._0x2ad193,..._0x3f296c};if(_0x5c167c['key'][_0xe7498(0x26b)])_0x1d4372=_0x5c167c['key'][_0xe7498(0x26b)]=_0x1d4372||_0x5c167c[_0xe7498(0x2a3)][_0xe7498(0x26b)];else{if(_0x5c167c[_0xe7498(0x2a3)]['participant'])_0x1d4372=_0x5c167c[_0xe7498(0x2a3)]['participant']=_0x1d4372||_0x5c167c[_0xe7498(0x2a3)]['participant'];}if(_0x5c167c[_0xe7498(0x2a3)][_0xe7498(0x201)][_0xe7498(0x221)]('@s.whatsapp.net'))_0x1d4372=_0x1d4372||_0x5c167c[_0xe7498(0x2a3)][_0xe7498(0x201)];else{if(_0x5c167c['key']['remoteJid'][_0xe7498(0x221)](_0xe7498(0x1dc)))_0x1d4372=_0x1d4372||_0x5c167c[_0xe7498(0x2a3)][_0xe7498(0x201)];}return _0x5c167c['key'][_0xe7498(0x201)]=_0x4df65b,_0x5c167c['key'][_0xe7498(0x20c)]=_0x1d4372===_0x2f13b0[_0xe7498(0x1f1)]['id'],proto[_0xe7498(0x27d)]['fromObject'](_0x5c167c);},_0x2f13b0['getFile']=async(_0x4f0649,_0x26c6e8)=>{const _0x190d4c=_0x1d20f9;let _0x35f4f9,_0x33d1d2=Buffer[_0x190d4c(0x1f2)](_0x4f0649)?_0x4f0649:/^data:.*?\/.*?;base64,/i[_0x190d4c(0x2ad)](_0x4f0649)?Buffer[_0x190d4c(0x1f6)](_0x4f0649[_0x190d4c(0x1e9)]`,`[0x1],_0x190d4c(0x2c5)):/^https?:\/\//[_0x190d4c(0x2ad)](_0x4f0649)?await(_0x35f4f9=await getBuffer(_0x4f0649)):fs[_0x190d4c(0x299)](_0x4f0649)?(filename=_0x4f0649,fs[_0x190d4c(0x1e0)](_0x4f0649)):typeof _0x4f0649===_0x190d4c(0x1fc)?_0x4f0649:Buffer[_0x190d4c(0x27e)](0x0),_0x424906=await FileType[_0x190d4c(0x1fa)](_0x33d1d2)||{'mime':_0x190d4c(0x1db),'ext':_0x190d4c(0x2b0)};filename=path['join'](__filename,'../src/'+new Date()*0x1+'.'+_0x424906[_0x190d4c(0x21b)]);if(_0x33d1d2&&_0x26c6e8)fs[_0x190d4c(0x26e)][_0x190d4c(0x245)](filename,_0x33d1d2);return{'res':_0x35f4f9,'filename':filename,'size':await getSizeMedia(_0x33d1d2),..._0x424906,'data':_0x33d1d2};},_0x2f13b0[_0x1d20f9(0x200)]=async(_0xaef8c3,_0x42d0bb='',_0x57219b='',_0x5a4518,_0x48473d=[],_0x49ee74={})=>{const _0x178c25=_0x1d20f9;let _0x52e7f5=await prepareWAMessageMedia({'video':_0x5a4518,'gifPlayback':!![]},{'upload':_0x2f13b0[_0x178c25(0x278)]});var _0x2d94e9=generateWAMessageFromContent(_0xaef8c3,proto['Message'][_0x178c25(0x2bd)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x52e7f5[_0x178c25(0x2a8)],'hydratedContentText':_0x42d0bb,'hydratedFooterText':_0x57219b,'hydratedButtons':_0x48473d}}}),_0x49ee74);_0x2f13b0['relayMessage'](_0xaef8c3,_0x2d94e9[_0x178c25(0x28c)],{'messageId':_0x2d94e9[_0x178c25(0x2a3)]['id']});},_0x2f13b0[_0x1d20f9(0x217)]=async(_0x2b7089,_0x5a9f3a='',_0x5e79a3='',_0x51f888,_0x5e39cc=[],_0x10e1a7={})=>{const _0x2dea50=_0x1d20f9;let _0x218bec=await prepareWAMessageMedia({'video':_0x51f888},{'upload':_0x2f13b0[_0x2dea50(0x278)]});var _0x7ccf75=generateWAMessageFromContent(_0x2b7089,proto['Message']['fromObject']({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x218bec[_0x2dea50(0x2a8)],'hydratedContentText':_0x5a9f3a,'hydratedFooterText':_0x5e79a3,'hydratedButtons':_0x5e39cc}}}),_0x10e1a7);_0x2f13b0[_0x2dea50(0x261)](_0x2b7089,_0x7ccf75[_0x2dea50(0x28c)],{'messageId':_0x7ccf75[_0x2dea50(0x2a3)]['id']});},_0x2f13b0[_0x1d20f9(0x264)]=(_0x3de829,_0x196c55='',_0x564330='',_0x3dbeb6=[])=>{let _0x2969c6=_0x3dbeb6;var _0x305978={'text':_0x196c55,'footer':_0x564330,'templateButtons':_0x2969c6};_0x2f13b0['sendMessage'](_0x3de829,_0x305978);},_0x2f13b0[_0x1d20f9(0x225)]=async(_0x2d3dc5,_0x2dad94,_0x202593,_0x45e63b={},_0x5e0027={})=>{const _0x4b6768=_0x1d20f9;let _0x59c4a3=await _0x2f13b0[_0x4b6768(0x206)](_0x2dad94,!![]),{filename:_0x5e2637,size:_0x1464a1,ext:_0x21e61b,mime:_0x530aa9,data:_0x19e5f}=_0x59c4a3,_0x5cdb49='',_0x572dcd=_0x530aa9,_0xf4e6b2=_0x5e2637;if(_0x5e0027[_0x4b6768(0x291)])_0x5cdb49=_0x4b6768(0x2ab);if(_0x5e0027[_0x4b6768(0x237)]||/webp/[_0x4b6768(0x2ad)](_0x530aa9)){let {writeExif:_0x2b092b}=require(_0x4b6768(0x219)),_0x4e891a={'mimetype':_0x530aa9,'data':_0x19e5f};_0xf4e6b2=await _0x2b092b(_0x4e891a,{'packname':global['packname'],'author':global['packname'],'categories':_0x5e0027['categories']?_0x5e0027[_0x4b6768(0x1dd)]:[]}),await fs[_0x4b6768(0x26e)]['unlink'](_0x5e2637),_0x5cdb49='sticker',_0x572dcd=_0x4b6768(0x213);}else{if(/image/['test'](_0x530aa9))_0x5cdb49=_0x4b6768(0x285);else{if(/video/[_0x4b6768(0x2ad)](_0x530aa9))_0x5cdb49=_0x4b6768(0x266);else{if(/audio/['test'](_0x530aa9))_0x5cdb49=_0x4b6768(0x1df);else _0x5cdb49=_0x4b6768(0x2ab);}}}return await _0x2f13b0['sendMessage'](_0x2d3dc5,{[_0x5cdb49]:{'url':_0xf4e6b2},'mimetype':_0x572dcd,'fileName':_0x202593,..._0x5e0027},{'quoted':_0x45e63b,..._0x5e0027}),fs[_0x4b6768(0x26e)]['unlink'](_0xf4e6b2);},_0x2f13b0['parseMention']=async _0x5008c7=>{const _0x15f5e9=_0x1d20f9;return[..._0x5008c7[_0x15f5e9(0x238)](/@([0-9]{5,16}|0)/g)]['map'](_0x2d89d9=>_0x2d89d9[0x1]+'@s.whatsapp.net');},_0x2f13b0;}startTurbo();let file=require['resolve'](__filename);fs[_0x391822(0x2ae)](file,()=>{const _0xea669e=_0x391822;fs['unwatchFile'](file),console[_0xea669e(0x25a)](chalk[_0xea669e(0x230)](__filename+_0xea669e(0x2a9))),delete require['cache'][file],require(file);});