PageSourceSearch

https://www.siku.de/theme/90cb1092fdf35b49884e707d0a60130d/js/storefront/storefront.scroll-up.plugin.b11d78.js

js siku.de collected 2026-09-24 11:28:23 UTC 1,611 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[58349],{8349(t,i,s){s.r(i),s.d(i,{default:()=>l});var e=s(4335),o=s(4059);class l extends e.A{static #t=this.options={scrollDebounceTime:35,buttonSelector:".js-scroll-up-button",visiblePos:250,visibleCls:"is-visible",topElementId:"page-top"};init(){this._button=this.el.querySelector(this.options.buttonSelector),this._defaultPadding=window.getComputedStyle(this._button).getPropertyValue("bottom"),this._assignDebouncedOnScrollEvent(),this._addBodyPadding(),this._registerEvents()}_registerEvents(){this._button&&(this._toggleVisibility(),this._button.addEventListener("click",()=>{this._scrollToTop(),this.$emitter.publish("onClickButton")})),document.addEventListener("scroll",this._debouncedOnScroll,!1),new MutationObserver(this._addBodyPadding.bind(this)).observe(document.body,{attributes:!0,attributeFilter:["style"]})}_assignDebouncedOnScrollEvent(){this._debouncedOnScroll=o.A.debounce(this._toggleVisibility.bind(this),this.options.scrollDebounceTime)}_scrollToTop(){window.scrollTo({top:0,behavior:"smooth"}),this._focusFirstElement(),this.$emitter.publish("scrollToTop")}_focusFirstElement(){let t=document.getElementById(this.options.topElementId);window.focusHandler.setFocus(t,{preventScroll:!0})}_toggleVisibility(){window.scrollY>this.options.visiblePos?this._button.classList.add(this.options.visibleCls):this._button.classList.remove(this.options.visibleCls),this.$emitter.publish("toggleVisibility")}_addBodyPadding(){this._button.style.bottom=`calc(${this._defaultPadding} + ${document.body.style.paddingBottom||"0px"})`}}}}]);

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.