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 _0xd078=['update','removeListener','register','length','faxAccount:','./faxAccount.events','save','remove'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xd078,0x1e5));var _0x8d07=function(_0x34eb69,_0x1f466b){_0x34eb69=_0x34eb69-0x0;var _0x58eb15=_0xd078[_0x34eb69];return _0x58eb15;};'use strict';var FaxAccountEvents=require(_0x8d07('0x0'));var events=[_0x8d07('0x1'),_0x8d07('0x2'),_0x8d07('0x3')];function createListener(_0x9a99a8,_0x4c95cb){return function(_0x159b2f){_0x4c95cb['emit'](_0x9a99a8,_0x159b2f);};}function removeListener(_0x305e3,_0x12c6b1){return function(){FaxAccountEvents[_0x8d07('0x4')](_0x305e3,_0x12c6b1);};}exports[_0x8d07('0x5')]=function(_0x5e2f59){for(var _0x163efa=0x0,_0x12551b=events[_0x8d07('0x6')];_0x163efa<_0x12551b;_0x163efa++){var _0x80bc65=events[_0x163efa];var _0x3e15d5=createListener(_0x8d07('0x7')+_0x80bc65,_0x5e2f59);FaxAccountEvents['on'](_0x80bc65,_0x3e15d5);}};