Built motion from commit 4a18b36e645f5fa4a517d36f9783bde259878164. Version 3.0.0...
[motion-next.git] / server / services / agi / vertices.js
index 5e8d904..e695d2b 100644 (file)
@@ -1 +1 @@
-const a1048_0xab77=['googleCloudTTS','pause_id','sayNumber','googleDialogflow','keys','Google\x20TTS\x20is\x20unreachable','Smtp','login','%s/%s@from-sip/n','Sms\x20message\x20added\x20to\x20outgoing\x20process','restAPI','macro','MALE','Enter\x20in\x20QUEUE\x20(%s)\x20block','Callback\x20scheduled\x20at\x20','goal','no\x20find\x20by\x20configured','text','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','format','aws_bot_name','sendSMS','delay','sayDigits','sync','sendSMS\x20message','getSoundPath','Enter\x20in\x20RESTAPI\x20(%s)\x20block','Enter\x20in\x20AGI\x20(%s)\x20block','restapi','file_id','odbc_id','position','calleridname','no\x20appsecret\x20configured','list_id','finally','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','SIP/%s/%s','Enter\x20in\x20MATH\x20(%s)\x20block','mustache','Enter\x20in\x20SWITCH\x20(%s)\x20block','number','authentication','maxdigit','opts','password','127.0.0.1','then','SestekNDA\x20Result\x20%s','email','no\x20sms\x20account\x20configured','no\x20apiKey\x20configured','gosub','bot','no\x20queue\x20selected','AGENT\x20%s\x20FOUND\x20BY','isEmpty','getIntervals','no\x20text\x20configured','no\x20url\x20configured','getVariable','.wav','no\x20ndauth\x20url\x20configured','getVoiceQueue','agi','findBy','port','TildeASR\x20Result\x20%s','getSmsAccountById','user','info','GoogleASR\x20Result\x20%s','agentPause','Trying\x20aws\x20Polly\x20%s','sh\x20command:\x20%s\x20result\x20no\x20stored','RECOG_CONFIDENCE()','Trying\x20SendMail\x20with\x20account\x20%s','getMailAccount','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','uri','SENDFAX\x20block\x20not\x20implemented','no\x20anguage\x20configured','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','sip_id','agent','%s[%s][%s]','getAndSetVariable','no\x20trunk\x20selected','no\x20key\x20configured','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','command','replaceAllVariables','getSquareProjectById','getQueryOdbc','replace','PUT','method','tildeasr','dial','variable_id','Recording\x20%s\x20%s\x20%s\x20%s','true','queue_id','getsecretdigits','Enter\x20in\x20RECORD\x20(%s)\x20block','Enter\x20in\x20GOTOIF\x20(%s)\x20block','client_email','no\x20password\x20configured','Query\x20executed\x20correctly\x20%s','grammar','secure','indexOf','Enter\x20in\x20TILDEASR\x20(%s)\x20block','googleasr','createCmContact','forEach','pause','%s_ROWS_COUNT','Wait\x20%s\x20seconds\x20before\x20answer','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','close','hiddendigitsnum','createSmsMessage','stringify','saydigits','interval_id','recursiveNodeIndex','false','first','lumenvoxtts','url','ispeechASR','Executed\x20command\x20MRCPRecog\x20%s','getPause','application','project_id','name','agentUnpause','VOICEMAIL','DIAL','condition','no\x20sms\x20account\x20found','AWS_LEX_%s','getUserById','Enter\x20in\x20GOTO\x20(%s)\x20block','phone','variable\x20%s\x20set','PLAYBACK','includes','agi://%s/square,\x22%s\x22,\x22%s\x22','render','Trying\x20SestekNDA:\x20%s','isConfigured','callback_priority','XMCS-QUEUE','Enter\x20in\x20LOGOUT\x20(%s)\x20block','answer','streamFile','retry','queue','end','no\x20user\x20selected','split','Trying\x20DialogflowV2:\x20%s','getSound','Enter\x20in\x20SET\x20(%s)\x20block','no\x20odbc\x20database\x20found','getPauseById','./scripts','extension','../../config/environment','en-US','username','clone','no\x20mail\x20account\x20configured','logout','awsPolly','no\x20operation\x20configured','inspect','args','add','timeout','Enter\x20in\x20SYSTEM\x20(%s)\x20block','EVAL\x20CONDITION\x20%s\x20%s','QUEUE','wav','/var/opt/motion2/server/files','toUpperCase','Enter\x20in\x20DATABASE\x20(%s)\x20block','getSquareProject','statusCode','odbc','tildeASR','beep','getSmsAccount','sendMailMessage','account_id','getUser','arg_1','sendMail\x20message','ndassistant_url','no\x20variable\x20selected','no\x20interval\x20configured','generate','minutes','exec','continueAt','RECOG_INSTANCE()','LUMENVOX_ASR_INSTANCE','sestekNDA','math\x20%s','failure','mrcprecog','Sestek\x20NDA\x20%s\x20file\x20created','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','Trying\x20Google\x20TTS\x20%s','moment','Mail\x20message\x20added\x20to\x20outgoing\x20process','no\x20variable\x20selected\x20for\x20the\x20response','mailRpc','dialogflow','sayphonetic','DIALOGFLOW_%s','callback','hangup','TILDE_ASR_%s','Enter\x20in\x20PAUSE\x20(%s)\x20block','no\x20variable\x20selected\x20for\x20the\x20result','saynumber','isNil','500\x20-\x20Internal\x20Server\x20Error','rawBody','audiofile','no\x20queue\x20found','join','isString','headers','agicommand','response','RECOG_INPUT()','ODBC\x20connection\x20successfully','Executed\x20command\x20%s','system','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','amazonlex','operation','substr','googleASR','no\x20list\x20selected','start','random','out','Answer','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','no\x20file\x20audio\x20found','MRCP_RECOG_CONFIDENCE','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','variable\x20%s[key]\x20set','replaceAll','file','digits','Google\x20Cloud\x20TTS\x20is\x20unreachable','service','ispeech_tts_language','Trying\x20SendSMS\x20with\x20account\x20%s','Dialogflow\x20Result\x20%s','apiKey','save_name','host','Enter\x20in\x20END\x20(%s)\x20block','providerResponse','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','getVariableById','Amazon\x20Lex\x20Result\x20%s','menu','isArray','googleDialogflowV2','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','gotoif','Dialogflow\x20is\x20unreachable','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','auth','unlink','google_tts_language','languageCode','LUMENVOX_ASR_CONFIDENCE','googleTTS','private_key','Intervals','getData','trunk_name','lodash','aws_secret_access_key','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','test','getVoiceQueueById','exports','tilde\x20%s\x20file\x20created','Enter\x20in\x20DIAL\x20(%s)\x20block','SESTEK_ASR_TRANSCRIPT','MRCPRecog','FIND\x20AGENT\x20%s\x20BY\x20%s','custom_app','set','parse','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','SESTEK_ASR_INSTANCE','catch','getTrunkById','IFTIME\x20%s\x20%s','Error\x20closing\x20connection\x20to\x20odbc\x20%s','Enter\x20in\x20FINALLY\x20(%s)\x20block','yes','LUMENVOX_ASR_TRANSCRIPT','prototype','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','getIntervalById','debug','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','POST','ispeechTTS','context','speed','appsecret','toString','subject','MRCPSynth','createSquareMessage','NOBEEP','result','mrcpsynth','gotoc','createSquareRecording','speech','rpc','statusMessage','IspeechASR\x20Result\x20%s','setVariable','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','label','LOCAL','trim','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','no\x20user\x20found','lastName','mindigit','getTrunk','intKey','dialogflowV2_project_id','createSquareDetailsReport','SIP/%s','Enter\x20in\x20GOAL\x20(%s)\x20block','google_cloud_tts','Trying\x20Amazon\x20Lex:\x20%s','length','error','SESTEK_ASR_CONFIDENCE','trunk_id','google_asr_language','extra','aws_polly_voice','agentLogin','Executed\x20command\x20MRCPSynth\x20%s','isPlainObject','sesteknda','IntervalId','undefined','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','Trying\x20ispeech\x20TTS\x20%s','voicemail','sestekasr','dnid','output','key','sms_account_id','Skipped\x20Answer','Amazon\x20Lex\x20ready\x20for\x20fulfillment','%s[%s]','mailbox','sestektts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','vswitch','util','aws_text_type','computedVariables','maxRetry','no\x20grammar\x20configured','aws_lex_region','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','pass','options','AGI','%s_%s','Enter\x20in\x20SENDSMS\x20(%s)\x20block','DialogflowV2\x20Result\x20%s','noop','goalname','body','message','no\x20variable\x20found','Trying\x20Dialogflow:\x20%s','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','../../config/logger','tts','Enter\x20in\x20HANGUP\x20(%s)\x20block','math','%s_STATUS_MESSAGE','clear','google\x20%s\x20file\x20created','callerid','ispeech\x20%s\x20file\x20created','shellCommand','replaceObjectAllVariables','%s/recordings/%s','Amazon\x20Lex\x20is\x20unreachable','no\x20username\x20configured','no\x20valid\x20credentials\x20configured','scheduledAt','bcc','channel','no\x20file\x20audio\x20selected','%s.%s','getdigits','uniqueid','template_id','appid','model','AGENT\x20%s\x20NOT\x20FOUND\x20BY','recordFile','ISPEECH_ASR_%s','getSoundById','awsLex','%s/sounds/converted/%s','Enter\x20in\x20CALLBACK\x20(%s)\x20block','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','no\x20database\x20selected','Response:','query','priority','rawHeaders','no\x20client_email\x20configured','ispeech_asr_language','Executed\x20command\x20%s\x20%s','toLowerCase','aws_access_key_id','agentLogout','escape_digits','playback','ispeech\x20TTS\x20is\x20unreachable','dialogflowV2_language','Enter\x20in\x20START\x20(%s)\x20block','Enter\x20in\x20MENU\x20(%s)\x20block','randomstring','shelljs','saveRestApiResult','getMailAccountById','success','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','gotoiftime','Enter\x20in\x20DIALOGFLOW\x20V2\x20(%s)\x20block','digit','unpause','dialogflowV2','Enter\x20in\x20ANSWER\x20(%s)\x20block'];(function(_0x212946,_0xab7717){const _0x1aef53=function(_0x41214b){while(--_0x41214b){_0x212946['push'](_0x212946['shift']());}};_0x1aef53(++_0xab7717);}(a1048_0xab77,0x197));const a1048_0x1aef=function(_0x212946,_0xab7717){_0x212946=_0x212946-0x0;let _0x1aef53=a1048_0xab77[_0x212946];return _0x1aef53;};const _0x4d5af2=a1048_0x1aef;'use strict';const fs=require('fs'),util=require(_0x4d5af2('0x1c1')),_=require(_0x4d5af2('0x164')),sh=require(_0x4d5af2('0x33')),odbc=require(_0x4d5af2('0xff')),rs=require(_0x4d5af2('0x32')),moment=require(_0x4d5af2('0x118')),Mustache=require(_0x4d5af2('0x67')),rp=require('request-promise-native'),logger=require(_0x4d5af2('0x0'))(_0x4d5af2('0x80')),config=require(_0x4d5af2('0xea')),scripts=require(_0x4d5af2('0xe8')),FILES_PATH=_0x4d5af2('0xfa'),recursiveMapAttributes=[_0x4d5af2('0x25'),_0x4d5af2('0x127')],verticesWithRetry=[_0x4d5af2('0x153'),_0x4d5af2('0x14'),_0x4d5af2('0xa7')],AGIVertices=function(_0x41214b,_0x1af6c0,_0x1a56ad){const _0x21a9fb=_0x4d5af2;this[_0x21a9fb('0x11')]=_0x41214b,this[_0x21a9fb('0x190')]=_0x1af6c0,this[_0x21a9fb('0x11b')]=_0x1a56ad;};AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x7c')]=function(_0x52e03c,_0x2285ab){const _0x4007ad=_0x4d5af2;this[_0x4007ad('0x190')][_0x4007ad('0x151')](_0x52e03c)[_0x4007ad('0x6f')](function(_0x35d05e){const _0x3d7b26=_0x4007ad;_0x2285ab(null,_0x35d05e?_0x35d05e[_0x3d7b26('0xc8')]:![]);})[_0x4007ad('0x174')](function(_0xb72d98){_0x2285ab(_0xb72d98);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x7f')]=function(_0x291420,_0x5af553){const _0x4bf528=_0x4d5af2;this[_0x4bf528('0x190')][_0x4bf528('0x168')](_0x291420)[_0x4bf528('0x6f')](function(_0x477adb){_0x5af553(null,_0x477adb?_0x477adb['name']:![]);})[_0x4bf528('0x174')](function(_0x41de6e){_0x5af553(_0x41de6e);});},AGIVertices['prototype']['getSquareProject']=function(_0x1b21bd,_0x2005da){const _0x24245e=_0x4d5af2;this[_0x24245e('0x190')][_0x24245e('0x9c')](_0x1b21bd)[_0x24245e('0x6f')](function(_0x5b2f43){const _0x56e620=_0x24245e;_0x2005da(null,_0x5b2f43?_0x5b2f43[_0x56e620('0xc8')]:![]);})[_0x24245e('0x174')](function(_0x4230c9){_0x2005da(_0x4230c9);});},AGIVertices['prototype']['getSquareOdbc']=function(_0x3c666f,_0x101be6){const _0x3ab6b5=_0x4d5af2;this['rpc']['getSquareOdbcById'](_0x3c666f)[_0x3ab6b5('0x6f')](function(_0x3916d1){_0x101be6(null,_0x3916d1?_0x3916d1['dsn']:![]);})[_0x3ab6b5('0x174')](function(_0x171f67){_0x101be6(_0x171f67);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x105')]=function(_0x4dea49,_0x4f433e){const _0x23e456=_0x4d5af2;this[_0x23e456('0x190')][_0x23e456('0xcf')](_0x4dea49)['then'](function(_0xade9a2){const _0x586a9b=_0x23e456;_0x4f433e(null,_0xade9a2?_0xade9a2[_0x586a9b('0xc8')]:![]);})[_0x23e456('0x174')](function(_0x4911ec){_0x4f433e(_0x4911ec);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x19d')]=function(_0x13a9c9,_0xba4ab5){const _0x3eb357=_0x4d5af2;this[_0x3eb357('0x190')][_0x3eb357('0x175')](_0x13a9c9)[_0x3eb357('0x6f')](function(_0x25664e){const _0x3dbfdd=_0x3eb357;_0xba4ab5(null,_0x25664e?_0x25664e[_0x3dbfdd('0xc8')]:![]);})[_0x3eb357('0x174')](function(_0x534307){_0xba4ab5(_0x534307);});},AGIVertices['prototype']['getSound']=function(_0x46909b,_0xbecbea){const _0x322f24=_0x4d5af2,_0x5dc45e=this;this[_0x322f24('0x190')][_0x322f24('0x1c')](_0x46909b)['then'](function(_0x57e0a9){const _0x3a005d=_0x322f24;_0xbecbea(null,_0x57e0a9?_0x5dc45e[_0x3a005d('0x59')](_0x57e0a9[_0x3a005d('0x14b')]):![]);})['catch'](function(_0x33c85){_0xbecbea(_0x33c85);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x8d')]=function(_0x1d8a11,_0x31d5ec){const _0x377503=_0x4d5af2;this['rpc'][_0x377503('0x35')](_0x1d8a11)[_0x377503('0x6f')](function(_0x318c1f){_0x31d5ec(null,_0x318c1f?_0x318c1f:![]);})[_0x377503('0x174')](function(_0x2f28d8){_0x31d5ec(_0x2f28d8);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x103')]=function(_0x37eb1e,_0x5b5637,_0x288d58){const _0x5292bb=_0x4d5af2;this['mailRpc'][_0x5292bb('0x103')](_0x37eb1e,_0x5b5637)[_0x5292bb('0x6f')](function(){_0x288d58(null);})[_0x5292bb('0x174')](function(_0x261614){_0x288d58(_0x261614);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x79')]=function(_0x1632a2,_0x1399ee){const _0x5a2336=_0x4d5af2;this['rpc'][_0x5a2336('0x17d')](_0x1632a2)[_0x5a2336('0x6f')](function(_0x2be2b0){const _0x52d5ea=_0x5a2336;_0x2be2b0?_0x2be2b0[_0x52d5ea('0x1b0')]?_0x1399ee(null,[_0x2be2b0['interval']]):_0x1399ee(null,_['map'](_0x2be2b0[_0x52d5ea('0x161')],'interval')):_0x1399ee(null,![]);})[_0x5a2336('0x174')](function(_0x281ea6){_0x1399ee(_0x281ea6);});},AGIVertices['prototype'][_0x4d5af2('0x59')]=function(_0x189889){const _0x204dfe=_0x4d5af2;return util[_0x204dfe('0x52')](_0x204dfe('0x1e'),FILES_PATH,_0x189889);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x9d')]=function(_0x1fdf25,_0x19ec6f,_0x15ef7d){odbc['open'](_0x1fdf25,function(_0x5932ca){const _0xa8bbdc=a1048_0x1aef;_0x5932ca?(logger['error']('Error\x20getting\x20ODBC\x20connection\x20%s',_0x5932ca),_0x15ef7d(_0x5932ca)):(logger['info'](_0xa8bbdc('0x130')),odbc[_0xa8bbdc('0x23')](_0x19ec6f,function(_0x81d49,_0x5ad3c4){const _0x1696ee=_0xa8bbdc;_0x81d49?(logger['info']('Error\x20executing\x20query\x20%s',_0x19ec6f),_0x15ef7d(_0x81d49)):(logger['info'](_0x1696ee('0xac'),_0x19ec6f),odbc[_0x1696ee('0xb8')](function(_0x441ade){const _0xad2e7a=_0x1696ee;_0x441ade&&logger[_0xad2e7a('0x1a6')](_0xad2e7a('0x177'),_0x441ade),_0x15ef7d(null,_0x5ad3c4);}));}));});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x102')]=function(_0x2426bd,_0x1bfd94){const _0x53e96c=_0x4d5af2;this[_0x53e96c('0x190')][_0x53e96c('0x84')](_0x2426bd)[_0x53e96c('0x6f')](function(_0x3bea56){_0x1bfd94(null,_0x3bea56?_0x3bea56:![]);})[_0x53e96c('0x174')](function(_0x1b4788){_0x1bfd94(_0x1b4788);});},AGIVertices['prototype']['createSmsMessage']=function(_0x1cd259,_0x2929e6){const _0x5162ef=_0x4d5af2;this[_0x5162ef('0x190')]['createSmsMessage'](_0x1cd259)[_0x5162ef('0x6f')](function(_0x38204e){_0x2929e6(null,_0x38204e);})[_0x5162ef('0x174')](function(_0x405579){_0x2929e6(_0x405579);});},AGIVertices['prototype']['createSquareDetailsReport']=function(_0x70ee8c,_0x3e10e2,_0x273a6e){const _0x565b14=_0x4d5af2;this[_0x565b14('0x190')][_0x565b14('0x1a0')]({'uniqueid':this['channel'][_0x565b14('0x15')],'node':_0x70ee8c[_0x565b14('0x196')],'application':_0x70ee8c[_0x565b14('0x12d')],'data':_0x3e10e2||null,'project_name':this[_0x565b14('0x11')][_0x565b14('0x106')],'callerid':this['channel'][_0x565b14('0x7')]})[_0x565b14('0x6f')](function(_0x3c8a41){_0x273a6e&&_0x273a6e(null,_0x3c8a41);})[_0x565b14('0x174')](function(_0x4aaa67){_0x273a6e&&_0x273a6e(_0x4aaa67);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x18e')]=function(_0x2c1f2b,_0x2fbae0,_0x1f93da,_0x2878d1){const _0x1ac6c0=_0x4d5af2;this[_0x1ac6c0('0x190')][_0x1ac6c0('0x18e')]({'uniqueid':this[_0x1ac6c0('0x11')][_0x1ac6c0('0x15')],'callerid':this[_0x1ac6c0('0x11')]['callerid'],'calleridname':this['channel'][_0x1ac6c0('0x60')],'context':this['channel'][_0x1ac6c0('0x183')],'extension':this[_0x1ac6c0('0x11')]['extension'],'priority':this[_0x1ac6c0('0x11')][_0x1ac6c0('0x24')],'accountcode':this[_0x1ac6c0('0x11')]['accountcode'],'dnid':this['channel'][_0x1ac6c0('0x1b6')],'projectName':this['channel']['arg_1'],'saveName':_0x2fbae0,'filename':_0x2c1f2b[_0x1ac6c0('0x143')]||_0x2fbae0,'savePath':_0x1f93da})[_0x1ac6c0('0x6f')](function(_0x3f6121){_0x2878d1(null,_0x3f6121);})[_0x1ac6c0('0x174')](function(_0x3714b2){_0x2878d1(_0x3714b2);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x189')]=function(_0x26433b,_0x1327ce,_0x53eaab,_0x33538b,_0x58cd97){const _0x25a41d=_0x4d5af2;this[_0x25a41d('0x190')][_0x25a41d('0x189')]({'uniqueid':this[_0x25a41d('0x11')][_0x25a41d('0x15')],'body':_0x26433b,'direction':_0x1327ce,'providerName':_0x53eaab,'providerResponse':_0x33538b})[_0x25a41d('0x6f')](function(_0xd82b62){_0x58cd97&&_0x58cd97(null,_0xd82b62);})[_0x25a41d('0x174')](function(_0x1445d3){_0x58cd97&&_0x58cd97(_0x1445d3);});},AGIVertices['prototype']['createCmContact']=function(_0x5f41d8,_0x1782d2){const _0x2276bf=_0x4d5af2;this[_0x2276bf('0x190')]['createCmContact']({'firstName':_[_0x2276bf('0x78')](_0x5f41d8[_0x2276bf('0xc8')])||_[_0x2276bf('0x125')](_0x5f41d8[_0x2276bf('0xc8')])?'callback_'+Math[_0x2276bf('0x13a')]():_0x5f41d8[_0x2276bf('0xc8')],'lastName':_[_0x2276bf('0x78')](_0x5f41d8[_0x2276bf('0x19b')])||_['isNil'](_0x5f41d8['lastName'])?null:_0x5f41d8[_0x2276bf('0x19b')],'phone':_0x5f41d8['phone'],'ListId':_0x5f41d8['list_id'],'scheduledat':_0x5f41d8[_0x2276bf('0xf')],'callbackUniqueid':this[_0x2276bf('0x11')][_0x2276bf('0x15')],'tags':_0x2276bf('0x11f'),'description':_0x2276bf('0x4c')+_0x5f41d8['scheduledAt'][_0x2276bf('0x186')](),'priority':_0x5f41d8[_0x2276bf('0xd9')]})[_0x2276bf('0x6f')](function(_0x156001){_0x1782d2(null,_0x156001);})[_0x2276bf('0x174')](function(_0xa18d8f){_0x1782d2(_0xa18d8f);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xc5')]=function(_0x915b22,_0x3010ad){const _0xfd0c6d=_0x4d5af2;this[_0xfd0c6d('0x190')][_0xfd0c6d('0xe7')](_0x915b22)[_0xfd0c6d('0x6f')](function(_0x302fcf){const _0x229631=_0xfd0c6d;_0x3010ad(null,_0x302fcf?_0x302fcf[_0x229631('0xc8')]:![]);})[_0xfd0c6d('0x174')](function(_0x55d4e2){_0x3010ad(_0x55d4e2);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x88')]=function(_0x189818,_0x3d8848,_0x2a1f97){const _0x1ebb11=_0x4d5af2,_0xa66d44={'role':'agent'};_0xa66d44[_0x189818]=this[_0x1ebb11('0x11')]['callerid'],this[_0x1ebb11('0x190')][_0x1ebb11('0x88')](_0xa66d44,_0x3d8848,this[_0x1ebb11('0x11')][_0x1ebb11('0x15')])[_0x1ebb11('0x6f')](function(_0x1f2a98){_0x2a1f97(null,_['isNil'](_0x1f2a98)?![]:!![]);})['catch'](function(_0x421e1f){logger['error'](_0x421e1f),_0x2a1f97(null,![]);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xc9')]=function(_0x16bc41,_0x261c64){const _0x214bf2=_0x4d5af2,_0x40c6b3={'role':'agent'};_0x40c6b3[_0x16bc41]=this['channel'][_0x214bf2('0x7')],this[_0x214bf2('0x190')][_0x214bf2('0xc9')](_0x40c6b3)[_0x214bf2('0x6f')](function(_0x14b9fa){const _0xc6dbf2=_0x214bf2;_0x261c64(null,_[_0xc6dbf2('0x125')](_0x14b9fa)?![]:!![]);})[_0x214bf2('0x174')](function(_0xc0507a){logger['error'](_0xc0507a),_0x261c64(null,![]);});},AGIVertices['prototype'][_0x4d5af2('0x2b')]=function(_0x55c515,_0xcd6dc0){const _0x406324=_0x4d5af2,_0x515bcf={'role':_0x406324('0x94')};_0x515bcf[_0x55c515]=this[_0x406324('0x11')][_0x406324('0x7')],this[_0x406324('0x190')][_0x406324('0x2b')](_0x515bcf)[_0x406324('0x6f')](function(_0xd5f1ab){const _0x599229=_0x406324;_0xcd6dc0(null,_[_0x599229('0x125')](_0xd5f1ab)?![]:!![]);})['catch'](function(_0x3ae467){logger['error'](_0x3ae467),_0xcd6dc0(null,![]);});},AGIVertices[_0x4d5af2('0x17b')]['agentLogin']=function(_0x14d3a0,_0x530109){const _0x2ffc04=_0x4d5af2,_0xf0b95={'role':_0x2ffc04('0x94')};_0xf0b95[_0x14d3a0]=this['channel'][_0x2ffc04('0x7')];const _0x1ac15b=_0x14d3a0!='internal'?util[_0x2ffc04('0x52')](_0x2ffc04('0x46'),_0x2ffc04('0x197'),this[_0x2ffc04('0x11')][_0x2ffc04('0x7')]):undefined;this['rpc'][_0x2ffc04('0x1ac')](_0xf0b95,_0x1ac15b)[_0x2ffc04('0x6f')](function(_0x286a85){_0x530109(null,_['isNil'](_0x286a85)?![]:!![]);})[_0x2ffc04('0x174')](function(_0xbe1de5){const _0x3a1f5a=_0x2ffc04;logger[_0x3a1f5a('0x1a6')](_0xbe1de5),_0x530109(null,![]);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x9')]=function(_0x52ff2b,_0x2f6a71){const _0x51bc82=_0x4d5af2;sh[_0x51bc82('0x10d')](_[_0x51bc82('0x198')](_0x52ff2b),function(_0x441418,_0xdebf9b){const _0x3d700c=_0xdebf9b['replace'](/(\r\n|\n|\r)/gm,'');_0x2f6a71(null,_0x3d700c);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x3e')]=function(_0x52668e,_0x170d1c){const _0x4cd41f=_0x4d5af2;scripts['googleCloudTTS'](_0x52668e[_0x4cd41f('0x14a')],_0x52668e['google_cloud_tts_text_type']||_0x4cd41f('0x4f'),_0x52668e[_0x4cd41f('0x4f')],_0x52668e[_0x4cd41f('0x15d')]||_0x4cd41f('0xeb'),_0x52668e['ssmlGender']||_0x4cd41f('0x4a'),_0x52668e['audioEncoding']||'MP3')['then'](function(_0x4fd55e){_0x170d1c(null,_0x4fd55e);})[_0x4cd41f('0x174')](function(_0x2baad8){_0x170d1c(_0x2baad8);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x15f')]=function(_0x319435,_0x28ea60){const _0x119566=_0x4d5af2;scripts[_0x119566('0x15f')](_0x319435[_0x119566('0x4f')],_0x319435[_0x119566('0x15c')]||'en',0x1)[_0x119566('0x6f')](function(_0x492c4b){_0x28ea60(null,_0x492c4b);})[_0x119566('0x174')](function(_0x2cfcce){_0x28ea60(_0x2cfcce);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x48')]=function(_0x283741,_0x1d1a87){const _0x425607=_0x4d5af2,_0x42fe85={'uri':_0x283741[_0x425607('0xc2')],'method':_0x283741[_0x425607('0xa0')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x283741[_0x425607('0xf5')])===_0x425607('0x69')&&parseInt(_0x283741['timeout'])>=0x1?parseInt(_0x283741[_0x425607('0xf5')])*0x3e8:0x5*0x3e8};if(_[_0x425607('0xd4')]([_0x425607('0x181'),_0x425607('0x9f')],_0x42fe85[_0x425607('0xa0')][_0x425607('0xfb')]()))try{_0x42fe85[_0x425607('0x1d0')]=_0x283741[_0x425607('0x127')]?JSON['parse'](_0x283741[_0x425607('0x127')]):{};}catch(_0x4d5c21){logger[_0x425607('0x1a6')](_0x425607('0x1b2'),_0x4d5c21);}try{_0x42fe85[_0x425607('0x12c')]=_0x283741[_0x425607('0x25')]?JSON['parse'](_0x283741[_0x425607('0x25')]):{};}catch(_0x1c3778){logger[_0x425607('0x1a6')](_0x425607('0x17c'),_0x1c3778);}if(_0x283741[_0x425607('0x1c3')])try{const _0x26a683=require(_0x283741[_0x425607('0x1c3')])['sync'](this,_0x42fe85);_0x42fe85[_0x425607('0x8f')]=Mustache[_0x425607('0xd6')](_0x283741[_0x425607('0xc2')],_0x26a683,{},['$$','$$']),_0x42fe85[_0x425607('0x12c')]&&(_0x42fe85[_0x425607('0x12c')]=JSON[_0x425607('0x171')](Mustache['render'](JSON[_0x425607('0xbb')](_0x42fe85[_0x425607('0x12c')]),_0x26a683,{},['$$','$$']))),_0x42fe85[_0x425607('0x1d0')]&&(_0x42fe85['body']=JSON[_0x425607('0x171')](Mustache['render'](JSON['stringify'](_0x42fe85[_0x425607('0x1d0')]),_0x26a683,{},['$$','$$'])));}catch(_0x4c31eb){logger['error'](_0x425607('0x116'),_0x4c31eb);}rp(_0x42fe85)[_0x425607('0x6f')](function(_0x12fae2){const _0x2c95aa=_0x425607,_0x2e1ac2={'statusCode':_0x12fae2[_0x2c95aa('0xfe')]||0xc8,'statusMessage':_0x12fae2[_0x2c95aa('0x191')]||'OK','headers':_0x12fae2[_0x2c95aa('0x12c')]||{},'body':_0x12fae2[_0x2c95aa('0x1d0')]||{}};_0x1d1a87(null,_0x2e1ac2);})[_0x425607('0x174')](function(_0x3e7503){const _0x369751=_0x425607,_0x2716bd={'statusCode':_0x3e7503['statusCode']||0x1f4,'statusMessage':_0x3e7503[_0x369751('0x1d1')]||_0x369751('0x126'),'headers':_0x3e7503[_0x369751('0x1c9')][_0x369751('0x12c')]||{},'body':_0x3e7503[_0x369751('0x1c9')][_0x369751('0x1d0')]||{}};_0x1d1a87(null,_0x2716bd);});},AGIVertices[_0x4d5af2('0x17b')]['googleDialogflow']=function(_0x2f09e0,_0x37483c){const _0x2da728=_0x4d5af2;scripts[_0x2da728('0x41')](this[_0x2da728('0x11')]['uniqueid'],_0x2f09e0[_0x2da728('0x1b8')],_0x2f09e0[_0x2da728('0x4f')],_0x2f09e0['dialogflow_language']||'en')[_0x2da728('0x6f')](function(_0x39f0fa){_0x37483c(null,_0x39f0fa);})['catch'](function(_0x2b5475){_0x37483c(_0x2b5475);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x155')]=function(_0x532ae7,_0x5695a7){const _0x11ceb2=_0x4d5af2;scripts[_0x11ceb2('0x155')](this['channel']['uniqueid'],_0x532ae7['dialogflowV2_project_id'],_0x532ae7[_0x11ceb2('0xaa')],_0x532ae7[_0x11ceb2('0x160')],_0x532ae7[_0x11ceb2('0x4f')],_0x532ae7['dialogflowV2_language']||'en')[_0x11ceb2('0x6f')](function(_0x24fff9){_0x5695a7(null,_0x24fff9);})[_0x11ceb2('0x174')](function(_0x17116c){_0x5695a7(_0x17116c);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x111')]=function(_0x26d015,_0x420316){const _0x33230a=_0x4d5af2;scripts['sestekNDA'](this[_0x33230a('0x11')],_0x26d015)[_0x33230a('0x6f')](function(_0x10de5c){_0x420316(null,_0x10de5c);})[_0x33230a('0x174')](function(_0x57d5e6){_0x420316(_0x57d5e6);});},AGIVertices[_0x4d5af2('0x17b')]['ispeechTTS']=function(_0x139927,_0x5d7f9c){const _0x5848d0=_0x4d5af2;scripts['ispeechTTS'](_0x139927[_0x5848d0('0x1b8')],_0x139927[_0x5848d0('0x4f')],_0x139927[_0x5848d0('0x147')]||'en-US',_0x139927[_0x5848d0('0x184')])[_0x5848d0('0x6f')](function(_0x2ae508){_0x5d7f9c(null,_0x2ae508);})[_0x5848d0('0x174')](function(_0x3b367c){_0x5d7f9c(_0x3b367c);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xc3')]=function(_0xc5e365,_0x499623,_0x147b39){const _0x3155b5=_0x4d5af2;scripts[_0x3155b5('0xc3')](_0x499623,_0xc5e365['key'],_0xc5e365[_0x3155b5('0x27')]||_0x3155b5('0xeb'),this[_0x3155b5('0xd8')](_0xc5e365[_0x3155b5('0x18')])?_0xc5e365[_0x3155b5('0x18')]:undefined)[_0x3155b5('0x6f')](function(_0x1ba611){_0x147b39(null,_0x1ba611);})[_0x3155b5('0x174')](function(_0x4b77b1){_0x147b39(_0x4b77b1);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xf0')]=function(_0x1517e2,_0x318070){const _0x284447=_0x4d5af2;scripts[_0x284447('0xf0')](_0x1517e2[_0x284447('0x2a')],_0x1517e2[_0x284447('0x165')],_0x1517e2['aws_polly_region'],_0x1517e2[_0x284447('0x1ab')]||'Amy',_0x1517e2[_0x284447('0x4f')],_0x1517e2[_0x284447('0x1c2')]||_0x284447('0x4f'))[_0x284447('0x6f')](function(_0x527896){_0x318070(null,_0x527896);})[_0x284447('0x174')](function(_0x2d6f43){_0x318070(_0x2d6f43);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x1d')]=function(_0x67ac7e,_0x3c97a7){const _0x3e7fd9=_0x4d5af2;scripts['awsLex'](this[_0x3e7fd9('0x11')][_0x3e7fd9('0x15')],_0x67ac7e[_0x3e7fd9('0x2a')],_0x67ac7e['aws_secret_access_key'],_0x67ac7e[_0x3e7fd9('0x1c6')],_0x67ac7e[_0x3e7fd9('0x4f')],_0x67ac7e['aws_bot_name'])['then'](function(_0x2c3c69){_0x3c97a7(null,_0x2c3c69);})[_0x3e7fd9('0x174')](function(_0x170d8e){_0x3c97a7(_0x170d8e);});},AGIVertices['prototype'][_0x4d5af2('0x137')]=function(_0x5db1dc,_0x33053c,_0x504f86){const _0x3beea7=_0x4d5af2;scripts[_0x3beea7('0x137')](_0x33053c,_0x5db1dc[_0x3beea7('0x1b8')],_0x5db1dc[_0x3beea7('0x1a9')]||_0x3beea7('0xeb'))['then'](function(_0x153524){_0x504f86(null,_0x153524);})[_0x3beea7('0x174')](function(_0x2d1708){_0x504f86(_0x2d1708);});},AGIVertices['prototype'][_0x4d5af2('0x100')]=function(_0x575071,_0x3c6e1f,_0x57897c){const _0xee1acd=_0x4d5af2;scripts[_0xee1acd('0x100')](_0x3c6e1f,_0x575071[_0xee1acd('0x17')],_0x575071[_0xee1acd('0x185')],_0x575071['uri'])[_0xee1acd('0x6f')](function(_0x4538ea){_0x57897c(null,_0x4538ea);})[_0xee1acd('0x174')](function(_0x4b35ea){_0x57897c(_0x4b35ea);});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x5')]=function(_0xc88f70){const _0x2d2f08=_0x4d5af2,_0xf73313=_[_0x2d2f08('0xd4')](verticesWithRetry,_0xc88f70['agicommand'])?_0xc88f70:_[_0x2d2f08('0xed')](_0xc88f70);for(const _0x270eb3 in _0xf73313){typeof _0xf73313[_0x270eb3]!==_0x2d2f08('0x1b1')&&(_0xf73313[_0x270eb3]&&_[_0x2d2f08('0x12b')](_0xf73313[_0x270eb3])&&(_[_0x2d2f08('0xd4')](recursiveMapAttributes,_0x270eb3)?_0xf73313[_0x270eb3]=this[_0x2d2f08('0xa')](_0xf73313[_0x270eb3]):_0xf73313[_0x270eb3]=this['replaceAllVariables'](_0xf73313[_0x270eb3])));}return _0xf73313;},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xbe')]=function(_0x3e3d85){const _0xe92326=_0x4d5af2;for(const _0x2fd029 in _0x3e3d85){if(typeof _0x3e3d85[_0x2fd029]!==_0xe92326('0x1b1')){if(_['isPlainObject'](_0x3e3d85[_0x2fd029]))this[_0xe92326('0xbe')](_0x3e3d85[_0x2fd029]);else{if(_[_0xe92326('0x154')](_0x3e3d85[_0x2fd029]))for(let _0x1bd914=0x0;_0x1bd914<_0x3e3d85[_0x2fd029][_0xe92326('0x1a5')];_0x1bd914++){this[_0xe92326('0xbe')](_0x3e3d85[_0x2fd029][_0x1bd914]);}else _[_0xe92326('0x12b')](_0x3e3d85[_0x2fd029])&&(_0x3e3d85[_0x2fd029]=this[_0xe92326('0x9b')](_0x3e3d85[_0x2fd029]));}}}},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x34')]=function(_0x5f0aab,_0x41eb69){const _0x150dbc=_0x4d5af2;for(const _0x308109 in _0x5f0aab){if(typeof _0x5f0aab[_0x308109]!==_0x150dbc('0x1b1')){if(_[_0x150dbc('0x1ae')](_0x5f0aab[_0x308109]))!_[_0x150dbc('0x78')](_0x5f0aab[_0x308109])&&this[_0x150dbc('0x34')](_0x5f0aab[_0x308109],util[_0x150dbc('0x52')](_0x150dbc('0x13'),_0x41eb69,_0x308109));else{if(_['isArray'](_0x5f0aab[_0x308109]))for(let _0x46e332=0x0;_0x46e332<_0x5f0aab[_0x308109][_0x150dbc('0x1a5')];_0x46e332++){this[_0x150dbc('0x34')](_0x5f0aab[_0x308109][_0x46e332],util['format']('%s.%s',_0x41eb69,_0x308109+'['+_0x46e332+']'));}else!_[_0x150dbc('0x125')](_0x5f0aab[_0x308109])&&this[_0x150dbc('0x11')]['setVariable'](util[_0x150dbc('0x52')](_0x150dbc('0x13'),_0x41eb69,_0x308109),_0x5f0aab[_0x308109]);}}}},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xa')]=function(_0x277fea){const _0x1a6d14=_0x4d5af2;try{const _0x3e72b6=JSON[_0x1a6d14('0x171')](_0x277fea);return this[_0x1a6d14('0xbe')](_0x3e72b6),JSON[_0x1a6d14('0xbb')](_0x3e72b6);}catch(_0x213c03){return this['replaceAllVariables'](_0x277fea);}},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x9b')]=function(_0x189f6c){const _0x4e9b80=_0x4d5af2,_0x7e8ea6=_0x189f6c[_0x4e9b80('0xe2')]('{');for(let _0x2ca04c=0x1;_0x2ca04c<_0x7e8ea6[_0x4e9b80('0x1a5')];_0x2ca04c+=0x1){const _0x3f1770=_0x7e8ea6[_0x2ca04c][_0x4e9b80('0xe2')]('}');_0x3f1770[_0x4e9b80('0x1a5')]>0x1&&(_0x189f6c=_0x189f6c[_0x4e9b80('0x142')]('{'+_0x3f1770[0x0]+'}',this[_0x4e9b80('0x11')][_0x4e9b80('0x7c')](_0x3f1770[0x0])[_0x4e9b80('0x1aa')]||_0x3f1770[0x0]));}if(_0x7e8ea6[_0x4e9b80('0x1a5')]===0x1)return _0x189f6c[_0x4e9b80('0x186')]();return this[_0x4e9b80('0x9b')](_0x189f6c);},AGIVertices[_0x4d5af2('0x17b')]['getAndSetVariable']=function(_0x392cac,_0xd3081a){const _0x189446=_0x4d5af2,_0x35c09c=this[_0x189446('0x11')][_0x189446('0x7c')](_0x392cac);if(_0x35c09c[_0x189446('0x18b')]===-0x1)return _0x35c09c;return logger[_0x189446('0x86')](util[_0x189446('0x52')](_0x189446('0x166'),_0xd3081a,_0x35c09c[_0x189446('0x1aa')])),this[_0x189446('0x11')][_0x189446('0x193')](_0xd3081a,_0x35c09c[_0x189446('0x1aa')]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xd8')]=function(_0x296d93){return _0x296d93&&_0x296d93!=='0'&&_0x296d93!=='-1'&&_0x296d93!=='';},AGIVertices['prototype'][_0x4d5af2('0x1c4')]=function(_0x5d18d3){const _0x9b2a0=_0x4d5af2;return this['createSquareDetailsReport'][_0x9b2a0('0x57')](this,_0x5d18d3,'-'),_0x5d18d3[_0x9b2a0('0xde')]=_0x5d18d3[_0x9b2a0('0x1c4')],{'code':0xc8,'result':'-'};},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x18c')]=function(_0x21da6c){const _0x42ccf7=_0x4d5af2;logger['info'](util[_0x42ccf7('0x52')](_0x42ccf7('0x51'),_0x21da6c[_0x42ccf7('0x196')]));if(!this['isConfigured'](_0x21da6c[_0x42ccf7('0x4f')]))return this[_0x42ccf7('0x11')][_0x42ccf7('0x1ce')](_0x42ccf7('0x7a'));let _0x5aa856='\x22'+_0x21da6c[_0x42ccf7('0x4f')]+'\x22';this[_0x42ccf7('0xd8')](_0x21da6c[_0x42ccf7('0x1c9')])&&(_0x5aa856+=','+_0x21da6c['options']);const _0x43b6d3=this[_0x42ccf7('0x11')][_0x42ccf7('0x10d')](_0x42ccf7('0x188'),_0x5aa856);if(_0x43b6d3[_0x42ccf7('0x18b')]===-0x1)return _0x43b6d3;return this[_0x42ccf7('0x11')][_0x42ccf7('0x1ce')](util[_0x42ccf7('0x52')](_0x42ccf7('0x1ad'),_0x5aa856));},AGIVertices['prototype'][_0x4d5af2('0x114')]=function(_0x752a84){const _0x5988dc=_0x4d5af2;logger[_0x5988dc('0x86')](util[_0x5988dc('0x52')]('Enter\x20in\x20MRCPRecog\x20(%s)\x20block',_0x752a84['label']));if(!this[_0x5988dc('0xd8')](_0x752a84[_0x5988dc('0xad')]))return this[_0x5988dc('0x11')]['noop'](_0x5988dc('0x1c5'));let _0x386715=_0x752a84['grammar'];this['isConfigured'](_0x752a84[_0x5988dc('0x1c9')])&&(_0x386715+=','+_0x752a84[_0x5988dc('0x1c9')]);const _0x23600b=this[_0x5988dc('0x11')][_0x5988dc('0x10d')]('MRCPRecog',_0x386715);if(_0x23600b[_0x5988dc('0x18b')]===-0x1)return _0x23600b;const _0x16504e=this[_0x5988dc('0x96')](_0x5988dc('0x8b'),_0x5988dc('0x13f'));if(_0x16504e[_0x5988dc('0x18b')]===-0x1)return _0x16504e;const _0x4274e4=this['getAndSetVariable'](_0x5988dc('0x12f'),'MRCP_RECOG_TRANSCRIPT');if(_0x4274e4[_0x5988dc('0x18b')]===-0x1)return _0x4274e4;const _0x4bb0ea=this[_0x5988dc('0x96')](_0x5988dc('0x10f'),'MRCP_RECOG_INSTANCE');if(_0x4bb0ea[_0x5988dc('0x18b')]===-0x1)return _0x4bb0ea;return this[_0x5988dc('0x11')][_0x5988dc('0x1ce')](util[_0x5988dc('0x52')](_0x5988dc('0xc4'),_0x386715));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x80')]=function(_0x3c52ac){const _0x3fd66f=_0x4d5af2;return logger[_0x3fd66f('0x86')](util[_0x3fd66f('0x52')](_0x3fd66f('0x5b'),_0x3c52ac[_0x3fd66f('0x196')])),this['channel'][_0x3fd66f('0x80')]([_0x3c52ac[_0x3fd66f('0x9a')],_0x3c52ac[_0x3fd66f('0xf3')]]);},AGIVertices['prototype'][_0x4d5af2('0xdc')]=function(_0x4d7d98){const _0x43ffc1=_0x4d5af2;logger[_0x43ffc1('0x86')](util[_0x43ffc1('0x52')](_0x43ffc1('0x3d'),_0x4d7d98['label']));if(this[_0x43ffc1('0xd8')](_0x4d7d98[_0x43ffc1('0xf5')])){logger[_0x43ffc1('0x86')](util[_0x43ffc1('0x52')](_0x43ffc1('0xb6'),_0x4d7d98[_0x43ffc1('0xf5')]));const _0x10b0ae=this[_0x43ffc1('0x11')]['wait'](_0x4d7d98[_0x43ffc1('0xf5')]);if(_0x10b0ae[_0x43ffc1('0x18b')]===-0x1)return _0x10b0ae;}return this['channel'][_0x43ffc1('0xdc')]();},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x11f')]=function(_0x25abba){const _0x47f91e=_0x4d5af2;logger[_0x47f91e('0x86')](util[_0x47f91e('0x52')](_0x47f91e('0x1f'),_0x25abba[_0x47f91e('0x196')]));if(!this[_0x47f91e('0xd8')](_0x25abba['list_id']))return this[_0x47f91e('0x11')][_0x47f91e('0x1a6')](_0x25abba,_0x47f91e('0x138'));return _0x25abba[_0x47f91e('0xf')]=moment(),this['isConfigured'](_0x25abba[_0x47f91e('0x55')])&&(_0x25abba[_0x47f91e('0xf')]=moment()[_0x47f91e('0xf4')](_0x25abba['delay'],_0x47f91e('0x10c'))),!this['isConfigured'](_0x25abba['callback_priority'])&&(_0x25abba[_0x47f91e('0xd9')]=0x2),this[_0x47f91e('0xb2')][_0x47f91e('0x57')](this,_0x25abba),this[_0x47f91e('0x11')][_0x47f91e('0x1ce')](util[_0x47f91e('0x52')](_0x47f91e('0x172'),_0x25abba[_0x47f91e('0xd1')],_0x25abba[_0x47f91e('0x62')],_0x25abba['scheduledAt']));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x16f')]=function(_0x45b0ac){const _0x236030=_0x4d5af2;logger['info'](util[_0x236030('0x52')](_0x236030('0x1c7'),_0x45b0ac[_0x236030('0x196')]));const _0x378aac=this['channel']['exec'](_0x45b0ac[_0x236030('0xc6')],_0x45b0ac['options']);if(_0x378aac['result']===-0x1)return _0x378aac;return this[_0x236030('0x11')][_0x236030('0x1ce')](util['format']('Executed\x20command\x20%s\x20%s',_0x45b0ac['application'],_0x45b0ac[_0x236030('0x1c9')]));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xc1')]=function(_0x23ba8a){const _0x3f7609=_0x4d5af2;logger[_0x3f7609('0x86')](util[_0x3f7609('0x52')]('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x23ba8a[_0x3f7609('0x196')]));if(!this[_0x3f7609('0xd8')](_0x23ba8a[_0x3f7609('0x4f')]))return this[_0x3f7609('0x11')][_0x3f7609('0x1ce')]('no\x20text\x20configured');let _0x2dc05f='\x22'+_0x23ba8a['text']+'\x22';this[_0x3f7609('0xd8')](_0x23ba8a['options'])&&(_0x2dc05f+=','+_0x23ba8a['options']);const _0x53f1ec=this[_0x3f7609('0x11')][_0x3f7609('0x10d')](_0x3f7609('0x188'),_0x2dc05f);if(_0x53f1ec['result']===-0x1)return _0x53f1ec;return this[_0x3f7609('0x11')][_0x3f7609('0x1ce')](util['format']('Executed\x20command\x20MRCPSynth\x20%s',_0x2dc05f));},AGIVertices['prototype'][_0x4d5af2('0x1be')]=function(_0x324b12){const _0x2953de=_0x4d5af2;logger['info'](util['format'](_0x2953de('0x195'),_0x324b12[_0x2953de('0x196')]));if(!this[_0x2953de('0xd8')](_0x324b12[_0x2953de('0x4f')]))return this['channel'][_0x2953de('0x1ce')](_0x2953de('0x7a'));let _0xf2929='\x22'+_0x324b12[_0x2953de('0x4f')]+'\x22';this[_0x2953de('0xd8')](_0x324b12['options'])&&(_0xf2929+=','+_0x324b12[_0x2953de('0x1c9')]);const _0x2a90cd=this[_0x2953de('0x11')]['exec'](_0x2953de('0x188'),_0xf2929);if(_0x2a90cd[_0x2953de('0x18b')]===-0x1)return _0x2a90cd;return this[_0x2953de('0x11')][_0x2953de('0x1ce')](util['format'](_0x2953de('0x1ad'),_0xf2929));},AGIVertices[_0x4d5af2('0x17b')]['lumenvoxasr']=function(_0x1267f7){const _0x3d3cd8=_0x4d5af2;logger[_0x3d3cd8('0x86')](util[_0x3d3cd8('0x52')](_0x3d3cd8('0x133'),_0x1267f7[_0x3d3cd8('0x196')]));if(!this[_0x3d3cd8('0xd8')](_0x1267f7[_0x3d3cd8('0xad')]))return this[_0x3d3cd8('0x11')]['noop'](_0x3d3cd8('0x1c5'));let _0x4580df=_0x1267f7[_0x3d3cd8('0xad')];this[_0x3d3cd8('0xd8')](_0x1267f7[_0x3d3cd8('0x1c9')])&&(_0x4580df+=','+_0x1267f7['options']);const _0x47c817=this['channel'][_0x3d3cd8('0x10d')]('MRCPRecog',_0x4580df);if(_0x47c817[_0x3d3cd8('0x18b')]===-0x1)return _0x47c817;const _0x4a5ce7=this['getAndSetVariable'](_0x3d3cd8('0x8b'),_0x3d3cd8('0x15e'));if(_0x4a5ce7[_0x3d3cd8('0x18b')]===-0x1)return _0x4a5ce7;const _0x455dad=this[_0x3d3cd8('0x96')](_0x3d3cd8('0x12f'),_0x3d3cd8('0x17a'));if(_0x455dad[_0x3d3cd8('0x18b')]===-0x1)return _0x455dad;const _0x400d92=this['getAndSetVariable'](_0x3d3cd8('0x10f'),_0x3d3cd8('0x110'));if(_0x400d92[_0x3d3cd8('0x18b')]===-0x1)return _0x400d92;return this['channel'][_0x3d3cd8('0x1ce')](util['format'](_0x3d3cd8('0xc4'),_0x4580df));},AGIVertices['prototype'][_0x4d5af2('0x1b5')]=function(_0x2297b9){const _0x553e32=_0x4d5af2;logger[_0x553e32('0x86')](util[_0x553e32('0x52')](_0x553e32('0x194'),_0x2297b9[_0x553e32('0x196')]));if(!this[_0x553e32('0xd8')](_0x2297b9['grammar']))return this['channel'][_0x553e32('0x1ce')](_0x553e32('0x1c5'));let _0x504bf3=_0x2297b9[_0x553e32('0xad')];this[_0x553e32('0xd8')](_0x2297b9[_0x553e32('0x1c9')])&&(_0x504bf3+=','+_0x2297b9[_0x553e32('0x1c9')]);const _0x23f84e=this[_0x553e32('0x11')]['exec'](_0x553e32('0x16d'),_0x504bf3);if(_0x23f84e[_0x553e32('0x18b')]===-0x1)return _0x23f84e;const _0x31f038=this[_0x553e32('0x96')](_0x553e32('0x8b'),_0x553e32('0x1a7'));if(_0x31f038[_0x553e32('0x18b')]===-0x1)return _0x31f038;const _0x39f424=this['getAndSetVariable']('RECOG_INPUT()',_0x553e32('0x16c'));if(_0x39f424[_0x553e32('0x18b')]===-0x1)return _0x39f424;const _0xea8e4=this['getAndSetVariable']('RECOG_INSTANCE()',_0x553e32('0x173'));if(_0xea8e4['result']===-0x1)return _0xea8e4;return this[_0x553e32('0x11')][_0x553e32('0x1ce')](util[_0x553e32('0x52')](_0x553e32('0xc4'),_0x504bf3));},AGIVertices[_0x4d5af2('0x17b')]['database']=function(_0xdeab3d){const _0x5aefb2=_0x4d5af2;logger[_0x5aefb2('0x86')](util['format'](_0x5aefb2('0xfc'),_0xdeab3d[_0x5aefb2('0x196')]));if(!this[_0x5aefb2('0xd8')](_0xdeab3d[_0x5aefb2('0x5e')]))return this['channel']['error'](_0xdeab3d,_0x5aefb2('0x21'));const _0x6409c2=this['getSquareOdbc']['sync'](this,_0xdeab3d[_0x5aefb2('0x5e')]);if(!_0x6409c2)return this[_0x5aefb2('0x11')][_0x5aefb2('0x1a6')](_0xdeab3d,_0x5aefb2('0xe6'));if(!this['isConfigured'](_0xdeab3d[_0x5aefb2('0x23')]))return this['channel'][_0x5aefb2('0x1a6')](_0xdeab3d,'no\x20query\x20configured');const _0x2f1d78=_0xdeab3d[_0x5aefb2('0x23')][_0x5aefb2('0x9e')](/(\r\n|\n|\r)/gm,'\x20');this['channel'][_0x5aefb2('0x1ce')](util[_0x5aefb2('0x52')]('query:\x20%s',_0x2f1d78));const _0x19f7bf=this[_0x5aefb2('0x9d')][_0x5aefb2('0x57')](this,_0x6409c2,_0x2f1d78);this[_0x5aefb2('0x1a0')][_0x5aefb2('0x57')](this,_0xdeab3d,_0x2f1d78);if(!this[_0x5aefb2('0xd8')](_0xdeab3d[_0x5aefb2('0xa3')]))return this[_0x5aefb2('0x11')]['noop']('no\x20variable\x20selected\x20for\x20the\x20result');const _0x5e6d2d=this[_0x5aefb2('0x7c')][_0x5aefb2('0x57')](this,_0xdeab3d[_0x5aefb2('0xa3')]);if(!_0x5e6d2d)return this[_0x5aefb2('0x11')][_0x5aefb2('0x1a6')](_0xdeab3d,'no\x20variable\x20found');const _0x253d93=this;return _0x19f7bf['forEach'](function(_0x2d2644,_0x608f4a){const _0x26ea20=_0x5aefb2;Object[_0x26ea20('0x42')](_0x2d2644)[_0x26ea20('0xb3')](function(_0x13d6c0){const _0x2c56d3=_0x26ea20;_0x253d93[_0x2c56d3('0x11')][_0x2c56d3('0x193')](util[_0x2c56d3('0x52')](_0x2c56d3('0x95'),_0x5e6d2d,_0x608f4a,_0x13d6c0),_0x2d2644[_0x13d6c0]);});}),this[_0x5aefb2('0x11')][_0x5aefb2('0x193')](util[_0x5aefb2('0x52')](_0x5aefb2('0xb5'),_0x5e6d2d),_0x19f7bf[_0x5aefb2('0x1a5')]),this[_0x5aefb2('0x11')][_0x5aefb2('0x1ce')](util[_0x5aefb2('0x52')](_0x5aefb2('0xd2'),_0x5e6d2d));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xa2')]=function(_0x2acb0f){const _0x4e4cce=_0x4d5af2;logger[_0x4e4cce('0x17e')](util[_0x4e4cce('0x52')](_0x4e4cce('0x16b'),_0x2acb0f[_0x4e4cce('0x196')]));if(!this[_0x4e4cce('0xd8')](_0x2acb0f[_0x4e4cce('0x93')]))return this[_0x4e4cce('0x11')][_0x4e4cce('0x1a6')](_0x2acb0f,_0x4e4cce('0xe1'));const _0x245e7f=this[_0x4e4cce('0x105')]['sync'](this,_0x2acb0f[_0x4e4cce('0x93')]);if(!_0x245e7f)return this[_0x4e4cce('0x11')][_0x4e4cce('0x1a6')](_0x2acb0f,_0x4e4cce('0x19a'));const _0x4ee854=this[_0x4e4cce('0x11')][_0x4e4cce('0x10d')](_0x4e4cce('0xcb'),[util['format'](_0x4e4cce('0x1a1'),_0x245e7f),_0x2acb0f[_0x4e4cce('0xf5')],_0x2acb0f[_0x4e4cce('0x6c')],_0x2acb0f[_0x4e4cce('0xc2')]]);if(_0x4ee854[_0x4e4cce('0x18b')]===-0x1)return _0x4ee854;return this['channel'][_0x4e4cce('0x1ce')](util[_0x4e4cce('0x52')](_0x4e4cce('0x131'),_0x4e4cce('0xcb')));},AGIVertices['prototype'][_0x4d5af2('0x11c')]=function(_0x5c6571){const _0x21b35a=_0x4d5af2;logger['info'](util[_0x21b35a('0x52')]('Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block',_0x5c6571[_0x21b35a('0x196')]));if(!this[_0x21b35a('0xd8')](_0x5c6571[_0x21b35a('0x1b8')]))return this['channel'][_0x21b35a('0x1ce')](_0x21b35a('0x98'));if(!this[_0x21b35a('0xd8')](_0x5c6571[_0x21b35a('0x4f')]))return this['channel'][_0x21b35a('0x1ce')]('no\x20text\x20configured');this['channel'][_0x21b35a('0x75')]=!![],this[_0x21b35a('0x1a0')](_0x5c6571),this[_0x21b35a('0x189')](_0x5c6571[_0x21b35a('0x4f')],'in','',''),this[_0x21b35a('0x11')]['noop'](util[_0x21b35a('0x52')](_0x21b35a('0x1d3'),_0x5c6571[_0x21b35a('0x4f')]));const _0x45ab88=this['googleDialogflow'][_0x21b35a('0x57')](this,_0x5c6571);if(_0x45ab88){for(const _0x3ceeb8 in _0x45ab88){typeof _0x45ab88[_0x3ceeb8]!==_0x21b35a('0x1b1')&&this[_0x21b35a('0x11')][_0x21b35a('0x193')](util[_0x21b35a('0x52')](_0x21b35a('0x11e'),_0x3ceeb8[_0x21b35a('0xfb')]()),_0x45ab88[_0x3ceeb8]);}return this[_0x21b35a('0x189')](_0x45ab88['speech'],_0x21b35a('0x13b'),_0x21b35a('0x11c'),''),this[_0x21b35a('0x11')][_0x21b35a('0x1ce')](util[_0x21b35a('0x52')](_0x21b35a('0x149'),_0x45ab88[_0x21b35a('0x18f')]));}return this['channel'][_0x21b35a('0x1a6')](_0x5c6571,_0x21b35a('0x158'));},AGIVertices[_0x4d5af2('0x17b')]['dialogflowV2']=function(_0x158641){const _0xedff44=_0x4d5af2;logger[_0xedff44('0x86')](util[_0xedff44('0x52')](_0xedff44('0x39'),_0x158641[_0xedff44('0x196')]));if(!this[_0xedff44('0xd8')](_0x158641[_0xedff44('0x19f')]))return this[_0xedff44('0x11')][_0xedff44('0x1ce')]('no\x20project_id\x20configured');if(!this['isConfigured'](_0x158641['client_email']))return this['channel'][_0xedff44('0x1ce')](_0xedff44('0x26'));if(!this[_0xedff44('0xd8')](_0x158641[_0xedff44('0x160')]))return this[_0xedff44('0x11')][_0xedff44('0x1ce')]('no\x20private_key\x20configured');if(!this[_0xedff44('0xd8')](_0x158641[_0xedff44('0x2f')]))return this[_0xedff44('0x11')][_0xedff44('0x1ce')](_0xedff44('0x91'));if(!this['isConfigured'](_0x158641[_0xedff44('0x4f')]))return this['channel'][_0xedff44('0x1ce')](_0xedff44('0x7a'));this[_0xedff44('0x11')]['bot']=!![],this[_0xedff44('0x1a0')](_0x158641),this[_0xedff44('0x189')](_0x158641[_0xedff44('0x4f')],'in','',''),this[_0xedff44('0x11')][_0xedff44('0x1ce')](util['format'](_0xedff44('0xe3'),_0x158641[_0xedff44('0x4f')]));const _0x202a6c=this[_0xedff44('0x155')]['sync'](this,_0x158641);if(_0x202a6c){for(const _0x4b2a3e in _0x202a6c){typeof _0x202a6c[_0x4b2a3e]!==_0xedff44('0x1b1')&&(_0x4b2a3e!==_0xedff44('0x14e')&&this['channel'][_0xedff44('0x193')](util[_0xedff44('0x52')]('DIALOGFLOW_%s',_0x4b2a3e['toUpperCase']()),_0x202a6c[_0x4b2a3e]));}return this[_0xedff44('0x189')](_0x202a6c[_0xedff44('0x18f')],_0xedff44('0x13b'),_0xedff44('0x3c'),_0x202a6c[_0xedff44('0x14e')]),this[_0xedff44('0x11')][_0xedff44('0x1ce')](util[_0xedff44('0x52')](_0xedff44('0x1cd'),_0x202a6c[_0xedff44('0x18f')]));}return this['channel'][_0xedff44('0x1a6')](_0x158641,'DialogflowV2\x20is\x20unreachable');},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x1af')]=function(_0x29384d){const _0x2f3415=_0x4d5af2;logger[_0x2f3415('0x86')](util[_0x2f3415('0x52')](_0x2f3415('0x50'),_0x29384d[_0x2f3415('0x196')]));if(!this[_0x2f3415('0xd8')](_0x29384d['ndauth_url']))return this['channel'][_0x2f3415('0x1ce')](_0x2f3415('0x7e'));if(!this[_0x2f3415('0xd8')](_0x29384d[_0x2f3415('0xec')]))return this[_0x2f3415('0x11')][_0x2f3415('0x1ce')](_0x2f3415('0xd'));if(!this[_0x2f3415('0xd8')](_0x29384d[_0x2f3415('0x6d')]))return this[_0x2f3415('0x11')][_0x2f3415('0x1ce')](_0x2f3415('0xab'));if(!this[_0x2f3415('0xd8')](_0x29384d[_0x2f3415('0x108')]))return this[_0x2f3415('0x11')][_0x2f3415('0x1ce')](_0x2f3415('0x7a'));this[_0x2f3415('0x11')][_0x2f3415('0x75')]=!![],this[_0x2f3415('0x1a0')](_0x29384d),this[_0x2f3415('0x189')](_0x29384d[_0x2f3415('0x4f')],'in','',''),this[_0x2f3415('0x11')][_0x2f3415('0x1ce')](util['format'](_0x2f3415('0xd7'),_0x29384d[_0x2f3415('0x4f')]));const _0x3bc3b0=this[_0x2f3415('0x111')][_0x2f3415('0x57')](this,_0x29384d);if(_0x3bc3b0){for(const _0x1cb77a in _0x3bc3b0){typeof _0x3bc3b0[_0x1cb77a]!==_0x2f3415('0x1b1')&&this[_0x2f3415('0x11')][_0x2f3415('0x193')](util['format']('SESTEK_NDA_%s',_0x1cb77a[_0x2f3415('0xfb')]()),_0x3bc3b0[_0x1cb77a]);}this['createSquareMessage'](_0x3bc3b0['speech'],_0x2f3415('0x13b'),_0x2f3415('0x1af'),'');if(_0x3bc3b0['audiofile']){this['channel']['noop'](util[_0x2f3415('0x52')](_0x2f3415('0x115'),_0x3bc3b0[_0x2f3415('0x128')]));const _0x2f83b0=this[_0x2f3415('0x11')][_0x2f3415('0xdd')](_0x3bc3b0[_0x2f3415('0x128')]);try{fs[_0x2f3415('0x15b')](_0x3bc3b0[_0x2f3415('0x128')]+_0x2f3415('0x7d'));}catch(_0x355826){logger[_0x2f3415('0x1a6')](_0x355826);}return _0x2f83b0;}else return this[_0x2f3415('0x11')][_0x2f3415('0x1ce')](util[_0x2f3415('0x52')](_0x2f3415('0x70'),_0x3bc3b0[_0x2f3415('0x18f')]));}return this[_0x2f3415('0x11')][_0x2f3415('0x1a6')](_0x29384d,'SestekNDA\x20is\x20unreachable');},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xe0')]=function(_0x55110b){const _0x1b9b48=_0x4d5af2;return logger[_0x1b9b48('0x86')](util[_0x1b9b48('0x52')](_0x1b9b48('0x14d'),_0x55110b['label'])),this[_0x1b9b48('0x11')][_0x1b9b48('0x1ce')](_0x1b9b48('0xe0'));},AGIVertices[_0x4d5af2('0x17b')]['ext_dial']=function(_0x3f7cfa){const _0x5e3d40=_0x4d5af2;logger[_0x5e3d40('0x86')](util['format'](_0x5e3d40('0x37'),_0x3f7cfa[_0x5e3d40('0x196')]));let _0x31a25c='';if(_0x3f7cfa[_0x5e3d40('0x1a8')]){if(!this[_0x5e3d40('0xd8')](_0x3f7cfa[_0x5e3d40('0x1a8')]))return this['channel']['error'](_0x3f7cfa,_0x5e3d40('0x97'));else{const _0x1103c3=parseInt(_0x3f7cfa[_0x5e3d40('0x1a8')],0xa);if(isNaN(_0x1103c3))_0x31a25c=_0x3f7cfa['trunk_id'];else{_0x31a25c=this['getTrunk'][_0x5e3d40('0x57')](this,_0x3f7cfa[_0x5e3d40('0x1a8')]);if(!_0x31a25c)return this[_0x5e3d40('0x11')][_0x5e3d40('0x1a6')](_0x3f7cfa,'no\x20trunk\x20found');}}}else{if(_0x3f7cfa[_0x5e3d40('0x163')])_0x31a25c=_0x3f7cfa[_0x5e3d40('0x163')];else return this['channel'][_0x5e3d40('0x1a6')](_0x3f7cfa,_0x5e3d40('0x97'));}const _0x2cee57=this[_0x5e3d40('0x11')][_0x5e3d40('0x10d')]('DIAL',[util[_0x5e3d40('0x52')](_0x5e3d40('0x65'),_0x31a25c,_0x3f7cfa['phone']),_0x3f7cfa[_0x5e3d40('0xf5')],_0x3f7cfa[_0x5e3d40('0x6c')],_0x3f7cfa['url']]);if(_0x2cee57['result']===-0x1)return _0x2cee57;return this['channel'][_0x5e3d40('0x1ce')](util[_0x5e3d40('0x52')](_0x5e3d40('0x131'),_0x5e3d40('0xcb')));},AGIVertices['prototype'][_0x4d5af2('0x63')]=function(_0x49ae02){const _0x5b8a07=_0x4d5af2;return logger[_0x5b8a07('0x86')](util[_0x5b8a07('0x52')](_0x5b8a07('0x178'),_0x49ae02[_0x5b8a07('0x196')])),this[_0x5b8a07('0x11')][_0x5b8a07('0x1ce')](_0x5b8a07('0x63'));},AGIVertices['prototype']['getdigits']=function(_0x13aa4e){const _0x1b679a=_0x4d5af2;logger['info'](util[_0x1b679a('0x52')](_0x1b679a('0x1d4'),_0x13aa4e[_0x1b679a('0x196')]));if(_0x13aa4e['retry']===0x0)return this['maxRetry'](_0x13aa4e);_0x13aa4e[_0x1b679a('0xde')]-=0x1;if(!this[_0x1b679a('0xd8')](_0x13aa4e[_0x1b679a('0x5d')]))return this[_0x1b679a('0x11')][_0x1b679a('0x1a6')](_0x13aa4e,_0x1b679a('0x12'));const _0x52d3e6=this[_0x1b679a('0xe4')][_0x1b679a('0x57')](this,_0x13aa4e[_0x1b679a('0x5d')]);if(!_0x52d3e6)return this[_0x1b679a('0x11')][_0x1b679a('0x1a6')](_0x13aa4e,'no\x20file\x20audio\x20found');if(!this[_0x1b679a('0xd8')](_0x13aa4e[_0x1b679a('0xa3')]))return this[_0x1b679a('0x11')][_0x1b679a('0x1a6')]('no\x20variable\x20selected\x20for\x20the\x20result');const _0x5df844=this[_0x1b679a('0x11')][_0x1b679a('0x162')](_0x52d3e6,_0x13aa4e['response'],_0x13aa4e[_0x1b679a('0x6b')]),_0x4a2181=_0x5df844[_0x1b679a('0x18b')]?_0x5df844[_0x1b679a('0x18b')][_0x1b679a('0x186')]():'';logger['info'](_0x1b679a('0x167'),JSON['stringify'](_0x5df844));if(_0x5df844[_0x1b679a('0x18b')]===-0x1)return this[_0x1b679a('0x1a0')]['sync'](this,_0x13aa4e,_0x4a2181),_0x5df844;else _0x5df844['extra']===_0x1b679a('0xf5')?_0x5df844[_0x1b679a('0x18b')]=_0x4a2181['length']>=parseInt(_0x13aa4e[_0x1b679a('0x19c')])?'x':'i':_0x5df844[_0x1b679a('0x18b')]=_0x4a2181[_0x1b679a('0x1a5')]>=parseInt(_0x13aa4e[_0x1b679a('0x19c')])&&_0x4a2181['length']<=parseInt(_0x13aa4e[_0x1b679a('0x6b')])?'x':'i';const _0xedadcd=this[_0x1b679a('0x7c')]['sync'](this,_0x13aa4e[_0x1b679a('0xa3')]);if(!_0xedadcd)return this['channel'][_0x1b679a('0x1a6')](_0x13aa4e,_0x1b679a('0x1d2'));this[_0x1b679a('0x11')]['setVariable'](_0xedadcd,_0x4a2181);if(this[_0x1b679a('0xd8')](_0x13aa4e[_0x1b679a('0xb9')])){const _0x191660=parseInt(_0x13aa4e[_0x1b679a('0xb9')],0xa),_0x4ba059=rs[_0x1b679a('0x10b')]({'charset':'*','length':_0x191660}),_0x30fb7a=_0x4a2181[_0x1b679a('0x1a5')];_0x30fb7a>0x0?_0x30fb7a>_0x191660?this[_0x1b679a('0x1a0')][_0x1b679a('0x57')](this,_0x13aa4e,_0x13aa4e['hiddendigitspos']===_0x1b679a('0xc0')?_0x4ba059+_0x4a2181[_0x1b679a('0x136')](_0x191660):_0x4a2181[_0x1b679a('0x136')](0x0,_0x30fb7a-_0x191660)+_0x4ba059):this[_0x1b679a('0x1a0')]['sync'](this,_0x13aa4e,rs[_0x1b679a('0x10b')]({'charset':'*','length':_0x30fb7a})):this[_0x1b679a('0x1a0')]['sync'](this,_0x13aa4e,'');}else this['createSquareDetailsReport'][_0x1b679a('0x57')](this,_0x13aa4e,_0x4a2181);return _0x5df844;},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xa7')]=function(_0x32be7f){const _0x6ef000=_0x4d5af2;return logger[_0x6ef000('0x86')](util['format']('Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block',_0x32be7f[_0x6ef000('0x196')])),this[_0x6ef000('0x14')](_0x32be7f);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x4d')]=function(_0x44709e){const _0x6eae4d=_0x4d5af2;return logger[_0x6eae4d('0x86')](util[_0x6eae4d('0x52')](_0x6eae4d('0x1a2'),_0x44709e[_0x6eae4d('0x196')])),this['createSquareDetailsReport'][_0x6eae4d('0x57')](this,_0x44709e,_0x44709e['goalname']),this[_0x6eae4d('0x11')][_0x6eae4d('0x1ce')](util[_0x6eae4d('0x52')]('GOAL\x20%s',_0x44709e[_0x6eae4d('0x1cf')]));},AGIVertices[_0x4d5af2('0x17b')]['awspolly']=function(_0x1eb779){const _0x45fd78=_0x4d5af2;logger[_0x45fd78('0x86')](util[_0x45fd78('0x52')](_0x45fd78('0x64'),_0x1eb779[_0x45fd78('0x196')]));if(!this[_0x45fd78('0xd8')](_0x1eb779[_0x45fd78('0x2a')])||!this[_0x45fd78('0xd8')](_0x1eb779[_0x45fd78('0x165')]))return this[_0x45fd78('0x11')][_0x45fd78('0x1ce')](_0x45fd78('0xe'));if(!this[_0x45fd78('0xd8')](_0x1eb779[_0x45fd78('0x4f')]))return this[_0x45fd78('0x11')]['noop'](_0x45fd78('0x7a'));this[_0x45fd78('0x11')][_0x45fd78('0x1ce')](util[_0x45fd78('0x52')](_0x45fd78('0x89'),_0x1eb779[_0x45fd78('0x4f')]));const _0x44e5cd=this[_0x45fd78('0xf0')]['sync'](this,_0x1eb779);if(_0x44e5cd){this[_0x45fd78('0x11')][_0x45fd78('0x1ce')](util[_0x45fd78('0x52')]('aws\x20Polly\x20%s\x20file\x20created',_0x44e5cd));const _0x17fca4=this[_0x45fd78('0x11')][_0x45fd78('0xdd')](_0x44e5cd);try{fs['unlink'](_0x44e5cd+_0x45fd78('0x7d'));}catch(_0x2e2e86){logger[_0x45fd78('0x1a6')](_0x2e2e86);}return _0x17fca4;}return this[_0x45fd78('0x11')][_0x45fd78('0x1a6')](_0x1eb779,'aws\x20Polly\x20is\x20unreachable');},AGIVertices[_0x4d5af2('0x17b')]['awslex']=function(_0x57d2da){const _0x40b6e5=_0x4d5af2;logger['info'](util['format'](_0x40b6e5('0x8e'),_0x57d2da['label']));if(!this['isConfigured'](_0x57d2da['aws_access_key_id'])||!this['isConfigured'](_0x57d2da[_0x40b6e5('0x165')]))return this[_0x40b6e5('0x11')]['noop'](_0x40b6e5('0xe'));if(!this[_0x40b6e5('0xd8')](_0x57d2da[_0x40b6e5('0x53')]))return this['channel']['noop']('no\x20bot\x20name\x20configured');if(!this[_0x40b6e5('0xd8')](_0x57d2da['text']))return this['channel'][_0x40b6e5('0x1ce')](_0x40b6e5('0x7a'));this[_0x40b6e5('0x11')][_0x40b6e5('0x75')]=!![],this[_0x40b6e5('0x1a0')](_0x57d2da),this[_0x40b6e5('0x189')](_0x57d2da[_0x40b6e5('0x4f')],'in','',''),this[_0x40b6e5('0x11')]['noop'](util[_0x40b6e5('0x52')](_0x40b6e5('0x1a4'),_0x57d2da[_0x40b6e5('0x4f')]));const _0x2208db=this[_0x40b6e5('0x1d')][_0x40b6e5('0x57')](this,_0x57d2da);if(_0x2208db){for(const _0x392781 in _0x2208db){typeof _0x2208db[_0x392781]!=='undefined'&&_[_0x40b6e5('0x12b')](_0x2208db[_0x392781])&&this['channel']['setVariable'](util[_0x40b6e5('0x52')](_0x40b6e5('0xce'),_0x392781[_0x40b6e5('0xfb')]()),_0x2208db[_0x392781]);}return _[_0x40b6e5('0x125')](_0x2208db[_0x40b6e5('0x1d1')])?this[_0x40b6e5('0x11')][_0x40b6e5('0x1ce')](_0x40b6e5('0x1bb')):(this[_0x40b6e5('0x189')](_0x2208db[_0x40b6e5('0x1d1')],_0x40b6e5('0x13b'),_0x40b6e5('0x134'),''),this[_0x40b6e5('0x11')]['noop'](util[_0x40b6e5('0x52')](_0x40b6e5('0x152'),_0x2208db[_0x40b6e5('0x1d1')])));}return this['channel'][_0x40b6e5('0x1a6')](_0x57d2da,_0x40b6e5('0xc'));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xb1')]=function(_0x2ce276){const _0x394024=_0x4d5af2;logger[_0x394024('0x86')](util[_0x394024('0x52')](_0x394024('0x92'),_0x2ce276[_0x394024('0x196')],_0x2ce276[_0x394024('0xf5')]));if(!this[_0x394024('0xd8')](_0x2ce276[_0x394024('0x1b8')]))return this[_0x394024('0x11')][_0x394024('0x1ce')]('no\x20key\x20configured');const _0x433443=_0x394024('0xf9'),_0x1cf2a3=util[_0x394024('0x52')](_0x394024('0xb'),FILES_PATH,rs[_0x394024('0x10b')](0x4)),_0x34aebf=util[_0x394024('0x52')](_0x394024('0x13'),_0x1cf2a3,_0x433443);let _0x7d86d1=!![];_0x2ce276[_0x394024('0x101')]===_0x394024('0x18a')&&(_0x7d86d1=![]);const _0x34abc7=this[_0x394024('0x11')][_0x394024('0x1a')](_0x1cf2a3,_0x433443,_0x2ce276[_0x394024('0x19e')],_0x2ce276['timeout'],undefined,_0x7d86d1);if(_0x34abc7['result']!==-0x1){this[_0x394024('0x11')][_0x394024('0x1ce')](util[_0x394024('0x52')](_0x394024('0x6'),_0x34aebf));const _0x1ee774=this[_0x394024('0x137')]['sync'](this,_0x2ce276,_0x34aebf);if(_0x1ee774){for(const _0x450c2c in _0x1ee774){typeof _0x1ee774[_0x450c2c]!==_0x394024('0x1b1')&&this['channel']['setVariable'](util[_0x394024('0x52')]('GOOGLE_ASR_%s',_0x450c2c[_0x394024('0xfb')]()),_0x1ee774[_0x450c2c]);}return this['channel']['noop'](util[_0x394024('0x52')](_0x394024('0x87'),JSON[_0x394024('0xbb')](_0x1ee774)));}}return _0x34abc7;},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xa1')]=function(_0x1fcf83){const _0x4d7410=_0x4d5af2;logger['info'](util[_0x4d7410('0x52')](_0x4d7410('0xb0'),_0x1fcf83[_0x4d7410('0x196')]));if(!this[_0x4d7410('0xd8')](_0x1fcf83[_0x4d7410('0x17')]))return this[_0x4d7410('0x11')][_0x4d7410('0x1ce')]('no\x20appid\x20configured');if(!this['isConfigured'](_0x1fcf83['appsecret']))return this[_0x4d7410('0x11')][_0x4d7410('0x1ce')](_0x4d7410('0x61'));const _0x18e469=_0x4d7410('0xf9'),_0x41b994=util[_0x4d7410('0x52')](_0x4d7410('0xb'),FILES_PATH,rs[_0x4d7410('0x10b')](0x4)),_0x2b6279=util[_0x4d7410('0x52')](_0x4d7410('0x13'),_0x41b994,_0x18e469);let _0x12ce78=!![];_0x1fcf83['beep']==='NOBEEP'&&(_0x12ce78=![]);const _0x151e26=this['channel'][_0x4d7410('0x1a')](_0x41b994,_0x18e469,_0x1fcf83['intKey'],_0x1fcf83['timeout'],undefined,_0x12ce78);if(_0x151e26[_0x4d7410('0x18b')]!==-0x1){this['channel'][_0x4d7410('0x1ce')](util[_0x4d7410('0x52')](_0x4d7410('0x16a'),_0x2b6279));const _0x20010f=this[_0x4d7410('0x100')][_0x4d7410('0x57')](this,_0x1fcf83,_0x2b6279);if(_0x20010f){for(const _0x1efd2b in _0x20010f){typeof _0x20010f[_0x1efd2b]!==_0x4d7410('0x1b1')&&this[_0x4d7410('0x11')][_0x4d7410('0x193')](util[_0x4d7410('0x52')](_0x4d7410('0x121'),_0x1efd2b['toUpperCase']()),_0x20010f[_0x1efd2b]);}return this[_0x4d7410('0x11')][_0x4d7410('0x1ce')](util[_0x4d7410('0x52')](_0x4d7410('0x83'),JSON[_0x4d7410('0xbb')](_0x20010f)));}}return _0x151e26;},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x18d')]=function(_0x253e7a){const _0x45629f=_0x4d5af2;return logger[_0x45629f('0x86')](util[_0x45629f('0x52')](_0x45629f('0xd0'),_0x253e7a['label'])),this['channel'][_0x45629f('0x10e')](_0x253e7a['context'],_0x253e7a[_0x45629f('0xe9')],_0x253e7a[_0x45629f('0x24')]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x157')]=function(_0x3f2649){const _0x810b19=_0x4d5af2;logger[_0x810b19('0x86')](util['format'](_0x810b19('0xa9'),_0x3f2649[_0x810b19('0x196')]));if(!this[_0x810b19('0xd8')](_0x3f2649[_0x810b19('0xcc')]))return this[_0x810b19('0x11')][_0x810b19('0x1a6')](_0x3f2649,'no\x20condition\x20configured');try{const _0x469591=eval(_0x3f2649['condition'])?_0x810b19('0xa5'):_0x810b19('0xbf');return this[_0x810b19('0x11')][_0x810b19('0x1ce')](util['format'](_0x810b19('0xf7'),_0x3f2649['condition'],_0x469591)),{'code':0xc8,'result':_0x469591};}catch(_0x3f4474){return{'code':0xc8,'result':_0x810b19('0xbf')};}},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x38')]=function(_0x3b73e2){const _0x326fee=_0x4d5af2;logger[_0x326fee('0x86')](util[_0x326fee('0x52')]('Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block',_0x3b73e2[_0x326fee('0x196')]));if(!this[_0x326fee('0xd8')](_0x3b73e2[_0x326fee('0xbd')]))return this['channel']['error'](_0x3b73e2,_0x326fee('0x10a'));const _0x92d36d=this[_0x326fee('0x79')]['sync'](this,_0x3b73e2['interval_id']);if(!_0x92d36d)return this[_0x326fee('0x11')][_0x326fee('0x1a6')](_0x3b73e2,'no\x20intervals\x20found');for(let _0x555028=0x0;_0x555028<_0x92d36d['length'];_0x555028+=0x1){const _0x59595e=this[_0x326fee('0x11')][_0x326fee('0x7c')](util['format']('IFTIME(%s?true:false)',_0x92d36d[_0x555028]));if(_0x59595e['result']===-0x1)return _0x59595e;logger['info'](util[_0x326fee('0x52')](_0x326fee('0x176'),_0x92d36d[_0x555028],_0x59595e[_0x326fee('0x1aa')]));if(_0x59595e['extra']===_0x326fee('0xa5'))return logger[_0x326fee('0x86')](util[_0x326fee('0x52')](_0x326fee('0x176'),_0x92d36d[_0x555028],_0x326fee('0xa5'))),this[_0x326fee('0x11')][_0x326fee('0x1ce')](util['format'](_0x326fee('0x176'),_0x92d36d[_0x555028],_0x326fee('0xa5'))),{'code':0xc8,'result':_0x326fee('0xa5')};else logger[_0x326fee('0x86')](util[_0x326fee('0x52')](_0x326fee('0x176'),_0x92d36d[_0x555028],_0x326fee('0xbf'))),this[_0x326fee('0x11')]['noop'](util['format'](_0x326fee('0x176'),_0x92d36d[_0x555028],_0x326fee('0xbf')));}return{'code':0xc8,'result':'false'};},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x120')]=function(_0x1cf3ed){const _0x171579=_0x4d5af2;return logger[_0x171579('0x86')](util[_0x171579('0x52')](_0x171579('0x2'),_0x1cf3ed[_0x171579('0x196')])),this[_0x171579('0x11')][_0x171579('0x120')]();},AGIVertices[_0x4d5af2('0x17b')]['ispeechasr']=function(_0x40e0ba){const _0x136cee=_0x4d5af2;logger[_0x136cee('0x86')](util['format']('Enter\x20in\x20ISPEECHASR\x20(%s)\x20block',_0x40e0ba['label']));if(!this[_0x136cee('0xd8')](_0x40e0ba[_0x136cee('0x1b8')]))return this[_0x136cee('0x11')][_0x136cee('0x1ce')](_0x136cee('0x98'));const _0x178c27='wav',_0x786f45=util['format']('%s/recordings/%s',FILES_PATH,rs['generate'](0x4)),_0x503b91=util[_0x136cee('0x52')](_0x136cee('0x13'),_0x786f45,_0x178c27);let _0x3c7781=!![];_0x40e0ba[_0x136cee('0x101')]===_0x136cee('0x18a')&&(_0x3c7781=![]);const _0x4ce200=this[_0x136cee('0x11')][_0x136cee('0x1a')](_0x786f45,_0x178c27,_0x40e0ba[_0x136cee('0x19e')],_0x40e0ba[_0x136cee('0xf5')],undefined,_0x3c7781);if(_0x4ce200[_0x136cee('0x18b')]!==-0x1){this['channel'][_0x136cee('0x1ce')](util[_0x136cee('0x52')](_0x136cee('0x8'),_0x503b91));const _0x14d8a7=this[_0x136cee('0xc3')][_0x136cee('0x57')](this,_0x40e0ba,_0x503b91);if(_0x14d8a7){for(const _0x24b011 in _0x14d8a7){typeof _0x14d8a7[_0x24b011]!=='undefined'&&this[_0x136cee('0x11')]['setVariable'](util[_0x136cee('0x52')](_0x136cee('0x1b'),_0x24b011['toUpperCase']()),_0x14d8a7[_0x24b011]);}return this[_0x136cee('0x11')][_0x136cee('0x1ce')](util['format'](_0x136cee('0x192'),JSON[_0x136cee('0xbb')](_0x14d8a7)));}}return _0x4ce200;},AGIVertices[_0x4d5af2('0x17b')]['ispeechtts']=function(_0x30a8a4){const _0x4f7ffa=_0x4d5af2;logger['info'](util[_0x4f7ffa('0x52')](_0x4f7ffa('0x140'),_0x30a8a4[_0x4f7ffa('0x196')]));if(!this[_0x4f7ffa('0xd8')](_0x30a8a4[_0x4f7ffa('0x1b8')]))return this[_0x4f7ffa('0x11')][_0x4f7ffa('0x1ce')](_0x4f7ffa('0x98'));if(!this['isConfigured'](_0x30a8a4[_0x4f7ffa('0x4f')]))return this['channel'][_0x4f7ffa('0x1ce')](_0x4f7ffa('0x7a'));this[_0x4f7ffa('0x11')][_0x4f7ffa('0x1ce')](util[_0x4f7ffa('0x52')](_0x4f7ffa('0x1b3'),_0x30a8a4['text']));const _0x5336b6=this[_0x4f7ffa('0x182')][_0x4f7ffa('0x57')](this,_0x30a8a4);if(_0x5336b6){this[_0x4f7ffa('0x11')]['noop'](util['format'](_0x4f7ffa('0x8'),_0x5336b6));const _0x5843f4=this[_0x4f7ffa('0x11')]['streamFile'](_0x5336b6,_0x30a8a4[_0x4f7ffa('0x19e')]);try{fs[_0x4f7ffa('0x15b')](_0x5336b6+_0x4f7ffa('0x7d'));}catch(_0x2aec58){logger[_0x4f7ffa('0x1a6')](_0x2aec58);}return _0x5843f4;}return this[_0x4f7ffa('0x11')][_0x4f7ffa('0x1a6')](_0x30a8a4,_0x4f7ffa('0x2e'));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x45')]=function(_0x56c2e3){const _0xe38969=_0x4d5af2;logger[_0xe38969('0x86')](util[_0xe38969('0x52')]('Enter\x20in\x20LOGIN\x20(%s)\x20block',_0x56c2e3[_0xe38969('0x196')]));if(!this[_0xe38969('0xd8')](_0x56c2e3[_0xe38969('0x81')]))return this['channel'][_0xe38969('0x1a6')](_0x56c2e3,'no\x20find\x20by\x20configured');logger[_0xe38969('0x86')](util[_0xe38969('0x52')](_0xe38969('0x16e'),this[_0xe38969('0x11')][_0xe38969('0x7')],_0x56c2e3['findBy']));const _0x2c1991=this['agentLogin'][_0xe38969('0x57')](this,_0x56c2e3[_0xe38969('0x81')]);return _0x2c1991?(logger[_0xe38969('0x86')](util[_0xe38969('0x52')](_0xe38969('0x77'),this[_0xe38969('0x11')]['callerid'],_0x56c2e3['findBy'])),this[_0xe38969('0x11')][_0xe38969('0x1ce')](util[_0xe38969('0x52')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0xe38969('0x7')],_0x56c2e3['findBy'])),{'code':0xc8,'result':_0xe38969('0x36')}):(logger[_0xe38969('0x86')](util[_0xe38969('0x52')](_0xe38969('0x19'),this['channel'][_0xe38969('0x7')],_0x56c2e3[_0xe38969('0x81')])),this['channel'][_0xe38969('0x1ce')](util[_0xe38969('0x52')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this['channel']['callerid'],_0x56c2e3[_0xe38969('0x81')])),{'code':0xc8,'result':_0xe38969('0x113')});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xef')]=function(_0x416b80){const _0x57c6f6=_0x4d5af2;logger[_0x57c6f6('0x86')](util[_0x57c6f6('0x52')](_0x57c6f6('0xdb'),_0x416b80[_0x57c6f6('0x196')]));if(!this['isConfigured'](_0x416b80[_0x57c6f6('0x81')]))return this['channel']['error'](_0x416b80,_0x57c6f6('0x4e'));logger[_0x57c6f6('0x86')](util[_0x57c6f6('0x52')](_0x57c6f6('0x16e'),this[_0x57c6f6('0x11')]['callerid'],_0x416b80[_0x57c6f6('0x81')]));const _0x419c8a=this[_0x57c6f6('0x2b')][_0x57c6f6('0x57')](this,_0x416b80[_0x57c6f6('0x81')]);return _0x419c8a?(logger['info'](util[_0x57c6f6('0x52')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x57c6f6('0x11')][_0x57c6f6('0x7')],_0x416b80[_0x57c6f6('0x81')])),this[_0x57c6f6('0x11')][_0x57c6f6('0x1ce')](util[_0x57c6f6('0x52')](_0x57c6f6('0x77'),this[_0x57c6f6('0x11')]['callerid'],_0x416b80[_0x57c6f6('0x81')])),{'code':0xc8,'result':_0x57c6f6('0x36')}):(logger['info'](util[_0x57c6f6('0x52')](_0x57c6f6('0x19'),this[_0x57c6f6('0x11')][_0x57c6f6('0x7')],_0x416b80[_0x57c6f6('0x81')])),this[_0x57c6f6('0x11')][_0x57c6f6('0x1ce')](util[_0x57c6f6('0x52')](_0x57c6f6('0x19'),this[_0x57c6f6('0x11')]['callerid'],_0x416b80[_0x57c6f6('0x81')])),{'code':0xc8,'result':_0x57c6f6('0x113')});},AGIVertices['prototype'][_0x4d5af2('0x3')]=function(_0x519c23){const _0x52a866=_0x4d5af2;logger[_0x52a866('0x86')](util['format'](_0x52a866('0x66'),_0x519c23[_0x52a866('0x196')]));if(!this[_0x52a866('0xd8')](_0x519c23[_0x52a866('0x135')]))return this[_0x52a866('0x11')][_0x52a866('0x1a6')](_0x519c23,_0x52a866('0xf1'));this[_0x52a866('0x11')][_0x52a866('0x1ce')](util['format'](_0x52a866('0x112'),_0x519c23['operation']));const _0x59a023=eval(_0x519c23['operation']);if(!this[_0x52a866('0xd8')](_0x519c23['variable_id']))return this[_0x52a866('0x11')]['noop'](_0x52a866('0x123'));const _0x158323=this['getVariable']['sync'](this,_0x519c23[_0x52a866('0xa3')]);if(!_0x158323)return this[_0x52a866('0x11')][_0x52a866('0x1a6')](_0x519c23,_0x52a866('0x1d2'));if(_[_0x52a866('0x154')](_0x59a023)){const _0x144d1a=this;return _0x59a023[_0x52a866('0xb3')](function(_0x47b6dc,_0x3f2d1e){const _0x550307=_0x52a866;_0x144d1a[_0x550307('0x11')][_0x550307('0x193')](util[_0x550307('0x52')](_0x550307('0x1bc'),_0x158323,_0x3f2d1e),_0x47b6dc);}),this[_0x52a866('0x11')][_0x52a866('0x1ce')](util[_0x52a866('0x52')](_0x52a866('0x141'),_0x158323));}else return this[_0x52a866('0x11')][_0x52a866('0x193')](_0x158323,_0x59a023);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x153')]=function(_0x4df89a){const _0x1e332a=_0x4d5af2;logger['info'](util[_0x1e332a('0x52')](_0x1e332a('0x31'),_0x4df89a[_0x1e332a('0x196')]));if(_0x4df89a[_0x1e332a('0xde')]===0x0)return this[_0x1e332a('0x1c4')](_0x4df89a);_0x4df89a[_0x1e332a('0xde')]-=0x1;if(!this[_0x1e332a('0xd8')](_0x4df89a[_0x1e332a('0x5d')]))return this['channel'][_0x1e332a('0x1a6')](_0x4df89a,_0x1e332a('0x12'));const _0x589e3d=this[_0x1e332a('0xe4')][_0x1e332a('0x57')](this,_0x4df89a[_0x1e332a('0x5d')]);if(!_0x589e3d)return this[_0x1e332a('0x11')][_0x1e332a('0x1a6')](_0x4df89a,_0x1e332a('0x13e'));const _0x1ed451=this['channel'][_0x1e332a('0x162')](_0x589e3d,_0x4df89a[_0x1e332a('0x12e')],_0x4df89a[_0x1e332a('0x3a')]);let _0x2625e9=_0x1ed451[_0x1e332a('0x18b')];if(_0x1ed451[_0x1e332a('0x18b')]===-0x1)return this[_0x1e332a('0x1a0')][_0x1e332a('0x57')](this,_0x4df89a,'-1'),_0x1ed451;else{if(_0x1ed451[_0x1e332a('0x1aa')]===_0x1e332a('0xf5'))_0x1ed451[_0x1e332a('0x18b')]=_0x1ed451[_0x1e332a('0x18b')][_0x1e332a('0x1a5')]>0x0?_0x1ed451[_0x1e332a('0x18b')]:'t';else _[_0x1e332a('0x78')](_0x1ed451[_0x1e332a('0x18b')])&&(_0x1ed451[_0x1e332a('0x18b')]='#',_0x2625e9='#');}if(!this[_0x1e332a('0xd8')](_0x4df89a[_0x1e332a('0xa3')]))this[_0x1e332a('0x11')][_0x1e332a('0x1ce')](_0x1e332a('0x123'));else{const _0x3b501c=this[_0x1e332a('0x7c')][_0x1e332a('0x57')](this,_0x4df89a[_0x1e332a('0xa3')]);if(!_0x3b501c)return this[_0x1e332a('0x11')][_0x1e332a('0x1a6')](_0x4df89a,'no\x20variable\x20found');this[_0x1e332a('0x11')]['setVariable'](_0x3b501c,_0x2625e9);}return this[_0x1e332a('0x1a0')]['sync'](this,_0x4df89a,_0x2625e9),_0x1ed451;},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x1ce')]=function(_0xdc03ce){const _0x297025=_0x4d5af2;return logger[_0x297025('0x86')](util[_0x297025('0x52')]('Enter\x20in\x20NOOP\x20(%s)\x20block',_0xdc03ce[_0x297025('0x196')])),this[_0x297025('0x11')][_0x297025('0x1ce')](_0xdc03ce[_0x297025('0x1b7')]||_0xdc03ce[_0x297025('0x196')]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xb4')]=function(_0x259ea9){const _0x1a6dd0=_0x4d5af2;logger['info'](util['format'](_0x1a6dd0('0x122'),_0x259ea9[_0x1a6dd0('0x196')]));if(!this['isConfigured'](_0x259ea9[_0x1a6dd0('0x81')]))return this['channel'][_0x1a6dd0('0x1a6')](_0x259ea9,_0x1a6dd0('0x4e'));logger[_0x1a6dd0('0x86')](util[_0x1a6dd0('0x52')](_0x1a6dd0('0x16e'),this[_0x1a6dd0('0x11')][_0x1a6dd0('0x7')],_0x259ea9[_0x1a6dd0('0x81')]));const _0x38de50=this[_0x1a6dd0('0xc5')][_0x1a6dd0('0x57')](this,_0x259ea9[_0x1a6dd0('0x3f')]),_0x5190f7=this[_0x1a6dd0('0x88')]['sync'](this,_0x259ea9[_0x1a6dd0('0x81')],_0x38de50);return _0x5190f7?(logger[_0x1a6dd0('0x86')](util[_0x1a6dd0('0x52')](_0x1a6dd0('0x77'),this[_0x1a6dd0('0x11')]['callerid'],_0x259ea9[_0x1a6dd0('0x81')])),this[_0x1a6dd0('0x11')][_0x1a6dd0('0x1ce')](util[_0x1a6dd0('0x52')](_0x1a6dd0('0x77'),this[_0x1a6dd0('0x11')][_0x1a6dd0('0x7')],_0x259ea9[_0x1a6dd0('0x81')])),{'code':0xc8,'result':_0x1a6dd0('0x36')}):(logger['info'](util['format'](_0x1a6dd0('0x19'),this[_0x1a6dd0('0x11')][_0x1a6dd0('0x7')],_0x259ea9['findBy'])),this[_0x1a6dd0('0x11')][_0x1a6dd0('0x1ce')](util[_0x1a6dd0('0x52')](_0x1a6dd0('0x77'),this[_0x1a6dd0('0x11')]['callerid'],_0x259ea9[_0x1a6dd0('0x81')])),{'code':0xc8,'result':_0x1a6dd0('0x113')});},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x2d')]=function(_0x1206e3){const _0x3a561c=_0x4d5af2;logger['info'](util[_0x3a561c('0x52')](_0x3a561c('0x99'),_0x1206e3[_0x3a561c('0x196')]));if(!this['isConfigured'](_0x1206e3[_0x3a561c('0x5d')]))return this[_0x3a561c('0x11')][_0x3a561c('0x1a6')](_0x1206e3,_0x3a561c('0x12'));const _0x532d7f=this[_0x3a561c('0xe4')][_0x3a561c('0x57')](this,_0x1206e3[_0x3a561c('0x5d')]);if(!_0x532d7f)return this[_0x3a561c('0x11')][_0x3a561c('0x1a6')](_0x1206e3,_0x3a561c('0x13e'));const _0x305422=this[_0x3a561c('0x11')][_0x3a561c('0x10d')](_0x3a561c('0xd3'),[_0x532d7f,_0x1206e3['opts']]);if(_0x305422[_0x3a561c('0x18b')]===-0x1)return _0x305422;return this[_0x3a561c('0x11')][_0x3a561c('0x1ce')](util[_0x3a561c('0x52')]('Executed\x20command\x20%s\x20%s',_0x3a561c('0xd3'),_0x532d7f));},AGIVertices['prototype'][_0x4d5af2('0xdf')]=function(_0x3bbbaa){const _0x496b4e=_0x4d5af2;logger[_0x496b4e('0x86')](util['format'](_0x496b4e('0x4b'),_0x3bbbaa[_0x496b4e('0x196')]));if(!this[_0x496b4e('0xd8')](_0x3bbbaa[_0x496b4e('0xa6')]))return this['channel'][_0x496b4e('0x1a6')](_0x3bbbaa,_0x496b4e('0x76'));let _0x464068='';const _0x584356=parseInt(_0x3bbbaa['queue_id'],0xa);if(isNaN(_0x584356))_0x464068=_0x3bbbaa['queue_id'];else{_0x464068=this['getVoiceQueue']['sync'](this,_0x3bbbaa[_0x496b4e('0xa6')]);if(!_0x464068)return this[_0x496b4e('0x11')][_0x496b4e('0x1a6')](_0x3bbbaa,_0x496b4e('0x129'));}let _0xf54dd7='';if(this[_0x496b4e('0xd8')](_0x3bbbaa[_0x496b4e('0x5d')])){const _0x4aead1=this[_0x496b4e('0xe4')][_0x496b4e('0x57')](this,_0x3bbbaa[_0x496b4e('0x5d')]);_0x4aead1&&(_0xf54dd7=_0x4aead1);}this[_0x496b4e('0x1a0')][_0x496b4e('0x57')](this,_0x3bbbaa,_0x464068);_0x3bbbaa[_0x496b4e('0x6c')][_0x496b4e('0xaf')]('x')<0x0&&(_0x3bbbaa[_0x496b4e('0x6c')]+='x');_0x3bbbaa[_0x496b4e('0x6c')][_0x496b4e('0xaf')]('X')<0x0&&(_0x3bbbaa[_0x496b4e('0x6c')]+='X');this[_0x496b4e('0x11')][_0x496b4e('0x193')](_0x496b4e('0xda'),_0x464068?_0x464068[_0x496b4e('0x29')]():'');const _0x244c22=this['channel']['exec']('QUEUE',[_0x464068,_0x3bbbaa[_0x496b4e('0x6c')],_0x3bbbaa['url'],_0xf54dd7,_0x3bbbaa[_0x496b4e('0xf5')],_0x3bbbaa[_0x496b4e('0x80')],_0x3bbbaa[_0x496b4e('0x49')],_0x3bbbaa[_0x496b4e('0x74')],'',_0x3bbbaa[_0x496b4e('0x5f')]]);if(_0x244c22[_0x496b4e('0x18b')]===-0x1)return _0x244c22;return this['channel'][_0x496b4e('0x1ce')](util[_0x496b4e('0x52')](_0x496b4e('0x28'),_0x496b4e('0xf8'),_0x464068));},AGIVertices['prototype']['record']=function(_0x1a8a20){const _0x5520fb=_0x4d5af2;logger[_0x5520fb('0x86')](util['format'](_0x5520fb('0xa8'),_0x1a8a20[_0x5520fb('0x196')]));const _0x2eb81e=_0x1a8a20['recordingFormat']||'wav',_0x251550=util[_0x5520fb('0x52')](_0x5520fb('0x1cb'),this['channel'][_0x5520fb('0x15')],rs[_0x5520fb('0x10b')](0x5)),_0x455e2f=util[_0x5520fb('0x52')]('%s/recordings/%s.%s',FILES_PATH,_0x251550,_0x2eb81e),_0x33fba=util[_0x5520fb('0x52')]('%s/recordings/%s',FILES_PATH,_0x251550);return this[_0x5520fb('0x18e')]['sync'](this,_0x1a8a20,_0x251550,_0x455e2f),this[_0x5520fb('0x11')]['setVariable']('RECORDING_SAVENAME',_0x251550),logger[_0x5520fb('0x86')](_0x5520fb('0xa4'),_0x33fba,_0x2eb81e,_0x1a8a20['escape_digits'],_0x1a8a20[_0x5520fb('0xf5')]),this[_0x5520fb('0x11')][_0x5520fb('0x1a')](_0x33fba,_0x2eb81e,_0x1a8a20[_0x5520fb('0x2c')],_0x1a8a20[_0x5520fb('0xf5')],undefined,!![]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x5c')]=function(_0x5dd9fb){const _0x5c34ed=_0x4d5af2;logger[_0x5c34ed('0x86')](util['format'](_0x5c34ed('0x5a'),_0x5dd9fb[_0x5c34ed('0x196')]));if(!this[_0x5c34ed('0xd8')](_0x5dd9fb[_0x5c34ed('0xc2')]))return this[_0x5c34ed('0x11')][_0x5c34ed('0x1ce')](_0x5c34ed('0x7b'));const _0x1368d1=this[_0x5c34ed('0x48')]['sync'](this,_0x5dd9fb);logger[_0x5c34ed('0x86')](util[_0x5c34ed('0x52')](_0x5c34ed('0x22'),util[_0x5c34ed('0xf2')](_0x1368d1,{'showHidden':![],'depth':null})));if(!this[_0x5c34ed('0xd8')](_0x5dd9fb[_0x5c34ed('0xa3')]))return this[_0x5c34ed('0x11')][_0x5c34ed('0x1ce')](_0x5c34ed('0x11a'));const _0x5cf2ae=this[_0x5c34ed('0x7c')]['sync'](this,_0x5dd9fb[_0x5c34ed('0xa3')]);if(!_0x5cf2ae)return this[_0x5c34ed('0x11')][_0x5c34ed('0x1a6')](_0x5dd9fb,_0x5c34ed('0x1d2'));this[_0x5c34ed('0x11')][_0x5c34ed('0x193')](util['format']('%s_STATUS_CODE',_0x5cf2ae),_0x1368d1['statusCode']?_0x1368d1[_0x5c34ed('0xfe')]:'200'),this[_0x5c34ed('0x11')]['setVariable'](util['format'](_0x5c34ed('0x4'),_0x5cf2ae),_0x1368d1['statusMessage']?_0x1368d1[_0x5c34ed('0x191')]:'OK');if(_0x1368d1[_0x5c34ed('0x1d0')])try{this[_0x5c34ed('0x34')](_0x1368d1[_0x5c34ed('0x1d0')],_0x5cf2ae);}catch(_0x5c3094){logger['error'](util[_0x5c34ed('0x52')]('Unable\x20to\x20set\x20result\x20in\x20variable\x20%s',_0x5cf2ae));}return this['channel'][_0x5c34ed('0x1ce')](util[_0x5c34ed('0x52')](_0x5c34ed('0xd2'),_0x5cf2ae));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0xbc')]=function(_0x282398){const _0x2e6a5a=_0x4d5af2;return logger[_0x2e6a5a('0x86')](util[_0x2e6a5a('0x52')](_0x2e6a5a('0x20'),_0x282398[_0x2e6a5a('0x196')])),this[_0x2e6a5a('0x11')][_0x2e6a5a('0x56')](_0x282398[_0x2e6a5a('0x144')]['replace'](/\s+/g,''),_0x282398[_0x2e6a5a('0x2c')]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x124')]=function(_0x2df66f){const _0x324a21=_0x4d5af2;return logger[_0x324a21('0x86')](util[_0x324a21('0x52')](_0x324a21('0x159'),_0x2df66f[_0x324a21('0x196')])),this[_0x324a21('0x11')][_0x324a21('0x40')](_0x2df66f[_0x324a21('0x69')][_0x324a21('0x9e')](/\s+/g,''),_0x2df66f[_0x324a21('0x2c')]);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x11d')]=function(_0x535be7){const _0x18b854=_0x4d5af2;return logger[_0x18b854('0x86')](util['format'](_0x18b854('0x156'),_0x535be7[_0x18b854('0x196')])),this[_0x18b854('0x11')]['sayPhonetic'](_0x535be7[_0x18b854('0x4f')],_0x535be7[_0x18b854('0x2c')]);},AGIVertices[_0x4d5af2('0x17b')]['sendMail']=function(_0x364fe1){const _0xba2947=_0x4d5af2;logger['info'](util[_0xba2947('0x52')](_0xba2947('0x199'),_0x364fe1[_0xba2947('0x196')]));if(!this['isConfigured'](_0x364fe1[_0xba2947('0x104')]))return this[_0xba2947('0x11')]['noop'](_0xba2947('0xee'));const _0x2831a1=this['getMailAccount'][_0xba2947('0x57')](this,_0x364fe1[_0xba2947('0x104')]);if(!_0x2831a1||!_0x2831a1['Smtp'])return this[_0xba2947('0x11')][_0xba2947('0x1a6')](_0x364fe1,'no\x20mail\x20account\x20found');const _0x1ec1b7={'from':util[_0xba2947('0x52')]('\x22%s\x22\x20<%s>',_0x2831a1['name'],_0x2831a1[_0xba2947('0x71')]||_0x2831a1[_0xba2947('0x44')][_0xba2947('0x85')]),'to':_0x364fe1['to']||'','cc':_0x364fe1['cc']||'','bcc':_0x364fe1[_0xba2947('0x10')]||'','subject':_0x364fe1[_0xba2947('0x187')],'html':_0x364fe1['text'],'text':_0x364fe1['text']},_0x191e8a={'tls':{'rejectUnauthorized':![]}};_0x2831a1[_0xba2947('0x44')][_0xba2947('0x146')]?_0x191e8a[_0xba2947('0x146')]=_0x2831a1[_0xba2947('0x44')][_0xba2947('0x146')]:(_0x191e8a[_0xba2947('0x14c')]=_0x2831a1[_0xba2947('0x44')][_0xba2947('0x14c')],_0x191e8a[_0xba2947('0x82')]=_0x2831a1['Smtp'][_0xba2947('0x82')],_0x191e8a[_0xba2947('0xae')]=_0x2831a1[_0xba2947('0x44')][_0xba2947('0xae')]);_0x2831a1[_0xba2947('0x44')][_0xba2947('0x6a')]&&(_0x191e8a[_0xba2947('0x15a')]={'user':_0x2831a1[_0xba2947('0x44')][_0xba2947('0x85')],'pass':_0x2831a1[_0xba2947('0x44')][_0xba2947('0x1c8')]});if(this['isConfigured'](_0x364fe1[_0xba2947('0x16')])){}return logger[_0xba2947('0x17e')](_0xba2947('0x107'),JSON[_0xba2947('0xbb')](_0x1ec1b7)),this[_0xba2947('0x1a0')][_0xba2947('0x57')](this,_0x364fe1,_0x364fe1['account_id']),this['channel'][_0xba2947('0x1ce')](util[_0xba2947('0x52')](_0xba2947('0x8c'),_0x2831a1[_0xba2947('0xc8')])),this[_0xba2947('0x103')][_0xba2947('0x57')](this,_0x191e8a,_0x1ec1b7),this['channel']['noop'](_0xba2947('0x119'));},AGIVertices[_0x4d5af2('0x17b')]['sendFax']=function(_0x2913ff){const _0x3870e9=_0x4d5af2;return logger[_0x3870e9('0x86')](util[_0x3870e9('0x52')]('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x2913ff[_0x3870e9('0x196')])),this[_0x3870e9('0x11')][_0x3870e9('0x1ce')](_0x3870e9('0x90'));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x54')]=function(_0x3e4b74){const _0x428fb5=_0x4d5af2;logger['info'](util[_0x428fb5('0x52')](_0x428fb5('0x1cc'),_0x3e4b74['label']));if(!this[_0x428fb5('0xd8')](_0x3e4b74[_0x428fb5('0x1b9')]))return this['channel']['noop'](_0x428fb5('0x72'));const _0x359843=this[_0x428fb5('0x102')][_0x428fb5('0x57')](this,_0x3e4b74[_0x428fb5('0x1b9')]);if(!_0x359843)return this['channel'][_0x428fb5('0x1a6')](_0x3e4b74,_0x428fb5('0xcd'));const _0x56f2d8={'body':_0x3e4b74['sms_text'],'phone':_0x3e4b74['to']||'','SmsAccountId':_0x359843['id']};return logger['debug'](_0x428fb5('0x58'),JSON[_0x428fb5('0xbb')](_0x56f2d8)),this[_0x428fb5('0x1a0')][_0x428fb5('0x57')](this,_0x3e4b74,_0x3e4b74['sms_account_id']),this[_0x428fb5('0x11')]['noop'](util[_0x428fb5('0x52')](_0x428fb5('0x148'),_0x359843[_0x428fb5('0xc8')])),this[_0x428fb5('0xba')][_0x428fb5('0x57')](this,_0x56f2d8),this[_0x428fb5('0x11')][_0x428fb5('0x1ce')](_0x428fb5('0x47'));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x170')]=function(_0x649c44){const _0x3c8f4f=_0x4d5af2;logger[_0x3c8f4f('0x86')](util['format'](_0x3c8f4f('0xe5'),_0x649c44[_0x3c8f4f('0x196')]));if(!this[_0x3c8f4f('0xd8')](_0x649c44[_0x3c8f4f('0xa3')]))return this[_0x3c8f4f('0x11')][_0x3c8f4f('0x1a6')](_0x649c44,_0x3c8f4f('0x109'));const _0x202997=this[_0x3c8f4f('0x7c')]['sync'](this,_0x649c44[_0x3c8f4f('0xa3')]);if(!_0x202997)return this[_0x3c8f4f('0x11')][_0x3c8f4f('0x1a6')](_0x649c44,'no\x20variable\x20found');return this['channel'][_0x3c8f4f('0x193')](_0x202997,_0x649c44['variable_value']);},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x139')]=function(_0x49ebfa){const _0x4f8f88=_0x4d5af2;logger[_0x4f8f88('0x86')](util[_0x4f8f88('0x52')](_0x4f8f88('0x30'),_0x49ebfa['label'])),this['channel'][_0x4f8f88('0x1ce')]('START\x20CALLY\x20SQUARE');if(_0x49ebfa[_0x4f8f88('0xdc')]===_0x4f8f88('0x179'))return this[_0x4f8f88('0x11')][_0x4f8f88('0x1ce')](_0x4f8f88('0x13c')),this[_0x4f8f88('0x11')][_0x4f8f88('0xdc')]();return this[_0x4f8f88('0x11')]['noop'](_0x4f8f88('0x1ba'));},AGIVertices[_0x4d5af2('0x17b')]['subproject']=function(_0x154987){const _0x5a6864=_0x4d5af2;logger[_0x5a6864('0x86')](util[_0x5a6864('0x52')](_0x5a6864('0x17f'),_0x154987[_0x5a6864('0x196')]));if(!this[_0x5a6864('0xd8')](_0x154987['project_id']))return this[_0x5a6864('0x11')][_0x5a6864('0x1a6')](_0x154987,'no\x20subproject\x20selected');const _0x11accc=this[_0x5a6864('0xfd')]['sync'](this,_0x154987[_0x5a6864('0xc7')]);if(!this['isConfigured'](_0x11accc))return this[_0x5a6864('0x11')][_0x5a6864('0x1a6')](_0x154987,util['format']('no\x20subproject\x20found\x20with\x20id\x20%d',_0x154987[_0x5a6864('0xc7')]));if(_0x11accc===this[_0x5a6864('0x11')][_0x5a6864('0x106')])return this[_0x5a6864('0x11')]['error'](_0x154987,_0x5a6864('0x13d'));this['createSquareDetailsReport'][_0x5a6864('0x57')](this,_0x154987,_0x11accc);const _0x5de957=this[_0x5a6864('0x11')][_0x5a6864('0x10d')](_0x5a6864('0x1ca'),util[_0x5a6864('0x52')](_0x5a6864('0xd5'),config[_0x5a6864('0x80')][_0x5a6864('0x14c')]||_0x5a6864('0x6e'),_0x11accc,this[_0x5a6864('0x11')]['arg_1']));if(_0x5de957[_0x5a6864('0x18b')]===-0x1)return _0x5de957;return this[_0x5a6864('0x11')][_0x5a6864('0x1ce')](util[_0x5a6864('0x52')](_0x5a6864('0x28'),'AGI',_0x11accc));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x132')]=function(_0x952135){const _0x4a6588=_0x4d5af2;logger[_0x4a6588('0x86')](util['format'](_0x4a6588('0xf6'),_0x952135[_0x4a6588('0x196')]));const _0x51acb6=this[_0x4a6588('0x9')][_0x4a6588('0x57')](this,_0x952135[_0x4a6588('0x9a')]);this['createSquareDetailsReport'][_0x4a6588('0x57')](this,_0x952135,_0x952135[_0x4a6588('0x9a')]);if(this[_0x4a6588('0xd8')](_0x952135[_0x4a6588('0xa3')])){const _0x1c25e4=this[_0x4a6588('0x7c')][_0x4a6588('0x57')](this,_0x952135[_0x4a6588('0xa3')]);if(_0x1c25e4)return this[_0x4a6588('0x11')][_0x4a6588('0x193')](_0x1c25e4,_0x51acb6),this[_0x4a6588('0x11')]['noop'](util[_0x4a6588('0x52')](_0x4a6588('0x14f'),_0x952135['command'],_0x1c25e4));}return this[_0x4a6588('0x11')]['noop'](util[_0x4a6588('0x52')](_0x4a6588('0x8a'),_0x952135[_0x4a6588('0x9a')]));},AGIVertices['prototype'][_0x4d5af2('0x1a3')]=function(_0xcc1320){const _0xfd1fc4=_0x4d5af2;logger[_0xfd1fc4('0x86')](util['format'](_0xfd1fc4('0x1bf'),_0xcc1320[_0xfd1fc4('0x196')])),_0xcc1320[_0xfd1fc4('0x4f')]=_0xcc1320['text']['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0xfd1fc4('0xd8')](_0xcc1320[_0xfd1fc4('0x14a')]))return this[_0xfd1fc4('0x11')]['noop'](_0xfd1fc4('0x73'));if(!this[_0xfd1fc4('0xd8')](_0xcc1320['text']))return this[_0xfd1fc4('0x11')]['noop'](_0xfd1fc4('0x7a'));this['channel']['noop'](util[_0xfd1fc4('0x52')]('Trying\x20Google\x20Cloud\x20TTS\x20%s',_0xcc1320[_0xfd1fc4('0x4f')]));const _0x4ad5da=this[_0xfd1fc4('0x3e')][_0xfd1fc4('0x57')](this,_0xcc1320);if(_0x4ad5da){this['channel'][_0xfd1fc4('0x1ce')](util[_0xfd1fc4('0x52')](_0xfd1fc4('0x180'),_0x4ad5da));const _0x300021=this['channel'][_0xfd1fc4('0xdd')](_0x4ad5da);try{fs[_0xfd1fc4('0x15b')](_0x4ad5da+_0xfd1fc4('0x7d'));}catch(_0x343f38){logger[_0xfd1fc4('0x1a6')](_0x343f38);}return _0x300021;}return this['channel'][_0xfd1fc4('0x1a6')](_0xcc1320,_0xfd1fc4('0x145'));},AGIVertices['prototype'][_0x4d5af2('0x1')]=function(_0x38d6bf){const _0x49ee23=_0x4d5af2;logger[_0x49ee23('0x86')](util['format']('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x38d6bf[_0x49ee23('0x196')])),_0x38d6bf['text']=_0x38d6bf['text'][_0x49ee23('0x9e')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x49ee23('0xd8')](_0x38d6bf[_0x49ee23('0x4f')]))return this[_0x49ee23('0x11')][_0x49ee23('0x1ce')]('no\x20text\x20configured');this[_0x49ee23('0x11')][_0x49ee23('0x1ce')](util[_0x49ee23('0x52')](_0x49ee23('0x117'),_0x38d6bf[_0x49ee23('0x4f')]));const _0x14aa47=this[_0x49ee23('0x15f')][_0x49ee23('0x57')](this,_0x38d6bf);if(_0x14aa47){this[_0x49ee23('0x11')][_0x49ee23('0x1ce')](util['format']('Google\x20TTS\x20%s\x20file\x20created',_0x14aa47));const _0x41aabe=this['channel']['streamFile'](_0x14aa47);try{fs['unlink'](_0x14aa47+_0x49ee23('0x7d'));}catch(_0x4591e7){logger[_0x49ee23('0x1a6')](_0x4591e7);}return _0x41aabe;}return this['channel'][_0x49ee23('0x1a6')](_0x38d6bf,_0x49ee23('0x43'));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x3b')]=function(_0x42e073){const _0x1c5a40=_0x4d5af2;logger['info'](util[_0x1c5a40('0x52')](_0x1c5a40('0x150'),_0x42e073[_0x1c5a40('0x196')]));if(!this['isConfigured'](_0x42e073[_0x1c5a40('0x81')]))return this[_0x1c5a40('0x11')][_0x1c5a40('0x1a6')](_0x42e073,_0x1c5a40('0x4e'));logger[_0x1c5a40('0x86')](util['format']('FIND\x20AGENT\x20%s\x20BY\x20%s',this[_0x1c5a40('0x11')]['callerid'],_0x42e073[_0x1c5a40('0x81')]));const _0x3d7f43=this[_0x1c5a40('0xc9')]['sync'](this,_0x42e073['findBy']);return _0x3d7f43?(logger[_0x1c5a40('0x86')](util[_0x1c5a40('0x52')](_0x1c5a40('0x77'),this[_0x1c5a40('0x11')][_0x1c5a40('0x7')],_0x42e073[_0x1c5a40('0x81')])),this['channel'][_0x1c5a40('0x1ce')](util[_0x1c5a40('0x52')](_0x1c5a40('0x77'),this[_0x1c5a40('0x11')][_0x1c5a40('0x7')],_0x42e073['findBy'])),{'code':0xc8,'result':_0x1c5a40('0x36')}):(logger[_0x1c5a40('0x86')](util['format'](_0x1c5a40('0x19'),this[_0x1c5a40('0x11')][_0x1c5a40('0x7')],_0x42e073['findBy'])),this['channel'][_0x1c5a40('0x1ce')](util[_0x1c5a40('0x52')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x1c5a40('0x11')][_0x1c5a40('0x7')],_0x42e073['findBy'])),{'code':0xc8,'result':_0x1c5a40('0x113')});},AGIVertices['prototype'][_0x4d5af2('0x1b4')]=function(_0x5c0488){const _0x3f5b7a=_0x4d5af2;logger['info'](util['format'](_0x3f5b7a('0xb7'),_0x5c0488[_0x3f5b7a('0x196')]));const _0x4f7393=this['channel'][_0x3f5b7a('0x10d')](_0x3f5b7a('0xca'),[_0x5c0488[_0x3f5b7a('0x1bd')],_0x5c0488[_0x3f5b7a('0x1c9')]]);if(_0x4f7393['result']===-0x1)return _0x4f7393;return this[_0x3f5b7a('0x11')][_0x3f5b7a('0x1ce')](util[_0x3f5b7a('0x52')](_0x3f5b7a('0x28'),_0x3f5b7a('0xca'),_0x5c0488['mailbox']));},AGIVertices[_0x4d5af2('0x17b')][_0x4d5af2('0x1c0')]=function(_0x367b2f){const _0x10d676=_0x4d5af2;logger[_0x10d676('0x86')](util[_0x10d676('0x52')](_0x10d676('0x68'),_0x367b2f[_0x10d676('0x196')]));if(!this[_0x10d676('0xd8')](_0x367b2f[_0x10d676('0xa3')]))return this['channel'][_0x10d676('0x1a6')](_0x367b2f,_0x10d676('0x109'));const _0x176d19=this[_0x10d676('0x7c')][_0x10d676('0x57')](this,_0x367b2f[_0x10d676('0xa3')]);if(!_0x176d19)return this['channel']['error'](_0x367b2f,'no\x20variable\x20found');const _0x46d281=this['channel']['getVariable'](_0x176d19);return{'code':0xc8,'result':_0x46d281[_0x10d676('0x1aa')]?_0x46d281[_0x10d676('0x1aa')]:'-'};},String[_0x4d5af2('0x17b')]['replaceAll']=function(_0xd2e1ad,_0x5f530e){const _0x1aa30b=_0x4d5af2;return this[_0x1aa30b('0xe2')](_0xd2e1ad)[_0x1aa30b('0x12a')](_0x5f530e);},module[_0x4d5af2('0x169')]=AGIVertices;
\ No newline at end of file
+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