Built motion from commit 4d4d9a88.|2.6.26
[motion2.git] / server / services / agi / vertices.js
index 9143d14..b706911 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4b84=['project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','host','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','voicemail','VOICEMAIL','mailbox','Enter\x20in\x20SWITCH\x20(%s)\x20block','no\x20variable\x20selected','replaceAll','join','util','lodash','randomstring','request-promise','../../config/logger','agi','rawHeaders','menu','getsecretdigits','channel','rpc','prototype','getVariable','getVariableById','then','name','catch','getVoiceQueueById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getTrunk','getTrunkById','getSound','save_name','getMailAccountById','sendMailMessage','mailRpc','getIntervals','getIntervalById','IntervalId','interval','Intervals','getSoundPath','format','%s/sounds/converted/%s','getQueryOdbc','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','close','getSmsAccount','getSmsAccountById','createSmsMessage','createSquareDetailsReport','uniqueid','label','arg_1','callerid','createSquareRecording','context','extension','priority','file','createSquareMessage','createCmContact','isEmpty','isNil','callback_','random','lastName','phone','scheduledAt','callback','toString','getPauseById','agentPause','agent','agentUnpause','agentLogout','internal','%s/%s@from-sip/n','LOCAL','agentLogin','shellCommand','exec','trim','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','MALE','googleTTS','google_tts_language','restAPI','url','method','timeout','includes','POST','PUT','toUpperCase','body','rawBody','parse','headers','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','googleDialogflowV2','dialogflowV2_project_id','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','Amy','aws_text_type','awsLex','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','isString','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isPlainObject','isArray','length','saveRestApiResult','%s.%s','setVariable','split','extra','getAndSetVariable','result','maxRetry','retry','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','MRCPSynth','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','no\x20grammar\x20configured','grammar','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','command','args','wait','answer','Enter\x20in\x20CALLBACK\x20(%s)\x20block','list_id','no\x20list\x20selected','delay','add','minutes','callback_priority','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','Executed\x20command\x20%s\x20%s','lumenvoxtts','Executed\x20command\x20MRCPSynth\x20%s','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_INSTANCE','sestekasr','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','no\x20database\x20selected','odbc_id','no\x20odbc\x20database\x20found','replace','variable_id','no\x20variable\x20found','forEach','%s[%s][%s]','variable\x20%s\x20set','Enter\x20in\x20DIAL\x20(%s)\x20block','no\x20user\x20selected','sip_id','no\x20user\x20found','DIAL','SIP/%s','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','hasOwnProperty','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','DialogflowV2\x20Result\x20%s','sesteknda','ndauth_url','no\x20ndauth\x20url\x20configured','username','password','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','opts','Executed\x20command\x20%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','finally','getdigits','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20found','no\x20variable\x20selected\x20for\x20the\x20result','response','maxdigit','mindigit','hiddendigitsnum','generate','hiddendigitspos','first','substr','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','goalname','GOAL\x20%s','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','unlink','.wav','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','Trying\x20Amazon\x20Lex:\x20%s','amazonlex','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','%s/recordings/%s','beep','NOBEEP','recordFile','intKey','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','tilde\x20%s\x20file\x20created','Enter\x20in\x20GOTO\x20(%s)\x20block','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','true','false','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','no\x20interval\x20configured','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','ispeechtts','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','Enter\x20in\x20LOGOUT\x20(%s)\x20block','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','%s[%s]','variable\x20%s[key]\x20set','getData','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','getPause','pause_id','playback','no\x20file\x20audio\x20selected','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','no\x20queue\x20found','indexOf','XMCS-QUEUE','toLowerCase','macro','gosub','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','number','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','account_id','no\x20mail\x20account\x20configured','getMailAccount','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','bcc','template_id','debug','Trying\x20SendMail\x20with\x20account\x20%s','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','variable_value','START\x20CALLY\x20SQUARE','yes','Answer','subproject','project_id','getSquareProject','no\x20subproject\x20found\x20with\x20id\x20%d'];(function(_0x51cce9,_0x2b6d62){var _0x32053b=function(_0x18d168){while(--_0x18d168){_0x51cce9['push'](_0x51cce9['shift']());}};_0x32053b(++_0x2b6d62);}(_0x4b84,0x1cc));var _0x44b8=function(_0x29d6e6,_0x264220){_0x29d6e6=_0x29d6e6-0x0;var _0xc75ff0=_0x4b84[_0x29d6e6];return _0xc75ff0;};'use strict';var fs=require('fs');var util=require(_0x44b8('0x0'));var _=require(_0x44b8('0x1'));var sh=require('shelljs');var odbc=require('odbc')();var rs=require(_0x44b8('0x2'));var moment=require('moment');var Mustache=require('mustache');var rp=require(_0x44b8('0x3'));var logger=require(_0x44b8('0x4'))(_0x44b8('0x5'));var config=require('../../config/environment');var scripts=require('./scripts');var FILES_PATH='/var/opt/motion2/server/files';var recursiveMapAttributes=[_0x44b8('0x6'),'rawBody'];var verticesWithRetry=[_0x44b8('0x7'),'getdigits',_0x44b8('0x8')];var AGIVertices=function(_0x5a2353,_0x5034b6,_0x41d515){this[_0x44b8('0x9')]=_0x5a2353;this[_0x44b8('0xa')]=_0x5034b6;this['mailRpc']=_0x41d515;};AGIVertices[_0x44b8('0xb')][_0x44b8('0xc')]=function(_0x4315f6,_0x9b6048){this[_0x44b8('0xa')][_0x44b8('0xd')](_0x4315f6)[_0x44b8('0xe')](function(_0x4ae8a1){_0x9b6048(null,_0x4ae8a1?_0x4ae8a1[_0x44b8('0xf')]:![]);})[_0x44b8('0x10')](function(_0x4bcc43){_0x9b6048(_0x4bcc43);});};AGIVertices[_0x44b8('0xb')]['getVoiceQueue']=function(_0x833ea3,_0x18d642){this['rpc'][_0x44b8('0x11')](_0x833ea3)['then'](function(_0x54fa95){_0x18d642(null,_0x54fa95?_0x54fa95[_0x44b8('0xf')]:![]);})[_0x44b8('0x10')](function(_0x1722da){_0x18d642(_0x1722da);});};AGIVertices[_0x44b8('0xb')]['getSquareProject']=function(_0x495c74,_0x5d6349){this[_0x44b8('0xa')]['getSquareProjectById'](_0x495c74)[_0x44b8('0xe')](function(_0x31651b){_0x5d6349(null,_0x31651b?_0x31651b['name']:![]);})[_0x44b8('0x10')](function(_0xe3de8f){_0x5d6349(_0xe3de8f);});};AGIVertices['prototype'][_0x44b8('0x12')]=function(_0x3f4688,_0x4b600f){this[_0x44b8('0xa')][_0x44b8('0x13')](_0x3f4688)[_0x44b8('0xe')](function(_0x235bdc){_0x4b600f(null,_0x235bdc?_0x235bdc[_0x44b8('0x14')]:![]);})[_0x44b8('0x10')](function(_0x452f2f){_0x4b600f(_0x452f2f);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x15')]=function(_0x1e0f2d,_0x1d642b){this[_0x44b8('0xa')]['getUserById'](_0x1e0f2d)[_0x44b8('0xe')](function(_0x3a8aa4){_0x1d642b(null,_0x3a8aa4?_0x3a8aa4[_0x44b8('0xf')]:![]);})[_0x44b8('0x10')](function(_0x305a5c){_0x1d642b(_0x305a5c);});};AGIVertices['prototype'][_0x44b8('0x16')]=function(_0x54677c,_0x41a922){this[_0x44b8('0xa')][_0x44b8('0x17')](_0x54677c)[_0x44b8('0xe')](function(_0x230a3d){_0x41a922(null,_0x230a3d?_0x230a3d['name']:![]);})[_0x44b8('0x10')](function(_0x502acf){_0x41a922(_0x502acf);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x18')]=function(_0x549a26,_0x17ac44){var _0x470f49=this;this[_0x44b8('0xa')]['getSoundById'](_0x549a26)[_0x44b8('0xe')](function(_0x242342){_0x17ac44(null,_0x242342?_0x470f49['getSoundPath'](_0x242342[_0x44b8('0x19')]):![]);})['catch'](function(_0xfb0028){_0x17ac44(_0xfb0028);});};AGIVertices['prototype']['getMailAccount']=function(_0x5948dc,_0x387293){this[_0x44b8('0xa')][_0x44b8('0x1a')](_0x5948dc)[_0x44b8('0xe')](function(_0x38cd17){_0x387293(null,_0x38cd17?_0x38cd17:![]);})[_0x44b8('0x10')](function(_0x2cf205){_0x387293(_0x2cf205);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x1b')]=function(_0x28f918,_0x5e1129,_0x417d81){this[_0x44b8('0x1c')]['sendMailMessage'](_0x28f918,_0x5e1129)[_0x44b8('0xe')](function(){_0x417d81(null);})['catch'](function(_0x212983){_0x417d81(_0x212983);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x1d')]=function(_0xb64609,_0x1b63a7){this['rpc'][_0x44b8('0x1e')](_0xb64609)[_0x44b8('0xe')](function(_0x26265f){if(_0x26265f){if(_0x26265f[_0x44b8('0x1f')]){_0x1b63a7(null,[_0x26265f[_0x44b8('0x20')]]);}else{_0x1b63a7(null,_['map'](_0x26265f[_0x44b8('0x21')],_0x44b8('0x20')));}}else{_0x1b63a7(null,![]);}})[_0x44b8('0x10')](function(_0x3e93af){_0x1b63a7(_0x3e93af);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x22')]=function(_0x2e8b88){return util[_0x44b8('0x23')](_0x44b8('0x24'),FILES_PATH,_0x2e8b88);};AGIVertices[_0x44b8('0xb')][_0x44b8('0x25')]=function(_0xce304d,_0xa5ac3e,_0xae15f4){odbc[_0x44b8('0x26')](_0xce304d,function(_0x1becb0){if(_0x1becb0){logger[_0x44b8('0x27')](_0x44b8('0x28'),_0x1becb0);_0xae15f4(_0x1becb0);}else{logger[_0x44b8('0x29')](_0x44b8('0x2a'));odbc[_0x44b8('0x2b')](_0xa5ac3e,function(_0x282345,_0x59848c){if(_0x282345){logger[_0x44b8('0x29')](_0x44b8('0x2c'),_0xa5ac3e);_0xae15f4(_0x282345);}else{logger['info'](_0x44b8('0x2d'),_0xa5ac3e);odbc[_0x44b8('0x2e')](function(_0x6658be){if(_0x6658be){logger[_0x44b8('0x27')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x6658be);}_0xae15f4(null,_0x59848c);});}});}});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x2f')]=function(_0x3611b4,_0x1ee3cc){this[_0x44b8('0xa')][_0x44b8('0x30')](_0x3611b4)[_0x44b8('0xe')](function(_0x3581b8){_0x1ee3cc(null,_0x3581b8?_0x3581b8:![]);})[_0x44b8('0x10')](function(_0x3d1be1){_0x1ee3cc(_0x3d1be1);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x31')]=function(_0xd69398,_0x31f22f){this[_0x44b8('0xa')][_0x44b8('0x31')](_0xd69398)['then'](function(_0x12a0a4){_0x31f22f(null,_0x12a0a4);})[_0x44b8('0x10')](function(_0xbf444f){_0x31f22f(_0xbf444f);});};AGIVertices['prototype'][_0x44b8('0x32')]=function(_0x1054c5,_0x229cc9,_0x585a16){this[_0x44b8('0xa')][_0x44b8('0x32')]({'uniqueid':this[_0x44b8('0x9')][_0x44b8('0x33')],'node':_0x1054c5[_0x44b8('0x34')],'application':_0x1054c5['agicommand'],'data':_0x229cc9||null,'project_name':this['channel'][_0x44b8('0x35')],'callerid':this[_0x44b8('0x9')][_0x44b8('0x36')]})[_0x44b8('0xe')](function(_0x43906b){if(_0x585a16){_0x585a16(null,_0x43906b);}})[_0x44b8('0x10')](function(_0x3fc41b){if(_0x585a16){_0x585a16(_0x3fc41b);}});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x37')]=function(_0xb55911,_0x197782,_0x2a9b2a,_0xc1b9de){this[_0x44b8('0xa')][_0x44b8('0x37')]({'uniqueid':this[_0x44b8('0x9')][_0x44b8('0x33')],'callerid':this[_0x44b8('0x9')][_0x44b8('0x36')],'calleridname':this['channel']['calleridname'],'context':this[_0x44b8('0x9')][_0x44b8('0x38')],'extension':this[_0x44b8('0x9')][_0x44b8('0x39')],'priority':this[_0x44b8('0x9')][_0x44b8('0x3a')],'accountcode':this[_0x44b8('0x9')]['accountcode'],'dnid':this[_0x44b8('0x9')]['dnid'],'projectName':this[_0x44b8('0x9')][_0x44b8('0x35')],'saveName':_0x197782,'filename':_0xb55911[_0x44b8('0x3b')]||_0x197782,'savePath':_0x2a9b2a})[_0x44b8('0xe')](function(_0x103d57){_0xc1b9de(null,_0x103d57);})[_0x44b8('0x10')](function(_0x491600){_0xc1b9de(_0x491600);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x3c')]=function(_0x10602c,_0x25d266,_0x4ccc77,_0x4e4ed1,_0x2f549d){this[_0x44b8('0xa')][_0x44b8('0x3c')]({'uniqueid':this[_0x44b8('0x9')][_0x44b8('0x33')],'body':_0x10602c,'direction':_0x25d266,'providerName':_0x4ccc77,'providerResponse':_0x4e4ed1})['then'](function(_0x19d95d){if(_0x2f549d){_0x2f549d(null,_0x19d95d);}})[_0x44b8('0x10')](function(_0x2c5c27){if(_0x2f549d){_0x2f549d(_0x2c5c27);}});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x3d')]=function(_0x57d0e2,_0x493840){this[_0x44b8('0xa')]['createCmContact']({'firstName':_[_0x44b8('0x3e')](_0x57d0e2['name'])||_[_0x44b8('0x3f')](_0x57d0e2[_0x44b8('0xf')])?_0x44b8('0x40')+Math[_0x44b8('0x41')]():_0x57d0e2[_0x44b8('0xf')],'lastName':_[_0x44b8('0x3e')](_0x57d0e2[_0x44b8('0x42')])||_['isNil'](_0x57d0e2[_0x44b8('0x42')])?null:_0x57d0e2[_0x44b8('0x42')],'phone':_0x57d0e2[_0x44b8('0x43')],'ListId':_0x57d0e2['list_id'],'scheduledat':_0x57d0e2[_0x44b8('0x44')],'callbackUniqueid':this[_0x44b8('0x9')][_0x44b8('0x33')],'tags':_0x44b8('0x45'),'description':'Callback\x20scheduled\x20at\x20'+_0x57d0e2[_0x44b8('0x44')][_0x44b8('0x46')](),'priority':_0x57d0e2['callback_priority']})[_0x44b8('0xe')](function(_0x19f22b){_0x493840(null,_0x19f22b);})[_0x44b8('0x10')](function(_0x3df6aa){_0x493840(_0x3df6aa);});};AGIVertices[_0x44b8('0xb')]['getPause']=function(_0x5b99a3,_0xc181d2){this[_0x44b8('0xa')][_0x44b8('0x47')](_0x5b99a3)[_0x44b8('0xe')](function(_0x765e45){_0xc181d2(null,_0x765e45?_0x765e45[_0x44b8('0xf')]:![]);})[_0x44b8('0x10')](function(_0xf0fb0d){_0xc181d2(_0xf0fb0d);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x48')]=function(_0x16c628,_0x3f7576,_0x5af3e6){var _0x1367ae={'role':_0x44b8('0x49')};_0x1367ae[_0x16c628]=this[_0x44b8('0x9')][_0x44b8('0x36')];this[_0x44b8('0xa')][_0x44b8('0x48')](_0x1367ae,_0x3f7576,this[_0x44b8('0x9')][_0x44b8('0x33')])[_0x44b8('0xe')](function(_0x2d6a31){_0x5af3e6(null,_[_0x44b8('0x3f')](_0x2d6a31)?![]:!![]);})[_0x44b8('0x10')](function(_0x1da152){logger[_0x44b8('0x27')](_0x1da152);_0x5af3e6(null,![]);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x4a')]=function(_0x25f91c,_0x20e563){var _0x4cf835={'role':_0x44b8('0x49')};_0x4cf835[_0x25f91c]=this[_0x44b8('0x9')][_0x44b8('0x36')];this[_0x44b8('0xa')][_0x44b8('0x4a')](_0x4cf835)[_0x44b8('0xe')](function(_0x2ecf65){_0x20e563(null,_['isNil'](_0x2ecf65)?![]:!![]);})[_0x44b8('0x10')](function(_0xc4d667){logger['error'](_0xc4d667);_0x20e563(null,![]);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x4b')]=function(_0x520929,_0x37e42e){var _0x454fe6={'role':_0x44b8('0x49')};_0x454fe6[_0x520929]=this['channel'][_0x44b8('0x36')];this['rpc'][_0x44b8('0x4b')](_0x454fe6)['then'](function(_0x176536){_0x37e42e(null,_[_0x44b8('0x3f')](_0x176536)?![]:!![]);})[_0x44b8('0x10')](function(_0xb64e26){logger[_0x44b8('0x27')](_0xb64e26);_0x37e42e(null,![]);});};AGIVertices[_0x44b8('0xb')]['agentLogin']=function(_0x2af6be,_0x4a08e8){var _0x458bdf={'role':_0x44b8('0x49')};_0x458bdf[_0x2af6be]=this['channel'][_0x44b8('0x36')];var _0x1ee26b=_0x2af6be!=_0x44b8('0x4c')?util[_0x44b8('0x23')](_0x44b8('0x4d'),_0x44b8('0x4e'),this[_0x44b8('0x9')][_0x44b8('0x36')]):undefined;this[_0x44b8('0xa')][_0x44b8('0x4f')](_0x458bdf,_0x1ee26b)[_0x44b8('0xe')](function(_0x27869f){_0x4a08e8(null,_['isNil'](_0x27869f)?![]:!![]);})[_0x44b8('0x10')](function(_0x4052a9){logger[_0x44b8('0x27')](_0x4052a9);_0x4a08e8(null,![]);});};AGIVertices['prototype'][_0x44b8('0x50')]=function(_0x5cc122,_0x5bff09){sh[_0x44b8('0x51')](_[_0x44b8('0x52')](_0x5cc122),function(_0xb89680,_0x3d80c3){var _0x44bb6b=_0x3d80c3['replace'](/(\r\n|\n|\r)/gm,'');_0x5bff09(null,_0x44bb6b);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x53')]=function(_0x279753,_0x270224){scripts[_0x44b8('0x53')](_0x279753[_0x44b8('0x54')],_0x279753[_0x44b8('0x55')]||_0x44b8('0x56'),_0x279753['text'],_0x279753[_0x44b8('0x57')]||_0x44b8('0x58'),_0x279753[_0x44b8('0x59')]||_0x44b8('0x5a'),_0x279753['audioEncoding']||'MP3')['then'](function(_0x118f89){_0x270224(null,_0x118f89);})[_0x44b8('0x10')](function(_0x1bee2e){_0x270224(_0x1bee2e);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x5b')]=function(_0x5beb66,_0x26745c){scripts['googleTTS'](_0x5beb66[_0x44b8('0x56')],_0x5beb66[_0x44b8('0x5c')]||'en',0x1)[_0x44b8('0xe')](function(_0x5da034){_0x26745c(null,_0x5da034);})['catch'](function(_0xb4c6dc){_0x26745c(_0xb4c6dc);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x5d')]=function(_0x536734,_0x1f5277){var _0x36f217={'uri':_0x536734[_0x44b8('0x5e')],'method':_0x536734[_0x44b8('0x5f')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x536734[_0x44b8('0x60')])==='number'&&parseInt(_0x536734[_0x44b8('0x60')])>=0x1?parseInt(_0x536734[_0x44b8('0x60')])*0x3e8:0x5*0x3e8};if(_[_0x44b8('0x61')]([_0x44b8('0x62'),_0x44b8('0x63')],_0x36f217['method'][_0x44b8('0x64')]())){try{_0x36f217[_0x44b8('0x65')]=_0x536734[_0x44b8('0x66')]?JSON[_0x44b8('0x67')](_0x536734[_0x44b8('0x66')]):{};}catch(_0x1bd9e9){logger[_0x44b8('0x27')]('An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function',_0x1bd9e9);}}try{_0x36f217[_0x44b8('0x68')]=_0x536734[_0x44b8('0x6')]?JSON['parse'](_0x536734[_0x44b8('0x6')]):{};}catch(_0xa19e5f){logger['error'](_0x44b8('0x69'),_0xa19e5f);}if(_0x536734['computedVariables']){try{var _0x56dccf=require(_0x536734[_0x44b8('0x6a')])[_0x44b8('0x6b')](this,_0x36f217);_0x36f217[_0x44b8('0x6c')]=Mustache['render'](_0x536734['url'],_0x56dccf,{},['$$','$$']);if(_0x36f217['headers']){_0x36f217[_0x44b8('0x68')]=JSON[_0x44b8('0x67')](Mustache[_0x44b8('0x6d')](JSON[_0x44b8('0x6e')](_0x36f217[_0x44b8('0x68')]),_0x56dccf,{},['$$','$$']));}if(_0x36f217[_0x44b8('0x65')]){_0x36f217[_0x44b8('0x65')]=JSON[_0x44b8('0x67')](Mustache['render'](JSON[_0x44b8('0x6e')](_0x36f217['body']),_0x56dccf,{},['$$','$$']));}}catch(_0x59e7b4){logger['error'](_0x44b8('0x6f'),_0x59e7b4);}}rp(_0x36f217)['then'](function(_0x2166df){var _0x1e37fd={'statusCode':_0x2166df[_0x44b8('0x70')]||0xc8,'statusMessage':_0x2166df[_0x44b8('0x71')]||'OK','headers':_0x2166df[_0x44b8('0x68')]||{},'body':_0x2166df[_0x44b8('0x65')]||{}};_0x1f5277(null,_0x1e37fd);})[_0x44b8('0x10')](function(_0x953f65){var _0x5e8e0b={'statusCode':_0x953f65[_0x44b8('0x70')]||0x1f4,'statusMessage':_0x953f65[_0x44b8('0x72')]||_0x44b8('0x73'),'headers':_0x953f65[_0x44b8('0x74')][_0x44b8('0x68')]||{},'body':_0x953f65[_0x44b8('0x74')][_0x44b8('0x65')]||{}};_0x1f5277(null,_0x5e8e0b);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x75')]=function(_0x5f4734,_0x4b45a7){scripts[_0x44b8('0x75')](this['channel'][_0x44b8('0x33')],_0x5f4734[_0x44b8('0x76')],_0x5f4734[_0x44b8('0x56')],_0x5f4734['dialogflow_language']||'en')['then'](function(_0x4b22e7){_0x4b45a7(null,_0x4b22e7);})[_0x44b8('0x10')](function(_0x4860af){_0x4b45a7(_0x4860af);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x77')]=function(_0xf18cb2,_0x322a49){scripts[_0x44b8('0x77')](this[_0x44b8('0x9')][_0x44b8('0x33')],_0xf18cb2[_0x44b8('0x78')],_0xf18cb2[_0x44b8('0x79')],_0xf18cb2[_0x44b8('0x7a')],_0xf18cb2[_0x44b8('0x56')],_0xf18cb2[_0x44b8('0x7b')]||'en')[_0x44b8('0xe')](function(_0x1abe3a){_0x322a49(null,_0x1abe3a);})['catch'](function(_0x410b3a){_0x322a49(_0x410b3a);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x7c')]=function(_0x379b35,_0x45a6c3){scripts[_0x44b8('0x7c')](this[_0x44b8('0x9')],_0x379b35)[_0x44b8('0xe')](function(_0x39dc52){_0x45a6c3(null,_0x39dc52);})[_0x44b8('0x10')](function(_0x1774db){_0x45a6c3(_0x1774db);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x7d')]=function(_0x4f9b68,_0xfb6160){scripts[_0x44b8('0x7d')](_0x4f9b68[_0x44b8('0x76')],_0x4f9b68['text'],_0x4f9b68['ispeech_tts_language']||_0x44b8('0x58'),_0x4f9b68[_0x44b8('0x7e')])[_0x44b8('0xe')](function(_0x57c4d7){_0xfb6160(null,_0x57c4d7);})[_0x44b8('0x10')](function(_0x419852){_0xfb6160(_0x419852);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x7f')]=function(_0x1d7b07,_0x4695b3,_0x327f5a){scripts[_0x44b8('0x7f')](_0x4695b3,_0x1d7b07['key'],_0x1d7b07[_0x44b8('0x80')]||_0x44b8('0x58'),this[_0x44b8('0x81')](_0x1d7b07[_0x44b8('0x82')])?_0x1d7b07[_0x44b8('0x82')]:undefined)[_0x44b8('0xe')](function(_0x9d6d07){_0x327f5a(null,_0x9d6d07);})['catch'](function(_0x5c8ce9){_0x327f5a(_0x5c8ce9);});};AGIVertices['prototype'][_0x44b8('0x83')]=function(_0xc5f9ef,_0x2d74ee){scripts[_0x44b8('0x83')](_0xc5f9ef[_0x44b8('0x84')],_0xc5f9ef[_0x44b8('0x85')],_0xc5f9ef[_0x44b8('0x86')],_0xc5f9ef[_0x44b8('0x87')]||_0x44b8('0x88'),_0xc5f9ef['text'],_0xc5f9ef[_0x44b8('0x89')]||_0x44b8('0x56'))['then'](function(_0x4e204b){_0x2d74ee(null,_0x4e204b);})[_0x44b8('0x10')](function(_0x4ee9e3){_0x2d74ee(_0x4ee9e3);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x8a')]=function(_0x207164,_0x5e5e1d){scripts[_0x44b8('0x8a')](this[_0x44b8('0x9')][_0x44b8('0x33')],_0x207164[_0x44b8('0x84')],_0x207164['aws_secret_access_key'],_0x207164[_0x44b8('0x8b')],_0x207164['text'],_0x207164[_0x44b8('0x8c')])[_0x44b8('0xe')](function(_0x2d9d62){_0x5e5e1d(null,_0x2d9d62);})[_0x44b8('0x10')](function(_0x3fe77d){_0x5e5e1d(_0x3fe77d);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x8d')]=function(_0x5b3e72,_0x4d3b82,_0x563d7d){scripts[_0x44b8('0x8d')](_0x4d3b82,_0x5b3e72[_0x44b8('0x76')],_0x5b3e72[_0x44b8('0x8e')]||_0x44b8('0x58'))[_0x44b8('0xe')](function(_0x185b3c){_0x563d7d(null,_0x185b3c);})[_0x44b8('0x10')](function(_0x1236df){_0x563d7d(_0x1236df);});};AGIVertices[_0x44b8('0xb')][_0x44b8('0x8f')]=function(_0x32057a,_0x3dfb2c,_0x3cd117){scripts[_0x44b8('0x8f')](_0x3dfb2c,_0x32057a[_0x44b8('0x90')],_0x32057a[_0x44b8('0x91')],_0x32057a[_0x44b8('0x6c')])[_0x44b8('0xe')](function(_0x5cf8ba){_0x3cd117(null,_0x5cf8ba);})[_0x44b8('0x10')](function(_0x49aecf){_0x3cd117(_0x49aecf);});};AGIVertices[_0x44b8('0xb')]['clear']=function(_0x5db410){var _0x2e171b=_['includes'](verticesWithRetry,_0x5db410['agicommand'])?_0x5db410:_['clone'](_0x5db410);for(var _0x4aa919 in _0x2e171b){if(_0x2e171b['hasOwnProperty'](_0x4aa919)){if(_0x2e171b[_0x4aa919]&&_[_0x44b8('0x92')](_0x2e171b[_0x4aa919])){if(_[_0x44b8('0x61')](recursiveMapAttributes,_0x4aa919)){_0x2e171b[_0x4aa919]=this[_0x44b8('0x93')](_0x2e171b[_0x4aa919]);}else{_0x2e171b[_0x4aa919]=this[_0x44b8('0x94')](_0x2e171b[_0x4aa919]);}}}}return _0x2e171b;};AGIVertices['prototype'][_0x44b8('0x95')]=function(_0x416c89){for(var _0x5bcd22 in _0x416c89){if(_0x416c89['hasOwnProperty'](_0x5bcd22)){if(_[_0x44b8('0x96')](_0x416c89[_0x5bcd22])){this[_0x44b8('0x95')](_0x416c89[_0x5bcd22]);}else if(_[_0x44b8('0x97')](_0x416c89[_0x5bcd22])){for(var _0x507eda=0x0;_0x507eda<_0x416c89[_0x5bcd22][_0x44b8('0x98')];_0x507eda++){this[_0x44b8('0x95')](_0x416c89[_0x5bcd22][_0x507eda]);}}else if(_[_0x44b8('0x92')](_0x416c89[_0x5bcd22])){_0x416c89[_0x5bcd22]=this[_0x44b8('0x94')](_0x416c89[_0x5bcd22]);}}}};AGIVertices[_0x44b8('0xb')][_0x44b8('0x99')]=function(_0x25f605,_0x16344b){for(var _0x21057f in _0x25f605){if(_0x25f605['hasOwnProperty'](_0x21057f)){if(_[_0x44b8('0x96')](_0x25f605[_0x21057f])){if(!_[_0x44b8('0x3e')](_0x25f605[_0x21057f])){this['saveRestApiResult'](_0x25f605[_0x21057f],util[_0x44b8('0x23')](_0x44b8('0x9a'),_0x16344b,_0x21057f));}}else if(_[_0x44b8('0x97')](_0x25f605[_0x21057f])){for(var _0x4da0a5=0x0;_0x4da0a5<_0x25f605[_0x21057f][_0x44b8('0x98')];_0x4da0a5++){this['saveRestApiResult'](_0x25f605[_0x21057f][_0x4da0a5],util[_0x44b8('0x23')](_0x44b8('0x9a'),_0x16344b,_0x21057f+'['+_0x4da0a5+']'));}}else{if(!_['isNil'](_0x25f605[_0x21057f])){this[_0x44b8('0x9')][_0x44b8('0x9b')](util[_0x44b8('0x23')](_0x44b8('0x9a'),_0x16344b,_0x21057f),_0x25f605[_0x21057f]);}}}}};AGIVertices['prototype'][_0x44b8('0x93')]=function(_0xf73cde){try{var _0x10caca=JSON[_0x44b8('0x67')](_0xf73cde);this[_0x44b8('0x95')](_0x10caca);return JSON[_0x44b8('0x6e')](_0x10caca);}catch(_0x10a66a){return this[_0x44b8('0x94')](_0xf73cde);}};AGIVertices[_0x44b8('0xb')]['replaceAllVariables']=function(_0x53cbee){var _0x331e89=_0x53cbee[_0x44b8('0x9c')]('{');for(var _0x1d29cd=0x1;_0x1d29cd<_0x331e89[_0x44b8('0x98')];_0x1d29cd+=0x1){var _0x276c14=_0x331e89[_0x1d29cd]['split']('}');if(_0x276c14[_0x44b8('0x98')]>0x1){_0x53cbee=_0x53cbee['replaceAll']('{'+_0x276c14[0x0]+'}',this[_0x44b8('0x9')]['getVariable'](_0x276c14[0x0])[_0x44b8('0x9d')]||_0x276c14[0x0]);}}if(_0x331e89[_0x44b8('0x98')]===0x1){return _0x53cbee[_0x44b8('0x46')]();}return this[_0x44b8('0x94')](_0x53cbee);};AGIVertices[_0x44b8('0xb')][_0x44b8('0x9e')]=function(_0x1ee7d1,_0x465ef7){var _0x1c7d88=this['channel'][_0x44b8('0xc')](_0x1ee7d1);if(_0x1c7d88[_0x44b8('0x9f')]===-0x1){return _0x1c7d88;}logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s',_0x465ef7,_0x1c7d88['extra']));return this['channel'][_0x44b8('0x9b')](_0x465ef7,_0x1c7d88['extra']);};AGIVertices['prototype'][_0x44b8('0x81')]=function(_0x317337){return _0x317337&&_0x317337!=='0'&&_0x317337!=='-1'&&_0x317337!=='';};AGIVertices[_0x44b8('0xb')][_0x44b8('0xa0')]=function(_0x413dd9){this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x413dd9,'-');_0x413dd9[_0x44b8('0xa1')]=_0x413dd9['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0x44b8('0xb')][_0x44b8('0xa2')]=function(_0x1e2407){logger[_0x44b8('0x29')](util['format'](_0x44b8('0xa3'),_0x1e2407[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x1e2407['text'])){return this['channel'][_0x44b8('0xa4')](_0x44b8('0xa5'));}var _0x187213='\x22'+_0x1e2407[_0x44b8('0x56')]+'\x22';if(this[_0x44b8('0x81')](_0x1e2407['options'])){_0x187213+=','+_0x1e2407[_0x44b8('0x74')];}var _0x458cfc=this['channel'][_0x44b8('0x51')](_0x44b8('0xa6'),_0x187213);if(_0x458cfc[_0x44b8('0x9f')]===-0x1){return _0x458cfc;}return this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')]('Executed\x20command\x20MRCPSynth\x20%s',_0x187213));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xa7')]=function(_0x1eb1b7){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0xa8'),_0x1eb1b7[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x1eb1b7['grammar'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa9'));}var _0x42e772=_0x1eb1b7[_0x44b8('0xaa')];if(this[_0x44b8('0x81')](_0x1eb1b7['options'])){_0x42e772+=','+_0x1eb1b7['options'];}var _0x342125=this[_0x44b8('0x9')]['exec'](_0x44b8('0xab'),_0x42e772);if(_0x342125[_0x44b8('0x9f')]===-0x1){return _0x342125;}var _0x4e83b6=this[_0x44b8('0x9e')](_0x44b8('0xac'),_0x44b8('0xad'));if(_0x4e83b6[_0x44b8('0x9f')]===-0x1){return _0x4e83b6;}var _0x334522=this[_0x44b8('0x9e')](_0x44b8('0xae'),_0x44b8('0xaf'));if(_0x334522[_0x44b8('0x9f')]===-0x1){return _0x334522;}var _0x225f18=this[_0x44b8('0x9e')](_0x44b8('0xb0'),_0x44b8('0xb1'));if(_0x225f18[_0x44b8('0x9f')]===-0x1){return _0x225f18;}return this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0xb2'),_0x42e772));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x5')]=function(_0x584768){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20AGI\x20(%s)\x20block',_0x584768[_0x44b8('0x34')]));return this['channel'][_0x44b8('0x5')]([_0x584768[_0x44b8('0xb3')],_0x584768[_0x44b8('0xb4')]]);};AGIVertices[_0x44b8('0xb')]['answer']=function(_0x4ff9c0){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0x4ff9c0['label']));if(this['isConfigured'](_0x4ff9c0[_0x44b8('0x60')])){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Wait\x20%s\x20seconds\x20before\x20answer',_0x4ff9c0['timeout']));var _0x28da8b=this[_0x44b8('0x9')][_0x44b8('0xb5')](_0x4ff9c0[_0x44b8('0x60')]);if(_0x28da8b[_0x44b8('0x9f')]===-0x1){return _0x28da8b;}}return this[_0x44b8('0x9')][_0x44b8('0xb6')]();};AGIVertices[_0x44b8('0xb')][_0x44b8('0x45')]=function(_0x4ed62f){logger[_0x44b8('0x29')](util['format'](_0x44b8('0xb7'),_0x4ed62f['label']));if(!this['isConfigured'](_0x4ed62f[_0x44b8('0xb8')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x4ed62f,_0x44b8('0xb9'));}_0x4ed62f[_0x44b8('0x44')]=moment();if(this[_0x44b8('0x81')](_0x4ed62f[_0x44b8('0xba')])){_0x4ed62f[_0x44b8('0x44')]=moment()[_0x44b8('0xbb')](_0x4ed62f['delay'],_0x44b8('0xbc'));}if(!this[_0x44b8('0x81')](_0x4ed62f[_0x44b8('0xbd')])){_0x4ed62f['callback_priority']=0x2;}this['createCmContact'][_0x44b8('0x6b')](this,_0x4ed62f);return this['channel'][_0x44b8('0xa4')](util['format'](_0x44b8('0xbe'),_0x4ed62f['phone'],_0x4ed62f['list_id'],_0x4ed62f[_0x44b8('0x44')]));};AGIVertices[_0x44b8('0xb')]['custom_app']=function(_0x32e08e){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0xbf'),_0x32e08e[_0x44b8('0x34')]));var _0x57b73f=this[_0x44b8('0x9')]['exec'](_0x32e08e['application'],_0x32e08e['options']);if(_0x57b73f[_0x44b8('0x9f')]===-0x1){return _0x57b73f;}return this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0xc0'),_0x32e08e['application'],_0x32e08e['options']));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xc1')]=function(_0x51adc0){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x51adc0[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x51adc0['text'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa5'));}var _0x4edc9b='\x22'+_0x51adc0[_0x44b8('0x56')]+'\x22';if(this['isConfigured'](_0x51adc0[_0x44b8('0x74')])){_0x4edc9b+=','+_0x51adc0['options'];}var _0x5eedf4=this[_0x44b8('0x9')][_0x44b8('0x51')](_0x44b8('0xa6'),_0x4edc9b);if(_0x5eedf4[_0x44b8('0x9f')]===-0x1){return _0x5eedf4;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xc2'),_0x4edc9b));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xc3')]=function(_0x1b5352){logger['info'](util[_0x44b8('0x23')](_0x44b8('0xc4'),_0x1b5352[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x1b5352[_0x44b8('0x56')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa5'));}var _0x5c2adc='\x22'+_0x1b5352[_0x44b8('0x56')]+'\x22';if(this[_0x44b8('0x81')](_0x1b5352['options'])){_0x5c2adc+=','+_0x1b5352[_0x44b8('0x74')];}var _0x355a20=this[_0x44b8('0x9')]['exec']('MRCPSynth',_0x5c2adc);if(_0x355a20[_0x44b8('0x9f')]===-0x1){return _0x355a20;}return this[_0x44b8('0x9')]['noop'](util['format'](_0x44b8('0xc2'),_0x5c2adc));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xc5')]=function(_0x2bccf9){logger[_0x44b8('0x29')](util['format'](_0x44b8('0xc6'),_0x2bccf9['label']));if(!this[_0x44b8('0x81')](_0x2bccf9[_0x44b8('0xaa')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa9'));}var _0x180c33=_0x2bccf9['grammar'];if(this[_0x44b8('0x81')](_0x2bccf9['options'])){_0x180c33+=','+_0x2bccf9[_0x44b8('0x74')];}var _0x1233a3=this['channel'][_0x44b8('0x51')]('MRCPRecog',_0x180c33);if(_0x1233a3[_0x44b8('0x9f')]===-0x1){return _0x1233a3;}var _0x371094=this[_0x44b8('0x9e')]('RECOG_CONFIDENCE()',_0x44b8('0xc7'));if(_0x371094[_0x44b8('0x9f')]===-0x1){return _0x371094;}var _0x4ff63e=this[_0x44b8('0x9e')]('RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT');if(_0x4ff63e[_0x44b8('0x9f')]===-0x1){return _0x4ff63e;}var _0x4da59c=this[_0x44b8('0x9e')]('RECOG_INSTANCE()',_0x44b8('0xc8'));if(_0x4da59c[_0x44b8('0x9f')]===-0x1){return _0x4da59c;}return this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')]('Executed\x20command\x20MRCPRecog\x20%s',_0x180c33));};AGIVertices['prototype'][_0x44b8('0xc9')]=function(_0x440eb4){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x440eb4[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x440eb4[_0x44b8('0xaa')])){return this[_0x44b8('0x9')]['noop']('no\x20grammar\x20configured');}var _0xf7cbd8=_0x440eb4[_0x44b8('0xaa')];if(this[_0x44b8('0x81')](_0x440eb4['options'])){_0xf7cbd8+=','+_0x440eb4[_0x44b8('0x74')];}var _0x301770=this['channel'][_0x44b8('0x51')](_0x44b8('0xab'),_0xf7cbd8);if(_0x301770[_0x44b8('0x9f')]===-0x1){return _0x301770;}var _0x2cb698=this[_0x44b8('0x9e')](_0x44b8('0xac'),'SESTEK_ASR_CONFIDENCE');if(_0x2cb698['result']===-0x1){return _0x2cb698;}var _0x46382c=this['getAndSetVariable'](_0x44b8('0xae'),'SESTEK_ASR_TRANSCRIPT');if(_0x46382c[_0x44b8('0x9f')]===-0x1){return _0x46382c;}var _0x36d09c=this[_0x44b8('0x9e')](_0x44b8('0xb0'),_0x44b8('0xca'));if(_0x36d09c[_0x44b8('0x9f')]===-0x1){return _0x36d09c;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xb2'),_0xf7cbd8));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xcb')]=function(_0xb8404f){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0xcc'),_0xb8404f['label']));if(!this[_0x44b8('0x81')](_0xb8404f['odbc_id'])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0xb8404f,_0x44b8('0xcd'));}var _0x10fd21=this[_0x44b8('0x12')][_0x44b8('0x6b')](this,_0xb8404f[_0x44b8('0xce')]);if(!_0x10fd21){return this['channel']['error'](_0xb8404f,_0x44b8('0xcf'));}if(!this[_0x44b8('0x81')](_0xb8404f[_0x44b8('0x2b')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0xb8404f,'no\x20query\x20configured');}var _0x32c4a4=_0xb8404f[_0x44b8('0x2b')][_0x44b8('0xd0')](/(\r\n|\n|\r)/gm,'\x20');this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')]('query:\x20%s',_0x32c4a4));var _0x4d07e=this[_0x44b8('0x25')][_0x44b8('0x6b')](this,_0x10fd21,_0x32c4a4);this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0xb8404f,_0x32c4a4);if(!this['isConfigured'](_0xb8404f['variable_id'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x5ae640=this[_0x44b8('0xc')]['sync'](this,_0xb8404f[_0x44b8('0xd1')]);if(!_0x5ae640){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0xb8404f,_0x44b8('0xd2'));}var _0x3de181=this;_0x4d07e[_0x44b8('0xd3')](function(_0x249f6a,_0x42c8a5){Object['keys'](_0x249f6a)[_0x44b8('0xd3')](function(_0xf24cdd){_0x3de181[_0x44b8('0x9')]['setVariable'](util[_0x44b8('0x23')](_0x44b8('0xd4'),_0x5ae640,_0x42c8a5,_0xf24cdd),_0x249f6a[_0xf24cdd]);});});this['channel']['setVariable'](util['format']('%s_ROWS_COUNT',_0x5ae640),_0x4d07e[_0x44b8('0x98')]);return this['channel']['noop'](util[_0x44b8('0x23')](_0x44b8('0xd5'),_0x5ae640));};AGIVertices[_0x44b8('0xb')]['dial']=function(_0x36927e){logger['debug'](util[_0x44b8('0x23')](_0x44b8('0xd6'),_0x36927e[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x36927e['sip_id'])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x36927e,_0x44b8('0xd7'));}var _0x494697=this['getUser']['sync'](this,_0x36927e[_0x44b8('0xd8')]);if(!_0x494697){return this[_0x44b8('0x9')]['error'](_0x36927e,_0x44b8('0xd9'));}var _0x188744=this[_0x44b8('0x9')][_0x44b8('0x51')](_0x44b8('0xda'),[util[_0x44b8('0x23')](_0x44b8('0xdb'),_0x494697),_0x36927e[_0x44b8('0x60')],_0x36927e['opts'],_0x36927e[_0x44b8('0x5e')]]);if(_0x188744[_0x44b8('0x9f')]===-0x1){return _0x188744;}return this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')]('Executed\x20command\x20%s',_0x44b8('0xda')));};AGIVertices['prototype'][_0x44b8('0xdc')]=function(_0x1978a9){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0xdd'),_0x1978a9[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x1978a9[_0x44b8('0x76')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xde'));}if(!this[_0x44b8('0x81')](_0x1978a9['text'])){return this[_0x44b8('0x9')]['noop'](_0x44b8('0xa5'));}this['channel'][_0x44b8('0xdf')]=!![];this[_0x44b8('0x32')](_0x1978a9);this[_0x44b8('0x3c')](_0x1978a9[_0x44b8('0x56')],'in','','');this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')]('Trying\x20Dialogflow:\x20%s',_0x1978a9[_0x44b8('0x56')]));var _0x2ea253=this[_0x44b8('0x75')][_0x44b8('0x6b')](this,_0x1978a9);if(_0x2ea253){for(var _0x3ee44e in _0x2ea253){if(_0x2ea253[_0x44b8('0xe0')](_0x3ee44e)){this[_0x44b8('0x9')][_0x44b8('0x9b')](util[_0x44b8('0x23')](_0x44b8('0xe1'),_0x3ee44e[_0x44b8('0x64')]()),_0x2ea253[_0x3ee44e]);}}this[_0x44b8('0x3c')](_0x2ea253[_0x44b8('0xe2')],_0x44b8('0xe3'),'dialogflow','');return this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format'](_0x44b8('0xe4'),_0x2ea253[_0x44b8('0xe2')]));}return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x1978a9,_0x44b8('0xe5'));};AGIVertices['prototype'][_0x44b8('0xe6')]=function(_0x1c8718){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x1c8718[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x1c8718['dialogflowV2_project_id'])){return this['channel']['noop']('no\x20project_id\x20configured');}if(!this[_0x44b8('0x81')](_0x1c8718['client_email'])){return this['channel'][_0x44b8('0xa4')](_0x44b8('0xe7'));}if(!this[_0x44b8('0x81')](_0x1c8718['private_key'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xe8'));}if(!this[_0x44b8('0x81')](_0x1c8718['dialogflowV2_language'])){return this[_0x44b8('0x9')]['noop'](_0x44b8('0xe9'));}if(!this[_0x44b8('0x81')](_0x1c8718['text'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa5'));}this[_0x44b8('0x9')][_0x44b8('0xdf')]=!![];this['createSquareDetailsReport'](_0x1c8718);this['createSquareMessage'](_0x1c8718[_0x44b8('0x56')],'in','','');this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xea'),_0x1c8718[_0x44b8('0x56')]));var _0x1bed4f=this[_0x44b8('0x77')][_0x44b8('0x6b')](this,_0x1c8718);if(_0x1bed4f){for(var _0x157824 in _0x1bed4f){if(_0x1bed4f[_0x44b8('0xe0')](_0x157824)){if(_0x157824!==_0x44b8('0xeb')){this['channel']['setVariable'](util[_0x44b8('0x23')]('DIALOGFLOW_%s',_0x157824[_0x44b8('0x64')]()),_0x1bed4f[_0x157824]);}}}this[_0x44b8('0x3c')](_0x1bed4f[_0x44b8('0xe2')],'out',_0x44b8('0xe6'),_0x1bed4f[_0x44b8('0xeb')]);return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xec'),_0x1bed4f['speech']));}return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x1c8718,'DialogflowV2\x20is\x20unreachable');};AGIVertices[_0x44b8('0xb')][_0x44b8('0xed')]=function(_0x22edd7){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20SESTEKNDA\x20(%s)\x20block',_0x22edd7[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x22edd7[_0x44b8('0xee')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xef'));}if(!this[_0x44b8('0x81')](_0x22edd7[_0x44b8('0xf0')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20username\x20configured');}if(!this[_0x44b8('0x81')](_0x22edd7[_0x44b8('0xf1')])){return this[_0x44b8('0x9')]['noop']('no\x20password\x20configured');}if(!this[_0x44b8('0x81')](_0x22edd7['ndassistant_url'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa5'));}this[_0x44b8('0x9')][_0x44b8('0xdf')]=!![];this[_0x44b8('0x32')](_0x22edd7);this[_0x44b8('0x3c')](_0x22edd7['text'],'in','','');this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xf2'),_0x22edd7[_0x44b8('0x56')]));var _0x506731=this[_0x44b8('0x7c')]['sync'](this,_0x22edd7);if(_0x506731){for(var _0x4d88a6 in _0x506731){if(_0x506731[_0x44b8('0xe0')](_0x4d88a6)){this[_0x44b8('0x9')][_0x44b8('0x9b')](util[_0x44b8('0x23')](_0x44b8('0xf3'),_0x4d88a6[_0x44b8('0x64')]()),_0x506731[_0x4d88a6]);}}this[_0x44b8('0x3c')](_0x506731['speech'],_0x44b8('0xe3'),_0x44b8('0xed'),'');if(_0x506731[_0x44b8('0xf4')]){this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xf5'),_0x506731[_0x44b8('0xf4')]));var _0x4dd93c=this[_0x44b8('0x9')][_0x44b8('0xf6')](_0x506731[_0x44b8('0xf4')]);try{fs['unlink'](_0x506731['audiofile']+'.wav');}catch(_0x4b3c64){logger['error'](_0x4b3c64);}return _0x4dd93c;}else{return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xf7'),_0x506731[_0x44b8('0xe2')]));}}return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x22edd7,_0x44b8('0xf8'));};AGIVertices[_0x44b8('0xb')][_0x44b8('0xf9')]=function(_0x16e1d6){logger['info'](util[_0x44b8('0x23')](_0x44b8('0xfa'),_0x16e1d6[_0x44b8('0x34')]));return this[_0x44b8('0x9')][_0x44b8('0xa4')]('end');};AGIVertices[_0x44b8('0xb')]['ext_dial']=function(_0x4033b5){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block',_0x4033b5[_0x44b8('0x34')]));var _0x964c3c='';if(_0x4033b5['trunk_id']){if(!this[_0x44b8('0x81')](_0x4033b5[_0x44b8('0xfb')])){return this[_0x44b8('0x9')]['error'](_0x4033b5,_0x44b8('0xfc'));}else{var _0x5495e6=parseInt(_0x4033b5[_0x44b8('0xfb')],0xa);if(isNaN(_0x5495e6)){_0x964c3c=_0x4033b5[_0x44b8('0xfb')];}else{_0x964c3c=this[_0x44b8('0x16')]['sync'](this,_0x4033b5[_0x44b8('0xfb')]);if(!_0x964c3c){return this['channel'][_0x44b8('0x27')](_0x4033b5,_0x44b8('0xfd'));}}}}else if(_0x4033b5[_0x44b8('0xfe')]){_0x964c3c=_0x4033b5[_0x44b8('0xfe')];}else{return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x4033b5,'no\x20trunk\x20selected');}var _0x3c0557=this[_0x44b8('0x9')][_0x44b8('0x51')](_0x44b8('0xda'),[util['format'](_0x44b8('0xff'),_0x964c3c,_0x4033b5[_0x44b8('0x43')]),_0x4033b5[_0x44b8('0x60')],_0x4033b5[_0x44b8('0x100')],_0x4033b5[_0x44b8('0x5e')]]);if(_0x3c0557[_0x44b8('0x9f')]===-0x1){return _0x3c0557;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x101'),_0x44b8('0xda')));};AGIVertices[_0x44b8('0xb')]['finally']=function(_0x2cf3ac){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x102'),_0x2cf3ac['label']));return this[_0x44b8('0x9')]['noop'](_0x44b8('0x103'));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x104')]=function(_0x5baaa3){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x105'),_0x5baaa3[_0x44b8('0x34')]));if(_0x5baaa3[_0x44b8('0xa1')]===0x0){return this['maxRetry'](_0x5baaa3);}_0x5baaa3[_0x44b8('0xa1')]-=0x1;if(!this[_0x44b8('0x81')](_0x5baaa3[_0x44b8('0x106')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x5baaa3,'no\x20file\x20audio\x20selected');}var _0x422f56=this[_0x44b8('0x18')][_0x44b8('0x6b')](this,_0x5baaa3[_0x44b8('0x106')]);if(!_0x422f56){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x5baaa3,_0x44b8('0x107'));}if(!this['isConfigured'](_0x5baaa3['variable_id'])){return this['channel'][_0x44b8('0x27')](_0x44b8('0x108'));}var _0x46dd24=this['channel']['getData'](_0x422f56,_0x5baaa3[_0x44b8('0x109')],_0x5baaa3[_0x44b8('0x10a')]);var _0x452d24=_0x46dd24[_0x44b8('0x9f')]?_0x46dd24[_0x44b8('0x9f')]['toString']():'';logger['info']('test',JSON['stringify'](_0x46dd24));if(_0x46dd24[_0x44b8('0x9f')]===-0x1){this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x5baaa3,_0x452d24);return _0x46dd24;}else if(_0x46dd24[_0x44b8('0x9d')]===_0x44b8('0x60')){_0x46dd24[_0x44b8('0x9f')]=_0x452d24['length']>=parseInt(_0x5baaa3[_0x44b8('0x10b')])?'x':'i';}else{_0x46dd24['result']=_0x452d24[_0x44b8('0x98')]>=parseInt(_0x5baaa3[_0x44b8('0x10b')])&&_0x452d24[_0x44b8('0x98')]<=parseInt(_0x5baaa3['maxdigit'])?'x':'i';}var _0x529d41=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x5baaa3['variable_id']);if(!_0x529d41){return this['channel'][_0x44b8('0x27')](_0x5baaa3,_0x44b8('0xd2'));}this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x529d41,_0x452d24);if(this[_0x44b8('0x81')](_0x5baaa3['hiddendigitsnum'])){var _0x43f4c3=parseInt(_0x5baaa3[_0x44b8('0x10c')],0xa);var _0x150628=rs[_0x44b8('0x10d')]({'charset':'*','length':_0x43f4c3});var _0x12c9e7=_0x452d24[_0x44b8('0x98')];if(_0x12c9e7>0x0){if(_0x12c9e7>_0x43f4c3){this[_0x44b8('0x32')]['sync'](this,_0x5baaa3,_0x5baaa3[_0x44b8('0x10e')]===_0x44b8('0x10f')?_0x150628+_0x452d24[_0x44b8('0x110')](_0x43f4c3):_0x452d24[_0x44b8('0x110')](0x0,_0x12c9e7-_0x43f4c3)+_0x150628);}else{this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x5baaa3,rs['generate']({'charset':'*','length':_0x12c9e7}));}}else{this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x5baaa3,'');}}else{this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x5baaa3,_0x452d24);}return _0x46dd24;};AGIVertices['prototype'][_0x44b8('0x8')]=function(_0xa2a34b){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block',_0xa2a34b['label']));return this[_0x44b8('0x104')](_0xa2a34b);};AGIVertices[_0x44b8('0xb')][_0x44b8('0x111')]=function(_0x2468b0){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x112'),_0x2468b0[_0x44b8('0x34')]));this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x2468b0,_0x2468b0[_0x44b8('0x113')]);return this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0x114'),_0x2468b0[_0x44b8('0x113')]));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x115')]=function(_0x773a46){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x116'),_0x773a46[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x773a46[_0x44b8('0x84')])||!this['isConfigured'](_0x773a46[_0x44b8('0x85')])){return this['channel'][_0x44b8('0xa4')](_0x44b8('0x117'));}if(!this[_0x44b8('0x81')](_0x773a46[_0x44b8('0x56')])){return this['channel'][_0x44b8('0xa4')](_0x44b8('0xa5'));}this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0x118'),_0x773a46[_0x44b8('0x56')]));var _0x37145d=this[_0x44b8('0x83')][_0x44b8('0x6b')](this,_0x773a46);if(_0x37145d){this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x119'),_0x37145d));var _0x5dd6a9=this[_0x44b8('0x9')]['streamFile'](_0x37145d);try{fs[_0x44b8('0x11a')](_0x37145d+_0x44b8('0x11b'));}catch(_0xc9881e){logger[_0x44b8('0x27')](_0xc9881e);}return _0x5dd6a9;}return this[_0x44b8('0x9')]['error'](_0x773a46,'aws\x20Polly\x20is\x20unreachable');};AGIVertices['prototype'][_0x44b8('0x11c')]=function(_0x239d16){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x11d'),_0x239d16[_0x44b8('0x34')]));if(!this['isConfigured'](_0x239d16[_0x44b8('0x84')])||!this[_0x44b8('0x81')](_0x239d16['aws_secret_access_key'])){return this[_0x44b8('0x9')]['noop'](_0x44b8('0x117'));}if(!this[_0x44b8('0x81')](_0x239d16['aws_bot_name'])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20bot\x20name\x20configured');}if(!this[_0x44b8('0x81')](_0x239d16[_0x44b8('0x56')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20text\x20configured');}this[_0x44b8('0x9')][_0x44b8('0xdf')]=!![];this[_0x44b8('0x32')](_0x239d16);this[_0x44b8('0x3c')](_0x239d16[_0x44b8('0x56')],'in','','');this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format'](_0x44b8('0x11e'),_0x239d16[_0x44b8('0x56')]));var _0xca3c70=this['awsLex'][_0x44b8('0x6b')](this,_0x239d16);if(_0xca3c70){for(var _0x372015 in _0xca3c70){if(_0xca3c70['hasOwnProperty'](_0x372015)&&_[_0x44b8('0x92')](_0xca3c70[_0x372015])){this[_0x44b8('0x9')][_0x44b8('0x9b')](util[_0x44b8('0x23')]('AWS_LEX_%s',_0x372015[_0x44b8('0x64')]()),_0xca3c70[_0x372015]);}}if(_[_0x44b8('0x3f')](_0xca3c70[_0x44b8('0x72')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0x44b8('0x3c')](_0xca3c70[_0x44b8('0x72')],'out',_0x44b8('0x11f'),'');return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')]('Amazon\x20Lex\x20Result\x20%s',_0xca3c70[_0x44b8('0x72')]));}}return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x239d16,_0x44b8('0x120'));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x121')]=function(_0x87c4b1){logger['info'](util[_0x44b8('0x23')](_0x44b8('0x122'),_0x87c4b1[_0x44b8('0x34')],_0x87c4b1[_0x44b8('0x60')]));if(!this['isConfigured'](_0x87c4b1[_0x44b8('0x76')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20key\x20configured');}var _0x55250c=_0x44b8('0x123');var _0x45e3ef=util[_0x44b8('0x23')](_0x44b8('0x124'),FILES_PATH,rs['generate'](0x4));var _0x3dca15=util[_0x44b8('0x23')]('%s.%s',_0x45e3ef,_0x55250c);var _0xd19a35=!![];if(_0x87c4b1[_0x44b8('0x125')]===_0x44b8('0x126')){_0xd19a35=![];}var _0x559b12=this[_0x44b8('0x9')][_0x44b8('0x127')](_0x45e3ef,_0x55250c,_0x87c4b1[_0x44b8('0x128')],_0x87c4b1[_0x44b8('0x60')],undefined,_0xd19a35);if(_0x559b12[_0x44b8('0x9f')]!==-0x1){this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')]('google\x20%s\x20file\x20created',_0x3dca15));var _0x2d2994=this[_0x44b8('0x8d')][_0x44b8('0x6b')](this,_0x87c4b1,_0x3dca15);if(_0x2d2994){for(var _0x3b9cd2 in _0x2d2994){if(_0x2d2994[_0x44b8('0xe0')](_0x3b9cd2)){this[_0x44b8('0x9')][_0x44b8('0x9b')](util[_0x44b8('0x23')](_0x44b8('0x129'),_0x3b9cd2['toUpperCase']()),_0x2d2994[_0x3b9cd2]);}}return this['channel']['noop'](util['format'](_0x44b8('0x12a'),JSON[_0x44b8('0x6e')](_0x2d2994)));}}return _0x559b12;};AGIVertices['prototype'][_0x44b8('0x12b')]=function(_0x470c9e){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x12c'),_0x470c9e[_0x44b8('0x34')]));if(!this['isConfigured'](_0x470c9e[_0x44b8('0x90')])){return this['channel']['noop'](_0x44b8('0x12d'));}if(!this[_0x44b8('0x81')](_0x470c9e[_0x44b8('0x91')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20appsecret\x20configured');}var _0x3906b7=_0x44b8('0x123');var _0x19ddbe=util[_0x44b8('0x23')](_0x44b8('0x124'),FILES_PATH,rs[_0x44b8('0x10d')](0x4));var _0x3f4d24=util['format'](_0x44b8('0x9a'),_0x19ddbe,_0x3906b7);var _0x36bef1=!![];if(_0x470c9e[_0x44b8('0x125')]==='NOBEEP'){_0x36bef1=![];}var _0x2de514=this[_0x44b8('0x9')][_0x44b8('0x127')](_0x19ddbe,_0x3906b7,_0x470c9e[_0x44b8('0x128')],_0x470c9e[_0x44b8('0x60')],undefined,_0x36bef1);if(_0x2de514[_0x44b8('0x9f')]!==-0x1){this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format'](_0x44b8('0x12e'),_0x3f4d24));var _0x292592=this[_0x44b8('0x8f')][_0x44b8('0x6b')](this,_0x470c9e,_0x3f4d24);if(_0x292592){for(var _0x7c1aaa in _0x292592){if(_0x292592[_0x44b8('0xe0')](_0x7c1aaa)){this['channel'][_0x44b8('0x9b')](util[_0x44b8('0x23')]('TILDE_ASR_%s',_0x7c1aaa[_0x44b8('0x64')]()),_0x292592[_0x7c1aaa]);}}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')]('TildeASR\x20Result\x20%s',JSON[_0x44b8('0x6e')](_0x292592)));}}return _0x2de514;};AGIVertices['prototype']['gotoc']=function(_0x9a5734){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x12f'),_0x9a5734[_0x44b8('0x34')]));return this['channel']['continueAt'](_0x9a5734['context'],_0x9a5734[_0x44b8('0x39')],_0x9a5734[_0x44b8('0x3a')]);};AGIVertices['prototype'][_0x44b8('0x130')]=function(_0x154fe2){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x131'),_0x154fe2[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x154fe2[_0x44b8('0x132')])){return this[_0x44b8('0x9')]['error'](_0x154fe2,_0x44b8('0x133'));}try{var _0x1cc640=eval(_0x154fe2[_0x44b8('0x132')])?_0x44b8('0x134'):_0x44b8('0x135');this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')]('EVAL\x20CONDITION\x20%s\x20%s',_0x154fe2['condition'],_0x1cc640));return{'code':0xc8,'result':_0x1cc640};}catch(_0xca26a5){return{'code':0xc8,'result':_0x44b8('0x135')};}};AGIVertices[_0x44b8('0xb')][_0x44b8('0x136')]=function(_0x3689d0){logger['info'](util[_0x44b8('0x23')](_0x44b8('0x137'),_0x3689d0['label']));if(!this[_0x44b8('0x81')](_0x3689d0['interval_id'])){return this['channel'][_0x44b8('0x27')](_0x3689d0,_0x44b8('0x138'));}var _0x3af78a=this[_0x44b8('0x1d')]['sync'](this,_0x3689d0[_0x44b8('0x139')]);if(!_0x3af78a){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x3689d0,_0x44b8('0x13a'));}for(var _0x175ae3=0x0;_0x175ae3<_0x3af78a[_0x44b8('0x98')];_0x175ae3+=0x1){var _0x3c53fa=this[_0x44b8('0x9')][_0x44b8('0xc')](util[_0x44b8('0x23')](_0x44b8('0x13b'),_0x3af78a[_0x175ae3]));if(_0x3c53fa[_0x44b8('0x9f')]===-0x1){return _0x3c53fa;}logger[_0x44b8('0x29')](util['format']('IFTIME\x20%s\x20%s',_0x3af78a[_0x175ae3],_0x3c53fa[_0x44b8('0x9d')]));if(_0x3c53fa[_0x44b8('0x9d')]===_0x44b8('0x134')){logger['info'](util[_0x44b8('0x23')](_0x44b8('0x13c'),_0x3af78a[_0x175ae3],_0x44b8('0x134')));this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x13c'),_0x3af78a[_0x175ae3],'true'));return{'code':0xc8,'result':'true'};}else{logger['info'](util[_0x44b8('0x23')](_0x44b8('0x13c'),_0x3af78a[_0x175ae3],_0x44b8('0x135')));this['channel']['noop'](util[_0x44b8('0x23')](_0x44b8('0x13c'),_0x3af78a[_0x175ae3],_0x44b8('0x135')));}}return{'code':0xc8,'result':_0x44b8('0x135')};};AGIVertices[_0x44b8('0xb')][_0x44b8('0x13d')]=function(_0x2c1d36){logger['info'](util[_0x44b8('0x23')](_0x44b8('0x13e'),_0x2c1d36[_0x44b8('0x34')]));return this['channel'][_0x44b8('0x13d')]();};AGIVertices[_0x44b8('0xb')][_0x44b8('0x13f')]=function(_0x4aec46){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x140'),_0x4aec46['label']));if(!this[_0x44b8('0x81')](_0x4aec46[_0x44b8('0x76')])){return this[_0x44b8('0x9')]['noop'](_0x44b8('0xde'));}var _0x3922b8='wav';var _0x40829b=util[_0x44b8('0x23')](_0x44b8('0x124'),FILES_PATH,rs['generate'](0x4));var _0x310c11=util[_0x44b8('0x23')](_0x44b8('0x9a'),_0x40829b,_0x3922b8);var _0x1d41c8=!![];if(_0x4aec46[_0x44b8('0x125')]===_0x44b8('0x126')){_0x1d41c8=![];}var _0x317eed=this[_0x44b8('0x9')]['recordFile'](_0x40829b,_0x3922b8,_0x4aec46[_0x44b8('0x128')],_0x4aec46[_0x44b8('0x60')],undefined,_0x1d41c8);if(_0x317eed[_0x44b8('0x9f')]!==-0x1){this[_0x44b8('0x9')]['noop'](util['format'](_0x44b8('0x141'),_0x310c11));var _0x549f1c=this[_0x44b8('0x7f')][_0x44b8('0x6b')](this,_0x4aec46,_0x310c11);if(_0x549f1c){for(var _0xb7dbe7 in _0x549f1c){if(_0x549f1c[_0x44b8('0xe0')](_0xb7dbe7)){this[_0x44b8('0x9')]['setVariable'](util['format'](_0x44b8('0x142'),_0xb7dbe7[_0x44b8('0x64')]()),_0x549f1c[_0xb7dbe7]);}}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format']('IspeechASR\x20Result\x20%s',JSON[_0x44b8('0x6e')](_0x549f1c)));}}return _0x317eed;};AGIVertices[_0x44b8('0xb')][_0x44b8('0x143')]=function(_0x16fd39){logger['info'](util['format']('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x16fd39[_0x44b8('0x34')]));if(!this['isConfigured'](_0x16fd39[_0x44b8('0x76')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xde'));}if(!this['isConfigured'](_0x16fd39[_0x44b8('0x56')])){return this[_0x44b8('0x9')]['noop'](_0x44b8('0xa5'));}this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x144'),_0x16fd39['text']));var _0x20cc34=this[_0x44b8('0x7d')][_0x44b8('0x6b')](this,_0x16fd39);if(_0x20cc34){this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x141'),_0x20cc34));var _0x48d8c0=this[_0x44b8('0x9')][_0x44b8('0xf6')](_0x20cc34,_0x16fd39[_0x44b8('0x128')]);try{fs['unlink'](_0x20cc34+_0x44b8('0x11b'));}catch(_0x26ed11){logger[_0x44b8('0x27')](_0x26ed11);}return _0x48d8c0;}return this['channel'][_0x44b8('0x27')](_0x16fd39,_0x44b8('0x145'));};AGIVertices['prototype']['login']=function(_0x1cbf9c){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x146'),_0x1cbf9c['label']));if(!this['isConfigured'](_0x1cbf9c[_0x44b8('0x147')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x1cbf9c,_0x44b8('0x148'));}logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x149'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x1cbf9c[_0x44b8('0x147')]));var _0x4af0af=this[_0x44b8('0x4f')][_0x44b8('0x6b')](this,_0x1cbf9c[_0x44b8('0x147')]);if(_0x4af0af){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x1cbf9c[_0x44b8('0x147')]));this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0x14a'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x1cbf9c[_0x44b8('0x147')]));return{'code':0xc8,'result':_0x44b8('0x14b')};}else{logger['info'](util[_0x44b8('0x23')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x44b8('0x9')]['callerid'],_0x1cbf9c[_0x44b8('0x147')]));this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x14c'),this[_0x44b8('0x9')]['callerid'],_0x1cbf9c[_0x44b8('0x147')]));return{'code':0xc8,'result':_0x44b8('0x14d')};}};AGIVertices[_0x44b8('0xb')]['logout']=function(_0x2c7999){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x14e'),_0x2c7999[_0x44b8('0x34')]));if(!this['isConfigured'](_0x2c7999['findBy'])){return this[_0x44b8('0x9')]['error'](_0x2c7999,'no\x20find\x20by\x20configured');}logger['info'](util[_0x44b8('0x23')](_0x44b8('0x149'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x2c7999[_0x44b8('0x147')]));var _0x15382e=this[_0x44b8('0x4b')]['sync'](this,_0x2c7999[_0x44b8('0x147')]);if(_0x15382e){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x14a'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x2c7999[_0x44b8('0x147')]));this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x14a'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x2c7999['findBy']));return{'code':0xc8,'result':_0x44b8('0x14b')};}else{logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x14c'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x2c7999['findBy']));this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x14c'),this['channel'][_0x44b8('0x36')],_0x2c7999[_0x44b8('0x147')]));return{'code':0xc8,'result':'failure'};}};AGIVertices['prototype']['math']=function(_0x216348){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x14f'),_0x216348[_0x44b8('0x34')]));if(!this['isConfigured'](_0x216348[_0x44b8('0x150')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x216348,_0x44b8('0x151'));}this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')]('math\x20%s',_0x216348[_0x44b8('0x150')]));var _0x20cac3=eval(_0x216348[_0x44b8('0x150')]);if(!this['isConfigured'](_0x216348[_0x44b8('0xd1')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x108'));}var _0x59e899=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x216348['variable_id']);if(!_0x59e899){return this['channel']['error'](_0x216348,_0x44b8('0xd2'));}if(_[_0x44b8('0x97')](_0x20cac3)){var _0xeacf3d=this;_0x20cac3[_0x44b8('0xd3')](function(_0xf330f1,_0x3c2c22){_0xeacf3d['channel'][_0x44b8('0x9b')](util[_0x44b8('0x23')](_0x44b8('0x152'),_0x59e899,_0x3c2c22),_0xf330f1);});return this[_0x44b8('0x9')]['noop'](util['format'](_0x44b8('0x153'),_0x59e899));}else{return this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x59e899,_0x20cac3);}};AGIVertices[_0x44b8('0xb')][_0x44b8('0x7')]=function(_0x4ca814){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0x4ca814[_0x44b8('0x34')]));if(_0x4ca814[_0x44b8('0xa1')]===0x0){return this[_0x44b8('0xa0')](_0x4ca814);}_0x4ca814[_0x44b8('0xa1')]-=0x1;if(!this[_0x44b8('0x81')](_0x4ca814[_0x44b8('0x106')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x4ca814,'no\x20file\x20audio\x20selected');}var _0x306e31=this[_0x44b8('0x18')][_0x44b8('0x6b')](this,_0x4ca814[_0x44b8('0x106')]);if(!_0x306e31){return this[_0x44b8('0x9')]['error'](_0x4ca814,'no\x20file\x20audio\x20found');}var _0xf26205=this[_0x44b8('0x9')][_0x44b8('0x154')](_0x306e31,_0x4ca814[_0x44b8('0x109')],_0x4ca814['digit']);var _0x3b5a69=_0xf26205['result'];if(_0xf26205[_0x44b8('0x9f')]===-0x1){this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x4ca814,'-1');return _0xf26205;}else if(_0xf26205[_0x44b8('0x9d')]===_0x44b8('0x60')){_0xf26205['result']=_0xf26205[_0x44b8('0x9f')][_0x44b8('0x98')]>0x0?_0xf26205['result']:'t';}else if(_[_0x44b8('0x3e')](_0xf26205[_0x44b8('0x9f')])){_0xf26205[_0x44b8('0x9f')]='#';_0x3b5a69='#';}if(!this['isConfigured'](_0x4ca814[_0x44b8('0xd1')])){this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x108'));}else{var _0x10567c=this[_0x44b8('0xc')]['sync'](this,_0x4ca814[_0x44b8('0xd1')]);if(!_0x10567c){return this[_0x44b8('0x9')]['error'](_0x4ca814,_0x44b8('0xd2'));}this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x10567c,_0x3b5a69);}this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x4ca814,_0x3b5a69);return _0xf26205;};AGIVertices[_0x44b8('0xb')][_0x44b8('0xa4')]=function(_0x4576b7){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x155'),_0x4576b7['label']));return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x4576b7[_0x44b8('0x156')]||_0x4576b7[_0x44b8('0x34')]);};AGIVertices['prototype'][_0x44b8('0x157')]=function(_0x47aa08){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x158'),_0x47aa08[_0x44b8('0x34')]));if(!this['isConfigured'](_0x47aa08['findBy'])){return this[_0x44b8('0x9')]['error'](_0x47aa08,_0x44b8('0x148'));}logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel'][_0x44b8('0x36')],_0x47aa08[_0x44b8('0x147')]));var _0x169d87=this[_0x44b8('0x159')][_0x44b8('0x6b')](this,_0x47aa08[_0x44b8('0x15a')]);var _0x38d6d8=this[_0x44b8('0x48')]['sync'](this,_0x47aa08[_0x44b8('0x147')],_0x169d87);if(_0x38d6d8){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x47aa08[_0x44b8('0x147')]));this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format'](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x47aa08[_0x44b8('0x147')]));return{'code':0xc8,'result':'success'};}else{logger[_0x44b8('0x29')](util['format'](_0x44b8('0x14c'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x47aa08[_0x44b8('0x147')]));this['channel'][_0x44b8('0xa4')](util['format'](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x47aa08[_0x44b8('0x147')]));return{'code':0xc8,'result':_0x44b8('0x14d')};}};AGIVertices[_0x44b8('0xb')][_0x44b8('0x15b')]=function(_0x3e7cc3){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20PLAYBACK\x20(%s)\x20block',_0x3e7cc3[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x3e7cc3[_0x44b8('0x106')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x3e7cc3,_0x44b8('0x15c'));}var _0x39d1b4=this[_0x44b8('0x18')][_0x44b8('0x6b')](this,_0x3e7cc3[_0x44b8('0x106')]);if(!_0x39d1b4){return this['channel'][_0x44b8('0x27')](_0x3e7cc3,_0x44b8('0x107'));}var _0x40cb99=this[_0x44b8('0x9')][_0x44b8('0x51')](_0x44b8('0x15d'),[_0x39d1b4,_0x3e7cc3[_0x44b8('0x100')]]);if(_0x40cb99[_0x44b8('0x9f')]===-0x1){return _0x40cb99;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util['format'](_0x44b8('0xc0'),'PLAYBACK',_0x39d1b4));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x15e')]=function(_0x24c7e9){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x15f'),_0x24c7e9[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x24c7e9[_0x44b8('0x160')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x24c7e9,_0x44b8('0x161'));}var _0x2cff2d='';var _0xec2b21=parseInt(_0x24c7e9[_0x44b8('0x160')],0xa);if(isNaN(_0xec2b21)){_0x2cff2d=_0x24c7e9[_0x44b8('0x160')];}else{_0x2cff2d=this['getVoiceQueue']['sync'](this,_0x24c7e9[_0x44b8('0x160')]);if(!_0x2cff2d){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x24c7e9,_0x44b8('0x162'));}}var _0x26377c='';if(this[_0x44b8('0x81')](_0x24c7e9[_0x44b8('0x106')])){var _0x521f5c=this[_0x44b8('0x18')][_0x44b8('0x6b')](this,_0x24c7e9['file_id']);if(_0x521f5c){_0x26377c=_0x521f5c;}}this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x24c7e9,_0x2cff2d);if(_0x24c7e9[_0x44b8('0x100')][_0x44b8('0x163')]('x')<0x0){_0x24c7e9[_0x44b8('0x100')]+='x';}if(_0x24c7e9[_0x44b8('0x100')]['indexOf']('X')<0x0){_0x24c7e9['opts']+='X';}this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x44b8('0x164'),_0x2cff2d?_0x2cff2d[_0x44b8('0x165')]():'');var _0x525eb7=this[_0x44b8('0x9')]['exec']('QUEUE',[_0x2cff2d,_0x24c7e9[_0x44b8('0x100')],_0x24c7e9[_0x44b8('0x5e')],_0x26377c,_0x24c7e9[_0x44b8('0x60')],_0x24c7e9[_0x44b8('0x5')],_0x24c7e9[_0x44b8('0x166')],_0x24c7e9[_0x44b8('0x167')],'',_0x24c7e9['position']]);if(_0x525eb7[_0x44b8('0x9f')]===-0x1){return _0x525eb7;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xc0'),_0x44b8('0x168'),_0x2cff2d));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x169')]=function(_0x24ab51){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x16a'),_0x24ab51[_0x44b8('0x34')]));var _0x4be254=_0x24ab51['recordingFormat']||_0x44b8('0x123');var _0x159848=util[_0x44b8('0x23')]('%s_%s',this[_0x44b8('0x9')][_0x44b8('0x33')],rs[_0x44b8('0x10d')](0x5));var _0x454565=util[_0x44b8('0x23')]('%s/recordings/%s.%s',FILES_PATH,_0x159848,_0x4be254);var _0xb50fef=util[_0x44b8('0x23')](_0x44b8('0x124'),FILES_PATH,_0x159848);this[_0x44b8('0x37')][_0x44b8('0x6b')](this,_0x24ab51,_0x159848,_0x454565);this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x44b8('0x16b'),_0x159848);logger[_0x44b8('0x29')](_0x44b8('0x16c'),_0xb50fef,_0x4be254,_0x24ab51[_0x44b8('0x16d')],_0x24ab51[_0x44b8('0x60')]);return this[_0x44b8('0x9')][_0x44b8('0x127')](_0xb50fef,_0x4be254,_0x24ab51['escape_digits'],_0x24ab51['timeout'],undefined,!![]);};AGIVertices[_0x44b8('0xb')]['restapi']=function(_0x1f1b3b){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20RESTAPI\x20(%s)\x20block',_0x1f1b3b[_0x44b8('0x34')]));if(!this['isConfigured'](_0x1f1b3b[_0x44b8('0x5e')])){return this['channel']['noop'](_0x44b8('0x16e'));}var _0x230623=this[_0x44b8('0x5d')][_0x44b8('0x6b')](this,_0x1f1b3b);logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x16f'),util[_0x44b8('0x170')](_0x230623,{'showHidden':![],'depth':null})));if(!this[_0x44b8('0x81')](_0x1f1b3b[_0x44b8('0xd1')])){return this['channel'][_0x44b8('0xa4')](_0x44b8('0x171'));}var _0x815569=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x1f1b3b[_0x44b8('0xd1')]);if(!_0x815569){return this['channel'][_0x44b8('0x27')](_0x1f1b3b,_0x44b8('0xd2'));}this[_0x44b8('0x9')]['setVariable'](util[_0x44b8('0x23')]('%s_STATUS_CODE',_0x815569),_0x230623[_0x44b8('0x70')]?_0x230623['statusCode']:'200');this[_0x44b8('0x9')][_0x44b8('0x9b')](util['format'](_0x44b8('0x172'),_0x815569),_0x230623['statusMessage']?_0x230623[_0x44b8('0x71')]:'OK');if(_0x230623[_0x44b8('0x65')]){try{this[_0x44b8('0x99')](_0x230623[_0x44b8('0x65')],_0x815569);}catch(_0x2b27c5){logger['error'](util[_0x44b8('0x23')](_0x44b8('0x173'),_0x815569));}}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xd5'),_0x815569));};AGIVertices['prototype']['saydigits']=function(_0x43fe5e){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x174'),_0x43fe5e[_0x44b8('0x34')]));return this[_0x44b8('0x9')][_0x44b8('0x175')](_0x43fe5e['digits'][_0x44b8('0xd0')](/\s+/g,''),_0x43fe5e[_0x44b8('0x16d')]);};AGIVertices[_0x44b8('0xb')]['saynumber']=function(_0x50244d){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x176'),_0x50244d[_0x44b8('0x34')]));return this[_0x44b8('0x9')][_0x44b8('0x177')](_0x50244d[_0x44b8('0x178')]['replace'](/\s+/g,''),_0x50244d[_0x44b8('0x16d')]);};AGIVertices[_0x44b8('0xb')][_0x44b8('0x179')]=function(_0x345d3d){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x17a'),_0x345d3d[_0x44b8('0x34')]));return this[_0x44b8('0x9')][_0x44b8('0x17b')](_0x345d3d[_0x44b8('0x56')],_0x345d3d[_0x44b8('0x16d')]);};AGIVertices['prototype']['sendMail']=function(_0x51dbd8){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x51dbd8[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x51dbd8[_0x44b8('0x17c')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x17d'));}var _0x38691f=this[_0x44b8('0x17e')][_0x44b8('0x6b')](this,_0x51dbd8[_0x44b8('0x17c')]);if(!_0x38691f||!_0x38691f[_0x44b8('0x17f')]){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x51dbd8,_0x44b8('0x180'));}var _0x3fce6a={'from':util[_0x44b8('0x23')](_0x44b8('0x181'),_0x38691f[_0x44b8('0xf')],_0x38691f[_0x44b8('0x182')]||_0x38691f[_0x44b8('0x17f')]['user']),'to':_0x51dbd8['to']||'','cc':_0x51dbd8['cc']||'','bcc':_0x51dbd8[_0x44b8('0x183')]||'','subject':_0x51dbd8['subject'],'html':_0x51dbd8['text'],'text':_0x51dbd8['text']};if(this[_0x44b8('0x81')](_0x51dbd8[_0x44b8('0x184')])){}logger[_0x44b8('0x185')]('sendMail\x20message',JSON[_0x44b8('0x6e')](_0x3fce6a));this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x51dbd8,_0x51dbd8[_0x44b8('0x17c')]);this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x186'),_0x38691f[_0x44b8('0xf')]));this[_0x44b8('0x1b')][_0x44b8('0x6b')](this,_0x38691f['smtpOptions'],_0x3fce6a);return this[_0x44b8('0x9')][_0x44b8('0xa4')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x44b8('0xb')][_0x44b8('0x187')]=function(_0x1e737b){logger['info'](util[_0x44b8('0x23')](_0x44b8('0x188'),_0x1e737b[_0x44b8('0x34')]));return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x189'));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x18a')]=function(_0x735553){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x18b'),_0x735553[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x735553[_0x44b8('0x18c')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x18d'));}var _0x542e4f=this['getSmsAccount'][_0x44b8('0x6b')](this,_0x735553[_0x44b8('0x18c')]);if(!_0x542e4f){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x735553,'no\x20sms\x20account\x20found');}var _0x1a78a8={'body':_0x735553[_0x44b8('0x18e')],'phone':_0x735553['to']||'','SmsAccountId':_0x542e4f['id']};logger[_0x44b8('0x185')](_0x44b8('0x18f'),JSON[_0x44b8('0x6e')](_0x1a78a8));this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x735553,_0x735553['sms_account_id']);this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0x190'),_0x542e4f[_0x44b8('0xf')]));this['createSmsMessage'][_0x44b8('0x6b')](this,_0x1a78a8);return this['channel'][_0x44b8('0xa4')](_0x44b8('0x191'));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x192')]=function(_0x774615){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x193'),_0x774615[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x774615[_0x44b8('0xd1')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x774615,'no\x20variable\x20selected');}var _0x2ede32=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x774615['variable_id']);if(!_0x2ede32){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x774615,_0x44b8('0xd2'));}return this[_0x44b8('0x9')][_0x44b8('0x9b')](_0x2ede32,_0x774615[_0x44b8('0x194')]);};AGIVertices[_0x44b8('0xb')]['start']=function(_0x1ffd7b){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20START\x20(%s)\x20block',_0x1ffd7b[_0x44b8('0x34')]));this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0x195'));var _0x519e52=this[_0x44b8('0x9')][_0x44b8('0xc')]('XMCS-UNIQUEID');if(!_[_0x44b8('0x3e')](_0x519e52[_0x44b8('0x9d')])){this[_0x44b8('0x9')][_0x44b8('0x33')]=_0x519e52['extra'];}if(_0x1ffd7b['answer']===_0x44b8('0x196')){this['channel'][_0x44b8('0xa4')](_0x44b8('0x197'));return this['channel'][_0x44b8('0xb6')]();}return this[_0x44b8('0x9')]['noop']('Skipped\x20Answer');};AGIVertices['prototype'][_0x44b8('0x198')]=function(_0x3edc61){logger[_0x44b8('0x29')](util['format']('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x3edc61['label']));if(!this[_0x44b8('0x81')](_0x3edc61[_0x44b8('0x199')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x3edc61,'no\x20subproject\x20selected');}var _0x31addc=this[_0x44b8('0x19a')][_0x44b8('0x6b')](this,_0x3edc61[_0x44b8('0x199')]);if(!this[_0x44b8('0x81')](_0x31addc)){return this['channel'][_0x44b8('0x27')](_0x3edc61,util[_0x44b8('0x23')](_0x44b8('0x19b'),_0x3edc61[_0x44b8('0x199')]));}if(_0x31addc===this[_0x44b8('0x9')]['arg_1']){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x3edc61,_0x44b8('0x19c'));}this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x3edc61,_0x31addc);var _0x4390fb=this[_0x44b8('0x9')][_0x44b8('0x51')](_0x44b8('0x19d'),util[_0x44b8('0x23')]('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0x44b8('0x5')][_0x44b8('0x19e')]||_0x44b8('0x19f'),_0x31addc,this[_0x44b8('0x9')][_0x44b8('0x35')]));if(_0x4390fb[_0x44b8('0x9f')]===-0x1){return _0x4390fb;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xc0'),'AGI',_0x31addc));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x1a0')]=function(_0x467f72){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x1a1'),_0x467f72['label']));var _0x47d28a=this[_0x44b8('0x50')][_0x44b8('0x6b')](this,_0x467f72[_0x44b8('0xb3')]);this[_0x44b8('0x32')][_0x44b8('0x6b')](this,_0x467f72,_0x467f72[_0x44b8('0xb3')]);if(this[_0x44b8('0x81')](_0x467f72[_0x44b8('0xd1')])){var _0x43ee4a=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x467f72[_0x44b8('0xd1')]);if(_0x43ee4a){this[_0x44b8('0x9')]['setVariable'](_0x43ee4a,_0x47d28a);return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x1a2'),_0x467f72[_0x44b8('0xb3')],_0x43ee4a));}}return this['channel'][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x1a3'),_0x467f72['command']));};AGIVertices[_0x44b8('0xb')][_0x44b8('0x1a4')]=function(_0x120e8b){logger[_0x44b8('0x29')](util['format']('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x120e8b[_0x44b8('0x34')]));_0x120e8b[_0x44b8('0x56')]=_0x120e8b[_0x44b8('0x56')][_0x44b8('0xd0')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x120e8b[_0x44b8('0x54')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20apiKey\x20configured');}if(!this[_0x44b8('0x81')](_0x120e8b[_0x44b8('0x56')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')](_0x44b8('0xa5'));}this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x1a5'),_0x120e8b[_0x44b8('0x56')]));var _0x418961=this['googleCloudTTS'][_0x44b8('0x6b')](this,_0x120e8b);if(_0x418961){this[_0x44b8('0x9')]['noop'](util[_0x44b8('0x23')](_0x44b8('0x1a6'),_0x418961));var _0x17c1f4=this[_0x44b8('0x9')]['streamFile'](_0x418961);try{fs[_0x44b8('0x11a')](_0x418961+'.wav');}catch(_0x3cda92){logger['error'](_0x3cda92);}return _0x17c1f4;}return this['channel'][_0x44b8('0x27')](_0x120e8b,'Google\x20Cloud\x20TTS\x20is\x20unreachable');};AGIVertices[_0x44b8('0xb')]['tts']=function(_0x17db2d){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x1a7'),_0x17db2d['label']));_0x17db2d[_0x44b8('0x56')]=_0x17db2d[_0x44b8('0x56')][_0x44b8('0xd0')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x44b8('0x81')](_0x17db2d[_0x44b8('0x56')])){return this[_0x44b8('0x9')][_0x44b8('0xa4')]('no\x20text\x20configured');}this[_0x44b8('0x9')]['noop'](util['format'](_0x44b8('0x1a8'),_0x17db2d['text']));var _0x54cbce=this[_0x44b8('0x5b')]['sync'](this,_0x17db2d);if(_0x54cbce){this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0x1a9'),_0x54cbce));var _0x29904b=this[_0x44b8('0x9')]['streamFile'](_0x54cbce);try{fs[_0x44b8('0x11a')](_0x54cbce+_0x44b8('0x11b'));}catch(_0x48040c){logger[_0x44b8('0x27')](_0x48040c);}return _0x29904b;}return this['channel']['error'](_0x17db2d,_0x44b8('0x1aa'));};AGIVertices['prototype'][_0x44b8('0x1ab')]=function(_0x498cc6){logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x1ac'),_0x498cc6[_0x44b8('0x34')]));if(!this[_0x44b8('0x81')](_0x498cc6[_0x44b8('0x147')])){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x498cc6,_0x44b8('0x148'));}logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x149'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x498cc6[_0x44b8('0x147')]));var _0x4efee9=this['agentUnpause']['sync'](this,_0x498cc6[_0x44b8('0x147')]);if(_0x4efee9){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x498cc6[_0x44b8('0x147')]));this[_0x44b8('0x9')]['noop'](util['format'](_0x44b8('0x14a'),this['channel'][_0x44b8('0x36')],_0x498cc6[_0x44b8('0x147')]));return{'code':0xc8,'result':_0x44b8('0x14b')};}else{logger[_0x44b8('0x29')](util[_0x44b8('0x23')](_0x44b8('0x14c'),this[_0x44b8('0x9')][_0x44b8('0x36')],_0x498cc6[_0x44b8('0x147')]));this[_0x44b8('0x9')]['noop'](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x44b8('0x9')][_0x44b8('0x36')],_0x498cc6[_0x44b8('0x147')]));return{'code':0xc8,'result':_0x44b8('0x14d')};}};AGIVertices[_0x44b8('0xb')][_0x44b8('0x1ad')]=function(_0x11231a){logger[_0x44b8('0x29')](util[_0x44b8('0x23')]('Enter\x20in\x20VOICEMAIL\x20(%s)\x20block',_0x11231a[_0x44b8('0x34')]));var _0x1d10f6=this[_0x44b8('0x9')][_0x44b8('0x51')]('VOICEMAIL',[_0x11231a['mailbox'],_0x11231a[_0x44b8('0x74')]]);if(_0x1d10f6[_0x44b8('0x9f')]===-0x1){return _0x1d10f6;}return this[_0x44b8('0x9')][_0x44b8('0xa4')](util[_0x44b8('0x23')](_0x44b8('0xc0'),_0x44b8('0x1ae'),_0x11231a[_0x44b8('0x1af')]));};AGIVertices['prototype']['vswitch']=function(_0x41449b){logger[_0x44b8('0x29')](util['format'](_0x44b8('0x1b0'),_0x41449b[_0x44b8('0x34')]));if(!this['isConfigured'](_0x41449b[_0x44b8('0xd1')])){return this['channel'][_0x44b8('0x27')](_0x41449b,_0x44b8('0x1b1'));}var _0x29a8c5=this[_0x44b8('0xc')][_0x44b8('0x6b')](this,_0x41449b[_0x44b8('0xd1')]);if(!_0x29a8c5){return this[_0x44b8('0x9')][_0x44b8('0x27')](_0x41449b,_0x44b8('0xd2'));}var _0x32262e=this[_0x44b8('0x9')][_0x44b8('0xc')](_0x29a8c5);return{'code':0xc8,'result':_0x32262e[_0x44b8('0x9d')]?_0x32262e[_0x44b8('0x9d')]:'-'};};String[_0x44b8('0xb')][_0x44b8('0x1b2')]=function(_0x366cec,_0x5d70fd){return this[_0x44b8('0x9c')](_0x366cec)[_0x44b8('0x1b3')](_0x5d70fd);};module['exports']=AGIVertices;
\ No newline at end of file
+var _0xec39=['getSmsAccount','getSmsAccountById','createSmsMessage','label','agicommand','arg_1','callerid','createSquareRecording','calleridname','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','isNil','callback_','random','lastName','phone','list_id','Callback\x20scheduled\x20at\x20','scheduledAt','callback_priority','getPause','agentPause','agent','uniqueid','agentLogout','agentLogin','internal','format','%s/%s@from-sip/n','LOCAL','exec','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','MALE','audioEncoding','googleTTS','google_tts_language','url','method','timeout','number','includes','PUT','toUpperCase','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','rawHeaders','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','uri','render','stringify','body','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','dialogflowV2_project_id','client_email','dialogflowV2_language','ispeechTTS','ispeech_tts_language','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_polly_voice','Amy','aws_text_type','awsLex','aws_secret_access_key','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appsecret','clear','clone','hasOwnProperty','isString','replaceObjectAllVariables','recursiveNodeIndex','isPlainObject','isArray','length','saveRestApiResult','%s.%s','setVariable','replaceAllVariables','split','replaceAll','getVariable','toString','getAndSetVariable','sync','retry','maxRetry','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','noop','no\x20text\x20configured','MRCPSynth','result','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','no\x20grammar\x20configured','grammar','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','callback','no\x20list\x20selected','delay','add','minutes','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','getSquareOdbc','query:\x20%s','getQueryOdbc','createSquareDetailsReport','variable_id','forEach','%s[%s][%s]','dial','debug','sip_id','no\x20user\x20selected','no\x20user\x20found','SIP/%s','opts','Executed\x20command\x20%s','DIAL','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','bot','Trying\x20Dialogflow:\x20%s','speech','out','Dialogflow\x20is\x20unreachable','dialogflowV2','no\x20project_id\x20configured','no\x20client_email\x20configured','private_key','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','DIALOGFLOW_%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','no\x20username\x20configured','password','ndassistant_url','Trying\x20SestekNDA:\x20%s','Sestek\x20NDA\x20%s\x20file\x20created','audiofile','streamFile','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','file_id','no\x20file\x20audio\x20selected','getData','response','test','mindigit','no\x20variable\x20found','hiddendigitsnum','generate','hiddendigitspos','first','substr','getsecretdigits','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','goalname','GOAL\x20%s','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','Amazon\x20Lex\x20ready\x20for\x20fulfillment','Amazon\x20Lex\x20Result\x20%s','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','no\x20key\x20configured','wav','%s/recordings/%s','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','no\x20appid\x20configured','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','continueAt','context','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','true','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','no\x20interval\x20configured','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','extra','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','beep','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeechtts','Trying\x20ispeech\x20TTS\x20%s','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','findBy','no\x20find\x20by\x20configured','AGENT\x20%s\x20FOUND\x20BY','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','FIND\x20AGENT\x20%s\x20BY\x20%s','success','math','math\x20%s','operation','no\x20variable\x20selected\x20for\x20the\x20result','%s[%s]','Enter\x20in\x20MENU\x20(%s)\x20block','no\x20file\x20audio\x20found','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','Executed\x20command\x20%s\x20%s','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','no\x20queue\x20found','indexOf','toLowerCase','QUEUE','macro','gosub','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','statusMessage','variable\x20%s\x20set','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','account_id','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','user','subject','Trying\x20SendMail\x20with\x20account\x20%s','Mail\x20message\x20added\x20to\x20outgoing\x20process','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','XMCS-UNIQUEID','yes','Answer','Skipped\x20Answer','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','no\x20subproject\x20selected','no\x20subproject\x20found\x20with\x20id\x20%d','project_id','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','127.0.0.1','system','Enter\x20in\x20SYSTEM\x20(%s)\x20block','sh\x20command:\x20%s\x20result\x20no\x20stored','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','agentUnpause','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','no\x20variable\x20selected','join','exports','util','lodash','shelljs','odbc','randomstring','moment','mustache','../../config/logger','agi','../../config/environment','rawBody','menu','getdigits','channel','rpc','mailRpc','prototype','getVariableById','then','name','getVoiceQueue','getVoiceQueueById','catch','getSquareProject','dsn','getUser','getUserById','getTrunk','getTrunkById','getSound','getSoundById','getSoundPath','save_name','getMailAccount','getMailAccountById','sendMailMessage','getIntervals','getIntervalById','IntervalId','interval','map','Intervals','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','ODBC\x20connection\x20successfully','query','Query\x20executed\x20correctly\x20%s','close','Error\x20closing\x20connection\x20to\x20odbc\x20%s'];(function(_0xef34c5,_0xd17a9d){var _0x1de207=function(_0x3e8169){while(--_0x3e8169){_0xef34c5['push'](_0xef34c5['shift']());}};_0x1de207(++_0xd17a9d);}(_0xec39,0x19f));var _0x9ec3=function(_0x5e980c,_0x4d4656){_0x5e980c=_0x5e980c-0x0;var _0x31100a=_0xec39[_0x5e980c];return _0x31100a;};'use strict';var fs=require('fs');var util=require(_0x9ec3('0x0'));var _=require(_0x9ec3('0x1'));var sh=require(_0x9ec3('0x2'));var odbc=require(_0x9ec3('0x3'))();var rs=require(_0x9ec3('0x4'));var moment=require(_0x9ec3('0x5'));var Mustache=require(_0x9ec3('0x6'));var rp=require('request-promise');var logger=require(_0x9ec3('0x7'))(_0x9ec3('0x8'));var config=require(_0x9ec3('0x9'));var scripts=require('./scripts');var FILES_PATH='/var/opt/motion2/server/files';var recursiveMapAttributes=['rawHeaders',_0x9ec3('0xa')];var verticesWithRetry=[_0x9ec3('0xb'),_0x9ec3('0xc'),'getsecretdigits'];var AGIVertices=function(_0x570a91,_0xb10fef,_0x2e49f3){this[_0x9ec3('0xd')]=_0x570a91;this[_0x9ec3('0xe')]=_0xb10fef;this[_0x9ec3('0xf')]=_0x2e49f3;};AGIVertices[_0x9ec3('0x10')]['getVariable']=function(_0x1a0555,_0xaa1307){this[_0x9ec3('0xe')][_0x9ec3('0x11')](_0x1a0555)[_0x9ec3('0x12')](function(_0x18ef85){_0xaa1307(null,_0x18ef85?_0x18ef85[_0x9ec3('0x13')]:![]);})['catch'](function(_0x2790dc){_0xaa1307(_0x2790dc);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x14')]=function(_0x4bb1b3,_0x2b9f69){this['rpc'][_0x9ec3('0x15')](_0x4bb1b3)[_0x9ec3('0x12')](function(_0xcbb897){_0x2b9f69(null,_0xcbb897?_0xcbb897[_0x9ec3('0x13')]:![]);})[_0x9ec3('0x16')](function(_0x2c0ad5){_0x2b9f69(_0x2c0ad5);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x17')]=function(_0x453010,_0x58dd6f){this[_0x9ec3('0xe')]['getSquareProjectById'](_0x453010)['then'](function(_0x2ae9bd){_0x58dd6f(null,_0x2ae9bd?_0x2ae9bd[_0x9ec3('0x13')]:![]);})[_0x9ec3('0x16')](function(_0xa3bade){_0x58dd6f(_0xa3bade);});};AGIVertices[_0x9ec3('0x10')]['getSquareOdbc']=function(_0x16e34d,_0x4a413c){this[_0x9ec3('0xe')]['getSquareOdbcById'](_0x16e34d)[_0x9ec3('0x12')](function(_0x28e31f){_0x4a413c(null,_0x28e31f?_0x28e31f[_0x9ec3('0x18')]:![]);})['catch'](function(_0x70227a){_0x4a413c(_0x70227a);});};AGIVertices['prototype'][_0x9ec3('0x19')]=function(_0x4a8c62,_0xcb54c){this[_0x9ec3('0xe')][_0x9ec3('0x1a')](_0x4a8c62)[_0x9ec3('0x12')](function(_0x36f64c){_0xcb54c(null,_0x36f64c?_0x36f64c[_0x9ec3('0x13')]:![]);})[_0x9ec3('0x16')](function(_0x5efa81){_0xcb54c(_0x5efa81);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1b')]=function(_0x484891,_0x3b11db){this[_0x9ec3('0xe')][_0x9ec3('0x1c')](_0x484891)[_0x9ec3('0x12')](function(_0x4782c9){_0x3b11db(null,_0x4782c9?_0x4782c9[_0x9ec3('0x13')]:![]);})[_0x9ec3('0x16')](function(_0xb99216){_0x3b11db(_0xb99216);});};AGIVertices['prototype'][_0x9ec3('0x1d')]=function(_0x2c9e39,_0x30abfb){var _0x1fd911=this;this['rpc'][_0x9ec3('0x1e')](_0x2c9e39)[_0x9ec3('0x12')](function(_0x141149){_0x30abfb(null,_0x141149?_0x1fd911[_0x9ec3('0x1f')](_0x141149[_0x9ec3('0x20')]):![]);})[_0x9ec3('0x16')](function(_0x3d67be){_0x30abfb(_0x3d67be);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x21')]=function(_0x15a602,_0xe21f81){this[_0x9ec3('0xe')][_0x9ec3('0x22')](_0x15a602)[_0x9ec3('0x12')](function(_0x2b7113){_0xe21f81(null,_0x2b7113?_0x2b7113:![]);})[_0x9ec3('0x16')](function(_0x2f4224){_0xe21f81(_0x2f4224);});};AGIVertices['prototype']['sendMailMessage']=function(_0x4c50fd,_0x1e86a7,_0x3c18a7){this[_0x9ec3('0xf')][_0x9ec3('0x23')](_0x4c50fd,_0x1e86a7)[_0x9ec3('0x12')](function(){_0x3c18a7(null);})[_0x9ec3('0x16')](function(_0x2891fc){_0x3c18a7(_0x2891fc);});};AGIVertices['prototype'][_0x9ec3('0x24')]=function(_0x22910c,_0x1f8962){this['rpc'][_0x9ec3('0x25')](_0x22910c)[_0x9ec3('0x12')](function(_0x5bb3db){if(_0x5bb3db){if(_0x5bb3db[_0x9ec3('0x26')]){_0x1f8962(null,[_0x5bb3db[_0x9ec3('0x27')]]);}else{_0x1f8962(null,_[_0x9ec3('0x28')](_0x5bb3db[_0x9ec3('0x29')],_0x9ec3('0x27')));}}else{_0x1f8962(null,![]);}})[_0x9ec3('0x16')](function(_0x29103d){_0x1f8962(_0x29103d);});};AGIVertices['prototype'][_0x9ec3('0x1f')]=function(_0x32581e){return util['format']('%s/sounds/converted/%s',FILES_PATH,_0x32581e);};AGIVertices[_0x9ec3('0x10')]['getQueryOdbc']=function(_0x338298,_0x1bd8a0,_0x1b9704){odbc[_0x9ec3('0x2a')](_0x338298,function(_0x57e954){if(_0x57e954){logger[_0x9ec3('0x2b')](_0x9ec3('0x2c'),_0x57e954);_0x1b9704(_0x57e954);}else{logger[_0x9ec3('0x2d')](_0x9ec3('0x2e'));odbc[_0x9ec3('0x2f')](_0x1bd8a0,function(_0x149bf1,_0x51a6ad){if(_0x149bf1){logger['info']('Error\x20executing\x20query\x20%s',_0x1bd8a0);_0x1b9704(_0x149bf1);}else{logger[_0x9ec3('0x2d')](_0x9ec3('0x30'),_0x1bd8a0);odbc[_0x9ec3('0x31')](function(_0x2ab229){if(_0x2ab229){logger[_0x9ec3('0x2b')](_0x9ec3('0x32'),_0x2ab229);}_0x1b9704(null,_0x51a6ad);});}});}});};AGIVertices['prototype'][_0x9ec3('0x33')]=function(_0x4241b1,_0x58ed33){this[_0x9ec3('0xe')][_0x9ec3('0x34')](_0x4241b1)[_0x9ec3('0x12')](function(_0x2bafea){_0x58ed33(null,_0x2bafea?_0x2bafea:![]);})['catch'](function(_0xc41a94){_0x58ed33(_0xc41a94);});};AGIVertices['prototype'][_0x9ec3('0x35')]=function(_0x3f6cbe,_0x3d16ce){this[_0x9ec3('0xe')][_0x9ec3('0x35')](_0x3f6cbe)['then'](function(_0x5ef1dc){_0x3d16ce(null,_0x5ef1dc);})[_0x9ec3('0x16')](function(_0x512e5c){_0x3d16ce(_0x512e5c);});};AGIVertices[_0x9ec3('0x10')]['createSquareDetailsReport']=function(_0x3d54e4,_0x4e279c,_0x14b1f1){this[_0x9ec3('0xe')]['createSquareDetailsReport']({'uniqueid':this[_0x9ec3('0xd')]['uniqueid'],'node':_0x3d54e4[_0x9ec3('0x36')],'application':_0x3d54e4[_0x9ec3('0x37')],'data':_0x4e279c||null,'project_name':this['channel'][_0x9ec3('0x38')],'callerid':this[_0x9ec3('0xd')][_0x9ec3('0x39')]})['then'](function(_0x42347e){if(_0x14b1f1){_0x14b1f1(null,_0x42347e);}})[_0x9ec3('0x16')](function(_0x551be3){if(_0x14b1f1){_0x14b1f1(_0x551be3);}});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x3a')]=function(_0x341b8d,_0xc0900b,_0x46ad5f,_0xd2b4a7){this[_0x9ec3('0xe')][_0x9ec3('0x3a')]({'uniqueid':this['channel']['uniqueid'],'callerid':this[_0x9ec3('0xd')][_0x9ec3('0x39')],'calleridname':this['channel'][_0x9ec3('0x3b')],'context':this[_0x9ec3('0xd')]['context'],'extension':this[_0x9ec3('0xd')][_0x9ec3('0x3c')],'priority':this[_0x9ec3('0xd')][_0x9ec3('0x3d')],'accountcode':this[_0x9ec3('0xd')][_0x9ec3('0x3e')],'dnid':this[_0x9ec3('0xd')][_0x9ec3('0x3f')],'projectName':this[_0x9ec3('0xd')][_0x9ec3('0x38')],'saveName':_0xc0900b,'filename':_0x341b8d[_0x9ec3('0x40')]||_0xc0900b,'savePath':_0x46ad5f})[_0x9ec3('0x12')](function(_0x284088){_0xd2b4a7(null,_0x284088);})['catch'](function(_0x60ac46){_0xd2b4a7(_0x60ac46);});};AGIVertices['prototype'][_0x9ec3('0x41')]=function(_0x1e7766,_0x7713b5,_0x58c812,_0x55c7e2,_0x53bb29){this[_0x9ec3('0xe')][_0x9ec3('0x41')]({'uniqueid':this[_0x9ec3('0xd')]['uniqueid'],'body':_0x1e7766,'direction':_0x7713b5,'providerName':_0x58c812,'providerResponse':_0x55c7e2})['then'](function(_0x5d48d1){if(_0x53bb29){_0x53bb29(null,_0x5d48d1);}})[_0x9ec3('0x16')](function(_0x25333a){if(_0x53bb29){_0x53bb29(_0x25333a);}});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x42')]=function(_0x3c837b,_0x38e099){this['rpc'][_0x9ec3('0x42')]({'firstName':_[_0x9ec3('0x43')](_0x3c837b[_0x9ec3('0x13')])||_[_0x9ec3('0x44')](_0x3c837b[_0x9ec3('0x13')])?_0x9ec3('0x45')+Math[_0x9ec3('0x46')]():_0x3c837b[_0x9ec3('0x13')],'lastName':_[_0x9ec3('0x43')](_0x3c837b[_0x9ec3('0x47')])||_[_0x9ec3('0x44')](_0x3c837b['lastName'])?null:_0x3c837b['lastName'],'phone':_0x3c837b[_0x9ec3('0x48')],'ListId':_0x3c837b[_0x9ec3('0x49')],'scheduledat':_0x3c837b['scheduledAt'],'callbackUniqueid':this[_0x9ec3('0xd')]['uniqueid'],'tags':'callback','description':_0x9ec3('0x4a')+_0x3c837b[_0x9ec3('0x4b')]['toString'](),'priority':_0x3c837b[_0x9ec3('0x4c')]})[_0x9ec3('0x12')](function(_0x13e9f1){_0x38e099(null,_0x13e9f1);})[_0x9ec3('0x16')](function(_0x38f161){_0x38e099(_0x38f161);});};AGIVertices['prototype'][_0x9ec3('0x4d')]=function(_0xa3153a,_0x5a8b24){this[_0x9ec3('0xe')]['getPauseById'](_0xa3153a)[_0x9ec3('0x12')](function(_0x1d7b7d){_0x5a8b24(null,_0x1d7b7d?_0x1d7b7d[_0x9ec3('0x13')]:![]);})[_0x9ec3('0x16')](function(_0x18813b){_0x5a8b24(_0x18813b);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x4e')]=function(_0x4d30aa,_0x5baa8c,_0x508c7f){var _0x41bbd7={'role':_0x9ec3('0x4f')};_0x41bbd7[_0x4d30aa]=this[_0x9ec3('0xd')][_0x9ec3('0x39')];this[_0x9ec3('0xe')][_0x9ec3('0x4e')](_0x41bbd7,_0x5baa8c,this[_0x9ec3('0xd')][_0x9ec3('0x50')])[_0x9ec3('0x12')](function(_0x1d41ff){_0x508c7f(null,_[_0x9ec3('0x44')](_0x1d41ff)?![]:!![]);})[_0x9ec3('0x16')](function(_0x1ac7ba){logger[_0x9ec3('0x2b')](_0x1ac7ba);_0x508c7f(null,![]);});};AGIVertices[_0x9ec3('0x10')]['agentUnpause']=function(_0x54fa71,_0x4f96d3){var _0xe85f62={'role':_0x9ec3('0x4f')};_0xe85f62[_0x54fa71]=this[_0x9ec3('0xd')][_0x9ec3('0x39')];this[_0x9ec3('0xe')]['agentUnpause'](_0xe85f62)[_0x9ec3('0x12')](function(_0x4842e0){_0x4f96d3(null,_[_0x9ec3('0x44')](_0x4842e0)?![]:!![]);})[_0x9ec3('0x16')](function(_0x1d0b50){logger[_0x9ec3('0x2b')](_0x1d0b50);_0x4f96d3(null,![]);});};AGIVertices['prototype']['agentLogout']=function(_0x2cf716,_0x5e04f9){var _0x30dc77={'role':_0x9ec3('0x4f')};_0x30dc77[_0x2cf716]=this['channel'][_0x9ec3('0x39')];this['rpc'][_0x9ec3('0x51')](_0x30dc77)[_0x9ec3('0x12')](function(_0x401d93){_0x5e04f9(null,_[_0x9ec3('0x44')](_0x401d93)?![]:!![]);})[_0x9ec3('0x16')](function(_0x56f621){logger['error'](_0x56f621);_0x5e04f9(null,![]);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x52')]=function(_0x333e11,_0x3428d8){var _0x53c877={'role':'agent'};_0x53c877[_0x333e11]=this[_0x9ec3('0xd')][_0x9ec3('0x39')];var _0x16deb9=_0x333e11!=_0x9ec3('0x53')?util[_0x9ec3('0x54')](_0x9ec3('0x55'),_0x9ec3('0x56'),this['channel'][_0x9ec3('0x39')]):undefined;this[_0x9ec3('0xe')]['agentLogin'](_0x53c877,_0x16deb9)[_0x9ec3('0x12')](function(_0x4a1bd7){_0x3428d8(null,_[_0x9ec3('0x44')](_0x4a1bd7)?![]:!![]);})['catch'](function(_0x38506d){logger[_0x9ec3('0x2b')](_0x38506d);_0x3428d8(null,![]);});};AGIVertices[_0x9ec3('0x10')]['shellCommand']=function(_0x4e9f91,_0x379841){sh[_0x9ec3('0x57')](_['trim'](_0x4e9f91),function(_0x2fed2b,_0x299d23){var _0x3f3e2b=_0x299d23[_0x9ec3('0x58')](/(\r\n|\n|\r)/gm,'');_0x379841(null,_0x3f3e2b);});};AGIVertices[_0x9ec3('0x10')]['googleCloudTTS']=function(_0x2bcc6e,_0x27d979){scripts[_0x9ec3('0x59')](_0x2bcc6e[_0x9ec3('0x5a')],_0x2bcc6e[_0x9ec3('0x5b')]||_0x9ec3('0x5c'),_0x2bcc6e[_0x9ec3('0x5c')],_0x2bcc6e[_0x9ec3('0x5d')]||_0x9ec3('0x5e'),_0x2bcc6e[_0x9ec3('0x5f')]||_0x9ec3('0x60'),_0x2bcc6e[_0x9ec3('0x61')]||'MP3')[_0x9ec3('0x12')](function(_0x1d6a70){_0x27d979(null,_0x1d6a70);})['catch'](function(_0x2cc923){_0x27d979(_0x2cc923);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x62')]=function(_0x3d4f76,_0x253876){scripts[_0x9ec3('0x62')](_0x3d4f76[_0x9ec3('0x5c')],_0x3d4f76[_0x9ec3('0x63')]||'en',0x1)[_0x9ec3('0x12')](function(_0x5a147a){_0x253876(null,_0x5a147a);})[_0x9ec3('0x16')](function(_0x5261d0){_0x253876(_0x5261d0);});};AGIVertices['prototype']['restAPI']=function(_0xe1b497,_0x2edfe5){var _0x4881ff={'uri':_0xe1b497[_0x9ec3('0x64')],'method':_0xe1b497[_0x9ec3('0x65')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0xe1b497[_0x9ec3('0x66')])===_0x9ec3('0x67')&&parseInt(_0xe1b497[_0x9ec3('0x66')])>=0x1?parseInt(_0xe1b497[_0x9ec3('0x66')])*0x3e8:0x5*0x3e8};if(_[_0x9ec3('0x68')](['POST',_0x9ec3('0x69')],_0x4881ff[_0x9ec3('0x65')][_0x9ec3('0x6a')]())){try{_0x4881ff['body']=_0xe1b497[_0x9ec3('0xa')]?JSON[_0x9ec3('0x6b')](_0xe1b497[_0x9ec3('0xa')]):{};}catch(_0x15b7ec){logger[_0x9ec3('0x2b')](_0x9ec3('0x6c'),_0x15b7ec);}}try{_0x4881ff[_0x9ec3('0x6d')]=_0xe1b497[_0x9ec3('0x6e')]?JSON[_0x9ec3('0x6b')](_0xe1b497[_0x9ec3('0x6e')]):{};}catch(_0x3e0c77){logger[_0x9ec3('0x2b')](_0x9ec3('0x6f'),_0x3e0c77);}if(_0xe1b497[_0x9ec3('0x70')]){try{var _0xd43828=require(_0xe1b497[_0x9ec3('0x70')])['sync'](this,_0x4881ff);_0x4881ff[_0x9ec3('0x71')]=Mustache[_0x9ec3('0x72')](_0xe1b497[_0x9ec3('0x64')],_0xd43828,{},['$$','$$']);if(_0x4881ff[_0x9ec3('0x6d')]){_0x4881ff[_0x9ec3('0x6d')]=JSON[_0x9ec3('0x6b')](Mustache[_0x9ec3('0x72')](JSON[_0x9ec3('0x73')](_0x4881ff[_0x9ec3('0x6d')]),_0xd43828,{},['$$','$$']));}if(_0x4881ff['body']){_0x4881ff['body']=JSON[_0x9ec3('0x6b')](Mustache[_0x9ec3('0x72')](JSON[_0x9ec3('0x73')](_0x4881ff[_0x9ec3('0x74')]),_0xd43828,{},['$$','$$']));}}catch(_0x274845){logger[_0x9ec3('0x2b')](_0x9ec3('0x75'),_0x274845);}}rp(_0x4881ff)[_0x9ec3('0x12')](function(_0x2ec1a4){var _0x39bfdd={'statusCode':_0x2ec1a4[_0x9ec3('0x76')]||0xc8,'statusMessage':_0x2ec1a4['statusMessage']||'OK','headers':_0x2ec1a4['headers']||{},'body':_0x2ec1a4[_0x9ec3('0x74')]||{}};_0x2edfe5(null,_0x39bfdd);})['catch'](function(_0x15bc09){var _0x5cdec1={'statusCode':_0x15bc09[_0x9ec3('0x76')]||0x1f4,'statusMessage':_0x15bc09[_0x9ec3('0x77')]||_0x9ec3('0x78'),'headers':_0x15bc09['options'][_0x9ec3('0x6d')]||{},'body':_0x15bc09[_0x9ec3('0x79')][_0x9ec3('0x74')]||{}};_0x2edfe5(null,_0x5cdec1);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x7a')]=function(_0x2f0b22,_0x54258d){scripts[_0x9ec3('0x7a')](this['channel'][_0x9ec3('0x50')],_0x2f0b22[_0x9ec3('0x7b')],_0x2f0b22['text'],_0x2f0b22[_0x9ec3('0x7c')]||'en')['then'](function(_0x30e0cd){_0x54258d(null,_0x30e0cd);})[_0x9ec3('0x16')](function(_0x5df3a4){_0x54258d(_0x5df3a4);});};AGIVertices['prototype'][_0x9ec3('0x7d')]=function(_0xc2ba5b,_0x40cb7f){scripts[_0x9ec3('0x7d')](this[_0x9ec3('0xd')][_0x9ec3('0x50')],_0xc2ba5b[_0x9ec3('0x7e')],_0xc2ba5b[_0x9ec3('0x7f')],_0xc2ba5b['private_key'],_0xc2ba5b[_0x9ec3('0x5c')],_0xc2ba5b[_0x9ec3('0x80')]||'en')['then'](function(_0x1a760f){_0x40cb7f(null,_0x1a760f);})[_0x9ec3('0x16')](function(_0x4f2584){_0x40cb7f(_0x4f2584);});};AGIVertices[_0x9ec3('0x10')]['sestekNDA']=function(_0x839158,_0x5f2bcf){scripts['sestekNDA'](this[_0x9ec3('0xd')],_0x839158)[_0x9ec3('0x12')](function(_0x39339e){_0x5f2bcf(null,_0x39339e);})[_0x9ec3('0x16')](function(_0x586cc5){_0x5f2bcf(_0x586cc5);});};AGIVertices['prototype'][_0x9ec3('0x81')]=function(_0x56feee,_0x4485de){scripts[_0x9ec3('0x81')](_0x56feee['key'],_0x56feee['text'],_0x56feee[_0x9ec3('0x82')]||_0x9ec3('0x5e'),_0x56feee[_0x9ec3('0x83')])[_0x9ec3('0x12')](function(_0x3ceb8d){_0x4485de(null,_0x3ceb8d);})['catch'](function(_0x472e62){_0x4485de(_0x472e62);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x84')]=function(_0x3cb91d,_0x5cc4ee,_0x540df8){scripts[_0x9ec3('0x84')](_0x5cc4ee,_0x3cb91d[_0x9ec3('0x7b')],_0x3cb91d[_0x9ec3('0x85')]||_0x9ec3('0x5e'),this[_0x9ec3('0x86')](_0x3cb91d[_0x9ec3('0x87')])?_0x3cb91d['model']:undefined)[_0x9ec3('0x12')](function(_0x55c74e){_0x540df8(null,_0x55c74e);})[_0x9ec3('0x16')](function(_0x4216c8){_0x540df8(_0x4216c8);});};AGIVertices['prototype'][_0x9ec3('0x88')]=function(_0x1d36a7,_0x4fadc3){scripts[_0x9ec3('0x88')](_0x1d36a7[_0x9ec3('0x89')],_0x1d36a7['aws_secret_access_key'],_0x1d36a7['aws_polly_region'],_0x1d36a7[_0x9ec3('0x8a')]||_0x9ec3('0x8b'),_0x1d36a7[_0x9ec3('0x5c')],_0x1d36a7[_0x9ec3('0x8c')]||'text')[_0x9ec3('0x12')](function(_0x48c901){_0x4fadc3(null,_0x48c901);})[_0x9ec3('0x16')](function(_0x20bde9){_0x4fadc3(_0x20bde9);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x8d')]=function(_0x59b75e,_0x1f4137){scripts['awsLex'](this[_0x9ec3('0xd')]['uniqueid'],_0x59b75e[_0x9ec3('0x89')],_0x59b75e[_0x9ec3('0x8e')],_0x59b75e[_0x9ec3('0x8f')],_0x59b75e['text'],_0x59b75e[_0x9ec3('0x90')])['then'](function(_0x4b9178){_0x1f4137(null,_0x4b9178);})[_0x9ec3('0x16')](function(_0xd8dca8){_0x1f4137(_0xd8dca8);});};AGIVertices['prototype'][_0x9ec3('0x91')]=function(_0x491c73,_0x1608b7,_0x122853){scripts[_0x9ec3('0x91')](_0x1608b7,_0x491c73[_0x9ec3('0x7b')],_0x491c73[_0x9ec3('0x92')]||_0x9ec3('0x5e'))[_0x9ec3('0x12')](function(_0x39a344){_0x122853(null,_0x39a344);})[_0x9ec3('0x16')](function(_0x3386a6){_0x122853(_0x3386a6);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x93')]=function(_0x5ab726,_0x3e7b12,_0xde6002){scripts[_0x9ec3('0x93')](_0x3e7b12,_0x5ab726['appid'],_0x5ab726[_0x9ec3('0x94')],_0x5ab726['uri'])['then'](function(_0x5c47a0){_0xde6002(null,_0x5c47a0);})['catch'](function(_0x4571b6){_0xde6002(_0x4571b6);});};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x95')]=function(_0x1abda8){var _0x41f8e5=_[_0x9ec3('0x68')](verticesWithRetry,_0x1abda8['agicommand'])?_0x1abda8:_[_0x9ec3('0x96')](_0x1abda8);for(var _0x1b31d0 in _0x41f8e5){if(_0x41f8e5[_0x9ec3('0x97')](_0x1b31d0)){if(_0x41f8e5[_0x1b31d0]&&_[_0x9ec3('0x98')](_0x41f8e5[_0x1b31d0])){if(_[_0x9ec3('0x68')](recursiveMapAttributes,_0x1b31d0)){_0x41f8e5[_0x1b31d0]=this[_0x9ec3('0x99')](_0x41f8e5[_0x1b31d0]);}else{_0x41f8e5[_0x1b31d0]=this['replaceAllVariables'](_0x41f8e5[_0x1b31d0]);}}}}return _0x41f8e5;};AGIVertices['prototype'][_0x9ec3('0x9a')]=function(_0x2a3493){for(var _0x4ce718 in _0x2a3493){if(_0x2a3493[_0x9ec3('0x97')](_0x4ce718)){if(_[_0x9ec3('0x9b')](_0x2a3493[_0x4ce718])){this[_0x9ec3('0x9a')](_0x2a3493[_0x4ce718]);}else if(_[_0x9ec3('0x9c')](_0x2a3493[_0x4ce718])){for(var _0x311661=0x0;_0x311661<_0x2a3493[_0x4ce718][_0x9ec3('0x9d')];_0x311661++){this[_0x9ec3('0x9a')](_0x2a3493[_0x4ce718][_0x311661]);}}else if(_[_0x9ec3('0x98')](_0x2a3493[_0x4ce718])){_0x2a3493[_0x4ce718]=this['replaceAllVariables'](_0x2a3493[_0x4ce718]);}}}};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x9e')]=function(_0x129ffe,_0x2afa71){for(var _0x465fce in _0x129ffe){if(_0x129ffe[_0x9ec3('0x97')](_0x465fce)){if(_[_0x9ec3('0x9b')](_0x129ffe[_0x465fce])){if(!_[_0x9ec3('0x43')](_0x129ffe[_0x465fce])){this[_0x9ec3('0x9e')](_0x129ffe[_0x465fce],util[_0x9ec3('0x54')]('%s.%s',_0x2afa71,_0x465fce));}}else if(_[_0x9ec3('0x9c')](_0x129ffe[_0x465fce])){for(var _0x21da07=0x0;_0x21da07<_0x129ffe[_0x465fce][_0x9ec3('0x9d')];_0x21da07++){this[_0x9ec3('0x9e')](_0x129ffe[_0x465fce][_0x21da07],util[_0x9ec3('0x54')](_0x9ec3('0x9f'),_0x2afa71,_0x465fce+'['+_0x21da07+']'));}}else{if(!_[_0x9ec3('0x44')](_0x129ffe[_0x465fce])){this['channel'][_0x9ec3('0xa0')](util[_0x9ec3('0x54')](_0x9ec3('0x9f'),_0x2afa71,_0x465fce),_0x129ffe[_0x465fce]);}}}}};AGIVertices['prototype'][_0x9ec3('0x99')]=function(_0x240a88){try{var _0x4ddd4f=JSON[_0x9ec3('0x6b')](_0x240a88);this[_0x9ec3('0x9a')](_0x4ddd4f);return JSON[_0x9ec3('0x73')](_0x4ddd4f);}catch(_0x29e21a){return this['replaceAllVariables'](_0x240a88);}};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xa1')]=function(_0x537330){var _0x1900a6=_0x537330[_0x9ec3('0xa2')]('{');for(var _0x1a0575=0x1;_0x1a0575<_0x1900a6[_0x9ec3('0x9d')];_0x1a0575+=0x1){var _0x266d3c=_0x1900a6[_0x1a0575]['split']('}');if(_0x266d3c[_0x9ec3('0x9d')]>0x1){_0x537330=_0x537330[_0x9ec3('0xa3')]('{'+_0x266d3c[0x0]+'}',this[_0x9ec3('0xd')][_0x9ec3('0xa4')](_0x266d3c[0x0])['extra']||_0x266d3c[0x0]);}}if(_0x1900a6[_0x9ec3('0x9d')]===0x1){return _0x537330[_0x9ec3('0xa5')]();}return this[_0x9ec3('0xa1')](_0x537330);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xa6')]=function(_0x4c7054,_0x3eec3e){var _0x50980d=this[_0x9ec3('0xd')][_0x9ec3('0xa4')](_0x4c7054);if(_0x50980d['result']===-0x1){return _0x50980d;}logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s',_0x3eec3e,_0x50980d['extra']));return this[_0x9ec3('0xd')][_0x9ec3('0xa0')](_0x3eec3e,_0x50980d['extra']);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x86')]=function(_0x16bdf1){return _0x16bdf1&&_0x16bdf1!=='0'&&_0x16bdf1!=='-1'&&_0x16bdf1!=='';};AGIVertices[_0x9ec3('0x10')]['maxRetry']=function(_0x158a3a){this['createSquareDetailsReport'][_0x9ec3('0xa7')](this,_0x158a3a,'-');_0x158a3a[_0x9ec3('0xa8')]=_0x158a3a[_0x9ec3('0xa9')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x9ec3('0x10')]['mrcpsynth']=function(_0x12ccca){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xaa'),_0x12ccca[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x12ccca[_0x9ec3('0x5c')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}var _0x2ab6b1='\x22'+_0x12ccca[_0x9ec3('0x5c')]+'\x22';if(this[_0x9ec3('0x86')](_0x12ccca[_0x9ec3('0x79')])){_0x2ab6b1+=','+_0x12ccca[_0x9ec3('0x79')];}var _0x1fc8e5=this['channel'][_0x9ec3('0x57')](_0x9ec3('0xad'),_0x2ab6b1);if(_0x1fc8e5[_0x9ec3('0xae')]===-0x1){return _0x1fc8e5;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util['format'](_0x9ec3('0xaf'),_0x2ab6b1));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xb0')]=function(_0x226558){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xb1'),_0x226558['label']));if(!this[_0x9ec3('0x86')](_0x226558['grammar'])){return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0xb2'));}var _0x29b75e=_0x226558[_0x9ec3('0xb3')];if(this[_0x9ec3('0x86')](_0x226558[_0x9ec3('0x79')])){_0x29b75e+=','+_0x226558[_0x9ec3('0x79')];}var _0x26665b=this['channel'][_0x9ec3('0x57')](_0x9ec3('0xb4'),_0x29b75e);if(_0x26665b[_0x9ec3('0xae')]===-0x1){return _0x26665b;}var _0x25d32e=this[_0x9ec3('0xa6')](_0x9ec3('0xb5'),_0x9ec3('0xb6'));if(_0x25d32e[_0x9ec3('0xae')]===-0x1){return _0x25d32e;}var _0xff2974=this[_0x9ec3('0xa6')](_0x9ec3('0xb7'),_0x9ec3('0xb8'));if(_0xff2974[_0x9ec3('0xae')]===-0x1){return _0xff2974;}var _0x4bcaee=this[_0x9ec3('0xa6')](_0x9ec3('0xb9'),_0x9ec3('0xba'));if(_0x4bcaee[_0x9ec3('0xae')]===-0x1){return _0x4bcaee;}return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0xbb'),_0x29b75e));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x8')]=function(_0x26db44){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0xbc'),_0x26db44[_0x9ec3('0x36')]));return this['channel']['agi']([_0x26db44[_0x9ec3('0xbd')],_0x26db44[_0x9ec3('0xbe')]]);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xbf')]=function(_0xf7e31e){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0xc0'),_0xf7e31e[_0x9ec3('0x36')]));if(this[_0x9ec3('0x86')](_0xf7e31e[_0x9ec3('0x66')])){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0xc1'),_0xf7e31e['timeout']));var _0x2f7884=this[_0x9ec3('0xd')][_0x9ec3('0xc2')](_0xf7e31e['timeout']);if(_0x2f7884[_0x9ec3('0xae')]===-0x1){return _0x2f7884;}}return this[_0x9ec3('0xd')][_0x9ec3('0xbf')]();};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xc3')]=function(_0x56943b){logger[_0x9ec3('0x2d')](util['format']('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x56943b[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x56943b[_0x9ec3('0x49')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x56943b,_0x9ec3('0xc4'));}_0x56943b[_0x9ec3('0x4b')]=moment();if(this[_0x9ec3('0x86')](_0x56943b[_0x9ec3('0xc5')])){_0x56943b[_0x9ec3('0x4b')]=moment()[_0x9ec3('0xc6')](_0x56943b[_0x9ec3('0xc5')],_0x9ec3('0xc7'));}if(!this[_0x9ec3('0x86')](_0x56943b[_0x9ec3('0x4c')])){_0x56943b['callback_priority']=0x2;}this['createCmContact'][_0x9ec3('0xa7')](this,_0x56943b);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util['format']('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0x56943b[_0x9ec3('0x48')],_0x56943b[_0x9ec3('0x49')],_0x56943b[_0x9ec3('0x4b')]));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xc8')]=function(_0x4a838f){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xc9'),_0x4a838f[_0x9ec3('0x36')]));var _0x141034=this[_0x9ec3('0xd')][_0x9ec3('0x57')](_0x4a838f[_0x9ec3('0xca')],_0x4a838f[_0x9ec3('0x79')]);if(_0x141034[_0x9ec3('0xae')]===-0x1){return _0x141034;}return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('Executed\x20command\x20%s\x20%s',_0x4a838f['application'],_0x4a838f[_0x9ec3('0x79')]));};AGIVertices[_0x9ec3('0x10')]['lumenvoxtts']=function(_0x5ae9a9){logger[_0x9ec3('0x2d')](util['format']('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x5ae9a9[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x5ae9a9[_0x9ec3('0x5c')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')]('no\x20text\x20configured');}var _0x13ed62='\x22'+_0x5ae9a9[_0x9ec3('0x5c')]+'\x22';if(this[_0x9ec3('0x86')](_0x5ae9a9['options'])){_0x13ed62+=','+_0x5ae9a9[_0x9ec3('0x79')];}var _0x44d37d=this[_0x9ec3('0xd')][_0x9ec3('0x57')]('MRCPSynth',_0x13ed62);if(_0x44d37d['result']===-0x1){return _0x44d37d;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0xaf'),_0x13ed62));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xcb')]=function(_0xa500f5){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xcc'),_0xa500f5[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0xa500f5['text'])){return this[_0x9ec3('0xd')]['noop']('no\x20text\x20configured');}var _0x145895='\x22'+_0xa500f5[_0x9ec3('0x5c')]+'\x22';if(this[_0x9ec3('0x86')](_0xa500f5[_0x9ec3('0x79')])){_0x145895+=','+_0xa500f5['options'];}var _0x1ea438=this[_0x9ec3('0xd')]['exec']('MRCPSynth',_0x145895);if(_0x1ea438[_0x9ec3('0xae')]===-0x1){return _0x1ea438;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('Executed\x20command\x20MRCPSynth\x20%s',_0x145895));};AGIVertices[_0x9ec3('0x10')]['lumenvoxasr']=function(_0x29e6cd){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xcd'),_0x29e6cd['label']));if(!this[_0x9ec3('0x86')](_0x29e6cd[_0x9ec3('0xb3')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xb2'));}var _0x27f467=_0x29e6cd[_0x9ec3('0xb3')];if(this[_0x9ec3('0x86')](_0x29e6cd[_0x9ec3('0x79')])){_0x27f467+=','+_0x29e6cd[_0x9ec3('0x79')];}var _0x482df8=this['channel'][_0x9ec3('0x57')](_0x9ec3('0xb4'),_0x27f467);if(_0x482df8[_0x9ec3('0xae')]===-0x1){return _0x482df8;}var _0x2d3033=this['getAndSetVariable']('RECOG_CONFIDENCE()',_0x9ec3('0xce'));if(_0x2d3033[_0x9ec3('0xae')]===-0x1){return _0x2d3033;}var _0x14b172=this['getAndSetVariable'](_0x9ec3('0xb7'),_0x9ec3('0xcf'));if(_0x14b172[_0x9ec3('0xae')]===-0x1){return _0x14b172;}var _0x55039d=this[_0x9ec3('0xa6')](_0x9ec3('0xb9'),'LUMENVOX_ASR_INSTANCE');if(_0x55039d['result']===-0x1){return _0x55039d;}return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0xbb'),_0x27f467));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xd0')]=function(_0x4c8c59){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xd1'),_0x4c8c59[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x4c8c59[_0x9ec3('0xb3')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xb2'));}var _0x465257=_0x4c8c59[_0x9ec3('0xb3')];if(this[_0x9ec3('0x86')](_0x4c8c59[_0x9ec3('0x79')])){_0x465257+=','+_0x4c8c59[_0x9ec3('0x79')];}var _0x40a753=this[_0x9ec3('0xd')][_0x9ec3('0x57')](_0x9ec3('0xb4'),_0x465257);if(_0x40a753[_0x9ec3('0xae')]===-0x1){return _0x40a753;}var _0x3b3d76=this[_0x9ec3('0xa6')](_0x9ec3('0xb5'),_0x9ec3('0xd2'));if(_0x3b3d76[_0x9ec3('0xae')]===-0x1){return _0x3b3d76;}var _0x59aa74=this['getAndSetVariable'](_0x9ec3('0xb7'),'SESTEK_ASR_TRANSCRIPT');if(_0x59aa74[_0x9ec3('0xae')]===-0x1){return _0x59aa74;}var _0x5e30f8=this[_0x9ec3('0xa6')]('RECOG_INSTANCE()',_0x9ec3('0xd3'));if(_0x5e30f8['result']===-0x1){return _0x5e30f8;}return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('Executed\x20command\x20MRCPRecog\x20%s',_0x465257));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xd4')]=function(_0x12eab9){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xd5'),_0x12eab9[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x12eab9[_0x9ec3('0xd6')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x12eab9,_0x9ec3('0xd7'));}var _0x1b6720=this[_0x9ec3('0xd8')][_0x9ec3('0xa7')](this,_0x12eab9[_0x9ec3('0xd6')]);if(!_0x1b6720){return this['channel'][_0x9ec3('0x2b')](_0x12eab9,'no\x20odbc\x20database\x20found');}if(!this['isConfigured'](_0x12eab9[_0x9ec3('0x2f')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x12eab9,'no\x20query\x20configured');}var _0x22e517=_0x12eab9[_0x9ec3('0x2f')][_0x9ec3('0x58')](/(\r\n|\n|\r)/gm,'\x20');this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0xd9'),_0x22e517));var _0x57313b=this[_0x9ec3('0xda')][_0x9ec3('0xa7')](this,_0x1b6720,_0x22e517);this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x12eab9,_0x22e517);if(!this[_0x9ec3('0x86')](_0x12eab9[_0x9ec3('0xdc')])){return this[_0x9ec3('0xd')]['noop']('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x2ecb7c=this[_0x9ec3('0xa4')]['sync'](this,_0x12eab9[_0x9ec3('0xdc')]);if(!_0x2ecb7c){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x12eab9,'no\x20variable\x20found');}var _0x121331=this;_0x57313b[_0x9ec3('0xdd')](function(_0x252d62,_0x48abe0){Object['keys'](_0x252d62)[_0x9ec3('0xdd')](function(_0x1e1165){_0x121331[_0x9ec3('0xd')]['setVariable'](util['format'](_0x9ec3('0xde'),_0x2ecb7c,_0x48abe0,_0x1e1165),_0x252d62[_0x1e1165]);});});this['channel'][_0x9ec3('0xa0')](util[_0x9ec3('0x54')]('%s_ROWS_COUNT',_0x2ecb7c),_0x57313b[_0x9ec3('0x9d')]);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('variable\x20%s\x20set',_0x2ecb7c));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xdf')]=function(_0x379199){logger[_0x9ec3('0xe0')](util[_0x9ec3('0x54')]('Enter\x20in\x20DIAL\x20(%s)\x20block',_0x379199['label']));if(!this[_0x9ec3('0x86')](_0x379199[_0x9ec3('0xe1')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x379199,_0x9ec3('0xe2'));}var _0x3090e9=this[_0x9ec3('0x19')][_0x9ec3('0xa7')](this,_0x379199['sip_id']);if(!_0x3090e9){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x379199,_0x9ec3('0xe3'));}var _0x2e65cf=this[_0x9ec3('0xd')][_0x9ec3('0x57')]('DIAL',[util[_0x9ec3('0x54')](_0x9ec3('0xe4'),_0x3090e9),_0x379199[_0x9ec3('0x66')],_0x379199[_0x9ec3('0xe5')],_0x379199[_0x9ec3('0x64')]]);if(_0x2e65cf[_0x9ec3('0xae')]===-0x1){return _0x2e65cf;}return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0xe6'),_0x9ec3('0xe7')));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xe8')]=function(_0xd10e34){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xe9'),_0xd10e34['label']));if(!this[_0x9ec3('0x86')](_0xd10e34[_0x9ec3('0x7b')])){return this[_0x9ec3('0xd')]['noop']('no\x20key\x20configured');}if(!this[_0x9ec3('0x86')](_0xd10e34[_0x9ec3('0x5c')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this[_0x9ec3('0xd')][_0x9ec3('0xea')]=!![];this[_0x9ec3('0xdb')](_0xd10e34);this[_0x9ec3('0x41')](_0xd10e34[_0x9ec3('0x5c')],'in','','');this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0xeb'),_0xd10e34[_0x9ec3('0x5c')]));var _0x16ad23=this[_0x9ec3('0x7a')][_0x9ec3('0xa7')](this,_0xd10e34);if(_0x16ad23){for(var _0xebc4a in _0x16ad23){if(_0x16ad23[_0x9ec3('0x97')](_0xebc4a)){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')]('DIALOGFLOW_%s',_0xebc4a[_0x9ec3('0x6a')]()),_0x16ad23[_0xebc4a]);}}this[_0x9ec3('0x41')](_0x16ad23[_0x9ec3('0xec')],_0x9ec3('0xed'),_0x9ec3('0xe8'),'');return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util['format']('Dialogflow\x20Result\x20%s',_0x16ad23[_0x9ec3('0xec')]));}return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0xd10e34,_0x9ec3('0xee'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xef')]=function(_0x3d6248){logger[_0x9ec3('0x2d')](util['format']('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x3d6248['label']));if(!this[_0x9ec3('0x86')](_0x3d6248[_0x9ec3('0x7e')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xf0'));}if(!this['isConfigured'](_0x3d6248[_0x9ec3('0x7f')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xf1'));}if(!this[_0x9ec3('0x86')](_0x3d6248[_0x9ec3('0xf2')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xf3'));}if(!this[_0x9ec3('0x86')](_0x3d6248[_0x9ec3('0x80')])){return this['channel']['noop'](_0x9ec3('0xf4'));}if(!this[_0x9ec3('0x86')](_0x3d6248[_0x9ec3('0x5c')])){return this['channel']['noop']('no\x20text\x20configured');}this[_0x9ec3('0xd')][_0x9ec3('0xea')]=!![];this[_0x9ec3('0xdb')](_0x3d6248);this[_0x9ec3('0x41')](_0x3d6248[_0x9ec3('0x5c')],'in','','');this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0xf5'),_0x3d6248['text']));var _0x466fa3=this[_0x9ec3('0x7d')][_0x9ec3('0xa7')](this,_0x3d6248);if(_0x466fa3){for(var _0x59cefe in _0x466fa3){if(_0x466fa3[_0x9ec3('0x97')](_0x59cefe)){if(_0x59cefe!==_0x9ec3('0xf6')){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util['format'](_0x9ec3('0xf7'),_0x59cefe[_0x9ec3('0x6a')]()),_0x466fa3[_0x59cefe]);}}}this[_0x9ec3('0x41')](_0x466fa3[_0x9ec3('0xec')],_0x9ec3('0xed'),'dialogflowV2',_0x466fa3[_0x9ec3('0xf6')]);return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')]('DialogflowV2\x20Result\x20%s',_0x466fa3[_0x9ec3('0xec')]));}return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x3d6248,_0x9ec3('0xf8'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xf9')]=function(_0x14b340){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0xfa'),_0x14b340[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x14b340[_0x9ec3('0xfb')])){return this['channel'][_0x9ec3('0xab')](_0x9ec3('0xfc'));}if(!this[_0x9ec3('0x86')](_0x14b340['username'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xfd'));}if(!this[_0x9ec3('0x86')](_0x14b340[_0x9ec3('0xfe')])){return this[_0x9ec3('0xd')]['noop']('no\x20password\x20configured');}if(!this[_0x9ec3('0x86')](_0x14b340[_0x9ec3('0xff')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this[_0x9ec3('0xd')][_0x9ec3('0xea')]=!![];this[_0x9ec3('0xdb')](_0x14b340);this[_0x9ec3('0x41')](_0x14b340['text'],'in','','');this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x100'),_0x14b340[_0x9ec3('0x5c')]));var _0x2e6b2c=this['sestekNDA'][_0x9ec3('0xa7')](this,_0x14b340);if(_0x2e6b2c){for(var _0x5ab381 in _0x2e6b2c){if(_0x2e6b2c[_0x9ec3('0x97')](_0x5ab381)){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')]('SESTEK_NDA_%s',_0x5ab381[_0x9ec3('0x6a')]()),_0x2e6b2c[_0x5ab381]);}}this['createSquareMessage'](_0x2e6b2c['speech'],_0x9ec3('0xed'),_0x9ec3('0xf9'),'');if(_0x2e6b2c['audiofile']){this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x101'),_0x2e6b2c[_0x9ec3('0x102')]));var _0x127863=this[_0x9ec3('0xd')][_0x9ec3('0x103')](_0x2e6b2c['audiofile']);try{fs[_0x9ec3('0x104')](_0x2e6b2c[_0x9ec3('0x102')]+_0x9ec3('0x105'));}catch(_0x526195){logger[_0x9ec3('0x2b')](_0x526195);}return _0x127863;}else{return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x106'),_0x2e6b2c[_0x9ec3('0xec')]));}}return this['channel'][_0x9ec3('0x2b')](_0x14b340,_0x9ec3('0x107'));};AGIVertices['prototype'][_0x9ec3('0x108')]=function(_0x13bb35){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x109'),_0x13bb35[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x108'));};AGIVertices[_0x9ec3('0x10')]['ext_dial']=function(_0x2273f9){logger['info'](util['format'](_0x9ec3('0x10a'),_0x2273f9[_0x9ec3('0x36')]));var _0x48f931='';if(_0x2273f9[_0x9ec3('0x10b')]){if(!this[_0x9ec3('0x86')](_0x2273f9[_0x9ec3('0x10b')])){return this['channel']['error'](_0x2273f9,_0x9ec3('0x10c'));}else{var _0x3b507a=parseInt(_0x2273f9[_0x9ec3('0x10b')],0xa);if(isNaN(_0x3b507a)){_0x48f931=_0x2273f9['trunk_id'];}else{_0x48f931=this[_0x9ec3('0x1b')][_0x9ec3('0xa7')](this,_0x2273f9['trunk_id']);if(!_0x48f931){return this[_0x9ec3('0xd')]['error'](_0x2273f9,_0x9ec3('0x10d'));}}}}else if(_0x2273f9[_0x9ec3('0x10e')]){_0x48f931=_0x2273f9[_0x9ec3('0x10e')];}else{return this[_0x9ec3('0xd')]['error'](_0x2273f9,_0x9ec3('0x10c'));}var _0x4ccbc1=this['channel'][_0x9ec3('0x57')](_0x9ec3('0xe7'),[util[_0x9ec3('0x54')](_0x9ec3('0x10f'),_0x48f931,_0x2273f9[_0x9ec3('0x48')]),_0x2273f9[_0x9ec3('0x66')],_0x2273f9['opts'],_0x2273f9['url']]);if(_0x4ccbc1[_0x9ec3('0xae')]===-0x1){return _0x4ccbc1;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util['format'](_0x9ec3('0xe6'),_0x9ec3('0xe7')));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x110')]=function(_0x467d3f){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x111'),_0x467d3f[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')][_0x9ec3('0xab')]('finally');};AGIVertices['prototype'][_0x9ec3('0xc')]=function(_0x14ad2b){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x112'),_0x14ad2b[_0x9ec3('0x36')]));if(_0x14ad2b['retry']===0x0){return this[_0x9ec3('0xa9')](_0x14ad2b);}_0x14ad2b['retry']-=0x1;if(!this['isConfigured'](_0x14ad2b[_0x9ec3('0x113')])){return this['channel'][_0x9ec3('0x2b')](_0x14ad2b,_0x9ec3('0x114'));}var _0x4f2998=this[_0x9ec3('0x1d')][_0x9ec3('0xa7')](this,_0x14ad2b['file_id']);if(!_0x4f2998){return this[_0x9ec3('0xd')]['error'](_0x14ad2b,'no\x20file\x20audio\x20found');}if(!this[_0x9ec3('0x86')](_0x14ad2b[_0x9ec3('0xdc')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x14a34b=this[_0x9ec3('0xd')][_0x9ec3('0x115')](_0x4f2998,_0x14ad2b[_0x9ec3('0x116')],_0x14ad2b['maxdigit']);var _0x5b5284=_0x14a34b['result']?_0x14a34b[_0x9ec3('0xae')]['toString']():'';logger[_0x9ec3('0x2d')](_0x9ec3('0x117'),JSON[_0x9ec3('0x73')](_0x14a34b));if(_0x14a34b[_0x9ec3('0xae')]===-0x1){this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x14ad2b,_0x5b5284);return _0x14a34b;}else if(_0x14a34b['extra']===_0x9ec3('0x66')){_0x14a34b[_0x9ec3('0xae')]=_0x5b5284['length']>=parseInt(_0x14ad2b[_0x9ec3('0x118')])?'x':'i';}else{_0x14a34b['result']=_0x5b5284[_0x9ec3('0x9d')]>=parseInt(_0x14ad2b[_0x9ec3('0x118')])&&_0x5b5284[_0x9ec3('0x9d')]<=parseInt(_0x14ad2b['maxdigit'])?'x':'i';}var _0x56362b=this[_0x9ec3('0xa4')][_0x9ec3('0xa7')](this,_0x14ad2b[_0x9ec3('0xdc')]);if(!_0x56362b){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x14ad2b,_0x9ec3('0x119'));}this[_0x9ec3('0xd')][_0x9ec3('0xa0')](_0x56362b,_0x5b5284);if(this['isConfigured'](_0x14ad2b[_0x9ec3('0x11a')])){var _0x18f487=parseInt(_0x14ad2b[_0x9ec3('0x11a')],0xa);var _0x4b008e=rs[_0x9ec3('0x11b')]({'charset':'*','length':_0x18f487});var _0x407fca=_0x5b5284[_0x9ec3('0x9d')];if(_0x407fca>0x0){if(_0x407fca>_0x18f487){this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x14ad2b,_0x14ad2b[_0x9ec3('0x11c')]===_0x9ec3('0x11d')?_0x4b008e+_0x5b5284[_0x9ec3('0x11e')](_0x18f487):_0x5b5284[_0x9ec3('0x11e')](0x0,_0x407fca-_0x18f487)+_0x4b008e);}else{this[_0x9ec3('0xdb')]['sync'](this,_0x14ad2b,rs[_0x9ec3('0x11b')]({'charset':'*','length':_0x407fca}));}}else{this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x14ad2b,'');}}else{this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x14ad2b,_0x5b5284);}return _0x14a34b;};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x11f')]=function(_0x33ecf3){logger['info'](util['format'](_0x9ec3('0x120'),_0x33ecf3[_0x9ec3('0x36')]));return this[_0x9ec3('0xc')](_0x33ecf3);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x121')]=function(_0x2aa113){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x122'),_0x2aa113['label']));this['createSquareDetailsReport'][_0x9ec3('0xa7')](this,_0x2aa113,_0x2aa113[_0x9ec3('0x123')]);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x124'),_0x2aa113[_0x9ec3('0x123')]));};AGIVertices[_0x9ec3('0x10')]['awspolly']=function(_0x40dd8e){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x125'),_0x40dd8e['label']));if(!this['isConfigured'](_0x40dd8e[_0x9ec3('0x89')])||!this['isConfigured'](_0x40dd8e['aws_secret_access_key'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x126'));}if(!this[_0x9ec3('0x86')](_0x40dd8e[_0x9ec3('0x5c')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this['channel']['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x127'),_0x40dd8e['text']));var _0x454558=this[_0x9ec3('0x88')][_0x9ec3('0xa7')](this,_0x40dd8e);if(_0x454558){this['channel'][_0x9ec3('0xab')](util['format'](_0x9ec3('0x128'),_0x454558));var _0x3ae314=this[_0x9ec3('0xd')][_0x9ec3('0x103')](_0x454558);try{fs[_0x9ec3('0x104')](_0x454558+_0x9ec3('0x105'));}catch(_0x44054f){logger[_0x9ec3('0x2b')](_0x44054f);}return _0x3ae314;}return this['channel'][_0x9ec3('0x2b')](_0x40dd8e,_0x9ec3('0x129'));};AGIVertices['prototype'][_0x9ec3('0x12a')]=function(_0x4c49a1){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x12b'),_0x4c49a1[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x4c49a1['aws_access_key_id'])||!this['isConfigured'](_0x4c49a1[_0x9ec3('0x8e')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x126'));}if(!this[_0x9ec3('0x86')](_0x4c49a1['aws_bot_name'])){return this['channel']['noop']('no\x20bot\x20name\x20configured');}if(!this[_0x9ec3('0x86')](_0x4c49a1['text'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this[_0x9ec3('0xd')]['bot']=!![];this[_0x9ec3('0xdb')](_0x4c49a1);this[_0x9ec3('0x41')](_0x4c49a1[_0x9ec3('0x5c')],'in','','');this['channel']['noop'](util[_0x9ec3('0x54')]('Trying\x20Amazon\x20Lex:\x20%s',_0x4c49a1['text']));var _0x529dc6=this[_0x9ec3('0x8d')][_0x9ec3('0xa7')](this,_0x4c49a1);if(_0x529dc6){for(var _0x15fefd in _0x529dc6){if(_0x529dc6['hasOwnProperty'](_0x15fefd)&&_[_0x9ec3('0x98')](_0x529dc6[_0x15fefd])){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')]('AWS_LEX_%s',_0x15fefd[_0x9ec3('0x6a')]()),_0x529dc6[_0x15fefd]);}}if(_[_0x9ec3('0x44')](_0x529dc6[_0x9ec3('0x77')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x12c'));}else{this[_0x9ec3('0x41')](_0x529dc6[_0x9ec3('0x77')],_0x9ec3('0xed'),'amazonlex','');return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x12d'),_0x529dc6[_0x9ec3('0x77')]));}}return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x4c49a1,'Amazon\x20Lex\x20is\x20unreachable');};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x12e')]=function(_0x5d36db){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x12f'),_0x5d36db[_0x9ec3('0x36')],_0x5d36db[_0x9ec3('0x66')]));if(!this['isConfigured'](_0x5d36db['key'])){return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0x130'));}var _0x38de5b=_0x9ec3('0x131');var _0x5ce27b=util['format'](_0x9ec3('0x132'),FILES_PATH,rs['generate'](0x4));var _0x106242=util[_0x9ec3('0x54')]('%s.%s',_0x5ce27b,_0x38de5b);var _0x4f245b=!![];if(_0x5d36db['beep']===_0x9ec3('0x133')){_0x4f245b=![];}var _0x36e3f1=this[_0x9ec3('0xd')][_0x9ec3('0x134')](_0x5ce27b,_0x38de5b,_0x5d36db[_0x9ec3('0x135')],_0x5d36db[_0x9ec3('0x66')],undefined,_0x4f245b);if(_0x36e3f1[_0x9ec3('0xae')]!==-0x1){this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x136'),_0x106242));var _0x21c57a=this[_0x9ec3('0x91')][_0x9ec3('0xa7')](this,_0x5d36db,_0x106242);if(_0x21c57a){for(var _0x709f6a in _0x21c57a){if(_0x21c57a[_0x9ec3('0x97')](_0x709f6a)){this[_0x9ec3('0xd')]['setVariable'](util[_0x9ec3('0x54')](_0x9ec3('0x137'),_0x709f6a[_0x9ec3('0x6a')]()),_0x21c57a[_0x709f6a]);}}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x138'),JSON['stringify'](_0x21c57a)));}}return _0x36e3f1;};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x139')]=function(_0x1f4663){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x13a'),_0x1f4663[_0x9ec3('0x36')]));if(!this['isConfigured'](_0x1f4663['appid'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x13b'));}if(!this[_0x9ec3('0x86')](_0x1f4663[_0x9ec3('0x94')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x13c'));}var _0x5d18e2=_0x9ec3('0x131');var _0x3c5229=util[_0x9ec3('0x54')]('%s/recordings/%s',FILES_PATH,rs[_0x9ec3('0x11b')](0x4));var _0x19f06a=util[_0x9ec3('0x54')](_0x9ec3('0x9f'),_0x3c5229,_0x5d18e2);var _0x52fc43=!![];if(_0x1f4663['beep']==='NOBEEP'){_0x52fc43=![];}var _0x564056=this[_0x9ec3('0xd')][_0x9ec3('0x134')](_0x3c5229,_0x5d18e2,_0x1f4663[_0x9ec3('0x135')],_0x1f4663['timeout'],undefined,_0x52fc43);if(_0x564056[_0x9ec3('0xae')]!==-0x1){this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x13d'),_0x19f06a));var _0x103b96=this['tildeASR'][_0x9ec3('0xa7')](this,_0x1f4663,_0x19f06a);if(_0x103b96){for(var _0x5ef8c5 in _0x103b96){if(_0x103b96[_0x9ec3('0x97')](_0x5ef8c5)){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')](_0x9ec3('0x13e'),_0x5ef8c5[_0x9ec3('0x6a')]()),_0x103b96[_0x5ef8c5]);}}return this['channel']['noop'](util['format'](_0x9ec3('0x13f'),JSON['stringify'](_0x103b96)));}}return _0x564056;};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x140')]=function(_0x51be70){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20GOTO\x20(%s)\x20block',_0x51be70[_0x9ec3('0x36')]));return this['channel'][_0x9ec3('0x141')](_0x51be70[_0x9ec3('0x142')],_0x51be70[_0x9ec3('0x3c')],_0x51be70[_0x9ec3('0x3d')]);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x143')]=function(_0x51d704){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x144'),_0x51d704[_0x9ec3('0x36')]));if(!this['isConfigured'](_0x51d704[_0x9ec3('0x145')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x51d704,_0x9ec3('0x146'));}try{var _0x1d5792=eval(_0x51d704[_0x9ec3('0x145')])?_0x9ec3('0x147'):_0x9ec3('0x148');this[_0x9ec3('0xd')]['noop'](util['format'](_0x9ec3('0x149'),_0x51d704[_0x9ec3('0x145')],_0x1d5792));return{'code':0xc8,'result':_0x1d5792};}catch(_0x5cf6db){return{'code':0xc8,'result':_0x9ec3('0x148')};}};AGIVertices['prototype'][_0x9ec3('0x14a')]=function(_0x21d95c){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x14b'),_0x21d95c[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x21d95c['interval_id'])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x21d95c,_0x9ec3('0x14c'));}var _0x54ad8a=this[_0x9ec3('0x24')][_0x9ec3('0xa7')](this,_0x21d95c[_0x9ec3('0x14d')]);if(!_0x54ad8a){return this['channel'][_0x9ec3('0x2b')](_0x21d95c,_0x9ec3('0x14e'));}for(var _0x1e9e3e=0x0;_0x1e9e3e<_0x54ad8a[_0x9ec3('0x9d')];_0x1e9e3e+=0x1){var _0x46136a=this[_0x9ec3('0xd')]['getVariable'](util['format'](_0x9ec3('0x14f'),_0x54ad8a[_0x1e9e3e]));if(_0x46136a[_0x9ec3('0xae')]===-0x1){return _0x46136a;}logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x150'),_0x54ad8a[_0x1e9e3e],_0x46136a[_0x9ec3('0x151')]));if(_0x46136a['extra']==='true'){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x150'),_0x54ad8a[_0x1e9e3e],_0x9ec3('0x147')));this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x150'),_0x54ad8a[_0x1e9e3e],_0x9ec3('0x147')));return{'code':0xc8,'result':_0x9ec3('0x147')};}else{logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x150'),_0x54ad8a[_0x1e9e3e],_0x9ec3('0x148')));this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x150'),_0x54ad8a[_0x1e9e3e],'false'));}}return{'code':0xc8,'result':_0x9ec3('0x148')};};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x152')]=function(_0x5ddb5f){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x153'),_0x5ddb5f[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')][_0x9ec3('0x152')]();};AGIVertices['prototype'][_0x9ec3('0x154')]=function(_0x54b848){logger['info'](util['format']('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x54b848[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x54b848[_0x9ec3('0x7b')])){return this['channel'][_0x9ec3('0xab')]('no\x20key\x20configured');}var _0x33347a=_0x9ec3('0x131');var _0x10aeae=util[_0x9ec3('0x54')](_0x9ec3('0x132'),FILES_PATH,rs['generate'](0x4));var _0x1ea25f=util[_0x9ec3('0x54')](_0x9ec3('0x9f'),_0x10aeae,_0x33347a);var _0x21d022=!![];if(_0x54b848[_0x9ec3('0x155')]===_0x9ec3('0x133')){_0x21d022=![];}var _0x36d3ea=this['channel'][_0x9ec3('0x134')](_0x10aeae,_0x33347a,_0x54b848[_0x9ec3('0x135')],_0x54b848[_0x9ec3('0x66')],undefined,_0x21d022);if(_0x36d3ea[_0x9ec3('0xae')]!==-0x1){this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x156'),_0x1ea25f));var _0x41dbcc=this[_0x9ec3('0x84')]['sync'](this,_0x54b848,_0x1ea25f);if(_0x41dbcc){for(var _0x20dc08 in _0x41dbcc){if(_0x41dbcc[_0x9ec3('0x97')](_0x20dc08)){this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')](_0x9ec3('0x157'),_0x20dc08[_0x9ec3('0x6a')]()),_0x41dbcc[_0x20dc08]);}}return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x158'),JSON['stringify'](_0x41dbcc)));}}return _0x36d3ea;};AGIVertices['prototype'][_0x9ec3('0x159')]=function(_0x541fd1){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x541fd1[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x541fd1[_0x9ec3('0x7b')])){return this['channel'][_0x9ec3('0xab')]('no\x20key\x20configured');}if(!this[_0x9ec3('0x86')](_0x541fd1['text'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x15a'),_0x541fd1[_0x9ec3('0x5c')]));var _0x40f10b=this['ispeechTTS'][_0x9ec3('0xa7')](this,_0x541fd1);if(_0x40f10b){this['channel']['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x156'),_0x40f10b));var _0x4c185b=this['channel']['streamFile'](_0x40f10b,_0x541fd1[_0x9ec3('0x135')]);try{fs[_0x9ec3('0x104')](_0x40f10b+_0x9ec3('0x105'));}catch(_0x21eaa8){logger[_0x9ec3('0x2b')](_0x21eaa8);}return _0x4c185b;}return this[_0x9ec3('0xd')]['error'](_0x541fd1,'ispeech\x20TTS\x20is\x20unreachable');};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x15b')]=function(_0x489958){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x15c'),_0x489958[_0x9ec3('0x36')]));if(!this['isConfigured'](_0x489958[_0x9ec3('0x15d')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x489958,_0x9ec3('0x15e'));}logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x489958[_0x9ec3('0x15d')]));var _0x137d02=this[_0x9ec3('0x52')][_0x9ec3('0xa7')](this,_0x489958[_0x9ec3('0x15d')]);if(_0x137d02){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x15f'),this['channel'][_0x9ec3('0x39')],_0x489958[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x15f'),this['channel'][_0x9ec3('0x39')],_0x489958[_0x9ec3('0x15d')]));return{'code':0xc8,'result':'success'};}else{logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x160'),this[_0x9ec3('0xd')]['callerid'],_0x489958[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x489958[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x161')};}};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x162')]=function(_0x597476){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x163'),_0x597476['label']));if(!this['isConfigured'](_0x597476[_0x9ec3('0x15d')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x597476,'no\x20find\x20by\x20configured');}logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x164'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x597476[_0x9ec3('0x15d')]));var _0xc18e08=this[_0x9ec3('0x51')][_0x9ec3('0xa7')](this,_0x597476['findBy']);if(_0xc18e08){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x15f'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x597476['findBy']));this['channel']['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x15f'),this['channel'][_0x9ec3('0x39')],_0x597476[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x165')};}else{logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x160'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x597476[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x597476[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x161')};}};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x166')]=function(_0x5ae8fc){logger['info'](util[_0x9ec3('0x54')]('Enter\x20in\x20MATH\x20(%s)\x20block',_0x5ae8fc[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x5ae8fc['operation'])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x5ae8fc,'no\x20operation\x20configured');}this[_0x9ec3('0xd')][_0x9ec3('0xab')](util['format'](_0x9ec3('0x167'),_0x5ae8fc[_0x9ec3('0x168')]));var _0x417a73=eval(_0x5ae8fc[_0x9ec3('0x168')]);if(!this[_0x9ec3('0x86')](_0x5ae8fc[_0x9ec3('0xdc')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x169'));}var _0x568065=this[_0x9ec3('0xa4')][_0x9ec3('0xa7')](this,_0x5ae8fc[_0x9ec3('0xdc')]);if(!_0x568065){return this[_0x9ec3('0xd')]['error'](_0x5ae8fc,_0x9ec3('0x119'));}if(_[_0x9ec3('0x9c')](_0x417a73)){var _0x301159=this;_0x417a73[_0x9ec3('0xdd')](function(_0x1fbce6,_0x1af158){_0x301159[_0x9ec3('0xd')][_0x9ec3('0xa0')](util['format'](_0x9ec3('0x16a'),_0x568065,_0x1af158),_0x1fbce6);});return this['channel'][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('variable\x20%s[key]\x20set',_0x568065));}else{return this[_0x9ec3('0xd')][_0x9ec3('0xa0')](_0x568065,_0x417a73);}};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xb')]=function(_0x56dd18){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x16b'),_0x56dd18[_0x9ec3('0x36')]));if(_0x56dd18[_0x9ec3('0xa8')]===0x0){return this[_0x9ec3('0xa9')](_0x56dd18);}_0x56dd18[_0x9ec3('0xa8')]-=0x1;if(!this[_0x9ec3('0x86')](_0x56dd18['file_id'])){return this[_0x9ec3('0xd')]['error'](_0x56dd18,_0x9ec3('0x114'));}var _0x379aed=this['getSound'][_0x9ec3('0xa7')](this,_0x56dd18['file_id']);if(!_0x379aed){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x56dd18,_0x9ec3('0x16c'));}var _0x1aaf8c=this['channel'][_0x9ec3('0x115')](_0x379aed,_0x56dd18['response'],_0x56dd18[_0x9ec3('0x16d')]);var _0x53f208=_0x1aaf8c['result'];if(_0x1aaf8c[_0x9ec3('0xae')]===-0x1){this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x56dd18,'-1');return _0x1aaf8c;}else if(_0x1aaf8c[_0x9ec3('0x151')]===_0x9ec3('0x66')){_0x1aaf8c[_0x9ec3('0xae')]=_0x1aaf8c[_0x9ec3('0xae')][_0x9ec3('0x9d')]>0x0?_0x1aaf8c[_0x9ec3('0xae')]:'t';}else if(_[_0x9ec3('0x43')](_0x1aaf8c[_0x9ec3('0xae')])){_0x1aaf8c[_0x9ec3('0xae')]='#';_0x53f208='#';}if(!this['isConfigured'](_0x56dd18[_0x9ec3('0xdc')])){this['channel'][_0x9ec3('0xab')]('no\x20variable\x20selected\x20for\x20the\x20result');}else{var _0x443a3b=this[_0x9ec3('0xa4')][_0x9ec3('0xa7')](this,_0x56dd18['variable_id']);if(!_0x443a3b){return this['channel'][_0x9ec3('0x2b')](_0x56dd18,_0x9ec3('0x119'));}this[_0x9ec3('0xd')][_0x9ec3('0xa0')](_0x443a3b,_0x53f208);}this['createSquareDetailsReport'][_0x9ec3('0xa7')](this,_0x56dd18,_0x53f208);return _0x1aaf8c;};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0xab')]=function(_0x3fa738){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x16e'),_0x3fa738[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')]['noop'](_0x3fa738[_0x9ec3('0x16f')]||_0x3fa738[_0x9ec3('0x36')]);};AGIVertices[_0x9ec3('0x10')]['pause']=function(_0x4a47a9){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x170'),_0x4a47a9[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x4a47a9['findBy'])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x4a47a9,_0x9ec3('0x15e'));}logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x164'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x4a47a9[_0x9ec3('0x15d')]));var _0x43e876=this[_0x9ec3('0x4d')]['sync'](this,_0x4a47a9[_0x9ec3('0x171')]);var _0x782c27=this[_0x9ec3('0x4e')][_0x9ec3('0xa7')](this,_0x4a47a9[_0x9ec3('0x15d')],_0x43e876);if(_0x782c27){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x15f'),this[_0x9ec3('0xd')]['callerid'],_0x4a47a9[_0x9ec3('0x15d')]));this['channel'][_0x9ec3('0xab')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x4a47a9[_0x9ec3('0x15d')]));return{'code':0xc8,'result':'success'};}else{logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x160'),this[_0x9ec3('0xd')]['callerid'],_0x4a47a9[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x15f'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x4a47a9[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x161')};}};AGIVertices['prototype'][_0x9ec3('0x172')]=function(_0x5c2973){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x173'),_0x5c2973[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x5c2973[_0x9ec3('0x113')])){return this['channel'][_0x9ec3('0x2b')](_0x5c2973,_0x9ec3('0x114'));}var _0x5e535c=this[_0x9ec3('0x1d')][_0x9ec3('0xa7')](this,_0x5c2973['file_id']);if(!_0x5e535c){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x5c2973,'no\x20file\x20audio\x20found');}var _0x2b2c24=this[_0x9ec3('0xd')][_0x9ec3('0x57')](_0x9ec3('0x174'),[_0x5e535c,_0x5c2973[_0x9ec3('0xe5')]]);if(_0x2b2c24['result']===-0x1){return _0x2b2c24;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x175'),_0x9ec3('0x174'),_0x5e535c));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x176')]=function(_0x53f036){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x177'),_0x53f036[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x53f036[_0x9ec3('0x178')])){return this[_0x9ec3('0xd')]['error'](_0x53f036,_0x9ec3('0x179'));}var _0x5c1b38='';var _0x4a4ede=parseInt(_0x53f036[_0x9ec3('0x178')],0xa);if(isNaN(_0x4a4ede)){_0x5c1b38=_0x53f036['queue_id'];}else{_0x5c1b38=this['getVoiceQueue'][_0x9ec3('0xa7')](this,_0x53f036[_0x9ec3('0x178')]);if(!_0x5c1b38){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x53f036,_0x9ec3('0x17a'));}}var _0x1990c5='';if(this[_0x9ec3('0x86')](_0x53f036[_0x9ec3('0x113')])){var _0x30a67c=this['getSound'][_0x9ec3('0xa7')](this,_0x53f036[_0x9ec3('0x113')]);if(_0x30a67c){_0x1990c5=_0x30a67c;}}this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x53f036,_0x5c1b38);if(_0x53f036[_0x9ec3('0xe5')][_0x9ec3('0x17b')]('x')<0x0){_0x53f036[_0x9ec3('0xe5')]+='x';}if(_0x53f036['opts'][_0x9ec3('0x17b')]('X')<0x0){_0x53f036[_0x9ec3('0xe5')]+='X';}this[_0x9ec3('0xd')][_0x9ec3('0xa0')]('XMCS-QUEUE',_0x5c1b38?_0x5c1b38[_0x9ec3('0x17c')]():'');var _0x2b4869=this[_0x9ec3('0xd')][_0x9ec3('0x57')](_0x9ec3('0x17d'),[_0x5c1b38,_0x53f036[_0x9ec3('0xe5')],_0x53f036['url'],_0x1990c5,_0x53f036[_0x9ec3('0x66')],_0x53f036[_0x9ec3('0x8')],_0x53f036[_0x9ec3('0x17e')],_0x53f036[_0x9ec3('0x17f')],'',_0x53f036[_0x9ec3('0x180')]]);if(_0x2b4869['result']===-0x1){return _0x2b4869;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x175'),'QUEUE',_0x5c1b38));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x181')]=function(_0x24c50e){logger['info'](util['format'](_0x9ec3('0x182'),_0x24c50e[_0x9ec3('0x36')]));var _0x5cc028=_0x24c50e[_0x9ec3('0x183')]||_0x9ec3('0x131');var _0x195eb6=util[_0x9ec3('0x54')](_0x9ec3('0x184'),this[_0x9ec3('0xd')][_0x9ec3('0x50')],rs[_0x9ec3('0x11b')](0x5));var _0x538a2b=util[_0x9ec3('0x54')](_0x9ec3('0x185'),FILES_PATH,_0x195eb6,_0x5cc028);var _0x11978d=util[_0x9ec3('0x54')]('%s/recordings/%s',FILES_PATH,_0x195eb6);this[_0x9ec3('0x3a')][_0x9ec3('0xa7')](this,_0x24c50e,_0x195eb6,_0x538a2b);this[_0x9ec3('0xd')][_0x9ec3('0xa0')](_0x9ec3('0x186'),_0x195eb6);logger[_0x9ec3('0x2d')]('Recording\x20%s\x20%s\x20%s\x20%s',_0x11978d,_0x5cc028,_0x24c50e[_0x9ec3('0x187')],_0x24c50e[_0x9ec3('0x66')]);return this['channel'][_0x9ec3('0x134')](_0x11978d,_0x5cc028,_0x24c50e[_0x9ec3('0x187')],_0x24c50e['timeout'],undefined,!![]);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x188')]=function(_0x15d92d){logger[_0x9ec3('0x2d')](util['format'](_0x9ec3('0x189'),_0x15d92d[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x15d92d[_0x9ec3('0x64')])){return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0x18a'));}var _0xe067d9=this['restAPI'][_0x9ec3('0xa7')](this,_0x15d92d);logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Response:',util['inspect'](_0xe067d9,{'showHidden':![],'depth':null})));if(!this['isConfigured'](_0x15d92d[_0x9ec3('0xdc')])){return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0x18b'));}var _0x46173b=this[_0x9ec3('0xa4')][_0x9ec3('0xa7')](this,_0x15d92d[_0x9ec3('0xdc')]);if(!_0x46173b){return this['channel'][_0x9ec3('0x2b')](_0x15d92d,_0x9ec3('0x119'));}this[_0x9ec3('0xd')]['setVariable'](util[_0x9ec3('0x54')](_0x9ec3('0x18c'),_0x46173b),_0xe067d9[_0x9ec3('0x76')]?_0xe067d9[_0x9ec3('0x76')]:_0x9ec3('0x18d'));this[_0x9ec3('0xd')][_0x9ec3('0xa0')](util[_0x9ec3('0x54')](_0x9ec3('0x18e'),_0x46173b),_0xe067d9[_0x9ec3('0x18f')]?_0xe067d9['statusMessage']:'OK');if(_0xe067d9[_0x9ec3('0x74')]){try{this[_0x9ec3('0x9e')](_0xe067d9['body'],_0x46173b);}catch(_0x4a1d8c){logger[_0x9ec3('0x2b')](util['format']('Unable\x20to\x20set\x20result\x20in\x20variable\x20%s',_0x46173b));}}return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x190'),_0x46173b));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x191')]=function(_0x1f30ec){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x192'),_0x1f30ec[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')]['sayDigits'](_0x1f30ec[_0x9ec3('0x193')][_0x9ec3('0x58')](/\s+/g,''),_0x1f30ec['escape_digits']);};AGIVertices['prototype'][_0x9ec3('0x194')]=function(_0x3aa3f0){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x195'),_0x3aa3f0['label']));return this[_0x9ec3('0xd')][_0x9ec3('0x196')](_0x3aa3f0['number']['replace'](/\s+/g,''),_0x3aa3f0['escape_digits']);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x197')]=function(_0x11aa1a){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x198'),_0x11aa1a[_0x9ec3('0x36')]));return this['channel'][_0x9ec3('0x199')](_0x11aa1a[_0x9ec3('0x5c')],_0x11aa1a['escape_digits']);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x19a')]=function(_0x27bc2d){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x27bc2d['label']));if(!this[_0x9ec3('0x86')](_0x27bc2d[_0x9ec3('0x19b')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')]('no\x20mail\x20account\x20configured');}var _0x3a2868=this[_0x9ec3('0x21')][_0x9ec3('0xa7')](this,_0x27bc2d[_0x9ec3('0x19b')]);if(!_0x3a2868||!_0x3a2868[_0x9ec3('0x19c')]){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x27bc2d,_0x9ec3('0x19d'));}var _0x3471e0={'from':util[_0x9ec3('0x54')](_0x9ec3('0x19e'),_0x3a2868['name'],_0x3a2868['email']||_0x3a2868[_0x9ec3('0x19c')][_0x9ec3('0x19f')]),'to':_0x27bc2d['to']||'','cc':_0x27bc2d['cc']||'','bcc':_0x27bc2d['bcc']||'','subject':_0x27bc2d[_0x9ec3('0x1a0')],'html':_0x27bc2d['text'],'text':_0x27bc2d[_0x9ec3('0x5c')]};if(this[_0x9ec3('0x86')](_0x27bc2d['template_id'])){}logger[_0x9ec3('0xe0')]('sendMail\x20message',JSON[_0x9ec3('0x73')](_0x3471e0));this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x27bc2d,_0x27bc2d[_0x9ec3('0x19b')]);this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1a1'),_0x3a2868['name']));this['sendMailMessage'][_0x9ec3('0xa7')](this,_0x3a2868['smtpOptions'],_0x3471e0);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x1a2'));};AGIVertices[_0x9ec3('0x10')]['sendFax']=function(_0x3fa3ef){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x1a3'),_0x3fa3ef[_0x9ec3('0x36')]));return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0x1a4'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1a5')]=function(_0x2221db){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x1a6'),_0x2221db[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x2221db['sms_account_id'])){return this['channel'][_0x9ec3('0xab')]('no\x20sms\x20account\x20configured');}var _0x13f35e=this[_0x9ec3('0x33')][_0x9ec3('0xa7')](this,_0x2221db['sms_account_id']);if(!_0x13f35e){return this['channel'][_0x9ec3('0x2b')](_0x2221db,_0x9ec3('0x1a7'));}var _0x3f149f={'body':_0x2221db[_0x9ec3('0x1a8')],'phone':_0x2221db['to']||'','SmsAccountId':_0x13f35e['id']};logger[_0x9ec3('0xe0')](_0x9ec3('0x1a9'),JSON[_0x9ec3('0x73')](_0x3f149f));this[_0x9ec3('0xdb')]['sync'](this,_0x2221db,_0x2221db['sms_account_id']);this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1aa'),_0x13f35e[_0x9ec3('0x13')]));this[_0x9ec3('0x35')]['sync'](this,_0x3f149f);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x1ab'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1ac')]=function(_0x353a24){logger['info'](util['format'](_0x9ec3('0x1ad'),_0x353a24['label']));if(!this[_0x9ec3('0x86')](_0x353a24[_0x9ec3('0xdc')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x353a24,'no\x20variable\x20selected');}var _0x33d41d=this[_0x9ec3('0xa4')]['sync'](this,_0x353a24[_0x9ec3('0xdc')]);if(!_0x33d41d){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x353a24,_0x9ec3('0x119'));}return this['channel'][_0x9ec3('0xa0')](_0x33d41d,_0x353a24[_0x9ec3('0x1ae')]);};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1af')]=function(_0xddee15){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x1b0'),_0xddee15[_0x9ec3('0x36')]));this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x1b1'));var _0x212f78=this[_0x9ec3('0xd')][_0x9ec3('0xa4')](_0x9ec3('0x1b2'));if(!_[_0x9ec3('0x43')](_0x212f78[_0x9ec3('0x151')])){this[_0x9ec3('0xd')]['uniqueid']=_0x212f78[_0x9ec3('0x151')];}if(_0xddee15['answer']===_0x9ec3('0x1b3')){this['channel'][_0x9ec3('0xab')](_0x9ec3('0x1b4'));return this[_0x9ec3('0xd')][_0x9ec3('0xbf')]();}return this[_0x9ec3('0xd')]['noop'](_0x9ec3('0x1b5'));};AGIVertices[_0x9ec3('0x10')]['subproject']=function(_0x4d918a){logger['info'](util['format'](_0x9ec3('0x1b6'),_0x4d918a[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x4d918a['project_id'])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x4d918a,_0x9ec3('0x1b7'));}var _0x510ffc=this[_0x9ec3('0x17')][_0x9ec3('0xa7')](this,_0x4d918a['project_id']);if(!this[_0x9ec3('0x86')](_0x510ffc)){return this['channel'][_0x9ec3('0x2b')](_0x4d918a,util['format'](_0x9ec3('0x1b8'),_0x4d918a[_0x9ec3('0x1b9')]));}if(_0x510ffc===this[_0x9ec3('0xd')][_0x9ec3('0x38')]){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x4d918a,_0x9ec3('0x1ba'));}this['createSquareDetailsReport'][_0x9ec3('0xa7')](this,_0x4d918a,_0x510ffc);var _0x330d3d=this[_0x9ec3('0xd')]['exec']('AGI',util[_0x9ec3('0x54')]('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0x9ec3('0x8')]['host']||_0x9ec3('0x1bb'),_0x510ffc,this['channel']['arg_1']));if(_0x330d3d[_0x9ec3('0xae')]===-0x1){return _0x330d3d;}return this['channel']['noop'](util['format'](_0x9ec3('0x175'),'AGI',_0x510ffc));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1bc')]=function(_0x54b21d){logger['info'](util[_0x9ec3('0x54')](_0x9ec3('0x1bd'),_0x54b21d[_0x9ec3('0x36')]));var _0x416181=this['shellCommand'][_0x9ec3('0xa7')](this,_0x54b21d[_0x9ec3('0xbd')]);this[_0x9ec3('0xdb')][_0x9ec3('0xa7')](this,_0x54b21d,_0x54b21d[_0x9ec3('0xbd')]);if(this[_0x9ec3('0x86')](_0x54b21d[_0x9ec3('0xdc')])){var _0x231289=this[_0x9ec3('0xa4')][_0x9ec3('0xa7')](this,_0x54b21d[_0x9ec3('0xdc')]);if(_0x231289){this['channel'][_0x9ec3('0xa0')](_0x231289,_0x416181);return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')]('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x54b21d[_0x9ec3('0xbd')],_0x231289));}}return this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x1be'),_0x54b21d[_0x9ec3('0xbd')]));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1bf')]=function(_0x440133){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x1c0'),_0x440133[_0x9ec3('0x36')]));_0x440133[_0x9ec3('0x5c')]=_0x440133['text'][_0x9ec3('0x58')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x9ec3('0x86')](_0x440133['apiKey'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0x1c1'));}if(!this[_0x9ec3('0x86')](_0x440133[_0x9ec3('0x5c')])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')](_0x9ec3('0xac'));}this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1c2'),_0x440133[_0x9ec3('0x5c')]));var _0x293723=this[_0x9ec3('0x59')][_0x9ec3('0xa7')](this,_0x440133);if(_0x293723){this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1c3'),_0x293723));var _0x5d224a=this[_0x9ec3('0xd')][_0x9ec3('0x103')](_0x293723);try{fs['unlink'](_0x293723+_0x9ec3('0x105'));}catch(_0x5fd47f){logger[_0x9ec3('0x2b')](_0x5fd47f);}return _0x5d224a;}return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x440133,_0x9ec3('0x1c4'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1c5')]=function(_0x1676a1){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x1676a1[_0x9ec3('0x36')]));_0x1676a1[_0x9ec3('0x5c')]=_0x1676a1[_0x9ec3('0x5c')][_0x9ec3('0x58')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x1676a1['text'])){return this[_0x9ec3('0xd')][_0x9ec3('0xab')]('no\x20text\x20configured');}this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1c6'),_0x1676a1[_0x9ec3('0x5c')]));var _0x2319e0=this['googleTTS'][_0x9ec3('0xa7')](this,_0x1676a1);if(_0x2319e0){this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x1c7'),_0x2319e0));var _0x3bdc82=this['channel']['streamFile'](_0x2319e0);try{fs[_0x9ec3('0x104')](_0x2319e0+_0x9ec3('0x105'));}catch(_0x2105ec){logger[_0x9ec3('0x2b')](_0x2105ec);}return _0x3bdc82;}return this[_0x9ec3('0xd')]['error'](_0x1676a1,_0x9ec3('0x1c8'));};AGIVertices[_0x9ec3('0x10')][_0x9ec3('0x1c9')]=function(_0x493194){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x493194[_0x9ec3('0x36')]));if(!this[_0x9ec3('0x86')](_0x493194[_0x9ec3('0x15d')])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x493194,_0x9ec3('0x15e'));}logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x164'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x493194[_0x9ec3('0x15d')]));var _0x2ba433=this[_0x9ec3('0x1ca')]['sync'](this,_0x493194[_0x9ec3('0x15d')]);if(_0x2ba433){logger['info'](util['format'](_0x9ec3('0x15f'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x493194[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')]['noop'](util['format'](_0x9ec3('0x15f'),this['channel'][_0x9ec3('0x39')],_0x493194[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x165')};}else{logger['info'](util[_0x9ec3('0x54')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x493194[_0x9ec3('0x15d')]));this[_0x9ec3('0xd')]['noop'](util[_0x9ec3('0x54')](_0x9ec3('0x160'),this[_0x9ec3('0xd')][_0x9ec3('0x39')],_0x493194[_0x9ec3('0x15d')]));return{'code':0xc8,'result':_0x9ec3('0x161')};}};AGIVertices[_0x9ec3('0x10')]['voicemail']=function(_0x25b582){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')](_0x9ec3('0x1cb'),_0x25b582[_0x9ec3('0x36')]));var _0xcc4749=this[_0x9ec3('0xd')][_0x9ec3('0x57')](_0x9ec3('0x1cc'),[_0x25b582[_0x9ec3('0x1cd')],_0x25b582['options']]);if(_0xcc4749['result']===-0x1){return _0xcc4749;}return this[_0x9ec3('0xd')][_0x9ec3('0xab')](util[_0x9ec3('0x54')](_0x9ec3('0x175'),'VOICEMAIL',_0x25b582[_0x9ec3('0x1cd')]));};AGIVertices['prototype'][_0x9ec3('0x1ce')]=function(_0x14907f){logger[_0x9ec3('0x2d')](util[_0x9ec3('0x54')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x14907f[_0x9ec3('0x36')]));if(!this['isConfigured'](_0x14907f['variable_id'])){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x14907f,_0x9ec3('0x1cf'));}var _0x1f2295=this['getVariable']['sync'](this,_0x14907f['variable_id']);if(!_0x1f2295){return this[_0x9ec3('0xd')][_0x9ec3('0x2b')](_0x14907f,_0x9ec3('0x119'));}var _0x572d4f=this['channel'][_0x9ec3('0xa4')](_0x1f2295);return{'code':0xc8,'result':_0x572d4f[_0x9ec3('0x151')]?_0x572d4f[_0x9ec3('0x151')]:'-'};};String[_0x9ec3('0x10')][_0x9ec3('0xa3')]=function(_0x3b5384,_0xd42c2b){return this[_0x9ec3('0xa2')](_0x3b5384)[_0x9ec3('0x1d0')](_0xd42c2b);};module[_0x9ec3('0x1d1')]=AGIVertices;
\ No newline at end of file