d42c0bdbbfceeb14d8b86930554c3b7c92c4267d
[motion.git] / server / config / triggers / urlForward.js
1 var _0x321a=["\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x54\x72\x69\x67\x67\x65\x72\x20\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x47\x45\x54","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x4F\x53\x54","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x75\x72\x6C\x46\x6F\x72\x77\x61\x72\x64","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x66\x61\x69\x6C\x65\x64\x21","\x65\x72\x72\x6F\x72","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x66\x61\x69\x6C\x65\x64","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x21","\x73\x75\x63\x63\x65\x73\x73","\x74\x68\x65\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x321a[0]);var rp=require(_0x321a[1]);function UrlForward(){console[_0x321a[3]](_0x321a[2])}UrlForward[_0x321a[5]][_0x321a[4]]= function(_0xa8fcx4,_0xa8fcx5,_0xa8fcx6){switch(_0xa8fcx6[_0x321a[7]]){case _0x321a[6]:;case _0x321a[9]:httpRequest(_0xa8fcx4,_0xa8fcx5,_0xa8fcx6[_0x321a[7]],_0xa8fcx6[_0x321a[8]]);break;default:}};function httpRequest(_0xa8fcx4,_0xa8fcx5,_0xa8fcx8,_0xa8fcx9){var _0xa8fcxa=require(_0x321a[11])[_0x321a[10]];var _0xa8fcxb={method:_0xa8fcx8,uri:_0xa8fcx9,body:_0xa8fcx4,json:true};rp(_0xa8fcxb)[_0x321a[25]](function(_0xa8fcxd){console[_0x321a[3]](_0x321a[23]);_0xa8fcx4[_0x321a[21]]= _0x321a[24]})[_0x321a[16]](function(_0xa8fcxc){console[_0x321a[20]](_0x321a[19]);_0xa8fcx4[_0x321a[21]]= _0x321a[22]})[_0x321a[18]](function(){delete _0xa8fcx4[_0x321a[12]];_0xa8fcx4[_0x321a[13]]= _0x321a[14];_0xa8fcx4[_0x321a[15]]= _0xa8fcx5;return _0xa8fcxa[_0x321a[17]](_0xa8fcx4)[_0x321a[16]](function(_0xa8fcxc){console[_0x321a[3]](_0xa8fcxc)})})}module[_0x321a[26]]= UrlForward