"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@mui/material"),x=require("./_svg/SparkleIcon.js");exports.default=function(o){var r=o.isLoading,s=o.mainText,n=o.subText;return r?t.jsx(i.Box,e.__assign({sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(241, 245, 249, 0.7)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e4}},{children:t.jsxs(i.Box,e.__assign({sx:{width:"85%",maxWidth:"800px",bgcolor:"#FFFFFF",borderRadius:"16px",boxShadow:"0px 10px 40px rgba(0,0,0,0.08)",display:"flex",p:5,gap:4,border:"1px solid #E2E8F0"}},{children:[t.jsxs(i.Box,e.__assign({sx:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"}},{children:[t.jsx(i.Box,e.__assign({sx:{color:"#8B5CF6",mb:2}},{children:t.jsx(x.default,{})})),t.jsx(i.Typography,e.__assign({variant:"h6",sx:{fontWeight:600,color:"#0F172A",mb:1,fontSize:"1.1rem"}},{children:s})),n&&t.jsx(i.Typography,e.__assign({variant:"body2",sx:{color:"#64748B",lineHeight:1.5}},{children:n}))]})),t.jsxs(i.Box,e.__assign({sx:{flex:1.2,bgcolor:"#F8FAFC",borderRadius:"12px",p:3,display:"flex",flexDirection:"column",gap:1.5,border:"1px solid #F1F5F9"}},{children:[t.jsx(i.Skeleton,{variant:"text",sx:{width:"80%",height:"12px",bgcolor:"#E2E8F0"}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"100%",height:"12px",bgcolor:"#E2E8F0"}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"90%",height:"12px",bgcolor:"#E2E8F0",mb:1}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"85%",height:"12px",bgcolor:"#E2E8F0"}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"95%",height:"12px",bgcolor:"#E2E8F0"}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"70%",height:"12px",bgcolor:"#E2E8F0",mb:1}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"90%",height:"12px",bgcolor:"#E2E8F0"}}),t.jsx(i.Skeleton,{variant:"text",sx:{width:"60%",height:"12px",bgcolor:"#E2E8F0"}})]}))]}))})):null};
//# sourceMappingURL=VariantLoadingOverlay.js.map
