(function(_0x4dc1c9,_0xa3e1f1){
function _0x4dd913(_0x415104,_0x1a641c,_0x4744e6,_0x5a15e4,_0x5d233e){
return _0x1057(_0x5a15e4- -0x3c1,_0x5d233e);
}
const _0x3071dc=_0x4dc1c9();
function _0x187b48(_0x4b1179,_0x5cba85,_0x111c62,_0x318d6b,_0x3341a9){
return _0x1057(_0x3341a9-0x169,_0x5cba85);
}
while(!![]){
try{
const _0xfaf9b8=parseInt(_0x187b48(0x3f5,0x476,0x449,0x4d5,0x446))/0x1*(parseInt(_0x187b48(0x3e8,0x40f,0x471,0x3af,0x3f4))/0x2)+-parseInt(_0x187b48(0x42c,0x37b,0x471,0x34a,0x3f3))/0x3*(-parseInt(_0x4dd913(-0x114,-0x169,-0x1cf,-0x1a1,-0x117))/0x4)+-parseInt(_0x187b48(0x362,0x3a5,0x38d,0x2c5,0x30c))/0x5+-parseInt(_0x4dd913(-0x212,-0x179,-0x1be,-0x183,-0x146))/0x6*(-parseInt(_0x187b48(0x42c,0x380,0x4c4,0x4a4,0x3ff))/0x7)+parseInt(_0x187b48(0x233,0x2fc,0x25d,0x2b5,0x2f0))/0x8+-parseInt(_0x187b48(0x297,0x2cc,0x303,0x314,0x351))/0x9+parseInt(_0x187b48(0x3da,0x281,0x3e7,0x3de,0x32c))/0xa;
if(_0xfaf9b8===_0xa3e1f1)break;
else _0x3071dc['push'](_0x3071dc['shift']());
}
catch(_0x315683){
_0x3071dc['push'](_0x3071dc['shift']());
}
}
}
(_0x1387,0xd6ad0));
const _0x531dbc=(function(){
let _0x38d58c=!![];
return function(_0x5a4864,_0x266d30){
const _0x332455=_0x38d58c?function(){
function _0x4377ee(_0x2d86d1,_0x48ed70,_0x335ccb,_0xdf215b,_0x534490){
return _0x1057(_0x335ccb- -0x113,_0xdf215b);
}
if(_0x266d30){
const _0xa9d3a6=_0x266d30[_0x4377ee(0x148,0x98,0x109,0x140,0x113)](_0x5a4864,arguments);
return _0x266d30=null,_0xa9d3a6;
}
}
:function(){
};
return _0x38d58c=![],_0x332455;
};
}
()),_0x35b5cb=_0x531dbc(this,function(){
function _0x1ddbc5(_0x1a649c,_0x761fa7,_0x50e85d,_0x30a744,_0x3fef56){
return _0x1057(_0x761fa7-0x297,_0x3fef56);
}
function _0x3667ce(_0x453600,_0xe0eede,_0x11166e,_0x391e34,_0x360abc){
return _0x1057(_0x453600- -0x1e9,_0x11166e);
}
return _0x35b5cb[_0x3667ce(-0x87,-0x12f,-0x49,-0xef,-0x135)]()[_0x3667ce(-0x12,-0xb4,-0x27,-0x6e,0xb1)](_0x3667ce(0x17,0x88,0x81,-0x13,-0x41)+'+$')[_0x3667ce(-0x87,-0x11c,-0x4,-0xb4,-0x3f)]()[_0x1ddbc5(0x54f,0x500,0x5c8,0x524,0x56b)+'r'](_0x35b5cb)[_0x3667ce(-0x12,0x3,-0x9d,0x55,-0x35)](_0x3667ce(0x17,0x17,0xd2,0x78,0x8b)+'+$');
}
);
_0x35b5cb();
const _0x5c06c4=(function(){
let _0x5cad9f=!![];
return function(_0x44e34f,_0x12c476){
function _0x1a7edf(_0x2e3e71,_0x186f40,_0x2575ed,_0x57ae34,_0x33529d){
return _0x1057(_0x2e3e71- -0x286,_0x57ae34);
}
function _0x1d0858(_0x50ab60,_0x4df8eb,_0x5d9740,_0xc8f38d,_0x1eb8f7){
return _0x1057(_0x50ab60- -0x195,_0x1eb8f7);
}
if('wBPbl'===_0x1d0858(-0x4,0x5,-0x18,-0x7e,0x73)){
const _0xfec24c=_0x5cad9f?function(){
if(_0x12c476){
const _0x3a65c8=_0x12c476['apply'](_0x44e34f,arguments);
return _0x12c476=null,_0x3a65c8;
}
}
:function(){
};
return _0x5cad9f=![],_0xfec24c;
}
else _0x3f1428['code']!==_0x1d0858(0xff,0x17d,0x122,0xf9,0xfc)&&_0x28a7d8['error'](_0x1a7edf(-0x77,-0x6d,-0x11a,-0x2f,-0x123)+_0x1d0858(0x9b,0xd8,0x4f,0xbd,0x3)+' for '+_0x2a4638['name']+' ('+_0x548ade[_0x1d0858(0x9c,0x42,0xe0,0xdc,0x143)]+'):',_0x2a5ae5[_0x1d0858(0x81,0xfd,0xa,0xdd,0xa8)]);
};
}
());
(function(){
_0x5c06c4(this,function(){
function _0x59c441(_0x2efdf2,_0x2e6dce,_0x45530a,_0x328605,_0x1bde84){
return _0x1057(_0x45530a- -0x39d,_0x1bde84);
}
const _0x3435e4=new RegExp(_0x459ef9(0x5c0,0x612,0x563,0x4fd,0x546)+_0x59c441(-0x176,-0x14b,-0x1f4,-0x193,-0x153)),_0x27cb6c=new RegExp(_0x459ef9(0x5f4,0x69b,0x621,0x56f,0x5c5)+_0x59c441(-0x1b2,-0x220,-0x19f,-0x240,-0x106)+_0x459ef9(0x473,0x4c1,0x446,0x430,0x48f)+'$]*)','i');
function _0x459ef9(_0x29da6d,_0x422c85,_0x55ac43,_0x2f5645,_0x166777){
return _0x1057(_0x29da6d-0x30f,_0x166777);
}
const _0x8b0b1a=_0xb7f71c(_0x459ef9(0x4f1,0x466,0x445,0x4fc,0x51f));
!_0x3435e4['test'](_0x8b0b1a+'chain')||!_0x27cb6c[_0x459ef9(0x53d,0x5f1,0x52d,0x542,0x592)](_0x8b0b1a+'input')?_0x8b0b1a('0'):_0xb7f71c();
}
)();
}
());
const express=require(_0x2f9205(0x2ee,0x197,0x17a,0x268,0x239)),passport=require(_0x3ef993(0x16a,0x12f,0xca,0x180,0x135)),session=require(_0x3ef993(0x3c,0x35,-0x1d,-0xb4,-0x9d)+'ssion'),{
Strategy
}
=require(_0x2f9205(0x23b,0x163,0x175,0x1cd,0x1d6)+_0x2f9205(0x196,0xe3,0x14f,0x211,0x17b)),Ticket=require(_0x2f9205(0x1e9,0x1a5,0x169,0x1c4,0x1cf)+_0x2f9205(0x8e,0x104,0x17d,0x173,0x154)),SystemAlert=require('./models/s'+'ystemAlert'),axios=require(_0x3ef993(0x68,-0x43,0x0,0x4e,0x9a)),cron=require(_0x2f9205(0x1e0,0x2b8,0x212,0x200,0x224)),crypto=require(_0x2f9205(0x177,0x1db,0x16f,0x144,0x15c)),yaml=require(_0x3ef993(0x127,0x12b,0x92,0x9c,0x14a)),fs=require('fs'),path=require(_0x3ef993(0x12c,-0x4,0xa4,0xe4,0x146)),client=require(_0x2f9205(0xac,0xcb,0x10f,0xd7,0x15b)),{
WebhookClient,ChannelType,PermissionFlagsBits,EmbedBuilder
}
=require(_0x3ef993(-0xa8,-0x50,-0x3b,-0x49,-0xf8)),url=require(_0x3ef993(0x86,0xe0,0xde,0x7d,0xbf)),configPath=path[_0x3ef993(-0xa1,-0x38,-0x45,-0x5b,-0xa5)](__dirname,'./config.y'+'ml'),config=yaml[_0x2f9205(0x12e,0x67,0xc3,0x6b,0x109)](fs[_0x2f9205(0x147,0x14b,0x132,0x6c,0xe1)+'nc'](configPath,_0x3ef993(-0x1e,0xae,0x8,0x44,-0x9c))),app=express();
if(config[_0x3ef993(-0x3c,0x37,0x76,0xc4,0x1a)]&&config['Dashboard'][_0x3ef993(0xf6,0x12d,0x70,0x8e,-0x57)]){
const sessionSecret=crypto[_0x2f9205(0xd9,0xe4,0x1b3,0xef,0x163)+'s'](0x20)[_0x2f9205(0x1a0,0xcb,0x167,0x73,0xd8)]('hex'),clientID=config[_0x3ef993(0x12d,0xb0,0x76,0xcb,0x127)][_0x2f9205(0x112,0x17e,0x1b7,0x1c8,0x12a)],clientSecret=config['Dashboard'][_0x3ef993(0x142,0x93,0xfb,0xe8,0xee)+'et'],callbackURL=config['Dashboard'][_0x3ef993(0xe0,-0x54,0x6f,0xff,0x53)+'L'];
passport[_0x3ef993(0x12d,0x8c,0x105,0xc1,0x105)+'ser']((_0x583ed5,_0x4d45b3)=>_0x4d45b3(null,_0x583ed5)),passport[_0x3ef993(-0x80,-0x98,-0x73,-0x7d,-0x18)+_0x2f9205(0x192,0x234,0x1ca,0x1ec,0x1c9)]((_0xfdc724,_0x44220f)=>_0x44220f(null,_0xfdc724));
const _0x3eb122={
};
_0x3eb122[_0x3ef993(0x23,-0x1d,0x1b,0x9a,-0x55)]=clientID,_0x3eb122[_0x3ef993(-0x134,-0x3d,-0x76,-0xc1,0x15)+'et']=clientSecret,_0x3eb122[_0x2f9205(0x235,0x1be,0x21f,0x22b,0x242)+'L']=callbackURL,_0x3eb122[_0x2f9205(0x18b,0x1f,0xa2,0xe9,0xd6)]=['identify',_0x3ef993(0x49,-0x15,0x34,0x3e,0x10)],passport[_0x3ef993(0x12f,0x128,0xa6,0x63,0x8d)](new Strategy(_0x3eb122,(_0x1e94ed,_0x39fef2,_0xd7cef5,_0x4c7c2b)=>{
function _0xfee38c(_0x387d18,_0x5e890e,_0x122f48,_0x24e174,_0x358b7c){
return _0x3ef993(_0x387d18-0x6c,_0x358b7c,_0x387d18-0x32a,_0x24e174-0x134,_0x358b7c-0x30);
}
process[_0xfee38c(0x373,0x3ca,0x414,0x3a4,0x3f6)](()=>_0x4c7c2b(null,_0xd7cef5));
}
));
const _0x5d570e={
};
_0x5d570e['httpOnly']=!![],_0x5d570e[_0x2f9205(0x167,0x258,0x21b,0x2c4,0x22d)]=process['env'][_0x2f9205(0x171,0x188,0x224,0x2eb,0x223)]===_0x3ef993(0xe7,0xf8,0xb1,0x127,0xc5);
const _0x31f10={
};
_0x31f10[_0x3ef993(0x9f,-0x6e,0x42,0xa1,0x3)]=sessionSecret,_0x31f10[_0x3ef993(-0x3f,0x8c,0x36,0x6d,-0x4a)]=![],_0x31f10[_0x2f9205(0x146,0x213,0x243,0x2a7,0x20b)+_0x2f9205(0x10d,0x176,0x10b,0x1ff,0x19e)]=![],_0x31f10['cookie']=_0x5d570e,app[_0x2f9205(0x296,0x173,0x1fd,0x251,0x1f8)](session(_0x31f10)),app['use'](passport[_0x3ef993(-0x13,0xdc,0x2e,0xe7,-0x37)]()),app['use'](passport[_0x3ef993(0x4a,0x124,0xa9,0x163,0x42)]());
const _0x3cd003={
};
_0x3cd003[_0x2f9205(0x203,0x281,0x282,0x1f6,0x1fc)]=!![],app['use'](express['urlencoded'](_0x3cd003)),app[_0x3ef993(0x172,0x86,0xb4,0x2c,0xb0)]('view engin'+'e',_0x3ef993(-0x38,0x11c,0x7f,0x9c,0x13f)),app[_0x2f9205(0x23e,0x25a,0x142,0x169,0x206)](_0x2f9205(0x1f7,0x1d5,0x1e4,0x152,0x1a3),path[_0x2f9205(0x12d,0xe4,0x14d,0x81,0x10d)](__dirname,'views'));
function ensureAuthenticated(_0x514389,_0x9ec9a7,_0x365161){
if(_0x514389[_0x3f66cb(0x4f0,0x5a7,0x47c,0x4f2,0x4df)+_0x3f66cb(0x540,0x53e,0x58e,0x596,0x605)]())return _0x365161();
function _0x2c80fd(_0x2915e7,_0x311d9b,_0x19e3ee,_0x4b5cb7,_0xd0aac3){
return _0x3ef993(_0x2915e7-0xcc,_0x4b5cb7,_0x311d9b- -0x95,_0x4b5cb7-0x65,_0xd0aac3-0x1b6);
}
function _0x3f66cb(_0x111dc3,_0x2144cc,_0x19f2af,_0x302df8,_0x109751){
return _0x3ef993(_0x111dc3-0x63,_0x19f2af,_0x109751-0x4fd,_0x302df8-0x4a,_0x109751-0x24);
}
const _0x46f4dc=encodeURIComponent(_0x514389[_0x3f66cb(0x405,0x424,0x457,0x533,0x494)+'l']);
_0x9ec9a7[_0x2c80fd(-0xd6,-0x2c,0x81,-0xd9,0x8)](_0x3f66cb(0x534,0x56e,0x539,0x64d,0x592)+_0x2c80fd(-0xb9,-0x3a,-0x1f,-0x9c,-0x74)+_0x3f66cb(0x40b,0x573,0x572,0x569,0x4cb)+_0x46f4dc);
}
app['get'](_0x2f9205(0x205,0x142,0x1ac,0x1f9,0x1e7)+_0x3ef993(0x94,0x96,0x1,0x70,0xbc),(_0x2b42bd,_0x21adb8,_0x83ad97)=>{
function _0x2db106(_0x1f6db2,_0x1e4f19,_0x33a3ec,_0x14b4b1,_0x51ab50){
return _0x3ef993(_0x1f6db2-0xe3,_0x51ab50,_0x1e4f19-0x46,_0x14b4b1-0xc7,_0x51ab50-0x1d1);
}
const _0x4426ac=_0x2b42bd[_0x2db106(0x136,0x89,0xe1,0x10c,0xea)]['redirect']?_0x2d9d15(0x428,0x450,0x419,0x513,0x3d1)+_0x2b42bd[_0x2db106(0xce,0x89,-0x37,0x132,0x6c)][_0x2d9d15(0x379,0x422,0x473,0x478,0x3f6)]:'',_0x6d2bd2={
};
_0x6d2bd2[_0x2db106(0x12e,0xbe,0x44,0x4f,0xc8)]=_0x4426ac;
function _0x2d9d15(_0x2c3f20,_0x2ea178,_0x342235,_0x5b4a14,_0x17c5ce){
return _0x3ef993(_0x2c3f20-0x146,_0x17c5ce,_0x2ea178-0x3b9,_0x5b4a14-0xd5,_0x17c5ce-0x37);
}
passport['authentica'+'te']('discord',_0x6d2bd2)(_0x2b42bd,_0x21adb8,_0x83ad97);
}
),app[_0x2f9205(0x24a,0x170,0x1a7,0x299,0x207)](_0x2f9205(0x21c,0x162,0x1b1,0x188,0x1e7)+_0x3ef993(-0x8c,-0x9a,-0x4a,-0xa2,-0x6c)+'ck',(_0x4249ae,_0x158da5,_0x185bf1)=>{
function _0xf6e606(_0x2269f6,_0x1b02ff,_0x4db328,_0x3dfa75,_0x346140){
return _0x3ef993(_0x2269f6-0xa2,_0x4db328,_0x1b02ff-0x29e,_0x3dfa75-0x157,_0x346140-0x1ce);
}
passport['authentica'+'te'](_0xf6e606(0x3d7,0x3a9,0x468,0x377,0x3c2),(_0x12b787,_0x205b84,_0x2221c9)=>{
function _0xe982d(_0xcba143,_0x5b0623,_0x5da6cf,_0x13e203,_0x18c625){
return _0xf6e606(_0xcba143-0x142,_0x18c625-0x2d0,_0x5b0623,_0x13e203-0xbf,_0x18c625-0x43);
}
if(_0x12b787||!_0x205b84){
if(_0x1be1c4(-0xbc,-0x15d,-0xc2,-0xd6,-0xde)!=='zOBMY')try{
const _0x195202=new _0x4a1790(_0x3bda8a);
(_0x195202['protocol']==='http:'||_0x195202[_0xe982d(0x609,0x6f0,0x64c,0x6ac,0x66a)]===_0xe982d(0x62d,0x575,0x59e,0x5f8,0x5b3))&&(_0x5861a3=!![]);
}
catch(_0x559f94){
}
else return console[_0xe982d(0x577,0x5b1,0x5c9,0x49a,0x522)](_0xe982d(0x5b7,0x59b,0x6b9,0x558,0x5fe)+_0xe982d(0x559,0x521,0x481,0x500,0x536)+':',_0x12b787||_0x2221c9),_0x158da5[_0xe982d(0x63a,0x573,0x52f,0x53c,0x5d7)](_0xe982d(0x566,0x651,0x667,0x60d,0x603)+_0x1be1c4(-0x237,-0x1d7,-0x143,-0x1aa,-0x296));
}
function _0x1be1c4(_0x440425,_0x221f20,_0xf63a07,_0x262e26,_0x180854){
return _0xf6e606(_0x440425-0x4,_0x221f20- -0x476,_0xf63a07,_0x262e26-0x19,_0x180854-0x113);
}
_0x4249ae[_0xe982d(0x4d6,0x46d,0x515,0x565,0x518)](_0x205b84,_0x44fe67=>{
if(_0x44fe67)return console[_0x4070a4(-0x1bf,-0x221,-0x1e1,-0x287,-0x160)](_0x4070a4(-0xcb,-0x118,-0xf7,-0x15f,-0x104)+'r:',_0x44fe67),_0x158da5[_0x135a7e(-0x175,-0x247,-0x193,-0x134,-0x1b8)]('/');
const _0x430e42=_0x4249ae[_0x135a7e(-0x16e,-0x106,-0x1b9,-0x192,-0x20a)][_0x4070a4(-0x1c6,-0x139,-0x11d,-0xcb,-0x156)];
let _0x471dcc='/';
_0x430e42&&_0x430e42[_0x4070a4(-0x1ff,-0x1f3,-0x1f4,-0x203,-0x17c)](_0x135a7e(-0xa3,-0x1ba,-0x165,-0x178,-0x222))&&(_0x471dcc=decodeURIComponent(_0x430e42[_0x4070a4(-0x133,-0x189,-0xf2,-0x53,-0x145)](':')[0x1]));
function _0x135a7e(_0x19be17,_0x5224dd,_0x5f1959,_0x3d90f1,_0x590c9a){
return _0x1be1c4(_0x19be17-0x35,_0x5f1959- -0x24,_0x19be17,_0x3d90f1-0x3f,_0x590c9a-0x12e);
}
function _0x4070a4(_0x2aa096,_0x5b02d1,_0x17ea9e,_0x31d84d,_0x5d950b){
return _0x1be1c4(_0x2aa096-0x1f3,_0x17ea9e-0x43,_0x5b02d1,_0x31d84d-0x1f0,_0x5d950b-0x106);
}
_0x158da5['redirect'](_0x471dcc);
}
);
}
)(_0x4249ae,_0x158da5,_0x185bf1);
}
),app['get'](_0x3ef993(0xb1,0x103,0x56,-0x5c,0x2b),(_0x4bd0de,_0x2807e3)=>{
function _0x22724d(_0x56d982,_0x3607e6,_0x6cbd7,_0x243039,_0x29ab7d){
return _0x2f9205(_0x56d982-0x18f,_0x29ab7d,_0x6cbd7-0x158,_0x243039-0x199,_0x243039-0x1f4);
}
_0x4bd0de[_0x22724d(0x37d,0x3aa,0x3e2,0x364,0x369)](()=>{
function _0x30a92f(_0x52755b,_0x48847f,_0x584817,_0x29cea7,_0x44172f){
return _0x22724d(_0x52755b-0x1cf,_0x48847f-0xa9,_0x584817-0x14a,_0x44172f- -0x5a,_0x29cea7);
}
_0x2807e3[_0x30a92f(0x400,0x384,0x413,0x33e,0x355)]('/');
}
);
}
),app[_0x3ef993(0x13a,0xe2,0xb5,0x179,0x6)]('/',ensureAuthenticated,(_0x2c7de7,_0x17c67c)=>{
const _0x2ad41d={
};
function _0x2173f3(_0x5d9b3d,_0x374751,_0x39228f,_0x50b5cd,_0x32ff20){
return _0x3ef993(_0x5d9b3d-0x1b,_0x374751,_0x32ff20-0x2c1,_0x50b5cd-0x3a,_0x32ff20-0x8a);
}
_0x2ad41d['avatar']=_0x2c7de7[_0x520797(0x17,-0x60,-0x10b,-0x10b,-0x108)][_0x2173f3(0x2dc,0x397,0x2a3,0x253,0x2d1)]?_0x2173f3(0x2c8,0x389,0x3f1,0x3fb,0x342)+_0x520797(0x78,-0x3c,-0x97,0x52,-0x23)+_0x520797(-0x156,-0x139,-0x162,-0x192,-0x200)+_0x2173f3(0x2a3,0x2ed,0x1ea,0x230,0x253)+_0x2c7de7[_0x2173f3(0x2e1,0x2e1,0x29a,0x3e0,0x31d)]['id']+'/'+_0x2c7de7[_0x520797(0x5c,-0x60,-0x79,-0x65,-0x115)]['avatar']+'.png':_0x2173f3(0x387,0x3ff,0x3f4,0x30b,0x342)+_0x2173f3(0x323,0x3d1,0x339,0x36a,0x341)+_0x2173f3(0x245,0x220,0x20b,0x269,0x29c)+_0x520797(-0xdb,-0xdd,-0x17f,-0x144,-0x154)+_0x520797(-0xe2,-0x5f,0x5a,0x17,-0x96),_0x2ad41d[_0x2173f3(0x2e3,0x341,0x414,0x389,0x34f)]=_0x2c7de7['user'][_0x2173f3(0x319,0x3b9,0x363,0x279,0x314)]||_0x520797(0x4d,-0x6,-0xc7,0x93,-0xcd)+'er';
const _0x38e880=_0x2ad41d,_0x3419c0={
};
_0x3419c0[_0x2173f3(0x33d,0x3b3,0x2c3,0x284,0x31d)]=_0x38e880;
function _0x520797(_0x2eb3bd,_0x32bbdb,_0x3c3646,_0x3388e4,_0x279b7a){
return _0x3ef993(_0x2eb3bd-0x0,_0x2eb3bd,_0x32bbdb- -0xbc,_0x3388e4-0x1c9,_0x279b7a-0xab);
}
_0x17c67c[_0x520797(-0xdb,-0x13a,-0x83,-0x109,-0xa8)](_0x520797(-0xd0,-0xaf,-0x45,-0x115,-0x2e),_0x3419c0);
}
),app[_0x3ef993(0x145,0x177,0xb5,0x1,-0xa)](_0x2f9205(0x249,0x112,0x11e,0x181,0x1d8)+'gs',ensureAuthenticated,async(_0x3ec5b2,_0x2d0bd4)=>{
function _0x485c1c(_0x956f9,_0x5a16c9,_0x26d4b6,_0x25db60,_0x2daff7){
return _0x2f9205(_0x956f9-0x65,_0x2daff7,_0x26d4b6-0x119,_0x25db60-0x1da,_0x25db60-0xfc);
}
function _0x3c8b09(_0x3cacfe,_0x424799,_0x1a1627,_0x4d1058,_0x431a5e){
return _0x2f9205(_0x3cacfe-0xaa,_0x431a5e,_0x1a1627-0x3,_0x4d1058-0xc1,_0x4d1058- -0x85);
}
try{
const _0x4cd857=_0x3ec5b2['user']['id'],_0x216e8c={
};
_0x216e8c['avatar']=_0x3ec5b2[_0x485c1c(0x23b,0x273,0x1e2,0x2aa,0x26b)]['avatar']?'https://cd'+_0x485c1c(0x2ba,0x311,0x239,0x2ce,0x332)+_0x485c1c(0x17c,0x139,0x1c8,0x1d1,0x136)+'tars/'+_0x3ec5b2[_0x3c8b09(0x1d8,0x189,0x13e,0x129,0x11e)]['id']+'/'+_0x3ec5b2['user'][_0x3c8b09(0xc3,0xd4,0x123,0xdd,0xb1)]+_0x3c8b09(0x78,0xf9,0x82,0xf8,0x98):_0x485c1c(0x28d,0x20a,0x255,0x2cf,0x38f)+_0x485c1c(0x343,0x371,0x392,0x2ce,0x35e)+'pp.com/emb'+'ed/avatars'+_0x3c8b09(0x197,0x81,0x1c7,0x12a,0x1b6),_0x216e8c[_0x485c1c(0x2e6,0x2aa,0x222,0x2dc,0x2ab)]=_0x3ec5b2[_0x485c1c(0x1e7,0x2ca,0x352,0x2aa,0x36b)]['username']||_0x485c1c(0x3c1,0x3b0,0x2e4,0x304,0x2e7)+'er';
const _0x2755f0=_0x216e8c,_0x1ad922=await Ticket[_0x485c1c(0x2e2,0x2ff,0x2a5,0x26a,0x212)]({
}
),_0x5f32aa=await Promise[_0x3c8b09(0x11c,0x1d8,0x1cc,0x184,0x102)](_0x1ad922[_0x3c8b09(0x2d,0x8d,0xa8,0xcb,0x122)](async _0x8b23e3=>{
function _0x23f963(_0x6c74df,_0x495c69,_0x1a1bf3,_0x3e37c0,_0x238e35){
return _0x485c1c(_0x6c74df-0x42,_0x495c69-0x1ab,_0x1a1bf3-0xf2,_0x1a1bf3-0x373,_0x3e37c0);
}
let _0x3118de=_0x8b23e3['userId'];
try{
if(_0x8b23e3[_0x4385e4(-0x1c4,-0x1df,-0x13d,-0xe3,-0xcb)]){
const _0x13b0c9=await client[_0x23f963(0x530,0x603,0x58c,0x62d,0x585)][_0x23f963(0x583,0x5fb,0x60b,0x6cb,0x5ae)](_0x8b23e3[_0x23f963(0x688,0x67f,0x621,0x668,0x667)]);
_0x3118de=_0x13b0c9['tag'];
}
}
catch(_0x109e98){
_0x109e98[_0x23f963(0x66f,0x5ee,0x69d,0x739,0x75f)]===0x2717?console['log'](_0x23f963(0x67e,0x585,0x5bb,0x5a5,0x649)+_0x23f963(0x6f6,0x677,0x67c,0x5e7,0x6ff)+_0x8b23e3[_0x4385e4(-0xaa,-0x194,-0x13d,-0xf8,-0x185)]+(' not found'+)):console[_0x23f963(0x5c7,0x58c,0x575,0x608,0x53b)](_0x23f963(0x5c1,0x608,0x681,0x613,0x72d)+_0x4385e4(-0x183,-0x11b,-0x1cd,-0x20f,-0x112)+_0x23f963(0x71f,0x627,0x666,0x5af,0x6ef)+_0x8b23e3[_0x23f963(0x615,0x5b1,0x621,0x605,0x68f)],_0x109e98);
}
let _0x4443dd=_0x23f963(0x5b1,0x577,0x5b7,0x58a,0x5a6)+'s';
function _0x4385e4(_0x4bd73d,_0x2fa424,_0x4cb9b9,_0x5adcc6,_0x44b7db){
return _0x485c1c(_0x4bd73d-0x6c,_0x2fa424-0xbe,_0x4cb9b9-0x172,_0x4cb9b9- -0x3eb,_0x4bd73d);
}
return _0x8b23e3[_0x23f963(0x61c,0x5fb,0x587,0x645,0x61e)][_0x23f963(0x622,0x5eb,0x584,0x545,0x4d9)]>0x0&&(_0x4443dd=_0x8b23e3[_0x4385e4(-0x239,-0x209,-0x1d7,-0x192,-0x1d6)][_0x4385e4(-0x1a,-0xe3,-0x93,-0x8e,-0x3f)]((_0x2b581d,_0x3fcabb)=>new Date(_0x3fcabb[_0x23f963(0x654,0x69e,0x620,0x660,0x68c)])>new Date(_0x2b581d[_0x4385e4(-0x91,-0x14c,-0x13e,-0x10d,-0x9d)])?_0x3fcabb:_0x2b581d,_0x8b23e3['messages'][0x0])[_0x23f963(0x686,0x60b,0x620,0x62c,0x673)]),{
..._0x8b23e3['toObject'](),'requesterName':_0x3118de,'lastMessageDate':_0x4443dd
};
}
)),_0x13f826=[];
for(const _0x1cb182 of _0x5f32aa){
const _0x229fef=config[_0x485c1c(0x152,0x1de,0x16e,0x1d9,0x231)+'s'][_0x1cb182[_0x3c8b09(0x219,0x137,0x1c7,0x165,0x1ba)]];
if(!_0x229fef){
if(_0x485c1c(0x2ee,0x201,0x319,0x29e,0x30d)===_0x3c8b09(0x1c1,0x18c,0xa4,0x11d,0x15f)){
console[_0x3c8b09(0x25,0x53,0xf5,0x97,0xcc)](_0x485c1c(0x263,0x2a5,0x178,0x23e,0x2ed)+_0x3c8b09(0xe2,0x153,0x148,0x1a4,0x220)+_0x485c1c(0x358,0x348,0x2e3,0x2b3,0x2b1)+_0x3c8b09(0x1b6,0x155,0xdd,0xf0,0x104)+_0x1cb182[_0x3c8b09(0x18e,0xaf,0x1ba,0x165,0x18f)]);
continue;
}
else _0x226cd4[_0x3c8b09(0x36,0x47,0x77,0x97,0x76)]('Failed to '+_0x3c8b09(0x19e,0xe5,0x176,0x11a,0xc6)+_0x485c1c(0x385,0x337,0x288,0x31d,0x283)+_0x3c8b09(0x2d,0x5d,0x11,0x96,0x82)+_0x345472+_0x485c1c(0x388,0x342,0x247,0x2c7,0x268)+_0x2366ff[_0x3c8b09(0x1d8,0x12e,0x12f,0x13e,0xc7)],_0x55683c);
}
const _0x39120c=_0x229fef['SupportRol'+'e']||[];
if(!Array['isArray'](_0x39120c)){
if(_0x485c1c(0x3d5,0x371,0x2e1,0x31b,0x2cf)!==_0x485c1c(0x35c,0x3cf,0x3c6,0x31b,0x354)){
const _0xfb4796={
};
_0xfb4796['avatar']=_0x20d2b7[_0x485c1c(0x1ff,0x205,0x31d,0x2aa,0x340)][_0x485c1c(0x271,0x2ca,0x2b2,0x25e,0x21d)]?_0x3c8b09(0xab,0x129,0x199,0x14e,0x147)+'n.discorda'+_0x3c8b09(-0x8,0xf4,0x101,0x50,-0x54)+_0x485c1c(0x1c9,0x296,0x1e8,0x1e0,0x267)+_0x18606a[_0x485c1c(0x253,0x29c,0x313,0x2aa,0x2cd)]['id']+'/'+_0x458dcf[_0x485c1c(0x21f,0x2a6,0x259,0x2aa,0x285)][_0x3c8b09(0x124,0x176,0x52,0xdd,0x164)]+_0x485c1c(0x308,0x30d,0x2d6,0x279,0x216):_0x485c1c(0x32c,0x279,0x2df,0x2cf,0x2c1)+'n.discorda'+_0x3c8b09(0x3,0x159,0x82,0xa8,0x99)+_0x3c8b09(0x131,0x5e,0x3a,0xac,0x80)+_0x485c1c(0x33b,0x2b6,0x357,0x2ab,0x260),_0xfb4796[_0x485c1c(0x32b,0x2de,0x228,0x2dc,0x2cd)]=_0x349a5a[_0x3c8b09(0x7e,0x7e,0x85,0x129,0xf7)][_0x3c8b09(0x95,0x80,0x14a,0x120,0xf6)]||_0x485c1c(0x337,0x32d,0x330,0x304,0x28d)+'er';
const _0x477492=_0xfb4796,_0x38640b={
};
_0x38640b[_0x3c8b09(0x94,0x89,0x107,0x129,0x12f)]=_0x477492,_0x11e59f[_0x485c1c(0x137,0x152,0x199,0x1d0,0x1b6)](_0x485c1c(0x2c7,0x26c,0x246,0x25b,0x20a),_0x38640b);
}
else{
console[_0x485c1c(0x1c8,0x1a1,0x25e,0x218,0x1f6)](_0x3c8b09(0xa0,0x7d,0x104,0xc0,0x5)+'les for ti'+'cket type '+_0x1cb182[_0x3c8b09(0xe0,0xf2,0x20b,0x165,0xcb)]+(_0x485c1c(0x2dd,0x304,0x1ee,0x259,0x248)+_0x485c1c(0x2d0,0x234,0x214,0x22a,0x253)+'kipping ro'+_0x485c1c(0x2f4,0x273,0x1d3,0x232,0x253)));
continue;
}
}
let _0x4f547f=![],_0x33e046;
try{
const _0x515d89=await client[_0x3c8b09(0x184,0x18a,0x189,0x101,0x122)][_0x485c1c(0x35f,0x335,0x358,0x298,0x295)](_0x1cb182[_0x3c8b09(0x9a,0xb6,0xf6,0x13e,0x112)]);
_0x33e046=await _0x515d89[_0x485c1c(0x131,0x278,0x230,0x1df,0x1bd)][_0x485c1c(0x32a,0x264,0x1d0,0x298,0x2e4)](_0x4cd857),_0x4f547f=_0x39120c[_0x485c1c(0x1cf,0x2da,0x339,0x295,0x20f)](_0xb80f70=>_0x33e046['roles'][_0x3c8b09(0xe6,0x2e,0xe3,0xae,0xec)][_0x485c1c(0x35f,0x2eb,0x290,0x33d,0x3f9)](_0xb80f70));
}
catch(_0xe91444){
console[_0x485c1c(0x280,0x279,0x17b,0x218,0x185)](_0x3c8b09(0x130,0x1ae,0x218,0x18d,0x106)+_0x485c1c(0x28c,0x289,0x315,0x29b,0x29f)+_0x485c1c(0x31a,0x3cc,0x349,0x31d,0x283)+_0x3c8b09(0xfa,0xf9,-0x11,0x96,0xcc)+_0x4cd857+_0x3c8b09(0x15c,0x1ad,0xac,0x146,0xad)+_0x1cb182[_0x485c1c(0x2de,0x275,0x21e,0x2bf,0x292)],_0xe91444);
}
(_0x1cb182[_0x3c8b09(0x199,0xe7,0x178,0x12d,0x79)]===_0x4cd857||_0x4f547f||_0x1cb182[_0x485c1c(0x2ca,0x22b,0x2b8,0x255,0x303)+_0x3c8b09(-0x47,0x10b,-0x35,0x65,0xb4)]&&_0x1cb182[_0x485c1c(0x2e8,0x1fd,0x2d4,0x255,0x2e0)+_0x485c1c(0x19f,0x221,0x1f0,0x1e6,0x2ab)]['includes'](_0x4cd857))&&_0x13f826['push'](_0x1cb182);
}
const _0x3b2aff=[...new Set(_0x5f32aa[_0x3c8b09(0x29,0x1d,0x158,0xcb,0x6e)](_0x10f6e4=>_0x10f6e4[_0x485c1c(0x399,0x3ce,0x2ef,0x347,0x3fd)+'ame']))][_0x485c1c(0x3f3,0x356,0x380,0x35a,0x3d9)](_0x48c54f=>_0x48c54f),_0x3dc050={
};
_0x3dc050[_0x485c1c(0x1e7,0x31b,0x22c,0x2aa,0x2bf)]=_0x2755f0,_0x3dc050['tickets']=_0x13f826,_0x3dc050['owners']=_0x3b2aff,_0x2d0bd4['render']('ticketlogs',_0x3dc050);
}
catch(_0x128695){
console[_0x485c1c(0x19b,0x1ed,0x2bc,0x202,0x26f)](_0x485c1c(0x33b,0x37a,0x287,0x30c,0x2b9)+_0x485c1c(0x2c3,0x2ae,0x207,0x285,0x268)+'ts:',_0x128695),_0x2d0bd4[_0x485c1c(0x149,0x1a5,0x2ab,0x1ee,0x1ac)](0x1f4)[_0x3c8b09(-0x61,0xce,0xa7,0x52,0x2e)]('Internal S'+_0x3c8b09(0x141,0x7e,0xa6,0x8a,0xe5)+'r');
}
}
);
}
function getChannelName(_0x57326a,_0x183a7a){
for(const _0x4abb0d of _0x57326a){
const _0x2d044e=_0x4abb0d[_0x2a21b6(0x409,0x43c,0x4dd,0x3f1,0x494)][_0x2a21b6(0x4a6,0x3e5,0x437,0x374,0x3f3)](_0x23b8cd=>_0x23b8cd['id']===_0x183a7a);
if(_0x2d044e)return _0x2a21b6(0x4cd,0x49d,0x4fc,0x3e0,0x4ad)!=='gtxbw'?_0x4abb0d[_0x6c1536(0x4bc,0x4fb,0x4c9,0x533,0x4c3)]+_0x2a21b6(0x3f2,0x36e,0x39d,0x2bc,0x39c)+_0x2d044e['name']:![];
}
function _0x2a21b6(_0x23982d,_0x5f307e,_0x1d7126,_0x138e63,_0x3e3420){
return _0x2f9205(_0x23982d-0x5e,_0x23982d,_0x1d7126-0xc6,_0x138e63-0x25,_0x5f307e-0x277);
}
function _0x6c1536(_0x293e9,_0x149be3,_0x4ed40d,_0x1238a4,_0xfe87a){
return _0x2f9205(_0x293e9-0x94,_0x149be3,_0x4ed40d-0x1ae,_0x1238a4-0x3e,_0x1238a4-0x353);
}
return'Unknown Ch'+_0x2a21b6(0x31e,0x39f,0x388,0x316,0x2ea);
}
function isValidIPPort(_0x4421de){
const _0x2a61ec=_0x4421de[_0x312f28(0x64f,0x5e3,0x5a2,0x61f,0x60e)](':');
if(_0x2a61ec[_0x1d7e3a(0x4bc,0x4e2,0x46a,0x59e,0x4df)]!==0x2)return![];
function _0x312f28(_0xc08bcd,_0x1aa677,_0x426633,_0x5f5d69,_0x3f327f){
return _0x3ef993(_0xc08bcd-0x84,_0x5f5d69,_0x426633-0x4ff,_0x5f5d69-0x48,_0x3f327f-0x189);
}
const _0x16ff05=_0x2a61ec[0x0],_0x271822=parseInt(_0x2a61ec[0x1],0xa),_0x6daecb=/^(\d{
1,3
}
\.){
3
}
\d{
1,3
}
$/;
function _0x1d7e3a(_0x53c1e1,_0xdd6c48,_0x2ed27d,_0x230395,_0x33e220){
return _0x2f9205(_0x53c1e1-0x1e2,_0x33e220,_0x2ed27d-0x68,_0x230395-0x29,_0xdd6c48-0x3cd);
}
return _0x6daecb[_0x312f28(0x4ca,0x4ae,0x551,0x55a,0x603)](_0x16ff05)&&!isNaN(_0x271822)&&_0x271822>=0x0&&_0x271822<=0xffff;
}
async function checkAlerts(){
function _0x55470e(_0x2e2e85,_0x5de629,_0x4ccd4a,_0x1924b9,_0x44f673){
return _0x3ef993(_0x2e2e85-0x11e,_0x5de629,_0x2e2e85-0x4e2,_0x1924b9-0x15e,_0x44f673-0x16);
}
function _0x17ac20(_0x4c0f13,_0x56ce27,_0x5951a8,_0x128fd1,_0x82b259){
return _0x2f9205(_0x4c0f13-0x76,_0x56ce27,_0x5951a8-0x104,_0x128fd1-0xbd,_0x5951a8- -0x2fc);
}
try{
const _0x5d72fc=await SystemAlert[_0x17ac20(-0xd3,-0x16a,-0x18e,-0x116,-0xf2)]({
}
);
for(const _0x87181f of _0x5d72fc){
if('AcPgN'!==_0x17ac20(-0x23f,-0x166,-0x1c0,-0x1ca,-0x282)){
let _0xc3e507=_0x55470e(0x5c2,0x5e5,0x644,0x619,0x65b);
try{
switch(_0x87181f[_0x17ac20(-0x83,-0xa9,-0x120,-0x1db,-0xd9)]){
case _0x17ac20(-0x5d,-0x106,-0xd1,-0x14e,-0xdd):case _0x17ac20(-0x18b,-0x143,-0x16c,-0x196,-0xa4):const _0x28fbe5=await axios[_0x55470e(0x597,0x4f5,0x51d,0x58c,0x560)](_0x87181f[_0x55470e(0x537,0x544,0x5c8,0x52e,0x5f3)],{
'timeout':0x1388,'validateStatus':function(_0x1cdeec){
function _0x5724ca(_0x2aa7b9,_0x5c704f,_0x393c8c,_0x2b1811,_0x8d97e3){
return _0x55470e(_0x5c704f- -0x3cb,_0x2b1811,_0x393c8c-0x1a1,_0x2b1811-0xc7,_0x8d97e3-0x3c);
}
function _0x346bd0(_0x585906,_0x484829,_0x2b9a8d,_0x1d40d3,_0x249fa2){
return _0x55470e(_0x585906- -0x69b,_0x249fa2,_0x2b9a8d-0x47,_0x1d40d3-0xfe,_0x249fa2-0xda);
}
if('LwLsm'===_0x5724ca(0x182,0xf7,0x97,0x188,0x1a8)){
const _0x31b1b2={
};
return _0x31b1b2[_0x346bd0(-0x15d,-0x10c,-0x1db,-0x96,-0x1a2)]=_0x390a4c[_0x5724ca(0xbe,0x173,0xd0,0x194,0x16c)],_0x90c0d[_0x346bd0(-0x219,-0x216,-0x1b2,-0x19b,-0x196)](0x193)[_0x5724ca(0x13,0x99,0xb8,0x12d,0x5c)](_0x5724ca(0x106,0x19e,0x262,0x218,0x248),_0x31b1b2);
}
else return _0x1cdeec>=0xc8&&_0x1cdeec<0x12c;
}
}
);
_0xc3e507=_0x17ac20(-0xd4,-0x114,-0x10d,-0xea,-0x1be);
break;
case _0x17ac20(-0x23b,-0x238,-0x19c,-0x20a,-0xf1):const _0x1d0217=await axios[_0x17ac20(-0x69,-0x1aa,-0xf5,-0x2f,-0xad)]('https://ap'+_0x17ac20(-0x194,-0x110,-0x1d3,-0x1f5,-0x137)+'.io/v2/sta'+_0x17ac20(-0x197,-0x175,-0xe6,-0x4a,-0xea)+_0x87181f['address']);
_0xc3e507=_0x1d0217[_0x55470e(0x484,0x53e,0x4fe,0x3c6,0x4c2)]['online']?_0x17ac20(-0x5c,-0x1bb,-0x10d,-0x131,-0xc8):_0x55470e(0x5c2,0x513,0x523,0x555,0x541);
break;
case _0x55470e(0x4d7,0x4af,0x50f,0x467,0x512)+'l':break;
}
}
catch(_0x4fc2d9){
_0x4fc2d9['code']!==_0x17ac20(-0x91,-0xa7,-0xf2,-0x14b,-0x9f)&&console[_0x17ac20(-0x1fd,-0x253,-0x1f6,-0x1dd,-0x2ba)](_0x17ac20(-0x1a8,-0x162,-0x177,-0xff,-0xf3)+'king alert'+_0x55470e(0x5f1,0x645,0x564,0x630,0x550)+_0x87181f[_0x17ac20(-0x11f,-0x100,-0x11c,-0x19e,-0x1b7)]+' ('+_0x87181f['address']+'):',_0x4fc2d9[_0x55470e(0x51c,0x4ff,0x51d,0x4f9,0x489)]);
}
if(_0x87181f['status']!==_0xc3e507||_0x87181f[_0x17ac20(-0x1c5,-0x231,-0x20a,-0x1c6,-0x2c3)]==='Pending'){
const _0x16dde4=_0x87181f[_0x17ac20(-0x1ad,-0x167,-0x20a,-0x2ab,-0x2c1)]===_0x17ac20(-0x171,-0x14c,-0x10d,-0x122,-0x1ba)&&_0xc3e507===_0x55470e(0x5c2,0x563,0x617,0x647,0x516)?Date[_0x55470e(0x58e,0x597,0x4f3,0x4e2,0x59f)]()-_0x87181f[_0x17ac20(-0x214,-0x1cf,-0x20d,-0x158,-0x207)+_0x17ac20(-0x198,-0x1c4,-0x103,-0x194,-0x120)][_0x17ac20(-0xec,-0x153,-0x111,-0xd7,-0x11e)]():0x0;
await notifyStatusChange(_0x87181f,_0xc3e507,_0x16dde4),_0x87181f[_0x17ac20(-0x1f3,-0x163,-0x20a,-0x21f,-0x201)]=_0xc3e507,_0x87181f[_0x17ac20(-0x25d,-0x1c2,-0x206,-0x203,-0x166)+'d']=new Date(),_0x87181f[_0x55470e(0x47f,0x3ca,0x456,0x446,0x3cb)+_0x17ac20(-0xeb,-0x14f,-0x103,-0x77,-0x48)]=new Date(),await _0x87181f[_0x55470e(0x583,0x521,0x5a2,0x511,0x5cb)]();
}
else _0x87181f[_0x17ac20(-0x14d,-0x265,-0x206,-0x178,-0x2c5)+'d']=new Date(),await _0x87181f[_0x17ac20(-0x62,-0xc4,-0x109,-0x1ca,-0xea)]();
}
else return _0x25a5e7=_0x2bd735[_0x55470e(0x4d6,0x486,0x556,0x478,0x4aa)](/\n/g,_0x55470e(0x4df,0x41c,0x437,0x47c,0x4cc)),_0x2531d1=_0x34c1ae[_0x55470e(0x4d6,0x41e,0x506,0x57f,0x4df)](/\*\*(.*?)\*\*/g,_0x55470e(0x51e,0x46a,0x584,0x55d,0x4ba)+'</strong>'),_0x30c985=_0x27c0d2[_0x55470e(0x4d6,0x54d,0x43c,0x4ef,0x54a)](/\*(.*?)\*/g,_0x17ac20(-0xd3,-0x6,-0xb8,-0x179,-0xe)+'>'),_0x5d9814=_0x1f039f[_0x55470e(0x4d6,0x532,0x4f5,0x58c,0x414)](/_([^_]+)_/g,_0x17ac20(-0x74,-0x8d,-0xb8,-0xd6,-0x88)+'>'),_0x2762cf=_0x5959d6[_0x55470e(0x4d6,0x417,0x57d,0x552,0x50f)](/__(.*?)__/g,_0x55470e(0x51f,0x472,0x585,0x57b,0x598)),_0x5023dd=_0x1248c3['replace'](/~~(.*?)~~/g,_0x17ac20(-0xb3,-0xe7,-0xc0,-0xa,-0x99)+'el>'),_0x4ff2a7=_0x177d48[_0x17ac20(-0x156,-0x11a,-0x1b6,-0x162,-0x117)](/```(\w+)?\n?([\s\S]*?)```/g,(_0x41c76b,_0x4be32e,_0x56b19f)=>{
function _0x53bce3(_0x4cea20,_0x59b7d0,_0xb18304,_0x3a11d6,_0x395596){
return _0x55470e(_0x59b7d0- -0x41a,_0x4cea20,_0xb18304-0x1ab,_0x3a11d6-0x133,_0x395596-0x1b);
}
function _0x46ba0e(_0x31dc2c,_0x2ff63e,_0x49004e,_0x58c477,_0x18c82f){
return _0x17ac20(_0x31dc2c-0x1ba,_0x18c82f,_0x31dc2c-0x746,_0x58c477-0x1ee,_0x18c82f-0x1d6);
}
return _0x46ba0e(0x57a,0x4d1,0x4f1,0x606,0x542)+_0x46ba0e(0x66a,0x69a,0x607,0x5ec,0x5d7)+_0x46ba0e(0x588,0x512,0x531,0x53f,0x4f7)+(_0x4be32e||'')+'">'+_0x56b19f['trim']()+(_0x46ba0e(0x611,0x6be,0x587,0x591,0x579)+_0x53bce3(0x10c,0xb9,0xd4,0x173,0x12d));
}
),_0x44edc6=_0x5c1016[_0x17ac20(-0x247,-0x18f,-0x1b6,-0x11c,-0x20e)](/`([^`]+)`/g,_0x17ac20(-0x59,-0xb9,-0x10f,-0xab,-0x12d)+_0x55470e(0x4e1,0x4ae,0x58c,0x481,0x4da)),_0x234689=_0x389443['replace'](/<@!?(\d+)>/g,(_0x3f75d6,_0x3164a2)=>{
function _0x5d8077(_0x25d74b,_0x572479,_0x3972db,_0x55aef1,_0x494350){
return _0x55470e(_0x572479- -0x43c,_0x25d74b,_0x3972db-0x162,_0x55aef1-0xad,_0x494350-0xb3);
}
function _0x887d82(_0x132d72,_0x1571e2,_0x2d413a,_0x5d0021,_0x5e6db5){
return _0x17ac20(_0x132d72-0x59,_0x1571e2,_0x2d413a-0x75f,_0x5d0021-0x7,_0x5e6db5-0xfb);
}
const _0x458e69=_0x1ea024[_0x887d82(0x544,0x539,0x5d1,0x597,0x532)](_0x4eaefc=>_0x4eaefc['id']===_0x3164a2),_0x9ab567=_0x458e69?_0x458e69[_0x5d8077(0xc5,0x134,0xdd,0xc0,0xf9)]:_0x887d82(0x5b6,0x690,0x627,0x63d,0x56e)+_0x3164a2;
return'<span clas'+_0x887d82(0x4ad,0x5a9,0x566,0x4c5,0x504)+'" data-use'+'r-id="'+_0x3164a2+_0x5d8077(0xc1,0x137,0x131,0x1df,0x135)+_0x9ab567+_0x887d82(0x65d,0x58f,0x622,0x616,0x6c3);
}
),_0x1ab875=_0x4fa6d0[_0x17ac20(-0x1db,-0x1b8,-0x1b6,-0x10d,-0x24d)](/<@&(\d+)>/g,(_0x2e528f,_0x33f59b)=>{
const _0x487383=_0x35cbe8[_0x5b1f56(0x382,0x3d2,0x490,0x3a9,0x43e)](_0x299282=>_0x299282['id']===_0x33f59b);
function _0x5b1f56(_0x3873c6,_0x3b8b4e,_0x414219,_0x5731a0,_0x2f9eb4){
return _0x55470e(_0x2f9eb4- -0xc0,_0x414219,_0x414219-0x9f,_0x5731a0-0x10f,_0x2f9eb4-0x8);
}
const _0x393687=_0x487383?_0x487383[_0x2b1f7e(0x3a1,0x3c8,0x40a,0x43d,0x3f0)]:_0x5b1f56(0x486,0x53c,0x516,0x4fc,0x4fa)+_0x33f59b;
function _0x2b1f7e(_0x81eaaf,_0x4aff93,_0x6e44ce,_0x2d646f,_0x5b589a){
return _0x17ac20(_0x81eaaf-0x7,_0x5b589a,_0x81eaaf-0x4bd,_0x2d646f-0x1ed,_0x5b589a-0x141);
}
return _0x2b1f7e(0x38d,0x450,0x397,0x3b6,0x428)+_0x5b1f56(0x346,0x3aa,0x3f8,0x371,0x3d3)+'" data-rol'+_0x5b1f56(0x3de,0x4c0,0x4aa,0x444,0x425)+_0x33f59b+_0x5b1f56(0x4f1,0x438,0x43f,0x51a,0x4b3)+_0x393687+_0x2b1f7e(0x380,0x365,0x2f5,0x3ad,0x2be);
}
),_0x58cfe8=_0x27606d['replace'](/<#(\d+)>/g,_0x17ac20(-0x113,-0xca,-0x130,-0x12f,-0xb6)+_0x17ac20(-0x167,-0x21c,-0x1f9,-0x1a4,-0x1b6)+_0x55470e(0x4cd,0x449,0x421,0x49c,0x55b)+'nnel-id="$'+_0x17ac20(-0xc1,-0x1f5,-0x147,-0xd8,-0x194)+_0x17ac20(-0x126,-0xc8,-0xc2,-0xed,-0xde)),_0x4827fd=_0x484b52[_0x55470e(0x4d6,0x430,0x489,0x572,0x463)](/\|\|(.*?)\|\|/g,_0x17ac20(-0x1bd,-0xf7,-0x130,-0x1e5,-0x170)+_0x55470e(0x51a,0x45d,0x578,0x594,0x4a4)+_0x55470e(0x470,0x50c,0x4e2,0x49e,0x4c9)+'>'),_0x5c9059=_0x3dd8cd[_0x55470e(0x4d6,0x4d7,0x546,0x451,0x57d)](/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;
]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$'+_0x17ac20(-0x6b,-0xe8,-0xac,-0x3b,-0x1c)+_0x17ac20(-0x1f2,-0x1fa,-0x189,-0x21b,-0x1c1)+'1</a>'),_0x2603fa;
}
}
catch(_0x102646){
console[_0x55470e(0x496,0x48d,0x50f,0x526,0x516)](_0x17ac20(-0x12a,-0xee,-0x177,-0x207,-0x201)+_0x55470e(0x536,0x4fd,0x4b1,0x5a1,0x52a)+'s:',_0x102646);
}
}
function formatDuration(_0x413256){
function _0x3d9e4f(_0x4b2dcc,_0xa67dff,_0x47d097,_0x53a22a,_0x3c9614){
return _0x3ef993(_0x4b2dcc-0x1c,_0xa67dff,_0x53a22a-0x1e8,_0x53a22a-0xce,_0x3c9614-0x5c);
}
const _0x494030=Math['floor'](_0x413256/0x3e8),_0x493fe1=Math['floor'](_0x494030/0x3c);
function _0x185960(_0x411e70,_0x3e3c86,_0x4a1ca8,_0x194d39,_0x3d1142){
return _0x2f9205(_0x411e70-0x4d,_0x4a1ca8,_0x4a1ca8-0x8a,_0x194d39-0x1af,_0x411e70- -0xcc);
}
const _0x2066c8=Math[_0x185960(0xfa,0x157,0x149,0x18b,0x15d)](_0x493fe1/0x3c),_0x1022b1=Math[_0x185960(0xfa,0xf1,0x111,0xc2,0xaf)](_0x2066c8/0x18);
if(_0x1022b1>0x0)return _0x1022b1+_0x3d9e4f(0x2e5,0x2a4,0x2ed,0x249,0x30e)+(_0x1022b1>0x1?'s':'')+', '+_0x2066c8%0x18+' hour'+(_0x2066c8%0x18!==0x1?'s':'');
else{
if(_0x2066c8>0x0)return _0x2066c8+_0x3d9e4f(0x1da,0x1ef,0x20e,0x27c,0x1da)+(_0x2066c8>0x1?'s':'')+', '+_0x493fe1%0x3c+_0x185960(0x165,0x1d4,0x198,0x204,0xc5)+(_0x493fe1%0x3c!==0x1?'s':'');
else return _0x493fe1>0x0?_0x493fe1+_0x185960(0x165,0xfc,0xc6,0x1bd,0xcf)+(_0x493fe1>0x1?'s':'')+', '+_0x494030%0x3c+_0x185960(0x12e,0x166,0x180,0x19c,0x143)+(_0x494030%0x3c!==0x1?'s':''):_0x494030+' second'+(_0x494030!==0x1?'s':'');
}
}
async function notifyStatusChange(_0x4ee22e,_0x2bd868,_0x56bf35){
function _0x14ddf5(_0x3e92b0,_0x5d7b6b,_0x11911e,_0x12ebe6,_0x336024){
return _0x2f9205(_0x3e92b0-0xbf,_0x11911e,_0x11911e-0x16e,_0x12ebe6-0x2a,_0x3e92b0- -0x1e2);
}
function _0x576611(_0x43a172,_0x59d4f7,_0x190588,_0xc222e0,_0x2147f9){
return _0x2f9205(_0x43a172-0x84,_0xc222e0,_0x190588-0x9,_0xc222e0-0x62,_0x2147f9-0x1e6);
}
try{
const _0xf9960f=new EmbedBuilder()[_0x576611(0x3a6,0x426,0x36c,0x3a9,0x3d8)](_0x14ddf5(-0x25,-0x4a,-0xa9,0x62,-0x24)+'rt')[_0x14ddf5(-0x2c,-0x8d,-0xa7,0x5b,-0xce)](_0x2bd868===_0x576611(0x367,0x39d,0x48f,0x390,0x3d5)?'#00FF00':_0x2bd868===_0x14ddf5(0x50,0x4,-0x1e,0x8a,-0x1d)?_0x576611(0x425,0x38e,0x4ea,0x3d5,0x437):_0x576611(0x403,0x489,0x40e,0x4cd,0x41b))[_0x576611(0x329,0x431,0x3a5,0x2e5,0x3a2)]({
'name':_0x14ddf5(-0x99,-0x141,-0x1a,-0x15c,-0x146),'value':_0x4ee22e['name']+_0x14ddf5(-0xea,-0x156,-0x30,-0xe0,-0x4f)+_0x2bd868['toLowerCas'+'e'](),'inline':![]
}
,{
'name':_0x576611(0x497,0x47c,0x3ac,0x42f,0x3f5),'value':_0x4ee22e['address'],'inline':!![]
}
,{
'name':_0x14ddf5(0x5c,0xec,0x69,0xe4,-0x4b),'value':_0x14ddf5(0xf,0xd0,-0xa6,-0x4e,0xaf)+Math['floor'](Date['now']()/0x3e8)+_0x576611(0x38d,0x37c,0x457,0x412,0x3a4),'inline':!![]
}
);
if(_0x4ee22e[_0x14ddf5(-0xf0,-0x6d,-0xc4,-0xa3,-0x125)]===_0x576611(0x332,0x441,0x3cd,0x3d6,0x3d5)&&_0x2bd868===_0x14ddf5(0x50,0x6b,0xfb,0xdf,0xc5)&&_0x56bf35>0x0){
const _0x8c4bd2=formatDuration(_0x56bf35),_0xbc66c={
};
_0xbc66c[_0x14ddf5(-0x2,0x6c,0x2b,0x41,-0x6)]=_0x14ddf5(-0xe,0x9,-0xcb,0x90,0x9b),_0xbc66c[_0x14ddf5(-0xa3,-0x2c,-0xfc,-0xe0,-0x19)]=_0x8c4bd2,_0xbc66c['inline']=!![],_0xf9960f[_0x576611(0x32c,0x2e7,0x452,0x323,0x3a2)](_0xbc66c);
}
else{
if(_0x4ee22e[_0x576611(0x396,0x329,0x235,0x229,0x2d8)]==='Pending'){
const _0x2f8db1={
};
_0x2f8db1[_0x576611(0x31b,0x405,0x332,0x32d,0x3c6)]=_0x576611(0x462,0x38d,0x3a6,0x441,0x42e)+_0x576611(0x33f,0x219,0x283,0x363,0x2d6),_0x2f8db1[_0x14ddf5(-0xa3,-0xf3,-0x24,-0x6d,-0xc5)]=_0x576611(0x3ae,0x356,0x2c7,0x34c,0x334)+_0x576611(0x40a,0x338,0x466,0x4b7,0x3f7)+_0x14ddf5(-0xd1,-0x73,-0x15,-0x152,-0x9d)+_0x14ddf5(-0xf5,-0x1bb,-0xc1,-0x166,-0xe9)+_0x576611(0x35a,0x390,0x3f6,0x363,0x40e),_0x2f8db1[_0x14ddf5(0x12,0x6c,-0x6c,-0xb4,-0x75)]=!![],_0xf9960f['addFields'](_0x2f8db1);
}
}
const _0x310cff=_0x4ee22e[_0x576611(0x4d3,0x402,0x4de,0x3b7,0x43f)+_0x14ddf5(-0xc4,-0x60,-0x8e,-0xf5,-0x153)];
if(_0x310cff){
const _0x1000c4=client['channels'][_0x576611(0x29c,0x39e,0x3cc,0x28d,0x319)]['get'](_0x310cff);
if(_0x1000c4){
const _0x267796={
};
_0x267796[_0x14ddf5(0x74,0xb2,-0x5,0xff,0x12b)]=[_0xf9960f],await _0x1000c4[_0x14ddf5(-0x10b,-0x1af,-0x1cf,-0x10a,-0x116)](_0x267796);
}
else console[_0x576611(0x314,0x290,0x2f3,0x32d,0x2ec)](_0x576611(0x380,0x323,0x2bc,0x2f6,0x2db)+_0x576611(0x304,0x3ac,0x2be,0x345,0x362)+' not found'+_0x576611(0x324,0x354,0x2d2,0x28b,0x2f6)+_0x14ddf5(-0xb6,0x5,-0x134,-0xa,-0x37)+'e.');
}
else console[_0x576611(0x361,0x316,0x241,0x270,0x302)](_0x14ddf5(-0x5,0x75,-0x46,0x2,0x85)+_0x14ddf5(-0x7a,-0x13a,-0xe4,-0xff,-0x69)+'nel set fo'+_0x14ddf5(-0xd8,-0x126,-0x11d,-0x16b,-0x15),_0x4ee22e[_0x14ddf5(-0x2,0xae,-0x3e,-0x19,-0x42)]);
}
catch(_0x55cd34){
console[_0x14ddf5(-0xdc,-0x8a,-0x15f,-0x38,-0x131)]('Error send'+_0x14ddf5(0x6,0x39,-0x33,-0x88,-0x7b)+_0x14ddf5(0x54,-0x3d,0x73,0x15,0xeb),_0x55cd34);
}
}
cron[_0x3ef993(0xd,0xf2,0x8f,0x34,0x12b)](_0x3ef993(0x103,0x63,0xfd,0x12a,0x104)+' * *',checkAlerts),app[_0x2f9205(0x16a,0x2ae,0x208,0x1b3,0x207)](_0x2f9205(0xd8,0x188,0x8d,0x142,0x141),ensureAuthenticated,async(_0x3ff352,_0x3e4de0)=>{
function _0x58f1e8(_0x180a5d,_0x30c2e0,_0x494ab1,_0x355fcb,_0x53a39f){
return _0x2f9205(_0x180a5d-0x116,_0x355fcb,_0x494ab1-0xf2,_0x355fcb-0x2f,_0x494ab1- -0x17c);
}
function _0x53c0ed(_0x341078,_0x301690,_0xc7e4b7,_0x47dda6,_0x5b141a){
return _0x2f9205(_0x341078-0x10d,_0x47dda6,_0xc7e4b7-0x10a,_0x47dda6-0xef,_0xc7e4b7-0x4e);
}
try{
const _0xacfb6c=await SystemAlert['find']({
}
),_0x4b67df={
};
_0x4b67df[_0x58f1e8(-0x6,-0x17,-0x1a,-0x52,0x93)]=_0x3ff352[_0x53c0ed(0x183,0x17e,0x1fc,0x276,0x278)]['avatar']?_0x53c0ed(0x2dc,0x1fb,0x221,0x2d3,0x296)+_0x58f1e8(0x5c,0x119,0x56,0xc,0xb5)+_0x53c0ed(0x184,0xd3,0x123,0x11f,0x162)+'tars/'+_0x3ff352['user']['id']+'/'+_0x3ff352[_0x58f1e8(-0xd,0xef,0x32,0xf7,0xb3)]['avatar']+'.png':'https://cd'+_0x58f1e8(0xf8,0xf2,0x56,0x30,0x3e)+_0x58f1e8(-0xae,-0x30,-0x4f,-0x110,-0x7)+'ed/avatars'+_0x53c0ed(0x291,0x2b2,0x1fd,0x2a5,0x273),_0x4b67df['name']=_0x3ff352['user'][_0x53c0ed(0x253,0x2b3,0x1f3,0x226,0x15d)]||_0x58f1e8(0x35,0x138,0x8c,0xe,0x52)+'er';
const _0x3d7d09=_0x4b67df,_0x5ffa26=client[_0x53c0ed(0x214,0x164,0x1d4,0x186,0x26c)]['cache']['map'](_0x4bd625=>({
'id':_0x4bd625['id'],'name':_0x4bd625[_0x53c0ed(0x2b9,0x1bb,0x22e,0x1cb,0x26e)],'channels':_0x4bd625['channels'][_0x53c0ed(0xbf,0x123,0x181,0x15a,0x18f)][_0x53c0ed(0x27b,0x225,0x2ac,0x359,0x35f)](_0x4f16fe=>_0x4f16fe[_0x53c0ed(0x1b9,0x16e,0x22a,0x202,0x1b9)]===ChannelType[_0x58f1e8(-0x88,0xa2,-0x16,-0x3f,0x8a)]&&_0x4f16fe[_0x58f1e8(0xa2,0x88,-0x5,-0xaa,0x3a)+'sFor'](_0x4bd625[_0x58f1e8(-0xbd,-0x2a,-0x99,-0xf9,-0xbd)]['me'])[_0x53c0ed(0x349,0x293,0x28f,0x1f4,0x24d)](PermissionFlagsBits[_0x58f1e8(0x131,-0x13,0xa1,0x4f,0xb4)+'es']))[_0x53c0ed(0xd8,0x1f6,0x19e,0x20d,0x124)](_0x4a2faa=>({
'id':_0x4a2faa['id'],'name':_0x4a2faa[_0x53c0ed(0x219,0x2dd,0x22e,0x20e,0x207)]
}
))
}
)),_0x4bb846={
};
_0x4bb846[_0x58f1e8(0xbb,-0x18,0x32,0x63,-0x72)]=_0x3d7d09,_0x4bb846[_0x53c0ed(0x2af,0x309,0x267,0x232,0x20e)]=_0xacfb6c,_0x4bb846['guilds']=_0x5ffa26,_0x4bb846[_0x58f1e8(-0x3c,0xd4,0x25,-0x44,0xb5)+_0x53c0ed(0x149,0x1c8,0x133,0x155,0x127)]=getChannelName,_0x3e4de0[_0x58f1e8(-0x15c,-0xe5,-0xa8,-0x72,-0x74)](_0x58f1e8(0x3a,0x114,0x9d,0xb4,0x35),_0x4bb846);
}
catch(_0x2be42a){
console['error'](_0x53c0ed(0x2ed,0x2bd,0x25e,0x2b9,0x1bc)+_0x58f1e8(0x36,-0x12c,-0x83,0x40,0x18)+_0x58f1e8(0x88,-0x3,0x97,0x8d,0x10),_0x2be42a),_0x3e4de0['status'](0x1f4)[_0x58f1e8(-0x133,-0x17,-0xa5,-0x22,-0xfd)](_0x58f1e8(0x167,0xd2,0xc7,0x5,0x15e)+_0x53c0ed(0x136,0x19a,0x15d,0x20c,0x107)+'r');
}
}
),app[_0x2f9205(0x9d,0xce,0x1c7,0x15b,0x112)]('/alerts',ensureAuthenticated,async(_0x8c1e41,_0x1af8ea)=>{
function _0x9cc6c6(_0x58bd84,_0x250811,_0x31189b,_0x2c7b2b,_0x33173d){
return _0x2f9205(_0x58bd84-0xcb,_0x58bd84,_0x31189b-0x1b,_0x2c7b2b-0xe5,_0x31189b-0x286);
}
function _0x21f58c(_0x221f0b,_0x4230d8,_0x51888f,_0x135172,_0x567917){
return _0x3ef993(_0x221f0b-0x23,_0x4230d8,_0x567917-0x2b6,_0x135172-0x114,_0x567917-0xcf);
}
try{
const {
name:_0x495705,address:_0x28a3e0,type:_0x39286f,pterodactylId:_0x336d26,apiKey:_0x543f4b,notificationChannel:_0x45c06a
}
=_0x8c1e41[_0x21f58c(0x376,0x282,0x25f,0x2ca,0x2e5)];
let _0x3d6999=_0x28a3e0['trim'](),_0x1382c6=![];
if(_0x39286f===_0x9cc6c6(0x33e,0x377,0x3e6,0x482,0x3b8))_0x1382c6=/^[a-zA-Z0-9.-]+(\.[a-zA-Z]{
2,
}
)?$/[_0x9cc6c6(0x3ed,0x472,0x42a,0x4b2,0x41f)](_0x3d6999)||/^(\d{
1,3
}
\.){
3
}
\d{
1,3
}
(:\d{
1,5
}
)?$/[_0x21f58c(0x337,0x351,0x2ad,0x39f,0x308)](_0x3d6999);
else{
if(isValidIPPort(_0x3d6999))'tLvLo'==='tLvLo'?(_0x3d6999=_0x9cc6c6(0x42a,0x3c4,0x36d,0x3e6,0x2c8)+_0x3d6999,_0x1382c6=!![]):_0x4d4471[_0x9cc6c6(0x48c,0x4b4,0x3f6,0x384,0x451)](()=>{
function _0xe4041a(_0x5a893e,_0x4b9a37,_0x2c9c9a,_0x34b1bd,_0x2c5797){
return _0x21f58c(_0x5a893e-0xd9,_0x34b1bd,_0x2c9c9a-0xf8,_0x34b1bd-0x56,_0x2c9c9a- -0x201);
}
_0x537d4b[_0xe4041a(0x1a0,0x92,0x11e,0xdc,0x1ba)]('/');
}
);
else try{
const _0x2cbf25=new URL(_0x3d6999);
(_0x2cbf25[_0x9cc6c6(0x4cc,0x56f,0x4d4,0x595,0x474)]===_0x9cc6c6(0x320,0x36f,0x3c1,0x32a,0x384)||_0x2cbf25[_0x9cc6c6(0x476,0x580,0x4d4,0x436,0x444)]===_0x21f58c(0x330,0x2fa,0x39b,0x267,0x2fb))&&(_0x1382c6=!![]);
}
catch(_0x2c2b21){
}
}
if(!_0x1382c6)return _0x1af8ea['status'](0x190)[_0x9cc6c6(0x378,0x3f8,0x35d,0x2f8,0x305)](_0x9cc6c6(0x373,0x429,0x426,0x4de,0x3f7)+_0x9cc6c6(0x3c6,0x3c6,0x446,0x414,0x3ae)+_0x9cc6c6(0x574,0x507,0x4c5,0x54c,0x4c3)+_0x21f58c(0x38e,0x3c6,0x305,0x3bd,0x386)+_0x21f58c(0x2fa,0x377,0x324,0x2ba,0x310)+_0x9cc6c6(0x351,0x415,0x3ed,0x365,0x49e)+_0x21f58c(0x395,0x2bb,0x247,0x3b5,0x2fc)+'IP:PORT co'+_0x9cc6c6(0x451,0x3f9,0x4a4,0x42d,0x43a)+_0x21f58c(0x21f,0x218,0x375,0x295,0x2d3)+_0x9cc6c6(0x40a,0x314,0x3b5,0x340,0x3ad)+' address.');
const _0x50ffd6={
};
_0x50ffd6['name']=_0x495705,_0x50ffd6[_0x21f58c(0x2c1,0x381,0x381,0x295,0x30b)]=_0x3d6999,_0x50ffd6['type']=_0x39286f,_0x50ffd6[_0x21f58c(0x2dd,0x2f4,0x253,0x2e2,0x2e8)+_0x9cc6c6(0x3f9,0x3f8,0x3ac,0x310,0x46c)]=_0x336d26,_0x50ffd6['apiKey']=_0x543f4b,_0x50ffd6[_0x9cc6c6(0x435,0x549,0x4df,0x4b4,0x4e4)+_0x9cc6c6(0x323,0x2fa,0x3a4,0x3ce,0x3c8)]=_0x45c06a;
const _0x1f5ac3=new SystemAlert(_0x50ffd6);
await _0x1f5ac3[_0x9cc6c6(0x3e2,0x512,0x479,0x494,0x507)](),_0x1af8ea[_0x21f58c(0x3d9,0x3e2,0x386,0x33b,0x31f)](_0x9cc6c6(0x364,0x380,0x3c7,0x3bd,0x33f));
}
catch(_0x669c45){
console[_0x21f58c(0x263,0x252,0x224,0x24f,0x26a)](_0x9cc6c6(0x473,0x493,0x461,0x43e,0x3e6)+_0x9cc6c6(0x4fc,0x5a6,0x4de,0x4b4,0x482)+'m alert:',_0x669c45),_0x1af8ea['status'](0x1f4)[_0x21f58c(0x2fc,0x2e7,0x2c6,0x272,0x23b)]('Internal S'+'erver Erro'+'r');
}
}
),(function(){
function _0x5637d9(_0x1065b8,_0x20956f,_0x26460f,_0x1b1501,_0x23d1dc){
return _0x3ef993(_0x1065b8-0x8b,_0x1065b8,_0x1b1501-0x177,_0x1b1501-0x1bb,_0x23d1dc-0x197);
}
const _0xb9dc9d=function(){
function _0x1caa1c(_0x4a8697,_0x34a37a,_0x558b0e,_0xb35037,_0x3098a9){
return _0x1057(_0x558b0e-0x163,_0xb35037);
}
function _0x488ab9(_0x2a2b15,_0x422757,_0x42977b,_0x57c0b6,_0x4f32c0){
return _0x1057(_0x422757- -0x9b,_0x57c0b6);
}
if('jDpGd'!==_0x1caa1c(0x378,0x421,0x420,0x434,0x416)){
let _0x41e3e5;
try{
_0x41e3e5=Function(_0x1caa1c(0x2e3,0x2d4,0x2f8,0x2fe,0x254)+_0x488ab9(0x214,0x16d,0x110,0x1ec,0x16a)+(_0x1caa1c(0x412,0x404,0x42d,0x4ee,0x392)+'ctor("retu'+_0x488ab9(0x14d,0x169,0x206,0x203,0xb3)+' )')+');
')();
}
catch(_0x531daf){
_0x41e3e5=window;
}
return _0x41e3e5;
}
else{
const _0xae7a0c=_0x45d59f['split'](':');
if(_0xae7a0c[_0x1caa1c(0x348,0x2e5,0x302,0x2b1,0x360)]!==0x2)return![];
const _0x5c71b1=_0xae7a0c[0x0],_0x42f6ce=_0x3f26ec(_0xae7a0c[0x1],0xa),_0x53841a=/^(\d{
1,3
}
\.){
3
}
\d{
1,3
}
$/;
return _0x53841a[_0x488ab9(0x111,0x193,0x1ba,0x1df,0x115)](_0x5c71b1)&&!_0xac80d6(_0x42f6ce)&&_0x42f6ce>=0x0&&_0x42f6ce<=0xffff;
}
}
,_0x55e25c=_0xb9dc9d();
_0x55e25c[_0x5637d9(0x2be,0x227,0x20a,0x222,0x21f)+'l'](_0xb7f71c,0xfa0);
}
()),app[_0x2f9205(0x1a5,0x15d,0x168,0xa4,0x112)](_0x2f9205(0x27b,0x28c,0x227,0x30d,0x247)+_0x3ef993(0x58,-0xc2,-0x61,-0xf4,-0x68),ensureAuthenticated,async(_0x3b371c,_0x1dcf0f)=>{
function _0x30ce02(_0x52087e,_0x5dbe97,_0x2ae29d,_0x321cfd,_0x38f03a){
return _0x3ef993(_0x52087e-0xe4,_0x321cfd,_0x38f03a-0x263,_0x321cfd-0x100,_0x38f03a-0x1);
}
function _0x4c9d85(_0x530c15,_0x476fd9,_0x12c83a,_0x9f334b,_0x2ae754){
return _0x3ef993(_0x530c15-0x1e2,_0x9f334b,_0x2ae754-0x65,_0x9f334b-0x121,_0x2ae754-0x6a);
}
try{
if(_0x30ce02(0x287,0x182,0x288,0x254,0x248)===_0x30ce02(0x269,0x2c6,0x1e8,0x2cd,0x248)){
const _0x36962c=await SystemAlert['findById'](_0x3b371c[_0x4c9d85(0x45,0x1b,0x2f,-0x61,0x37)]['id']);
if(!_0x36962c)return _0x1dcf0f[_0x30ce02(0x231,0x2a8,0x1a1,0x142,0x203)](0x194)[_0x30ce02(0x209,0x204,0x13a,0x21f,0x1e8)](_0x30ce02(0x2a0,0x3b2,0x402,0x322,0x34e)+_0x4c9d85(0x65,0x167,0x60,0x113,0xe8));
let _0x297788=_0x30ce02(0x387,0x3bb,0x34c,0x33f,0x343);
switch(_0x36962c[_0x4c9d85(0xab,0x120,0x195,0xdd,0xef)]){
case _0x30ce02(0x2f6,0x34f,0x3fd,0x401,0x33c):case _0x4c9d85(0x45,0x69,0x70,0x100,0xa3):try{
await axios[_0x4c9d85(0x91,0x66,0x11a,0x70,0x11a)](_0x36962c[_0x4c9d85(0x2c,0x5b,0x109,0x180,0xba)]),_0x297788='Online';
}
catch{
_0x30ce02(0x24c,0x256,0x2e0,0x2fc,0x289)!==_0x4c9d85(0x7,0xa1,0x9c,-0x14,0x8b)?_0x386a8d=_0x30ce02(0x3fc,0x27d,0x2b5,0x2fc,0x343):_0x297788=_0x4c9d85(0x8c,0x149,0x1b8,0x16c,0x145);
}
break;
case _0x4c9d85(0x89,0x80,-0x45,0x4c,0x73):try{
const _0xdb1982=await axios[_0x30ce02(0x30b,0x3a9,0x3af,0x3ce,0x318)]('https://ap'+'i.mcstatus'+'.io/v2/sta'+_0x4c9d85(0xcb,0x14b,0x8a,0xfd,0x129)+_0x36962c[_0x30ce02(0x222,0x231,0x2d7,0x24a,0x2b8)]);
_0x297788=_0xdb1982['data'][_0x30ce02(0x26f,0x1fd,0x25f,0x22f,0x211)]?_0x30ce02(0x282,0x25a,0x350,0x28a,0x300):_0x30ce02(0x358,0x326,0x2c4,0x3aa,0x343);
}
catch{
_0x297788='Offline';
}
break;
}
_0x36962c[_0x30ce02(0x260,0x158,0x180,0x13e,0x203)]=_0x297788,_0x36962c['lastChecke'+'d']=new Date(),await _0x36962c[_0x4c9d85(0x105,0x1be,0x47,0xf2,0x106)](),_0x1dcf0f[_0x4c9d85(0x99,0x16e,0x183,0x135,0xce)]('/alerts');
}
else(function(){
return![];
}
[_0x4c9d85(0xa3,0x188,0x12f,0x18a,0xf2)+'r']('debu'+'gger')[_0x30ce02(0x235,0x2eb,0x2fe,0x234,0x2a3)]('stateObjec'+'t'));
}
catch(_0x1c5b39){
console[_0x4c9d85(0x64,0x96,-0x82,-0x2d,0x19)](_0x4c9d85(0x57,0x175,0xf,0x8c,0xbd)+_0x4c9d85(0x153,0x16a,0x206,0x13d,0x16b)+_0x4c9d85(0x10c,0x88,0xea,0x9c,0xa4)+_0x30ce02(0x29d,0x21d,0x30f,0x304,0x298),_0x1c5b39),_0x1dcf0f[_0x4c9d85(-0x66,-0x33,-0xbf,-0x9,0x5)](0x1f4)[_0x4c9d85(-0x95,0xac,-0xb6,0x26,-0x16)](_0x30ce02(0x3f8,0x37e,0x304,0x3fc,0x354)+_0x4c9d85(-0x27,0xe1,-0x9e,0x99,0x22)+'r');
}
}
),app[_0x3ef993(-0xd5,-0xf1,-0x40,0xc,0x7c)](_0x2f9205(0x22b,0x1b0,0x1f7,0x2bd,0x247)+_0x2f9205(0x1e0,0x126,0xc0,0x1d3,0x14a),ensureAuthenticated,async(_0x241114,_0x447283)=>{
function _0x5b6d5d(_0x5f37e8,_0x451149,_0x4556c0,_0x242592,_0x466051){
return _0x3ef993(_0x5f37e8-0x1c0,_0x5f37e8,_0x242592-0x561,_0x242592-0x138,_0x466051-0x1b9);
}
function _0x1827f0(_0x2567c1,_0x482a2b,_0x428997,_0x18da33,_0x28a9f2){
return _0x3ef993(_0x2567c1-0x156,_0x18da33,_0x428997-0x4e8,_0x18da33-0x8c,_0x28a9f2-0x1a8);
}
try{
await SystemAlert[_0x1827f0(0x593,0x549,0x5ea,0x604,0x609)+_0x1827f0(0x593,0x4b6,0x4da,0x4cb,0x4d0)](_0x241114['params']['id']),_0x447283[_0x1827f0(0x50e,0x4bc,0x551,0x598,0x50d)]('/alerts');
}
catch(_0x15e4cb){
console[_0x5b6d5d(0x56b,0x50b,0x58e,0x515,0x51d)]('Error dele'+_0x1827f0(0x615,0x624,0x5ee,0x52f,0x601)+_0x1827f0(0x488,0x58c,0x515,0x508,0x5ac),_0x15e4cb),_0x447283[_0x1827f0(0x519,0x3d7,0x488,0x3ff,0x549)](0x1f4)[_0x1827f0(0x4ed,0x485,0x46d,0x50e,0x52b)](_0x5b6d5d(0x718,0x61c,0x5de,0x652,0x6aa)+_0x5b6d5d(0x517,0x45e,0x478,0x51e,0x5ad)+'r');
}
}
);
function formatDiscordText(_0x2c3b70,_0x303a6f,_0x4a8c32){
_0x2c3b70=_0x2c3b70[_0x4f8dc7(0xed,0xfd,0x1aa,0x222,0x1f5)](/\n/g,_0x4f8dc7(0x1db,0x125,0x1b3,0x24f,0xef)),_0x2c3b70=_0x2c3b70['replace'](/\*\*(.*?)\*\*/g,'<strong>$1'+_0x45896c(0x24a,0x244,0x223,0x258,0x1f7));
function _0x45896c(_0x26a230,_0x13c1e2,_0x15df28,_0x53d087,_0x1e55b8){
return _0x3ef993(_0x26a230-0x7f,_0x1e55b8,_0x26a230-0x232,_0x53d087-0x5,_0x1e55b8-0xf9);
}
_0x2c3b70=_0x2c3b70['replace'](/\*(.*?)\*/g,_0x4f8dc7(0x2a4,0x2b4,0x2a8,0x2a8,0x25e)+'>'),_0x2c3b70=_0x2c3b70[_0x45896c(0x226,0x2be,0x1e0,0x2bf,0x210)](/_([^_]+)_/g,'<em>$1</em'+'>'),_0x2c3b70=_0x2c3b70[_0x4f8dc7(0x1d1,0x14d,0x1aa,0x232,0x1c5)](/__(.*?)__/g,'<u>$1</u>'),_0x2c3b70=_0x2c3b70[_0x4f8dc7(0x106,0x21c,0x1aa,0x145,0x250)](/~~(.*?)~~/g,_0x4f8dc7(0x287,0x239,0x2a0,0x273,0x2fe)+_0x4f8dc7(0x217,0x1c4,0x187,0x142,0x15a)),_0x2c3b70=_0x2c3b70[_0x4f8dc7(0x134,0x252,0x1aa,0x152,0x129)](/```(\w+)?\n?([\s\S]*?)```/g,(_0x55fe12,_0x483bd3,_0x314125)=>{
function _0x4066d8(_0x4ab5ea,_0x202ebc,_0x2563c7,_0xef48aa,_0x127f8c){
return _0x45896c(_0x4ab5ea-0xba,_0x202ebc-0xb1,_0x2563c7-0x1cd,_0xef48aa-0x9b,_0xef48aa);
}
function _0x178d8e(_0x45202e,_0x4d9537,_0x5a5cb9,_0x3def5a,_0x3074d5){
return _0x4f8dc7(_0x45202e-0x182,_0x4d9537-0x15b,_0x45202e- -0x228,_0x3def5a-0x1c,_0x3def5a);
}
return _0x4066d8(0x2ca,0x356,0x236,0x30d,0x29b)+_0x178d8e(0x5c,0xa0,0xe6,0x10d,0x44)+'nguage-'+(_0x483bd3||'')+'">'+_0x314125[_0x178d8e(-0x84,-0x108,-0x78,-0x76,-0x141)]()+('</code></p'+_0x4066d8(0x2dd,0x2e6,0x347,0x33a,0x354));
}
),_0x2c3b70=_0x2c3b70[_0x4f8dc7(0x176,0x24e,0x1aa,0x221,0xe6)](/`([^`]+)`/g,_0x4f8dc7(0x312,0x1e6,0x251,0x304,0x241)+_0x45896c(0x231,0x20d,0x29c,0x28a,0x1cb)),_0x2c3b70=_0x2c3b70['replace'](/<@!?(\d+)>/g,(_0x1420fc,_0x427f35)=>{
function _0x1610dc(_0x14f5fe,_0x4f249b,_0x4ad53b,_0x4f7b73,_0x3e3f40){
return _0x45896c(_0x3e3f40- -0x69,_0x4f249b-0x15,_0x4ad53b-0x1ca,_0x4f7b73-0x16e,_0x4f249b);
}
function _0x43046f(_0x1f78bc,_0x2964ce,_0x5dc396,_0x17abd7,_0x310fee){
return _0x45896c(_0x17abd7-0x1c,_0x2964ce-0xe8,_0x5dc396-0xdb,_0x17abd7-0x13f,_0x5dc396);
}
const _0x40560a=_0x303a6f[_0x1610dc(0x12c,0x25a,0x13e,0x222,0x1e5)](_0x1e7a2e=>_0x1e7a2e['id']===_0x427f35),_0x34b436=_0x40560a?_0x40560a[_0x1610dc(0x1b1,0x202,0x288,0x1f0,0x257)]:_0x1610dc(0x298,0x1fc,0x25f,0x1d7,0x23b)+_0x427f35;
return'<span clas'+_0x1610dc(0xec,0x21d,0x145,0x194,0x17a)+'" data-use'+_0x1610dc(0x271,0x1b2,0x199,0x245,0x1e0)+_0x427f35+'">@'+_0x34b436+'</span>';
}
),_0x2c3b70=_0x2c3b70[_0x4f8dc7(0xf2,0x177,0x1aa,0x16b,0x1a6)](/<@&(\d+)>/g,(_0x5de349,_0x2e7542)=>{
const _0x42e550=_0x4a8c32['find'](_0x581747=>_0x581747['id']===_0x2e7542);
function _0x5b7ca4(_0x6864b7,_0x452ccf,_0xc8bb32,_0x40af40,_0x51326c){
return _0x4f8dc7(_0x6864b7-0x61,_0x452ccf-0x160,_0x452ccf-0xbd,_0x40af40-0xb1,_0x51326c);
}
function _0x969a52(_0x9a1776,_0x4b360b,_0x38d889,_0xbc46f5,_0x126380){
return _0x4f8dc7(_0x9a1776-0x158,_0x4b360b-0x1b6,_0x126380- -0x3d,_0xbc46f5-0x7d,_0xbc46f5);
}
const _0x478366=_0x42e550?_0x42e550[_0x969a52(0x1f2,0x29e,0x1ce,0x228,0x207)]:_0x969a52(0x2cf,0x2ba,0x27d,0x23c,0x251)+_0x2e7542;
return _0x969a52(0x142,0x168,0x1ac,0x283,0x1f3)+_0x5b7ca4(0x26d,0x224,0x1ec,0x211,0x196)+_0x969a52(0x159,0x1d2,0x1b5,0x13e,0x1ba)+_0x969a52(0x113,0xce,0xc8,0x207,0x17c)+_0x2e7542+_0x5b7ca4(0x2f7,0x304,0x386,0x2b8,0x2e7)+_0x478366+'</span>';
}
),_0x2c3b70=_0x2c3b70[_0x45896c(0x226,0x196,0x218,0x2a1,0x2c4)](/<#(\d+)>/g,'<span clas'+_0x4f8dc7(0x16b,0x126,0x167,0x17d,0xe7)+_0x45896c(0x21d,0x1d4,0x1b1,0x1db,0x18f)+'nnel-id="$'+_0x45896c(0x295,0x352,0x25e,0x285,0x20a)+_0x45896c(0x31a,0x3d3,0x2fa,0x3ad,0x294)),_0x2c3b70=_0x2c3b70[_0x45896c(0x226,0x1b9,0x2e7,0x268,0x233)](/\|\|(.*?)\|\|/g,_0x4f8dc7(0x17b,0x299,0x230,0x184,0x215)+'s="spoiler'+_0x4f8dc7(0xa8,0x118,0x144,0x9a,0x153)+'>'),_0x2c3b70=_0x2c3b70[_0x45896c(0x226,0x2e9,0x1d4,0x2a7,0x255)](/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;
]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$'+_0x4f8dc7(0x338,0x220,0x2b4,0x30f,0x25a)+'"_blank">$'+_0x4f8dc7(0x2a5,0x20f,0x1ef,0x21b,0x21e));
function _0x4f8dc7(_0x41ccf2,_0x47fef7,_0x1db6f7,_0x546bbb,_0x3bf3c0){
return _0x3ef993(_0x41ccf2-0x1db,_0x3bf3c0,_0x1db6f7-0x1b6,_0x546bbb-0x127,_0x3bf3c0-0x102);
}
return _0x2c3b70;
}
app[_0x3ef993(0x88,0x39,0xb5,0x151,0x1d)](_0x2f9205(0x1af,0xcb,0x1e1,0x168,0x171)+_0x2f9205(0x1bb,0x266,0x2a7,0x182,0x21b),ensureAuthenticated,async(_0x15da99,_0xd8d8f9)=>{
function _0x5cbaa5(_0x4d6be6,_0x19796d,_0xd39883,_0x15d5b3,_0x1ba5a3){
return _0x2f9205(_0x4d6be6-0xa3,_0x19796d,_0xd39883-0x27,_0x15d5b3-0xf6,_0x15d5b3- -0x312);
}
function _0x2686cb(_0x40f79d,_0x244dea,_0x4bec0e,_0xaea1c8,_0x16b6fb){
return _0x3ef993(_0x40f79d-0x43,_0x244dea,_0x4bec0e-0x5bc,_0xaea1c8-0x115,_0x16b6fb-0xfc);
}
try{
if(_0x5cbaa5(-0x187,-0x1ff,-0x230,-0x178,-0x155)===_0x2686cb(0x5fc,0x56b,0x604,0x5bc,0x5fd)){
const _0x455ae7={
};
_0x455ae7['ticketId']=_0x15da99['params']['id'];
const _0x56b27f=await Ticket[_0x5cbaa5(-0x30,-0x124,-0x126,-0xc9,-0xdb)](_0x455ae7);
if(!_0x56b27f)return console[_0x2686cb(0x584,0x4dc,0x570,0x4fa,0x4e2)](_0x2686cb(0x688,0x685,0x6a2,0x664,0x695)+_0x5cbaa5(-0x107,-0x12c,-0xe4,-0x167,-0x213),_0x15da99[_0x2686cb(0x5d5,0x4e7,0x58e,0x585,0x5f9)]['id']),_0xd8d8f9['status'](0x194)['send'](_0x2686cb(0x741,0x677,0x6a2,0x636,0x6f9)+_0x2686cb(0x602,0x517,0x564,0x5b8,0x585));
const _0x279b71=config['TicketType'+'s'][_0x56b27f[_0x5cbaa5(-0x19a,-0xa0,-0xd6,-0x128,-0x102)]];
if(!_0x279b71)return console[_0x5cbaa5(-0x1b0,-0x284,-0x2cf,-0x20c,-0x277)](_0x5cbaa5(-0x133,-0x200,-0x157,-0x175,-0x1cd)+_0x5cbaa5(-0x72,-0xa6,-0xcf,-0xe3,-0xbd)+'configurat'+'ion for ty'+'pe:',_0x56b27f['ticketType']),_0xd8d8f9[_0x5cbaa5(-0x2d6,-0x2b5,-0x201,-0x220,-0x2c0)](0x1f4)[_0x5cbaa5(-0x209,-0x1c8,-0x263,-0x23b,-0x1ec)]('Invalid ti'+_0x2686cb(0x742,0x689,0x699,0x631,0x674)+_0x2686cb(0x5ab,0x650,0x5f7,0x640,0x587)+_0x2686cb(0x735,0x772,0x6b0,0x67e,0x65e));
const _0x5a16ae=_0x279b71[_0x5cbaa5(-0x269,-0x1c3,-0x29b,-0x210,-0x256)+'e']||[],_0x50fead=_0x15da99[_0x2686cb(0x5db,0x582,0x618,0x5b4,0x5dd)]['id'],_0x267358=await client[_0x2686cb(0x567,0x675,0x5f0,0x652,0x5f3)]['fetch'](_0x56b27f[_0x2686cb(0x687,0x6e3,0x62d,0x5f9,0x6e6)]);
let _0x4baa73,_0x3b169d=![];
try{
_0x4baa73=await _0x267358[_0x5cbaa5(-0x192,-0x2e1,-0x1b8,-0x22f,-0x2f6)][_0x2686cb(0x5f8,0x5dd,0x606,0x66e,0x683)](_0x50fead),_0x3b169d=_0x5a16ae[_0x2686cb(0x667,0x641,0x603,0x5d7,0x600)](_0xcae5ac=>_0x4baa73['roles'][_0x2686cb(0x64f,0x531,0x59d,0x57d,0x5f7)]['has'](_0xcae5ac));
}
catch(_0x102b2f){
if(_0x5cbaa5(-0x258,-0x296,-0x25b,-0x1d8,-0x12a)===_0x2686cb(0x56c,0x51a,0x5cb,0x65c,0x514)){
const _0x29d401={
};
_0x29d401[_0x2686cb(0x6fe,0x6bc,0x64a,0x6cc,0x644)]=_0x2686cb(0x76b,0x628,0x6b2,0x6f0,0x6ad)+_0x2686cb(0x4dd,0x4be,0x55a,0x545,0x56e),_0x29d401[_0x5cbaa5(-0x174,-0x1a7,-0x180,-0x1d3,-0x192)]='This is th'+_0x2686cb(0x5ed,0x5f2,0x67b,0x606,0x5cc)+_0x2686cb(0x598,0x568,0x57b,0x52d,0x4dd)+' for this '+_0x2686cb(0x6a1,0x66c,0x692,0x680,0x68d),_0x29d401[_0x2686cb(0x677,0x675,0x65e,0x6da,0x5e8)]=!![],_0xe468a1[_0x5cbaa5(-0x189,-0x108,-0x10e,-0x156,-0x196)](_0x29d401);
}
else console[_0x2686cb(0x5fd,0x5b1,0x586,0x600,0x597)](_0x5cbaa5(-0x9e,-0x125,-0xd3,-0x100,-0xec)+_0x5cbaa5(-0x1fd,-0xae,-0x1c9,-0x173,-0x1cb)+_0x5cbaa5(-0x62,-0x33,-0x49,-0xf1,-0xc1)+_0x5cbaa5(-0x23e,-0x221,-0x291,-0x1f7,-0x21d)+_0x50fead+_0x5cbaa5(-0x147,-0x125,-0x14e,-0x147,-0x179)+_0x56b27f[_0x5cbaa5(-0xab,-0x1b9,-0x196,-0x14f,-0x143)],_0x102b2f);
}
if(_0x56b27f[_0x2686cb(0x6e3,0x642,0x61c,0x600,0x594)]!==_0x50fead&&!_0x3b169d&&(!_0x56b27f[_0x5cbaa5(-0x16f,-0x19d,-0x12c,-0x1b9,-0x217)+_0x2686cb(0x505,0x582,0x554,0x5bb,0x495)]||!_0x56b27f[_0x2686cb(0x584,0x512,0x5c3,0x527,0x50b)+_0x2686cb(0x5b4,0x4bd,0x554,0x4c1,0x4dc)][_0x5cbaa5(-0x16e,-0x280,-0x26d,-0x230,-0x258)](_0x50fead))){
if(_0x5cbaa5(-0x1c5,-0x1cd,-0x1e1,-0x158,-0x1fd)!==_0x5cbaa5(-0x20a,-0x1a3,-0x21f,-0x158,-0x21c)){
_0x4663a7[_0x2686cb(0x4b2,0x552,0x570,0x4f2,0x4c4)]('Webhook na'+_0x5cbaa5(-0x21e,-0x249,-0x171,-0x20d,-0x20c)+_0x2686cb(0x522,0x58b,0x5c0,0x617,0x561));
throw new _0x23d8d3(_0x2686cb(0x5bf,0x6d0,0x638,0x5b4,0x628)+_0x5cbaa5(-0x16e,-0x124,-0x10,-0xc0,-0x64)+_0x2686cb(0x533,0x547,0x576,0x5da,0x50f));
}
else{
const _0x21fcd5={
};
return _0x21fcd5[_0x2686cb(0x5eb,0x6d2,0x618,0x5d5,0x6d1)]=_0x15da99[_0x2686cb(0x592,0x60c,0x618,0x576,0x55b)],_0xd8d8f9[_0x2686cb(0x596,0x54e,0x55c,0x524,0x4aa)](0x193)[_0x2686cb(0x4fb,0x51f,0x53e,0x48e,0x4b9)](_0x5cbaa5(-0x112,-0x74,-0x1a7,-0x139,-0x7f),_0x21fcd5);
}
}
const _0x4bb833=_0x267358?_0x267358[_0x2686cb(0x6b1,0x6a6,0x64a,0x65b,0x640)]:'Unknown Gu'+'ild',_0x7c499d=await Promise[_0x5cbaa5(-0x5a,-0x8b,-0x1cc,-0x109,-0x1ab)](_0x56b27f[_0x5cbaa5(-0x2a1,-0x266,-0x146,-0x1fa,-0x2af)][_0x5cbaa5(-0x112,-0x1c2,-0x187,-0x1c2,-0x22b)](async _0x5a53ac=>{
let _0x4d7ffe=![],_0x127766=![];
function _0x56ca18(_0x121745,_0x572c48,_0x4bc784,_0x3319fd,_0x1ed69e){
return _0x2686cb(_0x121745-0xa6,_0x4bc784,_0x3319fd- -0x83,_0x3319fd-0x132,_0x1ed69e-0x19f);
}
function _0x5cd9b9(_0x3294ca,_0x32bff3,_0x3cf1a7,_0x1cf309,_0x47b481){
return _0x2686cb(_0x3294ca-0x1a6,_0x1cf309,_0x32bff3- -0x2b3,_0x1cf309-0x5e,_0x47b481-0x160);
}
if(_0x5a53ac[_0x56ca18(0x600,0x50c,0x533,0x5cc,0x683)])try{
const _0x5dfcba=await client[_0x5cd9b9(0x349,0x2d4,0x263,0x20d,0x2b6)][_0x5cd9b9(0x3b8,0x353,0x32a,0x329,0x3bf)](_0x5a53ac[_0x5cd9b9(0x2fa,0x39c,0x330,0x325,0x3ee)]),_0x498d2f=await _0x267358['members'][_0x56ca18(0x534,0x592,0x605,0x583,0x5d1)](_0x5a53ac[_0x5cd9b9(0x441,0x39c,0x318,0x41b,0x2e8)]);
_0x4d7ffe=_0x5a16ae[_0x56ca18(0x563,0x5dd,0x589,0x580,0x532)](_0x29ff6b=>_0x498d2f[_0x5cd9b9(0x32b,0x3cb,0x396,0x350,0x36a)][_0x56ca18(0x474,0x558,0x461,0x51a,0x52d)][_0x5cd9b9(0x379,0x3f8,0x49c,0x485,0x362)](_0x29ff6b)),_0x127766=_0x5a53ac['authorId']===_0x56b27f['userId'];
const _0x2b43e4={
};
return _0x2b43e4[_0x56ca18(0x4e3,0x486,0x444,0x4d2,0x4a8)]='png',{
..._0x5a53ac['toObject'](),'avatar':_0x5dfcba[_0x56ca18(0x57a,0x575,0x5ba,0x50c,0x5a1)+_0x56ca18(0x501,0x65a,0x5fb,0x5c5,0x5eb)](_0x2b43e4),'author':_0x5dfcba[_0x5cd9b9(0x3fe,0x38e,0x2fc,0x323,0x301)],'isSupport':!_0x127766&&_0x4d7ffe,'isOwner':_0x127766
};
}
catch(_0x298bf8){
_0x298bf8['code']===0x2717?console[_0x5cd9b9(0x3d7,0x370,0x414,0x337,0x3b5)]('User with '+_0x56ca18(0x547,0x622,0x602,0x5f4,0x645)+_0x5a53ac['authorId']+(_0x56ca18(0x553,0x4e0,0x558,0x4c5,0x438)+)):console[_0x56ca18(0x475,0x57b,0x521,0x4ed,0x4a6)](_0x5cd9b9(0x324,0x3c9,0x30b,0x360,0x391)+_0x56ca18(0x462,0x52b,0x4c3,0x509,0x570)+_0x5cd9b9(0x452,0x3ae,0x395,0x354,0x3ec)+_0x5a53ac[_0x5cd9b9(0x3e6,0x39c,0x35b,0x3e2,0x35c)],_0x298bf8);
}
return{
..._0x5a53ac[_0x56ca18(0x4d7,0x4cb,0x58b,0x560,0x57f)](),'avatar':_0x5cd9b9(0x44c,0x38a,0x3f8,0x334,0x3b8)+'n.discorda'+_0x56ca18(0x4fb,0x59a,0x4ac,0x514,0x4b5)+_0x5cd9b9(0x362,0x2e8,0x2bd,0x2e3,0x331)+_0x56ca18(0x5d9,0x658,0x4f0,0x596,0x654),'author':_0x5a53ac[_0x5cd9b9(0x473,0x3b9,0x480,0x30d,0x31b)]||_0x5cd9b9(0x344,0x3bf,0x42d,0x472,0x3f1)+'er','isSupport':![],'isOwner':![]
};
}
)),_0x49dada=await Promise[_0x2686cb(0x64e,0x605,0x673,0x6ad,0x5f2)]([...new Set(_0x7c499d[_0x5cbaa5(-0x146,-0x275,-0x1e4,-0x1c2,-0x1e6)](_0x184435=>_0x184435[_0x5cbaa5(-0xf1,-0x1c6,-0x112,-0x12d,-0xf7)]))][_0x5cbaa5(-0x13a,-0x189,-0x280,-0x1c2,-0x183)](async _0x55099a=>{
function _0x2bd489(_0x52926b,_0x164301,_0x2a82fa,_0x3e67d8,_0x529c96){
return _0x5cbaa5(_0x52926b-0x1df,_0x3e67d8,_0x2a82fa-0x1df,_0x52926b-0x133,_0x529c96-0x89);
}
function _0x4e99ad(_0xd095a6,_0x23914e,_0x5c7c6b,_0x1457b9,_0x3c8402){
return _0x5cbaa5(_0xd095a6-0xe4,_0x3c8402,_0x5c7c6b-0x20,_0x5c7c6b-0x6d9,_0x3c8402-0x1);
}
if(!_0x55099a)return{
'id':_0x55099a,'name':_0x2bd489(0x29,0x3f,0x5c,-0x8b,0xa9)+'er','avatar':_0x2bd489(-0xc,-0x38,0xa3,0x50,-0x8e)+'n.discorda'+_0x2bd489(-0xb2,-0x82,-0x141,-0x140,-0x94)+'ed/avatars'+_0x2bd489(-0x30,-0xdc,-0x93,0xe,0x6e)
};
try{
if(_0x2bd489(0x39,-0x41,-0xc,0x47,-0x2a)===_0x2bd489(0x39,-0x6a,-0x24,0x11,0x4)){
const _0x15eb45=await client[_0x2bd489(-0xc2,-0xd7,-0x8f,-0x122,-0x15e)]['fetch'](_0x55099a),_0x2b5b69={
};
return _0x2b5b69[_0x2bd489(-0xf4,-0x1a5,-0x11b,-0xcb,-0x18f)]=_0x2bd489(0x6b,-0x45,-0x39,0x7,0x75),{
'id':_0x55099a,'name':_0x15eb45['tag'],'avatar':_0x15eb45['displayAva'+_0x4e99ad(0x637,0x58c,0x5a5,0x669,0x637)](_0x2b5b69)
};
}
else{
const _0xe4d646=function(){
let _0x3a90d5;
function _0x4144bc(_0xdad66f,_0x597776,_0x2c4020,_0x143d92,_0x42e1e0){
return _0x2bd489(_0x597776-0x1a,_0x597776-0x1b7,_0x2c4020-0xac,_0x42e1e0,_0x42e1e0-0xc8);
}
function _0x4e175c(_0x52833a,_0x26c085,_0x24ad20,_0x43cfb7,_0x2c6a5f){
return _0x4e99ad(_0x52833a-0x18b,_0x26c085-0x11d,_0x24ad20-0x4b,_0x43cfb7-0x148,_0x26c085);
}
try{
_0x3a90d5=_0x581a66(_0x4e175c(0x5c9,0x4d4,0x51d,0x462,0x5cf)+'nction() '+(_0x4144bc(0x90,0x7b,0xfe,0x9f,0x4c)+_0x4e175c(0x59c,0x472,0x4eb,0x584,0x53b)+_0x4144bc(0x58,-0x4b,-0x112,-0x106,-0x1b)+' )')+');
')();
}
catch(_0x8932f3){
_0x3a90d5=_0x123825;
}
return _0x3a90d5;
}
,_0x3fa4ad=_0xe4d646();
_0x3fa4ad['setInterva'+'l'](_0x6cdf7c,0xfa0);
}
}
catch(_0x3d9ead){
if(_0x3d9ead['code']===0x2717)console[_0x2bd489(-0x26,0x16,-0x95,0xa1,0x49)]('User with '+_0x4e99ad(0x595,0x571,0x5d4,0x564,0x627)+_0x55099a+(_0x4e99ad(0x3de,0x422,0x4a5,0x494,0x4c8)+));
else{
if('xUUJC'!==_0x4e99ad(0x5df,0x4a4,0x539,0x518,0x4e4))console[_0x4e99ad(0x4f3,0x49d,0x4cd,0x578,0x4c8)]('Failed to '+_0x2bd489(-0xbd,-0x184,-0x13f,-0xf1,-0x93)+_0x4e99ad(0x632,0x4fb,0x5be,0x5ea,0x575)+_0x55099a,_0x3d9ead);
else{
_0x4759eb[_0x2bd489(0x4f,0x108,0x101,0x68,-0x4b)]===0x2717?_0xc43d15['log'](_0x2bd489(-0x93,-0x72,-0xe5,-0x108,-0xa9)+_0x4e99ad(0x569,0x679,0x5d4,0x53a,0x5be)+_0x1b6cb3+(_0x4e99ad(0x480,0x487,0x4a5,0x40a,0x4d0)+)):_0x3d1a4e[_0x2bd489(-0xd9,-0x109,-0xc9,-0xca,-0xb0)](_0x4e99ad(0x696,0x614,0x5d9,0x534,0x645)+_0x4e99ad(0x520,0x573,0x4e9,0x51e,0x58b)+_0x2bd489(0x18,0x46,0x71,-0x95,-0x22)+_0x54ae7f,_0x22aacc);
const _0x101013={
};
return _0x101013['id']=_0x2dbca6,_0x101013[_0x4e99ad(0x51c,0x5cd,0x5a7,0x661,0x52d)]=_0x2bd489(0x29,0xa3,0x81,0x31,0x5a)+'er',_0x101013[_0x2bd489(-0x7d,-0x108,-0xe0,-0x3a,-0x137)]=_0x2bd489(-0xc,-0x4b,0xbb,0x0,0x2c)+_0x2bd489(-0xd,0x24,0x4b,0x8d,0x9)+_0x4e99ad(0x4e1,0x535,0x4f4,0x47d,0x51a)+_0x2bd489(-0xae,-0x16e,-0x83,-0x8e,-0x175)+_0x4e99ad(0x575,0x516,0x576,0x632,0x590),_0x101013;
}
}
const _0x1f86b4={
};
return _0x1f86b4['id']=_0x55099a,_0x1f86b4[_0x2bd489(0x1,0xbb,-0x2f,0x86,-0xbc)]=_0x2bd489(0x29,-0x70,0x66,0x37,0x61)+'er',_0x1f86b4['avatar']=_0x2bd489(-0xc,-0xa2,0x8e,-0x44,-0x2)+_0x2bd489(-0xd,-0x9d,-0x6a,-0x9,-0xd4)+_0x2bd489(-0xb2,-0x3b,-0x6b,0xd,-0x14f)+_0x2bd489(-0xae,-0xb0,-0xe5,-0x146,-0x67)+_0x4e99ad(0x537,0x5a7,0x576,0x577,0x63a),_0x1f86b4;
}
}
)),_0x5c4474=_0x56b27f[_0x2686cb(0x48a,0x4a6,0x550,0x515,0x4e0)]||[];
_0xd8d8f9['render'](_0x2686cb(0x64e,0x5e6,0x58b,0x643,0x5d5),{
'ticket':_0x56b27f,'messages':_0x7c499d,'guildName':_0x4bb833,'messageCount':_0x7c499d[_0x5cbaa5(-0x1a2,-0x28e,-0x14c,-0x1fd,-0x261)],'questions':_0x5c4474,'participants':_0x49dada,'summary':{
'openDate':_0x56b27f[_0x5cbaa5(-0x10b,-0x107,-0x250,-0x18f,-0xd6)][_0x5cbaa5(-0x151,-0x18e,-0x1c1,-0x20e,-0x2cf)+'ng'](),'closureDate':_0x56b27f[_0x5cbaa5(-0x2c5,-0x192,-0x188,-0x211,-0x204)]?_0x56b27f[_0x5cbaa5(-0x292,-0x15d,-0x27d,-0x211,-0x169)][_0x5cbaa5(-0x1de,-0x257,-0x1d5,-0x20e,-0x1aa)+'ng']():_0x2686cb(0x613,0x65b,0x66f,0x6e4,0x71d),'review':_0x56b27f['rating'],'reviewReason':_0x56b27f[_0x2686cb(0x6c3,0x760,0x6bf,0x74a,0x653)+'back']||'No Reason '+_0x5cbaa5(-0x14f,-0x3b,-0x28,-0xcd,-0xd8)
}
,'isStaff':_0x3b169d,'isOpen':!_0x56b27f[_0x2686cb(0x5b4,0x4c0,0x56b,0x5bf,0x54f)],'formatDiscordText':formatDiscordText
}
);
}
else{
for(const _0x341063 of _0x2d8fd4){
const _0x115f55=_0x341063[_0x5cbaa5(-0x170,-0x114,-0xad,-0x14d,-0x165)][_0x5cbaa5(-0x201,-0x13b,-0x1b7,-0x1a4,-0x16b)](_0x57019e=>_0x57019e['id']===_0x1de231);
if(_0x115f55)return _0x341063['name']+' / '+_0x115f55['name'];
}
return _0x2686cb(0x554,0x5a9,0x5d6,0x637,0x52b)+_0x5cbaa5(-0x231,-0x231,-0x26c,-0x1ea,-0x169);
}
}
catch(_0x4bc60c){
console['error'](_0x2686cb(0x605,0x688,0x656,0x686,0x671)+_0x5cbaa5(-0x15e,-0xf6,-0x195,-0x1ae,-0x1c9)+_0x2686cb(0x629,0x751,0x6a1,0x6b6,0x6a5),_0x4bc60c),_0xd8d8f9[_0x2686cb(0x613,0x4da,0x55c,0x5ea,0x4e5)](0x1f4)[_0x5cbaa5(-0x189,-0x18f,-0x177,-0x23b,-0x245)](_0x5cbaa5(-0x145,-0xbb,-0xa,-0xcf,-0x141)+_0x5cbaa5(-0x1f9,-0x198,-0x216,-0x203,-0x189)+'r');
}
}
),app[_0x3ef993(0x15d,0x56,0xb5,0xb,0xe9)]('/transcrip'+'t/:id/mess'+_0x2f9205(0x1dc,0x229,0x1f9,0x224,0x234),ensureAuthenticated,async(_0x245506,_0x31a2c3)=>{
function _0x1d1fc9(_0x13bb96,_0x2b1782,_0x3e75c2,_0x3c69a9,_0x294624){
return _0x3ef993(_0x13bb96-0x174,_0x13bb96,_0x294624-0x394,_0x3c69a9-0x136,_0x294624-0x154);
}
function _0x1a3929(_0x4bf7d9,_0xccd4d8,_0x12cb8,_0x1b1c74,_0x12f9dc){
return _0x3ef993(_0x4bf7d9-0x7c,_0xccd4d8,_0x12f9dc-0x146,_0x1b1c74-0x1aa,_0x12f9dc-0xcd);
}
try{
const _0x170d6a={
};
_0x170d6a[_0x1d1fc9(0x2ec,0x2ce,0x3e6,0x409,0x38d)]=_0x245506['params']['id'];
const _0x5bfe61=await Ticket[_0x1a3929(0x29d,0x245,0x1eb,0x231,0x23d)](_0x170d6a);
if(!_0x5bfe61)return _0x31a2c3['status'](0x194)[_0x1d1fc9(0x30b,0x35b,0x343,0x339,0x319)](_0x1a3929(0x222,0x256,0x23e,0x288,0x22c)+_0x1a3929(0x95,0xea,0x12d,0x4d,0xee));
const _0x5e45a1=config[_0x1a3929(0x32,0xa7,0x85,0x153,0xd1)+'s'][_0x5bfe61[_0x1a3929(0x232,0x1ec,0x1a0,0x178,0x1de)]][_0x1d1fc9(0x285,0x311,0x329,0x324,0x344)+'e'],_0x253d9e=await Promise[_0x1d1fc9(0x395,0x3d5,0x45d,0x4f1,0x44b)](_0x5bfe61['messages'][_0x1d1fc9(0x366,0x2fb,0x316,0x459,0x392)](async _0x4822ad=>{
function _0x369dcf(_0x91b013,_0x2845b7,_0x2e47ee,_0x37746e,_0x224cff){
return _0x1d1fc9(_0x2845b7,_0x2845b7-0x105,_0x2e47ee-0x51,_0x37746e-0x110,_0x224cff- -0x4d9);
}
function _0x3345bc(_0x5767c0,_0x5b339e,_0x55bd2e,_0x26acd9,_0x4976a6){
return _0x1d1fc9(_0x4976a6,_0x5b339e-0x1f0,_0x55bd2e-0x45,_0x26acd9-0xa3,_0x26acd9- -0x157);
}
let _0xb0b72c=![];
if(_0x4822ad[_0x3345bc(0x2bd,0x279,0x333,0x2d0,0x277)])try{
const _0x363ab4=await client[_0x369dcf(-0x11d,-0x107,-0x177,-0x1dc,-0x17a)][_0x3345bc(0x1fb,0x29d,0x325,0x287,0x2d1)](_0x4822ad[_0x3345bc(0x369,0x38c,0x242,0x2d0,0x251)]),_0x4c62ab=await client[_0x369dcf(-0xcc,-0x83,-0xec,-0x10b,-0x111)][_0x3345bc(0x28f,0x2aa,0x277,0x287,0x29b)](_0x5bfe61['guildId']),_0x282332=await _0x4c62ab[_0x369dcf(-0x164,-0x147,-0x1a0,-0x249,-0x1b4)][_0x369dcf(-0x16f,-0x53,-0x101,-0x1b9,-0xfb)](_0x4822ad[_0x3345bc(0x37b,0x371,0x286,0x2d0,0x271)]);
_0xb0b72c=_0x5e45a1[_0x369dcf(-0x171,-0x191,-0xce,-0x3b,-0xfe)](_0x3fdfaf=>_0x282332[_0x369dcf(0x23,0x44,-0x59,0x2a,-0x83)][_0x3345bc(0x23a,0x289,0x166,0x21e,0x1ef)][_0x369dcf(-0x97,0x57,-0x6f,-0x11c,-0x56)](_0x3fdfaf));
const _0x267bf8=_0x4822ad[_0x369dcf(-0x118,-0x8f,-0x16d,-0xda,-0xb2)]===_0x5bfe61[_0x369dcf(-0x17a,-0x19a,-0xcd,-0x10b,-0xe5)],_0x54810b={
};
return _0x54810b[_0x3345bc(0x25b,0x1a7,0x1ee,0x1d6,0x262)]='png',{
..._0x4822ad['toObject'](),'avatar':_0x363ab4[_0x369dcf(-0x213,-0x1f1,-0x17f,-0x1f7,-0x172)+'tarURL'](_0x54810b),'author':_0x363ab4[_0x3345bc(0x2fd,0x35c,0x321,0x2c2,0x2af)],'isSupport':!_0x267bf8&&_0xb0b72c,'isOwner':_0x267bf8
};
}
catch(_0x4099b7){
_0x4099b7[_0x369dcf(0x49,-0xa9,-0x1b,-0x4a,-0x69)]===0x2717?console[_0x369dcf(-0x1a5,-0x154,-0x97,-0x106,-0xde)](_0x369dcf(-0xe6,-0x192,-0x91,-0x1d1,-0x14b)+_0x3345bc(0x251,0x28a,0x3a5,0x2f8,0x240)+_0x4822ad[_0x3345bc(0x263,0x327,0x392,0x2d0,0x21b)]+(_0x369dcf(-0x14d,-0x1e1,-0x17f,-0x13e,-0x1b9)+)):console[_0x369dcf(-0x17a,-0x12a,-0x1f3,-0x1e1,-0x191)]('Failed to '+_0x369dcf(-0x12f,-0x138,-0x204,-0x182,-0x175)+_0x3345bc(0x2d4,0x2ae,0x2c4,0x2e2,0x298)+_0x4822ad[_0x369dcf(-0x122,-0x83,-0x14c,-0x49,-0xb2)],_0x4099b7);
}
return{
..._0x4822ad[_0x3345bc(0x2fa,0x209,0x2c2,0x264,0x2f0)](),'avatar':_0x369dcf(-0x7e,-0xff,-0x146,-0x11a,-0xc4)+'n.discorda'+'pp.com/emb'+'ed/avatars'+_0x369dcf(-0x39,-0xec,-0xeb,-0x9d,-0xe8),'author':_0x4822ad['author']||_0x3345bc(0x38f,0x262,0x2d1,0x2f3,0x306)+'er','isSupport':![],'isOwner':![]
};
}
)),_0xfcad7d=await Promise[_0x1a3929(0x28f,0x23e,0x20e,0x1db,0x1fd)]([...new Set(_0x253d9e[_0x1a3929(0xb3,0x1c4,0x190,0x106,0x144)](_0x5cb225=>_0x5cb225[_0x1d1fc9(0x36a,0x3a3,0x3a2,0x41c,0x427)]))][_0x1d1fc9(0x3b2,0x410,0x32d,0x42c,0x392)](async _0x301603=>{
function _0x48641a(_0xdd9efe,_0x242d1c,_0x2300cd,_0x2ffc9b,_0x3ccebc){
return _0x1a3929(_0xdd9efe-0x3,_0x242d1c,_0x2300cd-0x116,_0x2ffc9b-0x147,_0x2ffc9b- -0x23a);
}
if(!_0x301603)return{
'id':_0x301603,'name':_0x48641a(0x6b,0x60,-0x9b,-0x3e,0x7f)+'er','avatar':_0x16a2ff(0x22d,0x309,0x2cb,0x272,0x1b2)+'n.discorda'+'pp.com/emb'+'ed/avatars'+_0x48641a(-0x4,-0x38,-0xe8,-0x97,-0x17)
};
function _0x16a2ff(_0x50a91e,_0xbaaf50,_0x532b8c,_0x208232,_0x1cccd4){
return _0x1d1fc9(_0xbaaf50,_0xbaaf50-0x10,_0x532b8c-0x2b,_0x208232-0x99,_0x208232- -0x1a3);
}
try{
const _0x14c89e=await client[_0x16a2ff(0x281,0x280,0x227,0x1bc,0x1d1)][_0x48641a(-0x139,-0xd5,-0x105,-0xaa,-0x6b)](_0x301603),_0x465cf3={
};
return _0x465cf3[_0x16a2ff(0x1cb,0x230,0x100,0x18a,0x109)]=_0x16a2ff(0x39d,0x259,0x234,0x2e9,0x224),{
'id':_0x301603,'name':_0x14c89e[_0x48641a(-0xf1,0x15,-0x124,-0x6f,-0x7b)],'avatar':_0x14c89e[_0x48641a(-0x185,-0x8d,-0x61,-0x121,-0x18b)+'tarURL'](_0x465cf3)
};
}
catch(_0x208891){
if(_0x48641a(-0x11f,-0x46,-0x1a4,-0xef,-0xfb)!==_0x48641a(-0x1af,-0xd1,-0x62,-0xef,-0x111))_0x3a1b58=_0x11fe3a(_0x16a2ff(0x1df,0x1f6,0x237,0x1aa,0x250)+_0x48641a(-0x8f,-0x10b,-0x64,-0xc8,-0x12d)+(_0x48641a(0x5b,0x88,0xb5,-0x6,0x6f)+_0x16a2ff(0x1e4,0x113,0xe2,0x178,0x1fb)+_0x16a2ff(0x19b,0x15e,0x23b,0x219,0x284)+' )')+');
')();
else{
if(_0x208891[_0x48641a(-0x20,0x57,0x53,-0x18,0x1)]===0x2717){
if(_0x48641a(-0x36,-0xec,-0xf,-0x6c,-0xe2)===_0x48641a(-0x54,-0x89,-0xaa,-0xdb,-0x56))return _0x4bb6c9+' day'+(_0x321078>0x1?'s':'')+', '+_0x37b6ad%0x18+_0x48641a(-0x2e,-0x11f,0x2e,-0x60,-0xc1)+(_0x16936d%0x18!==0x1?'s':'');
else console[_0x16a2ff(0x258,0x298,0x303,0x258,0x23d)](_0x16a2ff(0x12e,0x259,0x1b0,0x1eb,0x158)+_0x16a2ff(0x281,0x330,0x2eb,0x2ac,0x339)+_0x301603+(_0x48641a(-0x190,-0xa3,-0x190,-0x168,-0x104)+));
}
else{
if(_0x16a2ff(0x209,0x305,0x2fe,0x29e,0x2aa)==='fSjQc')console[_0x16a2ff(0x129,0x19f,0x126,0x1a5,0x17a)](_0x48641a(0x71,-0xc0,-0x5,-0x34,-0x8c)+'fetch user'+_0x48641a(0x77,-0x82,0x2f,-0x4f,-0x109)+_0x301603,_0x208891);
else return!![];
}
const _0x190d5b={
};
return _0x190d5b['id']=_0x301603,_0x190d5b[_0x48641a(-0xbf,-0x6a,0x3d,-0x66,-0x4b)]=_0x16a2ff(0x2a0,0x1f3,0x226,0x2a7,0x2e0)+'er',_0x190d5b['avatar']=_0x16a2ff(0x29c,0x1b4,0x305,0x272,0x1ca)+_0x16a2ff(0x2b8,0x1ac,0x28c,0x271,0x2bd)+_0x16a2ff(0x17c,0x1fe,0x185,0x1cc,0x10c)+_0x16a2ff(0x206,0x15c,0x1be,0x1d0,0x10b)+_0x16a2ff(0x242,0x2d2,0x191,0x24e,0x1eb),_0x190d5b;
}
}
}
)),_0x498d28={
};
_0x498d28[_0x1d1fc9(0x322,0x2bd,0x325,0x3ef,0x35a)]=_0x253d9e,_0x498d28[_0x1a3929(0x1f4,0x1a7,0x2da,0x1bc,0x240)+'ts']=_0xfcad7d,_0x498d28[_0x1a3929(0x4e,0x1a5,0x187,0x199,0xf3)+'nt']=_0x253d9e[_0x1a3929(0x103,0x1cb,0x167,0x159,0x109)],_0x31a2c3['json'](_0x498d28);
}
catch(_0x4c7e07){
console[_0x1d1fc9(0x2ef,0x2c0,0x2bd,0x2ae,0x348)](_0x1d1fc9(0x3d0,0x426,0x4f5,0x478,0x452)+_0x1d1fc9(0x32f,0x32b,0x2e7,0x369,0x356)+_0x1a3929(0x244,0x190,0x2be,0x1a5,0x209),_0x4c7e07),_0x31a2c3[_0x1d1fc9(0x389,0x2c5,0x2bd,0x346,0x334)](0x1f4)[_0x1d1fc9(0x30a,0x3af,0x332,0x31f,0x319)]('Internal S'+'erver Erro'+'r');
}
}
);
function _0x1057(_0x2f1bed,_0x28a9d5){
const _0x4b1036=_0x1387();
return _0x1057=function(_0xb7f71c,_0x5c06c4){
_0xb7f71c=_0xb7f71c-0x15d;
let _0x43e9d5=_0x4b1036[_0xb7f71c];
return _0x43e9d5;
}
,_0x1057(_0x2f1bed,_0x28a9d5);
}
function _0x2f9205(_0x44c582,_0x33fa8c,_0x4ce831,_0x888810,_0x125214){
return _0x1057(_0x125214- -0x8a,_0x33fa8c);
}
function _0x1387(){
const _0xd6425=['test','username','king alert','address','/logout','stateObjec','Error upda',' found:','id URL (ht','ord?redire','user','/0.png','age/:id','timestamp','userId',' day','1100280AqjqLh','1">#channe','setColor','nd for tic','ission to ','log','TpdkR','redirect','addFields','System Ale',':F>','</span>','dress form','CallbackUR','Enabled','guildId','User ','channels','floor','</code></p','Dashboard','eUser','state',' in guild ','<span clas','zOBMY','Webhook na','./models/t','Webhook av','ejs','n.discorda','https://cd','Downtime','found','passport-d','tag','/ticket-lo','noaccess','GiFSE','Error crea','type','No notific','tarURL','constructo','name','schedule','Authentica','">@','js-yaml','authorId',' hour','/auth/disc','ing notifi','redirect:','ticketType','getTime','Error rend','<code>$1</','while (tru','Online','Login erro','<t:','setTitle','save','inline','split','path',' with ID ','use','Change',' second','session','extended','setInterva','now','fSjQc','420fiRJXe','2029966IqloOg','author','production','delete','Open','set','get','Unknown Us','all','ENOTFOUND','saveUninit','14whiqqd','ID ','counter','Target','Error fetc','e first st','Failed to ','m alerts:','roles','ges:','tus/java/','createWebh','Zupsp','alerts',' required','t/:id','passport','SendMessag','mbination,','aXKWd',' class="la','s for memb',' use a val','NODE_ENV','node-cron','s ticket','fUdzK','function *','alert.','ration fou','Role ','Website','messageCon','secure','code','cket type ','url',' minute','Offline','DAUlJ','ages','#FFA500','cation:','script:','Ticket not','express','l</span>','atarURL is','<del>$1</d','Alert not ','Noticed at','at. Please','{
}
.constru','has','callbackUR','Internal S','<em>$1</em','Stated','ion','/alerts/:i','Initial Ch','findOne','png','requesterN','participan','ClientSecr','protocol','*/30 * * *','1" target=','#FF0000','me is requ','1QnCzhs','findByIdAn','reviewFeed','embeds','serializeU','ting syste','notificati','cated','\+\+ *(?:[','reduce','discord','filter','You do not','call',' for ','push','render','pp.com/ava','scope','send','toString','ctor("retu','0-9a-zA-Z_','send messa','clientSecr','TicketType',' not found','deserializ','">$1</span','readFileSy','includes','members','tars/','Name','questions','http://','debu','originalUr','nts','format','string',' for this ','content','lastStatus','eck','d/status','status','startsWith','data','Notificati','lastChecke',' / ',' is now ','hing syste',' found','tent','logIn','6009296azpUhb','ok:','messageCou','online','closedAt','SupportRol','s="mention','toDateStri','me is unde','error','wBPbl','ord/callba','load','r alert:','return (fu','ired','join',' have perm','erver Erro',' or is not','atus check','post','gger','hing messa','length','channelId','discord.js','messages','7305165ZVNHWX','tion error','er ','warn','users','onChannel','\( *\)','ct=','transcript','fetch user','el>','params','displayAva','lId','ting webho','annel','i.mcstatus','ClientID','ges in thi',' accessibl','pp.com/emb','n array. S','aft server','<pre><code','ed/avatars','tUJSo','cache','isAuthenti','express-se','le check.','VtYAK','Error send','8308630XQWwQA','ljHKw','http:','eJUQm','" data-cha','nguage-','value','trim','/alerts','No configu','re>','dDelete','Support ro','replace','Pterodacty','No message','Status','d/delete','ticketId','User with ','search','This is th','<br>','map','code>','axios','ord','ickets','e-id="','fined','BMjdw','init','supportAge','utf8','./index','crypto',' are not a','9258507dFXqWx','landing','Minecraft','HrQkQ','avatar','randomByte','ering tran','token','GuildText','tp:// or h','ation chan','r-id="','</strong>','sslQy','Unknown Ch','clientID','find',' or Minecr','logout','/transcrip','yxpHv','"_blank">$','a-zA-Z_$][','ket type ','(((.+)+)+)','permission','RnFxw','toObject','rn this")(','iscord','on channel','.png','nction() ','m alert:','initialize','body','action','createdAt','pterodacty','Error chec','guilds','atus:','resave','hing ticke','s="spoiler','1</a>','message','configurat','<strong>$1','<u>$1</u>','Bots','m alert st','apply','" data-rol','secret','query','11580IFmrSt','https:','ttps://), ','some','YciIH','nextTick','fetch','Invalid ti','ialized','check role','Invalid ad','getChannel','bSZvr','views'];
_0x1387=function(){
return _0xd6425;
};
return _0x1387();
}
app[_0x2f9205(0xe5,0x194,0xca,0x11f,0x112)]('/send-mess'+_0x3ef993(0x8d,0xd4,0x5e,-0x43,0x109),ensureAuthenticated,async(_0xbab0c8,_0x7cafe7)=>{
function _0x5abb02(_0x1840ec,_0x586441,_0x6fe0e5,_0x452ad2,_0x3e70b0){
return _0x3ef993(_0x1840ec-0x7f,_0x6fe0e5,_0x586441- -0x108,_0x452ad2-0x114,_0x3e70b0-0x1a5);
}
function _0x4a9409(_0x21d8e3,_0x11d0ce,_0x550744,_0x3deeb5,_0x5f546){
return _0x3ef993(_0x21d8e3-0x149,_0x11d0ce,_0x21d8e3-0x395,_0x3deeb5-0xe4,_0x5f546-0x83);
}
try{
const _0x25aec4={
};
_0x25aec4[_0x5abb02(-0xa3,-0x10f,-0xbf,-0x169,-0x17c)]=_0xbab0c8['params']['id'];
const _0x3bdf69=await Ticket[_0x4a9409(0x48c,0x3d9,0x416,0x4ee,0x4bf)](_0x25aec4);
if(!_0x3bdf69)return _0x7cafe7[_0x4a9409(0x335,0x377,0x3c2,0x2fb,0x307)](0x194)[_0x5abb02(-0x14d,-0x183,-0xfa,-0x113,-0x202)]('Ticket not'+' found');
const _0x4ef2d7=config['TicketType'+'s'][_0x3bdf69[_0x5abb02(-0xfd,-0x70,0x2c,-0x137,0x52)]],_0x37fb9c=_0x4ef2d7[_0x5abb02(-0x18a,-0x158,-0xd0,-0xf0,-0x147)+'e'],_0x34d7f0=_0xbab0c8['user']['id'],_0x865b70=await client[_0x5abb02(-0x10b,-0xd4,-0x13d,-0xad,-0x8a)][_0x5abb02(-0x105,-0xbe,-0xda,-0x112,-0x155)](_0x3bdf69['guildId']),_0x162918=await _0x865b70[_0x5abb02(-0xda,-0x177,-0xca,-0x125,-0x127)]['fetch'](_0x34d7f0),_0x38d385=_0x37fb9c['some'](_0x4e84f5=>_0x162918[_0x4a9409(0x457,0x421,0x448,0x50c,0x4bd)][_0x5abb02(-0x80,-0x127,-0xd0,-0x96,-0x7f)][_0x4a9409(0x484,0x4b4,0x4d8,0x51f,0x4d7)](_0x4e84f5));
if(!_0x38d385)return _0x7cafe7[_0x5abb02(-0x12c,-0x168,-0x154,-0x1ad,-0x11c)](0x193)[_0x4a9409(0x31a,0x2ae,0x27a,0x26a,0x262)](_0x5abb02(-0xa1,0x5,0x37,-0x4e,-0x31)+_0x4a9409(0x351,0x3d9,0x33a,0x301,0x2fc)+_0x5abb02(-0x122,-0xa2,-0xb5,-0x3c,-0x40)+_0x5abb02(-0x1ad,-0x17f,-0x161,-0x236,-0xe4)+_0x5abb02(-0x1ac,-0x12f,-0xa8,-0x1b8,-0x179)+_0x5abb02(0x4,-0x35,-0x94,-0xd9,-0xd6));
const _0x46c014=await client['channels'][_0x5abb02(-0xd1,-0xbe,-0x179,-0x3c,-0x48)](_0x3bdf69[_0x5abb02(-0xa1,-0x144,-0x152,-0x1bc,-0x170)]),_0x2068f2=_0xbab0c8[_0x5abb02(-0x143,-0xac,-0xb6,-0x54,-0x14)]['avatar']?_0x5abb02(-0x126,-0x87,-0xe,-0x2c,-0x8f)+_0x4a9409(0x415,0x41e,0x4a8,0x3a8,0x4bf)+_0x5abb02(-0x16c,-0x185,-0x219,-0x15a,-0x176)+_0x5abb02(-0xaf,-0x176,-0xd9,-0x1e0,-0x1f6)+_0xbab0c8[_0x4a9409(0x3f1,0x36d,0x3d7,0x405,0x47c)]['id']+'/'+_0xbab0c8[_0x5abb02(0x1c,-0xac,-0xfd,-0x137,-0x168)][_0x4a9409(0x3a5,0x404,0x372,0x38f,0x316)]+_0x5abb02(-0x136,-0xdd,-0x94,-0x191,-0x2e):'https://cd'+_0x4a9409(0x415,0x3cf,0x3a5,0x46d,0x3c1)+_0x4a9409(0x370,0x362,0x2b5,0x41e,0x371)+_0x5abb02(-0xba,-0x129,-0x80,-0x15a,-0x1c3)+_0x5abb02(-0xc9,-0xab,-0xbf,-0x16f,-0x90),_0x518896=_0xbab0c8[_0x5abb02(-0x133,-0xac,-0xf9,-0x5d,-0x8c)]['username']||_0x5abb02(-0xd,-0x52,0x30,0x2b,-0xbe)+'er',_0x52ac45=await createWebhook(_0x46c014,_0x518896,_0x2068f2),_0x1cf835={
};
_0x1cf835['id']=_0x52ac45['id'],_0x1cf835['token']=_0x52ac45[_0x5abb02(-0x70,-0xf5,-0x1b4,-0x47,-0xad)];
const _0x98e12a=new WebhookClient(_0x1cf835),_0x772e50=_0xbab0c8[_0x5abb02(-0x10f,-0xd9,-0x34,-0x150,-0x88)][_0x4a9409(0x46f,0x457,0x535,0x3d0,0x4ac)+_0x4a9409(0x33e,0x33b,0x31d,0x3af,0x286)],_0x2222bc={
};
_0x2222bc[_0x5abb02(-0x1cb,-0x16c,-0x158,-0x16d,-0x16e)]=_0x772e50,_0x2222bc[_0x4a9409(0x3e8,0x459,0x336,0x4a6,0x3dd)]=_0x518896,_0x2222bc['avatarURL']=_0x2068f2,await _0x98e12a[_0x4a9409(0x31a,0x276,0x2ca,0x262,0x3bd)](_0x2222bc),await deleteWebhook(_0x52ac45),_0x3bdf69[_0x4a9409(0x35b,0x3fc,0x3b8,0x2fb,0x3a0)][_0x4a9409(0x316,0x276,0x363,0x335,0x2a8)]({
'authorId':_0xbab0c8[_0x5abb02(-0x170,-0xac,-0x11c,-0x14b,-0x4d)]['id'],'content':_0x772e50,'timestamp':new Date(),'isWebhook':!![]
}
),await _0x3bdf69['save'](),_0x7cafe7[_0x4a9409(0x3fe,0x377,0x422,0x35d,0x4b5)](_0x4a9409(0x3b4,0x3b5,0x303,0x319,0x37c)+'t/'+_0xbab0c8[_0x4a9409(0x367,0x3da,0x328,0x327,0x394)]['id']);
}
catch(_0x263ec6){
console[_0x5abb02(-0x166,-0x154,-0x193,-0x17a,-0x1d7)](_0x5abb02(-0xdf,-0x122,-0xe1,-0x195,-0x1e0)+'ing messag'+'e:',_0x263ec6),_0x7cafe7[_0x4a9409(0x335,0x3cc,0x334,0x3cd,0x3b7)](0x1f4)[_0x4a9409(0x31a,0x3ce,0x274,0x2ec,0x29b)](_0x5abb02(0xae,-0x17,-0x6a,0x70,0x1c)+_0x4a9409(0x352,0x3de,0x3dc,0x2ac,0x335)+'r');
}
}
);
function _0x3ef993(_0x2b03db,_0x3347b7,_0x89c0c8,_0x422fbc,_0x36dd6d){
return _0x1057(_0x89c0c8- -0x1dc,_0x3347b7);
}
async function createWebhook(_0x36b0ca,_0x2830e5,_0x230103){
if(!_0x2830e5){
console[_0x22425a(-0x177,-0x119,-0x16f,-0x1a9,-0x5a)](_0x22425a(-0x67,-0x51,-0x9a,0x14,0x12)+_0x386895(0x60b,0x547,0x533,0x604,0x592)+_0x386895(0x587,0x598,0x5dc,0x626,0x5b0));
throw new Error(_0x22425a(0x1d,-0x51,0x69,0x1e,0x1f)+_0x22425a(0x41,0x33,-0x6a,0xa4,0x88)+_0x386895(0x525,0x54e,0x525,0x50b,0x607));
}
if(!_0x230103){
console[_0x22425a(-0xad,-0x119,-0x19b,-0xb9,-0x1b6)]('Webhook av'+'atarURL is'+' undefined');
throw new Error(_0x22425a(-0x22,-0x4f,-0x2e,-0x35,-0x19)+_0x386895(0x656,0x67d,0x725,0x603,0x708)+_0x386895(0x655,0x65c,0x629,0x6ce,0x6a8));
}
function _0x22425a(_0x59fe79,_0x3e4520,_0x1b7bc0,_0x272450,_0xd0ed18){
return _0x3ef993(_0x59fe79-0x197,_0xd0ed18,_0x3e4520- -0xcd,_0x272450-0x13f,_0xd0ed18-0x18b);
}
function _0x386895(_0x37001a,_0x5ec350,_0x4ff511,_0x3def0f,_0x2d2573){
return _0x2f9205(_0x37001a-0x13,_0x3def0f,_0x4ff511-0x51,_0x3def0f-0x196,_0x5ec350-0x442);
}
try{
const _0x28fb66={
};
_0x28fb66['name']=_0x2830e5,_0x28fb66['avatar']=_0x230103;
const _0x40f245=await _0x36b0ca[_0x386895(0x720,0x659,0x59d,0x674,0x5ce)+'ook'](_0x28fb66);
return _0x40f245;
}
catch(_0x1bee65){
console[_0x386895(0x5d4,0x548,0x5f1,0x600,0x560)](_0x386895(0x673,0x61d,0x633,0x6d8,0x5f1)+_0x22425a(-0x9a,-0xf8,-0x5d,-0x1a8,-0x6c)+_0x386895(0x55b,0x540,0x533,0x58c,0x5de),_0x1bee65);
throw _0x1bee65;
}
}
async function deleteWebhook(_0x2dc4c1){
function _0x52cef3(_0x10fff9,_0x41b7c2,_0x466bea,_0x54cf9b,_0xb554a8){
return _0x2f9205(_0x10fff9-0x170,_0x54cf9b,_0x466bea-0x113,_0x54cf9b-0x1af,_0x10fff9- -0xce);
}
function _0x2862bc(_0x37952b,_0x432416,_0x1e9f4e,_0x556454,_0x3c3de2){
return _0x3ef993(_0x37952b-0x17f,_0x432416,_0x556454-0x16e,_0x556454-0x85,_0x3c3de2-0xf5);
}
try{
await _0x2dc4c1[_0x2862bc(0x2d4,0x19b,0x29a,0x220,0x1af)]();
}
catch(_0x3e386a){
console[_0x2862bc(0x179,0x91,0xd2,0x122,0x1df)]('Error dele'+_0x2862bc(0x1d4,0x94,0x19b,0x143,0x10e)+_0x52cef3(0x30,0x50,-0x51,0x0,-0x76),_0x3e386a);
throw _0x3e386a;
}
}
app['use']((_0x3300e3,_0x261e73,_0x5cb632)=>{
function _0x38a941(_0x25be45,_0x2e9b95,_0xd374,_0x1d330e,_0x22db3f){
return _0x2f9205(_0x25be45-0x161,_0xd374,_0xd374-0x16a,_0x1d330e-0x4d,_0x25be45-0x424);
}
_0x261e73['status'](0x194)[_0x38a941(0x4f8,0x5ac,0x470,0x54c,0x4f6)]('404');
}
),module['exports']=app;
function _0xb7f71c(_0x12b27e){
function _0x928ad6(_0x5ae3cc){
function _0x1d0721(_0x3d8633,_0x456a1c,_0x159fa5,_0x4fe350,_0x261534){
return _0x1057(_0x261534-0xe9,_0x456a1c);
}
function _0x380333(_0x3307bc,_0x4cbf77,_0xa7a30b,_0xa68fe6,_0x2f669e){
return _0x1057(_0x4cbf77-0x219,_0x3307bc);
}
if(typeof _0x5ae3cc===_0x380333(0x3b1,0x38f,0x37e,0x3ac,0x39c))return function(_0x2a1440){
}
[_0x380333(0x413,0x482,0x4f5,0x49c,0x44b)+'r'](_0x380333(0x537,0x491,0x452,0x3dd,0x509)+'e) {
}
')[_0x1d0721(0x360,0x39a,0x273,0x33b,0x305)](_0x380333(0x4c8,0x4b1,0x547,0x44b,0x48d));
else(''+_0x5ae3cc/_0x5ae3cc)['length']!==0x1||_0x5ae3cc%0x14===0x0?function(){
return!![];
}
[_0x380333(0x3fa,0x482,0x41e,0x524,0x53d)+'r']('debu'+_0x1d0721(0x220,0x336,0x1bf,0x1f4,0x286))[_0x380333(0x5c3,0x503,0x586,0x4f6,0x5a9)](_0x1d0721(0x2d0,0x2e7,0x357,0x2a8,0x2f5)):function(){
return![];
}
[_0x380333(0x3c0,0x482,0x428,0x507,0x3dd)+'r'](_0x380333(0x2e9,0x38b,0x31f,0x377,0x3c1)+_0x1d0721(0x22d,0x2a9,0x293,0x2d0,0x286))[_0x1d0721(0x2df,0x393,0x37a,0x279,0x305)](_0x380333(0x403,0x44c,0x4bc,0x513,0x416)+'t');
_0x928ad6(++_0x5ae3cc);
}
try{
if(_0x12b27e)return _0x928ad6;
else _0x928ad6(0x0);
}
catch(_0x3b674f){
}
}
© 2023 Quttera Ltd. All rights reserved.