(()=>{var t,e,n={532:(t,e,n)=>{"use strict";n.d(e,{F:()=>i,m:()=>o});const i=()=>{let t=!1;var e;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},o=()=>/Android/i.test(navigator.userAgent)},569:(t,e,n)=>{"use strict";n.d(e,{Q:()=>s,r:()=>r});let i=!1,o=null;const a={clickedRecommendedProduct:"Leadster AI - Recomendação: clicou no produto recomendado",changedRecommendationSlide:"Leadster AI - Recomendação: navegou pela recomendação"},r=t=>{if(i)return;o=t;if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e[0].isIntersecting&&((()=>{const t=document.createElement("script");t.textContent="\n window.op = window.op||function(...args){(window.op.q=window.op.q||[]).push(args);};\n window.op('init', {\n apiUrl: 'https://openpanel.getleadster.com/api',\n clientId: 'e9baa3aa-17de-4ee1-aa7b-58bb5b8f5d00',\n clientSecret: 'sec_a934f115dbd93b866dc4',\n trackScreenViews: false,\n trackOutgoingLinks: true,\n trackAttributes: false,\n });\n ",document.head.appendChild(t);const e=document.createElement("script");e.src="https://openpanel.dev/op1.js",e.defer=!0,e.async=!0,document.head.appendChild(e),i=!0})(),t.disconnect())}));t.observe(document.querySelector(".nld-chatbot"))}},s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i||!o)return;const n=a[t];if(!n)return void console.error(`Invalid event alias: '${t}'. Available events:`,a);const r={...{company_id:o.companyId,company_segment:o.companySegment},...e};window.op("track",n,r)}},357:(t,e,n)=>{"use strict";n.d(e,{e:()=>i});const i={"pt-BR":{"input-placeholder":"Sua resposta...","input-birthday":"DD/MM/AAAA","send-text":"Enviar",now:"agora",online_now:"Online agora",powered_by:"Feito com",test_free_leadster:"Teste Grátis Leadster",access_now:"Acessar agora!",cancel_redirect:"Cancelar Redirecionamento",open_your_whatsapp:"Abrindo o seu WhatsApp...",select_one:"Selecione ao menos um item da lista.",select_option:"-- Selecione uma opção --",send_whatsapp:"Falar por WhatsApp",restart_chat:"Reiniciar Chat",what_is_your_city:"Qual a sua cidade?",loading:"Carregando",continue:"Continuar",cancel:"Cancelar",schedule:"Agendar",return:"Voltar",select_hour:"Selecione o horário",sending:"Enviando",confirm_schedule:"Confirme o agendamento",date:"Data",time:"Horário",at:"às",avatar:"Avatar",logo:"Logo",close_button:"Botão Fechar",right_arrow:"Seta Direita",next:"Próximo",previous:"Anterior",whatsapp:"WhatsApp",new_message:"(1) Nova Mensagem!",error_schedule_line_1:"Não conseguimos agendar sua reunião neste momento 😥",error_schedule_line_2:"Fale com nossa equipe por gentileza",scheduled_sucessfuly:"Agendamento realizado",privacy_policy_leadster:"Clicando acima você aceita nossas | Políticas de privacidade",privacy_policy_website:"Clicando acima você aceita as Políticas de privacidade deste |site| e da | Leadster",leadster_ai:{"input-placeholder":"Qual sua dúvida?...",default_end_conversation_label:"Falar com um atendente",feedback_error:"Por favor, tente novamente mais tarde. Estou trabalhando para corrigir e voltar a responder",see_product:"Ver produto",disconnected_by_idle_timeout:{message_01:"Opa, pelo tempo de inatividade, estamos encerrando o atendimento",message_02:"Caso queira reiniciar o chat, por favor, clique no botão abaixo"},thumbs_up:"Resposta satisfatória",thumbs_down:"Resposta insatisfatória"},wrong_messages:{phone:"Desculpe, não entendi o seu telefone.",email:"Desculpe, não entendi o seu email.",email_corp:"Por favor, informe um endereço de e-mail corporativo válido.","unique-leadster-email":"Desculpe, esse e-mail já está cadastrado em nosso sistema, faça o login ou recupere sua senha.",birthday:"Desculpe, não entendi o seu aniversário. DD/MM/AAAA",cpf:"Desculpe, não entendi o seu CPF.",url:"Desculpe, não entendi a sua URL.",cep:"Desculpe, não entendi o seu CEP.","cpf/cnpj":"Desculpe, não entendi o seu CPF/CNPJ.",cnpj:"Desculpe, não entendi o seu CNPJ.",real:"Desculpe, não entendi o seu valor.",dollar:"Desculpe, não entendi o seu valor.",euro:"Desculpe, não entendi o seu valor.","state-and-city":"Desculpe, não entendi sua resposta. Talvez esteja faltando um acento.",default:"Desculpe, não entendi a sua resposta.",max_length:"Desculpe, o texto excedeu o limite de caracteres.",error_request:"Algo deu errado. Por favor, tente novamente mais tarde."},day:"Dia",night:"Noite",date_preposition:"",days:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],recommendation_response:["Selecionamos produtos incríveis pra você! Só lembrando que os preços podem sofrer alterações por conta das nossas promoções imperdíveis."]},"en-US":{"input-placeholder":"Your answer...","input-birthday":"DD/MM/YYYY","send-text":"Send",now:"now",online_now:"Online now",powered_by:"Powered by",test_free_leadster:"Test free Leadster",access_now:"Access now!",cancel_redirect:"Cancel Redirection",open_your_whatsapp:"Opening your WhatsApp...",select_one:"Select at least one item from the list.",select_option:"-- select an option --",send_whatsapp:"Speak via WhatsApp",restart_chat:"Restart Chat",what_is_your_city:"What is your city?",loading:"Loading",continue:"Continue",cancel:"Cancel",schedule:"Schedule",return:"Return",select_hour:"Select time",sending:"Sending",confirm_schedule:"Confirm schedule",date:"Date",time:"Time",at:"at",avatar:"Avatar",logo:"Logo",close_button:"Close Button",right_arrow:"Right Arrow",next:"Next",previous:"Previous",whatsapp:"WhatsApp",new_message:"(1) New Message!",error_schedule_line_1:"We are unable to schedule your meeting at this time 😥",error_schedule_line_2:"Please speak to our team",scheduled_sucessfuly:"Scheduled sucessfuly",privacy_policy_leadster:"By clicking above you accept our | Privacy Policy",privacy_policy_website:"By clicking above you accept the Privacy Policies of this |site| and this |platform",leadster_ai:{"input-placeholder":"What is your doubt?...",default_end_conversation_label:"Speak with a representative",feedback_error:"Please try again later. I'm working to fix it and get back to responding",see_product:"See product",disconnected_by_idle_timeout:{message_01:"Oops, due to inactivity, we are ending the session",message_02:"If you want to restart the chat, please click the button below"},thumbs_up:"Satisfactory response",thumbs_down:"Unsatisfactory response"},wrong_messages:{phone:"Sorry, I didn't understand your phone.",email:"Sorry, I didn't understand your email.",email_corp:"Please enter a valid corporate email address.","unique-leadster-email":"Sorry, this email is already registered in our system, login or retrieve your password.",birthday:"Sorry, I didn't understand your birthday. DD/MM/YYYY",cpf:"Sorry, I didn't understand your CPF.",url:"Sorry, I didn't understand your URL.",cep:"Sorry, I didn't understand your zip code.","cpf/cnpj":"Sorry, I didn't understand your CPF/CNPJ.",cnpj:"Sorry, I didn't understand your CNPJ.",real:"Sorry, I didn't understand your value.",dollar:"Sorry, I didn't understand your value.",euro:"Sorry, I didn't understand your value.","state-and-city":"Sorry, I didn't understand your value. Maybe an accent is missing.",default:"Sorry, I didn't understand your answer.",max_length:"Sorry, the text exceeded the character limit.",error_request:"Something went wrong. Please try again later."},day:"Day",night:"Night",date_preposition:"of",days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],recommendation_response:["We’ve selected amazing products for you! Just a reminder that prices may change due to our unbeatable promotions."]},"es-ES":{"input-placeholder":"Tu respuesta...","input-birthday":"DD/MM/AAAA","send-text":"Enviar",now:"ahora",online_now:"Online ahora",powered_by:"Hecho con",test_free_leadster:"Prueba gratuita de Leadster",access_now:"¡Accede ahora!",cancel_redirect:"Cancelar redireccionamiento",open_your_whatsapp:"Abriendo tu WhatsApp...",select_one:"Seleccione al menos un elemento de la lista.",select_option:"-- Seleccione una opción --",send_whatsapp:"Hablar por WhatsApp",restart_chat:"Reiniciar Chat",what_is_your_city:"¿Cuál es tu ciudad?",loading:"Cargando",continue:"Continuar",cancel:"Cancelar",schedule:"Programar",return:"Regresar",select_hour:"Seleccionar Hora",sending:"Enviando",confirm_schedule:"Confirmar la cita",date:"Fecha",time:"tiempo",at:"a",avatar:"Avatar",logo:"Logo",close_button:"Botón Cerrar",right_arrow:"Flecha Derecha",next:"Siguiente",previous:"Anterior",whatsapp:"WhatsApp",new_message:"(1) Nuevo mensaje!",error_schedule_line_1:"No podemos programar su reunión en este momento 😥",error_schedule_line_2:"Por favor habla con nuestro equipo",scheduled_sucessfuly:"Programación realizada",privacy_policy_leadster:"Al hacer click arriba aceptas nuestra | Política de Privacidad",privacy_policy_website:"Al hacer clic arriba, acepta las Políticas de privacidad de este | sitio | y | Leadster",leadster_ai:{"input-placeholder":"¿Cuál es su duda?...",default_end_conversation_label:"Hablar con un asistente",feedback_error:"Por favor, inténtalo de nuevo más tarde. Estoy trabajando para corregirlo y volver a responder",see_product:"Ver producto",disconnected_by_idle_timeout:{message_01:"Vaya, debido a la inactividad, estamos terminando la sesión",message_02:"Si desea reiniciar el chat, por favor haga clic en el botón de abajo"},thumbs_up:"Respuesta satisfactoria",thumbs_down:"Respuesta insatisfactoria"},wrong_messages:{phone:"Lo siento, no entendí tu teléfono.",email:"Lo siento, no entendí tu correo electrónico.",email_corp:"Ingrese una dirección de correo electrónico corporativa válida.","unique-leadster-email":"Lo sentimos, este correo electrónico ya está registrado en nuestro sistema, inicie sesión o recupere su contraseña.",birthday:"Lo siento, no entendí tu cumpleaños. DD/MM/AAAA",cpf:"Lo siento, no entendí tu CPF.",url:"Lo siento, no entendí tu URL.",cep:"Lo siento, no entendí tu código postal.","cpf/cnpj":"Lo siento, no entendí su CPF / CNPJ.",cnpj:"Lo siento, no entendí tu CNPJ.",real:"Lo siento, no entendí tu valor.",dollar:"Lo siento, no entendí tu valor.",euro:"Lo siento, no entendí tu valor.","state-and-city":"Lo siento, no entendí tu valor. Tal vez le falte un acento.",default:"Lo siento, no entendí tu respuesta.",max_length:"Lo siento, el texto superó el límite de caracteres.",error_request:"Algo salió mal. Por favor, inténtelo de nuevo más tarde."},day:"Día",night:"Noche",date_preposition:"de",days:["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],recommendation_response:["¡Hemos seleccionado productos increíbles para ti! Solo un recordatorio de que los precios pueden cambiar debido a nuestras promociones irresistibles."]},"nl-NL":{"input-placeholder":"Uw antwoord...","input-birthday":"DD/MM/JJJJ","send-text":"Verzenden",now:"nu",online_now:"Nu online",powered_by:"Gemaakt met",test_free_leadster:"Gratis Leadster Test",access_now:"Nu Toegang!",cancel_redirect:"Redirect Annuleren",open_your_whatsapp:"Uw WhatsApp openen...",select_one:"Selecteer ten minste één item uit de lijst.",select_option:"-- Selecteer een optie --",send_whatsapp:"Praten via WhatsApp",restart_chat:"Chat Herstarten",what_is_your_city:"Wat is uw stad?",loading:"Laden",continue:"Doorgaan",cancel:"Annuleren",schedule:"Afspraak maken",return:"Terug",select_hour:"Selecteer de tijd",sending:"Verzenden",confirm_schedule:"Bevestig de afspraak",date:"Datum",time:"Tijd",at:"om",avatar:"Avatar",logo:"Logo",close_button:"Sluitknop",right_arrow:"Rechter Pijl",next:"Volgende",previous:"Vorige",whatsapp:"WhatsApp",new_message:"(1) Nieuw Bericht!",error_schedule_line_1:"We konden uw vergadering op dit moment niet plannen 😥",error_schedule_line_2:"Neem contact op met ons team alstublieft",scheduled_sucessfuly:"Afspraak succesvol gemaakt",privacy_policy_leadster:"Door hierboven te klikken accepteert u ons | Privacybeleid",privacy_policy_website:"Door hierboven te klikken accepteert u het Privacybeleid van deze |site| en van | Leadster",leadster_ai:{"input-placeholder":"Wat is uw vraag?...",default_end_conversation_label:"Spreek met een vertegenwoordiger",feedback_error:"Probeer het later opnieuw. Ik werk eraan om het op te lossen en te antwoorden",see_product:"Product bekijken",disconnected_by_idle_timeout:{message_01:"Oeps, vanwege inactiviteit sluiten we de sessie",message_02:"Als u de chat opnieuw wilt starten, klik dan op de knop hieronder"},thumbs_up:"Tevredenstellend antwoord",thumbs_down:"Ontevredenstellend antwoord"},wrong_messages:{phone:"Sorry, ik begreep uw telefoonnummer niet.",email:"Sorry, ik begreep uw e-mail niet.",email_corp:"Voer een geldig zakelijk e-mailadres in.","unique-leadster-email":"Sorry, dit e-mailadres is al geregistreerd in ons systeem. Log in of herstel uw wachtwoord.",birthday:"Sorry, ik begreep uw geboortedatum niet. DD/MM/JJJJ",cpf:"Sorry, ik begreep uw CPF niet.",url:"Sorry, ik begreep uw URL niet.",cep:"Sorry, ik begreep uw postcode niet.","cpf/cnpj":"Sorry, ik begreep uw CPF/CNPJ niet.",cnpj:"Sorry, ik begreep uw CNPJ niet.",real:"Sorry, ik begreep uw waarde niet.",dollar:"Sorry, ik begreep uw waarde niet.",euro:"Sorry, ik begreep uw waarde niet.","state-and-city":"Sorry, ik begreep uw antwoord niet. Misschien mist er een accent.",default:"Sorry, ik begreep uw antwoord niet.",max_length:"Sorry, de tekst heeft het tekenlimiet overschreden.",error_request:"Er is iets misgegaan. Probeer het later opnieuw."},day:"Dag",night:"Nacht",date_preposition:"",days:["Zo","Ma","Di","Wo","Do","Vr","Za"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],recommendation_response:["We hebben geweldige producten voor je geselecteerd! Vergeet niet dat de prijzen kunnen veranderen door onze onverslaanbare aanbiedingen."]},"de-DE":{"input-placeholder":"Ihre Antwort...","input-birthday":"TT/MM/JJJJ","send-text":"Senden",now:"jetzt",online_now:"Jetzt online",powered_by:"Erstellt mit",test_free_leadster:"Kostenlos Leadster testen",access_now:"Jetzt zugreifen!",cancel_redirect:"Weiterleitung abbrechen",open_your_whatsapp:"Öffne dein WhatsApp...",select_one:"Wählen Sie mindestens einen Eintrag aus der Liste aus.",select_option:"-- Wählen Sie eine Option --",send_whatsapp:"Per WhatsApp chatten",restart_chat:"Chat neu starten",what_is_your_city:"Was ist Ihre Stadt?",loading:"Wird geladen",continue:"Fortsetzen",cancel:"Abbrechen",schedule:"Termin planen",return:"Zurück",select_hour:"Wählen Sie die Uhrzeit",sending:"Senden",confirm_schedule:"Termin bestätigen",date:"Datum",time:"Uhrzeit",at:"um",avatar:"Avatar",logo:"Logo",close_button:"Schließen-Schaltfläche",right_arrow:"Rechter Pfeil",next:"Nächste",previous:"Vorherige",whatsapp:"WhatsApp",new_message:"(1) Neue Nachricht!",error_schedule_line_1:"Wir konnten Ihren Termin momentan nicht planen 😥",error_schedule_line_2:"Bitte kontaktieren Sie unser Team",scheduled_sucessfuly:"Termin erfolgreich geplant",privacy_policy_leadster:"Durch Klicken oben akzeptieren Sie unsere | Datenschutzrichtlinien",privacy_policy_website:"Durch Klicken oben akzeptieren Sie die Datenschutzrichtlinien dieser |Website| und von | Leadster",leadster_ai:{"input-placeholder":"Was ist Ihre Frage?...",default_end_conversation_label:"Mit einem Vertreter sprechen",feedback_error:"Bitte versuchen Sie es später erneut. Ich arbeite daran, das Problem zu beheben und zu antworten",see_product:"Produkt ansehen",disconnected_by_idle_timeout:{message_01:"Hoppla, wegen Inaktivität schließen wir die Sitzung",message_02:"Falls Sie den Chat neu starten möchten, klicken Sie bitte auf die Schaltfläche unten"},thumbs_up:"Zufriedenstellende Antwort",thumbs_down:"Unbefriedigende Antwort"},wrong_messages:{phone:"Entschuldigung, ich habe Ihre Telefonnummer nicht verstanden.",email:"Entschuldigung, ich habe Ihre E-Mail-Adresse nicht verstanden.",email_corp:"Bitte geben Sie eine gültige geschäftliche E-Mail-Adresse ein.","unique-leadster-email":"Entschuldigung, diese E-Mail-Adresse ist bereits in unserem System registriert. Bitte loggen Sie sich ein oder stellen Sie Ihr Passwort wieder her.",birthday:"Entschuldigung, ich habe Ihr Geburtsdatum nicht verstanden. TT/MM/JJJJ",cpf:"Entschuldigung, ich habe Ihre CPF nicht verstanden.",url:"Entschuldigung, ich habe Ihre URL nicht verstanden.",cep:"Entschuldigung, ich habe Ihre Postleitzahl nicht verstanden.","cpf/cnpj":"Entschuldigung, ich habe Ihre CPF/CNPJ nicht verstanden.",cnpj:"Entschuldigung, ich habe Ihre CNPJ nicht verstanden.",real:"Entschuldigung, ich habe Ihren Wert nicht verstanden.",dollar:"Entschuldigung, ich habe Ihren Wert nicht verstanden.",euro:"Entschuldigung, ich habe Ihren Wert nicht verstanden.","state-and-city":"Entschuldigung, ich habe Ihre Antwort nicht verstanden. Vielleicht fehlt ein Akzent.",default:"Entschuldigung, ich habe Ihre Antwort nicht verstanden.",max_length:"Entschuldigung, der Text hat das Zeichenlimit überschritten.",error_request:"Etwas ist schiefgelaufen. Bitte versuchen Sie es später erneut."},day:"Tag",night:"Nacht",date_preposition:"",days:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],recommendation_response:["Wir haben fantastische Produkte für Sie ausgewählt! Denken Sie daran, dass sich die Preise aufgrund unserer unschlagbaren Angebote ändern können."]},"it-IT":{"input-placeholder":"La tua risposta...","input-birthday":"GG/MM/AAAA","send-text":"Invia",now:"adesso",online_now:"Online adesso",powered_by:"Realizzato con",test_free_leadster:"Prova Leadster Gratis",access_now:"Accedi ora!",cancel_redirect:"Annulla reindirizzamento",open_your_whatsapp:"Apertura di WhatsApp...",select_one:"Seleziona almeno un elemento dalla lista.",select_option:"-- Seleziona un'opzione --",send_whatsapp:"Parla su WhatsApp",restart_chat:"Riavvia chat",what_is_your_city:"Qual è la tua città?",loading:"Caricamento in corso",continue:"Continua",cancel:"Annulla",schedule:"Pianifica",return:"Ritorna",select_hour:"Seleziona l'ora",sending:"Invio",confirm_schedule:"Conferma la pianificazione",date:"Data",time:"Orario",at:"alle",avatar:"Avatar",logo:"Logo",close_button:"Pulsante Chiudi",right_arrow:"Freccia Destra",next:"Successivo",previous:"Precedente",whatsapp:"WhatsApp",new_message:"(1) Nuovo messaggio!",error_schedule_line_1:"Non siamo riusciti a pianificare la tua riunione in questo momento 😥",error_schedule_line_2:"Per favore, contatta il nostro team",scheduled_sucessfuly:"Pianificazione avvenuta con successo",privacy_policy_leadster:"Cliccando sopra accetti le nostre | Politiche sulla privacy",privacy_policy_website:"Cliccando sopra accetti le Politiche sulla privacy di questo |sito| e di | Leadster",leadster_ai:{"input-placeholder":"Qual è la tua domanda?...",default_end_conversation_label:"Parla con un rappresentante",feedback_error:"Per favore, riprova più tardi. Sto lavorando per risolvere e rispondere",see_product:"Vedi prodotto",disconnected_by_idle_timeout:{message_01:"Ops, a causa dell'inattività, stiamo terminando la sessione",message_02:"Se vuoi riavviare la chat, clicca sul pulsante qui sotto"},thumbs_up:"Risposta soddisfacente",thumbs_down:"Risposta insoddisfacente"},wrong_messages:{phone:"Scusa, non ho capito il tuo numero di telefono.",email:"Scusa, non ho capito la tua email.",email_corp:"Per favore, inserisci un indirizzo email aziendale valido.","unique-leadster-email":"Scusa, questa email è già registrata nel nostro sistema. Accedi o recupera la tua password.",birthday:"Scusa, non ho capito la tua data di nascita. GG/MM/AAAA",cpf:"Scusa, non ho capito il tuo CPF.",url:"Scusa, non ho capito il tuo URL.",cep:"Scusa, non ho capito il tuo CAP.","cpf/cnpj":"Scusa, non ho capito il tuo CPF/CNPJ.",cnpj:"Scusa, non ho capito il tuo CNPJ.",real:"Scusa, non ho capito il tuo valore.",dollar:"Scusa, non ho capito il tuo valore.",euro:"Scusa, non ho capito il tuo valore.","state-and-city":"Scusa, non ho capito la tua risposta. Forse manca un accento.",default:"Scusa, non ho capito la tua risposta.",max_length:"Scusa, il testo ha superato il limite di caratteri.",error_request:"Qualcosa è andato storto. Per favore, riprova più tardi."},day:"Giorno",night:"Notte",date_preposition:"",days:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],recommendation_response:["Abbiamo selezionato prodotti incredibili per te! Ricorda che i prezzi possono variare a causa delle nostre promozioni imperdibili."]},"ar-SA":{"input-placeholder":"إجابتك...","input-birthday":"DD/MM/YYYY","send-text":"إرسال",now:"الآن",online_now:"متصل الآن",powered_by:"مدعوم من",test_free_leadster:"جرب Leadster مجاناً",access_now:"الوصول الآن!",cancel_redirect:"إلغاء إعادة التوجيه",open_your_whatsapp:"فتح واتساب الخاص بك...",select_one:"يرجى اختيار عنصر واحد على الأقل من القائمة.",select_option:"-- اختر خياراً --",send_whatsapp:"تحدث عبر واتساب",restart_chat:"إعادة بدء المحادثة",what_is_your_city:"ما هي مدينتك؟",loading:"جار التحميل",continue:"استمرار",cancel:"إلغاء",schedule:"جدولة",return:"عودة",select_hour:"اختر الوقت",sending:"جار الإرسال",confirm_schedule:"تأكيد الجدولة",date:"التاريخ",time:"الوقت",at:"في",avatar:"الصورة الرمزية",logo:"الشعار",close_button:"زر الإغلاق",right_arrow:"السهم الأيمن",next:"التالي",previous:"السابق",whatsapp:"واتساب",new_message:"(1) رسالة جديدة!",error_schedule_line_1:"لم نتمكن من جدولة اجتماعك في هذا الوقت 😥",error_schedule_line_2:"يرجى الاتصال بفريقنا",scheduled_sucessfuly:"تمت الجدولة بنجاح",privacy_policy_leadster:"بالنقر أعلاه، فإنك تقبل | سياسة الخصوصية الخاصة بنا",privacy_policy_website:"بالنقر أعلاه، فإنك تقبل سياسة الخصوصية الخاصة بهذا |الموقع| و Leadster",leadster_ai:{"input-placeholder":"ما هو سؤالك؟...",default_end_conversation_label:"التحدث مع ممثل",feedback_error:"يرجى المحاولة مرة أخرى لاحقاً. أنا أعمل على حل المشكلة والرد",see_product:"عرض المنتج",disconnected_by_idle_timeout:{message_01:"عذراً، نظراً لعدم النشاط، سننهي الجلسة",message_02:"إذا كنت ترغب في إعادة بدء المحادثة، يرجى النقر على الزر أدناه"},thumbs_up:"استجابة مرضية",thumbs_down:"استجابة غير مرضية"},wrong_messages:{phone:"عذراً، لم أفهم رقم هاتفك.",email:"عذراً، لم أفهم بريدك الإلكتروني.",email_corp:"يرجى إدخال عنوان بريد إلكتروني صالح للشركة.","unique-leadster-email":"عذراً، هذا البريد الإلكتروني مسجل بالفعل في نظامنا. يرجى تسجيل الدخول أو استعادة كلمة المرور الخاصة بك.",birthday:"عذراً، لم أفهم تاريخ ميلادك. DD/MM/YYYY",cpf:"عذراً، لم أفهم رقم CPF الخاص بك.",url:"عذراً، لم أفهم عنوان URL الخاص بك.",cep:"عذراً، لم أفهم رمزك البريدي.","cpf/cnpj":"عذراً، لم أفهم رقم CPF/CNPJ الخاص بك.",cnpj:"عذراً، لم أفهم رقم CNPJ الخاص بك.",real:"عذراً، لم أفهم قيمتك.",dollar:"عذراً، لم أفهم قيمتك.",euro:"عذراً، لم أفهم قيمتك.","state-and-city":"عذراً، لم أفهم إجابتك. ربما هناك نقص في التشكيل.",default:"عذراً، لم أفهم إجابتك.",max_length:"عذراً، تجاوز النص الحد الأقصى للأحرف.",error_request:"حدث خطأ ما. يرجى المحاولة مرة أخرى لاحقًا."},day:"يوم",night:"ليل",date_preposition:"",days:["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],recommendation_response:["اخترنا لك منتجات رائعة! فقط تذكير بأن الأسعار قد تتغير بسبب عروضنا المميزة التي لا تُفوت."]},"hi-IN":{"input-placeholder":"आपका उत्तर...","input-birthday":"DD/MM/YYYY","send-text":"भेजें",now:"अभी",online_now:"अभी ऑनलाइन",powered_by:"द्वारा संचालित",test_free_leadster:"नि:शुल्क लीडस्टर परीक्षण",access_now:"अभी एक्सेस करें!",cancel_redirect:"पुनः निर्देश रद्द करें",open_your_whatsapp:"आपका व्हाट्सएप खोल रहा है...",select_one:"कृपया सूची से कम से कम एक आइटम चुनें।",select_option:"-- एक विकल्प चुनें --",send_whatsapp:"व्हाट्सएप पर बात करें",restart_chat:"चैट पुनः प्रारंभ करें",what_is_your_city:"आपका शहर कौन सा है?",loading:"लोड हो रहा है",continue:"जारी रखें",cancel:"रद्द करें",schedule:"अनुसूची",return:"वापस",select_hour:"समय चुनें",sending:"भेजा जा रहा है",confirm_schedule:"अनुसूची की पुष्टि करें",date:"तारीख",time:"समय",at:"पर",avatar:"अवतार",logo:"लोगो",close_button:"बंद करें बटन",right_arrow:"दायां तीर",next:"अगला",previous:"पिछला",whatsapp:"व्हाट्सएप",new_message:"(1) नया संदेश!",error_schedule_line_1:"हम इस समय आपकी मीटिंग निर्धारित नहीं कर सके 😥",error_schedule_line_2:"कृपया हमारी टीम से संपर्क करें",scheduled_sucessfuly:"अनुसूची सफलतापूर्वक बनाई गई",privacy_policy_leadster:"ऊपर क्लिक करके आप हमारी | गोपनीयता नीतियों को स्वीकार करते हैं",privacy_policy_website:"ऊपर क्लिक करके आप इस |साइट| और |लीडस्टर की गोपनीयता नीतियों को स्वीकार करते हैं",leadster_ai:{"input-placeholder":"आपका प्रश्न क्या है?...",default_end_conversation_label:"एक प्रतिनिधि से बात करें",feedback_error:"कृपया बाद में पुनः प्रयास करें। मैं समस्या को हल करने और उत्तर देने के लिए काम कर रहा हूं",see_product:"उत्पाद देखें",disconnected_by_idle_timeout:{message_01:"अरे, निष्क्रियता के कारण, हम सत्र समाप्त कर रहे हैं",message_02:"यदि आप चैट को पुनः प्रारंभ करना चाहते हैं, तो कृपया नीचे दिए गए बटन पर क्लिक करें"},thumbs_up:"संतोषजनक प्रतिक्रिया",thumbs_down:"असंतोषजनक प्रतिक्रिया"},wrong_messages:{phone:"माफ़ करें, मैं आपका फ़ोन नंबर समझ नहीं सका।",email:"माफ़ करें, मैं आपका ईमेल समझ नहीं सका।",email_corp:"कृपया एक मान्य कॉर्पोरेट ईमेल पता प्रदान करें।","unique-leadster-email":"माफ़ करें, यह ईमेल पहले से ही हमारे सिस्टम में पंजीकृत है। कृपया लॉगिन करें या अपना पासवर्ड पुनः प्राप्त करें।",birthday:"माफ़ करें, मैं आपकी जन्मतिथि नहीं समझ सका। DD/MM/YYYY",cpf:"माफ़ करें, मैं आपका CPF समझ नहीं सका।",url:"माफ़ करें, मैं आपका URL समझ नहीं सका।",cep:"माफ़ करें, मैं आपका CEP समझ नहीं सका।","cpf/cnpj":"माफ़ करें, मैं आपका CPF/CNPJ समझ नहीं सका।",cnpj:"माफ़ करें, मैं आपका CNPJ समझ नहीं सका।",real:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।",dollar:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।",euro:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।","state-and-city":"माफ़ करें, मैं आपका उत्तर समझ नहीं सका। शायद कोई उच्चारण गायब है।",default:"माफ़ करें, मैं आपका उत्तर समझ नहीं सका।",max_length:"माफ़ करें, पाठ अक्षर सीमा से अधिक हो गया है।",error_request:"कुछ गलत हो गया। कृपया बाद में पुनः प्रयास करें।"},day:"दिन",night:"रात",date_preposition:"",days:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],months:["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"],recommendation_response:["हमने आपके लिए शानदार उत्पाद चुने हैं! बस याद दिलाना चाहते हैं कि हमारे अद्वितीय प्रमोशन्स के कारण कीमतें बदल सकती हैं।"]},"ru-RU":{"input-placeholder":"Ваш ответ...","input-birthday":"ДД/ММ/ГГГГ","send-text":"Отправить",now:"сейчас",online_now:"В сети сейчас",powered_by:"Сделано с",test_free_leadster:"Бесплатный тест Leadster",access_now:"Получить доступ сейчас!",cancel_redirect:"Отменить перенаправление",open_your_whatsapp:"Открываем ваш WhatsApp...",select_one:"Выберите хотя бы один элемент из списка.",select_option:"-- Выберите опцию --",send_whatsapp:"Написать в WhatsApp",restart_chat:"Перезапустить чат",what_is_your_city:"Какой у вас город?",loading:"Загрузка",continue:"Продолжить",cancel:"Отмена",schedule:"Запланировать",return:"Назад",select_hour:"Выберите время",sending:"Отправка",confirm_schedule:"Подтвердите расписание",date:"Дата",time:"Время",at:"в",avatar:"Аватар",logo:"Логотип",close_button:"Кнопка закрытия",right_arrow:"Стрелка вправо",next:"Следующий",previous:"Предыдущий",whatsapp:"WhatsApp",new_message:"(1) Новое сообщение!",error_schedule_line_1:"Мы не смогли запланировать вашу встречу в данный момент 😥",error_schedule_line_2:"Пожалуйста, свяжитесь с нашей командой",scheduled_sucessfuly:"Запланировано успешно",privacy_policy_leadster:"Нажимая выше, вы принимаете наши | Политику конфиденциальности",privacy_policy_website:"Нажимая выше, вы принимаете Политику конфиденциальности этого |сайта| и Leadster",leadster_ai:{"input-placeholder":"Какой у вас вопрос?...",default_end_conversation_label:"Поговорить с оператором",feedback_error:"Пожалуйста, попробуйте позже. Я работаю над исправлением и скоро смогу ответить",see_product:"Посмотреть продукт",disconnected_by_idle_timeout:{message_01:"Из-за длительного бездействия мы завершаем обслуживание",message_02:"Если хотите перезапустить чат, пожалуйста, нажмите кнопку ниже"},thumbs_up:"Удовлетворительный ответ",thumbs_down:"Неудовлетворительный ответ"},wrong_messages:{phone:"Извините, я не понял ваш телефон.",email:"Извините, я не понял ваш email.",email_corp:"Пожалуйста, укажите действительный корпоративный адрес электронной почты.","unique-leadster-email":"Извините, этот email уже зарегистрирован в нашей системе, войдите в систему или восстановите пароль.",birthday:"Извините, я не понял вашу дату рождения. ДД/ММ/ГГГГ",cpf:"Извините, я не понял ваш CPF.",url:"Извините, я не понял ваш URL.",cep:"Извините, я не понял ваш CEP.","cpf/cnpj":"Извините, я не понял ваш CPF/CNPJ.",cnpj:"Извините, я не понял ваш CNPJ.",real:"Извините, я не понял вашу сумму.",dollar:"Извините, я не понял вашу сумму.",euro:"Извините, я не понял вашу сумму.","state-and-city":"Извините, я не понял ваш ответ. Возможно, не хватает акцента.",default:"Извините, я не понял ваш ответ.",max_length:"Извините, текст превысил лимит символов.",error_request:"Что-то пошло не так. Пожалуйста, попробуйте позже."},day:"День",night:"Ночь",date_preposition:"",days:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],recommendation_response:["Мы подобрали для вас потрясающие товары! Напоминаем, что цены могут измениться из-за наших невероятных акций."]},"fr-FR":{"input-placeholder":"Votre réponse...","input-birthday":"JJ/MM/AAAA","send-text":"Envoyer",now:"maintenant",online_now:"En ligne maintenant",powered_by:"Fait avec",test_free_leadster:"Essai gratuit Leadster",access_now:"Accéder maintenant!",cancel_redirect:"Annuler la redirection",open_your_whatsapp:"Ouverture de votre WhatsApp...",select_one:"Veuillez sélectionner au moins un élément de la liste.",select_option:"-- Sélectionnez une option --",send_whatsapp:"Parler via WhatsApp",restart_chat:"Redémarrer le chat",what_is_your_city:"Quelle est votre ville?",loading:"Chargement",continue:"Continuer",cancel:"Annuler",schedule:"Planifier",return:"Retourner",select_hour:"Sélectionnez l'heure",sending:"Envoi",confirm_schedule:"Confirmez la planification",date:"Date",time:"Heure",at:"à",avatar:"Avatar",logo:"Logo",close_button:"Bouton Fermer",right_arrow:"Flèche Droite",next:"Suivant",previous:"Précédent",whatsapp:"WhatsApp",new_message:"(1) Nouveau Message!",error_schedule_line_1:"Nous n'avons pas pu planifier votre réunion pour le moment 😥",error_schedule_line_2:"Veuillez contacter notre équipe s'il vous plaît",scheduled_sucessfuly:"Planification réussie",privacy_policy_leadster:"En cliquant ci-dessus, vous acceptez nos | Politiques de confidentialité",privacy_policy_website:"En cliquant ci-dessus, vous acceptez les Politiques de confidentialité de ce |site| et de | Leadster",leadster_ai:{"input-placeholder":"Quelle est votre question?...",default_end_conversation_label:"Parler à un agent",feedback_error:"Veuillez réessayer plus tard. Je travaille pour corriger cela et revenir à vous répondre",see_product:"Voir le produit",disconnected_by_idle_timeout:{message_01:"En raison de l'inactivité, nous mettons fin à l'assistance",message_02:"Si vous souhaitez redémarrer le chat, veuillez cliquer sur le bouton ci-dessous"},thumbs_up:"Réponse satisfaisante",thumbs_down:"Réponse insatisfaisante"},wrong_messages:{phone:"Désolé, je n'ai pas compris votre téléphone.",email:"Désolé, je n'ai pas compris votre email.",email_corp:"Veuillez fournir une adresse email professionnelle valide.","unique-leadster-email":"Désolé, cet email est déjà enregistré dans notre système, veuillez vous connecter ou récupérer votre mot de passe.",birthday:"Désolé, je n'ai pas compris votre date de naissance. JJ/MM/AAAA",cpf:"Désolé, je n'ai pas compris votre CPF.",url:"Désolé, je n'ai pas compris votre URL.",cep:"Désolé, je n'ai pas compris votre code postal.","cpf/cnpj":"Désolé, je n'ai pas compris votre CPF/CNPJ.",cnpj:"Désolé, je n'ai pas compris votre CNPJ.",real:"Désolé, je n'ai pas compris votre valeur.",dollar:"Désolé, je n'ai pas compris votre valeur.",euro:"Désolé, je n'ai pas compris votre valeur.","state-and-city":"Désolé, je n'ai pas compris votre réponse. Peut-être qu'un accent est manquant.",default:"Désolé, je n'ai pas compris votre réponse.",max_length:"Désolé, le texte a dépassé la limite de caractères.",error_request:"Une erreur s'est produite. Veuillez réessayer plus tard."},day:"Jour",night:"Nuit",date_preposition:"",days:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],recommendation_response:["Nous avons sélectionné des produits incroyables pour vous ! Juste un rappel : les prix peuvent changer en raison de nos promotions imbattables."]}}},756:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-chatbot .nld-calendar {\n width: 330px;\n max-width: 100%;\n background-color: #fff;\n color: #222;\n font-family: Arial, Helvetica, sans-serif;\n }\n\n.nld-chatbot .nld-calendar,\n.nld-chatbot .nld-calendar *,\n.nld-chatbot .nld-calendar *:before,\n.nld-chatbot .nld-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.nld-chatbot .nld-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n.nld-chatbot .nld-calendar button:enabled:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-calendar > .calendar-row {\n width: 100%;\n text-align: center;\n}\n\n.nld-chatbot .nld-calendar .calendar-prev {\n float: left;\n padding-left: 36px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-size: 16px;\n\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.nld-chatbot .nld-calendar .calendar-next {\n float: right;\n padding-right: 36px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-size: 16px;\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.calendar-prev.disabled,\n.calendar-next.disabled {\n cursor: not-allowed!important;\n pointer-events: none;\n}\n\n.nld-chatbot .nld-calendar .calendar-cell {\n box-sizing: content-box;\n display: inline-block;\n width: 14%;\n padding: 0.7em 0;\n text-align: center;\n cursor: pointer;\n user-select: none;\n position: relative;\n}\n\n.nld-chatbot .calendar-cell.calendar-this-month {\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.nld-chatbot .calendar-cell.calendar-disabled {\n font-weight: 100 !important;\n background-color: #ffffff !important;\n color: #bbb !important;\n cursor: not-allowed !important;\n}\n\n.nld-chatbot .calendar-cell.calendar-next-month {\n color: #bbb;\n}\n\n.nld-chatbot .calendar-cell.calendar-prev-month {\n color: #bbb;\n}\n\n.nld-chatbot .calendar-cell.calendar-selected {\n background: #A1C5F7;\n border-radius: 20px;\n font-weight: bold!important;\n color: #2F6FEA!important;\n}\n\n.nld-chatbot .calendar-row.calendar-title {\n background: #f8f8fa;\n}\n\n.nld-chatbot .calendar-row.calendar-title>.calendar-cell {\n padding: .3em 0;\n color: #222;\n}\n\n.nld-chatbot .calendar-row.nld-calendar-header {\n font-weight: bold!important;\n color: #555 !important;\n vertical-align: middle;\n}\n\n.nld-chatbot .calendar-row.nld-calendar-header>.nld-calendar-header {\n padding: .8em 0;\n}\n",""]);const s=r},204:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-input-block-container, .nld-loading-container {\n display: block;\n height: 65px\n}\n\n.input-custom-nld, .loading-custom-nld {\n position: fixed!important;\n bottom: -6px!important;\n width: 100%;\n}\n\n.nld-chatbot .nld-loading {\n position: absolute;\n left: 50% !important;\n bottom: 50% !important;\n right: 0;\n bottom: 16px;\n height: 20px !important;\n width: 20px !important;\n border-radius: 0 0 8px 8px !important;\n}\n\n.nld-skip-message {\n bottom: 120px !important;\n}\n",""]);const s=r},214:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,'.nld-chatbot .countries_list_btn {\n border: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n position: absolute;\n outline: none;\n height: 30px;\n bottom: 6px;\n left: 24px;\n padding: 2px 2px!important;\n background-color: transparent !important;\n border-color: transparent !important;\n}\n\n.nld-chatbot .countries_list_btn:focus{\n outline-style: none;\n padding: 2px 2px !important;\n}\n\n.nld-chatbot .countriesList {\n position: relative;\n display: inline-block;\n}\n\n.nld-chatbot .countries_list_content {\n display: none;\n position: absolute;\n z-index: 1;\n height: 350px;\n overflow: auto;\n background-color: #fff;\n bottom: 50px;\n left: 15px;\n right: 15px;\n border: solid 2px;\n border-radius: 10px;\n}\n\n\n.nld-chatbot .countries_list_content a {\n color: black;\n padding: 0px 10px;\n text-decoration: none;\n cursor: pointer;\n display: block;\n}\n\n.nld-chatbot .countries_list_content a:hover {background-color: #f1f1f1}\n\n.nld-chatbot .countriesList:hover .countries_list_content {\n display: block;\n}\n\n.nld-chatbot .arrow {\n border: solid gray;\n border-width: 0 2px 2px 0;\n display: inline-block;\n padding: 2px;\n}\n\n.nld-chatbot .down {\n transform: rotate(45deg);\n -webkit-transform: rotate(45deg);\n margin: 5px;\n}\n\n.nld-chatbot .telinput {\n border: 0;\n}\n\n.nld-chatbot .telinput:focus{\n outline: none;\n}\n\n.nld-chatbot .tel {\n align-items: center;\n border: solid 1px grey;\n width: fit-content;\n}\n\n.nld-chatbot .iti {\n position: relative;\n display: inline-block;\n}\n\n.nld-chatbot .iti * {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n}\n\n.nld-chatbot .iti__flag-box {\n margin-right: 10px;\n}\n\n.nld-chatbot .iti__dial-code {\n color: #999;\n}\n\n.nld-chatbot .iti__flag-country {\n display: flex;\n align-items: center;\n padding: 5px 0px;\n}\n\n.nld-chatbot .iti__dial-code {\n padding-left: 10px;\n}\n\n.nld-chatbot .iti__flag {\n width: 20px;\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .nld-chatbot .iti__flag {\n background-size: 5652px 15px;\n }\n}\n\n.nld-chatbot .iti__flag.iti__be {\n width: 18px; }\n.nld-chatbot .iti__flag.iti__ch {\n width: 15px; }\n.nld-chatbot .iti__flag.iti__mc {\n width: 19px; }\n.nld-chatbot .iti__flag.iti__ne {\n width: 18px; }\n.nld-chatbot .iti__flag.iti__np {\n width: 13px; }\n.nld-chatbot .iti__flag.iti__va {\n width: 15px; }\n.nld-chatbot .iti__flag.iti__ac {\n height: 10px;\n background-position: 0px 0px; }\n.nld-chatbot .iti__flag.iti__ad {\n height: 14px;\n background-position: -22px 0px; }\n.nld-chatbot .iti__flag.iti__ae {\n height: 10px;\n background-position: -44px 0px; }\n.nld-chatbot .iti__flag.iti__af {\n height: 14px;\n background-position: -66px 0px; }\n.nld-chatbot .iti__flag.iti__ag {\n height: 14px;\n background-position: -88px 0px; }\n.nld-chatbot .iti__flag.iti__ai {\n height: 10px;\n background-position: -110px 0px; }\n.nld-chatbot .iti__flag.iti__al {\n height: 15px;\n background-position: -132px 0px; }\n.nld-chatbot .iti__flag.iti__am {\n height: 10px;\n background-position: -154px 0px; }\n.nld-chatbot .iti__flag.iti__ao {\n height: 14px;\n background-position: -176px 0px; }\n.nld-chatbot .iti__flag.iti__aq {\n height: 14px;\n background-position: -198px 0px; }\n.nld-chatbot .iti__flag.iti__ar {\n height: 13px;\n background-position: -220px 0px; }\n.nld-chatbot .iti__flag.iti__as {\n height: 10px;\n background-position: -242px 0px; }\n.nld-chatbot .iti__flag.iti__at {\n height: 14px;\n background-position: -264px 0px; }\n.nld-chatbot .iti__flag.iti__au {\n height: 10px;\n background-position: -286px 0px; }\n.nld-chatbot .iti__flag.iti__aw {\n height: 14px;\n background-position: -308px 0px; }\n.nld-chatbot .iti__flag.iti__ax {\n height: 13px;\n background-position: -330px 0px; }\n.nld-chatbot .iti__flag.iti__az {\n height: 10px;\n background-position: -352px 0px; }\n.nld-chatbot .iti__flag.iti__ba {\n height: 10px;\n background-position: -374px 0px; }\n.nld-chatbot .iti__flag.iti__bb {\n height: 14px;\n background-position: -396px 0px; }\n.nld-chatbot .iti__flag.iti__bd {\n height: 12px;\n background-position: -418px 0px; }\n.nld-chatbot .iti__flag.iti__be {\n height: 15px;\n background-position: -440px 0px; }\n.nld-chatbot .iti__flag.iti__bf {\n height: 14px;\n background-position: -460px 0px; }\n.nld-chatbot .iti__flag.iti__bg {\n height: 12px;\n background-position: -482px 0px; }\n.nld-chatbot .iti__flag.iti__bh {\n height: 12px;\n background-position: -504px 0px; }\n.nld-chatbot .iti__flag.iti__bi {\n height: 12px;\n background-position: -526px 0px; }\n.nld-chatbot .iti__flag.iti__bj {\n height: 14px;\n background-position: -548px 0px; }\n.nld-chatbot .iti__flag.iti__bl {\n height: 14px;\n background-position: -570px 0px; }\n.nld-chatbot .iti__flag.iti__bm {\n height: 10px;\n background-position: -592px 0px; }\n.nld-chatbot .iti__flag.iti__bn {\n height: 10px;\n background-position: -614px 0px; }\n.nld-chatbot .iti__flag.iti__bo {\n height: 14px;\n background-position: -636px 0px; }\n.nld-chatbot .iti__flag.iti__bq {\n height: 14px;\n background-position: -658px 0px; }\n.nld-chatbot .iti__flag.iti__br {\n height: 14px;\n background-position: -680px 0px; }\n.nld-chatbot .iti__flag.iti__bs {\n height: 10px;\n background-position: -702px 0px; }\n.nld-chatbot .iti__flag.iti__bt {\n height: 14px;\n background-position: -724px 0px; }\n.nld-chatbot .iti__flag.iti__bv {\n height: 15px;\n background-position: -746px 0px; }\n.nld-chatbot .iti__flag.iti__bw {\n height: 14px;\n background-position: -768px 0px; }\n.nld-chatbot .iti__flag.iti__by {\n height: 10px;\n background-position: -790px 0px; }\n.nld-chatbot .iti__flag.iti__bz {\n height: 14px;\n background-position: -812px 0px; }\n.nld-chatbot .iti__flag.iti__ca {\n height: 10px;\n background-position: -834px 0px; }\n.nld-chatbot .iti__flag.iti__cc {\n height: 10px;\n background-position: -856px 0px; }\n.nld-chatbot .iti__flag.iti__cd {\n height: 15px;\n background-position: -878px 0px; }\n.nld-chatbot .iti__flag.iti__cf {\n height: 14px;\n background-position: -900px 0px; }\n.nld-chatbot .iti__flag.iti__cg {\n height: 14px;\n background-position: -922px 0px; }\n.nld-chatbot .iti__flag.iti__ch {\n height: 15px;\n background-position: -944px 0px; }\n.nld-chatbot .iti__flag.iti__ci {\n height: 14px;\n background-position: -961px 0px; }\n.nld-chatbot .iti__flag.iti__ck {\n height: 10px;\n background-position: -983px 0px; }\n.nld-chatbot .iti__flag.iti__cl {\n height: 14px;\n background-position: -1005px 0px; }\n.nld-chatbot .iti__flag.iti__cm {\n height: 14px;\n background-position: -1027px 0px; }\n.nld-chatbot .iti__flag.iti__cn {\n height: 14px;\n background-position: -1049px 0px; }\n.nld-chatbot .iti__flag.iti__co {\n height: 14px;\n background-position: -1071px 0px; }\n.nld-chatbot .iti__flag.iti__cp {\n height: 14px;\n background-position: -1093px 0px; }\n.nld-chatbot .iti__flag.iti__cr {\n height: 12px;\n background-position: -1115px 0px; }\n.nld-chatbot .iti__flag.iti__cu {\n height: 10px;\n background-position: -1137px 0px; }\n.nld-chatbot .iti__flag.iti__cv {\n height: 12px;\n background-position: -1159px 0px; }\n.nld-chatbot .iti__flag.iti__cw {\n height: 14px;\n background-position: -1181px 0px; }\n.nld-chatbot .iti__flag.iti__cx {\n height: 10px;\n background-position: -1203px 0px; }\n.nld-chatbot .iti__flag.iti__cy {\n height: 14px;\n background-position: -1225px 0px; }\n.nld-chatbot .iti__flag.iti__cz {\n height: 14px;\n background-position: -1247px 0px; }\n.nld-chatbot .iti__flag.iti__de {\n height: 12px;\n background-position: -1269px 0px; }\n.nld-chatbot .iti__flag.iti__dg {\n height: 10px;\n background-position: -1291px 0px; }\n.nld-chatbot .iti__flag.iti__dj {\n height: 14px;\n background-position: -1313px 0px; }\n.nld-chatbot .iti__flag.iti__dk {\n height: 15px;\n background-position: -1335px 0px; }\n.nld-chatbot .iti__flag.iti__dm {\n height: 10px;\n background-position: -1357px 0px; }\n.nld-chatbot .iti__flag.iti__do {\n height: 14px;\n background-position: -1379px 0px; }\n.nld-chatbot .iti__flag.iti__dz {\n height: 14px;\n background-position: -1401px 0px; }\n.nld-chatbot .iti__flag.iti__ea {\n height: 14px;\n background-position: -1423px 0px; }\n.nld-chatbot .iti__flag.iti__ec {\n height: 14px;\n background-position: -1445px 0px; }\n.nld-chatbot .iti__flag.iti__ee {\n height: 13px;\n background-position: -1467px 0px; }\n.nld-chatbot .iti__flag.iti__eg {\n height: 14px;\n background-position: -1489px 0px; }\n.nld-chatbot .iti__flag.iti__eh {\n height: 10px;\n background-position: -1511px 0px; }\n.nld-chatbot .iti__flag.iti__er {\n height: 10px;\n background-position: -1533px 0px; }\n.nld-chatbot .iti__flag.iti__es {\n height: 14px;\n background-position: -1555px 0px; }\n.nld-chatbot .iti__flag.iti__et {\n height: 10px;\n background-position: -1577px 0px; }\n.nld-chatbot .iti__flag.iti__eu {\n height: 14px;\n background-position: -1599px 0px; }\n.nld-chatbot .iti__flag.iti__fi {\n height: 12px;\n background-position: -1621px 0px; }\n.nld-chatbot .iti__flag.iti__fj {\n height: 10px;\n background-position: -1643px 0px; }\n.nld-chatbot .iti__flag.iti__fk {\n height: 10px;\n background-position: -1665px 0px; }\n.nld-chatbot .iti__flag.iti__fm {\n height: 11px;\n background-position: -1687px 0px; }\n.nld-chatbot .iti__flag.iti__fo {\n height: 15px;\n background-position: -1709px 0px; }\n.nld-chatbot .iti__flag.iti__fr {\n height: 14px;\n background-position: -1731px 0px; }\n.nld-chatbot .iti__flag.iti__ga {\n height: 15px;\n background-position: -1753px 0px; }\n.nld-chatbot .iti__flag.iti__gb {\n height: 10px;\n background-position: -1775px 0px; }\n.nld-chatbot .iti__flag.iti__gd {\n height: 12px;\n background-position: -1797px 0px; }\n.nld-chatbot .iti__flag.iti__ge {\n height: 14px;\n background-position: -1819px 0px; }\n.nld-chatbot .iti__flag.iti__gf {\n height: 14px;\n background-position: -1841px 0px; }\n.nld-chatbot .iti__flag.iti__gg {\n height: 14px;\n background-position: -1863px 0px; }\n.nld-chatbot .iti__flag.iti__gh {\n height: 14px;\n background-position: -1885px 0px; }\n.nld-chatbot .iti__flag.iti__gi {\n height: 10px;\n background-position: -1907px 0px; }\n.nld-chatbot .iti__flag.iti__gl {\n height: 14px;\n background-position: -1929px 0px; }\n.nld-chatbot .iti__flag.iti__gm {\n height: 14px;\n background-position: -1951px 0px; }\n.nld-chatbot .iti__flag.iti__gn {\n height: 14px;\n background-position: -1973px 0px; }\n.nld-chatbot .iti__flag.iti__gp {\n height: 14px;\n background-position: -1995px 0px; }\n.nld-chatbot .iti__flag.iti__gq {\n height: 14px;\n background-position: -2017px 0px; }\n.nld-chatbot .iti__flag.iti__gr {\n height: 14px;\n background-position: -2039px 0px; }\n.nld-chatbot .iti__flag.iti__gs {\n height: 10px;\n background-position: -2061px 0px; }\n.nld-chatbot .iti__flag.iti__gt {\n height: 13px;\n background-position: -2083px 0px; }\n.nld-chatbot .iti__flag.iti__gu {\n height: 11px;\n background-position: -2105px 0px; }\n.nld-chatbot .iti__flag.iti__gw {\n height: 10px;\n background-position: -2127px 0px; }\n.nld-chatbot .iti__flag.iti__gy {\n height: 12px;\n background-position: -2149px 0px; }\n.nld-chatbot .iti__flag.iti__hk {\n height: 14px;\n background-position: -2171px 0px; }\n.nld-chatbot .iti__flag.iti__hm {\n height: 10px;\n background-position: -2193px 0px; }\n.nld-chatbot .iti__flag.iti__hn {\n height: 10px;\n background-position: -2215px 0px; }\n.nld-chatbot .iti__flag.iti__hr {\n height: 10px;\n background-position: -2237px 0px; }\n.nld-chatbot .iti__flag.iti__ht {\n height: 12px;\n background-position: -2259px 0px; }\n.nld-chatbot .iti__flag.iti__hu {\n height: 10px;\n background-position: -2281px 0px; }\n.nld-chatbot .iti__flag.iti__ic {\n height: 14px;\n background-position: -2303px 0px; }\n.nld-chatbot .iti__flag.iti__id {\n height: 14px;\n background-position: -2325px 0px; }\n.nld-chatbot .iti__flag.iti__ie {\n height: 10px;\n background-position: -2347px 0px; }\n.nld-chatbot .iti__flag.iti__il {\n height: 15px;\n background-position: -2369px 0px; }\n.nld-chatbot .iti__flag.iti__im {\n height: 10px;\n background-position: -2391px 0px; }\n.nld-chatbot .iti__flag.iti__in {\n height: 14px;\n background-position: -2413px 0px; }\n.nld-chatbot .iti__flag.iti__io {\n height: 10px;\n background-position: -2435px 0px; }\n.nld-chatbot .iti__flag.iti__iq {\n height: 14px;\n background-position: -2457px 0px; }\n.nld-chatbot .iti__flag.iti__ir {\n height: 12px;\n background-position: -2479px 0px; }\n.nld-chatbot .iti__flag.iti__is {\n height: 15px;\n background-position: -2501px 0px; }\n.nld-chatbot .iti__flag.iti__it {\n height: 14px;\n background-position: -2523px 0px; }\n.nld-chatbot .iti__flag.iti__je {\n height: 12px;\n background-position: -2545px 0px; }\n.nld-chatbot .iti__flag.iti__jm {\n height: 10px;\n background-position: -2567px 0px; }\n.nld-chatbot .iti__flag.iti__jo {\n height: 10px;\n background-position: -2589px 0px; }\n.nld-chatbot .iti__flag.iti__jp {\n height: 14px;\n background-position: -2611px 0px; }\n.nld-chatbot .iti__flag.iti__ke {\n height: 14px;\n background-position: -2633px 0px; }\n.nld-chatbot .iti__flag.iti__kg {\n height: 12px;\n background-position: -2655px 0px; }\n.nld-chatbot .iti__flag.iti__kh {\n height: 13px;\n background-position: -2677px 0px; }\n.nld-chatbot .iti__flag.iti__ki {\n height: 10px;\n background-position: -2699px 0px; }\n.nld-chatbot .iti__flag.iti__km {\n height: 12px;\n background-position: -2721px 0px; }\n.nld-chatbot .iti__flag.iti__kn {\n height: 14px;\n background-position: -2743px 0px; }\n.nld-chatbot .iti__flag.iti__kp {\n height: 10px;\n background-position: -2765px 0px; }\n.nld-chatbot .iti__flag.iti__kr {\n height: 14px;\n background-position: -2787px 0px; }\n.nld-chatbot .iti__flag.iti__kw {\n height: 10px;\n background-position: -2809px 0px; }\n.nld-chatbot .iti__flag.iti__ky {\n height: 10px;\n background-position: -2831px 0px; }\n.nld-chatbot .iti__flag.iti__kz {\n height: 10px;\n background-position: -2853px 0px; }\n.nld-chatbot .iti__flag.iti__la {\n height: 14px;\n background-position: -2875px 0px; }\n.nld-chatbot .iti__flag.iti__lb {\n height: 14px;\n background-position: -2897px 0px; }\n.nld-chatbot .iti__flag.iti__lc {\n height: 10px;\n background-position: -2919px 0px; }\n.nld-chatbot .iti__flag.iti__li {\n height: 12px;\n background-position: -2941px 0px; }\n.nld-chatbot .iti__flag.iti__lk {\n height: 10px;\n background-position: -2963px 0px; }\n.nld-chatbot .iti__flag.iti__lr {\n height: 11px;\n background-position: -2985px 0px; }\n.nld-chatbot .iti__flag.iti__ls {\n height: 14px;\n background-position: -3007px 0px; }\n.nld-chatbot .iti__flag.iti__lt {\n height: 12px;\n background-position: -3029px 0px; }\n.nld-chatbot .iti__flag.iti__lu {\n height: 12px;\n background-position: -3051px 0px; }\n.nld-chatbot .iti__flag.iti__lv {\n height: 10px;\n background-position: -3073px 0px; }\n.nld-chatbot .iti__flag.iti__ly {\n height: 10px;\n background-position: -3095px 0px; }\n.nld-chatbot .iti__flag.iti__ma {\n height: 14px;\n background-position: -3117px 0px; }\n.nld-chatbot .iti__flag.iti__mc {\n height: 15px;\n background-position: -3139px 0px; }\n.nld-chatbot .iti__flag.iti__md {\n height: 10px;\n background-position: -3160px 0px; }\n.nld-chatbot .iti__flag.iti__me {\n height: 10px;\n background-position: -3182px 0px; }\n.nld-chatbot .iti__flag.iti__mf {\n height: 14px;\n background-position: -3204px 0px; }\n.nld-chatbot .iti__flag.iti__mg {\n height: 14px;\n background-position: -3226px 0px; }\n.nld-chatbot .iti__flag.iti__mh {\n height: 11px;\n background-position: -3248px 0px; }\n.nld-chatbot .iti__flag.iti__mk {\n height: 10px;\n background-position: -3270px 0px; }\n.nld-chatbot .iti__flag.iti__ml {\n height: 14px;\n background-position: -3292px 0px; }\n.nld-chatbot .iti__flag.iti__mm {\n height: 14px;\n background-position: -3314px 0px; }\n.nld-chatbot .iti__flag.iti__mn {\n height: 10px;\n background-position: -3336px 0px; }\n.nld-chatbot .iti__flag.iti__mo {\n height: 14px;\n background-position: -3358px 0px; }\n.nld-chatbot .iti__flag.iti__mp {\n height: 10px;\n background-position: -3380px 0px; }\n.nld-chatbot .iti__flag.iti__mq {\n height: 14px;\n background-position: -3402px 0px; }\n.nld-chatbot .iti__flag.iti__mr {\n height: 14px;\n background-position: -3424px 0px; }\n.nld-chatbot .iti__flag.iti__ms {\n height: 10px;\n background-position: -3446px 0px; }\n.nld-chatbot .iti__flag.iti__mt {\n height: 14px;\n background-position: -3468px 0px; }\n.nld-chatbot .iti__flag.iti__mu {\n height: 14px;\n background-position: -3490px 0px; }\n.nld-chatbot .iti__flag.iti__mv {\n height: 14px;\n background-position: -3512px 0px; }\n.nld-chatbot .iti__flag.iti__mw {\n height: 14px;\n background-position: -3534px 0px; }\n.nld-chatbot .iti__flag.iti__mx {\n height: 12px;\n background-position: -3556px 0px; }\n.nld-chatbot .iti__flag.iti__my {\n height: 10px;\n background-position: -3578px 0px; }\n.nld-chatbot .iti__flag.iti__mz {\n height: 14px;\n background-position: -3600px 0px; }\n.nld-chatbot .iti__flag.iti__na {\n height: 14px;\n background-position: -3622px 0px; }\n.nld-chatbot .iti__flag.iti__nc {\n height: 10px;\n background-position: -3644px 0px; }\n.nld-chatbot .iti__flag.iti__ne {\n height: 15px;\n background-position: -3666px 0px; }\n.nld-chatbot .iti__flag.iti__nf {\n height: 10px;\n background-position: -3686px 0px; }\n.nld-chatbot .iti__flag.iti__ng {\n height: 10px;\n background-position: -3708px 0px; }\n.nld-chatbot .iti__flag.iti__ni {\n height: 12px;\n background-position: -3730px 0px; }\n.nld-chatbot .iti__flag.iti__nl {\n height: 14px;\n background-position: -3752px 0px; }\n.nld-chatbot .iti__flag.iti__no {\n height: 15px;\n background-position: -3774px 0px; }\n.nld-chatbot .iti__flag.iti__np {\n height: 15px;\n background-position: -3796px 0px; }\n.nld-chatbot .iti__flag.iti__nr {\n height: 10px;\n background-position: -3811px 0px; }\n.nld-chatbot .iti__flag.iti__nu {\n height: 10px;\n background-position: -3833px 0px; }\n.nld-chatbot .iti__flag.iti__nz {\n height: 10px;\n background-position: -3855px 0px; }\n.nld-chatbot .iti__flag.iti__om {\n height: 10px;\n background-position: -3877px 0px; }\n.nld-chatbot .iti__flag.iti__pa {\n height: 14px;\n background-position: -3899px 0px; }\n.nld-chatbot .iti__flag.iti__pe {\n height: 14px;\n background-position: -3921px 0px; }\n.nld-chatbot .iti__flag.iti__pf {\n height: 14px;\n background-position: -3943px 0px; }\n.nld-chatbot .iti__flag.iti__pg {\n height: 15px;\n background-position: -3965px 0px; }\n.nld-chatbot .iti__flag.iti__ph {\n height: 10px;\n background-position: -3987px 0px; }\n.nld-chatbot .iti__flag.iti__pk {\n height: 14px;\n background-position: -4009px 0px; }\n.nld-chatbot .iti__flag.iti__pl {\n height: 13px;\n background-position: -4031px 0px; }\n.nld-chatbot .iti__flag.iti__pm {\n height: 14px;\n background-position: -4053px 0px; }\n.nld-chatbot .iti__flag.iti__pn {\n height: 10px;\n background-position: -4075px 0px; }\n.nld-chatbot .iti__flag.iti__pr {\n height: 14px;\n background-position: -4097px 0px; }\n.nld-chatbot .iti__flag.iti__ps {\n height: 10px;\n background-position: -4119px 0px; }\n.nld-chatbot .iti__flag.iti__pt {\n height: 14px;\n background-position: -4141px 0px; }\n.nld-chatbot .iti__flag.iti__pw {\n height: 13px;\n background-position: -4163px 0px; }\n.nld-chatbot .iti__flag.iti__py {\n height: 11px;\n background-position: -4185px 0px; }\n.nld-chatbot .iti__flag.iti__qa {\n height: 8px;\n background-position: -4207px 0px; }\n.nld-chatbot .iti__flag.iti__re {\n height: 14px;\n background-position: -4229px 0px; }\n.nld-chatbot .iti__flag.iti__ro {\n height: 14px;\n background-position: -4251px 0px; }\n.nld-chatbot .iti__flag.iti__rs {\n height: 14px;\n background-position: -4273px 0px; }\n.nld-chatbot .iti__flag.iti__ru {\n height: 14px;\n background-position: -4295px 0px; }\n.nld-chatbot .iti__flag.iti__rw {\n height: 14px;\n background-position: -4317px 0px; }\n.nld-chatbot .iti__flag.iti__sa {\n height: 14px;\n background-position: -4339px 0px; }\n.nld-chatbot .iti__flag.iti__sb {\n height: 10px;\n background-position: -4361px 0px; }\n.nld-chatbot .iti__flag.iti__sc {\n height: 10px;\n background-position: -4383px 0px; }\n.nld-chatbot .iti__flag.iti__sd {\n height: 10px;\n background-position: -4405px 0px; }\n.nld-chatbot .iti__flag.iti__se {\n height: 13px;\n background-position: -4427px 0px; }\n.nld-chatbot .iti__flag.iti__sg {\n height: 14px;\n background-position: -4449px 0px; }\n.nld-chatbot .iti__flag.iti__sh {\n height: 10px;\n background-position: -4471px 0px; }\n.nld-chatbot .iti__flag.iti__si {\n height: 10px;\n background-position: -4493px 0px; }\n.nld-chatbot .iti__flag.iti__sj {\n height: 15px;\n background-position: -4515px 0px; }\n.nld-chatbot .iti__flag.iti__sk {\n height: 14px;\n background-position: -4537px 0px; }\n.nld-chatbot .iti__flag.iti__sl {\n height: 14px;\n background-position: -4559px 0px; }\n.nld-chatbot .iti__flag.iti__sm {\n height: 15px;\n background-position: -4581px 0px; }\n.nld-chatbot .iti__flag.iti__sn {\n height: 14px;\n background-position: -4603px 0px; }\n.nld-chatbot .iti__flag.iti__so {\n height: 14px;\n background-position: -4625px 0px; }\n.nld-chatbot .iti__flag.iti__sr {\n height: 14px;\n background-position: -4647px 0px; }\n.nld-chatbot .iti__flag.iti__ss {\n height: 10px;\n background-position: -4669px 0px; }\n.nld-chatbot .iti__flag.iti__st {\n height: 10px;\n background-position: -4691px 0px; }\n.nld-chatbot .iti__flag.iti__sv {\n height: 12px;\n background-position: -4713px 0px; }\n.nld-chatbot .iti__flag.iti__sx {\n height: 14px;\n background-position: -4735px 0px; }\n.nld-chatbot .iti__flag.iti__sy {\n height: 14px;\n background-position: -4757px 0px; }\n.nld-chatbot .iti__flag.iti__sz {\n height: 14px;\n background-position: -4779px 0px; }\n.nld-chatbot .iti__flag.iti__ta {\n height: 10px;\n background-position: -4801px 0px; }\n.nld-chatbot .iti__flag.iti__tc {\n height: 10px;\n background-position: -4823px 0px; }\n.nld-chatbot .iti__flag.iti__td {\n height: 14px;\n background-position: -4845px 0px; }\n.nld-chatbot .iti__flag.iti__tf {\n height: 14px;\n background-position: -4867px 0px; }\n.nld-chatbot .iti__flag.iti__tg {\n height: 13px;\n background-position: -4889px 0px; }\n.nld-chatbot .iti__flag.iti__th {\n height: 14px;\n background-position: -4911px 0px; }\n.nld-chatbot .iti__flag.iti__tj {\n height: 10px;\n background-position: -4933px 0px; }\n.nld-chatbot .iti__flag.iti__tk {\n height: 10px;\n background-position: -4955px 0px; }\n.nld-chatbot .iti__flag.iti__tl {\n height: 10px;\n background-position: -4977px 0px; }\n.nld-chatbot .iti__flag.iti__tm {\n height: 14px;\n background-position: -4999px 0px; }\n.nld-chatbot .iti__flag.iti__tn {\n height: 14px;\n background-position: -5021px 0px; }\n.nld-chatbot .iti__flag.iti__to {\n height: 10px;\n background-position: -5043px 0px; }\n.nld-chatbot .iti__flag.iti__tr {\n height: 14px;\n background-position: -5065px 0px; }\n.nld-chatbot .iti__flag.iti__tt {\n height: 12px;\n background-position: -5087px 0px; }\n.nld-chatbot .iti__flag.iti__tv {\n height: 10px;\n background-position: -5109px 0px; }\n.nld-chatbot .iti__flag.iti__tw {\n height: 14px;\n background-position: -5131px 0px; }\n.nld-chatbot .iti__flag.iti__tz {\n height: 14px;\n background-position: -5153px 0px; }\n.nld-chatbot .iti__flag.iti__ua {\n height: 14px;\n background-position: -5175px 0px; }\n.nld-chatbot .iti__flag.iti__ug {\n height: 14px;\n background-position: -5197px 0px; }\n.nld-chatbot .iti__flag.iti__um {\n height: 11px;\n background-position: -5219px 0px; }\n.nld-chatbot .iti__flag.iti__un {\n height: 14px;\n background-position: -5241px 0px; }\n.nld-chatbot .iti__flag.iti__us {\n height: 11px;\n background-position: -5263px 0px; }\n.nld-chatbot .iti__flag.iti__uy {\n height: 14px;\n background-position: -5285px 0px; }\n.nld-chatbot .iti__flag.iti__uz {\n height: 10px;\n background-position: -5307px 0px; }\n.nld-chatbot .iti__flag.iti__va {\n height: 15px;\n background-position: -5329px 0px; }\n.nld-chatbot .iti__flag.iti__vc {\n height: 14px;\n background-position: -5346px 0px; }\n.nld-chatbot .iti__flag.iti__ve {\n height: 14px;\n background-position: -5368px 0px; }\n.nld-chatbot .iti__flag.iti__vg {\n height: 10px;\n background-position: -5390px 0px; }\n.nld-chatbot .iti__flag.iti__vi {\n height: 14px;\n background-position: -5412px 0px; }\n.nld-chatbot .iti__flag.iti__vn {\n height: 14px;\n background-position: -5434px 0px; }\n.nld-chatbot .iti__flag.iti__vu {\n height: 12px;\n background-position: -5456px 0px; }\n.nld-chatbot .iti__flag.iti__wf {\n height: 14px;\n background-position: -5478px 0px; }\n.nld-chatbot .iti__flag.iti__ws {\n height: 10px;\n background-position: -5500px 0px; }\n.nld-chatbot .iti__flag.iti__xk {\n height: 15px;\n background-position: -5522px 0px; }\n.nld-chatbot .iti__flag.iti__ye {\n height: 14px;\n background-position: -5544px 0px; }\n.nld-chatbot .iti__flag.iti__yt {\n height: 14px;\n background-position: -5566px 0px; }\n.nld-chatbot .iti__flag.iti__za {\n height: 14px;\n background-position: -5588px 0px; }\n.nld-chatbot .iti__flag.iti__zm {\n height: 14px;\n background-position: -5610px 0px; }\n.nld-chatbot .iti__flag.iti__zw {\n height: 10px;\n background-position: -5632px 0px; }\n\n.nld-chatbot .iti__flag {\n height: 15px;\n box-shadow: 0px 0px 1px 0px #888;\n background-image: url("https://cdn.leadster.com.br/leadster/app/image/flags.png");\n background-repeat: no-repeat;\n background-color: #DBDBDB;\n background-position: 20px 0;\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .nld-chatbot .iti__flag {\n background-image: url("https://cdn.leadster.com.br/leadster/app/image/flags@2x.png");\n }\n}\n\n\n.nld-chatbot .iti__flag.iti__np {\n background-color: transparent; }\n',""]);const s=r},575:(t,e,n)=>{"use strict";n.d(e,{A:()=>y});var i=n(601),o=n.n(i),a=n(314),r=n.n(a),s=n(417),l=n.n(s),c=new URL(n(99),n.b),d=new URL(n(695),n.b),u=new URL(n(720),n.b),h=new URL(n(881),n.b),p=new URL(n(996),n.b),g=r()(o()),m=l()(c),f=l()(d),b=l()(u),_=l()(h),v=l()(p);g.push([t.id,`/* Icons */\n\n@font-face {\n font-family: neurolead;\n src: url(${m});\n}\n\n@font-face {\n font-family: 'Open Sans Regular';\n font-style: normal;\n font-weight: 400;\n src: local('Open Sans Regular'), local('OpenSans-Regular');\n}\n\n.nld-icon {\n font-family: neurolead !important;\n}\n\n/* Animations */\n\n@keyframes nld-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes nld-pop-in {\n from {\n opacity: 0;\n transform: scale(0, 0);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n}\n\n@keyframes nld-super-pop-in {\n 0% {\n opacity: 0;\n transform: scale(0, 0);\n }\n 30% {\n opacity: 1;\n background-color: white;\n transform: scale(1.5, 1.5);\n }\n 80% {\n transform: scale(1, 1);\n }\n 100% {\n opacity: 1;\n transform: scale(1, 1);\n }\n}\n\n@keyframes nld-pop-in-middle {\n from {\n opacity: 0;\n transform: translateY(-50%) scale(0, 0);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) scale(1, 1);\n }\n}\n\n@keyframes nld-pop-out {\n from {\n opacity: 1;\n transform: scale(1, 1);\n }\n to {\n opacity: 0;\n transform: scale(0, 0);\n }\n}\n\n@keyframes nld-slide-in {\n from {\n display: block;\n opacity: 0;\n transform: translate(0, 100px);\n }\n to {\n opacity: 1;\n transform: translate(0, 0);\n }\n}\n\n@keyframes nld-slide-out {\n from {\n opacity: 1;\n transform: translate(0, 0);\n }\n to {\n display: none;\n opacity: 0;\n transform: translate(0, 100px);\n }\n}\n\n@keyframes nld-slide-out-up {\n from {\n opacity: 1;\n transform: translate(0, 0);\n }\n to {\n display: none;\n opacity: 0;\n height: 0;\n overflow: hidden;\n transform: translate(0, -100px);\n }\n}\n\n@keyframes nld-blink {\n 50% {\n opacity: 1;\n transform: scale(0.5);\n }\n}\n\n/* Elements */\n\n.nld-chatbot * {\n position: initial;\n}\n\n.nld-chatbot {\n color: inherit;\n font: inherit;\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;\n box-sizing: content-box;\n}\n\n.nld-chatbot * {\n font: inherit !important;\n color: inherit;\n margin: initial;\n box-sizing: content-box !important;\n}\n\n.nld-chatbot b {\n font-weight: bold !important;\n}\n\n.nld-chatbot i {\n font-style: italic !important;\n}\n\n.nld-chatbot strong {\n display: initial !important;\n font-weight: bold !important;\n}\n\n.nld-chatbot p {\n color: #555 !important;\n text-align: left !important;\n padding: 0px !important;\n margin: 0px !important;\n}\n\n.nld-chatbot {\n all: initial;\n font-size: initial;\n\n position: absolute;\n z-index: 9999999999;\n\n top: 0;\n left: 0;\n}\n\n#nld-event-bus {\n display: none !important;\n}\n\n.nld-chatbot > .nld-avatar {\n /* Form */\n width: 60px;\n height: 60px;\n border-radius: 30px !important;\n\n /* Position */\n display: inline-block;\n position: fixed;\n z-index: 32767;\n\n bottom: 24px;\n right: 18px;\n\n vertical-align: middle;\n\n /* Looks */\n background-size: cover;\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.15);\n\n /* Typography */\n font-size: 16px !important;\n}\n\n.nld-chatbot.nld-moving > .nld-avatar {\n bottom: 12px;\n right: 24px;\n}\n\n.nld-chatbot > .nld-avatar:hover {\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n}\n\n.nld-chatbot .nld-avatar::after {\n content: '';\n\n /* Form */\n width: 15px;\n height: 15px;\n border-radius: 9px !important;\n\n /* Position */\n position: absolute;\n bottom: 0;\n right: 0;\n\n /* Looks */\n background-color: #2ecc71;\n\n animation: nld-super-pop-in 0.5s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 1s;\n\n transform: scale(0, 0);\n}\n\n.nld-chatbot .nld-clear {\n clear: both;\n}\n\n.nld-chatbot .nld-invite-message-container {\n float: right;\n max-width: 269px;\n width: max-content;\n margin-right: 8px;\n margin-top: 0;\n\n display: flex;\n align-items: center;\n}\n\n.nld-chatbot .nld-chatbot-invite-container {\n right: 72px;\n\n top: 50%;\n transform: translateY(-50%);\n\n width: 305px;\n\n position: absolute;\n}\n\n.nld-chatbot .nld-chatbot-invite-message {\n position: relative;\n float: right;\n\n border-radius: 8px !important;\n padding: 9px;\n padding-left: 17px;\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.25);\n border: 1px solid #d6d6d6;\n color: #555 !important;\n background: white;\n line-height: 1.5em !important;\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif !important;\n font-size: 16px !important;\n}\n\n.nld-chatbot .nld-invite-message-text {\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif !important;\n}\n\n.nld-chatbot .nld-invite-message-text strong {\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-invite-message-text em {\n font-style: italic !important;\n}\n\n.nld-chatbot .nld-invite-message-text p {\n margin-bottom: 0 !important;\n}\n\n.nld-chatbot .nld-chatbot-invite-message::after {\n content: '';\n\n /* Form */\n width: 16px;\n height: 32px;\n\n /* Position */\n position: absolute;\n top: 50%;\n margin-top: -16px;\n right: -16px;\n\n /* Looks */\n background-image: url(${f});\n background-size: 32px 32px;\n}\n\n.nld-chatbot .nld-conversation {\n /* Form */\n width: 420px;\n max-height: 370px;\n min-height: 300px;\n height: calc(100vh - 72px);\n border-radius: 12px !important;\n\n /* Position */\n z-index: 32767;\n position: fixed;\n bottom: 48px;\n right: 24px;\n\n /* Looks */\n background: white;\n box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);\n}\n\n.nld-chatbot .nld-bg {\n position: absolute;\n\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n border-radius: 8px !important;\n\n background: white;\n}\n\n.nld-chatbot .nld-conversation.nld-full {\n max-height: 550px;\n transition: max-height 0.5s ease-in-out;\n}\n\n.nld-chatbot .nld-conversation > .nld-ctx {\n position: absolute;\n top: 0px;\n bottom: 0px;\n left: 0;\n right: 0;\n\n border-radius: 8px !important;\n}\n\n.nld-chatbot .nld-typing-indicator {\n width: 54px;\n\n display: inline-block;\n vertical-align: middle;\n}\n\n.nld-chatbot .nld-typing-indicator > span {\n width: 12px;\n height: 12px;\n border-radius: 6px !important;\n\n margin-right: 6px;\n\n float: left;\n\n opacity: 0.5;\n\n background: #2ecc71;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(1) {\n animation: 1s nld-blink infinite 0.1666s;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(2) {\n animation: 1s nld-blink infinite 0.3332s;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(3) {\n animation: 1s nld-blink infinite 0.5s;\n}\n\n/* States */\n\n.nld-nodisplay {\n display: none !important;\n}\n\n.nld-chatbot .nld-hidden {\n /* Animations */\n animation-name: nld-pop-out;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown {\n /* Animations */\n animation-name: nld-pop-in;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown-middle {\n /* Animations */\n animation-name: nld-pop-in-middle;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-hidden-slide {\n /* Animations */\n animation-name: nld-slide-out;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-hidden-slideup {\n /* Animations */\n animation-name: nld-slide-out-up;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown-slide {\n /* Animations */\n animation-name: nld-slide-in;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-close {\n position: absolute;\n top: 23px;\n right: 24px;\n\n width: 25px;\n height: 25px;\n\n z-index: 9999999;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message .nld-close {\n top: -12px;\n right: -12px;\n left: auto;\n\n background: #aaa;\n border-radius: 13px !important;\n}\n\n.nld-chatbot .nld-chatbot-invite-message .nld-close {\n top: -12px;\n left: -12px;\n\n background: #aaa;\n border-radius: 13px !important;\n}\n\n.nld-chatbot .nld-close-white {\n display: block;\n}\n\n.nld-chatbot .nld-close-black {\n display: none;\n}\n\n.nld-chatbot .nld-close:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-close > img {\n all: inherit;\n width: 25px;\n top: 0;\n left: 0;\n}\n\n/* Modifiers */\n\n/* Left */\n\n.nld-chatbot.nld-left > .nld-avatar {\n left: 18px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-container {\n left: 72px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message {\n float: left;\n}\n\n.nld-chatbot.nld-left .nld-conversation {\n left: 24px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message::after {\n left: -16px;\n right: initial;\n transform: scale(-1, 1);\n}\n\n/* Center */\n\n.nld-chatbot.nld-center > .nld-avatar {\n left: 50%;\n margin-left: -30px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-container {\n left: 72px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-message {\n float: left;\n}\n\n.nld-chatbot.nld-center .nld-conversation {\n left: calc(100vw / 2 - 360px);\n width: 100vw;\n max-width: 720px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-message::after {\n left: -16px;\n right: initial;\n transform: scale(-1, 1);\n}\n\n.nld-chatbot .nld-conversation-header {\n width: 100%;\n height: 100px;\n\n border-radius: 8px 8px 0 0 !important;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n}\n\n.nld-chatbot .nld-mobile-brand {\n position: absolute;\n\n bottom: 0;\n left: 0;\n\n width: 100%;\n text-align: center;\n\n margin-bottom: -28px;\n background-color: #FFF;\n}\n\n.nld-chatbot .nld-mobile-brand .nld-logo {\n width: 160px;\n opacity: 0.5;\n}\n\n.nld-chatbot .nld-brand {\n position: absolute;\n\n display: inline-block;\n width: 100%;\n\n margin: 0;\n\n text-align: center;\n\n bottom: -1.7em;\n}\n\n.nld-chatbot .nld-brand a {\n padding-top: 8px;\n background: #eee;\n\n margin-top: 1px;\n\n box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);\n\n border-radius: 0 0 6px 6px !important;\n\n border: 1px solid #ddd;\n\n display: inline-block !important;\n}\n\n.nld-chatbot .nld-brand a img {\n padding: 0;\n margin: 0;\n vertical-align: baseline;\n opacity: 0.7;\n}\n\n.nld-chatbot .nld-brand a img:hover {\n opacity: 1;\n}\n\n.nld-chatbot img.nld-3rdparty-branding {\n height: 58px;\n width: auto !important;\n\n margin: 0 auto;\n padding-top: 6px;\n\n display: none;\n}\n\n.nld-chatbot .nld-logo {\n width: 200px;\n}\n\n.nld-infobar {\n color: white;\n\n border-radius: 8px 8px 0 0 !important;\n\n font-family: 'Open Sans Regular', sans-serif !important;\n\n height: 72px;\n\n display: flex;\n align-items: center;\n}\n\n.nld-chatbot .nld-infobar > .nld-avatar {\n width: 50px;\n height: 50px;\n border-radius: 25px !important;\n\n left: 12px;\n top: 11px;\n\n position: absolute;\n\n background-size: cover;\n}\n\n.nld-chatbot .nld-infobar > .nld-avatar::after {\n border: 2px solid #cf0237;\n}\n\n.nld-chatbot .nld-infobar .nld-info {\n margin: 0;\n margin-left: 68px;\n}\n\n.nld-chatbot .nld-info .nld-title {\n font-size: 1em !important;\n margin-bottom: 6px;\n margin-top: -6px;\n}\n\n.nld-chatbot .nld-info .nld-subtitle {\n font-size: 0.75em !important;\n}\n\n/* Conversational Form Implementation */\n\n.nld-chatbot .nld-ctx {\n font-family: 'Open Sans Regular', sans-serif !important;\n}\n\n/* Conversation container */\n\n.nld-chatbot .nld-ctx > div > .nld-container {\n position: absolute;\n top: 72px;\n left: 0;\n right: 0;\n bottom: 64px;\n\n border-radius: 8px 8px 0 0 !important;\n\n background-color: white;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-container:focus-visible,\n.nld-chatbot .nld-group {\n outline: none;\n}\n\n.nld-chatbot .nld-ctx > div > .nld-container.nld-full {\n bottom: 0;\n border-radius: 8px 8px 8px 8px !important;\n}\n\n.nld-chatbot .nld-ctx > div > .nld-overlay {\n position: absolute;\n\n top: 72px;\n left: 0;\n right: 0;\n\n height: 36px;\n\n background: white;\n\n background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n background: -moz-linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n background: -webkit-linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n}\n\n/* Bubbles */\n\n.nld-chatbot .nld-msg .nld-bubble {\n padding: 16px 24px;\n margin: 12px;\n margin-bottom: 0;\n\n background: #f0f0f0;\n\n line-height: 1.5 !important;\n font-size: 0.9em !important;\n\n display: inline-block;\n\n border-radius: 24px !important;\n\n overflow-wrap: anywhere;\n\n clear: both;\n}\n\n.nld-chatbot .nld-msg .nld-bubble img {\n margin-top: 6px;\n width: 100%;\n}\n\n.nld-chatbot .nld-msg .nld-bubble b {\n font-weight: bold !important;\n display: initial !important;\n}\n\n.nld-chatbot .nld-msg .nld-bubble a {\n text-decoration: underline;\n color: #07c;\n}\n\n/* Bubble left/right styles */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-bubble {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n\n color: white;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-bubble {\n color: black;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-bubble p {\n color: #000 !important;\n}\n\n/* Middle Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-bubble {\n border-radius: 8px 0 0 8px;\n margin-top: 2px;\n margin-bottom: 2px;\n }\n\n .nld-ctx .nld-group.nld-left .nld-bubble {\n border-radius: 0 8px 8px 0;\n margin-top: 2px;\n margin-bottom: 2px;\n }\n\n */\n\n/* Bottom Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-msg:last-child .nld-bubble {\n border-radius: 8px 0 8px 8px;\n margin-top: 2px;\n }\n\n .nld-ctx .nld-group.nld-left .nld-msg:last-child .nld-bubble {\n border-radius: 0 8px 8px 8px;\n margin-top: 2px;\n }\n\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-msg:last-child .nld-bubble {\n margin-bottom: 6px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-msg:last-child .nld-bubble {\n margin-bottom: 6px;\n}\n\n/* Top Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-msg:first-child .nld-bubble {\n border-radius: 8px 8px 0 8px;\n margin-top: 0;\n }\n\n .nld-ctx .nld-group.nld-left .nld-msg:first-child .nld-bubble {\n border-radius: 8px 8px 8px 0;\n margin-top: 0;\n }\n\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-msg:first-child .nld-bubble {\n margin-top: 0;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-msg:first-child .nld-bubble {\n margin-top: 0;\n}\n\n/* Message groups (blocks of speech) */\n\n.nld-chatbot .nld-ctx .nld-group {\n display: block;\n\n clear: both;\n\n max-width: 80%;\n\n margin: 6px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-full {\n display: block;\n\n clear: both;\n\n width: 100%;\n max-width: calc(100% - 48px);\n\n margin-bottom: 16px;\n margin-top: 16px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-nomargin {\n position: relative;\n display: block;\n\n clear: both;\n\n width: calc(100% + 6px);\n max-width: calc(100% + 6px);\n\n right: -6px;\n\n margin: 0;\n padding: 0;\n}\n\n/* Left/Right message groups */\n\n.nld-chatbot .nld-ctx .nld-group.nld-left {\n float: left;\n text-align: left;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-right {\n float: right;\n text-align: right;\n}\n\n/*\n * Message containers (inside groups). Used to allow for custom\n * content like avatars side by side inside message groups.\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-container {\n max-width: calc(100% - 40px);\n min-width: 200px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-full .nld-container {\n max-width: 21em;\n width: 100%;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-container {\n float: left;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-container {\n float: right;\n}\n\n/* Message group avatar */\n\n.nld-chatbot .nld-group.nld-left .nld-msg-avatar {\n float: left;\n margin-left: 8px;\n}\n\n.nld-chatbot .nld-group.nld-right .nld-msg-avatar {\n float: right;\n margin-right: 8px;\n}\n\n.nld-chatbot .nld-msg-avatar > .nld-img {\n width: 32px;\n height: 32px;\n border-radius: 16px !important;\n\n object-fit: cover;\n}\n\n/* Timestamps */\n\n.nld-chatbot .nld-timestamp {\n display: block;\n color: #979797;\n font-size: 0.75em !important;\n\n margin: 6px 0 6px 6px;\n}\n\n.nld-chatbot .nld-group.nld-left .nld-timestamp {\n float: right;\n}\n\n.nld-chatbot .nld-group.nld-right .nld-timestamp {\n float: right;\n color: #f5f5f5;\n}\n\n/* Text Input */\n\n.nld-chatbot .nld-input {\n position: absolute;\n\n left: 0;\n right: 0;\n\n bottom: 16px;\n height: 48px;\n\n border-radius: 0 0 8px 8px !important;\n}\n\n.nld-chatbot .nld-input.nld-plain {\n box-shadow: none;\n}\n\n.nld-chatbot .nld-input.nld-hide {\n height: 0;\n}\n\n.nld-chatbot .nld-input.nld-hide .nld-submit {\n display: none;\n}\n\n.nld-chatbot .nld-input > .nld-submit {\n box-sizing: content-box;\n\n background-image: url(${b});\n background-size: 30px 30px;\n\n width: 30px;\n height: 30px;\n\n display: inline-block;\n position: absolute;\n right: 24px;\n bottom: 6px;\n\n border-radius: 16px !important;\n border: 1px solid;\n z-index: 3;\n}\n\n.nld-chatbot .nld-input > .nld-submit:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-input > .nld-submit.nld-only {\n left: 50%;\n transform: translateX(-50%);\n\n width: auto;\n text-align: center;\n line-height: 30px !important;\n text-transform: uppercase;\n\n background: transparent !important;\n}\n\n.nld-chatbot .nld-input > input {\n width: calc(100% - 95px) !important;\n height: 46px !important;\n\n background: white;\n color: black !important;\n\n border-radius: 32px !important;\n outline: none;\n border: 2px solid #eee;\n margin: 0 14px;\n\n padding: 0 46px 0 16px !important;\n padding-bottom: 2px;\n\n background: initial !important;\n\n font-size: 1em !important;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: initial;\n}\n\n/* iOS Fix */\ninput[type='text'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n/* Select Box */\n\n.nld-chatbot .nld-input select {\n width: calc(100% - 100px) !important;\n height: 46px !important;\n\n background: white;\n color: black !important;\n position: relative;\n\n border-radius: 32px !important;\n outline: none;\n border: 2px solid #eee;\n margin: 0 14px;\n\n padding: 0 52px 0 16px !important;\n padding-bottom: 2px;\n\n font-size: 1em !important;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n.nld-chatbot .nld-input > .custom-select {\n position: relative;\n}\n\n.nld-chatbot .nld-input > .custom-select:after {\n content: '▼';\n position: absolute;\n color: #4c4c4c;\n top: 4px;\n right: 60px;\n padding: 12px 7px;\n pointer-events: none;\n z-index: 3;\n}\n\n.nld-chatbot .nld-input > select::-ms-expand {\n display: none;\n}\n\n/* Selectors (Single/Multi option) */\n\n.nld-chatbot .nld-sel {\n padding: 24px 0;\n margin: 0;\n right: 6px;\n position: relative;\n}\n\n.nld-chatbot .nld-sel > .nld-opt {\n padding: 12px 24px;\n border-radius: 24px !important;\n display: inline-block;\n cursor: pointer;\n color: white;\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);\n margin: 3px;\n text-align: center;\n}\n\n.nld-chatbot .nld-sel > .nld-opt:hover {\n box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.3);\n}\n\n.nld-chatbot .nld-sel.nld-multi {\n padding: 12px 0;\n}\n\n.nld-chatbot .nld-sel.nld-multi > .nld-opt.nld-selected {\n background-image: linear-gradient(to right, #f31448, #ff6084);\n}\n\n.nld-chatbot .nld-sel.nld-multi > .nld-opt {\n background: transparent;\n border: 1px solid #f31448;\n color: #222;\n}\n\n.nld-chatbot .nld-secondary {\n padding: 4px 8px;\n background: transparent !important;\n color: #0592ff !important;\n box-shadow: none !important;\n border: none !important;\n font-size: 12px !important;\n text-decoration: underline !important;\n}\n\n.nld-chatbot .nld-secondary:hover {\n box-shadow: none !important;\n color: #0277d1 !important;\n}\n\n.nld-chatbot .nld-secondary.nld-selected {\n background-image: none !important;\n}\n\n/* Message-Selector */\n\n.nld-chatbot .nld-sel.nld-messages {\n padding: 0;\n margin: 0;\n\n padding-top: 12px;\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt {\n margin: 6px 6px 0 0;\n padding: 12px 16px;\n\n border-radius: 24px !important;\n\n display: inline-block;\n\n cursor: pointer;\n\n color: white;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt:hover {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.3);\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt.nld-selected {\n background-image: linear-gradient(to right, #f31448, #ff6084);\n}\n\n/* Time Selector */\n\n.nld-chatbot .nld-sel.nld-time {\n margin-right: 16px;\n\n border-radius: 8px !important;\n\n border: 1px solid #bc002c;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-timedisplay {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n\n font-size: 3em !important;\n color: rgba(255, 255, 255, 0.8);\n\n padding: 6px 24px;\n}\n\n.nld-chatbot .nld-timepicker {\n background: white;\n\n padding: 6px;\n}\n\n.nld-chatbot .nld-timepicker .nld-clock {\n width: 14em;\n height: 14em;\n border-radius: 7em !important;\n\n background: #eee;\n\n position: relative;\n}\n\n.nld-chatbot .nld-clock .nld-num-container {\n width: 11em;\n height: 11em;\n\n top: 1.5em;\n left: 1.5em;\n\n position: relative;\n}\n\n.nld-chatbot .nld-clock .nld-pivot {\n box-sizing: content-box;\n\n position: absolute;\n\n top: 50%;\n left: 50%;\n\n margin-top: -0.25em;\n margin-left: -0.25em;\n\n width: 0.5em;\n height: 0.5em;\n\n border-radius: 0.5em !important;\n\n border: 2px solid #ea083d;\n}\n\n.nld-chatbot .nld-clock .nld-pointer {\n position: absolute;\n\n top: 0.25em;\n left: 0.5em;\n\n margin-top: -1px;\n\n width: 4.55em;\n height: 2px;\n\n transform-origin: -0.25em 1px;\n\n background: #ea083d;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num {\n position: absolute;\n\n width: 2em;\n height: 2em;\n\n margin-top: -1em;\n margin-left: -1em;\n\n line-height: 2em !important;\n\n text-align: center;\n vertical-align: middle;\n\n cursor: pointer;\n\n color: #888;\n\n border-radius: 1em !important;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num.nld-disabled {\n color: #ddd;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num:hover {\n color: black;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num.nld-selected {\n color: white;\n background: #ea083d;\n}\n\n.nld-chatbot .nld-timedisplay .nld-hours {\n display: inline-block;\n\n cursor: pointer;\n}\n\n.nld-chatbot .nld-timedisplay .nld-minutes {\n display: inline-block;\n\n cursor: pointer;\n}\n\n.nld-chatbot .nld-timedisplay .nld-sep {\n display: inline-block;\n\n color: #eee;\n}\n\n.nld-chatbot .nld-hours.nld-selected {\n color: white;\n\n border-bottom: 3px solid white;\n}\n\n.nld-chatbot .nld-minutes.nld-selected {\n color: white;\n\n border-bottom: 3px solid white;\n}\n\n.nld-chatbot .nld-timedisplay .nld-period {\n float: right;\n font-size: 0.33em !important;\n margin-top: 0.8em;\n margin-left: 1em;\n}\n\n.nld-chatbot .nld-period .nld-day {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-period .nld-night {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-period .nld-day.nld-selected {\n color: white;\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-period .nld-night.nld-selected {\n color: white;\n font-weight: bold !important;\n}\n\n/* Date selector */\n\n.nld-chatbot .nld-sel.nld-date {\n padding: 0;\n padding-bottom: 12px;\n\n right: 6px;\n\n position: relative;\n}\n\n.nld-chatbot .nld-cal {\n position: relative;\n\n min-width: 18em;\n width: 100%;\n height: 16em;\n\n background: white;\n\n border-radius: 8px !important;\n\n border: 1px solid #cf0237;\n\n color: #444;\n\n font-size: 0.8em !important;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-cal > .nld-row {\n width: 100%;\n height: 2em;\n\n text-align: center;\n}\n\n.nld-chatbot .nld-row.nld-title {\n font-weight: bold !important;\n\n color: white;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n}\n\n.nld-chatbot .nld-row.nld-header {\n font-weight: bold !important;\n color: white;\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n border-radius: 6px 6px 0 0 !important;\n vertical-align: middle;\n}\n\n.nld-chatbot .nld-row.nld-header > .nld-header {\n padding-top: 0.5em;\n}\n\n.nld-chatbot .nld-cal .nld-prev {\n float: left;\n padding-left: 12px;\n\n cursor: pointer;\n\n -moz-transform: scaleX(-1);\n -o-transform: scaleX(-1);\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1);\n filter: FlipH;\n -ms-filter: 'FlipH';\n\n width: 16px;\n height: 16px;\n\n background-image: url(${_});\n background-size: 16px;\n\n background-repeat: no-repeat;\n}\n\n.nld-chatbot .nld-cal .nld-next {\n float: right;\n margin-right: 12px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-image: url(${_});\n background-size: 16px;\n}\n\n.nld-chatbot .nld-next.nld-full,\n.nld-chatbot .nld-prev.nld-full {\n background-image: url(${v});\n}\n\n.nld-chatbot .nld-cal .nld-cell {\n box-sizing: content-box;\n display: inline-block;\n\n width: 14.2857%;\n height: 50%;\n\n padding: 0.5em 0;\n\n text-align: center;\n\n cursor: pointer;\n\n user-select: none;\n\n position: relative;\n}\n\n.nld-chatbot .nld-cell.nld-this-month {\n}\n\n.nld-chatbot .nld-cell.nld-disabled {\n background-color: #eee;\n cursor: not-allowed;\n}\n\n.nld-chatbot .nld-cell.nld-next-month {\n color: #bbb;\n}\n\n.nld-chatbot .nld-cell.nld-prev-month {\n color: #999;\n}\n\n.nld-chatbot .nld-cell.nld-today {\n font-weight: bold !important;\n color: black;\n}\n\n.nld-chatbot .nld-cell.nld-selected {\n font-weight: bold !important;\n color: black;\n}\n\n.nld-chatbot .nld-cell.nld-selected::after {\n box-sizing: content-box;\n\n width: calc(100% - 8px);\n height: calc(100% - 6px);\n\n border-radius: 6px !important;\n\n border: 1px solid #cf0237;\n\n opacity: 0.5;\n\n position: absolute;\n\n top: 3px;\n left: 3px;\n\n content: '';\n}\n\n/* Scrollbar */\n\n.nld-chatbot .nld-scrollable {\n width: calc(100% - 6px);\n height: 100%;\n\n box-sizing: content-box;\n\n overflow-y: scroll;\n overflow-x: hidden;\n\n margin-right: -50px;\n padding-right: 50px;\n}\n\n.nld-chatbot .nld-scrollbar {\n position: absolute;\n top: 0;\n right: 0;\n\n width: 6px;\n height: 100%;\n}\n\n.nld-chatbot .nld-handle {\n width: 100%;\n\n position: absolute;\n\n border-radius: 3px !important;\n\n background: #ea083d;\n\n opacity: 0.8;\n}\n\n.nld-chatbot .nld-whitespace {\n width: 100%;\n height: 1em;\n background: none;\n}\n\n.nld-chatbot .nld-input .nld-tooltip-error {\n position: absolute;\n display: flex;\n background-color: #cb2134;\n color: #fff;\n margin: 0px 20px;\n width: calc(100% - 64px) !important;\n border-radius: 8px;\n padding: 5px 10px;\n font-size: 14px !important;\n transform: translateY(-135%);\n box-shadow: 0 1px 8px rgb(0 0 0 / 50%);\n}\n\n.nld-chatbot .nld-input .nld-tooltip-error:after {\n content: '';\n position: absolute;\n display: block;\n width: 14px;\n height: 14px;\n transform-origin: 50% 50%;\n transform: rotate(45deg) translateX(-50%);\n background-color: inherit;\n z-index: -10;\n left: 20px;\n top: auto;\n bottom: -10px;\n border-radius: 2px;\n}\n\n.nld-chatbot .nld-multi .nld-tooltip-error {\n position: absolute;\n display: flex;\n background-color: #cb2134;\n color: #fff;\n border-radius: 8px;\n padding: 5px 10px;\n right: 0;\n font-size: 14px !important;\n transform: translateY(-135%);\n box-shadow: 0 1px 8px rgb(0 0 0 / 50%);\n}\n\n.nld-chatbot .nld-multi .nld-tooltip-error:after {\n content: '';\n position: absolute;\n display: block;\n width: 14px;\n height: 14px;\n transform-origin: 50% 50%;\n transform: rotate(45deg) translateX(-50%);\n background-color: inherit;\n z-index: -10;\n right: 20px;\n top: auto;\n bottom: -10px;\n border-radius: 2px;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link {\n text-decoration: none;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link > div {\n background: #455a64;\n color: white;\n padding: 1em;\n border-radius: 0.5em;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);\n font-weight: bold;\n margin-top: 1em;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link > div > img {\n width: 2em;\n height: 2em;\n margin-top: -0.25em;\n margin-right: 0.25em;\n float: left;\n}\n\n.nld-chatbot .nld-bubble a.reset-chat {\n color: #ffffff;\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-bubble a.reset-chat > img {\n margin-left: 10px;\n vertical-align: -5px;\n margin-top: 0 !important;\n width: inherit !important;\n}\n\n/* Media Queries */\n@media only screen and (max-device-width: 720px) {\n .nld-chatbot.nld-center .nld-conversation {\n width: auto;\n height: auto;\n max-height: none;\n min-height: none;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n}\n\n@media only screen and (max-width: 720px) {\n .nld-chatbot.nld-center > .nld-avatar {\n left: 0 !important;\n margin-left: 0 !important;\n }\n}\n\n@media only screen and (max-device-width: 720px) {\n .nld-chatbot .nld-conversation {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-conversation-header {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-avatar {\n bottom: 48px;\n }\n\n .nld-chatbot .nld-conversation,\n .nld-chatbot.nld-left .nld-conversation,\n .nld-chatbot.nld-right .nld-conversation {\n width: auto;\n height: auto;\n max-height: none !important;\n min-height: none !important;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n\n .nld-chatbot .nld-invite-message-container {\n max-width: 200px;\n max-width: calc(100vw - 138px);\n }\n\n .nld-chatbot .nld-invite-message-container.nld-notification .nld-invite-message-text {\n min-width: 0 !important;\n }\n\n .nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n display: none !important;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container,\n .nld-ctx > div > .nld-overlay {\n top: 72px;\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container {\n bottom: 76px;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container.nld-full {\n bottom: 18px;\n }\n\n .nld-chatbot .nld-close-white {\n display: block;\n }\n\n .nld-chatbot .nld-close-black {\n display: none;\n }\n\n .nld-chatbot .nld-input > input {\n font-size: 1.1em !important;\n }\n\n .nld-chatbot .nld-input {\n bottom: 28px;\n }\n\n .nld-chatbot .nld-msg .nld-bubble {\n font-size: 1em !important;\n }\n}\n\n/* Waiting Spinnner */\n\n.nld-chatbot .nld-input .nld-spinner {\n position: relative;\n width: 2em;\n height: 2em;\n\n top: 50%;\n left: 50%;\n margin-left: -1em;\n margin-top: -1em;\n}\n\n.nld-chatbot .nld-input .nld-spinner div {\n position: absolute;\n border-width: 0.25em;\n border-style: solid;\n border-color: inherit;\n margin-top: -0.25em;\n border-radius: 50% !important;\n animation: nld-spinner 1.6s cubic-bezier(0, 0.35, 0.28, 0.9) infinite;\n}\n\n.nld-chatbot .nld-input .nld-spinner div:nth-child(2) {\n animation-delay: -0.64s;\n}\n\n@keyframes nld-spinner {\n 0% {\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n opacity: 1;\n }\n 80% {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n }\n 100% {\n opacity: 0;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n }\n}\n\n/* Social Proof Icon */\n.nld-chatbot .nld-sp-icon {\n margin: -4px;\n\n min-width: 64px;\n height: 64px;\n border-radius: 50% !important;\n background-size: 0%;\n}\n\n.nld-chatbot .nld-sp-icon div:not(:nth-child(3)) {\n position: absolute;\n\n background: inherit;\n border-radius: 50% !important;\n\n animation: nld-pulse 2.6s cubic-bezier(0, 0.35, 0.28, 0.9) infinite;\n}\n\n.nld-chatbot .nld-sp-icon div:nth-child(2) {\n animation-delay: -0.64s;\n}\n\n.nld-chatbot .nld-sp-icon .nld-img {\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 50% !important;\n background-size: 100%;\n}\n\n.nld-chatbot .nld-sp-icon.nld-right {\n margin-right: 0;\n margin-left: 12px;\n\n animation: nld-slide-in 0.8s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n}\n\n.nld-chatbot .nld-sp-icon.nld-left {\n margin-left: 0;\n margin-right: 12px;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n}\n\n.nld-chatbot .nld-footer {\n display: none;\n}\n\n.nld-chatbot .nld-footer.nld-verified::before {\n position: absolute;\n\n top: 50%;\n left: -1.2em;\n width: 1em;\n height: 1em;\n\n margin-top: -0.5em;\n\n content: 'C';\n font-family: neurolead !important;\n\n color: white;\n background: #58f;\n\n border-radius: 50% !important;\n\n line-height: 1em !important;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n display: block;\n opacity: 0;\n\n text-align: right;\n\n position: absolute;\n right: 8px;\n bottom: 0;\n\n font-size: 75% !important;\n color: #58f;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 0.5s;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-time {\n display: block;\n opacity: 0;\n\n position: absolute;\n left: 92px;\n bottom: 0;\n\n font-size: 75% !important;\n color: #aaa;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 0.25s;\n}\n\n.nld-chatbot.nld-left .nld-invite-message-container.nld-notification .nld-footer.nld-time {\n left: 16px;\n text-align: left;\n}\n\n.nld-chatbot.nld-left .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n right: 86px;\n text-align: right;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-invite-message-text {\n min-width: 180px;\n margin-bottom: 16px;\n line-height: 1.2em !important;\n\n align-self: flex-start;\n}\n\n@keyframes nld-pulse {\n 0% {\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n opacity: 1;\n }\n 60% {\n top: -25%;\n left: -25%;\n width: 150%;\n height: 150%;\n opacity: 0;\n }\n 100% {\n opacity: 0;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n }\n}\n\n.nld-chatbot .nld-popup-container {\n position: absolute;\n bottom: 3.5em;\n width: 100%;\n left: 0;\n}\n\n.nld-chatbot .nld-popup-container .nld-popup {\n margin: 0 0.75em;\n background: #fff0f1;\n border-radius: 0.5em;\n box-shadow: 0 4px 6px -5px rgba(0, 0, 0, 0.2);\n border: 1px solid #f2dcd0;\n color: #a33;\n padding: 1em 2em;\n text-align: center;\n font-size: 1.25em !important;\n}\n`,""]);const y=g},117:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-chatbot .nld-scheduler-container {\n outline: 2px solid #2F6FEA;\n border-radius: 20px;\n width: 330px;\n}\n\n.nld-chatbot .scheduler-action-buttons-container {\n display: flex;\n justify-content: space-around;\n align-items: center;\n padding-bottom: 5px;\n}\n\n.nld-chatbot .scheduler-action-buttons-container > .scheduler-cancel-button {\n color: #2F6FEA;\n cursor: pointer;\n min-width: 90px;\n}\n\n.nld-chatbot .scheduler-continue-button {\n padding: 0.5em;\n min-width: 90px;\n background: #2F6FEA;\n border-radius: 20px;\n color: #ffffff!important;\n pointer-events: none;\n text-align: center !important;\n}\n\n.nld-chatbot .scheduler-continue-button.disabled {\n background: #A1C5F7;\n border-radius: 20px;\n color: #e7e6e6;\n cursor: not-allowed!important;\n pointer-events: none!important;\n}\n\n.nld-chatbot .scheduler-continue-button.active {\n background: #2F6FEA;\n border-radius: 20px;\n color: #ffffff!important;\n cursor: pointer;\n pointer-events: auto;\n}\n\n.nld-chatbot .scheduler-view-title,\n.scheduler-error-message {\n text-align: center;\n padding: 0.5em;\n color: #555 !important;\n border-bottom: 2px solid #f5f5f5;\n font-weight: bold !important;\n}\n\n.nld-chatbot .scheduler-time-available-container {\n display: flex;\n flex-wrap: wrap;\n padding: 0 0.5em 0 1.5em;\n}\n\n.nld-chatbot .scheduler-time-available-container > .scheduler-time-available {\n text-align: center;\n padding: 0.25em 0.7em;\n font-weight: bold!important;\n color: #2F6FEA;\n cursor: pointer;\n}\n\n.nld-chatbot .scheduler-time-available.disabled {\n color: #989898 !important;\n font-weight: 400 !important;\n pointer-events: none;\n}\n\n.nld-chatbot .scheduler-time-available.active {\n background: #A1C5F7;\n border-radius: 20px;\n font-weight: bold!important;\n color: #2F6FEA;\n cursor: pointer;\n}\n\n.nld-chatbot .scheduler-confirmation-elements {\n text-align: center;\n padding: 0.25em 0 1em 0;\n}\n\n.nld-chatbot .scheduler-confirmation-label {\n padding: 1em 0.5em 0.5em 0.5em;\n}\n\n.nld-chatbot .scheduler-confirmation-date-time {\n display: inline-block;\n background: #F4F4F4;\n border-radius: 5px;\n width: 45%;\n padding: 0.5em 0;\n}\n\n.nld-chatbot .scheduler-confirmation-date-formatting-decoration {\n color: #2F6FEA;\n}\n",""]);const s=r},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,a){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var s=0;s0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),e.push(d))}},e}},417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},601:t=>{"use strict";t.exports=function(t){return t[1]}},146:(t,e,n)=>{"use strict";var i=n(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return i.isMemo(t)?r:s[t.$$typeof]||o}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=r;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;t.exports=function t(e,n,i){if("string"!=typeof n){if(g){var o=p(n);o&&o!==g&&t(e,o,i)}var r=d(n);u&&(r=r.concat(u(n)));for(var s=l(e),m=l(n),f=0;f{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,r=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,_=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case d:case u:case a:case s:case r:case p:return t;default:switch(t=t&&t.$$typeof){case c:case h:case f:case m:case l:return t;default:return e}}case o:return e}}}function w(t){return x(t)===u}e.AsyncMode=d,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=l,e.Element=i,e.ForwardRef=h,e.Fragment=a,e.Lazy=f,e.Memo=m,e.Portal=o,e.Profiler=s,e.StrictMode=r,e.Suspense=p,e.isAsyncMode=function(t){return w(t)||x(t)===d},e.isConcurrentMode=w,e.isContextConsumer=function(t){return x(t)===c},e.isContextProvider=function(t){return x(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return x(t)===h},e.isFragment=function(t){return x(t)===a},e.isLazy=function(t){return x(t)===f},e.isMemo=function(t){return x(t)===m},e.isPortal=function(t){return x(t)===o},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===r},e.isSuspense=function(t){return x(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===u||t===s||t===r||t===p||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===m||t.$$typeof===l||t.$$typeof===c||t.$$typeof===h||t.$$typeof===_||t.$$typeof===v||t.$$typeof===y||t.$$typeof===b)},e.typeOf=x},404:(t,e,n)=>{"use strict";t.exports=n(72)},402:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>G,J0:()=>o.J0,Kr:()=>o.Kr,NT:()=>o.NT,Nf:()=>o.Nf,RZ:()=>_,Rf:()=>c,li:()=>o.li,n:()=>i.n,q6:()=>i.q6,tY:()=>f,vJ:()=>o.vJ});var i=n(172),o=n(994);function a(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var i in e)if("__source"!==i&&t[i]!==e[i])return!0;return!1}function r(t,e){this.props=t,this.context=e}(r.prototype=new i.uA).isPureReactComponent=!0,r.prototype.shouldComponentUpdate=function(t,e){return a(this.props,t)||a(this.state,e)};var s=i.fF.__b;i.fF.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),s&&s(t)};var l="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function c(t){function e(e){if(!("ref"in e))return t(e,null);var n=e.ref;delete e.ref;var i=t(e,n);return e.ref=n,i}return e.$$typeof=l,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var d=function(t,e){return null==t?null:(0,i.v2)((0,i.v2)(t).map(e))},u={map:d,forEach:d,count:function(t){return t?(0,i.v2)(t).length:0},only:function(t){var e=(0,i.v2)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:i.v2},h=i.fF.__e;i.fF.__e=function(t,e,n,i){if(t.then)for(var o,a=e;a=a.__;)if((o=a.__c)&&o.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e);h(t,e,n,i)};var p=i.fF.unmount;function g(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),t.__c.__H=null),null!=(t=function(t,e){for(var n in e)t[n]=e[n];return t}({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return g(t,e,n)}))),t}function m(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return m(t,e,n)})),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function f(){this.__u=0,this.t=null,this.__b=null}function b(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function _(t){var e,n,o;function a(a){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){o=t})),o)throw o;if(!n)throw e;return(0,i.n)(n,a)}return a.displayName="Lazy",a.__f=!0,a}function v(){this.u=null,this.o=null}i.fF.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),p&&p(t)},(f.prototype=new i.uA).__c=function(t,e){var n=e.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var o=b(i.__v),a=!1,r=function(){a||(a=!0,n.__R=null,o?o(s):s())};n.__R=r;var s=function(){if(! --i.__u){if(i.state.__a){var t=i.state.__a;i.__v.__k[0]=m(t,t.__c.__P,t.__c.__O)}var e;for(i.setState({__a:i.__b=null});e=i.t.pop();)e.forceUpdate()}};i.__u++||32&e.__u||i.setState({__a:i.__b=i.__v.__k[0]}),t.then(r,r)},f.prototype.componentWillUnmount=function(){this.t=[]},f.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=g(this.__b,n,o.__O=o.__P)}this.__b=null}var a=e.__a&&(0,i.n)(i.FK,null,t.fallback);return a&&(a.__u&=-33),[(0,i.n)(i.FK,null,e.__a?null:t.children),a]};var y=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),e.i.removeChild(t)}}),(0,i.XX)((0,i.n)(x,{context:e.context},t.__v),e.l)}(v.prototype=new i.uA).__a=function(t){var e=this,n=b(e.__v),i=e.o.get(t);return i[0]++,function(o){var a=function(){e.props.revealOrder?(i.push(o),y(e,t,i)):o()};n?n(a):a()}},v.prototype.render=function(t){this.u=null,this.o=new Map;var e=(0,i.v2)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},v.prototype.componentDidUpdate=v.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){y(t,n,e)}))};var k="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,A=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,S=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,C=/[A-Z0-9]/g,T="undefined"!=typeof document,I=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};i.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(i.uA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var M=i.fF.event;function D(){}function E(){return this.cancelBubble}function L(){return this.defaultPrevented}i.fF.event=function(t){return M&&(t=M(t)),t.persist=D,t.isPropagationStopped=E,t.isDefaultPrevented=L,t.nativeEvent=t};var P,R={enumerable:!1,configurable:!0,get:function(){return this.class}},F=i.fF.vnode;i.fF.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,n=t.type,o={},a=-1===n.indexOf("-");for(var r in e){var s=e[r];if(!("value"===r&&"defaultValue"in e&&null==s||T&&"children"===r&&"noscript"===n||"class"===r||"className"===r)){var l=r.toLowerCase();"defaultValue"===r&&"value"in e&&null==e.value?r="value":"download"===r&&!0===s?s="":"translate"===l&&"no"===s?s=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?r="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||I(e.type)?"onfocus"===l?r="onfocusin":"onblur"===l?r="onfocusout":S.test(r)&&(r=l):l=r="oninput":a&&A.test(r)?r=r.replace(C,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===l&&o[r=l]&&(r="oninputCapture"),o[r]=s}}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=(0,i.v2)(e.children).forEach((function(t){t.props.selected=-1!=o.value.indexOf(t.props.value)}))),"select"==n&&null!=o.defaultValue&&(o.value=(0,i.v2)(e.children).forEach((function(t){t.props.selected=o.multiple?-1!=o.defaultValue.indexOf(t.props.value):o.defaultValue==t.props.value}))),e.class&&!e.className?(o.class=e.class,Object.defineProperty(o,"className",R)):(e.className&&!e.class||e.class&&e.className)&&(o.class=o.className=e.className),t.props=o}(t),t.$$typeof=k,F&&F(t)};var N=i.fF.__r;i.fF.__r=function(t){N&&N(t),P=t.__c};var O=i.fF.diffed;i.fF.diffed=function(t){O&&O(t);var e=t.props,n=t.__e;null!=n&&"textarea"===t.type&&"value"in e&&e.value!==n.value&&(n.value=null==e.value?"":e.value),P=null};var B={ReactCurrentDispatcher:{current:{readContext:function(t){return P.__n[t.__c].props.value},useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,useDeferredValue:j,useEffect:o.vJ,useId:o.Bi,useImperativeHandle:o.Yn,useInsertionEffect:q,useLayoutEffect:o.Nf,useMemo:o.Kr,useReducer:o.WO,useRef:o.li,useState:o.J0,useSyncExternalStore:H,useTransition:W}}};function U(t){return!!t&&t.$$typeof===k}var Y=i.FK;function z(t){t()}function j(t){return t}function W(){return[!1,z]}var q=o.Nf,V=U;function H(t,e){var n=e(),i=(0,o.J0)({h:{__:n,v:e}}),a=i[0].h,r=i[1];return(0,o.Nf)((function(){a.__=n,a.v=e,J(a)&&r({h:a})}),[t,n,e]),(0,o.vJ)((function(){return J(a)&&r({h:a}),t((function(){J(a)&&r({h:a})}))}),[t]),n}function J(t){var e,n,i=t.v,o=t.__;try{var a=i();return!((e=o)===(n=a)&&(0!==e||1/e==1/n)||e!=e&&n!=n)}catch(t){return!0}}var G={useState:o.J0,useId:o.Bi,useReducer:o.WO,useEffect:o.vJ,useLayoutEffect:o.Nf,useInsertionEffect:q,useTransition:W,useDeferredValue:j,useSyncExternalStore:H,startTransition:z,useRef:o.li,useImperativeHandle:o.Yn,useMemo:o.Kr,useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,version:"18.3.1",Children:u,render:function(t,e,n){return null==e.__k&&(e.textContent=""),(0,i.XX)(t,e),"function"==typeof n&&n(),t?t.__c:null},hydrate:function(t,e,n){return(0,i.Qv)(t,e),"function"==typeof n&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&((0,i.XX)(null,t),!0)},createPortal:function(t,e){var n=(0,i.n)(w,{__v:t,i:e});return n.containerInfo=e,n},createElement:i.n,createContext:i.q6,createFactory:function(t){return i.n.bind(null,t)},cloneElement:function(t){return U(t)?i.Ob.apply(null,arguments):t},createRef:i._3,Fragment:i.FK,isValidElement:U,isElement:V,isFragment:function(t){return U(t)&&t.type===i.FK},isMemo:function(t){return!!t&&!!t.displayName&&("string"==typeof t.displayName||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")},findDOMNode:function(t){return t&&(t.base||1===t.nodeType&&t)||null},Component:i.uA,PureComponent:r,memo:function(t,e){function n(t){var n=this.props.ref,i=n==t.ref;return!i&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!i:a(this.props,t)}function o(e){return this.shouldComponentUpdate=n,(0,i.n)(t,e)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o},forwardRef:c,flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:Y,Suspense:f,SuspenseList:v,lazy:_,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B}},172:(t,e,n)=>{"use strict";n.d(e,{FK:()=>k,Ob:()=>V,Qv:()=>q,XX:()=>W,_3:()=>w,fF:()=>o,h:()=>y,n:()=>y,q6:()=>H,uA:()=>A,v2:()=>L});var i,o,a,r,s,l,c,d,u,h,p,g={},m=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function _(t,e){for(var n in e)t[n]=e[n];return t}function v(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function y(t,e,n){var o,a,r,s={};for(r in e)"key"==r?o=e[r]:"ref"==r?a=e[r]:s[r]=e[r];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===s[r]&&(s[r]=t.defaultProps[r]);return x(t,s,o,a,null)}function x(t,e,n,i,r){var s={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++a:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(s),s}function w(){return{current:null}}function k(t){return t.children}function A(t,e){this.props=t,this.context=e}function S(t,e){if(null==e)return t.__?S(t.__,t.__i+1):null;for(var n;ee&&r.sort(c));I.__r=0}function M(t,e,n,i,o,a,r,s,l,c,d){var u,h,p,f,b,_=i&&i.__k||m,v=e.length;for(n.__d=l,D(n,e,_),l=n.__d,u=0;u0?x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=t,o.__b=t.__b+1,a=null,-1!==(s=o.__i=P(o,n,r,d))&&(d--,(a=n[s])&&(a.__u|=131072)),null==a||null===a.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==r&&(s==r-1?u--:s==r+1?u++:(s>r?u--:u++,o.__u|=65536))):o=t.__k[i]=null;if(d)for(i=0;i(null==l||131072&l.__u?0:1))for(;r>=0||s=0){if((l=e[r])&&!(131072&l.__u)&&o==l.key&&a===l.type)return r;r--}if(s2&&(l.children=arguments.length>3?i.call(arguments,2):n),x(t.type,l,o||t.key,a||t.ref,null)}function H(t,e){var n={__c:e="__cC"+p++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,i;return this.getChildContext||(n=new Set,(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.forEach((function(t){t.__e=!0,T(t)}))},this.sub=function(t){n.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}i=m.slice,o={__e:function(t,e,n,i){for(var o,a,r;e=e.__;)if((o=e.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(t)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,i||{}),r=o.__d),r)return o.__E=o}catch(e){t=e}throw t}},a=0,A.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof t&&(t=t(_({},n),this.props)),t&&_(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),T(this))},A.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),T(this))},A.prototype.render=k,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(t,e){return t.__v.__b-e.__v.__b},I.__r=0,d=0,u=N(!1),h=N(!0),p=0},994:(t,e,n)=>{"use strict";n.d(e,{Bi:()=>I,J0:()=>_,Kr:()=>A,MN:()=>T,NT:()=>C,Nf:()=>x,WO:()=>v,Yn:()=>k,hb:()=>S,li:()=>w,vJ:()=>y});var i,o,a,r,s=n(172),l=0,c=[],d=s.fF,u=d.__b,h=d.__r,p=d.diffed,g=d.__c,m=d.unmount,f=d.__;function b(t,e){d.__h&&d.__h(o,t,l||e),l=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function _(t){return l=1,v(F,t)}function v(t,e,n){var a=b(i++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):F(void 0,e),function(t){var e=a.__N?a.__N[0]:a.__[0],n=a.t(e,t);e!==n&&(a.__N=[n,a.__[1]],a.__c.setState({}))}],a.__c=o,!o.u)){var r=function(t,e,n){if(!a.__c.__H)return!0;var i=a.__c.__H.__.filter((function(t){return!!t.__c}));if(i.every((function(t){return!t.__N})))return!s||s.call(this,t,e,n);var o=!1;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(o=!0)}})),!(!o&&a.__c.props===t)&&(!s||s.call(this,t,e,n))};o.u=!0;var s=o.shouldComponentUpdate,l=o.componentWillUpdate;o.componentWillUpdate=function(t,e,n){if(this.__e){var i=s;s=void 0,r(t,e,n),s=i}l&&l.call(this,t,e,n)},o.shouldComponentUpdate=r}return a.__N||a.__}function y(t,e){var n=b(i++,3);!d.__s&&R(n.__H,e)&&(n.__=t,n.i=e,o.__H.__h.push(n))}function x(t,e){var n=b(i++,4);!d.__s&&R(n.__H,e)&&(n.__=t,n.i=e,o.__h.push(n))}function w(t){return l=5,A((function(){return{current:t}}),[])}function k(t,e,n){l=6,x((function(){return"function"==typeof t?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0}),null==n?n:n.concat(t))}function A(t,e){var n=b(i++,7);return R(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function S(t,e){return l=8,A((function(){return t}),e)}function C(t){var e=o.context[t.__c],n=b(i++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(o)),e.props.value):t.__}function T(t,e){d.useDebugValue&&d.useDebugValue(e?e(t):t)}function I(){var t=b(i++,11);if(!t.__){for(var e=o.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function M(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(L),t.__H.__h.forEach(P),t.__H.__h=[]}catch(e){t.__H.__h=[],d.__e(e,t.__v)}}d.__b=function(t){o=null,u&&u(t)},d.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),f&&f(t,e)},d.__r=function(t){h&&h(t),i=0;var e=(o=t.__c).__H;e&&(a===o?(e.__h=[],o.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.i=t.__N=void 0}))):(e.__h.forEach(L),e.__h.forEach(P),e.__h=[],i=0)),a=o},d.diffed=function(t){p&&p(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==c.push(e)&&r===d.requestAnimationFrame||((r=d.requestAnimationFrame)||E)(M)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.i=void 0}))),a=o=null},d.__c=function(t,e){e.some((function(t){try{t.__h.forEach(L),t.__h=t.__h.filter((function(t){return!t.__||P(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],d.__e(n,t.__v)}})),g&&g(t,e)},d.unmount=function(t){m&&m(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{L(t)}catch(t){e=t}})),n.__H=void 0,e&&d.__e(e,n.__v))};var D="function"==typeof requestAnimationFrame;function E(t){var e,n=function(){clearTimeout(i),D&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);D&&(e=requestAnimationFrame(n))}function L(t){var e=o,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),o=e}function P(t){var e=o;t.__c=t.__(),o=e}function R(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function F(t,e){return"function"==typeof e?e(t):e}},201:(t,e,n)=>{"use strict";n.d(e,{FD:()=>a,FK:()=>i.FK,Y:()=>a});var i=n(172);var o=0;Array.isArray;function a(t,e,n,a,r,s){e||(e={});var l,c,d=e;"ref"in e&&(l=e.ref,delete e.ref);var u={type:t,props:d,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:r,__self:s};if("function"==typeof t&&(l=t.defaultProps))for(c in l)void 0===d[c]&&(d[c]=l[c]);return i.fF.vnode&&i.fF.vnode(u),u}},799:(t,e)=>{"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function b(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case a:case s:case r:case h:case p:return t;default:switch(t=t&&t.$$typeof){case d:case c:case u:case m:case g:case l:return t;default:return e}}case o:return e}}}n=Symbol.for("react.module.reference"),e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===s||t===r||t===h||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===n||void 0!==t.getModuleId)},e.typeOf=b},363:(t,e,n)=>{"use strict";t.exports=n(799)},833:t=>{t.exports=function(t,e,n,i){var o=n?n.call(i,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var a=Object.keys(t),r=Object.keys(e);if(a.length!==r.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l{"use strict";var e=[];function n(t){for(var n=-1,i=0;i{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},56:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,o&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},568:(t,e,n)=>{"use strict";n.d(e,{AH:()=>_t,Ay:()=>Rt,i7:()=>Pt});var i=n(363),o=n(402),a=n(833),r=n.n(a);const s=function(t){function e(t,i,l,c,h){for(var p,g,m,f,y,w=0,k=0,A=0,S=0,C=0,L=0,R=m=p=0,N=0,O=0,B=0,U=0,Y=l.length,z=Y-1,j="",W="",q="",V="";Np)&&(U=(j=j.replace(" ",":")).length),0i&&(i=(e=e.trim()).charCodeAt(0)),i){case 38:return e.replace(f,"$1"+t.trim());case 58:return t.trim()+e.replace(f,"$1"+t.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:r=r.replace(l,"-webkit-"+l)+";"+r;break;case 207:case 102:r=r.replace(l,"-webkit-"+(102i.charCodeAt(0)&&(i=i.trim()),i=[i],01?e-1:0),i=1;i0?" Args: "+n.join(", "):""))}var C=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,o=i;t>=o;)(o<<=1)<0&&S(16,""+t);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=i;a=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),o=i+n,a=i;a=M&&(M=e+1),T.set(t,e),I.set(e,t)},P="style["+w+'][data-styled-version="5.3.11"]',R=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),F=function(t,e,n){for(var i,o=n.split(","),a=0,r=o.length;a=0;n--){var i=e[n];if(i&&1===i.nodeType&&i.hasAttribute(w))return i}}(n),a=void 0!==o?o.nextSibling:null;i.setAttribute(w,"active"),i.setAttribute("data-styled-version","5.3.11");var r=O();return r&&i.setAttribute("nonce",r),n.insertBefore(i,a),i},U=function(){function t(t){var e=this.element=B(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,i=e.length;n=0){var n=document.createTextNode(e),i=this.nodes[t];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t0&&(c+=t+",")})),i+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return i}(this)},t}(),V=/(a)(d)/gi,H=function(t){return String.fromCharCode(t+(t>25?39:97))};function J(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=H(e%52)+n;return(H(e%52)+n).replace(V,"$1-$2")}var G=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Q=function(t){return G(5381,t)};function Z(t){for(var e=0;e>>0);if(!e.hasNameForId(i,r)){var s=n(a,"."+r,void 0,i);e.insertRules(i,r,s)}o.push(r),this.staticRulesId=r}else{for(var l=this.rules.length,c=G(this.baseHash,n.hash),d="",u=0;u>>0);if(!e.hasNameForId(i,m)){var f=n(d,"."+m,void 0,i);e.insertRules(i,m,f)}o.push(m)}}return o.join(" ")},t}(),$=/^\s*\/\/.*$/gm,tt=[":","[",".","#"];function et(t){var e,n,i,o,a=void 0===t?_:t,r=a.options,l=void 0===r?_:r,c=a.plugins,d=void 0===c?b:c,u=new s(l),h=[],p=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,i,o,a,r,s,l,c,d,u){switch(n){case 1:if(0===d&&64===i.charCodeAt(0))return t(i+";"),"";break;case 2:if(0===c)return i+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(o[0]+i),"";default:return i+(0===u?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(e)}}}((function(t){h.push(t)})),g=function(t,i,a){return 0===i&&-1!==tt.indexOf(a[n.length])||a.match(o)?t:"."+e};function m(t,a,r,s){void 0===s&&(s="&");var l=t.replace($,""),c=a&&r?r+" "+a+" { "+l+" }":l;return e=s,n=a,i=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(r||!a?"":a,c)}return u.use([].concat(d,[function(t,e,o){2===t&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(i,g))},p,function(t){if(-2===t){var e=h;return h=[],e}}])),m.hash=d.length?d.reduce((function(t,e){return e.name||S(15),G(t,e.name)}),5381).toString():"",m}var nt=o.Ay.createContext(),it=(nt.Consumer,o.Ay.createContext()),ot=(it.Consumer,new q),at=et();function rt(){return(0,o.NT)(nt)||ot}function st(){return(0,o.NT)(it)||at}function lt(t){var e=(0,o.J0)(t.stylisPlugins),n=e[0],i=e[1],a=rt(),s=(0,o.Kr)((function(){var e=a;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),l=(0,o.Kr)((function(){return et({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return(0,o.vJ)((function(){r()(n,t.stylisPlugins)||i(t.stylisPlugins)}),[t.stylisPlugins]),o.Ay.createElement(nt.Provider,{value:s},o.Ay.createElement(it.Provider,{value:l},t.children))}var ct=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=at);var i=n.name+e.hash;t.hasNameForId(n.id,i)||t.insertRules(n.id,i,e(n.rules,i,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=at),this.name+t.hash},t}(),dt=/([A-Z])/,ut=/([A-Z])/g,ht=/^ms-/,pt=function(t){return"-"+t.toLowerCase()};function gt(t){return dt.test(t)?t.replace(ut,pt).replace(ht,"-ms-"):t}var mt=function(t){return null==t||!1===t||""===t};function ft(t,e,n,i){if(Array.isArray(t)){for(var o,a=[],r=0,s=t.length;r1?e-1:0),i=1;i?@[\\\]^`{|}~-]+/g,xt=/(^-|-$)/g;function wt(t){return t.replace(yt,"-").replace(xt,"")}var kt=function(t){return J(Q(t)>>>0)};function At(t){return"string"==typeof t&&!0}var St=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},Ct=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function Tt(t,e,n){var i=t[n];St(e)&&St(i)?It(i,e):t[n]=e}function It(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i=0||(o[n]=t[n]);return o}(e,["componentId"]),a=i&&i+"-"+(At(t)?t:wt(y(t)));return Et(t,g({},o,{attrs:f,componentId:a}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?It({},t.defaultProps,e):e}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),a&&p()(k,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Lt=function(t){return function t(e,n,o){if(void 0===o&&(o=_),!(0,i.isValidElementType)(n))return S(1,String(n));var a=function(){return e(n,o,_t.apply(void 0,arguments))};return a.withConfig=function(i){return t(e,n,g({},o,{},i))},a.attrs=function(i){return t(e,n,g({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},a}(Et,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(t){Lt[t]=Lt(t)}));!function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=Z(t),q.registerId(this.componentId+1)}var e=t.prototype;e.createStyles=function(t,e,n,i){var o=i(ft(this.rules,e,n,i).join(""),""),a=this.componentId+t;n.insertRules(a,a,o)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,i){t>2&&q.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,i)}}();function Pt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i"+e+""},this.getStyleTags=function(){return t.sealed?S(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return S(2);var n=((e={})[w]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),i=O();return i&&(n.nonce=i),[o.Ay.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new q({isServer:!0}),this.sealed=!1}var e=t.prototype;e.collectStyles=function(t){return this.sealed?S(2):o.Ay.createElement(lt,{sheet:this.instance},t)},e.interleaveWithNodeStream=function(t){return S(3)}}();const Rt=Lt},99:t=>{"use strict";t.exports="data:font/woff;base64,d09GRk9UVE8AAAa8AAsAAAAAClgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAADXAAAAxcAAAS1utc4DkZGVE0AAAaMAAAAHAAAAByMPVczR0RFRgAABnQAAAAYAAAAHAAVABRPUy8yAAABaAAAAEsAAABgWFNjvWNtYXAAAALkAAAAXQAAAWIC3BADaGVhZAAAAQgAAAA2AAAANhXceA9oaGVhAAABQAAAAB4AAAAkBhADwmhtdHgAAAaoAAAAFAAAABQL1QTAbWF4cAAAAWAAAAAGAAAABgAIUABuYW1lAAABtAAAATAAAAJPca0oJ3Bvc3QAAANEAAAAFgAAACD/uAAzAAEAAAABAADiPyIWXw889QALA+gAAAAA2T/4swAAAADZlDwaALv/1wMuAoYAAAAIAAIAAAAAAAB4nGNgZGBgavt/nSGK+QUDEDDrMTAyoAImAGsrA9kAAAAAUAAACAAAeJxjYGF+wTiBgZWBgamLaQ8DA0MPhGZ8wGDIyAQUZWDlZIABRgYkEJDmmsLQwODIkMGs8N+CIYqpjUETpoYplCmPQQEIGQFs5wvCAHicbY7NagIxFIW/+Ad2YUsfQLLU4gxRV0pxI7h0VdwVKtMwDshEx3EhfYCuuuiL9KX6Ir0TQ5HWQLhfbs695wAdvlCcT5dZYEWbfeAaTd4D13ngO3CDWxUHbnKnXgK3pP8pStVoy+vRT1WsuOc5cI0b3gLXeeIjcIOu6gRuotUscEv6e+Y4dpwoyEjZUKLpkdCXOsIwZMJAeInlKCrHVm4q6gTmbncqsnRT6l7S1yMznAz00h4Lt3VpJv/5xZBlzau0/LddC1YrnGgOgonLpSz8u/S1EBPrQ8QSQzOV+3+fvthy1oyJJHL0G56Fy8uFK1KrR7HRU/2bQHtX6YyjSVSFvxb40oA/o7ASVSE/mVdosaxMY1+r0Kxscchcro0ZxsYYfc0iumoRnS1+AIo6YiV4nGNgYGBmgGAZBkYGEIgB8hjBfBYGByDNw8DBwARkOzMEMoQwpDJk/P8PFHVE8P4f+L/5/8b/C//Ph5oAB4xsDOhCpANGJmYUPgsDAyu6GqA97JTaQyMAACwlEOYAAAB4nGNgZgCD/1sZjIAUIwMaAAAs0wHrAAB4nJ1TS0hUYRQ+987T2/gYc2zAiSaLsKgo6b26FBYRvRYteoiJSQnhlBliRd4iWjRRREWbiF4uija9FmJDF6KoaBm9SFsYmIZjmjPdCfH0nftPLlt0F4fvP/f/zuP7z9HI6yVN00qaGw+3JPY31u9Z0NSQaD5Emk4aLXSKyanQnJjuTPc4Ue/ZkPZrc33uWa7CF6PzxTGikhhdC8eoNOY5XUoe4cyghbR8TeJAe0vT3n2t8aqGufHqRYtXzo9vcjMk9jY1TOaKu7kmj4SvkmbRbKqmpbSW1lNQIlbScq1Ot/TL+l39qf42mXJqUloqlXuU8qTKf0edOxNRf2q8LeLU5B6N1wSKWN92dE+bxtqlXyZwux2JG5NO3Z5jKSczd9tMSAB0wQIiG+gJJZl/Phab3mAx5+6bzNkjuOSssoI88T6Gc+Q6+ZhH+wEzt8DK1AENGkIa3qisyWRct10vU2FULt0CX6vqs/N8KrgEFiRmCn+RTOeAQgfNJFOlZcPGUJAYcZxAVAovQRljH1FreS2oo6uBjB2IypF54HbtwP3BdwohfuEp+b8TTsNBOeWr3BgBC3ZmBgm/HoS3glFP7xRR4owVhE7D0EI/fZUg0HcLWfgzTP9JZB5ZAVJ2K+4PpU1IkTUtnpj5GufjO5H03ksTomS6ELTYB+e3PqDQYrCH3iAn93SIMn1sumbS8bMTXH8tCOmVQIEPoncrBZm6t8Dp+yFSGduRenSedLEf/8eeo7PwOpGqbJt0Fe0AtSgBb8En0fMV6tNWXLRZr74hUnivgBoYh/F0odXCjJAKlpGSVlXl6o2ipDTuscW+lIkQgXB2UfDf0/Wfzt/HypKRZNIZSPqTIQPrNNXdP22aehnmw/nX4q8k1fUaomfasdTL8sALUq/Nmdto3J0BXttpqrkQ5FPTwplOS00QD9yUDtNvSD1EvntXBzV9ahJlMsnfQmpaKTBC+Rmmwd3yMDLZZOyy1LRTJCuSljyQACUPSW2GeNW24KaZ3yHFdzeLAnhOd9vIv8n+u31qE2Uz8ZlqW/FRcMofyYNZNwB4nGNgZIAAHgYRBhYgzQTEjBAMAALLACoAAAABAAAAANlpImUAAAAA2T/4swAAAADZlDwaA+gAAAPoAVcBVwC7AVcBVwFXAVc="},881:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB7SURBVFiF7dexCoAgFIXhW/R4bRYO9fj1FEV/i+BiUEPdkHPAxeV8oMjVTHkQoAfWtIIHYCFnA6In4HsEEFKpK2IoIHZgFkIIIYRIiFhAfP5Y3Ua0LxmOwl5jZt1LfTmuRwCMF5dwUrnKVV5Nue9Qyg/GcvePie/XrMqcOOCgDspkl64AAAAASUVORK5CYII="},996:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACMSURBVFiF7ZdRC0AwFEYv+Xne0B74+fwKcrwoysWwGrlf7WWn9p3aWpuIRQmQA908iqs8hEDLkh5wV3hogU3JGQ8hUMyLqiVnPJREqZQMQOPDTcIkTOIXEk4pWV9Wh/w1EulDh1GZS0Qk8+T3E3ULgGrnkNU+3Mqt3Mo/UR73UcoLnuXRPyZxv2a/ygRSxkAo9hmBFQAAAABJRU5ErkJggg=="},720:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFzSURBVGiB7dkxa9ZQFAbgk9LFycGhg4g6ODpUunXs0PoDtODgIvgX3J2k/0DoIA5uOtil0Klbl24iFDp1KwgODkVUHpeGihb7ff1uvJF7HsiYw3lJbnJzEpFSSimllFJKKZWHRbzCA3S1+xkcdpzZx/3aPQ0K7/xpF8u1exsENs4J3NvBvdo9FoWnfwkMP/AGd2r3WgRWLgjc+4bXuFW755ng5oSBe1/xEgu1e78UzOFkytDwBS9wtXaGqeHjJQL3PuEZrtTOMTG8nyFw7whPMF+yt7mSxX5xWKDGjYjYjIgPeGjMuzY8KnCFf7ePtdrZzoUOj/EWnwsHH/euDfNYxnPs4Xuh4Fu4O20//3xd4FpErETE6ulxfYZyJxFxu+u640lPGOqh1a6x3dKD0NpDy4hfS0Ot4aWCtQ4iYj0ilrqu2y5Ytxwj3loOQksfD1r7PNTgAKC5EU9zQ7zmxrTNDeKb+9XS1s+0lFJKKaWUUkr/o581mM0INt+/SAAAAABJRU5ErkJggg=="},695:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMvSURBVHic7ZpPi9NAGMafbKtbd6vrrn8KXqTYo5dlv4D3epBC8SuIJ2/2c4i3eigFpVfBuyctpVePS0vBq4UeSui/vB6aMZPZzGTiip1J5wcvmSaTJc+T951MZgM4HA6HY3/xwpBB/+tCdkWaASK5MySrATy5MOM6BjCsNsIDcKDRT0eklUZ4AAqSYzJBaUKtMoI3gC+FJBHiPpVQa0woInkMSBsXiOuTJFZ1zCg8ADc0+lHGtuxc4+AzQLzrsjLwhDbr50nOke03AmaArAxEcWxLCeeIhlhBEfHHoFi7aXeVFy1uk/obhywDxDRnbVVZWGnCge/775vN5iG2mSALZpL4mzdPtjUbIqLVavW90+k8AXDCxZ0wbodRBnAM4AjALQAlAIcAbmL7JCmGUQgjySjzTKGQzWbzs9/vPwNwGsbdMJgZzAhdE1TZYgweEf2pSyKaj0aj17Va7QvXhyQRKI4Rdy6/heT37qCrBNPp9F2lUnkI4D6AewDOEGUFy4Yy1JlgRxYkGEBERPP5/HOj0XgM4AEiI0QT+HJQlYJ9BhARLZfLH+12+wJ6JtiZBSoDwsHx12AweAGAlQQrhxNcLYUkA8zOgjQDiIiCIFiMx+M3iDLhDOossKcMdAxgzGaz7vn5+SNEpSBmQZYyMIMsBhAR+b7/tdVq1RDPgrQyyI8BRETr9fqy2+0+RdyAY1hoQGwilIXFYvGtVCo9RzQhCoS2amIktneGzoqwDCMEXJe/MmCz2Vz2er1X3C7j7qw2bhDMQB4fg0WdTkS0nEwmb6vV6kekD24QjkHSxwhSx4AgCKbD4fBltVr9BL3XYLvGA1XK7/XL0D6/Du/VgkhsEKR/vyRmPuy27+uiqFsW933/Q71eP0UklI8y4sKziDf/7mN7UUeQX5z4TBcnP6olcJ2PLHZOEXERSR82qARaLR7YGhBA/kWHzAgdg2R/xyj4DFB9IKFa0LBr6ivADADUFy8TqSPeaFN4A9LIKjztmBEUkPz/fJ06tlo4g58K6wpME2eNeCCeASp0RFklnCH7TDYLVgpnaC2JSbBaOCOrAbkQzZNmQO4EOxwOh8MR8RsgtSyqPuIxtgAAAABJRU5ErkJggg=="},728:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(402),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const a=(t,e,n,a)=>{const r=(0,i.Rf)((({color:n="currentColor",size:r=24,stroke:s=2,title:l,className:c,children:d,...u},h)=>(0,i.n)("svg",{ref:h,...o[t],width:r,height:r,className:["tabler-icon",`tabler-icon-${e}`,c].join(" "),..."filled"===t?{fill:n}:{strokeWidth:s,stroke:n},...u},[l&&(0,i.n)("title",{key:"svg-title"},l),...a.map((([t,e])=>(0,i.n)(t,e))),...Array.isArray(d)?d:[d]])));return r.displayName=`${n}`,r}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var a=i[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}o.m=n,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,n)=>(o.f[n](t,e),e)),[])),o.u=t=>{if(101===t)return"chunks/b641ce74f362b637f9e0352231a084983d565d50.js"},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="leadster-client:",o.l=(n,i,a,r)=>{if(t[n])t[n].push(i);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d{s.onerror=s.onload=null,clearTimeout(p);var o=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((t=>t(i))),e)return e(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.p="https://cdn.leadster.com.br/neurolead/",(()=>{o.b=document.baseURI||self.location.href;var t={792:0};o.f.j=(e,n)=>{var i=o.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var a=new Promise(((n,o)=>i=t[e]=[n,o]));n.push(i[2]=a);var r=o.p+o.u(e),s=new Error;o.l(r,(n=>{if(o.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",s.name="ChunkLoadError",s.type=a,s.request=r,i[1](s)}}),"chunk-"+e,e)}};var e=(e,n)=>{var i,a,r=n[0],s=n[1],l=n[2],c=0;if(r.some((e=>0!==t[e]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(l)l(o)}for(e&&e(n);c{"use strict";var t={};o.r(t),o.d(t,{hasBrowserEnv:()=>Lt,hasStandardBrowserEnv:()=>Rt,hasStandardBrowserWebWorkerEnv:()=>Ft,navigator:()=>Pt,origin:()=>Nt});var e=o(172),n=o(357),i=o(532);function a(){const t=window.location.href,e=["localhost:3000/capture","devs.leadster.com.br/capture","devs.getleadster.com/capture","qa.leadster.com.br/capture","app.leadster.com.br/capture","qa.getleadster.com/capture","app.getleadster.com/capture"];for(let n=0;n{t.areaCodes?t.areaCodes.map((e=>{g[t.dialCode+e]={iso2:t.iso2}})):g[t.dialCode]={iso2:t.iso2}}));class m extends e.uA{constructor(t){super(t),this.countriesListContent=(0,e._3)(),this.showCountriesList=this.showCountriesList.bind(this),this.renderFlagRow=this.renderFlagRow.bind(this),this.searchCountry=this.searchCountry.bind(this),this.getIsoByDialCode=this.getIsoByDialCode.bind(this),this.setFlagByInput=this.setFlagByInput.bind(this),this.selectedColor=t.selectedColor,this.ddi=t.ddi}getIsoByDialCode(t){const e=g[t];if(e)return e.iso2;const n=t.length;if(n>2){const e=t.substring(0,n-1);return this.getIsoByDialCode(e)}return 2===n?this.getIsoByDialCode(t.charAt(0)):""}showCountriesList(){const t=this.countriesListContent.current;"block"===t.style.display?t.style.display="none":t.style.display="block"}renderFlagRow(t){const e="a_iti_flag_"+t.name[0].toLowerCase();return(0,r.Y)("a",{className:e,iso:t.iso2,onClick:(t=>()=>{document.getElementById("nld-chatbot__country_btn_flag").className="iti__flag iti__"+t.iso2,this.countriesListContent.current.style.display="none",document.getElementById("intl_phone").value=" +"+t.dialCode})(t),children:(0,r.FD)("div",{className:"iti__flag-country",children:[(0,r.Y)("div",{className:"iti__flag-box",children:(0,r.Y)("div",{className:"iti__flag iti__"+t.iso2})}),(0,r.FD)("span",{className:"iti__country-name",children:[" ",t.name," "]}),(0,r.FD)("span",{className:"iti__dial-code",children:[" +",t.dialCode," "]})]})})}searchCountry(t){const e=this.countriesListContent.current;if(e&&"block"===e.style.display){const e=String.fromCharCode(t.charCode).toLocaleLowerCase(),n=document.querySelector('[class^="a_iti_flag_'+e+'"]');n&&n.scrollIntoView()}}setFlagByInput(){const t=document.getElementById("intl_phone");if(!t)return 0;const e=t.value.replace(/\D/g,"").substring(0,7),n=this.getIsoByDialCode(e);document.getElementById("nld-chatbot__country_btn_flag").className="iti__flag iti__"+n}componentDidMount(){document.body.addEventListener("keypress",this.searchCountry),document.getElementById("intl_phone").addEventListener("input",this.setFlagByInput)}componentWillUnmount(){document.body.removeEventListener("keypress",this.searchCountry)}render(){const t=this.getIsoByDialCode(this.ddi);return(0,r.FD)("div",{children:[(0,r.FD)("button",{class:"countries_list_btn",id:"countrybtn",onClick:this.showCountriesList,children:[(0,r.Y)("div",{class:"iti__flag iti__"+t,id:"nld-chatbot__country_btn_flag"}),(0,r.Y)("i",{class:"arrow down"})]}),(0,r.Y)("div",{ref:this.countriesListContent,getDDI:!0,className:"countries_list_content",style:{borderColor:this.selectedColor},children:u.map(this.renderFlagRow)})]})}}class f{setItem(t,e){localStorage&&localStorage.setItem&&localStorage.setItem(t,JSON.stringify(e))}getItem(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(localStorage&&localStorage.getItem){return JSON.parse(localStorage.getItem(t))||e}}}class b extends e.uA{loadJSON(t){return new Promise((function(e,n){const i=new f,o=i.getItem("state_cities_list");o&&e(o);let a=new XMLHttpRequest;a.open("GET",t,!0),a.onload=function(){var t=a.status;if(200==t){const t=JSON.parse(a.responseText);i.setItem("state_cities_list",t),e(t)}else n(t)},a.send()}))}async getList(){return this.loadJSON("https://cdn.leadster.com.br/leadster/state_cities.json")}setOption(t){return(0,r.FD)("option",{value:t,children:[" ",t," "]})}constructor(t){super(t),this.loadJSON.bind(this),this.getList.bind(this)}}class _ extends b{constructor(t){super(t),this.state={statesList:[]}}componentDidMount(){this.getList().then((t=>{this.setState({statesList:Object.keys(t).sort()})}))}render(){const{statesList:t}=this.state;return(0,r.Y)("datalist",{id:"neuroled_location_list",children:t.map((t=>this.setOption(t)))})}}class v extends b{constructor(t){super(t),this.state={citiesList:[]}}componentDidMount(){this.getList().then((t=>{let e=[];t[this.props.state_name].cities.map((t=>{e.push(`${t}`)})),this.setState({citiesList:e.sort()})}))}render(){const{citiesList:t}=this.state;return(0,r.Y)("datalist",{id:"neuroled_location_list",children:t.map((t=>this.setOption(t)))})}}const y=["gamil.com","gamil.co","gmai.co","gmail.co","gamil.com.br","gmail.com.br","gmail.com","yahoo.com","hotmail.com","aol.com","hotmail.co.uk","hotmail.fr","msn.com","yahoo.fr","wanadoo.fr","orange.fr","comcast.net","yahoo.co.uk","yahoo.com.br","yahoo.co.in","live.com","rediffmail.com","free.fr","gmx.de","web.de","yandex.ru","ymail.com","libero.it","outlook.com","uol.com.br","bol.com.br","mail.ru","cox.net","hotmail.it","sbcglobal.net","sfr.fr","live.fr","verizon.net","live.co.uk","googlemail.com","yahoo.es","ig.com.br","live.nl","bigpond.com","terra.com.br","yahoo.it","neuf.fr","yahoo.de","alice.it","rocketmail.com","att.net","laposte.net","facebook.com","bellsouth.net","yahoo.in","hotmail.es","charter.net","yahoo.ca","yahoo.com.au","rambler.ru","hotmail.de","tiscali.it","shaw.ca","yahoo.co.jp","sky.com","earthlink.net","optonline.net","freenet.de","t-online.de","aliceadsl.fr","virgilio.it","home.nl","qq.com","telenet.be","me.com","yahoo.com.ar","tiscali.co.uk","yahoo.com.mx","voila.fr","gmx.net","mail.com","planet.nl","tin.it","live.it","ntlworld.com","arcor.de","yahoo.co.id","frontiernet.net","hetnet.nl","live.com.au","yahoo.com.sg","zonnet.nl","club-internet.fr","juno.com","optusnet.com.au","blueyonder.co.uk","bluewin.ch","skynet.be","sympatico.ca","windstream.net","mac.com","centurytel.net","chello.nl","live.ca","aim.com","bigpond.net.au","zoho.com","icloud.com"],x=t=>{let e=t.split("@");return!y.find((t=>t===String(e[1]).toLowerCase()))};var w=o(994);function k(t,e){return function(){return t.apply(e,arguments)}}const{toString:A}=Object.prototype,{getPrototypeOf:S}=Object,C=(T=Object.create(null),t=>{const e=A.call(t);return T[e]||(T[e]=e.slice(8,-1).toLowerCase())});var T;const I=t=>(t=t.toLowerCase(),e=>C(e)===t),M=t=>e=>typeof e===t,{isArray:D}=Array,E=M("undefined");const L=I("ArrayBuffer");const P=M("string"),R=M("function"),F=M("number"),N=t=>null!==t&&"object"==typeof t,O=t=>{if("object"!==C(t))return!1;const e=S(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},B=I("Date"),U=I("File"),Y=I("Blob"),z=I("FileList"),j=I("URLSearchParams"),[W,q,V,H]=["ReadableStream","Request","Response","Headers"].map(I);function J(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,o;if("object"!=typeof t&&(t=[t]),D(t))for(i=0,o=t.length;i0;)if(i=n[o],e===i.toLowerCase())return i;return null}const Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Z=t=>!E(t)&&t!==Q;const K=(X="undefined"!=typeof Uint8Array&&S(Uint8Array),t=>X&&t instanceof X);var X;const $=I("HTMLFormElement"),tt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),et=I("RegExp"),nt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};J(n,((n,o)=>{let a;!1!==(a=e(n,o,t))&&(i[o]=a||n)})),Object.defineProperties(t,i)},it="abcdefghijklmnopqrstuvwxyz",ot="0123456789",at={DIGIT:ot,ALPHA:it,ALPHA_DIGIT:it+it.toUpperCase()+ot};const rt=I("AsyncFunction"),st=(lt="function"==typeof setImmediate,ct=R(Q.postMessage),lt?setImmediate:ct?(dt=`axios@${Math.random()}`,ut=[],Q.addEventListener("message",(({source:t,data:e})=>{t===Q&&e===dt&&ut.length&&ut.shift()()}),!1),t=>{ut.push(t),Q.postMessage(dt,"*")}):t=>setTimeout(t));var lt,ct,dt,ut;const ht="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Q):"undefined"!=typeof process&&process.nextTick||st,pt={isArray:D,isArrayBuffer:L,isBuffer:function(t){return null!==t&&!E(t)&&null!==t.constructor&&!E(t.constructor)&&R(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||R(t.append)&&("formdata"===(e=C(t))||"object"===e&&R(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&L(t.buffer),e},isString:P,isNumber:F,isBoolean:t=>!0===t||!1===t,isObject:N,isPlainObject:O,isReadableStream:W,isRequest:q,isResponse:V,isHeaders:H,isUndefined:E,isDate:B,isFile:U,isBlob:Y,isRegExp:et,isFunction:R,isStream:t=>N(t)&&R(t.pipe),isURLSearchParams:j,isTypedArray:K,isFileList:z,forEach:J,merge:function t(){const{caseless:e}=Z(this)&&this||{},n={},i=(i,o)=>{const a=e&&G(n,o)||o;O(n[a])&&O(i)?n[a]=t(n[a],i):O(i)?n[a]=t({},i):D(i)?n[a]=i.slice():n[a]=i};for(let t=0,e=arguments.length;t(J(e,((e,i)=>{n&&R(e)?t[i]=k(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let o,a,r;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)r=o[a],i&&!i(r,t,e)||s[r]||(e[r]=t[r],s[r]=!0);t=!1!==n&&S(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:C,kindOfTest:I,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(D(t))return t;let e=t.length;if(!F(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:$,hasOwnProperty:tt,hasOwnProp:tt,reduceDescriptors:nt,freezeMethods:t=>{nt(t,((e,n)=>{if(R(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];R(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return D(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:G,global:Q,isContextDefined:Z,ALPHABET:at,generateString:(t=16,e=at.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&R(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(N(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const o=D(t)?[]:{};return J(t,((t,e)=>{const a=n(t,i+1);!E(a)&&(o[e]=a)})),e[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:rt,isThenable:t=>t&&(N(t)||R(t))&&R(t.then)&&R(t.catch),setImmediate:st,asap:ht};function gt(t,e,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}pt.inherits(gt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:pt.toJSONObject(this.config),code:this.code,status:this.status}}});const mt=gt.prototype,ft={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{ft[t]={value:t}})),Object.defineProperties(gt,ft),Object.defineProperty(mt,"isAxiosError",{value:!0}),gt.from=(t,e,n,i,o,a)=>{const r=Object.create(mt);return pt.toFlatObject(t,r,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),gt.call(r,t.message,e,n,i,o),r.cause=t,r.name=t.name,a&&Object.assign(r,a),r};const bt=gt;function _t(t){return pt.isPlainObject(t)||pt.isArray(t)}function vt(t){return pt.endsWith(t,"[]")?t.slice(0,-2):t}function yt(t,e,n){return t?t.concat(e).map((function(t,e){return t=vt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const xt=pt.toFlatObject(pt,{},null,(function(t){return/^is[A-Z]/.test(t)}));const wt=function(t,e,n){if(!pt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=pt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!pt.isUndefined(e[t])}))).metaTokens,o=n.visitor||c,a=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&pt.isSpecCompliantForm(e);if(!pt.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(pt.isDate(t))return t.toISOString();if(!s&&pt.isBlob(t))throw new bt("Blob is not supported. Use a Buffer instead.");return pt.isArrayBuffer(t)||pt.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(pt.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(pt.isArray(t)&&function(t){return pt.isArray(t)&&!t.some(_t)}(t)||(pt.isFileList(t)||pt.endsWith(n,"[]"))&&(s=pt.toArray(t)))return n=vt(n),s.forEach((function(t,i){!pt.isUndefined(t)&&null!==t&&e.append(!0===r?yt([n],i,a):null===r?n:n+"[]",l(t))})),!1;return!!_t(t)||(e.append(yt(o,n,a),l(t)),!1)}const d=[],u=Object.assign(xt,{defaultVisitor:c,convertValue:l,isVisitable:_t});if(!pt.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!pt.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),pt.forEach(n,(function(n,a){!0===(!(pt.isUndefined(n)||null===n)&&o.call(e,n,pt.isString(a)?a.trim():a,i,u))&&t(n,i?i.concat(a):[a])})),d.pop()}}(t),e};function kt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function At(t,e){this._pairs=[],t&&wt(t,this,e)}const St=At.prototype;St.append=function(t,e){this._pairs.push([t,e])},St.toString=function(t){const e=t?function(e){return t.call(this,e,kt)}:kt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Ct=At;function Tt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function It(t,e,n){if(!e)return t;const i=n&&n.encode||Tt,o=n&&n.serialize;let a;if(a=o?o(e,n):pt.isURLSearchParams(e)?e.toString():new Ct(e,n).toString(i),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}const Mt=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){pt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Et={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ct,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Lt="undefined"!=typeof window&&"undefined"!=typeof document,Pt="object"==typeof navigator&&navigator||void 0,Rt=Lt&&(!Pt||["ReactNative","NativeScript","NS"].indexOf(Pt.product)<0),Ft="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Nt=Lt&&window.location.href||"http://localhost",Ot={...t,...Et};const Bt=function(t){function e(t,n,i,o){let a=t[o++];if("__proto__"===a)return!0;const r=Number.isFinite(+a),s=o>=t.length;if(a=!a&&pt.isArray(i)?i.length:a,s)return pt.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!r;i[a]&&pt.isObject(i[a])||(i[a]=[]);return e(t,n,i[a],o)&&pt.isArray(i[a])&&(i[a]=function(t){const e={},n=Object.keys(t);let i;const o=n.length;let a;for(i=0;i{e(function(t){return pt.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null};const Ut={transitional:Dt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,o=pt.isObject(t);o&&pt.isHTMLForm(t)&&(t=new FormData(t));if(pt.isFormData(t))return i?JSON.stringify(Bt(t)):t;if(pt.isArrayBuffer(t)||pt.isBuffer(t)||pt.isStream(t)||pt.isFile(t)||pt.isBlob(t)||pt.isReadableStream(t))return t;if(pt.isArrayBufferView(t))return t.buffer;if(pt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return wt(t,new Ot.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return Ot.isNode&&pt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((a=pt.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return wt(a?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,n){if(pt.isString(t))try{return(e||JSON.parse)(t),pt.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Ut.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(pt.isResponse(t)||pt.isReadableStream(t))return t;if(t&&pt.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw bt.from(t,bt.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ot.classes.FormData,Blob:Ot.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};pt.forEach(["delete","get","head","post","put","patch"],(t=>{Ut.headers[t]={}}));const Yt=Ut,zt=pt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jt=Symbol("internals");function Wt(t){return t&&String(t).trim().toLowerCase()}function qt(t){return!1===t||null==t?t:pt.isArray(t)?t.map(qt):String(t)}function Vt(t,e,n,i,o){return pt.isFunction(i)?i.call(this,e,n):(o&&(e=n),pt.isString(e)?pt.isString(i)?-1!==e.indexOf(i):pt.isRegExp(i)?i.test(e):void 0:void 0)}class Ht{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function o(t,e,n){const o=Wt(e);if(!o)throw new Error("header name must be a non-empty string");const a=pt.findKey(i,o);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||e]=qt(t))}const a=(t,e)=>pt.forEach(t,((t,n)=>o(t,n,e)));if(pt.isPlainObject(t)||t instanceof this.constructor)a(t,e);else if(pt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))a((t=>{const e={};let n,i,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),i=t.substring(o+1).trim(),!n||e[n]&&zt[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if(pt.isHeaders(t))for(const[e,i]of t.entries())o(i,e,n);else null!=t&&o(e,t,n);return this}get(t,e){if(t=Wt(t)){const n=pt.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(pt.isFunction(e))return e.call(this,t,n);if(pt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Wt(t)){const n=pt.findKey(this,t);return!(!n||void 0===this[n]||e&&!Vt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function o(t){if(t=Wt(t)){const o=pt.findKey(n,t);!o||e&&!Vt(0,n[o],o,e)||(delete n[o],i=!0)}}return pt.isArray(t)?t.forEach(o):o(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const o=e[n];t&&!Vt(0,this[o],o,t,!0)||(delete this[o],i=!0)}return i}normalize(t){const e=this,n={};return pt.forEach(this,((i,o)=>{const a=pt.findKey(n,o);if(a)return e[a]=qt(i),void delete e[o];const r=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();r!==o&&delete e[o],e[r]=qt(i),n[r]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return pt.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&pt.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[jt]=this[jt]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Wt(t);e[i]||(!function(t,e){const n=pt.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,o){return this[i].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[i]=!0)}return pt.isArray(t)?t.forEach(i):i(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),pt.reduceDescriptors(Ht.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),pt.freezeMethods(Ht);const Jt=Ht;function Gt(t,e){const n=this||Yt,i=e||n,o=Jt.from(i.headers);let a=i.data;return pt.forEach(t,(function(t){a=t.call(n,a,o.normalize(),e?e.status:void 0)})),o.normalize(),a}function Qt(t){return!(!t||!t.__CANCEL__)}function Zt(t,e,n){bt.call(this,null==t?"canceled":t,bt.ERR_CANCELED,e,n),this.name="CanceledError"}pt.inherits(Zt,bt,{__CANCEL__:!0});const Kt=Zt;function Xt(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new bt("Request failed with status code "+n.status,[bt.ERR_BAD_REQUEST,bt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const $t=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o,a=0,r=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),c=i[r];o||(o=l),n[a]=s,i[a]=l;let d=r,u=0;for(;d!==a;)u+=n[d++],d%=t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),l-o{o=a,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-o;s>=a?r(t,e):(n=t,i||(i=setTimeout((()=>{i=null,r(n)}),a-s)))},()=>n&&r(n)]},ee=(t,e,n=3)=>{let i=0;const o=$t(50,250);return te((n=>{const a=n.loaded,r=n.lengthComputable?n.total:void 0,s=a-i,l=o(s);i=a;t({loaded:a,total:r,progress:r?a/r:void 0,bytes:s,rate:l||void 0,estimated:l&&r&&a<=r?(r-a)/l:void 0,event:n,lengthComputable:null!=r,[e?"download":"upload"]:!0})}),n)},ne=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},ie=t=>(...e)=>pt.asap((()=>t(...e))),oe=Ot.hasStandardBrowserEnv?function(){const t=Ot.navigator&&/(msie|trident)/i.test(Ot.navigator.userAgent),e=document.createElement("a");let n;function i(n){let i=n;return t&&(e.setAttribute("href",i),i=e.href),e.setAttribute("href",i),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=i(window.location.href),function(t){const e=pt.isString(t)?i(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},ae=Ot.hasStandardBrowserEnv?{write(t,e,n,i,o,a){const r=[t+"="+encodeURIComponent(e)];pt.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),pt.isString(i)&&r.push("path="+i),pt.isString(o)&&r.push("domain="+o),!0===a&&r.push("secure"),document.cookie=r.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function re(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const se=t=>t instanceof Jt?{...t}:t;function le(t,e){e=e||{};const n={};function i(t,e,n){return pt.isPlainObject(t)&&pt.isPlainObject(e)?pt.merge.call({caseless:n},t,e):pt.isPlainObject(e)?pt.merge({},e):pt.isArray(e)?e.slice():e}function o(t,e,n){return pt.isUndefined(e)?pt.isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function a(t,e){if(!pt.isUndefined(e))return i(void 0,e)}function r(t,e){return pt.isUndefined(e)?pt.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function s(n,o,a){return a in e?i(n,o):a in t?i(void 0,n):void 0}const l={url:a,method:a,data:a,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(t,e)=>o(se(t),se(e),!0)};return pt.forEach(Object.keys(Object.assign({},t,e)),(function(i){const a=l[i]||o,r=a(t[i],e[i],i);pt.isUndefined(r)&&a!==s||(n[i]=r)})),n}const ce=t=>{const e=le({},t);let n,{data:i,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:r,headers:s,auth:l}=e;if(e.headers=s=Jt.from(s),e.url=It(re(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),pt.isFormData(i))if(Ot.hasStandardBrowserEnv||Ot.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(Ot.hasStandardBrowserEnv&&(o&&pt.isFunction(o)&&(o=o(e)),o||!1!==o&&oe(e.url))){const t=a&&r&&ae.read(r);t&&s.set(a,t)}return e},de="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=ce(t);let o=i.data;const a=Jt.from(i.headers).normalize();let r,s,l,c,d,{responseType:u,onUploadProgress:h,onDownloadProgress:p}=i;function g(){c&&c(),d&&d(),i.cancelToken&&i.cancelToken.unsubscribe(r),i.signal&&i.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function f(){if(!m)return;const i=Jt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Xt((function(t){e(t),g()}),(function(t){n(t),g()}),{data:u&&"text"!==u&&"json"!==u?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:t,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=f:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(f)},m.onabort=function(){m&&(n(new bt("Request aborted",bt.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new bt("Network Error",bt.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||Dt;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new bt(e,o.clarifyTimeoutError?bt.ETIMEDOUT:bt.ECONNABORTED,t,m)),m=null},void 0===o&&a.setContentType(null),"setRequestHeader"in m&&pt.forEach(a.toJSON(),(function(t,e){m.setRequestHeader(e,t)})),pt.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),u&&"json"!==u&&(m.responseType=i.responseType),p&&([l,d]=ee(p,!0),m.addEventListener("progress",l)),h&&m.upload&&([s,c]=ee(h),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(r=e=>{m&&(n(!e||e.type?new Kt(null,t,m):e),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(r),i.signal&&(i.signal.aborted?r():i.signal.addEventListener("abort",r)));const b=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);b&&-1===Ot.protocols.indexOf(b)?n(new bt("Unsupported protocol "+b+":",bt.ERR_BAD_REQUEST,t)):m.send(o||null)}))},ue=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const o=function(t){if(!n){n=!0,r();const e=t instanceof Error?t:this.reason;i.abort(e instanceof bt?e:new Kt(e instanceof Error?e.message:e))}};let a=e&&setTimeout((()=>{a=null,o(new bt(`timeout ${e} of ms exceeded`,bt.ETIMEDOUT))}),e);const r=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:s}=i;return s.unsubscribe=()=>pt.asap(r),s}},he=function*(t,e){let n=t.byteLength;if(!e||n{const o=async function*(t,e){for await(const n of pe(t))yield*he(n,e)}(t,e);let a,r=0,s=t=>{a||(a=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await o.next();if(e)return s(),void t.close();let a=i.byteLength;if(n){let t=r+=a;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw s(t),t}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},me="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,fe=me&&"function"==typeof ReadableStream,be=me&&("function"==typeof TextEncoder?(_e=new TextEncoder,t=>_e.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var _e;const ve=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},ye=fe&&ve((()=>{let t=!1;const e=new Request(Ot.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),xe=fe&&ve((()=>pt.isReadableStream(new Response("").body))),we={stream:xe&&(t=>t.body)};var ke;me&&(ke=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!we[t]&&(we[t]=pt.isFunction(ke[t])?e=>e[t]():(e,n)=>{throw new bt(`Response type '${t}' is not supported`,bt.ERR_NOT_SUPPORT,n)})})));const Ae=async(t,e)=>{const n=pt.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(pt.isBlob(t))return t.size;if(pt.isSpecCompliantForm(t)){const e=new Request(Ot.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return pt.isArrayBufferView(t)||pt.isArrayBuffer(t)?t.byteLength:(pt.isURLSearchParams(t)&&(t+=""),pt.isString(t)?(await be(t)).byteLength:void 0)})(e):n},Se={http:null,xhr:de,fetch:me&&(async t=>{let{url:e,method:n,data:i,signal:o,cancelToken:a,timeout:r,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:h}=ce(t);c=c?(c+"").toLowerCase():"text";let p,g=ue([o,a&&a.toAbortSignal()],r);const m=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let f;try{if(l&&ye&&"get"!==n&&"head"!==n&&0!==(f=await Ae(d,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(pt.isFormData(i)&&(t=n.headers.get("content-type"))&&d.setContentType(t),n.body){const[t,e]=ne(f,ee(ie(l)));i=ge(n.body,65536,t,e)}}pt.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...h,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:o?u:void 0});let a=await fetch(p);const r=xe&&("stream"===c||"response"===c);if(xe&&(s||r&&m)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=a[e]}));const e=pt.toFiniteNumber(a.headers.get("content-length")),[n,i]=s&&ne(e,ee(ie(s),!0))||[];a=new Response(ge(a.body,65536,n,(()=>{i&&i(),m&&m()})),t)}c=c||"text";let b=await we[pt.findKey(we,c)||"text"](a,t);return!r&&m&&m(),await new Promise(((e,n)=>{Xt(e,n,{data:b,headers:Jt.from(a.headers),status:a.status,statusText:a.statusText,config:t,request:p})}))}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new bt("Network Error",bt.ERR_NETWORK,t,p),{cause:e.cause||e});throw bt.from(e,e&&e.code,t,p)}})};pt.forEach(Se,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Ce=t=>`- ${t}`,Te=t=>pt.isFunction(t)||null===t||!1===t,Ie=t=>{t=pt.isArray(t)?t:[t];const{length:e}=t;let n,i;const o={};for(let a=0;a`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(Ce).join("\n"):" "+Ce(t[0]):"as no adapter specified";throw new bt("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function Me(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Kt(null,t)}function De(t){Me(t),t.headers=Jt.from(t.headers),t.data=Gt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ie(t.adapter||Yt.adapter)(t).then((function(e){return Me(t),e.data=Gt.call(t,t.transformResponse,e),e.headers=Jt.from(e.headers),e}),(function(e){return Qt(e)||(Me(t),e&&e.response&&(e.response.data=Gt.call(t,t.transformResponse,e.response),e.response.headers=Jt.from(e.response.headers))),Promise.reject(e)}))}const Ee="1.7.7",Le={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Le[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Pe={};Le.transitional=function(t,e,n){function i(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,a)=>{if(!1===t)throw new bt(i(o," has been removed"+(e?" in "+e:"")),bt.ERR_DEPRECATED);return e&&!Pe[o]&&(Pe[o]=!0,console.warn(i(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,a)}};const Re={assertOptions:function(t,e,n){if("object"!=typeof t)throw new bt("options must be an object",bt.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const a=i[o],r=e[a];if(r){const e=t[a],n=void 0===e||r(e,a,t);if(!0!==n)throw new bt("option "+a+" must be "+n,bt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new bt("Unknown option "+a,bt.ERR_BAD_OPTION)}},validators:Le},Fe=Re.validators;class Ne{constructor(t){this.defaults=t,this.interceptors={request:new Mt,response:new Mt}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=le(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:o}=e;void 0!==n&&Re.assertOptions(n,{silentJSONParsing:Fe.transitional(Fe.boolean),forcedJSONParsing:Fe.transitional(Fe.boolean),clarifyTimeoutError:Fe.transitional(Fe.boolean)},!1),null!=i&&(pt.isFunction(i)?e.paramsSerializer={serialize:i}:Re.assertOptions(i,{encode:Fe.function,serialize:Fe.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&pt.merge(o.common,o[e.method]);o&&pt.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Jt.concat(a,o);const r=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let d,u=0;if(!s){const t=[De.bind(this),void 0];for(t.unshift.apply(t,r),t.push.apply(t,l),d=t.length,c=Promise.resolve(e);u{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,o){n.reason||(n.reason=new Kt(t,i,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Be((function(e){t=e})),cancel:t}}}const Ue=Be;const Ye={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ye).forEach((([t,e])=>{Ye[e]=t}));const ze=Ye;const je=function t(e){const n=new Oe(e),i=k(Oe.prototype.request,n);return pt.extend(i,Oe.prototype,n,{allOwnKeys:!0}),pt.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(le(e,n))},i}(Yt);je.Axios=Oe,je.CanceledError=Kt,je.CancelToken=Ue,je.isCancel=Qt,je.VERSION=Ee,je.toFormData=wt,je.AxiosError=bt,je.Cancel=je.CanceledError,je.all=function(t){return Promise.all(t)},je.spread=function(t){return function(e){return t.apply(null,e)}},je.isAxiosError=function(t){return pt.isObject(t)&&!0===t.isAxiosError},je.mergeConfig=le,je.AxiosHeaders=Jt,je.formToJSON=t=>Bt(pt.isHTMLForm(t)?new FormData(t):t),je.getAdapter=Ie,je.HttpStatusCode=ze,je.default=je;const We=je,qe=(We.create({baseURL:"http://localhost:3000"}),We.create({baseURL:"https://cdn.leadster.com.br"}));var Ve=o(568);const He=Ve.Ay.div.withConfig({displayName:"styles__Select",componentId:"sc-eao7qi-0"})(["&&{width:100%;position:absolute;bottom:48px;left:0;background-color:#ffffff;max-height:380px;overflow-y:auto;}&&::-webkit-scrollbar-thumb{-webkit-appearance:none;width:6px;height:6px;border:1px solid ",";background-color:#ffffff;}&&::-webkit-scrollbar-track{background:",";}&&::-webkit-scrollbar{width:6px;background-color:",";}"],(t=>t.themeColor||"#2196f3"),(t=>t.themeColor||"#2196f3"),(t=>t.themeColor||"#2196f3")),Je=Ve.Ay.div.withConfig({displayName:"styles__List",componentId:"sc-eao7qi-1"})(["&&{list-style:none;}"]),Ge=Ve.Ay.div.withConfig({displayName:"styles__Title",componentId:"sc-eao7qi-2"})(["&&{position:sticky;top:0;left:0;padding:12px;border-bottom:1px solid #f9f9f9;background-color:#f9f9f9;font-weight:900;}"]),Qe=Ve.Ay.div.withConfig({displayName:"styles__Item",componentId:"sc-eao7qi-3"})(["&&{padding:12px;border-bottom:1px solid #f9f9f9;cursor:pointer;transition:all .3s ease;}&&:hover{background-color:",";color:#fff;}"],(t=>t.themeColor||"#2196f3")),Ze=t=>{let e=document.createElement("textarea");return e.innerText=t,e.innerHTML},Ke=t=>t&&0!==t?.length?t.normalize("NFD").replace(/([\u0300-\u036f]|[^0-9a-zA-Z])/g,""):t,Xe=new f;function $e(t){let{searchTerm:e,setItem:n,selectedFlow:i={is:{states:!0,cities:!1}},conversation:o}=t;const[a,s]=(0,w.J0)(null),l=Xe.getItem("state_cities_list"),c=i.data.states,d=e.value&&a?function(t){return a.filter((e=>Ke(e.toLowerCase()).includes(Ke(t.toLowerCase()))))}(e.value):a,u=i.is.states?"Qual é o seu estado":"Qual é a sua cidade",h=d&&0===d?.length&&e.value.length>0;return(0,w.vJ)((()=>{!async function(){try{const t=l||await async function(){return(await qe.get("/leadster/state_cities.json")).data}();if(t){if(!c&&i.is.states&&s(Object.keys(t).sort()),c&&i.is.cities){const e=t[c].cities.map((t=>t));s(e)}Xe.setItem("state_cities_list",t)}}catch(t){console.log("Error while Requesting state AND cities: ",t)}}(),e.set("")}),[]),(0,r.Y)(He,{themeColor:o.mainColor,children:(0,r.FD)(Je,{children:[d?(0,r.Y)(Ge,{children:(0,r.FD)("b",{children:[u,"?"]})}):null,d?d.map((t=>(0,r.Y)(Qe,{onClick:()=>{n(t)},themeColor:o.mainColor,children:t}))):null,h?(0,r.Y)(Qe,{themeColor:o.mainColor,children:i.is.states?"Nenhum Estado foi encontrado!":"Nenhuma Cidade foi encontrada!"}):null]})})}const tn=t=>({str:t,ptr:0}),en=t=>t.ptr0?t.str.charAt(t.str.length-1):"*":null,nn={TextAndSubmit:0,SelectAndSubmit:1,SubmitOnly:2,Waiting:3,Disabled:4};class on extends e.uA{constructor(t){super(t),this.getRefList.bind(this),this.selectedColor=t.conversation.colors.selected,this.getDDI=this.getDDI.bind(this),this.conf={text:{id:"text",name:"text",type:"text",placeholder:null,autocomplete:"on",mask:null},number:{id:"number",name:"number",type:"text",placeholder:null,autocomplete:"on",mask:"9999999999999999999999999"},real:{id:"real",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"REAL"},dollar:{id:"dollar",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"DOLLAR"},euro:{id:"euro",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"EURO"},email:{id:"email",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},email_corp:{id:"email_corp",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},"unique-leadster-email":{id:"unique-leadster-email",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},phone:{id:"phone",name:"phone",type:"text",placeholder:null,autocomplete:"tel-national",mask:["(99) 9999-9999","(99) 99999-9999"]},intl_phone:{id:"intl_phone",name:"intl_phone",type:"text",placeholder:null,autocomplete:"on",mask:["+99999999999","+999999999999","+9999999999999"]},name:{id:"name",name:"name",type:"text",placeholder:null,autocomplete:"name",mask:null},birthday:{id:"birthday",name:"birthday",type:"text",placeholder:n.e[neuroleadLanguage]["input-birthday"],autocomplete:"bday",mask:"99/99/9999"},cpf:{id:"cpf",name:"cpf",type:"text",placeholder:null,autocomplete:"on",mask:"999.999.999-99"},"cpf/cnpj":{id:"cpf",name:"cpf",type:"text",placeholder:null,autocomplete:"on",mask:["999.999.999-99","99.999.999/9999-99"]},cnpj:{id:"cnpj",name:"cnpj",type:"text",placeholder:null,autocomplete:"on",mask:"99.999.999/9999-99"},cep:{id:"cep",name:"postal_code",type:"text",placeholder:null,autocomplete:"postal-code",mask:"99999-999"},url:{id:"url",name:"website",type:"text",placeholder:null,autocomplete:"on",mask:null},city:{id:"city",name:"city",type:"text",placeholder:null,autocomplete:"address-level2",mask:null},cities_list:{id:"cities_list",name:"cities_list",type:"text",placeholder:null,autocomplete:"off",mask:null},state_city:{id:"state_city",name:"state",type:"text",placeholder:null,autocomplete:"off",mask:null},state:{id:"state",name:"state",type:"text",placeholder:null,autocomplete:"off",mask:null},password:{id:"password",name:"password",type:"password",placeholder:null,autocomplete:"password",mask:null}},this.areaCodes={11:!0,12:!0,13:!0,14:!0,15:!0,16:!0,17:!0,18:!0,19:!0,21:!0,22:!0,24:!0,27:!0,28:!0,31:!0,32:!0,33:!0,34:!0,35:!0,37:!0,38:!0,41:!0,42:!0,43:!0,44:!0,45:!0,46:!0,47:!0,48:!0,49:!0,51:!0,53:!0,54:!0,55:!0,61:!0,62:!0,63:!0,64:!0,65:!0,66:!0,67:!0,68:!0,69:!0,71:!0,73:!0,74:!0,75:!0,77:!0,79:!0,81:!0,82:!0,83:!0,84:!0,85:!0,86:!0,87:!0,88:!0,89:!0,91:!0,92:!0,93:!0,94:!0,95:!0,96:!0,97:!0,98:!0,99:!0},this.state={viewState:this.props.viewState,wrong:!1,wrongMessage:null,searchTerm:null},this.stateRef=(0,e._3)(),this.cityRef=(0,e._3)(),this.handleInputChange=this.handleInputChange.bind(this)}componentWillReceiveProps(t,e){this.setState({viewState:t.viewState})}dddFromPhoneString(t){if(t){const e=t.match(/\((\d\d)\)/);return e?e[1]:"1"}return"1"}phoneFromPhoneString(t){if(t){const e=t.match(/\(\d\d\).(\d+).(\d+)/);return e?e[1]+e[2]:"1"}return"1"}checkPhoneNumber(t,e){if("pt-BR"===(e=e||"pt-BR")){const e=this.dddFromPhoneString(t),n=this.phoneFromPhoneString(t);return!!this.areaCodes[e]&&n.length>=8}return!0}checkIntlPhoneNumber(t){const e=t.trim().length;return e>=9&&e<=15}async checkUniqueEmail(t){this.setState({viewState:nn.Waiting});const e=`${d}/users/check-email`,n=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({email:String(t).toLowerCase()})}),i=await n.json();return"email_exists"in i&&!1===i.email_exists}checkEmail(t){return/^([a-z0-9]+(\.[a-z0-9+_]+)*([-a-z0-9+_]*)){2,}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9]){1,}?$/.test(String(t).toLowerCase())}checkEmailCorporate(t){return!!this.checkEmail(t)&&x(t)}checkBirthday(t){if(!/^(0?[1-9]|[12][0-9]|3[01])\/(0?[1-9]|1[012])\/\d{4}$/.test(t))return!1;const[e,n,i]=t.split("/").map((t=>parseInt(t,10))),o=new Date(i,n-1,e),a=new Date,r=a.getFullYear()-i;return o.getFullYear()===i&&o.getMonth()===n-1&&o.getDate()===e&&o<=a&&r<=100}checkURL(t){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}checkCEP(t){return/^\d{5}-\d{3}$/.test(String(t))}checkCPF(t){const e=t.match(/[0-9]/g).map((t=>parseInt(t)));if(11===e.length){if(!1!==e.reduce(((t,e)=>(void 0===t||t===e)&&e)))return!1;const t=e.slice(0,9),n=e.slice(0,10),i=e[9],o=e[10];let a=11-t.reduce(((t,e,n)=>t+e*(10-n)),0)%11,r=11-n.reduce(((t,e,n)=>t+e*(11-n)),0)%11;return a>=10&&(a=0),r>=10&&(r=0),i===a&&o===r}return!1}checkCNPJ(t){const e=t.match(/[0-9]/g).map((t=>parseInt(t)));if(14===e.length){if(!1!==e.reduce(((t,e)=>(void 0===t||t===e)&&e)))return!1;const t=e.slice(0,12),n=e.slice(0,13),i=e[12],o=e[13],a=t=>9-(t+3)%8;let r=11-t.reduce(((t,e,n)=>t+e*a(n+1)),0)%11,s=11-n.reduce(((t,e,n)=>t+e*a(n)),0)%11;return r>=10&&(r=0),s>=10&&(s=0),i===r&&o===s}return!1}checkCPFAndCNPJ(t){return t.match(/[0-9]/g).length>11?this.checkCNPJ(t):this.checkCPF(t)}checkState(t){return this.stateRef.current.state.statesList.map((t=>t.toUpperCase())).includes(t.toUpperCase())}checkCity(t){return this.cityRef.current.state.citiesList.map((t=>t.toUpperCase())).includes(t.toUpperCase())}checkHasNumbers(t){return!!t.match("[0-9]")}prevent(t){Boolean(t.preventDefault)&&t?.preventDefault()}onClick(t){this.onSubmit(),this.prevent(t)}resetStateWrong(){this.setState({wrong:!1,wrongMessage:null})}onKeyDown(t){13===t.keyCode&&this.onSubmit(),"number"===this.props.type&&(1!==t.key.length||t.key.match(/^[0-9]$/)||t.getModifierState("Alt")||t.getModifierState("Control")||t.getModifierState("Meta")||(t.stopPropagation(),t.preventDefault()))}getValue(){return this.textInput.value}getSelectValue(){return this.selectInput.value}getWrongMessageByFieldType(t,e){const i={phone:n.e[neuroleadLanguage].wrong_messages.phone,intl_phone:n.e[neuroleadLanguage].wrong_messages.phone,email:n.e[neuroleadLanguage].wrong_messages.email,email_corp:n.e[neuroleadLanguage].wrong_messages.email_corp,"unique-leadster-email":n.e[neuroleadLanguage].wrong_messages["unique-leadster-email"],birthday:n.e[neuroleadLanguage].wrong_messages.birthday,cpf:n.e[neuroleadLanguage].wrong_messages.cpf,url:n.e[neuroleadLanguage].wrong_messages.url,cep:n.e[neuroleadLanguage].wrong_messages.cep,"cpf/cnpj":n.e[neuroleadLanguage].wrong_messages["cpf/cnpj"],cnpj:n.e[neuroleadLanguage].wrong_messages.cnpj,real:n.e[neuroleadLanguage].wrong_messages.real,dollar:n.e[neuroleadLanguage].wrong_messages.dollar,euro:n.e[neuroleadLanguage].wrong_messages.euro,cities_list:n.e[neuroleadLanguage].wrong_messages["state-and-city"],state:n.e[neuroleadLanguage].wrong_messages["state-and-city"],state_city:n.e[neuroleadLanguage].wrong_messages["state-and-city"]};return"unique-leadster-email"!==t||this.checkEmail(e)?t in i?i[t]:n.e[neuroleadLanguage].wrong_messages.default:i.email}async shouldSubmit(t,e){if(void 0===this.props.validate||this.props.validate){const n=""!==String(t).trim(),i="validateWith";if("object"==typeof this.props.config&&this.props.config.hasOwnProperty(i)){const n=this.props.config[i];this.props.callOnModulesLoad((()=>{const i=window[n];"function"==typeof i?i(t,e):console.error("neurolead: specified validator function is not defined")}))}else"phone"===this.props.type?e(n&&this.checkPhoneNumber(t)):"intl_phone"===this.props.type?e(n&&this.checkIntlPhoneNumber(t)):"email"===this.props.type?e(n&&this.checkEmail(t)):"email_corp"===this.props.type?e(n&&this.checkEmailCorporate(t)):"unique-leadster-email"===this.props.type?e(n&&this.checkEmail(t)&&await this.checkUniqueEmail(t)):"birthday"===this.props.type?e(n&&this.checkBirthday(t)):"cpf"===this.props.type?e(n&&this.checkCPF(t)):"url"===this.props.type?e(n&&this.checkURL(t)):"cep"===this.props.type?e(n&&this.checkCEP(t)):"cpf/cnpj"===this.props.type?e(n&&this.checkCPFAndCNPJ(t)):"cnpj"===this.props.type?e(n&&this.checkCNPJ(t)):["real","dollar","euro"].includes(this.props.type)?e(n&&this.checkHasNumbers(t)):"state"===this.props.type||"state_city"===this.props.type?e(n&&this.checkState(t)):"cities_list"===this.props.type?e(n&&this.checkCity(t)):e(n)}else e(!0)}onSubmit(){const t=this.props.viewState;if([nn.TextAndSubmit,nn.SelectAndSubmit].includes(t)){let e="";return this.props.viewState===nn.TextAndSubmit&&(e=this.getValue()),this.props.viewState===nn.SelectAndSubmit&&(e=this.getSelectValue()),void this.shouldSubmit(e,(n=>{setTimeout((()=>{if(n)this.state.wrong&&this.resetStateWrong(),this.setState({viewState:nn.Waiting,value:""}),this.textInput&&(this.textInput.value=""),this.props.conversation.onUserInput(e,e,"password"===this.props.type);else{if(!this.state.wrong){const t=this.getWrongMessageByFieldType(this.props.type,e);this.setState({wrong:!0,wrongMessage:t})}this.setState({viewState:t,value:e})}}),0)}))}switch(this.props.viewState){case nn.TextAndSubmit:case nn.SelectAndSubmit:break;case nn.SubmitOnly:this.props.conversation.onUserSubmit();case nn.Disabled:}}componentDidUpdate(){this.textInput?.focus(),this.props.viewState!==nn.Disabled&&this.textInput&&this.textInput.focus&&!(0,i.m)()&&this.textInput.focus()}componentWillUpdate(){this.props.viewState!==nn.Disabled&&this.textInput&&this.textInput.blur&&this.textInput.blur()}onFocus(t){setTimeout((()=>this.props.conversation.onResize()),300)}handleInputChange(t){this.state.wrong&&t.target.value.length<255&&this.resetStateWrong(),t.target.value.length>=255&&this.setState({wrong:!0,wrongMessage:n.e[neuroleadLanguage].wrong_messages.max_length})}setSelection(t,e){if(t)if(t.createTextRange){const n=t.createTextRange();n.moveStart(e[0]),n.moveEnd(e[1]),n.select()}else t.setSelectionRange&&t.setSelectionRange(e[0],e[1])}getSelection(t){return[t.selectionStart,t.selectionEnd]}adjustSelection(t,e,n){const i=n.length-t.length;return[e[0]+i,e[1]+i]}unMask(t){return t.replace(/[^0-9]/g,"")}getMask(){return this.conf[this.props.type].mask||null}getPlaceholder(){let t=this.conf[this.props.type]?.placeholder;return t||n.e[neuroleadLanguage]["input-placeholder"]}selectMask(t){const e=this.getMask();if("string"==typeof e)return e;if(Array.isArray(e)&&e.length>0){const n=(e,n)=>{const i=((t,e,n)=>n(t).lengthn(t).length>n(e).length?t:e)(e,n,this.unMask);return this.unMask(t).length>this.unMask(i).length?o:i};let i=e[0];for(let t=1;t1&&(e+2)%3==0&&e0===Ke(t).indexOf(Ke(e))));if(i.includes(e)&&1===n.length)return!0}}getDdiByNavigator(){return{"pt-BR":"55","pt-PT":"351","es-AR":"54","es-MX":"52","es-CL":"56","es-ES":"34","en-GB":"44","fr-CA":"1","en-CA":"1","en-US":"1",en:"1"}[navigator.language||navigator.userLanguage||"pt-BR"]||"55"}getDDI(){try{return this.props.conversation.flow.currentMessage.phoneDialCode||this.getDdiByNavigator()}catch(t){return this.getDdiByNavigator()}}render(t,e){let o=this.getPlaceholder(),a=(0,r.Y)(c,{isMobile:(0,i.F)(),isInput:!0,companySegment:t.conversation.props.metadata.companySegment});t.conversation.props.metadata.whiteLabel&&(a="");const s=()=>{if(e.wrong)return(0,r.FD)("div",{class:"nld-tooltip-error",children:[(0,r.Y)("span",{style:"margin-right: 5px",children:"🤔"}),e.wrongMessage]})};if(e.viewState===nn.TextAndSubmit){const i=this.conf[t.type],l=this.props.conversation.flow,c=this.textInput?this.textInput.value:e.value?e.value:"",d=l.currentMessage?.save,u=l.data[`${d}:estado`],h=l.data[d],p=("state"==i.id||"state_city"==i.id)&&!Boolean(u),g="cities_list"==i.id&&!Boolean(h),f=p||g,b="state"===i.id||"state_city"===i.id,y="cities_list"===i.id,x=()=>{if("intl_phone"===i.id)return(0,r.Y)(m,{selectedColor:this.selectedColor,ddi:this.getDDI()})},w=()=>{if("state"===i.id||"state_city"===i.id){if("state_city"===i.id){const t=l.position;l.currentMessage.save=`${d}:estado`,l.script.splice(t,0,{save:d,type:"cities_list"}),l.script.splice(t,0,{say:`

${n.e[neuroleadLanguage].what_is_your_city}

`}),i.id="state"}return(0,r.Y)(_,{ref:this.stateRef})}},k=()=>{if("cities_list"===i.id){if(!Boolean(d))return;return(0,r.Y)(v,{state_name:u,ref:this.cityRef})}},A=()=>{let t={borderColor:this.selectedColor};return"intl_phone"===i.id&&(t.textIndent="35px"),t};return(0,r.FD)("div",{class:"nld-input"+(e.wrong?" nld-wrong":""),children:[a,s(),x(),w(),k(),f?(0,r.Y)($e,{searchTerm:{value:this.state.searchTerm,set:t=>{this.setState({searchTerm:t})}},setItem:t=>{t&&(this.textInput.value=t,this.submitButton.click())},selectedFlow:{data:{states:u},is:{states:b,cities:y}},conversation:{flow:l,mainColor:this.selectedColor}}):null,(0,r.Y)("input",{maxLength:"255",value:"intl_phone"===i.id?c||this.getDDI():c,id:i.id,name:i.name,type:i.type,style:A(),autocomplete:i.autocomplete,placeholder:o,onKeyDown:this.onKeyDown.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onChange:t=>{this.handleInputChange(t),/[`!@#$%^´&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t.target.value.slice(-1))||f&&this.setState({searchTerm:t.target.value})},ref:t=>{this.textInput=t,this.onInput({target:t,inputType:""})}}),(0,r.Y)("div",{ref:t=>this.submitButton=t,class:"nld-submit",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this)})]})}return e.viewState===nn.SelectAndSubmit?(0,r.FD)("div",{class:"nld-input "+(e.wrong?" nld-wrong":""),children:[a,s(),(0,r.Y)("div",{className:"custom-select",children:(0,r.FD)("select",{ref:t=>this.selectInput=t,style:{borderColor:this.selectedColor},children:[(0,r.Y)("option",{value:"",children:n.e[neuroleadLanguage].select_option}),t.options.map((t=>(0,r.Y)("option",{value:t,children:t})))]})}),(0,r.Y)("div",{class:"nld-submit",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this)})]}):e.viewState===nn.SubmitOnly?(0,r.FD)("div",{class:"nld-input nld-plain",children:[a,(0,r.Y)("div",{class:"nld-submit nld-only",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this),children:t.sendText})]}):e.viewState===nn.Waiting?(0,r.FD)("div",{class:"nld-input",children:[a,(0,r.FD)("div",{class:"nld-spinner",children:[(0,r.Y)("div",{}),(0,r.Y)("div",{}),(0,r.Y)("div",{})]})]}):e.viewState===nn.Disabled?(this.textInput&&this.textInput.blur(),(0,r.FD)("div",{class:"nld-input nld-hide",children:[a,(0,r.Y)("div",{class:"nld-submit"})]})):void 0}}class an{constructor(){this.localStorage=new f}addLastNotificationViewedText(t){this.localStorage.setItem("lastNotificationViewedText",t)}getLastNotificationViewedText(){return this.localStorage.getItem("lastNotificationViewedText")}addLastNotificationViewed(t){this.localStorage.setItem("lastNotificationViewed",t)}getLastNotificationViewed(){return this.localStorage.getItem("lastNotificationViewed",0)}selectUpdatedFirstBlockMessages(t){const e=this.getLastNotificationViewedText();return null!==e?[{say:t[0].say},{say:e}]:t}}class rn extends e.uA{constructor(){super()}componentDidMount(){this.props.conversation.activeSelector=this}autoSelect(t){}}const sn="\n font-size: 0.75em !important;\n max-width: 80% !important;\n margin-left: 0.5em !important;\n",ln=()=>(window.neuroleadDefaultScript||{}).lang||window.neuroleadLanguage||"pt-BR",cn=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.e[ln()][`privacy_policy_${t}`].split("|")[e]},dn=t=>{let{privacyPolicyUrl:e}=t;const{utmSource:n,utmMedium:i,utmCampaign:o}={utmSource:"utm_source=leadster",utmMedium:"utm_medium=privacidade",utmCampaign:`utm_campaign=${encodeURIComponent(location.hostname)}`},a=`${"pt-BR"===ln()?"https://leadster.com.br/privacidade":"https://www.getleadster.com/privacy/"}?${n}&${i}&${o}`;if([4357,25611,11270].includes(window.neuroleadId)&&e)return(0,r.FD)("p",{style:sn,children:[cn("website")," ",(0,r.Y)("a",{href:e,target:"__blank",children:cn("website",1)})]});return e?(0,r.FD)("p",{style:sn,children:[cn("website"),(0,r.Y)("a",{href:e,target:"__blank",children:cn("website",1)}),cn("website",2),(0,r.Y)("a",{href:a,target:"__blank",children:cn("website",3)})]}):(0,r.FD)("p",{style:sn,children:[cn("leadster",0),(0,r.Y)("a",{href:a,target:"__blank",children:cn("leadster",1)})]})};class un extends e.uA{constructor(){if(super(),this.relativeTime=!1,this.state={timeAgo:null,time:null},this.relativeTime)this.timestamp=new Date/1e3|0,this.state.timeAgo=n.e[window.neuroleadLanguage].now,setInterval(this.update.bind(this),6e4);else{const t=new Date;this.state.time=this.zeroPad(t.getHours())+":"+this.zeroPad(t.getMinutes())}}zeroPad(t){return t<10?"0"+t:""+t}update(){var t=this.timestamp,e=new Date/1e3|0,n=[],i={"pt-BR":["minuto","hora","dia","semana",["mês","meses"]],"en-US":["minute","hour","day","week","month"],"es-ES":["minuto","hora","día","semana",["mes","meses"]]}[window.neuroleadLanguage];n[0]=(e-t)/60|0,n[1]=n[0]/60|0,n[2]=n[1]/24|0,n[3]=n[2]/7|0,n[4]=n[3]/4.37|0;for(var o=n.length-1;o>=0;o--)if(n[o]){var a="string"==typeof i[o]?i[o]+(n[o]>1?"s":""):i[o][n[o]>1];switch(window.neuroleadLanguage){case"en-US":this.setState({timeAgo:n[o]+" "+a+" ago"});break;case"es-ES":this.setState({timeAgo:"Hace "+n[o]+" "+a});break;default:this.setState({timeAgo:"À "+n[o]+" "+a})}}}render(t,e){return(0,r.Y)("div",{class:"nld-timestamp",children:this.relativeTime?e.timeAgo:e.time})}}function hn(t){const e=[0,0,0,0];if("#"===t.charAt(0)){const n=t.substr(1,t.length),i=parseInt(n,16);return 3===n.length?hn("#"+n.charAt(0)+"f"+n.charAt(1)+"f"+n.charAt(2)+"f"):4===n.length?hn("#"+n.charAt(0)+"f"+n.charAt(1)+"f"+n.charAt(2)+"f"+n.charAt(3)+"f"):6===n.length?[i>>16,i>>8&255,255&i,255]:8===n.length?[i>>24,i>>16&255,i>>8&255,255&i]:e}if(0===t.indexOf("rgba")){const e=t.match(/\([^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*([\d\.]+)[^\d]*\)/);return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),255*parseInt(e[4])]}if(0===t.indexOf("rgb")){const e=t.match(/\([^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*\)/);return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),255]}return"black"===t?[0,0,0,255]:"white"===t?[255,255,255,255]:e}function pn(t){const e=t.reduce(((e,n)=>e+n/t.length),0);return t.reduce(((n,i)=>n+Math.abs(e-i)/t.length),0)}function gn(t,e){return t.reduce(((n,i,o)=>n+Math.abs(i*i-e[o]*e[o])/t.length),0)}function mn(t,e,n){const i=hn(t),o=hn(e),a=hn(n);return gn(i,o)>gn(i,a)?e:n}class fn extends e.uA{constructor(t){super(),this.proceed=t.proceed,this.state={popIn:!0,popOut:!1,typing:t.typing};const e=this.getExtraDelayPerMessageSize(t);this.state.typing?(this.firstTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!0,typing:!0})),1e3+e),this.secondTimeoutTyping=setTimeout((()=>this.setState({popIn:!0,popOut:!1,typing:!1})),1300+e),this.thirdTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!1,typing:!1})),1600+e)):this.fourthTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!1,typing:!1})),1e3),this.nextMessageTimeout=setTimeout((()=>this.proceed?this.proceed():null),1300+e)}componentWillUnmount(){clearTimeout(this.firstTimeoutTyping),clearTimeout(this.secondTimeoutTyping),clearTimeout(this.thirdTimeoutTyping),clearTimeout(this.fourthTimeoutTyping),clearTimeout(this.nextMessageTimeout)}getExtraDelayPerMessageSize(t){if(!this.state.typing)return 0;if(this.isFirstBlock(t))return 0;const e=(t.previousMessageContent+"").toString().length||0;let n=Math.floor(e/75);return n=n<=3?n:3,1e3*n}isFirstBlock(t){return 1===t.conversation.state.blocks.length}content(t,e){return(0,r.FD)("div",{children:["object"==typeof t.content?t.content:(0,r.Y)("div",{dangerouslySetInnerHTML:{__html:t.content}}),t.elements,(0,r.Y)("div",{class:"nld-clear",children:t.timestamp&&(0,r.Y)(un,{})})]})}render(t,e){this.isFirstBlock(t)&&t.conversation.handleScrollHeight();let n=["nld-msg"];e.popIn&&n.push("nld-shown"),e.popOut&&n.push("nld-hidden");const i=this.content(t,e),o=mn(t.conversation.colors.robotMessage,"#ccc","#aaa"),a=e.typing&&t.typing,s=(0,r.FD)("div",{children:[(0,r.FD)("div",{class:"nld-typing-indicator",children:[(0,r.Y)("span",{style:{background:o}}),(0,r.Y)("span",{style:{background:o}}),(0,r.Y)("span",{style:{background:o}})]}),(0,r.Y)("div",{class:"nld-clear"})]});return(0,r.Y)("div",{class:n.join(" "),ref:e=>t.conversation.lastMessage=e,children:(0,r.Y)("div",{class:"nld-bubble",ref:t=>this.bubble=t,style:t.timestamp&&!a&&{paddingBottom:0},children:a?s:i})})}}class bn extends rn{constructor(t){super(t),this.state={done:!1,animated:!0,messages:t.messages.slice(0,1)},setTimeout((()=>this.setState({animated:!1})),500)}onClick(t,e){const n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0}),t.preventDefault(),t.stopPropagation()}autoSelect(t){}extractTemplateMatches(t){const e=/\[\{(.*?)\}]/g,n=[];let i;for(;i=e.exec(t);)n.push(i[1]);return n}cleanTemplate(t){if("string"==typeof t&&t.startsWith("[{")){const e=this.extractTemplateMatches(t);return 1==e.length?e[0]:2==e.length?(0,r.Y)("a",{href:e[1],children:e[0]}):t}return t}optionWillRedirect(t){return"string"==typeof t&&t.startsWith("[{")&&2==this.extractTemplateMatches(t).length}unwrapOption(t,e){return"string"==typeof t?this.cleanTemplate(t):this.cleanTemplate(t[e])||""}messageFinishedLoading(){this.state.messages.length===this.props.messages.length?this.props.proceed&&this.props.proceed():this.setState({messages:this.props.messages.slice(0,this.state.messages.length+1)})}renderSelector(t,e){return e.done?null:(0,r.FD)("div",{className:"nld-sel nld-messages",children:[t.options.map((t=>(0,r.FD)("button",{id:"nld-start-conversation","data-event":"start-lead-generation",type:"button",className:(e.animated?"nld-shown ":"")+"nld-opt "+("string"==typeof t&&t.startsWith("[{")?"nld-secondary":""),style:{marginBottom:"7px",border:"none",background:"transparent",cursor:"pointer"},onClick:e=>this.optionWillRedirect(t)?null:this.onClick(e,t),children:[this.unwrapOption(t,"say"),!("string"==typeof t&&t.startsWith("[{"))&&(0,r.Y)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACzSURBVFiF7Ze9DcIwEEY/owgJpDQwAwOwAxUTsACjUadCFGQGsgkdVYpHAxIopsA6x0Lc6+3v+U7+k5xfBZgCB+AGnIDF2AI73rmkSEwMndaS2tEq8WhBy5CkSqRKzIBzRKIDli7hEi7xlQRQA0egjwy0pAdWz9zXk3AvaSupylsfVZKamEBZSrUg12LmxO+J/DvBwz38r8LLPskYvoqTwi2P4k7SJoRwNZzzM5T+mDhW3AFTPw4c5r4MygAAAABJRU5ErkJggg==",style:{float:"right",width:"16px",height:"16px",marginTop:"4px",marginLeft:"2px"},alt:n.e[neuroleadLanguage].right_arrow})]}))),(0,r.Y)(dn,{privacyPolicyUrl:t.privacyPolicyUrl})]})}render(t,e){const{side:i,avatar:o,timestamp:a,conversation:s,typing:l}=t,{messages:c}=e;return(0,r.FD)("div",{class:"nld-group nld-"+i,children:[o&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:o,alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:c.map(((n,i)=>{const o=c[i-1]?c[i-1].content:"";return(0,r.Y)(fn,{typing:l,proceed:this.messageFinishedLoading.bind(this),content:n.content,conversation:s,previousMessageContent:o,timestamp:!1,elements:i+1==t.messages.length?this.renderSelector(t,e):null})}))}),(0,r.Y)("div",{class:"nld-clear"})]})}}class _n extends rn{constructor(){super(),this.state={done:!1,animated:!0},setTimeout((()=>this.setState({animated:!1})),500)}onClick(t,e){const n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0}),t.preventDefault(),t.stopPropagation()}autoSelect(t){const e=this.props.options[t],n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0})}cleanTemplate(t){return"string"==typeof t&&t.startsWith("[{")?t.replace(/[\[\]\{\}]+/g,""):t}unwrapOption(t,e){return"string"==typeof t?this.cleanTemplate(t):this.cleanTemplate(t[e])||""}render(t,e){return e.done?null:(0,r.FD)("div",{class:"nld-group nld-full nld-"+t.side,children:[t.avatar&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:(0,r.Y)("div",{class:"nld-sel nld-single",children:t.options.map((t=>(0,r.Y)("span",{class:(e.animated?"nld-shown ":"")+"nld-opt "+("string"==typeof t&&t.startsWith("[{")?"nld-secondary":""),onclick:(e=>this.onClick(e,t)).bind(this),children:this.unwrapOption(t,"say")})))})})]})}}class vn extends rn{constructor(t){super(t);const e={};for(let n of t.options)e[n]=!1;this.state={done:!1,options:e,animated:!0,hasError:!1},this.animatedInterval=null}componentDidMount(){super.componentDidMount(),this.selector.focus(),this.animatedInterval=setTimeout((()=>{this.setState({animated:!1})}),500)}componentWillUnmount(){clearInterval(this.animatedInterval)}onClick(t,e){let n=this.state.options;n[e]=!n[e],this.setState({hasError:!1}),this.setState({options:n}),t.preventDefault(),t.stopPropagation()}autoSelect(t){this.state.options[t]=!this.state.options[t],this.setState(this.state)}createSelection(){return Object.keys(this.state.options).filter((t=>this.state.options[t])).join(", ")}onSubmit(){const t=this.createSelection();t&&!/^\s*$/.test(t)?(this.props.conversation.onUserInput(this.createSelection()),this.setState({done:!0})):this.setState({hasError:!0})}onKeyDown(t){"Enter"===t.key&&this.onSubmit()}render(t,e){return e.done?null:(0,r.FD)("div",{class:"nld-group nld-full nld-"+t.side,ref:t=>this.selector=t,tabIndex:0,onKeyDown:this.onKeyDown.bind(this),children:[t.avatar&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:(0,r.FD)("div",{class:"nld-sel nld-multi",children:[this.state.hasError&&(0,r.FD)("div",{class:"nld-tooltip-error",children:[(0,r.Y)("div",{style:{marginRight:"5px"},children:"🤔"}),(0,r.Y)("p",{children:n.e[neuroleadLanguage].select_one})]}),Object.keys(e.options).map((t=>(0,r.Y)("span",{class:(e.animated?"nld-shown ":"")+"nld-opt"+(e.options[t]?" nld-selected":""),onclick:(e=>this.onClick(e,t)).bind(this),children:t})))]})})]})}}function yn(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function xn(t){return xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xn(t)}function wn(t){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wn(t)}function kn(t){yn(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===wn(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function An(t){if(yn(1,arguments),!function(t){return yn(1,arguments),t instanceof Date||"object"===xn(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var e=kn(t);return!isNaN(Number(e))}function Sn(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Cn(t,e){return yn(2,arguments),function(t,e){yn(2,arguments);var n=kn(t).getTime(),i=Sn(e);return new Date(n+i)}(t,-Sn(e))}function Tn(t){yn(1,arguments);var e=kn(t),n=e.getUTCDay(),i=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-i),e.setUTCHours(0,0,0,0),e}function In(t){yn(1,arguments);var e=kn(t),n=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var o=Tn(i),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var r=Tn(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=r.getTime()?n:n-1}function Mn(t){yn(1,arguments);var e=kn(t),n=Tn(e).getTime()-function(t){yn(1,arguments);var e=In(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),Tn(n)}(e).getTime();return Math.round(n/6048e5)+1}var Dn={};function En(){return Dn}function Ln(t,e){var n,i,o,a,r,s,l,c;yn(1,arguments);var d=En(),u=Sn(null!==(n=null!==(i=null!==(o=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(r=e.locale)||void 0===r||null===(s=r.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==i?i:null===(l=d.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=kn(t),p=h.getUTCDay(),g=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(u+1,0,p),g.setUTCHours(0,0,0,0);var m=Ln(g,e),f=new Date(0);f.setUTCFullYear(u,0,p),f.setUTCHours(0,0,0,0);var b=Ln(f,e);return d.getTime()>=m.getTime()?u+1:d.getTime()>=b.getTime()?u:u-1}function Rn(t,e){yn(1,arguments);var n=kn(t),i=Ln(n,e).getTime()-function(t,e){var n,i,o,a,r,s,l,c;yn(1,arguments);var d=En(),u=Sn(null!==(n=null!==(i=null!==(o=null!==(a=null==e?void 0:e.firstWeekContainsDate)&&void 0!==a?a:null==e||null===(r=e.locale)||void 0===r||null===(s=r.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==o?o:d.firstWeekContainsDate)&&void 0!==i?i:null===(l=d.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1),h=Pn(t,e),p=new Date(0);return p.setUTCFullYear(h,0,u),p.setUTCHours(0,0,0,0),Ln(p,e)}(n,e).getTime();return Math.round(i/6048e5)+1}function Fn(t,e){for(var n=t<0?"-":"",i=Math.abs(t).toString();i.length0?n:1-n;return Fn("yy"===e?i%100:i,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):Fn(n+1,2)},d:function(t,e){return Fn(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return Fn(t.getUTCHours()%12||12,e.length)},H:function(t,e){return Fn(t.getUTCHours(),e.length)},m:function(t,e){return Fn(t.getUTCMinutes(),e.length)},s:function(t,e){return Fn(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,i=t.getUTCMilliseconds();return Fn(Math.floor(i*Math.pow(10,n-3)),e.length)}};const On=Nn;var Bn="midnight",Un="noon",Yn="morning",zn="afternoon",jn="evening",Wn="night",qn={G:function(t,e,n){var i=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return On.y(t,e)},Y:function(t,e,n,i){var o=Pn(t,i),a=o>0?o:1-o;return"YY"===e?Fn(a%100,2):"Yo"===e?n.ordinalNumber(a,{unit:"year"}):Fn(a,e.length)},R:function(t,e){return Fn(In(t),e.length)},u:function(t,e){return Fn(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return Fn(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return Fn(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){var i=t.getUTCMonth();switch(e){case"M":case"MM":return On.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){var i=t.getUTCMonth();switch(e){case"L":return String(i+1);case"LL":return Fn(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){var o=Rn(t,i);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):Fn(o,e.length)},I:function(t,e,n){var i=Mn(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):Fn(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):On.d(t,e)},D:function(t,e,n){var i=function(t){yn(1,arguments);var e=kn(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=n-e.getTime();return Math.floor(i/864e5)+1}(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):Fn(i,e.length)},E:function(t,e,n){var i=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return Fn(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return Fn(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var i=t.getUTCDay(),o=0===i?7:i;switch(e){case"i":return String(o);case"ii":return Fn(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){var i=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var i,o=t.getUTCHours();switch(i=12===o?Un:0===o?Bn:o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){var i,o=t.getUTCHours();switch(i=o>=17?jn:o>=12?zn:o>=4?Yn:Wn,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return On.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):On.H(t,e)},K:function(t,e,n){var i=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):Fn(i,e.length)},k:function(t,e,n){var i=t.getUTCHours();return 0===i&&(i=24),"ko"===e?n.ordinalNumber(i,{unit:"hour"}):Fn(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):On.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):On.s(t,e)},S:function(t,e){return On.S(t,e)},X:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Hn(o);case"XXXX":case"XX":return Jn(o);default:return Jn(o,":")}},x:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"x":return Hn(o);case"xxxx":case"xx":return Jn(o);default:return Jn(o,":")}},O:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Vn(o,":");default:return"GMT"+Jn(o,":")}},z:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Vn(o,":");default:return"GMT"+Jn(o,":")}},t:function(t,e,n,i){var o=i._originalDate||t;return Fn(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,i){return Fn((i._originalDate||t).getTime(),e.length)}};function Vn(t,e){var n=t>0?"-":"+",i=Math.abs(t),o=Math.floor(i/60),a=i%60;if(0===a)return n+String(o);var r=e||"";return n+String(o)+r+Fn(a,2)}function Hn(t,e){return t%60==0?(t>0?"-":"+")+Fn(Math.abs(t)/60,2):Jn(t,e)}function Jn(t,e){var n=e||"",i=t>0?"-":"+",o=Math.abs(t);return i+Fn(Math.floor(o/60),2)+n+Fn(o%60,2)}const Gn=qn;var Qn=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},Zn=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const Kn={p:Zn,P:function(t,e){var n,i=t.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return Qn(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",Qn(o,e)).replace("{{time}}",Zn(a,e))}};var Xn=["D","DD"],$n=["YY","YYYY"];function ti(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ei={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const ni=function(t,e,n){var i,o=ei[t];return i="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function ii(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var oi={date:ii({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ii({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ii({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var ai={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const ri=function(t,e,n,i){return ai[t]};function si(t){return function(e,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=null!=n&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var r=t.defaultWidth,s=null!=n&&n.width?String(n.width):t.defaultWidth;i=t.values[s]||t.values[r]}return i[t.argumentCallback?t.argumentCallback(e):e]}}function li(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],a=e.match(o);if(!a)return null;var r,s=a[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?function(t,e){for(var n=0;n20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:si({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:si({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:si({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:si({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:si({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(ci={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(ci.matchPattern);if(!n)return null;var i=n[0],o=t.match(ci.parsePattern);if(!o)return null;var a=ci.valueCallback?ci.valueCallback(o[0]):o[0];return{value:a=e.valueCallback?e.valueCallback(a):a,rest:t.slice(i.length)}}),era:li({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:li({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:li({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:li({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:li({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var ui=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,hi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pi=/^'([^]*?)'?$/,gi=/''/g,mi=/[a-zA-Z]/;function fi(t,e,n){var i,o,a,r,s,l,c,d,u,h,p,g,m,f,b,_,v,y;yn(2,arguments);var x=String(e),w=En(),k=null!==(i=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:w.locale)&&void 0!==i?i:di,A=Sn(null!==(a=null!==(r=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(c=n.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==s?s:w.firstWeekContainsDate)&&void 0!==r?r:null===(u=w.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==a?a:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Sn(null!==(p=null!==(g=null!==(m=null!==(f=null==n?void 0:n.weekStartsOn)&&void 0!==f?f:null==n||null===(b=n.locale)||void 0===b||null===(_=b.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==m?m:w.weekStartsOn)&&void 0!==g?g:null===(v=w.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var C=kn(t);if(!An(C))throw new RangeError("Invalid time value");var T=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}(C),I=Cn(C,T),M={firstWeekContainsDate:A,weekStartsOn:S,locale:k,_originalDate:C},D=x.match(hi).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,Kn[e])(t,k.formatLong):t})).join("").match(ui).map((function(i){if("''"===i)return"'";var o=i[0];if("'"===o)return function(t){var e=t.match(pi);if(!e)return t;return e[1].replace(gi,"'")}(i);var a=Gn[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(t){return-1!==$n.indexOf(t)}(i)||ti(i,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||!function(t){return-1!==Xn.indexOf(t)}(i)||ti(i,e,String(t)),a(I,i,k.localize,M);if(o.match(mi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return i})).join("");return D}class bi extends rn{constructor(t){super(t),this.options={onlyweekdays:t.conversation.flow.currentMessage.onlyweekdays,datePast:t.conversation.flow.currentMessage.datePast},t.options&&(this.options={...this.options,...t.options});const e=t.date||new Date;this.animatedInterval=null,this.state={done:!1,options:{},animated:!0,date:e,selected:new Date(e.getFullYear(),e.getMonth(),e.getDate())}}onClick(t,e){this.isDisabled(e)||this.setState({selected:e}),t.preventDefault(),t.stopPropagation()}autoSelect(t){const e=new Date(this.state.selected);e.setDate(this.state.selected.getDate()+t),this.isDisabled(e)||this.setState({selected:e})}onSubmit(){const t="pt-BR"===(this.props.conversation.flow.currentMessage.formatDate||"pt-BR")?"dd/MM/yyyy":"MM/dd/yyyy",e=fi(this.state.selected,t);this.props.conversation.onUserInput(e),this.setState({done:!0})}onNextMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()+1);this.setState({date:e})}onPrevMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()-1);this.setState({date:e})}onNextYear(){const t=new Date(this.state.date),e=t.setFullYear(t.getFullYear()+1);this.setState({date:e})}onPrevYear(){const t=new Date(this.state.date),e=t.setFullYear(t.getFullYear()-1);this.setState({date:e})}isDisabled(t){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=[];if(this.options["48h"]&&i.push(tn===e&&t)))}return i.push(this.options.datePast?t>n:tt))}averageTouches(t){let e=Array.from(t);return e.reduce(((t,e)=>[t[0]+e.screenX,t[1]+e.screenY]),[0,0]).map((t=>t/e.length))}onTouchStart(t){this.touchStartPosition=this.averageTouches(t.touches)}onTouchMove(t){const e=this.averageTouches(t.touches)[0]-this.touchStartPosition[0],n=window.innerWidth/4;e>n?(this.onTouchStart(t),this.onPrev()):e<-n&&(this.onTouchStart(t),this.onNext())}renderWeekdays(t,e){return(0,r.Y)("div",{class:"nld-row nld-title",children:n.e[neuroleadLanguage].days.map((t=>(0,r.Y)("div",{class:"nld-cell"+(e.animated?" nld-shown":""),children:t})))})}renderRow(t,e){return Array.apply(0,new Array(7)).map((()=>{const t=new Date(this.date.getTime()),n=t.getDate();let i="nld-cell";const o=t.getMonth()+12*t.getFullYear(),a=this.month+12*this.year;return i+=oa?" nld-next-month":" nld-this-month",this.isDisabled(t)&&(i+=" nld-disabled"),this.date.getTime()===(new Date).setHours(0,0,0,0)&&(i+=" nld-today"),this.date.getTime()===this.state.selected.getTime()&&(i+=" nld-selected"),this.date.setDate(n+1),(0,r.Y)("div",{class:i+(e.animated?" nld-shown":""),onclick:e=>this.onClick(e,t),children:n})}))}renderHeader(t,e){const i=n.e[neuroleadLanguage].months;return(0,r.Y)("div",{class:"nld-row nld-header",children:(0,r.FD)("div",{class:"nld-header",children:[(0,r.Y)("div",{class:"nld-prev nld-full",onclick:this.onPrevYear.bind(this)}),(0,r.Y)("div",{class:"nld-prev",onclick:this.onPrevMonth.bind(this)}),i[this.month]+" "+n.e[neuroleadLanguage].date_preposition+" "+this.year,(0,r.Y)("div",{class:"nld-next nld-full",onclick:this.onNextYear.bind(this)}),(0,r.Y)("div",{class:"nld-next",onclick:this.onNextMonth.bind(this)})]})})}renderGrid(t,e){const n=Array.apply(0,new Array(6)).map((()=>(0,r.Y)("div",{class:"nld-row",children:this.renderRow(t,e)})));return[this.renderHeader(t,e)].concat([this.renderWeekdays(t,e)].concat(n))}empty(t){return!t||(Array.isArray(t)?0==t.length:0==Object.keys(t).length)}componentDidMount(){super.componentDidMount(),this.animatedInterval=setTimeout((()=>{this.setState({animated:!1})}),500)}componentWillUnmount(){clearInterval(this.animatedInterval)}unwrapOptions(t){if(Array.isArray(t))for(let e of t)this.options[e]=!0;else this.options=t}render(t,e){const i=new Date(e.date),o=i.getMonth(),a=i.getFullYear();return this.date=new Date(a,o),this.date.setDate(1-this.date.getDay()),this.month=o,this.year=a,e.done?null:(0,r.FD)("div",{class:"nld-group nld-full nld-"+t.side,children:[t.avatar&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:(0,r.Y)("div",{class:"nld-sel nld-date",children:(0,r.Y)("div",{class:"nld-cal",ontouchstart:this.onTouchStart.bind(this),ontouchmove:this.onTouchMove.bind(this),children:this.renderGrid(t,e)})})}),(0,r.Y)("div",{class:"nld-clear"})]})}}class _i extends rn{constructor(t){super(t),this.conf={minutes:{cycleSteps:12,angleDivisor:6,offsetZero:!1},hours:{cycleSteps:12,angleDivisor:30,offsetZero:!0}},this.mouseIsDown=!1,this.state={done:!1,animated:!0,minutes:0,hours:12,isPM:!0},this.empty(t.options)?this.options={nominutes:!1,nonight:!1}:this.unwrapOptions(t.options),this.onSelect(null,"hours"),setTimeout((()=>this.setState({animated:!1})),500)}empty(t){return!t||(Array.isArray(t)?0==t.length:0==Object.keys(t).length)}unwrapOptions(t){if(Array.isArray(t)){this.options={};for(let e of t)this.options[e]=!0}else this.options=t}to24h(){let t=this.state.hours;return this.state.isPM&&(t+=12,t>=24&&(t=0)),t}onSubmit(){this.props.conversation.onUserInput(this.zeroPad(this.to24h())+":"+this.zeroPad(this.state.minutes)),this.setState({done:!0})}onSelect(t,e){this.options["9-5"]&&null!==t||this.options.nominutes&&null!==t||this.setState({target:e,cycleSteps:this.conf[e].cycleSteps,angleDivisor:this.conf[e].angleDivisor,offsetZero:this.conf[e].offsetZero})}setIsPM(t){this.options["9-5"]||this.options.nonight||this.setState({isPM:t})}timeDisabled(t){return this.options["9-5"]?t>5&&t<9:void 0!==this.options.min&&void 0!==this.options.max&&(t>this.options.min&&t[t[0]+e.screenX,t[1]+e.screenY]),[0,0]).map((t=>t/e.length))}onTouchMove(t){const e=this.averageTouches(t.touches);this.setTimeFromPosition(e[0],e[1]),t.preventDefault()}renderClockNumber(t){return this.options.display24h&&t<6?t+12:t}renderClockNumbers(t,e){let n=[];const i=360/e.angleDivisor/e.cycleSteps;if(e.offsetZero)for(let t=i;t<=360/e.angleDivisor;t+=i)n.push(t);else for(let t=0;t<360/e.angleDivisor;t+=i)n.push(t);return n.map((t=>[t,t*e.angleDivisor-90])).map((t=>{const[n,i]=t,o=50*Math.cos(Math.PI*i/180)+50,a="top: "+(50*Math.sin(Math.PI*i/180)+50)+"%; left: "+o+"%;";let s=["nld-clock-num"];return n===e[e.target]&&s.push("nld-selected"),this.timeDisabled(n)&&s.push("nld-disabled"),(0,r.Y)("div",{class:s.join(" "),style:a,onclick:t=>this.onClick(t,n),children:(0,r.Y)("span",{children:this.renderClockNumber(n)})})}))}timeAngle(t){return t*this.state.angleDivisor-90}renderClockPointer(t,e){const n="transform: rotate("+this.timeAngle(e[e.target])+"deg);";return(0,r.Y)("div",{class:"nld-pointer",style:n})}zeroPad(t){return t<10?"0"+t:""+t}render(t,e){return e.done?null:(0,r.FD)("div",{class:"nld-group nld-"+t.side,children:[t.avatar&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:(0,r.FD)("div",{class:"nld-sel nld-time"+(e.animated?" nld-shown":""),children:[(0,r.FD)("div",{class:"nld-timedisplay",children:[(0,r.Y)("div",{class:"nld-hours"+("hours"===e.target?" nld-selected":""),onclick:t=>this.onSelect(t,"hours"),children:this.zeroPad(this.renderClockNumber(e.hours))}),(0,r.Y)("div",{class:"nld-sep",children:":"}),(0,r.Y)("div",{class:"nld-minutes"+("minutes"===e.target?" nld-selected":""),onclick:t=>this.onSelect(t,"minutes"),children:this.zeroPad(e.minutes)}),(0,r.FD)("div",{class:"nld-period",children:[(0,r.Y)("div",{class:"nld-day"+(e.isPM?"":" nld-selected"),onclick:t=>this.setIsPM(!1),children:"AM"}),(0,r.Y)("div",{class:"nld-night"+(e.isPM?" nld-selected":""),onclick:t=>this.setIsPM(!0),children:"PM"})]})]}),(0,r.Y)("div",{class:"nld-timepicker",children:(0,r.Y)("div",{class:"nld-clock",onmousedown:this.onMouseDown.bind(this),onmousemove:this.onMouseMove.bind(this),onmouseleave:this.onMouseUp.bind(this),onmouseup:this.onMouseUp.bind(this),ontouchmove:this.onTouchMove.bind(this),ref:t=>this.clockDiv=t,children:(0,r.FD)("div",{class:"nld-num-container",children:[this.renderClockNumbers(t,e),(0,r.Y)("div",{class:"nld-pivot",children:this.renderClockPointer(t,e)})]})})})]})})]})}}const vi={on(t,e){document.getElementById("nld-event-bus").addEventListener(t,(t=>e(t.detail)))},dispatch(t,e){document.getElementById("nld-event-bus").dispatchEvent(new CustomEvent(t,{detail:e}))},remove(t,e){document.getElementById("nld-event-bus").removeEventListener(t,e)}};class yi extends e.uA{constructor(){super(),this.state={clicked:!1},this.handleClickLink=this.handleClickLink.bind(this)}componentDidMount(){vi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"view",label:this.props.blockConfiguration.label,uid:this.props.blockConfiguration.uid})}handleClickLink(){this.setState({clicked:!0},(()=>{vi.dispatch("cancelAutoRedirect"),vi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"click",label:this.props.blockConfiguration.label,uid:this.props.blockConfiguration.uid,payload:{phone:this.props.blockConfiguration.selectedPhoneNumber}})}))}render(t){let{botMessage:e,link:i}=t;return(0,r.FD)("div",{children:[e,(0,r.Y)("a",{href:i,class:"whatsapp-link",target:"_blank",onClick:this.state.clicked?null:this.handleClickLink,children:(0,r.FD)("div",{children:[(0,r.Y)("img",{src:"https://cdn.leadster.com.br/neurolead/img/wpp_logo.png",alt:n.e[neuroleadLanguage].whatsapp}),n.e[neuroleadLanguage].send_whatsapp]})})]})}}const xi=new class{constructor(){this.client=this._buildClient()}getClient(){return this.client}setDefaultHeaders(t){this.client.defaults.headers.common=t}get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.get(t,{params:e},n)}post(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.post(t,e,n)}put(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.put(t,e,n)}delete(t){return this.client.delete(t,config)}_buildClient(){return We.create({baseURL:d,headers:{"Content-Type":"application/json"}})}};class wi{static evaluate(t,e){const{mainOperator:n,conditions:i}=t;return"OR"===n?i.some((t=>this.isMatchCondition(t,e))):"AND"===n&&i.every((t=>this.isMatchCondition(t,e)))}static isMatchCondition(t,e){const{field:n,operator:i,values:o}=t,a=this.getComparisonFunction(i);return!!e.hasOwnProperty(n)&&o.some((t=>{const i=(t=>{let e=document.createElement("textarea");return e.innerHTML=t,e.value})(String(e[n])),o=String(t);return a(i,o)}))}static getComparisonFunction(t){switch(t){case"=":return(t,e)=>t.toLowerCase()===e.toLowerCase();case"!=":return(t,e)=>t.toLowerCase()!==e.toLowerCase();case">":return(t,e)=>parseFloat(t)>parseFloat(e);case">=":return(t,e)=>parseFloat(t)>=parseFloat(e);case"<":return(t,e)=>parseFloat(t)parseFloat(t)<=parseFloat(e);case"matches":return(t,e)=>t.toLowerCase().includes(e.toLowerCase());case"doesn't match":return(t,e)=>!t.toLowerCase().includes(e.toLowerCase())}}}const ki=0,Ai=1,Si=2,Ci=3,Ti=4,Ii=5,Mi=6,Di=7,Ei=8,Li=9,Pi=10,Ri=11,Fi=12,Ni=13,Oi=14,Bi=15;class Ui{constructor(t,e,n){this.callOnModulesLoad=n,this.callOnStateChange=[],this.conversation=t,this.inputState=nn.Disabled,this.data=this.ingestVariables(e),this.localData=this.ingestVariables(e),this.script=[],this.position=0,this.step=0,this.currentMessage=null,this.smartCall=new an,this.forceUpdate=this.forceUpdate.bind(this)}ingestVariables(t){const e=window.neuroIngest||{};let n={};return Object.keys(e).forEach((t=>n[t]=e[t])),t.forEach((t=>Object.keys(window[t]).forEach((e=>{n[t+"."+e]=window[t][e]})))),n}isConditionalBlock(t){return"if"in t&&"then"in t}processConditionalBlock(t){if(!this.isConditionalBlock(t))return t;const{if:e,then:n}=t;return(wi.evaluate(e,this.data)||wi.evaluate(e,this.localData))&&n||null}next(){return 0===this.script.length?this.currentMessage=null:this.position=this.script.length)return!0;for(let t=this.position;twindow.location.href}];let n=t.replace(/{{.*?}}/g,(t=>{const n=t.match(/{{(.*)}}/)[1];let i=this.data[n];return e.forEach((t=>{n===t.name&&(i=t.getValue())})),null==i?"":i}));return n=this.substituteOldVariables(n),n}substituteOldVariables(t){var e;return t.replace(/{previous-word}/g,(e=(this.currentAnswer||"...").split(" ")[0],"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1))).replace(/{previous-answer}/g,this.currentAnswer||"...")}inOnValidWhatsappSchedule(t){if(!t.useSchedule)return!0;const e=t.schedules||[],n=this.conversation.newDateWithCompanyTimeZone();return!!e.find((t=>{let e,i,o,a;[e,i]=t.startAt.split(":"),[o,a]=t.endAt.split(":");const r=new Date(n.getFullYear(),n.getMonth(),n.getDate(),e,i,0),s=new Date(n.getFullYear(),n.getMonth(),n.getDate(),o,a,0);if(n>r&&ne(!0,i);return t.useAutoRedirect?(s=()=>{this.conversation.addRedirectBlock(n.e[neuroleadLanguage].open_your_whatsapp,o,(()=>e(!0,i)),t,!1)},this.conversation.addBlock("left",null,null,a,s)):this.conversation.addMessage("left",a,s);case Ni:const l=t.introduction_text,c=t.representatives,d=()=>{this.conversation.addScheduler("right",t,(()=>e(!0,this.forceUpdate)))};return null!=l&&l.length&&c.length?this.conversation.addBlock("left",null,null,l,d):d(),e(!1,i);case Oi:if(!t.botId)return e(!0,i);const u=()=>{this.conversation.addIaInteraction("left",t,(()=>e(!0,this.forceUpdate)))};return t.say?this.conversation.addBlock("left",null,null,this.substituteVariables(t.say),u):u(),e(!1,i);case Bi:return this.conversation.addAdsEventsBlock(t),e(!0,i);case Fi:const h=this.substituteVariables(t.botMessage||"");let p=this.substituteVariables(t.redirectLink||"#");return p=encodeURI(p),this.conversation.addRedirectBlock(h,p,(()=>e(!0,i)),t,!0);case ki:let g=this.substituteVariables(t.say||"");return this.conversation.addMessage("left",g,(()=>e(!0,i)));case Ai:const m=this.smartCall.selectUpdatedFirstBlockMessages(t.messages);return this.conversation.addSelector("left",bn,t.from,m),e(!1,i);case Ci:return this.conversation.addSelector("right",_n,t.from),e(!1,i);case Ti:return this.conversation.addSelector("right",vn,t.from),e(!1,i);case Ii:return this.conversation.addSelector("right",bi,t.config),e(!1,i);case Mi:return this.conversation.addSelector("right",_i,t.config),e(!1,i);case Si:return this.inputType=t.type||"text",this.inputValidate=t.validate,this.inputOptions=t.from,this.inputConfig=t.config,e(!1,i);case Ei:const f=t=>{this.currentMessage=this.processConditionalBlock(t),this.loadMessage(this.currentMessage,this.asyncNextMessage.bind(this),this.forceUpdate)};return this.callOnModulesLoad((()=>{const e=window[t.api.function];"function"==typeof e&&e(t.api.data||{},f)})),e(!1,i);case Li:return e(!1,i);case Pi:return e(!0,i)}}asyncNextMessage(t,e){if(t){const t=this.next();t?this.loadMessage(t,this.asyncNextMessage.bind(this),e):e(!0)}else e(!1),setTimeout((()=>this.runStateChangeCallbacks()),0)}onStart(t,e){this.script=t,this.asyncNextMessage(!0,(t=>{e(t)}))}onUserInput(t,e){if(!this.currentMessage)return{name:"",value:"",done:!0};const n=this.currentMessage.save;this.data[this.currentMessage.save]=Ze(t),this.currentAnswer=t,this.asyncNextMessage(!0,(i=>{this.step+=1,e&&e({name:n,value:t,done:i})}))}runStateChangeCallbacks(){for(let t of this.callOnStateChange)t()}clearChangeCallbacks(){this.callOnStateChange=[]}forceUpdate(){this.conversation.forceUpdate(),this.runStateChangeCallbacks()}getIngestedData(){return Object.keys(this.data).map((t=>({name:t,value:this.data[t]})))}getInputState(){return this.inputState}isAcceptingInput(){return this.inputState!==nn.Waiting}onInputStateChange(t){this.callOnStateChange.push(t)}getInputType(){return this.inputType}getInputValidate(){return this.inputValidate}getInputOptions(){return this.inputOptions}getInputConfig(){return this.inputConfig}}class Yi extends e.uA{constructor(){super()}render(t,e){let{messages:i,side:o,avatar:a,timestamp:s,conversation:l,typing:c,proceed:d}=t;return(0,r.FD)("div",{class:"nld-group nld-"+o,children:[a&&(0,r.Y)("div",{class:"nld-msg-avatar",children:(0,r.Y)("img",{class:"nld-img",src:a,alt:n.e[neuroleadLanguage].avatar})}),(0,r.Y)("div",{class:"nld-container",children:i.map(((t,e)=>{const n=i[e-1]?i[e-1].content:"";return(0,r.Y)(fn,{proceed:d,typing:c,content:t.content,previousMessageContent:n,conversation:l,timestamp:s})}))}),(0,r.Y)("div",{class:"nld-clear"})]})}}const zi={countdownContainer:{display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},svg:{position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"rotateY(-180deg) rotateZ(-90deg)",overflow:"visible"}};class ji extends e.uA{constructor(t){super(t),this.milliseconds=1e3*this.props.seconds,this.radius=this.props.size/2,this.circumference=this.props.size*Math.PI,this.state={countdown:this.milliseconds,isPlaying:!1},this.interval=null,this.startTimer=this.startTimer.bind(this),this.strokeDashoffset=this.strokeDashoffset.bind(this)}componentDidMount(){this.startTimer()}componentWillUnmount(){clearInterval(this.interval)}strokeDashoffset(){return this.circumference-this.state.countdown/this.milliseconds*this.circumference}startTimer(){this.setState({isPlaying:!0}),this.interval=setInterval((()=>{this.setState({countdown:this.state.countdown-10}),0===this.state.countdown&&clearInterval(this.interval)}),10)}render(){const t={height:this.props.size,width:this.props.size},e={color:this.props.strokeColor,fontSize:.3*this.props.size},n=(this.state.countdown/1e3).toFixed();return(0,r.FD)("div",{style:Object.assign({},zi.countdownContainer,t),children:[(0,r.Y)("p",{style:e,children:n}),(0,r.Y)("svg",{style:zi.svg,children:(0,r.Y)("circle",{cx:this.radius,cy:this.radius,r:this.radius,fill:"none",stroke:this.props.strokeBgColor,"stroke-width":this.props.strokeWidth})}),(0,r.Y)("svg",{style:zi.svg,children:(0,r.Y)("circle",{"stroke-dasharray":this.circumference,"stroke-dashoffset":this.state.isPlaying?this.strokeDashoffset():0,r:this.radius,cx:this.radius,cy:this.radius,fill:"none","stroke-linecap":"round",stroke:this.props.strokeColor,"stroke-width":this.props.strokeWidth})})]})}}class Wi extends e.uA{constructor(t){super(),this.redirectInterval=null,this.proceed=t.proceed,this.alreadyProceeded=!1,this.blockConfigurations=t.options.blockConfiguration,this.isWhatsAppBlock=!0===this.blockConfigurations.whatsapp,this.useCancelAutomaticRedirectTime=!!this.blockConfigurations.useCancelAutomaticRedirectTime,this.isLastBlock=t.conversation.flow.isLastBlock(),this.state={seconds:this.useCancelAutomaticRedirectTime?1:5,closed:!1},this.countDown=this.countDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleClickOnCancel=this.handleClickOnCancel.bind(this),this.handleClickOnWhatsapp=this.handleClickOnWhatsapp.bind(this),this.proccedTransaction=this.proccedTransaction.bind(this)}proccedTransaction(){this.alreadyProceeded||(this.alreadyProceeded=!0,this.proceed())}handleClickOnWhatsapp(){this.isWhatsAppBlock&&vi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"click",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label,payload:{phone:this.blockConfigurations.selectedPhoneNumber}})}handleClickOnCancel(t){t.preventDefault(),this.handleCancel(),this.isWhatsAppBlock&&vi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"cancel",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label})}componentDidMount(){this.redirectInterval=setInterval(this.countDown,1e3),vi.on("cancelAutoRedirect",(()=>this.handleCancel())),this.isLastBlock&&this.proccedTransaction()}componentWillUnmount(){clearInterval(this.redirectInterval),vi.remove("cancelAutoRedirect")}countDown(){1===this.state.seconds&&(this.isWhatsAppBlock&&vi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"redirect",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label,payload:{phone:this.blockConfigurations.selectedPhoneNumber}}),this.proccedTransaction()),0===this.state.seconds&&(clearInterval(this.redirectInterval),this.handleCancel(),setTimeout((()=>{parent.window?this.handleRedirect(this.props.options.redirectLink,parent.window):this.handleRedirect(this.props.options.redirectLink)}),500)),this.setState({seconds:this.state.seconds-1})}handleCancel(){this.setState({closed:!0}),clearInterval(this.redirectInterval),setTimeout(this.proccedTransaction,500)}handleRedirect(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const n=new RegExp(/(http|https):\/\/[\W\w]{14,23}\/[\w]{7}\/[\d]{1,10}\/[\w]{4}/);void 0!==e.neuroleadDefaultScript&&"-1"===e.neuroleadDefaultScript.companyId&&n.test(e.location.href)?e.open(t,"_blank"):e.location=t}render(t){let{messages:e}=t;const i=this.props.options.keepLink&&this.state.closed,o=this.state.closed;return(0,r.FD)("div",{className:"nld-group nld-left "+(o&&!i?"nld-hidden-slideup":"nld-shown"),style:{marginLeft:45},children:[(0,r.Y)("div",{className:"nld-container",children:(0,r.Y)("div",{className:"nld-msg",children:(0,r.Y)("div",{className:"nld-bubble",style:{width:"100%"},children:i?(0,r.FD)("div",{children:[(0,r.Y)("div",{children:e}),(0,r.Y)("a",{href:this.props.options.redirectLink,target:"_blank",onClick:this.handleClickOnWhatsapp,children:n.e[neuroleadLanguage].access_now})]}):(0,r.FD)("div",{style:{display:"flex"},children:[!this.useCancelAutomaticRedirectTime&&this.state.seconds>=1&&(0,r.Y)("div",{style:{marginRight:10},children:(0,r.Y)(ji,{seconds:this.state.seconds,size:40,strokeBgColor:"#CCC",strokeColor:"gray",strokeWidth:4})}),(0,r.FD)("div",{children:[(0,r.Y)("div",{children:e}),(0,r.Y)("a",{href:"#",onClick:this.handleClickOnCancel,children:!this.useCancelAutomaticRedirectTime&&n.e[neuroleadLanguage].cancel_redirect})]})]})})})}),(0,r.Y)("div",{className:"nld-clear"})]})}}var qi=o(691),Vi=o.n(qi),Hi=o(825),Ji=o.n(Hi),Gi=o(659),Qi=o.n(Gi),Zi=o(56),Ki=o.n(Zi),Xi=o(540),$i=o.n(Xi),to=o(113),eo=o.n(to),no=o(756),io={};io.styleTagTransform=eo(),io.setAttributes=Ki(),io.insert=Qi().bind(null,"head"),io.domAPI=Ji(),io.insertStyleElement=$i();Vi()(no.A,io);no.A&&no.A.locals&&no.A.locals;var oo=o(117),ao={};ao.styleTagTransform=eo(),ao.setAttributes=Ki(),ao.insert=Qi().bind(null,"head"),ao.domAPI=Ji(),ao.insertStyleElement=$i();Vi()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;function ro(t,e){return new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit"}).format(t)}function so(t,e){const[n,i]=t.split(":"),o=new Date;o.setHours(n),o.setMinutes(i);return new Intl.DateTimeFormat(e,{hour:"2-digit",minute:"2-digit"}).format(o).toLowerCase()}class lo extends e.uA{constructor(t){super(t),this.conversationMetadata=t.conversation.props.metadata,this.options=t.options,this.proceed=t.proceed,this.state={done:!1,date:t.date||new Date,selected:new Date(0,0,0),selectedRepresentativeId:null,time:null,calendarView:!0,dayView:!1,confirmationView:!1,errorMessageView:!1,successfulView:!1,availableTimes:{},continueButton:`${n.e[neuroleadLanguage].loading}...`},this.onPrevMonth=this.onPrevMonth.bind(this),this.onNextMonth=this.onNextMonth.bind(this),this.cancelCalendar=this.cancelCalendar.bind(this),this.displayDayView=this.displayDayView.bind(this),this.displayCalendar=this.displayCalendar.bind(this),this.displayConfirmationView=this.displayConfirmationView.bind(this),this.sendSchedulerRequest=this.sendSchedulerRequest.bind(this)}onSelectDay(t){this.isDisabled(t)||(this.setState({selected:t}),this.activateContinueButton())}onNextMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()+1);this.setState({date:e})}onPrevMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()-1);this.setState({date:e})}isDisabled(t){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=this.getFormattedDate(t),o=this.state.availableTimes[i]||[],a=[];return a.push(0===o.length),a.push(te||t),!1)}renderWeekdays(t,e){return(0,r.Y)("div",{class:"calendar-row calendar-title",children:n.e[neuroleadLanguage].days.map((t=>(0,r.Y)("div",{class:"calendar-cell",children:t})))})}renderRow(t,e){return Array.apply(0,new Array(7)).map((t=>{const e=new Date(this.date.getTime()),n=e.getDate();let i="calendar-cell";const o=e.getMonth()+12*e.getFullYear(),a=this.month+12*this.year;return oa?(this.date.setDate(n+1),(0,r.Y)("div",{class:"calendar-cell"})):(i+=" calendar-this-month",this.isDisabled(e)&&(i+=" calendar-disabled"),this.date.getTime()===(new Date).setHours(0,0,0,0)&&(i+=" calendar-today"),this.date.getTime()===this.state.selected.getTime()&&(i+=" calendar-selected"),this.date.setDate(n+1),(0,r.Y)("div",{class:i,onclick:()=>this.onSelectDay(e),children:n}))}))}renderHeader(t,e){const i=n.e[neuroleadLanguage].months;return(0,r.Y)("div",{class:"calendar-row nld-calendar-header",children:(0,r.FD)("div",{class:"nld-calendar-header",children:[(0,r.Y)("div",{class:"calendar-prev",id:"calendar-prev-arrow",onclick:this.onPrevMonth,children:"<"}),i[this.month]+" "+n.e[neuroleadLanguage].date_preposition+" "+this.year,(0,r.Y)("div",{class:"calendar-next",id:"calendar-next-arrow",onclick:this.onNextMonth,children:">"})]})})}renderGrid(t,e){const n=Array.apply(0,new Array(6)).map((n=>(0,r.Y)("div",{class:"calendar-row",children:this.renderRow(t,e)})));return[this.renderHeader(t,e)].concat([this.renderWeekdays(t,e)].concat(n))}fetchAvailableCalendar(){let t=document.getElementById("scheduler-continue-button-calendar"),e=document.getElementById("calendar-prev-arrow"),o=document.getElementById("calendar-next-arrow");t.classList.remove("disabled"),e.classList.add("disabled"),o.classList.add("disabled");const a={representative_id:this.state.selectedRepresentativeId,script_version_id:this.conversationMetadata.scriptVersionId,script:this.conversationMetadata.scriptId,company:this.conversationMetadata.companyId,block_configurations:JSON.stringify(this.options),block_uid:this.options.uid,is_mobile:(0,i.F)(),time_zone_lead:Intl.DateTimeFormat().resolvedOptions().timeZone};xi.get("/schedules/available-calendar",a).then((i=>{const a=i.data.available_times,r=i.data.representative_id;this.setState({selectedRepresentativeId:r,availableTimes:a,continueButton:n.e[neuroleadLanguage].continue},(()=>{e.classList.remove("disabled"),o.classList.remove("disabled"),t.classList.add("disabled")}))})).catch((t=>{this.setState({calendarView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:n.e[neuroleadLanguage].continue})}))}componentDidMount(){if(!this.options.representatives.length)return this.setState({calendarView:!1}),this.proceed();vi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"view",label:this.options.label,uid:this.options.uid}),this.fetchAvailableCalendar()}async findAvailableRepresentative(){return await xi.get("/schedules/available-representative",{script_version_id:this.conversationMetadata.scriptVersionId,script:this.conversationMetadata.scriptId,block_uid:this.options.uid,is_mobile:(0,i.F)()}).then((t=>t.data.representative_id)).catch((t=>(this.setState({calendarView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:n.e[neuroleadLanguage].continue}),null)))}cancelCalendar(){this.proceed(),this.setState({done:!0}),vi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"cancel",label:this.options.label,uid:this.options.uid})}schedulerCalendar(t,e){const i=new Date(e.date),o=i.getMonth(),a=i.getFullYear();return this.date=new Date(a,o),this.date.setDate(1-this.date.getDay()),this.month=o,this.year=a,(0,r.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,r.FD)("div",{class:"nld-scheduler-container",children:[(0,r.Y)("div",{class:"nld-calendar",children:this.renderGrid(t,e)}),(0,r.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,r.Y)("div",{class:"scheduler-cancel-button",onclick:this.cancelCalendar,children:n.e[neuroleadLanguage].cancel}),(0,r.Y)("div",{class:"scheduler-continue-button disabled",onclick:this.displayDayView,id:"scheduler-continue-button-calendar",children:this.state.continueButton})]})]}),(0,r.Y)("div",{class:"nld-clear"})]})}chooseTime(t,e){this.setState({time:t}),this.state.availableTimes[e].forEach((t=>{document.getElementById(`scheduler-time-available-${t}`).classList.remove("active")}));document.getElementById(`scheduler-time-available-${t}`).classList.add("active");let i=document.getElementById("scheduler-continue-button-available-time");i.classList.remove("disabled"),i.classList.add("active"),this.setState({continueButton:n.e[neuroleadLanguage].schedule})}getFormattedDate(t){let e=t.getDate(),n=t.getMonth()+1;return`${t.getFullYear()}/${n}/${e}`}checkAvailableTimes(t){const e=this.getFormattedDate(t.selected),n=this.state.availableTimes[e].map((t=>(0,r.Y)("span",{onclick:()=>this.chooseTime(t,e),class:"scheduler-time-available",id:`scheduler-time-available-${t}`,children:so(t,neuroleadLanguage)},t)));return(0,r.Y)("div",{class:"scheduler-time-available-container",children:n})}schedulerDay(t,e){return(0,r.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,r.FD)("div",{class:"nld-scheduler-container",children:[(0,r.Y)("div",{class:"scheduler-view-title",children:(0,r.Y)("span",{children:n.e[neuroleadLanguage].select_hour})}),this.checkAvailableTimes(e),(0,r.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,r.Y)("div",{class:"scheduler-cancel-button",onclick:this.displayCalendar,children:n.e[neuroleadLanguage].return}),(0,r.Y)("div",{class:"scheduler-continue-button disabled",id:"scheduler-continue-button-available-time",onclick:this.displayConfirmationView,children:n.e[neuroleadLanguage].continue})]})]}),(0,r.Y)("div",{class:"nld-clear"})]})}addZero(t){return t<10?`0${t}`:t}confirmationDateFormater(t){return(0,r.Y)("div",{children:(0,r.Y)("span",{children:ro(t,neuroleadLanguage)})})}getLeadData(){const t=window.neurolead.dataQueue||[],e=[];return t.forEach((t=>{let n=t.key,i=t.value;t.hasOwnProperty("then")&&(n=t.then.key,i=t.then.value),n.startsWith("nosync::")||e.push({name:n,value:i})})),e}getLeadEmail(t){const e=t.find((t=>t.name===this.options.email_field));return e?e.value:""}deactivateContinueButton(){this.setState({continueButton:`${n.e[neuroleadLanguage].sending}...`});let t=document.getElementById("scheduler-continue-button-confirmation");t.classList.remove("active"),t.classList.add("disabled")}sendSchedulerRequest(){this.deactivateContinueButton();const t=this.getFormattedDate(this.state.selected),e=this.state.time,o=this.getLeadData(),a=this.getLeadEmail(o),r={representative_id:this.state.selectedRepresentativeId,date:t,time:e,lead_data:o,guest_email:a,company:this.conversationMetadata.companyId,lead_id:this.conversationMetadata.leadId,script_version_id:this.conversationMetadata.scriptVersionId,block_uid:this.options.uid,is_mobile:(0,i.F)(),script:this.conversationMetadata.scriptId,time_zone_lead:Intl.DateTimeFormat().resolvedOptions().timeZone};xi.post("/schedules",r).then((t=>{this.displaySuccessfulView(),this.proceed(),vi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"scheduled",payload:{calendar_schedule_id:t.data.id},label:this.options.label,uid:this.options.uid})})).catch((()=>{this.setState({confirmationView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:n.e[neuroleadLanguage].continue})}))}schedulerConfirmation(t,e){return(0,r.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,r.FD)("div",{class:"nld-scheduler-container",children:[(0,r.Y)("div",{class:"scheduler-view-title",children:(0,r.Y)("span",{children:n.e[neuroleadLanguage].confirm_schedule})}),(0,r.FD)("div",{class:"scheduler-confirmation-elements",children:[(0,r.Y)("div",{class:"scheduler-confirmation-label",children:n.e[neuroleadLanguage].date}),(0,r.Y)("div",{class:"scheduler-confirmation-date-time",children:this.confirmationDateFormater(e.selected)}),(0,r.Y)("div",{class:"scheduler-confirmation-label",children:n.e[neuroleadLanguage].time}),(0,r.Y)("div",{class:"scheduler-confirmation-date-time",children:so(e.time,neuroleadLanguage)})]}),(0,r.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,r.Y)("div",{class:"scheduler-cancel-button",onclick:this.displayDayView,children:n.e[neuroleadLanguage].return}),(0,r.Y)("div",{class:"scheduler-continue-button active",id:"scheduler-continue-button-confirmation",onclick:this.sendSchedulerRequest,children:this.state.continueButton})]})]}),(0,r.Y)("div",{class:"nld-clear"})]})}schedulerErrorMessage(t,e){return(0,r.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,r.FD)("div",{class:"nld-scheduler-container",children:[(0,r.Y)("div",{class:"scheduler-view-title",children:(0,r.Y)("span",{children:"Ops..."})}),(0,r.FD)("div",{class:"scheduler-error-message",children:[(0,r.Y)("div",{children:n.e[neuroleadLanguage].error_schedule_line_1}),(0,r.Y)("div",{children:n.e[neuroleadLanguage].error_schedule_line_2})]}),(0,r.Y)("div",{class:"scheduler-action-buttons-container",children:(0,r.Y)("div",{class:"scheduler-continue-button active",onclick:this.cancelCalendar,children:n.e[neuroleadLanguage].continue})})]}),(0,r.Y)("div",{class:"nld-clear"})]})}schedulerSuccessful(t,e){const i=this.state.selected.toLocaleDateString("pt-BR"),o=this.state.time;return(0,r.Y)("div",{class:"nld-group nld-"+t.side,children:(0,r.Y)("div",{className:"nld-container",children:(0,r.Y)("div",{className:"nld-msg",children:(0,r.FD)("div",{className:"nld-bubble",style:"text-align: center;",children:[(0,r.Y)("div",{children:n.e[neuroleadLanguage].scheduled_sucessfuly}),(0,r.Y)("strong",{children:`${i} ${n.e[neuroleadLanguage].at} ${o}`})]})})})})}activateContinueButton(){let t=document.getElementById("scheduler-continue-button-calendar");t.classList.remove("disabled"),t.classList.add("active")}displayCalendar(){this.setState({errorMessageView:!1}),this.setState({dayView:!1}),this.setState({calendarView:!0})}displayDayView(){this.setState({dayView:!0}),this.setState({calendarView:!1}),this.setState({confirmationView:!1})}displayConfirmationView(){this.setState({dayView:!1}),this.setState({confirmationView:!0})}displaySuccessfulView(){this.setState({confirmationView:!1}),this.setState({successfulView:!0})}render(t,n){if(n.done)return null;switch(!0){case this.state.calendarView:return this.schedulerCalendar(t,n);case this.state.dayView:return this.schedulerDay(t,n);case this.state.confirmationView:return this.schedulerConfirmation(t,n);case this.state.errorMessageView:return this.schedulerErrorMessage(t,n);case this.state.successfulView:return this.schedulerSuccessful(t,n);default:return(0,r.Y)(e.FK,{})}}}var co=o(204),uo={};uo.styleTagTransform=eo(),uo.setAttributes=Ki(),uo.insert=Qi().bind(null,"head"),uo.domAPI=Ji(),uo.insertStyleElement=$i();Vi()(co.A,uo);co.A&&co.A.locals&&co.A.locals;var ho=o(402);const po=Ve.Ay.input.withConfig({displayName:"styles__Input",componentId:"sc-g4nfor-0"})(["&&{border-color:"," !important;}"],(t=>t.borderColor)),go=t=>{let{onChange:e,onSubmit:i,borderColor:o}=t;const[a,s]=(0,w.J0)(""),[l,c]=(0,w.J0)(null),d=(0,w.li)();(0,w.vJ)((()=>{d.current.focus()}),[]);const u=()=>{a&&(i(a),s(""))};return(0,w.vJ)((()=>{a.length>=255?c(n.e[neuroleadLanguage].wrong_messages.max_length):c(null)}),[a]),(0,r.FD)("div",{className:"input-custom-nld",children:[(0,r.Y)("div",{className:"nld-container",children:(0,r.Y)("div",{className:"nld-input-block-container",children:(0,r.FD)("div",{className:"nld-input",children:[l&&(0,r.FD)("div",{class:"nld-tooltip-error",children:[(0,r.Y)("span",{className:"me-1",children:"🤔"}),l]}),(0,r.Y)(po,{ref:d,type:"text",borderColor:o,placeholder:n.e[neuroleadLanguage].leadster_ai["input-placeholder"],value:a,onKeyDown:t=>{"Enter"!==t.key&&13!==t.keyCode||u()},onChange:t=>{e(t.target.value),s(t.target.value)},maxLength:"255"}),(0,r.Y)("div",{className:"nld-submit",onClick:u})]})})}),(0,r.Y)("div",{className:"nld-clear"})]})},mo=Ve.Ay.button.attrs((()=>({type:"button"}))).withConfig({displayName:"styles__Button",componentId:"sc-5msjg6-0"})(["&&{color:#000 !important;font-size:12px !important;border:2px solid rgb(238,238,238) !important;border-radius:24px !important;background-color:#FFF !important;padding:8px 18px;position:fixed;bottom:89px;left:57px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity linear 0.5s;",";}&&:hover{background-color:rgb(238,238,238) !important;}"],(t=>{let{isShown:e}=t;return e&&(0,Ve.AH)(["opacity:1;pointer-events:initial;"])})),fo=t=>{let{label:e,onFinish:n}=t;const[i,o]=(0,w.J0)(!1);return(0,w.vJ)((()=>{const t=setTimeout((()=>{o(!0)}),5e3);return()=>clearTimeout(t)}),[]),(0,r.Y)(mo,{onClick:()=>{n()},isShown:i,children:e})},bo=()=>(0,r.FD)("div",{className:"loading-custom-nld",children:[(0,r.Y)("div",{className:"nld-container",children:(0,r.Y)("div",{className:"nld-loading-container",children:(0,r.Y)("div",{className:"nld-loading",children:(0,r.FD)("div",{className:"nld-sp-icon",children:[(0,r.Y)("div",{}),(0,r.Y)("div",{})]})})})}),(0,r.Y)("div",{className:"nld-clear"})]}),_o=(0,Ve.i7)(["to{transform:rotate(360deg);}"]),vo=(0,Ve.i7)(["0%{transform:scale(0);opacity:0;}50%{opacity:1;}100%{transform:scale(1);opacity:0;}"]),yo={secondary:"#6c757d",primary:"#007bff",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},xo=Ve.Ay.div.withConfig({displayName:"styles__SpinnerBorder",componentId:"sc-1v2bli8-0"})(["&&{display:inline-block;width:",";height:",";vertical-align:text-bottom;border:0.25em solid currentColor;border-right-color:transparent;border-radius:50%;animation:"," 0.75s linear infinite;color:",";}"],(t=>t.size||"2rem"),(t=>t.size||"2rem"),_o,(t=>yo[t.color]||t.color||yo.primary)),wo=Ve.Ay.div.withConfig({displayName:"styles__SpinnerGrow",componentId:"sc-1v2bli8-1"})(["&&{display:inline-block;width:",";;height:",";;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;animation:"," 0.75s linear infinite;color:",";}"],(t=>t.size||"2rem"),(t=>t.size||"2rem"),vo,(t=>yo[t.color]||t.color||yo.primary)),ko=t=>{let{type:e="border",color:n,size:i}=t;const o="border"===e?xo:wo;return(0,r.Y)(o,{color:n,size:i,role:"status"})};var Ao=o(728),So=(0,Ao.A)("filled","thumb-up-filled","IconThumbUpFilled",[["path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z",key:"svg-0"}],["path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z",key:"svg-1"}]]),Co=(0,Ao.A)("filled","thumb-down-filled","IconThumbDownFilled",[["path",{d:"M13 21.008a3 3 0 0 0 2.995 -2.823l.005 -.177v-4h2a3 3 0 0 0 2.98 -2.65l.015 -.173l.005 -.177l-.02 -.196l-1.006 -5.032c-.381 -1.625 -1.502 -2.796 -2.81 -2.78l-.164 .008h-8a1 1 0 0 0 -.993 .884l-.007 .116l.001 9.536a1 1 0 0 0 .5 .866a2.998 2.998 0 0 1 1.492 2.396l.007 .202v1a3 3 0 0 0 3 3z",key:"svg-0"}],["path",{d:"M5 14.008a1 1 0 0 0 .993 -.883l.007 -.117v-9a1 1 0 0 0 -.883 -.993l-.117 -.007h-1a2 2 0 0 0 -1.995 1.852l-.005 .15v7a2 2 0 0 0 1.85 1.994l.15 .005h1z",key:"svg-1"}]]),To=(0,Ao.A)("outline","thumb-up","IconThumbUp",[["path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3",key:"svg-0"}]]),Io=(0,Ao.A)("outline","thumb-down","IconThumbDown",[["path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3",key:"svg-0"}]]);const Mo=Ve.Ay.div.withConfig({displayName:"styles__TooltipError",componentId:"sc-krdqxu-0"})(["&&{position:absolute;display:inline-block;background:rgba(50,50,50,0.95);color:#fff;backdrop-filter:blur(6px);margin:0px;border-radius:8px;padding:6px 12px;font-size:14px !important;transform:translateY(-115%);box-shadow:0 4px 12px rgba(0,0,0,0.2);}&&:after{content:'';position:absolute;display:block;width:12px;height:12px;transform-origin:50% 50%;transform:rotate(45deg);background:rgba(50,50,50,0.95);left:20px;top:auto;bottom:-6px;}"]),Do=Ve.Ay.button.withConfig({displayName:"styles__Button",componentId:"sc-krdqxu-1"})(["&&{background-color:transparent;border:none;cursor:pointer;}"]),Eo=Ve.Ay.div.withConfig({displayName:"styles__FlexContainer",componentId:"sc-krdqxu-2"})(["&&{display:flex;align-items:center;}"]),Lo=t=>{let{messageId:e,leadId:i,companyId:o,scriptId:a}=t;const[s,l]=(0,w.J0)(null),[c,u]=(0,w.J0)(!1),[h,p]=(0,w.J0)(!1),[g,m]=(0,w.J0)(""),f=t=>{p(!0),u(!1);(-1===o?b:_)(t).then((()=>{l(t),p(!1)})).catch((()=>{u(!0),p(!1),l(null),m(n.e[neuroleadLanguage].wrong_messages.error_request)}))},b=t=>xi.put(`https://app.leadster.com.br/ai/history_tracker/${e}/evaluate`,{evaluation:t}),_=t=>{const n={evaluation:t,lead_id:i,history_tracker_id:e,script:a};return xi.put(`${d}/ai/conversation/evaluate`,n)};if((0,w.vJ)((()=>{if(c){const t=setTimeout((()=>{u(!1),m("")}),3e3);return()=>clearTimeout(t)}}),[c]),null!==s){const t=s?n.e[neuroleadLanguage].leadster_ai.thumbs_up:n.e[neuroleadLanguage].leadster_ai.thumbs_down;return(0,r.Y)("div",{className:"nld-group nld-lef",style:{marginLeft:70},children:(0,r.Y)(Do,{title:t,disabled:!0,children:!0===s?(0,r.Y)(So,{width:16,height:16}):(0,r.Y)(Co,{width:16,height:16})})})}return(0,r.Y)("div",{className:"nld-group nld-lef",style:{marginLeft:70},children:(0,r.FD)("div",{style:{position:"relative"},children:[c&&g&&(0,r.Y)(Mo,{children:g}),h?(0,r.Y)(ko,{type:"grow",color:"secondary"}):(0,r.FD)(Eo,{children:[(0,r.Y)(Do,{title:n.e[neuroleadLanguage].leadster_ai.thumbs_up,onClick:()=>f(!0),children:(0,r.Y)(To,{width:16,height:16})}),(0,r.Y)(Do,{title:n.e[neuroleadLanguage].leadster_ai.thumbs_down,onClick:()=>f(!1),children:(0,r.Y)(Io,{width:16,height:16})})]})]})})};class Po extends e.uA{constructor(){super()}handleClickReset(t){t.preventDefault(),neurolead.reload()}render(){return(0,r.FD)("a",{href:"#",class:"reset-chat",onClick:this.handleClickReset,children:[n.e[neuroleadLanguage].restart_chat,(0,r.Y)("img",{src:"https://cdn.leadster.com.br/neurolead/img/restart_chat.png",alt:n.e[neuroleadLanguage].restart_chat,title:n.e[neuroleadLanguage].restart_chat,height:20})]})}}const Ro=()=>{const t=n.e[neuroleadLanguage].recommendation_response;return t[Math.floor(Math.random()*t.length)]},Fo=(0,ho.RZ)((()=>o.e(101).then(o.bind(o,158))));class No extends e.uA{constructor(t){super(t),this.state={isLoading:!1,isDone:!1,disconnectByIdle:!1,iteractionCounter:0},this.messagesContainerElement=window.document.getElementsByClassName("nld-container")[0],this.isLastBlock=this.props.conversation.flow.isLastBlock(),this.useSkipButton=!1,this.idleTimeout=null,this.retailerItemId=null,this.isProductsRecommendation=!1,this.endConversationLabel=this.props.options.endConversationLabel||n.e[neuroleadLanguage].leadster_ai.default_end_conversation_label,this.sendQuestion=this.sendQuestion.bind(this),this.throttledStartIdleTimeout=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400;return function(){const i=arguments,o=this;e||(t.apply(o,i),e=!0,setTimeout((()=>e=!1),n))}}(this.startIdleTimeout.bind(this),1e3),this.scrollToBottom=this.props.conversation.scrollToBottom.bind(this.props.conversation),this.onUp=this.props.conversation.scrollToBottom.bind(this.props.conversation),this.scrollDown=this.props.conversation.scrollDown.bind(this.props.conversation),this.hasScrolledUpOnce=!1,this.handleSkipConversation=this.handleSkipConversation.bind(this),this.setRetailerItemId=this.setRetailerItemId.bind(this),this.afterAddMessageCallback=this.afterAddMessageCallback.bind(this),this.afterAddProductsRecommendationCallback=this.afterAddProductsRecommendationCallback.bind(this),this.handleNewLead=this.handleNewLead.bind(this),this.handleAddMessage=this.handleAddMessage.bind(this)}componentDidMount(){this.startIdleTimeout(),this.handleAddInputClasses(),vi.on("updateRetailerItemId",this.setRetailerItemId),vi.dispatch("viewedLeadsterAIBlock",{})}componentWillUnmount(){vi.remove("updateRetailerItemId",this.setRetailerItemId),this.clearIdleTimeout()}componentDidUpdate(t,e){!this.isLastBlock&&this.state.iteractionCounter>=1&&this.addSkipButton(),this.isProductsRecommendation&&this.removeSkipButton(),e.iteractionCounter!==this.state.iteractionCounter&&1==this.state.iteractionCounter&&this.sendAnalyticEvents(),e.isDone!==this.state.isDone&&this.onUpdateIsDone(),e.isLoading!==this.state.isLoading&&this.onUpdateIsLoading()}onUpdateIsDone(){if(this.state.isDone){if(this.clearIdleTimeout(),this.handleRemoveInputClasses(),this.state.disconnectByIdle)return this.sendIdleTimeoutFeedback();this.props.proceed()}}onUpdateIsLoading(){this.state.isDone||this.state.isLoading||this.startIdleTimeout()}sendAnalyticEvents(){window.gtag&&window.gtag("event","leadster_ai_interaction")}startIdleTimeout(){this.clearIdleTimeout(),this.idleTimeout=setTimeout((()=>{this.setState({isDone:!0,disconnectByIdle:!0})}),3e5)}clearIdleTimeout(){clearTimeout(this.idleTimeout)}sendIdleTimeoutFeedback(){const t=n.e[neuroleadLanguage].leadster_ai.disconnected_by_idle_timeout;this.props.conversation.addMessage("left",t.message_01,this.scrollToBottom),setTimeout((()=>{this.props.conversation.addMessage("left",t.message_02,this.scrollToBottom),setTimeout((()=>{this.props.conversation.addMessage("right",(0,r.Y)(Po,{}),this.scrollToBottom)}),1800)}),1500)}handleAddInputClasses(){this.messagesContainerElement.classList.remove("nld-full")}handleRemoveInputClasses(){this.messagesContainerElement.classList.add("nld-full"),this.useSkipButton&&this.removeSkipButton()}addSkipButton(){this.messagesContainerElement.classList.add("nld-skip-message"),this.useSkipButton=!0}removeSkipButton(){this.messagesContainerElement.classList.remove("nld-skip-message"),this.useSkipButton=!1}setRetailerItemId(t){this.retailerItemId=t}afterAddMessageCallback(){this.scrollToBottom(),this.setState({isLoading:!1})}afterAddProductsRecommendationCallback(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.scrollToBottom(),this.props.conversation.addCustomBlock("left",(()=>(0,r.Y)(ho.tY,{fallback:(0,r.Y)(bo,{}),children:(0,r.Y)(Fo,{products:t,baseColor:this.props.conversation.colors.selected,avatar:this.props.avatar,onFinishLoad:()=>{if(this.setState({isLoading:!1}),!this.hasScrolledUpOnce){const t=.15,e=this.props.conversation.messagesContainer.offsetHeight*t;this.hasScrolledUpOnce=!0,this.scrollDown(e)}},leadId:this.props.conversation.props.metadata.leadId})})))}addEvaluationBlock(t,e,n,i){this.props.conversation.addCustomBlock("left",(()=>(0,r.Y)(Lo,{messageId:t,leadId:e,companyId:n,scriptId:i})))}sendQuestion(t){if(!t)return;this.clearIdleTimeout(),this.trackAction("question_sent");const e=this.state.iteractionCounter+1;this.setState({isLoading:!0,iteractionCounter:e},(()=>{this.props.conversation.addMessage("right",t,this.scrollToBottom)}));const i=this.props.conversation.props.metadata,o=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("undefined"==typeof document||!document.cookie)return e;const n=document.cookie.split("; ").map((t=>t.split("="))).find((e=>e[0]===t));return n?JSON.parse(n[1]):e}(neurolead.userId,{lead_id:null}).lead_id||i.guid;(async t=>{try{const{data:e}=await xi.post(`${d}/ai/conversation/sac_chatbot`,t),n=e.recommendation_list||[];return{responseText:n.length?Ro():(t=>{let e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\n/g,"
")}(t);return e=function(){let t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g,((t,e,n)=>n));return t=t.replace(/(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/g,(t=>''+t+"")),t}(e),e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\*\*(.*?)\*\*/g,"$1")}(e),e})(e.bot_message),recommendedProducts:n,isEndConversation:e.is_end_conversation,hasContext:!e.is_missing_context,id:e.id,intention:e.intention,isConditionalEvaluator:e.is_conditional_evaluator}}catch(t){throw t}})({message:t,company:i.companyId,script:i.scriptId,lead_id:o,bot_id:this.props.options.botId,block_uid:this.props.options.uid,retailer_item_id:this.retailerItemId,location:window.location.href||document.URL,language:neuroleadLanguage}).then((t=>{let{responseText:e,isEndConversation:n,recommendedProducts:a,hasContext:r,id:s,intention:l,isConditionalEvaluator:c}=t;this.isProductsRecommendation=!!a.length;const d=this.isProductsRecommendation?()=>this.afterAddProductsRecommendationCallback(a):this.afterAddMessageCallback;this.props.conversation.flow.localData[this.props.options.save]=l;c||this.checkConditionExists(l)?this.handleNewLead():this.handleAddMessage({responseText:e,hasContext:r,isEndConversation:n,intention:l,id:s,leadId:o,metadata:i,afterAddMessageCallback:d})})).catch((()=>{const t=n.e[neuroleadLanguage].leadster_ai.feedback_error;this.props.conversation.addMessage("left",t,this.afterAddMessageCallback)}))}checkConditionExists(t){const e=this.props.conversation.flow.script,n=this.props.options.save;for(const i of e)if(i.if&&i.if.conditions)for(const e of i.if.conditions)if(e.field===n&&e.values.includes(t))return!0;return!1}handleSkipConversation(){this.trackAction("click_continue",{copy:this.endConversationLabel}),this.setState({isLoading:!0},(()=>{this.props.conversation.addMessage("right",this.endConversationLabel,this.scrollToBottom)})),setInterval((()=>this.setState({isDone:!0})),1e3)}trackAction(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{uid:n,label:i,botId:o}=this.props.options;vi.dispatch("storeAnalyticBlockInfo",{name:"ia_interaction",action:t,uid:n,label:i,payload:{assistantId:o,isLastBlock:this.isLastBlock,...e}})}handleNewLead(){this.props.conversation.props.newLead(this.props.conversation.props.filterData(this.props.conversation.flow.data),this.props.conversation.flow.step,(()=>{})),this.setState({isDone:!0,isLoading:!1})}handleAddMessage(t){this.props.conversation.addMessage("left",t.responseText,(()=>{t.hasContext&&!t.isEndConversation&&"recommendation"!==t.intention&&this.addEvaluationBlock(t.id,t.leadId,t.metadata.companyId,t.metadata.scriptId),t.afterAddMessageCallback()})),t.isEndConversation&&this.handleSkipConversation()}render(){return this.state.isDone?null:this.state.isLoading?(0,r.Y)(bo,{}):(0,r.FD)(r.FK,{children:[this.useSkipButton?(0,r.Y)(fo,{label:this.endConversationLabel,onFinish:this.handleSkipConversation}):null,(0,r.Y)(go,{onChange:this.throttledStartIdleTimeout,onSubmit:this.sendQuestion,borderColor:this.props.conversation.colors.selected})]})}}const Oo=new class{installGa4(t){const e=document.createElement("script");e.src="https://www.googletagmanager.com/gtag/js?id="+t,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",t)}installLeadsterGa4(){this.installGa4("G-43W2WYML5H")}installMetaPixel(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(t,e,n,i,o,a,r){t.fbq||(o=t.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},t._fbq||(t._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],(a=e.createElement(n)).async=!0,a.src="https://connect.facebook.net/en_US/fbevents.js",(r=e.getElementsByTagName(n)[0]).parentNode.insertBefore(a,r))}(window,document,"script"),fbq("init",t),e||fbq("track","PageView")}insertMetaPixel(t,e){if(fbq)return;const n=document.createElement("img");n.src="https://www.facebook.com/tr?id="+t+"&ev="+e+"&noscript=1",n.height="1",n.width="1",n.style="display:none",document.body.appendChild(n)}},Bo=t=>{let e,n,{options:i}=t;(0,ho.vJ)((()=>{o()}),[]);const o=()=>{try{a(),e=s(),n=l(),c(),d(),u()}catch(t){return console.log(t.message),null}},a=()=>{if(!i.meta_event)throw Error("Leadster script block: Meta Ads is disabled")},s=()=>{if(i.meta_pixel&&null!==i.meta_pixel_code)return i.meta_pixel_code;const t=neurolead.metadata.fbqConversionEvents;return null!==t&&null!==t[1]?t[1]:null},l=()=>{if(void 0===window.fbq)return[];const t=window.fbq.getState().pixels.map((t=>t.id));return t.length>0?t:[]},c=()=>{if(null===e&&0===n.length)throw Error("Leadster script block: Pixel code not found")},d=()=>{n.includes(e)||Oo.installMetaPixel(e,!0)},u=()=>{const t=null!==e?e:n.length>0?n:void 0,o=i.meta_event_options.map((t=>t.value));if(Array.isArray(t))return p(t,o);h(t,o)},h=(t,e)=>{e.forEach((e=>{window.fbq("trackSingle",t,e)}))},p=(t,e)=>{e.forEach((t=>{window.fbq("track",t)}))};return(0,r.Y)(r.FK,{})},Uo=t=>{let e,n,{options:i}=t;(0,ho.vJ)((()=>{o()}),[]);const o=()=>{try{a(),e=s(),n=l(),c(),d(),u()}catch(t){return console.log(t.message),null}},a=()=>{if(!i.google_event)throw Error("Leadster script block: Google Analytics is disabled")},s=()=>{if(i.google_tag&&null!==i.google_tag_code)return i.google_tag_code;const t=neurolead.metadata.gaConversionEvent;return null!==t&&null!==t[2]?t[2]:null},l=()=>{const t=window.dataLayer.map((t=>{if("config"===t[0]&&void 0!==t[1])return t[1]}));return t.length>0?t:[]},c=()=>{if(null===e&&0===n.length)throw Error("Leadster script block: GA code not found")},d=()=>{n.includes(e)||Oo.installGa4(e)},u=()=>{const t=null!==blockPixelCode?e:n.length>0?n:void 0;i.google_event_options.map((t=>t.value)).forEach((e=>{window.gtag("event",e,{send_to:Array.isArray(t)?t:[t]})}))};return(0,r.Y)(r.FK,{})};class Yo extends e.uA{constructor(t){super(t),this.options=t.options}render(){return(0,r.FD)(r.FK,{children:[(0,r.Y)(Bo,{options:this.options}),(0,r.Y)(Uo,{options:this.options})]})}}class zo extends on{isReady(){return!!this.textInput||!!this.selectInput||!!this.props.conversation.activeSelector}autoInput(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.textInput,i=(n.value+t).substring(0,n.value.length+t.length-e);if(this.getMask()){const t=this.mask(this.unMask(i),n.value,e>0),o=this.getSelection(n);n.value=t,this.setSelection(n,this.adjustSelection(i,o,t))}else n.value=i}autoSelect(t){const e=this.props.conversation.activeSelector;if(this.selectInput){const e=this.props.options[t];this.selectInput.value=e}else e&&e.autoSelect(t)}autoSubmit(){this.onSubmit()}}class jo extends e.uA{constructor(t){super(),this.colors=t.colors,this.flow=new Ui(this,t.ingestionSources,t.callOnModulesLoad),this.state={blocks:[]},this.wasLastMessageVisible=!0,this.blockDefaults={left:{avatar:!0,timestamp:!1},right:{avatar:!1,timestamp:!1}}}componentDidMount(){this.blockDefaults.left.avatar=this.props.avatar,this.flow.onStart(this.props.script,(()=>{this.setState(this.state)})),this.props.flowInit&&this.props.flowInit(this.flow.getIngestedData())}onUserSubmit(){this.activeSelector&&this.activeSelector.onSubmit()}onUserInput(t,e,n){e=e||t,this.addMessage("right",n?"***":t),this.flow.onUserInput(e,(t=>{this.props.flowStep&&this.props.flowStep(t,(()=>{}),(()=>{})),this.setState(this.state)}))}addMessage(t,e,n){let i=this.lastBlock();if("right"===t&&"string"==typeof e&&(e=Ze(e)),i&&i.side===t&&i.kind===Yi)i.messages.push({content:e});else{const i=this.blockDefaults[t];this.addBlock(t,i.avatar,i.timestamp,e,n)}this.setState(this.state)}addBlock(t,e,n,i,o){const a=this.blockDefaults[t],r={proceed:o,typing:"left"===t,side:t,avatar:e=e||a.avatar,timestamp:n=n||a.timestamp,messages:[{content:i}],kind:Yi};this.state.blocks.push(r),this.setState({blocks:this.state.blocks})}addCustomBlock(t,e){const n={proceed:arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,kind:e};this.state.blocks.push(n),this.setState({blocks:this.state.blocks})}addScheduler(t,e,n){this.props.growUpConversation();const i={proceed:n,typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:e,kind:lo,messages:Yi};this.state.blocks.push(i),this.setState({blocks:this.state.blocks})}async addIaInteraction(t,e,n){const i={proceed:n,typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:e,kind:No,messages:Yi};await this.props.newLead({},0,(()=>{})),this.props.growUpConversation(),this.state.blocks.push(i),this.setState({blocks:this.state.blocks})}addSelector(t,e,n,i){const o={typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:n||[],kind:e,messages:i?i.map((t=>({content:t.say}))):{}};this.state.blocks.push(o),this.setState({blocks:this.state.blocks})}addRedirectBlock(t,e,n,i){const o={proceed:n,messages:t,options:{redirectLink:e,keepLink:arguments.length>4&&void 0!==arguments[4]&&arguments[4],blockConfiguration:i},kind:Wi};this.state.blocks.push(o),this.setState({blocks:this.state.blocks})}addAdsEventsBlock(t){const e={options:t,kind:Yo};this.state.blocks.push(e),this.setState({blocks:this.state.blocks})}lastBlock(){return this.state.blocks.length>0?this.state.blocks[this.state.blocks.length-1]:null}scrollToBottom(){this.messagesContainer.scrollTop=this.messagesContainer.scrollHeight-this.messagesContainer.offsetHeight,this.wasLastMessageVisible=!0}scrollDown(t){this.messagesContainer.scrollTop+=t}lastMessageHeight(){return this.lastMessage?this.lastMessage.offsetHeight:0}isLastMessageVisible(){const t=this.messagesContainer;return t.scrollHeight-t.scrollTop-t.offsetHeight<=this.lastMessageHeight()}scrollIfNeeded(){this.wasLastMessageVisible,this.scrollToBottom()}onResize(){this.scrollIfNeeded()}onScroll(){this.wasLastMessageVisible=this.isLastMessageVisible(),this.handleScrollHeight()}handleScrollHeight(){if(this.scrollHandle){const t=this.messagesContainer.scrollTop,e=this.messagesContainer.offsetHeight,n=this.messagesContainer.scrollHeight;if(n(0,e.h)(n.kind,{messages:n.messages,side:n.side,avatar:n.avatar,timestamp:n.timestamp,kind:n.kind,options:n.options,typing:n.typing,proceed:n.proceed,conversation:this,privacyPolicyUrl:t.privacyPolicyUrl})))}onHandleMouseDown(t){document.body.style.cursor="move",this.handleGrabPosition=t.clientY,this.grabScrollTop=this.messagesContainer.scrollTop,t.preventDefault()}onMouseUp(t){this.handleGrabPosition&&(document.body.style.cursor="default",this.handleGrabPosition=null)}onMouseMove(t){if(this.handleGrabPosition){const e=t.clientY-this.handleGrabPosition,n=this.messagesContainer.offsetHeight,i=this.messagesContainer.scrollHeight;this.messagesContainer.scrollTop=this.grabScrollTop+e*i/n,t.preventDefault()}}newDateWithCompanyTimeZone(){const t=this.props.metadata.companyTimeZone;return new Date((new Date).toLocaleString("en-US",{timeZone:t}))}render(t,e){const i=this.flow.getInputState(),o=this.flow.getInputType(),s=this.flow.getInputValidate(),l=this.flow.getInputOptions(),c=this.flow.getInputConfig();let d=t.mobile?"overflow-y: auto;":"overflow-y: scroll;";return a()&&!t.mobile&&(d+="height: calc(100% - 10px) !important;"),(0,r.FD)("div",{children:[(0,r.FD)("div",{class:"nld-container"+(i===nn.Disabled?" nld-full":" "),children:[(0,r.FD)("div",{class:"nld-scrollable",onscroll:this.onScroll.bind(this),ref:t=>this.messagesContainer=t,style:d,children:[(0,r.Y)("div",{class:"nld-whitespace"}),this.renderMessages(t,e)]}),!t.mobile&&(0,r.Y)("div",{class:"nld-scrollbar",ref:t=>this.scrollBar=t,children:(0,r.Y)("div",{class:"nld-handle",ref:t=>this.scrollHandle=t,onmousedown:this.onHandleMouseDown.bind(this)})})]}),(0,r.Y)("div",{class:"nld-overlay"}),(0,r.Y)(zo,{conversation:this,callOnModulesLoad:t.callOnModulesLoad,type:o,validate:s,options:l,config:c,viewState:i,sendText:n.e[neuroleadLanguage]["send-text"],ref:t=>this.input=t})]})}}class Wo{constructor(t,e,n,i,o,a,r,s){this.scriptVersionId=t,this.elTooltip=i.querySelector(".nld-invite-message-container"),this.elText=i.querySelector(".nld-invite-message-text"),this.elRightIcon=i.querySelector(".nld-sp-icon.nld-right"),this.elLeftIcon=i.querySelector(".nld-sp-icon.nld-left"),this.elTyping=i.querySelector(".nld-typing-indicator"),this.elTime=i.querySelector(".nld-footer.nld-time"),this.tooltipMessage=n,this.enabled=e,this.amount=r,this.amountLeft=r,this.processedNotifications=0,this.displayTime=a,this.typingTime=2e3,this.chatSide=o,this.platform=s?"mobile":"desktop",this.smartCall=new an,e&&t&&r>0&&this.startTimer()}startTimer(t){this.timer=setTimeout((()=>{t&&t(),this.showNextNotification()}),this.displayTime)}stopTimer(){this.timer&&clearTimeout(this.timer)}stop(){this.stopTimer()}fetchNotification(t,e){const n=this.getList("Leads").join(","),i=this.getList("Notifications").join(","),o=this.smartCall.getLastNotificationViewed(),a=`viewed_notifications=${i}&viewed_leads=${n}&platform=${this.platform}&last_notification=${o}`,r=`${d}/script_versions/${this.scriptVersionId}/notifications/random/?${a}`;let s=new XMLHttpRequest;s.open("GET",r,!0),s.send(),s.onreadystatechange=()=>{4==s.readyState&&(200==s.status?t(JSON.parse(s.responseText)):e())}}showNextNotification(){this.processedNotifications<=this.amount?this.showTypingAndThen((t=>{this.fetchNotification((e=>{this.hideTyping(),e?(this.displayNotification(e),this.amountLeft--,t((()=>this.hideNotification()))):this.exhaustedNotifications()}),(()=>this.exhaustedNotifications()))})):this.showTypingAndThen((t=>{this.hideTyping(),this.displayTooltip(),t((()=>this.hideTooltip()))})),this.processedNotifications++}exhaustedNotifications(){this.hideTyping(),this.hideNotification(),this.displayTooltip()}showTypingAndThen(t){this.hideNotification(),this.displayTyping(),setTimeout((()=>{t((t=>{this.fetchNext(t)}))}),this.typingTime)}fetchNext(t){this.amountLeft?this.startTimer(t):setTimeout((()=>{this.showTypingAndThen((()=>{this.hideTyping(),t(),this.displayTooltip()}))}),this.displayTime)}displayTooltip(){this.elText.innerHTML=this.tooltipMessage,this.showEl(this.elText),this.smartCall.addLastNotificationViewedText(null)}displayNotification(t){if(this.isShowingNotification=!0,this.currentNotification=t.id,this.smartCall.addLastNotificationViewedText(t.text),this.smartCall.addLastNotificationViewed(this.currentNotification),t.lead?this.addToList(t.lead,"Leads"):this.addToList(t.id,"Notifications"),this.elText.innerHTML=t.text,this.showEl(this.elText),t.lead){const e=Math.floor(4*Math.random()+1),n=`url(https://cdn.leadster.com.br/neurolead/img/avatar_${"m"===t.gender?"male":"female"}_v${e}.png)`;"left"===this.chatSide?(this.elRightIcon.querySelector(".nld-img").style.backgroundImage=n,this.showEl(this.elRightIcon)):(this.elLeftIcon.querySelector(".nld-img").style.backgroundImage=n,this.showEl(this.elLeftIcon)),this.elTime.innerHTML=Math.floor(58*Math.random()+1)+"min",this.elTooltip.classList.add("nld-notification")}}displayTyping(){this.showEl(this.elTyping)}hideTyping(){this.hideEl(this.elTyping)}hideTooltip(){this.hideEl(this.elText)}hideNotification(){this.isShowingNotification=!1,this.hideEl(this.elText),this.hideEl(this.elRightIcon),this.hideEl(this.elLeftIcon),this.elTooltip.classList.remove("nld-notification")}showEl(t){t.classList.add("nld-shown"),t.classList.remove("nld-nodisplay"),t.classList.remove("nld-hidden")}hideEl(t){t.classList.add("nld-nodisplay"),t.classList.remove("nld-shown"),t.classList.add("nld-hidden")}addToList(t,e){const n=`notificationsViewed${e}`;if(localStorage&&localStorage.setItem){const i=this.getList(e);i.push(t),localStorage.setItem(n,JSON.stringify(i))}}getList(t){const e=`notificationsViewed${t}`;if(localStorage&&localStorage.getItem){return JSON.parse(localStorage.getItem(e))||[]}return[]}}class qo{constructor(t){this.elPopupContainer=t.querySelector(".nld-popup-container"),this.elPopup=t.querySelector(".nld-popup"),this.messageQueue=[],this.displayTimeout=null}show(t){this.messageQueue.push(t),this.displayTimeout||(this.displayTimeout=setTimeout((()=>{this.displayNext()}),0))}displayNext(){const t=this.messageQueue.shift();t?this.displayMessage(t):(this.displayTimeout=null,this.hideMessage())}displayMessage(t){this.elPopup.innerHTML=t,this.elPopupContainer.classList.remove("nld-nodisplay"),this.elPopupContainer.classList.remove("nld-hidden-slide"),this.elPopupContainer.classList.add("nld-shown-slide"),this.displayTimeout=setTimeout((()=>{this.hideMessageAndDisplayNext()}),2e3)}hideMessageAndDisplayNext(){this.hideMessage(),this.displayTimeout=setTimeout((()=>{this.displayNext()}),500)}hideMessage(){this.elPopupContainer.classList.remove("nld-shown-slide"),this.elPopupContainer.classList.add("nld-hidden-slide")}}const Vo={load:"loadScript",wait:"waitTime",block:"waitInput",insert:"insertText",del:"deleteText",select:"selectOption",submit:"submit"};class Ho{constructor(t){this.chat=t,this.tokens={},this.tokenCounter=0}genCancelToken(){return this.tokenCounter++}cancelable(t){const e=this.genCancelToken();return this.tokens[e]=!0,()=>{this.tokens[e]&&t()}}cancelPending(){this.tokens={}}execOperation(t,e){const n=Vo[e];for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a{const e=n.shift(),o=this.cancelable((()=>{i()}));e?this.execOperation.apply(this,[o].concat(e)):setTimeout(t,0)};i()}loopScript(t){this.cancelPending();const e=()=>{const n=this.cancelable((()=>{e()}));this.execScript(n,t)};e()}loadScript(t,e){this.chat.reload(e),t()}insertText(t,e){this.waitInput(this.cancelable((()=>{let n=e;const i=()=>{if(n.length>0){const t=n[0];n=n.substring(1),this.chat.conversation.input.autoInput(t),this.waitTime(this.cancelable(i),100)}else t()};i()})))}deleteText(t,e){this.waitInput(this.cancelable((()=>{this.chat.conversation.input.autoInput("",e),t()})))}waitTime(t,e){setTimeout(t,e)}waitInput(t){const e=this.chat.conversation.flow,n=this.chat.conversation.input;n.isReady()?t():e.onInputStateChange((()=>{n.isReady()&&(e.clearChangeCallbacks(),t())}))}selectOption(t,e){this.waitInput(this.cancelable((()=>{this.chat.conversation.input.autoSelect(e),t()})))}submit(t){this.chat.conversation.input.autoSubmit(),t()}}class Jo{constructor(){return Jo.instance||(this._intervalRef=null,this._originalTitle=document.title,Jo.instance=this,document.addEventListener("visibilitychange",(()=>this._handleVisibilityChange()),!1)),Jo.instance}blink(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.e[neuroleadLanguage].new_message,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:650,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(!document.hidden)return;if(this._intervalRef)return;const o=this;this._intervalRef=setInterval((()=>this._changeTitle(t)),e),setTimeout((()=>o._stopBlink()),i)}_stopBlink(){clearInterval(this._intervalRef),this._intervalRef=null,document.title=this._originalTitle}_changeTitle(t){document.title=document.title===this._originalTitle?t:this._originalTitle}_handleVisibilityChange(){document.hidden||this._stopBlink()}}const Go=new Jo;var Qo=o(569);const Zo="nld-hidden-slide",Ko="nld-shown-slide",Xo="nld-hidden",$o="nld-shown",ta="nld-shown-middle",ea="nld-nodisplay",na="nld-left",ia="nld-center";const oa=3e4;class aa{constructor(t,e){if(this.storage=new f,this.disableServerCommunication=e<0,this.smartCall=new an,this.smartCall.addLastNotificationViewedText(null),this.moduleCount=0,this.loadedModuleCount=0,this.moduleCallsQueue=[],this.dynamicStylesheet=null,this.backendSyncSent=0,this.backendSyncSynced=0,this.completeWhenSynced=!1,this.completedWhenSynced=!1,this.guid=this.guidGenerator(),this.corsToken=null,this.conversation=null,this.metadata={},this.elAvatar=t.querySelector(".nld-avatar"),this.elTopBarAvatar=t.querySelector(".nld-infobar .nld-avatar"),this.elConversation=t.querySelector(".nld-conversation"),this.elContext=t.querySelector("#context"),this.elTitle=t.querySelector(".nld-title"),this.elSubtitle=t.querySelector(".nld-subtitle"),this.elInviteContainer=t.querySelector(".nld-chatbot-invite-container"),this.elInvite=t.querySelector(".nld-chatbot-invite-message"),this.elInviteMessageContainer=t.querySelector(".nld-invite-message-container"),this.elClose=t.querySelector(".nld-conversation-header .nld-close"),this.elTypingIndicator=t.querySelector(".nld-typing-indicator"),this.elCloseInvite=t.querySelector(".nld-chatbot-invite-message .nld-close"),this.elInviteText=t.querySelector(".nld-invite-message-text"),this.el3rdPartyBranding=t.querySelector(".nld-3rdparty-branding"),this.elBranding=t.querySelector(".nld-brand-footer"),this.elChatbot=t,this.notificationsManager=null,this.popupManager=new qo(this.elChatbot),this.animationMachine=new Ho(this),this.isOpen=!1,this.dataQueue=[],this.dataQueueStartPtr=0,this.utm_source=null,this.addEventListeners(),this.setupGoogleAnalytics(),this.sendAnalyticsEvent("load",(()=>{}),!0),this.sendAnalyticsEvent((0,i.F)()?"is_mobile":"is_desktop",(()=>{}),!0),"undefined"!=typeof neuroleadDefaultScript)this.createFromJSON(neuroleadDefaultScript);else{let t={};if(localStorage&&localStorage.getItem){let e=localStorage.getItem("neuroleadsPreferredVersions");t=e?JSON.parse(e):{}}const n=this.storage.getItem("neurologicSessions"),o=Array.isArray(n)?n:null,a=o&&o.length>0?o.length-1:null,r=null!==a?o[a]:null,s=function(t,e,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6?arguments[6]:void 0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;var l=new Date/1e3|0;e=encodeURIComponent(e),n=encodeURIComponent(n),i=encodeURIComponent(i),o=encodeURIComponent(o);let c=Object.keys(a).map((t=>`preferredVersions[${encodeURIComponent(t)}]=${encodeURIComponent(a[t])}`)).join("&");""!==c&&(c=`&${c}`);let u=`scripts/search?company=${t}&session=${r}&path=${e}&time=${l}&host=${n}&query=${i}&platform=${o}${c}`;return s&&(u+=`&script_id=${s}`),`${d}/${u}`}(e,window.location.pathname,window.location.hostname||"localhost",window.location.search,(0,i.F)()?"mobile":"desktop",t,r,window.neuroleadPSId);this.loadConversation(s)}this.onResize(),vi.on("storeAnalyticBlockInfo",(t=>this.handleStoreAnalyticBlockEvent(t))),this.filterData=this.filterData.bind(this)}clientVersion(){return '2.66.0'}setupGoogleAnalytics(){if([31943,46527,31172,128482].includes(window.neuroleadId))return null;Oo.installLeadsterGa4()}setupClientGa4(){const{gaConversionEvent:t}=this.metadata||{};Array.isArray(t)&&t[2]&&Oo.installGa4(t[2])}setupMetaPixel(){if(this.metadata.fbqConversionEvents){const t=this.metadata.fbqConversionEvents[1];Oo.installMetaPixel(t),Oo.insertMetaPixel(t,"PageView")}}registerSession(){if(localStorage&&localStorage.getItem&&localStorage.setItem){let t=localStorage.getItem("neurologicSessions"),e=t?JSON.parse(t):[];e.push(this.guid),localStorage.setItem("neurologicSessions",JSON.stringify(e))}}supportsFullscreen(){return!/Firefox|Safari/i.test(navigator.userAgent)}shouldOpen(t){if(t&&!this.metadata.disableAutoOpen&&!(0,i.F)()&&localStorage&&localStorage.getItem){const t=localStorage.getItem("neurologicSessions"),e=localStorage.getItem("sessions"),n=JSON.parse(t||e);return!n||0===n.length}return!t}parseQueryString(t){let e=t.split("&"),n={};for(let t of e){let e=t.split("=");if(2==e.length){let t=decodeURIComponent(e[0]),i=decodeURIComponent(e[1]);n[t]=i}}return n}guidGenerator(){const t="neuroleadUser";this.userId=null,localStorage&&localStorage.getItem&&(this.userId=localStorage.getItem(t));let e=()=>(65536*(1+Math.random())|0).toString(16).substring(1),n=e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e();return this.userId?(this.sessionId=n.substring(30,36),this.userId+this.sessionId):(this.userId=n.substring(0,30),this.sessionId=n.substring(30,36),localStorage&&localStorage.getItem&&localStorage.setItem(t,this.userId),n)}addEventListeners(){this.elCloseInvite.onclick=this.hideTooltip.bind(this),this.elClose.onclick=this.close.bind(this),this.elAvatar.onclick=this.toggle.bind(this),window.onresize=this.onResize.bind(this),document.onmouseup=this.onMouseUp.bind(this),window.onmousemove=this.onMouseMove.bind(this),document.addEventListener("focusin",this.onFocusInput.bind(this)),document.addEventListener("focusout",this.onFocusInput.bind(this))}toggle(t){this.isOpen?this.close():(this.notificationsManager&&this.notificationsManager.isShowingNotification?this.openReason="notification_clicked":this.openReason="tooltip_clicked",this.open(!1))}showBrand(){this.metadata.whiteLabel||!(0,i.F)()&&this.elBranding&&((0,e.XX)((0,r.Y)(c,{isMobile:(0,i.F)(),isInput:!1,companySegment:this.metadata.companySegment}),this.elBranding),this.elBranding.classList.remove(ea),this.elBranding.querySelector(".nld-brand").classList.remove(ea))}open(t){this.shouldOpen(t)&&(t?(this.sendAnalyticsEvent("auto_open",(()=>{})),Go.blink()):this.sendAnalyticsEvent("user_open",(()=>{})),this.metadata.disable1stPartyBranding||this.showBrand(),this.registerSession(),this.elConversation.classList.remove(Zo),this.elConversation.classList.remove(ea),this.elConversation.classList.add(Ko),this.hideTooltip(),this.hideAvatar(),this.createConversationalForm(),this.isOpen=!0,this.wasAutoOppened=t,this.metadata.modalMode&&!(0,i.F)()&&this.elClose.classList.add(ea),(0,i.F)()&&!this.useAbsolutePositioning&&this.supportsFullscreen()&&(this.elConversation.requestFullscreen?this.elConversation.requestFullscreen():this.elConversation.webkitRequestFullscreen?this.elConversation.webkitRequestFullscreen():this.elConversation.mozRequestFullscreen&&this.elConversation.mozRequestFullscreen()))}createConversationalForm(){this.conversation||(0,e.XX)((0,r.Y)(jo,{lang:this.metadata.lang,ref:t=>this.conversation=t,flowStep:this.onFlowStep.bind(this),flowInit:this.onFlowInit.bind(this),newLead:this.sendToBackendAsync.bind(this),avatar:this.metadata.avatar||"https://cdn.leadster.com.br/neurolead/img/avatar.png",script:this.convoScript.script,privacyPolicyUrl:this.convoScript.privacyPolicyUrl,mobile:(0,i.F)(),callOnModulesLoad:this.callOnModulesLoad,colors:this.metadata.colors,ingestionSources:this.metadata.ingestFrom,metadata:this.metadata,growUpConversation:this.growUpConversation.bind(this),filterData:this.filterData.bind(this)}),this.elContext)}close(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.smartCall.addLastNotificationViewedText(null),t||this.sendAnalyticsEvent("close",(()=>{})),(0,i.F)()&&(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozExitFullscreen&&document.mozExitFullscreen()),this.elConversation.classList.remove(Ko),this.elConversation.classList.add(Zo),this.showAvatar(),setTimeout((()=>{this.elConversation.classList.add(ea)}).bind(this),500),this.isOpen=!1,this.wasAutoOppened&&this.showTooltip(),window.nldAPI_Neurologic_OnClose&&nldAPI_Neurologic_OnClose()}findAncestor(t,e){for(;!t.classList.contains(e)&&(t=t.parentElement););return t}loadConversation(t){xi.post(t).then((t=>{let e=null;try{if(e=t.data,e&&e.companyId&&(neuroleadId=e.companyId,this.corsToken=t.headers["cors-token"],void 0===this.corsToken&&(this.corsToken=t.request.getResponseHeader("Cors-Token")),xi.setDefaultHeaders({"Cors-Token":this.corsToken})),e&&e.scriptId&&e.scriptVersionId&&e.isAb&&localStorage&&localStorage.getItem&&localStorage.setItem){let t=localStorage.getItem("neuroleadsPreferredVersions"),n=t?JSON.parse(t):{};n[e.scriptId.toString()]=e.scriptVersionId,localStorage.setItem("neuroleadsPreferredVersions",JSON.stringify(n))}}catch(t){throw t}this.createFromJSON(e)}))}shouldShow(t){let e=new Date;e.setHours(e.getHours()+(t.zone||0));let n=e.getUTCHours(),o=e.getUTCDay()+1;if(o in t)for(let e of t[o])if(2===e.length&&n>=e[0]&&n<=e[1])return!1;if("metadata"in this&&this.metadata.disableOn){if("all"===this.metadata.disableOn)return!1;return((0,i.F)()?"mobile":"desktop")!==this.metadata.disableOn}return!0}parseMovingReference(t){const e=/movingimoveis\.com\.br\/([^\/]+)\/.*-(\d+)/g.exec(t);if(e){return({lancamento:1,lancamentos:1,"imoveis-prontos":2}[e[1]]||1)+":"+e[2]}return null}readJSONProperties(t){this.convoScript=t,this.metadata={},this.metadata.guid=this.guid,this.metadata.leadId=this.guid,this.metadata.companyId=t.companyId,this.metadata.companyTimeZone=t.companyTimeZone,this.metadata.companySegment=t.companySegment,this.metadata.scriptId=t.scriptId,this.metadata.scriptVersionId=t.scriptVersionId,this.metadata.ingestFrom=t.ingestFrom||[],this.metadata.whiteLabel=t.whiteLabel,this.metadata.urlData=t.urlData||{},this.metadata.alreadyConverted=t.alreadyConverted||!1,this.metadata.integrations=t.integrations,this.metadata.disable1stPartyBranding=t.disable1stPartyBranding,this.metadata.baseURL=d,(0,Qo.r)(this.metadata);const e=window.neuroleadIgnoreCustomContainer?null:document.getElementById("nld-custom-container")||document.getElementById("neurolead-custom-container");if(this.metadata.useAbsolutePositioning=t.useAbsolutePositioning||null!=e,this.corsToken||(this.corsToken=t.corsToken,xi.setDefaultHeaders({"Cors-Token":this.corsToken})),this.metadata.integrations&&this.metadata.integrations.moving)if(window.realstate)this.metadata.integrations.moving.reference=realstate.entity+":"+realstate.id;else if(location.search.length>2){const t=this.parseQueryString(location.search.substring(1));if(t.url){const e=this.parseMovingReference(t.url);e&&(this.metadata.integrations.moving.reference=e)}}this.updateMetadataColors(t),this.metadata.side=(0,i.F)()&&t.mobileSide||t.side||"right",this.metadata.tooltipMessage=t.tooltipMessage||"Vamos calcular o financiamento aprovado para você?",this.metadata.avatar=this.convoScript.avatar,this.metadata.lang=this.convoScript.lang||"pt-BR",window.neuroleadLanguage=this.metadata.lang;const o=t.companyName;this.metadata.title=t.title||o,this.metadata.subtitle=t.subtitle||n.e[neuroleadLanguage].online_now,this.metadata.standalone=this.convoScript.standalone,this.metadata.alwaysAutoOpen=this.convoScript.alwaysAutoOpen,this.metadata.modalMode=this.convoScript.modalMode,this.metadata.branding3rdparty=this.convoScript.branding3rdparty,this.metadata.requiredFields=this.convoScript.requiredFields||[],this.metadata.waitTime=this.convoScript.waitTime||0,this.metadata.mobileTooltipDisplayTime=this.convoScript.mobileTooltipDisplayTime||6e4,this.metadata.notificationsEnabled=this.convoScript.notificationsEnabled,this.metadata.notificationsDisplayTime=this.convoScript.notificationsDisplayTime;const a=this.convoScript.notifications,r=Array.isArray(a)&&a.length>0?a.length:-1;this.metadata.notificationsPerSession=r,this.metadata.disableOn=this.convoScript.disableOn,this.metadata.disableAutoOpen=this.convoScript.disableAutoOpen||!1,this.metadata.gtagConversionId=this.convoScript.gtagConversionId,this.metadata.fbqConversionEvents=this.convoScript.fbqConversionEvents,this.metadata.gaConversionEvent=this.convoScript.gaConversionEvent,this.metadata.eventTrackers=this.convoScript.eventTrackers||null}onModulesLoad(){for(let t of this.moduleCallsQueue)t();this.moduleCallsQueue=[]}callOnModulesLoad(t){this.loadedModuleCount===this.moduleCount?t():this.moduleCallsQueue.push(t)}loadModules(t){const e=t.length;let n=0;const i=()=>{n++,n===e&&this.onModulesLoad(),this.loadedModuleCount=n};for(let e of t){const t=`https://cdn.leadster.com.br/neurolead/modules/${e}`,n=document.head||document.getElementsByTagName("head")[0];try{let e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src",t),e.onload=i,n.appendChild(e)}catch(t){}}this.moduleCount=e}createFromJSON(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.validateJSON(t)){if(this.readJSONProperties(t),this.setupMetaPixel(),this.setupClientGa4(),this.loadModules(this.convoScript.modules||[]),this.shouldShow(this.convoScript.hide||{})||this.isOpen){this.isOpen||this.showTooltip(),e&&this.removeCustomCSS(),this.injectCustomCSS(),this.addCustomClasses(),this.notificationsManager&&(this.notificationsManager.stop(),this.notificationsManager=null),setTimeout((()=>{this.elTypingIndicator.classList.add(ea),this.elInviteMessageContainer.classList.remove(ea),(0,i.F)()&&this.elCloseInvite.classList.remove(ea),this.updateTooltipMessage(),this.notificationsManager=new Wo(this.metadata.scriptVersionId,this.metadata.notificationsEnabled,this.metadata.tooltipMessage,this.elChatbot,this.metadata.side,this.metadata.notificationsDisplayTime,this.metadata.notificationsPerSession,(0,i.F)())}),1e3);(!!this.metadata.modalMode||!this.metadata.alreadyConverted)&&this.show(e)}(this.metadata.standalone||this.metadata.alwaysAutoOpen)&&this.open()}}reload(t){this.conversation&&((0,e.XX)("",this.elContext),this.conversation=null),void 0===t?void 0!==this.convoScript&&this.createFromJSON(this.convoScript,!0):this.createFromJSON(t,!0),this.backendSyncSent=0,this.backendSyncSynced=0,this.completeWhenSynced=!1,this.completedWhenSynced=!1,this.dataQueue=[],this.dataQueueStartPtr=0,this.guid=this.guidGenerator(),this.isOpen&&this.open()}show(t){t||this.sendAnalyticsEvent("show",(()=>{})),this.elChatbot.classList.remove(ea),(0,i.F)()&&setTimeout(this.hideTooltip.bind(this),this.metadata.mobileTooltipDisplayTime),setTimeout((()=>{this.open(!0)}).bind(this),this.metadata.waitTime)}hideAvatar(){this.elAvatar.classList.add(Zo),this.elAvatar.classList.remove(Ko)}showAvatar(){this.elAvatar.classList.remove(Zo),this.elAvatar.classList.add(Ko)}hideTooltip(t){this.elInvite.classList.remove($o),this.elInvite.classList.add(Xo),this.elInviteContainer.classList.remove(ta),this.elInviteContainer.classList.add(Xo),t&&t.stopPropagation(),this.notificationsManager&&(this.notificationsManager.stop(),this.notificationsManager=null)}showTooltip(){this.elInvite.classList.remove(ea),this.elInvite.classList.remove(Xo),this.elInvite.classList.add($o),this.elInviteContainer.classList.remove(ea),this.elInviteContainer.classList.remove(Xo),this.elInviteContainer.classList.add(ta)}removeCustomCSS(){var t;t=this.dynamicStylesheet,(document.head||document.getElementsByTagName("head")[0]).removeChild(t)}injectCustomCSS(){const t=this.metadata.standalone?"\n .nld-avatar {\n bottom: 48px;\n }\n\n .nld-conversation {\n width: auto;\n height: auto;\n max-height: none !important;\n min-height: none !important;\n\n position: fixed;\n\n top: 36px;\n bottom: 36px;\n\n z-index: 32767;\n }\n\n .nld-chatbot.nld-left .nld-conversation {\n width: auto;\n height: auto;\n max-height: none;\n min-height: none;\n\n position: fixed;\n\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n\n .nld-conversation>.nld-conversation-context {\n top: 100px;\n }\n\n .nld-invite-message-text {\n max-width: 200px;\n max-width: calc(100vw - 138px);\n }\n\n .nld-close, .nld-avatar {\n display: none;\n }\n\n .nld-3rdparty-branding {\n display: block !important;\n }\n\n .nld-conversation-header {\n background-image: linear-gradient(to bottom, #0594c0, #00aacb);\n }\n\n .nld-infobar {\n display: none;\n }\n ":this.metadata.useAbsolutePositioning?"\n div.nld-chatbot { width: 100%; height: 100%; }\n .nld-chatbot > .nld-avatar { position: absolute!important; }\n .nld-chatbot .nld-conversation { position: absolute!important; }\n ":"";this.metadata.branding3rdparty&&this.el3rdPartyBranding.setAttribute("src",this.metadata.branding3rdparty);const e=this.metadata.modalMode?"\n .nld-chatbot .nld-avatar {\n bottom: 48px;\n }\n\n .nld-chatbot .nld-conversation {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-conversation-header {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-conversation,\n .nld-chatbot.nld-left .nld-conversation,\n .nld-chatbot.nld-right .nld-conversation {\n width: auto;\n height: auto;\n max-height: none !important;\n min-height: none !important;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n\n .nld-chatbot .nld-invite-message-text {\n max-width: 200px;\n max-width: calc(100vw - 138px);\n }\n\n .nld-chatbot .nld-ctx>div>.nld-container, .nld-ctx>div>.nld-overlay {\n top: 72px;\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-close-white {\n display: block;\n }\n\n .nld-chatbot .nld-close-black {\n display: none;\n }\n\n .nld-chatbot .nld-input>input {\n font-size: 1.1em;\n }\n\n .nld-chatbot .nld-msg .nld-bubble {\n font-size: 1em;\n }\n ":"";this.elTitle.innerHTML=this.metadata.title||"",this.elSubtitle.innerHTML=this.metadata.subtitle,this.dynamicStylesheet=function(t){const e={type:"text/css"},n=document.head||document.getElementsByTagName("head")[0];let i=document.createElement("style");for(let t of Object.keys(e))i.setAttribute(t,e[t]);return i.innerHTML=t,n.appendChild(i)}(`\n .nld-avatar, .nld-clock .nld-pointer, .nld-clock .nld-clock-num.nld-selected {}\n .nld-infobar > .nld-avatar::after, .nld-clock .nld-pivot, .nld-cal, .nld-sel.nld-time, .nld-chatbot .nld-cell.nld-selected::after {}\n .nld-conversation-header, .nld-row.nld-header, .nld-row.nld-title, .nld-tooltip-error, .nld-timedisplay {}\n .nld-opt {}\n .nld-sel.nld-multi .nld-opt {}\n .nld-group.nld-right .nld-bubble {}\n .nld-group.nld-left .nld-bubble {}\n .nld-handle {}\n .nld-sel > .nld-opt.nld-selected {}\n .nld-submit {}\n .nld-spinner {}\n .nld-sp-icon div {}\n .nld-scheduler-container {}\n .scheduler-action-buttons-container > .scheduler-cancel-button, .scheduler-time-available-container > .scheduler-time-available, .scheduler-time-available.active, .scheduler-confirmation-date-formatting-decoration, .calendar-prev, .calendar-next, .calendar-cell.calendar-this-month, .calendar-cell.calendar-selected, .calendar-cell.calendar-prev-month.calendar-selected, .calendar-cell.calendar-this-month.calendar-selected, .calendar-cell.calendar-next-month.calendar-selected {}\n .scheduler-continue-button, .scheduler-continue-button.active {}\n .scheduler-continue-button.disabled, .scheduler-time-available.active, .calendar-cell.calendar-selected {}\n\n ${t}\n ${e}\n `),this.rules=function(t,e){let n={},i={};for(let e of Object.keys(t))n[e.toLowerCase()]=t[e];if(document.styleSheets)for(let t=0;t .nld-avatar::after, .nld-clock .nld-pivot, .nld-cal, .nld-sel.nld-time, .nld-chatbot .nld-cell.nld-selected::after":"plain.headers/border",".nld-conversation-header, .nld-row.nld-header, .nld-row.nld-title, .nld-tooltip-error, .nld-timedisplay":"headers",".nld-opt":"single-options",".nld-sel.nld-multi .nld-opt":"multi-options",".nld-group.nld-right .nld-bubble":"user",".nld-group.nld-left .nld-bubble":"robot",".nld-handle":"scrollbar",".nld-sel > .nld-opt.nld-selected":"selected",".nld-submit":"submit",".nld-spinner":"spinner",".nld-sp-icon div":"sp-icon",".nld-scheduler-container":"outline",".scheduler-action-buttons-container > .scheduler-cancel-button, .scheduler-time-available-container > .scheduler-time-available, .scheduler-time-available.active, .scheduler-confirmation-date-formatting-decoration, .calendar-prev, .calendar-next, .calendar-cell.calendar-this-month, .calendar-cell.calendar-selected, .calendar-cell.calendar-prev-month.calendar-selected, .calendar-cell.calendar-this-month.calendar-selected, .calendar-cell.calendar-next-month.calendar-selected":"color",".scheduler-continue-button, .scheduler-continue-button.active":"background",".scheduler-continue-button.disabled, .scheduler-time-available.active, .calendar-cell.calendar-selected":"opacity"}),this.updateCSSColors()}updateMetadataColors(t){t.robotMainColor=t.robotMainColor||"#eee",t.userMainColor=t.userMainColor||"black";const e=function(t,e){const n=hn(t),i=hn(e);return pn(n.slice(0,3))>pn(i.slice(0,3))?t:e}(t.robotMainColor,t.userMainColor);this.metadata.colors=Object.assign({title:"white",subtitle:"white",scrollbar:e,submit:e,headers:e,options:e,selected:e,userMessage:e,userMessageText:mn(e,"white","black"),robotMessage:"#eee",robotMessageText:"black"},t.colors||{})}updateCSSColors(){const t=this.metadata.colors,e={headers:this.toPlain(t.headers),selected:this.toPlain(t.selected),submit:this.toPlain(t.submit)},n=this.toPlainOrGradient(t.selected),i=this.toPlainOrGradient(t.scrollbar),o=this.toPlainOrGradient(t.headers),a=this.toPlainOrGradient(t.options),r=this.toPlainOrGradient(t.userMessage),s=this.toPlain(t.userMessageText),l=this.toPlainOrGradient(t.robotMessage),c=this.toPlain(t.robotMessageText);this.toPlainOrGradient(t.submit);this.rules["plain.headers/bg"].style.cssText="background-color:"+e.headers+"!important",this.rules["plain.headers/border"].style.cssText="border-color:"+e.headers+"!important",this.rules.headers.style.cssText="background:"+o+"!important",this.rules["single-options"].style.cssText="background:"+a+"!important",this.rules["multi-options"].style.cssText="border-color:"+a+"!important;background:transparent!important",this.rules.user.style.cssText="background:"+r+"!important;color:"+s+"!important",this.rules.robot.style.cssText="background:"+l+"!important;color:"+c+"!important",this.rules.scrollbar.style.cssText="background:"+i+"!important",this.rules.selected.style.cssText="background:"+n+"!important;color:"+s+"!important",this.rules.submit.style.cssText="background-color:"+e.submit+"!important;color:"+e.submit+"!important",this.rules.spinner.style.cssText="border-color:"+e.submit+"!important",this.rules["sp-icon"].style.cssText="background-color:"+e.submit+"!important",this.rules.outline.style.cssText="outline:2px solid "+e.selected+"!important",this.rules.color.style.cssText="color:"+e.selected+"!important",this.rules.background.style.cssText="background:"+e.selected+"!important",this.rules.opacity.style.cssText="background:"+e.selected+"4C!important"}update(t,e){switch(t){case"color":this.isOpen||this.open(),this.updateMetadataColors({robotMainColor:e,userMainColor:e}),this.updateCSSColors();break;case"tooltipMessage":this.isOpen&&this.close(),this.showTooltip(),this.metadata.tooltipMessage=e,this.updateTooltipMessage();break;case"title":this.isOpen||this.open(),this.metadata.title=e||"",this.elTitle.innerHTML=this.metadata.title}}toGradient(t){return 2===t.length?`linear-gradient(to right, ${t[0]}, ${t[1]})`:"linear-gradient(to right, #000, #000)"}toPlainOrGradient(t){return Array.isArray(t)?this.toGradient(t):t}toPlain(t){return Array.isArray(t)?2===t.length?t[1]:"#000":t}addCustomClasses(){if("left"==this.metadata.side?this.elChatbot.classList.add(na):"center"==this.metadata.side&&this.elChatbot.classList.add(ia),this.metadata.avatar){const t='url("'+this.metadata.avatar+'")';this.elAvatar.style.backgroundImage=t,this.elTopBarAvatar.style.backgroundImage=t;const e=this.convoScript.hasOwnProperty("marginBottom")?this.convoScript.marginBottom:0;this.elAvatar.style.marginBottom=`${e}px`}}updateTooltipMessage(){this.elInviteText.innerHTML=this.metadata.tooltipMessage,Go.blink()}findTrackerById(t){if(t)for(const e of ga.getAll())if(e.get("trackingId")===t)return e;return null}sendSyncEvents(){window.dataLayer=window.dataLayer||[],window.gtag?(gtag("event","new_lead"),gtag("event","Leadster",{event_category:"new_lead"}),gtag("event",this.metadata.gaConversionEvent[1],{event_category:this.metadata.gaConversionEvent[0]}),this.metadata.gtagConversionId&>ag("event","conversion",{send_to:this.metadata.gtagConversionId,event_callback:()=>{}})):window.__gaTracker?__gaTracker("send","event",this.metadata.gaConversionEvent[0],this.metadata.gaConversionEvent[1]):window.dataLayer.push({event:"new_lead"}),this.metadata.fbqConversionEvents&&("undefined"==typeof fbq&&Oo.insertMetaPixel(this.metadata.fbqConversionEvents[1],this.metadata.fbqConversionEvents[0]),fbq("track",this.metadata.fbqConversionEvents[0]),window.dataLayer.push({event:this.metadata.fbqConversionEvents[0]}))}onSubmit(t){if(this.sendAnalyticsEvent("finish",(()=>{}),(()=>{})),this.backendSyncSent>0)if(this.backendSyncSent===this.backendSyncSynced){const t=e=>{this.syncCompletedWithBackend((()=>{}),(()=>{setTimeout((()=>{t(2*e)}),e)}))};t(1e3)}else this.completeWhenSynced=!0}showResetChatBtn(){neurolead.convoScript.chatRestartAtEnd&&this.conversation.addMessage("right",(0,r.Y)(Po,{}),(()=>{}))}onFlowInit(t){for(let{name:e,value:n}of t)this.addValuesToQueue(e,n,0)}sendClientAnalyticsEvent(t,e,n){let i=`Etapa - ${n} - ${t.split("::").slice(-1)[0]}`;this.metadata.gaConversionEvent&&this.metadata.gaConversionEvent.length>=2&&(window.__gaTracker&&__gaTracker("send","event","Neurologic",i),window.gtag&>ag("event",i,{event_category:"Neurologic"}))}onFlowStep(t,e,n){let{name:i,value:o,done:a}=t;const r=this.conversation.flow.step-1;o=Ze(o),this.growUpConversation(),this.sendAnalyticsEvent("step_"+r,(()=>{}));try{this.sendClientAnalyticsEvent(i,o,r)}catch(n){console.error("ga",n)}this.addValuesToQueue(i,o,r),this.checkUserData(i,o)[0]&&this.syncDataWithBackend((()=>{})),e(),a&&(this.onSubmit(this.conversation),this.showResetChatBtn())}growUpConversation(){this.elConversation.classList.add("nld-full")}addValuesToQueue(t,e,n){this.dataQueue.push({key:t,value:e,step:n})}popFromQueue(){let t={};const e=this.dataQueue.length;for(;this.dataQueueStartPtrt[e]))}emptyData(t){if(""===t)return!0;if(Array.isArray(t)){for(let e of t)if(""!==e)return!1;return!0}return!1}checkUserData(t,e){if(t.startsWith("nosync::"))return[!1,null];if(this.emptyData(e))return[!1,null];if(t.startsWith("always::")){let e=t.split("::");return[!0,e.slice(2,e.length).join("::")]}return[!0,t]}filterData(t){let e={};return Object.keys(t).forEach((n=>{let[i,o]=this.checkUserData(n,t[n]);i&&(e[o]=t[n])})),e}getAllFieldNames(t){let e=[];return t.forEach((t=>{"name"in t&&e.push(t.name),"children"in t&&(e=e.concat(this.getAllFieldNames(t.children)))})),e}getAlwaysFields(){const t=window.location.href||document.URL;let e={"9999::URL":t};for(let n of Object.keys(this.metadata.urlData)){let i=this.metadata.urlData[n],o=new RegExp(i,"g").exec(t);e[n]=o[1]}return this.getAllFieldNames(this.convoScript.script).forEach((t=>{let n=t.split("::");if("always"===n[0]&&n.length>1){let t=n.slice(2,n.length).join("::");e[t]=n[1]}})),e}augmentData(t){let e=this.getAlwaysFields();for(let n in e){let i=e[n];n in t||(t[n]=i)}return t}syncCompletedWithBackend(t,e){if(this.disableServerCommunication)return;const n=`${d}/lead/${this.guid}/sync`;let i=new XMLHttpRequest;i.open("GET",n,!0),i.timeout=oa,i.send(),i.onreadystatechange=()=>{4==i.readyState&&(2===Math.floor(i.status/100)?t(JSON.parse(i.response)):e())}}syncDataWithBackend(t){let e,n;do{n=!1,e=this.popFromQueue();for(let i of e){let e=this.filterData(i.data);Object.keys(e).length>0&&(this.sendToBackend(e,i.step,t),n=!0)}}while(e.length>0&&!n);if(this.completeWhenSynced&&!this.completedWhenSynced&&this.backendSyncSent==this.backendSyncSynced){this.completedWhenSynced=!0;const t=e=>{this.syncCompletedWithBackend((t=>{!0===t.is_valid&&this.sendSyncEvents()}),(()=>{setTimeout((()=>{t(2*e)}),e)}))};t(1e3)}}sendToBackend(t,e,n){if(this.disableServerCommunication)return;this.backendSyncSent+=1;const i=this.buildMessage(t,e),o=t=>{const e=`${d}/leads`,a=new XMLHttpRequest;a.open("POST",e,!0),a.setRequestHeader("Content-Type","application/json; charset=UTF-8"),a.setRequestHeader("Cors-Token",this.corsToken),a.timeout=oa,a.send(JSON.stringify(i)),a.onreadystatechange=()=>{if(4==a.readyState){if(401===a.status)return this.close(!0),void this.hideAvatar();2===Math.floor(a.status/100)?(this.backendSyncSynced+=1,setTimeout((()=>this.syncDataWithBackend((()=>{}))),0),n()):setTimeout((()=>{o(2*t)}),t)}}};o(1e3)}async sendToBackendAsync(t,e,n){if(this.disableServerCommunication)return;this.backendSyncSent+=1;const i=this.buildMessage(t,e);try{await xi.post(`${d}/leads`,i),n()}catch(t){console.log("Error sending data to backend: ",t)}}getUtms(){const t=this.parseQueryString(location.search.substring(1));return this.utm_source=this.getUtmSource(),{utm_content:t.utm_content||null,utm_medium:t.utm_medium||null,utm_source:t.utm_source||this.utm_source,utm_campaign:t.utm_campaign||null,utm_term:t.utm_term||null}}buildMessage(t,e){return 1===this.backendSyncSent&&(t=this.augmentData(t)),{id:this.guid,scriptVersion:this.metadata.scriptVersionId,script:this.metadata.scriptId,message:{step:e,data:t,demo:!!window.neuroleadLeadDemoMode,open_reason:this.openReason||"auto_opened",is_mobile:(0,i.F)(),utms:this.getUtms(),location:window.location.href||document.URL,browser:navigator.userAgent,referrer:document.referrer,integrations:this.metadata.integrations}}}sendAnalyticsEvent(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.disableServerCommunication)return;if(this.fireTrackingCodeForEvent(t),window.ga?window.ga("neurolead.send","event",window.neuroleadId.toString(),t):window._gaq&&_gaq.push(["neurolead._trackEvent",window.neuroleadId.toString(),t]),n)return;let o={userId:this.userId,sessionId:this.sessionId,leadId:this.userId+this.sessionId,company:window.neuroleadId,script:this.metadata.scriptId,event:t,clientVersion:this.clientVersion(),scriptVersion:this.metadata.scriptVersionId,time:(new Date).getTime()/1e3|0,devMode:!!window.neuroleadEventDevMode,isMobile:(0,i.F)(),referrer:document.referrer,location:window.location.href||document.URL};const a=t=>{const n=`${d}/events`;let i=new XMLHttpRequest;i.open("POST",n,!0),i.setRequestHeader("Content-Type","application/json; charset=UTF-8"),i.setRequestHeader("Cors-Token",this.corsToken),i.timeout=oa,i.send(JSON.stringify(o)),i.onreadystatechange=()=>{if(401===i.status)return this.close(!0),void this.hideAvatar();4==i.readyState&&(200==i.status?e():setTimeout((()=>{a(2*t)}),t))}};a(1e3)}fireTrackingCodeForEvent(t){if(this.metadata.eventTrackers){const e=this.metadata.eventTrackers[t];if(e)for(let t of e)this.fireTracker(t)}}fireTracker(t){if(t.length>0){const e=t.slice(1),n=t[0],i={taboola:this.fireTaboolaTracker.bind(this),gtag:this.fireGtagTracker.bind(this),facebook:this.fireFacebookTracker.bind(this)}[n];i&&i.apply(null,e)}}fireFacebookTracker(t,e){window.fbq&&fbq("track",t,e)}fireTaboolaTracker(t,e){window._tfa&&_tfa.push({notify:"event",name:t,id:e})}fireGtagTracker(t){window.gtag&>ag("event","conversion",{send_to:t,event_callback:()=>{}})}getData(){const t=this.filterData(this.conversation.flow.data);let e={};return Object.keys(t).forEach((n=>{const i=n.split("::"),o=i[i.length-1];e[o.toLowerCase()]=t[n]})),e}onResize(){this.conversation?.onResize()}onFocusInput(t){const e=t.target.tagName,n="focusin"==t.type;["input","textarea"].includes(e.toLowerCase())&&(0,i.F)()&&(this.isOpen||(n?(this.hideTooltip(),this.hideAvatar()):this.showAvatar()))}onMouseUp(t){this.conversation&&this.conversation.onMouseUp(t)}onMouseMove(t){this.conversation&&this.conversation.onMouseMove(t)}validateJSON(t){return null!=t.script}getUtmSource(){try{return void 0!==window.neurolead.convoScript.company_integrations&&window.neurolead.convoScript.company_integrations.split(",").includes("rdstation")?null===this.utm_source?function(t){for(var e=document.cookie.split(";"),n=0;n(window.neuroleadDefaultScript||{}).lang||window.neuroleadLanguage||"pt-BR",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAL33pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarVptlqwgDv2fVcwSBOTD5YDIObODWf7cBBS0tD7ee12n2yoLQ5Ibkhto2v7330L/wY9TxtFsfXCLcxN+5mVedMSbMNWfelXTLH/lZ25f4fPpPh1faNwyuJr60W1tfMR92x/w7QGVzvfJr01OaILaF7tAwzNrvGnjQhNkdL2v2mda2nNxHsxpv8VVsaoJv36ePZyRLeQZTXozykz4G3gWAw3MYiKuRv4GzXeCvOf7cOu97+h4e3He8e7iuym2++bsCppcG+AuPmr3lb33nXho1Ej1mU9fbEq5afwZfVdyKGWr1sXZwVOOmlG7KfIOAxNcaeQxh5fHr8V7L68FrwATVyCWgWbCayW1KA1vFzWrrKIqapPrqlaoOOtNe1y1XrWRe8F4vehVQJn5pYr2gCETENFmBWoGt/Whi5J5F5lvVQEzZ4WRWkGYwhMvL7q7+SevQ1Apaw21cPgKemmOaajByPFfjAIgqjSfWvGvvGiIm2kA1gBBK24OMDBOqYpIVvXYMoKzwTg7zdSWs/K5CYCLMLeFMsoAgQk5wiqnJq+1Vwp+DMAnQnNtZp2AgLJWZ0UF2BjjAA5WA+bGM17JWG11vY3UAiCsccYDGiwUgDXPFvHj54AYitbYmay1znob7GKjM2521jnnHeeo6I2fvfXOex/84mMwYQ42uOBDCEuIi14MUphd3OJpCcuyxIhJI0RHPB0xIsakk0lzsskln0JaUlwRPuu82tWtfg3rssass8lY/tllTznkJcdNbQilbd7s5ja/hW3ZYkGsFVPmYosrvoSylHig1lA9o6YuyL1HTTXUGLFZxvmOGm57v4tQnE4sYwbE9KyAuGcEENCaMZuCmmfNyDFm06KxKKwGasoyOFkxYkBw3pS2RR3YdeTe4kZ2/gk3/YQcMXT/Ajli6Bpyr7jdoJajVBQjAPEqZJ9OpiCxYcAWog6Ra9IfX+lvBXwUVOapBGfLtKayKcBV4DrEUi4lmbKtarP4mJJfUip+K1SQW+AmBTdtJbuEgZta/MoZCinbegO3LPxeQdiWp5J8WWwpesubdWteEqdVR+vmPb6boQcGPymBmL5Tg59oWpCokUoVAikl8qCiF7mHqdKGigFmwH/eXGkym38nJuAbfKpa2rUUHrVrOZstl83xexJFbTLO8aCczIKvctZpS4UnNBvPyZ8GgWL2IBBmE+wWid1yEdi9j+DbtCvi/er7BSaMnhftqTvfsPNH35vy3i2nK51vlLf+ylDuKTToXWwc6iE6L+Eqj8Nb0cFn0SoE5BrZZhdjYe4z8cIEF2GvsCcHr+hw9gpWdHdKoGFa08xaIps142EdrZiFjLJOoo2sHAgSZw/oRTL70mnYraVjpwbsaoZgN7ZFWEVJZHH80xwhqgaWhD8ESVTV8Fc9rkQU7vl7vakqvuNRAwypNB94sGtWCbvJCyBwjYOWhQEJyJXG+VQsAYBmfeIpS5g0ZwB2eIeEjRZMkCmiIHJAuOMHxoYBW8QcwK8ZlAVBlpzWA8Ma2azqEdn4ktXskV015cg+NJW5vs+QaSNejEcOOjA4re49Bw0g5BEEuUNOIgXViEM8I5RcssyVUICtQuu01DUeqgFTRNJJMHLTcF0GeYVkttLS5lGbEJwOA6a8rPCV2xaI8f35/Wn2Vn8eRYglNAE0SuDmarEb2AZ8yR5mtPTq4FbRJ3DYYHwOZoXtqKzQBhk3L5yPuKtJJpeYcT/vJv1wVVsAz0GGlKlXnSA2z5wHedrgc0I8iP8wgU7IoALAtsIGk4BwtF705MAIC6M2JZVKsqZ5EO51Ex6t9mcOYV8jOwXUfKzDZIueRBl8k5XlrM+9SFNq9werdfZHHP0BxEZ3RO5H8SVVcGsQVNUEXBGcJfyhnsCTU1WP0XFn5XyGIFvz0JaNCDMamSun6g+0N1I3H3N1L+z0XWW/FnbkFKlQcEFbFlTXBa/qXdDtuhBBx7pAuct9/YtF1PNmEygGrkO+4+A48l0dM+S7ba4G0msC3sUcGfiUf1nMOQNXl1H13alk9QQ5Zh2ZoiedWut62qFej/eSVzPhpSZ/LMj0vhJ/ryk9qfqrpvSWO3DZ/bK60FN5keryUqYG2jBUcC5SdBRwFnPSLB70GzI/ciTaQb2DhK0cSMXbgkRjbJwLkpSjFyjNA470fcixrYlzWJaa6pz4Cppzg5LJFm4V0bTx2qu5pGcSziNcntM2TTd1sVb5+pZGP/5RbIsjOY3w+r1Q6Z4DelqRxTsw6WtaofW1x3ohnUMYNpd2krO7lIR2jivjD3MAdUQGiF+tfWgcurV0aRw4Gefm/8pqjwBsi+tgRH1tCasd4gTuH6D1tSAdISMBw0QxS8T4lUMGYSKho3mLdahrnbTUujbQFlS1g7W4g7VYVLPsoScvkTRnVAwMK9JNixccHLW+DUBTyqlu0E64x6LR+PbRfF2LBi8TIarOurpMEJC4ZZgSPdGVb9kK3dIV2Ir6CY/GyVfWMhC/g7ZUDzbaQtWFvpyJn2InNsUAyYDISANd6TSQniBpNJBV8wxMqHwQcd/MXFtzyiNhKJZINW3xrvEy9kU6zBTykw8bRatOzFinSsxITNypTwW/k595eHo6Pz+wJxFBg4wTfbISs+wl22LXj3y7U7LGFqkzsp0wCl8elTqe35/e+XY1qj5Mt0+zk+/4MMdFuWed9D3tBHC2crcke8SrNBxbLQHo1zj9hJ6JXusPHr7mqZeO1hT6saO95y0odvRtbX8o7bXYQSK9Ns07MX3sms8ski1ORbbGzsx5+ZNEa1c6E6uRB7UyeeJBaeyyzaXLPqVq/Vjk+gaHlKizC7k5HryI9RPOtfgK/3Nw0LFnlb/bcHqiAPStZZ/KN431+2/KN90Tqpvg/VDG6a6O35RxSb6xPLMp+rVVeFpx9Ovm7qUFbAuk7fp9Sh53lXUvrJyUeV7668a4ZXayY4rfip9gTvZAVNwbYoIV4ujg60ZURsNoML2HNyRhZNnhoRMPyx+2eDJq4UOmoF9SxbtMQb+kipYpbjcQ6V0qvGwgMs51M++m+aKfMvSb5ot+TxitZ7i0DPQdiz6vPiaY14aB6v4le+N22y7sdRpVunOjSgEPbsQkkM7cqO7RnNhRPDhluaGZRwmnaw2Pcnwhjvwi5XdU6CXlt7QmOO9ZqK553i9e4DPIalkggEOx9dCPKl05MbsP3OyempHwzZ8Y9R2h5n/3ACbfE7xnfke/EbxnfkfvOwcmd7ulO7c7bB0t3ehz53DXN3Dp7Bu+pm5onrZ833UPb/s5emjodiz3beS+iXzZQq5YGk9tF/myiXzi6r42idz41cJYF4NYgFiqi4Hqjv1jwanta/i8w02vW9yDcrWj+Yq206+7xULbbwKEPkfIaSUMC+Hcw9FdE/eph5MOLtf03NIdlshZzAlW1x2X48m6146Hvjsa+JwZ6Dk1/HaoQbfxeEb7Yz/L644e+9naYdvjwKI364eYcQHT0ao3QecFDAftYC/7Ztn9MRDdnQO9HgPJUUOc3qQ/+i7/vQG1VTZ67U5bZZNy1E7fhtbzaOUGpsp9J/V/AFAjVc2T/v7YkOkG3e7SztPlhJ6j53pGv+9TVtVo36gcThkezujf75vSPzql/4fHGTWizwejPx8AgbnRXx2ttgMkZiz0hrKcQ/nN0SovCHo9Wh07jC+urRTQXx8cyl5r+9+aMskWvdXSvmx2TnWxyHx96lokpRDVFGchHJbJniEh/IS58hd1OD95Te2fMzu9pPZ6fr8a+efIOXMynXe2y6td5okv5IJ+3C3uOeXCO+lPiCcrxnWynhxX7elF/aMgn4l+Xf+natxZPh6jsRz37bhSgRlgkXxeMTw1rw0UTUfZ6yTqVLSXXrRHlrhDwpvqWTbr0AvUFJ7t/bb2l1f6UxZ7Oa1fadj2fjmt7+gN5/UPp/WUG9//bh/9bhvdijdpdNjgL55m/sI97WyeTbsTY9efexK6bDpL6cQMnV9/GRo0OD9Mf9HaUK3tP2TEhyv9rYDPguT4E7D+H0KenQvZgCFzAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAuJAAALiQE3ycutAAAAB3RJTUUH4wMIFQkQCIhbBQAABR1JREFUeNrtm81rXFUUwM/UaZMoiRshbtJVAk0FFxaxiYrQQBJqbaO1HU20ST9UXLg0oAiiYNNVE3DbJJt21/QvcFcVDMaKQVyoXZhWGphGJ21svsafm1v6OL1v5n3c994MzoFASN45555z7/m854o0oAEN+D9DLmkGQJOI7BORF0SkW0SeEpEnzM+j5rN/RKRofn4WkV9E5GsRWcjlcht1p1WgBSgAV4BVosOqoVEAWupB8CeBc0AR91AEJoD2mjMBoE1EPhaRDzzH2g82RGRJRErmdxGRZhFpE5HdIrKrCv6aiHwpImdzudydWtj1IeBmhZ27BcwAo8AeIF+BVt58M2pwblWgexMYytrOZ3wWtw1cBvorCRyARx4YMLS2fXhNp+4fgN3Aj5bFlIGLQGcCPDsN7bKF7zWgIy3h9wI3LIv4CdifAv8ew0vDErA3DeGXFeN/gfMm3qe1CU3ApOHtheXElGCOvd75e8Bwhn5oGFi3nISOJByetvm7wIEaiEIHzFq0T2hxyUR7+/VaEN6zvj7LSZh2Gee1zQ9LjQEwYvEJQ3GJtlmSnPM1nIpPWpKl1jgEz1lCXVMNK6AJWFRrnohT2KypJGd/QNwdwCMOBQtMz+QJZeWs213s/sUQPmMFKAGnHQj/OnDblMYnA+JcinUKTNgrqty+MyDuH+rUvBtD+DeBLdUfyAfA61K1QxFoDsP4DaXByyFwf7fUB+9E9OpbitZKCFOYU7iFMMyvKOT+ELj9JkOMrATghEX4LeB4CBoDCn8ujCddVfV8PuTuHbQkJmXgTADcMUvpuxlqBx+U0t66pRQoggG9ivlMRPt92UcJpyvgnPIR/ljENcwqWr1BkMYV0mgMJxZYCcAZS62/ARyNwX9M0RuPorU9McPYIR8lnPJ8856P8K/G5N2taM4GQZpXRU9eYgLwip8SgPctOfw6cNgB37xR5H2YD4J03YPwq8Nszk8JNuEPOeT7m4f29SAI3gjwveNc/bDaESwNloOOeS54E6kgCF4v/E0CBcsR49ltwg8mwO9bby6h/78jg6KtU0R2Wv6+U0TaJWtQJrDgmPZ4leuvbeBE1iaQlBP8yCLwmsUnOFVCFCc4r2KxizD4iUX4u8BLwGs+Sng7gTD4XRaJ0KcW4e8AL3q+sSlhC3gri0TISSpcLBYF+Nznzv95C9+jlugQSwnASUXvw1SKoc3NTQG+sAhfAnqqdH9sShhxVAz1JF4Ol8tlMYMMGv4GngvYArMpYTiC/Ycvh30aIgMhGH9mEf4v4NkQNI75KKEQgsZgpIaIQS5EaYkBuyz5/gqwL8LxPW5RQmotsUhNUdO+/lM1I5+J4cS0EtJpihoiExHb4r3AVeAr4GmHbfFS0IgUuy1uiLSrW9dyIC+aTHoe5mKk18nFiM8pqMersbNxCLZaLkcna1gBU2qtN2Jdjhqi9Xw9fsQV8WlL26qvhoS3DUhccMmgxYyd6Gqur0aEX0t0RMYw6jADSPokjGR87JMfkvIw9BuTm8pgTG4q1TE5pYQlS76/mEaeYOL8YiaDksocrvmMyl4CuhLg2WVoZzsqqxzjdIXm5py5oo47LD1oaPkNS1/I9DFFgHH5ZdOYGDMtqmrj8t3m21mLv9FJTuw47+rBRKs8eDDxWLWGkTz8YKJJRB4XkQ6ptwcTlgJqop6ezCSliGbTVJkzZWxUKBkahdD1fJomUC1mi/+zufvO6548/Gzuqoj8UJfP5hrQgAbUDfwHR1W28clE13IAAAAASUVORK5CYII=",i=n.e[t()].close_button,o=function(t,e){const n=e||document.body||document.getElementsByTagName("body")[0];let i=document.createElement("div");return i.innerHTML=t,n.appendChild(i.firstElementChild)}(`\n
\n
\n
\n
\n
\n
\n ${i}\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n Verificado pela Leadster\n \n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n ${i}\n
\n ${n.e[t()].logo}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n `,window.neuroleadIgnoreCustomContainer?null:document.getElementById("nld-custom-container"));window.neurolead=new aa(o,neuroleadId)}window.addEventListener("load",da,!1),document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&da()}),!1),"complete"===document.readyState&&da();let ua=null,ha=window.location.href;const pa=()=>{window.neurolead.elChatbot.remove(),delete window.neurolead,da()};new class{constructor(t){this.callback=t}listen(){this._overrideHistoryMethods(),["popstate","onload","click"].forEach((t=>{window.addEventListener(t,(t=>{this._onRouteChange(t)}))}))}_overrideHistoryMethods(){const t=history.pushState,e=history.replaceState,n=this;history.pushState=function(){for(var e=arguments.length,i=new Array(e),o=0;o{const n=new Set(["onload","popstate","click"]);("click"!==e?.type||n.has(ua))&&ha!==window.location.href&&(requestAnimationFrame(pa),ua=e?.type,ha=window.location.href)})).listen()})()})();