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 _0x9400=['remove','update','emit','removeListener','save'];(function(_0x26551f,_0x57adcd){var _0x13c7c2=function(_0x1091ad){while(--_0x1091ad){_0x26551f['push'](_0x26551f['shift']());}};_0x13c7c2(++_0x57adcd);}(_0x9400,0xef));var _0x0940=function(_0x414075,_0x4a32c1){_0x414075=_0x414075-0x0;var _0x2be60a=_0x9400[_0x414075];return _0x2be60a;};'use strict';var FaxInteractionEvents=require('./faxInteraction.events');var events=[_0x0940('0x0'),_0x0940('0x1'),_0x0940('0x2')];function createListener(_0x56ec9a,_0x1fb2c7){return function(_0x4570c3){_0x1fb2c7[_0x0940('0x3')](_0x56ec9a,_0x4570c3);};}function removeListener(_0x52db2e,_0xc81748){return function(){FaxInteractionEvents[_0x0940('0x4')](_0x52db2e,_0xc81748);};}exports['register']=function(_0x10fa99){for(var _0x3f830a=0x0,_0x2ed710=events['length'];_0x3f830a<_0x2ed710;_0x3f830a++){var _0x55145e=events[_0x3f830a];var _0x3ab47c=createListener('faxInteraction:'+_0x55145e,_0x10fa99);FaxInteractionEvents['on'](_0x55145e,_0x3ab47c);}};