Built motion from commit 4c281f94.|2.6.31
[motion2.git] / server / services / agi / reply.js
index 566375d..3137cd9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e7=['line','exports','stream','Transform','call','_localBuffer','inherits','prototype','_transform','\x0d\x0a\x0d\x0a','toString','_inBody','indexOf','substring','length','split','trim'];(function(_0x1f65ee,_0x1792a0){var _0x381fd8=function(_0x1f2973){while(--_0x1f2973){_0x1f65ee['push'](_0x1f65ee['shift']());}};_0x381fd8(++_0x1792a0);}(_0xa9e7,0x79));var _0x7a9e=function(_0x5806c3,_0x5105d8){_0x5806c3=_0x5806c3-0x0;var _0x48ac77=_0xa9e7[_0x5806c3];return _0x48ac77;};'use strict';var util=require('util');var Transform=require(_0x7a9e('0x0'))[_0x7a9e('0x1')];function AGIReply(_0x2940ba){Transform[_0x7a9e('0x2')](this,_0x2940ba);this[_0x7a9e('0x3')]='';this['_inBody']=![];}util[_0x7a9e('0x4')](AGIReply,Transform);AGIReply[_0x7a9e('0x5')][_0x7a9e('0x6')]=function(_0x22dd2e,_0x301f27,_0x40775c){var _0x1f890a='\x0a',_0x32ef48=['\x0a\x0a',_0x7a9e('0x7')],_0x9dcfe6=-0x1,_0x23f2ad=-0x1,_0x11d46e='',_0x262964=0x0,_0x264650='',_0x305781='';this['_localBuffer']+=_0x22dd2e[_0x7a9e('0x8')]();_0x264650=this[_0x7a9e('0x3')];if(!this[_0x7a9e('0x9')]){_0x262964=0x0;while(_0x32ef48[_0x262964]){while((_0x23f2ad=_0x264650[_0x7a9e('0xa')](_0x32ef48[_0x262964]))!=-0x1){_0x11d46e=_0x32ef48[_0x262964];_0x305781=_0x264650[_0x7a9e('0xb')](0x0,_0x23f2ad);_0x264650=_0x264650['substring'](_0x23f2ad+_0x11d46e[_0x7a9e('0xc')]);var _0x101d5e=_0x305781[_0x7a9e('0xd')](_0x1f890a),_0x5491ea=0x0,_0x46b68a={},_0x19ffdb='',_0x4e7620='',_0x25931e=-0x1;while(_0x101d5e[_0x5491ea]){_0x25931e=_0x101d5e[_0x5491ea][_0x7a9e('0xa')](':');if(_0x25931e!=-0x1){_0x19ffdb=_0x101d5e[_0x5491ea]['slice'](0x0,_0x25931e)[_0x7a9e('0xe')]();_0x4e7620=_0x101d5e[_0x5491ea]['slice'](_0x25931e+0x1)[_0x7a9e('0xe')]();if(_0x19ffdb[_0x7a9e('0xc')]>0x0){_0x46b68a[_0x19ffdb]=_0x4e7620;}}else{}_0x5491ea++;}this['emit']('headers',_0x46b68a);this['_inBody']=!![];}_0x262964++;}this[_0x7a9e('0x3')]=_0x264650;}else{while((_0x9dcfe6=_0x264650['indexOf'](_0x1f890a))!=-0x1){_0x305781=_0x264650[_0x7a9e('0xb')](0x0,_0x9dcfe6);this['emit'](_0x7a9e('0xf'),_0x305781);_0x264650=_0x264650[_0x7a9e('0xb')](_0x9dcfe6+_0x1f890a['length']);}this[_0x7a9e('0x3')]=_0x264650;}_0x40775c();};module[_0x7a9e('0x10')]=AGIReply;
\ No newline at end of file
+var _0x6f58=['stream','Transform','_inBody','_transform','\x0d\x0a\x0d\x0a','_localBuffer','length','split','indexOf','slice','trim','emit','headers','line','substring','exports','util'];(function(_0x4dab47,_0x4fe1e3){var _0x852b=function(_0x1b626d){while(--_0x1b626d){_0x4dab47['push'](_0x4dab47['shift']());}};_0x852b(++_0x4fe1e3);}(_0x6f58,0x1ec));var _0x86f5=function(_0x1631f0,_0x361f98){_0x1631f0=_0x1631f0-0x0;var _0x50f20a=_0x6f58[_0x1631f0];return _0x50f20a;};'use strict';var util=require(_0x86f5('0x0'));var Transform=require(_0x86f5('0x1'))[_0x86f5('0x2')];function AGIReply(_0x3137dc){Transform['call'](this,_0x3137dc);this['_localBuffer']='';this[_0x86f5('0x3')]=![];}util['inherits'](AGIReply,Transform);AGIReply['prototype'][_0x86f5('0x4')]=function(_0x5cc87e,_0x732700,_0x359cc9){var _0x168278='\x0a',_0x1d2298=['\x0a\x0a',_0x86f5('0x5')],_0x510ba4=-0x1,_0x482573=-0x1,_0x41971a='',_0x8bfb9f=0x0,_0x154e69='',_0x428f50='';this[_0x86f5('0x6')]+=_0x5cc87e['toString']();_0x154e69=this['_localBuffer'];if(!this['_inBody']){_0x8bfb9f=0x0;while(_0x1d2298[_0x8bfb9f]){while((_0x482573=_0x154e69['indexOf'](_0x1d2298[_0x8bfb9f]))!=-0x1){_0x41971a=_0x1d2298[_0x8bfb9f];_0x428f50=_0x154e69['substring'](0x0,_0x482573);_0x154e69=_0x154e69['substring'](_0x482573+_0x41971a[_0x86f5('0x7')]);var _0x44cbf6=_0x428f50[_0x86f5('0x8')](_0x168278),_0x1a8958=0x0,_0x152365={},_0x390030='',_0xdc7ce6='',_0x56663b=-0x1;while(_0x44cbf6[_0x1a8958]){_0x56663b=_0x44cbf6[_0x1a8958][_0x86f5('0x9')](':');if(_0x56663b!=-0x1){_0x390030=_0x44cbf6[_0x1a8958][_0x86f5('0xa')](0x0,_0x56663b)[_0x86f5('0xb')]();_0xdc7ce6=_0x44cbf6[_0x1a8958][_0x86f5('0xa')](_0x56663b+0x1)[_0x86f5('0xb')]();if(_0x390030[_0x86f5('0x7')]>0x0){_0x152365[_0x390030]=_0xdc7ce6;}}else{}_0x1a8958++;}this[_0x86f5('0xc')](_0x86f5('0xd'),_0x152365);this['_inBody']=!![];}_0x8bfb9f++;}this['_localBuffer']=_0x154e69;}else{while((_0x510ba4=_0x154e69['indexOf'](_0x168278))!=-0x1){_0x428f50=_0x154e69['substring'](0x0,_0x510ba4);this[_0x86f5('0xc')](_0x86f5('0xe'),_0x428f50);_0x154e69=_0x154e69[_0x86f5('0xf')](_0x510ba4+_0x168278[_0x86f5('0x7')]);}this[_0x86f5('0x6')]=_0x154e69;}_0x359cc9();};module[_0x86f5('0x10')]=AGIReply;
\ No newline at end of file