1import{d as m,ah as d,a9 as b,V as f,W as t,u as a,L as _,a5 as s,Y as g,P as n,S as v,Q as r,be as x,bf as y,bg as h,c as C,a2 as k,a3 as S}from"./D0x-fFDl.js";import{r as w}from"./C3MJDawl.js";import"./CxYJgpPD.js";const V=m({__name:"Collapsible",props:{name:{type:String,default:"properties"}},setup(i){const l=d(),c=C(()=>({button:{base:"flex items-center gap-1 text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",icon:{name:l.ui.icons.chevron,base:"w-4 h-4 transform transition-transform duration-200",active:"",inactive:"-rotate-90"}},panel:"mt-4 ml-2 py-2.5 pl-4 border-l border-gray-200 dark:border-gray-800 [&>div]:!mt-0"})),{ui:e}=b("content.collapsible",void 0,c,void 0,!0);return k(()=>S()),(p,B)=>{const u=g;return _(),f(a(h),{as:"div"},{default:t(({open:o})=>[s(a(x),{class:n(a(e).button.base)},{default:t(()=>[s(u,{name:a(e).button.icon.name,class:n([a(e).button.icon.base,o?a(e).button.icon.active:a(e).button.icon.inactive])},null,8,["name","class"]),v("span",null,r(o?"Hide":"Show")+" "+r(i.name),1)]),_:2},1032,["class"]),s(a(y),{class:n(a(e).panel)},{default:t(()=>[w(p.$slots,"default",{unwrap:"p"})]),_:3},8,["class"])]),_:3})}}}),U=Object.assign(V,{__name:"Collapsible"});export{U 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.