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 _0xc5d6=['save','update','emit','register','./faxInteraction.events'];(function(_0x362067,_0x44dc93){var _0x5923b0=function(_0x565184){while(--_0x565184){_0x362067['push'](_0x362067['shift']());}};_0x5923b0(++_0x44dc93);}(_0xc5d6,0x1e4));var _0x6c5d=function(_0x1daa94,_0x4091a7){_0x1daa94=_0x1daa94-0x0;var _0xb0d49b=_0xc5d6[_0x1daa94];return _0xb0d49b;};'use strict';var FaxInteractionEvents=require(_0x6c5d('0x0'));var events=[_0x6c5d('0x1'),'remove',_0x6c5d('0x2')];function createListener(_0xb40f86,_0x518e19){return function(_0x11b972){_0x518e19[_0x6c5d('0x3')](_0xb40f86,_0x11b972);};}function removeListener(_0x3934e5,_0x2b9cc1){return function(){FaxInteractionEvents['removeListener'](_0x3934e5,_0x2b9cc1);};}exports[_0x6c5d('0x4')]=function(_0x255e3e){for(var _0x5996ed=0x0,_0x4fd32f=events['length'];_0x5996ed<_0x4fd32f;_0x5996ed++){var _0x2c803e=events[_0x5996ed];var _0x24995b=createListener('faxInteraction:'+_0x2c803e,_0x255e3e);FaxInteractionEvents['on'](_0x2c803e,_0x24995b);}};