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 _0x2948=['save','remove','update','emit','removeListener','./voicePrefix.events'];(function(_0x402b2a,_0x3c60a){var _0x45b1c1=function(_0x2916d2){while(--_0x2916d2){_0x402b2a['push'](_0x402b2a['shift']());}};_0x45b1c1(++_0x3c60a);}(_0x2948,0xcb));var _0x8294=function(_0x5171aa,_0x542dd2){_0x5171aa=_0x5171aa-0x0;var _0x50905d=_0x2948[_0x5171aa];return _0x50905d;};'use strict';var VoicePrefixEvents=require(_0x8294('0x0'));var events=[_0x8294('0x1'),_0x8294('0x2'),_0x8294('0x3')];function createListener(_0x8e99bd,_0xbbaec1){return function(_0xcb5eea){_0xbbaec1[_0x8294('0x4')](_0x8e99bd,_0xcb5eea);};}function removeListener(_0x3ac253,_0x4bddff){return function(){VoicePrefixEvents[_0x8294('0x5')](_0x3ac253,_0x4bddff);};}exports['register']=function(_0x11c415){for(var _0x26128c=0x0,_0x39aa65=events['length'];_0x26128c<_0x39aa65;_0x26128c++){var _0x5a7135=events[_0x26128c];var _0x56f7c8=createListener('voicePrefix:'+_0x5a7135,_0x11c415);VoicePrefixEvents['on'](_0x5a7135,_0x56f7c8);}};