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 _0xfcf0=['routing','info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','stop','./utils','../../../../config/logger'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xfcf0,0xe4));var _0x0fcf=function(_0x26b80e,_0x5c9333){_0x26b80e=_0x26b80e-0x0;var _0x84a8a8=_0xfcf0[_0x26b80e];return _0x84a8a8;};'use strict';var utils=require(_0x0fcf('0x0'));var logger=require(_0x0fcf('0x1'))(_0x0fcf('0x2'));exports['consequence']=function(_0x35bc22,_0x463b29){return function(_0x4d333d){try{logger[_0x0fcf('0x3')](_0x0fcf('0x4'),_0x35bc22,utils[_0x0fcf('0x5')](_0x463b29[0x0],this));_0x4d333d[_0x0fcf('0x6')]();}catch(_0x3a3a4b){logger[_0x0fcf('0x7')](_0x0fcf('0x4'),_0x35bc22,JSON[_0x0fcf('0x8')](_0x3a3a4b));_0x4d333d[_0x0fcf('0x9')]();}};};