PageSourceSearch

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

js scripps.edu collected 2026-09-24 08:26:24 UTC 1,241 bytes, 1 lines download raw bytes

1function p(n){const t=n.querySelector(".mediaHubHero__right"),r=n.querySelector(".mediaHubHero__track");if(!t||!r)return;const l=window.matchMedia("(min-width: 1100px)"),h=t.querySelector(".mediaHubHero__panel"),o=n.querySelector(".mediaHubHero__scrollCue");function m(){return parseInt(getComputedStyle(document.documentElement).getPropertyValue("--header-current-height"),10)||96}let u=96,i=0;function c(){if(!l.matches){r.style.height="",t.style.transform="",o&&(o.style.opacity="");return}u=m();const e=window.innerHeight-u,s=h?h.scrollHeight:t.scrollHeight;i=Math.max(0,s-e),r.style.height=e+i+"px"}function a(){if(!l.matches)return;const e=r.getBoundingClientRect(),s=u;if(o&&(o.style.opacity=String(Math.max(0,1-Math.max(0,s-e.top)/160))),i<=0)return;const g=Math.max(0,Math.min(i,s-e.top));t.scrollTop=g}let d=!1;function f(){d||(d=!0,requestAnimationFrame(function(){d=!1,a()}))}return c(),window.addEventListener("scroll",f,{passive:!0}),window.addEventListener("resize",function(){c(),a()}),l.addEventListener("change",function(){c(),a()}),n.querySelectorAll("img").forEach(function(e){e.complete||e.addEventListener("load",function(){c(),a()},{once:!0})}),function(){window.removeEventListener("scroll",f)}}export{p 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.