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 _0xa095=['getMustacheRender','error','stop','./utils','../../../../config/logger','routing','info','[%s][NOOP]\x20%s'];(function(_0x2f2d60,_0x4322bc){var _0x248feb=function(_0x151591){while(--_0x151591){_0x2f2d60['push'](_0x2f2d60['shift']());}};_0x248feb(++_0x4322bc);}(_0xa095,0xf3));var _0x5a09=function(_0x4c9316,_0x5c7f6f){_0x4c9316=_0x4c9316-0x0;var _0x146aad=_0xa095[_0x4c9316];return _0x146aad;};'use strict';var utils=require(_0x5a09('0x0'));var logger=require(_0x5a09('0x1'))(_0x5a09('0x2'));exports['consequence']=function(_0x43c9ad,_0x89200e){return function(_0x14e579){try{logger[_0x5a09('0x3')](_0x5a09('0x4'),_0x43c9ad,utils[_0x5a09('0x5')](_0x89200e[0x0],this));_0x14e579['next']();}catch(_0x252e18){logger[_0x5a09('0x6')](_0x5a09('0x4'),_0x43c9ad,JSON['stringify'](_0x252e18));_0x14e579[_0x5a09('0x7')]();}};};