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 _0x4646=['error','stringify','stop','../../../../config/logger','routing','info','[%s][NOOP]\x20%s','getMustacheRender'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0x4646,0x13b));var _0x6464=function(_0x3788c2,_0x283026){_0x3788c2=_0x3788c2-0x0;var _0x694f30=_0x4646[_0x3788c2];return _0x694f30;};'use strict';var utils=require('./utils');var logger=require(_0x6464('0x0'))(_0x6464('0x1'));exports['consequence']=function(_0x2d8d7a,_0x1fd7bc){return function(_0x2c11d3){try{logger[_0x6464('0x2')](_0x6464('0x3'),_0x2d8d7a,utils[_0x6464('0x4')](_0x1fd7bc[0x0],this));_0x2c11d3['next']();}catch(_0x23a2d9){logger[_0x6464('0x5')]('[%s][NOOP]\x20%s',_0x2d8d7a,JSON[_0x6464('0x6')](_0x23a2d9));_0x2c11d3[_0x6464('0x7')]();}};};