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 _0x7f6d=['next','error','stringify','stop','./utils','../../../../config/logger','consequence','info','[%s][NOOP]\x20%s'];(function(_0x31ae59,_0x3d9eb4){var _0x52bc38=function(_0x48d4b0){while(--_0x48d4b0){_0x31ae59['push'](_0x31ae59['shift']());}};_0x52bc38(++_0x3d9eb4);}(_0x7f6d,0x100));var _0xd7f6=function(_0xd0b415,_0x149675){_0xd0b415=_0xd0b415-0x0;var _0x2bdf2c=_0x7f6d[_0xd0b415];return _0x2bdf2c;};'use strict';var utils=require(_0xd7f6('0x0'));var logger=require(_0xd7f6('0x1'))('routing');exports[_0xd7f6('0x2')]=function(_0x2f0cc8,_0x36a58b){return function(_0x77157d){try{logger[_0xd7f6('0x3')](_0xd7f6('0x4'),_0x2f0cc8,utils['getMustacheRender'](_0x36a58b[0x0],this));_0x77157d[_0xd7f6('0x5')]();}catch(_0xf5ccd4){logger[_0xd7f6('0x6')](_0xd7f6('0x4'),_0x2f0cc8,JSON[_0xd7f6('0x7')](_0xf5ccd4));_0x77157d[_0xd7f6('0x8')]();}};};