1import{d,r as s,o as v,a as _,c as h,b as p,I as m,n as g,e as i,y as r,_ as x}from"./DrikBq3t.js";const y={class:"accordion__content text-base"},C=d({__name:"CustomAccordion",props:{data:{}},setup(E){const e=s(null),n=s(!1),o=s(!1);function l(){o.value||(n.value?f():u())}function u(){if(!e.value)return;o.value=!0,n.value=!0;const a=e.value.firstElementChild.offsetHeight;e.value.style.height="0px",requestAnimationFrame(()=>{e.value.style.height=`${a}px`})}function f(){if(!e.value)return;o.value=!0,n.value=!1;const a=e.value.firstElementChild.offsetHeight;e.value.style.height=`${a}px`,requestAnimationFrame(()=>{e.value.style.height="0px"})}function c(t){t.propertyName==="height"&&(n.value&&(e.value.style.height="auto"),o.value=!1)}return v(()=>{var t;(t=e.value)==null||t.addEventListener("transitionend",c)}),_(()=>{var t;(t=e.value)==null||t.removeEventListener("transitionend",c)}),(t,a)=>(p(),h("div",{class:m(["accordion",{active:g(n)}])},[i("div",{class:"accordion__header text-title-2xs font-semibold",onClick:l},r(t.data.title),1),i("div",{ref_key:"accordion",ref:e,class:"accordion__content-container"},[i("div",y,r(t.data.content),1)],512)],2))}}),A=x(C,[["__scopeId","data-v-2f684f89"]]);export{A as _};
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.