Built motion from commit (unavailable).|2.5.1
[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 _0x710e=['message','account','mustache','render','merge','body'];(function(_0x5472ec,_0x25951f){var _0x423275=function(_0x104013){while(--_0x104013){_0x5472ec['push'](_0x5472ec['shift']());}};_0x423275(++_0x25951f);}(_0x710e,0xb6));var _0xe710=function(_0x36565c,_0x3dc595){_0x36565c=_0x36565c-0x0;var _0xf6538f=_0x710e[_0x36565c];return _0xf6538f;};'use strict';var Mustache=require(_0xe710('0x0'));var _=require('lodash');module['exports']={'getMustacheRender':function(_0x387ff4,_0x44db10){return Mustache[_0xe710('0x1')](_0x387ff4,_[_0xe710('0x2')](_0x44db10[_0xe710('0x3')],{'contact':_0x44db10['contact'],'message':_0x44db10[_0xe710('0x4')],'account':_0x44db10[_0xe710('0x5')],'interaction':_0x44db10['interaction'],'list':_0x44db10['list']}))||'';}};