14809e232f36aaf2ff6d9fe1cb2e152713c2811a
[motion.git] / server / api / jscripty_project / jscripty_project.socket.js
1 var _0x5f97=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\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"];_0x5f97[0];const JscriptyProjectEvents=require(_0x5f97[1]);var events=[_0x5f97[2],_0x5f97[3]];exports[_0x5f97[4]]= function(_0xf46ex3){for(var _0xf46ex4=0,_0xf46ex5=events[_0x5f97[5]];_0xf46ex4< _0xf46ex5;_0xf46ex4++){var _0xf46ex6=events[_0xf46ex4];var _0xf46ex7=createListener(_0x5f97[6]+ _0xf46ex6,_0xf46ex3);JscriptyProjectEvents[_0x5f97[7]](_0xf46ex6,_0xf46ex7);_0xf46ex3[_0x5f97[7]](_0x5f97[8],removeListener(_0xf46ex6,_0xf46ex7))}};function createListener(_0xf46ex6,_0xf46ex3){return function(_0xf46ex9){_0xf46ex3[_0x5f97[9]](_0xf46ex6,_0xf46ex9)}}function removeListener(_0xf46ex6,_0xf46ex7){return function(){JscriptyProjectEvents[_0x5f97[10]](_0xf46ex6,_0xf46ex7)}}