Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index fb0b960..38bd352 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2018=['register','whatsappInteraction:','./whatsappInteraction.events','remove','update','removeListener'];(function(_0x4a1385,_0x368d60){var _0xf4e8c2=function(_0x358911){while(--_0x358911){_0x4a1385['push'](_0x4a1385['shift']());}};_0xf4e8c2(++_0x368d60);}(_0x2018,0x92));var _0x8201=function(_0x3df042,_0x4ce182){_0x3df042=_0x3df042-0x0;var _0xe0ef6d=_0x2018[_0x3df042];return _0xe0ef6d;};'use strict';var WhatsappInteractionEvents=require(_0x8201('0x0'));var events=['save',_0x8201('0x1'),_0x8201('0x2')];function createListener(_0x45c877,_0x43da65){return function(_0x27ba21){_0x43da65['emit'](_0x45c877,_0x27ba21);};}function removeListener(_0x2e4b82,_0x277f62){return function(){WhatsappInteractionEvents[_0x8201('0x3')](_0x2e4b82,_0x277f62);};}exports[_0x8201('0x4')]=function(_0x2e3bc3){for(var _0xdcf173=0x0,_0x3e8b62=events['length'];_0xdcf173<_0x3e8b62;_0xdcf173++){var _0x1f5916=events[_0xdcf173];var _0x1587d0=createListener(_0x8201('0x5')+_0x1f5916,_0x2e3bc3);WhatsappInteractionEvents['on'](_0x1f5916,_0x1587d0);}};
\ No newline at end of file
+var _0xc359=['removeListener','register','save','remove','update'];(function(_0x172d5c,_0x10ebbe){var _0x337f7e=function(_0x7d45d2){while(--_0x7d45d2){_0x172d5c['push'](_0x172d5c['shift']());}};_0x337f7e(++_0x10ebbe);}(_0xc359,0xcf));var _0x9c35=function(_0x279d37,_0x14de3f){_0x279d37=_0x279d37-0x0;var _0x530173=_0xc359[_0x279d37];return _0x530173;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=[_0x9c35('0x0'),_0x9c35('0x1'),_0x9c35('0x2')];function createListener(_0x27043e,_0x1941ec){return function(_0x885bbb){_0x1941ec['emit'](_0x27043e,_0x885bbb);};}function removeListener(_0xb2270b,_0x5f5ba3){return function(){WhatsappInteractionEvents[_0x9c35('0x3')](_0xb2270b,_0x5f5ba3);};}exports[_0x9c35('0x4')]=function(_0x373ed9){for(var _0x27f1ed=0x0,_0x20a788=events['length'];_0x27f1ed<_0x20a788;_0x27f1ed++){var _0x3518d0=events[_0x27f1ed];var _0x1f0b51=createListener('whatsappInteraction:'+_0x3518d0,_0x373ed9);WhatsappInteractionEvents['on'](_0x3518d0,_0x1f0b51);}};
\ No newline at end of file