import{resetComponent as l}from"../../style/index.mjs";import"../../theme/internal.mjs";import m from"../../theme/util/genComponentStyleHook.mjs";import{merge as f}from"../../theme/util/statistic.mjs";const p=n=>{const{componentCls:t,marginXXS:i,padding:o,colorTextDescription:e,statisticTitleFontSize:s,colorTextHeading:c,statisticContentFontSize:r,statisticFontFamily:a}=n;return{[`${t}`]:{...l(n),[`${t}-title`]:{marginBottom:i,color:e,fontSize:s},[`${t}-skeleton`]:{paddingTop:o},[`${t}-content`]:{color:c,fontSize:r,fontFamily:a,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:i},[`${t}-content-suffix`]:{marginInlineStart:i}}}}},y=m("Statistic",n=>{const{fontSizeHeading3:t,fontSize:i,fontFamily:o}=n,e=f(n,{statisticTitleFontSize:i,statisticContentFontSize:t,statisticFontFamily:o});return[p(e)]});export{y as default};
