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 _0xbc9b=['emit','removeListener','register','faxAccount:','./faxAccount.events','save','remove'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xbc9b,0x1d9));var _0xbbc9=function(_0x18fee1,_0x55d732){_0x18fee1=_0x18fee1-0x0;var _0x29d585=_0xbc9b[_0x18fee1];return _0x29d585;};'use strict';var FaxAccountEvents=require(_0xbbc9('0x0'));var events=[_0xbbc9('0x1'),_0xbbc9('0x2'),'update'];function createListener(_0x25e1f5,_0x34004f){return function(_0x506b8d){_0x34004f[_0xbbc9('0x3')](_0x25e1f5,_0x506b8d);};}function removeListener(_0x212849,_0x53ad92){return function(){FaxAccountEvents[_0xbbc9('0x4')](_0x212849,_0x53ad92);};}exports[_0xbbc9('0x5')]=function(_0x3e931f){for(var _0x12124b=0x0,_0x551964=events['length'];_0x12124b<_0x551964;_0x12124b++){var _0x1b60cb=events[_0x12124b];var _0x1c4fb2=createListener(_0xbbc9('0x6')+_0x1b60cb,_0x3e931f);FaxAccountEvents['on'](_0x1b60cb,_0x1c4fb2);}};