Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 2e9668c..f224338 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaee=['length','./whatsappQueue.events','save','remove','emit','removeListener'];(function(_0x2b3b1d,_0x51e0f9){var _0x5156a0=function(_0x59aa85){while(--_0x59aa85){_0x2b3b1d['push'](_0x2b3b1d['shift']());}};_0x5156a0(++_0x51e0f9);}(_0xbaee,0xeb));var _0xebae=function(_0x449b85,_0xe54d2d){_0x449b85=_0x449b85-0x0;var _0x459774=_0xbaee[_0x449b85];return _0x459774;};'use strict';var WhatsappQueueEvents=require(_0xebae('0x0'));var events=[_0xebae('0x1'),_0xebae('0x2'),'update'];function createListener(_0x306f42,_0x325aec){return function(_0x3c29b2){_0x325aec[_0xebae('0x3')](_0x306f42,_0x3c29b2);};}function removeListener(_0xde5d63,_0x4b8de0){return function(){WhatsappQueueEvents[_0xebae('0x4')](_0xde5d63,_0x4b8de0);};}exports['register']=function(_0x4ca29f){for(var _0x4bc75e=0x0,_0x451196=events[_0xebae('0x5')];_0x4bc75e<_0x451196;_0x4bc75e++){var _0xa7fd68=events[_0x4bc75e];var _0x57c789=createListener('whatsappQueue:'+_0xa7fd68,_0x4ca29f);WhatsappQueueEvents['on'](_0xa7fd68,_0x57c789);}};
\ No newline at end of file
+var _0xf688=['removeListener','register','length','whatsappQueue:','remove','update'];(function(_0x3abe6a,_0xdd7b1a){var _0x2fc39e=function(_0x13911e){while(--_0x13911e){_0x3abe6a['push'](_0x3abe6a['shift']());}};_0x2fc39e(++_0xdd7b1a);}(_0xf688,0x1d2));var _0x8f68=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf688[_0x14add3];return _0x4a174f;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save',_0x8f68('0x0'),_0x8f68('0x1')];function createListener(_0xfe8fcb,_0x125822){return function(_0x345a75){_0x125822['emit'](_0xfe8fcb,_0x345a75);};}function removeListener(_0x3b5c44,_0x409ce0){return function(){WhatsappQueueEvents[_0x8f68('0x2')](_0x3b5c44,_0x409ce0);};}exports[_0x8f68('0x3')]=function(_0x1eea12){for(var _0x234d75=0x0,_0x3c4cf0=events[_0x8f68('0x4')];_0x234d75<_0x3c4cf0;_0x234d75++){var _0x4370ef=events[_0x234d75];var _0x20b6e2=createListener(_0x8f68('0x5')+_0x4370ef,_0x1eea12);WhatsappQueueEvents['on'](_0x4370ef,_0x20b6e2);}};
\ No newline at end of file