import{r as n,j as f}from"./main.js";import{f as l}from"./button-D4VgS8ri.js";var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],d=u.reduce((t,r)=>{const o=l(`Primitive.${r}`),i=n.forwardRef((e,s)=>{const{asChild:a,...m}=e,p=a?o:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(p,{...m,ref:s})});return i.displayName=`Primitive.${r}`,{...t,[r]:i}},{});export{d as P};
