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 _0x19d6=['./faxInteraction.events','save','remove','update','emit','removeListener','register','length','faxInteraction:'];(function(_0x4c706c,_0x57ebb7){var _0x1d8dc7=function(_0x50a0f3){while(--_0x50a0f3){_0x4c706c['push'](_0x4c706c['shift']());}};_0x1d8dc7(++_0x57ebb7);}(_0x19d6,0x1b0));var _0x619d=function(_0x4ade5a,_0x44885c){_0x4ade5a=_0x4ade5a-0x0;var _0xdf316e=_0x19d6[_0x4ade5a];return _0xdf316e;};'use strict';var FaxInteractionEvents=require(_0x619d('0x0'));var events=[_0x619d('0x1'),_0x619d('0x2'),_0x619d('0x3')];function createListener(_0x3b2cf4,_0x1118c6){return function(_0x20b1f2){_0x1118c6[_0x619d('0x4')](_0x3b2cf4,_0x20b1f2);};}function removeListener(_0x4de030,_0x50e2a9){return function(){FaxInteractionEvents[_0x619d('0x5')](_0x4de030,_0x50e2a9);};}exports[_0x619d('0x6')]=function(_0xfa09c1){for(var _0x174126=0x0,_0x2b9860=events[_0x619d('0x7')];_0x174126<_0x2b9860;_0x174126++){var _0x488e2e=events[_0x174126];var _0x53fb35=createListener(_0x619d('0x8')+_0x488e2e,_0xfa09c1);FaxInteractionEvents['on'](_0x488e2e,_0x53fb35);}};