Built motion from commit c2984ba.|0.0.114
[motion.git] / server / api / extracted_report / extracted_report.controller.js
index 6909c41..f8fa35f 100644 (file)
@@ -1 +1 @@
-var _0x68cf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x65\x6E\x64\x44\x61\x74\x65","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x6C\x6F\x67","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x68cf[0];var _=require(_0x68cf[1]);var ExtractedReport=require(_0x68cf[3])[_0x68cf[2]];var util=require(_0x68cf[4]);var path=require(_0x68cf[5]);var moment=require(_0x68cf[6]);var config=require(_0x68cf[7]);var base64=require(_0x68cf[8]);var fs=require(_0x68cf[9]);exports[_0x68cf[10]]=function(_0xfa02x9,_0xfa02xa){var _0xfa02xb=[_0x68cf[11],_0x68cf[12],_0x68cf[13]];var _0xfa02xc=_0xfa02x9[_0x68cf[15]][_0x68cf[14]]?parseInt(_0xfa02x9[_0x68cf[15]][_0x68cf[14]],10):100;var _0xfa02xd=_0xfa02x9[_0x68cf[15]][_0x68cf[16]]?parseInt(_0xfa02x9[_0x68cf[15]][_0x68cf[16]],10):0;var _0xfa02xe={where:{},limit:_0xfa02xc,offset:_0xfa02xd*_0xfa02xc};_[_0x68cf[30]](_0xfa02x9[_0x68cf[15]],function(_0xfa02xf,_0xfa02x10){switch(_0xfa02x10){case _0x68cf[14]:;case _0x68cf[16]:break ;;case _0x68cf[19]:_0xfa02xe[_0x68cf[17]]=util[_0x68cf[22]](_0x68cf[18],_0xfa02x9[_0x68cf[15]][_0x68cf[19]],_0xfa02x9[_0x68cf[15]][_0x68cf[20]]||_0x68cf[21])||null;break ;;case _0x68cf[20]:break ;;case _0x68cf[28]:_0xfa02xe[_0x68cf[24]][_0x68cf[23]]=[];_0xfa02xb[_0x68cf[27]](function(_0xfa02x11){var _0xfa02x12={};_0xfa02x12[_0xfa02x11]={$like:_0x68cf[25]+_0xfa02xf+_0x68cf[25]};_0xfa02xe[_0x68cf[24]][_0x68cf[23]][_0x68cf[26]](_0xfa02x12);});break ;;default:_0xfa02xe[_0x68cf[24]][_0xfa02x10]={$like:{}};_0xfa02xe[_0x68cf[24]][_0xfa02x10][_0x68cf[29]]=_0x68cf[25]+_0xfa02xf+_0x68cf[25];;}});console[_0x68cf[31]](_0xfa02xe);ExtractedReport[_0x68cf[46]](_0xfa02xe)[_0x68cf[45]](function(_0xfa02x14){var _0xfa02x15=Math[_0x68cf[37]](_0xfa02x14[_0x68cf[36]]/_0xfa02xc);var _0xfa02x16=_0xfa02x15>(_0xfa02xe[_0x68cf[38]]+1)?util[_0x68cf[22]](_0x68cf[39],_0xfa02x9[_0x68cf[40]],_0xfa02x9[_0x68cf[42]][_0x68cf[41]],_0xfa02x9[_0x68cf[43]],_0xfa02xd+1):null;var _0xfa02x17=_0xfa02xd>0?util[_0x68cf[22]](_0x68cf[39],_0xfa02x9[_0x68cf[40]],_0xfa02x9[_0x68cf[42]][_0x68cf[41]],_0xfa02x9[_0x68cf[43]],_0xfa02xd-1):null;_0xfa02xa[_0x68cf[34]](200)[_0x68cf[33]]({count:_0xfa02x14[_0x68cf[36]],rows:_0xfa02x14[_0x68cf[44]],next_page:_0xfa02x16,previous_page:_0xfa02x17,total_pages:_0xfa02x15});})[_0x68cf[35]](function(_0xfa02x13){_0xfa02xa[_0x68cf[34]](500)[_0x68cf[33]]({error:_0x68cf[32]})});};exports[_0x68cf[47]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[51]](_0xfa02x9[_0x68cf[50]][_0x68cf[49]])[_0x68cf[45]](function(_0xfa02x18){if(!_0xfa02x18){return _0xfa02xa[_0x68cf[48]](404)};return _0xfa02xa[_0x68cf[33]](_0xfa02x18);})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)})};exports[_0x68cf[52]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[51]](_0xfa02x9[_0x68cf[50]][_0x68cf[49]])[_0x68cf[45]](function(_0xfa02x19){if(!_0xfa02x19){return _0xfa02xa[_0x68cf[34]](404)[_0x68cf[33]](_0xfa02x19)};var _0xfa02x1a=path[_0x68cf[58]](config[_0x68cf[53]],_0x68cf[54],_0x68cf[55],_0x68cf[56],_0xfa02x19[_0x68cf[57]]);base64[_0x68cf[59]](_0xfa02x1a,function(_0xfa02x13,_0xfa02x1b){if(_0xfa02x13){console[_0x68cf[31]](_0xfa02x13);return handleError(_0xfa02xa,_0xfa02x13);}else {return _0xfa02xa[_0x68cf[34]](200)[_0x68cf[33]](_0xfa02x1b)}});})[_0x68cf[35]](function(_0xfa02x13){console[_0x68cf[31]](_0xfa02x13);return handleError(_0xfa02xa,_0xfa02x13);})};exports[_0x68cf[60]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[60]](_0xfa02x9[_0x68cf[61]])[_0x68cf[45]](function(_0xfa02x18){return _0xfa02xa[_0x68cf[34]](201)[_0x68cf[33]](_0xfa02x18)})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)})};exports[_0x68cf[62]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[65]]({where:{name:_0xfa02x9[_0x68cf[61]][_0x68cf[11]],id:{$ne:_0xfa02x9[_0x68cf[61]][_0x68cf[49]]}}})[_0x68cf[45]](function(_0xfa02x1c){if(!_0xfa02x1c){return _0xfa02xa[_0x68cf[48]](404)};if(_0xfa02x9[_0x68cf[61]][_0x68cf[49]]){delete _0xfa02x9[_0x68cf[61]][_0x68cf[49]]};ExtractedReport[_0x68cf[51]](_0xfa02x9[_0x68cf[50]][_0x68cf[49]])[_0x68cf[45]](function(_0xfa02x18){if(!_0xfa02x18){return _0xfa02xa[_0x68cf[48]](404)};var _0xfa02x1d=_[_0x68cf[63]](_0xfa02x18,_0xfa02x9[_0x68cf[61]]);_0xfa02x1d[_0x68cf[64]]()[_0x68cf[45]](function(){return _0xfa02xa[_0x68cf[34]](200)[_0x68cf[33]](_0xfa02x18)})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)});})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)});})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)})};exports[_0x68cf[66]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[51]](_0xfa02x9[_0x68cf[50]][_0x68cf[49]])[_0x68cf[45]](function(_0xfa02x18){if(!_0xfa02x18){return _0xfa02xa[_0x68cf[48]](404)};_0xfa02x18[_0x68cf[66]]()[_0x68cf[45]](function(){var _0xfa02x1a=path[_0x68cf[58]](config[_0x68cf[53]],_0x68cf[54],_0x68cf[55],_0x68cf[56],_0xfa02x18[_0x68cf[57]]);fs[_0x68cf[74]](_0xfa02x1a,fs[_0x68cf[67]]|fs[_0x68cf[68]],function(_0xfa02x13){if(_0xfa02x13){console[_0x68cf[70]](_0x68cf[69])}else {fs[_0x68cf[73]](_0xfa02x1a,function(_0xfa02x13){if(_0xfa02x13){console[_0x68cf[70]](_0x68cf[71],_0xfa02x13)}else {console[_0x68cf[31]](_0x68cf[72])}})}});return _0xfa02xa[_0x68cf[48]](204);})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)});})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)})};exports[_0x68cf[75]]=function(_0xfa02x9,_0xfa02xa){ExtractedReport[_0x68cf[65]]({where:{id:_0xfa02x9[_0x68cf[15]][_0x68cf[49]]}})[_0x68cf[45]](function(_0xfa02x1e){_0xfa02x1e[_0x68cf[27]](function(_0xfa02x18){_0xfa02x18[_0x68cf[66]]()[_0x68cf[45]](function(){var _0xfa02x1a=path[_0x68cf[58]](config[_0x68cf[53]],_0x68cf[54],_0x68cf[55],_0x68cf[56],_0xfa02x18[_0x68cf[57]]);fs[_0x68cf[74]](_0xfa02x1a,fs[_0x68cf[67]]|fs[_0x68cf[68]],function(_0xfa02x13){if(_0xfa02x13){console[_0x68cf[70]](_0x68cf[69])}else {fs[_0x68cf[73]](_0xfa02x1a,function(_0xfa02x13){if(_0xfa02x13){console[_0x68cf[70]](_0x68cf[71],_0xfa02x13)}else {console[_0x68cf[31]](_0x68cf[72])}})}});})[_0x68cf[35]](function(_0xfa02x13){console[_0x68cf[31]](_0xfa02x13)})});return _0xfa02xa[_0x68cf[48]](204);})[_0x68cf[35]](function(_0xfa02x13){return handleError(_0xfa02xa,_0xfa02x13)})};function handleError(_0xfa02xa,_0xfa02x13){return _0xfa02xa[_0x68cf[34]](500)[_0x68cf[33]](_0xfa02x13)}
\ No newline at end of file
+var _0xf15f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x69\x64","\x75\x73\x65\x72","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73"];_0xf15f[0];var _=require(_0xf15f[1]);var ExtractedReport=require(_0xf15f[3])[_0xf15f[2]];var util=require(_0xf15f[4]);var path=require(_0xf15f[5]);var moment=require(_0xf15f[6]);var config=require(_0xf15f[7]);var base64=require(_0xf15f[8]);var fs=require(_0xf15f[9]);var Util=require(_0xf15f[10]);exports[_0xf15f[11]]= function(_0x36c9xa,_0x36c9xb,_0x36c9xc){switch(_0x36c9xa[_0xf15f[18]][_0xf15f[21]]){case _0xf15f[18]:return ExtractedReport[_0xf15f[20]](Util[_0xf15f[19]](_0x36c9xa[_0xf15f[16]],{UserId:_0x36c9xa[_0xf15f[18]][_0xf15f[17]]}))[_0xf15f[15]](function(_0x36c9xe){_0x36c9xb[_0xf15f[14]](200)[_0xf15f[13]](_0x36c9xe)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)});default:return ExtractedReport[_0xf15f[20]](Util[_0xf15f[19]](_0x36c9xa[_0xf15f[16]]))[_0xf15f[15]](function(_0x36c9xe){_0x36c9xb[_0xf15f[14]](200)[_0xf15f[13]](_0x36c9xe)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})}};exports[_0xf15f[22]]= function(_0x36c9xa,_0x36c9xb){return ExtractedReport[_0xf15f[25]](_0x36c9xa[_0xf15f[24]][_0xf15f[17]])[_0xf15f[15]](function(_0x36c9xf){if(!_0x36c9xf){return _0x36c9xb[_0xf15f[23]](404)};return _0x36c9xb[_0xf15f[13]](_0x36c9xf)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};exports[_0xf15f[26]]= function(_0x36c9xa,_0x36c9xb){return ExtractedReport[_0xf15f[25]](_0x36c9xa[_0xf15f[24]][_0xf15f[17]])[_0xf15f[15]](function(_0x36c9x10){if(!_0x36c9x10){return _0x36c9xb[_0xf15f[14]](404)[_0xf15f[13]](_0x36c9x10)};var _0x36c9x11=path[_0xf15f[32]](config[_0xf15f[27]],_0xf15f[28],_0xf15f[29],_0xf15f[30],_0x36c9x10[_0xf15f[31]]);base64[_0xf15f[33]](_0x36c9x11,function(_0x36c9xd,_0x36c9x12){if(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)}else {return _0x36c9xb[_0xf15f[14]](200)[_0xf15f[13]]({downloadString:_0x36c9x12})}})})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};exports[_0xf15f[34]]= function(_0x36c9xa,_0x36c9xb){return ExtractedReport[_0xf15f[34]](_0x36c9xa[_0xf15f[35]])[_0xf15f[15]](function(_0x36c9xf){return _0x36c9xb[_0xf15f[14]](201)[_0xf15f[13]](_0x36c9xf)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};exports[_0xf15f[36]]= function(_0x36c9xa,_0x36c9xb){return ExtractedReport[_0xf15f[40]]({where:{name:_0x36c9xa[_0xf15f[35]][_0xf15f[39]],id:{$ne:_0x36c9xa[_0xf15f[35]][_0xf15f[17]]}}})[_0xf15f[15]](function(_0x36c9x14){if(!_0x36c9x14){return _0x36c9xb[_0xf15f[23]](404)};if(_0x36c9xa[_0xf15f[35]][_0xf15f[17]]){delete _0x36c9xa[_0xf15f[35]][_0xf15f[17]]};return ExtractedReport[_0xf15f[25]](_0x36c9xa[_0xf15f[24]][_0xf15f[17]])})[_0xf15f[15]](function(_0x36c9xf){if(!_0x36c9xf){return _0x36c9xb[_0xf15f[23]](404)};var _0x36c9x13=_[_0xf15f[37]](_0x36c9xf,_0x36c9xa[_0xf15f[35]]);return _0x36c9x13[_0xf15f[38]]()})[_0xf15f[15]](function(_0x36c9xf){return _0x36c9xb[_0xf15f[14]](200)[_0xf15f[13]](_0x36c9xf)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};exports[_0xf15f[41]]= function(_0x36c9xa,_0x36c9xb){var _0x36c9x15;return ExtractedReport[_0xf15f[25]](_0x36c9xa[_0xf15f[24]][_0xf15f[17]])[_0xf15f[15]](function(_0x36c9xf){_0x36c9x15= _0x36c9xf;if(!_0x36c9xf){return _0x36c9xb[_0xf15f[23]](404)};return _0x36c9xf[_0xf15f[41]]()})[_0xf15f[15]](function(){if(_0x36c9x15[_0xf15f[31]]){var _0x36c9x11=path[_0xf15f[32]](config[_0xf15f[27]],_0xf15f[28],_0xf15f[29],_0xf15f[30],_0x36c9x15[_0xf15f[31]]);fs[_0xf15f[50]](_0x36c9x11,fs[_0xf15f[42]]| fs[_0xf15f[43]],function(_0x36c9xd){if(_0x36c9xd){console[_0xf15f[45]](_0xf15f[44])}else {fs[_0xf15f[49]](_0x36c9x11,function(_0x36c9xd){if(_0x36c9xd){console[_0xf15f[45]](_0xf15f[46],_0x36c9xd)}else {console[_0xf15f[48]](_0xf15f[47])}})}})};return _0x36c9xb[_0xf15f[23]](204)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};exports[_0xf15f[51]]= function(_0x36c9xa,_0x36c9xb){var _0x36c9x16;return ExtractedReport[_0xf15f[40]]({where:{id:_0x36c9xa[_0xf15f[16]][_0xf15f[55]]}})[_0xf15f[15]](function(_0x36c9x17){_0x36c9x16= _0x36c9x17;var _0x36c9x18=[];_0x36c9x17[_0xf15f[52]](function(_0x36c9xf){_0x36c9x18[_0xf15f[54]](_0x36c9xf[_0xf15f[41]]())});return _0x36c9x18})[_0xf15f[53]]()[_0xf15f[15]](function(){_0x36c9x16[_0xf15f[52]](function(_0x36c9xf){if(_0x36c9xf[_0xf15f[31]]){var _0x36c9x11=path[_0xf15f[32]](config[_0xf15f[27]],_0xf15f[28],_0xf15f[29],_0xf15f[30],_0x36c9xf[_0xf15f[31]]);fs[_0xf15f[50]](_0x36c9x11,fs[_0xf15f[42]]| fs[_0xf15f[43]],function(_0x36c9xd){if(_0x36c9xd){console[_0xf15f[45]](_0xf15f[44])}else {fs[_0xf15f[49]](_0x36c9x11,function(_0x36c9xd){if(_0x36c9xd){console[_0xf15f[45]](_0xf15f[46],_0x36c9xd)}else {console[_0xf15f[48]](_0xf15f[47])}})}})}});return _0x36c9xb[_0xf15f[23]](204)})[_0xf15f[12]](function(_0x36c9xd){return handleError(_0x36c9xb,_0x36c9xd)})};function handleError(_0x36c9xb,_0x36c9xd){console[_0xf15f[48]](_0x36c9xd);return _0x36c9xb[_0xf15f[14]](500)[_0xf15f[13]](_0x36c9xd)}
\ No newline at end of file