c6f2838cdf5764787dcbe3514bffe6ae0b0985e9
[motion-next.git] / server / api / voiceQueueReport / voiceQueueReport.socket.js
1 const a764_0x59a4=['update','register','voiceQueueReport:','./voiceQueueReport.events','save','remove','length'];(function(_0x110958,_0x59a4cd){const _0x57fe4c=function(_0x5d6e47){while(--_0x5d6e47){_0x110958['push'](_0x110958['shift']());}};_0x57fe4c(++_0x59a4cd);}(a764_0x59a4,0x1c0));const a764_0x57fe=function(_0x110958,_0x59a4cd){_0x110958=_0x110958-0x0;let _0x57fe4c=a764_0x59a4[_0x110958];return _0x57fe4c;};const _0x42989b=a764_0x57fe;'use strict';const VoiceQueueReportEvents=require(_0x42989b('0x3')),events=[_0x42989b('0x4'),_0x42989b('0x5'),_0x42989b('0x0')];function createListener(_0x5d6e47,_0x119182){return function(_0xcf9c1a){_0x119182['emit'](_0x5d6e47,_0xcf9c1a);};}exports[_0x42989b('0x1')]=function(_0x2fe451){const _0x14e263=_0x42989b;for(let _0x1a6461=0x0,_0x38c769=events[_0x14e263('0x6')];_0x1a6461<_0x38c769;_0x1a6461++){const _0x1746cb=events[_0x1a6461],_0xfcfbec=createListener(_0x14e263('0x2')+_0x1746cb,_0x2fe451);VoiceQueueReportEvents['on'](_0x1746cb,_0xfcfbec);}};