import{aq as i,j as e,Y as m,at as d,g as u,bv as r,a2 as x}from"./app-BgLa5dit.js";function h(a){let t=a.className||"btn btn-dark";if(a.disabled&&(t+=" disabled"),!a.icon){if(a.appLink&&!i.isFunction(a.onClick)&&!a.disabled)return e.jsx(m,{appLink:a.appLink,className:t,analyticsData:a.analyticsData,analyticsOptions:a.analyticsOptions,children:a.text});const c=()=>{a.disabled||(i.isFunction(a.onClick)&&a.onClick(),a.appLink&&u.trigger(a.appLink),r.logUserAction(a.analyticsData,a.analyticsOptions))};return a.href&&!a.disabled?e.jsx("a",{className:t,href:a.href,target:a.openInNewTab?"_blank":null,children:a.text}):e.jsx("button",{disabled:a.disabled,onClick:c,className:t,children:a.text})}return e.jsx(d,{className:t,onClick:a.onClick,appLink:a.appLink,svg:a.icon,href:a.href,openInNewTab:a.openInNewTab,disabled:a.disabled,children:a.text})}const b="_image_12gb5_1",f="_small_12gb5_6",l={image:b,small:f};s.defaultProps={size:"medium"};function s(a){return e.jsx("img",{alt:a.altText||"",role:"presentation",src:a.src,className:`${l.image} ${a.size==="small"?l.small:""} ${a.className??""}`})}function n(a){return e.jsx("div",{className:`text-center d-flex flex-column align-items-center ${a.className??""}`,children:a.children})}n.ThumbnailContainer=a=>e.jsx("div",{className:x("w-100",a.className),style:{maxWidth:"28rem",aspectRatio:"16/9"},children:a.children});n.Image=a=>e.jsx(s,{...a});n.Cta=a=>e.jsx(h,{...a});n.Heading=a=>e.jsx("h2",{role:"status",className:a.className||"h3",children:a.children});n.Info=a=>a.injectHtml?e.jsx("p",{role:"status",className:a.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:a.children}}):e.jsx("p",{role:"status",className:a.className||"my-3 w-100",style:{maxWidth:"29rem"},children:a.children});export{n as E};
//# sourceMappingURL=0GREfvNX.chunk.js.map
