Prenez rendez-vous dans une maison témoin

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