Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index eead023..ffe6498 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3f30=['remove','update','emit','removeListener','register','./whatsappQueue.events'];(function(_0x160c73,_0x2ee678){var _0xd9302=function(_0x169454){while(--_0x169454){_0x160c73['push'](_0x160c73['shift']());}};_0xd9302(++_0x2ee678);}(_0x3f30,0xd1));var _0x03f3=function(_0x138792,_0x2cd298){_0x138792=_0x138792-0x0;var _0x9948c5=_0x3f30[_0x138792];return _0x9948c5;};'use strict';var WhatsappQueueEvents=require(_0x03f3('0x0'));var events=['save',_0x03f3('0x1'),_0x03f3('0x2')];function createListener(_0x22a122,_0x405d7f){return function(_0x264c44){_0x405d7f[_0x03f3('0x3')](_0x22a122,_0x264c44);};}function removeListener(_0x4afee5,_0x4cd625){return function(){WhatsappQueueEvents[_0x03f3('0x4')](_0x4afee5,_0x4cd625);};}exports[_0x03f3('0x5')]=function(_0x3b9c7a){for(var _0x563f52=0x0,_0x5a6f54=events['length'];_0x563f52<_0x5a6f54;_0x563f52++){var _0x3ee5a7=events[_0x563f52];var _0x5a1823=createListener('whatsappQueue:'+_0x3ee5a7,_0x3b9c7a);WhatsappQueueEvents['on'](_0x3ee5a7,_0x5a1823);}};
\ No newline at end of file
+var _0xf163=['save','remove','removeListener','register','length','whatsappQueue:'];(function(_0x286b7e,_0x4a708a){var _0x49e9a0=function(_0x856b1a){while(--_0x856b1a){_0x286b7e['push'](_0x286b7e['shift']());}};_0x49e9a0(++_0x4a708a);}(_0xf163,0x1ec));var _0x3f16=function(_0x2786ea,_0x16c3c3){_0x2786ea=_0x2786ea-0x0;var _0x5c38e5=_0xf163[_0x2786ea];return _0x5c38e5;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=[_0x3f16('0x0'),_0x3f16('0x1'),'update'];function createListener(_0x3d0fe9,_0x726602){return function(_0x13e3a6){_0x726602['emit'](_0x3d0fe9,_0x13e3a6);};}function removeListener(_0x15820b,_0x36cd19){return function(){WhatsappQueueEvents[_0x3f16('0x2')](_0x15820b,_0x36cd19);};}exports[_0x3f16('0x3')]=function(_0xd70adc){for(var _0x26af4d=0x0,_0x5501dc=events[_0x3f16('0x4')];_0x26af4d<_0x5501dc;_0x26af4d++){var _0x453b2c=events[_0x26af4d];var _0x21f9aa=createListener(_0x3f16('0x5')+_0x453b2c,_0xd70adc);WhatsappQueueEvents['on'](_0x453b2c,_0x21f9aa);}};
\ No newline at end of file