PageSourceSearch

https://credit.com/hubfs/hub_generated/module_assets/1/19249453159…/module_credit-guide-section.min.js

js credit.com collected 2026-10-02 03:56:55 UTC 1,161 bytes, 2 lines download raw bytes

1var module_192494531591=void document.addEventListener("DOMContentLoaded",function(){const tocLinks=document.querySelectorAll(".cc_table-of-contents a"),sections=document.querySelectorAll(".cc_section");function updateActiveLink(){let currentSectionId="";sections.forEach(section=>{const sectionTop=section.offsetTop;section.clientHeight,window.scrollY>=sectionTop-100&&(currentSectionId="#"+section.getAttribute("id"))}),tocLinks.forEach(link=>{link.classList.remove("active"),link.getAttribute("href")===currentSectionId&&link.classList.add("active")})}let isScrolling;tocLinks.forEach(link=>{link.addEventListener("click",e=>{const targetId=link.getAttribute("href");if(targetId&&targetId.startsWith("#")){e.preventDefault();const targetSection=document.querySelector(targetId);targetSection&&targetSection.scrollIntoView({behavior:"smooth",block:"start"})}})}),window.addEventListener("scroll",()=>{clearTimeout(isScrolling),isScrolling=setTimeout(updateActiveLink,50)}),updateActiveLink()});
2//# sourceURL=https://45535472.fs1.hubspotusercontent-na1.net/hubfs/45535472/hub_generated/module_assets/1/192494531591/1771561170788/module_credit-guide-section.js

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.