Built motion from commit 0adc88d.|0.0.117
[motion.git] / server / config / ami / network.js
1 var _0x6f3a=["\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x63\x61\x74\x63\x68","","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x66","\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x3D\x20\x25\x73\x0A","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x4C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x72\x6E\x69\x70\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x66","\x65\x78\x74\x65\x72\x6E\x69\x70\x20\x3D\x20\x25\x73\x0A","\x45\x78\x74\x65\x72\x6E\x69\x70\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x65\x78\x74\x65\x72\x6E\x69\x70","\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x74\x79\x70\x65","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var NetwokModel=require(_0x6f3a[1])[_0x6f3a[0]];var fs=require(_0x6f3a[2]);var util=require(_0x6f3a[3]);var path=require(_0x6f3a[4]);var config=require(_0x6f3a[5]);var _=require(_0x6f3a[6]);function Network(_0x6cf0x8){console[_0x6f3a[8]](_0x6f3a[7]);NetwokModel[_0x6f3a[9]](function(_0x6cf0x9){networkRewrite(_0x6cf0x9,_0x6cf0x8)});NetwokModel[_0x6f3a[10]](function(_0x6cf0x9){networkRewrite(_0x6cf0x9,_0x6cf0x8)});NetwokModel[_0x6f3a[11]](function(_0x6cf0x9){networkRewrite(_0x6cf0x9,_0x6cf0x8)})}function networkRewrite(_0x6cf0x9,_0x6cf0x8){switch(_0x6cf0x9[_0x6f3a[36]]){case _0x6f3a[28]:return NetwokModel[_0x6f3a[29]](_0x6f3a[28])[_0x6f3a[27]]()[_0x6f3a[26]](function(_0x6cf0xc){var _0x6cf0xd=_0x6f3a[14];var _0x6cf0xe=_0x6f3a[15];_0x6cf0xc[_0x6f3a[19]](function(_0x6cf0xf){_0x6cf0xd+= util[_0x6f3a[18]](_0x6f3a[16],_0x6cf0xf[_0x6f3a[17]])});fs[_0x6f3a[25]](path[_0x6f3a[21]](config[_0x6f3a[20]],_0x6cf0xe),_0x6cf0xd,{flags:_0x6f3a[22],mode:parseInt(_0x6f3a[23],8)},function(_0x6cf0xb){if(_0x6cf0xb){throw _0x6cf0xb};reload(_0x6cf0x8);console[_0x6f3a[8]](_0x6f3a[24])})})[_0x6f3a[13]](function(_0x6cf0xb){console[_0x6f3a[8]](_0x6f3a[12],_0x6cf0xb)});case _0x6f3a[34]:return NetwokModel[_0x6f3a[29]](_0x6f3a[34])[_0x6f3a[27]]()[_0x6f3a[26]](function(_0x6cf0x10){var _0x6cf0x11=_0x6f3a[14];var _0x6cf0x12=_0x6f3a[31];_0x6cf0x10[_0x6f3a[19]](function(_0x6cf0x13){_0x6cf0x11+= util[_0x6f3a[18]](_0x6f3a[32],_0x6cf0x13[_0x6f3a[17]])});fs[_0x6f3a[25]](path[_0x6f3a[21]](config[_0x6f3a[20]],_0x6cf0x12),_0x6cf0x11,{flags:_0x6f3a[22],mode:parseInt(_0x6f3a[23],8)},function(_0x6cf0xb){if(_0x6cf0xb){throw _0x6cf0xb};reload(_0x6cf0x8);console[_0x6f3a[8]](_0x6f3a[33])})})[_0x6f3a[13]](function(_0x6cf0xb){console[_0x6f3a[8]](_0x6f3a[30],_0x6cf0xb)});default:console[_0x6f3a[8]](_0x6f3a[35],_0x6cf0x9[_0x6f3a[36]])}}function reload(_0x6cf0x8){_0x6cf0x8[_0x6f3a[39]]({Action:_0x6f3a[37]},function(_0x6cf0xb,_0x6cf0x15){if(_0x6cf0xb){console[_0x6f3a[38]](_0x6cf0xb)}else {console[_0x6f3a[8]](_0x6cf0x15)}})}module[_0x6f3a[40]]= Network