Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 6af7932..8260c1b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7f91=['whatsappQueue:','./whatsappQueue.events','save','remove','update','emit','removeListener','register','length'];(function(_0x4b9be9,_0x453a7b){var _0x15881a=function(_0x3f66c6){while(--_0x3f66c6){_0x4b9be9['push'](_0x4b9be9['shift']());}};_0x15881a(++_0x453a7b);}(_0x7f91,0x172));var _0x17f9=function(_0x41bd33,_0x8dd533){_0x41bd33=_0x41bd33-0x0;var _0x1ef83a=_0x7f91[_0x41bd33];return _0x1ef83a;};'use strict';var WhatsappQueueEvents=require(_0x17f9('0x0'));var events=[_0x17f9('0x1'),_0x17f9('0x2'),_0x17f9('0x3')];function createListener(_0x2fc548,_0x50c23e){return function(_0x19bbdc){_0x50c23e[_0x17f9('0x4')](_0x2fc548,_0x19bbdc);};}function removeListener(_0x180129,_0x7d6518){return function(){WhatsappQueueEvents[_0x17f9('0x5')](_0x180129,_0x7d6518);};}exports[_0x17f9('0x6')]=function(_0x40fa3e){for(var _0x59e5d3=0x0,_0x3d2da8=events[_0x17f9('0x7')];_0x59e5d3<_0x3d2da8;_0x59e5d3++){var _0x1d8fe8=events[_0x59e5d3];var _0x15c9e5=createListener(_0x17f9('0x8')+_0x1d8fe8,_0x40fa3e);WhatsappQueueEvents['on'](_0x1d8fe8,_0x15c9e5);}};
\ No newline at end of file
+var _0x0aaf=['./whatsappQueue.events','save','remove','update','removeListener','length'];(function(_0x12d68b,_0x3c5bdf){var _0x532546=function(_0x2ac9c9){while(--_0x2ac9c9){_0x12d68b['push'](_0x12d68b['shift']());}};_0x532546(++_0x3c5bdf);}(_0x0aaf,0x90));var _0xf0aa=function(_0x5b4c44,_0x2e495e){_0x5b4c44=_0x5b4c44-0x0;var _0x58485a=_0x0aaf[_0x5b4c44];return _0x58485a;};'use strict';var WhatsappQueueEvents=require(_0xf0aa('0x0'));var events=[_0xf0aa('0x1'),_0xf0aa('0x2'),_0xf0aa('0x3')];function createListener(_0x4a5d9e,_0x4eb543){return function(_0x3ef88b){_0x4eb543['emit'](_0x4a5d9e,_0x3ef88b);};}function removeListener(_0x323112,_0x27c339){return function(){WhatsappQueueEvents[_0xf0aa('0x4')](_0x323112,_0x27c339);};}exports['register']=function(_0x16903c){for(var _0x239c6a=0x0,_0x4f8327=events[_0xf0aa('0x5')];_0x239c6a<_0x4f8327;_0x239c6a++){var _0x580faf=events[_0x239c6a];var _0x127438=createListener('whatsappQueue:'+_0x580faf,_0x16903c);WhatsappQueueEvents['on'](_0x580faf,_0x127438);}};
\ No newline at end of file