Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / api / voiceQueue / voiceQueue.socket.js
1 const a757_0x196b=['voiceQueue:','register','emit','remove','length','./voiceQueue.events','save'];(function(_0x42bb95,_0x196b28){const _0x2e648b=function(_0x1a9100){while(--_0x1a9100){_0x42bb95['push'](_0x42bb95['shift']());}};_0x2e648b(++_0x196b28);}(a757_0x196b,0xab));const a757_0x2e64=function(_0x42bb95,_0x196b28){_0x42bb95=_0x42bb95-0x0;let _0x2e648b=a757_0x196b[_0x42bb95];return _0x2e648b;};const _0x4ea061=a757_0x2e64;'use strict';const VoiceQueueEvents=require(_0x4ea061('0x2')),events=[_0x4ea061('0x3'),_0x4ea061('0x0'),'update'];function createListener(_0x1a9100,_0x382c42){return function(_0x3d9f65){const _0xf8a436=a757_0x2e64;_0x382c42[_0xf8a436('0x6')](_0x1a9100,_0x3d9f65);};}exports[_0x4ea061('0x5')]=function(_0xf4d362){const _0x13e242=_0x4ea061;for(let _0x1b44d8=0x0,_0xe41d2f=events[_0x13e242('0x1')];_0x1b44d8<_0xe41d2f;_0x1b44d8++){const _0x354cc9=events[_0x1b44d8],_0x1f198b=createListener(_0x13e242('0x4')+_0x354cc9,_0xf4d362);VoiceQueueEvents['on'](_0x354cc9,_0x1f198b);}};