-
Notifications
You must be signed in to change notification settings - Fork 220
/
myfunc.js
1 lines (1 loc) · 21 KB
/
myfunc.js
1
const _0xeaf5b5=_0x2f87;(function(_0x54613a,_0x588047){const _0x11e3d4=_0x2f87,_0x322eb7=_0x54613a();while(!![]){try{const _0x2123ae=parseInt(_0x11e3d4(0x120))/0x1*(-parseInt(_0x11e3d4(0x15c))/0x2)+-parseInt(_0x11e3d4(0xd3))/0x3+-parseInt(_0x11e3d4(0x17c))/0x4*(parseInt(_0x11e3d4(0x156))/0x5)+-parseInt(_0x11e3d4(0x15b))/0x6*(-parseInt(_0x11e3d4(0x15e))/0x7)+parseInt(_0x11e3d4(0xe1))/0x8+parseInt(_0x11e3d4(0x10a))/0x9*(parseInt(_0x11e3d4(0x109))/0xa)+parseInt(_0x11e3d4(0x131))/0xb*(parseInt(_0x11e3d4(0xe2))/0xc);if(_0x2123ae===_0x588047)break;else _0x322eb7['push'](_0x322eb7['shift']());}catch(_0x22852b){_0x322eb7['push'](_0x322eb7['shift']());}}}(_0x64ac,0xd3456));function hi(){const _0x17f035=_0x2f87;console[_0x17f035(0x138)](_0x17f035(0x179));}function _0x2f87(_0x50794e,_0x2f939d){const _0x64ac14=_0x64ac();return _0x2f87=function(_0x2f8797,_0x550bfc){_0x2f8797=_0x2f8797-0xd1;let _0x11ce8f=_0x64ac14[_0x2f8797];return _0x11ce8f;},_0x2f87(_0x50794e,_0x2f939d);}hi();const {proto,delay,getContentType}=require(_0xeaf5b5(0xf8)),chalk=require(_0xeaf5b5(0xd6)),fs=require('fs'),Crypto=require('crypto'),axios=require(_0xeaf5b5(0x161)),child_process=require('child_process'),moment=require(_0xeaf5b5(0x13a)),{sizeFormatter}=require('human-readable'),util=require(_0xeaf5b5(0x129)),Jimp=require(_0xeaf5b5(0xda)),{defaultMaxListeners}=require(_0xeaf5b5(0x167)),unixTimestampSeconds=(_0x16fcbc=new Date())=>Math[_0xeaf5b5(0x108)](_0x16fcbc[_0xeaf5b5(0x16e)]()/0x3e8);exports['unixTimestampSeconds']=unixTimestampSeconds,exports['totalcase']=()=>{const _0x133ecd=_0xeaf5b5;var _0x867dce=fs[_0x133ecd(0x158)](_0x133ecd(0x18a))[_0x133ecd(0x118)](),_0x1640dc=(_0x867dce[_0x133ecd(0x17d)](/case '/g)||[])[_0x133ecd(0x16a)];return _0x1640dc;},exports[_0xeaf5b5(0x159)]=_0x5839ad=>{const _0x5c8faf=_0xeaf5b5;let _0x1c3810=(0x0,exports[_0x5c8faf(0x10f)])()[_0x5c8faf(0x118)]();if(_0x5839ad)_0x1c3810+=_0x5c8faf(0x116)+_0x5839ad;return _0x1c3810;},exports[_0xeaf5b5(0xfd)]=(_0x41878c,_0x10f92c)=>{const _0x29f4c3=_0xeaf5b5;return moment[_0x29f4c3(0x172)](_0x10f92c-moment(_0x41878c*0x3e8))[_0x29f4c3(0xd9)]();},exports[_0xeaf5b5(0xef)]=_0x13650b=>{const _0x20466a=_0xeaf5b5;return''+Math[_0x20466a(0x108)](Math[_0x20466a(0x139)]()*0x2710)+_0x13650b;},exports[_0xeaf5b5(0x168)]=async(_0x51760a,_0x1b1860)=>{const _0x5a093a=_0xeaf5b5;try{_0x1b1860?_0x1b1860:{};const _0x4cb924=await axios({'method':'get','url':_0x51760a,'headers':{'DNT':0x1,'Upgrade-Insecure-Request':0x1},..._0x1b1860,'responseType':_0x5a093a(0x150)});return _0x4cb924[_0x5a093a(0x132)];}catch(_0x528e73){return _0x528e73;}},exports[_0xeaf5b5(0x181)]=async(_0x5bf988,_0x554fa0)=>{const _0x545059=_0xeaf5b5;try{_0x554fa0?_0x554fa0:{};const _0x5ec409=await axios({'method':_0x545059(0xdb),'url':_0x5bf988,'headers':{'DNT':0x1,'Upgrade-Insecure-Request':0x1},..._0x554fa0,'responseType':_0x545059(0x150)});return _0x5ec409[_0x545059(0x132)];}catch(_0x8f8448){return _0x8f8448;}},exports[_0xeaf5b5(0x155)]=async(_0x287bee,_0x25e993)=>{const _0x33239e=_0xeaf5b5;try{_0x25e993?_0x25e993:{};const _0x1efb99=await axios({'method':_0x33239e(0x152),'url':_0x287bee,'headers':{'User-Agent':'Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/95.0.4638.69\x20Safari/537.36'},..._0x25e993});return _0x1efb99[_0x33239e(0x132)];}catch(_0x3e6e1e){return _0x3e6e1e;}},exports[_0xeaf5b5(0x101)]=async _0x3e3726=>{return new Promise((_0x452a08,_0x1bd941)=>{const _0x296a5e=_0x2f87,_0xb5051=new BodyForm();_0xb5051['append']('new-image-url',''),_0xb5051[_0x296a5e(0x12f)](_0x296a5e(0xe5),fs[_0x296a5e(0xe6)](_0x3e3726)),axios({'method':_0x296a5e(0x11a),'url':_0x296a5e(0xed),'data':_0xb5051,'headers':{'Content-Type':_0x296a5e(0x122)+_0xb5051[_0x296a5e(0x16f)]}})[_0x296a5e(0xf7)](({data:_0x57cbd6})=>{const _0x163c61=_0x296a5e,_0x7488f5=new BodyForm(),_0x1b58fd=cheerio[_0x163c61(0xfa)](_0x57cbd6),_0x2d22aa=_0x1b58fd(_0x163c61(0x14f))['attr'](_0x163c61(0x12c));_0x7488f5[_0x163c61(0x12f)](_0x163c61(0x17e),_0x2d22aa),_0x7488f5[_0x163c61(0x12f)]('convert',_0x163c61(0xfc)),axios({'method':_0x163c61(0x11a),'url':_0x163c61(0x177)+_0x2d22aa,'data':_0x7488f5,'headers':{'Content-Type':'multipart/form-data;\x20boundary='+_0x7488f5[_0x163c61(0x16f)]}})[_0x163c61(0xf7)](({data:_0x394a49})=>{const _0x404b1d=_0x163c61,_0x5ddf68=cheerio[_0x404b1d(0xfa)](_0x394a49),_0xa2f38c=_0x404b1d(0x147)+_0x5ddf68('div#output\x20>\x20p.outfile\x20>\x20video\x20>\x20source')[_0x404b1d(0x184)](_0x404b1d(0x13e));_0x452a08({'status':!![],'message':_0x404b1d(0x17f),'result':_0xa2f38c});})[_0x163c61(0x111)](_0x1bd941);})[_0x296a5e(0x111)](_0x1bd941);});},exports[_0xeaf5b5(0x137)]=async(_0x151a9e,_0x5380ba)=>{const _0x58fdd3=_0xeaf5b5;try{_0x5380ba?_0x5380ba:{};const _0x487e94=await axios({'method':_0x58fdd3(0x152),'url':_0x151a9e,'headers':{'User-Agent':_0x58fdd3(0x11f)},..._0x5380ba});return _0x487e94[_0x58fdd3(0x132)];}catch(_0x3be1b1){return _0x3be1b1;}},exports['WAVersion']=async()=>{const _0x526517=_0xeaf5b5;let _0x4f5c65=await exports[_0x526517(0x137)](_0x526517(0x15d)),_0x687138=[_0x4f5c65[_0x526517(0x14a)][_0x526517(0x14b)](/[.]/g,',\x20')];return _0x687138;},exports[_0xeaf5b5(0x178)]=_0x25a17b=>{const _0x24f24a=parseInt(_0x25a17b);return typeof _0x24f24a==='number'&&!isNaN(_0x24f24a);},exports[_0xeaf5b5(0xd8)]=_0x5b580a=>{return new Promise(async(_0x3d8ad0,_0xa42a61)=>{const _0x3cccfa=_0x2f87;if(!fs[_0x3cccfa(0xe0)](_0x5b580a))return _0xa42a61(new Error(_0x3cccfa(0xfb)));try{const _0x2fa3dc=new BodyForm();_0x2fa3dc[_0x3cccfa(0x12f)]('file',fs[_0x3cccfa(0xe6)](_0x5b580a));const _0x4f61e3=await axios({'url':'https://telegra.ph/upload','method':'POST','headers':{..._0x2fa3dc[_0x3cccfa(0x146)]()},'data':_0x2fa3dc});return _0x3d8ad0(_0x3cccfa(0x11d)+_0x4f61e3[_0x3cccfa(0x132)][0x0]['src']);}catch(_0x489118){return _0xa42a61(new Error(String(_0x489118)));}});};const sleepy=async _0x491129=>{return new Promise(_0x1d62a2=>setTimeout(_0x1d62a2,_0x491129));};function _0x64ac(){const _0x3feb44=['startsWith','viewOnceMessage','\x20second','ffmpeg\x20-i\x20./XeonMedia/trash/','../index.js','appenTextMessage','\x20hours,\x20','4568235LmVsDC','getQuotedObj','superadmin','chalk','@g.us','TelegraPh','asSeconds','jimp','get','fetchBuffer','map','.gif\x20-movflags\x20faststart\x20-pix_fmt\x20yuv420p\x20-vf\x20\x22scale=trunc(iw/2)*2:trunc(ih/2)*2\x22\x20./XeonMedia/trash/','./XeonMedia/video/','existsSync','4728856mZaQwq','948TwItKU','url','\x20days,\x20','new-image','createReadStream','stringify','logic','.gif','text','matchAll','push','https://s6.ezgif.com/webp-to-mp4','includes','getRandom','copyNForward','participant','\x20minute,\x20','admin','numeric','chat','endsWith','then','@whiskeysockets/baileys','sleep','load','File\x20not\x20Found','Convert\x20WebP\x20to\x20MP4!','processTime','fromMe','isBaileys','caption','webp2mp4File','long','remoteJid','productMessage','getQuotedMessage','0\x20Bytes','quoted','floor','82690BmCepG','1359xUyosc','body','stanzaId','test','bytesToSize','unixTimestampSeconds','pushName','catch','download','message','buttonsResponseMessage','fromObject','.--','Asia/Kolkata','toString','reply','post','JEDEC','sender','https://telegra.ph','./XeonMedia/gif/','Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/95.0.4638.69\x20Safari/537.36','5XlAZzV','toLocaleDateString','multipart/form-data;\x20boundary=','downloadMediaMessage','isBuffer','runtime','msg','quotedMessage','selectedDisplayText','util','./XeonMedia/trash/','reSize','value','title','isGroup','append','json','244211aEGUpx','data','selectedButtonId','scaleToFit','buffergif','contextInfo','fetchUrl','log','random','moment-timezone','isUrl','copy','selectedRowId','src','.mp4','BAE5','string','decodeJid','loadMessage','listResponseMessage','getBufferAsync','getHeaders','https:','user','messages.upsert','currentVersion','replace','conversation','byteLength','\x20seconds','input[name=\x22file\x22]','arraybuffer','crop','GET','format','MIME_JPEG','fetchJson','5CinFIk','sendMessage','readFileSync','generateMessageTag','contentText','138vKdItP','286896rcdbYG','https://web.whatsapp.com/check-update?version=1&platform=web','168161oXezOQ','padStart','sendText','axios','mentionedJid','Bytes','exec','key','isDeepStrictEqual','stream','getBuffer','\x20day,\x20','length','formatDate','content-length','locale','getTime','_boundary','getHeight','emit','duration','join','Input\x20and\x20Output\x20must\x20have\x20same\x20length','all','mtype','https://ezgif.com/webp-to-mp4/','isNumber','Hello\x20World!','\x20minutes,\x20','read','4163132dYjdVq','match','file','Created\x20By\x20Eternity','resize','getImg','WebMessageInfo','generateProfilePicture','attr','smsg'];_0x64ac=function(){return _0x3feb44;};return _0x64ac();}exports[_0xeaf5b5(0x135)]=async _0x954e3c=>{const _0x2f59ed=_0xeaf5b5,_0x474c21=''+Math[_0x2f59ed(0x139)]()[_0x2f59ed(0x118)](0x24);await fs['writeFileSync'](_0x2f59ed(0x12a)+_0x474c21+_0x2f59ed(0xe9),_0x954e3c),child_process[_0x2f59ed(0x164)](_0x2f59ed(0x189)+_0x474c21+_0x2f59ed(0xde)+_0x474c21+_0x2f59ed(0x13f)),await sleepy(0xfa0);var _0x5c07bc=await fs[_0x2f59ed(0x158)](_0x2f59ed(0x12a)+_0x474c21+_0x2f59ed(0x13f));return Promise[_0x2f59ed(0x175)]([unlink(_0x2f59ed(0xdf)+_0x474c21+_0x2f59ed(0x13f)),unlink(_0x2f59ed(0x11e)+_0x474c21+'.gif')]),_0x5c07bc;},exports[_0xeaf5b5(0xdc)]=async(_0x4980a9,_0x65aa3)=>{const _0x2bfa72=_0xeaf5b5;try{_0x65aa3?_0x65aa3:{};const _0x30f678=await axios({'method':_0x2bfa72(0x152),'url':_0x4980a9,'headers':{'User-Agent':'Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/78.0.3904.70\x20Safari/537.36','DNT':0x1,'Upgrade-Insecure-Request':0x1},..._0x65aa3,'responseType':'arraybuffer'});return _0x30f678[_0x2bfa72(0x132)];}catch(_0x1591b4){return _0x1591b4;}},exports[_0xeaf5b5(0x125)]=function(_0x581f57){const _0x2c8798=_0xeaf5b5;_0x581f57=Number(_0x581f57);var _0x31c6a3=Math[_0x2c8798(0x108)](_0x581f57/(0xe10*0x18)),_0x258efb=Math['floor'](_0x581f57%(0xe10*0x18)/0xe10),_0x5aedc7=Math['floor'](_0x581f57%0xe10/0x3c),_0x3890c1=Math['floor'](_0x581f57%0x3c),_0x22ca72=_0x31c6a3>0x0?_0x31c6a3+(_0x31c6a3==0x1?_0x2c8798(0x169):_0x2c8798(0xe4)):'',_0x481c4f=_0x258efb>0x0?_0x258efb+(_0x258efb==0x1?'\x20hour,\x20':_0x2c8798(0xd2)):'',_0x569ffe=_0x5aedc7>0x0?_0x5aedc7+(_0x5aedc7==0x1?_0x2c8798(0xf2):_0x2c8798(0x17a)):'',_0x436ad2=_0x3890c1>0x0?_0x3890c1+(_0x3890c1==0x1?_0x2c8798(0x188):_0x2c8798(0x14e)):'';return _0x22ca72+_0x481c4f+_0x569ffe+_0x436ad2;},exports['clockString']=_0x2d1b17=>{const _0x55c049=_0xeaf5b5;let _0x12646c=isNaN(_0x2d1b17)?'--':Math['floor'](_0x2d1b17/0x36ee80),_0x15ae14=isNaN(_0x2d1b17)?'--':Math[_0x55c049(0x108)](_0x2d1b17/0xea60)%0x3c,_0x323141=isNaN(_0x2d1b17)?'--':Math[_0x55c049(0x108)](_0x2d1b17/0x3e8)%0x3c;return[_0x12646c,_0x15ae14,_0x323141][_0x55c049(0xdd)](_0x5303bb=>_0x5303bb[_0x55c049(0x118)]()[_0x55c049(0x15f)](0x2,0x0))[_0x55c049(0x173)](':');},exports[_0xeaf5b5(0xf9)]=async _0x1a0412=>{return new Promise(_0x21ce39=>setTimeout(_0x21ce39,_0x1a0412));},exports[_0xeaf5b5(0x13b)]=_0xf5d871=>{return _0xf5d871['match'](new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)/,'gi'));},exports[_0xeaf5b5(0x16e)]=(_0x2e31ef,_0x596ebe)=>{const _0x4ce6dd=_0xeaf5b5;return _0x596ebe?moment(_0x596ebe)[_0x4ce6dd(0x16d)]('id')[_0x4ce6dd(0x153)](_0x2e31ef):moment['tz'](_0x4ce6dd(0x117))[_0x4ce6dd(0x16d)]('id')[_0x4ce6dd(0x153)](_0x2e31ef);},exports[_0xeaf5b5(0x16b)]=(_0x2648a7,_0x5d7ac7='id')=>{const _0x5c99a4=_0xeaf5b5;let _0x475b18=new Date(_0x2648a7);return _0x475b18[_0x5c99a4(0x121)](_0x5d7ac7,{'weekday':_0x5c99a4(0x102),'day':_0x5c99a4(0xf4),'month':_0x5c99a4(0x102),'year':_0x5c99a4(0xf4),'hour':'numeric','minute':_0x5c99a4(0xf4),'second':_0x5c99a4(0xf4)});},exports['formatp']=sizeFormatter({'std':_0xeaf5b5(0x11b),'decimalPlaces':0x2,'keepTrailingZeroes':![],'render':(_0x4a5771,_0x2afcb7)=>_0x4a5771+'\x20'+_0x2afcb7+'B'}),exports[_0xeaf5b5(0x130)]=_0xdf0086=>{const _0xa27b51=_0xeaf5b5;return JSON[_0xa27b51(0xe7)](_0xdf0086,null,0x2);};function format(..._0x18a104){const _0x12538e=_0xeaf5b5;return util[_0x12538e(0x153)](..._0x18a104);}exports[_0xeaf5b5(0xe8)]=(_0x59b89e,_0x13b8e3,_0x50e2a2)=>{const _0x1ad835=_0xeaf5b5;if(_0x13b8e3[_0x1ad835(0x16a)]!==_0x50e2a2[_0x1ad835(0x16a)])throw new Error(_0x1ad835(0x174));for(let _0x2585a4 in _0x13b8e3)if(util[_0x1ad835(0x166)](_0x59b89e,_0x13b8e3[_0x2585a4]))return _0x50e2a2[_0x2585a4];return null;},exports[_0xeaf5b5(0x183)]=async _0x2b38f2=>{const _0x5932c0=_0xeaf5b5,_0x526ac8=await Jimp[_0x5932c0(0x17b)](_0x2b38f2),_0x2580e9=_0x526ac8['getWidth'](),_0x5962d0=_0x526ac8[_0x5932c0(0x170)](),_0x55281f=_0x526ac8[_0x5932c0(0x151)](0x0,0x0,_0x2580e9,_0x5962d0);return{'img':await _0x55281f[_0x5932c0(0x134)](0x2d0,0x2d0)[_0x5932c0(0x145)](Jimp[_0x5932c0(0x154)]),'preview':await _0x55281f['scaleToFit'](0x2d0,0x2d0)[_0x5932c0(0x145)](Jimp[_0x5932c0(0x154)])};},exports[_0xeaf5b5(0x10e)]=(_0x44f6f1,_0x3fd40c=0x2)=>{const _0x2f7c59=_0xeaf5b5;if(_0x44f6f1===0x0)return _0x2f7c59(0x106);const _0x254537=0x400,_0x546a79=_0x3fd40c<0x0?0x0:_0x3fd40c,_0x217977=[_0x2f7c59(0x163),'KB','MB','GB','TB','PB','EB','ZB','YB'],_0x4bc15a=Math[_0x2f7c59(0x108)](Math[_0x2f7c59(0x138)](_0x44f6f1)/Math[_0x2f7c59(0x138)](_0x254537));return parseFloat((_0x44f6f1/Math['pow'](_0x254537,_0x4bc15a))['toFixed'](_0x546a79))+'\x20'+_0x217977[_0x4bc15a];},exports['getSizeMedia']=_0x5cd2e9=>{return new Promise((_0x27148a,_0x3a9fa7)=>{const _0x430577=_0x2f87;if(/http/[_0x430577(0x10d)](_0x5cd2e9))axios[_0x430577(0xdb)](_0x5cd2e9)['then'](_0x580fe4=>{const _0x23cb29=_0x430577;let _0x395754=parseInt(_0x580fe4['headers'][_0x23cb29(0x16c)]),_0x5bdec5=exports['bytesToSize'](_0x395754,0x3);if(!isNaN(_0x395754))_0x27148a(_0x5bdec5);});else{if(Buffer[_0x430577(0x124)](_0x5cd2e9)){let _0x1c5c7f=Buffer[_0x430577(0x14d)](_0x5cd2e9),_0x1f1273=exports[_0x430577(0x10e)](_0x1c5c7f,0x3);if(!isNaN(_0x1c5c7f))_0x27148a(_0x1f1273);}else _0x3a9fa7('I\x20dont\x20know\x20what\x20the\x20error\x20is');}});},exports['parseMention']=(_0x31df03='')=>{const _0x40336e=_0xeaf5b5;return[..._0x31df03[_0x40336e(0xeb)](/@([0-9]{5,16}|0)/g)][_0x40336e(0xdd)](_0x497ece=>_0x497ece[0x1]+'@s.whatsapp.net');},exports['getGroupAdmins']=_0x43c6d8=>{const _0xffff5=_0xeaf5b5;let _0x10572f=[];for(let _0x25516d of _0x43c6d8){_0x25516d['admin']===_0xffff5(0xd5)?_0x10572f[_0xffff5(0xec)](_0x25516d['id']):_0x25516d['admin']===_0xffff5(0xf3)?_0x10572f[_0xffff5(0xec)](_0x25516d['id']):'';}return _0x10572f||[];},exports[_0xeaf5b5(0x185)]=(_0x4d06de,_0x8cc870,_0x39795f)=>{const _0x34a3e3=_0xeaf5b5;if(!_0x8cc870)return _0x8cc870;let _0x29cbbd=proto[_0x34a3e3(0x182)];if(_0x8cc870['key']){_0x8cc870['id']=_0x8cc870[_0x34a3e3(0x165)]['id'],_0x8cc870[_0x34a3e3(0xff)]=_0x8cc870['id'][_0x34a3e3(0x186)](_0x34a3e3(0x140))&&_0x8cc870['id']['length']===0x10,_0x8cc870['chat']=_0x8cc870[_0x34a3e3(0x165)][_0x34a3e3(0x103)],_0x8cc870[_0x34a3e3(0xfe)]=_0x8cc870[_0x34a3e3(0x165)][_0x34a3e3(0xfe)],_0x8cc870[_0x34a3e3(0x12e)]=_0x8cc870[_0x34a3e3(0xf5)][_0x34a3e3(0xf6)](_0x34a3e3(0xd7)),_0x8cc870[_0x34a3e3(0x11c)]=_0x4d06de['decodeJid'](_0x8cc870['fromMe']&&_0x4d06de[_0x34a3e3(0x148)]['id']||_0x8cc870['participant']||_0x8cc870[_0x34a3e3(0x165)][_0x34a3e3(0xf1)]||_0x8cc870[_0x34a3e3(0xf5)]||'');if(_0x8cc870[_0x34a3e3(0x12e)])_0x8cc870[_0x34a3e3(0xf1)]=_0x4d06de[_0x34a3e3(0x142)](_0x8cc870[_0x34a3e3(0x165)][_0x34a3e3(0xf1)])||'';}if(_0x8cc870[_0x34a3e3(0x113)]){_0x8cc870['mtype']=getContentType(_0x8cc870[_0x34a3e3(0x113)]),_0x8cc870[_0x34a3e3(0x126)]=_0x8cc870[_0x34a3e3(0x176)]==_0x34a3e3(0x187)?_0x8cc870[_0x34a3e3(0x113)][_0x8cc870[_0x34a3e3(0x176)]][_0x34a3e3(0x113)][getContentType(_0x8cc870[_0x34a3e3(0x113)][_0x8cc870['mtype']][_0x34a3e3(0x113)])]:_0x8cc870[_0x34a3e3(0x113)][_0x8cc870[_0x34a3e3(0x176)]],_0x8cc870[_0x34a3e3(0x10b)]=_0x8cc870[_0x34a3e3(0x113)]['conversation']||_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x100)]||_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0xea)]||_0x8cc870['mtype']==_0x34a3e3(0x144)&&_0x8cc870[_0x34a3e3(0x126)]['singleSelectReply'][_0x34a3e3(0x13d)]||_0x8cc870['mtype']==_0x34a3e3(0x114)&&_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x133)]||_0x8cc870[_0x34a3e3(0x176)]==_0x34a3e3(0x187)&&_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x100)]||_0x8cc870[_0x34a3e3(0xea)];let _0x5e141c=_0x8cc870[_0x34a3e3(0x107)]=_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x136)]?_0x8cc870[_0x34a3e3(0x126)]['contextInfo'][_0x34a3e3(0x127)]:null;_0x8cc870[_0x34a3e3(0x162)]=_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x136)]?_0x8cc870['msg']['contextInfo']['mentionedJid']:[];if(_0x8cc870[_0x34a3e3(0x107)]){let _0x4b3119=getContentType(_0x5e141c);_0x8cc870[_0x34a3e3(0x107)]=_0x8cc870[_0x34a3e3(0x107)][_0x4b3119];[_0x34a3e3(0x104)][_0x34a3e3(0xee)](_0x4b3119)&&(_0x4b3119=getContentType(_0x8cc870[_0x34a3e3(0x107)]),_0x8cc870[_0x34a3e3(0x107)]=_0x8cc870[_0x34a3e3(0x107)][_0x4b3119]);if(typeof _0x8cc870[_0x34a3e3(0x107)]===_0x34a3e3(0x141))_0x8cc870[_0x34a3e3(0x107)]={'text':_0x8cc870[_0x34a3e3(0x107)]};_0x8cc870['quoted']['mtype']=_0x4b3119,_0x8cc870['quoted']['id']=_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x136)][_0x34a3e3(0x10c)],_0x8cc870['quoted'][_0x34a3e3(0xf5)]=_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x136)][_0x34a3e3(0x103)]||_0x8cc870['chat'],_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xff)]=_0x8cc870[_0x34a3e3(0x107)]['id']?_0x8cc870[_0x34a3e3(0x107)]['id']['startsWith'](_0x34a3e3(0x140))&&_0x8cc870[_0x34a3e3(0x107)]['id']['length']===0x10:![],_0x8cc870['quoted'][_0x34a3e3(0x11c)]=_0x4d06de['decodeJid'](_0x8cc870['msg'][_0x34a3e3(0x136)][_0x34a3e3(0xf1)]),_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xfe)]=_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x11c)]===(_0x4d06de[_0x34a3e3(0x148)]&&_0x4d06de['user']['id']),_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xea)]=_0x8cc870['quoted'][_0x34a3e3(0xea)]||_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x100)]||_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x14c)]||_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x15a)]||_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x128)]||_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x12d)]||'',_0x8cc870[_0x34a3e3(0x107)]['mentionedJid']=_0x8cc870['msg'][_0x34a3e3(0x136)]?_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x136)]['mentionedJid']:[],_0x8cc870[_0x34a3e3(0xd4)]=_0x8cc870[_0x34a3e3(0x105)]=async()=>{const _0x31b4bc=_0x34a3e3;if(!_0x8cc870[_0x31b4bc(0x107)]['id'])return![];let _0x3ceac7=await _0x39795f[_0x31b4bc(0x143)](_0x8cc870[_0x31b4bc(0xf5)],_0x8cc870[_0x31b4bc(0x107)]['id'],_0x4d06de);return exports['smsg'](_0x4d06de,_0x3ceac7,_0x39795f);};let _0x5805be=_0x8cc870[_0x34a3e3(0x107)]['fakeObj']=_0x29cbbd[_0x34a3e3(0x115)]({'key':{'remoteJid':_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xf5)],'fromMe':_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xfe)],'id':_0x8cc870[_0x34a3e3(0x107)]['id']},'message':_0x5e141c,..._0x8cc870[_0x34a3e3(0x12e)]?{'participant':_0x8cc870['quoted']['sender']}:{}});_0x8cc870[_0x34a3e3(0x107)]['delete']=()=>_0x4d06de[_0x34a3e3(0x157)](_0x8cc870[_0x34a3e3(0x107)]['chat'],{'delete':_0x5805be[_0x34a3e3(0x165)]}),_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0xf0)]=(_0x4edd8d,_0x5eae40=![],_0x2b3980={})=>_0x4d06de[_0x34a3e3(0xf0)](_0x4edd8d,_0x5805be,_0x5eae40,_0x2b3980),_0x8cc870[_0x34a3e3(0x107)][_0x34a3e3(0x112)]=()=>_0x4d06de['downloadMediaMessage'](_0x8cc870['quoted']);}}if(_0x8cc870['msg'][_0x34a3e3(0xe3)])_0x8cc870['download']=()=>_0x4d06de[_0x34a3e3(0x123)](_0x8cc870[_0x34a3e3(0x126)]);_0x8cc870[_0x34a3e3(0xea)]=_0x8cc870[_0x34a3e3(0x126)]['text']||_0x8cc870['msg'][_0x34a3e3(0x100)]||_0x8cc870['message'][_0x34a3e3(0x14c)]||_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x15a)]||_0x8cc870[_0x34a3e3(0x126)][_0x34a3e3(0x128)]||_0x8cc870['msg'][_0x34a3e3(0x12d)]||'',_0x8cc870[_0x34a3e3(0x119)]=(_0x5cbd2d,_0x357227=_0x8cc870['chat'],_0x26172a={})=>Buffer[_0x34a3e3(0x124)](_0x5cbd2d)?_0x4d06de['sendMedia'](_0x357227,_0x5cbd2d,_0x34a3e3(0x17e),'',_0x8cc870,{..._0x26172a}):_0x4d06de[_0x34a3e3(0x160)](_0x357227,_0x5cbd2d,_0x8cc870,{..._0x26172a}),_0x8cc870[_0x34a3e3(0x13c)]=()=>exports['smsg'](_0x4d06de,_0x29cbbd[_0x34a3e3(0x115)](_0x29cbbd['toObject'](_0x8cc870))),_0x8cc870[_0x34a3e3(0xf0)]=(_0x3c2ec9=_0x8cc870[_0x34a3e3(0xf5)],_0x4b838c=![],_0xd31516={})=>_0x4d06de[_0x34a3e3(0xf0)](_0x3c2ec9,_0x8cc870,_0x4b838c,_0xd31516),_0x4d06de[_0x34a3e3(0xd1)]=async(_0x7869cb,_0x1997f4)=>{const _0x4ca4f8=_0x34a3e3;let _0x117499=await generateWAMessage(_0x8cc870['chat'],{'text':_0x7869cb,'mentions':_0x8cc870[_0x4ca4f8(0x162)]},{'userJid':_0x4d06de[_0x4ca4f8(0x148)]['id'],'quoted':_0x8cc870[_0x4ca4f8(0x107)]&&_0x8cc870[_0x4ca4f8(0x107)]['fakeObj']});_0x117499[_0x4ca4f8(0x165)][_0x4ca4f8(0xfe)]=areJidsSameUser(_0x8cc870[_0x4ca4f8(0x11c)],_0x4d06de[_0x4ca4f8(0x148)]['id']),_0x117499[_0x4ca4f8(0x165)]['id']=_0x8cc870[_0x4ca4f8(0x165)]['id'],_0x117499[_0x4ca4f8(0x110)]=_0x8cc870[_0x4ca4f8(0x110)];if(_0x8cc870[_0x4ca4f8(0x12e)])_0x117499[_0x4ca4f8(0xf1)]=_0x8cc870[_0x4ca4f8(0x11c)];let _0x282a4c={..._0x1997f4,'messages':[proto[_0x4ca4f8(0x182)][_0x4ca4f8(0x115)](_0x117499)],'type':_0x4ca4f8(0x12f)};_0x4d06de['ev'][_0x4ca4f8(0x171)](_0x4ca4f8(0x149),_0x282a4c);};return _0x8cc870;return _0x8cc870;},exports[_0xeaf5b5(0x12b)]=(_0x33f85b,_0x4b3a57,_0x56cf74)=>{return new Promise(async(_0x31a939,_0x29bd9a)=>{const _0x1670dd=_0x2f87;var _0x3d8624=await Jimp[_0x1670dd(0x17b)](_0x33f85b),_0x27de79=await _0x3d8624[_0x1670dd(0x180)](_0x4b3a57,_0x56cf74)[_0x1670dd(0x145)](Jimp[_0x1670dd(0x154)]);_0x31a939(_0x27de79);});};