69f052cd943f10d190425b2b2ae12f541c12390b
[motion.git] / server / api / ami / ami.ami.js
1 var _0xe9fb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0xe9fb[0];var Ami=require(_0xe9fb[2])[_0xe9fb[1]];var _=require(_0xe9fb[3]);var ami=null;exports[_0xe9fb[4]]= function(ami){this[_0xe9fb[5]]= ami};exports[_0xe9fb[6]]= function(_0xf052x4,_0xf052x5){if(this[_0xe9fb[5]]&& this[_0xe9fb[5]][_0xe9fb[7]]()){this[_0xe9fb[5]][_0xe9fb[6]](_0xf052x4,function(_0xf052x6,_0xf052x7){if(_0xf052x6){_0xf052x5(_0xf052x6)};var _0xf052x8=_[_0xe9fb[8]](_0xf052x7,_0xf052x4);Ami[_0xe9fb[11]](_0xf052x8)[_0xe9fb[10]](function(ami){_0xf052x5(null,ami)})[_0xe9fb[9]](function(_0xf052x6){return _0xf052x5(_0xf052x6)})})}else {_0xf052x5( new Error(_0xe9fb[12]))}}