Built motion from commit (unavailable).|2.5.18
[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 _0x6d2e=['merge','contact','interaction','list','lodash','exports','render'];(function(_0x24237f,_0x4cf32c){var _0x48298e=function(_0x3f7511){while(--_0x3f7511){_0x24237f['push'](_0x24237f['shift']());}};_0x48298e(++_0x4cf32c);}(_0x6d2e,0x97));var _0xe6d2=function(_0x1bb121,_0x5d4138){_0x1bb121=_0x1bb121-0x0;var _0x5dbb01=_0x6d2e[_0x1bb121];return _0x5dbb01;};'use strict';var Mustache=require('mustache');var _=require(_0xe6d2('0x0'));module[_0xe6d2('0x1')]={'getMustacheRender':function(_0x1da678,_0x3ff4b6){return Mustache[_0xe6d2('0x2')](_0x1da678,_[_0xe6d2('0x3')](_0x3ff4b6['body'],{'contact':_0x3ff4b6[_0xe6d2('0x4')],'message':_0x3ff4b6['message'],'account':_0x3ff4b6['account'],'interaction':_0x3ff4b6[_0xe6d2('0x5')],'list':_0x3ff4b6[_0xe6d2('0x6')]}))||'';}};