1import{b as f}from"./helpers-f1b9d39c.js";function m(a){const r=f(a),t=r.showMoreBtn,e=r.addonsContainer;if(!t||!e)return;const s=Array.from(e.querySelectorAll(".addon"));let n=!1,o=0;function c(){const i=window.innerWidth;return i<1180?3:i<1600?6:4}function d(){const i=c();if(s.length<=i){e.style.maxHeight="",t.hidden=!0;return}const u=e.getBoundingClientRect().top;o=s[i-1].getBoundingClientRect().bottom-u+12,e.style.maxHeight=o+"px",t.hidden=!1,n&&(n=!1,t.textContent="Weitere Addons anzeigen")}d(),t.addEventListener("click",()=>{n=!n,n?(e.style.maxHeight=e.scrollHeight+"px",t.textContent="Weniger Addons anzeigen"):(e.style.maxHeight=o+"px",t.textContent="Weitere Addons anzeigen")});let l;window.addEventListener("resize",()=>{clearTimeout(l),l=setTimeout(d,150)})}export{m as default};
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.