1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x6dc0=['./voiceQueueReport.events','remove','update','removeListener','length','voiceQueueReport:'];(function(_0x6fc37a,_0x44c1e0){var _0x50fba8=function(_0x444c94){while(--_0x444c94){_0x6fc37a['push'](_0x6fc37a['shift']());}};_0x50fba8(++_0x44c1e0);}(_0x6dc0,0x18c));var _0x06dc=function(_0x2fc552,_0x34f4af){_0x2fc552=_0x2fc552-0x0;var _0x348b86=_0x6dc0[_0x2fc552];return _0x348b86;};'use strict';var VoiceQueueReportEvents=require(_0x06dc('0x0'));var events=['save',_0x06dc('0x1'),_0x06dc('0x2')];function createListener(_0x4434e2,_0xc40894){return function(_0x414760){_0xc40894['emit'](_0x4434e2,_0x414760);};}function removeListener(_0x4effcf,_0x2cad0f){return function(){VoiceQueueReportEvents[_0x06dc('0x3')](_0x4effcf,_0x2cad0f);};}exports['register']=function(_0x45a093){for(var _0x26b287=0x0,_0x4ac3b4=events[_0x06dc('0x4')];_0x26b287<_0x4ac3b4;_0x26b287++){var _0x523fb5=events[_0x26b287];var _0xeac52b=createListener(_0x06dc('0x5')+_0x523fb5,_0x45a093);VoiceQueueReportEvents['on'](_0x523fb5,_0xeac52b);}};