)box.hidden=false; document.addEventListener('click',function(e){ var open=e.target.closest('[data-bc-consent-open]');if(open){box.hidden=false;var f=box.querySelector('button');if(f)f.focus();return;} var b=e.target.closest('[data-bc-consent]');if(!b)return; var v=b.getAttribute('data-bc-consent')==='granted'?'granted':'denied'; document.cookie='bc_consent='+v+'; Max-Age=15552000; Path=/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':''); if(typeof gtag==='function'){gtag('consent','update',{ad_storage:v,ad_user_data:v,ad_personalization:v,analytics_storage:v});} box.hidden=true; }); })();