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 _0xe788=['save','update','emit','removeListener','register','length','faxInteraction:','./faxInteraction.events'];(function(_0x2fc9a5,_0x235b92){var _0x3fd730=function(_0x25f252){while(--_0x25f252){_0x2fc9a5['push'](_0x2fc9a5['shift']());}};_0x3fd730(++_0x235b92);}(_0xe788,0x157));var _0x8e78=function(_0x16ab75,_0x225732){_0x16ab75=_0x16ab75-0x0;var _0x57491a=_0xe788[_0x16ab75];return _0x57491a;};'use strict';var FaxInteractionEvents=require(_0x8e78('0x0'));var events=[_0x8e78('0x1'),'remove',_0x8e78('0x2')];function createListener(_0x2a9888,_0x401006){return function(_0x326954){_0x401006[_0x8e78('0x3')](_0x2a9888,_0x326954);};}function removeListener(_0xb0ab0f,_0x598d0c){return function(){FaxInteractionEvents[_0x8e78('0x4')](_0xb0ab0f,_0x598d0c);};}exports[_0x8e78('0x5')]=function(_0x40f927){for(var _0x24d49c=0x0,_0x18551c=events[_0x8e78('0x6')];_0x24d49c<_0x18551c;_0x24d49c++){var _0x3f6cd0=events[_0x24d49c];var _0x4eb92e=createListener(_0x8e78('0x7')+_0x3f6cd0,_0x40f927);FaxInteractionEvents['on'](_0x3f6cd0,_0x4eb92e);}};