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 _0x491d=['update','emit','removeListener','register','length','faxAccount:','save','remove'];(function(_0x1a5a6f,_0x22f693){var _0x2f16cb=function(_0x3e1ecf){while(--_0x3e1ecf){_0x1a5a6f['push'](_0x1a5a6f['shift']());}};_0x2f16cb(++_0x22f693);}(_0x491d,0x166));var _0xd491=function(_0x1a3bf0,_0x53a4d6){_0x1a3bf0=_0x1a3bf0-0x0;var _0x5aef6b=_0x491d[_0x1a3bf0];return _0x5aef6b;};'use strict';var FaxAccountEvents=require('./faxAccount.events');var events=[_0xd491('0x0'),_0xd491('0x1'),_0xd491('0x2')];function createListener(_0x161bed,_0x282d7f){return function(_0x2e40b1){_0x282d7f[_0xd491('0x3')](_0x161bed,_0x2e40b1);};}function removeListener(_0x2016e7,_0x57c4bc){return function(){FaxAccountEvents[_0xd491('0x4')](_0x2016e7,_0x57c4bc);};}exports[_0xd491('0x5')]=function(_0x111536){for(var _0x18a8b4=0x0,_0xc81736=events[_0xd491('0x6')];_0x18a8b4<_0xc81736;_0x18a8b4++){var _0x458d1d=events[_0x18a8b4];var _0x5da0ce=createListener(_0xd491('0x7')+_0x458d1d,_0x111536);FaxAccountEvents['on'](_0x458d1d,_0x5da0ce);}};