PageSourceSearch

https://unia.ch/_assets/f47debafe7c72acba299e817b5fb3558/JavaScript/Bundles/bundle.c5aad693845064a8c44d.js

js unia.ch collected 2026-10-02 08:01:50 UTC 1,363 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkunia21=self.webpackChunkunia21||[]).push([[5154],{5154:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n}),i(9635);var s=i(2597);class n{constructor(){this.form=new s.default(".unia-nearby",{onSubmit:t=>this.onSubmit(t)}),this.$btn=document.querySelector(".tx-frpuniaindeinernaehe-pi1 button"),this.basePosition=200,this.rect=this.$btn.getBoundingClientRect(),this.height=this.getHeight();const t=document.querySelector(".hero");console.log(t),t?(this.$btn.style.top=window.innerHeight-(this.rect.top+window.scrollY)+56+"px",this.setPosition(),window.addEventListener("scroll",()=>this.setPosition())):this.$btn.classList.add("fixed")}onSubmit(){this.form.$el.submit()}setPosition(){const t=this.getHeight(),e=document.querySelector("header").offsetHeight+document.querySelector("main").offsetHeight;this.height===t||this.$btn.classList.contains("fixed")||(this.$btn.style.top="0px",this.rect=this.$btn.getBoundingClientRect(),this.$btn.style.top=window.innerHeight-(this.rect.top+window.scrollY)+"px"),window.innerHeight-this.basePosition<window.scrollY||e<window.innerHeight?this.$btn.classList.contains("fixed")||this.$btn.classList.add("fixed"):this.$btn.classList.remove("fixed")}getHeight(){const t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)}}}}]);

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.