function n(n="dds"){return`__${n}_${Math.random().toString(36).slice(2,10)}`}function t(n,t,o=[]){const r={};for(let t=0;t<n.attributes.length;t++){const o=n.attributes[t];o.name.includes("aria-")&&(r[o.name]=o.value)}return o.forEach((o=>{if(n.hasAttribute(o)||t?.hasAttribute(o)){const u=n.getAttribute(o)??t?.getAttribute(o)??null;null!==u&&(r[o]=u),n.removeAttribute(o)}})),r}function o(n){return[...n.childNodes].some((n=>n.nodeType===Node.TEXT_NODE?""!==n.textContent?.trim():n.nodeType===Node.ELEMENT_NODE&&!n.hasAttribute("slot")))}export{o as h,t as i,n as u}