66bba81e9728707b4f4529d4262242368a6faf09
[motion.git] / server / api / report_integration / report_integration.socket.js
1 var _0x93a9=["\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"];_0x93a9[0];const ReportIntegrationEvents=require(_0x93a9[1]);const util=require(_0x93a9[2]);var events=[_0x93a9[3]];exports[_0x93a9[4]]= function(_0x1850x4){for(var _0x1850x5=0,_0x1850x6=events[_0x93a9[5]];_0x1850x5< _0x1850x6;_0x1850x5++){var _0x1850x7=events[_0x1850x5];var _0x1850x8=createListener(_0x93a9[6]+ _0x1850x7,_0x1850x4);ReportIntegrationEvents[_0x93a9[7]](_0x1850x7,_0x1850x8);_0x1850x4[_0x93a9[7]](_0x93a9[8],removeListener(_0x1850x7,_0x1850x8))}};function createListener(_0x1850x7,_0x1850x4){return function(_0x1850xa){switch(_0x1850x7){case _0x93a9[16]:if(_0x1850x4[_0x93a9[9]]=== _0x1850xa[_0x93a9[10]]){switch(_0x1850xa[_0x93a9[12]]){case _0x93a9[15]:_0x1850x4[_0x93a9[14]](util[_0x93a9[13]](_0x93a9[11],_0x1850xa[_0x93a9[12]]),_0x1850xa);break;default:}};break;default:}}}function removeListener(_0x1850x7,_0x1850x8){return function(){ReportIntegrationEvents[_0x93a9[17]](_0x1850x7,_0x1850x8)}}