5b409f1197c653eab3b64f75f2cdbd18592c4b36
[motion.git] / server / api / scheduler / scheduler.socket.js
1 var _0xd0f9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x73\x63\x68\x65\x64\x75\x6C\x65\x72\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","\x73\x63\x68\x65\x64\x75\x6C\x65\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"];_0xd0f9[0];const SchedulerEvents=require(_0xd0f9[1]);var events=[_0xd0f9[2],_0xd0f9[3],_0xd0f9[4]];exports[_0xd0f9[5]]= function(_0xeb29x3){for(var _0xeb29x4=0,_0xeb29x5=events[_0xd0f9[6]];_0xeb29x4< _0xeb29x5;_0xeb29x4++){var _0xeb29x6=events[_0xeb29x4];var _0xeb29x7=createListener(_0xd0f9[7]+ _0xeb29x6,_0xeb29x3);SchedulerEvents[_0xd0f9[8]](_0xeb29x6,_0xeb29x7);_0xeb29x3[_0xd0f9[8]](_0xd0f9[9],removeListener(_0xeb29x6,_0xeb29x7))}};function createListener(_0xeb29x6,_0xeb29x3){return function(_0xeb29x9){_0xeb29x3[_0xd0f9[10]](_0xeb29x6,_0xeb29x9)}}function removeListener(_0xeb29x6,_0xeb29x7){return function(){SchedulerEvents[_0xd0f9[11]](_0xeb29x6,_0xeb29x7)}}