Built motion from commit 48095ee.|0.0.102
[motion.git] / server / config / ami / network.js
1 var _0xfe39=["\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(_0xfe39[1])[_0xfe39[0]];var fs=require(_0xfe39[2]);var util=require(_0xfe39[3]);var path=require(_0xfe39[4]);var config=require(_0xfe39[5]);var _=require(_0xfe39[6]);function Network(_0x3c2fx8){console[_0xfe39[8]](_0xfe39[7]);NetwokModel[_0xfe39[9]](function(_0x3c2fx9){networkRewrite(_0x3c2fx9,_0x3c2fx8)});NetwokModel[_0xfe39[10]](function(_0x3c2fx9){networkRewrite(_0x3c2fx9,_0x3c2fx8)});NetwokModel[_0xfe39[11]](function(_0x3c2fx9){networkRewrite(_0x3c2fx9,_0x3c2fx8)})}function networkRewrite(_0x3c2fx9,_0x3c2fx8){switch(_0x3c2fx9[_0xfe39[36]]){case _0xfe39[28]:return NetwokModel[_0xfe39[29]](_0xfe39[28])[_0xfe39[27]]()[_0xfe39[26]](function(_0x3c2fxc){var _0x3c2fxd=_0xfe39[14];var _0x3c2fxe=_0xfe39[15];_0x3c2fxc[_0xfe39[19]](function(_0x3c2fxf){_0x3c2fxd+=util[_0xfe39[18]](_0xfe39[16],_0x3c2fxf[_0xfe39[17]])});fs[_0xfe39[25]](path[_0xfe39[21]](config[_0xfe39[20]],_0x3c2fxe),_0x3c2fxd,{flags:_0xfe39[22],mode:parseInt(_0xfe39[23],8)},function(_0x3c2fxb){if(_0x3c2fxb){throw _0x3c2fxb};reload(_0x3c2fx8);console[_0xfe39[8]](_0xfe39[24])})})[_0xfe39[13]](function(_0x3c2fxb){console[_0xfe39[8]](_0xfe39[12],_0x3c2fxb)});case _0xfe39[34]:return NetwokModel[_0xfe39[29]](_0xfe39[34])[_0xfe39[27]]()[_0xfe39[26]](function(_0x3c2fx10){var _0x3c2fx11=_0xfe39[14];var _0x3c2fx12=_0xfe39[31];_0x3c2fx10[_0xfe39[19]](function(_0x3c2fx13){_0x3c2fx11+=util[_0xfe39[18]](_0xfe39[32],_0x3c2fx13[_0xfe39[17]])});fs[_0xfe39[25]](path[_0xfe39[21]](config[_0xfe39[20]],_0x3c2fx12),_0x3c2fx11,{flags:_0xfe39[22],mode:parseInt(_0xfe39[23],8)},function(_0x3c2fxb){if(_0x3c2fxb){throw _0x3c2fxb};reload(_0x3c2fx8);console[_0xfe39[8]](_0xfe39[33])})})[_0xfe39[13]](function(_0x3c2fxb){console[_0xfe39[8]](_0xfe39[30],_0x3c2fxb)});default:console[_0xfe39[8]](_0xfe39[35],_0x3c2fx9[_0xfe39[36]])}}function reload(_0x3c2fx8){_0x3c2fx8[_0xfe39[39]]({Action:_0xfe39[37]},function(_0x3c2fxb,_0x3c2fx15){if(_0x3c2fxb){console[_0xfe39[38]](_0x3c2fxb)}else {console[_0xfe39[8]](_0x3c2fx15)}})}module[_0xfe39[40]]=Network