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 _0x3ba1=['./faxInteraction.events','save','remove','emit','removeListener','register','length','faxInteraction:'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0x3ba1,0x190));var _0x13ba=function(_0x399f71,_0x2a0b89){_0x399f71=_0x399f71-0x0;var _0x881197=_0x3ba1[_0x399f71];return _0x881197;};'use strict';var FaxInteractionEvents=require(_0x13ba('0x0'));var events=[_0x13ba('0x1'),_0x13ba('0x2'),'update'];function createListener(_0x4da739,_0x13cdf4){return function(_0x43a976){_0x13cdf4[_0x13ba('0x3')](_0x4da739,_0x43a976);};}function removeListener(_0x30b771,_0x555e5e){return function(){FaxInteractionEvents[_0x13ba('0x4')](_0x30b771,_0x555e5e);};}exports[_0x13ba('0x5')]=function(_0x5a3d24){for(var _0x4d5efb=0x0,_0x4fe55b=events[_0x13ba('0x6')];_0x4d5efb<_0x4fe55b;_0x4d5efb++){var _0x2c57a7=events[_0x4d5efb];var _0x20fbff=createListener(_0x13ba('0x7')+_0x2c57a7,_0x5a3d24);FaxInteractionEvents['on'](_0x2c57a7,_0x20fbff);}};