1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0cdb3-0a73-0000-ab94-f58ea6771d9b";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="4d32fa72-3c07-58d4-9b9d-52a758f97db1")}catch(e){}}();import{i as e,t}from"./jsx-runtime-DUAcabCT.js";import{t as n}from"./react-DbyrFoBd.js";import{t as r}from"./chart-no-axes-combined-9VUnnpWf.js";import{t as i}from"./max-offer-nJmGruV3.js";import{t as a}from"./search-check-B2s8BYR4.js";import{t as o}from"./shield-check-DMU9ExA7.js";import{Tt as s,cn as c,en as l,gt as u,in as d,un as f,wt as p}from"./index-DtKra2g4.js";import{t as m}from"./google-sign-in-button-Bmspv9iN.js";var h=e(n()),g=t();function _(){let{intent:e,returnTo:t}=p.useSearch(),{visitorCountry:n}=p.useRouteContext(),_=f(t,s),[y,b]=(0,h.useState)(null),[x,S]=(0,h.useState)(!1),C=e===`max`,w=new URLSearchParams({returnTo:_});return e&&w.set(`intent`,e),(0,h.useEffect)(()=>{if(c(window.location.hostname)){S(!0);try{let e=crypto.randomUUID();window.sessionStorage.setItem(l,e);let t=d({previewOrigin:window.location.origin,returnTo:_,state:e});if(!t)throw Error(`Invalid preview URL`);window.location.replace(t)}catch(e){S(!1),b(e instanceof Error?e.message:`Could not connect this preview session`)}}},[_]),x?(0,g.jsx)(v,{message:`Connecting your preview sessionâ¦`}):(0,g.jsxs)(`main`,{className:`bg-background text-foreground relative flex min-h-screen items-center justify-center overflow-hidden px-6 py-16`,children:[(0,g.jsx)(`div`,{className:`pointer-events-none absolute inset-0 -z-10 bg-[linear-gradient(to_right,var(--border)_1px,transparent_1px),linear-gradient(to_bottom,var(--border)_1px,transparent_1px)] bg-[size:56px_56px] opacity-35 [mask-image:radial-gradient(ellipse_70%_65%_at_50%_40%,#000_30%,transparent_100%)]`}),(0,g.jsx)(`div`,{className:`pointer-events-none absolute top-[-12rem] left-1/2 -z-10 size-[34rem] -translate-x-1/2 rounded-full bg-emerald-300/15 blur-[130px]`}),(0,g.jsxs)(`div`,{className:`w-full max-w-4xl`,children:[(0,g.jsx)(`a`,{href:`/`,className:`mb-8 block text-center text-xl font-bold tracking-tight`,children:`Resell Pro`}),(0,g.jsxs)(`div`,{className:`border-border/70 bg-card/90 grid overflow-hidden rounded-3xl border shadow-xl backdrop-blur md:grid-cols-[1.05fr_0.95fr]`,children:[(0,g.jsxs)(`section`,{className:`bg-foreground text-background hidden flex-col justify-between p-10 md:flex`,children:[(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`span`,{className:`border-background/20 bg-background/10 inline-flex rounded-full border px-3 py-1 text-xs font-semibold tracking-wide uppercase`,children:`Vinted market intelligence`}),(0,g.jsx)(`h2`,{className:`mt-7 text-3xl font-semibold tracking-tight text-balance`,children:`Turn a Vinted question into a sourcing decision.`}),(0,g.jsx)(`p`,{className:`text-background/65 mt-4 max-w-sm text-sm leading-relaxed`,children:`Compare demand, sold prices, and seller competition before you commit cash to your next batch of stock.`})]}),(0,g.jsxs)(`ul`,{className:`mt-10 space-y-5 text-sm`,children:[(0,g.jsxs)(`li`,{className:`flex gap-3`,children:[(0,g.jsx)(a,{className:`mt-0.5 size-4 shrink-0 text-emerald-300`}),(0,g.jsx)(`span`,{children:`Research sellers, brands, categories, and markets.`})]}),(0,g.jsxs)(`li`,{className:`flex gap-3`,children:[(0,g.jsx)(r,{className:`mt-0.5 size-4 shrink-0 text-emerald-300`}),(0,g.jsx)(`span`,{children:`Base decisions on tracked marketplace observations.`})]}),(0,g.jsxs)(`li`,{className:`flex gap-3`,children:[(0,g.jsx)(o,{className:`mt-0.5 size-4 shrink-0 text-emerald-300`}),(0,g.jsx)(`span`,{children:`Secure checkout and self-service billing with Stripe.`})]})]})]}),(0,g.jsxs)(`section`,{className:`p-7 sm:p-9`,children:[(0,g.jsxs)(`div`,{className:`space-y-1`,children:[(0,g.jsx)(`p`,{className:`text-muted-foreground text-xs font-semibold tracking-wide uppercase`,children:C?`Step 1 of 2 · Account`:`Your account`}),(0,g.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:C?`Create your account`:`Welcome to Re
1sell Pro`}),(0,g.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:C?`Sign in first. We will continue with the right next step for this device.`:`Sign in to research what is selling on Vinted.`})]}),C?(0,g.jsx)(i,{compact:!0,currency:u(n)}):null,(0,g.jsx)(m,{className:`mt-6 h-11 w-full rounded-full`,destination:`/onboarding`,callbackURL:_,errorCallbackURL:`/login?${w.toString()}`,analyticsIntent:C?`max`:`sign_in`,analyticsSource:`login`,onError:b}),y&&(0,g.jsx)(`p`,{className:`text-destructive mt-4 text-center text-sm`,role:`alert`,children:y}),(0,g.jsx)(`p`,{className:`text-muted-foreground mt-5 text-center text-xs text-balance`,children:C?`No charge on this screen.`:`Creating an account is free.`}),(0,g.jsxs)(`p`,{className:`text-muted-foreground mt-2 text-center text-xs text-balance`,children:[`By continuing you agree to our Terms of Service and`,` `,(0,g.jsx)(`a`,{href:`/privacy`,className:`underline underline-offset-4`,children:`Privacy Policy`}),`.`]})]})]})]})]})}function v({message:e}){return(0,g.jsx)(`main`,{className:`bg-background text-foreground flex min-h-screen items-center justify-center px-6`,children:(0,g.jsx)(`div`,{className:`border-border/70 bg-card/80 w-full max-w-sm rounded-2xl border p-8 text-center shadow-md backdrop-blur`,children:(0,g.jsx)(`p`,{className:`text-sm font-medium`,role:`status`,children:e})})})}export{_ as component}; 2//# chunkId=4d32fa72-3c07-58d4-9b9d-52a758f97db1
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.