1 var _0xa800=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x73\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x64\x65\x62\x75\x67","\x74\x68\x65\x6E","\x6E\x6F\x77","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x69\x64\x20\x44\x45\x53\x43","\x66\x69\x6E\x64\x4F\x6E\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x54\x41\x4C\x4B\x49\x4E\x47","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x70\x6C\x69\x74","\x2D","\x63\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x74\x65\x6E","\x64\x69\x61\x6C\x73\x74\x72\x69\x6E\x67","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x74\x79\x70\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x72\x65\x73\x6F\x6C\x76\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x64\x69\x61\x6C\x65\x6E\x64","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x73\x6F\x75\x72\x63\x65","\x50\x41\x55\x53\x45","\x72\x65\x61\x73\x6F\x6E","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65"];_0xa800[0];var BPromise=require(_0xa800[1]);var moment=require(_0xa800[2]);var ReportMember=require(_0xa800[4])[_0xa800[3]];var channels=[_0xa800[5],_0xa800[6],_0xa800[7],_0xa800[8],_0xa800[9],_0xa800[10]];var logger=require(_0xa800[12])(_0xa800[11]);module[_0xa800[13]]= function(){return {agentcomplete:function(_0x650ex6){return function(_0x650ex7){return ReportMember[_0xa800[24]]({where:{uniqueid:_0x650ex6[_0xa800[22]]},order:_0xa800[23]})[_0xa800[19]](function(_0x650ex9){if(_0x650ex9){return _0x650ex9[_0xa800[21]]({exitAt:_0x650ex6[_0xa800[20]]})}})[_0xa800[19]](function(){logger[_0xa800[18]](_0xa800[14],_0x650ex6[_0xa800[17]])})[_0xa800[16]](function(_0x650ex8){logger[_0xa800[15]](_0xa800[14],_0x650ex8)})}},agentconnect:function(_0x650ex6){return function(_0x650ex7){return ReportMember[_0xa800[37]]({channel:_0xa800[5],membername:_0x650ex6[_0xa800[17]],interface:_0x650ex6[_0xa800[26]],type:_0xa800[27],enterAt:_0x650ex6[_0xa800[20]],data1:_0xa800[28],data2:_0x650ex6[_0xa800[31]][_0xa800[29]](_0xa800[30])[0][_0xa800[29]](/\/|-/)[1]|| null,data3:_0x650ex6[_0xa800[32]],data4:_0x650ex6[_0xa800[33]]|| null,data5:_0x650ex6[_0xa800[34]],role:_0xa800[35],internal:_0x650ex6[_0xa800[36]],uniqueid:_0x650ex6[_0xa800[22]]})[_0xa800[19]](function(){logger[_0xa800[18]](_0xa800[25],_0x650ex6[_0xa800[17]])})[_0xa800[16]](function(_0x650ex8){logger[_0xa800[15]](_0xa800[25],_0x650ex8)})}},cdr:function(_0x650ex6){return function(_0x650ex7){if(_0x650ex6[_0xa800[38]]!== _0xa800[39]){return BPromise[_0xa800[40]]()};return ReportMember[_0xa800[37]]({channel:_0xa800[5],membername:_0x650ex6[_0xa800[31]][_0xa800[29]](/\/|-/)[1],interface:_0x650ex6[_0xa800[31]][_0xa800[29]](_0xa800[30])[0],type:_0xa800[27],duration:_0x650ex6[_0xa800[43]],enterAt:_0x650ex6[_0xa800[44]],exitAt:_0x650ex6[_0xa800[45]],data1:_0xa800[39],data2:_0x650ex6[_0xa800[46]],data3:_0x650ex6[_0xa800[47]][_0xa800[29]](/\/|-/)[1]|| null,role:_0xa800[35],internal:_0x650ex6[_0xa800[48]],uniqueid:_0x650ex6[_0xa800[22]]})[_0xa800[19]](function(){logger[_0xa800[18]](_0xa800[42],_0x650ex6[_0xa800[31]][_0xa800[29]](/\/|-/)[1])})[_0xa800[16]](function(_0x650ex8){logger[_0xa800[15]](_0xa800[41],_0x650ex8)})}},queuememberpause:function(_0x650ex6){return function(_0x650ex7){var _0x650exa=[];channels[_0xa800[52]](function(_0x650exb){_0x650exa[_0xa800[51]]({channel:_0x650exb,membername:_0x650ex6[_0xa800[17]],interface:_0x650ex6[_0xa800[26]],type:_0xa800[49],enterAt:_0x650ex6[_0xa800[20]],data1:_0x650ex6[_0xa800[50]],data4:_0x650ex6[_0xa800[50]],role:_0xa800[35]})});return ReportMember[_0xa800[54]](_0x650exa,{raw:true,individualHooks:true})[_0xa800[16]](function(_0x650ex8){logger[_0xa800[15]](_0xa800[53],_0x650ex8)})}}}}