Built motion from commit a11024eac.|1.0.35
[motion.git] / server / api / trunk / trunk.socket.js
index ecbd23d..9589077 100644 (file)
@@ -1 +1 @@
-var _0x6f9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x74\x72\x75\x6E\x6B\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x74\x72\x75\x6E\x6B\x3A\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6f9b[0];var Trunk=require(_0x6f9b[2])[_0x6f9b[1]];exports[_0x6f9b[3]]=function(_0x3bbdx2){Trunk[_0x6f9b[4]](function(_0x3bbdx3){onSave(_0x3bbdx2,_0x3bbdx3)});Trunk[_0x6f9b[8]](function(_0x3bbdx3){if(_0x3bbdx3[_0x6f9b[6]](_0x6f9b[5])||_0x3bbdx3[_0x6f9b[6]](_0x6f9b[7])){onUpdate(_0x3bbdx2,_0x3bbdx3)}});Trunk[_0x6f9b[9]](function(_0x3bbdx3){onRemove(_0x3bbdx2,_0x3bbdx3)});Trunk[_0x6f9b[12]](function(_0x3bbdx3){if(_0x3bbdx3[_0x6f9b[6]](_0x6f9b[10])){throw  new Error(_0x6f9b[11])}})};function onSave(_0x3bbdx2,_0x3bbdx3,_0x3bbdx5){_0x3bbdx2[_0x6f9b[14]](_0x6f9b[13],_0x3bbdx3)}function onUpdate(_0x3bbdx2,_0x3bbdx3,_0x3bbdx5){if(_0x3bbdx2[_0x6f9b[15]]!==_0x6f9b[16]){_0x3bbdx2[_0x6f9b[14]](_0x6f9b[17],_0x3bbdx3)}}function onRemove(_0x3bbdx2,_0x3bbdx3,_0x3bbdx5){_0x3bbdx2[_0x6f9b[14]](_0x6f9b[18],_0x3bbdx3)}
\ No newline at end of file
+var _0xcfec=["\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"];_0xcfec[0];const TrunkEvents=require(_0xcfec[1]);var events=[_0xcfec[2],_0xcfec[3],_0xcfec[4]];exports[_0xcfec[5]]= function(_0xedcex3){for(var _0xedcex4=0,_0xedcex5=events[_0xcfec[6]];_0xedcex4< _0xedcex5;_0xedcex4++){var _0xedcex6=events[_0xedcex4];var _0xedcex7=createListener(_0xcfec[7]+ _0xedcex6,_0xedcex3);TrunkEvents[_0xcfec[8]](_0xedcex6,_0xedcex7);_0xedcex3[_0xcfec[8]](_0xcfec[9],removeListener(_0xedcex6,_0xedcex7))}};function createListener(_0xedcex6,_0xedcex3){return function(_0xedcex9){switch(_0xedcex6){case _0xcfec[11]:_0xedcex3[_0xcfec[10]](_0xedcex6,_0xedcex9);break;case _0xcfec[17]:if(_0xedcex3[_0xcfec[12]]!== _0xcfec[13]&& (_0xedcex9[_0xcfec[15]](_0xcfec[14])|| _0xedcex9[_0xcfec[15]](_0xcfec[16]))){_0xedcex3[_0xcfec[10]](_0xedcex6,_0xedcex9)};break;case _0xcfec[18]:_0xedcex3[_0xcfec[10]](_0xedcex6,_0xedcex9);break;default:}}}function removeListener(_0xedcex6,_0xedcex7){return function(){TrunkEvents[_0xcfec[19]](_0xedcex6,_0xedcex7)}}
\ No newline at end of file