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 _0x9973=['emit','removeListener','length','save','remove'];(function(_0xff8595,_0x39341d){var _0x31e49e=function(_0x23ee7b){while(--_0x23ee7b){_0xff8595['push'](_0xff8595['shift']());}};_0x31e49e(++_0x39341d);}(_0x9973,0x157));var _0x3997=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x9973[_0x2c91e9];return _0x13f0ff;};'use strict';var VoiceQueueReportEvents=require('./voiceQueueReport.events');var events=[_0x3997('0x0'),_0x3997('0x1'),'update'];function createListener(_0x3e174d,_0x403ff4){return function(_0x7e051d){_0x403ff4[_0x3997('0x2')](_0x3e174d,_0x7e051d);};}function removeListener(_0x873171,_0x30c504){return function(){VoiceQueueReportEvents[_0x3997('0x3')](_0x873171,_0x30c504);};}exports['register']=function(_0x48c26c){for(var _0x320340=0x0,_0x114d26=events[_0x3997('0x4')];_0x320340<_0x114d26;_0x320340++){var _0x483d44=events[_0x320340];var _0x569ddf=createListener('voiceQueueReport:'+_0x483d44,_0x48c26c);VoiceQueueReportEvents['on'](_0x483d44,_0x569ddf);}};