Prenez rendez-vous dans une maison témoin

var onloadCallback_6e1 = function () { var windowwidth = window.innerWidth; if (windowwidth < 520) { grecaptcha.render('html_element_@(recaptchaId)', { 'size': 'compact', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } else { grecaptcha.render('html_element_6e1', { 'size': 'normal', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } }; let recaptcha_6e1 = null let parent_6e1 = null let oldWidth__6e1 = null function loadCaptcha() { recaptcha_6e1 = document.getElementById("html_element_6e1"); parent_6e1 = recaptcha_6e1.parentNode; oldWidth = window.innerWidth; } function resizeCaptcha() { var width = window.innerWidth; if (width <= 520 && oldWidth_6e1 > 520) { parent_6e1.removeChild(recaptcha_6e1); let html_element = document.createElement('div'); html_element.id = "html_element_6e1"; parent_6e1.appendChild(html_element); recaptcha_6e1 = html_element; grecaptcha.render('html_element_6e1', { 'size': 'compact', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } else if (width > 520 && oldWidth_6e1 <= 520) { parent_6e1.removeChild(recaptcha_6e1); let html_element = document.createElement('div'); html_element.id = "html_element_6e1"; parent_6e1.appendChild(html_element); recaptcha_6e1 = html_element; grecaptcha.render('html_element_6e1', { 'size': 'normal', 'sitekey': '6LczI5IbAAAAAJcIv3jusS9h2E4L1CFa4qc6QgiF', 'theme': 'light' }); } oldWidth_6e1 = width; } window.addEventListener('DOMContentLoaded', loadCaptcha); window.addEventListener('resize', resizeCaptcha);