"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/ProgramsDetailsHero/programsDetailsHero.module.css"),t=require("../../types/analytics/analytics.cjs.js"),i=require("../../components/Typography/Typography.cjs.js"),l=require("../../components/Button/Button.cjs.js"),d=({title:n,description:r,button:s,backgroundImage:o})=>{const c={event:t.EAnalyticsEvent.ctaClicked,type:t.EAnalyticsEventType.interaction,component:"ProgramsDetailsHero",payload:{ctaLink:s.link,ctaLabel:s.text}};return e.jsx("section",{className:a.root,"data-type":"hero",style:{backgroundImage:`url(${o})`},children:e.jsx("div",{className:a.container,children:e.jsxs("div",{className:a.headline,children:[e.jsx("div",{className:a.titleContainer,children:e.jsx(i.Typography,{className:a.title,as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:n})}),e.jsx("div",{className:a.midBorder}),e.jsx("div",{className:a.infoContainer,children:e.jsxs("div",{className:a.infoBox,children:[e.jsx(i.Typography,{className:a.description,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:r}),e.jsx(l.Button,{as:"a",href:s.link,variant:"secondary",size:"md",analyticsProps:c,children:s.text})]})})]})})})};exports.ProgramsDetailsHero=d;
