bc128dfa1848cb082f21acb08228672938266c20
[motion.git] / server / api / voice_extension / voice_extension.socket.js
1 var _0xf85f=["\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"];_0xf85f[0];const VoiceExtensionEvents=require(_0xf85f[1]);var events=[_0xf85f[2],_0xf85f[3],_0xf85f[4]];exports[_0xf85f[5]]= function(_0x6ab5x3){for(var _0x6ab5x4=0,_0x6ab5x5=events[_0xf85f[6]];_0x6ab5x4< _0x6ab5x5;_0x6ab5x4++){var _0x6ab5x6=events[_0x6ab5x4];var _0x6ab5x7=createListener(_0xf85f[7]+ _0x6ab5x6,_0x6ab5x3);VoiceExtensionEvents[_0xf85f[8]](_0x6ab5x6,_0x6ab5x7);_0x6ab5x3[_0xf85f[8]](_0xf85f[9],removeListener(_0x6ab5x6,_0x6ab5x7))}};function createListener(_0x6ab5x6,_0x6ab5x3){return function(_0x6ab5x9){_0x6ab5x3[_0xf85f[10]](_0x6ab5x6,_0x6ab5x9)}}function removeListener(_0x6ab5x6,_0x6ab5x7){return function(){VoiceExtensionEvents[_0xf85f[11]](_0x6ab5x6,_0x6ab5x7)}}