1// Funkcje zwiÄ zane z przewijaniem 2function scrollToTop() { 3 window.scrollTo(0, 0); 4} 5 6window.scrollToElement = (id) => { 7 const attemptScroll = (retries = 2) => { 8 const element = document.getElementById(id); 9 if (element) { 10 element.scrollIntoView({ behavior: 'smooth', block: 'start' }); 11 } else if (retries > 0) { 12 setTimeout(() => attemptScroll(retries - 1), 100); // Próba po 100ms 13 } 14 }; 15 attemptScroll(); 16}; 17 18window.scrollToSection = (sectionId) => { 19 const element = document.getElementById(sectionId); 20 if (element) { 21 element.scrollIntoView({ behavior: "smooth" }); 22 } 23};
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.