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 _0x52e3=['./dashboardItem.events','save','remove','update','emit','removeListener','register','length','dashboardItem:'];(function(_0x1b7368,_0x3286ed){var _0x25d54c=function(_0x2366da){while(--_0x2366da){_0x1b7368['push'](_0x1b7368['shift']());}};_0x25d54c(++_0x3286ed);}(_0x52e3,0xa2));var _0x352e=function(_0xe9d019,_0x2670a1){_0xe9d019=_0xe9d019-0x0;var _0x5365f9=_0x52e3[_0xe9d019];return _0x5365f9;};'use strict';var DashboardItemEvents=require(_0x352e('0x0'));var events=[_0x352e('0x1'),_0x352e('0x2'),_0x352e('0x3')];function createListener(_0xcaf3db,_0x4bf4e1){return function(_0x56a0bf){_0x4bf4e1[_0x352e('0x4')](_0xcaf3db,_0x56a0bf);};}function removeListener(_0xbd417e,_0x4f6dba){return function(){DashboardItemEvents[_0x352e('0x5')](_0xbd417e,_0x4f6dba);};}exports[_0x352e('0x6')]=function(_0x1bb318){for(var _0x56abe2=0x0,_0x2e8aae=events[_0x352e('0x7')];_0x56abe2<_0x2e8aae;_0x56abe2++){var _0xfefc72=events[_0x56abe2];var _0x552f30=createListener(_0x352e('0x8')+_0xfefc72,_0x1bb318);DashboardItemEvents['on'](_0xfefc72,_0x552f30);}};