PageSourceSearch

https://www.swh-hy.de/s/wp-content/plugins/swh-group/assets/generated/main.js?ver=1790109383

js swh-hy.de collected 2026-10-06 21:35:32 UTC 2,664 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(t){t(".gallery").each(function(){t(this).find(".gallery-item a").addClass("zoomEffekt").append('<span class="zoomIcon"></span>')}),t("[data-domobilenav]").click(function(){t(t(this).data("domobilenav")).toggleClass("active")})});jQuery(document).ready(function(t){let e=[],i=[];if(document.querySelectorAll(".swhLinkTarget").forEach((l,n)=>{let a={index:n,id:l.id,title:l.getAttribute("data-link-title")};i.push(a),e.push('<li><a id="quicknavLink-'+n+'" href="#'+a.id+'">'+a.title+"</a></li>")}),e.length===0)return;let o="";o+='<div id="swhGroupQuickNavigation">',o+="<ul>"+e.join("")+"</ul>",o+="</div>",jQuery(document.body).append(o),jQuery("#swhGroupQuickNavigation a").click(function(l){u(this.hash,l)}),s(i),setTimeout(function(){s(i)},1*1e3),setTimeout(function(){s(i)},10*1e3),setTimeout(function(){s(i)},30*1e3),setTimeout(function(){s(i)},60*1e3),d(i)});function s(t){t.forEach(e=>{e.elem===void 0&&(e.elem=document.getElementById(e.id)),e.link===void 0&&(e.link=document.getElementById("quicknavLink-"+e.index)),e.position=e.elem.getBoundingClientRect().top+window.pageYOffset})}function d(t){let e=null,i=jQuery("#masthead.doSticky");window.addEventListener("scroll",()=>{let o=0;i.is(":visible")&&i.length>0&&(o=i.outerHeight());let l=t.filter(n=>n.position<=window.pageYOffset+80+o&&n.position>=window.pageYOffset-500);if(l.length>1&&l.sort((n,a)=>window.pageYOffset-n.position-window.pageXOffset-a.position),l.length>0){let n=l[0];jQuery(n.link).parent().addClass("active"),e!==n&&(e!==null&&jQuery(e.link).parent().removeClass("active"),e=n)}else e!==null&&(jQuery(e.link).parent().removeClass("active"),e=null)})}function u(t,e){var i=jQuery,o=i(t);if(o.length>0){e&&e.preventDefault();var l=o.offset().top,n=jQuery("#wpadminbar");n.length>0&&(l-=n.outerHeight());var a=jQuery("#masthead");a.is(":visible")&&a.length>0&&(l-=a.outerHeight()),i("html, body").stop().animate({scrollTop:l},600,"swing",function(){window.location.hash!==""&&(window.location.hash="-")})}}window.smoothScrollTo=u;var f=[];document.querySelectorAll(".doSticky").forEach(function(t){f.push({elem:t,offsetPos:t.offsetTop})});r();window.onscroll=function(){r()};function r(){f.forEach(function(t){let e=window.pageYOffset,i=!1;t.elem.getAttribute("sticky-preserveheight")=="true"&&(i=!0),t.elem.getAttribute("sticky-offset")!==null&&(e=e-parseInt(t.elem.getAttribute("sticky-offset"))),e>=t.offsetPos?(i&&t.elem.parentElement.style.height!==void 0&&(t.elem.parentElement.style.height=t.elem.parentElement.clientHeight+"px"),t.elem.classList.add("sticky")):(t.elem.classList.remove("sticky"),i&&(t.elem.parentElement.style.height=void 0))})}

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.