1import{g as te}from"../assets/_commonjsHelpers-D6-XlEtG.js";var M={exports:{}},X;function ne(){return X||(X=1,function(x,g){var v;v=function(){function l(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 y(e,t,n){return(t=function(r){var o=function(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var c=u.call(i,a);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return typeof o=="symbol"?o:o+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(r){y(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function E(e){return function(t){if(Array.isArray(t))return l(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||$(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 b(e){return b=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},b(e)}function $(e,t){if(e){if(typeof e=="string")return l(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)?l(e,t):void 0}}var D=function(e){return typeof e=="string"?document.querySelector(e):e()},k=function(e,t){var n=typeof e=="string"?document.createElement(e):e;for(var r in t){var o=t[r];if(r==="inside")o.append(n);else if(r==="dest")D(o[0]).insertAdjacentElement(o[1],n);else if(r==="around"){var i=o;i.parentNode.insertBefore(n,i),n.append(i),i.getAttribute("autofocus")!=null&&i.focus()}else r in n?n[r]=o:n.setAttribute(r,o)}return n},_=function(e,t){return e=String(e).toLowerCase(),t?e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):e},F=function(e,t){return k("mark",h({innerHTML:e},typeof t=="string"&&{class:t})).outerHTML},w=function(e,t){t.input.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:t.feedback,cancelable:!0}))},N=function(e,t,n){var r=n||{},o=r.mode,i=r.diacritics,a=r.highlight,u=_(t,i);if(t=String(t),e=_(e,i),o==="loose"){var c=(e=e.replace(/ /g,"")).length,s=0,f=Array.from(t).map(function(m,d){return s<c&&u[d]===e[s]&&(m=a?F(m,a):m,s++),m}).join("");if(s===c)return f}else{var p=u.indexOf(e);if(~p)return e=t.substring(p,p+e.length),p=a?t.replace(e,F(e,a)):t}},R=function(e,t){return new Promise(function(n,r){var o;return(o=e.data).cache&&o.store?n():new Promise(function(i,a){return typeof o.src=="function"?new Promise(function(u,c){return o.src.constructor.name==="AsyncFunction"?o.src(t).then(u,c):u(o.src(t))}).then(i,a):i(o.src)}).then(function(i){try{return e.feedback=o.store=i,w("response",e),n()}catch(a){return r(a)}},r)})},Y=function(e,t){var n=t.data,r=t.searchEngine,o=[];n.store.forEach(function(a,u){var c=function(p){var m=p?a[p]:a,d=typeof r=="function"?r(e,m):N(e,m,{mode:r,diacritics:t.diacritics,highlight:t.resultItem.highlight});if(d){var O={match:d,value:a};p&&(O.key=p),o.push(O)}};if(n.keys){var s,f=function(p,m){var d=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!d){if(Array.isArray(p)||(d=$(p))||m){d&&(p=d);var O=0,P=function(){};return{s:P,n:function(){return O>=p.length?{done:!0}:{done:!1,value:p[O++]}},e:function(A){throw A},f:P}}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 j,T=!0,H=!1;return{s:function(){d=d.call(p)},n:function(){var A=d.next();return T=A.done,A},e:function(A){H=!0,j=A},f:function(){try{T||d.return==null||d.return()}finally{if(H)throw j}}}}(n.keys);try{for(f.s();!(s=f.n()).done;)c(s.value)}catch(p){f.e(p)}finally{f.f()}}else c()}),n.filter&&(o=n.filter(o));var i=o.slice(0,t.resultsList.maxResults);t.feedback={query:e,matches:o,results:i},w("results",t)},B="aria-expanded",z="aria-activedescendant",U="aria-selected",J=function(e,t){e.feedback.selection=h({index:t},e.feedback.results[t])},G=function(e){e.isOpen||((e.wrapper||e.input).setAttribute(B,!0),e.list.removeAttribute("hidden"),e.isOpen=!0,w("open",e))},S=function(e){e.isOpen&&((e.wrapper||e.input).setAttribute(B,!1),e.input.setAttribute(z,""),e.list.setAttribute("hidden",""),e.isOpen=!1,w("close",e))},q=function(e,t){var n=t.resultItem,r=t.list.getElementsByTagName(n.tag),o=!!n.selected&&n.selected.split(" ");if(t.isOpen&&r.length){var i,a,u=t.cursor;e>=r.length&&(e=0),e<0&&(e=r.length-1),t.cursor=e,u>-1&&(r[u].removeAttribute(U),o&&(a=r[u].classList).remove.apply(a,E(o))),r[e].setAttribute(U,!0),o&&(i=r[e].classList).add.apply(i,E(o)
3),t.input.setAttribute(z,r[t.cursor].id),t.list.scrollTop=r[e].offsetTop-t.list.clientHeight+r[e].clientHeight+5,t.feedback.cursor=t.cursor,J(t,e),w("navigate",t)}},K=function(e){q(e.cursor+1,e)},Q=function(e){q(e.cursor-1,e)},C=function(e,t,n){(n=n>=0?n:e.cursor)<0||(e.feedback.event=t,J(e,n),w("selection",e),S(e))};function V(e,t){var n=this;return new Promise(function(r,o){var i,a;return i=t||((a=e.input)instanceof HTMLInputElement||a instanceof HTMLTextAreaElement?a.value:a.innerHTML),function(c,s,f){return s?s(c):c.length>=f}(i=e.query?e.query(i):i,e.trigger,e.threshold)?R(e,i).then(function(c){try{return e.feedback instanceof Error?r():(Y(i,e),e.resultsList&&function(s){var f=s.resultsList,p=s.list,m=s.resultItem,d=s.feedback,O=d.matches,P=d.results;if(s.cursor=-1,p.innerHTML="",O.length||f.noResults){var j=new DocumentFragment;P.forEach(function(T,H){var A=k(m.tag,h({id:"".concat(m.id,"_").concat(H),role:"option",innerHTML:T.match,inside:j},m.class&&{class:m.class}));m.element&&m.element(A,T)}),p.append(j),f.element&&f.element(p,d),G(s)}else S(s)}(e),u.call(n))}catch(s){return o(s)}},o):(S(e),u.call(n));function u(){return r()}})}var I=function(e,t){for(var n in e)for(var r in e[n])t(n,r)},Z=function(e){var t,n,r,o=e.events,i=(t=function(){return V(e)},n=e.debounce,function(){clearTimeout(r),r=setTimeout(function(){return t()},n)}),a=e.events=h({input:h({},o&&o.input)},e.resultsList&&{list:o?h({},o.list):{}}),u={input:{input:function(){i()},keydown:function(c){(function(s,f){switch(s.keyCode){case 40:case 38:s.preventDefault(),s.keyCode===40?K(f):Q(f);break;case 13:f.submit||s.preventDefault(),f.cursor>=0&&C(f,s);break;case 9:f.resultsList.tabSelect&&f.cursor>=0&&C(f,s);break;case 27:f.input.value="",w("clear",f),S(f)}})(c,e)},blur:function(){S(e)}},list:{mousedown:function(c){c.preventDefault()},click:function(c){(function(s,f){var p=f.resultItem.tag.toUpperCase(),m=Array.from(f.list.querySelectorAll(p)),d=s.target.closest(p);d&&d.nodeName===p&&C(f,s,m.indexOf(d))})(c,e)}}};I(u,function(c,s){(e.resultsList||s==="input")&&(a[c][s]||(a[c][s]=u[c][s]))}),I(a,function(c,s){e[c].addEventListener(s,a[c][s])})};function W(e){var t=this;return new Promise(function(n,r){var o,i,a;if(o=e.placeHolder,a={role:"combobox","aria-owns":(i=e.resultsList).id,"aria-haspopup":!0,"aria-expanded":!1},k(e.input,h(h({"aria-controls":i.id,"aria-autocomplete":"both"},o&&{placeholder:o}),!e.wrapper&&h({},a))),e.wrapper&&(e.wrapper=k("div",h({around:e.input,class:e.name+"_wrapper"},a))),i&&(e.list=k(i.tag,h({dest:[i.destination,i.position],id:i.id,role:"listbox",hidden:"hidden"},i.class&&{class:i.class}))),Z(e),e.data.cache)return R(e).then(function(c){try{return u.call(t)}catch(s){return r(s)}},r);function u(){return w("init",e),n()}return u.call(t)})}function ee(e){var t=e.prototype;t.init=function(){W(this)},t.start=function(n){V(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;I((r=this).events,function(o,i){r[o].removeEventListener(i,r.events[o][i])})},t.open=function(){G(this)},t.close=function(){S(this)},t.goTo=function(n){q(n,this)},t.next=function(){K(this)},t.previous=function(){Q(this)},t.select=function(n){C(this,null,n)},t.search=function(n,r,o){return N(n,r,o)}}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,o=n.options,i=n.resultsList,a=n.resultItem;for(var u in o)if(b(o[u])==="object")for(var c in n[u]||(n[u]={}),o[u])n[u][c]=o[u][c];else n[u]=o[u];n.selector=n.selector||"#"+r,i.destination=i.destination||n.selector,i.id=i.id||r+"_list_"+n.id,a.id=a.id||r+"_result",n.input=D(n.selector)}(this),ee.call(this,e),W(this)}},x.exports=v()}(M)),M.exports}var re=ne();const oe=te(re);window.autoComplete=oe;document.querySelectorAll(".searchform-wrapper.nojs").forEach(x=>{x.classList.remove("nojs")});document.querySelectorAll("form[data-suggest]").forEach(x=>{const g=new window.autoComplete({selector:()=>x.querySelector(".tx-solr-suggest"),threshold:3,debounce:500,submit:!0,data:{src:async v=>{try{var l=g.input.closest("form").dataset.suggest;l=l.indexOf("?")>-1?l+"&":l+"?";const E=await(await fetch(`${l}tx_solr[queryString]=${v}`)).json();var y=[];if(!E.suggestions)return y;var L;
3return Object.entries(E.suggestions).forEach(function(b){L||(L=b[0]),y.push({value:b[0],data:{category:"suggestion",count:b[1]}})}),Object.entries(E.documents).forEach(function(b){L||(L=b[1].title),y.push({value:b[1].title,data:b[1]})}),g.input.setAttribute("placeholder",g.placeHolder),y}catch(h){return h}},keys:["value"]},resultsList:{element:(v,l)=>{if(l.results.length==0){const y=document.createElement("p");document.documentElement.lang=="de"?y.innerHTML=`<strong>${l.matches.length}</strong> Ergebnisse für <strong>"${l.query}"</strong>`:y.innerHTML=`Found <strong>${l.matches.length}</strong> matching results for <strong>"${l.query}"</strong>`,v.prepend(y)}},noResults:!0,maxResults:15,tabSelect:!0},resultItem:{element:(v,l)=>{v.innerHTML=` 4 <div class="suggestion"></div> 5 <span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"> 6 ${l.match} 7 </span> 8 <span class="t3m-SearchForm-autosuggest-count" style="display: none; align-items: center; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);"> 9 ${l.value.data.count??1} 10 </span>`,l.value.data.category==="suggestion"?v.innerHTML=` 11 <span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"> 12 ${l.match} 13 </span> 14 <span class="t3m-SearchForm-autosuggest-count" style="display: none; align-items: center; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);"> 15 ${l.value.data.count} 16 </span>`:v.innerHTML=` 17 <span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"> 18 <a href="${l.value.data.link}">${l.value.data.title}</a> 19 </span>`},highlight:!0},events:{input:{focus:()=>{g.input.value.length&&g.start()}}}});x.querySelector(".tx-solr-suggest").addEventListener("selection",function(v){const l=v.detail;g.input.blur();const y=l.selection.value[l.selection.key];g.input.value=y,l.selection.value.data.link?location.href=l.selection.value.data.link:g.input.closest("form").submit()})});
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.