Built motion from commit 95c3d5ad5.|1.0.29
[motion.git] / server / api / report_square / report_square.controller.js
index f8d7450..53ea557 100644 (file)
@@ -1 +1 @@
-var _0xc6c5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xc6c5[0];var _=require(_0xc6c5[1]);var ReportSquare=require(_0xc6c5[3])[_0xc6c5[2]];var ReportSquareHistory=require(_0xc6c5[3])[_0xc6c5[5]][_0xc6c5[4]];var Util=require(_0xc6c5[6]);var logger=require(_0xc6c5[8])(_0xc6c5[7]);exports[_0xc6c5[9]]= function(_0x287ax6,_0x287ax7,_0x287ax8){return generalIndex(_0x287ax6,_0x287ax7,_0x287ax8)};exports[_0xc6c5[10]]= function(_0x287ax6,_0x287ax7,_0x287ax8){return generalIndex(_0x287ax6,_0x287ax7,_0x287ax8,{leaveAt:null})};function generalIndex(_0x287ax6,_0x287ax7,_0x287ax8,_0x287axa){return ReportSquare[_0xc6c5[17]](Util[_0xc6c5[16]](_0x287ax6[_0xc6c5[15]],_0x287axa|| {}))[_0xc6c5[14]](function(_0x287axc){return _0x287ax7[_0xc6c5[13]](200)[_0xc6c5[12]](_0x287axc)})[_0xc6c5[11]](function(_0x287axb){return handleError(_0x287ax7,_0x287axb)})}exports[_0xc6c5[18]]= function(_0x287ax6,_0x287ax7){return ReportSquareHistory[_0xc6c5[18]]()[_0xc6c5[14]](function(_0x287axd){return _0x287ax7[_0xc6c5[13]](200)[_0xc6c5[12]](_0x287axd)})[_0xc6c5[11]](function(_0x287axb){return handleError(_0x287ax7,_0x287axb)})};exports[_0xc6c5[19]]= function(_0x287ax6,_0x287ax7){return ReportSquare[_0xc6c5[22]]({where:{uniqueid:_0x287ax6[_0xc6c5[15]][_0xc6c5[21]]}})[_0xc6c5[14]](function(_0x287axe){if(_0x287axe){return _0x287axe};return ReportSquareHistory[_0xc6c5[22]]({where:{uniqueid:_0x287ax6[_0xc6c5[15]][_0xc6c5[21]]}})})[_0xc6c5[14]](function(_0x287axe){if(!_0x287axe){return _0x287ax7[_0xc6c5[20]](404)};return _0x287ax7[_0xc6c5[13]](200)[_0xc6c5[12]](_0x287axe)})[_0xc6c5[11]](function(_0x287axb){return handleError(_0x287ax7,_0x287axb)})};function handleError(_0x287ax7,_0x287axb){logger[_0xc6c5[24]](_0x287axb[_0xc6c5[23]]);return _0x287ax7[_0xc6c5[13]](500)[_0xc6c5[12]](_0x287axb)}
\ No newline at end of file
+var _0xe307=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\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","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xe307[0];var _=require(_0xe307[1]);var ReportSquare=require(_0xe307[3])[_0xe307[2]];var ReportSquareHistory=require(_0xe307[3])[_0xe307[5]][_0xe307[4]];var Util=require(_0xe307[6]);var logger=require(_0xe307[8])(_0xe307[7]);exports[_0xe307[9]]= function(_0xe491x6,_0xe491x7,_0xe491x8){return generalIndex(_0xe491x6,_0xe491x7,_0xe491x8)};exports[_0xe307[10]]= function(_0xe491x6,_0xe491x7,_0xe491x8){return generalIndex(_0xe491x6,_0xe491x7,_0xe491x8,{leaveAt:null})};function generalIndex(_0xe491x6,_0xe491x7,_0xe491x8,_0xe491xa){return ReportSquare[_0xe307[17]](Util[_0xe307[16]](_0xe491x6[_0xe307[15]],_0xe491xa|| {}))[_0xe307[14]](function(_0xe491xc){return _0xe491x7[_0xe307[13]](200)[_0xe307[12]](_0xe491xc)})[_0xe307[11]](function(_0xe491xb){return handleError(_0xe491x7,_0xe491xb)})}exports[_0xe307[18]]= function(_0xe491x6,_0xe491x7){return ReportSquareHistory[_0xe307[18]]()[_0xe307[14]](function(_0xe491xd){return _0xe491x7[_0xe307[13]](200)[_0xe307[12]](_0xe491xd)})[_0xe307[11]](function(_0xe491xb){return handleError(_0xe491x7,_0xe491xb)})};exports[_0xe307[19]]= function(_0xe491x6,_0xe491x7){return ReportSquare[_0xe307[22]]({where:{uniqueid:_0xe491x6[_0xe307[15]][_0xe307[21]]}})[_0xe307[14]](function(_0xe491xe){if(_0xe491xe){return _0xe491xe};return ReportSquareHistory[_0xe307[22]]({where:{uniqueid:_0xe491x6[_0xe307[15]][_0xe307[21]]}})})[_0xe307[14]](function(_0xe491xe){if(!_0xe491xe){return _0xe491x7[_0xe307[20]](404)};return _0xe491x7[_0xe307[13]](200)[_0xe307[12]](_0xe491xe)})[_0xe307[11]](function(_0xe491xb){return handleError(_0xe491x7,_0xe491xb)})};function handleError(_0xe491x7,_0xe491xb){logger[_0xe307[24]](_0xe491xb[_0xe307[23]]);return _0xe491x7[_0xe307[13]](500)[_0xe307[12]](_0xe491xb)}
\ No newline at end of file