Built motion from commit 8d91b1b.|0.0.64
[motion.git] / server / api / user / user.socket.js
1 var _0x42c8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\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","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x42c8[0];var user=require(_0x42c8[2])[_0x42c8[1]];exports[_0x42c8[3]]=function(_0xa75ex2){user[_0x42c8[4]](function(_0xa75ex3){onSave(_0xa75ex2,_0xa75ex3)});user[_0x42c8[5]](function(_0xa75ex3){onSave(_0xa75ex2,_0xa75ex3)});user[_0x42c8[6]](function(_0xa75ex3){onRemove(_0xa75ex2,_0xa75ex3)})};function onSave(_0xa75ex2,_0xa75ex3,_0xa75ex5){if(_0xa75ex3[_0x42c8[7]]===_0x42c8[8]){_0xa75ex2[_0x42c8[10]](_0x42c8[9],_0xa75ex3)}}function onRemove(_0xa75ex2,_0xa75ex3,_0xa75ex5){if(_0xa75ex3[_0x42c8[7]]===_0x42c8[8]){_0xa75ex2[_0x42c8[10]](_0x42c8[11],_0xa75ex3)}}