import{C as e,D as t,E as n,F as r,H as i,Q as a,T as o,Y as s,_ as c,b as l,n as u,r as d}from"./app-DvG0COlm.js";import{t as f}from"./i18n-Csd_YH3V.js";import{t as p}from"./MarketingLayout-Cd8r1-8q.js";var m={class:`mx-auto max-w-xl px-6 py-24 text-center`},h={class:`mt-4 text-3xl font-black tracking-tight`},g={class:`mt-3 text-ink-2`},_={class:`mt-5 select-all rounded-xl border border-line bg-surface-2 px-5 py-4 font-mono text-lg font-bold tracking-wide text-primary`},v={class:`mt-3 text-sm text-ink-muted`},y={key:1,class:`mt-3 text-ink-2`},b={class:`mt-8 flex justify-center gap-3`},x=t({__name:`Success`,props:{license:{}},setup(t){return(x,S)=>(r(),e(c,null,[n(s(u),{title:s(f)(`Thank you`)},null,8,[`title`]),n(p,null,{default:i(()=>[l(`section`,m,[S[0]||=l(`div`,{class:`text-5xl`},`🎉`,-1),l(`h1`,h,a(s(f)(`Thank you!`)),1),t.license?(r(),e(c,{key:0},[l(`p`,g,[o(a(s(f)(`Your purchase of`))+` `,1),l(`strong`,null,a(t.license.product),1),o(` `+a(s(f)(`is complete. Here’s your license key:`)),1)]),l(`div`,_,a(t.license.key),1),l(`p`,v,[o(a(s(f)(`Enter this key in your site’s`))+` `,1),l(`strong`,null,a(s(f)(`Admin → Marketplace`)),1),o(` `+a(s(f)(`to install it. It’s also saved to your account.`)),1)])],64)):(r(),e(`p`,y,a(s(f)(`Your payment is being confirmed. Your license key will appear in your account momentarily — and we’ve emailed it to you.`)),1)),l(`div`,b,[n(s(d),{href:`/account/licenses`,class:`rounded-xl bg-primary px-5 py-3 font-bold text-white hover:bg-primary-600`},{default:i(()=>[o(a(s(f)(`View my licenses`)),1)]),_:1}),n(s(d),{href:`/extensions`,class:`rounded-xl border border-line px-5 py-3 font-bold text-ink-2 hover:bg-surface-2`},{default:i(()=>[o(a(s(f)(`Back to extensions`)),1)]),_:1})])])]),_:1})],64))}});export{x as default};