1/*! For license information please see main.js.LICENSE.txt */ 2(()=>{"use strict";var e={636:(e,t,n)=>{n.r(t),n.d(t,{Video:()=>i});const i={playerContainers:document.querySelectorAll(".video__player:not(#video__modal,.video__modal,.video__player--native)"),players:[]};window.videoPlayers=[],i.init=function(){i.playerContainers.length<=0||"undefined"!=typeof Plyr&&(i.playerContainers.forEach((function(e,t){i.players.push(new Plyr(e))})),window.videoPlayers=i.players)}},304:(e,t,n)=>{n.r(t),n.d(t,{VideoModal:()=>i});const i={openLinks:document.querySelectorAll(".js-open-videomodal"),closeLinks:document.querySelectorAll(".js-close-videomodal"),init:function(){i.openLinks.length>0&&i.openLinks.forEach((function(e,t){e.addEventListener("click",(function(e){e.preventDefault(),i.openModal()}))})),i.closeLinks.length>0&&i.closeLinks.forEach((function(e,t){e.addEventListener("click",(function(e){e.preventDefault(),i.closeModal()}))}))},openModal:function(){document.querySelector(".hero__videomodal").classList.add("active")},closeModal:function(){document.querySelector(".hero__videomodal").classList.remove("active")}}},656:(e,t,n)=>{n.r(t),n.d(t,{searchByAddress:()=>s,sum:()=>i});const i=2992,r={lat:49.488888,lng:8.469167};function o(e){return e*(Math.PI/180)}const s=(e=>{const t=e.markers.map((e=>{const t=function(e,t){const n=e.lat,i=e.lng,r=Math.random(),o=Math.random(),s=.22461814914645103*Math.sqrt(r),a=2*Math.PI*o,c=s*Math.cos(a);return{lat:s*Math.sin(a)+n,lng:c+i}}(r),n=e;return n.lat=t.lat,n.lng=t.lng,n.entfernung=function(e,t){const n=e.lat,i=e.lng,r=t.lat,s=t.lng,a=o(r-n),c=o(s-i),l=Math.sin(a/2)*Math.sin(a/2)+Math.cos(o(n))*Math.cos(o(r))*Math.sin(c/2)*Math.sin(c/2);return 2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))*6371}(t,r),n}));return t.sort(((e,t)=>e.entfernung-t.entfernung)),{markers:t,message:"",coords:r}})({markers:[{bstId:"9746",strasse:"Hundsbühl 4",addresszusatz:null,vorname:"Christiane",nachname:"Kunde",plz:"99986",stadt:"Vogtei OT Niederdorla",lat:"51.1613640",lng:"10.4536821",entfernung:"0.5040832253906199",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/9746/avatar/9d66fe8e2792e88aacd8e51236ac2625.jpeg",nimmtauf:!0,hinweis:"kurzfristige Termine möglich",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"1237",strasse:"Blobach 7",addresszusatz:null,vorname:"Matthias",nachname:"Burkhardt",plz:"99974",stadt:"Mühlhausen",lat:"51.2091260",lng:"10.4497036",entfernung:"4.8314213871440295",sprachen:[{de:"deutsch",en:"english",fr:"französisch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/legacy/uploads/1237/legacy/a1b797b7bf28f058c9676c2739d642c8.jpeg",nimmtauf:!0,hinweis:"kurzfristige Termine möglich",sprechzeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"1135",strasse:"Görmarstr. 37",addresszusatz:null,vorname:"Andrea",nachname:"GroÃkopf",plz:"99974",stadt:"Mühlhausen",lat:"51.2103700",lng:"10.4646500",entfernung:"5.05157329716445",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/1135/avatar/9b89bae818e5a61bb652a9ac7bef5e51.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"4734",strasse:"Alter Blobach 22",addresszusatz:null,vorname:"Ursula",nachname:"Zappe",plz:"99974",stadt:"Mühlhausen",lat:"51.2134530",lng:"10.4513719",entfernung:"5.310902943835097",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/4734/avatar/91700448bf3304d9b78bdd9e4462648f.jpeg",nimmtauf:!0,hinweis:"kurzfristige Termine möglich",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"8950",strasse:"Wagenstedter Str. 2b",addresszusatz:null,vorname:"Friedrich",nachname:"Mühlhause",plz:"99974",stadt:"Mühlhausen",lat:"51.2143000",lng:"10.4694000",entfernung:"5.546751868384255",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/8950/avatar/ad93d0fcfaf19e636a961911e2a13393.jpeg",nimmtauf:!0,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"9124",strasse:"Sondershäuser LandstraÃe 42",addresszusatz:null,vorname:"Sandra",nachname:"Schilling",plz:"99974",stadt:"Görmar",lat:"51.2142067",lng:"10.4851763",entfernung:"5.882370695281746",sprachen:[{en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/9124/avatar/9936345182c1b552e6644869c710d932.jpeg",nimmtauf:!0,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"9117",strasse:"Windeberger Str. 83",addresszusatz:null,vorname:"Sylvia",nachname:"Stresow",plz:"99974",stadt:"Mühlhausen",lat:"51.2183932",lng:"10.4705427",entfernung:"6.008190679754733",sprachen:[{de:"deutsch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/9117/avatar/7fe97dd452de5ef9118337dd2a1032e2.jpeg",nimmtauf:!0,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"9300",strasse:"Issersheilingen 16",addresszusatz:null,vorname:"Kornelia",nachname:"Richter",plz:"99994",stadt:"Nottertal-Heilinger Höhen",lat:"51.2048562",lng:"10.6478578",entfernung:"14.36010576787422",sprachen:[{de:"deutsch",en:"english",fr:"französisch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/legacy/uploads/9300/legacy/82f011e3b85842f5b7feff81f9e0ee36.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"55412",strasse:"Rathausstr. 14",addresszusatz:null,vorname:"Claudia",nachname:"Fehr",plz:"99947",stadt:"Bad Langensalza",lat:"51.1081857",lng:"10.6450713",entfernung:"14.941157510828159",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/5541/avatar/5bb55b962f077e2bb974e588098d0c9a.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"3647",strasse:"Wangenheimer Tor 2",addresszusatz:null,vorname:"Lisa",nachname:"Schade",plz:"99820",stadt:"Hörselberg-Hainich OT Behringen",lat:"51.0229493",lng:"10.5324648",entfernung:"16.848567319973515",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/3647/avatar/9b0c0b3bfb40e6651bbcb908169168fe.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"12372",strasse:"Reifensteiner Str. 27",addresszusatz:"OT Hüpstedt",vorname:"Matthias",nachname:"Burkhardt",plz:"37351",stadt:"Dingelstädt OT Hüpstedt",lat:"51.3270632",lng:"10.4406806",entfernung:"17.959642050743003",sprachen:[{de:"deutsch",en:"english",fr:"französisch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/legacy/uploads/1237/legacy/a1b797b7bf28f058c9676c2739d642c8.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"}},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"91242",strasse:"Mehrstedt 39 a",addresszusatz:"OT Mehrstedt",vorname:"Sandra",nachname:"Schilling",plz:"99994",stadt:"Nottertal Heilinger Höhen",lat:"51.2688174",lng:"10.6662044",entfernung:"18.84307334928631",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/9124/avatar/9936345182c1b552e6644869c710d932.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"9255",strasse:"StresemannstraÃe 31",addresszusatz:null,vorname:"Sheila",nachname:"Eisenberg",plz:"99817",stadt:"Eisenach",lat:"50.9843463",lng:"10.3273362",entfernung:"21.952017380858646",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/925
25/avatar/0ba0b92295fd4f2912b39619bb15a378.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"5541",strasse:"Kasseler Str. 117",addresszusatz:null,vorname:"Claudia",nachname:"Fehr",plz:"99817",stadt:"Eisenach",lat:"50.9853500",lng:"10.3004700",entfernung:"22.660402895850726",sprachen:[{de:"deutsch",en:"english",fr:"französisch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/5541/avatar/5bb55b962f077e2bb974e588098d0c9a.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"3451",strasse:"HauptstraÃe 84",addresszusatz:null,vorname:"Christina",nachname:"Born",plz:"37355",stadt:"Niederorschel",lat:"51.3695451",lng:"10.4241611",entfernung:"22.747353357096422",sprachen:[],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/3451/avatar/7f5ce11f24933238d2681a46c1f75c3c.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"9996",strasse:"Frauenberg 3",addresszusatz:null,vorname:"Heike",nachname:"Böse",plz:"99817",stadt:"Eisenach",lat:"50.9730270",lng:"10.3237153",entfernung:"23.210100480104494",sprachen:[],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/9996/avatar/8b41751ee78703d657e0b16c5073833d.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"4572",strasse:"Karl-Kehr-Str. 38",addresszusatz:null,vorname:"Günter",nachname:"Rescher",plz:"99869",stadt:"Nessetal OT Goldbach",lat:"50.9913376",lng:"10.6528524",entfernung:"23.951424364765966",sprachen:[{de:"deutsch",en:"english"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/legacy/uploads/4572/legacy/59d216d3d575af397db5b7458fe721c9.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"}},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"36472",strasse:"Hainertor 2",addresszusatz:null,vorname:"Lisa",nachname:"Schade",plz:"37293",stadt:"Herleshausen",lat:"51.0067934",lng:"10.1617146",entfernung:"26.86886130651051",sprachen:[{de:"deutsch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/avatar/uploads/3647/avatar/9b0c0b3bfb40e6651bbcb908169168fe.jpeg",nimmtauf:!1,hinweis:"",sprechzeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]},oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}},{bstId:"4353",strasse:"Hauptstr. 18",addresszusatz:null,vorname:"Wolfgang",nachname:"HeÃ",plz:"99842",stadt:"Ruhla",lat:"50.9235329",lng:"10.3760554",entfernung:"27.438794553688066",sprachen:[{de:"deutsch"}],avatar:"https://webadminstaging.vlh.de/media/cache/resolve/legacy/uploads/4353/legacy/f3910241a1b97e27f60e0de669514b3f.jpeg",nimmtauf:!0,hinweis:"kurzfristige Termine möglich",sprechzeiten:[],oeffnungszeiten:{mo:{start:"08:30",ende:"20:00"},di:[{start:"08:30",ende:"12:00"},{start:"14:30",ende:"20:00"}]}}],message:"",coords:{lat:51.165691,lng:10.451526}})},841:(e,t,n)=>{const i=document.querySelectorAll(".js-open-imgModal");function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o="(prefers-reduced-motion: reduce)",s={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function a(e){e.length=0}function c(e,t,n){return Array.prototype.slice.call(e,t,n)}function l(e){return e.bind.apply(e,[null].concat(c(arguments,1)))}var u=setTimeout,d=function(){};function f(e){return requestAnimationFrame(e)}function h(e,t){return typeof t===e}function g(e){return!y(e)&&h("object",e)}var m=Array.isArray,v=l(h,"function"),p=l(h,"string"),b=l(h,"undefined");function y(e){return null===e}function _(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function w(e){return m(e)?e:[e]}function k(e,t){w(e).forEach(t)}function S(e,t){return e.indexOf(t)>-1}function L(e,t){return e.push.apply(e,w(t)),e}function E(e,t,n){e&&k(t,(function(t){t&&e.classList[n?"add":"remove"](t)}))}function q(e,t){E(e,p(t)?t.split(" "):t,!0)}function x(e,t){k(t,e.appendChild.bind(e))}function C(e,t){k(e,(function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)}))}function M(e,t){return _(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function A(e,t){var n=e?c(e.children):[];return t?n.filter((function(e){return M(e,t)})):n}function T(e,t){return t?A(e,t)[0]:e.firstElementChild}var z=Object.keys;
2function I(e,t,n){return e&&(n?z(e).reverse():z(e)).forEach((function(n){"__proto__"!==n&&t(e[n],n)})),e}function O(e){return c(arguments,1).forEach((function(t){I(t,(function(n,i){e[i]=t[i]}))})),e}function P(e){return c(arguments,1).forEach((function(t){I(t,(function(t,n){m(t)?e[n]=t.slice():g(t)?e[n]=P({},g(e[n])?e[n]:{},t):e[n]=t}))})),e}function j(e,t){k(t||z(e),(function(t){delete e[t]}))}function H(e,t){k(e,(function(e){k(t,(function(t){e&&e.removeAttribute(t)}))}))}function B(e,t,n){g(t)?I(t,(function(t,n){B(e,n,t)})):k(e,(function(e){y(n)||""===n?H(e,t):e.setAttribute(t,String(n))}))}function R(e,t,n){var i=document.createElement(e);return t&&(p(t)?q(i,t):B(i,t)),n&&x(n,i),i}function F(e,t,n){if(b(n))return getComputedStyle(e)[t];y(n)||(e.style[t]=""+n)}function N(e,t){F(e,"display",t)}function D(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function U(e,t){return e.getAttribute(t)}function K(e,t){return e&&e.classList.contains(t)}function W(e){return e.getBoundingClientRect()}function G(e){k(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function V(e){return T((new DOMParser).parseFromString(e,"text/html").body)}function J(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Y(e,t){return e&&e.querySelector(t)}function Z(e,t){return t?c(e.querySelectorAll(t)):[]}function X(e,t){E(e,t,!1)}function Q(e){return e.timeStamp}function ee(e){return p(e)?e:e?e+"px":""}var te="splide",ne="data-"+te;function ie(e,t){if(!e)throw new Error("["+te+"] "+(t||""))}var re=Math.min,oe=Math.max,se=Math.floor,ae=Math.ceil,ce=Math.abs;function le(e,t,n){return ce(e-t)<n}function ue(e,t,n,i){var r=re(t,n),o=oe(t,n);return i?r<e&&e<o:r<=e&&e<=o}function de(e,t,n){var i=re(t,n),r=oe(t,n);return re(oe(i,e),r)}function fe(e){return+(e>0)-+(e<0)}function he(e,t){return k(t,(function(t){e=e.replace("%s",""+t)})),e}function ge(e){return e<10?"0"+e:""+e}var me={};function ve(){var e=[];function t(e,t,n){k(e,(function(e){e&&k(t,(function(t){t.split(" ").forEach((function(t){var i=t.split(".");n(e,i[0],i[1])}))}))}))}return{bind:function(n,i,r,o){t(n,i,(function(t,n,i){var s="addEventListener"in t,a=s?t.removeEventListener.bind(t,n,r,o):t.removeListener.bind(t,r);s?t.addEventListener(n,r,o):t.addListener(r),e.push([t,n,i,r,a])}))},unbind:function(n,i,r){t(n,i,(function(t,n,i){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==i||r&&e[3]!==r)||(e[4](),!1)}))}))},dispatch:function(e,t,n){var i;return"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:!0,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,n),e.dispatchEvent(i),i},destroy:function(){e.forEach((function(e){e[4]()})),a(e)}}}var pe="mounted",be="ready",ye="move",_e="moved",we="click",ke="refresh",Se="updated",Le="resize",Ee="resized",qe="scroll",xe="scrolled",Ce="destroy",Me="navigation:mounted",Ae="autoplay:play",Te="autoplay:pause",ze="lazyload:loaded",Ie="ei";function Oe(e){var t=e?e.event.bus:document.createDocumentFragment(),n=ve();return e&&e.event.on(Ce,n.destroy),O(n,{bus:t,on:function(e,i){n.bind(t,w(e).join(" "),(function(e){i.apply(i,m(e.detail)?e.detail:[])}))},off:l(n.unbind,t),emit:function(e){n.dispatch(t,e,c(arguments,1))}})}function Pe(e,t,n,i){var r,o,s=Date.now,a=0,c=!0,l=0;function u(){if(!c){if(a=e?re((s()-r)/e,1):1,n&&n(a),a>=1&&(t(),r=s(),i&&++l>=i))return d();o=f(u)}}function d(){c=!0}function h(){o&&cancelAnimationFrame(o),a=0,o=0,c=!0}return{start:function(t){t||h(),r=s()-(t?a*e:0),c=!1,o=f(u)},rewind:function(){r=s(),a=0,n&&n(a)},pause:d,cancel:h,set:function(t){e=t},isPaused:function(){return c}}}var $e="Arrow",je=$e+"Left",He=$e+"Right",Be=$e+"Up",Re=$e+"Down",Fe="ttb",Ne={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Be,He],ArrowRight:[Re,je]};var De="role",Ue="tabindex",Ke="aria-",We=Ke+"controls",Ge=Ke+"current",Ve=Ke+"selected",Je=Ke+"label",Ye=Ke+"labelledby",Ze=Ke+"hidden",Xe=Ke+"orientation",Qe=Ke+"roledescription",et=Ke+"live",tt=Ke+"busy",nt=Ke+"atomic",it=[De,Ue,"disabled",We,Ge,Je,Ye,Ze,Xe,Qe],rt=te+"__",ot="is-",st=te,at=rt+"track",ct=rt+"list",lt=rt+"slide",ut=lt+"--clone",dt=lt+"__container",ft=rt+"arrows",ht=rt+"arrow",gt=ht+"--prev",mt=ht+"--next",vt=rt+"pagination",pt=vt+"__page",bt=rt+"progress__bar",yt=rt+"toggle",_t=rt+"sr",wt=ot+"initialized",kt=ot+"active",St=ot+"prev",Lt=ot+"next",Et=ot+"visible",qt=ot+"loading",xt=ot+"focus-in",Ct=ot+"overflow",Mt=[kt,Et,St,Lt,qt,xt,Ct],At={slide:lt,clone:ut,arrows:ft,arrow:ht,prev:gt,next:mt,pagination:vt,page:pt,spinner:rt+"spinner"},Tt="touchstart mousedown",zt="touchmove mousemove",It="touchend touchcancel mouseup click",Ot="slide",Pt="loop",$t="fade";var jt=ne+"-interval",Ht={passive:!1,capture:!0},Bt={Spacebar:" ",Right:He,Left:je,Up:Be,Down:Re};function Rt(e){return e=p(e)?e:e.key,Bt[e]||e}var Ft="keydown",Nt=ne+"-lazy",Dt=Nt+"-srcset",Ut="["+Nt+"], ["+Dt+"]",Kt=[" ","Enter"],Wt=Object.freeze({__proto__:null,Media:function(e,t,n){var i=e.state,r=n.breakpoints||{},s=n.reducedMotion||{},a=ve(),c=[];function l(e){e&&a.destroy()}function u(e,t){var n=matchMedia(t);a.bind(n,"change",d),c.push([e,n])}function d(){var t=i.is(7),r=n.direction,o=c.reduce((function(e,t){return P(e,t[1].matches?t[0]:{})}),{});j(n),f(o),n.destroy?e.destroy("completely"===n.destroy):t?(l(!0),e.mount()):r!==n.direction&&e.refresh()}function f(t,r,o){P(n,t),r&&P(Object.getPrototypeOf(n),t),!o&&i.is(1)||e.emit(Se,n)}return{setup:function(){var e="min"===n.mediaQuery;z(r).sort((function(t,n){return e?+t-+n:+n-+t}
2)).forEach((function(t){u(r[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),u(s,o),d()},destroy:l,reduce:function(e){matchMedia(o).matches&&(e?P(n,s):j(n,z(s)))},set:f}},Direction:function(e,t,n){return{resolve:function(e,t,i){var r="rtl"!==(i=i||n.direction)||t?i===Fe?0:-1:1;return Ne[e]&&Ne[e][r]||e.replace(/width|left|right/i,(function(e,t){var n=Ne[e.toLowerCase()][r]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var i,r,o,s=Oe(e),c=s.on,l=s.bind,u=e.root,d=n.i18n,f={},h=[],g=[],m=[];function p(){var e,t,o;i=_("."+at),r=T(i,"."+ct),ie(i&&r,"A track/list element is missing."),L(h,A(r,"."+lt+":not(."+ut+")")),I({arrows:ft,pagination:vt,prev:gt,next:mt,bar:bt,toggle:yt},(function(e,t){f[t]=_("."+e)})),O(f,{root:u,track:i,list:r,slides:h}),t=u.id||""+(e=te)+ge(me[e]=(me[e]||0)+1),o=n.role,u.id=t,i.id=i.id||t+"-track",r.id=r.id||t+"-list",!U(u,De)&&"SECTION"!==u.tagName&&o&&B(u,De,o),B(u,Qe,d.carousel),B(r,De,"presentation"),y()}function b(e){var t=it.concat("style");a(h),X(u,g),X(i,m),H([i,r],t),H(u,e?t:["style",Qe])}function y(){X(u,g),X(i,m),g=w(st),m=w(at),q(u,g),q(i,m),B(u,Je,n.label),B(u,Ye,n.labelledby)}function _(e){var t=Y(u,e);return t&&function(e,t){if(v(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!M(n,t);)n=n.parentElement;return n}(t,"."+st)===u?t:void 0}function w(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===st&&kt]}return O(f,{setup:p,mount:function(){c(ke,b),c(ke,p),c(Se,y),l(document,Tt+" keydown",(function(e){o="keydown"===e.type}),{capture:!0}),l(u,"focusin",(function(){E(u,xt,!!o)}))},destroy:b})},Slides:function(e,t,n){var i=Oe(e),r=i.on,o=i.emit,s=i.bind,c=t.Elements,u=c.slides,d=c.list,f=[];function h(){u.forEach((function(e,t){m(e,t,-1)}))}function g(){y((function(e){e.destroy()})),a(f)}function m(t,n,i){var r=function(e,t,n,i){var r,o=Oe(e),s=o.on,a=o.emit,c=o.bind,u=e.Components,d=e.root,f=e.options,h=f.isNavigation,g=f.updateOnMove,m=f.i18n,v=f.pagination,p=f.slideFocus,b=u.Direction.resolve,y=U(i,"style"),_=U(i,Je),w=n>-1,k=T(i,"."+dt);function S(){var r=e.splides.map((function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""})).join(" ");B(i,Je,he(m.slideX,(w?n:t)+1)),B(i,We,r),B(i,De,p?"button":""),p&&H(i,Qe)}function L(){r||q()}function q(){if(!r){var n=e.index;(o=x())!==K(i,kt)&&(E(i,kt,o),B(i,Ge,h&&o||""),a(o?"active":"inactive",C)),function(){var t=function(){if(e.is($t))return x();var t=W(u.Elements.track),n=W(i),r=b("left",!0),o=b("right",!0);return se(t[r])<=ae(n[r])&&se(n[o])<=ae(t[o])}(),n=!t&&(!x()||w);if(e.state.is([4,5])||B(i,Ze,n||""),B(Z(i,f.focusableNodes||""),Ue,n?-1:""),p&&B(i,Ue,n?-1:0),t!==K(i,Et)&&(E(i,Et,t),a(t?"visible":"hidden",C)),!t&&document.activeElement===i){var r=u.Slides.getAt(e.index);r&&D(r.slide)}}(),E(i,St,t===n-1),E(i,Lt,t===n+1)}var o}function x(){var i=e.index;return i===t||f.cloneStatus&&i===n}var C={index:t,slideIndex:n,slide:i,container:k,isClone:w,mount:function(){w||(i.id=d.id+"-slide"+ge(t+1),B(i,De,v?"tabpanel":"group"),B(i,Qe,m.slide),B(i,Je,_||he(m.slideLabel,[t+1,e.length]))),c(i,"click",l(a,we,C)),c(i,"keydown",l(a,"sk",C)),s([_e,"sh",xe],q),s(Me,S),g&&s(ye,L)},destroy:function(){r=!0,o.destroy(),X(i,Mt),H(i,it),B(i,"style",y),B(i,Je,_||"")},update:q,style:function(e,t,n){F(n&&k||i,e,t)},isWithin:function(n,i){var r=ce(n-t);return w||!f.rewind&&!e.is(Pt)||(r=re(r,e.length-r)),r<=i}};return C}(e,n,i,t);r.mount(),f.push(r),f.sort((function(e,t){return e.index-t.index}))}function b(e){return e?L((function(e){return!e.isClone})):f}function y(e,t){b(t).forEach(e)}function L(e){return f.filter(v(e)?e:function(t){return p(e)?M(t.slide,e):S(w(e),t.index)})}return{mount:function(){h(),r(ke,g),r(ke,h)},destroy:g,update:function(){y((function(e){e.update()}))},register:m,get:b,getIn:function(e){var i=t.Controller,r=i.toIndex(e),o=i.hasFocus()?1:n.perPage;return L((function(e){return ue(e.index,r,r+o-1)}))},getAt:function(e){return L(e)[0]},add:function(e,t){k(e,(function(e){if(p(e)&&(e=V(e)),_(e)){var i=u[t];i?C(e,i):x(d,e),q(e,n.classes.slide),r=e,a=l(o,Le),c=Z(r,"img"),(f=c.length)?c.forEac
vendor: 6,882 bytes, line 2
2h((function(e){s(e,"load error",(function(){--f||a()}))})):a()}var r,a,c,f})),o(ke)},remove:function(e){G(L(e).map((function(e){return e.slide}))),o(ke)},forEach:y,filter:L,style:function(e,t,n){y((function(i){i.style(e,t,n)}))},getLength:function(e){return e?u.length:f.length},isEnough:function(){return f.length>n.perPage}}},Layout:function(e,t,n){var i,r,o,s=Oe(e),a=s.on,c=s.bind,u=s.emit,d=t.Slides,f=t.Direction.resolve,h=t.Elements,m=h.root,v=h.track,p=h.list,b=d.getAt,y=d.style;function _(){i=n.direction===Fe,F(m,"maxWidth",ee(n.width)),F(v,f("paddingLeft"),k(!1)),F(v,f("paddingRight"),k(!0)),w(!0)}function w(e){var t,s=W(m);(e||r.width!==s.width||r.height!==s.height)&&(F(v,"height",(t="",i&&(ie(t=S(),"height or heightRatio is missing."),t="calc("+t+" - "+k(!1)+" - "+k(!0)+")"),t)),y(f("marginRight"),ee(n.gap)),y("width",n.autoWidth?null:ee(n.fixedWidth)||(i?"":L())),y("height",ee(n.fixedHeight)||(i?n.autoHeight?null:L():S()),!0),r=s,u(Ee),o!==(o=T())&&(E(m,Ct,o),u("overflow",o)))}function k(e){var t=n.padding,i=f(e?"right":"left");return t&&ee(t[i]||(g(t)?0:t))||"0px"}function S(){return ee(n.height||W(p).width*n.heightRatio)}function L(){var e=ee(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function q(){return W(p)[f("width")]}function x(e,t){var n=b(e||0);return n?W(n.slide)[f("width")]+(t?0:A()):0}function C(e,t){var n=b(e);if(n){var i=W(n.slide)[f("right")],r=W(p)[f("left")];return ce(i-r)+(t?0:A())}return 0}function M(t){return C(e.length-1)-C(0)+x(0,t)}function A(){var e=b(0);return e&&parseFloat(F(e.slide,f("marginRight")))||0}function T(){return e.is($t)||M(!0)>q()}return{mount:function(){var e,t;_(),c(window,"resize load",(e=l(u,Le),t=Pe(0,e,null,1),function(){t.isPaused()&&t.start()})),a([Se,ke],_),a(Le,w)},resize:w,listSize:q,slideSize:x,sliderSize:M,totalSize:C,getPadding:function(e){return parseFloat(F(v,f("padding"+(e?"Right":"Left"))))||0},isOverflow:T}},Clones:function(e,t,n){var i,r=Oe(e),o=r.on,s=t.Elements,c=t.Slides,l=t.Direction.resolve,u=[];function d(){o(ke,f),o([Se,Le],g),(i=m())&&(function(t){var i=c.get().slice(),r=i.length;if(r){for(;i.length<t;)L(i,i);L(i.slice(-t),i.slice(0,t)).forEach((function(o,a){var l=a<t,d=function(t,i){var r=t.cloneNode(!0);return q(r,n.classes.clone),r.id=e.root.id+"-clone"+ge(i+1),r}(o.slide,a);l?C(d,i[0].slide):x(s.list,d),L(u,d),c.register(d,a-t+(l?0:r),o.index)}))}}(i),t.Layout.resize(!0))}function f(){h(),d()}function h(){G(u),a(u),r.destroy()}function g(){var e=m();i!==e&&(i<e||!e)&&r.emit(ke)}function m(){var i=n.clones;if(e.is(Pt)){if(b(i)){var r=n[l("fixedWidth")]&&t.Layout.slideSize(0);i=r&&ae(W(s.track)[l("width")]/r)||n[l("autoWidth")]&&e.length||2*n.perPage}}else i=0;return i}return{mount:d,destroy:h}},Move:function(e,t,n){var i,r=Oe(e),o=r.on,s=r.emit,a=e.state.set,c=t.Layout,l=c.slideSize,u=c.getPadding,d=c.totalSize,f=c.listSize,h=c.sliderSize,g=t.Direction,m=g.resolve,v=g.orient,p=t.Elements,y=p.list,_=p.track;function w(){t.Controller.isBusy()||(t.Scroll.cancel(),k(e.index),t.Slides.update())}function k(e){S(x(e,!0))}function S(n,i){if(!e.is($t)){var r=i?n:function(n){if(e.is(Pt)){var i=q(n),r=i>t.Controller.getEnd();(i<0||r)&&(n=L(n,r))}return n}(n);F(y,"transform","translate"+m("X")+"("+r+"px)"),n!==r&&s("sh")}}function L(e,t){var n=e-M(t),i=h();return e-v(i*(ae(ce(n)/i)||1))*(t?1:-1)}function E(){S(C(),!0),i.cancel()}function q(e){for(var n=t.Slides.get(),i=0,r=1/0,o=0;o<n.length;o++){var s=n[o].index,a=ce(x(s,!0)-e);if(!(a<=r))break;r=a,i=s}return i}function x(t,i){var r=v(d(t-1)-function(e){var t=n.focus;return"center"===t?(f()-l(e,!0))/2:+t*l(e)||0}(t));return i?function(t){return n.trimSpace&&e.is(Ot)&&(t=de(t,0,v(h(!0)-f()))),t}(r):r}function C(){var e=m("left");return W(y)[e]-W(_)[e]+v(u(!1))}function M(e){return x(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=t.Transition,o([pe,Ee,Se,ke],w)},move:function(e,t,n,r){var o,c;e!==t&&(o=e>n,c=v(L(C(),o)),o?c>=0:c<=y[m("scrollWidth")]-W(_)[m("width")])&&(E(),S(L(C(),e>n),!0)),a(4),s(ye,t,n,e),i.start(t,(function(){a(3),s(_e,t,n,e),r&&r()}))},jump:k,translate:S,shift:L,cancel:E,toIndex:q,toPosition:x,getPosition:C,getLimit:M,exceededLimit:function(e,t){t=b(t)?C():t;var n=!0!==e&&v(t)<v(M(!1)),i=!1!==e&&v(t)>v(M(!0));return n||i},reposition:w}},Controller:function(e,t,n){var i,r,o,s,a=Oe(e),c=a.on,u=a.emit,d=t.Move,f=d.getPosition,h=d.getLimit,g=d.toPosition,m=t.Slides,v=m.isEnough,y=m.getLength,_=n.omitEnd,w=e.is(Pt),k=e.is(Ot),S=l(M,!1),L=l(M,!0),E=n.start||0,q=E;function x(){r=y(!0),o=n.perMove,s=n.perPage,i=z();var e=de(E,0,_?i:r-1);e!==E&&(E=e,d.reposition())}function C(){i!==z()&&u(Ie)}function M(e,t){var n=o||($()?1:s),r=A(E+n*(e?-1:1),E,!(o||$()));return-1===r&&k&&!le(f(),h(!e),1)?e?0:i:t?r:T(r)}function A(t,a,c){if(v()||$()){var l=function(t){if(k&&"move"===n.trimSpace&&t!==E)for(var i=f();i===g(t,!0)&&ue(t,0,e.length-1,!n.rewind);)t<E?--t:++t;return t}(t);l!==t&&(a=t,t=l,c=!1),t<0||t>i?t=o||!ue(0,t,a,!0)&&!ue(i,a,t,!0)?w?c?t<0?-(r%s||s):r:t:n.rewind?t<0?i:0:-1:I(O(t)):c&&t!==a&&(t=I(O(a)+(t<a?-1:1)))}else t=-1;return t}function T(e){return w?(e+r)%r||0:e}function z(){for(var e=r-($()||w&&o?1:s);_&&e-- >0;)if(g(r-1,!0)!==g(e,!0)){e++;break}return de(e,0,r-1)}function I(e){return de($()?e:s*e,0,i)}function O(e){return $()?re(e,i):se((e>=i?r-1:e)/s)}function P(e){e!==E&&(q=E,E=e)}function $(){return!b(n.focus)||n.isNavigation}function j(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){x(),c([Se,ke,Ie],x),c(Ee,C)},go:function(e,t,n){if(!j()){var r=function(e){var t=E;if(p(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],r=n[1],o=n[2];"+"===r||"-"===r?t=A(E+ +(""+r+(+o||1)),E):">"===r?t=o?I(+o):S(!0):"<"===r&&(t=L(!0))}else t=w?e:de(e,0,i);return t}(e),o=T(r);o>-1&&(t||o!==E)&&(P(o),d.move(r,o,q,n))}},scroll:function(e,n,r,o){t.Scroll.scroll(e,n,r,(function(){var e=T(d.toIndex(f()));P(_?re(e,i):e),o&&o()}))},getNext:S,getPrev:L,getAdjacent:M,getEnd:z,setIndex:P,getIndex:function(e){return e?q:E},toIndex:I,toPage:O,toDest:function(e){var t=d.toIndex(e);return k?de(t,0,i):t},hasFocus:$,isBusy:j}},Arrows:function(e,t,n){var i,r,o=Oe(e),s=o.on,a=o.bind,c=o.emit,u=n.classes,d=n.i18n,f=t.Elements,h=t.Controller,g=f.arrows,m=f.track,v=g,p=f.prev,b=f.next,y={};function _(){var e;!(e=n.arrows)||p&&b||(v=g||R("div",u.arrows),p=L(!0),b=L(!1),i=!0,x(v,[p,b]),!g&&C(v,m)),p&&b&&(O(y,{prev:p,next:b}),N(v,e?"":"none"),q(v,r=ft+"--"+n.direction),e&&(s([pe,_e,ke,xe,Ie],E),a(b,"click",l(S,">")),a(p,"click",l(S,"<")),E(),B([p,b],We,m.id),c("arrows:mounted",p,b))),s(Se,w)}function w(){k(),_()}function k(){o.destroy(),X(v,r),i?(G(g?[p,b]:v),p=b=null):H([p,b],it)}function S(e){h.go(e,!0)}function L(e){return V('<button class="'+u.arrow+" "+(e?u.prev:u.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false">
2<path d="'+(n.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function E(){if(p&&b){var t=e.index,n=h.getPrev(),i=h.getNext(),r=n>-1&&t<n?d.last:d.prev,o=i>-1&&t>i?d.first:d.next;p.disabled=n<0,b.disabled=i<0,B(p,Je,r),B(b,Je,o),c("arrows:updated",p,b,n,i)}}return{arrows:y,mount:_,destroy:k,update:E}},Autoplay:function(e,t,n){var i,r,o=Oe(e),s=o.on,a=o.bind,c=o.emit,l=Pe(n.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&F(t,"width",100*e+"%"),c("autoplay:playing",e)})),u=l.isPaused,d=t.Elements,f=t.Elements,h=f.root,g=f.toggle,m=n.autoplay,v="pause"===m;function p(){u()&&t.Slides.isEnough()&&(l.start(!n.resetProgress),r=i=v=!1,_(),c(Ae))}function b(e){void 0===e&&(e=!0),v=!!e,_(),u()||(l.pause(),c(Te))}function y(){v||(i||r?b(!1):p())}function _(){g&&(E(g,kt,!v),B(g,Je,n.i18n[v?"play":"pause"]))}function w(e){var i=t.Slides.getAt(e);l.set(i&&+U(i.slide,jt)||n.interval)}return{mount:function(){m&&(n.pauseOnHover&&a(h,"mouseenter mouseleave",(function(e){i="mouseenter"===e.type,y()})),n.pauseOnFocus&&a(h,"focusin focusout",(function(e){r="focusin"===e.type,y()})),g&&a(g,"click",(function(){v?p():b(!0)})),s([ye,qe,ke],l.rewind),s(ye,w),g&&B(g,We,d.track.id),v||p(),_())},destroy:l.cancel,play:p,pause:b,isPaused:u}},Cover:function(e,t,n){var i=Oe(e).on;function r(e){t.Slides.forEach((function(t){var n=T(t.container||t.slide,"img");n&&n.src&&o(e,n,t)}))}function o(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),N(t,e?"none":"")}return{mount:function(){n.cover&&(i(ze,l(o,!0)),i([pe,Se,ke],l(r,!0)))},destroy:l(r,!1)}},Scroll:function(e,t,n){var i,r,o=Oe(e),s=o.on,a=o.emit,c=e.state.set,u=t.Move,d=u.getPosition,f=u.getLimit,h=u.exceededLimit,g=u.translate,m=e.is(Ot),v=1;function p(e,n,o,s,f){var g=d();if(_(),o&&(!m||!h())){var p=t.Layout.sliderSize(),w=fe(e)*p*se(ce(e)/p)||0;e=u.toPosition(t.Controller.toDest(e%p))+w}var k=le(g,e,1);v=1,n=k?0:n||oe(ce(e-g)/1.5,800),r=s,i=Pe(n,b,l(y,g,e,f),1),c(5),a(qe),i.start()}function b(){c(3),r&&r(),a(xe)}function y(e,t,i,o){var s,a,c=d(),l=(e+(t-e)*(s=o,(a=n.easingFunc)?a(s):1-Math.pow(1-s,4))-c)*v;g(c+l),m&&!i&&h()&&(v*=.6,ce(l)<10&&p(f(h(!0)),600,!1,r,!0))}function _(){i&&i.cancel()}function w(){i&&!i.isPaused()&&(_(),b())}return{mount:function(){s(ye,_),s([Se,ke],w)},destroy:_,scroll:p,cancel:w}},Drag:function(e,t,n){var i,r,o,s,a,c,l,u,f=Oe(e),h=f.on,m=f.emit,v=f.bind,p=f.unbind,b=e.state,y=t.Move,_=t.Scroll,w=t.Controller,k=t.Elements.track,S=t.Media.reduce,L=t.Direction,E=L.resolve,q=L.orient,x=y.getPosition,C=y.exceededLimit,A=!1;function T(){var e=n.drag;N(!e),s="free"===e}function z(e){if(c=!1,!l){var t=F(e);i=e.target,r=n.noDrag,M(i,"."+pt+", ."+ht)||r&&M(i,r)||!t&&e.button||(w.isBusy()?J(e,!0):(u=t?k:window,a=b.is([4,5]),o=null,v(u,zt,I,Ht),v(u,It,O,Ht),y.cancel(),_.cancel(),$(e)))}var i,r}function I(t){if(b.is(6)||(b.set(6),m("drag")),t.cancelable)if(a){y.translate(i+j(t)/(A&&e.is(Ot)?5:1));var r=H(t)>200,o=A!==(A=C());(r||o)&&$(t),c=!0,m("dragging"),J(t)}else(function(e){return ce(j(e))>ce(j(e,!0))})(t)&&(a=function(e){var t=n.dragMinThreshold,i=g(t),r=i&&t.mouse||0,o=(i?t.touch:+t)||10;return ce(j(e))>(F(e)?o:r)}(t),J(t))}function O(i){b.is(6)&&(b.set(3),m("dragged")),a&&(function(i){var r=function(t){if(e.is(Pt)||!A){var n=H(t);if(n&&n<200)return j(t)/n}return 0}(i),o=function(e){return x()+fe(e)*re(ce(e)*(n.flickPower||600),s?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(r),a=n.rewind&&n.rewindByDrag;S(!1),s?w.scroll(o,0,n.snap):e.is($t)?w.go(q(fe(r))<0?a?"<":"-":a?">":"+"):e.is(Ot)&&A&&a?w.go(C(!0)?">":"<"):w.go(w.toDest(o),!0),S(!0)}(i),J(i)),p(u,zt,I),p(u,It,O),a=!1}function P(e){!l&&c&&J(e,!0)}function $(e){o=r,r=e,i=x()}function j(e,t){return R(e,t)-R(B(e),t)}function H(e){return Q(e)-Q(B(e))}function B(e){return r===e&&o||r}function R(e,t){return(F(e)?e.changedTouches[0]:e)["page"+E(t?"Y":"X")]}function F(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function N(e){l=e}return{mount:function(){v(k,zt,d,Ht),v(k,It,d,Ht),v(k,Tt,z,Ht),v(k,"click",P,{capture:!0}),v(k,"dragstart",J),h([pe,Se],T)},disable:N,isDragging:function(){return a}}},Keyboard:function(e,t,n){var i,r,o=Oe(e),s=o.on,a=o.bind,c=o.unbind,l=e.root,d=t.Direction.resolve;function f(){var e=n.keyboard;e&&(i="global"===e?window:l,a(i,Ft,m))}function h(){c(i,Ft)}function g(){var e=r;r=!0,u((function(){r=e}))}function m(t){if(!r){var n=Rt(t);n===d(je)?e.go("<"):n===d(He)&&e.go(">")}}return{mount:function(){f(),s(Se,h),s(Se,f),s(ye,g)},destroy:h,disable:function(e){r=e}}},LazyLoad:function(e,t,n){var i=Oe(e),r=i.on,o=i.off,s=i.bind,c=i.emit,u="sequential"===n.lazyLoad,d=[_e,xe],f=[];
2function h(){a(f),t.Slides.forEach((function(e){Z(e.slide,Ut).forEach((function(t){var i=U(t,Nt),r=U(t,Dt);if(i!==t.src||r!==t.srcset){var o=n.classes.spinner,s=t.parentElement,a=T(s,"."+o)||R("span",o,s);f.push([t,e,a]),t.src||N(t,"none")}}))})),u?p():(o(d),r(d,g),g())}function g(){(f=f.filter((function(t){var i=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,i)||m(t)}))).length||o(d)}function m(e){var t=e[0];q(e[1].slide,qt),s(t,"load error",l(v,e)),B(t,"src",U(t,Nt)),B(t,"srcset",U(t,Dt)),H(t,Nt),H(t,Dt)}function v(e,t){var n=e[0],i=e[1];X(i.slide,qt),"error"!==t.type&&(G(e[2]),N(n,""),c(ze,n,i),c(Le)),u&&p()}function p(){f.length&&m(f.shift())}return{mount:function(){n.lazyLoad&&(h(),r(ke,h))},destroy:l(a,f),check:g}},Pagination:function(e,t,n){var i,r,o=Oe(e),s=o.on,u=o.emit,d=o.bind,f=t.Slides,h=t.Elements,g=t.Controller,m=g.hasFocus,v=g.getIndex,p=g.go,b=t.Direction.resolve,y=h.pagination,_=[];function w(){i&&(G(y?c(i.children):i),X(i,r),a(_),i=null),o.destroy()}function k(e){p(">"+e,!0)}function S(e,t){var n=_.length,i=Rt(t),r=L(),o=-1;i===b(He,!1,r)?o=++e%n:i===b(je,!1,r)?o=(--e+n)%n:"Home"===i?o=0:"End"===i&&(o=n-1);var s=_[o];s&&(D(s.button),p(">"+o),J(t,!0))}function L(){return n.paginationDirection||n.direction}function E(e){return _[g.toPage(e)]}function x(){var e=E(v(!0)),t=E(v());if(e){var n=e.button;X(n,kt),H(n,Ve),B(n,Ue,-1)}if(t){var r=t.button;q(r,kt),B(r,Ve,!0),B(r,Ue,"")}u("pagination:updated",{list:i,items:_},e,t)}return{items:_,mount:function t(){w(),s([Se,ke,Ie],t);var o=n.pagination;y&&N(y,o?"":"none"),o&&(s([ye,qe,xe],x),function(){var t=e.length,o=n.classes,s=n.i18n,a=n.perPage,c=m()?g.getEnd()+1:ae(t/a);q(i=y||R("ul",o.pagination,h.track.parentElement),r=vt+"--"+L()),B(i,De,"tablist"),B(i,Je,s.select),B(i,Xe,L()===Fe?"vertical":"");for(var u=0;u<c;u++){var v=R("li",null,i),p=R("button",{class:o.page,type:"button"},v),b=f.getIn(u).map((function(e){return e.slide.id})),w=!m()&&a>1?s.pageX:s.slideX;d(p,"click",l(k,u)),n.paginationKeyboard&&d(p,"keydown",l(S,u)),B(v,De,"presentation"),B(p,De,"tab"),B(p,We,b.join(" ")),B(p,Je,he(w,u+1)),B(p,Ue,-1),_.push({li:v,button:p,page:u})}}(),x(),u("pagination:mounted",{list:i,items:_},E(e.index)))},destroy:w,getAt:E,update:x}},Sync:function(e,t,n){var i=n.isNavigation,r=n.slideFocus,o=[];function s(){e.splides.forEach((function(t){t.isParent||(u(e,t.splide),u(t.splide,e))})),i&&function(){var t=Oe(e),n=t.on;n(we,f),n("sk",h),n([pe,Se],d),o.push(t),t.emit(Me,e.splides)}()}function c(){o.forEach((function(e){e.destroy()})),a(o)}function u(e,t){var n=Oe(e);n.on(ye,(function(e,n,i){t.go(t.is(Pt)?i:e)})),o.push(n)}function d(){B(t.Elements.list,Xe,n.direction===Fe?"vertical":"")}function f(t){e.go(t.index)}function h(e,t){S(Kt,Rt(t))&&(f(e),J(t))}
2return{setup:l(t.Media.set,{slideFocus:b(r)?i:r},!0),mount:s,destroy:c,remount:function(){c(),s()}}},Wheel:function(e,t,n){var i=Oe(e).bind,r=0;function o(i){if(i.cancelable){var o=i.deltaY,s=o<0,a=Q(i),c=n.wheelMinThreshold||0,l=n.wheelSleep||0;ce(o)>c&&a-r>l&&(e.go(s?"<":">"),r=a),function(i){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(i)}(s)&&J(i)}}return{mount:function(){n.wheel&&i(t.Elements.track,"wheel",o,Ht)}}},Live:function(e,t,n){var i=Oe(e).on,r=t.Elements.track,o=n.live&&!n.isNavigation,s=R("span",_t),a=Pe(90,l(c,!1));function c(e){B(r,tt,e),e?(x(r,s),a.start()):(G(s),a.cancel())}function u(e){o&&B(r,et,e?"off":"polite")}return{mount:function(){o&&(u(!t.Autoplay.isPaused()),B(r,nt,!0),s.textContent="â¦",i(Ae,l(u,!0)),i(Te,l(u,!1)),i([_e,xe],l(c,!0)))},disable:u,destroy:function(){H(r,[et,nt,tt]),G(s)}}}}),Gt={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:At,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Vt(e,t,n){var i=t.Slides;function r(){i.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){Oe(e).on([pe,ke],r)},start:function(e,t){i.style("transition","opacity "+n.speed+"ms "+n.easing),u(t)},cancel:d}}function Jt(e,t,n){var i,r=t.Move,o=t.Controller,s=t.Scroll,a=t.Elements.list,c=l(F,a,"transition");function u(){c(""),s.cancel()}return{mount:function(){Oe(e).bind(a,"transitionend",(function(e){e.target===a&&i&&(u(),i())}))},start:function(t,a){var l=r.toPosition(t,!0),u=r.getPosition(),d=function(t){var i=n.rewindSpeed;if(e.is(Ot)&&i){var r=o.getIndex(!0),s=o.getEnd();if(0===r&&t>=s||r>=s&&0===t)return i}return n.speed}(t);ce(l-u)>=1&&d>=1?n.useScroll?s.scroll(l,d,!1,a):(c("transform "+d+"ms "+n.easing),r.translate(l,!0),i=a):(r.jump(t),a())},cancel:u}}var Yt=function(){function e(t,n){var i;this.event=Oe(),this.Components={},this.state=(i=1,{set:function(e){i=e},is:function(e){return S(w(e),i)}}),this.splides=[],this._o={},this._E={};var r=p(t)?Y(document,t):t;ie(r,r+" is invalid."),this.root=r,n=P({label:U(r,Je)||"",labelledby:U(r,Ye)||""},Gt,e.defaults,n||{});try{P(n,JSON.parse(U(r,ne)))}catch(e){ie(!1,"Invalid JSON")}this._o=Object.create(P({},n))}var t,n,i=e.prototype;return i.mount=function(e,t){var n=this,i=this.state,r=this.Components;return ie(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=t||this._T||(this.is($t)?Vt:Jt),this._E=e||this._E,I(O({},Wt,this._E,{Transition:this._T}),(function(e,t){var i=e(n,r,n._o);r[t]=i,i.setup&&i.setup()})),I(r,(function(e){e.mount&&e.mount()})),this.emit(pe),q(this.root,wt),i.set(3),this.emit(be),this},i.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},i.go=function(e){return this._C.Controller.go(e),this},i.on=function(e,t){return this.event.on(e,t),this},i.off=function(e){return this.event.off(e),this},i.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(c(arguments,1))),this},i.add=function(e,t){return this._C.Slides.add(e,t),this},i.remove=function(e){return this._C.Slides.remove(e),this},i.is=function(e){return this._o.type===e},i.refresh=function(){return this.emit(ke),this},i.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?Oe(this).on(be,this.destroy.bind(this,e)):(I(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(Ce),t.destroy(),e&&a(this.splides),n.set(7)),this},t=e,n=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}],n&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Zt=Yt;Zt.defaults={},Zt.STATES=s;const Xt=window.matchMedia("(max-width: 767px)").matches;function Qt(e,t){const n=t.index+1;let i;return i=Xt?n:Math.ceil(n/3),i}const en=window.matchMedia("(max-width: 768px)").matches;function tn(e,t){const n=t.index+1;let i;return i=en?n:Math.ceil(n/3),i}Zt.defaults={i18n:{prev:"zurück",next:"weiter"}};const nn=window.matchMedia("(max-width: 768px)").matches;function rn(e,t){const n=t.index+1;let i;return i=nn?n:Math.ceil(n/3),i}function on(e){const t=document.querySelector(".navigation");t&&t.addEventListener("breadcrumb",(e=>{const n=t.querySelector(".navigation > .navigation__dynamic");n&&n.classList.toggle("hidden","hide"===e.detail)}))}const sn=function(e){const t=document.querySelector(".navigation");if(!t)return;const n=t.querySelector(".navigation__mobile");function i(){const e=n.querySelector(".navigation__main");e.classList.toggle("active"),r(e),o(),e.classList.contains("active")&&n.querySelector(".navigation__close").focus()}function r(i){const o=document.querySelector(".navigation__overlay");o&&(i.classList.contains("active")&&(o.classList.add("active"),function(){if(!e.hideBreadcrumbOnFlyout.mobile)return;const n=new CustomEvent("breadcrumb",{detail:"hide"});t.dispatchEvent(n)}(),o.addEventListener("click",(()=>{i.classList.remove("active"),o.classList.remove("active"),g()}))),i.classList.contains("active")||(o.classList.remove("active"),o.removeEventListener("click",(()=>{})),g()),document.addEventListener("keydown",(e=>{"Escape"===e.key&&i.classList.contains("active")&&(i.classList.remove("active"),r(i))})),n.querySelector(".navigation__menu").focus())}function o(){const e=n.querySelector(".navigation__footer");if(!e)return;const t=e.querySelectorAll(".navigation__footer-item");t&&(n.querySelector(".navigation__main").classList.contains("active")?(function(e){let t=!1;e.forEach((e=>{t||e.classList.contains("active")&&(t=!0)})),t||e[0].classList.add("active")}(t),function(e){e.forEach((t=>{t.addEventListener("click",(()=>{t.classList.contains("active")||(a(),e.forEach((e=>{e.classList.remove("active")})),t.classList.add("active"),s())}))}))}(t)):function(e){e.forEach((e=>{e.classList.remove("active"),e.removeEventListener("click",(()=>{}))}))}(t),s())}function s(){const e=n.querySelectorAll(".navigation__level-1");if(!e.length)return;const t=n.querySelector(".navigation__footer-item.active");if(!t)return;const i=t.getAttribute("data-id");i&&(u(),a(e),e.forEach((e=>{e.getAttribute("data-parent")===i&&(e.classList.add("active"),function(e){const t=e.querySelectorAll(".navigation__level-1-link");t&&t.forEach((e=>{e.addEventListener("click",c),e.addEventListener("keydown",c)}))}(e),m(e),v(e))})))}function a(e){(e||(e=n.querySelectorAll(".navigation__level-1")).length)&&e.forEach((e=>{e.classList.remove("active");const t=e.querySelectorAll(".navigation__level-1-link");t&&t.forEach((e=>{e.removeEventListener("click",c)}))}))}function c(e){if("keydown"!==e.type||"Enter"===e.key){if(t.classList.contains("navigation--anchor")){const e=n.querySelector(".navigation__main");if(!e)return;return e.classList.remove("active"),r(e),void o()}n.querySelectorAll(".navigation__level-1").forEach((e=>{e.classList.remove("active")})),l(e.target)}}function l(e){const t=n.querySelectorAll(".navigation__level-2");
2if(!t.length)return;const i=e.getAttribute("data-id");i&&(u(t),t.forEach((e=>{e.getAttribute("data-parent")===i&&(e.classList.add("active"),function(e,t){const n=e.querySelector(".navigation__level-2-back");n&&(n.addEventListener("click",f),n.addEventListener("keydown",f))}(e),function(e){const t=e.querySelectorAll(".navigation__level-2-link");t&&t.forEach((e=>{e.addEventListener("click",d),e.addEventListener("keydown",d)}))}(e),p(e),m(e),v(e))})))}function u(e){e||(e=n.querySelectorAll(".navigation__level-2")),e.forEach((e=>{e.classList.remove("active"),e.classList.remove("invert")}));const t=n.querySelectorAll(".navigation__level-3.active");t&&(t.forEach((e=>{e.classList.remove("active")})),e.forEach((e=>{const t=e.getAttribute("data-id");if(e.getAttribute("data-parent")!==t)return;e.querySelector(".navigation__level-2-back").removeEventListener("click",f);const n=e.querySelectorAll(".navigation__level-2-link");n&&n.forEach((e=>{e.removeEventListener("click",d)}))})))}function d(e){"keydown"===e.type&&"Enter"!==e.key||(n.querySelector(".navigation__level-2.active").classList.add("invert"),n.querySelectorAll(".navigation__level-1").forEach((e=>{e.classList.remove("active")})),n.querySelectorAll(".navigation__level-2").forEach((e=>{e.classList.remove("active")})),function(e){const t=n.querySelectorAll(".navigation__level-3");if(!t.length)return;const i=e.getAttribute("data-id");i&&t.forEach((e=>{e.getAttribute("data-parent")===i&&(e.classList.add("active"),function(e){const t=e.querySelector(".navigation__level-3-back");t&&(t.addEventListener("click",h),t.addEventListener("keydown",h))}(e),p(e),m(e),v(e))}))}(e.target))}function f(e){"keydown"===e.type&&"Enter"!==e.key||(u(n.querySelectorAll(".navigation__level-2")),s(),b(e))}function h(e){"keydown"===e.type&&"Enter"!==e.key||(!function(e){e||(e=n.querySelectorAll(".navigation__level-3"));const t=n.querySelector(".navigation__level-3.active");if(!t)return;const i=t.getAttribute("data-parent"),r=n.querySelector(`.navigation__level-2-link[data-id="${i}"]`);if(!r)return;
2const o=r.closest(".navigation__level-2");if(!o)return;const s=o.getAttribute("data-parent"),a=n.querySelector(`.navigation__level-1-link[data-id="${s}"]`);a&&(l(a),t.classList.remove("active"),t.querySelector(".navigation__level-3-back").removeEventListener("click",h))}(n.querySelector(".navigation__level-3.active")),b(e))}function g(){if(!e.hideBreadcrumbOnFlyout.mobile)return;const n=new CustomEvent("breadcrumb",{detail:"show"});t.dispatchEvent(n)}function m(e){if(!e.classList.contains("active"))return;const t=n.querySelector(".navigation__search input");t&&e.querySelector("a, button, [tabindex]:not([tabindex='-1'])").addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&t.focus()}))}function v(e){const t=function(e){const t=e.querySelectorAll("a, button, [tabindex]:not([tabindex='-1'])");return t[t.length-1]}(e);t.addEventListener("keydown",(e=>{"Tab"!==e.key||e.shiftKey||n.querySelector(".navigation__logo").focus()}))}function p(e){if(!e.classList.contains("active"))return;const t=e.querySelector("a, button, [tabindex]:not([tabindex='-1'])");console.debug("firstFocusable",t),t&&t.focus()}function b(e){const t=e.target.closest(".navigation__level");if(!t)return;const i=t.dataset.parent;if(!i)return;const r=n.querySelector('[data-id="'+i+'"]');r&&r.focus()}n&&(function(){(function(){const e=n.querySelector(".navigation__menu"),t=n.querySelector(".navigation__main");e&&t&&e.addEventListener("click",i)})(),function(){const e=n.querySelector(".navigation__close"),t=n.querySelector(".navigation__main");e&&t&&e.addEventListener("click",(()=>{t.classList.remove("active"),r(t),o()}))}();const e=n.querySelector(".navigation__search input");e&&e.addEventListener("keydown",(e=>{if("Tab"===e.key&&!e.shiftKey){const e=n.querySelector(".navigation__level.active");if(!e)return;p(e)}}))}(),on())};class an{replaceDefaultFabWithNewsTeaserLink=!1;#e=window.matchMedia("(max-width: 767px)").matches;#t=!1;#n;#i;#r;#o;#s;#a;#c=100;#l=!1;#u=!1;#d={};constructor(e={}){this.#d=e,this.#a=document.querySelector(".navigation__flyout-item--fab"),this.#f(),this.#s=this.#h(),this.#n=document.querySelector(".navigation__buttons"),this.#r=document.querySelector(".navigation__mobile .navigation__top"),this.#s.length&&this.#a&&this.#n&&(this.#i=this.#n.innerHTML,this.#o=this.#r.innerHTML,this.#c=this.#a.dataset.scroll||200,this.#g(),document.addEventListener("click",(e=>this.#m(e))),document.addEventListener("keyup",(e=>this.#v(e))),window.addEventListener("scroll",(()=>this.#p())))}#b(){this.#t=!this.#t,this.#y()}#y(){if(this.#g(),this.#t)return this.#_(),this.#a.classList.add("open"),this.#n.innerHTML=this.#w(),this.#r.innerHTML=this.#w(),void this.#r.classList.add("fab");this.#a.classList.remove("open"),this.#a.style.maxHeight="0px",this.#n.innerHTML=this.#i,this.#r.innerHTML=this.#o,this.#r.classList.remove("fab"),this.#s=this.#h(),sn(this.#d),window.scrollY>this.#c&&this.#s.forEach((e=>{e.classList.remove("hidden")}))}#m(e){if(!this.replaceDefaultFabWithNewsTeaserLink||!this.#u)return e.target.closest(".navigation-fab-button")?(this.#b(),void(this.#e&&$(".navigation__dynamic").hide())):void(this.#t&&e.target.closest(".navigation__flyout-item--fab")||this.#t&&!e.target.closest(".navigation__flyout-item--fab")&&(this.#e&&$(".navigation__dynamic").show(),this.#b()))}#w(){const e=document.createElement("div");return e.classList.add("button"),e.classList.add("fab-close"),$(e).attr("aria-label","Sub-Navigation schliessen"),e.innerHTML='\n <img src="/assets/close.svg" alt="Close" />\n ',e.outerHTML}#p(){if(!this.#l&&window.scrollY>this.#c)return this.#s.forEach((e=>{e.classList.contains("static")||(e.classList.remove("hidden"),e.setAttribute("tabindex","0"))})),void(this.#l=!0);this.#l&&window.scrollY<=this.#c&&!this.#t&&(this.#s.forEach((e=>{e.classList.contains("static")||(e.classList.add("hidden"),e.setAttribute("tabindex","-1"))})),this.#l=!1)}#_(){const e=document.querySelector(".navigation");if(!e)return;const t=e.offsetHeight,n=window.innerHeight;this.#a.style.maxHeight=n-t+"px"}#h(){return document.querySelectorAll(".navigation-fab-button, .news-fab-button")}
2#f(){if(this.#u=document.querySelector(".news-fab-button")||!1,!this.#u)return;if(!this.replaceDefaultFabWithNewsTeaserLink)return;const e=this.#u.cloneNode(!0);e.classList.remove("news-fab-button"),e.classList.remove("static"),e.classList.add("navigation-fab-button"),e.classList.add("hidden");const t=document.querySelector(".navigation__buttons");t.innerHTML=e.outerHTML,t.prepend(e);const n=document.querySelector(".navigation__actions");n.querySelector(".navigation-fab-button").remove(),n.prepend(e)}#g(){const e=this.#t,t=this.#a.querySelectorAll("a, button, input, textarea, select, [tabindex]:not([tabindex='-1'])"),n=e?"0":"-1";t.forEach((t=>{t.setAttribute("tabindex",n),t.setAttribute("aria-hidden",!e)})),this.#a.setAttribute("aria-expanded",e),this.#a.setAttribute("aria-hidden",!e)}#v(e){if("Escape"===e.key&&this.#t){this.#b(),this.#e&&$(".navigation__dynamic").show();const e=document.querySelector(".navigation-fab-button");return console.debug("Focus on FAB button after closing:",e),void(e&&(e.setAttribute("tabindex","0"),e.focus()))}"Enter"===e.key&&e.target.closest(".navigation-fab-button")&&(this.#b(),this.#e&&$(".navigation__dynamic").hide())}}const cn=function(){const e={breakpoint:1024,hideBreadcrumbOnFlyout:{desktop:!0,mobile:!0}};let t=!1,n=!1;function i(){if(new an(e),window.innerWidth<e.breakpoint){if(n)return;sn(e),n=!0}else{if(t)return;(function(e){const t=document.querySelector(".navigation");if(!t)return;const n=t.querySelector(".navigation__desktop");function i(e){if("Enter"!==e.key&&"Space"!==e.key)return!1;if(this.classList.contains("active"))return;const t=n.querySelector(".navigation__top-item.active");t&&(t.classList.remove("active"),this.classList.add("active"),r(),l())}function r(){!function(){a();const e=n.querySelector(".navigation__main-items.active");if(!e)return;e.classList.remove("active");const t=e.querySelectorAll("li.navigation__main-item");if(0==t.length)return;t.forEach((e=>{e.removeEventListener("click",o)}));const i=e.querySelector(".navigation__main-item.active");i&&i.classList.remove("active")}();const e=n.querySelector(".navigation__top-item.active");if(!e)return;const t=e.dataset.id;if(!t)return;const i=n.querySelector(`.navigation__main-items[data-parent="${t}"]`);if(!i)return;i.classList.add("active");const r=i.querySelectorAll("li.navigation__main-item");0!=r.length&&r.forEach((e=>{e.addEventListener("click",o),e.addEventListener("keydown",o)}))}function o(e){if("keydown"===e.type&&"Enter"!==e.key)return;const t=this,i=t.classList.contains("active");i&&(t.classList.remove("active"),$(this).attr("aria-expanded","false"),a()),i||(a(),t.classList.add("active"),function(){const e=n.querySelector(".navigation__main-item.active");if($(e).attr("aria-expanded","true"),!e)return;const t=e.dataset.id;if(!t)return;const i=n.querySelector(`.navigation__flyout-item[data-parent="${t}"]`);if(!i)return;const r=n.querySelector(".navigation__flyout");if(!r)return;r.classList.add("active"),i.classList.add("active");const o=i.querySelectorAll("li.navigation__link");p(e,n.querySelector(".navigation__main-items.active").parentElement,".navigation__text",".navigation__links"),0!=o.length&&o.forEach((e=>{e.addEventListener("click",s),e.addEventListener("keydown",s)}))}(),v()),l()}function s(e){if("keydown"===e.type&&"Enter"!==e.key)return;const t=this,i=t.classList.contains("active");if(i&&($(t).attr("aria-expanded","false"),t.classList.remove("active"),c()),!i){const e=n.querySelector(".navigation__link.active");e&&e.classList.remove("active"),t.classList.add("active"),$(t).attr("aria-expanded","true"),function(){c();const e=n.querySelector(".navigation__link.active");if(!e)return;const t=e.dataset.id;if(!t)return;const i=n.querySelector(`.navigation__sublink-container[data-parent="${t}"]`);p(e,e.parentElement),i&&i.classList.add("active")}()}}function a(){c();const e=n.querySelector(".navigation__flyout");if(!e)return;e.classList.remove("active");const t=n.querySelector(".navigation__main-item.active");t&&t.classList.remove("active");const i=n.querySelector(".navigation__flyout-item.active");if(!i)return;i.classList.remove("active");const r=i.querySelectorAll("li.navigation__link");if(0==r.length)return;r.forEach((e=>
2{e.removeEventListener("click",s)}));const o=i.querySelector(".navigation__link.active");o&&o.classList.remove("active")}function c(){const e=n.querySelector(".navigation__sublink-container.active");e&&e.classList.remove("active")}function l(){if(!t.querySelector(".navigation__overlay"))return;const i=!!n.querySelector(".navigation__main-item.active");i&&(u(),g()),i||(d(),function(){if(!e.hideBreadcrumbOnFlyout.desktop)return;const n=new CustomEvent("breadcrumb",{detail:"show"});t.dispatchEvent(n)}())}function u(){const e=t.querySelector(".navigation__overlay");e&&(e.classList.add("active"),e.addEventListener("click",f),e.addEventListener("keydown",h))}function d(){a(),v();const e=t.querySelector(".navigation__overlay");e&&(e.classList.remove("active"),e.removeEventListener("click",f))}function f(){d(),g()}function h(e){"Escape"===e.key&&(d(),g())}function g(){if(!e.hideBreadcrumbOnFlyout.desktop)return;const n=new CustomEvent("breadcrumb",{detail:"hide"});t.dispatchEvent(n)}function m(e){if("keydown"===e.type&&"Enter"!==e.key)return;const t=n.querySelector(".navigation__search"),i=n.querySelector(".navigation__search-flyout");return t&&i?t.classList.contains("active")?(v(),void d()):void function(){a();const e=n.querySelector(".navigation__search"),t=n.querySelector(".navigation__search-flyout");if(!e||!t)return;e.classList.add("active"),t.classList.add("active"),u();const i=t.querySelector("input");if(!i)return;setTimeout((()=>{i.focus(),i.addEventListener("keydown",(t=>{("Escape"===t.key||"Tab"===t.key&&t.shiftKey)&&(v(),d(),setTimeout((()=>{e.focus()}),100))}))}),100);let r=document.querySelector(".navigation__buttons a");r||(r=e),t.querySelector("button[type='submit']").addEventListener("keydown",(t=>{"Escape"===t.key&&(v(),d(),setTimeout((()=>{e.focus()}),100)),"Tab"!==t.key||t.shiftKey||(v(),d(),setTimeout((()=>{r.focus()}),100))}))}():void 0}function v(){const e=n.querySelector(".navigation__search"),t=n.querySelector(".navigation__search-flyout");e&&t&&(e.classList.remove("active"),t.classList.remove("active"))}function p(e,t,n=null,i=null){const r=e.classList.contains("active");if(!r)return;const o=e.dataset.id;if(!o)return;
2const s=document.querySelector(`[data-parent="${o}"]`);if(!s)return;let a=b(s);if(n){const e=s.querySelector(n);if(!e)return;a=b(e)}if(!a)return;let c=y(s);if(i){const e=s.querySelector(i);e&&(c=y(e))}const l=function(e,t){const n=t.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex="-1"])');return n[Array.from(n).indexOf(e)+1]}(e,t);if(e.addEventListener("keydown",(t=>{"Tab"===t.key&&!t.shiftKey&&e.classList.contains("active")&&(t.preventDefault(),a.focus())})),a.addEventListener("keydown",(t=>{"Tab"===t.key&&t.shiftKey&&(t.preventDefault(),e.focus())})),c.addEventListener("keydown",(e=>{"Tab"!==e.key||e.shiftKey||(e.preventDefault(),l&&l.focus(),l||document.querySelector(".navigation__search").focus())})),l&&c){if(!r)return;l.addEventListener("keydown",(t=>{"Tab"===t.key&&t.shiftKey&&e.classList.contains("active")&&(t.preventDefault(),c.focus())}))}}function b(e){return e.querySelector('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex="-1"])')}function y(e){const t=e.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex="-1"])');return t[t.length-1]}n&&(on(),function(){const e=n.querySelectorAll(".navigation__top-item");0!=e.length&&(n.querySelector(".navigation__top-item.active")||(e[0].classList.add("active"),r()),e.forEach((e=>{e.addEventListener("click",i),e.addEventListener("keydown",i)})))}(),r(),function(){const e=n.querySelector(".navigation__search"),t=n.querySelector(".navigation__search-flyout");e&&t&&(e.addEventListener("click",m),e.addEventListener("keydown",m))}())})(e),t=!0}}window.addEventListener("resize",(()=>{i()})),i()};var ln=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var s=o[r];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};const un="__googleMapsScriptId";var dn;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(dn||(dn={}));class fn{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:i,id:r=un,language:o,libraries:s=[],mapIds:a,nonce:c,region:l,retries:u=3,url:d="https://maps.googleapis.com/maps/api/js",version:f}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=i,this.id=r||un,this.language=o,this.libraries=s,this.mapIds=a,this.nonce=c,this.region=l,this.retries=u,this.url=d,this.version=f,fn.instance){if(!ln(this.options,fn.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(fn.instance.options)}`);return fn.instance}fn.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?dn.FAILURE:this.done?dn.SUCCESS:this.loading?dn.LOADING:dn.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
2Object.keys(n).forEach((e=>!n[e]&&delete n[e])),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,i,r="The Google Maps JavaScript API",o="google",s="importLibrary",a="__ib__",c=document,l=window;l=l[o]||(l[o]={});const u=l.maps||(l.maps={}),d=new Set,f=new URLSearchParams,h=()=>t||(t=new Promise(((s,l)=>{return h=this,g=void 0,v=function*(){var h;for(i in yield n=c.createElement("script"),n.id=this.id,f.set("libraries",[...d]+""),e)f.set(i.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[i]);f.set("callback",o+".maps."+a),n.src=this.url+"?"+f,u[a]=s,n.onerror=()=>t=l(Error(r+" could not load.")),n.nonce=this.nonce||(null===(h=c.querySelector("script[nonce]"))||void 0===h?void 0:h.nonce)||"",c.head.append(n)},new((m=void 0)||(m=Promise))((function(e,t){function n(e){try{r(v.next(e))}catch(e){t(e)}}function i(e){try{r(v.throw(e))}catch(e){t(e)}}function r(t){var r;t.done?e(t.value):(r=t.value,r instanceof m?r:new m((function(e){e(r)}))).then(n,i)}r((v=v.apply(h,g||[])).next())}));var h,g,m,v})));u[s]?console.warn(r+" only loads once. Ignoring:",e):u[s]=(e,...t)=>d.add(e)&&h().then((()=>u[s](e,...t)))})(n);const i=this.libraries.map((e=>this.importLibrary(e)));i.length||i.push(this.importLibrary("core")),Promise.all(i).then((()=>this.callback()),(e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)}))}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setScript())}}}const hn=[];let gn,mn=!1;const vn={create:async(e,t={},n)=>{if(!n)throw new Error("No API key provided.");const i=await async function(e,t,n){const i=new fn({apiKey:n,version:"weekly"});if(await i.load(),"string"==typeof e&&(e=document.querySelector(e)),!(e instanceof HTMLElement))throw new Error("The mapElement could not be found.");delete(t={zoom:5,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.LARGE,position:google.maps.ControlPosition.RIGHT_TOP},scaleControl:!0,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1,scrollwheel:!1,panControl:!0,panControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},rotateControl:!1,streetViewControl:!1,styles:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#444444"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",stylers:[{color:"#3C96C8",visibility:"on"}]},{featureType:"water",elementType:"labels",stylers:[{weight:1}]}],...t}).mapId;return new google.maps.Map(e,t)}(e,t,n);return gn=i,window.gmap=i,function(e,t){e.addListener("dragend",(()=>{_n("mapMoved",t)})),e.addListener("zoom_changed",(()=>{mn?mn=!1:_n("mapZoomed",t)}))}(i,e),_n("mapInit",e),{map:gn,markers:hn}},createWithMarker:async(e,t,n={},i)=>(await vn.create(e,n,i),t&&(t.forEach((e=>{vn.addMarker(e)})),mn=!0,function(e){const t=new google.maps.LatLngBounds;e.forEach((e=>{const n=new google.maps.LatLng(e.position.lat,e.position.lng);t.extend(n)})),gn.fitBounds(t,20)}(t)),{map:gn,markers:hn}),addMarker:async e=>{const t=function(e,t){const n=bn(),i=function(e){if("object"!=typeof e.position)throw new Error(`The position of the marker should be an object with 'lat' and 'lng' properties, but it is of type ${typeof e.position}.`);if(!e.position.lat||!e.position.lng)throw new Error("The position of the marker should be an object with 'lat' and 'lng' properties.");return{lat:parseFloat(e.position.lat),lng:parseFloat(e.position.lng)}}(t),r=hn.find((e=>e.id===t.id));if(r)return;const o=new google.maps.Marker({position:i,map:e,icon:n});return hn.push({id:t.id,marker:o}),o}(gn,e);t&&function(e,t){t.addListener("click",(()=>{e.callback&&e.callback(),vn.highlightMarker(t)}))}(e,t)},removeMarker:e=>{if(!e)return;let t;var n;"string"==typeof e&&(n=e,t=hn.find((e=>e.id===n))),e instanceof google.maps.Marker&&(markerElement=pn(e)),t&&(t.marker.setMap(null),hn.splice(hn.indexOf(t),1))},highlightMarker:e=>{const t=pn(e);if(!t.highlighted){vn.unhighlightAllMarkers();{const e=bn(!0);t.marker.setIcon(e),t.marker.setZIndex(200);const n=t.marker.getPosition(),i=n.lat(),r=n.lng();t.marker.setPosition({lat:i,lng:r})}return t.highlighted=!0,t.marker}},unhighlightMarker:e=>{const t=pn(e);{const e=bn();t.marker.setIcon(e),t.marker.setZIndex(0);const n=t.marker.getPosition(),i=n.lat(),r=n.lng();t.marker.setPosition({lat:i,lng:r})}return t.highlighted=!1,t.marker},unhighlightAllMarkers:()=>{hn.forEach((e=>{e.highlighted&&vn.unhighlightMarker(e.marker)}))},coords:async e=>{const t=new fn({apiKey:"AIzaSyCWI1qaB8hrudRttk9Ij3QjG0bBJ0kljnk",version:"weekly"});await t.load();const n=new google.maps.Geocoder;return new Promise(((t,i)=>{n.geocode({address:e,region:"de",language:"de_DE"},((e,n)=>{"OK"===n?t(e[0].geometry.location.toJSON()):i(new Error(n))}))}))},panToMarker:e=>{gn.panTo(e.position)},dispatchUpdateEvent:()=>{_n("mapUpdate",gn.getDiv())},destroy:()=>{hn.forEach((e=>{e.marker.setMap(null)})),hn.length=0,gn=null}};function pn(e){return hn.find((t=>t.marker===e))}function bn(e){const t={path:"M 36.008 21.004 C 36.008 40.903 5.992 40.559 5.992 21.004 C 5.992 0.963 36.008 1.571 36.008 21.004 Z",fillColor:"#015697",strokeColor:"#015697",fillOpacity:1,strokeOpacity:1,strokeWeight:6,scale:.5,anchor:new google.maps.Point(20,10)};return e&&(t.strokeColor="#ffde14",t.strokeWeight=12,t.scale=.8),t}function yn(e,t){const n=e.lat*(Math.PI/180),i=t.lat*(Math.PI/180),r=i-n,o=(t.lng-e.lng)*(Math.PI/180);return 12742.142*Math.asin(Math.sqrt(Math.sin(r/2)*Math.sin(r/2)+Math.cos(n)*Math.cos(i)*Math.sin(o/2)*Math.sin(o/2)))}function _n(e,t){const n=gn,i=n.getCenter().toJSON(),r=n.getZoom(),o=function(){const e=gn,t=new google.maps.Rectangle;t.setOptions({strokeColor:"#f7d152",strokeOpacity:.8,strokeWeight:2,fillColor:"#f7bd52",fillOpacity:.35,map:e,bounds:e.getBounds(),visible:!1});const n=t.getBounds();if(!n)return;
2const i=n.getNorthEast(),r=n.getSouthWest();return{north:i.lat(),east:i.lng(),south:r.lat(),west:r.lng()}}(),s=function(e){if(!e)return;const t=yn({lat:e.north,lng:e.east},{lat:e.north,lng:e.west}),n=yn({lat:e.north,lng:e.east},{lat:e.south,lng:e.east});let i=(t<n?t:n)/2;return i-=20*i/100,i}(o),a=new CustomEvent(e,{detail:{center:i,radius:s,bounds:o,zoom:r}});t.dispatchEvent(a)}const wn=vn,kn="vlhUser",Sn="useR4712",Ln=async(e,t,n,i,r,o)=>new Promise(((s,a)=>{t||a(new Error("No address provided.")),"string"!=typeof t&&"object"!=typeof t&&a(new Error("Address must be a string or an object with lat and lng."));const c=e||"https://webadminstaging.vlh.de/webservice/bst/bstsearch/v2";var l=new Headers({Authorization:`Basic ${btoa(kn+":"+Sn)}`});let u=`${c}`;"object"==typeof t&&(t.lat&&t.lng||a(new Error("No lat and lng provided.")),u+=`?lat=${t.lat}&lng=${t.lng}`),"string"==typeof t&&(u+=`?searchLocation=${t}`),u+=n?`&radius=${n}`:"",u+=i?`&filterAvailable=${i}`:"",u+=r?`&sortByDistance=${r}`:"",u+=o?`&${o}`:"",fetch(u,{headers:l}).then((e=>{if(e.ok)return e.json();throw new Error("Network response was not ok.")})).then((e=>{s(e)})).catch((e=>{a(e)}))})),En=async e=>new Promise(((t,n)=>{const i=e||"https://webadminstaging.vlh.de/webservice/bst/anzahl",r=new Headers({Authorization:`Basic ${btoa(kn+":"+Sn)}`});fetch(i,{headers:r}).then((e=>{if(e.ok)return e.json();throw new Error("Network response was not ok.")})).then((e=>{t(e)})).catch((e=>{n(e)}))})),qn="/bst/";function xn(e){if(!e||Array.isArray(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length)return null;const t=document.createElement("div");return Object.entries(e).forEach((e=>{const n=document.createElement("div");n.className="bst-result__time-slot",n.innerHTML=`\n <div class="bst-result__day">\n ${e[0].charAt(0).toUpperCase()+e[0].slice(1)}\n </div>\n `;const i=document.createElement("div");i.className="bst-result__hours";const r=function(e){if(!e||0===Object.keys(e).length||"object"!=typeof e)return null;const t=Array.isArray(e)?e:[e],n=document.createElement("div");return t.forEach((e=>{const t=document.createElement("div");t.className="bst-result__hour",t.innerHTML=`\n ${e.start} - ${e.ende} Uhr\n `,n.appendChild(t)})),n.innerHTML}(e[1]);i.innerHTML=r,n.appendChild(i),t.appendChild(n)})),t.innerHTML}const Cn="square",Mn={show:(e=null)=>{e=function(e){return An[e]?e:Cn}(e),function(){const e=document.createElement("div");e.innerHTML=function(e=Cn){return`\n <div class="loader loader--${e}">\n <div class="loader__container">\n <div class="loader__spinner"></div>\n </div>\n </div>\n `}(),document.body.appendChild(e)}()},hide:()=>{!function(){const e=document.querySelector(".loader");e.parentNode.removeChild(e)}()}},An={square:"square",circle:"circle",dots:"dots"},Tn=Mn;class zn{#k="bst-results";#S="bst-filter__option";#L="bst-result__map";#E="bst-result";#q;#x;#C;#M;constructor(e={}){if(!e.filterOnlyAvailable||"function"!=typeof e.filterOnlyAvailable)throw new Error("filterOnlyAvailable function is required");if(!e.filterAll||"function"!=typeof e.filterAll)throw new Error("filterAll function is required");if(!e.selectCard||"function"!=typeof e.selectCard)throw new Error("selectCard function is required");this.#q=e.filterOnlyAvailable,this.#x=e.filterAll,this.#C=e.selectCard}run(){this.#M&&this.#A(),this.#T()}#T(){this.#M=document.querySelector(`.${this.#k}`),this.#M&&this.#M.addEventListener("keydown",this.#z.bind(this))}#z(e){if("Enter"!==e.key&&" "!==e.key)return void this.#I(e);let t=this.#O(e);t||(t=this.#P(e)),t||(t=this.#$(e))}#O(e){const t=e.target.closest(`.${this.#S}`);if(!t)return;const n=t.querySelector('input[type="radio"]');!n||n.disabled||n.checked||(n.checked=!0,"result-option-available"!==n.id?this.#x():this.#q())}#$(e){if(!e.target.closest(`.${this.#L}`))return!1;this.#C(e)}#P(e){return!!e.target.closest(`.${this.#E}`)&&(this.#C(e),!0)}#A(){this.#M&&(this.#M.removeEventListener("keydown",this.#z.bind(this)),this.#M=null)}#I(e){if("Tab"!==e.key&&("Tab"!==e.key||!e.shiftKey))return;const t=this.#M.querySelector(`.${this.#S}:last-child`),n=this.#M.querySelector(`.${this.#E}:first-child`);return t&&n?document.activeElement!==t||e.shiftKey?document.activeElement===n&&e.shiftKey?(e.preventDefault(),void t.focus()):void 0:(e.preventDefault(),void n.focus()):void 0}}const In="bst-search-map",On=function(){if("undefined"==typeof bstConfig)return;const e="1"==bstConfig.keepMapMarkersOutsideMapBounds,t="1"==bstConfig.removeCardsOutsideMapBounds,n="1"==bstConfig.centerMapOnHighlightedResult,i=p
2arseInt(bstConfig.initialSearchRadius)??20,r=parseInt(bstConfig.mapTopPadding)??0,o=parseInt(bstConfig.mapFollowSpeed)??500,s="1"==bstConfig.scrollToTop,a=Boolean("1"==bstConfig.showHvDaten??"0"),c="1"==bstConfig.noLoadingAnimation,l=!bstConfig.scrollCardIntoView||"1"==bstConfig.scrollCardIntoView;let u=null,d={},f=[],h=0,g={},m=!1,v=!0,p=null,b=null,y=null,_=null;async function w(){c||Tn.show(),S().then((e=>{k(e),async function(e){const t=document.getElementById("bst-map");if(!t)return;const n=q(e),i={center:await L(e)};In&&(i.mapId=In),wn.createWithMarker(t,n,i,bstConfig.googleMapsApiKey).then((e=>e)).then((e=>{u=e})).then((()=>{!function(e){e.addEventListener("mapZoomed",H),e.addEventListener("mapMoved",H),e.addEventListener("mapUpdate",H)}(t)})).then((()=>{!function({duration:e=500,paddingTop:t=0}={}){const n=document.getElementById("bst-map");if(!n)return;if(!n.classList.contains("bst-map__map--sticky"))return;const i=n.closest(".bst-map__content"),r=document.querySelector(".navigation")?.offsetHeight||0,o=n.getClientRects()[0].top+window.scrollY;let s=0;function a(){const n=window.scrollY+r+t-o;s=n>=0?n:0,function(){const t=parseInt(i.style.top)||0,n=s-t,r=performance.now();requestAnimationFrame((function o(s){const a=s-r;var c,l,u;i.style.top=(c=a,l=t,u=n,((c/=e/2)<1?u/2*c*c+l:-u/2*(--c*(c-2)-1)+l)+"px"),a<e&&requestAnimationFrame(o)}))}()}a(),window.addEventListener("scroll",(()=>{a()}))}({duration:o,paddingTop:r})}))}(f),function(e){const t=document.querySelector(".bst-results__results");t&&(T(),e.forEach((e=>{const n=E(e);t.appendChild(n)})),function(){const e=document.querySelector(".bst-results__results");e&&e.addEventListener("click",x)}())}(f.markers),R(),c||Tn.hide()})).then((()=>{_.run()})),document.querySelector(".bst-search__container").classList.remove("open"),document.querySelector(".bst-results").classList.add("open")}function k(e){return g=structuredClone(d),d=e,f=[],f=e,h+=e.length,O(),f}async function S(){const e=`${bstConfig.webadminHost}/${bstConfig.apiPathSearchQuery}`,t=b??function(){const e=document.querySelector(".bst-search__form-field");if(e)return e.value}();let n=p??i;n=Math.floor(n);let r=bstConfig.customQueryParams??null;r&&r.startsWith("?")&&(r=r.substring(1));let o=[];return o=await Ln(e,t,n,v,m,r).then((e=>e)),o}async function L(e){let t=e.coords.lat,n=e.coords.lng;return"number"==typeof t&&"number"==typeof n||(t=parseFloat(t),n=parseFloat(n)),{lat:+t,lng:+n}}function E(e){return function(e,{showAdvisorDetails:t=!0,showHvDaten:n=!1,host:i=null}={}){i=window.bstBaseUrl||"https://www.vlh.de",e.entfernung=Math.round(10*e.entfernung)/10;const r=document.createElement("li");r.className="bst-result",r.dataset.isAvailable=e.nimmtauf,r.dataset.bstId=e.bstId,r.tabIndex=0,r.innerHTML=`\n <div class="bst-result__main">\n <div class="bst-result__consultant">\n <div class="bst-result__person">\n <div class="bst-result__image">\n <img src="${e.avatar??""}" alt="${e.vorname??""} ${e.nachname??""}">\n </div>\n <div class="bst-result__address">\n <div class="bst-result__name">${e.vorname} ${e.nachname??""}</div>\n <div class="bst-result__street">${e.strasse??""}</div>\n <div class="bst-result__street bst-result__street--addition">${e.adresszusatz??""}</div>\n <div class="bst-result__city">${e.plz} ${e.stadt}</div>\n </div>\n </div>\n <div class="bst-result__distance">${e.entfernung} km</div>\n\n ${!0===n?'<div class= "bst-result__address"> ':""}\n ${!0===n&&""!==e.rl?`\n <span class="bst-result__regionalleiter">RL: ${e.rl}</span>\n `:""}\n ${!0===n&&e.meineVlh?'\n <span class="">MeineVLH <div class="bst-result__meinevlh"></div></span>\n ':""}\n ${!0===n?"</div> ":""}\n </div>\n <div class="bst-result__actions">\n <div class="bst-result__buttons">\n <a href="${i+qn+e.bstId.toString()+"/Kontakt.html"}" class="bst-result__profile button" target="_blank">Kontakt aufnehmen</a>\n </div>\n <div class="bst-result__links">\n <a href="${i+qn+e.bstId.toString()+"/"}" class="bst-result__website" target="_blank">\n zur Webseite\n <div class="bst-result__website-icon"></div>\n </a>\n <div class="bst-result__card">\n mehr anzeigen\n <div class="bst-result__card-icon"></div>\n </div>\n </div>\n </div>\n </div>\n <div class="bst-result__accordion">\n <div class="bst-result__accordion-info">\n <div class="bst-result__times bst-result__times--opening">\n <div class="bst-result__time-header">\n Ãffnungszeiten\n </div>
2\n ${xn(e.oeffnungszeiten)}\n </div>\n </div>\n <div class="bst-result__accordion-info">\n <div class="bst-result__times bst-result__times--service">\n <div class="bst-result__time-header">\n Telefonische Erreichbarkeit\n </div>\n ${xn(e.sprechzeiten)}\n </div>\n <div class="bst-result__languages">\n <div class="bst-result__language-header">\n Sprachen\n </div>\n <div class="bst-result__language-items">\n ${function(e,t){if(!e||0===Object.keys(e).length||"object"!=typeof e)return null;const n=document.createElement("div");return Object.entries(e).forEach((e=>{let i="";t&&(i=`${t}/images/flags/${e[0]}.svg`);const r=document.createElement("div");r.className="bst-result__language",r.innerHTML=`\n <div class="bst-result__language-flag">\n <img src="${i}" alt="${e[1]}" />\n </div>\n `,r.innerHTML+=`\n <div class="bst-result__language-name">\n ${e[1]}\n </div>\n `,n.appendChild(r)})),n.innerHTML}(e.sprachen,i)}\n </div>\n </div>\n </div>\n </div>\n <div class="bst-result__info">\n ${e.hinweis}\n </div>\n `;let o=!1;if((e.oeffnungszeiten||e.sprechzeiten||e.sprachen)&&(o=!0),!o||!t){const e=r.querySelector(".bst-result__accordion");e&&e.remove()}if(!o||!t){const e=r.querySelector(".bst-result__card");e&&e.remove()}if(!e.oeffnungszeiten||Array.isArray(e.oeffnungszeiten)&&0===e.oeffnungszeiten.length||"object"==typeof e.oeffnungszeiten&&0===Object.keys(e.oeffnungszeiten).length){const e=r.querySelector(".bst-result__times--opening");e&&e.remove()}if(!e.sprechzeiten||Array.isArray(e.sprechzeiten)&&0===e.sprechzeiten.length||"object"==typeof e.sprechzeiten&&0===Object.keys(e.sprechzeiten).length){const e=r.querySelector(".bst-result__times--service");e&&e.remove()}if(!e.sprachen||Array.isArray(e.sprachen)&&0===e.sprachen.length||"object"==typeof e.sprachen&&0===Object.keys(e.sprachen).length){const e=r.querySelector(".bst-result__languages");e&&e.remove()}if(!e.hinweis){const e=r.querySelector(".bst-result__info");e&&e.remove()}return r}(e,{showAdvisorDetails:!1,showHvDaten:a,host:bstConfig.vlhDeHost})}function q(e){const t=e.markers;let n=[];return t.forEach((e=>{const t=function(e){e.lat,e.lng;const t=e.bstId;return{id:e.bstId,position:{lat:e.lat,lng:e.lng},callback:function(e){const n=document.querySelector(`.bst-result[data-bst-id="${t}"]`);n&&C(n)}}}(e);n.push(t)})),n}function x(e){const t=e.target.closest(".bst-result");t&&e.target.closest(".bst-result")&&C(t)}function C(e){!function(){const e=document.querySelectorAll(".bst-result");e.length&&e.forEach((e=>{e.classList.contains("bst-result--colored")&&function(e){e.classList.remove("bst-result--colored");const t=M(e.dataset.bstId).marker;t&&wn.unhighlightMarker(t)}(e)}))}(),e.classList.add("bst-result--colored");const t=M(e.dataset.bstId).marker;if(wn.highlightMarker(t),n&&(wn.panToMarker(t),wn.dispatchUpdateEvent()),s&&document.querySelector(".bst-results__results").scrollIntoView({behavior:"smooth"}),l){const t=document.querySelector(".bst-results__results");if(!t)return;!function(e,t){const n=e.getBoundingClientRect(),i=e.clientHeight,r=(e.clientWidth,t.getBoundingClientRect());if(!(r.top>=n.top&&r.bottom<=n.top+i)){const t=r.top-n.top,i=r.bottom-n.bottom;if(Math.abs(t)<Math.abs(i))return void e.scrollTo({top:e.scrollTop+t,behavior:"smooth"});e.scrollTo({top:e.scrollTop+i,behavior:"smooth"})}}(t,e)}}function M(e){return u.markers.find((t=>t.id===e))}function A(){!function(){const e=document.getElementById("bst-map");e&&(e.innerHTML="",wn.destroy(),u=null)}(),T(),h=0,d={}}function T(){const e=document.querySelector(".bst-results__results");e&&(e.innerHTML="",e.removeEventListener("click",x))}function z(){const e=function(){const e=structuredClone(d),t=e.markers.slice(h,h+5);return e.markers=t,e}();q(e).forEach((e=>{wn.addMarker(e)})),function(e){const t=document.querySelector(".bst-results__results");t&&e.forEach((e=>{const n=E(e);t.appendChild(n)}))}(e.markers),h+=5,h<d.markers.length||O()}function I(){O(),z(),function(){const e=document.querySelector(".bst-results__loader");e&&(h>=d.markers.length||(e.classList.add("visible"),new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&I()}))}),{rootMargin:"-100px"}).observe(e)))}()}function O(){const e=document.querySelector(".bst-results__loader");e&&(e.removeEventListener("inview",I),e.remove())}function P(e){const t=e.target.id;"result-option-available"===t&&$(),"result-option-distance"===t&&(m||(v=!0,m=!0,A(),w())),"result-option-all"===t&&j()}function $(){v&&!m||(v=!0,m=!1,A(),w())}function j(){v&&(v=!1,m=!1,A(),w())}function H(n){b=n.detail.center,p=Math.floor(n.detail.radius),y=n.detail.bounds,S().then((n=>{k(n),function(t=null){e||g.markers.filter((e=>!d.markers.some((t=>
2t.bstId===e.bstId)))).forEach((e=>{wn.removeMarker(e.bstId)}));const n=q(f);let i=0;n.forEach((t=>{let n=!0;e||(n=B(t)),n&&(wn.addMarker(t),i++)})),t&&t(i)}((e=>{R(e)})),function(){const e=document.querySelectorAll(".bst-result");let n=[];e.forEach((e=>{const i=function(e,n){if(!n)return void e.remove();if(t&&!B({position:n}))return void e.remove();let i=n.entfernung;i=i.toFixed(1);const r=e.querySelector(".bst-result__distance");return r&&(r.innerHTML=`${i} km`),{card:e,distance:i,advisor:n}}(e,d.markers.find((t=>t.bstId===e.dataset.bstId)));i&&n.push(i)}));let i=[];i=t?f.markers.filter((e=>B({position:e}))):f.markers;let r=[];i.forEach((e=>{if(n.length&&n.find((t=>t.advisor.bstId===e.bstId)))return;const t=E(e);if(t){let n=e.entfernung;n=n.toFixed(1),r.push({card:t,distance:n,advisor:e})}})),function(e,t){const n=[...e,...t];n.sort(((e,t)=>e.distance-t.distance));const i=document.querySelector(".bst-results__results");i&&(i.innerHTML="",n.forEach((e=>{e&&i.appendChild(e.card)})))}(n,r)}()}))}function B(e){if(!y)return!0;const t=e.position.lat,n=e.position.lng,i=y.north,r=y.south,o=y.east,s=y.west;return t<=i&&t>=r&&n<=o&&n>=s}function R(e){const t=document.getElementById("bst-filter-sum");t&&(t.innerText="number"==typeof e?e:d.markers.length)}!async function(){const e=document.getElementById("advisor-sum");e&&async function(){const e=`${bstConfig.webadminHost}/${bstConfig.apiPathAllQuery}`;return await En(e)}().then((t=>{e.innerHTML=t}))}(),function(){const e=window.location.href.includes("search_by_address"),t=bstConfig.staticLocation;if(!e&&!t){const e=document.querySelector(".bst-search__container");if(!e)return;return void e.classList.add("open")}let n="";e&&(n=new URLSearchParams(window.location.search).get("search_by_address")),t&&(n=t),n=decodeURIComponent(n),function(e){const t=document.querySelector(".bst-search__form-field");t&&(t.value=e)}(n),w()}(),function(){const e=document.querySelector(".bst-search__form .button");e&&e.addEventListener("click",(e=>{e.preventDefault();const t=document.querySelector(".bst-search__form-field");t&&t.value&&w()}))}(),function(){const e=document.querySelectorAll(".bst-filter__options input");e.length&&e.forEach((e=>{e.addEventListener("click",P)}))}(),function(){const e=document.querySelector(".bst-filter__back");e&&e.addEventListener("click",(e=>{e.preventDefault(),b=null,p=null,y=null,A(),document.querySelector(".bst-results").classList.remove("open"),document.querySelector(".bst-search__container").classList.add("open")}))}(),_=new zn({filterOnlyAvailable:$,filterAll:j,selectCard:x})};function Pn(e){const t=e.target.closest(".button"),n=e.target.closest(".infobox--bst").querySelector(".infobox__form-field").value,i=t.getAttribute("href");e.preventDefault(),function(e,t){const n="search_by_address";e&&(t=t.includes("?")?`${t}&${n}=${e}`:`${t}?${n}=${e}`),window.location=t}(n,i)}function $n(e){e.target.value&&"Enter"===e.key&&e.target.closest(".infobox--bst").querySelector(".button").click()}function jn(){if(!document.querySelector(".downloads__item--multi"))return;let e=null,t=null,n=null,i=null;function r(e){let t={};return e.split(",").forEach(((e,n)=>{let i=e.split("@");t[n]={id:i[0],value:i[1]}})),t}function o(e,t){for(let n in e)if(e[n].id===t)return e[n].value}function s(){if(!e)return;const t=e.querySelector(".downloads__menu");t&&(t.remove(),e=null)}function a(a){if("keydown"!==a.type||"Enter"===a.key)return a.target.closest(".downloads__item--multi")?(n=a.target,t=n.closest(".downloads__item--multi"),void(n.closest(".downloads__menuitem")?function(){const e=n.closest(".downloads__menuitem");i=e.dataset.id,function(){const e=t.querySelector(".downloads__item-info"),n=r(e.dataset.info);e.textContent=o(n,i)}(),function(){const e=t.querySelector(".downloads__item-language"),n=r(e.dataset.altLanguages);e.textContent=o(n,i)}(),function(){const e=t.querySelector(".downloads__item-link"),n=r(e.dataset.links);e.href=o(n,i)}(),s()}():n.closest(".downloads__item-language")?e?s():(e=t,function(){const e=t.querySelector(".downloads__item-language"),n=function(e){let t='<div class="downloads__menu">';for(let n in e)t+=`<div class="downloads__menuitem" tabindex="0" data-id="${e[n].id}">${e[n].value}</div>`;return t+="</div>",t}
2(r(e.dataset.altLanguages));e.insertAdjacentHTML("afterend",n);const i=t.querySelector(".downloads__menu");i.addEventListener("focusout",(e=>{i.contains(e.relatedTarget)||s()}))}()):s())):void s()}document.addEventListener("click",a),document.addEventListener("keydown",a),document.querySelectorAll(".downloads__item-language--multiple").forEach((e=>{e.addEventListener("focus",(e=>{a(e)}))}))}const Hn={showAfterHeight:"50vh",showAfterElementSelector:".hero",selectorOffset:"50%",smallButtonOffset:"100vh",smallOffsetIsRelative:!0};const Bn=[{id:"petra-haimerl-schoetz",name:"Petra Haimerl-Schötz",phone:"0162 2979378",phonelink:"+491622979378",email:{direct:"[email protected]",organic:"[email protected]",cpc:"[email protected]",paid:"[email protected]",static:"[email protected]"},claim:"In der Welt zu Hause - in Bayern dahoam",image:"/assets/petra-haimerl-schoetz-center.jpg"},{id:"daniel-knorr",name:"Daniel Knorr",phone:"0152 09375018",phonelink:"+4915209375018",email:{direct:"[email protected]",organic:"[email protected]",cpc:"[email protected]",paid:"[email protected]",static:"[email protected]"},claim:"Leidenschaftlicher FuÃballer und DJ",image:"/assets/daniel-knorr-center.jpg"},{id:"jens-barnekow",name:"Jens Barnekow",phone:"0173 4908620",phonelink:"+491734908620",email:{direct:"[email protected]",organic:"[email protected]",cpc:"[email protected]",paid:"[email protected]",static:"[email protected]"},claim:"Nordlicht und Handballfan",image:"/assets/jens-barnekow-center.jpg"},{id:"christian-bahlke",name:"Christian Bahlke",phone:"0152 09375022",phonelink:"+4915209375022",email:{direct:"[email protected]",organic:"[email protected]",cpc:"[email protected]",paid:"[email protected]",static:"[email protected]"},claim:"Nordlicht und Handballfan",image:"/assets/christian-bahlke-center.jpg"},{id:"derya-ilguen-dogan",name:"Derya İlgün-DoÄan",phone:"0173 2410442",phonelink:"+491732410442",email:{direct:"[email protected]",organic:"[email protected]",cpc:"[email protected]",paid:"[email protected]",static:"[email protected]"},claim:" ",image:"/assets/Derya_ilguen-dogan.png"}],Rn=[{name:"Baden-Württemberg",contact:"petra-haimerl-schoetz"},{name:"Bayern",contact:"petra-haimerl-schoetz"},{name:"Berlin",contact:"daniel-knorr"},{name:"Brandenburg",contact:"daniel-knorr"},{name:"Bremen",contact:"jens-barnekow"},{name:"Hamburg",contact:"jens-barnekow"},{name:"Hessen",contact:"christian-bahlke"},{name:"Mecklenburg-Vorpommern",contact:"jens-barnekow"},{name:"Niedersachsen",contact:"jens-barnekow"},{name:"Nordrhein-Westfalen",contact:"derya-ilguen-dogan"},{name:"Rheinland-Pfalz",contact:"christian-bahlke"},{name:"Saarland",contact:"christian-bahlke"},{name:"Sachsen",contact:"daniel-knorr"},{name:"Sachsen-Anhalt",contact:"daniel-knorr"},{name:"Schleswig-Holstein",contact:"jens-barnekow"},{name:"Thüringen",contact:"daniel-knorr"}],Fn=["google.com","bing.com","duckduckgo.com","ecosia.org","yahoo.com","startpage.com","search.brave.com","facebook.com","instagram.com","fb.com","linkedin.com","lnkd.in","x.com","t.co","twitter.com","tiktok.com","pinterest.com","youtube.com","whatsapp.com","messenger.com","telegram.org","signal.org","slack.com","discord.com","chatgpt.com","perplexity.ai"],Nn={google:"cpc",meta:"paid"};function Dn(e){const t=e.target.closest(".button"),n=e.target.closest(".textimage-block--bst").querySelector(".textimage-block__form-field").value,i=t.getAttribute("href");e.preventDefault(),function(e,t){const n="search_by_address";e&&(t=t.includes("?")?`${t}&${n}=${e}`:`${t}?${n}=${e}`),window.location=t}(n,i)}function Un(e){e.target.value&&"Enter"===e.key&&e.target.closest(".textimage-block--bst").querySelector(".button").click()}const Kn=1024;let Wn,Gn,Vn,Jn={},Yn={},Zn={},Xn=null;function Qn(e){!function(e){const t=ni(e);Zn[t]&&function(e){const t=ni(e);Zn[t].destroy(),Zn[t]=null}(e),Yn[t]=[...Jn[t]];const n=e.querySelector(".gridcards__content");n&&(n.innerHTML="",ii(e))}(e),window.innerWidth<Kn?(e.classList.add("gridcards--slider"),e.classList.remove("gridcards--grid"),function(e){const t=e.querySelector(".gridcards__content");
2if(!t)return;t.innerHTML=Gn,function(e){const t=ni(e),n=e.querySelector(".gridcards__content");if(!n)return;n.innerHTML=Gn;const i=e.querySelector(".splide__list");if(!i)return;const r=Jn[t];i.append(...r),Yn[t]=[]}(e);const n=ni(e);Zn[n]=new Zt(t.querySelector(".gridcards__slider"),{type:"slide",autoWidth:!0,gap:"1.5rem",pagination:!0,arrows:!1}).mount()}(e)):(e.classList.remove("gridcards--slider"),e.classList.add("gridcards--grid"),function(e){const t=e.querySelector(".gridcards__content");t&&(t.innerHTML=Vn,ti(e))}(e))}function ei(e){ti(e)}function ti(e){const t=ni(e),n=e.querySelector(".gridcards__grid");if(!n)return;ii(e);const i=Yn[t].splice(0,4);n.append(...i),Yn[t].length&&function(e){const t=e.querySelector(".gridcards__show-more-container");if(!t)return;t.innerHTML=Wn;const n=t.querySelector(".gridcards__show-more-button");n.addEventListener("click",(()=>ei(e))),n.addEventListener("keydown",(()=>ei(e)))}(e)}function ni(e){return e.getAttribute("data-uid")}function ii(e){const t=e.querySelector(".gridcards__show-more-container");if(!t)return;const n=t.querySelector(".gridcards__show-more-button");n&&(n.removeEventListener("click",(()=>ei(e))),n.removeEventListener("keydown",(()=>ei(e))),t.innerHTML="")}const ri=function(){const e="prod",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function n(e){return new URLSearchParams(window.location.search).get(e)}document.addEventListener("DOMContentLoaded",(()=>{window.utmGatewayObject={},function(){if(null===localStorage.getItem("utmGateway")){"prod"!==e&&console.log("utmGateway is null");var n={storageFirstRequest:"",website_origin:"",realRequestURL:"",landingpageurl:"",utm_source:"",utm_leadhash:"",utmParams:[]};localStorage.setItem("utmGateway",JSON.stringify(n))}else n=JSON.parse(localStorage.getItem("utmGateway")),"prod"!==e&&console.log("utmGateway is Set");"prod"!==e&&console.log("utmGateway JsonObject ",n),"true"!==localStorage.getItem("storageFirstRequest")&&function(n){if("prod"!==e&&(console.log("utmParameters Start"),console.log("utmGatewayObj ",n)),"true"!==n.storageFirstRequest){n.storageFirstRequest="true";let t=document.location.search;if("prod"!==e&&console.log("hasParameters ",t),t){const e={},t=window.location.search;new URLSearchParams(t).forEach(((t,n)=>{console.log(t,n),e[n]=t})),n.utmParams=e}else document.referrer.toLowerCase().indexOf("google.")>0?"undefined"!=typeof Storage&&(n.utm_source="google_organic"):document.referrer.toLowerCase().indexOf("bing.")>0?"undefined"!=typeof Storage&&(n.utm_source="bing_organic"):document.referrer.toLowerCase().length>0&&-1===document.referrer.toLowerCase().indexOf(window.location.hostname)?"undefined"!=typeof Storage&&(n.utm_source="other_"+document.referrer):n.utm_source="direct"}const i=window.location.hostname;n.landingpageurl=window.location.href.split("?")[0],n.website_origin=i,n.realRequestURL=window.location.href;const r=function(e){let n=" ";for(let e=0;e<30;e++)n+=t.charAt(Math.floor(62*Math.random()));return n}();n.utm_leadhash=r.trim(),localStorage.setItem("utmGateway",JSON.stringify(n)),"prod"!==e&&(console.log("website_origin "+i),console.log("landingpageurl "+localStorage.getItem("landingpageurl")),console.log("realRequestURL "+localStorage.getItem("realRequestURL")))}(n),"prod"!==e&&console.log("FINAL utmGateway JsonObject ",n)}();const i=function(e){const t=document.cookie.split("; ");for(const e of t){const[t,n]=e.split("=");if("FPLC"===t)return decodeURIComponent(n)}return null}(),r=n("clientId"),o=n("sessionId");document.querySelectorAll("a.meinevlhlink").forEach((e=>{const t=new URL(e.href);null!==i&&t.searchParams.set("_fplc",i),null!==r&&t.searchParams.set("clientId",r),null!==o&&t.searchParams.set("sessionId",o),e.href=t.toString()}))}))};function oi(e){if(!e)return{id:null,data:{}};if(!e.includes("="))return{id:e,data:{}};const t={};let n=null;for(const i of e.split("|")){const e=i.indexOf("=");if(-1===e)continue;const r=i.substring(0,e),o=decodeURIComponent(i.substring(e+1));"id"===r?n=o:t[r]=o}return{id:n,data:t}}function si({readStored:e,persist:t,readBackup:n,writeBackup:i,generate:r}){const o=function({readStored:e,persist:t,generate:n}){let i=null;function r(){return null===i&&(i=e()||n()),e()!==i&&t(i),i}return r.reset=function(){i=null},r}({readStored:e,persist:e=>{t(e),i(e)},generate:()=>n()||r()});function s(){const e=o();return n()!==e&&i(e),e}return s.reset=function(){o.reset()},s}const ai="vlh_clientid",ci="vlh_sessionid",li="vlh_clientid_backup",ui="vlh_sessionid_backup";function di(){return window.location.hostname.includes("ddev.site")?".ddev.site":".vlh.de"}function fi(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function hi(e){const t=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let i=n[e];for(;" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null}function gi(e,t,n,i){let r="";if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),r="; expires="+e.toUTCString()}const o=i?"; domain="+i:"";document.cookie=e+"="+(t||"")+r+o+"; path=/; secure; samesite=lax"}function mi(e,t){try{return window[e].getItem(t)}catch{return null}}
2function vi(e,t,n){try{window[e].setItem(t,n)}catch{}}function pi(e,t){try{window[e].removeItem(t)}catch{}}const bi=si({readStored:()=>oi(hi(ai)).id,persist:e=>ki(e),readBackup:()=>mi("localStorage",li),writeBackup:e=>vi("localStorage",li,e),generate:fi}),yi=si({readStored:()=>hi(ci),persist:e=>gi(ci,e,null,di()),readBackup:()=>mi("sessionStorage",ui),writeBackup:e=>vi("sessionStorage",ui,e),generate:fi});let _i=!1;function wi(){return _i?null:bi()}function ki(e){const t=function(e,t){const n=[];e&&n.push(`id=${e}`);for(const[e,i]of Object.entries(t))n.push(`${e}=${encodeURIComponent(i)}`);return n.join("|")}(e,oi(hi(ai)).data);gi(ai,t,365,di())}const Si="CookieConsent";const Li=["utm_source","utm_medium","utm_campaign","utm_device","gclid","wbraid","gbraid","visitkey","fbclid","msclkid","msclid","msklid"];function Ei(e){const t=new URLSearchParams(e||""),n={};return Li.forEach((e=>{t.has(e)&&(n[e]=t.get(e))})),n}const qi="vlh_landing_params";let xi=null;function Ci(){return e=window.Cookiebot,t=document.cookie,function(e){return!!(e&&e.hasResponse&&e.consent&&"boolean"==typeof e.consent.marketing)}(e)?!0===e.consent.marketing:!0===function(e){const t=`${Si}=`,n=(e||"").split("; ").find((e=>e.startsWith(t)));if(!n)return null;try{const e=decodeURIComponent(n.substring(t.length));return!!e.includes("marketing:true")||!e.includes("marketing:false")&&null}catch(e){return null}}(t);var e,t}function Mi(){const e=window.location.origin+window.location.pathname,t=new URLSearchParams(window.location.search).toString();return t?`${e}?${t}`:e}function Ai(){return{cookieId:wi(),sessionId:_i?null:yi(),consent:Ci(),url:Mi()}}async function Ti(e){const t=`${window.trackingApiBaseUrl||""}/api/v1/track`;if(!e.cookieId||!e.sessionId)return null;xi=e.consent;try{const n=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},credentials:"include",keepalive:!0,body:JSON.stringify(e)});if(!n.ok)throw new Error(`API Error: ${n.status} ${n.statusText}`);return await n.json()}catch(e){throw console.error("Tracking API Fehler:",e),e}}function zi(){try{return window.sessionStorage.getItem(qi)}catch{return null}}function Ii(){const e=()=>{const e=Ci();!0===e&&(_i=!1);const t=function(e,t){if(e&&e.hasResponse)return!0;const n=`${Si}=`;return(t||"").split("; ").some((e=>e.startsWith(n)))}(window.Cookiebot,document.cookie)&&!Ci(),n=e===xi?null:Ti(Ai());t&&(_i=!0,bi.reset(),yi.reset(),gi(ai,"",-1,di()),gi(ci,"",-1,di()),pi("localStorage",li),pi("sessionStorage",ui),function(){try{window.sessionStorage.removeItem(qi)}catch{}}()),n?.catch((e=>console.warn("Tracking Consent-Update fehlgeschlagen:",e)))};["CookiebotOnConsentReady","CookiebotOnAccept","CookiebotOnDecline"].forEach((t=>window.addEventListener(t,e)))}function Oi(){const e=function(e,t){const n=Ei(window.location.search);return Object.keys(n).length>0?JSON.stringify(n):e||null}(zi());null!==e&&function(e){try{window.sessionStorage.setItem(qi,e)}catch{}}(e),async function({additionalParams:e={}}={}){const t=function(e,t){let n;try{n=JSON.parse(t||"{}")}catch{n={}}n&&"object"==typeof n||(n={});const i={...e};return Li.forEach((e=>{e in i||"string"!=typeof n[e]||(i[e]=n[e])})),i}(Ei(window.location.search),zi());return document.referrer&&(t.referrer=document.referrer),Object.assign(t,e),Ti({...Ai(),params:t})}().catch((e=>console.warn("Tracking:",e))),Ii()}const Pi="activeFacetButton";function $i(){document.querySelector("#allResults")||sessionStorage.removeItem(Pi),ji()}function ji(){const e=document.querySelectorAll(".facet-button:not(#allResults)");e.length&&(document.querySelector("#allResults")||sessionStorage.removeItem(Pi),e.forEach((t=>{t.addEventListener("click",(n=>function(e,t,n){const i=Hi(t),r=document.querySelector("#allResults");if(r&&i!==sessionStorage.getItem(Pi)){e.preventDefault(),e.stopPropagation();const n=function(e,t,n){try{const i=new URL(e,location.origin),r=new URL(t,location.origin),o=new URLSearchParams(i.search);let s=0;
2for(const[e,t]of new URLSearchParams(r.search))e.includes("[filter]")&&(n&&t.endsWith(":"+n)||(o.set(e.replace(/\[\d+\]$/,"["+s+"]"),t),s++));return i.search=o.toString(),i.toString()}catch{return null}}(r.href,t.href,sessionStorage.getItem(Pi));return sessionStorage.setItem(Pi,i),void(n&&function(e){const t=document.querySelector(".tx_solr");if(!t)return;const n=document.createElement("a");n.href=e,n.className="solr-ajaxified",n.style.cssText="position:absolute;visibility:hidden;pointer-events:none",t.appendChild(n),n.click(),t.removeChild(n)}(n))}sessionStorage.setItem(Pi,i),n.forEach((e=>e.classList.remove("active"))),t.classList.add("active")}(n,t,e)))})),function(e){const t=sessionStorage.getItem(Pi);t&&e.forEach((e=>{Hi(e)===t&&e.classList.add("active")}))}(e))}function Hi(e){const t=e.closest("[data-facet-item-value]");return t?t.dataset.facetItemValue:e.textContent.trim()}const{Video:Bi}=n(636),{VideoModal:Ri}=n(304);(()=>{Oi(),function(){const e=wi();null!==e&&ki(e)}(),Bi.init(),Ri.init(),function(){let e;i.forEach((n=>{window.innerWidth<1024||n.addEventListener("click",(n=>{e=n.target.src,t(e)}))}));let t=e=>{const t=document.createElement("div");t.setAttribute("class","modal"),document.querySelector(".main").append(t);const n=document.createElement("img");n.setAttribute("src",e);const i=document.createElement("i");i.setAttribute("class","fas fa-times closeBtn"),i.onclick=()=>{t.remove()},t.append(n,i)}}(),function(){const e=document.querySelectorAll(".hero-slider");0!==e.length&&e.forEach((e=>{!function(e){new Zt(e,{rewind:!0,pagination:!0,arrows:!1,classes:{pagination:"splide__pagination hero-slider__pagination",page:"splide__pagination__page hero-slider__pagination__page",active:"splide__pagination__page--active hero-slider__pagination__page--active"}}).mount()}(e)}))}(),function(){const e=document.querySelectorAll(".news__slider");0!==e.length&&e.forEach((e=>
2{!function(e){!function(e,t){const n=t.closest(".news__featured").querySelector(".news__featured-navigation");e.on("moved",(()=>{!function(e,t){const n=e.querySelector(".news__featured-navigation-current"),i=Qt(e.closest(".news__featured"),t);n.innerHTML=i}(n,e)})),function(e,t){const n=t.querySelector(".news__featured-navigation-button--prev");n&&function(e,t){e.addEventListener("click",(()=>{if(Xt)t.go("-1");else{const n=Qt(e.closest(".news__featured"),t);t.go(3*(n-2))}})),e.addEventListener("keydown",(()=>{if(Xt)t.go("-1");else if("Tab"===event.key)$(e).attr("tabindex",0).focus();else{const n=Qt(e.closest(".news__featured"),t);t.go(3*(n-2))}}))}(n,e);const i=t.querySelector(".news__featured-navigation-button--next");i&&function(e,t){e.addEventListener("click",(()=>{if(Xt)t.go("+1");else{const n=Qt(e.closest(".news__featured"),t);t.go(3*n)}})),e.addEventListener("keydown",(()=>{if(Xt)t.go("+1");else if("Tab"===event.key)$(e).attr("tabindex",0).focus();else{const n=Qt(e.closest(".news__featured"),t);t.go(3*n)}}))}(i,e)}(e,n)}(new Zt(e,{rewind:!1,pagination:!1,arrows:!1,trimSpace:!0,focus:"number",gap:"20px",perPage:3,perMove:3,breakpoints:{768:{perPage:1}}}).mount(),e)}(e),function(e){const t=e.querySelectorAll(".splide__slide").length,n=e.closest(".news__featured");if(!n)return;const i=n.querySelector(".news__featured-navigation-total");i&&(i.innerHTML=Xt?t:Math.ceil(t/3))}(e)}))}(),function(){const e=document.querySelectorAll(".news__grid--slider, .news__tiles--mobile");0!==e.length&&e.forEach((e=>{!function(e){new Zt(e,{rewind:!1,pagination:!0,arrows:!1,trimSpace:!0,focus:"number",gap:"20px",perPage:1,perMove:1,mediaQuery:"min",breakpoints:{768:{destroy:!0}}}).mount()}(e)}))}(),function(){const e=document.querySelectorAll(".memberslider__slider");0!==e.length&&e.forEach((e=>{!function(e){!function(e,t){const n=t.closest(".memberslider").querySelector(".memberslider__navigation");e.on("moved",(()=>{!function(e,t){const n=e.querySelector(".memberslider__navigation-current"),i=tn(e.closest(".memberslider"),t);n.innerHTML=i}(n,e)})),function(e,t){const n=t.querySelector(".memberslider__navigation-button--prev");n&&function(e,t){e.addEventListener("click",(()=>{if(en)t.go("-1");else{const n=tn(e.closest(".memberslider"),t);t.go(3*(n-2))}})),e.addEventListener("keydown",(()=>{if(en)t.go("-1");else if("Tab"===event.key)$(e).attr("tabindex",0).focus();else{const n=tn(e.closest(".memberslider"),t);t.go(3*(n-2))}}))}(n,e);const i=t.querySelector(".memberslider__navigation-button--next");i&&function(e,t){e.addEventListener("click",(()=>{if(en)t.go("+1");else{const n=tn(e.closest(".memberslider"),t);t.go(3*n)}})),e.addEventListener("keydown",(()=>{if(en)t.go("+1");else if("Tab"===event.key)$(e).attr("tabindex",0).focus();else{const n=tn(e.closest(".memberslider"),t);t.go(3*n)}}))}(i,e)}(e,n)}(new Zt(e,{rewind:!1,pagination:!1,arrows:!1,trimSpace:!0,focus:"number",gap:"30px",perPage:3,perMove:3,breakpoints:{768:{perPage:1}}}).mount(),e)}(e),function(e){const t=e.querySelectorAll(".splide__slide").length,n=e.closest(".memberslider");if(!n)return;const i=n.querySelector(".memberslider__navigation-total");i&&(i.innerHTML=en?t:Math.ceil(t/3))}(e)}))}(),function(){const e=document.querySelectorAll(".imageslider");0!==e.length&&e.forEach((e=>{!function(e){!function(e){const t=e.root,n=document.createElement("div");n.classList.add("imageslider__pagination");const i=document.createElement("span");i.classList.add("imageslider__current");const r=document.createElement("span");r.classList.add("imageslider__total"),n.appendChild(i),n.appendChild(document.createTextNode(" / ")),n.appendChild(r),t.appendChild(n);const o=e.index+1,s=e.length;i.textContent=o,r.textContent=s,e.on("moved",(()=>{const t=e.index+1;i.textContent=t}))}(new Zt(e,{type:"slide",perPage:1,perMove:1,arrows:!0,pagination:!1,gap:"20px",classes:{arrows:"splide__arrows imageslider__arrows",arrow:"splide__arrow imageslider__arrow",prev:"splide__arrow--prev imageslider__arrow--prev",next:"splide__arrow--next imageslider__arrow--next"}}).mount())}(e)}))}(),function(){const e=document.querySelectorAll(".testimonials__slider");0!==e.length&&e.forEach((e=>{!function(e){!function(e,t){const n=t.closest(".testimonials").querySelector(".testimonials__nav");e.on("moved",(()=>{!function(e,t){const n=e.querySelector(".testimonials__nav-current"),i=rn(e.closest(".testimonials"),t);n.innerHTML=i}(n,e)})),function(e,t){const n=t.querySelector(".testimonials__nav-button--prev");n&&function(e,t){e.addEventListener("click",(()=>{if(nn)t.go("-1");else{const n=rn(e.closest(".testimonials"),t);t.go(3*(n-2))}})),e.addEventListener("keydown",(()=>{if(nn)t.go("-1");else{const n=rn(e.closest(".testimonials"),t);t.go(3*(n-2))}}))}(n,e);const i=t.querySelector(".testimonials__nav-button--next");i&&function(e,t){e.addEventListener("click",(()=>{if(nn)t.go("+1");else{const n=rn(e.closest(".testimonials"),t);t.go(3*n)}})),e.addEventListener("keydown",(()=>{if(nn)t.go("+1");else{const n=rn(e.closest(".testimonials"),t);t.go(3*n)}}))}(i,e)}(e,n)}
2(new Zt(e,{rewind:!1,pagination:!1,arrows:!1,trimSpace:!0,focus:"number",gap:"20px",perPage:3,perMove:3,breakpoints:{768:{perPage:1}}}).mount(),e)}(e),function(e){const t=e.querySelectorAll(".splide__slide").length,n=e.closest(".testimonials");if(!n)return;const i=n.querySelector(".testimonials__nav-total");i&&(i.innerHTML=nn?t:Math.ceil(t/3))}(e)}))}(),function(){const e=document.querySelectorAll(".form");e&&e.forEach((e=>{const t=e.querySelector(".da39a3ee5e6b4b0d3255bfef95601890afd80709");t&&setTimeout((()=>{t.removeAttribute("required")}),2e3)}))}(),$(".trigger").not(".trigger_active").next(".toggle_container").hide(),$(".trigger").not(".trigger_active").find("img").attr("alt","öffnen"),$(".trigger").click((function(){var e=jQuery(this);return e.hasClass("trigger_active")?(e.next(".toggle_container").slideToggle("slow"),e.removeClass("trigger_active"),e.find("img").attr("alt","öffnen")):(e.next(".toggle_container").slideToggle("slow"),e.addClass("trigger_active"),e.find("img").attr("alt","schlieÃen")),!1})),$(".subtrigger").each((function(){$(this).on("click",(function(){$(this).hasClass("pos")&&($(this).next(".subtoggle_container.pos").show(),$(this).parents(".fb-wrap").find(".subtoggle_container_neg").hide()),$(this).hasClass("neg")&&($(this).next(".subtoggle_container_neg").show(),$(this).prev(".pos").hide())}))})),cn(),function(){const e=".bst-results__results",t=document.querySelector(e);if(!document.querySelector(e))return;const n=".bst-result__card";t.addEventListener("click",(e=>{const t=e.target;if(!t.closest(n)||t.closest(n).classList.contains("open"))return;const i=t.closest(".bst-result");i&&(e.preventDefault(),i.classList.toggle("open"))}))}(),On(),function(){const e=document.getElementById("reading-progress-bar");function t(){const t=window.scrollY||window.pageYOffset,n=document.body.scrollHeight-window.innerHeight,i=Math.ceil(t/n*100);e.style.width=`${i}%`}e&&(window.addEventListener("scroll",t),window.addEventListener("resize",t),t())}(),function(){const e=document.querySelectorAll(".infobox--bst");e&&function(e){e.forEach((e=>{const t=e.querySelector(".button"),n=e.querySelector(".infobox__form-field");t&&n&&(t.addEventListener("click",Pn),n.addEventListener("keydown",$n))}))}(e)}(),function(){const e=document.querySelector(".hero--career");function t(){window.innerWidth<768||(function(e){const t=e.offsetHeight;e.style.height=`${t}px`}(e),i(e).forEach((e=>{!function(e){const t=e.querySelector(".hero-career__content"),n=e.querySelector(".hero-career__bodytext");let i=n.offsetHeight;n.style.height=0,t.addEventListener("mouseenter",(()=>{e.classList.add("active"),n.classList.add("active"),n.style.height=`${i}px`})),t.addEventListener("mouseleave",(()=>{e.classList.remove("active"),n.classList.remove("active"),n.style.height=0})),e.classList.add("ready")}(e)})),function(e){const t=e.querySelectorAll(".hero-career__item"),n=Array.from(t).map((e=>e.offsetHeight)),i=window.innerWidth;if(i>2500)var r=1.7*Math.max(...n);else r=Math.max(...n);t.forEach((e=>{e.style.minHeight=`${r}px`,i>2500&&(e.style.minHeight=.5*r+"px")})),e.classList.add("active")}(e),window.addEventListener("resize",n))}function n(){e.classList.remove("active"),i(e).forEach((e=>{e.classList.remove("active"),e.classList.remove("ready");const t=e.querySelector(".hero-career__bodytext");t.classList.remove("active"),t.style.height="auto"})),e.style.height="auto",clearTimeout(window.heroCareerResizeTimeout),window.heroCareerResizeTimeout=setTimeout((()=>{t()}),500)}function i(e){return e.querySelectorAll(".hero-career__item")}e&&t()}(),function(){const e=document.querySelectorAll(".news__category-select-wrapper");e.length&&e.forEach((e=>{!function(e){const t=new Zt(e,{pagination:!1,arrows:!1,autoWidth:!0,focus:0,omitEnd:!0,gap:10});(function(e){e.on("overflow",(t=>{e.options={drag:t}}))})(t),function(e){const t=e.Components;e.on("resized",(function(){const n=t.Layout.isOverflow(),i=t.Elements.list,r=t.Slides.getAt(e.length-1);r&&(i.style.justifyContent=n?"":"center",n||(r.slide.style.marginRight=""))}))}(t),t.mount(),function(e,t){const n=t.querySelectorAll(".news__category-select-link");
2n.length&&n.forEach(((t,n)=>{t.classList.contains("button--light")||e.go(n)}))}(t,e)}(e)}))}(),jn(),function(){const e=document.querySelector(".floating-action");if(!e)return;let t=null,n=null;function i(){window.scrollY>t?e.classList.add("floating-action--active"):e.classList.remove("floating-action--active"),n&&window.scrollY>n?e.classList.add("floating-action--small"):e.classList.remove("floating-action--small")}t=function(){const e=document.querySelector(Hn.showAfterElementSelector);return e?function(e){const t=window.getComputedStyle(e),n=parseFloat(t.height),i=e.getBoundingClientRect().top;return Hn.selectorOffset.includes("%")?i+n*parseFloat(Hn.selectorOffset)/100:Hn.selectorOffset.includes("vh")?i+window.innerHeight*parseFloat(Hn.selectorOffset)/100:i+parseFloat(Hn.selectorOffset)}(e):Hn.showAfterHeight.includes("vh")?window.innerHeight*parseFloat(Hn.showAfterHeight)/100:parseFloat(Hn.showAfterHeight)}(),n=Hn.smallButtonOffset?Hn.smallButtonOffset.includes("vh")?window.innerHeight*parseFloat(Hn.smallButtonOffset)/100:parseFloat(Hn.smallButtonOffset):null,i(),window.addEventListener("scroll",i)}(),function(){function e(e){n(t(e.target.value))}function t(e){return Bn.find((t=>t.id===e))}function n(e){const t=document.querySelector(".karriereberater__name"),n=document.querySelector(".karriereberater__info--phone"),r=document.querySelector(".karriereberater__info--email"),o=document.querySelector(".karriereberater__image"),s=document.querySelector(".karriereberater__link"),a=document.querySelector(".karriereberater__link2"),c=document.querySelector(".karriereberater__link3");t.textContent=e.name,n.textContent=e.phone,r.textContent=i(e),o.src=e.image,o.alt=e.name,s.href="mailto:"+i(e),a.href="tel:"+e.phonelink,c.href="mailto:"+i(e)}function i(e){if("dynamic"!==document.querySelector(".teaser__container.karriereberater").dataset.dynamicMail)return e.email.static;const t=null!==new URLSearchParams(window.location.search).get("utm_source")?function(){const e=new URLSearchParams(window.location.search).get("utm_source");return Nn[e]||"direct"}():function(e){if(!e)return!1;const t=function(e){const t=new URL(e),n=t.hostname.split(".");return n.length<=2?t.hostname:n.slice(-2).join(".")}(e);return Fn.includes(t)}(document.referrer)?"organic":"direct";return e.email[t]||e.email.direct}!function(){const i=document.querySelector(".js-karriereberater-select");i&&(function(e){Rn.forEach((t=>{const n=document.createElement("option");n.value=t.contact,n.textContent=t.name,e.appendChild(n)})),n(t(Rn[0].contact))}(i),i.addEventListener("change",e))}()}(),function(){const e=document.querySelectorAll(".textimage-block--bst");e&&function(e){e.forEach((e=>{const t=e.querySelector(".button"),n=e.querySelector(".textimage-block__form-field");t&&n&&(t.addEventListener("click",Dn),n.addEventListener("keydown",Un))}))}(e)}(),function(){const e=document.querySelectorAll(".gridcards");e&&e.forEach((e=>{!function(e){(function(e){const t=e.querySelector(".gridcards__template--show-more");t&&(Wn=t.innerHTML)})(e),function(e){const t=e.querySelector(".gridcards__template--slider");t&&(Gn=t.innerHTML)}(e),function(e){const t=e.querySelector(".gridcards__template--grid");t&&(Vn=t.innerHTML)}(e);const t=ni(e),n=function(e){const t=e.querySelector(".gridcards__template--cards").innerHTML;if(!t)return[];const n=document.createElement("div");return n.innerHTML=t,Array.from(n.children)}(e);Jn[t]=n}(e),function(e){window.addEventListener("resize",(()=>{Xn&&clearTimeout(Xn),Xn=setTimeout((()=>{Qn(e)}),1e3)}))}(e),Qn(e)}))}(),function(){const e=document.getElementById("navigation-toc"),t=document.getElementById("navigation-toc-toggle");if(!e&&!t)return;let n=!1;function i(){n=!n,t.setAttribute("aria-expanded",n),e.classList.toggle("is-active",n)}t.addEventListener("click",(function(){i()})),document.addEventListener("click",(function(){n&&(e.contains(event.target)||t.contains(event.target)||i())}))}(),function(){if(!document.getElementById("navigation-addition"))return;const e=document.querySelector(".news__toc-list");if(!e)return;const t=document.getElementById("navigation-toc");let n=[];e.querySelectorAll("a").forEach((e=>{n.push({title:e.innerText,url:e.href})})),function(){const e=t.querySelector(".navigation__toc-list"),i=t.querySelector("#navigation-toc-item-template");
2n.forEach((t=>{const n=function(e,t){const n=t.content.cloneNode(!0).querySelector(".navigation__toc-item");return n.href=e.url,n.querySelector(".navigation__toc-title").innerText=e.title,n}(t,i);e.appendChild(n)}))}(),t.classList.remove("inactive")}(),ri(),ji(),document.body.addEventListener("tx_solr_updated",$i);const e=document.getElementById("daten"),t={};if(e){const n=e.dataset;for(const e in n)t[e.replace("data-","")]=n[e]}dataLayer.push(Object.assign(t,{event:"page_view"}));const n=document.querySelector("#tx-solr-search-form-pi-results");document.querySelector("#solrflyoutsearchForm"),n&&n.addEventListener("submit",(function(e){const t={event_location:"SolrSuche"};t.search_term=document.querySelector("#search").value||document.querySelector("#solrflyoutsearchTerm").value,dataLayer.push(Object.assign(t,{event:"search"}))}))})()},200:(e,t,n)=>{e.exports=n.p+"Css/main.css"}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&!e;)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),n(841),n(200)})();
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.