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 _0xc481=['save','remove','emit','faxInteraction:','./faxInteraction.events'];(function(_0x13b330,_0x297092){var _0x1f666c=function(_0x5ebc84){while(--_0x5ebc84){_0x13b330['push'](_0x13b330['shift']());}};_0x1f666c(++_0x297092);}(_0xc481,0x1bc));var _0x1c48=function(_0x11f5ff,_0xa0ef18){_0x11f5ff=_0x11f5ff-0x0;var _0x46eefb=_0xc481[_0x11f5ff];return _0x46eefb;};'use strict';var FaxInteractionEvents=require(_0x1c48('0x0'));var events=[_0x1c48('0x1'),_0x1c48('0x2'),'update'];function createListener(_0xea951,_0x3a13c6){return function(_0x52a9ef){_0x3a13c6[_0x1c48('0x3')](_0xea951,_0x52a9ef);};}function removeListener(_0x500093,_0x53b2dc){return function(){FaxInteractionEvents['removeListener'](_0x500093,_0x53b2dc);};}exports['register']=function(_0x1f3c32){for(var _0x21387c=0x0,_0x4ccc57=events['length'];_0x21387c<_0x4ccc57;_0x21387c++){var _0xab5dc9=events[_0x21387c];var _0x435533=createListener(_0x1c48('0x4')+_0xab5dc9,_0x1f3c32);FaxInteractionEvents['on'](_0xab5dc9,_0x435533);}};