https://www.oneexoticstampa.com/wp-content/themes/aanWordpress/scripts/custom-sellcar.js?=1776954083
1function scrollToElement(targetId, offset = 0) { 2 const el = document.querySelector(targetId); 3 if (!el) return; 4 5 const y = el.getBoundingClientRect().top + window.pageYOffset - offset; 6 7 window.scrollTo({ 8 top: y, 9 behavior: 'smooth' 10 }); 11} 12 13function initAnchorScroll() { 14 15 document.addEventListener('click', function (e) { 16 17 const link = e.target.closest('a.elementor-button-link'); 18 if (!link) return; 19 20 const href = link.getAttribute('href'); 21 22 if (!href || !href.startsWith('#')) return; 23 24 const target = document.querySelector(href); 25 26 if (!target) return; 27 28 e.preventDefault(); 29 30 const header = document.querySelector('.header'); 31 const offset = header ? header.offsetHeight : 0; 32 33 scrollToElement(href, offset); 34 }); 35} 36 37initAnchorScroll();
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.