624ff258ee7eb4e3076cb758c0e503510d9d651c
[motion2.git] / server / services / routing / server / applications / noop.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xffd6=['../../../../config/logger','routing','consequence','info','[%s][NOOP]\x20%s','next','error','stop','./utils'];(function(_0x4a89a0,_0x124fa6){var _0x369f00=function(_0xac29df){while(--_0xac29df){_0x4a89a0['push'](_0x4a89a0['shift']());}};_0x369f00(++_0x124fa6);}(_0xffd6,0x8f));var _0x6ffd=function(_0x29d623,_0x1a5c9c){_0x29d623=_0x29d623-0x0;var _0x242e59=_0xffd6[_0x29d623];return _0x242e59;};'use strict';var utils=require(_0x6ffd('0x0'));var logger=require(_0x6ffd('0x1'))(_0x6ffd('0x2'));exports[_0x6ffd('0x3')]=function(_0x34b530,_0x10a349){return function(_0x213c8f){try{logger[_0x6ffd('0x4')](_0x6ffd('0x5'),_0x34b530,utils['getMustacheRender'](_0x10a349[0x0],this));_0x213c8f[_0x6ffd('0x6')]();}catch(_0x35cfd2){logger[_0x6ffd('0x7')](_0x6ffd('0x5'),_0x34b530,JSON['stringify'](_0x35cfd2));_0x213c8f[_0x6ffd('0x8')]();}};};