3492b118a1db4bf19cfa1d266783b85c4e45bbbd
[motion.git] / server / api / report_chat / report_chat.socket.js
1 var _0xaa8a=["\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","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xaa8a[0];const ReportChatEvents=require(_0xaa8a[1]);var events=[_0xaa8a[2],_0xaa8a[3]];exports[_0xaa8a[4]]= function(_0x5910x3){for(var _0x5910x4=0,_0x5910x5=events[_0xaa8a[5]];_0x5910x4< _0x5910x5;_0x5910x4++){var _0x5910x6=events[_0x5910x4];var _0x5910x7=createListener(_0xaa8a[6]+ _0x5910x6,_0x5910x3);ReportChatEvents[_0xaa8a[7]](_0x5910x6,_0x5910x7);_0x5910x3[_0xaa8a[7]](_0xaa8a[8],removeListener(_0x5910x6,_0x5910x7))}};function createListener(_0x5910x6,_0x5910x3){return function(_0x5910x9){switch(_0x5910x6){case _0xaa8a[9]:;case _0xaa8a[15]:if(_0x5910x3[_0xaa8a[10]]=== _0x5910x9[_0xaa8a[11]]|| _0x5910x3[_0xaa8a[12]]=== _0xaa8a[13]){_0x5910x3[_0xaa8a[14]](_0x5910x6,_0x5910x9)};break;case _0xaa8a[16]:_0x5910x3[_0xaa8a[14]](_0x5910x6,_0x5910x9);break;default:}}}function removeListener(_0x5910x6,_0x5910x7){return function(){ReportChatEvents[_0xaa8a[17]](_0x5910x6,_0x5910x7)}}