Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 042471b..d4740a3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1e99=['remove','update','emit','removeListener','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x47604d,_0x15a014){var _0x388e4c=function(_0x42a446){while(--_0x42a446){_0x47604d['push'](_0x47604d['shift']());}};_0x388e4c(++_0x15a014);}(_0x1e99,0x16b));var _0x91e9=function(_0x5b9dcc,_0x47f5e0){_0x5b9dcc=_0x5b9dcc-0x0;var _0x30dc49=_0x1e99[_0x5b9dcc];return _0x30dc49;};'use strict';var WhatsappInteractionEvents=require(_0x91e9('0x0'));var events=['save',_0x91e9('0x1'),_0x91e9('0x2')];function createListener(_0xbbfc29,_0x38252a){return function(_0x50270c){_0x38252a[_0x91e9('0x3')](_0xbbfc29,_0x50270c);};}function removeListener(_0x1a9bc4,_0x5ef602){return function(){WhatsappInteractionEvents[_0x91e9('0x4')](_0x1a9bc4,_0x5ef602);};}exports['register']=function(_0x35635d){for(var _0x33f200=0x0,_0xf64939=events[_0x91e9('0x5')];_0x33f200<_0xf64939;_0x33f200++){var _0x1957cc=events[_0x33f200];var _0x1a3d40=createListener(_0x91e9('0x6')+_0x1957cc,_0x35635d);WhatsappInteractionEvents['on'](_0x1957cc,_0x1a3d40);}};
\ 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