1import{A as m,an as f,a as d,f as x,j as b,t as n,U as v,v as l,s as y,P as a,i as s,F as _,C as c,cg as h,aq as u}from"./mlHSftCV.js";import{_ as q}from"./xKkppNOF.js";import"./cGNqdAHy.js";import"./COCvUCZ1.js";const C={slots:{root:"my-5",trigger:["group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",triggerLabel:"truncate",content:"*:first:mt-2.5 *:last:mb-0 *:my-1.5"}},B={__name:"ProseCollapsible",props:{icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:void 0,required:!1}},setup(o){const e=o,{t:r}=m(),i=f(),t=d(()=>u({extend:u(C),...i.ui?.prose?.collapsible||{}})());return(p,T)=>(b(),x(q,{"unmount-on-hide":!1,class:a(e.class),ui:s(h)(t.value,e.ui)},{default:n(({open:g})=>[l("button",{class:a(t.value.trigger({class:e.ui?.trigger}))},[y(_,{name:o.icon||s(i).ui.icons.chevronDown,class:a(t.value.triggerIcon({class:e.ui?.triggerIcon}))},null,8,["name","class"]),l("span",{class:a(t.value.triggerLabel({class:e.ui?.triggerLabel}))},c(g?e.closeText||s(r)("prose.collapsible.closeText"):e.openText||s(r)("prose.collapsible.openText"))+" "+c(e.name||s(r)("prose.collapsible.name")),3)],2)]),content:n(()=>[v(p.$slots,"default")]),_:3},8,["class","ui"]))}};export{B 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.