1import{P as e}from"./paths-DXjg5K85.js";import{t}from"./jsx-runtime-Dv7-ob3D.js";import{C as n,D as r,_ as i,k as a,y as o}from"./Wrapper-C5RWkBqY.js";import{t as s}from"./HeadingGroup-Dy7zoELr.js";import{t as c}from"./Image-g4a678Iw.js";import{D as l,d as u}from"./useSignup-Bzh9WrP_.js";var d=t(),f=n(`group font-bold focus:outline-state-focus outline-2 outline-offset-2 transition-colors duration-150 ease-in-out`,{variants:{mode:{light:`text-link-light focus:text-link-light-focus hover:text-link-light-hover active:text-link-light-active disabled:text-link-light-disabled`,dark:`text-link-dark focus:text-link-dark-focus hover:text-link-dark-hover active:text-link-dark-active disabled:text-link-dark-disabled`},size:{small:`text-button-size`,large:`text-button-lg-size`}}});function p({arrow:e=!0,children:t,className:n=`link no-underline`,mode:a=`light`,size:s=`large`,componentName:c,"aria-label":u,...p}){let m=l({external:!!(p.href&&(p.href.startsWith(`http://`)||p.href.startsWith(`https://`))),children:t,ariaLabel:u,target:p.target});return(0,d.jsxs)(`a`,{"data-component-name":c,"data-mode":a,className:r(f({mode:a,size:s}),n),style:{widows:2},"aria-label":m,...p,children:[(0,d.jsx)(`span`,{className:`inline underline hover:no-underline`,children:t}),e&&(0,d.jsxs)(`span`,{className:`inline whitespace-nowrap`,children:[`\xA0`,(0,d.jsx)(i,{size:16,icon:o.Arrow,className:`inline w-[1em] h-[1em] ml-[0.5ch] align-text-bottom leading-[inherit] opacity-0 transition-all translate-x-[-.5em] ease-in-out duration-150 group-hover:translate-x-0 group-hover:opacity-100`})]})]})}var m=n(`rounded-2xl ring-0`,{variants:{reversed:{true:`flex flex-col-reverse`,false:``},fullWidthImage:{true:``,false:``},horizontal:{true:`flex flex-row gap-x-md`,false:``},mode:{light:`ring-black/20 border-black`,dark:`ring-white/20 border-white`},size:{large:`p-xl`,small:`p-lg`},fullWidthSplit:{true:`flex flex-col sm:flex-row sm:items-center sm:gap-x-lg gap-y-md p-lg`,false:``},type:{default:`p-0`,horizontal:`flex flex-col sm:flex-row gap-x-lg`,outline:`ring-1`,shadow:``,topDivider:`p-0 pt-md border-t-2 rounded-none`,fullWidthSplit:``}},compoundVariants:[{mode:`light`,type:`shadow`,className:`shadow-light`},{mode:`dark`,type:`shadow`,className:`shadow-dark`},{horizontal:!0,type:`default`,className:`flex flex-col sm:flex-row gap-x-lg gap-y-4 sm:gap-y-0`},{horizontal:!0,reversed:!0,className:`flex-col-reverse sm:flex-row-reverse`},{fullWidthImage:!0,horizontal:!0,size:`large`,className:`p-xl`},{fullWidthImage:!0,horizontal:!0,size:`small`,className:`p-lg`},{fullWidthImage:!0,horizontal:!1,className:`p-0`},{fullWidthSplit:!0,reversed:!0,className:`flex flex-col-reverse sm:flex-row-reverse`}]}),h=n(``,{variants:{size:{large:``,small:``},fullWidthImage:{true:``,false:``},horizontal:{true:``,false:``},fullWidthSplit:{true:`flex-grow sm:flex sm:justify-between sm:items-center`,false:``}},compoundVariants:[{fullWidthImage:!0,horizontal:!1,size:`large`,className:`p-xl`},{fullWidthImage:!0,horizontal:!1,size:`small`,className:`p-lg`}]}),g=n(``,{variants:{fullWidthSplit:{true:`mt-md sm:ml-4 flex shrink-0`,false:`mt-md leading-[0]`}}}),_=n(`leading-[0]`,{variants:{headingGroup:{true:`mt-md`,false:``}}}),v=n(``,{variants:{horizontal:{true:`w-16 max-w-none`,false:``},reversed:{true:``,false:``},fullWidthImage:{true:``,false:``},fullWidthSplit:{true:``,false:``}},compoundVariants:[{reversed:!1,horizontal:!1,className:`mb-md`},{fullWidthImage:!0,horizontal:!1,className:`w-full m-0 rounded-t-2xl`},{fullWidthImage:!1,horizontal:!1,reversed:!0,className:`mt-md`},{fullWidthImage:!0,horizontal:!1,reversed:!0,className:`rounded-b-2xl rounded-t-none`},{fullWidthImage:!0,fullWidthSplit:!0,reversed:!1,className:`rounded-t-none rounded-tl-2xl rounded-bl-2xl`},{fullWidthImage:!0,fullWidthSplit:!0,reversed:!0,className:`rounded-none rounded-tr-2xl rounded-br-2xl`}]}),y=n(`w-11 h-11`,{variants:{horizontal:{false:``},reversed:{true:``,false:``}},compoundVariants:[{reversed:!0,horizontal:!1,className:`mt-md`},{reversed:!1,horizontal:!1,className:`mb-md`}]});function b({button:t,className:n,headingGroup:o,horizontal:l=!1,fullWidthSplit:f=!1,image:b,icon:x,link:S,mode:C=`light`,reversed:w=!1,size:T=`large`,type:E=`default`}){let{getContent:D}=a(),O=D(`ariaLabels.learnMore`),k=D(`learnMore`),A=e(O,String(o?.headingHtml||``)),j={size:T===`large`?`t3`:`t5`,mode:C,...o},M={mode:C,size:T,intent:`secondary`,...t},N=!!b?.fullWidth;return(0,d.jsxs)(`div`,{"data-component-name":`card`,className:r(m({horizontal:l,mode:C,type:E,size:T,reversed:w,fullWidthImage:N,fullWidthSplit:f}),n),"data-mode":C,children:[(()=>{if(E!==`topDivider`){if(b)return(0,d.jsx)(`div`,{children:(0,d.jsx)(c,{...b,className:r(v({horizontal:l,reversed:w,fullWidthImage:N,fullWidthSplit:f}),b.className)})});if(x)return(0,d.jsx)(`div`,{"data-component-name":`card-icon`,children:(0,d.jsx)(i,{...x,className:r(y({horizontal:l,reversed:w}),x.className)})})}})(),(0,d.jsxs)(`div`,{className:h({fullWidthImage:b?.fullWidth,fullWidthSplit:f,size:T,horizontal:l}),children:[o&&(0,d.jsx)(s,{...j}),S&&(0,d.jsx)(`div`,{className:_({headingGroup:!!o}),children:(0,d.jsx)(p,{mode:C,size:T,"aria-label":S.text?void 0:A,...S,children:S.text||k})}),t&&(0,d.jsx)(`div`,{className:g({fullWidthSplit:f}),children:(0,d.jsx)(u,{...M})})]})]})}export{p as n,b as t}; 2//# sourceMappingURL=Card-DxvJ0F6I.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.