f63c3aaef9b2ace6a4133599a49d547bd2742ea2
[motion.git] / server / api / report_tree / report_tree.controller.js
1 var _0xc117=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xc117[0];var _=require(_0xc117[1]);var util=require(_0xc117[2]);var ReportTree=require(_0xc117[4])[_0xc117[3]];var logger=require(_0xc117[6])(_0xc117[5]);exports[_0xc117[7]]= function(_0xe54dx5,_0xe54dx6){return ReportTree[_0xc117[13]]()[_0xc117[12]](function(_0xe54dx8){if(!_0xe54dx8){return _0xe54dx6[_0xc117[9]](404)};return _0xe54dx6[_0xc117[11]](200)[_0xc117[10]](_0xe54dx8)})[_0xc117[8]](function(_0xe54dx7){return handleError(_0xe54dx6,_0xe54dx7)})};exports[_0xc117[14]]= function(_0xe54dx5,_0xe54dx6){return ReportTree[_0xc117[20]](_0xe54dx5[_0xc117[19]][_0xc117[18]])[_0xc117[12]](function(_0xe54dx9){if(!_0xe54dx9){return _0xe54dx6[_0xc117[9]](404)};var _0xe54dxa=_[_0xc117[16]](_0xe54dx9,_0xe54dx5[_0xc117[15]]);return _0xe54dxa[_0xc117[17]]()})[_0xc117[12]](function(_0xe54dx9){return _0xe54dx6[_0xc117[11]](200)[_0xc117[10]](_0xe54dx9)})[_0xc117[8]](function(_0xe54dx7){return handleError(_0xe54dx6,_0xe54dx7)})};function handleError(_0xe54dx6,_0xe54dx7){logger[_0xc117[22]](_0xe54dx7[_0xc117[21]]);return _0xe54dx6[_0xc117[11]](500)[_0xc117[10]](_0xe54dx7)}