640d6931ec759189db37b0a45442540b8ff0a022
[motion.git] / server / config / integrations / motionbar.js
1 var _0x3c64=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x75\x73\x74\x61\x63\x68\x65","\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","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x6D\x61\x6E\x61\x67\x65\x20\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x65\x72\x72\x6F\x72","\x6E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x72\x65\x64\x75\x63\x65","\x69\x64","\x6D\x65\x72\x67\x65","\x54\x79\x70\x65\x3A","\x63\x61\x74\x63\x68","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x50\x6F\x70\x75\x70\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x62\x6F\x64\x79\x3E\x45\x6D\x70\x74\x79\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x2F\x68\x74\x6D\x6C\x3E","\x73\x75\x62\x6A\x65\x63\x74","\x4E\x6F\x20\x54\x69\x74\x6C\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x30","\x75\x72\x6C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x69\x6B\x69\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x55\x52\x4C\x20\x63\x72\x65\x61\x74\x65\x64","\x31","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x64\x61\x74\x61\x33","","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x6F\x70\x65\x6E\x65\x64","\x32","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3c64[0];var _=require(_0x3c64[1]);var util=require(_0x3c64[2]);var Mustache=require(_0x3c64[3]);var ReportIntegration=require(_0x3c64[5])[_0x3c64[4]];var Template=require(_0x3c64[5])[_0x3c64[6]];function Motionbar(){console[_0x3c64[8]](_0x3c64[7])}Motionbar[_0x3c64[10]][_0x3c64[9]]= function(_0x8b16x7,_0x8b16x8,_0x8b16x9,_0x8b16xa){if(!_0x8b16x7[_0x3c64[11]]|| !_0x8b16x7[_0x3c64[12]]){console[_0x3c64[14]](_0x3c64[13]);return};_0x8b16xa= _[_0x3c64[17]](_0x8b16xa,function(_0x8b16xb,_0x8b16xc,_0x8b16xd){_0x8b16xb[_0x8b16xc[_0x3c64[15]]]= _0x8b16xc[_0x3c64[16]];return _0x8b16xb},{});delete _0x8b16x9[_0x3c64[18]];var _0x8b16xe=_[_0x3c64[19]](_0x8b16x9,_0x8b16xa);console[_0x3c64[8]](_0x3c64[20],_0x8b16x7[_0x3c64[11]]);switch(_0x8b16x7[_0x3c64[11]]){case _0x3c64[37]:return Template[_0x3c64[36]](_0x8b16x7[_0x3c64[12]])[_0x3c64[23]](function(_0x8b16xf){_0x8b16x9[_0x3c64[24]]= _0x8b16xf[_0x3c64[24]]?Mustache[_0x3c64[25]](_0x8b16xf[_0x3c64[24]],_0x8b16xe):_0x3c64[26];_0x8b16x9[_0x3c64[27]]= _0x8b16xf[_0x3c64[27]]?Mustache[_0x3c64[25]](_0x8b16xf[_0x3c64[27]].toString(),_0x8b16xe):_0x3c64[28];_0x8b16x9[_0x3c64[29]]= _0x3c64[30];_0x8b16x9[_0x3c64[31]]= _0x8b16x8;_0x8b16x9[_0x3c64[32]]= _0x3c64[33];_0x8b16x9[_0x3c64[34]]= _0x8b16x7[_0x3c64[11]];return ReportIntegration[_0x3c64[35]](_0x8b16x9)})[_0x3c64[23]](function(){console[_0x3c64[8]](_0x3c64[22])})[_0x3c64[21]](handleError(_0x8b16x8,_0x8b16x9,_0x8b16x7[_0x3c64[11]]));case _0x3c64[41]:_0x8b16x9[_0x3c64[38]]= _0x8b16x7[_0x3c64[12]]?Mustache[_0x3c64[25]](_0x8b16x7[_0x3c64[12]],_0x8b16xe):_0x3c64[39];_0x8b16x9[_0x3c64[29]]= _0x3c64[30];_0x8b16x9[_0x3c64[31]]= _0x8b16x8;_0x8b16x9[_0x3c64[32]]= _0x3c64[33];_0x8b16x9[_0x3c64[34]]= _0x8b16x7[_0x3c64[11]];return ReportIntegration[_0x3c64[35]](_0x8b16x9)[_0x3c64[23]](function(){console[_0x3c64[8]](_0x3c64[40])})[_0x3c64[21]](handleError(_0x8b16x8,_0x8b16x9,_0x8b16x7[_0x3c64[11]]));case _0x3c64[47]:_0x8b16x9[_0x3c64[42]]= _0x8b16x7[_0x3c64[12]];_0x8b16x9[_0x3c64[43]]= _0x8b16x7[_0x3c64[44]]?Mustache[_0x3c64[25]](_0x8b16x7[_0x3c64[44]],_0x8b16xe):_0x3c64[45];_0x8b16x9[_0x3c64[29]]= _0x3c64[30];_0x8b16x9[_0x3c64[31]]= _0x8b16x8;_0x8b16x9[_0x3c64[32]]= _0x3c64[33];_0x8b16x9[_0x3c64[34]]= _0x8b16x7[_0x3c64[11]];return ReportIntegration[_0x3c64[35]](_0x8b16x9)[_0x3c64[23]](function(){console[_0x3c64[8]](_0x3c64[46])})[_0x3c64[21]](handleError(_0x8b16x8,_0x8b16x9,_0x8b16x7[_0x3c64[11]]));default:console[_0x3c64[8]](_0x3c64[48],_0x8b16x7[_0x3c64[11]])}};function handleError(_0x8b16x8,_0x8b16x9,_0x8b16x11){return function(_0x8b16x12){console[_0x3c64[14]](_0x3c64[49]);console[_0x3c64[14]](_0x3c64[50],_0x8b16x12[_0x3c64[51]]);console[_0x3c64[14]](_0x3c64[52],_0x8b16x12[_0x3c64[53]]);_0x8b16x9[_0x3c64[29]]= _0x3c64[30];_0x8b16x9[_0x3c64[31]]= _0x8b16x8;_0x8b16x9[_0x3c64[32]]= _0x3c64[54];_0x8b16x9[_0x3c64[34]]= _0x8b16x11;ReportIntegration[_0x3c64[35]](_0x8b16x9)[_0x3c64[23]](function(){return})[_0x3c64[21]](function(_0x8b16x12){console[_0x3c64[14]](_0x3c64[55]);return})}}module[_0x3c64[56]]= Motionbar