"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../../src/components/ClaimBlock/claimBlock.module.css"),s=require("../Typography/Typography.cjs.js"),o=require("../Superscript/Superscript.cjs.js");function m({value:c,subtitle:d,subtitleSuperscript:i,description:r,descriptionSuperscript:l,valuePrefix:n,valueSuffix:t}){return a.jsxs("div",{className:e.claimBlock,children:[a.jsxs("div",{className:e.valueContainer,children:[n&&a.jsx(s.Typography,{className:e.valuePrefix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:n}),a.jsx(s.Typography,{className:e.value,as:"h3",defaultVariant:"displayXs",mobileVariant:"displayXs",children:c}),t&&a.jsx(s.Typography,{className:e.valueSuffix,as:"h3",defaultVariant:"headingSm",mobileVariant:"headingSm",children:t})]}),a.jsxs(s.Typography,{className:e.subtitle,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:[d,i&&a.jsx(o.Superscript,{value:i})]}),r&&a.jsxs(s.Typography,{className:e.description,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:[r,l&&a.jsx(o.Superscript,{value:l})]})]})}exports.ClaimBlock=m;
