PageSourceSearch

https://www.wegezumholz.de/typo3conf/ext/wegezumholz_site/Resource…/JavaScript/footerBundle.min.js?1710757414

js wegezumholz.de collected 2026-10-02 18:37:40 UTC 13,837 bytes, 2 lines download raw bytes

1"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){new(function(){function e(){_classCallCheck(this,e),this.class={audioWrapper:".audio_wrapper",audioText:".js__audio-text"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"audioPlaceholder",value:function(){var e=this;document.querySelectorAll(this.class.audioWrapper).length>0&&document.querySelectorAll(this.class.audioWrapper).forEach((function(t){t.querySelector('button[type="button"]').addEventListener("click",(function(t){var n=t.currentTarget.parentElement;n.closest(".audio-module").querySelector(e.class.audioText).classList.add("d-none"),n.classList.add("d-none"),n.nextElementSibling.classList.add("d-block"),n.nextElementSibling.querySelector("iframe").setAttribute("src",n.dataset.source)}))}))}},{key:"init",value:function(){this.audioPlaceholder()}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={lorem:".js-lorem",breadcrumb:".js__breadcrumb",breadcrumbButton:".js__breadcrumb-btn",breadcrumbCurrentItem:".js__breadcrumb-current-item"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"addBreadcrumbEventHandler",value:function(){var e=this,t=document.querySelector(this.class.breadcrumbButton);t&&t.addEventListener("click",(function(t){return e.handleBreadcrumbBehavior(t)}))}},{key:"handleBreadcrumbBehavior",value:function(e){var t=this,n=document.querySelector(this.class.breadcrumb),a=document.querySelector(this.class.breadcrumbCurrentItem);e.currentTarget.classList.toggle("d-none"),"hidden"!==window.getComputedStyle(e.currentTarget).visibility&&n.querySelector(".breadcrumb-item").firstChild.addEventListener("click",(function(e){return t.showInitialState(e)})),n&&n.classList.contains("collapsed")?n.classList.remove("collapsed"):n.classList.add("collapsed"),a&&a.classList.contains("hidden")?(a.classList.remove("hidden"),a.classList.remove("d-none")):(a.classList.add("hidden"),a.classList.add("d-none"))}},{key:"showInitialState",value:function(e){e.preventDefault();var t=document.querySelector(this.class.breadcrumb);document.querySelector(this.class.breadcrumbButton).click(),t&&t.classList.contains("collapsed")&&t.classList.remove("collapsed"),e.currentTarget.removeEventListener("click",null)}},{key:"init",value:function(){this.addBreadcrumbEventHandler()}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={carousel:".js-carousel",carouselItem:".js-carousel-item",carouselControlNext:".carousel-control-next",carouselControlPrev:".carousel-control-prev"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"addKeyboardControlls",value:function(e){var t=this;e.forEach((function(e){e.addEventListener("keyup",(function(e){if(!e.defaultPrevented){var n=!1,a=e.key||e.code||e.keyCode;"ArrowRight"===a||39===a?(document.querySelector(t.class.carouselControlNext).click(),n=!0):"ArrowLeft"!==a&&37!==a||(document.querySelector(t.class.carouselControlPrev).click(),n=!0),n&&e.preventDefault()}}))}))}},{key:"setEqualHeights",value:function(e){function t(e,t){"function"==typeof t&&(t=t()),e.style.height="string"==typeof t?t:"".concat(t,"px")}var n,a=0,o=[];e.querySelectorAll(this.class.carouselItem).forEach((function(e,i){for(e.style.height="auto",e.classList.add("active"),o.push(e),a=a<parseFloat(getComputedStyle(e,null).height.replace("px",""))?parseFloat(getComputedStyle(e,null).height.replace("px","")):a,n=0;n<o.length;n+=1)t(o[n],a);0!==i&&e.classList.remove("active")}))}},{key:"init",value:function(){var e=this,t=document.querySelectorAll(this.class.carousel);t.length>0&&(this.addKeyboardControlls(t),t.forEach((function(t){window.addEventListener("load",(function(){e.setEqualHeights(t)})),window.addEventListener("resize",(function(){setTimeout((function(){e.setEqualHeights(t)}))})),window.addEventListener("orientationchange",(function(){setTimeout((function(){e.setEqualHeights(t)}))}))})))}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={needsValidation:".needs-validation",offcanvasInput:".js__offcanvas__solr-suggest",modalInput:".js__modal__solr-suggest",newsletterSubscriptionFormField:"input.subscription-email-prefill",newsletterSubscriptionFormFieldError:"input.subscription-email-validation-error",searchItem:".js__search-item"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}
1return _createClass(e,[{key:"handleFormValidations",value:function(){var e=document.querySelectorAll(this.class.needsValidation);!e.length>0||e.forEach((function(e){e.querySelectorAll("select, textarea, input").forEach((function(t){t.addEventListener("invalid",(function(t){e.classList.contains("was-validated")||(e.classList.add("was-validated"),e.classList.remove("needs-validation"),t.currentTarget.closest(".form-group").classList.remove("is-invalid")),t.currentTarget.closest(".form-group").classList.add("is-invalid")}))}))}))}},{key:"focusSearchInput",value:function(){var e=document.querySelector(this.class.offcanvasInput),t=document.querySelector(this.class.modalInput),n=document.querySelector(this.class.searchItem);e&&n&&n.addEventListener("click",(function(){document.querySelector("#offcanvas").addEventListener("shown.bs.offcanvas",(function t(n){e.focus(),n.currentTarget.removeEventListener("shown.bs.offcanvas",t)}))})),t&&document.querySelector("#searchModal").addEventListener("shown.bs.modal",(function(){t.focus()})),document.querySelector("#offcanvas").addEventListener("hidden.bs.offcanvas",(function(){e.blur()}))}},{key:"prefillNewsletterSubscriptionForm",value:function(){var e=document.querySelector(this.class.newsletterSubscriptionFormField);if(e){var t,n=window.location.search;(t=new URLSearchParams(n).get("email"))&&(e.value=t)}}},{key:"errorNewsletterSubscriptionForm",value:function(){var e=document.querySelector(this.class.newsletterSubscriptionFormFieldError);e&&(e.nextElementSibling.style.display="block")}},{key:"init",value:function(){this.handleFormValidations(),this.focusSearchInput(),this.prefillNewsletterSubscriptionForm(),this.errorNewsletterSubscriptionForm()}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={rlpmaps:".js-rlpmaps-map"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"rlpMaps",value:function(e,t,n,a,o,i,s){var r=s;return r.run=function(){r.zoom=i.dataset.zoom,Number.isNaN(parseInt(r.zoom,10))&&(r.zoom=7),r.autoFit=i.dataset.autofit,r.focusFirst=i.dataset.focusFirst;var s=document.getElementById("rlpmaps__records__".concat(o));1===parseInt(r.focusFirst,10)&&(r.center=[parseFloat(s.childNodes[0].getAttribute("data-lat")),parseFloat(s.childNodes[0].getAttribute("data-lng"))]),r.map=L.map(i.getAttribute("id")).setView(r.center,r.zoom),L.tileLayer.wms(e,{layers:t,format:n,transparent:!0,attribution:a}).addTo(r.map);for(var l=L.icon({iconUrl:"/typo3conf/ext/rlp_maps/Resources/Public/Images/RLP_marker_Icon.png",iconRetinaUrl:"/typo3conf/ext/rlp_maps/Resources/Public/Images/RLP_marker_Icon_2x.png",shadowUrl:"/typo3conf/ext/rlp_maps/Resources/Public/Css/images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]}),c=0;c<s.childNodes.length;c+=1){var d=s.childNodes[c],u=d.getAttribute("data-id"),m=L.marker([d.getAttribute("data-lat"),d.getAttribute("data-lng")],{icon:l}).addTo(r.map).bindPopup(document.getElementById("rlpmaps__record-".concat(u)).innerHTML);r.markers.push(m)}var h=new L.featureGroup(r.markers);1===parseInt(r.autoFit,10)&&r.map.fitBounds(h.getBounds())},r.openMarker=function(e){r.markers[e].openPopup()},r}},{key:"init",value:function(){var e=this;document.querySelectorAll(this.class.rlpmaps).forEach((function(t){var n="",a="",o=t.dataset.mapId,i="",s="",r=t.dataset.uid,l={map:null,markers:[],center:[49.957,7.152],zoom:null,focusFirst:0,autoFit:0},c=e,d=new XMLHttpRequest;d.open("POST","https://maps.rlp.de/services/services-rlp.json"),d.addEventListener("load",(function(){if(200===d.status){var e=JSON.parse(d.responseText);if(e.error);else{for(var u=0;u<e.length;u+=1)e[u].id===o&&(a=e[u].layerAttribution,n=e[u].url,i=e[u].layers,s=e[u].format);var m=c.rlpMaps(n,i,s,a,r,t,l);m.run(),document.addEventListener("click",(function(e){if(e.target.matches(".rlpmaps__markerlink")){e.preventDefault();var t=e.target;m.openMarker(parseInt(t.getAttribute("data-iteration-id"),10))}}),!1)}}})),d.send()}))}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={trigger:".
1js__siteWideMessaging",delay:1500,cookieName:"siteWideMessaging",cookieValue:1,closeButtonId:"closeSiteWideMessaging",modalId:"modalSiteWideMessaging"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"init",value:function(){this.siteWideMessaging()}},{key:"siteWideMessaging",value:function(){var e=this;document.querySelectorAll(this.class.trigger).length>0&&(document.getElementById(this.class.closeButtonId).addEventListener("click",(function(){e.setCookie()})),this.getCookie(this.class.cookieName)||setTimeout((function(){e.openModal()}),this.class.delay))}},{key:"openModal",value:function(){new bootstrap.Modal(document.getElementById(this.class.modalId),{}).show()}},{key:"setCookie",value:function(){document.cookie="".concat(this.class.cookieName,"=").concat(this.class.cookieValue)}},{key:"getCookie",value:function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),a=0;a<n.length;a+=1){for(var o=n[a];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"deleteCookie",value:function(){document.cookie="".concat(this.class.cookieName,"=;expires=Thu, 01 Jan 1970")}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={videoWrapper:".video_wrapper",carousel:".carousel",videoText:".js__video-text"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"videoPlaceholder",value:function(){var e=this,t=document.querySelectorAll(this.class.videoWrapper);t.length>0&&t.forEach((function(t){t.querySelector('button[type="button"]').addEventListener("click",(function(t){var n=t.currentTarget.parentElement;n.closest(".video-module").querySelector(e.class.videoText).classList.add("d-none"),n.classList.add("d-none"),n.nextElementSibling.classList.add("d-block"),n.nextElementSibling.querySelector("iframe").setAttribute("src","https://www.youtube-nocookie.com/embed/".concat(n.dataset.source,"?rel=0&controls=0&showinfo=0&autoplay=1"))}))}))}},{key:"iframeVideoStopOnSlide",value:function(){var e=document.querySelectorAll(this.class.carousel);e.length>0&&e.forEach((function(e){e.addEventListener("slide.bs.carousel",(function(){document.querySelectorAll(".carousel-video").forEach((function(e){e.currentTarget.closest(".carousel-item").classList.contains("active")&&e.currentTarget.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}))}))}},{key:"init",value:function(){this.videoPlaceholder(),this.iframeVideoStopOnSlide()}}]),e}()),new(function(){function e(){_classCallCheck(this,e),this.class={lightGallery:".lightgallery"},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.init.bind(this),!1):this.init()}return _createClass(e,[{key:"init",value:function(){var e=document.querySelectorAll(this.class.lightGallery);e.length>0&&e.forEach((function(e){var t=e.hasAttribute("data-enable-thumbs"),n=e.hasAttribute("data-enable-download"),a=e.querySelectorAll(".lightbox-item").length>1,o=document.querySelector(".js-lightgallery-termsofuse");lightGallery(e,{licenseKey:"D6DCCE11-A9E44E57-A60D181A-DB8E015BD6DCCE11-A9E44E57-A60D181A-DB8E015B",plugins:[lgThumbnail],controls:!0,selector:"a.lightbox-item",thumbnail:t,exThumbImage:"data-external-thumb-image",alignThumbnails:"left",download:n,hideBarsDelay:999999,counter:!1,preload:0,closable:!0,enableDrag:a,allowMediaOverlap:!0,toggleThumb:!0}),e.addEventListener("lgBeforeOpen",(function(){var e=document.querySelector(".lg-toolbar"),t=document.querySelector(".lg-toggle-thumb"),n=document.querySelector(".lg-components");e.appendChild(o),e.querySelector(".js-lightgallery-termsofuse").classList.remove("d-none"),n.appendChild(t)})),e.addEventListener("lgBeforeSlide",(function(e){var t=e.detail.index,n=document.querySelector(".lg-download"),a=document.querySelectorAll(".lightbox-item")[t],o=document.querySelector(".lg-filesize");if(!document.querySelector(".lg-download-wrapper")){var i=document.createElement("div");
1i.classList.add("lg-download-wrapper"),n.parentNode.insertBefore(i,n),i.appendChild(n)}o?o.innerHTML="(".concat(a.dataset.filesize,")"):n.insertAdjacentHTML("beforeend",'<div class="d-none d-sm-inline-block lb-dl-font">'.concat(a.dataset.downloadlabel,'<span class="lg-filesize ms-1">(').concat(a.dataset.filesize,")</span></div>"))}))}))}}]),e}())}));
2//# sourceMappingURL=/typo3conf/ext/wegezumholz_site/Resources/Public/JavaScript/footerBundle.min.js.map

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.