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 _0xf749=['remove','update','emit','removeListener','length','dashboard:','./dashboard.events','save'];(function(_0x1e05c1,_0x3cffa3){var _0x15f1ca=function(_0x3a9594){while(--_0x3a9594){_0x1e05c1['push'](_0x1e05c1['shift']());}};_0x15f1ca(++_0x3cffa3);}(_0xf749,0x1de));var _0x9f74=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0xf749[_0x4e676e];return _0x336a3c;};'use strict';var DashboardEvents=require(_0x9f74('0x0'));var events=[_0x9f74('0x1'),_0x9f74('0x2'),_0x9f74('0x3')];function createListener(_0x51a983,_0x46af12){return function(_0x6bb73c){_0x46af12[_0x9f74('0x4')](_0x51a983,_0x6bb73c);};}function removeListener(_0x130467,_0x44e883){return function(){DashboardEvents[_0x9f74('0x5')](_0x130467,_0x44e883);};}exports['register']=function(_0x197fda){for(var _0x41e4b8=0x0,_0x14c70d=events[_0x9f74('0x6')];_0x41e4b8<_0x14c70d;_0x41e4b8++){var _0x194f9a=events[_0x41e4b8];var _0x465b9b=createListener(_0x9f74('0x7')+_0x194f9a,_0x197fda);DashboardEvents['on'](_0x194f9a,_0x465b9b);}};