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 _0x1447=['routing','info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','../../../../config/logger'];(function(_0x555aa9,_0x3a607f){var _0x20aecd=function(_0x28e2e9){while(--_0x28e2e9){_0x555aa9['push'](_0x555aa9['shift']());}};_0x20aecd(++_0x3a607f);}(_0x1447,0xb7));var _0x7144=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0x1447[_0x199572];return _0x13cfa3;};'use strict';var utils=require('./utils');var logger=require(_0x7144('0x0'))(_0x7144('0x1'));exports['consequence']=function(_0x18c634,_0x24d12e){return function(_0x28dc49){try{logger[_0x7144('0x2')](_0x7144('0x3'),_0x18c634,utils[_0x7144('0x4')](_0x24d12e[0x0],this));_0x28dc49[_0x7144('0x5')]();}catch(_0x78e332){logger[_0x7144('0x6')](_0x7144('0x3'),_0x18c634,JSON[_0x7144('0x7')](_0x78e332));_0x28dc49['stop']();}};};