Built motion from commit b322525.|0.0.112
[motion.git] / server / api / ami / ami.ami.js
1 var _0xcc5f=["\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"];_0xcc5f[0];var Ami=require(_0xcc5f[2])[_0xcc5f[1]];var async=require(_0xcc5f[3]);var _=require(_0xcc5f[4]);var ami=null;exports[_0xcc5f[5]]=function(ami){this[_0xcc5f[6]]=ami};exports[_0xcc5f[7]]=function(_0x6e20x5,_0x6e20x6){if(this[_0xcc5f[6]]&&this[_0xcc5f[6]][_0xcc5f[8]]()){this[_0xcc5f[6]][_0xcc5f[7]](_0x6e20x5,function(_0x6e20x7,_0x6e20x8){if(_0x6e20x7){_0x6e20x6(_0x6e20x7)};var _0x6e20x9=_[_0xcc5f[9]](_0x6e20x8,_0x6e20x5);Ami[_0xcc5f[12]](_0x6e20x9)[_0xcc5f[11]](function(ami){_0x6e20x6(null,ami)})[_0xcc5f[10]](function(_0x6e20x7){return _0x6e20x6(_0x6e20x7)})})}else {_0x6e20x6( new Error(_0xcc5f[13]))}}