Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / agi / reply.js
index c1c91ff..f629341 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb9a7=['line','exports','stream','_localBuffer','inherits','prototype','_transform','toString','indexOf','substring','slice','trim','length','emit','headers','_inBody'];(function(_0x3be567,_0x5cf030){var _0x11b9d9=function(_0x103326){while(--_0x103326){_0x3be567['push'](_0x3be567['shift']());}};_0x11b9d9(++_0x5cf030);}(_0xb9a7,0x112));var _0x7b9a=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0xb9a7[_0x209941];return _0x1e8729;};'use strict';var util=require('util');var Transform=require(_0x7b9a('0x0'))['Transform'];function AGIReply(_0x563857){Transform['call'](this,_0x563857);this[_0x7b9a('0x1')]='';this['_inBody']=![];}util[_0x7b9a('0x2')](AGIReply,Transform);AGIReply[_0x7b9a('0x3')][_0x7b9a('0x4')]=function(_0x24cae3,_0x5cd5da,_0xf6dae2){var _0x22764f='\x0a',_0x7019fd=['\x0a\x0a','\x0d\x0a\x0d\x0a'],_0x37ce81=-0x1,_0x3e51f0=-0x1,_0x4d3f20='',_0x43d8e2=0x0,_0x3e84f1='',_0x56a199='';this['_localBuffer']+=_0x24cae3[_0x7b9a('0x5')]();_0x3e84f1=this[_0x7b9a('0x1')];if(!this['_inBody']){_0x43d8e2=0x0;while(_0x7019fd[_0x43d8e2]){while((_0x3e51f0=_0x3e84f1[_0x7b9a('0x6')](_0x7019fd[_0x43d8e2]))!=-0x1){_0x4d3f20=_0x7019fd[_0x43d8e2];_0x56a199=_0x3e84f1['substring'](0x0,_0x3e51f0);_0x3e84f1=_0x3e84f1[_0x7b9a('0x7')](_0x3e51f0+_0x4d3f20['length']);var _0x3af176=_0x56a199['split'](_0x22764f),_0x1584a2=0x0,_0x291591={},_0x5948ca='',_0x32f616='',_0xec5949=-0x1;while(_0x3af176[_0x1584a2]){_0xec5949=_0x3af176[_0x1584a2][_0x7b9a('0x6')](':');if(_0xec5949!=-0x1){_0x5948ca=_0x3af176[_0x1584a2][_0x7b9a('0x8')](0x0,_0xec5949)['trim']();_0x32f616=_0x3af176[_0x1584a2][_0x7b9a('0x8')](_0xec5949+0x1)[_0x7b9a('0x9')]();if(_0x5948ca[_0x7b9a('0xa')]>0x0){_0x291591[_0x5948ca]=_0x32f616;}}else{}_0x1584a2++;}this[_0x7b9a('0xb')](_0x7b9a('0xc'),_0x291591);this[_0x7b9a('0xd')]=!![];}_0x43d8e2++;}this[_0x7b9a('0x1')]=_0x3e84f1;}else{while((_0x37ce81=_0x3e84f1[_0x7b9a('0x6')](_0x22764f))!=-0x1){_0x56a199=_0x3e84f1[_0x7b9a('0x7')](0x0,_0x37ce81);this['emit'](_0x7b9a('0xe'),_0x56a199);_0x3e84f1=_0x3e84f1['substring'](_0x37ce81+_0x22764f[_0x7b9a('0xa')]);}this[_0x7b9a('0x1')]=_0x3e84f1;}_0xf6dae2();};module[_0x7b9a('0xf')]=AGIReply;
\ No newline at end of file
+var _0x3715=['_inBody','inherits','prototype','_transform','toString','substring','length','split','slice','trim','emit','headers','indexOf','line','exports','util','stream','Transform','call','_localBuffer'];(function(_0x158443,_0x1f4a35){var _0x282e59=function(_0xd72bee){while(--_0xd72bee){_0x158443['push'](_0x158443['shift']());}};_0x282e59(++_0x1f4a35);}(_0x3715,0xc3));var _0x5371=function(_0x51ad88,_0x43bb82){_0x51ad88=_0x51ad88-0x0;var _0x336eef=_0x3715[_0x51ad88];return _0x336eef;};'use strict';var util=require(_0x5371('0x0'));var Transform=require(_0x5371('0x1'))[_0x5371('0x2')];function AGIReply(_0x17bbf9){Transform[_0x5371('0x3')](this,_0x17bbf9);this[_0x5371('0x4')]='';this[_0x5371('0x5')]=![];}util[_0x5371('0x6')](AGIReply,Transform);AGIReply[_0x5371('0x7')][_0x5371('0x8')]=function(_0x13c458,_0x368886,_0x50a759){var _0x1ffdcb='\x0a',_0x340e44=['\x0a\x0a','\x0d\x0a\x0d\x0a'],_0x5edddc=-0x1,_0x426a2a=-0x1,_0x16c64a='',_0x41d142=0x0,_0x56debd='',_0xdbc695='';this['_localBuffer']+=_0x13c458[_0x5371('0x9')]();_0x56debd=this[_0x5371('0x4')];if(!this[_0x5371('0x5')]){_0x41d142=0x0;while(_0x340e44[_0x41d142]){while((_0x426a2a=_0x56debd['indexOf'](_0x340e44[_0x41d142]))!=-0x1){_0x16c64a=_0x340e44[_0x41d142];_0xdbc695=_0x56debd[_0x5371('0xa')](0x0,_0x426a2a);_0x56debd=_0x56debd[_0x5371('0xa')](_0x426a2a+_0x16c64a[_0x5371('0xb')]);var _0x55653f=_0xdbc695[_0x5371('0xc')](_0x1ffdcb),_0x4df51b=0x0,_0x2207f2={},_0x1faac2='',_0x1b0a8a='',_0x5b4adf=-0x1;while(_0x55653f[_0x4df51b]){_0x5b4adf=_0x55653f[_0x4df51b]['indexOf'](':');if(_0x5b4adf!=-0x1){_0x1faac2=_0x55653f[_0x4df51b][_0x5371('0xd')](0x0,_0x5b4adf)[_0x5371('0xe')]();_0x1b0a8a=_0x55653f[_0x4df51b]['slice'](_0x5b4adf+0x1)[_0x5371('0xe')]();if(_0x1faac2[_0x5371('0xb')]>0x0){_0x2207f2[_0x1faac2]=_0x1b0a8a;}}else{}_0x4df51b++;}this[_0x5371('0xf')](_0x5371('0x10'),_0x2207f2);this[_0x5371('0x5')]=!![];}_0x41d142++;}this[_0x5371('0x4')]=_0x56debd;}else{while((_0x5edddc=_0x56debd[_0x5371('0x11')](_0x1ffdcb))!=-0x1){_0xdbc695=_0x56debd['substring'](0x0,_0x5edddc);this[_0x5371('0xf')](_0x5371('0x12'),_0xdbc695);_0x56debd=_0x56debd[_0x5371('0xa')](_0x5edddc+_0x1ffdcb[_0x5371('0xb')]);}this[_0x5371('0x4')]=_0x56debd;}_0x50a759();};module[_0x5371('0x13')]=AGIReply;
\ No newline at end of file