Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / services / agi / channel.js
index c30f8f4..2d26dcf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xed61=['inherits','prototype','sendRequest','sync','ANSWER','format','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','isArray','EXEC\x20%s\x20%s','join','setContext','SET\x20CONTEXT\x20%s','setExtension','SET\x20EXTENSION\x20%s','setPriority','HANGUP','setVariable','SET\x20VARIABLE\x20%s\x20\x22%s\x22','toString','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','noop','GOTO\x20%s\x20%s\x20%s','GET\x20VARIABLE\x20\x22%s\x22','recordFile','wav','BEEP','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','streamFile','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','exec','wait','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','label','exports','util','lodash','events','./reply','./error','setEncoding','utf8','setTimeout','headers','emit','toLowerCase','hangup','520-Invalid','search','function','substring','no\x20code','replace','result=','indexOf','split','length','error','E_AGI_SOCKET_ERROR','code','close','E_AGI_SOCKET_CLOSE','E_AGI_SOCKET_TIMEOUT','destroy','command'];(function(_0x27378b,_0x1a7162){var _0x4b637b=function(_0x719b6a){while(--_0x719b6a){_0x27378b['push'](_0x27378b['shift']());}};_0x4b637b(++_0x1a7162);}(_0xed61,0xb4));var _0x1ed6=function(_0x5c38a2,_0x40e4e4){_0x5c38a2=_0x5c38a2-0x0;var _0x22869c=_0xed61[_0x5c38a2];return _0x22869c;};'use strict';var util=require(_0x1ed6('0x0'));var _=require(_0x1ed6('0x1'));var EventEmitter=require(_0x1ed6('0x2'))['EventEmitter'];var AGIReply=require(_0x1ed6('0x3'));var AGIError=require(_0x1ed6('0x4'));function AGIChannel(_0x558e0f){var _0x3a4d18=this,_0x5b8743=new AGIReply(),_0x20092a=![],_0x49c1fe={};EventEmitter['call'](_0x3a4d18);_0x558e0f[_0x1ed6('0x5')](_0x1ed6('0x6'));_0x558e0f[_0x1ed6('0x7')](0x8*0x3c*0x3c*0x3e8);_0x5b8743['setEncoding'](_0x1ed6('0x6'));_0x5b8743['on'](_0x1ed6('0x8'),function(_0x4e5316){for(var _0x2dd17a in _0x4e5316){_0x3a4d18[_0x2dd17a]=_0x4e5316[_0x2dd17a];}_0x3a4d18[_0x1ed6('0x9')]('ready');});_0x5b8743['on']('line',function(_0x1638cb){if(_0x1638cb[_0x1ed6('0xa')]()==_0x1ed6('0xb')){_0x3a4d18[_0x1ed6('0x9')](_0x1ed6('0xb'));return;}if(_0x1638cb['substring'](0x0,0xb)==_0x1ed6('0xc')){_0x20092a=!![];}if(_0x20092a){_0x49c1fe['rx']+=_0x1638cb+'\x0a';if(_0x1638cb[_0x1ed6('0xd')]('520\x20End\x20of\x20proper')!=-0x1){_0x20092a=![];}}else{_0x49c1fe['rx']=_0x1638cb;}if(_0x20092a){return;}if(typeof _0x49c1fe['cb']==_0x1ed6('0xe')){var _0x2a28a0=_0x49c1fe['rx'][_0x1ed6('0xf')](0x0,0x3),_0x3bd6fb=null,_0x2089f6=null;_0x2a28a0=parseInt(_0x2a28a0);if(isNaN(_0x2a28a0)){_0x49c1fe['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x1ed6('0x10')});return;}if(_0x2a28a0!=0xc8){_0x49c1fe['cb'](null,{'code':_0x2a28a0,'result':-0x1,'extra':'KO'});return;}_0x3bd6fb=_0x49c1fe['rx'][_0x1ed6('0xf')](0x4)[_0x1ed6('0x11')](_0x1ed6('0x12'),'');if(_0x3bd6fb[_0x1ed6('0x13')]('\x20')!=-0x1){_0x3bd6fb=_0x3bd6fb['substr'](0x0,_0x3bd6fb['indexOf']('\x20'));}if(_['startsWith'](_0x3bd6fb,'-1')){_0x3bd6fb=parseInt(_0x3bd6fb);}_0x2089f6=_0x49c1fe['rx'][_0x1ed6('0x14')]('\x20');if(_0x2089f6['length']==0x3){_0x2089f6=_0x2089f6[0x2]['substring'](0x1,_0x2089f6[0x2][_0x1ed6('0x15')]-0x1);}else if(_0x2089f6['length']>0x3){var _0x23bc7e=/\((.+)\)/;var _0x5b86b9=_0x49c1fe['rx']['match'](_0x23bc7e);if(_0x5b86b9){_0x2089f6=_0x5b86b9[0x1];}else{_0x2089f6=null;}}else{_0x2089f6=null;}_0x49c1fe['cb'](null,{'code':_0x2a28a0,'result':_0x3bd6fb,'extra':_0x2089f6});}});_0x558e0f['on'](_0x1ed6('0x16'),function(_0x1bc9a0){_0x3a4d18[_0x1ed6('0x9')](_0x1ed6('0x16'),new AGIError(_0x1ed6('0x17'),_0x1bc9a0[_0x1ed6('0x18')]));});_0x558e0f['on'](_0x1ed6('0x19'),function(){_0x3a4d18['emit'](_0x1ed6('0x19'),new AGIError(_0x1ed6('0x1a')));});_0x558e0f['on']('timeout',function(){_0x3a4d18[_0x1ed6('0x9')]('timeout',new AGIError(_0x1ed6('0x1b')));_0x558e0f[_0x1ed6('0x1c')]();});_0x558e0f['pipe'](_0x5b8743);this[_0x1ed6('0x1d')]=function(_0x3ed0ed,_0x13d290){var _0x3ed0ed=_0x3ed0ed||'',_0x13d290=typeof _0x13d290==_0x1ed6('0xe')?_0x13d290:new Function();_0x49c1fe={'tx':_0x3ed0ed,'rx':'','cb':_0x13d290};_0x558e0f['write'](_0x3ed0ed+'\x0a');},this['close']=function(){_0x558e0f['destroy']();};}util[_0x1ed6('0x1e')](AGIChannel,EventEmitter);AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x20')]=function(_0x57fb9a){return this[_0x1ed6('0x1d')][_0x1ed6('0x21')](this,_0x57fb9a);};AGIChannel[_0x1ed6('0x1f')]['answer']=function(){return this[_0x1ed6('0x20')](_0x1ed6('0x22'));};AGIChannel[_0x1ed6('0x1f')]['getData']=function(_0x2c0f2d,_0x3822cb,_0x3f712a){_0x2c0f2d=_0x2c0f2d===undefined?'beep':_0x2c0f2d;_0x3822cb=_0x3822cb===undefined?'5':_0x3822cb;_0x3f712a=_0x3f712a===undefined?'1':_0x3f712a;return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')]('GET\x20DATA\x20\x22%s\x22\x20%s\x20%s',_0x2c0f2d,_0x3822cb*0x3e8,_0x3f712a));};AGIChannel[_0x1ed6('0x1f')]['noop']=function(_0x50b791){_0x50b791=_0x50b791||_0x1ed6('0x24');return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x25'),_0x50b791));};AGIChannel[_0x1ed6('0x1f')]['exec']=function(_0x52f1e4,_0x863bc5){if(_[_0x1ed6('0x26')](_0x863bc5)){return this[_0x1ed6('0x20')](util['format'](_0x1ed6('0x27'),_0x52f1e4,_0x863bc5[_0x1ed6('0x28')](',')));}return this['sendRequest'](util[_0x1ed6('0x23')]('EXEC\x20%s\x20%s',_0x52f1e4,_0x863bc5));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x29')]=function(_0x36c958){return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x2a'),_0x36c958));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x2b')]=function(_0x2a81c7){return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x2c'),_0x2a81c7));};AGIChannel['prototype'][_0x1ed6('0x2d')]=function(_0x8f86e4){return this[_0x1ed6('0x20')](util['format']('SET\x20PRIORITY\x20%s',_0x8f86e4));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0xb')]=function(){return this[_0x1ed6('0x20')](_0x1ed6('0x2e'));};AGIChannel['prototype'][_0x1ed6('0x2f')]=function(_0x2fe487,_0xa1ff7f){return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x30'),_0x2fe487,_0xa1ff7f?_0xa1ff7f[_0x1ed6('0x31')]()[_0x1ed6('0x11')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0x1ed6('0x1f')]['sayNumber']=function(_0x1fd698,_0x1e2382){return this[_0x1ed6('0x20')](util['format']('SAY\x20NUMBER\x20%s\x20%s',_0x1fd698,_0x1e2382));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x32')]=function(_0x46cb0e,_0x4124f8){return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x33'),_0x46cb0e,_0x4124f8));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x34')]=function(_0x24164a,_0x58dbb4){return this[_0x1ed6('0x20')](util['format'](_0x1ed6('0x35'),_0x24164a,_0x58dbb4));};AGIChannel[_0x1ed6('0x1f')]['continueAt']=function(_0x356bea,_0xad577c,_0x1314b0){_0xad577c=_0xad577c||this['extension'];_0x1314b0=_0x1314b0||0x1;this[_0x1ed6('0x29')](_0x356bea);this[_0x1ed6('0x2b')](_0xad577c);this['setPriority'](_0x1314b0);return this[_0x1ed6('0x36')](util[_0x1ed6('0x23')](_0x1ed6('0x37'),_0x356bea,_0xad577c,_0x1314b0));};AGIChannel['prototype']['getVariable']=function(_0xd79a6c){return this[_0x1ed6('0x20')](util[_0x1ed6('0x23')](_0x1ed6('0x38'),_0xd79a6c));};AGIChannel['prototype'][_0x1ed6('0x39')]=function(_0x553ed1,_0x49a6f6,_0x299dc5,_0x9f0c9d,_0x245027,_0x4cc3e2){_0x49a6f6=_0x49a6f6||_0x1ed6('0x3a');_0x299dc5=_0x299dc5||'';_0x9f0c9d=_0x9f0c9d===undefined?-0x1:_0x9f0c9d==='-1'?-0x1:_0x9f0c9d*0x3e8;_0x245027=_0x245027===undefined?'':'s='+_0x245027;_0x4cc3e2=_0x4cc3e2?_0x1ed6('0x3b'):'';return this['sendRequest'](util[_0x1ed6('0x23')](_0x1ed6('0x3c'),_0x553ed1,_0x49a6f6,_0x299dc5,_0x9f0c9d,_0x4cc3e2,_0x245027));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x3d')]=function(_0x245c63,_0x42f474){_0x42f474=_0x42f474||'';return this['sendRequest'](util[_0x1ed6('0x23')](_0x1ed6('0x3e'),_0x245c63,_0x42f474));};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x3f')]=function(_0xfc389){return this[_0x1ed6('0x40')]('AGI',_0xfc389);};AGIChannel[_0x1ed6('0x1f')][_0x1ed6('0x41')]=function(_0x444025){return this[_0x1ed6('0x40')](_0x1ed6('0x42'),_0x444025);};AGIChannel['prototype'][_0x1ed6('0x16')]=function(_0x7fe748,_0x1e43af){this[_0x1ed6('0x36')](util[_0x1ed6('0x23')](_0x1ed6('0x43'),_0x7fe748['id'],_0x7fe748[_0x1ed6('0x44')],_0x1e43af));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x1ed6('0x45')]=AGIChannel;
\ No newline at end of file
+var _0x91f2=['function','prototype','sync','answer','sendRequest','ANSWER','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','noop','VERBOSE\x20\x22%s\x22','isArray','join','EXEC\x20%s\x20%s','SET\x20CONTEXT\x20%s','setExtension','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','HANGUP','SET\x20VARIABLE\x20%s\x20\x22%s\x22','toString','sayNumber','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','extension','setContext','GOTO\x20%s\x20%s\x20%s','BEEP','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','streamFile','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','exec','AGI','wait','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','exports','util','lodash','events','./reply','./error','call','setEncoding','utf8','headers','emit','line','toLowerCase','hangup','substring','520-Invalid','search','replace','result=','startsWith','length','match','error','E_AGI_SOCKET_ERROR','code','close','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','destroy','pipe','command'];(function(_0x23840e,_0x2fb0cb){var _0x277300=function(_0x246e5a){while(--_0x246e5a){_0x23840e['push'](_0x23840e['shift']());}};_0x277300(++_0x2fb0cb);}(_0x91f2,0x73));var _0x291f=function(_0x31ae70,_0x50ab0f){_0x31ae70=_0x31ae70-0x0;var _0x5760dc=_0x91f2[_0x31ae70];return _0x5760dc;};'use strict';var util=require(_0x291f('0x0'));var _=require(_0x291f('0x1'));var EventEmitter=require(_0x291f('0x2'))['EventEmitter'];var AGIReply=require(_0x291f('0x3'));var AGIError=require(_0x291f('0x4'));function AGIChannel(_0x44ba97){var _0x299b0e=this,_0x47eb15=new AGIReply(),_0x3a06fa=![],_0x27fd6e={};EventEmitter[_0x291f('0x5')](_0x299b0e);_0x44ba97[_0x291f('0x6')](_0x291f('0x7'));_0x44ba97['setTimeout'](0x8*0x3c*0x3c*0x3e8);_0x47eb15[_0x291f('0x6')](_0x291f('0x7'));_0x47eb15['on'](_0x291f('0x8'),function(_0x2211a3){for(var _0x4f9896 in _0x2211a3){_0x299b0e[_0x4f9896]=_0x2211a3[_0x4f9896];}_0x299b0e[_0x291f('0x9')]('ready');});_0x47eb15['on'](_0x291f('0xa'),function(_0x254df2){if(_0x254df2[_0x291f('0xb')]()==_0x291f('0xc')){_0x299b0e[_0x291f('0x9')]('hangup');return;}if(_0x254df2[_0x291f('0xd')](0x0,0xb)==_0x291f('0xe')){_0x3a06fa=!![];}if(_0x3a06fa){_0x27fd6e['rx']+=_0x254df2+'\x0a';if(_0x254df2[_0x291f('0xf')]('520\x20End\x20of\x20proper')!=-0x1){_0x3a06fa=![];}}else{_0x27fd6e['rx']=_0x254df2;}if(_0x3a06fa){return;}if(typeof _0x27fd6e['cb']=='function'){var _0x2f7438=_0x27fd6e['rx'][_0x291f('0xd')](0x0,0x3),_0x166d29=null,_0x2f0564=null;_0x2f7438=parseInt(_0x2f7438);if(isNaN(_0x2f7438)){_0x27fd6e['cb'](null,{'code':0x1f4,'result':-0x1,'extra':'no\x20code'});return;}if(_0x2f7438!=0xc8){_0x27fd6e['cb'](null,{'code':_0x2f7438,'result':-0x1,'extra':'KO'});return;}_0x166d29=_0x27fd6e['rx']['substring'](0x4)[_0x291f('0x10')](_0x291f('0x11'),'');if(_0x166d29['indexOf']('\x20')!=-0x1){_0x166d29=_0x166d29['substr'](0x0,_0x166d29['indexOf']('\x20'));}if(_[_0x291f('0x12')](_0x166d29,'-1')){_0x166d29=parseInt(_0x166d29);}_0x2f0564=_0x27fd6e['rx']['split']('\x20');if(_0x2f0564[_0x291f('0x13')]==0x3){_0x2f0564=_0x2f0564[0x2][_0x291f('0xd')](0x1,_0x2f0564[0x2][_0x291f('0x13')]-0x1);}else if(_0x2f0564[_0x291f('0x13')]>0x3){var _0x2785bf=/\((.+)\)/;var _0x167356=_0x27fd6e['rx'][_0x291f('0x14')](_0x2785bf);if(_0x167356){_0x2f0564=_0x167356[0x1];}else{_0x2f0564=null;}}else{_0x2f0564=null;}_0x27fd6e['cb'](null,{'code':_0x2f7438,'result':_0x166d29,'extra':_0x2f0564});}});_0x44ba97['on']('error',function(_0x51dfcf){_0x299b0e[_0x291f('0x9')](_0x291f('0x15'),new AGIError(_0x291f('0x16'),_0x51dfcf[_0x291f('0x17')]));});_0x44ba97['on']('close',function(){_0x299b0e[_0x291f('0x9')](_0x291f('0x18'),new AGIError(_0x291f('0x19')));});_0x44ba97['on'](_0x291f('0x1a'),function(){_0x299b0e[_0x291f('0x9')](_0x291f('0x1a'),new AGIError(_0x291f('0x1b')));_0x44ba97[_0x291f('0x1c')]();});_0x44ba97[_0x291f('0x1d')](_0x47eb15);this[_0x291f('0x1e')]=function(_0x407c34,_0x4a5fea){var _0x407c34=_0x407c34||'',_0x4a5fea=typeof _0x4a5fea==_0x291f('0x1f')?_0x4a5fea:new Function();_0x27fd6e={'tx':_0x407c34,'rx':'','cb':_0x4a5fea};_0x44ba97['write'](_0x407c34+'\x0a');},this['close']=function(){_0x44ba97[_0x291f('0x1c')]();};}util['inherits'](AGIChannel,EventEmitter);AGIChannel[_0x291f('0x20')]['sendRequest']=function(_0x2d1f41){return this['command'][_0x291f('0x21')](this,_0x2d1f41);};AGIChannel[_0x291f('0x20')][_0x291f('0x22')]=function(){return this[_0x291f('0x23')](_0x291f('0x24'));};AGIChannel['prototype']['getData']=function(_0x26d793,_0x81d6dd,_0x4a9bf3){_0x26d793=_0x26d793===undefined?'beep':_0x26d793;_0x81d6dd=_0x81d6dd===undefined?'5':_0x81d6dd;_0x4a9bf3=_0x4a9bf3===undefined?'1':_0x4a9bf3;return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x26'),_0x26d793,_0x81d6dd*0x3e8,_0x4a9bf3));};AGIChannel[_0x291f('0x20')][_0x291f('0x27')]=function(_0x2064df){_0x2064df=_0x2064df||'NO\x20MESSAGE';return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x28'),_0x2064df));};AGIChannel['prototype']['exec']=function(_0x539512,_0x42f00e){if(_[_0x291f('0x29')](_0x42f00e)){return this[_0x291f('0x23')](util['format']('EXEC\x20%s\x20%s',_0x539512,_0x42f00e[_0x291f('0x2a')](',')));}return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x2b'),_0x539512,_0x42f00e));};AGIChannel[_0x291f('0x20')]['setContext']=function(_0x395345){return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x2c'),_0x395345));};AGIChannel['prototype'][_0x291f('0x2d')]=function(_0x2853f3){return this['sendRequest'](util[_0x291f('0x25')](_0x291f('0x2e'),_0x2853f3));};AGIChannel[_0x291f('0x20')][_0x291f('0x2f')]=function(_0x4bf398){return this['sendRequest'](util[_0x291f('0x25')](_0x291f('0x30'),_0x4bf398));};AGIChannel[_0x291f('0x20')][_0x291f('0xc')]=function(){return this['sendRequest'](_0x291f('0x31'));};AGIChannel[_0x291f('0x20')]['setVariable']=function(_0x1b72f7,_0x299255){return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x32'),_0x1b72f7,_0x299255?_0x299255[_0x291f('0x33')]()['replace'](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel['prototype'][_0x291f('0x34')]=function(_0x57ea4d,_0x4d376c){return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x35'),_0x57ea4d,_0x4d376c));};AGIChannel[_0x291f('0x20')][_0x291f('0x36')]=function(_0x3a4f87,_0x161333){return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x37'),_0x3a4f87,_0x161333));};AGIChannel[_0x291f('0x20')][_0x291f('0x38')]=function(_0x19c5c4,_0x16f9ed){return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x39'),_0x19c5c4,_0x16f9ed));};AGIChannel[_0x291f('0x20')][_0x291f('0x3a')]=function(_0x2a50aa,_0x493424,_0x52e97e){_0x493424=_0x493424||this[_0x291f('0x3b')];_0x52e97e=_0x52e97e||0x1;this[_0x291f('0x3c')](_0x2a50aa);this[_0x291f('0x2d')](_0x493424);this[_0x291f('0x2f')](_0x52e97e);return this[_0x291f('0x27')](util[_0x291f('0x25')](_0x291f('0x3d'),_0x2a50aa,_0x493424,_0x52e97e));};AGIChannel[_0x291f('0x20')]['getVariable']=function(_0x52c525){return this['sendRequest'](util[_0x291f('0x25')]('GET\x20VARIABLE\x20\x22%s\x22',_0x52c525));};AGIChannel[_0x291f('0x20')]['recordFile']=function(_0x242ad4,_0x16b711,_0x4d372c,_0x22fc17,_0x1a61ea,_0x4a7b08){_0x16b711=_0x16b711||'wav';_0x4d372c=_0x4d372c||'';_0x22fc17=_0x22fc17===undefined?-0x1:_0x22fc17==='-1'?-0x1:_0x22fc17*0x3e8;_0x1a61ea=_0x1a61ea===undefined?'':'s='+_0x1a61ea;_0x4a7b08=_0x4a7b08?_0x291f('0x3e'):'';return this['sendRequest'](util[_0x291f('0x25')](_0x291f('0x3f'),_0x242ad4,_0x16b711,_0x4d372c,_0x22fc17,_0x4a7b08,_0x1a61ea));};AGIChannel['prototype'][_0x291f('0x40')]=function(_0x1bf8f1,_0xbd0010){_0xbd0010=_0xbd0010||'';return this[_0x291f('0x23')](util[_0x291f('0x25')](_0x291f('0x41'),_0x1bf8f1,_0xbd0010));};AGIChannel[_0x291f('0x20')][_0x291f('0x42')]=function(_0x1c061f){return this[_0x291f('0x43')](_0x291f('0x44'),_0x1c061f);};AGIChannel[_0x291f('0x20')][_0x291f('0x45')]=function(_0x4da85d){return this['exec'](_0x291f('0x46'),_0x4da85d);};AGIChannel[_0x291f('0x20')][_0x291f('0x15')]=function(_0xa91fe0,_0x2f9f01){this[_0x291f('0x27')](util[_0x291f('0x25')](_0x291f('0x47'),_0xa91fe0['id'],_0xa91fe0['label'],_0x2f9f01));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x291f('0x48')]=AGIChannel;
\ No newline at end of file