Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index a4e3a5a..70688c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1cd5=['update','emit','removeListener','length','remove'];(function(_0x1cf052,_0x5df7ec){var _0x117bc0=function(_0x3034cd){while(--_0x3034cd){_0x1cf052['push'](_0x1cf052['shift']());}};_0x117bc0(++_0x5df7ec);}(_0x1cd5,0x1e4));var _0x51cd=function(_0x3b86bd,_0x45c6f9){_0x3b86bd=_0x3b86bd-0x0;var _0x6647af=_0x1cd5[_0x3b86bd];return _0x6647af;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=['save',_0x51cd('0x0'),_0x51cd('0x1')];function createListener(_0x3b4b47,_0x1b90d8){return function(_0x293027){_0x1b90d8[_0x51cd('0x2')](_0x3b4b47,_0x293027);};}function removeListener(_0x287361,_0x568d9f){return function(){WhatsappInteractionEvents[_0x51cd('0x3')](_0x287361,_0x568d9f);};}exports['register']=function(_0x2e3bfc){for(var _0x3ec3ea=0x0,_0x40546e=events[_0x51cd('0x4')];_0x3ec3ea<_0x40546e;_0x3ec3ea++){var _0x1610b7=events[_0x3ec3ea];var _0x11f6ca=createListener('whatsappInteraction:'+_0x1610b7,_0x2e3bfc);WhatsappInteractionEvents['on'](_0x1610b7,_0x11f6ca);}};
\ No newline at end of file
+var _0x746d=['save','remove','emit','removeListener','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x6ef71c,_0x597370){var _0x472693=function(_0x29feca){while(--_0x29feca){_0x6ef71c['push'](_0x6ef71c['shift']());}};_0x472693(++_0x597370);}(_0x746d,0xd1));var _0xd746=function(_0x29d891,_0x36778e){_0x29d891=_0x29d891-0x0;var _0x36d7a1=_0x746d[_0x29d891];return _0x36d7a1;};'use strict';var WhatsappInteractionEvents=require(_0xd746('0x0'));var events=[_0xd746('0x1'),_0xd746('0x2'),'update'];function createListener(_0x2883f7,_0x5b3363){return function(_0x399b42){_0x5b3363[_0xd746('0x3')](_0x2883f7,_0x399b42);};}function removeListener(_0x1dee84,_0x226e3b){return function(){WhatsappInteractionEvents[_0xd746('0x4')](_0x1dee84,_0x226e3b);};}exports['register']=function(_0x333b9f){for(var _0x5487b0=0x0,_0x31dc1c=events[_0xd746('0x5')];_0x5487b0<_0x31dc1c;_0x5487b0++){var _0x20d442=events[_0x5487b0];var _0x47c28f=createListener(_0xd746('0x6')+_0x20d442,_0x333b9f);WhatsappInteractionEvents['on'](_0x20d442,_0x47c28f);}};
\ No newline at end of file