Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / services / routing / server / applications / utils.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 _0x073e=['message','mustache','lodash','exports','body','contact'];(function(_0x41de8d,_0xb77a36){var _0x2bbb8c=function(_0x3b9aff){while(--_0x3b9aff){_0x41de8d['push'](_0x41de8d['shift']());}};_0x2bbb8c(++_0xb77a36);}(_0x073e,0x181));var _0xe073=function(_0x39f05c,_0x443de9){_0x39f05c=_0x39f05c-0x0;var _0x2c387=_0x073e[_0x39f05c];return _0x2c387;};'use strict';var Mustache=require(_0xe073('0x0'));var _=require(_0xe073('0x1'));module[_0xe073('0x2')]={'getMustacheRender':function(_0x358375,_0x4a6f42){return Mustache['render'](_0x358375,_['merge'](_0x4a6f42[_0xe073('0x3')],{'contact':_0x4a6f42[_0xe073('0x4')],'message':_0x4a6f42[_0xe073('0x5')],'account':_0x4a6f42['account'],'interaction':_0x4a6f42['interaction'],'list':_0x4a6f42['list']}))||'';}};