1import{r as a,j as e,m as c,K as i,d as l,n as d,L as r,B as t,c as o}from"./index-QiiZ-xPT.js";import{C as m,b as n,c as x,d as h,a as u}from"./card-DkXabqFf.js";import{N as p}from"./Navigation-r93ZBuy6.js";import{F as f}from"./Footer-3JNsJayo.js";import{c as j}from"./confetti.module-oQXWb4Lk.js";import{u as g}from"./useTranslation-XedzLvcK.js";import{G as N}from"./gift-DGFeQbUI.js";import"./label-BA9Xin3m.js";import"./checkbox-CrGTwbPu.js";import"./index-DqZlRfV5.js";import"./check-KTa2Xihg.js";import"./select-B1P2Vx_w.js";import"./index-BMyKsIJE.js";import"./Combination-TP2Egp2x.js";import"./chevron-down-BWOHa16b.js";import"./dialog-D2VXyQJN.js";import"./save-BsB7cS8F.js";import"./dropdown-menu-D4zjGRmc.js";import"./index-Bj3iuRQR.js";import"./chevron-right-f4G5e4zR.js";import"./circle-2nw1jhuN.js";import"./globe-3tsuvpPT.js";import"./log-out-CqAuLeet.js";import"./building-2-Bz-h5bHH.js";import"./BrandSponsor-DEW6i_On.js";import"./mail-Cr62Xklx.js";import"./twitter-BzZd48jL.js";function V(){const{t:s}=g();return a.useEffect(()=>{j({particleCount:100,spread:70,origin:{y:.6}})},[]),e.jsxs("div",{className:"dark min-h-screen bg-background",children:[e.jsx(p,{}),e.jsx("main",{className:"pt-24 pb-16",children:e.jsx("div",{className:"max-w-2xl mx-auto px-6",children:e.jsx(c.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"text-center",children:e.jsxs(m,{className:"bg-card border-border","data-testid":"card-checkout-success",children:[e.jsxs(n,{className:"pb-4",children:[e.jsx("div",{className:"w-20 h-20 rounded-full bg-green-500/10 flex items-center justify-center mx-auto mb-6",children:e.jsx(i,{className:"w-10 h-10 text-green-500"})}),e.jsx(x,{className:"text-3xl","data-testid":"text-success-title",children:s("checkoutSuccess.title")}),e.jsx(h,{className:"text-lg",children:s("checkoutSuccess.description")})]}),e.jsxs(u,{className:"space-y-6",children:[e.jsxs("div",{className:"grid gap-4",children:[e.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-lg bg-muted/50 text-left",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(l,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:s("checkoutSuccess.exploreLibraryTitle")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("checkoutSuccess.exploreLibraryDesc")})]})]}),e.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-lg bg-muted/50 text-left",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(d,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:s("checkoutSuccess.upcomingEventsTitle")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("checkoutSuccess.upcomingEventsDesc")})]})]})]}),e.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-lg bg-gradient-to-r from-primary/10 to-accent/10 border border-primary/20 text-left",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/20 flex items-center justify-center shrink-0",children:e.jsx(N,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-medium",children:s("checkoutSuccess.referFriendTitle","Share the love")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("checkoutSuccess.referFriendDesc","Refer friends and earn free months")})]}),e.jsx(r,{href:"/referrals",children:e.jsx(t,{size:"sm",variant:"secondary","data-testid":"button-refer-friend-success",children:s("referrals.referFriend","Refer a Friend")})})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 pt-4",children:[e.jsx(r,{href:"/dashboard",className:"flex-1",children:e.jsxs(t,{className:"w-full bg-primary hover:bg-primary/90","data-testid":"button-go-to-dashboard",children:[s("checkoutSuccess.goToDashboard"),e.jsx(o,{className:"ml-2 w-4 h-4"})]})}),e.jsx(r,{href:"/library",className:"flex-1",children:e.jsx(t,{variant:"outline",className:"w-full","data-testid":"button-browse-library",children:s("checkoutSuccess.browseLibrary")})})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("checkoutSuccess.receiptSent")})]})]})})})}),e.jsx(f,{})]})}
1export{V as default};
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.