1if(!customElements.get("content-truncator")){class ContentTruncator extends HTMLElement{constructor(){super(),this.contentWrapper=null,this.content=null,this.button=null}connectedCallback(){this.contentWrapper=this.querySelector(".content-truncator__wrapper"),this.content=this.querySelector(".content-truncator__content"),this.button=this.querySelector(".content-truncator__button"),this.updateButtonVisibility(),this.button.addEventListener("click",()=>this.showMoreContent()),window.addEventListener("resizeend",()=>this.updateButtonVisibility())}updateButtonVisibility(){const contentHeight=this.content.scrollHeight,wrapperHeight=this.contentWrapper.clientHeight;contentHeight>wrapperHeight?(this.contentWrapper.classList.add("is-expandable"),this.button.style.display="inline-block"):(this.contentWrapper.classList.remove("is-expandable"),this.button.style.display="none")}showMoreContent(){const contentHeight=this.content.scrollHeight;this.contentWrapper.style.setProperty("--max-content-height",`${contentHeight}px`),this.contentWrapper.classList.add("expanded"),this.updateButtonVisibility()}}customElements.define("content-truncator",ContentTruncator)} 2//# sourceMappingURL=/cdn/shop/t/4/assets/content-truncator.js.map?v=45499639571555940511737422543
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.