Built motion from commit b0a9a629.|2.6.33
[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 _0xac95=['Enter\x20in\x20GOAL\x20(%s)\x20block','GOAL\x20%s','goalname','awspolly','[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','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','amazonlex','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','beep','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','tildeasr','no\x20appid\x20configured','no\x20appsecret\x20configured','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','continueAt','gotoif','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','true','EVAL\x20CONDITION\x20%s\x20%s','false','gotoiftime','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','Enter\x20in\x20HANGUP\x20(%s)\x20block','hangup','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeechASR','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','FIND\x20AGENT\x20%s\x20BY\x20%s','findBy','agentLogin','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','Enter\x20in\x20LOGOUT\x20(%s)\x20block','no\x20find\x20by\x20configured','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','no\x20operation\x20configured','math\x20%s','menu','no\x20file\x20audio\x20found','digit','output','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','Enter\x20in\x20QUEUE\x20(%s)\x20block','queue_id','no\x20queue\x20selected','getVoiceQueue','no\x20queue\x20found','indexOf','XMCS-QUEUE','QUEUE','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','200','%s_STATUS_MESSAGE','statusMessage','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','replace','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','email','bcc','template_id','debug','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','smtpOptions','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','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','no\x20variable\x20selected','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','XMCS-UNIQUEID','yes','Answer','project_id','no\x20subproject\x20selected','no\x20subproject\x20found\x20with\x20id\x20%d','arg_1','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','host','127.0.0.1','Enter\x20in\x20SYSTEM\x20(%s)\x20block','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Google\x20TTS\x20%s\x20file\x20created','unpause','voicemail','mailbox','vswitch','util','lodash','shelljs','odbc','mustache','request-promise','agi','../../config/environment','/var/opt/motion2/server/files','rawHeaders','rawBody','getsecretdigits','channel','rpc','prototype','getVariable','getVariableById','name','catch','getVoiceQueueById','getSquareProject','getSquareOdbc','getSquareOdbcById','then','dsn','getUser','getUserById','getSound','getSoundPath','save_name','getMailAccount','sendMailMessage','mailRpc','getIntervals','getIntervalById','IntervalId','interval','Intervals','format','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','getSmsAccount','createSmsMessage','createSquareDetailsReport','uniqueid','label','agicommand','callerid','createSquareRecording','context','extension','priority','accountcode','dnid','file','createSquareMessage','createCmContact','isEmpty','callback_','random','lastName','phone','scheduledAt','callback','toString','callback_priority','getPause','getPauseById','agentPause','agent','isNil','agentUnpause','agentLogout','internal','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','audioEncoding','MP3','googleTTS','restAPI','method','timeout','number','includes','POST','body','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','uri','render','url','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','googleDialogflowV2','client_email','private_key','dialogflowV2_language','sestekNDA','ispeechTTS','ispeech_tts_language','speed','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','Amy','aws_text_type','awsLex','aws_bot_name','googleASR','google_asr_language','tildeASR','appid','appsecret','clone','isString','replaceObjectAllVariables','replaceAllVariables','recursiveNodeIndex','isPlainObject','isArray','saveRestApiResult','length','%s.%s','setVariable','split','replaceAll','extra','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','sync','maxRetry','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','no\x20text\x20configured','MRCPSynth','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','grammar','MRCPRecog','MRCP_RECOG_CONFIDENCE','getAndSetVariable','RECOG_INSTANCE()','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','list_id','no\x20list\x20selected','delay','add','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','Executed\x20command\x20%s\x20%s','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','sestektts','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','RECOG_CONFIDENCE()','LUMENVOX_ASR_CONFIDENCE','RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','query:\x20%s','getQueryOdbc','variable_id','no\x20variable\x20selected\x20for\x20the\x20result','no\x20variable\x20found','keys','forEach','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','Enter\x20in\x20DIAL\x20(%s)\x20block','no\x20user\x20selected','sip_id','no\x20user\x20found','DIAL','opts','Executed\x20command\x20%s','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','hasOwnProperty','DIALOGFLOW_%s','toUpperCase','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','dialogflowV2','dialogflowV2_project_id','no\x20client_email\x20configured','no\x20private_key\x20configured','no\x20anguage\x20configured','Trying\x20DialogflowV2:\x20%s','providerResponse','DialogflowV2\x20Result\x20%s','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','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\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','getTrunk','no\x20trunk\x20found','trunk_name','no\x20trunk\x20selected','SIP/%s/%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','finally','getdigits','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','no\x20file\x20audio\x20selected','file_id','getData','response','maxdigit','test','mindigit','hiddendigitsnum','generate','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal'];(function(_0x557eb0,_0x3f9f30){var _0x129850=function(_0x48cbfe){while(--_0x48cbfe){_0x557eb0['push'](_0x557eb0['shift']());}};_0x129850(++_0x3f9f30);}(_0xac95,0xa8));var _0x5ac9=function(_0x494b1a,_0x1b7232){_0x494b1a=_0x494b1a-0x0;var _0x25cc64=_0xac95[_0x494b1a];return _0x25cc64;};'use strict';var fs=require('fs');var util=require(_0x5ac9('0x0'));var _=require(_0x5ac9('0x1'));var sh=require(_0x5ac9('0x2'));var odbc=require(_0x5ac9('0x3'))();var rs=require('randomstring');var moment=require('moment');var Mustache=require(_0x5ac9('0x4'));var rp=require(_0x5ac9('0x5'));var logger=require('../../config/logger')(_0x5ac9('0x6'));var config=require(_0x5ac9('0x7'));var scripts=require('./scripts');var FILES_PATH=_0x5ac9('0x8');var recursiveMapAttributes=[_0x5ac9('0x9'),_0x5ac9('0xa')];var verticesWithRetry=['menu','getdigits',_0x5ac9('0xb')];var AGIVertices=function(_0x2ab11c,_0x28bc1f,_0x11660c){this[_0x5ac9('0xc')]=_0x2ab11c;this[_0x5ac9('0xd')]=_0x28bc1f;this['mailRpc']=_0x11660c;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xf')]=function(_0x538efe,_0x28b5b9){this['rpc'][_0x5ac9('0x10')](_0x538efe)['then'](function(_0xc9dbbe){_0x28b5b9(null,_0xc9dbbe?_0xc9dbbe[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x40eb62){_0x28b5b9(_0x40eb62);});};AGIVertices['prototype']['getVoiceQueue']=function(_0x43b80d,_0x5f2d30){this[_0x5ac9('0xd')][_0x5ac9('0x13')](_0x43b80d)['then'](function(_0x3dcc9e){_0x5f2d30(null,_0x3dcc9e?_0x3dcc9e[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x122590){_0x5f2d30(_0x122590);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x14')]=function(_0x44a5b1,_0x19b3a4){this[_0x5ac9('0xd')]['getSquareProjectById'](_0x44a5b1)['then'](function(_0x352874){_0x19b3a4(null,_0x352874?_0x352874[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x4463ff){_0x19b3a4(_0x4463ff);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x15')]=function(_0x986be7,_0x429bf3){this[_0x5ac9('0xd')][_0x5ac9('0x16')](_0x986be7)[_0x5ac9('0x17')](function(_0x2b144e){_0x429bf3(null,_0x2b144e?_0x2b144e[_0x5ac9('0x18')]:![]);})['catch'](function(_0xdf630){_0x429bf3(_0xdf630);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x19')]=function(_0x32e65c,_0x2d2ba5){this['rpc'][_0x5ac9('0x1a')](_0x32e65c)[_0x5ac9('0x17')](function(_0x480c7e){_0x2d2ba5(null,_0x480c7e?_0x480c7e['name']:![]);})['catch'](function(_0xc36d2){_0x2d2ba5(_0xc36d2);});};AGIVertices[_0x5ac9('0xe')]['getTrunk']=function(_0x5ce83a,_0x1a6372){this['rpc']['getTrunkById'](_0x5ce83a)[_0x5ac9('0x17')](function(_0x505acc){_0x1a6372(null,_0x505acc?_0x505acc[_0x5ac9('0x11')]:![]);})[_0x5ac9('0x12')](function(_0x770c48){_0x1a6372(_0x770c48);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1b')]=function(_0x174cfe,_0x13aaa7){var _0x2dc7fa=this;this[_0x5ac9('0xd')]['getSoundById'](_0x174cfe)[_0x5ac9('0x17')](function(_0x14a7fe){_0x13aaa7(null,_0x14a7fe?_0x2dc7fa[_0x5ac9('0x1c')](_0x14a7fe[_0x5ac9('0x1d')]):![]);})[_0x5ac9('0x12')](function(_0x58c9be){_0x13aaa7(_0x58c9be);});};AGIVertices['prototype'][_0x5ac9('0x1e')]=function(_0xbf3f0,_0x4a784e){this[_0x5ac9('0xd')]['getMailAccountById'](_0xbf3f0)[_0x5ac9('0x17')](function(_0x2c85dc){_0x4a784e(null,_0x2c85dc?_0x2c85dc:![]);})[_0x5ac9('0x12')](function(_0x49901d){_0x4a784e(_0x49901d);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1f')]=function(_0x446050,_0x30fb2b,_0x5ce12f){this[_0x5ac9('0x20')]['sendMailMessage'](_0x446050,_0x30fb2b)['then'](function(){_0x5ce12f(null);})[_0x5ac9('0x12')](function(_0x53ef31){_0x5ce12f(_0x53ef31);});};AGIVertices['prototype'][_0x5ac9('0x21')]=function(_0x148d0b,_0x3e12be){this[_0x5ac9('0xd')][_0x5ac9('0x22')](_0x148d0b)[_0x5ac9('0x17')](function(_0x6225c5){if(_0x6225c5){if(_0x6225c5[_0x5ac9('0x23')]){_0x3e12be(null,[_0x6225c5[_0x5ac9('0x24')]]);}else{_0x3e12be(null,_['map'](_0x6225c5[_0x5ac9('0x25')],_0x5ac9('0x24')));}}else{_0x3e12be(null,![]);}})['catch'](function(_0x598093){_0x3e12be(_0x598093);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c')]=function(_0x386fc3){return util[_0x5ac9('0x26')]('%s/sounds/converted/%s',FILES_PATH,_0x386fc3);};AGIVertices[_0x5ac9('0xe')]['getQueryOdbc']=function(_0x3c540f,_0x4600d8,_0x2cb1d5){odbc[_0x5ac9('0x27')](_0x3c540f,function(_0x2b9a01){if(_0x2b9a01){logger[_0x5ac9('0x28')](_0x5ac9('0x29'),_0x2b9a01);_0x2cb1d5(_0x2b9a01);}else{logger[_0x5ac9('0x2a')](_0x5ac9('0x2b'));odbc[_0x5ac9('0x2c')](_0x4600d8,function(_0x8049d0,_0x1c11eb){if(_0x8049d0){logger['info']('Error\x20executing\x20query\x20%s',_0x4600d8);_0x2cb1d5(_0x8049d0);}else{logger[_0x5ac9('0x2a')](_0x5ac9('0x2d'),_0x4600d8);odbc[_0x5ac9('0x2e')](function(_0x1adf44){if(_0x1adf44){logger[_0x5ac9('0x28')](_0x5ac9('0x2f'),_0x1adf44);}_0x2cb1d5(null,_0x1c11eb);});}});}});};AGIVertices['prototype'][_0x5ac9('0x30')]=function(_0x16b74e,_0x5640c4){this['rpc']['getSmsAccountById'](_0x16b74e)[_0x5ac9('0x17')](function(_0xc6be86){_0x5640c4(null,_0xc6be86?_0xc6be86:![]);})[_0x5ac9('0x12')](function(_0x1b4a1d){_0x5640c4(_0x1b4a1d);});};AGIVertices['prototype'][_0x5ac9('0x31')]=function(_0x494871,_0x4b407d){this[_0x5ac9('0xd')][_0x5ac9('0x31')](_0x494871)['then'](function(_0x37bad1){_0x4b407d(null,_0x37bad1);})[_0x5ac9('0x12')](function(_0x4acca3){_0x4b407d(_0x4acca3);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x32')]=function(_0x433634,_0x1caf84,_0x230daa){this[_0x5ac9('0xd')][_0x5ac9('0x32')]({'uniqueid':this[_0x5ac9('0xc')][_0x5ac9('0x33')],'node':_0x433634[_0x5ac9('0x34')],'application':_0x433634[_0x5ac9('0x35')],'data':_0x1caf84||null,'project_name':this[_0x5ac9('0xc')]['arg_1'],'callerid':this[_0x5ac9('0xc')][_0x5ac9('0x36')]})[_0x5ac9('0x17')](function(_0x554bfa){if(_0x230daa){_0x230daa(null,_0x554bfa);}})[_0x5ac9('0x12')](function(_0x28edf5){if(_0x230daa){_0x230daa(_0x28edf5);}});};AGIVertices[_0x5ac9('0xe')]['createSquareRecording']=function(_0x21f75a,_0x3044a9,_0x3bf4ba,_0x34b3c2){this[_0x5ac9('0xd')][_0x5ac9('0x37')]({'uniqueid':this['channel']['uniqueid'],'callerid':this[_0x5ac9('0xc')]['callerid'],'calleridname':this[_0x5ac9('0xc')]['calleridname'],'context':this[_0x5ac9('0xc')][_0x5ac9('0x38')],'extension':this[_0x5ac9('0xc')][_0x5ac9('0x39')],'priority':this[_0x5ac9('0xc')][_0x5ac9('0x3a')],'accountcode':this[_0x5ac9('0xc')][_0x5ac9('0x3b')],'dnid':this[_0x5ac9('0xc')][_0x5ac9('0x3c')],'projectName':this[_0x5ac9('0xc')]['arg_1'],'saveName':_0x3044a9,'filename':_0x21f75a[_0x5ac9('0x3d')]||_0x3044a9,'savePath':_0x3bf4ba})[_0x5ac9('0x17')](function(_0x482df4){_0x34b3c2(null,_0x482df4);})['catch'](function(_0x14a81f){_0x34b3c2(_0x14a81f);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x3e')]=function(_0x48a81e,_0x33446e,_0x281fa5,_0x1b092f,_0x831fe7){this[_0x5ac9('0xd')][_0x5ac9('0x3e')]({'uniqueid':this['channel']['uniqueid'],'body':_0x48a81e,'direction':_0x33446e,'providerName':_0x281fa5,'providerResponse':_0x1b092f})[_0x5ac9('0x17')](function(_0x1191ff){if(_0x831fe7){_0x831fe7(null,_0x1191ff);}})['catch'](function(_0x81caad){if(_0x831fe7){_0x831fe7(_0x81caad);}});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x3f')]=function(_0x1da1c8,_0x6b3995){this['rpc'][_0x5ac9('0x3f')]({'firstName':_[_0x5ac9('0x40')](_0x1da1c8[_0x5ac9('0x11')])||_['isNil'](_0x1da1c8[_0x5ac9('0x11')])?_0x5ac9('0x41')+Math[_0x5ac9('0x42')]():_0x1da1c8[_0x5ac9('0x11')],'lastName':_[_0x5ac9('0x40')](_0x1da1c8['lastName'])||_['isNil'](_0x1da1c8[_0x5ac9('0x43')])?null:_0x1da1c8['lastName'],'phone':_0x1da1c8[_0x5ac9('0x44')],'ListId':_0x1da1c8['list_id'],'scheduledat':_0x1da1c8[_0x5ac9('0x45')],'callbackUniqueid':this['channel'][_0x5ac9('0x33')],'tags':_0x5ac9('0x46'),'description':'Callback\x20scheduled\x20at\x20'+_0x1da1c8['scheduledAt'][_0x5ac9('0x47')](),'priority':_0x1da1c8[_0x5ac9('0x48')]})[_0x5ac9('0x17')](function(_0x3197aa){_0x6b3995(null,_0x3197aa);})[_0x5ac9('0x12')](function(_0x3b90d9){_0x6b3995(_0x3b90d9);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x49')]=function(_0x569b22,_0x9bb588){this['rpc'][_0x5ac9('0x4a')](_0x569b22)[_0x5ac9('0x17')](function(_0x4aee72){_0x9bb588(null,_0x4aee72?_0x4aee72[_0x5ac9('0x11')]:![]);})['catch'](function(_0x2e20d9){_0x9bb588(_0x2e20d9);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4b')]=function(_0x388011,_0x43b245,_0x53023a){var _0x1cc0b4={'role':_0x5ac9('0x4c')};_0x1cc0b4[_0x388011]=this[_0x5ac9('0xc')]['callerid'];this[_0x5ac9('0xd')][_0x5ac9('0x4b')](_0x1cc0b4,_0x43b245,this[_0x5ac9('0xc')]['uniqueid'])[_0x5ac9('0x17')](function(_0x577f83){_0x53023a(null,_[_0x5ac9('0x4d')](_0x577f83)?![]:!![]);})[_0x5ac9('0x12')](function(_0x567fb1){logger['error'](_0x567fb1);_0x53023a(null,![]);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4e')]=function(_0x3a0cc4,_0x2a4db2){var _0xc04894={'role':_0x5ac9('0x4c')};_0xc04894[_0x3a0cc4]=this[_0x5ac9('0xc')][_0x5ac9('0x36')];this['rpc'][_0x5ac9('0x4e')](_0xc04894)[_0x5ac9('0x17')](function(_0x51e985){_0x2a4db2(null,_['isNil'](_0x51e985)?![]:!![]);})[_0x5ac9('0x12')](function(_0x42ef92){logger['error'](_0x42ef92);_0x2a4db2(null,![]);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x4f')]=function(_0x3164ab,_0x1a22d4){var _0x3da33b={'role':_0x5ac9('0x4c')};_0x3da33b[_0x3164ab]=this[_0x5ac9('0xc')][_0x5ac9('0x36')];this[_0x5ac9('0xd')][_0x5ac9('0x4f')](_0x3da33b)[_0x5ac9('0x17')](function(_0x95bcd7){_0x1a22d4(null,_[_0x5ac9('0x4d')](_0x95bcd7)?![]:!![]);})[_0x5ac9('0x12')](function(_0x3b5233){logger['error'](_0x3b5233);_0x1a22d4(null,![]);});};AGIVertices[_0x5ac9('0xe')]['agentLogin']=function(_0x1a14d4,_0x2a490e){var _0x63df8a={'role':'agent'};_0x63df8a[_0x1a14d4]=this['channel'][_0x5ac9('0x36')];var _0x44c40c=_0x1a14d4!=_0x5ac9('0x50')?util['format'](_0x5ac9('0x51'),_0x5ac9('0x52'),this['channel']['callerid']):undefined;this[_0x5ac9('0xd')]['agentLogin'](_0x63df8a,_0x44c40c)[_0x5ac9('0x17')](function(_0x11c829){_0x2a490e(null,_[_0x5ac9('0x4d')](_0x11c829)?![]:!![]);})['catch'](function(_0x7874b4){logger[_0x5ac9('0x28')](_0x7874b4);_0x2a490e(null,![]);});};AGIVertices['prototype'][_0x5ac9('0x53')]=function(_0x3af258,_0x598aff){sh[_0x5ac9('0x54')](_[_0x5ac9('0x55')](_0x3af258),function(_0x5655bd,_0x2d1757){var _0x240de3=_0x2d1757['replace'](/(\r\n|\n|\r)/gm,'');_0x598aff(null,_0x240de3);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x56')]=function(_0x200faa,_0x49d450){scripts[_0x5ac9('0x56')](_0x200faa[_0x5ac9('0x57')],_0x200faa[_0x5ac9('0x58')]||_0x5ac9('0x59'),_0x200faa[_0x5ac9('0x59')],_0x200faa[_0x5ac9('0x5a')]||_0x5ac9('0x5b'),_0x200faa[_0x5ac9('0x5c')]||'MALE',_0x200faa[_0x5ac9('0x5d')]||_0x5ac9('0x5e'))[_0x5ac9('0x17')](function(_0x2bcf94){_0x49d450(null,_0x2bcf94);})['catch'](function(_0x3f9a78){_0x49d450(_0x3f9a78);});};AGIVertices['prototype'][_0x5ac9('0x5f')]=function(_0x416d67,_0x24153f){scripts[_0x5ac9('0x5f')](_0x416d67[_0x5ac9('0x59')],_0x416d67['google_tts_language']||'en',0x1)['then'](function(_0x4701cf){_0x24153f(null,_0x4701cf);})['catch'](function(_0x196092){_0x24153f(_0x196092);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x60')]=function(_0x23ac5d,_0x47dc0f){var _0x171afb={'uri':_0x23ac5d['url'],'method':_0x23ac5d[_0x5ac9('0x61')],'json':!![],'resolveWithFullResponse':!![],'strictSSL':![],'timeout':typeof parseInt(_0x23ac5d[_0x5ac9('0x62')])===_0x5ac9('0x63')&&parseInt(_0x23ac5d[_0x5ac9('0x62')])>=0x1?parseInt(_0x23ac5d[_0x5ac9('0x62')])*0x3e8:0x5*0x3e8};if(_[_0x5ac9('0x64')]([_0x5ac9('0x65'),'PUT'],_0x171afb[_0x5ac9('0x61')]['toUpperCase']())){try{_0x171afb[_0x5ac9('0x66')]=_0x23ac5d[_0x5ac9('0xa')]?JSON[_0x5ac9('0x67')](_0x23ac5d[_0x5ac9('0xa')]):{};}catch(_0x30b66b){logger['error'](_0x5ac9('0x68'),_0x30b66b);}}try{_0x171afb[_0x5ac9('0x69')]=_0x23ac5d[_0x5ac9('0x9')]?JSON['parse'](_0x23ac5d[_0x5ac9('0x9')]):{};}catch(_0x5f47d7){logger['error'](_0x5ac9('0x6a'),_0x5f47d7);}if(_0x23ac5d[_0x5ac9('0x6b')]){try{var _0x435acb=require(_0x23ac5d[_0x5ac9('0x6b')])['sync'](this,_0x171afb);_0x171afb[_0x5ac9('0x6c')]=Mustache[_0x5ac9('0x6d')](_0x23ac5d[_0x5ac9('0x6e')],_0x435acb,{},['$$','$$']);if(_0x171afb[_0x5ac9('0x69')]){_0x171afb[_0x5ac9('0x69')]=JSON['parse'](Mustache['render'](JSON[_0x5ac9('0x6f')](_0x171afb[_0x5ac9('0x69')]),_0x435acb,{},['$$','$$']));}if(_0x171afb[_0x5ac9('0x66')]){_0x171afb['body']=JSON[_0x5ac9('0x67')](Mustache['render'](JSON[_0x5ac9('0x6f')](_0x171afb[_0x5ac9('0x66')]),_0x435acb,{},['$$','$$']));}}catch(_0x5d61d6){logger[_0x5ac9('0x28')](_0x5ac9('0x70'),_0x5d61d6);}}rp(_0x171afb)['then'](function(_0x2b5d7d){var _0x38fb29={'statusCode':_0x2b5d7d[_0x5ac9('0x71')]||0xc8,'statusMessage':_0x2b5d7d['statusMessage']||'OK','headers':_0x2b5d7d[_0x5ac9('0x69')]||{},'body':_0x2b5d7d[_0x5ac9('0x66')]||{}};_0x47dc0f(null,_0x38fb29);})[_0x5ac9('0x12')](function(_0x1856a1){var _0x234979={'statusCode':_0x1856a1[_0x5ac9('0x71')]||0x1f4,'statusMessage':_0x1856a1[_0x5ac9('0x72')]||_0x5ac9('0x73'),'headers':_0x1856a1[_0x5ac9('0x74')]['headers']||{},'body':_0x1856a1[_0x5ac9('0x74')][_0x5ac9('0x66')]||{}};_0x47dc0f(null,_0x234979);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x75')]=function(_0x5ca243,_0x4497d9){scripts[_0x5ac9('0x75')](this[_0x5ac9('0xc')][_0x5ac9('0x33')],_0x5ca243[_0x5ac9('0x76')],_0x5ca243[_0x5ac9('0x59')],_0x5ca243[_0x5ac9('0x77')]||'en')[_0x5ac9('0x17')](function(_0x1a817e){_0x4497d9(null,_0x1a817e);})[_0x5ac9('0x12')](function(_0x411327){_0x4497d9(_0x411327);});};AGIVertices['prototype'][_0x5ac9('0x78')]=function(_0x443cc8,_0x375d38){scripts[_0x5ac9('0x78')](this[_0x5ac9('0xc')][_0x5ac9('0x33')],_0x443cc8['dialogflowV2_project_id'],_0x443cc8[_0x5ac9('0x79')],_0x443cc8[_0x5ac9('0x7a')],_0x443cc8[_0x5ac9('0x59')],_0x443cc8[_0x5ac9('0x7b')]||'en')['then'](function(_0x14ae1b){_0x375d38(null,_0x14ae1b);})[_0x5ac9('0x12')](function(_0x23c3fb){_0x375d38(_0x23c3fb);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x7c')]=function(_0x36f2d0,_0x161ad6){scripts[_0x5ac9('0x7c')](this[_0x5ac9('0xc')],_0x36f2d0)[_0x5ac9('0x17')](function(_0x4cac57){_0x161ad6(null,_0x4cac57);})['catch'](function(_0x59d9f9){_0x161ad6(_0x59d9f9);});};AGIVertices[_0x5ac9('0xe')]['ispeechTTS']=function(_0x566a34,_0x28829b){scripts[_0x5ac9('0x7d')](_0x566a34[_0x5ac9('0x76')],_0x566a34[_0x5ac9('0x59')],_0x566a34[_0x5ac9('0x7e')]||_0x5ac9('0x5b'),_0x566a34[_0x5ac9('0x7f')])[_0x5ac9('0x17')](function(_0x4ca2e4){_0x28829b(null,_0x4ca2e4);})[_0x5ac9('0x12')](function(_0x5c3739){_0x28829b(_0x5c3739);});};AGIVertices[_0x5ac9('0xe')]['ispeechASR']=function(_0x5e3a20,_0x372ea4,_0x31ad83){scripts['ispeechASR'](_0x372ea4,_0x5e3a20[_0x5ac9('0x76')],_0x5e3a20[_0x5ac9('0x80')]||_0x5ac9('0x5b'),this[_0x5ac9('0x81')](_0x5e3a20[_0x5ac9('0x82')])?_0x5e3a20[_0x5ac9('0x82')]:undefined)[_0x5ac9('0x17')](function(_0x374e1e){_0x31ad83(null,_0x374e1e);})[_0x5ac9('0x12')](function(_0x1eca24){_0x31ad83(_0x1eca24);});};AGIVertices['prototype'][_0x5ac9('0x83')]=function(_0x298417,_0x2e85d5){scripts[_0x5ac9('0x83')](_0x298417[_0x5ac9('0x84')],_0x298417[_0x5ac9('0x85')],_0x298417[_0x5ac9('0x86')],_0x298417['aws_polly_voice']||_0x5ac9('0x87'),_0x298417[_0x5ac9('0x59')],_0x298417[_0x5ac9('0x88')]||'text')[_0x5ac9('0x17')](function(_0x118a83){_0x2e85d5(null,_0x118a83);})[_0x5ac9('0x12')](function(_0x1e9370){_0x2e85d5(_0x1e9370);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x89')]=function(_0xdabe32,_0x124c7e){scripts[_0x5ac9('0x89')](this[_0x5ac9('0xc')]['uniqueid'],_0xdabe32['aws_access_key_id'],_0xdabe32[_0x5ac9('0x85')],_0xdabe32['aws_lex_region'],_0xdabe32[_0x5ac9('0x59')],_0xdabe32[_0x5ac9('0x8a')])[_0x5ac9('0x17')](function(_0x5732ef){_0x124c7e(null,_0x5732ef);})['catch'](function(_0x458075){_0x124c7e(_0x458075);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x8b')]=function(_0x283f2b,_0x106b38,_0x28211c){scripts[_0x5ac9('0x8b')](_0x106b38,_0x283f2b[_0x5ac9('0x76')],_0x283f2b[_0x5ac9('0x8c')]||'en-US')[_0x5ac9('0x17')](function(_0x19d14f){_0x28211c(null,_0x19d14f);})[_0x5ac9('0x12')](function(_0x152d60){_0x28211c(_0x152d60);});};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x8d')]=function(_0x97e3dc,_0x31cf8e,_0x1e0802){scripts[_0x5ac9('0x8d')](_0x31cf8e,_0x97e3dc[_0x5ac9('0x8e')],_0x97e3dc[_0x5ac9('0x8f')],_0x97e3dc[_0x5ac9('0x6c')])[_0x5ac9('0x17')](function(_0x531f07){_0x1e0802(null,_0x531f07);})[_0x5ac9('0x12')](function(_0x250ed7){_0x1e0802(_0x250ed7);});};AGIVertices['prototype']['clear']=function(_0x500079){var _0x1bfdbc=_['includes'](verticesWithRetry,_0x500079[_0x5ac9('0x35')])?_0x500079:_[_0x5ac9('0x90')](_0x500079);for(var _0x2c9365 in _0x1bfdbc){if(_0x1bfdbc['hasOwnProperty'](_0x2c9365)){if(_0x1bfdbc[_0x2c9365]&&_[_0x5ac9('0x91')](_0x1bfdbc[_0x2c9365])){if(_[_0x5ac9('0x64')](recursiveMapAttributes,_0x2c9365)){_0x1bfdbc[_0x2c9365]=this[_0x5ac9('0x92')](_0x1bfdbc[_0x2c9365]);}else{_0x1bfdbc[_0x2c9365]=this[_0x5ac9('0x93')](_0x1bfdbc[_0x2c9365]);}}}}return _0x1bfdbc;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x94')]=function(_0x2f21ff){for(var _0x1c7a92 in _0x2f21ff){if(_0x2f21ff['hasOwnProperty'](_0x1c7a92)){if(_[_0x5ac9('0x95')](_0x2f21ff[_0x1c7a92])){this[_0x5ac9('0x94')](_0x2f21ff[_0x1c7a92]);}else if(_[_0x5ac9('0x96')](_0x2f21ff[_0x1c7a92])){for(var _0x13808f=0x0;_0x13808f<_0x2f21ff[_0x1c7a92]['length'];_0x13808f++){this[_0x5ac9('0x94')](_0x2f21ff[_0x1c7a92][_0x13808f]);}}else if(_[_0x5ac9('0x91')](_0x2f21ff[_0x1c7a92])){_0x2f21ff[_0x1c7a92]=this[_0x5ac9('0x93')](_0x2f21ff[_0x1c7a92]);}}}};AGIVertices['prototype'][_0x5ac9('0x97')]=function(_0x5854d6,_0x53d6c6){for(var _0x272a7b in _0x5854d6){if(_0x5854d6['hasOwnProperty'](_0x272a7b)){if(_[_0x5ac9('0x95')](_0x5854d6[_0x272a7b])){if(!_[_0x5ac9('0x40')](_0x5854d6[_0x272a7b])){this[_0x5ac9('0x97')](_0x5854d6[_0x272a7b],util['format']('%s.%s',_0x53d6c6,_0x272a7b));}}else if(_[_0x5ac9('0x96')](_0x5854d6[_0x272a7b])){for(var _0x44db4e=0x0;_0x44db4e<_0x5854d6[_0x272a7b][_0x5ac9('0x98')];_0x44db4e++){this[_0x5ac9('0x97')](_0x5854d6[_0x272a7b][_0x44db4e],util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x53d6c6,_0x272a7b+'['+_0x44db4e+']'));}}else{if(!_[_0x5ac9('0x4d')](_0x5854d6[_0x272a7b])){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x53d6c6,_0x272a7b),_0x5854d6[_0x272a7b]);}}}}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x92')]=function(_0x48dd13){try{var _0xa7bcec=JSON[_0x5ac9('0x67')](_0x48dd13);this[_0x5ac9('0x94')](_0xa7bcec);return JSON[_0x5ac9('0x6f')](_0xa7bcec);}catch(_0x48cf20){return this['replaceAllVariables'](_0x48dd13);}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x93')]=function(_0x299c40){var _0x48b0e2=_0x299c40[_0x5ac9('0x9b')]('{');for(var _0x450f14=0x1;_0x450f14<_0x48b0e2[_0x5ac9('0x98')];_0x450f14+=0x1){var _0x426929=_0x48b0e2[_0x450f14]['split']('}');if(_0x426929[_0x5ac9('0x98')]>0x1){_0x299c40=_0x299c40[_0x5ac9('0x9c')]('{'+_0x426929[0x0]+'}',this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0x426929[0x0])[_0x5ac9('0x9d')]||_0x426929[0x0]);}}if(_0x48b0e2[_0x5ac9('0x98')]===0x1){return _0x299c40[_0x5ac9('0x47')]();}return this[_0x5ac9('0x93')](_0x299c40);};AGIVertices[_0x5ac9('0xe')]['getAndSetVariable']=function(_0xf6e216,_0x57bd0d){var _0x48845a=this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0xf6e216);if(_0x48845a[_0x5ac9('0x9e')]===-0x1){return _0x48845a;}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x9f'),_0x57bd0d,_0x48845a[_0x5ac9('0x9d')]));return this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x57bd0d,_0x48845a['extra']);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x81')]=function(_0x3e65b0){return _0x3e65b0&&_0x3e65b0!=='0'&&_0x3e65b0!=='-1'&&_0x3e65b0!=='';};AGIVertices['prototype']['maxRetry']=function(_0x301cc4){this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x301cc4,'-');_0x301cc4['retry']=_0x301cc4[_0x5ac9('0xa1')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x5ac9('0xe')]['mrcpsynth']=function(_0x184b98){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xa2'),_0x184b98[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x184b98[_0x5ac9('0x59')])){return this['channel']['noop'](_0x5ac9('0xa3'));}var _0x16ac5a='\x22'+_0x184b98['text']+'\x22';if(this['isConfigured'](_0x184b98[_0x5ac9('0x74')])){_0x16ac5a+=','+_0x184b98['options'];}var _0x3b8db1=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x16ac5a);if(_0x3b8db1[_0x5ac9('0x9e')]===-0x1){return _0x3b8db1;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xa6'),_0x16ac5a));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xa7')]=function(_0x104e97){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x104e97['label']));if(!this[_0x5ac9('0x81')](_0x104e97['grammar'])){return this['channel'][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x12243d=_0x104e97[_0x5ac9('0xa8')];if(this['isConfigured'](_0x104e97[_0x5ac9('0x74')])){_0x12243d+=','+_0x104e97['options'];}var _0x53a337=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa9'),_0x12243d);if(_0x53a337['result']===-0x1){return _0x53a337;}var _0x60770b=this['getAndSetVariable']('RECOG_CONFIDENCE()',_0x5ac9('0xaa'));if(_0x60770b[_0x5ac9('0x9e')]===-0x1){return _0x60770b;}var _0x2aa4e2=this['getAndSetVariable']('RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT');if(_0x2aa4e2['result']===-0x1){return _0x2aa4e2;}var _0x2ae023=this[_0x5ac9('0xab')](_0x5ac9('0xac'),_0x5ac9('0xad'));if(_0x2ae023[_0x5ac9('0x9e')]===-0x1){return _0x2ae023;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0xae'),_0x12243d));};AGIVertices['prototype']['agi']=function(_0x48f80a){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xaf'),_0x48f80a[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x6')]([_0x48f80a[_0x5ac9('0xb0')],_0x48f80a['args']]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xb1')]=function(_0x10d34b){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xb2'),_0x10d34b['label']));if(this[_0x5ac9('0x81')](_0x10d34b['timeout'])){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0xb3'),_0x10d34b[_0x5ac9('0x62')]));var _0x2f2d32=this['channel'][_0x5ac9('0xb4')](_0x10d34b[_0x5ac9('0x62')]);if(_0x2f2d32[_0x5ac9('0x9e')]===-0x1){return _0x2f2d32;}}return this[_0x5ac9('0xc')]['answer']();};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x46')]=function(_0x4f269e){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xb5'),_0x4f269e[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0xb6')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x4f269e,_0x5ac9('0xb7'));}_0x4f269e[_0x5ac9('0x45')]=moment();if(this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0xb8')])){_0x4f269e[_0x5ac9('0x45')]=moment()[_0x5ac9('0xb9')](_0x4f269e[_0x5ac9('0xb8')],'minutes');}if(!this[_0x5ac9('0x81')](_0x4f269e[_0x5ac9('0x48')])){_0x4f269e['callback_priority']=0x2;}this[_0x5ac9('0x3f')][_0x5ac9('0xa0')](this,_0x4f269e);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xba'),_0x4f269e[_0x5ac9('0x44')],_0x4f269e[_0x5ac9('0xb6')],_0x4f269e[_0x5ac9('0x45')]));};AGIVertices['prototype'][_0x5ac9('0xbb')]=function(_0x55a3d0){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xbc'),_0x55a3d0[_0x5ac9('0x34')]));var _0x2765b1=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x55a3d0[_0x5ac9('0xbd')],_0x55a3d0['options']);if(_0x2765b1[_0x5ac9('0x9e')]===-0x1){return _0x2765b1;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xbe'),_0x55a3d0[_0x5ac9('0xbd')],_0x55a3d0[_0x5ac9('0x74')]));};AGIVertices[_0x5ac9('0xe')]['lumenvoxtts']=function(_0x53043a){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xbf'),_0x53043a[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x53043a[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xa3'));}var _0x1d9edf='\x22'+_0x53043a[_0x5ac9('0x59')]+'\x22';if(this['isConfigured'](_0x53043a[_0x5ac9('0x74')])){_0x1d9edf+=','+_0x53043a[_0x5ac9('0x74')];}var _0x515b90=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x1d9edf);if(_0x515b90['result']===-0x1){return _0x515b90;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format']('Executed\x20command\x20MRCPSynth\x20%s',_0x1d9edf));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc0')]=function(_0x2de671){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SESTEKTTS\x20(%s)\x20block',_0x2de671[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x2de671['text'])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}var _0x3dbb45='\x22'+_0x2de671['text']+'\x22';if(this['isConfigured'](_0x2de671[_0x5ac9('0x74')])){_0x3dbb45+=','+_0x2de671[_0x5ac9('0x74')];}var _0xc07d46=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa4'),_0x3dbb45);if(_0xc07d46[_0x5ac9('0x9e')]===-0x1){return _0xc07d46;}return this['channel'][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xa6'),_0x3dbb45));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc1')]=function(_0x5362bd){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xc2'),_0x5362bd['label']));if(!this[_0x5ac9('0x81')](_0x5362bd['grammar'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x4eaf55=_0x5362bd[_0x5ac9('0xa8')];if(this[_0x5ac9('0x81')](_0x5362bd[_0x5ac9('0x74')])){_0x4eaf55+=','+_0x5362bd['options'];}var _0xf99267=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('MRCPRecog',_0x4eaf55);if(_0xf99267[_0x5ac9('0x9e')]===-0x1){return _0xf99267;}var _0x3a23f1=this[_0x5ac9('0xab')](_0x5ac9('0xc3'),_0x5ac9('0xc4'));if(_0x3a23f1[_0x5ac9('0x9e')]===-0x1){return _0x3a23f1;}var _0x37060f=this[_0x5ac9('0xab')](_0x5ac9('0xc5'),_0x5ac9('0xc6'));if(_0x37060f[_0x5ac9('0x9e')]===-0x1){return _0x37060f;}var _0x56f2a7=this[_0x5ac9('0xab')](_0x5ac9('0xac'),_0x5ac9('0xc7'));if(_0x56f2a7[_0x5ac9('0x9e')]===-0x1){return _0x56f2a7;}return this['channel'][_0x5ac9('0xa5')](util['format']('Executed\x20command\x20MRCPRecog\x20%s',_0x4eaf55));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xc8')]=function(_0x494e11){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x494e11[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x494e11['grammar'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20grammar\x20configured');}var _0x57713d=_0x494e11[_0x5ac9('0xa8')];if(this[_0x5ac9('0x81')](_0x494e11[_0x5ac9('0x74')])){_0x57713d+=','+_0x494e11['options'];}var _0x419526=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xa9'),_0x57713d);if(_0x419526[_0x5ac9('0x9e')]===-0x1){return _0x419526;}var _0x27d204=this[_0x5ac9('0xab')]('RECOG_CONFIDENCE()',_0x5ac9('0xc9'));if(_0x27d204[_0x5ac9('0x9e')]===-0x1){return _0x27d204;}var _0x4ce381=this[_0x5ac9('0xab')]('RECOG_INPUT()',_0x5ac9('0xca'));if(_0x4ce381[_0x5ac9('0x9e')]===-0x1){return _0x4ce381;}var _0x1ba7f7=this['getAndSetVariable'](_0x5ac9('0xac'),_0x5ac9('0xcb'));if(_0x1ba7f7['result']===-0x1){return _0x1ba7f7;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xae'),_0x57713d));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xcc')]=function(_0xdcc296){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0xcd'),_0xdcc296[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0xdcc296[_0x5ac9('0xce')])){return this['channel'][_0x5ac9('0x28')](_0xdcc296,_0x5ac9('0xcf'));}var _0x2b8155=this[_0x5ac9('0x15')][_0x5ac9('0xa0')](this,_0xdcc296[_0x5ac9('0xce')]);if(!_0x2b8155){return this['channel']['error'](_0xdcc296,'no\x20odbc\x20database\x20found');}if(!this[_0x5ac9('0x81')](_0xdcc296[_0x5ac9('0x2c')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xdcc296,'no\x20query\x20configured');}var _0x5404d6=_0xdcc296['query']['replace'](/(\r\n|\n|\r)/gm,'\x20');this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0xd0'),_0x5404d6));var _0x392bfa=this[_0x5ac9('0xd1')][_0x5ac9('0xa0')](this,_0x2b8155,_0x5404d6);this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0xdcc296,_0x5404d6);if(!this['isConfigured'](_0xdcc296[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xd3'));}var _0x2bbe72=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0xdcc296[_0x5ac9('0xd2')]);if(!_0x2bbe72){return this['channel'][_0x5ac9('0x28')](_0xdcc296,_0x5ac9('0xd4'));}var _0x429f32=this;_0x392bfa['forEach'](function(_0x309fe8,_0x278d31){Object[_0x5ac9('0xd5')](_0x309fe8)[_0x5ac9('0xd6')](function(_0x2c5601){_0x429f32[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0xd7'),_0x2bbe72,_0x278d31,_0x2c5601),_0x309fe8[_0x2c5601]);});});this['channel']['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0xd8'),_0x2bbe72),_0x392bfa[_0x5ac9('0x98')]);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xd9'),_0x2bbe72));};AGIVertices[_0x5ac9('0xe')]['dial']=function(_0x44e099){logger['debug'](util[_0x5ac9('0x26')](_0x5ac9('0xda'),_0x44e099[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x44e099['sip_id'])){return this[_0x5ac9('0xc')]['error'](_0x44e099,_0x5ac9('0xdb'));}var _0x2c4952=this['getUser'][_0x5ac9('0xa0')](this,_0x44e099[_0x5ac9('0xdc')]);if(!_0x2c4952){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x44e099,_0x5ac9('0xdd'));}var _0x36fad4=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0xde'),[util[_0x5ac9('0x26')]('SIP/%s',_0x2c4952),_0x44e099[_0x5ac9('0x62')],_0x44e099[_0x5ac9('0xdf')],_0x44e099[_0x5ac9('0x6e')]]);if(_0x36fad4['result']===-0x1){return _0x36fad4;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xe0'),_0x5ac9('0xde')));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xe1')]=function(_0xf2e606){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xe2'),_0xf2e606['label']));if(!this[_0x5ac9('0x81')](_0xf2e606['key'])){return this['channel']['noop'](_0x5ac9('0xe3'));}if(!this[_0x5ac9('0x81')](_0xf2e606[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')]['noop']('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xe4')]=!![];this['createSquareDetailsReport'](_0xf2e606);this[_0x5ac9('0x3e')](_0xf2e606[_0x5ac9('0x59')],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xe5'),_0xf2e606[_0x5ac9('0x59')]));var _0xcf906e=this[_0x5ac9('0x75')]['sync'](this,_0xf2e606);if(_0xcf906e){for(var _0x28d836 in _0xcf906e){if(_0xcf906e[_0x5ac9('0xe6')](_0x28d836)){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0xe7'),_0x28d836[_0x5ac9('0xe8')]()),_0xcf906e[_0x28d836]);}}this[_0x5ac9('0x3e')](_0xcf906e[_0x5ac9('0xe9')],_0x5ac9('0xea'),_0x5ac9('0xe1'),'');return this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0xeb'),_0xcf906e['speech']));}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xf2e606,_0x5ac9('0xec'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xed')]=function(_0x108615){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block',_0x108615['label']));if(!this['isConfigured'](_0x108615[_0x5ac9('0xee')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20project_id\x20configured');}if(!this[_0x5ac9('0x81')](_0x108615[_0x5ac9('0x79')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xef'));}if(!this[_0x5ac9('0x81')](_0x108615['private_key'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf0'));}if(!this['isConfigured'](_0x108615[_0x5ac9('0x7b')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf1'));}if(!this[_0x5ac9('0x81')](_0x108615[_0x5ac9('0x59')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')]['bot']=!![];this[_0x5ac9('0x32')](_0x108615);this[_0x5ac9('0x3e')](_0x108615[_0x5ac9('0x59')],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xf2'),_0x108615['text']));var _0x57a7b5=this[_0x5ac9('0x78')]['sync'](this,_0x108615);if(_0x57a7b5){for(var _0x3858e7 in _0x57a7b5){if(_0x57a7b5[_0x5ac9('0xe6')](_0x3858e7)){if(_0x3858e7!==_0x5ac9('0xf3')){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')]('DIALOGFLOW_%s',_0x3858e7['toUpperCase']()),_0x57a7b5[_0x3858e7]);}}}this['createSquareMessage'](_0x57a7b5['speech'],'out','dialogflowV2',_0x57a7b5[_0x5ac9('0xf3')]);return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xf4'),_0x57a7b5['speech']));}return this[_0x5ac9('0xc')]['error'](_0x108615,'DialogflowV2\x20is\x20unreachable');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xf5')]=function(_0x1e0761){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0xf6'),_0x1e0761['label']));if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xf7')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xf8'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xf9')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xfa'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xfb')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xfc'));}if(!this[_0x5ac9('0x81')](_0x1e0761[_0x5ac9('0xfd')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20text\x20configured');}this[_0x5ac9('0xc')]['bot']=!![];this[_0x5ac9('0x32')](_0x1e0761);this[_0x5ac9('0x3e')](_0x1e0761['text'],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xfe'),_0x1e0761[_0x5ac9('0x59')]));var _0x59762b=this['sestekNDA']['sync'](this,_0x1e0761);if(_0x59762b){for(var _0x3bac02 in _0x59762b){if(_0x59762b[_0x5ac9('0xe6')](_0x3bac02)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')]('SESTEK_NDA_%s',_0x3bac02[_0x5ac9('0xe8')]()),_0x59762b[_0x3bac02]);}}this[_0x5ac9('0x3e')](_0x59762b[_0x5ac9('0xe9')],_0x5ac9('0xea'),_0x5ac9('0xf5'),'');if(_0x59762b[_0x5ac9('0xff')]){this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x100'),_0x59762b['audiofile']));var _0x2f0f82=this[_0x5ac9('0xc')][_0x5ac9('0x101')](_0x59762b[_0x5ac9('0xff')]);try{fs[_0x5ac9('0x102')](_0x59762b['audiofile']+_0x5ac9('0x103'));}catch(_0x3b20f6){logger['error'](_0x3b20f6);}return _0x2f0f82;}else{return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('SestekNDA\x20Result\x20%s',_0x59762b[_0x5ac9('0xe9')]));}}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1e0761,_0x5ac9('0x104'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x105')]=function(_0x160b5f){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x106'),_0x160b5f[_0x5ac9('0x34')]));return this['channel']['noop']('end');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x107')]=function(_0x18364e){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x108'),_0x18364e[_0x5ac9('0x34')]));var _0x28d99f='';if(_0x18364e['trunk_id']){if(!this[_0x5ac9('0x81')](_0x18364e[_0x5ac9('0x109')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x18364e,'no\x20trunk\x20selected');}else{var _0x367ad6=parseInt(_0x18364e[_0x5ac9('0x109')],0xa);if(isNaN(_0x367ad6)){_0x28d99f=_0x18364e[_0x5ac9('0x109')];}else{_0x28d99f=this[_0x5ac9('0x10a')][_0x5ac9('0xa0')](this,_0x18364e[_0x5ac9('0x109')]);if(!_0x28d99f){return this[_0x5ac9('0xc')]['error'](_0x18364e,_0x5ac9('0x10b'));}}}}else if(_0x18364e[_0x5ac9('0x10c')]){_0x28d99f=_0x18364e[_0x5ac9('0x10c')];}else{return this['channel'][_0x5ac9('0x28')](_0x18364e,_0x5ac9('0x10d'));}var _0x3ecbc3=this[_0x5ac9('0xc')]['exec'](_0x5ac9('0xde'),[util[_0x5ac9('0x26')](_0x5ac9('0x10e'),_0x28d99f,_0x18364e[_0x5ac9('0x44')]),_0x18364e[_0x5ac9('0x62')],_0x18364e[_0x5ac9('0xdf')],_0x18364e[_0x5ac9('0x6e')]]);if(_0x3ecbc3[_0x5ac9('0x9e')]===-0x1){return _0x3ecbc3;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('Executed\x20command\x20%s','DIAL'));};AGIVertices[_0x5ac9('0xe')]['finally']=function(_0x387400){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x10f'),_0x387400[_0x5ac9('0x34')]));return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x110'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x111')]=function(_0x3fbb67){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x112'),_0x3fbb67[_0x5ac9('0x34')]));if(_0x3fbb67[_0x5ac9('0x113')]===0x0){return this[_0x5ac9('0xa1')](_0x3fbb67);}_0x3fbb67['retry']-=0x1;if(!this[_0x5ac9('0x81')](_0x3fbb67['file_id'])){return this['channel'][_0x5ac9('0x28')](_0x3fbb67,_0x5ac9('0x114'));}var _0x290768=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0x3fbb67[_0x5ac9('0x115')]);if(!_0x290768){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fbb67,'no\x20file\x20audio\x20found');}if(!this[_0x5ac9('0x81')](_0x3fbb67[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x5ac9('0xd3'));}var _0x263a77=this[_0x5ac9('0xc')][_0x5ac9('0x116')](_0x290768,_0x3fbb67[_0x5ac9('0x117')],_0x3fbb67[_0x5ac9('0x118')]);var _0x30f0e5=_0x263a77[_0x5ac9('0x9e')]?_0x263a77[_0x5ac9('0x9e')][_0x5ac9('0x47')]():'';logger[_0x5ac9('0x2a')](_0x5ac9('0x119'),JSON['stringify'](_0x263a77));if(_0x263a77[_0x5ac9('0x9e')]===-0x1){this['createSquareDetailsReport']['sync'](this,_0x3fbb67,_0x30f0e5);return _0x263a77;}else if(_0x263a77[_0x5ac9('0x9d')]===_0x5ac9('0x62')){_0x263a77[_0x5ac9('0x9e')]=_0x30f0e5[_0x5ac9('0x98')]>=parseInt(_0x3fbb67['mindigit'])?'x':'i';}else{_0x263a77[_0x5ac9('0x9e')]=_0x30f0e5[_0x5ac9('0x98')]>=parseInt(_0x3fbb67[_0x5ac9('0x11a')])&&_0x30f0e5[_0x5ac9('0x98')]<=parseInt(_0x3fbb67[_0x5ac9('0x118')])?'x':'i';}var _0x38cd17=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0x3fbb67[_0x5ac9('0xd2')]);if(!_0x38cd17){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fbb67,'no\x20variable\x20found');}this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x38cd17,_0x30f0e5);if(this[_0x5ac9('0x81')](_0x3fbb67[_0x5ac9('0x11b')])){var _0x1f7210=parseInt(_0x3fbb67[_0x5ac9('0x11b')],0xa);var _0x1a391d=rs[_0x5ac9('0x11c')]({'charset':'*','length':_0x1f7210});var _0x44d90e=_0x30f0e5[_0x5ac9('0x98')];if(_0x44d90e>0x0){if(_0x44d90e>_0x1f7210){this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x3fbb67,_0x3fbb67['hiddendigitspos']===_0x5ac9('0x11d')?_0x1a391d+_0x30f0e5[_0x5ac9('0x11e')](_0x1f7210):_0x30f0e5['substr'](0x0,_0x44d90e-_0x1f7210)+_0x1a391d);}else{this['createSquareDetailsReport']['sync'](this,_0x3fbb67,rs[_0x5ac9('0x11c')]({'charset':'*','length':_0x44d90e}));}}else{this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x3fbb67,'');}}else{this['createSquareDetailsReport'][_0x5ac9('0xa0')](this,_0x3fbb67,_0x30f0e5);}return _0x263a77;};AGIVertices['prototype'][_0x5ac9('0xb')]=function(_0x17021b){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x11f'),_0x17021b['label']));return this[_0x5ac9('0x111')](_0x17021b);};AGIVertices['prototype'][_0x5ac9('0x120')]=function(_0x54f555){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x121'),_0x54f555[_0x5ac9('0x34')]));this[_0x5ac9('0x32')]['sync'](this,_0x54f555,_0x54f555['goalname']);return this['channel']['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x122'),_0x54f555[_0x5ac9('0x123')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x124')]=function(_0x2f1bc4){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x125'),_0x2f1bc4[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x2f1bc4['aws_access_key_id'])||!this['isConfigured'](_0x2f1bc4[_0x5ac9('0x85')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x126'));}if(!this['isConfigured'](_0x2f1bc4['text'])){return this[_0x5ac9('0xc')]['noop']('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x127'),_0x2f1bc4['text']));var _0x38fa7c=this['awsPolly'][_0x5ac9('0xa0')](this,_0x2f1bc4);if(_0x38fa7c){this['channel']['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x128'),_0x38fa7c));var _0x5dd71a=this[_0x5ac9('0xc')]['streamFile'](_0x38fa7c);try{fs[_0x5ac9('0x102')](_0x38fa7c+_0x5ac9('0x103'));}catch(_0x5beac1){logger[_0x5ac9('0x28')](_0x5beac1);}return _0x5dd71a;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x2f1bc4,_0x5ac9('0x129'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x12a')]=function(_0x24d915){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x12b'),_0x24d915[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x24d915[_0x5ac9('0x84')])||!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x85')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x126'));}if(!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x8a')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x12c'));}if(!this[_0x5ac9('0x81')](_0x24d915[_0x5ac9('0x59')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')][_0x5ac9('0xe4')]=!![];this[_0x5ac9('0x32')](_0x24d915);this[_0x5ac9('0x3e')](_0x24d915['text'],'in','','');this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x12d'),_0x24d915[_0x5ac9('0x59')]));var _0x1cb66a=this[_0x5ac9('0x89')][_0x5ac9('0xa0')](this,_0x24d915);if(_0x1cb66a){for(var _0x3c585f in _0x1cb66a){if(_0x1cb66a[_0x5ac9('0xe6')](_0x3c585f)&&_[_0x5ac9('0x91')](_0x1cb66a[_0x3c585f])){this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0x12e'),_0x3c585f[_0x5ac9('0xe8')]()),_0x1cb66a[_0x3c585f]);}}if(_[_0x5ac9('0x4d')](_0x1cb66a['message'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this[_0x5ac9('0x3e')](_0x1cb66a[_0x5ac9('0x72')],_0x5ac9('0xea'),_0x5ac9('0x12f'),'');return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x130'),_0x1cb66a['message']));}}return this[_0x5ac9('0xc')]['error'](_0x24d915,_0x5ac9('0x131'));};AGIVertices['prototype']['googleasr']=function(_0x538bc1){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x132'),_0x538bc1[_0x5ac9('0x34')],_0x538bc1[_0x5ac9('0x62')]));if(!this[_0x5ac9('0x81')](_0x538bc1[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xe3'));}var _0x912f76=_0x5ac9('0x133');var _0x1d65ac=util['format']('%s/recordings/%s',FILES_PATH,rs[_0x5ac9('0x11c')](0x4));var _0x313d62=util[_0x5ac9('0x26')]('%s.%s',_0x1d65ac,_0x912f76);var _0x555fa7=!![];if(_0x538bc1[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x555fa7=![];}var _0x90b00c=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x1d65ac,_0x912f76,_0x538bc1[_0x5ac9('0x137')],_0x538bc1['timeout'],undefined,_0x555fa7);if(_0x90b00c[_0x5ac9('0x9e')]!==-0x1){this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x138'),_0x313d62));var _0x277a71=this[_0x5ac9('0x8b')]['sync'](this,_0x538bc1,_0x313d62);if(_0x277a71){for(var _0x17543e in _0x277a71){if(_0x277a71[_0x5ac9('0xe6')](_0x17543e)){this['channel'][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x139'),_0x17543e[_0x5ac9('0xe8')]()),_0x277a71[_0x17543e]);}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('GoogleASR\x20Result\x20%s',JSON[_0x5ac9('0x6f')](_0x277a71)));}}return _0x90b00c;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x13a')]=function(_0x131488){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20TILDEASR\x20(%s)\x20block',_0x131488[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x131488['appid'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x13b'));}if(!this['isConfigured'](_0x131488[_0x5ac9('0x8f')])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x13c'));}var _0x173aba='wav';var _0x3637b4=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,rs['generate'](0x4));var _0x4ca245=util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x3637b4,_0x173aba);var _0x131d7=!![];if(_0x131488[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x131d7=![];}var _0x145091=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x3637b4,_0x173aba,_0x131488[_0x5ac9('0x137')],_0x131488[_0x5ac9('0x62')],undefined,_0x131d7);if(_0x145091['result']!==-0x1){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x13d'),_0x4ca245));var _0x25b4a7=this[_0x5ac9('0x8d')][_0x5ac9('0xa0')](this,_0x131488,_0x4ca245);if(_0x25b4a7){for(var _0x65744f in _0x25b4a7){if(_0x25b4a7[_0x5ac9('0xe6')](_0x65744f)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x13e'),_0x65744f[_0x5ac9('0xe8')]()),_0x25b4a7[_0x65744f]);}}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x13f'),JSON[_0x5ac9('0x6f')](_0x25b4a7)));}}return _0x145091;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x140')]=function(_0x3d153f){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20GOTO\x20(%s)\x20block',_0x3d153f[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x141')](_0x3d153f[_0x5ac9('0x38')],_0x3d153f[_0x5ac9('0x39')],_0x3d153f[_0x5ac9('0x3a')]);};AGIVertices['prototype'][_0x5ac9('0x142')]=function(_0x405e65){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x143'),_0x405e65['label']));if(!this[_0x5ac9('0x81')](_0x405e65[_0x5ac9('0x144')])){return this['channel'][_0x5ac9('0x28')](_0x405e65,_0x5ac9('0x145'));}try{var _0x44f16a=eval(_0x405e65[_0x5ac9('0x144')])?_0x5ac9('0x146'):'false';this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x147'),_0x405e65[_0x5ac9('0x144')],_0x44f16a));return{'code':0xc8,'result':_0x44f16a};}catch(_0x36652f){return{'code':0xc8,'result':_0x5ac9('0x148')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x149')]=function(_0x99a0a4){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x14a'),_0x99a0a4[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x99a0a4[_0x5ac9('0x14b')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x99a0a4,'no\x20interval\x20configured');}var _0x26a4ef=this[_0x5ac9('0x21')][_0x5ac9('0xa0')](this,_0x99a0a4[_0x5ac9('0x14b')]);if(!_0x26a4ef){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x99a0a4,_0x5ac9('0x14c'));}for(var _0x5b117d=0x0;_0x5b117d<_0x26a4ef['length'];_0x5b117d+=0x1){var _0x4226a9=this[_0x5ac9('0xc')][_0x5ac9('0xf')](util[_0x5ac9('0x26')](_0x5ac9('0x14d'),_0x26a4ef[_0x5b117d]));if(_0x4226a9[_0x5ac9('0x9e')]===-0x1){return _0x4226a9;}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('IFTIME\x20%s\x20%s',_0x26a4ef[_0x5b117d],_0x4226a9[_0x5ac9('0x9d')]));if(_0x4226a9[_0x5ac9('0x9d')]===_0x5ac9('0x146')){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x146')));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x146')));return{'code':0xc8,'result':'true'};}else{logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],'false'));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x14e'),_0x26a4ef[_0x5b117d],_0x5ac9('0x148')));}}return{'code':0xc8,'result':_0x5ac9('0x148')};};AGIVertices[_0x5ac9('0xe')]['hangup']=function(_0x364f0c){logger['info'](util['format'](_0x5ac9('0x14f'),_0x364f0c[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x150')]();};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x151')]=function(_0x2d9bd6){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x152'),_0x2d9bd6['label']));if(!this['isConfigured'](_0x2d9bd6[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xe3'));}var _0x190682='wav';var _0x32f86e=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,rs[_0x5ac9('0x11c')](0x4));var _0x5efeee=util[_0x5ac9('0x26')](_0x5ac9('0x99'),_0x32f86e,_0x190682);var _0x57b5ff=!![];if(_0x2d9bd6[_0x5ac9('0x134')]===_0x5ac9('0x135')){_0x57b5ff=![];}var _0x5c7408=this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x32f86e,_0x190682,_0x2d9bd6[_0x5ac9('0x137')],_0x2d9bd6['timeout'],undefined,_0x57b5ff);if(_0x5c7408[_0x5ac9('0x9e')]!==-0x1){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('ispeech\x20%s\x20file\x20created',_0x5efeee));var _0x444622=this[_0x5ac9('0x153')]['sync'](this,_0x2d9bd6,_0x5efeee);if(_0x444622){for(var _0x4d2d83 in _0x444622){if(_0x444622[_0x5ac9('0xe6')](_0x4d2d83)){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util['format'](_0x5ac9('0x154'),_0x4d2d83[_0x5ac9('0xe8')]()),_0x444622[_0x4d2d83]);}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x155'),JSON[_0x5ac9('0x6f')](_0x444622)));}}return _0x5c7408;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x156')]=function(_0x389bff){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x157'),_0x389bff[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x389bff[_0x5ac9('0x76')])){return this[_0x5ac9('0xc')]['noop']('no\x20key\x20configured');}if(!this['isConfigured'](_0x389bff['text'])){return this['channel'][_0x5ac9('0xa5')](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0x158'),_0x389bff[_0x5ac9('0x59')]));var _0x3448a7=this[_0x5ac9('0x7d')][_0x5ac9('0xa0')](this,_0x389bff);if(_0x3448a7){this['channel']['noop'](util[_0x5ac9('0x26')]('ispeech\x20%s\x20file\x20created',_0x3448a7));var _0x4b5ce9=this['channel'][_0x5ac9('0x101')](_0x3448a7,_0x389bff[_0x5ac9('0x137')]);try{fs[_0x5ac9('0x102')](_0x3448a7+_0x5ac9('0x103'));}catch(_0x595dc1){logger[_0x5ac9('0x28')](_0x595dc1);}return _0x4b5ce9;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x389bff,_0x5ac9('0x159'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x15a')]=function(_0x2eb11d){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15b'),_0x2eb11d['label']));if(!this[_0x5ac9('0x81')](_0x2eb11d['findBy'])){return this[_0x5ac9('0xc')]['error'](_0x2eb11d,'no\x20find\x20by\x20configured');}logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));var _0x2d9abb=this[_0x5ac9('0x15e')][_0x5ac9('0xa0')](this,_0x2eb11d['findBy']);if(_0x2d9abb){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')]['callerid'],_0x2eb11d[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0x2eb11d[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x2eb11d[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x162')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x163')]=function(_0x21fdb2){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x164'),_0x21fdb2[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x21fdb2[_0x5ac9('0x15d')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x21fdb2,_0x5ac9('0x165'));}logger['info'](util['format'](_0x5ac9('0x15c'),this['channel'][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));var _0x445563=this[_0x5ac9('0x4f')][_0x5ac9('0xa0')](this,_0x21fdb2[_0x5ac9('0x15d')]);if(_0x445563){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2['findBy']));this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this['channel'][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x21fdb2[_0x5ac9('0x15d')]));return{'code':0xc8,'result':'failure'};}};AGIVertices['prototype'][_0x5ac9('0x166')]=function(_0x1b63b5){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x167'),_0x1b63b5['label']));if(!this['isConfigured'](_0x1b63b5[_0x5ac9('0x168')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1b63b5,_0x5ac9('0x169'));}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x16a'),_0x1b63b5[_0x5ac9('0x168')]));var _0xcfaa83=eval(_0x1b63b5[_0x5ac9('0x168')]);if(!this[_0x5ac9('0x81')](_0x1b63b5['variable_id'])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0xd3'));}var _0x2b30d4=this['getVariable'][_0x5ac9('0xa0')](this,_0x1b63b5['variable_id']);if(!_0x2b30d4){return this['channel'][_0x5ac9('0x28')](_0x1b63b5,_0x5ac9('0xd4'));}if(_[_0x5ac9('0x96')](_0xcfaa83)){var _0x2de6f5=this;_0xcfaa83[_0x5ac9('0xd6')](function(_0x39c7a5,_0x9b9bfa){_0x2de6f5[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')]('%s[%s]',_0x2b30d4,_0x9b9bfa),_0x39c7a5);});return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('variable\x20%s[key]\x20set',_0x2b30d4));}else{return this['channel'][_0x5ac9('0x9a')](_0x2b30d4,_0xcfaa83);}};AGIVertices['prototype'][_0x5ac9('0x16b')]=function(_0xe167f0){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20MENU\x20(%s)\x20block',_0xe167f0[_0x5ac9('0x34')]));if(_0xe167f0[_0x5ac9('0x113')]===0x0){return this[_0x5ac9('0xa1')](_0xe167f0);}_0xe167f0[_0x5ac9('0x113')]-=0x1;if(!this[_0x5ac9('0x81')](_0xe167f0[_0x5ac9('0x115')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0x114'));}var _0x19e134=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0xe167f0['file_id']);if(!_0x19e134){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0x16c'));}var _0x2268aa=this['channel'][_0x5ac9('0x116')](_0x19e134,_0xe167f0[_0x5ac9('0x117')],_0xe167f0[_0x5ac9('0x16d')]);var _0x45c4c4=_0x2268aa['result'];if(_0x2268aa[_0x5ac9('0x9e')]===-0x1){this[_0x5ac9('0x32')]['sync'](this,_0xe167f0,'-1');return _0x2268aa;}else if(_0x2268aa['extra']===_0x5ac9('0x62')){_0x2268aa[_0x5ac9('0x9e')]=_0x2268aa[_0x5ac9('0x9e')]['length']>0x0?_0x2268aa[_0x5ac9('0x9e')]:'t';}else if(_[_0x5ac9('0x40')](_0x2268aa['result'])){_0x2268aa[_0x5ac9('0x9e')]='#';_0x45c4c4='#';}if(!this[_0x5ac9('0x81')](_0xe167f0['variable_id'])){this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0xd3'));}else{var _0x37d4cd=this[_0x5ac9('0xf')]['sync'](this,_0xe167f0[_0x5ac9('0xd2')]);if(!_0x37d4cd){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0xe167f0,_0x5ac9('0xd4'));}this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x37d4cd,_0x45c4c4);}this[_0x5ac9('0x32')]['sync'](this,_0xe167f0,_0x45c4c4);return _0x2268aa;};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0xa5')]=function(_0x1dea5d){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0x1dea5d[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x1dea5d[_0x5ac9('0x16e')]||_0x1dea5d['label']);};AGIVertices[_0x5ac9('0xe')]['pause']=function(_0x70a203){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x16f'),_0x70a203['label']));if(!this['isConfigured'](_0x70a203[_0x5ac9('0x15d')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x70a203,_0x5ac9('0x165'));}logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));var _0x25d7b1=this['getPause'][_0x5ac9('0xa0')](this,_0x70a203[_0x5ac9('0x170')]);var _0x20550a=this['agentPause']['sync'](this,_0x70a203[_0x5ac9('0x15d')],_0x25d7b1);if(_0x20550a){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this['channel'][_0x5ac9('0x36')],_0x70a203[_0x5ac9('0x15d')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x5ac9('0xe')]['playback']=function(_0x5c1f54){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x171'),_0x5c1f54[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x5c1f54[_0x5ac9('0x115')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x5c1f54,'no\x20file\x20audio\x20selected');}var _0x4662bf=this[_0x5ac9('0x1b')][_0x5ac9('0xa0')](this,_0x5c1f54[_0x5ac9('0x115')]);if(!_0x4662bf){return this[_0x5ac9('0xc')]['error'](_0x5c1f54,_0x5ac9('0x16c'));}var _0x4c6b0f=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('PLAYBACK',[_0x4662bf,_0x5c1f54[_0x5ac9('0xdf')]]);if(_0x4c6b0f[_0x5ac9('0x9e')]===-0x1){return _0x4c6b0f;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0xbe'),_0x5ac9('0x172'),_0x4662bf));};AGIVertices[_0x5ac9('0xe')]['queue']=function(_0x54ae77){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x173'),_0x54ae77['label']));if(!this[_0x5ac9('0x81')](_0x54ae77[_0x5ac9('0x174')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x54ae77,_0x5ac9('0x175'));}var _0x1c0ef1='';var _0x5cf148=parseInt(_0x54ae77[_0x5ac9('0x174')],0xa);if(isNaN(_0x5cf148)){_0x1c0ef1=_0x54ae77[_0x5ac9('0x174')];}else{_0x1c0ef1=this[_0x5ac9('0x176')][_0x5ac9('0xa0')](this,_0x54ae77[_0x5ac9('0x174')]);if(!_0x1c0ef1){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x54ae77,_0x5ac9('0x177'));}}var _0x3cc16c='';if(this[_0x5ac9('0x81')](_0x54ae77[_0x5ac9('0x115')])){var _0x53ffda=this[_0x5ac9('0x1b')]['sync'](this,_0x54ae77['file_id']);if(_0x53ffda){_0x3cc16c=_0x53ffda;}}this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x54ae77,_0x1c0ef1);if(_0x54ae77['opts'][_0x5ac9('0x178')]('x')<0x0){_0x54ae77[_0x5ac9('0xdf')]+='x';}if(_0x54ae77[_0x5ac9('0xdf')]['indexOf']('X')<0x0){_0x54ae77[_0x5ac9('0xdf')]+='X';}this[_0x5ac9('0xc')]['setVariable'](_0x5ac9('0x179'),_0x1c0ef1?_0x1c0ef1['toLowerCase']():'');var _0x5b496f=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0x17a'),[_0x1c0ef1,_0x54ae77[_0x5ac9('0xdf')],_0x54ae77['url'],_0x3cc16c,_0x54ae77[_0x5ac9('0x62')],_0x54ae77[_0x5ac9('0x6')],_0x54ae77['macro'],_0x54ae77['gosub'],'',_0x54ae77['position']]);if(_0x5b496f[_0x5ac9('0x9e')]===-0x1){return _0x5b496f;}return this[_0x5ac9('0xc')]['noop'](util[_0x5ac9('0x26')]('Executed\x20command\x20%s\x20%s','QUEUE',_0x1c0ef1));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x17b')]=function(_0x25b2f5){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x17c'),_0x25b2f5[_0x5ac9('0x34')]));var _0x7d2a7c=_0x25b2f5[_0x5ac9('0x17d')]||_0x5ac9('0x133');var _0x5158e2=util[_0x5ac9('0x26')](_0x5ac9('0x17e'),this[_0x5ac9('0xc')][_0x5ac9('0x33')],rs['generate'](0x5));var _0x4ffe96=util[_0x5ac9('0x26')]('%s/recordings/%s.%s',FILES_PATH,_0x5158e2,_0x7d2a7c);var _0x82b62a=util[_0x5ac9('0x26')]('%s/recordings/%s',FILES_PATH,_0x5158e2);this[_0x5ac9('0x37')]['sync'](this,_0x25b2f5,_0x5158e2,_0x4ffe96);this[_0x5ac9('0xc')][_0x5ac9('0x9a')]('RECORDING_SAVENAME',_0x5158e2);logger[_0x5ac9('0x2a')](_0x5ac9('0x17f'),_0x82b62a,_0x7d2a7c,_0x25b2f5[_0x5ac9('0x180')],_0x25b2f5[_0x5ac9('0x62')]);return this[_0x5ac9('0xc')][_0x5ac9('0x136')](_0x82b62a,_0x7d2a7c,_0x25b2f5['escape_digits'],_0x25b2f5[_0x5ac9('0x62')],undefined,!![]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x181')]=function(_0x1e432a){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x182'),_0x1e432a['label']));if(!this[_0x5ac9('0x81')](_0x1e432a[_0x5ac9('0x6e')])){return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x183'));}var _0xbcf767=this[_0x5ac9('0x60')][_0x5ac9('0xa0')](this,_0x1e432a);logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x184'),util[_0x5ac9('0x185')](_0xbcf767,{'showHidden':![],'depth':null})));if(!this['isConfigured'](_0x1e432a[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x186'));}var _0x1fc516=this[_0x5ac9('0xf')]['sync'](this,_0x1e432a[_0x5ac9('0xd2')]);if(!_0x1fc516){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x1e432a,_0x5ac9('0xd4'));}this[_0x5ac9('0xc')]['setVariable'](util[_0x5ac9('0x26')](_0x5ac9('0x187'),_0x1fc516),_0xbcf767[_0x5ac9('0x71')]?_0xbcf767['statusCode']:_0x5ac9('0x188'));this[_0x5ac9('0xc')][_0x5ac9('0x9a')](util[_0x5ac9('0x26')](_0x5ac9('0x189'),_0x1fc516),_0xbcf767[_0x5ac9('0x18a')]?_0xbcf767[_0x5ac9('0x18a')]:'OK');if(_0xbcf767[_0x5ac9('0x66')]){try{this[_0x5ac9('0x97')](_0xbcf767[_0x5ac9('0x66')],_0x1fc516);}catch(_0x1836ce){logger['error'](util['format'](_0x5ac9('0x18b'),_0x1fc516));}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xd9'),_0x1fc516));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x18c')]=function(_0x5cfb61){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x18d'),_0x5cfb61['label']));return this[_0x5ac9('0xc')][_0x5ac9('0x18e')](_0x5cfb61[_0x5ac9('0x18f')][_0x5ac9('0x190')](/\s+/g,''),_0x5cfb61['escape_digits']);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x191')]=function(_0x38d15c){logger['info'](util['format'](_0x5ac9('0x192'),_0x38d15c[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')][_0x5ac9('0x193')](_0x38d15c['number']['replace'](/\s+/g,''),_0x38d15c[_0x5ac9('0x180')]);};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x194')]=function(_0x15a192){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x195'),_0x15a192[_0x5ac9('0x34')]));return this['channel'][_0x5ac9('0x196')](_0x15a192[_0x5ac9('0x59')],_0x15a192[_0x5ac9('0x180')]);};AGIVertices[_0x5ac9('0xe')]['sendMail']=function(_0x357fb5){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SENDMAIL\x20(%s)\x20block',_0x357fb5[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x357fb5[_0x5ac9('0x197')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x198'));}var _0x2d6d20=this['getMailAccount'][_0x5ac9('0xa0')](this,_0x357fb5['account_id']);if(!_0x2d6d20||!_0x2d6d20[_0x5ac9('0x199')]){return this[_0x5ac9('0xc')]['error'](_0x357fb5,_0x5ac9('0x19a'));}var _0x3bc581={'from':util[_0x5ac9('0x26')]('\x22%s\x22\x20<%s>',_0x2d6d20['name'],_0x2d6d20[_0x5ac9('0x19b')]||_0x2d6d20[_0x5ac9('0x199')]['user']),'to':_0x357fb5['to']||'','cc':_0x357fb5['cc']||'','bcc':_0x357fb5[_0x5ac9('0x19c')]||'','subject':_0x357fb5['subject'],'html':_0x357fb5[_0x5ac9('0x59')],'text':_0x357fb5['text']};if(this[_0x5ac9('0x81')](_0x357fb5[_0x5ac9('0x19d')])){}logger[_0x5ac9('0x19e')](_0x5ac9('0x19f'),JSON[_0x5ac9('0x6f')](_0x3bc581));this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x357fb5,_0x357fb5[_0x5ac9('0x197')]);this['channel'][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x1a0'),_0x2d6d20[_0x5ac9('0x11')]));this[_0x5ac9('0x1f')][_0x5ac9('0xa0')](this,_0x2d6d20[_0x5ac9('0x1a1')],_0x3bc581);return this['channel'][_0x5ac9('0xa5')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1a2')]=function(_0x193168){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1a3'),_0x193168[_0x5ac9('0x34')]));return this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x1a4'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1a5')]=function(_0x4c4c2f){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1a6'),_0x4c4c2f[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x4c4c2f['sms_account_id'])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20sms\x20account\x20configured');}var _0x308893=this[_0x5ac9('0x30')][_0x5ac9('0xa0')](this,_0x4c4c2f[_0x5ac9('0x1a7')]);if(!_0x308893){return this[_0x5ac9('0xc')]['error'](_0x4c4c2f,_0x5ac9('0x1a8'));}var _0x5838b4={'body':_0x4c4c2f[_0x5ac9('0x1a9')],'phone':_0x4c4c2f['to']||'','SmsAccountId':_0x308893['id']};logger[_0x5ac9('0x19e')](_0x5ac9('0x1aa'),JSON[_0x5ac9('0x6f')](_0x5838b4));this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x4c4c2f,_0x4c4c2f[_0x5ac9('0x1a7')]);this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util['format'](_0x5ac9('0x1ab'),_0x308893[_0x5ac9('0x11')]));this[_0x5ac9('0x31')][_0x5ac9('0xa0')](this,_0x5838b4);return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](_0x5ac9('0x1ac'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1ad')]=function(_0x3fb1d6){logger['info'](util[_0x5ac9('0x26')](_0x5ac9('0x1ae'),_0x3fb1d6[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0x3fb1d6['variable_id'])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x3fb1d6,_0x5ac9('0x1af'));}var _0x8d54c7=this[_0x5ac9('0xf')][_0x5ac9('0xa0')](this,_0x3fb1d6[_0x5ac9('0xd2')]);if(!_0x8d54c7){return this[_0x5ac9('0xc')]['error'](_0x3fb1d6,_0x5ac9('0xd4'));}return this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x8d54c7,_0x3fb1d6['variable_value']);};AGIVertices[_0x5ac9('0xe')]['start']=function(_0x3acba8){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x1b0'),_0x3acba8['label']));this['channel'][_0x5ac9('0xa5')](_0x5ac9('0x1b1'));var _0x5c8eae=this[_0x5ac9('0xc')][_0x5ac9('0xf')](_0x5ac9('0x1b2'));if(!_['isEmpty'](_0x5c8eae[_0x5ac9('0x9d')])){this[_0x5ac9('0xc')][_0x5ac9('0x33')]=_0x5c8eae['extra'];}if(_0x3acba8[_0x5ac9('0xb1')]===_0x5ac9('0x1b3')){this[_0x5ac9('0xc')]['noop'](_0x5ac9('0x1b4'));return this[_0x5ac9('0xc')][_0x5ac9('0xb1')]();}return this[_0x5ac9('0xc')]['noop']('Skipped\x20Answer');};AGIVertices[_0x5ac9('0xe')]['subproject']=function(_0x257786){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x257786[_0x5ac9('0x34')]));if(!this['isConfigured'](_0x257786[_0x5ac9('0x1b5')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x257786,_0x5ac9('0x1b6'));}var _0x53b5a1=this[_0x5ac9('0x14')][_0x5ac9('0xa0')](this,_0x257786[_0x5ac9('0x1b5')]);if(!this['isConfigured'](_0x53b5a1)){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x257786,util['format'](_0x5ac9('0x1b7'),_0x257786[_0x5ac9('0x1b5')]));}if(_0x53b5a1===this[_0x5ac9('0xc')][_0x5ac9('0x1b8')]){return this[_0x5ac9('0xc')]['error'](_0x257786,_0x5ac9('0x1b9'));}this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x257786,_0x53b5a1);var _0x28771c=this[_0x5ac9('0xc')][_0x5ac9('0x54')](_0x5ac9('0x1ba'),util['format']('agi://%s/square,\x22%s\x22,\x22%s\x22',config[_0x5ac9('0x6')][_0x5ac9('0x1bb')]||_0x5ac9('0x1bc'),_0x53b5a1,this[_0x5ac9('0xc')][_0x5ac9('0x1b8')]));if(_0x28771c[_0x5ac9('0x9e')]===-0x1){return _0x28771c;}return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('Executed\x20command\x20%s\x20%s','AGI',_0x53b5a1));};AGIVertices[_0x5ac9('0xe')]['system']=function(_0x314b05){logger['info'](util['format'](_0x5ac9('0x1bd'),_0x314b05[_0x5ac9('0x34')]));var _0x3f4cb2=this[_0x5ac9('0x53')]['sync'](this,_0x314b05['command']);this[_0x5ac9('0x32')][_0x5ac9('0xa0')](this,_0x314b05,_0x314b05[_0x5ac9('0xb0')]);if(this[_0x5ac9('0x81')](_0x314b05[_0x5ac9('0xd2')])){var _0x2a799c=this[_0x5ac9('0xf')]['sync'](this,_0x314b05[_0x5ac9('0xd2')]);if(_0x2a799c){this[_0x5ac9('0xc')][_0x5ac9('0x9a')](_0x2a799c,_0x3f4cb2);return this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x314b05[_0x5ac9('0xb0')],_0x2a799c));}}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('sh\x20command:\x20%s\x20result\x20no\x20stored',_0x314b05[_0x5ac9('0xb0')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1be')]=function(_0x1e4d26){logger[_0x5ac9('0x2a')](util['format'](_0x5ac9('0x1bf'),_0x1e4d26[_0x5ac9('0x34')]));_0x1e4d26[_0x5ac9('0x59')]=_0x1e4d26[_0x5ac9('0x59')][_0x5ac9('0x190')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x5ac9('0x81')](_0x1e4d26[_0x5ac9('0x57')])){return this[_0x5ac9('0xc')][_0x5ac9('0xa5')]('no\x20apiKey\x20configured');}if(!this['isConfigured'](_0x1e4d26[_0x5ac9('0x59')])){return this['channel'][_0x5ac9('0xa5')]('no\x20text\x20configured');}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x1c0'),_0x1e4d26[_0x5ac9('0x59')]));var _0x2ab231=this[_0x5ac9('0x56')][_0x5ac9('0xa0')](this,_0x1e4d26);if(_0x2ab231){this['channel'][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x1c1'),_0x2ab231));var _0x10a5bf=this['channel']['streamFile'](_0x2ab231);try{fs['unlink'](_0x2ab231+_0x5ac9('0x103'));}catch(_0x3f9e26){logger[_0x5ac9('0x28')](_0x3f9e26);}return _0x10a5bf;}return this['channel']['error'](_0x1e4d26,_0x5ac9('0x1c2'));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c3')]=function(_0x363851){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x363851[_0x5ac9('0x34')]));_0x363851['text']=_0x363851[_0x5ac9('0x59')][_0x5ac9('0x190')](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x363851[_0x5ac9('0x59')])){return this['channel']['noop'](_0x5ac9('0xa3'));}this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')]('Trying\x20Google\x20TTS\x20%s',_0x363851['text']));var _0x9855=this[_0x5ac9('0x5f')][_0x5ac9('0xa0')](this,_0x363851);if(_0x9855){this[_0x5ac9('0xc')]['noop'](util['format'](_0x5ac9('0x1c4'),_0x9855));var _0x1a62b3=this[_0x5ac9('0xc')][_0x5ac9('0x101')](_0x9855);try{fs[_0x5ac9('0x102')](_0x9855+'.wav');}catch(_0x49a5b8){logger[_0x5ac9('0x28')](_0x49a5b8);}return _0x1a62b3;}return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x363851,'Google\x20TTS\x20is\x20unreachable');};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c5')]=function(_0xfc750e){logger[_0x5ac9('0x2a')](util['format']('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0xfc750e[_0x5ac9('0x34')]));if(!this[_0x5ac9('0x81')](_0xfc750e[_0x5ac9('0x15d')])){return this['channel'][_0x5ac9('0x28')](_0xfc750e,'no\x20find\x20by\x20configured');}logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')](_0x5ac9('0x15c'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e[_0x5ac9('0x15d')]));var _0x49a80a=this['agentUnpause'][_0x5ac9('0xa0')](this,_0xfc750e[_0x5ac9('0x15d')]);if(_0x49a80a){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0xfc750e[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x15f'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e['findBy']));return{'code':0xc8,'result':_0x5ac9('0x160')};}else{logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x5ac9('0xc')]['callerid'],_0xfc750e[_0x5ac9('0x15d')]));this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0x161'),this[_0x5ac9('0xc')][_0x5ac9('0x36')],_0xfc750e['findBy']));return{'code':0xc8,'result':_0x5ac9('0x162')};}};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c6')]=function(_0x39c945){logger['info'](util[_0x5ac9('0x26')]('Enter\x20in\x20VOICEMAIL\x20(%s)\x20block',_0x39c945[_0x5ac9('0x34')]));var _0x32250e=this[_0x5ac9('0xc')][_0x5ac9('0x54')]('VOICEMAIL',[_0x39c945[_0x5ac9('0x1c7')],_0x39c945[_0x5ac9('0x74')]]);if(_0x32250e['result']===-0x1){return _0x32250e;}return this[_0x5ac9('0xc')][_0x5ac9('0xa5')](util[_0x5ac9('0x26')](_0x5ac9('0xbe'),'VOICEMAIL',_0x39c945[_0x5ac9('0x1c7')]));};AGIVertices[_0x5ac9('0xe')][_0x5ac9('0x1c8')]=function(_0x486335){logger[_0x5ac9('0x2a')](util[_0x5ac9('0x26')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x486335['label']));if(!this[_0x5ac9('0x81')](_0x486335[_0x5ac9('0xd2')])){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x486335,_0x5ac9('0x1af'));}var _0x53a9e0=this[_0x5ac9('0xf')]['sync'](this,_0x486335[_0x5ac9('0xd2')]);if(!_0x53a9e0){return this[_0x5ac9('0xc')][_0x5ac9('0x28')](_0x486335,_0x5ac9('0xd4'));}var _0x5ec2cc=this[_0x5ac9('0xc')]['getVariable'](_0x53a9e0);return{'code':0xc8,'result':_0x5ec2cc[_0x5ac9('0x9d')]?_0x5ec2cc[_0x5ac9('0x9d')]:'-'};};String[_0x5ac9('0xe')][_0x5ac9('0x9c')]=function(_0x8f1946,_0x44f6d1){return this['split'](_0x8f1946)['join'](_0x44f6d1);};module['exports']=AGIVertices;