-
Notifications
You must be signed in to change notification settings - Fork 718
/
simple.js
1 lines (1 loc) · 50.2 KB
/
simple.js
1
const _0x39a9a3=_0x5afd;(function(_0x3d23f0,_0x469809){const _0x3e1ec5=_0x5afd,_0x35db8f=_0x3d23f0();while(!![]){try{const _0x4d30ef=parseInt(_0x3e1ec5(0x14b))/0x1*(parseInt(_0x3e1ec5(0x73))/0x2)+parseInt(_0x3e1ec5(0xb3))/0x3+-parseInt(_0x3e1ec5(0xb7))/0x4*(parseInt(_0x3e1ec5(0x121))/0x5)+parseInt(_0x3e1ec5(0xa1))/0x6+parseInt(_0x3e1ec5(0x13a))/0x7*(parseInt(_0x3e1ec5(0x81))/0x8)+-parseInt(_0x3e1ec5(0x133))/0x9*(parseInt(_0x3e1ec5(0x98))/0xa)+parseInt(_0x3e1ec5(0x110))/0xb;if(_0x4d30ef===_0x469809)break;else _0x35db8f['push'](_0x35db8f['shift']());}catch(_0x504fea){_0x35db8f['push'](_0x35db8f['shift']());}}}(_0x5c51,0xd8337));function hi(){const _0x2ec702=_0x5afd;console['log'](_0x2ec702(0xd2));}hi();function _0x5c51(){const _0x51ed48=['isDeepStrictEqual','isNumber','getQuotedMessage','message','msg','participant','2375715peVuja','sendFile','status@broadcast','string','36VsLyCi','toTimeString','sendPoll','application','server','key','buffer','isChats','international','ext','rand','sendTextWithMentions','messageStubType','jid','hydratedTemplate','arraybuffer','data','random','base64','sendStvid','getFileType','file-type','push','mtype','prepareMessageFromContent','g.us','filename','Hello\x20World!','mimetype','cMod','message.delete','url','Error\x20:\x20','@broadcast','error','GroupInviteMessage','serializeM','sendReadReceipt','isBaileys','sendStimg','notify','.bin','\x0aX-WA-BIZ-DESCRIPTION:','asImage','prototype','sendContact','title','utf-8','Message','delay','toBuffer','join','fromMe','@s.whatsapp.net','vname','chats.set','WhatsApp','substring','emit','capitalize','subject','GROUP_CHANGE_INVITE_LINK','toJSON','lastKnownPresence','bold','pushName','name','toArrayBufferV2','presence.update','flat','sendMessage','WebMessageInfo','toUpperCase','existsSync','log','directPath','author','s.whatsapp.net','reply2','writeFile','Max\x20tries\x20reached','groupFetchAllParticipating','set','mentionedJid','Result\x20is\x20not\x20a\x20buffer','getName','messageContextInfo','readFileSync','store','8419983NBWoEq','trim','messageStubParameters','filter','@g.us','Input\x20and\x20Output\x20must\x20have\x20same\x20length','document','decodeJid','remoteJid','displayName','INFO\x20[','pushMessage','3EB0','composing','\x20Hari\x20','isBuffer','contextInfo','964805ItaGrE','text','relayMessage','\x20day(s)\x20','\x0aBEGIN:VCARD\x0aVERSION:3.0\x0aFN:','sendGroupV4Invite','selectedDisplayText','audio/ogg;\x20codecs=opus','getRandom','node-fetch','json','slice','isArray','adReply','makeWASocket','mime','MIME_JPEG','sendList','390024NTfAJr','\x0aitem2.EMAIL;type=INTERNET:','description','groupId','fromEntries','unlink','cyan','308iZnMpM','resize','forwardMessage','chats.upsert','isGroup','\x20kontak','protocolMessage','capitalizeV2','loadMessage','quotedMessage','image','conversation','groupMetadata','stringify','catch','ERROR\x20[','includes','2255CcDKRH','status','legacy','profilePictureUrl','promises','chats','read','sticker','getFile','packname','msToDate','find','rgb','object','endsWith','presences','@whiskeysockets/baileys','keyword','parse','length','map','audioMessage','CIPHERTEXT','reply','user','off','\x20minute(s)\x20','ephemeralMessage','toObject','messages','orange','replace','email','senderKeyDistributionMessage','jimp','protoType','unknown\x20subject','copy','REVOKE','638klRRCe','downloadAndSaveMediaMessage','getBusinessProfile','floor','from','logger','file','downloadM','insertAllGroup','../tmp/','sendImageAsSticker','quoted','application/octet-stream','keys','108600llGXOf','stanzaId','caption','concat','metadata','\x0aitem2.X-ABLabel:Email\x0aPHOTO;BASE64:','silent','\x20hour(s)\x20','entries','processMessageStubType','logic','smsg','chat','startsWith','./converter','groups.update','test','path','sender','\x20second(s)','rowId','extendedTextMessage','getNumber','190PxhCwB','getBufferAsync','WARNING\x20[','child','query','delete','download','asDocument','parseMention','3429534NUBvdp','split','contentText','\x0aORG:\x0aitem1.TEL;waid=','\x0aX-WA-BIZ-NAME:','asSticker','stickerMessage','alloc','toString','fromObject','copyNForward','byteLength'];_0x5c51=function(){return _0x51ed48;};return _0x5c51();}const {default:makeWASocket,makeWALegacySocket,extractMessageContent,makeInMemoryStore,proto,prepareWAMessageMedia,downloadContentFromMessage,getBinaryNodeChild,jidDecode,areJidsSameUser,generateForwardMessageContent,generateWAMessageFromContent,WAMessageStubType,WA_DEFAULT_EPHEMERAL}=require(_0x39a9a3(0x15b)),{toAudio,toPTT,toVideo}=require(_0x39a9a3(0x8f)),chalk=require('chalk'),fetch=require(_0x39a9a3(0x12a)),FileType=require(_0x39a9a3(0xcc)),PhoneNumber=require('awesome-phonenumber'),fs=require('fs'),path=require(_0x39a9a3(0x92));let Jimp=require(_0x39a9a3(0x16d));const pino=require('pino'),store=makeInMemoryStore({'logger':pino()[_0x39a9a3(0x9b)]({'level':_0x39a9a3(0x87),'stream':_0x39a9a3(0x10f)})}),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require('./exif'),ephemeral={'ephemeralExpiration':0x2198};exports[_0x39a9a3(0x12f)]=(_0x38b7d4,_0x538449={})=>{const _0x212d5e=_0x39a9a3;let _0x1c2b5a=(global['opts'][_0x212d5e(0x14d)]?makeWALegacySocket:makeWASocket)(_0x38b7d4);_0x1c2b5a['loadAllMessages']=_0x1c965d=>{const _0x4894f2=_0x212d5e;return Object[_0x4894f2(0x89)](_0x1c2b5a[_0x4894f2(0x150)])[_0x4894f2(0x113)](([_0x2166fb,{messages:_0x73b73a}])=>typeof _0x73b73a===_0x4894f2(0x158))[_0x4894f2(0x156)](([_0x35969b,{messages:_0x2b5e18}])=>Object[_0x4894f2(0x89)](_0x2b5e18)['find'](([_0x352a6a,_0x2e6599])=>_0x352a6a===_0x1c965d||_0x2e6599['key']?.['id']===_0x1c965d))?.[0x1][_0x4894f2(0x168)]?.[_0x1c965d];},_0x1c2b5a[_0x212d5e(0x117)]=_0x28d043=>{const _0x36ed49=_0x212d5e;if(!_0x28d043)return _0x28d043;if(/:\d+@/gi[_0x36ed49(0x91)](_0x28d043)){const _0x577954=jidDecode(_0x28d043)||{};return _0x577954[_0x36ed49(0x163)]&&_0x577954[_0x36ed49(0xbb)]&&_0x577954[_0x36ed49(0x163)]+'@'+_0x577954[_0x36ed49(0xbb)]||_0x28d043;}else return _0x28d043;};if(_0x1c2b5a[_0x212d5e(0x163)]&&_0x1c2b5a[_0x212d5e(0x163)]['id'])_0x1c2b5a[_0x212d5e(0x163)][_0x212d5e(0xc4)]=_0x1c2b5a[_0x212d5e(0x117)](_0x1c2b5a[_0x212d5e(0x163)]['id']);if(!_0x1c2b5a[_0x212d5e(0x150)])_0x1c2b5a[_0x212d5e(0x150)]={};function _0x7cb21c(_0x5db5da){const _0x3dc398=_0x212d5e;if(!_0x5db5da)return;for(const _0x22ad10 of _0x5db5da){const _0x17c6bd=_0x1c2b5a[_0x3dc398(0x117)](_0x22ad10['id']);if(!_0x17c6bd)continue;let _0x4ee04c=_0x1c2b5a['chats'][_0x17c6bd];if(!_0x4ee04c)_0x4ee04c=_0x1c2b5a[_0x3dc398(0x150)][_0x17c6bd]={'id':_0x17c6bd};_0x1c2b5a['chats'][_0x17c6bd]={..._0x4ee04c,...{..._0x22ad10,'id':_0x17c6bd,..._0x17c6bd[_0x3dc398(0x159)]('@g.us')?{'subject':_0x22ad10['subject']||_0x4ee04c[_0x3dc398(0xf3)]||''}:{'name':_0x22ad10[_0x3dc398(0xdf)]||_0x4ee04c[_0x3dc398(0xf9)]||_0x4ee04c['notify']||''}}||{}};}}return _0x1c2b5a['ev']['on']('contacts.upsert',_0x7cb21c),_0x1c2b5a['ev']['on'](_0x212d5e(0x90),_0x7cb21c),_0x1c2b5a['ev']['on'](_0x212d5e(0xee),async({chats:_0xb36bd5})=>{const _0x1ad6f1=_0x212d5e;for(const {id:_0x435929,name:_0x14436a,readOnly:_0x33b663}of _0xb36bd5){_0x435929=_0x1c2b5a['decodeJid'](_0x435929);if(!_0x435929)continue;const _0x41626c=_0x435929['endsWith'](_0x1ad6f1(0x114));let _0xec3f=_0x1c2b5a[_0x1ad6f1(0x150)][_0x435929];if(!_0xec3f)_0xec3f=_0x1c2b5a[_0x1ad6f1(0x150)][_0x435929]={'id':_0x435929};_0xec3f[_0x1ad6f1(0xbe)]=!_0x33b663;if(_0x14436a)_0xec3f[_0x41626c?'subject':_0x1ad6f1(0xf9)]=_0x14436a;if(_0x41626c){const _0x2c2ea5=await _0x1c2b5a['groupMetadata'](_0x435929)[_0x1ad6f1(0x148)](_0x22d89d=>null);if(!_0x2c2ea5)continue;_0xec3f['subject']=_0x14436a||_0x2c2ea5[_0x1ad6f1(0xf3)],_0xec3f['metadata']=_0x2c2ea5;}}}),_0x1c2b5a['ev']['on']('group-participants.update',async function _0x362eee({id:_0x3209b2,participants:_0x4daffb,action:_0x420727}){const _0x4ce6bd=_0x212d5e;_0x3209b2=_0x1c2b5a[_0x4ce6bd(0x117)](_0x3209b2);if(!(_0x3209b2 in _0x1c2b5a['chats']))_0x1c2b5a[_0x4ce6bd(0x150)][_0x3209b2]={'id':_0x3209b2};_0x1c2b5a['chats'][_0x3209b2][_0x4ce6bd(0xbe)]=!![];const _0x4df076=await _0x1c2b5a[_0x4ce6bd(0x146)](_0x3209b2)[_0x4ce6bd(0x148)](_0x6aa786=>null);if(!_0x4df076)return;_0x1c2b5a[_0x4ce6bd(0x150)][_0x3209b2]={..._0x1c2b5a['chats'][_0x3209b2],'subject':_0x4df076[_0x4ce6bd(0xf3)],'metadata':_0x4df076};}),_0x1c2b5a['ev']['on'](_0x212d5e(0x90),async function _0x22fcbe(_0x4b94fa){const _0x5b1773=_0x212d5e;for(const _0x3a60da of _0x4b94fa){const _0x4760b1=_0x1c2b5a['decodeJid'](_0x3a60da['id']);if(!_0x4760b1)continue;const _0x3f297d=_0x4760b1[_0x5b1773(0x159)](_0x5b1773(0x114));if(!_0x3f297d)continue;let _0x1b88b8=_0x1c2b5a[_0x5b1773(0x150)][_0x4760b1];if(!_0x1b88b8)_0x1b88b8=_0x1c2b5a['chats'][_0x4760b1]={'id':_0x4760b1};_0x1b88b8[_0x5b1773(0xbe)]=!![];const _0x427942=await _0x1c2b5a[_0x5b1773(0x146)](_0x4760b1)[_0x5b1773(0x148)](_0x3c16c2=>null);if(!_0x427942)continue;_0x1b88b8[_0x5b1773(0xf3)]=_0x427942[_0x5b1773(0xf3)],_0x1b88b8[_0x5b1773(0x85)]=_0x427942;}}),_0x1c2b5a['ev']['on'](_0x212d5e(0x13d),async function _0xa56fc9(_0x346283){const _0x1f0d96=_0x212d5e;console['log']({'chatsUpsert':_0x346283});const {id:_0x516587,name:_0x2f1439}=_0x346283;if(!_0x516587)return;let _0x4bde35=_0x1c2b5a[_0x1f0d96(0x150)][_0x516587]={..._0x1c2b5a['chats'][_0x516587],..._0x346283,'isChats':!![]};const _0x343310=_0x516587[_0x1f0d96(0x159)]('@g.us');if(_0x343310){const _0x3912cb=await _0x1c2b5a[_0x1f0d96(0x146)](_0x516587)[_0x1f0d96(0x148)](_0x3ca283=>null);_0x3912cb&&(_0x4bde35['subject']=_0x2f1439||_0x3912cb[_0x1f0d96(0xf3)],_0x4bde35[_0x1f0d96(0x85)]=_0x3912cb);const _0xd76112=await _0x1c2b5a[_0x1f0d96(0x108)]()['catch'](_0x30af51=>({}))||{};for(const _0xac54a8 in _0xd76112)_0x1c2b5a['chats'][_0xac54a8]={'id':_0xac54a8,'subject':_0xd76112[_0xac54a8]['subject'],'isChats':!![],'metadata':_0xd76112[_0xac54a8]};}}),_0x1c2b5a['ev']['on'](_0x212d5e(0xfb),async function _0x59ce2a({id:_0xbcfe5,presences:_0xa070eb}){const _0x330a78=_0x212d5e,_0x1320d0=Object['keys'](_0xa070eb)[0x0]||_0xbcfe5,_0x38cd88=_0x1c2b5a['decodeJid'](_0x1320d0),_0x127d36=_0xa070eb[_0x1320d0][_0x330a78(0xf6)]||_0x330a78(0x11d);let _0x294a21=_0x1c2b5a[_0x330a78(0x150)][_0x38cd88];if(!_0x294a21)_0x294a21=_0x1c2b5a[_0x330a78(0x150)][_0x38cd88]={'id':_0x1320d0};_0x294a21[_0x330a78(0x15a)]=_0x127d36;if(_0xbcfe5['endsWith'](_0x330a78(0x114))){let _0x7382d=_0x1c2b5a[_0x330a78(0x150)][_0xbcfe5];if(!_0x7382d){const _0x3104b2=await _0x1c2b5a[_0x330a78(0x146)](_0xbcfe5)['catch'](_0x1e3745=>null);if(_0x3104b2)_0x7382d=_0x1c2b5a[_0x330a78(0x150)][_0xbcfe5]={'id':_0xbcfe5,'subject':_0x3104b2[_0x330a78(0xf3)],'metadata':_0x3104b2};}_0x7382d['isChats']=!![];}}),_0x1c2b5a[_0x212d5e(0x78)]={..._0x1c2b5a['logger'],'info'(..._0x1fce56){const _0x4b2c9e=_0x212d5e;console[_0x4b2c9e(0x101)](chalk[_0x4b2c9e(0xf7)][_0x4b2c9e(0x157)](0x39,0xb7,0x10)(_0x4b2c9e(0x11a)+chalk[_0x4b2c9e(0x157)](0xff,0xff,0xff)(new Date())+']:'),chalk[_0x4b2c9e(0x139)](..._0x1fce56));},'error'(..._0x2c3267){const _0x29cfc8=_0x212d5e;console[_0x29cfc8(0x101)](chalk[_0x29cfc8(0xf7)]['rgb'](0xf7,0x26,0x21)(_0x29cfc8(0x149)+chalk['rgb'](0xff,0xff,0xff)(new Date())+']:'),chalk['rgb'](0xff,0x26,0x0)(..._0x2c3267));},'warn'(..._0x54bdbf){const _0x4762f4=_0x212d5e;console[_0x4762f4(0x101)](chalk[_0x4762f4(0xf7)][_0x4762f4(0x157)](0xef,0xe1,0x3)(_0x4762f4(0x9a)+chalk[_0x4762f4(0x157)](0xff,0xff,0xff)(new Date())+']:'),chalk[_0x4762f4(0x15c)](_0x4762f4(0x169))(..._0x54bdbf));}},_0x1c2b5a[_0x212d5e(0x153)]=async(_0x2107b4,_0x4a047b)=>{const _0x4aaced=_0x212d5e;let _0x13bac5,_0x4e5056;const _0x328fe5=Buffer[_0x4aaced(0x11f)](_0x2107b4)?_0x2107b4:/^data:.*?\/.*?;base64,/i[_0x4aaced(0x91)](_0x2107b4)?Buffer['from'](_0x2107b4['split']`,`[0x1],_0x4aaced(0xc9)):/^https?:\/\//[_0x4aaced(0x91)](_0x2107b4)?await(_0x13bac5=await fetch(_0x2107b4))[_0x4aaced(0xbd)]():fs[_0x4aaced(0x100)](_0x2107b4)?(_0x4e5056=_0x2107b4,fs[_0x4aaced(0x10e)](_0x2107b4)):typeof _0x2107b4===_0x4aaced(0xb6)?_0x2107b4:Buffer[_0x4aaced(0xa8)](0x0);if(!Buffer['isBuffer'](_0x328fe5))throw new TypeError(_0x4aaced(0x10b));const _0x31512c=await FileType['fromBuffer'](_0x328fe5)||{'mime':_0x4aaced(0x7f),'ext':_0x4aaced(0xe0)};if(_0x328fe5&&_0x4a047b&&!_0x4e5056)_0x4e5056=path[_0x4aaced(0xea)](__dirname,_0x4aaced(0x7c)+new Date()*0x1+'.'+_0x31512c[_0x4aaced(0xc0)]),await fs['promises'][_0x4aaced(0x106)](_0x4e5056,_0x328fe5);return{'res':_0x13bac5,'filename':_0x4e5056,..._0x31512c,'data':_0x328fe5,'deleteFile'(){const _0x516345=_0x4aaced;return _0x4e5056&&fs[_0x516345(0x14f)][_0x516345(0x138)](_0x4e5056);}};},_0x1c2b5a['waitEvent']=(_0x3a1516,_0x3135bb=()=>!![],_0xedae58=0x19)=>{return new Promise((_0x43b20d,_0x219a7c)=>{let _0x37dab7=0x0,_0x1869f4=(..._0x31974a)=>{const _0x5b3c4a=_0x5afd;if(++_0x37dab7>_0xedae58)_0x219a7c(_0x5b3c4a(0x107));else _0x3135bb()&&(_0x1c2b5a['ev'][_0x5b3c4a(0x164)](_0x3a1516,_0x1869f4),_0x43b20d(..._0x31974a));};_0x1c2b5a['ev']['on'](_0x3a1516,_0x1869f4);});},_0x1c2b5a[_0x212d5e(0xe8)]=_0xef8968=>new Promise(_0x496584=>setTimeout(_0x496584,_0xef8968)),_0x1c2b5a[_0x212d5e(0x113)]=_0x5bd948=>{const _0x55b36a=_0x212d5e;let _0x3af452=['q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'];if(/[aiueo][aiueo]([qwrtypsdfghjklzxcvbnm])?$/i[_0x55b36a(0x91)](_0x5bd948))return _0x5bd948[_0x55b36a(0xf0)](_0x5bd948['length']-0x1);else{let _0x5252b2=Array[_0x55b36a(0x77)](_0x5bd948)[_0x55b36a(0x113)](_0x9cd5db=>_0x3af452[_0x55b36a(0x14a)](_0x9cd5db)),_0xd15191=_0x5252b2[_0x5252b2[_0x55b36a(0x15e)]-0x1];for(let _0x26e963 of _0x3af452){_0x5bd948[_0x55b36a(0x159)](_0x26e963)&&(_0xd15191=_0x5252b2[_0x5252b2['length']-0x2]);}let _0x33502e=_0x5bd948[_0x55b36a(0xa2)](_0xd15191);return _0xd15191+_0x33502e[_0x33502e['length']-0x1];}},_0x1c2b5a[_0x212d5e(0x155)]=_0x240de6=>{const _0x1321e6=_0x212d5e;let _0x57ea9c=Math['floor'](_0x240de6/(0x18*0x3c*0x3c*0x3e8)),_0x5b9cea=_0x240de6%(0x18*0x3c*0x3c*0x3e8),_0x497fb8=Math['floor'](_0x5b9cea/(0x3c*0x3c*0x3e8)),_0x606e19=_0x240de6%(0x3c*0x3c*0x3e8),_0x491d01=Math[_0x1321e6(0x76)](_0x606e19/(0x3c*0x3e8)),_0x30f16e=_0x240de6%(0x3c*0x3e8),_0x14d989=Math[_0x1321e6(0x76)](_0x30f16e/0x3e8);return _0x57ea9c+_0x1321e6(0x11e)+_0x497fb8+'\x20Jam\x20'+_0x491d01+'\x20Menit';},_0x1c2b5a[_0x212d5e(0xc1)]=async _0x2e2ed5=>{const _0x14f736=_0x212d5e;return _0x2e2ed5[Math[_0x14f736(0x76)](Math[_0x14f736(0xc8)]()*_0x2e2ed5[_0x14f736(0x15e)])];},_0x1c2b5a['sendMedia']=async(_0x259176,_0x1d24b2,_0x443d18,_0x3d1219={})=>{const _0x38ca6c=_0x212d5e;let {ext:_0x1ae7e6,mime:_0x4c5135,data:_0x21a4a4}=await _0x1c2b5a[_0x38ca6c(0x153)](_0x1d24b2);return messageType=_0x4c5135[_0x38ca6c(0xa2)]('/')[0x0],pase=messageType[_0x38ca6c(0x16a)](_0x38ca6c(0xba),_0x38ca6c(0x116))||messageType,await _0x1c2b5a[_0x38ca6c(0xfd)](_0x259176,{[''+pase]:_0x21a4a4,'mimetype':_0x4c5135,..._0x3d1219},{'quoted':_0x443d18});},(_0x1c2b5a[_0x212d5e(0x12e)]=(_0x27138f,_0x295395,_0x53d15f='',_0x55f20d='',_0x3fc347,_0x344e5f='',_0x1be04c,_0x145ad6)=>{const _0x446fe7=_0x212d5e;let {data:_0x44aa29}=_0x1c2b5a[_0x446fe7(0x153)](_0x3fc347,!![]);return _0x1c2b5a['sendMessage'](_0x27138f,{'text':_0x295395,'contextInfo':{'mentionedJid':_0x1c2b5a['parseMention'](_0x295395),'externalAdReply':{'showAdAttribution':!![],'mediaType':0x1,'title':_0x53d15f,'body':_0x55f20d,'thumbnailUrl':'https://telegra.ph/file/dc229854bebc5fe9ccf01.jpg','renderLargerThumbnail':!![],'sourceUrl':_0x344e5f}}},{'quoted':_0x1be04c,..._0x145ad6,...ephemeral});_0x523a48:!![];},_0x1c2b5a[_0x212d5e(0xb4)]=async(_0x208d2f,_0xa8ebfa,_0x4c18c2='',_0x71a6f0='',_0x20ccb4,_0x17236=![],_0x458c11={})=>{const _0x171aa6=_0x212d5e;let _0x3781c9=await _0x1c2b5a[_0x171aa6(0x153)](_0xa8ebfa,!![]),{res:_0x5d0435,data:_0x46c9b8,filename:_0x310e5e}=_0x3781c9;if(_0x5d0435&&_0x5d0435['status']!==0xc8||_0x46c9b8[_0x171aa6(0x15e)]<=0x10000)try{throw{'json':JSON[_0x171aa6(0x15d)](_0x46c9b8[_0x171aa6(0xa9)]())};}catch(_0x1f07f9){if(_0x1f07f9[_0x171aa6(0x12b)])throw _0x1f07f9['json'];}let _0xe8c0d2={'filename':_0x4c18c2};if(_0x20ccb4)_0xe8c0d2['quoted']=_0x20ccb4;if(!_0x3781c9)_0x458c11[_0x171aa6(0x9f)]=!![];let _0x28de16='',_0xbe73ad=_0x3781c9[_0x171aa6(0x130)],_0x5000ba;if(/webp/['test'](_0x3781c9['mime'])||/image/['test'](_0x3781c9[_0x171aa6(0x130)])&&_0x458c11[_0x171aa6(0xa6)])_0x28de16=_0x171aa6(0x152);else{if(/image/[_0x171aa6(0x91)](_0x3781c9[_0x171aa6(0x130)])||/webp/['test'](_0x3781c9[_0x171aa6(0x130)])&&_0x458c11[_0x171aa6(0xe2)])_0x28de16=_0x171aa6(0x144);else{if(/video/[_0x171aa6(0x91)](_0x3781c9[_0x171aa6(0x130)]))_0x28de16='video';else{if(/audio/[_0x171aa6(0x91)](_0x3781c9[_0x171aa6(0x130)]))_0x5000ba=await(_0x17236?toPTT:toAudio)(_0x46c9b8,_0x3781c9['ext']),_0x46c9b8=_0x5000ba[_0x171aa6(0xc7)],_0x310e5e=_0x5000ba[_0x171aa6(0xd1)],_0x28de16='audio',_0xbe73ad=_0x171aa6(0x128);else _0x28de16=_0x171aa6(0x116);}}}if(_0x458c11[_0x171aa6(0x9f)])_0x28de16='document';let _0x3bc4c7={..._0x458c11,'caption':_0x71a6f0,'ptt':_0x17236,[_0x28de16]:{'url':_0x310e5e},'mimetype':_0xbe73ad},_0x2ed55b;try{_0x2ed55b=await _0x1c2b5a[_0x171aa6(0xfd)](_0x208d2f,_0x3bc4c7,{..._0xe8c0d2,..._0x458c11});}catch(_0x505b19){console['error'](_0x505b19),_0x2ed55b=null;}finally{if(!_0x2ed55b)_0x2ed55b=await _0x1c2b5a[_0x171aa6(0xfd)](_0x208d2f,{..._0x3bc4c7,[_0x28de16]:_0x46c9b8},{..._0xe8c0d2,..._0x458c11});return _0x2ed55b;}}),_0x1c2b5a[_0x212d5e(0x7d)]=async(_0x478038,_0x529c0a,_0x2cbfd7,_0x1d7381={})=>{const _0x393469=_0x212d5e;let _0x46b160=Buffer[_0x393469(0x11f)](_0x529c0a)?_0x529c0a:/^data:.*?\/.*?;base64,/i[_0x393469(0x91)](_0x529c0a)?Buffer[_0x393469(0x77)](_0x529c0a[_0x393469(0xa2)]`,`[0x1],_0x393469(0xc9)):/^https?:\/\//['test'](_0x529c0a)?await(await fetch(_0x529c0a))[_0x393469(0xbd)]():fs[_0x393469(0x100)](_0x529c0a)?fs[_0x393469(0x10e)](_0x529c0a):Buffer[_0x393469(0xa8)](0x0),_0x3cba32;return _0x1d7381&&(_0x1d7381['packname']||_0x1d7381[_0x393469(0x103)])?_0x3cba32=await writeExifImg(_0x46b160,_0x1d7381):_0x3cba32=await imageToWebp(_0x46b160),await _0x1c2b5a['sendMessage'](_0x478038,{'sticker':{'url':_0x3cba32},..._0x1d7381},{'quoted':_0x2cbfd7}),_0x3cba32;},(_0x1c2b5a[_0x212d5e(0xe4)]=async(_0x46ea12,_0x55903a,_0x2afe9c,_0x49d145)=>{const _0x19db44=_0x212d5e;if(!Array[_0x19db44(0x12d)](_0x55903a[0x0])&&typeof _0x55903a[0x0]===_0x19db44(0xb6))_0x55903a=[_0x55903a];let _0x12c648=[];for(let [_0xbf350f,_0x2848e2]of _0x55903a){_0xbf350f=_0xbf350f[_0x19db44(0x16a)](/[^0-9]/g,'');let _0x46c08d=_0xbf350f+_0x19db44(0xec),_0x40cb5a=await _0x1c2b5a[_0x19db44(0x75)](_0x46c08d)[_0x19db44(0x148)](_0x956adb=>null)||{},_0x8cfd22=(_0x19db44(0x125)+_0x2848e2[_0x19db44(0x16a)](/\n/g,'\x5cn')+_0x19db44(0xa4)+_0xbf350f+':'+PhoneNumber('+'+_0xbf350f)[_0x19db44(0x97)]('international')+'\x0aitem1.X-ABLabel:Ponsel'+(_0x40cb5a['description']?_0x19db44(0x134)+(_0x40cb5a[_0x19db44(0x16b)]||'')[_0x19db44(0x16a)](/\n/g,'\x5cn')+_0x19db44(0x86)+(await _0x1c2b5a[_0x19db44(0x153)](await _0x1c2b5a[_0x19db44(0x14e)](_0x46c08d))['catch'](_0x344f3f=>({}))||{})['number']?.[_0x19db44(0xa9)](_0x19db44(0xc9))+_0x19db44(0xe1)+(_0x40cb5a[_0x19db44(0x135)]||'')['replace'](/\n/g,'\x5cn')+_0x19db44(0xa5)+_0x2848e2['replace'](/\n/g,'\x5cn')+'\x0a':'')+'\x0aEND:VCARD\x0a')[_0x19db44(0x111)]();_0x12c648['push']({'vcard':_0x8cfd22,'displayName':_0x2848e2});}return _0x1c2b5a[_0x19db44(0xfd)](_0x46ea12,{..._0x49d145,'contacts':{..._0x49d145,'displayName':(_0x12c648[_0x19db44(0x15e)]>=0x2?_0x12c648['length']+_0x19db44(0x13f):_0x12c648[0x0][_0x19db44(0x119)])||null,'contacts':_0x12c648}},{'quoted':_0x2afe9c,..._0x49d145});_0x4bc2f3:!![];},_0x1c2b5a[_0x212d5e(0x132)]=async(_0x3980e7,_0x509a12,_0x1605e8,_0x1cf63c,_0x25e15b,_0x5ae4b6,_0x5b02f8,_0x5bc770)=>{const _0x3f540e=_0x212d5e,_0x156422=_0x5ae4b6[_0x3f540e(0xfc)](),_0x1cc22c=_0x156422['reduce']((_0x4fad46,_0x1a2106,_0x1c1c5a)=>{const _0x53a81a=_0x3f540e;if(_0x1c1c5a%0x2===0x1){const [_0x181323,_0x1e79e6,_0x1afe74]=_0x1a2106[0x0];_0x4fad46[_0x53a81a(0xcd)]({'title':_0x181323,'rowId':_0x1e79e6,'description':_0x1afe74});}return _0x4fad46;},[]);let _0x4d3a35=_0x1cc22c[_0x3f540e(0x15f)]((_0xc76ae2,_0x202e23)=>{const _0x17e178=_0x3f540e;return((_0xc76ae2[_0x17e178(0xe5)]||'')+'\x0a'+(_0xc76ae2[_0x17e178(0x95)]||'')+'\x0a'+(_0xc76ae2[_0x17e178(0x135)]||''))[_0x17e178(0x111)]();})[_0x3f540e(0x113)](_0x174040=>_0x174040)[_0x3f540e(0xea)]('\x0a\x0a');return _0x1c2b5a[_0x3f540e(0xfd)](_0x3980e7,{..._0x5bc770,'text':_0x4d3a35},{'quoted':_0x5b02f8,..._0x5bc770});},_0x1c2b5a[_0x212d5e(0x162)]=(_0x4ccbfc,_0x4e80e2='',_0x920284,_0x1752d4)=>{const _0x80fb24=_0x212d5e;return Buffer[_0x80fb24(0x11f)](_0x4e80e2)?_0x1c2b5a[_0x80fb24(0xb4)](_0x4ccbfc,_0x4e80e2,_0x80fb24(0x79),'',_0x920284,![],_0x1752d4):_0x1c2b5a['sendMessage'](_0x4ccbfc,{..._0x1752d4,'text':_0x4e80e2,'mentions':_0x1c2b5a['parseMention'](_0x4e80e2)},{'quoted':_0x920284,..._0x1752d4,'mentions':_0x1c2b5a[_0x80fb24(0xa0)](_0x4e80e2)});}),_0x1c2b5a[_0x212d5e(0x13b)]=async(_0x559104,_0x3978e2,_0x152e12)=>{const _0x3c0202=_0x212d5e;let _0x1b402d=await Jimp[_0x3c0202(0x151)](_0x559104),_0x7420bf=await _0x1b402d['resize'](_0x3978e2,_0x152e12)[_0x3c0202(0x99)](Jimp[_0x3c0202(0x131)]);return _0x7420bf;},_0x1c2b5a['fakeReply']=(_0x40f682,_0x226c7e='',_0x18effd=_0x1c2b5a[_0x212d5e(0x163)][_0x212d5e(0xc4)],_0x36388b='',_0x327c2e,_0x589adc)=>{const _0x2f0ce0=_0x212d5e;return _0x1c2b5a[_0x2f0ce0(0xfd)](_0x40f682,{'text':_0x226c7e},{'ephemeralExpiration':0x15180,'quoted':{'key':{'fromMe':_0x18effd==_0x1c2b5a[_0x2f0ce0(0x163)]['jid'],'participant':_0x18effd,..._0x327c2e?{'remoteJid':_0x327c2e}:{}},'message':{'conversation':_0x36388b},..._0x589adc}});},_0x1c2b5a['reply1']=async(_0x515cb7,_0x3131b6,_0x37ec94,_0x2c5c10)=>{const _0x57e93c=_0x212d5e;return _0x1c2b5a[_0x57e93c(0xfd)](_0x515cb7,{'text':_0x3131b6,'jpegThumbnail':await(await fetch(thumbr1))[_0x57e93c(0xbd)](),'mentions':_0x2c5c10},{'quoted':_0x37ec94,'ephemeralExpiration':0x15180});},_0x1c2b5a[_0x212d5e(0x105)]=async(_0x354bc5,_0x4f1664,_0x15b38e,_0x5324f1,_0x2aea61)=>{const _0x343165=_0x212d5e;return _0x1c2b5a['sendMessage'](_0x354bc5,{'text':_0x4f1664,'jpegThumbnail':await(await fetch(_0x15b38e))[_0x343165(0xbd)](),'mentions':_0x2aea61},{'quoted':_0x5324f1,'ephemeralExpiration':0x2198});},_0x1c2b5a[_0x212d5e(0x117)]=_0x4c416c=>{const _0x4287f4=_0x212d5e;if(!_0x4c416c)return _0x4c416c;if(/:\d+@/gi[_0x4287f4(0x91)](_0x4c416c)){let _0x551bbe=jidDecode(_0x4c416c)||{};return _0x551bbe[_0x4287f4(0x163)]&&_0x551bbe[_0x4287f4(0xbb)]&&_0x551bbe['user']+'@'+_0x551bbe[_0x4287f4(0xbb)]||_0x4c416c;}else return _0x4c416c;},_0x1c2b5a['sendText']=(_0x498f03,_0x25c6a1,_0x284980='',_0x4c8bc)=>_0x1c2b5a[_0x212d5e(0xfd)](_0x498f03,{'text':_0x25c6a1,..._0x4c8bc},{'quoted':_0x284980}),_0x1c2b5a[_0x212d5e(0x126)]=async(_0x328f7c,_0x54c1c8,_0x9f4de0,_0x3ef7f3,_0xbbf562=_0x212d5e(0x70),_0x10bfc3='Invitation\x20to\x20join\x20my\x20WhatsApp\x20group',_0x529f56={})=>{const _0x5b1885=_0x212d5e;let _0x4634d9=proto[_0x5b1885(0xe7)][_0x5b1885(0xaa)]({'groupInviteMessage':proto[_0x5b1885(0xda)][_0x5b1885(0xaa)]({'inviteCode':_0x9f4de0,'inviteExpiration':parseInt(_0x3ef7f3)||+new Date(new Date()+0x3*0x5265c00),'groupJid':_0x328f7c,'groupName':_0xbbf562?_0xbbf562:this[_0x5b1885(0x10c)](_0x328f7c),'caption':_0x10bfc3})}),_0x135c62=await this[_0x5b1885(0xcf)](_0x54c1c8,_0x4634d9,_0x529f56);return await this['relayWAMessage'](_0x135c62),_0x135c62;},_0x1c2b5a[_0x212d5e(0xd4)]=(_0x40f83a,_0x50a64a,_0x33a2c7='',_0x1fe702=_0x1c2b5a[_0x212d5e(0x163)]['jid'],_0x9ce82f={})=>{const _0x529669=_0x212d5e;let _0x596d9e=_0x50a64a[_0x529669(0xf5)](),_0x192e00=Object[_0x529669(0x80)](_0x596d9e[_0x529669(0xb0)])[0x0],_0x206d3b=![];_0x206d3b&&(_0x192e00=Object[_0x529669(0x80)](_0x596d9e[_0x529669(0xb0)][_0x529669(0x166)][_0x529669(0xb0)])[0x0]);let _0xad97f3=_0x206d3b?_0x596d9e['message'][_0x529669(0x166)][_0x529669(0xb0)]:_0x596d9e[_0x529669(0xb0)],_0x52b7bd=_0xad97f3[_0x192e00];if(typeof _0x52b7bd===_0x529669(0xb6))_0xad97f3[_0x192e00]=_0x33a2c7||_0x52b7bd;else{if(_0x52b7bd[_0x529669(0x83)])_0x52b7bd[_0x529669(0x83)]=_0x33a2c7||_0x52b7bd[_0x529669(0x83)];else{if(_0x52b7bd[_0x529669(0x122)])_0x52b7bd['text']=_0x33a2c7||_0x52b7bd[_0x529669(0x122)];}}if(typeof _0x52b7bd!==_0x529669(0xb6))_0xad97f3[_0x192e00]={..._0x52b7bd,..._0x9ce82f};if(_0x596d9e[_0x529669(0xb2)])_0x1fe702=_0x596d9e[_0x529669(0xb2)]=_0x1fe702||_0x596d9e[_0x529669(0xb2)];else{if(_0x596d9e[_0x529669(0xbc)]['participant'])_0x1fe702=_0x596d9e[_0x529669(0xbc)]['participant']=_0x1fe702||_0x596d9e[_0x529669(0xbc)][_0x529669(0xb2)];}if(_0x596d9e[_0x529669(0xbc)][_0x529669(0x118)][_0x529669(0x14a)](_0x529669(0xec)))_0x1fe702=_0x1fe702||_0x596d9e[_0x529669(0xbc)][_0x529669(0x118)];else{if(_0x596d9e[_0x529669(0xbc)]['remoteJid'][_0x529669(0x14a)](_0x529669(0xd8)))_0x1fe702=_0x1fe702||_0x596d9e['key'][_0x529669(0x118)];}return _0x596d9e[_0x529669(0xbc)][_0x529669(0x118)]=_0x40f83a,_0x596d9e[_0x529669(0xbc)][_0x529669(0xeb)]=areJidsSameUser(_0x1fe702,_0x1c2b5a[_0x529669(0x163)]['id'])||![],proto[_0x529669(0xfe)][_0x529669(0xaa)](_0x596d9e);},_0x1c2b5a[_0x212d5e(0xab)]=async(_0x19a2ae,_0x1fae9a,_0x2cc110=!![],_0x2b4d38={})=>{const _0x40ee72=_0x212d5e;let _0x29927f=generateForwardMessageContent(_0x1fae9a,!!_0x2cc110),_0x432e16=Object[_0x40ee72(0x80)](_0x29927f)[0x0];if(_0x2cc110&&typeof _0x2cc110=='number'&&_0x2cc110>0x1)_0x29927f[_0x432e16][_0x40ee72(0x120)]['forwardingScore']+=_0x2cc110;return _0x29927f=generateWAMessageFromContent(_0x19a2ae,_0x29927f,{..._0x2b4d38,'userJid':_0x1c2b5a[_0x40ee72(0x163)]['id']}),await _0x1c2b5a['relayMessage'](_0x19a2ae,_0x29927f[_0x40ee72(0xb0)],{'messageId':_0x29927f[_0x40ee72(0xbc)]['id'],'additionalAttributes':{..._0x2b4d38}}),_0x29927f;},_0x1c2b5a['loadMessage']=_0x1c2b5a[_0x212d5e(0x142)]||(async _0x5ecc74=>{const _0x346adc=_0x212d5e;return Object[_0x346adc(0x89)](_0x1c2b5a['chats'])[_0x346adc(0x113)](([_0x336178,{messages:_0x3fbdc7}])=>typeof _0x3fbdc7==='object')['find'](([_0x15ca2f,{messages:_0x51793c}])=>Object[_0x346adc(0x89)](_0x51793c)[_0x346adc(0x156)](([_0xaa2105,_0x2232ca])=>_0xaa2105===_0x5ecc74||_0x2232ca[_0x346adc(0xbc)]?.['id']===_0x5ecc74))?.[0x1][_0x346adc(0x168)]?.[_0x5ecc74];}),_0x1c2b5a['downloadM']=async(_0x9d3edf,_0x156648,_0x4e50d9)=>{const _0x52aee2=_0x212d5e;if(!_0x9d3edf||!(_0x9d3edf['url']||_0x9d3edf[_0x52aee2(0x102)]))return Buffer['alloc'](0x0);const _0x48571c=await downloadContentFromMessage(_0x9d3edf,_0x156648);let _0x98655d=Buffer[_0x52aee2(0x77)]([]);for await(const _0x5d9326 of _0x48571c){_0x98655d=Buffer[_0x52aee2(0x84)]([_0x98655d,_0x5d9326]);}if(_0x4e50d9)var {filename:_0x5a2d99}=await _0x1c2b5a[_0x52aee2(0x153)](_0x98655d,!![]);return _0x4e50d9&&fs['existsSync'](_0x5a2d99)?_0x5a2d99:_0x98655d;},_0x1c2b5a[_0x212d5e(0x74)]=async(_0x181f29,_0x4324e3,_0x1e84d9=!![])=>{const _0x338ddc=_0x212d5e;let _0x153641=_0x181f29[_0x338ddc(0xb1)]?_0x181f29['msg']:_0x181f29,_0x20c376=(_0x181f29[_0x338ddc(0xb1)]||_0x181f29)[_0x338ddc(0xd3)]||'',_0x234733=_0x181f29[_0x338ddc(0xce)]?_0x181f29[_0x338ddc(0xce)][_0x338ddc(0x16a)](/Message/gi,''):_0x20c376[_0x338ddc(0xa2)]('/')[0x0];const _0x1ca8d1=await downloadContentFromMessage(_0x153641,_0x234733);let _0x4ebc1e=Buffer[_0x338ddc(0x77)]([]);for await(const _0x3a34f5 of _0x1ca8d1){_0x4ebc1e=Buffer[_0x338ddc(0x84)]([_0x4ebc1e,_0x3a34f5]);}let _0x80a8a6=await FileType['fromBuffer'](_0x4ebc1e);return trueFileName=_0x1e84d9?_0x4324e3+'.'+_0x80a8a6[_0x338ddc(0xc0)]:_0x4324e3,await fs['writeFileSync'](trueFileName,_0x4ebc1e),trueFileName;},_0x1c2b5a[_0x212d5e(0xa0)]=(_0x4c636f='')=>{const _0x1be803=_0x212d5e;return[..._0x4c636f['matchAll'](/@([0-9]{5,16}|0)/g)][_0x1be803(0x15f)](_0x36f37d=>_0x36f37d[0x1]+_0x1be803(0xec));},_0x1c2b5a['chatRead']=async(_0xb3d535,_0x5048bf=_0x1c2b5a[_0x212d5e(0x163)]['jid'],_0x1ad321)=>{const _0x40c650=_0x212d5e;return await _0x1c2b5a[_0x40c650(0xdc)](_0xb3d535,_0x5048bf,[_0x1ad321]);},_0x1c2b5a[_0x212d5e(0xde)]=async(_0xec0b2f,_0x46e709,_0x37714d,_0x2cc599={})=>{const _0x51bbac=_0x212d5e;let _0x2e3ea0=Buffer['isBuffer'](_0x46e709)?_0x46e709:/^data:.*?\/.*?;base64,/i['test'](_0x46e709)?Buffer[_0x51bbac(0x77)](_0x46e709['split']`,`[0x1],_0x51bbac(0xc9)):/^https?:\/\//[_0x51bbac(0x91)](_0x46e709)?await(await fetch(_0x46e709))[_0x51bbac(0xbd)]():fs[_0x51bbac(0x100)](_0x46e709)?fs[_0x51bbac(0x10e)](_0x46e709):Buffer['alloc'](0x0),_0x10b061;return _0x2cc599&&(_0x2cc599[_0x51bbac(0x154)]||_0x2cc599[_0x51bbac(0x103)])?_0x10b061=await writeExifImg(_0x2e3ea0,_0x2cc599):_0x10b061=await imageToWebp(_0x2e3ea0),await _0x1c2b5a[_0x51bbac(0xfd)](_0xec0b2f,{'sticker':{'url':_0x10b061},..._0x2cc599},{'quoted':_0x37714d}),_0x10b061;},_0x1c2b5a[_0x212d5e(0xca)]=async(_0x1960b4,_0x2a8f12,_0x2c68db,_0x18e9df={})=>{const _0x85c857=_0x212d5e;let _0x3d2093=Buffer[_0x85c857(0x11f)](_0x2a8f12)?_0x2a8f12:/^data:.*?\/.*?;base64,/i[_0x85c857(0x91)](_0x2a8f12)?Buffer[_0x85c857(0x77)](_0x2a8f12['split']`,`[0x1],_0x85c857(0xc9)):/^https?:\/\//[_0x85c857(0x91)](_0x2a8f12)?await getBuffer(_0x2a8f12):fs['existsSync'](_0x2a8f12)?fs[_0x85c857(0x10e)](_0x2a8f12):Buffer['alloc'](0x0),_0x3a7e2b;return _0x18e9df&&(_0x18e9df['packname']||_0x18e9df[_0x85c857(0x103)])?_0x3a7e2b=await writeExifVid(_0x3d2093,_0x18e9df):_0x3a7e2b=await videoToWebp(_0x3d2093),await _0x1c2b5a[_0x85c857(0xfd)](_0x1960b4,{'sticker':{'url':_0x3a7e2b},..._0x18e9df},{'quoted':_0x2c68db}),_0x3a7e2b;},_0x1c2b5a[_0x212d5e(0xa0)]=(_0xc84bbe='')=>{const _0x378c74=_0x212d5e;return[..._0xc84bbe['matchAll'](/@([0-9]{5,16}|0)/g)]['map'](_0x41d244=>_0x41d244[0x1]+_0x378c74(0xec));},_0x1c2b5a[_0x212d5e(0xc2)]=async(_0x19415a,_0x347042,_0x361071,_0x2206fa={})=>_0x1c2b5a[_0x212d5e(0xfd)](_0x19415a,{'text':_0x347042,'contextInfo':{'mentionedJid':[..._0x347042['matchAll'](/@(\d{0,16})/g)][_0x212d5e(0x15f)](_0x59a814=>_0x59a814[0x1]+_0x212d5e(0xec))},..._0x2206fa},{'quoted':_0x361071}),_0x1c2b5a[_0x212d5e(0x10c)]=(_0x42131a='',_0x30d93d=![])=>{const _0x245439=_0x212d5e;_0x42131a=_0x1c2b5a[_0x245439(0x117)](_0x42131a),_0x30d93d=this['withoutContact']||_0x30d93d;let _0x503b9;if(_0x42131a[_0x245439(0x159)](_0x245439(0x114)))return new Promise(async _0x310efa=>{const _0x5aec7f=_0x245439;_0x503b9=_0x1c2b5a[_0x5aec7f(0x150)][_0x42131a]||{};if(!(_0x503b9[_0x5aec7f(0xf9)]||_0x503b9[_0x5aec7f(0xf3)]))_0x503b9=await _0x1c2b5a[_0x5aec7f(0x146)](_0x42131a)||{};_0x310efa(_0x503b9['name']||_0x503b9['subject']||PhoneNumber('+'+_0x42131a[_0x5aec7f(0x16a)](_0x5aec7f(0xec),''))['getNumber'](_0x5aec7f(0xbf)));});else _0x503b9=_0x42131a==='[email protected]'?{'jid':_0x42131a,'vname':_0x245439(0xef)}:areJidsSameUser(_0x42131a,_0x1c2b5a[_0x245439(0x163)]['id'])?_0x1c2b5a['user']:_0x1c2b5a['chats'][_0x42131a]||{};return(_0x30d93d?'':_0x503b9[_0x245439(0xf9)])||_0x503b9[_0x245439(0xf3)]||_0x503b9[_0x245439(0xed)]||_0x503b9['notify']||_0x503b9['verifiedName']||PhoneNumber('+'+_0x42131a[_0x245439(0x16a)](_0x245439(0xec),''))[_0x245439(0x97)](_0x245439(0xbf));},_0x1c2b5a[_0x212d5e(0x8a)]=async _0x153a6a=>{const _0x3115b5=_0x212d5e;if(!_0x153a6a[_0x3115b5(0xc3)])return;const _0xeda60b=_0x1c2b5a[_0x3115b5(0x117)](_0x153a6a[_0x3115b5(0xbc)]['remoteJid']||_0x153a6a[_0x3115b5(0xb0)]?.[_0x3115b5(0x16c)]?.[_0x3115b5(0x136)]||'');if(!_0xeda60b||_0xeda60b===_0x3115b5(0xb5))return;const _0x25aed3=_0x126d11=>{const _0x4ca5b5=_0x3115b5;_0x1c2b5a['ev']['emit'](_0x4ca5b5(0x90),[{'id':_0xeda60b,..._0x126d11}]);};switch(_0x153a6a['messageStubType']){case WAMessageStubType[_0x3115b5(0x72)]:case WAMessageStubType[_0x3115b5(0xf4)]:_0x25aed3({'revoke':_0x153a6a[_0x3115b5(0x112)][0x0]});break;case WAMessageStubType['GROUP_CHANGE_ICON']:_0x25aed3({'icon':_0x153a6a[_0x3115b5(0x112)][0x0]});break;default:{console[_0x3115b5(0x101)]({'messageStubType':_0x153a6a[_0x3115b5(0xc3)],'messageStubParameters':_0x153a6a[_0x3115b5(0x112)],'type':WAMessageStubType[_0x153a6a[_0x3115b5(0xc3)]]});break;}}const _0x2e029e=_0xeda60b[_0x3115b5(0x159)](_0x3115b5(0x114));if(!_0x2e029e)return;let _0x3a5d6f=_0x1c2b5a[_0x3115b5(0x150)][_0xeda60b];if(!_0x3a5d6f)_0x3a5d6f=_0x1c2b5a[_0x3115b5(0x150)][_0xeda60b]={'id':_0xeda60b};_0x3a5d6f[_0x3115b5(0xbe)]=!![];const _0xaefc10=await _0x1c2b5a[_0x3115b5(0x146)](_0xeda60b)[_0x3115b5(0x148)](_0xf774a1=>null);if(!_0xaefc10)return;_0x3a5d6f['subject']=_0xaefc10[_0x3115b5(0xf3)],_0x3a5d6f[_0x3115b5(0x85)]=_0xaefc10;},_0x1c2b5a[_0x212d5e(0x7b)]=async()=>{const _0x379068=_0x212d5e,_0x3d4cbf=await _0x1c2b5a[_0x379068(0x108)]()[_0x379068(0x148)](_0x4513e6=>null)||{};for(const _0x260f63 in _0x3d4cbf)_0x1c2b5a[_0x379068(0x150)][_0x260f63]={..._0x1c2b5a['chats'][_0x260f63]||{},'id':_0x260f63,'subject':_0x3d4cbf[_0x260f63][_0x379068(0xf3)],'isChats':!![],'metadata':_0x3d4cbf[_0x260f63]};return _0x1c2b5a[_0x379068(0x150)];},_0x1c2b5a[_0x212d5e(0x11b)]=async _0x15c0df=>{const _0x4bb0b7=_0x212d5e;if(!_0x15c0df)return;if(!Array[_0x4bb0b7(0x12d)](_0x15c0df))_0x15c0df=[_0x15c0df];for(const _0x4396b8 of _0x15c0df){try{if(!_0x4396b8)continue;if(_0x4396b8['messageStubType']&&_0x4396b8[_0x4bb0b7(0xc3)]!=WAMessageStubType[_0x4bb0b7(0x161)])_0x1c2b5a[_0x4bb0b7(0x8a)](_0x4396b8)[_0x4bb0b7(0x148)](console['error']);const _0x322264=Object[_0x4bb0b7(0x80)](_0x4396b8['message']||{}),_0x44d8d4=![_0x4bb0b7(0x16c),'messageContextInfo'][_0x4bb0b7(0x14a)](_0x322264[0x0])&&_0x322264[0x0]||_0x322264[_0x4bb0b7(0x15e)]>=0x3&&_0x322264[0x1]!=='messageContextInfo'&&_0x322264[0x1]||_0x322264[_0x322264[_0x4bb0b7(0x15e)]-0x1],_0xaaf552=_0x1c2b5a[_0x4bb0b7(0x117)](_0x4396b8[_0x4bb0b7(0xbc)]['remoteJid']||_0x4396b8[_0x4bb0b7(0xb0)]?.[_0x4bb0b7(0x16c)]?.[_0x4bb0b7(0x136)]||'');if(_0x4396b8['message']?.[_0x44d8d4]?.[_0x4bb0b7(0x120)]?.['quotedMessage']){let _0x4358e3=_0x4396b8[_0x4bb0b7(0xb0)][_0x44d8d4][_0x4bb0b7(0x120)],_0x52aae2=_0x1c2b5a[_0x4bb0b7(0x117)](_0x4358e3['participant']);const _0x37bf1a=_0x1c2b5a[_0x4bb0b7(0x117)](_0x4358e3[_0x4bb0b7(0x118)]||_0x52aae2);let _0x21106b=_0x4396b8[_0x4bb0b7(0xb0)][_0x44d8d4][_0x4bb0b7(0x120)][_0x4bb0b7(0x143)];if(_0x37bf1a&&_0x37bf1a!==_0x4bb0b7(0xb5)&&_0x21106b){let _0x56bfe8=Object['keys'](_0x21106b)[0x0];_0x56bfe8==_0x4bb0b7(0x145)&&(_0x21106b[_0x4bb0b7(0x96)]={'text':_0x21106b[_0x56bfe8]},delete _0x21106b[_0x4bb0b7(0x145)],_0x56bfe8=_0x4bb0b7(0x96));if(!_0x21106b[_0x56bfe8][_0x4bb0b7(0x120)])_0x21106b[_0x56bfe8][_0x4bb0b7(0x120)]={};_0x21106b[_0x56bfe8]['contextInfo'][_0x4bb0b7(0x10a)]=_0x4358e3[_0x4bb0b7(0x10a)]||_0x21106b[_0x56bfe8]['contextInfo']['mentionedJid']||[];const _0x5969fd=_0x37bf1a['endsWith'](_0x4bb0b7(0xd0));if(_0x5969fd&&!_0x52aae2)_0x52aae2=_0x37bf1a;const _0x512ed1={'key':{'remoteJid':_0x37bf1a,'fromMe':areJidsSameUser(_0x1c2b5a[_0x4bb0b7(0x163)]['jid'],_0x37bf1a),'id':_0x4358e3[_0x4bb0b7(0x82)],'participant':_0x52aae2},'message':JSON[_0x4bb0b7(0x15d)](JSON[_0x4bb0b7(0x147)](_0x21106b)),..._0x5969fd?{'participant':_0x52aae2}:{}};let _0x2e8a7a=_0x1c2b5a['chats'][_0x52aae2];if(!_0x2e8a7a)_0x2e8a7a=_0x1c2b5a[_0x4bb0b7(0x150)][_0x52aae2]={'id':_0x52aae2,'isChats':!_0x5969fd};if(!_0x2e8a7a[_0x4bb0b7(0x168)])_0x2e8a7a[_0x4bb0b7(0x168)]={};if(!_0x2e8a7a[_0x4bb0b7(0x168)][_0x4358e3['stanzaId']]&&!_0x512ed1[_0x4bb0b7(0xbc)][_0x4bb0b7(0xeb)])_0x2e8a7a['messages'][_0x4358e3[_0x4bb0b7(0x82)]]=_0x512ed1;let _0x3a02d9;if((_0x3a02d9=Object[_0x4bb0b7(0x89)](_0x2e8a7a[_0x4bb0b7(0x168)]))[_0x4bb0b7(0x15e)]>0x28)_0x2e8a7a['messages']=Object['fromEntries'](_0x3a02d9[_0x4bb0b7(0x12c)](0x1e,_0x3a02d9[_0x4bb0b7(0x15e)]));}}if(!_0xaaf552||_0xaaf552==='status@broadcast')continue;const _0x51f468=_0xaaf552['endsWith'](_0x4bb0b7(0x114));let _0x579349=_0x1c2b5a[_0x4bb0b7(0x150)][_0xaaf552];if(!_0x579349){if(_0x51f468)await _0x1c2b5a[_0x4bb0b7(0x7b)]()[_0x4bb0b7(0x148)](console['error']);_0x579349=_0x1c2b5a[_0x4bb0b7(0x150)][_0xaaf552]={'id':_0xaaf552,'isChats':!![],..._0x1c2b5a['chats'][_0xaaf552]||{}};}let _0x52fe54,_0x26ef19;if(_0x51f468){if(!_0x579349[_0x4bb0b7(0xf3)]||!_0x579349[_0x4bb0b7(0x85)]){_0x52fe54=await _0x1c2b5a[_0x4bb0b7(0x146)](_0xaaf552)[_0x4bb0b7(0x148)](_0x1f77af=>({}))||{};if(!_0x579349[_0x4bb0b7(0xf3)])_0x579349[_0x4bb0b7(0xf3)]=_0x52fe54[_0x4bb0b7(0xf3)]||'';if(!_0x579349[_0x4bb0b7(0x85)])_0x579349[_0x4bb0b7(0x85)]=_0x52fe54;}_0x26ef19=_0x1c2b5a[_0x4bb0b7(0x117)](_0x4396b8[_0x4bb0b7(0xbc)]?.[_0x4bb0b7(0xeb)]&&_0x1c2b5a[_0x4bb0b7(0x163)]['id']||_0x4396b8[_0x4bb0b7(0xb2)]||_0x4396b8[_0x4bb0b7(0xbc)]?.[_0x4bb0b7(0xb2)]||_0xaaf552||'');if(_0x26ef19!==_0xaaf552){let _0x3e791f=_0x1c2b5a[_0x4bb0b7(0x150)][_0x26ef19];if(!_0x3e791f)_0x3e791f=_0x1c2b5a[_0x4bb0b7(0x150)][_0x26ef19]={'id':_0x26ef19};if(!_0x3e791f['name'])_0x3e791f[_0x4bb0b7(0xf9)]=_0x4396b8[_0x4bb0b7(0xf8)]||_0x3e791f[_0x4bb0b7(0xf9)]||'';}}else{if(!_0x579349[_0x4bb0b7(0xf9)])_0x579349[_0x4bb0b7(0xf9)]=_0x4396b8[_0x4bb0b7(0xf8)]||_0x579349['name']||'';}if([_0x4bb0b7(0x16c),_0x4bb0b7(0x10d)][_0x4bb0b7(0x14a)](_0x44d8d4))continue;_0x579349[_0x4bb0b7(0xbe)]=!![];if(!_0x579349[_0x4bb0b7(0x168)])_0x579349['messages']={};const _0x29b0d2=_0x4396b8[_0x4bb0b7(0xbc)][_0x4bb0b7(0xeb)]||areJidsSameUser(_0x26ef19||_0xaaf552,_0x1c2b5a['user']['id']);if(![_0x4bb0b7(0x140)]['includes'](_0x44d8d4)&&!_0x29b0d2&&_0x4396b8[_0x4bb0b7(0xc3)]!=WAMessageStubType['CIPHERTEXT']&&_0x4396b8[_0x4bb0b7(0xb0)]){delete _0x4396b8[_0x4bb0b7(0xb0)][_0x4bb0b7(0x10d)],delete _0x4396b8[_0x4bb0b7(0xb0)][_0x4bb0b7(0x16c)],_0x579349[_0x4bb0b7(0x168)][_0x4396b8[_0x4bb0b7(0xbc)]['id']]=JSON[_0x4bb0b7(0x15d)](JSON[_0x4bb0b7(0x147)](_0x4396b8,null,0x2));let _0x44c084;if((_0x44c084=Object[_0x4bb0b7(0x89)](_0x579349[_0x4bb0b7(0x168)]))[_0x4bb0b7(0x15e)]>0x28)_0x579349[_0x4bb0b7(0x168)]=Object[_0x4bb0b7(0x137)](_0x44c084[_0x4bb0b7(0x12c)](0x1e,_0x44c084[_0x4bb0b7(0x15e)]));}}catch(_0x137d99){console[_0x4bb0b7(0xd9)](_0x137d99);}}},_0x1c2b5a[_0x212d5e(0x153)]=async _0x3b6a38=>{const _0x572652=_0x212d5e;let _0x26505f,_0x5e39ff=Buffer[_0x572652(0x11f)](_0x3b6a38)?_0x3b6a38:/^data:.*?\/.*?;base64,/i['test'](_0x3b6a38)?Buffer[_0x572652(0x77)](_0x3b6a38['split']`,`[0x1],'base64'):/^https?:\/\//[_0x572652(0x91)](_0x3b6a38)?await(_0x26505f=await fetch(_0x3b6a38))[_0x572652(0xbd)]():fs[_0x572652(0x100)](_0x3b6a38)?fs[_0x572652(0x10e)](_0x3b6a38):typeof _0x3b6a38===_0x572652(0xb6)?_0x3b6a38:Buffer[_0x572652(0xa8)](0x0);if(!Buffer['isBuffer'](_0x5e39ff))throw new TypeError('Result\x20is\x20not\x20a\x20buffer');let _0x41f7b1=await FileType['fromBuffer'](_0x5e39ff)||{'mime':'application/octet-stream','ext':_0x572652(0xe0)};return{'res':_0x26505f,..._0x41f7b1,'data':_0x5e39ff};},_0x1c2b5a[_0x212d5e(0xb9)]=async(_0x4429a8,_0x505874='',_0x22f57b,_0x3c09d7)=>{const _0x5448e2=_0x212d5e;if(!Array['isArray'](_0x22f57b[0x0])&&typeof _0x22f57b[0x0]===_0x5448e2(0xb6))_0x22f57b=[_0x22f57b];if(!_0x3c09d7)_0x3c09d7={};const _0x4bf7e0={'name':_0x505874,'options':_0x22f57b[_0x5448e2(0x15f)](_0x5a0873=>({'optionName':_0x5a0873[0x0]||''})),'selectableOptionsCount':0x1};return _0x1c2b5a[_0x5448e2(0x123)](_0x4429a8,{'pollCreationMessage':_0x4bf7e0},{..._0x3c09d7});},_0x1c2b5a['setBio']=async _0x418c66=>{const _0x47c157=_0x212d5e;return await _0x1c2b5a[_0x47c157(0x9c)]({'tag':'iq','attrs':{'to':_0x47c157(0x104),'type':_0x47c157(0x109),'xmlns':_0x47c157(0x14c)},'content':[{'tag':_0x47c157(0x14c),'attrs':{},'content':Buffer[_0x47c157(0x77)](_0x418c66,_0x47c157(0xe6))}]});},_0x1c2b5a['format']=(..._0x1f1a4e)=>{return util['format'](..._0x1f1a4e);},_0x1c2b5a['getBuffer']=async(_0x1e6325,_0x4b3674)=>{const _0x1fa820=_0x212d5e;try{_0x4b3674?_0x4b3674:{};const _0x468c4c=await axios({'method':'get','url':_0x1e6325,'headers':{'DNT':0x1,'Upgrade-Insecure-Request':0x1},..._0x4b3674,'responseType':_0x1fa820(0xc6)});return _0x468c4c[_0x1fa820(0xc7)];}catch(_0x588c34){console[_0x1fa820(0x101)](_0x1fa820(0xd7)+_0x588c34);}},_0x1c2b5a[_0x212d5e(0xdb)]=_0x3f69fc=>{return exports['smsg'](_0x1c2b5a,_0x3f69fc);},Object['defineProperty'](_0x1c2b5a,'name',{'value':'WASocket','configurable':!![]}),_0x1c2b5a;},exports[_0x39a9a3(0x8c)]=(_0xe1bbb1,_0x487153,_0x40d670)=>{const _0x2fca4a=_0x39a9a3;if(!_0x487153)return _0x487153;let _0x17b2e0=proto['WebMessageInfo'];_0x487153=_0x17b2e0[_0x2fca4a(0xaa)](_0x487153);_0x487153[_0x2fca4a(0xbc)]&&(_0x487153['id']=_0x487153[_0x2fca4a(0xbc)]['id'],_0x487153['isBaileys']=_0x487153['id']&&_0x487153['id'][_0x2fca4a(0x15e)]===0x10||_0x487153['id'][_0x2fca4a(0x8e)](_0x2fca4a(0x11c))&&_0x487153['id'][_0x2fca4a(0x15e)]===0xc||![],_0x487153[_0x2fca4a(0x8d)]=_0xe1bbb1[_0x2fca4a(0x117)](_0x487153['key']['remoteJid']||message[_0x2fca4a(0xb0)]?.[_0x2fca4a(0x16c)]?.[_0x2fca4a(0x136)]||''),_0x487153['isGroup']=_0x487153[_0x2fca4a(0x8d)][_0x2fca4a(0x159)](_0x2fca4a(0x114)),_0x487153[_0x2fca4a(0x93)]=_0xe1bbb1[_0x2fca4a(0x117)](_0x487153['key']['fromMe']&&_0xe1bbb1[_0x2fca4a(0x163)]['id']||_0x487153['participant']||_0x487153[_0x2fca4a(0xbc)][_0x2fca4a(0xb2)]||_0x487153[_0x2fca4a(0x8d)]||''),_0x487153[_0x2fca4a(0xeb)]=_0x487153[_0x2fca4a(0xbc)]['fromMe']||areJidsSameUser(_0x487153[_0x2fca4a(0x93)],_0xe1bbb1['user']['id']));if(_0x487153[_0x2fca4a(0xb0)]){let _0x146bc3=Object[_0x2fca4a(0x80)](_0x487153[_0x2fca4a(0xb0)]);_0x487153[_0x2fca4a(0xce)]=!['senderKeyDistributionMessage',_0x2fca4a(0x10d)]['includes'](_0x146bc3[0x0])&&_0x146bc3[0x0]||_0x146bc3[_0x2fca4a(0x15e)]>=0x3&&_0x146bc3[0x1]!==_0x2fca4a(0x10d)&&_0x146bc3[0x1]||_0x146bc3[_0x146bc3[_0x2fca4a(0x15e)]-0x1],_0x487153[_0x2fca4a(0xb1)]=_0x487153[_0x2fca4a(0xb0)][_0x487153['mtype']];if(_0x487153[_0x2fca4a(0x8d)]==_0x2fca4a(0xb5)&&[_0x2fca4a(0x140),_0x2fca4a(0x16c)][_0x2fca4a(0x14a)](_0x487153[_0x2fca4a(0xce)]))_0x487153['chat']=_0x487153[_0x2fca4a(0xbc)]['remoteJid']!=='status@broadcast'&&_0x487153[_0x2fca4a(0xbc)][_0x2fca4a(0x118)]||_0x487153[_0x2fca4a(0x93)];if(_0x487153[_0x2fca4a(0xce)]==_0x2fca4a(0x140)&&_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)]){if(_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)][_0x2fca4a(0x118)]==_0x2fca4a(0xb5))_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)][_0x2fca4a(0x118)]=_0x487153[_0x2fca4a(0x8d)];if(!_0x487153['msg'][_0x2fca4a(0xbc)][_0x2fca4a(0xb2)]||_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)][_0x2fca4a(0xb2)]=='status_me')_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)][_0x2fca4a(0xb2)]=_0x487153[_0x2fca4a(0x93)];_0x487153[_0x2fca4a(0xb1)]['key'][_0x2fca4a(0xeb)]=_0xe1bbb1[_0x2fca4a(0x117)](_0x487153['msg'][_0x2fca4a(0xbc)][_0x2fca4a(0xb2)])===_0xe1bbb1[_0x2fca4a(0x117)](_0xe1bbb1[_0x2fca4a(0x163)]['id']);if(!_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)][_0x2fca4a(0xeb)]&&_0x487153[_0x2fca4a(0xb1)]['key'][_0x2fca4a(0x118)]===_0xe1bbb1['decodeJid'](_0xe1bbb1[_0x2fca4a(0x163)]['id']))_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xbc)]['remoteJid']=_0x487153[_0x2fca4a(0x93)];}_0x487153['text']=_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0x122)]||_0x487153['msg'][_0x2fca4a(0x83)]||_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xa3)]||_0x487153['msg']||'';if(typeof _0x487153[_0x2fca4a(0x122)]!=='string'){if(['protocolMessage',_0x2fca4a(0x10d),_0x2fca4a(0xa7),_0x2fca4a(0x160),_0x2fca4a(0x16c)][_0x2fca4a(0x14a)](_0x487153[_0x2fca4a(0xce)]))_0x487153['text']='';else _0x487153[_0x2fca4a(0x122)]=_0x487153[_0x2fca4a(0x122)][_0x2fca4a(0x127)]||_0x487153[_0x2fca4a(0x122)][_0x2fca4a(0xc5)]?.['hydratedContentText']||_0x487153[_0x2fca4a(0x122)];}_0x487153[_0x2fca4a(0x10a)]=_0x487153['msg']?.[_0x2fca4a(0x120)]?.[_0x2fca4a(0x10a)]?.[_0x2fca4a(0x15e)]&&_0x487153['msg']['contextInfo'][_0x2fca4a(0x10a)]||[];let _0x46ca42=_0x487153[_0x2fca4a(0x7e)]=_0x487153[_0x2fca4a(0xb1)]?.[_0x2fca4a(0x120)]?.[_0x2fca4a(0x143)]?_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0x120)]['quotedMessage']:null;if(_0x487153['quoted']){let _0x564bf8=Object['keys'](_0x487153[_0x2fca4a(0x7e)])[0x0];_0x487153[_0x2fca4a(0x7e)]=_0x487153[_0x2fca4a(0x7e)][_0x564bf8];if(typeof _0x487153[_0x2fca4a(0x7e)]===_0x2fca4a(0xb6))_0x487153[_0x2fca4a(0x7e)]={'text':_0x487153['quoted']};_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0xce)]=_0x564bf8,_0x487153['quoted']['id']=_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0x120)][_0x2fca4a(0x82)],_0x487153['quoted']['chat']=_0xe1bbb1[_0x2fca4a(0x117)](_0x487153['msg'][_0x2fca4a(0x120)][_0x2fca4a(0x118)]||_0x487153[_0x2fca4a(0x8d)]||_0x487153[_0x2fca4a(0x93)]),_0x487153['quoted'][_0x2fca4a(0xdd)]=_0x487153[_0x2fca4a(0x7e)]['id']&&_0x487153[_0x2fca4a(0x7e)]['id'][_0x2fca4a(0x15e)]===0x10||![],_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x93)]=_0xe1bbb1[_0x2fca4a(0x117)](_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0x120)][_0x2fca4a(0xb2)]),_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0xeb)]=_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x93)]===_0xe1bbb1['user']['jid'],_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x122)]=_0x487153[_0x2fca4a(0x7e)]['text']||_0x487153[_0x2fca4a(0x7e)]['caption']||_0x487153['quoted'][_0x2fca4a(0xa3)]||'',_0x487153[_0x2fca4a(0x7e)]['name']=_0xe1bbb1[_0x2fca4a(0x10c)](_0x487153[_0x2fca4a(0x7e)]['sender']),_0x487153['quoted']['mentionedJid']=_0x487153[_0x2fca4a(0x7e)]['contextInfo']?.[_0x2fca4a(0x10a)]?.['length']&&_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x120)][_0x2fca4a(0x10a)]||[];let _0x548282=_0x487153[_0x2fca4a(0x7e)]['fakeObj']=_0x17b2e0[_0x2fca4a(0xaa)]({'key':{'fromMe':_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0xeb)],'remoteJid':_0x487153['quoted'][_0x2fca4a(0x8d)],'id':_0x487153[_0x2fca4a(0x7e)]['id']},'message':_0x46ca42,..._0x487153[_0x2fca4a(0x13e)]?{'participant':_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x93)]}:{}});_0x487153['getQuotedObj']=_0x487153[_0x2fca4a(0xaf)]=async()=>{const _0x190395=_0x2fca4a;if(!_0x487153[_0x190395(0x7e)]['id'])return null;let _0x3e21d9=_0x17b2e0[_0x190395(0xaa)](await _0xe1bbb1['loadMessage'](_0x487153[_0x190395(0x7e)]['id'])||_0x548282);return exports[_0x190395(0x8c)](_0xe1bbb1,_0x3e21d9);};if(_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0xd6)]||_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x102)])_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x9e)]=(_0x5f2f60=![])=>_0xe1bbb1[_0x2fca4a(0x7a)](_0x487153['quoted'],_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0xce)][_0x2fca4a(0x16a)](/message/i,''),_0x5f2f60);_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x162)]=(_0x43b550,_0x5146b3,_0x4e889d)=>_0xe1bbb1['reply'](_0x5146b3?_0x5146b3:_0x487153[_0x2fca4a(0x8d)],_0x43b550,_0x548282,_0x4e889d),_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x71)]=()=>exports[_0x2fca4a(0x8c)](_0xe1bbb1,_0x17b2e0[_0x2fca4a(0xaa)](_0x17b2e0[_0x2fca4a(0x167)](_0x548282))),_0x487153[_0x2fca4a(0x7e)]['forward']=(_0x46cca2,_0x2d9e99=![])=>_0xe1bbb1[_0x2fca4a(0x13c)](_0x46cca2,_0x548282,_0x2d9e99),_0x487153[_0x2fca4a(0x7e)]['copyNForward']=(_0x52fcbe,_0x3731b1=!![],_0x2bd25e={})=>_0xe1bbb1['copyNForward'](_0x52fcbe,_0x548282,_0x3731b1,_0x2bd25e),_0x487153[_0x2fca4a(0x7e)]['cMod']=(_0x594661,_0x23c578='',_0x53b9dd=_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x93)],_0x2b91da={})=>_0xe1bbb1[_0x2fca4a(0xd4)](_0x594661,_0x548282,_0x23c578,_0x53b9dd,_0x2b91da),_0x487153[_0x2fca4a(0x7e)][_0x2fca4a(0x9d)]=()=>_0xe1bbb1['sendMessage'](_0x487153['quoted']['chat'],{'delete':_0x548282[_0x2fca4a(0xbc)]});}}_0x487153[_0x2fca4a(0xf9)]=_0x487153[_0x2fca4a(0xf8)]||_0xe1bbb1[_0x2fca4a(0x10c)](_0x487153[_0x2fca4a(0x93)]);if(_0x487153['msg']&&_0x487153[_0x2fca4a(0xb1)][_0x2fca4a(0xd6)])_0x487153[_0x2fca4a(0x9e)]=(_0x49b1e6=![])=>_0xe1bbb1['downloadM'](_0x487153[_0x2fca4a(0xb1)],_0x487153[_0x2fca4a(0xce)][_0x2fca4a(0x16a)](/message/i,''),_0x49b1e6);_0x487153[_0x2fca4a(0x162)]=(_0x505c87,_0x599c46,_0x787281)=>_0xe1bbb1[_0x2fca4a(0x162)](_0x599c46?_0x599c46:_0x487153['chat'],_0x505c87,_0x487153,_0x787281),_0x487153['copy']=()=>exports[_0x2fca4a(0x8c)](_0xe1bbb1,_0x17b2e0[_0x2fca4a(0xaa)](_0x17b2e0['toObject'](_0x487153))),_0x487153['forward']=(_0x2ba463=_0x487153[_0x2fca4a(0x8d)],_0x38a736=![])=>_0xe1bbb1['copyNForward'](_0x2ba463,_0x487153,_0x38a736,options),_0x487153[_0x2fca4a(0x162)]=async(_0x4390ef,_0x393a47,_0x94058c)=>_0xe1bbb1[_0x2fca4a(0x162)](_0x393a47?_0x393a47:_0x487153[_0x2fca4a(0x8d)],_0x4390ef,_0x487153,_0x94058c),_0x487153[_0x2fca4a(0xab)]=(_0x1bf113=_0x487153['chat'],_0x14be87=!![],_0x57c0ee={})=>_0xe1bbb1[_0x2fca4a(0xab)](_0x1bf113,_0x487153,_0x14be87,_0x57c0ee),_0x487153[_0x2fca4a(0xd4)]=(_0x21ef5b,_0x1a91fe='',_0x73cc1a=_0x487153[_0x2fca4a(0x93)],_0x58b79f={})=>_0xe1bbb1[_0x2fca4a(0xd4)](_0x21ef5b,_0x487153,_0x1a91fe,_0x73cc1a,_0x58b79f),_0x487153[_0x2fca4a(0x9d)]=()=>_0xe1bbb1[_0x2fca4a(0xfd)](_0x487153[_0x2fca4a(0x8d)],{'delete':_0x487153['key']});try{if(_0x487153[_0x2fca4a(0xb1)]&&_0x487153[_0x2fca4a(0xce)]==_0x2fca4a(0x140))_0xe1bbb1['ev'][_0x2fca4a(0xf1)](_0x2fca4a(0xd5),_0x487153['msg']['key']);}catch(_0x311e30){console[_0x2fca4a(0xd9)](_0x311e30);}return _0x487153;},exports[_0x39a9a3(0x8b)]=(_0x27b4bf,_0x265e1b,_0x5461ba)=>{const _0xd96d50=_0x39a9a3;if(_0x265e1b[_0xd96d50(0x15e)]!==_0x5461ba[_0xd96d50(0x15e)])throw new Error(_0xd96d50(0x115));for(let _0x20bda9 in _0x265e1b)if(util[_0xd96d50(0xad)](_0x27b4bf,_0x265e1b[_0x20bda9]))return _0x5461ba[_0x20bda9];return null;},exports[_0x39a9a3(0x6f)]=()=>{const _0x2ee87c=_0x39a9a3;Buffer['prototype']['toArrayBuffer']=function _0x4d42ef(){const _0x5ed601=_0x5afd,_0x42c502=new ArrayBuffer(this[_0x5ed601(0x15e)]),_0x51b9a7=new Uint8Array(_0x42c502);for(let _0x495b85=0x0;_0x495b85<this['length'];++_0x495b85){_0x51b9a7[_0x495b85]=this[_0x495b85];}return _0x42c502;},Buffer[_0x2ee87c(0xe3)][_0x2ee87c(0xfa)]=function _0x59db28(){const _0x278426=_0x2ee87c;return this[_0x278426(0xbd)]['slice'](this['byteOffset'],this['byteOffset']+this[_0x278426(0xac)]);},ArrayBuffer['prototype'][_0x2ee87c(0xe9)]=function _0x3df389(){return Buffer['from'](new Uint8Array(this));},Uint8Array[_0x2ee87c(0xe3)]['getFileType']=ArrayBuffer[_0x2ee87c(0xe3)][_0x2ee87c(0xcb)]=Buffer[_0x2ee87c(0xe3)][_0x2ee87c(0xcb)]=async function _0x57e61c(){return await fileTypeFromBuffer(this);},String[_0x2ee87c(0xe3)][_0x2ee87c(0xae)]=Number[_0x2ee87c(0xe3)]['isNumber']=isNumber,String['prototype'][_0x2ee87c(0xf2)]=function _0x289f60(){const _0x5204ad=_0x2ee87c;return this['charAt'](0x0)[_0x5204ad(0xff)]()+this[_0x5204ad(0x12c)](0x1,this[_0x5204ad(0x15e)]);},String['prototype'][_0x2ee87c(0x141)]=function _0xf410c6(){const _0x6778c1=_0x2ee87c,_0x74888c=this['split']('\x20');return _0x74888c[_0x6778c1(0x15f)](_0x236891=>_0x236891[_0x6778c1(0xf2)]())[_0x6778c1(0xea)]('\x20');},String[_0x2ee87c(0xe3)][_0x2ee87c(0x117)]=function _0x39bc6f(){const _0x1a1a66=_0x2ee87c;if(/:\d+@/gi['test'](this)){const _0x12d620=jidDecode(this)||{};return(_0x12d620[_0x1a1a66(0x163)]&&_0x12d620[_0x1a1a66(0xbb)]&&_0x12d620['user']+'@'+_0x12d620[_0x1a1a66(0xbb)]||this)['trim']();}else return this[_0x1a1a66(0x111)]();},Number[_0x2ee87c(0xe3)][_0x2ee87c(0xb8)]=function _0x19fe3f(){const _0x104887=_0x2ee87c,_0x59f8c6=Math[_0x104887(0x76)](this/0x3e8%0x3c),_0x4ff0d0=Math[_0x104887(0x76)](this/(0x3c*0x3e8)%0x3c),_0x4ef891=Math['floor'](this/(0x3c*0x3c*0x3e8)%0x18),_0x26e4de=Math[_0x104887(0x76)](this/(0x18*0x3c*0x3c*0x3e8));return((_0x26e4de?_0x26e4de+_0x104887(0x124):'')+(_0x4ef891?_0x4ef891+_0x104887(0x88):'')+(_0x4ff0d0?_0x4ff0d0+_0x104887(0x165):'')+(_0x59f8c6?_0x59f8c6+_0x104887(0x94):''))[_0x104887(0x111)]();},Number[_0x2ee87c(0xe3)][_0x2ee87c(0x129)]=String[_0x2ee87c(0xe3)][_0x2ee87c(0x129)]=Array[_0x2ee87c(0xe3)]['getRandom']=getRandom;};function isNumber(){const _0xda868b=parseInt(this);return typeof _0xda868b==='number'&&!isNaN(_0xda868b);}function getRandom(){const _0x10d6cf=_0x39a9a3;if(Array['isArray'](this)||this instanceof String)return this[Math['floor'](Math['random']()*this[_0x10d6cf(0x15e)])];return Math[_0x10d6cf(0x76)](Math[_0x10d6cf(0xc8)]()*this);}function _0x5afd(_0x2f2fe7,_0x9ec304){const _0x5c5198=_0x5c51();return _0x5afd=function(_0x5afd89,_0x1c08a0){_0x5afd89=_0x5afd89-0x6f;let _0x28d55e=_0x5c5198[_0x5afd89];return _0x28d55e;},_0x5afd(_0x2f2fe7,_0x9ec304);}function rand(_0x379dc9){const _0x2675cf=_0x39a9a3;return _0x379dc9[Math[_0x2675cf(0x76)](Math[_0x2675cf(0xc8)]()*_0x379dc9['length'])];}