Built motion from commit 945d615.|1.0.13
[motion.git] / server / api / report_integration / report_integration.socket.js
1 var _0x8f77=["\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"];_0x8f77[0];const ReportIntegrationEvents=require(_0x8f77[1]);const util=require(_0x8f77[2]);var events=[_0x8f77[3]];exports[_0x8f77[4]]= function(_0x7990x4){for(var _0x7990x5=0,_0x7990x6=events[_0x8f77[5]];_0x7990x5< _0x7990x6;_0x7990x5++){var _0x7990x7=events[_0x7990x5];var _0x7990x8=createListener(_0x8f77[6]+ _0x7990x7,_0x7990x4);ReportIntegrationEvents[_0x8f77[7]](_0x7990x7,_0x7990x8);_0x7990x4[_0x8f77[7]](_0x8f77[8],removeListener(_0x7990x7,_0x7990x8))}};function createListener(_0x7990x7,_0x7990x4){return function(_0x7990xa){switch(_0x7990x7){case _0x8f77[16]:if(_0x7990x4[_0x8f77[9]]=== _0x7990xa[_0x8f77[10]]){switch(_0x7990xa[_0x8f77[12]]){case _0x8f77[15]:_0x7990x4[_0x8f77[14]](util[_0x8f77[13]](_0x8f77[11],_0x7990xa[_0x8f77[12]]),_0x7990xa);break;default:}};break;default:}}}function removeListener(_0x7990x7,_0x7990x8){return function(){ReportIntegrationEvents[_0x8f77[17]](_0x7990x7,_0x7990x8)}}