bbed74618565ba0255a65990e471fc0ad1263186
[motion.git] / server / api / report_dial / report_dial.socket.js
1 var _0xb45f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x63\x68\x61\x6E\x6E\x65\x6C","\x73\x70\x6C\x69\x74","\x6E\x61\x6D\x65","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xb45f[0];const ReportDialEvents=require(_0xb45f[1]);var events=[_0xb45f[2],_0xb45f[3],_0xb45f[4]];exports[_0xb45f[5]]= function(_0x90b0x3){for(var _0x90b0x4=0,_0x90b0x5=events[_0xb45f[6]];_0x90b0x4< _0x90b0x5;_0x90b0x4++){var _0x90b0x6=events[_0x90b0x4];var _0x90b0x7=createListener(_0xb45f[7]+ _0x90b0x6,_0x90b0x3);ReportDialEvents[_0xb45f[8]](_0x90b0x6,_0x90b0x7);_0x90b0x3[_0xb45f[8]](_0xb45f[9],removeListener(_0x90b0x6,_0x90b0x7))}};function createListener(_0x90b0x6,_0x90b0x3){return function(_0x90b0x9){if(_0x90b0x3[_0xb45f[10]]=== _0xb45f[11]|| (_0x90b0x9[_0xb45f[12]]&& _0x90b0x9[_0xb45f[12]][_0xb45f[13]](/\/|-/)[1]=== _0x90b0x3[_0xb45f[14]])){_0x90b0x3[_0xb45f[15]](_0x90b0x6,_0x90b0x9)}}}function removeListener(_0x90b0x6,_0x90b0x7){return function(){ReportDialEvents[_0xb45f[16]](_0x90b0x6,_0x90b0x7)}}