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 _0x4c4a=['length','voiceQueueReport:','./voiceQueueReport.events','save','remove','emit','register'];(function(_0x32814c,_0x2a68f5){var _0x394c8d=function(_0x10d48e){while(--_0x10d48e){_0x32814c['push'](_0x32814c['shift']());}};_0x394c8d(++_0x2a68f5);}(_0x4c4a,0x1d0));var _0xa4c4=function(_0x3e39b0,_0x1559bd){_0x3e39b0=_0x3e39b0-0x0;var _0x3c3958=_0x4c4a[_0x3e39b0];return _0x3c3958;};'use strict';var VoiceQueueReportEvents=require(_0xa4c4('0x0'));var events=[_0xa4c4('0x1'),_0xa4c4('0x2'),'update'];function createListener(_0x525a99,_0xa48db1){return function(_0x2da8a8){_0xa48db1[_0xa4c4('0x3')](_0x525a99,_0x2da8a8);};}function removeListener(_0x513255,_0x38fa20){return function(){VoiceQueueReportEvents['removeListener'](_0x513255,_0x38fa20);};}exports[_0xa4c4('0x4')]=function(_0x11aded){for(var _0x5ca539=0x0,_0x557596=events[_0xa4c4('0x5')];_0x5ca539<_0x557596;_0x5ca539++){var _0x553525=events[_0x5ca539];var _0x27b877=createListener(_0xa4c4('0x6')+_0x553525,_0x11aded);VoiceQueueReportEvents['on'](_0x553525,_0x27b877);}};