1import{_ as u,a as m}from"./DsGmvgrK.js";import{d,o as n,h as o,V as l,c as s,ag as c,ah as p,W as f,m as y,r as _,u as k}from"./C6W5HJ0N.js";import"./DXkoMR_u.js";import"./BrpJm25e.js";import"./CECxiol4.js";import"./CHIgUVhi.js";import"./DwdS0k_d.js";import"./DAxsMeKo.js";import"./B-9EKUGp.js";import"./dkJpbU5j.js";const g=["innerHTML"],h=d({__name:"Accordion",props:{defaultKey:{default:()=>{}},items:{default:()=>[]},type:{default:"single"},unmountOnHide:{type:Boolean,default:!1}},emits:["change"],setup(t){return(a,r)=>{const i=u;return n(),o(k(m),{type:t.type,collapsible:!0,"unmount-on-hide":t.unmountOnHide,"default-value":t.defaultKey,"onUpdate:modelValue":r[0]||(r[0]=e=>a.$emit("change",e))},{default:l(()=>[t.items.length?(n(!0),s(c,{key:0},p(t.items,e=>(n(),o(i,{key:e.key,"item-key":e.key,title:e.title},{default:l(()=>[typeof e.content=="string"?(n(),s("div",{key:0,class:"external-html",innerHTML:e.content},null,8,g)):(n(),o(f(e.content),y({key:1,ref_for:!0},e.props),null,16))]),_:2},1032,["item-key","title"]))),128)):_(a.$slots,"default",{key:1})]),_:3},8,["type","unmount-on-hide","default-value"])}}}),K=Object.assign(h,{__name:"Accordion"});export{K 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.