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 _0xf737=['remove','update','emit','removeListener','register','length','dashboard:','./dashboard.events','save'];(function(_0x1b7536,_0x4356f9){var _0x3b0724=function(_0x2fa02e){while(--_0x2fa02e){_0x1b7536['push'](_0x1b7536['shift']());}};_0x3b0724(++_0x4356f9);}(_0xf737,0x115));var _0x7f73=function(_0x12a993,_0x4accd6){_0x12a993=_0x12a993-0x0;var _0x155546=_0xf737[_0x12a993];return _0x155546;};'use strict';var DashboardEvents=require(_0x7f73('0x0'));var events=[_0x7f73('0x1'),_0x7f73('0x2'),_0x7f73('0x3')];function createListener(_0x46759c,_0x8f10e8){return function(_0x71d606){_0x8f10e8[_0x7f73('0x4')](_0x46759c,_0x71d606);};}function removeListener(_0x402860,_0x146f64){return function(){DashboardEvents[_0x7f73('0x5')](_0x402860,_0x146f64);};}exports[_0x7f73('0x6')]=function(_0x464ad8){for(var _0x128788=0x0,_0x113245=events[_0x7f73('0x7')];_0x128788<_0x113245;_0x128788++){var _0x4c7706=events[_0x128788];var _0x422302=createListener(_0x7f73('0x8')+_0x4c7706,_0x464ad8);DashboardEvents['on'](_0x4c7706,_0x422302);}};