Built motion from commit 21186556.|2.6.19
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 627ddba..7dddaad 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3cc1=['remove','removeListener','length','./whatsappInteraction.events'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3cc1,0x1cf));var _0x13cc=function(_0x1e4a91,_0x1393c9){_0x1e4a91=_0x1e4a91-0x0;var _0x4bd02d=_0x3cc1[_0x1e4a91];return _0x4bd02d;};'use strict';var WhatsappInteractionEvents=require(_0x13cc('0x0'));var events=['save',_0x13cc('0x1'),'update'];function createListener(_0x4ff530,_0x3df752){return function(_0x3181d6){_0x3df752['emit'](_0x4ff530,_0x3181d6);};}function removeListener(_0x909eb2,_0x18b40c){return function(){WhatsappInteractionEvents[_0x13cc('0x2')](_0x909eb2,_0x18b40c);};}exports['register']=function(_0x188ef5){for(var _0x4175e6=0x0,_0x18c634=events[_0x13cc('0x3')];_0x4175e6<_0x18c634;_0x4175e6++){var _0x43e79d=events[_0x4175e6];var _0x29dde8=createListener('whatsappInteraction:'+_0x43e79d,_0x188ef5);WhatsappInteractionEvents['on'](_0x43e79d,_0x29dde8);}};
\ No newline at end of file
+var _0x1b06=['remove','update','removeListener','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x40ac5e,_0x2de228){var _0x2839d6=function(_0x123d47){while(--_0x123d47){_0x40ac5e['push'](_0x40ac5e['shift']());}};_0x2839d6(++_0x2de228);}(_0x1b06,0x18b));var _0x61b0=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x1b06[_0x14add3];return _0x4a174f;};'use strict';var WhatsappInteractionEvents=require(_0x61b0('0x0'));var events=['save',_0x61b0('0x1'),_0x61b0('0x2')];function createListener(_0x26eb70,_0x2c7c85){return function(_0x246082){_0x2c7c85['emit'](_0x26eb70,_0x246082);};}function removeListener(_0x403155,_0x8ad716){return function(){WhatsappInteractionEvents[_0x61b0('0x3')](_0x403155,_0x8ad716);};}exports['register']=function(_0xd6438a){for(var _0xb06c8f=0x0,_0xe65893=events[_0x61b0('0x4')];_0xb06c8f<_0xe65893;_0xb06c8f++){var _0x31742c=events[_0xb06c8f];var _0x2c8cd0=createListener(_0x61b0('0x5')+_0x31742c,_0xd6438a);WhatsappInteractionEvents['on'](_0x31742c,_0x2c8cd0);}};
\ No newline at end of file