Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index ad06182..c7caf5f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9bde=['whatsappInteraction:','./whatsappInteraction.events','emit','removeListener'];(function(_0x19dbc0,_0x180cad){var _0xf0b964=function(_0x59fd98){while(--_0x59fd98){_0x19dbc0['push'](_0x19dbc0['shift']());}};_0xf0b964(++_0x180cad);}(_0x9bde,0xb9));var _0xe9bd=function(_0x5633eb,_0x2dc4a5){_0x5633eb=_0x5633eb-0x0;var _0x2e87aa=_0x9bde[_0x5633eb];return _0x2e87aa;};'use strict';var WhatsappInteractionEvents=require(_0xe9bd('0x0'));var events=['save','remove','update'];function createListener(_0x3c8a1d,_0x3b742f){return function(_0x48daf0){_0x3b742f[_0xe9bd('0x1')](_0x3c8a1d,_0x48daf0);};}function removeListener(_0x516bf1,_0x819c98){return function(){WhatsappInteractionEvents[_0xe9bd('0x2')](_0x516bf1,_0x819c98);};}exports['register']=function(_0x5186f6){for(var _0x48bd63=0x0,_0x5b7ec2=events['length'];_0x48bd63<_0x5b7ec2;_0x48bd63++){var _0x4fa252=events[_0x48bd63];var _0x452fce=createListener(_0xe9bd('0x3')+_0x4fa252,_0x5186f6);WhatsappInteractionEvents['on'](_0x4fa252,_0x452fce);}};
\ No newline at end of file
+var _0x864d=['./whatsappInteraction.events','save','update','emit','removeListener','length'];(function(_0x81f04f,_0x557f1b){var _0x54a80a=function(_0x3ff30f){while(--_0x3ff30f){_0x81f04f['push'](_0x81f04f['shift']());}};_0x54a80a(++_0x557f1b);}(_0x864d,0x1e0));var _0xd864=function(_0x4d0e8b,_0x550c63){_0x4d0e8b=_0x4d0e8b-0x0;var _0x25b703=_0x864d[_0x4d0e8b];return _0x25b703;};'use strict';var WhatsappInteractionEvents=require(_0xd864('0x0'));var events=[_0xd864('0x1'),'remove',_0xd864('0x2')];function createListener(_0x79fda5,_0xaad351){return function(_0x54712e){_0xaad351[_0xd864('0x3')](_0x79fda5,_0x54712e);};}function removeListener(_0x8e9aa8,_0x33d2bd){return function(){WhatsappInteractionEvents[_0xd864('0x4')](_0x8e9aa8,_0x33d2bd);};}exports['register']=function(_0x122e03){for(var _0x174e94=0x0,_0x1cab39=events[_0xd864('0x5')];_0x174e94<_0x1cab39;_0x174e94++){var _0x48ad13=events[_0x174e94];var _0x168979=createListener('whatsappInteraction:'+_0x48ad13,_0x122e03);WhatsappInteractionEvents['on'](_0x48ad13,_0x168979);}};
\ No newline at end of file