Built motion from commit ec3309576.|1.0.33
[motion.git] / server / api / user_has_sms_queue / user_has_sms_queue_permit.socket.js
1 var _0xce29=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\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","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x6A\x6F\x69\x6E","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x73\x61\x76\x65","\x6C\x65\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xce29[0];const UserHasSmsQueuePermitEvents=require(_0xce29[1]);var events=[_0xce29[2],_0xce29[3]];exports[_0xce29[4]]= function(_0xd098x3){for(var _0xd098x4=0,_0xd098x5=events[_0xce29[5]];_0xd098x4< _0xd098x5;_0xd098x4++){var _0xd098x6=events[_0xd098x4];var _0xd098x7=createListener(_0xce29[6]+ _0xd098x6,_0xd098x3);UserHasSmsQueuePermitEvents[_0xce29[7]](_0xd098x6,_0xd098x7);_0xd098x3[_0xce29[7]](_0xce29[8],removeListener(_0xd098x6,_0xd098x7))}};function createListener(_0xd098x6,_0xd098x3){return function(_0xd098x9){switch(_0xd098x6){case _0xce29[14]:if(_0xd098x3[_0xce29[9]]=== _0xd098x9[_0xce29[10]]){_0xd098x3[_0xce29[11]](_0xd098x9.VoiceQueueName);_0xd098x3[_0xce29[13]](_0xce29[12])};break;case _0xce29[16]:if(_0xd098x3[_0xce29[9]]=== _0xd098x9[_0xce29[10]]){_0xd098x3[_0xce29[15]](_0xd098x9.VoiceQueueName);_0xd098x3[_0xce29[13]](_0xce29[12])};break;default:}}}function removeListener(_0xd098x6,_0xd098x7){return function(){UserHasSmsQueuePermitEvents[_0xce29[17]](_0xd098x6,_0xd098x7)}}