Built motion from commit c56b56e.|0.0.125
[motion.git] / server / config / ami / network.js
1 var _0xafc7=["\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(_0xafc7[1])[_0xafc7[0]];var fs=require(_0xafc7[2]);var util=require(_0xafc7[3]);var path=require(_0xafc7[4]);var config=require(_0xafc7[5]);var _=require(_0xafc7[6]);function Network(_0x3a9fx8){console[_0xafc7[8]](_0xafc7[7]);NetwokModel[_0xafc7[9]](function(_0x3a9fx9){networkRewrite(_0x3a9fx9,_0x3a9fx8)});NetwokModel[_0xafc7[10]](function(_0x3a9fx9){networkRewrite(_0x3a9fx9,_0x3a9fx8)});NetwokModel[_0xafc7[11]](function(_0x3a9fx9){networkRewrite(_0x3a9fx9,_0x3a9fx8)})}function networkRewrite(_0x3a9fx9,_0x3a9fx8){switch(_0x3a9fx9[_0xafc7[36]]){case _0xafc7[28]:return NetwokModel[_0xafc7[29]](_0xafc7[28])[_0xafc7[27]]()[_0xafc7[26]](function(_0x3a9fxc){var _0x3a9fxd=_0xafc7[14];var _0x3a9fxe=_0xafc7[15];_0x3a9fxc[_0xafc7[19]](function(_0x3a9fxf){_0x3a9fxd+= util[_0xafc7[18]](_0xafc7[16],_0x3a9fxf[_0xafc7[17]])});fs[_0xafc7[25]](path[_0xafc7[21]](config[_0xafc7[20]],_0x3a9fxe),_0x3a9fxd,{flags:_0xafc7[22],mode:parseInt(_0xafc7[23],8)},function(_0x3a9fxb){if(_0x3a9fxb){throw _0x3a9fxb};reload(_0x3a9fx8);console[_0xafc7[8]](_0xafc7[24])})})[_0xafc7[13]](function(_0x3a9fxb){console[_0xafc7[8]](_0xafc7[12],_0x3a9fxb)});case _0xafc7[34]:return NetwokModel[_0xafc7[29]](_0xafc7[34])[_0xafc7[27]]()[_0xafc7[26]](function(_0x3a9fx10){var _0x3a9fx11=_0xafc7[14];var _0x3a9fx12=_0xafc7[31];_0x3a9fx10[_0xafc7[19]](function(_0x3a9fx13){_0x3a9fx11+= util[_0xafc7[18]](_0xafc7[32],_0x3a9fx13[_0xafc7[17]])});fs[_0xafc7[25]](path[_0xafc7[21]](config[_0xafc7[20]],_0x3a9fx12),_0x3a9fx11,{flags:_0xafc7[22],mode:parseInt(_0xafc7[23],8)},function(_0x3a9fxb){if(_0x3a9fxb){throw _0x3a9fxb};reload(_0x3a9fx8);console[_0xafc7[8]](_0xafc7[33])})})[_0xafc7[13]](function(_0x3a9fxb){console[_0xafc7[8]](_0xafc7[30],_0x3a9fxb)});default:console[_0xafc7[8]](_0xafc7[35],_0x3a9fx9[_0xafc7[36]])}}function reload(_0x3a9fx8){_0x3a9fx8[_0xafc7[39]]({Action:_0xafc7[37]},function(_0x3a9fxb,_0x3a9fx15){if(_0x3a9fxb){console[_0xafc7[38]](_0x3a9fxb)}else {console[_0xafc7[8]](_0x3a9fx15)}})}module[_0xafc7[40]]= Network