import{r as b}from"./redux-1.0.74-D8bIc6ki.js";import{G as v,T as C,w as P,x as B,y as O,b as w,l as E,g as W,e as G,u as M,f as $,h as R,i as u,j as A,m as D,p as U}from"./CircularProgress-1.0.74-QfwfRJ7i.js";import{j as l}from"./tanstack-1.0.74-aU0azVkW.js";function k(t){return t==null||Object.keys(t).length===0}function _(t){const{styles:r,defaultTheme:e={}}=t,o=typeof r=="function"?n=>r(k(n)?e:n):r;return l.jsx(v,{styles:o})}function H(t){return Object.keys(t).length===0}function N(t=null){const r=b.useContext(C);return!r||H(r)?t:r}const V=P();function z(t=V){return N(t)}function F({styles:t,themeId:r,defaultTheme:e={}}){const o=z(e),n=typeof t=="function"?t(r&&o[r]||o):t;return l.jsx(_,{styles:n})}const J=t=>{var o;const r={systemProps:{},otherProps:{}},e=((o=t==null?void 0:t.theme)==null?void 0:o.unstable_sxConfig)??O;return Object.keys(t).forEach(n=>{e[n]?r.systemProps[n]=t[n]:r.otherProps[n]=t[n]}),r};function L(t){const{sx:r,...e}=t,{systemProps:o,otherProps:n}=J(e);let a;return Array.isArray(r)?a=[o,...r]:typeof r=="function"?a=(...i)=>{const s=r(...i);return B(s)?{...o,...s}:o}:a={...o,...r},{...n,sx:a}}function q(t){return l.jsx(F,{...t,defaultTheme:E,themeId:w})}function ot(t){return function(e){return l.jsx(q,{styles:typeof t=="function"?o=>t({theme:o,...e}):t})}}function I(){return L}function K(t){return W("MuiTypography",t)}const nt=G("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Q={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},X=I(),Y=t=>{const{align:r,gutterBottom:e,noWrap:o,paragraph:n,variant:a,classes:i}=t,s={root:["root",a,t.align!=="inherit"&&`align${u(r)}`,e&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return A(s,K,i)},Z=$("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:e}=t;return[r.root,e.variant&&r[e.variant],e.align!=="inherit"&&r[`align${u(e.align)}`],e.noWrap&&r.noWrap,e.gutterBottom&&r.gutterBottom,e.paragraph&&r.paragraph]}})(D(({theme:t})=>{var r;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([e,o])=>e!=="inherit"&&o&&typeof o=="object").map(([e,o])=>({props:{variant:e},style:o})),...Object.entries(t.palette).filter(U()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(((r=t.palette)==null?void 0:r.text)||{}).filter(([,e])=>typeof e=="string").map(([e])=>({props:{color:`text${u(e)}`},style:{color:(t.vars||t).palette.text[e]}})),{props:({ownerState:e})=>e.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}})),x={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},at=b.forwardRef(function(r,e){const{color:o,...n}=M({props:r,name:"MuiTypography"}),a=!Q[o],i=X({...n,...a&&{color:o}}),{align:s="inherit",className:c,component:h,gutterBottom:T=!1,noWrap:d=!1,paragraph:y=!1,variant:p="body1",variantMapping:g=x,...f}=i,m={...i,align:s,color:o,className:c,component:h,gutterBottom:T,noWrap:d,paragraph:y,variant:p,variantMapping:g},S=h||(y?"p":g[p]||x[p])||"span",j=Y(m);return l.jsx(Z,{as:S,ref:e,className:R(j.root,c),...f,ownerState:m,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...f.style}})});export{_ as G,at as T,z as a,L as e,ot as g,nt as t,N as u};
