1import{h as j,r as n,j as e,n as h,L as a,B as m}from"./index-DuDy-C7E.js";import{C as o,a as c,b as f,c as b}from"./card-D-PGMmUQ.js";import{H as l,F as d}from"./Footer-CIw1nmS6.js";import{C as v}from"./circle-check-big-CJqUkAVV.js";import"./EmailLoginLinkFallback-2qufwzvw.js";import"./dropdown-menu-DxVSNreU.js";import"./index-DUBimMjV.js";import"./chevron-right-CMMg6e0c.js";import"./check-CiG5G0J5.js";import"./globe-Dri8eyEA.js";import"./circle-check-CfxmuW5Z.js";import"./UserMenu-CsbYzSuR.js";import"./scroll-area-BKmQemww.js";import"./index-BdQq_4o_.js";import"./branding-oQ909HDO.js";import"./badge-CV_gQhhS.js";import"./useUnifiedCredits-DYdTn9Om.js";import"./zap-DIuPAQ6H.js";import"./password-input-C7rqFhf6.js";import"./eye-off-BK-bEOer.js";import"./eye-DmfrBnWF.js";import"./label-z-eHHwqe.js";import"./TurnstileWidget-CrVcdhoa.js";import"./trending-up-CtCPjQhu.js";import"./users-B63HtIMA.js";import"./target-Dednim2H.js";import"./shield-check-B4eKqSac.js";import"./file-text-DoofBJmr.js";import"./chart-column-86DTqtpS.js";import"./instagram-DipTe65Z.js";import"./message-square-B2giX2Bu.js";import"./search-6BwjteOZ.js";import"./brain-DxlEDFG1.js";import"./rocket-CBUD53Yr.js";import"./menu-CtKUd_ly.js";import"./NewFeaturesPanel-C4o73TNU.js";import"./sheet-Dlb791Ua.js";import"./lightbulb-CgZce07h.js";import"./linkedin-BITXrSBe.js";const me=()=>{const[r]=j(),[x,p]=n.useState(!0),[i,u]=n.useState(!1),t=r.get("payment_intent");r.get("payment_intent_client_secret");const s=r.get("redirect_status");return n.useEffect(()=>{const g=setTimeout(async()=>{console.log("Verifying payment:",{paymentIntent:t,redirectStatus:s}),t&&s==="succeeded"&&u(!0),p(!1)},2e3);return()=>clearTimeout(g)},[t,s]),x?e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-accent/10",children:[e.jsx(l,{}),e.jsx("main",{className:"py-20 px-4",children:e.jsx("div",{className:"container mx-auto max-w-2xl",children:e.jsx(o,{className:"card-gradient shadow-xl border border-border/50",children:e.jsxs(c,{className:"text-center p-8",children:[e.jsx(h,{className:"w-12 h-12 animate-spin mx-auto mb-4 text-primary"}),e.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Betaling verifiëren..."}),e.jsx("p",{className:"text-muted-foreground",children:"Een moment geduld terwijl we je betaling verifiëren."})]})})})}),e.jsx(d,{})]}):e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-background via-muted/30 to-accent/10",children:[e.jsx(l,{}),e.jsx("main",{className:"py-20 px-4",children:e.jsx("div",{className:"container mx-auto max-w-2xl",children:e.jsxs(o,{className:"card-gradient shadow-xl border border-border/50",children:[e.jsxs(f,{className:"text-center pb-6",children:[e.jsx("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e.jsx(v,{className:"w-8 h-8 text-green-600"})}),e.jsx(b,{className:"text-3xl mb-2",children:i?"Betaling Succesvol!":"Betaling Ontvangen!"}),e.jsx("p",{className:"text-muted-foreground",children:i?"Bedankt voor je bestelling. We gaan direct aan de slag met je website scan.":"Je betaling wordt verwerkt. Je ontvangt binnenkort een bevestiging."})]}),e.jsxs(c,{className:"text-center space-y-6",children:[e.jsxs("div",{className:"bg-muted/50 rounded-lg p-4",children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Wat gebeurt er nu?"}),e.jsxs("ul",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsx("li",{children:"⢠Je ontvangt binnen 24 uur een bevestigingsmail"}),e.jsx("li",{children:"⢠Ons team start binnen 2-3 werkdagen met de scan"}),e.jsx("li",{children:"⢠Het rapport wordt binnen 5-7 werkdagen opgeleverd"}),e.jsx("li",{children:"⢠Bij vragen kun je altijd contact met ons opnemen"})]})]}),t&&e.jsx("div",{className:"text-sm text-muted-foreground",children:e.jsxs("p",{children:["Referentienummer: ",t.slice(-8)]})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(a,{to:"/",children:e.jsx(m,{variant:"outline",children:"Terug naar Home"})}),e.jsx(a,{to:"/auth?entry=signup",children:e.jsx(m,{children:"Nieuwe Scan Starten"})})]})]})]})})}),e.jsx(d,{})]})};export{me 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.