import"./xihTtKlq.mjs";import{It as e,J as t,Jt as n,Lt as r,Pt as i,S as a,U as o,Z as s,c,dn as l,et as u,fn as d,gt as f,it as p,j as m,kt as h,l as g,rt as _,w as v,yn as y}from"./DRAiiyBy.mjs";import{i as b}from"./BunZ7B1w.mjs";function x(...e){return b(m(e))}var S=`Ark (Zag machine)`,C=(e=>(t,n,r=S,i={})=>{let a=typeof n==`object`&&n?n:{control:n},{table:o,...s}=i;return{description:t,...a,...s,table:{...a.table,...o,category:e,subcategory:r}}})(`Engineering`);C(`Initial open state when uncontrolled.`,`boolean`,S,(e=>({table:{defaultValue:{summary:`false`}}}))(!1)),C("Called with `{ open }` — a details object, not a bare boolean.",!1);var w=(e,t)=>{let n=new Map,r=`ds-icon-${Array.from(t,e=>e.codePointAt(0).toString(16)).join(`-`)}`,i=/(\s)([\w:-]+)(\s*=\s*)(["'])(.*?)\4/gs;for(let t of e.matchAll(i))t[2]===`id`&&n.set(t[5],`${r}-${n.size}`);return n.size===0?e:e.replace(i,(e,t,r,i,a,o)=>{let s=o;if(r===`id`)s=n.get(o);else if((r===`href`||r===`xlink:href`)&&o.startsWith(`#`)){let e=n.get(o.slice(1));e&&(s=`#${e}`)}else s=r===`aria-labelledby`||r===`aria-describedby`?o.replace(/\S+/g,e=>n.get(e)??e):o.replace(/url\(\s*(["']?)#([^\s"')]+)\1\s*\)/g,(e,t,r)=>{let i=n.get(r);return i?`url(#${i})`:e});return s===o?e:`${t}${r}${i}${a}${s}${a}`})},T;(function(e){e[e.xs=12]=`xs`,e[e.sm=16]=`sm`,e[e.md=20]=`md`,e[e.lg=24]=`lg`,e[e.xl=28]=`xl`,e[e[`2xl`]=32]=`2xl`,e[e[`3xl`]=36]=`3xl`})(T||={});var E=new Set([`$$slots`,`$$events`,`$$legacy`,`icon`,`size`,`alt`]),D=_(`