Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 34344ac..6b8f651 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5f93=['save','update','emit','removeListener','length'];(function(_0x2e3b63,_0x2bae6c){var _0x3824c8=function(_0x21c230){while(--_0x21c230){_0x2e3b63['push'](_0x2e3b63['shift']());}};_0x3824c8(++_0x2bae6c);}(_0x5f93,0x172));var _0x35f9=function(_0x80314b,_0x1459b0){_0x80314b=_0x80314b-0x0;var _0x5490f3=_0x5f93[_0x80314b];return _0x5490f3;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=[_0x35f9('0x0'),'remove',_0x35f9('0x1')];function createListener(_0x562cf0,_0x502463){return function(_0x5bb2e1){_0x502463[_0x35f9('0x2')](_0x562cf0,_0x5bb2e1);};}function removeListener(_0x897511,_0x3045b9){return function(){WhatsappInteractionEvents[_0x35f9('0x3')](_0x897511,_0x3045b9);};}exports['register']=function(_0xe3e791){for(var _0x5090a5=0x0,_0x408c3c=events[_0x35f9('0x4')];_0x5090a5<_0x408c3c;_0x5090a5++){var _0x19aaae=events[_0x5090a5];var _0x23b704=createListener('whatsappInteraction:'+_0x19aaae,_0xe3e791);WhatsappInteractionEvents['on'](_0x19aaae,_0x23b704);}};
\ No newline at end of file
+var _0x315d=['remove','removeListener','register','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x1f9f37,_0x18776e){var _0x21c080=function(_0x4acb93){while(--_0x4acb93){_0x1f9f37['push'](_0x1f9f37['shift']());}};_0x21c080(++_0x18776e);}(_0x315d,0x13f));var _0xd315=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x315d[_0x3dd15e];return _0x231fd0;};'use strict';var WhatsappInteractionEvents=require(_0xd315('0x0'));var events=['save',_0xd315('0x1'),'update'];function createListener(_0x19e3fb,_0x41b033){return function(_0x18d144){_0x41b033['emit'](_0x19e3fb,_0x18d144);};}function removeListener(_0x5e6a1a,_0x1da5fd){return function(){WhatsappInteractionEvents[_0xd315('0x2')](_0x5e6a1a,_0x1da5fd);};}exports[_0xd315('0x3')]=function(_0x229c12){for(var _0x55a62=0x0,_0x389cb2=events['length'];_0x55a62<_0x389cb2;_0x55a62++){var _0xe86b73=events[_0x55a62];var _0x5054bc=createListener(_0xd315('0x4')+_0xe86b73,_0x229c12);WhatsappInteractionEvents['on'](_0xe86b73,_0x5054bc);}};
\ No newline at end of file