Built motion from commit 3848e0076.|1.0.27
[motion.git] / server / config / agi / lib / connection.js
index 2a971d5..ade9f3a 100644 (file)
@@ -1 +1 @@
-var _0x4f19=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6D\x61\x70\x70\x65\x72","\x62\x75\x66\x66\x65\x72","","\x64\x61\x74\x61","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x44\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x45\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x74\x66\x38","\x48\x41\x4E\x47\x55\x50","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x67\x75\x70","\x74\x72\x69\x6D","\x0A\x0A","\x72\x65\x71\x75\x65\x73\x74","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x6E\x64\x6C\x65\x52\x65\x70\x6C\x79","\x68\x61\x6E\x64\x6C\x65\x52\x65\x71\x75\x65\x73\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x64\x6F\x6E\x65","\x68\x61\x6E\x64\x6C\x65\x44\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x5B\x41\x47\x49\x5D\x20\x45\x6E\x64","\x6C\x6F\x67","\x64\x65\x73\x74\x72\x6F\x79","\x5B\x41\x47\x49\x5D\x20\x52\x65\x71\x75\x65\x73\x74","\x0A","\x77\x72\x69\x74\x65","\x5B\x41\x47\x49\x5D\x20\x45\x72\x72\x6F\x72\x3A","\x5B\x41\x47\x49\x5D\x20\x44\x6F\x6E\x65","\x5B\x41\x47\x49\x5D\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x5B\x41\x47\x49\x5D\x20\x44\x65\x73\x74\x72\x6F\x79","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x69\x5F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0x4f19[0];var AGIChannel=require(_0x4f19[1]);var AGIConnection=function(_0x9f25x3,_0x9f25x4){this[_0x4f19[2]]= _0x9f25x4;this[_0x4f19[3]]= _0x9f25x3;this[_0x4f19[4]]= _0x4f19[5];this[_0x4f19[2]][_0x4f19[9]](_0x4f19[6],this[_0x4f19[8]][_0x4f19[7]](this));this[_0x4f19[2]][_0x4f19[9]](_0x4f19[10],this[_0x4f19[11]][_0x4f19[7]](this))};AGIConnection[_0x4f19[12]][_0x4f19[8]]= function(_0x9f25x5){var _0x9f25x6=this;_0x9f25x5= _0x9f25x5.toString(_0x4f19[13]);if(_0x9f25x5[_0x4f19[15]](_0x4f19[14])=== 0){if(this[_0x4f19[16]]){this[_0x4f19[16]](_0x4f19[17])};return};if(this[_0x4f19[16]]){this[_0x4f19[16]](_0x9f25x5[_0x4f19[18]]())}else {this[_0x4f19[4]]+= _0x9f25x5;if(this[_0x4f19[4]][_0x4f19[15]](_0x4f19[19])>= 0){this[_0x4f19[20]]= this[_0x4f19[21]](this[_0x4f19[4]]);var _0x9f25x7= new AGIChannel(this[_0x4f19[20]],this[_0x4f19[3]]);this[_0x4f19[16]]= _0x9f25x7[_0x4f19[22]][_0x4f19[7]](_0x9f25x7);_0x9f25x7[_0x4f19[9]](_0x4f19[20],this[_0x4f19[23]][_0x4f19[7]](this));_0x9f25x7[_0x4f19[9]](_0x4f19[24],this[_0x4f19[25]][_0x4f19[7]](this));_0x9f25x7[_0x4f19[9]](_0x4f19[26],this[_0x4f19[27]][_0x4f19[7]](this));_0x9f25x7[_0x4f19[9]](_0x4f19[28],this[_0x4f19[29]][_0x4f19[7]](this))}}};AGIConnection[_0x4f19[12]][_0x4f19[11]]= function(){console[_0x4f19[31]](_0x4f19[30]);if(this[_0x4f19[16]]){this[_0x4f19[16]](_0x4f19[17])};this[_0x4f19[32]]()};AGIConnection[_0x4f19[12]][_0x4f19[23]]= function(_0x9f25x8){console[_0x4f19[31]](_0x4f19[33],_0x9f25x8);if(this[_0x4f19[2]]){this[_0x4f19[2]][_0x4f19[35]](_0x9f25x8+ _0x4f19[34])}};AGIConnection[_0x4f19[12]][_0x4f19[29]]= function(_0x9f25x9){console[_0x4f19[28]](_0x4f19[36],_0x9f25x9);this[_0x4f19[32]]()};AGIConnection[_0x4f19[12]][_0x4f19[27]]= function(){console[_0x4f19[31]](_0x4f19[37]);this[_0x4f19[32]]()};AGIConnection[_0x4f19[12]][_0x4f19[25]]= function(){console[_0x4f19[31]](_0x4f19[38])};AGIConnection[_0x4f19[12]][_0x4f19[32]]= function(){console[_0x4f19[31]](_0x4f19[39]);if(this[_0x4f19[2]]){this[_0x4f19[2]][_0x4f19[32]]();this[_0x4f19[2]]= null}};AGIConnection[_0x4f19[12]][_0x4f19[21]]= function(_0x9f25xa){var _0x9f25xb={};var _0x9f25x5=_0x9f25xa.toString();_0x9f25x5[_0x4f19[40]](_0x4f19[34])[_0x4f19[44]](function(_0x9f25xc){var _0x9f25xd=_0x9f25xc[_0x4f19[40]](/:\s?/);if(_0x9f25xd[_0x4f19[41]]=== 2){var _0x9f25xe=_0x9f25xd[0][_0x4f19[18]]();if(_0x9f25xe[_0x4f19[15]](_0x4f19[42])=== 0){_0x9f25xe= _0x9f25xe[_0x4f19[43]](4)};var _0x9f25xf=_0x9f25xd[1][_0x4f19[18]]();_0x9f25xb[_0x9f25xe]= _0x9f25xf}});return _0x9f25xb};module[_0x4f19[45]]= AGIConnection
\ No newline at end of file
+var _0xd50c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6D\x61\x70\x70\x65\x72","\x62\x75\x66\x66\x65\x72","","\x64\x61\x74\x61","\x62\x69\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x44\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x68\x61\x6E\x64\x6C\x65\x45\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x74\x66\x38","\x48\x41\x4E\x47\x55\x50","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x67\x75\x70","\x74\x72\x69\x6D","\x0A\x0A","\x72\x65\x71\x75\x65\x73\x74","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x6E\x64\x6C\x65\x52\x65\x70\x6C\x79","\x68\x61\x6E\x64\x6C\x65\x52\x65\x71\x75\x65\x73\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x64\x6F\x6E\x65","\x68\x61\x6E\x64\x6C\x65\x44\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x45\x6E\x64","\x69\x6E\x66\x6F","\x64\x65\x73\x74\x72\x6F\x79","\x52\x65\x71\x75\x65\x73\x74","\x0A","\x77\x72\x69\x74\x65","\x45\x72\x72\x6F\x72\x3A","\x44\x6F\x6E\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x44\x65\x73\x74\x72\x6F\x79","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x69\x5F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0xd50c[0];var AGIChannel=require(_0xd50c[1]);var logger=require(_0xd50c[3])(_0xd50c[2]);var AGIConnection=function(_0x1032x4,_0x1032x5){this[_0xd50c[4]]= _0x1032x5;this[_0xd50c[5]]= _0x1032x4;this[_0xd50c[6]]= _0xd50c[7];this[_0xd50c[4]][_0xd50c[11]](_0xd50c[8],this[_0xd50c[10]][_0xd50c[9]](this));this[_0xd50c[4]][_0xd50c[11]](_0xd50c[12],this[_0xd50c[13]][_0xd50c[9]](this))};AGIConnection[_0xd50c[14]][_0xd50c[10]]= function(_0x1032x6){var _0x1032x7=this;_0x1032x6= _0x1032x6.toString(_0xd50c[15]);if(_0x1032x6[_0xd50c[17]](_0xd50c[16])=== 0){if(this[_0xd50c[18]]){this[_0xd50c[18]](_0xd50c[19])};return};if(this[_0xd50c[18]]){this[_0xd50c[18]](_0x1032x6[_0xd50c[20]]())}else {this[_0xd50c[6]]+= _0x1032x6;if(this[_0xd50c[6]][_0xd50c[17]](_0xd50c[21])>= 0){this[_0xd50c[22]]= this[_0xd50c[23]](this[_0xd50c[6]]);var _0x1032x8= new AGIChannel(this[_0xd50c[22]],this[_0xd50c[5]]);this[_0xd50c[18]]= _0x1032x8[_0xd50c[24]][_0xd50c[9]](_0x1032x8);_0x1032x8[_0xd50c[11]](_0xd50c[22],this[_0xd50c[25]][_0xd50c[9]](this));_0x1032x8[_0xd50c[11]](_0xd50c[26],this[_0xd50c[27]][_0xd50c[9]](this));_0x1032x8[_0xd50c[11]](_0xd50c[28],this[_0xd50c[29]][_0xd50c[9]](this));_0x1032x8[_0xd50c[11]](_0xd50c[30],this[_0xd50c[31]][_0xd50c[9]](this))}}};AGIConnection[_0xd50c[14]][_0xd50c[13]]= function(){logger[_0xd50c[33]](_0xd50c[32]);if(this[_0xd50c[18]]){this[_0xd50c[18]](_0xd50c[19])};this[_0xd50c[34]]()};AGIConnection[_0xd50c[14]][_0xd50c[25]]= function(_0x1032x9){logger[_0xd50c[33]](_0xd50c[35],_0x1032x9);if(this[_0xd50c[4]]){this[_0xd50c[4]][_0xd50c[37]](_0x1032x9+ _0xd50c[36])}};AGIConnection[_0xd50c[14]][_0xd50c[31]]= function(_0x1032xa){logger[_0xd50c[30]](_0xd50c[38],_0x1032xa);this[_0xd50c[34]]()};AGIConnection[_0xd50c[14]][_0xd50c[29]]= function(){logger[_0xd50c[33]](_0xd50c[39]);this[_0xd50c[34]]()};AGIConnection[_0xd50c[14]][_0xd50c[27]]= function(){logger[_0xd50c[33]](_0xd50c[40])};AGIConnection[_0xd50c[14]][_0xd50c[34]]= function(){logger[_0xd50c[33]](_0xd50c[41]);if(this[_0xd50c[4]]){this[_0xd50c[4]][_0xd50c[34]]();this[_0xd50c[4]]= null}};AGIConnection[_0xd50c[14]][_0xd50c[23]]= function(_0x1032xb){var _0x1032xc={};var _0x1032x6=_0x1032xb.toString();_0x1032x6[_0xd50c[42]](_0xd50c[36])[_0xd50c[46]](function(_0x1032xd){var _0x1032xe=_0x1032xd[_0xd50c[42]](/:\s?/);if(_0x1032xe[_0xd50c[43]]=== 2){var _0x1032xf=_0x1032xe[0][_0xd50c[20]]();if(_0x1032xf[_0xd50c[17]](_0xd50c[44])=== 0){_0x1032xf= _0x1032xf[_0xd50c[45]](4)};var _0x1032x10=_0x1032xe[1][_0xd50c[20]]();_0x1032xc[_0x1032xf]= _0x1032x10}});return _0x1032xc};module[_0xd50c[47]]= AGIConnection
\ No newline at end of file