import{x as m,r as i,j as s,aW as f,w as x,G as v}from"./index-C9vqJYWU.js";const b=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],L=m("loader-circle",b);var w=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],N=w.reduce((t,a)=>{const e=f(`Primitive.${a}`),r=i.forwardRef((o,c)=>{const{asChild:d,...p}=o,u=d?e:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...p,ref:c})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{}),y="Label",l=i.forwardRef((t,a)=>s.jsx(N.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));l.displayName=y;var n=l;const g=v("text-sm leading-[21px] font-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),h=i.forwardRef(({className:t,required:a,children:e,...r},o)=>s.jsxs(n,{ref:o,className:x(g(),t),...r,children:[e,a&&s.jsx("span",{className:"text-destructive ml-0.5",children:"*"})]}));h.displayName=n.displayName;export{L,h as a};
