PageSourceSearch

https://www.jandorfverlag.de/theme/7b854e8c11a721394be95354ac67376…-theme-core.core-scroll-to.plugin.01f7cd.js

js jandorfverlag.de collected 2026-09-24 11:38:34 UTC 888 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[87323],{7323:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});class s extends window.PluginBaseClass{static #t=this.options={stickyHeaderSelector:".header-main[data-core-sticky-header]",additionalOffset:10};init(){this._registerEvents()}_registerEvents(){this.el.addEventListener("click",this._scrollTo.bind(this),!1)}_scrollTo(t){t.preventDefault();let e=this.options,i=this.el.getAttribute("href").substring(1),s=document.getElementById(i),n=document.querySelector(e.stickyHeaderSelector),o=(n?n.offsetHeight:0)+e.additionalOffset;if(s){let t=s.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:t-o,behavior:"smooth"});let e=s.getAttribute("tabindex");s.setAttribute("tabindex","-1"),s.focus({preventScroll:!0}),window.setTimeout(()=>{null===e?s.removeAttribute("tabindex"):s.setAttribute("tabindex",e)},50)}}}}}]);

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.