1(()=>{var e={1493:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{const e=(e,i,s)=>{e.addEventListener("click",(()=>{n.forEach((e=>i.classList.remove(e))),i.classList.toggle(t,s)})),e.addEventListener("keypress",(e=>{"Enter"===e.key&&(n.forEach((e=>i.classList.remove(e))),i.classList.toggle(t,s))}))},t="-js-fullscreenMap--filter-active",n=["-js-fullscreenMap--list-active","-js-fullscreenMap--search-active"];s().documentReady((()=>{const n=Array.from(document.getElementsByClassName("fullscreenMap")),i=new URLSearchParams(window.location.search).has("ident");n.forEach((n=>{(t=>{const n=t.querySelector('[data-function="filter__opener"]'),i=t.querySelector('[data-function="filter__reset"]'),s=t.querySelector("#fullscreenMap__filterFooter__apply");e(n,t,!0),e(i,t,!1),e(s,t,!1),i&&i.addEventListener("click",(()=>{window.filterManager&&window.filterManager.reset()}))})(n),window.innerWidth>=1e3&&!i&&n.classList.add(t)})),document.querySelectorAll(".fullscreenMap__checkbox__input").forEach((e=>{const t=e.onchange;e.onchange=n=>{if(window.filterManager){const t=e.getAttribute("name"),i=e.value,s=e.checked,l=e.closest(".fullscreenMap__checkbox")?.querySelector(".fullscreenMap__checkbox__label")?.textContent.trim();window.filterManager.pendingFilters[`${t}_${i}`]={Sender:{rootNode:e},type:"checkbox",name:t,value:i,checked:s,label:l,counter:s?1:0,triggerNode:e.closest(".maplegend__item")||e.closest(".fullscreenMap__accordion__item")},window.filterManager.updateFilterUI(window.filterManager.pendingFilters[`${t}_${i}`]),n.stopPropagation()}if(t&&"function"==typeof t){const n=new Event("change",{bubbles:!1});t.call(e,n)}}})),document.querySelectorAll(".fullscreenMap__switchPill__checkbox").forEach((e=>{const t=e.onchange;e.onchange=n=>{if(window.filterManager){const t=e.parentElement.querySelector(".fullscreenMap__switchPill__text").textContent.trim(),i=e.checked;window.filterManager.pendingFilters[`generalFilter_${t}`]={Sender:{rootNode:e},type:"switchPill",label:t,checked:i,counter:i?1:0,triggerNode:e.closest(".fullscreenMap__general")},window.filterManager.updateFilterUI(window.filterManager.pendingFilters[`generalFilter_${t}`]),n.stopPropagation()}if(t&&"function"==typeof t){const n=new Event("change",{bubbles:!1});t.call(e,n)}}}))}))})()},2867:()=>{},8483:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{const e="-js-fullscreenMap--list-disabled";s().documentReady((()=>{Array.from(document.getElementsByClassName("fullscreenMap")).forEach((t=>{var n;(n=t).classList.add(e),setTimeout((()=>{n.classList.remove(e)}),6e3)}))}))})()},10983:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{const e={fullscreenMap:"fullscreenMap",active:{search:"-js-fullscreenMap--search-active",filter:"-js-fullscreenMap--filter-active",list:"-js-fullscreenMap--list-active"},dataFunction:{opener:"search__opener",closer:"search__closer"}},t=(t,n)=>{[e.active.filter,e.active.list].forEach((e=>t.classList.remove(e))),t.classList.toggle(e.active.search,n),n?setTimeout((()=>{const e=document.getElementById("fullscreenMap__search__input");e&&e.focus()}),50):window.innerWidth>=1001&&t.classList.add(e.active.list)},n=(e,n,i)=>{e.addEventListener("click",(()=>{t(n,i)})),e.addEventListener("keypress",(e=>{"Enter"===e.key&&t(n,i)}))},i=t=>{const i=t.querySelector(`[data-function="${e.dataFunction.opener}"]`),s=t.querySelector(`[data-function="${e.dataFunction.closer}"]`);n(i,t,!0),n(s,t,!1)};s().documentReady((()=>{Array.from(document.getElementsByClassName(e.fullscreenMap)).forEach(i)}))})()},16675:(e,t,n)=>{const i=n(58611);(()=>{const e=t=>{const n=t.parentElement;return n.classList.contains("fullscreenMap")?n:e(n)},t=t=>{const n=e(t);n&&t.addEventListener("click",(()=>n.classList.remove("fullscreenMap--infoWindow")))};i.documentReady((()=>{Array.from(document.querySelectorAll(".fullscreenMap__infoWindowContainer .infoWindow__closer")).forEach((e=>t(e)));const e=document.querySelector(".fullscreenMap__mapFooter__button.fullscreenMap__mapFooter__button--list");t(e)}))})()},16828:(e,t,n)=>{"use strict";var i=n(56632);const s=n(58611),l=n(87111);(()=>{const e=document.getElementById("fullscreenMap__search__input"),t=document.querySelector("#fulltextSearchOverlay .fulltextSearchOverlay__suggest");s.documentReady((()=>{e&&(new i.A(e,e.form,t,document.documentElement.lang.substring(0,2)).build(),e.addEventListener("input",(()=>{e.value.length>2?l.setNotScroll():l.setScroll()})))}))})()},24856:(e,t,n)=>{n(87111),e.exports=(()=>{const e=(e,t)=>
1t.classList.contains(s),t=(e,t)=>!t.classList.contains(s),n=new Event("Open"),i=new Event("NotOpen"),s="-lux-OpenActionMenu";return{isOpen:e,setOpen:(t,l)=>{if(!e(0,l)){(e=>{const t=e.getElementsByClassName(s);for(let e of t)e.classList.remove(s),e.dispatchEvent(i)})(t),l.classList.add(s),l.dispatchEvent(n);const e=l.querySelector(".actionMenu");e&&e.dispatchEvent(n)}},onOpen:(t,n,i)=>{e(0,n)&&setTimeout(i),n.addEventListener("Open",i)},isNotOpen:t,setNotOpen:(e,n)=>{if(!t(0,n)){n.classList.remove(s),n.dispatchEvent(i);const e=n.querySelector(".actionMenu");e&&e.dispatchEvent(i)}},onNotOpen:(e,n,i)=>{t(0,n)&&setTimeout(i),n.addEventListener("NotOpen",i)}}})()},36964:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{class e{constructor(){this.hintElement=document.querySelector("[data-fullscreen-map-hint]"),this.hintElement&&this.initialize()}initialize(){this.updateHintVisibility(),this.hookFilterEvents()}hookFilterEvents(){document.querySelector(".maplegend")?.addEventListener("filters:applied",(()=>{this.updateHintVisibility()}));const e=document.querySelector('[data-function="filter__reset"]');e&&e.addEventListener("click",(()=>{setTimeout((()=>this.updateHintVisibility()),50)}))}updateHintVisibility(){window.filterManager?Object.keys(window.filterManager.appliedFilters||{}).length>0||window.filterManager.searchFilter&&window.filterManager.searchFilter.length>0?this.hintElement.classList.add("fullscreenMap__hint--hidden"):this.hintElement.classList.remove("fullscreenMap__hint--hidden"):console.warn("FilterManager not available")}}s().documentReady((()=>{const t=()=>{window.filterManager?window.hintManager=new e:setTimeout(t,100)};t()}))})()},39326:(e,t,n)=>{const i=n(58611),s=n(24856);(()=>{const e=e=>{for(let t of e){if(t===document)break;
1if(t.classList.contains("actionMenu__wrap"))return!0}return!1},t=t=>{const n=t.getElementsByClassName("maplegend__item");for(let i of n){const n=i.parentElement,l=n.querySelector(".actionMenu"),r=l.querySelectorAll(".actionMenu__footer .button, .actionMenu__closer");n.addEventListener("click",(r=>{s.isOpen(t,n)?r.target!==i&&r.target!==l||s.setNotOpen(t,n):e(r.composedPath())||s.setOpen(t,n)})),r.forEach((e=>e.addEventListener("click",(()=>s.setNotOpen(t,n)))))}};i.documentReady((()=>{const e=document.getElementsByClassName("maplegend");for(let n of e)t(n)}))})()},45555:()=>{window.imx=window.imx||{},imx.Autocomplete=function(e,t){this.keyCodes={UP:38,DOWN:40,RETURN:13,TAB:9,ESC:27,DEL:46};var n={appendTo:document.querySelector("body"),adapter:null,inputClass:"autocomplete",resultsClass:"results",loadingClass:"loading",enableListStyle:!0,minChars:1,delay:400,lazyInit:!0,listElement:"<ul>",itemElement:"<li>",wrap:{start:function(e,t,n){return!1},end:function(e,t,n){return!1},element:"<div>"},templates:{},keyCodeEvents:{},events:{select:function(e){return this},change:function(e){return this},create:function(){return this},destroy:function(){return this},show:function(){return this},hide:function(){return this},beforeRequest:function(){return this},afterRequest:function(){return this},error:function(){return this},blur:function(e){return!1},keyDown:function(e){return!1}}};this.setSettings(Autocomplete_util.extend(!0,n,t)),this.setInput(e)},imx.Autocomplete.prototype.getInput=function(){return this.input},imx.Autocomplete.prototype.setInput=function(e){return this.input=e,this},imx.Autocomplete.prototype.getList=function(){return this.list},imx.Autocomplete.prototype.setList=function(e){return this.list=e,this},imx.Autocomplete.prototype.getSettings=function(){return this.settings},imx.Autocomplete.prototype.setSettings=function(e){return this.settings=e,this},imx.Autocomplete.prototype.handleKeyDown_=function(e){var t=this,n=this.getInput(),i=this.getList(),s=this.getSettings(),l=null,r="";if("function"!=typeof s.keyCodeEvents[e.keyCode]||!s.keyCodeEvents[e.keyCode].call(this,e))switch(e.keyCode){case t.keyCodes.UP:Autocomplete_util.isVisible(i)?(t.select_("prev",r),e.preventDefault()):t.show();break;case t.keyCodes.DOWN:Autocomplete_util.isVisible(i)?(t.select_("next",r),e.preventDefault()):t.show();break;case t.keyCodes.RETURN:case t.keyCodes.TAB:Autocomplete_util.isVisible(i)&&i.querySelectorAll(".selectable.selected").length>0&&(t.change_(),e.preventDefault());break;case t.keyCodes.ESC:t.hide();break;default:s.events.keyDown.call(this,e)||(clearTimeout(l),l=setTimeout((function(){r=n.value,t.handleChange_()}),s.delay))}},imx.Autocomplete.prototype.handleBlur_=function(e){this.getSettings().events.blur.call(this,e)||this.hide()},imx.Autocomplete.prototype.create=function(){var e=function(){this.input.removeEventListener("focus",e),this.setList(this.buildAutocompleteList_());var t=this.getInput(),n=this.getSettings();t.setAttribute("autocomplete","off"),t.classList.add(n.inputClass),t.addEventListener("keydown",this.handleKeyDown_.bind(this)),t.addEventListener("blur",this.handleBlur_.bind(this)),n.events.create.call(this)}.bind(this);return this.getSettings().lazyInit?this.input.addEventListener("focus",e):e(),this},imx.Autocomplete.prototype.destroy=function(){var e=this.getInput(),t=this.getList();return e.removeAttribute("autocomplete"),e.classList.remove(this.getSettings().inputClass),e.removeEventListener("keydown",this.handleKeyDown_),e.removeEventListener("blur",this.handleBlur_),t.parentNode.removeChild(t),this.getSettings().events.destroy.call(this),this},imx.Autocomplete.prototype.show=function(){return this.getList().style.display="block",this.getSettings().events.show.call(this),this},imx.Autocomplete.prototype.hide=function(){var e=this.getList(),t=e.querySelector(".selectable.selected");return e.style.display="none",t&&t.classList.remove("selected"),this.getSettings().events.hide.call(this),this},imx.Autocomplete.prototype.select_=function(e,t){var n=this.getInput(),i=this.getList(),s=[],l=null,r=i.querySelector(".selectable.selected");if(r){s=r.parentNode.querySelectorAll(".selectable");for(var o=0;o<s.length;o++)if(s[o]===r){l="next"===e?s[o+1]:s[o-1];break}r.classList.remove("selected")}else s=i.querySelectorAll(".selectable"),l="next"===e?s[0]:s[s.length-1];if(l){var a=JSON.parse(l.dataset.item);
1l.classList.add("selected"),n.value=a.label,this.getSettings().events.select.call(this,a)}else n.value=t;return this},imx.Autocomplete.prototype.change_=function(){var e=this.getList().querySelector(".selectable.selected"),t=JSON.parse(e.dataset.item);if(Autocomplete_util.triggerEvent(this.getInput(),"setautocomplete"),e){if(t.href)return void(window.location.href=t.href);this.getInput().value=t.label,this.getSettings().events.change.call(this,t),this.hide()}return this},imx.Autocomplete.prototype.updateListPosition=function(e,t,n,i){if(this.getSettings().enableListStyle||i){var s=t.getBoundingClientRect();e.style.width=t.offsetWidth+"px",e.style.position="absolute",e.style.top=s.bottom+window.pageYOffset-document.documentElement.clientTop+"px",e.style.left=s.left+window.pageXOffset-document.documentElement.clientLeft+"px","function"==typeof n&&n(e,t)}},imx.Autocomplete.prototype.buildAutocompleteList_=function(){var e=this.getSettings(),t=this.getInput(),n=Autocomplete_util.createElementByTemplate(e.listElement);return n.setAttribute("id",t.getAttribute("id")+"_autocomplete"),n.setAttribute("class","autocomplete "+e.resultsClass),this.updateListPosition(n,t,(function(e){e.style.display="none"})),Autocomplete_util.append(n,e.appendTo),n},imx.Autocomplete.prototype.handleChange_=function(){var e=this.getInput(),t=this.getSettings(),n=e.value,i=this.getList();return this.updateListPosition(i,e),n.length>=t.minChars?(e.classList.add(t.loadingClass),this.handleAdapter_
1()):(e.classList.remove(t.loadingClass),this.hide()),this},imx.Autocomplete.prototype.handleAdapter_=function(){var e=this,t=this.getInput(),n=this.getList(),i=this.getSettings(),s=this.getInput().value;return i.adapter.request(s,(function(l){var r=null;n.innerHTML="";for(var o=0;o<l.length;o++){var a=l[o].type,c=i.templates[a];if("function"==typeof c){if(!0===i.wrap.start.call(e,l[o],o,l)){var u;u="function"==typeof i.wrap.element?i.wrap.element.call(e,l[o],o,l):i.wrap.element,r=Autocomplete_util.createElementByTemplate(u)}var d="item type-"+a;l[o].selectable&&(d+=" selectable");var p=Autocomplete_util.createElementByTemplate(i.itemElement);p.setAttribute("class",d),p.dataset.item=JSON.stringify(l[o]),l[o].selectable&&(p.addEventListener("mouseover",(function(){var t=n.querySelector(".selected");t&&t.classList.remove("selected"),this.classList.add("selected"),e.getSettings().events.select.call(e,JSON.parse(this.dataset.item))})),p.addEventListener("mousedown",(function(){e.change_()}))),p.innerHTML=c.call(e,l[o],s),r?Autocomplete_util.append(p,r):Autocomplete_util.append(p,n),!0===i.wrap.end.call(e,l[o],o,l)&&(Autocomplete_util.append(r,n),r=null)}}n.childElementCount>0&&e.show(),t.classList.remove(i.loadingClass)}),i.events.beforeRequest,i.events.afterRequest,i.events.error),this}},45742:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{class e{constructor(){this.pendingFilters={},this.appliedFilters={},this.searchFilter="",this.coordinates=null,this.mapLegendNode=null,this.singleItemMode=!1,this.singleItemIdent=null,this.initialize()}initialize(){const e=new URLSearchParams(window.location.search);this.singleItemMode=e.has("ident"),this.singleItemIdent=e.get("ident"),this.mapLegendNode=document.querySelector(".maplegend"),this.interceptFilterEvents(),this.setupApplyButton(),this.setupFilterOpener(),this.hookSearchField(),this.setupResetButton(),this.singleItemMode||this.collectPreselectedFilters(),this.updateFilterCounter(),this.applyFilters(),this.singleItemMode&&this.singleItemIdent&&this.loadSingleItem(this.singleItemIdent)}loadSingleItem(e){if(!e||!this.mapLegendNode)return;const t=new CustomEvent("singleItem:selected",{detail:{ident:e}});this.mapLegendNode.dispatchEvent(t)}interceptFilterEvents(){const e=document.querySelector(".maplegend");if(!e)return;const t=e.addEventListener;e.addEventListener=(n,i,s)=>{t.call(e,n,i,s)}}setupApplyButton(){const e=document.getElementById("fullscreenMap__filterFooter__apply");e&&e.addEventListener("click",(()=>{Object.entries(this.pendingFilters).forEach((([e,t])=>{t.checked?this.appliedFilters[e]=t:delete this.appliedFilters[e]})),this.applyFilters();const t=e.closest(".fullscreenMap");t&&t.classList.remove("-js-fullscreenMap--filter-active")}))}setupFilterOpener(){const e=document.querySelector('[data-function="filter__opener"]');e&&e.addEventListener("click",(()=>{this.pendingFilters={...this.appliedFilters},this.updateAllFilterUI()}))}hookSearchField(){const e=document.getElementById("fullscreenMap__search__form");e&&e.addEventListener("submit",(e=>{e.preventDefault();const t=document.getElementById("fullscreenMap__search__input");t&&(this.searchFilter=t.value)}))}collectPreselectedFilters(){document.querySelectorAll(".fullscreenMap__checkbox__input:checked").forEach((e=>{const t=e.getAttribute("name"),n=e.value,i=e.closest(".fullscreenMap__checkbox")?.querySelector(".fullscreenMap__checkbox__label")?.textContent.trim(),s=`${t}_${n}`;this.appliedFilters[s]={Sender:{rootNode:e},type:"checkbox",name:t,value:n,checked:!0,label:i,counter:1,triggerNode:e.closest(".maplegend__item")||e.closest(".fullscreenMap__accordion__item")}})),document.querySelectorAll(".fullscreenMap__switchPill__checkbox:checked").forEach((e=>{const t=e.id,n=`generalFilter_${t}`;this.appliedFilters[n]={Sender:{rootNode:e},type:"switchPill",label:t,checked:!0,counter:1,triggerNode:e.closest(".fullscreenMap__general__list__item")}}))}updateFilterCounter(){const e=document.querySelector(".fullscreenMap__switch__counter");if(e){const t=Object.keys(this.appliedFilters).length;e.textContent=t,0===t?e.classList.add("is-hidden"):e.classList.remove("is-hidden")}}updateAllFilterUI(){document.querySelectorAll(".fullscreenMap__checkbox__input").forEach((e=>{const t=`${e.getAttribute("name")}_${e.value}`;e.checked=this.pendingFilters[t]?.checked||!1})),document.querySelectorAll(".fullscreenMap__switchPill__checkbox").forEach((e=>{const t=e.closest(".fullscreenMap__switchPill")?.querySelector(".fullscreenMap__switchPill__text")?.textContent.trim(),n=`generalFilter_${t}`;e.checked=this.pendingFilters[n]?.checked||!1}))}updateFilterUI(e){if("checkbox"===e.type){if(e.triggerNode){const t=e.triggerNode.querySelector(".maplegend__item__info");t&&(t.innerHTML=e.counter>0?e.counter:null)}return}const t=new CustomEvent("updateData",{detail:e});
1this.mapLegendNode?this.mapLegendNode.dispatchEvent(t):console.error("mapLegendNode not found, cannot dispatch event")}applyFilters(){const e=document.querySelector(".maplegend");if(!e)return;if(this.singleItemMode){const t=new Event("filters:applied");return void e.dispatchEvent(t)}if(Object.values(this.appliedFilters).forEach((t=>{const n=new CustomEvent("updateData",{detail:t});e.dispatchEvent(n)})),this.coordinates){const t=new CustomEvent("location:updated",{detail:{coordinates:this.coordinates}});e.dispatchEvent(t)}this.updateFilterCounter();const t=new Event("filters:applied");e.dispatchEvent(t)}setupResetButton(){const e=document.querySelector('[data-function="filter__reset"]');e&&e.addEventListener("click",(()=>{this.reset()}))}reset(){this.pendingFilters={},this.appliedFilters={},this.resetMapViewState(),this.updateAllFilterUI(),this.updateFilterCounter(),this.applyFilters();const e=document.querySelector(".fullscreenMap");e&&!this.singleItemMode&&e.classList.add("-js-fullscreenMap--filter-active")}resetMapViewState(){const e=document.getElementById("infoWindowContainer");e&&(e.innerHTML="");const t=document.getElementById("fullscreenmap");t?.parentElement?.parentElement&&t.parentElement.parentElement.classList.remove("fullscreenMap--infoWindow"),document.querySelectorAll(".-js-marker-active").forEach((e=>{e.classList.remove("-js-marker-active")})),document.querySelectorAll(".-js-listItem--active").forEach((e=>{e.classList.remove("-js-listItem--active")})),window.closeListener=null,window.oldZoom=void 0,window.oldPosition=void 0,window.dispatchEvent(new Event("resize"));const n=document.querySelector(".maplegend");n&&n.dispatchEvent(new Event("map:reset"))}}s().documentReady((()=>{window.filterManager=new e}))})()},47134:()=>{},56003:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{const e=(e,n,s)=>{e.addEventListener("click",(()=>{const t=new KeyboardEvent("keypress",{key:"Enter"});e.dispatchEvent(t)})),e.addEventListener("keypress",(e=>{"Enter"===e.key&&(i.forEach((e=>n.classList.remove(e))),n.classList.toggle(t,s))}))},t="-js-fullscreenMap--list-active",n="-js-fullscreenMap--filter-active",i=[n,"-js-fullscreenMap--search-active"];s().documentReady((()=>{Array.from(document.getElementsByClassName("fullscreenMap")).forEach((i=>{(t=>{const n=t.querySelector('[data-function="list__opener"]');e(n,t,!0);const i=t.querySelector(".fullscreenMap__mapFooter__button.fullscreenMap__mapFooter__button--map");e(i,t,!1)})(i),(e=>{const i=e.querySelector("#fullscreenMap__filterFooter__apply");i&&i.addEventListener("click",(()=>{window.innerWidth>=1001?(e.classList.remove(n),e.classList.add(t)):e.classList.remove(n)}))})(i)}))}))})()},56632:(e,t,n)=>{"use strict";n.d(t,{A:()=>i}),n(63837),n(45555),n(60770);class i{constructor(e,t,n,i){this.inputField=e,this.formNode=t,this.container=n,this.language=i}static _highlight(e,t){return e.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+t.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")}static _template(e,t){for(let n in t)e=e.replace("{{"+n+"}}",t[n]);return e}build(){let e=this;return new imx.Autocomplete(this.inputField,{appendTo:this.container,adapter:new imx.Autocomplete.AjaxAdapter({url:this.inputField.dataset.autocompleteUrl,extraParams:{lang:this.language},cacheable:!0}),listElement:"<ul>",minChars:3,itemElement:'<li class="fulltextSearchOverlay__suggest__item">',enableListStyle:!1,resultsClass:"fulltextSearchOverlay__suggest__list",events:{create:function(){let e=this.getList();e.removeAttribute("style"),e.style.display="block"},show:function(){e.container.style.display="block"},hide:function(){e.container.style.display="none"},blur:function(){return!0},change:function(){return e.formNode.querySelector('[type="submit"]').click(),this},onSelect:e=>{console.log("Suggestion selected:",e),e.data&&e.data.link&&(console.log("Redirecting to:",e.data.link),window.location.href=e.data.link)}},templates:{suggest:function(e,t){return i._template('<a href="'+(e.href||"javascript:void(0);")+'" class="fulltextSearchOverlay__suggest__link">{{label}}</a>',{label:i._highlight(e.label,t)})}}}).create()}}},58611:e=>{e.exports={offsetTop:function(e){var t=document.querySelector("body");return e.getBoundingClientRect().top-t.getBoundingClientRect().top},offsetLeft:function(e){var t=document.querySelector("body");return e.getBoundingClientRect().left-t.getBoundingClientRect().left},scrollTo:function(e,t,n){var i=function(){return{x:window.pageXOffset,y:window.pageYOffset}},s=i(),l={x:(e-s.x)/(n/15),y:(t-s.y)/(n/15)},r=setInterval((function(){!function(){var n=i(),s={x:!1,y:!1};return l.x<0?n.x+l.x<=e&&(s.x=!0):n.x+l.x>=e&&(s.x=!0),l.y<0?n.y+l.y<=t&&(s.y=!0):n.y+l.y>=t&&(s.y=!0),!(!s.x||!s.y)}()?window.scrollBy(l.x,l.y):(clearInterval(r),window.scrollTo(e,t))}),15)},scrollElementTo:function(e,t,n,i){var s=function(){return{x:i.scrollLeft,y:i.scrollTop}},l=s(),r=(e-l.x)/(n/15),o=(t-l.y)/(n/15),a=setInterval((function(){!function(){var n=s(),i={x:!1,y:!1};return r<0?n.x+r<=e&&(i.x=!0):n.x+r>=e&&(i.x=!0),o<0?n.y+o<=t&&(i.y=!0):n.y+o>=t&&(i.y=!0),!(!i.x||!i.y)}()?(i.scrollLeft+=r,i.scrollTop+=o):(clearInterval(a),i.scrollLeft=e,i.scrollTop+=t)}),15)},accessDataset:function(e,t){return e.dataset?e.dataset[t]:e.getAttribute("data-"+t)},extendObject:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e},documentReady:function(e){let t=!1;"undefined"!=typeof less&&"object"==typeof less.pageLoadFinished&&(t=!0);var n=function(){t?less.pageLoadFinished.then((()=>{setTimeout(e)})):setTimeout(e)},i=function(){document.removeEventListener("DOMContentLoaded",i),window.removeEventListener("load",i),n()};"complete"===document.readyState?n():(document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i))}}},59789:()=>{},60770:()=>{window.imx=window.imx||{},window.imx.Autocomplete=window.imx.Autocomplete||{},imx.Autocomplete.AjaxAdapter=function(e){const t={url:"",searchTermParameterName:"q",responseParser:function(e){return JSON.parse(e.responseText)},extraParams:{}};this.requestObject=null,this.setSettings(Autocomplete_util.extend(t,e))},imx.Autocomplete.AjaxAdapter.prototype.getSettings=function(){return this.settings},imx.Autocomplete.AjaxAdapter.prototype.setSettings=function(e){return this.settings=e,this},imx.Autocomplete.AjaxAdapter.prototype.request=function(e,t,n,i,s){null!==this.requestObject&&this.requestObject.abort();const l=this.getSettings(),r={[l.searchTermParameterName]:e},o=Autocomplete_util.extend(r,l.extraParams),a=Autocomplete_util.serialize(o);let c=l.url;c=c+(-1!==c.indexOf("?")?"&":"?")+a;const u=new XMLHttpRequest;return u.open("GET",c,!0),"function"!=typeof s&&(s=function(){}),u.onload=function(){u.status>=200&&u.status<400?t(l.responseParser(u)):s(u),i()},n(),u.send(),this.requestObject=u,this}},63384:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{class e{constructor(){this.checkbox=document.getElementById("fullscreenMap__aroundMe__checkbox"),this.locationMarker=document.getElementById("fullscreenMap__locationMarker"),this.watchId=null,this.locationHint=document.querySelector(".fullscreenMap__locationHint"),this.locationDistanceListButton=document.querySelector(".fullscreenMap__showDistance"),this.centered=!1,this.storage=window.sessionStorage,this.initialize()}initialize(){this.checkbox&&(this.checkbox.addEventListener("change",this.handleCheckboxChange.bind(this)),"true"===this.storage.getItem("aroundMeEnabled")&&(this.checkbox.checked=!0,this.handleCheckboxChange()),document.addEventListener("markers:updated",this.handleMarkersUpdated.bind(this)),this.locationHint&&setTimeout((()=>{this.locationHint.style.display="none"}),1e4))}handleMarkersUpdated(e){if(this.checkbox&&this.checkbox.checked&&null!==this.watchId){const e=document.querySelector("#fullscreenMap__location-lat")?.value,t=document.querySelector("#fullscreenMap__location-lng")?.value;e&&t&&window.fullscreenMapInstance?.mapInstance&&(this.marker=null,this.updateMarkerPosition(parseFloat(t),parseFloat(e)))}}handleCheckboxChange(){this.checkbox.checked?(this.startTracking(),this.locationHint.style.display="none",this.storage.setItem("aroundMeEnabled","true")):(this.stopTracking(),this.storage.removeItem("aroundMeEnabled"))}startTracking(){navigator.geolocation?this.watchId=navigator.geolocation.watchPosition(this.handlePositionUpdate.bind(this),this.handleGeolocationError.bind(this),{enableHighAccuracy:!0,maximumAge:1e4}):this.checkbox.checked=!1}
1stopTracking(){null!==this.watchId&&(navigator.geolocation.clearWatch(this.watchId),this.watchId=null),this.removeMarker(),window.filterManager&&(window.filterManager.coordinates=null)}isInsideLuxembourg(e){const[t,n]=e,i=document.getElementById("fullscreenmap");if(!i||!i.dataset.bounds){const e={north:50.18,south:49.45,east:6.53,west:5.73};return n>=e.south&&n<=e.north&&t>=e.west&&t<=e.east}const s=JSON.parse(i.dataset.bounds||"[]");if(s.length<2)return!1;const l=s[1][0],r=s[0][0],o=s[1][1],a=s[0][1];return n>=l&&n<=r&&t>=o&&t<=a}handlePositionUpdate(e){const{latitude:t,longitude:n}=e.coords;if(!this.isInsideLuxembourg([n,t]))return this.checkbox.checked=!1,this.stopTracking(),void alert(document.getElementById("fullscreenMap__aroundMe").dataset.translationalert);window.filterManager&&(window.filterManager.coordinates=[n,t]);const i=new CustomEvent("location:updated",{detail:{coordinates:[n,t]}});document.dispatchEvent(i),document.querySelector("#fullscreenMap__location-lat").value=t,document.querySelector("#fullscreenMap__location-lng").value=n,this.locationDistanceListButton.style.display="flex",this.updateMarkerPosition(n,t)}handleGeolocationError(e){this.checkbox.checked=!1,this.stopTracking()}updateMarkerPosition(e,t){if(!window.fullscreenMapInstance||!window.fullscreenMapInstance.mapInstance)return void console.error("Map instance not found");const n=window.fullscreenMapInstance.mapInstance;if(this.marker){const i=ol.proj.fromLonLat([e,t],n.getView().getProjection());this.marker.setPosition(i)}else this.createMarker(n,e,t);this.centered||(n.getView().animate({center:ol.proj.fromLonLat([e,t],n.getView().getProjection()),duration:1e3}),this.centered=!0)}createMarker(e,t,n){const i=ol.proj.fromLonLat([t,n],e.getView().getProjection());return this.marker||(this.locationMarker&&(this.locationMarker.style.display="block",document.querySelector("#fullscreenMap__location-lat").value=n,document.querySelector("#fullscreenMap__location-lng").value=t),this.marker=new ol.Overlay({element:this.locationMarker,positioning:"center-center",stopEvent:!1}),e.addOverlay(this.marker)),this.marker.setPosition(i),this.marker}removeMarker(){this.marker&&(window.fullscreenMapInstance&&window.fullscreenMapInstance.mapInstance&&window.fullscreenMapInstance.mapInstance.removeOverlay(this.marker),this.locationMarker&&(this.locationMarker.style.display="none"),this.marker=null,this.centered=!1)}}s().documentReady((()=>{window.aroundMeManager=new e}))})()},63447:()=>{},63837:()=>{window.Autocomplete_util=function(e,t,n,i,s){var l=function(e){return e instanceof n},r=function(e){return null!==e&&"object"==typeof e&&e!==e.window&&i.getPrototypeOf(e)===i.prototype},o=function(e,t,n){for(var i in t)n&&(r(t[i])||l(t[i]))?(r(t[i])&&!r(e[i])&&(e[i]={}),l(t[i])&&!l(e[i])&&(e[i]=[]),o(e[i],t[i],n)):void 0!==t[i]&&(e[i]=t[i])};return{triggerEvent:function(n,i,s){var l=null;"function"==typeof e.CustomEvent?l=new CustomEvent(i,{detail:s}):(l=t.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{detail:s}),n.dispatchEvent(l)},append:function(e,t){t.appendChild(e)},isVisible:function(e){return(e.offsetWidth>0||e.offsetHeigth>0)&&"none"!==e.style.display},extend:function(e){var t,i=n.prototype.slice.call(arguments,1);return"boolean"==typeof e&&(t=e,e=i.shift()),i.forEach((function(n){o(e,n,t)})),e},serialize:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(s(n)+"="+s(e[n]));return t.join("&")},createElementByTemplate:function(e){var n=t.createElement("template");return n.innerHTML=e,n.content?n.content.firstChild:n.firstChild}}}(window,document,Array,Object,encodeURIComponent)},65829:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{const e="fullscreenMap__accordion__item",t="fullscreenMap__accordion__item__title",n="-js-fullscreenMap__accordion__item--active";s().documentReady((()=>{Array.from(document.getElementsByClassName("fullscreenMap__accordion")).forEach((i=>{i.querySelectorAll(`.${e}`).forEach((e=>{(e=>{const i=e.querySelector(`.${t}`);i.addEventListener("click",(()=>{e.classList.toggle(n)})),i.addEventListener("keypress",(t=>{"Enter"===t.key&&e.classList.toggle(n)})),e.classList.contains(n)&&e.classList.add(n)})(e)}))}))}))})()},79433:()=>{},87111:e=>{e.exports=(()=>{const e=()=>l.classList.contains(s),t=()=>!l.classList.contains(s),n=new Event("NotScroll"),i=new Event("Scroll"),s="-lux-NotScroll",l=document.querySelector("html");return{isNotScroll:e,setNotScroll:()=>{e()||(l.classList.add(s),l.dispatchEvent(n))},onNotScroll:t=>{e()&&setTimeout(t),l.addEventListener("NotScroll",t)},isScroll:t,setScroll:()=>{t()||(l.classList.remove(s),l.dispatchEvent(i))},onScroll:e=>{t()&&setTimeout(e),l.addEventListener("Scroll",e)}}})()}
1,98154:(e,t,n)=>{"use strict";var i=n(58611),s=n.n(i);(()=>{class e{constructor(){this.pillContainer=document.querySelector(".fullscreenMap__summary__list"),this.pillContainer&&window.filterManager&&window.filterManager.appliedFilters&&this.initialize()}initialize(){this.clearPills(),this.syncWithFilterManager(),this.hookFilterEvents()}syncWithFilterManager(){if(!window.filterManager)return;this.clearPills();const e=Object.values(window.filterManager.appliedFilters).filter((e=>e.checked&&e.counter>0));0!==e.length&&e.forEach((e=>this.createPill(e)))}hookFilterEvents(){document.querySelector(".maplegend").addEventListener("filters:applied",(()=>{this.syncWithFilterManager()}));const e=document.querySelector('[data-function="filter__reset"]');e&&e.addEventListener("click",(()=>{this.clearPills()}))}createPill(e){const t=document.createElement("li");return t.className="fullscreenMap__summary__list__item",t.dataset.filterKey="checkbox"===e.type?`${e.name}_${e.value}`:`generalFilter_${e.label}`,t.innerHTML=`\n <button class="fullscreenMap__pill">\n <span class="fullscreenMap__pill__icon icon-closer-bold" aria-hidden="true"></span>\n <span class="fullscreenMap__pill__text">${e.label}</span>\n </button>\n `,t.querySelector(".fullscreenMap__pill").addEventListener("click",(()=>{this.removePill(t,!0)})),this.pillContainer.appendChild(t),t}removePill(e,t=!1){const n=e.dataset.filterKey;if(t&&window.filterManager&&n&&window.filterManager.appliedFilters[n]){window.filterManager.appliedFilters[n].checked=!1,window.filterManager.pendingFilters[n]={...window.filterManager.appliedFilters[n],checked:!1,counter:0},delete window.filterManager.appliedFilters[n];const e=this.findInputForFilter(n);e&&(e.checked=!1),window.filterManager.applyFilters()}e.remove()}removePillByLabel(e){this.pillContainer.querySelectorAll(".fullscreenMap__pill__text").forEach((t=>{if(t.textContent.trim()===e){const e=t.closest(".fullscreenMap__summary__list__item");e&&e.remove()}}))}findInputForFilter(e){if(!e.startsWith("generalFilter_")){const[t,n]=e.split("_");return document.querySelector(`.fullscreenMap__checkbox__input[name="${t}"][value="${n}"]`)}{const t=e.replace("generalFilter_",""),n=document.querySelectorAll(".fullscreenMap__switchPill");for(const e of n){const n=e.querySelector(".fullscreenMap__switchPill__text")?.textContent.trim();if(n===t)return e.querySelector(".fullscreenMap__switchPill__checkbox")}}return null}clearPills(){this.pillContainer.innerHTML=""}}s().documentReady((()=>{const t=()=>{window.filterManager?window.filterPillManager=new e:setTimeout(t,100)};t()}))})()}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var l=t[i]={exports:{}};return e[i](l,l.exports,n),l.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n(2867),n(63447),n(59789),n(98154),n(79433),n(47134),n(63384),n(16675),n(8483),n(36964),n(45742),n(24856),n(39326),n(65829),n(1493),n(56003),n(16828),n(10983)})();
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.