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 _0x701a=['stop','./utils','routing','info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify'];(function(_0x1dad80,_0x8c40e1){var _0x26fc90=function(_0x388fc6){while(--_0x388fc6){_0x1dad80['push'](_0x1dad80['shift']());}};_0x26fc90(++_0x8c40e1);}(_0x701a,0x157));var _0xa701=function(_0x12d033,_0x25fa2f){_0x12d033=_0x12d033-0x0;var _0x3b4e80=_0x701a[_0x12d033];return _0x3b4e80;};'use strict';var utils=require(_0xa701('0x0'));var logger=require('../../../../config/logger')(_0xa701('0x1'));exports['consequence']=function(_0x4e7cda,_0xa73538){return function(_0x50b0cc){try{logger[_0xa701('0x2')](_0xa701('0x3'),_0x4e7cda,utils[_0xa701('0x4')](_0xa73538[0x0],this));_0x50b0cc[_0xa701('0x5')]();}catch(_0x4810df){logger[_0xa701('0x6')](_0xa701('0x3'),_0x4e7cda,JSON[_0xa701('0x7')](_0x4810df));_0x50b0cc[_0xa701('0x8')]();}};};