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 _0xe444=['./voiceQueueReport.events','save','emit','removeListener','register','length','voiceQueueReport:'];(function(_0x2d3d40,_0x2f6e9e){var _0xec2cee=function(_0x4765fc){while(--_0x4765fc){_0x2d3d40['push'](_0x2d3d40['shift']());}};_0xec2cee(++_0x2f6e9e);}(_0xe444,0xe0));var _0x4e44=function(_0x54d241,_0x527a05){_0x54d241=_0x54d241-0x0;var _0xbe1c65=_0xe444[_0x54d241];return _0xbe1c65;};'use strict';var VoiceQueueReportEvents=require(_0x4e44('0x0'));var events=[_0x4e44('0x1'),'remove','update'];function createListener(_0x234992,_0x31b323){return function(_0x33fde8){_0x31b323[_0x4e44('0x2')](_0x234992,_0x33fde8);};}function removeListener(_0x5aa738,_0x4c8454){return function(){VoiceQueueReportEvents[_0x4e44('0x3')](_0x5aa738,_0x4c8454);};}exports[_0x4e44('0x4')]=function(_0x31b783){for(var _0x59c7d1=0x0,_0x276d09=events[_0x4e44('0x5')];_0x59c7d1<_0x276d09;_0x59c7d1++){var _0x1af927=events[_0x59c7d1];var _0x5c021f=createListener(_0x4e44('0x6')+_0x1af927,_0x31b783);VoiceQueueReportEvents['on'](_0x1af927,_0x5c021f);}};