87ef259c13ebf7e278e456ca80dcf20e60941f99
[motion2.git] / server / services / agi / vertices.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4b1f=['arg_1','file','createSquareMessage','createCmContact','isEmpty','isNil','callback_','random','phone','list_id','callback','toString','callback_priority','getPause','getPauseById','agentPause','agent','callerid','agentUnpause','agentLogout','agentLogin','internal','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','googleCloudTTS','apiKey','text','languageCode','ssmlGender','MALE','audioEncoding','MP3','google_tts_language','url','method','number','timeout','includes','POST','toUpperCase','body','parse','headers','sync','uri','render','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','dialogflowV2_project_id','client_email','private_key','sestekNDA','ispeechTTS','ispeech_tts_language','en-US','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_secret_access_key','aws_polly_voice','Amy','aws_text_type','awsLex','aws_bot_name','googleASR','google_asr_language','tildeASR','appsecret','clear','clone','hasOwnProperty','isString','recursiveNodeIndex','isPlainObject','isArray','length','saveRestApiResult','%s.%s','setVariable','replaceAllVariables','split','replaceAll','getAndSetVariable','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','retry','mrcpsynth','noop','no\x20text\x20configured','MRCPSynth','result','Executed\x20command\x20MRCPSynth\x20%s','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','MRCP_RECOG_CONFIDENCE','MRCP_RECOG_TRANSCRIPT','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','command','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','Enter\x20in\x20CALLBACK\x20(%s)\x20block','scheduledAt','add','delay','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','custom_app','application','Executed\x20command\x20%s\x20%s','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','no\x20grammar\x20configured','MRCPRecog','LUMENVOX_ASR_CONFIDENCE','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','RECOG_INSTANCE()','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','RECOG_CONFIDENCE()','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','no\x20query\x20configured','query:\x20%s','variable_id','forEach','keys','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','dial','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20selected','no\x20user\x20found','DIAL','opts','dialogflow','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','Dialogflow\x20is\x20unreachable','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','no\x20project_id\x20configured','no\x20private_key\x20configured','Trying\x20DialogflowV2:\x20%s','out','dialogflowV2','providerResponse','DialogflowV2\x20Result\x20%s','DialogflowV2\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','no\x20ndauth\x20url\x20configured','username','no\x20username\x20configured','password','no\x20password\x20configured','ndassistant_url','Trying\x20SestekNDA:\x20%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav','SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','Enter\x20in\x20END\x20(%s)\x20block','end','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','trunk_name','SIP/%s/%s','Executed\x20command\x20%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','finally','maxRetry','file_id','no\x20file\x20audio\x20selected','getSound','no\x20variable\x20selected\x20for\x20the\x20result','getData','response','test','stringify','mindigit','maxdigit','no\x20variable\x20found','hiddendigitsnum','hiddendigitspos','first','substr','generate','getsecretdigits','goalname','GOAL\x20%s','awspolly','aws_access_key_id','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','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\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','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','context','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','true','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','getIntervals','no\x20intervals\x20found','IFTIME\x20%s\x20%s','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','IspeechASR\x20Result\x20%s','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','login','findBy','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','Enter\x20in\x20LOGOUT\x20(%s)\x20block','failure','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','%s[%s]','Enter\x20in\x20MENU\x20(%s)\x20block','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','no\x20queue\x20found','indexOf','XMCS-QUEUE','toLowerCase','macro','position','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','%s_%s','%s/recordings/%s.%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','digits','replace','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','user','bcc','template_id','debug','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','smtpOptions','Mail\x20message\x20added\x20to\x20outgoing\x20process','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','no\x20sms\x20account\x20configured','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','sms_account_id','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','Enter\x20in\x20SET\x20(%s)\x20block','no\x20variable\x20selected','variable_value','START\x20CALLY\x20SQUARE','XMCS-UNIQUEID','yes','Answer','subproject','no\x20subproject\x20selected','getSquareProject','project_id','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','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','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','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','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','Enter\x20in\x20SWITCH\x20(%s)\x20block','join','util','lodash','odbc','randomstring','moment','request-promise','../../config/logger','agi','/var/opt/motion2/server/files','rawHeaders','rawBody','menu','getdigits','rpc','getVariable','getVariableById','then','name','catch','prototype','getVoiceQueue','getVoiceQueueById','getSquareProjectById','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunk','getTrunkById','getSoundById','getSoundPath','save_name','getMailAccount','getMailAccountById','sendMailMessage','mailRpc','getIntervalById','IntervalId','interval','map','format','%s/sounds/converted/%s','getQueryOdbc','open','error','Error\x20getting\x20ODBC\x20connection\x20%s','info','query','Error\x20executing\x20query\x20%s','Query\x20executed\x20correctly\x20%s','Error\x20closing\x20connection\x20to\x20odbc\x20%s','getSmsAccount','getSmsAccountById','createSmsMessage','createSquareDetailsReport','channel','label','agicommand','createSquareRecording','uniqueid','extension','priority','accountcode','dnid'];(function(_0x175b7d,_0x107354){var _0x2d46cf=function(_0x4bbddd){while(--_0x4bbddd){_0x175b7d['push'](_0x175b7d['shift']());}};_0x2d46cf(++_0x107354);}(_0x4b1f,0x195));var _0xf4b1=function(_0x263a74,_0xc31414){_0x263a74=_0x263a74-0x0;var _0x2aa86c=_0x4b1f[_0x263a74];return _0x2aa86c;};'use strict';var fs=require('fs');var util=require(_0xf4b1('0x0'));var _=require(_0xf4b1('0x1'));var sh=require('shelljs');var odbc=require(_0xf4b1('0x2'))();var rs=require(_0xf4b1('0x3'));var moment=require(_0xf4b1('0x4'));var Mustache=require('mustache');var rp=require(_0xf4b1('0x5'));var logger=require(_0xf4b1('0x6'))(_0xf4b1('0x7'));var config=require('../../config/environment');var scripts=require('./scripts');var FILES_PATH=_0xf4b1('0x8');var recursiveMapAttributes=[_0xf4b1('0x9'),_0xf4b1('0xa')];var verticesWithRetry=[_0xf4b1('0xb'),_0xf4b1('0xc'),'getsecretdigits'];var AGIVertices=function(_0x59cf77,_0x4bcd22,_0x2bf9d8){this['channel']=_0x59cf77;this[_0xf4b1('0xd')]=_0x4bcd22;this['mailRpc']=_0x2bf9d8;};AGIVertices['prototype'][_0xf4b1('0xe')]=function(_0x31720d,_0x10a08c){this[_0xf4b1('0xd')][_0xf4b1('0xf')](_0x31720d)[_0xf4b1('0x10')](function(_0x3bf5a0){_0x10a08c(null,_0x3bf5a0?_0x3bf5a0[_0xf4b1('0x11')]:![]);})[_0xf4b1('0x12')](function(_0xf66b4c){_0x10a08c(_0xf66b4c);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x14')]=function(_0x1c4b0f,_0x58bdf0){this['rpc'][_0xf4b1('0x15')](_0x1c4b0f)['then'](function(_0x598bec){_0x58bdf0(null,_0x598bec?_0x598bec[_0xf4b1('0x11')]:![]);})['catch'](function(_0x5764b1){_0x58bdf0(_0x5764b1);});};AGIVertices[_0xf4b1('0x13')]['getSquareProject']=function(_0x5e7206,_0x554517){this['rpc'][_0xf4b1('0x16')](_0x5e7206)[_0xf4b1('0x10')](function(_0x534fd8){_0x554517(null,_0x534fd8?_0x534fd8[_0xf4b1('0x11')]:![]);})[_0xf4b1('0x12')](function(_0x322b38){_0x554517(_0x322b38);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x17')]=function(_0x7e5336,_0x5b0214){this[_0xf4b1('0xd')][_0xf4b1('0x18')](_0x7e5336)['then'](function(_0xc6ec1d){_0x5b0214(null,_0xc6ec1d?_0xc6ec1d[_0xf4b1('0x19')]:![]);})['catch'](function(_0x13892d){_0x5b0214(_0x13892d);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1a')]=function(_0x466739,_0x5c50e8){this[_0xf4b1('0xd')][_0xf4b1('0x1b')](_0x466739)[_0xf4b1('0x10')](function(_0xccb44){_0x5c50e8(null,_0xccb44?_0xccb44['name']:![]);})[_0xf4b1('0x12')](function(_0x474212){_0x5c50e8(_0x474212);});};AGIVertices['prototype'][_0xf4b1('0x1c')]=function(_0x502f0b,_0x15cfc4){this['rpc'][_0xf4b1('0x1d')](_0x502f0b)[_0xf4b1('0x10')](function(_0x2e803d){_0x15cfc4(null,_0x2e803d?_0x2e803d['name']:![]);})[_0xf4b1('0x12')](function(_0x5ace8c){_0x15cfc4(_0x5ace8c);});};AGIVertices[_0xf4b1('0x13')]['getSound']=function(_0x29493b,_0x447ae7){var _0x5d28af=this;this[_0xf4b1('0xd')][_0xf4b1('0x1e')](_0x29493b)['then'](function(_0x125bf4){_0x447ae7(null,_0x125bf4?_0x5d28af[_0xf4b1('0x1f')](_0x125bf4[_0xf4b1('0x20')]):![]);})[_0xf4b1('0x12')](function(_0x3046dc){_0x447ae7(_0x3046dc);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x21')]=function(_0x5cf063,_0x56ee5e){this[_0xf4b1('0xd')][_0xf4b1('0x22')](_0x5cf063)[_0xf4b1('0x10')](function(_0x29b9f9){_0x56ee5e(null,_0x29b9f9?_0x29b9f9:![]);})[_0xf4b1('0x12')](function(_0x4f2ec3){_0x56ee5e(_0x4f2ec3);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x23')]=function(_0xa6bdd7,_0x21a9fa,_0x1e4c8a){this[_0xf4b1('0x24')][_0xf4b1('0x23')](_0xa6bdd7,_0x21a9fa)[_0xf4b1('0x10')](function(){_0x1e4c8a(null);})['catch'](function(_0x1cc7b3){_0x1e4c8a(_0x1cc7b3);});};AGIVertices['prototype']['getIntervals']=function(_0x48f672,_0x22403c){this[_0xf4b1('0xd')][_0xf4b1('0x25')](_0x48f672)[_0xf4b1('0x10')](function(_0x303dff){if(_0x303dff){if(_0x303dff[_0xf4b1('0x26')]){_0x22403c(null,[_0x303dff[_0xf4b1('0x27')]]);}else{_0x22403c(null,_[_0xf4b1('0x28')](_0x303dff['Intervals'],_0xf4b1('0x27')));}}else{_0x22403c(null,![]);}})['catch'](function(_0x24bcae){_0x22403c(_0x24bcae);});};AGIVertices[_0xf4b1('0x13')]['getSoundPath']=function(_0x43470a){return util[_0xf4b1('0x29')](_0xf4b1('0x2a'),FILES_PATH,_0x43470a);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x2b')]=function(_0x54e422,_0x3e0305,_0x4f52dd){odbc[_0xf4b1('0x2c')](_0x54e422,function(_0x50e658){if(_0x50e658){logger[_0xf4b1('0x2d')](_0xf4b1('0x2e'),_0x50e658);_0x4f52dd(_0x50e658);}else{logger[_0xf4b1('0x2f')]('ODBC\x20connection\x20successfully');odbc[_0xf4b1('0x30')](_0x3e0305,function(_0x40eb28,_0x207020){if(_0x40eb28){logger[_0xf4b1('0x2f')](_0xf4b1('0x31'),_0x3e0305);_0x4f52dd(_0x40eb28);}else{logger[_0xf4b1('0x2f')](_0xf4b1('0x32'),_0x3e0305);odbc['close'](function(_0x393da0){if(_0x393da0){logger[_0xf4b1('0x2d')](_0xf4b1('0x33'),_0x393da0);}_0x4f52dd(null,_0x207020);});}});}});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x34')]=function(_0x5aab12,_0x54df38){this[_0xf4b1('0xd')][_0xf4b1('0x35')](_0x5aab12)['then'](function(_0x513a7a){_0x54df38(null,_0x513a7a?_0x513a7a:![]);})[_0xf4b1('0x12')](function(_0x19581c){_0x54df38(_0x19581c);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x36')]=function(_0x29bada,_0x123058){this[_0xf4b1('0xd')][_0xf4b1('0x36')](_0x29bada)['then'](function(_0x3a4383){_0x123058(null,_0x3a4383);})['catch'](function(_0x4e8496){_0x123058(_0x4e8496);});};AGIVertices['prototype'][_0xf4b1('0x37')]=function(_0x3feed5,_0x28b9f2,_0x5c6fb9){this[_0xf4b1('0xd')][_0xf4b1('0x37')]({'uniqueid':this[_0xf4b1('0x38')]['uniqueid'],'node':_0x3feed5[_0xf4b1('0x39')],'application':_0x3feed5[_0xf4b1('0x3a')],'data':_0x28b9f2||null,'project_name':this[_0xf4b1('0x38')]['arg_1'],'callerid':this[_0xf4b1('0x38')]['callerid']})[_0xf4b1('0x10')](function(_0x35d94c){if(_0x5c6fb9){_0x5c6fb9(null,_0x35d94c);}})[_0xf4b1('0x12')](function(_0x54f24a){if(_0x5c6fb9){_0x5c6fb9(_0x54f24a);}});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x3b')]=function(_0x4a1624,_0xda618f,_0x3e0449,_0x44b126){this[_0xf4b1('0xd')]['createSquareRecording']({'uniqueid':this['channel'][_0xf4b1('0x3c')],'callerid':this[_0xf4b1('0x38')]['callerid'],'calleridname':this[_0xf4b1('0x38')]['calleridname'],'context':this[_0xf4b1('0x38')]['context'],'extension':this[_0xf4b1('0x38')][_0xf4b1('0x3d')],'priority':this['channel'][_0xf4b1('0x3e')],'accountcode':this[_0xf4b1('0x38')][_0xf4b1('0x3f')],'dnid':this[_0xf4b1('0x38')][_0xf4b1('0x40')],'projectName':this[_0xf4b1('0x38')][_0xf4b1('0x41')],'saveName':_0xda618f,'filename':_0x4a1624[_0xf4b1('0x42')]||_0xda618f,'savePath':_0x3e0449})['then'](function(_0x4a9761){_0x44b126(null,_0x4a9761);})[_0xf4b1('0x12')](function(_0x247165){_0x44b126(_0x247165);});};AGIVertices['prototype'][_0xf4b1('0x43')]=function(_0x3476b3,_0x21dc3b,_0x1f53d1,_0x2e214f,_0x2e8e2c){this[_0xf4b1('0xd')][_0xf4b1('0x43')]({'uniqueid':this[_0xf4b1('0x38')][_0xf4b1('0x3c')],'body':_0x3476b3,'direction':_0x21dc3b,'providerName':_0x1f53d1,'providerResponse':_0x2e214f})[_0xf4b1('0x10')](function(_0x10c01c){if(_0x2e8e2c){_0x2e8e2c(null,_0x10c01c);}})[_0xf4b1('0x12')](function(_0x1bf70f){if(_0x2e8e2c){_0x2e8e2c(_0x1bf70f);}});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x44')]=function(_0xacaa0e,_0x11918d){this[_0xf4b1('0xd')][_0xf4b1('0x44')]({'firstName':_[_0xf4b1('0x45')](_0xacaa0e[_0xf4b1('0x11')])||_[_0xf4b1('0x46')](_0xacaa0e[_0xf4b1('0x11')])?_0xf4b1('0x47')+Math[_0xf4b1('0x48')]():_0xacaa0e[_0xf4b1('0x11')],'lastName':_[_0xf4b1('0x45')](_0xacaa0e['lastName'])||_[_0xf4b1('0x46')](_0xacaa0e['lastName'])?null:_0xacaa0e['lastName'],'phone':_0xacaa0e[_0xf4b1('0x49')],'ListId':_0xacaa0e[_0xf4b1('0x4a')],'scheduledat':_0xacaa0e['scheduledAt'],'callbackUniqueid':this[_0xf4b1('0x38')][_0xf4b1('0x3c')],'tags':_0xf4b1('0x4b'),'description':'Callback\x20scheduled\x20at\x20'+_0xacaa0e['scheduledAt'][_0xf4b1('0x4c')](),'priority':_0xacaa0e[_0xf4b1('0x4d')]})[_0xf4b1('0x10')](function(_0x38938f){_0x11918d(null,_0x38938f);})[_0xf4b1('0x12')](function(_0x288095){_0x11918d(_0x288095);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x4e')]=function(_0x2a2c08,_0x1e77b6){this[_0xf4b1('0xd')][_0xf4b1('0x4f')](_0x2a2c08)[_0xf4b1('0x10')](function(_0x24d0a6){_0x1e77b6(null,_0x24d0a6?_0x24d0a6['name']:![]);})[_0xf4b1('0x12')](function(_0x44f606){_0x1e77b6(_0x44f606);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x50')]=function(_0xb53593,_0x43d373,_0xe7b6a3){var _0x302881={'role':_0xf4b1('0x51')};_0x302881[_0xb53593]=this['channel'][_0xf4b1('0x52')];this[_0xf4b1('0xd')][_0xf4b1('0x50')](_0x302881,_0x43d373,this['channel']['uniqueid'])[_0xf4b1('0x10')](function(_0x1cc591){_0xe7b6a3(null,_['isNil'](_0x1cc591)?![]:!![]);})[_0xf4b1('0x12')](function(_0x408c95){logger[_0xf4b1('0x2d')](_0x408c95);_0xe7b6a3(null,![]);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x53')]=function(_0x34e231,_0xf8fbc1){var _0x3b1a8e={'role':_0xf4b1('0x51')};_0x3b1a8e[_0x34e231]=this[_0xf4b1('0x38')][_0xf4b1('0x52')];this['rpc'][_0xf4b1('0x53')](_0x3b1a8e)[_0xf4b1('0x10')](function(_0x4cdb6b){_0xf8fbc1(null,_[_0xf4b1('0x46')](_0x4cdb6b)?![]:!![]);})[_0xf4b1('0x12')](function(_0x1feebf){logger['error'](_0x1feebf);_0xf8fbc1(null,![]);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x54')]=function(_0x53661b,_0x4d233d){var _0x2ad185={'role':'agent'};_0x2ad185[_0x53661b]=this['channel'][_0xf4b1('0x52')];this[_0xf4b1('0xd')]['agentLogout'](_0x2ad185)['then'](function(_0x10cab4){_0x4d233d(null,_[_0xf4b1('0x46')](_0x10cab4)?![]:!![]);})['catch'](function(_0x2a5d41){logger[_0xf4b1('0x2d')](_0x2a5d41);_0x4d233d(null,![]);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x55')]=function(_0xe82df1,_0x252b48){var _0x1560cc={'role':'agent'};_0x1560cc[_0xe82df1]=this[_0xf4b1('0x38')][_0xf4b1('0x52')];var _0xca5281=_0xe82df1!=_0xf4b1('0x56')?util[_0xf4b1('0x29')](_0xf4b1('0x57'),_0xf4b1('0x58'),this['channel']['callerid']):undefined;this[_0xf4b1('0xd')][_0xf4b1('0x55')](_0x1560cc,_0xca5281)['then'](function(_0x282e64){_0x252b48(null,_[_0xf4b1('0x46')](_0x282e64)?![]:!![]);})[_0xf4b1('0x12')](function(_0x3e3933){logger['error'](_0x3e3933);_0x252b48(null,![]);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x59')]=function(_0x3f1010,_0x5ce4c2){sh[_0xf4b1('0x5a')](_[_0xf4b1('0x5b')](_0x3f1010),function(_0x44e4b0,_0x945e8f){var _0x224e63=_0x945e8f['replace'](/(\r\n|\n|\r)/gm,'');_0x5ce4c2(null,_0x224e63);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x5c')]=function(_0x29d45a,_0x2e78cb){scripts[_0xf4b1('0x5c')](_0x29d45a[_0xf4b1('0x5d')],_0x29d45a['google_cloud_tts_text_type']||_0xf4b1('0x5e'),_0x29d45a['text'],_0x29d45a[_0xf4b1('0x5f')]||'en-US',_0x29d45a[_0xf4b1('0x60')]||_0xf4b1('0x61'),_0x29d45a[_0xf4b1('0x62')]||_0xf4b1('0x63'))['then'](function(_0x56517c){_0x2e78cb(null,_0x56517c);})['catch'](function(_0x32eb50){_0x2e78cb(_0x32eb50);});};AGIVertices['prototype']['googleTTS']=function(_0x35eb31,_0x460673){scripts['googleTTS'](_0x35eb31[_0xf4b1('0x5e')],_0x35eb31[_0xf4b1('0x64')]||'en',0x1)['then'](function(_0x20abad){_0x460673(null,_0x20abad);})[_0xf4b1('0x12')](function(_0x5022f2){_0x460673(_0x5022f2);});};AGIVertices[_0xf4b1('0x13')]['restAPI']=function(_0x1687d5,_0x5af286){var _0x59ac68={'uri':_0x1687d5[_0xf4b1('0x65')],'method':_0x1687d5[_0xf4b1('0x66')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x1687d5['timeout'])===_0xf4b1('0x67')&&parseInt(_0x1687d5[_0xf4b1('0x68')])>=0x1?parseInt(_0x1687d5[_0xf4b1('0x68')])*0x3e8:0x5*0x3e8};if(_[_0xf4b1('0x69')]([_0xf4b1('0x6a'),'PUT'],_0x59ac68[_0xf4b1('0x66')][_0xf4b1('0x6b')]())){try{_0x59ac68[_0xf4b1('0x6c')]=_0x1687d5['rawBody']?JSON[_0xf4b1('0x6d')](_0x1687d5[_0xf4b1('0xa')]):{};}catch(_0x41bf68){logger[_0xf4b1('0x2d')]('An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function',_0x41bf68);}}try{_0x59ac68[_0xf4b1('0x6e')]=_0x1687d5[_0xf4b1('0x9')]?JSON[_0xf4b1('0x6d')](_0x1687d5[_0xf4b1('0x9')]):{};}catch(_0x1823de){logger[_0xf4b1('0x2d')]('An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function',_0x1823de);}if(_0x1687d5['computedVariables']){try{var _0x4a9a2f=require(_0x1687d5['computedVariables'])[_0xf4b1('0x6f')](this,_0x59ac68);_0x59ac68[_0xf4b1('0x70')]=Mustache['render'](_0x1687d5[_0xf4b1('0x65')],_0x4a9a2f,{},['$$','$$']);if(_0x59ac68[_0xf4b1('0x6e')]){_0x59ac68[_0xf4b1('0x6e')]=JSON['parse'](Mustache[_0xf4b1('0x71')](JSON['stringify'](_0x59ac68['headers']),_0x4a9a2f,{},['$$','$$']));}if(_0x59ac68['body']){_0x59ac68[_0xf4b1('0x6c')]=JSON[_0xf4b1('0x6d')](Mustache['render'](JSON['stringify'](_0x59ac68[_0xf4b1('0x6c')]),_0x4a9a2f,{},['$$','$$']));}}catch(_0x49302a){logger[_0xf4b1('0x2d')](_0xf4b1('0x72'),_0x49302a);}}rp(_0x59ac68)[_0xf4b1('0x10')](function(_0x1a3280){var _0x5c6441={'statusCode':_0x1a3280[_0xf4b1('0x73')]||0xc8,'statusMessage':_0x1a3280[_0xf4b1('0x74')]||'OK','headers':_0x1a3280[_0xf4b1('0x6e')]||{},'body':_0x1a3280[_0xf4b1('0x6c')]||{}};_0x5af286(null,_0x5c6441);})[_0xf4b1('0x12')](function(_0x322422){var _0x16e3ff={'statusCode':_0x322422['statusCode']||0x1f4,'statusMessage':_0x322422[_0xf4b1('0x75')]||_0xf4b1('0x76'),'headers':_0x322422[_0xf4b1('0x77')][_0xf4b1('0x6e')]||{},'body':_0x322422[_0xf4b1('0x77')]['body']||{}};_0x5af286(null,_0x16e3ff);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x78')]=function(_0x704d5a,_0x2fd77b){scripts['googleDialogflow'](this['channel'][_0xf4b1('0x3c')],_0x704d5a[_0xf4b1('0x79')],_0x704d5a[_0xf4b1('0x5e')],_0x704d5a[_0xf4b1('0x7a')]||'en')['then'](function(_0x3a0e3e){_0x2fd77b(null,_0x3a0e3e);})[_0xf4b1('0x12')](function(_0x2787f0){_0x2fd77b(_0x2787f0);});};AGIVertices[_0xf4b1('0x13')]['googleDialogflowV2']=function(_0x503f3f,_0x13d74f){scripts[_0xf4b1('0x7b')](this[_0xf4b1('0x38')]['uniqueid'],_0x503f3f[_0xf4b1('0x7c')],_0x503f3f[_0xf4b1('0x7d')],_0x503f3f[_0xf4b1('0x7e')],_0x503f3f[_0xf4b1('0x5e')],_0x503f3f['dialogflowV2_language']||'en')[_0xf4b1('0x10')](function(_0x6fd319){_0x13d74f(null,_0x6fd319);})[_0xf4b1('0x12')](function(_0x31b397){_0x13d74f(_0x31b397);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x7f')]=function(_0x5f1e34,_0x272e3e){scripts[_0xf4b1('0x7f')](this[_0xf4b1('0x38')],_0x5f1e34)[_0xf4b1('0x10')](function(_0x456634){_0x272e3e(null,_0x456634);})['catch'](function(_0x6fe30c){_0x272e3e(_0x6fe30c);});};AGIVertices['prototype'][_0xf4b1('0x80')]=function(_0x1e12bd,_0x43f176){scripts[_0xf4b1('0x80')](_0x1e12bd[_0xf4b1('0x79')],_0x1e12bd[_0xf4b1('0x5e')],_0x1e12bd[_0xf4b1('0x81')]||_0xf4b1('0x82'),_0x1e12bd[_0xf4b1('0x83')])['then'](function(_0x111859){_0x43f176(null,_0x111859);})[_0xf4b1('0x12')](function(_0x54df44){_0x43f176(_0x54df44);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x84')]=function(_0x2d9472,_0xf8e916,_0x44e9f8){scripts[_0xf4b1('0x84')](_0xf8e916,_0x2d9472[_0xf4b1('0x79')],_0x2d9472[_0xf4b1('0x85')]||_0xf4b1('0x82'),this[_0xf4b1('0x86')](_0x2d9472[_0xf4b1('0x87')])?_0x2d9472[_0xf4b1('0x87')]:undefined)[_0xf4b1('0x10')](function(_0x55fda5){_0x44e9f8(null,_0x55fda5);})[_0xf4b1('0x12')](function(_0x1532c8){_0x44e9f8(_0x1532c8);});};AGIVertices[_0xf4b1('0x13')]['awsPolly']=function(_0x4236c2,_0x26584c){scripts[_0xf4b1('0x88')](_0x4236c2['aws_access_key_id'],_0x4236c2[_0xf4b1('0x89')],_0x4236c2['aws_polly_region'],_0x4236c2[_0xf4b1('0x8a')]||_0xf4b1('0x8b'),_0x4236c2['text'],_0x4236c2[_0xf4b1('0x8c')]||_0xf4b1('0x5e'))['then'](function(_0x267e89){_0x26584c(null,_0x267e89);})['catch'](function(_0x423833){_0x26584c(_0x423833);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x8d')]=function(_0x493c60,_0x1df6ee){scripts[_0xf4b1('0x8d')](this['channel']['uniqueid'],_0x493c60['aws_access_key_id'],_0x493c60[_0xf4b1('0x89')],_0x493c60['aws_lex_region'],_0x493c60['text'],_0x493c60[_0xf4b1('0x8e')])[_0xf4b1('0x10')](function(_0x5d53b6){_0x1df6ee(null,_0x5d53b6);})['catch'](function(_0x5db51b){_0x1df6ee(_0x5db51b);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x8f')]=function(_0x3c6e53,_0x31c1af,_0x20194b){scripts[_0xf4b1('0x8f')](_0x31c1af,_0x3c6e53[_0xf4b1('0x79')],_0x3c6e53[_0xf4b1('0x90')]||_0xf4b1('0x82'))[_0xf4b1('0x10')](function(_0x30a54b){_0x20194b(null,_0x30a54b);})[_0xf4b1('0x12')](function(_0x53277d){_0x20194b(_0x53277d);});};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x91')]=function(_0x406f2d,_0x5eb9a7,_0x138910){scripts[_0xf4b1('0x91')](_0x5eb9a7,_0x406f2d['appid'],_0x406f2d[_0xf4b1('0x92')],_0x406f2d['uri'])[_0xf4b1('0x10')](function(_0x39856c){_0x138910(null,_0x39856c);})['catch'](function(_0x5dd5ee){_0x138910(_0x5dd5ee);});};AGIVertices['prototype'][_0xf4b1('0x93')]=function(_0x172403){var _0x1f7b4e=_[_0xf4b1('0x69')](verticesWithRetry,_0x172403[_0xf4b1('0x3a')])?_0x172403:_[_0xf4b1('0x94')](_0x172403);for(var _0x25e56d in _0x1f7b4e){if(_0x1f7b4e[_0xf4b1('0x95')](_0x25e56d)){if(_0x1f7b4e[_0x25e56d]&&_[_0xf4b1('0x96')](_0x1f7b4e[_0x25e56d])){if(_['includes'](recursiveMapAttributes,_0x25e56d)){_0x1f7b4e[_0x25e56d]=this['replaceObjectAllVariables'](_0x1f7b4e[_0x25e56d]);}else{_0x1f7b4e[_0x25e56d]=this['replaceAllVariables'](_0x1f7b4e[_0x25e56d]);}}}}return _0x1f7b4e;};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x97')]=function(_0x5c3346){for(var _0x5e12c2 in _0x5c3346){if(_0x5c3346['hasOwnProperty'](_0x5e12c2)){if(_[_0xf4b1('0x98')](_0x5c3346[_0x5e12c2])){this[_0xf4b1('0x97')](_0x5c3346[_0x5e12c2]);}else if(_[_0xf4b1('0x99')](_0x5c3346[_0x5e12c2])){for(var _0x502c4f=0x0;_0x502c4f<_0x5c3346[_0x5e12c2][_0xf4b1('0x9a')];_0x502c4f++){this['recursiveNodeIndex'](_0x5c3346[_0x5e12c2][_0x502c4f]);}}else if(_[_0xf4b1('0x96')](_0x5c3346[_0x5e12c2])){_0x5c3346[_0x5e12c2]=this['replaceAllVariables'](_0x5c3346[_0x5e12c2]);}}}};AGIVertices['prototype']['saveRestApiResult']=function(_0x173d19,_0x17cd0d){for(var _0x18d326 in _0x173d19){if(_0x173d19['hasOwnProperty'](_0x18d326)){if(_[_0xf4b1('0x98')](_0x173d19[_0x18d326])){if(!_['isEmpty'](_0x173d19[_0x18d326])){this[_0xf4b1('0x9b')](_0x173d19[_0x18d326],util['format'](_0xf4b1('0x9c'),_0x17cd0d,_0x18d326));}}else if(_[_0xf4b1('0x99')](_0x173d19[_0x18d326])){for(var _0x3675f2=0x0;_0x3675f2<_0x173d19[_0x18d326][_0xf4b1('0x9a')];_0x3675f2++){this[_0xf4b1('0x9b')](_0x173d19[_0x18d326][_0x3675f2],util[_0xf4b1('0x29')](_0xf4b1('0x9c'),_0x17cd0d,_0x18d326+'['+_0x3675f2+']'));}}else{if(!_[_0xf4b1('0x46')](_0x173d19[_0x18d326])){this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util['format']('%s.%s',_0x17cd0d,_0x18d326),_0x173d19[_0x18d326]);}}}}};AGIVertices['prototype']['replaceObjectAllVariables']=function(_0x545d5c){try{var _0x304a8e=JSON[_0xf4b1('0x6d')](_0x545d5c);this['recursiveNodeIndex'](_0x304a8e);return JSON['stringify'](_0x304a8e);}catch(_0x4aa232){return this[_0xf4b1('0x9e')](_0x545d5c);}};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x9e')]=function(_0x5eab5e){var _0x8b640e=_0x5eab5e[_0xf4b1('0x9f')]('{');for(var _0x406e81=0x1;_0x406e81<_0x8b640e[_0xf4b1('0x9a')];_0x406e81+=0x1){var _0x3fce20=_0x8b640e[_0x406e81][_0xf4b1('0x9f')]('}');if(_0x3fce20['length']>0x1){_0x5eab5e=_0x5eab5e[_0xf4b1('0xa0')]('{'+_0x3fce20[0x0]+'}',this[_0xf4b1('0x38')][_0xf4b1('0xe')](_0x3fce20[0x0])['extra']||_0x3fce20[0x0]);}}if(_0x8b640e[_0xf4b1('0x9a')]===0x1){return _0x5eab5e[_0xf4b1('0x4c')]();}return this[_0xf4b1('0x9e')](_0x5eab5e);};AGIVertices['prototype'][_0xf4b1('0xa1')]=function(_0x1e09e6,_0x3dfec6){var _0x593cfc=this[_0xf4b1('0x38')][_0xf4b1('0xe')](_0x1e09e6);if(_0x593cfc['result']===-0x1){return _0x593cfc;}logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xa2'),_0x3dfec6,_0x593cfc['extra']));return this[_0xf4b1('0x38')][_0xf4b1('0x9d')](_0x3dfec6,_0x593cfc[_0xf4b1('0xa3')]);};AGIVertices['prototype'][_0xf4b1('0x86')]=function(_0x108d62){return _0x108d62&&_0x108d62!=='0'&&_0x108d62!=='-1'&&_0x108d62!=='';};AGIVertices['prototype']['maxRetry']=function(_0x97135d){this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x97135d,'-');_0x97135d[_0xf4b1('0xa4')]=_0x97135d['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xa5')]=function(_0x907b0b){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20MRCPSynth\x20(%s)\x20block',_0x907b0b['label']));if(!this[_0xf4b1('0x86')](_0x907b0b[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}var _0x4182e8='\x22'+_0x907b0b[_0xf4b1('0x5e')]+'\x22';if(this[_0xf4b1('0x86')](_0x907b0b[_0xf4b1('0x77')])){_0x4182e8+=','+_0x907b0b[_0xf4b1('0x77')];}var _0x52bde8=this['channel']['exec'](_0xf4b1('0xa8'),_0x4182e8);if(_0x52bde8[_0xf4b1('0xa9')]===-0x1){return _0x52bde8;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0xaa'),_0x4182e8));};AGIVertices[_0xf4b1('0x13')]['mrcprecog']=function(_0x22f9d1){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xab'),_0x22f9d1[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x22f9d1[_0xf4b1('0xac')])){return this['channel'][_0xf4b1('0xa6')]('no\x20grammar\x20configured');}var _0x1529c0=_0x22f9d1['grammar'];if(this[_0xf4b1('0x86')](_0x22f9d1[_0xf4b1('0x77')])){_0x1529c0+=','+_0x22f9d1['options'];}var _0x271abd=this[_0xf4b1('0x38')][_0xf4b1('0x5a')]('MRCPRecog',_0x1529c0);if(_0x271abd[_0xf4b1('0xa9')]===-0x1){return _0x271abd;}var _0x24e411=this[_0xf4b1('0xa1')]('RECOG_CONFIDENCE()',_0xf4b1('0xad'));if(_0x24e411[_0xf4b1('0xa9')]===-0x1){return _0x24e411;}var _0x44b0bf=this['getAndSetVariable']('RECOG_INPUT()',_0xf4b1('0xae'));if(_0x44b0bf['result']===-0x1){return _0x44b0bf;}var _0x2cd258=this[_0xf4b1('0xa1')]('RECOG_INSTANCE()',_0xf4b1('0xaf'));if(_0x2cd258[_0xf4b1('0xa9')]===-0x1){return _0x2cd258;}return this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xb0'),_0x1529c0));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x7')]=function(_0x304155){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xb1'),_0x304155[_0xf4b1('0x39')]));return this['channel'][_0xf4b1('0x7')]([_0x304155[_0xf4b1('0xb2')],_0x304155['args']]);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xb3')]=function(_0x13d101){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xb4'),_0x13d101[_0xf4b1('0x39')]));if(this[_0xf4b1('0x86')](_0x13d101[_0xf4b1('0x68')])){logger['info'](util['format'](_0xf4b1('0xb5'),_0x13d101[_0xf4b1('0x68')]));var _0x2b9b4a=this[_0xf4b1('0x38')][_0xf4b1('0xb6')](_0x13d101['timeout']);if(_0x2b9b4a['result']===-0x1){return _0x2b9b4a;}}return this['channel'][_0xf4b1('0xb3')]();};AGIVertices[_0xf4b1('0x13')]['callback']=function(_0x123d0f){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xb7'),_0x123d0f[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x123d0f[_0xf4b1('0x4a')])){return this['channel'][_0xf4b1('0x2d')](_0x123d0f,'no\x20list\x20selected');}_0x123d0f[_0xf4b1('0xb8')]=moment();if(this[_0xf4b1('0x86')](_0x123d0f['delay'])){_0x123d0f['scheduledAt']=moment()[_0xf4b1('0xb9')](_0x123d0f[_0xf4b1('0xba')],_0xf4b1('0xbb'));}if(!this[_0xf4b1('0x86')](_0x123d0f[_0xf4b1('0x4d')])){_0x123d0f['callback_priority']=0x2;}this[_0xf4b1('0x44')]['sync'](this,_0x123d0f);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xbc'),_0x123d0f[_0xf4b1('0x49')],_0x123d0f['list_id'],_0x123d0f[_0xf4b1('0xb8')]));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xbd')]=function(_0x1a785f){logger['info'](util[_0xf4b1('0x29')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x1a785f[_0xf4b1('0x39')]));var _0x4a2f98=this['channel'][_0xf4b1('0x5a')](_0x1a785f[_0xf4b1('0xbe')],_0x1a785f[_0xf4b1('0x77')]);if(_0x4a2f98[_0xf4b1('0xa9')]===-0x1){return _0x4a2f98;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0xbf'),_0x1a785f[_0xf4b1('0xbe')],_0x1a785f[_0xf4b1('0x77')]));};AGIVertices[_0xf4b1('0x13')]['lumenvoxtts']=function(_0x3848ee){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xc0'),_0x3848ee['label']));if(!this[_0xf4b1('0x86')](_0x3848ee[_0xf4b1('0x5e')])){return this['channel'][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}var _0x7da84a='\x22'+_0x3848ee[_0xf4b1('0x5e')]+'\x22';if(this[_0xf4b1('0x86')](_0x3848ee['options'])){_0x7da84a+=','+_0x3848ee[_0xf4b1('0x77')];}var _0x3e3d31=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0xa8'),_0x7da84a);if(_0x3e3d31['result']===-0x1){return _0x3e3d31;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xaa'),_0x7da84a));};AGIVertices['prototype'][_0xf4b1('0xc1')]=function(_0x51f326){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xc2'),_0x51f326['label']));if(!this['isConfigured'](_0x51f326[_0xf4b1('0x5e')])){return this['channel']['noop'](_0xf4b1('0xa7'));}var _0x3d5f41='\x22'+_0x51f326[_0xf4b1('0x5e')]+'\x22';if(this[_0xf4b1('0x86')](_0x51f326[_0xf4b1('0x77')])){_0x3d5f41+=','+_0x51f326[_0xf4b1('0x77')];}var _0x2d8e41=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0xa8'),_0x3d5f41);if(_0x2d8e41[_0xf4b1('0xa9')]===-0x1){return _0x2d8e41;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('Executed\x20command\x20MRCPSynth\x20%s',_0x3d5f41));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xc3')]=function(_0x91ef9c){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0xc4'),_0x91ef9c[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x91ef9c['grammar'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xc5'));}var _0x5b0f25=_0x91ef9c[_0xf4b1('0xac')];if(this[_0xf4b1('0x86')](_0x91ef9c[_0xf4b1('0x77')])){_0x5b0f25+=','+_0x91ef9c[_0xf4b1('0x77')];}var _0x3cb2ea=this['channel']['exec'](_0xf4b1('0xc6'),_0x5b0f25);if(_0x3cb2ea[_0xf4b1('0xa9')]===-0x1){return _0x3cb2ea;}var _0x32cf8b=this['getAndSetVariable']('RECOG_CONFIDENCE()',_0xf4b1('0xc7'));if(_0x32cf8b['result']===-0x1){return _0x32cf8b;}var _0xbea107=this[_0xf4b1('0xa1')](_0xf4b1('0xc8'),_0xf4b1('0xc9'));if(_0xbea107[_0xf4b1('0xa9')]===-0x1){return _0xbea107;}var _0xec6c=this[_0xf4b1('0xa1')](_0xf4b1('0xca'),_0xf4b1('0xcb'));if(_0xec6c[_0xf4b1('0xa9')]===-0x1){return _0xec6c;}return this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xb0'),_0x5b0f25));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xcc')]=function(_0x5601e4){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xcd'),_0x5601e4[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x5601e4[_0xf4b1('0xac')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xc5'));}var _0x56aaf5=_0x5601e4[_0xf4b1('0xac')];if(this[_0xf4b1('0x86')](_0x5601e4[_0xf4b1('0x77')])){_0x56aaf5+=','+_0x5601e4[_0xf4b1('0x77')];}var _0x280ea4=this[_0xf4b1('0x38')][_0xf4b1('0x5a')]('MRCPRecog',_0x56aaf5);if(_0x280ea4[_0xf4b1('0xa9')]===-0x1){return _0x280ea4;}var _0x4b56a0=this[_0xf4b1('0xa1')](_0xf4b1('0xce'),_0xf4b1('0xcf'));if(_0x4b56a0[_0xf4b1('0xa9')]===-0x1){return _0x4b56a0;}var _0x4db8d0=this['getAndSetVariable'](_0xf4b1('0xc8'),_0xf4b1('0xd0'));if(_0x4db8d0['result']===-0x1){return _0x4db8d0;}var _0x4b5653=this[_0xf4b1('0xa1')](_0xf4b1('0xca'),_0xf4b1('0xd1'));if(_0x4b5653[_0xf4b1('0xa9')]===-0x1){return _0x4b5653;}return this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')]('Executed\x20command\x20MRCPRecog\x20%s',_0x56aaf5));};AGIVertices['prototype'][_0xf4b1('0xd2')]=function(_0x20c774){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xd3'),_0x20c774[_0xf4b1('0x39')]));if(!this['isConfigured'](_0x20c774[_0xf4b1('0xd4')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x20c774,_0xf4b1('0xd5'));}var _0x482cc7=this[_0xf4b1('0x17')][_0xf4b1('0x6f')](this,_0x20c774[_0xf4b1('0xd4')]);if(!_0x482cc7){return this[_0xf4b1('0x38')]['error'](_0x20c774,'no\x20odbc\x20database\x20found');}if(!this[_0xf4b1('0x86')](_0x20c774[_0xf4b1('0x30')])){return this['channel'][_0xf4b1('0x2d')](_0x20c774,_0xf4b1('0xd6'));}var _0x3f957e=_0x20c774[_0xf4b1('0x30')]['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0xd7'),_0x3f957e));var _0x471473=this[_0xf4b1('0x2b')][_0xf4b1('0x6f')](this,_0x482cc7,_0x3f957e);this['createSquareDetailsReport'][_0xf4b1('0x6f')](this,_0x20c774,_0x3f957e);if(!this[_0xf4b1('0x86')](_0x20c774[_0xf4b1('0xd8')])){return this[_0xf4b1('0x38')]['noop']('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x2a19b1=this[_0xf4b1('0xe')][_0xf4b1('0x6f')](this,_0x20c774[_0xf4b1('0xd8')]);if(!_0x2a19b1){return this['channel']['error'](_0x20c774,'no\x20variable\x20found');}var _0x2a3b1c=this;_0x471473[_0xf4b1('0xd9')](function(_0x55fcd6,_0x2fb811){Object[_0xf4b1('0xda')](_0x55fcd6)[_0xf4b1('0xd9')](function(_0x3275d3){_0x2a3b1c[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0xdb'),_0x2a19b1,_0x2fb811,_0x3275d3),_0x55fcd6[_0x3275d3]);});});this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0xdc'),_0x2a19b1),_0x471473[_0xf4b1('0x9a')]);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0xdd'),_0x2a19b1));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xde')]=function(_0x3ff747){logger['debug'](util[_0xf4b1('0x29')](_0xf4b1('0xdf'),_0x3ff747[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x3ff747[_0xf4b1('0xe0')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x3ff747,_0xf4b1('0xe1'));}var _0x45ac3c=this[_0xf4b1('0x1a')][_0xf4b1('0x6f')](this,_0x3ff747['sip_id']);if(!_0x45ac3c){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x3ff747,_0xf4b1('0xe2'));}var _0x28ca60=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0xe3'),[util['format']('SIP/%s',_0x45ac3c),_0x3ff747['timeout'],_0x3ff747[_0xf4b1('0xe4')],_0x3ff747[_0xf4b1('0x65')]]);if(_0x28ca60['result']===-0x1){return _0x28ca60;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('Executed\x20command\x20%s',_0xf4b1('0xe3')));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xe5')]=function(_0x1dcafb){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x1dcafb[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x1dcafb['key'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xe6'));}if(!this['isConfigured'](_0x1dcafb[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')][_0xf4b1('0xe7')]=!![];this[_0xf4b1('0x37')](_0x1dcafb);this[_0xf4b1('0x43')](_0x1dcafb[_0xf4b1('0x5e')],'in','','');this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xe8'),_0x1dcafb[_0xf4b1('0x5e')]));var _0x40b11e=this[_0xf4b1('0x78')][_0xf4b1('0x6f')](this,_0x1dcafb);if(_0x40b11e){for(var _0x4828ac in _0x40b11e){if(_0x40b11e[_0xf4b1('0x95')](_0x4828ac)){this['channel']['setVariable'](util[_0xf4b1('0x29')](_0xf4b1('0xe9'),_0x4828ac[_0xf4b1('0x6b')]()),_0x40b11e[_0x4828ac]);}}this[_0xf4b1('0x43')](_0x40b11e[_0xf4b1('0xea')],'out',_0xf4b1('0xe5'),'');return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format']('Dialogflow\x20Result\x20%s',_0x40b11e['speech']));}return this['channel']['error'](_0x1dcafb,_0xf4b1('0xeb'));};AGIVertices[_0xf4b1('0x13')]['dialogflowV2']=function(_0x298587){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xec'),_0x298587[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x298587[_0xf4b1('0x7c')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0xed'));}if(!this[_0xf4b1('0x86')](_0x298587['client_email'])){return this[_0xf4b1('0x38')]['noop']('no\x20client_email\x20configured');}if(!this[_0xf4b1('0x86')](_0x298587[_0xf4b1('0x7e')])){return this['channel'][_0xf4b1('0xa6')](_0xf4b1('0xee'));}if(!this['isConfigured'](_0x298587['dialogflowV2_language'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')]('no\x20anguage\x20configured');}if(!this[_0xf4b1('0x86')](_0x298587[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this['channel']['bot']=!![];this[_0xf4b1('0x37')](_0x298587);this[_0xf4b1('0x43')](_0x298587[_0xf4b1('0x5e')],'in','','');this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xef'),_0x298587[_0xf4b1('0x5e')]));var _0x445647=this[_0xf4b1('0x7b')][_0xf4b1('0x6f')](this,_0x298587);if(_0x445647){for(var _0x463623 in _0x445647){if(_0x445647[_0xf4b1('0x95')](_0x463623)){if(_0x463623!=='providerResponse'){this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util['format'](_0xf4b1('0xe9'),_0x463623[_0xf4b1('0x6b')]()),_0x445647[_0x463623]);}}}this[_0xf4b1('0x43')](_0x445647[_0xf4b1('0xea')],_0xf4b1('0xf0'),_0xf4b1('0xf1'),_0x445647[_0xf4b1('0xf2')]);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0xf3'),_0x445647[_0xf4b1('0xea')]));}return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x298587,_0xf4b1('0xf4'));};AGIVertices['prototype'][_0xf4b1('0xf5')]=function(_0x2bb38b){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0xf6'),_0x2bb38b[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x2bb38b['ndauth_url'])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0xf7'));}if(!this[_0xf4b1('0x86')](_0x2bb38b[_0xf4b1('0xf8')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0xf9'));}if(!this['isConfigured'](_0x2bb38b[_0xf4b1('0xfa')])){return this['channel']['noop'](_0xf4b1('0xfb'));}if(!this[_0xf4b1('0x86')](_0x2bb38b[_0xf4b1('0xfc')])){return this['channel']['noop'](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')][_0xf4b1('0xe7')]=!![];this[_0xf4b1('0x37')](_0x2bb38b);this[_0xf4b1('0x43')](_0x2bb38b[_0xf4b1('0x5e')],'in','','');this['channel']['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xfd'),_0x2bb38b[_0xf4b1('0x5e')]));var _0x21fc97=this[_0xf4b1('0x7f')][_0xf4b1('0x6f')](this,_0x2bb38b);if(_0x21fc97){for(var _0x48bfa4 in _0x21fc97){if(_0x21fc97['hasOwnProperty'](_0x48bfa4)){this['channel']['setVariable'](util['format']('SESTEK_NDA_%s',_0x48bfa4['toUpperCase']()),_0x21fc97[_0x48bfa4]);}}this[_0xf4b1('0x43')](_0x21fc97[_0xf4b1('0xea')],'out',_0xf4b1('0xf5'),'');if(_0x21fc97[_0xf4b1('0xfe')]){this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xff'),_0x21fc97[_0xf4b1('0xfe')]));var _0x545185=this[_0xf4b1('0x38')][_0xf4b1('0x100')](_0x21fc97[_0xf4b1('0xfe')]);try{fs[_0xf4b1('0x101')](_0x21fc97['audiofile']+_0xf4b1('0x102'));}catch(_0x5c21ae){logger['error'](_0x5c21ae);}return _0x545185;}else{return this['channel'][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x103'),_0x21fc97[_0xf4b1('0xea')]));}}return this['channel'][_0xf4b1('0x2d')](_0x2bb38b,_0xf4b1('0x104'));};AGIVertices[_0xf4b1('0x13')]['end']=function(_0x363c3a){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x105'),_0x363c3a[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x106'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x107')]=function(_0x30f126){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x108'),_0x30f126['label']));var _0x107233='';if(_0x30f126[_0xf4b1('0x109')]){if(!this['isConfigured'](_0x30f126[_0xf4b1('0x109')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x30f126,_0xf4b1('0x10a'));}else{var _0xa8df7d=parseInt(_0x30f126['trunk_id'],0xa);if(isNaN(_0xa8df7d)){_0x107233=_0x30f126[_0xf4b1('0x109')];}else{_0x107233=this['getTrunk'][_0xf4b1('0x6f')](this,_0x30f126[_0xf4b1('0x109')]);if(!_0x107233){return this['channel']['error'](_0x30f126,'no\x20trunk\x20found');}}}}else if(_0x30f126[_0xf4b1('0x10b')]){_0x107233=_0x30f126[_0xf4b1('0x10b')];}else{return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x30f126,_0xf4b1('0x10a'));}var _0x1aa3ba=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0xe3'),[util['format'](_0xf4b1('0x10c'),_0x107233,_0x30f126['phone']),_0x30f126[_0xf4b1('0x68')],_0x30f126['opts'],_0x30f126[_0xf4b1('0x65')]]);if(_0x1aa3ba[_0xf4b1('0xa9')]===-0x1){return _0x1aa3ba;}return this['channel'][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x10d'),_0xf4b1('0xe3')));};AGIVertices[_0xf4b1('0x13')]['finally']=function(_0x18593f){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x10e'),_0x18593f[_0xf4b1('0x39')]));return this['channel'][_0xf4b1('0xa6')](_0xf4b1('0x10f'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0xc')]=function(_0x188f88){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20GETDIGITS\x20(%s)\x20block',_0x188f88[_0xf4b1('0x39')]));if(_0x188f88[_0xf4b1('0xa4')]===0x0){return this[_0xf4b1('0x110')](_0x188f88);}_0x188f88['retry']-=0x1;if(!this[_0xf4b1('0x86')](_0x188f88[_0xf4b1('0x111')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x188f88,_0xf4b1('0x112'));}var _0xf8d4c7=this[_0xf4b1('0x113')][_0xf4b1('0x6f')](this,_0x188f88[_0xf4b1('0x111')]);if(!_0xf8d4c7){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x188f88,'no\x20file\x20audio\x20found');}if(!this[_0xf4b1('0x86')](_0x188f88[_0xf4b1('0xd8')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0xf4b1('0x114'));}var _0x3c6efa=this[_0xf4b1('0x38')][_0xf4b1('0x115')](_0xf8d4c7,_0x188f88[_0xf4b1('0x116')],_0x188f88['maxdigit']);var _0x222bf9=_0x3c6efa[_0xf4b1('0xa9')]?_0x3c6efa['result'][_0xf4b1('0x4c')]():'';logger[_0xf4b1('0x2f')](_0xf4b1('0x117'),JSON[_0xf4b1('0x118')](_0x3c6efa));if(_0x3c6efa['result']===-0x1){this[_0xf4b1('0x37')]['sync'](this,_0x188f88,_0x222bf9);return _0x3c6efa;}else if(_0x3c6efa[_0xf4b1('0xa3')]===_0xf4b1('0x68')){_0x3c6efa[_0xf4b1('0xa9')]=_0x222bf9[_0xf4b1('0x9a')]>=parseInt(_0x188f88[_0xf4b1('0x119')])?'x':'i';}else{_0x3c6efa[_0xf4b1('0xa9')]=_0x222bf9['length']>=parseInt(_0x188f88[_0xf4b1('0x119')])&&_0x222bf9[_0xf4b1('0x9a')]<=parseInt(_0x188f88[_0xf4b1('0x11a')])?'x':'i';}var _0x5a6261=this['getVariable'][_0xf4b1('0x6f')](this,_0x188f88[_0xf4b1('0xd8')]);if(!_0x5a6261){return this['channel'][_0xf4b1('0x2d')](_0x188f88,_0xf4b1('0x11b'));}this['channel'][_0xf4b1('0x9d')](_0x5a6261,_0x222bf9);if(this[_0xf4b1('0x86')](_0x188f88[_0xf4b1('0x11c')])){var _0x534569=parseInt(_0x188f88[_0xf4b1('0x11c')],0xa);var _0x4dfc54=rs['generate']({'charset':'*','length':_0x534569});var _0x4a35b5=_0x222bf9[_0xf4b1('0x9a')];if(_0x4a35b5>0x0){if(_0x4a35b5>_0x534569){this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x188f88,_0x188f88[_0xf4b1('0x11d')]===_0xf4b1('0x11e')?_0x4dfc54+_0x222bf9[_0xf4b1('0x11f')](_0x534569):_0x222bf9[_0xf4b1('0x11f')](0x0,_0x4a35b5-_0x534569)+_0x4dfc54);}else{this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x188f88,rs[_0xf4b1('0x120')]({'charset':'*','length':_0x4a35b5}));}}else{this['createSquareDetailsReport']['sync'](this,_0x188f88,'');}}else{this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x188f88,_0x222bf9);}return _0x3c6efa;};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x121')]=function(_0x5c9abd){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block',_0x5c9abd[_0xf4b1('0x39')]));return this[_0xf4b1('0xc')](_0x5c9abd);};AGIVertices[_0xf4b1('0x13')]['goal']=function(_0x682d83){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20GOAL\x20(%s)\x20block',_0x682d83[_0xf4b1('0x39')]));this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x682d83,_0x682d83[_0xf4b1('0x122')]);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x123'),_0x682d83[_0xf4b1('0x122')]));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x124')]=function(_0x3b092f){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block',_0x3b092f['label']));if(!this[_0xf4b1('0x86')](_0x3b092f[_0xf4b1('0x125')])||!this[_0xf4b1('0x86')](_0x3b092f[_0xf4b1('0x89')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0x126'));}if(!this[_0xf4b1('0x86')](_0x3b092f[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x127'),_0x3b092f['text']));var _0x421489=this[_0xf4b1('0x88')]['sync'](this,_0x3b092f);if(_0x421489){this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('aws\x20Polly\x20%s\x20file\x20created',_0x421489));var _0x189b7a=this[_0xf4b1('0x38')]['streamFile'](_0x421489);try{fs[_0xf4b1('0x101')](_0x421489+_0xf4b1('0x102'));}catch(_0x19e2af){logger[_0xf4b1('0x2d')](_0x19e2af);}return _0x189b7a;}return this[_0xf4b1('0x38')]['error'](_0x3b092f,_0xf4b1('0x128'));};AGIVertices['prototype'][_0xf4b1('0x129')]=function(_0x2f9be){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x12a'),_0x2f9be[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x2f9be['aws_access_key_id'])||!this['isConfigured'](_0x2f9be[_0xf4b1('0x89')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')]('no\x20valid\x20credentials\x20configured');}if(!this[_0xf4b1('0x86')](_0x2f9be[_0xf4b1('0x8e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x12b'));}if(!this['isConfigured'](_0x2f9be['text'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')]('no\x20text\x20configured');}this[_0xf4b1('0x38')][_0xf4b1('0xe7')]=!![];this['createSquareDetailsReport'](_0x2f9be);this[_0xf4b1('0x43')](_0x2f9be[_0xf4b1('0x5e')],'in','','');this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x12c'),_0x2f9be[_0xf4b1('0x5e')]));var _0x7c58da=this[_0xf4b1('0x8d')][_0xf4b1('0x6f')](this,_0x2f9be);if(_0x7c58da){for(var _0x5499ec in _0x7c58da){if(_0x7c58da[_0xf4b1('0x95')](_0x5499ec)&&_['isString'](_0x7c58da[_0x5499ec])){this[_0xf4b1('0x38')]['setVariable'](util[_0xf4b1('0x29')]('AWS_LEX_%s',_0x5499ec[_0xf4b1('0x6b')]()),_0x7c58da[_0x5499ec]);}}if(_[_0xf4b1('0x46')](_0x7c58da['message'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this['createSquareMessage'](_0x7c58da[_0xf4b1('0x75')],_0xf4b1('0xf0'),_0xf4b1('0x12d'),'');return this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')]('Amazon\x20Lex\x20Result\x20%s',_0x7c58da[_0xf4b1('0x75')]));}}return this['channel'][_0xf4b1('0x2d')](_0x2f9be,_0xf4b1('0x12e'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x12f')]=function(_0x2d5a57){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x130'),_0x2d5a57[_0xf4b1('0x39')],_0x2d5a57[_0xf4b1('0x68')]));if(!this['isConfigured'](_0x2d5a57[_0xf4b1('0x79')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xe6'));}var _0x207023=_0xf4b1('0x131');var _0xa17629=util[_0xf4b1('0x29')](_0xf4b1('0x132'),FILES_PATH,rs[_0xf4b1('0x120')](0x4));var _0x3ef386=util['format'](_0xf4b1('0x9c'),_0xa17629,_0x207023);var _0x435252=!![];if(_0x2d5a57[_0xf4b1('0x133')]===_0xf4b1('0x134')){_0x435252=![];}var _0x50f378=this['channel'][_0xf4b1('0x135')](_0xa17629,_0x207023,_0x2d5a57[_0xf4b1('0x136')],_0x2d5a57[_0xf4b1('0x68')],undefined,_0x435252);if(_0x50f378[_0xf4b1('0xa9')]!==-0x1){this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x137'),_0x3ef386));var _0x2a19f2=this[_0xf4b1('0x8f')]['sync'](this,_0x2d5a57,_0x3ef386);if(_0x2a19f2){for(var _0x2431e9 in _0x2a19f2){if(_0x2a19f2[_0xf4b1('0x95')](_0x2431e9)){this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0x138'),_0x2431e9[_0xf4b1('0x6b')]()),_0x2a19f2[_0x2431e9]);}}return this['channel'][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x139'),JSON[_0xf4b1('0x118')](_0x2a19f2)));}}return _0x50f378;};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x13a')]=function(_0x307d85){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x13b'),_0x307d85[_0xf4b1('0x39')]));if(!this['isConfigured'](_0x307d85['appid'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x13c'));}if(!this[_0xf4b1('0x86')](_0x307d85['appsecret'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x13d'));}var _0x56bb3d=_0xf4b1('0x131');var _0x8fbede=util['format']('%s/recordings/%s',FILES_PATH,rs[_0xf4b1('0x120')](0x4));var _0x4ff353=util[_0xf4b1('0x29')](_0xf4b1('0x9c'),_0x8fbede,_0x56bb3d);var _0xb7dc60=!![];if(_0x307d85[_0xf4b1('0x133')]===_0xf4b1('0x134')){_0xb7dc60=![];}var _0x518d8d=this['channel'][_0xf4b1('0x135')](_0x8fbede,_0x56bb3d,_0x307d85[_0xf4b1('0x136')],_0x307d85[_0xf4b1('0x68')],undefined,_0xb7dc60);if(_0x518d8d['result']!==-0x1){this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x13e'),_0x4ff353));var _0x51bc66=this[_0xf4b1('0x91')][_0xf4b1('0x6f')](this,_0x307d85,_0x4ff353);if(_0x51bc66){for(var _0x4730d9 in _0x51bc66){if(_0x51bc66[_0xf4b1('0x95')](_0x4730d9)){this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0x13f'),_0x4730d9[_0xf4b1('0x6b')]()),_0x51bc66[_0x4730d9]);}}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x140'),JSON['stringify'](_0x51bc66)));}}return _0x518d8d;};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x141')]=function(_0x27d915){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x142'),_0x27d915[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')][_0xf4b1('0x143')](_0x27d915[_0xf4b1('0x144')],_0x27d915['extension'],_0x27d915[_0xf4b1('0x3e')]);};AGIVertices[_0xf4b1('0x13')]['gotoif']=function(_0x9734c3){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x145'),_0x9734c3[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x9734c3['condition'])){return this['channel'][_0xf4b1('0x2d')](_0x9734c3,'no\x20condition\x20configured');}try{var _0x102e5e=eval(_0x9734c3[_0xf4b1('0x146')])?_0xf4b1('0x147'):_0xf4b1('0x148');this['channel']['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x149'),_0x9734c3[_0xf4b1('0x146')],_0x102e5e));return{'code':0xc8,'result':_0x102e5e};}catch(_0x387dfd){return{'code':0xc8,'result':'false'};}};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x14a')]=function(_0x4040c0){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x14b'),_0x4040c0[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x4040c0[_0xf4b1('0x14c')])){return this[_0xf4b1('0x38')]['error'](_0x4040c0,_0xf4b1('0x14d'));}var _0x4e1ee3=this[_0xf4b1('0x14e')][_0xf4b1('0x6f')](this,_0x4040c0['interval_id']);if(!_0x4e1ee3){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x4040c0,_0xf4b1('0x14f'));}for(var _0x35440b=0x0;_0x35440b<_0x4e1ee3[_0xf4b1('0x9a')];_0x35440b+=0x1){var _0x31c86a=this['channel']['getVariable'](util[_0xf4b1('0x29')]('IFTIME(%s?true:false)',_0x4e1ee3[_0x35440b]));if(_0x31c86a[_0xf4b1('0xa9')]===-0x1){return _0x31c86a;}logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x150'),_0x4e1ee3[_0x35440b],_0x31c86a[_0xf4b1('0xa3')]));if(_0x31c86a['extra']===_0xf4b1('0x147')){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x150'),_0x4e1ee3[_0x35440b],_0xf4b1('0x147')));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('IFTIME\x20%s\x20%s',_0x4e1ee3[_0x35440b],'true'));return{'code':0xc8,'result':'true'};}else{logger['info'](util['format'](_0xf4b1('0x150'),_0x4e1ee3[_0x35440b],_0xf4b1('0x148')));this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x150'),_0x4e1ee3[_0x35440b],_0xf4b1('0x148')));}}return{'code':0xc8,'result':'false'};};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x151')]=function(_0x4fa011){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x152'),_0x4fa011[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')][_0xf4b1('0x151')]();};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x153')]=function(_0x560217){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x154'),_0x560217[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x560217[_0xf4b1('0x79')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0xe6'));}var _0x24d5ec='wav';var _0x45349b=util[_0xf4b1('0x29')](_0xf4b1('0x132'),FILES_PATH,rs[_0xf4b1('0x120')](0x4));var _0x35b9a7=util['format'](_0xf4b1('0x9c'),_0x45349b,_0x24d5ec);var _0x9d3fa=!![];if(_0x560217[_0xf4b1('0x133')]===_0xf4b1('0x134')){_0x9d3fa=![];}var _0x382ca4=this[_0xf4b1('0x38')][_0xf4b1('0x135')](_0x45349b,_0x24d5ec,_0x560217[_0xf4b1('0x136')],_0x560217[_0xf4b1('0x68')],undefined,_0x9d3fa);if(_0x382ca4[_0xf4b1('0xa9')]!==-0x1){this[_0xf4b1('0x38')]['noop'](util['format']('ispeech\x20%s\x20file\x20created',_0x35b9a7));var _0x34dc11=this[_0xf4b1('0x84')][_0xf4b1('0x6f')](this,_0x560217,_0x35b9a7);if(_0x34dc11){for(var _0x7854dd in _0x34dc11){if(_0x34dc11['hasOwnProperty'](_0x7854dd)){this['channel'][_0xf4b1('0x9d')](util[_0xf4b1('0x29')]('ISPEECH_ASR_%s',_0x7854dd[_0xf4b1('0x6b')]()),_0x34dc11[_0x7854dd]);}}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x155'),JSON[_0xf4b1('0x118')](_0x34dc11)));}}return _0x382ca4;};AGIVertices['prototype'][_0xf4b1('0x156')]=function(_0x36fb89){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x157'),_0x36fb89['label']));if(!this[_0xf4b1('0x86')](_0x36fb89[_0xf4b1('0x79')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0xe6'));}if(!this[_0xf4b1('0x86')](_0x36fb89[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x158'),_0x36fb89[_0xf4b1('0x5e')]));var _0x26b29f=this['ispeechTTS'][_0xf4b1('0x6f')](this,_0x36fb89);if(_0x26b29f){this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('ispeech\x20%s\x20file\x20created',_0x26b29f));var _0x21b3fe=this[_0xf4b1('0x38')][_0xf4b1('0x100')](_0x26b29f,_0x36fb89[_0xf4b1('0x136')]);try{fs['unlink'](_0x26b29f+_0xf4b1('0x102'));}catch(_0x1c0b93){logger[_0xf4b1('0x2d')](_0x1c0b93);}return _0x21b3fe;}return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x36fb89,_0xf4b1('0x159'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x15a')]=function(_0xb284fe){logger['info'](util[_0xf4b1('0x29')]('Enter\x20in\x20LOGIN\x20(%s)\x20block',_0xb284fe[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0xb284fe[_0xf4b1('0x15b')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0xb284fe,_0xf4b1('0x15c'));}logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x15d'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0xb284fe['findBy']));var _0x2088e4=this[_0xf4b1('0x55')][_0xf4b1('0x6f')](this,_0xb284fe[_0xf4b1('0x15b')]);if(_0x2088e4){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0xb284fe[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x15e'),this[_0xf4b1('0x38')]['callerid'],_0xb284fe[_0xf4b1('0x15b')]));return{'code':0xc8,'result':_0xf4b1('0x15f')};}else{logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x160'),this['channel'][_0xf4b1('0x52')],_0xb284fe[_0xf4b1('0x15b')]));this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x160'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0xb284fe[_0xf4b1('0x15b')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0xf4b1('0x13')]['logout']=function(_0x4b5002){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x161'),_0x4b5002[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x4b5002[_0xf4b1('0x15b')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x4b5002,_0xf4b1('0x15c'));}logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x15d'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x4b5002['findBy']));var _0x1cf9c4=this['agentLogout'][_0xf4b1('0x6f')](this,_0x4b5002[_0xf4b1('0x15b')]);if(_0x1cf9c4){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x4b5002[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x4b5002[_0xf4b1('0x15b')]));return{'code':0xc8,'result':_0xf4b1('0x15f')};}else{logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0xf4b1('0x38')]['callerid'],_0x4b5002[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel'][_0xf4b1('0x52')],_0x4b5002['findBy']));return{'code':0xc8,'result':_0xf4b1('0x162')};}};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x163')]=function(_0x4be13e){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x164'),_0x4be13e['label']));if(!this[_0xf4b1('0x86')](_0x4be13e[_0xf4b1('0x165')])){return this[_0xf4b1('0x38')]['error'](_0x4be13e,_0xf4b1('0x166'));}this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x167'),_0x4be13e[_0xf4b1('0x165')]));var _0x3c8fb4=eval(_0x4be13e[_0xf4b1('0x165')]);if(!this[_0xf4b1('0x86')](_0x4be13e[_0xf4b1('0xd8')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x114'));}var _0x403dce=this[_0xf4b1('0xe')]['sync'](this,_0x4be13e[_0xf4b1('0xd8')]);if(!_0x403dce){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x4be13e,'no\x20variable\x20found');}if(_[_0xf4b1('0x99')](_0x3c8fb4)){var _0x2fa3af=this;_0x3c8fb4[_0xf4b1('0xd9')](function(_0x41fdcb,_0x5f5a03){_0x2fa3af[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0x168'),_0x403dce,_0x5f5a03),_0x41fdcb);});return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('variable\x20%s[key]\x20set',_0x403dce));}else{return this[_0xf4b1('0x38')][_0xf4b1('0x9d')](_0x403dce,_0x3c8fb4);}};AGIVertices[_0xf4b1('0x13')]['menu']=function(_0x488aee){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x169'),_0x488aee[_0xf4b1('0x39')]));if(_0x488aee[_0xf4b1('0xa4')]===0x0){return this[_0xf4b1('0x110')](_0x488aee);}_0x488aee[_0xf4b1('0xa4')]-=0x1;if(!this['isConfigured'](_0x488aee[_0xf4b1('0x111')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x488aee,_0xf4b1('0x112'));}var _0x126977=this[_0xf4b1('0x113')][_0xf4b1('0x6f')](this,_0x488aee[_0xf4b1('0x111')]);if(!_0x126977){return this['channel'][_0xf4b1('0x2d')](_0x488aee,'no\x20file\x20audio\x20found');}var _0x31a60b=this[_0xf4b1('0x38')]['getData'](_0x126977,_0x488aee[_0xf4b1('0x116')],_0x488aee[_0xf4b1('0x16a')]);var _0x1762c3=_0x31a60b['result'];if(_0x31a60b[_0xf4b1('0xa9')]===-0x1){this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x488aee,'-1');return _0x31a60b;}else if(_0x31a60b[_0xf4b1('0xa3')]===_0xf4b1('0x68')){_0x31a60b[_0xf4b1('0xa9')]=_0x31a60b['result'][_0xf4b1('0x9a')]>0x0?_0x31a60b[_0xf4b1('0xa9')]:'t';}else if(_[_0xf4b1('0x45')](_0x31a60b['result'])){_0x31a60b[_0xf4b1('0xa9')]='#';_0x1762c3='#';}if(!this[_0xf4b1('0x86')](_0x488aee[_0xf4b1('0xd8')])){this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x114'));}else{var _0x26f114=this['getVariable'][_0xf4b1('0x6f')](this,_0x488aee[_0xf4b1('0xd8')]);if(!_0x26f114){return this[_0xf4b1('0x38')]['error'](_0x488aee,_0xf4b1('0x11b'));}this[_0xf4b1('0x38')]['setVariable'](_0x26f114,_0x1762c3);}this['createSquareDetailsReport'][_0xf4b1('0x6f')](this,_0x488aee,_0x1762c3);return _0x31a60b;};AGIVertices['prototype']['noop']=function(_0xddb6d0){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x16b'),_0xddb6d0[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')]['noop'](_0xddb6d0['output']||_0xddb6d0[_0xf4b1('0x39')]);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x16c')]=function(_0x3f9dac){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x16d'),_0x3f9dac['label']));if(!this[_0xf4b1('0x86')](_0x3f9dac[_0xf4b1('0x15b')])){return this['channel'][_0xf4b1('0x2d')](_0x3f9dac,'no\x20find\x20by\x20configured');}logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x15d'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x3f9dac[_0xf4b1('0x15b')]));var _0x10041e=this[_0xf4b1('0x4e')][_0xf4b1('0x6f')](this,_0x3f9dac[_0xf4b1('0x16e')]);var _0x2a3e94=this['agentPause'][_0xf4b1('0x6f')](this,_0x3f9dac[_0xf4b1('0x15b')],_0x10041e);if(_0x2a3e94){logger[_0xf4b1('0x2f')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x3f9dac['findBy']));this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x3f9dac[_0xf4b1('0x15b')]));return{'code':0xc8,'result':_0xf4b1('0x15f')};}else{logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x160'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x3f9dac[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x3f9dac['findBy']));return{'code':0xc8,'result':_0xf4b1('0x162')};}};AGIVertices[_0xf4b1('0x13')]['playback']=function(_0x597140){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x16f'),_0x597140[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x597140[_0xf4b1('0x111')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x597140,_0xf4b1('0x112'));}var _0x5194f1=this[_0xf4b1('0x113')][_0xf4b1('0x6f')](this,_0x597140[_0xf4b1('0x111')]);if(!_0x5194f1){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x597140,'no\x20file\x20audio\x20found');}var _0x3f3c4a=this['channel']['exec']('PLAYBACK',[_0x5194f1,_0x597140[_0xf4b1('0xe4')]]);if(_0x3f3c4a[_0xf4b1('0xa9')]===-0x1){return _0x3f3c4a;}return this['channel']['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xbf'),_0xf4b1('0x170'),_0x5194f1));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x171')]=function(_0x177b6b){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x172'),_0x177b6b[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x177b6b[_0xf4b1('0x173')])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x177b6b,_0xf4b1('0x174'));}var _0x37d74e='';var _0x5c2885=parseInt(_0x177b6b[_0xf4b1('0x173')],0xa);if(isNaN(_0x5c2885)){_0x37d74e=_0x177b6b[_0xf4b1('0x173')];}else{_0x37d74e=this[_0xf4b1('0x14')][_0xf4b1('0x6f')](this,_0x177b6b[_0xf4b1('0x173')]);if(!_0x37d74e){return this['channel'][_0xf4b1('0x2d')](_0x177b6b,_0xf4b1('0x175'));}}var _0x42e0db='';if(this[_0xf4b1('0x86')](_0x177b6b[_0xf4b1('0x111')])){var _0x41540b=this['getSound'][_0xf4b1('0x6f')](this,_0x177b6b['file_id']);if(_0x41540b){_0x42e0db=_0x41540b;}}this[_0xf4b1('0x37')]['sync'](this,_0x177b6b,_0x37d74e);if(_0x177b6b[_0xf4b1('0xe4')][_0xf4b1('0x176')]('x')<0x0){_0x177b6b[_0xf4b1('0xe4')]+='x';}if(_0x177b6b[_0xf4b1('0xe4')][_0xf4b1('0x176')]('X')<0x0){_0x177b6b['opts']+='X';}this['channel'][_0xf4b1('0x9d')](_0xf4b1('0x177'),_0x37d74e?_0x37d74e[_0xf4b1('0x178')]():'');var _0x5a3f90=this[_0xf4b1('0x38')][_0xf4b1('0x5a')]('QUEUE',[_0x37d74e,_0x177b6b[_0xf4b1('0xe4')],_0x177b6b[_0xf4b1('0x65')],_0x42e0db,_0x177b6b[_0xf4b1('0x68')],_0x177b6b[_0xf4b1('0x7')],_0x177b6b[_0xf4b1('0x179')],_0x177b6b['gosub'],'',_0x177b6b[_0xf4b1('0x17a')]]);if(_0x5a3f90['result']===-0x1){return _0x5a3f90;}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xbf'),_0xf4b1('0x17b'),_0x37d74e));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x17c')]=function(_0x53d310){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x17d'),_0x53d310[_0xf4b1('0x39')]));var _0xb98c29=_0x53d310['recordingFormat']||_0xf4b1('0x131');var _0x153ea6=util[_0xf4b1('0x29')](_0xf4b1('0x17e'),this['channel'][_0xf4b1('0x3c')],rs[_0xf4b1('0x120')](0x5));var _0x4209b9=util['format'](_0xf4b1('0x17f'),FILES_PATH,_0x153ea6,_0xb98c29);var _0x1b9b2a=util[_0xf4b1('0x29')]('%s/recordings/%s',FILES_PATH,_0x153ea6);this[_0xf4b1('0x3b')]['sync'](this,_0x53d310,_0x153ea6,_0x4209b9);this[_0xf4b1('0x38')][_0xf4b1('0x9d')](_0xf4b1('0x180'),_0x153ea6);logger['info'](_0xf4b1('0x181'),_0x1b9b2a,_0xb98c29,_0x53d310[_0xf4b1('0x182')],_0x53d310[_0xf4b1('0x68')]);return this[_0xf4b1('0x38')][_0xf4b1('0x135')](_0x1b9b2a,_0xb98c29,_0x53d310[_0xf4b1('0x182')],_0x53d310[_0xf4b1('0x68')],undefined,!![]);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x183')]=function(_0x3ee55a){logger['info'](util['format'](_0xf4b1('0x184'),_0x3ee55a[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x3ee55a['url'])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x185'));}var _0x57586e=this['restAPI'][_0xf4b1('0x6f')](this,_0x3ee55a);logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x186'),util[_0xf4b1('0x187')](_0x57586e,{'showHidden':![],'depth':null})));if(!this[_0xf4b1('0x86')](_0x3ee55a[_0xf4b1('0xd8')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')]('no\x20variable\x20selected\x20for\x20the\x20response');}var _0x39ae94=this[_0xf4b1('0xe')][_0xf4b1('0x6f')](this,_0x3ee55a[_0xf4b1('0xd8')]);if(!_0x39ae94){return this['channel']['error'](_0x3ee55a,'no\x20variable\x20found');}this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0x188'),_0x39ae94),_0x57586e[_0xf4b1('0x73')]?_0x57586e[_0xf4b1('0x73')]:_0xf4b1('0x189'));this[_0xf4b1('0x38')][_0xf4b1('0x9d')](util[_0xf4b1('0x29')](_0xf4b1('0x18a'),_0x39ae94),_0x57586e[_0xf4b1('0x74')]?_0x57586e[_0xf4b1('0x74')]:'OK');if(_0x57586e[_0xf4b1('0x6c')]){try{this[_0xf4b1('0x9b')](_0x57586e[_0xf4b1('0x6c')],_0x39ae94);}catch(_0x2d5d39){logger[_0xf4b1('0x2d')](util['format'](_0xf4b1('0x18b'),_0x39ae94));}}return this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xdd'),_0x39ae94));};AGIVertices['prototype'][_0xf4b1('0x18c')]=function(_0x5bf409){logger['info'](util['format'](_0xf4b1('0x18d'),_0x5bf409[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')]['sayDigits'](_0x5bf409[_0xf4b1('0x18e')][_0xf4b1('0x18f')](/\s+/g,''),_0x5bf409['escape_digits']);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x190')]=function(_0x4c805d){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x191'),_0x4c805d[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')][_0xf4b1('0x192')](_0x4c805d['number'][_0xf4b1('0x18f')](/\s+/g,''),_0x4c805d[_0xf4b1('0x182')]);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x193')]=function(_0x3ba9cb){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x194'),_0x3ba9cb['label']));return this['channel'][_0xf4b1('0x195')](_0x3ba9cb[_0xf4b1('0x5e')],_0x3ba9cb[_0xf4b1('0x182')]);};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x196')]=function(_0x369d67){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x197'),_0x369d67[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x369d67[_0xf4b1('0x198')])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0x199'));}var _0x3f1267=this['getMailAccount'][_0xf4b1('0x6f')](this,_0x369d67[_0xf4b1('0x198')]);if(!_0x3f1267||!_0x3f1267[_0xf4b1('0x19a')]){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x369d67,_0xf4b1('0x19b'));}var _0x1d09bf={'from':util[_0xf4b1('0x29')](_0xf4b1('0x19c'),_0x3f1267[_0xf4b1('0x11')],_0x3f1267[_0xf4b1('0x19d')]||_0x3f1267[_0xf4b1('0x19a')][_0xf4b1('0x19e')]),'to':_0x369d67['to']||'','cc':_0x369d67['cc']||'','bcc':_0x369d67[_0xf4b1('0x19f')]||'','subject':_0x369d67['subject'],'html':_0x369d67[_0xf4b1('0x5e')],'text':_0x369d67[_0xf4b1('0x5e')]};if(this[_0xf4b1('0x86')](_0x369d67[_0xf4b1('0x1a0')])){}logger[_0xf4b1('0x1a1')](_0xf4b1('0x1a2'),JSON[_0xf4b1('0x118')](_0x1d09bf));this[_0xf4b1('0x37')]['sync'](this,_0x369d67,_0x369d67[_0xf4b1('0x198')]);this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x1a3'),_0x3f1267[_0xf4b1('0x11')]));this[_0xf4b1('0x23')][_0xf4b1('0x6f')](this,_0x3f1267[_0xf4b1('0x1a4')],_0x1d09bf);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x1a5'));};AGIVertices['prototype'][_0xf4b1('0x1a6')]=function(_0x12f817){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x1a7'),_0x12f817[_0xf4b1('0x39')]));return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x1a8'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1a9')]=function(_0x1c8ce4){logger[_0xf4b1('0x2f')](util['format']('Enter\x20in\x20SENDSMS\x20(%s)\x20block',_0x1c8ce4['label']));if(!this[_0xf4b1('0x86')](_0x1c8ce4['sms_account_id'])){return this[_0xf4b1('0x38')]['noop'](_0xf4b1('0x1aa'));}var _0x243946=this[_0xf4b1('0x34')][_0xf4b1('0x6f')](this,_0x1c8ce4['sms_account_id']);if(!_0x243946){return this['channel'][_0xf4b1('0x2d')](_0x1c8ce4,_0xf4b1('0x1ab'));}var _0x34ecb1={'body':_0x1c8ce4[_0xf4b1('0x1ac')],'phone':_0x1c8ce4['to']||'','SmsAccountId':_0x243946['id']};logger['debug'](_0xf4b1('0x1ad'),JSON['stringify'](_0x34ecb1));this['createSquareDetailsReport']['sync'](this,_0x1c8ce4,_0x1c8ce4[_0xf4b1('0x1ae')]);this['channel']['noop'](util['format']('Trying\x20SendSMS\x20with\x20account\x20%s',_0x243946[_0xf4b1('0x11')]));this[_0xf4b1('0x36')][_0xf4b1('0x6f')](this,_0x34ecb1);return this['channel'][_0xf4b1('0xa6')](_0xf4b1('0x1af'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1b0')]=function(_0x36e6ec){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x1b1'),_0x36e6ec[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x36e6ec['variable_id'])){return this['channel'][_0xf4b1('0x2d')](_0x36e6ec,_0xf4b1('0x1b2'));}var _0x326ddf=this['getVariable'][_0xf4b1('0x6f')](this,_0x36e6ec[_0xf4b1('0xd8')]);if(!_0x326ddf){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x36e6ec,_0xf4b1('0x11b'));}return this[_0xf4b1('0x38')]['setVariable'](_0x326ddf,_0x36e6ec[_0xf4b1('0x1b3')]);};AGIVertices[_0xf4b1('0x13')]['start']=function(_0x3480fb){logger[_0xf4b1('0x2f')](util['format']('Enter\x20in\x20START\x20(%s)\x20block',_0x3480fb[_0xf4b1('0x39')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0x1b4'));var _0x5acbd0=this[_0xf4b1('0x38')][_0xf4b1('0xe')](_0xf4b1('0x1b5'));if(!_[_0xf4b1('0x45')](_0x5acbd0['extra'])){this['channel'][_0xf4b1('0x3c')]=_0x5acbd0['extra'];}if(_0x3480fb[_0xf4b1('0xb3')]===_0xf4b1('0x1b6')){this[_0xf4b1('0x38')]['noop'](_0xf4b1('0x1b7'));return this[_0xf4b1('0x38')][_0xf4b1('0xb3')]();}return this[_0xf4b1('0x38')]['noop']('Skipped\x20Answer');};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1b8')]=function(_0x22891f){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x22891f[_0xf4b1('0x39')]));if(!this['isConfigured'](_0x22891f['project_id'])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x22891f,_0xf4b1('0x1b9'));}var _0x8a4643=this[_0xf4b1('0x1ba')][_0xf4b1('0x6f')](this,_0x22891f[_0xf4b1('0x1bb')]);if(!this[_0xf4b1('0x86')](_0x8a4643)){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x22891f,util[_0xf4b1('0x29')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x22891f[_0xf4b1('0x1bb')]));}if(_0x8a4643===this['channel'][_0xf4b1('0x41')]){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x22891f,_0xf4b1('0x1bc'));}this[_0xf4b1('0x37')]['sync'](this,_0x22891f,_0x8a4643);var _0x153194=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0x1bd'),util['format'](_0xf4b1('0x1be'),config[_0xf4b1('0x7')][_0xf4b1('0x1bf')]||_0xf4b1('0x1c0'),_0x8a4643,this['channel'][_0xf4b1('0x41')]));if(_0x153194[_0xf4b1('0xa9')]===-0x1){return _0x153194;}return this['channel']['noop'](util[_0xf4b1('0x29')](_0xf4b1('0xbf'),_0xf4b1('0x1bd'),_0x8a4643));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1c1')]=function(_0x1387ac){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x1c2'),_0x1387ac['label']));var _0x4f3161=this[_0xf4b1('0x59')][_0xf4b1('0x6f')](this,_0x1387ac[_0xf4b1('0xb2')]);this[_0xf4b1('0x37')][_0xf4b1('0x6f')](this,_0x1387ac,_0x1387ac[_0xf4b1('0xb2')]);if(this[_0xf4b1('0x86')](_0x1387ac[_0xf4b1('0xd8')])){var _0x4e8389=this[_0xf4b1('0xe')]['sync'](this,_0x1387ac['variable_id']);if(_0x4e8389){this[_0xf4b1('0x38')][_0xf4b1('0x9d')](_0x4e8389,_0x4f3161);return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x1c3'),_0x1387ac[_0xf4b1('0xb2')],_0x4e8389));}}return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x1c4'),_0x1387ac[_0xf4b1('0xb2')]));};AGIVertices['prototype'][_0xf4b1('0x1c5')]=function(_0x3dc059){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')]('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x3dc059['label']));_0x3dc059[_0xf4b1('0x5e')]=_0x3dc059['text'][_0xf4b1('0x18f')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x3dc059[_0xf4b1('0x5d')])){return this['channel']['noop'](_0xf4b1('0x1c6'));}if(!this[_0xf4b1('0x86')](_0x3dc059[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x1c7'),_0x3dc059['text']));var _0x4690a6=this[_0xf4b1('0x5c')][_0xf4b1('0x6f')](this,_0x3dc059);if(_0x4690a6){this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x1c8'),_0x4690a6));var _0x1b829b=this[_0xf4b1('0x38')]['streamFile'](_0x4690a6);try{fs[_0xf4b1('0x101')](_0x4690a6+'.wav');}catch(_0x2e3fd7){logger[_0xf4b1('0x2d')](_0x2e3fd7);}return _0x1b829b;}return this['channel'][_0xf4b1('0x2d')](_0x3dc059,_0xf4b1('0x1c9'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1ca')]=function(_0x36dd92){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x1cb'),_0x36dd92['label']));_0x36dd92['text']=_0x36dd92[_0xf4b1('0x5e')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xf4b1('0x86')](_0x36dd92[_0xf4b1('0x5e')])){return this[_0xf4b1('0x38')][_0xf4b1('0xa6')](_0xf4b1('0xa7'));}this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x1cc'),_0x36dd92[_0xf4b1('0x5e')]));var _0x3560ea=this['googleTTS'][_0xf4b1('0x6f')](this,_0x36dd92);if(_0x3560ea){this['channel'][_0xf4b1('0xa6')](util['format'](_0xf4b1('0x1cd'),_0x3560ea));var _0x82599f=this[_0xf4b1('0x38')]['streamFile'](_0x3560ea);try{fs['unlink'](_0x3560ea+'.wav');}catch(_0x3bbcaf){logger['error'](_0x3bbcaf);}return _0x82599f;}return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x36dd92,_0xf4b1('0x1ce'));};AGIVertices[_0xf4b1('0x13')][_0xf4b1('0x1cf')]=function(_0x50c820){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x1d0'),_0x50c820[_0xf4b1('0x39')]));if(!this[_0xf4b1('0x86')](_0x50c820['findBy'])){return this[_0xf4b1('0x38')][_0xf4b1('0x2d')](_0x50c820,'no\x20find\x20by\x20configured');}logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x15d'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x50c820[_0xf4b1('0x15b')]));var _0x1ddf13=this['agentUnpause'][_0xf4b1('0x6f')](this,_0x50c820[_0xf4b1('0x15b')]);if(_0x1ddf13){logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this['channel'][_0xf4b1('0x52')],_0x50c820[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0x15e'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x50c820['findBy']));return{'code':0xc8,'result':_0xf4b1('0x15f')};}else{logger[_0xf4b1('0x2f')](util[_0xf4b1('0x29')](_0xf4b1('0x160'),this[_0xf4b1('0x38')]['callerid'],_0x50c820[_0xf4b1('0x15b')]));this[_0xf4b1('0x38')]['noop'](util[_0xf4b1('0x29')](_0xf4b1('0x160'),this[_0xf4b1('0x38')][_0xf4b1('0x52')],_0x50c820[_0xf4b1('0x15b')]));return{'code':0xc8,'result':_0xf4b1('0x162')};}};AGIVertices[_0xf4b1('0x13')]['voicemail']=function(_0x45bca8){logger[_0xf4b1('0x2f')](util['format'](_0xf4b1('0x1d1'),_0x45bca8[_0xf4b1('0x39')]));var _0xff259a=this[_0xf4b1('0x38')][_0xf4b1('0x5a')](_0xf4b1('0x1d2'),[_0x45bca8['mailbox'],_0x45bca8[_0xf4b1('0x77')]]);if(_0xff259a[_0xf4b1('0xa9')]===-0x1){return _0xff259a;}return this['channel'][_0xf4b1('0xa6')](util[_0xf4b1('0x29')](_0xf4b1('0xbf'),'VOICEMAIL',_0x45bca8[_0xf4b1('0x1d3')]));};AGIVertices[_0xf4b1('0x13')]['vswitch']=function(_0x3a9bf6){logger['info'](util[_0xf4b1('0x29')](_0xf4b1('0x1d4'),_0x3a9bf6[_0xf4b1('0x39')]));if(!this['isConfigured'](_0x3a9bf6[_0xf4b1('0xd8')])){return this[_0xf4b1('0x38')]['error'](_0x3a9bf6,_0xf4b1('0x1b2'));}var _0xf3c643=this[_0xf4b1('0xe')][_0xf4b1('0x6f')](this,_0x3a9bf6[_0xf4b1('0xd8')]);if(!_0xf3c643){return this['channel'][_0xf4b1('0x2d')](_0x3a9bf6,_0xf4b1('0x11b'));}var _0x51f4c2=this['channel'][_0xf4b1('0xe')](_0xf3c643);return{'code':0xc8,'result':_0x51f4c2[_0xf4b1('0xa3')]?_0x51f4c2['extra']:'-'};};String[_0xf4b1('0x13')][_0xf4b1('0xa0')]=function(_0x43fc51,_0x297c2b){return this[_0xf4b1('0x9f')](_0x43fc51)[_0xf4b1('0x1d5')](_0x297c2b);};module['exports']=AGIVertices;