import{t as e}from"./jsx-runtime.js";import{d as t}from"./ModalHeader-BS54PZSj.js";import{t as n}from"./Screen-Xe9xaKl3.js";var r=e(),i=({primaryCta:e,secondaryCta:i,helpText:a,footerText:o,watermark:s=!0,children:c,...l})=>{let u=e||i?(0,r.jsxs)(r.Fragment,{children:[e&&(()=>{let{label:n,...i}=e,a=i.variant||`primary`;return(0,r.jsx)(t,{...i,variant:a,style:{width:`100%`,...i.style},children:n})})(),i&&(()=>{let{label:e,...n}=i,a=n.variant||`secondary`;return(0,r.jsx)(t,{...n,variant:a,style:{width:`100%`,...n.style},children:e})})()]}):null;return(0,r.jsxs)(n,{id:l.id,className:l.className,children:[(0,r.jsx)(n.Header,{...l}),c?(0,r.jsx)(n.Body,{children:c}):null,a||u||s?(0,r.jsxs)(n.Footer,{children:[a?(0,r.jsx)(n.HelpText,{children:a}):null,u?(0,r.jsx)(n.Actions,{children:u}):null,s?(0,r.jsx)(n.Watermark,{}):null]}):null,o?(0,r.jsx)(n.FooterText,{children:o}):null]})};export{i as t};