PageSourceSearch

https://www.scripps.edu/wp-content/themes/scripps-theme/dist/assets/script-veWAdGLy.js

js scripps.edu collected 2026-10-01 08:34:06 UTC 817 bytes, 1 lines download raw bytes

1function g(t){p(t)}function p(t){const a=t.id,e=a?document.querySelector(`.timelinePage__sections .sectionTabs__tab[data-target="${a}"]`):null;if(!e)return;const c=parseInt(t.dataset.tabIndex||"0",10);let i=96,n=0;function o(){i=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--header-current-height"))||96,n=t.offsetHeight}const s=()=>{if(!e.classList.contains("is-active")){e.style.setProperty("--progress-width","0%");return}const d=i+(c+1)*24,u=Math.max(0,d-t.getBoundingClientRect().top),l=n>0?Math.min(100,Math.round(u/n*100)):0;e.style.setProperty("--progress-width",`${l}%`)};let r=!1;window.addEventListener("scroll",()=>{r||(r=!0,window.requestAnimationFrame(()=>{s(),r=!1}))},{passive:!0}),window.addEventListener("resize",()=>{o(),s()},{passive:!0}),o(),s()}export{g as default};

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.