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 _0xc328=['update','emit','removeListener','register','length','dashboard:','./dashboard.events','save','remove'];(function(_0x193c51,_0x5bcc16){var _0x1174e3=function(_0x196363){while(--_0x196363){_0x193c51['push'](_0x193c51['shift']());}};_0x1174e3(++_0x5bcc16);}(_0xc328,0x1a4));var _0x8c32=function(_0x12ea23,_0xf7ad9f){_0x12ea23=_0x12ea23-0x0;var _0x1eece9=_0xc328[_0x12ea23];return _0x1eece9;};'use strict';var DashboardEvents=require(_0x8c32('0x0'));var events=[_0x8c32('0x1'),_0x8c32('0x2'),_0x8c32('0x3')];function createListener(_0x3a49d2,_0x505673){return function(_0x1fba4b){_0x505673[_0x8c32('0x4')](_0x3a49d2,_0x1fba4b);};}function removeListener(_0x51879e,_0x54e22b){return function(){DashboardEvents[_0x8c32('0x5')](_0x51879e,_0x54e22b);};}exports[_0x8c32('0x6')]=function(_0x180f53){for(var _0x3e2bab=0x0,_0x5858f7=events[_0x8c32('0x7')];_0x3e2bab<_0x5858f7;_0x3e2bab++){var _0x115fe1=events[_0x3e2bab];var _0x3d8ce0=createListener(_0x8c32('0x8')+_0x115fe1,_0x180f53);DashboardEvents['on'](_0x115fe1,_0x3d8ce0);}};