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 _0x7e02=['save','update','emit','register','faxInteraction:'];(function(_0x2c6fb9,_0xc7d7c0){var _0x49fd5e=function(_0x3dcbaf){while(--_0x3dcbaf){_0x2c6fb9['push'](_0x2c6fb9['shift']());}};_0x49fd5e(++_0xc7d7c0);}(_0x7e02,0xff));var _0x27e0=function(_0x34cc52,_0x461652){_0x34cc52=_0x34cc52-0x0;var _0x2729ec=_0x7e02[_0x34cc52];return _0x2729ec;};'use strict';var FaxInteractionEvents=require('./faxInteraction.events');var events=[_0x27e0('0x0'),'remove',_0x27e0('0x1')];function createListener(_0x52c6c9,_0x2d8180){return function(_0x4a1580){_0x2d8180[_0x27e0('0x2')](_0x52c6c9,_0x4a1580);};}function removeListener(_0x208fd5,_0x56b824){return function(){FaxInteractionEvents['removeListener'](_0x208fd5,_0x56b824);};}exports[_0x27e0('0x3')]=function(_0x49a930){for(var _0x15630b=0x0,_0x70dbb8=events['length'];_0x15630b<_0x70dbb8;_0x15630b++){var _0x128e5c=events[_0x15630b];var _0x58cab8=createListener(_0x27e0('0x4')+_0x128e5c,_0x49a930);FaxInteractionEvents['on'](_0x128e5c,_0x58cab8);}};