Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / services / agi / vertices.js
index e695d2b..aaf0345 100644 (file)
@@ -1 +1 @@
-const a1048_0x41ab=['getQueryOdbc','format','no\x20queue\x20selected','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','beep','recordFile','Executed\x20command\x20MRCPSynth\x20%s','getSound','odbc','scheduledAt','set','no\x20find\x20by\x20configured','Enter\x20in\x20SYSTEM\x20(%s)\x20block','google_cloud_tts','email','Executed\x20command\x20%s','createSquareDetailsReport','speech','goalname','bcc','answer','no\x20variable\x20found','SestekNDA\x20Result\x20%s','Error\x20getting\x20ODBC\x20connection\x20%s','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','getIntervalById','%s_ROWS_COUNT','IFTIME\x20%s\x20%s','arg_1','command','undefined','rawBody','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','operation','query','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','200','message','Enter\x20in\x20RECORD\x20(%s)\x20block','awsLex','Enter\x20in\x20RESTAPI\x20(%s)\x20block','PUT','subject','no\x20variable\x20selected\x20for\x20the\x20response','system','lastName','getIntervals','no\x20client_email\x20configured','google_cloud_tts_text_type','false','ssmlGender','createSmsMessage','project_id','lumenvoxtts','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','Enter\x20in\x20DIAL\x20(%s)\x20block','Callback\x20scheduled\x20at\x20','macro','replaceAll','service','isString','Google\x20TTS\x20is\x20unreachable','%s[%s][%s]','sendSMS\x20message','agi://%s/square,\x22%s\x22,\x22%s\x22','../../config/environment','output','rpc','../../config/logger','split','options','ispeechasr','error','RECORDING_SAVENAME','sayphonetic','no\x20grammar\x20configured','Recording\x20%s\x20%s\x20%s\x20%s','DIALOGFLOW_%s','no\x20intervals\x20found','IspeechASR\x20Result\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','%s_STATUS_MESSAGE','variable\x20%s\x20set','sesteknda','DialogflowV2\x20is\x20unreachable','sh\x20command:\x20%s\x20result\x20no\x20stored','method','noop','recursiveNodeIndex','model','exports','googleDialogflow','interval_id','AWS_LEX_%s','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','isArray','sms_text','parse','trim','getSmsAccountById','secure','getVariableById','debug','Smtp','sendMail','no\x20variable\x20selected\x20for\x20the\x20result','ISPEECH_ASR_%s','getVoiceQueueById','getSquareProjectById','clone','hangup','authentication','%s/sounds/converted/%s','dialogflowV2','Answer','GoogleASR\x20Result\x20%s','maxRetry','POST','no\x20mail\x20account\x20found','first','VOICEMAIL','open','no\x20key\x20configured','keys','user','replace','statusMessage','list_id','no\x20user\x20selected','gosub','goal','no\x20project_id\x20configured','Error\x20executing\x20query\x20%s','DialogflowV2\x20Result\x20%s','label','username','Enter\x20in\x20SET\x20(%s)\x20block','no\x20queue\x20found','dialogflow','mustache','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','TILDE_ASR_%s','500\x20-\x20Internal\x20Server\x20Error','retry','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','Enter\x20in\x20GOAL\x20(%s)\x20block','substr','delay','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','Enter\x20in\x20NOOP\x20(%s)\x20block','Skipped\x20Answer','sayPhonetic','replaceAllVariables','end','no\x20mail\x20account\x20configured','mailbox','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','login','sendFax','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','AGENT\x20%s\x20NOT\x20FOUND\x20BY','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','Amy','info','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','indexOf','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','127.0.0.1','appsecret','Enter\x20in\x20LOGOUT\x20(%s)\x20block','name','getPauseById','pause','save_name','no\x20database\x20selected','callback_','AGI','sms_account_id','channel','setVariable','googleCloudTTS','getMailAccountById','isEmpty','googleASR','Enter\x20in\x20ANSWER\x20(%s)\x20block','getsecretdigits','GOOGLE_ASR_%s','no\x20sms\x20account\x20configured','Trying\x20Dialogflow:\x20%s','SIP/%s/%s','RECOG_CONFIDENCE()','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','getSmsAccount','ispeech_tts_language','stringify','response','sestekasr','interval','agentLogin','EVAL\x20CONDITION\x20%s\x20%s','headers','internal','FIND\x20AGENT\x20%s\x20BY\x20%s','port','isConfigured','./scripts','createCmContact','sayNumber','Enter\x20in\x20LOGIN\x20(%s)\x20block','SestekNDA\x20is\x20unreachable','wav','googleasr','audiofile','hiddendigitspos','host','Executed\x20command\x20MRCPRecog\x20%s','aws_lex_region','getUser','forEach','math\x20%s','no\x20operation\x20configured','uri','prototype','Trying\x20SestekNDA:\x20%s','gotoiftime','text','database','digits','dialogflowV2_project_id','GOAL\x20%s','getPause','getData','Trying\x20SendSMS\x20with\x20account\x20%s','timeout','position','getSquareProject','Trying\x20Google\x20TTS\x20%s','%s/recordings/%s.%s','MP3','voicemail','no\x20odbc\x20database\x20found','no\x20variable\x20selected','awsPolly','MRCP_RECOG_TRANSCRIPT','providerResponse','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','computedVariables','sync','Enter\x20in\x20SENDSMS\x20(%s)\x20block','includes','getTrunk','mailRpc','queue_id','success','mrcprecog','Enter\x20in\x20HANGUP\x20(%s)\x20block','maxdigit','mindigit','digit','callback_priority','saveRestApiResult','sip_id','aws_access_key_id','createSquareMessage','getUserById','intKey','Enter\x20in\x20PAUSE\x20(%s)\x20block','PLAYBACK','url','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','DIAL','AGENT\x20%s\x20FOUND\x20BY','out','gotoc','accountcode','Sms\x20message\x20added\x20to\x20outgoing\x20process','aws_secret_access_key','no\x20file\x20audio\x20found','Enter\x20in\x20MATH\x20(%s)\x20block','vswitch','createSquareRecording','randomstring','Enter\x20in\x20GOTOIF\x20(%s)\x20block','unlink','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','sendMailMessage','file','IntervalId','extra','agent','moment','no\x20query\x20configured','toString','findBy','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','Trying\x20DialogflowV2:\x20%s','no\x20file\x20audio\x20selected','account_id','getSquareOdbcById','variable_id','SESTEK_ASR_CONFIDENCE','IFTIME(%s?true:false)','getSoundById','no\x20text\x20configured','%s[%s]','render','%s_%s','recordingFormat','RECOG_INSTANCE()','callerid','unpause','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','getAndSetVariable','no\x20url\x20configured','start','ispeechASR','aws_bot_name','Wait\x20%s\x20seconds\x20before\x20answer','tildeasr','START\x20CALLY\x20SQUARE','no\x20trunk\x20selected','Dialogflow\x20Result\x20%s','speed','callback','LOCAL','%s/%s@from-sip/n','math','agentLogout','custom_app','opts','phone','RECOG_INPUT()','isPlainObject','TildeASR\x20Result\x20%s','%s/recordings/%s','googleDialogflowV2','appid','toLowerCase','Trying\x20Amazon\x20Lex:\x20%s','body','then','streamFile','true','languageCode','extension','awslex','args','SENDFAX\x20block\x20not\x20implemented','finally','ispeech_asr_language','tts','failure','ispeechtts','exec','saynumber','replaceObjectAllVariables','Enter\x20in\x20TILDEASR\x20(%s)\x20block','ext_dial','agentPause','google\x20%s\x20file\x20created','rawHeaders','getdigits','ispeechTTS','no\x20interval\x20configured','no\x20condition\x20configured','en-US','uniqueid','Intervals','continueAt','trunk_id','saydigits','generate','catch','client_email','getVoiceQueue','getSoundPath','Enter\x20in\x20SENDFAX\x20(%s)\x20block','sendMail\x20message','no\x20user\x20found','wait','Executed\x20command\x20%s\x20%s','no\x20anguage\x20configured','MALE','statusCode','inspect','trunk_name','Amazon\x20Lex\x20ready\x20for\x20fulfillment','Enter\x20in\x20MENU\x20(%s)\x20block','Enter\x20in\x20START\x20(%s)\x20block','number','getSquareOdbc','ndauth_url','MRCPRecog','QUEUE','tilde\x20%s\x20file\x20created','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','subproject','googleTTS','agicommand','ndassistant_url','getVariable','LUMENVOX_ASR_CONFIDENCE','random','XMCS-QUEUE','sestekNDA','restAPI','priority','length','bot','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','request-promise-native','aws_text_type','Sestek\x20NDA\x20%s\x20file\x20created','auth','ODBC\x20connection\x20successfully','MRCPSynth','agi','private_key','menu','getTrunkById','toUpperCase','escape_digits','dnid','Enter\x20in\x20GOTO\x20(%s)\x20block','NOBEEP','ispeech\x20TTS\x20is\x20unreachable','google_tts_language','key','\x22%s\x22\x20<%s>','yes','no\x20list\x20selected','odbc_id','no\x20valid\x20credentials\x20configured','no\x20appsecret\x20configured','dialogflowV2_language','SESTEK_NDA_%s','grammar','condition','agentUnpause','tildeASR','file_id','result','query:\x20%s','%s.%s','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','shellCommand','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','Google\x20Cloud\x20TTS\x20is\x20unreachable','.wav','isNil','getMailAccount'];(function(_0x53c6c1,_0x41ab68){const _0x4f2bbe=function(_0x4de05b){while(--_0x4de05b){_0x53c6c1['push'](_0x53c6c1['shift']());}};_0x4f2bbe(++_0x41ab68);}(a1048_0x41ab,0x1ab));const a1048_0x4f2b=function(_0x53c6c1,_0x41ab68){_0x53c6c1=_0x53c6c1-0x0;let _0x4f2bbe=a1048_0x41ab[_0x53c6c1];return _0x4f2bbe;};const _0x361a0f=a1048_0x4f2b;'use strict';const fs=require('fs'),util=require('util'),_=require('lodash'),sh=require('shelljs'),odbc=require(_0x361a0f('0x25')),rs=require(_0x361a0f('0x13a')),moment=require(_0x361a0f('0x143')),Mustache=require(_0x361a0f('0xaa')),rp=require(_0x361a0f('0x1bb')),logger=require(_0x361a0f('0x63'))(_0x361a0f('0x1c1')),config=require(_0x361a0f('0x60')),scripts=require(_0x361a0f('0xee')),FILES_PATH='/var/opt/motion2/server/files',recursiveMapAttributes=[_0x361a0f('0x189'),_0x361a0f('0x3c')],verticesWithRetry=['menu','getdigits',_0x361a0f('0xda')],AGIVertices=function(_0x4de05b,_0x53fef2,_0x2a8fb0){const _0x3a8153=_0x361a0f;this[_0x3a8153('0xd3')]=_0x4de05b,this[_0x3a8153('0x62')]=_0x53fef2,this[_0x3a8153('0x11c')]=_0x2a8fb0;};AGIVertices[_0x361a0f('0xff')]['getVariable']=function(_0x4df816,_0x31923c){const _0x2e3acd=_0x361a0f;this[_0x2e3acd('0x62')][_0x2e3acd('0x84')](_0x4df816)[_0x2e3acd('0x175')](function(_0x33b704){const _0x52a272=_0x2e3acd;_0x31923c(null,_0x33b704?_0x33b704[_0x52a272('0xcb')]:![]);})['catch'](function(_0xd7bf2a){_0x31923c(_0xd7bf2a);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x197')]=function(_0x34b21c,_0x32d30e){const _0x1ec2e3=_0x361a0f;this[_0x1ec2e3('0x62')][_0x1ec2e3('0x8a')](_0x34b21c)[_0x1ec2e3('0x175')](function(_0x886d65){const _0x32e772=_0x1ec2e3;_0x32d30e(null,_0x886d65?_0x886d65[_0x32e772('0xcb')]:![]);})[_0x1ec2e3('0x195')](function(_0x487f50){_0x32d30e(_0x487f50);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x10c')]=function(_0x1355c8,_0x17273c){const _0x7f4bf0=_0x361a0f;this[_0x7f4bf0('0x62')][_0x7f4bf0('0x8b')](_0x1355c8)[_0x7f4bf0('0x175')](function(_0x2bdb1f){_0x17273c(null,_0x2bdb1f?_0x2bdb1f['name']:![]);})[_0x7f4bf0('0x195')](function(_0x4aba9f){_0x17273c(_0x4aba9f);});},AGIVertices[_0x361a0f('0xff')]['getSquareOdbc']=function(_0x2f308e,_0x4c4d6){const _0xfcc6df=_0x361a0f;this['rpc'][_0xfcc6df('0x14b')](_0x2f308e)[_0xfcc6df('0x175')](function(_0x2d182a){_0x4c4d6(null,_0x2d182a?_0x2d182a['dsn']:![]);})[_0xfcc6df('0x195')](function(_0x4ed818){_0x4c4d6(_0x4ed818);});},AGIVertices[_0x361a0f('0xff')]['getUser']=function(_0x370a1f,_0x275749){const _0x119502=_0x361a0f;this['rpc'][_0x119502('0x129')](_0x370a1f)[_0x119502('0x175')](function(_0x435c99){const _0x4f1d74=_0x119502;_0x275749(null,_0x435c99?_0x435c99[_0x4f1d74('0xcb')]:![]);})[_0x119502('0x195')](function(_0x489464){_0x275749(_0x489464);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x11b')]=function(_0x1b88e9,_0x522488){const _0x3f2dbf=_0x361a0f;this[_0x3f2dbf('0x62')][_0x3f2dbf('0x1c4')](_0x1b88e9)['then'](function(_0x1310e7){const _0x430307=_0x3f2dbf;_0x522488(null,_0x1310e7?_0x1310e7[_0x430307('0xcb')]:![]);})[_0x3f2dbf('0x195')](function(_0x397084){_0x522488(_0x397084);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x24')]=function(_0x4281c8,_0x13e465){const _0x33ead8=_0x361a0f,_0x3d2d0b=this;this['rpc'][_0x33ead8('0x14f')](_0x4281c8)['then'](function(_0x385499){const _0x14c693=_0x33ead8;_0x13e465(null,_0x385499?_0x3d2d0b[_0x14c693('0x198')](_0x385499[_0x14c693('0xce')]):![]);})[_0x33ead8('0x195')](function(_0x18ab5e){_0x13e465(_0x18ab5e);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x1c')]=function(_0x4f6d8f,_0x35348b){const _0x1c9161=_0x361a0f;this[_0x1c9161('0x62')][_0x1c9161('0xd6')](_0x4f6d8f)[_0x1c9161('0x175')](function(_0x37c83e){_0x35348b(null,_0x37c83e?_0x37c83e:![]);})[_0x1c9161('0x195')](function(_0x5cd308){_0x35348b(_0x5cd308);});},AGIVertices['prototype'][_0x361a0f('0x13e')]=function(_0x4c81b3,_0x4ee5ef,_0x11154a){const _0x589cab=_0x361a0f;this[_0x589cab('0x11c')][_0x589cab('0x13e')](_0x4c81b3,_0x4ee5ef)[_0x589cab('0x175')](function(){_0x11154a(null);})[_0x589cab('0x195')](function(_0x5949db){_0x11154a(_0x5949db);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x4d')]=function(_0x4776e5,_0x4d7e19){const _0x4e891e=_0x361a0f;this[_0x4e891e('0x62')][_0x4e891e('0x36')](_0x4776e5)[_0x4e891e('0x175')](function(_0x448bfd){const _0x61fd81=_0x4e891e;_0x448bfd?_0x448bfd[_0x61fd81('0x140')]?_0x4d7e19(null,[_0x448bfd[_0x61fd81('0xe6')]]):_0x4d7e19(null,_['map'](_0x448bfd[_0x61fd81('0x190')],'interval')):_0x4d7e19(null,![]);})[_0x4e891e('0x195')](function(_0x1a4d33){_0x4d7e19(_0x1a4d33);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x198')]=function(_0xc304d){const _0x2fe68d=_0x361a0f;return util['format'](_0x2fe68d('0x8f'),FILES_PATH,_0xc304d);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x1d')]=function(_0x116e4f,_0x41386f,_0x48d7eb){const _0x35918c=_0x361a0f;odbc[_0x35918c('0x98')](_0x116e4f,function(_0x17afe2){const _0x7b4bbc=_0x35918c;_0x17afe2?(logger[_0x7b4bbc('0x67')](_0x7b4bbc('0x34'),_0x17afe2),_0x48d7eb(_0x17afe2)):(logger[_0x7b4bbc('0xc3')](_0x7b4bbc('0x1bf')),odbc[_0x7b4bbc('0x41')](_0x41386f,function(_0x45e6e8,_0x47888f){const _0x5b389d=_0x7b4bbc;_0x45e6e8?(logger[_0x5b389d('0xc3')](_0x5b389d('0xa3'),_0x41386f),_0x48d7eb(_0x45e6e8)):(logger['info']('Query\x20executed\x20correctly\x20%s',_0x41386f),odbc['close'](function(_0x5b9601){const _0x16d52e=_0x5b389d;_0x5b9601&&logger[_0x16d52e('0x67')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x5b9601),_0x48d7eb(null,_0x47888f);}));}));});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xe1')]=function(_0x3e8c03,_0x2c50eb){const _0x10848d=_0x361a0f;this['rpc'][_0x10848d('0x82')](_0x3e8c03)['then'](function(_0x3e9e94){_0x2c50eb(null,_0x3e9e94?_0x3e9e94:![]);})[_0x10848d('0x195')](function(_0x87aed8){_0x2c50eb(_0x87aed8);});},AGIVertices['prototype'][_0x361a0f('0x52')]=function(_0x24c323,_0x3e69e9){const _0x17f521=_0x361a0f;this[_0x17f521('0x62')][_0x17f521('0x52')](_0x24c323)[_0x17f521('0x175')](function(_0x5be42a){_0x3e69e9(null,_0x5be42a);})[_0x17f521('0x195')](function(_0x13b6be){_0x3e69e9(_0x13b6be);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x2d')]=function(_0x35a282,_0x112b5f,_0x2a9e86){const _0x3d21b1=_0x361a0f;this[_0x3d21b1('0x62')][_0x3d21b1('0x2d')]({'uniqueid':this[_0x3d21b1('0xd3')][_0x3d21b1('0x18f')],'node':_0x35a282[_0x3d21b1('0xa5')],'application':_0x35a282[_0x3d21b1('0x1af')],'data':_0x112b5f||null,'project_name':this[_0x3d21b1('0xd3')][_0x3d21b1('0x39')],'callerid':this[_0x3d21b1('0xd3')][_0x3d21b1('0x156')]})[_0x3d21b1('0x175')](function(_0x33a1d2){_0x2a9e86&&_0x2a9e86(null,_0x33a1d2);})['catch'](function(_0x385c38){_0x2a9e86&&_0x2a9e86(_0x385c38);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x139')]=function(_0x1794cd,_0x37d623,_0x2f98c2,_0x1c3edf){const _0x28ea92=_0x361a0f;this[_0x28ea92('0x62')][_0x28ea92('0x139')]({'uniqueid':this[_0x28ea92('0xd3')][_0x28ea92('0x18f')],'callerid':this['channel'][_0x28ea92('0x156')],'calleridname':this['channel']['calleridname'],'context':this[_0x28ea92('0xd3')]['context'],'extension':this[_0x28ea92('0xd3')][_0x28ea92('0x179')],'priority':this[_0x28ea92('0xd3')][_0x28ea92('0x1b7')],'accountcode':this[_0x28ea92('0xd3')][_0x28ea92('0x133')],'dnid':this[_0x28ea92('0xd3')][_0x28ea92('0x1c7')],'projectName':this[_0x28ea92('0xd3')][_0x28ea92('0x39')],'saveName':_0x37d623,'filename':_0x1794cd[_0x28ea92('0x13f')]||_0x37d623,'savePath':_0x2f98c2})['then'](function(_0x419422){_0x1c3edf(null,_0x419422);})[_0x28ea92('0x195')](function(_0x30444d){_0x1c3edf(_0x30444d);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x128')]=function(_0x16a54f,_0x40ef2e,_0x317e7a,_0x821f16,_0x473c51){const _0x1e79ff=_0x361a0f;this[_0x1e79ff('0x62')][_0x1e79ff('0x128')]({'uniqueid':this[_0x1e79ff('0xd3')]['uniqueid'],'body':_0x16a54f,'direction':_0x40ef2e,'providerName':_0x317e7a,'providerResponse':_0x821f16})[_0x1e79ff('0x175')](function(_0x5d5c14){_0x473c51&&_0x473c51(null,_0x5d5c14);})[_0x1e79ff('0x195')](function(_0x3acf4b){_0x473c51&&_0x473c51(_0x3acf4b);});},AGIVertices[_0x361a0f('0xff')]['createCmContact']=function(_0x408496,_0x472420){const _0x3cd320=_0x361a0f;this[_0x3cd320('0x62')][_0x3cd320('0xef')]({'firstName':_[_0x3cd320('0xd7')](_0x408496[_0x3cd320('0xcb')])||_[_0x3cd320('0x1b')](_0x408496[_0x3cd320('0xcb')])?_0x3cd320('0xd0')+Math[_0x3cd320('0x1b3')]():_0x408496[_0x3cd320('0xcb')],'lastName':_['isEmpty'](_0x408496['lastName'])||_[_0x3cd320('0x1b')](_0x408496[_0x3cd320('0x4c')])?null:_0x408496['lastName'],'phone':_0x408496[_0x3cd320('0x16b')],'ListId':_0x408496[_0x3cd320('0x9e')],'scheduledat':_0x408496[_0x3cd320('0x26')],'callbackUniqueid':this[_0x3cd320('0xd3')][_0x3cd320('0x18f')],'tags':_0x3cd320('0x164'),'description':_0x3cd320('0x57')+_0x408496[_0x3cd320('0x26')]['toString'](),'priority':_0x408496[_0x3cd320('0x124')]})[_0x3cd320('0x175')](function(_0x14ceec){_0x472420(null,_0x14ceec);})['catch'](function(_0x3f1f5a){_0x472420(_0x3f1f5a);});},AGIVertices['prototype'][_0x361a0f('0x107')]=function(_0x5dab20,_0x2ec89c){const _0x18b500=_0x361a0f;this[_0x18b500('0x62')][_0x18b500('0xcc')](_0x5dab20)[_0x18b500('0x175')](function(_0x103795){_0x2ec89c(null,_0x103795?_0x103795['name']:![]);})[_0x18b500('0x195')](function(_0x442014){_0x2ec89c(_0x442014);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x187')]=function(_0x46ffb3,_0x4ce3d7,_0x196ac4){const _0x11df33=_0x361a0f,_0x458ee2={'role':_0x11df33('0x142')};_0x458ee2[_0x46ffb3]=this[_0x11df33('0xd3')][_0x11df33('0x156')],this[_0x11df33('0x62')][_0x11df33('0x187')](_0x458ee2,_0x4ce3d7,this[_0x11df33('0xd3')]['uniqueid'])[_0x11df33('0x175')](function(_0x94c0f4){const _0x131fcb=_0x11df33;_0x196ac4(null,_[_0x131fcb('0x1b')](_0x94c0f4)?![]:!![]);})[_0x11df33('0x195')](function(_0x62acd0){const _0x17b514=_0x11df33;logger[_0x17b514('0x67')](_0x62acd0),_0x196ac4(null,![]);});},AGIVertices['prototype'][_0x361a0f('0xf')]=function(_0x5079a5,_0x1eea20){const _0x3a7142=_0x361a0f,_0x27898d={'role':'agent'};_0x27898d[_0x5079a5]=this[_0x3a7142('0xd3')][_0x3a7142('0x156')],this[_0x3a7142('0x62')]['agentUnpause'](_0x27898d)['then'](function(_0x1aad2f){_0x1eea20(null,_['isNil'](_0x1aad2f)?![]:!![]);})['catch'](function(_0x16365c){const _0x36ee4a=_0x3a7142;logger[_0x36ee4a('0x67')](_0x16365c),_0x1eea20(null,![]);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x168')]=function(_0x4b168c,_0x529a30){const _0x243ce1=_0x361a0f,_0x31ee0e={'role':'agent'};_0x31ee0e[_0x4b168c]=this[_0x243ce1('0xd3')]['callerid'],this[_0x243ce1('0x62')][_0x243ce1('0x168')](_0x31ee0e)['then'](function(_0x5481bd){const _0x5e1f1f=_0x243ce1;_0x529a30(null,_[_0x5e1f1f('0x1b')](_0x5481bd)?![]:!![]);})[_0x243ce1('0x195')](function(_0x5bf09b){const _0x530bca=_0x243ce1;logger[_0x530bca('0x67')](_0x5bf09b),_0x529a30(null,![]);});},AGIVertices['prototype']['agentLogin']=function(_0x16496c,_0x30ab40){const _0x41854f=_0x361a0f,_0x3e1584={'role':_0x41854f('0x142')};_0x3e1584[_0x16496c]=this[_0x41854f('0xd3')]['callerid'];const _0x94a9a4=_0x16496c!=_0x41854f('0xea')?util[_0x41854f('0x1e')](_0x41854f('0x166'),_0x41854f('0x165'),this[_0x41854f('0xd3')][_0x41854f('0x156')]):undefined;this[_0x41854f('0x62')][_0x41854f('0xe7')](_0x3e1584,_0x94a9a4)[_0x41854f('0x175')](function(_0x8d1c3e){_0x30ab40(null,_['isNil'](_0x8d1c3e)?![]:!![]);})['catch'](function(_0x5bc34a){const _0x90f5c5=_0x41854f;logger[_0x90f5c5('0x67')](_0x5bc34a),_0x30ab40(null,![]);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x17')]=function(_0x32261b,_0x148ecf){const _0x19ef73=_0x361a0f;sh[_0x19ef73('0x182')](_[_0x19ef73('0x81')](_0x32261b),function(_0x3285d3,_0x49ce5b){const _0x407079=_0x19ef73,_0x13988e=_0x49ce5b[_0x407079('0x9c')](/(\r\n|\n|\r)/gm,'');_0x148ecf(null,_0x13988e);});},AGIVertices['prototype'][_0x361a0f('0xd5')]=function(_0x1161b1,_0x49b691){const _0x43bbc8=_0x361a0f;scripts[_0x43bbc8('0xd5')](_0x1161b1['apiKey'],_0x1161b1[_0x43bbc8('0x4f')]||'text',_0x1161b1[_0x43bbc8('0x102')],_0x1161b1[_0x43bbc8('0x178')]||_0x43bbc8('0x18e'),_0x1161b1[_0x43bbc8('0x51')]||_0x43bbc8('0x19f'),_0x1161b1['audioEncoding']||_0x43bbc8('0x10f'))[_0x43bbc8('0x175')](function(_0x1f12f3){_0x49b691(null,_0x1f12f3);})['catch'](function(_0x471b4a){_0x49b691(_0x471b4a);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x1ae')]=function(_0x55dfd9,_0x6dc81c){const _0x1cfb2c=_0x361a0f;scripts[_0x1cfb2c('0x1ae')](_0x55dfd9[_0x1cfb2c('0x102')],_0x55dfd9[_0x1cfb2c('0x3')]||'en',0x1)['then'](function(_0x1dcd5f){_0x6dc81c(null,_0x1dcd5f);})[_0x1cfb2c('0x195')](function(_0x26cfcc){_0x6dc81c(_0x26cfcc);});},AGIVertices[_0x361a0f('0xff')]['restAPI']=function(_0x8adb48,_0x4a10da){const _0x2d745b=_0x361a0f,_0x45fd9d={'uri':_0x8adb48[_0x2d745b('0x12d')],'method':_0x8adb48[_0x2d745b('0x75')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x8adb48['timeout'])===_0x2d745b('0x1a6')&&parseInt(_0x8adb48[_0x2d745b('0x10a')])>=0x1?parseInt(_0x8adb48[_0x2d745b('0x10a')])*0x3e8:0x5*0x3e8};if(_['includes']([_0x2d745b('0x94'),_0x2d745b('0x48')],_0x45fd9d[_0x2d745b('0x75')]['toUpperCase']()))try{_0x45fd9d[_0x2d745b('0x174')]=_0x8adb48['rawBody']?JSON[_0x2d745b('0x80')](_0x8adb48[_0x2d745b('0x3c')]):{};}catch(_0x5515f2){logger[_0x2d745b('0x67')](_0x2d745b('0x7d'),_0x5515f2);}try{_0x45fd9d[_0x2d745b('0xe9')]=_0x8adb48[_0x2d745b('0x189')]?JSON[_0x2d745b('0x80')](_0x8adb48[_0x2d745b('0x189')]):{};}catch(_0x198253){logger['error'](_0x2d745b('0xc4'),_0x198253);}if(_0x8adb48[_0x2d745b('0x117')])try{const _0x126a49=require(_0x8adb48[_0x2d745b('0x117')])['sync'](this,_0x45fd9d);_0x45fd9d[_0x2d745b('0xfe')]=Mustache['render'](_0x8adb48[_0x2d745b('0x12d')],_0x126a49,{},['$$','$$']),_0x45fd9d[_0x2d745b('0xe9')]&&(_0x45fd9d[_0x2d745b('0xe9')]=JSON['parse'](Mustache[_0x2d745b('0x152')](JSON[_0x2d745b('0xe3')](_0x45fd9d[_0x2d745b('0xe9')]),_0x126a49,{},['$$','$$']))),_0x45fd9d[_0x2d745b('0x174')]&&(_0x45fd9d['body']=JSON[_0x2d745b('0x80')](Mustache[_0x2d745b('0x152')](JSON['stringify'](_0x45fd9d['body']),_0x126a49,{},['$$','$$'])));}catch(_0x28a352){logger[_0x2d745b('0x67')](_0x2d745b('0xc5'),_0x28a352);}rp(_0x45fd9d)['then'](function(_0x55b1d8){const _0x4aad58=_0x2d745b,_0x1ad5c0={'statusCode':_0x55b1d8[_0x4aad58('0x1a0')]||0xc8,'statusMessage':_0x55b1d8['statusMessage']||'OK','headers':_0x55b1d8[_0x4aad58('0xe9')]||{},'body':_0x55b1d8[_0x4aad58('0x174')]||{}};_0x4a10da(null,_0x1ad5c0);})['catch'](function(_0xab67d8){const _0x3cdc31=_0x2d745b,_0x217576={'statusCode':_0xab67d8['statusCode']||0x1f4,'statusMessage':_0xab67d8[_0x3cdc31('0x44')]||_0x3cdc31('0xad'),'headers':_0xab67d8[_0x3cdc31('0x65')]['headers']||{},'body':_0xab67d8[_0x3cdc31('0x65')]['body']||{}};_0x4a10da(null,_0x217576);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x7a')]=function(_0x80e62e,_0x46ae05){const _0x183ad3=_0x361a0f;scripts[_0x183ad3('0x7a')](this[_0x183ad3('0xd3')][_0x183ad3('0x18f')],_0x80e62e[_0x183ad3('0x4')],_0x80e62e[_0x183ad3('0x102')],_0x80e62e['dialogflow_language']||'en')[_0x183ad3('0x175')](function(_0x3022bd){_0x46ae05(null,_0x3022bd);})['catch'](function(_0x5567b2){_0x46ae05(_0x5567b2);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x170')]=function(_0x13adfa,_0x5377e2){const _0x23b358=_0x361a0f;scripts['googleDialogflowV2'](this[_0x23b358('0xd3')][_0x23b358('0x18f')],_0x13adfa['dialogflowV2_project_id'],_0x13adfa[_0x23b358('0x196')],_0x13adfa[_0x23b358('0x1c2')],_0x13adfa[_0x23b358('0x102')],_0x13adfa[_0x23b358('0xb')]||'en')[_0x23b358('0x175')](function(_0x47ff0b){_0x5377e2(null,_0x47ff0b);})['catch'](function(_0x58508a){_0x5377e2(_0x58508a);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x1b5')]=function(_0x34ec3b,_0x5d63cb){const _0x38364a=_0x361a0f;scripts[_0x38364a('0x1b5')](this['channel'],_0x34ec3b)[_0x38364a('0x175')](function(_0x399549){_0x5d63cb(null,_0x399549);})[_0x38364a('0x195')](function(_0x529c17){_0x5d63cb(_0x529c17);});},AGIVertices['prototype'][_0x361a0f('0x18b')]=function(_0x47fd0b,_0x3da66c){const _0x2f1871=_0x361a0f;scripts[_0x2f1871('0x18b')](_0x47fd0b[_0x2f1871('0x4')],_0x47fd0b[_0x2f1871('0x102')],_0x47fd0b[_0x2f1871('0xe2')]||_0x2f1871('0x18e'),_0x47fd0b[_0x2f1871('0x163')])[_0x2f1871('0x175')](function(_0x1ed021){_0x3da66c(null,_0x1ed021);})[_0x2f1871('0x195')](function(_0x12439f){_0x3da66c(_0x12439f);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x15c')]=function(_0x4ef78d,_0x5b2301,_0x154a92){const _0x5b7b7c=_0x361a0f;scripts[_0x5b7b7c('0x15c')](_0x5b2301,_0x4ef78d[_0x5b7b7c('0x4')],_0x4ef78d[_0x5b7b7c('0x17e')]||_0x5b7b7c('0x18e'),this[_0x5b7b7c('0xed')](_0x4ef78d[_0x5b7b7c('0x78')])?_0x4ef78d['model']:undefined)[_0x5b7b7c('0x175')](function(_0x5bdb2b){_0x154a92(null,_0x5bdb2b);})[_0x5b7b7c('0x195')](function(_0x141b2c){_0x154a92(_0x141b2c);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x113')]=function(_0x37fc9d,_0x40fb44){const _0x3a9dcf=_0x361a0f;scripts[_0x3a9dcf('0x113')](_0x37fc9d[_0x3a9dcf('0x127')],_0x37fc9d[_0x3a9dcf('0x135')],_0x37fc9d['aws_polly_region'],_0x37fc9d['aws_polly_voice']||_0x3a9dcf('0xc2'),_0x37fc9d['text'],_0x37fc9d[_0x3a9dcf('0x1bc')]||'text')[_0x3a9dcf('0x175')](function(_0x5b8fb5){_0x40fb44(null,_0x5b8fb5);})[_0x3a9dcf('0x195')](function(_0x2e188c){_0x40fb44(_0x2e188c);});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x46')]=function(_0x149bc3,_0x15f36c){const _0x93a5b2=_0x361a0f;scripts['awsLex'](this[_0x93a5b2('0xd3')]['uniqueid'],_0x149bc3['aws_access_key_id'],_0x149bc3[_0x93a5b2('0x135')],_0x149bc3[_0x93a5b2('0xf9')],_0x149bc3[_0x93a5b2('0x102')],_0x149bc3['aws_bot_name'])[_0x93a5b2('0x175')](function(_0x31935f){_0x15f36c(null,_0x31935f);})['catch'](function(_0x2c0f1c){_0x15f36c(_0x2c0f1c);});},AGIVertices['prototype'][_0x361a0f('0xd8')]=function(_0x93f768,_0x211a01,_0x3184e7){const _0x45289b=_0x361a0f;scripts[_0x45289b('0xd8')](_0x211a01,_0x93f768['key'],_0x93f768['google_asr_language']||_0x45289b('0x18e'))['then'](function(_0x148605){_0x3184e7(null,_0x148605);})['catch'](function(_0x3a0817){_0x3184e7(_0x3a0817);});},AGIVertices['prototype']['tildeASR']=function(_0x36763d,_0xdffa69,_0x298445){const _0x51c44d=_0x361a0f;scripts['tildeASR'](_0xdffa69,_0x36763d[_0x51c44d('0x171')],_0x36763d[_0x51c44d('0xc9')],_0x36763d[_0x51c44d('0xfe')])[_0x51c44d('0x175')](function(_0x1864c6){_0x298445(null,_0x1864c6);})[_0x51c44d('0x195')](function(_0x3de3da){_0x298445(_0x3de3da);});},AGIVertices['prototype']['clear']=function(_0x55f7bd){const _0x4e2365=_0x361a0f,_0x281157=_[_0x4e2365('0x11a')](verticesWithRetry,_0x55f7bd[_0x4e2365('0x1af')])?_0x55f7bd:_[_0x4e2365('0x8c')](_0x55f7bd);for(const _0x3e6182 in _0x281157){typeof _0x281157[_0x3e6182]!=='undefined'&&(_0x281157[_0x3e6182]&&_['isString'](_0x281157[_0x3e6182])&&(_[_0x4e2365('0x11a')](recursiveMapAttributes,_0x3e6182)?_0x281157[_0x3e6182]=this[_0x4e2365('0x184')](_0x281157[_0x3e6182]):_0x281157[_0x3e6182]=this[_0x4e2365('0xb8')](_0x281157[_0x3e6182])));}return _0x281157;},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x77')]=function(_0x300538){const _0x22d428=_0x361a0f;for(const _0x4449f0 in _0x300538){if(typeof _0x300538[_0x4449f0]!==_0x22d428('0x3b')){if(_[_0x22d428('0x16d')](_0x300538[_0x4449f0]))this[_0x22d428('0x77')](_0x300538[_0x4449f0]);else{if(_['isArray'](_0x300538[_0x4449f0]))for(let _0x374962=0x0;_0x374962<_0x300538[_0x4449f0][_0x22d428('0x1b8')];_0x374962++){this[_0x22d428('0x77')](_0x300538[_0x4449f0][_0x374962]);}else _[_0x22d428('0x5b')](_0x300538[_0x4449f0])&&(_0x300538[_0x4449f0]=this[_0x22d428('0xb8')](_0x300538[_0x4449f0]));}}}},AGIVertices['prototype'][_0x361a0f('0x125')]=function(_0x35a4c7,_0x5a78a4){const _0x68a331=_0x361a0f;for(const _0x7068e9 in _0x35a4c7){if(typeof _0x35a4c7[_0x7068e9]!==_0x68a331('0x3b')){if(_[_0x68a331('0x16d')](_0x35a4c7[_0x7068e9]))!_['isEmpty'](_0x35a4c7[_0x7068e9])&&this[_0x68a331('0x125')](_0x35a4c7[_0x7068e9],util[_0x68a331('0x1e')](_0x68a331('0x14'),_0x5a78a4,_0x7068e9));else{if(_[_0x68a331('0x7e')](_0x35a4c7[_0x7068e9]))for(let _0x2e919e=0x0;_0x2e919e<_0x35a4c7[_0x7068e9][_0x68a331('0x1b8')];_0x2e919e++){this[_0x68a331('0x125')](_0x35a4c7[_0x7068e9][_0x2e919e],util[_0x68a331('0x1e')](_0x68a331('0x14'),_0x5a78a4,_0x7068e9+'['+_0x2e919e+']'));}else!_['isNil'](_0x35a4c7[_0x7068e9])&&this[_0x68a331('0xd3')][_0x68a331('0xd4')](util[_0x68a331('0x1e')](_0x68a331('0x14'),_0x5a78a4,_0x7068e9),_0x35a4c7[_0x7068e9]);}}}},AGIVertices[_0x361a0f('0xff')]['replaceObjectAllVariables']=function(_0x2ba8e4){const _0x367f09=_0x361a0f;try{const _0x567180=JSON[_0x367f09('0x80')](_0x2ba8e4);return this[_0x367f09('0x77')](_0x567180),JSON['stringify'](_0x567180);}catch(_0x356294){return this[_0x367f09('0xb8')](_0x2ba8e4);}},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xb8')]=function(_0x24b8e1){const _0x2312b8=_0x361a0f,_0x4e8c5c=_0x24b8e1[_0x2312b8('0x64')]('{');for(let _0x4bd1af=0x1;_0x4bd1af<_0x4e8c5c['length'];_0x4bd1af+=0x1){const _0x561385=_0x4e8c5c[_0x4bd1af]['split']('}');_0x561385[_0x2312b8('0x1b8')]>0x1&&(_0x24b8e1=_0x24b8e1[_0x2312b8('0x59')]('{'+_0x561385[0x0]+'}',this[_0x2312b8('0xd3')][_0x2312b8('0x1b1')](_0x561385[0x0])['extra']||_0x561385[0x0]));}if(_0x4e8c5c['length']===0x1)return _0x24b8e1[_0x2312b8('0x145')]();return this[_0x2312b8('0xb8')](_0x24b8e1);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x159')]=function(_0x1b1860,_0x1fdc04){const _0x3a8a0c=_0x361a0f,_0xf3427c=this[_0x3a8a0c('0xd3')][_0x3a8a0c('0x1b1')](_0x1b1860);if(_0xf3427c[_0x3a8a0c('0x12')]===-0x1)return _0xf3427c;return logger[_0x3a8a0c('0xc3')](util[_0x3a8a0c('0x1e')](_0x3a8a0c('0x13d'),_0x1fdc04,_0xf3427c[_0x3a8a0c('0x141')])),this[_0x3a8a0c('0xd3')][_0x3a8a0c('0xd4')](_0x1fdc04,_0xf3427c[_0x3a8a0c('0x141')]);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xed')]=function(_0x28d7ef){return _0x28d7ef&&_0x28d7ef!=='0'&&_0x28d7ef!=='-1'&&_0x28d7ef!=='';},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x93')]=function(_0x9deb33){const _0x1e57e0=_0x361a0f;return this[_0x1e57e0('0x2d')][_0x1e57e0('0x118')](this,_0x9deb33,'-'),_0x9deb33['retry']=_0x9deb33[_0x1e57e0('0x93')],{'code':0xc8,'result':'-'};},AGIVertices['prototype']['mrcpsynth']=function(_0x25aebd){const _0x1ae781=_0x361a0f;logger[_0x1ae781('0xc3')](util[_0x1ae781('0x1e')](_0x1ae781('0x1ac'),_0x25aebd[_0x1ae781('0xa5')]));if(!this[_0x1ae781('0xed')](_0x25aebd['text']))return this[_0x1ae781('0xd3')]['noop'](_0x1ae781('0x150'));let _0x2c48d5='\x22'+_0x25aebd[_0x1ae781('0x102')]+'\x22';this['isConfigured'](_0x25aebd[_0x1ae781('0x65')])&&(_0x2c48d5+=','+_0x25aebd['options']);const _0x27a4cd=this['channel'][_0x1ae781('0x182')](_0x1ae781('0x1c0'),_0x2c48d5);if(_0x27a4cd['result']===-0x1)return _0x27a4cd;return this['channel'][_0x1ae781('0x76')](util[_0x1ae781('0x1e')](_0x1ae781('0x23'),_0x2c48d5));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x11f')]=function(_0x5a23c3){const _0x46c233=_0x361a0f;logger[_0x46c233('0xc3')](util['format']('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x5a23c3[_0x46c233('0xa5')]));if(!this[_0x46c233('0xed')](_0x5a23c3[_0x46c233('0xd')]))return this[_0x46c233('0xd3')][_0x46c233('0x76')](_0x46c233('0x6a'));let _0x302ff5=_0x5a23c3[_0x46c233('0xd')];this[_0x46c233('0xed')](_0x5a23c3[_0x46c233('0x65')])&&(_0x302ff5+=','+_0x5a23c3['options']);const _0x2f4354=this[_0x46c233('0xd3')]['exec'](_0x46c233('0x1a9'),_0x302ff5);if(_0x2f4354[_0x46c233('0x12')]===-0x1)return _0x2f4354;const _0xc4414f=this[_0x46c233('0x159')](_0x46c233('0xdf'),'MRCP_RECOG_CONFIDENCE');if(_0xc4414f[_0x46c233('0x12')]===-0x1)return _0xc4414f;const _0x3c4bbe=this[_0x46c233('0x159')](_0x46c233('0x16c'),_0x46c233('0x114'));if(_0x3c4bbe[_0x46c233('0x12')]===-0x1)return _0x3c4bbe;const _0x2688f5=this['getAndSetVariable']('RECOG_INSTANCE()','MRCP_RECOG_INSTANCE');if(_0x2688f5['result']===-0x1)return _0x2688f5;return this[_0x46c233('0xd3')][_0x46c233('0x76')](util['format'](_0x46c233('0xf8'),_0x302ff5));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x1c1')]=function(_0x75a1ce){const _0x39c4da=_0x361a0f;return logger[_0x39c4da('0xc3')](util[_0x39c4da('0x1e')]('Enter\x20in\x20AGI\x20(%s)\x20block',_0x75a1ce['label'])),this[_0x39c4da('0xd3')][_0x39c4da('0x1c1')]([_0x75a1ce['command'],_0x75a1ce[_0x39c4da('0x17b')]]);},AGIVertices['prototype'][_0x361a0f('0x31')]=function(_0x5187a3){const _0x533217=_0x361a0f;logger[_0x533217('0xc3')](util[_0x533217('0x1e')](_0x533217('0xd9'),_0x5187a3['label']));if(this[_0x533217('0xed')](_0x5187a3[_0x533217('0x10a')])){logger['info'](util[_0x533217('0x1e')](_0x533217('0x15e'),_0x5187a3[_0x533217('0x10a')]));const _0x5cb48e=this['channel'][_0x533217('0x19c')](_0x5187a3[_0x533217('0x10a')]);if(_0x5cb48e[_0x533217('0x12')]===-0x1)return _0x5cb48e;}return this['channel'][_0x533217('0x31')]();},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x164')]=function(_0x5cda11){const _0x78e777=_0x361a0f;logger['info'](util[_0x78e777('0x1e')]('Enter\x20in\x20CALLBACK\x20(%s)\x20block',_0x5cda11['label']));if(!this[_0x78e777('0xed')](_0x5cda11[_0x78e777('0x9e')]))return this['channel']['error'](_0x5cda11,_0x78e777('0x7'));return _0x5cda11[_0x78e777('0x26')]=moment(),this[_0x78e777('0xed')](_0x5cda11[_0x78e777('0xb3')])&&(_0x5cda11[_0x78e777('0x26')]=moment()['add'](_0x5cda11[_0x78e777('0xb3')],'minutes')),!this[_0x78e777('0xed')](_0x5cda11[_0x78e777('0x124')])&&(_0x5cda11[_0x78e777('0x124')]=0x2),this[_0x78e777('0xef')][_0x78e777('0x118')](this,_0x5cda11),this['channel'][_0x78e777('0x76')](util[_0x78e777('0x1e')]('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0x5cda11[_0x78e777('0x16b')],_0x5cda11[_0x78e777('0x9e')],_0x5cda11[_0x78e777('0x26')]));},AGIVertices['prototype'][_0x361a0f('0x169')]=function(_0x588fbf){const _0x2adddd=_0x361a0f;logger[_0x2adddd('0xc3')](util[_0x2adddd('0x1e')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x588fbf['label']));const _0x817bc7=this[_0x2adddd('0xd3')][_0x2adddd('0x182')](_0x588fbf['application'],_0x588fbf['options']);if(_0x817bc7[_0x2adddd('0x12')]===-0x1)return _0x817bc7;return this[_0x2adddd('0xd3')][_0x2adddd('0x76')](util[_0x2adddd('0x1e')](_0x2adddd('0x19d'),_0x588fbf['application'],_0x588fbf['options']));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x54')]=function(_0x2c26f4){const _0x205cfb=_0x361a0f;logger[_0x205cfb('0xc3')](util['format'](_0x205cfb('0x18'),_0x2c26f4[_0x205cfb('0xa5')]));if(!this['isConfigured'](_0x2c26f4[_0x205cfb('0x102')]))return this['channel'][_0x205cfb('0x76')](_0x205cfb('0x150'));let _0x2b97a9='\x22'+_0x2c26f4[_0x205cfb('0x102')]+'\x22';this['isConfigured'](_0x2c26f4[_0x205cfb('0x65')])&&(_0x2b97a9+=','+_0x2c26f4[_0x205cfb('0x65')]);const _0x2e2e2d=this[_0x205cfb('0xd3')][_0x205cfb('0x182')](_0x205cfb('0x1c0'),_0x2b97a9);if(_0x2e2e2d[_0x205cfb('0x12')]===-0x1)return _0x2e2e2d;return this['channel'][_0x205cfb('0x76')](util[_0x205cfb('0x1e')](_0x205cfb('0x23'),_0x2b97a9));},AGIVertices[_0x361a0f('0xff')]['sestektts']=function(_0x6965a7){const _0x14b18a=_0x361a0f;logger['info'](util[_0x14b18a('0x1e')](_0x14b18a('0xb4'),_0x6965a7[_0x14b18a('0xa5')]));if(!this[_0x14b18a('0xed')](_0x6965a7['text']))return this[_0x14b18a('0xd3')][_0x14b18a('0x76')](_0x14b18a('0x150'));let _0xe9291d='\x22'+_0x6965a7['text']+'\x22';this[_0x14b18a('0xed')](_0x6965a7[_0x14b18a('0x65')])&&(_0xe9291d+=','+_0x6965a7[_0x14b18a('0x65')]);const _0x4a0c1b=this[_0x14b18a('0xd3')][_0x14b18a('0x182')](_0x14b18a('0x1c0'),_0xe9291d);if(_0x4a0c1b[_0x14b18a('0x12')]===-0x1)return _0x4a0c1b;return this['channel'][_0x14b18a('0x76')](util[_0x14b18a('0x1e')](_0x14b18a('0x23'),_0xe9291d));},AGIVertices['prototype']['lumenvoxasr']=function(_0x4571e9){const _0xac9842=_0x361a0f;logger['info'](util[_0xac9842('0x1e')](_0xac9842('0x55'),_0x4571e9[_0xac9842('0xa5')]));if(!this[_0xac9842('0xed')](_0x4571e9[_0xac9842('0xd')]))return this[_0xac9842('0xd3')][_0xac9842('0x76')]('no\x20grammar\x20configured');let _0xa290c9=_0x4571e9[_0xac9842('0xd')];this[_0xac9842('0xed')](_0x4571e9[_0xac9842('0x65')])&&(_0xa290c9+=','+_0x4571e9[_0xac9842('0x65')]);const _0x58958a=this['channel']['exec'](_0xac9842('0x1a9'),_0xa290c9);if(_0x58958a[_0xac9842('0x12')]===-0x1)return _0x58958a;const _0x24406f=this['getAndSetVariable']('RECOG_CONFIDENCE()',_0xac9842('0x1b2'));if(_0x24406f['result']===-0x1)return _0x24406f;const _0x166623=this[_0xac9842('0x159')]('RECOG_INPUT()','LUMENVOX_ASR_TRANSCRIPT');if(_0x166623[_0xac9842('0x12')]===-0x1)return _0x166623;const _0x4adaeb=this[_0xac9842('0x159')](_0xac9842('0x155'),'LUMENVOX_ASR_INSTANCE');if(_0x4adaeb[_0xac9842('0x12')]===-0x1)return _0x4adaeb;return this[_0xac9842('0xd3')]['noop'](util[_0xac9842('0x1e')](_0xac9842('0xf8'),_0xa290c9));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xe5')]=function(_0x31726a){const _0x57f364=_0x361a0f;logger[_0x57f364('0xc3')](util[_0x57f364('0x1e')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x31726a[_0x57f364('0xa5')]));if(!this[_0x57f364('0xed')](_0x31726a[_0x57f364('0xd')]))return this['channel'][_0x57f364('0x76')](_0x57f364('0x6a'));let _0x2bc821=_0x31726a[_0x57f364('0xd')];this[_0x57f364('0xed')](_0x31726a[_0x57f364('0x65')])&&(_0x2bc821+=','+_0x31726a[_0x57f364('0x65')]);const _0x4eeba4=this['channel']['exec'](_0x57f364('0x1a9'),_0x2bc821);if(_0x4eeba4[_0x57f364('0x12')]===-0x1)return _0x4eeba4;const _0x449a1f=this['getAndSetVariable'](_0x57f364('0xdf'),_0x57f364('0x14d'));if(_0x449a1f[_0x57f364('0x12')]===-0x1)return _0x449a1f;const _0x1fc05e=this[_0x57f364('0x159')](_0x57f364('0x16c'),'SESTEK_ASR_TRANSCRIPT');if(_0x1fc05e[_0x57f364('0x12')]===-0x1)return _0x1fc05e;const _0x39306c=this[_0x57f364('0x159')](_0x57f364('0x155'),'SESTEK_ASR_INSTANCE');if(_0x39306c[_0x57f364('0x12')]===-0x1)return _0x39306c;return this['channel']['noop'](util[_0x57f364('0x1e')]('Executed\x20command\x20MRCPRecog\x20%s',_0x2bc821));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x103')]=function(_0x51018d){const _0x1f28fe=_0x361a0f;logger[_0x1f28fe('0xc3')](util['format']('Enter\x20in\x20DATABASE\x20(%s)\x20block',_0x51018d[_0x1f28fe('0xa5')]));if(!this['isConfigured'](_0x51018d[_0x1f28fe('0x8')]))return this[_0x1f28fe('0xd3')]['error'](_0x51018d,_0x1f28fe('0xcf'));const _0x2bea35=this[_0x1f28fe('0x1a7')][_0x1f28fe('0x118')](this,_0x51018d[_0x1f28fe('0x8')]);if(!_0x2bea35)return this[_0x1f28fe('0xd3')][_0x1f28fe('0x67')](_0x51018d,_0x1f28fe('0x111'));if(!this[_0x1f28fe('0xed')](_0x51018d[_0x1f28fe('0x41')]))return this[_0x1f28fe('0xd3')][_0x1f28fe('0x67')](_0x51018d,_0x1f28fe('0x144'));const _0x75f2c4=_0x51018d['query'][_0x1f28fe('0x9c')](/(\r\n|\n|\r)/gm,'\x20');this[_0x1f28fe('0xd3')][_0x1f28fe('0x76')](util[_0x1f28fe('0x1e')](_0x1f28fe('0x13'),_0x75f2c4));const _0x4d4b50=this[_0x1f28fe('0x1d')]['sync'](this,_0x2bea35,_0x75f2c4);this[_0x1f28fe('0x2d')]['sync'](this,_0x51018d,_0x75f2c4);if(!this[_0x1f28fe('0xed')](_0x51018d[_0x1f28fe('0x14c')]))return this[_0x1f28fe('0xd3')][_0x1f28fe('0x76')](_0x1f28fe('0x88'));const _0x20a7b=this['getVariable'][_0x1f28fe('0x118')](this,_0x51018d[_0x1f28fe('0x14c')]);if(!_0x20a7b)return this[_0x1f28fe('0xd3')][_0x1f28fe('0x67')](_0x51018d,_0x1f28fe('0x32'));const _0x48c8fd=this;return _0x4d4b50[_0x1f28fe('0xfb')](function(_0x15cf77,_0x3a7530){const _0x31a431=_0x1f28fe;Object[_0x31a431('0x9a')](_0x15cf77)[_0x31a431('0xfb')](function(_0x3d3ee9){const _0x1cacae=_0x31a431;_0x48c8fd[_0x1cacae('0xd3')][_0x1cacae('0xd4')](util[_0x1cacae('0x1e')](_0x1cacae('0x5d'),_0x20a7b,_0x3a7530,_0x3d3ee9),_0x15cf77[_0x3d3ee9]);});}),this[_0x1f28fe('0xd3')][_0x1f28fe('0xd4')](util[_0x1f28fe('0x1e')](_0x1f28fe('0x37'),_0x20a7b),_0x4d4b50[_0x1f28fe('0x1b8')]),this[_0x1f28fe('0xd3')][_0x1f28fe('0x76')](util[_0x1f28fe('0x1e')](_0x1f28fe('0x71'),_0x20a7b));},AGIVertices[_0x361a0f('0xff')]['dial']=function(_0x449363){const _0x1ebec7=_0x361a0f;logger['debug'](util[_0x1ebec7('0x1e')](_0x1ebec7('0x56'),_0x449363[_0x1ebec7('0xa5')]));if(!this['isConfigured'](_0x449363[_0x1ebec7('0x126')]))return this['channel'][_0x1ebec7('0x67')](_0x449363,_0x1ebec7('0x9f'));const _0x5f4d97=this[_0x1ebec7('0xfa')]['sync'](this,_0x449363[_0x1ebec7('0x126')]);if(!_0x5f4d97)return this[_0x1ebec7('0xd3')][_0x1ebec7('0x67')](_0x449363,_0x1ebec7('0x19b'));const _0xc3a030=this[_0x1ebec7('0xd3')]['exec'](_0x1ebec7('0x12f'),[util[_0x1ebec7('0x1e')]('SIP/%s',_0x5f4d97),_0x449363[_0x1ebec7('0x10a')],_0x449363[_0x1ebec7('0x16a')],_0x449363[_0x1ebec7('0x12d')]]);if(_0xc3a030[_0x1ebec7('0x12')]===-0x1)return _0xc3a030;return this['channel'][_0x1ebec7('0x76')](util[_0x1ebec7('0x1e')]('Executed\x20command\x20%s',_0x1ebec7('0x12f')));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xa9')]=function(_0x4abe5e){const _0x3c245c=_0x361a0f;logger[_0x3c245c('0xc3')](util[_0x3c245c('0x1e')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x4abe5e[_0x3c245c('0xa5')]));if(!this[_0x3c245c('0xed')](_0x4abe5e['key']))return this['channel']['noop'](_0x3c245c('0x99'));if(!this['isConfigured'](_0x4abe5e[_0x3c245c('0x102')]))return this[_0x3c245c('0xd3')]['noop'](_0x3c245c('0x150'));this[_0x3c245c('0xd3')][_0x3c245c('0x1b9')]=!![],this[_0x3c245c('0x2d')](_0x4abe5e),this['createSquareMessage'](_0x4abe5e[_0x3c245c('0x102')],'in','',''),this[_0x3c245c('0xd3')][_0x3c245c('0x76')](util[_0x3c245c('0x1e')](_0x3c245c('0xdd'),_0x4abe5e[_0x3c245c('0x102')]));const _0x5dc6e7=this[_0x3c245c('0x7a')][_0x3c245c('0x118')](this,_0x4abe5e);if(_0x5dc6e7){for(const _0x5d9fcd in _0x5dc6e7){typeof _0x5dc6e7[_0x5d9fcd]!==_0x3c245c('0x3b')&&this['channel'][_0x3c245c('0xd4')](util[_0x3c245c('0x1e')]('DIALOGFLOW_%s',_0x5d9fcd[_0x3c245c('0x1c5')]()),_0x5dc6e7[_0x5d9fcd]);}return this[_0x3c245c('0x128')](_0x5dc6e7[_0x3c245c('0x2e')],_0x3c245c('0x131'),_0x3c245c('0xa9'),''),this[_0x3c245c('0xd3')][_0x3c245c('0x76')](util['format'](_0x3c245c('0x162'),_0x5dc6e7[_0x3c245c('0x2e')]));}return this[_0x3c245c('0xd3')][_0x3c245c('0x67')](_0x4abe5e,'Dialogflow\x20is\x20unreachable');},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x90')]=function(_0xc90e9e){const _0x40df0d=_0x361a0f;logger[_0x40df0d('0xc3')](util[_0x40df0d('0x1e')](_0x40df0d('0x35'),_0xc90e9e[_0x40df0d('0xa5')]));if(!this[_0x40df0d('0xed')](_0xc90e9e[_0x40df0d('0x105')]))return this['channel'][_0x40df0d('0x76')](_0x40df0d('0xa2'));if(!this[_0x40df0d('0xed')](_0xc90e9e[_0x40df0d('0x196')]))return this[_0x40df0d('0xd3')][_0x40df0d('0x76')](_0x40df0d('0x4e'));if(!this[_0x40df0d('0xed')](_0xc90e9e[_0x40df0d('0x1c2')]))return this[_0x40df0d('0xd3')][_0x40df0d('0x76')]('no\x20private_key\x20configured');if(!this[_0x40df0d('0xed')](_0xc90e9e[_0x40df0d('0xb')]))return this[_0x40df0d('0xd3')][_0x40df0d('0x76')](_0x40df0d('0x19e'));if(!this[_0x40df0d('0xed')](_0xc90e9e[_0x40df0d('0x102')]))return this[_0x40df0d('0xd3')][_0x40df0d('0x76')]('no\x20text\x20configured');this['channel']['bot']=!![],this[_0x40df0d('0x2d')](_0xc90e9e),this['createSquareMessage'](_0xc90e9e['text'],'in','',''),this[_0x40df0d('0xd3')][_0x40df0d('0x76')](util[_0x40df0d('0x1e')](_0x40df0d('0x148'),_0xc90e9e[_0x40df0d('0x102')]));const _0x317861=this['googleDialogflowV2']['sync'](this,_0xc90e9e);if(_0x317861){for(const _0x501d51 in _0x317861){typeof _0x317861[_0x501d51]!==_0x40df0d('0x3b')&&(_0x501d51!==_0x40df0d('0x115')&&this['channel'][_0x40df0d('0xd4')](util[_0x40df0d('0x1e')](_0x40df0d('0x6c'),_0x501d51[_0x40df0d('0x1c5')]()),_0x317861[_0x501d51]));}return this['createSquareMessage'](_0x317861['speech'],_0x40df0d('0x131'),'dialogflowV2',_0x317861[_0x40df0d('0x115')]),this[_0x40df0d('0xd3')][_0x40df0d('0x76')](util[_0x40df0d('0x1e')](_0x40df0d('0xa4'),_0x317861[_0x40df0d('0x2e')]));}return this[_0x40df0d('0xd3')][_0x40df0d('0x67')](_0xc90e9e,_0x40df0d('0x73'));},AGIVertices[_0x361a0f('0xff')]['sesteknda']=function(_0x2d2a65){const _0x325cd0=_0x361a0f;logger[_0x325cd0('0xc3')](util[_0x325cd0('0x1e')](_0x325cd0('0x147'),_0x2d2a65[_0x325cd0('0xa5')]));if(!this[_0x325cd0('0xed')](_0x2d2a65[_0x325cd0('0x1a8')]))return this[_0x325cd0('0xd3')]['noop']('no\x20ndauth\x20url\x20configured');if(!this[_0x325cd0('0xed')](_0x2d2a65[_0x325cd0('0xa6')]))return this[_0x325cd0('0xd3')][_0x325cd0('0x76')]('no\x20username\x20configured');if(!this[_0x325cd0('0xed')](_0x2d2a65['password']))return this[_0x325cd0('0xd3')][_0x325cd0('0x76')]('no\x20password\x20configured');if(!this[_0x325cd0('0xed')](_0x2d2a65[_0x325cd0('0x1b0')]))return this[_0x325cd0('0xd3')][_0x325cd0('0x76')](_0x325cd0('0x150'));this[_0x325cd0('0xd3')][_0x325cd0('0x1b9')]=!![],this['createSquareDetailsReport'](_0x2d2a65),this[_0x325cd0('0x128')](_0x2d2a65[_0x325cd0('0x102')],'in','',''),this[_0x325cd0('0xd3')][_0x325cd0('0x76')](util[_0x325cd0('0x1e')](_0x325cd0('0x100'),_0x2d2a65[_0x325cd0('0x102')]));const _0x9cdaf6=this[_0x325cd0('0x1b5')][_0x325cd0('0x118')](this,_0x2d2a65);if(_0x9cdaf6){for(const _0x4033b3 in _0x9cdaf6){typeof _0x9cdaf6[_0x4033b3]!==_0x325cd0('0x3b')&&this[_0x325cd0('0xd3')][_0x325cd0('0xd4')](util[_0x325cd0('0x1e')](_0x325cd0('0xc'),_0x4033b3[_0x325cd0('0x1c5')]()),_0x9cdaf6[_0x4033b3]);}this[_0x325cd0('0x128')](_0x9cdaf6[_0x325cd0('0x2e')],_0x325cd0('0x131'),_0x325cd0('0x72'),'');if(_0x9cdaf6[_0x325cd0('0xf5')]){this[_0x325cd0('0xd3')]['noop'](util[_0x325cd0('0x1e')](_0x325cd0('0x1bd'),_0x9cdaf6[_0x325cd0('0xf5')]));const _0x54e0a6=this['channel'][_0x325cd0('0x176')](_0x9cdaf6[_0x325cd0('0xf5')]);try{fs['unlink'](_0x9cdaf6['audiofile']+_0x325cd0('0x1a'));}catch(_0x11d3e7){logger[_0x325cd0('0x67')](_0x11d3e7);}return _0x54e0a6;}else return this[_0x325cd0('0xd3')][_0x325cd0('0x76')](util[_0x325cd0('0x1e')](_0x325cd0('0x33'),_0x9cdaf6[_0x325cd0('0x2e')]));}return this[_0x325cd0('0xd3')]['error'](_0x2d2a65,_0x325cd0('0xf2'));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xb9')]=function(_0x248589){const _0x40eeed=_0x361a0f;return logger['info'](util[_0x40eeed('0x1e')]('Enter\x20in\x20END\x20(%s)\x20block',_0x248589['label'])),this['channel'][_0x40eeed('0x76')]('end');},AGIVertices['prototype'][_0x361a0f('0x186')]=function(_0x153349){const _0x316f02=_0x361a0f;logger['info'](util[_0x316f02('0x1e')](_0x316f02('0xc1'),_0x153349[_0x316f02('0xa5')]));let _0x54ffc2='';if(_0x153349[_0x316f02('0x192')]){if(!this[_0x316f02('0xed')](_0x153349['trunk_id']))return this['channel'][_0x316f02('0x67')](_0x153349,_0x316f02('0x161'));else{const _0x1776a0=parseInt(_0x153349['trunk_id'],0xa);if(isNaN(_0x1776a0))_0x54ffc2=_0x153349[_0x316f02('0x192')];else{_0x54ffc2=this[_0x316f02('0x11b')][_0x316f02('0x118')](this,_0x153349[_0x316f02('0x192')]);if(!_0x54ffc2)return this['channel'][_0x316f02('0x67')](_0x153349,'no\x20trunk\x20found');}}}else{if(_0x153349[_0x316f02('0x1a2')])_0x54ffc2=_0x153349[_0x316f02('0x1a2')];else return this['channel'][_0x316f02('0x67')](_0x153349,_0x316f02('0x161'));}const _0x322239=this['channel']['exec'](_0x316f02('0x12f'),[util[_0x316f02('0x1e')](_0x316f02('0xde'),_0x54ffc2,_0x153349[_0x316f02('0x16b')]),_0x153349['timeout'],_0x153349[_0x316f02('0x16a')],_0x153349['url']]);if(_0x322239[_0x316f02('0x12')]===-0x1)return _0x322239;return this[_0x316f02('0xd3')][_0x316f02('0x76')](util['format'](_0x316f02('0x2c'),_0x316f02('0x12f')));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x17d')]=function(_0x3c9380){const _0x775c0c=_0x361a0f;return logger[_0x775c0c('0xc3')](util[_0x775c0c('0x1e')](_0x775c0c('0x3e'),_0x3c9380[_0x775c0c('0xa5')])),this[_0x775c0c('0xd3')][_0x775c0c('0x76')]('finally');},AGIVertices['prototype'][_0x361a0f('0x18a')]=function(_0x4ab67d){const _0x35c53a=_0x361a0f;logger[_0x35c53a('0xc3')](util[_0x35c53a('0x1e')](_0x35c53a('0x15'),_0x4ab67d[_0x35c53a('0xa5')]));if(_0x4ab67d[_0x35c53a('0xae')]===0x0)return this['maxRetry'](_0x4ab67d);_0x4ab67d[_0x35c53a('0xae')]-=0x1;if(!this[_0x35c53a('0xed')](_0x4ab67d[_0x35c53a('0x11')]))return this[_0x35c53a('0xd3')][_0x35c53a('0x67')](_0x4ab67d,_0x35c53a('0x149'));const _0x3b2d47=this[_0x35c53a('0x24')][_0x35c53a('0x118')](this,_0x4ab67d[_0x35c53a('0x11')]);if(!_0x3b2d47)return this[_0x35c53a('0xd3')]['error'](_0x4ab67d,_0x35c53a('0x136'));if(!this['isConfigured'](_0x4ab67d[_0x35c53a('0x14c')]))return this['channel']['error'](_0x35c53a('0x88'));const _0x52d23c=this['channel'][_0x35c53a('0x108')](_0x3b2d47,_0x4ab67d['response'],_0x4ab67d[_0x35c53a('0x121')]),_0x2fe44b=_0x52d23c[_0x35c53a('0x12')]?_0x52d23c[_0x35c53a('0x12')]['toString']():'';logger[_0x35c53a('0xc3')]('test',JSON[_0x35c53a('0xe3')](_0x52d23c));if(_0x52d23c['result']===-0x1)return this[_0x35c53a('0x2d')]['sync'](this,_0x4ab67d,_0x2fe44b),_0x52d23c;else _0x52d23c['extra']===_0x35c53a('0x10a')?_0x52d23c['result']=_0x2fe44b[_0x35c53a('0x1b8')]>=parseInt(_0x4ab67d[_0x35c53a('0x122')])?'x':'i':_0x52d23c[_0x35c53a('0x12')]=_0x2fe44b[_0x35c53a('0x1b8')]>=parseInt(_0x4ab67d[_0x35c53a('0x122')])&&_0x2fe44b['length']<=parseInt(_0x4ab67d['maxdigit'])?'x':'i';const _0x2c519b=this[_0x35c53a('0x1b1')][_0x35c53a('0x118')](this,_0x4ab67d[_0x35c53a('0x14c')]);if(!_0x2c519b)return this[_0x35c53a('0xd3')]['error'](_0x4ab67d,_0x35c53a('0x32'));this[_0x35c53a('0xd3')][_0x35c53a('0xd4')](_0x2c519b,_0x2fe44b);if(this['isConfigured'](_0x4ab67d['hiddendigitsnum'])){const _0x4c62fe=parseInt(_0x4ab67d['hiddendigitsnum'],0xa),_0x4ea07d=rs[_0x35c53a('0x194')]({'charset':'*','length':_0x4c62fe}),_0x26f344=_0x2fe44b[_0x35c53a('0x1b8')];_0x26f344>0x0?_0x26f344>_0x4c62fe?this[_0x35c53a('0x2d')]['sync'](this,_0x4ab67d,_0x4ab67d[_0x35c53a('0xf6')]===_0x35c53a('0x96')?_0x4ea07d+_0x2fe44b[_0x35c53a('0xb2')](_0x4c62fe):_0x2fe44b[_0x35c53a('0xb2')](0x0,_0x26f344-_0x4c62fe)+_0x4ea07d):this[_0x35c53a('0x2d')][_0x35c53a('0x118')](this,_0x4ab67d,rs[_0x35c53a('0x194')]({'charset':'*','length':_0x26f344})):this[_0x35c53a('0x2d')]['sync'](this,_0x4ab67d,'');}else this[_0x35c53a('0x2d')][_0x35c53a('0x118')](this,_0x4ab67d,_0x2fe44b);return _0x52d23c;},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xda')]=function(_0x4575e1){const _0xcbadeb=_0x361a0f;return logger[_0xcbadeb('0xc3')](util[_0xcbadeb('0x1e')](_0xcbadeb('0xab'),_0x4575e1[_0xcbadeb('0xa5')])),this[_0xcbadeb('0x18a')](_0x4575e1);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xa1')]=function(_0x532a53){const _0x3efbb1=_0x361a0f;return logger['info'](util[_0x3efbb1('0x1e')](_0x3efbb1('0xb1'),_0x532a53[_0x3efbb1('0xa5')])),this[_0x3efbb1('0x2d')]['sync'](this,_0x532a53,_0x532a53[_0x3efbb1('0x2f')]),this[_0x3efbb1('0xd3')][_0x3efbb1('0x76')](util[_0x3efbb1('0x1e')](_0x3efbb1('0x106'),_0x532a53[_0x3efbb1('0x2f')]));},AGIVertices[_0x361a0f('0xff')]['awspolly']=function(_0x21792e){const _0x3c34ea=_0x361a0f;logger[_0x3c34ea('0xc3')](util['format'](_0x3c34ea('0x12e'),_0x21792e[_0x3c34ea('0xa5')]));if(!this['isConfigured'](_0x21792e[_0x3c34ea('0x127')])||!this[_0x3c34ea('0xed')](_0x21792e[_0x3c34ea('0x135')]))return this[_0x3c34ea('0xd3')][_0x3c34ea('0x76')](_0x3c34ea('0x9'));if(!this[_0x3c34ea('0xed')](_0x21792e[_0x3c34ea('0x102')]))return this[_0x3c34ea('0xd3')][_0x3c34ea('0x76')](_0x3c34ea('0x150'));this[_0x3c34ea('0xd3')][_0x3c34ea('0x76')](util[_0x3c34ea('0x1e')]('Trying\x20aws\x20Polly\x20%s',_0x21792e[_0x3c34ea('0x102')]));const _0x4d3de8=this[_0x3c34ea('0x113')][_0x3c34ea('0x118')](this,_0x21792e);if(_0x4d3de8){this['channel'][_0x3c34ea('0x76')](util['format']('aws\x20Polly\x20%s\x20file\x20created',_0x4d3de8));const _0x5ee74c=this['channel'][_0x3c34ea('0x176')](_0x4d3de8);try{fs[_0x3c34ea('0x13c')](_0x4d3de8+_0x3c34ea('0x1a'));}catch(_0x4436a3){logger[_0x3c34ea('0x67')](_0x4436a3);}return _0x5ee74c;}return this[_0x3c34ea('0xd3')][_0x3c34ea('0x67')](_0x21792e,'aws\x20Polly\x20is\x20unreachable');},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x17a')]=function(_0x3d6676){const _0x4dc802=_0x361a0f;logger[_0x4dc802('0xc3')](util['format'](_0x4dc802('0xbc'),_0x3d6676['label']));if(!this['isConfigured'](_0x3d6676[_0x4dc802('0x127')])||!this[_0x4dc802('0xed')](_0x3d6676[_0x4dc802('0x135')]))return this['channel'][_0x4dc802('0x76')]('no\x20valid\x20credentials\x20configured');if(!this[_0x4dc802('0xed')](_0x3d6676[_0x4dc802('0x15d')]))return this[_0x4dc802('0xd3')]['noop']('no\x20bot\x20name\x20configured');if(!this[_0x4dc802('0xed')](_0x3d6676[_0x4dc802('0x102')]))return this['channel'][_0x4dc802('0x76')](_0x4dc802('0x150'));this[_0x4dc802('0xd3')][_0x4dc802('0x1b9')]=!![],this['createSquareDetailsReport'](_0x3d6676),this[_0x4dc802('0x128')](_0x3d6676['text'],'in','',''),this[_0x4dc802('0xd3')][_0x4dc802('0x76')](util['format'](_0x4dc802('0x173'),_0x3d6676[_0x4dc802('0x102')]));const _0x44636b=this['awsLex']['sync'](this,_0x3d6676);if(_0x44636b){for(const _0x1dc79f in _0x44636b){typeof _0x44636b[_0x1dc79f]!==_0x4dc802('0x3b')&&_[_0x4dc802('0x5b')](_0x44636b[_0x1dc79f])&&this[_0x4dc802('0xd3')]['setVariable'](util['format'](_0x4dc802('0x7c'),_0x1dc79f['toUpperCase']()),_0x44636b[_0x1dc79f]);}return _[_0x4dc802('0x1b')](_0x44636b['message'])?this[_0x4dc802('0xd3')][_0x4dc802('0x76')](_0x4dc802('0x1a3')):(this[_0x4dc802('0x128')](_0x44636b[_0x4dc802('0x44')],'out','amazonlex',''),this[_0x4dc802('0xd3')]['noop'](util[_0x4dc802('0x1e')]('Amazon\x20Lex\x20Result\x20%s',_0x44636b[_0x4dc802('0x44')])));}return this[_0x4dc802('0xd3')][_0x4dc802('0x67')](_0x3d6676,'Amazon\x20Lex\x20is\x20unreachable');},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xf4')]=function(_0xb7875d){const _0x23be12=_0x361a0f;logger[_0x23be12('0xc3')](util['format'](_0x23be12('0xbf'),_0xb7875d[_0x23be12('0xa5')],_0xb7875d[_0x23be12('0x10a')]));if(!this[_0x23be12('0xed')](_0xb7875d[_0x23be12('0x4')]))return this['channel'][_0x23be12('0x76')]('no\x20key\x20configured');const _0x4d0cf9=_0x23be12('0xf3'),_0x5d1c75=util[_0x23be12('0x1e')](_0x23be12('0x16f'),FILES_PATH,rs[_0x23be12('0x194')](0x4)),_0x47996b=util[_0x23be12('0x1e')]('%s.%s',_0x5d1c75,_0x4d0cf9);let _0x5dd5cf=!![];_0xb7875d[_0x23be12('0x21')]==='NOBEEP'&&(_0x5dd5cf=![]);const _0x474eaf=this[_0x23be12('0xd3')][_0x23be12('0x22')](_0x5d1c75,_0x4d0cf9,_0xb7875d[_0x23be12('0x12a')],_0xb7875d[_0x23be12('0x10a')],undefined,_0x5dd5cf);if(_0x474eaf[_0x23be12('0x12')]!==-0x1){this[_0x23be12('0xd3')][_0x23be12('0x76')](util[_0x23be12('0x1e')](_0x23be12('0x188'),_0x47996b));const _0xef571d=this[_0x23be12('0xd8')][_0x23be12('0x118')](this,_0xb7875d,_0x47996b);if(_0xef571d){for(const _0x2e7b22 in _0xef571d){typeof _0xef571d[_0x2e7b22]!==_0x23be12('0x3b')&&this[_0x23be12('0xd3')][_0x23be12('0xd4')](util[_0x23be12('0x1e')](_0x23be12('0xdb'),_0x2e7b22[_0x23be12('0x1c5')]()),_0xef571d[_0x2e7b22]);}return this[_0x23be12('0xd3')][_0x23be12('0x76')](util[_0x23be12('0x1e')](_0x23be12('0x92'),JSON['stringify'](_0xef571d)));}}return _0x474eaf;},AGIVertices['prototype'][_0x361a0f('0x15f')]=function(_0x1ecc7b){const _0x19dee1=_0x361a0f;logger[_0x19dee1('0xc3')](util[_0x19dee1('0x1e')](_0x19dee1('0x185'),_0x1ecc7b[_0x19dee1('0xa5')]));if(!this[_0x19dee1('0xed')](_0x1ecc7b[_0x19dee1('0x171')]))return this[_0x19dee1('0xd3')]['noop']('no\x20appid\x20configured');if(!this[_0x19dee1('0xed')](_0x1ecc7b[_0x19dee1('0xc9')]))return this[_0x19dee1('0xd3')]['noop'](_0x19dee1('0xa'));const _0x3f76b3=_0x19dee1('0xf3'),_0x4281d9=util['format']('%s/recordings/%s',FILES_PATH,rs[_0x19dee1('0x194')](0x4)),_0x475bd9=util[_0x19dee1('0x1e')](_0x19dee1('0x14'),_0x4281d9,_0x3f76b3);let _0x512baf=!![];_0x1ecc7b[_0x19dee1('0x21')]===_0x19dee1('0x1')&&(_0x512baf=![]);const _0x35963d=this[_0x19dee1('0xd3')]['recordFile'](_0x4281d9,_0x3f76b3,_0x1ecc7b['intKey'],_0x1ecc7b['timeout'],undefined,_0x512baf);if(_0x35963d[_0x19dee1('0x12')]!==-0x1){this[_0x19dee1('0xd3')]['noop'](util[_0x19dee1('0x1e')](_0x19dee1('0x1ab'),_0x475bd9));const _0x46be6e=this[_0x19dee1('0x10')][_0x19dee1('0x118')](this,_0x1ecc7b,_0x475bd9);if(_0x46be6e){for(const _0x481de4 in _0x46be6e){typeof _0x46be6e[_0x481de4]!==_0x19dee1('0x3b')&&this[_0x19dee1('0xd3')]['setVariable'](util[_0x19dee1('0x1e')](_0x19dee1('0xac'),_0x481de4[_0x19dee1('0x1c5')]()),_0x46be6e[_0x481de4]);}return this[_0x19dee1('0xd3')][_0x19dee1('0x76')](util[_0x19dee1('0x1e')](_0x19dee1('0x16e'),JSON[_0x19dee1('0xe3')](_0x46be6e)));}}return _0x35963d;},AGIVertices['prototype'][_0x361a0f('0x132')]=function(_0x1bbb54){const _0x402b8f=_0x361a0f;return logger['info'](util[_0x402b8f('0x1e')](_0x402b8f('0x0'),_0x1bbb54['label'])),this['channel'][_0x402b8f('0x191')](_0x1bbb54['context'],_0x1bbb54[_0x402b8f('0x179')],_0x1bbb54[_0x402b8f('0x1b7')]);},AGIVertices[_0x361a0f('0xff')]['gotoif']=function(_0x2b53b1){const _0x37d762=_0x361a0f;logger[_0x37d762('0xc3')](util[_0x37d762('0x1e')](_0x37d762('0x13b'),_0x2b53b1[_0x37d762('0xa5')]));if(!this[_0x37d762('0xed')](_0x2b53b1[_0x37d762('0xe')]))return this['channel']['error'](_0x2b53b1,_0x37d762('0x18d'));try{const _0x5a1d37=eval(_0x2b53b1['condition'])?_0x37d762('0x177'):'false';return this['channel'][_0x37d762('0x76')](util[_0x37d762('0x1e')](_0x37d762('0xe8'),_0x2b53b1[_0x37d762('0xe')],_0x5a1d37)),{'code':0xc8,'result':_0x5a1d37};}catch(_0x57a307){return{'code':0xc8,'result':'false'};}},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x101')]=function(_0x2ec783){const _0xb951d6=_0x361a0f;logger['info'](util[_0xb951d6('0x1e')]('Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block',_0x2ec783[_0xb951d6('0xa5')]));if(!this[_0xb951d6('0xed')](_0x2ec783['interval_id']))return this[_0xb951d6('0xd3')][_0xb951d6('0x67')](_0x2ec783,_0xb951d6('0x18c'));const _0x165045=this[_0xb951d6('0x4d')][_0xb951d6('0x118')](this,_0x2ec783[_0xb951d6('0x7b')]);if(!_0x165045)return this[_0xb951d6('0xd3')][_0xb951d6('0x67')](_0x2ec783,_0xb951d6('0x6d'));for(let _0xc9a903=0x0;_0xc9a903<_0x165045['length'];_0xc9a903+=0x1){const _0x34f204=this[_0xb951d6('0xd3')]['getVariable'](util[_0xb951d6('0x1e')](_0xb951d6('0x14e'),_0x165045[_0xc9a903]));if(_0x34f204[_0xb951d6('0x12')]===-0x1)return _0x34f204;logger[_0xb951d6('0xc3')](util[_0xb951d6('0x1e')](_0xb951d6('0x38'),_0x165045[_0xc9a903],_0x34f204[_0xb951d6('0x141')]));if(_0x34f204[_0xb951d6('0x141')]===_0xb951d6('0x177'))return logger[_0xb951d6('0xc3')](util['format'](_0xb951d6('0x38'),_0x165045[_0xc9a903],_0xb951d6('0x177'))),this['channel'][_0xb951d6('0x76')](util[_0xb951d6('0x1e')]('IFTIME\x20%s\x20%s',_0x165045[_0xc9a903],_0xb951d6('0x177'))),{'code':0xc8,'result':_0xb951d6('0x177')};else logger['info'](util['format'](_0xb951d6('0x38'),_0x165045[_0xc9a903],_0xb951d6('0x50'))),this[_0xb951d6('0xd3')][_0xb951d6('0x76')](util['format'](_0xb951d6('0x38'),_0x165045[_0xc9a903],_0xb951d6('0x50')));}return{'code':0xc8,'result':'false'};},AGIVertices['prototype'][_0x361a0f('0x8d')]=function(_0x58442a){const _0x204a8c=_0x361a0f;return logger[_0x204a8c('0xc3')](util[_0x204a8c('0x1e')](_0x204a8c('0x120'),_0x58442a[_0x204a8c('0xa5')])),this['channel'][_0x204a8c('0x8d')]();},AGIVertices['prototype'][_0x361a0f('0x66')]=function(_0x21fcfb){const _0x22b4de=_0x361a0f;logger['info'](util[_0x22b4de('0x1e')](_0x22b4de('0x16'),_0x21fcfb['label']));if(!this[_0x22b4de('0xed')](_0x21fcfb[_0x22b4de('0x4')]))return this[_0x22b4de('0xd3')][_0x22b4de('0x76')](_0x22b4de('0x99'));const _0x171c56='wav',_0x1b319a=util['format'](_0x22b4de('0x16f'),FILES_PATH,rs['generate'](0x4)),_0x190497=util[_0x22b4de('0x1e')]('%s.%s',_0x1b319a,_0x171c56);let _0x5ba907=!![];_0x21fcfb[_0x22b4de('0x21')]===_0x22b4de('0x1')&&(_0x5ba907=![]);const _0x1cba24=this[_0x22b4de('0xd3')][_0x22b4de('0x22')](_0x1b319a,_0x171c56,_0x21fcfb[_0x22b4de('0x12a')],_0x21fcfb[_0x22b4de('0x10a')],undefined,_0x5ba907);if(_0x1cba24[_0x22b4de('0x12')]!==-0x1){this[_0x22b4de('0xd3')][_0x22b4de('0x76')](util[_0x22b4de('0x1e')](_0x22b4de('0xb0'),_0x190497));const _0x1f9667=this['ispeechASR'][_0x22b4de('0x118')](this,_0x21fcfb,_0x190497);if(_0x1f9667){for(const _0x47ecf8 in _0x1f9667){typeof _0x1f9667[_0x47ecf8]!==_0x22b4de('0x3b')&&this[_0x22b4de('0xd3')]['setVariable'](util['format'](_0x22b4de('0x89'),_0x47ecf8[_0x22b4de('0x1c5')]()),_0x1f9667[_0x47ecf8]);}return this[_0x22b4de('0xd3')][_0x22b4de('0x76')](util[_0x22b4de('0x1e')](_0x22b4de('0x6e'),JSON[_0x22b4de('0xe3')](_0x1f9667)));}}return _0x1cba24;},AGIVertices['prototype'][_0x361a0f('0x181')]=function(_0x3d6ea){const _0x4cbf6b=_0x361a0f;logger[_0x4cbf6b('0xc3')](util['format']('Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block',_0x3d6ea[_0x4cbf6b('0xa5')]));if(!this[_0x4cbf6b('0xed')](_0x3d6ea['key']))return this[_0x4cbf6b('0xd3')][_0x4cbf6b('0x76')](_0x4cbf6b('0x99'));if(!this[_0x4cbf6b('0xed')](_0x3d6ea[_0x4cbf6b('0x102')]))return this[_0x4cbf6b('0xd3')][_0x4cbf6b('0x76')](_0x4cbf6b('0x150'));this['channel'][_0x4cbf6b('0x76')](util[_0x4cbf6b('0x1e')]('Trying\x20ispeech\x20TTS\x20%s',_0x3d6ea[_0x4cbf6b('0x102')]));const _0x492fd4=this[_0x4cbf6b('0x18b')]['sync'](this,_0x3d6ea);if(_0x492fd4){this[_0x4cbf6b('0xd3')]['noop'](util[_0x4cbf6b('0x1e')](_0x4cbf6b('0xb0'),_0x492fd4));const _0x30aa76=this[_0x4cbf6b('0xd3')][_0x4cbf6b('0x176')](_0x492fd4,_0x3d6ea[_0x4cbf6b('0x12a')]);try{fs[_0x4cbf6b('0x13c')](_0x492fd4+_0x4cbf6b('0x1a'));}catch(_0x1c0e5f){logger[_0x4cbf6b('0x67')](_0x1c0e5f);}return _0x30aa76;}return this[_0x4cbf6b('0xd3')][_0x4cbf6b('0x67')](_0x3d6ea,_0x4cbf6b('0x2'));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xbd')]=function(_0x20cd86){const _0xcc9804=_0x361a0f;logger[_0xcc9804('0xc3')](util['format'](_0xcc9804('0xf1'),_0x20cd86[_0xcc9804('0xa5')]));if(!this['isConfigured'](_0x20cd86[_0xcc9804('0x146')]))return this[_0xcc9804('0xd3')][_0xcc9804('0x67')](_0x20cd86,_0xcc9804('0x28'));logger[_0xcc9804('0xc3')](util[_0xcc9804('0x1e')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel']['callerid'],_0x20cd86['findBy']));const _0x558d7a=this[_0xcc9804('0xe7')][_0xcc9804('0x118')](this,_0x20cd86[_0xcc9804('0x146')]);return _0x558d7a?(logger[_0xcc9804('0xc3')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0xcc9804('0xd3')][_0xcc9804('0x156')],_0x20cd86[_0xcc9804('0x146')])),this[_0xcc9804('0xd3')][_0xcc9804('0x76')](util[_0xcc9804('0x1e')]('AGENT\x20%s\x20FOUND\x20BY',this[_0xcc9804('0xd3')][_0xcc9804('0x156')],_0x20cd86[_0xcc9804('0x146')])),{'code':0xc8,'result':_0xcc9804('0x11e')}):(logger[_0xcc9804('0xc3')](util[_0xcc9804('0x1e')](_0xcc9804('0xc0'),this[_0xcc9804('0xd3')][_0xcc9804('0x156')],_0x20cd86[_0xcc9804('0x146')])),this['channel']['noop'](util[_0xcc9804('0x1e')](_0xcc9804('0xc0'),this[_0xcc9804('0xd3')]['callerid'],_0x20cd86[_0xcc9804('0x146')])),{'code':0xc8,'result':_0xcc9804('0x180')});},AGIVertices[_0x361a0f('0xff')]['logout']=function(_0xd4637c){const _0x472fdb=_0x361a0f;logger[_0x472fdb('0xc3')](util[_0x472fdb('0x1e')](_0x472fdb('0xca'),_0xd4637c[_0x472fdb('0xa5')]));if(!this[_0x472fdb('0xed')](_0xd4637c['findBy']))return this[_0x472fdb('0xd3')]['error'](_0xd4637c,'no\x20find\x20by\x20configured');logger[_0x472fdb('0xc3')](util[_0x472fdb('0x1e')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x472fdb('0xd3')]['callerid'],_0xd4637c[_0x472fdb('0x146')]));const _0x5dd044=this[_0x472fdb('0x168')]['sync'](this,_0xd4637c['findBy']);return _0x5dd044?(logger[_0x472fdb('0xc3')](util['format'](_0x472fdb('0x130'),this[_0x472fdb('0xd3')]['callerid'],_0xd4637c[_0x472fdb('0x146')])),this[_0x472fdb('0xd3')]['noop'](util[_0x472fdb('0x1e')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x472fdb('0xd3')][_0x472fdb('0x156')],_0xd4637c[_0x472fdb('0x146')])),{'code':0xc8,'result':_0x472fdb('0x11e')}):(logger[_0x472fdb('0xc3')](util[_0x472fdb('0x1e')](_0x472fdb('0xc0'),this[_0x472fdb('0xd3')]['callerid'],_0xd4637c[_0x472fdb('0x146')])),this[_0x472fdb('0xd3')]['noop'](util[_0x472fdb('0x1e')](_0x472fdb('0xc0'),this[_0x472fdb('0xd3')][_0x472fdb('0x156')],_0xd4637c[_0x472fdb('0x146')])),{'code':0xc8,'result':_0x472fdb('0x180')});},AGIVertices['prototype'][_0x361a0f('0x167')]=function(_0x45399a){const _0x323c5e=_0x361a0f;logger[_0x323c5e('0xc3')](util[_0x323c5e('0x1e')](_0x323c5e('0x137'),_0x45399a[_0x323c5e('0xa5')]));if(!this[_0x323c5e('0xed')](_0x45399a[_0x323c5e('0x40')]))return this['channel'][_0x323c5e('0x67')](_0x45399a,_0x323c5e('0xfd'));this[_0x323c5e('0xd3')][_0x323c5e('0x76')](util['format'](_0x323c5e('0xfc'),_0x45399a[_0x323c5e('0x40')]));const _0x525dec=eval(_0x45399a[_0x323c5e('0x40')]);if(!this[_0x323c5e('0xed')](_0x45399a[_0x323c5e('0x14c')]))return this[_0x323c5e('0xd3')][_0x323c5e('0x76')]('no\x20variable\x20selected\x20for\x20the\x20result');const _0x207739=this['getVariable'][_0x323c5e('0x118')](this,_0x45399a[_0x323c5e('0x14c')]);if(!_0x207739)return this['channel'][_0x323c5e('0x67')](_0x45399a,_0x323c5e('0x32'));if(_[_0x323c5e('0x7e')](_0x525dec)){const _0x2635bb=this;return _0x525dec[_0x323c5e('0xfb')](function(_0xab627d,_0x225a9f){const _0x504f74=_0x323c5e;_0x2635bb[_0x504f74('0xd3')][_0x504f74('0xd4')](util[_0x504f74('0x1e')](_0x504f74('0x151'),_0x207739,_0x225a9f),_0xab627d);}),this['channel']['noop'](util[_0x323c5e('0x1e')]('variable\x20%s[key]\x20set',_0x207739));}else return this[_0x323c5e('0xd3')][_0x323c5e('0xd4')](_0x207739,_0x525dec);},AGIVertices['prototype'][_0x361a0f('0x1c3')]=function(_0x5c8d55){const _0x276464=_0x361a0f;logger[_0x276464('0xc3')](util['format'](_0x276464('0x1a4'),_0x5c8d55[_0x276464('0xa5')]));if(_0x5c8d55[_0x276464('0xae')]===0x0)return this[_0x276464('0x93')](_0x5c8d55);_0x5c8d55[_0x276464('0xae')]-=0x1;if(!this[_0x276464('0xed')](_0x5c8d55[_0x276464('0x11')]))return this['channel'][_0x276464('0x67')](_0x5c8d55,'no\x20file\x20audio\x20selected');const _0x127a1e=this[_0x276464('0x24')][_0x276464('0x118')](this,_0x5c8d55[_0x276464('0x11')]);if(!_0x127a1e)return this[_0x276464('0xd3')][_0x276464('0x67')](_0x5c8d55,_0x276464('0x136'));const _0x2f7658=this[_0x276464('0xd3')][_0x276464('0x108')](_0x127a1e,_0x5c8d55[_0x276464('0xe4')],_0x5c8d55[_0x276464('0x123')]);let _0x8c9b6e=_0x2f7658[_0x276464('0x12')];if(_0x2f7658['result']===-0x1)return this['createSquareDetailsReport'][_0x276464('0x118')](this,_0x5c8d55,'-1'),_0x2f7658;else{if(_0x2f7658[_0x276464('0x141')]===_0x276464('0x10a'))_0x2f7658['result']=_0x2f7658[_0x276464('0x12')][_0x276464('0x1b8')]>0x0?_0x2f7658[_0x276464('0x12')]:'t';else _[_0x276464('0xd7')](_0x2f7658[_0x276464('0x12')])&&(_0x2f7658[_0x276464('0x12')]='#',_0x8c9b6e='#');}if(!this[_0x276464('0xed')](_0x5c8d55[_0x276464('0x14c')]))this['channel'][_0x276464('0x76')](_0x276464('0x88'));else{const _0x5d55a8=this['getVariable'][_0x276464('0x118')](this,_0x5c8d55['variable_id']);if(!_0x5d55a8)return this[_0x276464('0xd3')][_0x276464('0x67')](_0x5c8d55,_0x276464('0x32'));this[_0x276464('0xd3')][_0x276464('0xd4')](_0x5d55a8,_0x8c9b6e);}return this[_0x276464('0x2d')][_0x276464('0x118')](this,_0x5c8d55,_0x8c9b6e),_0x2f7658;},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x76')]=function(_0x109ff1){const _0x19ee07=_0x361a0f;return logger[_0x19ee07('0xc3')](util['format'](_0x19ee07('0xb5'),_0x109ff1[_0x19ee07('0xa5')])),this[_0x19ee07('0xd3')]['noop'](_0x109ff1[_0x19ee07('0x61')]||_0x109ff1[_0x19ee07('0xa5')]);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xcd')]=function(_0x359444){const _0x5698ed=_0x361a0f;logger[_0x5698ed('0xc3')](util['format'](_0x5698ed('0x12b'),_0x359444[_0x5698ed('0xa5')]));if(!this['isConfigured'](_0x359444[_0x5698ed('0x146')]))return this[_0x5698ed('0xd3')][_0x5698ed('0x67')](_0x359444,_0x5698ed('0x28'));logger['info'](util['format'](_0x5698ed('0xeb'),this['channel'][_0x5698ed('0x156')],_0x359444['findBy']));const _0x26f169=this[_0x5698ed('0x107')]['sync'](this,_0x359444['pause_id']),_0x32d807=this[_0x5698ed('0x187')]['sync'](this,_0x359444[_0x5698ed('0x146')],_0x26f169);return _0x32d807?(logger['info'](util[_0x5698ed('0x1e')](_0x5698ed('0x130'),this[_0x5698ed('0xd3')][_0x5698ed('0x156')],_0x359444['findBy'])),this[_0x5698ed('0xd3')][_0x5698ed('0x76')](util[_0x5698ed('0x1e')](_0x5698ed('0x130'),this[_0x5698ed('0xd3')]['callerid'],_0x359444['findBy'])),{'code':0xc8,'result':_0x5698ed('0x11e')}):(logger['info'](util[_0x5698ed('0x1e')](_0x5698ed('0xc0'),this[_0x5698ed('0xd3')]['callerid'],_0x359444[_0x5698ed('0x146')])),this[_0x5698ed('0xd3')]['noop'](util['format'](_0x5698ed('0x130'),this['channel']['callerid'],_0x359444[_0x5698ed('0x146')])),{'code':0xc8,'result':_0x5698ed('0x180')});},AGIVertices['prototype']['playback']=function(_0x298703){const _0x7b606=_0x361a0f;logger['info'](util[_0x7b606('0x1e')](_0x7b606('0xaf'),_0x298703[_0x7b606('0xa5')]));if(!this[_0x7b606('0xed')](_0x298703[_0x7b606('0x11')]))return this['channel'][_0x7b606('0x67')](_0x298703,'no\x20file\x20audio\x20selected');const _0x92f65b=this['getSound'][_0x7b606('0x118')](this,_0x298703['file_id']);if(!_0x92f65b)return this[_0x7b606('0xd3')]['error'](_0x298703,'no\x20file\x20audio\x20found');const _0x136abd=this['channel'][_0x7b606('0x182')]('PLAYBACK',[_0x92f65b,_0x298703[_0x7b606('0x16a')]]);if(_0x136abd[_0x7b606('0x12')]===-0x1)return _0x136abd;return this[_0x7b606('0xd3')]['noop'](util[_0x7b606('0x1e')]('Executed\x20command\x20%s\x20%s',_0x7b606('0x12c'),_0x92f65b));},AGIVertices['prototype']['queue']=function(_0x51f7f9){const _0x2c0b65=_0x361a0f;logger[_0x2c0b65('0xc3')](util['format']('Enter\x20in\x20QUEUE\x20(%s)\x20block',_0x51f7f9[_0x2c0b65('0xa5')]));if(!this[_0x2c0b65('0xed')](_0x51f7f9[_0x2c0b65('0x11d')]))return this[_0x2c0b65('0xd3')][_0x2c0b65('0x67')](_0x51f7f9,_0x2c0b65('0x1f'));let _0x454e96='';const _0x15b44d=parseInt(_0x51f7f9[_0x2c0b65('0x11d')],0xa);if(isNaN(_0x15b44d))_0x454e96=_0x51f7f9[_0x2c0b65('0x11d')];else{_0x454e96=this[_0x2c0b65('0x197')][_0x2c0b65('0x118')](this,_0x51f7f9['queue_id']);if(!_0x454e96)return this[_0x2c0b65('0xd3')][_0x2c0b65('0x67')](_0x51f7f9,_0x2c0b65('0xa8'));}let _0x5f00f8='';if(this[_0x2c0b65('0xed')](_0x51f7f9['file_id'])){const _0x176203=this['getSound'][_0x2c0b65('0x118')](this,_0x51f7f9[_0x2c0b65('0x11')]);_0x176203&&(_0x5f00f8=_0x176203);}this[_0x2c0b65('0x2d')][_0x2c0b65('0x118')](this,_0x51f7f9,_0x454e96);_0x51f7f9[_0x2c0b65('0x16a')][_0x2c0b65('0xc6')]('x')<0x0&&(_0x51f7f9[_0x2c0b65('0x16a')]+='x');_0x51f7f9['opts'][_0x2c0b65('0xc6')]('X')<0x0&&(_0x51f7f9[_0x2c0b65('0x16a')]+='X');this[_0x2c0b65('0xd3')][_0x2c0b65('0xd4')](_0x2c0b65('0x1b4'),_0x454e96?_0x454e96[_0x2c0b65('0x172')]():'');const _0x3b31a8=this['channel'][_0x2c0b65('0x182')](_0x2c0b65('0x1aa'),[_0x454e96,_0x51f7f9[_0x2c0b65('0x16a')],_0x51f7f9['url'],_0x5f00f8,_0x51f7f9[_0x2c0b65('0x10a')],_0x51f7f9[_0x2c0b65('0x1c1')],_0x51f7f9[_0x2c0b65('0x58')],_0x51f7f9[_0x2c0b65('0xa0')],'',_0x51f7f9[_0x2c0b65('0x10b')]]);if(_0x3b31a8[_0x2c0b65('0x12')]===-0x1)return _0x3b31a8;return this['channel']['noop'](util[_0x2c0b65('0x1e')]('Executed\x20command\x20%s\x20%s','QUEUE',_0x454e96));},AGIVertices['prototype']['record']=function(_0x4525b2){const _0x1a0b06=_0x361a0f;logger['info'](util[_0x1a0b06('0x1e')](_0x1a0b06('0x45'),_0x4525b2[_0x1a0b06('0xa5')]));const _0x5030fb=_0x4525b2[_0x1a0b06('0x154')]||_0x1a0b06('0xf3'),_0x1adac6=util['format'](_0x1a0b06('0x153'),this[_0x1a0b06('0xd3')][_0x1a0b06('0x18f')],rs['generate'](0x5)),_0x2f25f1=util[_0x1a0b06('0x1e')](_0x1a0b06('0x10e'),FILES_PATH,_0x1adac6,_0x5030fb),_0x1b2d07=util[_0x1a0b06('0x1e')](_0x1a0b06('0x16f'),FILES_PATH,_0x1adac6);return this['createSquareRecording'][_0x1a0b06('0x118')](this,_0x4525b2,_0x1adac6,_0x2f25f1),this['channel'][_0x1a0b06('0xd4')](_0x1a0b06('0x68'),_0x1adac6),logger[_0x1a0b06('0xc3')](_0x1a0b06('0x6b'),_0x1b2d07,_0x5030fb,_0x4525b2['escape_digits'],_0x4525b2[_0x1a0b06('0x10a')]),this[_0x1a0b06('0xd3')][_0x1a0b06('0x22')](_0x1b2d07,_0x5030fb,_0x4525b2[_0x1a0b06('0x1c6')],_0x4525b2[_0x1a0b06('0x10a')],undefined,!![]);},AGIVertices[_0x361a0f('0xff')]['restapi']=function(_0x3453bd){const _0x1e0887=_0x361a0f;logger[_0x1e0887('0xc3')](util[_0x1e0887('0x1e')](_0x1e0887('0x47'),_0x3453bd[_0x1e0887('0xa5')]));if(!this['isConfigured'](_0x3453bd[_0x1e0887('0x12d')]))return this['channel'][_0x1e0887('0x76')](_0x1e0887('0x15a'));const _0x3f8318=this[_0x1e0887('0x1b6')]['sync'](this,_0x3453bd);logger[_0x1e0887('0xc3')](util['format']('Response:',util[_0x1e0887('0x1a1')](_0x3f8318,{'showHidden':![],'depth':null})));if(!this[_0x1e0887('0xed')](_0x3453bd[_0x1e0887('0x14c')]))return this[_0x1e0887('0xd3')][_0x1e0887('0x76')](_0x1e0887('0x4a'));const _0x452213=this[_0x1e0887('0x1b1')]['sync'](this,_0x3453bd['variable_id']);if(!_0x452213)return this[_0x1e0887('0xd3')][_0x1e0887('0x67')](_0x3453bd,_0x1e0887('0x32'));this[_0x1e0887('0xd3')][_0x1e0887('0xd4')](util[_0x1e0887('0x1e')]('%s_STATUS_CODE',_0x452213),_0x3f8318[_0x1e0887('0x1a0')]?_0x3f8318[_0x1e0887('0x1a0')]:_0x1e0887('0x43')),this[_0x1e0887('0xd3')][_0x1e0887('0xd4')](util[_0x1e0887('0x1e')](_0x1e0887('0x70'),_0x452213),_0x3f8318[_0x1e0887('0x9d')]?_0x3f8318[_0x1e0887('0x9d')]:'OK');if(_0x3f8318[_0x1e0887('0x174')])try{this[_0x1e0887('0x125')](_0x3f8318['body'],_0x452213);}catch(_0x132fac){logger['error'](util[_0x1e0887('0x1e')](_0x1e0887('0x3d'),_0x452213));}return this[_0x1e0887('0xd3')][_0x1e0887('0x76')](util[_0x1e0887('0x1e')](_0x1e0887('0x71'),_0x452213));},AGIVertices['prototype'][_0x361a0f('0x193')]=function(_0x265ad1){const _0x4e6627=_0x361a0f;return logger[_0x4e6627('0xc3')](util[_0x4e6627('0x1e')](_0x4e6627('0x116'),_0x265ad1['label'])),this[_0x4e6627('0xd3')]['sayDigits'](_0x265ad1[_0x4e6627('0x104')][_0x4e6627('0x9c')](/\s+/g,''),_0x265ad1[_0x4e6627('0x1c6')]);},AGIVertices['prototype'][_0x361a0f('0x183')]=function(_0x4aaf35){const _0x1bf21e=_0x361a0f;return logger[_0x1bf21e('0xc3')](util[_0x1bf21e('0x1e')](_0x1bf21e('0x42'),_0x4aaf35[_0x1bf21e('0xa5')])),this[_0x1bf21e('0xd3')][_0x1bf21e('0xf0')](_0x4aaf35[_0x1bf21e('0x1a6')][_0x1bf21e('0x9c')](/\s+/g,''),_0x4aaf35[_0x1bf21e('0x1c6')]);},AGIVertices['prototype'][_0x361a0f('0x69')]=function(_0xee5d9b){const _0x4f86a4=_0x361a0f;return logger[_0x4f86a4('0xc3')](util['format']('Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block',_0xee5d9b['label'])),this[_0x4f86a4('0xd3')][_0x4f86a4('0xb7')](_0xee5d9b[_0x4f86a4('0x102')],_0xee5d9b[_0x4f86a4('0x1c6')]);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x87')]=function(_0x2ce14e){const _0x146368=_0x361a0f;logger[_0x146368('0xc3')](util[_0x146368('0x1e')](_0x146368('0x1ba'),_0x2ce14e[_0x146368('0xa5')]));if(!this[_0x146368('0xed')](_0x2ce14e[_0x146368('0x14a')]))return this[_0x146368('0xd3')]['noop'](_0x146368('0xba'));const _0x2e1322=this[_0x146368('0x1c')][_0x146368('0x118')](this,_0x2ce14e[_0x146368('0x14a')]);if(!_0x2e1322||!_0x2e1322[_0x146368('0x86')])return this[_0x146368('0xd3')][_0x146368('0x67')](_0x2ce14e,_0x146368('0x95'));const _0x7e0e34={'from':util['format'](_0x146368('0x5'),_0x2e1322[_0x146368('0xcb')],_0x2e1322[_0x146368('0x2b')]||_0x2e1322[_0x146368('0x86')][_0x146368('0x9b')]),'to':_0x2ce14e['to']||'','cc':_0x2ce14e['cc']||'','bcc':_0x2ce14e[_0x146368('0x30')]||'','subject':_0x2ce14e[_0x146368('0x49')],'html':_0x2ce14e[_0x146368('0x102')],'text':_0x2ce14e[_0x146368('0x102')]},_0xd44218={'tls':{'rejectUnauthorized':![]}};_0x2e1322['Smtp']['service']?_0xd44218[_0x146368('0x5a')]=_0x2e1322[_0x146368('0x86')][_0x146368('0x5a')]:(_0xd44218[_0x146368('0xf7')]=_0x2e1322['Smtp'][_0x146368('0xf7')],_0xd44218['port']=_0x2e1322[_0x146368('0x86')][_0x146368('0xec')],_0xd44218[_0x146368('0x83')]=_0x2e1322['Smtp'][_0x146368('0x83')]);_0x2e1322[_0x146368('0x86')][_0x146368('0x8e')]&&(_0xd44218[_0x146368('0x1be')]={'user':_0x2e1322[_0x146368('0x86')][_0x146368('0x9b')],'pass':_0x2e1322[_0x146368('0x86')]['pass']});if(this[_0x146368('0xed')](_0x2ce14e['template_id'])){}return logger[_0x146368('0x85')](_0x146368('0x19a'),JSON[_0x146368('0xe3')](_0x7e0e34)),this['createSquareDetailsReport'][_0x146368('0x118')](this,_0x2ce14e,_0x2ce14e['account_id']),this[_0x146368('0xd3')][_0x146368('0x76')](util[_0x146368('0x1e')]('Trying\x20SendMail\x20with\x20account\x20%s',_0x2e1322[_0x146368('0xcb')])),this[_0x146368('0x13e')][_0x146368('0x118')](this,_0xd44218,_0x7e0e34),this[_0x146368('0xd3')][_0x146368('0x76')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0xbe')]=function(_0xdabf58){const _0x30733c=_0x361a0f;return logger[_0x30733c('0xc3')](util[_0x30733c('0x1e')](_0x30733c('0x199'),_0xdabf58['label'])),this[_0x30733c('0xd3')][_0x30733c('0x76')](_0x30733c('0x17c'));},AGIVertices[_0x361a0f('0xff')]['sendSMS']=function(_0x206763){const _0x53c564=_0x361a0f;logger[_0x53c564('0xc3')](util[_0x53c564('0x1e')](_0x53c564('0x119'),_0x206763[_0x53c564('0xa5')]));if(!this[_0x53c564('0xed')](_0x206763['sms_account_id']))return this[_0x53c564('0xd3')][_0x53c564('0x76')](_0x53c564('0xdc'));const _0x532972=this[_0x53c564('0xe1')][_0x53c564('0x118')](this,_0x206763[_0x53c564('0xd2')]);if(!_0x532972)return this[_0x53c564('0xd3')][_0x53c564('0x67')](_0x206763,'no\x20sms\x20account\x20found');const _0x37720e={'body':_0x206763[_0x53c564('0x7f')],'phone':_0x206763['to']||'','SmsAccountId':_0x532972['id']};return logger[_0x53c564('0x85')](_0x53c564('0x5e'),JSON[_0x53c564('0xe3')](_0x37720e)),this[_0x53c564('0x2d')][_0x53c564('0x118')](this,_0x206763,_0x206763[_0x53c564('0xd2')]),this['channel'][_0x53c564('0x76')](util[_0x53c564('0x1e')](_0x53c564('0x109'),_0x532972['name'])),this['createSmsMessage'][_0x53c564('0x118')](this,_0x37720e),this['channel'][_0x53c564('0x76')](_0x53c564('0x134'));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x27')]=function(_0x499e14){const _0x21cbed=_0x361a0f;logger[_0x21cbed('0xc3')](util[_0x21cbed('0x1e')](_0x21cbed('0xa7'),_0x499e14[_0x21cbed('0xa5')]));if(!this[_0x21cbed('0xed')](_0x499e14['variable_id']))return this['channel'][_0x21cbed('0x67')](_0x499e14,'no\x20variable\x20selected');const _0x3b86b7=this['getVariable']['sync'](this,_0x499e14['variable_id']);if(!_0x3b86b7)return this['channel'][_0x21cbed('0x67')](_0x499e14,_0x21cbed('0x32'));return this['channel'][_0x21cbed('0xd4')](_0x3b86b7,_0x499e14['variable_value']);},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x15b')]=function(_0x5adbb5){const _0x34b250=_0x361a0f;logger[_0x34b250('0xc3')](util[_0x34b250('0x1e')](_0x34b250('0x1a5'),_0x5adbb5[_0x34b250('0xa5')])),this['channel']['noop'](_0x34b250('0x160'));if(_0x5adbb5[_0x34b250('0x31')]===_0x34b250('0x6'))return this[_0x34b250('0xd3')]['noop'](_0x34b250('0x91')),this['channel']['answer']();return this[_0x34b250('0xd3')][_0x34b250('0x76')](_0x34b250('0xb6'));},AGIVertices['prototype'][_0x361a0f('0x1ad')]=function(_0x48f8eb){const _0x477c31=_0x361a0f;logger[_0x477c31('0xc3')](util[_0x477c31('0x1e')](_0x477c31('0x158'),_0x48f8eb[_0x477c31('0xa5')]));if(!this[_0x477c31('0xed')](_0x48f8eb['project_id']))return this[_0x477c31('0xd3')][_0x477c31('0x67')](_0x48f8eb,'no\x20subproject\x20selected');const _0x4463a0=this[_0x477c31('0x10c')]['sync'](this,_0x48f8eb[_0x477c31('0x53')]);if(!this['isConfigured'](_0x4463a0))return this[_0x477c31('0xd3')][_0x477c31('0x67')](_0x48f8eb,util[_0x477c31('0x1e')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x48f8eb['project_id']));if(_0x4463a0===this['channel'][_0x477c31('0x39')])return this['channel'][_0x477c31('0x67')](_0x48f8eb,_0x477c31('0x3f'));this[_0x477c31('0x2d')][_0x477c31('0x118')](this,_0x48f8eb,_0x4463a0);const _0x4b7cd4=this['channel']['exec']('AGI',util[_0x477c31('0x1e')](_0x477c31('0x5f'),config[_0x477c31('0x1c1')][_0x477c31('0xf7')]||_0x477c31('0xc8'),_0x4463a0,this['channel'][_0x477c31('0x39')]));if(_0x4b7cd4[_0x477c31('0x12')]===-0x1)return _0x4b7cd4;return this[_0x477c31('0xd3')]['noop'](util[_0x477c31('0x1e')]('Executed\x20command\x20%s\x20%s',_0x477c31('0xd1'),_0x4463a0));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x4b')]=function(_0x4596e2){const _0x38a94d=_0x361a0f;logger[_0x38a94d('0xc3')](util[_0x38a94d('0x1e')](_0x38a94d('0x29'),_0x4596e2[_0x38a94d('0xa5')]));const _0x1be5d0=this['shellCommand'][_0x38a94d('0x118')](this,_0x4596e2[_0x38a94d('0x3a')]);this[_0x38a94d('0x2d')][_0x38a94d('0x118')](this,_0x4596e2,_0x4596e2[_0x38a94d('0x3a')]);if(this[_0x38a94d('0xed')](_0x4596e2['variable_id'])){const _0x58b2db=this[_0x38a94d('0x1b1')][_0x38a94d('0x118')](this,_0x4596e2['variable_id']);if(_0x58b2db)return this[_0x38a94d('0xd3')][_0x38a94d('0xd4')](_0x58b2db,_0x1be5d0),this[_0x38a94d('0xd3')][_0x38a94d('0x76')](util[_0x38a94d('0x1e')]('sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s',_0x4596e2[_0x38a94d('0x3a')],_0x58b2db));}return this[_0x38a94d('0xd3')][_0x38a94d('0x76')](util[_0x38a94d('0x1e')](_0x38a94d('0x74'),_0x4596e2[_0x38a94d('0x3a')]));},AGIVertices['prototype'][_0x361a0f('0x2a')]=function(_0x157601){const _0x28bebc=_0x361a0f;logger[_0x28bebc('0xc3')](util[_0x28bebc('0x1e')]('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x157601[_0x28bebc('0xa5')])),_0x157601[_0x28bebc('0x102')]=_0x157601[_0x28bebc('0x102')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this['isConfigured'](_0x157601['apiKey']))return this['channel'][_0x28bebc('0x76')]('no\x20apiKey\x20configured');if(!this['isConfigured'](_0x157601['text']))return this['channel'][_0x28bebc('0x76')](_0x28bebc('0x150'));this[_0x28bebc('0xd3')]['noop'](util['format']('Trying\x20Google\x20Cloud\x20TTS\x20%s',_0x157601[_0x28bebc('0x102')]));const _0x2cbbb4=this[_0x28bebc('0xd5')]['sync'](this,_0x157601);if(_0x2cbbb4){this['channel']['noop'](util['format'](_0x28bebc('0x6f'),_0x2cbbb4));const _0x28414c=this[_0x28bebc('0xd3')][_0x28bebc('0x176')](_0x2cbbb4);try{fs[_0x28bebc('0x13c')](_0x2cbbb4+_0x28bebc('0x1a'));}catch(_0x124d25){logger['error'](_0x124d25);}return _0x28414c;}return this[_0x28bebc('0xd3')][_0x28bebc('0x67')](_0x157601,_0x28bebc('0x19'));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x17f')]=function(_0x304a0c){const _0x216cfa=_0x361a0f;logger[_0x216cfa('0xc3')](util[_0x216cfa('0x1e')](_0x216cfa('0xe0'),_0x304a0c[_0x216cfa('0xa5')])),_0x304a0c[_0x216cfa('0x102')]=_0x304a0c[_0x216cfa('0x102')][_0x216cfa('0x9c')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x216cfa('0xed')](_0x304a0c[_0x216cfa('0x102')]))return this[_0x216cfa('0xd3')]['noop']('no\x20text\x20configured');this[_0x216cfa('0xd3')][_0x216cfa('0x76')](util[_0x216cfa('0x1e')](_0x216cfa('0x10d'),_0x304a0c[_0x216cfa('0x102')]));const _0x1888b3=this[_0x216cfa('0x1ae')][_0x216cfa('0x118')](this,_0x304a0c);if(_0x1888b3){this['channel'][_0x216cfa('0x76')](util['format']('Google\x20TTS\x20%s\x20file\x20created',_0x1888b3));const _0xa1dd0c=this[_0x216cfa('0xd3')]['streamFile'](_0x1888b3);try{fs[_0x216cfa('0x13c')](_0x1888b3+_0x216cfa('0x1a'));}catch(_0x4be619){logger[_0x216cfa('0x67')](_0x4be619);}return _0xa1dd0c;}return this[_0x216cfa('0xd3')][_0x216cfa('0x67')](_0x304a0c,_0x216cfa('0x5c'));},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x157')]=function(_0x15376f){const _0x2f3325=_0x361a0f;logger[_0x2f3325('0xc3')](util[_0x2f3325('0x1e')](_0x2f3325('0xc7'),_0x15376f[_0x2f3325('0xa5')]));if(!this[_0x2f3325('0xed')](_0x15376f[_0x2f3325('0x146')]))return this[_0x2f3325('0xd3')][_0x2f3325('0x67')](_0x15376f,_0x2f3325('0x28'));logger[_0x2f3325('0xc3')](util['format'](_0x2f3325('0xeb'),this[_0x2f3325('0xd3')][_0x2f3325('0x156')],_0x15376f[_0x2f3325('0x146')]));const _0x49e0f4=this[_0x2f3325('0xf')]['sync'](this,_0x15376f[_0x2f3325('0x146')]);return _0x49e0f4?(logger['info'](util[_0x2f3325('0x1e')](_0x2f3325('0x130'),this[_0x2f3325('0xd3')][_0x2f3325('0x156')],_0x15376f[_0x2f3325('0x146')])),this[_0x2f3325('0xd3')][_0x2f3325('0x76')](util[_0x2f3325('0x1e')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x2f3325('0x156')],_0x15376f[_0x2f3325('0x146')])),{'code':0xc8,'result':_0x2f3325('0x11e')}):(logger[_0x2f3325('0xc3')](util[_0x2f3325('0x1e')](_0x2f3325('0xc0'),this['channel'][_0x2f3325('0x156')],_0x15376f[_0x2f3325('0x146')])),this[_0x2f3325('0xd3')][_0x2f3325('0x76')](util['format'](_0x2f3325('0xc0'),this[_0x2f3325('0xd3')][_0x2f3325('0x156')],_0x15376f[_0x2f3325('0x146')])),{'code':0xc8,'result':_0x2f3325('0x180')});},AGIVertices[_0x361a0f('0xff')][_0x361a0f('0x110')]=function(_0x294844){const _0xf2876a=_0x361a0f;logger[_0xf2876a('0xc3')](util[_0xf2876a('0x1e')](_0xf2876a('0x20'),_0x294844[_0xf2876a('0xa5')]));const _0x49f859=this[_0xf2876a('0xd3')][_0xf2876a('0x182')](_0xf2876a('0x97'),[_0x294844[_0xf2876a('0xbb')],_0x294844['options']]);if(_0x49f859[_0xf2876a('0x12')]===-0x1)return _0x49f859;return this[_0xf2876a('0xd3')]['noop'](util[_0xf2876a('0x1e')]('Executed\x20command\x20%s\x20%s',_0xf2876a('0x97'),_0x294844[_0xf2876a('0xbb')]));},AGIVertices['prototype'][_0x361a0f('0x138')]=function(_0x5b117f){const _0x377e6d=_0x361a0f;logger[_0x377e6d('0xc3')](util[_0x377e6d('0x1e')]('Enter\x20in\x20SWITCH\x20(%s)\x20block',_0x5b117f[_0x377e6d('0xa5')]));if(!this[_0x377e6d('0xed')](_0x5b117f[_0x377e6d('0x14c')]))return this['channel'][_0x377e6d('0x67')](_0x5b117f,_0x377e6d('0x112'));const _0x5f5288=this[_0x377e6d('0x1b1')][_0x377e6d('0x118')](this,_0x5b117f[_0x377e6d('0x14c')]);if(!_0x5f5288)return this[_0x377e6d('0xd3')][_0x377e6d('0x67')](_0x5b117f,_0x377e6d('0x32'));const _0x4d72c1=this[_0x377e6d('0xd3')][_0x377e6d('0x1b1')](_0x5f5288);return{'code':0xc8,'result':_0x4d72c1[_0x377e6d('0x141')]?_0x4d72c1['extra']:'-'};},String['prototype'][_0x361a0f('0x59')]=function(_0x14d489,_0x29f3b6){const _0x3c57ef=_0x361a0f;return this[_0x3c57ef('0x64')](_0x14d489)['join'](_0x29f3b6);},module[_0x361a0f('0x79')]=AGIVertices;
\ No newline at end of file
+const a1048_0x2832=['save_name','split','PLAYBACK','internal','sms_account_id','interval_id','google\x20%s\x20file\x20created','username','Enter\x20in\x20SET\x20(%s)\x20block','MRCP_RECOG_INSTANCE','127.0.0.1','channel','Amazon\x20Lex\x20is\x20unreachable','lumenvoxtts','no\x20list\x20selected','no\x20project_id\x20configured','result','getSoundPath','variable_value','Google\x20Cloud\x20TTS\x20is\x20unreachable','%s/%s@from-sip/n','isArray','map','en-US','text','model','bot','no\x20apiKey\x20configured','START\x20CALLY\x20SQUARE','answer','appid','MRCP_RECOG_CONFIDENCE','Enter\x20in\x20RECORD\x20(%s)\x20block','Error\x20getting\x20ODBC\x20connection\x20%s','getUserById','playback','createSmsMessage','undefined','ISPEECH_ASR_%s','no\x20appsecret\x20configured','Enter\x20in\x20CALLBACK\x20(%s)\x20block','rpc','extra','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','password','dialogflowV2_project_id','sh\x20command:\x20%s\x20result\x20no\x20stored','toString','Enter\x20in\x20GOAL\x20(%s)\x20block','sendMailMessage','variable_id','getTrunkById','ext_dial','no\x20private_key\x20configured','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','getSmsAccountById','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','indexOf','args','intKey','no\x20intervals\x20found','Enter\x20in\x20MATH\x20(%s)\x20block','unpause','Error\x20closing\x20connection\x20to\x20odbc\x20%s','sesteknda','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','getMailAccount','trunk_name','secure','hiddendigitspos','Sestek\x20NDA\x20%s\x20file\x20created','no\x20variable\x20selected','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','continueAt','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','GOAL\x20%s','sayphonetic','Recording\x20%s\x20%s\x20%s\x20%s','%s_STATUS_MESSAGE','service','googleasr','FIND\x20AGENT\x20%s\x20BY\x20%s','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','rawBody','%s_STATUS_CODE','Trying\x20SendMail\x20with\x20account\x20%s','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','%s/recordings/%s.%s','hiddendigitsnum','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','scheduledAt','replaceAll','opts','extension','IFTIME\x20%s\x20%s','../../config/environment','retry','escape_digits','no\x20queue\x20selected','login','out','tildeASR','AWS_LEX_%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','getSquareProject','goalname','aws_access_key_id','getdigits','host','user','phone','dsn','forEach','number','uniqueid','no\x20file\x20audio\x20found','aws_text_type','replaceAllVariables','agentLogout','Response:','system','Amazon\x20Lex\x20Result\x20%s','appsecret','dialogflowV2_language','agi','join','no\x20queue\x20found','sendMail','project_id','error','private_key','debug','toLowerCase','%s[%s][%s]','sendSMS\x20message','condition','getMailAccountById','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','yes','recordFile','Enter\x20in\x20AGI\x20(%s)\x20block','google_asr_language','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','getPause','math','list_id','format','Enter\x20in\x20MENU\x20(%s)\x20block','getVariable','IntervalId','method','Enter\x20in\x20ANSWER\x20(%s)\x20block','getSquareOdbc','TILDE_ASR_%s','aws_secret_access_key','getSoundById','unlink','record','getVoiceQueueById','macro','message','randomstring','getTrunk','name','ispeechtts','SIP/%s/%s','no\x20mail\x20account\x20found','Enter\x20in\x20SWITCH\x20(%s)\x20block','%s_ROWS_COUNT','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','MP3','DIAL','true','database','callback','awslex','callback_priority','file_id','LOCAL','command','false','includes','Answer','recordingFormat','getVariableById','sestektts','beep','%s.%s','MRCPRecog','ssmlGender','no\x20file\x20audio\x20selected','\x22%s\x22\x20<%s>','interval','catch','no\x20subproject\x20selected','getData','DialogflowV2\x20Result\x20%s','../../config/logger','sayNumber','statusCode','computedVariables','no\x20find\x20by\x20configured','inspect','restAPI','query:\x20%s','setVariable','ispeech\x20%s\x20file\x20created','prototype','gosub','substr','ispeech_tts_language','odbc','EVAL\x20CONDITION\x20%s\x20%s','getIntervals','no\x20variable\x20selected\x20for\x20the\x20response','priority','lodash','Query\x20executed\x20correctly\x20%s','ispeechTTS','callerid','Enter\x20in\x20FINALLY\x20(%s)\x20block','streamFile','sayPhonetic','%s/recordings/%s','no\x20url\x20configured','clear','googleTTS','authentication','createSquareMessage','tts','then','getQueryOdbc','generate','Amazon\x20Lex\x20ready\x20for\x20fulfillment','RECOG_CONFIDENCE()','exports','GoogleASR\x20Result\x20%s','no\x20condition\x20configured','mrcprecog','googleDialogflowV2','ndassistant_url','response','.wav','success','open','Enter\x20in\x20QUEUE\x20(%s)\x20block','SestekNDA\x20is\x20unreachable','mailRpc','isString','replace','agentPause','isEmpty','providerResponse','queue_id','RECORDING_SAVENAME','no\x20valid\x20credentials\x20configured','no\x20user\x20found','maxdigit','sync','exec','port','accountcode','AGENT\x20%s\x20FOUND\x20BY','awspolly','menu','no\x20variable\x20selected\x20for\x20the\x20result','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','url','restapi','keys','aws_polly_region','./scripts','no\x20ndauth\x20url\x20configured','SESTEK_NDA_%s','render','output','key','shellCommand','saveRestApiResult','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','ispeechASR','lumenvoxasr','lastName','tildeasr','getSquareOdbcById','account_id','getSmsAccount','dialogflow_language','random','isPlainObject','awsPolly','Trying\x20DialogflowV2:\x20%s','headers','google_tts_language','dialogflowV2','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','agicommand','DIALOGFLOW_%s','getAndSetVariable','Enter\x20in\x20DIAL\x20(%s)\x20block','rawHeaders','variable\x20%s\x20set','no\x20key\x20configured','NOBEEP','queue','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','statusMessage','toUpperCase','body','Enter\x20in\x20NOOP\x20(%s)\x20block','RECOG_INSTANCE()','awsLex','hangup','createSquareRecording','bcc','googleCloudTTS','no\x20mail\x20account\x20configured','RECOG_INPUT()','google_cloud_tts_text_type','auth','Skipped\x20Answer','tilde\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','Executed\x20command\x20%s\x20%s','mindigit','label','no\x20trunk\x20selected','no\x20client_email\x20configured','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','QUEUE','pause_id','custom_app','createCmContact','pass','noop','audioEncoding','clone','AGENT\x20%s\x20NOT\x20FOUND\x20BY','SENDFAX\x20block\x20not\x20implemented','LUMENVOX_ASR_CONFIDENCE','grammar','Enter\x20in\x20LOGOUT\x20(%s)\x20block','getSound','no\x20interval\x20configured','odbc_id','replaceObjectAllVariables','googleASR','no\x20text\x20configured','isConfigured','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','Trying\x20Google\x20TTS\x20%s','sip_id','no\x20username\x20configured','ispeechasr','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','findBy','dialogflow','MRCPSynth','Executed\x20command\x20MRCPRecog\x20%s','/var/opt/motion2/server/files','ODBC\x20connection\x20successfully','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','gotoif','ispeech_asr_language','%s_%s','operation','options','mrcpsynth','SESTEK_ASR_INSTANCE','audiofile','end','speed','sendFax','aws_lex_region','Google\x20TTS\x20%s\x20file\x20created','Enter\x20in\x20START\x20(%s)\x20block','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','agentLogin','DialogflowV2\x20is\x20unreachable','SestekNDA\x20Result\x20%s','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','maxRetry','AGI','no\x20operation\x20configured','sendMail\x20message','Enter\x20in\x20PAUSE\x20(%s)\x20block','amazonlex','Google\x20TTS\x20is\x20unreachable','POST','gotoiftime','SESTEK_ASR_CONFIDENCE','getIntervalById','recursiveNodeIndex','trunk_id','Executed\x20command\x20%s','minutes','getSquareProjectById','failure','Enter\x20in\x20GOTOIF\x20(%s)\x20block','parse','Trying\x20Google\x20Cloud\x20TTS\x20%s','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','apiKey','speech','agent','length','TildeASR\x20Result\x20%s','position','ispeech\x20TTS\x20is\x20unreachable','first','test','getUser','wav','LUMENVOX_ASR_TRANSCRIPT','isNil','Enter\x20in\x20DATABASE\x20(%s)\x20block','stringify','Enter\x20in\x20RESTAPI\x20(%s)\x20block','application','query','arg_1','Enter\x20in\x20END\x20(%s)\x20block','sms_text','subproject','Smtp','agentUnpause','no\x20variable\x20found','IspeechASR\x20Result\x20%s','goal','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','finally','pause','Enter\x20in\x20LOGIN\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','Intervals','%s/sounds/converted/%s','createSquareDetailsReport','timeout','googleDialogflow','PUT','languageCode','Mail\x20message\x20added\x20to\x20outgoing\x20process','ndauth_url','Trying\x20ispeech\x20TTS\x20%s','VOICEMAIL','no\x20subproject\x20found\x20with\x20id\x20%d','SIP/%s','no\x20grammar\x20configured','Enter\x20in\x20SENDSMS\x20(%s)\x20block','Trying\x20Dialogflow:\x20%s','no\x20appid\x20configured','Error\x20executing\x20query\x20%s','info','uri','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','Trying\x20Amazon\x20Lex:\x20%s','sestekNDA','Executed\x20command\x20MRCPSynth\x20%s'];(function(_0x4f4cae,_0x283297){const _0x323e0d=function(_0x48cc7a){while(--_0x48cc7a){_0x4f4cae['push'](_0x4f4cae['shift']());}};_0x323e0d(++_0x283297);}(a1048_0x2832,0x1cb));const a1048_0x323e=function(_0x4f4cae,_0x283297){_0x4f4cae=_0x4f4cae-0x0;let _0x323e0d=a1048_0x2832[_0x4f4cae];return _0x323e0d;};const _0x470817=a1048_0x323e;'use strict';const fs=require('fs'),util=require('util'),_=require(_0x470817('0xdc')),sh=require('shelljs'),odbc=require(_0x470817('0xd7')),rs=require(_0x470817('0xa4')),moment=require('moment'),Mustache=require('mustache'),rp=require('request-promise-native'),logger=require(_0x470817('0xc9'))('agi'),config=require(_0x470817('0x61')),scripts=require(_0x470817('0x113')),FILES_PATH=_0x470817('0x16b'),recursiveMapAttributes=[_0x470817('0x130'),_0x470817('0x55')],verticesWithRetry=[_0x470817('0x10c'),'getdigits','getsecretdigits'],AGIVertices=function(_0x48cc7a,_0x4d9b3b,_0x54b459){const _0x3e0f86=_0x470817;this[_0x3e0f86('0xd')]=_0x48cc7a,this['rpc']=_0x4d9b3b,this[_0x3e0f86('0xfb')]=_0x54b459;};AGIVertices['prototype'][_0x470817('0x97')]=function(_0x3a5754,_0x5056f4){const _0x497c57=_0x470817;this[_0x497c57('0x2b')][_0x497c57('0xbc')](_0x3a5754)[_0x497c57('0xea')](function(_0x2c2214){const _0x3f9c6a=_0x497c57;_0x5056f4(null,_0x2c2214?_0x2c2214[_0x3f9c6a('0xa6')]:![]);})[_0x497c57('0xc5')](function(_0x3434ad){_0x5056f4(_0x3434ad);});},AGIVertices['prototype']['getVoiceQueue']=function(_0x4c580b,_0x3606ef){const _0x2f06f3=_0x470817;this[_0x2f06f3('0x2b')][_0x2f06f3('0xa1')](_0x4c580b)['then'](function(_0x23fbcb){const _0x518918=_0x2f06f3;_0x3606ef(null,_0x23fbcb?_0x23fbcb[_0x518918('0xa6')]:![]);})[_0x2f06f3('0xc5')](function(_0x1f71b9){_0x3606ef(_0x1f71b9);});},AGIVertices['prototype']['getSquareProject']=function(_0x3c5e63,_0x43458c){const _0x2f3ee6=_0x470817;this[_0x2f3ee6('0x2b')][_0x2f3ee6('0x190')](_0x3c5e63)['then'](function(_0x14e782){const _0x15ed05=_0x2f3ee6;_0x43458c(null,_0x14e782?_0x14e782[_0x15ed05('0xa6')]:![]);})[_0x2f3ee6('0xc5')](function(_0x454795){_0x43458c(_0x454795);});},AGIVertices['prototype'][_0x470817('0x9b')]=function(_0x3f52a4,_0x1509f5){const _0x12f08f=_0x470817;this[_0x12f08f('0x2b')][_0x12f08f('0x120')](_0x3f52a4)[_0x12f08f('0xea')](function(_0x55bd0e){const _0x40f31f=_0x12f08f;_0x1509f5(null,_0x55bd0e?_0x55bd0e[_0x40f31f('0x71')]:![]);})['catch'](function(_0x4b5566){_0x1509f5(_0x4b5566);});},AGIVertices['prototype'][_0x470817('0x19f')]=function(_0x1176a4,_0x3fff21){const _0x1dd2c1=_0x470817;this['rpc'][_0x1dd2c1('0x24')](_0x1176a4)[_0x1dd2c1('0xea')](function(_0x39a7ed){const _0x2b2720=_0x1dd2c1;_0x3fff21(null,_0x39a7ed?_0x39a7ed[_0x2b2720('0xa6')]:![]);})[_0x1dd2c1('0xc5')](function(_0x5cd8c1){_0x3fff21(_0x5cd8c1);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xa5')]=function(_0x58b23f,_0x3873d3){const _0x4a4551=_0x470817;this[_0x4a4551('0x2b')][_0x4a4551('0x35')](_0x58b23f)[_0x4a4551('0xea')](function(_0x58de5a){const _0x1fe480=_0x4a4551;_0x3873d3(null,_0x58de5a?_0x58de5a[_0x1fe480('0xa6')]:![]);})['catch'](function(_0x5f4515){_0x3873d3(_0x5f4515);});},AGIVertices[_0x470817('0xd3')]['getSound']=function(_0xeb5f2a,_0x317df8){const _0x5f4dda=_0x470817,_0x23e8ef=this;this[_0x5f4dda('0x2b')][_0x5f4dda('0x9e')](_0xeb5f2a)[_0x5f4dda('0xea')](function(_0x3b9eb6){const _0x2ad3ee=_0x5f4dda;_0x317df8(null,_0x3b9eb6?_0x23e8ef[_0x2ad3ee('0x13')](_0x3b9eb6[_0x2ad3ee('0x2')]):![]);})[_0x5f4dda('0xc5')](function(_0x81a60e){_0x317df8(_0x81a60e);});},AGIVertices['prototype'][_0x470817('0x44')]=function(_0xb793c2,_0x879f25){const _0x65e39=_0x470817;this[_0x65e39('0x2b')][_0x65e39('0x8a')](_0xb793c2)[_0x65e39('0xea')](function(_0x1d87bc){_0x879f25(null,_0x1d87bc?_0x1d87bc:![]);})[_0x65e39('0xc5')](function(_0x35e406){_0x879f25(_0x35e406);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x33')]=function(_0x44a09d,_0xb2d33d,_0x103661){const _0x34d532=_0x470817;this['mailRpc'][_0x34d532('0x33')](_0x44a09d,_0xb2d33d)['then'](function(){_0x103661(null);})[_0x34d532('0xc5')](function(_0x1b4b81){_0x103661(_0x1b4b81);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xd9')]=function(_0x40c76c,_0x277241){const _0x54f99b=_0x470817;this[_0x54f99b('0x2b')][_0x54f99b('0x18b')](_0x40c76c)['then'](function(_0x564699){const _0x3d2380=_0x54f99b;_0x564699?_0x564699[_0x3d2380('0x98')]?_0x277241(null,[_0x564699['interval']]):_0x277241(null,_[_0x3d2380('0x18')](_0x564699[_0x3d2380('0x1b7')],_0x3d2380('0xc4'))):_0x277241(null,![]);})[_0x54f99b('0xc5')](function(_0x3b08f0){_0x277241(_0x3b08f0);});},AGIVertices[_0x470817('0xd3')]['getSoundPath']=function(_0x133c77){const _0xd6209a=_0x470817;return util['format'](_0xd6209a('0x1b8'),FILES_PATH,_0x133c77);},AGIVertices['prototype'][_0x470817('0xeb')]=function(_0x640628,_0x1230d9,_0x14cd91){const _0x310d19=_0x470817;odbc[_0x310d19('0xf8')](_0x640628,function(_0xfcb3d0){const _0x40d9cb=_0x310d19;_0xfcb3d0?(logger['error'](_0x40d9cb('0x23'),_0xfcb3d0),_0x14cd91(_0xfcb3d0)):(logger[_0x40d9cb('0x1c9')](_0x40d9cb('0x16c')),odbc['query'](_0x1230d9,function(_0x31e28d,_0x4503c3){const _0x32eee7=_0x40d9cb;_0x31e28d?(logger[_0x32eee7('0x1c9')](_0x32eee7('0x1c8'),_0x1230d9),_0x14cd91(_0x31e28d)):(logger[_0x32eee7('0x1c9')](_0x32eee7('0xdd'),_0x1230d9),odbc['close'](function(_0x1e17a1){const _0x511eb2=_0x32eee7;_0x1e17a1&&logger['error'](_0x511eb2('0x41'),_0x1e17a1),_0x14cd91(null,_0x4503c3);}));}));});},AGIVertices[_0x470817('0xd3')]['getSmsAccount']=function(_0x196b20,_0x61c401){const _0x4fbd8e=_0x470817;this[_0x4fbd8e('0x2b')][_0x4fbd8e('0x39')](_0x196b20)['then'](function(_0x52d5d0){_0x61c401(null,_0x52d5d0?_0x52d5d0:![]);})[_0x4fbd8e('0xc5')](function(_0x25b79e){_0x61c401(_0x25b79e);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x26')]=function(_0x13613d,_0x19856f){const _0x313e8e=_0x470817;this[_0x313e8e('0x2b')]['createSmsMessage'](_0x13613d)['then'](function(_0x32cc8b){_0x19856f(null,_0x32cc8b);})[_0x313e8e('0xc5')](function(_0x494c82){_0x19856f(_0x494c82);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x1b9')]=function(_0x4a279a,_0x57cdde,_0x403679){const _0x317309=_0x470817;this['rpc'][_0x317309('0x1b9')]({'uniqueid':this[_0x317309('0xd')]['uniqueid'],'node':_0x4a279a[_0x317309('0x149')],'application':_0x4a279a['agicommand'],'data':_0x57cdde||null,'project_name':this[_0x317309('0xd')][_0x317309('0x1a8')],'callerid':this[_0x317309('0xd')][_0x317309('0xdf')]})['then'](function(_0x5dcdc2){_0x403679&&_0x403679(null,_0x5dcdc2);})[_0x317309('0xc5')](function(_0x16b068){_0x403679&&_0x403679(_0x16b068);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x13d')]=function(_0x24bdaf,_0x107f5a,_0x4c9ae6,_0x1dbf14){const _0x699244=_0x470817;this[_0x699244('0x2b')][_0x699244('0x13d')]({'uniqueid':this[_0x699244('0xd')][_0x699244('0x74')],'callerid':this[_0x699244('0xd')][_0x699244('0xdf')],'calleridname':this[_0x699244('0xd')]['calleridname'],'context':this['channel']['context'],'extension':this[_0x699244('0xd')][_0x699244('0x5f')],'priority':this[_0x699244('0xd')]['priority'],'accountcode':this[_0x699244('0xd')][_0x699244('0x109')],'dnid':this['channel']['dnid'],'projectName':this[_0x699244('0xd')][_0x699244('0x1a8')],'saveName':_0x107f5a,'filename':_0x24bdaf['file']||_0x107f5a,'savePath':_0x4c9ae6})[_0x699244('0xea')](function(_0xbcf8ef){_0x1dbf14(null,_0xbcf8ef);})[_0x699244('0xc5')](function(_0x3e66ad){_0x1dbf14(_0x3e66ad);});},AGIVertices['prototype'][_0x470817('0xe8')]=function(_0x3eaa17,_0x1796d8,_0x24ba1e,_0x4ead72,_0x3d1324){const _0x4c4155=_0x470817;this['rpc'][_0x4c4155('0xe8')]({'uniqueid':this[_0x4c4155('0xd')][_0x4c4155('0x74')],'body':_0x3eaa17,'direction':_0x1796d8,'providerName':_0x24ba1e,'providerResponse':_0x4ead72})[_0x4c4155('0xea')](function(_0x132de5){_0x3d1324&&_0x3d1324(null,_0x132de5);})[_0x4c4155('0xc5')](function(_0x37e401){_0x3d1324&&_0x3d1324(_0x37e401);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x150')]=function(_0x1bca8f,_0x3ba437){const _0x33cf4a=_0x470817;this[_0x33cf4a('0x2b')][_0x33cf4a('0x150')]({'firstName':_[_0x33cf4a('0xff')](_0x1bca8f[_0x33cf4a('0xa6')])||_[_0x33cf4a('0x1a2')](_0x1bca8f[_0x33cf4a('0xa6')])?'callback_'+Math[_0x33cf4a('0x124')]():_0x1bca8f[_0x33cf4a('0xa6')],'lastName':_[_0x33cf4a('0xff')](_0x1bca8f['lastName'])||_[_0x33cf4a('0x1a2')](_0x1bca8f[_0x33cf4a('0x11e')])?null:_0x1bca8f[_0x33cf4a('0x11e')],'phone':_0x1bca8f[_0x33cf4a('0x70')],'ListId':_0x1bca8f[_0x33cf4a('0x94')],'scheduledat':_0x1bca8f[_0x33cf4a('0x5c')],'callbackUniqueid':this[_0x33cf4a('0xd')][_0x33cf4a('0x74')],'tags':_0x33cf4a('0xb2'),'description':'Callback\x20scheduled\x20at\x20'+_0x1bca8f[_0x33cf4a('0x5c')][_0x33cf4a('0x31')](),'priority':_0x1bca8f[_0x33cf4a('0xb4')]})[_0x33cf4a('0xea')](function(_0x30680c){_0x3ba437(null,_0x30680c);})[_0x33cf4a('0xc5')](function(_0x159a8f){_0x3ba437(_0x159a8f);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x92')]=function(_0x466102,_0xcba61d){const _0x1a2eb3=_0x470817;this['rpc']['getPauseById'](_0x466102)[_0x1a2eb3('0xea')](function(_0x2960c1){const _0x3f1947=_0x1a2eb3;_0xcba61d(null,_0x2960c1?_0x2960c1[_0x3f1947('0xa6')]:![]);})['catch'](function(_0x327bf3){_0xcba61d(_0x327bf3);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xfe')]=function(_0x4bb781,_0x54e792,_0x34df63){const _0x3ff149=_0x470817,_0x31d766={'role':_0x3ff149('0x198')};_0x31d766[_0x4bb781]=this[_0x3ff149('0xd')][_0x3ff149('0xdf')],this[_0x3ff149('0x2b')]['agentPause'](_0x31d766,_0x54e792,this[_0x3ff149('0xd')][_0x3ff149('0x74')])[_0x3ff149('0xea')](function(_0x1c285b){const _0x458168=_0x3ff149;_0x34df63(null,_[_0x458168('0x1a2')](_0x1c285b)?![]:!![]);})[_0x3ff149('0xc5')](function(_0x616174){const _0x4cf8bf=_0x3ff149;logger[_0x4cf8bf('0x83')](_0x616174),_0x34df63(null,![]);});},AGIVertices['prototype'][_0x470817('0x1ad')]=function(_0x346ae7,_0x18300d){const _0x405dc2=_0x470817,_0x40b300={'role':'agent'};_0x40b300[_0x346ae7]=this[_0x405dc2('0xd')][_0x405dc2('0xdf')],this[_0x405dc2('0x2b')][_0x405dc2('0x1ad')](_0x40b300)[_0x405dc2('0xea')](function(_0x40ee79){const _0x346911=_0x405dc2;_0x18300d(null,_[_0x346911('0x1a2')](_0x40ee79)?![]:!![]);})[_0x405dc2('0xc5')](function(_0x2b411c){const _0x421d5a=_0x405dc2;logger[_0x421d5a('0x83')](_0x2b411c),_0x18300d(null,![]);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x78')]=function(_0x697e3,_0x32cbb8){const _0x30deeb=_0x470817,_0x232650={'role':'agent'};_0x232650[_0x697e3]=this[_0x30deeb('0xd')]['callerid'],this['rpc'][_0x30deeb('0x78')](_0x232650)['then'](function(_0x15f2f8){_0x32cbb8(null,_['isNil'](_0x15f2f8)?![]:!![]);})[_0x30deeb('0xc5')](function(_0xc3558){const _0x40826b=_0x30deeb;logger[_0x40826b('0x83')](_0xc3558),_0x32cbb8(null,![]);});},AGIVertices['prototype'][_0x470817('0x17d')]=function(_0x3633bf,_0x45060f){const _0x5b92fa=_0x470817,_0x4bae49={'role':_0x5b92fa('0x198')};_0x4bae49[_0x3633bf]=this[_0x5b92fa('0xd')][_0x5b92fa('0xdf')];const _0x5b8579=_0x3633bf!=_0x5b92fa('0x5')?util[_0x5b92fa('0x95')](_0x5b92fa('0x16'),_0x5b92fa('0xb6'),this['channel'][_0x5b92fa('0xdf')]):undefined;this[_0x5b92fa('0x2b')][_0x5b92fa('0x17d')](_0x4bae49,_0x5b8579)[_0x5b92fa('0xea')](function(_0xe96a47){const _0xa8dbc0=_0x5b92fa;_0x45060f(null,_[_0xa8dbc0('0x1a2')](_0xe96a47)?![]:!![]);})[_0x5b92fa('0xc5')](function(_0x1a55e5){logger['error'](_0x1a55e5),_0x45060f(null,![]);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x119')]=function(_0x2063a7,_0xb3793b){const _0x518b65=_0x470817;sh[_0x518b65('0x107')](_['trim'](_0x2063a7),function(_0x3b1805,_0x8c5e3){const _0x1f8971=_0x518b65,_0x411895=_0x8c5e3[_0x1f8971('0xfd')](/(\r\n|\n|\r)/gm,'');_0xb3793b(null,_0x411895);});},AGIVertices['prototype']['googleCloudTTS']=function(_0x5b93ed,_0x43b960){const _0x568956=_0x470817;scripts[_0x568956('0x13f')](_0x5b93ed['apiKey'],_0x5b93ed[_0x568956('0x142')]||_0x568956('0x1a'),_0x5b93ed[_0x568956('0x1a')],_0x5b93ed[_0x568956('0x1bd')]||_0x568956('0x19'),_0x5b93ed[_0x568956('0xc1')]||'MALE',_0x5b93ed[_0x568956('0x153')]||_0x568956('0xae'))[_0x568956('0xea')](function(_0x4c0a3d){_0x43b960(null,_0x4c0a3d);})['catch'](function(_0x360a6b){_0x43b960(_0x360a6b);});},AGIVertices[_0x470817('0xd3')]['googleTTS']=function(_0x42f24a,_0x2edaae){const _0x5e7a3f=_0x470817;scripts[_0x5e7a3f('0xe6')](_0x42f24a[_0x5e7a3f('0x1a')],_0x42f24a[_0x5e7a3f('0x129')]||'en',0x1)[_0x5e7a3f('0xea')](function(_0x4ea302){_0x2edaae(null,_0x4ea302);})[_0x5e7a3f('0xc5')](function(_0x354895){_0x2edaae(_0x354895);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xcf')]=function(_0x312c82,_0x41be17){const _0x1781ce=_0x470817,_0x951658={'uri':_0x312c82['url'],'method':_0x312c82[_0x1781ce('0x99')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x312c82['timeout'])==='number'&&parseInt(_0x312c82['timeout'])>=0x1?parseInt(_0x312c82['timeout'])*0x3e8:0x5*0x3e8};if(_[_0x1781ce('0xb9')]([_0x1781ce('0x188'),_0x1781ce('0x1bc')],_0x951658[_0x1781ce('0x99')]['toUpperCase']()))try{_0x951658[_0x1781ce('0x138')]=_0x312c82[_0x1781ce('0x55')]?JSON['parse'](_0x312c82['rawBody']):{};}catch(_0xef5be3){logger[_0x1781ce('0x83')]('An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function',_0xef5be3);}try{_0x951658[_0x1781ce('0x128')]=_0x312c82[_0x1781ce('0x130')]?JSON[_0x1781ce('0x193')](_0x312c82[_0x1781ce('0x130')]):{};}catch(_0x48b3c6){logger['error'](_0x1781ce('0x2d'),_0x48b3c6);}if(_0x312c82[_0x1781ce('0xcc')])try{const _0x11710e=require(_0x312c82[_0x1781ce('0xcc')])[_0x1781ce('0x106')](this,_0x951658);_0x951658[_0x1781ce('0x1ca')]=Mustache[_0x1781ce('0x116')](_0x312c82['url'],_0x11710e,{},['$$','$$']),_0x951658[_0x1781ce('0x128')]&&(_0x951658[_0x1781ce('0x128')]=JSON[_0x1781ce('0x193')](Mustache[_0x1781ce('0x116')](JSON[_0x1781ce('0x1a4')](_0x951658[_0x1781ce('0x128')]),_0x11710e,{},['$$','$$']))),_0x951658['body']&&(_0x951658[_0x1781ce('0x138')]=JSON[_0x1781ce('0x193')](Mustache[_0x1781ce('0x116')](JSON[_0x1781ce('0x1a4')](_0x951658[_0x1781ce('0x138')]),_0x11710e,{},['$$','$$'])));}catch(_0x5b443f){logger[_0x1781ce('0x83')](_0x1781ce('0x16d'),_0x5b443f);}rp(_0x951658)[_0x1781ce('0xea')](function(_0xe2254e){const _0x59fffc=_0x1781ce,_0x456c22={'statusCode':_0xe2254e['statusCode']||0xc8,'statusMessage':_0xe2254e[_0x59fffc('0x136')]||'OK','headers':_0xe2254e['headers']||{},'body':_0xe2254e['body']||{}};_0x41be17(null,_0x456c22);})[_0x1781ce('0xc5')](function(_0x5eb509){const _0x5e566c=_0x1781ce,_0x23858c={'statusCode':_0x5eb509[_0x5e566c('0xcb')]||0x1f4,'statusMessage':_0x5eb509['message']||'500\x20-\x20Internal\x20Server\x20Error','headers':_0x5eb509[_0x5e566c('0x172')][_0x5e566c('0x128')]||{},'body':_0x5eb509[_0x5e566c('0x172')][_0x5e566c('0x138')]||{}};_0x41be17(null,_0x23858c);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x1bb')]=function(_0x208715,_0x16750f){const _0x5358ab=_0x470817;scripts['googleDialogflow'](this[_0x5358ab('0xd')][_0x5358ab('0x74')],_0x208715[_0x5358ab('0x118')],_0x208715[_0x5358ab('0x1a')],_0x208715[_0x5358ab('0x123')]||'en')[_0x5358ab('0xea')](function(_0x20d89b){_0x16750f(null,_0x20d89b);})['catch'](function(_0x565506){_0x16750f(_0x565506);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xf3')]=function(_0x53a258,_0x1713cb){const _0x4be0fb=_0x470817;scripts['googleDialogflowV2'](this[_0x4be0fb('0xd')][_0x4be0fb('0x74')],_0x53a258[_0x4be0fb('0x2f')],_0x53a258['client_email'],_0x53a258[_0x4be0fb('0x84')],_0x53a258[_0x4be0fb('0x1a')],_0x53a258[_0x4be0fb('0x7d')]||'en')['then'](function(_0x52c5dc){_0x1713cb(null,_0x52c5dc);})['catch'](function(_0x1bab76){_0x1713cb(_0x1bab76);});},AGIVertices[_0x470817('0xd3')]['sestekNDA']=function(_0x4012eb,_0x54f436){const _0x15c4c6=_0x470817;scripts[_0x15c4c6('0x0')](this[_0x15c4c6('0xd')],_0x4012eb)['then'](function(_0x558bf1){_0x54f436(null,_0x558bf1);})[_0x15c4c6('0xc5')](function(_0x17421c){_0x54f436(_0x17421c);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xde')]=function(_0xeda1fb,_0x4dabef){const _0xf5f463=_0x470817;scripts[_0xf5f463('0xde')](_0xeda1fb['key'],_0xeda1fb['text'],_0xeda1fb[_0xf5f463('0xd6')]||_0xf5f463('0x19'),_0xeda1fb[_0xf5f463('0x177')])[_0xf5f463('0xea')](function(_0x420560){_0x4dabef(null,_0x420560);})[_0xf5f463('0xc5')](function(_0x300e52){_0x4dabef(_0x300e52);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x11c')]=function(_0x64561f,_0x4a3fee,_0x246ab7){const _0x3303ef=_0x470817;scripts[_0x3303ef('0x11c')](_0x4a3fee,_0x64561f[_0x3303ef('0x118')],_0x64561f[_0x3303ef('0x16f')]||_0x3303ef('0x19'),this[_0x3303ef('0x160')](_0x64561f['model'])?_0x64561f[_0x3303ef('0x1b')]:undefined)[_0x3303ef('0xea')](function(_0x1d2c66){_0x246ab7(null,_0x1d2c66);})[_0x3303ef('0xc5')](function(_0x2bba1b){_0x246ab7(_0x2bba1b);});},AGIVertices[_0x470817('0xd3')]['awsPolly']=function(_0x541dcd,_0x38e340){const _0x43a964=_0x470817;scripts[_0x43a964('0x126')](_0x541dcd['aws_access_key_id'],_0x541dcd[_0x43a964('0x9d')],_0x541dcd[_0x43a964('0x112')],_0x541dcd['aws_polly_voice']||'Amy',_0x541dcd[_0x43a964('0x1a')],_0x541dcd[_0x43a964('0x76')]||_0x43a964('0x1a'))[_0x43a964('0xea')](function(_0x2f1c1){_0x38e340(null,_0x2f1c1);})[_0x43a964('0xc5')](function(_0x280725){_0x38e340(_0x280725);});},AGIVertices[_0x470817('0xd3')][_0x470817('0x13b')]=function(_0x112058,_0x110121){const _0x14627c=_0x470817;scripts[_0x14627c('0x13b')](this[_0x14627c('0xd')][_0x14627c('0x74')],_0x112058[_0x14627c('0x6c')],_0x112058[_0x14627c('0x9d')],_0x112058[_0x14627c('0x179')],_0x112058[_0x14627c('0x1a')],_0x112058['aws_bot_name'])['then'](function(_0x42505b){_0x110121(null,_0x42505b);})[_0x14627c('0xc5')](function(_0x5bdbc0){_0x110121(_0x5bdbc0);});},AGIVertices[_0x470817('0xd3')]['googleASR']=function(_0x3a8fbe,_0x145ec5,_0x42d68e){const _0x3f8d03=_0x470817;scripts[_0x3f8d03('0x15e')](_0x145ec5,_0x3a8fbe[_0x3f8d03('0x118')],_0x3a8fbe[_0x3f8d03('0x8f')]||_0x3f8d03('0x19'))[_0x3f8d03('0xea')](function(_0x199a4c){_0x42d68e(null,_0x199a4c);})[_0x3f8d03('0xc5')](function(_0x4d973d){_0x42d68e(_0x4d973d);});},AGIVertices[_0x470817('0xd3')]['tildeASR']=function(_0x45a3a6,_0xc54f01,_0x763034){const _0x4a51a8=_0x470817;scripts[_0x4a51a8('0x67')](_0xc54f01,_0x45a3a6[_0x4a51a8('0x20')],_0x45a3a6[_0x4a51a8('0x7c')],_0x45a3a6[_0x4a51a8('0x1ca')])[_0x4a51a8('0xea')](function(_0x592844){_0x763034(null,_0x592844);})[_0x4a51a8('0xc5')](function(_0x4300d0){_0x763034(_0x4300d0);});},AGIVertices[_0x470817('0xd3')][_0x470817('0xe5')]=function(_0x3ae619){const _0xf530d5=_0x470817,_0x541141=_[_0xf530d5('0xb9')](verticesWithRetry,_0x3ae619[_0xf530d5('0x12c')])?_0x3ae619:_[_0xf530d5('0x154')](_0x3ae619);for(const _0x45134f in _0x541141){typeof _0x541141[_0x45134f]!==_0xf530d5('0x27')&&(_0x541141[_0x45134f]&&_['isString'](_0x541141[_0x45134f])&&(_[_0xf530d5('0xb9')](recursiveMapAttributes,_0x45134f)?_0x541141[_0x45134f]=this['replaceObjectAllVariables'](_0x541141[_0x45134f]):_0x541141[_0x45134f]=this['replaceAllVariables'](_0x541141[_0x45134f])));}return _0x541141;},AGIVertices[_0x470817('0xd3')][_0x470817('0x18c')]=function(_0x1d23f6){const _0x46a422=_0x470817;for(const _0x469daa in _0x1d23f6){if(typeof _0x1d23f6[_0x469daa]!=='undefined'){if(_[_0x46a422('0x125')](_0x1d23f6[_0x469daa]))this[_0x46a422('0x18c')](_0x1d23f6[_0x469daa]);else{if(_[_0x46a422('0x17')](_0x1d23f6[_0x469daa]))for(let _0x478906=0x0;_0x478906<_0x1d23f6[_0x469daa][_0x46a422('0x199')];_0x478906++){this[_0x46a422('0x18c')](_0x1d23f6[_0x469daa][_0x478906]);}else _[_0x46a422('0xfc')](_0x1d23f6[_0x469daa])&&(_0x1d23f6[_0x469daa]=this[_0x46a422('0x77')](_0x1d23f6[_0x469daa]));}}}},AGIVertices['prototype'][_0x470817('0x11a')]=function(_0x203fbb,_0x2d765f){const _0x436d8b=_0x470817;for(const _0x213f11 in _0x203fbb){if(typeof _0x203fbb[_0x213f11]!==_0x436d8b('0x27')){if(_['isPlainObject'](_0x203fbb[_0x213f11]))!_['isEmpty'](_0x203fbb[_0x213f11])&&this[_0x436d8b('0x11a')](_0x203fbb[_0x213f11],util[_0x436d8b('0x95')](_0x436d8b('0xbf'),_0x2d765f,_0x213f11));else{if(_[_0x436d8b('0x17')](_0x203fbb[_0x213f11]))for(let _0x697e45=0x0;_0x697e45<_0x203fbb[_0x213f11]['length'];_0x697e45++){this[_0x436d8b('0x11a')](_0x203fbb[_0x213f11][_0x697e45],util[_0x436d8b('0x95')](_0x436d8b('0xbf'),_0x2d765f,_0x213f11+'['+_0x697e45+']'));}else!_[_0x436d8b('0x1a2')](_0x203fbb[_0x213f11])&&this[_0x436d8b('0xd')]['setVariable'](util[_0x436d8b('0x95')]('%s.%s',_0x2d765f,_0x213f11),_0x203fbb[_0x213f11]);}}}},AGIVertices[_0x470817('0xd3')][_0x470817('0x15d')]=function(_0x2ee608){const _0x1332f0=_0x470817;try{const _0x2a6650=JSON['parse'](_0x2ee608);return this[_0x1332f0('0x18c')](_0x2a6650),JSON[_0x1332f0('0x1a4')](_0x2a6650);}catch(_0x1234ad){return this['replaceAllVariables'](_0x2ee608);}},AGIVertices[_0x470817('0xd3')]['replaceAllVariables']=function(_0x14dd93){const _0x3834ec=_0x470817,_0x5ce897=_0x14dd93['split']('{');for(let _0x4ae3f7=0x1;_0x4ae3f7<_0x5ce897[_0x3834ec('0x199')];_0x4ae3f7+=0x1){const _0x3f8942=_0x5ce897[_0x4ae3f7][_0x3834ec('0x3')]('}');_0x3f8942['length']>0x1&&(_0x14dd93=_0x14dd93['replaceAll']('{'+_0x3f8942[0x0]+'}',this[_0x3834ec('0xd')][_0x3834ec('0x97')](_0x3f8942[0x0])[_0x3834ec('0x2c')]||_0x3f8942[0x0]));}if(_0x5ce897[_0x3834ec('0x199')]===0x1)return _0x14dd93[_0x3834ec('0x31')]();return this[_0x3834ec('0x77')](_0x14dd93);},AGIVertices[_0x470817('0xd3')][_0x470817('0x12e')]=function(_0x177d90,_0x350dfd){const _0x136d86=_0x470817,_0x8dd0e6=this[_0x136d86('0xd')][_0x136d86('0x97')](_0x177d90);if(_0x8dd0e6[_0x136d86('0x12')]===-0x1)return _0x8dd0e6;return logger[_0x136d86('0x1c9')](util[_0x136d86('0x95')](_0x136d86('0x58'),_0x350dfd,_0x8dd0e6['extra'])),this[_0x136d86('0xd')][_0x136d86('0xd1')](_0x350dfd,_0x8dd0e6[_0x136d86('0x2c')]);},AGIVertices['prototype'][_0x470817('0x160')]=function(_0x16ac47){return _0x16ac47&&_0x16ac47!=='0'&&_0x16ac47!=='-1'&&_0x16ac47!=='';},AGIVertices[_0x470817('0xd3')]['maxRetry']=function(_0x41c9ee){const _0x92772=_0x470817;return this[_0x92772('0x1b9')][_0x92772('0x106')](this,_0x41c9ee,'-'),_0x41c9ee[_0x92772('0x62')]=_0x41c9ee[_0x92772('0x181')],{'code':0xc8,'result':'-'};},AGIVertices['prototype'][_0x470817('0x173')]=function(_0x4d4148){const _0x485cb4=_0x470817;logger[_0x485cb4('0x1c9')](util[_0x485cb4('0x95')](_0x485cb4('0x11b'),_0x4d4148[_0x485cb4('0x149')]));if(!this[_0x485cb4('0x160')](_0x4d4148['text']))return this[_0x485cb4('0xd')]['noop'](_0x485cb4('0x15f'));let _0x33251f='\x22'+_0x4d4148['text']+'\x22';this[_0x485cb4('0x160')](_0x4d4148['options'])&&(_0x33251f+=','+_0x4d4148[_0x485cb4('0x172')]);const _0x10a824=this[_0x485cb4('0xd')]['exec'](_0x485cb4('0x169'),_0x33251f);if(_0x10a824[_0x485cb4('0x12')]===-0x1)return _0x10a824;return this[_0x485cb4('0xd')]['noop'](util[_0x485cb4('0x95')](_0x485cb4('0x1'),_0x33251f));},AGIVertices[_0x470817('0xd3')][_0x470817('0xf2')]=function(_0x2daabb){const _0xc9525a=_0x470817;logger[_0xc9525a('0x1c9')](util[_0xc9525a('0x95')](_0xc9525a('0xac'),_0x2daabb[_0xc9525a('0x149')]));if(!this['isConfigured'](_0x2daabb[_0xc9525a('0x158')]))return this[_0xc9525a('0xd')][_0xc9525a('0x152')](_0xc9525a('0x1c4'));let _0x1e7e82=_0x2daabb['grammar'];this['isConfigured'](_0x2daabb[_0xc9525a('0x172')])&&(_0x1e7e82+=','+_0x2daabb['options']);const _0x3eabbe=this[_0xc9525a('0xd')][_0xc9525a('0x107')](_0xc9525a('0xc0'),_0x1e7e82);if(_0x3eabbe[_0xc9525a('0x12')]===-0x1)return _0x3eabbe;const _0x522f39=this['getAndSetVariable'](_0xc9525a('0xee'),_0xc9525a('0x21'));if(_0x522f39[_0xc9525a('0x12')]===-0x1)return _0x522f39;const _0x1351a6=this[_0xc9525a('0x12e')](_0xc9525a('0x141'),'MRCP_RECOG_TRANSCRIPT');if(_0x1351a6[_0xc9525a('0x12')]===-0x1)return _0x1351a6;const _0x1e9e56=this[_0xc9525a('0x12e')](_0xc9525a('0x13a'),_0xc9525a('0xb'));if(_0x1e9e56[_0xc9525a('0x12')]===-0x1)return _0x1e9e56;return this[_0xc9525a('0xd')]['noop'](util[_0xc9525a('0x95')](_0xc9525a('0x16a'),_0x1e7e82));},AGIVertices['prototype'][_0x470817('0x7e')]=function(_0x3e99c6){const _0x1310db=_0x470817;return logger[_0x1310db('0x1c9')](util[_0x1310db('0x95')](_0x1310db('0x8e'),_0x3e99c6[_0x1310db('0x149')])),this[_0x1310db('0xd')]['agi']([_0x3e99c6['command'],_0x3e99c6[_0x1310db('0x3c')]]);},AGIVertices['prototype'][_0x470817('0x1f')]=function(_0x139ebf){const _0x59bf57=_0x470817;logger['info'](util[_0x59bf57('0x95')](_0x59bf57('0x9a'),_0x139ebf[_0x59bf57('0x149')]));if(this[_0x59bf57('0x160')](_0x139ebf[_0x59bf57('0x1ba')])){logger[_0x59bf57('0x1c9')](util[_0x59bf57('0x95')](_0x59bf57('0x1b6'),_0x139ebf[_0x59bf57('0x1ba')]));const _0x55d9c9=this[_0x59bf57('0xd')]['wait'](_0x139ebf[_0x59bf57('0x1ba')]);if(_0x55d9c9[_0x59bf57('0x12')]===-0x1)return _0x55d9c9;}return this[_0x59bf57('0xd')][_0x59bf57('0x1f')]();},AGIVertices[_0x470817('0xd3')][_0x470817('0xb2')]=function(_0x319864){const _0x8cfcf9=_0x470817;logger[_0x8cfcf9('0x1c9')](util[_0x8cfcf9('0x95')](_0x8cfcf9('0x2a'),_0x319864['label']));if(!this['isConfigured'](_0x319864[_0x8cfcf9('0x94')]))return this[_0x8cfcf9('0xd')]['error'](_0x319864,_0x8cfcf9('0x10'));return _0x319864['scheduledAt']=moment(),this['isConfigured'](_0x319864['delay'])&&(_0x319864[_0x8cfcf9('0x5c')]=moment()['add'](_0x319864['delay'],_0x8cfcf9('0x18f'))),!this['isConfigured'](_0x319864[_0x8cfcf9('0xb4')])&&(_0x319864[_0x8cfcf9('0xb4')]=0x2),this[_0x8cfcf9('0x150')][_0x8cfcf9('0x106')](this,_0x319864),this[_0x8cfcf9('0xd')]['noop'](util[_0x8cfcf9('0x95')](_0x8cfcf9('0xad'),_0x319864['phone'],_0x319864[_0x8cfcf9('0x94')],_0x319864[_0x8cfcf9('0x5c')]));},AGIVertices[_0x470817('0xd3')][_0x470817('0x14f')]=function(_0x447d48){const _0x23ca60=_0x470817;logger[_0x23ca60('0x1c9')](util[_0x23ca60('0x95')](_0x23ca60('0x14c'),_0x447d48['label']));const _0x5edb6b=this[_0x23ca60('0xd')][_0x23ca60('0x107')](_0x447d48[_0x23ca60('0x1a6')],_0x447d48['options']);if(_0x5edb6b[_0x23ca60('0x12')]===-0x1)return _0x5edb6b;return this[_0x23ca60('0xd')][_0x23ca60('0x152')](util[_0x23ca60('0x95')](_0x23ca60('0x147'),_0x447d48[_0x23ca60('0x1a6')],_0x447d48[_0x23ca60('0x172')]));},AGIVertices[_0x470817('0xd3')][_0x470817('0xf')]=function(_0x41ec6a){const _0x3b14e6=_0x470817;logger[_0x3b14e6('0x1c9')](util[_0x3b14e6('0x95')](_0x3b14e6('0x90'),_0x41ec6a[_0x3b14e6('0x149')]));if(!this[_0x3b14e6('0x160')](_0x41ec6a['text']))return this[_0x3b14e6('0xd')][_0x3b14e6('0x152')](_0x3b14e6('0x15f'));let _0xa90df9='\x22'+_0x41ec6a[_0x3b14e6('0x1a')]+'\x22';this[_0x3b14e6('0x160')](_0x41ec6a[_0x3b14e6('0x172')])&&(_0xa90df9+=','+_0x41ec6a['options']);const _0x40f5ec=this[_0x3b14e6('0xd')][_0x3b14e6('0x107')](_0x3b14e6('0x169'),_0xa90df9);if(_0x40f5ec['result']===-0x1)return _0x40f5ec;return this[_0x3b14e6('0xd')]['noop'](util['format']('Executed\x20command\x20MRCPSynth\x20%s',_0xa90df9));},AGIVertices['prototype'][_0x470817('0xbd')]=function(_0x5e36f8){const _0x529a44=_0x470817;logger['info'](util['format'](_0x529a44('0x135'),_0x5e36f8[_0x529a44('0x149')]));if(!this[_0x529a44('0x160')](_0x5e36f8[_0x529a44('0x1a')]))return this['channel'][_0x529a44('0x152')](_0x529a44('0x15f'));let _0x10813f='\x22'+_0x5e36f8[_0x529a44('0x1a')]+'\x22';this[_0x529a44('0x160')](_0x5e36f8[_0x529a44('0x172')])&&(_0x10813f+=','+_0x5e36f8[_0x529a44('0x172')]);const _0x4f3b79=this[_0x529a44('0xd')][_0x529a44('0x107')](_0x529a44('0x169'),_0x10813f);if(_0x4f3b79[_0x529a44('0x12')]===-0x1)return _0x4f3b79;return this[_0x529a44('0xd')][_0x529a44('0x152')](util[_0x529a44('0x95')]('Executed\x20command\x20MRCPSynth\x20%s',_0x10813f));},AGIVertices[_0x470817('0xd3')][_0x470817('0x11d')]=function(_0x16055e){const _0xf8a0e3=_0x470817;logger[_0xf8a0e3('0x1c9')](util[_0xf8a0e3('0x95')]('Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block',_0x16055e[_0xf8a0e3('0x149')]));if(!this['isConfigured'](_0x16055e[_0xf8a0e3('0x158')]))return this[_0xf8a0e3('0xd')][_0xf8a0e3('0x152')](_0xf8a0e3('0x1c4'));let _0x4c0ac9=_0x16055e['grammar'];this[_0xf8a0e3('0x160')](_0x16055e[_0xf8a0e3('0x172')])&&(_0x4c0ac9+=','+_0x16055e['options']);const _0x267737=this[_0xf8a0e3('0xd')][_0xf8a0e3('0x107')](_0xf8a0e3('0xc0'),_0x4c0ac9);if(_0x267737[_0xf8a0e3('0x12')]===-0x1)return _0x267737;const _0x17c15f=this[_0xf8a0e3('0x12e')](_0xf8a0e3('0xee'),_0xf8a0e3('0x157'));if(_0x17c15f[_0xf8a0e3('0x12')]===-0x1)return _0x17c15f;const _0x39d8f5=this['getAndSetVariable'](_0xf8a0e3('0x141'),_0xf8a0e3('0x1a1'));if(_0x39d8f5[_0xf8a0e3('0x12')]===-0x1)return _0x39d8f5;const _0x558d2c=this[_0xf8a0e3('0x12e')](_0xf8a0e3('0x13a'),'LUMENVOX_ASR_INSTANCE');if(_0x558d2c[_0xf8a0e3('0x12')]===-0x1)return _0x558d2c;return this['channel']['noop'](util[_0xf8a0e3('0x95')]('Executed\x20command\x20MRCPRecog\x20%s',_0x4c0ac9));},AGIVertices[_0x470817('0xd3')]['sestekasr']=function(_0x5150dc){const _0x1344a8=_0x470817;logger['info'](util[_0x1344a8('0x95')]('Enter\x20in\x20SESTEKASR\x20(%s)\x20block',_0x5150dc['label']));if(!this['isConfigured'](_0x5150dc[_0x1344a8('0x158')]))return this['channel'][_0x1344a8('0x152')](_0x1344a8('0x1c4'));let _0x22f366=_0x5150dc['grammar'];this[_0x1344a8('0x160')](_0x5150dc[_0x1344a8('0x172')])&&(_0x22f366+=','+_0x5150dc['options']);const _0x23886f=this[_0x1344a8('0xd')]['exec'](_0x1344a8('0xc0'),_0x22f366);if(_0x23886f[_0x1344a8('0x12')]===-0x1)return _0x23886f;const _0x3ae25c=this[_0x1344a8('0x12e')](_0x1344a8('0xee'),_0x1344a8('0x18a'));if(_0x3ae25c[_0x1344a8('0x12')]===-0x1)return _0x3ae25c;const _0x400da5=this[_0x1344a8('0x12e')](_0x1344a8('0x141'),'SESTEK_ASR_TRANSCRIPT');if(_0x400da5[_0x1344a8('0x12')]===-0x1)return _0x400da5;const _0x6862c0=this[_0x1344a8('0x12e')](_0x1344a8('0x13a'),_0x1344a8('0x174'));if(_0x6862c0[_0x1344a8('0x12')]===-0x1)return _0x6862c0;return this[_0x1344a8('0xd')][_0x1344a8('0x152')](util[_0x1344a8('0x95')](_0x1344a8('0x16a'),_0x22f366));},AGIVertices[_0x470817('0xd3')][_0x470817('0xb1')]=function(_0x26cf55){const _0x2e5d11=_0x470817;logger['info'](util[_0x2e5d11('0x95')](_0x2e5d11('0x1a3'),_0x26cf55[_0x2e5d11('0x149')]));if(!this[_0x2e5d11('0x160')](_0x26cf55[_0x2e5d11('0x15c')]))return this['channel']['error'](_0x26cf55,'no\x20database\x20selected');const _0x18352d=this[_0x2e5d11('0x9b')][_0x2e5d11('0x106')](this,_0x26cf55[_0x2e5d11('0x15c')]);if(!_0x18352d)return this[_0x2e5d11('0xd')][_0x2e5d11('0x83')](_0x26cf55,'no\x20odbc\x20database\x20found');if(!this[_0x2e5d11('0x160')](_0x26cf55[_0x2e5d11('0x1a7')]))return this[_0x2e5d11('0xd')][_0x2e5d11('0x83')](_0x26cf55,'no\x20query\x20configured');const _0x2147d9=_0x26cf55[_0x2e5d11('0x1a7')][_0x2e5d11('0xfd')](/(\r\n|\n|\r)/gm,'\x20');this['channel'][_0x2e5d11('0x152')](util['format'](_0x2e5d11('0xd0'),_0x2147d9));const _0x39d5b0=this[_0x2e5d11('0xeb')][_0x2e5d11('0x106')](this,_0x18352d,_0x2147d9);this[_0x2e5d11('0x1b9')]['sync'](this,_0x26cf55,_0x2147d9);if(!this[_0x2e5d11('0x160')](_0x26cf55['variable_id']))return this['channel'][_0x2e5d11('0x152')](_0x2e5d11('0x10d'));const _0x2dc6ce=this[_0x2e5d11('0x97')][_0x2e5d11('0x106')](this,_0x26cf55[_0x2e5d11('0x34')]);if(!_0x2dc6ce)return this[_0x2e5d11('0xd')]['error'](_0x26cf55,_0x2e5d11('0x1ae'));const _0x3a34d6=this;return _0x39d5b0[_0x2e5d11('0x72')](function(_0x5271be,_0x10029f){const _0x26410d=_0x2e5d11;Object[_0x26410d('0x111')](_0x5271be)['forEach'](function(_0x4ccad2){const _0x5977c2=_0x26410d;_0x3a34d6[_0x5977c2('0xd')][_0x5977c2('0xd1')](util['format'](_0x5977c2('0x87'),_0x2dc6ce,_0x10029f,_0x4ccad2),_0x5271be[_0x4ccad2]);});}),this[_0x2e5d11('0xd')][_0x2e5d11('0xd1')](util[_0x2e5d11('0x95')](_0x2e5d11('0xab'),_0x2dc6ce),_0x39d5b0[_0x2e5d11('0x199')]),this['channel'][_0x2e5d11('0x152')](util[_0x2e5d11('0x95')](_0x2e5d11('0x131'),_0x2dc6ce));},AGIVertices['prototype']['dial']=function(_0x3c4e28){const _0x3d42d4=_0x470817;logger[_0x3d42d4('0x85')](util[_0x3d42d4('0x95')](_0x3d42d4('0x12f'),_0x3c4e28[_0x3d42d4('0x149')]));if(!this[_0x3d42d4('0x160')](_0x3c4e28[_0x3d42d4('0x163')]))return this[_0x3d42d4('0xd')][_0x3d42d4('0x83')](_0x3c4e28,'no\x20user\x20selected');const _0x4b0b55=this[_0x3d42d4('0x19f')][_0x3d42d4('0x106')](this,_0x3c4e28[_0x3d42d4('0x163')]);if(!_0x4b0b55)return this[_0x3d42d4('0xd')][_0x3d42d4('0x83')](_0x3c4e28,_0x3d42d4('0x104'));const _0x80ce26=this[_0x3d42d4('0xd')][_0x3d42d4('0x107')](_0x3d42d4('0xaf'),[util[_0x3d42d4('0x95')](_0x3d42d4('0x1c3'),_0x4b0b55),_0x3c4e28[_0x3d42d4('0x1ba')],_0x3c4e28['opts'],_0x3c4e28[_0x3d42d4('0x10f')]]);if(_0x80ce26['result']===-0x1)return _0x80ce26;return this['channel']['noop'](util[_0x3d42d4('0x95')](_0x3d42d4('0x18e'),_0x3d42d4('0xaf')));},AGIVertices['prototype'][_0x470817('0x168')]=function(_0x2b7f76){const _0x6b5d07=_0x470817;logger[_0x6b5d07('0x1c9')](util['format'](_0x6b5d07('0x1cb'),_0x2b7f76[_0x6b5d07('0x149')]));if(!this[_0x6b5d07('0x160')](_0x2b7f76[_0x6b5d07('0x118')]))return this[_0x6b5d07('0xd')][_0x6b5d07('0x152')](_0x6b5d07('0x132'));if(!this['isConfigured'](_0x2b7f76[_0x6b5d07('0x1a')]))return this['channel'][_0x6b5d07('0x152')]('no\x20text\x20configured');this['channel'][_0x6b5d07('0x1c')]=!![],this['createSquareDetailsReport'](_0x2b7f76),this['createSquareMessage'](_0x2b7f76[_0x6b5d07('0x1a')],'in','',''),this[_0x6b5d07('0xd')][_0x6b5d07('0x152')](util[_0x6b5d07('0x95')](_0x6b5d07('0x1c6'),_0x2b7f76[_0x6b5d07('0x1a')]));const _0x32ecba=this[_0x6b5d07('0x1bb')][_0x6b5d07('0x106')](this,_0x2b7f76);if(_0x32ecba){for(const _0x2e4253 in _0x32ecba){typeof _0x32ecba[_0x2e4253]!==_0x6b5d07('0x27')&&this[_0x6b5d07('0xd')]['setVariable'](util[_0x6b5d07('0x95')](_0x6b5d07('0x12d'),_0x2e4253[_0x6b5d07('0x137')]()),_0x32ecba[_0x2e4253]);}return this['createSquareMessage'](_0x32ecba[_0x6b5d07('0x197')],'out',_0x6b5d07('0x168'),''),this[_0x6b5d07('0xd')][_0x6b5d07('0x152')](util[_0x6b5d07('0x95')]('Dialogflow\x20Result\x20%s',_0x32ecba[_0x6b5d07('0x197')]));}return this[_0x6b5d07('0xd')][_0x6b5d07('0x83')](_0x2b7f76,'Dialogflow\x20is\x20unreachable');},AGIVertices[_0x470817('0xd3')][_0x470817('0x12a')]=function(_0x53f3d0){const _0x70e56f=_0x470817;logger[_0x70e56f('0x1c9')](util['format'](_0x70e56f('0x17c'),_0x53f3d0['label']));if(!this['isConfigured'](_0x53f3d0[_0x70e56f('0x2f')]))return this[_0x70e56f('0xd')][_0x70e56f('0x152')](_0x70e56f('0x11'));if(!this[_0x70e56f('0x160')](_0x53f3d0['client_email']))return this[_0x70e56f('0xd')][_0x70e56f('0x152')](_0x70e56f('0x14b'));if(!this[_0x70e56f('0x160')](_0x53f3d0[_0x70e56f('0x84')]))return this['channel']['noop'](_0x70e56f('0x37'));if(!this[_0x70e56f('0x160')](_0x53f3d0[_0x70e56f('0x7d')]))return this['channel'][_0x70e56f('0x152')]('no\x20anguage\x20configured');if(!this[_0x70e56f('0x160')](_0x53f3d0['text']))return this['channel'][_0x70e56f('0x152')](_0x70e56f('0x15f'));this[_0x70e56f('0xd')][_0x70e56f('0x1c')]=!![],this[_0x70e56f('0x1b9')](_0x53f3d0),this['createSquareMessage'](_0x53f3d0[_0x70e56f('0x1a')],'in','',''),this[_0x70e56f('0xd')][_0x70e56f('0x152')](util[_0x70e56f('0x95')](_0x70e56f('0x127'),_0x53f3d0[_0x70e56f('0x1a')]));const _0x58ea0e=this['googleDialogflowV2']['sync'](this,_0x53f3d0);if(_0x58ea0e){for(const _0x3fa963 in _0x58ea0e){typeof _0x58ea0e[_0x3fa963]!==_0x70e56f('0x27')&&(_0x3fa963!==_0x70e56f('0x100')&&this[_0x70e56f('0xd')][_0x70e56f('0xd1')](util[_0x70e56f('0x95')](_0x70e56f('0x12d'),_0x3fa963[_0x70e56f('0x137')]()),_0x58ea0e[_0x3fa963]));}return this[_0x70e56f('0xe8')](_0x58ea0e['speech'],'out',_0x70e56f('0x12a'),_0x58ea0e[_0x70e56f('0x100')]),this[_0x70e56f('0xd')][_0x70e56f('0x152')](util[_0x70e56f('0x95')](_0x70e56f('0xc8'),_0x58ea0e[_0x70e56f('0x197')]));}return this[_0x70e56f('0xd')]['error'](_0x53f3d0,_0x70e56f('0x17e'));},AGIVertices['prototype'][_0x470817('0x42')]=function(_0x5fc4f){const _0x283bc0=_0x470817;logger['info'](util[_0x283bc0('0x95')]('Enter\x20in\x20SESTEKNDA\x20(%s)\x20block',_0x5fc4f[_0x283bc0('0x149')]));if(!this['isConfigured'](_0x5fc4f[_0x283bc0('0x1bf')]))return this[_0x283bc0('0xd')][_0x283bc0('0x152')](_0x283bc0('0x114'));if(!this[_0x283bc0('0x160')](_0x5fc4f[_0x283bc0('0x9')]))return this[_0x283bc0('0xd')][_0x283bc0('0x152')](_0x283bc0('0x164'));if(!this[_0x283bc0('0x160')](_0x5fc4f[_0x283bc0('0x2e')]))return this[_0x283bc0('0xd')][_0x283bc0('0x152')]('no\x20password\x20configured');if(!this[_0x283bc0('0x160')](_0x5fc4f[_0x283bc0('0xf4')]))return this[_0x283bc0('0xd')]['noop'](_0x283bc0('0x15f'));this[_0x283bc0('0xd')][_0x283bc0('0x1c')]=!![],this[_0x283bc0('0x1b9')](_0x5fc4f),this[_0x283bc0('0xe8')](_0x5fc4f[_0x283bc0('0x1a')],'in','',''),this[_0x283bc0('0xd')][_0x283bc0('0x152')](util[_0x283bc0('0x95')]('Trying\x20SestekNDA:\x20%s',_0x5fc4f[_0x283bc0('0x1a')]));const _0xf463f2=this[_0x283bc0('0x0')][_0x283bc0('0x106')](this,_0x5fc4f);if(_0xf463f2){for(const _0x36950b in _0xf463f2){typeof _0xf463f2[_0x36950b]!==_0x283bc0('0x27')&&this['channel'][_0x283bc0('0xd1')](util[_0x283bc0('0x95')](_0x283bc0('0x115'),_0x36950b['toUpperCase']()),_0xf463f2[_0x36950b]);}this[_0x283bc0('0xe8')](_0xf463f2['speech'],_0x283bc0('0x66'),_0x283bc0('0x42'),'');if(_0xf463f2['audiofile']){this[_0x283bc0('0xd')][_0x283bc0('0x152')](util[_0x283bc0('0x95')](_0x283bc0('0x48'),_0xf463f2[_0x283bc0('0x175')]));const _0x5da21a=this[_0x283bc0('0xd')][_0x283bc0('0xe1')](_0xf463f2[_0x283bc0('0x175')]);try{fs[_0x283bc0('0x9f')](_0xf463f2[_0x283bc0('0x175')]+'.wav');}catch(_0x50547c){logger['error'](_0x50547c);}return _0x5da21a;}else return this[_0x283bc0('0xd')][_0x283bc0('0x152')](util[_0x283bc0('0x95')](_0x283bc0('0x17f'),_0xf463f2[_0x283bc0('0x197')]));}return this['channel'][_0x283bc0('0x83')](_0x5fc4f,_0x283bc0('0xfa'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x176')]=function(_0x2e549f){const _0xfcb32c=_0x470817;return logger[_0xfcb32c('0x1c9')](util[_0xfcb32c('0x95')](_0xfcb32c('0x1a9'),_0x2e549f['label'])),this[_0xfcb32c('0xd')][_0xfcb32c('0x152')](_0xfcb32c('0x176'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x36')]=function(_0x198002){const _0x2ddab9=_0x470817;logger[_0x2ddab9('0x1c9')](util[_0x2ddab9('0x95')](_0x2ddab9('0x180'),_0x198002[_0x2ddab9('0x149')]));let _0x751d='';if(_0x198002[_0x2ddab9('0x18d')]){if(!this['isConfigured'](_0x198002[_0x2ddab9('0x18d')]))return this[_0x2ddab9('0xd')]['error'](_0x198002,'no\x20trunk\x20selected');else{const _0x145d08=parseInt(_0x198002[_0x2ddab9('0x18d')],0xa);if(isNaN(_0x145d08))_0x751d=_0x198002[_0x2ddab9('0x18d')];else{_0x751d=this[_0x2ddab9('0xa5')][_0x2ddab9('0x106')](this,_0x198002[_0x2ddab9('0x18d')]);if(!_0x751d)return this[_0x2ddab9('0xd')][_0x2ddab9('0x83')](_0x198002,'no\x20trunk\x20found');}}}else{if(_0x198002['trunk_name'])_0x751d=_0x198002[_0x2ddab9('0x45')];else return this[_0x2ddab9('0xd')][_0x2ddab9('0x83')](_0x198002,_0x2ddab9('0x14a'));}const _0x34b7c0=this[_0x2ddab9('0xd')]['exec'](_0x2ddab9('0xaf'),[util['format'](_0x2ddab9('0xa8'),_0x751d,_0x198002['phone']),_0x198002[_0x2ddab9('0x1ba')],_0x198002[_0x2ddab9('0x5e')],_0x198002[_0x2ddab9('0x10f')]]);if(_0x34b7c0[_0x2ddab9('0x12')]===-0x1)return _0x34b7c0;return this[_0x2ddab9('0xd')][_0x2ddab9('0x152')](util[_0x2ddab9('0x95')]('Executed\x20command\x20%s',_0x2ddab9('0xaf')));},AGIVertices[_0x470817('0xd3')][_0x470817('0x1b3')]=function(_0x21ca42){const _0x3e3217=_0x470817;return logger[_0x3e3217('0x1c9')](util['format'](_0x3e3217('0xe0'),_0x21ca42['label'])),this[_0x3e3217('0xd')][_0x3e3217('0x152')](_0x3e3217('0x1b3'));},AGIVertices['prototype'][_0x470817('0x6d')]=function(_0x22b7bc){const _0x2a29a9=_0x470817;logger['info'](util[_0x2a29a9('0x95')](_0x2a29a9('0x5b'),_0x22b7bc[_0x2a29a9('0x149')]));if(_0x22b7bc[_0x2a29a9('0x62')]===0x0)return this[_0x2a29a9('0x181')](_0x22b7bc);_0x22b7bc['retry']-=0x1;if(!this[_0x2a29a9('0x160')](_0x22b7bc[_0x2a29a9('0xb5')]))return this[_0x2a29a9('0xd')][_0x2a29a9('0x83')](_0x22b7bc,_0x2a29a9('0xc2'));const _0x5114b9=this['getSound'][_0x2a29a9('0x106')](this,_0x22b7bc[_0x2a29a9('0xb5')]);if(!_0x5114b9)return this[_0x2a29a9('0xd')]['error'](_0x22b7bc,_0x2a29a9('0x75'));if(!this[_0x2a29a9('0x160')](_0x22b7bc[_0x2a29a9('0x34')]))return this[_0x2a29a9('0xd')]['error'](_0x2a29a9('0x10d'));const _0xd68bcf=this[_0x2a29a9('0xd')][_0x2a29a9('0xc7')](_0x5114b9,_0x22b7bc[_0x2a29a9('0xf5')],_0x22b7bc[_0x2a29a9('0x105')]),_0x523524=_0xd68bcf[_0x2a29a9('0x12')]?_0xd68bcf[_0x2a29a9('0x12')]['toString']():'';logger['info'](_0x2a29a9('0x19e'),JSON['stringify'](_0xd68bcf));if(_0xd68bcf[_0x2a29a9('0x12')]===-0x1)return this[_0x2a29a9('0x1b9')][_0x2a29a9('0x106')](this,_0x22b7bc,_0x523524),_0xd68bcf;else _0xd68bcf[_0x2a29a9('0x2c')]===_0x2a29a9('0x1ba')?_0xd68bcf[_0x2a29a9('0x12')]=_0x523524['length']>=parseInt(_0x22b7bc[_0x2a29a9('0x148')])?'x':'i':_0xd68bcf[_0x2a29a9('0x12')]=_0x523524[_0x2a29a9('0x199')]>=parseInt(_0x22b7bc['mindigit'])&&_0x523524[_0x2a29a9('0x199')]<=parseInt(_0x22b7bc['maxdigit'])?'x':'i';const _0x3b8795=this['getVariable'][_0x2a29a9('0x106')](this,_0x22b7bc[_0x2a29a9('0x34')]);if(!_0x3b8795)return this[_0x2a29a9('0xd')][_0x2a29a9('0x83')](_0x22b7bc,'no\x20variable\x20found');this['channel'][_0x2a29a9('0xd1')](_0x3b8795,_0x523524);if(this['isConfigured'](_0x22b7bc[_0x2a29a9('0x5a')])){const _0x1f941d=parseInt(_0x22b7bc[_0x2a29a9('0x5a')],0xa),_0x542d04=rs[_0x2a29a9('0xec')]({'charset':'*','length':_0x1f941d}),_0x2c3ed8=_0x523524[_0x2a29a9('0x199')];_0x2c3ed8>0x0?_0x2c3ed8>_0x1f941d?this[_0x2a29a9('0x1b9')][_0x2a29a9('0x106')](this,_0x22b7bc,_0x22b7bc[_0x2a29a9('0x47')]===_0x2a29a9('0x19d')?_0x542d04+_0x523524['substr'](_0x1f941d):_0x523524[_0x2a29a9('0xd5')](0x0,_0x2c3ed8-_0x1f941d)+_0x542d04):this[_0x2a29a9('0x1b9')][_0x2a29a9('0x106')](this,_0x22b7bc,rs['generate']({'charset':'*','length':_0x2c3ed8})):this['createSquareDetailsReport'][_0x2a29a9('0x106')](this,_0x22b7bc,'');}else this[_0x2a29a9('0x1b9')][_0x2a29a9('0x106')](this,_0x22b7bc,_0x523524);return _0xd68bcf;},AGIVertices[_0x470817('0xd3')]['getsecretdigits']=function(_0x441004){const _0x68c577=_0x470817;return logger[_0x68c577('0x1c9')](util[_0x68c577('0x95')](_0x68c577('0x12b'),_0x441004[_0x68c577('0x149')])),this['getdigits'](_0x441004);},AGIVertices[_0x470817('0xd3')][_0x470817('0x1b0')]=function(_0x1bec4d){const _0x765d67=_0x470817;return logger[_0x765d67('0x1c9')](util['format'](_0x765d67('0x32'),_0x1bec4d['label'])),this['createSquareDetailsReport'][_0x765d67('0x106')](this,_0x1bec4d,_0x1bec4d[_0x765d67('0x6b')]),this[_0x765d67('0xd')]['noop'](util[_0x765d67('0x95')](_0x765d67('0x4d'),_0x1bec4d[_0x765d67('0x6b')]));},AGIVertices['prototype'][_0x470817('0x10b')]=function(_0x5a7b10){const _0x12680d=_0x470817;logger['info'](util['format']('[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block',_0x5a7b10['label']));if(!this[_0x12680d('0x160')](_0x5a7b10[_0x12680d('0x6c')])||!this[_0x12680d('0x160')](_0x5a7b10[_0x12680d('0x9d')]))return this[_0x12680d('0xd')][_0x12680d('0x152')](_0x12680d('0x103'));if(!this[_0x12680d('0x160')](_0x5a7b10[_0x12680d('0x1a')]))return this[_0x12680d('0xd')][_0x12680d('0x152')](_0x12680d('0x15f'));this[_0x12680d('0xd')][_0x12680d('0x152')](util['format']('Trying\x20aws\x20Polly\x20%s',_0x5a7b10[_0x12680d('0x1a')]));const _0x3b5211=this[_0x12680d('0x126')][_0x12680d('0x106')](this,_0x5a7b10);if(_0x3b5211){this[_0x12680d('0xd')]['noop'](util['format']('aws\x20Polly\x20%s\x20file\x20created',_0x3b5211));const _0x18bc56=this[_0x12680d('0xd')][_0x12680d('0xe1')](_0x3b5211);try{fs[_0x12680d('0x9f')](_0x3b5211+_0x12680d('0xf6'));}catch(_0x2a6104){logger[_0x12680d('0x83')](_0x2a6104);}return _0x18bc56;}return this[_0x12680d('0xd')]['error'](_0x5a7b10,_0x12680d('0x146'));},AGIVertices[_0x470817('0xd3')][_0x470817('0xb3')]=function(_0x35dcfa){const _0x2f1771=_0x470817;logger['info'](util[_0x2f1771('0x95')](_0x2f1771('0x38'),_0x35dcfa[_0x2f1771('0x149')]));if(!this[_0x2f1771('0x160')](_0x35dcfa[_0x2f1771('0x6c')])||!this[_0x2f1771('0x160')](_0x35dcfa[_0x2f1771('0x9d')]))return this[_0x2f1771('0xd')][_0x2f1771('0x152')](_0x2f1771('0x103'));if(!this[_0x2f1771('0x160')](_0x35dcfa['aws_bot_name']))return this[_0x2f1771('0xd')][_0x2f1771('0x152')]('no\x20bot\x20name\x20configured');if(!this[_0x2f1771('0x160')](_0x35dcfa[_0x2f1771('0x1a')]))return this[_0x2f1771('0xd')][_0x2f1771('0x152')](_0x2f1771('0x15f'));this['channel'][_0x2f1771('0x1c')]=!![],this['createSquareDetailsReport'](_0x35dcfa),this[_0x2f1771('0xe8')](_0x35dcfa[_0x2f1771('0x1a')],'in','',''),this['channel'][_0x2f1771('0x152')](util[_0x2f1771('0x95')](_0x2f1771('0x1cc'),_0x35dcfa[_0x2f1771('0x1a')]));const _0x736727=this[_0x2f1771('0x13b')]['sync'](this,_0x35dcfa);if(_0x736727){for(const _0x47be2a in _0x736727){typeof _0x736727[_0x47be2a]!=='undefined'&&_[_0x2f1771('0xfc')](_0x736727[_0x47be2a])&&this[_0x2f1771('0xd')][_0x2f1771('0xd1')](util[_0x2f1771('0x95')](_0x2f1771('0x68'),_0x47be2a[_0x2f1771('0x137')]()),_0x736727[_0x47be2a]);}return _[_0x2f1771('0x1a2')](_0x736727[_0x2f1771('0xa3')])?this['channel'][_0x2f1771('0x152')](_0x2f1771('0xed')):(this[_0x2f1771('0xe8')](_0x736727[_0x2f1771('0xa3')],'out',_0x2f1771('0x186'),''),this[_0x2f1771('0xd')]['noop'](util[_0x2f1771('0x95')](_0x2f1771('0x7b'),_0x736727['message'])));}return this['channel']['error'](_0x35dcfa,_0x2f1771('0xe'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x52')]=function(_0x43c082){const _0x2826c0=_0x470817;logger[_0x2826c0('0x1c9')](util['format'](_0x2826c0('0x161'),_0x43c082['label'],_0x43c082[_0x2826c0('0x1ba')]));if(!this[_0x2826c0('0x160')](_0x43c082['key']))return this[_0x2826c0('0xd')]['noop'](_0x2826c0('0x132'));const _0x2f7126='wav',_0x2c80a7=util['format']('%s/recordings/%s',FILES_PATH,rs[_0x2826c0('0xec')](0x4)),_0x119612=util[_0x2826c0('0x95')]('%s.%s',_0x2c80a7,_0x2f7126);let _0x35617f=!![];_0x43c082[_0x2826c0('0xbe')]===_0x2826c0('0x133')&&(_0x35617f=![]);const _0x5275b9=this[_0x2826c0('0xd')][_0x2826c0('0x8d')](_0x2c80a7,_0x2f7126,_0x43c082[_0x2826c0('0x3d')],_0x43c082[_0x2826c0('0x1ba')],undefined,_0x35617f);if(_0x5275b9[_0x2826c0('0x12')]!==-0x1){this['channel'][_0x2826c0('0x152')](util['format'](_0x2826c0('0x8'),_0x119612));const _0x5ec8f1=this[_0x2826c0('0x15e')]['sync'](this,_0x43c082,_0x119612);if(_0x5ec8f1){for(const _0x58b75f in _0x5ec8f1){typeof _0x5ec8f1[_0x58b75f]!==_0x2826c0('0x27')&&this[_0x2826c0('0xd')][_0x2826c0('0xd1')](util[_0x2826c0('0x95')]('GOOGLE_ASR_%s',_0x58b75f['toUpperCase']()),_0x5ec8f1[_0x58b75f]);}return this[_0x2826c0('0xd')]['noop'](util['format'](_0x2826c0('0xf0'),JSON[_0x2826c0('0x1a4')](_0x5ec8f1)));}}return _0x5275b9;},AGIVertices[_0x470817('0xd3')][_0x470817('0x11f')]=function(_0x3d686d){const _0x30b95c=_0x470817;logger[_0x30b95c('0x1c9')](util[_0x30b95c('0x95')]('Enter\x20in\x20TILDEASR\x20(%s)\x20block',_0x3d686d[_0x30b95c('0x149')]));if(!this['isConfigured'](_0x3d686d[_0x30b95c('0x20')]))return this[_0x30b95c('0xd')][_0x30b95c('0x152')](_0x30b95c('0x1c7'));if(!this[_0x30b95c('0x160')](_0x3d686d[_0x30b95c('0x7c')]))return this[_0x30b95c('0xd')][_0x30b95c('0x152')](_0x30b95c('0x29'));const _0x26d83e='wav',_0x4a3ca6=util[_0x30b95c('0x95')](_0x30b95c('0xe3'),FILES_PATH,rs['generate'](0x4)),_0x4fdc47=util[_0x30b95c('0x95')](_0x30b95c('0xbf'),_0x4a3ca6,_0x26d83e);let _0x5a3128=!![];_0x3d686d[_0x30b95c('0xbe')]==='NOBEEP'&&(_0x5a3128=![]);const _0x2f0c1b=this[_0x30b95c('0xd')]['recordFile'](_0x4a3ca6,_0x26d83e,_0x3d686d[_0x30b95c('0x3d')],_0x3d686d['timeout'],undefined,_0x5a3128);if(_0x2f0c1b['result']!==-0x1){this[_0x30b95c('0xd')][_0x30b95c('0x152')](util['format'](_0x30b95c('0x145'),_0x4fdc47));const _0x80b254=this[_0x30b95c('0x67')][_0x30b95c('0x106')](this,_0x3d686d,_0x4fdc47);if(_0x80b254){for(const _0xf3d752 in _0x80b254){typeof _0x80b254[_0xf3d752]!=='undefined'&&this[_0x30b95c('0xd')][_0x30b95c('0xd1')](util[_0x30b95c('0x95')](_0x30b95c('0x9c'),_0xf3d752[_0x30b95c('0x137')]()),_0x80b254[_0xf3d752]);}return this[_0x30b95c('0xd')][_0x30b95c('0x152')](util['format'](_0x30b95c('0x19a'),JSON[_0x30b95c('0x1a4')](_0x80b254)));}}return _0x2f0c1b;},AGIVertices[_0x470817('0xd3')]['gotoc']=function(_0x195800){const _0x388831=_0x470817;return logger[_0x388831('0x1c9')](util['format']('Enter\x20in\x20GOTO\x20(%s)\x20block',_0x195800['label'])),this[_0x388831('0xd')][_0x388831('0x4b')](_0x195800['context'],_0x195800[_0x388831('0x5f')],_0x195800[_0x388831('0xdb')]);},AGIVertices[_0x470817('0xd3')][_0x470817('0x16e')]=function(_0x5a2819){const _0x4a71b6=_0x470817;logger[_0x4a71b6('0x1c9')](util[_0x4a71b6('0x95')](_0x4a71b6('0x192'),_0x5a2819[_0x4a71b6('0x149')]));if(!this['isConfigured'](_0x5a2819[_0x4a71b6('0x89')]))return this['channel']['error'](_0x5a2819,_0x4a71b6('0xf1'));try{const _0x1bec38=eval(_0x5a2819[_0x4a71b6('0x89')])?_0x4a71b6('0xb0'):_0x4a71b6('0xb8');return this[_0x4a71b6('0xd')][_0x4a71b6('0x152')](util[_0x4a71b6('0x95')](_0x4a71b6('0xd8'),_0x5a2819[_0x4a71b6('0x89')],_0x1bec38)),{'code':0xc8,'result':_0x1bec38};}catch(_0x963b14){return{'code':0xc8,'result':_0x4a71b6('0xb8')};}},AGIVertices[_0x470817('0xd3')][_0x470817('0x189')]=function(_0x851c59){const _0x3d3043=_0x470817;logger['info'](util['format'](_0x3d3043('0x54'),_0x851c59[_0x3d3043('0x149')]));if(!this['isConfigured'](_0x851c59['interval_id']))return this[_0x3d3043('0xd')][_0x3d3043('0x83')](_0x851c59,_0x3d3043('0x15b'));const _0x5cb61e=this['getIntervals'][_0x3d3043('0x106')](this,_0x851c59[_0x3d3043('0x7')]);if(!_0x5cb61e)return this[_0x3d3043('0xd')][_0x3d3043('0x83')](_0x851c59,_0x3d3043('0x3e'));for(let _0x5b6881=0x0;_0x5b6881<_0x5cb61e[_0x3d3043('0x199')];_0x5b6881+=0x1){const _0x4a43c0=this[_0x3d3043('0xd')][_0x3d3043('0x97')](util[_0x3d3043('0x95')]('IFTIME(%s?true:false)',_0x5cb61e[_0x5b6881]));if(_0x4a43c0[_0x3d3043('0x12')]===-0x1)return _0x4a43c0;logger[_0x3d3043('0x1c9')](util[_0x3d3043('0x95')](_0x3d3043('0x60'),_0x5cb61e[_0x5b6881],_0x4a43c0['extra']));if(_0x4a43c0[_0x3d3043('0x2c')]===_0x3d3043('0xb0'))return logger[_0x3d3043('0x1c9')](util[_0x3d3043('0x95')](_0x3d3043('0x60'),_0x5cb61e[_0x5b6881],_0x3d3043('0xb0'))),this['channel'][_0x3d3043('0x152')](util[_0x3d3043('0x95')]('IFTIME\x20%s\x20%s',_0x5cb61e[_0x5b6881],_0x3d3043('0xb0'))),{'code':0xc8,'result':_0x3d3043('0xb0')};else logger[_0x3d3043('0x1c9')](util['format']('IFTIME\x20%s\x20%s',_0x5cb61e[_0x5b6881],_0x3d3043('0xb8'))),this['channel'][_0x3d3043('0x152')](util[_0x3d3043('0x95')](_0x3d3043('0x60'),_0x5cb61e[_0x5b6881],'false'));}return{'code':0xc8,'result':'false'};},AGIVertices[_0x470817('0xd3')]['hangup']=function(_0x2d42a1){const _0x582fd7=_0x470817;return logger[_0x582fd7('0x1c9')](util['format']('Enter\x20in\x20HANGUP\x20(%s)\x20block',_0x2d42a1[_0x582fd7('0x149')])),this['channel'][_0x582fd7('0x13c')]();},AGIVertices['prototype'][_0x470817('0x165')]=function(_0x4bc230){const _0x4a94a4=_0x470817;logger[_0x4a94a4('0x1c9')](util[_0x4a94a4('0x95')]('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x4bc230['label']));if(!this[_0x4a94a4('0x160')](_0x4bc230[_0x4a94a4('0x118')]))return this[_0x4a94a4('0xd')][_0x4a94a4('0x152')](_0x4a94a4('0x132'));const _0x352e62=_0x4a94a4('0x1a0'),_0x2af796=util[_0x4a94a4('0x95')]('%s/recordings/%s',FILES_PATH,rs['generate'](0x4)),_0x10e0de=util[_0x4a94a4('0x95')](_0x4a94a4('0xbf'),_0x2af796,_0x352e62);let _0x415df2=!![];_0x4bc230[_0x4a94a4('0xbe')]==='NOBEEP'&&(_0x415df2=![]);const _0x2417d4=this['channel']['recordFile'](_0x2af796,_0x352e62,_0x4bc230[_0x4a94a4('0x3d')],_0x4bc230[_0x4a94a4('0x1ba')],undefined,_0x415df2);if(_0x2417d4[_0x4a94a4('0x12')]!==-0x1){this[_0x4a94a4('0xd')]['noop'](util['format'](_0x4a94a4('0xd2'),_0x10e0de));const _0x63b9b8=this[_0x4a94a4('0x11c')][_0x4a94a4('0x106')](this,_0x4bc230,_0x10e0de);if(_0x63b9b8){for(const _0x6d7b23 in _0x63b9b8){typeof _0x63b9b8[_0x6d7b23]!==_0x4a94a4('0x27')&&this['channel'][_0x4a94a4('0xd1')](util['format'](_0x4a94a4('0x28'),_0x6d7b23[_0x4a94a4('0x137')]()),_0x63b9b8[_0x6d7b23]);}return this[_0x4a94a4('0xd')][_0x4a94a4('0x152')](util[_0x4a94a4('0x95')](_0x4a94a4('0x1af'),JSON[_0x4a94a4('0x1a4')](_0x63b9b8)));}}return _0x2417d4;},AGIVertices[_0x470817('0xd3')][_0x470817('0xa7')]=function(_0x441f20){const _0x5d239a=_0x470817;logger[_0x5d239a('0x1c9')](util[_0x5d239a('0x95')](_0x5d239a('0x1b1'),_0x441f20['label']));if(!this[_0x5d239a('0x160')](_0x441f20[_0x5d239a('0x118')]))return this[_0x5d239a('0xd')][_0x5d239a('0x152')](_0x5d239a('0x132'));if(!this[_0x5d239a('0x160')](_0x441f20[_0x5d239a('0x1a')]))return this[_0x5d239a('0xd')][_0x5d239a('0x152')]('no\x20text\x20configured');this['channel']['noop'](util[_0x5d239a('0x95')](_0x5d239a('0x1c0'),_0x441f20['text']));const _0x1c2908=this['ispeechTTS'][_0x5d239a('0x106')](this,_0x441f20);if(_0x1c2908){this[_0x5d239a('0xd')][_0x5d239a('0x152')](util[_0x5d239a('0x95')](_0x5d239a('0xd2'),_0x1c2908));const _0x4407be=this[_0x5d239a('0xd')][_0x5d239a('0xe1')](_0x1c2908,_0x441f20[_0x5d239a('0x3d')]);try{fs[_0x5d239a('0x9f')](_0x1c2908+_0x5d239a('0xf6'));}catch(_0x2d0e8a){logger[_0x5d239a('0x83')](_0x2d0e8a);}return _0x4407be;}return this[_0x5d239a('0xd')]['error'](_0x441f20,_0x5d239a('0x19c'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x65')]=function(_0x27b78d){const _0x2d9dcc=_0x470817;logger['info'](util[_0x2d9dcc('0x95')](_0x2d9dcc('0x1b5'),_0x27b78d[_0x2d9dcc('0x149')]));if(!this[_0x2d9dcc('0x160')](_0x27b78d['findBy']))return this[_0x2d9dcc('0xd')][_0x2d9dcc('0x83')](_0x27b78d,_0x2d9dcc('0xcd'));logger[_0x2d9dcc('0x1c9')](util[_0x2d9dcc('0x95')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel']['callerid'],_0x27b78d['findBy']));const _0x59ca9c=this['agentLogin']['sync'](this,_0x27b78d[_0x2d9dcc('0x167')]);return _0x59ca9c?(logger[_0x2d9dcc('0x1c9')](util[_0x2d9dcc('0x95')](_0x2d9dcc('0x10a'),this[_0x2d9dcc('0xd')][_0x2d9dcc('0xdf')],_0x27b78d[_0x2d9dcc('0x167')])),this[_0x2d9dcc('0xd')][_0x2d9dcc('0x152')](util['format'](_0x2d9dcc('0x10a'),this[_0x2d9dcc('0xd')][_0x2d9dcc('0xdf')],_0x27b78d[_0x2d9dcc('0x167')])),{'code':0xc8,'result':_0x2d9dcc('0xf7')}):(logger[_0x2d9dcc('0x1c9')](util[_0x2d9dcc('0x95')](_0x2d9dcc('0x155'),this[_0x2d9dcc('0xd')][_0x2d9dcc('0xdf')],_0x27b78d[_0x2d9dcc('0x167')])),this[_0x2d9dcc('0xd')][_0x2d9dcc('0x152')](util[_0x2d9dcc('0x95')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x2d9dcc('0xd')]['callerid'],_0x27b78d['findBy'])),{'code':0xc8,'result':_0x2d9dcc('0x191')});},AGIVertices['prototype']['logout']=function(_0x1ab4c5){const _0x156767=_0x470817;logger[_0x156767('0x1c9')](util[_0x156767('0x95')](_0x156767('0x159'),_0x1ab4c5[_0x156767('0x149')]));if(!this['isConfigured'](_0x1ab4c5[_0x156767('0x167')]))return this[_0x156767('0xd')][_0x156767('0x83')](_0x1ab4c5,'no\x20find\x20by\x20configured');logger['info'](util[_0x156767('0x95')](_0x156767('0x53'),this['channel'][_0x156767('0xdf')],_0x1ab4c5[_0x156767('0x167')]));const _0x506144=this[_0x156767('0x78')][_0x156767('0x106')](this,_0x1ab4c5[_0x156767('0x167')]);return _0x506144?(logger['info'](util[_0x156767('0x95')](_0x156767('0x10a'),this['channel'][_0x156767('0xdf')],_0x1ab4c5[_0x156767('0x167')])),this['channel'][_0x156767('0x152')](util[_0x156767('0x95')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x156767('0xd')][_0x156767('0xdf')],_0x1ab4c5[_0x156767('0x167')])),{'code':0xc8,'result':_0x156767('0xf7')}):(logger['info'](util['format'](_0x156767('0x155'),this[_0x156767('0xd')][_0x156767('0xdf')],_0x1ab4c5[_0x156767('0x167')])),this[_0x156767('0xd')][_0x156767('0x152')](util[_0x156767('0x95')](_0x156767('0x155'),this[_0x156767('0xd')][_0x156767('0xdf')],_0x1ab4c5[_0x156767('0x167')])),{'code':0xc8,'result':_0x156767('0x191')});},AGIVertices[_0x470817('0xd3')][_0x470817('0x93')]=function(_0x26f228){const _0x10d8f9=_0x470817;logger['info'](util['format'](_0x10d8f9('0x3f'),_0x26f228[_0x10d8f9('0x149')]));if(!this[_0x10d8f9('0x160')](_0x26f228[_0x10d8f9('0x171')]))return this[_0x10d8f9('0xd')][_0x10d8f9('0x83')](_0x26f228,_0x10d8f9('0x183'));this['channel'][_0x10d8f9('0x152')](util[_0x10d8f9('0x95')]('math\x20%s',_0x26f228[_0x10d8f9('0x171')]));const _0x16d5d3=eval(_0x26f228['operation']);if(!this['isConfigured'](_0x26f228[_0x10d8f9('0x34')]))return this['channel'][_0x10d8f9('0x152')](_0x10d8f9('0x10d'));const _0x158d77=this[_0x10d8f9('0x97')]['sync'](this,_0x26f228[_0x10d8f9('0x34')]);if(!_0x158d77)return this[_0x10d8f9('0xd')]['error'](_0x26f228,_0x10d8f9('0x1ae'));if(_[_0x10d8f9('0x17')](_0x16d5d3)){const _0x59a391=this;return _0x16d5d3[_0x10d8f9('0x72')](function(_0x257c03,_0x13775f){const _0x15ff6c=_0x10d8f9;_0x59a391[_0x15ff6c('0xd')][_0x15ff6c('0xd1')](util[_0x15ff6c('0x95')]('%s[%s]',_0x158d77,_0x13775f),_0x257c03);}),this[_0x10d8f9('0xd')][_0x10d8f9('0x152')](util[_0x10d8f9('0x95')]('variable\x20%s[key]\x20set',_0x158d77));}else return this[_0x10d8f9('0xd')]['setVariable'](_0x158d77,_0x16d5d3);},AGIVertices['prototype'][_0x470817('0x10c')]=function(_0x5ba08a){const _0x3cf596=_0x470817;logger[_0x3cf596('0x1c9')](util[_0x3cf596('0x95')](_0x3cf596('0x96'),_0x5ba08a[_0x3cf596('0x149')]));if(_0x5ba08a['retry']===0x0)return this[_0x3cf596('0x181')](_0x5ba08a);_0x5ba08a[_0x3cf596('0x62')]-=0x1;if(!this['isConfigured'](_0x5ba08a['file_id']))return this[_0x3cf596('0xd')][_0x3cf596('0x83')](_0x5ba08a,_0x3cf596('0xc2'));const _0xd8a9df=this[_0x3cf596('0x15a')]['sync'](this,_0x5ba08a[_0x3cf596('0xb5')]);if(!_0xd8a9df)return this[_0x3cf596('0xd')][_0x3cf596('0x83')](_0x5ba08a,_0x3cf596('0x75'));const _0x3edfda=this[_0x3cf596('0xd')][_0x3cf596('0xc7')](_0xd8a9df,_0x5ba08a[_0x3cf596('0xf5')],_0x5ba08a['digit']);let _0x58a098=_0x3edfda[_0x3cf596('0x12')];if(_0x3edfda[_0x3cf596('0x12')]===-0x1)return this[_0x3cf596('0x1b9')][_0x3cf596('0x106')](this,_0x5ba08a,'-1'),_0x3edfda;else{if(_0x3edfda[_0x3cf596('0x2c')]===_0x3cf596('0x1ba'))_0x3edfda[_0x3cf596('0x12')]=_0x3edfda['result'][_0x3cf596('0x199')]>0x0?_0x3edfda[_0x3cf596('0x12')]:'t';else _[_0x3cf596('0xff')](_0x3edfda[_0x3cf596('0x12')])&&(_0x3edfda[_0x3cf596('0x12')]='#',_0x58a098='#');}if(!this['isConfigured'](_0x5ba08a[_0x3cf596('0x34')]))this[_0x3cf596('0xd')][_0x3cf596('0x152')](_0x3cf596('0x10d'));else{const _0x5e29e7=this[_0x3cf596('0x97')]['sync'](this,_0x5ba08a[_0x3cf596('0x34')]);if(!_0x5e29e7)return this[_0x3cf596('0xd')]['error'](_0x5ba08a,_0x3cf596('0x1ae'));this[_0x3cf596('0xd')]['setVariable'](_0x5e29e7,_0x58a098);}return this[_0x3cf596('0x1b9')][_0x3cf596('0x106')](this,_0x5ba08a,_0x58a098),_0x3edfda;},AGIVertices['prototype'][_0x470817('0x152')]=function(_0x243236){const _0x5a2d41=_0x470817;return logger[_0x5a2d41('0x1c9')](util[_0x5a2d41('0x95')](_0x5a2d41('0x139'),_0x243236['label'])),this[_0x5a2d41('0xd')][_0x5a2d41('0x152')](_0x243236[_0x5a2d41('0x117')]||_0x243236[_0x5a2d41('0x149')]);},AGIVertices[_0x470817('0xd3')][_0x470817('0x1b4')]=function(_0xf0cd63){const _0x1d5035=_0x470817;logger[_0x1d5035('0x1c9')](util[_0x1d5035('0x95')](_0x1d5035('0x185'),_0xf0cd63[_0x1d5035('0x149')]));if(!this[_0x1d5035('0x160')](_0xf0cd63[_0x1d5035('0x167')]))return this[_0x1d5035('0xd')][_0x1d5035('0x83')](_0xf0cd63,'no\x20find\x20by\x20configured');logger['info'](util[_0x1d5035('0x95')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel']['callerid'],_0xf0cd63[_0x1d5035('0x167')]));const _0x100108=this[_0x1d5035('0x92')]['sync'](this,_0xf0cd63[_0x1d5035('0x14e')]),_0x525a0c=this[_0x1d5035('0xfe')]['sync'](this,_0xf0cd63[_0x1d5035('0x167')],_0x100108);return _0x525a0c?(logger[_0x1d5035('0x1c9')](util[_0x1d5035('0x95')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x1d5035('0xdf')],_0xf0cd63[_0x1d5035('0x167')])),this[_0x1d5035('0xd')][_0x1d5035('0x152')](util[_0x1d5035('0x95')](_0x1d5035('0x10a'),this[_0x1d5035('0xd')][_0x1d5035('0xdf')],_0xf0cd63[_0x1d5035('0x167')])),{'code':0xc8,'result':'success'}):(logger[_0x1d5035('0x1c9')](util[_0x1d5035('0x95')](_0x1d5035('0x155'),this[_0x1d5035('0xd')][_0x1d5035('0xdf')],_0xf0cd63[_0x1d5035('0x167')])),this[_0x1d5035('0xd')][_0x1d5035('0x152')](util[_0x1d5035('0x95')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x1d5035('0xdf')],_0xf0cd63[_0x1d5035('0x167')])),{'code':0xc8,'result':_0x1d5035('0x191')});},AGIVertices[_0x470817('0xd3')][_0x470817('0x25')]=function(_0x573d7d){const _0x21fe71=_0x470817;logger[_0x21fe71('0x1c9')](util['format'](_0x21fe71('0x43'),_0x573d7d[_0x21fe71('0x149')]));if(!this[_0x21fe71('0x160')](_0x573d7d[_0x21fe71('0xb5')]))return this[_0x21fe71('0xd')]['error'](_0x573d7d,_0x21fe71('0xc2'));const _0x53e55d=this[_0x21fe71('0x15a')][_0x21fe71('0x106')](this,_0x573d7d[_0x21fe71('0xb5')]);if(!_0x53e55d)return this[_0x21fe71('0xd')][_0x21fe71('0x83')](_0x573d7d,_0x21fe71('0x75'));const _0x155e59=this[_0x21fe71('0xd')][_0x21fe71('0x107')](_0x21fe71('0x4'),[_0x53e55d,_0x573d7d[_0x21fe71('0x5e')]]);if(_0x155e59[_0x21fe71('0x12')]===-0x1)return _0x155e59;return this[_0x21fe71('0xd')][_0x21fe71('0x152')](util['format'](_0x21fe71('0x147'),_0x21fe71('0x4'),_0x53e55d));},AGIVertices[_0x470817('0xd3')][_0x470817('0x134')]=function(_0x5ca477){const _0x17b4c6=_0x470817;logger[_0x17b4c6('0x1c9')](util['format'](_0x17b4c6('0xf9'),_0x5ca477[_0x17b4c6('0x149')]));if(!this[_0x17b4c6('0x160')](_0x5ca477['queue_id']))return this['channel']['error'](_0x5ca477,_0x17b4c6('0x64'));let _0x248fa1='';const _0x325332=parseInt(_0x5ca477['queue_id'],0xa);if(isNaN(_0x325332))_0x248fa1=_0x5ca477[_0x17b4c6('0x101')];else{_0x248fa1=this['getVoiceQueue'][_0x17b4c6('0x106')](this,_0x5ca477[_0x17b4c6('0x101')]);if(!_0x248fa1)return this['channel'][_0x17b4c6('0x83')](_0x5ca477,_0x17b4c6('0x80'));}let _0x1f81cf='';if(this[_0x17b4c6('0x160')](_0x5ca477[_0x17b4c6('0xb5')])){const _0xf6540c=this[_0x17b4c6('0x15a')]['sync'](this,_0x5ca477[_0x17b4c6('0xb5')]);_0xf6540c&&(_0x1f81cf=_0xf6540c);}this[_0x17b4c6('0x1b9')]['sync'](this,_0x5ca477,_0x248fa1);_0x5ca477['opts'][_0x17b4c6('0x3b')]('x')<0x0&&(_0x5ca477[_0x17b4c6('0x5e')]+='x');_0x5ca477[_0x17b4c6('0x5e')][_0x17b4c6('0x3b')]('X')<0x0&&(_0x5ca477['opts']+='X');this[_0x17b4c6('0xd')][_0x17b4c6('0xd1')]('XMCS-QUEUE',_0x248fa1?_0x248fa1[_0x17b4c6('0x86')]():'');const _0xbd1bb4=this[_0x17b4c6('0xd')]['exec'](_0x17b4c6('0x14d'),[_0x248fa1,_0x5ca477[_0x17b4c6('0x5e')],_0x5ca477[_0x17b4c6('0x10f')],_0x1f81cf,_0x5ca477[_0x17b4c6('0x1ba')],_0x5ca477[_0x17b4c6('0x7e')],_0x5ca477[_0x17b4c6('0xa2')],_0x5ca477[_0x17b4c6('0xd4')],'',_0x5ca477[_0x17b4c6('0x19b')]]);if(_0xbd1bb4[_0x17b4c6('0x12')]===-0x1)return _0xbd1bb4;return this['channel'][_0x17b4c6('0x152')](util[_0x17b4c6('0x95')](_0x17b4c6('0x147'),_0x17b4c6('0x14d'),_0x248fa1));},AGIVertices[_0x470817('0xd3')][_0x470817('0xa0')]=function(_0x54a527){const _0x2a42fb=_0x470817;logger['info'](util[_0x2a42fb('0x95')](_0x2a42fb('0x22'),_0x54a527[_0x2a42fb('0x149')]));const _0x727c4b=_0x54a527[_0x2a42fb('0xbb')]||_0x2a42fb('0x1a0'),_0x5abf26=util[_0x2a42fb('0x95')](_0x2a42fb('0x170'),this[_0x2a42fb('0xd')][_0x2a42fb('0x74')],rs[_0x2a42fb('0xec')](0x5)),_0x5f37ec=util[_0x2a42fb('0x95')](_0x2a42fb('0x59'),FILES_PATH,_0x5abf26,_0x727c4b),_0x4f7fb5=util[_0x2a42fb('0x95')](_0x2a42fb('0xe3'),FILES_PATH,_0x5abf26);return this['createSquareRecording'][_0x2a42fb('0x106')](this,_0x54a527,_0x5abf26,_0x5f37ec),this[_0x2a42fb('0xd')][_0x2a42fb('0xd1')](_0x2a42fb('0x102'),_0x5abf26),logger[_0x2a42fb('0x1c9')](_0x2a42fb('0x4f'),_0x4f7fb5,_0x727c4b,_0x54a527[_0x2a42fb('0x63')],_0x54a527['timeout']),this[_0x2a42fb('0xd')][_0x2a42fb('0x8d')](_0x4f7fb5,_0x727c4b,_0x54a527[_0x2a42fb('0x63')],_0x54a527[_0x2a42fb('0x1ba')],undefined,!![]);},AGIVertices[_0x470817('0xd3')][_0x470817('0x110')]=function(_0x480633){const _0x1f1773=_0x470817;logger[_0x1f1773('0x1c9')](util['format'](_0x1f1773('0x1a5'),_0x480633['label']));if(!this[_0x1f1773('0x160')](_0x480633[_0x1f1773('0x10f')]))return this[_0x1f1773('0xd')][_0x1f1773('0x152')](_0x1f1773('0xe4'));const _0x26c194=this[_0x1f1773('0xcf')][_0x1f1773('0x106')](this,_0x480633);logger['info'](util[_0x1f1773('0x95')](_0x1f1773('0x79'),util[_0x1f1773('0xce')](_0x26c194,{'showHidden':![],'depth':null})));if(!this[_0x1f1773('0x160')](_0x480633[_0x1f1773('0x34')]))return this[_0x1f1773('0xd')][_0x1f1773('0x152')](_0x1f1773('0xda'));const _0x328dcb=this[_0x1f1773('0x97')]['sync'](this,_0x480633[_0x1f1773('0x34')]);if(!_0x328dcb)return this['channel']['error'](_0x480633,_0x1f1773('0x1ae'));this['channel'][_0x1f1773('0xd1')](util[_0x1f1773('0x95')](_0x1f1773('0x56'),_0x328dcb),_0x26c194[_0x1f1773('0xcb')]?_0x26c194[_0x1f1773('0xcb')]:'200'),this[_0x1f1773('0xd')][_0x1f1773('0xd1')](util[_0x1f1773('0x95')](_0x1f1773('0x50'),_0x328dcb),_0x26c194[_0x1f1773('0x136')]?_0x26c194[_0x1f1773('0x136')]:'OK');if(_0x26c194[_0x1f1773('0x138')])try{this['saveRestApiResult'](_0x26c194[_0x1f1773('0x138')],_0x328dcb);}catch(_0x6f320a){logger[_0x1f1773('0x83')](util[_0x1f1773('0x95')](_0x1f1773('0x91'),_0x328dcb));}return this['channel'][_0x1f1773('0x152')](util[_0x1f1773('0x95')](_0x1f1773('0x131'),_0x328dcb));},AGIVertices[_0x470817('0xd3')]['saydigits']=function(_0x330cf5){const _0x334493=_0x470817;return logger[_0x334493('0x1c9')](util[_0x334493('0x95')](_0x334493('0x1b2'),_0x330cf5[_0x334493('0x149')])),this[_0x334493('0xd')]['sayDigits'](_0x330cf5['digits'][_0x334493('0xfd')](/\s+/g,''),_0x330cf5[_0x334493('0x63')]);},AGIVertices[_0x470817('0xd3')]['saynumber']=function(_0x1c34b7){const _0x258284=_0x470817;return logger[_0x258284('0x1c9')](util[_0x258284('0x95')]('Enter\x20in\x20SAYNUMBER\x20(%s)\x20block',_0x1c34b7[_0x258284('0x149')])),this[_0x258284('0xd')][_0x258284('0xca')](_0x1c34b7[_0x258284('0x73')][_0x258284('0xfd')](/\s+/g,''),_0x1c34b7['escape_digits']);},AGIVertices[_0x470817('0xd3')][_0x470817('0x4e')]=function(_0x54165a){const _0xa02433=_0x470817;return logger['info'](util[_0xa02433('0x95')](_0xa02433('0x166'),_0x54165a[_0xa02433('0x149')])),this[_0xa02433('0xd')][_0xa02433('0xe2')](_0x54165a['text'],_0x54165a[_0xa02433('0x63')]);},AGIVertices[_0x470817('0xd3')][_0x470817('0x81')]=function(_0x2f64bb){const _0x441f96=_0x470817;logger[_0x441f96('0x1c9')](util['format'](_0x441f96('0x195'),_0x2f64bb['label']));if(!this[_0x441f96('0x160')](_0x2f64bb[_0x441f96('0x121')]))return this[_0x441f96('0xd')][_0x441f96('0x152')](_0x441f96('0x140'));const _0x30f25a=this[_0x441f96('0x44')]['sync'](this,_0x2f64bb[_0x441f96('0x121')]);if(!_0x30f25a||!_0x30f25a[_0x441f96('0x1ac')])return this['channel']['error'](_0x2f64bb,_0x441f96('0xa9'));const _0x1cc816={'from':util[_0x441f96('0x95')](_0x441f96('0xc3'),_0x30f25a[_0x441f96('0xa6')],_0x30f25a['email']||_0x30f25a['Smtp'][_0x441f96('0x6f')]),'to':_0x2f64bb['to']||'','cc':_0x2f64bb['cc']||'','bcc':_0x2f64bb[_0x441f96('0x13e')]||'','subject':_0x2f64bb['subject'],'html':_0x2f64bb[_0x441f96('0x1a')],'text':_0x2f64bb['text']},_0x6f962f={'tls':{'rejectUnauthorized':![]}};_0x30f25a['Smtp'][_0x441f96('0x51')]?_0x6f962f['service']=_0x30f25a[_0x441f96('0x1ac')][_0x441f96('0x51')]:(_0x6f962f['host']=_0x30f25a['Smtp'][_0x441f96('0x6e')],_0x6f962f[_0x441f96('0x108')]=_0x30f25a[_0x441f96('0x1ac')]['port'],_0x6f962f[_0x441f96('0x46')]=_0x30f25a['Smtp'][_0x441f96('0x46')]);_0x30f25a[_0x441f96('0x1ac')][_0x441f96('0xe7')]&&(_0x6f962f[_0x441f96('0x143')]={'user':_0x30f25a[_0x441f96('0x1ac')][_0x441f96('0x6f')],'pass':_0x30f25a[_0x441f96('0x1ac')][_0x441f96('0x151')]});if(this[_0x441f96('0x160')](_0x2f64bb['template_id'])){}return logger[_0x441f96('0x85')](_0x441f96('0x184'),JSON[_0x441f96('0x1a4')](_0x1cc816)),this[_0x441f96('0x1b9')]['sync'](this,_0x2f64bb,_0x2f64bb['account_id']),this[_0x441f96('0xd')][_0x441f96('0x152')](util[_0x441f96('0x95')](_0x441f96('0x57'),_0x30f25a[_0x441f96('0xa6')])),this[_0x441f96('0x33')][_0x441f96('0x106')](this,_0x6f962f,_0x1cc816),this['channel'][_0x441f96('0x152')](_0x441f96('0x1be'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x178')]=function(_0x4fc96d){const _0x1e6bc7=_0x470817;return logger['info'](util['format']('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x4fc96d[_0x1e6bc7('0x149')])),this[_0x1e6bc7('0xd')][_0x1e6bc7('0x152')](_0x1e6bc7('0x156'));},AGIVertices[_0x470817('0xd3')]['sendSMS']=function(_0x2139cd){const _0x476091=_0x470817;logger[_0x476091('0x1c9')](util['format'](_0x476091('0x1c5'),_0x2139cd[_0x476091('0x149')]));if(!this[_0x476091('0x160')](_0x2139cd['sms_account_id']))return this[_0x476091('0xd')][_0x476091('0x152')]('no\x20sms\x20account\x20configured');const _0x204e29=this[_0x476091('0x122')][_0x476091('0x106')](this,_0x2139cd[_0x476091('0x6')]);if(!_0x204e29)return this[_0x476091('0xd')][_0x476091('0x83')](_0x2139cd,'no\x20sms\x20account\x20found');const _0x22efa2={'body':_0x2139cd[_0x476091('0x1aa')],'phone':_0x2139cd['to']||'','SmsAccountId':_0x204e29['id']};return logger[_0x476091('0x85')](_0x476091('0x88'),JSON[_0x476091('0x1a4')](_0x22efa2)),this[_0x476091('0x1b9')][_0x476091('0x106')](this,_0x2139cd,_0x2139cd[_0x476091('0x6')]),this[_0x476091('0xd')]['noop'](util[_0x476091('0x95')]('Trying\x20SendSMS\x20with\x20account\x20%s',_0x204e29[_0x476091('0xa6')])),this[_0x476091('0x26')][_0x476091('0x106')](this,_0x22efa2),this[_0x476091('0xd')][_0x476091('0x152')](_0x476091('0x69'));},AGIVertices['prototype']['set']=function(_0x388700){const _0x20c7f4=_0x470817;logger[_0x20c7f4('0x1c9')](util[_0x20c7f4('0x95')](_0x20c7f4('0xa'),_0x388700[_0x20c7f4('0x149')]));if(!this['isConfigured'](_0x388700['variable_id']))return this['channel']['error'](_0x388700,_0x20c7f4('0x49'));const _0x1becbc=this[_0x20c7f4('0x97')][_0x20c7f4('0x106')](this,_0x388700[_0x20c7f4('0x34')]);if(!_0x1becbc)return this[_0x20c7f4('0xd')][_0x20c7f4('0x83')](_0x388700,_0x20c7f4('0x1ae'));return this[_0x20c7f4('0xd')]['setVariable'](_0x1becbc,_0x388700[_0x20c7f4('0x14')]);},AGIVertices[_0x470817('0xd3')]['start']=function(_0x277915){const _0x420aeb=_0x470817;logger[_0x420aeb('0x1c9')](util[_0x420aeb('0x95')](_0x420aeb('0x17b'),_0x277915[_0x420aeb('0x149')])),this[_0x420aeb('0xd')]['noop'](_0x420aeb('0x1e'));if(_0x277915[_0x420aeb('0x1f')]===_0x420aeb('0x8c'))return this[_0x420aeb('0xd')][_0x420aeb('0x152')](_0x420aeb('0xba')),this[_0x420aeb('0xd')][_0x420aeb('0x1f')]();return this[_0x420aeb('0xd')][_0x420aeb('0x152')](_0x420aeb('0x144'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x1ab')]=function(_0x50a892){const _0x169650=_0x470817;logger[_0x169650('0x1c9')](util['format'](_0x169650('0x10e'),_0x50a892['label']));if(!this[_0x169650('0x160')](_0x50a892['project_id']))return this['channel'][_0x169650('0x83')](_0x50a892,_0x169650('0xc6'));const _0x1d908b=this[_0x169650('0x6a')][_0x169650('0x106')](this,_0x50a892[_0x169650('0x82')]);if(!this[_0x169650('0x160')](_0x1d908b))return this[_0x169650('0xd')]['error'](_0x50a892,util[_0x169650('0x95')](_0x169650('0x1c2'),_0x50a892['project_id']));if(_0x1d908b===this[_0x169650('0xd')]['arg_1'])return this[_0x169650('0xd')][_0x169650('0x83')](_0x50a892,_0x169650('0x4c'));this[_0x169650('0x1b9')][_0x169650('0x106')](this,_0x50a892,_0x1d908b);const _0x1dfb83=this[_0x169650('0xd')][_0x169650('0x107')](_0x169650('0x182'),util[_0x169650('0x95')]('agi://%s/square,\x22%s\x22,\x22%s\x22',config['agi'][_0x169650('0x6e')]||_0x169650('0xc'),_0x1d908b,this[_0x169650('0xd')]['arg_1']));if(_0x1dfb83[_0x169650('0x12')]===-0x1)return _0x1dfb83;return this[_0x169650('0xd')]['noop'](util[_0x169650('0x95')]('Executed\x20command\x20%s\x20%s',_0x169650('0x182'),_0x1d908b));},AGIVertices[_0x470817('0xd3')][_0x470817('0x7a')]=function(_0x13e5e4){const _0x1f187e=_0x470817;logger[_0x1f187e('0x1c9')](util['format']('Enter\x20in\x20SYSTEM\x20(%s)\x20block',_0x13e5e4[_0x1f187e('0x149')]));const _0x3f5cd2=this[_0x1f187e('0x119')][_0x1f187e('0x106')](this,_0x13e5e4['command']);this[_0x1f187e('0x1b9')][_0x1f187e('0x106')](this,_0x13e5e4,_0x13e5e4[_0x1f187e('0xb7')]);if(this[_0x1f187e('0x160')](_0x13e5e4[_0x1f187e('0x34')])){const _0x20d737=this[_0x1f187e('0x97')][_0x1f187e('0x106')](this,_0x13e5e4['variable_id']);if(_0x20d737)return this['channel'][_0x1f187e('0xd1')](_0x20d737,_0x3f5cd2),this[_0x1f187e('0xd')][_0x1f187e('0x152')](util[_0x1f187e('0x95')](_0x1f187e('0x4a'),_0x13e5e4['command'],_0x20d737));}return this[_0x1f187e('0xd')]['noop'](util[_0x1f187e('0x95')](_0x1f187e('0x30'),_0x13e5e4[_0x1f187e('0xb7')]));},AGIVertices[_0x470817('0xd3')]['google_cloud_tts']=function(_0x21c0e3){const _0x50a4e5=_0x470817;logger[_0x50a4e5('0x1c9')](util[_0x50a4e5('0x95')](_0x50a4e5('0x3a'),_0x21c0e3[_0x50a4e5('0x149')])),_0x21c0e3[_0x50a4e5('0x1a')]=_0x21c0e3[_0x50a4e5('0x1a')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x50a4e5('0x160')](_0x21c0e3[_0x50a4e5('0x196')]))return this[_0x50a4e5('0xd')]['noop'](_0x50a4e5('0x1d'));if(!this[_0x50a4e5('0x160')](_0x21c0e3['text']))return this[_0x50a4e5('0xd')][_0x50a4e5('0x152')]('no\x20text\x20configured');this[_0x50a4e5('0xd')][_0x50a4e5('0x152')](util[_0x50a4e5('0x95')](_0x50a4e5('0x194'),_0x21c0e3[_0x50a4e5('0x1a')]));const _0x179161=this[_0x50a4e5('0x13f')][_0x50a4e5('0x106')](this,_0x21c0e3);if(_0x179161){this[_0x50a4e5('0xd')][_0x50a4e5('0x152')](util[_0x50a4e5('0x95')](_0x50a4e5('0x8b'),_0x179161));const _0x41fe4=this[_0x50a4e5('0xd')][_0x50a4e5('0xe1')](_0x179161);try{fs['unlink'](_0x179161+_0x50a4e5('0xf6'));}catch(_0x572eb4){logger[_0x50a4e5('0x83')](_0x572eb4);}return _0x41fe4;}return this[_0x50a4e5('0xd')]['error'](_0x21c0e3,_0x50a4e5('0x15'));},AGIVertices[_0x470817('0xd3')][_0x470817('0xe9')]=function(_0x5a28a8){const _0x234245=_0x470817;logger['info'](util['format']('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x5a28a8[_0x234245('0x149')])),_0x5a28a8[_0x234245('0x1a')]=_0x5a28a8[_0x234245('0x1a')][_0x234245('0xfd')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x234245('0x160')](_0x5a28a8['text']))return this['channel'][_0x234245('0x152')]('no\x20text\x20configured');this[_0x234245('0xd')][_0x234245('0x152')](util[_0x234245('0x95')](_0x234245('0x162'),_0x5a28a8[_0x234245('0x1a')]));const _0x414bb4=this[_0x234245('0xe6')][_0x234245('0x106')](this,_0x5a28a8);if(_0x414bb4){this[_0x234245('0xd')][_0x234245('0x152')](util[_0x234245('0x95')](_0x234245('0x17a'),_0x414bb4));const _0x23388b=this['channel']['streamFile'](_0x414bb4);try{fs[_0x234245('0x9f')](_0x414bb4+'.wav');}catch(_0x4f9823){logger[_0x234245('0x83')](_0x4f9823);}return _0x23388b;}return this[_0x234245('0xd')][_0x234245('0x83')](_0x5a28a8,_0x234245('0x187'));},AGIVertices[_0x470817('0xd3')][_0x470817('0x40')]=function(_0x7ec101){const _0x5c1b46=_0x470817;logger[_0x5c1b46('0x1c9')](util[_0x5c1b46('0x95')]('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x7ec101[_0x5c1b46('0x149')]));if(!this[_0x5c1b46('0x160')](_0x7ec101[_0x5c1b46('0x167')]))return this[_0x5c1b46('0xd')]['error'](_0x7ec101,_0x5c1b46('0xcd'));logger[_0x5c1b46('0x1c9')](util[_0x5c1b46('0x95')](_0x5c1b46('0x53'),this[_0x5c1b46('0xd')][_0x5c1b46('0xdf')],_0x7ec101[_0x5c1b46('0x167')]));const _0x265c59=this[_0x5c1b46('0x1ad')][_0x5c1b46('0x106')](this,_0x7ec101['findBy']);return _0x265c59?(logger['info'](util[_0x5c1b46('0x95')](_0x5c1b46('0x10a'),this[_0x5c1b46('0xd')]['callerid'],_0x7ec101['findBy'])),this['channel'][_0x5c1b46('0x152')](util[_0x5c1b46('0x95')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x5c1b46('0xd')][_0x5c1b46('0xdf')],_0x7ec101[_0x5c1b46('0x167')])),{'code':0xc8,'result':_0x5c1b46('0xf7')}):(logger[_0x5c1b46('0x1c9')](util[_0x5c1b46('0x95')](_0x5c1b46('0x155'),this['channel'][_0x5c1b46('0xdf')],_0x7ec101[_0x5c1b46('0x167')])),this['channel'][_0x5c1b46('0x152')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x5c1b46('0xd')][_0x5c1b46('0xdf')],_0x7ec101[_0x5c1b46('0x167')])),{'code':0xc8,'result':_0x5c1b46('0x191')});},AGIVertices['prototype']['voicemail']=function(_0x3493c8){const _0x55eff7=_0x470817;logger[_0x55eff7('0x1c9')](util[_0x55eff7('0x95')]('Enter\x20in\x20VOICEMAIL\x20(%s)\x20block',_0x3493c8[_0x55eff7('0x149')]));const _0x1e5c03=this[_0x55eff7('0xd')]['exec'](_0x55eff7('0x1c1'),[_0x3493c8['mailbox'],_0x3493c8['options']]);if(_0x1e5c03[_0x55eff7('0x12')]===-0x1)return _0x1e5c03;return this[_0x55eff7('0xd')][_0x55eff7('0x152')](util[_0x55eff7('0x95')](_0x55eff7('0x147'),_0x55eff7('0x1c1'),_0x3493c8['mailbox']));},AGIVertices[_0x470817('0xd3')]['vswitch']=function(_0x38451f){const _0x4bd1a1=_0x470817;logger[_0x4bd1a1('0x1c9')](util[_0x4bd1a1('0x95')](_0x4bd1a1('0xaa'),_0x38451f[_0x4bd1a1('0x149')]));if(!this[_0x4bd1a1('0x160')](_0x38451f[_0x4bd1a1('0x34')]))return this['channel'][_0x4bd1a1('0x83')](_0x38451f,_0x4bd1a1('0x49'));const _0x597366=this[_0x4bd1a1('0x97')][_0x4bd1a1('0x106')](this,_0x38451f[_0x4bd1a1('0x34')]);if(!_0x597366)return this[_0x4bd1a1('0xd')][_0x4bd1a1('0x83')](_0x38451f,_0x4bd1a1('0x1ae'));const _0x3355ec=this['channel'][_0x4bd1a1('0x97')](_0x597366);return{'code':0xc8,'result':_0x3355ec[_0x4bd1a1('0x2c')]?_0x3355ec[_0x4bd1a1('0x2c')]:'-'};},String[_0x470817('0xd3')][_0x470817('0x5d')]=function(_0x545c86,_0x2219d6){const _0x40afe1=_0x470817;return this[_0x40afe1('0x3')](_0x545c86)[_0x40afe1('0x7f')](_0x2219d6);},module[_0x470817('0xef')]=AGIVertices;
\ No newline at end of file