Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / services / agi / reply.js
index 9e27157..8604893 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7872=['emit','headers','line','exports','util','stream','Transform','call','_inBody','inherits','_transform','\x0d\x0a\x0d\x0a','_localBuffer','substring','length','split','indexOf','trim','slice'];(function(_0x17e11f,_0x3dca5a){var _0xe81a36=function(_0x2066c3){while(--_0x2066c3){_0x17e11f['push'](_0x17e11f['shift']());}};_0xe81a36(++_0x3dca5a);}(_0x7872,0x193));var _0x2787=function(_0x440d2a,_0x23070a){_0x440d2a=_0x440d2a-0x0;var _0x2bbe8c=_0x7872[_0x440d2a];return _0x2bbe8c;};'use strict';var util=require(_0x2787('0x0'));var Transform=require(_0x2787('0x1'))[_0x2787('0x2')];function AGIReply(_0x4e75d4){Transform[_0x2787('0x3')](this,_0x4e75d4);this['_localBuffer']='';this[_0x2787('0x4')]=![];}util[_0x2787('0x5')](AGIReply,Transform);AGIReply['prototype'][_0x2787('0x6')]=function(_0x7e656b,_0x531f26,_0x1108cc){var _0x433829='\x0a',_0x102cd8=['\x0a\x0a',_0x2787('0x7')],_0x56b049=-0x1,_0x508d39=-0x1,_0x5ba648='',_0x2f2058=0x0,_0x4bc325='',_0x31b4cd='';this[_0x2787('0x8')]+=_0x7e656b['toString']();_0x4bc325=this['_localBuffer'];if(!this[_0x2787('0x4')]){_0x2f2058=0x0;while(_0x102cd8[_0x2f2058]){while((_0x508d39=_0x4bc325['indexOf'](_0x102cd8[_0x2f2058]))!=-0x1){_0x5ba648=_0x102cd8[_0x2f2058];_0x31b4cd=_0x4bc325[_0x2787('0x9')](0x0,_0x508d39);_0x4bc325=_0x4bc325[_0x2787('0x9')](_0x508d39+_0x5ba648[_0x2787('0xa')]);var _0x2f081e=_0x31b4cd[_0x2787('0xb')](_0x433829),_0x1a0c13=0x0,_0x18a90b={},_0x4161ab='',_0x57d94e='',_0x4d90bc=-0x1;while(_0x2f081e[_0x1a0c13]){_0x4d90bc=_0x2f081e[_0x1a0c13][_0x2787('0xc')](':');if(_0x4d90bc!=-0x1){_0x4161ab=_0x2f081e[_0x1a0c13]['slice'](0x0,_0x4d90bc)[_0x2787('0xd')]();_0x57d94e=_0x2f081e[_0x1a0c13][_0x2787('0xe')](_0x4d90bc+0x1)[_0x2787('0xd')]();if(_0x4161ab['length']>0x0){_0x18a90b[_0x4161ab]=_0x57d94e;}}else{}_0x1a0c13++;}this[_0x2787('0xf')](_0x2787('0x10'),_0x18a90b);this[_0x2787('0x4')]=!![];}_0x2f2058++;}this[_0x2787('0x8')]=_0x4bc325;}else{while((_0x56b049=_0x4bc325[_0x2787('0xc')](_0x433829))!=-0x1){_0x31b4cd=_0x4bc325['substring'](0x0,_0x56b049);this[_0x2787('0xf')](_0x2787('0x11'),_0x31b4cd);_0x4bc325=_0x4bc325[_0x2787('0x9')](_0x56b049+_0x433829[_0x2787('0xa')]);}this[_0x2787('0x8')]=_0x4bc325;}_0x1108cc();};module[_0x2787('0x12')]=AGIReply;
\ No newline at end of file
+var _0xb03a=['_localBuffer','_inBody','prototype','\x0d\x0a\x0d\x0a','toString','indexOf','substring','length','split','slice','trim','emit','line','exports','util','stream','Transform','call'];(function(_0x220824,_0x3478d0){var _0x285153=function(_0x51adb7){while(--_0x51adb7){_0x220824['push'](_0x220824['shift']());}};_0x285153(++_0x3478d0);}(_0xb03a,0x1d0));var _0xab03=function(_0x44526f,_0x175ac3){_0x44526f=_0x44526f-0x0;var _0x32fc7a=_0xb03a[_0x44526f];return _0x32fc7a;};'use strict';var util=require(_0xab03('0x0'));var Transform=require(_0xab03('0x1'))[_0xab03('0x2')];function AGIReply(_0x36ec20){Transform[_0xab03('0x3')](this,_0x36ec20);this[_0xab03('0x4')]='';this[_0xab03('0x5')]=![];}util['inherits'](AGIReply,Transform);AGIReply[_0xab03('0x6')]['_transform']=function(_0x1a9b8e,_0x175582,_0x85be97){var _0x3d7a98='\x0a',_0x39506b=['\x0a\x0a',_0xab03('0x7')],_0x3810d5=-0x1,_0x5e9bae=-0x1,_0x29df9b='',_0x2ec859=0x0,_0xf29179='',_0x1aa341='';this[_0xab03('0x4')]+=_0x1a9b8e[_0xab03('0x8')]();_0xf29179=this[_0xab03('0x4')];if(!this[_0xab03('0x5')]){_0x2ec859=0x0;while(_0x39506b[_0x2ec859]){while((_0x5e9bae=_0xf29179[_0xab03('0x9')](_0x39506b[_0x2ec859]))!=-0x1){_0x29df9b=_0x39506b[_0x2ec859];_0x1aa341=_0xf29179[_0xab03('0xa')](0x0,_0x5e9bae);_0xf29179=_0xf29179['substring'](_0x5e9bae+_0x29df9b[_0xab03('0xb')]);var _0x56eae5=_0x1aa341[_0xab03('0xc')](_0x3d7a98),_0x231153=0x0,_0x54ef91={},_0x377326='',_0x5ee748='',_0x54fa77=-0x1;while(_0x56eae5[_0x231153]){_0x54fa77=_0x56eae5[_0x231153][_0xab03('0x9')](':');if(_0x54fa77!=-0x1){_0x377326=_0x56eae5[_0x231153][_0xab03('0xd')](0x0,_0x54fa77)[_0xab03('0xe')]();_0x5ee748=_0x56eae5[_0x231153][_0xab03('0xd')](_0x54fa77+0x1)[_0xab03('0xe')]();if(_0x377326[_0xab03('0xb')]>0x0){_0x54ef91[_0x377326]=_0x5ee748;}}else{}_0x231153++;}this[_0xab03('0xf')]('headers',_0x54ef91);this[_0xab03('0x5')]=!![];}_0x2ec859++;}this[_0xab03('0x4')]=_0xf29179;}else{while((_0x3810d5=_0xf29179['indexOf'](_0x3d7a98))!=-0x1){_0x1aa341=_0xf29179[_0xab03('0xa')](0x0,_0x3810d5);this['emit'](_0xab03('0x10'),_0x1aa341);_0xf29179=_0xf29179[_0xab03('0xa')](_0x3810d5+_0x3d7a98[_0xab03('0xb')]);}this[_0xab03('0x4')]=_0xf29179;}_0x85be97();};module[_0xab03('0x11')]=AGIReply;
\ No newline at end of file