Built motion from commit e1ea3531f.|1.0.19
[motion.git] / server / api / report_integration / report_integration.socket.js
1 var _0xcda9=["\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"];_0xcda9[0];const ReportIntegrationEvents=require(_0xcda9[1]);const util=require(_0xcda9[2]);var events=[_0xcda9[3]];exports[_0xcda9[4]]= function(_0x8b2fx4){for(var _0x8b2fx5=0,_0x8b2fx6=events[_0xcda9[5]];_0x8b2fx5< _0x8b2fx6;_0x8b2fx5++){var _0x8b2fx7=events[_0x8b2fx5];var _0x8b2fx8=createListener(_0xcda9[6]+ _0x8b2fx7,_0x8b2fx4);ReportIntegrationEvents[_0xcda9[7]](_0x8b2fx7,_0x8b2fx8);_0x8b2fx4[_0xcda9[7]](_0xcda9[8],removeListener(_0x8b2fx7,_0x8b2fx8))}};function createListener(_0x8b2fx7,_0x8b2fx4){return function(_0x8b2fxa){switch(_0x8b2fx7){case _0xcda9[16]:if(_0x8b2fx4[_0xcda9[9]]=== _0x8b2fxa[_0xcda9[10]]){switch(_0x8b2fxa[_0xcda9[12]]){case _0xcda9[15]:_0x8b2fx4[_0xcda9[14]](util[_0xcda9[13]](_0xcda9[11],_0x8b2fxa[_0xcda9[12]]),_0x8b2fxa);break;default:}};break;default:}}}function removeListener(_0x8b2fx7,_0x8b2fx8){return function(){ReportIntegrationEvents[_0xcda9[17]](_0x8b2fx7,_0x8b2fx8)}}