6365d1dad0881d2d96d62cd4bc7a174bd3e58e66
[motion.git] / server / api / report_chat / report_chat.socket.js
1 var _0x486c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x486c[0];const ReportChatEvents=require(_0x486c[1]);var events=[_0x486c[2],_0x486c[3]];exports[_0x486c[4]]= function(_0xf742x3){for(var _0xf742x4=0,_0xf742x5=events[_0x486c[5]];_0xf742x4< _0xf742x5;_0xf742x4++){var _0xf742x6=events[_0xf742x4];var _0xf742x7=createListener(_0x486c[6]+ _0xf742x6,_0xf742x3);ReportChatEvents[_0x486c[7]](_0xf742x6,_0xf742x7);_0xf742x3[_0x486c[7]](_0x486c[8],removeListener(_0xf742x6,_0xf742x7))}};function createListener(_0xf742x6,_0xf742x3){return function(_0xf742x9){_0xf742x3[_0x486c[9]](_0xf742x6,_0xf742x9)}}function removeListener(_0xf742x6,_0xf742x7){return function(){ReportChatEvents[_0x486c[10]](_0xf742x6,_0xf742x7)}}