1import{t as i}from"./event-zU-Y6ZHH.js";import s from"./openable-el-BJ_T-8tP.js";import"./focus-trap.esm-Xhld-vAf.js";import"./custom-html-element-Cddc4xm8.js";import"./logger-pamvzmAu.js";import"./exports-NHIMKJG4.js";import"./section-BvLk_Bdn.js";const n=class extends s{constructor(){super(),this.ignoreNextTransition=this.open,this.addEventListener("shopify:block:select",()=>this.open=!0),this.addEventListener("shopify:block:deselect",()=>this.open=!1)}get animateItems(){return this.hasAttribute("animate-items")}attributeChangedCallback(t){if(this.ignoreNextTransition)return this.ignoreNextTransition=!1;switch(t){case"open":this.style.overflow="hidden";const e={height:["0px",`${this.scrollHeight}px`],visibility:["hidden","visible"]};this.animateItems&&(e.opacity=this.open?[0,0]:[0,1]),this.animate(e,{duration:500,direction:this.open?"normal":"reverse",easing:"cubic-bezier(0.75, 0, 0.175, 1)"}).onfinish=()=>{this.style.overflow=this.open?"visible":"hidden"},this.animateItems&&this.open&&this.animate({opacity:[0,1],transform:["translateY(10px)","translateY(0)"]},{duration:250,delay:250,easing:"cubic-bezier(0.75, 0, 0.175, 1)"}),i(this,this.open?"openable-element:open":"openable-element:close")}}};window.customElements.get("collapsible-content")||window.customElements.define("collapsible-content",n);
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.