import{c as T,t as W,b as p,_ as b,s as C,d as M,e as y,f as P,v as R}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{r as j}from"./index-NdkWRN8K.js";import{j as _}from"./jsx-runtime-CnH95YSl.js";const N=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],D=t=>{const{align:a,gutterBottom:r,noWrap:n,paragraph:s,variant:o,classes:e}=t,i={root:["root",o,t.align!=="inherit"&&`align${y(a)}`,r&&"gutterBottom",n&&"noWrap",s&&"paragraph"]};return P(i,R,e)},E=C("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:r}=t;return[a.root,r.variant&&a[r.variant],r.align!=="inherit"&&a[`align${y(r.align)}`],r.noWrap&&a.noWrap,r.gutterBottom&&a.gutterBottom,r.paragraph&&a.paragraph]}})(({theme:t,ownerState:a})=>p({margin:0},a.variant==="inherit"&&{font:"inherit"},a.variant!=="inherit"&&t.typography[a.variant],a.align!=="inherit"&&{textAlign:a.align},a.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a.gutterBottom&&{marginBottom:"0.35em"},a.paragraph&&{marginBottom:16})),u={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},U={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$=t=>U[t]||t,O=j.forwardRef(function(a,r){const n=T({props:a,name:"MuiTypography"}),s=$(n.color),o=W(p({},n,{color:s})),{align:e="inherit",className:i,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:g=!1,variant:h="body1",variantMapping:m=u}=o,x=b(o,N),l=p({},o,{align:e,color:s,className:i,component:c,gutterBottom:d,noWrap:f,paragraph:g,variant:h,variantMapping:m}),v=c||(g?"p":m[h]||u[h])||"span",B=D(l);return _.jsx(E,p({as:v,ref:r,ownerState:l,className:M(B.root,i)},x))});export{O as T};
