-var _0x9aef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9aef[0];var chat_message=require(_0x9aef[2])[_0x9aef[1]];var _=require(_0x9aef[3]);exports[_0x9aef[4]]=function(_0x38d7x3){chat_message[_0x9aef[5]](function(_0x38d7x4){onSave(_0x38d7x3,_0x38d7x4)});chat_message[_0x9aef[6]](function(_0x38d7x4){onSave(_0x38d7x3,_0x38d7x4)});chat_message[_0x9aef[7]](function(_0x38d7x4){onRemove(_0x38d7x3,_0x38d7x4)})};function onSave(_0x38d7x3,_0x38d7x4,_0x38d7x6){return _0x38d7x4[_0x9aef[28]]()[_0x9aef[27]](function(_0x38d7xc){return [_0x38d7xc[_0x9aef[25]]({attributes:[_0x9aef[13],_0x9aef[20],_0x9aef[21],_0x9aef[22],_0x9aef[23],_0x9aef[24]],raw:true}),_0x38d7xc[_0x9aef[26]]({attributes:[_0x9aef[13],_0x9aef[21],_0x9aef[22]],raw:true})]})[_0x9aef[19]](function(_0x38d7x8,_0x38d7x9){var _0x38d7xa=_[_0x9aef[11]](_0x38d7x8,{id:_0x38d7x4[_0x9aef[10]]});_0x38d7x8[_0x9aef[18]](function(_0x38d7xb){if(_0x38d7x3[_0x9aef[12]]==_0x38d7xb[_0x9aef[13]]&&(_0x38d7xa||_0x38d7x9)){_0x38d7x3[_0x9aef[17]](_0x9aef[14],_[_0x9aef[16]](_0x38d7x4[_0x9aef[15]],{User:_0x38d7xa,ChatVisitor:_0x38d7x9}))}})})[_0x9aef[9]](function(_0x38d7x7){console[_0x9aef[8]](_0x38d7x7)})}function onRemove(_0x38d7x3,_0x38d7x4,_0x38d7x6){_0x38d7x3[_0x9aef[17]](_0x9aef[29],_0x38d7x4)}
\ No newline at end of file
+var _0x5fe2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x75\x73\x65\x72\x70\x69\x63","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x5fe2[0];const _=require(_0x5fe2[1]);const ChatMessage=require(_0x5fe2[3])[_0x5fe2[2]];const ChatMessageEvents=require(_0x5fe2[4]);var events=[_0x5fe2[5],_0x5fe2[6]];exports[_0x5fe2[7]]= function(_0xa1e4x5){for(var _0xa1e4x6=0,_0xa1e4x7=events[_0x5fe2[8]];_0xa1e4x6< _0xa1e4x7;_0xa1e4x6++){var _0xa1e4x8=events[_0xa1e4x6];var _0xa1e4x9=createListener(_0x5fe2[9]+ _0xa1e4x8,_0xa1e4x5);ChatMessageEvents[_0x5fe2[10]](_0xa1e4x8,_0xa1e4x9);_0xa1e4x5[_0x5fe2[10]](_0x5fe2[11],removeListener(_0xa1e4x8,_0xa1e4x9))}};function createListener(_0xa1e4x8,_0xa1e4x5){return function(_0xa1e4xb){return _0xa1e4xb[_0x5fe2[32]]()[_0x5fe2[31]](function(_0xa1e4x11){return [_0xa1e4x11[_0x5fe2[29]]({attributes:[_0x5fe2[17],_0x5fe2[23],_0x5fe2[24],_0x5fe2[25],_0x5fe2[26],_0x5fe2[27],_0x5fe2[28]],raw:true}),_0xa1e4x11[_0x5fe2[30]]({attributes:[_0x5fe2[17],_0x5fe2[24],_0x5fe2[25]],raw:true})]})[_0x5fe2[22]](function(_0xa1e4xd,_0xa1e4xe){var _0xa1e4xf=_[_0x5fe2[15]](_0xa1e4xd,{id:_0xa1e4xb[_0x5fe2[14]]});_0xa1e4xd[_0x5fe2[21]](function(_0xa1e4x10){if(_0xa1e4x5[_0x5fe2[16]]== _0xa1e4x10[_0x5fe2[17]]&& (_0xa1e4xf|| _0xa1e4xe)){_0xa1e4x5[_0x5fe2[20]](_0xa1e4x8,_[_0x5fe2[19]](_0xa1e4xb[_0x5fe2[18]],{User:_0xa1e4xf,ChatVisitor:_0xa1e4xf?null:_0xa1e4xe}))}})})[_0x5fe2[13]](function(_0xa1e4xc){console[_0x5fe2[12]](_0xa1e4xc)})}}function removeListener(_0xa1e4x8,_0xa1e4x9){return function(){ChatMessageEvents[_0x5fe2[33]](_0xa1e4x8,_0xa1e4x9)}}
\ No newline at end of file