PageSourceSearch

https://cccnewyork.org/app/themes/cccnyc/public/js/scroll-to.aa275e.js

js cccnewyork.org collected 2026-10-03 21:54:59 UTC 999 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_roots_bud_sage=self.webpackChunk_roots_bud_sage||[]).push([[746],{
1"./scripts/blocks/scroll-to.js":(e,t,l)=>{l.d(t,{A:()=>a});let o=window.location.hash,s=document.querySelectorAll("[data-scroll-to-label]"),r=document.querySelector("#site-header");window.onload=()=>{if(0!=o){let e=document.querySelector(`${o.replace(/\?.*$/g,"")}`);null!==e&&n(e,1e3)}},null!==s&&s.forEach((e=>{0!==e.hash.length&&e.addEventListener("click",(e=>{e.preventDefault();let t=document.querySelector(`${e.currentTarget.hash}`);null!==t&&n(t,1e3),t.focus()}))}));let n=(e,t)=>{let l=null!==r?e.offsetTop-r.offsetHeight:e.offsetTop,o=window.pageYOffset,s=l-o,n=null,a=e=>{null===n&&(n=e);let l=e-n,r=Math.easeInOutCirc(l,o,s,t);window.scrollTo(0,r),l<t&&requestAnimationFrame(a)};Math.easeInOutCirc=function(e,t,l,o){return(e/=o/2)<1?-l/2*(Math.sqrt(1-e*e)-1)+t:(e-=2,l/2*(Math.sqrt(1-e*e)+1)+t)},requestAnimationFrame(a)};const a=n}
1},e=>{var t;t="./scripts/blocks/scroll-to.js",e(e.s=t)}]);

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.