1"use strict";(()=>{var oe=Object.create;var X=Object.defineProperty;var se=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty;var le=(p,v)=>()=>(v||p((v={exports:{}}).exports,v),v.exports);var fe=(p,v,b,c)=>{if(v&&typeof v=="object"||typeof v=="function")for(let w of ae(v))!ue.call(p,w)&&w!==b&&X(p,w,{get:()=>v[w],enumerable:!(c=se(v,w))||c.enumerable});return p};var de=(p,v,b)=>(b=p!=null?oe(ce(p)):{},fe(v||!p||!p.__esModule?X(b,"default",{value:p,enumerable:!0}):b,p));var Y=le((D,R)=>{var M,P;M=D,P=function(){"use strict";function p(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n){return(t=(function(r){var i=(function(o,a){if(typeof o!="object"||!o)return o;var l=o[Symbol.toPrimitive];if(l!==void 0){var u=l.call(o,a);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(o)})(r,"string");return typeof i=="symbol"?i:i+""})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(r){v(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function w(e){return(function(t){if(Array.isArray(t))return p(t)})(e)||(function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||y(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function m(e){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(e)}function y(e,t){if(e){if(typeof e=="string")return p(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}var L=function(e){return typeof e=="string"?document.querySelector(e):e()},E=function(e,t){var n=typeof e=="string"?document.createElement(e):e;for(var r in t){var i=t[r];if(r==="inside")i.append(n);else if(r==="dest")L(i[0]).insertAdjacentElement(i[1],n);else if(r==="around"){var o=i;o.parentNode.insertBefore(n,o),n.append(o),o.getAttribute("autofocus")!=null&&o.focus()}else r in n?n[r]=i:n.setAttribute(r,i)}return n},$=function(e,t){return e=String(e).toLowerCase(),t?e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):e},z=function(e,t){return E("mark",c({innerHTML:e},typeof t=="string"&&{class:t})).outerHTML},A=function(e,t){t.input.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:t.feedback,cancelable:!0}))},B=function(e,t,n){var r=n||{},i=r.mode,o=r.diacritics,a=r.highlight,l=$(t,o);if(t=String(t),e=$(e,o),i==="loose"){var u=(e=e.replace(/ /g,"")).length,s=0,f=Array.from(t).map((function(g,h){return s<u&&l[h]===e[s]&&(g=a?z(g,a):g,s++),g})).join("");if(s===u)return f}else{var d=l.indexOf(e);if(~d)return e=t.substring(d,d+e.length),d=a?t.replace(e,z(e,a)):t}},_=function(e,t){return new Promise((function(n,r){var i;return(i=e.data).cache&&i.store?n():new Promise((function(o,a){return typeof i.src=="function"?i.src(t).then(o,a):o(i.src)})).then((function(o){try{return e.feedback=i.store=o,A("response",e),n()}catch(a){return r(a)}}),r)}))},ne=function(e,t){var n=t.data,r=t.searchEngine,i=[];n.store.forEach((function(a,l){var u=function(d){var g=d?a[d]:a,h=typeof r=="function"?r(e,g):B(e,g,{mode:r,diacritics:t.diacritics,highlight:t.resultItem.highlight});if(h){var k={match:h,value:a};d&&(k.key=d),i.push(k)}};if(n.keys){var s,f=(function(d,g){var h=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];
2if(!h){if(Array.isArray(d)||(h=y(d))||g){h&&(d=h);var k=0,T=function(){};return{s:T,n:function(){return k>=d.length?{done:!0}:{done:!1,value:d[k++]}},e:function(S){throw S},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O,x=!0,I=!1;return{s:function(){h=h.call(d)},n:function(){var S=h.next();return x=S.done,S},e:function(S){I=!0,O=S},f:function(){try{x||h.return==null||h.return()}finally{if(I)throw O}}}})(n.keys);try{for(f.s();!(s=f.n()).done;)u(s.value)}catch(d){f.e(d)}finally{f.f()}}else u()})),n.filter&&(i=n.filter(i));var o=i.slice(0,t.resultsList.maxResults);t.feedback={query:e,matches:i,results:o},A("results",t)},N="aria-expanded",U="aria-activedescendant",F="aria-selected",K=function(e,t){e.feedback.selection=c({index:t},e.feedback.results[t])},W=function(e){e.isOpen||((e.wrapper||e.input).setAttribute(N,!0),e.list.removeAttribute("hidden"),e.isOpen=!0,A("open",e))},q=function(e){e.isOpen&&((e.wrapper||e.input).setAttribute(N,!1),e.input.setAttribute(U,""),e.list.setAttribute("hidden",""),e.isOpen=!1,A("close",e))},C=function(e,t){var n=t.resultItem,r=t.list.getElementsByTagName(n.tag),i=!!n.selected&&n.selected.split(" ");if(t.isOpen&&r.length){var o,a,l=t.cursor;e>=r.length&&(e=0),e<0&&(e=r.length-1),t.cursor=e,l>-1&&(r[l].removeAttribute(F),i&&(a=r[l].classList).remove.apply(a,w(i))),r[e].setAttribute(F,!0),i&&(o=r[e].classList).add.apply(o,w(i)),t.input.setAttribute(U,r[t.cursor].id),t.list.scrollTop=r[e].offsetTop-t.list.clientHeight+r[e].clientHeight+5,t.feedback.cursor=t.cursor,K(t,e),A("navigate",t)}},G=function(e){C(e.cursor+1,e)},J=function(e){C(e.cursor-1,e)},j=function(e,t,n){(n=n>=0?n:e.cursor)<0||(e.feedback.event=t,K(e,n),A("selection",e),q(e))};function Q(e,t){var n=this;return new Promise((function(r,i){var o,a;return o=t||((a=e.input)instanceof HTMLInputElement||a instanceof HTMLTextAreaElement?a.value:a.innerHTML),(function(u,s,f){return s?s(u):u.length>=f})(o=e.query?e.query(o):o,e.trigger,e.threshold)?_(e,o).then((function(u){try{return e.feedback instanceof Error?r():(ne(o,e),e.resultsList&&(function(s){var f=s.resultsList,d=s.list,g=s.resultItem,h=s.feedback,k=h.matches,T=h.results;if(s.cursor=-1,d.innerHTML="",k.length||f.noResults){var O=new DocumentFragment;T.forEach((function(x,I){var S=E(g.tag,c({id:"".concat(g.id,"_").concat(I),role:"option",innerHTML:x.match,inside:O},g.class&&{class:g.class}));g.element&&g.element(S,x)})),d.append(O),f.element&&f.element(d,h),W(s)}else q(s)})(e),l.call(n))}catch(s){return i(s)}}),i):(q(e),l.call(n));function l(){return r()}}))}var H=function(e,t){for(var n in e)for(var r in e[n])t(n,r)},re=function(e){var t,n,r,i=e.events,o=(t=function(){return Q(e)},n=e.debounce,function(){clearTimeout(r),r=setTimeout((function(){return t()}),n)}),a=e.events=c({input:c({},i&&i.input)},e.resultsList&&{list:i?c({},i.list):{}}),l={input:{input:function(){o()},keydown:function(u){(function(s,f){switch(s.keyCode){case 40:case 38:s.preventDefault(),s.keyCode===40?G(f):J(f);break;case 13:f.submit||s.preventDefault(),f.cursor>=0&&j(f,s);break;case 9:f.resultsList.tabSelect&&f.cursor>=0&&j(f,s);break;case 27:f.input.value="",A("clear",f),q(f)}})(u,e)},blur:function(){q(e)}},list:{mousedown:function(u){u.preventDefault()},click:function(u){(function(s,f){var d=f.resultItem.tag.toUpperCase(),g=Array.from(f.list.querySelectorAll(d)),h=s.target.closest(d);h&&h.nodeName===d&&j(f,s,g.indexOf(h))})(u,e)}}};H(l,(function(u,s){(e.resultsList||s==="input")&&(a[u][s]||(a[u][s]=l[u][s]))})),H(a,(function(u,s){e[u].addEventListener(s,a[u][s])}))};function V(e){var t=this;return new Promise((function(n,r){var i,o,a;if(i=e.placeHolder,a={role:"combobox","aria-owns":(o=e.resultsList).id,"aria-haspopup":!0,"aria-expanded":!1},E(e.input,c(c({"aria-controls":o.id,"aria-autocomplete":"both"},i&&{placeholder:i}),!e.wrapper&&c({},a))),e.wrapper&&(e.wrapper=E("div",c({around:e.input,class:e.name+"_wrapper"},a))),o&&(e.list=E(o.tag,c({dest:[o.destination,o.position],id:o.id,role:"listbox",hidden:"hidden"},o.class&&{class:o.class}))),re(e),e.data.cache)return _(e).then((function(u){try{return l.call(t)}catch(s){return r(s)}}),r);function l(){return A("init",e),n()}return l.call(t)}))}function ie(e){var t=e.prototype;t.init=function(){V(this)},t.start=function(n){Q(this,n)},t.unInit=function(){if(this.wrapper){var n=this.wrapper.parentNode;n.insertBefore(this.input,this.wrapper),n.removeChild(this.wrapper)}var r;H((r=this).events,(function(i,o){r[i].removeEventListener(o,r.events[i][o])}))},t.open=function(){W(this)},t.close=function(){q(this)},t.goTo=function(n){C(n,this)},t.next=function(){G(this)},t.previous=function(){J(this)},t.select=function(n){j(this,null,n)},t.search=function(n,r,i){return B(n,r,i)}}return function e(t){this.options=t,this.id=e.instances=(e.instances||0)+1,this.name="autoComplete",this.wrapper=1,this.threshold=1,this.debounce=0,this.resultsList={position:"afterend",tag:"ul",maxResults:5},this.resultItem={tag:"li"},(function(n){var r=n.name,i=n.options,o=n.resultsList,a=n.resultItem;for(var l in i)if(m(i[l])==="object")for(var u in n[l]||(n[l]={}),i[l])n[l][u]=i[l][u];else n[l]=i[l];n.selector=n.selector||"#"+r,o.destination=o.destination||n.selector,o.id=o.id||r+"_list_"+n.id,a.id=a.id||r+"_result",n.input=L(n.selector)})(this),ie.call(this,e),V(this)}},typeof D=="object"&&typeof R<"u"?R.exports=P():typeof define=="function"&&define.amd?define(P):(M=typeof globalThis<"u"?globalThis:M||self).autoComplete=P()});var ee=de(Y(),1);function te(){for(let b of document.querySelectorAll("input.search")){let w=function(m){m.preventDefault();let y=c.querySelector(".search").getAttribute("data-slug");if(!y){c.querySelector(".search").classList.add("is-invalid");return}let L=c.getAttribute("data-keyword");if(L){window.location=`/${y}/${L}`;return}window.location=`/${y}`};var v=w;new ee.default({selector:()=>b,data:{src:p,keys:["text"]},threshold:2,placeHolder:"Postleitzahl oder Stadt eingeben",searchEngine:(m,y)=>y,resultsList:{element:(m,y)=>{if(!y.results.length){let L=document.createElement("div");L.setAttribute("class","no_result"),L.innerHTML=`Keine Ergebnisse gefunden f\xFCr "${y.query}
3"`,m.prepend(L)}},maxResults:10,noResults:!0},resultItem:{highlight:!0},events:{input:{results:async m=>{m.srcElement.setAttribute("data-slug",m.detail.matches[0].value.data),m.srcElement.classList.remove("is-invalid")},selection:async m=>{m.srcElement.value=m.detail.selection.value.text,m.srcElement.setAttribute("data-slug",m.detail.selection.value.data),m.srcElement.classList.remove("is-invalid")}}}}),b.addEventListener("search",m=>{m.target.removeAttribute("data-slug")});let c=b.closest("form");c.addEventListener("selection",m=>{w(m)}),c.addEventListener("submit",m=>{w(m)})}async function p(b){try{return await(await fetch(`/verzeichnis/?q=${b}`)).json()}catch(c){return c}}}var Z=document.querySelector(".searchbox");Z.length&&Z.querySelector("input").addEventListener("focus",p=>{p.target.classList.remove("is-invalid")});(function(){if(!document.querySelectorAll(".page-location").length)return;te();let p=document.querySelector(".sticky-search"),v=document.querySelector(".intro");function b(){v.getBoundingClientRect().bottom<=0?p.classList.add("active"):p.classList.remove("active")}window.addEventListener("scroll",b),window.addEventListener("load",b),b();let c=document.querySelector(".show-more"),w=document.querySelectorAll("ul#city-list li.d-none");c&&c.addEventListener("click",function(){let y=c.getAttribute("aria-expanded")==="true";w.forEach(L=>{L.classList.toggle("d-none",y)}),c.setAttribute("aria-expanded",String(!y)),c.textContent=y?"Mehr anzeigen":"Weniger anzeigen"});let m=document.querySelector(".tabs");m&&m.querySelectorAll(".btn-service").forEach(y=>{y.addEventListener("click",()=>{let L=y.dataset.tab;document.querySelectorAll(".btn-service").forEach(E=>E.classList.remove("active")),document.querySelectorAll(".service-panel").forEach(E=>E.classList.remove("active")),y.classList.add("active"),document.getElementById(L).classList.add("active")})})})();})();
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.