Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / errors / index.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 _0x012d=['status','render','json','send','404'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x012d,0x14e));var _0xd012=function(_0x51b888,_0x4eba37){_0x51b888=_0x51b888-0x0;var _0x385b2b=_0x012d[_0x51b888];return _0x385b2b;};'use strict';module['exports'][0x194]=function pageNotFound(_0x4c3c97,_0x4e70c8){var _0xca421=_0xd012('0x0');var _0x51dbb6=0x194;var _0x21bf66={'status':_0x51dbb6};_0x4e70c8['status'](_0x21bf66[_0xd012('0x1')]);_0x4e70c8[_0xd012('0x2')](_0xca421,{},function(_0x4cf00a,_0x4b5e13){if(_0x4cf00a){return _0x4e70c8['status'](_0x21bf66[_0xd012('0x1')])[_0xd012('0x3')](_0x21bf66);}_0x4e70c8[_0xd012('0x4')](_0x4b5e13);});};