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 _0xb145=['register','length','faxAccount:','save','remove','update','emit','removeListener'];(function(_0xc1a7d3,_0x6ac180){var _0x576e8d=function(_0x46d9cb){while(--_0x46d9cb){_0xc1a7d3['push'](_0xc1a7d3['shift']());}};_0x576e8d(++_0x6ac180);}(_0xb145,0xa3));var _0x5b14=function(_0x349a6c,_0x51cecd){_0x349a6c=_0x349a6c-0x0;var _0x333984=_0xb145[_0x349a6c];return _0x333984;};'use strict';var FaxAccountEvents=require('./faxAccount.events');var events=[_0x5b14('0x0'),_0x5b14('0x1'),_0x5b14('0x2')];function createListener(_0x1298e7,_0x40609d){return function(_0x3defa8){_0x40609d[_0x5b14('0x3')](_0x1298e7,_0x3defa8);};}function removeListener(_0x34b4cd,_0x5111cd){return function(){FaxAccountEvents[_0x5b14('0x4')](_0x34b4cd,_0x5111cd);};}exports[_0x5b14('0x5')]=function(_0x392425){for(var _0x4d82ad=0x0,_0x50fd91=events[_0x5b14('0x6')];_0x4d82ad<_0x50fd91;_0x4d82ad++){var _0x2a3921=events[_0x4d82ad];var _0x34530a=createListener(_0x5b14('0x7')+_0x2a3921,_0x392425);FaxAccountEvents['on'](_0x2a3921,_0x34530a);}};