(window.webpackJsonp=window.webpackJsonp||[]).push([["AjaxContent"],{Au3q:function(t,n,e){"use strict";e.r(n);e("HPBY");document.addEventListener("DOMContentLoaded",(function(){function t(t){document.querySelectorAll(t).forEach((function(t){var n=t.dataset.fetchurl;if("string"==typeof n&&""!==n.trim()){var e=function(t){var n=new URL(t,window.location.origin);return n.pathname.endsWith("/")&&(n.pathname=n.pathname.substring(0,n.pathname.length-1)),n.toString()}(n);fetch(e).then((function(t){return t.text()})).then((function(n){t.innerHTML=n,window.picturefillBackground(),void 0!==window.appendLanguageParamToContactButtons&&window.appendLanguageParamToContactButtons()})).catch((function(t){return console.error(t)}))}}))}function n(){t(".filteredAddressList"),t(".eventContainer"),t(".news")}n(),document.addEventListener("location-changed",n)}))},HPBY:function(t,n){!function(t){"use strict";t.picturefillBackgroundOptions={selector:"picturefill-background",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"50% 50%"},t.picturefillBackground=function(){for(var n=t.document.getElementsByClassName(t.picturefillBackgroundOptions.selector),e=0,a=n.length;e<a;e++){for(var o=n[e].getElementsByTagName("span"),i=[],r=0,c=o.length;r<c;r++){var u=o[r].getAttribute("data-src"),d=o[r].getAttribute("data-media");u&&(!d||t.matchMedia&&t.matchMedia(d).matches)&&i.push(u)}if(i.length)u=i.pop(),new RegExp(u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).test(n[e].style.backgroundImage)||(n[e].style.backgroundImage="url('"+u+"')",n[e].style.backgroundSize=t.picturefillBackgroundOptions.backgroundSize,n[e].style.backgroundRepeat=t.picturefillBackgroundOptions.backgroundRepeat,n[e].style.backgroundPosition=t.picturefillBackgroundOptions.backgroundPosition)}},t.addEventListener?(t.addEventListener("load",t.picturefillBackground,!1),t.addEventListener("resize",t.picturefillBackground,!1),t.addEventListener("DOMContentLoaded",(function(){t.picturefillBackground(),t.removeEventListener("load",t.picturefillBackground,!1)}),!1)):t.attachEvent&&t.attachEvent("onload",t.picturefillBackground)}(window)}},[["Au3q","runtime"]]]);
//# sourceMappingURL=AjaxContent.a1b17b2e.js.map