327f2614401e34e3ef68d6ef975f1fc5432d78fc
[motion.git] / server / api / extracted_report / extracted_report.socket.js
1 var _0x8f3b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\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","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\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"];_0x8f3b[0];const ExtractedReportEvents=require(_0x8f3b[1]);var events=[_0x8f3b[2],_0x8f3b[3]];exports[_0x8f3b[4]]= function(_0x2e29x3){for(var _0x2e29x4=0,_0x2e29x5=events[_0x8f3b[5]];_0x2e29x4< _0x2e29x5;_0x2e29x4++){var _0x2e29x6=events[_0x2e29x4];var _0x2e29x7=createListener(_0x8f3b[6]+ _0x2e29x6,_0x2e29x3);ExtractedReportEvents[_0x8f3b[7]](_0x2e29x6,_0x2e29x7);_0x2e29x3[_0x8f3b[7]](_0x8f3b[8],removeListener(_0x2e29x6,_0x2e29x7))}};function createListener(_0x2e29x6,_0x2e29x3){return function(_0x2e29x9){_0x2e29x3[_0x8f3b[9]](_0x2e29x6,_0x2e29x9)}}function removeListener(_0x2e29x6,_0x2e29x7){return function(){ExtractedReportEvents[_0x8f3b[10]](_0x2e29x6,_0x2e29x7)}}