UNPKG

@neoxr/wb

Version:

Simplicity WhatsApp Bot (Baileys)

2 lines 3.94 kB
// https://www.npmjs.com/package/@neoxr/wb 'use strict';const R=B;(function(v,P){const x=B,S=v();while(!![]){try{const I=parseInt(x(0x21b))/(-0x4c9+0x3c0+0x10a)+-parseInt(x(0x209))/(-0x9fc+-0x247+0x3*0x417)+parseInt(x(0x226))/(-0x1*-0x14d2+0x1d*0x4e+-0x1da5)*(-parseInt(x(0x21c))/(0x2*0xb3e+-0x2271+0xbf9))+parseInt(x(0x200))/(0x1*0xe99+0x21e5*0x1+-0x3079)+-parseInt(x(0x1f8))/(0x23f1*-0x1+0x26f5+-0x17f*0x2)*(parseInt(x(0x220))/(-0x17d6+-0x3*-0x707+0x2c8))+-parseInt(x(0x1f2))/(0x1ad*0x6+0xda0*-0x2+-0x15*-0xd2)+parseInt(x(0x231))/(0x23f8+0x2f1*0xa+-0x4159);if(I===P)break;else S['push'](S['shift']());}catch(b){S['push'](S['shift']());}}}(A,0x1*-0xe86c1+0x617*0x153+0x19*0x8dce));var __importDefault=this&&this[R(0x1f5)+R(0x219)]||function(v){const G=R;return v&&v[G(0x210)]?v:{'default':v};};Object[R(0x217)+R(0x1f9)](exports,R(0x210),{'value':!![]}),exports[R(0x1f4)]=void(-0x246b*0x1+-0x1efd+-0x3*-0x1678);const node_cache_1=__importDefault(require(R(0x221)+R(0x21e)+'e')),cache=new node_cache_1[(R(0x21a))]({'stdTTL':(-0x2159*0x1+-0x1a1*-0xe+0x1f*0x59)*(0x2*0x92+-0x39*0x3b+0xc3b)*(-0x96e*0x3+0x1*-0x1df5+0x3a4b*0x1),'checkperiod':(-0x1*-0xf45+0x22c1+-0x31ca)*(0x1bdc+-0x10d9+0x59*-0x1f)*(0x6*-0x195+0x445*-0x3+-0xa*-0x23b)}),fs_1=__importDefault(require('fs')),baileys=fs_1[R(0x21a)][R(0x1f6)](R(0x20e)+R(0x1ff)+R(0x201)+R(0x202))?require(R(0x20d)+R(0x215)):fs_1[R(0x21a)][R(0x1f6)](R(0x20e)+R(0x213)+R(0x225))?require(R(0x204)+R(0x20b)):fs_1[R(0x21a)][R(0x1f6)](R(0x20e)+R(0x21d)+R(0x230)+R(0x207))?require(R(0x222)+R(0x22c)+R(0x1f7)):require(R(0x223)),{proto:{IWebMessageInfo,IUserReceipt,IReaction,IMessageKey}}=baileys,messages={},chats={},contacts={},presences={},state={'connection':R(0x1fe)},history={'messages':messages,'chats':chats,'contacts':contacts,'presences':presences,'state':state};let store=cache[R(0x211)](R(0x21f));exports[R(0x1f4)]=store;!store?(cache[R(0x216)](R(0x21f),history),exports[R(0x1f4)]=store=history):exports[R(0x1f4)]=store=cache[R(0x211)](R(0x21f));function B(v,P){const S=A();return B=function(I,b){I=I-(-0x258f+-0x13*0x17b+0x874*0x8);let u=S[I];return u;},B(v,P);}const getKeyAuthor=(v,P='me')=>(v?.[R(0x22a)]?P:v?.[R(0x1fd)+'t']||v?.[R(0x1f1)])||'';function A(){const E=['330dExSHV','erty','keys','ction','reverse','participan','close','ules/@adiw','2502995XhSXzM','ajshing/ba','ileys','filter','@neoxr/bai','userJid','push','/baileys','assign','344694AQjhFw','contactsUp','leys','delete','@adiwajshi','./node_mod','ageWithRec','__esModule','get','loadMessag','ules/@neox','userReceip','ng/baileys','set','defineProp','reactions','fault','default','302323NladZP','175948WPfxrf','ules/@whis','/node-cach','history','76363gYoobX','@cacheable','@whiskeyso','baileys','ageWithRea','r/baileys','12tAbGxl','messages','updateMess','key','fromMe','slice','ckets/bail','sert','text','eipt','keysockets','12315861ruSUMR','find','remoteJid','5912088LEiwEu','CRIwj','store','__importDe','existsSync','eys'];A=function(){return E;};return A();}store[R(0x20a)+R(0x22d)]=v=>{const N=R,P=new Set(Object[N(0x1fa)](contacts));for(const S of v){P[N(0x20c)](S['id']),contacts[S['id']]=Object[N(0x208)](contacts[S['id']]||{},S);}return P;},store[R(0x228)+R(0x20f)+R(0x22f)]=(v,P)=>{const Z=R;v[Z(0x214)+'t']=v[Z(0x214)+'t']||[];const S=v[Z(0x214)+'t'][Z(0x1f0)](I=>I[Z(0x205)]===P[Z(0x205)]);S?Object[Z(0x208)](S,P):v[Z(0x214)+'t'][Z(0x206)](P);},store[R(0x228)+R(0x224)+R(0x1fb)]=(v,P)=>{const l=R,S={'CRIwj':function(u,f){return u(f);}},I=S[l(0x1f3)](getKeyAuthor,P[l(0x229)]),b=(v[l(0x218)]||[])[l(0x203)](u=>getKeyAuthor(u[l(0x229)])!==I);P[l(0x22e)]&&b[l(0x206)](P),v[l(0x218)]=b;},store[R(0x212)+'e']=(v,P)=>{const W=R;try{const S=store?.[W(0x227)]?.[v]?.[W(0x1f0)](I=>I['id']===P);return S;}catch(I){return null;}},store[R(0x212)+'es']=(v,P)=>{const c=R;try{const S=P?store?.[c(0x227)]?.[v]?.[c(0x22b)](-0x9da*0x2+0x137*0x5+0xda1,P):store?.[c(0x227)]?.[v];return S?.[c(0x1fc)]();}catch(I){return null;}};