"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../utils/cn/cn.cjs.js"),s=require("../../src/components/HighlightedTitle/highlightedTitle.module.css"),a=require("../Typography/Typography.cjs.js"),h=({title:t,label:i,className:n,defaultVariant:c="displayMd",as:o="h2",mobileVariant:l="headingLg",colorScheme:g="light"})=>e.jsxs("div",{"data-scheme":g,className:r.cn(s.root,n),children:[i&&e.jsx(a.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,className:s.tag,children:i}),e.jsx(a.Typography,{as:o,defaultVariant:c,mobileVariant:l,className:r.cn(s.title,{[s.taggedTitle]:!!i}),children:typeof t=="string"?e.jsx("p",{children:t}):t})]});exports.HighlightedTitle=h;
