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 _0xa762=['save','remove','update','emit','removeListener','register','length','faxMessage:','./faxMessage.events'];(function(_0x4929fd,_0x2c9d98){var _0x1a700d=function(_0xf85861){while(--_0xf85861){_0x4929fd['push'](_0x4929fd['shift']());}};_0x1a700d(++_0x2c9d98);}(_0xa762,0x182));var _0x2a76=function(_0x50c0d5,_0x272213){_0x50c0d5=_0x50c0d5-0x0;var _0x3624a1=_0xa762[_0x50c0d5];return _0x3624a1;};'use strict';var FaxMessageEvents=require(_0x2a76('0x0'));var events=[_0x2a76('0x1'),_0x2a76('0x2'),_0x2a76('0x3')];function createListener(_0x535166,_0x1a6e78){return function(_0x3c2c70){_0x1a6e78[_0x2a76('0x4')](_0x535166,_0x3c2c70);};}function removeListener(_0x509d6a,_0x5d0773){return function(){FaxMessageEvents[_0x2a76('0x5')](_0x509d6a,_0x5d0773);};}exports[_0x2a76('0x6')]=function(_0x117a60){for(var _0x2efc92=0x0,_0x9a3be7=events[_0x2a76('0x7')];_0x2efc92<_0x9a3be7;_0x2efc92++){var _0x495f84=events[_0x2efc92];var _0x43a66e=createListener(_0x2a76('0x8')+_0x495f84,_0x117a60);FaxMessageEvents['on'](_0x495f84,_0x43a66e);}};