7b1cbbd79a13a16380a7202a705d5d1ffda79c89
[motion.git] / server / api / voice_extension / voice_extension.socket.js
1 var _0x3142=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\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","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x3142[0];const VoiceExtensionEvents=require(_0x3142[1]);var events=[_0x3142[2],_0x3142[3],_0x3142[4]];exports[_0x3142[5]]= function(_0xef52x3){for(var _0xef52x4=0,_0xef52x5=events[_0x3142[6]];_0xef52x4< _0xef52x5;_0xef52x4++){var _0xef52x6=events[_0xef52x4];var _0xef52x7=createListener(_0x3142[7]+ _0xef52x6,_0xef52x3);VoiceExtensionEvents[_0x3142[8]](_0xef52x6,_0xef52x7);_0xef52x3[_0x3142[8]](_0x3142[9],removeListener(_0xef52x6,_0xef52x7))}};function createListener(_0xef52x6,_0xef52x3){return function(_0xef52x9){_0xef52x3[_0x3142[10]](_0xef52x6,_0xef52x9)}}function removeListener(_0xef52x6,_0xef52x7){return function(){VoiceExtensionEvents[_0x3142[11]](_0xef52x6,_0xef52x7)}}