"use strict";const t=require("react/jsx-runtime"),u=require("@mui/material/Skeleton"),l=require("@mui/material/Box");function a({variant:c="text",width:n,height:o,lines:e,sx:r}){return e&&e>1?t.jsx(l,{sx:{display:"flex",flexDirection:"column",gap:.5,...typeof r=="object"&&!Array.isArray(r)?r:{}},children:Array.from({length:e},(s,i)=>t.jsx(u,{variant:"text",width:i===e-1?"60%":n??"100%",height:o},i))}):t.jsx(u,{variant:c,width:n,height:o,sx:r})}a.displayName="Skeleton";exports.Skeleton=a;
