1 var _0xd096=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x61\x69\x6C\x2D\x6C\x69\x73\x74\x65\x6E\x65\x72\x32","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x72\x67\x76","\x70\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x61\x74\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x73\x65\x6E\x64","\x6D\x61\x69\x6C","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x4E\x45\x57\x20\x4D\x53\x47\x20\x46\x52\x4F\x4D\x20\x25\x73\x20","\x3B","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x6D\x61\x70","\x74\x79\x70\x65","\x6D\x73\x67","\x6D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E\x49\x64","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x52\x52\x52\x4F\x52\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x45\x52\x52\x4F\x52","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x73\x65\x72\x76\x65\x72\x3A\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x6F\x70","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x73\x65\x72\x76\x65\x72\x3A\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x70\x61\x73\x73\x77\x6F\x72\x64","\x68\x6F\x73\x74","\x70\x6F\x72\x74","\x73\x73\x6C","\x6D\x61\x69\x6C\x62\x6F\x78","\x66\x69\x6C\x74\x65\x72","\x63\x6F\x6E\x6E\x54\x69\x6D\x65\x6F\x75\x74","\x61\x75\x74\x68\x54\x69\x6D\x65\x6F\x75\x74","\x6B\x65\x65\x70\x61\x6C\x69\x76\x65","\x69\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x74\x61\x72\x74","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0xd096[0];var util=require(_0xd096[1]);var path=require(_0xd096[2]);var _=require(_0xd096[3]);var Promise=require(_0xd096[4]);var ImapListener=require(_0xd096[5]);var writeFile=Promise[_0xd096[8]](require(_0xd096[7])[_0xd096[6]]);var config=require(_0xd096[9]);var Server=require(_0xd096[11])[_0xd096[10]];var Room=require(_0xd096[11])[_0xd096[12]];var Message=require(_0xd096[11])[_0xd096[13]];var Account=require(_0xd096[11])[_0xd096[14]];var Attachment=require(_0xd096[11])[_0xd096[15]];var imap;var timeout;process[_0xd096[17]](_0xd096[18],function(_0x5b13x10){console[_0xd096[23]](util[_0xd096[22]](_0xd096[19],process[_0xd096[20]][3],_0x5b13x10,process[_0xd096[21]]))})[_0xd096[17]](_0xd096[16],function(_0x5b13xf){console[_0xd096[16]](_0x5b13xf)});console[_0xd096[23]](util[_0xd096[22]](_0xd096[24],process[_0xd096[20]][3],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[26]});function onSave(_0x5b13x12){imap= new ImapListener({username:_0x5b13x12[_0xd096[40]],password:_0x5b13x12[_0xd096[50]],host:_0x5b13x12[_0xd096[51]],port:_0x5b13x12[_0xd096[52]],tls:_0x5b13x12[_0xd096[53]],tlsOptions:{rejectUnauthorized:false},mailbox:_0x5b13x12[_0xd096[54]],searchFilter:[_0x5b13x12[_0xd096[55]]],markSeen:true,fetchUnreadOnStart:true,connTimeout:_0x5b13x12[_0xd096[56]],authTimeout:_0x5b13x12[_0xd096[57]],keepalive:_0x5b13x12[_0xd096[58]]})[_0xd096[17]](_0xd096[47],function(){console[_0xd096[23]](util[_0xd096[22]](_0xd096[48],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[49]})})[_0xd096[17]](_0xd096[43],function(){console[_0xd096[23]](util[_0xd096[22]](_0xd096[44],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));imap[_0xd096[45]]();imap=null;process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[46]})})[_0xd096[17]](_0xd096[16],function(_0x5b13xf){console[_0xd096[23]](util[_0xd096[22]](_0xd096[39],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[41],source:JSON[_0xd096[42]](_0x5b13xf)})})[_0xd096[17]](_0xd096[28],function(_0x5b13x13,_0x5b13x14,_0x5b13x15){console[_0xd096[23]](util[_0xd096[22]](_0xd096[29],process[_0xd096[20]][3],_[_0xd096[34]](_0x5b13x13[_0xd096[32]],_0xd096[33])[_0xd096[31]](_0xd096[30])));_0x5b13x13[_0xd096[35]]=_0xd096[36];_0x5b13x13[_0xd096[37]]=imap[_0xd096[37]];_0x5b13x13[_0xd096[38]]=imap[_0xd096[38]];process[_0xd096[27]](_0x5b13x13)});imap[_0xd096[37]]=_0x5b13x12[_0xd096[59]];imap[_0xd096[38]]=_0x5b13x12[_0xd096[60]];imap[_0xd096[61]]()}Server[_0xd096[64]](process[_0xd096[20]][2])[_0xd096[63]](function(_0x5b13x12){onSave(_0x5b13x12)})[_0xd096[62]](function(_0x5b13xf){console[_0xd096[16]](_0x5b13xf)})