superchats
Version:
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
1 lines • 2.88 kB
JavaScript
const a39_0x545fb8=a39_0x4073;function a39_0x4073(_0x382359,_0x597aaa){const _0x14da83=a39_0x14da();return a39_0x4073=function(_0x407330,_0x3ffb46){_0x407330=_0x407330-0xf0;let _0x4e04aa=_0x14da83[_0x407330];return _0x4e04aa;},a39_0x4073(_0x382359,_0x597aaa);}(function(_0x278191,_0x30f1a0){const _0x471350=a39_0x4073,_0x4ccde4=_0x278191();while(!![]){try{const _0x5771e8=parseInt(_0x471350(0xf4))/0x1+-parseInt(_0x471350(0xfb))/0x2+parseInt(_0x471350(0xfa))/0x3+parseInt(_0x471350(0xf7))/0x4+parseInt(_0x471350(0xf6))/0x5*(-parseInt(_0x471350(0x100))/0x6)+parseInt(_0x471350(0xff))/0x7+parseInt(_0x471350(0xf1))/0x8*(-parseInt(_0x471350(0xf5))/0x9);if(_0x5771e8===_0x30f1a0)break;else _0x4ccde4['push'](_0x4ccde4['shift']());}catch(_0x41e889){_0x4ccde4['push'](_0x4ccde4['shift']());}}}(a39_0x14da,0xb2c6e));const SenderKeyState=require(a39_0x545fb8(0x101));function a39_0x14da(){const _0x5ed0c0=['24UwjwoX','./sender_key_state','push','32BMzKbH','shift','length','979422lQhsEW','337581izginq','457780OCxMzk','3489584zvpKuZ','serialize','getStructure','943179hXTgDW','2355762tsafue','senderKeyStates','exports','setSenderKeyState','1821400vPJjQc'];a39_0x14da=function(){return _0x5ed0c0;};return a39_0x14da();}class SenderKeyRecord{['MAX_STATES']=0x5;constructor(_0x118ab6){const _0x357601=a39_0x545fb8;this[_0x357601(0xfc)]=[];if(_0x118ab6){const _0x11c1f0=_0x118ab6;for(let _0x2de018=0x0;_0x2de018<_0x11c1f0[_0x357601(0xf3)];_0x2de018++){const _0x49e75f=_0x11c1f0[_0x2de018];this['senderKeyStates'][_0x357601(0xf0)](new SenderKeyState(null,null,null,null,null,null,_0x49e75f));}}}['isEmpty'](){const _0x3afeb8=a39_0x545fb8;return this[_0x3afeb8(0xfc)]['length']===0x0;}['getSenderKeyState'](_0x3d5fa2){const _0x2fa2b1=a39_0x545fb8;if(!_0x3d5fa2&&this['senderKeyStates'][_0x2fa2b1(0xf3)])return this[_0x2fa2b1(0xfc)][this[_0x2fa2b1(0xfc)]['length']-0x1];for(let _0x1d9969=0x0;_0x1d9969<this[_0x2fa2b1(0xfc)][_0x2fa2b1(0xf3)];_0x1d9969++){const _0x797b26=this['senderKeyStates'][_0x1d9969];if(_0x797b26['getKeyId']()===_0x3d5fa2)return _0x797b26;}}['addSenderKeyState'](_0x5931b5,_0x3788fe,_0x169703,_0x2183fd){const _0x5cd7b7=a39_0x545fb8;this['senderKeyStates'][_0x5cd7b7(0xf0)](new SenderKeyState(_0x5931b5,_0x3788fe,_0x169703,null,_0x2183fd)),this[_0x5cd7b7(0xfc)][_0x5cd7b7(0xf3)]>0x5&&this[_0x5cd7b7(0xfc)][_0x5cd7b7(0xf2)]();}[a39_0x545fb8(0xfe)](_0x4394db,_0x247ad3,_0x30001a,_0x599ee9){const _0x1a0968=a39_0x545fb8;this[_0x1a0968(0xfc)][_0x1a0968(0xf3)]=0x0,this[_0x1a0968(0xfc)][_0x1a0968(0xf0)](new SenderKeyState(_0x4394db,_0x247ad3,_0x30001a,_0x599ee9));}[a39_0x545fb8(0xf8)](){const _0x4703f2=a39_0x545fb8,_0x1869fc=[];for(let _0x1e9ced=0x0;_0x1e9ced<this[_0x4703f2(0xfc)]['length'];_0x1e9ced++){const _0x47924e=this[_0x4703f2(0xfc)][_0x1e9ced];_0x1869fc[_0x4703f2(0xf0)](_0x47924e[_0x4703f2(0xf9)]());}return _0x1869fc;}}module[a39_0x545fb8(0xfd)]=SenderKeyRecord;