Built motion from commit d127c62.|0.0.151
[motion.git] / server / api / trunk / trunk.socket.js
index d9e8324..54a59cf 100644 (file)
@@ -1 +1 @@
-var _0xa504=["\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"];_0xa504[0];var Trunk=require(_0xa504[2])[_0xa504[1]];exports[_0xa504[3]]=function(_0xc28fx2){Trunk[_0xa504[4]](function(_0xc28fx3){onSave(_0xc28fx2,_0xc28fx3)});Trunk[_0xa504[8]](function(_0xc28fx3){if(_0xc28fx3[_0xa504[6]](_0xa504[5])||_0xc28fx3[_0xa504[6]](_0xa504[7])){onUpdate(_0xc28fx2,_0xc28fx3)}});Trunk[_0xa504[9]](function(_0xc28fx3){onRemove(_0xc28fx2,_0xc28fx3)});Trunk[_0xa504[12]](function(_0xc28fx3){if(_0xc28fx3[_0xa504[6]](_0xa504[10])){throw  new Error(_0xa504[11])}})};function onSave(_0xc28fx2,_0xc28fx3,_0xc28fx5){_0xc28fx2[_0xa504[14]](_0xa504[13],_0xc28fx3)}function onUpdate(_0xc28fx2,_0xc28fx3,_0xc28fx5){if(_0xc28fx2[_0xa504[15]]!==_0xa504[16]){_0xc28fx2[_0xa504[14]](_0xa504[17],_0xc28fx3)}}function onRemove(_0xc28fx2,_0xc28fx3,_0xc28fx5){_0xc28fx2[_0xa504[14]](_0xa504[18],_0xc28fx3)}
\ No newline at end of file
+var _0xa063=["\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"];_0xa063[0];const TrunkEvents=require(_0xa063[1]);var events=[_0xa063[2],_0xa063[3],_0xa063[4]];exports[_0xa063[5]]= function(_0xd0c1x3){for(var _0xd0c1x4=0,_0xd0c1x5=events[_0xa063[6]];_0xd0c1x4< _0xd0c1x5;_0xd0c1x4++){var _0xd0c1x6=events[_0xd0c1x4];var _0xd0c1x7=createListener(_0xa063[7]+ _0xd0c1x6,_0xd0c1x3);TrunkEvents[_0xa063[8]](_0xd0c1x6,_0xd0c1x7);_0xd0c1x3[_0xa063[8]](_0xa063[9],removeListener(_0xd0c1x6,_0xd0c1x7))}};function createListener(_0xd0c1x6,_0xd0c1x3){return function(_0xd0c1x9){switch(_0xd0c1x6){case _0xa063[11]:_0xd0c1x3[_0xa063[10]](_0xd0c1x6,_0xd0c1x9);break;case _0xa063[17]:if(_0xd0c1x3[_0xa063[12]]!== _0xa063[13]&& (_0xd0c1x9[_0xa063[15]](_0xa063[14])|| _0xd0c1x9[_0xa063[15]](_0xa063[16]))){_0xd0c1x3[_0xa063[10]](_0xd0c1x6,_0xd0c1x9)};break;case _0xa063[18]:_0xd0c1x3[_0xa063[10]](_0xd0c1x6,_0xd0c1x9);break;default:}}}function removeListener(_0xd0c1x6,_0xd0c1x7){return function(){TrunkEvents[_0xa063[19]](_0xd0c1x6,_0xd0c1x7)}}
\ No newline at end of file