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 _0x8589=['save','update','emit','removeListener','register','length','faxMessage:'];(function(_0x49a57c,_0x2eb02c){var _0x4e0316=function(_0x37e2e5){while(--_0x37e2e5){_0x49a57c['push'](_0x49a57c['shift']());}};_0x4e0316(++_0x2eb02c);}(_0x8589,0xd2));var _0x9858=function(_0x27d28e,_0xae09c7){_0x27d28e=_0x27d28e-0x0;var _0x416ef6=_0x8589[_0x27d28e];return _0x416ef6;};'use strict';var FaxMessageEvents=require('./faxMessage.events');var events=[_0x9858('0x0'),'remove',_0x9858('0x1')];function createListener(_0x567567,_0x337aef){return function(_0x5c4f71){_0x337aef[_0x9858('0x2')](_0x567567,_0x5c4f71);};}function removeListener(_0x3ec6bf,_0x363ea3){return function(){FaxMessageEvents[_0x9858('0x3')](_0x3ec6bf,_0x363ea3);};}exports[_0x9858('0x4')]=function(_0x63c594){for(var _0x51f33b=0x0,_0x36f8f5=events[_0x9858('0x5')];_0x51f33b<_0x36f8f5;_0x51f33b++){var _0x437510=events[_0x51f33b];var _0x17dfe3=createListener(_0x9858('0x6')+_0x437510,_0x63c594);FaxMessageEvents['on'](_0x437510,_0x17dfe3);}};