1/* Source and licensing information for the line(s) below can be found at https://www.adesso-online.de/themes/custom/spotlight/js/spotlight-fixedelement.js. */ 2(function(n,e,t){'use strict';function i(i,o){var n=this,l=!1,s=e.outerWidth||e.screen.width;this.container=typeof o==='string'?t.querySelector(o):(o instanceof jQuery?o[0]:o);this.element=typeof i==='string'?t.querySelector(i):(i instanceof jQuery?i[0]:i);if(!(this.container instanceof HTMLElement)||!(this.element instanceof HTMLElement)){return};this.containerStart=(c(this.container)).top;this.containerHeight=this.container.offsetHeight;this.containerEnd=this.containerStart+this.containerHeight;this.elementWidth=this.element.offsetWidth;this.elementHeight=this.element.offsetHeight;e.addEventListener('scroll',r,!1);e.addEventListener('touchmove',r,!1);function r(i){var o=e.pageYOffset||e.scrollY||t.documentElement.scrollTop;if(n.containerHeight!==n.container.offsetHeight){n.containerHeight=n.container.offsetHeight;n.containerEnd=n.containerStart+n.containerHeight};if(n.containerStart<o&&(n.containerEnd-n.elementHeight)>o){if(!l){n.element.style.width=n.elementWidth+'px';n.element.style.position='fixed';n.element.style.top=s<767?null:'0px';n.element.style.bottom=s>767?null:'0px';n.element.classList.add('fixed-moving')};l=!0} 3else{l=!1;n.element.style.width=null;n.element.style.position=null;n.element.style.top=null;n.element.style.bottom=null;n.element.classList.remove('fixed-moving')}};function c(n){if(n instanceof HTMLElement!==!0){return null};var l=n.getBoundingClientRect(),i=t.body,o=t.documentElement,s=e.pageYOffset||o.scrollTop||i.scrollTop,r=e.pageXOffset||o.scrollLeft||i.scrollLeft,c=o.clientTop||i.clientTop||0,f=o.clientLeft||i.clientLeft||0,a=l.top+s-c,h=l.left+r-f;return{top:Math.round(a),left:Math.round(h)}}};n.FixedElement=i})(typeof self!=='undefined'?self:this,window,document); 4/* Source and licensing information for the above line(s) can be found at https://www.adesso-online.de/themes/custom/spotlight/js/spotlight-fixedelement.js. */
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.