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 _0x5de0=['remove','update','emit','removeListener','register','length','faxInteraction:','./faxInteraction.events'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x5de0,0x1cf));var _0x05de=function(_0x218a54,_0x82b9bd){_0x218a54=_0x218a54-0x0;var _0x13d3bb=_0x5de0[_0x218a54];return _0x13d3bb;};'use strict';var FaxInteractionEvents=require(_0x05de('0x0'));var events=['save',_0x05de('0x1'),_0x05de('0x2')];function createListener(_0x23cdc9,_0x340313){return function(_0x1ac422){_0x340313[_0x05de('0x3')](_0x23cdc9,_0x1ac422);};}function removeListener(_0x1bdb2f,_0x676ca1){return function(){FaxInteractionEvents[_0x05de('0x4')](_0x1bdb2f,_0x676ca1);};}exports[_0x05de('0x5')]=function(_0x3b637d){for(var _0x224327=0x0,_0x30e2c1=events[_0x05de('0x6')];_0x224327<_0x30e2c1;_0x224327++){var _0x551d1a=events[_0x224327];var _0x3e20dd=createListener(_0x05de('0x7')+_0x551d1a,_0x3b637d);FaxInteractionEvents['on'](_0x551d1a,_0x3e20dd);}};