Built motion from commit 503e72f.|0.0.143
[motion.git] / server / config / chat.js
index 5e1df15..05f1780 100644 (file)
@@ -1 +1 @@
-var _0xa171=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x63\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x48\x41\x54\x20\x77\x65\x62\x73\x69\x74\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x72\x65\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x63\x6C\x6F\x73\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x3C","\x6E\x61\x6D\x65","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x65\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x3A\x20","\x20\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x20\x55\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];_0xa171[0];var ChatWebsite=require(_0xa171[2])[_0xa171[1]];var ChatRoom=require(_0xa171[2])[_0xa171[3]];var Website=require(_0xa171[4]);var ReportChat=require(_0xa171[2])[_0xa171[5]];var _=require(_0xa171[6]);var Util=require(_0xa171[7]);var chatwebsites;module[_0xa171[8]]= function(){return ChatWebsite[_0xa171[26]]()[_0xa171[25]](function(_0xee5bx9){console[_0xa171[12]](_0xa171[11]);chatwebsites= _0xee5bx9;synch(chatwebsites);ReportChat[_0xa171[20]](function(_0xee5bxa){var _0xee5bxb=_[_0xa171[14]](chatwebsites,{id:_0xee5bxa[_0xa171[13]]});if(_0xee5bxb&& _0xee5bxa[_0xa171[16]](_0xa171[15])){webhook(_0xee5bxa,_0xee5bxb,_0xa171[17])};if(_0xee5bxb&& _0xee5bxa[_0xa171[16]](_0xa171[18])){webhook(_0xee5bxa,_0xee5bxb,_0xa171[19])}});ChatRoom[_0xa171[20]](function(_0xee5bxa){var _0xee5bxb=_[_0xa171[14]](chatwebsites,{id:_0xee5bxa[_0xa171[21]]});if(_0xee5bxb&& _0xee5bxa[_0xa171[16]](_0xa171[22])&& _0xee5bxa[_0xa171[22]]=== _0xa171[23]){webhook(_0xee5bxa,_0xee5bxb,_0xa171[24])}})})[_0xa171[10]](function(_0xee5bx8){console[_0xa171[9]](_0xee5bx8)})};function webhook(_0xee5bxa,_0xee5bxb,_0xee5bxd){var _0xee5bxe=_0xee5bxb;switch(_0xee5bxd){case _0xa171[17]:if(_0xee5bxe[_0xa171[27]]&& _0xee5bxe[_0xa171[28]]){console[_0xa171[12]](_0xa171[29]+ _0xee5bxe[_0xa171[30]]+ _0xa171[31]);execRequest(_0xee5bxa[_0xa171[32]],_0xee5bxe[_0xa171[27]],_0xee5bxe[_0xa171[28]])};if(_0xee5bxe[_0xa171[34]][_0xa171[33]]){_[_0xa171[37]](_0xee5bxe[_0xa171[34]],function(_0xee5bxf){if(_0xee5bxf[_0xa171[35]]){Util[_0xa171[36]](_0xee5bxf,_0xee5bxa)}})};break;case _0xa171[19]:if(_0xee5bxe[_0xa171[38]]&& _0xee5bxe[_0xa171[39]]){console[_0xa171[12]](_0xa171[29]+ _0xee5bxe[_0xa171[30]]+ _0xa171[40]);execRequest(_0xee5bxa[_0xa171[32]],_0xee5bxe[_0xa171[38]],_0xee5bxe[_0xa171[39]])};break;case _0xa171[24]:if(_0xee5bxe[_0xa171[41]]&& _0xee5bxe[_0xa171[42]]){console[_0xa171[12]](_0xa171[29]+ _0xee5bxe[_0xa171[30]]+ _0xa171[43]);execRequest(_0xee5bxa[_0xa171[32]],_0xee5bxe[_0xa171[41]],_0xee5bxe[_0xa171[42]])};break;default:console[_0xa171[12]](_0xa171[44])}}function execRequest(_0xee5bxa,_0xee5bx11,_0xee5bx12){Util[_0xa171[47]](_0xee5bxa,_0xee5bx11,_0xee5bx12)[_0xa171[25]](function(_0xee5bx13){console[_0xa171[12]](_0xa171[46])})[_0xa171[10]](function(_0xee5bx8){console[_0xa171[12]](_0xa171[45])})}function synch(chatwebsites){ChatWebsite[_0xa171[51]](function(_0xee5bxa){console[_0xa171[12]](_0xa171[48]+ _0xee5bxa[_0xa171[30]]+ _0xa171[49]);chatwebsites[_0xa171[50]](_0xee5bxa)});ChatWebsite[_0xa171[20]](function(_0xee5bxa){var _0xee5bx15=_[_0xa171[14]](chatwebsites,{id:_0xee5bxa[_0xa171[52]]});if(_0xee5bx15){console[_0xa171[12]](_0xa171[48]+ _0xee5bx15[_0xa171[30]]+ _0xa171[53]);_[_0xa171[54]](_0xee5bx15,_0xee5bxa)}else {chatwebsites[_0xa171[55]](_0xee5bxa)}});ChatWebsite[_0xa171[57]](function(_0xee5bxa){_[_0xa171[56]](chatwebsites,{id:_0xee5bxa[_0xa171[52]]})})}
\ No newline at end of file
+var _0x24a3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x63\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x48\x41\x54\x20\x77\x65\x62\x73\x69\x74\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x72\x65\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x63\x6C\x6F\x73\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x3C","\x6E\x61\x6D\x65","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x65\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x43\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x3A\x20","\x20\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x20\x55\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];_0x24a3[0];var ChatWebsite=require(_0x24a3[2])[_0x24a3[1]];var ChatRoom=require(_0x24a3[2])[_0x24a3[3]];var Website=require(_0x24a3[4]);var ReportChat=require(_0x24a3[2])[_0x24a3[5]];var _=require(_0x24a3[6]);var Util=require(_0x24a3[7]);var chatwebsites;module[_0x24a3[8]]= function(){return ChatWebsite[_0x24a3[26]]()[_0x24a3[25]](function(_0xd6c3x9){console[_0x24a3[12]](_0x24a3[11]);chatwebsites= _0xd6c3x9;synch(chatwebsites);ReportChat[_0x24a3[20]](function(_0xd6c3xa){var _0xd6c3xb=_[_0x24a3[14]](chatwebsites,{id:_0xd6c3xa[_0x24a3[13]]});if(_0xd6c3xb&& _0xd6c3xa[_0x24a3[16]](_0x24a3[15])){webhook(_0xd6c3xa,_0xd6c3xb,_0x24a3[17])};if(_0xd6c3xb&& _0xd6c3xa[_0x24a3[16]](_0x24a3[18])){webhook(_0xd6c3xa,_0xd6c3xb,_0x24a3[19])}});ChatRoom[_0x24a3[20]](function(_0xd6c3xa){var _0xd6c3xb=_[_0x24a3[14]](chatwebsites,{id:_0xd6c3xa[_0x24a3[21]]});if(_0xd6c3xb&& _0xd6c3xa[_0x24a3[16]](_0x24a3[22])&& _0xd6c3xa[_0x24a3[22]]=== _0x24a3[23]){webhook(_0xd6c3xa,_0xd6c3xb,_0x24a3[24])}})})[_0x24a3[10]](function(_0xd6c3x8){console[_0x24a3[9]](_0xd6c3x8)})};function webhook(_0xd6c3xa,_0xd6c3xb,_0xd6c3xd){var _0xd6c3xe=_0xd6c3xb;switch(_0xd6c3xd){case _0x24a3[17]:if(_0xd6c3xe[_0x24a3[27]]&& _0xd6c3xe[_0x24a3[28]]){console[_0x24a3[12]](_0x24a3[29]+ _0xd6c3xe[_0x24a3[30]]+ _0x24a3[31]);execRequest(_0xd6c3xa[_0x24a3[32]],_0xd6c3xe[_0x24a3[27]],_0xd6c3xe[_0x24a3[28]])};if(_0xd6c3xe[_0x24a3[34]][_0x24a3[33]]){_[_0x24a3[37]](_0xd6c3xe[_0x24a3[34]],function(_0xd6c3xf){if(_0xd6c3xf[_0x24a3[35]]){Util[_0x24a3[36]](_0xd6c3xf,_0xd6c3xa)}})};break;case _0x24a3[19]:if(_0xd6c3xe[_0x24a3[38]]&& _0xd6c3xe[_0x24a3[39]]){console[_0x24a3[12]](_0x24a3[29]+ _0xd6c3xe[_0x24a3[30]]+ _0x24a3[40]);execRequest(_0xd6c3xa[_0x24a3[32]],_0xd6c3xe[_0x24a3[38]],_0xd6c3xe[_0x24a3[39]])};break;case _0x24a3[24]:if(_0xd6c3xe[_0x24a3[41]]&& _0xd6c3xe[_0x24a3[42]]){console[_0x24a3[12]](_0x24a3[29]+ _0xd6c3xe[_0x24a3[30]]+ _0x24a3[43]);execRequest(_0xd6c3xa[_0x24a3[32]],_0xd6c3xe[_0x24a3[41]],_0xd6c3xe[_0x24a3[42]])};break;default:console[_0x24a3[12]](_0x24a3[44])}}function execRequest(_0xd6c3xa,_0xd6c3x11,_0xd6c3x12){Util[_0x24a3[47]](_0xd6c3xa,_0xd6c3x11,_0xd6c3x12)[_0x24a3[25]](function(_0xd6c3x13){console[_0x24a3[12]](_0x24a3[46])})[_0x24a3[10]](function(_0xd6c3x8){console[_0x24a3[12]](_0x24a3[45])})}function synch(chatwebsites){ChatWebsite[_0x24a3[51]](function(_0xd6c3xa){console[_0x24a3[12]](_0x24a3[48]+ _0xd6c3xa[_0x24a3[30]]+ _0x24a3[49]);chatwebsites[_0x24a3[50]](_0xd6c3xa)});ChatWebsite[_0x24a3[20]](function(_0xd6c3xa){var _0xd6c3x15=_[_0x24a3[14]](chatwebsites,{id:_0xd6c3xa[_0x24a3[52]]});if(_0xd6c3x15){console[_0x24a3[12]](_0x24a3[48]+ _0xd6c3x15[_0x24a3[30]]+ _0x24a3[53]);_[_0x24a3[54]](_0xd6c3x15,_0xd6c3xa)}else {chatwebsites[_0x24a3[55]](_0xd6c3xa)}});ChatWebsite[_0x24a3[57]](function(_0xd6c3xa){_[_0x24a3[56]](chatwebsites,{id:_0xd6c3xa[_0x24a3[52]]})})}
\ No newline at end of file