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 _0x7a54=['remove','emit','removeListener','register','length','faxAccount:','./faxAccount.events','save'];(function(_0xc22c69,_0x150165){var _0x53d4bd=function(_0x19293b){while(--_0x19293b){_0xc22c69['push'](_0xc22c69['shift']());}};_0x53d4bd(++_0x150165);}(_0x7a54,0x106));var _0x47a5=function(_0x3172a6,_0x2cebb8){_0x3172a6=_0x3172a6-0x0;var _0x4d951a=_0x7a54[_0x3172a6];return _0x4d951a;};'use strict';var FaxAccountEvents=require(_0x47a5('0x0'));var events=[_0x47a5('0x1'),_0x47a5('0x2'),'update'];function createListener(_0x1d33e,_0x4086cd){return function(_0x4880bf){_0x4086cd[_0x47a5('0x3')](_0x1d33e,_0x4880bf);};}function removeListener(_0x11bf85,_0x2a1a7e){return function(){FaxAccountEvents[_0x47a5('0x4')](_0x11bf85,_0x2a1a7e);};}exports[_0x47a5('0x5')]=function(_0x545a97){for(var _0x3d5629=0x0,_0x59199c=events[_0x47a5('0x6')];_0x3d5629<_0x59199c;_0x3d5629++){var _0x30e405=events[_0x3d5629];var _0x506eda=createListener(_0x47a5('0x7')+_0x30e405,_0x545a97);FaxAccountEvents['on'](_0x30e405,_0x506eda);}};