forked from Alien-Alfa/WhatsAppBot-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
48 lines (45 loc) · 36.5 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════//
// //
// WHATSAPP BOT-MD //
// //
// V:1.0.1 //
// //
// ░█████╗░██╗░░░░░██╗███████╗███╗░░██╗ ░█████╗░██╗░░░░░███████╗░█████╗░ //
// ██╔══██╗██║░░░░░██║██╔════╝████╗░██║ ██╔══██╗██║░░░░░██╔════╝██╔══██╗ //
// ███████║██║░░░░░██║█████╗░░██╔██╗██║ ███████║██║░░░░░█████╗░░███████║ //
// ██╔══██║██║░░░░░██║██╔══╝░░██║╚████║ ██╔══██║██║░░░░░██╔══╝░░██╔══██║ //
// ██║░░██║███████╗██║███████╗██║░╚███║ ██║░░██║███████╗██║░░░░░██║░░██║ //
// ╚═╝░░╚═╝╚══════╝╚═╝╚══════╝╚═╝░░╚══╝ ╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝░░╚═╝ //
// //
// //
//═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════//
// Obfuscated By AlienAlfa
// Unecrypted file Willbe relesed Soon
// Full file will be relised After all BUGS Has been Fixed
// CURRENTLY RUNNING ON BETA VERSION!!
/**
* MIT License
*
* Create By Dika Ardnt.
* Edited By Alien-Alfa
* Copyright (c) 2021 Alien-Alfa.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
const _0x110326=_0x39a7;(function(_0x2b0a77,_0x56d774){const _0x1cc726=_0x39a7,_0x59a207=_0x2b0a77();while(!![]){try{const _0xe786f=parseInt(_0x1cc726(0x2a7))/0x1+parseInt(_0x1cc726(0x237))/0x2+parseInt(_0x1cc726(0x246))/0x3*(parseInt(_0x1cc726(0x20a))/0x4)+parseInt(_0x1cc726(0x263))/0x5*(parseInt(_0x1cc726(0x1fb))/0x6)+parseInt(_0x1cc726(0x257))/0x7+parseInt(_0x1cc726(0x28d))/0x8+-parseInt(_0x1cc726(0x252))/0x9;if(_0xe786f===_0x56d774)break;else _0x59a207['push'](_0x59a207['shift']());}catch(_0x2cb683){_0x59a207['push'](_0x59a207['shift']());}}}(_0x32e1,0x3920f),require(_0x110326(0x230)));function _0x32e1(){const _0xdcb55a=['messages.upsert','Asia/Kolkata','sendFontact','./config','ephemeralMessage','./lib/exif','includes','\x0a\x0a\x20','image/webp','cache','630666MNSzTw','ᴀʟɪᴇɴ\x20ᴀʟꜰᴀ-ᴍᴅ','parse','sticker','base64','sendButtonText','copyNForward','output','close','ignore','log','APIs','chat','sendImageAsSticker','sendImage','51JhEqQe','promises','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','downloadAndSaveMediaMessage','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','/\x0a\x0a\x09\x20\x20\x20\x20\x09item4.X-ABLabel:GitHub\x0a\x0a\x09\x20\x20\x20\x20\x09item5.URL:','profilePictureUrl','\x0a\x0a\x09\x20\x20\x20\x20\x09item3.URL:','getName','document','Group\x20Settings\x20Change\x20\x0a\x0aGroup\x20info\x20has\x20been\x20restricted,\x20Now\x20only\x20admin\x20can\x20edit\x20group\x20info\x20!','participants','13380057AEpDTZ','@s.whatsapp.net','yargs/yargs','matchAll','text','2218524ZgODqz','relayMessage','session','replace','endsWith','msg','from','split','entries','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','BEGIN:VCARD\x0a\x0a\x09\x20\x20\x20\x20\x09VERSION:3.0\x0a\x0a\x09\x20\x20\x20\x20\x09N:','offer','20PlwhnO','\x20Left\x0a𝕄𝕖𝕞𝕓𝕖𝕣\x20:\x20*','api','./session.alfa.json','server','Connection\x20TimedOut,\x20Reconnecting...','setStatus','.bin','contacts','decodeJid','group-participants.update','mtype','contacts.update','getNumber','../src/','*\x0a𝕄𝕖𝕞𝕓𝕖𝕣\x20𝕟𝕦𝕞:\x20*','audio','loggedOut','sendContact','\x0a\x0a\x09\x20\x20\x20\x20\x09item1.X-ABLabel:WhatsApp\x0a\x0a\x09\x20\x20\x20\x20\x09item2.EMAIL;type=INTERNET:','packname','getFile','@broadcast','Session\x20File\x20is\x20Currept,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','sendTextWithMentions','watchFile','redBright','query','content','caption','Message','silent','*\x0a𝕁𝕠𝕚𝕟𝕖𝕕\x20:\x20','status@broadcast','Waiting\x205\x20seconds\x20to\x20Generate\x20your\x20session\x20file','Group\x20Settings\x20Change\x20\x0a\x0aGroup\x20has\x20been\x20opened\x20by\x20admin,\x20Now\x20participants\x20can\x20send\x20messages\x20!','mail','international','unwatchFile','authFile','cMod','butturl1','344272icWjds','withoutContact','Unknown\x20DisconnectReason:\x20','Connection\x20closed,\x20reconnecting....','existsSync','waUploadToServer','node-fetch','youtube','user','categories','action','remove','key','./alfa','name','groupMetadata','viewOnce','\x0aHey\x20@','serializeM','private','safari','participant','public','HH:mm:ss','sendAudio','\x0a\x0a\x0a*Powered\x20by\x20𝐀𝐥𝐢𝐞𝐧-𝐀𝐥𝐟𝐚*\x0a\x20\x20\x20','406066UxkvVP','Generating\x20Session\x20File...','logout','image','worktype','Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.','status','statusCode','sendVideo','toString','fromMe','connectionLost','creds.update','connection.update','length','[email protected]','WhatsApp','notify','format','sendTBIA','asSticker','readViewOnce','subject','type','WebMessageInfo','groups.update','set','badSession','author','BAE5','bind','ALIEN\x20ALFA','Hmm\x20This\x20Is\x20Sad.\x20\x0a\x20You\x20Know\x20That\x20You\x20Are\x20Not\x20Supposed\x20To\x20Call\x20The\x20Bot\x20Right,\x0a\x0aIf\x20You\x20Dont\x20Know\x20*DO\x20NOT\x20CALL\x20THE\x20BOT*\x0a\x0a\x20You\x20Broke\x20The\x20Rule\x20And\x20You\x20Are\x20Blocked\x20Now\x20\x0a\x0a\x20You\x20are\x20automatically\x20Blocked!\x0aDon\x27t\x20call\x20bot!\x0a\x0aPlease\x20contact\x20the\x20owner\x20to\x20open\x20it!\x0a\x0a','owner','3.0.0','connectionClosed','unlink','sendMessage','keys','linkbuttid1','mimetype','DD/MM/YYYY','265386REjsXC','push','\x0a\x0a\x09\x20\x20\x20\x20\x09item3.X-ABLabel:Instagram\x0a\x0a\x09\x20\x20\x20\x20\x09item4.URL:','json','insta','timedOut','attrs','connectionReplaced','Group\x20Settings\x20Change\x20Message\x20\x0a','\x0a\x0a\x09\x20\x20\x20\x20\x09FN:','alloc','fromBuffer','ext','desc','string','108796doFAJu','announce','writeFile','anticallmsg','video','sendMedia','「\x20Group\x20Settings\x20Change\x20」\x0a\x0aGroup\x20has\x20been\x20closed\x20by\x20admin,\x20Now\x20only\x20admin\x20can\x20send\x20messages\x20!','@hapi/boom','mainfooter','test','remoteJid','application/octet-stream','active','send5ButImg','utf-8','isBuffer','pino','file-type','readFileSync','\x0a\x0a\x09\x20\x20\x20\x20\x09item5.X-ABLabel:YouTube\x0a\x0a\x09\x20\x20\x20\x20\x09END:VCARD','Restart\x20Required,\x20Restarting...','@adiwajshing/baileys','chalk','path','contextInfo','message','map','tag','./lib/colab','block','join','viewOnceMessage','updateBlockStatus','indexfunctions','github'];_0x32e1=function(){return _0xdcb55a;};return _0x32e1();}const {default:alfaConnect,useSingleFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto}=require(_0x110326(0x21f)),fetch=require(_0x110326(0x293)),pino=require(_0x110326(0x21a)),{Boom}=require(_0x110326(0x211)),fs=require('fs'),yargs=require(_0x110326(0x254)),chalk=require('chalk'),FileType=require(_0x110326(0x21b)),path=require(_0x110326(0x221)),PhoneNumber=require('awesome-phonenumber'),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(_0x110326(0x232)),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,sleep}=require('./lib/myfunc'),{MakeSession}=require(_0x110326(0x226)),moment=require('moment-timezone');function _0x39a7(_0x14b1c2,_0x7cf6c0){const _0x32e118=_0x32e1();return _0x39a7=function(_0x39a7f9,_0x45d118){_0x39a7f9=_0x39a7f9-0x1ef;let _0xa64b3f=_0x32e118[_0x39a7f9];return _0xa64b3f;},_0x39a7(_0x14b1c2,_0x7cf6c0);}let developerName=_0x110326(0x1f0),idmail=global[_0x110326(0x287)],instagramID=global[_0x110326(0x1ff)],GitHubID=global[_0x110326(0x22c)],YouTubeID=global[_0x110326(0x294)],worktype=global[_0x110326(0x2ab)],extrafunctions1=global[_0x110326(0x22b)],callblockmsg=global[_0x110326(0x20d)];global[_0x110326(0x28a)]=_0x110326(0x266),console[_0x110326(0x241)](_0x110326(0x2a8));let remsession=global[_0x110326(0x259)];!fs[_0x110326(0x291)](_0x110326(0x266))&&MakeSession(''+remsession,authFile);console[_0x110326(0x241)](require(_0x110326(0x220))[_0x110326(0x27d)](_0x110326(0x285))),setTimeout(()=>{const _0x31bb54=_0x110326;global[_0x31bb54(0x265)]=(_0x2dcba4,_0x30dadc='/',_0x4a79f9={},_0x400180)=>(_0x2dcba4 in global[_0x31bb54(0x242)]?global[_0x31bb54(0x242)][_0x2dcba4]:_0x2dcba4)+_0x30dadc+(_0x4a79f9||_0x400180?'?'+new URLSearchParams(Object[_0x31bb54(0x25f)]({..._0x4a79f9,..._0x400180?{[_0x400180]:global['APIKeys'][_0x2dcba4 in global[_0x31bb54(0x242)]?global['APIs'][_0x2dcba4]:_0x2dcba4]}:{}})):'');const _0x54a5c9=makeInMemoryStore({'logger':pino()['child']({'level':'silent','stream':'store'})}),{state:_0x1bb6bc,saveState:_0x4a1905}=useSingleFileAuthState('./session.alfa.json');async function _0x468d13(){const _0x565581=_0x31bb54;let _0x216e08=[0x3,0xca2,0x9];const _0x273933=alfaConnect({'logger':pino({'level':_0x565581(0x282)}),'printQRInTerminal':!![],'browser':[_0x565581(0x238),_0x565581(0x2a1),_0x565581(0x1f3)],'auth':_0x1bb6bc,'version':_0x216e08});return _0x54a5c9[_0x565581(0x1ef)](_0x273933['ev']),_0x273933['ev']['on'](_0x565581(0x22d),async _0x244fb3=>{const _0xbe3b47=_0x565581;try{mek=_0x244fb3['messages'][0x0];if(!mek['message'])return;mek['message']=Object[_0xbe3b47(0x1f7)](mek[_0xbe3b47(0x223)])[0x0]==='ephemeralMessage'?mek['message']['ephemeralMessage'][_0xbe3b47(0x223)]:mek[_0xbe3b47(0x223)];if(mek[_0xbe3b47(0x299)]&&mek[_0xbe3b47(0x299)][_0xbe3b47(0x214)]===_0xbe3b47(0x284))return;if(!_0x273933[_0xbe3b47(0x2a3)]&&!mek[_0xbe3b47(0x299)]['fromMe']&&_0x244fb3[_0xbe3b47(0x2be)]==='notify')return;if(mek[_0xbe3b47(0x299)]['id']['startsWith'](_0xbe3b47(0x2c4))&&mek[_0xbe3b47(0x299)]['id'][_0xbe3b47(0x2b5)]===0x10)return;m=smsg(_0x273933,mek,_0x54a5c9),require(_0xbe3b47(0x29a))(_0x273933,m,_0x244fb3,_0x54a5c9);}catch(_0x3c5db0){console[_0xbe3b47(0x241)](_0x3c5db0);}}),global[_0x565581(0x22b)]===_0x565581(0x216)&&(_0x273933['ws']['on']('CB:call',async _0x1f26b8=>{const _0x3528f5=_0x565581,_0x52996f=_0x1f26b8['content'][0x0][_0x3528f5(0x201)]['call-creator'];if(_0x1f26b8[_0x3528f5(0x27f)][0x0][_0x3528f5(0x225)]==_0x3528f5(0x262)){let _0x211282=await _0x273933[_0x3528f5(0x275)](_0x52996f,global[_0x3528f5(0x1f2)]),_0x4c09af=callblockmsg||_0x3528f5(0x1f1);_0x273933[_0x3528f5(0x1f6)](_0x52996f,{'text':_0x4c09af},{'quoted':_0x211282}),await sleep(0x1f40),await _0x273933[_0x3528f5(0x22a)](_0x52996f,_0x3528f5(0x227));}}),_0x273933['ev']['on'](_0x565581(0x2c0),async _0x565a93=>{const _0x8cd63=_0x565581;try{ppgc=await _0x273933['profilePictureUrl'](_0x565a93[0x0]['id'],_0x8cd63(0x2aa));}catch{ppgc=_0x8cd63(0x260);}let _0x182a13={'url':ppgc};if(_0x565a93[0x0][_0x8cd63(0x20b)]==!![]){let _0x81d5ba=_0x8cd63(0x210);_0x273933[_0x8cd63(0x1f6)](_0x565a93[0x0]['id'],{'image':await getBuffer(ppgc),'caption':_0x81d5ba,'footer':_0x8cd63(0x203)+global['mainfooter'],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global[_0x8cd63(0x1f8)],'url':''+global['butturl1']}}]});}else{if(_0x565a93[0x0][_0x8cd63(0x20b)]==![]){let _0x1dcc55=_0x8cd63(0x286);_0x273933[_0x8cd63(0x1f6)](_0x565a93[0x0]['id'],{'image':await getBuffer(ppgc),'caption':_0x1dcc55,'footer':_0x8cd63(0x203)+global['mainfooter'],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global['linkbuttid1'],'url':''+global['butturl1']}}]});}else{if(_0x565a93[0x0]['restrict']==!![]){let _0x3089f4=_0x8cd63(0x250);_0x273933['sendMessage'](_0x565a93[0x0]['id'],{'image':await getBuffer(ppgc),'caption':_0x3089f4,'footer':_0x8cd63(0x203)+global[_0x8cd63(0x212)],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global[_0x8cd63(0x1f8)],'url':''+global[_0x8cd63(0x28c)]}}]});}else{if(_0x565a93[0x0]['restrict']==![]){let _0x390f3a='Group\x20Settings\x20Change\x20\x0a\x0aGroup\x20info\x20has\x20been\x20opened,\x20Now\x20participants\x20can\x20edit\x20group\x20info\x20!';_0x273933['sendMessage'](_0x565a93[0x0]['id'],{'image':await getBuffer(ppgc),'caption':_0x390f3a,'footer':_0x8cd63(0x203)+global[_0x8cd63(0x212)],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global[_0x8cd63(0x1f8)],'url':''+global[_0x8cd63(0x28c)]}}]});}else{let _0x5da29a='Group\x20Settings\x20Change\x20\x0a\x0aGroup\x20Subject\x20has\x20been\x20changed\x20to\x20*'+_0x565a93[0x0]['subject']+'*';_0x273933[_0x8cd63(0x1f6)](_0x565a93[0x0]['id'],{'image':await getBuffer(ppgc),'caption':_0x5da29a,'footer':_0x8cd63(0x203)+global[_0x8cd63(0x212)],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global['linkbuttid1'],'url':''+global[_0x8cd63(0x28c)]}}]});}}}}}),_0x273933['ev']['on'](_0x565581(0x26d),async _0x335750=>{const _0x317880=_0x565581;console[_0x317880(0x241)](_0x335750);try{let _0x5b353f=await _0x273933[_0x317880(0x29c)](_0x335750['id']),_0x28a2c7=_0x335750[_0x317880(0x251)];for(let _0x4bf892 of _0x28a2c7){try{ppuser=await _0x273933[_0x317880(0x24c)](_0x4bf892,'image');}catch{ppuser=_0x317880(0x260);}try{ppgroup=await _0x273933[_0x317880(0x24c)](_0x335750['id'],_0x317880(0x2aa));}catch{ppgroup='https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg';}if(_0x335750['action']=='add'){hesa=''+_0x28a2c7,mestes=_0x4add85=>{return _0x4add85['replace'](/['@s whatsapp.net']/g,'\x20');},resa=''+mestes(hesa);const _0x51481e=moment['tz']('Asia/Kolkata')[_0x317880(0x2b9)](_0x317880(0x2a4)),_0x30c588=moment['tz'](_0x317880(0x22e))[_0x317880(0x2b9)](_0x317880(0x1fa)),_0x3c6e91=_0x5b353f[_0x317880(0x251)][_0x317880(0x2b5)];orgnye=_0x4bf892,mbc=_0x317880(0x29e)+_0x4bf892['split']('@')[0x0]+'\x0a𝕎𝕖𝕝𝕔𝕠𝕞𝕖\x20𝕥𝕠\x20*'+_0x5b353f['subject']+_0x317880(0x272)+_0x3c6e91+_0x317880(0x283)+_0x51481e+'\x20'+_0x30c588+_0x317880(0x234)+_0x5b353f[_0x317880(0x208)]+_0x317880(0x2a6),_0x273933[_0x317880(0x1f6)](_0x335750['id'],{'image':await getBuffer(ppuser),'caption':mbc,'footer':''+global['mainfooter'],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global['linkbuttid1'],'url':''+global[_0x317880(0x28c)]}}]},{'quoted':m});}if(_0x335750[_0x317880(0x297)]==_0x317880(0x298)){hesa=''+_0x28a2c7,mestes=_0x76ca03=>{const _0x5ea064=_0x317880;return _0x76ca03[_0x5ea064(0x25a)](/['@s whatsapp.net']/g,'\x20');},resa=''+mestes(hesa);const _0x57577f=moment['tz'](_0x317880(0x22e))[_0x317880(0x2b9)](_0x317880(0x2a4)),_0x1342c9=moment['tz'](_0x317880(0x22e))['format'](_0x317880(0x1fa)),_0x4e0033=_0x5b353f['participants'][_0x317880(0x2b5)];orgnye=_0x4bf892,mbc='\x0a@'+_0x4bf892[_0x317880(0x25e)]('@')[0x0]+_0x317880(0x264)+_0x4e0033+'*\x0a𝕃𝕖𝕗𝕥\x20:\x20'+_0x57577f+'\x20'+_0x1342c9+_0x317880(0x2a6),_0x273933[_0x317880(0x1f6)](_0x335750['id'],{'image':await getBuffer(ppuser),'caption':mbc,'footer':''+global[_0x317880(0x212)],'mentions':[orgnye],'templateButtons':[{'urlButton':{'displayText':''+global[_0x317880(0x1f8)],'url':''+global[_0x317880(0x28c)]}}]},{'quoted':m});}}}catch(_0x8bef4e){console['log'](_0x8bef4e);}})),_0x273933['decodeJid']=_0x5efd78=>{const _0x4bcc03=_0x565581;if(!_0x5efd78)return _0x5efd78;if(/:\d+@/gi['test'](_0x5efd78)){let _0xf26646=jidDecode(_0x5efd78)||{};return _0xf26646['user']&&_0xf26646[_0x4bcc03(0x267)]&&_0xf26646[_0x4bcc03(0x295)]+'@'+_0xf26646[_0x4bcc03(0x267)]||_0x5efd78;}else return _0x5efd78;},_0x273933['ev']['on'](_0x565581(0x26f),_0xd3dd6b=>{const _0x161463=_0x565581;for(let _0x1812b2 of _0xd3dd6b){let _0x2dded0=_0x273933[_0x161463(0x26c)](_0x1812b2['id']);if(_0x54a5c9&&_0x54a5c9['contacts'])_0x54a5c9[_0x161463(0x26b)][_0x2dded0]={'id':_0x2dded0,'name':_0x1812b2[_0x161463(0x2b8)]};}}),_0x273933['getName']=(_0xe8970,_0xa5b9e1=![])=>{const _0x5065b7=_0x565581;id=_0x273933['decodeJid'](_0xe8970),_0xa5b9e1=_0x273933[_0x5065b7(0x28e)]||_0xa5b9e1;let _0x3343b6;if(id[_0x5065b7(0x25b)]('@g.us'))return new Promise(async _0x555f9b=>{const _0x4669e7=_0x5065b7;_0x3343b6=_0x54a5c9[_0x4669e7(0x26b)][id]||{};if(!(_0x3343b6[_0x4669e7(0x29b)]||_0x3343b6['subject']))_0x3343b6=_0x273933[_0x4669e7(0x29c)](id)||{};_0x555f9b(_0x3343b6['name']||_0x3343b6['subject']||PhoneNumber('+'+id['replace']('@s.whatsapp.net',''))[_0x4669e7(0x270)](_0x4669e7(0x288)));});else _0x3343b6=id===_0x5065b7(0x2b6)?{'id':id,'name':_0x5065b7(0x2b7)}:id===_0x273933[_0x5065b7(0x26c)](_0x273933['user']['id'])?_0x273933['user']:_0x54a5c9[_0x5065b7(0x26b)][id]||{};return(_0xa5b9e1?'':_0x3343b6[_0x5065b7(0x29b)])||_0x3343b6[_0x5065b7(0x2bd)]||_0x3343b6['verifiedName']||PhoneNumber('+'+_0xe8970['replace'](_0x5065b7(0x253),''))['getNumber'](_0x5065b7(0x288));},_0x273933[_0x565581(0x275)]=async(_0x1578d6,_0x463593,_0x4db3fc='',_0x2d704f={})=>{const _0x3f6fca=_0x565581;let _0x4030e9=[];for(let _0x3d8ef7 of _0x463593){_0x4030e9[_0x3f6fca(0x1fc)]({'displayName':await _0x273933[_0x3f6fca(0x24e)](_0x3d8ef7+_0x3f6fca(0x253)),'vcard':_0x3f6fca(0x261)+await _0x273933['getName'](_0x3d8ef7+_0x3f6fca(0x253))+_0x3f6fca(0x204)+await _0x273933[_0x3f6fca(0x24e)](_0x3d8ef7+_0x3f6fca(0x253))+'\x0a\x0a\x09\x20\x20\x20\x20\x09item1.TEL;waid='+_0x3d8ef7+':'+_0x3d8ef7+_0x3f6fca(0x276)+idmail+_0x3f6fca(0x24d)+instagramID+_0x3f6fca(0x1fd)+GitHubID+_0x3f6fca(0x24b)+YouTubeID+_0x3f6fca(0x21d)});}_0x273933['sendMessage'](_0x1578d6,{'contacts':{'displayName':_0x4030e9[_0x3f6fca(0x2b5)]+'\x20Contact','contacts':_0x4030e9},..._0x2d704f},{'quoted':_0x4db3fc});},_0x273933[_0x565581(0x22f)]=async(_0x5ac2b8,_0x525667,_0x209c0e='',_0x40ac6b={})=>{const _0x41cd36=_0x565581;let _0x1faa98=[];for(let _0x2cac0f of _0x525667){_0x1faa98[_0x41cd36(0x1fc)]({'displayName':_0x41cd36(0x1f0),'vcard':'BEGIN:VCARD\x0a\x0a\x09\x20\x20\x20\x20\x09VERSION:3.0\x0a\x0a\x09\x20\x20\x20\x20\x09N:ALBIN\x20THOMAS\x0a\x0a\x09\x20\x20\x20\x20\x09FN:ALIEN\x0a\x0a\x09\x20\x20\x20\x20\x09item1.TEL;waid='+_0x2cac0f+':'+_0x2cac0f+'\x0a\x0a\x09\x20\x20\x20\x20\x09item1.X-ABLabel:WhatsApp\x0a\x0a\x09\x20\x20\x20\x20\x09item2.EMAIL;type=INTERNET:[email protected]\x0a\x0a\x09\x20\x20\x20\x20\x09item3.URL:https://www.instagram.com/alienalfa/\x0a\x0a\x09\x20\x20\x20\x20\x09item3.X-ABLabel:Instagram\x0a\x0a\x09\x20\x20\x20\x20\x09item4.URL:https://github.com/Alien-alfa/\x0a\x0a\x09\x20\x20\x20\x20\x09item4.X-ABLabel:GitHub\x0a\x0a\x09\x20\x20\x20\x20\x09item5.URL:https://youtube.com/Alien-alfa/\x0a\x0a\x09\x20\x20\x20\x20\x09item5.X-ABLabel:YouTube\x0a\x0a\x09\x20\x20\x20\x20\x09END:VCARD'});}_0x273933['sendMessage'](_0x5ac2b8,{'contacts':{'displayName':_0x41cd36(0x1f0),'contacts':_0x1faa98},..._0x40ac6b},{'quoted':_0x209c0e});},_0x273933[_0x565581(0x269)]=_0x520618=>{const _0x172b57=_0x565581;return _0x273933[_0x172b57(0x27e)]({'tag':'iq','attrs':{'to':_0x172b57(0x253),'type':_0x172b57(0x2c1),'xmlns':_0x172b57(0x2ad)},'content':[{'tag':'status','attrs':{},'content':Buffer[_0x172b57(0x25d)](_0x520618,_0x172b57(0x218))}]}),_0x520618;},worktype===_0x565581(0x2a3)&&(_0x273933[_0x565581(0x2a3)]=!![]),worktype===_0x565581(0x2a0)&&(_0x273933[_0x565581(0x2a3)]=![]),_0x273933[_0x565581(0x29f)]=_0x721365=>smsg(_0x273933,_0x721365,_0x54a5c9),_0x273933['ev']['on'](_0x565581(0x2b4),async _0x42bf08=>{const _0x11f4af=_0x565581,{connection:_0x1e9668,lastDisconnect:_0x3f6308}=_0x42bf08;if(_0x1e9668===_0x11f4af(0x23f)){let _0x581d31=new Boom(_0x3f6308?.['error'])?.[_0x11f4af(0x23e)][_0x11f4af(0x2ae)];if(_0x581d31===DisconnectReason[_0x11f4af(0x2c2)])console[_0x11f4af(0x241)](_0x11f4af(0x27a)),_0x273933[_0x11f4af(0x2a9)]();else{if(_0x581d31===DisconnectReason[_0x11f4af(0x1f4)])console[_0x11f4af(0x241)](_0x11f4af(0x290)),_0x468d13();else{if(_0x581d31===DisconnectReason[_0x11f4af(0x2b2)])console[_0x11f4af(0x241)](_0x11f4af(0x248)),_0x468d13();else{if(_0x581d31===DisconnectReason[_0x11f4af(0x202)])console['log'](_0x11f4af(0x24a)),_0x273933[_0x11f4af(0x2a9)]();else{if(_0x581d31===DisconnectReason[_0x11f4af(0x274)])console['log'](_0x11f4af(0x2ac)),_0x273933['logout']();else{if(_0x581d31===DisconnectReason['restartRequired'])console[_0x11f4af(0x241)](_0x11f4af(0x21e)),_0x468d13();else{if(_0x581d31===DisconnectReason[_0x11f4af(0x200)])console[_0x11f4af(0x241)](_0x11f4af(0x268)),_0x468d13();else _0x273933['end'](_0x11f4af(0x28f)+_0x581d31+'|'+_0x1e9668);}}}}}}}console[_0x11f4af(0x241)]('Connected...',_0x42bf08);}),_0x273933['ev']['on'](_0x565581(0x2b3),_0x4a1905),_0x273933[_0x565581(0x217)]=async(_0x1fb848,_0x4a9364='',_0x2474f4='',_0x2f85c2,_0x5893c1=[],_0x59a0c1={})=>{const _0x13272f=_0x565581;let _0x413f1e=await prepareWAMessageMedia({'image':_0x2f85c2},{'upload':_0x273933[_0x13272f(0x292)]});var _0x20b2bf=generateWAMessageFromContent(m[_0x13272f(0x243)],proto[_0x13272f(0x281)]['fromObject']({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x413f1e['imageMessage'],'hydratedContentText':_0x4a9364,'hydratedFooterText':_0x2474f4,'hydratedButtons':_0x5893c1}}}),_0x59a0c1);_0x273933[_0x13272f(0x258)](_0x1fb848,_0x20b2bf[_0x13272f(0x223)],{'messageId':_0x20b2bf[_0x13272f(0x299)]['id']});},_0x273933[_0x565581(0x23c)]=(_0x2fa6a9,_0x37bb72=[],_0x345e95,_0x2a8c56,_0x2cd19a='',_0x13d12a={})=>{const _0x287024=_0x565581;let _0xae75ce={'text':_0x345e95,'footer':_0x2a8c56,'buttons':_0x37bb72,'headerType':0x2,..._0x13d12a};_0x273933[_0x287024(0x1f6)](_0x2fa6a9,_0xae75ce,{'quoted':_0x2cd19a,..._0x13d12a});},_0x273933[_0x565581(0x2ba)]=async(_0x4aea2a,_0x4cf0c8,_0xfbe8a6,_0x55e962,_0x10a8b3,_0x55adbf,_0x4c4d35,_0x387f04,_0x121a7a,_0x1eb71b,_0xeadd77,_0x2cdee2,_0x165d42,_0x206cce,_0x14ded0,_0x18df91)=>{const _0x28c31d=_0x565581,_0x50a6b6={'image':{'url':_0x55e962},..._0x18df91,'jpegThumbnail':await(await fetch(profileimage))['buffer'](),'caption':_0x4cf0c8,'footer':_0xfbe8a6,'templateButtons':[{'urlButton':{'displayText':_0x10a8b3,'url':_0x55adbf}},{'urlButton':{'displayText':_0x4c4d35,'url':_0x387f04}},{'quickReplyButton':{'displayText':_0x121a7a,'id':_0x1eb71b}},{'quickReplyButton':{'displayText':_0xeadd77,'id':_0x2cdee2}},{'quickReplyButton':{'displayText':_0x165d42,'id':_0x206cce}}]};return await conn[_0x28c31d(0x1f6)](_0x4aea2a,_0x50a6b6,{'quoted':_0x14ded0,..._0x18df91});},_0x273933['sendText']=(_0x3ee72e,_0x2fe1f9,_0x4db735='',_0xa00cdd)=>_0x273933['sendMessage'](_0x3ee72e,{'text':_0x2fe1f9,..._0xa00cdd},{'quoted':_0x4db735}),_0x273933[_0x565581(0x245)]=async(_0x4099c8,_0x504889,_0x2cf5c0='',_0x1796fa='',_0x377898)=>{const _0x24318a=_0x565581;let _0xf21d97=Buffer[_0x24318a(0x219)](_0x504889)?_0x504889:/^data:.*?\/.*?;base64,/i['test'](_0x504889)?Buffer[_0x24318a(0x25d)](_0x504889[_0x24318a(0x25e)]`,`[0x1],'base64'):/^https?:\/\//[_0x24318a(0x213)](_0x504889)?await await getBuffer(_0x504889):fs[_0x24318a(0x291)](_0x504889)?fs[_0x24318a(0x21c)](_0x504889):Buffer[_0x24318a(0x205)](0x0);return await _0x273933[_0x24318a(0x1f6)](_0x4099c8,{'image':_0xf21d97,'caption':_0x2cf5c0,..._0x377898},{'quoted':_0x1796fa});},_0x273933[_0x565581(0x2af)]=async(_0x5a14ea,_0x4e1e90,_0xdaba3='',_0x5e76f5='',_0xd3828c=![],_0x45434d)=>{const _0xe5854b=_0x565581;let _0x36cb0a=Buffer['isBuffer'](_0x4e1e90)?_0x4e1e90:/^data:.*?\/.*?;base64,/i['test'](_0x4e1e90)?Buffer[_0xe5854b(0x25d)](_0x4e1e90[_0xe5854b(0x25e)]`,`[0x1],'base64'):/^https?:\/\//[_0xe5854b(0x213)](_0x4e1e90)?await await getBuffer(_0x4e1e90):fs[_0xe5854b(0x291)](_0x4e1e90)?fs['readFileSync'](_0x4e1e90):Buffer[_0xe5854b(0x205)](0x0);return await _0x273933['sendMessage'](_0x5a14ea,{'video':_0x36cb0a,'caption':_0xdaba3,'gifPlayback':_0xd3828c,..._0x45434d},{'quoted':_0x5e76f5});},_0x273933[_0x565581(0x2a5)]=async(_0x1f4d34,_0x188a44,_0x4a537a='',_0x2abb08=![],_0x1d59fa)=>{const _0x2f23ef=_0x565581;let _0x19bcd8=Buffer[_0x2f23ef(0x219)](_0x188a44)?_0x188a44:/^data:.*?\/.*?;base64,/i['test'](_0x188a44)?Buffer['from'](_0x188a44['split']`,`[0x1],_0x2f23ef(0x23b)):/^https?:\/\//[_0x2f23ef(0x213)](_0x188a44)?await await getBuffer(_0x188a44):fs[_0x2f23ef(0x291)](_0x188a44)?fs[_0x2f23ef(0x21c)](_0x188a44):Buffer['alloc'](0x0);return await _0x273933['sendMessage'](_0x1f4d34,{'audio':_0x19bcd8,'ptt':_0x2abb08,..._0x1d59fa},{'quoted':_0x4a537a});},_0x273933[_0x565581(0x27b)]=async(_0xd99e00,_0x5f3c8d,_0x13100d,_0x4c96c6={})=>_0x273933['sendMessage'](_0xd99e00,{'text':_0x5f3c8d,'contextInfo':{'mentionedJid':[..._0x5f3c8d[_0x565581(0x255)](/@(\d{0,16})/g)][_0x565581(0x224)](_0x28bb77=>_0x28bb77[0x1]+'@s.whatsapp.net')},..._0x4c96c6},{'quoted':_0x13100d}),_0x273933[_0x565581(0x244)]=async(_0x49fb98,_0x1687fe,_0x316d15,_0x5e2a40={})=>{const _0x53bcab=_0x565581;let _0x3bf857=Buffer['isBuffer'](_0x1687fe)?_0x1687fe:/^data:.*?\/.*?;base64,/i[_0x53bcab(0x213)](_0x1687fe)?Buffer['from'](_0x1687fe['split']`,`[0x1],'base64'):/^https?:\/\//[_0x53bcab(0x213)](_0x1687fe)?await await getBuffer(_0x1687fe):fs[_0x53bcab(0x291)](_0x1687fe)?fs[_0x53bcab(0x21c)](_0x1687fe):Buffer[_0x53bcab(0x205)](0x0),_0x2e47e0;return _0x5e2a40&&(_0x5e2a40['packname']||_0x5e2a40['author'])?_0x2e47e0=await writeExifImg(_0x3bf857,_0x5e2a40):_0x2e47e0=await imageToWebp(_0x3bf857),await _0x273933[_0x53bcab(0x1f6)](_0x49fb98,{'sticker':{'url':_0x2e47e0},..._0x5e2a40},{'quoted':_0x316d15}),_0x2e47e0;},_0x273933['sendVideoAsSticker']=async(_0xc730a4,_0x40868a,_0xf4659a,_0x9eeb1b={})=>{const _0xe72d7f=_0x565581;let _0x440b35=Buffer[_0xe72d7f(0x219)](_0x40868a)?_0x40868a:/^data:.*?\/.*?;base64,/i[_0xe72d7f(0x213)](_0x40868a)?Buffer[_0xe72d7f(0x25d)](_0x40868a['split']`,`[0x1],_0xe72d7f(0x23b)):/^https?:\/\//[_0xe72d7f(0x213)](_0x40868a)?await await getBuffer(_0x40868a):fs[_0xe72d7f(0x291)](_0x40868a)?fs[_0xe72d7f(0x21c)](_0x40868a):Buffer[_0xe72d7f(0x205)](0x0),_0x1f1499;return _0x9eeb1b&&(_0x9eeb1b[_0xe72d7f(0x277)]||_0x9eeb1b['author'])?_0x1f1499=await writeExifVid(_0x440b35,_0x9eeb1b):_0x1f1499=await videoToWebp(_0x440b35),await _0x273933['sendMessage'](_0xc730a4,{'sticker':{'url':_0x1f1499},..._0x9eeb1b},{'quoted':_0xf4659a}),_0x1f1499;},_0x273933[_0x565581(0x249)]=async(_0x17b098,_0x50ac35,_0x3a97a6=!![])=>{const _0x1dab52=_0x565581;let _0x3f90ab=_0x17b098[_0x1dab52(0x25c)]?_0x17b098[_0x1dab52(0x25c)]:_0x17b098,_0x32880d=(_0x17b098['msg']||_0x17b098)[_0x1dab52(0x1f9)]||'',_0x77cae5=_0x17b098['mtype']?_0x17b098['mtype'][_0x1dab52(0x25a)](/Message/gi,''):_0x32880d[_0x1dab52(0x25e)]('/')[0x0];const _0x1bfee3=await downloadContentFromMessage(_0x3f90ab,_0x77cae5);let _0x18e895=Buffer[_0x1dab52(0x25d)]([]);for await(const _0x3031e4 of _0x1bfee3){_0x18e895=Buffer['concat']([_0x18e895,_0x3031e4]);}let _0x2d400b=await FileType[_0x1dab52(0x206)](_0x18e895);return trueFileName=_0x3a97a6?_0x50ac35+'.'+_0x2d400b[_0x1dab52(0x207)]:_0x50ac35,await fs['writeFileSync'](trueFileName,_0x18e895),trueFileName;},_0x273933['downloadMediaMessage']=async _0x1ffa4d=>{const _0x2c19b4=_0x565581;let _0x51fef3=(_0x1ffa4d['msg']||_0x1ffa4d)['mimetype']||'',_0x1563da=_0x1ffa4d[_0x2c19b4(0x26e)]?_0x1ffa4d[_0x2c19b4(0x26e)]['replace'](/Message/gi,''):_0x51fef3[_0x2c19b4(0x25e)]('/')[0x0];const _0x2084a8=await downloadContentFromMessage(_0x1ffa4d,_0x1563da);let _0xfdc362=Buffer['from']([]);for await(const _0x28e3dd of _0x2084a8){_0xfdc362=Buffer['concat']([_0xfdc362,_0x28e3dd]);}return _0xfdc362;},_0x273933[_0x565581(0x20f)]=async(_0x53c294,_0x5be626,_0x49c8d7='',_0x523d3e='',_0x3ebe9d='',_0x353a69={})=>{const _0x480d5d=_0x565581;let _0x59c91d=await _0x273933['getFile'](_0x5be626,!![]),{mime:_0x29adf0,ext:_0x3936fc,res:_0x22be5a,data:_0x5dd8e9,filename:_0x1dd335}=_0x59c91d;if(_0x22be5a&&_0x22be5a['status']!==0xc8||file[_0x480d5d(0x2b5)]<=0x10000)try{throw{'json':JSON[_0x480d5d(0x239)](file[_0x480d5d(0x2b0)]())};}catch(_0x5e3398){if(_0x5e3398[_0x480d5d(0x1fe)])throw _0x5e3398[_0x480d5d(0x1fe)];}let _0x44399b='',_0x1fc63c=_0x29adf0,_0x4a56d7=_0x1dd335;if(_0x353a69['asDocument'])_0x44399b=_0x480d5d(0x24f);if(_0x353a69[_0x480d5d(0x2bb)]||/webp/[_0x480d5d(0x213)](_0x29adf0)){let {writeExif:_0x2875fd}=require(_0x480d5d(0x232)),_0x541c2e={'mimetype':_0x29adf0,'data':_0x5dd8e9};_0x4a56d7=await _0x2875fd(_0x541c2e,{'packname':_0x353a69[_0x480d5d(0x277)]?_0x353a69[_0x480d5d(0x277)]:global[_0x480d5d(0x277)],'author':_0x353a69[_0x480d5d(0x2c3)]?_0x353a69['author']:global['author'],'categories':_0x353a69[_0x480d5d(0x296)]?_0x353a69['categories']:[]}),await fs[_0x480d5d(0x247)][_0x480d5d(0x1f5)](_0x1dd335),_0x44399b=_0x480d5d(0x23a),_0x1fc63c=_0x480d5d(0x235);}else{if(/image/[_0x480d5d(0x213)](_0x29adf0))_0x44399b=_0x480d5d(0x2aa);else{if(/video/[_0x480d5d(0x213)](_0x29adf0))_0x44399b=_0x480d5d(0x20e);else{if(/audio/[_0x480d5d(0x213)](_0x29adf0))_0x44399b=_0x480d5d(0x273);else _0x44399b=_0x480d5d(0x24f);}}}return await _0x273933['sendMessage'](_0x53c294,{[_0x44399b]:{'url':_0x4a56d7},'caption':_0x523d3e,'mimetype':_0x1fc63c,'fileName':_0x49c8d7,..._0x353a69},{'quoted':_0x3ebe9d,..._0x353a69}),fs[_0x480d5d(0x247)][_0x480d5d(0x1f5)](_0x4a56d7);},_0x273933[_0x565581(0x23d)]=async(_0x43e813,_0x479ab6,_0x389183=![],_0x9b6cf={})=>{const _0x58df62=_0x565581;let _0x28240e;_0x9b6cf[_0x58df62(0x2bc)]&&(_0x479ab6[_0x58df62(0x223)]=_0x479ab6[_0x58df62(0x223)]&&_0x479ab6['message'][_0x58df62(0x231)]&&_0x479ab6[_0x58df62(0x223)][_0x58df62(0x231)][_0x58df62(0x223)]?_0x479ab6[_0x58df62(0x223)]['ephemeralMessage'][_0x58df62(0x223)]:_0x479ab6[_0x58df62(0x223)]||undefined,_0x28240e=Object[_0x58df62(0x1f7)](_0x479ab6['message'][_0x58df62(0x229)][_0x58df62(0x223)])[0x0],delete(_0x479ab6[_0x58df62(0x223)]&&_0x479ab6[_0x58df62(0x223)]['ignore']?_0x479ab6[_0x58df62(0x223)][_0x58df62(0x240)]:_0x479ab6[_0x58df62(0x223)]||undefined),delete _0x479ab6['message'][_0x58df62(0x229)]['message'][_0x28240e][_0x58df62(0x29d)],_0x479ab6['message']={..._0x479ab6[_0x58df62(0x223)]['viewOnceMessage']['message']});let _0x1a122f=Object[_0x58df62(0x1f7)](_0x479ab6[_0x58df62(0x223)])[0x0],_0x4cdb2b=await generateForwardMessageContent(_0x479ab6,_0x389183),_0x5b44e5=Object[_0x58df62(0x1f7)](_0x4cdb2b)[0x0],_0x2d1b6f={};if(_0x1a122f!='conversation')_0x2d1b6f=_0x479ab6[_0x58df62(0x223)][_0x1a122f][_0x58df62(0x222)];_0x4cdb2b[_0x5b44e5]['contextInfo']={..._0x2d1b6f,..._0x4cdb2b[_0x5b44e5]['contextInfo']};const _0xa49fde=await generateWAMessageFromContent(_0x43e813,_0x4cdb2b,_0x9b6cf?{..._0x4cdb2b[_0x5b44e5],..._0x9b6cf,..._0x9b6cf['contextInfo']?{'contextInfo':{..._0x4cdb2b[_0x5b44e5]['contextInfo'],..._0x9b6cf[_0x58df62(0x222)]}}:{}}:{});return await _0x273933[_0x58df62(0x258)](_0x43e813,_0xa49fde[_0x58df62(0x223)],{'messageId':_0xa49fde[_0x58df62(0x299)]['id']}),_0xa49fde;},_0x273933[_0x565581(0x28b)]=(_0x19a34b,_0x2efd19,_0x58cc9b='',_0x27ab99=_0x273933[_0x565581(0x295)]['id'],_0x2d17a8={})=>{const _0x1561c7=_0x565581;let _0x393232=Object[_0x1561c7(0x1f7)](_0x2efd19['message'])[0x0],_0x920fb3=_0x393232===_0x1561c7(0x231);_0x920fb3&&(_0x393232=Object[_0x1561c7(0x1f7)](_0x2efd19['message'][_0x1561c7(0x231)][_0x1561c7(0x223)])[0x0]);let _0x2cc02e=_0x920fb3?_0x2efd19[_0x1561c7(0x223)][_0x1561c7(0x231)][_0x1561c7(0x223)]:_0x2efd19[_0x1561c7(0x223)],_0x170040=_0x2cc02e[_0x393232];if(typeof _0x170040===_0x1561c7(0x209))_0x2cc02e[_0x393232]=_0x58cc9b||_0x170040;else{if(_0x170040['caption'])_0x170040[_0x1561c7(0x280)]=_0x58cc9b||_0x170040[_0x1561c7(0x280)];else{if(_0x170040[_0x1561c7(0x256)])_0x170040[_0x1561c7(0x256)]=_0x58cc9b||_0x170040[_0x1561c7(0x256)];}}if(typeof _0x170040!==_0x1561c7(0x209))_0x2cc02e[_0x393232]={..._0x170040,..._0x2d17a8};if(_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2a2)])_0x27ab99=_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2a2)]=_0x27ab99||_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2a2)];else{if(_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2a2)])_0x27ab99=_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2a2)]=_0x27ab99||_0x2efd19['key'][_0x1561c7(0x2a2)];}if(_0x2efd19['key']['remoteJid'][_0x1561c7(0x233)](_0x1561c7(0x253)))_0x27ab99=_0x27ab99||_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x214)];else{if(_0x2efd19['key']['remoteJid'][_0x1561c7(0x233)](_0x1561c7(0x279)))_0x27ab99=_0x27ab99||_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x214)];}return _0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x214)]=_0x19a34b,_0x2efd19[_0x1561c7(0x299)][_0x1561c7(0x2b1)]=_0x27ab99===_0x273933[_0x1561c7(0x295)]['id'],proto[_0x1561c7(0x2bf)]['fromObject'](_0x2efd19);},_0x273933[_0x565581(0x278)]=async(_0x135e87,_0xca2ee1)=>{const _0x237488=_0x565581;let _0x2525b3,_0x4fa3bd=Buffer[_0x237488(0x219)](_0x135e87)?_0x135e87:/^data:.*?\/.*?;base64,/i[_0x237488(0x213)](_0x135e87)?Buffer[_0x237488(0x25d)](_0x135e87[_0x237488(0x25e)]`,`[0x1],_0x237488(0x23b)):/^https?:\/\//[_0x237488(0x213)](_0x135e87)?await(_0x2525b3=await getBuffer(_0x135e87)):fs[_0x237488(0x291)](_0x135e87)?(filename=_0x135e87,fs[_0x237488(0x21c)](_0x135e87)):typeof _0x135e87===_0x237488(0x209)?_0x135e87:Buffer[_0x237488(0x205)](0x0),_0x31180a=await FileType[_0x237488(0x206)](_0x4fa3bd)||{'mime':_0x237488(0x215),'ext':_0x237488(0x26a)};filename=path[_0x237488(0x228)](__filename,_0x237488(0x271)+new Date()*0x1+'.'+_0x31180a[_0x237488(0x207)]);if(_0x4fa3bd&&_0xca2ee1)fs[_0x237488(0x247)][_0x237488(0x20c)](filename,_0x4fa3bd);return{'res':_0x2525b3,'filename':filename,'size':await getSizeMedia(_0x4fa3bd),..._0x31180a,'data':_0x4fa3bd};},_0x273933;}_0x468d13();},0xbb8);let file=require['resolve'](__filename);fs[_0x110326(0x27c)](file,()=>{const _0x1ecb83=_0x110326;fs[_0x1ecb83(0x289)](file),console['log'](chalk[_0x1ecb83(0x27d)]('Update\x20'+__filename)),delete require[_0x1ecb83(0x236)][file],require(file);});