a6cd38a731e9f3f599ec1e605d386bd5d5e7eab3
[motion.git] / server / api / trunk / trunk.socket.js
1 var _0x76d1=["\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"];_0x76d1[0];const TrunkEvents=require(_0x76d1[1]);var events=[_0x76d1[2],_0x76d1[3],_0x76d1[4]];exports[_0x76d1[5]]= function(_0x36dex3){for(var _0x36dex4=0,_0x36dex5=events[_0x76d1[6]];_0x36dex4< _0x36dex5;_0x36dex4++){var _0x36dex6=events[_0x36dex4];var _0x36dex7=createListener(_0x76d1[7]+ _0x36dex6,_0x36dex3);TrunkEvents[_0x76d1[8]](_0x36dex6,_0x36dex7);_0x36dex3[_0x76d1[8]](_0x76d1[9],removeListener(_0x36dex6,_0x36dex7))}};function createListener(_0x36dex6,_0x36dex3){return function(_0x36dex9){switch(_0x36dex6){case _0x76d1[11]:_0x36dex3[_0x76d1[10]](_0x36dex6,_0x36dex9);break;case _0x76d1[17]:if(_0x36dex3[_0x76d1[12]]!== _0x76d1[13]&& (_0x36dex9[_0x76d1[15]](_0x76d1[14])|| _0x36dex9[_0x76d1[15]](_0x76d1[16]))){_0x36dex3[_0x76d1[10]](_0x36dex6,_0x36dex9)};break;case _0x76d1[18]:_0x36dex3[_0x76d1[10]](_0x36dex6,_0x36dex9);break;default:}}}function removeListener(_0x36dex6,_0x36dex7){return function(){TrunkEvents[_0x76d1[19]](_0x36dex6,_0x36dex7)}}