import{t as e}from"./vendor-react-CAGJwf-T.js";import{t}from"./utils-Dk_44zMo.js";var n=e();function r({variant:e=`line`,width:r,height:i,className:a,...o}){let s=`animate-pulse bg-slate-200 dark:bg-slate-700 rounded`;return e===`circle`?(0,n.jsx)(`div`,{className:t(s,`rounded-full`,a),style:{width:r||40,height:i||40},...o}):e===`rect`?(0,n.jsx)(`div`,{className:t(s,`rounded-lg`,a),style:{width:r||`100%`,height:i||120},...o}):(0,n.jsx)(`div`,{className:t(s,`h-4`,a),style:{width:r||`100%`,height:i},...o})}function i({columns:e=5}){return(0,n.jsx)(`tr`,{className:`border-b border-[var(--color-border-light)]`,children:Array.from({length:e},(e,t)=>(0,n.jsx)(`td`,{className:`px-4 py-3`,children:(0,n.jsx)(r,{width:`${60+Math.random()*30}%`})},t))})}export{i as n,r as t};