Built motion from commit (unavailable).|2.5.30
[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 _0x10db=['./utils','../../../../config/logger','routing','info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','stop'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x10db,0x104));var _0xb10d=function(_0x234327,_0x2a06f8){_0x234327=_0x234327-0x0;var _0x372ab7=_0x10db[_0x234327];return _0x372ab7;};'use strict';var utils=require(_0xb10d('0x0'));var logger=require(_0xb10d('0x1'))(_0xb10d('0x2'));exports['consequence']=function(_0x2c6ba3,_0x4d91e1){return function(_0xd69873){try{logger[_0xb10d('0x3')](_0xb10d('0x4'),_0x2c6ba3,utils[_0xb10d('0x5')](_0x4d91e1[0x0],this));_0xd69873[_0xb10d('0x6')]();}catch(_0x15a88e){logger[_0xb10d('0x7')]('[%s][NOOP]\x20%s',_0x2c6ba3,JSON[_0xb10d('0x8')](_0x15a88e));_0xd69873[_0xb10d('0x9')]();}};};