1e41203403694eea598724538fbe90f43c9571f4
[motion.git] / server / api / sms_message / sms_message.socket.js
1 var _0x97cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\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","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x97cb[0];const SmsMessageEvents=require(_0x97cb[1]);var events=[_0x97cb[2],_0x97cb[3],_0x97cb[4]];exports[_0x97cb[5]]= function(_0x9306x3){for(var _0x9306x4=0,_0x9306x5=events[_0x97cb[6]];_0x9306x4< _0x9306x5;_0x9306x4++){var _0x9306x6=events[_0x9306x4];var _0x9306x7=createListener(_0x97cb[7]+ _0x9306x6,_0x9306x3);SmsMessageEvents[_0x97cb[8]](_0x9306x6,_0x9306x7);_0x9306x3[_0x97cb[8]](_0x97cb[9],removeListener(_0x9306x6,_0x9306x7))}};function createListener(_0x9306x6,_0x9306x3){return function(_0x9306x9){switch(_0x9306x6){case _0x97cb[11]:_0x9306x3[_0x97cb[10]](_0x9306x6,_0x9306x9);break;case _0x97cb[14]:if(_0x9306x9[_0x97cb[13]](_0x97cb[12])){_0x9306x3[_0x97cb[10]](_0x9306x6,_0x9306x9)};break;case _0x97cb[15]:_0x9306x3[_0x97cb[10]](_0x9306x6,_0x9306x9);break;default:}}}function removeListener(_0x9306x6,_0x9306x7){return function(){SmsMessageEvents[_0x97cb[16]](_0x9306x6,_0x9306x7)}}