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 _0x5821=['save','remove','emit','removeListener','register','length','faxInteraction:','./faxInteraction.events'];(function(_0x387394,_0x56a105){var _0x577d6c=function(_0x34a69b){while(--_0x34a69b){_0x387394['push'](_0x387394['shift']());}};_0x577d6c(++_0x56a105);}(_0x5821,0xff));var _0x1582=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x5821[_0x19e35c];return _0x3e1fe8;};'use strict';var FaxInteractionEvents=require(_0x1582('0x0'));var events=[_0x1582('0x1'),_0x1582('0x2'),'update'];function createListener(_0x316e42,_0x330c1e){return function(_0x3d5395){_0x330c1e[_0x1582('0x3')](_0x316e42,_0x3d5395);};}function removeListener(_0x439d77,_0x3d019c){return function(){FaxInteractionEvents[_0x1582('0x4')](_0x439d77,_0x3d019c);};}exports[_0x1582('0x5')]=function(_0x5272a9){for(var _0x4d26f9=0x0,_0x2ba916=events[_0x1582('0x6')];_0x4d26f9<_0x2ba916;_0x4d26f9++){var _0x12a4b5=events[_0x4d26f9];var _0x42a3cb=createListener(_0x1582('0x7')+_0x12a4b5,_0x5272a9);FaxInteractionEvents['on'](_0x12a4b5,_0x42a3cb);}};