PageSourceSearch

https://www.ph-heidelberg.de/_assets/2fa984ac8935097b810880d22d3f7…/public-ui/ScrollTopController-CgHDbCm9.js

js ph-heidelberg.de collected 2026-09-24 09:00:25 UTC 1,141 bytes, 1 lines download raw bytes

1var n=s=>{throw TypeError(s)};var d=(s,o,i)=>o.has(s)||n("Cannot "+i);var l=(s,o,i)=>(d(s,o,"read from private field"),i?i.call(s):o.get(s)),r=(s,o,i)=>o.has(s)?n("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(s):o.set(s,i),h=(s,o,i,a)=>(d(s,o,"write to private field"),a?a.call(s,i):o.set(s,i),i);import{t as p}from"./throttle-debounce-BnOnwhtV.js";var t,c,e;class b{constructor(o){r(this,t);r(this,c,{scrollToShow:250,isVisibleClassName:"is-visible"});r(this,e);h(this,e,{...l(this,c),...o}),h(this,t,document.querySelector(".scroll-top-container .scroll-top")),l(this,t)&&(window.addEventListener("scroll",p(100,i=>{this.handleScroll()})),l(this,t)._on={onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}handleScroll(){(window.scrollY||document.body.scrollTop||window.pageYOffset)>l(this,e).scrollToShow?this.show():this.hide()}isVisible(){return l(this,t).classList.contains(l(this,e).isVisibleClassName)}hide(){l(this,t).classList.remove(l(this,e).isVisibleClassName)}show(){l(this,t).classList.add(l(this,e).isVisibleClassName)}}t=new WeakMap,c=new WeakMap,e=new WeakMap;export{b 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.