5e8d9045da32429545653b3406e2f73964e77573
[motion-next.git] / server / services / agi / vertices.js
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;