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 _0xa994=['./voiceQueueReport.events','save','remove','update','emit','removeListener','register','length'];(function(_0x392e28,_0xacb4d3){var _0x14263b=function(_0x2f478a){while(--_0x2f478a){_0x392e28['push'](_0x392e28['shift']());}};_0x14263b(++_0xacb4d3);}(_0xa994,0x140));var _0x4a99=function(_0x42e569,_0xf64d0a){_0x42e569=_0x42e569-0x0;var _0xab8f42=_0xa994[_0x42e569];return _0xab8f42;};'use strict';var VoiceQueueReportEvents=require(_0x4a99('0x0'));var events=[_0x4a99('0x1'),_0x4a99('0x2'),_0x4a99('0x3')];function createListener(_0x18992e,_0x26dacf){return function(_0x37be96){_0x26dacf[_0x4a99('0x4')](_0x18992e,_0x37be96);};}function removeListener(_0x1e9914,_0xfa99ed){return function(){VoiceQueueReportEvents[_0x4a99('0x5')](_0x1e9914,_0xfa99ed);};}exports[_0x4a99('0x6')]=function(_0x5e3237){for(var _0xd3c739=0x0,_0x3d2643=events[_0x4a99('0x7')];_0xd3c739<_0x3d2643;_0xd3c739++){var _0xe477eb=events[_0xd3c739];var _0x567c1d=createListener('voiceQueueReport:'+_0xe477eb,_0x5e3237);VoiceQueueReportEvents['on'](_0xe477eb,_0x567c1d);}};