import{s as e}from"./rolldown-runtime-C5c2KzVm.js";import{$P as t}from"./lucide-C4oWPzu4.js";import{p as n}from"./utils-Bs-0X7qI.js";import{r}from"./bundle-mjs-C4g7ASB5.js";import{n as i}from"./dist-CImBN8k_.js";var a=e(t(),1),o=r(),s=`AspectRatio`,c=a.forwardRef((e,t)=>{let{ratio:n=1/1,style:r,...a}=e;return(0,o.jsx)(`div`,{style:{position:`relative`,width:`100%`,paddingBottom:`${100/n}%`},"data-radix-aspect-ratio-wrapper":``,children:(0,o.jsx)(i.div,{...a,ref:t,style:{...r,position:`absolute`,top:0,right:0,bottom:0,left:0}})})});c.displayName=s;var l=c,u=n();function d(e){let t=(0,u.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,o.jsx)(l,{"data-slot":`aspect-ratio`,...n}),t[2]=n,t[3]=r),r}export{d as t};