"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../src/modules/BasicImageText/basicImageText.module.css"),d=require("../../components/Typography/Typography.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Button/Button.cjs.js"),y={solar:"color-text-primary-brand-solar",indigo:"color-text-primary-brand-indigo",primary:"color-text-primary",inverted:"color-text-primary-inverted"},j=({imagePosition:t,title:m,description:r,image:o,button:a,label:l,labelColor:h,mobileImage:g,colorScheme:s,buttonColor:c})=>{const x=h||(s==="dark"?"inverted":"primary");return e.jsx("section",{className:i.root,"data-color-scheme":s,children:e.jsxs("div",{className:i.container,"data-image-position":t,children:[e.jsxs("div",{className:i.textContainer,children:[l&&e.jsx(d.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,className:i.label,color:y[x],children:l}),e.jsxs("div",{className:i.titleContainer,children:[e.jsx(p.HighlightedTitle,{colorScheme:s==="dark"?"dark":"light",className:i.title,defaultVariant:"displayMd",mobileVariant:"headingXl",title:m}),e.jsx("div",{className:i.mobileImageContainer,children:e.jsx("img",{src:g,alt:"",className:i.mobileImage})}),r&&e.jsx(d.Typography,{className:i.description,defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:r})]}),(a==null?void 0:a.link)&&e.jsxs("div",{className:i.buttonContainer,children:[e.jsx("div",{className:i.buttonDesktop,children:e.jsx(n.Button,{as:"a",href:a==null?void 0:a.link,variant:c||"secondary",size:"lg",children:(a==null?void 0:a.text)||"Get Started"})}),e.jsx("div",{className:i.buttonMobile,children:e.jsx(n.Button,{as:"a",href:a==null?void 0:a.link,variant:c||"secondary",size:"sm",children:(a==null?void 0:a.text)||"Get Started"})})]})]}),e.jsx("div",{className:i.imageContainer,children:e.jsx("img",{src:o,alt:"",className:i.image})})]})})};exports.BasicImageText=j;
