Built motion from commit d158d3d63.|1.0.25
[motion.git] / server / api / mail_attachment / mail_attachment.socket.js
1 var _0x37ba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\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\x74\x74\x61\x63\x68\x6D\x65\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"];_0x37ba[0];const MailAttachmentEvents=require(_0x37ba[1]);var events=[_0x37ba[2],_0x37ba[3]];exports[_0x37ba[4]]= function(_0x760fx3){for(var _0x760fx4=0,_0x760fx5=events[_0x37ba[5]];_0x760fx4< _0x760fx5;_0x760fx4++){var _0x760fx6=events[_0x760fx4];var _0x760fx7=createListener(_0x37ba[6]+ _0x760fx6,_0x760fx3);MailAttachmentEvents[_0x37ba[7]](_0x760fx6,_0x760fx7);_0x760fx3[_0x37ba[7]](_0x37ba[8],removeListener(_0x760fx6,_0x760fx7))}};function createListener(_0x760fx6,_0x760fx3){return function(_0x760fx9){_0x760fx3[_0x37ba[9]](_0x760fx6,_0x760fx9)}}function removeListener(_0x760fx6,_0x760fx7){return function(){MailAttachmentEvents[_0x37ba[10]](_0x760fx6,_0x760fx7)}}