Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 1dc8392..c7caf5f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9fd9=['remove','emit','register','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x9fd9,0x144));var _0x99fd=function(_0x5001f5,_0x298fb){_0x5001f5=_0x5001f5-0x0;var _0x30017f=_0x9fd9[_0x5001f5];return _0x30017f;};'use strict';var WhatsappInteractionEvents=require(_0x99fd('0x0'));var events=['save',_0x99fd('0x1'),'update'];function createListener(_0x1deb04,_0x29dec5){return function(_0x31262f){_0x29dec5[_0x99fd('0x2')](_0x1deb04,_0x31262f);};}function removeListener(_0x1fb652,_0x23a20c){return function(){WhatsappInteractionEvents['removeListener'](_0x1fb652,_0x23a20c);};}exports[_0x99fd('0x3')]=function(_0x30e0c7){for(var _0x566730=0x0,_0x28c49a=events['length'];_0x566730<_0x28c49a;_0x566730++){var _0x4c618b=events[_0x566730];var _0x503e9d=createListener(_0x99fd('0x4')+_0x4c618b,_0x30e0c7);WhatsappInteractionEvents['on'](_0x4c618b,_0x503e9d);}};
\ 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