Built motion from commit (unavailable).|2.5.22
[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 _0xe105=['interaction','mustache','render','merge','body','contact','account'];(function(_0x10fb6d,_0x1f21bd){var _0x89975b=function(_0x4d5b4b){while(--_0x4d5b4b){_0x10fb6d['push'](_0x10fb6d['shift']());}};_0x89975b(++_0x1f21bd);}(_0xe105,0xef));var _0x5e10=function(_0x44795a,_0x482b4f){_0x44795a=_0x44795a-0x0;var _0x2b9eb7=_0xe105[_0x44795a];return _0x2b9eb7;};'use strict';var Mustache=require(_0x5e10('0x0'));var _=require('lodash');module['exports']={'getMustacheRender':function(_0x55d186,_0x52e261){return Mustache[_0x5e10('0x1')](_0x55d186,_[_0x5e10('0x2')](_0x52e261[_0x5e10('0x3')],{'contact':_0x52e261[_0x5e10('0x4')],'message':_0x52e261['message'],'account':_0x52e261[_0x5e10('0x5')],'interaction':_0x52e261[_0x5e10('0x6')],'list':_0x52e261['list']}))||'';}};