Built motion from commit 5e31ea4.|0.0.32
[motion.git] / server / config / ami / queue_member.js
1 var _0xd45c=["\x6D\x6F\x6D\x65\x6E\x74","\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x64\x64\x65\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65\x64","\x70\x61\x75\x73\x65\x64\x41\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x72\x65\x6D\x6F\x76\x65\x64","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x73\x74\x61\x74\x75\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72","\x74\x68\x65\x6E","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xd45c[0]);function QueueMember(){console[_0xd45c[2]](_0xd45c[1])}QueueMember[_0xd45c[4]][_0xd45c[3]]=function(_0x7b0ax3){_0x7b0ax3[_0xd45c[5]]=true;_0x7b0ax3[_0xd45c[6]]=moment()[_0xd45c[8]](_0xd45c[7]);findAndUpdate(_0x7b0ax3);};QueueMember[_0xd45c[4]][_0xd45c[9]]=function(_0x7b0ax3){var _0x7b0ax4=parseInt(_0x7b0ax3[_0xd45c[10]],10);if(_0x7b0ax4){_0x7b0ax3[_0xd45c[11]]=moment()[_0xd45c[8]](_0xd45c[7])}else {_0x7b0ax3[_0xd45c[11]]=null};findAndUpdate(_0x7b0ax3);};QueueMember[_0xd45c[4]][_0xd45c[12]]=function(_0x7b0ax3){findAndUpdate(_0x7b0ax3)};QueueMember[_0xd45c[4]][_0xd45c[13]]=function(_0x7b0ax3){_0x7b0ax3[_0xd45c[5]]=false;_0x7b0ax3[_0xd45c[6]]=null;findAndUpdate(_0x7b0ax3);};QueueMember[_0xd45c[4]][_0xd45c[14]]=function(_0x7b0ax3){findAndUpdate(_0x7b0ax3)};QueueMember[_0xd45c[4]][_0xd45c[15]]=function(_0x7b0ax3){findAndUpdate(_0x7b0ax3)};function findAndUpdate(_0x7b0ax3,_0x7b0ax6){var _0x7b0ax7=require(_0xd45c[17])[_0xd45c[16]];_0x7b0ax7[_0xd45c[25]](_0x7b0ax3,{where:{queue:_0x7b0ax3[_0xd45c[23]],membername:_0x7b0ax3[_0xd45c[24]]},individualHooks:true})[_0xd45c[22]](function(_0x7b0ax9){console[_0xd45c[2]](_0xd45c[21])})[_0xd45c[20]](function(_0x7b0ax8){console[_0xd45c[19]](_0xd45c[18]+_0x7b0ax8)});}module[_0xd45c[26]]=QueueMember;