1import{j as o}from"./npm.sellpy-design-system.sUaPRvy7.bundle.js";import{r as i}from"./npm.react-hook-form.C-gy3V91.bundle.js";import{b as g}from"./npm.react-router.eGoWS0aR.bundle.js";import{g as b}from"./npm.styled-components.CXmCnM24.bundle.js";import{c3 as h,as as E,fu as p,aT as T,aW as n}from"./index.OKbXaoKY.bundle.js";import"./npm.apollo-client.D2roezfX.bundle.js";import{u as k}from"./useAnalyticsItems.CRwXGmpy.bundle.js";import{a as C,L as _}from"./Login.C2VyvLKN.bundle.js";import{u as w}from"./CheckoutProvider.BOkobc7x.bundle.js";import{u as I}from"./funnelTracking.CtGkVAuo.bundle.js";import{H as M}from"./HeaderComponent.B8VrZcSm.bundle.js";import{C as x,a as A}from"./styles.BtdePWYy.bundle.js";import{u as j}from"./npm.react-i18next.DBIOEc1H.bundle.js";import{V as v}from"./npm.sellpy-commons.CqmbWWp3.bundle.js";import"./npm.react-dom.DRhp71ng.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.lodash.B-mb_ip_.bundle.js";import"./npm.parse.B9RAjAGR.bundle.js";import"./npm.sentry-react.D1FVWAhI.bundle.js";import"./npm.swr.CGFXCyXz.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.FODGUIZZ.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./npm.immutable.3wsaRX37.bundle.js";import"./hookFormTools.C3UJ5bD0.bundle.js";import"./PasswordPage.BGIu46sq.bundle.js";import"./EmailPage.Bk2owo7n.bundle.js";import"./formHelpers.SA26xDbS.bundle.js";import"./usePrevious.BvF0VTrl.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e74c438c-a868-4a65-8dd8-65d9d81b9ed9",e._sentryDebugIdIdentifier="sentry-dbid-e74c438c-a868-4a65-8dd8-65d9d81b9ed9")}catch(e){}{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const L=b.div` 2 background-color: white; 3 padding: 16px; 4`,le=()=>{const{t:e}=j("checkout"),[a,d]=w(),s=g(),t=k(),{items:l}=h(),m=E(),u=!m||v(m);I("view_login",{ready:l.length>0&&u,payload:{items_list:l.map(r=>r.objectId)}});const c=i.useCallback(({email:r,loginMethodsForEmail:y})=>{y.length?p({checkoutType:n.CART,method:"auto",items:t}):(p({checkoutType:n.CART,method:"manual",items:t}),d({type:"setEmail",data:r}),s("/checkout/address"))},[t,d,s]);i.useEffect(()=>{t.length&&T({checkoutType:n.CART,items:t})},[JSON.stringify(t)]);const f=i.useMemo(()=>({[C.ENTER_EMAIL]:{title:e("email.title"),subTitle:e("email.subtitle")}}),[e]);return o.jsx(x,{children:o.jsxs(A,{children:[o.jsx(M,{}),o.jsx(L,{children:o.jsx(_,{onLoggedIn:()=>s("/checkout/address"),onEmailEntered:c,prefilledEmail:a.email,titleOverrides:f,titleIsMainTitle:!0,signupLocation:"checkout"})})]})})};export{le as default}; 5//# sourceMappingURL=ValidateEmail.DGlnK8W9.bundle.js.map
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.