1 var _0x927a=["\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"];_0x927a[0];var chat_message=require(_0x927a[2])[_0x927a[1]];var _=require(_0x927a[3]);exports[_0x927a[4]]=function(_0xdd0ex3){chat_message[_0x927a[5]](function(_0xdd0ex4){onSave(_0xdd0ex3,_0xdd0ex4)});chat_message[_0x927a[6]](function(_0xdd0ex4){onSave(_0xdd0ex3,_0xdd0ex4)});chat_message[_0x927a[7]](function(_0xdd0ex4){onRemove(_0xdd0ex3,_0xdd0ex4)})};function onSave(_0xdd0ex3,_0xdd0ex4,_0xdd0ex6){return _0xdd0ex4[_0x927a[28]]()[_0x927a[27]](function(_0xdd0exc){return [_0xdd0exc[_0x927a[25]]({attributes:[_0x927a[13],_0x927a[20],_0x927a[21],_0x927a[22],_0x927a[23],_0x927a[24]],raw:true}),_0xdd0exc[_0x927a[26]]({attributes:[_0x927a[13],_0x927a[21],_0x927a[22]],raw:true})]})[_0x927a[19]](function(_0xdd0ex8,_0xdd0ex9){var _0xdd0exa=_[_0x927a[11]](_0xdd0ex8,{id:_0xdd0ex4[_0x927a[10]]});_0xdd0ex8[_0x927a[18]](function(_0xdd0exb){if(_0xdd0ex3[_0x927a[12]]==_0xdd0exb[_0x927a[13]]&&(_0xdd0exa||_0xdd0ex9)){_0xdd0ex3[_0x927a[17]](_0x927a[14],_[_0x927a[16]](_0xdd0ex4[_0x927a[15]],{User:_0xdd0exa,ChatVisitor:_0xdd0ex9}))}})})[_0x927a[9]](function(_0xdd0ex7){console[_0x927a[8]](_0xdd0ex7)})}function onRemove(_0xdd0ex3,_0xdd0ex4,_0xdd0ex6){_0xdd0ex3[_0x927a[17]](_0x927a[29],_0xdd0ex4)}