29439f365e0a32d2e8d5933ad10c70494f8462e8
[motion.git] / server / api / mail_account / mail_account.socket.js
1 var _0x4a5b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x65\x76\x65\x6E\x74\x73","\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\x61\x63\x63\x6F\x75\x6E\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x4a5b[0];const MailAccountEvents=require(_0x4a5b[1]);var events=[_0x4a5b[2],_0x4a5b[3]];exports[_0x4a5b[4]]= function(_0xa94ax3){for(var _0xa94ax4=0,_0xa94ax5=events[_0x4a5b[5]];_0xa94ax4< _0xa94ax5;_0xa94ax4++){var _0xa94ax6=events[_0xa94ax4];var _0xa94ax7=createListener(_0x4a5b[6]+ _0xa94ax6,_0xa94ax3);MailAccountEvents[_0x4a5b[7]](_0xa94ax6,_0xa94ax7);_0xa94ax3[_0x4a5b[7]](_0x4a5b[8],removeListener(_0xa94ax6,_0xa94ax7))}};function createListener(_0xa94ax6,_0xa94ax3){return function(_0xa94ax9){_0xa94ax3[_0x4a5b[9]](_0xa94ax6,_0xa94ax9)}}function removeListener(_0xa94ax6,_0xa94ax7){return function(){MailAccountEvents[_0x4a5b[10]](_0xa94ax6,_0xa94ax7)}}