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 _0x4f65=['register','length','faxAccount:','./faxAccount.events','save','remove','emit','removeListener'];(function(_0x24f31b,_0x44b8f3){var _0x488401=function(_0x204caf){while(--_0x204caf){_0x24f31b['push'](_0x24f31b['shift']());}};_0x488401(++_0x44b8f3);}(_0x4f65,0x1c3));var _0x54f6=function(_0x458b4a,_0x376ec1){_0x458b4a=_0x458b4a-0x0;var _0x346a70=_0x4f65[_0x458b4a];return _0x346a70;};'use strict';var FaxAccountEvents=require(_0x54f6('0x0'));var events=[_0x54f6('0x1'),_0x54f6('0x2'),'update'];function createListener(_0x56b626,_0x54c6d2){return function(_0x218415){_0x54c6d2[_0x54f6('0x3')](_0x56b626,_0x218415);};}function removeListener(_0x100a2b,_0x21fa2c){return function(){FaxAccountEvents[_0x54f6('0x4')](_0x100a2b,_0x21fa2c);};}exports[_0x54f6('0x5')]=function(_0x236839){for(var _0x4add23=0x0,_0xf3fb70=events[_0x54f6('0x6')];_0x4add23<_0xf3fb70;_0x4add23++){var _0x3c6e6a=events[_0x4add23];var _0x2b910c=createListener(_0x54f6('0x7')+_0x3c6e6a,_0x236839);FaxAccountEvents['on'](_0x3c6e6a,_0x2b910c);}};