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 _0xf22d=['./voiceQueueReport.events','remove','update','emit','removeListener','register','length','voiceQueueReport:'];(function(_0x4c98b9,_0x1ad11b){var _0x3a257a=function(_0x147857){while(--_0x147857){_0x4c98b9['push'](_0x4c98b9['shift']());}};_0x3a257a(++_0x1ad11b);}(_0xf22d,0x150));var _0xdf22=function(_0x26a906,_0x3d135c){_0x26a906=_0x26a906-0x0;var _0x495575=_0xf22d[_0x26a906];return _0x495575;};'use strict';var VoiceQueueReportEvents=require(_0xdf22('0x0'));var events=['save',_0xdf22('0x1'),_0xdf22('0x2')];function createListener(_0x378670,_0x5049eb){return function(_0x1c4de5){_0x5049eb[_0xdf22('0x3')](_0x378670,_0x1c4de5);};}function removeListener(_0x11f04d,_0x4b278b){return function(){VoiceQueueReportEvents[_0xdf22('0x4')](_0x11f04d,_0x4b278b);};}exports[_0xdf22('0x5')]=function(_0x53dc0a){for(var _0x1247c4=0x0,_0x3b0f27=events[_0xdf22('0x6')];_0x1247c4<_0x3b0f27;_0x1247c4++){var _0x109140=events[_0x1247c4];var _0x74e303=createListener(_0xdf22('0x7')+_0x109140,_0x53dc0a);VoiceQueueReportEvents['on'](_0x109140,_0x74e303);}};