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 _0x10e6=['save','remove','update','emit','length','dashboardItem:','./dashboardItem.events'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x10e6,0x179));var _0x610e=function(_0x228641,_0x25d636){_0x228641=_0x228641-0x0;var _0x5d5d78=_0x10e6[_0x228641];return _0x5d5d78;};'use strict';var DashboardItemEvents=require(_0x610e('0x0'));var events=[_0x610e('0x1'),_0x610e('0x2'),_0x610e('0x3')];function createListener(_0x22386f,_0x2e3f19){return function(_0x25345b){_0x2e3f19[_0x610e('0x4')](_0x22386f,_0x25345b);};}function removeListener(_0x25f1c5,_0x41b6e5){return function(){DashboardItemEvents['removeListener'](_0x25f1c5,_0x41b6e5);};}exports['register']=function(_0x44ecc9){for(var _0x5a92c8=0x0,_0x186c21=events[_0x610e('0x5')];_0x5a92c8<_0x186c21;_0x5a92c8++){var _0x53140f=events[_0x5a92c8];var _0x33574b=createListener(_0x610e('0x6')+_0x53140f,_0x44ecc9);DashboardItemEvents['on'](_0x53140f,_0x33574b);}};