Built motion from commit e2826ce0c.|1.0.24
[motion.git] / server / api / trunk / trunk.socket.js
1 var _0xbfc3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x74\x72\x75\x6E\x6B\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","\x74\x72\x75\x6E\x6B\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x72\x6F\x6C\x65","\x74\x72\x75\x6E\x6B","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x74\x72\x75\x6E\x6B\x3A\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xbfc3[0];const TrunkEvents=require(_0xbfc3[1]);var events=[_0xbfc3[2],_0xbfc3[3],_0xbfc3[4]];exports[_0xbfc3[5]]= function(_0xac09x3){for(var _0xac09x4=0,_0xac09x5=events[_0xbfc3[6]];_0xac09x4< _0xac09x5;_0xac09x4++){var _0xac09x6=events[_0xac09x4];var _0xac09x7=createListener(_0xbfc3[7]+ _0xac09x6,_0xac09x3);TrunkEvents[_0xbfc3[8]](_0xac09x6,_0xac09x7);_0xac09x3[_0xbfc3[8]](_0xbfc3[9],removeListener(_0xac09x6,_0xac09x7))}};function createListener(_0xac09x6,_0xac09x3){return function(_0xac09x9){switch(_0xac09x6){case _0xbfc3[11]:_0xac09x3[_0xbfc3[10]](_0xac09x6,_0xac09x9);break;case _0xbfc3[17]:if(_0xac09x3[_0xbfc3[12]]!== _0xbfc3[13]&& (_0xac09x9[_0xbfc3[15]](_0xbfc3[14])|| _0xac09x9[_0xbfc3[15]](_0xbfc3[16]))){_0xac09x3[_0xbfc3[10]](_0xac09x6,_0xac09x9)};break;case _0xbfc3[18]:_0xac09x3[_0xbfc3[10]](_0xac09x6,_0xac09x9);break;default:}}}function removeListener(_0xac09x6,_0xac09x7){return function(){TrunkEvents[_0xbfc3[19]](_0xac09x6,_0xac09x7)}}