Built motion from commit 95c3d5ad5.|1.0.29
[motion.git] / server / config / ami / utils.js
index eaf872e..cc621bc 100644 (file)
@@ -1 +1 @@
-var _0x3136=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x61\x6D\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\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\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x4D\x49\x55\x54\x49\x4C\x20\x50\x72\x75\x6E\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x41\x67\x65\x6E\x74\x20","\x6E\x61\x6D\x65","\x20\x70\x72\x75\x6E\x65\x64\x20\x66\x72\x6F\x6D\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20\x63\x61\x63\x68\x65\x21","\x64\x65\x62\x75\x67","\x74\x68\x65\x6E","\x43\x6F\x6D\x6D\x61\x6E\x64","\x73\x69\x70\x20\x70\x72\x75\x6E\x65\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20"];_0x3136[0];var logger=require(_0x3136[2])(_0x3136[1]);module[_0x3136[3]]= {isWaiting:function(_0x6683x2){return !_0x6683x2[_0x3136[4]]},isActive:function(_0x6683x2){return _0x6683x2[_0x3136[5]]=== 0&& _0x6683x2[_0x3136[6]]=== 0&& _0x6683x2[_0x3136[7]]=== 0&& _0x6683x2[_0x3136[4]]},isCompleted:function(_0x6683x2){return _0x6683x2[_0x3136[7]]=== 1},isAbandoned:function(_0x6683x2){return _0x6683x2[_0x3136[6]]=== 1},isUnmanaged:function(_0x6683x2){return _0x6683x2[_0x3136[5]]=== 1},prune:function(_0x6683x3,_0x6683x4){return _0x6683x3({action:_0x3136[16],command:_0x3136[17]+ _0x6683x4[_0x3136[12]]})[_0x3136[15]](function(_0x6683x6){_0x6683x6&& logger[_0x3136[14]](_0x3136[11]+ _0x6683x4[_0x3136[12]]+ _0x3136[13])})[_0x3136[10]](function(_0x6683x5){logger[_0x3136[9]](_0x3136[8],_0x6683x5)})}}
\ No newline at end of file
+var _0xcae0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x61\x6D\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\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\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x4D\x49\x55\x54\x49\x4C\x20\x50\x72\x75\x6E\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x41\x67\x65\x6E\x74\x20","\x6E\x61\x6D\x65","\x20\x70\x72\x75\x6E\x65\x64\x20\x66\x72\x6F\x6D\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20\x63\x61\x63\x68\x65\x21","\x64\x65\x62\x75\x67","\x74\x68\x65\x6E","\x43\x6F\x6D\x6D\x61\x6E\x64","\x73\x69\x70\x20\x70\x72\x75\x6E\x65\x20\x72\x65\x61\x6C\x74\x69\x6D\x65\x20"];_0xcae0[0];var logger=require(_0xcae0[2])(_0xcae0[1]);module[_0xcae0[3]]= {isWaiting:function(_0xff6cx2){return !_0xff6cx2[_0xcae0[4]]},isActive:function(_0xff6cx2){return _0xff6cx2[_0xcae0[5]]=== 0&& _0xff6cx2[_0xcae0[6]]=== 0&& _0xff6cx2[_0xcae0[7]]=== 0&& _0xff6cx2[_0xcae0[4]]},isCompleted:function(_0xff6cx2){return _0xff6cx2[_0xcae0[7]]=== 1},isAbandoned:function(_0xff6cx2){return _0xff6cx2[_0xcae0[6]]=== 1},isUnmanaged:function(_0xff6cx2){return _0xff6cx2[_0xcae0[5]]=== 1},prune:function(_0xff6cx3,_0xff6cx4){return _0xff6cx3({action:_0xcae0[16],command:_0xcae0[17]+ _0xff6cx4[_0xcae0[12]]})[_0xcae0[15]](function(_0xff6cx6){_0xff6cx6&& logger[_0xcae0[14]](_0xcae0[11]+ _0xff6cx4[_0xcae0[12]]+ _0xcae0[13])})[_0xcae0[10]](function(_0xff6cx5){logger[_0xcae0[9]](_0xcae0[8],_0xff6cx5)})}}
\ No newline at end of file