Built motion from commit 67e5df37.|2.0.66
[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 _0xf9ea=['next','error','stop','routing','consequence','[%s][NOOP]\x20%s','getMustacheRender'];(function(_0x4282c6,_0xb1005e){var _0x1145dd=function(_0x28265d){while(--_0x28265d){_0x4282c6['push'](_0x4282c6['shift']());}};_0x1145dd(++_0xb1005e);}(_0xf9ea,0x153));var _0xaf9e=function(_0x4f75b5,_0x4db76d){_0x4f75b5=_0x4f75b5-0x0;var _0x5c263b=_0xf9ea[_0x4f75b5];return _0x5c263b;};'use strict';var utils=require('./utils');var logger=require('../../../../config/logger')(_0xaf9e('0x0'));exports[_0xaf9e('0x1')]=function(_0x13b866,_0x3bd761){return function(_0x43cb8e){try{logger['info'](_0xaf9e('0x2'),_0x13b866,utils[_0xaf9e('0x3')](_0x3bd761[0x0],this));_0x43cb8e[_0xaf9e('0x4')]();}catch(_0x19bdcc){logger[_0xaf9e('0x5')](_0xaf9e('0x2'),_0x13b866,JSON['stringify'](_0x19bdcc));_0x43cb8e[_0xaf9e('0x6')]();}};};