import{D as e,E as t,L as n,W as r,Z as i,et as a,i as o,k as s,r as c,v as l,w as u,x as d}from"./app-BdTWMBT0.js";import{t as f}from"./i18n-DPFOIxhg.js";import{t as p}from"./MarketingLayout-CWTiVmYY.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=s({__name:`Success`,props:{license:{}},setup(s){return(x,S)=>(n(),u(l,null,[e(i(c),{title:i(f)(`Thank you`)},null,8,[`title`]),e(p,null,{default:r(()=>[d(`section`,m,[S[0]||=d(`div`,{class:`text-5xl`},`🎉`,-1),d(`h1`,h,a(i(f)(`Thank you!`)),1),s.license?(n(),u(l,{key:0},[d(`p`,g,[t(a(i(f)(`Your purchase of`))+` `,1),d(`strong`,null,a(s.license.product),1),t(` `+a(i(f)(`is complete. Here’s your license key:`)),1)]),d(`div`,_,a(s.license.key),1),d(`p`,v,[t(a(i(f)(`Enter this key in your site’s`))+` `,1),d(`strong`,null,a(i(f)(`Admin → Marketplace`)),1),t(` `+a(i(f)(`to install it. It’s also saved to your account.`)),1)])],64)):(n(),u(`p`,y,a(i(f)(`Your payment is being confirmed. Your license key will appear in your account momentarily — and we’ve emailed it to you.`)),1)),d(`div`,b,[e(i(o),{href:`/account/licenses`,class:`rounded-xl bg-primary px-5 py-3 font-bold text-white hover:bg-primary-600`},{default:r(()=>[t(a(i(f)(`View my licenses`)),1)]),_:1}),e(i(o),{href:`/extensions`,class:`rounded-xl border border-line px-5 py-3 font-bold text-ink-2 hover:bg-surface-2`},{default:r(()=>[t(a(i(f)(`Back to extensions`)),1)]),_:1})])])]),_:1})],64))}});export{x as default};