"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../../../../utils/formatDate.cjs.js"),a=require("../../../../src/modules/ResearchFeatured/components/HighlightedArticle/highlightedArticle.module.css"),c=require("../../../../components/Label/Label.cjs.js"),r=require("../../../../components/Typography/Typography.cjs.js"),h=({label:t,image:s,date:l,title:i,link:o})=>e.jsxs("a",{href:o,className:a.root,style:{backgroundImage:`url(${s})`},children:[t&&e.jsx(c.Label,{size:"lg",color:"white",className:a.label,children:t}),e.jsxs("div",{className:a.text,children:[e.jsx(r.Typography,{defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,className:a.date,children:n.formatDate(l)}),e.jsx(r.Typography,{defaultVariant:"headingXl",mobileVariant:"headingXs",className:a.title,children:i})]})]});exports.HighlightedArticle=h;
