Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 273700a..d4740a3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd1ae=['remove','emit','register','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x4b2d44,_0x3cb79f){var _0x359d92=function(_0xe00ed4){while(--_0xe00ed4){_0x4b2d44['push'](_0x4b2d44['shift']());}};_0x359d92(++_0x3cb79f);}(_0xd1ae,0x197));var _0xed1a=function(_0x21e39e,_0x16ce15){_0x21e39e=_0x21e39e-0x0;var _0x38eabc=_0xd1ae[_0x21e39e];return _0x38eabc;};'use strict';var WhatsappInteractionEvents=require(_0xed1a('0x0'));var events=['save',_0xed1a('0x1'),'update'];function createListener(_0x2e0573,_0x32b00d){return function(_0xa7edd7){_0x32b00d[_0xed1a('0x2')](_0x2e0573,_0xa7edd7);};}function removeListener(_0x272e6f,_0x2bb78d){return function(){WhatsappInteractionEvents['removeListener'](_0x272e6f,_0x2bb78d);};}exports[_0xed1a('0x3')]=function(_0x26ed2e){for(var _0x507cbe=0x0,_0x19075b=events[_0xed1a('0x4')];_0x507cbe<_0x19075b;_0x507cbe++){var _0x3b8f2d=events[_0x507cbe];var _0x3db68c=createListener(_0xed1a('0x5')+_0x3b8f2d,_0x26ed2e);WhatsappInteractionEvents['on'](_0x3b8f2d,_0x3db68c);}};
\ No newline at end of file
+var _0x1f59=['emit','removeListener','register','whatsappInteraction:','./whatsappInteraction.events','save','remove','update'];(function(_0x246e98,_0x2fbb91){var _0x53721b=function(_0xa61a2d){while(--_0xa61a2d){_0x246e98['push'](_0x246e98['shift']());}};_0x53721b(++_0x2fbb91);}(_0x1f59,0x184));var _0x91f5=function(_0xbc38cd,_0x5c87d3){_0xbc38cd=_0xbc38cd-0x0;var _0x3f031f=_0x1f59[_0xbc38cd];return _0x3f031f;};'use strict';var WhatsappInteractionEvents=require(_0x91f5('0x0'));var events=[_0x91f5('0x1'),_0x91f5('0x2'),_0x91f5('0x3')];function createListener(_0x21f64c,_0xcfe8d2){return function(_0x482b38){_0xcfe8d2[_0x91f5('0x4')](_0x21f64c,_0x482b38);};}function removeListener(_0xdb2fe0,_0x141b6c){return function(){WhatsappInteractionEvents[_0x91f5('0x5')](_0xdb2fe0,_0x141b6c);};}exports[_0x91f5('0x6')]=function(_0x4b2fd0){for(var _0x140c3f=0x0,_0x39ebd3=events['length'];_0x140c3f<_0x39ebd3;_0x140c3f++){var _0x7cb509=events[_0x140c3f];var _0x135745=createListener(_0x91f5('0x7')+_0x7cb509,_0x4b2fd0);WhatsappInteractionEvents['on'](_0x7cb509,_0x135745);}};
\ No newline at end of file