PageSourceSearch

https://www.sellpy.se/market/SellerSignupPage.D92RSAmd.bundle.js

js sellpy.se collected 2026-10-02 03:01:35 UTC 9,279 bytes, 99 lines download raw bytes

1var X=Object.defineProperty,Q=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var L=(e,r,n)=>r in e?X(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,m=(e,r)=>{for(var n in r||(r={}))F.call(r,n)&&L(e,n,r[n]);if(y)for(var n of y(r))C.call(r,n)&&L(e,n,r[n]);return e},W=(e,r)=>Q(e,Z(r));var S=(e,r)=>{var n={};for(var s in e)F.call(e,s)&&r.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&y)for(var s of y(e))r.indexOf(s)<0&&C.call(e,s)&&(n[s]=e[s]);return n};import{P as E,G as ee,H as te,j as t,at as re,c as G,R as ne,a as A,B as _,i as se,O as ie}from"./npm.sellpy-design-system.DdsWMDHW.bundle.js";import{m as a,u as H,y as D,c as K,fa as ae,b0 as V,a4 as q,b6 as oe,bV as le,fb as de,fc as ce,ag as U,ah as M,aI as pe,fd as me,X as B,dl as ge}from"./index.DWkcZ-_z.bundle.js";import{r as O,c as ue}from"./npm.react-hook-form.HNw-giVQ.bundle.js";import"./npm.apollo-client.CXJpJPbe.bundle.js";import{M as he}from"./MetaTagPlacer.RJbhKlsg.bundle.js";import"./npm.lodash.DxN61Y-S.bundle.js";import{u as xe}from"./useOfficialPricingModel.ChfkYKHL.bundle.js";import{u as fe,S as be,a as ye,D as Se}from"./useSwipeable.Cj51X288.bundle.js";import{g as o}from"./npm.styled-components.CzYR6Qdp.bundle.js";import{u as j}from"./npm.react-i18next.BwOa93YU.bundle.js";import{ab as je,bJ as we,J as Te,am as $e}from"./npm.sellpy-commons.B413ARrd.bundle.js";import{D as N}from"./DividerWithHeight.Dbu7Jp6k.bundle.js";import{u as Ie}from"./hookFormTools.EA1gch-3.bundle.js";import"./npm.react-dom.DlIYrMBD.bundle.js";import"./npm.react-router.BDfxye5A.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.parse.BcWrqAIh.bundle.js";import"./npm.sentry-react.Z7tY98T1.bundle.js";import"./npm.swr.CiJqMJM6.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.B5c9TvV-.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./npm.immutable.DTQZtUT4.bundle.js";import"./utils.DutWSyoJ.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7c530824-d636-4018-b741-a0517309878d",e._sentryDebugIdIdentifier="sentry-dbid-7c530824-d636-4018-b741-a0517309878d")}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 Me=o.div`
2  display: flex;
3  flex-direction: column;
4  align-items: center;
5  margin-bottom: 5rem;
6  ${a.desktop} {
7    margin-bottom: 3rem;
8  }
9  ${a.tablet} {
10    margin-bottom: 3rem;
11    padding: 0 2rem;
12  }
13  ${a.phone} {
14    margin-bottom: 1rem;
15    padding: 0 1rem;
16  }
17`,ve=o(E)`
18  max-width: 42rem;
19  text-align: center;
20  ${a.tablet} {
21    width: 100%;
22  }
23`,Ee=o(ee)`
24  grid-gap: 3rem;
25  padding: 0 calc((100vw / 12) + 4rem);
26  ${a.desktop} {
27    padding: 3rem;
28    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
29  }
30  ${a.tablet} {
31    padding: 2rem;
32    grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
33    grid-gap: 2rem;
34  }
35`,_e=o.div`
36  display: flex;
37  justify-content: center;
38  align-items: center;
39  margin: 5rem 0 0 0;
40  & > a {
41    margin: 0 1rem;
42  }
43  ${a.phone} {
44    margin: 5rem 1rem 0 1rem;
45    flex-direction: column;
46    & > a {
47      width: 100%;
48      margin-top: 1rem;
49    }
50  }
51`,Re=o.li`
52  display: flex;
53  flex-direction: column;
54  align-items: center;
55  text-align: center;
56  grid-column: span 4;
57  ${a.desktop} {
58    grid-column: auto;
59  }
60`,ke=o(te)`
61  margin: 1rem 0 0.5rem 0;
62  overflow-wrap: anywhere;
63`,Le=o.div`
64  display: flex;
65  flex-direction: column;
66  overflow-wrap: anywhere;
67  & > p {
68    margin: 0;
69    color: ${({theme:e})=>e.color.grey.shade4};
70  }
71`,{staticImageAssets:Fe}=K,u=Fe+"sellerLanding/",v=e=>[{image:`${u}Steps/step1.png`,linkText:e("readMore"),textCount:2},{image:`${u}Steps/step2.png`,linkText:e("readMore"),linkLocation:"/pricingInfo",textCount:2},{image:`${u}Steps/step3.png`,linkText:e("readMore"),textCount:2},{image:`${u}Steps/step4.png`,linkText:e("readMore"),textCount:1},{image:`${u}Steps/step5.png`,linkText:e("readMore"),textCount:1},{image:`${u}Steps/step6.png`,linkText:e("readMore"),textCount:1}],Ce=({id:e,translationKey:r})=>{const{t:n}=j(r),{isMobile:s}=H(),l=O.useRef(),d=O.useRef({}),{activeIndex:h,handleScrollClick:x}=fe({wrapperRef:l,entriesRef:d}),i="howItWorks",g=Te[D()],k=xe({currency:g}),{adFeeFormatted:b,expensiveItemShareThresholdFormatted:z}=k,Y=S(k,["adFeeFormatted","expensiveItemShareThresholdFormatted"]),R=m({adFee:b,expensiveItemShareThreshold:z,lowestItemStartValue:je(we(g))},Y);return t.jsxs(t.Fragment,{children:[t.jsxs(Me,{children:[t.jsx(re,{children:n(`${i}.subtitle`)}),t.jsx(G,{center:!0,children:n(`${i}.heading`)}),t.jsx(ve,{design:"body3",noMargin:!0,children:n(`${i}.description`)})]}),s?t.jsxs(be,{children:[t.jsx(ye,{ref:l,children:v(n).map((J,c)=>{var f=J,{msgKey:w,textCount:T}=f,$=S(f,["msgKey","textCount"]);const p=`${i}.part${c+1}`;return t.jsx(P,m({heading:n(`${p}.heading`),infoTexts:t.jsx(E,{design:"body3",children:n(`${p}.infoTexts.mainText`,m({},R))}),ref:I=>d.current[c]=I,id:"stepGuide-"+c},$),`${p}-${e}-step${c}`)})}),t.jsx(Se,{slides:v(n).map(({msgKey:w},T)=>({slide:w,onClick:()=>x(d.current[T])})),activeIndex:h})]}):t.jsx(Ee,{children:v(n).map((J,c)=>{var f=J,{msgKey:w,textCount:T}=f,$=S(f,["msgKey","textCount"]);const p=`${i}.part${c+1}`,I=p==="howItWorks.part2"&&D()==="NL"?"_NL":"";return t.jsx(P,m({heading:n(`${p}.heading`),infoTexts:t.jsx(E,{design:"body3",children:n(`${p}.infoTexts.mainText${I}`,m({},R))})},$),`${e}-step${c}`)})})]})},P=({heading:e,infoTexts:r={},image:n,btnText:s,btnLink:l,btnDisabled:d,content:h,id:x,ref:i})=>t.jsxs(Re,{id:x,ref:i,children:[n&&t.jsx(ne,{src:n,style:{width:"80%"},mobileWidth:"90vw",tabletWidth:"40vw",desktopWidth:"20vw"}),t.jsx(ke,{center:!0,design:"h7",font:"body",children:e}),h,t.jsx(Le,{children:r}),s&&l&&t.jsx(A,{style:{textDecoration:"none",margin:"2em"},to:l,children:t.jsx(_,{disabled:d,size:"medium",children:s})})]}),We=Object.entries(de.country).filter(([e])=>{var r;return!((r=V[e])!=null&&r.includes(q))}).sort(([e,r],[n,s])=>r.localeCompare(s)).map(([e,r])=>({countryCode:e,countryName:r})),De=o.div`
72  background: ${({theme:e})=>e.color.grey.shade9};
73  padding: 4rem 1rem;
74  ${a.largerThanTablet} {
75    display: grid;
76    grid-gap: 1rem;
77    grid-template-columns: repeat(12, 1fr);
78  }
79`,Ue=o.div`
80  grid-column: span 12;
81  display: flex;
82  align-items: center;
83  justify-content: center;
84`,Be=o(pe)`
85  ${a.largerThanTablet} {
86    grid-column: 4 / 10;
87    grid-row: 2;
88  }
89  ${a.largeDesktop} {
90    grid-column: 5 / 9;
91    grid-row: 2;
92  }
93`,Oe=o(_)`
94  span {
95    white-space: nowrap;
96  }
97  margin-bottom: 8px;
98`,Ne=()=>{var n;const{t:e}=j("sellerLanding"),r=ae();return t.jsxs(De,{children:[t.jsx(Ue,{children:t.jsx(G,{design:"body1",center:!0,style:{maxWidth:"42rem"},children:e("sellerSignup.info")})}),t.jsx(Pe,{initialValues:{country:(n=V[r])!=null&&n.includes(q)?"BE":r}})]})},Pe=()=>{const{t:e}=j(["sellerLanding","common"]),{applyValidator:r}=Ie(),{register:n,handleSubmit:s,control:l,formState:{errors:d,isSubmitting:h}}=ue(),x=({email:i,country:g})=>{ce({email:i,country:g}).then(()=>{U({header:e("sellerSignup.toastMessage.success.header",{email:i}),type:M.SUCCESS})}).catch(b=>{U({header:b.code===999?e("sellerSignup.toastMessage.error.header"):e("common:errorToast.header"),type:b.code===999?M.INFO:M.ERROR})})};return t.jsxs(Be,{onSubmit:s(x),children:[t.jsx(oe,{name:"country",label:e("sellerSignup.countryInput.label"),options:We.map(({countryCode:i,countryName:g})=>({value:i,label:g})),required:e("genericErrors.required"),control:l}),t.jsx(se,W(m({},n("email",{validate:r($e)})),{errors:d,label:e("sellerSignup.placeholder")})),t.jsx(Oe,{type:"submit",size:"medium",label:e("sellerSignup.button"),loading:h,fullWidth:!0}),t.jsx(le,{center:!0})]})},{staticImageAssets:Ge}=K,xt=()=>{const{t:e}=j("sellerLanding"),{isMobile:r}=H();return t.jsxs("div",{children:[t.jsx(he,{title:e("helmetMetaTags.title",{domain:B}),description:e("helmetMetaTags.description",{domain:B}),url:"/sell-signup",requiredFeature:me}),t.jsx(ge,{children:t.jsxs("div",{children:[t.jsx(ie,{headline:e("sellerSignup.heroBanner.headline"),body:e("sellerSignup.heroBanner.body"),imageUrl:Ge+(r?"sellerLanding/newLanding/heroBanner/herobanner_mobile_seller-landing.jpg":"sellerLanding/newLanding/heroBanner/herobanner_seller-landing.jpg"),ratio:r?120:37}),t.jsx(Ne,{}),t.jsx(N,{}),t.jsxs("div",{children:[t.jsx(Ce,{translationKey:"sellerLanding",id:"sellerSignupStepGuide"}),t.jsx(_e,{children:t.jsx(A,{to:"/search",children:t.jsx(_,{size:"medium",label:e("sellerSignup.backToShop"),fullWidth:r})})})]}),t.jsx(N,{})]})})]})};export{xt as default};
99//# sourceMappingURL=SellerSignupPage.D92RSAmd.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.