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