1 var _0x4620=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72\x49\x64","\x45\x72\x72\x6F\x72\x3A","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\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","\x69\x64","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x73\x65\x72\x76\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67\x4D\x65\x73\x73\x61\x67\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x4620[0];var _=require(_0x4620[1]);var moment=require(_0x4620[2]);var ChatRoomModel=require(_0x4620[4])[_0x4620[3]];var ChatVisitorModel=require(_0x4620[4])[_0x4620[5]];var ReportChatSessionModel=require(_0x4620[4])[_0x4620[6]];var ReportChatRoomModel=require(_0x4620[4])[_0x4620[7]];function ChatRoom(){ChatRoomModel[_0x4620[27]](function(_0xac8bx8){if(_0xac8bx8[_0x4620[9]](_0x4620[8])&&_0xac8bx8[_0x4620[8]]===_0x4620[10]){if(_0xac8bx8[_0x4620[11]]){return ChatVisitorModel[_0x4620[24]](_0xac8bx8.ChatVisitorId)[_0x4620[20]](function(_0xac8bxa){if(_0xac8bxa){var _0xac8bxb=_[_0x4620[22]](_0xac8bxa,{status:_0x4620[21]});return _0xac8bxb[_0x4620[23]]()}})[_0x4620[20]](function(){return ReportChatRoomModel[_0x4620[19]]({complete:true,completeReason:_0xac8bx8[_0x4620[15]],completeAt:moment()[_0x4620[17]](_0x4620[16]),status:_0x4620[10]},{where:{roomid:_0xac8bx8[_0x4620[18]],complete:false},individualHooks:true})})[_0x4620[20]](function(){return ReportChatSessionModel[_0x4620[19]]({complete:true,completeReason:_0xac8bx8[_0x4620[15]],completeAt:moment()[_0x4620[17]](_0x4620[16])},{where:{roomid:_0xac8bx8[_0x4620[18]],complete:false,abandon:false,unmanaged:false},individualHooks:true})})[_0x4620[14]](function(_0xac8bx9){console[_0x4620[13]](_0x4620[12],_0xac8bx9)})}};if(_0xac8bx8[_0x4620[9]](_0x4620[25])){if(_0xac8bx8[_0x4620[18]]){return ReportChatRoomModel[_0x4620[19]]({crating:_0xac8bx8[_0x4620[25]],cratingMessage:_0xac8bx8[_0x4620[26]]},{where:{roomid:_0xac8bx8[_0x4620[18]]},individualHooks:true})[_0x4620[14]](function(_0xac8bx9){console[_0x4620[13]](_0x4620[12],_0xac8bx9)})}}})}module[_0x4620[28]]=ChatRoom