2ea381a9efbf918200d58b7aa900c4bf1a000c3f
[motion.git] / server / api / report_fax / report_fax.socket.js
1 var _0x37b1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x37b1[0];const ReportFaxEvents=require(_0x37b1[1]);var events=[_0x37b1[2],_0x37b1[3],_0x37b1[4]];exports[_0x37b1[5]]= function(_0xecaex3){for(var _0xecaex4=0,_0xecaex5=events[_0x37b1[6]];_0xecaex4< _0xecaex5;_0xecaex4++){var _0xecaex6=events[_0xecaex4];var _0xecaex7=createListener(_0x37b1[7]+ _0xecaex6,_0xecaex3);ReportFaxEvents[_0x37b1[8]](_0xecaex6,_0xecaex7);_0xecaex3[_0x37b1[8]](_0x37b1[9],removeListener(_0xecaex6,_0xecaex7))}};function createListener(_0xecaex6,_0xecaex3){return function(_0xecaex9){switch(_0xecaex6){case _0x37b1[10]:;case _0x37b1[16]:if(_0xecaex3[_0x37b1[11]]=== _0xecaex9[_0x37b1[12]]|| _0xecaex3[_0x37b1[13]]!== _0x37b1[14]){_0xecaex3[_0x37b1[15]](_0xecaex6,_0xecaex9)};break;case _0x37b1[17]:_0xecaex3[_0x37b1[15]](_0xecaex6,_0xecaex9);break;default:}}}function removeListener(_0xecaex6,_0xecaex7){return function(){ReportFaxEvents[_0x37b1[18]](_0xecaex6,_0xecaex7)}}