1 var _0x4e14=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x4e14[0];var MailQueueEvents=require(_0x4e14[1]);var MailQueue=require(_0x4e14[3])[_0x4e14[2]];var User=require(_0x4e14[3])[_0x4e14[4]];var Util=require(_0x4e14[5]);var _=require(_0x4e14[6]);var Promise=require(_0x4e14[7]);var events=[_0x4e14[8],_0x4e14[9]];exports[_0x4e14[10]]= function(_0xc8dbx8){for(var _0xc8dbx9=0,_0xc8dbxa=events[_0x4e14[11]];_0xc8dbx9< _0xc8dbxa;_0xc8dbx9++){var _0xc8dbxb=events[_0xc8dbx9];var _0xc8dbxc=createListener(_0x4e14[12]+ _0xc8dbxb,_0xc8dbx8);MailQueueEvents[_0x4e14[13]](_0xc8dbxb,_0xc8dbxc);_0xc8dbx8[_0x4e14[13]](_0x4e14[14],removeListener(_0xc8dbxb,_0xc8dbxc))}};function createListener(_0xc8dbxb,_0xc8dbx8){return function(_0xc8dbxe){switch(_0xc8dbxb){case _0x4e14[20]:if(_0xc8dbx8[_0x4e14[15]]=== _0x4e14[16]){_0xc8dbx8[_0x4e14[18]](_0xc8dbxe[_0x4e14[17]]);_0xc8dbx8[_0x4e14[19]](_0xc8dbxb,_0xc8dbxe)};break;case _0x4e14[27]:return Promise[_0x4e14[26]]()[_0x4e14[25]](getMailQueues(_0xc8dbx8))[_0x4e14[25]](function(_0xc8dbx10){if(_[_0x4e14[24]](_0xc8dbx10,_0xc8dbxe[_0x4e14[17]])){_0xc8dbx8[_0x4e14[19]](_0xc8dbxb,_0xc8dbxe)}})[_0x4e14[23]](function(_0xc8dbxf){console[_0x4e14[22]](_0x4e14[21],_0xc8dbxf)});break;case _0x4e14[29]:_0xc8dbx8[_0x4e14[28]](_0xc8dbxe[_0x4e14[17]]);_0xc8dbx8[_0x4e14[19]](_0xc8dbxb,_0xc8dbxe);break;default:}}}function removeListener(_0xc8dbxb,_0xc8dbxc){return function(){MailQueueEvents[_0x4e14[30]](_0xc8dbxb,_0xc8dbxc)}}function getMailQueues(_0xc8dbx13){return function(){switch(_0xc8dbx13[_0x4e14[15]]){case _0x4e14[37]:return User[_0x4e14[36]](_0xc8dbx13[_0x4e14[34]],{attributes:[_0x4e14[35]]})[_0x4e14[25]](Util[_0x4e14[33]]())[_0x4e14[25]](function(_0xc8dbx10){return _[_0x4e14[32]](_0xc8dbx10[_0x4e14[31]],_0x4e14[17])});case _0x4e14[16]:return MailQueue[_0x4e14[38]]()[_0x4e14[25]](function(_0xc8dbx14){return {rows:_0xc8dbx14}})[_0x4e14[25]](function(_0xc8dbx10){return _[_0x4e14[32]](_0xc8dbx10[_0x4e14[31]],_0x4e14[17])});default:return []}}}