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 _0x80ce=['save','update','emit','removeListener','register','length','./faxInteraction.events'];(function(_0x586de4,_0x2add1a){var _0x52353b=function(_0x2ad237){while(--_0x2ad237){_0x586de4['push'](_0x586de4['shift']());}};_0x52353b(++_0x2add1a);}(_0x80ce,0x76));var _0xe80c=function(_0x659f5f,_0x1800a0){_0x659f5f=_0x659f5f-0x0;var _0xcccfd7=_0x80ce[_0x659f5f];return _0xcccfd7;};'use strict';var FaxInteractionEvents=require(_0xe80c('0x0'));var events=[_0xe80c('0x1'),'remove',_0xe80c('0x2')];function createListener(_0x44d498,_0x2a25b4){return function(_0x472021){_0x2a25b4[_0xe80c('0x3')](_0x44d498,_0x472021);};}function removeListener(_0x118121,_0x1f2454){return function(){FaxInteractionEvents[_0xe80c('0x4')](_0x118121,_0x1f2454);};}exports[_0xe80c('0x5')]=function(_0x241625){for(var _0x2c1324=0x0,_0x5f4939=events[_0xe80c('0x6')];_0x2c1324<_0x5f4939;_0x2c1324++){var _0x26f322=events[_0x2c1324];var _0x161eeb=createListener('faxInteraction:'+_0x26f322,_0x241625);FaxInteractionEvents['on'](_0x26f322,_0x161eeb);}};