Built motion from commit 8613b0174.|1.0.22
[motion.git] / server / api / report_integration / report_integration.socket.js
1 var _0xd6bb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x75\x74\x69\x6C","\x73\x61\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x25\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74","\x65\x6D\x69\x74","\x74\x64\x44\x69\x73\x70\x6F\x73\x61\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xd6bb[0];const ReportIntegrationEvents=require(_0xd6bb[1]);const util=require(_0xd6bb[2]);var events=[_0xd6bb[3]];exports[_0xd6bb[4]]= function(_0x53c9x4){for(var _0x53c9x5=0,_0x53c9x6=events[_0xd6bb[5]];_0x53c9x5< _0x53c9x6;_0x53c9x5++){var _0x53c9x7=events[_0x53c9x5];var _0x53c9x8=createListener(_0xd6bb[6]+ _0x53c9x7,_0x53c9x4);ReportIntegrationEvents[_0xd6bb[7]](_0x53c9x7,_0x53c9x8);_0x53c9x4[_0xd6bb[7]](_0xd6bb[8],removeListener(_0x53c9x7,_0x53c9x8))}};function createListener(_0x53c9x7,_0x53c9x4){return function(_0x53c9xa){switch(_0x53c9x7){case _0xd6bb[16]:if(_0x53c9x4[_0xd6bb[9]]=== _0x53c9xa[_0xd6bb[10]]){switch(_0x53c9xa[_0xd6bb[12]]){case _0xd6bb[15]:_0x53c9x4[_0xd6bb[14]](util[_0xd6bb[13]](_0xd6bb[11],_0x53c9xa[_0xd6bb[12]]),_0x53c9xa);break;default:}};break;default:}}}function removeListener(_0x53c9x7,_0x53c9x8){return function(){ReportIntegrationEvents[_0xd6bb[17]](_0x53c9x7,_0x53c9x8)}}