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 _0xbed7=['removeListener','register','./openchannelAccount.events','save','remove','update','emit'];(function(_0x4f3e6e,_0x1cdd78){var _0x32e729=function(_0x243c7f){while(--_0x243c7f){_0x4f3e6e['push'](_0x4f3e6e['shift']());}};_0x32e729(++_0x1cdd78);}(_0xbed7,0x14b));var _0x7bed=function(_0x3d5a5b,_0x2f9397){_0x3d5a5b=_0x3d5a5b-0x0;var _0x318dfc=_0xbed7[_0x3d5a5b];return _0x318dfc;};'use strict';var OpenchannelAccountEvents=require(_0x7bed('0x0'));var events=[_0x7bed('0x1'),_0x7bed('0x2'),_0x7bed('0x3')];function createListener(_0x3c9a9f,_0x47b9cb){return function(_0x44da5a){_0x47b9cb[_0x7bed('0x4')](_0x3c9a9f,_0x44da5a);};}function removeListener(_0x1da710,_0x18c2c7){return function(){OpenchannelAccountEvents[_0x7bed('0x5')](_0x1da710,_0x18c2c7);};}exports[_0x7bed('0x6')]=function(_0x41c148){for(var _0x3aa0e9=0x0,_0x38a818=events['length'];_0x3aa0e9<_0x38a818;_0x3aa0e9++){var _0x27434d=events[_0x3aa0e9];var _0x27f7d9=createListener('openchannelAccount:'+_0x27434d,_0x41c148);OpenchannelAccountEvents['on'](_0x27434d,_0x27f7d9);}};