Built motion from commit 2239aeb.|0.0.113
[motion.git] / server / config / ami / queue_caller.js
index dc5cb1a..24a1271 100644 (file)
@@ -1 +1 @@
-var _0x31cd=["\x6D\x6F\x6D\x65\x6E\x74","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6A\x6F\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\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","\x6C\x65\x61\x76\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x69\x6E\x66\x6F","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x31cd[0]);function QueueCaller(){console[_0x31cd[2]](_0x31cd[1])}QueueCaller[_0x31cd[4]][_0x31cd[3]]=function(_0x355bx3){_0x355bx3[_0x31cd[5]]=moment()[_0x31cd[7]](_0x31cd[6]);create(_0x355bx3);};QueueCaller[_0x31cd[4]][_0x31cd[8]]=function(_0x355bx3){_0x355bx3[_0x31cd[9]]=moment()[_0x31cd[7]](_0x31cd[6]);findAndUpdate(_0x355bx3);};QueueCaller[_0x31cd[4]][_0x31cd[10]]=function(_0x355bx3){_0x355bx3[_0x31cd[11]]=true;_0x355bx3[_0x31cd[12]]=moment()[_0x31cd[7]](_0x31cd[6]);findAndUpdate(_0x355bx3);};QueueCaller[_0x31cd[4]][_0x31cd[13]]=function(_0x355bx3){_0x355bx3[_0x31cd[14]]=moment()[_0x31cd[7]](_0x31cd[6]);findAndUpdate(_0x355bx3);};function create(_0x355bx3){var _0x355bx5=require(_0x31cd[16])[_0x31cd[15]];_0x355bx5[_0x31cd[22]](_0x355bx3)[_0x31cd[21]](function(_0x355bx5){console[_0x31cd[2]](_0x31cd[20])})[_0x31cd[19]](function(_0x355bx6){console[_0x31cd[18]](_0x31cd[17]+_0x355bx6)});}function findAndUpdate(_0x355bx3){var _0x355bx5=require(_0x31cd[16])[_0x31cd[15]];_0x355bx5[_0x31cd[27]](_0x355bx3,{where:{uniqueid:_0x355bx3[_0x31cd[26]]},individualHooks:true})[_0x31cd[21]](function(_0x355bx5){console[_0x31cd[25]](_0x31cd[24])})[_0x31cd[19]](function(_0x355bx6){console[_0x31cd[18]](_0x31cd[23]+_0x355bx6)});}module[_0x31cd[28]]=QueueCaller;
\ No newline at end of file
+var _0x6546=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6A\x6F\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\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","\x6C\x65\x61\x76\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x76\x61\x6C\x75\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x69\x6E\x66\x6F","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x6546[0]);var ReportQueue=require(_0x6546[2])[_0x6546[1]];function QueueCaller(){console[_0x6546[4]](_0x6546[3])}QueueCaller[_0x6546[6]][_0x6546[5]]= function(_0x23f3x4){_0x23f3x4[_0x6546[7]]= moment()[_0x6546[9]](_0x6546[8]);return create(_0x23f3x4)};QueueCaller[_0x6546[6]][_0x6546[10]]= function(_0x23f3x4){_0x23f3x4[_0x6546[11]]= moment()[_0x6546[9]](_0x6546[8]);return findAndUpdate(_0x23f3x4)};QueueCaller[_0x6546[6]][_0x6546[12]]= function(_0x23f3x4){_0x23f3x4[_0x6546[13]]= true;_0x23f3x4[_0x6546[14]]= moment()[_0x6546[9]](_0x6546[8]);return findAndUpdate(_0x23f3x4)};QueueCaller[_0x6546[6]][_0x6546[15]]= function(_0x23f3x4){_0x23f3x4[_0x6546[16]]= true;_0x23f3x4[_0x6546[17]]= moment()[_0x6546[9]](_0x6546[8]);return findAndUpdate(_0x23f3x4)};QueueCaller[_0x6546[6]][_0x6546[18]]= function(_0x23f3x4){_0x23f3x4[_0x6546[13]]= false;_0x23f3x4[_0x6546[14]]= null;_0x23f3x4[_0x6546[19]]= true;_0x23f3x4[_0x6546[20]]= moment()[_0x6546[9]](_0x6546[8]);_0x23f3x4[_0x6546[21]]= _0x23f3x4[_0x6546[23]][_0x6546[22]]();return findAndUpdate(_0x23f3x4)};function create(_0x23f3x4){return ReportQueue[_0x6546[29]](_0x23f3x4)[_0x6546[28]](function(_0x23f3x7){console[_0x6546[4]](_0x6546[27])})[_0x6546[26]](function(_0x23f3x6){console[_0x6546[25]](_0x6546[24]+ _0x23f3x6)})}function findAndUpdate(_0x23f3x4){return ReportQueue[_0x6546[34]](_0x23f3x4,{where:{uniqueid:_0x23f3x4[_0x6546[33]]},individualHooks:true})[_0x6546[28]](function(_0x23f3x7){console[_0x6546[32]](_0x6546[31])})[_0x6546[26]](function(_0x23f3x6){console[_0x6546[25]](_0x6546[30]+ _0x23f3x6)})}module[_0x6546[35]]= QueueCaller
\ No newline at end of file