1 var _0x61e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\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","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x43\x6C\x65\x61\x6E\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x52\x65\x6D\x6F\x76\x69\x6E\x67\x20\x69\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x2E\x2E\x2E","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x63\x61\x74\x63\x68","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x63\x6C\x65\x61\x6E\x69\x6E\x67\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x74\x68\x65\x6E","\x61\x6C\x6C","\x75\x6E\x69\x71\x75\x65\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\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","\x5A\x4F\x4D\x42\x49\x45","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6E\x6F","\x66\x69\x6E\x64\x41\x6C\x6C","\x7A\x6F\x6D\x62\x69\x65","\x63\x6F\x6E\x74\x65\x6E\x74","\x0A","\x73\x70\x6C\x69\x74","\x21","\x6C\x65\x6E\x67\x74\x68","\x70\x6F\x70","\x43\x6F\x6D\x6D\x61\x6E\x64","\x63\x6F\x72\x65\x20\x73\x68\x6F\x77\x20\x63\x68\x61\x6E\x6E\x65\x6C\x73\x20\x63\x6F\x6E\x63\x69\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x61e5[0];var moment=require(_0x61e5[1]);var _=require(_0x61e5[2]);var Promise=require(_0x61e5[3]);var ReportQueue=require(_0x61e5[5])[_0x61e5[4]];var ReportSquare=require(_0x61e5[5])[_0x61e5[6]];var ReportDial=require(_0x61e5[5])[_0x61e5[7]];function Cleaner(_0x7394x8){console[_0x61e5[9]](_0x61e5[8]);removeInactiveCalls(_0x7394x8);setInterval(function(){removeInactiveCalls(_0x7394x8)},10* 60* 1000)}function removeInactiveCalls(_0x7394x8){console[_0x61e5[9]](_0x61e5[10]);var _0x7394xa=[],_0x7394xb=[];return Promise[_0x61e5[36]](_0x7394x8[_0x61e5[35]])({action:_0x61e5[33],command:_0x61e5[34]})[_0x61e5[14]](function(_0x7394x11){var _0x7394x12;if(_0x7394x11&& _0x7394x11[_0x61e5[27]]){var _0x7394x13=_0x7394x11[_0x61e5[27]][_0x61e5[29]](_0x61e5[28]);_[_0x61e5[23]](_0x7394x13,function(_0x7394x14){if(_0x7394x14){_0x7394x12= _0x7394x14[_0x61e5[29]](_0x61e5[30]);_0x7394x12[_0x61e5[31]]=== 14&& _0x7394xb[_0x61e5[22]](_0x7394x12[_0x61e5[32]]())}})};return ReportQueue[_0x61e5[25]]({where:{$or:[{queuecallerleaveAt:null},{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null}}]}})})[_0x61e5[14]](function(_0x7394x10){_[_0x61e5[23]](_0x7394x10,function(_0x7394xe){if(!_[_0x61e5[17]](_0x7394xb,_0x7394xe[_0x61e5[16]])){_0x7394xa[_0x61e5[22]](_0x7394xe[_0x61e5[21]]({queuecallerleaveAt:moment()[_0x61e5[19]](_0x61e5[18]),queuecallerexitAt:moment()[_0x61e5[19]](_0x61e5[18]),queuecallerexit:true,queuecallerexitreason:_0x61e5[26]}))}});return ReportSquare[_0x61e5[25]]({where:{leaveAt:null}})})[_0x61e5[14]](function(_0x7394xf){_[_0x61e5[23]](_0x7394xf,function(_0x7394xe){if(!_[_0x61e5[17]](_0x7394xb,_0x7394xe[_0x61e5[16]])){_0x7394xa[_0x61e5[22]](_0x7394xe[_0x61e5[21]]({leaveAt:moment()[_0x61e5[19]](_0x61e5[18]),network:_0x61e5[24]}))}});return ReportDial[_0x61e5[25]]({where:{endtime:null}})})[_0x61e5[14]](function(_0x7394xd){_[_0x61e5[23]](_0x7394xd,function(_0x7394xe){if(!_[_0x61e5[17]](_0x7394xb,_0x7394xe[_0x61e5[16]])){_0x7394xa[_0x61e5[22]](_0x7394xe[_0x61e5[21]]({endtime:moment()[_0x61e5[19]](_0x61e5[18]),dialstatus:_0x61e5[20]}))}});return _0x7394xa})[_0x61e5[15]]()[_0x61e5[14]](function(){console[_0x61e5[9]](_0x61e5[13])})[_0x61e5[12]](function(_0x7394xc){console[_0x61e5[9]](_0x61e5[11],_0x7394xc)})}module[_0x61e5[37]]= Cleaner