PageSourceSearch

https://www.hirrlingen.de/cache-buster-1790240307/assets/bundles/hitcomfrontend/js/layouts/head.min.js

js hirrlingen.de collected 2026-10-03 17:46:44 UTC 13,785 bytes, 1 lines download raw bytes

1const debounce=e=>{let t;return(...n)=>{t&&cancelAnimationFrame(t),t=requestAnimationFrame(()=>{e(...n)})}},testPassiveEventListener=()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>{e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}return e};Element.prototype.parents||(Element.prototype.parents=function(e){let t=[],n=this;const o=void 0!==e;for(;null!==(n=n.parentElement);)n.nodeType===Node.ELEMENT_NODE&&(o&&!n.matches(e)||t.push(n));return t}),window.NodeList&&!NodeList.prototype.has&&(NodeList.prototype.has=function(e){return Array.from(this).filter(function(t){return t.querySelector(e)})}),function(e,t){try{e.querySelector(":scope body")}catch(n){["querySelector","querySelectorAll"].forEach(function(n){const o=t[n];t[n]=function(t){if(/(^|,)\s*:scope/.test(t)){const o=this.id;this.id="ID_"+Date.now(),t=t.replace(/((^|,)\s*):scope/g,"$1#"+this.id);const i=e[n](t);return this.id=o,i}return o.call(this,t)}})}}(window.document,Element.prototype);const typeOf=e=>({}.toString.call(e).split(" ")[1].slice(0,-1).toLowerCase()),getParents=function(e,t){void 0===t&&(t=document);let n=[],o=e.parentNode;for(;o!==t;){const e=o;n.push(e),o=e.parentNode}return n.push(t),n},getPreviousSibling=function(e,t){let n=e.previousElementSibling;if(!t)return n;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}},getNextSibling=function(e,t){let n=e.nextElementSibling;if(!t)return n;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}},documentReady=function(e){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)},getUrlParameter=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const t=void 0,n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))},getDocumentWidth=function(){const e=document;return Math.max(e.body.scrollWidth,e.documentElement.scrollWidth,e.body.offsetWidth,e.documentElement.offsetWidth,e.body.clientWidth,e.documentElement.clientWidth)},getDocumentHeight=function(){const e=document;return Math.max(e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight,e.body.clientHeight,e.documentElement.clientHeight)},getViewportWidth=function(){const e=document;return document.documentElement.clientWidth},getViewportHeight=function(){const e=document;return document.documentElement.clientHeight},isInViewport=function(e,t){t=t||"all";const n=e.getBoundingClientRect(),o=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,r=n.top>=0&&n.bottom<=o,s=n.left>=0&&n.right<=i;return"vertical"===t||"vert"===t||"v"===t?r:("horizontal"===t||"hor"===t||"h"===t||r)&&s},isOnScreen=function(e){const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,o=window.innerWidth||document.documentElement.clientWidth,i=t.top<=n&&t.top+t.height>=0,r=t.left<=o&&t.left+t.width>=0;return i&&r},isNearScreen=function(e,t,n){t=t||0,n=n||"all";const o=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,s=o.top<=i+t&&o.top+o.height>=-1*t,l=o.left<=r+t&&o.left+o.width>=-1*t;return"vertical"===n||"vert"===n||"v"===n?s:("horizontal"===n||"hor"===n||"h"===n||s)&&l},isAboveScreen=function(e){const t=void 0;return e.getBoundingClientRect().bottom<(window.innerHeight||document.documentElement.clientHeight)},coversScreen=function(e){const t=e.getBoundingClientRect();return t.top<=0&&t.bottom>=(window.innerHeight||document.documentElement.clientHeight)},getCookie=function(e){const t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?t[2]:null},setCookie=function(e,t,n){n=n||365;const o=new Date;o.setTime(o.getTime()+864e5*n),document.cookie=e+"="+t+";path=/;expires="+o.toGMTString()},deleteCookie=function(e){setCookie(e,"",-1)},hasClass=function(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)},addClass=function(e,t){e.classList?e.classList.add(t):hasClass(e,t)||(e.className+=" "+t)},addClassDelayed=function(e,t,n){n=void 0!==n?n:1e3,setTimeout(function(){addClass(e,t)},n)},removeClass=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("\\b"+t+"\\b","g"),"")},removeClassDelayed=function(e,t,n){n=void 0!==n?n:1e3,setTimeout(function(){removeClass(e,t)},n)},toggleClass=function(e,t){if(e.classList)e.classList.toggle(t);else{let n=e.className.split(" ");const o=n.indexOf(t);o>
1=0?n.splice(o,1):n.push(t),e.className=n.join(" ")}},toggleClassDelayed=function(e,t,n){n=n||1e3,setTimeout(function(){toggleClass(e,t)},n)},setViewportUnits=()=>{computedStyleHtml=getComputedStyle(document.documentElement);const e=.01*document.documentElement.clientWidth/parseInt(computedStyleHtml.getPropertyValue("font-size"));document.documentElement.style.setProperty("--vw",`${e}rem`);const t=.01*document.documentElement.clientHeight/parseInt(computedStyleHtml.getPropertyValue("font-size"));document.documentElement.style.setProperty("--vh",`${t}rem`)},setBodyOverflowHidden=function(){const e=document.documentElement,t=document.body;scrollPositionY=window.pageYOffset,t.style.overflow="hidden",t.style.position="fixed",t.style.top="-"+scrollPositionY+"px",t.style.width="100%",e.classList.add("body-overflow-hidden"),setViewportUnits()},removeBodyOverflowHidden=function(){const e=document.documentElement,t=document.body;t.style.removeProperty("overflow"),t.style.removeProperty("position"),t.style.removeProperty("top"),t.style.removeProperty("width"),window.scrollTo(0,scrollPositionY),e.classList.remove("body-overflow-hidden"),setViewportUnits()},equalHeight=function(e){e=e||".equalheight";let t=0,n=0,o=0,i=new Array,r,s=0;const l=document.querySelectorAll(e);Array.prototype.forEach.call(l,function(e,l){r=e,r.style.height="auto";const c=r.getBoundingClientRect(),d=window.pageYOffset||document.documentElement.scrollTop;if(s=Math.ceil(c.top+d),o!==s){for(t=0;t<i.length;t++)i[t].style.height=n+"px";i.length=0,o=s,n=r.offsetHeight,i.push(r)}else i.push(r),n=n<r.offsetHeight?r.offsetHeight:n;for(t=0;t<i.length;t++)i[t].style.height=n+"px"})},getCaretIndex=function(e){let t=0;const n=void 0;if(void 0!==window.getSelection){const n=void 0;if(0!==window.getSelection().rangeCount){const n=window.getSelection().getRangeAt(0),o=n.cloneRange();o.selectNodeContents(e),o.setEnd(n.endContainer,n.endOffset),t=o.toString().length}}return t},setCaretIndex=function(e,t){const n=window.getSelection(),o=document.createRange();o.setStart(e.childNodes[0],t),o.collapse(!0),n.removeAllRanges(),n.addRange(o),e.focus()},scrollToContent=()=>{computedStyleHtml=getComputedStyle(document.documentElement);let e=computedStyleHtml.getPropertyValue("--header-height");e=""!==e?e.indexOf("rem")>-1?parseInt(e)*parseInt(computedStyleHtml.getPropertyValue("font-size")):parseInt(e):0;const t=document.querySelector(".page__main");if(null!==t&&!scrollLock){scrollLock=!0;const n=t.offsetTop;window.scrollTo(0,n-e),t.setAttribute("tabindex","-1"),setTimeout(()=>{t.focus()},300),setTimeout(()=>{scrollLock=!1},1e3)}},scrollIt=function(e,t,n,o,i){t=t||200,n=n||"linear",o=o||0;const r=function(e,t){return"linear"===e?t:"easeInQuad"===e?t*t:"easeOutQuad"===e?t*(2-t):"easeInOutQuad"===e?t<.5?2*t*t:(4-2*t)*t-1:"easeInCubic"===e?t*t*t:"easeOutCubic"===e?--t*t*t+1:"easeInOutCubic"===e?t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1:"easeInQuart"===e?t*t*t*t:"easeOutQuart"===e?1- --t*t*t*t:"easeInOutQuart"===e?t<.5?8*t*t*t*t:1-8*--t*t*t*t:"easeInQuint"===e?t*t*t*t*t:"easeOutQuint"===e?1+--t*t*t*t*t:"easeInOutQuint"===e?t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t:void 0},s=window.pageYOffset,l="now"in window.performance?performance.now():(new Date).getTime(),c=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),d=window.innerHeight||document.documentElement.clientHeight||document.getElementsByTagName("body")[0].clientHeight;let a="number"==typeof e?e:e.offsetTop;0!==o&&(a-=o);const u=Math.ceil(c-a<d?c-d:a);if("requestAnimationFrame"in window==!1)return window.scroll(0,u),void(i&&i());function m(){const e="now"in window.performance?performance.now():(new Date).getTime(),o=Math.min(1,(e-l)/t),c=r(n,o);window.scroll(0,Math.ceil(c*(u-s)+s)),Math.ceil(window.pageYOffset)!==u?requestAnimationFrame(m):i&&i()}m()},doubleTapToGo=function(e){if(!("ontouchstart"in window)&&!navigator.msMaxTouchPoints&&!navigator.userAgent.toLowerCase().match(/windows phone os 7/i))return!1;[].forEach.call(e,function(e,t){let n=!1;e.addEventListener("click",function(e){let t=this;t!=n&&(e.preventDefault(),n=t)},!1),["click","touchstart","MSPointerDown"].forEach(function(e){window.addEventListener(e,function(e){let t=!0;const o=e.target.parents();for(var i=0;i<o.length;i++)o[i]==n&&(t=!1);t&&(n=!1)},!1)})})},slideUp=(e,t=500)=>{e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",
1window.setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t)},slideDown=(e,t=500)=>{e.style.removeProperty("display");let n=window.getComputedStyle(e).display;"none"===n&&(n="block"),e.style.display=n;let o=e.offsetHeight;e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=o+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout(()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t)},slideToggle=(e,t=500)=>"none"===window.getComputedStyle(e).display?slideDown(e,t):slideUp(e,t),decryptCharcode=(e,t,n,o)=>(e+=o,o>0&&e>n?e=t+(e-n-1):o<0&&e<t&&(e=n-(t-e-1)),String.fromCharCode(e)),decryptString=(e,t)=>{for(var n="",o=0;o<e.length;o++){var i=e.charCodeAt(o);n+=i>=43&&i<=58?decryptCharcode(i,43,58,t):i>=64&&i<=90?decryptCharcode(i,64,90,t):i>=97&&i<=122?decryptCharcode(i,97,122,t):e.charAt(o)}return n},setMailLinksEventListener=(e=document.body)=>{const t=void 0;e.querySelectorAll("a[data-mailto-token][data-mailto-vector]").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const n=e.getAttribute("data-mailto-token"),o=-1*parseInt(e.getAttribute("data-mailto-vector"),10);window.location.href="mailto:"+decryptString(n,o)})})},mutationObserverCallback=e=>{e.forEach(e=>{"childList"===e.type&&null!==e.target.querySelector("a[data-mailto-token][data-mailto-vector]")&&e.target!==document.body&&setMailLinksEventListener(e.target)})},mutationObserverConfig={attributes:!0,childList:!0,subtree:!0},mutationObserver=new MutationObserver(mutationObserverCallback);function scrollToElement(e,t={},n=null){"function"==typeof t&&(n=t,t={});const o=new Promise((o,i)=>{if(!e){const e=new Error("Element not found");return n&&n(e,null),void i(e)}const{offset:r=0,tolerance:s=5,timeout:l=3e3}=t,c=e.getBoundingClientRect().top+window.pageYOffset-r,d=window.pageYOffset;window.scrollTo({top:c,behavior:"smooth"});const a=Date.now(),u={element:e,initialPosition:d,finalPosition:null},m=()=>{const e=window.pageYOffset;if(Math.abs(e-c)<=s)return u.finalPosition=e,o(u),void(n&&n(null,u));if(Date.now()-a>l){const e=new Error("Scroll timeout");return i(e),void(n&&n(e,null))}requestAnimationFrame(m)};requestAnimationFrame(m)});return n?void 0:o}document.addEventListener("DOMContentLoaded",()=>{setMailLinksEventListener(),mutationObserver.observe(document.body,mutationObserverConfig)});const isKeyboardEvent=e=>0===e.detail||"keyboard"===e.pointerType||"Enter"===e.key||" "===e.key,isKEscapeKey=e=>"Escape"===e.key||27===e.keyCode,isKEnterKey=e=>"Enter"===e.key||13===e.keyCode;function getFocusableElements(e=document){const t=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","details summary",'[tabindex]:not([tabindex="-1"])'];return Array.from(e.querySelectorAll(t.join(","))).filter(isElementFocusable)}function isElementFocusable(e){function t(e){const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&null!==e.offsetParent}return t(e)&&(e.tabIndex>=0||["a","button","input","select","textarea"].includes(e.tagName.toLowerCase()))&&!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")}function getFirstFocusableElement(e=document){const t=getFocusableElements(e);return t.length>0?t[0]:null}function focusFirstElement(e=document){const t=getFirstFocusableElement(e);return!!t&&(t.focus(),!0)}function getLastFocusableElement(e=document){const t=getFocusableElements(e);return t.length>0?t[t.length-1]:null}function focusLastElement(e=document){const t=getLastFocusableElement(e);return!!t&&(t.focus(),!0)}let computedStyleHtml=getComputedStyle(document.documentElement),scrollLock=!1,scrollPositionY=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.