1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6534],{332:function(e,r,i){"use strict";i.d(r,{$G:function(){return n},B0:function(){return d},Bz:function(){return h},FX:function(){return l},XR:function(){return m},sG:function(){return a}});let s={playVideo:"Play video",decreasePrice:"Decrease price",increasePrice:"Increase price",sellPrice:"Sell price",previousSlide:"Previous slide",nextSlide:"Next slide",categoryNavigation:"Product categories",categoryBreadcrumb:"Selected category",closeFilters:"Close filters"},l={"en-US":s,"en-GB":s,"de-DE":{playVideo:"Video abspielen",decreasePrice:"Preis verringern",increasePrice:"Preis erh\xf6hen",sellPrice:"Verkaufspreis",previousSlide:"Vorheriges Element",nextSlide:"N\xe4chstes Element",categoryNavigation:"Produktkategorien",categoryBreadcrumb:"Gew\xe4hlte Kategorie",closeFilters:"Filter schlie\xdfen"},"fr-FR":{playVideo:"Lire la vid\xe9o",decreasePrice:"Diminuer le prix",increasePrice:"Augmenter le prix",sellPrice:"Prix de vente",previousSlide:"\xc9l\xe9ment pr\xe9c\xe9dent",nextSlide:"\xc9l\xe9ment suivant",categoryNavigation:"Cat\xe9gories de produits",categoryBreadcrumb:"Cat\xe9gorie s\xe9lectionn\xe9e",closeFilters:"Fermer les filtres"}},t={resetFilters:"Reset filters",resetFiltersBar:"Reset Filters",resetSelection:"Reset selection",showProducts:"Show products",filterSelected:"1 filter selected",brands:"Collection",brandLabel:"Spreadshop Exclusives"},a={"en-US":t,"en-GB":t,"de-DE":{resetFilters:"Filter zur\xfccksetzen",resetFiltersBar:"Filter zur\xfccksetzen",resetSelection:"Auswahl zur\xfccksetzen",showProducts:"Produkte anzeigen",filterSelected:"1 Filter gew\xe4hlt",brands:"Kollektion",brandLabel:"Exklusiv bei Spreadshop"},"fr-FR":{resetFilters:"R\xe9initialiser les filtres",resetFiltersBar:"R\xe9initialiser les filtres",resetSelection:"R\xe9initialiser la s\xe9lection",showProducts:"Afficher les produits",filterSelected:"1 filtre s\xe9lectionn\xe9",brands:"Collection ",brandLabel:"Exclusivit\xe9s Spreadshop"}},c={all:"All"},n={"en-US":c,"en-GB":c,"de-DE":{all:"Alle"},"fr-FR":{all:"Tous"}},o={linkLabel:"Learn more",stickerLabel:"New"},d={"en-US":o,"en-GB":o,"de-DE":{linkLabel:"Mehr erfahren",stickerLabel:"Neu"},"fr-FR":{linkLabel:"En savoir plus",stickerLabel:"Nouveau"}},u={socialProfile:"{name} on {platform}"},m={"en-US":u,"en-GB":u,"de-DE":{socialProfile:"{name} auf {platform}"},"fr-FR":{socialProfile:"{name} sur {platform}"}},p={error404:"404 Page not found",backLink:"Go back",error500:"500 Serverside error occurred"},h={"en-US":p,"en-GB":p,"de-DE":{error404:"404 Seite nicht gefunden",backLink:"Hier geht's weiter",error500:"500 Ein Serverseitiger Fehler ist aufgetreten"},"fr-FR":{error404:"404 page introuvable",backLink:"Revenir \xe0 l'accueil",error500:"500 Une erreur c\xf4t\xe9 serveur s'est produite"}}},6534:function(e,r,i){"use strict";i.r(r);var s=i(5893),l=i(7413),t=i.n(l),a=i(7436),c=i(7294),n=i(1163),o=i(5794),d=i(3967),u=i.n(d),m=i(5279),p=i(7511),h=i(1505),_=i(332),v=i(7749);r.default=e=>{let{content:r,first:i}=e,l=(0,n.useRouter)().locale||"en-GB",d=_.FX[l],x=r.products||[],[g,f]=(0,c.useState)(0),[b,k]=(0,c.useState)(()=>x.map(e=>e.initialSellPrice)),P=r.kicker,S=x[g],j=b[g]??0,N=(0,c.useMemo)(()=>S?Math.round(3.5*S.basePrice):0,[S]),C=S?Math.max(j-S.basePrice,0):0,F=e=>{if(!S)return;let r=Math.min(Math.max(e,S.basePrice),N);k(e=>e.map((e,i)=>i===g?r:e))};return S?(0,s.jsx)(p.kA,{level:i?1:2,children:(0,s.jsx)("section",{className:t().section,children:(0,s.jsxs)("div",{id:(0,h.r)(r._meta.deliveryId),className:"container",children:[(0,s.jsxs)("div",{className:t().calculator,children:[P&&(0,s.jsx)("span",{className:t().kicker,children:P}),(0,s.jsx)("div",{className:t().products,role:"tablist",children:x.map((e,r)=>(0,s.jsx)("button",{type:"button",role:"tab","aria-selected":r===g,className:u()(t().product,{[t().productActive]:r===g}),onClick:()=>f(r),children:e.label},r))}),(0,s.jsxs)("div",{className:u()(t().row,t().basePrice),children:[(0,s.jsx)("span",{children:r.calculator.basePriceBox.title}),(0,s.jsx)("strong",{children:(0,o.m)(S.basePrice,l)})]}),(0,s.jsxs)("div",{className:t().sellPrice,children:[(0,s.jsxs)("label",{className:t().row,htmlFor:"hp-sell-price",children:[(0,s.jsx)("span",{children:r.sellPriceLabel||d.sellPrice}),(0,s.jsx)("strong",{children:(0,o.m)(j,l)})]}),(0,s.jsx)("input",{id:"hp-sell-price",className:t().slider,type:"range",min:S.basePrice,max:N,step:.5,value:j,"aria-valuetext":(0,o.m)(j,l),onChange:e=>F(Number(e.target.value))})]}),r.profitLink?(0,s.jsxs)(v.Z,{className:u()(t().margin,t().marginLink),link:r.profitLink,openInNewTab:!1,children:[(0,s.jsx)("span",{children:r.calculator.profitBox.title}),(0,s.jsxs)("strong",{"aria-live":"polite",children:["+ ",(0,o.m)(C,l)," ",(0,s.jsx)("span",{className:t().arrow,"aria-hidden":!0,
1children:"â"})]})]}):(0,s.jsxs)("div",{className:t().margin,"aria-live":"polite",children:[(0,s.jsx)("span",{children:r.calculator.profitBox.title}),(0,s.jsxs)("strong",{children:["+ ",(0,o.m)(C,l)]})]})]}),(0,s.jsxs)("div",{className:t().textWrapper,children:[(0,s.jsx)(m.Z,{className:t().headline,children:r.headline}),r.subHeadline&&(0,s.jsx)(p.$0,{children:(0,s.jsx)(m.Z,{className:"h2",children:r.subHeadline})}),r.paragraph?.content&&(0,s.jsx)("p",{className:t().paragraph,children:r.paragraph.content}),r.stats?.length&&(0,s.jsx)("dl",{className:t().stats,children:r.stats.map((e,r)=>(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{children:e.value}),(0,s.jsx)("dd",{children:e.label})]},r))}),r.ctas?.length>0&&(0,s.jsx)("div",{className:t().ctas,children:r.ctas.map((e,r)=>(0,s.jsx)(a.Z,{style:e.style,link:e.link},r))})]})]})})}):null}},5794:function(e,r,i){"use strict";i.d(r,{m:function(){return s}});let s=(e,r)=>"en-US"===r?`$${e.toFixed(2)}`:`${e.toFixed(2).replace(".",",")}\u00A0â¬`},1505:function(e,r,i){"use strict";i.d(r,{r:function(){return s}});let s=e=>{let r=0;if(0===e.length)return r.toString();for(let i=0;i<e.length;i++)r=(r<<5)-r+e.charCodeAt(i),r&=r;return Math.abs(r).toString(16)+e.length.toString(16)}},7413:function(e){e.exports={section:"Commission-calculator-v2_section__vQ7t1",calculator:"Commission-calculator-v2_calculator____Q_d",kicker:"Commission-calculator-v2_kicker__jPGxS",products:"Commission-calculator-v2_products__vG7qs",product:"Commission-calculator-v2_product__yN_9s",productActive:"Commission-calculator-v2_productActive__MjOxd",row:"Commission-calculator-v2_row__Q_N_q",basePrice:"Commission-calculator-v2_basePrice__nkyIo",sellPrice:"Commission-calculator-v2_sellPrice___p0U1",slider:"Commission-calculator-v2_slider__8ABW0",margin:"Commission-calculator-v2_margin__bQnA7",textWrapper:"Commission-calculator-v2_textWrapper__m_URL",headline:"Commission-calculator-v2_headline__gpPdd",paragraph:"Commission-calculator-v2_paragraph__SwWl_",marginLink:"Commission-calculator-v2_marginLink__Mx5rH",arrow:"Commission-calculator-v2_arrow__zy5QH",stats:"Commission-calculator-v2_stats__KiBV6",ctas:"Commission-calculator-v2_ctas__YLFK7"}}}]);
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.