1 var _0x3592=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\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","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0x3592[0];var _=require(_0x3592[1]);var moment=require(_0x3592[2]);var ReportFax=require(_0x3592[4])[_0x3592[3]];var sequelize=require(_0x3592[4])[_0x3592[5]];var Agent=require(_0x3592[4])[_0x3592[6]];var Util=require(_0x3592[7]);exports[_0x3592[8]]= function(_0x3d38x7,_0x3d38x8,_0x3d38x9){return ReportFax[_0x3592[15]](Util[_0x3592[14]](_0x3d38x7[_0x3592[13]]))[_0x3592[12]](function(_0x3d38xb){_0x3d38x8[_0x3592[11]](200)[_0x3592[10]](_0x3d38xb)})[_0x3592[9]](function(_0x3d38xa){return handleError(_0x3d38x8,_0x3d38xa)})};exports[_0x3592[16]]= function(_0x3d38x7,_0x3d38x8){var _0x3d38xc;var _0x3d38xd=_0x3d38x7[_0x3592[20]][_0x3592[19]][_0x3592[18]](_0x3592[17])[1];return Agent[_0x3592[25]](_0x3d38x7[_0x3592[28]][_0x3592[24]],{attributes:[_0x3592[24],_0x3592[29]]})[_0x3592[12]](function(_0x3d38x11){_0x3d38xc= _0x3d38x11;return _0x3d38x11[_0x3592[27]]({where:{status:{$ne:_0x3592[26]},id:{$ne:_0x3d38xd}},attributes:[_0x3592[24]]})})[_0x3592[12]](function(_0x3d38x10){return ReportFax[_0x3592[25]](_0x3d38x7[_0x3592[20]][_0x3592[24]])})[_0x3592[12]](function(_0x3d38xe){if(!_0x3d38xe){return _0x3d38x8[_0x3592[21]](404)};var _0x3d38xf=_[_0x3592[22]](_0x3d38xe,{connectid:_0x3d38x7[_0x3592[20]][_0x3592[19]]});return _0x3d38xf[_0x3592[23]]()})[_0x3592[12]](function(){return _0x3d38x8[_0x3592[21]](200)})[_0x3592[9]](sequelize.UniqueConstraintError,function(_0x3d38xa){return _0x3d38x8[_0x3592[21]](504)})[_0x3592[9]](function(_0x3d38xa){return handleError(_0x3d38x8,_0x3d38xa)})};exports[_0x3592[30]]= function(_0x3d38x7,_0x3d38x8){return ReportFax[_0x3592[25]](_0x3d38x7[_0x3592[20]][_0x3592[24]])[_0x3592[12]](function(_0x3d38xe){if(!_0x3d38xe){return _0x3d38x8[_0x3592[21]](404)};var _0x3d38xf=_[_0x3592[22]](_0x3d38xe,{rejectedAt:moment()[_0x3592[32]](_0x3592[31])});return _0x3d38xf[_0x3592[23]]()})[_0x3592[12]](function(){return _0x3d38x8[_0x3592[21]](200)})[_0x3592[9]](function(_0x3d38xa){return handleError(_0x3d38x8,_0x3d38xa)})};function handleError(_0x3d38x8,_0x3d38xa){return _0x3d38x8[_0x3592[11]](500)[_0x3592[10]](_0x3d38xa)}