Built motion from commit 79c4046.|0.0.100
[motion.git] / server / api / ami / ami.ami.js
1 var _0xca0a=["\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","\x61\x73\x79\x6E\x63","\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"];_0xca0a[0];var Ami=require(_0xca0a[2])[_0xca0a[1]];var async=require(_0xca0a[3]);var _=require(_0xca0a[4]);var ami=null;exports[_0xca0a[5]]=function(ami){this[_0xca0a[6]]=ami};exports[_0xca0a[7]]=function(_0x6e3bx5,_0x6e3bx6){if(this[_0xca0a[6]]&&this[_0xca0a[6]][_0xca0a[8]]()){this[_0xca0a[6]][_0xca0a[7]](_0x6e3bx5,function(_0x6e3bx7,_0x6e3bx8){if(_0x6e3bx7){_0x6e3bx6(_0x6e3bx7)};var _0x6e3bx9=_[_0xca0a[9]](_0x6e3bx8,_0x6e3bx5);Ami[_0xca0a[12]](_0x6e3bx9)[_0xca0a[11]](function(ami){_0x6e3bx6(null,ami)})[_0xca0a[10]](function(_0x6e3bx7){return _0x6e3bx6(_0x6e3bx7)})})}else {_0x6e3bx6( new Error(_0xca0a[13]))}}