Built motion from commit (unavailable).|2.5.25
[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 _0x9e9b=['message','interaction','list','mustache','render','merge','contact'];(function(_0x5839d9,_0x1d7f9a){var _0x3ab123=function(_0x183f2f){while(--_0x183f2f){_0x5839d9['push'](_0x5839d9['shift']());}};_0x3ab123(++_0x1d7f9a);}(_0x9e9b,0x1a7));var _0xb9e9=function(_0x5a25f6,_0x3db5cb){_0x5a25f6=_0x5a25f6-0x0;var _0x5a524d=_0x9e9b[_0x5a25f6];return _0x5a524d;};'use strict';var Mustache=require(_0xb9e9('0x0'));var _=require('lodash');module['exports']={'getMustacheRender':function(_0x39a0db,_0x3d68be){return Mustache[_0xb9e9('0x1')](_0x39a0db,_[_0xb9e9('0x2')](_0x3d68be['body'],{'contact':_0x3d68be[_0xb9e9('0x3')],'message':_0x3d68be[_0xb9e9('0x4')],'account':_0x3d68be['account'],'interaction':_0x3d68be[_0xb9e9('0x5')],'list':_0x3d68be[_0xb9e9('0x6')]}))||'';}};