"use strict";var e=require("react/jsx-runtime"),r=require("./ModalHeader-Cpls13mi.js"),n=require("./Screen-8NusMFtu.js");exports.ScreenLayout=({primaryCta:l,secondaryCta:t,helpText:a,footerText:s,watermark:c=!0,children:i,...d})=>{let u=l||t?/*#__PURE__*/e.jsxs(e.Fragment,{children:[l&&(()=>{let{label:n,...t}=l,a=t.variant||"primary";/*#__PURE__*/return e.jsx(r.Button,{...t,variant:a,style:{width:"100%",...t.style},children:n})})(),t&&(()=>{let{label:n,...l}=t,a=l.variant||"secondary";/*#__PURE__*/return e.jsx(r.Button,{...l,variant:a,style:{width:"100%",...l.style},children:n})})()]}):null;/*#__PURE__*/return e.jsxs(n.Screen,{id:d.id,className:d.className,children:[/*#__PURE__*/e.jsx(n.Screen.Header,{...d}),i?/*#__PURE__*/e.jsx(n.Screen.Body,{children:i}):null,a||u||c?/*#__PURE__*/e.jsxs(n.Screen.Footer,{children:[a?/*#__PURE__*/e.jsx(n.Screen.HelpText,{children:a}):null,u?/*#__PURE__*/e.jsx(n.Screen.Actions,{children:u}):null,c?/*#__PURE__*/e.jsx(n.Screen.Watermark,{}):null]}):null,s?/*#__PURE__*/e.jsx(n.Screen.FooterText,{children:s}):null]})};
//# sourceMappingURL=ScreenLayout-DaFW0I3a.js.map
