1const CHECKOUT_URL = "https://pay.kiwify.com.br/nH8kXgq"; 2 3document.querySelectorAll('[data-checkout]').forEach(link => { 4 link.addEventListener('click', (e) => { 5 if (!CHECKOUT_URL) { 6 e.preventDefault(); 7 document.querySelector('#inscricao').scrollIntoView({behavior:'smooth'}); 8 } else { 9 link.href = CHECKOUT_URL; 10 link.target = '_blank'; 11 link.rel = 'noopener'; 12 } 13 }); 14}); 15 16const menuBtn = document.querySelector('.menu-toggle'); 17const nav = document.querySelector('.nav'); 18menuBtn?.addEventListener('click', () => { 19 const open = nav.classList.toggle('open'); 20 menuBtn.setAttribute('aria-expanded', String(open)); 21}); 22nav?.querySelectorAll('a').forEach(a => a.addEventListener('click', () => nav.classList.remove('open'))); 23 24const io = new IntersectionObserver(entries => { 25 entries.forEach(entry => { if (entry.isIntersecting) entry.target.classList.add('visible'); }); 26}, {threshold:.08}); 27document.querySelectorAll('.reveal').forEach(el => io.observe(el));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.