const n=n=>n.textContent.trim()!=="";const t=n=>n.getRootNode();const o=n=>n.host||null;const s=(n,s)=>{const r=n=>{if(!n)return null;if(n.assignedSlot)n=n.assignedSlot;const c=t(n);const l=c.querySelector(s);const e=o(c);return l?l:e?r(e):null};return r(n)};const r=(n,s)=>{const r=n=>n?n.closest(s)||r(o(t(n))):null;return r(n)};const c=t=>{var o;return n(t)?t.textContent:((o=document.querySelector(`label[for="${t.id}"]`))===null||o===void 0?void 0:o.textContent)||""};const l=()=>[2,1,1,1,3].map((n=>{let t="";for(let o=0;o<n;o++){t+=((1+Math.random())*65536|0).toString(16).substring(1)}return t})).join("-");const e=(n,t,o="default")=>t[n]||t[o]||undefined;export{l as a,r as c,c as g,n as h,e as m,s as q};
//# sourceMappingURL=p-d85a85a0.js.map