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 _0xd547=['next','[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','consequence','info'];(function(_0x98f9d1,_0x1a47f5){var _0x49a7f9=function(_0x1075c1){while(--_0x1075c1){_0x98f9d1['push'](_0x98f9d1['shift']());}};_0x49a7f9(++_0x1a47f5);}(_0xd547,0x94));var _0x7d54=function(_0x3f1076,_0x23b6c1){_0x3f1076=_0x3f1076-0x0;var _0x21d34f=_0xd547[_0x3f1076];return _0x21d34f;};'use strict';var utils=require(_0x7d54('0x0'));var logger=require(_0x7d54('0x1'))('routing');exports[_0x7d54('0x2')]=function(_0x185564,_0x5c517a){return function(_0x5ab2e3){try{logger[_0x7d54('0x3')]('[%s][NOOP]\x20%s',_0x185564,utils['getMustacheRender'](_0x5c517a[0x0],this));_0x5ab2e3[_0x7d54('0x4')]();}catch(_0x32a772){logger['error'](_0x7d54('0x5'),_0x185564,JSON[_0x7d54('0x6')](_0x32a772));_0x5ab2e3[_0x7d54('0x7')]();}};};